导航菜单

页面标题

页面副标题

CreditNow v1.0.2 - VerifyCurrentMobileActivity.java 源代码

正在查看: CreditNow v1.0.2 应用的 VerifyCurrentMobileActivity.java JAVA 源代码文件

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


package com.aa.my.view;

import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.text.Editable;
import android.text.TextUtils;
import android.text.TextWatcher;
import com.aa.commonuilibrary.R$drawable;
import com.aa.commonuilibrary.base.activity.BaseActivity;
import com.aa.commonuilibrary.customview.CatTextView;
import com.aa.foundation.R$string;
import com.aa.foundation.model.GetUserInfoResp;
import com.aa.my.databinding.ActivityVerifyCurrentMobileBinding;
import com.aa.my.model.CheckLiveResp;
import com.aa.my.model.CheckOperationLimitResp;
import com.aa.my.model.PhotoUploadResp;
import com.aa.my.viewmodel.VerifyCurrentMobileViewModel;
import com.cat.facelibrary.view.FaceGatewayActivity;
import com.orhanobut.logger.Logger;
import defpackage.a10;
import defpackage.a71;
import defpackage.d40;
import defpackage.e00;
import defpackage.f00;
import defpackage.f10;
import defpackage.g10;
import defpackage.h40;
import defpackage.j40;
import defpackage.jp;
import defpackage.k14;
import defpackage.k71;
import defpackage.pm3;
import defpackage.pp1;
import defpackage.pz;
import defpackage.t71;
import defpackage.td;
import defpackage.tp;
import defpackage.v10;
import defpackage.x30;
import defpackage.yq;
import defpackage.z20;
import java.io.File;
import java.io.Serializable;
import kotlin.Metadata;
import kotlin.Unit;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.internal.Intrinsics;
import org.greenrobot.eventbus.ThreadMode;
import org.jetbrains.annotations.NotNull;

@Metadata
@yq
public final class VerifyCurrentMobileActivity extends BaseActivity<VerifyCurrentMobileViewModel, ActivityVerifyCurrentMobileBinding> {

    @Metadata
    public final class a {
        public a() {
        }

        public final void a() {
            VerifyCurrentMobileActivity.this.L1();
        }

        public final void b() {
            VerifyCurrentMobileActivity.this.z1();
        }

        public final void c() {
            VerifyCurrentMobileActivity.this.C1();
        }
    }

    @Metadata
    public static final class b extends jp<tp<Boolean>> {
        public b() {
        }

        @Override
        public void b(Throwable th) {
            VerifyCurrentMobileActivity.this.M0();
            j40.a.b(j40.a, VerifyCurrentMobileActivity.this.Q0(), VerifyCurrentMobileActivity.this.getResources().getString(R$string.str_network_error), 0, 4, null);
        }

        @Override
        public void a(tp<Boolean> tpVar) {
            VerifyCurrentMobileActivity.this.M0();
            td.a.a(VerifyCurrentMobileActivity.this.Q0(), tpVar);
        }

        @Override
        public void c(tp<Boolean> tpVar) {
            VerifyCurrentMobileActivity.this.M0();
            if (tpVar != null && Intrinsics.a(tpVar.data, Boolean.TRUE)) {
                VerifyCurrentMobileActivity.this.K1();
                a10.a.k();
            } else {
                String str = tpVar != null ? tpVar.responseError : null;
                if (TextUtils.isEmpty(str)) {
                    str = VerifyCurrentMobileActivity.this.getResources().getString(R$string.str_network_error);
                }
                j40.a.b(j40.a, VerifyCurrentMobileActivity.this.Q0(), str, 0, 4, null);
            }
        }
    }

    @Metadata
    public static final class c extends jp<tp<CheckLiveResp>> {
        public c() {
        }

        @Override
        public void b(Throwable th) {
            String str;
            VerifyCurrentMobileActivity.this.K0();
            td.a.b(VerifyCurrentMobileActivity.this.Q0());
            if (th == null || (str = th.getMessage()) == null) {
                str = "";
            }
            VerifyCurrentMobileActivity.this.B1("liveness_sdk_network_error", str);
        }

