导航菜单

页面标题

页面副标题

Mitra Bukalapak v2.55.0 - HomeActivity.java 源代码

正在查看: Mitra Bukalapak v2.55.0 应用的 HomeActivity.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package com.bukalapak.mitra.activity;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.os.Looper;
import android.os.Parcelable;
import android.util.Log;
import android.view.View;
import androidx.core.splashscreen.SplashScreen;
import androidx.lifecycle.LiveData;
import androidx.lifecycle.w;
import com.bukalapak.android.lib.api4.tungku.data.SingleKycIdentity;
import com.bukalapak.mitra.activity.HomeActivity;
import defpackage.ad8;
import defpackage.b51;
import defpackage.b72;
import defpackage.dh1;
import defpackage.dk4;
import defpackage.dl;
import defpackage.eq1;
import defpackage.ex2;
import defpackage.f31;
import defpackage.f4;
import defpackage.f67;
import defpackage.gd6;
import defpackage.gx2;
import defpackage.h4;
import defpackage.ja0;
import defpackage.je7;
import defpackage.ke;
import defpackage.la0;
import defpackage.lm9;
import defpackage.lx7;
import defpackage.mt0;
import defpackage.n41;
import defpackage.nw4;
import defpackage.oq1;
import defpackage.oq3;
import defpackage.ot7;
import defpackage.ou5;
import defpackage.p64;
import defpackage.r31;
import defpackage.rq3;
import defpackage.s64;
import defpackage.sq3;
import defpackage.sw8;
import defpackage.tr3;
import defpackage.uja;
import defpackage.uw9;
import defpackage.ux2;
import defpackage.wp1;
import defpackage.xn4;
import defpackage.zc5;
import java.io.Serializable;
import kotlin.Metadata;
import kotlin.NoWhenBranchMatchedException;

