导航菜单

页面标题

页面副标题

Empower MX v1.29.4.340 - AbstractC3317e.java 源代码

正在查看: Empower MX v1.29.4.340 应用的 AbstractC3317e.java JAVA 源代码文件

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


package c9;

import Rf.AbstractC2410i;
import Rf.N;
import Rf.Y;
import android.content.Context;
import b9.m;
import com.stripe.android.model.A;
import com.stripe.android.model.StripeIntent;
import com.stripe.android.model.q;
import java.util.List;
import k8.M;
import kotlin.Unit;
import kotlin.collections.CollectionsKt;
import kotlin.coroutines.CoroutineContext;
import kotlin.jvm.functions.Function2;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
import r8.InterfaceC7189d;
import rf.InterfaceC7235a;
import sf.s;
import sf.t;
import vf.InterfaceC7663b;
import wf.AbstractC7770b;
import x8.C7843f;
import x8.C7850m;
import x8.InterfaceC7859v;

public abstract class AbstractC3317e {

    public static final a f33739g = new a(null);

    public static final int f33740h = 8;

    private static final List f33741i = CollectionsKt.e("payment_method");

    private final InterfaceC7235a f33742a;

    private final m f33743b;

    private final InterfaceC7189d f33744c;

    private final CoroutineContext f33745d;

    private final InterfaceC7859v f33746e;

    private final C3314b f33747f;

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

        public final List a() {
            return AbstractC3317e.f33741i;
        }

