导航菜单

页面标题

页面副标题

CreditNow v1.0.2 - CatLoanDetailActivity.java 源代码

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

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


package com.aa.home.view;

import android.app.Activity;
import android.content.Intent;
import androidx.lifecycle.ViewModelProvider;
import androidx.recyclerview.widget.l;
import com.aa.commonuilibrary.R$drawable;
import com.aa.commonuilibrary.base.activity.WebActivity;
import com.aa.home.model.InstallmentL;
import com.aa.home.model.LoanDetailModel;
import com.aa.home.view.BaseComposeActivity;
import com.aa.home.view.CatLoanDetailActivity;
import com.aa.home.viewmodel.CatLoanDetailViewModel;
import com.orhanobut.logger.Logger;
import defpackage.ad2;
import defpackage.ad4;
import defpackage.av;
import defpackage.b80;
import defpackage.bq1;
import defpackage.bv;
import defpackage.c14;
import defpackage.c40;
import defpackage.ce4;
import defpackage.ci2;
import defpackage.d5;
import defpackage.dm2;
import defpackage.ds3;
import defpackage.dv;
import defpackage.e80;
import defpackage.ee0;
import defpackage.eu;
import defpackage.f4;
import defpackage.fe3;
import defpackage.gc3;
import defpackage.h4;
import defpackage.h40;
import defpackage.ha4;
import defpackage.hy2;
import defpackage.i12;
import defpackage.ic3;
import defpackage.if2;
import defpackage.im0;
import defpackage.iy2;
import defpackage.j40;
import defpackage.jp;
import defpackage.jt;
import defpackage.k4;
import defpackage.kc3;
import defpackage.kd0;
import defpackage.kh0;
import defpackage.ks3;
import defpackage.kv1;
import defpackage.kz2;
import defpackage.lc3;
import defpackage.ld0;
import defpackage.lm3;
import defpackage.np0;
import defpackage.oo1;
import defpackage.oq1;
import defpackage.p24;
import defpackage.pm3;
import defpackage.pn;
import defpackage.pp1;
import defpackage.qm4;
import defpackage.qq3;
import defpackage.r30;
import defpackage.re0;
import defpackage.rf1;
import defpackage.s34;
import defpackage.sa0;
import defpackage.se4;
import defpackage.t20;
import defpackage.ta0;
import defpackage.td0;
import defpackage.tf;
import defpackage.ti2;
import defpackage.tp;
import defpackage.tp1;
import defpackage.u10;
import defpackage.u30;
import defpackage.vm3;
import defpackage.w03;
import defpackage.wd0;
import defpackage.wm3;
import defpackage.wx0;
import defpackage.x30;
import defpackage.xa0;
import defpackage.xe4;
import defpackage.xm3;
import defpackage.y10;
import defpackage.zd0;
import defpackage.zf;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Timer;
import java.util.TimerTask;
import kotlin.Metadata;
import kotlin.Unit;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.functions.Function2;
import kotlin.jvm.internal.Intrinsics;
import org.jetbrains.annotations.NotNull;

@Metadata
public final class CatLoanDetailActivity extends BaseComposeActivity {
    public c40 s1;
    public CatLoanDetailViewModel u1;
    public Timer v1;
    public e w1;

    @NotNull
    public final k4<String[]> t1 = W(new h4(), new f4() {
        @Override
        public final void a(Object obj) {
            CatLoanDetailActivity.y1(CatLoanDetailActivity.this, (Map) obj);
        }
    });
    public long x1 = 1440000;

    @Metadata
    public static final class a extends o02 implements Function0<Unit> {
        public a() {
            super(0);
        }

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

        public final void m63invoke() {
            Intent intent = new Intent(CatLoanDetailActivity.this, (Class<?>) WebActivity.class);
            intent.putExtra("router", "CatServePolicy");
            CatLoanDetailActivity.this.startActivity(intent);
        }
    }

    @Metadata
    public static final class a0 extends o02 implements Function2<zd0, Integer, Unit> {
        final int $$changed;
        final int $$default;
        final BigDecimal $needToPayMoney;
        final BigDecimal $paidAmount;

        public a0(BigDecimal bigDecimal, BigDecimal bigDecimal2, int i, int i2) {
            super(2);
            this.$needToPayMoney = bigDecimal;
            this.$paidAmount = bigDecimal2;
            this.$$changed = i;
            this.$$default = i2;
        }

        public final void b(zd0 zd0Var, int i) {
            CatLoanDetailActivity.this.b1(this.$needToPayMoney, this.$paidAmount, zd0Var, fe3.a(this.$$changed | 1), this.$$default);
        }

        public Object invoke(Object obj, Object obj2) {
            b((zd0) obj, ((Number) obj2).intValue());
            return Unit.a;
        }
    }

    @Metadata
    public static final class b extends o02 implements Function0<Unit> {
        public b() {
            super(0);
        }

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

        public final void m64invoke() {
            Intent intent = new Intent(CatLoanDetailActivity.this, (Class<?>) WebActivity.class);
            intent.putExtra("router", "CatPrivacyPolicy");
            CatLoanDetailActivity.this.startActivity(intent);
        }
    }

    @Metadata
    public static final class b0 extends o02 implements Function2<zd0, Integer, Unit> {
        final xe3<String> $contentStr;
        final LoanDetailModel $detailModel;
        final InstallmentL $installmentNeedToPay;
        final xe3<hy2> $orderStatus;
        final xe3<iy2> $orderStatusBottomViewType;
        final te3 $showCountDown;
        final xe3<String> $titleStr;
        final CatLoanDetailActivity this$0;

        public b0(xe3<String> xe3Var, te3 te3Var, CatLoanDetailActivity catLoanDetailActivity, xe3<hy2> xe3Var2, LoanDetailModel loanDetailModel, xe3<String> xe3Var3, xe3<iy2> xe3Var4, InstallmentL installmentL) {
            super(2);
            this.$titleStr = xe3Var;
            this.$showCountDown = te3Var;
            this.this$0 = catLoanDetailActivity;
            this.$orderStatus = xe3Var2;
            this.$detailModel = loanDetailModel;
            this.$contentStr = xe3Var3;
            this.$orderStatusBottomViewType = xe3Var4;
            this.$installmentNeedToPay = installmentL;
        }

        public final void b(defpackage.zd0 r104, int r105) {
            throw new UnsupportedOperationException("Method not decompiled: com.aa.home.view.CatLoanDetailActivity.b0.b(zd0, int):void");
        }

        public Object invoke(Object obj, Object obj2) {
            b((zd0) obj, ((Number) obj2).intValue());
            return Unit.a;
        }
    }

    @Metadata
    public static final class c extends o02 implements Function0<Unit> {
        public c() {
            super(0);
        }

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

        public final void m65invoke() {
            Intent intent = new Intent(CatLoanDetailActivity.this, (Class<?>) WebActivity.class);
            intent.putExtra("router", "CatPrivacyPolicy");
            CatLoanDetailActivity.this.startActivity(intent);
        }
    }

    @Metadata
    public static final class c0 extends o02 implements Function2<zd0, Integer, Unit> {
        final int $$changed;
        final LoanDetailModel $detailModel;
        final InstallmentL $installmentNeedToPay;
        final hy2 $orderStatusOrigin;

        public c0(hy2 hy2Var, LoanDetailModel loanDetailModel, InstallmentL installmentL, int i) {
            super(2);
            this.$orderStatusOrigin = hy2Var;
            this.$detailModel = loanDetailModel;
            this.$installmentNeedToPay = installmentL;
            this.$$changed = i;
        }

        public final void b(zd0 zd0Var, int i) {
            CatLoanDetailActivity.this.c1(this.$orderStatusOrigin, this.$detailModel, this.$installmentNeedToPay, zd0Var, fe3.a(this.$$changed | 1));
        }

        public Object invoke(Object obj, Object obj2) {
            b((zd0) obj, ((Number) obj2).intValue());
            return Unit.a;
        }
    }

    @Metadata
    public static final class d extends o02 implements Function2<zd0, Integer, Unit> {
        final int $$changed;

        public d(int i) {
            super(2);
            this.$$changed = i;
        }

        public final void b(zd0 zd0Var, int i) {
            CatLoanDetailActivity.this.N0(zd0Var, fe3.a(this.$$changed | 1));
        }

        public Object invoke(Object obj, Object obj2) {
            b((zd0) obj, ((Number) obj2).intValue());
            return Unit.a;
        }
    }

    @Metadata
    public static final class d0 extends o02 implements Function2<zd0, Integer, Unit> {
        final int $$changed;
        final InstallmentL $installmentNeedToPay;
        final LoanDetailModel $loanDetailModel;
        final hy2 $orderStatus;

        public d0(hy2 hy2Var, LoanDetailModel loanDetailModel, InstallmentL installmentL, int i) {
            super(2);
            this.$orderStatus = hy2Var;
            this.$loanDetailModel = loanDetailModel;
            this.$installmentNeedToPay = installmentL;
            this.$$changed = i;
        }

        public final void b(zd0 zd0Var, int i) {
            CatLoanDetailActivity.this.d1(this.$orderStatus, this.$loanDetailModel, this.$installmentNeedToPay, zd0Var, fe3.a(this.$$changed | 1));
        }

        public Object invoke(Object obj, Object obj2) {
            b((zd0) obj, ((Number) obj2).intValue());
            return Unit.a;
        }
    }

    @Metadata
    public final class e extends TimerTask {
        public e() {
        }

        @Override
        public void run() {
            CatLoanDetailActivity.this.w1();
        }
    }

    @Metadata
    public static final class e0 extends o02 implements Function0<Unit> {
        public e0() {
            super(0);
        }

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

        public final void m66invoke() {
            CatLoanDetailViewModel catLoanDetailViewModel = CatLoanDetailActivity.this.u1;
            CatLoanDetailViewModel catLoanDetailViewModel2 = null;
            if (catLoanDetailViewModel == null) {
                Intrinsics.r("viewModel");
                catLoanDetailViewModel = null;
            }
            Integer asynaptic = catLoanDetailViewModel.getLoanDetailModel().getAsynaptic();
            if (asynaptic == null || asynaptic.intValue() <= 3) {
                return;
            }
            CatLoanDetailViewModel catLoanDetailViewModel3 = CatLoanDetailActivity.this.u1;
            if (catLoanDetailViewModel3 == null) {
                Intrinsics.r("viewModel");
            } else {
                catLoanDetailViewModel2 = catLoanDetailViewModel3;
            }
            catLoanDetailViewModel2.setBackTrackIndex(0);
        }
    }

    @Metadata
    public static final class f extends o02 implements Function0<Unit> {
        public f() {
            super(0);
        }

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

        public final void m67invoke() {
            CatLoanDetailActivity.this.H0();
            CatLoanDetailActivity.this.finish();
        }
    }

    @Metadata
    public static final class f0 extends o02 implements Function0<Unit> {
        public f0() {
            super(0);
        }

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

        public final void m68invoke() {
            CatLoanDetailViewModel catLoanDetailViewModel = CatLoanDetailActivity.this.u1;
            CatLoanDetailViewModel catLoanDetailViewModel2 = null;
            if (catLoanDetailViewModel == null) {
                Intrinsics.r("viewModel");
                catLoanDetailViewModel = null;
            }
            Integer asynaptic = catLoanDetailViewModel.getLoanDetailModel().getAsynaptic();
            if (asynaptic != null && asynaptic.intValue() > 5) {
                CatLoanDetailViewModel catLoanDetailViewModel3 = CatLoanDetailActivity.this.u1;
                if (catLoanDetailViewModel3 == null) {
                    Intrinsics.r("viewModel");
                    catLoanDetailViewModel3 = null;
                }
                Integer asynaptic2 = catLoanDetailViewModel3.getLoanDetailModel().getAsynaptic();
                if (asynaptic2 == null || asynaptic2.intValue() != 12) {
                    CatLoanDetailViewModel catLoanDetailViewModel4 = CatLoanDetailActivity.this.u1;
                    if (catLoanDetailViewModel4 == null) {
                        Intrinsics.r("viewModel");
                    } else {
                        catLoanDetailViewModel2 = catLoanDetailViewModel4;
                    }
                    catLoanDetailViewModel2.setBackTrackIndex(1);
                    return;
                }
            }
            CatLoanDetailViewModel catLoanDetailViewModel5 = CatLoanDetailActivity.this.u1;
            if (catLoanDetailViewModel5 == null) {
                Intrinsics.r("viewModel");
            } else {
                catLoanDetailViewModel2 = catLoanDetailViewModel5;
            }
            catLoanDetailViewModel2.setBackTrackIndex(-1);
        }
    }

    @Metadata
    public static final class g extends o02 implements Function0<Unit> {
        public g() {
            super(0);
        }

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

        public final void m69invoke() {
            x30 a = x30.a();
            CatLoanDetailActivity catLoanDetailActivity = CatLoanDetailActivity.this;
            a.d(catLoanDetailActivity, pm3.a(catLoanDetailActivity, "customerService"));
        }
    }

    @Metadata
    public static final class g0 extends o02 implements Function0<Unit> {
        public g0() {
            super(0);
        }

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

        public final void m70invoke() {
            CatLoanDetailViewModel catLoanDetailViewModel = CatLoanDetailActivity.this.u1;
            CatLoanDetailViewModel catLoanDetailViewModel2 = null;
            if (catLoanDetailViewModel == null) {
                Intrinsics.r("viewModel");
                catLoanDetailViewModel = null;
            }
            Integer asynaptic = catLoanDetailViewModel.getLoanDetailModel().getAsynaptic();
            if (asynaptic == null || asynaptic.intValue() < 6) {
                return;
            }
            CatLoanDetailViewModel catLoanDetailViewModel3 = CatLoanDetailActivity.this.u1;
            if (catLoanDetailViewModel3 == null) {
                Intrinsics.r("viewModel");
                catLoanDetailViewModel3 = null;
            }
            Integer asynaptic2 = catLoanDetailViewModel3.getLoanDetailModel().getAsynaptic();
            if (asynaptic2 == null || asynaptic2.intValue() != 12) {
                CatLoanDetailViewModel catLoanDetailViewModel4 = CatLoanDetailActivity.this.u1;
                if (catLoanDetailViewModel4 == null) {
                    Intrinsics.r("viewModel");
                    catLoanDetailViewModel4 = null;
                }
                Integer asynaptic3 = catLoanDetailViewModel4.getLoanDetailModel().getAsynaptic();
                if (asynaptic3 == null || asynaptic3.intValue() != 9) {
                    CatLoanDetailViewModel catLoanDetailViewModel5 = CatLoanDetailActivity.this.u1;
                    if (catLoanDetailViewModel5 == null) {
                        Intrinsics.r("viewModel");
                    } else {
                        catLoanDetailViewModel2 = catLoanDetailViewModel5;
                    }
                    catLoanDetailViewModel2.setBackTrackIndex(-1);
                }
            }
        }
    }

    @Metadata
    public static final class h extends o02 implements Function2<zd0, Integer, Unit> {
        final int $$changed;

        public h(int i) {
            super(2);
            this.$$changed = i;
        }

        public final void b(zd0 zd0Var, int i) {
            CatLoanDetailActivity.this.O0(zd0Var, fe3.a(this.$$changed | 1));
        }

        public Object invoke(Object obj, Object obj2) {
            b((zd0) obj, ((Number) obj2).intValue());
            return Unit.a;
        }
    }

    @Metadata
    public static final class h0 extends o02 implements Function0<Unit> {
        public h0() {
            super(0);
        }

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

        public final void m71invoke() {
            CatLoanDetailViewModel catLoanDetailViewModel = CatLoanDetailActivity.this.u1;
            CatLoanDetailViewModel catLoanDetailViewModel2 = null;
            if (catLoanDetailViewModel == null) {
                Intrinsics.r("viewModel");
                catLoanDetailViewModel = null;
            }
            Integer asynaptic = catLoanDetailViewModel.getLoanDetailModel().getAsynaptic();
            if (asynaptic == null || asynaptic.intValue() != 9) {
                return;
            }
            CatLoanDetailViewModel catLoanDetailViewModel3 = CatLoanDetailActivity.this.u1;
            if (catLoanDetailViewModel3 == null) {
                Intrinsics.r("viewModel");
            } else {
                catLoanDetailViewModel2 = catLoanDetailViewModel3;
            }
            catLoanDetailViewModel2.setBackTrackIndex(-1);
        }
    }

    @Metadata
    public static final class i extends o02 implements Function2<zd0, Integer, Unit> {

        @Metadata
        public static final class a extends o02 implements Function0<Unit> {
            final CatLoanDetailActivity this$0;

            public a(CatLoanDetailActivity catLoanDetailActivity) {
                super(0);
                this.this$0 = catLoanDetailActivity;
            }

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

            public final void m72invoke() {
                x30 a = x30.a();
                CatLoanDetailActivity catLoanDetailActivity = this.this$0;
                a.d(catLoanDetailActivity, pm3.a(catLoanDetailActivity, "normalQuestion"));
            }
        }

        public i() {
            super(2);
        }

