导航菜单

页面标题

页面副标题

Perplexity v2.48.1 - v.java 源代码

正在查看: Perplexity v2.48.1 应用的 v.java JAVA 源代码文件

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


package m;

import M5.T;
import M5.b0;
import Q2.C0680g;
import S5.C0763e;
import S5.C0764f;
import T4.AbstractC0821k;
import T4.AbstractC0832w;
import T4.C0815h;
import T4.C0833x;
import T4.t0;
import T4.v0;
import a.AbstractC1212a;
import ai.perplexity.app.android.assistant.action.KeyguardDismissActivity;
import ai.perplexity.app.android.assistant.settings.AssistantLanguageSettingsActivity;
import ai.perplexity.app.android.assistant.settings.AssistantLockScreenSettingsActivity;
import android.app.KeyguardManager;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import b5.AbstractC1474g;
import d.C1810q;
import d.E0;
import d.InterfaceC1790g;
import e6.C2052i;
import e6.C2053j;
import e6.C2054k;
import e6.InterfaceC2055l;
import g3.Q;
import g3.Y;
import g3.s0;
import i.AbstractC2572e;
import jk.o0;
import kotlin.Unit;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.internal.Intrinsics;
import n6.M;
import p5.V;
import p5.u1;
import qm.x;
import t5.C4115d0;
import t5.C4116e;
import t5.C4132m;
import t5.C4140q;
import t5.C4142r0;
import t5.C4157z;
import t5.InterfaceC4113c0;
import t5.InterfaceC4134n;
import t5.InterfaceC4137o0;
import t5.b1;

public final class v implements InterfaceC1790g {

    public final Context f35782a;

    public final C0680g f35783b;

    public v(Context context, C0680g c0680g) {
        Intrinsics.h(context, "context");
        this.f35782a = context;
        this.f35783b = c0680g;
    }

    @Override
    public final InterfaceC4113c0 a() {
        return null;
    }

