package com.vinfast.companion.notification.ui.theftalert.detail;

/* JADX INFO: compiled from: r8-map-id-ae6aab8d9a1033945587ffdd1bc6222159522c1d66e66a2c4cecb065134dd0a6 */
/* JADX INFO: loaded from: E:\ios\vf_dex\classes4.dex */
@dagger.hilt.android.lifecycle.HiltViewModel
@kotlin.Metadata(d1 = {"\u0000\u009e\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\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0010\u000b\n\u0002\b\f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\t\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0010\b\u0017\u0018\u00002\u00020\u0001B9\b\u0007\u0012\u0006\u0010\u0003\u001a\u00020\u0002\u0012\u0006\u0010\u0005\u001a\u00020\u0004\u0012\u0006\u0010\u0007\u001a\u00020\u0006\u0012\u0006\u0010\t\u001a\u00020\b\u0012\u0006\u0010\u000b\u001a\u00020\n\u0012\u0006\u0010\r\u001a\u00020\f¢\u0006\u0004\b\u000e\u0010\u000fJ\u000f\u0010\u0011\u001a\u00020\u0010H\u0002¢\u0006\u0004\b\u0011\u0010\u0012J\u000f\u0010\u0013\u001a\u00020\u0010H\u0002¢\u0006\u0004\b\u0013\u0010\u0012J\u000f\u0010\u0014\u001a\u00020\u0010H\u0002¢\u0006\u0004\b\u0014\u0010\u0012J\u000f\u0010\u0015\u001a\u00020\u0010H\u0002¢\u0006\u0004\b\u0015\u0010\u0012J\u0017\u0010\u0018\u001a\u00020\u00102\b\u0010\u0017\u001a\u0004\u0018\u00010\u0016¢\u0006\u0004\b\u0018\u0010\u0019J\u000f\u0010\u001a\u001a\u00020\u0010H\u0014¢\u0006\u0004\b\u001a\u0010\u0012J\u000f\u0010\u001b\u001a\u00020\u0010H\u0014¢\u0006\u0004\b\u001b\u0010\u0012J\u0019\u0010\u001e\u001a\u00020\u00102\b\u0010\u001d\u001a\u0004\u0018\u00010\u001cH\u0004¢\u0006\u0004\b\u001e\u0010\u001fJ\r\u0010 \u001a\u00020\u0010¢\u0006\u0004\b \u0010\u0012J\r\u0010!\u001a\u00020\u001c¢\u0006\u0004\b!\u0010\"J\r\u0010#\u001a\u00020\u0010¢\u0006\u0004\b#\u0010\u0012J\r\u0010%\u001a\u00020$¢\u0006\u0004\b%\u0010&R\u0014\u0010\u0005\u001a\u00020\u00048\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b'\u0010(R\u0014\u0010\u0007\u001a\u00020\u00068\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b)\u0010*R\u0014\u0010\t\u001a\u00020\b8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b+\u0010,R\u0014\u0010\u000b\u001a\u00020\n8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b-\u0010.R\u0014\u0010\r\u001a\u00020\f8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b/\u00100R\u001a\u00105\u001a\b\u0012\u0004\u0012\u000202018\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b3\u00104R \u00109\u001a\b\u0012\u0004\u0012\u00020\u001c018\u0004X\u0084\u0004¢\u0006\f\n\u0004\b6\u00104\u001a\u0004\b7\u00108R \u0010=\u001a\b\u0012\u0004\u0012\u00020:018\u0004X\u0084\u0004¢\u0006\f\n\u0004\b;\u00104\u001a\u0004\b<\u00108R\u001a\u0010@\u001a\b\u0012\u0004\u0012\u00020>018\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b?\u00104R\u001a\u0010C\u001a\b\u0012\u0004\u0012\u00020A018\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\bB\u00104R\u001a\u0010E\u001a\b\u0012\u0004\u0012\u00020A018\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\bD\u00104R\"\u0010J\u001a\u00020\u001c8\u0004@\u0004X\u0084.¢\u0006\u0012\n\u0004\bF\u0010G\u001a\u0004\bH\u0010\"\"\u0004\bI\u0010\u001fR\"\u0010R\u001a\u00020K8\u0004@\u0004X\u0084.¢\u0006\u0012\n\u0004\bL\u0010M\u001a\u0004\bN\u0010O\"\u0004\bP\u0010QR\u0014\u0010V\u001a\u00020S8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\bT\u0010UR\u001d\u0010]\u001a\b\u0012\u0004\u0012\u00020X0W8\u0006¢\u0006\f\n\u0004\bY\u0010Z\u001a\u0004\b[\u0010\\R\u0016\u0010a\u001a\u0004\u0018\u00010^8BX\u0082\u0004¢\u0006\u0006\u001a\u0004\b_\u0010`R\u0017\u0010e\u001a\b\u0012\u0004\u0012\u0002020b8F¢\u0006\u0006\u001a\u0004\bc\u0010dR\u0017\u0010g\u001a\b\u0012\u0004\u0012\u00020\u001c0b8F¢\u0006\u0006\u001a\u0004\bf\u0010dR\u0017\u0010i\u001a\b\u0012\u0004\u0012\u00020:0b8F¢\u0006\u0006\u001a\u0004\bh\u0010dR\u0017\u0010k\u001a\b\u0012\u0004\u0012\u00020>0b8F¢\u0006\u0006\u001a\u0004\bj\u0010dR\u0017\u0010m\u001a\b\u0012\u0004\u0012\u00020A0b8F¢\u0006\u0006\u001a\u0004\bl\u0010dR\u0017\u0010o\u001a\b\u0012\u0004\u0012\u00020A0b8F¢\u0006\u0006\u001a\u0004\bn\u0010dR\u0011\u0010q\u001a\u00020$8F¢\u0006\u0006\u001a\u0004\bp\u0010&¨\u0006r"}, d2 = {"Lcom/vinfast/companion/notification/ui/theftalert/detail/TheftAlertDetailViewModel;", "Lcom/vinfast/companion/notification/ui/detail/NotificationDetailViewModel;", "Lcom/vinfast/companion/notificationkit/manager/INotificationManager;", "notificationManager", "Lcom/vinfast/companion/map/manager/HEREManager;", "hereManager", "Lcom/vinfast/companion/remotecontrolskit/manager/IRemoteControlManager;", "remoteControlManager", "Lcom/vinfast/companion/vehiclekit/data/manager/IVehicleManager;", "vehicleManager", "Lcom/vinfast/companion/corenetwork/manager/remoteConfig/IRemoteConfigManager;", "remoteConfigManager", "Lcom/vinfast/companion/core/managers/BuildConfigManager;", "buildConfigManager", "<init>", "(Lcom/vinfast/companion/notificationkit/manager/INotificationManager;Lcom/vinfast/companion/map/manager/HEREManager;Lcom/vinfast/companion/remotecontrolskit/manager/IRemoteControlManager;Lcom/vinfast/companion/vehiclekit/data/manager/IVehicleManager;Lcom/vinfast/companion/corenetwork/manager/remoteConfig/IRemoteConfigManager;Lcom/vinfast/companion/core/managers/BuildConfigManager;)V", "", "f0", "()V", "e0", "k0", "h0", "Landroid/os/Bundle;", "arguments", "b0", "(Landroid/os/Bundle;)V", "g0", "j0", "Lcom/vinfast/companion/core/utils/notification/Notification;", "notification", "T", "(Lcom/vinfast/companion/core/utils/notification/Notification;)V", "m0", "N", "()Lcom/vinfast/companion/core/utils/notification/Notification;", "q0", "", "c0", "()Z", "n", "Lcom/vinfast/companion/map/manager/HEREManager;", "o", "Lcom/vinfast/companion/remotecontrolskit/manager/IRemoteControlManager;", "p", "Lcom/vinfast/companion/vehiclekit/data/manager/IVehicleManager;", "q", "Lcom/vinfast/companion/corenetwork/manager/remoteConfig/IRemoteConfigManager;", "r", "Lcom/vinfast/companion/core/managers/BuildConfigManager;", "Landroidx/lifecycle/MutableLiveData;", "Lcom/vinfast/companion/map/model/MapLocation;", "s", "Landroidx/lifecycle/MutableLiveData;", "_mapLocationLiveData", "t", "a0", "()Landroidx/lifecycle/MutableLiveData;", "_theftAlertNotificationLiveData", "Lcom/vinfast/companion/notificationkit/domain/model/TheftAlertImageBundle;", "u", "Z", "_imageBundleLiveData", "Ljava/util/Date;", "v", "_timeLiveData", "", "w", "_locationLiveData", "x", "_licensePlateLiveData", "y", "Lcom/vinfast/companion/core/utils/notification/Notification;", "R", "o0", "mNotification", "Lcom/vinfast/companion/notification/ui/theftalert/TheftAlertMessageContentViewModel;", "z", "Lcom/vinfast/companion/notification/ui/theftalert/TheftAlertMessageContentViewModel;", "S", "()Lcom/vinfast/companion/notification/ui/theftalert/TheftAlertMessageContentViewModel;", "p0", "(Lcom/vinfast/companion/notification/ui/theftalert/TheftAlertMessageContentViewModel;)V", "mTheftAlertContentViewModel", "Lio/reactivex/rxjava3/disposables/CompositeDisposable;", "A", "Lio/reactivex/rxjava3/disposables/CompositeDisposable;", "vehicleScopedDisposable", "Lcom/jakewharton/rxrelay3/PublishRelay;", "Lcom/vinfast/companion/remotecontrolskit/persitent/model/info/common/RemoteItemResponses;", "B", "Lcom/jakewharton/rxrelay3/PublishRelay;", "V", "()Lcom/jakewharton/rxrelay3/PublishRelay;", "remoteControlResponseLiveData", "Lcom/vinfast/companion/core/uiPrototype/base/VehicleType;", "Y", "()Lcom/vinfast/companion/core/uiPrototype/base/VehicleType;", "vehicleType", "Landroidx/lifecycle/LiveData;", "U", "()Landroidx/lifecycle/LiveData;", "mapLocationLiveData", "W", "theftAlertNotificationLiveData", "O", "imageBundleLiveData", "X", "timeLiveData", "Q", "locationLiveData", "P", "licensePlateLiveData", "d0", "isSupportNavigation", "notification_release"}, k = 1, mv = {2, 2, 0}, xi = 48)
@kotlin.jvm.internal.SourceDebugExtension
public class TheftAlertDetailViewModel extends com.vinfast.companion.notification.ui.detail.NotificationDetailViewModel {

