package J4;

import a0.C0213a;
import android.webkit.JsPromptResult;
import d4.C0550i;
import io.flutter.plugins.webviewflutter.ResultCompat;
import io.flutter.plugins.webviewflutter.WebChromeClientProxyApi;
import q4.l;

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

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

    /* JADX INFO: renamed from: l, reason: collision with root package name */
    public final /* synthetic */ Object f1031l;

    /* JADX INFO: renamed from: m, reason: collision with root package name */
    public final /* synthetic */ Object f1032m;

    public /* synthetic */ c(int i, Object obj, Object obj2) {
        this.f1030k = i;
        this.f1031l = obj;
        this.f1032m = obj2;
    }

    @Override // q4.l
    public final Object invoke(Object obj) {
        switch (this.f1030k) {
            case 0:
                ((d) this.f1032m).getClass();
                ((e) this.f1031l).e(null);
                return C0550i.f6143a;
            case 1:
                C0213a c0213a = (C0213a) obj;
                X2.j jVar = (X2.j) this.f1031l;
                jVar.getClass();
                a0.d dVar = X2.j.f3302d;
                String str = (String) this.f1032m;
                c0213a.e(dVar, str);
                jVar.d(c0213a, str);
                return null;
            default:
                return ((WebChromeClientProxyApi.WebChromeClientImpl) this.f1031l).lambda$onJsPrompt$10((JsPromptResult) this.f1032m, (ResultCompat) obj);
        }
    }
}
