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

124 lines
3.5 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import com.google.gson.Gson;
import com.scb.phone.data.entity.transfer.SingleDataEntity;
import o.BHL;
import o.C16573pSL;
import o.C17686yrw;
import org.threeten.bp.OffsetDateTime;
@fZH
/* loaded from: classes.dex */
public final class xuA implements PEk {
final C17288vZN a;
BHL b;
private VJd c;
private C16573pSL d;
private final C17707zAQ e;
private final iHk i;
@InterfaceC13391fZD
public xuA(C17707zAQ c17707zAQ, iHk ihk, C17288vZN c17288vZN) {
this.e = c17707zAQ;
this.i = ihk;
this.a = c17288vZN;
}
@Override // o.PEk
public final AbstractC13163fSk<C16573pSL> a(C17443wnt c17443wnt) {
return this.e.e.confirmDealsBuy(c17443wnt).map(new fSS(this) { // from class: o.YHv
private xuA d;
@Override // o.fSS
public final Object a(Object obj) {
C17288vZN c17288vZN = this.d.a;
C0164AnM c0164AnM = (C0164AnM) ((SingleDataEntity) obj).getData();
C14957gcv.e(c0164AnM, "");
C16573pSL.LWm lWm = new C16573pSL.LWm((byte) 0);
lWm.b = (OffsetDateTime) ZTC.e(new Object[]{c0164AnM.c, null}, 267499366, -267499366, (int) System.currentTimeMillis());
lWm.e = c0164AnM.b;
lWm.d = c0164AnM.e;
lWm.c = c0164AnM.d;
C16573pSL c16573pSL = new C16573pSL(lWm, (byte) 0);
C14957gcv.c(c16573pSL, "");
return c16573pSL;
}
{
this.d = this;
}
});
}
@Override // o.PEk
public final AbstractC13163fSk<BHL> b(String str) {
C17686yrw c17686yrw = (C17686yrw) new Gson().fromJson(str, C17686yrw.class);
BHL.LWm lWm = new BHL.LWm((byte) 0);
lWm.d = c17686yrw.c;
lWm.b = c17686yrw.b;
lWm.g = c17686yrw.g;
lWm.j = c17686yrw.i;
lWm.m = c17686yrw.f9331o;
lWm.i = c17686yrw.h;
lWm.e = c17686yrw.a;
C17686yrw.RVV rvv = c17686yrw.l;
BHL.RVV.C0078RVV c0078rvv = new BHL.RVV.C0078RVV((byte) 0);
c0078rvv.d = rvv.b;
c0078rvv.a = rvv.c;
c0078rvv.b = rvv.d;
c0078rvv.f = rvv.g;
c0078rvv.c = rvv.a;
c0078rvv.e = rvv.e;
c0078rvv.j = rvv.j;
c0078rvv.g = rvv.f;
c0078rvv.i = rvv.h;
lWm.f8104o = new BHL.RVV(c0078rvv, (byte) 0);
lWm.l = c17686yrw.m;
String str2 = c17686yrw.f;
str2.hashCode();
lWm.f = !str2.equals("SME_DEAL") ? !str2.equals("DEAL_OF_THE_DAY") ? -1 : 1 : 0;
lWm.h = c17686yrw.j;
lWm.c = c17686yrw.d;
lWm.a = c17686yrw.e;
return AbstractC13163fSk.just(new BHL(lWm, (byte) 0)).map(new fSS(this) { // from class: o.Exr
private xuA d;
@Override // o.fSS
public final Object a(Object obj) {
BHL bhl = (BHL) obj;
this.d.b = bhl;
return bhl;
}
{
this.d = this;
}
});
}
@Override // o.PEk
public final void c(C16573pSL c16573pSL) {
this.d = c16573pSL;
}
@Override // o.PEk
public final void e(VJd vJd) {
this.c = vJd;
}
@Override // o.PEk
public final C16573pSL c() {
return this.d;
}
@Override // o.PEk
public final VJd e() {
return this.c;
}
@Override // o.PEk
public final BHL d() {
return this.b;
}
}