package o; import com.scb.phone.data.entity.transfer.SingleDataEntity; import java.util.ArrayList; import java.util.List; import java.util.Objects; /* loaded from: classes3.dex */ public final class SwZ implements OzO { private String a; private final TWM b; final C2724ajx c; private final C17551xjg d; final xJa e; @InterfaceC13391fZD public SwZ(C17551xjg c17551xjg, xJa xja, C2724ajx c2724ajx, TWM twm, String str) { this.d = c17551xjg; this.e = xja; this.c = c2724ajx; this.b = twm; this.a = str; } @Override // o.OzO public final AbstractC13163fSk> e() { return this.d.b.getPersonalLimit(null, null).flatMap(new fSS(this) { // from class: o.qas private SwZ d; @Override // o.fSS public final Object a(Object obj) { return AbstractC13163fSk.just(this.d.e.e((naT) obj)); } { this.d = this; } }); } @Override // o.OzO public final AbstractC13163fSk e(String str) { C17551xjg c17551xjg = this.d; return c17551xjg.b.getLimitTransfer(this.a, str).flatMap(new fSS(this) { // from class: o.TRX private SwZ a; @Override // o.fSS public final Object a(Object obj) { List arrayList; naT nat = (naT) obj; xJa xja = this.a.e; List e = xja.e(nat); if (nat == null || nat.b == null || !"1000".equalsIgnoreCase(nat.b.b.c) || nat.b.d == null || nat.b.d.isEmpty()) { arrayList = new ArrayList<>(); } else { arrayList = xja.b(nat.b); } return AbstractC13163fSk.just(new SoA(e, arrayList, nat.d)); } { this.a = this; } }); } @Override // o.OzO public final AbstractC13163fSk d(String str, String str2, C2019aV c2019aV) { AbstractC13163fSk putPersonalLimitWithOtp = this.d.b.putPersonalLimitWithOtp(str, str2, c2019aV); xJa xja = this.e; Objects.requireNonNull(xja); return putPersonalLimitWithOtp.map(new IHs(xja)); } @Override // o.OzO public final AbstractC13163fSk d(C2019aV c2019aV) { AbstractC13163fSk putPersonalLimit = this.d.b.putPersonalLimit(c2019aV); xJa xja = this.e; Objects.requireNonNull(xja); return putPersonalLimit.map(new IHs(xja)); } @Override // o.OzO public final AbstractC13163fSk b(String str, String str2) { return this.d.b.getPersonalLimitUsage(str, str2).flatMap(new fSS(this) { // from class: o.pkM private SwZ e; @Override // o.fSS public final Object a(Object obj) { xJa xja = this.e.e; return AbstractC13163fSk.just(xJa.b((C4531bbt) ((SingleDataEntity) obj).getData())); } { this.e = this; } }); } @Override // o.OzO public final AbstractC13175fSw c(String str, String str2) { return new C13366fYe(this.d.b.getSinglePersonalLimitUsage(str, str2), new fSS(this) { // from class: o.tjl private SwZ c; @Override // o.fSS public final Object a(Object obj) { xJa xja = this.c.e; return AbstractC13175fSw.d(xJa.b((C4531bbt) ((SingleDataEntity) obj).getData())); } { this.c = this; } }); } @Override // o.OzO public final C2019aV d() { return this.b.b; } @Override // o.OzO public final AbstractC13163fSk d(C1847aQ c1847aQ) { C17551xjg c17551xjg = this.d; DiG.e("8101"); return c17551xjg.b.postBotValidation(c1847aQ).doFinally(new Cbf()).flatMap(new fSS(this) { // from class: o.bHr private SwZ b; @Override // o.fSS public final Object a(Object obj) { C2724ajx c2724ajx = this.b.c; return AbstractC13163fSk.just(C2724ajx.a((SingleDataEntity) obj)); } { this.b = this; } }); } @Override // o.OzO public final void c(C2019aV c2019aV) { this.b.b = c2019aV; } }