导航菜单

页面标题

页面副标题

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

正在查看: Empower MX v1.29.4.340 应用的 EmailVerificationActivity.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.Bundle;
import android.os.Handler;
import android.os.Looper;
import bf.InterfaceC1100f;
import com.withpersona.sdk2.inquiry.network.HttpStatusCode;
import ec.C1240b;
import ec.H;
import finance.empower.android.app.email.EmailVerificationActivity;
import kotlin.Metadata;
import kotlin.Pair;
import kotlin.Unit;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
import kotlin.text.StringsKt;
import lc.AbstractC1923h;
import oe.J1;
import of.AbstractC2126a;
import sf.m;
import ue.AbstractC2337a;
import ye.s;

@Metadata(d1 = {"\u0000^\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010\t\n\u0002\b\u0003\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\b\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u000e\b\u0007\u0018\u0000 >2\u00020\u0001:\u0001?B\u0007¢\u0006\u0004\b\u0002\u0010\u0003J%\u0010\t\u001a\u00020\u00052\f\u0010\u0006\u001a\b\u0012\u0004\u0012\u00020\u00050\u00042\u0006\u0010\b\u001a\u00020\u0007H\u0002¢\u0006\u0004\b\t\u0010\nJ\u0017\u0010\r\u001a\u00020\u00052\u0006\u0010\f\u001a\u00020\u000bH\u0002¢\u0006\u0004\b\r\u0010\u000eJ\u0019\u0010\u0011\u001a\u00020\u00052\b\u0010\u0010\u001a\u0004\u0018\u00010\u000fH\u0014¢\u0006\u0004\b\u0011\u0010\u0012J\u000f\u0010\u0013\u001a\u00020\u0005H\u0014¢\u0006\u0004\b\u0013\u0010\u0003J\u0017\u0010\u0016\u001a\u00020\u00052\u0006\u0010\u0015\u001a\u00020\u0014H\u0014¢\u0006\u0004\b\u0016\u0010\u0017J\u000f\u0010\u0018\u001a\u00020\u0005H\u0016¢\u0006\u0004\b\u0018\u0010\u0003R\u0014\u0010\u001c\u001a\u00020\u00198\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u001a\u0010\u001bR*\u0010%\u001a\u00020\u001d2\u0006\u0010\u001e\u001a\u00020\u001d8\u0006@GX\u0086.¢\u0006\u0012\n\u0004\b\u001f\u0010 \u001a\u0004\b!\u0010\"\"\u0004\b#\u0010$R*\u0010-\u001a\u00020&2\u0006\u0010\u001e\u001a\u00020&8\u0006@GX\u0086.¢\u0006\u0012\n\u0004\b'\u0010(\u001a\u0004\b)\u0010*\"\u0004\b+\u0010,R\u0014\u00101\u001a\u00020.8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b/\u00100R\u001b\u00107\u001a\u0002028BX\u0082\u0084\u0002¢\u0006\f\n\u0004\b3\u00104\u001a\u0004\b5\u00106R\u001a\u0010<\u001a\u00020\u000b8\u0014X\u0094D¢\u0006\f\n\u0004\b8\u00109\u001a\u0004\b:\u0010;R\u0014\u0010\f\u001a\u00020\u000b8BX\u0082\u0004¢\u0006\u0006\u001a\u0004\b=\u0010;¨\u0006@"}, d2 = {"Lfinance/empower/android/app/email/EmailVerificationActivity;", "Lbc/m;", "<init>", "()V", "Lkotlin/Function0;", "", "function", "", "delay", "O1", "(Lkotlin/jvm/functions/Function0;J)V", "", "confirmationCode", "X1", "(Ljava/lang/String;)V", "Landroid/os/Bundle;", "savedInstanceState", "onCreate", "(Landroid/os/Bundle;)V", "onStop", "Landroid/content/Intent;", "intent", "onNewIntent", "(Landroid/content/Intent;)V", "finish", "Landroid/os/Handler;", "i0", "Landroid/os/Handler;", "handler", "Loe/J1;", "value", "j0", "Loe/J1;", "T1", "()Loe/J1;", "W1", "(Loe/J1;)V", "userService", "Lec/H;", "k0", "Lec/H;", "R1", "()Lec/H;", "V1", "(Lec/H;)V", "errorComponent", "LZe/a;", "l0", "LZe/a;", "disposables", "LMd/m;", "m0", "Lsf/l;", "S1", "()LMd/m;", "progressDialog", "n0", "Ljava/lang/String;", "C1", "()Ljava/lang/String;", "pageName", "Q1", "o0", "a", "empower-app_productionRelease"}, k = 1, mv = {2, 1, HttpStatusCode.NETWORK_ERROR_0}, xi = 48)
public final class EmailVerificationActivity extends f {

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

    public J1 userService;

    public H errorComponent;

    private final Handler handler = new Handler(Looper.getMainLooper());

    private final Ze.a disposables = new Ze.a();

    private final sf.l progressDialog = m.a(new Function0() {
        @Override
        public final Object invoke() {
            Md.m U1;
            U1 = EmailVerificationActivity.U1(EmailVerificationActivity.this);
            return U1;
        }
    });

    private final String pageName = "VerifyEmail";

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

