APK反编译源代码展示 - 南明离火平台提供

应用版本信息
应用名称:GPS Status
版本号:11.3.314
包名称:com.eclipsim.gpsstatus2

MD5 校验值:1307767a726185fc43c57c361d8f8db9

反编译源代码说明

l.java 文件包含反编译后的源代码,请注意,该内容仅供学习和参考使用,不得用于非法用途。


package b7;

import android.content.Context;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.content.res.Resources;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.os.Build;
import android.text.TextUtils;
import android.util.Log;
import androidx.constraintlayout.helper.widget.gPY.TVfZ;
import androidx.datastore.preferences.protobuf.Mbo.EEYY;
import b9.i0;
import com.google.firebase.crashlytics.CrashlyticsRegistrar;
import com.google.firebase.encoders.EncodingException;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.lang.Thread;
import java.net.ConnectException;
import java.net.HttpURLConnection;
import java.net.URL;
import java.net.UnknownHostException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Locale;
import java.util.Set;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.Executor;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicReference;
import java.util.zip.GZIPInputStream;
import java.util.zip.GZIPOutputStream;
import k4.oTs.MTTGTvvbTgXmq;
import p5.j4;
import p9.BGg.zLIiXGAW;
import u3.QO.JkEzJnEnT;
import v5.i2;
import x8.RD.lexQujQDcd;

public final class l implements u3.d, f4.a, e4.g, q7.d, o8.a, y5.a, y5.f {

    public final int f1009q;

    public final Object f1010r;

    public l(int i10, Object obj) {
        this.f1009q = i10;
        this.f1010r = obj;
    }

    public v3.c a(Object obj) {
        v3.b bVar = (v3.b) obj;
        v3.d dVar = (v3.d) this.f1010r;
        URL url = bVar.f6860a;
        String concat = "TRuntime.".concat("CctTransportBackend");
        if (Log.isLoggable(concat, 4)) {
            Log.i(concat, String.format("Making request to: %s", url));
        }
        HttpURLConnection httpURLConnection = (HttpURLConnection) bVar.f6860a.openConnection();
        httpURLConnection.setConnectTimeout(30000);
        httpURLConnection.setReadTimeout(dVar.f6872g);
        httpURLConnection.setDoOutput(true);
        httpURLConnection.setInstanceFollowRedirects(false);
        httpURLConnection.setRequestMethod("POST");
        httpURLConnection.setRequestProperty("User-Agent", "datatransport/3.3.0 android/");
        httpURLConnection.setRequestProperty("Content-Encoding", "gzip");
        httpURLConnection.setRequestProperty("Content-Type", "application/json");
        httpURLConnection.setRequestProperty("Accept-Encoding", "gzip");
        String str = bVar.f6862c;
        if (str != null) {
            httpURLConnection.setRequestProperty("X-Goog-Api-Key", str);
        }
        try {
            OutputStream outputStream = httpURLConnection.getOutputStream();
            try {
                GZIPOutputStream gZIPOutputStream = new GZIPOutputStream(outputStream);
                try {
                    v8.c cVar = dVar.f6866a;
                    w3.m mVar = bVar.f6861b;
                    BufferedWriter bufferedWriter = new BufferedWriter(new OutputStreamWriter(gZIPOutputStream));
                    k8.d dVar2 = (k8.d) cVar.f7481r;
                    k8.e eVar = new k8.e(bufferedWriter, dVar2.f3964a, dVar2.f3965b, dVar2.f3966c, dVar2.f3967d);
                    eVar.h(mVar);
                    eVar.j();
                    eVar.f3969b.flush();
                    gZIPOutputStream.close();
                    if (outputStream != null) {
                        outputStream.close();
                    }
                    int responseCode = httpURLConnection.getResponseCode();
                    Integer valueOf = Integer.valueOf(responseCode);
                    String concat2 = "TRuntime.".concat("CctTransportBackend");
                    if (Log.isLoggable(concat2, 4)) {
                        Log.i(concat2, String.format("Status Code: %d", valueOf));
                    }
                    j5.g.q("CctTransportBackend", "Content-Type: %s", httpURLConnection.getHeaderField("Content-Type"));
                    j5.g.q("CctTransportBackend", MTTGTvvbTgXmq.zvUrEkDQC, httpURLConnection.getHeaderField("Content-Encoding"));
                    if (responseCode == 302 || responseCode == 301 || responseCode == 307) {
                        return new v3.c(responseCode, new URL(httpURLConnection.getHeaderField(TVfZ.idBrVXkUH)), 0L);
                    }
                    if (responseCode != 200) {
                        return new v3.c(responseCode, null, 0L);
                    }
                    InputStream inputStream = httpURLConnection.getInputStream();
                    try {
                        InputStream gZIPInputStream = "gzip".equals(httpURLConnection.getHeaderField("Content-Encoding")) ? new GZIPInputStream(inputStream) : inputStream;
                        try {
                            v3.c cVar2 = new v3.c(responseCode, null, w3.u.a(new BufferedReader(new InputStreamReader(gZIPInputStream))).f7701a);
                            if (gZIPInputStream != null) {
                                gZIPInputStream.close();
                            }
                            if (inputStream != null) {
                                inputStream.close();
                            }
                            return cVar2;
                        } finally {
                        }
                    } finally {
                    }
                } finally {
                }
            } finally {
            }
        } catch (EncodingException e9) {
            e = e9;
            j5.g.s("CctTransportBackend", MTTGTvvbTgXmq.VEKlBWDfRNmhR, e);
            return new v3.c(400, null, 0L);
        } catch (ConnectException e10) {
            e = e10;
            j5.g.s("CctTransportBackend", "Couldn't open connection, returning with 500", e);
            return new v3.c(500, null, 0L);
        } catch (UnknownHostException e11) {
            e = e11;
            j5.g.s("CctTransportBackend", "Couldn't open connection, returning with 500", e);
            return new v3.c(500, null, 0L);
        } catch (IOException e12) {
            e = e12;
            j5.g.s("CctTransportBackend", MTTGTvvbTgXmq.VEKlBWDfRNmhR, e);
            return new v3.c(400, null, 0L);
        }
    }

