145 lines
3.6 KiB
Java
145 lines
3.6 KiB
Java
|
package o;
|
||
|
|
||
|
import java.util.NoSuchElementException;
|
||
|
import o.C8098dB;
|
||
|
import o.InterfaceC8928daB;
|
||
|
import o.wRi;
|
||
|
|
||
|
/* renamed from: o.coY, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes4.dex */
|
||
|
public class C7450coY extends C7509cpf {
|
||
|
public InterfaceC8928daB.Sts a;
|
||
|
public C1189Xo b;
|
||
|
|
||
|
@InterfaceC13391fZD
|
||
|
public C7450coY(C16903sI c16903sI, C0289Dh c0289Dh, C0337Ej c0337Ej, RFa rFa, C0290Di c0290Di, C0334Ei c0334Ei, C17361wD c17361wD) {
|
||
|
super(c16903sI, c0289Dh, c0337Ej, rFa, c0290Di, c0334Ei, c17361wD);
|
||
|
}
|
||
|
|
||
|
public final void a(InterfaceC8928daB.Sts sts) {
|
||
|
a(sts);
|
||
|
e((C7450coY) sts);
|
||
|
this.a = sts;
|
||
|
}
|
||
|
|
||
|
@Override // o.ZI
|
||
|
public final void w_() {
|
||
|
this.a = null;
|
||
|
super.w_();
|
||
|
}
|
||
|
|
||
|
public final void b() {
|
||
|
String str;
|
||
|
String str2;
|
||
|
String str3;
|
||
|
if (this.b == null) {
|
||
|
return;
|
||
|
}
|
||
|
RFa rFa = this.c;
|
||
|
String str4 = "";
|
||
|
if (this.b.V == null) {
|
||
|
str = "";
|
||
|
} else {
|
||
|
str = this.b.V;
|
||
|
}
|
||
|
if (this.b.z == null) {
|
||
|
str2 = "";
|
||
|
} else {
|
||
|
str2 = this.b.z;
|
||
|
}
|
||
|
if (this.b.S == null) {
|
||
|
str3 = "";
|
||
|
} else {
|
||
|
str3 = this.b.S;
|
||
|
}
|
||
|
rFa.c.a("TOPUP", str, str2, str3);
|
||
|
InterfaceC8928daB.Sts sts = this.a;
|
||
|
if (sts != null) {
|
||
|
if (this.b.z != null) {
|
||
|
str4 = this.b.z;
|
||
|
}
|
||
|
sts.d(str4);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* renamed from: o.coY$LWm */
|
||
|
/* loaded from: classes4.dex */
|
||
|
class LWm extends wRi.LWm<Boolean> {
|
||
|
private C7450coY a;
|
||
|
|
||
|
private LWm(C7450coY c7450coY) {
|
||
|
this.a = c7450coY;
|
||
|
}
|
||
|
|
||
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
||
|
public final /* synthetic */ void onNext(Object obj) {
|
||
|
if (this.a.a != null) {
|
||
|
this.a.a.c();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
||
|
public final void onError(Throwable th) {
|
||
|
C7450coY.b(this.a, th);
|
||
|
}
|
||
|
|
||
|
/* synthetic */ LWm(C7450coY c7450coY, byte b) {
|
||
|
this(c7450coY);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
static /* synthetic */ void b(C7450coY c7450coY, Throwable th) {
|
||
|
if (c7450coY.b(th)) {
|
||
|
c7450coY.d(c7450coY.j.e(th));
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public final void d() {
|
||
|
if (this.f != 0) {
|
||
|
this.f.y();
|
||
|
}
|
||
|
RFa rFa = this.c;
|
||
|
C8098dB.IeS c = C8098dB.c();
|
||
|
c.a = this.e.u;
|
||
|
rFa.b(new C8098dB(c, (byte) 0), this.e.q.toString());
|
||
|
RFa rFa2 = this.c;
|
||
|
rFa2.d(rFa2.i, new LWm(this, (byte) 0));
|
||
|
}
|
||
|
|
||
|
@Override // o.C7509cpf
|
||
|
protected final int c() {
|
||
|
C15413gpp e;
|
||
|
C1189Xo c1189Xo = this.b;
|
||
|
if (c1189Xo == null || c1189Xo.V == null) {
|
||
|
return 0;
|
||
|
}
|
||
|
rgl a = rgl.a(this.d.size());
|
||
|
rgl rglVar = new rgl(a.b, new C0793Oqj(a.d, new MSP(this) { // from class: o.cpc
|
||
|
private C7450coY c;
|
||
|
|
||
|
@Override // o.MSP
|
||
|
public final boolean b(int i) {
|
||
|
boolean equals;
|
||
|
equals = r0.b.V.equals(this.c.d.get(i).x);
|
||
|
return equals;
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.c = this;
|
||
|
}
|
||
|
}));
|
||
|
if (rglVar.d.hasNext()) {
|
||
|
e = C15413gpp.b(rglVar.d.e());
|
||
|
} else {
|
||
|
e = C15413gpp.e();
|
||
|
}
|
||
|
if (!e.e) {
|
||
|
return 0;
|
||
|
}
|
||
|
if (e.e) {
|
||
|
return e.c;
|
||
|
}
|
||
|
throw new NoSuchElementException("No value present");
|
||
|
}
|
||
|
}
|