导航菜单

页面标题

页面副标题

CashVia v1.6.02 - d.java 源代码

正在查看: CashVia v1.6.02 应用的 d.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package L0;

import D2.x;
import E0.g;
import J0.C0020f;
import J0.t;
import X0.e;
import a.AbstractC0023a;
import a3d20241011.M;
import android.accounts.Account;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.os.Looper;
import com.google.android.gms.auth.api.signin.GoogleSignInOptions;
import com.xy.credyclub.view.WebActivity;
import g1.j;
import g1.k;
import g1.o;
import g1.p;
import java.security.cert.X509Certificate;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
import java.util.concurrent.Callable;
import java.util.concurrent.CancellationException;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.Executor;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.TimeoutException;
import java.util.logging.Logger;
import kotlin.collections.ArraysKt;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.StringCompanionObject;
import r1.f;
import r1.h;
import r1.i;
import r1.q;
import t3.l;
import y0.C0380a;

public final class d {

    public final int f559a;

    public d(int i2) {
        this.f559a = i2;
    }

    public static float a(float f2) {
        return f2 <= 0.04045f ? f2 / 12.92f : (float) Math.pow((f2 + 0.055f) / 1.055f, 2.4000000953674316d);
    }

    public static float b(float f2) {
        return f2 <= 0.0031308f ? f2 * 12.92f : (float) ((Math.pow(f2, 0.4166666567325592d) * 1.0549999475479126d) - 0.054999999701976776d);
    }

    public static final void c(i3.a aVar, i3.c cVar, String str) {
        i3.d.h.getClass();
        Logger logger = i3.d.j;
        StringBuilder sb = new StringBuilder();
        sb.append(cVar.b);
        sb.append(' ');
        StringCompanionObject stringCompanionObject = StringCompanionObject.INSTANCE;
        String format = String.format("%-22s", Arrays.copyOf(new Object[]{str}, 1));
        Intrinsics.checkNotNullExpressionValue(format, "format(format, *args)");
        sb.append(format);
        sb.append(": ");
        sb.append(aVar.a);
        logger.fine(sb.toString());
    }

    public static Object d(p pVar) {
        t.h("Must not be called on the main application thread");
        t.g();
        if (pVar.i()) {
            return v(pVar);
        }
        g gVar = new g(14);
        Executor executor = j.f3903b;
        pVar.c(executor, gVar);
        pVar.b(executor, gVar);
        pVar.a(executor, gVar);
        ((CountDownLatch) gVar.f147b).await();
        return v(pVar);
    }

    public static Object e(p pVar, TimeUnit timeUnit) {
        t.h("Must not be called on the main application thread");
        t.g();
        t.j(pVar, "Task must not be null");
        t.j(timeUnit, "TimeUnit must not be null");
        if (pVar.i()) {
            return v(pVar);
        }
        g gVar = new g(14);
        Executor executor = j.f3903b;
        pVar.c(executor, gVar);
        pVar.b(executor, gVar);
        pVar.a(executor, gVar);
        if (((CountDownLatch) gVar.f147b).await(30000L, timeUnit)) {
            return v(pVar);
        }
        throw new TimeoutException("Timed out waiting for Task");
    }

    public static p j(Executor executor, Callable callable) {
        t.j(executor, "Executor must not be null");
        p pVar = new p();
        executor.execute(new l1.a(26, pVar, callable));
        return pVar;
    }

    public static void k(int i2, String str) {
        if (i2 >= 0) {
            return;
        }
        StringBuilder sb = new StringBuilder(str.length() + 40);
        sb.append(str);
        sb.append(" cannot be negative but was: ");
        sb.append(i2);
        throw new IllegalArgumentException(sb.toString());
    }

    public static android.graphics.Bitmap l(android.graphics.drawable.Drawable r5, android.graphics.Bitmap.Config r6, G.h r7, G.g r8, boolean r9) {
        throw new UnsupportedOperationException("Method not decompiled: L0.d.l(android.graphics.drawable.Drawable, android.graphics.Bitmap$Config, G.h, G.g, boolean):android.graphics.Bitmap");
    }