        public final void b(zd0 zd0Var, int i) {
            if ((i & 11) == 2 && zd0Var.r()) {
                zd0Var.A();
                return;
            }
            if (ee0.I()) {
                ee0.U(-780705077, i, -1, "com.aa.home.view.CatLoanDetailActivity.CommonQuestion.<anonymous> (CatLoanDetailActivity.kt:2392)");
            }
            if2.a aVar = if2.a;
            float f = 20;
            if2 j = androidx.compose.foundation.layout.c.j(aVar, wx0.s(f));
            CatLoanDetailActivity catLoanDetailActivity = CatLoanDetailActivity.this;
            zd0Var.e(-483455358);
            zf zfVar = zf.a;
            zf.m e = zfVar.e();
            d5.a aVar2 = d5.a;
            ad2 a2 = sa0.a(e, aVar2.g(), zd0Var, 0);
            zd0Var.e(-1323940314);
            int a3 = td0.a(zd0Var, 0);
            re0 D = zd0Var.D();
            wd0.a aVar3 = wd0.n;
            Function0<wd0> a4 = aVar3.a();
            ii1<c14<wd0>, zd0, Integer, Unit> a5 = i12.a(j);
            if (!(zd0Var.s() instanceof tf)) {
                td0.b();
            }
            zd0Var.q();
            if (zd0Var.l()) {
                zd0Var.w(a4);
            } else {
                zd0Var.F();
            }
            zd0 a6 = qm4.a(zd0Var);
            qm4.b(a6, a2, aVar3.c());
            qm4.b(a6, D, aVar3.e());
            Function2<wd0, Integer, Unit> b = aVar3.b();
            if (a6.l() || !Intrinsics.a(a6.f(), Integer.valueOf(a3))) {
                a6.G(Integer.valueOf(a3));
                a6.z(Integer.valueOf(a3), b);
            }
            a5.invoke(c14.a(c14.b(zd0Var)), zd0Var, 0);
            zd0Var.e(2058660585);
            ta0 ta0Var = ta0.a;
            long e2 = xe4.e(18);
            long d = e80.d(4279638553L);
            rf1.a aVar4 = rf1.b;
            ce4.a("Preguntas frecuentes", null, 0L, 0L, null, null, null, 0L, null, null, 0L, 0, false, 0, 0, null, new se4(d, e2, aVar4.d(), null, null, null, null, 0L, null, null, null, 0L, null, null, null, 0, 0, 0L, null, null, null, 0, 0, null, 16777208, null), zd0Var, 6, 0, 65534);
            s34.a(androidx.compose.foundation.layout.d.h(aVar, wx0.s(f)), zd0Var, 6);
            ce4.a("¿Qué hacer si se presentan problemas durante la revisión del préstamo?", null, 0L, 0L, null, null, null, 0L, null, null, 0L, 0, false, 0, 0, null, new se4(e80.d(4279638553L), xe4.e(14), aVar4.d(), null, null, null, null, 0L, null, null, null, 0L, null, null, null, 0, 0, 0L, null, null, null, 0, 0, null, 16777208, null), zd0Var, 6, 0, 65534);
            float f2 = 12;
            s34.a(androidx.compose.foundation.layout.d.h(aVar, wx0.s(f2)), zd0Var, 6);
            ce4.a("Si encuentra problemas durante el proceso de revisión o si el estado no cambia durante mucho tiempo, le recomendamos que se comunique con el servicio de atención al cliente de inmediato y proporcione los detalles relevantes. Le ayudaremos a resolver el problema.", null, 0L, 0L, null, null, null, 0L, null, null, 0L, 0, false, 0, 0, null, new se4(e80.d(4287273366L), xe4.e(14), null, null, null, null, null, 0L, null, null, null, 0L, null, null, null, 0, 0, 0L, null, null, null, 0, 0, null, 16777212, null), zd0Var, 6, 0, 65534);
            s34.a(androidx.compose.foundation.layout.d.h(aVar, wx0.s(16)), zd0Var, 6);
            ce4.a("¿Cuánto tiempo se tarda en recibir los fondos del préstamo?", null, 0L, 0L, null, null, null, 0L, null, null, 0L, 0, false, 0, 0, null, new se4(e80.d(4279638553L), xe4.e(14), aVar4.d(), null, null, null, null, 0L, null, null, null, 0L, null, null, null, 0, 0, 0L, null, null, null, 0, 0, null, 16777208, null), zd0Var, 6, 0, 65534);
            s34.a(androidx.compose.foundation.layout.d.h(aVar, wx0.s(f2)), zd0Var, 6);
            ce4.a("El tiempo para recibir los fondos del préstamo depende del proceso de aprobación y del tiempo de procesamiento de Banco. Por lo general, recibirá los fondos dentro de 1 días hábiles después de la aprobación del préstamo. Si hay retrasos, por favor, comuníquese con el servicio de atención al cliente para confirmar el estado.", null, 0L, 0L, null, null, null, 0L, null, null, 0L, 0, false, 0, 0, null, new se4(e80.d(4287273366L), xe4.e(14), null, null, null, null, null, 0L, null, null, null, 0L, null, null, null, 0, 0, 0L, null, null, null, 0, 0, null, 16777212, null), zd0Var, 6, 0, 65534);
            s34.a(androidx.compose.foundation.layout.d.h(aVar, wx0.s(f)), zd0Var, 6);
            if2 e3 = androidx.compose.foundation.d.e(aVar, false, null, null, new a(catLoanDetailActivity), 7, null);
            zd0Var.e(733328855);
            ad2 g = jt.g(aVar2.j(), false, zd0Var, 0);
            zd0Var.e(-1323940314);
            int a7 = td0.a(zd0Var, 0);
            re0 D2 = zd0Var.D();
            Function0<wd0> a8 = aVar3.a();
            ii1<c14<wd0>, zd0, Integer, Unit> a9 = i12.a(e3);
            if (!(zd0Var.s() instanceof tf)) {
                td0.b();
            }
            zd0Var.q();
            if (zd0Var.l()) {
                zd0Var.w(a8);
            } else {
                zd0Var.F();
            }
            zd0 a10 = qm4.a(zd0Var);
            qm4.b(a10, g, aVar3.c());
            qm4.b(a10, D2, aVar3.e());
            Function2<wd0, Integer, Unit> b2 = aVar3.b();
            if (a10.l() || !Intrinsics.a(a10.f(), Integer.valueOf(a7))) {
                a10.G(Integer.valueOf(a7));
                a10.z(Integer.valueOf(a7), b2);
            }
            a9.invoke(c14.a(c14.b(zd0Var)), zd0Var, 0);
            zd0Var.e(2058660585);
            androidx.compose.foundation.layout.a aVar5 = androidx.compose.foundation.layout.a.a;
            zf.f a11 = zfVar.a();
            d5.c e4 = aVar2.e();
            if2 g2 = androidx.compose.foundation.layout.d.g(aVar, 0.0f, 1, null);
            zd0Var.e(693286680);
            ad2 a12 = vm3.a(a11, e4, zd0Var, 54);
            zd0Var.e(-1323940314);
            int a13 = td0.a(zd0Var, 0);
            re0 D3 = zd0Var.D();
            Function0<wd0> a14 = aVar3.a();
            ii1<c14<wd0>, zd0, Integer, Unit> a15 = i12.a(g2);
            if (!(zd0Var.s() instanceof tf)) {
                td0.b();
            }
            zd0Var.q();
            if (zd0Var.l()) {
                zd0Var.w(a14);
            } else {
                zd0Var.F();
            }
            zd0 a16 = qm4.a(zd0Var);
            qm4.b(a16, a12, aVar3.c());
            qm4.b(a16, D3, aVar3.e());
            Function2<wd0, Integer, Unit> b3 = aVar3.b();
            if (a16.l() || !Intrinsics.a(a16.f(), Integer.valueOf(a13))) {
                a16.G(Integer.valueOf(a13));
                a16.z(Integer.valueOf(a13), b3);
            }
            a15.invoke(c14.a(c14.b(zd0Var)), zd0Var, 0);
            zd0Var.e(2058660585);
            xm3 xm3Var = xm3.a;
            ce4.a("Ver más", null, 0L, 0L, null, null, null, 0L, null, null, 0L, 0, false, 0, 0, null, new se4(e80.d(4279415448L), xe4.e(14), aVar4.d(), null, null, null, null, 0L, null, null, null, 0L, null, null, null, 0, 0, 0L, null, null, null, 0, 0, null, 16777208, null), zd0Var, 6, 0, 65534);
            float f3 = 14;
            oq1.a(w03.d(R$drawable.icon_green_more, zd0Var, 0), null, androidx.compose.foundation.layout.b.b(androidx.compose.foundation.layout.c.n(androidx.compose.foundation.layout.d.j(aVar, wx0.s(f3), wx0.s(f3)), 0.0f, wx0.s(3), 0.0f, 0.0f, 13, null), wx0.s(4), 0.0f, 2, null), null, null, 0.0f, null, zd0Var, 440, 120);
            zd0Var.L();
            zd0Var.N();
            zd0Var.L();
            zd0Var.L();
            zd0Var.L();
            zd0Var.N();
            zd0Var.L();
            zd0Var.L();
            zd0Var.L();
            zd0Var.N();
            zd0Var.L();
            zd0Var.L();
            if (ee0.I()) {
                ee0.T();
            }
        }

        public Object invoke(Object obj, Object obj2) {
            b((zd0) obj, ((Number) obj2).intValue());
            return Unit.a;
        }
    }

    @Metadata
    public static final class i0 extends o02 implements Function2<zd0, Integer, Unit> {
        final int $$changed;
        final hy2 $orderStatus;

        public i0(hy2 hy2Var, int i) {
            super(2);
            this.$orderStatus = hy2Var;
            this.$$changed = i;
        }

        public final void b(zd0 zd0Var, int i) {
            CatLoanDetailActivity.this.e1(this.$orderStatus, zd0Var, fe3.a(this.$$changed | 1));
        }

        public Object invoke(Object obj, Object obj2) {
            b((zd0) obj, ((Number) obj2).intValue());
            return Unit.a;
        }
    }

    @Metadata
    public static final class j extends o02 implements Function2<zd0, Integer, Unit> {
        final int $$changed;

        public j(int i) {
            super(2);
            this.$$changed = i;
        }

        public final void b(zd0 zd0Var, int i) {
            CatLoanDetailActivity.this.P0(zd0Var, fe3.a(this.$$changed | 1));
        }

        public Object invoke(Object obj, Object obj2) {
            b((zd0) obj, ((Number) obj2).intValue());
            return Unit.a;
        }
    }

    @Metadata
    public static final class j0 extends o02 implements Function2<zd0, Integer, Unit> {
        public j0() {
            super(2);
        }

        public final void b(zd0 zd0Var, int i) {
            if ((i & 11) == 2 && zd0Var.r()) {
                zd0Var.A();
                return;
            }
            if (ee0.I()) {
                ee0.U(-2114324087, i, -1, "com.aa.home.view.CatLoanDetailActivity.SetContentView.<anonymous> (CatLoanDetailActivity.kt:318)");
            }
            CatLoanDetailActivity.this.O0(zd0Var, 8);
            if (ee0.I()) {
                ee0.T();
            }
        }

        public Object invoke(Object obj, Object obj2) {
            b((zd0) obj, ((Number) obj2).intValue());
            return Unit.a;
        }
    }

    @Metadata
    public static final class k extends o02 implements Function0<Unit> {
        final LoanDetailModel $loanDetailModel;
        final CatLoanDetailActivity this$0;

        public k(LoanDetailModel loanDetailModel, CatLoanDetailActivity catLoanDetailActivity) {
            super(0);
            this.$loanDetailModel = loanDetailModel;
            this.this$0 = catLoanDetailActivity;
        }

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

        public final void m73invoke() {
            this.this$0.u1(this.$loanDetailModel.getOpinionate(), false, false);
        }
    }

    @Metadata
    public static final class k0 extends o02 implements ii1<kz2, zd0, Integer, Unit> {

        @Metadata
        public static final class a extends o02 implements Function0<Unit> {
            final CatLoanDetailActivity this$0;

            public a(CatLoanDetailActivity catLoanDetailActivity) {
                super(0);
                this.this$0 = catLoanDetailActivity;
            }

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

            public final void m74invoke() {
                CatLoanDetailViewModel catLoanDetailViewModel = this.this$0.u1;
                if (catLoanDetailViewModel == null) {
                    Intrinsics.r("viewModel");
                    catLoanDetailViewModel = null;
                }
                catLoanDetailViewModel.getRefreshing().setValue(Boolean.TRUE);
                this.this$0.w1();
            }
        }

        public k0() {
            super(3);
        }

        public static final boolean c(ti2<Boolean> ti2Var) {
            return ti2Var.getValue().booleanValue();
        }

        public final void b(@NotNull kz2 kz2Var, zd0 zd0Var, int i) {
            int i2;
            Intrinsics.checkNotNullParameter(kz2Var, "innerPadding");
            if ((i & 14) == 0) {
                i2 = i | (zd0Var.P(kz2Var) ? 4 : 2);
            } else {
                i2 = i;
            }
            if ((i2 & 91) == 18 && zd0Var.r()) {
                zd0Var.A();
                return;
            }
            if (ee0.I()) {
                ee0.U(124534804, i2, -1, "com.aa.home.view.CatLoanDetailActivity.SetContentView.<anonymous> (CatLoanDetailActivity.kt:323)");
            }
            CatLoanDetailActivity catLoanDetailActivity = CatLoanDetailActivity.this;
            zd0Var.e(-492369756);
            Object f = zd0Var.f();
            if (f == zd0.a.a()) {
                CatLoanDetailViewModel catLoanDetailViewModel = catLoanDetailActivity.u1;
                if (catLoanDetailViewModel == null) {
                    Intrinsics.r("viewModel");
                    catLoanDetailViewModel = null;
                }
                f = catLoanDetailViewModel.getRefreshing();
                zd0Var.G(f);
            }
            zd0Var.L();
            ti2 ti2Var = (ti2) f;
            kc3 a2 = lc3.a(c(ti2Var), new a(CatLoanDetailActivity.this), 0.0f, 0.0f, zd0Var, 0, 12);
            if2.a aVar = if2.a;
            if2 d = ic3.d(androidx.compose.foundation.layout.d.c(androidx.compose.foundation.layout.d.g(aVar, 0.0f, 1, null), 0.0f, 1, null), a2, false, 2, null);
            CatLoanDetailActivity catLoanDetailActivity2 = CatLoanDetailActivity.this;
            zd0Var.e(733328855);
            d5.a aVar2 = d5.a;
            ad2 g = jt.g(aVar2.j(), false, zd0Var, 0);
            zd0Var.e(-1323940314);
            int a3 = td0.a(zd0Var, 0);
            re0 D = zd0Var.D();
            wd0.a aVar3 = wd0.n;
            Function0<wd0> a4 = aVar3.a();
            ii1<c14<wd0>, zd0, Integer, Unit> a5 = i12.a(d);
            if (!(zd0Var.s() instanceof tf)) {
                td0.b();
            }
            zd0Var.q();
            if (zd0Var.l()) {
                zd0Var.w(a4);
            } else {
                zd0Var.F();
            }
            zd0 a6 = qm4.a(zd0Var);
            qm4.b(a6, g, aVar3.c());
            qm4.b(a6, D, aVar3.e());
            Function2<wd0, Integer, Unit> b = aVar3.b();
            if (a6.l() || !Intrinsics.a(a6.f(), Integer.valueOf(a3))) {
                a6.G(Integer.valueOf(a3));
                a6.z(Integer.valueOf(a3), b);
            }
            a5.invoke(c14.a(c14.b(zd0Var)), zd0Var, 0);
            zd0Var.e(2058660585);
            androidx.compose.foundation.layout.a aVar4 = androidx.compose.foundation.layout.a.a;
            if2 d2 = ks3.d(androidx.compose.foundation.layout.c.i(aVar, kz2Var), ks3.a(0, zd0Var, 0, 1), false, null, false, 14, null);
            zd0Var.e(-483455358);
            ad2 a7 = sa0.a(zf.a.e(), aVar2.g(), zd0Var, 0);
            zd0Var.e(-1323940314);
            int a8 = td0.a(zd0Var, 0);
            re0 D2 = zd0Var.D();
            Function0<wd0> a9 = aVar3.a();
            ii1<c14<wd0>, zd0, Integer, Unit> a10 = i12.a(d2);
            if (!(zd0Var.s() instanceof tf)) {
                td0.b();
            }
            zd0Var.q();
            if (zd0Var.l()) {
                zd0Var.w(a9);
            } else {
                zd0Var.F();
            }
            zd0 a11 = qm4.a(zd0Var);
            qm4.b(a11, a7, aVar3.c());
            qm4.b(a11, D2, aVar3.e());
            Function2<wd0, Integer, Unit> b2 = aVar3.b();
            if (a11.l() || !Intrinsics.a(a11.f(), Integer.valueOf(a8))) {
                a11.G(Integer.valueOf(a8));
                a11.z(Integer.valueOf(a8), b2);
            }
            a10.invoke(c14.a(c14.b(zd0Var)), zd0Var, 0);
            zd0Var.e(2058660585);
            ta0 ta0Var = ta0.a;
            CatLoanDetailViewModel catLoanDetailViewModel2 = catLoanDetailActivity2.u1;
            if (catLoanDetailViewModel2 == null) {
                Intrinsics.r("viewModel");
                catLoanDetailViewModel2 = null;
            }
            hy2 orderStatus = catLoanDetailViewModel2.getOrderStatus();
            CatLoanDetailViewModel catLoanDetailViewModel3 = catLoanDetailActivity2.u1;
            if (catLoanDetailViewModel3 == null) {
                Intrinsics.r("viewModel");
                catLoanDetailViewModel3 = null;
            }
            catLoanDetailActivity2.f1(orderStatus, catLoanDetailViewModel3.getLoanDetailModel(), zd0Var, 576);
            s34.a(androidx.compose.foundation.layout.d.h(aVar, wx0.s(12)), zd0Var, 6);
            zd0Var.e(-1353258);
            CatLoanDetailViewModel catLoanDetailViewModel4 = catLoanDetailActivity2.u1;
            if (catLoanDetailViewModel4 == null) {
                Intrinsics.r("viewModel");
                catLoanDetailViewModel4 = null;
            }
            if (catLoanDetailViewModel4.getLoanDetailModel().getOpinionate() != null && (!r1.isEmpty())) {
                CatLoanDetailViewModel catLoanDetailViewModel5 = catLoanDetailActivity2.u1;
                if (catLoanDetailViewModel5 == null) {
                    Intrinsics.r("viewModel");
                    catLoanDetailViewModel5 = null;
                }
                hy2 orderStatus2 = catLoanDetailViewModel5.getOrderStatus();
                CatLoanDetailViewModel catLoanDetailViewModel6 = catLoanDetailActivity2.u1;
                if (catLoanDetailViewModel6 == null) {
                    Intrinsics.r("viewModel");
                    catLoanDetailViewModel6 = null;
                }
                catLoanDetailActivity2.R0(orderStatus2, catLoanDetailViewModel6.getLoanDetailModel(), zd0Var, 576);
            }
            zd0Var.L();
            catLoanDetailActivity2.P0(zd0Var, 8);
            CatLoanDetailViewModel catLoanDetailViewModel7 = catLoanDetailActivity2.u1;
            if (catLoanDetailViewModel7 == null) {
                Intrinsics.r("viewModel");
                catLoanDetailViewModel7 = null;
            }
            String cs = catLoanDetailViewModel7.getCs();
            CatLoanDetailViewModel catLoanDetailViewModel8 = catLoanDetailActivity2.u1;
            if (catLoanDetailViewModel8 == null) {
                Intrinsics.r("viewModel");
                catLoanDetailViewModel8 = null;
            }
            String email = catLoanDetailViewModel8.getEmail();
            CatLoanDetailViewModel catLoanDetailViewModel9 = catLoanDetailActivity2.u1;
            if (catLoanDetailViewModel9 == null) {
                Intrinsics.r("viewModel");
                catLoanDetailViewModel9 = null;
            }
            im0.a(catLoanDetailActivity2, cs, email, catLoanDetailViewModel9.getWhatsApp(), zd0Var, 8);
            s34.a(androidx.compose.foundation.layout.d.h(aVar, wx0.s(16)), zd0Var, 6);
            catLoanDetailActivity2.N0(zd0Var, 8);
            s34.a(androidx.compose.foundation.layout.d.h(aVar, wx0.s(39)), zd0Var, 6);
            zd0Var.L();
            zd0Var.N();
            zd0Var.L();
            zd0Var.L();
            gc3.d(c(ti2Var), a2, aVar4.a(aVar, aVar2.i()), 0L, 0L, false, zd0Var, kc3.j << 3, 56);
            zd0Var.L();
            zd0Var.N();
            zd0Var.L();
            zd0Var.L();
            if (ee0.I()) {
                ee0.T();
            }
        }

        public Object invoke(Object obj, Object obj2, Object obj3) {
            b((kz2) obj, (zd0) obj2, ((Number) obj3).intValue());
            return Unit.a;
        }
    }

    @Metadata
    public static final class l extends o02 implements Function0<Unit> {
        final LoanDetailModel $loanDetailModel;
        final CatLoanDetailActivity this$0;

        public l(LoanDetailModel loanDetailModel, CatLoanDetailActivity catLoanDetailActivity) {
            super(0);
            this.$loanDetailModel = loanDetailModel;
            this.this$0 = catLoanDetailActivity;
        }

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

        public final void m75invoke() {
            BigDecimal subtract;
            InstallmentL installmentL;
            BigDecimal subtract2;
            xe3 xe3Var = new xe3();
            xe3Var.element = new BigDecimal(0);
            List<InstallmentL> opinionate = this.$loanDetailModel.getOpinionate();
            BigDecimal bigDecimal = null;
            if (opinionate == null || opinionate.size() != 2) {
                BigDecimal strychnine = this.$loanDetailModel.getStrychnine();
                if (strychnine != null && (subtract = strychnine.subtract(this.$loanDetailModel.getFarces())) != null) {
                    List<InstallmentL> opinionate2 = this.$loanDetailModel.getOpinionate();
                    if (opinionate2 != null && (installmentL = (InstallmentL) q70.X(opinionate2)) != null) {
                        bigDecimal = installmentL.getSquatterdom();
                    }
                    bigDecimal = subtract.add(bigDecimal);
                }
                if (bigDecimal == null) {
                    bigDecimal = new BigDecimal(0);
                }
                xe3Var.element = bigDecimal;
            } else {
                BigDecimal strychnine2 = this.$loanDetailModel.getStrychnine();
                if (strychnine2 != null && (subtract2 = strychnine2.subtract(this.$loanDetailModel.getFarces())) != null) {
                    bigDecimal = subtract2.add(((InstallmentL) q70.X(this.$loanDetailModel.getOpinionate())).getSquatterdom());
                }
                if (bigDecimal == null) {
                    bigDecimal = new BigDecimal(0);
                }
                xe3Var.element = bigDecimal;
            }
            y10 y10Var = new y10(this.$loanDetailModel.getOpinionate(), (BigDecimal) xe3Var.element);
            y10 f = y10Var.f(this.this$0);
            if (f != null) {
                f.k();
            }
            y10Var.i(new a(this.$loanDetailModel, this.this$0, xe3Var));
        }

        @Metadata
        public static final class a implements pp1 {
            public final LoanDetailModel a;
            public final CatLoanDetailActivity b;
            public final xe3<BigDecimal> c;

            public a(LoanDetailModel loanDetailModel, CatLoanDetailActivity catLoanDetailActivity, xe3<BigDecimal> xe3Var) {
                this.a = loanDetailModel;
                this.b = catLoanDetailActivity;
                this.c = xe3Var;
            }

            @Override
            public void a() {
                Intent intent = new Intent(this.b, (Class<?>) WebActivity.class);
                intent.putExtra("router", "CatExtensionAgreement");
                CatLoanDetailViewModel catLoanDetailViewModel = this.b.u1;
                if (catLoanDetailViewModel == null) {
                    Intrinsics.r("viewModel");
                    catLoanDetailViewModel = null;
                }
                intent.putExtra("loanId", catLoanDetailViewModel.getLoanId());
                this.b.startActivity(intent);
            }

            @Override
            public void c() {
                List<InstallmentL> opinionate = this.a.getOpinionate();
                CatLoanDetailViewModel catLoanDetailViewModel = null;
                if (opinionate != null && opinionate.size() == 2) {
                    CatLoanDetailActivity catLoanDetailActivity = this.b;
                    List<InstallmentL> opinionate2 = this.a.getOpinionate();
                    CatLoanDetailViewModel catLoanDetailViewModel2 = this.b.u1;
                    if (catLoanDetailViewModel2 == null) {
                        Intrinsics.r("viewModel");
                    } else {
                        catLoanDetailViewModel = catLoanDetailViewModel2;
                    }
                    oo1.c(catLoanDetailActivity, opinionate2, catLoanDetailViewModel.getLoanId(), false, true, (BigDecimal) this.c.element);
                    return;
                }
                CatLoanDetailActivity catLoanDetailActivity2 = this.b;
                List<InstallmentL> opinionate3 = this.a.getOpinionate();
                InstallmentL installmentL = opinionate3 != null ? (InstallmentL) xa0.e(opinionate3) : null;
                CatLoanDetailViewModel catLoanDetailViewModel3 = this.b.u1;
                if (catLoanDetailViewModel3 == null) {
                    Intrinsics.r("viewModel");
                } else {
                    catLoanDetailViewModel = catLoanDetailViewModel3;
                }
                oo1.e(catLoanDetailActivity2, installmentL, catLoanDetailViewModel.getLoanId(), false, true, (BigDecimal) this.c.element);
            }

