package defpackage;

import android.os.Bundle;
import androidx.media3.container.NalUnitUtil;
import androidx.media3.exoplayer.upstream.CmcdData;
import kotlin.Metadata;

/* JADX INFO: loaded from: classes3.dex */
@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001:\u0001\u0002¨\u0006\u0003"}, d2 = {"La36;", "Luh6;", CmcdData.OBJECT_TYPE_AUDIO_ONLY, "app_sideloadRelease"}, k = 1, mv = {2, 0, 0}, xi = NalUnitUtil.H265_NAL_UNIT_TYPE_UNSPECIFIED)
public final /* data */ class a36 implements uh6 {
    public final String a;
    public final int b;
    public final String c;
    public final String d;
    public final String e;

    @Metadata(d1 = {"\u0000\n\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\b\u0086\u0003\u0018\u00002\u00020\u0001¨\u0006\u0002"}, d2 = {"La36$a;", "", "app_sideloadRelease"}, k = 1, mv = {2, 0, 0}, xi = NalUnitUtil.H265_NAL_UNIT_TYPE_UNSPECIFIED)
    public static final class a {
    }

    public a36(String str, int i, String str2, String str3, String str4) {
        this.a = str;
        this.b = i;
        this.c = str2;
        this.d = str3;
        this.e = str4;
    }

    @x15
    @kp6
    public static final a36 fromBundle(@kp6 Bundle bundle) {
        String string;
        cr4.g(bundle, "bundle");
        bundle.setClassLoader(a36.class.getClassLoader());
        if (!bundle.containsKey("imdb_id")) {
            throw new IllegalArgumentException("Required argument \"imdb_id\" is missing and does not have an android:defaultValue");
        }
        String string2 = bundle.getString("imdb_id");
        if (string2 == null) {
            throw new IllegalArgumentException("Argument \"imdb_id\" is marked as non-null but was passed a null value.");
        }
        if (!bundle.containsKey("total_seasons")) {
            throw new IllegalArgumentException("Required argument \"total_seasons\" is missing and does not have an android:defaultValue");
        }
        int i = bundle.getInt("total_seasons");
        if (!bundle.containsKey("show_title")) {
            throw new IllegalArgumentException("Required argument \"show_title\" is missing and does not have an android:defaultValue");
        }
        String string3 = bundle.getString("show_title");
        if (string3 == null) {
            throw new IllegalArgumentException("Argument \"show_title\" is marked as non-null but was passed a null value.");
        }
        String string4 = bundle.containsKey("poster_url") ? bundle.getString("poster_url") : null;
        if (bundle.containsKey("year_range")) {
            string = bundle.getString("year_range");
            if (string == null) {
                throw new IllegalArgumentException("Argument \"year_range\" is marked as non-null but was passed a null value.");
            }
        } else {
            string = "";
        }
        return new a36(string2, i, string3, string4, string);
    }

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

    public final int hashCode() {
        int iB = vw2.b(fi7.a(this.b, this.a.hashCode() * 31, 31), 31, this.c);
        String str = this.d;
        return this.e.hashCode() + ((iB + (str == null ? 0 : str.hashCode())) * 31);
    }

    public final String toString() {
        StringBuilder sbV = n41.v("MobileEpisodeRatingsFragmentArgs(imdbId=", this.b, this.a, ", totalSeasons=", ", showTitle=");
        vw2.aa(sbV, this.c, ", posterUrl=", this.d, ", yearRange=");
        return n41.s(sbV, this.e, ")");
    }
}
