185 lines
5.5 KiB
Java
185 lines
5.5 KiB
Java
|
package o;
|
||
|
|
||
|
import com.scb.phone.domain.errors.RetrofitException;
|
||
|
import o.C0690Mh;
|
||
|
import o.C15715hv;
|
||
|
import o.C1712aMK;
|
||
|
import o.InterfaceC8965dam;
|
||
|
import o.ZI;
|
||
|
import o.wRi;
|
||
|
|
||
|
/* renamed from: o.aMK, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes4.dex */
|
||
|
public final class C1712aMK extends ZI<InterfaceC8965dam.HBt> {
|
||
|
public boolean a;
|
||
|
private final C17603yF b;
|
||
|
public String c;
|
||
|
public final CXm d;
|
||
|
private final JaU e;
|
||
|
|
||
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||
|
@InterfaceC13391fZD
|
||
|
public C1712aMK(C16903sI c16903sI, JaU jaU, CXm cXm, C17603yF c17603yF) {
|
||
|
super(c16903sI);
|
||
|
C14957gcv.e(c16903sI, "");
|
||
|
C14957gcv.e(jaU, "");
|
||
|
C14957gcv.e(cXm, "");
|
||
|
C14957gcv.e(c17603yF, "");
|
||
|
this.e = jaU;
|
||
|
this.d = cXm;
|
||
|
this.b = c17603yF;
|
||
|
this.c = "";
|
||
|
}
|
||
|
|
||
|
/* renamed from: o.aMK$LWm */
|
||
|
/* loaded from: classes4.dex */
|
||
|
public static final class LWm {
|
||
|
private LWm() {
|
||
|
}
|
||
|
|
||
|
public /* synthetic */ LWm(byte b) {
|
||
|
this();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* renamed from: o.aMK$HBt */
|
||
|
/* loaded from: classes4.dex */
|
||
|
public static final class HBt extends wRi.LWm<Boolean> {
|
||
|
private C1712aMK c;
|
||
|
|
||
|
public HBt(C1712aMK c1712aMK) {
|
||
|
this.c = c1712aMK;
|
||
|
}
|
||
|
|
||
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
||
|
public final /* synthetic */ void onNext(Object obj) {
|
||
|
boolean booleanValue = ((Boolean) obj).booleanValue();
|
||
|
super.onNext(Boolean.valueOf(booleanValue));
|
||
|
if (booleanValue) {
|
||
|
C1712aMK.a(this.c);
|
||
|
C17603yF unused = this.c.b;
|
||
|
final C1003Tl a = C17603yF.a(this.c.c, true);
|
||
|
C1712aMK c1712aMK = this.c;
|
||
|
ZI.IeS ieS = new ZI.IeS(a) { // from class: o.aMO
|
||
|
private C1003Tl c;
|
||
|
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj2) {
|
||
|
C1712aMK.HBt.d(this.c, (InterfaceC8965dam.HBt) obj2);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.c = a;
|
||
|
}
|
||
|
};
|
||
|
if (c1712aMK.f != 0) {
|
||
|
ieS.e(c1712aMK.f);
|
||
|
return;
|
||
|
}
|
||
|
return;
|
||
|
}
|
||
|
C1712aMK c1712aMK2 = this.c;
|
||
|
C16903sI c16903sI = c1712aMK2.j;
|
||
|
c1712aMK2.d(c16903sI.c((String) null, c16903sI.e(C15715hv.tOB.error_generic_resource), C0690Mh.IeS.JUST_DISMISS));
|
||
|
}
|
||
|
|
||
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
||
|
public final void onError(Throwable th) {
|
||
|
C14957gcv.e(th, "");
|
||
|
if ((th instanceof RetrofitException) && C14957gcv.b((Object) ((RetrofitException) th).e.c.e, (Object) "3037")) {
|
||
|
C1712aMK.a(this.c);
|
||
|
C1712aMK c1712aMK = this.c;
|
||
|
ZI.IeS ieS = new ZI.IeS() { // from class: o.aMP
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj) {
|
||
|
((InterfaceC8965dam.HBt) obj).a();
|
||
|
}
|
||
|
};
|
||
|
if (c1712aMK.f != 0) {
|
||
|
ieS.e(c1712aMK.f);
|
||
|
return;
|
||
|
}
|
||
|
return;
|
||
|
}
|
||
|
C1712aMK.b(this.c, th, C0690Mh.IeS.JUST_DISMISS);
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void d(C1003Tl c1003Tl, InterfaceC8965dam.HBt hBt) {
|
||
|
C14957gcv.c(c1003Tl, "");
|
||
|
hBt.e(c1003Tl);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void a(InterfaceC8965dam.HBt hBt) {
|
||
|
hBt.e();
|
||
|
hBt.e(false);
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void c(InterfaceC8965dam.HBt hBt) {
|
||
|
hBt.d();
|
||
|
hBt.e(false);
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void b(InterfaceC8965dam.HBt hBt) {
|
||
|
hBt.b();
|
||
|
hBt.e(true);
|
||
|
}
|
||
|
|
||
|
public static final /* synthetic */ void a(C1712aMK c1712aMK) {
|
||
|
if (c1712aMK.f != 0) {
|
||
|
c1712aMK.f.ar_();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static final /* synthetic */ void b(C1712aMK c1712aMK, Throwable th, C0690Mh.IeS ieS) {
|
||
|
if (c1712aMK.b(th)) {
|
||
|
c1712aMK.d(c1712aMK.j.d(th, ieS));
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public final void b(String str) {
|
||
|
C14957gcv.e(str, "");
|
||
|
this.c = str;
|
||
|
JaU jaU = this.e;
|
||
|
if (!gjJ.b((CharSequence) str) && jaU.c.matcher(str).matches() && !gjJ.b((CharSequence) str)) {
|
||
|
ZI.IeS ieS = new ZI.IeS() { // from class: o.aML
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj) {
|
||
|
C1712aMK.b((InterfaceC8965dam.HBt) obj);
|
||
|
}
|
||
|
};
|
||
|
if (this.f != 0) {
|
||
|
ieS.e(this.f);
|
||
|
return;
|
||
|
}
|
||
|
return;
|
||
|
}
|
||
|
if (gjJ.b((CharSequence) str)) {
|
||
|
ZI.IeS ieS2 = new ZI.IeS() { // from class: o.aMR
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj) {
|
||
|
C1712aMK.a((InterfaceC8965dam.HBt) obj);
|
||
|
}
|
||
|
};
|
||
|
if (this.f != 0) {
|
||
|
ieS2.e(this.f);
|
||
|
return;
|
||
|
}
|
||
|
return;
|
||
|
}
|
||
|
ZI.IeS ieS3 = new ZI.IeS() { // from class: o.aMQ
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj) {
|
||
|
C1712aMK.c((InterfaceC8965dam.HBt) obj);
|
||
|
}
|
||
|
};
|
||
|
if (this.f != 0) {
|
||
|
ieS3.e(this.f);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
static {
|
||
|
new LWm((byte) 0);
|
||
|
}
|
||
|
}
|