导航菜单

页面标题

页面副标题

Kickcash v16.1 - n0.java 源代码

正在查看: Kickcash v16.1 应用的 n0.java JAVA 源代码文件

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


package com.microsoft.clarity.zb;

import android.content.Context;
import android.content.Intent;
import android.content.pm.ResolveInfo;
import android.net.Uri;
import android.os.Bundle;
import android.text.TextUtils;
import android.util.Log;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.TreeSet;
import java.util.UUID;
import java.util.concurrent.atomic.AtomicBoolean;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
import org.jetbrains.annotations.NotNull;

public final class n0 {

    @NotNull
    public static final n0 a;
    private static final String b;

    @NotNull
    private static final List<e> c;

    @NotNull
    private static final List<e> d;

    @NotNull
    private static final Map<String, List<e>> e;

    @NotNull
    private static final AtomicBoolean f;

    @NotNull
    private static final Integer[] g;

    private static final class a extends e {
        @Override
        public String c() {
            return (String) g();
        }

        @Override
        @NotNull
        public String d() {
            return "com.facebook.arstudio.player";
        }

        public Void g() {
            return null;
        }
    }

    private static final class b extends e {
        @Override
        @NotNull
        public String c() {
            return "com.instagram.platform.AppAuthorizeActivity";
        }

        @Override
        @NotNull
        public String d() {
            return "com.instagram.android";
        }

        @Override
        @NotNull
        public String e() {
            return "token,signed_request,graph_domain,granted_scopes";
        }
    }

    private static final class c extends e {
        private final boolean g() {
            return com.microsoft.clarity.k8.c0.l().getApplicationInfo().targetSdkVersion >= 30;
        }

        @Override
        @NotNull
        public String c() {
            return "com.facebook.katana.ProxyAuth";
        }

        @Override
        @NotNull
        public String d() {
            return "com.facebook.katana";
        }

        @Override
        public void f() {
            if (g()) {
                Log.w(n0.c(), "Apps that target Android API 30+ (Android 11+) cannot call Facebook native apps unless the package visibility needs are declared. Please follow https://developers.facebook.com/docs/android/troubleshooting/#faq_267321845055988 to make the declaration.");
            }
        }
    }

    private static final class d extends e {
        @Override
        public String c() {
            return (String) g();
        }

        @Override
        @NotNull
        public String d() {
            return "com.facebook.orca";
        }

        public Void g() {
            return null;
        }
    }

    public static final class f {

        @NotNull
        public static final a c = new a(null);
        private e a;
        private int b;

        public static final class a {
            public a(DefaultConstructorMarker defaultConstructorMarker) {
                this();
            }

            @NotNull
            public final f a(e eVar, int i) {
                f fVar = new f(null);
                fVar.a = eVar;
                fVar.b = i;
                return fVar;
            }

            @NotNull
            public final f b() {
                f fVar = new f(null);
                fVar.b = -1;
                return fVar;
            }

            private a() {
            }
        }

        public f(DefaultConstructorMarker defaultConstructorMarker) {
            this();
        }

        public final e c() {
            return this.a;
        }

        public final int d() {
            return this.b;
        }

        private f() {
        }
    }

    private static final class g extends e {
        @Override
        @NotNull
        public String c() {
            return "com.facebook.katana.ProxyAuth";
        }

        @Override
        @NotNull
        public String d() {
            return "com.facebook.wakizashi";
        }
    }

    static {
        n0 n0Var = new n0();
        a = n0Var;
        b = n0.class.getName();
        c = n0Var.f();
        d = n0Var.e();
        e = n0Var.d();
        f = new AtomicBoolean(false);
        g = new Integer[]{20210906, 20171115, 20170417, 20170411, 20170213, 20161017, 20160327, 20150702, 20150401, 20141218, 20141107, 20141028, 20141001, 20140701, 20140324, 20140313, 20140204, 20131107, 20131024, 20130618, 20130502, 20121101};
    }

    private n0() {
    }

