package com.strmr.ps.data.subtitle;

import androidx.media3.container.NalUnitUtil;
import androidx.media3.exoplayer.upstream.CmcdData;
import defpackage.cr4;
import defpackage.fi7;
import defpackage.hn2;
import defpackage.ik2;
import defpackage.jn2;
import java.util.List;
import kotlin.Metadata;

/* JADX INFO: loaded from: classes3.dex */
@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001:\u0001\u0002¨\u0006\u0003"}, d2 = {"Lcom/strmr/ps/data/subtitle/u;", "", CmcdData.OBJECT_TYPE_AUDIO_ONLY, "app_sideloadRelease"}, k = 1, mv = {2, 0, 0}, xi = NalUnitUtil.H265_NAL_UNIT_TYPE_UNSPECIFIED)
public final /* data */ class u {
    public final String a;
    public final Integer b;
    public final String c;
    public final Integer d;
    public final Integer e;
    public final Integer f;
    public final List g = ik2.a;
    public final a h;

    /* JADX WARN: Failed to restore enum class, 'enum' modifier and super class removed */
    /* JADX WARN: Unknown enum class pattern. Please report as an issue! */
    @Metadata(d1 = {"\u0000\n\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0000\b\u0086\u0081\u0002\u0018\u00002\b\u0012\u0004\u0012\u00020\u00000\u0001¨\u0006\u0002"}, d2 = {"Lcom/strmr/ps/data/subtitle/u$a;", "", "app_sideloadRelease"}, k = 1, mv = {2, 0, 0}, xi = NalUnitUtil.H265_NAL_UNIT_TYPE_UNSPECIFIED)
    public static final class a {
        public static final a a;
        public static final a b;
        public static final /* synthetic */ a[] c;
        public static final /* synthetic */ hn2 d;

        static {
            a aVar = new a("MOVIE", 0);
            a = aVar;
            a aVar2 = new a("EPISODE", 1);
            b = aVar2;
            a[] aVarArr = {aVar, aVar2};
            c = aVarArr;
            d = jn2.a(aVarArr);
        }

        public static a valueOf(String str) {
            return (a) Enum.valueOf(a.class, str);
        }

        public static a[] values() {
            return (a[]) c.clone();
        }
    }

    public u(String str, Integer num, String str2, Integer num2, Integer num3, Integer num4, a aVar) {
        this.a = str;
        this.b = num;
        this.c = str2;
        this.d = num2;
        this.e = num3;
        this.f = num4;
        this.h = aVar;
    }

    public final boolean a() {
        return (this.h != a.b || this.e == null || this.f == null) ? false : true;
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof u)) {
            return false;
        }
        u uVar = (u) obj;
        return cr4.b(this.a, uVar.a) && cr4.b(this.b, uVar.b) && cr4.b(this.c, uVar.c) && cr4.b(this.d, uVar.d) && cr4.b(this.e, uVar.e) && cr4.b(this.f, uVar.f) && cr4.b(this.g, uVar.g) && this.h == uVar.h;
    }

    public final int hashCode() {
        String str = this.a;
        int iHashCode = (str == null ? 0 : str.hashCode()) * 31;
        Integer num = this.b;
        int iHashCode2 = (iHashCode + (num == null ? 0 : num.hashCode())) * 31;
        String str2 = this.c;
        int iHashCode3 = (iHashCode2 + (str2 == null ? 0 : str2.hashCode())) * 31;
        Integer num2 = this.d;
        int iHashCode4 = (iHashCode3 + (num2 == null ? 0 : num2.hashCode())) * 31;
        Integer num3 = this.e;
        int iHashCode5 = (iHashCode4 + (num3 == null ? 0 : num3.hashCode())) * 31;
        Integer num4 = this.f;
        return this.h.hashCode() + fi7.d(this.g, (iHashCode5 + (num4 != null ? num4.hashCode() : 0)) * 29791, 31);
    }

    public final String toString() {
        return "SubtitleQuery(imdbId=" + this.a + ", tmdbId=" + this.b + ", title=" + this.c + ", year=" + this.d + ", season=" + this.e + ", episode=" + this.f + ", hash=null, fileSize=null, languages=" + this.g + ", type=" + this.h + ")";
    }
}