@Metadata(d1 = {"\u0000º\u0001\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0010\u000e\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u000b\n\u0002\u0010\b\n\u0002\b\t\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0018\u0002\n\u0002\b\t\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0018\u0002\n\u0002\b\r\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0016\b\u0007\u0018\u0000 \u009c\u00012\u00020\u00012\u00020\u00022\u00020\u0003:\b\u009d\u0001\u009e\u0001\u009f\u0001 \u0001B\b¢\u0006\u0005\b\u009b\u0001\u0010mJ\b\u0010\u0005\u001a\u00020\u0004H\u0002J\u0012\u0010\b\u001a\u00020\u00042\b\u0010\u0007\u001a\u0004\u0018\u00010\u0006H\u0002J\u0010\u0010\n\u001a\u00020\t2\u0006\u0010\u0007\u001a\u00020\u0006H\u0002J\b\u0010\u000b\u001a\u00020\u0004H\u0002J\b\u0010\f\u001a\u00020\u0004H\u0002J\b\u0010\r\u001a\u00020\u0004H\u0002J\u0010\u0010\u0010\u001a\u00020\u00042\u0006\u0010\u000f\u001a\u00020\u000eH\u0002J\u0010\u0010\u0011\u001a\u00020\u00042\u0006\u0010\u0007\u001a\u00020\u0006H\u0002J\b\u0010\u0012\u001a\u00020\u0004H\u0002J,\u0010\u0019\u001a\u00020\u00042\u0006\u0010\u0014\u001a\u00020\u00132\u0006\u0010\u0015\u001a\u00020\u000e2\u0012\u0010\u0018\u001a\u000e\u0012\u0004\u0012\u00020\u0017\u0012\u0004\u0012\u00020\u00040\u0016H\u0002J\b\u0010\u001a\u001a\u00020\u000eH\u0016J\u0012\u0010\u001c\u001a\u00020\u00042\b\u0010\u001b\u001a\u0004\u0018\u00010\u0017H\u0014J\b\u0010\u001d\u001a\u00020\u0004H\u0014J\b\u0010\u001e\u001a\u00020\u0004H\u0014J\u0012\u0010\u001f\u001a\u00020\u00042\b\u0010\u0007\u001a\u0004\u0018\u00010\u0006H\u0014J\u0010\u0010!\u001a\u00020\u00042\u0006\u0010 \u001a\u00020\u0017H\u0014J\u0010\u0010\"\u001a\u00020\u00042\u0006\u0010\u001b\u001a\u00020\u0017H\u0014J\"\u0010'\u001a\u00020\u00042\u0006\u0010$\u001a\u00020#2\u0006\u0010%\u001a\u00020#2\b\u0010&\u001a\u0004\u0018\u00010\u0006H\u0014J\u0017\u0010)\u001a\u0004\u0018\u00010\u00042\u0006\u0010(\u001a\u00020#¢\u0006\u0004\b)\u0010*J\b\u0010+\u001a\u00020\u0004H\u0016J\b\u0010,\u001a\u00020\u0004H\u0014J\u000e\u0010/\u001a\u00020\u00042\u0006\u0010.\u001a\u00020-J\u000e\u00101\u001a\u00020\u00042\u0006\u0010.\u001a\u000200J\u0010\u00103\u001a\u00020\u00042\u0006\u00102\u001a\u00020#H\u0016J\b\u00105\u001a\u000204H\u0016J\b\u00106\u001a\u00020\u0004H\u0016R\"\u0010>\u001a\u0002078\u0006@\u0006X\u0087.¢\u0006\u0012\n\u0004\b8\u00109\u001a\u0004\b:\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\"\u0010M\u001a\u00020G8\u0006@\u0006X\u0087.¢\u0006\u0012\n\u0004\b5\u0010H\u001a\u0004\bI\u0010J\"\u0004\bK\u0010LR\"\u0010T\u001a\u00020N8\u0006@\u0006X\u0087.¢\u0006\u0012\n\u0004\b3\u0010O\u001a\u0004\bP\u0010Q\"\u0004\bR\u0010SR\"\u0010\\\u001a\u00020U8\u0006@\u0006X\u0087.¢\u0006\u0012\n\u0004\bV\u0010W\u001a\u0004\bX\u0010Y\"\u0004\bZ\u0010[R\"\u0010d\u001a\u00020]8\u0006@\u0006X\u0087.¢\u0006\u0012\n\u0004\b^\u0010_\u001a\u0004\b`\u0010a\"\u0004\bb\u0010cR(\u0010n\u001a\u00020e8\u0006@\u0006X\u0087.¢\u0006\u0018\n\u0004\bf\u0010g\u0012\u0004\bl\u0010m\u001a\u0004\bh\u0010i\"\u0004\bj\u0010kR\"\u0010v\u001a\u00020o8\u0006@\u0006X\u0087.¢\u0006\u0012\n\u0004\bp\u0010q\u001a\u0004\br\u0010s\"\u0004\bt\u0010uR(\u0010\u007f\u001a\u00020w8\u0006@\u0006X\u0087.¢\u0006\u0018\n\u0004\bx\u0010y\u0012\u0004\b~\u0010m\u001a\u0004\bz\u0010{\"\u0004\b|\u0010}R-\u0010\u0084\u0001\u001a\u00020w8\u0006@\u0006X\u0087.¢\u0006\u001c\n\u0005\b\u0080\u0001\u0010y\u0012\u0005\b\u0083\u0001\u0010m\u001a\u0005\b\u0081\u0001\u0010{\"\u0005\b\u0082\u0001\u0010}R\u001b\u0010\u0087\u0001\u001a\u0005\u0018\u00010\u0085\u00018\u0002@\u0002X\u0082\u000e¢\u0006\u0007\n\u0005\b\u001a\u0010\u0086\u0001R\u001b\u0010\u008a\u0001\u001a\u0004\u0018\u00010\t8\u0002@\u0002X\u0082\u000e¢\u0006\b\n\u0006\b\u0088\u0001\u0010\u0089\u0001R\u001c\u0010\u008e\u0001\u001a\u0005\u0018\u00010\u008b\u00018\u0002@\u0002X\u0082\u000e¢\u0006\b\n\u0006\b\u008c\u0001\u0010\u008d\u0001R\u001b\u0010\u0091\u0001\u001a\u0004\u0018\u00010-8\u0002@\u0002X\u0082\u000e¢\u0006\b\n\u0006\b\u008f\u0001\u0010\u0090\u0001R\u001b\u0010\u0094\u0001\u001a\u0004\u0018\u0001008\u0002@\u0002X\u0082\u000e¢\u0006\b\n\u0006\b\u0092\u0001\u0010\u0093\u0001R(\u0010\u009a\u0001\u001a\u00020#8\u0006@\u0006X\u0086\u000e¢\u0006\u0017\n\u0005\b\u0095\u0001\u0010\b\u001a\u0006\b\u0096\u0001\u0010\u0097\u0001\"\u0006\b\u0098\u0001\u0010\u0099\u0001¨\u0006¡\u0001"}, d2 = {"Lcom/bukalapak/mitra/activity/HomeActivity;", "Lcom/bukalapak/mitra/activity/b;", "Llx7;", "Lsq3;", "Llm9;", "U", "Landroid/content/Intent;", "intent", "I", "Lcom/bukalapak/mitra/activity/HomeActivity$b;", "P", "Z", "c0", "X", SingleKycIdentity.EMPTY, "screen", "e0", "T", "d0", "Ldq1;", "task", "identifier", "Lkotlin/Function1;", "Landroid/os/Bundle;", "onTaskCompleted", "Y", "p", "savedInstanceState", "onCreate", "onPause", "onResume", "onNewIntent", "outState", "onSaveInstanceState", "onRestoreInstanceState", SingleKycIdentity.EMPTY, "requestCode", "resultCode", "data", "onActivityResult", "tabId", "S", "(I)Llm9;", "onBackPressed", "onDestroy", "Lcom/bukalapak/mitra/activity/HomeActivity$c;", "listener", "a0", "Lcom/bukalapak/mitra/activity/HomeActivity$d;", "b0", "limit", "i", SingleKycIdentity.EMPTY, "h", "e", "Loq3;", "f", "Loq3;", "getHomeNavigation", "()Loq3;", "setHomeNavigation", "(Loq3;)V", "homeNavigation", "Lad8;", "g", "Lad8;", "R", "()Lad8;", "setSessionPref", "(Lad8;)V", "sessionPref", "Ltr3;", "Ltr3;", "getHomepagePref", "()Ltr3;", "setHomepagePref", "(Ltr3;)V", "homepagePref", "Lh4;", "Lh4;", "K", "()Lh4;", "setAccountPref", "(Lh4;)V", "accountPref", "Lf4;", "j", "Lf4;", "J", "()Lf4;", "setAccountNavigation", "(Lf4;)V", "accountNavigation", "Lgd6;", "k", "Lgd6;", "Q", "()Lgd6;", "setPinNavigation", "(Lgd6;)V", "pinNavigation", "Lb72;", "l", "Lb72;", "O", "()Lb72;", "setEMoneyNavigation", "(Lb72;)V", "getEMoneyNavigation$annotations", "()V", "eMoneyNavigation", "Lwp1;", "m", "Lwp1;", "L", "()Lwp1;", "setDeeplinkDispatcher", "(Lwp1;)V", "deeplinkDispatcher", "Leq1;", "n", "Leq1;", "N", "()Leq1;", "setDeeplinkTaskRegistry", "(Leq1;)V", "getDeeplinkTaskRegistry$annotations", "deeplinkTaskRegistry", SingleKycIdentity.O, "M", "setDeeplinkPinTaskRegistry", "getDeeplinkPinTaskRegistry$annotations", "deeplinkPinTaskRegistry", "Lrq3;", "Lrq3;", "homeNavigationBottomBar", "q", "Lcom/bukalapak/mitra/activity/HomeActivity$b;", "deeplinkState", "Lcom/bukalapak/mitra/activity/HomeViewModel;", "r", "Lcom/bukalapak/mitra/activity/HomeViewModel;", "viewModel", "s", "Lcom/bukalapak/mitra/activity/HomeActivity$c;", "notificationListener", "t", "Lcom/bukalapak/mitra/activity/HomeActivity$d;", "splitterListener", "u", "getPopUpLimit", "()I", "setPopUpLimit", "(I)V", "popUpLimit", "<init>", "v", SingleKycIdentity.A, SingleKycIdentity.B, "c", "d", "base_app_release"}, k = 1, mv = {1, 8, 0})
public final class HomeActivity extends b implements lx7, sq3 {

