62 lines
2.0 KiB
Java
62 lines
2.0 KiB
Java
package o;
|
|
|
|
import android.content.SharedPreferences;
|
|
import android.content.res.Resources;
|
|
import com.scb.phone.presentation.mapper.transferandpay.BaseAssetsDisplayMapper;
|
|
import java.util.ArrayList;
|
|
import java.util.Collection;
|
|
import java.util.List;
|
|
|
|
/* renamed from: o.oh, reason: case insensitive filesystem */
|
|
/* loaded from: classes3.dex */
|
|
public final class C16478oh extends BaseAssetsDisplayMapper {
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
@InterfaceC13391fZD
|
|
public C16478oh(Resources resources, SharedPreferences sharedPreferences, String str) {
|
|
super(resources, sharedPreferences, str);
|
|
C14957gcv.e(resources, "");
|
|
C14957gcv.e(sharedPreferences, "");
|
|
C14957gcv.e(str, "");
|
|
}
|
|
|
|
public static String g(Double d) {
|
|
return c(d);
|
|
}
|
|
|
|
public static C15758iOf d(HN hn) {
|
|
ArrayList arrayList;
|
|
FFT fft = null;
|
|
if (hn == null) {
|
|
return null;
|
|
}
|
|
String str = hn.e;
|
|
HP hp = hn.d;
|
|
xLZ xlz = hp != null ? new xLZ(hp.b, hp.d, hp.a, hp.c, hp.i, hp.e) : null;
|
|
List<HU> list = hn.c;
|
|
if (list != null) {
|
|
List<HU> list2 = list;
|
|
C14957gcv.e(list2, "");
|
|
ArrayList arrayList2 = new ArrayList(list2 instanceof Collection ? list2.size() : 10);
|
|
for (HU hu : list2) {
|
|
arrayList2.add(new C16360nhu(hu.c, hu.e, hu.a, hu.b, hu.d));
|
|
}
|
|
arrayList = arrayList2;
|
|
} else {
|
|
arrayList = null;
|
|
}
|
|
HM hm = hn.a;
|
|
if (hm != null) {
|
|
HS hs = hm.a;
|
|
fft = new FFT(hs != null ? new wKJ(hs.e, hs.a, hs.b) : null);
|
|
}
|
|
return new C15758iOf(str, xlz, arrayList, fft);
|
|
}
|
|
|
|
public final HL d(HO ho) {
|
|
if (ho != null) {
|
|
return new HL(ho.c, ho.j, l(i(Double.valueOf(ho.b))), c(Double.valueOf(ho.a)), c(Double.valueOf(ho.d)), i(Double.valueOf(ho.i)), c(Double.valueOf(ho.h)));
|
|
}
|
|
return null;
|
|
}
|
|
}
|