导航菜单

页面标题

页面副标题

Perplexity v2.48.1 - C1029o.java 源代码

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

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


package Oj;

import Ej.C0217e;
import Lm.C0778d;
import Ri.C1273e0;
import Ri.C1277f0;
import Ri.C1281g0;
import Ri.C1305m0;
import Ri.C1313o0;
import Ri.C1317p0;
import Ri.C1321q0;
import Ri.C1336u0;
import Ri.C1340v0;
import Ri.InterfaceC1285h0;
import Ri.InterfaceC1309n0;
import Ri.K0;
import Ri.L0;
import Ri.r3;
import com.stripe.android.core.exception.StripeException;
import g3.f0;
import i.AbstractC3996e;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.NoSuchElementException;
import jk.O0;
import jk.P0;
import jk.Q0;
import kotlin.NoWhenBranchMatchedException;
import kotlin.Result;
import kotlin.ResultKt;
import kotlin.Unit;
import kotlin.collections.EmptyList;
import kotlin.coroutines.Continuation;
import kotlin.coroutines.intrinsics.CoroutineSingletons;
import kotlin.coroutines.jvm.internal.SuspendLambda;
import kotlin.jvm.functions.Function2;
import kotlin.jvm.internal.Intrinsics;
import om.InterfaceC5540D;
import qj.EnumC5971e;
import uj.C6884a;
import wj.C7126q0;
import zj.C7565d;

public final class C1029o extends SuspendLambda implements Function2 {

    public final C1340v0 f17415X;

    public final boolean f17416Y;

    public int f17417w;

    public final om.L f17418x;

    public final C1036w f17419y;

    public final Kh.a f17420z;

    public C1029o(om.L l4, C1036w c1036w, Kh.a aVar, C1340v0 c1340v0, boolean z10, Continuation continuation) {
        super(2, continuation);
        this.f17418x = l4;
        this.f17419y = c1036w;
        this.f17420z = aVar;
        this.f17415X = c1340v0;
        this.f17416Y = z10;
    }

    @Override
    public final Continuation create(Object obj, Continuation continuation) {
        return new C1029o(this.f17418x, this.f17419y, this.f17420z, this.f17415X, this.f17416Y, continuation);
    }

    @Override
    public final Object invoke(Object obj, Object obj2) {
        return ((C1029o) create((InterfaceC5540D) obj, (Continuation) obj2)).invokeSuspend(Unit.f52701a);
    }