    public static final Bundle A(@NotNull Intent intent) {
        if (com.microsoft.clarity.ec.a.d(n0.class)) {
            return null;
        }
        try {
            Intrinsics.checkNotNullParameter(intent, "resultIntent");
            int z = z(intent);
            Bundle extras = intent.getExtras();
            if (C(z) && extras != null) {
                return extras.getBundle("com.facebook.platform.protocol.RESULT_ARGS");
            }
            return extras;
        } catch (Throwable th) {
            com.microsoft.clarity.ec.a.b(th, n0.class);
            return null;
        }
    }

    public static final boolean B(@NotNull Intent intent) {
        if (com.microsoft.clarity.ec.a.d(n0.class)) {
            return false;
        }
        try {
            Intrinsics.checkNotNullParameter(intent, "resultIntent");
            Bundle q = q(intent);
            Boolean valueOf = q == null ? null : Boolean.valueOf(q.containsKey("error"));
            return valueOf == null ? intent.hasExtra("com.facebook.platform.status.ERROR_TYPE") : valueOf.booleanValue();
        } catch (Throwable th) {
            com.microsoft.clarity.ec.a.b(th, n0.class);
            return false;
        }
    }

    public static final boolean C(int i) {
        if (com.microsoft.clarity.ec.a.d(n0.class)) {
            return false;
        }
        try {
            return com.microsoft.clarity.hr.d.w(g, Integer.valueOf(i)) && i >= 20140701;
        } catch (Throwable th) {
            com.microsoft.clarity.ec.a.b(th, n0.class);
            return false;
        }
    }

    public static final void D(@NotNull Intent intent, String str, String str2, int i, Bundle bundle) {
        if (com.microsoft.clarity.ec.a.d(n0.class)) {
            return;
        }
        try {
            Intrinsics.checkNotNullParameter(intent, "intent");
            String m = com.microsoft.clarity.k8.c0.m();
            String n = com.microsoft.clarity.k8.c0.n();
            intent.putExtra("com.facebook.platform.protocol.PROTOCOL_VERSION", i).putExtra("com.facebook.platform.protocol.PROTOCOL_ACTION", str2).putExtra("com.facebook.platform.extra.APPLICATION_ID", m);
            if (!C(i)) {
                intent.putExtra("com.facebook.platform.protocol.CALL_ID", str);
                if (!w0.Y(n)) {
                    intent.putExtra("com.facebook.platform.extra.APPLICATION_NAME", n);
                }
                if (bundle != null) {
                    intent.putExtras(bundle);
                    return;
                }
                return;
            }
            Bundle bundle2 = new Bundle();
            bundle2.putString("action_id", str);
            w0.n0(bundle2, "app_name", n);
            intent.putExtra("com.facebook.platform.protocol.BRIDGE_ARGS", bundle2);
            if (bundle == null) {
                bundle = new Bundle();
            }
            intent.putExtra("com.facebook.platform.protocol.METHOD_ARGS", bundle);
        } catch (Throwable th) {
            com.microsoft.clarity.ec.a.b(th, n0.class);
        }
    }

    public static final void E() {
        if (com.microsoft.clarity.ec.a.d(n0.class)) {
            return;
        }
        try {
            if (f.compareAndSet(false, true)) {
                com.microsoft.clarity.k8.c0.t().execute(new Runnable() {
                    @Override
                    public final void run() {
                        n0.F();
                    }
                });
            }
        } catch (Throwable th) {
            com.microsoft.clarity.ec.a.b(th, n0.class);
        }
    }

    public static final void F() {
        if (com.microsoft.clarity.ec.a.d(n0.class)) {
            return;
        }
        try {
            try {
                Iterator<e> it = c.iterator();
                while (it.hasNext()) {
                    it.next().a(true);
                }
            } finally {
                f.set(false);
            }
        } catch (Throwable th) {
            com.microsoft.clarity.ec.a.b(th, n0.class);
        }
    }