        private a() {
        }
    }

    public class b {

        public static final int[] f33748a;

        static {
            int[] iArr = new int[StripeIntent.Status.values().length];
            try {
                iArr[StripeIntent.Status.f41926H.ordinal()] = 1;
            } catch (NoSuchFieldError unused) {
            }
            try {
                iArr[StripeIntent.Status.f41927I.ordinal()] = 2;
            } catch (NoSuchFieldError unused2) {
            }
            f33748a = iArr;
        }
    }

    static final class c extends kotlin.coroutines.jvm.internal.d {

        Object f33749d;

        int f33751i;

        c(InterfaceC7663b interfaceC7663b) {
            super(interfaceC7663b);
        }

        @Override
        public final Object invokeSuspend(Object obj) {
            this.f33749d = obj;
            this.f33751i |= Integer.MIN_VALUE;
            Object m10 = AbstractC3317e.this.m(null, this);
            return m10 == AbstractC7770b.f() ? m10 : s.a(m10);
        }
    }

    static final class d extends kotlin.coroutines.jvm.internal.m implements Function2 {

        Object f33752d;

        int f33753e;

        private Object f33754i;

        final C3315c f33756w;

        d(C3315c c3315c, InterfaceC7663b interfaceC7663b) {
            super(2, interfaceC7663b);
            this.f33756w = c3315c;
        }

        @Override
        public final InterfaceC7663b create(Object obj, InterfaceC7663b interfaceC7663b) {
            d dVar = AbstractC3317e.this.new d(this.f33756w, interfaceC7663b);
            dVar.f33754i = obj;
            return dVar;
        }

        @Override
        public final Object invoke(N n10, InterfaceC7663b interfaceC7663b) {
            return ((d) create(n10, interfaceC7663b)).invokeSuspend(Unit.f63992a);
        }

        @Override
        public final Object invokeSuspend(Object obj) {
            Object b10;
            Object b11;
            Object p10;
            C3316d c3316d;
            C7843f.c cVar;
            M j10;
            Object i10;
            C3316d c3316d2;
            AbstractC3317e abstractC3317e;
            String b12;
            String f10;
            Object o10;
            C3316d c3316d3;
            AbstractC3317e abstractC3317e2;
            Object f11 = AbstractC7770b.f();
            int i11 = this.f33753e;
            try {
            } catch (Throwable th) {
                s.a aVar = s.f76261e;
                b10 = s.b(t.a(th));
            }
            if (i11 == 0) {
                t.b(obj);
                C3315c c3315c = this.f33756w;
                try {
                    s.a aVar2 = s.f76261e;
                    b11 = s.b(c3315c.l());
                } catch (Throwable th2) {
                    s.a aVar3 = s.f76261e;
                    b11 = s.b(t.a(th2));
                }
                Throwable e10 = s.e(b11);
                if (e10 != null) {
                    return s.a(s.b(t.a(e10)));
                }
                C3316d c3316d4 = (C3316d) b11;
                Object obj2 = AbstractC3317e.this.f33742a.get();
                Intrinsics.checkNotNullExpressionValue(obj2, "get(...)");
                C7843f.c cVar2 = new C7843f.c((String) obj2, c3316d4.e(), null, 4, null);
                AbstractC3317e abstractC3317e3 = AbstractC3317e.this;
                String b13 = c3316d4.b();
                List a10 = AbstractC3317e.f33739g.a();
                this.f33754i = c3316d4;
                this.f33752d = cVar2;
                this.f33753e = 1;
                p10 = abstractC3317e3.p(b13, cVar2, a10, this);
                if (p10 == f11) {
                    return f11;
                }
                c3316d = c3316d4;
                cVar = cVar2;
            } else {
                if (i11 != 1) {
                    if (i11 == 2) {
                        abstractC3317e2 = (AbstractC3317e) this.f33752d;
                        c3316d3 = (C3316d) this.f33754i;
                        t.b(obj);
                        o10 = ((s) obj).j();
                        t.b(o10);
                        StripeIntent stripeIntent = (StripeIntent) o10;
                        j10 = abstractC3317e2.j(stripeIntent, abstractC3317e2.k(stripeIntent, c3316d3.c()), abstractC3317e2.f33747f.a(stripeIntent, c3316d3.c()));
                        b10 = s.b(j10);
                        return s.a(b10);
                    }
                    if (i11 != 3) {
                        throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
                    }
                    abstractC3317e = (AbstractC3317e) this.f33752d;
                    c3316d2 = (C3316d) this.f33754i;
                    t.b(obj);
                    i10 = ((s) obj).j();
                    t.b(i10);
                    StripeIntent stripeIntent2 = (StripeIntent) i10;
                    j10 = abstractC3317e.j(stripeIntent2, c3316d2.c(), abstractC3317e.f33747f.a(stripeIntent2, c3316d2.c()));
                    b10 = s.b(j10);
                    return s.a(b10);
                }
                cVar = (C7843f.c) this.f33752d;
                c3316d = (C3316d) this.f33754i;
                t.b(obj);
                p10 = ((s) obj).j();
            }
            AbstractC3317e abstractC3317e4 = AbstractC3317e.this;
            if (!s.h(p10)) {
                b10 = s.b(p10);
                return s.a(b10);
            }
            StripeIntent stripeIntent3 = (StripeIntent) p10;
            if (stripeIntent3.o() != StripeIntent.Status.f41926H && stripeIntent3.o() != StripeIntent.Status.f41927I) {
                if (abstractC3317e4.s(stripeIntent3, c3316d.c())) {
                    String b14 = c3316d.b();
                    this.f33754i = c3316d;
                    this.f33752d = abstractC3317e4;
                    this.f33753e = 2;
                    o10 = abstractC3317e4.o(stripeIntent3, b14, cVar, this);
                    if (o10 == f11) {
                        return f11;
                    }
                    c3316d3 = c3316d;
                    abstractC3317e2 = abstractC3317e4;
                    t.b(o10);
                    StripeIntent stripeIntent4 = (StripeIntent) o10;
                    j10 = abstractC3317e2.j(stripeIntent4, abstractC3317e2.k(stripeIntent4, c3316d3.c()), abstractC3317e2.f33747f.a(stripeIntent4, c3316d3.c()));
                    b10 = s.b(j10);
                    return s.a(b10);
                }
                if (!abstractC3317e4.r(stripeIntent3, c3316d.a())) {
                    j10 = abstractC3317e4.j(stripeIntent3, c3316d.c(), abstractC3317e4.f33747f.a(stripeIntent3, c3316d.c()));
                    b10 = s.b(j10);
                    return s.a(b10);
                }
                String d10 = c3316d.d();
                String str = "";
                if (d10 == null) {
                    d10 = "";
                }
                abstractC3317e4.f33744c.b("Canceling source '" + d10 + "' for '" + stripeIntent3.getClass().getSimpleName() + "'");
                StripeIntent.a J10 = stripeIntent3.J();
                StripeIntent.a.j.b bVar = J10 instanceof StripeIntent.a.j.b ? (StripeIntent.a.j.b) J10 : null;
                if (bVar != null && (f10 = bVar.f()) != null) {
                    str = f10;
                    if (bVar != null && (b12 = bVar.b()) != null) {
                        cVar = new C7843f.c(b12, null, null, 6, null);
                    }
                    this.f33754i = c3316d;
                    this.f33752d = abstractC3317e4;
                    this.f33753e = 3;
                    i10 = abstractC3317e4.i(str, cVar, d10, this);
                    if (i10 != f11) {
                        return f11;
                    }
                    c3316d2 = c3316d;
                    abstractC3317e = abstractC3317e4;
                    t.b(i10);
                    StripeIntent stripeIntent22 = (StripeIntent) i10;
                    j10 = abstractC3317e.j(stripeIntent22, c3316d2.c(), abstractC3317e.f33747f.a(stripeIntent22, c3316d2.c()));
                    b10 = s.b(j10);
                    return s.a(b10);
                }
                String g10 = stripeIntent3.g();
                if (g10 != null) {
                    str = g10;
                }
                if (bVar != null) {
                    cVar = new C7843f.c(b12, null, null, 6, null);
                }
                this.f33754i = c3316d;
                this.f33752d = abstractC3317e4;
                this.f33753e = 3;
                i10 = abstractC3317e4.i(str, cVar, d10, this);
                if (i10 != f11) {
                }
            }
            j10 = abstractC3317e4.j(stripeIntent3, 1, abstractC3317e4.f33747f.a(stripeIntent3, c3316d.c()));
            b10 = s.b(j10);
            return s.a(b10);
        }
    }

    static final class C0753e extends kotlin.coroutines.jvm.internal.d {

        Object f33757F;

        int f33759H;

        Object f33760d;

        Object f33761e;

        Object f33762i;

        Object f33763v;

        int f33764w;

        C0753e(InterfaceC7663b interfaceC7663b) {
            super(interfaceC7663b);
        }

        @Override
        public final Object invokeSuspend(Object obj) {
            this.f33757F = obj;
            this.f33759H |= Integer.MIN_VALUE;
            Object o10 = AbstractC3317e.this.o(null, null, null, this);
            return o10 == AbstractC7770b.f() ? o10 : s.a(o10);
        }
    }

    public AbstractC3317e(Context context, InterfaceC7235a interfaceC7235a, m mVar, InterfaceC7189d interfaceC7189d, CoroutineContext coroutineContext, InterfaceC7859v interfaceC7859v, DefaultConstructorMarker defaultConstructorMarker) {
        this(context, interfaceC7235a, mVar, interfaceC7189d, coroutineContext, interfaceC7859v);
    }

    public final int k(StripeIntent stripeIntent, int i10) {
        StripeIntent.Status o10 = stripeIntent.o();
        int i11 = o10 == null ? -1 : b.f33748a[o10.ordinal()];
        if (i11 == 1 || i11 == 2) {
            return 1;
        }
        return i10;
    }

    public final Object o(StripeIntent stripeIntent, String str, C7843f.c cVar, InterfaceC7663b interfaceC7663b) {
        C0753e c0753e;
        int i10;
        Object p10;
        AbstractC3317e abstractC3317e;
        StripeIntent stripeIntent2;
        int i11;
        String str2;
        C7843f.c cVar2;
        if (interfaceC7663b instanceof C0753e) {
            c0753e = (C0753e) interfaceC7663b;
            int i12 = c0753e.f33759H;
            if ((i12 & Integer.MIN_VALUE) != 0) {
                c0753e.f33759H = i12 - Integer.MIN_VALUE;
                Object obj = c0753e.f33757F;
                Object f10 = AbstractC7770b.f();
                i10 = c0753e.f33759H;
                if (i10 != 0) {
                    t.b(obj);
                    if (q(stripeIntent)) {
                        List list = f33741i;
                        c0753e.f33760d = this;
                        c0753e.f33761e = stripeIntent;
                        c0753e.f33762i = str;
                        c0753e.f33763v = cVar;
                        c0753e.f33764w = 5;
                        c0753e.f33759H = 1;
                        p10 = n(str, cVar, list, c0753e);
                        if (p10 == f10) {
                            return f10;
                        }
                    } else {
                        List list2 = f33741i;
                        c0753e.f33760d = this;
                        c0753e.f33761e = stripeIntent;
                        c0753e.f33762i = str;
                        c0753e.f33763v = cVar;
                        c0753e.f33764w = 5;
                        c0753e.f33759H = 2;
                        p10 = p(str, cVar, list2, c0753e);
                        if (p10 == f10) {
                            return f10;
                        }
                    }
                    abstractC3317e = this;
                    stripeIntent2 = stripeIntent;
                    i11 = 5;
                } else if (i10 == 1 || i10 == 2) {
                    i11 = c0753e.f33764w;
                    cVar = (C7843f.c) c0753e.f33763v;
                    str = (String) c0753e.f33762i;
                    stripeIntent2 = (StripeIntent) c0753e.f33761e;
                    abstractC3317e = (AbstractC3317e) c0753e.f33760d;
                    t.b(obj);
                    p10 = ((s) obj).j();
                } else if (i10 == 3) {
                    i11 = c0753e.f33764w;
                    cVar2 = (C7843f.c) c0753e.f33763v;
                    str2 = (String) c0753e.f33762i;
                    stripeIntent2 = (StripeIntent) c0753e.f33761e;
                    abstractC3317e = (AbstractC3317e) c0753e.f33760d;
                    t.b(obj);
                    if (abstractC3317e.q(stripeIntent2)) {
                        List list3 = f33741i;
                        c0753e.f33760d = abstractC3317e;
                        c0753e.f33761e = stripeIntent2;
                        c0753e.f33762i = str2;
                        c0753e.f33763v = cVar2;
                        c0753e.f33764w = i11;
                        c0753e.f33759H = 5;
                        p10 = abstractC3317e.p(str2, cVar2, list3, c0753e);
                        if (p10 == f10) {
                            return f10;
                        }
                    } else {
                        List list4 = f33741i;
                        c0753e.f33760d = abstractC3317e;
                        c0753e.f33761e = stripeIntent2;
                        c0753e.f33762i = str2;
                        c0753e.f33763v = cVar2;
                        c0753e.f33764w = i11;
                        c0753e.f33759H = 4;
                        p10 = abstractC3317e.n(str2, cVar2, list4, c0753e);
                        if (p10 == f10) {
                            return f10;
                        }
                    }
                    String str3 = str2;
                    cVar = cVar2;
                    str = str3;
                    i11--;
                } else {
                    if (i10 != 4 && i10 != 5) {
                        throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
                    }
                    i11 = c0753e.f33764w;
                    cVar2 = (C7843f.c) c0753e.f33763v;
                    str2 = (String) c0753e.f33762i;
                    stripeIntent2 = (StripeIntent) c0753e.f33761e;
                    abstractC3317e = (AbstractC3317e) c0753e.f33760d;
                    t.b(obj);
                    p10 = ((s) obj).j();
                    String str32 = str2;
                    cVar = cVar2;
                    str = str32;
                    i11--;
                }
                if (abstractC3317e.t(p10) || i11 <= 1) {
                    return p10;
                }
                long a10 = abstractC3317e.f33746e.a(5, i11);
                c0753e.f33760d = abstractC3317e;
                c0753e.f33761e = stripeIntent2;
                c0753e.f33762i = str;
                c0753e.f33763v = cVar;
                c0753e.f33764w = i11;
                c0753e.f33759H = 3;
                if (Y.b(a10, c0753e) == f10) {
                    return f10;
                }
                C7843f.c cVar3 = cVar;
                str2 = str;
                cVar2 = cVar3;
                if (abstractC3317e.q(stripeIntent2)) {
                }
                String str322 = str2;
                cVar = cVar2;
                str = str322;
                i11--;
                if (abstractC3317e.t(p10)) {
                }
                return p10;
            }
        }
        c0753e = new C0753e(interfaceC7663b);
        Object obj2 = c0753e.f33757F;
        Object f102 = AbstractC7770b.f();
        i10 = c0753e.f33759H;
        if (i10 != 0) {
        }
        if (abstractC3317e.t(p10)) {
        }
        return p10;
    }

    private final boolean q(StripeIntent stripeIntent) {
        q h02 = stripeIntent.h0();
        if ((h02 != null ? h02.f42214w : null) != q.n.f42304c0) {
            q h03 = stripeIntent.h0();
            if ((h03 != null ? h03.f42214w : null) != q.n.f42292Q) {
                return false;
            }
        }
        return true;
    }

    public final boolean r(StripeIntent stripeIntent, boolean z10) {
        return z10 && stripeIntent.q0();
    }

    public final boolean s(StripeIntent stripeIntent, int i10) {
        boolean z10;
        boolean z11;
        q h02;
        q.n nVar;
        q h03;
        boolean z12 = i10 == 1 && A.b(stripeIntent);
        if (i10 == 3 && stripeIntent.o() == StripeIntent.Status.f41932v) {
            q h04 = stripeIntent.h0();
            if ((h04 != null ? h04.f42214w : null) == q.n.f42284I) {
                z10 = true;
                if (i10 == 3 && stripeIntent.o() == StripeIntent.Status.f41933w) {
                    h03 = stripeIntent.h0();
                    if ((h03 != null ? h03.f42214w : null) == q.n.f42284I && stripeIntent.L() == StripeIntent.NextActionType.f41921v) {
                        z11 = true;
                        return !z12 || z10 || z11 || (!stripeIntent.q0() && (h02 = stripeIntent.h0()) != null && (nVar = h02.f42214w) != null && nVar.d());
                    }
                }
                z11 = false;
                if (z12) {
                }
            }
        }
        z10 = false;
        if (i10 == 3) {
            h03 = stripeIntent.h0();
            if ((h03 != null ? h03.f42214w : null) == q.n.f42284I) {
                z11 = true;
                if (z12) {
                }
            }
        }
        z11 = false;
        if (z12) {
        }
    }

    private final boolean t(Object obj) {
        boolean z10;
        if (s.g(obj)) {
            obj = null;
        }
        StripeIntent stripeIntent = (StripeIntent) obj;
        if (stripeIntent == null) {
            return true;
        }
        boolean q02 = stripeIntent.q0();
        if (stripeIntent.o() == StripeIntent.Status.f41932v) {
            q h02 = stripeIntent.h0();
            if ((h02 != null ? h02.f42214w : null) == q.n.f42284I) {
                z10 = true;
                return q02 || z10;
            }
        }
        z10 = false;
        if (q02) {
            return true;
        }
    }

    protected abstract Object i(String str, C7843f.c cVar, String str2, InterfaceC7663b interfaceC7663b);

    protected abstract M j(StripeIntent stripeIntent, int i10, String str);

    protected final m l() {
        return this.f33743b;
    }

    public final Object m(C3315c c3315c, InterfaceC7663b interfaceC7663b) {
        c cVar;
        int i10;
        if (interfaceC7663b instanceof c) {
            cVar = (c) interfaceC7663b;
            int i11 = cVar.f33751i;
            if ((i11 & Integer.MIN_VALUE) != 0) {
                cVar.f33751i = i11 - Integer.MIN_VALUE;
                Object obj = cVar.f33749d;
                Object f10 = AbstractC7770b.f();
                i10 = cVar.f33751i;
                if (i10 != 0) {
                    t.b(obj);
                    CoroutineContext coroutineContext = this.f33745d;
                    d dVar = new d(c3315c, null);
                    cVar.f33751i = 1;
                    obj = AbstractC2410i.g(coroutineContext, dVar, cVar);
                    if (obj == f10) {
                        return f10;
                    }
                } else {
                    if (i10 != 1) {
                        throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
                    }
                    t.b(obj);
                }
                return ((s) obj).j();
            }
        }
        cVar = new c(interfaceC7663b);
        Object obj2 = cVar.f33749d;
        Object f102 = AbstractC7770b.f();
        i10 = cVar.f33751i;
        if (i10 != 0) {
        }
        return ((s) obj2).j();
    }

    protected abstract Object n(String str, C7843f.c cVar, List list, InterfaceC7663b interfaceC7663b);

    protected abstract Object p(String str, C7843f.c cVar, List list, InterfaceC7663b interfaceC7663b);

    private AbstractC3317e(Context context, InterfaceC7235a interfaceC7235a, m mVar, InterfaceC7189d interfaceC7189d, CoroutineContext coroutineContext, InterfaceC7859v interfaceC7859v) {
        this.f33742a = interfaceC7235a;
        this.f33743b = mVar;
        this.f33744c = interfaceC7189d;
        this.f33745d = coroutineContext;
        this.f33746e = interfaceC7859v;
        this.f33747f = new C3314b(context);
    }

    public AbstractC3317e(Context context, InterfaceC7235a interfaceC7235a, m mVar, InterfaceC7189d interfaceC7189d, CoroutineContext coroutineContext, InterfaceC7859v interfaceC7859v, int i10, DefaultConstructorMarker defaultConstructorMarker) {
        this(context, interfaceC7235a, mVar, interfaceC7189d, coroutineContext, (i10 & 32) != 0 ? new C7850m() : interfaceC7859v, null);
    }
}