导航菜单

页面标题

页面副标题

Atlys v4.8.7 - C0824L.java 源代码

正在查看: Atlys v4.8.7 应用的 C0824L.java JAVA 源代码文件

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


package gi;

import Gh.C0142c;
import Gh.C0156g1;
import Gh.C0162i1;
import Gh.C0208y0;
import Gh.L0;
import Gh.n2;
import Gi.I2;
import Gi.K2;
import Oi.C0356g0;
import Oi.C0357h;
import Oi.F0;
import Oi.Y0;
import Vh.C0437g0;
import android.app.Application;
import android.content.res.Resources;
import androidx.lifecycle.p0;
import androidx.lifecycle.w0;
import ch.C0650t;
import com.stripe.android.financialconnections.model.BankAccount;
import com.stripe.android.financialconnections.model.FinancialConnectionsAccount;
import fi.C0798a;
import gn.h0;
import gn.l0;
import gn.x0;
import gn.z0;
import javax.inject.Provider;

public final class C0824L extends w0 {
    public final h0 A;
    public final C0356g0 B;
    public final h0 C;
    public final F0 D;
    public final C0357h E;
    public final x0 F;
    public final gn.h G;
    public final l0 I;
    public final l0 J;
    public final l0 K;
    public final l0 L;
    public final K2 M;
    public final h0 N;
    public final z0 O;
    public final z0 P;
    public final h0 Q;
    public I2.a R;
    public final C0850y s;
    public final Application t;
    public final Provider u;
    public final p0 v;
    public final C0437g0 w;
    public final Y0 x;
    public final h0 y;
    public final Y0 z;

    public C0824L(gi.C0850y r36, android.app.Application r37, hi.C0867b r38, androidx.lifecycle.p0 r39, Ni.c r40) {
        throw new UnsupportedOperationException("Method not decompiled: gi.C0824L.<init>(gi.y, android.app.Application, hi.b, androidx.lifecycle.p0, Ni.c):void");
    }

    public final String f() {
        String merchantName = h();
        boolean booleanValue = ((Boolean) this.N.a.getValue()).booleanValue();
        boolean z = !this.s.c;
        Application context = this.t;
        kotlin.jvm.internal.l.h(context, "context");
        kotlin.jvm.internal.l.h(merchantName, "merchantName");
        String string = (booleanValue || z) ? context.getString(2132018187, merchantName) : context.getString(2132018186);
        kotlin.jvm.internal.l.g(string, "if (isSaveForFutureUseSe…ntinue_mandate)\n        }");
        return bn.s.f0(bn.s.f0(string, "<terms>", "<a href=\"https://stripe.com/ach-payments/authorization\">"), "</terms>", "</a>");
    }

    public final String g() {
        C0850y c0850y = this.s;
        boolean z = c0850y.b;
        Application application = this.t;
        if (!z) {
            String string = application.getString(2132018127);
            kotlin.jvm.internal.l.g(string, "application.getString(\n …utton_label\n            )");
            return string;
        }
        if (!c0850y.c) {
            String string2 = application.getString(2132018274);
            kotlin.jvm.internal.l.g(string2, "{\n                    ap…      )\n                }");
            return string2;
        }
        Ci.a aVar = c0850y.a.f;
        kotlin.jvm.internal.l.e(aVar);
        Resources resources = application.getResources();
        kotlin.jvm.internal.l.g(resources, "application.resources");
        return aVar.a(resources);
    }

    public final String h() {
        CharSequence charSequence;
        String str = this.s.a.e;
        int length = str.length() - 1;
        if (length >= 0) {
            while (true) {
                int i = length - 1;
                if (str.charAt(length) != '.') {
                    charSequence = str.subSequence(0, length + 1);
                    break;
                }
                if (i < 0) {
                    break;
                }
                length = i;
            }
        }
        charSequence = "";
        return charSequence.toString();
    }

    public final C0357h i() {
        return this.E;
    }

    public final z0 j() {
        return this.P;
    }

    public final Y0 k() {
        return this.z;
    }

    public final gn.h l() {
        return this.G;
    }

    public final Y0 m() {
        return this.x;
    }