    public oq3 homeNavigation;

    public ad8 sessionPref;

    public tr3 homepagePref;

    public h4 accountPref;

    public f4 accountNavigation;

    public gd6 pinNavigation;

    public b72 eMoneyNavigation;

    public wp1 deeplinkDispatcher;

    public eq1 deeplinkTaskRegistry;

    public eq1 deeplinkPinTaskRegistry;

    private rq3 homeNavigationBottomBar;

    private DeeplinkState deeplinkState;

    private HomeViewModel viewModel;

    private c notificationListener;

    private d splitterListener;

    private int popUpLimit = -1;

    @Metadata(d1 = {"\u0000&\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0010\u000b\n\u0002\b\u0006\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u0000\n\u0002\b\u0010\b\u0086\b\u0018\u00002\u00020\u0001BU\u0012\n\b\u0002\u0010\u0003\u001a\u0004\u0018\u00010\u0002\u0012\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\u0002\u0012\n\b\u0002\u0010\u0005\u001a\u0004\u0018\u00010\u0002\u0012\b\b\u0002\u0010\u0007\u001a\u00020\u0006\u0012\b\b\u0002\u0010\b\u001a\u00020\u0006\u0012\b\b\u0002\u0010\t\u001a\u00020\u0006\u0012\n\b\u0002\u0010\n\u001a\u0004\u0018\u00010\u0002¢\u0006\u0004\b\u001d\u0010\u001eJW\u0010\u000b\u001a\u00020\u00002\n\b\u0002\u0010\u0003\u001a\u0004\u0018\u00010\u00022\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\u00022\n\b\u0002\u0010\u0005\u001a\u0004\u0018\u00010\u00022\b\b\u0002\u0010\u0007\u001a\u00020\u00062\b\b\u0002\u0010\b\u001a\u00020\u00062\b\b\u0002\u0010\t\u001a\u00020\u00062\n\b\u0002\u0010\n\u001a\u0004\u0018\u00010\u0002HÆ\u0001J\t\u0010\f\u001a\u00020\u0002HÖ\u0001J\t\u0010\u000e\u001a\u00020\rHÖ\u0001J\u0013\u0010\u0011\u001a\u00020\u00062\b\u0010\u0010\u001a\u0004\u0018\u00010\u000fHÖ\u0003R\u0019\u0010\u0003\u001a\u0004\u0018\u00010\u00028\u0006¢\u0006\f\n\u0004\b\u0003\u0010\u0012\u001a\u0004\b\u0013\u0010\u0014R\u0019\u0010\u0004\u001a\u0004\u0018\u00010\u00028\u0006¢\u0006\f\n\u0004\b\u0004\u0010\u0012\u001a\u0004\b\u0015\u0010\u0014R\u0019\u0010\u0005\u001a\u0004\u0018\u00010\u00028\u0006¢\u0006\f\n\u0004\b\u0005\u0010\u0012\u001a\u0004\b\u0016\u0010\u0014R\u0017\u0010\u0007\u001a\u00020\u00068\u0006¢\u0006\f\n\u0004\b\u0007\u0010\u0017\u001a\u0004\b\u0018\u0010\u0019R\u0017\u0010\b\u001a\u00020\u00068\u0006¢\u0006\f\n\u0004\b\b\u0010\u0017\u001a\u0004\b\u001a\u0010\u0019R\u0017\u0010\t\u001a\u00020\u00068\u0006¢\u0006\f\n\u0004\b\t\u0010\u0017\u001a\u0004\b\u001b\u0010\u0019R\u0019\u0010\n\u001a\u0004\u0018\u00010\u00028\u0006¢\u0006\f\n\u0004\b\n\u0010\u0012\u001a\u0004\b\u001c\u0010\u0014¨\u0006\u001f"}, d2 = {"Lcom/bukalapak/mitra/activity/HomeActivity$b;", "Ljava/io/Serializable;", SingleKycIdentity.EMPTY, "pendingDeeplinkUrl", "pendingDeeplinkTask", "pendingPopupUrl", SingleKycIdentity.EMPTY, "checkLoginStatus", "forwardLogin", "forwardPinCreation", "snackbarMessage", SingleKycIdentity.A, "toString", SingleKycIdentity.EMPTY, "hashCode", SingleKycIdentity.EMPTY, "other", "equals", "Ljava/lang/String;", "g", "()Ljava/lang/String;", "f", "h", "Z", "c", "()Z", "d", "e", "i", "<init>", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZZLjava/lang/String;)V", "base_app_release"}, k = 1, mv = {1, 8, 0})
    public static final class DeeplinkState implements Serializable {
        private final boolean checkLoginStatus;
        private final boolean forwardLogin;
        private final boolean forwardPinCreation;
        private final String pendingDeeplinkTask;
        private final String pendingDeeplinkUrl;
        private final String pendingPopupUrl;
        private final String snackbarMessage;

        public DeeplinkState() {
            this(null, null, null, false, false, false, null, 127, null);
        }

        public static DeeplinkState b(DeeplinkState deeplinkState, String str, String str2, String str3, boolean z, boolean z2, boolean z3, String str4, int i, Object obj) {
            if ((i & 1) != 0) {
                str = deeplinkState.pendingDeeplinkUrl;
            }
            if ((i & 2) != 0) {
                str2 = deeplinkState.pendingDeeplinkTask;
            }
            String str5 = str2;
            if ((i & 4) != 0) {
                str3 = deeplinkState.pendingPopupUrl;
            }
            String str6 = str3;
            if ((i & 8) != 0) {
                z = deeplinkState.checkLoginStatus;
            }
            boolean z4 = z;
            if ((i & 16) != 0) {
                z2 = deeplinkState.forwardLogin;
            }
            boolean z5 = z2;
            if ((i & 32) != 0) {
                z3 = deeplinkState.forwardPinCreation;
            }
            boolean z6 = z3;
            if ((i & 64) != 0) {
                str4 = deeplinkState.snackbarMessage;
            }
            return deeplinkState.a(str, str5, str6, z4, z5, z6, str4);
        }

        public final DeeplinkState a(String pendingDeeplinkUrl, String pendingDeeplinkTask, String pendingPopupUrl, boolean checkLoginStatus, boolean forwardLogin, boolean forwardPinCreation, String snackbarMessage) {
            return new DeeplinkState(pendingDeeplinkUrl, pendingDeeplinkTask, pendingPopupUrl, checkLoginStatus, forwardLogin, forwardPinCreation, snackbarMessage);
        }

        public final boolean getCheckLoginStatus() {
            return this.checkLoginStatus;
        }

        public final boolean getForwardLogin() {
            return this.forwardLogin;
        }

        public final boolean getForwardPinCreation() {
            return this.forwardPinCreation;
        }

        public boolean equals(Object other) {
            if (this == other) {
                return true;
            }
            if (!(other instanceof DeeplinkState)) {
                return false;
            }
            DeeplinkState deeplinkState = (DeeplinkState) other;
            return p64.c(this.pendingDeeplinkUrl, deeplinkState.pendingDeeplinkUrl) && p64.c(this.pendingDeeplinkTask, deeplinkState.pendingDeeplinkTask) && p64.c(this.pendingPopupUrl, deeplinkState.pendingPopupUrl) && this.checkLoginStatus == deeplinkState.checkLoginStatus && this.forwardLogin == deeplinkState.forwardLogin && this.forwardPinCreation == deeplinkState.forwardPinCreation && p64.c(this.snackbarMessage, deeplinkState.snackbarMessage);
        }

        public final String getPendingDeeplinkTask() {
            return this.pendingDeeplinkTask;
        }

        public final String getPendingDeeplinkUrl() {
            return this.pendingDeeplinkUrl;
        }

        public final String getPendingPopupUrl() {
            return this.pendingPopupUrl;
        }

        public int hashCode() {
            String str = this.pendingDeeplinkUrl;
            int hashCode = (str == null ? 0 : str.hashCode()) * 31;
            String str2 = this.pendingDeeplinkTask;
            int hashCode2 = (hashCode + (str2 == null ? 0 : str2.hashCode())) * 31;
            String str3 = this.pendingPopupUrl;
            int hashCode3 = (hashCode2 + (str3 == null ? 0 : str3.hashCode())) * 31;
            boolean z = this.checkLoginStatus;
            int i = z;
            if (z != 0) {
                i = 1;
            }
            int i2 = (hashCode3 + i) * 31;
            boolean z2 = this.forwardLogin;
            int i3 = z2;
            if (z2 != 0) {
                i3 = 1;
            }
            int i4 = (i2 + i3) * 31;
            boolean z3 = this.forwardPinCreation;
            int i5 = (i4 + (z3 ? 1 : z3 ? 1 : 0)) * 31;
            String str4 = this.snackbarMessage;
            return i5 + (str4 != null ? str4.hashCode() : 0);
        }

        public final String getSnackbarMessage() {
            return this.snackbarMessage;
        }

        public String toString() {
            return "DeeplinkState(pendingDeeplinkUrl=" + this.pendingDeeplinkUrl + ", pendingDeeplinkTask=" + this.pendingDeeplinkTask + ", pendingPopupUrl=" + this.pendingPopupUrl + ", checkLoginStatus=" + this.checkLoginStatus + ", forwardLogin=" + this.forwardLogin + ", forwardPinCreation=" + this.forwardPinCreation + ", snackbarMessage=" + this.snackbarMessage + ")";
        }

        public DeeplinkState(String str, String str2, String str3, boolean z, boolean z2, boolean z3, String str4) {
            this.pendingDeeplinkUrl = str;
            this.pendingDeeplinkTask = str2;
            this.pendingPopupUrl = str3;
            this.checkLoginStatus = z;
            this.forwardLogin = z2;
            this.forwardPinCreation = z3;
            this.snackbarMessage = str4;
        }

        public DeeplinkState(String str, String str2, String str3, boolean z, boolean z2, boolean z3, String str4, int i, oq1 oq1Var) {
            this((i & 1) != 0 ? null : str, (i & 2) != 0 ? null : str2, (i & 4) != 0 ? null : str3, (i & 8) != 0 ? false : z, (i & 16) != 0 ? false : z2, (i & 32) != 0 ? false : z3, (i & 64) != 0 ? null : str4);
        }
    }

    @Metadata(d1 = {"\u0000\u0016\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\t\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\bf\u0018\u00002\u00020\u0001J\u0010\u0010\u0005\u001a\u00020\u00042\u0006\u0010\u0003\u001a\u00020\u0002H&ø\u0001\u0000\u0082\u0002\u0006\n\u0004\b!0\u0001¨\u0006\u0006À\u0006\u0001"}, d2 = {"Lcom/bukalapak/mitra/activity/HomeActivity$c;", SingleKycIdentity.EMPTY, SingleKycIdentity.EMPTY, "count", "Llm9;", SingleKycIdentity.A, "base_app_release"}, k = 1, mv = {1, 8, 0})
    public interface c {
        void a(long j);
    }

    @Metadata(d1 = {"\u0000\u0016\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\bf\u0018\u00002\u00020\u0001J\u0010\u0010\u0005\u001a\u00020\u00042\u0006\u0010\u0003\u001a\u00020\u0002H&ø\u0001\u0000\u0082\u0002\u0006\n\u0004\b!0\u0001¨\u0006\u0006À\u0006\u0001"}, d2 = {"Lcom/bukalapak/mitra/activity/HomeActivity$d;", SingleKycIdentity.EMPTY, SingleKycIdentity.EMPTY, "isEnabled", "Llm9;", SingleKycIdentity.B, "base_app_release"}, k = 1, mv = {1, 8, 0})
    public interface d {
        void b(boolean z);
    }

    @Metadata(d1 = {"\u0000\u0010\n\u0002\u0010\t\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 = {SingleKycIdentity.EMPTY, "kotlin.jvm.PlatformType", "it", "Llm9;", SingleKycIdentity.A, "(Ljava/lang/Long;)V"}, k = 3, mv = {1, 8, 0})
    static final class e extends dk4 implements gx2<Long, lm9> {
        e() {
            super(1);
        }

        public final void a(Long l) {
            c cVar = HomeActivity.this.notificationListener;
            if (cVar != null) {
                p64.g(l, "it");
                cVar.a(l.longValue());
            }
        }

        @Override
        public lm9 invoke(Long l) {
            a(l);
            return lm9.a;
        }
    }

    @Metadata(d1 = {"\u0000\u0010\n\u0002\u0010\u000b\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 = {SingleKycIdentity.EMPTY, "kotlin.jvm.PlatformType", "it", "Llm9;", SingleKycIdentity.A, "(Ljava/lang/Boolean;)V"}, k = 3, mv = {1, 8, 0})
    static final class f extends dk4 implements gx2<Boolean, lm9> {
        f() {
            super(1);
        }

        public final void a(Boolean bool) {
            d dVar = HomeActivity.this.splitterListener;
            if (dVar != null) {
                p64.g(bool, "it");
                dVar.b(bool.booleanValue());
            }
        }

        @Override
        public lm9 invoke(Boolean bool) {
            a(bool);
            return lm9.a;
        }
    }

    @Metadata(d1 = {"\u0000\n\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\u0010\u0002\u001a\u00020\u0001*\u00020\u0000H\u008a@"}, d2 = {"Lb51;", "Llm9;", "<anonymous>"}, k = 3, mv = {1, 8, 0})
    @eo1(c = "com.bukalapak.mitra.activity.HomeActivity$onCreate$1$1", f = "HomeActivity.kt", l = {119}, m = "invokeSuspend")
    static final class g extends sw8 implements ux2<b51, r31<? super lm9>, Object> {
        int label;

        @Metadata(d1 = {"\u0000\n\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\u0010\u0002\u001a\u00020\u0001*\u00020\u0000H\u008a@"}, d2 = {"Lb51;", "Llm9;", "<anonymous>"}, k = 3, mv = {1, 8, 0})
        @eo1(c = "com.bukalapak.mitra.activity.HomeActivity$onCreate$1$1$1", f = "HomeActivity.kt", l = {}, m = "invokeSuspend")
        static final class a extends sw8 implements ux2<b51, r31<? super lm9>, Object> {
            int label;
            final HomeActivity this$0;

            a(HomeActivity homeActivity, r31<? super a> r31Var) {
                super(2, r31Var);
                this.this$0 = homeActivity;
            }

            @Override
            public final r31<lm9> create(Object obj, r31<?> r31Var) {
                return new a(this.this$0, r31Var);
            }

            @Override
            public final Object invoke(b51 b51Var, r31<? super lm9> r31Var) {
                return ((a) create(b51Var, r31Var)).invokeSuspend(lm9.a);
            }

            @Override
            public final Object invokeSuspend(Object obj) {
                s64.d();
                if (this.label != 0) {
                    throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
                }
                ot7.b(obj);
                this.this$0.c0();
                this.this$0.X();
                return lm9.a;
            }
        }

        g(r31<? super g> r31Var) {
            super(2, r31Var);
        }

        @Override
        public final r31<lm9> create(Object obj, r31<?> r31Var) {
            return HomeActivity.this.new g(r31Var);
        }

        @Override
        public final Object invoke(b51 b51Var, r31<? super lm9> r31Var) {
            return ((g) create(b51Var, r31Var)).invokeSuspend(lm9.a);
        }

        @Override
        public final Object invokeSuspend(Object obj) {
            Object d;
            d = s64.d();
            int i = this.label;
            if (i == 0) {
                ot7.b(obj);
                nw4 c = dh1.a.c();
                a aVar = new a(HomeActivity.this, null);
                this.label = 1;
                if (ja0.g(c, aVar, this) == d) {
                    return d;
                }
            } else {
                if (i != 1) {
                    throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
                }
                ot7.b(obj);
            }
            return lm9.a;
        }
    }

    @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 = {"Llm9;", SingleKycIdentity.A, "()V"}, k = 3, mv = {1, 8, 0})
    static final class h extends dk4 implements ex2<lm9> {
        h() {
            super(0);
        }

        public final void a() {
            Intent intent = HomeActivity.this.getIntent();
            if (p64.c("android.nfc.action.TECH_DISCOVERED", intent != null ? intent.getAction() : null)) {
                HomeActivity homeActivity = HomeActivity.this;
                homeActivity.I(homeActivity.getIntent());
            }
            HomeActivity.this.Z();
        }

        @Override
        public lm9 invoke() {
            a();
            return lm9.a;
        }
    }

    @Metadata(d1 = {"\u0000\n\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\u0010\u0002\u001a\u00020\u0001*\u00020\u0000H\u008a@"}, d2 = {"Lb51;", "Llm9;", "<anonymous>"}, k = 3, mv = {1, 8, 0})
    @eo1(c = "com.bukalapak.mitra.activity.HomeActivity$setStatusBarLight$1", f = "HomeActivity.kt", l = {270}, m = "invokeSuspend")
    static final class m extends sw8 implements ux2<b51, r31<? super lm9>, Object> {
        int label;
        final HomeActivity this$0;

        @Metadata(d1 = {"\u0000\n\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\u0010\u0002\u001a\u00020\u0001*\u00020\u0000H\u008a@"}, d2 = {"Lb51;", "Llm9;", "<anonymous>"}, k = 3, mv = {1, 8, 0})
        @eo1(c = "com.bukalapak.mitra.activity.HomeActivity$setStatusBarLight$1$1", f = "HomeActivity.kt", l = {}, m = "invokeSuspend")
        static final class a extends sw8 implements ux2<b51, r31<? super lm9>, Object> {
            final HomeActivity $context;
            int label;
            final HomeActivity this$0;

            a(HomeActivity homeActivity, HomeActivity homeActivity2, r31<? super a> r31Var) {
                super(2, r31Var);
                this.$context = homeActivity;
                this.this$0 = homeActivity2;
            }

            @Override
            public final r31<lm9> create(Object obj, r31<?> r31Var) {
                return new a(this.$context, this.this$0, r31Var);
            }

            @Override
            public final Object invoke(b51 b51Var, r31<? super lm9> r31Var) {
                return ((a) create(b51Var, r31Var)).invokeSuspend(lm9.a);
            }

            @Override
            public final Object invokeSuspend(Object obj) {
                s64.d();
                if (this.label != 0) {
                    throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
                }
                ot7.b(obj);
                ke keVar = ke.a;
                if (keVar.j()) {
                    View decorView = this.$context.getWindow().getDecorView();
                    decorView.setSystemUiVisibility(decorView.getSystemUiVisibility() | 8192);
                    this.$context.getWindow().setStatusBarColor(f31.c(this.$context, f67.t1));
                } else if (keVar.i()) {
                    this.$context.getWindow().setStatusBarColor(f31.c(this.$context, f67.p0));
                }
                HomeViewModel homeViewModel = this.this$0.viewModel;
                if (homeViewModel != null && homeViewModel.n()) {
                    if (keVar.i()) {
                        this.this$0.getWindow().addFlags(Integer.MIN_VALUE);
                        this.this$0.getWindow().clearFlags(67108864);
                    }
                    this.$context.getWindow().setStatusBarColor(f31.c(this.$context, o57.e));
                }
                return lm9.a;
            }
        }

        m(HomeActivity homeActivity, r31<? super m> r31Var) {
            super(2, r31Var);
            this.this$0 = homeActivity;
        }

        @Override
        public final r31<lm9> create(Object obj, r31<?> r31Var) {
            return HomeActivity.this.new m(this.this$0, r31Var);
        }

        @Override
        public final Object invoke(b51 b51Var, r31<? super lm9> r31Var) {
            return ((m) create(b51Var, r31Var)).invokeSuspend(lm9.a);
        }

        @Override
        public final Object invokeSuspend(Object obj) {
            Object d;
            d = s64.d();
            int i = this.label;
            if (i == 0) {
                ot7.b(obj);
                nw4 c = dh1.a.c();
                a aVar = new a(HomeActivity.this, this.this$0, null);
                this.label = 1;
                if (ja0.g(c, aVar, this) == d) {
                    return d;
                }
            } else {
                if (i != 1) {
                    throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
                }
                ot7.b(obj);
            }
            return lm9.a;
        }
    }

    @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 = {"Llm9;", SingleKycIdentity.A, "()V"}, k = 3, mv = {1, 8, 0})
    static final class n extends dk4 implements ex2<lm9> {
        final String $screen;

        n(String str) {
            super(0);
            this.$screen = str;
        }

        public final void a() {
            dl.d(dl.a, this.$screen, null, null, null, 14, null);
        }

        @Override
        public lm9 invoke() {
            a();
            return lm9.a;
        }
    }

    public final void I(Intent intent) {
        if (R().s()) {
            b72.a.d(O(), this, (String) null, (String) null, (String) null, (Parcelable) null, 14, (Object) null);
            return;
        }
        b bVar = pm8.g;
        String string = getString(je7.M);
        p64.g(string, "getString(RResource.stri…red_res_error_need_login)");
        bVar.a(this, string);
    }

    private final DeeplinkState P(Intent intent) {
        return new DeeplinkState(intent.getStringExtra("deeplinkUrl"), intent.getStringExtra("deeplinkTask"), intent.getStringExtra("deeplinkSheetUrl"), intent.getBooleanExtra("checkLogin", false), intent.getBooleanExtra("_forward_login", false), intent.getBooleanExtra("_forward_pin_creation", false), intent.getStringExtra("error_message"));
    }

    private final void T(Intent intent) {
        int intExtra = intent.getIntExtra("GOTO_TAB", 0);
        rq3 rq3Var = this.homeNavigationBottomBar;
        if (rq3Var != null) {
            rq3Var.b(intent, intExtra);
        }
    }

    private final void U() {
        LiveData<Boolean> q;
        LiveData<Long> p;
        HomeViewModel homeViewModel = this.viewModel;
        if (homeViewModel != null && (p = homeViewModel.p()) != null) {
            final e eVar = new e();
            p.j(this, new ou5() {
                @Override
                public final void onChanged(Object obj) {
                    HomeActivity.V(gx2.this, obj);
                }
            });
        }
        HomeViewModel homeViewModel2 = this.viewModel;
        if (homeViewModel2 == null || (q = homeViewModel2.q()) == null) {
            return;
        }
        final f fVar = new f();
        q.j(this, new ou5() {
            @Override
            public final void onChanged(Object obj) {
                HomeActivity.W(gx2.this, obj);
            }
        });
    }

    public static final void V(gx2 gx2Var, Object obj) {
        p64.h(gx2Var, "$tmp0");
        gx2Var.invoke(obj);
    }

    public static final void W(gx2 gx2Var, Object obj) {
        p64.h(gx2Var, "$tmp0");
        gx2Var.invoke(obj);
    }

    public final void X() {
        throw new UnsupportedOperationException("Method not decompiled: com.bukalapak.mitra.activity.HomeActivity.X():void");
    }

    private final void Y(dq1 dq1Var, String str, gx2<? super Bundle, lm9> gx2Var) {
        Context applicationContext = getApplicationContext();
        p64.f(applicationContext, "null cannot be cast to non-null type com.bukalapak.mitra.app.WholesaleApplication");
        la0.d(dh1.a.d(), null, null, new i(dq1Var, (uja) applicationContext, str, gx2Var, (r31) null), 3, null);
    }

    public final void Z() {
        DeeplinkState deeplinkState;
        DeeplinkState deeplinkState2 = this.deeplinkState;
        String pendingDeeplinkUrl = deeplinkState2 != null ? deeplinkState2.getPendingDeeplinkUrl() : null;
        DeeplinkState deeplinkState3 = this.deeplinkState;
        String pendingDeeplinkTask = deeplinkState3 != null ? deeplinkState3.getPendingDeeplinkTask() : null;
        DeeplinkState deeplinkState4 = this.deeplinkState;
        String pendingPopupUrl = deeplinkState4 != null ? deeplinkState4.getPendingPopupUrl() : null;
        DeeplinkState deeplinkState5 = this.deeplinkState;
        boolean checkLoginStatus = deeplinkState5 != null ? deeplinkState5.getCheckLoginStatus() : false;
        DeeplinkState deeplinkState6 = this.deeplinkState;
        boolean forwardLogin = deeplinkState6 != null ? deeplinkState6.getForwardLogin() : false;
        DeeplinkState deeplinkState7 = this.deeplinkState;
        boolean forwardPinCreation = deeplinkState7 != null ? deeplinkState7.getForwardPinCreation() : false;
        if (forwardLogin) {
            DeeplinkState deeplinkState8 = this.deeplinkState;
            this.deeplinkState = deeplinkState8 != null ? DeeplinkState.b(deeplinkState8, null, null, null, false, false, false, null, 111, null) : null;
            f4.a.g(J(), this, pendingDeeplinkUrl, null, 9265, new j(pendingDeeplinkUrl, pendingDeeplinkTask), 4, null);
            return;
        }
        if (forwardPinCreation) {
            if (pendingDeeplinkTask == null || pendingDeeplinkTask.length() == 0) {
                if (pendingDeeplinkUrl == null || pendingDeeplinkUrl.length() == 0) {
                    return;
                }
                DeeplinkState deeplinkState9 = this.deeplinkState;
                this.deeplinkState = deeplinkState9 != null ? DeeplinkState.b(deeplinkState9, null, null, null, false, false, false, null, 94, null) : null;
                Bundle bundle = new Bundle();
                bundle.putBoolean("_task_done", true);
                L().c(this, pendingDeeplinkUrl, bundle);
                return;
            }
            DeeplinkState deeplinkState10 = this.deeplinkState;
            this.deeplinkState = deeplinkState10 != null ? DeeplinkState.b(deeplinkState10, null, null, null, false, false, false, null, 125, null) : null;
            gx2<String, dq1> gx2Var = M().a().get(pendingDeeplinkTask);
            deeplinkState = gx2Var != null ? (dq1) gx2Var.invoke(pendingDeeplinkUrl) : null;
            if (deeplinkState == null || pendingDeeplinkUrl == null || pendingDeeplinkUrl.length() == 0) {
                return;
            }
            Y(deeplinkState, pendingDeeplinkTask, new k(this, pendingDeeplinkUrl));
            return;
        }
        if (pendingDeeplinkTask == null || pendingDeeplinkTask.length() == 0) {
            if (pendingPopupUrl == null || pendingPopupUrl.length() == 0) {
                return;
            }
            DeeplinkState deeplinkState11 = this.deeplinkState;
            this.deeplinkState = deeplinkState11 != null ? DeeplinkState.b(deeplinkState11, null, null, null, false, false, false, null, 123, null) : null;
            wp1.a.a(L(), this, pendingPopupUrl, (Bundle) null, 4, (Object) null);
            return;
        }
        DeeplinkState deeplinkState12 = this.deeplinkState;
        this.deeplinkState = deeplinkState12 != null ? DeeplinkState.b(deeplinkState12, null, null, null, false, false, false, null, 124, null) : null;
        if (!(checkLoginStatus && R().s()) && checkLoginStatus) {
            return;
        }
        gx2<String, dq1> gx2Var2 = N().a().get(pendingDeeplinkTask);
        deeplinkState = gx2Var2 != null ? (dq1) gx2Var2.invoke(pendingDeeplinkUrl) : null;
        if (deeplinkState == null || pendingDeeplinkUrl == null || pendingDeeplinkUrl.length() == 0) {
            return;
        }
        Y(deeplinkState, pendingDeeplinkTask, new l(this, pendingDeeplinkUrl));
    }

    public final void c0() {
        xn4.a(this).i(new m(this, null));
    }

    private final void d0() {
        String snackbarMessage;
        DeeplinkState deeplinkState = this.deeplinkState;
        if (deeplinkState != null && (snackbarMessage = deeplinkState.getSnackbarMessage()) != null) {
            pm8.g.a(this, snackbarMessage);
        }
        DeeplinkState deeplinkState2 = this.deeplinkState;
        this.deeplinkState = deeplinkState2 != null ? DeeplinkState.b(deeplinkState2, null, null, null, false, false, false, null, 63, null) : null;
    }

    private final void e0(String str) {
        n41.a.c(new n(str));
    }

    public final f4 J() {
        f4 f4Var = this.accountNavigation;
        if (f4Var != null) {
            return f4Var;
        }
        p64.t("accountNavigation");
        return null;
    }

    public final h4 K() {
        h4 h4Var = this.accountPref;
        if (h4Var != null) {
            return h4Var;
        }
        p64.t("accountPref");
        return null;
    }

    public final wp1 L() {
        wp1 wp1Var = this.deeplinkDispatcher;
        if (wp1Var != null) {
            return wp1Var;
        }
        p64.t("deeplinkDispatcher");
        return null;
    }

    public final eq1 M() {
        eq1 eq1Var = this.deeplinkPinTaskRegistry;
        if (eq1Var != null) {
            return eq1Var;
        }
        p64.t("deeplinkPinTaskRegistry");
        return null;
    }

    public final eq1 N() {
        eq1 eq1Var = this.deeplinkTaskRegistry;
        if (eq1Var != null) {
            return eq1Var;
        }
        p64.t("deeplinkTaskRegistry");
        return null;
    }

    public final b72 O() {
        b72 b72Var = this.eMoneyNavigation;
        if (b72Var != null) {
            return b72Var;
        }
        p64.t("eMoneyNavigation");
        return null;
    }

    public final gd6 Q() {
        gd6 gd6Var = this.pinNavigation;
        if (gd6Var != null) {
            return gd6Var;
        }
        p64.t("pinNavigation");
        return null;
    }

    public final ad8 R() {
        ad8 ad8Var = this.sessionPref;
        if (ad8Var != null) {
            return ad8Var;
        }
        p64.t("sessionPref");
        return null;
    }

    public final lm9 S(int tabId) {
        rq3 rq3Var = this.homeNavigationBottomBar;
        if (rq3Var == null) {
            return null;
        }
        rq3Var.a(tabId);
        return lm9.a;
    }

    public final void a0(c cVar) {
        p64.h(cVar, "listener");
        this.notificationListener = cVar;
    }

    public final void b0(d dVar) {
        p64.h(dVar, "listener");
        this.splitterListener = dVar;
    }

    @Override
    public void e() {
        this.popUpLimit--;
    }

    public final oq3 getHomeNavigation() {
        oq3 oq3Var = this.homeNavigation;
        if (oq3Var != null) {
            return oq3Var;
        }
        p64.t("homeNavigation");
        return null;
    }

    @Override
    public boolean h() {
        return this.popUpLimit > 0;
    }

    @Override
    public void i(int i) {
        if (this.popUpLimit >= 0) {
            return;
        }
        this.popUpLimit = i;
    }

    @Override
    protected void onActivityResult(int i, int i2, Intent intent) {
        super.onActivityResult(i, i2, intent);
        rq3 rq3Var = this.homeNavigationBottomBar;
        if (rq3Var != null) {
            rq3Var.d(i, i2, intent);
        }
        if (i == 9265 && i2 == -1) {
            X();
            Z();
        } else if (i == 9266) {
            Z();
        }
    }

    @Override
    public void onBackPressed() {
        rq3 rq3Var = this.homeNavigationBottomBar;
        if (rq3Var != null) {
            rq3Var.e();
        }
    }

    @Override
    protected void onCreate(Bundle bundle) {
        la2 a;
        gx2<String, lm9> i;
        uw9 uw9Var = uw9.a;
        if (uw9Var.o()) {
            la2 la2Var = la2.a;
            SplashScreen.INSTANCE.a(this);
            super.onCreate(bundle);
            HomeViewModel homeViewModel = (HomeViewModel) new w(this).a(HomeViewModel.class);
            this.viewModel = homeViewModel;
            if (homeViewModel != null) {
                homeViewModel.r();
            }
            HomeViewModel homeViewModel2 = this.viewModel;
            if (homeViewModel2 != null) {
                homeViewModel2.s();
            }
            la0.d(xn4.a(this), dh1.a.b(), null, new g(null), 2, null);
            if (bundle == null) {
                Intent intent = getIntent();
                p64.g(intent, "intent");
                this.deeplinkState = P(intent);
            }
            U();
            n41.a.c(new h());
            d0();
            return;
        }
        mt0 mt0Var = mt0.l;
        mt0Var.n("Start -> HomeActivity.onCreate");
        if (uw9Var.o()) {
            la2 la2Var2 = la2.a;
            SplashScreen.INSTANCE.a(this);
            super.onCreate(bundle);
            HomeViewModel homeViewModel3 = (HomeViewModel) new w(this).a(HomeViewModel.class);
            this.viewModel = homeViewModel3;
            if (homeViewModel3 != null) {
                homeViewModel3.r();
            }
            HomeViewModel homeViewModel4 = this.viewModel;
            if (homeViewModel4 != null) {
                homeViewModel4.s();
            }
            la0.d(xn4.a(this), dh1.a.b(), null, new g(null), 2, null);
            if (bundle == null) {
                Intent intent2 = getIntent();
                p64.g(intent2, "intent");
                this.deeplinkState = P(intent2);
            }
            U();
            n41.a.c(new h());
            d0();
            lm9 lm9Var = lm9.a;
        } else {
            boolean n2 = uw9Var.n();
            if (n2) {
                a = la2.a;
            } else {
                if (n2) {
                    throw new NoWhenBranchMatchedException();
                }
                a = uw9Var.a("HomeActivity.onCreate");
            }
            a.start();
            long currentTimeMillis = System.currentTimeMillis();
            SplashScreen.INSTANCE.a(this);
            super.onCreate(bundle);
            HomeViewModel homeViewModel5 = (HomeViewModel) new w(this).a(HomeViewModel.class);
            this.viewModel = homeViewModel5;
            if (homeViewModel5 != null) {
                homeViewModel5.r();
            }
            HomeViewModel homeViewModel6 = this.viewModel;
            if (homeViewModel6 != null) {
                homeViewModel6.s();
            }
            la0.d(xn4.a(this), dh1.a.b(), null, new g(null), 2, null);
            if (bundle == null) {
                Intent intent3 = getIntent();
                p64.g(intent3, "intent");
                this.deeplinkState = P(intent3);
            }
            U();
            n41.a.c(new h());
            d0();
            lm9 lm9Var2 = lm9.a;
            long currentTimeMillis2 = System.currentTimeMillis() - currentTimeMillis;
            a.stop();
            String str = "HomeActivity.onCreate took " + currentTimeMillis2 + " ms";
            if (uw9Var.i() != null && (i = uw9Var.i()) != null) {
                i.invoke(str);
            }
            Log.i("MeasureVital", (p64.c(Thread.currentThread(), Looper.getMainLooper().getThread()) ? "[M]" : "[B]") + " " + str);
        }
        mt0Var.n("End <- HomeActivity.onCreate");
    }

    @Override
    protected void onDestroy() {
        rq3 rq3Var = this.homeNavigationBottomBar;
        if (rq3Var != null) {
            rq3Var.f();
        }
        super.onDestroy();
    }

    @Override
    protected void onNewIntent(Intent intent) {
        super.onNewIntent(intent);
        if (p64.c("android.nfc.action.TECH_DISCOVERED", intent != null ? intent.getAction() : null)) {
            I(intent);
        } else if (intent != null) {
            T(intent);
            this.deeplinkState = P(intent);
            Z();
        }
    }

    @Override
    protected void onPause() {
        super.onPause();
        zc5.a.a(this);
    }

    @Override
    protected void onRestoreInstanceState(Bundle bundle) {
        p64.h(bundle, "savedInstanceState");
        super.onRestoreInstanceState(bundle);
        Serializable serializable = bundle.getSerializable("deeplinkState");
        this.deeplinkState = serializable instanceof DeeplinkState ? (DeeplinkState) serializable : null;
    }

    @Override
    protected void onResume() {
        super.onResume();
        zc5.a.b(this);
        HomeViewModel homeViewModel = this.viewModel;
        if (homeViewModel != null) {
            homeViewModel.o();
        }
    }

    @Override
    protected void onSaveInstanceState(Bundle bundle) {
        p64.h(bundle, "outState");
        super.onSaveInstanceState(bundle);
        bundle.putSerializable("deeplinkState", this.deeplinkState);
    }

    @Override
    public String p() {
        return "Home";
    }
}