正在查看: Kickcash v16.1 应用的 b3.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Kickcash v16.1 应用的 b3.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.microsoft.clarity.og;
import android.app.Activity;
import android.app.Application;
import android.content.Context;
import android.os.BadParcelableException;
import android.os.Bundle;
import android.os.NetworkOnMainThreadException;
import android.os.RemoteException;
import android.util.Log;
import android.util.Pair;
import androidx.annotation.NonNull;
import com.google.android.gms.dynamite.DynamiteModule;
import com.google.android.gms.dynamite.descriptors.com.google.android.gms.measurement.dynamite.ModuleDescriptor;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Random;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;
public final class b3 {
private static volatile b3 j;
private final String a;
protected final com.microsoft.clarity.bg.f b;
protected final ExecutorService c;
private final com.microsoft.clarity.sg.a d;
private final List e;
private int f;
private boolean g;
private final String h;
private volatile f1 i;
protected b3(Context context, String str, String str2, String str3, Bundle bundle) {
if (str == null || !r(str2, str3)) {
this.a = "FA";
} else {
this.a = str;
}
this.b = com.microsoft.clarity.bg.i.d();
z0.a();
ThreadPoolExecutor threadPoolExecutor = new ThreadPoolExecutor(1, 1, 60L, TimeUnit.SECONDS, new LinkedBlockingQueue(), new i2(this));
threadPoolExecutor.allowCoreThreadTimeOut(true);
this.c = Executors.unconfigurableExecutorService(threadPoolExecutor);
this.d = new com.microsoft.clarity.sg.a(this);
this.e = new ArrayList();
try {
if (com.microsoft.clarity.tg.x.c(context, "google_app_id", com.microsoft.clarity.tg.m.a(context)) != null && !n()) {
this.h = null;
this.g = true;
Log.w(this.a, "Disabling data collection. Found google_app_id in strings.xml but Google Analytics for Firebase is missing. Remove this value or add Google Analytics for Firebase to resume data collection.");
return;
}
} catch (IllegalStateException unused) {
}
if (r(str2, str3)) {
this.h = str2;
} else {
this.h = "fa";
if (str2 == null || str3 == null) {
if ((str2 == null) ^ (str3 == null)) {
Log.w(this.a, "Specified origin or custom app id is null. Both parameters will be ignored.");
}
} else {
Log.v(this.a, "Deferring to Google Analytics for Firebase for event data collection. https://goo.gl/J1sWQy");
}
}
q(new x1(this, str2, str3, context, bundle));
Application application = (Application) context.getApplicationContext();
if (application == null) {
Log.w(this.a, "Unable to register lifecycle notifications. Application null.");
} else {
application.registerActivityLifecycleCallbacks(new a3(this));
}
}
protected static final boolean n() {
return true;
}
public final void o(Exception exc, boolean z, boolean z2) {
this.g |= z;
if (z) {
Log.w(this.a, "Data collection startup failed. No data will be collected.", exc);
return;
}
if (z2) {
a(5, "Error with data collection. Data lost.", exc, null, null);
}
Log.w(this.a, "Error with data collection. Data lost.", exc);
}
private final void p(String str, String str2, Bundle bundle, boolean z, boolean z2, Long l) {
q(new o2(this, l, str, str2, bundle, z, z2));
}
public final void q(q2 q2Var) {
this.c.execute(q2Var);
}
public static final boolean r(String str, String str2) {
return (str2 == null || str == null || n()) ? false : true;
}
public static b3 x(Context context, String str, String str2, String str3, Bundle bundle) {
com.microsoft.clarity.wf.h.j(context);
if (j == null) {
synchronized (b3.class) {
if (j == null) {
j = new b3(context, str, str2, str3, bundle);
}
}
}
return j;
}
public final String A() {
b1 b1Var = new b1();
q(new c2(this, b1Var));
return b1Var.m(50L);
}
public final String B() {
b1 b1Var = new b1();
q(new f2(this, b1Var));
return b1Var.m(500L);
}
public final String C() {
b1 b1Var = new b1();
q(new e2(this, b1Var));
return b1Var.m(500L);
}
public final String D() {
b1 b1Var = new b1();
q(new b2(this, b1Var));
return b1Var.m(500L);
}
public final List E(String str, String str2) {
b1 b1Var = new b1();
q(new r1(this, str, str2, b1Var));
List list = (List) b1.E0(b1Var.l(5000L), List.class);
return list == null ? Collections.emptyList() : list;
}
public final Map F(String str, String str2, boolean z) {
b1 b1Var = new b1();
q(new g2(this, str, str2, z, b1Var));
Bundle l = b1Var.l(5000L);
if (l == null || l.size() == 0) {
return Collections.emptyMap();
}
HashMap hashMap = new HashMap(l.size());
for (String str3 : l.keySet()) {
Object obj = l.get(str3);
if ((obj instanceof Double) || (obj instanceof Long) || (obj instanceof String)) {
hashMap.put(str3, obj);
}
}
return hashMap;
}
public final void J(String str) {
q(new y1(this, str));
}
public final void K(String str, String str2, Bundle bundle) {
q(new q1(this, str, str2, bundle));
}
public final void L(String str) {
q(new z1(this, str));
}
public final void M(@NonNull String str, Bundle bundle) {
p(null, str, bundle, false, true, null);
}
public final void N(String str, String str2, Bundle bundle) {
p(str, str2, bundle, true, true, null);
}
public final void a(int i, String str, Object obj, Object obj2, Object obj3) {
q(new h2(this, false, 5, str, obj, null, null));
}
public final void b(com.microsoft.clarity.tg.u uVar) {
com.microsoft.clarity.wf.h.j(uVar);
synchronized (this.e) {
for (int i = 0; i < this.e.size(); i++) {
if (uVar.equals(((Pair) this.e.get(i)).first)) {
Log.w(this.a, "OnEventListener already registered.");
return;
}
}
r2 r2Var = new r2(uVar);
this.e.add(new Pair(uVar, r2Var));
if (this.i != null) {
try {
this.i.registerOnMeasurementEventListener(r2Var);
return;
} catch (BadParcelableException | NetworkOnMainThreadException | RemoteException | IllegalArgumentException | IllegalStateException | NullPointerException | SecurityException | UnsupportedOperationException unused) {
Log.w(this.a, "Failed to register event listener on calling thread. Trying again on the dynamite thread.");
}
}
q(new n2(this, r2Var));
}
}
public final void c() {
q(new v1(this));
}
public final void d(Bundle bundle) {
q(new p1(this, bundle));
}
public final void e(Activity activity, String str, String str2) {
q(new t1(this, activity, str, str2));
}
public final void f(boolean z) {
q(new l2(this, z));
}
public final void g(Bundle bundle) {
q(new m2(this, bundle));
}
public final void h(Boolean bool) {
q(new u1(this, bool));
}
public final void i(long j2) {
q(new w1(this, j2));
}
public final void j(String str) {
q(new s1(this, str));
}
public final void k(String str, String str2, Object obj, boolean z) {
q(new p2(this, str, str2, obj, z));
}
public final int s(String str) {
b1 b1Var = new b1();
q(new j2(this, str, b1Var));
Integer num = (Integer) b1.E0(b1Var.l(10000L), Integer.class);
if (num == null) {
return 25;
}
return num.intValue();
}
public final long t() {
b1 b1Var = new b1();
q(new d2(this, b1Var));
Long l = (Long) b1.E0(b1Var.l(500L), Long.class);
if (l != null) {
return l.longValue();
}
long nextLong = new Random(System.nanoTime() ^ this.b.a()).nextLong();
int i = this.f + 1;
this.f = i;
return nextLong + i;
}
public final com.microsoft.clarity.sg.a u() {
return this.d;
}
protected final f1 w(Context context, boolean z) {
try {
return e1.asInterface(DynamiteModule.e(context, DynamiteModule.e, ModuleDescriptor.MODULE_ID).d("com.google.android.gms.measurement.internal.AppMeasurementDynamiteService"));
} catch (DynamiteModule.a e) {
o(e, true, false);
return null;
}
}
public final String z() {
b1 b1Var = new b1();
q(new k2(this, b1Var));
return b1Var.m(120000L);
}
}