    public static void m(ArrayList arrayList) {
        HashMap hashMap = new HashMap(arrayList.size());
        Iterator it = arrayList.iterator();
        while (true) {
            int i2 = 0;
            if (!it.hasNext()) {
                Iterator it2 = hashMap.values().iterator();
                while (it2.hasNext()) {
                    for (f fVar : (Set) it2.next()) {
                        for (h hVar : fVar.a.c) {
                            if (hVar.c == 0) {
                                Set<f> set = (Set) hashMap.get(new r1.g(hVar.a, hVar.b == 2));
                                if (set != null) {
                                    for (f fVar2 : set) {
                                        fVar.b.add(fVar2);
                                        fVar2.c.add(fVar);
                                    }
                                }
                            }
                        }
                    }
                }
                HashSet hashSet = new HashSet();
                Iterator it3 = hashMap.values().iterator();
                while (it3.hasNext()) {
                    hashSet.addAll((Set) it3.next());
                }
                HashSet hashSet2 = new HashSet();
                Iterator it4 = hashSet.iterator();
                while (it4.hasNext()) {
                    f fVar3 = (f) it4.next();
                    if (fVar3.c.isEmpty()) {
                        hashSet2.add(fVar3);
                    }
                }
                while (!hashSet2.isEmpty()) {
                    f fVar4 = (f) hashSet2.iterator().next();
                    hashSet2.remove(fVar4);
                    i2++;
                    Iterator it5 = fVar4.b.iterator();
                    while (it5.hasNext()) {
                        f fVar5 = (f) it5.next();
                        fVar5.c.remove(fVar4);
                        if (fVar5.c.isEmpty()) {
                            hashSet2.add(fVar5);
                        }
                    }
                }
                if (i2 == arrayList.size()) {
                    return;
                }
                ArrayList arrayList2 = new ArrayList();
                Iterator it6 = hashSet.iterator();
                while (it6.hasNext()) {
                    f fVar6 = (f) it6.next();
                    if (!fVar6.c.isEmpty() && !fVar6.b.isEmpty()) {
                        arrayList2.add(fVar6.a);
                    }
                }
                throw new i(arrayList2);
            }
            r1.a aVar = (r1.a) it.next();
            f fVar7 = new f(aVar);
            for (q qVar : aVar.b) {
                boolean z2 = !(aVar.e == 0);
                r1.g gVar = new r1.g(qVar, z2);
                if (!hashMap.containsKey(gVar)) {
                    hashMap.put(gVar, new HashSet());
                }
                Set set2 = (Set) hashMap.get(gVar);
                if (!set2.isEmpty() && !z2) {
                    throw new IllegalArgumentException("Multiple components provide " + qVar + ".");
                }
                set2.add(fVar7);
            }
        }
    }

    public static int n(float f2, int i2, int i3) {
        if (i2 == i3) {
            return i2;
        }
        float f3 = ((i2 >> 24) & 255) / 255.0f;
        float f4 = ((i3 >> 24) & 255) / 255.0f;
        float a2 = a(((i2 >> 16) & 255) / 255.0f);
        float a3 = a(((i2 >> 8) & 255) / 255.0f);
        float a4 = a((i2 & 255) / 255.0f);
        float a5 = a(((i3 >> 16) & 255) / 255.0f);
        float a6 = a(((i3 >> 8) & 255) / 255.0f);
        float a7 = a((i3 & 255) / 255.0f);
        float b2 = M.b(f4, f3, f2, f3);
        float b3 = M.b(a5, a2, f2, a2);
        float b4 = M.b(a6, a3, f2, a3);
        float b5 = M.b(a7, a4, f2, a4);
        float b6 = b(b3) * 255.0f;
        float b7 = b(b4) * 255.0f;
        return Math.round(b(b5) * 255.0f) | (Math.round(b6) << 16) | (Math.round(b2 * 255.0f) << 24) | (Math.round(b7) << 8);
    }

    public static p o(Object obj) {
        p pVar = new p();
        pVar.p(obj);
        return pVar;
    }

    public static final String p(long j2) {
        String k2 = j2 <= -999500000 ? kotlin.collections.a.k(new StringBuilder(), (j2 - 500000000) / 1000000000, " s ") : j2 <= -999500 ? kotlin.collections.a.k(new StringBuilder(), (j2 - 500000) / 1000000, " ms") : j2 <= 0 ? kotlin.collections.a.k(new StringBuilder(), (j2 - 500) / 1000, " µs") : j2 < 999500 ? kotlin.collections.a.k(new StringBuilder(), (j2 + 500) / 1000, " µs") : j2 < 999500000 ? kotlin.collections.a.k(new StringBuilder(), (j2 + 500000) / 1000000, " ms") : kotlin.collections.a.k(new StringBuilder(), (j2 + 500000000) / 1000000000, " s ");
        StringCompanionObject stringCompanionObject = StringCompanionObject.INSTANCE;
        String format = String.format("%6s", Arrays.copyOf(new Object[]{k2}, 1));
        Intrinsics.checkNotNullExpressionValue(format, "format(format, *args)");
        return format;
    }

    public static final m1.g q() {
        Intrinsics.checkNotNullParameter(m1.c.b, "<this>");
        m1.g c2 = m1.g.c();
        Intrinsics.checkNotNullExpressionValue(c2, "getInstance()");
        return c2;
    }