    public static final Intent G(@NotNull Context context, Intent intent, e eVar) {
        ResolveInfo resolveActivity;
        if (com.microsoft.clarity.ec.a.d(n0.class)) {
            return null;
        }
        try {
            Intrinsics.checkNotNullParameter(context, "context");
            if (intent == null || (resolveActivity = context.getPackageManager().resolveActivity(intent, 0)) == null) {
                return null;
            }
            p pVar = p.a;
            String str = resolveActivity.activityInfo.packageName;
            Intrinsics.checkNotNullExpressionValue(str, "resolveInfo.activityInfo.packageName");
            if (p.a(context, str)) {
                return intent;
            }
            return null;
        } catch (Throwable th) {
            com.microsoft.clarity.ec.a.b(th, n0.class);
            return null;
        }
    }

    public static final Intent H(@NotNull Context context, Intent intent, e eVar) {
        ResolveInfo resolveService;
        if (com.microsoft.clarity.ec.a.d(n0.class)) {
            return null;
        }
        try {
            Intrinsics.checkNotNullParameter(context, "context");
            if (intent == null || (resolveService = context.getPackageManager().resolveService(intent, 0)) == null) {
                return null;
            }
            p pVar = p.a;
            String str = resolveService.serviceInfo.packageName;
            Intrinsics.checkNotNullExpressionValue(str, "resolveInfo.serviceInfo.packageName");
            if (p.a(context, str)) {
                return intent;
            }
            return null;
        } catch (Throwable th) {
            com.microsoft.clarity.ec.a.b(th, n0.class);
            return null;
        }
    }

    public static final TreeSet b(n0 n0Var, e eVar) {
        if (com.microsoft.clarity.ec.a.d(n0.class)) {
            return null;
        }
        try {
            return n0Var.p(eVar);
        } catch (Throwable th) {
            com.microsoft.clarity.ec.a.b(th, n0.class);
            return null;
        }
    }

    public static final String c() {
        if (com.microsoft.clarity.ec.a.d(n0.class)) {
            return null;
        }
        try {
            return b;
        } catch (Throwable th) {
            com.microsoft.clarity.ec.a.b(th, n0.class);
            return null;
        }
    }

    private final Map<String, List<e>> d() {
        if (com.microsoft.clarity.ec.a.d(this)) {
            return null;
        }
        try {
            HashMap hashMap = new HashMap();
            ArrayList arrayList = new ArrayList();
            arrayList.add(new d());
            List<e> list = c;
            hashMap.put("com.facebook.platform.action.request.OGACTIONPUBLISH_DIALOG", list);
            hashMap.put("com.facebook.platform.action.request.FEED_DIALOG", list);
            hashMap.put("com.facebook.platform.action.request.LIKE_DIALOG", list);
            hashMap.put("com.facebook.platform.action.request.APPINVITES_DIALOG", list);
            hashMap.put("com.facebook.platform.action.request.MESSAGE_DIALOG", arrayList);
            hashMap.put("com.facebook.platform.action.request.OGMESSAGEPUBLISH_DIALOG", arrayList);
            hashMap.put("com.facebook.platform.action.request.CAMERA_EFFECT", d);
            hashMap.put("com.facebook.platform.action.request.SHARE_STORY", list);
            return hashMap;
        } catch (Throwable th) {
            com.microsoft.clarity.ec.a.b(th, this);
            return null;
        }
    }

    private final List<e> e() {
        if (com.microsoft.clarity.ec.a.d(this)) {
            return null;
        }
        try {
            ArrayList f2 = com.microsoft.clarity.hr.k.f(new e[]{new a()});
            f2.addAll(f());
            return f2;
        } catch (Throwable th) {
            com.microsoft.clarity.ec.a.b(th, this);
            return null;
        }
    }

    private final List<e> f() {
        if (com.microsoft.clarity.ec.a.d(this)) {
            return null;
        }
        try {
            return com.microsoft.clarity.hr.k.f(new e[]{new c(), new g()});
        } catch (Throwable th) {
            com.microsoft.clarity.ec.a.b(th, this);
            return null;
        }
    }

