正在查看: Empower MX v1.29.4.340 应用的 CvcRecollectionActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Empower MX v1.29.4.340 应用的 CvcRecollectionActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.stripe.android.paymentsheet.paymentdatacollection.cvcrecollection;
import Gf.M;
import Gf.f;
import Gf.p;
import Gf.s;
import Rf.N;
import Uf.AbstractC0815g;
import Uf.E;
import android.content.Intent;
import android.os.Bundle;
import androidx.activity.ComponentActivity;
import androidx.lifecycle.e0;
import androidx.lifecycle.f0;
import androidx.lifecycle.g0;
import com.stripe.android.paymentsheet.paymentdatacollection.cvcrecollection.a;
import com.stripe.android.paymentsheet.paymentdatacollection.cvcrecollection.b;
import com.stripe.android.paymentsheet.paymentdatacollection.cvcrecollection.d;
import com.stripe.android.paymentsheet.paymentdatacollection.cvcrecollection.e;
import f0.Bz.iMunQqjUKfE;
import fa.j;
import fa.n;
import ja.g;
import ja.h;
import k0.l0;
import kotlin.Metadata;
import kotlin.Unit;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.functions.Function2;
import kotlin.jvm.internal.Intrinsics;
import q8.AbstractC2854a;
import s0.O;
import s0.o;
import s0.q;
import s0.z1;
import sf.l;
import sf.m;
import sf.t;
@Metadata(d1 = {"\u0000*\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\u0003\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0005\b\u0000\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\u0002\u0010\u0003J\u0019\u0010\u0007\u001a\u00020\u00062\b\u0010\u0005\u001a\u0004\u0018\u00010\u0004H\u0014¢\u0006\u0004\b\u0007\u0010\bJ\u000f\u0010\t\u001a\u00020\u0006H\u0016¢\u0006\u0004\b\t\u0010\u0003R\u001b\u0010\u000f\u001a\u00020\n8BX\u0082\u0084\u0002¢\u0006\f\n\u0004\b\u000b\u0010\f\u001a\u0004\b\r\u0010\u000eR\u001b\u0010\u0014\u001a\u00020\u00108BX\u0082\u0084\u0002¢\u0006\f\n\u0004\b\u0011\u0010\f\u001a\u0004\b\u0012\u0010\u0013¨\u0006\u0015"}, d2 = {"Lcom/stripe/android/paymentsheet/paymentdatacollection/cvcrecollection/CvcRecollectionActivity;", "Landroidx/appcompat/app/c;", "<init>", "()V", "Landroid/os/Bundle;", "savedInstanceState", "", "onCreate", "(Landroid/os/Bundle;)V", "finish", "Lcom/stripe/android/paymentsheet/paymentdatacollection/cvcrecollection/a;", "b0", "Lsf/l;", "y1", "()Lcom/stripe/android/paymentsheet/paymentdatacollection/cvcrecollection/a;", "args", "Lcom/stripe/android/paymentsheet/paymentdatacollection/cvcrecollection/e;", "c0", "z1", "()Lcom/stripe/android/paymentsheet/paymentdatacollection/cvcrecollection/e;", "viewModel", "paymentsheet_release"}, k = 1, mv = {1, 9, 0}, xi = 48)
public final class CvcRecollectionActivity extends androidx.appcompat.app.c {
private final l args = m.a(new a());
private final l viewModel = new e0(M.b(com.stripe.android.paymentsheet.paymentdatacollection.cvcrecollection.e.class), new c(this), new e(), new d(null, this));
static final class a extends s implements Function0 {
a() {
super(0);
}
public final com.stripe.android.paymentsheet.paymentdatacollection.cvcrecollection.a invoke() {
a.C0449a c0449a = com.stripe.android.paymentsheet.paymentdatacollection.cvcrecollection.a.w;
Intent intent = CvcRecollectionActivity.this.getIntent();
Intrinsics.checkNotNullExpressionValue(intent, "getIntent(...)");
com.stripe.android.paymentsheet.paymentdatacollection.cvcrecollection.a a = c0449a.a(intent);
if (a != null) {
return a;
}
throw new IllegalStateException("Cannot start CVC Recollection flow without args");
}
}
static final class b extends s implements Function2 {
static final class a extends s implements Function2 {
final CvcRecollectionActivity d;
static final class C0445a extends kotlin.coroutines.jvm.internal.m implements Function2 {
int d;
final CvcRecollectionActivity e;
final g i;
static final class C0446a extends kotlin.coroutines.jvm.internal.m implements Function2 {
int d;
Object e;
final CvcRecollectionActivity i;
final g v;
C0446a(CvcRecollectionActivity cvcRecollectionActivity, g gVar, vf.b bVar) {
super(2, bVar);
this.i = cvcRecollectionActivity;
this.v = gVar;
}
public final vf.b create(Object obj, vf.b bVar) {
C0446a c0446a = new C0446a(this.i, this.v, bVar);
c0446a.e = obj;
return c0446a;
}
public final Object invokeSuspend(Object obj) {
Object f = wf.b.f();
int i = this.d;
if (i == 0) {
t.b(obj);
com.stripe.android.paymentsheet.paymentdatacollection.cvcrecollection.b bVar = (com.stripe.android.paymentsheet.paymentdatacollection.cvcrecollection.b) this.e;
androidx.appcompat.app.c cVar = this.i;
b.C0451b c0451b = com.stripe.android.paymentsheet.paymentdatacollection.cvcrecollection.b.z;
Intent intent = cVar.getIntent();
Intrinsics.checkNotNullExpressionValue(intent, "getIntent(...)");
cVar.setResult(-1, c0451b.a(intent, bVar));
g gVar = this.v;
this.d = 1;
if (gVar.c(this) == f) {
return f;
}
} else {
if (i != 1) {
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
}
t.b(obj);
}
this.i.finish();
return Unit.a;
}
public final Object invoke(com.stripe.android.paymentsheet.paymentdatacollection.cvcrecollection.b bVar, vf.b bVar2) {
return create(bVar, bVar2).invokeSuspend(Unit.a);
}
}
C0445a(CvcRecollectionActivity cvcRecollectionActivity, g gVar, vf.b bVar) {
super(2, bVar);
this.e = cvcRecollectionActivity;
this.i = gVar;
}
public final vf.b create(Object obj, vf.b bVar) {
return new C0445a(this.e, this.i, bVar);
}
public final Object invoke(N n, vf.b bVar) {
return create(n, bVar).invokeSuspend(Unit.a);
}
public final Object invokeSuspend(Object obj) {
Object f = wf.b.f();
int i = this.d;
if (i == 0) {
t.b(obj);
E h = this.e.z1().h();
C0446a c0446a = new C0446a(this.e, this.i, null);
this.d = 1;
if (AbstractC0815g.i(h, c0446a, this) == f) {
return f;
}
} else {
if (i != 1) {
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
}
t.b(obj);
}
return Unit.a;
}
}
static final class C0447b extends s implements Function0 {
final CvcRecollectionActivity d;
C0447b(CvcRecollectionActivity cvcRecollectionActivity) {
super(0);
this.d = cvcRecollectionActivity;
}
public final void a() {
this.d.z1().j(d.a.a);
}
public Object invoke() {
a();
return Unit.a;
}
}
static final class c extends s implements Function2 {
final z1 d;
final CvcRecollectionActivity e;
class C0448a extends p implements Function1 {
C0448a(Object obj) {
super(1, obj, com.stripe.android.paymentsheet.paymentdatacollection.cvcrecollection.e.class, "handleViewAction", "handleViewAction(Lcom/stripe/android/paymentsheet/paymentdatacollection/cvcrecollection/CvcRecollectionViewAction;)V", 0);
}
public Object invoke(Object obj) {
u((com.stripe.android.paymentsheet.paymentdatacollection.cvcrecollection.d) obj);
return Unit.a;
}
public final void u(com.stripe.android.paymentsheet.paymentdatacollection.cvcrecollection.d dVar) {
Intrinsics.checkNotNullParameter(dVar, iMunQqjUKfE.YmuKSslQGVqmz);
((com.stripe.android.paymentsheet.paymentdatacollection.cvcrecollection.e) ((f) this).e).j(dVar);
}
}
c(z1 z1Var, CvcRecollectionActivity cvcRecollectionActivity) {
super(2);
this.d = z1Var;
this.e = cvcRecollectionActivity;
}
public final void a(s0.l lVar, int i) {
if ((i & 11) == 2 && lVar.w()) {
lVar.F();
return;
}
if (o.H()) {
o.Q(-943727818, i, -1, "com.stripe.android.paymentsheet.paymentdatacollection.cvcrecollection.CvcRecollectionActivity.onCreate.<anonymous>.<anonymous>.<anonymous> (CvcRecollectionActivity.kt:55)");
}
com.stripe.android.paymentsheet.paymentdatacollection.cvcrecollection.c.d(((B9.b) this.d.getValue()).a(), ((B9.b) this.d.getValue()).b(), !((B9.b) this.d.getValue()).c(), new C0448a(this.e.z1()), lVar, 0);
if (o.H()) {
o.P();
}
}
public Object invoke(Object obj, Object obj2) {
a((s0.l) obj, ((Number) obj2).intValue());
return Unit.a;
}
}
a(CvcRecollectionActivity cvcRecollectionActivity) {
super(2);
this.d = cvcRecollectionActivity;
}
public final void a(s0.l lVar, int i) {
if ((i & 11) == 2 && lVar.w()) {
lVar.F();
return;
}
if (o.H()) {
o.Q(1441971965, i, -1, "com.stripe.android.paymentsheet.paymentdatacollection.cvcrecollection.CvcRecollectionActivity.onCreate.<anonymous>.<anonymous> (CvcRecollectionActivity.kt:35)");
}
g b = h.b((l0) null, (Function1) null, lVar, 0, 3);
z1 a = ra.g.a(this.d.z1().i(), lVar, 8);
C0445a c0445a = new C0445a(this.d, b, null);
int i2 = g.e;
O.f(b, c0445a, lVar, i2 | 64);
AbstractC2854a.a(b, null, new C0447b(this.d), A0.c.b(lVar, -943727818, true, new c(a, this.d)), lVar, i2 | 3072, 2);
if (o.H()) {
o.P();
}
}
public Object invoke(Object obj, Object obj2) {
a((s0.l) obj, ((Number) obj2).intValue());
return Unit.a;
}
}
b() {
super(2);
}
public final void a(s0.l lVar, int i) {
if ((i & 11) == 2 && lVar.w()) {
lVar.F();
return;
}
if (o.H()) {
o.Q(1759306475, i, -1, "com.stripe.android.paymentsheet.paymentdatacollection.cvcrecollection.CvcRecollectionActivity.onCreate.<anonymous> (CvcRecollectionActivity.kt:34)");
}
fa.m.a((fa.h) null, (j) null, (n) null, A0.c.b(lVar, 1441971965, true, new a(CvcRecollectionActivity.this)), lVar, 3072, 7);
if (o.H()) {
o.P();
}
}
public Object invoke(Object obj, Object obj2) {
a((s0.l) obj, ((Number) obj2).intValue());
return Unit.a;
}
}
public static final class c extends s implements Function0 {
final ComponentActivity d;
public c(ComponentActivity componentActivity) {
super(0);
this.d = componentActivity;
}
public final g0 invoke() {
return this.d.H();
}
}
public static final class d extends s implements Function0 {
final Function0 d;
final ComponentActivity e;
public d(Function0 function0, ComponentActivity componentActivity) {
super(0);
this.d = function0;
this.e = componentActivity;
}
public final n2.a invoke() {
n2.a aVar;
Function0 function0 = this.d;
return (function0 == null || (aVar = (n2.a) function0.invoke()) == null) ? this.e.A() : aVar;
}
}
static final class e extends s implements Function0 {
e() {
super(0);
}
public final f0.c invoke() {
return new e.b(CvcRecollectionActivity.this.y1());
}
}
public final com.stripe.android.paymentsheet.paymentdatacollection.cvcrecollection.a y1() {
return (com.stripe.android.paymentsheet.paymentdatacollection.cvcrecollection.a) this.args.getValue();
}
public final com.stripe.android.paymentsheet.paymentdatacollection.cvcrecollection.e z1() {
return (com.stripe.android.paymentsheet.paymentdatacollection.cvcrecollection.e) this.viewModel.getValue();
}
public void finish() {
super/*android.app.Activity*/.finish();
ra.c.a(this);
}
protected void onCreate(Bundle savedInstanceState) {
super/*androidx.fragment.app.i*/.onCreate(savedInstanceState);
com.stripe.android.paymentsheet.p.a(y1().a());
e.e.b(this, (q) null, A0.c.c(1759306475, true, new b()), 1, (Object) null);
}
}