导航菜单

页面标题

页面副标题

SpeedCash v6.5.1482 - BridgeActivity.java 源代码

正在查看: SpeedCash v6.5.1482 应用的 BridgeActivity.java JAVA 源代码文件

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


package com.bm.sc.kotlin.ui;

import android.app.AlarmManager;
import android.app.PendingIntent;
import android.content.Intent;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import androidx.annotation.CallSuper;
import androidx.core.app.NotificationCompat;
import com.akexorcist.roundcornerprogressbar.RoundCornerProgressBar;
import com.bm.sc.bebasbayar.R;
import com.bm.sc.bebasbayar.adapter.entity.asap.AsapItemDashboardEntity;
import com.bm.sc.bebasbayar.handler.AsyncLauncher;
import com.bm.sc.bebasbayar.handler.FirebaseProcessor;
import com.bm.sc.bebasbayar.handler.MessageComposer;
import com.bm.sc.bebasbayar.handler.MessageSender;
import com.bm.sc.bebasbayar.helper.Affinity;
import com.bm.sc.bebasbayar.helper.AsapHelper;
import com.bm.sc.bebasbayar.helper.EventHelper;
import com.bm.sc.bebasbayar.iface.BBCallback;
import com.bm.sc.bebasbayar.iface.MessageProcess;
import com.bm.sc.bebasbayar.message.BaseMessage;
import com.bm.sc.bebasbayar.message.api.APIMessageWrapper;
import com.bm.sc.bebasbayar.message.mp.DetailMessage;
import com.bm.sc.bebasbayar.message.mp.MenuMessage;
import com.bm.sc.bebasbayar.setting.Privilege;
import com.bm.sc.bebasbayar.setting.session.AppSession;
import com.bm.sc.bebasbayar.setting.session.ConfigSession;
import com.bm.sc.bebasbayar.setting.session.DataSession;
import com.bm.sc.bebasbayar.ui.activity.FCMPopupActivity;
import com.bm.sc.bebasbayar.ui.activity.showcase.StartPointActivity;
import com.bm.sc.kotlin.ui.BridgeActivity;
import com.bm.sc.util.common.Var;
import com.bm.sc.util.format.Mapper;
import dagger.hilt.android.AndroidEntryPoint;
import defpackage.CASE_INSENSITIVE_ORDER;
import defpackage.T;
import eu.davidea.flexibleadapter.helpers.UndoHelper;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.concurrent.atomic.AtomicInteger;
import kotlin.Metadata;
import kotlin.Unit;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
import org.apache.commons.lang3.StringUtils;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

