正在查看: OVO v3.139.0 应用的 w33.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: OVO v3.139.0 应用的 w33.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package o.i;
import android.app.Activity;
import android.content.ActivityNotFoundException;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import com.google.firebase.remoteconfig.FirebaseRemoteConfig;
import com.google.gson.Gson;
import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Locale;
import o.i.oid;
public final class w33 {
public static final class a extends ua8 implements zu5<p1g> {
public final String b;
public final Activity c;
public final sid d;
public a(Activity activity, String str, sid sidVar) {
super(0);
this.b = str;
this.c = activity;
this.d = sidVar;
}
@Override
public final p1g invoke() {
boolean z = false;
String str = this.b;
if (str != null && fqe.H(str, "grab://", false)) {
z = true;
}
if (z) {
w33.d(this.c, this.d, "https://play.google.com/store/apps/details?id=com.grabtaxi.passenger", null, 12);
}
return p1g.a;
}
}
public static final boolean a(String str) {
boolean z;
HashMap hashMap;
boolean z2;
boolean z3;
vk7.f(str, "<this>");
String[] strArr = v33.g;
int length = strArr.length;
int i = 0;
while (true) {
if (i >= length) {
z = false;
break;
}
if (fqe.H(str, strArr[i], true)) {
z = true;
break;
}
i++;
}
if (!z && !jqe.J(str, ".onelink.me", false)) {
String str2 = lv0.u.a;
vk7.f(str2, "configName");
FirebaseRemoteConfig firebaseRemoteConfig = FirebaseRemoteConfig.getInstance();
vk7.e(firebaseRemoteConfig, "getInstance()");
String lowerCase = str2.toLowerCase(Locale.ROOT);
vk7.e(lowerCase, "this as java.lang.String).toLowerCase(Locale.ROOT)");
String string = firebaseRemoteConfig.getString(lowerCase);
vk7.e(string, "getRemoteConfig().getStr…g(configName.lowercase())");
try {
hashMap = (HashMap) new Gson().d(string, new vv4().getType());
} catch (Exception unused) {
hashMap = new HashMap();
}
Collection values = hashMap.values();
vk7.e(values, "obj.values");
Collection collection = values;
if (!(collection instanceof Collection) || !collection.isEmpty()) {
Iterator it = collection.iterator();
while (it.hasNext()) {
if (jqe.J(str, (String) it.next(), false)) {
z2 = true;
break;
}
}
}
z2 = false;
if (!z2) {
String[] strArr2 = v33.i;
int length2 = strArr2.length;
int i3 = 0;
while (true) {
if (i3 >= length2) {
z3 = false;
break;
}
String str3 = strArr2[i3];
if (fqe.H(str, b02.b(str3, "/ekyc/cleansing"), false) || fqe.H(str, b02.b(str3, "/upgrade"), false) || fqe.H(str, b02.b(str3, "/app/login"), false)) {
z3 = true;
break;
}
i3++;
}
if (!z3 && !jqe.J(v33.e, str, true) && !jqe.J(str, v33.f215l, true)) {
return false;
}
}
}
return true;
}
public static final boolean b(String str) {
vk7.f(str, "<this>");
String str2 = v33.a;
for (String str3 : v33.f) {
if (jqe.J(str, str3, true)) {
return true;
}
}
return false;
}
public static final void c(Activity activity, sid sidVar, String str, Bundle bundle, Integer num) {
vk7.f(activity, "<this>");
vk7.f(sidVar, "screenRouter");
e83 e83Var = new e83(activity, sidVar);
a aVar = new a(activity, str, sidVar);
if (str != null) {
if (!(!fqe.A(str))) {
str = null;
}
if (str != null) {
Intent a2 = e83Var.a(str);
if (a2 == null) {
a2 = sidVar.c(activity, new oid.b1(str, null, null, 14));
if (bundle != null) {
a2.putExtras(bundle);
}
}
vk7.f(a2, "intent");
if (num != null) {
a2.setFlags(num.intValue());
}
try {
activity.startActivity(a2);
activity.overridePendingTransition(a0c.ovo_slide_in_right, a0c.ovo_slide_out_left);
} catch (ActivityNotFoundException unused) {
aVar.invoke();
}
}
}
}
public static void d(Activity activity, sid sidVar, String str, Bundle bundle, int i) {
if ((i & 4) != 0) {
bundle = null;
}
c(activity, sidVar, str, bundle, null);
}
public static final Intent e(Context context, String str, sid sidVar) {
vk7.f(context, "<this>");
vk7.f(sidVar, "screenRouter");
vk7.f(str, "url");
return new e83(context, sidVar).a(str);
}
}