    /* JADX INFO: renamed from: A, reason: from kotlin metadata */
    private final io.reactivex.rxjava3.disposables.CompositeDisposable vehicleScopedDisposable;

    /* JADX INFO: renamed from: B, reason: from kotlin metadata */
    private final com.jakewharton.rxrelay3.PublishRelay remoteControlResponseLiveData;

    /* JADX INFO: renamed from: n, reason: from kotlin metadata */
    private final com.vinfast.companion.map.manager.HEREManager hereManager;

    /* JADX INFO: renamed from: o, reason: from kotlin metadata */
    private final com.vinfast.companion.remotecontrolskit.manager.IRemoteControlManager remoteControlManager;

    /* JADX INFO: renamed from: p, reason: from kotlin metadata */
    private final com.vinfast.companion.vehiclekit.data.manager.IVehicleManager vehicleManager;

    /* JADX INFO: renamed from: q, reason: from kotlin metadata */
    private final com.vinfast.companion.corenetwork.manager.remoteConfig.IRemoteConfigManager remoteConfigManager;

    /* JADX INFO: renamed from: r, reason: from kotlin metadata */
    private final com.vinfast.companion.core.managers.BuildConfigManager buildConfigManager;

    /* JADX INFO: renamed from: s, reason: from kotlin metadata */
    private final androidx.lifecycle.MutableLiveData _mapLocationLiveData;