    @Override
    public Object apply(Object obj) {
        switch (this.f1009q) {
            case 1:
                ((v8.c) this.f1010r).getClass();
                String q10 = i0.f1186b.q((b9.h0) obj);
                r9.h.d(q10, "SessionEvents.SESSION_EVENT_ENCODER.encode(value)");
                byte[] bytes = q10.getBytes(x9.a.f8360a);
                r9.h.d(bytes, "this as java.lang.String).getBytes(charset)");
                return bytes;
            default:
                Cursor cursor = (Cursor) obj;
                e4.i iVar = (e4.i) this.f1010r;
                iVar.getClass();
                while (cursor.moveToNext()) {
                    iVar.f(cursor.getInt(0), a4.c.f184s, cursor.getString(1));
                }
                return null;
        }
    }

    @Override
    public void b(o8.b bVar) {
        switch (this.f1009q) {
            case 10:
                t7.a aVar = (t7.a) this.f1010r;
                aVar.getClass();
                aVar.f6539b.set((t7.a) bVar.get());
                return;
            default:
                t2.h hVar = ((w8.i) ((z8.a) bVar.get())).a().j;
                Set set = (Set) hVar.f6514d;
                t7.b bVar2 = (t7.b) this.f1010r;
                set.add(bVar2);
                y5.m b4 = ((x8.d) hVar.f6511a).b();
                b4.c((Executor) hVar.f6513c, new c4.b(hVar, b4, bVar2, 6));
                return;
        }
    }