@Metadata(d1 = {"\u0000Z\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0002\b\n\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\t\b\u0007\u0018\u0000 42\u00020\u0001:\u00014B\u0007¢\u0006\u0004\b2\u00103J\u0012\u0010\u0005\u001a\u00020\u00042\b\u0010\u0003\u001a\u0004\u0018\u00010\u0002H\u0014J\u0010\u0010\u0006\u001a\u00020\u00042\u0006\u0010\u0003\u001a\u00020\u0002H\u0015J\u0006\u0010\u0007\u001a\u00020\u0004J\u0006\u0010\b\u001a\u00020\u0004J\b\u0010\t\u001a\u00020\u0004H\u0002J\b\u0010\n\u001a\u00020\u0004H\u0002J\b\u0010\u000b\u001a\u00020\u0004H\u0002J\b\u0010\f\u001a\u00020\u0004H\u0002J\b\u0010\r\u001a\u00020\u0004H\u0002J\b\u0010\u000e\u001a\u00020\u0004H\u0002R\u0014\u0010\u0012\u001a\u00020\u000f8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u0010\u0010\u0011R\u0014\u0010\u0016\u001a\u00020\u00138\u0002X\u0082D¢\u0006\u0006\n\u0004\b\u0014\u0010\u0015R*\u0010\u001b\u001a\u0016\u0012\u0004\u0012\u00020\u0013\u0018\u00010\u0017j\n\u0012\u0004\u0012\u00020\u0013\u0018\u0001`\u00188\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u0019\u0010\u001aR\u0018\u0010\u001f\u001a\u0004\u0018\u00010\u001c8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u001d\u0010\u001eR\u0018\u0010#\u001a\u0004\u0018\u00010 8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b!\u0010\"R\u0018\u0010'\u001a\u0004\u0018\u00010$8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b%\u0010&R\u0018\u0010+\u001a\u0004\u0018\u00010(8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b)\u0010*R\u0018\u0010.\u001a\u0004\u0018\u00010,8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\t\u0010-R\u0014\u00101\u001a\u00020\u00048BX\u0082\u0004¢\u0006\u0006\u001a\u0004\b/\u00100¨\u00065"}, d2 = {"Lcom/bm/sc/kotlin/ui/BridgeActivity;", "Lcom/bm/sc/bebasbayar/ui/activity/showcase/StartPointActivity;", "Landroid/os/Bundle;", "savedInstanceState", "", "onCreate", "onSaveInstanceState", "getDataGroupProductEmoneyGame", "refreshDataGroupProductEmoneyGame", "l", "p", "s", "m", "q", "u", "Ljava/util/concurrent/atomic/AtomicInteger;", "e", "Ljava/util/concurrent/atomic/AtomicInteger;", "currentLoginProgress", "", "f", "Ljava/lang/String;", "isFrom", "Ljava/util/ArrayList;", "Lkotlin/collections/ArrayList;", "g", "Ljava/util/ArrayList;", "login_data", "Landroid/net/Uri;", "h", "Landroid/net/Uri;", "uri_data", "Lcom/bm/sc/bebasbayar/setting/session/AppSession;", "i", "Lcom/bm/sc/bebasbayar/setting/session/AppSession;", "appSession", "Lcom/bm/sc/bebasbayar/setting/session/ConfigSession;", "j", "Lcom/bm/sc/bebasbayar/setting/session/ConfigSession;", "configSession", "Lcom/akexorcist/roundcornerprogressbar/RoundCornerProgressBar;", "k", "Lcom/akexorcist/roundcornerprogressbar/RoundCornerProgressBar;", "bridge_progress", "Lcom/bm/sc/bebasbayar/setting/session/DataSession;", "Lcom/bm/sc/bebasbayar/setting/session/DataSession;", "dataSession", "o", "()Lkotlin/Unit;", "depositLauch", "<init>", "()V", "Companion", "app_release"}, k = 1, mv = {1, 8, 0})
@AndroidEntryPoint
public final class BridgeActivity extends Hilt_BridgeActivity {

    @NotNull
    public static final Companion INSTANCE = new Companion(null);

    @NotNull
    public final AtomicInteger currentLoginProgress = new AtomicInteger();

    @NotNull
    public final String isFrom = "";

    @Nullable
    public ArrayList<String> login_data;

    @Nullable
    public Uri uri_data;

    @Nullable
    public AppSession appSession;

    @Nullable
    public ConfigSession configSession;

    @Nullable
    public RoundCornerProgressBar bridge_progress;

    @Nullable
    public DataSession dataSession;

