导航菜单

页面标题

页面副标题

OVO v3.139.0 - ParkingSummaryConfirmationActivity.java 源代码

正在查看: OVO v3.139.0 应用的 ParkingSummaryConfirmationActivity.java JAVA 源代码文件

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


package ovo.id.wallet.receipt.ui.presentation;

import android.content.Context;
import android.graphics.ColorFilter;
import android.graphics.PorterDuffColorFilter;
import android.os.Build;
import androidx.compose.foundation.layout.g;
import androidx.compose.foundation.layout.h;
import androidx.compose.ui.Modifier;
import androidx.compose.ui.platform.AndroidCompositionLocals_androidKt;
import java.util.List;
import kotlin.Metadata;
import o.i.Alignment;
import o.i.Arrangement;
import o.i.Composer;
import o.i.Function110;
import o.i.Function23;
import o.i.a02;
import o.i.akb;
import o.i.ay1;
import o.i.b0;
import o.i.b22;
import o.i.b52;
import o.i.b6d;
import o.i.bx1;
import o.i.bxa;
import o.i.c22;
import o.i.c5f;
import o.i.cc2;
import o.i.cf8;
import o.i.d2f;
import o.i.d6d;
import o.i.dl0;
import o.i.dx1;
import o.i.efc;
import o.i.exa;
import o.i.f10;
import o.i.gfc;
import o.i.hc;
import o.i.hw9;
import o.i.jac;
import o.i.jgc;
import o.i.jo3;
import o.i.jt0;
import o.i.kt0;
import o.i.lj0;
import o.i.n8b;
import o.i.nic;
import o.i.np0;
import o.i.ojb;
import o.i.p1g;
import o.i.p4f;
import o.i.pgc;
import o.i.pvm;
import o.i.r2c;
import o.i.rr2;
import o.i.rrc;
import o.i.sd5;
import o.i.sh;
import o.i.sp0;
import o.i.t2a;
import o.i.tf8;
import o.i.u5g;
import o.i.u9e;
import o.i.ua8;
import o.i.uc5;
import o.i.us;
import o.i.v42;
import o.i.vhc;
import o.i.vk7;
import o.i.w2a;
import o.i.wgc;
import o.i.whc;
import o.i.x9f;
import o.i.xh9;
import o.i.xz6;
import o.i.yd5;
import o.i.yfc;
import o.i.zk;
import o.i.zu5;
import o.i.zz1;
import ovo.id.base.BaseActivity;
import ovo.id.ravier.widgets.RavierStepperStatusState;
import ovo.id.ravier.widgets.RavierStepperType;

@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\b\u0000\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\u0002\u0010\u0003¨\u0006\u0004"}, d2 = {"Lovo/id/wallet/receipt/ui/presentation/ParkingSummaryConfirmationActivity;", "Lovo/id/base/BaseActivity;", "<init>", "()V", "receipt-ui_release"}, k = 1, mv = {1, 8, 0})
public final class ParkingSummaryConfirmationActivity extends BaseActivity {
    public static final int J = 0;
    public t2a G;
    public w2a H;
    public akb I;

    public static final class a extends ua8 implements Function23<Composer, Integer, p1g> {
        public final int c;

        public a(int i) {
            super(2);
            this.c = i;
        }

        public final Object invoke(Object obj, Object obj2) {
            ((Number) obj2).intValue();
            int e = jo3.e(this.c | 1);
            ParkingSummaryConfirmationActivity.this.M0((Composer) obj, e);
            return p1g.a;
        }
    }

    public static final class b extends ua8 implements zu5<p1g> {
        public final Context c;

        public b(Context context) {
            super(0);
            this.c = context;
        }

        public final Object invoke() {
            ?? r0 = ParkingSummaryConfirmationActivity.this;
            if (r0.isTaskRoot()) {
                if (r0.isTaskRoot()) {
                    t2a t2aVar = r0.G;
                    if (t2aVar == null) {
                        vk7.m("receiptListener");
                        throw null;
                    }
                    t2aVar.f(this.c);
                }
                r0.B0();
            } else {
                r0.finish();
            }
            return p1g.a;
        }
    }