        @Override
        public void a(tp<CheckLiveResp> tpVar) {
            VerifyCurrentMobileActivity.this.K0();
            td.a.a(VerifyCurrentMobileActivity.this.Q0(), tpVar);
        }

        @Override
        public void c(tp<CheckLiveResp> tpVar) {
            CheckLiveResp checkLiveResp;
            String str;
            if (tpVar == null || (checkLiveResp = tpVar.data) == null || !checkLiveResp.getCrystallitic()) {
                VerifyCurrentMobileActivity.this.K0();
                j40.a.b(j40.a, VerifyCurrentMobileActivity.this.Q0(), VerifyCurrentMobileActivity.this.getResources().getString(R$string.str_network_error), 0, 4, null);
                return;
            }
            CheckLiveResp checkLiveResp2 = tpVar.data;
            if (checkLiveResp2 == null || (str = checkLiveResp2.getRenovator()) == null) {
                str = "";
            }
            VerifyCurrentMobileActivity.this.y1(str);
        }
    }

    @Metadata
    public static final class d extends jp<tp<CheckOperationLimitResp>> {
        public final pz b;

        public d(pz pzVar) {
            this.b = pzVar;
        }

        @Override
        public void b(Throwable th) {
            VerifyCurrentMobileActivity.this.M0();
            j40.a.b(j40.a, VerifyCurrentMobileActivity.this.Q0(), VerifyCurrentMobileActivity.this.getResources().getString(R$string.str_network_error), 0, 4, null);
        }

        @Override
        public void a(tp<CheckOperationLimitResp> tpVar) {
            VerifyCurrentMobileActivity.this.M0();
            td.a.a(VerifyCurrentMobileActivity.this.Q0(), tpVar);
        }

        @Override
        public void c(tp<CheckOperationLimitResp> tpVar) {
            CheckOperationLimitResp checkOperationLimitResp;
            CheckOperationLimitResp checkOperationLimitResp2;
            VerifyCurrentMobileActivity.this.M0();
            if (tpVar == null || (checkOperationLimitResp2 = tpVar.data) == null || !Intrinsics.a(checkOperationLimitResp2.getBitterbump(), Boolean.TRUE)) {
                String doblon = (tpVar == null || (checkOperationLimitResp = tpVar.data) == null) ? null : checkOperationLimitResp.getDoblon();
                if (TextUtils.isEmpty(doblon)) {
                    doblon = VerifyCurrentMobileActivity.this.getResources().getString(com.aa.my.R$string.cat_my_str_account_manager_face_failed);
                }
                j40.a.b(j40.a, VerifyCurrentMobileActivity.this.Q0(), doblon, 0, 4, null);
                return;
            }
            VerifyCurrentMobileActivity.this.F1();
            pz pzVar = this.b;
            if (pzVar != null) {
                pzVar.b();
            }
        }
    }

    @Metadata
    public static final class e extends jp<tp<Boolean>> {
        public final String b;

        public e(String str) {
            this.b = str;
        }

        @Override
        public void b(Throwable th) {
            VerifyCurrentMobileActivity.this.K0();
            j40.a.b(j40.a, VerifyCurrentMobileActivity.this.Q0(), VerifyCurrentMobileActivity.this.getResources().getString(R$string.str_network_error), 0, 4, null);
        }

        @Override
        public void a(tp<Boolean> tpVar) {
            VerifyCurrentMobileActivity.this.K0();
            VerifyCurrentMobileActivity.this.M1();
        }

        @Override
        public void c(tp<Boolean> tpVar) {
            VerifyCurrentMobileActivity.this.K0();
            if (tpVar == null || !Intrinsics.a(tpVar.data, Boolean.TRUE)) {
                VerifyCurrentMobileActivity.this.M1();
            } else {
                VerifyCurrentMobileActivity.this.G1("authTypeFace", this.b);
            }
        }
    }