    /* JADX INFO: renamed from: t, reason: from kotlin metadata */
    private final androidx.lifecycle.MutableLiveData _theftAlertNotificationLiveData;

    /* JADX INFO: renamed from: u, reason: from kotlin metadata */
    private final androidx.lifecycle.MutableLiveData _imageBundleLiveData;

    /* JADX INFO: renamed from: v, reason: from kotlin metadata */
    private final androidx.lifecycle.MutableLiveData _timeLiveData;

    /* JADX INFO: renamed from: w, reason: from kotlin metadata */
    private final androidx.lifecycle.MutableLiveData _locationLiveData;

    /* JADX INFO: renamed from: x, reason: from kotlin metadata */
    private final androidx.lifecycle.MutableLiveData _licensePlateLiveData;

    /* JADX INFO: renamed from: y, reason: from kotlin metadata */
    protected com.vinfast.companion.core.utils.notification.Notification mNotification;

    /* JADX INFO: renamed from: z, reason: from kotlin metadata */
    protected com.vinfast.companion.notification.ui.theftalert.TheftAlertMessageContentViewModel mTheftAlertContentViewModel;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public TheftAlertDetailViewModel(com.vinfast.companion.notificationkit.manager.INotificationManager iNotificationManager, com.vinfast.companion.map.manager.HEREManager hEREManager, com.vinfast.companion.remotecontrolskit.manager.IRemoteControlManager iRemoteControlManager, com.vinfast.companion.vehiclekit.data.manager.IVehicleManager iVehicleManager, com.vinfast.companion.corenetwork.manager.remoteConfig.IRemoteConfigManager iRemoteConfigManager, com.vinfast.companion.core.managers.BuildConfigManager buildConfigManager) {
        super(iNotificationManager);
        kotlin.jvm.internal.Intrinsics.l(iNotificationManager, "notificationManager");
        kotlin.jvm.internal.Intrinsics.l(hEREManager, "hereManager");
        kotlin.jvm.internal.Intrinsics.l(iRemoteControlManager, "remoteControlManager");
        kotlin.jvm.internal.Intrinsics.l(iVehicleManager, "vehicleManager");
        kotlin.jvm.internal.Intrinsics.l(iRemoteConfigManager, "remoteConfigManager");
        kotlin.jvm.internal.Intrinsics.l(buildConfigManager, "buildConfigManager");
        this.hereManager = hEREManager;
        this.remoteControlManager = iRemoteControlManager;
        this.vehicleManager = iVehicleManager;
        this.remoteConfigManager = iRemoteConfigManager;
        this.buildConfigManager = buildConfigManager;
        this._mapLocationLiveData = new androidx.lifecycle.MutableLiveData();
        this._theftAlertNotificationLiveData = new androidx.lifecycle.MutableLiveData();
        this._imageBundleLiveData = new androidx.lifecycle.MutableLiveData();
        this._timeLiveData = new androidx.lifecycle.MutableLiveData();
        this._locationLiveData = new androidx.lifecycle.MutableLiveData();
        this._licensePlateLiveData = new androidx.lifecycle.MutableLiveData();
        this.vehicleScopedDisposable = new io.reactivex.rxjava3.disposables.CompositeDisposable();
        com.jakewharton.rxrelay3.PublishRelay publishRelayC = com.jakewharton.rxrelay3.PublishRelay.c();
        kotlin.jvm.internal.Intrinsics.k(publishRelayC, "create(...)");
        this.remoteControlResponseLiveData = publishRelayC;
        k0();
    }