            @Override
            public void b() {
            }
        }
    }

    @Metadata
    public static final class l0 extends o02 implements Function2<zd0, Integer, Unit> {
        final int $$changed;

        public l0(int i) {
            super(2);
            this.$$changed = i;
        }

        public final void b(zd0 zd0Var, int i) {
            CatLoanDetailActivity.this.B0(zd0Var, fe3.a(this.$$changed | 1));
        }

        public Object invoke(Object obj, Object obj2) {
            b((zd0) obj, ((Number) obj2).intValue());
            return Unit.a;
        }
    }

    @Metadata
    public static final class m extends o02 implements Function0<Unit> {
        final LoanDetailModel $loanDetailModel;
        final CatLoanDetailActivity this$0;

        public m(LoanDetailModel loanDetailModel, CatLoanDetailActivity catLoanDetailActivity) {
            super(0);
            this.$loanDetailModel = loanDetailModel;
            this.this$0 = catLoanDetailActivity;
        }

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

        public final void m76invoke() {
            this.this$0.u1(this.$loanDetailModel.getOpinionate(), false, false);
        }
    }

    @Metadata
    public static final class m0 extends o02 implements Function2<zd0, Integer, Unit> {
        final int $$dirty;
        final LoanDetailModel $loanDetailModel;
        final hy2 $orderStatus;
        final CatLoanDetailActivity this$0;

        @Metadata
        public static final class a extends o02 implements Function0<Unit> {
            final CatLoanDetailActivity this$0;

            public a(CatLoanDetailActivity catLoanDetailActivity) {
                super(0);
                this.this$0 = catLoanDetailActivity;
            }

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

            public final void m77invoke() {
                this.this$0.A1();
            }
        }

        public m0(LoanDetailModel loanDetailModel, hy2 hy2Var, CatLoanDetailActivity catLoanDetailActivity, int i) {
            super(2);
            this.$loanDetailModel = loanDetailModel;
            this.$orderStatus = hy2Var;
            this.this$0 = catLoanDetailActivity;
            this.$$dirty = i;
        }

        public final void b(defpackage.zd0 r60, int r61) {
            throw new UnsupportedOperationException("Method not decompiled: com.aa.home.view.CatLoanDetailActivity.m0.b(zd0, int):void");
        }

        public Object invoke(Object obj, Object obj2) {
            b((zd0) obj, ((Number) obj2).intValue());
            return Unit.a;
        }
    }

    @Metadata
    public static final class n extends o02 implements Function0<Unit> {
        final LoanDetailModel $loanDetailModel;
        final CatLoanDetailActivity this$0;

        public n(LoanDetailModel loanDetailModel, CatLoanDetailActivity catLoanDetailActivity) {
            super(0);
            this.$loanDetailModel = loanDetailModel;
            this.this$0 = catLoanDetailActivity;
        }

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

        public final void m78invoke() {
            xe3 xe3Var = new xe3();
            xe3Var.element = new BigDecimal(0);
            List<InstallmentL> opinionate = this.$loanDetailModel.getOpinionate();
            CatLoanDetailViewModel catLoanDetailViewModel = null;
            if (opinionate == null || opinionate.size() != 2) {
                BigDecimal strychnine = this.$loanDetailModel.getStrychnine();
                BigDecimal subtract = strychnine != null ? strychnine.subtract(this.$loanDetailModel.getFarces()) : null;
                if (subtract == null) {
                    subtract = new BigDecimal(0);
                }
                xe3Var.element = subtract;
            } else {
                BigDecimal strychnine2 = this.$loanDetailModel.getStrychnine();
                BigDecimal subtract2 = strychnine2 != null ? strychnine2.subtract(this.$loanDetailModel.getFarces()) : null;
                if (subtract2 == null) {
                    subtract2 = new BigDecimal(0);
                }
                xe3Var.element = subtract2;
            }
            CatLoanDetailViewModel catLoanDetailViewModel2 = this.this$0.u1;
            if (catLoanDetailViewModel2 == null) {
                Intrinsics.r("viewModel");
            } else {
                catLoanDetailViewModel = catLoanDetailViewModel2;
            }
            y10 y10Var = new y10(catLoanDetailViewModel.getLoanDetailModel().getOpinionate(), (BigDecimal) xe3Var.element);
            y10 f = y10Var.f(this.this$0);
            if (f != null) {
                f.k();
            }
            y10Var.i(new a(this.$loanDetailModel, this.this$0, xe3Var));
        }

        @Metadata
        public static final class a implements pp1 {
            public final LoanDetailModel a;
            public final CatLoanDetailActivity b;
            public final xe3<BigDecimal> c;

            public a(LoanDetailModel loanDetailModel, CatLoanDetailActivity catLoanDetailActivity, xe3<BigDecimal> xe3Var) {
                this.a = loanDetailModel;
                this.b = catLoanDetailActivity;
                this.c = xe3Var;
            }

            @Override
            public void a() {
                Intent intent = new Intent(this.b, (Class<?>) WebActivity.class);
                intent.putExtra("router", "CatExtensionAgreement");
                CatLoanDetailViewModel catLoanDetailViewModel = this.b.u1;
                if (catLoanDetailViewModel == null) {
                    Intrinsics.r("viewModel");
                    catLoanDetailViewModel = null;
                }
                intent.putExtra("loanId", catLoanDetailViewModel.getLoanId());
                this.b.startActivity(intent);
            }

            @Override
            public void c() {
                List<InstallmentL> opinionate = this.a.getOpinionate();
                CatLoanDetailViewModel catLoanDetailViewModel = null;
                if (opinionate != null && opinionate.size() == 2) {
                    CatLoanDetailActivity catLoanDetailActivity = this.b;
                    List<InstallmentL> opinionate2 = this.a.getOpinionate();
                    CatLoanDetailViewModel catLoanDetailViewModel2 = this.b.u1;
                    if (catLoanDetailViewModel2 == null) {
                        Intrinsics.r("viewModel");
                    } else {
                        catLoanDetailViewModel = catLoanDetailViewModel2;
                    }
                    oo1.c(catLoanDetailActivity, opinionate2, catLoanDetailViewModel.getLoanId(), false, true, (BigDecimal) this.c.element);
                    return;
                }
                CatLoanDetailActivity catLoanDetailActivity2 = this.b;
                List<InstallmentL> opinionate3 = this.a.getOpinionate();
                InstallmentL installmentL = opinionate3 != null ? (InstallmentL) xa0.e(opinionate3) : null;
                CatLoanDetailViewModel catLoanDetailViewModel3 = this.b.u1;
                if (catLoanDetailViewModel3 == null) {
                    Intrinsics.r("viewModel");
                } else {
                    catLoanDetailViewModel = catLoanDetailViewModel3;
                }
                oo1.e(catLoanDetailActivity2, installmentL, catLoanDetailViewModel.getLoanId(), false, true, (BigDecimal) this.c.element);
            }

            @Override
            public void b() {
            }
        }
    }

    @Metadata
    public static final class n0 extends o02 implements Function2<zd0, Integer, Unit> {
        final int $$changed;
        final LoanDetailModel $loanDetailModel;
        final hy2 $orderStatus;

        public n0(hy2 hy2Var, LoanDetailModel loanDetailModel, int i) {
            super(2);
            this.$orderStatus = hy2Var;
            this.$loanDetailModel = loanDetailModel;
            this.$$changed = i;
        }

        public final void b(zd0 zd0Var, int i) {
            CatLoanDetailActivity.this.f1(this.$orderStatus, this.$loanDetailModel, zd0Var, fe3.a(this.$$changed | 1));
        }

        public Object invoke(Object obj, Object obj2) {
            b((zd0) obj, ((Number) obj2).intValue());
            return Unit.a;
        }
    }

    @Metadata
    public static final class o extends o02 implements Function0<Unit> {
        final LoanDetailModel $loanDetailModel;
        final CatLoanDetailActivity this$0;

        public o(LoanDetailModel loanDetailModel, CatLoanDetailActivity catLoanDetailActivity) {
            super(0);
            this.$loanDetailModel = loanDetailModel;
            this.this$0 = catLoanDetailActivity;
        }

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

        public final void m79invoke() {
            this.this$0.u1(this.$loanDetailModel.getOpinionate(), false, false);
        }
    }

    @Metadata
    public class o0 {
        public static final int[] a;

        static {
            int[] iArr = new int[hy2.values().length];
            try {
                iArr[hy2.a.ordinal()] = 1;
            } catch (NoSuchFieldError unused) {
            }
            try {
                iArr[hy2.c.ordinal()] = 2;
            } catch (NoSuchFieldError unused2) {
            }
            try {
                iArr[hy2.b.ordinal()] = 3;
            } catch (NoSuchFieldError unused3) {
            }
            try {
                iArr[hy2.d.ordinal()] = 4;
            } catch (NoSuchFieldError unused4) {
            }
            try {
                iArr[hy2.e.ordinal()] = 5;
            } catch (NoSuchFieldError unused5) {
            }
            try {
                iArr[hy2.f.ordinal()] = 6;
            } catch (NoSuchFieldError unused6) {
            }
            try {
                iArr[hy2.k.ordinal()] = 7;
            } catch (NoSuchFieldError unused7) {
            }
            try {
                iArr[hy2.g.ordinal()] = 8;
            } catch (NoSuchFieldError unused8) {
            }
            try {
                iArr[hy2.i.ordinal()] = 9;
            } catch (NoSuchFieldError unused9) {
            }
            try {
                iArr[hy2.j.ordinal()] = 10;
            } catch (NoSuchFieldError unused10) {
            }
            try {
                iArr[hy2.h.ordinal()] = 11;
            } catch (NoSuchFieldError unused11) {
            }
            a = iArr;
        }
    }

    @Metadata
    public static final class p extends o02 implements Function0<Unit> {
        final LoanDetailModel $loanDetailModel;
        final hy2 $orderStatus;
        final CatLoanDetailActivity this$0;

        public p(LoanDetailModel loanDetailModel, hy2 hy2Var, CatLoanDetailActivity catLoanDetailActivity) {
            super(0);
            this.$loanDetailModel = loanDetailModel;
            this.$orderStatus = hy2Var;
            this.this$0 = catLoanDetailActivity;
        }

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

        public final void m80invoke() {
            this.this$0.u1(this.$loanDetailModel.getOpinionate(), this.$orderStatus == hy2.j, true);
        }
    }

    @Metadata
    public static final class p0 extends jp<tp<LoanDetailModel>> {
        public p0() {
        }

        @Override
        public void b(Throwable th) {
            CatLoanDetailActivity.this.H0();
            CatLoanDetailViewModel catLoanDetailViewModel = CatLoanDetailActivity.this.u1;
            if (catLoanDetailViewModel == null) {
                Intrinsics.r("viewModel");
                catLoanDetailViewModel = null;
            }
            catLoanDetailViewModel.getRefreshing().setValue(Boolean.FALSE);
        }

        @Override
        public void a(@NotNull tp<LoanDetailModel> tpVar) {
            Intrinsics.checkNotNullParameter(tpVar, "t");
            CatLoanDetailActivity.this.H0();
            CatLoanDetailViewModel catLoanDetailViewModel = CatLoanDetailActivity.this.u1;
            if (catLoanDetailViewModel == null) {
                Intrinsics.r("viewModel");
                catLoanDetailViewModel = null;
            }
            catLoanDetailViewModel.getRefreshing().setValue(Boolean.FALSE);
            j40.a.b(j40.a, CatLoanDetailActivity.this, tpVar.responseError, 0, 4, null);
        }

        @Override
        public void c(@NotNull tp<LoanDetailModel> tpVar) {
            Intrinsics.checkNotNullParameter(tpVar, "resp");
            CatLoanDetailActivity.this.H0();
            CatLoanDetailViewModel catLoanDetailViewModel = CatLoanDetailActivity.this.u1;
            CatLoanDetailViewModel catLoanDetailViewModel2 = null;
            if (catLoanDetailViewModel == null) {
                Intrinsics.r("viewModel");
                catLoanDetailViewModel = null;
            }
            catLoanDetailViewModel.getRefreshing().setValue(Boolean.FALSE);
            CatLoanDetailViewModel catLoanDetailViewModel3 = CatLoanDetailActivity.this.u1;
            if (catLoanDetailViewModel3 == null) {
                Intrinsics.r("viewModel");
                catLoanDetailViewModel3 = null;
            }
            LoanDetailModel loanDetailModel = tpVar.data;
            Intrinsics.checkNotNullExpressionValue(loanDetailModel, "data");
            catLoanDetailViewModel3.setLoanDetailModel(loanDetailModel);
            CatLoanDetailViewModel catLoanDetailViewModel4 = CatLoanDetailActivity.this.u1;
            if (catLoanDetailViewModel4 == null) {
                Intrinsics.r("viewModel");
                catLoanDetailViewModel4 = null;
            }
            Integer asynaptic = catLoanDetailViewModel4.getLoanDetailModel().getAsynaptic();
            if (asynaptic != null && asynaptic.intValue() == 1) {
                CatLoanDetailViewModel catLoanDetailViewModel5 = CatLoanDetailActivity.this.u1;
                if (catLoanDetailViewModel5 == null) {
                    Intrinsics.r("viewModel");
                } else {
                    catLoanDetailViewModel2 = catLoanDetailViewModel5;
                }
                catLoanDetailViewModel2.setOrderStatus(hy2.a);
                CatLoanDetailActivity.this.C1(30000L);
                return;
            }
            if (asynaptic != null && asynaptic.intValue() == 2) {
                CatLoanDetailViewModel catLoanDetailViewModel6 = CatLoanDetailActivity.this.u1;
                if (catLoanDetailViewModel6 == null) {
                    Intrinsics.r("viewModel");
                } else {
                    catLoanDetailViewModel2 = catLoanDetailViewModel6;
                }
                catLoanDetailViewModel2.setOrderStatus(hy2.b);
                CatLoanDetailActivity.this.C1(30000L);
                return;
            }
            if (asynaptic != null && asynaptic.intValue() == 3) {
                CatLoanDetailViewModel catLoanDetailViewModel7 = CatLoanDetailActivity.this.u1;
                if (catLoanDetailViewModel7 == null) {
                    Intrinsics.r("viewModel");
                } else {
                    catLoanDetailViewModel2 = catLoanDetailViewModel7;
                }
                catLoanDetailViewModel2.setOrderStatus(hy2.c);
                CatLoanDetailActivity.this.C1(30000L);
                return;
            }
            if (asynaptic != null && asynaptic.intValue() == 4) {
                CatLoanDetailViewModel catLoanDetailViewModel8 = CatLoanDetailActivity.this.u1;
                if (catLoanDetailViewModel8 == null) {
                    Intrinsics.r("viewModel");
                } else {
                    catLoanDetailViewModel2 = catLoanDetailViewModel8;
                }
                catLoanDetailViewModel2.setOrderStatus(hy2.d);
                CatLoanDetailActivity.this.C1(30000L);
                return;
            }
            if ((asynaptic != null && asynaptic.intValue() == 5) || (asynaptic != null && asynaptic.intValue() == 12)) {
                CatLoanDetailViewModel catLoanDetailViewModel9 = CatLoanDetailActivity.this.u1;
                if (catLoanDetailViewModel9 == null) {
                    Intrinsics.r("viewModel");
                } else {
                    catLoanDetailViewModel2 = catLoanDetailViewModel9;
                }
                catLoanDetailViewModel2.setOrderStatus(hy2.f);
                CatLoanDetailActivity.this.C1(30000L);
                return;
            }
            if ((asynaptic != null && asynaptic.intValue() == 6) || (asynaptic != null && asynaptic.intValue() == 8)) {
                CatLoanDetailViewModel catLoanDetailViewModel10 = CatLoanDetailActivity.this.u1;
                if (catLoanDetailViewModel10 == null) {
                    Intrinsics.r("viewModel");
                } else {
                    catLoanDetailViewModel2 = catLoanDetailViewModel10;
                }
                catLoanDetailViewModel2.setOrderStatus(hy2.g);
                CatLoanDetailActivity.this.D1();
                return;
            }
            if (asynaptic != null && asynaptic.intValue() == 7) {
                CatLoanDetailViewModel catLoanDetailViewModel11 = CatLoanDetailActivity.this.u1;
                if (catLoanDetailViewModel11 == null) {
                    Intrinsics.r("viewModel");
                    catLoanDetailViewModel11 = null;
                }
                catLoanDetailViewModel11.setOrderStatus(hy2.i);
                CatLoanDetailViewModel catLoanDetailViewModel12 = CatLoanDetailActivity.this.u1;
                if (catLoanDetailViewModel12 == null) {
                    Intrinsics.r("viewModel");
                    catLoanDetailViewModel12 = null;
                }
                Long sentences = catLoanDetailViewModel12.getLoanDetailModel().getSentences();
                if (sentences != null) {
                    long longValue = sentences.longValue() - System.currentTimeMillis();
                    CatLoanDetailViewModel catLoanDetailViewModel13 = CatLoanDetailActivity.this.u1;
                    if (catLoanDetailViewModel13 == null) {
                        Intrinsics.r("viewModel");
                    } else {
                        catLoanDetailViewModel2 = catLoanDetailViewModel13;
                    }
                    catLoanDetailViewModel2.startCountDown(longValue);
                    CatLoanDetailActivity.this.D1();
                    return;
                }
                return;
            }
            if (asynaptic != null && asynaptic.intValue() == 10) {
                CatLoanDetailViewModel catLoanDetailViewModel14 = CatLoanDetailActivity.this.u1;
                if (catLoanDetailViewModel14 == null) {
                    Intrinsics.r("viewModel");
                } else {
                    catLoanDetailViewModel2 = catLoanDetailViewModel14;
                }
                catLoanDetailViewModel2.setOrderStatus(hy2.h);
                CatLoanDetailActivity.this.D1();
                return;
            }
            if (asynaptic == null || asynaptic.intValue() != 11) {
                if (asynaptic != null && asynaptic.intValue() == 9) {
                    CatLoanDetailViewModel catLoanDetailViewModel15 = CatLoanDetailActivity.this.u1;
                    if (catLoanDetailViewModel15 == null) {
                        Intrinsics.r("viewModel");
                    } else {
                        catLoanDetailViewModel2 = catLoanDetailViewModel15;
                    }
                    catLoanDetailViewModel2.setOrderStatus(hy2.k);
                    CatLoanDetailActivity.this.D1();
                    return;
                }
                return;
            }
            CatLoanDetailViewModel catLoanDetailViewModel16 = CatLoanDetailActivity.this.u1;
            if (catLoanDetailViewModel16 == null) {
                Intrinsics.r("viewModel");
                catLoanDetailViewModel16 = null;
            }
            catLoanDetailViewModel16.setOrderStatus(hy2.j);
            CatLoanDetailViewModel catLoanDetailViewModel17 = CatLoanDetailActivity.this.u1;
            if (catLoanDetailViewModel17 == null) {
                Intrinsics.r("viewModel");
                catLoanDetailViewModel17 = null;
            }
            Long cloit = catLoanDetailViewModel17.getLoanDetailModel().getCloit();
            if (cloit != null) {
                long longValue2 = cloit.longValue() - System.currentTimeMillis();
                CatLoanDetailViewModel catLoanDetailViewModel18 = CatLoanDetailActivity.this.u1;
                if (catLoanDetailViewModel18 == null) {
                    Intrinsics.r("viewModel");
                } else {
                    catLoanDetailViewModel2 = catLoanDetailViewModel18;
                }
                catLoanDetailViewModel2.startCountDown(longValue2);
                CatLoanDetailActivity.this.C1(30000L);
            }
        }
    }

    @Metadata
    public static final class q extends o02 implements Function0<Unit> {
        public q() {
            super(0);
        }

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

        public final void m81invoke() {
            CatLoanDetailActivity.this.x1();
        }
    }

    @Metadata
    public static final class q0 implements BaseComposeActivity.a {
        public q0() {
        }

        @Override
        public void a(boolean z) {
            if (!z) {
                CatLoanDetailActivity.this.D1();
            } else {
                CatLoanDetailActivity catLoanDetailActivity = CatLoanDetailActivity.this;
                catLoanDetailActivity.C1(catLoanDetailActivity.x1);
            }
        }
    }

    @Metadata
    public static final class r extends o02 implements Function2<zd0, Integer, Unit> {
        final int $$changed;
        final LoanDetailModel $loanDetailModel;
        final hy2 $orderStatus;

        public r(hy2 hy2Var, LoanDetailModel loanDetailModel, int i) {
            super(2);
            this.$orderStatus = hy2Var;
            this.$loanDetailModel = loanDetailModel;
            this.$$changed = i;
        }