    @Override
    public final Object invokeSuspend(Object obj) {
        Object w2;
        List externalPaymentMethodSpecs;
        hk.c cVar;
        C0217e c0217e;
        Oi.k kVar;
        K0 k02;
        C1317p0 c1317p0;
        C1313o0 c1313o0;
        Fi.H h10;
        ArrayList arrayList;
        Object a4;
        CoroutineSingletons coroutineSingletons = CoroutineSingletons.f52804w;
        int i10 = this.f17417w;
        if (i10 == 0) {
            ResultKt.b(obj);
            this.f17417w = 1;
            w2 = this.f17418x.w(this);
            if (w2 == coroutineSingletons) {
                return coroutineSingletons;
            }
        } else {
            if (i10 != 1) {
                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
            }
            ResultKt.b(obj);
            w2 = obj;
        }
        B b6 = (B) w2;
        C1036w c1036w = this.f17419y;
        c1036w.getClass();
        C1340v0 c1340v0 = this.f17415X;
        r3 r3Var = c1340v0.f21923z;
        c1036w.f17465e.getClass();
        Ni.f l4 = Ni.g.l(r3Var, c1340v0.f21921x);
        if (l4.f15743b) {
            C7565d c7565d = c1036w.f17467g;
            c7565d.b(new zj.o(c7565d.f72398i, c7565d.f72399j, c7565d.f72401l, l4.f15744c, 3));
        }
        P0 p02 = c1036w.f17474n;
        p02.getClass();
        String str = c1340v0.f21922y;
        if (str == null || str.length() == 0) {
            externalPaymentMethodSpecs = EmptyList.f52728w;
        } else {
            Mm.s sVar = Q0.f51039a;
            try {
                int i11 = Result.f52682x;
                a4 = (List) Q0.f51039a.b(new C0778d(O0.Companion.serializer(), 0), str);
            } catch (Throwable th2) {
                int i12 = Result.f52682x;
                a4 = ResultKt.a(th2);
            }
            Throwable a10 = Result.a(a4);
            if (a10 != null) {
                EnumC5971e enumC5971e = EnumC5971e.f63001x0;
                int i13 = StripeException.f40140X;
                f0.J(p02.f51029a, enumC5971e, W5.c.H(a10), null, 4);
            }
            if (Result.a(a4) != null) {
                a4 = EmptyList.f52728w;
            }
            externalPaymentMethodSpecs = (List) a4;
        }
        Kh.a aVar = this.f17420z;
        List<String> list = aVar.f11059w0;
        Zh.i iVar = c1036w.f17475o;
        if (list != null && !list.isEmpty()) {
            if (externalPaymentMethodSpecs != null) {
                arrayList = new ArrayList(bl.b.a0(externalPaymentMethodSpecs, 10));
                Iterator it = externalPaymentMethodSpecs.iterator();
                while (it.hasNext()) {
                    arrayList.add(((O0) it.next()).f51019w);
                }
            } else {
                arrayList = null;
            }
            for (String str2 : list) {
                if (arrayList == null || !arrayList.contains(str2)) {
                    iVar.a("Requested external payment method " + str2 + " is not supported. View all available external payment methods here: https://docs.stripe.com/payments/external-payment-methods?platform=android#available-external-payment-methods");
                }
            }
        }
        ?? r10 = c1340v0.f21918v0;
        if (!r10.isEmpty()) {
            ArrayList arrayList2 = new ArrayList();
            for (Object obj2 : r10) {
                if (obj2 instanceof C1281g0) {
                    arrayList2.add(obj2);
                }
            }
            Iterator it2 = arrayList2.iterator();
            while (it2.hasNext()) {
                C1281g0 c1281g0 = (C1281g0) it2.next();
                StringBuilder p10 = AbstractC3996e.p("Requested custom payment method ", c1281g0.f21627w, " contained an error \"");
                p10.append(c1281g0.f21628x);
                p10.append("\"!");
                iVar.a(p10.toString());
            }
        }
        Qi.c cVar2 = (b6 == null || (h10 = b6.f17295y) == null) ? null : new Qi.c(h10, b6.f17293w);
        ArrayList arrayList3 = l4.f15742a;
        Intrinsics.h(externalPaymentMethodSpecs, "externalPaymentMethodSpecs");
        boolean z10 = aVar.f11060x != null;
        C1321q0 c1321q0 = c1340v0.f21913Z;
        InterfaceC1309n0 interfaceC1309n0 = (c1321q0 == null || (c1317p0 = c1321q0.f21830y) == null || (c1313o0 = c1317p0.f21803Y) == null) ? null : c1313o0.f21779w;
        C1305m0 c1305m0 = interfaceC1309n0 instanceof C1305m0 ? (C1305m0) interfaceC1309n0 : null;
        Oi.j jVar = new Oi.j(z10, c1305m0 != null ? c1305m0.f21731X : false);
        C1273e0 c1273e0 = c1340v0.f21915s0;
        boolean z11 = c1273e0 != null ? c1273e0.f21591w : false;
        List preferredNetworks = aVar.f11055t0;
        Intrinsics.h(preferredNetworks, "preferredNetworks");
        if (z11) {
            cVar = new hk.a(preferredNetworks);
        } else {
            if (z11) {
                throw new NoWhenBranchMatchedException();
            }
            cVar = hk.b.f47568w;
        }
        hk.c cVar3 = cVar;
        Oi.s E02 = W9.f.E0(c1340v0);
        C1336u0 c1336u0 = c1340v0.f21919w;
        L0 l02 = c1336u0 != null ? c1336u0.f21895y : null;
        if (c1336u0 == null || (k02 = c1336u0.f21890Y) == null) {
            c0217e = null;
        } else {
            String str3 = k02.f21265x;
            c0217e = str3 != null ? new C0217e(k02.f21264w.f21253w, str3) : null;
        }
        ArrayList arrayList4 = new ArrayList();
        for (InterfaceC1285h0 interfaceC1285h0 : r10) {
            if (interfaceC1285h0 instanceof C1277f0) {
                for (C7126q0 c7126q0 : aVar.f11063y0) {
                    C1277f0 c1277f0 = (C1277f0) interfaceC1285h0;
                    if (Intrinsics.c(c1277f0.f21597w, c7126q0.f70041w)) {
                        kVar = new Oi.k(c1277f0.f21597w, c1277f0.f21598x, c1277f0.f21599y, c7126q0.f70042x, c7126q0.f70043y);
                    }
                }
                throw new NoSuchElementException("Collection contains no element matching the predicate.");
            }
            if (!(interfaceC1285h0 instanceof C1281g0)) {
                throw new NoWhenBranchMatchedException();
            }
            kVar = null;
            if (kVar != null) {
                arrayList4.add(kVar);
            }
        }
        return new Oi.n(c1340v0.f21923z, aVar.f11054s0, aVar.f11052Z, aVar.f11053r0, aVar.f11057v0, cVar3, aVar.f11058w, aVar.f11050X, aVar.f11051Y, arrayList3, arrayList4, externalPaymentMethodSpecs, jVar, this.f17416Y, aVar.f11064z, cVar2, E02, l02, b6, c0217e, C6884a.a(c1340v0), new Oi.t(aVar.f11061x0), c1340v0.f21920w0);
    }
}