    public final C0356g0 n() {
        return this.B;
    }

    public final F0 o() {
        return this.D;
    }

    public final K2 p() {
        return this.M;
    }

    public final void q(Oh.n result) {
        Object value;
        FinancialConnectionsAccount financialConnectionsAccount;
        String id;
        n2 b;
        Object value2;
        BankAccount bankAccount;
        String id2;
        n2 b2;
        kotlin.jvm.internal.l.h(result, "result");
        this.v.e(Boolean.FALSE, "has_launched");
        this.K.a(result);
        if (!(result instanceof Oh.k)) {
            if (result instanceof Oh.m) {
                s(2132018188);
                return;
            } else {
                if (result instanceof Oh.j) {
                    s(null);
                    return;
                }
                return;
            }
        }
        Oh.k kVar = (Oh.k) result;
        BankAccount paymentAccount = kVar.a().a().getPaymentAccount();
        boolean z = paymentAccount instanceof BankAccount;
        z0 z0Var = this.O;
        if (z) {
            do {
                value2 = z0Var.getValue();
                bankAccount = paymentAccount;
                id2 = kVar.a().a().getId();
                b2 = kVar.a().b();
            } while (!z0Var.i(value2, new C0847v(bankAccount, id2, b2 != null ? b2.getId() : null, g(), f())));
            return;
        }
        if (!(paymentAccount instanceof FinancialConnectionsAccount)) {
            if (paymentAccount == null) {
                s(2132018188);
            }
        } else {
            do {
                value = z0Var.getValue();
                financialConnectionsAccount = (FinancialConnectionsAccount) paymentAccount;
                id = kVar.a().a().getId();
                b = kVar.a().b();
            } while (!z0Var.i(value, new C0844s(financialConnectionsAccount, id, b != null ? b.getId() : null, g(), f())));
        }
    }

    public final void r(AbstractC0848w screenState) {
        C0845t c0845t;
        String f;
        z0 z0Var;
        Object value;
        kotlin.jvm.internal.l.h(screenState, "screenState");
        if (!(screenState instanceof C0842q)) {
            if (screenState instanceof C0844s) {
                C0844s c0844s = (C0844s) screenState;
                t(c0844s.e(), c0844s.f().getInstitutionName(), c0844s.f().getLast4());
                return;
            } else if (screenState instanceof C0847v) {
                C0847v c0847v = (C0847v) screenState;
                t(c0847v.e(), c0847v.f().getBankName(), c0847v.f().getLast4());
                return;
            } else {
                if (!(screenState instanceof C0845t) || (f = (c0845t = (C0845t) screenState).f()) == null) {
                    return;
                }
                t(f, c0845t.e(), c0845t.g());
                return;
            }
        }
        do {
            z0Var = this.O;
            value = z0Var.getValue();
        } while (!z0Var.i(value, C0842q.e((C0842q) screenState)));
        C0850y c0850y = this.s;
        String a = c0850y.a();
        p0 p0Var = this.v;
        Object b = p0Var.b("has_launched");
        Boolean bool = Boolean.TRUE;
        if (kotlin.jvm.internal.l.c(b, bool)) {
            return;
        }
        p0Var.e(bool, "has_launched");
        boolean z = c0850y.c;
        h0 h0Var = this.A;
        h0 h0Var2 = this.y;
        Provider provider = this.u;
        if (a != null) {
            if (z) {
                I2.a aVar = this.R;
                if (aVar != null) {
                    String publishableKey = ((C0650t) provider.get()).a;
                    String str = ((C0650t) provider.get()).b;
                    Lh.a aVar2 = new Lh.a((String) h0Var2.a.getValue(), (String) h0Var.a.getValue());
                    kotlin.jvm.internal.l.h(publishableKey, "publishableKey");
                    ((h.d) aVar.b).a(new Oh.c(publishableKey, str, a, aVar2, true), (Yo.i) null);
                    return;
                }
                return;
            }
            I2.a aVar3 = this.R;
            if (aVar3 != null) {
                String publishableKey2 = ((C0650t) provider.get()).a;
                String str2 = ((C0650t) provider.get()).b;
                Lh.a aVar4 = new Lh.a((String) h0Var2.a.getValue(), (String) h0Var.a.getValue());
                kotlin.jvm.internal.l.h(publishableKey2, "publishableKey");
                ((h.d) aVar3.b).a(new Oh.d(publishableKey2, str2, a, aVar4, true), (Yo.i) null);
                return;
            }
            return;
        }
        String str3 = c0850y.d;
        if (str3 != null) {
            if (!z) {
                I2.a aVar5 = this.R;
                if (aVar5 != null) {
                    String publishableKey3 = ((C0650t) provider.get()).a;
                    String str4 = ((C0650t) provider.get()).b;
                    Lh.a aVar6 = new Lh.a((String) h0Var2.a.getValue(), (String) h0Var.a.getValue());
                    kotlin.jvm.internal.l.h(publishableKey3, "publishableKey");
                    ((h.d) aVar5.b).a(new Oh.b(publishableKey3, str4, aVar6, str3, null, c0850y.f), (Yo.i) null);
                    return;
                }
                return;
            }
            I2.a aVar7 = this.R;
            if (aVar7 != null) {
                String publishableKey4 = ((C0650t) provider.get()).a;
                String str5 = ((C0650t) provider.get()).b;
                Lh.a aVar8 = new Lh.a((String) h0Var2.a.getValue(), (String) h0Var.a.getValue());
                C0798a c0798a = c0850y.a;
                Ci.a aVar9 = c0798a.f;
                Integer valueOf = aVar9 != null ? Integer.valueOf((int) aVar9.a) : null;
                Ci.a aVar10 = c0798a.f;
                String str6 = aVar10 != null ? aVar10.b : null;
                kotlin.jvm.internal.l.h(publishableKey4, "publishableKey");
                ((h.d) aVar7.b).a(new Oh.a(publishableKey4, str5, aVar8, str3, null, c0850y.f, valueOf, str6), (Yo.i) null);
            }
        }
    }