        public final void b(zd0 zd0Var, int i) {
            CatLoanDetailActivity.this.Q0(this.$orderStatus, this.$loanDetailModel, zd0Var, fe3.a(this.$$changed | 1));
        }

        public Object invoke(Object obj, Object obj2) {
            b((zd0) obj, ((Number) obj2).intValue());
            return Unit.a;
        }
    }

    @Metadata
    public static final class s extends o02 implements Function2<zd0, Integer, Unit> {
        final ti2<Boolean> $dateExpand$delegate;
        final boolean $isShowLoanInfoDateView;
        final LoanDetailModel $loanDetailModel;
        final ti2<Boolean> $moneyExpand$delegate;
        final CatLoanDetailActivity this$0;

        @Metadata
        public static final class a extends o02 implements Function0<Unit> {
            final ti2<Boolean> $dateExpand$delegate;
            final boolean $isShowLoanInfoDateView;

            public a(boolean z, ti2<Boolean> ti2Var) {
                super(0);
                this.$isShowLoanInfoDateView = z;
                this.$dateExpand$delegate = ti2Var;
            }

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

            public final void m82invoke() {
                if (this.$isShowLoanInfoDateView) {
                    CatLoanDetailActivity.T0(this.$dateExpand$delegate, !CatLoanDetailActivity.S0(r0));
                }
            }
        }

        @Metadata
        public static final class b extends o02 implements Function0<Unit> {
            final ti2<Boolean> $moneyExpand$delegate;

            public b(ti2<Boolean> ti2Var) {
                super(0);
                this.$moneyExpand$delegate = ti2Var;
            }

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

            public final void m83invoke() {
                CatLoanDetailActivity.V0(this.$moneyExpand$delegate, !CatLoanDetailActivity.U0(r0));
            }
        }

        public s(boolean z, ti2<Boolean> ti2Var, CatLoanDetailActivity catLoanDetailActivity, ti2<Boolean> ti2Var2, LoanDetailModel loanDetailModel) {
            super(2);
            this.$isShowLoanInfoDateView = z;
            this.$dateExpand$delegate = ti2Var;
            this.this$0 = catLoanDetailActivity;
            this.$moneyExpand$delegate = ti2Var2;
            this.$loanDetailModel = loanDetailModel;
        }

        public final void b(defpackage.zd0 r107, int r108) {
            throw new UnsupportedOperationException("Method not decompiled: com.aa.home.view.CatLoanDetailActivity.s.b(zd0, int):void");
        }

        public Object invoke(Object obj, Object obj2) {
            b((zd0) obj, ((Number) obj2).intValue());
            return Unit.a;
        }
    }

    @Metadata
    public static final class t extends o02 implements Function2<zd0, Integer, Unit> {
        final int $$changed;
        final LoanDetailModel $loanDetailModel;
        final hy2 $status;

        public t(hy2 hy2Var, LoanDetailModel loanDetailModel, int i) {
            super(2);
            this.$status = hy2Var;
            this.$loanDetailModel = loanDetailModel;
            this.$$changed = i;
        }

        public final void b(zd0 zd0Var, int i) {
            CatLoanDetailActivity.this.R0(this.$status, this.$loanDetailModel, zd0Var, fe3.a(this.$$changed | 1));
        }

        public Object invoke(Object obj, Object obj2) {
            b((zd0) obj, ((Number) obj2).intValue());
            return Unit.a;
        }
    }

    @Metadata
    public static final class u extends o02 implements Function2<zd0, Integer, Unit> {
        final int $$changed;
        final List<InstallmentL> $installments;
        final boolean $isMoreProduct;
        final Long $loanTime;

        public u(boolean z, List<InstallmentL> list, Long l, int i) {
            super(2);
            this.$isMoreProduct = z;
            this.$installments = list;
            this.$loanTime = l;
            this.$$changed = i;
        }

        public final void b(zd0 zd0Var, int i) {
            CatLoanDetailActivity.this.W0(this.$isMoreProduct, this.$installments, this.$loanTime, zd0Var, fe3.a(this.$$changed | 1));
        }

        public Object invoke(Object obj, Object obj2) {
            b((zd0) obj, ((Number) obj2).intValue());
            return Unit.a;
        }
    }

    @Metadata
    public static final class v extends o02 implements Function0<Unit> {
        public v() {
            super(0);
        }

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

        public final void m84invoke() {
            CatLoanDetailViewModel catLoanDetailViewModel = CatLoanDetailActivity.this.u1;
            if (catLoanDetailViewModel == null) {
                Intrinsics.r("viewModel");
                catLoanDetailViewModel = null;
            }
            u10 e = new u10(catLoanDetailViewModel.getLoanDetailModel()).e(CatLoanDetailActivity.this);
            if (e != null) {
                e.j();
            }
        }
    }

    @Metadata
    public static final class w extends o02 implements Function2<zd0, Integer, Unit> {
        final int $$changed;
        final List<InstallmentL> $installments;
        final boolean $isMoreProduct;

        public w(boolean z, List<InstallmentL> list, int i) {
            super(2);
            this.$isMoreProduct = z;
            this.$installments = list;
            this.$$changed = i;
        }

        public final void b(zd0 zd0Var, int i) {
            CatLoanDetailActivity.this.X0(this.$isMoreProduct, this.$installments, zd0Var, fe3.a(this.$$changed | 1));
        }

        public Object invoke(Object obj, Object obj2) {
            b((zd0) obj, ((Number) obj2).intValue());
            return Unit.a;
        }
    }

    @Metadata
    public static final class x extends o02 implements Function2<zd0, Integer, Unit> {
        final int $$changed;
        final int $$default;
        final Integer $installmentIndex;
        final boolean $isMoreProduct;
        final boolean $isOverdue;
        final BigDecimal $needToPayMoney;
        final Long $needToPayTime;
        final hy2 $orderStatus;
        final Integer $overdueDays;
        final BigDecimal $overdueMoney;

        public x(hy2 hy2Var, BigDecimal bigDecimal, Long l, Integer num, boolean z, Integer num2, boolean z2, BigDecimal bigDecimal2, int i, int i2) {
            super(2);
            this.$orderStatus = hy2Var;
            this.$needToPayMoney = bigDecimal;
            this.$needToPayTime = l;
            this.$installmentIndex = num;
            this.$isOverdue = z;
            this.$overdueDays = num2;
            this.$isMoreProduct = z2;
            this.$overdueMoney = bigDecimal2;
            this.$$changed = i;
            this.$$default = i2;
        }

        public final void b(zd0 zd0Var, int i) {
            CatLoanDetailActivity.this.Y0(this.$orderStatus, this.$needToPayMoney, this.$needToPayTime, this.$installmentIndex, this.$isOverdue, this.$overdueDays, this.$isMoreProduct, this.$overdueMoney, zd0Var, fe3.a(this.$$changed | 1), this.$$default);
        }

        public Object invoke(Object obj, Object obj2) {
            b((zd0) obj, ((Number) obj2).intValue());
            return Unit.a;
        }
    }

    @Metadata
    public static final class y extends o02 implements Function2<zd0, Integer, Unit> {
        final int $$changed;
        final LoanDetailModel $detailModel;
        final InstallmentL $installmentNeedToPay;

        public y(LoanDetailModel loanDetailModel, InstallmentL installmentL, int i) {
            super(2);
            this.$detailModel = loanDetailModel;
            this.$installmentNeedToPay = installmentL;
            this.$$changed = i;
        }

        public final void b(zd0 zd0Var, int i) {
            CatLoanDetailActivity.this.Z0(this.$detailModel, this.$installmentNeedToPay, zd0Var, fe3.a(this.$$changed | 1));
        }

        public Object invoke(Object obj, Object obj2) {
            b((zd0) obj, ((Number) obj2).intValue());
            return Unit.a;
        }
    }

    @Metadata
    public static final class z extends o02 implements Function2<zd0, Integer, Unit> {
        final int $$changed;
        final int $$default;
        final String $contentStr;
        final boolean $existOverDue;
        final Long $orderSettledTime;
        final BigDecimal $paidAmount;
        final Integer $settledOverdueDays;
        final BigDecimal $settledOverdueFee;

        public z(BigDecimal bigDecimal, Long l, Integer num, BigDecimal bigDecimal2, String str, boolean z, int i, int i2) {
            super(2);
            this.$paidAmount = bigDecimal;
            this.$orderSettledTime = l;
            this.$settledOverdueDays = num;
            this.$settledOverdueFee = bigDecimal2;
            this.$contentStr = str;
            this.$existOverDue = z;
            this.$$changed = i;
            this.$$default = i2;
        }

        public final void b(zd0 zd0Var, int i) {
            CatLoanDetailActivity.this.a1(this.$paidAmount, this.$orderSettledTime, this.$settledOverdueDays, this.$settledOverdueFee, this.$contentStr, this.$existOverDue, zd0Var, fe3.a(this.$$changed | 1), this.$$default);
        }

        public Object invoke(Object obj, Object obj2) {
            b((zd0) obj, ((Number) obj2).intValue());
            return Unit.a;
        }
    }

    private final void B1(Activity activity, InstallmentL installmentL, Long l2, boolean z2, boolean z3, BigDecimal bigDecimal) {
        c40 e2;
        c40 c40Var = installmentL != null ? new c40(installmentL, false) : null;
        if (c40Var != null && (e2 = c40Var.e(activity)) != null) {
            e2.k();
        }
        if (c40Var != null) {
            c40Var.i(new t0(c40Var, activity, installmentL, l2, z2, z3, bigDecimal));
        }
    }

    public static final boolean S0(ti2<Boolean> ti2Var) {
        return ti2Var.getValue().booleanValue();
    }

    public static final void T0(ti2<Boolean> ti2Var, boolean z2) {
        ti2Var.setValue(Boolean.valueOf(z2));
    }

    public static final boolean U0(ti2<Boolean> ti2Var) {
        return ti2Var.getValue().booleanValue();
    }

    public static final void V0(ti2<Boolean> ti2Var, boolean z2) {
        ti2Var.setValue(Boolean.valueOf(z2));
    }

    private final void t1(Activity activity, InstallmentL installmentL, Long l2, boolean z2, boolean z3, BigDecimal bigDecimal) {
        if (z2) {
            oo1.e(activity, installmentL, l2, z2, z3, bigDecimal);
        } else {
            B1(activity, installmentL, l2, z2, z3, bigDecimal);
        }
    }

    public static final void y1(final CatLoanDetailActivity catLoanDetailActivity, Map map) {
        Intrinsics.checkNotNullParameter(catLoanDetailActivity, "this$0");
        Intrinsics.checkNotNullParameter(map, "permissions");
        for (Map.Entry entry : map.entrySet()) {
            String str = (String) entry.getKey();
            if (((Boolean) entry.getValue()).booleanValue()) {
                if (Intrinsics.a(str, "android.permission.READ_SMS")) {
                    dm2.a.c(catLoanDetailActivity, 1, 8, new r0(), (r17 & 16) != 0 ? q70.j() : null, (r17 & 32) != 0 ? "" : null, (r17 & 64) != 0 ? "" : null);
                } else if (Intrinsics.a(str, "android.permission.ACCESS_COARSE_LOCATION")) {
                    t20.a(catLoanDetailActivity, new tp1() {
                        @Override
                        public final void a(String str2, String str3) {
                            CatLoanDetailActivity.z1(CatLoanDetailActivity.this, str2, str3);
                        }
                    });
                }
            } else if (catLoanDetailActivity.shouldShowRequestPermissionRationale(str)) {
                c40 c40Var = catLoanDetailActivity.s1;
                if (c40Var != null) {
                    c40Var.d();
                }
            } else {
                r30.a.m(catLoanDetailActivity);
                c40 c40Var2 = catLoanDetailActivity.s1;
                if (c40Var2 != null) {
                    c40Var2.d();
                }
            }
        }
    }

    public static final void z1(CatLoanDetailActivity catLoanDetailActivity, String str, String str2) {
        Intrinsics.checkNotNullParameter(catLoanDetailActivity, "this$0");
        dm2.a.c(catLoanDetailActivity, 4, 8, new s0(), (r17 & 16) != 0 ? q70.j() : null, (r17 & 32) != 0 ? "" : null, (r17 & 64) != 0 ? "" : null);
    }

    public final void A1() {
        CatLoanDetailViewModel catLoanDetailViewModel = this.u1;
        if (catLoanDetailViewModel == null) {
            Intrinsics.r("viewModel");
            catLoanDetailViewModel = null;
        }
        u30 e2 = new u30(catLoanDetailViewModel.getLoanDetailModel().getLuminate()).e(this);
        if (e2 != null) {
            e2.h();
        }
    }

    @Override
    public void B0(zd0 zd0Var, int i2) {
        zd0 o2 = zd0Var.o(478230469);
        if (ee0.I()) {
            ee0.U(478230469, i2, -1, "com.aa.home.view.CatLoanDetailActivity.SetContentView (CatLoanDetailActivity.kt:315)");
        }
        long d2 = e80.d(4294310649L);
        qq3.b(null, kd0.b(o2, -2114324087, true, new j0()), null, null, null, 0, e80.d(4294310649L), d2, null, kd0.b(o2, 124534804, true, new k0()), o2, 819462192, 317);
        if (ee0.I()) {
            ee0.T();
        }
        ds3 v2 = o2.v();
        if (v2 == null) {
            return;
        }
        v2.a(new l0(i2));
    }

    public final void C1(long j2) {
        Logger.d("startApiTimer " + j2, new Object[0]);
        D1();
        if (this.v1 == null) {
            this.v1 = new Timer();
        }
        if (this.w1 == null) {
            this.w1 = new e();
        }
        this.x1 = j2;
        Timer timer = this.v1;
        if (timer != null) {
            timer.schedule(this.w1, 30000L, j2);
        }
    }

    public final void D1() {
        this.x1 = 1440000L;
        Timer timer = this.v1;
        if (timer != null) {
            timer.cancel();
        }
        this.v1 = null;
        this.w1 = null;
    }

    @Override
    public void I0() {
        h40.a.b(this, "#ffffff");
        CatLoanDetailViewModel catLoanDetailViewModel = (CatLoanDetailViewModel) new ViewModelProvider(this).get(CatLoanDetailViewModel.class);
        this.u1 = catLoanDetailViewModel;
        if (catLoanDetailViewModel == null) {
            Intrinsics.r("viewModel");
            catLoanDetailViewModel = null;
        }
        catLoanDetailViewModel.setLoanId(Long.valueOf(getIntent().getLongExtra("ORDER_ID", 0L)));
        w1();
    }

    public final void N0(zd0 zd0Var, int i2) {
        zd0 o2 = zd0Var.o(1330076435);
        if (ee0.I()) {
            ee0.U(1330076435, i2, -1, "com.aa.home.view.CatLoanDetailActivity.Agreement (CatLoanDetailActivity.kt:2493)");
        }
        if2.a aVar = if2.a;
        if2 l2 = androidx.compose.foundation.layout.c.l(aVar, wx0.s(16), 0.0f, 2, null);
        o2.e(-483455358);
        zf zfVar = zf.a;
        zf.m e2 = zfVar.e();
        d5.a aVar2 = d5.a;
        ad2 a2 = sa0.a(e2, aVar2.g(), o2, 0);
        o2.e(-1323940314);
        int a3 = td0.a(o2, 0);
        re0 D = o2.D();
        wd0.a aVar3 = wd0.n;
        Function0<wd0> a4 = aVar3.a();
        ii1<c14<wd0>, zd0, Integer, Unit> a5 = i12.a(l2);
        if (!(o2.s() instanceof tf)) {
            td0.b();
        }
        o2.q();
        if (o2.l()) {
            o2.w(a4);
        } else {
            o2.F();
        }
        zd0 a6 = qm4.a(o2);
        qm4.b(a6, a2, aVar3.c());
        qm4.b(a6, D, aVar3.e());
        Function2<wd0, Integer, Unit> b2 = aVar3.b();
        if (a6.l() || !Intrinsics.a(a6.f(), Integer.valueOf(a3))) {
            a6.G(Integer.valueOf(a3));
            a6.z(Integer.valueOf(a3), b2);
        }
        a5.invoke(c14.a(c14.b(o2)), o2, 0);
        o2.e(2058660585);
        ta0 ta0Var = ta0.a;
        o2.e(693286680);
        ad2 a7 = vm3.a(zfVar.d(), aVar2.h(), o2, 0);
        o2.e(-1323940314);
        int a8 = td0.a(o2, 0);
        re0 D2 = o2.D();
        Function0<wd0> a9 = aVar3.a();
        ii1<c14<wd0>, zd0, Integer, Unit> a10 = i12.a(aVar);
        if (!(o2.s() instanceof tf)) {
            td0.b();
        }
        o2.q();
        if (o2.l()) {
            o2.w(a9);
        } else {
            o2.F();
        }
        zd0 a11 = qm4.a(o2);
        qm4.b(a11, a7, aVar3.c());
        qm4.b(a11, D2, aVar3.e());
        Function2<wd0, Integer, Unit> b3 = aVar3.b();
        if (a11.l() || !Intrinsics.a(a11.f(), Integer.valueOf(a8))) {
            a11.G(Integer.valueOf(a8));
            a11.z(Integer.valueOf(a8), b3);
        }
        a10.invoke(c14.a(c14.b(o2)), o2, 0);
        o2.e(2058660585);
        xm3 xm3Var = xm3.a;
        ce4.a("Por favor lee el ", null, 0L, 0L, null, null, null, 0L, null, null, 0L, 0, false, 0, 0, null, new se4(e80.d(4287273366L), xe4.e(13), null, null, null, null, null, 0L, null, null, null, 0L, null, null, null, 0, 0, 0L, null, null, null, 0, 0, null, 16777212, null), o2, 6, 0, 65534);
        se4 se4Var = new se4(e80.d(4279415448L), xe4.e(13), null, null, null, null, null, 0L, null, null, null, 0L, null, null, null, 0, 0, 0L, null, null, null, 0, 0, null, 16777212, null);
        if2 e3 = androidx.compose.foundation.d.e(aVar, false, null, null, new a(), 7, null);
        ad4.a aVar4 = ad4.b;
        ce4.a("\"Acuerdo de servicio\"", e3, 0L, 0L, null, null, null, 0L, aVar4.c(), null, 0L, 0, false, 0, 0, null, se4Var, o2, 100663302, 0, 65276);
        ce4.a(" y la ", null, 0L, 0L, null, null, null, 0L, null, null, 0L, 0, false, 0, 0, null, new se4(e80.d(4287273366L), xe4.e(13), null, null, null, null, null, 0L, null, null, null, 0L, null, null, null, 0, 0, 0L, null, null, null, 0, 0, null, 16777212, null), o2, 6, 0, 65534);
        ce4.a("\"Acuerdo de", androidx.compose.foundation.d.e(aVar, false, null, null, new b(), 7, null), 0L, 0L, null, null, null, 0L, aVar4.c(), null, 0L, 0, false, 0, 0, null, new se4(e80.d(4279415448L), xe4.e(13), null, null, null, null, null, 0L, null, null, null, 0L, null, null, null, 0, 0, 0L, null, null, null, 0, 0, null, 16777212, null), o2, 100663302, 0, 65276);
        o2.L();
        o2.N();
        o2.L();
        o2.L();
        s34.a(androidx.compose.foundation.layout.d.h(aVar, wx0.s(4)), o2, 6);
        ce4.a("privacidad\"", androidx.compose.foundation.d.e(aVar, false, null, null, new c(), 7, null), 0L, 0L, null, null, null, 0L, aVar4.c(), null, 0L, 0, false, 0, 0, null, new se4(e80.d(4279415448L), xe4.e(13), null, null, null, null, null, 0L, null, null, null, 0L, null, null, null, 0, 0, 0L, null, null, null, 0, 0, null, 16777212, null), o2, 100663302, 0, 65276);
        o2.L();
        o2.N();
        o2.L();
        o2.L();
        if (ee0.I()) {
            ee0.T();
        }
        ds3 v2 = o2.v();
        if (v2 == null) {
            return;
        }
        v2.a(new d(i2));
    }

    public final void O0(zd0 zd0Var, int i2) {
        zd0 o2 = zd0Var.o(46990927);
        if (ee0.I()) {
            ee0.U(46990927, i2, -1, "com.aa.home.view.CatLoanDetailActivity.AppBar (CatLoanDetailActivity.kt:365)");
        }
        zf.f c2 = zf.a.c();
        if2 d2 = androidx.compose.foundation.c.d(androidx.compose.foundation.layout.d.g(if2.a, 0.0f, 1, null), b80.b.f(), null, 2, null);
        o2.e(693286680);
        ad2 a2 = vm3.a(c2, d5.a.h(), o2, 6);
        o2.e(-1323940314);
        int a3 = td0.a(o2, 0);
        re0 D = o2.D();
        wd0.a aVar = wd0.n;
        Function0<wd0> a4 = aVar.a();
        ii1<c14<wd0>, zd0, Integer, Unit> a5 = i12.a(d2);
        if (!(o2.s() instanceof tf)) {
            td0.b();
        }
        o2.q();
        if (o2.l()) {
            o2.w(a4);
        } else {
            o2.F();
        }
        zd0 a6 = qm4.a(o2);
        qm4.b(a6, a2, aVar.c());
        qm4.b(a6, D, aVar.e());
        Function2<wd0, Integer, Unit> b2 = aVar.b();
        if (a6.l() || !Intrinsics.a(a6.f(), Integer.valueOf(a3))) {
            a6.G(Integer.valueOf(a3));
            a6.z(Integer.valueOf(a3), b2);
        }
        a5.invoke(c14.a(c14.b(o2)), o2, 0);
        o2.e(2058660585);
        xm3 xm3Var = xm3.a;
        f fVar = new f();
        ld0 ld0Var = ld0.a;
        bq1.a(fVar, null, false, null, null, ld0Var.a(), o2, 196608, 30);
        bq1.a(new g(), null, false, null, null, ld0Var.b(), o2, 196608, 30);
        o2.L();
        o2.N();
        o2.L();
        o2.L();
        if (ee0.I()) {
            ee0.T();
        }
        ds3 v2 = o2.v();
        if (v2 == null) {
            return;
        }
        v2.a(new h(i2));
    }

