QQ浏览器 v12.2.3.7053版本的 MD5 值为:8285ab3059e5c8b521a264dfbc5c3685
以下内容为反编译后的 PendantUtils.java 源代码,内容仅作参考
package com.tencent.mtt.welfare.pendant;
import MTT.AdsOperateControlCommonInfo;
import MTT.AdsOperateUICommonInfo;
import MTT.RmpPendant;
import MTT.RmpPosData;
import MTT.WelfareBallDetail;
import MTT.WelfareBusiness;
import MTT.WelfareTaskInfo;
import MTT.WelfareUserInfo;
import android.text.TextUtils;
import com.taf.JceUtil;
import com.tencent.common.utils.UrlUtils;
import com.tencent.mtt.account.base.IAccount;
import com.tencent.mtt.base.account.AccountConst;
import com.tencent.mtt.base.account.AccountInfo;
import com.tencent.mtt.base.wup.GUIDManager;
import com.tencent.mtt.browser.download.business.core.NotifyInstallActivity;
import com.tencent.mtt.browser.homepage.facade.IHomePageService;
import com.tencent.mtt.hippy.qb.views.listpager.refreshheader.ViewListPagerRefreshHeaderStateBase;
import com.tencent.mtt.qbcontext.core.QBContext;
import com.tencent.mtt.sdkcontext.SDKContext;
import com.tencent.mtt.welfare.facade.IPendantService;
import com.tencent.mtt.welfare.pendant.spring.SpringTaskInfo;
import com.tencent.qqlive.module.videoreport.constants.ParamKey;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import org.json.JSONException;
import org.json.JSONObject;
import tmsdk.common.gourd.vine.IActionReportService;
public class PendantUtils {
public static WelfareUserInfo a() {
String str;
WelfareUserInfo welfareUserInfo = new WelfareUserInfo();
welfareUserInfo.guid = GUIDManager.a().f();
AccountInfo b2 = b();
if (b2 != null && b2.isLogined()) {
welfareUserInfo.qbid = b2.qbId;
welfareUserInfo.userId = b2.getQQorWxId();
if (b2.isQQAccount()) {
welfareUserInfo.userType = 1;
str = String.valueOf(AccountConst.QQ_FAST_LOGIN_APPID);
} else if (b2.isWXAccount()) {
welfareUserInfo.userType = 2;
str = AccountConst.WX_APPID;
} else if (b2.isConnectAccount()) {
welfareUserInfo.userType = 4;
str = AccountConst.QQ_CONNECT_APPID;
} else if (b2.isPhoneAccount()) {
welfareUserInfo.userType = 6;
str = AccountConst.PHONE_APPID;
}
welfareUserInfo.userAppId = str;
}
return welfareUserInfo;
}
public static PendantTaskInfo a(WelfareTaskInfo welfareTaskInfo, int i) {
RmpPosData rmpPosData;
RmpPendant rmpPendant;
if (welfareTaskInfo == null) {
return null;
}
PendantTaskInfo pendantTaskInfo = new PendantTaskInfo();
pendantTaskInfo.f75002c = i;
pendantTaskInfo.f75003d = welfareTaskInfo.taskName;
pendantTaskInfo.e = welfareTaskInfo.businessId;
pendantTaskInfo.f = welfareTaskInfo.taskAccept;
pendantTaskInfo.g = welfareTaskInfo.taskEvolve;
pendantTaskInfo.h = welfareTaskInfo.taskType;
pendantTaskInfo.i = welfareTaskInfo.completed;
pendantTaskInfo.j = welfareTaskInfo.total;
pendantTaskInfo.k = welfareTaskInfo.needRemind;
if (welfareTaskInfo.taskBelong == 4) {
if (welfareTaskInfo.extraInfo == null) {
PendantDebugHelper.a("PENDANT_REDPACKET_EXTRAINFO_NULL", 0, 9);
PendantDebugHelper.b("春节任务,extraInfo为空");
return null;
}
pendantTaskInfo.l = 3;
pendantTaskInfo.m = welfareTaskInfo.extraInfo.get("jumpUrl");
String str = welfareTaskInfo.extraInfo.get(IPendantService.BALL_SHOW_SEC);
pendantTaskInfo.w = !TextUtils.isEmpty(str) ? Integer.parseInt(str) : 0;
String str2 = welfareTaskInfo.extraInfo.get("bubbleShowSec");
pendantTaskInfo.B = TextUtils.isEmpty(str2) ? 0 : Integer.parseInt(str2);
pendantTaskInfo.q = welfareTaskInfo.extraInfo.get(IPendantService.BUBBLE_TITLE);
pendantTaskInfo.F = new SpringTaskInfo();
pendantTaskInfo.F.f75125d = welfareTaskInfo.extraInfo.get("ballIconBackgroundUrl");
pendantTaskInfo.F.f75123b = welfareTaskInfo.extraInfo.get("ballIconWithoutShadowUrl");
pendantTaskInfo.F.f75122a = welfareTaskInfo.extraInfo.get("ballIconWithShadowUrl");
pendantTaskInfo.F.f75124c = welfareTaskInfo.extraInfo.get("bubbleIconUrl");
pendantTaskInfo.F.e = welfareTaskInfo.extraInfo.get("progressColorForDay");
pendantTaskInfo.F.f = welfareTaskInfo.extraInfo.get("progressColorForNight");
pendantTaskInfo.F.g = welfareTaskInfo.extraInfo.get(NotifyInstallActivity.TASK_ID);
pendantTaskInfo.F.h = welfareTaskInfo.extraInfo.get(IPendantService.TASK_TYPE);
return pendantTaskInfo;
}
if (welfareTaskInfo.adsRmpData != null && (rmpPosData = (RmpPosData) JceUtil.parseRawData(RmpPosData.class, welfareTaskInfo.adsRmpData)) != null) {
AdsOperateUICommonInfo adsOperateUICommonInfo = rmpPosData.stUIInfo;
if (adsOperateUICommonInfo != null) {
pendantTaskInfo.m = adsOperateUICommonInfo.sLinkUrl;
pendantTaskInfo.n = adsOperateUICommonInfo.sImageUrl;
pendantTaskInfo.q = adsOperateUICommonInfo.sWording;
pendantTaskInfo.r = adsOperateUICommonInfo.sDesc;
pendantTaskInfo.s = adsOperateUICommonInfo.iResouceSize;
pendantTaskInfo.t = adsOperateUICommonInfo.iContentType;
pendantTaskInfo.u = adsOperateUICommonInfo.sAdName;
pendantTaskInfo.v = adsOperateUICommonInfo.sAdId;
}
AdsOperateControlCommonInfo adsOperateControlCommonInfo = rmpPosData.stControlInfo;
if (adsOperateControlCommonInfo != null) {
if (adsOperateControlCommonInfo.iShowSecond > 0) {
pendantTaskInfo.w = adsOperateControlCommonInfo.iShowSecond;
}
pendantTaskInfo.x = adsOperateControlCommonInfo.iShowNum;
pendantTaskInfo.y = adsOperateControlCommonInfo.iShowInterval;
pendantTaskInfo.z = adsOperateControlCommonInfo.sStatCommonInfo;
pendantTaskInfo.A = adsOperateControlCommonInfo.mStatUrl;
}
if (rmpPosData.vPosData != null && (rmpPendant = (RmpPendant) JceUtil.parseRawData(RmpPendant.class, rmpPosData.vPosData)) != null) {
if (rmpPendant.iTxtShowSecond > 0) {
pendantTaskInfo.B = rmpPendant.iTxtShowSecond;
}
pendantTaskInfo.C = rmpPendant.iShowPos;
pendantTaskInfo.D = rmpPendant.sBtn;
pendantTaskInfo.f75000a = rmpPendant.eADSDomainMatchType;
pendantTaskInfo.f75001b = rmpPendant.vNeedMatchDomain;
pendantTaskInfo.l = rmpPendant.iStyleType;
pendantTaskInfo.o = rmpPendant.sFloatingBarImg;
pendantTaskInfo.p = rmpPendant.sExpandBgColor;
pendantTaskInfo.E = rmpPendant.ePendantUIMode;
}
}
pendantTaskInfo.K = welfareTaskInfo.reportTime;
pendantTaskInfo.G = welfareTaskInfo.welfareBallType;
PendantDebugHelper.a("当前任务welfareBallType=" + pendantTaskInfo.G);
if (pendantTaskInfo.G == 2) {
PendantDebugHelper.a("当前任务为极速版福利球");
pendantTaskInfo.l = 1;
pendantTaskInfo.H = welfareTaskInfo.ballDetail;
if (pendantTaskInfo.H != null && !pendantTaskInfo.H.isEmpty()) {
pendantTaskInfo.I = pendantTaskInfo.H.get(0);
}
} else {
PendantDebugHelper.a("当前任务为普通福利球");
}
return pendantTaskInfo;
}
public static String a(WelfareBallDetail welfareBallDetail) {
StringBuilder sb = new StringBuilder("WelfareBallDetail:");
try {
JSONObject jSONObject = new JSONObject();
jSONObject.put("curProgress", welfareBallDetail.curProgress);
jSONObject.put("totalProgress", welfareBallDetail.totalProgress);
jSONObject.put(IPendantService.BUSINESS_ID, welfareBallDetail.businessId);
jSONObject.put("bubbleIconUrl", welfareBallDetail.bubbleIconUrl);
jSONObject.put(IPendantService.BUBBLE_TITLE, welfareBallDetail.bubbleTitle);
jSONObject.put("bubbleSubTitle", welfareBallDetail.bubbleSubTitle);
jSONObject.put(IPendantService.BALL_SHOW_SEC, welfareBallDetail.ballShowSec);
jSONObject.put("bubbleShowSec", welfareBallDetail.bubbleShowSec);
jSONObject.put(IPendantService.STAT_URL, welfareBallDetail.statUrl);
jSONObject.put("ballTextType", welfareBallDetail.ballTextType);
jSONObject.put("ballText", welfareBallDetail.ballText);
jSONObject.put("jumpNextBallTime", welfareBallDetail.jumpNextBallTime);
jSONObject.put("clickEvent", welfareBallDetail.clickEvent);
jSONObject.put("clickEventType", welfareBallDetail.clickEventType);
jSONObject.put("clickBubbleTitle", welfareBallDetail.clickBubbleTitle);
jSONObject.put("clickBubbleSubTitle", welfareBallDetail.clickBubbleSubTitle);
jSONObject.put("clickBubbleShowSec", welfareBallDetail.clickBubbleShowSec);
jSONObject.put("welfareIconType", welfareBallDetail.bubbleIconType);
sb.append(jSONObject.toString(4));
} catch (JSONException unused) {
sb.append('{');
sb.append("curProgress='");
sb.append(welfareBallDetail.curProgress);
sb.append('\'');
sb.append(", totalProgress='");
sb.append(welfareBallDetail.totalProgress);
sb.append('\'');
sb.append(", businessId='");
sb.append(welfareBallDetail.businessId);
sb.append('\'');
sb.append(", bubbleIconUrl='");
sb.append(welfareBallDetail.bubbleIconUrl);
sb.append('\'');
sb.append(", bubbleTitle='");
sb.append(welfareBallDetail.bubbleTitle);
sb.append('\'');
sb.append(", bubbleSubTitle='");
sb.append(welfareBallDetail.bubbleSubTitle);
sb.append('\'');
sb.append(", ballShowSec='");
sb.append(welfareBallDetail.ballShowSec);
sb.append('\'');
sb.append(", bubbleShowSec='");
sb.append(welfareBallDetail.bubbleShowSec);
sb.append('\'');
sb.append(", statUrl='");
sb.append(welfareBallDetail.statUrl);
sb.append('\'');
sb.append(", ballTextType='");
sb.append(welfareBallDetail.ballTextType);
sb.append('\'');
sb.append(", ballText='");
sb.append(welfareBallDetail.ballText);
sb.append('\'');
sb.append(", jumpNextBallTime='");
sb.append(welfareBallDetail.jumpNextBallTime);
sb.append('\'');
sb.append(", clickEvent='");
sb.append(welfareBallDetail.clickEvent);
sb.append('\'');
sb.append(", clickEventType='");
sb.append(welfareBallDetail.clickEventType);
sb.append('\'');
sb.append(", clickBubbleTitle='");
sb.append(welfareBallDetail.clickBubbleTitle);
sb.append('\'');
sb.append(", clickBubbleSubTitle='");
sb.append(welfareBallDetail.clickBubbleSubTitle);
sb.append('\'');
sb.append(", clickBubbleShowSec='");
sb.append(welfareBallDetail.clickBubbleShowSec);
sb.append(", welfareIconType='");
sb.append(welfareBallDetail.bubbleIconType);
sb.append('}');
}
return sb.toString();
}
public static String a(WelfareTaskInfo welfareTaskInfo) {
RmpPendant rmpPendant;
if (welfareTaskInfo == null) {
return "";
}
StringBuilder sb = new StringBuilder();
sb.append("taskName=");
sb.append(welfareTaskInfo.taskName);
sb.append(IActionReportService.COMMON_SEPARATOR);
sb.append("businessId=");
sb.append(welfareTaskInfo.businessId);
sb.append(IActionReportService.COMMON_SEPARATOR);
sb.append("taskAccept=");
sb.append(welfareTaskInfo.taskAccept);
sb.append(IActionReportService.COMMON_SEPARATOR);
sb.append("taskEvolve=");
sb.append(welfareTaskInfo.taskEvolve);
sb.append(IActionReportService.COMMON_SEPARATOR);
sb.append("taskType=");
sb.append(welfareTaskInfo.taskType);
sb.append(IActionReportService.COMMON_SEPARATOR);
sb.append("completed=");
sb.append(welfareTaskInfo.completed);
sb.append(IActionReportService.COMMON_SEPARATOR);
sb.append("needRemind=");
sb.append(welfareTaskInfo.needRemind);
sb.append(IActionReportService.COMMON_SEPARATOR);
sb.append("total=");
sb.append(welfareTaskInfo.total);
sb.append(IActionReportService.COMMON_SEPARATOR);
sb.append("taskBelong=");
sb.append(welfareTaskInfo.taskBelong);
sb.append(IActionReportService.COMMON_SEPARATOR);
if (welfareTaskInfo.taskBelong == 4) {
sb.append("\n");
sb.append(welfareTaskInfo.extraInfo);
sb.append("\n");
}
if (welfareTaskInfo.adsRmpData != null) {
RmpPosData rmpPosData = (RmpPosData) JceUtil.parseRawData(RmpPosData.class, welfareTaskInfo.adsRmpData);
if (rmpPosData == null) {
return sb.toString();
}
AdsOperateUICommonInfo adsOperateUICommonInfo = rmpPosData.stUIInfo;
if (adsOperateUICommonInfo != null) {
sb.append("rmp sLinkUrl=");
sb.append(adsOperateUICommonInfo.sLinkUrl);
sb.append(IActionReportService.COMMON_SEPARATOR);
sb.append("rmp sImageUrl=");
sb.append(adsOperateUICommonInfo.sImageUrl);
sb.append(IActionReportService.COMMON_SEPARATOR);
sb.append("rmp sWording=");
sb.append(adsOperateUICommonInfo.sWording);
sb.append(IActionReportService.COMMON_SEPARATOR);
sb.append("rmp sDesc=");
sb.append(adsOperateUICommonInfo.sDesc);
sb.append(IActionReportService.COMMON_SEPARATOR);
}
AdsOperateControlCommonInfo adsOperateControlCommonInfo = rmpPosData.stControlInfo;
if (adsOperateControlCommonInfo != null && adsOperateControlCommonInfo.iShowSecond > 0) {
sb.append("rmp iShowSecond=");
sb.append(adsOperateControlCommonInfo.iShowSecond);
sb.append(IActionReportService.COMMON_SEPARATOR);
}
if (rmpPosData.vPosData != null && (rmpPendant = (RmpPendant) JceUtil.parseRawData(RmpPendant.class, rmpPosData.vPosData)) != null) {
sb.append("rmp iTxtShowSecond=");
sb.append(rmpPendant.iTxtShowSecond);
sb.append(IActionReportService.COMMON_SEPARATOR);
sb.append("rmp iShowPos=");
sb.append(rmpPendant.iShowPos);
sb.append(IActionReportService.COMMON_SEPARATOR);
sb.append("rmp sBtn=");
sb.append(rmpPendant.sBtn);
sb.append(IActionReportService.COMMON_SEPARATOR);
sb.append("rmp eADSDomainMatchType=");
sb.append(rmpPendant.eADSDomainMatchType);
sb.append(IActionReportService.COMMON_SEPARATOR);
sb.append("rmp iStyleType=");
sb.append(rmpPendant.iStyleType);
sb.append(IActionReportService.COMMON_SEPARATOR);
sb.append("rmp sFloatingBarImg=");
sb.append(rmpPendant.sFloatingBarImg);
sb.append(IActionReportService.COMMON_SEPARATOR);
sb.append("rmp sExpandBgColor=");
sb.append(rmpPendant.sExpandBgColor);
sb.append(IActionReportService.COMMON_SEPARATOR);
if (rmpPendant.vNeedMatchDomain != null) {
sb.append("rmp vNeedMatchDomain=");
sb.append(IActionReportService.COMMON_SEPARATOR);
Iterator<String> it = rmpPendant.vNeedMatchDomain.iterator();
while (it.hasNext()) {
String next = it.next();
sb.append(" ");
sb.append(next);
sb.append(IActionReportService.COMMON_SEPARATOR);
}
}
}
}
sb.append("welfareBallType=");
sb.append(welfareTaskInfo.welfareBallType);
sb.append(IActionReportService.COMMON_SEPARATOR);
sb.append("ballList.size=");
sb.append(welfareTaskInfo.ballDetail != null ? welfareTaskInfo.ballDetail.size() : 0);
sb.append(IActionReportService.COMMON_SEPARATOR);
return sb.toString();
}
public static JSONObject a(PendantTaskInfo pendantTaskInfo) {
if (pendantTaskInfo == null) {
return null;
}
HashMap hashMap = new HashMap();
hashMap.put("sImageUrl", pendantTaskInfo.n);
hashMap.put("sAdName", pendantTaskInfo.u);
hashMap.put("sWording", pendantTaskInfo.q);
hashMap.put("sLinkUrl", pendantTaskInfo.m);
hashMap.put("iContentType", Integer.valueOf(pendantTaskInfo.t));
hashMap.put("iResouceSize", Integer.valueOf(pendantTaskInfo.s));
hashMap.put("sDesc", pendantTaskInfo.r);
hashMap.put("sAdId", pendantTaskInfo.v);
HashMap hashMap2 = new HashMap();
hashMap2.put("eADSDomainMatchType", Integer.valueOf(pendantTaskInfo.f75000a));
hashMap2.put("sBtn", pendantTaskInfo.D);
hashMap2.put("vNeedMatchDomain", pendantTaskInfo.f75001b);
hashMap2.put("ePendantUIMode", Integer.valueOf(pendantTaskInfo.E));
hashMap2.put("iShowPos", Integer.valueOf(pendantTaskInfo.C));
hashMap2.put("iTxtShowSecond", Integer.valueOf(pendantTaskInfo.B));
HashMap hashMap3 = new HashMap();
hashMap3.put(IPendantService.TASK_TYPE, Integer.valueOf(pendantTaskInfo.h));
hashMap3.put(IPendantService.BUSINESS_ID, Integer.valueOf(pendantTaskInfo.e));
hashMap3.put(IPendantService.NEED_REMIND, Integer.valueOf(pendantTaskInfo.k));
hashMap3.put(IPendantService.TASK_EVOLVE, Integer.valueOf(pendantTaskInfo.g));
hashMap3.put(IPendantService.TASK_ACCEPT, Boolean.valueOf(pendantTaskInfo.f));
hashMap3.put(IPendantService.TASK_NAME, pendantTaskInfo.f75003d);
hashMap3.put("ballForm", Integer.valueOf(pendantTaskInfo.f75002c));
hashMap3.put("total", Integer.valueOf(pendantTaskInfo.j));
hashMap3.put(ViewListPagerRefreshHeaderStateBase.REFRESH_ACTION_COMPLETED, Integer.valueOf(pendantTaskInfo.i));
HashMap hashMap4 = new HashMap();
hashMap3.put("iShowNum", Integer.valueOf(pendantTaskInfo.x));
hashMap3.put("iShowSecond", Integer.valueOf(pendantTaskInfo.w));
hashMap3.put("iShowInterval", Integer.valueOf(pendantTaskInfo.y));
hashMap3.put("sStatCommonInfo", pendantTaskInfo.z);
hashMap3.put("mStatUrl", pendantTaskInfo.A);
HashMap hashMap5 = new HashMap();
hashMap5.put("RmpData", hashMap);
hashMap5.put("RmpPendant", hashMap2);
hashMap5.put("WelfareTaskInfo", hashMap3);
hashMap5.put("stControlInfo", hashMap4);
return new JSONObject(hashMap5);
}
public static void a(PendantTaskInfo pendantTaskInfo, int i) {
Map<Integer, ArrayList<String>> map;
ArrayList<String> arrayList;
if (pendantTaskInfo == null || (map = pendantTaskInfo.A) == null || (arrayList = map.get(34)) == null) {
return;
}
ArrayList<String> arrayList2 = new ArrayList<>();
Iterator<String> it = arrayList.iterator();
while (it.hasNext()) {
String next = it.next();
if (!TextUtils.isEmpty(next)) {
if (next.contains(ParamKey.ELEMENT_ID)) {
next = UrlUtils.replaceValueByKey(next, ParamKey.ELEMENT_ID, i + "");
} else {
next = UrlUtils.addParamsToUrl(next, "eid=" + i);
}
}
arrayList2.add(next);
}
map.put(34, arrayList2);
((IHomePageService) QBContext.getInstance().getService(IHomePageService.class)).statUpLoad(map, 34);
}
public static void a(Map<String, Integer> map) {
map.put("qb://home", 0);
map.put("qb://home/feeds?tabId=1", 100);
map.put("qb://ext/read", 100);
map.put("qb://tab/video", 200);
map.put("qb://home/feeds?tabId=6", 200);
map.put("qb://ext/rn?module=ugcfloat&component=ugcfloat&page=ugc", 200);
map.put("qb://video/feedsvideo/list", 200);
map.put("qb://home/feeds?tabId=22", 300);
map.put("qb://ext/novel/shelf", 300);
map.put("qb://ext/novel/store?url=", 300);
map.put("https://bookshelf.html5.qq.com", 300);
map.put("qb://ext/adnovel", 300);
map.put("https://bookshelf.html5.qq.com/qbread/", 300);
map.put("qb://ext/novel/content", 300);
map.put("https://column.3g.qq.com/hotlist/1?ch=1016", 400);
map.put("qb://camera?switchtype=0", 500);
map.put("qb://camera?switchtype=3", 600);
map.put("qb://camera?switchtype=2", 700);
map.put("qb://tab/file", 800);
map.put("qb://filesdk/clean/scan", 800);
map.put("qb://filesdk/clean/detail", 800);
map.put("qb://filesdk/clean/cleaning?cleanType=0", 800);
map.put("qb://download", 900);
map.put("qb://ext/wallpaper", 1100);
map.put("qb://weapp/?package", 1200);
Integer valueOf = Integer.valueOf(WelfareBusiness._WELFARE_ZHIBO);
map.put("qb://ext/rn?module=nowlive&component=nowlive", valueOf);
map.put("qb://ext/rn?module=nowcenter&component=nowcenter", valueOf);
map.put("qb://ext/nowliveroom", valueOf);
map.put("qb://home/feeds?tabId=110016", valueOf);
map.put("qb://ext/todaybox", 1500);
map.put("qb://ext/audiofm", 1800);
map.put("qb://home/feeds?tabId=150", 1800);
map.put("qb://home/feeds?tabId=155", Integer.valueOf(WelfareBusiness._WELFARE_MINI_GAME));
}
public static boolean a(String str) {
return str.startsWith("qb://home") || str.startsWith("qb://tab/home");
}
private static AccountInfo b() {
return ((IAccount) SDKContext.getInstance().getService(IAccount.class)).getCurrentUserInfo();
}
public static String b(PendantTaskInfo pendantTaskInfo) {
StringBuilder sb = new StringBuilder("PendantTaskInfo:");
try {
JSONObject jSONObject = new JSONObject();
jSONObject.put("mBallForm", pendantTaskInfo.f75002c);
jSONObject.put("mTaskName", pendantTaskInfo.f75003d);
jSONObject.put("mBusinessId", pendantTaskInfo.e);
jSONObject.put("mCompleted", pendantTaskInfo.i);
jSONObject.put("mTotal", pendantTaskInfo.j);
jSONObject.put("mStyleType", pendantTaskInfo.l);
jSONObject.put("mJumpUrl", pendantTaskInfo.m);
jSONObject.put("mBubbleTitle", pendantTaskInfo.q);
jSONObject.put("mBubbleDesc", pendantTaskInfo.r);
jSONObject.put("mBallShowSec", pendantTaskInfo.w);
jSONObject.put("mBubbleShowSec", pendantTaskInfo.B);
jSONObject.put("reportTime", pendantTaskInfo.K);
jSONObject.put("welfareBallType", pendantTaskInfo.G);
jSONObject.put("ballList.size", pendantTaskInfo.H != null ? pendantTaskInfo.H.size() : 0);
jSONObject.put("welfareBallIndex", pendantTaskInfo.J);
sb.append(jSONObject.toString(4));
} catch (JSONException unused) {
sb.append('{');
sb.append("mBallForm='");
sb.append(pendantTaskInfo.f75002c);
sb.append('\'');
sb.append("mTaskName='");
sb.append(pendantTaskInfo.f75003d);
sb.append('\'');
sb.append("mBusinessId='");
sb.append(pendantTaskInfo.e);
sb.append('\'');
sb.append("mCompleted='");
sb.append(pendantTaskInfo.i);
sb.append('\'');
sb.append("mTotal='");
sb.append(pendantTaskInfo.j);
sb.append('\'');
sb.append("mStyleType='");
sb.append(pendantTaskInfo.l);
sb.append('\'');
sb.append("mJumpUrl='");
sb.append(pendantTaskInfo.m);
sb.append('\'');
sb.append("mBubbleTitle='");
sb.append(pendantTaskInfo.q);
sb.append('\'');
sb.append("mBubbleDesc='");
sb.append(pendantTaskInfo.r);
sb.append('\'');
sb.append("mBallShowSec='");
sb.append(pendantTaskInfo.w);
sb.append('\'');
sb.append("mBubbleShowSec='");
sb.append(pendantTaskInfo.B);
sb.append('\'');
sb.append("reportTime='");
sb.append(pendantTaskInfo.K);
sb.append('\'');
sb.append("welfareBallType='");
sb.append(pendantTaskInfo.G);
sb.append('\'');
sb.append("ballList.size'");
sb.append(pendantTaskInfo.H != null ? pendantTaskInfo.H.size() : 0);
sb.append('\'');
sb.append(", welfareBallIndex='");
sb.append(pendantTaskInfo.J);
sb.append(", welfareIconType='");
sb.append(pendantTaskInfo.L);
sb.append('}');
}
return sb.toString();
}
}