    private final Uri g(e eVar) {
        if (com.microsoft.clarity.ec.a.d(this)) {
            return null;
        }
        try {
            Uri parse = Uri.parse("content://" + eVar.d() + ".provider.PlatformProvider/versions");
            Intrinsics.checkNotNullExpressionValue(parse, "parse(CONTENT_SCHEME + appInfo.getPackage() + PLATFORM_PROVIDER_VERSIONS)");
            return parse;
        } catch (Throwable th) {
            com.microsoft.clarity.ec.a.b(th, this);
            return null;
        }
    }

    public static final int h(TreeSet<Integer> treeSet, int i, @NotNull int[] iArr) {
        if (com.microsoft.clarity.ec.a.d(n0.class)) {
            return 0;
        }
        try {
            Intrinsics.checkNotNullParameter(iArr, "versionSpec");
            if (treeSet == null) {
                return -1;
            }
            int length = iArr.length - 1;
            Iterator<Integer> descendingIterator = treeSet.descendingIterator();
            int i2 = -1;
            while (descendingIterator.hasNext()) {
                Integer next = descendingIterator.next();
                Intrinsics.checkNotNullExpressionValue(next, "fbAppVersion");
                i2 = Math.max(i2, next.intValue());
                while (length >= 0 && iArr[length] > next.intValue()) {
                    length--;
                }
                if (length < 0) {
                    return -1;
                }
                if (iArr[length] == next.intValue()) {
                    if (length % 2 == 0) {
                        return Math.min(i2, i);
                    }
                    return -1;
                }
            }
            return -1;
        } catch (Throwable th) {
            com.microsoft.clarity.ec.a.b(th, n0.class);
            return 0;
        }
    }

    public static final Bundle i(com.microsoft.clarity.k8.q qVar) {
        if (com.microsoft.clarity.ec.a.d(n0.class) || qVar == null) {
            return null;
        }
        try {
            Bundle bundle = new Bundle();
            bundle.putString("error_description", qVar.toString());
            if (qVar instanceof com.microsoft.clarity.k8.s) {
                bundle.putString("error_type", "UserCanceled");
            }
            return bundle;
        } catch (Throwable th) {
            com.microsoft.clarity.ec.a.b(th, n0.class);
            return null;
        }
    }

    public static final Intent j(@NotNull Context context, @NotNull String str, @NotNull Collection<String> collection, @NotNull String str2, boolean z, boolean z2, @NotNull com.microsoft.clarity.jc.d dVar, @NotNull String str3, @NotNull String str4, String str5, boolean z3, boolean z4, boolean z5) {
        if (com.microsoft.clarity.ec.a.d(n0.class)) {
            return null;
        }
        try {
            Intrinsics.checkNotNullParameter(context, "context");
            Intrinsics.checkNotNullParameter(str, "applicationId");
            Intrinsics.checkNotNullParameter(collection, "permissions");
            Intrinsics.checkNotNullParameter(str2, "e2e");
            Intrinsics.checkNotNullParameter(dVar, "defaultAudience");
            Intrinsics.checkNotNullParameter(str3, "clientState");
            Intrinsics.checkNotNullParameter(str4, "authType");
            b bVar = new b();
            return G(context, a.k(bVar, str, collection, str2, z2, dVar, str3, str4, false, str5, z3, com.microsoft.clarity.jc.x.INSTAGRAM, z4, z5, "", null, null), bVar);
        } catch (Throwable th) {
            com.microsoft.clarity.ec.a.b(th, n0.class);
            return null;
        }
    }