    public final void P0(zd0 zd0Var, int i2) {
        zd0 o2 = zd0Var.o(168764656);
        if (ee0.I()) {
            ee0.U(168764656, i2, -1, "com.aa.home.view.CatLoanDetailActivity.CommonQuestion (CatLoanDetailActivity.kt:2384)");
        }
        float f2 = 16;
        float f3 = 6;
        ha4.a(androidx.compose.foundation.layout.c.m(androidx.compose.foundation.layout.d.g(if2.a, 0.0f, 1, null), wx0.s(f2), wx0.s(f3), wx0.s(f2), wx0.s(f3)), lm3.c(wx0.s(f2)), 0L, 0L, 0.0f, wx0.s(l.e.DEFAULT_DRAG_ANIMATION_DURATION), null, kd0.b(o2, -780705077, true, new i()), o2, 12779520, 92);
        if (ee0.I()) {
            ee0.T();
        }
        ds3 v2 = o2.v();
        if (v2 == null) {
            return;
        }
        v2.a(new j(i2));
    }

    public final void Q0(@NotNull hy2 hy2Var, @NotNull LoanDetailModel loanDetailModel, zd0 zd0Var, int i2) {
        zd0 zd0Var2;
        Intrinsics.checkNotNullParameter(hy2Var, "orderStatus");
        Intrinsics.checkNotNullParameter(loanDetailModel, "loanDetailModel");
        zd0 o2 = zd0Var.o(-1517973051);
        if (ee0.I()) {
            ee0.U(-1517973051, i2, -1, "com.aa.home.view.CatLoanDetailActivity.GetOrderStatusButton (CatLoanDetailActivity.kt:917)");
        }
        o2.e(-1907141552);
        if (hy2Var == hy2.g) {
            if2.a aVar = if2.a;
            s34.a(androidx.compose.foundation.layout.d.h(aVar, wx0.s(20)), o2, 6);
            float f2 = 50;
            zd0Var2 = o2;
            dv.b(new k(loanDetailModel, this), androidx.compose.foundation.c.b(androidx.compose.foundation.layout.d.h(androidx.compose.foundation.layout.d.g(aVar, 0.0f, 1, null), wx0.s(f2)), eu.a.f(eu.b, q70.m(new b80[]{b80.g(e80.d(4279620788L)), b80.g(e80.d(4279415448L))}), 0.0f, 0.0f, 0, 14, null), lm3.c(wx0.s(f2)), 0.0f, 4, null), false, null, null, null, null, null, null, ld0.a.c(), o2, 805306368, 508);
        } else {
            zd0Var2 = o2;
        }
        zd0Var2.L();
        zd0Var2.e(-1907140486);
        if (hy2Var == hy2.h) {
            if2.a aVar2 = if2.a;
            s34.a(androidx.compose.foundation.layout.d.h(aVar2, wx0.s(20)), zd0Var2, 6);
            if (Intrinsics.a(loanDetailModel.getPraxeology(), Boolean.TRUE)) {
                zd0Var2.e(-1907140319);
                zf zfVar = zf.a;
                zf.f c2 = zfVar.c();
                if2 g2 = androidx.compose.foundation.layout.d.g(aVar2, 0.0f, 1, null);
                zd0Var2.e(693286680);
                d5.a aVar3 = d5.a;
                ad2 a2 = vm3.a(c2, aVar3.h(), zd0Var2, 6);
                zd0Var2.e(-1323940314);
                int a3 = td0.a(zd0Var2, 0);
                re0 D = zd0Var2.D();
                wd0.a aVar4 = wd0.n;
                Function0<wd0> a4 = aVar4.a();
                ii1<c14<wd0>, zd0, Integer, Unit> a5 = i12.a(g2);
                if (!(zd0Var2.s() instanceof tf)) {
                    td0.b();
                }
                zd0Var2.q();
                if (zd0Var2.l()) {
                    zd0Var2.w(a4);
                } else {
                    zd0Var2.F();
                }
                zd0 a6 = qm4.a(zd0Var2);
                qm4.b(a6, a2, aVar4.c());
                qm4.b(a6, D, aVar4.e());
                Function2<wd0, Integer, Unit> b2 = aVar4.b();
                if (a6.l() || !Intrinsics.a(a6.f(), Integer.valueOf(a3))) {
                    a6.G(Integer.valueOf(a3));
                    a6.z(Integer.valueOf(a3), b2);
                }
                a5.invoke(c14.a(c14.b(zd0Var2)), zd0Var2, 0);
                zd0Var2.e(2058660585);
                xm3 xm3Var = xm3.a;
                zf.f c3 = zfVar.c();
                if2 g3 = androidx.compose.foundation.layout.d.g(aVar2, 0.0f, 1, null);
                zd0Var2.e(693286680);
                ad2 a7 = vm3.a(c3, aVar3.h(), zd0Var2, 6);
                zd0Var2.e(-1323940314);
                int a8 = td0.a(zd0Var2, 0);
                re0 D2 = zd0Var2.D();
                Function0<wd0> a9 = aVar4.a();
                ii1<c14<wd0>, zd0, Integer, Unit> a10 = i12.a(g3);
                if (!(zd0Var2.s() instanceof tf)) {
                    td0.b();
                }
                zd0Var2.q();
                if (zd0Var2.l()) {
                    zd0Var2.w(a9);
                } else {
                    zd0Var2.F();
                }
                zd0 a11 = qm4.a(zd0Var2);
                qm4.b(a11, a7, aVar4.c());
                qm4.b(a11, D2, aVar4.e());
                Function2<wd0, Integer, Unit> b3 = aVar4.b();
                if (a11.l() || !Intrinsics.a(a11.f(), Integer.valueOf(a8))) {
                    a11.G(Integer.valueOf(a8));
                    a11.z(Integer.valueOf(a8), b3);
                }
                a10.invoke(c14.a(c14.b(zd0Var2)), zd0Var2, 0);
                zd0Var2.e(2058660585);
                av b4 = bv.a.b(e80.d(4294832366L), 0L, 0L, 0L, zd0Var2, (bv.o << 12) | 6, 14);
                float f3 = 165;
                if2 k2 = androidx.compose.foundation.layout.d.k(aVar2, wx0.s(f3));
                float f4 = 50;
                if2 h2 = androidx.compose.foundation.layout.d.h(k2, wx0.s(f4));
                l lVar = new l(loanDetailModel, this);
                ld0 ld0Var = ld0.a;
                dv.a(lVar, h2, false, null, b4, null, null, null, null, ld0Var.d(), zd0Var2, 805306416, 492);
                dv.b(new m(loanDetailModel, this), androidx.compose.foundation.c.b(androidx.compose.foundation.layout.d.h(androidx.compose.foundation.layout.d.k(aVar2, wx0.s(f3)), wx0.s(f4)), eu.a.b(eu.b, q70.m(new b80[]{b80.g(e80.d(4293213486L)), b80.g(e80.d(4294084657L))}), 0.0f, 0.0f, 0, 14, null), lm3.c(wx0.s(f4)), 0.0f, 4, null), false, null, null, null, null, null, null, ld0Var.e(), zd0Var2, 805306368, 508);
                zd0Var2.L();
                zd0Var2.N();
                zd0Var2.L();
                zd0Var2.L();
                zd0Var2.L();
                zd0Var2.N();
                zd0Var2.L();
                zd0Var2.L();
                zd0Var2.L();
            } else {
                zd0Var2.e(-1907135158);
                zf zfVar2 = zf.a;
                zf.f c4 = zfVar2.c();
                if2 g4 = androidx.compose.foundation.layout.d.g(aVar2, 0.0f, 1, null);
                zd0Var2.e(693286680);
                d5.a aVar5 = d5.a;
                ad2 a12 = vm3.a(c4, aVar5.h(), zd0Var2, 6);
                zd0Var2.e(-1323940314);
                int a13 = td0.a(zd0Var2, 0);
                re0 D3 = zd0Var2.D();
                wd0.a aVar6 = wd0.n;
                Function0<wd0> a14 = aVar6.a();
                ii1<c14<wd0>, zd0, Integer, Unit> a15 = i12.a(g4);
                if (!(zd0Var2.s() instanceof tf)) {
                    td0.b();
                }
                zd0Var2.q();
                if (zd0Var2.l()) {
                    zd0Var2.w(a14);
                } else {
                    zd0Var2.F();
                }
                zd0 a16 = qm4.a(zd0Var2);
                qm4.b(a16, a12, aVar6.c());
                qm4.b(a16, D3, aVar6.e());
                Function2<wd0, Integer, Unit> b5 = aVar6.b();
                if (a16.l() || !Intrinsics.a(a16.f(), Integer.valueOf(a13))) {
                    a16.G(Integer.valueOf(a13));
                    a16.z(Integer.valueOf(a13), b5);
                }
                a15.invoke(c14.a(c14.b(zd0Var2)), zd0Var2, 0);
                zd0Var2.e(2058660585);
                xm3 xm3Var2 = xm3.a;
                zf.f c5 = zfVar2.c();
                if2 g5 = androidx.compose.foundation.layout.d.g(aVar2, 0.0f, 1, null);
                zd0Var2.e(693286680);
                ad2 a17 = vm3.a(c5, aVar5.h(), zd0Var2, 6);
                zd0Var2.e(-1323940314);
                int a18 = td0.a(zd0Var2, 0);
                re0 D4 = zd0Var2.D();
                Function0<wd0> a19 = aVar6.a();
                ii1<c14<wd0>, zd0, Integer, Unit> a20 = i12.a(g5);
                if (!(zd0Var2.s() instanceof tf)) {
                    td0.b();
                }
                zd0Var2.q();
                if (zd0Var2.l()) {
                    zd0Var2.w(a19);
                } else {
                    zd0Var2.F();
                }
                zd0 a21 = qm4.a(zd0Var2);
                qm4.b(a21, a17, aVar6.c());
                qm4.b(a21, D4, aVar6.e());
                Function2<wd0, Integer, Unit> b6 = aVar6.b();
                if (a21.l() || !Intrinsics.a(a21.f(), Integer.valueOf(a18))) {
                    a21.G(Integer.valueOf(a18));
                    a21.z(Integer.valueOf(a18), b6);
                }
                a20.invoke(c14.a(c14.b(zd0Var2)), zd0Var2, 0);
                zd0Var2.e(2058660585);
                av b7 = bv.a.b(e80.d(4293655287L), 0L, 0L, 0L, zd0Var2, (bv.o << 12) | 6, 14);
                float f5 = 165;
                if2 k3 = androidx.compose.foundation.layout.d.k(aVar2, wx0.s(f5));
                float f6 = 50;
                if2 h3 = androidx.compose.foundation.layout.d.h(k3, wx0.s(f6));
                n nVar = new n(loanDetailModel, this);
                ld0 ld0Var2 = ld0.a;
                dv.a(nVar, h3, false, null, b7, null, null, null, null, ld0Var2.f(), zd0Var2, 805306416, 492);
                dv.b(new o(loanDetailModel, this), androidx.compose.foundation.c.b(androidx.compose.foundation.layout.d.h(androidx.compose.foundation.layout.d.k(aVar2, wx0.s(f5)), wx0.s(f6)), eu.a.f(eu.b, q70.m(new b80[]{b80.g(e80.d(4279620788L)), b80.g(e80.d(4279415448L))}), 0.0f, 0.0f, 0, 14, null), lm3.c(wx0.s(f6)), 0.0f, 4, null), false, null, null, null, null, null, null, ld0Var2.g(), zd0Var2, 805306368, 508);
                zd0Var2.L();
                zd0Var2.N();
                zd0Var2.L();
                zd0Var2.L();
                zd0Var2.L();
                zd0Var2.N();
                zd0Var2.L();
                zd0Var2.L();
                zd0Var2.L();
            }
        }
        zd0Var2.L();
        if (hy2Var == hy2.i || hy2Var == hy2.j) {
            if2.a aVar7 = if2.a;
            s34.a(androidx.compose.foundation.layout.d.h(aVar7, wx0.s(20)), zd0Var2, 6);
            zf.f c6 = zf.a.c();
            if2 g6 = androidx.compose.foundation.layout.d.g(aVar7, 0.0f, 1, null);
            zd0Var2.e(693286680);
            ad2 a22 = vm3.a(c6, d5.a.h(), zd0Var2, 6);
            zd0Var2.e(-1323940314);
            int a23 = td0.a(zd0Var2, 0);
            re0 D5 = zd0Var2.D();
            wd0.a aVar8 = wd0.n;
            Function0<wd0> a24 = aVar8.a();
            ii1<c14<wd0>, zd0, Integer, Unit> a25 = i12.a(g6);
            if (!(zd0Var2.s() instanceof tf)) {
                td0.b();
            }
            zd0Var2.q();
            if (zd0Var2.l()) {
                zd0Var2.w(a24);
            } else {
                zd0Var2.F();
            }
            zd0 a26 = qm4.a(zd0Var2);
            qm4.b(a26, a22, aVar8.c());
            qm4.b(a26, D5, aVar8.e());
            Function2<wd0, Integer, Unit> b8 = aVar8.b();
            if (a26.l() || !Intrinsics.a(a26.f(), Integer.valueOf(a23))) {
                a26.G(Integer.valueOf(a23));
                a26.z(Integer.valueOf(a23), b8);
            }
            a25.invoke(c14.a(c14.b(zd0Var2)), zd0Var2, 0);
            zd0Var2.e(2058660585);
            xm3 xm3Var3 = xm3.a;
            av b9 = bv.a.b(e80.d(4293655287L), 0L, 0L, 0L, zd0Var2, (bv.o << 12) | 6, 14);
            float f7 = 165;
            float f8 = 50;
            if2 h4 = androidx.compose.foundation.layout.d.h(androidx.compose.foundation.layout.d.k(aVar7, wx0.s(f7)), wx0.s(f8));
            p pVar = new p(loanDetailModel, hy2Var, this);
            ld0 ld0Var3 = ld0.a;
            dv.a(pVar, h4, false, null, b9, null, null, null, null, ld0Var3.h(), zd0Var2, 805306416, 492);
            dv.b(new q(), androidx.compose.foundation.c.b(androidx.compose.foundation.layout.d.h(androidx.compose.foundation.layout.d.k(aVar7, wx0.s(f7)), wx0.s(f8)), eu.a.f(eu.b, q70.m(new b80[]{b80.g(e80.d(4279620788L)), b80.g(e80.d(4279415448L))}), 0.0f, 0.0f, 0, 14, null), lm3.c(wx0.s(f8)), 0.0f, 4, null), false, null, null, null, null, null, null, ld0Var3.i(), zd0Var2, 805306368, 508);
            zd0Var2.L();
            zd0Var2.N();
            zd0Var2.L();
            zd0Var2.L();
        }
        if (ee0.I()) {
            ee0.T();
        }
        ds3 v2 = zd0Var2.v();
        if (v2 == null) {
            return;
        }
        v2.a(new r(hy2Var, loanDetailModel, i2));
    }

    public final void R0(@NotNull hy2 hy2Var, @NotNull LoanDetailModel loanDetailModel, zd0 zd0Var, int i2) {
        Intrinsics.checkNotNullParameter(hy2Var, "status");
        Intrinsics.checkNotNullParameter(loanDetailModel, "loanDetailModel");
        zd0 o2 = zd0Var.o(-630395641);
        if (ee0.I()) {
            ee0.U(-630395641, i2, -1, "com.aa.home.view.CatLoanDetailActivity.LoanInfo (CatLoanDetailActivity.kt:1795)");
        }
        o2.e(-492369756);
        Object f2 = o2.f();
        zd0.a aVar = zd0.a;
        if (f2 == aVar.a()) {
            f2 = p24.e(Boolean.TRUE, null, 2, null);
            o2.G(f2);
        }
        o2.L();
        ti2 ti2Var = (ti2) f2;
        o2.e(-492369756);
        Object f3 = o2.f();
        if (f3 == aVar.a()) {
            f3 = p24.e(Boolean.TRUE, null, 2, null);
            o2.G(f3);
        }
        o2.L();
        float f4 = 16;
        float f5 = 6;
        ha4.a(androidx.compose.foundation.layout.c.m(androidx.compose.foundation.layout.d.g(if2.a, 0.0f, 1, null), wx0.s(f4), wx0.s(f5), wx0.s(f4), wx0.s(f5)), lm3.c(wx0.s(f4)), 0L, 0L, 0.0f, wx0.s(l.e.DEFAULT_DRAG_ANIMATION_DURATION), null, kd0.b(o2, 904099340, true, new s((hy2Var == hy2.a || hy2Var == hy2.c || hy2Var == hy2.b || hy2Var == hy2.d || hy2Var == hy2.f) ? false : true, ti2Var, this, (ti2) f3, loanDetailModel)), o2, 12779520, 92);
        if (ee0.I()) {
            ee0.T();
        }
        ds3 v2 = o2.v();
        if (v2 == null) {
            return;
        }
        v2.a(new t(hy2Var, loanDetailModel, i2));
    }

