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

149 lines
4.3 KiB
Java

package o;
import java.util.NoSuchElementException;
import o.InterfaceC9416djN;
import o.InterfaceC9416djN.LWm;
import o.ZI;
/* renamed from: o.bST, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public abstract class AbstractC4171bST<V extends InterfaceC9416djN.LWm> extends ZI<V> {
protected final C17494xJ a;
protected final C17492xH d;
protected final YpL e;
/* JADX INFO: Access modifiers changed from: protected */
public AbstractC4171bST(C16903sI c16903sI, C17492xH c17492xH, YpL ypL, C17494xJ c17494xJ) {
super(c16903sI);
this.d = c17492xH;
this.e = ypL;
this.a = c17494xJ;
}
/* JADX WARN: Multi-variable type inference failed */
public void c() {
zEQ d;
final String k = this.e.c().e.k();
YKU yku = new YKU(this.e.e.i().b);
YKU yku2 = new YKU(yku.a, new GEP(yku.b, new Jel(k) { // from class: o.bSY
private String d;
@Override // o.Jel
public final boolean e(Object obj) {
return ((Rtm) obj).a.equals(this.d);
}
{
this.d = k;
}
}));
if (yku2.b.hasNext()) {
d = zEQ.a(yku2.b.next());
} else {
d = zEQ.d();
}
T t = d.d;
if (t != 0) {
final C0965Sl b = this.d.b((Rtm) t);
ZI.IeS ieS = new ZI.IeS(this, b) { // from class: o.bTd
private C0965Sl c;
private AbstractC4171bST d;
@Override // o.ZI.IeS
public final void e(Object obj) {
AbstractC4171bST.d(this.d, this.c, (InterfaceC9416djN.LWm) obj);
}
{
this.d = this;
this.c = b;
}
};
if (this.f != 0) {
ieS.e(this.f);
return;
}
return;
}
throw new NoSuchElementException("No value present");
}
public final C3830bI b() {
return this.e.c().e;
}
public final C5544bv d() {
return this.e.c().a;
}
public final void b(C3830bI c3830bI, C5544bv c5544bv) {
if (c3830bI != null) {
this.e.c().e = c3830bI;
}
if (c5544bv != null) {
this.e.c().a = c5544bv;
}
if ("ONBOARD".equalsIgnoreCase(this.e.e.d().e)) {
ZI.IeS ieS = new ZI.IeS() { // from class: o.bSX
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9416djN.LWm) obj).b();
}
};
if (this.f != 0) {
ieS.e(this.f);
return;
}
return;
}
if (this.f != 0) {
this.f.y();
}
YpL ypL = this.e;
ypL.d(ypL.e.a(new C3636bC(null, ypL.a.c, ypL.a.b, ypL.d())), new fSQ(this) { // from class: o.bSV
private AbstractC4171bST e;
@Override // o.fSQ
public final void c(Object obj) {
AbstractC4171bST abstractC4171bST = this.e;
if (abstractC4171bST.f != 0) {
abstractC4171bST.f.ar_();
}
ZI.IeS ieS2 = new ZI.IeS() { // from class: o.bSW
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC9416djN.LWm) obj2).e();
}
};
if (abstractC4171bST.f != 0) {
ieS2.e(abstractC4171bST.f);
}
}
{
this.e = this;
}
}, new fSQ(this) { // from class: o.bSZ
private AbstractC4171bST d;
@Override // o.fSQ
public final void c(Object obj) {
AbstractC4171bST abstractC4171bST = this.d;
Throwable th = (Throwable) obj;
if (abstractC4171bST.b(th)) {
abstractC4171bST.d(abstractC4171bST.j.e(th));
}
}
{
this.d = this;
}
});
}
public static /* synthetic */ void d(AbstractC4171bST abstractC4171bST, C0965Sl c0965Sl, InterfaceC9416djN.LWm lWm) {
lWm.d(c0965Sl.c);
lWm.d(abstractC4171bST.e.c(), "");
}
}