    public static final class c extends ua8 implements zu5<p1g> {
        public final Context c;

        public c(Context context) {
            super(0);
            this.c = context;
        }

        public final Object invoke() {
            int i = ParkingSummaryConfirmationActivity.J;
            ?? r0 = ParkingSummaryConfirmationActivity.this;
            if (r0.isTaskRoot()) {
                t2a t2aVar = r0.G;
                if (t2aVar == null) {
                    vk7.m("receiptListener");
                    throw null;
                }
                t2aVar.f(this.c);
            }
            r0.B0();
            return p1g.a;
        }
    }

    public static final class d extends ua8 implements Function23<Composer, Integer, p1g> {
        public final int c;

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

        public final Object invoke(Object obj, Object obj2) {
            ((Number) obj2).intValue();
            int e = jo3.e(this.c | 1);
            ParkingSummaryConfirmationActivity.this.N0((Composer) obj, e);
            return p1g.a;
        }
    }

    public static final class e extends ua8 implements Function23<Composer, Integer, p1g> {
        public final int c;

        public e(int i) {
            super(2);
            this.c = i;
        }

        public final Object invoke(Object obj, Object obj2) {
            ((Number) obj2).intValue();
            int e = jo3.e(this.c | 1);
            ParkingSummaryConfirmationActivity.this.O0((Composer) obj, e);
            return p1g.a;
        }
    }

    public static final class f extends ua8 implements Function23<Composer, Integer, p1g> {
        public f() {
            super(2);
        }

        public final Object invoke(Object obj, Object obj2) {
            Composer composer = (Composer) obj;
            if ((((Number) obj2).intValue() & 11) == 2 && composer.j()) {
                composer.F();
            } else {
                nic.a(false, c22.b(composer, -2132286368, new ovo.id.wallet.receipt.ui.presentation.a(ParkingSummaryConfirmationActivity.this)), composer, 48, 1);
            }
            return p1g.a;
        }
    }

    public final void G0() {
        rr2 rr2Var = d2f.c;
        if (rr2Var == null) {
            vk7.m("paymentReceiptComponent");
            throw null;
        }
        this.G = rr2Var.b;
        this.H = rr2Var.c;
        akb H = rr2Var.a.H();
        pvm.p(H);
        this.I = H;
    }

    public final void M0(Composer composer, int i) {
        b52 h = composer.h(188343416);
        Modifier a2 = xh9.a(g.h(Modifier.a.b, pgc.h, 0.0f, 2), "common_layout_parking_confirmation");
        Integer valueOf = Integer.valueOf(r2c.rima_inline_parkingticket);
        String n = b0.n(jac.ovo_secure_parking_confirmation_title, h);
        int i2 = jac.ovo_secure_parking_confirmation_desc;
        Object[] objArr = new Object[1];
        akb akbVar = this.I;
        if (akbVar == null) {
            vk7.m("preferenceManager");
            throw null;
        }
        objArr[0] = ojb.v(akbVar);
        jgc.a(a2, new ay1.a((Object) valueOf, n, b0.o(i2, objArr, h), (String) null, (String) null, false, (String) null, false, 216), null, null, null, h, 64, 28);
        rrc b0 = h.b0();
        if (b0 == null) {
            return;
        }
        b0.d = new a(i);
    }