    public final void W0(boolean z2, List<InstallmentL> list, Long l2, zd0 zd0Var, int i2) {
        String str;
        String str2;
        String str3;
        zd0 zd0Var2;
        Integer asynaptic;
        zd0 zd0Var3;
        zd0 zd0Var4;
        zd0 zd0Var5;
        InstallmentL installmentL;
        Integer asynaptic2;
        Integer asynaptic3;
        InstallmentL installmentL2;
        Integer asynaptic4;
        zd0 o2 = zd0Var.o(-158306492);
        if (ee0.I()) {
            ee0.U(-158306492, i2, -1, "com.aa.home.view.CatLoanDetailActivity.LoanInfoDateView (CatLoanDetailActivity.kt:1981)");
        }
        if2.a aVar = if2.a;
        float f2 = 12;
        float f3 = 16;
        if2 k2 = androidx.compose.foundation.layout.c.k(androidx.compose.foundation.c.c(aVar, e80.d(4294310649L), lm3.c(wx0.s(f2))), wx0.s(f3), wx0.s(20));
        d5.a aVar2 = d5.a;
        d5.b f4 = aVar2.f();
        o2.e(-483455358);
        zf zfVar = zf.a;
        ad2 a2 = sa0.a(zfVar.e(), f4, o2, 48);
        o2.e(-1323940314);
        int a3 = td0.a(o2, 0);
        re0 D = o2.D();
        wd0.a aVar3 = wd0.n;
        Function0<wd0> a4 = aVar3.a();
        ii1<c14<wd0>, zd0, Integer, Unit> a5 = i12.a(k2);
        if (!(o2.s() instanceof tf)) {
            td0.b();
        }
        o2.q();
        if (o2.l()) {
            o2.w(a4);
        } else {
            o2.F();
        }
        zd0 a6 = qm4.a(o2);
        qm4.b(a6, a2, aVar3.c());
        qm4.b(a6, D, aVar3.e());
        Function2<wd0, Integer, Unit> b2 = aVar3.b();
        if (a6.l() || !Intrinsics.a(a6.f(), Integer.valueOf(a3))) {
            a6.G(Integer.valueOf(a3));
            a6.z(Integer.valueOf(a3), b2);
        }
        a5.invoke(c14.a(c14.b(o2)), o2, 0);
        o2.e(2058660585);
        ta0 ta0Var = ta0.a;
        InstallmentL installmentL3 = list != null ? (InstallmentL) xa0.e(list) : null;
        zf.f c2 = zfVar.c();
        if2 g2 = androidx.compose.foundation.layout.d.g(aVar, 0.0f, 1, null);
        o2.e(693286680);
        ad2 a7 = vm3.a(c2, aVar2.h(), o2, 6);
        o2.e(-1323940314);
        int a8 = td0.a(o2, 0);
        re0 D2 = o2.D();
        Function0<wd0> a9 = aVar3.a();
        ii1<c14<wd0>, zd0, Integer, Unit> a10 = i12.a(g2);
        if (!(o2.s() instanceof tf)) {
            td0.b();
        }
        o2.q();
        if (o2.l()) {
            o2.w(a9);
        } else {
            o2.F();
        }
        zd0 a11 = qm4.a(o2);
        qm4.b(a11, a7, aVar3.c());
        qm4.b(a11, D2, aVar3.e());
        Function2<wd0, Integer, Unit> b3 = aVar3.b();
        if (a11.l() || !Intrinsics.a(a11.f(), Integer.valueOf(a8))) {
            a11.G(Integer.valueOf(a8));
            a11.z(Integer.valueOf(a8), b3);
        }
        a10.invoke(c14.a(c14.b(o2)), o2, 0);
        o2.e(2058660585);
        xm3 xm3Var = xm3.a;
        ce4.a("Fecha del préstamo", null, 0L, 0L, null, null, null, 0L, null, null, 0L, 0, false, 0, 0, null, new se4(e80.d(4279638553L), xe4.e(14), null, null, null, null, null, 0L, null, null, null, 0L, null, null, null, 0, 0, 0L, null, null, null, 0, 0, null, 16777212, null), o2, 6, 0, 65534);
        String a12 = np0.a(l2);
        Intrinsics.checkNotNullExpressionValue(a12, "formatTimeWithMexico(...)");
        long e2 = xe4.e(14);
        long d2 = e80.d(4279638553L);
        rf1.a aVar4 = rf1.b;
        ce4.a(a12, null, 0L, 0L, null, null, null, 0L, null, null, 0L, 0, false, 0, 0, null, new se4(d2, e2, aVar4.d(), null, null, null, null, 0L, null, null, null, 0L, null, null, null, 0, 0, 0L, null, null, null, 0, 0, null, 16777208, null), o2, 0, 0, 65534);
        o2.L();
        o2.N();
        o2.L();
        o2.L();
        s34.a(androidx.compose.foundation.layout.d.h(aVar, wx0.s(f3)), o2, 6);
        zf.f c3 = zfVar.c();
        if2 g3 = androidx.compose.foundation.layout.d.g(aVar, 0.0f, 1, null);
        o2.e(693286680);
        ad2 a13 = vm3.a(c3, aVar2.h(), o2, 6);
        o2.e(-1323940314);
        int a14 = td0.a(o2, 0);
        re0 D3 = o2.D();
        Function0<wd0> a15 = aVar3.a();
        ii1<c14<wd0>, zd0, Integer, Unit> a16 = i12.a(g3);
        if (!(o2.s() instanceof tf)) {
            td0.b();
        }
        o2.q();
        if (o2.l()) {
            o2.w(a15);
        } else {
            o2.F();
        }
        zd0 a17 = qm4.a(o2);
        qm4.b(a17, a13, aVar3.c());
        qm4.b(a17, D3, aVar3.e());
        Function2<wd0, Integer, Unit> b4 = aVar3.b();
        if (a17.l() || !Intrinsics.a(a17.f(), Integer.valueOf(a14))) {
            a17.G(Integer.valueOf(a14));
            a17.z(Integer.valueOf(a14), b4);
        }
        a16.invoke(c14.a(c14.b(o2)), o2, 0);
        o2.e(2058660585);
        ce4.a(z2 ? "Fecha de pago 1" : "Fecha de pago", null, 0L, 0L, null, null, null, 0L, null, null, 0L, 0, false, 0, 0, null, new se4(e80.d(4279638553L), xe4.e(14), null, null, null, null, null, 0L, null, null, null, 0L, null, null, null, 0, 0, 0L, null, null, null, 0, 0, null, 16777212, null), o2, 0, 0, 65534);
        String a18 = np0.a(installmentL3 != null ? installmentL3.getRetire() : null);
        Intrinsics.checkNotNullExpressionValue(a18, "formatTimeWithMexico(...)");
        ce4.a(a18, null, 0L, 0L, null, null, null, 0L, null, null, 0L, 0, false, 0, 0, null, new se4(e80.d(4279638553L), xe4.e(14), aVar4.d(), null, null, null, null, 0L, null, null, null, 0L, null, null, null, 0, 0, 0L, null, null, null, 0, 0, null, 16777208, null), o2, 0, 0, 65534);
        o2.L();
        o2.N();
        o2.L();
        o2.L();
        if (installmentL3 == null || (asynaptic4 = installmentL3.getAsynaptic()) == null || asynaptic4.intValue() != 3) {
            str = "Se ha vencido ";
            str2 = " días";
            if (installmentL3 == null || (asynaptic = installmentL3.getAsynaptic()) == null || asynaptic.intValue() != 2) {
                str3 = " Completo";
                zd0Var2 = o2;
                zd0Var2.e(-405780828);
                zd0Var2.L();
            } else {
                o2.e(-405781343);
                if (z2) {
                    s34.a(androidx.compose.foundation.layout.d.h(aVar, wx0.s(f2)), o2, 6);
                    str3 = " Completo";
                    zd0Var3 = o2;
                    ce4.a(np0.a(installmentL3.getPolyglot()) + " Completo", null, 0L, 0L, null, null, null, 0L, null, null, 0L, 0, false, 0, 0, null, new se4(e80.d(4280647418L), xe4.e(14), aVar4.d(), null, null, null, null, 0L, null, null, null, 0L, null, null, null, 0, 0, 0L, null, null, null, 0, 0, null, 16777208, null), zd0Var3, 0, 0, 65534);
                } else {
                    zd0Var3 = o2;
                    str3 = " Completo";
                }
                zd0Var3.L();
                zd0Var2 = zd0Var3;
            }
        } else {
            o2.e(-405781773);
            s34.a(androidx.compose.foundation.layout.d.h(aVar, wx0.s(f2)), o2, 6);
            str = "Se ha vencido ";
            str2 = " días";
            ce4.a("Se ha vencido " + installmentL3.getGormless() + " días", null, 0L, 0L, null, null, null, 0L, null, null, 0L, 0, false, 0, 0, null, new se4(e80.d(4293213486L), xe4.e(14), aVar4.d(), null, null, null, null, 0L, null, null, null, 0L, null, null, null, 0, 0, 0L, null, null, null, 0, 0, null, 16777208, null), o2, 0, 0, 65534);
            o2.L();
            zd0Var2 = o2;
            str3 = " Completo";
        }
        zd0Var2.e(-405780813);
        if (installmentL3 == null || !Intrinsics.a(installmentL3.getWhaleroad(), Boolean.TRUE) || installmentL3.getCollectibles() == null) {
            zd0Var4 = zd0Var2;
        } else {
            String a19 = np0.a(installmentL3.getCollectibles());
            se4 se4Var = new se4(e80.d(4287273366L), xe4.e(14), aVar4.d(), null, null, null, null, 0L, null, null, null, 0L, null, null, null, 0, 0, 0L, null, null, null, 0, 0, null, 16777208, null);
            ad4 a20 = ad4.b.a();
            Intrinsics.c(a19);
            zd0Var4 = zd0Var2;
            ce4.a(a19, null, 0L, 0L, null, null, null, 0L, a20, null, 0L, 0, false, 0, 0, null, se4Var, zd0Var4, 100663296, 0, 65278);
        }
        zd0Var4.L();
        zd0 zd0Var6 = zd0Var4;
        zd0Var6.e(-1309968214);
        if (z2) {
            InstallmentL installmentL4 = list != null ? (InstallmentL) xa0.f(list) : null;
            s34.a(androidx.compose.foundation.layout.d.h(aVar, wx0.s(f3)), zd0Var6, 6);
            Long retire = (list == null || (installmentL2 = (InstallmentL) xa0.f(list)) == null) ? null : installmentL2.getRetire();
            zf.f c4 = zfVar.c();
            if2 g4 = androidx.compose.foundation.layout.d.g(aVar, 0.0f, 1, null);
            zd0Var6.e(693286680);
            ad2 a21 = vm3.a(c4, aVar2.h(), zd0Var6, 6);
            zd0Var6.e(-1323940314);
            int a22 = td0.a(zd0Var6, 0);
            re0 D4 = zd0Var6.D();
            Function0<wd0> a23 = aVar3.a();
            ii1<c14<wd0>, zd0, Integer, Unit> a24 = i12.a(g4);
            if (!(zd0Var6.s() instanceof tf)) {
                td0.b();
            }
            zd0Var6.q();
            if (zd0Var6.l()) {
                zd0Var6.w(a23);
            } else {
                zd0Var6.F();
            }
            zd0 a25 = qm4.a(zd0Var6);
            qm4.b(a25, a21, aVar3.c());
            qm4.b(a25, D4, aVar3.e());
            Function2<wd0, Integer, Unit> b5 = aVar3.b();
            if (a25.l() || !Intrinsics.a(a25.f(), Integer.valueOf(a22))) {
                a25.G(Integer.valueOf(a22));
                a25.z(Integer.valueOf(a22), b5);
            }
            a24.invoke(c14.a(c14.b(zd0Var6)), zd0Var6, 0);
            zd0Var6.e(2058660585);
            ce4.a("Fecha de pago 2", null, 0L, 0L, null, null, null, 0L, null, null, 0L, 0, false, 0, 0, null, new se4(e80.d(4279638553L), xe4.e(14), null, null, null, null, null, 0L, null, null, null, 0L, null, null, null, 0, 0, 0L, null, null, null, 0, 0, null, 16777212, null), zd0Var6, 6, 0, 65534);
            String a26 = np0.a(retire);
            Intrinsics.checkNotNullExpressionValue(a26, "formatTimeWithMexico(...)");
            ce4.a(a26, null, 0L, 0L, null, null, null, 0L, null, null, 0L, 0, false, 0, 0, null, new se4(e80.d(4279638553L), xe4.e(14), aVar4.d(), null, null, null, null, 0L, null, null, null, 0L, null, null, null, 0, 0, 0L, null, null, null, 0, 0, null, 16777208, null), zd0Var6, 0, 0, 65534);
            zd0Var6.L();
            zd0Var6.N();
            zd0Var6.L();
            zd0Var6.L();
            if (installmentL4 != null && (asynaptic3 = installmentL4.getAsynaptic()) != null && asynaptic3.intValue() == 3) {
                zd0Var6.e(-405779255);
                s34.a(androidx.compose.foundation.layout.d.h(aVar, wx0.s(f2)), zd0Var6, 6);
                zd0Var5 = zd0Var6;
                ce4.a(str + installmentL4.getGormless() + str2, null, 0L, 0L, null, null, null, 0L, null, null, 0L, 0, false, 0, 0, null, new se4(e80.d(4293213486L), xe4.e(14), aVar4.d(), null, null, null, null, 0L, null, null, null, 0L, null, null, null, 0, 0, 0L, null, null, null, 0, 0, null, 16777208, null), zd0Var5, 0, 0, 65534);
                zd0Var5.L();
            } else if (list == null || (installmentL = (InstallmentL) xa0.f(list)) == null || (asynaptic2 = installmentL.getAsynaptic()) == null || asynaptic2.intValue() != 2) {
                zd0Var5 = zd0Var6;
                zd0Var5.e(-405778260);
                zd0Var5.L();
            } else {
                zd0Var6.e(-405778759);
                s34.a(androidx.compose.foundation.layout.d.h(aVar, wx0.s(f2)), zd0Var6, 6);
                StringBuilder sb = new StringBuilder();
                sb.append(np0.a(installmentL4 != null ? installmentL4.getPolyglot() : null));
                sb.append(str3);
                zd0Var5 = zd0Var6;
                ce4.a(sb.toString(), null, 0L, 0L, null, null, null, 0L, null, null, 0L, 0, false, 0, 0, null, new se4(e80.d(4280647418L), xe4.e(14), aVar4.d(), null, null, null, null, 0L, null, null, null, 0L, null, null, null, 0, 0, 0L, null, null, null, 0, 0, null, 16777208, null), zd0Var5, 0, 0, 65534);
                zd0Var5.L();
            }
            if (installmentL4 != null && Intrinsics.a(installmentL4.getWhaleroad(), Boolean.TRUE) && installmentL4.getCollectibles() != null) {
                String a27 = np0.a(installmentL4.getCollectibles());
                se4 se4Var2 = new se4(e80.d(4287273366L), xe4.e(14), aVar4.d(), null, null, null, null, 0L, null, null, null, 0L, null, null, null, 0, 0, 0L, null, null, null, 0, 0, null, 16777208, null);
                ad4 a28 = ad4.b.a();
                Intrinsics.c(a27);
                ce4.a(a27, null, 0L, 0L, null, null, null, 0L, a28, null, 0L, 0, false, 0, 0, null, se4Var2, zd0Var5, 100663296, 0, 65278);
            }
        } else {
            zd0Var5 = zd0Var6;
        }
        zd0Var5.L();
        zd0Var5.L();
        zd0Var5.N();
        zd0Var5.L();
        zd0Var5.L();
        if (ee0.I()) {
            ee0.T();
        }
        ds3 v2 = zd0Var5.v();
        if (v2 == null) {
            return;
        }
        v2.a(new u(z2, list, l2, i2));
    }

    public final void X0(boolean r119, java.util.List<com.aa.home.model.InstallmentL> r120, defpackage.zd0 r121, int r122) {
        throw new UnsupportedOperationException("Method not decompiled: com.aa.home.view.CatLoanDetailActivity.X0(boolean, java.util.List, zd0, int):void");
    }

    public final void Y0(@org.jetbrains.annotations.NotNull defpackage.hy2 r113, java.math.BigDecimal r114, java.lang.Long r115, java.lang.Integer r116, boolean r117, java.lang.Integer r118, boolean r119, java.math.BigDecimal r120, defpackage.zd0 r121, int r122, int r123) {
        throw new UnsupportedOperationException("Method not decompiled: com.aa.home.view.CatLoanDetailActivity.Y0(hy2, java.math.BigDecimal, java.lang.Long, java.lang.Integer, boolean, java.lang.Integer, boolean, java.math.BigDecimal, zd0, int, int):void");
    }

    public final void Z0(@NotNull LoanDetailModel loanDetailModel, InstallmentL installmentL, zd0 zd0Var, int i2) {
        zd0 zd0Var2;
        String str;
        zd0 zd0Var3;
        Intrinsics.checkNotNullParameter(loanDetailModel, "detailModel");
        zd0 o2 = zd0Var.o(1140172298);
        if (ee0.I()) {
            ee0.U(1140172298, i2, -1, "com.aa.home.view.CatLoanDetailActivity.OrderStatusExtendBottomView (CatLoanDetailActivity.kt:1537)");
        }
        if2.a aVar = if2.a;
        s34.a(androidx.compose.foundation.layout.d.h(aVar, wx0.s(24)), o2, 6);
        if2 g2 = androidx.compose.foundation.layout.d.g(aVar, 0.0f, 1, null);
        zf zfVar = zf.a;
        zf.f c2 = zfVar.c();
        o2.e(693286680);
        d5.a aVar2 = d5.a;
        ad2 a2 = vm3.a(c2, aVar2.h(), o2, 6);
        o2.e(-1323940314);
        int a3 = td0.a(o2, 0);
        re0 D = o2.D();
        wd0.a aVar3 = wd0.n;
        Function0<wd0> a4 = aVar3.a();
        ii1<c14<wd0>, zd0, Integer, Unit> a5 = i12.a(g2);
        if (!(o2.s() instanceof tf)) {
            td0.b();
        }
        o2.q();
        if (o2.l()) {
            o2.w(a4);
        } else {
            o2.F();
        }
        zd0 a6 = qm4.a(o2);
        qm4.b(a6, a2, aVar3.c());
        qm4.b(a6, D, aVar3.e());
        Function2<wd0, Integer, Unit> b2 = aVar3.b();
        if (a6.l() || !Intrinsics.a(a6.f(), Integer.valueOf(a3))) {
            a6.G(Integer.valueOf(a3));
            a6.z(Integer.valueOf(a3), b2);
        }
        a5.invoke(c14.a(c14.b(o2)), o2, 0);
        o2.e(2058660585);
        xm3 xm3Var = xm3.a;
        ce4.a("Tarifa de prórroga", null, 0L, 0L, null, null, null, 0L, null, null, 0L, 0, false, 0, 0, null, new se4(e80.d(4279638553L), xe4.e(14), null, null, null, null, null, 0L, null, null, null, 0L, null, null, null, 0, 0, 0L, null, null, null, 0, 0, null, 16777212, null), o2, 6, 0, 65534);
        d5.b f2 = aVar2.f();
        o2.e(-483455358);
        ad2 a7 = sa0.a(zfVar.e(), f2, o2, 48);
        o2.e(-1323940314);
        int a8 = td0.a(o2, 0);
        re0 D2 = o2.D();
        Function0<wd0> a9 = aVar3.a();
        ii1<c14<wd0>, zd0, Integer, Unit> a10 = i12.a(aVar);
        if (!(o2.s() instanceof tf)) {
            td0.b();
        }
        o2.q();
        if (o2.l()) {
            o2.w(a9);
        } else {
            o2.F();
        }
        zd0 a11 = qm4.a(o2);
        qm4.b(a11, a7, aVar3.c());
        qm4.b(a11, D2, aVar3.e());
        Function2<wd0, Integer, Unit> b3 = aVar3.b();
        if (a11.l() || !Intrinsics.a(a11.f(), Integer.valueOf(a8))) {
            a11.G(Integer.valueOf(a8));
            a11.z(Integer.valueOf(a8), b3);
        }
        a10.invoke(c14.a(c14.b(o2)), o2, 0);
        o2.e(2058660585);
        ta0 ta0Var = ta0.a;
        if (Intrinsics.a(loanDetailModel.getPraxeology(), Boolean.TRUE)) {
            o2.e(-2000268661);
            StringBuilder sb = new StringBuilder();
            sb.append("$ ");
            BigDecimal strychnine = loanDetailModel.getStrychnine();
            sb.append(xa0.b(strychnine != null ? strychnine.add(loanDetailModel.getSquatterdom()) : null));
            String sb2 = sb.toString();
            long e2 = xe4.e(14);
            long d2 = e80.d(4279638553L);
            rf1.a aVar4 = rf1.b;
            zd0Var2 = o2;
            ce4.a(sb2, null, 0L, 0L, null, null, null, 0L, null, null, 0L, 0, false, 0, 0, null, new se4(d2, e2, aVar4.d(), null, null, null, null, 0L, null, null, null, 0L, null, null, null, 0, 0, 0L, null, null, null, 0, 0, null, 16777208, null), zd0Var2, 0, 0, 65534);
            s34.a(androidx.compose.foundation.layout.d.h(aVar, wx0.s(12)), zd0Var2, 6);
            ce4.a("(Incluye mora$ " + xa0.b(loanDetailModel.getSquatterdom()) + ')', null, 0L, 0L, null, null, null, 0L, null, null, 0L, 0, false, 0, 0, null, new se4(e80.d(4279638553L), xe4.e(14), aVar4.d(), null, null, null, null, 0L, null, null, null, 0L, null, null, null, 0, 0, 0L, null, null, null, 0, 0, null, 16777208, null), zd0Var2, 0, 0, 65534);
            zd0Var2.L();
            str = "$ ";
        } else {
            zd0Var2 = o2;
            o2.e(-2000267787);
            str = "$ ";
            ce4.a("$ " + xa0.b(loanDetailModel.getStrychnine()), null, 0L, 0L, null, null, null, 0L, null, null, 0L, 0, false, 0, 0, null, new se4(e80.d(4279638553L), xe4.e(14), rf1.b.d(), null, null, null, null, 0L, null, null, null, 0L, null, null, null, 0, 0, 0L, null, null, null, 0, 0, null, 16777208, null), zd0Var2, 0, 0, 65534);
            zd0Var2.L();
        }
        zd0Var2.L();
        zd0Var2.N();
        zd0Var2.L();
        zd0Var2.L();
        zd0Var2.L();
        zd0Var2.N();
        zd0Var2.L();
        zd0Var2.L();
        zd0 zd0Var4 = zd0Var2;
        s34.a(androidx.compose.foundation.layout.d.h(aVar, wx0.s(20)), zd0Var4, 6);
        if2 g3 = androidx.compose.foundation.layout.d.g(aVar, 0.0f, 1, null);
        zf.f c3 = zfVar.c();
        zd0Var4.e(693286680);
        ad2 a12 = vm3.a(c3, aVar2.h(), zd0Var4, 6);
        zd0Var4.e(-1323940314);
        int a13 = td0.a(zd0Var4, 0);
        re0 D3 = zd0Var4.D();
        Function0<wd0> a14 = aVar3.a();
        ii1<c14<wd0>, zd0, Integer, Unit> a15 = i12.a(g3);
        if (!(zd0Var4.s() instanceof tf)) {
            td0.b();
        }
        zd0Var4.q();
        if (zd0Var4.l()) {
            zd0Var4.w(a14);
        } else {
            zd0Var4.F();
        }
        zd0 a16 = qm4.a(zd0Var4);
        qm4.b(a16, a12, aVar3.c());
        qm4.b(a16, D3, aVar3.e());
        Function2<wd0, Integer, Unit> b4 = aVar3.b();
        if (a16.l() || !Intrinsics.a(a16.f(), Integer.valueOf(a13))) {
            a16.G(Integer.valueOf(a13));
            a16.z(Integer.valueOf(a13), b4);
        }
        a15.invoke(c14.a(c14.b(zd0Var4)), zd0Var4, 0);
        zd0Var4.e(2058660585);
        ce4.a("Fecha después de la extensión", null, 0L, 0L, null, null, null, 0L, null, null, 0L, 0, false, 0, 0, null, new se4(e80.d(4279638553L), xe4.e(14), null, null, null, null, null, 0L, null, null, null, 0L, null, null, null, 0, 0, 0L, null, null, null, 0, 0, null, 16777212, null), zd0Var4, 6, 0, 65534);
        String a17 = np0.a(loanDetailModel.getRelying());
        Intrinsics.checkNotNullExpressionValue(a17, "formatTimeWithMexico(...)");
        long e3 = xe4.e(14);
        long d3 = e80.d(4279638553L);
        rf1.a aVar5 = rf1.b;
        ce4.a(a17, null, 0L, 0L, null, null, null, 0L, null, null, 0L, 0, false, 0, 0, null, new se4(d3, e3, aVar5.d(), null, null, null, null, 0L, null, null, null, 0L, null, null, null, 0, 0, 0L, null, null, null, 0, 0, null, 16777208, null), zd0Var4, 0, 0, 65534);
        zd0Var4.L();
        zd0Var4.N();
        zd0Var4.L();
        zd0Var4.L();
        if (Intrinsics.a(loanDetailModel.getPraxeology(), Boolean.FALSE)) {
            s34.a(androidx.compose.foundation.layout.d.h(aVar, wx0.s(16)), zd0Var4, 6);
            if2 g4 = androidx.compose.foundation.layout.d.g(aVar, 0.0f, 1, null);
            zf.f c4 = zfVar.c();
            zd0Var4.e(693286680);
            ad2 a18 = vm3.a(c4, aVar2.h(), zd0Var4, 6);
            zd0Var4.e(-1323940314);
            int a19 = td0.a(zd0Var4, 0);
            re0 D4 = zd0Var4.D();
            Function0<wd0> a20 = aVar3.a();
            ii1<c14<wd0>, zd0, Integer, Unit> a21 = i12.a(g4);
            if (!(zd0Var4.s() instanceof tf)) {
                td0.b();
            }
            zd0Var4.q();
            if (zd0Var4.l()) {
                zd0Var4.w(a20);
            } else {
                zd0Var4.F();
            }
            zd0 a22 = qm4.a(zd0Var4);
            qm4.b(a22, a18, aVar3.c());
            qm4.b(a22, D4, aVar3.e());
            Function2<wd0, Integer, Unit> b5 = aVar3.b();
            if (a22.l() || !Intrinsics.a(a22.f(), Integer.valueOf(a19))) {
                a22.G(Integer.valueOf(a19));
                a22.z(Integer.valueOf(a19), b5);
            }
            a21.invoke(c14.a(c14.b(zd0Var4)), zd0Var4, 0);
            zd0Var4.e(2058660585);
            zd0Var3 = zd0Var4;
            ce4.a("Monto después de la extensión", null, 0L, 0L, null, null, null, 0L, null, null, 0L, 0, false, 0, 0, null, new se4(e80.d(4279638553L), xe4.e(14), null, null, null, null, null, 0L, null, null, null, 0L, null, null, null, 0, 0, 0L, null, null, null, 0, 0, null, 16777212, null), zd0Var3, 6, 0, 65534);
            StringBuilder sb3 = new StringBuilder();
            sb3.append(str);
            sb3.append(xa0.b(installmentL != null ? installmentL.getTotalAmount() : null));
            ce4.a(sb3.toString(), null, 0L, 0L, null, null, null, 0L, null, null, 0L, 0, false, 0, 0, null, new se4(e80.d(4279638553L), xe4.e(14), aVar5.d(), null, null, null, null, 0L, null, null, null, 0L, null, null, null, 0, 0, 0L, null, null, null, 0, 0, null, 16777208, null), zd0Var3, 0, 0, 65534);
            zd0Var3.L();
            zd0Var3.N();
            zd0Var3.L();
            zd0Var3.L();
        } else {
            zd0Var3 = zd0Var4;
        }
        if (ee0.I()) {
            ee0.T();
        }
        ds3 v2 = zd0Var3.v();
        if (v2 == null) {
            return;
        }
        v2.a(new y(loanDetailModel, installmentL, i2));
    }

