package h3;

import androidx.compose.runtime.MutableState;
import com.debridstream.tv.screens.CloudManagerViewModel;
import w4.C3137A;

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

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

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

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

    public /* synthetic */ G(CloudManagerViewModel cloudManagerViewModel, MutableState mutableState, int i6) {
        this.f16822a = i6;
        this.f16823b = cloudManagerViewModel;
        this.f16824c = mutableState;
    }

    /* JADX WARN: Multi-variable type inference failed */
    @Override // J4.a
    public final Object invoke() {
        switch (this.f16822a) {
            case 0:
                this.f16823b.saveApiKey((String) this.f16824c.getValue());
                break;
            default:
                T.f(this.f16824c, false);
                this.f16823b.removeApiKey();
                break;
        }
        return C3137A.f25453a;
    }
}