        public final Intent a(Context context, String confirmationCode) {
            Intrinsics.checkNotNullParameter(context, "context");
            Intrinsics.checkNotNullParameter(confirmationCode, "confirmationCode");
            Intent putExtra = C0995g.a(context, EmailVerificationActivity.class, new Pair[0]).putExtra("finance.empower.645ff40a-27e4-4e18-84c9-bc6444a25187", confirmationCode);
            Intrinsics.checkNotNullExpressionValue(putExtra, "putExtra(...)");
            return putExtra;
        }

        private Companion() {
        }
    }

    private final void O1(final Function0 function, long delay) {
        this.handler.postDelayed(new Runnable() {
            @Override
            public final void run() {
                EmailVerificationActivity.P1(Function0.this);
            }
        }, delay);
    }

    public static final void P1(Function0 function0) {
        function0.invoke();
    }

    private final String Q1() {
        Bundle extras = getIntent().getExtras();
        Intrinsics.f(extras);
        String string = extras.getString("finance.empower.645ff40a-27e4-4e18-84c9-bc6444a25187");
        Intrinsics.f(string);
        return string;
    }

    private final Md.m S1() {
        return (Md.m) this.progressDialog.getValue();
    }

    public static final Md.m U1(EmailVerificationActivity emailVerificationActivity) {
        Md.m mVar = new Md.m(emailVerificationActivity, 0, 2, null);
        mVar.e(B.D8);
        return mVar;
    }

    private final void X1(String confirmationCode) {
        if (StringsKt.f0(confirmationCode)) {
            throw new IllegalArgumentException("Failed requirement.");
        }
        S1().show();
        Ve.i n = T1().U(confirmationCode).n(Ye.a.a());
        final Function1 function1 = new Function1() {
            @Override
            public final Object invoke(Object obj) {
                Unit Y1;
                Y1 = EmailVerificationActivity.Y1(EmailVerificationActivity.this, (Ze.b) obj);
                return Y1;
            }
        };
        Ve.i e = n.e(new InterfaceC1100f() {
            @Override
            public final void a(Object obj) {
                EmailVerificationActivity.Z1(Function1.this, obj);
            }
        });
        Intrinsics.checkNotNullExpressionValue(e, "doOnSubscribe(...)");
        AbstractC2126a.a(s.J(e, new Function1() {
            @Override
            public final Object invoke(Object obj) {
                Unit a2;
                a2 = EmailVerificationActivity.a2(EmailVerificationActivity.this, (Unit) obj);
                return a2;
            }
        }, new Function1() {
            @Override
            public final Object invoke(Object obj) {
                Unit c2;
                c2 = EmailVerificationActivity.c2(EmailVerificationActivity.this, (AbstractC2337a) obj);
                return c2;
            }
        }), this.disposables);
    }

    public static final Unit Y1(EmailVerificationActivity emailVerificationActivity, Ze.b bVar) {
        emailVerificationActivity.S1().show();
        return Unit.a;
    }

    public static final void Z1(Function1 function1, Object obj) {
        function1.invoke(obj);
    }

    public static final Unit a2(final EmailVerificationActivity emailVerificationActivity, Unit it) {
        Intrinsics.checkNotNullParameter(it, "it");
        AbstractC1923h.d(emailVerificationActivity.B1());
        final Md.m S1 = emailVerificationActivity.S1();
        S1.d();
        S1.f(emailVerificationActivity.getString(B.C8));
        emailVerificationActivity.O1(new Function0() {
            @Override
            public final Object invoke() {
                Unit b2;
                b2 = EmailVerificationActivity.b2(Md.m.this, emailVerificationActivity);
                return b2;
            }
        }, 2000L);
        return Unit.a;
    }

    public static final Unit b2(Md.m mVar, EmailVerificationActivity emailVerificationActivity) {
        mVar.dismiss();
        emailVerificationActivity.finish();
        return Unit.a;
    }

    public static final Unit c2(EmailVerificationActivity emailVerificationActivity, AbstractC2337a error) {
        Intrinsics.checkNotNullParameter(error, "error");
        AbstractC1923h.c(emailVerificationActivity.B1(), new C1240b.C0305b(C1240b.C0305b.a.e, error, null, null, 12, null));
        emailVerificationActivity.R1().k(error);
        return Unit.a;
    }

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

    public final H R1() {
        H h = this.errorComponent;
        if (h != null) {
            return h;
        }
        Intrinsics.x("errorComponent");
        return null;
    }

    public final J1 T1() {
        J1 j1 = this.userService;
        if (j1 != null) {
            return j1;
        }
        Intrinsics.x("userService");
        return null;
    }

    public final void V1(H h) {
        Intrinsics.checkNotNullParameter(h, "<set-?>");
        this.errorComponent = h;
    }

    public final void W1(J1 j1) {
        Intrinsics.checkNotNullParameter(j1, "<set-?>");
        this.userService = j1;
    }

    public void finish() {
        super/*android.app.Activity*/.finish();
        overridePendingTransition(0, 0);
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        X1(Q1());
    }

    protected void onNewIntent(Intent intent) {
        Intrinsics.checkNotNullParameter(intent, "intent");
        super/*androidx.activity.ComponentActivity*/.onNewIntent(intent);
        setIntent(intent);
    }

    protected void onStop() {
        R1().i();
        super.onStop();
    }
}