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

160 lines
5.9 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import com.scb.phone.domain.errors.RetrofitException;
import java.util.ArrayList;
import o.C0690Mh;
import o.C15715hv;
import o.C4618bda;
import o.ZI;
/* renamed from: o.bda, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public final class C4618bda extends ZI<InterfaceC9198dfG> {
public final C15735iD b;
private final C16776rD c;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C4618bda(C16903sI c16903sI, C16776rD c16776rD, C15735iD c15735iD) {
super(c16903sI);
C14957gcv.e(c16903sI, "");
C14957gcv.e(c16776rD, "");
C14957gcv.e(c15735iD, "");
this.c = c16776rD;
this.b = c15735iD;
}
/* renamed from: o.bda$HBt */
/* loaded from: classes4.dex */
public static final class HBt {
private HBt() {
}
public /* synthetic */ HBt(byte b) {
this();
}
}
/* renamed from: o.bda$IeS */
/* loaded from: classes4.dex */
public static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
private C4618bda a;
private boolean b;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
C13396fZU c13396fZU;
ggV ggv;
Throwable th2 = th;
C14957gcv.e(th2, "");
if (th2 instanceof RetrofitException) {
RetrofitException retrofitException = (RetrofitException) th2;
VCl vCl = retrofitException.e;
if (C14957gcv.b((Object) "9300", (Object) ((vCl == null || (ggv = vCl.c) == null) ? null : ggv.e))) {
C16776rD c16776rD = this.a.c;
boolean z = this.b;
C14957gcv.e(retrofitException, "");
if (z) {
String string = c16776rD.b.getString(C15715hv.tOB.loan_tracking_no_loan_message);
ArrayList c = C14881gav.c(c16776rD.b.getString(C15715hv.tOB.loan_tracking_no_loan_scb_contact), c16776rD.b.getString(C15715hv.tOB.loan_tracking_no_loan_cardx_contact));
int dimensionPixelSize = c16776rD.b.getDimensionPixelSize(C15715hv.RVV.default_margin_8);
CharSequence charSequence = (CharSequence) C6583cXR.c(new Object[]{Integer.valueOf(dimensionPixelSize), c}, -1984242070, 1984242084, dimensionPixelSize);
C14957gcv.c(charSequence, "");
c13396fZU = new C13396fZU(string, charSequence);
} else {
c13396fZU = new C13396fZU(retrofitException.e.c.c, "");
}
final CharSequence charSequence2 = (CharSequence) c13396fZU.d;
final CharSequence charSequence3 = (CharSequence) c13396fZU.e;
C4618bda c4618bda = this.a;
ZI.IeS ieS = new ZI.IeS(charSequence2, charSequence3) { // from class: o.bcY
private CharSequence c;
private CharSequence d;
@Override // o.ZI.IeS
public final void e(Object obj) {
C4618bda.IeS.d(this.d, this.c, (InterfaceC9198dfG) obj);
}
{
this.d = charSequence2;
this.c = charSequence3;
}
};
if (c4618bda.f != 0) {
ieS.e(c4618bda.f);
}
return C14866gag.c;
}
}
C4618bda.e(this.a, th2, C0690Mh.IeS.NAVIGATE_BACK);
return C14866gag.c;
}
public static /* synthetic */ void d(CharSequence charSequence, CharSequence charSequence2, InterfaceC9198dfG interfaceC9198dfG) {
C14957gcv.e(charSequence, "");
C14957gcv.e(charSequence2, "");
interfaceC9198dfG.ar_();
interfaceC9198dfG.e(charSequence, charSequence2);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public IeS(C4618bda c4618bda, boolean z) {
super(1);
this.a = c4618bda;
this.b = z;
}
}
/* renamed from: o.bda$RVV */
/* loaded from: classes4.dex */
public static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR<LK, C14866gag> {
private C4618bda c;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(LK lk) {
final LK lk2 = lk;
C14957gcv.e(lk2, "");
C4618bda c4618bda = this.c;
ZI.IeS ieS = new ZI.IeS(lk2) { // from class: o.bcZ
private LK a;
@Override // o.ZI.IeS
public final void e(Object obj) {
C4618bda.RVV.a(this.a, (InterfaceC9198dfG) obj);
}
{
this.a = lk2;
}
};
if (c4618bda.f != 0) {
ieS.e(c4618bda.f);
}
return C14866gag.c;
}
public static /* synthetic */ void a(LK lk, InterfaceC9198dfG interfaceC9198dfG) {
C14957gcv.e(lk, "");
interfaceC9198dfG.ar_();
interfaceC9198dfG.c(lk);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public RVV(C4618bda c4618bda) {
super(1);
this.c = c4618bda;
}
}
public static final /* synthetic */ void e(C4618bda c4618bda, Throwable th, C0690Mh.IeS ieS) {
if (c4618bda.b(th)) {
c4618bda.d(c4618bda.j.d(th, ieS));
}
}
static {
new HBt((byte) 0);
}
}