    public static String r(X509Certificate x509Certificate) {
        Intrinsics.checkNotNullParameter(x509Certificate, "certificate");
        if (!(x509Certificate instanceof X509Certificate)) {
            throw new IllegalArgumentException("Certificate pinning requires X509 certificates".toString());
        }
        StringBuilder sb = new StringBuilder("sha256/");
        Intrinsics.checkNotNullParameter(x509Certificate, "<this>");
        l lVar = l.d;
        byte[] encoded = x509Certificate.getPublicKey().getEncoded();
        Intrinsics.checkNotNullExpressionValue(encoded, "publicKey.encoded");
        Intrinsics.checkNotNullParameter(encoded, "<this>");
        Intrinsics.checkNotNullParameter(encoded, "<this>");
        int length = encoded.length;
        AbstractC0023a.d(encoded.length, 0, length);
        sb.append(new l(ArraysKt.copyOfRange(encoded, 0, length)).c("SHA-256").a());
        return sb.toString();
    }

    public static void s(Context context, String str, String str2) {
        Intrinsics.checkNotNullParameter(context, "context");
        Intrinsics.checkNotNullParameter(str, "url");
        Intent intent = new Intent(context, (Class<?>) WebActivity.class);
        intent.putExtra("url", str);
        intent.putExtra("title", str2);
        context.startActivity(intent);
    }

    public static void t(Context context) {
        Intrinsics.checkNotNullParameter(context, "context");
        s(context, "https://sites.google.com/view/cashvia-privacy-agreement/home", "Privacy Policy");
    }

    public static p u(List list) {
        if (list == null || list.isEmpty()) {
            return o(null);
        }
        Iterator it = list.iterator();
        while (it.hasNext()) {
            if (((g1.h) it.next()) == null) {
                throw new NullPointerException("null tasks are not accepted");
            }
        }
        p pVar = new p();
        k kVar = new k(list.size(), pVar);
        Iterator it2 = list.iterator();
        while (it2.hasNext()) {
            g1.h hVar = (g1.h) it2.next();
            o oVar = j.f3903b;
            hVar.c(oVar, kVar);
            hVar.b(oVar, kVar);
            hVar.a(oVar, kVar);
        }
        return pVar;
    }

    public static Object v(p pVar) {
        if (pVar.j()) {
            return pVar.g();
        }
        if (pVar.f3924d) {
            throw new CancellationException("Task is already canceled");
        }
        throw new ExecutionException(pVar.f());
    }

    public G0.c f(Context context, Looper looper, C0020f c0020f, Object obj, G0.f fVar, G0.g gVar) {
        switch (this.f559a) {
            case 1:
                e1.a aVar = (e1.a) c0020f.f488g;
                Integer num = (Integer) c0020f.f489h;
                Bundle bundle = new Bundle();
                bundle.putParcelable("com.google.android.gms.signin.internal.clientRequestedAccount", (Account) c0020f.f484c);
                if (num != null) {
                    bundle.putInt("com.google.android.gms.common.internal.ClientSettings.sessionId", num.intValue());
                }
                if (aVar != null) {
                    bundle.putBoolean("com.google.android.gms.signin.internal.offlineAccessRequested", false);
                    bundle.putBoolean("com.google.android.gms.signin.internal.idTokenRequested", false);
                    bundle.putString("com.google.android.gms.signin.internal.serverClientId", null);
                    bundle.putBoolean("com.google.android.gms.signin.internal.usePromptModeForAuthCode", true);
                    bundle.putBoolean("com.google.android.gms.signin.internal.forceCodeForRefreshToken", false);
                    bundle.putString("com.google.android.gms.signin.internal.hostedDomain", null);
                    bundle.putString("com.google.android.gms.signin.internal.logSessionId", null);
                    bundle.putBoolean("com.google.android.gms.signin.internal.waitForAccessTokenRefresh", false);
                }
                return new f1.a(context, looper, c0020f, bundle, fVar, gVar);
            case 2:
                x.p(obj);
                throw new NoSuchMethodError();
            case 3:
                return new e(context, looper, c0020f, (C0380a) obj, fVar, gVar);
            case 4:
                return new E0.c(context, looper, c0020f, (GoogleSignInOptions) obj, fVar, gVar);
            default:
                return i(context, looper, c0020f, obj, fVar, gVar);
        }
    }

    public G0.c g(Context context, Looper looper, C0020f c0020f, Object obj, G0.f fVar, G0.g gVar) {
        switch (this.f559a) {
            case 0:
                return new c(context, looper, 270, c0020f, fVar, gVar);
            default:
                return h(context, looper, c0020f, obj, fVar, gVar);
        }
    }

    public final G0.c h(Context context, Looper looper, C0020f c0020f, Object obj, G0.f fVar, G0.g gVar) {
        throw new UnsupportedOperationException("buildClient must be implemented");
    }

    public final G0.c i(Context context, Looper looper, C0020f c0020f, Object obj, G0.f fVar, G0.g gVar) {
        return g(context, looper, c0020f, obj, fVar, gVar);
    }
}