正在查看: Empower MX v1.29.4.340 应用的 CurpValidationActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Empower MX v1.29.4.340 应用的 CurpValidationActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package finance.empower.android.app.onboarding.curp.validation;
import D6.E;
import Gf.C0765p;
import Je.B;
import Wc.e;
import Xc.f;
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 d.C;
import ec.C1240b;
import finance.empower.android.app.address.validation.AddressValidationActivity;
import finance.empower.android.app.onboarding.curp.validation.CurpValidationActivity;
import finance.empower.android.app.onboarding.curp.validation.b;
import finance.empower.android.app.onboarding.idverification.OnboardingUserDetailsActivity;
import hg.t;
import kotlin.Metadata;
import kotlin.NoWhenBranchMatchedException;
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 kotlin.reflect.h;
import s0.o;
import s0.q;
import s0.z1;
import sf.l;
import sf.m;
import ye.AbstractC2485b;
@Metadata(d1 = {"\u0000<\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0010\u000e\n\u0002\b\u0007\n\u0002\u0018\u0002\n\u0002\b\u0003\b\u0007\u0018\u0000 \"2\u00020\u0001:\u0001#B\u0007¢\u0006\u0004\b\u0002\u0010\u0003J\u000f\u0010\u0005\u001a\u00020\u0004H\u0002¢\u0006\u0004\b\u0005\u0010\u0003J\u000f\u0010\u0006\u001a\u00020\u0004H\u0002¢\u0006\u0004\b\u0006\u0010\u0003J\u0019\u0010\t\u001a\u00020\u00042\b\u0010\b\u001a\u0004\u0018\u00010\u0007H\u0014¢\u0006\u0004\b\t\u0010\nJ\u000f\u0010\u000b\u001a\u00020\u0004H\u0014¢\u0006\u0004\b\u000b\u0010\u0003J\u0017\u0010\r\u001a\u00020\u00042\u0006\u0010\f\u001a\u00020\u0007H\u0014¢\u0006\u0004\b\r\u0010\nR\"\u0010\u0015\u001a\u00020\u000e8\u0006@\u0006X\u0087.¢\u0006\u0012\n\u0004\b\u000f\u0010\u0010\u001a\u0004\b\u0011\u0010\u0012\"\u0004\b\u0013\u0010\u0014R\u001b\u0010\u001b\u001a\u00020\u00168BX\u0082\u0084\u0002¢\u0006\f\n\u0004\b\u0017\u0010\u0018\u001a\u0004\b\u0019\u0010\u001aR\u001c\u0010!\u001a\u0004\u0018\u00010\u001c8\u0014X\u0094\u0004¢\u0006\f\n\u0004\b\u001d\u0010\u001e\u001a\u0004\b\u001f\u0010 ¨\u0006'²\u0006\u0014\u0010&\u001a\n %*\u0004\u0018\u00010$0$8\nX\u008a\u0084\u0002"}, d2 = {"Lfinance/empower/android/app/onboarding/curp/validation/CurpValidationActivity;", "Lbc/m;", "<init>", "()V", "", "M1", "L1", "Landroid/os/Bundle;", "savedInstanceState", "onCreate", "(Landroid/os/Bundle;)V", "onStart", "outState", "onSaveInstanceState", "Lfinance/empower/android/app/onboarding/curp/validation/b;", "i0", "Lfinance/empower/android/app/onboarding/curp/validation/b;", "K1", "()Lfinance/empower/android/app/onboarding/curp/validation/b;", "setViewModel", "(Lfinance/empower/android/app/onboarding/curp/validation/b;)V", "viewModel", "LWc/e;", "j0", "Lsf/l;", "J1", "()LWc/e;", "source", "", "k0", "Ljava/lang/String;", "C1", "()Ljava/lang/String;", "pageName", "l0", "a", "Lfinance/empower/android/app/onboarding/curp/validation/b$c;", "kotlin.jvm.PlatformType", "viewState", "empower-app_productionRelease"}, k = 1, mv = {2, 1, HttpStatusCode.NETWORK_ERROR_0}, xi = 48)
public final class CurpValidationActivity extends finance.empower.android.app.onboarding.curp.validation.c {
public static final Companion INSTANCE = new Companion(null);
public static final int m0 = 8;
public finance.empower.android.app.onboarding.curp.validation.b viewModel;
private final l source = m.a(new Function0() {
@Override
public final Object invoke() {
e O1;
O1 = CurpValidationActivity.O1(CurpValidationActivity.this);
return O1;
}
});
private final String pageName;
public static final class Companion {
public Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
public final Intent a(Context context, e source) {
Intrinsics.checkNotNullParameter(context, "context");
Intrinsics.checkNotNullParameter(source, "source");
Intent a = C0995g.a(context, CurpValidationActivity.class, new Pair[0]);
AbstractC2485b.a(a, "finance.empower.1ea9b0a0-3d47-4f34-8bdf-773bd53424c2", source);
return a;
}
private Companion() {
}
}
public class b {
public static final int[] a;
public static final int[] b;
static {
int[] iArr = new int[b.a.values().length];
try {
iArr[b.a.d.ordinal()] = 1;
} catch (NoSuchFieldError unused) {
}
try {
iArr[b.a.e.ordinal()] = 2;
} catch (NoSuchFieldError unused2) {
}
a = iArr;
int[] iArr2 = new int[e.values().length];
try {
iArr2[e.d.ordinal()] = 1;
} catch (NoSuchFieldError unused3) {
}
try {
iArr2[e.e.ordinal()] = 2;
} catch (NoSuchFieldError unused4) {
}
try {
iArr2[e.i.ordinal()] = 3;
} catch (NoSuchFieldError unused5) {
}
try {
iArr2[e.v.ordinal()] = 4;
} catch (NoSuchFieldError unused6) {
}
b = iArr2;
}
}
static final class c implements Function2 {
class a extends C0765p implements Function0 {
a(Object obj) {
super(0, obj, finance.empower.android.app.onboarding.curp.validation.b.class, "contactSupport", "contactSupport()V", 0);
}
@Override
public Object invoke() {
u();
return Unit.a;
}
public final void u() {
((finance.empower.android.app.onboarding.curp.validation.b) this.e).q();
}
}
class b extends C0765p implements Function0 {
b(Object obj) {
super(0, obj, finance.empower.android.app.onboarding.curp.validation.b.class, "onSubmitClicked", "onSubmitClicked()V", 0);
}
@Override
public Object invoke() {
u();
return Unit.a;
}
public final void u() {
((finance.empower.android.app.onboarding.curp.validation.b) this.e).F();
}
}
c() {
}
private static final b.c d(z1 z1Var) {
return (b.c) z1Var.getValue();
}
public static final Unit f(CurpValidationActivity curpValidationActivity) {
curpValidationActivity.finish();
return Unit.a;
}
public final void c(s0.l lVar, int i) {
String str;
if ((i & 3) == 2 && lVar.w()) {
lVar.F();
return;
}
if (o.H()) {
o.Q(1763291085, i, -1, "finance.empower.android.app.onboarding.curp.validation.CurpValidationActivity.onCreate.<anonymous> (CurpValidationActivity.kt:56)");
}
z1 a2 = B0.a.a(CurpValidationActivity.this.K1().C(), b.c.C0422b.a, lVar, 48);
f fVar = f.a;
boolean z = d(a2) instanceof b.c.C0423c;
String string = CurpValidationActivity.this.getString(B.W3);
Intrinsics.checkNotNullExpressionValue(string, "getString(...)");
String string2 = CurpValidationActivity.this.getString(B.U3);
Intrinsics.checkNotNullExpressionValue(string2, "getString(...)");
String string3 = CurpValidationActivity.this.getString(B.V3);
Intrinsics.checkNotNullExpressionValue(string3, "getString(...)");
String string4 = CurpValidationActivity.this.getString(B.T3);
Intrinsics.checkNotNullExpressionValue(string4, "getString(...)");
f.d dVar = new f.d(string, string2, string3, string4);
lVar.V(259559427);
boolean l = lVar.l(CurpValidationActivity.this);
final CurpValidationActivity curpValidationActivity = CurpValidationActivity.this;
Object f = lVar.f();
if (l || f == s0.l.a.a()) {
f = new Function0() {
@Override
public final Object invoke() {
Unit f2;
f2 = CurpValidationActivity.c.f(CurpValidationActivity.this);
return f2;
}
};
lVar.M(f);
}
Function0 function0 = (Function0) f;
lVar.L();
finance.empower.android.app.onboarding.curp.validation.b K1 = CurpValidationActivity.this.K1();
lVar.V(259561008);
boolean l2 = lVar.l(K1);
Object f2 = lVar.f();
if (l2 || f2 == s0.l.a.a()) {
f2 = new a(K1);
lVar.M(f2);
}
lVar.L();
Function0 function02 = (Function0) ((h) f2);
finance.empower.android.app.onboarding.curp.validation.b K12 = CurpValidationActivity.this.K1();
lVar.V(259563121);
boolean l3 = lVar.l(K12);
Object f3 = lVar.f();
if (l3 || f3 == s0.l.a.a()) {
f3 = new b(K12);
lVar.M(f3);
}
lVar.L();
f.c cVar = new f.c(function0, function02, (Function0) ((h) f3));
b.c d = d(a2);
b.c.a aVar = d instanceof b.c.a ? (b.c.a) d : null;
if (aVar == null || (str = aVar.b()) == null) {
str = "";
}
b.c d2 = d(a2);
b.c.a aVar2 = d2 instanceof b.c.a ? (b.c.a) d2 : null;
fVar.e(z, dVar, cVar, new f.a(str, aVar2 != null ? aVar2.a() : null, (d(a2) instanceof b.c.C0422b) || (d(a2) instanceof b.c.a)), null, lVar, 196608, 16);
if (o.H()) {
o.P();
}
}
@Override
public Object invoke(Object obj, Object obj2) {
c((s0.l) obj, ((Number) obj2).intValue());
return Unit.a;
}
}
public static final class d extends C {
d() {
super(true);
}
public void d() {
CurpValidationActivity.this.moveTaskToBack(true);
}
}
private final e J1() {
return (e) this.source.getValue();
}
private final void L1() {
cc.o oVar;
AddressValidationActivity.Companion companion = AddressValidationActivity.INSTANCE;
int i = b.b[J1().ordinal()];
if (i == 1) {
oVar = cc.o.d;
} else if (i == 2) {
oVar = cc.o.w;
} else if (i == 3) {
oVar = cc.o.i;
} else {
if (i != 4) {
throw new NoWhenBranchMatchedException();
}
oVar = cc.o.F;
}
startActivity(companion.a(this, oVar));
}
private final void M1() {
startActivity(OnboardingUserDetailsActivity.INSTANCE.a(this, J1() == e.e));
}
public static final Unit N1(CurpValidationActivity curpValidationActivity, b.a navigationType) {
Intrinsics.checkNotNullParameter(navigationType, "navigationType");
int i = b.a[navigationType.ordinal()];
if (i == 1) {
curpValidationActivity.M1();
} else {
if (i != 2) {
throw new NoWhenBranchMatchedException();
}
curpValidationActivity.L1();
}
return Unit.a;
}
public static final e O1(CurpValidationActivity curpValidationActivity) {
Object obj;
Intent intent = curpValidationActivity.getIntent();
Intrinsics.checkNotNullExpressionValue(intent, "getIntent(...)");
if (Build.VERSION.SDK_INT > 33) {
obj = (Parcelable) E.a(intent, "finance.empower.1ea9b0a0-3d47-4f34-8bdf-773bd53424c2", e.class);
} else {
Parcelable parcelableExtra = intent.getParcelableExtra("finance.empower.1ea9b0a0-3d47-4f34-8bdf-773bd53424c2");
if (!(parcelableExtra instanceof e)) {
parcelableExtra = null;
}
obj = (e) parcelableExtra;
}
Intrinsics.f(obj);
return (e) obj;
}
@Override
protected String getPageName() {
return this.pageName;
}
public final finance.empower.android.app.onboarding.curp.validation.b K1() {
finance.empower.android.app.onboarding.curp.validation.b bVar = this.viewModel;
if (bVar != null) {
return bVar;
}
Intrinsics.x("viewModel");
return null;
}
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
e.e.b(this, (q) null, A0.c.c(1763291085, true, new c()), 1, (Object) null);
i().h(this, new d());
K1().x(false);
K1().G(new Function1() {
@Override
public final Object invoke(Object obj) {
Unit N1;
N1 = CurpValidationActivity.N1(CurpValidationActivity.this, (b.a) obj);
return N1;
}
});
}
protected void onSaveInstanceState(Bundle outState) {
Intrinsics.checkNotNullParameter(outState, "outState");
super/*androidx.activity.ComponentActivity*/.onSaveInstanceState(outState);
outState.clear();
}
@Override
protected void onStart() {
super.onStart();
C1240b B1 = B1();
t tVar = new t();
hg.h.c(tVar, "source", J1().name());
Unit unit = Unit.a;
B1.E("CurpValidation", tVar.a());
}
}