    @Metadata(d1 = {"\u0000,\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\b\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010\u000e\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J0\u0010\u0005\u001a\u00020\u00062\u001e\u0010\u0007\u001a\u001a\u0012\u0006\u0012\u0004\u0018\u00010\t\u0018\u00010\bj\f\u0012\u0006\u0012\u0004\u0018\u00010\t\u0018\u0001`\n2\b\u0010\u000b\u001a\u0004\u0018\u00010\fR\u000e\u0010\u0003\u001a\u00020\u0004X\u0082T¢\u0006\u0002\n\u0000¨\u0006\r"}, d2 = {"Lcom/bm/sc/kotlin/ui/BridgeActivity$Companion;", "", "()V", "PROCESSES_COUNT", "", "getBundle", "Landroid/os/Bundle;", "login_data", "Ljava/util/ArrayList;", "", "Lkotlin/collections/ArrayList;", "uri_data", "Landroid/net/Uri;", "app_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
    public static final class Companion {
        public Companion() {
        }

        public Companion(DefaultConstructorMarker defaultConstructorMarker) {
            this();
        }

        @NotNull
        public final Bundle getBundle(@Nullable ArrayList<String> login_data, @Nullable Uri uri_data) {
            Bundle bundle = new Bundle();
            bundle.putStringArrayList("login_data", login_data);
            bundle.putParcelable("uri_data", uri_data);
            return bundle;
        }
    }

    public static final void n(BridgeActivity this$0, int i, AsapItemDashboardEntity asapItemDashboardEntity) {
        Intrinsics.checkNotNullParameter(this$0, "this$0");
        String str = AsapHelper.KEY_GROUP_PRODUCT;
        AppSession appSession = this$0.appSession;
        Intrinsics.checkNotNull(appSession);
        appSession.store(AppSession.PROPERTY_IS_EXPANDED_ASAP, "true");
    }

    public static final void r(int i, ArrayList arrayList) {
        String str = AsapHelper.KEY_GROUP_PRODUCT;
    }

    public static final void t(int i, Boolean bool) {
    }

    public final void getDataGroupProductEmoneyGame() {
        DataSession dataSession = this.dataSession;
        Intrinsics.checkNotNull(dataSession);
        String retrieve = dataSession.retrieve(DataSession.PROPERTY_LIST_GAME_ASAP);
        Intrinsics.checkNotNullExpressionValue(retrieve, "dataSession!!.retrieve(D….PROPERTY_LIST_GAME_ASAP)");
        if (retrieve.length() == 0) {
            refreshDataGroupProductEmoneyGame();
        }
        DataSession dataSession2 = this.dataSession;
        Intrinsics.checkNotNull(dataSession2);
        String retrieve2 = dataSession2.retrieve(DataSession.PROPERTY_LIST_E_MONEY);
        Intrinsics.checkNotNullExpressionValue(retrieve2, "dataSession!!.retrieve(D…on.PROPERTY_LIST_E_MONEY)");
        if (retrieve2.length() == 0) {
            refreshDataGroupProductEmoneyGame();
        }
    }

    public final void l() {
        APIMessageWrapper aPIMessageWrapper = new APIMessageWrapper();
        AppSession appSession = this.appSession;
        Intrinsics.checkNotNull(appSession);
        aPIMessageWrapper.setItem("id", appSession.retrieve(AppSession.PROPERTY_MERCHANT_ID));
        aPIMessageWrapper.setItem("action", "akses");
        MessageComposer messageComposer = new MessageComposer(2, "login/privileges");
        messageComposer.setIs_encrypted(false);
        messageComposer.setShowProgressRegular(false);
        messageComposer.setMessageProcess(new MessageProcess() {
            @Override
            public void afterProcess(@NotNull BaseMessage msg) {
                AppSession appSession2;
                Intrinsics.checkNotNullParameter(msg, "msg");
                APIMessageWrapper aPIMessageWrapper2 = new APIMessageWrapper(msg);
                if (aPIMessageWrapper2.isOK()) {
                    HashMap hashMap = Var.toHashMap(aPIMessageWrapper2.getItem("data"));
                    appSession2 = BridgeActivity.this.appSession;
                    Intrinsics.checkNotNull(appSession2);
                    appSession2.store(AppSession.PROPERTY_PRIVILEGE, Var.toString(hashMap.get("hak_akses"), Privilege.getLimitedPrivilege()));
                }
                BridgeActivity.this.u();
            }

            @Override
            public void backgroundProcess(long bytesRead, long contentLength, boolean done) {
            }

            @Override
            public void preProcess() {
            }
        });
        MessageSender messageSender = new MessageSender(this, messageComposer);
        messageSender.setRequestMessage(aPIMessageWrapper);
        messageSender.execute();
    }

    public final void m() {
        AsapHelper.getDefaultAsapData(this, this.appSession, new BBCallback() {
            @Override
            public final void do_callback(int i, Object obj) {
                BridgeActivity.n(BridgeActivity.this, i, (AsapItemDashboardEntity) obj);
            }
        });
    }

    public final Unit o() {
        ArrayList<String> arrayList = this.login_data;
        Intrinsics.checkNotNull(arrayList);
        if (Intrinsics.areEqual(arrayList.get(0), Privilege.PRIV_DEPOSIT)) {
            Bundle extras = getIntent().getExtras();
            if (extras == null) {
                extras = new Bundle();
            }
            extras.putString("LOGINNEW", "LOGINNEW");
            Affinity.runAllServices(this, false);
            Affinity.purge(this, BottomNavigationActivity.class, extras);
        } else {
            new AsyncLauncher((StartPointActivity) this).execute(this.uri_data, false, false);
        }
        return Unit.INSTANCE;
    }

    @Override
    public void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_bridge);
        String simpleName = BridgeActivity.class.getSimpleName();
        Intrinsics.checkNotNullExpressionValue(simpleName, "this.javaClass.simpleName");
        EventHelper.sendAllEvents(this, "screen_view", CASE_INSENSITIVE_ORDER.replace$default(simpleName, "Activity", "", false, 4, (Object) null));
        if (savedInstanceState != null) {
            this.login_data = savedInstanceState.getStringArrayList("login_data");
            this.uri_data = (Uri) savedInstanceState.getParcelable("uri_data");
        } else if (getIntent().getExtras() != null) {
            Bundle extras = getIntent().getExtras();
            Intrinsics.checkNotNull(extras);
            this.login_data = extras.getStringArrayList("login_data");
            Bundle extras2 = getIntent().getExtras();
            Intrinsics.checkNotNull(extras2);
            this.uri_data = (Uri) extras2.getParcelable("uri_data");
        } else {
            this.login_data = new ArrayList<>();
            this.uri_data = null;
        }
        this.dataSession = new DataSession(this);
        this.appSession = new AppSession(this);
        this.configSession = new ConfigSession(this);
        this.bridge_progress = (RoundCornerProgressBar) findViewById(R.id.bridge_progress);
        u();
        p();
        l();
        s();
        m();
        q();
        getDataGroupProductEmoneyGame();
    }

