package o; /* loaded from: classes3.dex */ public final class Rjc extends wRi { final InterfaceC0773Ogw d; private final tQD e; @InterfaceC13391fZD public Rjc(yRw yrw, yRw yrw2, InterfaceC0773Ogw interfaceC0773Ogw, tQD tqd) { super(yrw, yrw2); this.d = interfaceC0773Ogw; this.e = tqd; } public final AbstractC13163fSk e(C16884s c16884s) { AbstractC13163fSk flatMap; bTI f = this.e.f(); if (bTI.CONSUMER == f) { flatMap = this.d.a(c16884s).flatMap(new fSS(this) { // from class: o.QsH private Rjc b; @Override // o.fSS public final Object a(Object obj) { fRZ r = this.b.d.r((String) obj); if (r instanceof InterfaceC13204fTr) { return ((InterfaceC13204fTr) r).b(); } return new C13243fUv(r); } { this.b = this; } }); } else { flatMap = bTI.BUSINESS_OWNER == f ? this.e.d(c16884s).flatMap(new fSS(this) { // from class: o.zVC private Rjc e; @Override // o.fSS public final Object a(Object obj) { fRZ r = this.e.d.r((String) obj); if (r instanceof InterfaceC13204fTr) { return ((InterfaceC13204fTr) r).b(); } return new C13243fUv(r); } { this.e = this; } }) : null; } e(flatMap); return flatMap; } }