This repository has been archived on 2025-11-11. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
old-tools-web/fonts/gen.js
蓝冰记忆 6252f791f1 初始化
原始备份弄丢了,这个是从别的地方扒拉来的,可能不太对,但反正归档了
2025-11-11 19:32:52 +08:00

3459 lines
100 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// "use strict";
var input = document.querySelector("#input");
var output = document.querySelector("#output-area");
function _typeof(obj) {
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
_typeof = function _typeof(obj) {
return typeof obj;
};
} else {
_typeof = function _typeof(obj) {
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
};
}
return _typeof(obj);
}
(function () {
// output.style.whiteSpace = "pre-wrap";
var genTimeout;
input.addEventListener("keyup", function () {
clearTimeout(genTimeout);
genTimeout = setTimeout(generate, 400);
});
// input.addEventListener("paste", generate);
var luni = new Lunicode();
luni.tools.creepify.options.maxHeight = 10;
const text_before = '<button type="button" onclick="copyText(this)" class="btn btn-light btn-block mt-3 text-left" style="white-space:pre-wrap;" data-toggle="tooltip" data-placement="top" title="戳我复制 =ω="><p class="card-text">';
const text_after = '</p></button>';
function generate() {
var text = input.value.trim();
if (text === "") {
output.innerHTML = "";
return;
}
var finalText = "";
finalText += text_before + applyCharMap(oldEnglishCharMap, text) + text_after;
finalText += text_before + applyCharMap(medievalCharMap, text) + text_after;
finalText += text_before + fullCrazy(text) + text_after;
finalText += text_before + applyCharMap(cursiveCharMap, text) + text_after;
finalText += text_before + scriptify(text) + text_after;
finalText += text_before + applyCharMap(doubleStruckCharMap, text) + text_after;
finalText += text_before + applyCharMap(wideTextCharMap, text) + text_after;
finalText += text_before + cuteText(text) + text_after;
finalText += text_before + luni.tools.tiny.encode(text) + text_after;
finalText += text_before + luni.tools.flip.encode(text) + text_after;
finalText += text_before + luni.tools.roundsquares.encode(text) + text_after;
finalText += text_before + luni.tools.squares.encode(text) + text_after;
finalText += text_before + applyCharMap(squaresCharMap, text) + text_after;
finalText += text_before + luni.tools.mirror.encode(text) + text_after;
finalText += text_before + luni.tools.creepify.encode(text) + text_after;
finalText += text_before + applyCharMap(invertedSquaresCharMap, text) + text_after;
finalText += text_before + applyCharMap(subscriptCharMap, text) + text_after;
finalText += text_before + applyCharMap(superscriptCharMap, text) + text_after;
finalText += text_before + luni.tools.bubbles.encode(text) + text_after;
finalText += text_before + applyCharMap(runesCharMap, text) + text_after;
finalText += text_before + applyCharMap(squiggleCharMap, text) + text_after;
finalText += text_before + applyCharMap(squiggle2CharMap, text) + text_after;
finalText += text_before + applyCharMap(squiggle3CharMap, text) + text_after;
finalText += text_before + applyCharMap(squiggle4CharMap, text) + text_after;
finalText += text_before + applyCharMap(squiggle5CharMap, text) + text_after;
finalText += text_before + applyCharMap(squiggle6CharMap, text) + text_after;
finalText += text_before + applyCharMap(boldCharMap, text) + text_after;
finalText += text_before + applyCharMap(boldSansCharMap, text) + text_after;
finalText += text_before + applyCharMap(italicCharMap, text) + text_after;
finalText += text_before + applyCharMap(boldItalicCharMap, text) + text_after;
finalText += text_before + applyCharMap(boldItalicSerifCharMap, text) + text_after;
finalText += text_before + applyCharMap(monospaceCharMap, text) + text_after;
finalText += text_before + applyCharMap(upperAnglesCharMap, text) + text_after;
finalText += text_before + applyCharMap(greekCharMap, text) + text_after;
finalText += text_before + applyCharMap(symbolsCharMap, text) + text_after;
finalText += text_before + applyCharMap(currencyCharMap, text) + text_after;
finalText += text_before + applyCharMap(asianStyleCharMap, text) + text_after;
finalText += text_before + applyCharMap(asianStyle2CharMap, text) + text_after;
finalText += text_before + thickBlockFramed(text) + text_after;
finalText += text_before + diametricAngleFrame(text) + text_after;
finalText += text_before + wavyJoiner(text) + text_after;
finalText += text_before + dottyJoiner(text) + text_after;
finalText += text_before + kirbyHug(text) + text_after;
// finalText += text_before + vaporwaveText(text) + text_after;
finalText += text_before + littleSparkles(text) + text_after;
finalText += text_before + weirdBox(text) + text_after;
finalText += text_before + firework(text) + text_after;
finalText += text_before + applyCharMap(bentTextCharMap, text) + text_after;
finalText += text_before + applyCharMap(neonCharMap, text) + text_after;
finalText += text_before + applyCharMap(futureAlienCharMap, text) + text_after;
finalText += text_before + strikeThrough(text) + text_after;
finalText += text_before + tildeStrikeThrough(text) + text_after;
finalText += text_before + slashThrough(text) + text_after;
finalText += text_before + underline(text) + text_after;
finalText += text_before + doubleUnderline(text) + text_after;
finalText += text_before + stinky(text) + text_after;
finalText += text_before + heartsBetween(text) + text_after;
finalText += text_before + arrowBelow(text) + text_after;
finalText += text_before + crossAboveBelow(text) + text_after;
finalText += text_before + "Wingdings: " + wingdings(text) + text_after;
finalText += text_before + cuteText(text) + text_after;
finalText += text_before + cuteText(text) + text_after;
finalText += text_before + cuteText(text) + text_after;
finalText += text_before + cuteText(text) + text_after;
finalText += text_before + cuteText(text) + text_after;
finalText += text_before + fullCrazy(text) + text_after;
finalText += text_before + fullCrazy(text) + text_after;
finalText += text_before + fullCrazy(text) + text_after;
finalText += text_before + fullCrazy(text) + text_after;
finalText += text_before + fullCrazy(text) + text_after;
finalText += "<div id=\"moreFontsCtn\"></div>";
// finalText += "<button onclick=\"moreFontsCtn.innerHTML += loadMoreFonts('".concat(text, "')\">load more fonts</button>");
finalText += "<button type=\"button\" class=\"btn btn-success btn-block mt-3\" onclick=\"moreFontsCtn.innerHTML += loadMoreFonts('".concat(text, "')\"><p class=\"card-text\">加载更多~</button>");
output.innerHTML = finalText.trim();
$('[data-toggle="tooltip"]').tooltip();
}
window.loadMoreFonts = function (text) {
var out = "";
for (var i = 0; i < 15; i++) {
var res = void 0;
if (Math.random() < 0.7) res = wrapInSymbols(crazifyText(text), 2);
else res = wrapInFlourish(crazifyText(text), 2);
out += text_before + res + text_after;
}
return out;
};
function strikeThrough(text) {
return text.split("").join("̶") + "̶";
}
function tildeStrikeThrough(text) {
return text.split("").join("̴") + "̴";
}
function underline(text) {
return text.split("").join("̲") + "̲";
}
function doubleUnderline(text) {
return text.split("").join("̳") + "̳";
}
function slashThrough(text) {
return text.split("").join("̷") + "̷";
}
function stinky(text) {
return text.split("").join("̾") + "̾";
}
function heartsBetween(text) {
return text.split("").join("♥");
}
function arrowBelow(text) {
return text.split("").join("͎") + "͎";
}
function crossAboveBelow(text) {
return text.split("").join("͓̽") + "͓̽";
}
var wingdingsCharMap = {
"0": "📁︎",
"1": "📂︎",
"2": "📄︎",
"3": "🗏︎",
"4": "🗐︎",
"5": "🗄︎",
"6": "⌛︎",
"7": "🖮︎",
"8": "🖰︎",
"9": "🖲︎",
"!": "✏︎",
"\"": "✂︎",
"#": "✁︎",
"$": "👓︎",
"%": "🕭︎",
"&": "🕮︎",
"'": "🕯︎",
"(": "🕿︎",
")": "✆︎",
"*": "🖂︎",
"+": "🖃︎",
",": "📪︎",
"-": "📫︎",
".": "📬︎",
"/": "📭︎",
":": "🖳︎",
";": "🖴︎",
"<": "🖫︎",
"=": "🖬︎",
">": "✇︎",
"?": "✍︎",
"A": "✌︎",
"B": "👌︎",
"C": "👍︎",
"D": "👎︎",
"E": "☜︎",
"F": "☞︎",
"G": "☝︎",
"H": "☟︎",
"I": "✋︎",
"J": "☺︎",
"K": "😐︎",
"L": "☹︎",
"M": "💣︎",
"N": "☠︎",
"O": "⚐︎",
"P": "🏱︎",
"Q": "✈︎",
"R": "☼︎",
"S": "💧︎",
"T": "❄︎",
"U": "🕆︎",
"V": "✞︎",
"W": "🕈︎",
"X": "✠︎",
"Y": "✡︎",
"Z": "☪︎",
"[": "☯︎",
"\\": "ॐ︎",
"]": "☸︎",
"^": "♈︎",
"_": "♉︎",
"`": "♊︎",
"a": "♋︎",
"b": "♌︎",
"c": "♍︎",
"d": "♎︎",
"e": "♏︎",
"f": "♐︎",
"g": "♑︎",
"h": "♒︎",
"i": "♓︎",
"j": "🙰",
"k": "🙵",
"l": "●︎",
"m": "❍︎",
"n": "■︎",
"o": "□︎",
"p": "◻︎",
"q": "❑︎",
"r": "❒︎",
"s": "⬧︎",
"t": "⧫︎",
"u": "◆︎",
"v": "❖︎",
"w": "⬥︎",
"x": "⌧︎",
"y": "⍓︎",
"z": "⌘︎",
"{": "❀︎",
"|": "✿︎",
"}": "❝︎",
"~": "❞︎",
"": "▯︎",
"€": "⓪︎",
"": "①︎",
"": "②︎",
"ƒ": "③︎",
"„": "④︎",
"…": "⑤︎",
"†": "⑥︎",
"‡": "⑦︎",
"ˆ": "⑧︎",
"‰": "⑨︎",
"Š": "⑩︎",
"": "⓿︎",
"Œ": "❶︎",
"": "❷︎",
"Ž": "❸︎",
"": "❹︎",
"": "❺︎",
"": "❻︎",
"": "❼︎",
"“": "❽︎",
"”": "❾︎",
"•": "❿︎",
"": "◻︎",
"—": "◻︎",
"˜": "◻︎",
"™": "◻︎",
"š": "◻︎",
"": "◻︎",
"œ": "◻︎",
"": "◻︎",
"ž": "·︎",
"Ÿ": "•︎",
"¡": "○︎",
"¢": "⭕︎",
"£": "◻︎",
"¤": "◉︎",
"¥": "◎︎",
"¦": "◻︎",
"§": "▪︎",
"¨": "◻︎",
"©": "◻︎",
"ª": "✦︎",
"«": "★︎",
"¬": "✶︎",
"®": "✹︎",
"¯": "✵︎",
"°": "◻︎",
"±": "⌖︎",
"²": "⟡︎",
"³": "⌑︎",
"´": "◻︎",
"µ": "✪︎",
"¶": "✰︎",
"·": "🕐︎",
"¸": "🕑︎",
"¹": "🕒︎",
"º": "🕓︎",
"»": "🕔︎",
"¼": "🕕︎",
"½": "🕖︎",
"¾": "🕗︎",
"¿": "🕘︎",
"À": "🕙︎",
"Á": "🕚︎",
"Â": "🕛︎",
"Ã": "◻︎",
"Ä": "◻︎",
"Å": "◻︎",
"Æ": "◻︎",
"Ç": "◻︎",
"È": "◻︎",
"É": "◻︎",
"Ê": "◻︎",
"Ë": "◻︎",
"Ì": "◻︎",
"Í": "◻︎",
"Î": "◻︎",
"Ï": "◻︎",
"Ð": "◻︎",
"Ñ": "◻︎",
"Ò": "◻︎",
"Ó": "◻︎",
"Ô": "◻︎",
"Õ": "⌫︎",
"Ö": "⌦︎",
"×": "◻︎",
"Ø": "➢︎",
"Ù": "◻︎",
"Ú": "◻︎",
"Û": "◻︎",
"Ü": "➲︎",
"Ý": "◻︎",
"Þ": "◻︎",
"ß": "◻︎",
"à": "◻︎",
"á": "◻︎",
"â": "◻︎",
"ã": "◻︎",
"ä": "◻︎",
"å": "◻︎",
"æ": "◻︎",
"ç": "◻︎",
"è": "➔︎",
"é": "◻︎",
"ê": "◻︎",
"ë": "◻︎",
"ì": "◻︎",
"í": "◻︎",
"î": "◻︎",
"ï": "⇦︎",
"ð": "⇨︎",
"ñ": "⇧︎",
"ò": "⇩︎",
"ó": "⬄︎",
"ô": "⇳︎",
"õ": "⬀︎",
"ö": "⬁︎",
"÷": "⬃︎",
"ø": "⬂︎",
"ù": "▭︎",
"ú": "▫︎",
"û": "✗︎",
"ü": "✓︎",
"ý": "☒︎",
"þ": "☑︎",
"ÿ": "◻︎"
};
function wingdings(text) {
return text.split("").map(function (a) {
return wingdingsCharMap[a] ? wingdingsCharMap[a] : a;
}).join("");
}
// var vaporwaveCharMap = {
// " ": " ",
// "`": "`",
// "1": "",
// "2": "",
// "3": "",
// "4": "",
// "5": "",
// "6": "",
// "7": "",
// "8": "",
// "9": "",
// "0": "",
// "-": "",
// "=": "",
// "~": "~",
// "!": "",
// "@": "",
// "#": "",
// "$": "",
// "%": "",
// "^": "^",
// "&": "",
// "*": "",
// "(": "",
// ")": "",
// "_": "_",
// "+": "",
// "q": "",
// "w": "",
// "e": "",
// "r": "",
// "t": "",
// "y": "",
// "u": "",
// "i": "",
// "o": "",
// "p": "",
// "[": "[",
// "]": "]",
// "\\": "\\",
// "Q": "",
// "W": "",
// "E": "",
// "R": "",
// "T": "",
// "Y": "",
// "U": "",
// "I": "",
// "O": "",
// "P": "",
// "{": "{",
// "}": "}",
// "|": "|",
// "a": "",
// "s": "",
// "d": "",
// "f": "",
// "g": "",
// "h": "",
// "j": "",
// "k": "",
// "l": "",
// ";": "",
// "'": "",
// "A": "",
// "S": "",
// "D": "",
// "F": "",
// "G": "",
// "H": "",
// "J": "",
// "K": "",
// "L": "",
// ":": "",
// "\"": "\"",
// "z": "",
// "x": "",
// "c": "",
// "v": "",
// "b": "",
// "n": "",
// "m": "",
// ",": "",
// ".": "",
// "/": "",
// "Z": "",
// "X": "",
// "C": "",
// "V": "",
// "B": "",
// "N": "",
// "M": "",
// "<": "<",
// ">": ">",
// "?": ""
// };
// function vaporwaveText(text) {
// var numSpaces = text.split(" ").length;
// text = applyCharMap(vaporwaveCharMap, text);
// var asianChars = getAsianChars(Math.max(3, numSpaces));
// if (numSpaces > 6) asianChars = asianChars.split("").map(function (c) {
// return c + ["", " "][Math.round(Math.random() * 0.6)];
// }).join("");
// var outputs = [];
// outputs.push(text + " " + asianChars);
// outputs.push(text.replace(/ /g, "░").replace(//, "æ").replace(//g, "Λ").replace(//g, function () {
// return Math.random() > 0.5 ? "Ξ" : "Σ";
// }).replace(//g, "♢") + " " + asianChars + "");
// outputs.push("【&#65279;" + text + "】");
// return outputs;
// }
// function getAsianChars(n) {
// if (!n) n = 1;
// var chars = "リサフランク現代のコンピュ竹内 まりや若者が履く流行のスニーカー真夜中のドアホットドッグマスターストライカーソニーブギ新しい日の誕生ライフ - ヒスイ蒸気波 無線゠ァアィイゥウェエォオカガキギクグケゲコゴサザシジスズセゼソゾタダチヂッツヅテデトドナニヌネノハバパヒビピフブプヘベペホボポマミムメモャヤュユョヨラリルレロヮワヰヱヲンヴヵヶヷヸヹヺ・ーヽヾヿぁあぃいぅうぇえぉおかがきぎくぐけげこごさざしじすずせぜそぞただちぢっつづてでとどなにぬねのはばぱひびぴふぶぷへべぺほぼぽまみむめもゃやゅゆょよらりるれろゎわゐゑをんゔゕゖ゙゚゛゜ゝゞゟ亜哀挨愛曖悪握圧扱宛嵐安案暗以衣位囲医依委威為畏胃尉異移萎偉椅彙意違維慰遺緯域育壱逸茨芋引印因咽姻員院淫陰飲隠韻右宇羽雨唄鬱畝浦運雲永泳英映栄営詠影鋭衛易疫益液駅悦越謁閲円延沿炎怨宴媛援園煙猿遠鉛塩演縁艶汚王凹央応往押旺欧殴桜翁奥横岡屋億憶臆虞乙俺卸音恩温穏下化火加可仮何花佳価果河苛科";
// var str = "";
// for (var i = 0; i < n; i++) {
// str += chars[Math.floor(Math.random() * chars.length)];
// }
// return str;
// }
var flourishArray = ["★·.·´¯`·.·★ [[text]] ★·.·´¯`·.·★", "▁ ▂ ▄ ▅ ▆ ▇ █ [[text]] █ ▇ ▆ ▅ ▄ ▂ ▁", "°°°·.°·..·°¯°·._.· [[text]] ·._.·°¯°·.·° .·°°°", "¸,ø¤º°`°º¤ø,¸¸,ø¤º° [[text]] °º¤ø,¸¸,ø¤º°`°º¤ø,¸", "ıllıllı [[text]] ıllıllı", "•?((¯°·._.• [[text]] •._.·°¯))؟•", "▌│█║▌║▌║ [[text]] ║▌║▌║█│▌", "׺°”˜`”°º× [[text]] ׺°”˜`”°º×", "•]••´º´•» [[text]] «•´º´••[•", "*•.¸♡ [[text]] ♡¸.•*", "╰☆☆ [[text]] ☆☆╮", ".•°¤*(¯`★´¯)*¤° [[text]] °¤*(¯´★`¯)*¤°•.", "(¯´•._.• [[text]] •._.•´¯)", "¸„.-•~¹°”ˆ˜¨ [[text]] ¨˜ˆ”°¹~•-.„¸", "░▒▓█ [[text]] █▓▒░", "░▒▓█►─═ [[text]] ═─◄█▓▒░", "★彡 [[text]] 彡★", "•´¯`•. [[text]] .•´¯`•", "§.•´¨'°÷•..× [[text]] ×,.•´¨'°÷•..§", "•°¯`•• [[text]] ••´¯°•", "(¯`*•.¸,¤°´✿.。.:* [[text]] *.:。.✿`°¤,¸.•*´¯)", "|!¤*'~``~'*¤!| [[text]] |!¤*'~``~'*¤!|", "•._.••´¯``•.¸¸.•` [[text]] `•.¸¸.•´´¯`••._.•", "¸„.-•~¹°”ˆ˜¨ [[text]] ¨˜ˆ”°¹~•-.„¸", "(¯´•._.• [[text]] •._.•´¯)", "••¤(`×[¤ [[text]] ¤]×´)¤••", "•´¯`•» [[text]] «•´¯`•", " .o0×X×0o. [[text]] .o0×X×0o.", "¤¸¸.•´¯`•¸¸.•..>> [[text]] <<..•.¸¸•´¯`•.¸¸¤", "—(••÷[ [[text]] ]÷••)—", "¸,ø¤º°`°º¤ø,¸ [[text]] ¸,ø¤º°`°º¤ø,¸", "`•.¸¸.•´´¯`••._.• [[text]] •._.••`¯´´•.¸¸.•`", ",-*' ^ '~*-.,_,.-*~ [[text]] ~*-.,_,.-*~' ^ '*-,", "`•.,¸¸,.•´¯ [[text]] ¯`•.,¸¸,.•´", "↤↤↤↤↤ [[text]] ↦↦↦↦↦", "➶➶➶➶➶ [[text]] ➷➷➷➷➷", "↫↫↫↫↫ [[text]] ↬↬↬↬↬", "·.¸¸.·♩♪♫ [[text]] ♫♪♩·.¸¸.·", "【。_。】 [[text]] 【。_。】", "]|I{•------» [[text]] «------•}I|[", "▀▄▀▄▀▄ [[text]] ▄▀▄▀▄▀", "(-_-) [[text]] (-_-)", "•´¯`•. [[text]] .•´¯`•", "-漫~*'¨¯¨'*·舞~ [[text]] ~舞*'¨¯¨'*·~漫-", "๑۞๑,¸¸,ø¤º°`°๑۩ [[text]] ๑۩ ,¸¸,ø¤º°`°๑۞๑", ".•°¤*(¯`★´¯)*¤° [[text]] °¤*(¯´★`¯)*¤°•.", "••.•´¯`•.•• [[text]] ••.•´¯`•.••", "¤¸¸.•´¯`•¸¸.•..>> [[text]] <<..•.¸¸•´¯`•.¸¸¤", "◦•●◉✿ [[text]] ✿◉●•◦", "╚»★«╝ [[text]] ╚»★«╝", "-·=»‡«=·- [[text]] -·=»‡«=·-", "∙∙·▫▫ᵒᴼᵒ▫ₒₒ▫ᵒᴼᵒ▫ₒₒ▫ᵒᴼᵒ [[text]] ᵒᴼᵒ▫ₒₒ▫ᵒᴼᵒ▫ₒₒ▫ᵒᴼᵒ▫▫·∙∙", "¸¸♬·¯·♩¸¸♪·¯·♫¸¸ [[text]] ¸¸♫·¯·♪¸¸♩·¯·♬¸¸", "ஜ۩۞۩ஜ [[text]] ஜ۩۞۩ஜ", "¤ (¯´☆✭.¸_)¤ [[text]] ¤(_¸.✭☆´¯) ¤", "(¯`·.¸¸.·´¯`·.¸¸.-> [[text]] <-.¸¸.·´¯`·.¸¸.·´¯)", "✿.。.:* ☆:**:. [[text]] .:**:.☆*.:。.✿", ".•♫•♬• [[text]] •♬•♫•.", "ღ(¯`◕‿◕´¯) ♫ ♪ ♫ [[text]] ♫ ♪ ♫ (¯`◕‿◕´¯)ღ", "«-(¯`v´¯)-« [[text]] »-(¯`v´¯)-»"];
function wrapInFlourish(text) {
return flourishArray[Math.floor(Math.random() * flourishArray.length)].replace("[[text]]", text);
}
function wrapInSymbols(text, number) {
return randomSymbols(number) + " " + text + " " + randomSymbols(number);
}
function firework(text) {
return text.split("").join("҉") + "҉";
}
function weirdBox(text) {
return text.replace(/([^\s])/g, "[̲̅$1]");
}
function littleSparkles(text) {
return "˜”*°•.˜”*°• " + text + " •°*”˜.•°*”˜";
}
function kirbyHug(text) {
return "(っ◔◡◔)っ ♥ " + text + " ♥";
}
function dottyJoiner(text) {
return "░" + text.split("").join("░") + "░";
}
function wavyJoiner(text) {
return "≋" + text.split("").join("≋") + "≋";
}
function diametricAngleFrame(text) {
return text.replace(/([^\s])/g, "『$1』");
}
function thickBlockFramed(text) {
return text.replace(/([^\s])/g, "【$1】");
}
function applyCharMap(map, text) {
var out = "";
var _iteratorNormalCompletion2 = true;
var _didIteratorError2 = false;
var _iteratorError2 = undefined;
try {
for (var _iterator2 = text.split("")[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {
var c = _step2.value;
if (map[c] !== undefined) out += map[c];
else if (map[c.toLowerCase()] !== undefined) out += map[c.toLowerCase()];
else out += c;
}
} catch (err) {
_didIteratorError2 = true;
_iteratorError2 = err;
} finally {
try {
if (!_iteratorNormalCompletion2 && _iterator2.return != null) {
_iterator2.return();
}
} finally {
if (_didIteratorError2) {
throw _iteratorError2;
}
}
}
return out;
}
/* eslint-disable */
var runesCharMap = {
"0": "0",
"1": "1",
"2": "2",
"3": "3",
"4": "4",
"5": "5",
"6": "6",
"7": "7",
"8": "8",
"9": "9",
"a": "ᚨ",
"b": "ᛒ",
"c": "",
"d": "ᛞ",
"e": "",
"f": "ᚠ",
"g": "",
"h": "ᚻ",
"i": "",
"j": "ᛃ",
"k": "",
"l": "ᛚ",
"m": "ᛗ",
"n": "ᚾ",
"o": "ᛟ",
"p": "ᛈ",
"q": "ᛜ",
"r": "ᚱ",
"s": "ᛊ",
"t": "ᛏ",
"u": "ᚢ",
"v": "ᚹ",
"w": "ᚹ",
"x": "ᚦ",
"y": "ᛇ",
"z": "ᛉ",
"A": "ᚨ",
"B": "ᛒ",
"C": "",
"D": "ᛞ",
"E": "",
"F": "ᚠ",
"G": "",
"H": "ᚻ",
"I": "",
"J": "ᛃ",
"K": "",
"L": "ᛚ",
"M": "ᛗ",
"N": "ᚾ",
"O": "ᛟ",
"P": "ᛈ",
"Q": "ᛜ",
"R": "ᚱ",
"S": "ᛊ",
"T": "ᛏ",
"U": "ᚢ",
"V": "ᚹ",
"W": "ᚹ",
"X": "ᚦ",
"Y": "ᛇ",
"Z": "ᛉ"
};
var futureAlienCharMap = {
"0": "0",
"1": "1",
"2": "2",
"3": "3",
"4": "4",
"5": "5",
"6": "6",
"7": "7",
"8": "8",
"9": "9",
"a": "ᗩ",
"b": "",
"c": "ᑢ",
"d": "ᕲ",
"e": "ᘿ",
"f": "",
"g": "ᘜ",
"h": "",
"i": "ᓰ",
"j": "ᒚ",
"k": "ᖽᐸ",
"l": "",
"m": "ᘻ",
"n": "ᘉ",
"o": "ᓍ",
"p": "ᕵ",
"q": "ᕴ",
"r": "",
"s": "S",
"t": "ᖶ",
"u": "ᑘ",
"v": "ᐺ",
"w": "ᘺ",
"x": "",
"y": "ᖻ",
"z": "ᗱ",
"A": "ᗩ",
"B": "",
"C": "ᑢ",
"D": "ᕲ",
"E": "ᘿ",
"F": "",
"G": "ᘜ",
"H": "",
"I": "ᓰ",
"J": "ᒚ",
"K": "ᖽᐸ",
"L": "",
"M": "ᘻ",
"N": "ᘉ",
"O": "ᓍ",
"P": "ᕵ",
"Q": "ᕴ",
"R": "",
"S": "S",
"T": "ᖶ",
"U": "ᑘ",
"V": "ᐺ",
"W": "ᘺ",
"X": "",
"Y": "ᖻ",
"Z": "ᗱ"
};
var squiggle6CharMap = {
"0": "0",
"1": "1",
"2": "2",
"3": "3",
"4": "4",
"5": "5",
"6": "6",
"7": "7",
"8": "8",
"9": "9",
"a": "ค",
"b": "๖",
"c": "¢",
"d": "໓",
"e": "ē",
"f": "f",
"g": "ງ",
"h": "h",
"i": "i",
"j": "ว",
"k": "k",
"l": "l",
"m": "๓",
"n": "ຖ",
"o": "",
"p": "p",
"q": "๑",
"r": "r",
"s": "Ş",
"t": "t",
"u": "น",
"v": "ง",
"w": "ຟ",
"x": "x",
"y": "ฯ",
"z": "ຊ",
"A": "ค",
"B": "๖",
"C": "¢",
"D": "໓",
"E": "ē",
"F": "f",
"G": "ງ",
"H": "h",
"I": "i",
"J": "ว",
"K": "k",
"L": "l",
"M": "๓",
"N": "ຖ",
"O": "",
"P": "p",
"Q": "๑",
"R": "r",
"S": "Ş",
"T": "t",
"U": "น",
"V": "ง",
"W": "ຟ",
"X": "x",
"Y": "ฯ",
"Z": "ຊ"
};
var squiggle5CharMap = {
"0": "0",
"1": "1",
"2": "2",
"3": "3",
"4": "4",
"5": "5",
"6": "6",
"7": "7",
"8": "8",
"9": "9",
"a": "ą",
"b": "ც",
"c": "ƈ",
"d": "ɖ",
"e": "ɛ",
"f": "ʄ",
"g": "ɠ",
"h": "ɧ",
"i": "ı",
"j": "ʝ",
"k": "ƙ",
"l": "Ɩ",
"m": "ɱ",
"n": "ŋ",
"o": "ơ",
"p": "℘",
"q": "զ",
"r": "ཞ",
"s": "ʂ",
"t": "ɬ",
"u": "ų",
"v": "۷",
"w": "ῳ",
"x": "ҳ",
"y": "",
"z": "ʑ",
"A": "ą",
"B": "ც",
"C": "ƈ",
"D": "ɖ",
"E": "ɛ",
"F": "ʄ",
"G": "ɠ",
"H": "ɧ",
"I": "ı",
"J": "ʝ",
"K": "ƙ",
"L": "Ɩ",
"M": "ɱ",
"N": "ŋ",
"O": "ơ",
"P": "℘",
"Q": "զ",
"R": "ཞ",
"S": "ʂ",
"T": "ɬ",
"U": "ų",
"V": "۷",
"W": "ῳ",
"X": "ҳ",
"Y": "",
"Z": "ʑ"
};
var asianStyle2CharMap = {
"0": "0",
"1": "1",
"2": "2",
"3": "3",
"4": "4",
"5": "5",
"6": "6",
"7": "7",
"8": "8",
"9": "9",
"a": "ム",
"b": "乃",
"c": "ᄃ",
"d": "り",
"e": "乇",
"f": "キ",
"g": "ム",
"h": "ん",
"i": "ノ",
"j": "フ",
"k": "ズ",
"l": "レ",
"m": "ᄊ",
"n": "刀",
"o": "の",
"p": "ア",
"q": "ゐ",
"r": "尺",
"s": "丂",
"t": "イ",
"u": "ひ",
"v": "√",
"w": "W",
"x": "メ",
"y": "リ",
"z": "乙",
"A": "ム",
"B": "乃",
"C": "ᄃ",
"D": "り",
"E": "乇",
"F": "キ",
"G": "ム",
"H": "ん",
"I": "ノ",
"J": "フ",
"K": "ズ",
"L": "レ",
"M": "ᄊ",
"N": "刀",
"O": "の",
"P": "ア",
"Q": "ゐ",
"R": "尺",
"S": "丂",
"T": "イ",
"U": "ひ",
"V": "√",
"W": "W",
"X": "メ",
"Y": "リ",
"Z": "乙"
};
var asianStyleCharMap = {
"0": "0",
"1": "1",
"2": "2",
"3": "3",
"4": "4",
"5": "5",
"6": "6",
"7": "7",
"8": "8",
"9": "9",
"a": "卂",
"b": "乃",
"c": "匚",
"d": "",
"e": "乇",
"f": "千",
"g": "Ꮆ",
"h": "卄",
"i": "丨",
"j": "フ",
"k": "Ҝ",
"l": "ㄥ",
"m": "爪",
"n": "几",
"o": "ㄖ",
"p": "卩",
"q": "Ɋ",
"r": "尺",
"s": "丂",
"t": "ㄒ",
"u": "ㄩ",
"v": "",
"w": "山",
"x": "乂",
"y": "ㄚ",
"z": "乙",
"A": "卂",
"B": "乃",
"C": "匚",
"D": "",
"E": "乇",
"F": "千",
"G": "Ꮆ",
"H": "卄",
"I": "丨",
"J": "フ",
"K": "Ҝ",
"L": "ㄥ",
"M": "爪",
"N": "几",
"O": "ㄖ",
"P": "卩",
"Q": "Ɋ",
"R": "尺",
"S": "丂",
"T": "ㄒ",
"U": "ㄩ",
"V": "",
"W": "山",
"X": "乂",
"Y": "ㄚ",
"Z": "乙"
};
var squaresCharMap = {
"0": "0",
"1": "1",
"2": "2",
"3": "3",
"4": "4",
"5": "5",
"6": "6",
"7": "7",
"8": "8",
"9": "9",
"a": "🄰",
"b": "🄱",
"c": "🄲",
"d": "🄳",
"e": "🄴",
"f": "🄵",
"g": "🄶",
"h": "🄷",
"i": "🄸",
"j": "🄹",
"k": "🄺",
"l": "🄻",
"m": "🄼",
"n": "🄽",
"o": "🄾",
"p": "🄿",
"q": "🅀",
"r": "🅁",
"s": "🅂",
"t": "🅃",
"u": "🅄",
"v": "🅅",
"w": "🅆",
"x": "🅇",
"y": "🅈",
"z": "🅉",
"A": "🄰",
"B": "🄱",
"C": "🄲",
"D": "🄳",
"E": "🄴",
"F": "🄵",
"G": "🄶",
"H": "🄷",
"I": "🄸",
"J": "🄹",
"K": "🄺",
"L": "🄻",
"M": "🄼",
"N": "🄽",
"O": "🄾",
"P": "🄿",
"Q": "🅀",
"R": "🅁",
"S": "🅂",
"T": "🅃",
"U": "🅄",
"V": "🅅",
"W": "🅆",
"X": "🅇",
"Y": "🅈",
"Z": "🅉"
};
var squiggle4CharMap = {
"0": "0",
"1": "1",
"2": "2",
"3": "3",
"4": "4",
"5": "5",
"6": "6",
"7": "7",
"8": "8",
"9": "9",
"a": "Ꮧ",
"b": "Ᏸ",
"c": "ፈ",
"d": "Ꮄ",
"e": "Ꮛ",
"f": "Ꭶ",
"g": "Ꮆ",
"h": "",
"i": "",
"j": "Ꮰ",
"k": "",
"l": "Ꮭ",
"m": "",
"n": "Ꮑ",
"o": "Ꭷ",
"p": "",
"q": "Ꭴ",
"r": "",
"s": "",
"t": "Ꮦ",
"u": "Ꮼ",
"v": "Ꮙ",
"w": "Ꮗ",
"x": "ጀ",
"y": "",
"z": "ፚ",
"A": "Ꮧ",
"B": "Ᏸ",
"C": "ፈ",
"D": "Ꮄ",
"E": "Ꮛ",
"F": "Ꭶ",
"G": "Ꮆ",
"H": "",
"I": "",
"J": "Ꮰ",
"K": "",
"L": "Ꮭ",
"M": "",
"N": "Ꮑ",
"O": "Ꭷ",
"P": "",
"Q": "Ꭴ",
"R": "",
"S": "",
"T": "Ꮦ",
"U": "Ꮼ",
"V": "Ꮙ",
"W": "Ꮗ",
"X": "ጀ",
"Y": "",
"Z": "ፚ"
};
var neonCharMap = {
"0": "0",
"1": "1",
"2": "2",
"3": "3",
"4": "4",
"5": "5",
"6": "6",
"7": "7",
"8": "8",
"9": "9",
"a": "ᗩ",
"b": "",
"c": "ᑕ",
"d": "",
"e": "E",
"f": "",
"g": "G",
"h": "",
"i": "I",
"j": "",
"k": "K",
"l": "",
"m": "",
"n": "ᑎ",
"o": "O",
"p": "",
"q": "ᑫ",
"r": "",
"s": "ᔕ",
"t": "T",
"u": "",
"v": "",
"w": "ᗯ",
"x": "",
"y": "Y",
"z": "ᘔ",
"A": "ᗩ",
"B": "",
"C": "ᑕ",
"D": "",
"E": "E",
"F": "",
"G": "G",
"H": "",
"I": "I",
"J": "",
"K": "K",
"L": "",
"M": "",
"N": "ᑎ",
"O": "O",
"P": "",
"Q": "ᑫ",
"R": "",
"S": "ᔕ",
"T": "T",
"U": "",
"V": "",
"W": "ᗯ",
"X": "",
"Y": "Y",
"Z": "ᘔ"
};
var squiggle3CharMap = {
"0": "0",
"1": "1",
"2": "2",
"3": "3",
"4": "4",
"5": "5",
"6": "6",
"7": "7",
"8": "8",
"9": "9",
"a": "ǟ",
"b": "ɮ",
"c": "ƈ",
"d": "ɖ",
"e": "ɛ",
"f": "ʄ",
"g": "ɢ",
"h": "ɦ",
"i": "ɨ",
"j": "ʝ",
"k": "ӄ",
"l": "ʟ",
"m": "ʍ",
"n": "ռ",
"o": "օ",
"p": "ք",
"q": "զ",
"r": "ʀ",
"s": "ֆ",
"t": "ȶ",
"u": "ʊ",
"v": "ʋ",
"w": "ա",
"x": "Ӽ",
"y": "ʏ",
"z": "ʐ",
"A": "ǟ",
"B": "ɮ",
"C": "ƈ",
"D": "ɖ",
"E": "ɛ",
"F": "ʄ",
"G": "ɢ",
"H": "ɦ",
"I": "ɨ",
"J": "ʝ",
"K": "ӄ",
"L": "ʟ",
"M": "ʍ",
"N": "ռ",
"O": "օ",
"P": "ք",
"Q": "զ",
"R": "ʀ",
"S": "ֆ",
"T": "ȶ",
"U": "ʊ",
"V": "ʋ",
"W": "ա",
"X": "Ӽ",
"Y": "ʏ",
"Z": "ʐ"
};
var monospaceCharMap = {
"0": "𝟶",
"1": "𝟷",
"2": "𝟸",
"3": "𝟹",
"4": "𝟺",
"5": "𝟻",
"6": "𝟼",
"7": "𝟽",
"8": "𝟾",
"9": "𝟿",
"a": "𝚊",
"b": "𝚋",
"c": "𝚌",
"d": "𝚍",
"e": "𝚎",
"f": "𝚏",
"g": "𝚐",
"h": "𝚑",
"i": "𝚒",
"j": "𝚓",
"k": "𝚔",
"l": "𝚕",
"m": "𝚖",
"n": "𝚗",
"o": "𝚘",
"p": "𝚙",
"q": "𝚚",
"r": "𝚛",
"s": "𝚜",
"t": "𝚝",
"u": "𝚞",
"v": "𝚟",
"w": "𝚠",
"x": "𝚡",
"y": "𝚢",
"z": "𝚣",
"A": "𝙰",
"B": "𝙱",
"C": "𝙲",
"D": "𝙳",
"E": "𝙴",
"F": "𝙵",
"G": "𝙶",
"H": "𝙷",
"I": "𝙸",
"J": "𝙹",
"K": "𝙺",
"L": "𝙻",
"M": "𝙼",
"N": "𝙽",
"O": "𝙾",
"P": "𝙿",
"Q": "𝚀",
"R": "𝚁",
"S": "𝚂",
"T": "𝚃",
"U": "𝚄",
"V": "𝚅",
"W": "𝚆",
"X": "𝚇",
"Y": "𝚈",
"Z": "𝚉"
};
var boldItalicCharMap = {
"0": "0",
"1": "1",
"2": "2",
"3": "3",
"4": "4",
"5": "5",
"6": "6",
"7": "7",
"8": "8",
"9": "9",
"a": "𝙖",
"b": "𝙗",
"c": "𝙘",
"d": "𝙙",
"e": "𝙚",
"f": "𝙛",
"g": "𝙜",
"h": "𝙝",
"i": "𝙞",
"j": "𝙟",
"k": "𝙠",
"l": "𝙡",
"m": "𝙢",
"n": "𝙣",
"o": "𝙤",
"p": "𝙥",
"q": "𝙦",
"r": "𝙧",
"s": "𝙨",
"t": "𝙩",
"u": "𝙪",
"v": "𝙫",
"w": "𝙬",
"x": "𝙭",
"y": "𝙮",
"z": "𝙯",
"A": "𝘼",
"B": "𝘽",
"C": "𝘾",
"D": "𝘿",
"E": "𝙀",
"F": "𝙁",
"G": "𝙂",
"H": "𝙃",
"I": "𝙄",
"J": "𝙅",
"K": "𝙆",
"L": "𝙇",
"M": "𝙈",
"N": "𝙉",
"O": "𝙊",
"P": "𝙋",
"Q": "𝙌",
"R": "𝙍",
"S": "𝙎",
"T": "𝙏",
"U": "𝙐",
"V": "𝙑",
"W": "𝙒",
"X": "𝙓",
"Y": "𝙔",
"Z": "𝙕"
};
var boldItalicSerifCharMap = {
"0": "0",
"1": "1",
"2": "2",
"3": "3",
"4": "4",
"5": "5",
"6": "6",
"7": "7",
"8": "8",
"9": "9",
"a": "𝒂",
"b": "𝒃",
"c": "𝒄",
"d": "𝒅",
"e": "𝒆",
"f": "𝒇",
"g": "𝒈",
"h": "𝒉",
"i": "𝒊",
"j": "𝒋",
"k": "𝒌",
"l": "𝒍",
"m": "𝒎",
"n": "𝒏",
"o": "𝒐",
"p": "𝒑",
"q": "𝒒",
"r": "𝒓",
"s": "𝒔",
"t": "𝒕",
"u": "𝒖",
"v": "𝒗",
"w": "𝒘",
"x": "𝒙",
"y": "𝒚",
"z": "𝒛",
"A": "𝑨",
"B": "𝑩",
"C": "𝑪",
"D": "𝑫",
"E": "𝑬",
"F": "𝑭",
"G": "𝑮",
"H": "𝑯",
"I": "𝑰",
"J": "𝑱",
"K": "𝑲",
"L": "𝑳",
"M": "𝑴",
"N": "𝑵",
"O": "𝑶",
"P": "𝑷",
"Q": "𝑸",
"R": "𝑹",
"S": "𝑺",
"T": "𝑻",
"U": "𝑼",
"V": "𝑽",
"W": "𝑾",
"X": "𝑿",
"Y": "𝒀",
"Z": "𝒁"
};
var boldCharMap = {
"0": "𝟎",
"1": "𝟏",
"2": "𝟐",
"3": "𝟑",
"4": "𝟒",
"5": "𝟓",
"6": "𝟔",
"7": "𝟕",
"8": "𝟖",
"9": "𝟗",
"a": "𝐚",
"b": "𝐛",
"c": "𝐜",
"d": "𝐝",
"e": "𝐞",
"f": "𝐟",
"g": "𝐠",
"h": "𝐡",
"i": "𝐢",
"j": "𝐣",
"k": "𝐤",
"l": "𝐥",
"m": "𝐦",
"n": "𝐧",
"o": "𝐨",
"p": "𝐩",
"q": "𝐪",
"r": "𝐫",
"s": "𝐬",
"t": "𝐭",
"u": "𝐮",
"v": "𝐯",
"w": "𝐰",
"x": "𝐱",
"y": "𝐲",
"z": "𝐳",
"A": "𝐀",
"B": "𝐁",
"C": "𝐂",
"D": "𝐃",
"E": "𝐄",
"F": "𝐅",
"G": "𝐆",
"H": "𝐇",
"I": "𝐈",
"J": "𝐉",
"K": "𝐊",
"L": "𝐋",
"M": "𝐌",
"N": "𝐍",
"O": "𝐎",
"P": "𝐏",
"Q": "𝐐",
"R": "𝐑",
"S": "𝐒",
"T": "𝐓",
"U": "𝐔",
"V": "𝐕",
"W": "𝐖",
"X": "𝐗",
"Y": "𝐘",
"Z": "𝐙"
};
var boldSansCharMap = {
"0": "𝟬",
"1": "𝟭",
"2": "𝟮",
"3": "𝟯",
"4": "𝟰",
"5": "𝟱",
"6": "𝟲",
"7": "𝟳",
"8": "𝟴",
"9": "𝟵",
"a": "𝗮",
"b": "𝗯",
"c": "𝗰",
"d": "𝗱",
"e": "𝗲",
"f": "𝗳",
"g": "𝗴",
"h": "𝗵",
"i": "𝗶",
"j": "𝗷",
"k": "𝗸",
"l": "𝗹",
"m": "𝗺",
"n": "𝗻",
"o": "𝗼",
"p": "𝗽",
"q": "𝗾",
"r": "𝗿",
"s": "𝘀",
"t": "𝘁",
"u": "𝘂",
"v": "𝘃",
"w": "𝘄",
"x": "𝘅",
"y": "𝘆",
"z": "𝘇",
"A": "𝗔",
"B": "𝗕",
"C": "𝗖",
"D": "𝗗",
"E": "𝗘",
"F": "𝗙",
"G": "𝗚",
"H": "𝗛",
"I": "𝗜",
"J": "𝗝",
"K": "𝗞",
"L": "𝗟",
"M": "𝗠",
"N": "𝗡",
"O": "𝗢",
"P": "𝗣",
"Q": "𝗤",
"R": "𝗥",
"S": "𝗦",
"T": "𝗧",
"U": "𝗨",
"V": "𝗩",
"W": "𝗪",
"X": "𝗫",
"Y": "𝗬",
"Z": "𝗭"
};
var italicCharMap = {
"0": "0",
"1": "1",
"2": "2",
"3": "3",
"4": "4",
"5": "5",
"6": "6",
"7": "7",
"8": "8",
"9": "9",
"a": "𝘢",
"b": "𝘣",
"c": "𝘤",
"d": "𝘥",
"e": "𝘦",
"f": "𝘧",
"g": "𝘨",
"h": "𝘩",
"i": "𝘪",
"j": "𝘫",
"k": "𝘬",
"l": "𝘭",
"m": "𝘮",
"n": "𝘯",
"o": "𝘰",
"p": "𝘱",
"q": "𝘲",
"r": "𝘳",
"s": "𝘴",
"t": "𝘵",
"u": "𝘶",
"v": "𝘷",
"w": "𝘸",
"x": "𝘹",
"y": "𝘺",
"z": "𝘻",
"A": "𝘈",
"B": "𝘉",
"C": "𝘊",
"D": "𝘋",
"E": "𝘌",
"F": "𝘍",
"G": "𝘎",
"H": "𝘏",
"I": "𝘐",
"J": "𝘑",
"K": "𝘒",
"L": "𝘓",
"M": "𝘔",
"N": "𝘕",
"O": "𝘖",
"P": "𝘗",
"Q": "𝘘",
"R": "𝘙",
"S": "𝘚",
"T": "𝘛",
"U": "𝘜",
"V": "𝘝",
"W": "𝘞",
"X": "𝘟",
"Y": "𝘠",
"Z": "𝘡"
};
var squiggle2CharMap = {
"0": "0",
"1": "1",
"2": "2",
"3": "3",
"4": "4",
"5": "5",
"6": "6",
"7": "7",
"8": "8",
"9": "9",
"a": "α",
"b": "Ⴆ",
"c": "ƈ",
"d": "ԃ",
"e": "ҽ",
"f": "ϝ",
"g": "ɠ",
"h": "ԋ",
"i": "ι",
"j": "ʝ",
"k": "ƙ",
"l": "ʅ",
"m": "ɱ",
"n": "ɳ",
"o": "σ",
"p": "ρ",
"q": "ϙ",
"r": "ɾ",
"s": "ʂ",
"t": "ƚ",
"u": "υ",
"v": "ʋ",
"w": "ɯ",
"x": "x",
"y": "",
"z": "ȥ",
"A": "A",
"B": "B",
"C": "C",
"D": "D",
"E": "E",
"F": "F",
"G": "G",
"H": "H",
"I": "I",
"J": "J",
"K": "K",
"L": "L",
"M": "M",
"N": "N",
"O": "O",
"P": "P",
"Q": "Q",
"R": "R",
"S": "S",
"T": "T",
"U": "U",
"V": "V",
"W": "W",
"X": "X",
"Y": "Y",
"Z": "Z"
};
var currencyCharMap = {
"0": "0",
"1": "1",
"2": "2",
"3": "3",
"4": "4",
"5": "5",
"6": "6",
"7": "7",
"8": "8",
"9": "9",
"a": "₳",
"b": "฿",
"c": "₵",
"d": "Đ",
"e": "Ɇ",
"f": "₣",
"g": "₲",
"h": "Ⱨ",
"i": "ł",
"j": "J",
"k": "₭",
"l": "Ⱡ",
"m": "₥",
"n": "₦",
"o": "Ø",
"p": "₱",
"q": "Q",
"r": "Ɽ",
"s": "₴",
"t": "₮",
"u": "Ʉ",
"v": "V",
"w": "₩",
"x": "Ӿ",
"y": "Ɏ",
"z": "Ⱬ",
"A": "₳",
"B": "฿",
"C": "₵",
"D": "Đ",
"E": "Ɇ",
"F": "₣",
"G": "₲",
"H": "Ⱨ",
"I": "ł",
"J": "J",
"K": "₭",
"L": "Ⱡ",
"M": "₥",
"N": "₦",
"O": "Ø",
"P": "₱",
"Q": "Q",
"R": "Ɽ",
"S": "₴",
"T": "₮",
"U": "Ʉ",
"V": "V",
"W": "₩",
"X": "Ӿ",
"Y": "Ɏ",
"Z": "Ⱬ"
};
var symbolsCharMap = {
"0": "0",
"1": "1",
"2": "2",
"3": "3",
"4": "4",
"5": "5",
"6": "6",
"7": "7",
"8": "8",
"9": "9",
"a": "å",
"b": "ß",
"c": "¢",
"d": "Ð",
"e": "ê",
"f": "£",
"g": "g",
"h": "h",
"i": "ï",
"j": "j",
"k": "k",
"l": "l",
"m": "m",
"n": "ñ",
"o": "ð",
"p": "þ",
"q": "q",
"r": "r",
"s": "§",
"t": "†",
"u": "µ",
"v": "v",
"w": "w",
"x": "x",
"y": "¥",
"z": "z",
"A": "Ä",
"B": "ß",
"C": "Ç",
"D": "Ð",
"E": "È",
"F": "£",
"G": "G",
"H": "H",
"I": "Ì",
"J": "J",
"K": "K",
"L": "L",
"M": "M",
"N": "ñ",
"O": "Ö",
"P": "þ",
"Q": "Q",
"R": "R",
"S": "§",
"T": "†",
"U": "Ú",
"V": "V",
"W": "W",
"X": "×",
"Y": "¥",
"Z": "Z"
};
var greekCharMap = {
"0": "0",
"1": "1",
"2": "2",
"3": "3",
"4": "4",
"5": "5",
"6": "6",
"7": "7",
"8": "8",
"9": "9",
"a": "α",
"b": "в",
"c": "¢",
"d": "∂",
"e": "є",
"f": "ƒ",
"g": "g",
"h": "н",
"i": "ι",
"j": "נ",
"k": "к",
"l": "",
"m": "м",
"n": "η",
"o": "σ",
"p": "ρ",
"q": "q",
"r": "я",
"s": "ѕ",
"t": "т",
"u": "υ",
"v": "ν",
"w": "ω",
"x": "χ",
"y": "у",
"z": "z",
"A": "α",
"B": "в",
"C": "¢",
"D": "∂",
"E": "є",
"F": "ƒ",
"G": "g",
"H": "н",
"I": "ι",
"J": "נ",
"K": "к",
"L": "",
"M": "м",
"N": "η",
"O": "σ",
"P": "ρ",
"Q": "q",
"R": "я",
"S": "ѕ",
"T": "т",
"U": "υ",
"V": "ν",
"W": "ω",
"X": "χ",
"Y": "у",
"Z": "z"
};
var bentTextCharMap = {
"0": "⊘",
"1": "𝟙",
"2": "ϩ",
"3": "Ӡ",
"4": "५",
"5": "Ƽ",
"6": "Ϭ",
"7": "7",
"8": "𝟠",
"9": "९",
"a": "ą",
"b": "ҍ",
"c": "ç",
"d": "ժ",
"e": "ҽ",
"f": "ƒ",
"g": "ց",
"h": "հ",
"i": "ì",
"j": "ʝ",
"k": "ҟ",
"l": "Ӏ",
"m": "ʍ",
"n": "ղ",
"o": "օ",
"p": "ք",
"q": "զ",
"r": "ɾ",
"s": "ʂ",
"t": "է",
"u": "մ",
"v": "ѵ",
"w": "ա",
"x": "×",
"y": "վ",
"z": "Հ",
"A": "Ⱥ",
"B": "β",
"C": "↻",
"D": "",
"E": "Ɛ",
"F": "Ƒ",
"G": "Ɠ",
"H": "Ƕ",
"I": "į",
"J": "ل",
"K": "Ҡ",
"L": "Ꝉ",
"M": "Ɱ",
"N": "ហ",
"O": "ට",
"P": "φ",
"Q": "Ҩ",
"R": "འ",
"S": "Ϛ",
"T": "Ͳ",
"U": "Ա",
"V": "Ỽ",
"W": "చ",
"X": "ჯ",
"Y": "Ӌ",
"Z": "ɀ"
};
var upperAnglesCharMap = {
"0": "0",
"1": "1",
"2": "2",
"3": "3",
"4": "4",
"5": "5",
"6": "6",
"7": "7",
"8": "8",
"9": "9",
"a": "Λ",
"b": "B",
"c": "ᄃ",
"d": "D",
"e": "Σ",
"f": "F",
"g": "G",
"h": "Ή",
"i": "I",
"j": "J",
"k": "K",
"l": "ᄂ",
"m": "M",
"n": "П",
"o": "Ө",
"p": "P",
"q": "Q",
"r": "Я",
"s": "Ƨ",
"t": "Ƭ",
"u": "Ц",
"v": "V",
"w": "Щ",
"x": "X",
"y": "Y",
"z": "Z",
"A": "Λ",
"B": "B",
"C": "ᄃ",
"D": "D",
"E": "Σ",
"F": "F",
"G": "G",
"H": "Ή",
"I": "I",
"J": "J",
"K": "K",
"L": "ᄂ",
"M": "M",
"N": "П",
"O": "Ө",
"P": "P",
"Q": "Q",
"R": "Я",
"S": "Ƨ",
"T": "Ƭ",
"U": "Ц",
"V": "V",
"W": "Щ",
"X": "X",
"Y": "Y",
"Z": "Z"
};
var subscriptCharMap = {
"0": "₀",
"1": "₁",
"2": "₂",
"3": "₃",
"4": "₄",
"5": "₅",
"6": "₆",
"7": "₇",
"8": "₈",
"9": "₉",
"a": "ₐ",
"b": "b",
"c": "c",
"d": "d",
"e": "ₑ",
"f": "f",
"g": "g",
"h": "ₕ",
"i": "ᵢ",
"j": "ⱼ",
"k": "ₖ",
"l": "ₗ",
"m": "ₘ",
"n": "ₙ",
"o": "ₒ",
"p": "ₚ",
"q": "q",
"r": "ᵣ",
"s": "ₛ",
"t": "ₜ",
"u": "ᵤ",
"v": "ᵥ",
"w": "w",
"x": "ₓ",
"y": "y",
"z": "z",
"A": "ₐ",
"B": "B",
"C": "C",
"D": "D",
"E": "ₑ",
"F": "F",
"G": "G",
"H": "ₕ",
"I": "ᵢ",
"J": "ⱼ",
"K": "ₖ",
"L": "ₗ",
"M": "ₘ",
"N": "ₙ",
"O": "ₒ",
"P": "ₚ",
"Q": "Q",
"R": "ᵣ",
"S": "ₛ",
"T": "ₜ",
"U": "ᵤ",
"V": "ᵥ",
"W": "W",
"X": "ₓ",
"Y": "Y",
"Z": "Z",
"+": "₊",
"-": "₋",
"=": "₌",
"(": "₍",
")": "₎"
};
var superscriptCharMap = {
"0": "⁰",
"1": "¹",
"2": "²",
"3": "³",
"4": "⁴",
"5": "⁵",
"6": "⁶",
"7": "⁷",
"8": "⁸",
"9": "⁹",
"a": "ᵃ",
"b": "ᵇ",
"c": "ᶜ",
"d": "ᵈ",
"e": "ᵉ",
"f": "ᶠ",
"g": "ᵍ",
"h": "ʰ",
"i": "ⁱ",
"j": "ʲ",
"k": "ᵏ",
"l": "ˡ",
"m": "ᵐ",
"n": "ⁿ",
"o": "ᵒ",
"p": "ᵖ",
"q": "q",
"r": "ʳ",
"s": "ˢ",
"t": "ᵗ",
"u": "ᵘ",
"v": "ᵛ",
"w": "ʷ",
"x": "ˣ",
"y": "ʸ",
"z": "ᶻ",
"A": "ᴬ",
"B": "ᴮ",
"C": "ᶜ",
"D": "ᴰ",
"E": "ᴱ",
"F": "ᶠ",
"G": "ᴳ",
"H": "ᴴ",
"I": "ᴵ",
"J": "ᴶ",
"K": "ᴷ",
"L": "ᴸ",
"M": "ᴹ",
"N": "ᴺ",
"O": "ᴼ",
"P": "ᴾ",
"Q": "Q",
"R": "ᴿ",
"S": "ˢ",
"T": "ᵀ",
"U": "ᵁ",
"V": "ⱽ",
"W": "ᵂ",
"X": "ˣ",
"Y": "ʸ",
"Z": "ᶻ",
"+": "⁺",
"-": "⁻",
"=": "⁼",
"(": "⁽",
")": "⁾"
};
var squiggleCharMap = {
"0": "0",
"1": "1",
"2": "2",
"3": "3",
"4": "4",
"5": "5",
"6": "6",
"7": "7",
"8": "8",
"9": "9",
"a": "ค",
"b": "๒",
"c": "ς",
"d": "๔",
"e": "є",
"f": "Ŧ",
"g": "ﻮ",
"h": "ђ",
"i": "เ",
"j": "ן",
"k": "к",
"l": "ɭ",
"m": "๓",
"n": "ภ",
"o": "๏",
"p": "ק",
"q": "ợ",
"r": "г",
"s": "ร",
"t": "Շ",
"u": "ย",
"v": "ש",
"w": "ฬ",
"x": "א",
"y": "ץ",
"z": "չ",
"A": "ค",
"B": "๒",
"C": "ς",
"D": "๔",
"E": "є",
"F": "Ŧ",
"G": "ﻮ",
"H": "ђ",
"I": "เ",
"J": "ן",
"K": "к",
"L": "ɭ",
"M": "๓",
"N": "ภ",
"O": "๏",
"P": "ק",
"Q": "ợ",
"R": "г",
"S": "ร",
"T": "Շ",
"U": "ย",
"V": "ש",
"W": "ฬ",
"X": "א",
"Y": "ץ",
"Z": "չ"
};
var doubleStruckCharMap = {
"0": "𝟘",
"1": "𝟙",
"2": "𝟚",
"3": "𝟛",
"4": "𝟜",
"5": "𝟝",
"6": "𝟞",
"7": "𝟟",
"8": "𝟠",
"9": "𝟡",
"a": "𝕒",
"b": "𝕓",
"c": "𝕔",
"d": "𝕕",
"e": "𝕖",
"f": "𝕗",
"g": "𝕘",
"h": "𝕙",
"i": "𝕚",
"j": "𝕛",
"k": "𝕜",
"l": "𝕝",
"m": "𝕞",
"n": "𝕟",
"o": "𝕠",
"p": "𝕡",
"q": "𝕢",
"r": "𝕣",
"s": "𝕤",
"t": "𝕥",
"u": "𝕦",
"v": "𝕧",
"w": "𝕨",
"x": "𝕩",
"y": "𝕪",
"z": "𝕫",
"A": "𝔸",
"B": "𝔹",
"C": "",
"D": "𝔻",
"E": "𝔼",
"F": "𝔽",
"G": "𝔾",
"H": "",
"I": "𝕀",
"J": "𝕁",
"K": "𝕂",
"L": "𝕃",
"M": "𝕄",
"N": "",
"O": "𝕆",
"P": "",
"Q": "",
"R": "",
"S": "𝕊",
"T": "𝕋",
"U": "𝕌",
"V": "𝕍",
"W": "𝕎",
"X": "𝕏",
"Y": "𝕐",
"Z": ""
};
var medievalCharMap = {
"0": "0",
"1": "1",
"2": "2",
"3": "3",
"4": "4",
"5": "5",
"6": "6",
"7": "7",
"8": "8",
"9": "9",
"a": "𝖆",
"b": "𝖇",
"c": "𝖈",
"d": "𝖉",
"e": "𝖊",
"f": "𝖋",
"g": "𝖌",
"h": "𝖍",
"i": "𝖎",
"j": "𝖏",
"k": "𝖐",
"l": "𝖑",
"m": "𝖒",
"n": "𝖓",
"o": "𝖔",
"p": "𝖕",
"q": "𝖖",
"r": "𝖗",
"s": "𝖘",
"t": "𝖙",
"u": "𝖚",
"v": "𝖛",
"w": "𝖜",
"x": "𝖝",
"y": "𝖞",
"z": "𝖟",
"A": "𝕬",
"B": "𝕭",
"C": "𝕮",
"D": "𝕯",
"E": "𝕰",
"F": "𝕱",
"G": "𝕲",
"H": "𝕳",
"I": "𝕴",
"J": "𝕵",
"K": "𝕶",
"L": "𝕷",
"M": "𝕸",
"N": "𝕹",
"O": "𝕺",
"P": "𝕻",
"Q": "𝕼",
"R": "𝕽",
"S": "𝕾",
"T": "𝕿",
"U": "𝖀",
"V": "𝖁",
"W": "𝖂",
"X": "𝖃",
"Y": "𝖄",
"Z": "𝖅"
};
var invertedSquaresCharMap = {
q: "🆀",
w: "🆆",
e: "🅴",
r: "🆁",
t: "🆃",
y: "🆈",
u: "🆄",
i: "🅸",
o: "🅾",
p: "🅿",
a: "🅰",
s: "🆂",
d: "🅳",
f: "🅵",
g: "🅶",
h: "🅷",
j: "🅹",
k: "🅺",
l: "🅻",
z: "🆉",
x: "🆇",
c: "🅲",
v: "🆅",
b: "🅱",
n: "🅽",
m: "🅼"
};
var cursiveCharMap = {
"0": "0",
"1": "1",
"2": "2",
"3": "3",
"4": "4",
"5": "5",
"6": "6",
"7": "7",
"8": "8",
"9": "9",
"a": "𝓪",
"b": "𝓫",
"c": "𝓬",
"d": "𝓭",
"e": "𝓮",
"f": "𝓯",
"g": "𝓰",
"h": "𝓱",
"i": "𝓲",
"j": "𝓳",
"k": "𝓴",
"l": "𝓵",
"m": "𝓶",
"n": "𝓷",
"o": "𝓸",
"p": "𝓹",
"q": "𝓺",
"r": "𝓻",
"s": "𝓼",
"t": "𝓽",
"u": "𝓾",
"v": "𝓿",
"w": "𝔀",
"x": "𝔁",
"y": "𝔂",
"z": "𝔃",
"A": "𝓐",
"B": "𝓑",
"C": "𝓒",
"D": "𝓓",
"E": "𝓔",
"F": "𝓕",
"G": "𝓖",
"H": "𝓗",
"I": "𝓘",
"J": "𝓙",
"K": "𝓚",
"L": "𝓛",
"M": "𝓜",
"N": "𝓝",
"O": "𝓞",
"P": "𝓟",
"Q": "𝓠",
"R": "𝓡",
"S": "𝓢",
"T": "𝓣",
"U": "𝓤",
"V": "𝓥",
"W": "𝓦",
"X": "𝓧",
"Y": "𝓨",
"Z": "𝓩"
};
var oldEnglishCharMap = {
"a": "𝔞",
"b": "𝔟",
"c": "𝔠",
"d": "𝔡",
"e": "𝔢",
"f": "𝔣",
"g": "𝔤",
"h": "𝔥",
"i": "𝔦",
"j": "𝔧",
"k": "𝔨",
"l": "𝔩",
"m": "𝔪",
"n": "𝔫",
"o": "𝔬",
"p": "𝔭",
"q": "𝔮",
"r": "𝔯",
"s": "𝔰",
"t": "𝔱",
"u": "𝔲",
"v": "𝔳",
"w": "𝔴",
"x": "𝔵",
"y": "𝔶",
"z": "𝔷",
"A": "𝔄",
"B": "𝔅",
"C": "",
"D": "𝔇",
"E": "𝔈",
"F": "𝔉",
"G": "𝔊",
"H": "",
"I": "",
"J": "𝔍",
"K": "𝔎",
"L": "𝔏",
"M": "𝔐",
"N": "𝔑",
"O": "𝔒",
"P": "𝔓",
"Q": "𝔔",
"R": "",
"S": "𝔖",
"T": "𝔗",
"U": "𝔘",
"V": "𝔙",
"W": "𝔚",
"X": "𝔛",
"Y": "𝔜",
"Z": ""
};
var wideTextCharMap = {
"`": "`",
"1": "",
"2": "",
"3": "",
"4": "",
"5": "",
"6": "",
"7": "",
"8": "",
"9": "",
"0": "",
"-": "",
"=": "",
"~": "~",
"!": "",
"@": "",
"#": "",
"$": "",
"%": "",
"^": "^",
"&": "",
"*": "",
"(": "",
")": "",
"_": "_",
"+": "",
"q": "",
"w": "",
"e": "",
"r": "",
"t": "",
"y": "",
"u": "",
"i": "",
"o": "",
"p": "",
"[": "[",
"]": "]",
"\\": "\\",
"Q": "",
"W": "",
"E": "",
"R": "",
"T": "",
"Y": "",
"U": "",
"I": "",
"O": "",
"P": "",
"{": "{",
"}": "}",
"|": "|",
"a": "",
"s": "",
"d": "",
"f": "",
"g": "",
"h": "",
"j": "",
"k": "",
"l": "",
";": "",
"'": "",
"A": "",
"S": "",
"D": "",
"F": "",
"G": "",
"H": "",
"J": "",
"K": "",
"L": "",
":": "",
"\"": "\"",
"z": "",
"x": "",
"c": "",
"v": "",
"b": "",
"n": "",
"m": "",
",": "",
".": "",
"/": "",
"Z": "",
"X": "",
"C": "",
"V": "",
"B": "",
"N": "",
"M": "",
"<": "<",
">": ">",
"?": ""
};
// Lunicode.js
// from lunicode.com
// on GitHub: https://github.com/combatwombat/Lunicode.js
// Copyright © 2012 Robert Gerlach - robsite.net
function Lunicode() {
this.tools = {
flip: {
init: function init() {
for (i in this.map) {
this.map[this.map[i]] = i;
}
},
encode: function encode(i) {
for (var r, t = [], o = 0, h = i.length; h > o; o++) {
r = i.charAt(o), o > 0 && ("̤" == r || "̗" == r || "̖" == r || "̮" == r) ? (r = this.map[i.charAt(o - 1) + r], t.pop()) : (r = this.map[r], "undefined" == typeof r && (r = i.charAt(o))), t.push(r);
}
return t.reverse().join("");
},
decode: function decode(i) {
for (var r, t = [], o = 0, h = i.length; h > o; o++) {
r = i.charAt(o), o > 0 && ("̤" == r || "̗" == r || "̖" == r || "̮" == r) ? (r = this.map[i.charAt(o - 1) + r], t.pop()) : (r = this.map[r], "undefined" == typeof r && (r = i.charAt(o))), t.push(r);
}
return t.reverse().join("");
},
map: {
a: "ɐ",
b: "q",
c: "ɔ",
d: "p",
e: "ǝ",
f: "ɟ",
g: "ɓ",
h: "ɥ",
i: "ı",
j: "ɾ",
k: "ʞ",
l: "l",
m: "ɯ",
n: "u",
r: "ɹ",
t: "ʇ",
v: "ʌ",
w: "ʍ",
y: "ʎ",
A: "∀",
B: "ᙠ",
C: "Ɔ",
D: "ᗡ",
E: "Ǝ",
F: "Ⅎ",
G: "⅁",
J: "ſ",
K: "⋊",
L: "˥",
M: "W",
P: "Ԁ",
Q: "Ό",
R: "ᴚ",
T: "⊥",
U: "∩",
V: "Λ",
Y: "⅄",
1: "⇂",
2: "ᄅ",
3: "Ɛ",
4: "ㄣ",
5: "ގ",
6: "9",
7: "ㄥ",
"&": "⅋",
".": "˙",
'"': "„",
";": "؛",
"[": "]",
"(": ")",
"{": "}",
"?": "¿",
"!": "¡",
"'": ",",
"<": ">",
"‾": "_",
"¯": "_",
"‿": "⁀",
"⁅": "⁆",
"∴": "∵",
"\r": "\n",
"ß": "ᙠ",
"̈": "̤",
"ä": "ɐ̤",
"ö": "o̤",
"ü": "n̤",
"Ä": "∀̤",
"Ö": "O̤",
"Ü": "∩̤",
"´": " ̗",
"é": "ǝ̗",
"á": "ɐ̗",
"ó": "o̗",
"ú": "n̗",
"É": "Ǝ̗",
"Á": "∀̗",
"Ó": "O̗",
"Ú": "∩̗",
"`": " ̖",
"è": "ǝ̖",
"à": "ɐ̖",
"ò": "o̖",
"ù": "n̖",
"È": "Ǝ̖",
"À": "∀̖",
"Ò": "O̖",
"Ù": "∩̖",
"^": " ̮",
"ê": "ǝ̮",
"â": "ɐ̮",
"ô": "o̮",
"û": "n̮",
"Ê": "Ǝ̮",
"Â": "∀̮",
"Ô": "O̮",
"Û": "∩̮"
}
},
mirror: {
init: function init() {
for (i in this.map) {
this.map[this.map[i]] = i;
}
},
encode: function encode(i) {
for (var r, t = [], o = [], h = 0, n = i.length; n > h; h++) {
r = i.charAt(h), h > 0 && ("̈" == r || "̀" == r || "́" == r || "̂" == r) ? (r = this.map[i.charAt(h - 1) + r], t.pop()) : (r = this.map[r], "undefined" == typeof r && (r = i.charAt(h))), "\n" == r ? (o.push(t.reverse().join("")), t = []) : t.push(r);
}
return o.push(t.reverse().join("")), o.join("\n");
},
decode: function decode(i) {
for (var r, t = [], o = [], h = 0, n = i.length; n > h; h++) {
r = i.charAt(h), h > 0 && ("̈" == r || "̀" == r || "́" == r || "̂" == r) ? (r = this.map[i.charAt(h - 1) + r], t.pop()) : (r = this.map[r], "undefined" == typeof r && (r = i.charAt(h))), "\n" == r ? (o.push(t.reverse().join("")), t = []) : t.push(r);
}
return o.push(t.reverse().join("")), o.join("\n");
},
map: {
a: "ɒ",
b: "d",
c: "ɔ",
e: "ɘ",
f: "Ꮈ",
g: "ǫ",
h: "ʜ",
j: "ꞁ",
k: "ʞ",
l: "|",
n: "ᴎ",
p: "q",
r: "ɿ",
s: "ꙅ",
t: "ƚ",
y: "ʏ",
z: "ƹ",
B: "ᙠ",
C: "Ɔ",
D: "ᗡ",
E: "Ǝ",
F: "ꟻ",
G: "",
J: "Ⴑ",
K: "⋊",
L: "⅃",
N: "Ͷ",
P: "ꟼ",
Q: "Ọ",
R: "Я",
S: "",
Z: "Ƹ",
1: "",
2: "",
3: "",
4: "",
5: "",
6: "",
7: "",
"&": "",
";": "",
"[": "]",
"(": ")",
"{": "}",
"?": "⸮",
"<": ">",
"ä": "ɒ̈",
"ß": "ᙠ",
"´": "`",
"é": "ɘ̀",
"á": "ɒ̀",
"ó": "ò",
"ú": "ù",
"É": "Ǝ̀",
"Á": "À",
"Ó": "Ò",
"Ú": "Ù",
"`": "´",
"è": "ɘ́",
"à": "ɒ́",
"È": "Ǝ́",
"ê": "ɘ̂",
"â": "ɒ̂",
"Ê": "Ǝ̂",
"Ø": "ᴓ",
"ø": "ᴓ"
}
},
creepify: {
init: function init() {
for (var i = 768; 789 >= i; i++) {
this.diacriticsTop.push(String.fromCharCode(i));
}
for (var i = 790; 819 >= i; i++) {
794 != i && 795 != i && this.diacriticsBottom.push(String.fromCharCode(i));
}
this.diacriticsTop.push(String.fromCharCode(794)), this.diacriticsTop.push(String.fromCharCode(795));
for (var i = 820; 824 >= i; i++) {
this.diacriticsMiddle.push(String.fromCharCode(i));
}
for (var i = 825; 828 >= i; i++) {
this.diacriticsBottom.push(String.fromCharCode(i));
}
for (var i = 829; 836 >= i; i++) {
this.diacriticsTop.push(String.fromCharCode(i));
}
this.diacriticsTop.push(String.fromCharCode(836)), this.diacriticsBottom.push(String.fromCharCode(837)), this.diacriticsTop.push(String.fromCharCode(838)), this.diacriticsBottom.push(String.fromCharCode(839)), this.diacriticsBottom.push(String.fromCharCode(840)), this.diacriticsBottom.push(String.fromCharCode(841)), this.diacriticsTop.push(String.fromCharCode(842)), this.diacriticsTop.push(String.fromCharCode(843)), this.diacriticsTop.push(String.fromCharCode(844)), this.diacriticsBottom.push(String.fromCharCode(845)), this.diacriticsBottom.push(String.fromCharCode(846)), this.diacriticsTop.push(String.fromCharCode(848)), this.diacriticsTop.push(String.fromCharCode(849)), this.diacriticsTop.push(String.fromCharCode(850)), this.diacriticsBottom.push(String.fromCharCode(851)), this.diacriticsBottom.push(String.fromCharCode(852)), this.diacriticsBottom.push(String.fromCharCode(853)), this.diacriticsBottom.push(String.fromCharCode(854)), this.diacriticsTop.push(String.fromCharCode(855)), this.diacriticsTop.push(String.fromCharCode(856)), this.diacriticsBottom.push(String.fromCharCode(857)), this.diacriticsBottom.push(String.fromCharCode(858)), this.diacriticsTop.push(String.fromCharCode(859)), this.diacriticsBottom.push(String.fromCharCode(860)), this.diacriticsTop.push(String.fromCharCode(861)), this.diacriticsTop.push(String.fromCharCode(861)), this.diacriticsBottom.push(String.fromCharCode(863)), this.diacriticsTop.push(String.fromCharCode(864)), this.diacriticsTop.push(String.fromCharCode(865));
},
encode: function encode(r) {
var t,
o = "";
for (i in r) {
if (t = r[i], this.options.middle && (t += this.diacriticsMiddle[Math.floor(Math.random() * this.diacriticsMiddle.length)]), this.options.top)
for (var h = this.diacriticsTop.length - 1, n = 0, a = this.options.maxHeight - Math.random() * (this.options.randomization / 100 * this.options.maxHeight); a > n; n++) {
t += this.diacriticsTop[Math.floor(Math.random() * h)];
}
if (this.options.bottom)
for (var s = this.diacriticsBottom.length - 1, n = 0, a = this.options.maxHeight - Math.random() * (this.options.randomization / 100 * this.options.maxHeight); a > n; n++) {
t += this.diacriticsBottom[Math.floor(Math.random() * s)];
}
o += t;
}
return o;
},
decode: function decode(r) {
var t,
o = "";
for (i in r) {
t = r[i].charCodeAt(0), (768 > t || t > 865) && (o += r[i]);
}
return o;
},
diacriticsTop: [],
diacriticsMiddle: [],
diacriticsBottom: [],
options: {
top: !0,
middle: !0,
bottom: !0,
maxHeight: 15,
randomization: 100
}
},
bubbles: {
init: function init() {
for (var i = 49; 57 >= i; i++) {
this.map[String.fromCharCode(i)] = String.fromCharCode(i + 9263);
}
this.map[0] = "⓪";
for (var i = 65; 90 >= i; i++) {
this.map[String.fromCharCode(i)] = String.fromCharCode(i + 9333);
}
for (var i = 97; 122 >= i; i++) {
this.map[String.fromCharCode(i)] = String.fromCharCode(i + 9327);
}
for (i in this.map) {
this.mapInverse[this.map[i]] = i;
}
},
encode: function encode(r) {
var t,
o = "",
h = !0;
for (i in r) {
t = this.map[r[i]], "undefined" == typeof t && (r[i].charCodeAt(0) >= 33 ? (t = r[i] + String.fromCharCode(8413), h || (t = String.fromCharCode(8239) + String.fromCharCode(160) + String.fromCharCode(160) + String.fromCharCode(8239) + t)) : t = r[i]), o += t, h = "\n" == t;
}
return o;
},
decode: function decode(r) {
var t,
o = "",
h = "";
for (i in r) {
t = this.mapInverse[r[i]], o += "undefined" == typeof t ? r[i] : t;
}
for (i in o) {
t = o[i].charCodeAt(0), 160 != t && 8239 != t && 8413 != t && (h += o[i]);
}
return h;
},
map: {},
mapInverse: {}
},
squares: {
init: function init() {},
encode: function encode(r) {
var t,
o = "",
h = !0;
for (i in r) {
r[i].charCodeAt(0) >= 33 ? (t = r[i] + String.fromCharCode(8414), h || (t = String.fromCharCode(8239) + String.fromCharCode(160) + String.fromCharCode(160) + String.fromCharCode(8239) + t)) : t = r[i], o += t, h = "\n" == t;
}
return o;
},
decode: function decode(r) {
var t,
o = "";
for (i in r) {
t = r[i].charCodeAt(0), 160 != t && 8239 != t && 8414 != t && (o += r[i]);
}
return o;
}
},
roundsquares: {
init: function init() {},
encode: function encode(r) {
var t,
o = "",
h = !0;
for (i in r) {
r[i].charCodeAt(0) >= 33 ? (t = r[i] + String.fromCharCode(8419), h || (t = String.fromCharCode(160) + String.fromCharCode(160) + String.fromCharCode(160) + t)) : t = r[i], o += t, h = "\n" == t;
}
return o;
},
decode: function decode(r) {
var t,
o = "";
for (i in r) {
t = r[i].charCodeAt(0), 160 != t && 8239 != t && 8419 != t && (o += r[i]);
}
return o;
}
},
bent: {
init: function init() {
for (i in this.map) {
this.map[this.map[i]] = i;
}
},
encode: function encode(i) {
for (var r, t = "", o = 0, h = i.length; h > o; o++) {
r = this.map[i.charAt(o)], "undefined" == typeof r && (r = i.charAt(o)), t += r;
}
return t;
},
decode: function decode(i) {
for (var r, t = "", o = 0, h = i.length; h > o; o++) {
r = this.map[i.charAt(o)], "undefined" == typeof r && (r = i.charAt(o)), t += r;
}
return t;
},
map: {
a: "ą",
b: "ҍ",
c: "ç",
d: "ժ",
e: "ҽ",
f: "ƒ",
g: "ց",
h: "հ",
i: "ì",
j: "ʝ",
k: "ҟ",
l: "Ӏ",
m: "ʍ",
n: "ղ",
o: "օ",
p: "ք",
q: "զ",
r: "ɾ",
s: "ʂ",
t: "է",
u: "մ",
v: "ѵ",
w: "ա",
x: "×",
y: "վ",
z: "Հ",
A: "Ⱥ",
B: "β",
C: "↻",
D: "",
E: "Ɛ",
F: "Ƒ",
G: "Ɠ",
H: "Ƕ",
I: "į",
J: "ل",
K: "Ҡ",
L: "Ꝉ",
M: "Ɱ",
N: "ហ",
O: "ට",
P: "φ",
Q: "Ҩ",
R: "འ",
S: "Ϛ",
T: "Ͳ",
U: "Ա",
V: "Ỽ",
W: "చ",
X: "ჯ",
Y: "Ӌ",
Z: "ɀ",
0: "⊘",
1: "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
2: "ϩ",
3: "Ӡ",
4: "५",
5: "Ƽ",
6: "Ϭ",
7: "7",
8: "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
9: "९",
"&": "⅋",
"(": "{",
")": "}",
"{": "(",
"}": ")",
"ä": "ą̈",
"ö": "օ̈",
"ü": "մ̈",
"Ä": "Ⱥ̈",
"Ö": "ට̈",
"Ü": "Ա̈",
"é": "ҽ́",
"á": "ą́",
"ó": "օ́",
"ú": "մ́",
"É": "Ɛ́",
"Á": "Ⱥ́",
"Ó": "ට́",
"Ú": "Ա́",
"è": "ҽ̀",
"à": "ą̀",
"ò": "օ̀",
"ù": "մ̀",
"È": "Ɛ̀",
"À": "Ⱥ̀",
"Ò": "ට̀",
"Ù": "Ա̀",
"ê": "ҽ̂",
"â": "ą̂",
"ô": "օ̂",
"û": "մ̂",
"Ê": "Ɛ̂",
"Â": "Ⱥ̂",
"Ô": "ට̂",
"Û": "Ա̂"
}
},
tiny: {
init: function init() {
for (i in this.map) {
this.map[this.map[i]] = i;
}
},
encode: function encode(i) {
var r,
t = "";
i = i.toUpperCase();
for (var o = 0, h = i.length; h > o; o++) {
r = this.map[i.charAt(o)], "undefined" == typeof r && (r = i.charAt(o)), t += r;
}
return t;
},
decode: function decode(i) {
for (var r, t = "", o = 0, h = i.length; h > o; o++) {
r = this.map[i.charAt(o)], "undefined" == typeof r && (r = i.charAt(o)), t += r;
}
return t;
},
map: {
A: "ᴀ",
B: "ʙ",
C: "",
D: "ᴅ",
E: "ᴇ",
F: "ꜰ",
G: "ɢ",
H: "ʜ",
I: "ɪ",
J: "ᴊ",
K: "ᴋ",
L: "ʟ",
M: "ᴍ",
N: "ɴ",
O: "",
P: "ᴘ",
Q: "Q",
R: "ʀ",
S: "",
T: "ᴛ",
U: "",
V: "",
W: "",
X: "x",
Y: "ʏ",
Z: ""
}
}
};
for (var i in this.tools) {
this.tools[i].init();
}
this.getHTML = function (i) {
for (var r, t = "", o = !0, h = 0, n = 0, a = 0, s = i.length; s > a; a++) {
r = i.charCodeAt(a), 10 == r || 13 == r ? (t += "<br>\n", o = !0) : 32 == r ? o ? (t += " ", o = !1) : (t += " ", o = !0) : (r >= 55296 && 56319 >= r ? (h = r, n = 0) : h > 0 ? (r >= 56320 && 57343 >= r && (n = 1024 * (h - 55296) + (r - 56320) + 65536), h = 0) : n = r, 0 != n && (t += "&#x" + n.toString(16) + ";", o = !0));
}
return t;
};
}
// CUTE TEXT:
function cuteText(text) {
if (text.trim() === "") return "";
qi = -1;
var bounds = boundingString(Math.floor(Math.random() * 2) + 1);
return bounds + " 🎀 " + text.split(/([!?.]+)/gi).map(cuteSentence).join("") + " 🎀 " + esrever.reverse(bounds);
}
function cuteSentence(sentence) {
return sentence.split(/([\s,]+)/gi).map(cuteWord).join("");
}
function cuteWord(word) {
//remember to handle exclamations, empty strings, commas etc. etc.!!
if (word === "" || /[[!?.\s,]+]/gi.test(word)) return word; //TODO: random turn o's into flowers, turn quotes into unicode and ! and ?
word = roundReplace(word);
word = punctReplace(word);
word = emojiReplace(word);
return scriptify(word);
}
var qi = -1;
var qa = ["❝", "❞"];
function quotes() {
qi++;
if (qi === 2) qi = 0;
return qa[qi];
}
function punctReplace(word) {
return word.split("").map(function (a) {
if (a === "!") return randomElement(["❣", "❢"]);
else if (a === "?") return randomElement(["¿", "?"]);
else if (a === "\"") return quotes();
else return a;
}).join("");
}
function emojiReplace(word) {
return word.replace(":)", randomElement(emoji[":)"])).replace("(:", randomElement(emoji[":)"])).replace("^^", randomElement(emoji["^^"])).replace(":P", randomElement(emoji[":p"])).replace(":p", randomElement(emoji[":p"])).replace(":D", randomElement(emoji[":D"])).replace("<3", randomElement(emoji["<3"])).replace("(y)", randomElement(emoji["(y)"])).replace("(Y)", randomElement(emoji["(y)"]));
}
function roundReplace(text) {
return text.split("").map(function (a) {
if (a.toLowerCase() === "o" || a === "0") {
return randomElement(round);
} else {
return a;
}
}).join("");
}
var emoji = {
":)": ["٩(˘◡˘)۶", "(•◡•)", "(ɔ◔‿◔)ɔ", "❀◕‿◕❀", "(。◕‿◕。)", "●‿●", "◕‿◕", "😍", "ツ", "(✿ヘᴥヘ)", "🌘‿🌘", "(づ。◕‿‿◕。)づ", "(/%e2%97%94%e2%97%a1%e2%97%94)/index.html", "s(^‿^)-b", "(人◕‿◕)", "(✿╹◡╹)", "◔◡◔"],
"^^": ["(^▽^)", "(✿^▽^)", "ᵔ⌣ᵔ", "ᵔᴥᵔ", "(≧◡≦)", "^ㅅ^", "^ㅂ^", "(⌒‿⌒)", "◠◡◠", "⁀‿⁀", ""],
":p": [":Þ", ""],
":D": ["(ノ◕ヮ◕)ノ*:・゚✧", "(✿◕ᗜ◕)━♫.*・。゚", "ᕕ(ᐛ)ᕗ"],
"<3": ["♡", "❤", "♥", "❥", "💘", "💙", "💗", "💖", "💕", "💓", "💞", "💝", "💟"],
"(y)": ["👍", "👌"]
};
var round = ["❁", "🌺", "❀", "💮", "🏵", "🌸", "☯", "😍", "♡", "🍩", "🍬", "💙", "🌞", "💍", "🍪", "❤", "💗", "🍑", "💞"];
var food = ["🍬", "🍭", "🍒", "🍎", "🍉", "🍇", "🍓", "🍌", "🍑", "🍰", "🎂", "🍩", "🍪", "🍧", "🍦", "🍫", "🍡"];
var flowers = ["✿", "⚘", "❦", "❧", "✾", "❁", "❀", "💐", "🌸", "💮", "🏵", "🌹", "🌺", "🌻", "🌷", "☘", "🌱", "🌲", "🌳", "🌴", "🌿", "🍂"];
var twinkles = ["⚛", "🌌", "🌠", "*", ":", "。", "・゚", "✧", "✮", "★", "✩", "⋆", ".", "°", "`", "✴", "。", "✴", "⋆", "✳", "✶", "✷", "❈"];
var animals = ["🐯", "🐎", "🐖", "🐷", "🐏", "🐑", "🐐", "🐫", "🐘", "🐭", "🐁", "🐀", "🐹", "🐰", "🐇", "🐿", "🐻", "🐨", "🐼", "🐾", "🐔", "🐓", "🐣", "🐤", "🐥", "🐦", "🐧", "🕊", "🐸", "🐢", "🐳", "🐋", "🐬", "🐟", "🐠", "🐡", "🐙", "🐚", "🐌", "🐞"];
var plants = ["✿", "⚘", "❦", "❧", "✾", "❁", "❀", "💐", "🌸", "💮", "🏵", "🌹", "🌺", "🌻", "🌷", "☘", "🌱", "🌲", "🌳", "🌴", "🌿", "🍂"];
var misc = ["🌌", "🌠", "🎉", "🎊", "🎈", "💌", "🎎", "🎁", "🎀", "🕯", "🔮", "🛀", "🎖", "🏆", "🏅", "👑", "💍", "👶", "👼", "👸", "👯", "👒", "👻"];
var music = ["♫", "♬", "♪", "♩", "°", "。", "✧", "🎻", "🎺", "🎸", "🎷", "📯"];
var flourish = ["•?((¯°·._.• ", "ıllıllı ", "¸,ø¤º°`°º¤ø,¸¸,ø¤º° ", "°°°·.°·..·°¯°·._.· ", "•´¯`•. ", "׺°”˜`”°º× ", "•]••´º´•» ", "]|I{•------» ", "§.•´¨'°÷•..× ", "•°¯`•• ", "(¯`·.¸¸.·´¯`·.¸¸.-> ", "*´¯`*.¸¸.*´¯`* ", "(¯`·.¸¸.-> °º ", "°·.¸.·°¯°·.¸.·°¯°·.¸.-> ", "•._.••´¯``•.¸¸.•` ", "¸„.-•~¹°”ˆ˜¨ ", "(¯´•._.• ", "••¤(`×", "•´¯`•» ", "`•.,¸¸,.•´¯ ", "¸,ø¤º°`°º¤ø,¸ ", ".o0×X×0o. ", ",-*'^'~*-.,_,.-*~ ", "`•.¸¸.•´´¯`••._.• ", "—(••÷", "¤¸¸.•´¯`•¸¸.•..>> ", "••.•´¯`•.•• ", ".•°¤*(¯`★´¯)*¤° ", "๑۞๑,¸¸,ø¤º°`°๑۩ ", "-漫~*'¨¯¨'*·舞~ ", "★·.·´¯`·.·★ ", "▁ ▂ ▄ ▅ ▆ ▇ █ ", "▀▄▀▄▀▄ ", "▌│█║▌║▌║ "];
function boundingString(n) {
return randomElement([foodString, twinkleString, animalString, flourishString])(n);
}
function foodString(n) {
return new Array(n + 1).join('0').split('').map(function (a) {
return randomElement(food);
}).join(' ⋆ ');
}
function twinkleString(n) {
return new Array(n + 1).join('0').split('').map(function () {
return randomElement(twinkles);
}).join("");
}
function animalString(n) {
return new Array(n + 1).join('0').split('').map(function (a) {
return randomElement(animals);
}).join(' ⋆ ');
}
function flourishString(n) {
return randomElement(flourish);
}
function scriptify(text) {
var map = {
"0": "𝟢",
"1": "𝟣",
"2": "𝟤",
"3": "𝟥",
"4": "𝟦",
"5": "𝟧",
"6": "𝟨",
"7": "𝟩",
"8": "𝟪",
"9": "𝟫",
"a": "𝒶",
"b": "𝒷",
"c": "𝒸",
"d": "𝒹",
"e": "𝑒",
"f": "𝒻",
"g": "𝑔",
"h": "𝒽",
"i": "𝒾",
"j": "𝒿",
"k": "𝓀",
"l": "𝓁",
"m": "𝓂",
"n": "𝓃",
"o": "𝑜",
"p": "𝓅",
"q": "𝓆",
"r": "𝓇",
"s": "𝓈",
"t": "𝓉",
"u": "𝓊",
"v": "𝓋",
"w": "𝓌",
"x": "𝓍",
"y": "𝓎",
"z": "𝓏",
"A": "𝒜",
"B": "𝐵",
"C": "𝒞",
"D": "𝒟",
"E": "𝐸",
"F": "𝐹",
"G": "𝒢",
"H": "𝐻",
"I": "𝐼",
"J": "𝒥",
"K": "𝒦",
"L": "𝐿",
"M": "𝑀",
"N": "𝒩",
"O": "𝒪",
"P": "𝒫",
"Q": "𝒬",
"R": "𝑅",
"S": "𝒮",
"T": "𝒯",
"U": "𝒰",
"V": "𝒱",
"W": "𝒲",
"X": "𝒳",
"Y": "𝒴",
"Z": "𝒵"
};
var charArray = text.split("");
for (var i = 0; i < charArray.length; i++) {
if (map[charArray[i].toLowerCase()]) {
charArray[i] = map[charArray[i]];
}
}
text = charArray.join("");
return text;
}
function randomElement(a) {
return a[Math.floor(Math.random() * a.length)];
}
//https://github.com/mathiasbynens/esrever
! function (e) {
var o = "object" == (typeof exports === "undefined" ? "undefined" : _typeof(exports)) && exports,
r = "object" == (typeof module === "undefined" ? "undefined" : _typeof(module)) && module && module.exports == o && module,
n = "object" == (typeof global === "undefined" ? "undefined" : _typeof(global)) && global;
(n.global === n || n.window === n) && (e = n);
var t = /(<%= allExceptCombiningMarks %>)(<%= combiningMarks %>+)/g,
i = /([\uD800-\uDBFF])([\uDC00-\uDFFF])/g,
f = function f(e) {
e = e.replace(t, function (e, o, r) {
return f(r) + o;
}).replace(i, "$2$1");
for (var o = "", r = e.length; r--;) {
o += e.charAt(r);
}
return o;
},
l = {
version: "<%= version %>",
reverse: f
};
if ("function" == typeof define && "object" == _typeof(define.amd) && define.amd) define(function () {
return l;
});
else if (o && !o.nodeType) {
if (r) r.exports = l;
else
for (var a in l) {
l.hasOwnProperty(a) && (o[a] = l[a]);
}
} else e.esrever = l;
}(this);
// CRAZY TEXT
function fullCrazy(text) {
if (text.trim() === "") return "";
return randomSymbols(2) + " " + crazifyText(text) + " " + randomSymbols(2);
}
function crazifyText(text) {
text = text.split("");
for (var i = 0; i < text.length; i++) {
text[i] = crazifyCharacter(text[i]);
}
return text.join("");
}
function crazifyCharacter(c) {
c = c.toLowerCase();
var map = {
"&": "⅋",
"%": ["⅍", "℀", "℁", "℆", "℅"],
"0": ["", "Ѳ", "ʘ"],
"1": ["➀", "❶", ""],
"2": ["", "❷", "➁"],
"3": ["", "❸", "➂"],
"4": ["", "❹", "➃"],
"5": ["❺", "➄", ""],
"6": ["", "❻", "➅"],
"7": ["", "❼", "➆"],
"8": ["", "➇", "❽"],
"9": ["➈", "❾", ""],
"<": ["≼", "≺", "≪", "☾", "≾", "⋜", "⋞", "⋐", "⊂", "⊏", "⊑", "《", "", "", "❰", "⫷"],
">": "☽≫≻≽≿⋝⋟⋑⊃⊐⊒⫸》>❯❱",
"[": "【〖〘〚[",
"]": "】〗〙〛]",
"*": "✨✩✪✫✬✭✮✯✰✦✱✲✳✴✵✶✷֍֎✸✹✺✻✼✽✾✿❀❁❂❃❄★☆*",
"a": ["Ⓐ", "ⓐ", "α", "", "", "ᗩ", "卂", "Δ", "ค", "α", "ά", "Ã", "𝔞", "𝓪", "𝒶", "𝓐", "𝐀", "𝐚", "𝔸", "𝕒", "ᵃ"],
"b": ["Ⓑ", "ⓑ", "в", "", "乃", "", "", "β", "๒", "в", "в", "β", "𝔟", "𝓫", "𝒷", "𝓑", "𝐁", "𝐛", "𝔹", "𝕓", "ᵇ"],
"c": ["Ⓒ", "ⓒ", "匚", "¢", "", "", "ᑕ", "Ć", "ς", "c", "ς", "Č", "℃", "𝔠", "𝓬", "𝒸", "𝓒", "𝐂", "𝐜", "", "𝕔", "ᶜ"],
"d": ["Ⓓ", "ⓓ", "∂", "", "", "", "Đ", "๔", "∂", "đ", "Ď", "𝔡", "𝓭", "𝒹", "𝓓", "𝐃", "", "𝐝", "𝔻", "𝕕", "ᵈ"],
"e": ["Ⓔ", "乇", "ⓔ", "є", "", "", "ᗴ", "€", "є", "ε", "έ", "Ẹ", "𝔢", "𝒆", "𝑒", "𝓔", "𝐄", "𝐞", "𝔼", "𝕖", "ᵉ"],
"f": ["Ⓕ", "ⓕ", "ƒ", "", "", "千", "", "", "Ŧ", "ғ", "ғ", "Ƒ", "𝔣", "𝒇", "𝒻", "𝓕", "𝐅", "𝐟", "𝔽", "𝕗", "ᶠ"],
"g": ["Ⓖ", "ⓖ", "ق", "g", "", "", "Ǥ", "Ꮆ", "ﻮ", "g", "ģ", "Ğ", "𝔤", "𝓰", "𝑔", "𝓖", "𝐆", "𝐠", "𝔾", "𝕘", "ᵍ", "Ꮆ"],
"h": ["Ⓗ", "卄", "ⓗ", "н", "", "", "", "Ħ", "ђ", "н", "ħ", "Ĥ", "𝔥", "𝓱", "𝒽", "𝓗", "𝐇", "𝐡", "", "𝕙", "ʰ"],
"i": ["Ⓘ", "ⓘ", "ι", "", "", "", "丨", "Ɨ", "เ", "ι", "ί", "Į", "𝔦", "𝓲", "𝒾", "𝓘", "𝐈", "𝐢", "𝕀", "𝕚", "ᶤ"],
"j": ["Ⓙ", "ⓙ", "נ", "", "ڶ", "", "ᒎ", "Ĵ", "ן", "נ", "ј", "Ĵ", "𝔧", "𝓳", "𝒿", "𝓙", "𝐉", "𝐣", "𝕁", "𝕛", "ʲ"],
"k": ["Ⓚ", "ⓚ", "к", "", "", "", "Ҝ", "к", "к", "ķ", "Ќ", "𝔨", "𝓴", "𝓀", "𝓚", "𝐊", "𝐤", "𝕂", "𝕜", "ᵏ", "Ҝ"],
"l": ["Ⓛ", "ⓛ", "", "ㄥ", "", "", "", "Ł", "l", "", "Ļ", "Ĺ", "𝔩", "𝓵", "𝓁", "𝓛", "𝐋", "𝐥", "𝕃", "𝕝", "ˡ"],
"m": ["Ⓜ", "ⓜ", "м", "", "", "", "Μ", "๓", "м", "м", "ϻ", "𝔪", "𝓶", "𝓂", "𝓜", "𝐌", "𝐦", "𝕄", "𝕞", "ᵐ", "爪"],
"n": ["Ⓝ", "几", "ⓝ", "η", "", "", "ᑎ", "Ň", "ภ", "η", "ή", "Ň", "𝔫", "𝓷", "𝓃", "𝓝", "𝐍", "𝐧", "", "𝕟", "ᶰ"],
"o": ["Ⓞ", "ㄖ", "ⓞ", "σ", "", "", "ᗝ", "Ø", "๏", "σ", "ό", "Ỗ", "𝔬", "𝓸", "𝑜", "𝓞", "𝐎", "𝐨", "𝕆", "𝕠", "ᵒ"],
"p": ["Ⓟ", "ⓟ", "ρ", "", "", "卩", "", "Ƥ", "ק", "ρ", "ρ", "Ƥ", "𝔭", "𝓹", "𝓅", "𝓟", "𝐏", "𝐩", "", "𝕡", "ᵖ"],
"q": ["Ⓠ", "ⓠ", "q", "", "", "Ɋ", "Ω", "ợ", "q", "q", "Ǫ", "𝔮", "𝓺", "𝓆", "𝓠", "𝐐", "𝐪", "", "𝕢", "ᵠ"],
"r": ["Ⓡ", "ⓡ", "я", "尺", "", "", "", "Ř", "г", "я", "ŕ", "Ř", "𝔯", "𝓻", "𝓇", "𝓡", "𝐑", "𝐫", "", "𝕣", "ʳ"],
"s": ["Ⓢ", "ⓢ", "ѕ", "", "丂", "", "ᔕ", "Ş", "ร", "s", "ş", "Ŝ", "𝔰", "𝓼", "𝓈", "𝓢", "𝐒", "𝐬", "𝕊", "𝕤", "ˢ"],
"t": ["Ⓣ", "ⓣ", "т", "", "", "丅", "Ŧ", "t", "т", "ţ", "Ť", "𝔱", "𝓽", "𝓉", "𝓣", "𝐓", "𝐭", "𝕋", "𝕥", "ᵗ"],
"u": ["Ⓤ", "ⓤ", "υ", "", "", "", "Ữ", "ย", "υ", "ù", "Ǘ", "𝔲", "𝓾", "𝓊", "𝓤", "𝐔", "𝐮", "𝕌", "𝕦", "ᵘ"],
"v": ["Ⓥ", "ⓥ", "ν", "", "", "", "V", "ש", "v", "ν", "Ѷ", "𝔳", "𝓿", "𝓋", "𝓥", "𝐕", "𝐯", "𝕍", "𝕧", "ᵛ"],
"w": ["Ⓦ", "ⓦ", "ω", "", "", "ᗯ", "Ŵ", "ฬ", "ω", "ώ", "Ŵ", "𝔴", "𝔀", "𝓌", "𝓦", "𝐖", "𝐰", "𝕎", "𝕨", "ʷ", "山"],
"x": ["Ⓧ", "ⓧ", "χ", "", "乂", "", "", "Ж", "א", "x", "x", "Ж", "𝔵", "𝔁", "𝓍", "𝓧", "𝐗", "𝐱", "𝕏", "𝕩", "ˣ"],
"y": ["Ⓨ", "ㄚ", "ⓨ", "у", "", "", "Ƴ", "¥", "ץ", "ү", "ч", "Ў", "𝔶", "𝔂", "𝓎", "𝓨", "𝐘", "𝐲", "𝕐", "𝕪", "ʸ"],
"z": ["Ⓩ", "ⓩ", "z", "乙", "", "", "Ƶ", "Ž", "z", "z", "ž", "Ż", "𝔷", "𝔃", "𝓏", "𝓩", "𝐙", "𝐳", "", "𝕫", "ᶻ"]
};
if (map[c]) {
return randomElement(map[c]);
} else {
return c;
}
}
function randomElement(array) {
return array[Math.floor(Math.random() * array.length)];
}
function randomSymbols(n) {
var symbols = ["🐙", "🐉", "🐊", "🐒", "🐝", "🐜", "🐚", "🐲", "🐳", "🐸", "👑", "👹", "👺", "👤", "💲", "💣", "💙", "💚", "💛", "💜", "💝", "💗", "💘", "💞", "💔", "💥", "🐯", "🐼", "🐻", "🐺", "👌", "🐍", "🐧", "🐟", "🐠", "🐨", "🎯", "🏆", "🎁", "🎀", "🎉", "🎈", "🍮", "🍭", "🍬", "🍫", "🍪", "🍧", "🌷", "🍓", "😺", "😾", "✎", "😎", "😝", "😂", "😈", "😡", "😲", "😳", "🍔", "🍟", "🍩", "🎃", "🎄", "🎅", "🐣", "🐤", "👍", "👊", "👻", "👽", "👮", "💎", "💋", "👣", "💀", "💢", "🔥", "♔", "♕", "♖", "♗", "♘", "♙", "♚", "♛", "♜", "♝", "♞", "♟", "♠", "♡", "♢", "♣", "♤", "♥", "♦", "♧", "♨", "♩", "♪", "♬", "★", "☆", "☺", "☹", "☯", "☮", "☢", "☠", "☟", "☞", "☝", "☜", "✌", "✋", "✊", "⛵", "ൠ", "✌", "ඏ"];
var s = [];
for (var i = 0; i < n; i++) {
s.push(randomElement(symbols));
}
return s.join("");
}
function randInt(min, max) {
return min + Math.floor(Math.random() * (max - min + 1));
}
})();