package com.sistemasolton.itranvias.home.presentation.favorites;

import com.sistemasolton.itranvias.home.data.local.entity.StopFavoriteEntity;
import com.sistemasolton.itranvias.home.data.remote.dto.infodto.InfoDto;
import java.util.List;
import kotlin.Metadata;
import kotlin.collections.CollectionsKt;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;

/* JADX INFO: compiled from: FavoritesState.kt */
/* JADX INFO: loaded from: classes2.dex */
@Metadata(d1 = {"\u00002\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\u0015\n\u0002\u0010\b\n\u0002\b\u0002\b\u0087\b\u0018\u00002\u00020\u0001BS\u0012\b\b\u0002\u0010\u0002\u001a\u00020\u0003\u0012\b\b\u0002\u0010\u0004\u001a\u00020\u0003\u0012\n\b\u0002\u0010\u0005\u001a\u0004\u0018\u00010\u0006\u0012\n\b\u0002\u0010\u0007\u001a\u0004\u0018\u00010\b\u0012\u000e\b\u0002\u0010\t\u001a\b\u0012\u0004\u0012\u00020\u000b0\n\u0012\u000e\b\u0002\u0010\f\u001a\b\u0012\u0004\u0012\u00020\u00060\n¢\u0006\u0004\b\r\u0010\u000eJ\t\u0010\u0017\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0018\u001a\u00020\u0003HÆ\u0003J\u000b\u0010\u0019\u001a\u0004\u0018\u00010\u0006HÆ\u0003J\u000b\u0010\u001a\u001a\u0004\u0018\u00010\bHÆ\u0003J\u000f\u0010\u001b\u001a\b\u0012\u0004\u0012\u00020\u000b0\nHÆ\u0003J\u000f\u0010\u001c\u001a\b\u0012\u0004\u0012\u00020\u00060\nHÆ\u0003JU\u0010\u001d\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00032\n\b\u0002\u0010\u0005\u001a\u0004\u0018\u00010\u00062\n\b\u0002\u0010\u0007\u001a\u0004\u0018\u00010\b2\u000e\b\u0002\u0010\t\u001a\b\u0012\u0004\u0012\u00020\u000b0\n2\u000e\b\u0002\u0010\f\u001a\b\u0012\u0004\u0012\u00020\u00060\nHÆ\u0001J\u0013\u0010\u001e\u001a\u00020\u00032\b\u0010\u001f\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010 \u001a\u00020!HÖ\u0001J\t\u0010\"\u001a\u00020\u0006HÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0002\u0010\u000fR\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0004\u0010\u000fR\u0013\u0010\u0005\u001a\u0004\u0018\u00010\u0006¢\u0006\b\n\u0000\u001a\u0004\b\u0010\u0010\u0011R\u0013\u0010\u0007\u001a\u0004\u0018\u00010\b¢\u0006\b\n\u0000\u001a\u0004\b\u0012\u0010\u0013R\u0017\u0010\t\u001a\b\u0012\u0004\u0012\u00020\u000b0\n¢\u0006\b\n\u0000\u001a\u0004\b\u0014\u0010\u0015R\u0017\u0010\f\u001a\b\u0012\u0004\u0012\u00020\u00060\n¢\u0006\b\n\u0000\u001a\u0004\b\u0016\u0010\u0015¨\u0006#"}, d2 = {"Lcom/sistemasolton/itranvias/home/presentation/favorites/FavoritesState;", "", "isLoading", "", "isError", "errorMessage", "", "infoDto", "Lcom/sistemasolton/itranvias/home/data/remote/dto/infodto/InfoDto;", "stopsFavorites", "", "Lcom/sistemasolton/itranvias/home/data/local/entity/StopFavoriteEntity;", "linesFavorites", "<init>", "(ZZLjava/lang/String;Lcom/sistemasolton/itranvias/home/data/remote/dto/infodto/InfoDto;Ljava/util/List;Ljava/util/List;)V", "()Z", "getErrorMessage", "()Ljava/lang/String;", "getInfoDto", "()Lcom/sistemasolton/itranvias/home/data/remote/dto/infodto/InfoDto;", "getStopsFavorites", "()Ljava/util/List;", "getLinesFavorites", "component1", "component2", "component3", "component4", "component5", "component6", "copy", "equals", "other", "hashCode", "", "toString", "composeApp_release"}, k = 1, mv = {2, 1, 0}, xi = 48)
public final /* data */ class FavoritesState {
    public static final int $stable = 8;
    private final String errorMessage;
    private final InfoDto infoDto;
    private final boolean isError;
    private final boolean isLoading;
    private final List<String> linesFavorites;
    private final List<StopFavoriteEntity> stopsFavorites;

    public FavoritesState() {
        this(false, false, null, null, null, null, 63, null);
    }

    /* JADX WARN: Multi-variable type inference failed */
    public static /* synthetic */ FavoritesState copy$default(FavoritesState favoritesState, boolean z, boolean z2, String str, InfoDto infoDto, List list, List list2, int i, Object obj) {
        if ((i & 1) != 0) {
            z = favoritesState.isLoading;
        }
        if ((i & 2) != 0) {
            z2 = favoritesState.isError;
        }
        boolean z3 = z2;
        if ((i & 4) != 0) {
            str = favoritesState.errorMessage;
        }
        String str2 = str;
        if ((i & 8) != 0) {
            infoDto = favoritesState.infoDto;
        }
        InfoDto infoDto2 = infoDto;
        if ((i & 16) != 0) {
            list = favoritesState.stopsFavorites;
        }
        List list3 = list;
        if ((i & 32) != 0) {
            list2 = favoritesState.linesFavorites;
        }
        return favoritesState.copy(z, z3, str2, infoDto2, list3, list2);
    }

    /* JADX INFO: renamed from: component1, reason: from getter */
    public final boolean getIsLoading() {
        return this.isLoading;
    }

    /* JADX INFO: renamed from: component2, reason: from getter */
    public final boolean getIsError() {
        return this.isError;
    }

    /* JADX INFO: renamed from: component3, reason: from getter */
    public final String getErrorMessage() {
        return this.errorMessage;
    }

    /* JADX INFO: renamed from: component4, reason: from getter */
    public final InfoDto getInfoDto() {
        return this.infoDto;
    }

    public final List<StopFavoriteEntity> component5() {
        return this.stopsFavorites;
    }

    public final List<String> component6() {
        return this.linesFavorites;
    }

    public final FavoritesState copy(boolean isLoading, boolean isError, String errorMessage, InfoDto infoDto, List<StopFavoriteEntity> stopsFavorites, List<String> linesFavorites) {
        Intrinsics.checkNotNullParameter(stopsFavorites, "stopsFavorites");
        Intrinsics.checkNotNullParameter(linesFavorites, "linesFavorites");
        return new FavoritesState(isLoading, isError, errorMessage, infoDto, stopsFavorites, linesFavorites);
    }

    public boolean equals(Object other) {
        if (this == other) {
            return true;
        }
        if (!(other instanceof FavoritesState)) {
            return false;
        }
        FavoritesState favoritesState = (FavoritesState) other;
        return this.isLoading == favoritesState.isLoading && this.isError == favoritesState.isError && Intrinsics.areEqual(this.errorMessage, favoritesState.errorMessage) && Intrinsics.areEqual(this.infoDto, favoritesState.infoDto) && Intrinsics.areEqual(this.stopsFavorites, favoritesState.stopsFavorites) && Intrinsics.areEqual(this.linesFavorites, favoritesState.linesFavorites);
    }

    public int hashCode() {
        int iHashCode = ((Boolean.hashCode(this.isLoading) * 31) + Boolean.hashCode(this.isError)) * 31;
        String str = this.errorMessage;
        int iHashCode2 = (iHashCode + (str == null ? 0 : str.hashCode())) * 31;
        InfoDto infoDto = this.infoDto;
        return ((((iHashCode2 + (infoDto != null ? infoDto.hashCode() : 0)) * 31) + this.stopsFavorites.hashCode()) * 31) + this.linesFavorites.hashCode();
    }

    public String toString() {
        return "FavoritesState(isLoading=" + this.isLoading + ", isError=" + this.isError + ", errorMessage=" + this.errorMessage + ", infoDto=" + this.infoDto + ", stopsFavorites=" + this.stopsFavorites + ", linesFavorites=" + this.linesFavorites + ")";
    }

    public FavoritesState(boolean z, boolean z2, String str, InfoDto infoDto, List<StopFavoriteEntity> stopsFavorites, List<String> linesFavorites) {
        Intrinsics.checkNotNullParameter(stopsFavorites, "stopsFavorites");
        Intrinsics.checkNotNullParameter(linesFavorites, "linesFavorites");
        this.isLoading = z;
        this.isError = z2;
        this.errorMessage = str;
        this.infoDto = infoDto;
        this.stopsFavorites = stopsFavorites;
        this.linesFavorites = linesFavorites;
    }

    public final boolean isLoading() {
        return this.isLoading;
    }

    public final boolean isError() {
        return this.isError;
    }

    public final String getErrorMessage() {
        return this.errorMessage;
    }

    public final InfoDto getInfoDto() {
        return this.infoDto;
    }

    public /* synthetic */ FavoritesState(boolean z, boolean z2, String str, InfoDto infoDto, List list, List list2, int i, DefaultConstructorMarker defaultConstructorMarker) {
        this((i & 1) != 0 ? false : z, (i & 2) == 0 ? z2 : false, (i & 4) != 0 ? null : str, (i & 8) != 0 ? null : infoDto, (i & 16) != 0 ? CollectionsKt.emptyList() : list, (i & 32) != 0 ? CollectionsKt.emptyList() : list2);
    }

    public final List<StopFavoriteEntity> getStopsFavorites() {
        return this.stopsFavorites;
    }

    public final List<String> getLinesFavorites() {
        return this.linesFavorites;
    }
}