    @Override
    @CallSuper
    public void onSaveInstanceState(@NotNull Bundle savedInstanceState) {
        Intrinsics.checkNotNullParameter(savedInstanceState, "savedInstanceState");
        super.onSaveInstanceState(savedInstanceState);
        savedInstanceState.putStringArrayList("login_data", this.login_data);
        savedInstanceState.putParcelable("uri_data", this.uri_data);
    }

    public final void p() {
        AppSession appSession = this.appSession;
        Intrinsics.checkNotNull(appSession);
        String retrieve = appSession.retrieve(AppSession.PROPERTY_MERCHANT_ID);
        AppSession appSession2 = this.appSession;
        Intrinsics.checkNotNull(appSession2);
        String retrieve2 = appSession2.retrieve(AppSession.PROPERTY_MERCHANT_PIN);
        AppSession appSession3 = this.appSession;
        Intrinsics.checkNotNull(appSession3);
        DetailMessage detailMessage = new DetailMessage(retrieve, retrieve2, appSession3.retrieve(AppSession.PROPERTY_AUTH_TOKEN));
        detailMessage.setProductCode(DetailMessage.INC_PRODUCT_CODE_ACCOUNT);
        MessageComposer messageComposer = new MessageComposer(1, "");
        messageComposer.setIs_credential(false);
        messageComposer.setShowProgressRegular(false);
        messageComposer.setData_type(1);
        messageComposer.setRequest_method("POST");
        messageComposer.setIs_cacheable(true);
        messageComposer.setMessageProcess(new MessageProcess() {
            @Override
            public void afterProcess(@NotNull BaseMessage msg) {
                AppSession appSession4;
                AppSession appSession5;
                AppSession appSession6;
                AppSession appSession7;
                AppSession appSession8;
                AppSession appSession9;
                AppSession appSession10;
                AppSession appSession11;
                AppSession appSession12;
                AppSession appSession13;
                AppSession appSession14;
                AppSession appSession15;
                Intrinsics.checkNotNullParameter(msg, "msg");
                DetailMessage detailMessage2 = new DetailMessage(msg);
                if (detailMessage2.isOK()) {
                    ArrayList<String> additional_datas = detailMessage2.getAdditional_datas();
                    appSession4 = BridgeActivity.this.appSession;
                    Intrinsics.checkNotNull(appSession4);
                    appSession4.store(AppSession.PROPERTY_OWNER_NAME, additional_datas.get(0));
                    appSession5 = BridgeActivity.this.appSession;
                    Intrinsics.checkNotNull(appSession5);
                    appSession5.store(AppSession.PROPERTY_MERCHANT_NAME, additional_datas.get(7));
                    appSession6 = BridgeActivity.this.appSession;
                    Intrinsics.checkNotNull(appSession6);
                    appSession6.store(AppSession.PROPERTY_HANDPHONE, additional_datas.get(5));
                    appSession7 = BridgeActivity.this.appSession;
                    Intrinsics.checkNotNull(appSession7);
                    appSession7.store(AppSession.PROPERTY_EMAIL, additional_datas.get(11));
                    appSession8 = BridgeActivity.this.appSession;
                    Intrinsics.checkNotNull(appSession8);
                    appSession8.store(AppSession.PROPERTY_ADDRESS, additional_datas.get(1));
                    appSession9 = BridgeActivity.this.appSession;
                    Intrinsics.checkNotNull(appSession9);
                    appSession9.store(AppSession.PROPERTY_PROVINCE, additional_datas.get(4));
                    appSession10 = BridgeActivity.this.appSession;
                    Intrinsics.checkNotNull(appSession10);
                    appSession10.store(AppSession.PROPERTY_CITY, additional_datas.get(3));
                    appSession11 = BridgeActivity.this.appSession;
                    Intrinsics.checkNotNull(appSession11);
                    appSession11.store(AppSession.PROPERTY_POSTCODE, additional_datas.get(2));
                    appSession12 = BridgeActivity.this.appSession;
                    Intrinsics.checkNotNull(appSession12);
                    appSession12.store(AppSession.PROPERTY_LEVEL, additional_datas.get(16));
                    appSession13 = BridgeActivity.this.appSession;
                    Intrinsics.checkNotNull(appSession13);
                    appSession13.store(AppSession.PROPERTY_GENDER, additional_datas.get(35));
                    appSession14 = BridgeActivity.this.appSession;
                    Intrinsics.checkNotNull(appSession14);
                    appSession14.store(AppSession.PROPERTY_AVAILABLE_REGISTRASI, additional_datas.get(6));
                    appSession15 = BridgeActivity.this.appSession;
                    Intrinsics.checkNotNull(appSession15);
                    appSession15.store(AppSession.PROPERTY_AVAILABLE_ACTIVE, additional_datas.get(10));
                    T.b(null, new BridgeActivity$getDetailAccount$1$afterProcess$1(null), 1, null);
                }
                BridgeActivity.this.u();
            }

            @Override
            public void backgroundProcess(long bytesRead, long contentLength, boolean done) {
            }

            @Override
            public void preProcess() {
            }
        });
        MessageSender messageSender = new MessageSender(this, messageComposer);
        messageSender.setRequestMessage(detailMessage);
        messageSender.execute();
    }