    @Metadata
    public static final class f extends jp<tp<Void>> {
        public f() {
        }

        @Override
        public void b(Throwable th) {
            VerifyCurrentMobileActivity.this.M0();
            j40.a.b(j40.a, VerifyCurrentMobileActivity.this.Q0(), VerifyCurrentMobileActivity.this.getResources().getString(R$string.str_network_error), 0, 4, null);
        }

        @Override
        public void a(tp<Void> tpVar) {
            VerifyCurrentMobileActivity.this.M0();
            td.a.a(VerifyCurrentMobileActivity.this.Q0(), tpVar);
        }

        @Override
        public void c(tp<Void> tpVar) {
            VerifyCurrentMobileActivity.this.M0();
            new d40(VerifyCurrentMobileActivity.this.Q0()).a();
            ((VerifyCurrentMobileViewModel) VerifyCurrentMobileActivity.this.O0()).countDown(((ActivityVerifyCurrentMobileBinding) VerifyCurrentMobileActivity.this.n1()).tvResendAcVerifyCurrentMobile);
        }
    }

    @Metadata
    public static final class h extends jp<tp<Boolean>> {
        public h() {
        }

        @Override
        public void b(Throwable th) {
            VerifyCurrentMobileActivity.this.M0();
            j40.a.b(j40.a, VerifyCurrentMobileActivity.this.Q0(), VerifyCurrentMobileActivity.this.getResources().getString(R$string.str_network_error), 0, 4, null);
        }

        @Override
        public void a(tp<Boolean> tpVar) {
            VerifyCurrentMobileActivity.this.M0();
            td.a.a(VerifyCurrentMobileActivity.this.Q0(), tpVar);
        }

        @Override
        public void c(tp<Boolean> tpVar) {
            String str;
            String mFunctionType = ((VerifyCurrentMobileViewModel) VerifyCurrentMobileActivity.this.O0()).getMFunctionType();
            if (Intrinsics.a(mFunctionType, "changeMobile")) {
                VerifyCurrentMobileActivity.this.M0();
                if (tpVar != null && Intrinsics.a(tpVar.data, Boolean.TRUE)) {
                    VerifyCurrentMobileActivity.this.G1("authTypeSms", "");
                    return;
                }
                str = tpVar != null ? tpVar.responseError : null;
                if (str == null) {
                    str = "";
                }
                if (TextUtils.isEmpty(str)) {
                    str = VerifyCurrentMobileActivity.this.getResources().getString(com.aa.my.R$string.str_otp_verify_failed);
                    Intrinsics.checkNotNullExpressionValue(str, "getString(...)");
                }
                j40.a.b(j40.a, VerifyCurrentMobileActivity.this.Q0(), str, 0, 4, null);
                ((ActivityVerifyCurrentMobileBinding) VerifyCurrentMobileActivity.this.n1()).etOtpAcVerifyCurrentMobile.setText("");
                return;
            }
            if (Intrinsics.a(mFunctionType, "accountCancellation")) {
                if (tpVar != null && Intrinsics.a(tpVar.data, Boolean.TRUE)) {
                    VerifyCurrentMobileActivity.this.v1();
                    return;
                }
                VerifyCurrentMobileActivity.this.M0();
                str = tpVar != null ? tpVar.responseError : null;
                if (str == null) {
                    str = "";
                }
                if (TextUtils.isEmpty(str)) {
                    str = VerifyCurrentMobileActivity.this.getResources().getString(com.aa.my.R$string.str_otp_verify_failed);
                    Intrinsics.checkNotNullExpressionValue(str, "getString(...)");
                }
                j40.a.b(j40.a, VerifyCurrentMobileActivity.this.Q0(), str, 0, 4, null);
                ((ActivityVerifyCurrentMobileBinding) VerifyCurrentMobileActivity.this.n1()).etOtpAcVerifyCurrentMobile.setText("");
            }
        }
    }

    @Metadata
    public static final class j extends o02 implements Function0<Unit> {
        final String $transactionId;

