package V2;

import com.debridstream.tv.data.home.HomeMetaItem;
import com.debridstream.tv.screens.VideoDetailsViewModel;
import org.json.JSONException;
import w4.C3137A;

/* JADX INFO: loaded from: classes.dex */
public final /* synthetic */ class K implements J4.c {

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

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final /* synthetic */ VideoDetailsViewModel f7402b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final /* synthetic */ boolean f7403c;

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

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public final /* synthetic */ androidx.navigation.H f7405e;

    public /* synthetic */ K(VideoDetailsViewModel videoDetailsViewModel, boolean z6, String str, androidx.navigation.H h5, int i6) {
        this.f7401a = i6;
        this.f7402b = videoDetailsViewModel;
        this.f7403c = z6;
        this.f7404d = str;
        this.f7405e = h5;
    }

    @Override // J4.c
    public final Object invoke(Object obj) throws JSONException {
        HomeMetaItem item = (HomeMetaItem) obj;
        switch (this.f7401a) {
            case 0:
                kotlin.jvm.internal.o.h(item, "item");
                this.f7402b.selectVideoItem(item, this.f7403c, this.f7404d);
                AbstractC0693m0.b(this.f7405e);
                break;
            case 1:
                kotlin.jvm.internal.o.h(item, "item");
                this.f7402b.selectVideoItem(item, this.f7403c, this.f7404d);
                AbstractC0693m0.b(this.f7405e);
                break;
            case 2:
                kotlin.jvm.internal.o.h(item, "item");
                this.f7402b.selectVideoItem(item, this.f7403c, this.f7404d);
                AbstractC0693m0.b(this.f7405e);
                break;
            case 3:
                kotlin.jvm.internal.o.h(item, "item");
                this.f7402b.selectVideoItem(item, this.f7403c, this.f7404d);
                AbstractC0693m0.b(this.f7405e);
                break;
            case 4:
                kotlin.jvm.internal.o.h(item, "item");
                this.f7402b.selectVideoItem(item, this.f7403c, this.f7404d);
                AbstractC0693m0.b(this.f7405e);
                break;
            default:
                kotlin.jvm.internal.o.h(item, "item");
                this.f7402b.selectVideoItem(item, this.f7403c, this.f7404d);
                AbstractC0693m0.b(this.f7405e);
                break;
        }
        return C3137A.f25453a;
    }
}