    public final void a1(java.math.BigDecimal r82, java.lang.Long r83, java.lang.Integer r84, java.math.BigDecimal r85, @org.jetbrains.annotations.NotNull java.lang.String r86, boolean r87, defpackage.zd0 r88, int r89, int r90) {
        throw new UnsupportedOperationException("Method not decompiled: com.aa.home.view.CatLoanDetailActivity.a1(java.math.BigDecimal, java.lang.Long, java.lang.Integer, java.math.BigDecimal, java.lang.String, boolean, zd0, int, int):void");
    }

    public final void b1(BigDecimal bigDecimal, BigDecimal bigDecimal2, zd0 zd0Var, int i2, int i3) {
        BigDecimal bigDecimal3;
        int i4;
        zd0 o2 = zd0Var.o(-620864034);
        if ((i3 & 1) != 0) {
            i4 = i2 & (-15);
            bigDecimal3 = new BigDecimal(0);
        } else {
            bigDecimal3 = bigDecimal;
            i4 = i2;
        }
        if (ee0.I()) {
            ee0.U(-620864034, i4, -1, "com.aa.home.view.CatLoanDetailActivity.OrderStatusPartPayBottomView (CatLoanDetailActivity.kt:1742)");
        }
        if2.a aVar = if2.a;
        s34.a(androidx.compose.foundation.layout.d.h(aVar, wx0.s(24)), o2, 6);
        if2 g2 = androidx.compose.foundation.layout.d.g(aVar, 0.0f, 1, null);
        zf zfVar = zf.a;
        zf.f c2 = zfVar.c();
        o2.e(693286680);
        d5.a aVar2 = d5.a;
        ad2 a2 = vm3.a(c2, aVar2.h(), o2, 6);
        o2.e(-1323940314);
        int a3 = td0.a(o2, 0);
        re0 D = o2.D();
        wd0.a aVar3 = wd0.n;
        Function0<wd0> a4 = aVar3.a();
        ii1<c14<wd0>, zd0, Integer, Unit> a5 = i12.a(g2);
        if (!(o2.s() instanceof tf)) {
            td0.b();
        }
        o2.q();
        if (o2.l()) {
            o2.w(a4);
        } else {
            o2.F();
        }
        zd0 a6 = qm4.a(o2);
        qm4.b(a6, a2, aVar3.c());
        qm4.b(a6, D, aVar3.e());
        Function2<wd0, Integer, Unit> b2 = aVar3.b();
        if (a6.l() || !Intrinsics.a(a6.f(), Integer.valueOf(a3))) {
            a6.G(Integer.valueOf(a3));
            a6.z(Integer.valueOf(a3), b2);
        }
        a5.invoke(c14.a(c14.b(o2)), o2, 0);
        o2.e(2058660585);
        xm3 xm3Var = xm3.a;
        ce4.a("Monto pagado", null, 0L, 0L, null, null, null, 0L, null, null, 0L, 0, false, 0, 0, null, new se4(e80.d(4279638553L), xe4.e(14), null, null, null, null, null, 0L, null, null, null, 0L, null, null, null, 0, 0, 0L, null, null, null, 0, 0, null, 16777212, null), o2, 6, 0, 65534);
        String str = "$ " + xa0.b(bigDecimal2);
        long e2 = xe4.e(14);
        long d2 = e80.d(4279638553L);
        rf1.a aVar4 = rf1.b;
        ce4.a(str, null, 0L, 0L, null, null, null, 0L, null, null, 0L, 0, false, 0, 0, null, new se4(d2, e2, aVar4.d(), null, null, null, null, 0L, null, null, null, 0L, null, null, null, 0, 0, 0L, null, null, null, 0, 0, null, 16777208, null), o2, 0, 0, 65534);
        o2.L();
        o2.N();
        o2.L();
        o2.L();
        s34.a(androidx.compose.foundation.layout.d.h(aVar, wx0.s(16)), o2, 6);
        if2 g3 = androidx.compose.foundation.layout.d.g(aVar, 0.0f, 1, null);
        zf.f c3 = zfVar.c();
        o2.e(693286680);
        ad2 a7 = vm3.a(c3, aVar2.h(), o2, 6);
        o2.e(-1323940314);
        int a8 = td0.a(o2, 0);
        re0 D2 = o2.D();
        Function0<wd0> a9 = aVar3.a();
        ii1<c14<wd0>, zd0, Integer, Unit> a10 = i12.a(g3);
        if (!(o2.s() instanceof tf)) {
            td0.b();
        }
        o2.q();
        if (o2.l()) {
            o2.w(a9);
        } else {
            o2.F();
        }
        zd0 a11 = qm4.a(o2);
        qm4.b(a11, a7, aVar3.c());
        qm4.b(a11, D2, aVar3.e());
        Function2<wd0, Integer, Unit> b3 = aVar3.b();
        if (a11.l() || !Intrinsics.a(a11.f(), Integer.valueOf(a8))) {
            a11.G(Integer.valueOf(a8));
            a11.z(Integer.valueOf(a8), b3);
        }
        a10.invoke(c14.a(c14.b(o2)), o2, 0);
        o2.e(2058660585);
        ce4.a("Monto a pagar", null, 0L, 0L, null, null, null, 0L, null, null, 0L, 0, false, 0, 0, null, new se4(e80.d(4279638553L), xe4.e(14), null, null, null, null, null, 0L, null, null, null, 0L, null, null, null, 0, 0, 0L, null, null, null, 0, 0, null, 16777212, null), o2, 6, 0, 65534);
        ce4.a("$ " + xa0.b(bigDecimal3), null, 0L, 0L, null, null, null, 0L, null, null, 0L, 0, false, 0, 0, null, new se4(e80.d(4279638553L), xe4.e(14), aVar4.d(), null, null, null, null, 0L, null, null, null, 0L, null, null, null, 0, 0, 0L, null, null, null, 0, 0, null, 16777208, null), o2, 0, 0, 65534);
        o2.L();
        o2.N();
        o2.L();
        o2.L();
        if (ee0.I()) {
            ee0.T();
        }
        ds3 v2 = o2.v();
        if (v2 == null) {
            return;
        }
        v2.a(new a0(bigDecimal3, bigDecimal2, i2, i3));
    }

    public final void c1(@NotNull hy2 hy2Var, @NotNull LoanDetailModel loanDetailModel, InstallmentL installmentL, zd0 zd0Var, int i2) {
        String sb;
        Number number;
        BigDecimal loofah;
        BigDecimal subtract;
        String sb2;
        Intrinsics.checkNotNullParameter(hy2Var, "orderStatusOrigin");
        Intrinsics.checkNotNullParameter(loanDetailModel, "detailModel");
        zd0 o2 = zd0Var.o(288501211);
        if (ee0.I()) {
            ee0.U(288501211, i2, -1, "com.aa.home.view.CatLoanDetailActivity.OrderStatusView (CatLoanDetailActivity.kt:1260)");
        }
        xe3 xe3Var = new xe3();
        xe3Var.element = hy2Var;
        CatLoanDetailViewModel catLoanDetailViewModel = this.u1;
        if (catLoanDetailViewModel == null) {
            Intrinsics.r("viewModel");
            catLoanDetailViewModel = null;
        }
        if (catLoanDetailViewModel.getBackTrackIndex() == 0) {
            xe3Var.element = hy2.b;
        } else {
            CatLoanDetailViewModel catLoanDetailViewModel2 = this.u1;
            if (catLoanDetailViewModel2 == null) {
                Intrinsics.r("viewModel");
                catLoanDetailViewModel2 = null;
            }
            if (catLoanDetailViewModel2.getBackTrackIndex() == 1) {
                xe3Var.element = hy2.e;
            }
        }
        xe3 xe3Var2 = new xe3();
        xe3Var2.element = "Solicitud en proceso";
        xe3 xe3Var3 = new xe3();
        xe3Var3.element = "Tu solicitud presentada en 2024 está siendo evaluada para tu aprobación, el tiempo estimado de respuesta es de 5 minutos, por favor espera.";
        te3 te3Var = new te3();
        xe3 xe3Var4 = new xe3();
        xe3Var4.element = iy2.a;
        switch (o0.a[((hy2) xe3Var.element).ordinal()]) {
            case 1:
                xe3Var2.element = "Solicitud en proceso";
                xe3Var3.element = "Tu solicitud presentada en " + np0.b(loanDetailModel.getCantered()) + " está siendo evaluada para tu aprobación, el tiempo estimado de respuesta es de 5 minutos, por favor espera.";
                break;
            case 2:
                xe3Var2.element = "Solicitud rechazada";
                xe3Var3.element = "Lo sentimos, tu solicitud de préstamo presentada el " + np0.b(loanDetailModel.getCantered()) + " no ha sido aprobada. Puedes intentarlo nuevamente después de un tiempo.";
                break;
            case 3:
                xe3Var2.element = "Solicitud aprobada";
                xe3Var3.element = "Felicitaciones, tu solicitud de préstamo ha sido aprobada en " + np0.b(loanDetailModel.getAsinine());
                break;
            case 4:
                xe3Var2.element = "";
                xe3Var3.element = "Tu préstamo está en proceso. Se espera que se acredite en una hora. Por favor, espere un momento.";
                break;
            case 5:
                xe3Var2.element = "";
                xe3Var3.element = "Felicidades, tu préstamo de $" + xa0.b(loanDetailModel.getOrgulously()) + " ha sido transferido con éxito a la cuenta designada. Mantener buenos hábitos de uso ayudará a aumentar su límite.";
                break;
            case 6:
                xe3Var2.element = "";
                xe3Var3.element = "Hola, debido a que la información bancaria no es correcta, no podemos completar la transferencia. Por favor, verifique que los datos bancarios que proporcionó sean precisos. Si tiene alguna pregunta, póngase en contacto con nuestro servicio de atención al cliente.";
                break;
            case 7:
                Long polyglot = loanDetailModel.getPolyglot();
                xe3Var2.element = "Información de pago";
                xe3Var3.element = "Ha liquidado su préstamo el " + np0.b(polyglot) + ". ¡Gracias!.";
                xe3Var4.element = iy2.b;
                break;
            case 8:
                xe3Var2.element = "";
                if (Intrinsics.a(loanDetailModel.getPraxeology(), Boolean.TRUE)) {
                    if (loanDetailModel.getOpinionate() == null || !(!r0.isEmpty()) || loanDetailModel.getOpinionate().size() <= 1) {
                        StringBuilder sb3 = new StringBuilder();
                        sb3.append("Te has retrasado por ");
                        sb3.append(installmentL != null ? installmentL.getGormless() : null);
                        sb3.append(" días. Por favor, realiza el pago lo antes posible para evitar afectar tu historial crediticio personal.");
                        sb = sb3.toString();
                    } else {
                        StringBuilder sb4 = new StringBuilder();
                        sb4.append("Pago ");
                        sb4.append(installmentL != null ? installmentL.getArchetypically() : null);
                        sb4.append(" has retrasado por ");
                        sb4.append(installmentL != null ? installmentL.getGormless() : null);
                        sb4.append(" días. Por favor, realiza el pago lo antes posible para evitar afectar su tu historial crediticio personal.");
                        sb = sb4.toString();
                    }
                } else {
                    if (loanDetailModel.getOpinionate() == null || !(!r0.isEmpty()) || loanDetailModel.getOpinionate().size() <= 1) {
                        StringBuilder sb5 = new StringBuilder();
                        sb5.append("Tu fecha de vencimiento es ");
                        sb5.append(np0.a(installmentL != null ? installmentL.getRetire() : null));
                        sb5.append(". Por favor,  completa el pago antes de la fecha de vencimiento. Mantener buenos hábitos de pago ayudará a aumentar tu límite.");
                        sb = sb5.toString();
                    } else {
                        StringBuilder sb6 = new StringBuilder();
                        sb6.append("Pago ");
                        sb6.append(installmentL != null ? installmentL.getArchetypically() : null);
                        sb6.append(" fecha de vencimiento es ");
                        sb6.append(np0.a(installmentL != null ? installmentL.getRetire() : null));
                        sb6.append(". Por favor, completa el pago antes de la fecha de vencimiento. Mantener buenos hábitos de pago ayudará a aumentar tu límite.");
                        sb = sb6.toString();
                    }
                }
                xe3Var3.element = sb;
                break;
            case pn.i:
                if (installmentL == null || (number = installmentL.getAccept()) == null) {
                    number = 0;
                }
                if (number.doubleValue() > 0.0d) {
                    xe3Var2.element = "Por favor, complete el pago antes de las 24:00 del mismo día.";
                    StringBuilder sb7 = new StringBuilder();
                    sb7.append("Tu pago de $ ");
                    sb7.append(xa0.b(installmentL != null ? installmentL.getAccept() : null));
                    sb7.append(" ha sido recibido, y el saldo pendiente es de $ ");
                    sb7.append(xa0.b((installmentL == null || (loofah = installmentL.getLoofah()) == null || (subtract = loofah.subtract(installmentL.getAccept())) == null) ? null : subtract.add(installmentL.getSquatterdom())));
                    sb7.append(". Por favor, completa el pago antes del ");
                    sb7.append(np0.a(installmentL != null ? installmentL.getRetire() : null));
                    sb7.append(" para evitar retrasos.");
                    xe3Var3.element = sb7.toString();
                    xe3Var4.element = iy2.d;
                } else {
                    xe3Var2.element = "Por favor, complete el pago antes de las 24:00 del mismo día.";
                    xe3Var3.element = "Completaremos la transacción lo antes posible después de recibir tu pago. Si aún no has completado el pago, hazlo antes de que finalice la cuenta regresiva. Si ya has realizado el pago, puedes hacer clic en el botón de actualizar para ver el estado más reciente. \nDebido a los retrasos en las transferencias entre bancos, este proceso puede tardar hasta 1 hora en completarse. Gracias por tu comprensión.";
                }
                te3Var.element = true;
                break;
            case 10:
                xe3Var2.element = "Por favor, completa el pago dentro de las 24:00 del día.";
                xe3Var3.element = "Por favor, ten en cuenta que debes pagar la tarifa de extensión dentro de las 24:00 del día. Si se excede el tiempo, tu solicitud de extensión se cancelará automáticamente.";
                te3Var.element = true;
                xe3Var4.element = iy2.c;
                break;
            case 11:
                xe3Var2.element = "";
                if (Intrinsics.a(loanDetailModel.getPraxeology(), Boolean.TRUE)) {
                    if (loanDetailModel.getOpinionate() == null || !(!r0.isEmpty()) || loanDetailModel.getOpinionate().size() <= 1) {
                        StringBuilder sb8 = new StringBuilder();
                        sb8.append("Te has retrasado por ");
                        sb8.append(installmentL != null ? installmentL.getGormless() : null);
                        sb8.append(" días. Por favor, realiza el pago lo antes posible para evitar afectar tu historial crediticio personal.");
                        sb2 = sb8.toString();
                    } else {
                        StringBuilder sb9 = new StringBuilder();
                        sb9.append("Pago ");
                        sb9.append(installmentL != null ? installmentL.getArchetypically() : null);
                        sb9.append(" has retrasado por ");
                        sb9.append(installmentL != null ? installmentL.getGormless() : null);
                        sb9.append(" días. Por favor, realiza el pago lo antes posible para evitar afectar su tu historial crediticio personal.");
                        sb2 = sb9.toString();
                    }
                } else {
                    if (loanDetailModel.getOpinionate() == null || !(!r0.isEmpty()) || loanDetailModel.getOpinionate().size() <= 1) {
                        StringBuilder sb10 = new StringBuilder();
                        sb10.append("Tu fecha de vencimiento es ");
                        sb10.append(np0.a(installmentL != null ? installmentL.getRetire() : null));
                        sb10.append(". Por favor, completa el pago antes de la fecha de vencimiento. Mantener buenos hábitos de pago ayudará a aumentar tu límite.");
                        sb2 = sb10.toString();
                    } else {
                        StringBuilder sb11 = new StringBuilder();
                        sb11.append("Pago ");
                        sb11.append(installmentL != null ? installmentL.getArchetypically() : null);
                        sb11.append(" fecha de vencimiento es ");
                        sb11.append(np0.a(installmentL != null ? installmentL.getRetire() : null));
                        sb11.append(". Por favor, completa el pago antes de la fecha de vencimiento. Mantener buenos hábitos de pago ayudará a aumentar tu límite.");
                        sb2 = sb11.toString();
                    }
                }
                xe3Var3.element = sb2;
                break;
        }
        ha4.a(androidx.compose.foundation.layout.d.g(if2.a, 0.0f, 1, null), lm3.c(wx0.s(12)), e80.d(4294310649L), 0L, 0.0f, 0.0f, null, kd0.b(o2, 805765728, true, new b0(xe3Var2, te3Var, this, xe3Var, loanDetailModel, xe3Var3, xe3Var4, installmentL)), o2, 12583302, 120);
        if (ee0.I()) {
            ee0.T();
        }
        ds3 v2 = o2.v();
        if (v2 == null) {
            return;
        }
        v2.a(new c0(hy2Var, loanDetailModel, installmentL, i2));
    }

