package com.kofax.mobile.sdk.w; import bolts.CancellationToken; import com.kofax.mobile.sdk.extract.id.DataField; import com.kofax.mobile.sdk.extract.id.IdRegion; import java.util.List; import o.InterfaceC13391fZD; /* loaded from: classes3.dex */ public class p extends ae { private final com.kofax.mobile.sdk._internal.extraction.id.e Ls; @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 p(com.kofax.mobile.sdk._internal.extraction.id.e eVar) { this.Ls = eVar; } @Override // com.kofax.mobile.sdk.w.ae public void a(com.kofax.mobile.sdk.e.a aVar) { List hz = aVar.hz(); String ht = aVar.ht(); if (hz == null || !ht.equals(IdRegion.US.getRegionName())) { return; } DataField a = this.Ls.a(com.kofax.mobile.sdk.e.a.vO, hz); DataField a2 = this.Ls.a(com.kofax.mobile.sdk.e.a.vN, hz); if (a2 == null || a == null) { return; } hz.remove(a); hz.add(new DataField(a.getName(), a2.getObject(), a2.getConfidence(), a.getLocation())); } }