package o; import android.content.SharedPreferences; import android.content.res.Resources; import o.C15715hv; /* loaded from: classes3.dex */ public final class CH extends C16157lj { @InterfaceC13391fZD public CH(Resources resources, SharedPreferences sharedPreferences) { super(resources, sharedPreferences); } public final C1191Xp a(C0761OAw c0761OAw, C1189Xo c1189Xo) { if (!"3RD".equalsIgnoreCase(c1189Xo.aE)) { if ("PP_SCB".equalsIgnoreCase(c1189Xo.aE) || "PRESENT_TRANSFER_TYPE".equalsIgnoreCase(c1189Xo.aE)) { if (((Boolean) C15602gz.b(new Object[]{c1189Xo.t}, -396693817, 396693819, (int) System.currentTimeMillis())).booleanValue()) { c1189Xo.s = h(c1189Xo.t); c1189Xo.a(c(c1189Xo.S, true)); } else { c1189Xo.s = j(c1189Xo.t); c1189Xo.a(c(c1189Xo.S, true)); } } } else { c1189Xo.s = i(c1189Xo.t); c1189Xo.a(i(c1189Xo.S)); } C1191Xp c1191Xp = new C1191Xp(); c1191Xp.s = e(C15715hv.tOB.gift_sent_successfully); c1191Xp.r = c(C15715hv.tOB.reference_id, c0761OAw.h); c1191Xp.l = c0761OAw.h; c1191Xp.f = c0761OAw.j == null ? "" : d(c0761OAw.j); c1191Xp.t = c(Double.valueOf(c0761OAw.g)); c1191Xp.p = c1189Xo; return c1191Xp; } }