    public final void N0(Composer composer, int i) {
        ColorFilter porterDuffColorFilter;
        Function23 function23;
        b52 h = composer.h(-1661613353);
        Modifier.a aVar = Modifier.a.b;
        Modifier a2 = xh9.a(h.f(androidx.compose.foundation.a.c(aVar, yfc.G)), "box_parking_confirmation");
        h.u(733328855);
        lj0 lj0Var = Alignment.a.a;
        kt0 f2 = jt0.f(lj0Var, false, h, 0);
        h.u(-1323940314);
        int i2 = h.P;
        n8b T = h.T();
        v42.c0.getClass();
        tf8.a aVar2 = v42.a.b;
        b22 c2 = cf8.c(a2);
        f10 f10Var = h.a;
        if (!(f10Var instanceof f10)) {
            hc.o();
            throw null;
        }
        h.A();
        if (h.O) {
            h.q(aVar2);
        } else {
            h.n();
        }
        Function23 function232 = v42.a.f;
        u5g.a(h, f2, function232);
        v42.a.f fVar = v42.a.e;
        u5g.a(h, T, fVar);
        v42.a.a aVar3 = v42.a.i;
        if (h.O || !vk7.a(h.v(), Integer.valueOf(i2))) {
            us.b(i2, h, i2, aVar3);
        }
        c2.invoke(new u9e(h), h, 0);
        h.u(2058660585);
        androidx.compose.foundation.layout.c cVar = androidx.compose.foundation.layout.c.a;
        Context context = (Context) h.C(AndroidCompositionLocals_androidKt.b);
        Modifier a3 = xh9.a(cVar.e(h.h(aVar), lj0Var), "column_parking_confirmation");
        h.u(-483455358);
        Arrangement.k kVar = Arrangement.c;
        lj0.a aVar4 = Alignment.a.m;
        dx1 a4 = bx1.a(kVar, aVar4, h, 0);
        h.u(-1323940314);
        int i3 = h.P;
        n8b T2 = h.T();
        b22 c3 = cf8.c(a3);
        if (!(f10Var instanceof f10)) {
            hc.o();
            throw null;
        }
        h.A();
        if (h.O) {
            h.q(aVar2);
        } else {
            h.n();
        }
        u5g.a(h, a4, function232);
        u5g.a(h, T2, fVar);
        if (h.O || !vk7.a(h.v(), Integer.valueOf(i3))) {
            us.b(i3, h, i3, aVar3);
        }
        c3.invoke(new u9e(h), h, 0);
        h.u(2058660585);
        Modifier h2 = h.h(aVar);
        float f3 = pgc.h;
        Modifier m = b0.m(g.h(h2, f3, 0.0f, 2));
        float f4 = pgc.e;
        Modifier a5 = xh9.a(g.j(m, 0.0f, f4, 0.0f, 0.0f, 13), "row_parking_confirmation");
        h.u(693286680);
        d6d a6 = b6d.a(Arrangement.a, Alignment.a.j, h, 0);
        h.u(-1323940314);
        int i4 = h.P;
        n8b T3 = h.T();
        b22 c4 = cf8.c(a5);
        if (!(f10Var instanceof f10)) {
            hc.o();
            throw null;
        }
        h.A();
        if (h.O) {
            h.q(aVar2);
        } else {
            h.n();
        }
        u5g.a(h, a6, function232);
        u5g.a(h, T3, fVar);
        if (h.O || !vk7.a(h.v(), Integer.valueOf(i4))) {
            us.b(i4, h, i4, aVar3);
        }
        c4.invoke(new u9e(h), h, 0);
        h.u(2058660585);
        bxa a7 = exa.a(r2c.rico_system_close, 0, h);
        cc2.a.b bVar = cc2.a.g;
        long j = yfc.x;
        if (Build.VERSION.SDK_INT >= 29) {
            porterDuffColorFilter = sp0.a.a(j, 5);
            function23 = function232;
        } else {
            function23 = function232;
            porterDuffColorFilter = new PorterDuffColorFilter(dl0.k(j), zk.b(5));
        }
        xz6.a(a7, "Navigate Back", androidx.compose.foundation.b.c(xh9.a(h.s(aVar, pgc.j), "image_close"), false, (String) null, new b(context), 7), (Alignment) null, bVar, 0.0f, new np0(j, 5, porterDuffColorFilter), h, 24632, 40);
        a02.c(h, false, true, false, false);
        M0(h, 8);
        Modifier a8 = xh9.a(h.i(h.h(androidx.compose.foundation.a.c(aVar, yfc.F)), f4), "column_divider");
        h.u(-483455358);
        dx1 a9 = bx1.a(kVar, aVar4, h, 0);
        h.u(-1323940314);
        int i5 = h.P;
        n8b T4 = h.T();
        b22 c5 = cf8.c(a8);
        if (!(f10Var instanceof f10)) {
            hc.o();
            throw null;
        }
        h.A();
        if (h.O) {
            h.q(aVar2);
        } else {
            h.n();
        }
        u5g.a(h, a9, function23);
        u5g.a(h, T4, fVar);
        if (h.O || !vk7.a(h.v(), Integer.valueOf(i5))) {
            us.b(i5, h, i5, aVar3);
        }
        c5.invoke(new u9e(h), h, 0);
        h.u(2058660585);
        a02.c(h, false, true, false, false);
        O0(h, 8);
        h.X(false);
        h.X(true);
        h.X(false);
        h.X(false);
        efc.a(b0.n(jac.ovo_close, h), gfc.b.a, new c(context), xh9.a(cVar.e(h.h(g.f(aVar, f3)), Alignment.a.g), "button_close"), false, null, h, 0, 48);
        h.X(false);
        h.X(true);
        h.X(false);
        h.X(false);
        rrc b0 = h.b0();
        if (b0 == null) {
            return;
        }
        b0.d = new d(i);
    }