    private final com.vinfast.companion.core.uiPrototype.base.VehicleType Y() {
        com.vinfast.companion.vehiclekit.data.persistent.model.Vehicle vehicle = (com.vinfast.companion.vehiclekit.data.persistent.model.Vehicle) com.vinfast.companion.core.extensions.validity.ValidityExtensionKt.d(this.vehicleManager.o1());
        if (vehicle != null) {
            return vehicle.I();
        }
        return null;
    }

    private final void e0() {
        java.lang.String strS = R().s();
        if (strS == null) {
            return;
        }
        io.reactivex.rxjava3.disposables.Disposable disposableSubscribe = com.vinfast.companion.core.extensions.RxExtensionKt.B(getNotificationManager().f(strS)).subscribe(new io.reactivex.rxjava3.functions.Consumer() { // from class: com.vinfast.companion.notification.ui.theftalert.detail.TheftAlertDetailViewModel$listenFcmNotification$1
            /* JADX INFO: renamed from: a, reason: merged with bridge method [inline-methods] */
            public final void accept(com.vinfast.companion.core.utils.notification.Notification notification) {
                kotlin.jvm.internal.Intrinsics.l(notification, "notification");
                this.a.get_theftAlertNotificationLiveData().n(notification);
                if (notification.x()) {
                    this.a.S().f(notification);
                    this.a.T(notification);
                }
            }
        }, new io.reactivex.rxjava3.functions.Consumer() { // from class: com.vinfast.companion.notification.ui.theftalert.detail.TheftAlertDetailViewModel$listenFcmNotification$2
            /* JADX INFO: renamed from: a, reason: merged with bridge method [inline-methods] */
            public final void accept(java.lang.Throwable th) {
                kotlin.jvm.internal.Intrinsics.l(th, "error");
                timber.log.Timber.a.d(th);
            }
        });
        kotlin.jvm.internal.Intrinsics.k(disposableSubscribe, "subscribe(...)");
        com.vinfast.companion.core.extensions.RxExtensionKt.k(disposableSubscribe, s());
    }

