weechat/scripts/perl/hueg.pl

1256 lines
24 KiB
Perl
Raw Normal View History

2023-06-08 07:29:31 +00:00
#!/usr/bin/perl
######
# hueg.pl PRO MODE
# modded by ma0 and others
# respekts 2 jakk and others
######
$maxchars = 10; #num of chars b4 split
my $reverse = 0;
my $flip = 0;
my $mirror = 0;
my $scale = 1;
my $SCRIPT_NAME = 'hueg';
my $SCRIPT_AUTHOR = 'LIFELIKE <i@wnt2die.com>';
my $SCRIPT_VERSION = '1.1';
my $SCRIPT_LICENCE = 'GPL3';
my $SCRIPT_DESC = 'make text hueg LOL';
if (weechat::register($SCRIPT_NAME, $SCRIPT_AUTHOR, $SCRIPT_VERSION,
$SCRIPT_LICENCE, $SCRIPT_DESC, '', '')) {
weechat::hook_command('hueg', '', '<string> [options]',
" -rep <num> num of times to scroll msg\n".
" -re reverses text\n".
" -flip flips text\n".
" -mir mirrors your text [NOT WORKIN LOL]\n".
" -scale <num> scales shit\n".
" num,num,num fg, shadow, bg colors (bg optional)",
'-rep|-re|-flip|-mir|-scale|%*', 'hueg', '');
}
sub hueg {
(undef, $buffer, $data) = @_;
$in = $data;
if ($in =~ /-rep (\d+)/i) {
$rep = $1;
$in =~ s/-rep \d+//i;
} else {
$rep = 1;
}
if($in =~ /-scale (\d+)/i) {
$scale = $1;
$in =~ s/-scale \d+//i;
} else {
$scale = 1;
}
if($in =~ /-re/i) {
$reverse = 1;
$in =~ s/-re//i;
} else {
$reverse = 0;
}
if($in =~ /-flip/i){
$flip = 1;
$in =~ s/-flip//i;
} else {
$flip = 0;
}
if($in =~ /-mir/i) {
$mirror = 1;
$in =~ s/-mir//i;
} else {
$mirror = 0;
}
$in =~ s/\s+$//;
if ($in eq '') {
weechat::print($buffer, weechat::prefix('error').
"Invalid syntax; see /help hueg");
return weechat::WEECHAT_RC_ERROR;
} else {
until ($rep == 0) {
colors();
parse();
process();
select(undef,undef,undef,.1);
$rep--;
}
return weechat::WEECHAT_RC_OK;
}
}
sub colors {
if ($data =~ /(\d+),(\d+),(\d+)/) {
$c2 = "\cC$1,$1"; #fg
$c1 = "\cC$2,$2"; #sh
$c3 = "\cC$3,$3"; #bg
$in =~ s/\d+,\d+,\d+//;
} elsif ($data =~ /(\d+),(\d+)/) {
$c2 = "\cC$1,$1"; #fg
$c1 = "\cC$2,$2"; #sh
$c3 = "\cO"; #bg (trans)
$in =~ s/\d+,\d+//;
} else {
$r1 = $r2 = 0;
until ($r1 > 1) { $r1 = int rand(15); }
until ($r2 > 1 && $r2 != $r1) { $r2 = int rand(15); }
$c2 = "\cC$r1,$r1"; #fg (rand)
$c1 = "\cC$r2,$r2"; #sh (rand)
$c3 = "\cO"; #bg (trans)
}
db1();
}
sub parse {
$in =~ s/(\S{$maxchars})/$1 /g;
undef @s0;
@s0 = split(' ',$in);
undef @s1;
$s1n = 0;
for $n (@s0) {
$nlen = length($n);
$slen = length($s1[$s1n] // '') + $nlen;
if ($slen <= $maxchars) {
$s1[$s1n] .= "$n ";
} else {
$s1n++;
$s1[$s1n] .= "$n ";
}
}
}
sub process {
for $n (@s1) { #each line
if ($reverse) {
$n = reverse $n;
}
$n =~ s/\s$//;
$n =~ s/^\s//;
undef @s2;
@s2 = split('',$n);
my $cur; # current string
my $tmp;
for $f (0..8*$scale) {
for $l (@s2) { #each letter
$all .= "$c3 \cO";
if($flip) { $cur = $db{$l}[(9-$f)/$scale] // $db{'?'}[(9-$f)/$scale]; } #line of letter
else { $cur = $db{$l}[$f/$scale] // $db{'?'}[$f/$scale]; }
$whitespace = " " x $scale;
$cur =~ s/ /$whitespace/g;
$whitespace = "#" x $scale;
$cur =~ s/#/$whitespace/g;
$whitespace = "." x $scale;
$cur =~ s/\./$whitespace/g;
$all .= $cur;
}
$all .= "$c3 ";
if($mirror) { $all = reverse $all; }
weechat::command($buffer, "/msg * $all");
$all = '';
}
}
}
#------------------#
# character db #
# lol #
#------------------#
sub db1 {
%db = (
" " => [
"$c3 ",
"$c3 ",
"$c3 ",
"$c3 ",
"$c3 ",
"$c3 ",
"$c3 ",
"$c3 ",
"$c3 ",
],
"\cC" => [
"$c3 ",
"$c1.$c2##$c3 $c1.$c2#######$c3",
"$c1.$c2##$c3 $c1.$c2##$c3 ",
"$c1.$c2##$c3 $c1.$c2##$c3 ",
"$c1.$c2############$c3",
"$c3 $c1.$c2##$c3 $c1.$c2##$c3",
"$c3 $c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2#######$c3 $c1.$c2##$c3",
"$c3 ",
],
"\cB" => [
"$c3 ",
"$c1.$c2##$c3 $c1.$c2#######$c3",
"$c1.$c2##$c3 $c1.$c2##$c3 ",
"$c1.$c2##$c3 $c1.$c2##$c3 ",
"$c1.$c2############$c3",
"$c3 $c1.$c2##$c3 $c1.$c2##$c3",
"$c3 $c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2#######$c3 $c1.$c2##$c3",
"$c3 ",
],
"\cO" => [
"$c3 ",
"$c1.$c2##$c3 $c1.$c2#######$c3",
"$c1.$c2##$c3 $c1.$c2##$c3 ",
"$c1.$c2##$c3 $c1.$c2##$c3 ",
"$c1.$c2############$c3",
"$c3 $c1.$c2##$c3 $c1.$c2##$c3",
"$c3 $c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2#######$c3 $c1.$c2##$c3",
"$c3 ",
],
"0" => [
"$c3 ",
"$c3 $c1.$c2######$c3 ",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c3 $c1.$c2######$c3 ",
"$c3 ",
],
"1" => [
"$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2###$c3 ",
"$c1.$c2####$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c1.$c2######$c3",
"$c3 ",
],
"2" => [
"$c3 ",
"$c3 $c1.$c2#####$c3 ",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c1.$c2#######$c3",
"$c3 ",
],
"3" => [
"$c3 ",
"$c3 $c1.$c2#####$c3 ",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c3 $c1.$c2##$c3",
"$c3 $c1.$c2###$c3 ",
"$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c3 $c1.$c2#####$c3 ",
"$c3 ",
],
"4" => [
"$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2###$c3 ",
"$c3 $c1.$c2#$c1.$c2##$c3 ",
"$c3 $c1.$c2#$c3 $c1.$c2##$c3 ",
"$c1.$c2#######$c3",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 ",
],
"5" => [
"$c3 ",
"$c1.$c2######$c3 ",
"$c1.$c2##$c3 ",
"$c1.$c2##$c3 ",
"$c1.$c2######$c3 ",
"$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c3 $c1.$c2#####$c3 ",
"$c3 ",
],
"6" => [
"$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c1.$c2######$c3 ",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c3 $c1.$c2#####$c3 ",
"$c3 ",
],
"7" => [
"$c3 ",
"$c1.$c2########$c3",
"$c3 $c1.$c2##$c3",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 ",
],
"8" => [
"$c3 ",
"$c3 $c1.$c2######$c3 ",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c3 $c1.$c2######$c3 ",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c3 $c1.$c2######$c3 ",
"$c3 ",
],
"9" => [
"$c3 ",
"$c3 $c1.$c2#####$c3 ",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c3 $c1.$c2######$c3",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 ",
],
A => [
"$c3 ",
"$c3 $c1.$c2###$c3 ",
"$c3 $c1.$c2##$c1.$c2##$c3 ",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2#######$c3",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c3 ",
],
a => [
"$c3 ",
"$c3 ",
"$c3 ",
"$c3 $c1.$c2#####$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2######$c3 ",
"$c1.$c2##$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2#######$c3",
"$c3 ",
],
B => [
"$c3 ",
"$c1.$c2#######$c3 ",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2#######$c3 ",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2#######$c3 ",
"$c3 ",
],
b => [
"$c3 ",
"$c1.$c2##$c3 ",
"$c1.$c2##$c3 ",
"$c1.$c2######$c3 ",
"$c1.$c2##$c3 $c1.$c2##$c3 ",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2##$c3 ",
"$c1.$c2######$c3 ",
"$c3 ",
],
C => [
"$c3 ",
"$c3 $c1.$c2######$c3 ",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 ",
"$c1.$c2##$c3 ",
"$c1.$c2##$c3 ",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c3 $c1.$c2######$c3 ",
"$c3 ",
],
c => [
"$c3 ",
"$c3 ",
"$c3 ",
"$c3 $c1.$c2#####$c3",
"$c3 $c1.$c2##$c3 ",
"$c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2#####$c3",
"$c3 ",
],
D => [
"$c3 ",
"$c1.$c2#######$c3 ",
"$c1.$c2##$c3 $c1.$c2##$c3 ",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2##$c3 ",
"$c1.$c2#######$c3 ",
"$c3 ",
],
d => [
"$c3 ",
"$c3 $c1.$c2##$c3",
"$c3 $c1.$c2##$c3",
"$c3 $c1.$c2######$c3",
"$c3 $c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c3 $c1.$c2##$c3 $c1.$c2##$c3",
"$c3 $c1.$c2######$c3",
"$c3 ",
],
E => [
"$c3 ",
"$c1.$c2#######$c3",
"$c1.$c2##$c3 ",
"$c1.$c2##$c3 ",
"$c1.$c2######$c3 ",
"$c1.$c2##$c3 ",
"$c1.$c2##$c3 ",
"$c1.$c2#######$c3",
"$c3 ",
],
e => [
"$c3 ",
"$c3 ",
"$c3 ",
"$c3 $c1.$c2######$c3 ",
"$c1.$c2##$c3 $c1.$c2##",
"$c1.$c2#######$c3 ",
"$c1.$c2##$c3 ",
"$c3 $c1.$c2######$c3 ",
"$c3 ",
],
F => [
"$c3 ",
"$c1.$c2#######",
"$c1.$c2##$c3 ",
"$c1.$c2##$c3 ",
"$c1.$c2######$c3 ",
"$c1.$c2##$c3 ",
"$c1.$c2##$c3 ",
"$c1.$c2##$c3 ",
"$c3 ",
],
f => [
"$c3 ",
"$c3 ",
"$c3 $c1.$c2###",
"$c3 $c1.$c2##$c3 ",
"$c1.$c2#####",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 ",
],
G => [
"$c3 ",
"$c3 $c1.$c2######$c3 ",
"$c3 $c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 ",
"$c1.$c2##$c3 $c1.$c2####$c3",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c3 $c1.$c2##$c3 $c1.$c2##$c3",
"$c3 $c1.$c2######$c3 ",
"$c3 ",
],
g => [
"$c3 ",
"$c3 ",
"$c3 ",
"$c3 $c1.$c2######$c3 ",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c3 $c1.$c2#######$c3",
"$c3 $c1.$c2##$c3",
"$c3 $c1.$c2######$c3 ",
],
H => [
"$c3 ",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2########$c3",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c3 ",
],
h => [
"$c3 ",
"$c1.$c2##$c3 ",
"$c1.$c2##$c3 ",
"$c1.$c2#######$c3 ",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c3 ",
],
I => [
"$c3 ",
"$c1.$c2######$c3",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c1.$c2######$c3",
"$c3 ",
],
i => [
"$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 ",
"$c1.$c2###$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c1.$c2####",
"$c3 ",
],
J => [
"$c3 ",
"$c3 $c1.$c2######",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c1.$c2##$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2####$c3 ",
"$c3 ",
],
j => [
"$c3 ",
"$c3 $c1.$c2##",
"$c3 ",
"$c3 $c1.$c2###",
"$c3 $c1.$c2##",
"$c3 $c1.$c2##",
"$c3 $c1.$c2##",
"$c1.$c2##$c3 $c1.$c2##",
"$c3 $c1.$c2####$c3 ",
],
K => [
"$c3 ",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2##$c3 ",
"$c1.$c2##$c1.$c2##$c3 ",
"$c1.$c2####$c3 ",
"$c1.$c2##$c1.$c2##$c3 ",
"$c1.$c2##$c3 $c1.$c2##$c3 ",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c3 ",
],
k => [
"$c3 ",
"$c1.$c2##$c3 ",
"$c1.$c2##$c3 ",
"$c1.$c2##$c3 $c1.$c2##",
"$c1.$c2##$c3 $c1.$c2##$c3 ",
"$c1.$c2#####$c3 ",
"$c1.$c2##$c3 $c1.$c2##$c3 ",
"$c1.$c2##$c3 $c1.$c2##",
"$c3 ",
],
L => [
"$c3 ",
"$c1.$c2##$c3 ",
"$c1.$c2##$c3 ",
"$c1.$c2##$c3 ",
"$c1.$c2##$c3 ",
"$c1.$c2##$c3 ",
"$c1.$c2##$c3 ",
"$c1.$c2#######$c3",
"$c3 ",
],
l => [
"$c3 ",
"$c1.$c2###$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c1.$c2####",
"$c3 ",
],
M => [
"$c3 ",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2###$c3 $c1.$c2###$c3",
"$c1.$c2####$c3 $c1.$c2####$c3",
"$c1.$c2##$c1.$c2##$c1.$c2##$c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2###$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2#$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c3 ",
],
m => [
"$c3 ",
"$c3 ",
"$c3 ",
"$c3 $c1.$c2##$c3 $c1.$c2##$c3 ",
"$c1.$c2####$c1.$c2####$c3",
"$c1.$c2##$c1.$c2###$c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2#$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c3 ",
],
N => [
"$c3 ",
"$c1.$c2###$c3 $c1.$c2##",
"$c1.$c2####$c3 $c1.$c2##",
"$c1.$c2##$c1.$c2##$c3 $c1.$c2##",
"$c1.$c2##$c3 $c1.$c2##$c3 $c1.$c2##",
"$c1.$c2##$c3 $c1.$c2##$c1.$c2##",
"$c1.$c2##$c3 $c1.$c2####",
"$c1.$c2##$c3 $c1.$c2###",
"$c3 ",
],
n => [
"$c3 ",
"$c3 ",
"$c3 ",
"$c3 $c1.$c2######$c3 ",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c3 ",
],
O => [
"$c3 ",
"$c3 $c1.$c2######$c3 ",
"$c3 $c1.$c2##$c3 $c1.$c2##$c3 ",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c3 $c1.$c2##$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2######$c3 ",
"$c3 ",
],
o => [
"$c3 ",
"$c3 ",
"$c3 ",
"$c3 $c1.$c2######$c3 ",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c3 $c1.$c2######$c3 ",
"$c3 ",
],
P => [
"$c3 ",
"$c1.$c2#######$c3 ",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2#######$c3 ",
"$c1.$c2##$c3 ",
"$c1.$c2##$c3 ",
"$c1.$c2##$c3 ",
"$c3 ",
],
p => [
"$c3 ",
"$c3 ",
"$c3 ",
"$c3 $c1.$c2######$c3 ",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2#######$c3 ",
"$c1.$c2##$c3 ",
"$c1.$c2##$c3 ",
],
Q => [
"$c3 ",
"$c3 $c1.$c2######$c3 ",
"$c3 $c1.$c2##$c3 $c1.$c2##$c3 ",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2##$c1.$c2##$c3",
"$c3 $c1.$c2##$c3 $c1.$c2###$c3 ",
"$c3 $c1.$c2######$c3 ",
"$c3 $c1.$c2##$c3 ",
],
q => [
"$c3 ",
"$c3 ",
"$c3 ",
"$c3 $c1.$c2######$c3 ",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c3 $c1.$c2#######$c3",
"$c3 $c1.$c2##$c3",
"$c3 $c1.$c2##$c3",
],
R => [
"$c3 ",
"$c1.$c2#######$c3 ",
"$c1.$c2##$c3 $c1.$c2##$c3 ",
"$c1.$c2##$c3 $c1.$c2##$c3 ",
"$c1.$c2#######$c3 ",
"$c1.$c2##$c3 $c1.$c2##$c3 ",
"$c1.$c2##$c3 $c1.$c2##$c3 ",
"$c1.$c2##$c3 $c1.$c2##",
"$c3 ",
],
r => [
"$c3 ",
"$c3 ",
"$c3 ",
"$c3 $c1.$c2#####$c3 ",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 ",
"$c1.$c2##$c3 ",
"$c1.$c2##$c3 ",
"$c3 ",
],
S => [
"$c3 ",
"$c3 $c1.$c2#####$c3 ",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 ",
"$c3 $c1.$c2#####$c3 ",
"$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c3 $c1.$c2#####$c3 ",
"$c3 ",
],
s => [
"$c3 ",
"$c3 ",
"$c3 ",
"$c3 $c1.$c2#####$c3",
"$c1.$c2##$c3 ",
"$c3 $c1.$c2####$c3 ",
"$c3 $c1.$c2##$c3",
"$c1.$c2#####$c3 ",
"$c3 ",
],
T => [
"$c3 ",
"$c1.$c2########$c3",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 ",
],
t => [
"$c3 ",
"$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c1.$c2#####$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c1.$c2##",
"$c3 $c1.$c2###$c3 ",
"$c3 ",
],
U => [
"$c3 ",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c3 $c1.$c2##$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2######$c3 ",
"$c3 ",
],
u => [
"$c3 ",
"$c3 ",
"$c3 ",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c3 $c1.$c2######$c3 ",
"$c3 ",
],
V => [
"$c3 ",
"$c1.$c2#$c3 $c1.$c2#",
"$c1.$c2##$c3 $c1.$c2##",
"$c3 $c1.$c2##$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2####$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 ",
],
v => [
"$c3 ",
"$c3 ",
"$c3 ",
"$c1.$c2##$c3 $c1.$c2##",
"$c3 $c1.$c2##$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c1.$c2##$c3 ",
"$c3 $c1.$c2###$c3 ",
"$c3 ",
],
W => [
"$c3 ",
"$c1.$c2##$c3 $c1.$c2##",
"$c1.$c2##$c3 $c1.$c2##",
"$c1.$c2##$c3 $c1.$c2##",
"$c1.$c2##$c3 $c1.$c2##$c3 $c1.$c2##",
"$c1.$c2##$c1.$c2####$c1.$c2##",
"$c1.$c2####$c3 $c1.$c2####",
"$c3 $c1.$c2##$c3 $c1.$c2##$c3 ",
"$c3 ",
],
w => [
"$c3 ",
"$c3 ",
"$c3 ",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2#$c3 $c1.$c2##$c3",
"$c1.$c2##$c1.$c2###$c1.$c2##$c3",
"$c1.$c2####$c1.$c2####$c3",
"$c3 $c1.$c2##$c3 $c1.$c2##$c3 ",
"$c3 ",
],
X => [
"$c3 ",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c3 $c1.$c2##$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c1.$c2##$c3 ",
"$c3 $c1.$c2###$c3 ",
"$c3 $c1.$c2##$c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 $c1.$c2##$c3 ",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c3 ",
],
x => [
"$c3 ",
"$c3 ",
"$c3 ",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c3 $c1.$c2##$c1.$c2##$c3 ",
"$c3 $c2###$c3 ",
"$c3 $c1.$c2##$c1.$c2##$c3 ",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c3 ",
],
Y => [
"$c3 ",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c3 $c1.$c2##$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2####$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 ",
],
y => [
"$c3 ",
"$c3 ",
"$c3 ",
"$c1.$c2##$c3 $c1.$c2##$c3",
"$c3 $c1.$c2##$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2####$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
],
Z => [
"$c3 ",
"$c1.$c2########$c3",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c1.$c2########$c3",
"$c3 ",
],
z => [
"$c3 ",
"$c3 ",
"$c3 ",
"$c1.$c2########$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c1.$c2########$c3 ",
"$c3 ",
],
'~' => [
"$c3 ",
"$c3 ",
"$c3 ",
"$c3 $c1.$c2####$c3 $c1.$c2##$c3",
"$c3 $c1.$c2##$c3 $c1.$c2##$c3 $c1.$c2##$c3 ",
"$c1.$c2##$c3 $c1.$c2####$c3 ",
"$c3 ",
"$c3 ",
"$c3 ",
],
'`' => [
"$c3 ",
"$c1.$c2##$c3 ",
"$c3 $c1.$c2##",
"$c3 ",
"$c3 ",
"$c3 ",
"$c3 ",
"$c3 ",
"$c3 ",
],
'!' => [
"$c3 ",
"$c3 $c1.$c2##$c3",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 ",
"$c1.$c2##$c3 ",
"$c3 ",
],
'@' => [
"$c3 ",
"$c3 $c1.$c2#######$c3 ",
"$c3 $c1.$c2##$c3 $c1.$c2##$c3 ",
"$c1.$c2##$c3 $c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2##$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2#####$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2#######$c3 ",
"$c3 ",
],
'#' => [
"$c3 ",
"$c3 $c1.$c2##$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 $c1.$c2##$c3 ",
"$c1.$c2##########",
"$c3 $c1.$c2##$c3 $c1.$c2##$c3 ",
"$c1.$c2##########",
"$c3 $c1.$c2##$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 $c1.$c2##$c3 ",
"$c3 ",
],
'$' => [
"$c3 $c1.$c2#$c3 ",
"$c3 $c1.$c2#######$c3 ",
"$c1.$c2##$c3 $c1.$c2#$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2#$c3 ",
"$c3 $c1.$c2#######$c3 ",
"$c3 $c1.$c2#$c3 $c1.$c2##$c3",
"$c1.$c2##$c3 $c1.$c2#$c3 $c1.$c2##$c3",
"$c3 $c1.$c2#######$c3 ",
"$c3 $c1.$c2#$c3 ",
],
'%' => [
"$c3 ",
"$c1.$c2##$c3 $c1.$c2##",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.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
"$c3 ",
],
'+' => [
"$c3 ",
"$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c1.$c2########$c3",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 ",
"$c3 ",
],
'=' => [
"$c3 ",
"$c3 ",
"$c3 ",
"$c1.$c2########$c3",
"$c3 ",
"$c1.$c2########$c3",
"$c3 ",
"$c3 ",
"$c3 ",
],
'|' => [
"$c3 ",
"$c1.$c2##$c3",
"$c1.$c2##$c3",
"$c1.$c2##$c3",
"$c1.$c2##$c3",
"$c1.$c2##$c3",
"$c1.$c2##$c3",
"$c1.$c2##$c3",
"$c3 ",
],
'\\' => [
"$c3 ",
"$c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3",
"$c3 ",
],
'[' => [
"$c3 ",
"$c1.$c2####$c3",
"$c1.$c2##$c3 ",
"$c1.$c2##$c3 ",
"$c1.$c2##$c3 ",
"$c1.$c2##$c3 ",
"$c1.$c2##$c3 ",
"$c1.$c2####$c3",
"$c3 ",
],
']' => [
"$c3 ",
"$c1.$c2####$c3",
"$c3 $c1.$c2##$c3",
"$c3 $c1.$c2##$c3",
"$c3 $c1.$c2##$c3",
"$c3 $c1.$c2##$c3",
"$c3 $c1.$c2##$c3",
"$c1.$c2####$c3",
"$c3 ",
],
'{' => [
"$c3 ",
"$c3 $c1.$c2###$c3",
"$c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3 ",
"$c1.$c2##$c3 ",
"$c3 $c1.$c2###$c3",
"$c3 ",
],
'}' => [
"$c3 ",
"$c1.$c2###$c3 ",
"$c3 $c1.$c2##$c3",
"$c3 $c1.$c2##$c3 ",
"$c3 $c1.$c2##$c3",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