what-the-bank/sources/o/C13069fPp.java

55 lines
1.8 KiB
Java

package o;
import android.os.Bundle;
import java.util.Map;
import java.util.Set;
import o.VLM;
/* renamed from: o.fPp, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public final class C13069fPp implements VLM.LWm {
private final VLM.LWm a;
private final Set<String> d;
private final Coc e;
/* renamed from: o.fPp$Sts */
/* loaded from: classes5.dex */
public interface Sts {
Map<String, fZE<VKL>> e();
}
public C13069fPp(InterfaceC9254dgJ interfaceC9254dgJ, Bundle bundle, Set<String> set, VLM.LWm lWm, InterfaceC13066fPm interfaceC13066fPm) {
this.d = set;
this.a = lWm;
this.e = new Coc(this, interfaceC9254dgJ, bundle, interfaceC13066fPm) { // from class: o.fPp.2
private C13069fPp a;
private InterfaceC13066fPm d;
{
this.a = this;
this.d = interfaceC13066fPm;
}
@Override // o.Coc
public final <T extends VKL> T b(Class<T> cls, NER ner) {
fZE<VKL> fze = ((Sts) fOV.c(this.d.b(ner).a(), Sts.class)).e().get(cls.getName());
if (fze == null) {
StringBuilder sb = new StringBuilder("Expected the @HiltViewModel-annotated class '");
sb.append(cls.getName());
sb.append("' to be available in the multi-binding of @HiltViewModelMap but none was found.");
throw new IllegalStateException(sb.toString());
}
return (T) fze.get();
}
};
}
@Override // o.VLM.LWm
public final <T extends VKL> T create(Class<T> cls) {
if (this.d.contains(cls.getName())) {
return (T) this.e.create(cls);
}
return (T) this.a.create(cls);
}
}