        public j(String str) {
            super(0);
            this.$transactionId = str;
        }

        public Object invoke() {
            m108invoke();
            return Unit.a;
        }

        public final void m108invoke() {
            f10 N0 = VerifyCurrentMobileActivity.this.N0();
            if (N0 != null) {
                f10 N02 = VerifyCurrentMobileActivity.this.N0();
                N0.r(N02 != null ? N02.p() : null);
            }
            VerifyCurrentMobileActivity.this.w1(this.$transactionId);
        }
    }

    @Metadata
    public static final class n extends jp<tp<PhotoUploadResp>> {
        public n() {
        }

        @Override
        public void b(Throwable th) {
            String str;
            VerifyCurrentMobileActivity.this.M0();
            j40.a.b(j40.a, VerifyCurrentMobileActivity.this.Q0(), VerifyCurrentMobileActivity.this.getResources().getString(R$string.str_network_error), 0, 4, null);
            if (th == null || (str = th.getMessage()) == null) {
                str = "";
            }
            VerifyCurrentMobileActivity.this.B1("liveness_camera_network_error", str);
        }

        @Override
        public void a(tp<PhotoUploadResp> tpVar) {
            VerifyCurrentMobileActivity.this.M0();
            td.a.a(VerifyCurrentMobileActivity.this.Q0(), tpVar);
            StringBuilder sb = new StringBuilder();
            Object obj = tpVar != null ? tpVar.responseCode : null;
            if (obj == null) {
                obj = "";
            }
            sb.append(obj);
            sb.append(' ');
            String str = tpVar != null ? tpVar.responseError : null;
            sb.append(str != null ? str : "");
            VerifyCurrentMobileActivity.this.B1("liveness_camera_network_error", sb.toString());
        }

        @Override
        public void c(tp<PhotoUploadResp> tpVar) {
            String str;
            PhotoUploadResp photoUploadResp;
            PhotoUploadResp photoUploadResp2;
            if (tpVar != null && (photoUploadResp2 = tpVar.data) != null) {
                photoUploadResp2.getCheetul();
            }
            if (tpVar == null || (photoUploadResp = tpVar.data) == null || (str = photoUploadResp.getSteamboats()) == null) {
                str = "";
            }
            VerifyCurrentMobileActivity.this.y1(str);
        }
    }

    public final void B1(String str, String str2) {
        ((VerifyCurrentMobileViewModel) O0()).dealWithUploadFaceResultResp(str, str2, new g());
    }

    private final void D1() {
        String str;
        String queryParameter;
        Uri data = getIntent().getData();
        Object b2 = z20.a().b((data == null || (queryParameter = data.getQueryParameter("dataCode")) == null) ? 0 : Integer.parseInt(queryParameter));
        ((VerifyCurrentMobileViewModel) O0()).setMUseInfo(b2 instanceof GetUserInfoResp ? (GetUserInfoResp) b2 : null);
        Uri data2 = getIntent().getData();
        if (data2 == null || (str = data2.getQueryParameter("functionType")) == null) {
            str = "";
        }
        ((VerifyCurrentMobileViewModel) O0()).setMFunctionType(str);
    }

    public final void F1() {
        Intent intent = new Intent(this, (Class<?>) FaceGatewayActivity.class);
        intent.putExtra("catRequestCode", String.valueOf(9528));
        startActivityForResult(intent, 9528);
    }

    private final void H1(String str) {
        if (TextUtils.isEmpty(str)) {
            j40.a.b(j40.a, Q0(), getResources().getString(R$string.str_network_error), 0, 4, null);
        } else {
            N1(str);
        }
    }

    private final void I1(int i2, int i3, Intent intent) {
        Bundle extras;
        Serializable serializable = (intent == null || (extras = intent.getExtras()) == null) ? null : extras.getSerializable("FACE_RESULT");
        k71 k71Var = serializable instanceof k71 ? (k71) serializable : null;
        Integer valueOf = k71Var != null ? Integer.valueOf(k71Var.d()) : null;
        if (valueOf != null && valueOf.intValue() == 8001) {
            String e2 = k71Var.e();
            if (e2 == null) {
                e2 = "";
            }
            k1(10, new j(e2));
            return;
        }
        if (valueOf != null && valueOf.intValue() == 8002) {
            j40.a.b(j40.a, Q0(), k71Var.a(), 0, 4, null);
        }
    }

