导航菜单

页面标题

页面副标题

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

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

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


package finance.empower.android.app.loan.repayment.stripe.auth;

import Cc.f;
import ac.C0995g;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import com.withpersona.sdk2.inquiry.network.HttpStatusCode;
import e.e;
import finance.empower.android.app.loan.repayment.stripe.auth.StripeAuthActivity;
import finance.empower.android.app.loan.repayment.stripe.auth.d;
import kotlin.Metadata;
import kotlin.Pair;
import kotlin.Unit;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.functions.Function2;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
import s0.L0;
import s0.X0;
import s0.o;
import s0.q;
import s0.z1;
import sf.l;
import sf.m;
import wc.C2373D;
import ze.AbstractC2536b;

@Metadata(d1 = {"\u0000R\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0018\u0002\n\u0002\b\b\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0010\u000e\n\u0002\b\f\b\u0007\u0018\u0000 72\u00020\u00012\u00020\u0002:\u00018B\u0007¢\u0006\u0004\b\u0003\u0010\u0004J\u001d\u0010\t\u001a\u00020\b2\f\u0010\u0007\u001a\b\u0012\u0004\u0012\u00020\u00060\u0005H\u0003¢\u0006\u0004\b\t\u0010\nJ\u0019\u0010\r\u001a\u00020\b2\b\u0010\f\u001a\u0004\u0018\u00010\u000bH\u0014¢\u0006\u0004\b\r\u0010\u000eJ\u000f\u0010\u000f\u001a\u00020\bH\u0014¢\u0006\u0004\b\u000f\u0010\u0004J\u000f\u0010\u0010\u001a\u00020\bH\u0014¢\u0006\u0004\b\u0010\u0010\u0004J)\u0010\u0016\u001a\u00020\b2\u0006\u0010\u0012\u001a\u00020\u00112\u0006\u0010\u0013\u001a\u00020\u00112\b\u0010\u0015\u001a\u0004\u0018\u00010\u0014H\u0015¢\u0006\u0004\b\u0016\u0010\u0017J\u000f\u0010\u0018\u001a\u00020\bH\u0016¢\u0006\u0004\b\u0018\u0010\u0004J\u0017\u0010\u001a\u001a\u00020\b2\u0006\u0010\u0019\u001a\u00020\u0014H\u0016¢\u0006\u0004\b\u001a\u0010\u001bR*\u0010$\u001a\u00020\u001c2\u0006\u0010\u001d\u001a\u00020\u001c8\u0006@GX\u0086.¢\u0006\u0012\n\u0004\b\u001e\u0010\u001f\u001a\u0004\b \u0010!\"\u0004\b\"\u0010#R*\u0010,\u001a\u00020%2\u0006\u0010\u001d\u001a\u00020%8\u0006@GX\u0086.¢\u0006\u0012\n\u0004\b&\u0010'\u001a\u0004\b(\u0010)\"\u0004\b*\u0010+R\u001b\u00102\u001a\u00020-8BX\u0082\u0084\u0002¢\u0006\f\n\u0004\b.\u0010/\u001a\u0004\b0\u00101R\u001a\u00106\u001a\u00020-8\u0014X\u0094D¢\u0006\f\n\u0004\b3\u00104\u001a\u0004\b5\u00101¨\u00069"}, d2 = {"Lfinance/empower/android/app/loan/repayment/stripe/auth/StripeAuthActivity;", "Lbc/m;", "Lfinance/empower/android/app/loan/repayment/stripe/auth/d$a;", "<init>", "()V", "Ls0/z1;", "Lfinance/empower/android/app/loan/repayment/stripe/auth/d$a$a;", "viewState", "", "M1", "(Ls0/z1;Ls0/l;I)V", "Landroid/os/Bundle;", "savedInstanceState", "onCreate", "(Landroid/os/Bundle;)V", "onStart", "onStop", "", "requestCode", "resultCode", "Landroid/content/Intent;", "data", "onActivityResult", "(IILandroid/content/Intent;)V", "e0", "intent", "g0", "(Landroid/content/Intent;)V", "Lfinance/empower/android/app/loan/repayment/stripe/auth/d;", "value", "i0", "Lfinance/empower/android/app/loan/repayment/stripe/auth/d;", "T1", "()Lfinance/empower/android/app/loan/repayment/stripe/auth/d;", "W1", "(Lfinance/empower/android/app/loan/repayment/stripe/auth/d;)V", "presenter", "Lwc/D;", "j0", "Lwc/D;", "U1", "()Lwc/D;", "X1", "(Lwc/D;)V", "stripeComponent", "", "k0", "Lsf/l;", "S1", "()Ljava/lang/String;", "clientSecret", "l0", "Ljava/lang/String;", "C1", "pageName", "m0", "a", "empower-app_productionRelease"}, k = 1, mv = {2, 1, HttpStatusCode.NETWORK_ERROR_0}, xi = 48)
public final class StripeAuthActivity extends a implements d.a {