    public final void q() {
        AsapHelper.reqListDashboardAsapData(this, this.appSession, new BBCallback() {
            @Override
            public final void do_callback(int i, Object obj) {
                BridgeActivity.r(i, (ArrayList) obj);
            }
        });
    }

    public final void refreshDataGroupProductEmoneyGame() {
        AsapHelper.getGameEmoneyAsapDataStoreToSession(this, this.appSession, "game", new BBCallback() {
            @Override
            public final void do_callback(int i, Object obj) {
                BridgeActivity.t(i, (Boolean) obj);
            }
        });
    }

    public final void s() {
        AppSession appSession = this.appSession;
        Intrinsics.checkNotNull(appSession);
        String retrieve = appSession.retrieve(AppSession.PROPERTY_MERCHANT_ID);
        AppSession appSession2 = this.appSession;
        Intrinsics.checkNotNull(appSession2);
        String retrieve2 = appSession2.retrieve(AppSession.PROPERTY_MERCHANT_PIN);
        AppSession appSession3 = this.appSession;
        Intrinsics.checkNotNull(appSession3);
        MenuMessage menuMessage = new MenuMessage(retrieve, retrieve2, appSession3.retrieve(AppSession.PROPERTY_AUTH_TOKEN));
        MessageComposer messageComposer = new MessageComposer(1, "");
        messageComposer.setIs_credential(false);
        messageComposer.setShowProgressRegular(false);
        messageComposer.setData_type(1);
        messageComposer.setRequest_method("POST");
        messageComposer.setMessageProcess(new MessageProcess() {
            @Override
            public void afterProcess(@NotNull BaseMessage msg) {
                AppSession appSession4;
                Intrinsics.checkNotNullParameter(msg, "msg");
                MenuMessage menuMessage2 = new MenuMessage(msg);
                if (menuMessage2.isOK()) {
                    DataSession dataSession = new DataSession(BridgeActivity.this);
                    dataSession.store(DataSession.PROPERTY_LIST_BANK, Var.toString(menuMessage2.getIncludes().get("bank"), ""));
                    dataSession.store(DataSession.PROPERTY_LIST_BANK_VA, Mapper.collectionToJSON(Var.toArrayList(menuMessage2.getIncludes().get("data_va"))).toString());
                    dataSession.store(DataSession.PROPERTY_LIST_PROVINCE, Var.toString(menuMessage2.getIncludes().get("propinsi"), ""));
                    dataSession.store(DataSession.PROPERTY_LIST_CITY, Var.toString(menuMessage2.getIncludes().get("kota"), ""));
                    dataSession.store(DataSession.PROPERTY_LIST_PAYMENT, Var.toString(menuMessage2.getIncludes().get("produk_payment"), ""));
                    dataSession.store(DataSession.PROPERTY_LIST_PULSA, Var.toString(menuMessage2.getIncludes().get("produk_pulsa"), ""));
                    dataSession.store(DataSession.PROPERTY_LIST_GAME, Var.toString(menuMessage2.getIncludes().get("produk_game"), ""));
                    dataSession.store(DataSession.PROPERTY_LIST_CASH, Var.toString(menuMessage2.getIncludes().get("produk_cash"), ""));
                    appSession4 = BridgeActivity.this.appSession;
                    Intrinsics.checkNotNull(appSession4);
                    appSession4.store(AppSession.PROPERTY_IS_EXPANDED_ASAP, Var.toString("true", ""));
                }
                BridgeActivity.this.u();
            }

            @Override
            public void backgroundProcess(long bytesRead, long contentLength, boolean done) {
            }

            @Override
            public void preProcess() {
            }
        });
        MessageSender messageSender = new MessageSender(this, messageComposer);
        messageSender.setRequestMessage(menuMessage);
        messageSender.execute();
    }

