导航菜单

页面标题

页面副标题

Housing v14.7.8 - m0.java 源代码

正在查看: Housing v14.7.8 应用的 m0.java JAVA 源代码文件

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


package com.locon.hp.presentation.ui.components;

import androidx.compose.runtime.u4;
import com.locon.core.data.local.datastore.FilterAttr;
import com.locon.core.data.remote.firebase.remoteconfig.filter.schema.FilterValue;
import com.locon.core.data.remote.firebase.remoteconfig.filter.schema.SectionItem;
import com.locon.core.data.remote.firebase.remoteconfig.filter.schema.SingleSelector;
import com.locon.core.data.sharedmodels.PropertyInfoModels$SimilarDetailsModel;
import com.locon.core.data.sharedmodels.ShareData;
import com.locon.home.presentation.ui.components.sections.t2;
import com.locon.localityMicrosite.domain.viewStates.ProjectListItem;
import com.locon.map.presentation.uiStates.MapScreenState;
import com.locon.pdp_presentation.ui.uievents.PdpEvents;
import com.locon.pdp_presentation.ui.viewmodels.c3;
import gi.a;
import java.util.List;

public final class m0 implements kq.a {
    public final int a;
    public final boolean b;
    public final Object c;
    public final Object d;
    public final Object e;

    public m0(Object obj, Object obj2, boolean z, Object obj3, int i) {
        this.a = i;
        this.d = obj;
        this.c = obj2;
        this.b = z;
        this.e = obj3;
    }

    public final Object invoke() {
        SingleSelector singleSelector;
        List items;
        switch (this.a) {
            case 0:
                fg.f fVar = (fg.f) this.d;
                if (fVar != null) {
                    ((kq.p) this.c).invoke(fVar, this.b ? (fg.b) this.e : null);
                }
                break;
            case t2.HOUSE_RENT_ID:
                boolean z = this.b;
                ProjectListItem projectListItem = (ProjectListItem) this.e;
                if (z) {
                    ((kq.l) this.d).invoke(projectListItem.e());
                } else {
                    ((kq.p) this.c).invoke(projectListItem.e(), projectListItem.getName());
                }
                break;
            case t2.OFFICE_RENT_ID:
                PropertyInfoModels$SimilarDetailsModel similarDetailsModel = ((MapScreenState) ((androidx.compose.runtime.x1) this.e).getValue()).getNearbyPropertiesModel().getSimilarDetailsModel();
                if (similarDetailsModel == null) {
                    PropertyInfoModels$SimilarDetailsModel.INSTANCE.getClass();
                    similarDetailsModel = PropertyInfoModels$SimilarDetailsModel.empty;
                }
                ((com.locon.map.presentation.navigation.a) this.d).R6((String) this.c, gf.g.MAP_NEARBY.getSourcePage(), similarDetailsModel, this.b);
                break;
            case 3:
                a.a.v((gi.a) this.d, sc.d0.Buy.getType(), gf.g.DETAILS_PAGE.getSourcePage(), ((li.d) ((u4) this.e).getValue()).y(), a.r(new StringBuilder("https://housing.com/in/buy/similar-properties/project/"), (String) this.c, "?paid=true"), (String) null, this.b, 48);
                break;
            case com.locon.login_domain.usecases.p.WHATSAPP_OPT_IN_IMPRESSION_THRESHOLD:
                c3 c3Var = (c3) this.d;
                c3Var.L4();
                c3Var.y5(true);
                c3Var.t1(ShareData.b(com.locon.pdp_data.mapper.common.a.w0(((com.locon.pdp_data.mapper.common.c) this.c).getDetailsModel()), null, sc.f0.FLOOR_PLAN, null, "Check out the floor plan of this beautiful property which I have found on Housing App", null, this.b && ((String) this.e).length() > 0, 61437));
                break;
            case t2.MAINTENANCE_ID:
                String type = sc.d0.Buy.getType();
                String sourcePage = gf.g.DETAILS_PAGE.getSourcePage();
                PropertyInfoModels$SimilarDetailsModel listingsModel = ((li.d) ((u4) this.e).getValue()).u().getListingsModel();
                if (listingsModel == null) {
                    PropertyInfoModels$SimilarDetailsModel.INSTANCE.getClass();
                    listingsModel = PropertyInfoModels$SimilarDetailsModel.empty;
                }
                a.a.v((gi.a) this.d, type, sourcePage, listingsModel, (String) null, (String) null, this.b, 56);
                PdpEvents.c cVar = PdpEvents.c.INSTANCE;
                c3 c3Var2 = (c3) this.c;
                c3Var2.c3(cVar);
                c3Var2.c3(new PdpEvents.b(false));
                FilterValue value = new rb.a().getNpResalePossession().getValue();
                c3Var2.c3(new PdpEvents.ResetBuilderSelectedPossession((value == null || (singleSelector = value.getSingleSelector()) == null || (items = singleSelector.getItems()) == null) ? null : (SectionItem) kotlin.collections.t.J(0, items)));
                break;
            case 6:
                if (this.b) {
                    androidx.compose.runtime.x1 x1Var = (androidx.compose.runtime.x1) this.e;
                    x1Var.setValue(Boolean.valueOf(!((Boolean) x1Var.getValue()).booleanValue()));
                    Boolean bool = (Boolean) x1Var.getValue();
                    bool.getClass();
                    ((kq.p) this.c).invoke(bool, (FilterAttr) this.d);
                }
                break;
            case 7:
                androidx.compose.runtime.x1 x1Var2 = (androidx.compose.runtime.x1) this.e;
                if (((androidx.compose.ui.text.input.n0) x1Var2.getValue()).f().length() > 0) {
                    com.locon.profile.presentation.ui.viewmodels.q0 q0Var = (com.locon.profile.presentation.ui.viewmodels.q0) this.d;
                    boolean z2 = this.b;
                    kq.a aVar = (kq.a) this.c;
                    if (z2) {
                        q0Var.R(((androidx.compose.ui.text.input.n0) x1Var2.getValue()).f(), aVar);
                    } else {
                        q0Var.O(kotlin.text.q.p0(((androidx.compose.ui.text.input.n0) x1Var2.getValue()).f()).toString(), aVar);
                    }
                }
                break;
            default:
                if (!this.b) {
                    ((kq.a) this.d).invoke();
                    androidx.compose.ui.focus.b0.g((androidx.compose.ui.focus.b0) this.c);
                    ((kq.l) this.e).invoke(Boolean.TRUE);
                }
                break;
        }
        return zp.j0.INSTANCE;
    }

    public m0(Object obj, boolean z, Object obj2, Object obj3, int i) {
        this.a = i;
        this.d = obj;
        this.b = z;
        this.c = obj2;
        this.e = obj3;
    }

    public m0(boolean z, Object obj, Object obj2, Object obj3, int i) {
        this.a = i;
        this.b = z;
        this.d = obj;
        this.c = obj2;
        this.e = obj3;
    }

    public m0(boolean z, kq.l lVar, ProjectListItem projectListItem, kq.p pVar) {
        this.a = 1;
        this.b = z;
        this.d = lVar;
        this.e = projectListItem;
        this.c = pVar;
    }

    public m0(boolean z, kq.p pVar, FilterAttr filterAttr, androidx.compose.runtime.x1 x1Var) {
        this.a = 6;
        this.b = z;
        this.c = pVar;
        this.d = filterAttr;
        this.e = x1Var;
    }
}