what-the-bank/sources/com/kofax/mobile/sdk/w/n.java

44 lines
1.5 KiB
Java

package com.kofax.mobile.sdk.w;
import android.text.TextUtils;
import bolts.CancellationToken;
import com.kofax.mobile.sdk.d.b;
import com.kofax.mobile.sdk.extract.id.DataField;
import com.kofax.mobile.sdk.extract.id.IdRegion;
import o.InterfaceC13391fZD;
/* loaded from: classes3.dex */
public class n extends ae {
private final com.kofax.mobile.sdk.d.b PV;
private final com.kofax.mobile.sdk.d.c PW;
@Override // com.kofax.mobile.sdk.w.ae, com.kofax.mobile.sdk.e.c
public /* bridge */ /* synthetic */ void a(Object obj, CancellationToken cancellationToken) {
super.a(obj, cancellationToken);
}
@InterfaceC13391fZD
public n(com.kofax.mobile.sdk.d.b bVar, com.kofax.mobile.sdk.d.c cVar) {
this.PV = bVar;
this.PW = cVar;
}
@Override // com.kofax.mobile.sdk.w.ae
public void a(com.kofax.mobile.sdk.e.a aVar) {
if (aVar.ht().equals(IdRegion.US.getRegionName())) {
this.PV.a(aVar.hB(), "Height", new b.a(this) { // from class: com.kofax.mobile.sdk.w.n.1
final n PX;
{
this.PX = this;
}
@Override // com.kofax.mobile.sdk.d.b.a
public DataField a(DataField dataField) {
return (dataField == null || TextUtils.isEmpty(dataField.getObject())) ? dataField : new DataField(dataField.getName(), this.PX.PW.Q(dataField.getObject()), dataField.getConfidence(), dataField.getLocation());
}
});
}
}
}