Warkop v5.73.0版本的 MD5 值为:a4330ec2d6f5e146f59fc7622f3cdb45
以下内容为反编译后的 z.java 源代码,内容仅作参考
package ay2;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.pm.ResolveInfo;
import android.net.Uri;
import android.os.Bundle;
import android.view.ContextThemeWrapper;
import android.view.View;
import androidx.appcompat.app.b;
import androidx.fragment.app.FragmentActivity;
import androidx.preference.ListPreference;
import androidx.preference.Preference;
import co.r;
import java.util.List;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
import mi1.ButtonParam;
import mi1.EndButtonParam;
import mi1.StatusBottomSheetParams;
import mi1.StatusViewParams;
import org.jetbrains.annotations.NotNull;
import ov.w;
import sinet.startup.inDriver.core.data.data.NotificationData;
import sinet.startup.inDriver.core.data.data.ThemeModeType;
import sinet.startup.inDriver.ui.changePhone.ChangePhoneActivity;
import sinet.startup.inDriver.ui.common.AbstractionAppCompatActivity;
import w81.a;
@Metadata(d1 = {"\u0000Ì\u0001\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0002\b\b\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\n\b&\u0018\u0000 \u009f\u00012\u00020\u0001:\u0002 \u0001B\t¢\u0006\u0006\b\u009d\u0001\u0010\u009e\u0001J\b\u0010\u0003\u001a\u00020\u0002H\u0002J\b\u0010\u0005\u001a\u00020\u0004H\u0002J\u0010\u0010\b\u001a\u00020\u00022\u0006\u0010\u0007\u001a\u00020\u0006H\u0002J\u0010\u0010\t\u001a\u00020\u00022\u0006\u0010\u0007\u001a\u00020\u0006H\u0002J\b\u0010\n\u001a\u00020\u0002H\u0002J\b\u0010\f\u001a\u00020\u000bH\u0002J\u0010\u0010\u000f\u001a\u00020\u00022\u0006\u0010\u000e\u001a\u00020\rH\u0002J\b\u0010\u0010\u001a\u00020\u0002H\u0002J\b\u0010\u0011\u001a\u00020\u0002H\u0002J\b\u0010\u0012\u001a\u00020\u000bH\u0002J\b\u0010\u0013\u001a\u00020\u0002H\u0002J\b\u0010\u0014\u001a\u00020\u0002H\u0002J\b\u0010\u0015\u001a\u00020\u0002H&J\b\u0010\u0017\u001a\u00020\u0016H\u0016J\u0012\u0010\u001a\u001a\u00020\u00022\b\u0010\u0019\u001a\u0004\u0018\u00010\u0018H\u0016J\u001a\u0010\u001b\u001a\u00020\u00022\u0006\u0010\u000e\u001a\u00020\r2\b\u0010\u0019\u001a\u0004\u0018\u00010\u0018H\u0016J\b\u0010\u001c\u001a\u00020\u0002H\u0016J\b\u0010\u001d\u001a\u00020\u0002H\u0016J\u0010\u0010 \u001a\u00020\u00022\u0006\u0010\u001f\u001a\u00020\u001eH\u0007J\u001c\u0010\"\u001a\u00020\u00022\b\u0010\u0019\u001a\u0004\u0018\u00010\u00182\b\u0010!\u001a\u0004\u0018\u00010\u000bH\u0016J\b\u0010#\u001a\u00020\u0002H\u0016R\"\u0010+\u001a\u00020$8\u0006@\u0006X\u0087.¢\u0006\u0012\n\u0004\b%\u0010&\u001a\u0004\b'\u0010(\"\u0004\b)\u0010*R\"\u00103\u001a\u00020,8\u0006@\u0006X\u0087.¢\u0006\u0012\n\u0004\b-\u0010.\u001a\u0004\b/\u00100\"\u0004\b1\u00102R\"\u0010;\u001a\u0002048\u0006@\u0006X\u0087.¢\u0006\u0012\n\u0004\b5\u00106\u001a\u0004\b7\u00108\"\u0004\b9\u0010:R\"\u0010C\u001a\u00020<8\u0006@\u0006X\u0087.¢\u0006\u0012\n\u0004\b=\u0010>\u001a\u0004\b?\u0010@\"\u0004\bA\u0010BR(\u0010L\u001a\b\u0012\u0004\u0012\u00020E0D8\u0006@\u0006X\u0087.¢\u0006\u0012\n\u0004\bF\u0010G\u001a\u0004\bH\u0010I\"\u0004\bJ\u0010KR(\u0010Q\u001a\b\u0012\u0004\u0012\u00020M0D8\u0006@\u0006X\u0087.¢\u0006\u0012\n\u0004\bN\u0010G\u001a\u0004\bO\u0010I\"\u0004\bP\u0010KR(\u0010V\u001a\b\u0012\u0004\u0012\u00020R0D8\u0006@\u0006X\u0087.¢\u0006\u0012\n\u0004\bS\u0010G\u001a\u0004\bT\u0010I\"\u0004\bU\u0010KR\"\u0010^\u001a\u00020W8\u0006@\u0006X\u0087.¢\u0006\u0012\n\u0004\bX\u0010Y\u001a\u0004\bZ\u0010[\"\u0004\b\\\u0010]R\"\u0010f\u001a\u00020_8\u0006@\u0006X\u0087.¢\u0006\u0012\n\u0004\b`\u0010a\u001a\u0004\bb\u0010c\"\u0004\bd\u0010eR\"\u0010n\u001a\u00020g8\u0006@\u0006X\u0087.¢\u0006\u0012\n\u0004\bh\u0010i\u001a\u0004\bj\u0010k\"\u0004\bl\u0010mR\"\u0010v\u001a\u00020o8\u0006@\u0006X\u0087.¢\u0006\u0012\n\u0004\bp\u0010q\u001a\u0004\br\u0010s\"\u0004\bt\u0010uR\"\u0010~\u001a\u00020w8\u0006@\u0006X\u0087.¢\u0006\u0012\n\u0004\bx\u0010y\u001a\u0004\bz\u0010{\"\u0004\b|\u0010}R)\u0010\u0086\u0001\u001a\u00020\u007f8\u0006@\u0006X\u0087.¢\u0006\u0018\n\u0006\b\u0080\u0001\u0010\u0081\u0001\u001a\u0006\b\u0082\u0001\u0010\u0083\u0001\"\u0006\b\u0084\u0001\u0010\u0085\u0001R-\u0010\u008b\u0001\u001a\t\u0012\u0005\u0012\u00030\u0087\u00010D8\u0006@\u0006X\u0087.¢\u0006\u0015\n\u0005\b\u0088\u0001\u0010G\u001a\u0005\b\u0089\u0001\u0010I\"\u0005\b\u008a\u0001\u0010KR-\u0010\u0090\u0001\u001a\t\u0012\u0005\u0012\u00030\u008c\u00010D8\u0006@\u0006X\u0087.¢\u0006\u0015\n\u0005\b\u008d\u0001\u0010G\u001a\u0005\b\u008e\u0001\u0010I\"\u0005\b\u008f\u0001\u0010KR!\u0010\u0096\u0001\u001a\u00030\u0091\u00018BX\u0082\u0084\u0002¢\u0006\u0010\n\u0006\b\u0092\u0001\u0010\u0093\u0001\u001a\u0006\b\u0094\u0001\u0010\u0095\u0001R\u001c\u0010\u009a\u0001\u001a\u0005\u0018\u00010\u0097\u00018\u0002@\u0002X\u0082\u000e¢\u0006\b\n\u0006\b\u0098\u0001\u0010\u0099\u0001R\u001c\u0010\u009c\u0001\u001a\u0005\u0018\u00010\u0097\u00018\u0002@\u0002X\u0082\u000e¢\u0006\b\n\u0006\b\u009b\u0001\u0010\u0099\u0001¨\u0006¡\u0001"}, d2 = {"Lay2/z;", "Landroidx/preference/h;", "Lco/g0;", "Ob", "Lmi1/e;", "qb", "Landroidx/preference/Preference;", "dumpButton", "Mb", "rb", "Kb", "", "yb", "Landroid/view/View;", "view", "bc", "ac", "Jb", "Fb", "Zb", "Gb", "lb", "Landroid/content/Context;", "getContext", "Landroid/os/Bundle;", "savedInstanceState", "onCreate", "onViewCreated", "onStart", "onStop", "Lec2/b;", NotificationData.JSON_EVENT, "onLogOut", "rootKey", "Na", "onDestroy", "Lfi/b;", "m0", "Lfi/b;", "vb", "()Lfi/b;", "setBus", "(Lfi/b;)V", "bus", "Lxc1/l;", "n0", "Lxc1/l;", "Eb", "()Lxc1/l;", "setUser", "(Lxc1/l;)V", "user", "Lma/p;", "o0", "Lma/p;", "Bb", "()Lma/p;", "setRouter", "(Lma/p;)V", "router", "Ltv/h;", "p0", "Ltv/h;", "Cb", "()Ltv/h;", "setSwrveAnalytics", "(Ltv/h;)V", "swrveAnalytics", "Lbo/a;", "Lwf1/b;", "q0", "Lbo/a;", "getDebugNodeResetManagerProvider", "()Lbo/a;", "setDebugNodeResetManagerProvider", "(Lbo/a;)V", "debugNodeResetManagerProvider", "Lwf1/c;", "r0", "getDebugNutriculaNodeResetManager", "setDebugNutriculaNodeResetManager", "debugNutriculaNodeResetManager", "Lwf1/a;", "s0", "getDebugNetworkConfigRepositoryProvider", "setDebugNetworkConfigRepositoryProvider", "debugNetworkConfigRepositoryProvider", "Lsd1/b;", "t0", "Lsd1/b;", "xb", "()Lsd1/b;", "setFeatureTogglesRepository", "(Lsd1/b;)V", "featureTogglesRepository", "Lxc1/a;", "u0", "Lxc1/a;", "tb", "()Lxc1/a;", "setAppConfiguration", "(Lxc1/a;)V", "appConfiguration", "Ls71/e;", "v0", "Ls71/e;", "sb", "()Ls71/e;", "setAnalytics", "(Ls71/e;)V", "analytics", "Lhd1/a;", "w0", "Lhd1/a;", "ub", "()Lhd1/a;", "setAppDeviceInfo", "(Lhd1/a;)V", "appDeviceInfo", "Lw71/c;", "x0", "Lw71/c;", "Db", "()Lw71/c;", "setTelemetryFactory", "(Lw71/c;)V", "telemetryFactory", "Luk/m;", "y0", "Luk/m;", "getTelemetry", "()Luk/m;", "setTelemetry", "(Luk/m;)V", "telemetry", "Lw81/a;", "z0", "Ab", "setResultDispatcher", "resultDispatcher", "Ldc2/d;", "A0", "zb", "setLogoutInteractor", "logoutInteractor", "Lw71/a;", "B0", "Lco/k;", "wb", "()Lw71/a;", "cacheDumper", "Lym/b;", "C0", "Lym/b;", "userDisposable", "D0", "logoutDisposable", "<init>", "()V", "Companion", "a", "app_gmsRelease"}, k = 1, mv = {1, 8, 0})
public abstract class z extends androidx.preference.h {
@NotNull
private static final a Companion = new a(null);
public bo.a<dc2.d> logoutInteractor;
@NotNull
private final co.k cacheDumper;
private ym.b userDisposable;
private ym.b logoutDisposable;
public fi.b bus;
public xc1.l user;
public ma.p router;
public tv.h swrveAnalytics;
public bo.a<wf1.b> debugNodeResetManagerProvider;
public bo.a<wf1.c> debugNutriculaNodeResetManager;
public bo.a<wf1.a> debugNetworkConfigRepositoryProvider;
public sd1.b featureTogglesRepository;
public xc1.a appConfiguration;
public s71.e analytics;
public hd1.a appDeviceInfo;
public w71.c telemetryFactory;
public uk.m telemetry;
public bo.a<w81.a> resultDispatcher;
@Metadata(d1 = {"\u0000 \n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\u000e\n\u0002\b\u0006\n\u0002\u0010\u0007\n\u0002\b\u0002\n\u0002\u0010\t\n\u0002\b\u000f\b\u0082\u0003\u0018\u00002\u00020\u0001B\t\b\u0002¢\u0006\u0004\b\u0019\u0010\u001aR\u0014\u0010\u0003\u001a\u00020\u00028\u0006X\u0086T¢\u0006\u0006\n\u0004\b\u0003\u0010\u0004R\u0014\u0010\u0005\u001a\u00020\u00028\u0006X\u0086T¢\u0006\u0006\n\u0004\b\u0005\u0010\u0004R\u0014\u0010\u0006\u001a\u00020\u00028\u0002X\u0082T¢\u0006\u0006\n\u0004\b\u0006\u0010\u0004R\u0014\u0010\u0007\u001a\u00020\u00028\u0002X\u0082T¢\u0006\u0006\n\u0004\b\u0007\u0010\u0004R\u0014\u0010\b\u001a\u00020\u00028\u0002X\u0082T¢\u0006\u0006\n\u0004\b\b\u0010\u0004R\u0014\u0010\n\u001a\u00020\t8\u0002X\u0082T¢\u0006\u0006\n\u0004\b\n\u0010\u000bR\u0014\u0010\r\u001a\u00020\f8\u0002X\u0082T¢\u0006\u0006\n\u0004\b\r\u0010\u000eR\u0014\u0010\u000f\u001a\u00020\u00028\u0002X\u0082T¢\u0006\u0006\n\u0004\b\u000f\u0010\u0004R\u0014\u0010\u0010\u001a\u00020\u00028\u0006X\u0086T¢\u0006\u0006\n\u0004\b\u0010\u0010\u0004R\u0014\u0010\u0011\u001a\u00020\u00028\u0006X\u0086T¢\u0006\u0006\n\u0004\b\u0011\u0010\u0004R\u0014\u0010\u0012\u001a\u00020\u00028\u0006X\u0086T¢\u0006\u0006\n\u0004\b\u0012\u0010\u0004R\u0014\u0010\u0013\u001a\u00020\u00028\u0006X\u0086T¢\u0006\u0006\n\u0004\b\u0013\u0010\u0004R\u0014\u0010\u0014\u001a\u00020\u00028\u0006X\u0086T¢\u0006\u0006\n\u0004\b\u0014\u0010\u0004R\u0014\u0010\u0015\u001a\u00020\u00028\u0006X\u0086T¢\u0006\u0006\n\u0004\b\u0015\u0010\u0004R\u0014\u0010\u0016\u001a\u00020\u00028\u0006X\u0086T¢\u0006\u0006\n\u0004\b\u0016\u0010\u0004R\u0014\u0010\u0017\u001a\u00020\u00028\u0006X\u0086T¢\u0006\u0006\n\u0004\b\u0017\u0010\u0004R\u0014\u0010\u0018\u001a\u00020\u00028\u0006X\u0086T¢\u0006\u0006\n\u0004\b\u0018\u0010\u0004¨\u0006\u001b"}, d2 = {"Lay2/z$a;", "", "", "APP_CONFIG_PREFS_KEY", "Ljava/lang/String;", "DELETE_ACCOUNT", "DELETE_ACCOUNT_TAG", "DELETE_ACCOUNT_TAG_CONFIRM", "DELETE_ACCOUNT_URL", "", "HEART_ANIMATION_DEGREES", "F", "", "HEART_ANIMATION_DURATION_SEC", "J", "MASK_EMAIL", "NAVIGATORS", "PREFERENCE_ABOUT_APP", "PREFERENCE_CHANGE_NUMBER", "PREFERENCE_DUMP", "PREFERENCE_EXIT", "PREFERENCE_FORMAT", "PREFERENCE_LANGUAGE", "PREFERENCE_NIGHT_MODE", "PREFERENCE_SERVER_API", "<init>", "()V", "app_gmsRelease"}, k = 1, mv = {1, 8, 0})
private static final class a {
private a() {
}
public a(kotlin.jvm.internal.k kVar) {
this();
}
}
@Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
public class b {
public static final int[] f17104a;
static {
int[] iArr = new int[ThemeModeType.values().length];
try {
iArr[ThemeModeType.LIGHT_MODE.ordinal()] = 1;
} catch (NoSuchFieldError unused) {
}
try {
iArr[ThemeModeType.NIGHT_MODE.ordinal()] = 2;
} catch (NoSuchFieldError unused2) {
}
f17104a = iArr;
}
}
@Metadata(d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0001\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Lw71/a;", "b", "()Lw71/a;"}, k = 3, mv = {1, 8, 0})
static final class c extends kotlin.jvm.internal.u implements qo.a<w71.a> {
c() {
super(0);
}
@Override
@NotNull
public final w71.a invoke() {
return (w71.a) z.this.Db().a(w71.d.CacheDump);
}
}
@Metadata(d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Lco/g0;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 8, 0})
public static final class d extends kotlin.jvm.internal.u implements qo.a<co.g0> {
final Preference f17107m;
d(Preference preference) {
super(0);
this.f17107m = preference;
}
@Override
public co.g0 invoke() {
invoke2();
return co.g0.f25238a;
}
public final void invoke2() {
z.this.Mb(this.f17107m);
}
}
@Metadata(d1 = {"\u0000\u0018\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0002\u0010\u0006\u001a\u00020\u0005\"\n\b\u0000\u0010\u0001\u0018\u0001*\u00020\u00002\u0012\u0010\u0004\u001a\u000e\u0012\u0004\u0012\u00020\u0003\u0012\u0004\u0012\u00020\u00000\u0002H\n¢\u0006\u0004\b\u0006\u0010\u0007"}, d2 = {"", "T", "Lco/q;", "Lw81/b;", "it", "", "a", "(Lco/q;)Ljava/lang/Boolean;"}, k = 3, mv = {1, 8, 0})
public static final class e extends kotlin.jvm.internal.u implements qo.l<co.q<? extends w81.b, ? extends Object>, Boolean> {
final w81.b f17108l;
public e(w81.b bVar) {
super(1);
this.f17108l = bVar;
}
@Override
@NotNull
public final Boolean invoke(@NotNull co.q<? extends w81.b, ? extends Object> qVar) {
boolean z15;
if (qVar.c() == this.f17108l && (qVar.d() instanceof ec2.b)) {
z15 = true;
} else {
z15 = false;
}
return Boolean.valueOf(z15);
}
}
@Metadata(d1 = {"\u0000\u0012\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004\u0010\u0006\u001a\n \u0005*\u0004\u0018\u00018\u00008\u0000\"\n\b\u0000\u0010\u0001\u0018\u0001*\u00020\u00002\u0012\u0010\u0004\u001a\u000e\u0012\u0004\u0012\u00020\u0003\u0012\u0004\u0012\u00020\u00000\u0002H\n¢\u0006\u0004\b\u0006\u0010\u0007"}, d2 = {"", "T", "Lco/q;", "Lw81/b;", "it", "kotlin.jvm.PlatformType", "a", "(Lco/q;)Ljava/lang/Object;"}, k = 3, mv = {1, 8, 0})
public static final class f extends kotlin.jvm.internal.u implements qo.l<co.q<? extends w81.b, ? extends Object>, ec2.b> {
public static final f f17109l = new f();
public f() {
super(1);
}
@Override
public final ec2.b invoke(@NotNull co.q<? extends w81.b, ? extends Object> qVar) {
Object d15 = qVar.d();
if (d15 != null) {
return (ec2.b) d15;
}
throw new NullPointerException("null cannot be cast to non-null type sinet.startup.inDriver.feature.logout.api.data.LogOutFinishedEvent");
}
}
@Metadata(d1 = {"\u0000\u0010\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0004\u001a\u00020\u00032\u000e\u0010\u0002\u001a\n \u0001*\u0004\u0018\u00010\u00000\u0000H\n¢\u0006\u0004\b\u0004\u0010\u0005"}, d2 = {"Lxc1/l;", "kotlin.jvm.PlatformType", "it", "Lco/g0;", "a", "(Lxc1/l;)V"}, k = 3, mv = {1, 8, 0})
static final class g extends kotlin.jvm.internal.u implements qo.l<xc1.l, co.g0> {
g() {
super(1);
}
public final void a(xc1.l lVar) {
Preference v45 = z.this.v4("changenumber");
if (v45 != null) {
v45.G0(z.this.Fb());
}
}
@Override
public co.g0 invoke(xc1.l lVar) {
a(lVar);
return co.g0.f25238a;
}
}
@Metadata(d1 = {"\u0000\u0010\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0004\u001a\u00020\u00032\u000e\u0010\u0002\u001a\n \u0001*\u0004\u0018\u00010\u00000\u0000H\n¢\u0006\u0004\b\u0004\u0010\u0005"}, d2 = {"Lec2/b;", "kotlin.jvm.PlatformType", "it", "Lco/g0;", "a", "(Lec2/b;)V"}, k = 3, mv = {1, 8, 0})
static final class h extends kotlin.jvm.internal.u implements qo.l<ec2.b, co.g0> {
h() {
super(1);
}
public final void a(ec2.b bVar) {
z.this.Gb();
}
@Override
public co.g0 invoke(ec2.b bVar) {
a(bVar);
return co.g0.f25238a;
}
}
@Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
public class i extends kotlin.jvm.internal.q implements qo.p<Intent, Integer, List<? extends ResolveInfo>> {
i(Object obj) {
super(2, obj, hd1.a.class, "getExternalAppIntentHandlingInfo", "getExternalAppIntentHandlingInfo(Landroid/content/Intent;I)Ljava/util/List;", 0);
}
@NotNull
public final List<ResolveInfo> b(@NotNull Intent intent, int i15) {
return ((hd1.a) this.receiver).L(intent, i15);
}
@Override
public List<? extends ResolveInfo> invoke(Intent intent, Integer num) {
return b(intent, num.intValue());
}
}
@Metadata(d1 = {"\u0000\u000e\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0003\u001a\u00020\u00022\u0006\u0010\u0001\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0003\u0010\u0004"}, d2 = {"Landroid/os/Bundle;", "it", "Lco/g0;", "a", "(Landroid/os/Bundle;)V"}, k = 3, mv = {1, 8, 0})
public static final class j extends kotlin.jvm.internal.u implements qo.l<Bundle, co.g0> {
j() {
super(1);
}
public final void a(@NotNull Bundle bundle) {
Object obj = bundle.get("SettingsPreferenceFragmentDeleteAccount");
if (!(obj instanceof String)) {
obj = null;
}
if (Intrinsics.g((String) obj, "SettingsPreferenceFragmentDeleteAccountOk")) {
z.this.Jb();
}
}
@Override
public co.g0 invoke(Bundle bundle) {
a(bundle);
return co.g0.f25238a;
}
}
public z() {
co.k b15;
b15 = co.m.b(new c());
this.cacheDumper = b15;
}
public final String Fb() {
String l05;
if (td1.c.e2(xb())) {
l05 = Eb().L();
} else {
l05 = Eb().l0();
}
return "+" + l05;
}
public final void Gb() {
AbstractionAppCompatActivity abstractionAppCompatActivity;
FragmentActivity activity = getActivity();
if (activity instanceof AbstractionAppCompatActivity) {
abstractionAppCompatActivity = (AbstractionAppCompatActivity) activity;
} else {
abstractionAppCompatActivity = null;
}
if (abstractionAppCompatActivity != null && !abstractionAppCompatActivity.isFinishing()) {
abstractionAppCompatActivity.j();
}
}
public static final void Hb(qo.l lVar, Object obj) {
lVar.invoke(obj);
}
public static final void Ib(qo.l lVar, Object obj) {
lVar.invoke(obj);
}
public final void Jb() {
Bb().h(new w.MainWebViewUrlScreen("https://daw-cf.euce1.indriverapp.com/delete-account/mobile", null, hu2.i.ARROW_BACK, null, null, null, null, 122, null));
}
private final void Kb() {
ListPreference listPreference;
Preference v45 = v4("server_api");
if (v45 instanceof ListPreference) {
listPreference = (ListPreference) v45;
} else {
listPreference = null;
}
if (listPreference != null) {
Ga().Y0(listPreference);
}
Preference v46 = v4("night_mode");
if (v46 != null) {
v46.D0(new Preference.d() {
@Override
public final boolean a(Preference preference) {
boolean Lb;
Lb = z.Lb(z.this, preference);
return Lb;
}
});
}
}
public static final boolean Lb(z zVar, Preference preference) {
zVar.Bb().h(w.c1.f109657c);
return true;
}
public final void Mb(final Preference preference) {
preference.D0(new Preference.d() {
@Override
public final boolean a(Preference preference2) {
boolean Nb;
Nb = z.Nb(z.this, preference, preference2);
return Nb;
}
});
}
public static final boolean Nb(z zVar, Preference preference, Preference preference2) {
n91.a.G(zVar, zVar.getResources().getString(w81.l.W9), false, 2, null);
preference.D0(null);
zVar.rb(preference);
return true;
}
private final void Ob() {
Preference v45 = v4("changenumber");
if (v45 != null) {
v45.G0(Fb());
v45.D0(new Preference.d() {
@Override
public final boolean a(Preference preference) {
boolean Wb;
Wb = z.Wb(z.this, preference);
return Wb;
}
});
}
Preference v46 = v4("language");
if (v46 != null) {
v46.G0(yb());
v46.D0(new Preference.d() {
@Override
public final boolean a(Preference preference) {
boolean Pb;
Pb = z.Pb(z.this, preference);
return Pb;
}
});
}
Preference v47 = v4("format");
if (v47 != null) {
v47.D0(new Preference.d() {
@Override
public final boolean a(Preference preference) {
boolean Qb;
Qb = z.Qb(z.this, preference);
return Qb;
}
});
}
Preference v48 = v4("about_application");
if (v48 != null) {
v48.D0(new Preference.d() {
@Override
public final boolean a(Preference preference) {
boolean Rb;
Rb = z.Rb(z.this, preference);
return Rb;
}
});
}
Preference v49 = v4("exit");
if (v49 != null) {
v49.D0(new Preference.d() {
@Override
public final boolean a(Preference preference) {
boolean Sb;
Sb = z.Sb(z.this, preference);
return Sb;
}
});
}
Preference v410 = v4("navigators");
if (v410 != null) {
if (gc2.a.f60533a.d(getContext().getPackageManager(), new i(ub()))) {
v410.D0(new Preference.d() {
@Override
public final boolean a(Preference preference) {
boolean Ub;
Ub = z.Ub(z.this, preference);
return Ub;
}
});
} else {
Ga().Y0(v410);
}
}
Preference v411 = v4("dump_telemetry_cache");
if (v411 != null) {
if (td1.c.P0(xb())) {
Mb(v411);
} else {
Ga().Y0(v411);
}
}
Preference v412 = v4("delete_account");
if (v412 != null) {
v412.D0(new Preference.d() {
@Override
public final boolean a(Preference preference) {
boolean Vb;
Vb = z.Vb(z.this, preference);
return Vb;
}
});
}
}
public static final boolean Pb(z zVar, Preference preference) {
zVar.Bb().h(w.m0.f109681c);
return true;
}
public static final boolean Qb(z zVar, Preference preference) {
zVar.Bb().h(w.l0.f109679c);
return true;
}
public static final boolean Rb(z zVar, Preference preference) {
zVar.lb();
return true;
}
public static final boolean Sb(final z zVar, Preference preference) {
b.a a15 = wa1.f.INSTANCE.a(zVar.requireContext());
a15.h(w81.l.Q9);
a15.r(w81.l.P9, new DialogInterface.OnClickListener() {
@Override
public final void onClick(DialogInterface dialogInterface, int i15) {
z.Tb(z.this, dialogInterface, i15);
}
});
a15.k(w81.l.N3, null);
a15.y();
return true;
}
public static final void Tb(z zVar, DialogInterface dialogInterface, int i15) {
zVar.Zb();
ec2.a aVar = new ec2.a(ec2.c.USER_SETTINGS, null, 2, null);
if (td1.d.g(zVar.xb())) {
zVar.zb().get().b(aVar);
} else {
zVar.vb().i(aVar);
}
zVar.sb().j(s71.h.AUTHORIZATION_LOGOUT);
}
public static final boolean Ub(z zVar, Preference preference) {
zVar.Bb().h(w.o0.f109692c);
return true;
}
public static final boolean Vb(z zVar, Preference preference) {
mi1.d.INSTANCE.a(zVar.qb()).show(zVar.getChildFragmentManager(), zVar.getTag());
n91.a.r(zVar, "SettingsPreferenceFragmentDeleteAccount", new j());
return true;
}
public static final boolean Wb(final z zVar, Preference preference) {
String P;
b.a a15 = wa1.f.INSTANCE.a(zVar.requireContext());
if (zVar.Eb().b() && td1.c.C1(zVar.xb())) {
P = kotlin.text.v.P(zVar.getResources().getString(w81.l.I9), "{email}", zVar.Eb().y().getSupportEmail(), false, 4, null);
a15.i(P);
a15.r(w81.l.U3, new DialogInterface.OnClickListener() {
@Override
public final void onClick(DialogInterface dialogInterface, int i15) {
z.Xb(z.this, dialogInterface, i15);
}
});
a15.k(w81.l.R3, null);
} else {
a15.h(w81.l.J9);
a15.r(w81.l.G5, new DialogInterface.OnClickListener() {
@Override
public final void onClick(DialogInterface dialogInterface, int i15) {
z.Yb(z.this, dialogInterface, i15);
}
});
a15.k(w81.l.S4, null);
}
a15.y();
return true;
}
public static final void Xb(z zVar, DialogInterface dialogInterface, int i15) {
co.g0 g0Var;
Intent intent = new Intent("android.intent.action.SENDTO");
intent.setData(Uri.parse("mailto:" + zVar.Eb().y().getSupportEmail()));
try {
r.Companion companion = co.r.INSTANCE;
FragmentActivity activity = zVar.getActivity();
if (activity != null) {
activity.startActivity(intent);
g0Var = co.g0.f25238a;
} else {
g0Var = null;
}
co.r.b(g0Var);
} catch (Throwable th4) {
r.Companion companion2 = co.r.INSTANCE;
co.r.b(co.s.a(th4));
}
}
public static final void Yb(z zVar, DialogInterface dialogInterface, int i15) {
FragmentActivity activity = zVar.getActivity();
if (activity != null) {
activity.startActivity(new Intent(zVar.getActivity(), (Class<?>) ChangePhoneActivity.class));
}
}
private final void Zb() {
AbstractionAppCompatActivity abstractionAppCompatActivity;
FragmentActivity activity = getActivity();
if (activity instanceof AbstractionAppCompatActivity) {
abstractionAppCompatActivity = (AbstractionAppCompatActivity) activity;
} else {
abstractionAppCompatActivity = null;
}
if (abstractionAppCompatActivity != null) {
abstractionAppCompatActivity.m();
}
}
private final void ac() {
int i15;
int i16;
fd1.a h15 = fd1.a.h(requireContext());
Preference v45 = v4("night_mode");
if (v45 != null) {
ThemeModeType C = h15.C();
if (C == null) {
i15 = -1;
} else {
i15 = b.f17104a[C.ordinal()];
}
if (i15 != 1) {
if (i15 != 2) {
i16 = bq2.c.f20957c;
} else {
i16 = bq2.c.f20955a;
}
} else {
i16 = bq2.c.f20956b;
}
v45.F0(i16);
}
}
private final void bc(View view) {
}
private final StatusBottomSheetParams qb() {
List e15;
StatusViewParams statusViewParams = new StatusViewParams(ph1.m.X0, getString(w81.l.M9), null, 8388611, getString(w81.l.L9), null, 8388611, null, null, false, ph1.f.f112960r, ph1.f.f112962t, 932, null);
e15 = p029do.t.e(new ButtonParam(ph1.m.f113398a, getString(w81.l.K9), null, "SettingsPreferenceFragmentDeleteAccountOk", true, null, 36, null));
return new StatusBottomSheetParams(statusViewParams, e15, "SettingsPreferenceFragmentDeleteAccount", false, new EndButtonParam(null, false, 3, null), false, 32, null);
}
private final void rb(Preference preference) {
wb().z(getContext(), getContext().getPackageName() + ".imagePicker.provider", new d(preference));
}
private final w71.a wb() {
return (w71.a) this.cacheDumper.getValue();
}
private final String yb() {
boolean I;
int e05;
Object Z;
String q15 = tb().q();
I = kotlin.text.v.I(q15);
if (!I) {
e05 = p029do.p.e0(getResources().getStringArray(w81.e.f167415c), q15);
Z = p029do.p.Z(getResources().getStringArray(w81.e.f167416d), e05);
String str = (String) Z;
if (str == null) {
return "";
}
return str;
}
return getString(w81.l.N5);
}
@NotNull
public final bo.a<w81.a> Ab() {
bo.a<w81.a> aVar = this.resultDispatcher;
if (aVar != null) {
return aVar;
}
return null;
}
@NotNull
public final ma.p Bb() {
ma.p pVar = this.router;
if (pVar != null) {
return pVar;
}
return null;
}
@NotNull
public final tv.h Cb() {
tv.h hVar = this.swrveAnalytics;
if (hVar != null) {
return hVar;
}
return null;
}
@NotNull
public final w71.c Db() {
w71.c cVar = this.telemetryFactory;
if (cVar != null) {
return cVar;
}
return null;
}
@NotNull
public final xc1.l Eb() {
xc1.l lVar = this.user;
if (lVar != null) {
return lVar;
}
return null;
}
@Override
public void Na(Bundle bundle, String str) {
Fa().s("AppConfigurationPreferences");
}
@Override
@NotNull
public Context getContext() {
return new ContextThemeWrapper(super.getContext(), ov.t.f109626a);
}
public abstract void lb();
@Override
public void onCreate(Bundle bundle) {
super.onCreate(bundle);
ym.b bVar = this.userDisposable;
if (bVar != null) {
bVar.dispose();
}
vm.q<xc1.l> i15 = Eb().V0().i1(xm.a.c());
final g gVar = new g();
this.userDisposable = i15.P1(new an.f() {
@Override
public final void accept(Object obj) {
z.Hb(qo.l.this, obj);
}
});
ym.b bVar2 = this.logoutDisposable;
if (bVar2 != null) {
bVar2.dispose();
}
vm.q i16 = Ab().get().a().r0(new a.h(new e(w81.b.GLOBAL_EVENT))).Y0(new a.g(f.f17109l)).i1(xm.a.c());
final h hVar = new h();
this.logoutDisposable = i16.P1(new an.f() {
@Override
public final void accept(Object obj) {
z.Ib(qo.l.this, obj);
}
});
Ob();
Kb();
if (bundle == null) {
Cb().k();
}
wb().A(requireContext());
}
@Override
public void onDestroy() {
super.onDestroy();
ym.b bVar = this.userDisposable;
if (bVar != null) {
bVar.dispose();
}
ym.b bVar2 = this.logoutDisposable;
if (bVar2 != null) {
bVar2.dispose();
}
}
@fi.h
public final void onLogOut(@NotNull ec2.b bVar) {
Gb();
}
@Override
public void onStart() {
super.onStart();
vb().j(this);
}
@Override
public void onStop() {
super.onStop();
vb().l(this);
}
@Override
public void onViewCreated(@NotNull View view, Bundle bundle) {
super.onViewCreated(view, bundle);
bc(view);
ac();
}
@NotNull
public final s71.e sb() {
s71.e eVar = this.analytics;
if (eVar != null) {
return eVar;
}
return null;
}
@NotNull
public final xc1.a tb() {
xc1.a aVar = this.appConfiguration;
if (aVar != null) {
return aVar;
}
return null;
}
@NotNull
public final hd1.a ub() {
hd1.a aVar = this.appDeviceInfo;
if (aVar != null) {
return aVar;
}
return null;
}
@NotNull
public final fi.b vb() {
fi.b bVar = this.bus;
if (bVar != null) {
return bVar;
}
return null;
}
@NotNull
public final sd1.b xb() {
sd1.b bVar = this.featureTogglesRepository;
if (bVar != null) {
return bVar;
}
return null;
}
@NotNull
public final bo.a<dc2.d> zb() {
bo.a<dc2.d> aVar = this.logoutInteractor;
if (aVar != null) {
return aVar;
}
return null;
}
}