* Decompile and recreate Soul Browser v1.4.85 with APK CI builds Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix CI build: include bundled google.jks and remove PR trigger The apktool build failed in CI because app/unknown/.../google.jks was excluded by the *.jks gitignore rule. Whitelist app-bundled JKS files and commit the missing resource. Also remove the redundant pull_request workflow trigger. Co-authored-by: KaKi87 <KaKi87@pm.me> * Change package ID to com.github.kaki87.soulbrowser Rename the application ID so the rebuilt APK can be installed alongside the original Soul Browser from Google Play. - Update AndroidManifest package, permissions, providers, and actions - Update R class references in smali (com/github/kaki87/soulbrowser/R) - Update shortcuts.xml targetPackage - Rename app label to "Soul Rebuild" for easy identification Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix install compatibility: remove split APK metadata and bundle native libs The rebuilt APK still declared requiredSplitTypes and Play Store split metadata, causing Android to reject standalone installs as incompatible. - Remove requiredSplitTypes and split-related manifest meta-data - Merge native libs from all ABI splits with uncompressed storage - Page-align before signing for extractNativeLibs=false - Add .so to apktool doNotCompress list Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix install failure: use apksigner v2/v3 and bundle arm64 native libs Target SDK 36 requires APK Signature Scheme v2+, but jarsigner only produces v1 signatures, causing Android to reject the install. - Sign with apksigner (v1+v2+v3) instead of jarsigner - Add arm64-v8a native libraries from universal Soul Browser 1.4.79 - Set extractNativeLibs=true for reliable sideload installs - Commit stable debug keystore for consistent signatures across builds Co-authored-by: KaKi87 <KaKi87@pm.me> * Add committed debug keystore for consistent APK signatures Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix startup crash: use original classes2.dex desugar libraries Apktool recompiles smali_classes2 into a broken classes2.dex, causing ClassNotFoundException for j$.com.android.tools.r8.a at ML Kit init. Inject the original classes2.dex (Java 8+ desugar libs) after apktool build instead of using the recompiled version. Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix missing drawable resources from density split APKs The base APK is an app bundle module; density-specific drawables like seek_thumb_nor_b live in config.xhdpi.apk and were missing after rebuild, causing Resources$NotFoundException at runtime. - Merge non-9-patch resources from split APKs before apktool build - Sync public.xml IDs from R smali only when backing files exist - Add 713 density-specific resource IDs to public.xml Co-authored-by: KaKi87 <KaKi87@pm.me> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com>
310 lines
12 KiB
Java
310 lines
12 KiB
Java
package org.apache.commons.text.translate;
|
||
|
||
import j$.util.Collection;
|
||
import j$.util.DesugarCollections;
|
||
import j$.util.stream.Collectors;
|
||
import java.util.HashMap;
|
||
import java.util.Map;
|
||
|
||
/* loaded from: classes4.dex */
|
||
public class EntityArrays {
|
||
|
||
/* renamed from: a, reason: collision with root package name */
|
||
public static final Map f22511a;
|
||
public static final Map b;
|
||
|
||
/* renamed from: c, reason: collision with root package name */
|
||
public static final Map f22512c;
|
||
public static final Map d;
|
||
public static final Map e;
|
||
public static final Map f;
|
||
public static final Map g;
|
||
public static final Map h;
|
||
public static final Map i;
|
||
public static final Map j;
|
||
|
||
static {
|
||
HashMap hashMap = new HashMap();
|
||
hashMap.put(" ", " ");
|
||
hashMap.put("¡", "¡");
|
||
hashMap.put("¢", "¢");
|
||
hashMap.put("£", "£");
|
||
hashMap.put("¤", "¤");
|
||
hashMap.put("¥", "¥");
|
||
hashMap.put("¦", "¦");
|
||
hashMap.put("§", "§");
|
||
hashMap.put("¨", "¨");
|
||
hashMap.put("©", "©");
|
||
hashMap.put("ª", "ª");
|
||
hashMap.put("«", "«");
|
||
hashMap.put("¬", "¬");
|
||
hashMap.put("\u00ad", "­");
|
||
hashMap.put("®", "®");
|
||
hashMap.put("¯", "¯");
|
||
hashMap.put("°", "°");
|
||
hashMap.put("±", "±");
|
||
hashMap.put("²", "²");
|
||
hashMap.put("³", "³");
|
||
hashMap.put("´", "´");
|
||
hashMap.put("µ", "µ");
|
||
hashMap.put("¶", "¶");
|
||
hashMap.put("·", "·");
|
||
hashMap.put("¸", "¸");
|
||
hashMap.put("¹", "¹");
|
||
hashMap.put("º", "º");
|
||
hashMap.put("»", "»");
|
||
hashMap.put("¼", "¼");
|
||
hashMap.put("½", "½");
|
||
hashMap.put("¾", "¾");
|
||
hashMap.put("¿", "¿");
|
||
hashMap.put("À", "À");
|
||
hashMap.put("Á", "Á");
|
||
hashMap.put("Â", "Â");
|
||
hashMap.put("Ã", "Ã");
|
||
hashMap.put("Ä", "Ä");
|
||
hashMap.put("Å", "Å");
|
||
hashMap.put("Æ", "Æ");
|
||
hashMap.put("Ç", "Ç");
|
||
hashMap.put("È", "È");
|
||
hashMap.put("É", "É");
|
||
hashMap.put("Ê", "Ê");
|
||
hashMap.put("Ë", "Ë");
|
||
hashMap.put("Ì", "Ì");
|
||
hashMap.put("Í", "Í");
|
||
hashMap.put("Î", "Î");
|
||
hashMap.put("Ï", "Ï");
|
||
hashMap.put("Ð", "Ð");
|
||
hashMap.put("Ñ", "Ñ");
|
||
hashMap.put("Ò", "Ò");
|
||
hashMap.put("Ó", "Ó");
|
||
hashMap.put("Ô", "Ô");
|
||
hashMap.put("Õ", "Õ");
|
||
hashMap.put("Ö", "Ö");
|
||
hashMap.put("×", "×");
|
||
hashMap.put("Ø", "Ø");
|
||
hashMap.put("Ù", "Ù");
|
||
hashMap.put("Ú", "Ú");
|
||
hashMap.put("Û", "Û");
|
||
hashMap.put("Ü", "Ü");
|
||
hashMap.put("Ý", "Ý");
|
||
hashMap.put("Þ", "Þ");
|
||
hashMap.put("ß", "ß");
|
||
hashMap.put("à", "à");
|
||
hashMap.put("á", "á");
|
||
hashMap.put("â", "â");
|
||
hashMap.put("ã", "ã");
|
||
hashMap.put("ä", "ä");
|
||
hashMap.put("å", "å");
|
||
hashMap.put("æ", "æ");
|
||
hashMap.put("ç", "ç");
|
||
hashMap.put("è", "è");
|
||
hashMap.put("é", "é");
|
||
hashMap.put("ê", "ê");
|
||
hashMap.put("ë", "ë");
|
||
hashMap.put("ì", "ì");
|
||
hashMap.put("í", "í");
|
||
hashMap.put("î", "î");
|
||
hashMap.put("ï", "ï");
|
||
hashMap.put("ð", "ð");
|
||
hashMap.put("ñ", "ñ");
|
||
hashMap.put("ò", "ò");
|
||
hashMap.put("ó", "ó");
|
||
hashMap.put("ô", "ô");
|
||
hashMap.put("õ", "õ");
|
||
hashMap.put("ö", "ö");
|
||
hashMap.put("÷", "÷");
|
||
hashMap.put("ø", "ø");
|
||
hashMap.put("ù", "ù");
|
||
hashMap.put("ú", "ú");
|
||
hashMap.put("û", "û");
|
||
hashMap.put("ü", "ü");
|
||
hashMap.put("ý", "ý");
|
||
hashMap.put("þ", "þ");
|
||
hashMap.put("ÿ", "ÿ");
|
||
Map unmodifiableMap = DesugarCollections.unmodifiableMap(hashMap);
|
||
f22511a = unmodifiableMap;
|
||
b = DesugarCollections.unmodifiableMap(a(unmodifiableMap));
|
||
HashMap hashMap2 = new HashMap();
|
||
hashMap2.put("ƒ", "ƒ");
|
||
hashMap2.put("Α", "Α");
|
||
hashMap2.put("Β", "Β");
|
||
hashMap2.put("Γ", "Γ");
|
||
hashMap2.put("Δ", "Δ");
|
||
hashMap2.put("Ε", "Ε");
|
||
hashMap2.put("Ζ", "Ζ");
|
||
hashMap2.put("Η", "Η");
|
||
hashMap2.put("Θ", "Θ");
|
||
hashMap2.put("Ι", "Ι");
|
||
hashMap2.put("Κ", "Κ");
|
||
hashMap2.put("Λ", "Λ");
|
||
hashMap2.put("Μ", "Μ");
|
||
hashMap2.put("Ν", "Ν");
|
||
hashMap2.put("Ξ", "Ξ");
|
||
hashMap2.put("Ο", "Ο");
|
||
hashMap2.put("Π", "Π");
|
||
hashMap2.put("Ρ", "Ρ");
|
||
hashMap2.put("Σ", "Σ");
|
||
hashMap2.put("Τ", "Τ");
|
||
hashMap2.put("Υ", "Υ");
|
||
hashMap2.put("Φ", "Φ");
|
||
hashMap2.put("Χ", "Χ");
|
||
hashMap2.put("Ψ", "Ψ");
|
||
hashMap2.put("Ω", "Ω");
|
||
hashMap2.put("α", "α");
|
||
hashMap2.put("β", "β");
|
||
hashMap2.put("γ", "γ");
|
||
hashMap2.put("δ", "δ");
|
||
hashMap2.put("ε", "ε");
|
||
hashMap2.put("ζ", "ζ");
|
||
hashMap2.put("η", "η");
|
||
hashMap2.put("θ", "θ");
|
||
hashMap2.put("ι", "ι");
|
||
hashMap2.put("κ", "κ");
|
||
hashMap2.put("λ", "λ");
|
||
hashMap2.put("μ", "μ");
|
||
hashMap2.put("ν", "ν");
|
||
hashMap2.put("ξ", "ξ");
|
||
hashMap2.put("ο", "ο");
|
||
hashMap2.put("π", "π");
|
||
hashMap2.put("ρ", "ρ");
|
||
hashMap2.put("ς", "ς");
|
||
hashMap2.put("σ", "σ");
|
||
hashMap2.put("τ", "τ");
|
||
hashMap2.put("υ", "υ");
|
||
hashMap2.put("φ", "φ");
|
||
hashMap2.put("χ", "χ");
|
||
hashMap2.put("ψ", "ψ");
|
||
hashMap2.put("ω", "ω");
|
||
hashMap2.put("ϑ", "ϑ");
|
||
hashMap2.put("ϒ", "ϒ");
|
||
hashMap2.put("ϖ", "ϖ");
|
||
hashMap2.put("•", "•");
|
||
hashMap2.put("…", "…");
|
||
hashMap2.put("′", "′");
|
||
hashMap2.put("″", "″");
|
||
hashMap2.put("‾", "‾");
|
||
hashMap2.put("⁄", "⁄");
|
||
hashMap2.put("℘", "℘");
|
||
hashMap2.put("ℑ", "ℑ");
|
||
hashMap2.put("ℜ", "ℜ");
|
||
hashMap2.put("™", "™");
|
||
hashMap2.put("ℵ", "ℵ");
|
||
hashMap2.put("←", "←");
|
||
hashMap2.put("↑", "↑");
|
||
hashMap2.put("→", "→");
|
||
hashMap2.put("↓", "↓");
|
||
hashMap2.put("↔", "↔");
|
||
hashMap2.put("↵", "↵");
|
||
hashMap2.put("⇐", "⇐");
|
||
hashMap2.put("⇑", "⇑");
|
||
hashMap2.put("⇒", "⇒");
|
||
hashMap2.put("⇓", "⇓");
|
||
hashMap2.put("⇔", "⇔");
|
||
hashMap2.put("∀", "∀");
|
||
hashMap2.put("∂", "∂");
|
||
hashMap2.put("∃", "∃");
|
||
hashMap2.put("∅", "∅");
|
||
hashMap2.put("∇", "∇");
|
||
hashMap2.put("∈", "∈");
|
||
hashMap2.put("∉", "∉");
|
||
hashMap2.put("∋", "∋");
|
||
hashMap2.put("∏", "∏");
|
||
hashMap2.put("∑", "∑");
|
||
hashMap2.put("−", "−");
|
||
hashMap2.put("∗", "∗");
|
||
hashMap2.put("√", "√");
|
||
hashMap2.put("∝", "∝");
|
||
hashMap2.put("∞", "∞");
|
||
hashMap2.put("∠", "∠");
|
||
hashMap2.put("∧", "∧");
|
||
hashMap2.put("∨", "∨");
|
||
hashMap2.put("∩", "∩");
|
||
hashMap2.put("∪", "∪");
|
||
hashMap2.put("∫", "∫");
|
||
hashMap2.put("∴", "∴");
|
||
hashMap2.put("∼", "∼");
|
||
hashMap2.put("≅", "≅");
|
||
hashMap2.put("≈", "≈");
|
||
hashMap2.put("≠", "≠");
|
||
hashMap2.put("≡", "≡");
|
||
hashMap2.put("≤", "≤");
|
||
hashMap2.put("≥", "≥");
|
||
hashMap2.put("⊂", "⊂");
|
||
hashMap2.put("⊃", "⊃");
|
||
hashMap2.put("⊄", "⊄");
|
||
hashMap2.put("⊆", "⊆");
|
||
hashMap2.put("⊇", "⊇");
|
||
hashMap2.put("⊕", "⊕");
|
||
hashMap2.put("⊗", "⊗");
|
||
hashMap2.put("⊥", "⊥");
|
||
hashMap2.put("⋅", "⋅");
|
||
hashMap2.put("⌈", "⌈");
|
||
hashMap2.put("⌉", "⌉");
|
||
hashMap2.put("⌊", "⌊");
|
||
hashMap2.put("⌋", "⌋");
|
||
hashMap2.put("〈", "⟨");
|
||
hashMap2.put("〉", "⟩");
|
||
hashMap2.put("◊", "◊");
|
||
hashMap2.put("♠", "♠");
|
||
hashMap2.put("♣", "♣");
|
||
hashMap2.put("♥", "♥");
|
||
hashMap2.put("♦", "♦");
|
||
hashMap2.put("Œ", "Œ");
|
||
hashMap2.put("œ", "œ");
|
||
hashMap2.put("Š", "Š");
|
||
hashMap2.put("š", "š");
|
||
hashMap2.put("Ÿ", "Ÿ");
|
||
hashMap2.put("ˆ", "ˆ");
|
||
hashMap2.put("˜", "˜");
|
||
hashMap2.put("\u2002", " ");
|
||
hashMap2.put("\u2003", " ");
|
||
hashMap2.put("\u2009", " ");
|
||
hashMap2.put("\u200c", "‌");
|
||
hashMap2.put("\u200d", "‍");
|
||
hashMap2.put("\u200e", "‎");
|
||
hashMap2.put("\u200f", "‏");
|
||
hashMap2.put("–", "–");
|
||
hashMap2.put("—", "—");
|
||
hashMap2.put("‘", "‘");
|
||
hashMap2.put("’", "’");
|
||
hashMap2.put("‚", "‚");
|
||
hashMap2.put("“", "“");
|
||
hashMap2.put("”", "”");
|
||
hashMap2.put("„", "„");
|
||
hashMap2.put("†", "†");
|
||
hashMap2.put("‡", "‡");
|
||
hashMap2.put("‰", "‰");
|
||
hashMap2.put("‹", "‹");
|
||
hashMap2.put("›", "›");
|
||
hashMap2.put("€", "€");
|
||
Map unmodifiableMap2 = DesugarCollections.unmodifiableMap(hashMap2);
|
||
f22512c = unmodifiableMap2;
|
||
d = DesugarCollections.unmodifiableMap(a(unmodifiableMap2));
|
||
HashMap hashMap3 = new HashMap();
|
||
hashMap3.put("\"", """);
|
||
hashMap3.put("&", "&");
|
||
hashMap3.put("<", "<");
|
||
hashMap3.put(">", ">");
|
||
Map unmodifiableMap3 = DesugarCollections.unmodifiableMap(hashMap3);
|
||
e = unmodifiableMap3;
|
||
f = DesugarCollections.unmodifiableMap(a(unmodifiableMap3));
|
||
HashMap hashMap4 = new HashMap();
|
||
hashMap4.put("'", "'");
|
||
Map unmodifiableMap4 = DesugarCollections.unmodifiableMap(hashMap4);
|
||
g = unmodifiableMap4;
|
||
h = DesugarCollections.unmodifiableMap(a(unmodifiableMap4));
|
||
HashMap hashMap5 = new HashMap();
|
||
hashMap5.put("\b", "\\b");
|
||
hashMap5.put("\n", "\\n");
|
||
hashMap5.put("\t", "\\t");
|
||
hashMap5.put("\f", "\\f");
|
||
hashMap5.put("\r", "\\r");
|
||
Map unmodifiableMap5 = DesugarCollections.unmodifiableMap(hashMap5);
|
||
i = unmodifiableMap5;
|
||
j = DesugarCollections.unmodifiableMap(a(unmodifiableMap5));
|
||
}
|
||
|
||
public static Map a(Map map) {
|
||
return (Map) Collection.EL.stream(map.entrySet()).collect(Collectors.toMap(new org.apache.commons.lang3.reflect.a(1), new org.apache.commons.lang3.reflect.a(2)));
|
||
}
|
||
}
|