正在查看: Atlys v4.8.7 应用的 PaymentLauncherConfirmationActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Atlys v4.8.7 应用的 PaymentLauncherConfirmationActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.stripe.android.payments.paymentlauncher;
import Bi.C0028h;
import E.j;
import Gh.InterfaceC0178o;
import Ph.h;
import Uh.a;
import Uh.b;
import Uh.c;
import Uh.d;
import Uh.f;
import Uh.g;
import Uh.r;
import Uh.u;
import Uh.v;
import android.content.Intent;
import android.os.Bundle;
import androidx.lifecycle.G;
import androidx.lifecycle.r0;
import com.stripe.android.view.C0763x;
import d4.e;
import di.AbstractC0771A;
import di.z;
import e.J;
import k.k;
import kotlin.Metadata;
import kotlin.Pair;
import wl.l;
import wl.n;
@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\b\u0000\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\u0002\u0010\u0003¨\u0006\u0004"}, d2 = {"Lcom/stripe/android/payments/paymentlauncher/PaymentLauncherConfirmationActivity;", "Lk/k;", "<init>", "()V", "payments-core_release"}, k = 1, mv = {1, 8, 0})
public final class PaymentLauncherConfirmationActivity extends k {
public static final int f1 = 0;
public final n G = z.c0(new c(this, 0));
public final h I = new h(2, new c(this, 2));
public final j e1 = new j(kotlin.jvm.internal.z.a.b(PaymentLauncherViewModel.class), new C0028h(this, 11), new c(this, 1), new C0028h(this, 12));
public final void finish() {
super/*android.app.Activity*/.finish();
overridePendingTransition(2130772062, 2130772063);
}
public final void j0(v vVar) {
Intent intent = new Intent();
vVar.getClass();
setResult(-1, intent.putExtras(AbstractC0771A.x(new Pair("extra_args", vVar))));
finish();
}
public final void onCreate(Bundle bundle) {
Object F;
super/*androidx.fragment.app.K*/.onCreate(bundle);
overridePendingTransition(2130772062, 2130772063);
try {
F = (g) this.G.getValue();
} catch (Throwable th2) {
F = AbstractC0771A.F(th2);
}
if (F == null) {
throw new IllegalArgumentException("PaymentLauncherConfirmationActivity was started without arguments".toString());
}
Throwable a = l.a(F);
if (a != null) {
j0(new u(a));
return;
}
g gVar = (g) F;
J onBackPressedDispatcher = getOnBackPressedDispatcher();
kotlin.jvm.internal.l.g(onBackPressedDispatcher, "onBackPressedDispatcher");
e.C(onBackPressedDispatcher, (G) null, a.d, 3);
dn.G.C(r0.i(this), (Al.k) null, 0, new b(this, null), 3);
j jVar = this.e1;
PaymentLauncherViewModel paymentLauncherViewModel = (PaymentLauncherViewModel) jVar.getValue();
Lh.b bVar = new Lh.b(paymentLauncherViewModel, 1);
Qh.c cVar = paymentLauncherViewModel.u;
cVar.getClass();
K2.c it = cVar.a().iterator();
while (it.hasNext()) {
((Qh.h) ((yl.c) it).next()).c(this, bVar);
}
cVar.f = registerForActivityResult(new Oh.g(5), bVar);
cVar.g = registerForActivityResult(new Oh.g(7), bVar);
getLifecycle().a(new r(paymentLauncherViewModel, 0));
C0763x c0763x = new C0763x(this, gVar.e());
if (!(gVar instanceof d)) {
if (gVar instanceof Uh.e) {
((PaymentLauncherViewModel) jVar.getValue()).b(((Uh.e) gVar).f, c0763x);
return;
} else {
if (gVar instanceof f) {
((PaymentLauncherViewModel) jVar.getValue()).b(((f) gVar).f, c0763x);
return;
}
return;
}
}
PaymentLauncherViewModel paymentLauncherViewModel2 = (PaymentLauncherViewModel) jVar.getValue();
InterfaceC0178o confirmStripeIntentParams = ((d) gVar).f;
kotlin.jvm.internal.l.h(confirmStripeIntentParams, "confirmStripeIntentParams");
Boolean bool = (Boolean) paymentLauncherViewModel2.D.b("key_has_started");
if (bool != null ? bool.booleanValue() : false) {
return;
}
dn.G.C(r0.k(paymentLauncherViewModel2), (Al.k) null, 0, new Uh.l(paymentLauncherViewModel2, confirmStripeIntentParams, c0763x, null), 3);
}
}