20 lines
4.9 KiB
JavaScript
20 lines
4.9 KiB
JavaScript
// Module ID: 5723
|
||
// Function ID: 49191
|
||
// Name: regExp
|
||
// Dependencies: []
|
||
|
||
// Module 5723 (regExp)
|
||
const obj = { ð: null, ñ: null, ò: "h", ó: "H", ô: "h", õ: "H", ö: "h", ø: "I", ố: "i", ṍ: "I", ṓ: "i", ȏ: "I", ù: "i", ú: "I", û: "i", ü: "I", ý: "i", ÿ: "IJ", Ā: "ij", ā: "J", Ă: "j", ă: "K", Ą: "k", ą: "K", Ć: "k", ć: "K", Ĉ: "k", ĉ: "L", Ċ: "l", ċ: "L", Č: "l", č: "L", C̆: "l", c̆: "L", Ď: "l", ď: "l", Đ: "l", đ: "M", Ē: "m", ē: "M", Ĕ: "m", ĕ: "N", Ė: "n", ė: "N", Ę: "n", ę: "N", Ě: "n", ě: "n", Ĝ: "N", Ǵ: "n", ĝ: "O", ǵ: "o", Ğ: "O", ğ: "o", Ġ: "O", ġ: "o", Ģ: "OE", ģ: "oe", Ĥ: "P", ĥ: "p", Ħ: "R", ħ: "r", Ḫ: "R", ḫ: "r", Ĩ: "R", ĩ: "r", Ī: "R", ī: "r", Ĭ: "R", ĭ: "r", Į: "S", į: "s", İ: "S", ı: "s", IJ: "S", ij: "S", Ĵ: "s", ĵ: "s", Ķ: "S", ķ: "s", Ḱ: "T", ḱ: "t", K̆: "t", k̆: "T", Ĺ: "T", ĺ: "t", Ļ: "T", ļ: "t", Ľ: "T", ľ: "t", Ŀ: "U", ŀ: "u", Ł: "U", ł: "u", Ḿ: "U", ḿ: "u", M̆: "U", m̆: "u", Ń: "U", ń: "u", Ņ: "U", ņ: "u", Ň: "U", ň: "u", ʼn: "V", N̆: "v", n̆: "W", Ō: "w", ō: "W", Ŏ: "w", ŏ: "X", Ő: "x", ő: "Y", Œ: "y", œ: "Y", P̆: "Y", p̆: "y", Ŕ: "Z", ŕ: "z", Ŗ: "Z", ŗ: "z", Ř: "Z", ř: "z", R̆: "s", r̆: "f", Ȓ: "O", ȓ: "o", Ś: "U", ś: "u", Ŝ: "A", ŝ: "a", Ş: "I", Ș: "i", ș: "O", ş: "o", Š: "U", š: "u", Ţ: "U", ţ: "u", ț: "U", Ț: "u", Ť: "U", ť: "u", Ŧ: "U", ŧ: "u", T̆: "U", t̆: "u", Ũ: "U", ũ: "u", Ū: "A", ū: "a", Ŭ: "AE", ŭ: "ae", Ů: "O", ů: "o", Ű: "TH", ű: "th", Ų: "P", ų: "p", Ȗ: "S", ȗ: "s", V̆: "X", v̆: "x", Ŵ: "\u0413", ŵ: "\u0433", Ẃ: "\u041A", ẃ: "\u043A", X̆: "A", x̆: "a", Ŷ: "E", ŷ: "e", Ÿ: "I", Y̆: "i", y̆: "N", Ź: "n", ź: "O", Ż: "o", ż: "O", Ž: "o", ž: "U", ſ: "u", ƒ: "W", Ơ: "w", ơ: "Y", Ư: "y", ư: "A", Ǎ: "a", ǎ: "E", Ǐ: "e", ǐ: "I", Ǒ: "i", ǒ: "O", Ǔ: "o", ǔ: "R", Ǖ: "r", ǖ: "U", Ǘ: "u", ǘ: "B", Ǚ: "b", ǚ: "C", Ǜ: "c", ǜ: "E", Ứ: "e", ứ: "F", Ṹ: "f", ṹ: "G", Ǻ: "g", ǻ: "H", Ǽ: "h", ǽ: "J", Ǿ: "j", ǿ: "K", Þ: "k", þ: "M", Ṕ: "m", ṕ: "P", Ṥ: "p", ṥ: "Q", X́: "q", x́: "R", Ѓ: "r", ѓ: "S", Ќ: "s", ќ: "V", A̋: "v", a̋: "W", E̋: "w", e̋: "X", I̋: "x", i̋: "Y", Ǹ: "y", ǹ: "A", Ồ: "a", ồ: "B", Ṑ: "b", ṑ: "D", Ừ: "d", ừ: "E", Ẁ: "e", ẁ: "E", Ỳ: "e", ỳ: "H", Ȁ: "h", ȁ: "I", Ȅ: "i", ȅ: "I", Ȉ: "i", ȉ: "M", Ȍ: "m", ȍ: "O", Ȑ: "o", ȑ: "Q", Ȕ: "q", ȕ: "U", B̌: "u", b̌: "X", Č̣: "x", č̣: "Z", Ê̌: "z", ê̌: 6, F̌: false, f̌: "#ffa813", Ǧ: true, ǧ: "last_message_time", Ȟ: "desc", ȟ: 24, J̌: false, ǰ: "#6d5cf2", Ǩ: "BILLING_USER_OFFER_ACKNOWLEDGED_SUCCESS", ǩ: null, M̌: null, m̌: null, P̌: 36, p̌: false, Q̌: "#32c102", q̌: "timestamp", Ř̩: "desc", ř̩: 60, Ṧ: true, ṧ: "#f29cc3", V̌: 190, v̌: 220, W̌: "contain", w̌: 72, X̌: true, x̌: "#078292", Y̌: -18, y̌: 0.54, A̧: 0.72, a̧: "RemoveAccount", B̧: null, b̧: false, Ḑ: -5, ḑ: 0.66, Ȩ: 0.6, ȩ: 22, Ɛ̧: 0.6, ɛ̧: 0.63, Ḩ: "absolute", ḩ: "100%", I̧: "100%", i̧: 2, Ɨ̧: "minutes", ɨ̧: "scalar", M̧: 5, m̧: "bot", O̧: "scalar", o̧: 8, Q̧: "center", q̧: "center", U̧: "vertical", u̧: 0.83, X̧: 0, x̧: -83.333, Z̧: 4, z̧: "nanos", enabled: "scalar", showNewTag: 5, combineMentionAutocomplete: "days", ddd: "enum", ind: 1, ty: null, nm: null, refId: "center", sr: "center", ks: "hidden", ao: null, ip: "absolute", op: 16, st: "center", bm: 32, ddd: 32, ind: null, ty: 36, nm: "center", refId: "stretch", sr: "row", ks: 16, ao: "center", w: 2, h: "username", ip: "scalar", op: 9, st: "hero_art_image_link_dark_theme", bm: "scalar", ddd: 9, ind: null, ty: "\u{1F9D1}\u200D\u{1F9D2}", nm: 15.1, parent: 173, refId: "END", sr: 0, ks: 0.414, ao: 3, w: "discriminator", h: "scalar", ip: 9, op: "button_variant", st: "enum", bm: "5.9.4", backgroundColor: 24, borderRadius: 0, flexBasis: 72, flexGrow: 900, padding: 600, paddingLeft: "DIS_Nitro_Gifcard_001_Gift_Action", borderRadius: 0, marginBottom: 50.2, minHeight: 4, flexDirection: "avatar", justifyContent: "message", alignItems: null, flexWrap: "\u{1F91F}\u{1F3FC}", flex: true, paddingHorizontal: null, alignSelf: 10, flex: "primary_guild", alignItems: "message", justifyContent: null, flexDirection: "\u{1F9B5}\u{1F3FF}", fontSize: true, maxWidth: null, all: 11, mutualFriends: "collectibles", mutualGuilds: "message", position: null, top: "\u{1F9BB}\u{1F3FD}", right: true, display: null, flexDirection: 12, gap: "safety_state", alignItems: "message", alignSelf: "4.8.0", alignItems: null, alignContent: 60, alignSelf: 1, justifyContent: 259, position: 300, zIndex: 300 };
|
||
const keys = Object.keys(obj);
|
||
const joined = keys.join("|");
|
||
const regExp = new RegExp(joined, "g");
|
||
const regExp1 = new RegExp(joined, "");
|
||
function removeAccents(str) {
|
||
return str.replace(regExp, (arg0) => closure_0[arg0]);
|
||
}
|
||
module.exports.has = function hasAccents(str) {
|
||
return str.match(regExp1);
|
||
};
|
||
module.exports.remove = removeAccents;
|
||
|
||
export default removeAccents;
|