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

165 lines
5.3 KiB
Java

package o;
import kotlin.NoWhenBranchMatchedException;
import o.GJE;
/* loaded from: classes3.dex */
public final class mZh extends wRi {
final InterfaceC0773Ogw a;
final tQD b;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public mZh(yRw yrw, yRw yrw2, InterfaceC0773Ogw interfaceC0773Ogw, tQD tqd) {
super(yrw, yrw2);
C14957gcv.e(yrw, "");
C14957gcv.e(yrw2, "");
C14957gcv.e(interfaceC0773Ogw, "");
C14957gcv.e(tqd, "");
this.a = interfaceC0773Ogw;
this.b = tqd;
}
public final AbstractC13163fSk<Cae> d() {
AbstractC13163fSk fuy;
int i = IeS.d[this.b.f().ordinal()];
if (i != 1) {
if (i == 2) {
AbstractC13175fSw<String> n = this.a.n();
final HBt hBt = new HBt(this);
fuy = new C13377fYp(new C13366fYe(n, new fSS(hBt) { // from class: o.oer
private InterfaceC14894gbR b;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.b;
C14957gcv.e(interfaceC14894gbR, "");
return (fSD) interfaceC14894gbR.invoke(obj);
}
{
this.b = hBt;
}
}));
} else {
throw new NoWhenBranchMatchedException();
}
} else if (this.a.E() != null) {
fuy = AbstractC13163fSk.just(this.a.E());
} else {
AbstractC13175fSw<String> n2 = this.a.n();
final Sts sts = new Sts(this);
fuy = new fUY(n2, new fSS(sts) { // from class: o.Zqp
private InterfaceC14894gbR d;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.d;
C14957gcv.e(interfaceC14894gbR, "");
return (InterfaceC13169fSq) interfaceC14894gbR.invoke(obj);
}
{
this.d = sts;
}
});
}
final RVV rvv = new RVV(this);
AbstractC13163fSk<Cae> doOnNext = fuy.doOnNext(new fSQ(rvv) { // from class: o.XOW
private InterfaceC14894gbR d;
@Override // o.fSQ
public final void c(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.d;
C14957gcv.e(interfaceC14894gbR, "");
interfaceC14894gbR.invoke(obj);
}
{
this.d = rvv;
}
});
e(doOnNext);
C14957gcv.c(doOnNext, "");
return doOnNext;
}
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes3.dex */
public static final class Sts extends AbstractC14961gcz implements InterfaceC14894gbR<String, InterfaceC13169fSq<? extends Cae>> {
private mZh e;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ InterfaceC13169fSq<? extends Cae> invoke(String str) {
return this.e.a.a(str);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
Sts(mZh mzh) {
super(1);
this.e = mzh;
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes3.dex */
public static final class HBt extends AbstractC14961gcz implements InterfaceC14894gbR<String, fSD<? extends Cae>> {
private mZh d;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ fSD<? extends Cae> invoke(String str) {
String str2 = str;
tQD tqd = this.d.b;
C14957gcv.c((Object) str2, "");
return tqd.j(str2);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
HBt(mZh mzh) {
super(1);
this.d = mzh;
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes3.dex */
public static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR<Cae, C14866gag> {
private mZh c;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Cae cae) {
Cae cae2 = cae;
GJE gje = cae2.e;
if (gje != null) {
this.c.a.a(gje, GJE.Sts.MAILING);
}
this.c.a.w(cae2.j);
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
RVV(mZh mzh) {
super(1);
this.c = mzh;
}
}
/* loaded from: classes3.dex */
public final /* synthetic */ class IeS {
public static final int[] d;
static {
int[] iArr = new int[bTI.values().length];
try {
iArr[bTI.CONSUMER.ordinal()] = 1;
} catch (NoSuchFieldError unused) {
}
try {
iArr[bTI.BUSINESS_OWNER.ordinal()] = 2;
} catch (NoSuchFieldError unused2) {
}
d = iArr;
}
}
}