    public final void s(Integer num) {
        z0 z0Var;
        Object value;
        String string;
        this.v.e(Boolean.FALSE, "has_launched");
        I2 i2 = this.M.b;
        i2.b.j(Boolean.TRUE);
        this.K.a((Object) null);
        do {
            z0Var = this.O;
            value = z0Var.getValue();
            string = this.t.getString(2132018127);
            kotlin.jvm.internal.l.g(string, "application.getString(\n …n_label\n                )");
        } while (!z0Var.i(value, new C0842q(num, string, false)));
    }

    public final void t(String linkAccountSessionId, String str, String str2) {
        if (str == null || str2 == null) {
            return;
        }
        String string = this.t.getString(2132018237, str2);
        int a = C0826a.a(str);
        kotlin.jvm.internal.l.h(linkAccountSessionId, "linkAccountSessionId");
        C0156g1 c0156g1 = new C0156g1(linkAccountSessionId, null, null, null, null);
        h0 h0Var = this.y;
        String str3 = (String) h0Var.a.getValue();
        h0 h0Var2 = this.A;
        String str4 = (String) h0Var2.a.getValue();
        h0 h0Var3 = this.C;
        String str5 = (String) h0Var3.a.getValue();
        x0 x0Var = this.F;
        C0162i1 c0162i1 = new C0162i1(L0.USBankAccount, null, null, null, c0156g1, null, new C0208y0((C0142c) x0Var.getValue(), str4, str3, str5), null, 211966);
        boolean z = this.s.a.b;
        h0 h0Var4 = this.N;
        di.d dVar = z ? ((Boolean) h0Var4.a.getValue()).booleanValue() ? di.d.a : di.d.b : di.d.c;
        AbstractC0848w abstractC0848w = (AbstractC0848w) this.P.getValue();
        di.j jVar = new di.j((String) h0Var.a.getValue(), (String) h0Var2.a.getValue(), (String) h0Var3.a.getValue(), (C0142c) x0Var.getValue(), ((Boolean) h0Var4.a.getValue()).booleanValue());
        kotlin.jvm.internal.l.g(string, "getString(\n             …      last4\n            )");
        this.I.a(new di.k(string, a, jVar, abstractC0848w, c0162i1, dVar, null));
    }
}