    private final void f0() {
        java.lang.String strS = R().s();
        if (strS == null) {
            return;
        }
        io.reactivex.rxjava3.disposables.Disposable disposableSubscribe = com.vinfast.companion.core.extensions.RxExtensionKt.B(getNotificationManager().c(strS)).subscribe(new io.reactivex.rxjava3.functions.Consumer() { // from class: com.vinfast.companion.notification.ui.theftalert.detail.TheftAlertDetailViewModel$listenLatestTheftAlertImage$1
            /* JADX INFO: renamed from: a, reason: merged with bridge method [inline-methods] */
            public final void accept(com.vinfast.companion.notificationkit.domain.model.TheftAlertImageBundle theftAlertImageBundle) {
                kotlin.jvm.internal.Intrinsics.l(theftAlertImageBundle, "imageBundle");
                this.a.get_imageBundleLiveData().n(theftAlertImageBundle);
            }
        }, new io.reactivex.rxjava3.functions.Consumer() { // from class: com.vinfast.companion.notification.ui.theftalert.detail.TheftAlertDetailViewModel$listenLatestTheftAlertImage$2
            /* JADX INFO: renamed from: a, reason: merged with bridge method [inline-methods] */
            public final void accept(java.lang.Throwable th) {
                kotlin.jvm.internal.Intrinsics.l(th, "it");
                timber.log.Timber.a.d(th);
            }
        });
        kotlin.jvm.internal.Intrinsics.k(disposableSubscribe, "subscribe(...)");
        com.vinfast.companion.core.extensions.RxExtensionKt.k(disposableSubscribe, s());
    }