    private final Intent k(e eVar, String str, Collection<String> collection, String str2, boolean z, com.microsoft.clarity.jc.d dVar, String str3, String str4, boolean z2, String str5, boolean z3, com.microsoft.clarity.jc.x xVar, boolean z4, boolean z5, String str6, String str7, String str8) {
        if (com.microsoft.clarity.ec.a.d(this)) {
            return null;
        }
        try {
            String c2 = eVar.c();
            if (c2 == null) {
                return null;
            }
            Intent putExtra = new Intent().setClassName(eVar.d(), c2).putExtra("client_id", str);
            Intrinsics.checkNotNullExpressionValue(putExtra, "Intent()\n            .setClassName(appInfo.getPackage(), activityName)\n            .putExtra(FACEBOOK_PROXY_AUTH_APP_ID_KEY, applicationId)");
            putExtra.putExtra("facebook_sdk_version", com.microsoft.clarity.k8.c0.B());
            if (!w0.Z(collection)) {
                putExtra.putExtra("scope", TextUtils.join(",", collection));
            }
            if (!w0.Y(str2)) {
                putExtra.putExtra("e2e", str2);
            }
            putExtra.putExtra("state", str3);
            putExtra.putExtra("response_type", eVar.e());
            putExtra.putExtra("nonce", str6);
            putExtra.putExtra("return_scopes", "true");
            if (z) {
                putExtra.putExtra("default_audience", dVar.i());
            }
            putExtra.putExtra("legacy_override", com.microsoft.clarity.k8.c0.w());
            putExtra.putExtra("auth_type", str4);
            if (z2) {
                putExtra.putExtra("fail_on_logged_out", true);
            }
            putExtra.putExtra("messenger_page_id", str5);
            putExtra.putExtra("reset_messenger_state", z3);
            if (z4) {
                putExtra.putExtra("fx_app", xVar.toString());
            }
            if (z5) {
                putExtra.putExtra("skip_dedupe", true);
            }
            return putExtra;
        } catch (Throwable th) {
            com.microsoft.clarity.ec.a.b(th, this);
            return null;
        }
    }

    public static final Intent l(@NotNull Context context, String str, String str2, f fVar, Bundle bundle) {
        e c2;
        Intent G;
        if (com.microsoft.clarity.ec.a.d(n0.class)) {
            return null;
        }
        try {
            Intrinsics.checkNotNullParameter(context, "context");
            if (fVar == null || (c2 = fVar.c()) == null || (G = G(context, new Intent().setAction("com.facebook.platform.PLATFORM_ACTIVITY").setPackage(c2.d()).addCategory("android.intent.category.DEFAULT"), c2)) == null) {
                return null;
            }
            D(G, str, str2, fVar.d(), bundle);
            return G;
        } catch (Throwable th) {
            com.microsoft.clarity.ec.a.b(th, n0.class);
            return null;
        }
    }

    public static final Intent m(@NotNull Context context) {
        if (com.microsoft.clarity.ec.a.d(n0.class)) {
            return null;
        }
        try {
            Intrinsics.checkNotNullParameter(context, "context");
            for (e eVar : c) {
                Intent H = H(context, new Intent("com.facebook.platform.PLATFORM_SERVICE").setPackage(eVar.d()).addCategory("android.intent.category.DEFAULT"), eVar);
                if (H != null) {
                    return H;
                }
            }
            return null;
        } catch (Throwable th) {
            com.microsoft.clarity.ec.a.b(th, n0.class);
            return null;
        }
    }

    public static final Intent n(@NotNull Intent intent, Bundle bundle, com.microsoft.clarity.k8.q qVar) {
        if (com.microsoft.clarity.ec.a.d(n0.class)) {
            return null;
        }
        try {
            Intrinsics.checkNotNullParameter(intent, "requestIntent");
            UUID r = r(intent);
            if (r == null) {
                return null;
            }
            Intent intent2 = new Intent();
            intent2.putExtra("com.facebook.platform.protocol.PROTOCOL_VERSION", z(intent));
            Bundle bundle2 = new Bundle();
            bundle2.putString("action_id", r.toString());
            if (qVar != null) {
                bundle2.putBundle("error", i(qVar));
            }
            intent2.putExtra("com.facebook.platform.protocol.BRIDGE_ARGS", bundle2);
            if (bundle != null) {
                intent2.putExtra("com.facebook.platform.protocol.RESULT_ARGS", bundle);
            }
            return intent2;
        } catch (Throwable th) {
            com.microsoft.clarity.ec.a.b(th, n0.class);
            return null;
        }
    }

