package o; import android.content.SharedPreferences; import android.content.res.Resources; /* loaded from: classes3.dex */ public final class EH extends AbstractC16173lt { @Override // o.AbstractC16173lt public final /* synthetic */ AbstractC1237Yr d(C1236Yq c1236Yq) { return a(c1236Yq); } @InterfaceC13391fZD public EH(Resources resources, SharedPreferences sharedPreferences) { super(resources, sharedPreferences); } public static AbstractC1237Yr a(C1233Yp c1233Yp, String str) { YA ya = new YA(); ya.d = str; ya.c = c1233Yp.d; ya.i = c1233Yp.c; ya.b = c1233Yp.b; ya.e = c1233Yp.e; ya.h = qhK.OWN; return ya; } public static AbstractC1237Yr a(C1236Yq c1236Yq) { qhK qhk = "014".equalsIgnoreCase(c1236Yq.d.c) ? qhK.SCB : qhK.OTHER; YA ya = new YA(); ya.d = c1236Yq.d.c; ya.i = c1236Yq.a; ya.e = c1236Yq.e; ya.h = qhk; return ya; } }