正在查看: Empower MX v1.29.4.340 应用的 f.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Empower MX v1.29.4.340 应用的 f.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.withpersona.sdk2.inquiry.internal;
import Ra.n;
import android.os.Bundle;
import com.withpersona.sdk2.inquiry.StaticInquiryTemplate;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.text.StringsKt;
public final class f {
public static final a b = new a(null);
private final Bundle a;
public static final class a {
public a(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
public final String a(String str) {
if (str != null) {
return StringsKt.M0(str, "Bearer ", null, 2, null);
}
return null;
}
private a() {
}
}
public f(Bundle bundle) {
this.a = bundle;
}
public final String a() {
Bundle bundle = this.a;
if (bundle != null) {
return bundle.getString("ACCOUNT_ID_KEY");
}
return null;
}
public final boolean b() {
Bundle bundle = this.a;
if (bundle != null) {
return bundle.getBoolean("CONSUME_EXCEPTIONS", false);
}
return false;
}
public final boolean c() {
Bundle bundle = this.a;
if (bundle != null) {
return bundle.getBoolean("CONTROL_NAVIGATION_BAR", true);
}
return true;
}
public final boolean d() {
Bundle bundle = this.a;
if (bundle != null) {
return bundle.getBoolean("CONTROL_STATUS_BAR", true);
}
return true;
}
public final boolean e() {
Bundle bundle = this.a;
if (bundle != null) {
return bundle.getBoolean("ENABLE_ERROR_LOGGING", true);
}
return true;
}
public final Ra.d f() {
Bundle bundle = this.a;
String string = bundle != null ? bundle.getString("ENVIRONMENT_KEY") : null;
if (string != null) {
int hashCode = string.hashCode();
if (hashCode != -2056856391) {
if (hashCode == -1711584601 && string.equals("SANDBOX")) {
return Ra.d.e;
}
} else if (string.equals("PRODUCTION")) {
return Ra.d.d;
}
}
return Ra.d.d;
}
public final String g() {
Bundle bundle = this.a;
if (bundle != null) {
return bundle.getString("ENVIRONMENT_ID_KEY");
}
return null;
}
public final n h() {
Bundle bundle = this.a;
if (bundle != null) {
return (n) androidx.core.os.b.a(bundle, "FIELDS_MAP_KEY", n.class);
}
return null;
}
public final String i() {
Bundle bundle = this.a;
if (bundle != null) {
return bundle.getString("INQUIRY_ID_KEY");
}
return null;
}
public final String j() {
Bundle bundle = this.a;
if (bundle != null) {
return bundle.getString("LOCALE");
}
return null;
}
public final String k() {
Bundle bundle = this.a;
if (bundle != null) {
return bundle.getString("REFERENCE_ID_KEY");
}
return null;
}
public final String l() {
Bundle bundle = this.a;
String string = bundle != null ? bundle.getString("REQUEST_KEY") : null;
return string == null ? "com.withpersona.sdk2.request_key" : string;
}
public final boolean m() {
Bundle bundle = this.a;
if (bundle != null) {
return bundle.getBoolean("RETURN_COLLECTED_DATA", false);
}
return false;
}
public final String n() {
Bundle bundle = this.a;
if (bundle != null) {
return bundle.getString("ROUTING_COUNTRY");
}
return null;
}
public final String o() {
Bundle bundle = this.a;
String string = bundle != null ? bundle.getString("SERVER_ENDPOINT", "https://withpersona.com") : null;
return string == null ? "https://withpersona.com" : string;
}
public final String p() {
String string;
Bundle bundle = this.a;
if (bundle == null || (string = bundle.getString("SESSION_TOKEN_KEY")) == null) {
return null;
}
return "Bearer " + string;
}
public final boolean q() {
Bundle bundle = this.a;
if (bundle != null) {
return bundle.getBoolean("SHOULD_AUTO_FALLBACK", false);
}
return false;
}
public final StaticInquiryTemplate r() {
Bundle bundle = this.a;
if (bundle != null) {
return (StaticInquiryTemplate) androidx.core.os.b.a(bundle, "STATIC_INQUIRY_TEMPLATE_KEY", StaticInquiryTemplate.class);
}
return null;
}
public final String s() {
Bundle bundle = this.a;
if (bundle != null) {
return bundle.getString("TEMPLATE_ID_KEY");
}
return null;
}
public final String t() {
Bundle bundle = this.a;
if (bundle != null) {
return bundle.getString("TEMPLATE_VERSION_KEY");
}
return null;
}
public final Integer u() {
Bundle bundle = this.a;
if (bundle != null) {
return Integer.valueOf(bundle.getInt("THEME_KEY"));
}
return null;
}
public final String v() {
Bundle bundle = this.a;
if (bundle != null) {
return bundle.getString("THEME_SET_ID_KEY");
}
return null;
}
public final boolean w() {
Bundle bundle = this.a;
if (bundle != null) {
return bundle.getBoolean("USE_SERVER_STYLES", true);
}
return true;
}
public final String x() {
Bundle bundle = this.a;
String string = bundle != null ? bundle.getString("WEB_RTC_SERVER_ENDPOINT", "https://webrtc-consumer.withpersona.com") : null;
return string == null ? "https://webrtc-consumer.withpersona.com" : string;
}
public final boolean y() {
Bundle bundle = this.a;
if (bundle != null) {
return bundle.getBoolean("IS_NAV_BAR_ENABLED", true);
}
return true;
}
}