导航菜单

页面标题

页面副标题

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

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

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


package finance.empower.android.app.email;

import Je.B;
import ac.C0995g;
import android.content.Context;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
import android.os.Parcelable;
import com.withpersona.sdk2.inquiry.network.HttpStatusCode;
import finance.empower.android.app.email.EditEmailActivity;
import finance.empower.android.app.email.d;
import kotlin.Metadata;
import kotlin.Pair;
import kotlin.Unit;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.functions.Function2;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
import mc.C1954j;
import s0.o;
import s0.q;

@Metadata(d1 = {"\u0000.\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0006\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u000f\b\u0007\u0018\u0000 \u001f2\u00020\u00012\u00020\u0002:\u0001 B\u0007¢\u0006\u0004\b\u0003\u0010\u0004J\u0019\u0010\b\u001a\u00020\u00072\b\u0010\u0006\u001a\u0004\u0018\u00010\u0005H\u0014¢\u0006\u0004\b\b\u0010\tJ\u000f\u0010\n\u001a\u00020\u0007H\u0014¢\u0006\u0004\b\n\u0010\u0004J\u000f\u0010\u000b\u001a\u00020\u0007H\u0014¢\u0006\u0004\b\u000b\u0010\u0004J\u0017\u0010\r\u001a\u00020\u00072\u0006\u0010\f\u001a\u00020\u0005H\u0014¢\u0006\u0004\b\r\u0010\tJ\u0017\u0010\u0010\u001a\u00020\u00072\u0006\u0010\u000f\u001a\u00020\u000eH\u0016¢\u0006\u0004\b\u0010\u0010\u0011R\"\u0010\u0019\u001a\u00020\u00128\u0006@\u0006X\u0087.¢\u0006\u0012\n\u0004\b\u0013\u0010\u0014\u001a\u0004\b\u0015\u0010\u0016\"\u0004\b\u0017\u0010\u0018R\u001a\u0010\u001e\u001a\u00020\u000e8\u0014X\u0094D¢\u0006\f\n\u0004\b\u001a\u0010\u001b\u001a\u0004\b\u001c\u0010\u001d¨\u0006!"}, d2 = {"Lfinance/empower/android/app/email/EditEmailActivity;", "Lbc/m;", "Lfinance/empower/android/app/email/d$b;", "<init>", "()V", "Landroid/os/Bundle;", "savedInstanceState", "", "onCreate", "(Landroid/os/Bundle;)V", "onStart", "onStop", "outState", "onSaveInstanceState", "", "email", "b0", "(Ljava/lang/String;)V", "Lfinance/empower/android/app/email/d;", "i0", "Lfinance/empower/android/app/email/d;", "H1", "()Lfinance/empower/android/app/email/d;", "setPresenter", "(Lfinance/empower/android/app/email/d;)V", "presenter", "j0", "Ljava/lang/String;", "C1", "()Ljava/lang/String;", "pageName", "k0", "a", "empower-app_productionRelease"}, k = 1, mv = {2, 1, HttpStatusCode.NETWORK_ERROR_0}, xi = 48)
public final class EditEmailActivity extends e implements d.b {

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

    public d presenter;

    private final String pageName = "EditEmail";

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

        public final Intent a(Context context) {
            Intrinsics.checkNotNullParameter(context, "context");
            return C0995g.a(context, EditEmailActivity.class, new Pair[0]);
        }

