263 lines
8.1 KiB
Java
263 lines
8.1 KiB
Java
|
package o;
|
||
|
|
||
|
import java.text.SimpleDateFormat;
|
||
|
import java.util.Date;
|
||
|
import o.ZI;
|
||
|
import o.wRi;
|
||
|
|
||
|
/* renamed from: o.ccU, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes4.dex */
|
||
|
public class C6811ccU extends ZI<InterfaceC6658cZa> {
|
||
|
public boolean a;
|
||
|
public Date b;
|
||
|
public final C1176Xeu c;
|
||
|
public String d;
|
||
|
public LWm e;
|
||
|
public String g;
|
||
|
public String h;
|
||
|
public cEC i;
|
||
|
public String k;
|
||
|
private final WWa l;
|
||
|
public String n;
|
||
|
|
||
|
/* renamed from: o, reason: collision with root package name */
|
||
|
private final C17688yt f8633o;
|
||
|
|
||
|
/* renamed from: o.ccU$LWm */
|
||
|
/* loaded from: classes4.dex */
|
||
|
public enum LWm {
|
||
|
SCANNING_ID_STATE,
|
||
|
SCANNING_PASSPORT_STATE,
|
||
|
LIVENESS_CHECK_STATE,
|
||
|
FINISHED_FLOW_STATE
|
||
|
}
|
||
|
|
||
|
@InterfaceC13391fZD
|
||
|
public C6811ccU(WWa wWa, C1176Xeu c1176Xeu, C17673yn c17673yn, C17688yt c17688yt) {
|
||
|
super(c17673yn);
|
||
|
this.a = false;
|
||
|
this.g = "";
|
||
|
this.k = "";
|
||
|
this.e = LWm.SCANNING_ID_STATE;
|
||
|
this.l = wWa;
|
||
|
this.c = c1176Xeu;
|
||
|
this.f8633o = c17688yt;
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
/* renamed from: o.ccU$3, reason: invalid class name */
|
||
|
/* loaded from: classes4.dex */
|
||
|
public static /* synthetic */ class AnonymousClass3 {
|
||
|
static final int[] d;
|
||
|
|
||
|
static {
|
||
|
int[] iArr = new int[LWm.values().length];
|
||
|
d = iArr;
|
||
|
try {
|
||
|
iArr[LWm.SCANNING_ID_STATE.ordinal()] = 1;
|
||
|
} catch (NoSuchFieldError unused) {
|
||
|
}
|
||
|
try {
|
||
|
d[LWm.SCANNING_PASSPORT_STATE.ordinal()] = 2;
|
||
|
} catch (NoSuchFieldError unused2) {
|
||
|
}
|
||
|
try {
|
||
|
d[LWm.LIVENESS_CHECK_STATE.ordinal()] = 3;
|
||
|
} catch (NoSuchFieldError unused3) {
|
||
|
}
|
||
|
try {
|
||
|
d[LWm.FINISHED_FLOW_STATE.ordinal()] = 4;
|
||
|
} catch (NoSuchFieldError unused4) {
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public final void b(C c) {
|
||
|
if (this.a) {
|
||
|
byte b = 0;
|
||
|
this.a = false;
|
||
|
int i = AnonymousClass3.d[this.e.ordinal()];
|
||
|
if (i == 1) {
|
||
|
ZI.IeS ieS = new ZI.IeS() { // from class: o.ccW
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj) {
|
||
|
((InterfaceC6658cZa) obj).d();
|
||
|
}
|
||
|
};
|
||
|
if (this.f != 0) {
|
||
|
ieS.e(this.f);
|
||
|
return;
|
||
|
}
|
||
|
return;
|
||
|
}
|
||
|
if (i == 2) {
|
||
|
ZI.IeS ieS2 = new ZI.IeS(this) { // from class: o.cdc
|
||
|
private C6811ccU a;
|
||
|
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj) {
|
||
|
((InterfaceC6658cZa) obj).b(r0.n, this.a.i);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.a = this;
|
||
|
}
|
||
|
};
|
||
|
if (this.f != 0) {
|
||
|
ieS2.e(this.f);
|
||
|
return;
|
||
|
}
|
||
|
return;
|
||
|
}
|
||
|
if (i == 3) {
|
||
|
final SW b2 = C17688yt.b(this.c.a.a().f9152o);
|
||
|
ZI.IeS ieS3 = new ZI.IeS(this, b2) { // from class: o.ccY
|
||
|
private SW a;
|
||
|
private C6811ccU d;
|
||
|
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj) {
|
||
|
C6811ccU.e(this.d, this.a, (InterfaceC6658cZa) obj);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.d = this;
|
||
|
this.a = b2;
|
||
|
}
|
||
|
};
|
||
|
if (this.f != 0) {
|
||
|
ieS3.e(this.f);
|
||
|
return;
|
||
|
}
|
||
|
return;
|
||
|
}
|
||
|
if (i == 4) {
|
||
|
if (this.f != 0) {
|
||
|
this.f.y();
|
||
|
}
|
||
|
this.l.d(c);
|
||
|
WWa wWa = this.l;
|
||
|
wWa.d(wWa.i, new RVV(this, b));
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: Can't fix incorrect switch cases order, some code will duplicate */
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:46:0x0069, code lost:
|
||
|
|
||
|
if (r18.equals("1001") != false) goto L27;
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:91:0x0125, code lost:
|
||
|
|
||
|
if (r18.equals("1001") != false) goto L74;
|
||
|
*/
|
||
|
/* JADX WARN: Removed duplicated region for block: B:11:? A[RETURN, SYNTHETIC] */
|
||
|
/* JADX WARN: Removed duplicated region for block: B:8:0x0195 */
|
||
|
/*
|
||
|
Code decompiled incorrectly, please refer to instructions dump.
|
||
|
To view partially-correct add '--show-bad-code' argument
|
||
|
*/
|
||
|
public final void d(java.lang.String r18) {
|
||
|
/*
|
||
|
Method dump skipped, instructions count: 468
|
||
|
To view this dump add '--comments-level debug' option
|
||
|
*/
|
||
|
throw new UnsupportedOperationException("Method not decompiled: o.C6811ccU.d(java.lang.String):void");
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
/* renamed from: o.ccU$RVV */
|
||
|
/* loaded from: classes4.dex */
|
||
|
public final class RVV extends wRi.LWm<JOo> {
|
||
|
private C6811ccU e;
|
||
|
|
||
|
private RVV(C6811ccU c6811ccU) {
|
||
|
this.e = c6811ccU;
|
||
|
}
|
||
|
|
||
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
||
|
public final /* synthetic */ void onNext(Object obj) {
|
||
|
JOo jOo = (JOo) obj;
|
||
|
if (jOo.b.equalsIgnoreCase("EXISTS")) {
|
||
|
C6811ccU c6811ccU = this.e;
|
||
|
ZI.IeS ieS = new ZI.IeS() { // from class: o.ccZ
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj2) {
|
||
|
((InterfaceC6658cZa) obj2).b();
|
||
|
}
|
||
|
};
|
||
|
if (c6811ccU.f != 0) {
|
||
|
ieS.e(c6811ccU.f);
|
||
|
return;
|
||
|
}
|
||
|
return;
|
||
|
}
|
||
|
if (jOo.b.equalsIgnoreCase("DOPA")) {
|
||
|
C6811ccU c6811ccU2 = this.e;
|
||
|
ZI.IeS ieS2 = new ZI.IeS() { // from class: o.ccX
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj2) {
|
||
|
((InterfaceC6658cZa) obj2).c();
|
||
|
}
|
||
|
};
|
||
|
if (c6811ccU2.f != 0) {
|
||
|
ieS2.e(c6811ccU2.f);
|
||
|
return;
|
||
|
}
|
||
|
return;
|
||
|
}
|
||
|
C6811ccU c6811ccU3 = this.e;
|
||
|
ZI.IeS ieS3 = new ZI.IeS() { // from class: o.cdg
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj2) {
|
||
|
((InterfaceC6658cZa) obj2).e();
|
||
|
}
|
||
|
};
|
||
|
if (c6811ccU3.f != 0) {
|
||
|
ieS3.e(c6811ccU3.f);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
||
|
public final void onComplete() {
|
||
|
C6811ccU.c(this.e);
|
||
|
}
|
||
|
|
||
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
||
|
public final void onError(Throwable th) {
|
||
|
C6811ccU.e(this.e, th);
|
||
|
C6811ccU.b(this.e);
|
||
|
this.e.a = true;
|
||
|
}
|
||
|
|
||
|
/* synthetic */ RVV(C6811ccU c6811ccU, byte b) {
|
||
|
this(c6811ccU);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void e(C6811ccU c6811ccU, SW sw, InterfaceC6658cZa interfaceC6658cZa) {
|
||
|
String str = c6811ccU.d;
|
||
|
String str2 = c6811ccU.h;
|
||
|
Date date = c6811ccU.b;
|
||
|
interfaceC6658cZa.d(str, str2, date != null ? new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss").format(date).concat(".000+07:00") : "", c6811ccU.n, c6811ccU.i, sw);
|
||
|
}
|
||
|
|
||
|
static /* synthetic */ void c(C6811ccU c6811ccU) {
|
||
|
if (c6811ccU.f != 0) {
|
||
|
c6811ccU.f.ar_();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
static /* synthetic */ void e(C6811ccU c6811ccU, Throwable th) {
|
||
|
if (c6811ccU.b(th)) {
|
||
|
c6811ccU.d(c6811ccU.j.e(th));
|
||
|
}
|
||
|
}
|
||
|
|
||
|
static /* synthetic */ void b(C6811ccU c6811ccU) {
|
||
|
if (c6811ccU.f != 0) {
|
||
|
c6811ccU.f.ar_();
|
||
|
}
|
||
|
}
|
||
|
}
|