402 lines
12 KiB
Java
402 lines
12 KiB
Java
package com.scb.phone.presentation.presenter.emailverification;
|
|
|
|
import com.scb.phone.presentation.presenter.emailverification.EmailOtpPresenter;
|
|
import o.C0693Mj;
|
|
import o.C0695Ml;
|
|
import o.C16157lj;
|
|
import o.C16903sI;
|
|
import o.C16904sJ;
|
|
import o.C17258vKi;
|
|
import o.C5331bqy;
|
|
import o.FHl;
|
|
import o.GDQ;
|
|
import o.InterfaceC13391fZD;
|
|
import o.MoA;
|
|
import o.ZI;
|
|
import o.cZQ;
|
|
import o.qbg;
|
|
import o.wRi;
|
|
import o.zCz;
|
|
|
|
/* loaded from: classes4.dex */
|
|
public class EmailOtpPresenter extends ZI<cZQ.HBt> {
|
|
public final C5331bqy a;
|
|
public boolean b;
|
|
public final zCz c;
|
|
public final MoA d;
|
|
public String e;
|
|
public String g;
|
|
|
|
@InterfaceC13391fZD
|
|
public FHl getUserProfileUseCase;
|
|
public String h;
|
|
public long i;
|
|
private final C16904sJ k;
|
|
|
|
@InterfaceC13391fZD
|
|
public EmailOtpPresenter(MoA moA, C16903sI c16903sI, zCz zcz, C5331bqy c5331bqy, C16904sJ c16904sJ) {
|
|
super(c16903sI);
|
|
this.d = moA;
|
|
this.c = zcz;
|
|
this.a = c5331bqy;
|
|
this.k = c16904sJ;
|
|
}
|
|
|
|
/* loaded from: classes4.dex */
|
|
public final class RVV extends wRi.LWm<GDQ> {
|
|
private EmailOtpPresenter e;
|
|
|
|
private RVV(EmailOtpPresenter emailOtpPresenter) {
|
|
this.e = emailOtpPresenter;
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final /* synthetic */ void onNext(Object obj) {
|
|
final GDQ gdq = (GDQ) obj;
|
|
if (this.e.f != 0) {
|
|
this.e.g = gdq.a;
|
|
this.e.h = gdq.c;
|
|
EmailOtpPresenter emailOtpPresenter = this.e;
|
|
ZI.IeS ieS = new ZI.IeS(this, gdq) { // from class: o.beP
|
|
private GDQ c;
|
|
private EmailOtpPresenter.RVV d;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj2) {
|
|
((cZQ.HBt) obj2).c(this.d.e.e, this.c.c);
|
|
}
|
|
|
|
{
|
|
this.d = this;
|
|
this.c = gdq;
|
|
}
|
|
};
|
|
if (emailOtpPresenter.f != 0) {
|
|
ieS.e(emailOtpPresenter.f);
|
|
}
|
|
EmailOtpPresenter emailOtpPresenter2 = this.e;
|
|
ZI.IeS ieS2 = new ZI.IeS(this) { // from class: o.beS
|
|
private EmailOtpPresenter.RVV b;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj2) {
|
|
((cZQ.HBt) obj2).b(this.b.e.e);
|
|
}
|
|
|
|
{
|
|
this.b = this;
|
|
}
|
|
};
|
|
if (emailOtpPresenter2.f != 0) {
|
|
ieS2.e(emailOtpPresenter2.f);
|
|
}
|
|
}
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final void onComplete() {
|
|
if (this.e.f != 0) {
|
|
EmailOtpPresenter.a(this.e);
|
|
}
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final void onError(Throwable th) {
|
|
if (this.e.f != 0) {
|
|
EmailOtpPresenter.i(this.e);
|
|
final C0693Mj e = this.e.j.e(th);
|
|
if (e != null) {
|
|
EmailOtpPresenter emailOtpPresenter = this.e;
|
|
ZI.IeS ieS = new ZI.IeS(e) { // from class: o.beR
|
|
private C0693Mj d;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
((cZQ.HBt) obj).a(this.d.c);
|
|
}
|
|
|
|
{
|
|
this.d = e;
|
|
}
|
|
};
|
|
if (emailOtpPresenter.f != 0) {
|
|
ieS.e(emailOtpPresenter.f);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
public /* synthetic */ RVV(EmailOtpPresenter emailOtpPresenter, byte b) {
|
|
this(emailOtpPresenter);
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes4.dex */
|
|
public final class HBt extends wRi.LWm<qbg> {
|
|
private EmailOtpPresenter d;
|
|
|
|
private HBt(EmailOtpPresenter emailOtpPresenter) {
|
|
this.d = emailOtpPresenter;
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final /* synthetic */ void onNext(Object obj) {
|
|
final qbg qbgVar = (qbg) obj;
|
|
if (this.d.f != 0) {
|
|
this.d.d.a();
|
|
EmailOtpPresenter emailOtpPresenter = this.d;
|
|
ZI.IeS ieS = new ZI.IeS(this, qbgVar) { // from class: o.beY
|
|
private qbg a;
|
|
private EmailOtpPresenter.HBt e;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj2) {
|
|
EmailOtpPresenter.HBt.b(this.e, this.a, (cZQ.HBt) obj2);
|
|
}
|
|
|
|
{
|
|
this.e = this;
|
|
this.a = qbgVar;
|
|
}
|
|
};
|
|
if (emailOtpPresenter.f != 0) {
|
|
ieS.e(emailOtpPresenter.f);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ void b(HBt hBt, qbg qbgVar, cZQ.HBt hBt2) {
|
|
C16904sJ c16904sJ = hBt.d.k;
|
|
hBt2.c(new C0695Ml(qbgVar.b == null ? "" : (String) C16157lj.c(new Object[]{c16904sJ, qbgVar.b}, 838289628, -838289623, System.identityHashCode(c16904sJ))));
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final void onComplete() {
|
|
if (this.d.f != 0) {
|
|
EmailOtpPresenter.j(this.d);
|
|
}
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final void onError(Throwable th) {
|
|
if (this.d.f != 0) {
|
|
EmailOtpPresenter.g(this.d);
|
|
final C0693Mj e = this.d.j.e(th);
|
|
if (e != null) {
|
|
EmailOtpPresenter emailOtpPresenter = this.d;
|
|
ZI.IeS ieS = new ZI.IeS(e) { // from class: o.beV
|
|
private C0693Mj a;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
((cZQ.HBt) obj).a(this.a.c);
|
|
}
|
|
|
|
{
|
|
this.a = e;
|
|
}
|
|
};
|
|
if (emailOtpPresenter.f != 0) {
|
|
ieS.e(emailOtpPresenter.f);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
public /* synthetic */ HBt(EmailOtpPresenter emailOtpPresenter, byte b) {
|
|
this(emailOtpPresenter);
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes4.dex */
|
|
public final class IeS extends wRi.LWm<Void> {
|
|
private EmailOtpPresenter d;
|
|
|
|
private IeS(EmailOtpPresenter emailOtpPresenter) {
|
|
this.d = emailOtpPresenter;
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final void onComplete() {
|
|
super.onComplete();
|
|
EmailOtpPresenter emailOtpPresenter = this.d;
|
|
ZI.IeS ieS = new ZI.IeS(this) { // from class: o.beX
|
|
private EmailOtpPresenter.IeS b;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
((cZQ.HBt) obj).c(this.b.d.e);
|
|
}
|
|
|
|
{
|
|
this.b = this;
|
|
}
|
|
};
|
|
if (emailOtpPresenter.f != 0) {
|
|
ieS.e(emailOtpPresenter.f);
|
|
}
|
|
EmailOtpPresenter.o(this.d);
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final void onError(Throwable th) {
|
|
if (this.d.f != 0) {
|
|
EmailOtpPresenter.k(this.d);
|
|
final C0693Mj e = this.d.j.e(th);
|
|
if (e != null) {
|
|
EmailOtpPresenter emailOtpPresenter = this.d;
|
|
ZI.IeS ieS = new ZI.IeS(e) { // from class: o.beZ
|
|
private C0693Mj a;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
((cZQ.HBt) obj).a(this.a.c);
|
|
}
|
|
|
|
{
|
|
this.a = e;
|
|
}
|
|
};
|
|
if (emailOtpPresenter.f != 0) {
|
|
ieS.e(emailOtpPresenter.f);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
public /* synthetic */ IeS(EmailOtpPresenter emailOtpPresenter, byte b) {
|
|
this(emailOtpPresenter);
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes4.dex */
|
|
public final class LWm extends wRi.LWm<C17258vKi> {
|
|
private EmailOtpPresenter b;
|
|
|
|
private LWm(EmailOtpPresenter emailOtpPresenter) {
|
|
this.b = emailOtpPresenter;
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final /* synthetic */ void onNext(Object obj) {
|
|
C17258vKi c17258vKi = (C17258vKi) obj;
|
|
this.b.g = c17258vKi.d;
|
|
this.b.h = c17258vKi.e;
|
|
EmailOtpPresenter emailOtpPresenter = this.b;
|
|
ZI.IeS ieS = new ZI.IeS(this) { // from class: o.beQ
|
|
private EmailOtpPresenter.LWm e;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj2) {
|
|
((cZQ.HBt) obj2).c(r0.b.e, this.e.b.h);
|
|
}
|
|
|
|
{
|
|
this.e = this;
|
|
}
|
|
};
|
|
if (emailOtpPresenter.f != 0) {
|
|
ieS.e(emailOtpPresenter.f);
|
|
}
|
|
EmailOtpPresenter emailOtpPresenter2 = this.b;
|
|
ZI.IeS ieS2 = new ZI.IeS(this) { // from class: o.beW
|
|
private EmailOtpPresenter.LWm d;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj2) {
|
|
((cZQ.HBt) obj2).b(this.d.b.e);
|
|
}
|
|
|
|
{
|
|
this.d = this;
|
|
}
|
|
};
|
|
if (emailOtpPresenter2.f != 0) {
|
|
ieS2.e(emailOtpPresenter2.f);
|
|
}
|
|
EmailOtpPresenter.n(this.b);
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final void onError(Throwable th) {
|
|
EmailOtpPresenter.f(this.b);
|
|
EmailOtpPresenter.a(this.b, th);
|
|
}
|
|
|
|
public /* synthetic */ LWm(EmailOtpPresenter emailOtpPresenter, byte b) {
|
|
this(emailOtpPresenter);
|
|
}
|
|
}
|
|
|
|
static /* synthetic */ void a(EmailOtpPresenter emailOtpPresenter) {
|
|
if (emailOtpPresenter.f != 0) {
|
|
emailOtpPresenter.f.ar_();
|
|
}
|
|
}
|
|
|
|
static /* synthetic */ void i(EmailOtpPresenter emailOtpPresenter) {
|
|
if (emailOtpPresenter.f != 0) {
|
|
emailOtpPresenter.f.ar_();
|
|
}
|
|
}
|
|
|
|
static /* synthetic */ void f(EmailOtpPresenter emailOtpPresenter) {
|
|
if (emailOtpPresenter.f != 0) {
|
|
emailOtpPresenter.f.ar_();
|
|
}
|
|
}
|
|
|
|
static /* synthetic */ void a(EmailOtpPresenter emailOtpPresenter, Throwable th) {
|
|
if (emailOtpPresenter.b(th)) {
|
|
emailOtpPresenter.d(emailOtpPresenter.j.e(th));
|
|
}
|
|
}
|
|
|
|
static /* synthetic */ void j(EmailOtpPresenter emailOtpPresenter) {
|
|
if (emailOtpPresenter.f != 0) {
|
|
emailOtpPresenter.f.ar_();
|
|
}
|
|
}
|
|
|
|
static /* synthetic */ void g(EmailOtpPresenter emailOtpPresenter) {
|
|
if (emailOtpPresenter.f != 0) {
|
|
emailOtpPresenter.f.ar_();
|
|
}
|
|
}
|
|
|
|
static /* synthetic */ void o(EmailOtpPresenter emailOtpPresenter) {
|
|
if (emailOtpPresenter.f != 0) {
|
|
emailOtpPresenter.f.ar_();
|
|
}
|
|
}
|
|
|
|
static /* synthetic */ void k(EmailOtpPresenter emailOtpPresenter) {
|
|
if (emailOtpPresenter.f != 0) {
|
|
emailOtpPresenter.f.ar_();
|
|
}
|
|
}
|
|
|
|
static /* synthetic */ void n(EmailOtpPresenter emailOtpPresenter) {
|
|
if (emailOtpPresenter.f != 0) {
|
|
emailOtpPresenter.f.ar_();
|
|
}
|
|
}
|
|
|
|
@Override // o.ZI
|
|
public final void w_() {
|
|
C5331bqy c5331bqy = this.a;
|
|
if (!c5331bqy.h.isDisposed()) {
|
|
c5331bqy.h.dispose();
|
|
}
|
|
zCz zcz = this.c;
|
|
if (!zcz.h.isDisposed()) {
|
|
zcz.h.dispose();
|
|
}
|
|
MoA moA = this.d;
|
|
if (!moA.h.isDisposed()) {
|
|
moA.h.dispose();
|
|
}
|
|
super.w_();
|
|
}
|
|
}
|