    @NotNull
    public static final List<Intent> o(Context context, @NotNull String str, @NotNull Collection<String> collection, @NotNull String str2, boolean z, boolean z2, @NotNull com.microsoft.clarity.jc.d dVar, @NotNull String str3, @NotNull String str4, boolean z3, String str5, boolean z4, boolean z5, boolean z6, String str6, String str7, String str8) {
        if (com.microsoft.clarity.ec.a.d(n0.class)) {
            return null;
        }
        try {
            Intrinsics.checkNotNullParameter(str, "applicationId");
            Intrinsics.checkNotNullParameter(collection, "permissions");
            Intrinsics.checkNotNullParameter(str2, "e2e");
            Intrinsics.checkNotNullParameter(dVar, "defaultAudience");
            Intrinsics.checkNotNullParameter(str3, "clientState");
            Intrinsics.checkNotNullParameter(str4, "authType");
            List<e> list = c;
            ArrayList arrayList = new ArrayList();
            Iterator<T> it = list.iterator();
            while (it.hasNext()) {
                ArrayList arrayList2 = arrayList;
                Intent k = a.k((e) it.next(), str, collection, str2, z2, dVar, str3, str4, z3, str5, z4, com.microsoft.clarity.jc.x.FACEBOOK, z5, z6, str6, str7, str8);
                if (k != null) {
                    arrayList2.add(k);
                }
                arrayList = arrayList2;
            }
            return arrayList;
        } catch (Throwable th) {
            com.microsoft.clarity.ec.a.b(th, n0.class);
            return null;
        }
    }

    private final java.util.TreeSet<java.lang.Integer> p(com.microsoft.clarity.zb.n0.e r13) {
        throw new UnsupportedOperationException("Method not decompiled: com.microsoft.clarity.zb.n0.p(com.microsoft.clarity.zb.n0$e):java.util.TreeSet");
    }

    public static final Bundle q(@NotNull Intent intent) {
        if (com.microsoft.clarity.ec.a.d(n0.class)) {
            return null;
        }
        try {
            Intrinsics.checkNotNullParameter(intent, "intent");
            if (C(z(intent))) {
                return intent.getBundleExtra("com.facebook.platform.protocol.BRIDGE_ARGS");
            }
            return null;
        } catch (Throwable th) {
            com.microsoft.clarity.ec.a.b(th, n0.class);
            return null;
        }
    }

    public static final UUID r(Intent intent) {
        String stringExtra;
        if (com.microsoft.clarity.ec.a.d(n0.class) || intent == null) {
            return null;
        }
        try {
            if (C(z(intent))) {
                Bundle bundleExtra = intent.getBundleExtra("com.facebook.platform.protocol.BRIDGE_ARGS");
                stringExtra = bundleExtra != null ? bundleExtra.getString("action_id") : null;
            } else {
                stringExtra = intent.getStringExtra("com.facebook.platform.protocol.CALL_ID");
            }
            if (stringExtra == null) {
                return null;
            }
            try {
                return UUID.fromString(stringExtra);
            } catch (IllegalArgumentException unused) {
                return null;
            }
        } catch (Throwable th) {
            com.microsoft.clarity.ec.a.b(th, n0.class);
            return null;
        }
    }

    public static final Bundle s(@NotNull Intent intent) {
        if (com.microsoft.clarity.ec.a.d(n0.class)) {
            return null;
        }
        try {
            Intrinsics.checkNotNullParameter(intent, "resultIntent");
            if (!B(intent)) {
                return null;
            }
            Bundle q = q(intent);
            return q != null ? q.getBundle("error") : intent.getExtras();
        } catch (Throwable th) {
            com.microsoft.clarity.ec.a.b(th, n0.class);
            return null;
        }
    }

