package c8;

import ca.canadapost.core.data.flex.model.MapLocation;
import java.util.Map;
import kotlin.jvm.internal.t;

/* loaded from: classes.dex */
public final class d {

    /* renamed from: a, reason: collision with root package name */
    private final e f7489a;

    /* renamed from: b, reason: collision with root package name */
    private final Map f7490b;

    /* renamed from: c, reason: collision with root package name */
    private final MapLocation f7491c;

    /* renamed from: d, reason: collision with root package name */
    private final int f7492d;

    public d(e searchType, Map markersList, MapLocation location, int i10) {
        t.g(searchType, "searchType");
        t.g(markersList, "markersList");
        t.g(location, "location");
        this.f7489a = searchType;
        this.f7490b = markersList;
        this.f7491c = location;
        this.f7492d = i10;
    }

    public static /* synthetic */ d b(d dVar, e eVar, Map map, MapLocation mapLocation, int i10, int i11, Object obj) {
        if ((i11 & 1) != 0) {
            eVar = dVar.f7489a;
        }
        if ((i11 & 2) != 0) {
            map = dVar.f7490b;
        }
        if ((i11 & 4) != 0) {
            mapLocation = dVar.f7491c;
        }
        if ((i11 & 8) != 0) {
            i10 = dVar.f7492d;
        }
        return dVar.a(eVar, map, mapLocation, i10);
    }

    public final d a(e searchType, Map markersList, MapLocation location, int i10) {
        t.g(searchType, "searchType");
        t.g(markersList, "markersList");
        t.g(location, "location");
        return new d(searchType, markersList, location, i10);
    }

    public final MapLocation c() {
        return this.f7491c;
    }

    public final Map d() {
        return this.f7490b;
    }

    public final e e() {
        return this.f7489a;
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof d)) {
            return false;
        }
        d dVar = (d) obj;
        return this.f7489a == dVar.f7489a && t.b(this.f7490b, dVar.f7490b) && t.b(this.f7491c, dVar.f7491c) && this.f7492d == dVar.f7492d;
    }

    public final int f() {
        return this.f7492d;
    }

    public int hashCode() {
        return (((((this.f7489a.hashCode() * 31) + this.f7490b.hashCode()) * 31) + this.f7491c.hashCode()) * 31) + Integer.hashCode(this.f7492d);
    }

    public String toString() {
        return "MapSearchState(searchType=" + this.f7489a + ", markersList=" + this.f7490b + ", location=" + this.f7491c + ", zoom=" + this.f7492d + ")";
    }
}
