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

167 lines
5.0 KiB
Java

package o;
import o.C15715hv;
import o.C6432cSo;
import o.InterfaceC9010dbe;
import o.ZI;
import o.cRG;
import o.wvr;
/* loaded from: classes4.dex */
public final class cRG extends ZI<InterfaceC9010dbe.zJl> implements C6432cSo.HBt<InterfaceC9010dbe.zJl> {
final C16722qi c;
private boolean d;
private final C15799ii e;
@Override // o.C6432cSo.HBt
public final void e(boolean z) {
}
@Override // o.C6432cSo.HBt
public final /* synthetic */ void d(InterfaceC9010dbe.zJl zjl) {
super.e((cRG) zjl);
}
@Override // o.ZI
public final /* bridge */ /* synthetic */ void e(InterfaceC9010dbe.zJl zjl) {
super.e((cRG) zjl);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public cRG(C16903sI c16903sI, C15799ii c15799ii, C16722qi c16722qi) {
super(c16903sI);
C14957gcv.e(c16903sI, "");
C14957gcv.e(c15799ii, "");
C14957gcv.e(c16722qi, "");
this.e = c15799ii;
this.c = c16722qi;
}
@Override // o.C6432cSo.HBt
public final void d(String str) {
String str2 = str;
if (str2 == null || str2.length() == 0) {
guQ.a("Trying to process an empty barcode", new Object[0]);
return;
}
synchronized (this.e) {
if (!this.d) {
this.d = true;
if (this.f != 0) {
this.f.y();
}
C15799ii c15799ii = this.e;
LWm lWm = new LWm(this);
HBt hBt = new HBt(this);
C12607fC c = C12607fC.d().c(str);
C14957gcv.c(c, "");
C14957gcv.e(lWm, "");
C14957gcv.e(hBt, "");
C14957gcv.e(c, "");
c15799ii.b(c15799ii.c, lWm, hBt, new wvr.RVV(c));
}
C14866gag c14866gag = C14866gag.c;
}
}
/* loaded from: classes4.dex */
static final class HBt extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
private cRG a;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
Throwable th2 = th;
C14957gcv.e(th2, "");
cRG crg = this.a;
if (crg.b(th2)) {
crg.d(crg.j.e(th2));
}
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
HBt(cRG crg) {
super(1);
this.a = crg;
}
}
/* loaded from: classes4.dex */
static final class LWm extends AbstractC14961gcz implements InterfaceC14894gbR<WvL, C14866gag> {
private cRG c;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(WvL wvL) {
final WvL wvL2 = wvL;
cRG crg = this.c;
if (crg.f != 0) {
crg.f.ar_();
}
final cRG crg2 = this.c;
ZI.IeS ieS = new ZI.IeS(crg2, wvL2) { // from class: o.cRJ
private WvL b;
private cRG c;
@Override // o.ZI.IeS
public final void e(Object obj) {
cRG.LWm.e(this.c, this.b, (InterfaceC9010dbe.zJl) obj);
}
{
this.c = crg2;
this.b = wvL2;
}
};
if (crg2.f != 0) {
ieS.e(crg2.f);
}
return C14866gag.c;
}
public static /* synthetic */ void e(cRG crg, WvL wvL, InterfaceC9010dbe.zJl zjl) {
int i;
Object[] objArr;
String str;
String str2;
C14957gcv.e(crg, "");
C16722qi c16722qi = crg.c;
C1193Xr c1193Xr = null;
if (wvL != null && (str2 = wvL.f) != null && str2.length() == 0) {
i = C15715hv.tOB.biller_ac;
str = C16722qi.i(wvL.a);
objArr = new Object[1];
} else {
i = C15715hv.tOB.comp_code;
objArr = new Object[1];
str = wvL != null ? wvL.f : null;
}
objArr[0] = str;
String c = c16722qi.c(i, objArr);
if (wvL != null) {
c1193Xr = new C1193Xr();
c1193Xr.h = c;
c1193Xr.g = wvL.a;
c1193Xr.K = wvL.y;
c1193Xr.J = wvL.v;
c1193Xr.S = wvL.m;
c1193Xr.d = wvL.e;
c1193Xr.f8453o = wvL.f;
c1193Xr.P = wvL.B;
c1193Xr.c = wvL.d;
c1193Xr.F = wvL.x;
c1193Xr.M = wvL.w;
c1193Xr.G = wvL.t;
c1193Xr.H = wvL.p;
}
zjl.b(c1193Xr);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
LWm(cRG crg) {
super(1);
this.c = crg;
}
}
}