    @Override
    public Object c() {
        Object obj = this.f1010r;
        switch (this.f1009q) {
            case a1.j.FLOAT_FIELD_NUMBER:
                e4.i iVar = (e4.i) ((e4.c) obj);
                iVar.getClass();
                int i10 = a4.a.f177e;
                ?? obj2 = new Object();
                obj2.f4345q = null;
                obj2.f4346r = new ArrayList();
                obj2.f4347s = null;
                obj2.f4348t = "";
                HashMap hashMap = new HashMap();
                SQLiteDatabase a10 = iVar.a();
                a10.beginTransaction();
                try {
                    a4.a aVar = (a4.a) e4.i.i(a10.rawQuery("SELECT log_source, reason, events_dropped_count FROM log_event_dropped", new String[0]), new c4.b(iVar, hashMap, (Object) obj2, 3));
                    a10.setTransactionSuccessful();
                    a10.endTransaction();
                    return aVar;
                } catch (Throwable th) {
                    a10.endTransaction();
                    throw th;
                }
            case a1.j.INTEGER_FIELD_NUMBER:
                e4.i iVar2 = (e4.i) ((e4.d) obj);
                long b4 = iVar2.f2358r.b() - iVar2.f2360t.f2346d;
                SQLiteDatabase a11 = iVar2.a();
                a11.beginTransaction();
                try {
                    String[] strArr = {String.valueOf(b4)};
                    e4.i.i(a11.rawQuery("SELECT COUNT(*), transport_name FROM events WHERE timestamp_ms < ? GROUP BY transport_name", strArr), new l(6, iVar2));
                    int delete = a11.delete("events", "timestamp_ms < ?", strArr);
                    a11.setTransactionSuccessful();
                    a11.endTransaction();
                    return Integer.valueOf(delete);
                } catch (Throwable th2) {
                    a11.endTransaction();
                    throw th2;
                }
            case a1.j.LONG_FIELD_NUMBER:
                e4.i iVar3 = (e4.i) ((d4.l) obj).f2141i;
                SQLiteDatabase a12 = iVar3.a();
                a12.beginTransaction();
                try {
                    a12.compileStatement("DELETE FROM log_event_dropped").execute();
                    a12.compileStatement("UPDATE global_log_event_state SET last_metrics_upload_ms=" + iVar3.f2358r.b()).execute();
                    a12.setTransactionSuccessful();
                    a12.endTransaction();
                    return null;
                } catch (Throwable th3) {
                    a12.endTransaction();
                    throw th3;
                }
            default:
                d4.m mVar = (d4.m) obj;
                Iterator it = ((Iterable) ((e4.i) mVar.f2143b).c(new c0(8))).iterator();
                while (it.hasNext()) {
                    mVar.f2144c.a((x3.j) it.next(), 1, false);
                }
                return null;
        }
    }

    @Override
    public Object d(y5.m mVar) {
        boolean z2;
        switch (this.f1009q) {
            case 13:
                ((b5.g) this.f1010r).getClass();
                if (mVar.i()) {
                    w7.c cVar = (w7.c) mVar.g();
                    String str = cVar.f7731b;
                    File file = cVar.f7732c;
                    if (file.delete()) {
                        file.getPath();
                    } else {
                        Log.w("FirebaseCrashlytics", "Crashlytics could not delete report file: " + file.getPath(), null);
                    }
                    z2 = true;
                } else {
                    Log.w("FirebaseCrashlytics", "Crashlytics report could not be enqueued to DataTransport", mVar.f());
                    z2 = false;
                }
                return Boolean.valueOf(z2);
            default:
                ((CountDownLatch) this.f1010r).countDown();
                return null;
        }
    }