    public final void K1() {
        e00 B;
        e00 C;
        e00 A;
        e00 v;
        e00 e00Var = new e00();
        String string = getResources().getString(com.aa.my.R$string.cat_my_str_account_cancellation_success_title);
        Intrinsics.checkNotNullExpressionValue(string, "getString(...)");
        String f2 = g10.a.f();
        StringBuilder sb = new StringBuilder();
        sb.append("Tu cuenta " + f2 + " ha sido cerrada. Esperamos poder servirle nuevamente en el futuro en CreditNow.");
        String string2 = getResources().getString(com.aa.my.R$string.str_continuar);
        Intrinsics.checkNotNullExpressionValue(string2, "getString(...)");
        e00 n2 = e00Var.n(this, f00.b.a);
        if (n2 != null && (B = n2.B(string)) != null && (C = B.C(R$drawable.cat_icon_common_dialog_success)) != null && (A = C.A(sb.toString())) != null && (v = A.v(string2)) != null) {
            v.h();
        }
        e00Var.y(new k(e00Var, this));
    }

    private final void N1(String str) {
        if (TextUtils.isEmpty(str)) {
            return;
        }
        Intrinsics.c(str);
        File file = new File(str);
        l1();
        ((VerifyCurrentMobileViewModel) O0()).dealWithPhotoUploadResp(file, 20, new n());
    }

    public final void A1() {
        l1();
        ((VerifyCurrentMobileViewModel) O0()).dealWithSendMessageResp(((VerifyCurrentMobileViewModel) O0()).getMMobile(), new f());
    }

    public final void C1() {
        String E1 = E1();
        l1();
        ((VerifyCurrentMobileViewModel) O0()).dealWithValidSmsCodeResp(((VerifyCurrentMobileViewModel) O0()).getMMobile(), E1, new h());
    }

    @NotNull
    public final String E1() {
        return String.valueOf(((ActivityVerifyCurrentMobileBinding) n1()).etOtpAcVerifyCurrentMobile.getText());
    }

    public final void G1(@NotNull String str, String str2) {
        Intrinsics.checkNotNullParameter(str, "authType");
        Logger.d("Pain22-->" + str2, new Object[0]);
        String str3 = pm3.a(Q0(), "verifyNewMobile") + "?authType=" + str;
        Bundle bundle = new Bundle();
        if (str2 == null) {
            str2 = "";
        }
        bundle.putString("mLivenessImageUrl", str2);
        x30.a().e(Q0(), str3, bundle);
    }

    public final void J1() {
        String mFunctionType = ((VerifyCurrentMobileViewModel) O0()).getMFunctionType();
        if (Intrinsics.a(mFunctionType, "changeMobile")) {
            ((ActivityVerifyCurrentMobileBinding) n1()).tvTitleAcVerifyCurrentMobile.setText(getResources().getString(com.aa.my.R$string.str_verify_current_mobile_1));
        } else if (Intrinsics.a(mFunctionType, "accountCancellation")) {
            ((ActivityVerifyCurrentMobileBinding) n1()).tvTitleAcVerifyCurrentMobile.setText(getResources().getString(com.aa.my.R$string.str_verify_current_mobile_2));
        }
    }

