导航菜单

页面标题

页面副标题

Housing v14.7.8 - g.java 源代码

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

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


package pf;

import com.locon.home.data.dto.AppHookImages;
import com.locon.home.data.dto.CurrentEventsDto;
import com.locon.home.domain.model.CurrentEventsModel;
import com.locon.home.presentation.ui.components.sections.t2;
import java.util.List;
import kotlin.Metadata;
import org.jetbrains.annotations.NotNull;

@Metadata(d1 = {"\u0000\u0010\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0018\u0002\n\u0002\b\u0005\u0018\u00002\u00020\u0001B\u000f\u0012\u0006\u0010\u0003\u001a\u00020\u0002¢\u0006\u0004\b\u0004\u0010\u0005R\u0014\u0010\u0003\u001a\u00020\u00028\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u0003\u0010\u0006¨\u0006\u0007"}, d2 = {"Lpf/g;", "", "Lcom/locon/home/data/dto/CurrentEventsDto;", "dto", "<init>", "(Lcom/locon/home/data/dto/CurrentEventsDto;)V", "Lcom/locon/home/data/dto/CurrentEventsDto;", "data_gammaRelease"}, k = t2.HOUSE_RENT_ID, mv = {t2.OFFICE_RENT_ID, 0, 0}, xi = 48)
public final class g {

    @NotNull
    private final CurrentEventsDto dto;

    public g(@NotNull CurrentEventsDto currentEventsDto) {
        kotlin.jvm.internal.r.k(currentEventsDto, "dto");
        this.dto = currentEventsDto;
    }

    public final CurrentEventsModel a() {
        CurrentEventsDto currentEventsDto = this.dto;
        String name = currentEventsDto.getName();
        String str = "";
        if (name == null || name.length() == 0) {
            name = "";
        }
        List<String> landingUrls = currentEventsDto.getLandingUrls();
        String str2 = landingUrls != null ? (String) kotlin.collections.t.G(landingUrls) : null;
        String concat = (str2 == null || str2.length() == 0) ? "" : "https://housing.com/events/".concat(str2);
        AppHookImages appHookImages = currentEventsDto.getAppHookImages();
        String homePage = appHookImages != null ? appHookImages.getHomePage() : null;
        if (homePage != null && homePage.length() != 0) {
            str = kotlin.text.q.P(homePage, "version", "medium", false);
        }
        return new CurrentEventsModel(name, concat, str);
    }
}