导航菜单

页面标题

页面副标题

Perplexity v2.48.1 - C0250o.java 源代码

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

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


package Oj;

import Ej.C0111e;
import Lm.C0205d;
import Ri.C0391e0;
import Ri.C0395f0;
import Ri.C0399g0;
import Ri.C0423m0;
import Ri.C0431o0;
import Ri.C0435p0;
import Ri.C0439q0;
import Ri.C0454u0;
import Ri.C0458v0;
import Ri.InterfaceC0403h0;
import Ri.InterfaceC0427n0;
import Ri.K0;
import Ri.L0;
import Ri.r3;
import com.stripe.android.core.exception.StripeException;
import g3.f0;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
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.InterfaceC1273D;
import qj.EnumC1351e;
import uj.C1642a;
import wj.C1742q0;
import zj.C1871d;

public final class C0250o extends SuspendLambda implements Function2 {
    public final C0458v0 X;
    public final boolean Y;
    public int w;
    public final om.L x;
    public final C0257w y;
    public final Kh.a z;

    public C0250o(om.L l, C0257w c0257w, Kh.a aVar, C0458v0 c0458v0, boolean z, Continuation continuation) {
        super(2, continuation);
        this.x = l;
        this.y = c0257w;
        this.z = aVar;
        this.X = c0458v0;
        this.Y = z;
    }

    @Override
    public final Continuation create(Object obj, Continuation continuation) {
        return new C0250o(this.x, this.y, this.z, this.X, this.Y, continuation);
    }

    @Override
    public final Object invoke(Object obj, Object obj2) {
        return ((C0250o) create((InterfaceC1273D) obj, (Continuation) obj2)).invokeSuspend(Unit.a);
    }

    @Override
    public final Object invokeSuspend(Object obj) {
        Object w;
        List externalPaymentMethodSpecs;
        hk.c cVar;
        C0111e c0111e;
        Oi.k kVar;
        K0 k0;
        C0435p0 c0435p0;
        C0431o0 c0431o0;
        Fi.H h;
        ArrayList arrayList;
        Object a;
        CoroutineSingletons coroutineSingletons = CoroutineSingletons.w;
        int i = this.w;
        if (i == 0) {
            ResultKt.b(obj);
            this.w = 1;
            w = this.x.w(this);
            if (w == coroutineSingletons) {
                return coroutineSingletons;
            }
        } else {
            if (i != 1) {
                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
            }
            ResultKt.b(obj);
            w = obj;
        }
        B b = (B) w;
        C0257w c0257w = this.y;
        c0257w.getClass();
        C0458v0 c0458v0 = this.X;
        r3 r3Var = c0458v0.z;
        c0257w.e.getClass();
        Ni.f l = Ni.g.l(r3Var, c0458v0.x);
        if (l.b) {
            C1871d c1871d = c0257w.g;
            c1871d.b(new zj.o(c1871d.i, c1871d.j, c1871d.l, l.c, 3));
        }
        P0 p0 = c0257w.n;
        p0.getClass();
        String str = c0458v0.y;
        if (str == null || str.length() == 0) {
            externalPaymentMethodSpecs = EmptyList.w;
        } else {
            Mm.s sVar = Q0.a;
            try {
                int i2 = Result.x;
                a = (List) Q0.a.b(new C0205d(O0.Companion.serializer(), 0), str);
            } catch (Throwable th2) {
                int i3 = Result.x;
                a = ResultKt.a(th2);
            }
            Throwable a2 = Result.a(a);
            if (a2 != null) {
                EnumC1351e enumC1351e = EnumC1351e.x0;
                int i4 = StripeException.X;
                f0.J(p0.a, enumC1351e, W5.c.H(a2), (Map) null, 4);
            }
            if (Result.a(a) != null) {
                a = EmptyList.w;
            }
            externalPaymentMethodSpecs = (List) a;
        }
        Kh.a aVar = this.z;
        List<String> list = aVar.w0;
        Zh.i iVar = c0257w.o;
        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()).w);
                }
            } 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 = c0458v0.v0;
        if (!r10.isEmpty()) {
            ArrayList arrayList2 = new ArrayList();
            for (Object obj2 : r10) {
                if (obj2 instanceof C0399g0) {
                    arrayList2.add(obj2);
                }
            }
            Iterator it2 = arrayList2.iterator();
            while (it2.hasNext()) {
                C0399g0 c0399g0 = (C0399g0) it2.next();
                StringBuilder p = i.e.p("Requested custom payment method ", c0399g0.w, " contained an error \"");
                p.append(c0399g0.x);
                p.append("\"!");
                iVar.a(p.toString());
            }
        }
        Qi.c cVar2 = (b == null || (h = b.y) == null) ? null : new Qi.c(h, b.w);
        ArrayList arrayList3 = l.a;
        Intrinsics.h(externalPaymentMethodSpecs, "externalPaymentMethodSpecs");
        boolean z = aVar.x != null;
        C0439q0 c0439q0 = c0458v0.Z;
        InterfaceC0427n0 interfaceC0427n0 = (c0439q0 == null || (c0435p0 = c0439q0.y) == null || (c0431o0 = c0435p0.Y) == null) ? null : c0431o0.w;
        C0423m0 c0423m0 = interfaceC0427n0 instanceof C0423m0 ? (C0423m0) interfaceC0427n0 : null;
        Oi.j jVar = new Oi.j(z, c0423m0 != null ? c0423m0.X : false);
        C0391e0 c0391e0 = c0458v0.s0;
        boolean z2 = c0391e0 != null ? c0391e0.w : false;
        List preferredNetworks = aVar.t0;
        Intrinsics.h(preferredNetworks, "preferredNetworks");
        if (z2) {
            cVar = new hk.a(preferredNetworks);
        } else {
            if (z2) {
                throw new NoWhenBranchMatchedException();
            }
            cVar = hk.b.w;
        }
        hk.c cVar3 = cVar;
        Oi.s E0 = W9.f.E0(c0458v0);
        C0454u0 c0454u0 = c0458v0.w;
        L0 l0 = c0454u0 != null ? c0454u0.y : null;
        if (c0454u0 == null || (k0 = c0454u0.Y) == null) {
            c0111e = null;
        } else {
            String str3 = k0.x;
            c0111e = str3 != null ? new C0111e(k0.w.w, str3) : null;
        }
        ArrayList arrayList4 = new ArrayList();
        for (InterfaceC0403h0 interfaceC0403h0 : r10) {
            if (interfaceC0403h0 instanceof C0395f0) {
                for (C1742q0 c1742q0 : aVar.y0) {
                    C0395f0 c0395f0 = (C0395f0) interfaceC0403h0;
                    if (Intrinsics.c(c0395f0.w, c1742q0.w)) {
                        kVar = new Oi.k(c0395f0.w, c0395f0.x, c0395f0.y, c1742q0.x, c1742q0.y);
                    }
                }
                throw new NoSuchElementException("Collection contains no element matching the predicate.");
            }
            if (!(interfaceC0403h0 instanceof C0399g0)) {
                throw new NoWhenBranchMatchedException();
            }
            kVar = null;
            if (kVar != null) {
                arrayList4.add(kVar);
            }
        }
        return new Oi.n(c0458v0.z, aVar.s0, aVar.Z, aVar.r0, aVar.v0, cVar3, aVar.w, aVar.X, aVar.Y, arrayList3, arrayList4, externalPaymentMethodSpecs, jVar, this.Y, aVar.z, cVar2, E0, l0, b, c0111e, C1642a.a(c0458v0), new Oi.t(aVar.x0), c0458v0.w0);
    }
}