110 lines
3.6 KiB
Java
110 lines
3.6 KiB
Java
package o;
|
|
|
|
import com.scb.phone.presentation.mapper.transferandpay.BaseAssetsDisplayMapper;
|
|
import java.util.ArrayList;
|
|
import java.util.Collection;
|
|
import java.util.List;
|
|
import java.util.Locale;
|
|
import o.C0690Mh;
|
|
|
|
/* renamed from: o.lo, reason: case insensitive filesystem */
|
|
/* loaded from: classes3.dex */
|
|
public final class C16165lo {
|
|
private final BaseAssetsDisplayMapper b;
|
|
|
|
@InterfaceC13391fZD
|
|
public C16165lo(BaseAssetsDisplayMapper baseAssetsDisplayMapper) {
|
|
C14957gcv.e(baseAssetsDisplayMapper, "");
|
|
this.b = baseAssetsDisplayMapper;
|
|
}
|
|
|
|
public static List<ET> c(List<mNf> list) {
|
|
ET et;
|
|
C0690Mh.IeS ieS;
|
|
ArrayList arrayList = null;
|
|
if (list != null) {
|
|
List<mNf> list2 = list;
|
|
C14957gcv.e(list2, "");
|
|
ArrayList arrayList2 = new ArrayList(list2 instanceof Collection ? list2.size() : 10);
|
|
for (mNf mnf : list2) {
|
|
if (mnf != null) {
|
|
String str = mnf.b;
|
|
String str2 = mnf.e;
|
|
if (str2 != null) {
|
|
switch (str2.hashCode()) {
|
|
case -1550385419:
|
|
if (str2.equals("NAVIGATE_BACK")) {
|
|
ieS = C0690Mh.IeS.ON_BACK_PRESS;
|
|
break;
|
|
}
|
|
break;
|
|
case -1338826912:
|
|
if (str2.equals("EXIT_APP")) {
|
|
ieS = C0690Mh.IeS.EXIT_APP;
|
|
break;
|
|
}
|
|
break;
|
|
case -1337079887:
|
|
if (str2.equals("RESTART_APP")) {
|
|
ieS = C0690Mh.IeS.RESTART_APP;
|
|
break;
|
|
}
|
|
break;
|
|
case 1411860198:
|
|
if (str2.equals("DEEPLINK")) {
|
|
ieS = C0690Mh.IeS.CUSTOM;
|
|
break;
|
|
}
|
|
break;
|
|
}
|
|
}
|
|
ieS = C0690Mh.IeS.JUST_DISMISS;
|
|
et = new ET(str, ieS, mnf.a);
|
|
} else {
|
|
et = null;
|
|
}
|
|
arrayList2.add(et);
|
|
}
|
|
arrayList = arrayList2;
|
|
}
|
|
return arrayList == null ? C14851gaI.c : arrayList;
|
|
}
|
|
|
|
public final String a(String str) {
|
|
String str2 = str;
|
|
if (str2 == null || gdZ.d((CharSequence) str2)) {
|
|
return "";
|
|
}
|
|
String lowerCase = str.toLowerCase(Locale.ROOT);
|
|
C14957gcv.c((Object) lowerCase, "");
|
|
if (gdZ.e(lowerCase, "http", false)) {
|
|
return str;
|
|
}
|
|
String b_ = this.b.b_(str);
|
|
C14957gcv.c((Object) b_, "");
|
|
return b_;
|
|
}
|
|
|
|
/* renamed from: o.lo$IeS */
|
|
/* loaded from: classes3.dex */
|
|
public static final class IeS {
|
|
private IeS() {
|
|
}
|
|
|
|
public /* synthetic */ IeS(byte b) {
|
|
this();
|
|
}
|
|
}
|
|
|
|
public final ER a(C15612hBE c15612hBE, String str) {
|
|
C14957gcv.e(c15612hBE, "");
|
|
C14957gcv.e(str, "");
|
|
List<ET> c = c(c15612hBE.b);
|
|
return new ER(c15612hBE.g, a(c15612hBE.h), c15612hBE.c, c15612hBE.d, (ET) C14881gav.b(c, 0), (ET) C14881gav.b(c, 1), str);
|
|
}
|
|
|
|
static {
|
|
new IeS((byte) 0);
|
|
}
|
|
}
|