package g3;

import java.util.Iterator;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import q.AbstractC2761L;

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

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

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

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

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

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

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public final double f16518f;

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

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

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

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

    /* JADX INFO: renamed from: k, reason: collision with root package name */
    public final int f16523k;
    public final String l;

    /* JADX INFO: renamed from: m, reason: collision with root package name */
    public final List f16524m;

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

    /* JADX INFO: renamed from: o, reason: collision with root package name */
    public final Map f16526o;

    public n(int i6, String str, String title, String overview, String year, double d6, String str2, String str3, String str4, String certificate, int i7, String primaryGenre, List originCountries, String str5, Map map) {
        kotlin.jvm.internal.o.h(title, "title");
        kotlin.jvm.internal.o.h(overview, "overview");
        kotlin.jvm.internal.o.h(year, "year");
        kotlin.jvm.internal.o.h(certificate, "certificate");
        kotlin.jvm.internal.o.h(primaryGenre, "primaryGenre");
        kotlin.jvm.internal.o.h(originCountries, "originCountries");
        this.f16513a = i6;
        this.f16514b = str;
        this.f16515c = title;
        this.f16516d = overview;
        this.f16517e = year;
        this.f16518f = d6;
        this.f16519g = str2;
        this.f16520h = str3;
        this.f16521i = str4;
        this.f16522j = certificate;
        this.f16523k = i7;
        this.l = primaryGenre;
        this.f16524m = originCountries;
        this.f16525n = str5;
        this.f16526o = map;
    }

    public final List a() {
        return this.f16524m;
    }

    public final Map b() {
        return this.f16526o;
    }

    public final boolean c() {
        String lowerCase = S4.p.o1(this.f16514b).toString().toLowerCase(Locale.ROOT);
        kotlin.jvm.internal.o.g(lowerCase, "toLowerCase(...)");
        if (!lowerCase.equals("tv")) {
            return false;
        }
        List list = this.f16524m;
        if (list != null && list.isEmpty()) {
            return false;
        }
        Iterator it = list.iterator();
        while (it.hasNext()) {
            if (S4.w.t0((String) it.next(), "JP", true)) {
                return true;
            }
        }
        return false;
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof n)) {
            return false;
        }
        n nVar = (n) obj;
        return this.f16513a == nVar.f16513a && kotlin.jvm.internal.o.c(this.f16514b, nVar.f16514b) && kotlin.jvm.internal.o.c(this.f16515c, nVar.f16515c) && kotlin.jvm.internal.o.c(this.f16516d, nVar.f16516d) && kotlin.jvm.internal.o.c(this.f16517e, nVar.f16517e) && Double.compare(this.f16518f, nVar.f16518f) == 0 && kotlin.jvm.internal.o.c(this.f16519g, nVar.f16519g) && kotlin.jvm.internal.o.c(this.f16520h, nVar.f16520h) && kotlin.jvm.internal.o.c(this.f16521i, nVar.f16521i) && kotlin.jvm.internal.o.c(this.f16522j, nVar.f16522j) && this.f16523k == nVar.f16523k && kotlin.jvm.internal.o.c(this.l, nVar.l) && kotlin.jvm.internal.o.c(this.f16524m, nVar.f16524m) && kotlin.jvm.internal.o.c(this.f16525n, nVar.f16525n) && kotlin.jvm.internal.o.c(this.f16526o, nVar.f16526o);
    }

    public final int hashCode() {
        int iHashCode = (Double.hashCode(this.f16518f) + AbstractC2761L.b(AbstractC2761L.b(AbstractC2761L.b(AbstractC2761L.b(Integer.hashCode(this.f16513a) * 31, 31, this.f16514b), 31, this.f16515c), 31, this.f16516d), 31, this.f16517e)) * 31;
        String str = this.f16519g;
        int iHashCode2 = (iHashCode + (str == null ? 0 : str.hashCode())) * 31;
        String str2 = this.f16520h;
        int iHashCode3 = (iHashCode2 + (str2 == null ? 0 : str2.hashCode())) * 31;
        String str3 = this.f16521i;
        int iB = AbstractC2761L.b(AbstractC2761L.c(this.f16524m, AbstractC2761L.b(AbstractC2761L.a(this.f16523k, AbstractC2761L.b((iHashCode3 + (str3 == null ? 0 : str3.hashCode())) * 31, 31, this.f16522j), 31), 31, this.l), 31), 31, this.f16525n);
        Map map = this.f16526o;
        return iB + (map != null ? map.hashCode() : 0);
    }

    public final String toString() {
        return "PlaybackProgressMeta(tmdbId=" + this.f16513a + ", type=" + this.f16514b + ", title=" + this.f16515c + ", overview=" + this.f16516d + ", year=" + this.f16517e + ", rating=" + this.f16518f + ", posterUrl=" + this.f16519g + ", backdropUrl=" + this.f16520h + ", logoUrl=" + this.f16521i + ", certificate=" + this.f16522j + ", runTimeMinutes=" + this.f16523k + ", primaryGenre=" + this.l + ", originCountries=" + this.f16524m + ", originalLanguage=" + this.f16525n + ", seasonMap=" + this.f16526o + ")";
    }
}