    public final void d1(@NotNull hy2 hy2Var, @NotNull LoanDetailModel loanDetailModel, InstallmentL installmentL, zd0 zd0Var, int i2) {
        boolean z2;
        boolean z3;
        boolean z4;
        float f2;
        if2.a aVar;
        int i3;
        int i4;
        Intrinsics.checkNotNullParameter(hy2Var, "orderStatus");
        Intrinsics.checkNotNullParameter(loanDetailModel, "loanDetailModel");
        zd0 o2 = zd0Var.o(-385289423);
        if (ee0.I()) {
            ee0.U(-385289423, i2, -1, "com.aa.home.view.CatLoanDetailActivity.ProgressDescription (CatLoanDetailActivity.kt:817)");
        }
        boolean z5 = hy2Var == hy2.a || hy2Var == hy2.c || hy2Var == hy2.b;
        if (hy2Var == hy2.d || hy2Var == hy2.f) {
            z5 = false;
            z2 = true;
        } else {
            z2 = false;
        }
        if (hy2Var == hy2.h || hy2Var == hy2.g || hy2Var == hy2.i) {
            z5 = false;
            z2 = false;
            z3 = true;
        } else {
            z3 = false;
        }
        if (hy2Var == hy2.k) {
            z5 = false;
            z2 = false;
            z3 = false;
            z4 = true;
        } else {
            z4 = false;
        }
        o2.e(-483455358);
        if2.a aVar2 = if2.a;
        zf zfVar = zf.a;
        zf.m e2 = zfVar.e();
        d5.a aVar3 = d5.a;
        ad2 a2 = sa0.a(e2, aVar3.g(), o2, 0);
        o2.e(-1323940314);
        int a3 = td0.a(o2, 0);
        re0 D = o2.D();
        wd0.a aVar4 = wd0.n;
        Function0<wd0> a4 = aVar4.a();
        ii1<c14<wd0>, zd0, Integer, Unit> a5 = i12.a(aVar2);
        if (!(o2.s() instanceof tf)) {
            td0.b();
        }
        o2.q();
        if (o2.l()) {
            o2.w(a4);
        } else {
            o2.F();
        }
        zd0 a6 = qm4.a(o2);
        qm4.b(a6, a2, aVar4.c());
        qm4.b(a6, D, aVar4.e());
        Function2<wd0, Integer, Unit> b2 = aVar4.b();
        if (a6.l() || !Intrinsics.a(a6.f(), Integer.valueOf(a3))) {
            a6.G(Integer.valueOf(a3));
            a6.z(Integer.valueOf(a3), b2);
        }
        a5.invoke(c14.a(c14.b(o2)), o2, 0);
        o2.e(2058660585);
        ta0 ta0Var = ta0.a;
        zf.f c2 = zfVar.c();
        float f3 = 12;
        if2 n2 = androidx.compose.foundation.layout.c.n(androidx.compose.foundation.layout.d.g(aVar2, 0.0f, 1, null), wx0.s(f3), 0.0f, wx0.s(18), 0.0f, 10, null);
        o2.e(693286680);
        ad2 a7 = vm3.a(c2, aVar3.h(), o2, 6);
        o2.e(-1323940314);
        int a8 = td0.a(o2, 0);
        re0 D2 = o2.D();
        Function0<wd0> a9 = aVar4.a();
        ii1<c14<wd0>, zd0, Integer, Unit> a10 = i12.a(n2);
        if (!(o2.s() instanceof tf)) {
            td0.b();
        }
        o2.q();
        if (o2.l()) {
            o2.w(a9);
        } else {
            o2.F();
        }
        zd0 a11 = qm4.a(o2);
        qm4.b(a11, a7, aVar4.c());
        qm4.b(a11, D2, aVar4.e());
        Function2<wd0, Integer, Unit> b3 = aVar4.b();
        if (a11.l() || !Intrinsics.a(a11.f(), Integer.valueOf(a8))) {
            a11.G(Integer.valueOf(a8));
            a11.z(Integer.valueOf(a8), b3);
        }
        a10.invoke(c14.a(c14.b(o2)), o2, 0);
        o2.e(2058660585);
        xm3 xm3Var = xm3.a;
        if (z5) {
            o2.e(766674236);
            f2 = f3;
            aVar = aVar2;
            oq1.a(w03.d(com.aa.home.R$drawable.icon_loan_up, o2, 0), null, androidx.compose.foundation.layout.d.j(aVar2, wx0.s(20), wx0.s(f3)), null, kh0.a.b(), 0.0f, null, o2, 25016, 104);
            o2.L();
            i3 = 6;
        } else {
            f2 = f3;
            aVar = aVar2;
            o2.e(766674615);
            i3 = 6;
            s34.a(androidx.compose.foundation.layout.d.j(aVar, wx0.s(20), wx0.s(f2)), o2, 6);
            o2.L();
        }
        if (z2) {
            o2.e(766674749);
            i4 = i3;
            oq1.a(w03.d(com.aa.home.R$drawable.icon_loan_up, o2, 0), null, androidx.compose.foundation.layout.d.j(aVar, wx0.s(20), wx0.s(f2)), null, kh0.a.b(), 0.0f, null, o2, 25016, 104);
            o2.L();
        } else {
            i4 = i3;
            o2.e(766675128);
            s34.a(androidx.compose.foundation.layout.d.j(aVar, wx0.s(20), wx0.s(f2)), o2, i4);
            o2.L();
        }
        if (z3) {
            o2.e(766675262);
            oq1.a(w03.d(com.aa.home.R$drawable.icon_loan_up, o2, 0), null, androidx.compose.foundation.layout.d.j(aVar, wx0.s(20), wx0.s(f2)), null, kh0.a.b(), 0.0f, null, o2, 25016, 104);
            o2.L();
        } else {
            o2.e(766675641);
            s34.a(androidx.compose.foundation.layout.d.j(aVar, wx0.s(20), wx0.s(f2)), o2, i4);
            o2.L();
        }
        if (z4) {
            o2.e(766675775);
            oq1.a(w03.d(com.aa.home.R$drawable.icon_loan_up, o2, 0), null, androidx.compose.foundation.layout.d.j(aVar, wx0.s(20), wx0.s(f2)), null, kh0.a.b(), 0.0f, null, o2, 25016, 104);
            o2.L();
        } else {
            o2.e(766676154);
            s34.a(androidx.compose.foundation.layout.d.j(aVar, wx0.s(20), wx0.s(f2)), o2, i4);
            o2.L();
        }
        o2.L();
        o2.N();
        o2.L();
        o2.L();
        int i5 = i2 & 14;
        c1(hy2Var, loanDetailModel, installmentL, o2, i5 | 4672);
        Q0(hy2Var, loanDetailModel, o2, i5 | 576);
        o2.L();
        o2.N();
        o2.L();
        o2.L();
        if (ee0.I()) {
            ee0.T();
        }
        ds3 v2 = o2.v();
        if (v2 == null) {
            return;
        }
        v2.a(new d0(hy2Var, loanDetailModel, installmentL, i2));
    }

    public final void e1(@NotNull hy2 hy2Var, zd0 zd0Var, int i2) {
        int i3;
        Intrinsics.checkNotNullParameter(hy2Var, "orderStatus");
        zd0 o2 = zd0Var.o(-772465601);
        if (ee0.I()) {
            ee0.U(-772465601, i2, -1, "com.aa.home.view.CatLoanDetailActivity.ProgressView (CatLoanDetailActivity.kt:694)");
        }
        CatLoanDetailViewModel catLoanDetailViewModel = null;
        switch (o0.a[hy2Var.ordinal()]) {
            case 1:
                i3 = com.aa.home.R$drawable.cat_in_processing;
                break;
            case 2:
                i3 = com.aa.home.R$drawable.cat_process_reject;
                break;
            case 3:
                i3 = com.aa.home.R$drawable.cat_lending_money;
                break;
            case 4:
                i3 = com.aa.home.R$drawable.cat_lending_money;
                break;
            case 5:
                i3 = com.aa.home.R$drawable.cat_lend_money_pending_payment;
                break;
            case 6:
                i3 = com.aa.home.R$drawable.cat_lend_money_failed;
                break;
            case 7:
                i3 = com.aa.home.R$drawable.cat_paid;
                break;
            case 8:
                CatLoanDetailViewModel catLoanDetailViewModel2 = this.u1;
                if (catLoanDetailViewModel2 == null) {
                    Intrinsics.r("viewModel");
                } else {
                    catLoanDetailViewModel = catLoanDetailViewModel2;
                }
                if (!Intrinsics.a(catLoanDetailViewModel.getLoanDetailModel().getPraxeology(), Boolean.TRUE)) {
                    i3 = com.aa.home.R$drawable.cat_lend_money_pending_payment;
                    break;
                } else {
                    i3 = com.aa.home.R$drawable.cat_lend_money_pending_payment_overdue;
                    break;
                }
            case pn.i:
            case 10:
                CatLoanDetailViewModel catLoanDetailViewModel3 = this.u1;
                if (catLoanDetailViewModel3 == null) {
                    Intrinsics.r("viewModel");
                } else {
                    catLoanDetailViewModel = catLoanDetailViewModel3;
                }
                if (!Intrinsics.a(catLoanDetailViewModel.getLoanDetailModel().getPraxeology(), Boolean.TRUE)) {
                    i3 = com.aa.home.R$drawable.cat_lend_money_pending_payment;
                    break;
                } else {
                    i3 = com.aa.home.R$drawable.cat_lend_money_pending_payment_overdue;
                    break;
                }
            case 11:
                CatLoanDetailViewModel catLoanDetailViewModel4 = this.u1;
                if (catLoanDetailViewModel4 == null) {
                    Intrinsics.r("viewModel");
                } else {
                    catLoanDetailViewModel = catLoanDetailViewModel4;
                }
                if (!Intrinsics.a(catLoanDetailViewModel.getLoanDetailModel().getPraxeology(), Boolean.TRUE)) {
                    i3 = com.aa.home.R$drawable.cat_lend_money_pending_payment;
                    break;
                } else {
                    i3 = com.aa.home.R$drawable.cat_lend_money_pending_payment_overdue;
                    break;
                }
            default:
                i3 = 1;
                break;
        }
        if2.a aVar = if2.a;
        float f2 = 56;
        if2 h2 = androidx.compose.foundation.layout.d.h(androidx.compose.ui.draw.b.b(aVar, w03.d(i3, o2, 0), false, null, kh0.a.b(), 0.0f, null, 54, null), wx0.s(f2));
        o2.e(693286680);
        ad2 a2 = vm3.a(zf.a.d(), d5.a.h(), o2, 0);
        o2.e(-1323940314);
        int a3 = td0.a(o2, 0);
        re0 D = o2.D();
        wd0.a aVar2 = wd0.n;
        Function0<wd0> a4 = aVar2.a();
        ii1<c14<wd0>, zd0, Integer, Unit> a5 = i12.a(h2);
        if (!(o2.s() instanceof tf)) {
            td0.b();
        }
        o2.q();
        if (o2.l()) {
            o2.w(a4);
        } else {
            o2.F();
        }
        zd0 a6 = qm4.a(o2);
        qm4.b(a6, a2, aVar2.c());
        qm4.b(a6, D, aVar2.e());
        Function2<wd0, Integer, Unit> b2 = aVar2.b();
        if (a6.l() || !Intrinsics.a(a6.f(), Integer.valueOf(a3))) {
            a6.G(Integer.valueOf(a3));
            a6.z(Integer.valueOf(a3), b2);
        }
        a5.invoke(c14.a(c14.b(o2)), o2, 0);
        o2.e(2058660585);
        xm3 xm3Var = xm3.a;
        if2 h3 = androidx.compose.foundation.layout.d.h(wm3.a(xm3Var, aVar, 0.25f, false, 2, null), wx0.s(f2));
        o2.e(-492369756);
        Object f3 = o2.f();
        zd0.a aVar3 = zd0.a;
        if (f3 == aVar3.a()) {
            f3 = kv1.a();
            o2.G(f3);
        }
        o2.L();
        jt.a(androidx.compose.foundation.d.c(h3, (ci2) f3, null, false, null, null, new e0(), 28, null), o2, 0);
        if2 h4 = androidx.compose.foundation.layout.d.h(wm3.a(xm3Var, aVar, 0.25f, false, 2, null), wx0.s(f2));
        o2.e(-492369756);
        Object f4 = o2.f();
        if (f4 == aVar3.a()) {
            f4 = kv1.a();
            o2.G(f4);
        }
        o2.L();
        jt.a(androidx.compose.foundation.d.c(h4, (ci2) f4, null, false, null, null, new f0(), 28, null), o2, 0);
        if2 h5 = androidx.compose.foundation.layout.d.h(wm3.a(xm3Var, aVar, 0.25f, false, 2, null), wx0.s(f2));
        o2.e(-492369756);
        Object f5 = o2.f();
        if (f5 == aVar3.a()) {
            f5 = kv1.a();
            o2.G(f5);
        }
        o2.L();
        jt.a(androidx.compose.foundation.d.c(h5, (ci2) f5, null, false, null, null, new g0(), 28, null), o2, 0);
        if2 h6 = androidx.compose.foundation.layout.d.h(wm3.a(xm3Var, aVar, 0.25f, false, 2, null), wx0.s(f2));
        o2.e(-492369756);
        Object f6 = o2.f();
        if (f6 == aVar3.a()) {
            f6 = kv1.a();
            o2.G(f6);
        }
        o2.L();
        jt.a(androidx.compose.foundation.d.c(h6, (ci2) f6, null, false, null, null, new h0(), 28, null), o2, 0);
        o2.L();
        o2.N();
        o2.L();
        o2.L();
        if (ee0.I()) {
            ee0.T();
        }
        ds3 v2 = o2.v();
        if (v2 == null) {
            return;
        }
        v2.a(new i0(hy2Var, i2));
    }

    public final void f1(@NotNull hy2 hy2Var, @NotNull LoanDetailModel loanDetailModel, zd0 zd0Var, int i2) {
        Intrinsics.checkNotNullParameter(hy2Var, "orderStatus");
        Intrinsics.checkNotNullParameter(loanDetailModel, "loanDetailModel");
        zd0 o2 = zd0Var.o(1905755591);
        if (ee0.I()) {
            ee0.U(1905755591, i2, -1, "com.aa.home.view.CatLoanDetailActivity.TopView (CatLoanDetailActivity.kt:400)");
        }
        float f2 = 16;
        ha4.a(null, lm3.e(0.0f, 0.0f, wx0.s(f2), wx0.s(f2), 3, null), b80.b.f(), 0L, 0.0f, wx0.s(l.e.DEFAULT_DRAG_ANIMATION_DURATION), null, kd0.b(o2, -1369880542, true, new m0(loanDetailModel, hy2Var, this, i2)), o2, 12779904, 89);
        if (ee0.I()) {
            ee0.T();
        }
        ds3 v2 = o2.v();
        if (v2 == null) {
            return;
        }
        v2.a(new n0(hy2Var, loanDetailModel, i2));
    }

    @Override
    public void onDestroy() {
        CatLoanDetailViewModel catLoanDetailViewModel = this.u1;
        if (catLoanDetailViewModel == null) {
            Intrinsics.r("viewModel");
            catLoanDetailViewModel = null;
        }
        catLoanDetailViewModel.cancelCountDown();
        super.onDestroy();
    }

    @Override
    public void onPause() {
        D1();
        super.onPause();
    }

    @Override
    public void onResume() {
        super.onResume();
        C1(this.x1);
    }

    public final void u1(List<InstallmentL> list, boolean z2, boolean z3) {
        InstallmentL installmentL;
        BigDecimal bigDecimal;
        Integer asynaptic;
        BigDecimal bigDecimal2;
        CatLoanDetailViewModel catLoanDetailViewModel = null;
        if (list != null && list.size() == 2) {
            CatLoanDetailViewModel catLoanDetailViewModel2 = this.u1;
            if (catLoanDetailViewModel2 == null) {
                Intrinsics.r("viewModel");
                catLoanDetailViewModel2 = null;
            }
            Long loanId = catLoanDetailViewModel2.getLoanId();
            if (z2) {
                CatLoanDetailViewModel catLoanDetailViewModel3 = this.u1;
                if (catLoanDetailViewModel3 == null) {
                    Intrinsics.r("viewModel");
                } else {
                    catLoanDetailViewModel = catLoanDetailViewModel3;
                }
                bigDecimal2 = v1(catLoanDetailViewModel.getLoanDetailModel());
            } else {
                bigDecimal2 = new BigDecimal(0);
            }
            oo1.a(this, list, loanId, z3, z2, bigDecimal2);
            return;
        }
        if (list != null) {
            ArrayList arrayList = new ArrayList();
            for (Object obj : list) {
                InstallmentL installmentL2 = (InstallmentL) obj;
                Integer asynaptic2 = installmentL2.getAsynaptic();
                if ((asynaptic2 != null && asynaptic2.intValue() == 1) || ((asynaptic = installmentL2.getAsynaptic()) != null && asynaptic.intValue() == 3)) {
                    arrayList.add(obj);
                }
            }
            installmentL = (InstallmentL) xa0.e(arrayList);
        } else {
            installmentL = null;
        }
        CatLoanDetailViewModel catLoanDetailViewModel4 = this.u1;
        if (catLoanDetailViewModel4 == null) {
            Intrinsics.r("viewModel");
            catLoanDetailViewModel4 = null;
        }
        Long loanId2 = catLoanDetailViewModel4.getLoanId();
        if (z2) {
            CatLoanDetailViewModel catLoanDetailViewModel5 = this.u1;
            if (catLoanDetailViewModel5 == null) {
                Intrinsics.r("viewModel");
            } else {
                catLoanDetailViewModel = catLoanDetailViewModel5;
            }
            bigDecimal = v1(catLoanDetailViewModel.getLoanDetailModel());
        } else {
            bigDecimal = new BigDecimal(0);
        }
        t1(this, installmentL, loanId2, z3, z2, bigDecimal);
    }

    public final BigDecimal v1(LoanDetailModel loanDetailModel) {
        BigDecimal subtract;
        InstallmentL installmentL;
        BigDecimal subtract2;
        new BigDecimal(0);
        List<InstallmentL> opinionate = loanDetailModel.getOpinionate();
        if (opinionate != null && opinionate.size() == 2) {
            BigDecimal strychnine = loanDetailModel.getStrychnine();
            if (strychnine != null && (subtract2 = strychnine.subtract(loanDetailModel.getFarces())) != null) {
                InstallmentL installmentL2 = (InstallmentL) xa0.e(loanDetailModel.getOpinionate());
                r2 = subtract2.add(installmentL2 != null ? installmentL2.getSquatterdom() : null);
            }
            return r2 == null ? new BigDecimal(0) : r2;
        }
        BigDecimal strychnine2 = loanDetailModel.getStrychnine();
        if (strychnine2 != null && (subtract = strychnine2.subtract(loanDetailModel.getFarces())) != null) {
            List<InstallmentL> opinionate2 = loanDetailModel.getOpinionate();
            if (opinionate2 != null && (installmentL = (InstallmentL) xa0.e(opinionate2)) != null) {
                r2 = installmentL.getSquatterdom();
            }
            r2 = subtract.add(r2);
        }
        return r2 == null ? new BigDecimal(0) : r2;
    }

    public final void w1() {
        CatLoanDetailViewModel catLoanDetailViewModel = this.u1;
        if (catLoanDetailViewModel == null) {
            Intrinsics.r("viewModel");
            catLoanDetailViewModel = null;
        }
        catLoanDetailViewModel.loanDetail(new p0());
    }

    public final void x1() {
        K0();
        w1();
        J0(new q0());
    }

    @Metadata
    public static final class t0 implements pp1 {
        public final c40 a;
        public final Activity b;
        public final InstallmentL c;
        public final Long d;
        public final boolean e;
        public final boolean f;
        public final BigDecimal g;

        public t0(c40 c40Var, Activity activity, InstallmentL installmentL, Long l, boolean z, boolean z2, BigDecimal bigDecimal) {
            this.a = c40Var;
            this.b = activity;
            this.c = installmentL;
            this.d = l;
            this.e = z;
            this.f = z2;
            this.g = bigDecimal;
        }

        @Override
        public void c() {
            this.a.d();
            oo1.e(this.b, this.c, this.d, this.e, this.f, this.g);
        }

        @Override
        public void a() {
        }

        @Override
        public void b() {
        }
    }

    @Metadata
    public static final class r0 extends jp<tp<Object>> {
        @Override
        public void a(@NotNull tp<Object> tpVar) {
            Intrinsics.checkNotNullParameter(tpVar, "t");
        }

        @Override
        public void c(@NotNull tp<Object> tpVar) {
            Intrinsics.checkNotNullParameter(tpVar, "resp");
        }

        @Override
        public void b(Throwable th) {
        }
    }

    @Metadata
    public static final class s0 extends jp<tp<Object>> {
        @Override
        public void a(@NotNull tp<Object> tpVar) {
            Intrinsics.checkNotNullParameter(tpVar, "t");
        }

        @Override
        public void c(@NotNull tp<Object> tpVar) {
            Intrinsics.checkNotNullParameter(tpVar, "resp");
        }

        @Override
        public void b(Throwable th) {
        }
    }
}