package V2;

import com.debridstream.tv.PlayerViewModel;
import org.json.JSONException;
import w4.C3137A;

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

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

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

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

    public /* synthetic */ O(PlayerViewModel playerViewModel, androidx.navigation.H h5, int i6) {
        this.f7457a = i6;
        this.f7458b = playerViewModel;
        this.f7459c = h5;
    }

    @Override // J4.f
    public final Object invoke(Object obj, Object obj2, Object obj3) throws JSONException {
        switch (this.f7457a) {
            case 0:
                String url = (String) obj;
                String providerId = (String) obj2;
                String displayFileName = (String) obj3;
                kotlin.jvm.internal.o.h(url, "url");
                kotlin.jvm.internal.o.h(providerId, "providerId");
                kotlin.jvm.internal.o.h(displayFileName, "displayFileName");
                PlayerViewModel.prepare$default(this.f7458b, url, null, providerId, null, false, null, null, displayFileName, false, 378, null);
                androidx.navigation.H.n(this.f7459c, "video_player", null, 6);
                break;
            default:
                String url2 = (String) obj;
                String providerId2 = (String) obj2;
                String displayFileName2 = (String) obj3;
                kotlin.jvm.internal.o.h(url2, "url");
                kotlin.jvm.internal.o.h(providerId2, "providerId");
                kotlin.jvm.internal.o.h(displayFileName2, "displayFileName");
                PlayerViewModel.prepare$default(this.f7458b, url2, null, providerId2, null, false, null, null, displayFileName2, false, 378, null);
                androidx.navigation.H.n(this.f7459c, "video_player", null, 6);
                break;
        }
        return C3137A.f25453a;
    }
}
