package o; import android.content.res.Resources; import com.facetec.sdk.FaceTecSessionResult; import com.scb.phone.domain.errors.RetrofitException; import java.io.File; import o.C16135la; import o.C16686qOT; import o.C4865biI; import o.ZI; /* renamed from: o.biI, reason: case insensitive filesystem */ /* loaded from: classes4.dex */ public final class C4865biI extends AbstractC4304bWR { public YI b; public C1247Yv d; public InterfaceC1248Yw e; private final EB k; private final C16135la m; @Override // o.AbstractC4304bWR public final void b(File file) { } @Override // o.AbstractC4304bWR public final void g(Throwable th) { } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public C4865biI(C16903sI c16903sI, mvt mvtVar, C15740iG c15740iG, Resources resources, C16135la c16135la, EB eb) { super(c16903sI, mvtVar, c15740iG, resources); C14957gcv.e(c16903sI, ""); C14957gcv.e(mvtVar, ""); C14957gcv.e(c15740iG, ""); C14957gcv.e(resources, ""); C14957gcv.e(c16135la, ""); C14957gcv.e(eb, ""); this.m = c16135la; this.k = eb; } /* renamed from: o.biI$Sts */ /* loaded from: classes4.dex */ public static final class Sts { private Sts() { } public /* synthetic */ Sts(byte b) { this(); } } @Override // o.AbstractC4304bWR public final void a(FaceTecSessionResult faceTecSessionResult, String str, String str2) { String str3; String str4; C12537fA c12537fA; String str5; C14957gcv.e(faceTecSessionResult, ""); C14957gcv.e(str, ""); C14957gcv.e(str2, ""); String valueOf = String.valueOf(System.currentTimeMillis()); String e = e(faceTecSessionResult.getAuditTrailCompressedBase64()[0], faceTecSessionResult.getLowQualityAuditTrailCompressedBase64()[0], valueOf); YI yi = this.b; if (yi == null || RVV.e[yi.ordinal()] != 1) { str3 = e; str4 = valueOf; EB eb = this.k; InterfaceC1248Yw interfaceC1248Yw = this.e; C14957gcv.e(faceTecSessionResult, ""); C14957gcv.e(str, ""); C14957gcv.e(str2, ""); C1241Yt c1241Yt = interfaceC1248Yw instanceof C1241Yt ? (C1241Yt) interfaceC1248Yw : null; String str6 = c1241Yt != null ? c1241Yt.c : null; String faceScanBase64 = faceTecSessionResult.getFaceScanBase64(); String[] auditTrailCompressedBase64 = faceTecSessionResult.getAuditTrailCompressedBase64(); C14957gcv.c(auditTrailCompressedBase64, ""); String[] strArr = auditTrailCompressedBase64; C14957gcv.e(strArr, ""); C14957gcv.e(strArr, ""); String str7 = strArr.length - 1 >= 0 ? strArr[0] : null; if (str7 == null) { str7 = ""; } String[] lowQualityAuditTrailCompressedBase64 = faceTecSessionResult.getLowQualityAuditTrailCompressedBase64(); C14957gcv.c(lowQualityAuditTrailCompressedBase64, ""); String[] strArr2 = lowQualityAuditTrailCompressedBase64; C14957gcv.e(strArr2, ""); C14957gcv.e(strArr2, ""); String str8 = strArr2.length - 1 >= 0 ? strArr2[0] : null; String str9 = str8 == null ? "" : str8; String h = interfaceC1248Yw != null ? interfaceC1248Yw.h() : null; String str10 = h == null ? "" : h; String g = interfaceC1248Yw != null ? interfaceC1248Yw.g() : null; String f = interfaceC1248Yw != null ? interfaceC1248Yw.f() : null; String d = interfaceC1248Yw != null ? interfaceC1248Yw.d() : null; String e2 = interfaceC1248Yw != null ? interfaceC1248Yw.e() : null; String i = interfaceC1248Yw != null ? interfaceC1248Yw.i() : null; String l = interfaceC1248Yw != null ? interfaceC1248Yw.l() : null; String b = interfaceC1248Yw != null ? interfaceC1248Yw.b() : null; String a = interfaceC1248Yw != null ? interfaceC1248Yw.a() : null; String str11 = a == null ? "" : a; String str12 = eb.e; String c = interfaceC1248Yw != null ? interfaceC1248Yw.c() : null; String j = interfaceC1248Yw != null ? interfaceC1248Yw.j() : null; C14957gcv.c((Object) faceScanBase64, ""); str5 = ""; c12537fA = new C12537fA(str, str2, faceScanBase64, str7, str9, str10, g, f, d, e2, i, l, b, str11, null, null, c, str12, j, str6); } else { EB eb2 = this.k; C1247Yv c1247Yv = this.d; C14957gcv.e(faceTecSessionResult, ""); C14957gcv.e(str, ""); C14957gcv.e(str2, ""); String faceScanBase642 = faceTecSessionResult.getFaceScanBase64(); String[] auditTrailCompressedBase642 = faceTecSessionResult.getAuditTrailCompressedBase64(); C14957gcv.c(auditTrailCompressedBase642, ""); String[] strArr3 = auditTrailCompressedBase642; C14957gcv.e(strArr3, ""); C14957gcv.e(strArr3, ""); String str13 = strArr3.length - 1 >= 0 ? strArr3[0] : null; String str14 = str13 == null ? "" : str13; String[] lowQualityAuditTrailCompressedBase642 = faceTecSessionResult.getLowQualityAuditTrailCompressedBase64(); C14957gcv.c(lowQualityAuditTrailCompressedBase642, ""); String[] strArr4 = lowQualityAuditTrailCompressedBase642; C14957gcv.e(strArr4, ""); C14957gcv.e(strArr4, ""); String str15 = strArr4.length - 1 >= 0 ? strArr4[0] : null; String str16 = str15 == null ? "" : str15; String str17 = c1247Yv != null ? c1247Yv.e : null; String str18 = str17 == null ? "" : str17; String str19 = c1247Yv != null ? c1247Yv.c : null; String str20 = c1247Yv != null ? c1247Yv.d : null; String str21 = str20 == null ? "" : str20; String str22 = c1247Yv != null ? c1247Yv.b : null; String str23 = c1247Yv != null ? c1247Yv.a : null; String str24 = eb2.e; C14957gcv.c((Object) faceScanBase642, ""); str3 = e; str4 = valueOf; c12537fA = new C12537fA(str, str2, faceScanBase642, str14, str16, str18, null, null, null, null, null, null, str19, str21, str22, str23, null, str24, null, null); str5 = ""; } C16135la c16135la = this.m; IeS ieS = new IeS(this); LWm lWm = new LWm(this); String str25 = str3; String str26 = str5; C14957gcv.c((Object) str25, str26); C14957gcv.e(ieS, str26); C14957gcv.e(lWm, str26); C14957gcv.e(c12537fA, str26); C14957gcv.e(str25, str26); String str27 = str4; C14957gcv.e(str27, str26); c16135la.d(c16135la.c, new C16135la.LWm(ieS), lWm, new C16686qOT.IeS(c12537fA, str25, str27)); } /* renamed from: o.biI$IeS */ /* loaded from: classes4.dex */ static final class IeS extends AbstractC14961gcz implements InterfaceC14890gbN { private C4865biI c; @Override // o.InterfaceC14890gbN public final /* synthetic */ C14866gag invoke() { final C4865biI c4865biI = this.c; ZI.IeS ieS = new ZI.IeS(c4865biI) { // from class: o.biK private C4865biI c; @Override // o.ZI.IeS public final void e(Object obj) { C4865biI.IeS.a(this.c, (InterfaceC9615dnA) obj); } { this.c = c4865biI; } }; if (c4865biI.f != 0) { ieS.e(c4865biI.f); } return C14866gag.c; } public static /* synthetic */ void a(C4865biI c4865biI, InterfaceC9615dnA interfaceC9615dnA) { C14957gcv.e(c4865biI, ""); interfaceC9615dnA.d(); C4865biI.e(c4865biI); c4865biI.i = false; interfaceC9615dnA.m(); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ IeS(C4865biI c4865biI) { super(0); this.c = c4865biI; } } /* renamed from: o.biI$LWm */ /* loaded from: classes4.dex */ static final class LWm extends AbstractC14961gcz implements InterfaceC14894gbR { private C4865biI c; @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(Throwable th) { Throwable th2 = th; C14957gcv.e(th2, ""); C4865biI c4865biI = this.c; ZI.IeS ieS = new ZI.IeS() { // from class: o.biJ @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC9615dnA) obj).d(); } }; if (c4865biI.f != 0) { ieS.e(c4865biI.f); } C4865biI.d(this.c, th2); return C14866gag.c; } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ LWm(C4865biI c4865biI) { super(1); this.c = c4865biI; } } @Override // o.AbstractC4304bWR public final void a() { ZI.IeS ieS = new ZI.IeS() { // from class: o.biL @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC9615dnA) obj).c(); } }; if (this.f != 0) { ieS.e(this.f); } } public static /* synthetic */ void b(String str, C4865biI c4865biI, Throwable th, final InterfaceC9615dnA interfaceC9615dnA) { C14957gcv.e(c4865biI, ""); C14957gcv.e(th, ""); if (C14957gcv.b((Object) str, (Object) "3015")) { interfaceC9615dnA.l(); } else { interfaceC9615dnA.e(c4865biI.j.c(th, new Runnable(interfaceC9615dnA) { // from class: o.biM private InterfaceC9615dnA a; @Override // java.lang.Runnable public final void run() { this.a.c(); } { this.a = interfaceC9615dnA; } })); } } public static final /* synthetic */ void d(final C4865biI c4865biI, final Throwable th) { VCl vCl; ggV ggv; if (c4865biI.f != 0) { c4865biI.f.ar_(); } c4865biI.i = false; final String str = null; RetrofitException retrofitException = th instanceof RetrofitException ? (RetrofitException) th : null; if (retrofitException != null && (vCl = retrofitException.e) != null && (ggv = vCl.c) != null) { str = ggv.e; } ZI.IeS ieS = new ZI.IeS(str, c4865biI, th) { // from class: o.biD private Throwable a; private String b; private C4865biI e; @Override // o.ZI.IeS public final void e(Object obj) { C4865biI.b(this.b, this.e, this.a, (InterfaceC9615dnA) obj); } { this.b = str; this.e = c4865biI; this.a = th; } }; if (c4865biI.f != 0) { ieS.e(c4865biI.f); } } public static final /* synthetic */ void e(C4865biI c4865biI) { if (c4865biI.f != 0) { c4865biI.f.ar_(); } } /* renamed from: o.biI$RVV */ /* loaded from: classes4.dex */ public final /* synthetic */ class RVV { public static final int[] e; static { int[] iArr = new int[YI.values().length]; try { iArr[YI.SETTING_LIMIT.ordinal()] = 1; } catch (NoSuchFieldError unused) { } e = iArr; } } static { new Sts((byte) 0); } }