    public final void L1() {
        e00 B;
        e00 C;
        e00 A;
        e00 w;
        e00 x;
        e00 e00Var = new e00();
        String string = getResources().getString(com.aa.my.R$string.cat_my_str_change_mobile_dialog_face_title);
        Intrinsics.checkNotNullExpressionValue(string, "getString(...)");
        String string2 = getResources().getString(com.aa.my.R$string.cat_my_str_change_mobile_dialog_face_desc);
        Intrinsics.checkNotNullExpressionValue(string2, "getString(...)");
        String string3 = getResources().getString(com.aa.commonuilibrary.R$string.str_cancel);
        Intrinsics.checkNotNullExpressionValue(string3, "getString(...)");
        String string4 = getResources().getString(com.aa.commonuilibrary.R$string.str_next_step);
        Intrinsics.checkNotNullExpressionValue(string4, "getString(...)");
        e00 n2 = e00Var.n(this, f00.d.a);
        if (n2 != null && (B = n2.B(string)) != null && (C = B.C(R$drawable.cat_ling)) != null && (A = C.A(string2)) != null && (w = A.w(string3)) != null && (x = w.x(string4)) != null) {
            x.h();
        }
        e00Var.y(new l(e00Var, this));
    }

    public final void M1() {
        e00 B;
        e00 C;
        e00 p;
        e00 v;
        e00 e00Var = new e00();
        String string = getResources().getString(com.aa.my.R$string.cat_my_str_change_mobile_dialog_face_compare_failed);
        Intrinsics.checkNotNullExpressionValue(string, "getString(...)");
        String string2 = getResources().getString(com.aa.my.R$string.cat_my_str_change_mobile_dialog_face_btn);
        Intrinsics.checkNotNullExpressionValue(string2, "getString(...)");
        e00 n2 = e00Var.n(this, f00.b.a);
        if (n2 != null && (B = n2.B(string)) != null && (C = B.C(R$drawable.cat_icon_forbid)) != null && (p = e00.p(C, false, 1, null)) != null && (v = p.v(string2)) != null) {
            v.h();
        }
        e00Var.y(new m(e00Var));
    }

    @Override
    public void V0(Bundle bundle) {
        h40.a.d(this);
        g10.a aVar = g10.a;
        String f2 = aVar.f();
        ((ActivityVerifyCurrentMobileBinding) n1()).setClick(new a());
        ((VerifyCurrentMobileViewModel) O0()).setMMobile(aVar.f());
        D1();
        J1();
        ((ActivityVerifyCurrentMobileBinding) n1()).tvMobileAcVerifyCurrentMobile.setText(a10.a.j(f2));
        ((ActivityVerifyCurrentMobileBinding) n1()).etOtpAcVerifyCurrentMobile.addTextChangedListener(new i());
        CatTextView catTextView = ((ActivityVerifyCurrentMobileBinding) n1()).tvFace;
        Intrinsics.checkNotNullExpressionValue(catTextView, "tvFace");
        dr4.e(catTextView);
        if (Intrinsics.a(((VerifyCurrentMobileViewModel) O0()).getMFunctionType(), "changeMobile") && ((VerifyCurrentMobileViewModel) O0()).isRealNameSuccess()) {
            CatTextView catTextView2 = ((ActivityVerifyCurrentMobileBinding) n1()).tvFace;
            Intrinsics.checkNotNullExpressionValue(catTextView2, "tvFace");
            dr4.g(catTextView2);
        }
        z1();
    }

    @Override
    public void onActivityResult(int i2, int i3, Intent intent) {
        Bundle extras;
        super.onActivityResult(i2, i3, intent);
        if (i2 == 9528 && i3 == -1) {
            Serializable serializable = (intent == null || (extras = intent.getExtras()) == null) ? null : extras.getSerializable("FACE_RESULT");
            k71 k71Var = serializable instanceof k71 ? (k71) serializable : null;
            if (k71Var == null) {
                j40.a.b(j40.a, Q0(), getResources().getString(R$string.str_network_error), 0, 4, null);
                return;
            }
            a71 b2 = k71Var.b();
            if (b2 == null) {
                j40.a.b(j40.a, Q0(), getResources().getString(R$string.str_network_error), 0, 4, null);
                return;
            }
            if (Intrinsics.a(b2, a71.a.a)) {
                H1(k71Var.c());
            } else if (Intrinsics.a(b2, a71.b.a)) {
                I1(i2, i3, intent);
            } else {
                j40.a.b(j40.a, Q0(), getResources().getString(R$string.str_network_error), 0, 4, null);
            }
        }
    }

