AutoTagger v3.4.1版本的 MD5 值为:a384f1d3927c61eef47ac4a8b3d71389
以下内容为反编译后的 sNL6DzitD1lcBh.java 源代码,内容仅作参考
package fcku;
import android.content.ComponentName;
import android.content.Context;
import android.content.pm.ActivityInfo;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.content.pm.ServiceInfo;
import android.content.pm.Signature;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import android.os.Parcel;
import android.os.Parcelable;
import android.os.RemoteException;
import android.text.TextUtils;
import android.util.Log;
import com.yandex.metrica.YandexMetricaDefaultValues;
import java.io.ByteArrayInputStream;
import java.math.BigInteger;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.security.SecureRandom;
import java.security.cert.CertificateException;
import java.security.cert.CertificateFactory;
import java.security.cert.X509Certificate;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
import java.util.Locale;
import java.util.Objects;
import java.util.Random;
import java.util.TreeSet;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.concurrent.atomic.AtomicLong;
import javax.security.auth.x500.X500Principal;
import org.checkerframework.checker.nullness.qual.EnsuresNonNull;
import org.jaudiotagger.tag.id3.framebody.FrameBodyCOMM;
import org.jaudiotagger.tag.mp4.atom.Mp4NameBox;
public final class sNL6DzitD1lcBh extends icqVmriO2yP {
public SecureRandom GEbllHUy2l;
public Integer H3jv4RBPS609lDCtG;
public final AtomicLong HRNBIuVQ2Vb19z;
public int KtPiZg27ZAIz7;
public static final String[] tY8HjlFibSPQSBpSPsg = {"firebase_", "google_", "ga_"};
public static final String[] gu7O4vNIQwya4y = {"_err"};
public sNL6DzitD1lcBh(NtVakAwTVpT0Faa ntVakAwTVpT0Faa) {
super(ntVakAwTVpT0Faa);
this.H3jv4RBPS609lDCtG = null;
this.HRNBIuVQ2Vb19z = new AtomicLong(0L);
}
public static ArrayList GEbllHUy2l(List list) {
if (list == null) {
return new ArrayList(0);
}
ArrayList arrayList = new ArrayList(list.size());
Iterator it = list.iterator();
while (it.hasNext()) {
XTe6u2EGoE1V3vkZ2Y xTe6u2EGoE1V3vkZ2Y = (XTe6u2EGoE1V3vkZ2Y) it.next();
Bundle bundle = new Bundle();
bundle.putString("app_id", xTe6u2EGoE1V3vkZ2Y.oGzwn2K6Dd8d);
bundle.putString("origin", xTe6u2EGoE1V3vkZ2Y.ua185vu0OsgqBH4Y);
bundle.putLong("creation_timestamp", xTe6u2EGoE1V3vkZ2Y.HRNBIuVQ2Vb19z);
bundle.putString(Mp4NameBox.IDENTIFIER, xTe6u2EGoE1V3vkZ2Y.GEbllHUy2l.ua185vu0OsgqBH4Y);
Object IQgUonnCRDBu0LH = xTe6u2EGoE1V3vkZ2Y.GEbllHUy2l.IQgUonnCRDBu0LH();
Objects.requireNonNull(IQgUonnCRDBu0LH, "null reference");
LGbDqKQx22tZZS.RuL60kvQsag(bundle, IQgUonnCRDBu0LH);
bundle.putBoolean("active", xTe6u2EGoE1V3vkZ2Y.KtPiZg27ZAIz7);
String str = xTe6u2EGoE1V3vkZ2Y.H3jv4RBPS609lDCtG;
if (str != null) {
bundle.putString("trigger_event_name", str);
}
YBVZltnsi1cv13QNi0 yBVZltnsi1cv13QNi0 = xTe6u2EGoE1V3vkZ2Y.tY8HjlFibSPQSBpSPsg;
if (yBVZltnsi1cv13QNi0 != null) {
bundle.putString("timed_out_event_name", yBVZltnsi1cv13QNi0.oGzwn2K6Dd8d);
H202sCy2MF h202sCy2MF = yBVZltnsi1cv13QNi0.ua185vu0OsgqBH4Y;
if (h202sCy2MF != null) {
bundle.putBundle("timed_out_event_params", h202sCy2MF.IQgUonnCRDBu0LH());
}
}
bundle.putLong("trigger_timeout", xTe6u2EGoE1V3vkZ2Y.gu7O4vNIQwya4y);
YBVZltnsi1cv13QNi0 yBVZltnsi1cv13QNi02 = xTe6u2EGoE1V3vkZ2Y.Hkt8IqIYWF6;
if (yBVZltnsi1cv13QNi02 != null) {
bundle.putString("triggered_event_name", yBVZltnsi1cv13QNi02.oGzwn2K6Dd8d);
H202sCy2MF h202sCy2MF2 = yBVZltnsi1cv13QNi02.ua185vu0OsgqBH4Y;
if (h202sCy2MF2 != null) {
bundle.putBundle("triggered_event_params", h202sCy2MF2.IQgUonnCRDBu0LH());
}
}
bundle.putLong("triggered_timestamp", xTe6u2EGoE1V3vkZ2Y.GEbllHUy2l.GEbllHUy2l);
bundle.putLong("time_to_live", xTe6u2EGoE1V3vkZ2Y.toqf7CY65bGa70vU);
YBVZltnsi1cv13QNi0 yBVZltnsi1cv13QNi03 = xTe6u2EGoE1V3vkZ2Y.LS5VNW9eExZnZPOp;
if (yBVZltnsi1cv13QNi03 != null) {
bundle.putString("expired_event_name", yBVZltnsi1cv13QNi03.oGzwn2K6Dd8d);
H202sCy2MF h202sCy2MF3 = yBVZltnsi1cv13QNi03.ua185vu0OsgqBH4Y;
if (h202sCy2MF3 != null) {
bundle.putBundle("expired_event_params", h202sCy2MF3.IQgUonnCRDBu0LH());
}
}
arrayList.add(bundle);
}
return arrayList;
}
public static void H3jv4RBPS609lDCtG(hgwdM1OXM6T8w hgwdm1oxm6t8w, Bundle bundle, boolean z) {
if (bundle != null && hgwdm1oxm6t8w != null) {
if (!bundle.containsKey("_sc") || z) {
String str = hgwdm1oxm6t8w.a1OLiUMlyR0knNZCYyD;
if (str != null) {
bundle.putString("_sn", str);
} else {
bundle.remove("_sn");
}
String str2 = hgwdm1oxm6t8w.A8oxFMwUNLNF;
if (str2 != null) {
bundle.putString("_sc", str2);
} else {
bundle.remove("_sc");
}
bundle.putLong("_si", hgwdm1oxm6t8w.CgNSGVIfezzyuR);
return;
}
z = false;
}
if (bundle != null && hgwdm1oxm6t8w == null && z) {
bundle.remove("_sn");
bundle.remove("_sc");
bundle.remove("_si");
}
}
public static boolean LwFxk9Dhv2CxE(String str) {
return !TextUtils.isEmpty(str) && str.startsWith("_");
}
public static boolean SfxGvKhyHwLz4yTC1(Context context, String str) {
ServiceInfo serviceInfo;
try {
PackageManager packageManager = context.getPackageManager();
if (packageManager != null && (serviceInfo = packageManager.getServiceInfo(new ComponentName(context, str), 0)) != null) {
if (serviceInfo.enabled) {
return true;
}
}
} catch (PackageManager.NameNotFoundException unused) {
}
return false;
}
public static final boolean TM6Irl6Ffq3(Bundle bundle, int i) {
if (bundle.getLong("_err") == 0) {
bundle.putLong("_err", i);
return true;
}
return false;
}
public static boolean ZnpjZCT0zd(Context context) {
Objects.requireNonNull(context, "null reference");
if (Build.VERSION.SDK_INT >= 24) {
return SfxGvKhyHwLz4yTC1(context, "com.google.android.gms.measurement.AppMeasurementJobService");
}
return SfxGvKhyHwLz4yTC1(context, "com.google.android.gms.measurement.AppMeasurementService");
}
public static long bpkrIbYS2nOrA(byte[] bArr) {
Objects.requireNonNull(bArr, "null reference");
int length = bArr.length;
int i = 0;
VdhyXdX5nCQt.mCHKsLcStiwR(length > 0);
long j = 0;
for (int i2 = length - 1; i2 >= 0 && i2 >= bArr.length - 8; i2--) {
j += (bArr[i2] & 255) << i;
i += 8;
}
return j;
}
public static boolean dbqs6ZYf4DHCAYlW(String str) {
VdhyXdX5nCQt.d7mLQI4SwADEiUWSh(str);
return str.charAt(0) != '_' || str.equals("_ep");
}
public static boolean ds5t7hpf5Sf(String str, String[] strArr) {
for (String str2 : strArr) {
if (waLcJTFSom(str, str2)) {
return true;
}
}
return false;
}
public static MessageDigest oGzwn2K6Dd8d() {
MessageDigest messageDigest;
for (int i = 0; i < 2; i++) {
try {
messageDigest = MessageDigest.getInstance("MD5");
} catch (NoSuchAlgorithmException unused) {
}
if (messageDigest != null) {
return messageDigest;
}
}
return null;
}
public static boolean tDr90OcKOL1(Context context) {
ActivityInfo receiverInfo;
Objects.requireNonNull(context, "null reference");
try {
PackageManager packageManager = context.getPackageManager();
if (packageManager != null && (receiverInfo = packageManager.getReceiverInfo(new ComponentName(context, "com.google.android.gms.measurement.AppMeasurementReceiver"), 0)) != null) {
if (receiverInfo.enabled) {
return true;
}
}
} catch (PackageManager.NameNotFoundException unused) {
}
return false;
}
public static boolean waLcJTFSom(String str, String str2) {
if (str == null && str2 == null) {
return true;
}
if (str == null) {
return false;
}
return str.equals(str2);
}
public final Object AJkpu1LD5bAFwmbQGUa(String str, Object obj) {
if ("_ldl".equals(str)) {
return ZmVN4n2Iiodz0QHpI(i4fmNT3tAinY9U(str), obj, true, false);
}
return ZmVN4n2Iiodz0QHpI(i4fmNT3tAinY9U(str), obj, false, false);
}
public final int EwEwGCdQUI(String str) {
if (trK8OHrvuYcf1KY6("event param", str)) {
if (xWF5IDxjR5ZPJkRS("event param", null, null, str)) {
Objects.requireNonNull(this.oGzwn2K6Dd8d);
return !NOeKq0j5yKxqNp4H("event param", 40, str) ? 3 : 0;
}
return 14;
}
return 3;
}
public final void HRNBIuVQ2Vb19z(Bundle bundle, long j) {
long j2 = bundle.getLong("_et");
if (j2 != 0) {
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().Hkt8IqIYWF6.A8oxFMwUNLNF("Params already contained engagement", Long.valueOf(j2));
} else {
j2 = 0;
}
bundle.putLong("_et", j + j2);
}
public final void Hkt8IqIYWF6(aZruoxCl4RN6ndFNq azruoxcl4rn6ndfnq, String str, int i, String str2, String str3, int i2) {
Bundle bundle = new Bundle();
TM6Irl6Ffq3(bundle, i);
if (!TextUtils.isEmpty(str2) && !TextUtils.isEmpty(str3)) {
bundle.putString(str2, str3);
}
if (i == 6 || i == 7 || i == 2) {
bundle.putLong("_el", i2);
}
azruoxcl4rn6ndfnq.IQgUonnCRDBu0LH(str, "_err", bundle);
}
public final long KnOWWV892jXMYvKq() {
long andIncrement;
long j;
if (this.HRNBIuVQ2Vb19z.get() == 0) {
synchronized (this.HRNBIuVQ2Vb19z) {
long nanoTime = System.nanoTime();
Objects.requireNonNull((gL9WrNczKNpCf) this.oGzwn2K6Dd8d.zGyOKL3LvVLZRvi);
long nextLong = new Random(nanoTime ^ System.currentTimeMillis()).nextLong();
int i = this.KtPiZg27ZAIz7 + 1;
this.KtPiZg27ZAIz7 = i;
j = nextLong + i;
}
return j;
}
synchronized (this.HRNBIuVQ2Vb19z) {
this.HRNBIuVQ2Vb19z.compareAndSet(-1L, 1L);
andIncrement = this.HRNBIuVQ2Vb19z.getAndIncrement();
}
return andIncrement;
}
public final void KtPiZg27ZAIz7(Bundle bundle, int i, String str, Object obj) {
if (TM6Irl6Ffq3(bundle, i)) {
Objects.requireNonNull(this.oGzwn2K6Dd8d);
bundle.putString("_ev", XxIFTIXnFt(str, 40, true));
if (obj != null) {
if ((obj instanceof String) || (obj instanceof CharSequence)) {
bundle.putLong("_el", obj.toString().length());
}
}
}
}
public final void LDAydjzHDH8(A9SgzV7PwQvt2 a9SgzV7PwQvt2, Bundle bundle) {
try {
a9SgzV7PwQvt2.rMdnDFHejPH(bundle);
} catch (RemoteException e) {
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().Hkt8IqIYWF6.A8oxFMwUNLNF("Error returning bundle value to wrapper", e);
}
}
public final int LDlX8tZTAH9EQ6(String str) {
if (RuL60kvQsag("event param", str)) {
if (xWF5IDxjR5ZPJkRS("event param", null, null, str)) {
Objects.requireNonNull(this.oGzwn2K6Dd8d);
return !NOeKq0j5yKxqNp4H("event param", 40, str) ? 3 : 0;
}
return 14;
}
return 3;
}
public final void LS5VNW9eExZnZPOp(A9SgzV7PwQvt2 a9SgzV7PwQvt2, boolean z) {
Bundle bundle = new Bundle();
bundle.putBoolean("r", z);
try {
a9SgzV7PwQvt2.rMdnDFHejPH(bundle);
} catch (RemoteException e) {
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().Hkt8IqIYWF6.A8oxFMwUNLNF("Error returning boolean value to wrapper", e);
}
}
public final boolean NOeKq0j5yKxqNp4H(String str, int i, String str2) {
if (str2 == null) {
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().gu7O4vNIQwya4y.A8oxFMwUNLNF("Name is required and can't be null. Type", str);
return false;
} else if (str2.codePointCount(0, str2.length()) > i) {
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().gu7O4vNIQwya4y.IQgUonnCRDBu0LH("Name is too long. Type, maximum supported length, name", str, Integer.valueOf(i), str2);
return false;
} else {
return true;
}
}
public final boolean QFqrufWtHIrq(String str) {
Fld2Qlc0itlPMuI0z();
if (LkX68WNKePQBJw1KWr.a1OLiUMlyR0knNZCYyD(this.oGzwn2K6Dd8d.oGzwn2K6Dd8d).a1OLiUMlyR0knNZCYyD.checkCallingOrSelfPermission(str) == 0) {
return true;
}
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().LDAydjzHDH8.A8oxFMwUNLNF("Permission not granted", str);
return false;
}
public final int RIhauzVBQFsIkdoCT(String str, Object obj) {
boolean RMHOHXd57z7BNiB1Z;
if ("_ldl".equals(str)) {
RMHOHXd57z7BNiB1Z = RMHOHXd57z7BNiB1Z("user property referrer", str, i4fmNT3tAinY9U(str), obj);
} else {
RMHOHXd57z7BNiB1Z = RMHOHXd57z7BNiB1Z("user property", str, i4fmNT3tAinY9U(str), obj);
}
return RMHOHXd57z7BNiB1Z ? 0 : 7;
}
public final boolean RMHOHXd57z7BNiB1Z(String str, String str2, int i, Object obj) {
if (obj != null && !(obj instanceof Long) && !(obj instanceof Float) && !(obj instanceof Integer) && !(obj instanceof Byte) && !(obj instanceof Short) && !(obj instanceof Boolean) && !(obj instanceof Double)) {
if (!(obj instanceof String) && !(obj instanceof Character) && !(obj instanceof CharSequence)) {
return false;
}
String obj2 = obj.toString();
if (obj2.codePointCount(0, obj2.length()) > i) {
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().LS5VNW9eExZnZPOp.IQgUonnCRDBu0LH("Value is too long; discarded. Value kind, name, value length", str, str2, Integer.valueOf(obj2.length()));
return false;
}
}
return true;
}
public final boolean RuL60kvQsag(String str, String str2) {
if (str2 == null) {
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().gu7O4vNIQwya4y.A8oxFMwUNLNF("Name is required and can't be null. Type", str);
return false;
} else if (str2.length() == 0) {
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().gu7O4vNIQwya4y.A8oxFMwUNLNF("Name is required and can't be empty. Type", str);
return false;
} else {
int codePointAt = str2.codePointAt(0);
if (!Character.isLetter(codePointAt)) {
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().gu7O4vNIQwya4y.CgNSGVIfezzyuR("Name must start with a letter. Type, name", str, str2);
return false;
}
int length = str2.length();
int charCount = Character.charCount(codePointAt);
while (charCount < length) {
int codePointAt2 = str2.codePointAt(charCount);
if (codePointAt2 != 95 && !Character.isLetterOrDigit(codePointAt2)) {
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().gu7O4vNIQwya4y.CgNSGVIfezzyuR("Name must consist of letters, digits or _ (underscores). Type, name", str, str2);
return false;
}
charCount += Character.charCount(codePointAt2);
}
return true;
}
}
public final boolean SozbIYE6EV(String str, String str2) {
if (!TextUtils.isEmpty(str)) {
Objects.requireNonNull(str, "null reference");
if (str.matches("^(1:\\d+:android:[a-f0-9]+|ca-app-pub-.*)$")) {
return true;
}
if (this.oGzwn2K6Dd8d.Fld2Qlc0itlPMuI0z()) {
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().gu7O4vNIQwya4y.A8oxFMwUNLNF("Invalid google_app_id. Firebase Analytics disabled. See https://goo.gl/NAOOOI. provided id", TNxeUbSr3leKls31.ua185vu0OsgqBH4Y(str));
}
return false;
} else if (!TextUtils.isEmpty(str2)) {
Objects.requireNonNull(str2, "null reference");
if (str2.matches("^(1:\\d+:android:[a-f0-9]+|ca-app-pub-.*)$")) {
return true;
}
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().gu7O4vNIQwya4y.A8oxFMwUNLNF("Invalid admob_app_id. Analytics disabled.", TNxeUbSr3leKls31.ua185vu0OsgqBH4Y(str2));
return false;
} else {
if (this.oGzwn2K6Dd8d.Fld2Qlc0itlPMuI0z()) {
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().gu7O4vNIQwya4y.a1OLiUMlyR0knNZCYyD("Missing google_app_id. Firebase Analytics disabled. See https://goo.gl/NAOOOI");
}
return false;
}
}
public final void SrPtO1NZy3kB5XU(A9SgzV7PwQvt2 a9SgzV7PwQvt2, long j) {
Bundle bundle = new Bundle();
bundle.putLong("r", j);
try {
a9SgzV7PwQvt2.rMdnDFHejPH(bundle);
} catch (RemoteException e) {
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().Hkt8IqIYWF6.A8oxFMwUNLNF("Error returning long value to wrapper", e);
}
}
public final int TGyCkGMArBCyfz28(String str) {
if (trK8OHrvuYcf1KY6("event", str)) {
if (xWF5IDxjR5ZPJkRS("event", hxseMVXCge.tY8HjlFibSPQSBpSPsg, hxseMVXCge.gu7O4vNIQwya4y, str)) {
Objects.requireNonNull(this.oGzwn2K6Dd8d);
return !NOeKq0j5yKxqNp4H("event", 40, str) ? 2 : 0;
}
return 13;
}
return 2;
}
public final void Vz7Oae26YqYf(String str, String str2, String str3, Bundle bundle, List list, boolean z) {
int LDlX8tZTAH9EQ6;
String str4;
int qhn9OdVXYb;
if (bundle == null) {
return;
}
Objects.requireNonNull(this.oGzwn2K6Dd8d);
Iterator it = new TreeSet(bundle.keySet()).iterator();
int i = 0;
while (it.hasNext()) {
String str5 = (String) it.next();
if (list == null || !list.contains(str5)) {
LDlX8tZTAH9EQ6 = !z ? LDlX8tZTAH9EQ6(str5) : 0;
if (LDlX8tZTAH9EQ6 == 0) {
LDlX8tZTAH9EQ6 = EwEwGCdQUI(str5);
}
} else {
LDlX8tZTAH9EQ6 = 0;
}
if (LDlX8tZTAH9EQ6 != 0) {
KtPiZg27ZAIz7(bundle, LDlX8tZTAH9EQ6, str5, LDlX8tZTAH9EQ6 == 3 ? str5 : null);
bundle.remove(str5);
} else {
if (cB6wpbyApuFfch(bundle.get(str5))) {
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().LS5VNW9eExZnZPOp.IQgUonnCRDBu0LH("Nested Bundle parameters are not allowed; discarded. event name, param name, child param name", str2, str3, str5);
qhn9OdVXYb = 22;
str4 = str5;
} else {
str4 = str5;
qhn9OdVXYb = qhn9OdVXYb(str, str2, str5, bundle.get(str5), bundle, list, z, false);
}
if (qhn9OdVXYb != 0 && !"_ev".equals(str4)) {
KtPiZg27ZAIz7(bundle, qhn9OdVXYb, str4, bundle.get(str4));
bundle.remove(str4);
} else if (dbqs6ZYf4DHCAYlW(str4) && !ds5t7hpf5Sf(str4, VdhyXdX5nCQt.nBJJCWjib8t2Zqby9) && (i = i + 1) > 0) {
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().gu7O4vNIQwya4y.CgNSGVIfezzyuR("Item cannot contain custom parameters", this.oGzwn2K6Dd8d.LDAydjzHDH8.IQgUonnCRDBu0LH(str2), this.oGzwn2K6Dd8d.LDAydjzHDH8.A8oxFMwUNLNF(bundle));
TM6Irl6Ffq3(bundle, 23);
bundle.remove(str4);
}
}
}
}
public final String XxIFTIXnFt(String str, int i, boolean z) {
if (str == null) {
return null;
}
if (str.codePointCount(0, str.length()) > i) {
if (z) {
return String.valueOf(str.substring(0, str.offsetByCodePoints(0, i))).concat("...");
}
return null;
}
return str;
}
public final void ZN7i7McbMu(A9SgzV7PwQvt2 a9SgzV7PwQvt2, int i) {
Bundle bundle = new Bundle();
bundle.putInt("r", i);
try {
a9SgzV7PwQvt2.rMdnDFHejPH(bundle);
} catch (RemoteException e) {
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().Hkt8IqIYWF6.A8oxFMwUNLNF("Error returning int value to wrapper", e);
}
}
public final Bundle ZlxJP6MxVQx9SZfq7(Bundle bundle) {
Bundle bundle2 = new Bundle();
if (bundle != null) {
for (String str : bundle.keySet()) {
Object Zsf156fLi3mwueGFTnq = Zsf156fLi3mwueGFTnq(str, bundle.get(str));
if (Zsf156fLi3mwueGFTnq == null) {
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().LS5VNW9eExZnZPOp.A8oxFMwUNLNF("Param value can't be null", this.oGzwn2K6Dd8d.LDAydjzHDH8.jKhqHBqbRsXQ7c1(str));
} else {
toqf7CY65bGa70vU(bundle2, str, Zsf156fLi3mwueGFTnq);
}
}
}
return bundle2;
}
public final Object ZmVN4n2Iiodz0QHpI(int i, Object obj, boolean z, boolean z2) {
Parcelable[] parcelableArr;
if (obj == null) {
return null;
}
if ((obj instanceof Long) || (obj instanceof Double)) {
return obj;
}
if (obj instanceof Integer) {
return Long.valueOf(((Integer) obj).intValue());
}
if (obj instanceof Byte) {
return Long.valueOf(((Byte) obj).byteValue());
}
if (obj instanceof Short) {
return Long.valueOf(((Short) obj).shortValue());
}
if (obj instanceof Boolean) {
return Long.valueOf(true != ((Boolean) obj).booleanValue() ? 0L : 1L);
} else if (obj instanceof Float) {
return Double.valueOf(((Float) obj).doubleValue());
} else {
if (!(obj instanceof String) && !(obj instanceof Character) && !(obj instanceof CharSequence)) {
if (z2 && ((obj instanceof Bundle[]) || (obj instanceof Parcelable[]))) {
ArrayList arrayList = new ArrayList();
for (Parcelable parcelable : (Parcelable[]) obj) {
if (parcelable instanceof Bundle) {
Bundle ZlxJP6MxVQx9SZfq7 = ZlxJP6MxVQx9SZfq7((Bundle) parcelable);
if (!ZlxJP6MxVQx9SZfq7.isEmpty()) {
arrayList.add(ZlxJP6MxVQx9SZfq7);
}
}
}
return arrayList.toArray(new Bundle[arrayList.size()]);
}
return null;
}
return XxIFTIXnFt(obj.toString(), i, z);
}
}
public final boolean Zqermd8ah2sOnd(String str, String str2, String str3, String str4) {
boolean isEmpty = TextUtils.isEmpty(str);
boolean isEmpty2 = TextUtils.isEmpty(str2);
if (!isEmpty && !isEmpty2) {
Objects.requireNonNull(str, "null reference");
return !str.equals(str2);
} else if (isEmpty && isEmpty2) {
return (TextUtils.isEmpty(str3) || TextUtils.isEmpty(str4)) ? !TextUtils.isEmpty(str4) : !str3.equals(str4);
} else if (isEmpty) {
return TextUtils.isEmpty(str3) || !str3.equals(str4);
} else if (TextUtils.isEmpty(str4)) {
return false;
} else {
return TextUtils.isEmpty(str3) || !str3.equals(str4);
}
}
public final Object Zsf156fLi3mwueGFTnq(String str, Object obj) {
int i = 256;
if ("_ev".equals(str)) {
Objects.requireNonNull(this.oGzwn2K6Dd8d);
return ZmVN4n2Iiodz0QHpI(256, obj, true, true);
}
if (LwFxk9Dhv2CxE(str)) {
Objects.requireNonNull(this.oGzwn2K6Dd8d);
} else {
Objects.requireNonNull(this.oGzwn2K6Dd8d);
i = 100;
}
return ZmVN4n2Iiodz0QHpI(i, obj, false, true);
}
public final boolean cB6wpbyApuFfch(Object obj) {
return (obj instanceof Parcelable[]) || (obj instanceof ArrayList) || (obj instanceof Bundle);
}
public final int d3OjKgdz6hyLeLgNNzs(String str) {
if (trK8OHrvuYcf1KY6("user property", str)) {
if (xWF5IDxjR5ZPJkRS("user property", FRlVsWTBiP.LDlX8tZTAH9EQ6, null, str)) {
Objects.requireNonNull(this.oGzwn2K6Dd8d);
return !NOeKq0j5yKxqNp4H("user property", 24, str) ? 6 : 0;
}
return 15;
}
return 6;
}
@Override
public final boolean d79CGKZIZEXrLjX() {
return true;
}
public final boolean eIFJ7e1YmOzn(String str) {
if (TextUtils.isEmpty(str)) {
return false;
}
String d79CGKZIZEXrLjX = this.oGzwn2K6Dd8d.tY8HjlFibSPQSBpSPsg.d79CGKZIZEXrLjX("debug.firebase.analytics.app", FrameBodyCOMM.DEFAULT);
Objects.requireNonNull(this.oGzwn2K6Dd8d);
return d79CGKZIZEXrLjX.equals(str);
}
public final void fTGeLSUFcXOW(A9SgzV7PwQvt2 a9SgzV7PwQvt2, String str) {
Bundle bundle = new Bundle();
bundle.putString("r", str);
try {
a9SgzV7PwQvt2.rMdnDFHejPH(bundle);
} catch (RemoteException e) {
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().Hkt8IqIYWF6.A8oxFMwUNLNF("Error returning string value to wrapper", e);
}
}
public final void gu7O4vNIQwya4y(ZKQUmFG87iWLEU zKQUmFG87iWLEU, int i) {
Iterator it = new TreeSet(zKQUmFG87iWLEU.IQgUonnCRDBu0LH.keySet()).iterator();
int i2 = 0;
while (it.hasNext()) {
String str = (String) it.next();
if (dbqs6ZYf4DHCAYlW(str) && (i2 = i2 + 1) > i) {
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().gu7O4vNIQwya4y.CgNSGVIfezzyuR(UynOIsBSG6B.hFuEzhIVCqNaiEU("Event can't contain more than ", i, " params").toString(), this.oGzwn2K6Dd8d.LDAydjzHDH8.IQgUonnCRDBu0LH(zKQUmFG87iWLEU.a1OLiUMlyR0knNZCYyD), this.oGzwn2K6Dd8d.LDAydjzHDH8.A8oxFMwUNLNF(zKQUmFG87iWLEU.IQgUonnCRDBu0LH));
TM6Irl6Ffq3(zKQUmFG87iWLEU.IQgUonnCRDBu0LH, 5);
zKQUmFG87iWLEU.IQgUonnCRDBu0LH.remove(str);
}
}
}
public final long hMrrmLLOML(long j, long j2) {
return ((j2 * 60000) + j) / 86400000;
}
public final YBVZltnsi1cv13QNi0 hQD1LX6T5ssZIOgOu(String str, String str2, Bundle bundle, String str3, long j, boolean z, boolean z2) {
Bundle bundle2;
if (TextUtils.isEmpty(str2)) {
return null;
}
if (TGyCkGMArBCyfz28(str2) == 0) {
if (bundle != null) {
bundle2 = new Bundle(bundle);
} else {
bundle2 = new Bundle();
}
Bundle bundle3 = bundle2;
bundle3.putString("_o", str3);
Bundle yvipwUfp5aa = yvipwUfp5aa(str, str2, bundle3, Collections.singletonList("_o"), true);
if (z) {
yvipwUfp5aa = ZlxJP6MxVQx9SZfq7(yvipwUfp5aa);
}
return new YBVZltnsi1cv13QNi0(str2, new H202sCy2MF(yvipwUfp5aa), str3, j);
}
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().H3jv4RBPS609lDCtG.A8oxFMwUNLNF("Invalid conditional property event name", this.oGzwn2K6Dd8d.LDAydjzHDH8.rMdnDFHejPH(str2));
throw new IllegalArgumentException();
}
public final int i4fmNT3tAinY9U(String str) {
if ("_ldl".equals(str)) {
Objects.requireNonNull(this.oGzwn2K6Dd8d);
return 2048;
} else if ("_id".equals(str)) {
Objects.requireNonNull(this.oGzwn2K6Dd8d);
return 256;
} else if ("_lgclid".equals(str)) {
Objects.requireNonNull(this.oGzwn2K6Dd8d);
return 100;
} else {
Objects.requireNonNull(this.oGzwn2K6Dd8d);
return 36;
}
}
public final String mCHKsLcStiwR() {
byte[] bArr = new byte[16];
ua185vu0OsgqBH4Y().nextBytes(bArr);
return String.format(Locale.US, "%032x", new BigInteger(1, bArr));
}
public final Bundle mICkCtqmZO36uzVNP(Uri uri, boolean z, boolean z2) {
String str;
String str2;
String str3;
String str4;
String str5;
String str6;
String str7;
if (uri != null) {
try {
if (uri.isHierarchical()) {
str = uri.getQueryParameter("utm_campaign");
str2 = uri.getQueryParameter("utm_source");
str3 = uri.getQueryParameter("utm_medium");
str4 = uri.getQueryParameter("gclid");
if (z) {
str5 = uri.getQueryParameter("utm_id");
str6 = uri.getQueryParameter("dclid");
} else {
str5 = null;
str6 = null;
}
str7 = z2 ? uri.getQueryParameter("srsltid") : null;
} else {
str = null;
str2 = null;
str3 = null;
str4 = null;
str5 = null;
str6 = null;
str7 = null;
}
if (TextUtils.isEmpty(str) && TextUtils.isEmpty(str2) && TextUtils.isEmpty(str3) && TextUtils.isEmpty(str4) && ((!z || (TextUtils.isEmpty(str5) && TextUtils.isEmpty(str6))) && (!z2 || TextUtils.isEmpty(str7)))) {
return null;
}
Bundle bundle = new Bundle();
if (!TextUtils.isEmpty(str)) {
bundle.putString("campaign", str);
}
if (!TextUtils.isEmpty(str2)) {
bundle.putString("source", str2);
}
if (!TextUtils.isEmpty(str3)) {
bundle.putString("medium", str3);
}
if (!TextUtils.isEmpty(str4)) {
bundle.putString("gclid", str4);
}
String queryParameter = uri.getQueryParameter("utm_term");
if (!TextUtils.isEmpty(queryParameter)) {
bundle.putString("term", queryParameter);
}
String queryParameter2 = uri.getQueryParameter("utm_content");
if (!TextUtils.isEmpty(queryParameter2)) {
bundle.putString("content", queryParameter2);
}
String queryParameter3 = uri.getQueryParameter("aclid");
if (!TextUtils.isEmpty(queryParameter3)) {
bundle.putString("aclid", queryParameter3);
}
String queryParameter4 = uri.getQueryParameter("cp1");
if (!TextUtils.isEmpty(queryParameter4)) {
bundle.putString("cp1", queryParameter4);
}
String queryParameter5 = uri.getQueryParameter("anid");
if (!TextUtils.isEmpty(queryParameter5)) {
bundle.putString("anid", queryParameter5);
}
if (z) {
if (!TextUtils.isEmpty(str5)) {
bundle.putString("campaign_id", str5);
}
if (!TextUtils.isEmpty(str6)) {
bundle.putString("dclid", str6);
}
String queryParameter6 = uri.getQueryParameter("utm_source_platform");
if (!TextUtils.isEmpty(queryParameter6)) {
bundle.putString("source_platform", queryParameter6);
}
String queryParameter7 = uri.getQueryParameter("utm_creative_format");
if (!TextUtils.isEmpty(queryParameter7)) {
bundle.putString("creative_format", queryParameter7);
}
String queryParameter8 = uri.getQueryParameter("utm_marketing_tactic");
if (!TextUtils.isEmpty(queryParameter8)) {
bundle.putString("marketing_tactic", queryParameter8);
}
}
if (z2 && !TextUtils.isEmpty(str7)) {
bundle.putString("srsltid", str7);
}
return bundle;
} catch (UnsupportedOperationException e) {
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().Hkt8IqIYWF6.A8oxFMwUNLNF("Install referrer url isn't a hierarchical URI", e);
}
}
return null;
}
public final void nBJJCWjib8t2Zqby9(A9SgzV7PwQvt2 a9SgzV7PwQvt2, ArrayList arrayList) {
Bundle bundle = new Bundle();
bundle.putParcelableArrayList("r", arrayList);
try {
a9SgzV7PwQvt2.rMdnDFHejPH(bundle);
} catch (RemoteException e) {
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().Hkt8IqIYWF6.A8oxFMwUNLNF("Error returning bundle list to wrapper", e);
}
}
public final int qhn9OdVXYb(String str, String str2, String str3, Object obj, Bundle bundle, List list, boolean z, boolean z2) {
int i;
int i2;
Parcelable[] parcelableArr;
int size;
Fld2Qlc0itlPMuI0z();
if (cB6wpbyApuFfch(obj)) {
if (!z2) {
return 21;
}
if (!ds5t7hpf5Sf(str3, VdhyXdX5nCQt.LS5VNW9eExZnZPOp)) {
return 20;
}
D5RcQah9WTolRT tY8HjlFibSPQSBpSPsg2 = this.oGzwn2K6Dd8d.tY8HjlFibSPQSBpSPsg();
tY8HjlFibSPQSBpSPsg2.Fld2Qlc0itlPMuI0z();
tY8HjlFibSPQSBpSPsg2.sN05x3HSOqocsuPp();
if (tY8HjlFibSPQSBpSPsg2.AJkpu1LD5bAFwmbQGUa() && tY8HjlFibSPQSBpSPsg2.oGzwn2K6Dd8d.Hkt8IqIYWF6().rv3pkBkmx9Y() < 200900) {
return 25;
}
Objects.requireNonNull(this.oGzwn2K6Dd8d);
boolean z3 = obj instanceof Parcelable[];
if (z3) {
size = ((Parcelable[]) obj).length;
} else if (obj instanceof ArrayList) {
size = ((ArrayList) obj).size();
}
if (size > 200) {
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().LS5VNW9eExZnZPOp.IQgUonnCRDBu0LH("Parameter array is too long; discarded. Value kind, name, array length", "param", str3, Integer.valueOf(size));
Objects.requireNonNull(this.oGzwn2K6Dd8d);
if (z3) {
Parcelable[] parcelableArr2 = (Parcelable[]) obj;
if (parcelableArr2.length > 200) {
bundle.putParcelableArray(str3, (Parcelable[]) Arrays.copyOf(parcelableArr2, 200));
}
} else if (obj instanceof ArrayList) {
ArrayList arrayList = (ArrayList) obj;
if (arrayList.size() > 200) {
bundle.putParcelableArrayList(str3, new ArrayList<>(arrayList.subList(0, 200)));
}
}
i = 17;
if ((!this.oGzwn2K6Dd8d.tY8HjlFibSPQSBpSPsg.HRNBIuVQ2Vb19z(str, YBm9p1SPl6P15xUL.cB6wpbyApuFfch) && LwFxk9Dhv2CxE(str2)) || LwFxk9Dhv2CxE(str3)) {
Objects.requireNonNull(this.oGzwn2K6Dd8d);
i2 = 256;
} else {
Objects.requireNonNull(this.oGzwn2K6Dd8d);
i2 = 100;
}
if (RMHOHXd57z7BNiB1Z("param", str3, i2, obj)) {
if (z2) {
if (obj instanceof Bundle) {
Vz7Oae26YqYf(str, str2, str3, (Bundle) obj, list, z);
} else if (obj instanceof Parcelable[]) {
for (Parcelable parcelable : (Parcelable[]) obj) {
if (!(parcelable instanceof Bundle)) {
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().LS5VNW9eExZnZPOp.CgNSGVIfezzyuR("All Parcelable[] elements must be of type Bundle. Value type, name", parcelable.getClass(), str3);
return 4;
}
Vz7Oae26YqYf(str, str2, str3, (Bundle) parcelable, list, z);
}
} else if (!(obj instanceof ArrayList)) {
return 4;
} else {
ArrayList arrayList2 = (ArrayList) obj;
int size2 = arrayList2.size();
for (int i3 = 0; i3 < size2; i3++) {
Object obj2 = arrayList2.get(i3);
if (!(obj2 instanceof Bundle)) {
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().LS5VNW9eExZnZPOp.CgNSGVIfezzyuR("All ArrayList elements must be of type Bundle. Value type, name", obj2 != null ? obj2.getClass() : "null", str3);
return 4;
}
Vz7Oae26YqYf(str, str2, str3, (Bundle) obj2, list, z);
}
}
return i;
}
return 4;
}
return i;
}
}
i = 0;
if (!this.oGzwn2K6Dd8d.tY8HjlFibSPQSBpSPsg.HRNBIuVQ2Vb19z(str, YBm9p1SPl6P15xUL.cB6wpbyApuFfch)) {
}
Objects.requireNonNull(this.oGzwn2K6Dd8d);
i2 = 100;
if (RMHOHXd57z7BNiB1Z("param", str3, i2, obj)) {
}
}
public final byte[] rCLeDffL3zZGEQ2nSz(Parcelable parcelable) {
if (parcelable == null) {
return null;
}
Parcel obtain = Parcel.obtain();
try {
parcelable.writeToParcel(obtain, 0);
return obtain.marshall();
} finally {
obtain.recycle();
}
}
public final boolean ruhPlYj1WOGu7YzM(Context context, String str) {
Signature[] signatureArr;
X500Principal x500Principal = new X500Principal("CN=Android Debug,O=Android,C=US");
try {
PackageInfo packageInfo = LkX68WNKePQBJw1KWr.a1OLiUMlyR0knNZCYyD(context).a1OLiUMlyR0knNZCYyD.getPackageManager().getPackageInfo(str, 64);
if (packageInfo == null || (signatureArr = packageInfo.signatures) == null || signatureArr.length <= 0) {
return true;
}
return ((X509Certificate) CertificateFactory.getInstance("X.509").generateCertificate(new ByteArrayInputStream(signatureArr[0].toByteArray()))).getSubjectX500Principal().equals(x500Principal);
} catch (PackageManager.NameNotFoundException e) {
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().H3jv4RBPS609lDCtG.A8oxFMwUNLNF("Package name not found", e);
return true;
} catch (CertificateException e2) {
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().H3jv4RBPS609lDCtG.A8oxFMwUNLNF("Error obtaining certificate", e2);
return true;
}
}
@EnsuresNonNull({"this.apkVersion"})
public final int rv3pkBkmx9Y() {
if (this.H3jv4RBPS609lDCtG == null) {
SvOA8rhZ4tvD46v0s svOA8rhZ4tvD46v0s = SvOA8rhZ4tvD46v0s.A8oxFMwUNLNF;
Context context = this.oGzwn2K6Dd8d.oGzwn2K6Dd8d;
Objects.requireNonNull(svOA8rhZ4tvD46v0s);
AtomicBoolean atomicBoolean = R0QkkoiQLSybYl.a1OLiUMlyR0knNZCYyD;
int i = 0;
try {
i = context.getPackageManager().getPackageInfo("com.google.android.gms", 0).versionCode;
} catch (PackageManager.NameNotFoundException unused) {
Log.w("GooglePlayServicesUtil", "Google Play services is missing.");
}
this.H3jv4RBPS609lDCtG = Integer.valueOf(i / YandexMetricaDefaultValues.DEFAULT_MAX_REPORTS_IN_DATABASE_COUNT);
}
return this.H3jv4RBPS609lDCtG.intValue();
}
@Override
public final void sN05x3HSOqocsuPp() {
Fld2Qlc0itlPMuI0z();
SecureRandom secureRandom = new SecureRandom();
long nextLong = secureRandom.nextLong();
if (nextLong == 0) {
nextLong = secureRandom.nextLong();
if (nextLong == 0) {
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().Hkt8IqIYWF6.a1OLiUMlyR0knNZCYyD("Utils falling back to Random for random id");
}
}
this.HRNBIuVQ2Vb19z.set(nextLong);
}
public final void tY8HjlFibSPQSBpSPsg(Bundle bundle, Bundle bundle2) {
if (bundle2 == null) {
return;
}
for (String str : bundle2.keySet()) {
if (!bundle.containsKey(str)) {
this.oGzwn2K6Dd8d.Hkt8IqIYWF6().toqf7CY65bGa70vU(bundle, str, bundle2.get(str));
}
}
}
public final void toqf7CY65bGa70vU(Bundle bundle, String str, Object obj) {
if (bundle == null) {
return;
}
if (obj instanceof Long) {
bundle.putLong(str, ((Long) obj).longValue());
} else if (obj instanceof String) {
bundle.putString(str, String.valueOf(obj));
} else if (obj instanceof Double) {
bundle.putDouble(str, ((Double) obj).doubleValue());
} else if (obj instanceof Bundle[]) {
bundle.putParcelableArray(str, (Bundle[]) obj);
} else if (str != null) {
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().LS5VNW9eExZnZPOp.CgNSGVIfezzyuR("Not putting event parameter. Invalid value type. name, type", this.oGzwn2K6Dd8d.LDAydjzHDH8.jKhqHBqbRsXQ7c1(str), obj != null ? obj.getClass().getSimpleName() : null);
}
}
public final boolean trK8OHrvuYcf1KY6(String str, String str2) {
if (str2 == null) {
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().gu7O4vNIQwya4y.A8oxFMwUNLNF("Name is required and can't be null. Type", str);
return false;
} else if (str2.length() == 0) {
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().gu7O4vNIQwya4y.A8oxFMwUNLNF("Name is required and can't be empty. Type", str);
return false;
} else {
int codePointAt = str2.codePointAt(0);
if (!Character.isLetter(codePointAt)) {
if (codePointAt != 95) {
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().gu7O4vNIQwya4y.CgNSGVIfezzyuR("Name must start with a letter or _ (underscore). Type, name", str, str2);
return false;
}
codePointAt = 95;
}
int length = str2.length();
int charCount = Character.charCount(codePointAt);
while (charCount < length) {
int codePointAt2 = str2.codePointAt(charCount);
if (codePointAt2 != 95 && !Character.isLetterOrDigit(codePointAt2)) {
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().gu7O4vNIQwya4y.CgNSGVIfezzyuR("Name must consist of letters, digits or _ (underscores). Type, name", str, str2);
return false;
}
charCount += Character.charCount(codePointAt2);
}
return true;
}
}
@EnsuresNonNull({"this.secureRandom"})
public final SecureRandom ua185vu0OsgqBH4Y() {
Fld2Qlc0itlPMuI0z();
if (this.GEbllHUy2l == null) {
this.GEbllHUy2l = new SecureRandom();
}
return this.GEbllHUy2l;
}
public final boolean xWF5IDxjR5ZPJkRS(String str, String[] strArr, String[] strArr2, String str2) {
if (str2 == null) {
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().gu7O4vNIQwya4y.A8oxFMwUNLNF("Name is required and can't be null. Type", str);
return false;
}
String[] strArr3 = tY8HjlFibSPQSBpSPsg;
for (int i = 0; i < 3; i++) {
if (str2.startsWith(strArr3[i])) {
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().gu7O4vNIQwya4y.CgNSGVIfezzyuR("Name starts with reserved prefix. Type, name", str, str2);
return false;
}
}
if (strArr == null || !ds5t7hpf5Sf(str2, strArr)) {
return true;
}
if (strArr2 == null || !ds5t7hpf5Sf(str2, strArr2)) {
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().gu7O4vNIQwya4y.CgNSGVIfezzyuR("Name is reserved. Type, name", str, str2);
return false;
}
return true;
}
public final Bundle yvipwUfp5aa(String str, String str2, Bundle bundle, List list, boolean z) {
int LDlX8tZTAH9EQ6;
List list2 = list;
boolean ds5t7hpf5Sf = ds5t7hpf5Sf(str2, hxseMVXCge.toqf7CY65bGa70vU);
Bundle bundle2 = new Bundle(bundle);
int hFuEzhIVCqNaiEU = this.oGzwn2K6Dd8d.tY8HjlFibSPQSBpSPsg.hFuEzhIVCqNaiEU();
Iterator it = new TreeSet(bundle.keySet()).iterator();
int i = 0;
while (it.hasNext()) {
String str3 = (String) it.next();
if (list2 == null || !list2.contains(str3)) {
LDlX8tZTAH9EQ6 = !z ? LDlX8tZTAH9EQ6(str3) : 0;
if (LDlX8tZTAH9EQ6 == 0) {
LDlX8tZTAH9EQ6 = EwEwGCdQUI(str3);
}
} else {
LDlX8tZTAH9EQ6 = 0;
}
if (LDlX8tZTAH9EQ6 != 0) {
KtPiZg27ZAIz7(bundle2, LDlX8tZTAH9EQ6, str3, LDlX8tZTAH9EQ6 == 3 ? str3 : null);
bundle2.remove(str3);
} else {
int qhn9OdVXYb = qhn9OdVXYb(str, str2, str3, bundle.get(str3), bundle2, list, z, ds5t7hpf5Sf);
if (qhn9OdVXYb == 17) {
KtPiZg27ZAIz7(bundle2, 17, str3, Boolean.FALSE);
} else if (qhn9OdVXYb != 0 && !"_ev".equals(str3)) {
KtPiZg27ZAIz7(bundle2, qhn9OdVXYb, qhn9OdVXYb == 21 ? str2 : str3, bundle.get(str3));
bundle2.remove(str3);
}
if (dbqs6ZYf4DHCAYlW(str3)) {
int i2 = i + 1;
if (i2 > hFuEzhIVCqNaiEU) {
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().gu7O4vNIQwya4y.CgNSGVIfezzyuR(UynOIsBSG6B.hFuEzhIVCqNaiEU("Event can't contain more than ", hFuEzhIVCqNaiEU, " params").toString(), this.oGzwn2K6Dd8d.LDAydjzHDH8.IQgUonnCRDBu0LH(str2), this.oGzwn2K6Dd8d.LDAydjzHDH8.A8oxFMwUNLNF(bundle));
TM6Irl6Ffq3(bundle2, 5);
bundle2.remove(str3);
}
i = i2;
}
}
list2 = list;
}
return bundle2;
}
public final void zGyOKL3LvVLZRvi(A9SgzV7PwQvt2 a9SgzV7PwQvt2, byte[] bArr) {
Bundle bundle = new Bundle();
bundle.putByteArray("r", bArr);
try {
a9SgzV7PwQvt2.rMdnDFHejPH(bundle);
} catch (RemoteException e) {
this.oGzwn2K6Dd8d.IQgUonnCRDBu0LH().Hkt8IqIYWF6.A8oxFMwUNLNF("Error returning byte array to wrapper", e);
}
}
}