无痛单词 v1.8.1版本的 MD5 值为:7ae56c6858542fe70230b6be4f1a4b5a
以下内容为反编译后的 ConstantKt.java 源代码,内容仅作参考
package tech.xiangzi.painless.data;
import android.text.SpannableStringBuilder;
import androidx.constraintlayout.core.motion.utils.TypedValues;
import androidx.media3.exoplayer.upstream.CmcdHeadersFactory;
import androidx.media3.extractor.text.ttml.TtmlNode;
import java.util.List;
import java.util.Map;
import kotlin.Metadata;
import kotlin.TuplesKt;
import kotlin.collections.CollectionsKt;
import kotlin.collections.MapsKt;
import kotlin.jvm.internal.DefaultConstructorMarker;
import org.jetbrains.annotations.NotNull;
import tech.xiangzi.painless.data.remote.model.GuideBean;
import tech.xiangzi.painless.data.remote.model.SettingNormalBean;
@Metadata(d1 = {"\u00004\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\b\n\u0002\b\u0011\n\u0002\u0010\u0011\n\u0002\b\u0006\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\b\n\u0002\u0018\u0002\n\u0002\b#\n\u0002\u0010$\n\u0002\b\u0005\"\u000e\u0010\u0000\u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000\"\u000e\u0010\u0002\u001a\u00020\u0003X\u0086T¢\u0006\u0002\n\u0000\"\u000e\u0010\u0004\u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000\"\u000e\u0010\u0005\u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000\"\u000e\u0010\u0006\u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000\"\u000e\u0010\u0007\u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000\"\u000e\u0010\b\u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000\"\u000e\u0010\t\u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000\"\u000e\u0010\n\u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000\"\u000e\u0010\u000b\u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000\"\u000e\u0010\f\u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000\"\u000e\u0010\r\u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000\"\u000e\u0010\u000e\u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000\"\u000e\u0010\u000f\u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000\"\u0011\u0010\u0010\u001a\u00020\u0001¢\u0006\b\n\u0000\u001a\u0004\b\u0011\u0010\u0012\"\u000e\u0010\u0013\u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000\"\u0019\u0010\u0014\u001a\b\u0012\u0004\u0012\u00020\u00010\u0015¢\u0006\n\n\u0002\u0010\u0018\u001a\u0004\b\u0016\u0010\u0017\"\u000e\u0010\u0019\u001a\u00020\u0003X\u0086T¢\u0006\u0002\n\u0000\"\u000e\u0010\u001a\u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000\"\u0017\u0010\u001b\u001a\b\u0012\u0004\u0012\u00020\u001d0\u001c¢\u0006\b\n\u0000\u001a\u0004\b\u001e\u0010\u001f\"\u000e\u0010 \u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000\"\u000e\u0010!\u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000\"\u000e\u0010\"\u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000\"\u000e\u0010#\u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000\"\u000e\u0010$\u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000\"\u0017\u0010%\u001a\b\u0012\u0004\u0012\u00020&0\u001c¢\u0006\b\n\u0000\u001a\u0004\b'\u0010\u001f\"\u000e\u0010(\u001a\u00020\u0003X\u0086T¢\u0006\u0002\n\u0000\"\u000e\u0010)\u001a\u00020\u0003X\u0086T¢\u0006\u0002\n\u0000\"\u000e\u0010*\u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000\"\u000e\u0010+\u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000\"\u000e\u0010,\u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000\"\u000e\u0010-\u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000\"\u000e\u0010.\u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000\"\u000e\u0010/\u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000\"\u000e\u00100\u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000\"\u000e\u00101\u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000\"\u000e\u00102\u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000\"\u000e\u00103\u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000\"\u000e\u00104\u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000\"\u000e\u00105\u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000\"\u000e\u00106\u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000\"\u000e\u00107\u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000\"\u000e\u00108\u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000\"\u000e\u00109\u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000\"\u000e\u0010:\u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000\"\u000e\u0010;\u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000\"\u000e\u0010<\u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000\"\u000e\u0010=\u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000\"\u000e\u0010>\u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000\"\u000e\u0010?\u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000\"\u000e\u0010@\u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000\"\u000e\u0010A\u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000\"\u000e\u0010B\u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000\"\u000e\u0010C\u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000\"\u000e\u0010D\u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000\"\u000e\u0010E\u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000\"\u000e\u0010F\u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000\"\u000e\u0010G\u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000\"\u000e\u0010H\u001a\u00020\u0001X\u0086T¢\u0006\u0002\n\u0000\"\u001d\u0010I\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u00010J¢\u0006\b\n\u0000\u001a\u0004\bK\u0010L\"\u001d\u0010M\u001a\u000e\u0012\u0004\u0012\u00020\u0001\u0012\u0004\u0012\u00020\u00010J¢\u0006\b\n\u0000\u001a\u0004\bN\u0010L¨\u0006O"}, d2 = {"AGREE_PRIVACY", "", "ALI_PAY_FLAG", "", "ARG_WORD_ENTITY", "AUTO_SPEAK", "BIND_STATE", "BUGLY_APP_ID", "CHANGE_CURRENT_TAG", "CHANGE_IMMERSION_MODE", "CREATE_ARTICLE_RESULT", "CURRENT_DICT_COMPLETE", "CUSTOM_DICT_NAME", "CUSTOM_DICT_TAG", "DATABASE_NAME", "DATABASE_NAME_ALL", "DERIVATIVES_DEMO", "getDERIVATIVES_DEMO", "()Ljava/lang/String;", "DEV_SERVER_URL", "DICT_TAG_LIST", "", "getDICT_TAG_LIST", "()[Ljava/lang/String;", "[Ljava/lang/String;", "DICT_WORD_TOTAL", "EVERY_DAY_NEW_WORD_LIMIT", "GUIDE_INFO", "", "Ltech/xiangzi/painless/data/remote/model/GuideBean;", "getGUIDE_INFO", "()Ljava/util/List;", "HIDE_CHINESE", "HIDE_PROGRESS", "HIDE_TRANSLATE", "IS_WORD_SPELL_MODE", "LOGIN_STATE", "MEMBERSHIP_PRIVATE_RIGHT", "Ltech/xiangzi/painless/data/remote/model/SettingNormalBean;", "getMEMBERSHIP_PRIVATE_RIGHT", "NEW_WORDS_LIMIT", "NOT_PRO_WORDS_LIMIT", "OLD_WORD_LEARNED", "PATTERN_NORMAL_DATE", "PATTERN_NORMAL_DATE_TIME", "PATTERN_TERM_OF_VALIDITY", "PAY_RESULT_ERROR", "QI_NIU_TOKEN_WORKER", "REFRESH_WORDS", "SCROLL_INDEX_IN_HELP", "SEARCH_WORD", "SERVER_SSE_URL", "SERVER_URL", "SHOW_ANTI_ADDICTION_POPUP", "SHOW_SYNC_DIALOG", "SLOWLY_SHOW", "SYNC_COMPLETE", "SYNC_WORKER_CALLER", "SYNC_WORKER_CALLER_CHART", "SYNC_WORKER_CALLER_LOGIN", "SYNC_WORKER_CALLER_OTHER", "SYNC_WORKER_CALLER_STARTUP", "UPDATE_WORD_STATUS", "VOICE_TYPE_CHOOSE", "WORD_DETAIL", "WORD_GROUP_INFO", "WORD_GROUP_KEY", "WORD_STAT_FILTER", "WORD_STAT_TODAY", "WX_APP_ID", "WX_AUTH_CODE", "WX_PAY_ID", "WX_PAY_RESULT", "posMapping", "", "getPosMapping", "()Ljava/util/Map;", "wordMap", "getWordMap", "app_release"}, k = 2, mv = {1, 8, 0}, xi = 48)
public final class ConstantKt {
@NotNull
public static final String AGREE_PRIVACY = "agree-privacy";
public static final int ALI_PAY_FLAG = 1;
@NotNull
public static final String ARG_WORD_ENTITY = "wordEntity";
@NotNull
public static final String AUTO_SPEAK = "auto-speak";
@NotNull
public static final String BIND_STATE = "bind-state";
@NotNull
public static final String BUGLY_APP_ID = "9c7d5e2c3b";
@NotNull
public static final String CHANGE_CURRENT_TAG = "change-current-tag";
@NotNull
public static final String CHANGE_IMMERSION_MODE = "change-immersion-mode";
@NotNull
public static final String CREATE_ARTICLE_RESULT = "create_article_result";
@NotNull
public static final String CURRENT_DICT_COMPLETE = "current-dict-complete";
@NotNull
public static final String CUSTOM_DICT_NAME = "custom-dict-name";
@NotNull
public static final String CUSTOM_DICT_TAG = "custom-dict-tag";
@NotNull
public static final String DATABASE_NAME = "dict.db";
@NotNull
public static final String DATABASE_NAME_ALL = "all_dict.db";
@NotNull
public static final String DEV_SERVER_URL = "";
public static final int DICT_WORD_TOTAL = 60000;
@NotNull
public static final String EVERY_DAY_NEW_WORD_LIMIT = "everyday-new-word-limit";
@NotNull
private static final List<GuideBean> GUIDE_INFO;
@NotNull
public static final String HIDE_CHINESE = "hide-chinese";
@NotNull
public static final String HIDE_PROGRESS = "hide-progress";
@NotNull
public static final String HIDE_TRANSLATE = "hide-translate";
@NotNull
public static final String IS_WORD_SPELL_MODE = "is-word-spell-mode";
@NotNull
public static final String LOGIN_STATE = "login-state";
@NotNull
private static final List<SettingNormalBean> MEMBERSHIP_PRIVATE_RIGHT;
public static final int NEW_WORDS_LIMIT = 100;
public static final int NOT_PRO_WORDS_LIMIT = 500;
@NotNull
public static final String OLD_WORD_LEARNED = "old-word-learned";
@NotNull
public static final String PATTERN_NORMAL_DATE = "yyyy-MM-dd";
@NotNull
public static final String PATTERN_NORMAL_DATE_TIME = "yyyy-MM-dd HH:mm:ss";
@NotNull
public static final String PATTERN_TERM_OF_VALIDITY = "yyyy.M.d";
@NotNull
public static final String PAY_RESULT_ERROR = "pay-result-error";
@NotNull
public static final String QI_NIU_TOKEN_WORKER = "qi-niu-token";
@NotNull
public static final String REFRESH_WORDS = "refresh-words";
@NotNull
public static final String SCROLL_INDEX_IN_HELP = "scroll-index-in-help";
@NotNull
public static final String SEARCH_WORD = "search-word";
@NotNull
public static final String SERVER_SSE_URL = "https://app.xiangzi.tech/sse/";
@NotNull
public static final String SERVER_URL = "https://app.xiangzi.tech/app/";
@NotNull
public static final String SHOW_ANTI_ADDICTION_POPUP = "show-anti-addiction-popup";
@NotNull
public static final String SHOW_SYNC_DIALOG = "show-sync-dialog";
@NotNull
public static final String SLOWLY_SHOW = "slowly-show";
@NotNull
public static final String SYNC_COMPLETE = "sync-complete";
@NotNull
public static final String SYNC_WORKER_CALLER = "sync_worker_caller";
@NotNull
public static final String SYNC_WORKER_CALLER_CHART = "sync_worker_caller_chart";
@NotNull
public static final String SYNC_WORKER_CALLER_LOGIN = "sync_worker_caller_login";
@NotNull
public static final String SYNC_WORKER_CALLER_OTHER = "sync_worker_caller_other";
@NotNull
public static final String SYNC_WORKER_CALLER_STARTUP = "sync_worker_caller_startup";
@NotNull
public static final String UPDATE_WORD_STATUS = "update-word-status";
@NotNull
public static final String VOICE_TYPE_CHOOSE = "voice-type-choose";
@NotNull
public static final String WORD_DETAIL = "word-detail";
@NotNull
public static final String WORD_GROUP_INFO = "word-group-info";
@NotNull
public static final String WORD_GROUP_KEY = "word_group_key";
@NotNull
public static final String WORD_STAT_FILTER = "word-stat-filter";
@NotNull
public static final String WORD_STAT_TODAY = "word-stat-today";
@NotNull
public static final String WX_APP_ID = "wx44ceb4e9a543c0d1";
@NotNull
public static final String WX_AUTH_CODE = "wx-auth-code";
@NotNull
public static final String WX_PAY_ID = "wx44ceb4e9a543c0d1";
@NotNull
public static final String WX_PAY_RESULT = "wx-pay-result";
@NotNull
private static final String[] DICT_TAG_LIST = {"zk", "gk", "cet4", "cet6", "zsb", "level4", "level8", "ky", "ielts", "toefl", "gre", "gmat", "sat"};
@NotNull
private static final Map<String, String> wordMap = MapsKt.mapOf(TuplesKt.to(TtmlNode.TAG_P, "past tense"), TuplesKt.to("d", "past participle"), TuplesKt.to(CmcdHeadersFactory.OBJECT_TYPE_INIT_SEGMENT, "present participle/gerund"), TuplesKt.to("3", "third person singular"), TuplesKt.to(CmcdHeadersFactory.STREAMING_FORMAT_SS, "plural form of a noun"), TuplesKt.to("r", "Comparative"), TuplesKt.to("t", "Superlative"));
@NotNull
private static final Map<String, String> posMapping = MapsKt.mapOf(TuplesKt.to("n", "名"), TuplesKt.to("v", "动"), TuplesKt.to("adj", "形"), TuplesKt.to("adv", "副"), TuplesKt.to("num", "数"), TuplesKt.to("pron", "代"), TuplesKt.to("prep", "介"), TuplesKt.to("conj", "连"), TuplesKt.to("interj", "叹"), TuplesKt.to("art", "冠"), TuplesKt.to("det", "限"), TuplesKt.to("abbr", "缩"));
@NotNull
private static final String DERIVATIVES_DEMO = "{\n \"word\":\"pain\",\n \"derivatives\":[\n {\n \"word\":\"painless\",\n \"derivatives\":[\n {\n \"word\":\"painlessly\",\n \"derivatives\":[],\n \"translation\":\"无痛苦地, 不费力地\",\n \"type\":\"adv.\"\n }\n ],\n \"translation\":\"无痛的, 不痛的\",\n \"type\":\"adj.\"\n },\n {\n \"word\":\"pained\",\n \"derivatives\":[],\n \"translation\":\"痛的, 苦恼的, 伤感情的, 表示怨恨的\",\n \"type\":\"adj.\"\n },\n {\n \"word\":\"painkiller\",\n \"derivatives\":[\n\n ],\n \"translation\":\"止痛药,镇痛剂,镇痛药,解痛药\",\n \"type\":\"n.\"\n },\n {\n \"word\":\"painful\",\n \"derivatives\":[],\n \"translation\":\"痛苦的, 使人痛苦的, 疼痛的, 难受的, 艰难的\",\n \"type\":\"adj.\"\n }\n ],\n \"translation\":\"使痛苦\",\n \"type\":\"v.\"\n }";
static {
boolean z2 = false;
boolean z3 = false;
int i = 112;
DefaultConstructorMarker defaultConstructorMarker = null;
boolean z4 = false;
DefaultConstructorMarker defaultConstructorMarker2 = null;
GUIDE_INFO = CollectionsKt.listOf((Object[]) new GuideBean[]{new GuideBean("welcome", "/ˈwelkəm/", "上滑切换单词卡片", "欢迎使用无痛单词!无论学习新单词或是温习旧单词,只需要上滑切换单词卡片即可,全程无需任何其他操作。", z2, z3, false, i, defaultConstructorMarker), new GuideBean(TypedValues.TransitionType.S_DURATION, "/dʊˈreɪʃ(ə)n/", "告别选择困难", "无痛单词依据你在单词卡片上的停留时长预测熟悉度:认识就快速划过,不认识则停留片刻用来学习记忆。", true, z4, false, 96, defaultConstructorMarker2), new GuideBean("algorithm", "/ˈælɡəˌrɪðəm/", "Painless 记忆算法", "无痛单词综合单词卡片停留时长、点击查询、搜索、阅读等判定单词掌握情况,并据此生成契合你记忆规律的智能单词流。", z2, z3, 0 == true ? 1 : 0, i, defaultConstructorMarker), new GuideBean("success", "/səkˈses/", "完成比完美更重要", "再完美的计划,无法坚持下去也毫无意义。无痛单词没有计划,没有压力,因为我们相信完成永远比完美更重要。", false, z4, 0 == true ? 1 : 0, 80, defaultConstructorMarker2)});
int i2 = 0;
SpannableStringBuilder spannableStringBuilder = null;
String str = null;
int i3 = 120;
int i4 = 0;
SpannableStringBuilder spannableStringBuilder2 = null;
String str2 = null;
int i5 = 120;
boolean z5 = true;
int i6 = 88;
int i7 = 0;
SpannableStringBuilder spannableStringBuilder3 = null;
String str3 = null;
boolean z6 = false;
int i8 = 0;
int i9 = 120;
DefaultConstructorMarker defaultConstructorMarker3 = null;
boolean z7 = false;
int i10 = 120;
MEMBERSHIP_PRIVATE_RIGHT = CollectionsKt.listOf((Object[]) new SettingNormalBean[]{new SettingNormalBean(i2, "无限单词", "📚", spannableStringBuilder, str, z3, 0 == true ? 1 : 0, i3, defaultConstructorMarker), new SettingNormalBean(i4, "私人阅读", "📖", spannableStringBuilder2, str2, z4, 0 == true ? 1 : 0, i5, defaultConstructorMarker2), new SettingNormalBean(i2, "高级图表", "📊", spannableStringBuilder, str, z3, 0 == true ? 1 : 0, i3, defaultConstructorMarker), new SettingNormalBean(i4, "定制词书", "📕", spannableStringBuilder2, str2, z4, 0 == true ? 1 : 0, i5, defaultConstructorMarker2), new SettingNormalBean(i2, "云同步", "☁️", spannableStringBuilder, str, z3, 0 == true ? 1 : 0, i3, defaultConstructorMarker), new SettingNormalBean(i4, "词根词缀", "\u1f9ec", spannableStringBuilder2, str2, z4, 0 == true ? 1 : 0, i5, defaultConstructorMarker2), new SettingNormalBean(i2, "派生串记", "⛓️", spannableStringBuilder, str, z3, 0 == true ? 1 : 0, i3, defaultConstructorMarker), new SettingNormalBean(i4, "拼写测试", "🔤", spannableStringBuilder2, str2, z4, 0 == true ? 1 : 0, i5, defaultConstructorMarker2), new SettingNormalBean(i2, "语境卡片", "🃏", spannableStringBuilder, str, z5, 0 == true ? 1 : 0, i6, defaultConstructorMarker), new SettingNormalBean(i4, "离线语音", "🎙️", spannableStringBuilder2, str2, true, 0 == true ? 1 : 0, 88, defaultConstructorMarker2), new SettingNormalBean(i2, "专属词书", "📋", spannableStringBuilder, str, z5, 0 == true ? 1 : 0, i6, defaultConstructorMarker), new SettingNormalBean(i7, "免广告", "🚫", spannableStringBuilder3, str3, z6, i8, i9, defaultConstructorMarker3), new SettingNormalBean(i2, "真题例句", "📃", spannableStringBuilder, str, z5, 0 == true ? 1 : 0, i6, defaultConstructorMarker), new SettingNormalBean(i7, "防沉迷", "🎮", spannableStringBuilder3, str3, z6, i8, i9, defaultConstructorMarker3), new SettingNormalBean(i7, "神童模式", "🧘🏻️", spannableStringBuilder3, str3, z6, i8, i9, defaultConstructorMarker3), new SettingNormalBean(i7, "颜值主题", "🎨", spannableStringBuilder3, str3, true, i8, 88, defaultConstructorMarker3), new SettingNormalBean(i7, "敬请期待", "📦", spannableStringBuilder3, str3, z7, i8, i10, defaultConstructorMarker3), new SettingNormalBean(i7, "敬请期待", "📦", spannableStringBuilder3, str3, z7, i8, i10, defaultConstructorMarker3), new SettingNormalBean(i7, "敬请期待", "📦", spannableStringBuilder3, str3, z7, i8, i10, defaultConstructorMarker3), new SettingNormalBean(i7, "敬请期待", "📦", spannableStringBuilder3, str3, z7, i8, i10, defaultConstructorMarker3)});
}
@NotNull
public static final String getDERIVATIVES_DEMO() {
return DERIVATIVES_DEMO;
}
@NotNull
public static final String[] getDICT_TAG_LIST() {
return DICT_TAG_LIST;
}
@NotNull
public static final List<GuideBean> getGUIDE_INFO() {
return GUIDE_INFO;
}
@NotNull
public static final List<SettingNormalBean> getMEMBERSHIP_PRIVATE_RIGHT() {
return MEMBERSHIP_PRIVATE_RIGHT;
}
@NotNull
public static final Map<String, String> getPosMapping() {
return posMapping;
}
@NotNull
public static final Map<String, String> getWordMap() {
return wordMap;
}
}