    @Override
    public Object h(b5.g gVar) {
        w7.r rVar;
        String str;
        long j;
        s7.b bVar;
        String str2;
        long currentTimeMillis;
        String num;
        String str3;
        w7.b bVar2;
        r7.l lVar;
        String d10;
        v5.d0 d0Var;
        a3.j jVar;
        v8.c cVar;
        a3.j jVar2;
        String p10;
        String replaceAll;
        String replaceAll2;
        String[] strArr;
        ArrayList arrayList;
        int i10;
        y5.m mVar;
        r7.l lVar2;
        y5.m j6;
        boolean z2;
        w7.b bVar3;
        String str4;
        boolean exists;
        ExecutorService executorService;
        NetworkInfo activeNetworkInfo;
        Resources resources;
        d8.b b4;
        long longVersionCode;
        switch (this.f1009q) {
            case a1.j.DOUBLE_FIELD_NUMBER:
                return this.f1010r;
            default:
                int i11 = CrashlyticsRegistrar.f2008c;
                CrashlyticsRegistrar crashlyticsRegistrar = (CrashlyticsRegistrar) this.f1010r;
                crashlyticsRegistrar.getClass();
                long currentTimeMillis2 = System.currentTimeMillis();
                j7.g gVar2 = (j7.g) gVar.a(j7.g.class);
                p8.e eVar = (p8.e) gVar.a(p8.e.class);
                q7.m p11 = gVar.p(t7.a.class);
                q7.m p12 = gVar.p(n7.b.class);
                q7.m p13 = gVar.p(z8.a.class);
                ExecutorService executorService2 = (ExecutorService) gVar.e(crashlyticsRegistrar.f2009a);
                gVar2.a();
                Context context = gVar2.f3638a;
                String packageName = context.getPackageName();
                String str5 = "FirebaseCrashlytics";
                Log.i("FirebaseCrashlytics", "Initializing Firebase Crashlytics 19.1.0 for " + packageName, null);
                b8.e eVar2 = new b8.e(context);
                c4.d dVar = new c4.d(gVar2);
                w7.x xVar = new w7.x(context, packageName, eVar, dVar);
                t7.a aVar = new t7.a(p11);
                a3.b bVar4 = new a3.b(p12);
                ExecutorService a10 = w7.i.a("Crashlytics Exception Handler");
                w7.k kVar = new w7.k(dVar, eVar2);
                c9.c cVar2 = c9.c.f1563a;
                c9.d dVar2 = c9.d.f1565q;
                c9.c cVar3 = c9.c.f1563a;
                c9.a a11 = c9.c.a(dVar2);
                if (a11.f1555b != null) {
                    dVar2.toString();
                } else {
                    a11.f1555b = kVar;
                    dVar2.toString();
                    a11.f1554a.e(null);
                }
                w7.r rVar2 = new w7.r(gVar2, xVar, aVar, dVar, new s7.a(bVar4), new s7.a(bVar4), eVar2, a10, kVar, new o7.b(5, p13));
                gVar2.a();
                String str6 = gVar2.f3640c.f3653b;
                int e9 = w7.i.e(context, "com.google.firebase.crashlytics.mapping_file_id", "string");
                if (e9 == 0) {
                    e9 = w7.i.e(context, "com.crashlytics.android.build_id", "string");
                }
                String string = e9 != 0 ? context.getResources().getString(e9) : null;
                ArrayList arrayList2 = new ArrayList();
                int e10 = w7.i.e(context, lexQujQDcd.TTRHSyywbuVer, "array");
                int e11 = w7.i.e(context, "com.google.firebase.crashlytics.build_ids_arch", "array");
                int e12 = w7.i.e(context, "com.google.firebase.crashlytics.build_ids_build_id", "array");
                if (e10 == 0 || e11 == 0 || e12 == 0) {
                    rVar = rVar2;
                    str = "FirebaseCrashlytics";
                    j = currentTimeMillis2;
                    String.format("Could not find resources: %d %d %d", Integer.valueOf(e10), Integer.valueOf(e11), Integer.valueOf(e12));
                } else {
                    String[] stringArray = context.getResources().getStringArray(e10);
                    String[] stringArray2 = context.getResources().getStringArray(e11);
                    String[] stringArray3 = context.getResources().getStringArray(e12);
                    j = currentTimeMillis2;
                    if (stringArray.length == stringArray3.length && stringArray2.length == stringArray3.length) {
                        int i12 = 0;
                        while (i12 < stringArray3.length) {
                            arrayList2.add(new w7.f(stringArray[i12], stringArray2[i12], stringArray3[i12]));
                            i12++;
                            str5 = str5;
                            rVar2 = rVar2;
                        }
                        rVar = rVar2;
                        str = str5;
                    } else {
                        rVar = rVar2;
                        str = "FirebaseCrashlytics";
                        String.format("Lengths did not match: %d %d %d", Integer.valueOf(stringArray.length), Integer.valueOf(stringArray2.length), Integer.valueOf(stringArray3.length));
                    }
                }
                Iterator it = arrayList2.iterator();
                while (it.hasNext()) {
                    String str7 = ((w7.f) it.next()).f7736a;
                }
                k6.c cVar4 = new k6.c(context, 17);
                try {
                    String packageName2 = context.getPackageName();
                    String d11 = xVar.d();
                    PackageInfo packageInfo = context.getPackageManager().getPackageInfo(packageName2, 0);
                    if (Build.VERSION.SDK_INT >= 28) {
                        longVersionCode = packageInfo.getLongVersionCode();
                        num = Long.toString(longVersionCode);
                    } else {
                        num = Integer.toString(packageInfo.versionCode);
                    }
                    str3 = packageInfo.versionName;
                    if (str3 == null) {
                        str3 = "0.0";
                    }
                    bVar2 = new w7.b(str6, string, arrayList2, d11, packageName2, num, str3, cVar4);
                    lVar = new r7.l(executorService2);
                    s7.b bVar5 = new s7.b(3);
                    d10 = xVar.d();
                    d0Var = new v5.d0(5);
                    jVar = new a3.j(9, d0Var);
                    cVar = new v8.c(eVar2);
                    Locale locale = Locale.US;
                    jVar2 = new a3.j(t1.a.x("", str6, "/settings"), bVar5);
                    String str8 = Build.MANUFACTURER;
                    String str9 = w7.x.f7816h;
                    p10 = t1.a.p(str8.replaceAll(str9, ""), "/", Build.MODEL.replaceAll(str9, ""));
                    replaceAll = Build.VERSION.INCREMENTAL.replaceAll(str9, "");
                    replaceAll2 = Build.VERSION.RELEASE.replaceAll(str9, "");
                    int e13 = w7.i.e(context, "com.google.firebase.crashlytics.mapping_file_id", "string");
                    if (e13 == 0) {
                        e13 = w7.i.e(context, EEYY.kUAblNZyvFPjt, "string");
                    }
                    strArr = new String[]{e13 != 0 ? context.getResources().getString(e13) : null, str6, str3, num};
                    arrayList = new ArrayList();
                    i10 = 0;
                } catch (PackageManager.NameNotFoundException e14) {
                    String str10 = str;
                    Log.e(str10, zLIiXGAW.QSbfKzHNEPzn, e14);
                    bVar = null;
                    str2 = str10;
                }
                while (true) {
                    r7.l lVar3 = lVar;
                    if (i10 >= 4) {
                        Collections.sort(arrayList);
                        StringBuilder sb = new StringBuilder();
                        Iterator it2 = arrayList.iterator();
                        while (it2.hasNext()) {
                            sb.append((String) it2.next());
                        }
                        String sb2 = sb.toString();
                        d8.e eVar3 = new d8.e(str6, p10, replaceAll, replaceAll2, xVar, sb2.length() > 0 ? w7.i.i(sb2) : null, str3, num, r7.k.a(d10 == null ? 1 : 4));
                        ?? obj = new Object();
                        AtomicReference atomicReference = new AtomicReference();
                        obj.f2169h = atomicReference;
                        obj.f2170i = new AtomicReference(new y5.g());
                        obj.f2162a = context;
                        obj.f2163b = eVar3;
                        obj.f2165d = d0Var;
                        obj.f2164c = jVar;
                        obj.f2166e = cVar;
                        obj.f2167f = jVar2;
                        obj.f2168g = dVar;
                        atomicReference.set(x6.e.d(d0Var));
                        boolean equals = ((Context) obj.f2162a).getSharedPreferences("com.google.firebase.crashlytics", 0).getString("existing_instance_identifier", "").equals(((d8.e) obj.f2163b).f2176f);
                        AtomicReference atomicReference2 = (AtomicReference) obj.f2170i;
                        AtomicReference atomicReference3 = (AtomicReference) obj.f2169h;
                        if (!equals || (b4 = obj.b(1)) == null) {
                            d8.b b10 = obj.b(3);
                            if (b10 != null) {
                                atomicReference3.set(b10);
                                ((y5.g) atomicReference2.get()).c(b10);
                            }
                            c4.d dVar3 = (c4.d) obj.f2168g;
                            y5.m mVar2 = ((y5.g) dVar3.f1528v).f8871a;
                            synchronized (dVar3.f1525s) {
                                mVar = ((y5.g) dVar3.f1526t).f8871a;
                            }
                            ExecutorService executorService3 = w7.a0.f7721a;
                            y5.g gVar3 = new y5.g();
                            w7.z zVar = new w7.z(0, gVar3);
                            lVar2 = lVar3;
                            mVar2.d(lVar2, zVar);
                            mVar.d(lVar2, zVar);
                            j6 = gVar3.f8871a.j(lVar2, new v8.c(8, (Object) obj));
                        } else {
                            atomicReference3.set(b4);
                            ((y5.g) atomicReference2.get()).c(b4);
                            j6 = i7.a.i(null);
                            lVar2 = lVar3;
                        }
                        j6.d(lVar2, new n8.e(23));
                        w7.r rVar3 = rVar;
                        t2.h hVar = rVar3.f7794m;
                        b8.e eVar4 = rVar3.f7791i;
                        Context context2 = rVar3.f7783a;
                        if (context2 != null && (resources = context2.getResources()) != null) {
                            int e15 = w7.i.e(context2, "com.crashlytics.RequireBuildId", "bool");
                            if (e15 > 0) {
                                z2 = resources.getBoolean(e15);
                            } else {
                                int e16 = w7.i.e(context2, "com.crashlytics.RequireBuildId", "string");
                                if (e16 > 0) {
                                    z2 = Boolean.parseBoolean(context2.getString(e16));
                                }
                            }
                            if (z2) {
                                bVar3 = bVar2;
                            } else {
                                bVar3 = bVar2;
                                if (TextUtils.isEmpty(bVar3.f7723b)) {
                                    String str11 = str;
                                    Log.e(str11, ".");
                                    Log.e(str11, ".     |  | ");
                                    Log.e(str11, ".     |  |");
                                    Log.e(str11, ".     |  |");
                                    Log.e(str11, ".   \\ |  | /");
                                    Log.e(str11, JkEzJnEnT.Mwmj);
                                    Log.e(str11, ".     \\  /");
                                    Log.e(str11, ".      \\/");
                                    Log.e(str11, ".");
                                    Log.e(str11, "The Crashlytics build ID is missing. This occurs when the Crashlytics Gradle plugin is missing from your app's build configuration. Please review the Firebase Crashlytics onboarding instructions at https://firebase.google.com/docs/crashlytics/get-started?platform=android#add-plugin");
                                    Log.e(str11, ".");
                                    Log.e(str11, ".      /\\");
                                    Log.e(str11, ".     /  \\");
                                    Log.e(str11, ".    /    \\");
                                    Log.e(str11, ".   / |  | \\");
                                    Log.e(str11, ".     |  |");
                                    Log.e(str11, ".     |  |");
                                    Log.e(str11, ".     |  |");
                                    Log.e(str11, ".");
                                    throw new IllegalStateException("The Crashlytics build ID is missing. This occurs when the Crashlytics Gradle plugin is missing from your app's build configuration. Please review the Firebase Crashlytics onboarding instructions at https://firebase.google.com/docs/crashlytics/get-started?platform=android#add-plugin");
                                }
                            }
                            String str12 = new w7.g().f7741a;
                            int i13 = 29;
                            rVar3.f7788f = new k6.c("crash_marker", i13, eVar4);
                            rVar3.f7787e = new k6.c("initialization_marker", i13, eVar4);
                            b8.e eVar5 = new b8.e(str12, eVar4, hVar);
                            x7.e eVar6 = new x7.e(eVar4);
                            j4 j4Var = new j4(new e8.a[]{new n8.e(6)});
                            o7.b bVar6 = rVar3.f7797p;
                            bVar6.getClass();
                            ((q7.m) bVar6.f5125r).a(new l(11, new t7.b(eVar5)));
                            rVar3.f7789g = new w7.o(rVar3.f7783a, rVar3.f7794m, rVar3.f7790h, rVar3.f7784b, rVar3.f7791i, rVar3.f7788f, bVar3, eVar5, eVar6, b5.g.m(rVar3.f7783a, rVar3.f7790h, rVar3.f7791i, bVar3, eVar6, eVar5, j4Var, obj, rVar3.f7785c, rVar3.f7795n), rVar3.f7796o, rVar3.f7792k, rVar3.f7795n);
                            k6.c cVar5 = rVar3.f7787e;
                            String str13 = (String) cVar5.f3901r;
                            b8.e eVar7 = (b8.e) cVar5.f3902s;
                            eVar7.getClass();
                            exists = new File((File) eVar7.f1104s, str13).exists();
                            Boolean.TRUE.equals((Boolean) w7.a0.a(hVar.g(new w7.q(rVar3, 1))));
                            w7.o oVar = rVar3.f7789g;
                            Thread.UncaughtExceptionHandler defaultUncaughtExceptionHandler = Thread.getDefaultUncaughtExceptionHandler();
                            oVar.getClass();
                            oVar.f7768e.g(new a3.p(oVar, 5, str12));
                            str4 = new n2.k(13, oVar);
                            w7.t tVar = new w7.t(str4, obj, defaultUncaughtExceptionHandler, oVar.j);
                            oVar.f7776n = tVar;
                            Thread.setDefaultUncaughtExceptionHandler(tVar);
                            executorService = rVar3.f7793l;
                            if (exists || (context2.checkCallingOrSelfPermission("android.permission.ACCESS_NETWORK_STATE") == 0 && ((activeNetworkInfo = ((ConnectivityManager) context2.getSystemService("connectivity")).getActiveNetworkInfo()) == null || !activeNetworkInfo.isConnectedOrConnecting()))) {
                                str4 = str;
                                a3.p pVar = new a3.p(rVar3, 6, obj);
                                ExecutorService executorService4 = w7.a0.f7721a;
                                executorService.execute(new f1.k(pVar, executorService, new y5.g(), 1));
                                bVar = new s7.b(0);
                                str2 = str4;
                                currentTimeMillis = System.currentTimeMillis() - j;
                                if (currentTimeMillis > 30) {
                                    Log.i(str2, "Initializing Crashlytics blocked main for " + currentTimeMillis + " ms", null);
                                }
                                return bVar;
                            }
                            executorService.submit(new i2(rVar3, 8, (Object) obj)).get(3L, TimeUnit.SECONDS);
                            str4 = str;
                            bVar = new s7.b(0);
                            str2 = str4;
                            currentTimeMillis = System.currentTimeMillis() - j;
                            if (currentTimeMillis > 30) {
                            }
                            return bVar;
                        }
                        z2 = true;
                        if (z2) {
                        }
                        String str122 = new w7.g().f7741a;
                        int i132 = 29;
                        rVar3.f7788f = new k6.c("crash_marker", i132, eVar4);
                        rVar3.f7787e = new k6.c("initialization_marker", i132, eVar4);
                        b8.e eVar52 = new b8.e(str122, eVar4, hVar);
                        x7.e eVar62 = new x7.e(eVar4);
                        j4 j4Var2 = new j4(new e8.a[]{new n8.e(6)});
                        o7.b bVar62 = rVar3.f7797p;
                        bVar62.getClass();
                        ((q7.m) bVar62.f5125r).a(new l(11, new t7.b(eVar52)));
                        rVar3.f7789g = new w7.o(rVar3.f7783a, rVar3.f7794m, rVar3.f7790h, rVar3.f7784b, rVar3.f7791i, rVar3.f7788f, bVar3, eVar52, eVar62, b5.g.m(rVar3.f7783a, rVar3.f7790h, rVar3.f7791i, bVar3, eVar62, eVar52, j4Var2, obj, rVar3.f7785c, rVar3.f7795n), rVar3.f7796o, rVar3.f7792k, rVar3.f7795n);
                        k6.c cVar52 = rVar3.f7787e;
                        String str132 = (String) cVar52.f3901r;
                        b8.e eVar72 = (b8.e) cVar52.f3902s;
                        eVar72.getClass();
                        exists = new File((File) eVar72.f1104s, str132).exists();
                        Boolean.TRUE.equals((Boolean) w7.a0.a(hVar.g(new w7.q(rVar3, 1))));
                        w7.o oVar2 = rVar3.f7789g;
                        Thread.UncaughtExceptionHandler defaultUncaughtExceptionHandler2 = Thread.getDefaultUncaughtExceptionHandler();
                        oVar2.getClass();
                        oVar2.f7768e.g(new a3.p(oVar2, 5, str122));
                        str4 = new n2.k(13, oVar2);
                        w7.t tVar2 = new w7.t(str4, obj, defaultUncaughtExceptionHandler2, oVar2.j);
                        oVar2.f7776n = tVar2;
                        Thread.setDefaultUncaughtExceptionHandler(tVar2);
                        executorService = rVar3.f7793l;
                        if (exists) {
                        }
                        str4 = str;
                        a3.p pVar2 = new a3.p(rVar3, 6, obj);
                        ExecutorService executorService42 = w7.a0.f7721a;
                        executorService.execute(new f1.k(pVar2, executorService, new y5.g(), 1));
                        bVar = new s7.b(0);
                        str2 = str4;
                        currentTimeMillis = System.currentTimeMillis() - j;
                        if (currentTimeMillis > 30) {
                        }
                        return bVar;
                    }
                    String str14 = strArr[i10];
                    String[] strArr2 = strArr;
                    if (str14 != null) {
                        arrayList.add(str14.replace("-", "").toLowerCase(Locale.US));
                    }
                    i10++;
                    lVar = lVar3;
                    strArr = strArr2;
                }
                break;
        }
    }

    @Override
    public y5.m n(Object obj) {
        return i7.a.i((x8.h) this.f1010r);
    }
}