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

import com.sistemasolton.itranvias.home.data.remote.Prediction;
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: RouteCalculationState.kt */
/* JADX INFO: loaded from: classes2.dex */
@Metadata(d1 = {"\u0000.\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0010\u000b\n\u0002\b\u0019\n\u0002\u0010\b\n\u0002\b\u0002\b\u0087\b\u0018\u00002\u00020\u0001Bi\u0012\b\b\u0002\u0010\u0002\u001a\u00020\u0003\u0012\b\b\u0002\u0010\u0004\u001a\u00020\u0003\u0012\u000e\b\u0002\u0010\u0005\u001a\b\u0012\u0004\u0012\u00020\u00070\u0006\u0012\u000e\b\u0002\u0010\b\u001a\b\u0012\u0004\u0012\u00020\u00070\u0006\u0012\n\b\u0002\u0010\t\u001a\u0004\u0018\u00010\u0003\u0012\n\b\u0002\u0010\n\u001a\u0004\u0018\u00010\u0003\u0012\b\b\u0002\u0010\u000b\u001a\u00020\f\u0012\n\b\u0002\u0010\r\u001a\u0004\u0018\u00010\u0003¢\u0006\u0004\b\u000e\u0010\u000fJ\t\u0010\u001a\u001a\u00020\u0003HÆ\u0003J\t\u0010\u001b\u001a\u00020\u0003HÆ\u0003J\u000f\u0010\u001c\u001a\b\u0012\u0004\u0012\u00020\u00070\u0006HÆ\u0003J\u000f\u0010\u001d\u001a\b\u0012\u0004\u0012\u00020\u00070\u0006HÆ\u0003J\u000b\u0010\u001e\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u000b\u0010\u001f\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\t\u0010 \u001a\u00020\fHÆ\u0003J\u000b\u0010!\u001a\u0004\u0018\u00010\u0003HÆ\u0003Jk\u0010\"\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00032\u000e\b\u0002\u0010\u0005\u001a\b\u0012\u0004\u0012\u00020\u00070\u00062\u000e\b\u0002\u0010\b\u001a\b\u0012\u0004\u0012\u00020\u00070\u00062\n\b\u0002\u0010\t\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\n\u001a\u0004\u0018\u00010\u00032\b\b\u0002\u0010\u000b\u001a\u00020\f2\n\b\u0002\u0010\r\u001a\u0004\u0018\u00010\u0003HÆ\u0001J\u0013\u0010#\u001a\u00020\f2\b\u0010$\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010%\u001a\u00020&HÖ\u0001J\t\u0010'\u001a\u00020\u0003HÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0010\u0010\u0011R\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0012\u0010\u0011R\u0017\u0010\u0005\u001a\b\u0012\u0004\u0012\u00020\u00070\u0006¢\u0006\b\n\u0000\u001a\u0004\b\u0013\u0010\u0014R\u0017\u0010\b\u001a\b\u0012\u0004\u0012\u00020\u00070\u0006¢\u0006\b\n\u0000\u001a\u0004\b\u0015\u0010\u0014R\u0013\u0010\t\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0016\u0010\u0011R\u0013\u0010\n\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0017\u0010\u0011R\u0011\u0010\u000b\u001a\u00020\f¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\u0018R\u0013\u0010\r\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0019\u0010\u0011¨\u0006("}, d2 = {"Lcom/sistemasolton/itranvias/home/presentation/routecalculation/RouteCalculationState;", "", "originQuery", "", "destinationQuery", "originPredictions", "", "Lcom/sistemasolton/itranvias/home/data/remote/Prediction;", "destinationPredictions", "selectedOrigin", "selectedDestination", "isLoading", "", "error", "<init>", "(Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/String;)V", "getOriginQuery", "()Ljava/lang/String;", "getDestinationQuery", "getOriginPredictions", "()Ljava/util/List;", "getDestinationPredictions", "getSelectedOrigin", "getSelectedDestination", "()Z", "getError", "component1", "component2", "component3", "component4", "component5", "component6", "component7", "component8", "copy", "equals", "other", "hashCode", "", "toString", "composeApp_release"}, k = 1, mv = {2, 1, 0}, xi = 48)
public final /* data */ class RouteCalculationState {
    public static final int $stable = 8;
    private final List<Prediction> destinationPredictions;
    private final String destinationQuery;
    private final String error;
    private final boolean isLoading;
    private final List<Prediction> originPredictions;
    private final String originQuery;
    private final String selectedDestination;
    private final String selectedOrigin;

    public RouteCalculationState() {
        this(null, null, null, null, null, null, false, null, 255, null);
    }

    /* JADX INFO: renamed from: component1, reason: from getter */
    public final String getOriginQuery() {
        return this.originQuery;
    }

    /* JADX INFO: renamed from: component2, reason: from getter */
    public final String getDestinationQuery() {
        return this.destinationQuery;
    }

    public final List<Prediction> component3() {
        return this.originPredictions;
    }

    public final List<Prediction> component4() {
        return this.destinationPredictions;
    }

    /* JADX INFO: renamed from: component5, reason: from getter */
    public final String getSelectedOrigin() {
        return this.selectedOrigin;
    }

    /* JADX INFO: renamed from: component6, reason: from getter */
    public final String getSelectedDestination() {
        return this.selectedDestination;
    }

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

    /* JADX INFO: renamed from: component8, reason: from getter */
    public final String getError() {
        return this.error;
    }

    public final RouteCalculationState copy(String originQuery, String destinationQuery, List<Prediction> originPredictions, List<Prediction> destinationPredictions, String selectedOrigin, String selectedDestination, boolean isLoading, String error) {
        Intrinsics.checkNotNullParameter(originQuery, "originQuery");
        Intrinsics.checkNotNullParameter(destinationQuery, "destinationQuery");
        Intrinsics.checkNotNullParameter(originPredictions, "originPredictions");
        Intrinsics.checkNotNullParameter(destinationPredictions, "destinationPredictions");
        return new RouteCalculationState(originQuery, destinationQuery, originPredictions, destinationPredictions, selectedOrigin, selectedDestination, isLoading, error);
    }

    public boolean equals(Object other) {
        if (this == other) {
            return true;
        }
        if (!(other instanceof RouteCalculationState)) {
            return false;
        }
        RouteCalculationState routeCalculationState = (RouteCalculationState) other;
        return Intrinsics.areEqual(this.originQuery, routeCalculationState.originQuery) && Intrinsics.areEqual(this.destinationQuery, routeCalculationState.destinationQuery) && Intrinsics.areEqual(this.originPredictions, routeCalculationState.originPredictions) && Intrinsics.areEqual(this.destinationPredictions, routeCalculationState.destinationPredictions) && Intrinsics.areEqual(this.selectedOrigin, routeCalculationState.selectedOrigin) && Intrinsics.areEqual(this.selectedDestination, routeCalculationState.selectedDestination) && this.isLoading == routeCalculationState.isLoading && Intrinsics.areEqual(this.error, routeCalculationState.error);
    }

    public int hashCode() {
        int iHashCode = ((((((this.originQuery.hashCode() * 31) + this.destinationQuery.hashCode()) * 31) + this.originPredictions.hashCode()) * 31) + this.destinationPredictions.hashCode()) * 31;
        String str = this.selectedOrigin;
        int iHashCode2 = (iHashCode + (str == null ? 0 : str.hashCode())) * 31;
        String str2 = this.selectedDestination;
        int iHashCode3 = (((iHashCode2 + (str2 == null ? 0 : str2.hashCode())) * 31) + Boolean.hashCode(this.isLoading)) * 31;
        String str3 = this.error;
        return iHashCode3 + (str3 != null ? str3.hashCode() : 0);
    }

    public String toString() {
        return "RouteCalculationState(originQuery=" + this.originQuery + ", destinationQuery=" + this.destinationQuery + ", originPredictions=" + this.originPredictions + ", destinationPredictions=" + this.destinationPredictions + ", selectedOrigin=" + this.selectedOrigin + ", selectedDestination=" + this.selectedDestination + ", isLoading=" + this.isLoading + ", error=" + this.error + ")";
    }

    public RouteCalculationState(String originQuery, String destinationQuery, List<Prediction> originPredictions, List<Prediction> destinationPredictions, String str, String str2, boolean z, String str3) {
        Intrinsics.checkNotNullParameter(originQuery, "originQuery");
        Intrinsics.checkNotNullParameter(destinationQuery, "destinationQuery");
        Intrinsics.checkNotNullParameter(originPredictions, "originPredictions");
        Intrinsics.checkNotNullParameter(destinationPredictions, "destinationPredictions");
        this.originQuery = originQuery;
        this.destinationQuery = destinationQuery;
        this.originPredictions = originPredictions;
        this.destinationPredictions = destinationPredictions;
        this.selectedOrigin = str;
        this.selectedDestination = str2;
        this.isLoading = z;
        this.error = str3;
    }

    public /* synthetic */ RouteCalculationState(String str, String str2, List list, List list2, String str3, String str4, boolean z, String str5, int i, DefaultConstructorMarker defaultConstructorMarker) {
        this((i & 1) != 0 ? "" : str, (i & 2) == 0 ? str2 : "", (i & 4) != 0 ? CollectionsKt.emptyList() : list, (i & 8) != 0 ? CollectionsKt.emptyList() : list2, (i & 16) != 0 ? null : str3, (i & 32) != 0 ? null : str4, (i & 64) != 0 ? false : z, (i & 128) == 0 ? str5 : null);
    }

    public final String getOriginQuery() {
        return this.originQuery;
    }

    public final String getDestinationQuery() {
        return this.destinationQuery;
    }

    public final List<Prediction> getOriginPredictions() {
        return this.originPredictions;
    }

    public final List<Prediction> getDestinationPredictions() {
        return this.destinationPredictions;
    }

    public final String getSelectedOrigin() {
        return this.selectedOrigin;
    }

    public final String getSelectedDestination() {
        return this.selectedDestination;
    }

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

    public final String getError() {
        return this.error;
    }
}