    public static final com.microsoft.clarity.k8.q t(Bundle bundle) {
        if (com.microsoft.clarity.ec.a.d(n0.class) || bundle == null) {
            return null;
        }
        try {
            String string = bundle.getString("error_type");
            if (string == null) {
                string = bundle.getString("com.facebook.platform.status.ERROR_TYPE");
            }
            String string2 = bundle.getString("error_description");
            if (string2 == null) {
                string2 = bundle.getString("com.facebook.platform.status.ERROR_DESCRIPTION");
            }
            return (string == null || !kotlin.text.d.p(string, "UserCanceled", true)) ? new com.microsoft.clarity.k8.q(string2) : new com.microsoft.clarity.k8.s(string2);
        } catch (Throwable th) {
            com.microsoft.clarity.ec.a.b(th, n0.class);
            return null;
        }
    }

    @NotNull
    public static final f u(@NotNull String str, @NotNull int[] iArr) {
        if (com.microsoft.clarity.ec.a.d(n0.class)) {
            return null;
        }
        try {
            Intrinsics.checkNotNullParameter(str, "action");
            Intrinsics.checkNotNullParameter(iArr, "versionSpec");
            List<e> list = e.get(str);
            if (list == null) {
                list = com.microsoft.clarity.hr.k.j();
            }
            return a.v(list, iArr);
        } catch (Throwable th) {
            com.microsoft.clarity.ec.a.b(th, n0.class);
            return null;
        }
    }

    private final f v(List<? extends e> list, int[] iArr) {
        if (com.microsoft.clarity.ec.a.d(this)) {
            return null;
        }
        try {
            E();
            if (list == null) {
                return f.c.b();
            }
            for (e eVar : list) {
                int h = h(eVar.b(), x(), iArr);
                if (h != -1) {
                    return f.c.a(eVar, h);
                }
            }
            return f.c.b();
        } catch (Throwable th) {
            com.microsoft.clarity.ec.a.b(th, this);
            return null;
        }
    }

    public static final int w(int i) {
        if (com.microsoft.clarity.ec.a.d(n0.class)) {
            return 0;
        }
        try {
            return a.v(c, new int[]{i}).d();
        } catch (Throwable th) {
            com.microsoft.clarity.ec.a.b(th, n0.class);
            return 0;
        }
    }

    public static final int x() {
        if (com.microsoft.clarity.ec.a.d(n0.class)) {
            return 0;
        }
        try {
            return g[0].intValue();
        } catch (Throwable th) {
            com.microsoft.clarity.ec.a.b(th, n0.class);
            return 0;
        }
    }

    public static final Bundle y(@NotNull Intent intent) {
        if (com.microsoft.clarity.ec.a.d(n0.class)) {
            return null;
        }
        try {
            Intrinsics.checkNotNullParameter(intent, "intent");
            return !C(z(intent)) ? intent.getExtras() : intent.getBundleExtra("com.facebook.platform.protocol.METHOD_ARGS");
        } catch (Throwable th) {
            com.microsoft.clarity.ec.a.b(th, n0.class);
            return null;
        }
    }

    public static final int z(@NotNull Intent intent) {
        if (com.microsoft.clarity.ec.a.d(n0.class)) {
            return 0;
        }
        try {
            Intrinsics.checkNotNullParameter(intent, "intent");
            return intent.getIntExtra("com.facebook.platform.protocol.PROTOCOL_VERSION", 0);
        } catch (Throwable th) {
            com.microsoft.clarity.ec.a.b(th, n0.class);
            return 0;
        }
    }

    public static abstract class e {
        private TreeSet<Integer> a;

        public final synchronized void a(boolean r2) {
            throw new UnsupportedOperationException("Method not decompiled: com.microsoft.clarity.zb.n0.e.a(boolean):void");
        }

        public final java.util.TreeSet<java.lang.Integer> b() {
            throw new UnsupportedOperationException("Method not decompiled: com.microsoft.clarity.zb.n0.e.b():java.util.TreeSet");
        }

        public abstract String c();

        @NotNull
        public abstract String d();

        @NotNull
        public String e() {
            return "id_token,token,signed_request,graph_domain";
        }

        public void f() {
        }
    }
}