    public static final Companion INSTANCE = new Companion(null);
    public static final int n0 = 8;

    public d presenter;

    public C2373D stripeComponent;

    private final l clientSecret = m.a(new Function0() {
        @Override
        public final Object invoke() {
            String R1;
            R1 = StripeAuthActivity.R1(StripeAuthActivity.this);
            return R1;
        }
    });

    private final String pageName = "StripeAuth";

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

        public final Intent a(Context context, String stripeAuthClientSecret) {
            Intrinsics.checkNotNullParameter(context, "context");
            Intrinsics.checkNotNullParameter(stripeAuthClientSecret, "stripeAuthClientSecret");
            Intent a = C0995g.a(context, StripeAuthActivity.class, new Pair[0]);
            a.putExtra("finance.empower.5D081812-99CD-41A6-AEF3-75269AFCE91C", stripeAuthClientSecret);
            return a;
        }

        private Companion() {
        }
    }

    static final class b implements Function2 {
        b() {
        }

        public final void a(s0.l lVar, int i) {
            if ((i & 3) == 2 && lVar.w()) {
                lVar.F();
                return;
            }
            if (o.H()) {
                o.Q(-60943551, i, -1, "finance.empower.android.app.loan.repayment.stripe.auth.StripeAuthActivity.onCreate.<anonymous> (StripeAuthActivity.kt:59)");
            }
            StripeAuthActivity stripeAuthActivity = StripeAuthActivity.this;
            stripeAuthActivity.M1(stripeAuthActivity.T1().i(), lVar, 0);
            if (o.H()) {
                o.P();
            }
        }

        @Override
        public Object invoke(Object obj, Object obj2) {
            a((s0.l) obj, ((Number) obj2).intValue());
            return Unit.a;
        }
    }

    public final void M1(final z1 z1Var, s0.l lVar, final int i) {
        int i2;
        s0.l t = lVar.t(-496378541);
        if ((i & 6) == 0) {
            i2 = (t.U(z1Var) ? 4 : 2) | i;
        } else {
            i2 = i;
        }
        if ((i & 48) == 0) {
            i2 |= t.l(this) ? 32 : 16;
        }
        if ((i2 & 19) == 18 && t.w()) {
            t.F();
        } else {
            if (o.H()) {
                o.Q(-496378541, i2, -1, "finance.empower.android.app.loan.repayment.stripe.auth.StripeAuthActivity.StripeAuthScreen (StripeAuthActivity.kt:93)");
            }
            f fVar = f.a;
            boolean z = z1Var.getValue() instanceof d.a.AbstractC0375a.b;
            t.V(1140848800);
            boolean l = t.l(this);
            Object f = t.f();
            if (l || f == s0.l.a.a()) {
                f = new Function0() {
                    @Override
                    public final Object invoke() {
                        Unit N1;
                        N1 = StripeAuthActivity.N1(StripeAuthActivity.this);
                        return N1;
                    }
                };
                t.M(f);
            }
            Function0 function0 = (Function0) f;
            t.L();
            t.V(1140852127);
            boolean l2 = t.l(this);
            Object f2 = t.f();
            if (l2 || f2 == s0.l.a.a()) {
                f2 = new Function0() {
                    @Override
                    public final Object invoke() {
                        Unit O1;
                        O1 = StripeAuthActivity.O1(StripeAuthActivity.this);
                        return O1;
                    }
                };
                t.M(f2);
            }
            t.L();
            fVar.c(this, z, new f.c(function0, (Function0) f2), null, t, ((i2 >> 3) & 14) | 24576, 8);
            if (o.H()) {
                o.P();
            }
        }
        X0 B = t.B();
        if (B != null) {
            B.a(new Function2() {
                @Override
                public final Object invoke(Object obj, Object obj2) {
                    Unit P1;
                    P1 = StripeAuthActivity.P1(StripeAuthActivity.this, z1Var, i, (s0.l) obj, ((Integer) obj2).intValue());
                    return P1;
                }
            });
        }
    }

    public static final Unit N1(StripeAuthActivity stripeAuthActivity) {
        stripeAuthActivity.T1().h();
        return Unit.a;
    }

    public static final Unit O1(StripeAuthActivity stripeAuthActivity) {
        stripeAuthActivity.T1().k();
        return Unit.a;
    }

    public static final Unit P1(StripeAuthActivity stripeAuthActivity, z1 z1Var, int i, s0.l lVar, int i2) {
        stripeAuthActivity.M1(z1Var, lVar, L0.a(i | 1));
        return Unit.a;
    }

    public static final String R1(StripeAuthActivity stripeAuthActivity) {
        String stringExtra = stripeAuthActivity.getIntent().getStringExtra("finance.empower.5D081812-99CD-41A6-AEF3-75269AFCE91C");
        Intrinsics.f(stringExtra);
        return stringExtra;
    }

    private final String S1() {
        return (String) this.clientSecret.getValue();
    }

    public static final Unit V1(StripeAuthActivity stripeAuthActivity) {
        stripeAuthActivity.T1().l();
        return Unit.a;
    }

    @Override
    protected String getPageName() {
        return this.pageName;
    }

    public final d T1() {
        d dVar = this.presenter;
        if (dVar != null) {
            return dVar;
        }
        Intrinsics.x("presenter");
        return null;
    }

    public final C2373D U1() {
        C2373D c2373d = this.stripeComponent;
        if (c2373d != null) {
            return c2373d;
        }
        Intrinsics.x("stripeComponent");
        return null;
    }

    public final void W1(d dVar) {
        Intrinsics.checkNotNullParameter(dVar, "<set-?>");
        this.presenter = dVar;
    }

    public final void X1(C2373D c2373d) {
        Intrinsics.checkNotNullParameter(c2373d, "<set-?>");
        this.stripeComponent = c2373d;
    }

    @Override
    public void e0() {
        U1().g(S1());
    }

    @Override
    public void g0(Intent intent) {
        Intrinsics.checkNotNullParameter(intent, "intent");
        startActivity(intent);
    }

    protected void onActivityResult(int requestCode, int resultCode, Intent data) {
        super/*androidx.fragment.app.i*/.onActivityResult(requestCode, resultCode, data);
        U1().f(requestCode, data, new Function0() {
            @Override
            public final Object invoke() {
                Unit V1;
                V1 = StripeAuthActivity.V1(StripeAuthActivity.this);
                return V1;
            }
        });
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        e.b(this, (q) null, A0.c.c(-60943551, true, new b()), 1, (Object) null);
        AbstractC2536b.b(this);
    }

    @Override
    protected void onStart() {
        T1().j();
        super.onStart();
    }

    protected void onStop() {
        T1().c();
        super.onStop();
    }
}