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

167 lines
5.4 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import o.ZI;
import o.aGZ;
import o.cYO;
import o.wRi;
/* loaded from: classes4.dex */
public class aGZ extends ZI<cYO.HBt> {
private final C0310Dw a;
private final InterfaceC3521azC d;
public final xNu e;
@InterfaceC13391fZD
public aGZ(C16903sI c16903sI, xNu xnu, C0310Dw c0310Dw, InterfaceC3521azC interfaceC3521azC) {
super(c16903sI);
this.e = xnu;
this.a = c0310Dw;
this.d = interfaceC3521azC;
}
/* loaded from: classes4.dex */
public class HBt extends wRi.LWm<C13396fZU<oHO, C17671ymh>> {
private aGZ c;
private HBt(aGZ agz) {
this.c = agz;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
aGZ.d(this.c);
C0310Dw c0310Dw = this.c.a;
final C1194Xs c1194Xs = (C1194Xs) C0310Dw.d(new Object[]{c0310Dw, (C13396fZU) obj}, 456059518, -456059516, System.identityHashCode(c0310Dw));
aGZ agz = this.c;
ZI.IeS ieS = new ZI.IeS(c1194Xs) { // from class: o.aHb
private C1194Xs c;
@Override // o.ZI.IeS
public final void e(Object obj2) {
aGZ.HBt.c(this.c, (cYO.HBt) obj2);
}
{
this.c = c1194Xs;
}
};
if (agz.f != 0) {
ieS.e(agz.f);
}
}
/* JADX INFO: Access modifiers changed from: package-private */
public static /* synthetic */ void c(C1194Xs c1194Xs, cYO.HBt hBt) {
String str;
if (gjJ.d((CharSequence) c1194Xs.ab)) {
str = c1194Xs.ab.replace(" ", "");
if (str.length() > 100) {
str = str.substring(0, 100);
}
} else {
str = null;
}
hBt.e(c1194Xs, str);
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(final Throwable th) {
aGZ agz = this.c;
ZI.IeS ieS = new ZI.IeS(this, th) { // from class: o.aGY
private Throwable c;
private aGZ.HBt d;
@Override // o.ZI.IeS
public final void e(Object obj) {
aGZ.HBt.d(this.d, this.c, (cYO.HBt) obj);
}
{
this.d = this;
this.c = th;
}
};
if (agz.f != 0) {
ieS.e(agz.f);
}
}
/* JADX WARN: Removed duplicated region for block: B:10:0x0022 */
/* JADX WARN: Removed duplicated region for block: B:13:0x002d */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public static /* synthetic */ void d(final o.aGZ.HBt r2, java.lang.Throwable r3, final o.cYO.HBt r4) {
/*
boolean r0 = r3 instanceof com.scb.phone.domain.errors.RetrofitException
if (r0 == 0) goto L18
r0 = r3
com.scb.phone.domain.errors.RetrofitException r0 = (com.scb.phone.domain.errors.RetrofitException) r0
o.VCl r1 = r0.e
if (r1 == 0) goto L18
o.VCl r1 = r0.e
o.ggV r1 = r1.c
if (r1 == 0) goto L18
o.VCl r0 = r0.e
o.ggV r0 = r0.c
java.lang.String r0 = r0.e
goto L1a
L18:
java.lang.String r0 = ""
L1a:
java.lang.String r1 = "3012"
boolean r0 = r0.equals(r1)
if (r0 == 0) goto L2d
o.aGZ r0 = r2.c
o.aGX r1 = new o.aGX
r1.<init>(r2, r4)
o.aGZ.d(r0, r3, r1)
return
L2d:
boolean r0 = r3 instanceof java.lang.IllegalArgumentException
if (r0 == 0) goto L66
o.aGZ r2 = r2.c
o.sI r2 = o.aGZ.a(r2)
int r3 = o.C15715hv.tOB.unable_to_proceed_error_title
int r0 = o.C15715hv.tOB.error_generic_resource
java.lang.String r3 = r2.e(r3)
java.lang.String r0 = r2.e(r0)
o.Mh$IeS r1 = o.C0690Mh.IeS.JUST_DISMISS
o.Mj r2 = r2.c(r3, r0, r1)
o.VCl r3 = o.VCl.b()
o.ggV r0 = o.ggV.d()
java.lang.String r1 = r2.d
r0.d = r1
java.lang.String r2 = r2.c
r0.c = r2
r3.c = r0
com.scb.phone.domain.errors.RetrofitException r2 = com.scb.phone.domain.errors.RetrofitException.c(r3)
r4.a_(r2)
r4.c()
return
L66:
r4.a_(r3)
return
*/
throw new UnsupportedOperationException("Method not decompiled: o.aGZ.HBt.d(o.aGZ$HBt, java.lang.Throwable, o.cYO$HBt):void");
}
public /* synthetic */ HBt(aGZ agz, byte b) {
this(agz);
}
}
static /* synthetic */ void d(aGZ agz) {
if (agz.f != 0) {
agz.f.ar_();
}
}
static /* synthetic */ void d(aGZ agz, Throwable th, Runnable runnable) {
if (agz.b(th)) {
agz.d(agz.j.c(th, runnable));
}
}
}