    public final void O0(Composer composer, int i) {
        b52 h = composer.h(1963185399);
        vhc[] vhcVarArr = new vhc[4];
        String n = b0.n(jac.ovo_secure_parking_confirmation_1, h);
        RavierStepperStatusState ravierStepperStatusState = RavierStepperStatusState.COMPLETE;
        vhcVarArr[0] = new vhc(null, n, ravierStepperStatusState, 1);
        vhcVarArr[1] = new vhc(null, b0.n(jac.ovo_secure_parking_confirmation_2, h), ravierStepperStatusState, 1);
        vhcVarArr[2] = new vhc(b0.n(jac.ovo_secure_parking_confirmation_3, h), null, RavierStepperStatusState.PROGRESS, 2);
        int i2 = jac.ovo_secure_parking_confirmation_4;
        Object[] objArr = new Object[1];
        akb akbVar = this.I;
        if (akbVar == null) {
            vk7.m("preferenceManager");
            throw null;
        }
        objArr[0] = ojb.v(akbVar);
        vhcVarArr[3] = new vhc(b0.o(i2, objArr, h), null, RavierStepperStatusState.IDLE, 2);
        List z = sh.z(vhcVarArr);
        Modifier.a aVar = Modifier.a.b;
        Modifier h2 = h.h(aVar);
        float f2 = pgc.h;
        Modifier a2 = xh9.a(g.h(h2, f2, 0.0f, 2), "column_parking_confirmation_step");
        h.u(-483455358);
        dx1 a3 = bx1.a(Arrangement.c, Alignment.a.m, h, 0);
        h.u(-1323940314);
        int i3 = h.P;
        n8b T = h.T();
        v42.c0.getClass();
        tf8.a aVar2 = v42.a.b;
        b22 c2 = cf8.c(a2);
        if (!(h.a instanceof f10)) {
            hc.o();
            throw null;
        }
        h.A();
        if (h.O) {
            h.q(aVar2);
        } else {
            h.n();
        }
        u5g.a(h, a3, v42.a.f);
        u5g.a(h, T, v42.a.e);
        v42.a.a aVar3 = v42.a.i;
        if (h.O || !vk7.a(h.v(), Integer.valueOf(i3))) {
            us.b(i3, h, i3, aVar3);
        }
        zz1.b(0, c2, new u9e(h), h, 2058660585);
        x9f.b(b0.n(jac.ovo_secure_parking_activity_title, h), xh9.a(g.h(aVar, 0.0f, f2, 1), "text_activate"), 0L, 0L, (sd5) null, (yd5) null, (uc5) null, 0L, (c5f) null, (p4f) null, 0L, 0, false, 0, 0, (Function110) null, hw9.c(wgc.i.a, yfc.x, h, 2), h, 0, 0, 65532);
        whc.c(z, RavierStepperType.STATUS, null, h, 48, 4);
        h.X(false);
        h.X(true);
        h.X(false);
        h.X(false);
        rrc b0 = h.b0();
        if (b0 == null) {
            return;
        }
        b0.d = new e(i);
    }

    public final void onCreate(android.os.Bundle r6) {
        throw new UnsupportedOperationException("Method not decompiled: ovo.id.wallet.receipt.ui.presentation.ParkingSummaryConfirmationActivity.onCreate(android.os.Bundle):void");
    }
}