        private Companion() {
        }
    }

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

        public static final Unit g(EditEmailActivity editEmailActivity) {
            editEmailActivity.finish();
            return Unit.a;
        }

        public static final Unit i(d.b.a aVar, String it) {
            Intrinsics.checkNotNullParameter(it, "it");
            Function0 a = ((d.b.a.C0336a) aVar).c().a();
            if (a != null) {
                a.invoke();
            }
            return Unit.a;
        }

        public static final Unit k(EditEmailActivity editEmailActivity, String email) {
            Intrinsics.checkNotNullParameter(email, "email");
            editEmailActivity.H1().u(email);
            return Unit.a;
        }

        public final void f(s0.l lVar, int i) {
            Function1 function1;
            if ((i & 3) == 2 && lVar.w()) {
                lVar.F();
                return;
            }
            if (o.H()) {
                o.Q(-1856814121, i, -1, "finance.empower.android.app.email.EditEmailActivity.onCreate.<anonymous> (EditEmailActivity.kt:52)");
            }
            final d.b.a aVar = (d.b.a) EditEmailActivity.this.H1().o().getValue();
            C1954j c1954j = C1954j.a;
            boolean z = aVar instanceof d.b.a.c;
            String string = EditEmailActivity.this.getString(B.N7);
            Intrinsics.checkNotNullExpressionValue(string, "getString(...)");
            boolean z2 = aVar instanceof d.b.a.C0336a;
            String b = z2 ? ((d.b.a.C0336a) aVar).b() : "";
            String string2 = EditEmailActivity.this.getString(Ge.j.d);
            Intrinsics.checkNotNullExpressionValue(string2, "getString(...)");
            String string3 = EditEmailActivity.this.getString(B.Y7);
            Intrinsics.checkNotNullExpressionValue(string3, "getString(...)");
            C1954j.e eVar = new C1954j.e(string, string2, b, string3);
            lVar.V(-458285258);
            boolean l = lVar.l(EditEmailActivity.this);
            final EditEmailActivity editEmailActivity = EditEmailActivity.this;
            Object f = lVar.f();
            if (l || f == s0.l.a.a()) {
                f = new Function0() {
                    @Override
                    public final Object invoke() {
                        Unit g;
                        g = EditEmailActivity.b.g(EditEmailActivity.this);
                        return g;
                    }
                };
                lVar.M(f);
            }
            Function0 function0 = (Function0) f;
            lVar.L();
            lVar.V(-458283550);
            if (z2) {
                lVar.V(-458280939);
                boolean U = lVar.U(aVar);
                Object f2 = lVar.f();
                if (U || f2 == s0.l.a.a()) {
                    f2 = new Function1() {
                        @Override
                        public final Object invoke(Object obj) {
                            Unit i2;
                            i2 = EditEmailActivity.b.i(d.b.a.this, (String) obj);
                            return i2;
                        }
                    };
                    lVar.M(f2);
                }
                function1 = (Function1) f2;
                lVar.L();
            } else {
                function1 = null;
            }
            lVar.L();
            C1954j.d dVar = new C1954j.d(function0, function1);
            lVar.V(-458274946);
            boolean l2 = lVar.l(EditEmailActivity.this);
            final EditEmailActivity editEmailActivity2 = EditEmailActivity.this;
            Object f3 = lVar.f();
            if (l2 || f3 == s0.l.a.a()) {
                f3 = new Function1() {
                    @Override
                    public final Object invoke(Object obj) {
                        Unit k;
                        k = EditEmailActivity.b.k(EditEmailActivity.this, (String) obj);
                        return k;
                    }
                };
                lVar.M(f3);
            }
            lVar.L();
            c1954j.h(z, eVar, dVar, (Function1) f3, null, lVar, 196608, 16);
            if (o.H()) {
                o.P();
            }
        }

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

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

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

    @Override
    public void b0(String email) {
        Intrinsics.checkNotNullParameter(email, "email");
        setResult(-1, new Intent().putExtra("finance.empower.6520f1ba-bd48-492b-8fa1-663bb77fb24b", email));
        finish();
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        Parcelable parcelable;
        Object parcelable2;
        super.onCreate(savedInstanceState);
        e.e.b(this, (q) null, A0.c.c(-1856814121, true, new b()), 1, (Object) null);
        if (savedInstanceState != null) {
            if (Build.VERSION.SDK_INT > 33) {
                parcelable2 = savedInstanceState.getParcelable("finance.empower.e59c5cb4-2926-4aa4-8bc8-bac474dbb408", d.a.class);
                parcelable = (Parcelable) parcelable2;
            } else {
                Parcelable parcelable3 = savedInstanceState.getParcelable("finance.empower.e59c5cb4-2926-4aa4-8bc8-bac474dbb408");
                parcelable = (d.a) (parcelable3 instanceof d.a ? parcelable3 : null);
            }
            d.a aVar = (d.a) parcelable;
            if (aVar != null) {
                H1().q(aVar);
            }
        }
    }

    protected void onSaveInstanceState(Bundle outState) {
        Intrinsics.checkNotNullParameter(outState, "outState");
        super/*androidx.activity.ComponentActivity*/.onSaveInstanceState(outState);
        outState.putParcelable("finance.empower.e59c5cb4-2926-4aa4-8bc8-bac474dbb408", H1().n());
    }

    @Override
    protected void onStart() {
        super.onStart();
        H1().p();
    }

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