    private final void h0() {
        com.vinfast.companion.core.extensions.RxExtensionKt.k(com.vinfast.companion.core.extensions.RxExtensionKt.o(this.remoteControlManager.N0(new com.vinfast.companion.remotecontrolskit.persitent.model.info.common.RemoteItem[]{com.vinfast.companion.remotecontrolskit.persitent.model.info.common.RemoteItem.ANTI_THIEF_DETECTION_ALARM_STATUS}), new kotlin.jvm.functions.Function1() { // from class: com.vinfast.companion.notification.ui.theftalert.detail.m
            public final java.lang.Object invoke(java.lang.Object obj) {
                return com.vinfast.companion.notification.ui.theftalert.detail.TheftAlertDetailViewModel.i0(this.a, (com.vinfast.companion.remotecontrolskit.persitent.model.info.common.RemoteItemResponses) obj);
            }
        }), this.vehicleScopedDisposable);
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final kotlin.Unit i0(com.vinfast.companion.notification.ui.theftalert.detail.TheftAlertDetailViewModel theftAlertDetailViewModel, com.vinfast.companion.remotecontrolskit.persitent.model.info.common.RemoteItemResponses remoteItemResponses) {
        kotlin.jvm.internal.Intrinsics.l(remoteItemResponses, "response");
        theftAlertDetailViewModel.remoteControlResponseLiveData.accept(remoteItemResponses);
        return kotlin.Unit.a;
    }

    private final void k0() {
        com.vinfast.companion.core.extensions.RxExtensionKt.k(this.vehicleScopedDisposable, s());
        io.reactivex.rxjava3.core.Observable observableDistinctUntilChanged = this.vehicleManager.o1().distinctUntilChanged();
        kotlin.jvm.internal.Intrinsics.k(observableDistinctUntilChanged, "distinctUntilChanged(...)");
        com.vinfast.companion.core.extensions.RxExtensionKt.k(com.vinfast.companion.core.extensions.RxExtensionKt.o(com.vinfast.companion.core.extensions.RxExtensionKt.y(observableDistinctUntilChanged), new kotlin.jvm.functions.Function1() { // from class: com.vinfast.companion.notification.ui.theftalert.detail.l
            public final java.lang.Object invoke(java.lang.Object obj) {
                return com.vinfast.companion.notification.ui.theftalert.detail.TheftAlertDetailViewModel.l0(this.a, (com.vinfast.companion.core.extensions.validity.Validity) obj);
            }
        }), s());
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final kotlin.Unit l0(com.vinfast.companion.notification.ui.theftalert.detail.TheftAlertDetailViewModel theftAlertDetailViewModel, com.vinfast.companion.core.extensions.validity.Validity validity) {
        theftAlertDetailViewModel.vehicleScopedDisposable.d();
        if (validity.a() != null) {
            theftAlertDetailViewModel.h0();
        }
        return kotlin.Unit.a;
    }

    public final com.vinfast.companion.core.utils.notification.Notification N() {
        return R();
    }

    public final androidx.lifecycle.LiveData O() {
        return this._imageBundleLiveData;
    }

    public final androidx.lifecycle.LiveData P() {
        return this._licensePlateLiveData;
    }

    public final androidx.lifecycle.LiveData Q() {
        return this._locationLiveData;
    }

    protected final com.vinfast.companion.core.utils.notification.Notification R() {
        com.vinfast.companion.core.utils.notification.Notification notification = this.mNotification;
        if (notification != null) {
            return notification;
        }
        kotlin.jvm.internal.Intrinsics.C("mNotification");
        return null;
    }

    protected final com.vinfast.companion.notification.ui.theftalert.TheftAlertMessageContentViewModel S() {
        com.vinfast.companion.notification.ui.theftalert.TheftAlertMessageContentViewModel theftAlertMessageContentViewModel = this.mTheftAlertContentViewModel;
        if (theftAlertMessageContentViewModel != null) {
            return theftAlertMessageContentViewModel;
        }
        kotlin.jvm.internal.Intrinsics.C("mTheftAlertContentViewModel");
        return null;
    }

    protected final void T(com.vinfast.companion.core.utils.notification.Notification notification) {
        java.lang.Double dJ;
        if (notification == null || (dJ = notification.j()) == null) {
            return;
        }
        double dDoubleValue = dJ.doubleValue();
        java.lang.Double dL = notification.l();
        if (dL != null) {
            this._mapLocationLiveData.n(new com.vinfast.companion.map.model.MapLocation(null, null, null, null, null, null, null, null, null, false, dDoubleValue, dL.doubleValue(), null, java.lang.Integer.valueOf(com.vinfast.companion.notification.R.drawable.ic_map_car), null, null, null, null, null, null, null, null, null, 8377343, null));
        }
    }

    public final androidx.lifecycle.LiveData U() {
        return this._mapLocationLiveData;
    }

    /* JADX INFO: renamed from: V, reason: from getter */
    public final com.jakewharton.rxrelay3.PublishRelay getRemoteControlResponseLiveData() {
        return this.remoteControlResponseLiveData;
    }

    public final androidx.lifecycle.LiveData W() {
        return this._theftAlertNotificationLiveData;
    }

    public final androidx.lifecycle.LiveData X() {
        return this._timeLiveData;
    }

    /* JADX INFO: Access modifiers changed from: protected */
    /* JADX INFO: renamed from: Z, reason: from getter */
    public final androidx.lifecycle.MutableLiveData get_imageBundleLiveData() {
        return this._imageBundleLiveData;
    }

    /* JADX INFO: renamed from: a0, reason: from getter */
    protected final androidx.lifecycle.MutableLiveData get_theftAlertNotificationLiveData() {
        return this._theftAlertNotificationLiveData;
    }

    public final void b0(android.os.Bundle arguments) {
        android.os.Parcelable parcelable;
        android.os.Parcelable parcelable2 = null;
        if (arguments != null) {
            if (android.os.Build.VERSION.SDK_INT >= 33) {
                parcelable = (android.os.Parcelable) com.vinfast.companion.authentication.ui.signup.termandcondition.batteryaoutopayment.a.a(arguments, "notificationData", com.vinfast.companion.core.utils.notification.Notification.class);
            } else {
                android.os.Parcelable parcelable3 = arguments.getParcelable("notificationData");
                parcelable = (com.vinfast.companion.core.utils.notification.Notification) (parcelable3 instanceof com.vinfast.companion.core.utils.notification.Notification ? parcelable3 : null);
            }
            parcelable2 = (com.vinfast.companion.core.utils.notification.Notification) parcelable;
        }
        kotlin.jvm.internal.Intrinsics.i(parcelable2);
        o0(parcelable2);
        p0(new com.vinfast.companion.notification.ui.theftalert.TheftAlertMessageContentViewModel(this.hereManager.c(), s(), this._timeLiveData, this._locationLiveData, this._licensePlateLiveData, d0()));
        j0();
        g0();
        K(kotlin.collections.CollectionsKt.e(R()));
    }

    public final boolean c0() {
        com.vinfast.companion.corenetwork.manager.remoteConfig.IRemoteConfigManager iRemoteConfigManager = this.remoteConfigManager;
        com.vinfast.companion.vehiclekit.data.persistent.model.Vehicle vehicle = (com.vinfast.companion.vehiclekit.data.persistent.model.Vehicle) com.vinfast.companion.core.extensions.validity.ValidityExtensionKt.d(this.vehicleManager.o1());
        return com.vinfast.companion.corenetwork.manager.remoteConfig.RemoteConfigExtensionKt.n(iRemoteConfigManager, vehicle != null ? vehicle.I() : null);
    }

    public final boolean d0() {
        return this.buildConfigManager.d(com.vinfast.companion.core.managers.MarketFeatures.NAVIGATION, Y());
    }

    protected void g0() {
        f0();
    }

    protected void j0() {
        e0();
    }

    public final void m0() {
        com.vinfast.companion.map.model.MapLocation mapLocation = (com.vinfast.companion.map.model.MapLocation) this._mapLocationLiveData.f();
        if (mapLocation != null) {
            this._mapLocationLiveData.q(mapLocation);
        }
        com.vinfast.companion.core.utils.notification.Notification notification = (com.vinfast.companion.core.utils.notification.Notification) this._theftAlertNotificationLiveData.f();
        if (notification != null) {
            this._theftAlertNotificationLiveData.q(notification);
        }
        java.util.Date date = (java.util.Date) this._timeLiveData.f();
        if (date != null) {
            this._timeLiveData.q(date);
        }
        java.lang.String str = (java.lang.String) this._licensePlateLiveData.f();
        if (str != null) {
            this._licensePlateLiveData.q(str);
        }
        java.lang.String str2 = (java.lang.String) this._locationLiveData.f();
        if (str2 != null) {
            this._locationLiveData.q(str2);
        }
        com.vinfast.companion.notificationkit.domain.model.TheftAlertImageBundle theftAlertImageBundle = (com.vinfast.companion.notificationkit.domain.model.TheftAlertImageBundle) this._imageBundleLiveData.f();
        if (theftAlertImageBundle != null) {
            this._imageBundleLiveData.q(theftAlertImageBundle);
        }
    }

    protected final void o0(com.vinfast.companion.core.utils.notification.Notification notification) {
        kotlin.jvm.internal.Intrinsics.l(notification, "<set-?>");
        this.mNotification = notification;
    }

    protected final void p0(com.vinfast.companion.notification.ui.theftalert.TheftAlertMessageContentViewModel theftAlertMessageContentViewModel) {
        kotlin.jvm.internal.Intrinsics.l(theftAlertMessageContentViewModel, "<set-?>");
        this.mTheftAlertContentViewModel = theftAlertMessageContentViewModel;
    }

    public final void q0() {
        com.vinfast.companion.remotecontrolskit.manager.IRemoteControlManager.I(this.remoteControlManager, com.vinfast.companion.remotecontrolskit.persitent.model.info.common.RemoteItemUseCases.AntiThiefDetectionAlarmStop.INSTANCE, (java.lang.String) null, (com.vinfast.companion.remotecontrolskit.manager.RemoteControlType) null, (kotlin.jvm.functions.Function1) null, 14, (java.lang.Object) null);
    }
}
