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

919 lines
32 KiB
Java

package o;
import com.scb.phone.data.entity.transfer.SingleDataEntity;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import java.util.Objects;
/* renamed from: o.Ams, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C0162Ams implements DSR {
C0327EcS a;
private maK b;
C8986dbG c;
private Nsn d;
C0240Cax e;
private sXl f;
private wiy g;
private ANX h;
private C16650pxR i;
private ZTU j;
private C1894aRa k;
private Edq l;
private ugE m;
private mLF n;
/* renamed from: o, reason: collision with root package name */
private C6102cIp f8100o;
private kQL p;
private GoP q;
private C14903gbe r;
private UGv s;
private FBo t;
private jUm u;
private String w;
private C0146Ads x;
private WIS y;
@InterfaceC13391fZD
public C0162Ams(ZTU ztu, maK mak, C0240Cax c0240Cax, Nsn nsn, wiy wiyVar, C0146Ads c0146Ads, ugE uge, C8986dbG c8986dbG, sXl sxl, C6102cIp c6102cIp, Edq edq, kQL kql, WIS wis, C1894aRa c1894aRa, mLF mlf, UGv uGv, FBo fBo, jUm jum, C14903gbe c14903gbe, GoP goP, String str, C0327EcS c0327EcS, C16650pxR c16650pxR, ANX anx) {
this.j = ztu;
this.b = mak;
this.e = c0240Cax;
this.d = nsn;
this.g = wiyVar;
this.x = c0146Ads;
this.m = uge;
this.c = c8986dbG;
this.f = sxl;
this.f8100o = c6102cIp;
this.l = edq;
this.y = wis;
this.p = kql;
this.k = c1894aRa;
this.n = mlf;
this.s = uGv;
this.t = fBo;
this.u = jum;
this.r = c14903gbe;
this.q = goP;
this.w = str;
this.a = c0327EcS;
this.i = c16650pxR;
this.h = anx;
}
@Override // o.DSR
public final AbstractC13163fSk<mKV> a(String str, String str2, final rzR rzr) {
AbstractC13163fSk<Bkj> doOnNext = this.j.b.activateCard(str, str2, rzr).doOnNext(new fSQ(this, rzr) { // from class: o.FIz
private C0162Ams c;
private rzR e;
@Override // o.fSQ
public final void c(Object obj) {
C0162Ams c0162Ams = this.c;
rzR rzr2 = this.e;
C8986dbG c8986dbG = c0162Ams.c;
String str3 = rzr2.d.b;
if (c8986dbG.d.containsKey(str3)) {
c8986dbG.d.remove(str3);
}
}
{
this.c = this;
this.e = rzr;
}
});
final maK mak = this.b;
Objects.requireNonNull(mak);
return doOnNext.map(new fSS(mak) { // from class: o.Zyw
private maK e;
@Override // o.fSS
public final Object a(Object obj) {
return maK.a((Bkj) obj);
}
{
this.e = mak;
}
});
}
@Override // o.DSR
public final AbstractC13163fSk<rxb> e(final Xor xor) {
xor.e = this.w;
C8986dbG c8986dbG = this.c;
C15875jNA c15875jNA = c8986dbG.d.get(xor.d);
if (c15875jNA == null) {
return this.j.b.getCardDetails(xor).doOnNext(new fSQ(this, xor) { // from class: o.eTG
private C0162Ams a;
private Xor b;
@Override // o.fSQ
public final void c(Object obj) {
C0162Ams c0162Ams = this.a;
Xor xor2 = this.b;
C8986dbG c8986dbG2 = c0162Ams.c;
String str = xor2.d;
c8986dbG2.d.put(str, (C15875jNA) obj);
}
{
this.a = this;
this.b = xor;
}
}).flatMap(new fSS(this, xor) { // from class: o.FBV
private C0162Ams a;
private Xor c;
@Override // o.fSS
public final Object a(Object obj) {
C0162Ams c0162Ams = this.a;
Xor xor2 = this.c;
C0240Cax c0240Cax = c0162Ams.e;
return AbstractC13163fSk.just(C0240Cax.c((C15875jNA) obj, xor2.d));
}
{
this.a = this;
this.c = xor;
}
});
}
return AbstractC13163fSk.just(C0240Cax.c(c15875jNA, xor.d));
}
@Override // o.DSR
public final AbstractC13163fSk<C10771eOY> d(smx smxVar) {
AbstractC13163fSk<C16058knG> changeCardBlockStatus = this.j.b.changeCardBlockStatus(smxVar);
final Nsn nsn = this.d;
Objects.requireNonNull(nsn);
return changeCardBlockStatus.map(new fSS(nsn) { // from class: o.AqN
private Nsn c;
@Override // o.fSS
public final Object a(Object obj) {
return Nsn.b((C16058knG) obj);
}
{
this.c = nsn;
}
});
}
@Override // o.DSR
public final AbstractC13163fSk<RjZ> d(ZAm zAm) {
AbstractC13163fSk<MhI> cardImageUrl = this.j.b.getCardImageUrl(zAm);
final wiy wiyVar = this.g;
Objects.requireNonNull(wiyVar);
return cardImageUrl.map(new fSS(wiyVar) { // from class: o.bEm
private wiy e;
@Override // o.fSS
public final Object a(Object obj) {
return wiy.d((MhI) obj);
}
{
this.e = wiyVar;
}
});
}
@Override // o.DSR
public final AbstractC13163fSk<qqq> b(C15633hKf c15633hKf) {
AbstractC13163fSk<Frx> tempLimitCriteria = this.j.b.getTempLimitCriteria(c15633hKf);
final C0146Ads c0146Ads = this.x;
Objects.requireNonNull(c0146Ads);
return tempLimitCriteria.map(new fSS(c0146Ads) { // from class: o.GyZ
private C0146Ads a;
@Override // o.fSS
public final Object a(Object obj) {
return C0146Ads.a((Frx) obj);
}
{
this.a = c0146Ads;
}
});
}
@Override // o.DSR
public final AbstractC13163fSk<FuO> c(C16929sVC c16929sVC) {
AbstractC13163fSk<XrQ> submitCreditLimitUpdate = this.j.b.submitCreditLimitUpdate(c16929sVC);
final ugE uge = this.m;
Objects.requireNonNull(uge);
return submitCreditLimitUpdate.map(new fSS(uge) { // from class: o.fpT
private ugE d;
@Override // o.fSS
public final Object a(Object obj) {
return ugE.a((XrQ) obj);
}
{
this.d = uge;
}
});
}
@Override // o.DSR
public final void c() {
this.c.d.clear();
}
@Override // o.DSR
public final AbstractC13163fSk<Hxe> c(WWl wWl) {
AbstractC13163fSk<wjY> doOnNext = this.j.b.getCardTransactions(wWl).doOnNext(new fSQ(this) { // from class: o.Cib
private C0162Ams a;
@Override // o.fSQ
public final void c(Object obj) {
C0162Ams c0162Ams = this.a;
wjY wjy = (wjY) obj;
if (!c0162Ams.a.c.isEmpty() || wjy.d == null) {
return;
}
C0327EcS c0327EcS = c0162Ams.a;
String str = wjy.d;
C14957gcv.e(str, "");
c0327EcS.c = str;
}
{
this.a = this;
}
});
final sXl sxl = this.f;
Objects.requireNonNull(sxl);
return doOnNext.map(new fSS(sxl) { // from class: o.PkF
private sXl e;
@Override // o.fSS
public final Object a(Object obj) {
return sXl.b((wjY) obj);
}
{
this.e = sxl;
}
});
}
@Override // o.DSR
public final AbstractC13163fSk<CRB> e(C16022kYy c16022kYy) {
AbstractC13163fSk<Gwj> deejungTransactionPlans = this.j.b.getDeejungTransactionPlans(c16022kYy);
final C6102cIp c6102cIp = this.f8100o;
Objects.requireNonNull(c6102cIp);
return deejungTransactionPlans.map(new fSS(c6102cIp) { // from class: o.Jul
private C6102cIp a;
@Override // o.fSS
public final Object a(Object obj) {
C14851gaI c14851gaI;
ArrayList arrayList;
Gwj gwj = (Gwj) obj;
C14957gcv.e(gwj, "");
List<JlT> list = gwj.a;
if (list != null) {
List<JlT> list2 = list;
C14957gcv.e(list2, "");
ArrayList arrayList2 = new ArrayList(list2 instanceof Collection ? list2.size() : 10);
for (JlT jlT : list2) {
List<dNP> list3 = jlT.e;
if (list3 != null) {
List<dNP> list4 = list3;
C14957gcv.e(list4, "");
ArrayList arrayList3 = new ArrayList(list4 instanceof Collection ? list4.size() : 10);
for (dNP dnp : list4) {
C15931jin c15931jin = dnp.b;
QhH qhH = new QhH(c15931jin.a, c15931jin.h, c15931jin.i, c15931jin.e, c15931jin.c, c15931jin.b, c15931jin.d);
rTQ rtq = dnp.d;
arrayList3.add(new C17352vyp(qhH, new YOF(rtq.c, rtq.a, rtq.b)));
}
arrayList = arrayList3;
} else {
arrayList = null;
}
YFu yFu = new YFu((char) 0);
yFu.a = arrayList;
yFu.n = jlT.m;
yFu.f9155o = jlT.l;
yFu.l = jlT.n;
yFu.g = jlT.g;
yFu.j = jlT.i;
yFu.k = jlT.h;
C15104ghK c15104ghK = jlT.j;
String str = c15104ghK != null ? c15104ghK.a : null;
if (str == null) {
str = "";
}
String str2 = c15104ghK != null ? c15104ghK.b : null;
if (str2 == null) {
str2 = "";
}
String str3 = c15104ghK != null ? c15104ghK.c : null;
if (str3 == null) {
str3 = "";
}
yFu.e = new CoP(str, str2, str3);
yFu.h = jlT.f;
yFu.t = jlT.r;
yFu.f = jlT.a;
arrayList2.add(yFu);
}
c14851gaI = arrayList2;
} else {
c14851gaI = C14851gaI.c;
}
return new CRB(c14851gaI);
}
{
this.a = c6102cIp;
}
});
}
@Override // o.DSR
public final AbstractC13175fSw<List<uvE>> a(C0858Qba c0858Qba) {
return new C13372fYk(new C13372fYk(this.j.b.getDeejungInstallmentAmortizationList(c0858Qba).singleOrError(), new LmM()), new fSS() { // from class: o.MHy
@Override // o.fSS
public final Object a(Object obj) {
uvE uve;
Double d;
List<C16466odY> list = (List) obj;
if (list != null) {
ArrayList arrayList = new ArrayList();
for (C16466odY c16466odY : list) {
if (c16466odY != null) {
String str = c16466odY.d;
if (str == null) {
str = "";
}
String str2 = c16466odY.c;
uve = new uvE(str, Double.valueOf((str2 == null || (d = gdZ.d(str2)) == null) ? 0.0d : d.doubleValue()), Iwr.a(c16466odY));
} else {
uve = null;
}
if (uve != null) {
arrayList.add(uve);
}
}
return arrayList;
}
return C14851gaI.c;
}
});
}
@Override // o.DSR
public final AbstractC13163fSk<iAj> d(String str) {
AbstractC13163fSk<C14158fns> deejungInstallmentsConfirmation = this.j.b.getDeejungInstallmentsConfirmation(str);
final Edq edq = this.l;
Objects.requireNonNull(edq);
return deejungInstallmentsConfirmation.map(new fSS(edq) { // from class: o.kkR
private Edq b;
@Override // o.fSS
public final Object a(Object obj) {
C14158fns c14158fns = (C14158fns) obj;
C14957gcv.e(c14158fns, "");
iAj iaj = new iAj((char) 0);
List<C17183ueD> list = c14158fns.e;
ArrayList arrayList = null;
if (list != null) {
List<C17183ueD> list2 = list;
C14957gcv.e(list2, "");
ArrayList arrayList2 = new ArrayList(list2 instanceof Collection ? list2.size() : 10);
for (C17183ueD c17183ueD : list2) {
C0552JgO c0552JgO = new C0552JgO((char) 0);
c0552JgO.d = c17183ueD.c;
C15104ghK c15104ghK = c17183ueD.b;
String str2 = c15104ghK != null ? c15104ghK.a : null;
if (str2 == null) {
str2 = "";
}
String str3 = c15104ghK != null ? c15104ghK.b : null;
if (str3 == null) {
str3 = "";
}
c0552JgO.a = new CoP(str2, str3);
Dzh dzh = c17183ueD.j;
Glc glc = new Glc((char) 0);
glc.c = dzh != null ? dzh.b : null;
glc.d = dzh != null ? dzh.d : null;
glc.b = dzh != null ? dzh.e : null;
glc.a = dzh != null ? dzh.a : null;
c0552JgO.i = glc;
c0552JgO.c = c17183ueD.d;
c0552JgO.e = c17183ueD.e;
c0552JgO.g = c17183ueD.g;
Boolean bool = c17183ueD.a;
c0552JgO.b = bool != null ? bool.booleanValue() : false;
arrayList2.add(c0552JgO);
}
arrayList = arrayList2;
}
iaj.e = arrayList;
iaj.d = c14158fns.c;
iaj.h = c14158fns.j;
iaj.b = c14158fns.d;
iaj.g = c14158fns.i;
iaj.f9167o = Double.valueOf(c14158fns.n);
iaj.i = Double.valueOf(c14158fns.g);
iaj.f = Double.valueOf(c14158fns.f);
iaj.c = Double.valueOf(c14158fns.b);
iaj.n = Double.valueOf(c14158fns.f9132o);
iaj.m = Double.valueOf(c14158fns.m);
iaj.k = c14158fns.l;
iaj.j = Double.valueOf(c14158fns.h);
iaj.l = c14158fns.k;
iaj.a = c14158fns.a;
return iaj;
}
{
this.b = edq;
}
});
}
@Override // o.DSR
public final AbstractC13163fSk<xIq> e(C0279DJg c0279DJg) {
AbstractC13163fSk<ZYk> generateTokenForDeejungInstallment = this.j.b.generateTokenForDeejungInstallment(c0279DJg);
final WIS wis = this.y;
Objects.requireNonNull(wis);
return generateTokenForDeejungInstallment.map(new fSS(wis) { // from class: o.Trc
private WIS a;
@Override // o.fSS
public final Object a(Object obj) {
return WIS.a((ZYk) obj);
}
{
this.a = wis;
}
});
}
@Override // o.DSR
public final AbstractC13163fSk<THL> b(KQt kQt) {
AbstractC13163fSk<C15603gzW> transferEligibleAmount = this.j.b.getTransferEligibleAmount(kQt);
final kQL kql = this.p;
Objects.requireNonNull(kql);
return transferEligibleAmount.map(new fSS(kql) { // from class: o.GLj
private kQL c;
@Override // o.fSS
public final Object a(Object obj) {
return kQL.c((C15603gzW) obj);
}
{
this.c = kql;
}
});
}
@Override // o.DSR
public final AbstractC13163fSk<aQE> c(yDO ydo) {
AbstractC13163fSk<ASD> deejungTransferPlans = this.j.b.getDeejungTransferPlans(ydo);
final C1894aRa c1894aRa = this.k;
Objects.requireNonNull(c1894aRa);
return deejungTransferPlans.map(new fSS(c1894aRa) { // from class: o.dSo
private C1894aRa a;
@Override // o.fSS
public final Object a(Object obj) {
C14851gaI c14851gaI;
ASD asd = (ASD) obj;
C14957gcv.e(asd, "");
List<C3560azp> list = asd.d;
if (list != null) {
List<C3560azp> list2 = list;
C14957gcv.e(list2, "");
ArrayList arrayList = new ArrayList(list2 instanceof Collection ? list2.size() : 10);
for (C3560azp c3560azp : list2) {
hAn han = new hAn();
C15104ghK c15104ghK = c3560azp.j;
han.i = c15104ghK == null ? null : new CoP(c15104ghK.a, c15104ghK.b, c15104ghK.c);
han.h = c3560azp.f;
han.k = c3560azp.h;
han.g = c3560azp.g;
han.t = c3560azp.r;
han.n = c3560azp.m;
han.l = c3560azp.n;
han.f9155o = c3560azp.l;
han.j = c3560azp.i;
han.c = c3560azp.d;
han.b = c3560azp.b;
han.d = c3560azp.c;
han.q = c3560azp.q;
han.m = c3560azp.k;
han.r = c3560azp.f8528o;
han.f = c3560azp.a;
arrayList.add(han);
}
c14851gaI = arrayList;
} else {
c14851gaI = C14851gaI.c;
}
String str = asd.c;
return new aQE(c14851gaI, str != null ? str : "");
}
{
this.a = c1894aRa;
}
});
}
@Override // o.DSR
public final AbstractC13163fSk<KNG> b(yDO ydo) {
AbstractC13163fSk<hex> minFullTransferPlans = this.j.b.getMinFullTransferPlans(ydo);
final UGv uGv = this.s;
Objects.requireNonNull(uGv);
return minFullTransferPlans.map(new fSS(uGv) { // from class: o.LLV
private UGv e;
@Override // o.fSS
public final Object a(Object obj) {
C14851gaI c14851gaI;
hex hexVar = (hex) obj;
C14957gcv.e(hexVar, "");
List<KRT> list = hexVar.b;
if (list != null) {
List<KRT> list2 = list;
C14957gcv.e(list2, "");
ArrayList arrayList = new ArrayList(list2 instanceof Collection ? list2.size() : 10);
for (KRT krt : list2) {
Double d = krt.d;
double d2 = 0.0d;
double doubleValue = d != null ? d.doubleValue() : 0.0d;
Double d3 = krt.c;
double doubleValue2 = d3 != null ? d3.doubleValue() : 0.0d;
Double d4 = krt.a;
double doubleValue3 = d4 != null ? d4.doubleValue() : 0.0d;
Double d5 = krt.e;
double doubleValue4 = d5 != null ? d5.doubleValue() : 0.0d;
Double d6 = krt.b;
if (d6 != null) {
d2 = d6.doubleValue();
}
arrayList.add(new C2417aeH(doubleValue, doubleValue2, doubleValue3, doubleValue4, d2));
}
c14851gaI = arrayList;
} else {
c14851gaI = C14851gaI.c;
}
String str = hexVar.d;
return new KNG(c14851gaI, str != null ? str : "");
}
{
this.e = uGv;
}
});
}
@Override // o.DSR
public final AbstractC13175fSw<List<oTS>> d(cNC cnc) {
return new C13372fYk(new C13372fYk(this.j.b.getAmortizationList(cnc).singleOrError(), new fSS() { // from class: o.NGD
@Override // o.fSS
public final Object a(Object obj) {
return (zjF) ((SingleDataEntity) obj).getData();
}
}), new fSS() { // from class: o.wGz
@Override // o.fSS
public final Object a(Object obj) {
return Iwr.a((zjF) obj);
}
});
}
@Override // o.DSR
public final AbstractC13163fSk<CGj> e(C17005tCW c17005tCW) {
AbstractC13163fSk<C16388nrE> generateTokenForDeejungTransfer = this.j.b.generateTokenForDeejungTransfer(c17005tCW);
final FBo fBo = this.t;
Objects.requireNonNull(fBo);
return generateTokenForDeejungTransfer.map(new fSS(fBo) { // from class: o.YSP
private FBo c;
@Override // o.fSS
public final Object a(Object obj) {
return FBo.c((C16388nrE) obj);
}
{
this.c = fBo;
}
});
}
@Override // o.DSR
public final AbstractC13163fSk<C6357cQd> e(String str, String str2, String str3, boolean z) {
ZTU ztu = this.j;
AbstractC13163fSk<iMM> deejungTransferInstallmentsConfirmation = ztu.b.getDeejungTransferInstallmentsConfirmation(str, str2, str3, new YPm(this.w, z));
final mLF mlf = this.n;
Objects.requireNonNull(mlf);
return deejungTransferInstallmentsConfirmation.map(new fSS(mlf) { // from class: o.XTV
private mLF c;
@Override // o.fSS
public final Object a(Object obj) {
return mLF.d((iMM) obj);
}
{
this.c = mlf;
}
});
}
@Override // o.DSR
public final AbstractC13163fSk<RkK> c(String str, String str2, String str3, boolean z) {
ZTU ztu = this.j;
AbstractC13163fSk<VdB> deejungTransferMinFullConfirmation = ztu.b.getDeejungTransferMinFullConfirmation(str, str2, str3, new YPm(this.w, z));
final mLF mlf = this.n;
Objects.requireNonNull(mlf);
return deejungTransferMinFullConfirmation.map(new fSS(mlf) { // from class: o.mrR
private mLF a;
@Override // o.fSS
public final Object a(Object obj) {
return mLF.a((VdB) obj);
}
{
this.a = mlf;
}
});
}
@Override // o.DSR
public final AbstractC13175fSw<List<BmP>> b(C15584guk c15584guk) {
return new C13372fYk(new C13372fYk(this.j.b.getAvailableCycles(c15584guk), new fSS() { // from class: o.uoB
@Override // o.fSS
public final Object a(Object obj) {
return (UHq) ((SingleDataEntity) obj).getData();
}
}), new fSS() { // from class: o.wTy
@Override // o.fSS
public final Object a(Object obj) {
List<C1043UiD> list;
BmP bmP;
ArrayList arrayList;
rJD rjd;
UHq uHq = (UHq) obj;
if (uHq == null || (list = uHq.d) == null) {
return null;
}
ArrayList arrayList2 = new ArrayList();
for (C1043UiD c1043UiD : list) {
c1043UiD.a = uHq.b;
if (c1043UiD != null) {
bmP = new BmP();
bmP.e = c1043UiD.a;
bmP.b = c1043UiD.d;
List<veQ> list2 = c1043UiD.b;
if (list2 != null) {
ArrayList arrayList3 = new ArrayList();
for (veQ veq : list2) {
if (veq != null) {
rjd = new rJD();
rjd.a = veq.b;
rjd.c = veq.e;
rjd.b = C14957gcv.b(veq.c, Boolean.TRUE);
} else {
rjd = null;
}
if (rjd != null) {
arrayList3.add(rjd);
}
}
arrayList = arrayList3;
} else {
arrayList = null;
}
bmP.c = arrayList;
} else {
bmP = null;
}
if (bmP != null) {
arrayList2.add(bmP);
}
}
return arrayList2;
}
});
}
@Override // o.DSR
public final AbstractC13175fSw<String> b(C10493eFt c10493eFt) {
return new C13372fYk(new C13372fYk(this.j.b.sendEStatementToEmail(c10493eFt), new fSS() { // from class: o.uhx
@Override // o.fSS
public final Object a(Object obj) {
return (C16357nhU) ((SingleDataEntity) obj).getData();
}
}), new fSS() { // from class: o.JDH
@Override // o.fSS
public final Object a(Object obj) {
return ((C16357nhU) obj).a;
}
});
}
@Override // o.DSR
public final AbstractC13175fSw<C8822dWx> b(C16795rLc c16795rLc) {
C13372fYk c13372fYk = new C13372fYk(this.j.b.getStatementCurrentChannel(c16795rLc), new fSS() { // from class: o.ccR
@Override // o.fSS
public final Object a(Object obj) {
return (GrD) ((SingleDataEntity) obj).getData();
}
});
final jUm jum = this.u;
Objects.requireNonNull(jum);
return new C13372fYk(c13372fYk, new fSS(jum) { // from class: o.Vjo
private jUm b;
@Override // o.fSS
public final Object a(Object obj) {
return jUm.b((GrD) obj);
}
{
this.b = jum;
}
});
}
@Override // o.DSR
public final AbstractC13175fSw<qgo> a(XHo xHo) {
C13372fYk c13372fYk = new C13372fYk(this.j.b.changeStatementChannel(xHo), new fSS() { // from class: o.aUE
@Override // o.fSS
public final Object a(Object obj) {
return (C3792bGu) ((SingleDataEntity) obj).getData();
}
});
final jUm jum = this.u;
Objects.requireNonNull(jum);
return new C13372fYk(c13372fYk, new fSS(jum) { // from class: o.bCr
private jUm e;
@Override // o.fSS
public final Object a(Object obj) {
C3792bGu c3792bGu = (C3792bGu) obj;
C14957gcv.e(c3792bGu, "");
qgo qgoVar = new qgo();
String str = c3792bGu.d;
if (str == null) {
str = "";
}
qgoVar.a = str;
String str2 = c3792bGu.c;
if (str2 == null) {
str2 = "";
}
qgoVar.e = str2;
String str3 = c3792bGu.e;
if (str3 == null) {
str3 = "";
}
qgoVar.d = str3;
String str4 = c3792bGu.b;
if (str4 == null) {
str4 = "";
}
qgoVar.b = str4;
List<HqN> list = c3792bGu.a;
ArrayList arrayList = new ArrayList();
if (list != null) {
List<HqN> list2 = list;
C14957gcv.e(list2, "");
ArrayList arrayList2 = new ArrayList(list2 instanceof Collection ? list2.size() : 10);
Iterator<T> it = list2.iterator();
while (it.hasNext()) {
String str5 = ((HqN) it.next()).c;
if (str5 == null) {
str5 = "";
}
arrayList2.add(Boolean.valueOf(arrayList.add(str5)));
}
}
qgoVar.c = arrayList;
return qgoVar;
}
{
this.e = jum;
}
});
}
@Override // o.DSR
public final AbstractC13175fSw<LlL> b(vSV vsv) {
C13372fYk c13372fYk = new C13372fYk(this.j.b.getECommerceInquiry(vsv), new fSS() { // from class: o.nJn
@Override // o.fSS
public final Object a(Object obj) {
return (aVJ) ((SingleDataEntity) obj).getData();
}
});
final C14903gbe c14903gbe = this.r;
Objects.requireNonNull(c14903gbe);
return new C13372fYk(c13372fYk, new fSS(c14903gbe) { // from class: o.LMe
private C14903gbe d;
@Override // o.fSS
public final Object a(Object obj) {
return C14903gbe.d((aVJ) obj);
}
{
this.d = c14903gbe;
}
});
}
@Override // o.DSR
public final AbstractC13175fSw<C3546azb> d(VCe vCe) {
C13372fYk c13372fYk = new C13372fYk(this.j.b.updateECommerceStatus(vCe), new fSS() { // from class: o.qyf
@Override // o.fSS
public final Object a(Object obj) {
return (KDX) ((SingleDataEntity) obj).getData();
}
});
final GoP goP = this.q;
Objects.requireNonNull(goP);
return new C13372fYk(c13372fYk, new fSS(goP) { // from class: o.aul
private GoP c;
@Override // o.fSS
public final Object a(Object obj) {
return GoP.d((KDX) obj);
}
{
this.c = goP;
}
});
}
@Override // o.DSR
public final AbstractC13163fSk<VNK> d(krX krx) {
AbstractC13163fSk<Vrq> submitCdxCreditLimitUpdate = this.j.b.submitCdxCreditLimitUpdate(krx);
final ANX anx = this.h;
Objects.requireNonNull(anx);
return submitCdxCreditLimitUpdate.map(new fSS(anx) { // from class: o.zoE
private ANX b;
@Override // o.fSS
public final Object a(Object obj) {
return ANX.c((Vrq) obj);
}
{
this.b = anx;
}
});
}
@Override // o.DSR
public final void d() {
this.a.c = "";
}
@Override // o.DSR
public final AbstractC13163fSk<yGy> e(C15633hKf c15633hKf) {
ZTU ztu = this.j;
DiG.e("1001");
AbstractC13163fSk<NKQ> doFinally = ztu.b.getCdxTempLimitCriteria(c15633hKf).doFinally(new Cbf());
final C16650pxR c16650pxR = this.i;
Objects.requireNonNull(c16650pxR);
return doFinally.map(new fSS(c16650pxR) { // from class: o.nMf
private C16650pxR d;
@Override // o.fSS
public final Object a(Object obj) {
return C16650pxR.b((NKQ) obj);
}
{
this.d = c16650pxR;
}
});
}
@Override // o.DSR
public final String a() {
return this.a.c;
}
}