package R5;

/* JADX INFO: loaded from: classes.dex */
public final class Q {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final long f6145a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final String f6146b;

    public Q(long j8, String str) {
        P6.g.e(str, "previewUrl");
        this.f6145a = j8;
        this.f6146b = str;
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof Q)) {
            return false;
        }
        Q q8 = (Q) obj;
        return this.f6145a == q8.f6145a && P6.g.a(this.f6146b, q8.f6146b);
    }

    public final int hashCode() {
        long j8 = this.f6145a;
        return this.f6146b.hashCode() + (((int) (j8 ^ (j8 >>> 32))) * 31);
    }

    public final String toString() {
        return "PreviewItem(position=" + this.f6145a + ", previewUrl=" + this.f6146b + ")";
    }
}