    @Override
    public void onDestroy() {
        if (g10.a.c()) {
            t71.a();
        }
        super.onDestroy();
    }

    @f94(threadMode = ThreadMode.MAIN)
    public final void onMessageEvent(v10<k14> v10Var) {
        k14 b2;
        if (v10Var != null && v10Var.a() == v10.h && (b2 = v10Var.b()) != null && b2.b()) {
            String a2 = b2.a();
            if (a2 == null) {
                a2 = "";
            }
            if (TextUtils.isEmpty(a2)) {
                return;
            }
            ((ActivityVerifyCurrentMobileBinding) n1()).etOtpAcVerifyCurrentMobile.setText(a2);
        }
    }

    public final void v1() {
        ((VerifyCurrentMobileViewModel) O0()).dealWithAccountCancelResp(Q0(), E1(), new b());
    }

    public final void w1(String str) {
        ((VerifyCurrentMobileViewModel) O0()).dealWithCheckLiveResp(str, new c());
    }

    public final void x1(pz pzVar) {
        l1();
        ((VerifyCurrentMobileViewModel) O0()).dealWithCheckOperationLimitResp(5, new d(pzVar));
    }

    public final void y1(String str) {
        ((VerifyCurrentMobileViewModel) O0()).dealWithFaceCompareResp(str, new e(str));
    }

    public final void z1() {
        if (((VerifyCurrentMobileViewModel) O0()).getMCanClickSend()) {
            A1();
        }
    }

    @Metadata
    public static final class k implements pp1 {
        public final e00 a;
        public final VerifyCurrentMobileActivity b;

        public k(e00 e00Var, VerifyCurrentMobileActivity verifyCurrentMobileActivity) {
            this.a = e00Var;
            this.b = verifyCurrentMobileActivity;
        }

        @Override
        public void c() {
            this.a.b();
            x30.a().d(this.b.Q0(), pm3.a(this.b.Q0(), "notLogin"));
        }

        @Override
        public void a() {
        }

        @Override
        public void b() {
        }
    }

    @Metadata
    public static final class l implements pp1 {
        public final e00 a;
        public final VerifyCurrentMobileActivity b;

        public l(e00 e00Var, VerifyCurrentMobileActivity verifyCurrentMobileActivity) {
            this.a = e00Var;
            this.b = verifyCurrentMobileActivity;
        }

        @Override
        public void a() {
            this.a.b();
        }

        @Override
        public void b() {
            this.b.x1(this.a);
        }

        @Override
        public void c() {
        }
    }

    @Metadata
    public static final class m implements pp1 {
        public final e00 a;

        public m(e00 e00Var) {
            this.a = e00Var;
        }

        @Override
        public void c() {
            this.a.b();
        }

        @Override
        public void a() {
        }

        @Override
        public void b() {
        }
    }

    @Metadata
    public static final class g extends jp<tp<Void>> {
        @Override
        public void b(Throwable th) {
        }

        @Override
        public void a(tp<Void> tpVar) {
        }

        @Override
        public void c(tp<Void> tpVar) {
        }
    }

    @Metadata
    public static final class i implements TextWatcher {
        public i() {
        }

        @Override
        public void onTextChanged(CharSequence charSequence, int i, int i2, int i3) {
            if (charSequence == null || charSequence.length() != 6) {
                ((ActivityVerifyCurrentMobileBinding) VerifyCurrentMobileActivity.this.n1()).tvSubmitAcVerifyCurrentMobile.setAble(false);
            } else {
                ((ActivityVerifyCurrentMobileBinding) VerifyCurrentMobileActivity.this.n1()).tvSubmitAcVerifyCurrentMobile.setAble(true);
            }
        }

        @Override
        public void afterTextChanged(Editable editable) {
        }

        @Override
        public void beforeTextChanged(CharSequence charSequence, int i, int i2, int i3) {
        }
    }
}