TikTok.apk(点击下载) / GHZ.java


package X;

import android.content.Context;
import com.bytedance.covode.number.Covode;
import com.bytedance.router.SmartRouter;
import com.ss.android.ugc.aweme.AccountService;
import com.ss.android.ugc.aweme.IAccountUserService;
import com.ss.android.ugc.aweme.account.guestmode.GuestModeServiceImpl;
import com.zhiliaoapp.musically.R;
import kotlin.g.b.m;
import org.json.JSONObject;

public final class GHZ extends AbstractC41261GIg {
    public static final C41231GHc LIZ = new C41231GHc((byte) 0);
    public final GGR LIZIZ;
    public final int LIZJ = R.string.gyy;
    public final int LIZLLL = R.string.gyz;

    static {
        Covode.recordClassIndex(54183);
    }

    @Override // X.AbstractC41261GIg
    public final void LIZ(Context context) {
        String str;
        String str2;
        C21090sc.LIZ(context);
        C14300hf.LIZ("enter_data_download", new C12740f9().LIZ("enter_from", "personalization_data").LIZ);
        IAccountUserService LIZLLL2 = AccountService.LIZ().LIZLLL();
        m.LIZIZ(LIZLLL2, "");
        if (LIZLLL2.isLogin()) {
            str = "https://www.tiktok.com/falcon/rn/export_data/?enter_from=settings&hide_nav_bar=1";
            str2 = "registered";
        } else {
            GuestModeServiceImpl.LIZ();
            str = "https://www.tiktok.com/web-inapp/download-your-data/unregistered-user";
            str2 = "unregistered";
        }
        SmartRouter.buildRoute(context, "//webview").withParam("url", str).withParam("hide_nav_bar", true).open();
        AnonymousClass0FY.LIZ("privacy_monitor_event_item_click", new C12720f7().LIZ("privacy_monitor_param_name", "DownloadYourDataItem").LIZ("privacy_monitor_param_type", str2).LIZ(), (JSONObject) null, (JSONObject) null);
    }

    @Override // X.AbstractC41267GIm, X.AbstractC41208GGf, X.AbstractC41263GIi
    public final boolean LIZLLL() {
        return GGQ.LIZ.LIZJ();
    }

    @Override // X.AbstractC41263GIi
    public final GGR LJ() {
        return this.LIZIZ;
    }

    @Override // X.AbstractC41263GIi
    public final int LJFF() {
        return this.LIZJ;
    }

    @Override // X.AbstractC41263GIi
    public final Integer LJI() {
        return Integer.valueOf(this.LIZLLL);
    }
}