    public final void u() {
        PendingIntent activity;
        int incrementAndGet = this.currentLoginProgress.incrementAndGet();
        RoundCornerProgressBar roundCornerProgressBar = this.bridge_progress;
        Intrinsics.checkNotNull(roundCornerProgressBar);
        roundCornerProgressBar.setProgress((incrementAndGet * 100) / 4.0f);
        if (incrementAndGet < 4) {
            return;
        }
        ArrayList<String> arrayList = this.login_data;
        Intrinsics.checkNotNull(arrayList);
        if (arrayList.size() > 1) {
            ArrayList<String> arrayList2 = this.login_data;
            Intrinsics.checkNotNull(arrayList2);
            String str = arrayList2.get(0);
            Intrinsics.checkNotNullExpressionValue(str, "login_data!![LoginMessage.ADD_GREETING_MENU]");
            if (!(str.length() == 0)) {
                StringBuilder sb = new StringBuilder();
                sb.append("updateProgressBridge 1 :");
                sb.append(this.login_data);
                ArrayList<String> arrayList3 = this.login_data;
                Intrinsics.checkNotNull(arrayList3);
                String str2 = arrayList3.get(1);
                Intrinsics.checkNotNullExpressionValue(str2, "login_data!![LoginMessage.ADD_GREETING_TITLE]");
                if (!(str2.length() == 0)) {
                    ArrayList<String> arrayList4 = this.login_data;
                    Intrinsics.checkNotNull(arrayList4);
                    String str3 = arrayList4.get(2);
                    Intrinsics.checkNotNullExpressionValue(str3, "login_data!![LoginMessage.ADD_GREETING_BODY]");
                    if (!(str3.length() == 0)) {
                        Intent intent = new Intent(this, (Class<?>) FCMPopupActivity.class);
                        intent.putExtra(FirebaseProcessor.KEY_MESSAGE_ID, String.valueOf((int) System.currentTimeMillis()));
                        ArrayList<String> arrayList5 = this.login_data;
                        Intrinsics.checkNotNull(arrayList5);
                        intent.putExtra("title", arrayList5.get(1));
                        ArrayList<String> arrayList6 = this.login_data;
                        Intrinsics.checkNotNull(arrayList6);
                        String str4 = arrayList6.get(2);
                        Intrinsics.checkNotNullExpressionValue(str4, "login_data!![LoginMessage.ADD_GREETING_BODY]");
                        intent.putExtra("message", CASE_INSENSITIVE_ORDER.replace$default(str4, StringUtils.LF, "<br/>", false, 4, (Object) null));
                        intent.putExtra("display", FirebaseProcessor.TYPE_IMPORTANT);
                        intent.addFlags(335577088);
                        if (Build.VERSION.SDK_INT >= 31) {
                            activity = PendingIntent.getActivity(getApplicationContext(), 0, intent, 1107296256);
                            Intrinsics.checkNotNullExpressionValue(activity, "{\n                    Pe…      )\n                }");
                        } else {
                            activity = PendingIntent.getActivity(getApplicationContext(), 0, intent, 1140850688);
                            Intrinsics.checkNotNullExpressionValue(activity, "{\n                    Pe…      )\n                }");
                        }
                        Object systemService = getApplicationContext().getSystemService(NotificationCompat.CATEGORY_ALARM);
                        Intrinsics.checkNotNull(systemService, "null cannot be cast to non-null type android.app.AlarmManager");
                        ((AlarmManager) systemService).set(1, System.currentTimeMillis() + UndoHelper.UNDO_TIMEOUT, activity);
                    }
                }
                StringBuilder sb2 = new StringBuilder();
                sb2.append("updateProgress: ");
                sb2.append(this.uri_data);
                StringBuilder sb3 = new StringBuilder();
                sb3.append("updateProgress: ");
                sb3.append(this.login_data);
                o();
                return;
            }
        }
        new AsyncLauncher((StartPointActivity) this).execute(this.uri_data, false, false);
    }
}