    @Override
    public final void b(InterfaceC4134n interfaceC4134n, int i10) {
        C2052i c2052i;
        C4140q c4140q;
        float f4;
        final v vVar = this;
        final int i11 = 0;
        C4140q c4140q2 = (C4140q) interfaceC4134n;
        c4140q2.c0(-950111747);
        if (((i10 | (c4140q2.i(vVar) ? 4 : 2)) & 3) == 2 && c4140q2.E()) {
            c4140q2.T();
            c4140q = c4140q2;
        } else {
            F5.o oVar = F5.o.f2901w;
            float f10 = 12;
            F5.r b6 = androidx.compose.foundation.a.b(wn.b.A(androidx.compose.foundation.layout.a.m(oVar, 16), AbstractC1474g.b(f10)), AbstractC1212a.Q(c4140q2), T.f8870a);
            C0833x a4 = AbstractC0832w.a(AbstractC0821k.f13794c, F5.b.f2886m, c4140q2, 0);
            int i12 = c4140q2.f41819P;
            InterfaceC4137o0 n5 = c4140q2.n();
            F5.r c10 = F5.a.c(b6, c4140q2);
            InterfaceC2055l.f27109U.getClass();
            C2053j c2053j = C2054k.f27100b;
            c4140q2.e0();
            if (c4140q2.f41818O) {
                c4140q2.m(c2053j);
            } else {
                c4140q2.n0();
            }
            C2052i c2052i2 = C2054k.f27105g;
            C4116e.J(a4, c2052i2, c4140q2);
            C2052i c2052i3 = C2054k.f27104f;
            C4116e.J(n5, c2052i3, c4140q2);
            C2052i c2052i4 = C2054k.f27108j;
            if (c4140q2.f41818O || !Intrinsics.c(c4140q2.P(), Integer.valueOf(i12))) {
                com.mapbox.common.location.e.w(i12, c4140q2, i12, c2052i4);
            }
            C2052i c2052i5 = C2054k.f27102d;
            C4116e.J(c10, c2052i5, c4140q2);
            c4140q2.a0(5004770);
            boolean i13 = c4140q2.i(vVar);
            Object P10 = c4140q2.P();
            C4115d0 c4115d0 = C4132m.f41786a;
            if (i13 || P10 == c4115d0) {
                P10 = new Function0(vVar) {

                    public final v f35781x;

                    {
                        this.f35781x = vVar;
                    }

                    public final Object invoke() {
                        switch (i11) {
                            case 0:
                                v vVar2 = this.f35781x;
                                Intent intent = new Intent(vVar2.f35782a, (Class<?>) AssistantLanguageSettingsActivity.class);
                                intent.addFlags(268435456);
                                vVar2.f35782a.startActivity(intent);
                                vVar2.f35783b.invoke();
                                break;
                            case 1:
                                v vVar3 = this.f35781x;
                                Intent intent2 = new Intent(vVar3.f35782a, (Class<?>) AssistantLockScreenSettingsActivity.class);
                                intent2.addFlags(268435456);
                                vVar3.f35782a.startActivity(intent2);
                                vVar3.f35783b.invoke();
                                break;
                            default:
                                Intent intent3 = new Intent("android.intent.action.VIEW");
                                intent3.addFlags(268435456);
                                intent3.setData(Uri.parse("https://perplexity.ai/assistant/capabilities"));
                                v vVar4 = this.f35781x;
                                vVar4.f35782a.startActivity(intent3);
                                vVar4.f35783b.invoke();
                                break;
                        }
                        return Unit.a;
                    }
                };
                c4140q2.k0(P10);
            }
            c4140q2.r(false);
            F5.r c11 = androidx.compose.foundation.c.c(oVar, false, null, (Function0) P10, 7);
            c4140q2.a0(1849434622);
            Object P11 = c4140q2.P();
            if (P11 == c4115d0) {
                P11 = new o0(19);
                c4140q2.k0(P11);
            }
            c4140q2.r(false);
            F5.r b10 = l6.l.b(c11, false, (Function1) P11);
            float f11 = 24;
            F5.r e10 = androidx.compose.foundation.layout.c.e(androidx.compose.foundation.layout.a.n(b10, f10, f11), 1.0f);
            float f12 = 8;
            C0815h h10 = AbstractC0821k.h(f12);
            F5.h hVar = F5.b.f2884k;
            v0 b11 = t0.b(h10, hVar, c4140q2, 54);
            int i14 = c4140q2.f41819P;
            InterfaceC4137o0 n10 = c4140q2.n();
            F5.r c12 = F5.a.c(e10, c4140q2);
            c4140q2.e0();
            F5.h hVar2 = hVar;
            if (c4140q2.f41818O) {
                c4140q2.m(c2053j);
            } else {
                c4140q2.n0();
            }
            C4116e.J(b11, c2052i2, c4140q2);
            C4116e.J(n10, c2052i3, c4140q2);
            if (c4140q2.f41818O || !Intrinsics.c(c4140q2.P(), Integer.valueOf(i14))) {
                com.mapbox.common.location.e.w(i14, c4140q2, i14, c2052i4);
            }
            C4116e.J(c12, c2052i5, c4140q2);
            C0764f c0764f = Y.f29581c;
            if (c0764f != null) {
                c2052i = c2052i4;
            } else {
                float f13 = (float) 24.0d;
                C0763e c0763e = new C0763e("Language2", f13, f13, 24.0f, 24.0f, 0L, 0, false, 224);
                b0 b0Var = new b0(T.e(4294769913L));
                C9.c g10 = AbstractC2572e.g(2.4f, 5.1997f);
                g10.u(1.0762f, 5.1997f, 0.0f, 6.276f, 0.0f, 7.5997f);
                g10.O(17.1997f);
                g10.u(0.0f, 18.5235f, 1.0762f, 19.5997f, 2.4f, 19.5997f);
                g10.B(10.2f);
                g10.B(11.4f);
                g10.B(12.0f);
                g10.B(21.6f);
                g10.u(22.9238f, 19.5997f, 24.0f, 18.5235f, 24.0f, 17.1997f);
                g10.O(7.5997f);
                g10.u(24.0f, 6.276f, 22.9238f, 5.1997f, 21.6f, 5.1997f);
                g10.B(12.0f);
                g10.B(11.4f);
                g10.B(10.2f);
                g10.B(2.4f);
                g10.s();
                g10.F(21.6f, 6.9997f);
                g10.u(21.93f, 6.9997f, 22.2f, 7.2697f, 22.2f, 7.5997f);
                g10.O(17.1997f);
                g10.u(22.2f, 17.5297f, 21.93f, 17.7997f, 21.6f, 17.7997f);
                g10.B(12.0f);
                g10.O(6.9997f);
                g10.B(21.6f);
                g10.s();
                g10.F(6.6863f, 9.396f);
                c2052i = c2052i4;
                g10.D(9.0863f, 14.796f);
                g10.u(9.255f, 15.1747f, 9.0825f, 15.6172f, 8.7037f, 15.786f);
                g10.u(8.325f, 15.9547f, 7.8825f, 15.7822f, 7.7137f, 15.4035f);
                g10.D(7.38f, 14.6497f);
                g10.B(4.62f);
                g10.D(4.2863f, 15.4035f);
                g10.u(4.1175f, 15.7822f, 3.675f, 15.951f, 3.2963f, 15.786f);
                g10.u(2.9175f, 15.621f, 2.7487f, 15.1747f, 2.9137f, 14.796f);
                g10.D(5.3137f, 9.396f);
                g10.u(5.4338f, 9.126f, 5.7038f, 8.9497f, 6.0f, 8.9497f);
                g10.u(6.2962f, 8.9497f, 6.5662f, 9.126f, 6.6863f, 9.396f);
                g10.s();
                g10.F(6.7125f, 13.1497f);
                g10.D(6.0f, 11.5447f);
                g10.D(5.2875f, 13.1497f);
                g10.B(6.7125f);
                g10.s();
                g10.F(17.1f, 8.9497f);
                g10.u(16.6875f, 8.9497f, 16.35f, 9.2872f, 16.35f, 9.6997f);
                g10.O(9.8497f);
                g10.B(14.4f);
                g10.u(13.9875f, 9.8497f, 13.65f, 10.1872f, 13.65f, 10.5997f);
                g10.u(13.65f, 11.0122f, 13.9875f, 11.3497f, 14.4f, 11.3497f);
                g10.B(17.1f);
                g10.B(18.4163f);
                g10.u(18.1425f, 11.976f, 17.7638f, 12.546f, 17.2987f, 13.0372f);
                g10.D(17.28f, 13.0185f);
                g10.D(16.7325f, 12.471f);
                g10.u(16.44f, 12.1785f, 15.9638f, 12.1785f, 15.6713f, 12.471f);
                g10.u(15.3788f, 12.7635f, 15.3788f, 13.2397f, 15.6713f, 13.5322f);
                g10.D(16.125f, 13.986f);
                g10.u(15.9038f, 14.121f, 15.6713f, 14.2447f, 15.4313f, 14.3535f);
                g10.D(15.2963f, 14.4135f);
                g10.u(14.9175f, 14.5822f, 14.7488f, 15.0247f, 14.9138f, 15.4035f);
                g10.u(15.0788f, 15.7822f, 15.525f, 15.951f, 15.9038f, 15.786f);
                g10.D(16.0388f, 15.726f);
                g10.u(16.4888f, 15.5272f, 16.9163f, 15.2835f, 17.3138f, 14.9985f);
                g10.u(17.475f, 15.111f, 17.6362f, 15.216f, 17.805f, 15.3172f);
                g10.D(18.5138f, 15.741f);
                g10.u(18.87f, 15.9547f, 19.3312f, 15.8385f, 19.5413f, 15.4822f);
                g10.u(19.7512f, 15.126f, 19.6388f, 14.6647f, 19.2825f, 14.4547f);
                g10.D(18.5737f, 14.031f);
                g10.u(18.54f, 14.0122f, 18.5063f, 13.9897f, 18.4725f, 13.971f);
                g10.u(19.1175f, 13.266f, 19.6238f, 12.4372f, 19.9575f, 11.5185f);
                g10.D(20.025f, 11.3497f);
                g10.B(20.1f);
                g10.u(20.5125f, 11.3497f, 20.85f, 11.0122f, 20.85f, 10.5997f);
                g10.u(20.85f, 10.1872f, 20.5125f, 9.8497f, 20.1f, 9.8497f);
                g10.B(19.5f);
                g10.B(17.85f);
                g10.O(9.6997f);
                g10.u(17.85f, 9.2872f, 17.5125f, 8.9497f, 17.1f, 8.9497f);
                g10.s();
                C0763e.b(c0763e, g10.f1088b, 0, b0Var, 1.0f, null, 1.0f, 0.0f, 0, 0, 4.0f);
                c0764f = c0763e.c();
                Y.f29581c = c0764f;
            }
            V.b(c0764f, null, androidx.compose.foundation.layout.c.r(oVar, f11), AbstractC1212a.Y(c4140q2), c4140q2, 432, 0);
            c4140q = c4140q2;
            C4157z c4157z = d.r.f25645a;
            String f14 = ((C1810q) c4140q.l(c4157z)).f(2132017411);
            c4140q.a0(1751171971);
            b1 b1Var = b0.d.f22000c;
            M a10 = ((b0.n) c4140q.l(b1Var)).a(c4140q);
            c4140q.r(false);
            u1.b(f14, null, AbstractC1212a.Y(c4140q), 0L, null, 0L, null, null, 0L, 0, false, 0, 0, null, a10, c4140q, 0, 0, 65530);
            Object j10 = com.mapbox.common.location.e.j(1849434622, c4140q, true);
            if (j10 == c4115d0) {
                KeyguardDismissActivity keyguardDismissActivity = KeyguardDismissActivity.f19501y;
                Context context = vVar.f35782a;
                Intrinsics.h(context, "<this>");
                KeyguardManager keyguardManager = (KeyguardManager) context.getSystemService(KeyguardManager.class);
                j10 = Boolean.valueOf(keyguardManager != null && keyguardManager.isDeviceLocked());
                c4140q.k0(j10);
            }
            boolean booleanValue = ((Boolean) j10).booleanValue();
            c4140q.r(false);
            c4140q.a0(-902900112);
            if (booleanValue) {
                f4 = f10;
            } else {
                Ib.o.g(0.0f, 0, 5, AbstractC1212a.S(c4140q), (F5.r) null, c4140q);
                c4140q.a0(5004770);
                boolean i15 = c4140q.i(vVar);
                Object P12 = c4140q.P();
                if (i15 || P12 == c4115d0) {
                    final int i16 = 1;
                    P12 = new Function0(vVar) {

                        public final v f35781x;

                        {
                            this.f35781x = vVar;
                        }

                        public final Object invoke() {
                            switch (i16) {
                                case 0:
                                    v vVar2 = this.f35781x;
                                    Intent intent = new Intent(vVar2.f35782a, (Class<?>) AssistantLanguageSettingsActivity.class);
                                    intent.addFlags(268435456);
                                    vVar2.f35782a.startActivity(intent);
                                    vVar2.f35783b.invoke();
                                    break;
                                case 1:
                                    v vVar3 = this.f35781x;
                                    Intent intent2 = new Intent(vVar3.f35782a, (Class<?>) AssistantLockScreenSettingsActivity.class);
                                    intent2.addFlags(268435456);
                                    vVar3.f35782a.startActivity(intent2);
                                    vVar3.f35783b.invoke();
                                    break;
                                default:
                                    Intent intent3 = new Intent("android.intent.action.VIEW");
                                    intent3.addFlags(268435456);
                                    intent3.setData(Uri.parse("https://perplexity.ai/assistant/capabilities"));
                                    v vVar4 = this.f35781x;
                                    vVar4.f35782a.startActivity(intent3);
                                    vVar4.f35783b.invoke();
                                    break;
                            }
                            return Unit.a;
                        }
                    };
                    c4140q.k0(P12);
                }
                c4140q.r(false);
                F5.r c13 = androidx.compose.foundation.c.c(oVar, false, null, (Function0) P12, 7);
                c4140q.a0(1849434622);
                Object P13 = c4140q.P();
                if (P13 == c4115d0) {
                    P13 = new o0(20);
                    c4140q.k0(P13);
                }
                c4140q.r(false);
                F5.r e11 = androidx.compose.foundation.layout.c.e(androidx.compose.foundation.layout.a.p(l6.l.b(c13, false, (Function1) P13), 10, f11, f10, f11), 1.0f);
                v0 b12 = t0.b(AbstractC0821k.h(f12), hVar2, c4140q, 54);
                int i17 = c4140q.f41819P;
                hVar2 = hVar2;
                InterfaceC4137o0 n11 = c4140q.n();
                F5.r c14 = F5.a.c(e11, c4140q);
                c4140q.e0();
                f4 = f10;
                if (c4140q.f41818O) {
                    c4140q.m(c2053j);
                } else {
                    c4140q.n0();
                }
                C4116e.J(b12, c2052i2, c4140q);
                C4116e.J(n11, c2052i3, c4140q);
                if (c4140q.f41818O || !Intrinsics.c(c4140q.P(), Integer.valueOf(i17))) {
                    com.mapbox.common.location.e.w(i17, c4140q, i17, c2052i);
                }
                C4116e.J(c14, c2052i5, c4140q);
                V.b(s0.q(), null, androidx.compose.foundation.layout.c.r(oVar, f11), AbstractC1212a.Y(c4140q), c4140q, 432, 0);
                String f15 = ((C1810q) c4140q.l(c4157z)).f(2132017833);
                c4140q.a0(1751171971);
                M a11 = ((b0.n) c4140q.l(b1Var)).a(c4140q);
                c4140q.r(false);
                u1.b(f15, null, AbstractC1212a.Y(c4140q), 0L, null, 0L, null, null, 0L, 0, false, 0, 0, null, a11, c4140q, 0, 0, 65530);
                c4140q.r(true);
            }
            c4140q.r(false);
            Ib.o.g(0.0f, 0, 5, AbstractC1212a.S(c4140q), (F5.r) null, c4140q);
            c4140q.a0(5004770);
            vVar = this;
            boolean i18 = c4140q.i(vVar);
            Object P14 = c4140q.P();
            if (i18 || P14 == c4115d0) {
                final int i19 = 2;
                P14 = new Function0(vVar) {

                    public final v f35781x;

                    {
                        this.f35781x = vVar;
                    }

                    public final Object invoke() {
                        switch (i19) {
                            case 0:
                                v vVar2 = this.f35781x;
                                Intent intent = new Intent(vVar2.f35782a, (Class<?>) AssistantLanguageSettingsActivity.class);
                                intent.addFlags(268435456);
                                vVar2.f35782a.startActivity(intent);
                                vVar2.f35783b.invoke();
                                break;
                            case 1:
                                v vVar3 = this.f35781x;
                                Intent intent2 = new Intent(vVar3.f35782a, (Class<?>) AssistantLockScreenSettingsActivity.class);
                                intent2.addFlags(268435456);
                                vVar3.f35782a.startActivity(intent2);
                                vVar3.f35783b.invoke();
                                break;
                            default:
                                Intent intent3 = new Intent("android.intent.action.VIEW");
                                intent3.addFlags(268435456);
                                intent3.setData(Uri.parse("https://perplexity.ai/assistant/capabilities"));
                                v vVar4 = this.f35781x;
                                vVar4.f35782a.startActivity(intent3);
                                vVar4.f35783b.invoke();
                                break;
                        }
                        return Unit.a;
                    }
                };
                c4140q.k0(P14);
            }
            c4140q.r(false);
            F5.r c15 = androidx.compose.foundation.c.c(oVar, false, null, (Function0) P14, 7);
            c4140q.a0(1849434622);
            Object P15 = c4140q.P();
            if (P15 == c4115d0) {
                P15 = new o0(21);
                c4140q.k0(P15);
            }
            c4140q.r(false);
            F5.r e12 = androidx.compose.foundation.layout.c.e(androidx.compose.foundation.layout.a.n(l6.l.b(c15, false, (Function1) P15), f4, f11), 1.0f);
            v0 b13 = t0.b(AbstractC0821k.h(f12), hVar2, c4140q, 54);
            int i20 = c4140q.f41819P;
            InterfaceC4137o0 n12 = c4140q.n();
            F5.r c16 = F5.a.c(e12, c4140q);
            c4140q.e0();
            if (c4140q.f41818O) {
                c4140q.m(c2053j);
            } else {
                c4140q.n0();
            }
            C4116e.J(b13, c2052i2, c4140q);
            C4116e.J(n12, c2052i3, c4140q);
            if (c4140q.f41818O || !Intrinsics.c(c4140q.P(), Integer.valueOf(i20))) {
                com.mapbox.common.location.e.w(i20, c4140q, i20, c2052i);
            }
            C4116e.J(c16, c2052i5, c4140q);
            V.b(Q.t(), null, androidx.compose.foundation.layout.c.r(oVar, f11), AbstractC1212a.Y(c4140q), c4140q, 432, 0);
            String f16 = ((C1810q) c4140q.l(c4157z)).f(2132017748);
            c4140q.a0(1751171971);
            M a12 = ((b0.n) c4140q.l(b1Var)).a(c4140q);
            c4140q.r(false);
            u1.b(f16, null, AbstractC1212a.Y(c4140q), 0L, null, 0L, null, null, 0L, 0, false, 0, 0, null, a12, c4140q, 0, 0, 65530);
            c4140q.r(true);
            c4140q.r(true);
        }
        C4142r0 w2 = c4140q.w();
        if (w2 != null) {
            w2.f41861d = new E0(vVar, i10, 14);
        }
    }

    @Override
    public final x c() {
        return null;
    }
}