Base64 Encoding Tool for Performance-Focused Mobile Web Development Workflow. More fun with Data URI scheme.
Inspired by Silo by James Mickens
- To easily provide a way of creating json hash maps of base64 encoded assets
- To improve mobile web performance by reducing image http requests to 1 json request
- (Future) To improve the use of base64 encoded strings in development workflows as a tool instead of relying on service (Cid)
- (Future) Add the ability to watch assets folders and automatically rebuild the JSON hashmaps
git clone [email protected]:jbueza/boco.git && npm link
Run as command line:
boco mysite/images:mysite/data/flags.json
Reference the generated json hash map by including it as a script.
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==" alt="Red dot" />
{
"images": [{
"file": "afghanistan.png",
"data": "data:image/png;base64,/VBORw0KGgoAAAANSUhEUgAAAC8AAAAcBAMAAAAD/f39AAAAMFBMVEUAAAAA/QD9AAD9/f0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABTbCD9AAAACXBIWXMAAAp1AAAKdQFKJf39AAAAY0lEQVR4/VL9Ef0wCAT9VmAqIEcH/X9v/ToaZy79/f08bgM8/f0R/U79R/1GRa/9RP39dhX9X/05NP39/VAqFP0qEQYYFUr9/f39GUT93079bWwVEf1lQgZ5FA0vYHYOTy/9/WR0/QAAAABJRU5E/UJg/Q=="
}, {
"file": "albania.png",
"data": "data:image/png;base64,/VBORw0KGgoAAAANSUhEUgAAAC8AAAAcBAMAAAAD/f39AAAAMFBMVEUAAAD9AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAi/f0RAAAACXBIWXMAAAp1AAAKdQFKJf39AAAATklEQVR4/VD9EQAgCAP9Df39/RX9/Qj9/f39/XtQ/S50/f1A/QUFQBFGMghGYx8i/f39Hf1w/ShFN/3r/f0xRzH9av39bP0G/QP9ZQD9/SMf/XT9fQAAAABJRU5E/UJg/Q=="
}, {
"file": "algeria.png",
"data": "data:image/png;base64,/VBORw0KGgoAAAANSUhEUgAAAC8AAAAcBAMAAAAD/f39AAAAMFBMVEUAAAAA/QD9AAD9/f0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABTbCD9AAAACXBIWXMAAAp1AAAKdQFKJf39AAAAbElEQVR4/f39UQ79IAxD/Qj9E1huAP39/UMiBP1GE/0nL/39IwT9LXZJGf0E/f0AMP0Odv39/f0Bel4z/Qr9/f39Av39dTQAA/39/f0x/QwK/Rj9/UsHcFM9/en9VkJL/f39Rf39/f19/U4CXk4a/XsSWgAAAABJRU5E/UJg/Q=="
}, {
"file": "andorra.png",
"data": "data:image/png;base64,/VBORw0KGgoAAAANSUhEUgAAAC8AAAAcBAMAAAAD/f39AAAAMFBMVEUAAAAAAP39/QD9/QD9AAD9/QD9/QD9/QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB3Jkb9AAAACXBIWXMAAAp1AAAKdQFKJf39AAAAd0lEQVR4/f39/Q39MAwE/Qj9YP17/QL9WABl/UwQBP39A3R8Cv1c/f1X/Wsx/Q/9/Rpv/QtARBEiISRI/QH9/TH9/dxQQv39RP0K/cQA/SMWWv39V/39X2A5J3j9JlA5J7+b/f39BGc3/f0x/f0AcP39/f39CVYAAAAASUVORP1CYP0="
}, {
"file": "angola.png",
"data": "data:image/png;base64,/VBORw0KGgoAAAANSUhEUgAAAC8AAAAcBAMAAAAD/f39AAAAMFBMVEUAAAD9AAD9/QD9AAD9/QD9/QD9/QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD9Yw8IAAAACXBIWXMAAAp1AAAKdQFKJf39AAAA/UlEQVR4/f39QQr9MBAF/VEh/f39Wv39AmP9Av1e/f1a/f39f/39IiL9/T9LXv0MRP39Rmn9/TcKMP39/f1wCv0GBgYoBR0/ak79/SkM/Rh7/VD9LS39GB/9djp+Zw/9MP39/ST9YxAgOP39eQj9AF39/Ul9fv39/UhINf39a/39bkoF/Tc//WpD/f39Vv0AAAAASUVORP1CYP0="
}, {
"file": "antiguabarbuda.png",
"data": "data:image/png;base64,/VBORw0KGgoAAAANSUhEUgAAAC8AAAAcBAMAAAAD/f39AAAAMFBMVEUAAAAAAP39AAD9/QD9/f0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD9RQv9AAAACXBIWXMAAAp1AAAKdQFKJf39AAAA/UlEQVR4/f39/Qn9IBD9Yf0KLhX9YAH9Hf39X/39dF1n/UD9/Un9/Xf9/QX9/f0cJv1XH+cEV/0bN2AE/f0i/W8gSf1NEjT9BiP9AlEDSSATDhIIRA1aAgV8eAdBYgAB/UAhLf0C/WBC/f0EXH39Bv0DNv0JGDIHDP39QP39ACj9/f0AeAdP/QIf/Tt2/Vpn/QAAAABJRU5E/UJg/Q=="
}, {
"file": "argentina.png",
"data": "data:image/png;base64,/VBORw0KGgoAAAANSUhEUgAAAC8AAAAcBAMAAAAD/f39AAAAMFBMVEUAAAAAAP39/QD9/QD9/f0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD9CXkEAAAACXBIWXMAAAp1AAAKdQFKJf39AAAAPUlEQVR4/WNg/QUYBf39/SP9/f0VIEs4Kytj/TAyNjL9Kv39/f39Xf39GP0ELh04/f39KhQwWP39dAlcAAD9/UsoDf39/QAAAABJRU5E/UJg/Q=="
}, {
"file": "armenia.png",
"data": "data:image/png;base64,/VBORw0KGgoAAAANSUhEUgAAAC8AAAAcBAMAAAAD/f39AAAAMFBMVEUAAAAAAP39AAD9/UAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD9fP0eAAAACXBIWXMAAAp1AAAKdQFKJf39AAAAIElEQVR4/WNg/QX9/f39/SP9KP0VDDkJZmP9YP1I/QIAPgVN/VslFhcAAAAASUVORP1CYP0="
}, {
"file": "australia.png",
"data": "data:image/png;base64,/VBORw0KGgoAAAANSUhEUgAAAC8AAAAcBAMAAAAD/f39AAAAMFBMVEUAAAAAAP39AAD9/f0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB2a/0pAAAACXBIWXMAAAp1AAAKdQFKJf39AAAA/UlEQVR4/f39/RH9MAgE/f0C/Q79Av39/Qz9/WA8PHwPPVgd/f1a/f0sAP0AQAZba339SQAy/QD9/UH9Dv39/f39BQ5zKdkZ/f39af05HgD9ViX9/QH9/ST9af1bCP0PRCUe/UT9/UP9LzH9/Tv9SiYQETIAGP0qAhwA/ej9/f1B/SH9cS/9MVVz/f39Av1O/f0zHVr9eksAAAAASUVORP1CYP0="
}, {
"file": "austria.png",
"data": "data:image/png;base64,/VBORw0KGgoAAAANSUhEUgAAAC8AAAAcBAMAAAAD/f39AAAAMFBMVEUAAAD9AAD9/f0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD9/WsTAAAACXBIWXMAAAp1AAAKdQFKJf39AAAAH0lEQVR4/WNg/QUYBf39/SP9/f0VDDn9/Rn9VP39BQAf/THKUf0XAAAAAElFTkT9QmD9"
}, {
"file": "azerbaijan.png",
"data": "data:image/png;base64,/VBORw0KGgoAAAANSUhEUgAAAC8AAAAcBAMAAAAD/f39AAAAMFBMVEUAAAAAAP0A/QD9AAD9/f39/f0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAoaCZiAAAACXBIWXMAAAp1AAAKdQFKJf39AAAAQ0lEQVR4/WNg/QUYBf39/SP9bAwD/f39cP0x/f1J/f0rVgn9EGNj/RJA/Vz9cUggbCFKBy47cP0K/R9MSlj9/f39BQAqRU79GlJYIAAAAABJRU5E/UJg/Q=="
}, {
"file": "bahamas.png",
"data": "data:image/png;base64,/VBORw0KGgoAAAANSUhEUgAAAC8AAAAcBAMAAAAD/f39AAAAMFBMVEUAAAAAAP39/QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD9/T39AAAACXBIWXMAAAp1AAAKdQFKJf39AAAAU0lEQVR4/f39/Q0AIAgD/Rv9/f0PaUz9/T39ff39AFYJ/f1pJRhYRP39FBH9/f39Hf1xKv39/UJE/Qh5Ejj9/f07/f39/Q/93Ts//X9l/Wz9aAICXCn9IAr9/QAAAABJRU5E/UJg/Q=="
}, {
"file": "bahrain.png",
"data": "data:image/png;base64,/VBORw0KGgoAAAANSUhEUgAAAC8AAAAcBAMAAAAD/f39AAAAMFBMVEUAAAD9AAD9/f39/f0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAg/RQ4AAAACXBIWXMAAAp1AAAKdQFKJf39AAAAJUlEQVR4/WNg/QX9/UFAURAN/SQwZAj9/RAn/WMOUTtAEv0AAAAmOVFmCv0MAAAAAElFTkT9QmD9"
}, {
"file": "bangladesh.png",
"data": "data:image/png;base64,/VBORw0KGgoAAAANSUhEUgAAAC8AAAAcBAMAAAAD/f39AAAAMFBMVEUAAAAA/QD9QAD9IAD9AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAF/Vf9AAAACXBIWXMAAAp1AAAKdQFKJf39AAAAWklEQVR4/WNg/QUYBf0CGkkI/f0YYv0A/SP9IEn9/QH9/QhE/RFDQgUi/f0h/f39YhZcQhgmYf0mIQL9cP39BE79cTpX/QT9B3EGCf1A/R39OCMKFVBVAhcAABopPv39/f1YAAAAAElFTkT9QmD9"
}, {
"file": "barbados.png",
"data": "data:image/png;base64,/VBORw0KGgoAAAANSUhEUgAAAC8AAAAcBAMAAAAD/f39AAAAMFBMVEUAAAAAAP39QAD9/UAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAqNf0xAAAACXBIWXMAAAp1AAAKdQFKJf39AAAAWElEQVR4/f1xDf0gDET9CzdBNkBi/RP9f/04Cv1N/QT9/f1rDAD9/f39Rv39dxD9NxMj/f39CD4DXCNU/SoJ/QUmC1hb/S5E/f1YAC9/Ev1pO/39/VkPfyY6R/39azMAAAAASUVORP1CYP0="
}, {
"file": "belarus.png",
"data": "data:image/png;base64,/VBORw0KGgoAAAANSUhEUgAAAC8AAAAcBAMAAAAD/f39AAAAMFBMVEUAAAAA/QD9AAD9/f0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABTbCD9AAAACXBIWXMAAAp1AAAKdQFKJf39AAAAUUlEQVR4/f39/Q0AIAgD/Rv9Akxg/X83If1l/f2T/Wv9/TEQDv1LBjv9D1BIG/1K/SH9/RZVHwdSFS39L0laL/39DaQFVP13/f39/WAc/S5IP/39df0AAAAASUVORP1CYP0="
}, {
"file": "belgium.png",
"data": "data:image/png;base64,/VBORw0KGgoAAAANSUhEUgAAAC8AAAAcBAMAAAAD/f39AAAAMFBMVEUAAAD9AAD9/QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAnfh52AAAACXBIWXMAAAp1AAAKdQFKJf39AAAAGklEQVR4/WNgIAT9IEBREAJGJUYlBkgCHQAA/f0n/VL9/QAAAABJRU5E/UJg/Q=="
}, {
"file": "belize.png",
"data": "data:image/png;base64,/VBORw0KGgoAAAANSUhEUgAAAC8AAAAcBAMAAAAD/f39AAAAMFBMVEUAAAAAAP0A/QD9AAD9/f39AAD9/QD9/f0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD9akn9AAAACXBIWXMAAAp1AAAKdQFKJf39AAAA/UlEQVR4/f39QQr9MBQE/QhKhUD9f/0c/QtYEDz9e1d2G0f9XP10If39/f1sH/39TxL9Unb9alZg/VT9EyT9/UESbP0P/VH9/f0U/f39/f0g/Q79aP39OSQOPXEA/Rn9D/39/Qls/UN4/QNzH/1Z/QD9/f39/UT96f1qPv0sHv1HAX5BIEf9X/0tfVQraab9UmL9/f2+/VD9Wf39/f1SXv39XGMv/TpGAAAAAElFTkT9QmD9"
}, {
"file": "benin.png",
"data": "data:image/png;base64,/VBORw0KGgoAAAANSUhEUgAAAC8AAAAcBAMAAAAD/f39AAAAMFBMVEUAAAAA/QD9AAD9/QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD9PP0BAAAACXBIWXMAAAp1AAAKdQFKJf39AAAAHklEQVR4/WNg/QUYBSH9GBX9Sv0j/f0KRiVI/f0FAP39TP1LO/39AAAAAElFTkT9QmD9"
}, {
"file": "bhutan.png",
"data": "data:image/png;base64,/VBORw0KGgoAAAANSUhEUgAAAC8AAAAcBAMAAAAD/f39AAAAMFBMVEUAAAD9/f39/f39AAD9QAD9/UD9/f0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABUVf1FAAAACXBIWXMAAAp1AAAKdQFKJf39AAAA/UlEQVR4/XX9MQr9MAwFUBk3/WVMdf39Dv1AIRdwaf1LFHL9IzRJM/1y/f1CD30bA/39MP39/Rn9/f09Jg/9/f39OncAYP0ET3FQKyOS/f1c/WxB/QFRMf39EP0H/f1BYjQLdgDDGTj9/f39EP1AIQf9GGR/bAv9WP1U/UH9/Ur9/f39/RpScv1hF/0RaQz9UAH9/UmxBUD9/f1B/XYD/TMd/f1CXX/9RGn9ACgj/Tv9b139/fR3/Xz9dP39/f39Df39By79/f1W/f39AAAAAElFTkT9QmD9"
}, {
"file": "bolivia.png",
"data": "data:image/png;base64,/VBORw0KGgoAAAANSUhEUgAAAC8AAAAcBAMAAAAD/f39AAAAMFBMVEUAAAAA/QD9AAD9/f39AAD9/QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD9/f39AAAACXBIWXMAAAp1AAAKdQFKJf39AAAAVUlEQVR4/WNg/QVYXP39ISf9Gv0VIEsEBQVh/VBQUlD9JhH9/f2CTSL9/f39Cf39/f39ElYJV2FR/TpC/QT9VP39/Sko/RX9BP0HGQX9/SEn/QsAAP39fwf9eGVDAAAAAElFTkT9QmD9"
}, {
"file": "bosnia_herzegovina.png",
"data": "data:image/png;base64,/VBORw0KGgoAAAANSUhEUgAAAC8AAAAcBAMAAAAD/f39AAAAMFBMVEUAAAAAAP39/QD9/f39/f0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD9SP0eAAAACXBIWXMAAAp1AAAKdQFKJf39AAAAdUlEQVR4/XX9/Q39MAwE/VD9/Qr9AyQaQP1/Tf39/f39dQ4v/VX9XP0ZD/0uf3n9R/39JBL9/f39D1T9QEUPUP0BCgz9/f0KDv39/RQz/WL9VP0Y/TX9/UZX/f39H039RlMoChlVYf0o/SgKHVn9Iytt/f0AR/03/S/9/f0AAAAASUVORP1CYP0="
}, {
"file": "dominicanrep.png",
"data": "data:image/png;base64,/VBORw0KGgoAAAANSUhEUgAAAC8AAAAcBAMAAAAD/f39AAAAMFBMVEUAAAAAAP0A/QD9AAD9/f39AAD9/f0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAALC/39AAAACXBIWXMAAAp1AAAKdQFKJf39AAAAQklEQVR4/WNg/QUYBWFALC0tFA5G/QRbGhz9/SH9/RIp/f39Jf1U/f1L/QX9Yf1ITkYx/RUw/TT9CwVH/QQuAAD9Ef07eX52/QAAAABJRU5E/UJg/Q=="
}, {
"file": "ecuador.png",
"data": "data:image/png;base64,/VBORw0KGgoAAAANSUhEUgAAAC8AAAAcBAMAAAAD/f39AAAAMFBMVEUAAAAA/QAA/f39AAD9/QD9AAD9/QD9/f0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABO/ShnAAAACXBIWXMAAAp1AAAKdQFKJf39AAAAeElEQVR4/WNg/QX9sAJ6S/39/f1h/WBwYWFg/f1D/SUR/VEp/Sz9bv0kBP39Av39GiX9/f1VR/15/TL9HUxKUP1mXl79BP0oIUv9KDlj/WBRYP0uIf39/Sj9NAY2BWwSTEwCQkz9JP39RP39/SRYQ/39/Sr9CwAA/f39Igv9MQsAAAAASUVORP1CYP0="
}, {
"file": "egypt.png",
"data": "data:image/png;base64,/VBORw0KGgoAAAANSUhEUgAAAC8AAAAcBAMAAAAD/f39AAAAMFBMVEUAAAD9/QD9AAD9/f0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGeDz9AAAACXBIWXMAAAp1AAAKdQFKJf39AAAAM0lEQVR4/WNg/QX9/f39/SP9bP0V/UgY/f0QFP0uYSho/UP9UBD9/TEO/f1xGf39/RELAP39PP02fyE8AAAAAElFTkT9QmD9"
}, {
"file": "elsalvador.png",
"data": "data:image/png;base64,/VBORw0KGgoAAAANSUhEUgAAAC8AAAAcBAMAAAAD/f39AAAAMFBMVEUAAAAAAP0A/QAA/f39AAD9/UD9/QD9/f0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD9/Wx1AAAACXBIWXMAAAp1AAAKdQFKJf39AAAAUUlEQVR4/WNg/QUYBf39ISf9Xg4HIf0INv1ESGFJOFYJ/f1yd2wS/f1m/f39JEr9/f1V/f1QNDMq/f1JUAj9Hf0hSir9Xf39/f0Z/VT9/QUAev1uIf1fAf0AAAAASUVORP1CYP0="
}, {
"file": "eq_guinea.png",
"data": "data:image/png;base64,/VBORw0KGgoAAAANSUhEUgAAAC8AAAAcBAMAAAAD/f39AAAAMFBMVEUAAAAAAP0A/QD9QAD9/f39/f39AAD9/f39/f0AAAAAAAAAAAAAAAAAAAAAAAAAAAD9b/39AAAACXBIWXMAAAp1AAAKdQFKJf39AAAA/UlEQVR4/XX9/Qn9MAz9/TpCPf39/Qj9/QRS/RN0/Tr9QvZJ/Qf9/U79/R8RdP39MAb9Bv0E/RD9/QElDCgRAP0ASDo1/f39fv39/X8vUBL9/f39PSBoSVz9AgL9/f39/f05VV39dwcu/f39ZP39C/1AAP0ZUP39/QQwIP39bP39/QH9HP0Ji3L9AAAAAElFTkT9QmD9"
}, {
"file": "eritrea.png",
"data": "data:image/png;base64,/VBORw0KGgoAAAANSUhEUgAAAC8AAAAcBAMAAAAD/f39AAAAMFBMVEUAAAAAYAAAYP0A/QAA/f0gAAAgYAAgYP0gYP39IAD9AAD9AAD9/QD9/QAAAAAAAAD9Zv39AAAACXBIWXMAAAp1AAAKdQFKJf39AAAA/UlEQVR4/XX9/RH9MBD9/Vz9/Rb9/RYo/f39/Us1eP0baGH9KmD9YP39/Q1E/f39/f0hIf39/Xpn/f15/Rr9/TD9LHL9Qf1FCmT9BgYlaAoi/f39/QhCBP39KgUfXmdUGyr9Pgv9/VL9lQoKEP39JEz9TP1u/UAI/UI4KxMk/f17/QdWYP39/RJPJf39/V0XV/0iHkX9Qf39fnkHAv39/f0HVDlB/Tcw/f1gZf39/RX9/f1fb/0l/VR4Gf0AAAAASUVORP1CYP0="
}, {
"file": "estonia.png",
"data": "data:image/png;base64,/VBORw0KGgoAAAANSUhEUgAAAC8AAAAcBAMAAAAD/f39AAAAMFBMVEUAAAAAAP39/f0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABdSUj9AAAACXBIWXMAAAp1AAAKdQFKJf39AAAAHElEQVR4/WNg/QUYBf39/SMxXAD9ElYwfCRwAQAn/Sf9/XP9eQAAAABJRU5E/UJg/Q=="
}, {
"file": "ethiopia.png",
"data": "data:image/png;base64,/VBORw0KGgoAAAANSUhEUgAAAC8AAAAcBAMAAAAD/f39AAAAMFBMVEUAAAAAAP0A/QD9/UD9AAD9/QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD9/f1yAAAACXBIWXMAAAp1AAAKdQFKJf39AAAAdklEQVR4/f39/Qn9MAz9YREd/Rgz/W79Ef0ucB79/Sr9G0YaX1/9Ej4obfz9/WH9/QkIYf06cSAGMv0XIyIpEql4AG3g/f0BVP1VA/0Y/Sj9RP1Y/VQD/f39/VL9/f1n/W/9eE0OFlg5/U1yCP39/f1W/f18/RnO/QAAAABJRU5E/UJg/Q=="
}, {
"file": "fiji.png",
"data": "data:image/png;base64,/VBORw0KGgoAAAANSUhEUgAAAC8AAAAcBAMAAAAD/f39AAAAMFBMVEUAAAAAAP0AAP39/QD9AAD9/QD9/f0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD9/f1qAAAACXBIWXMAAAp1AAAKdQFKJf39AAAA/UlEQVR4/f39MQ79MAwFNP09/QAGcQBAHP1+cf39/UH9/X/9/f0V/f0s/f39/Sn9Hf1q/UJEERtRAP1x/f0YBEgGF1FR/Tr9QAJEPXoxf0o0Wj79/dn9/f39cSn9/W79af1MFf39/Wj9/SP9/SD9NS0oaf0TGv3X/WP9MRv9/f1X/Xr9DP39/Vn9/U/9/RL9/f1QAhY8/Qg9/TIw/QL9/VD9Gy0lZUcdQ/0+AAAAAElFTkT9QmD9"
}, {
"file": "finland.png",
"data": "data:image/png;base64,/VBORw0KGgoAAAANSUhEUgAAAC8AAAAcBAMAAAAD/f39AAAAMFBMVEUAAAAAAP39/f0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABdSUj9AAAACXBIWXMAAAp1AAAKdQFKJf39AAAAJklEQVR4/WNg/QX9/UBAUVBQSAkZ/QAJRkH9YP0lBmdY/UMCFwAA/R0/Z3Jzc/0AAAAASUVORP1CYP0="
}, {
"file": "france.png",
"data": "data:image/png;base64,/VBORw0KGgoAAAANSUhEUgAAAC8AAAAcBAMAAAAD/f39AAAAMFBMVEUAAAAAAP39AAD9/f0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB2a/0pAAAACXBIWXMAAAp1AAAKdQFKJf39AAAAHUlEQVR4/WNg/QUYBSH9GAL9/SBgVGJU/f0S/QAA/SBN/f0yef0AAAAASUVORP1CYP0="
}, {
"file": "gabon.png",
"data": "data:image/png;base64,/VBORw0KGgoAAAANSUhEUgAAAC8AAAAcBAMAAAAD/f39AAAAMFBMVEUAAAAAAP0A/QD9/QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABO/Q5WAAAACXBIWXMAAAp1AAAKdQFKJf39AAAAIElEQVR4/WNg/QX9/f39/SP9bP0VDDkJRkH9YP1I/QIAIP1K/U8j/UwAAAAASUVORP1CYP0="
}, {
"file": "gambia.png",
"data": "data:image/png;base64,/VBORw0KGgoAAAANSUhEUgAAAC8AAAAcBAMAAAAD/f39AAAAMFBMVEUAAAAA/QAA/f39AAD9/f0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABRLv0UAAAACXBIWXMAAAp1AAAKdQFKJf39AAAAKUlEQVR4/WNg/QX9/f39ISf9/f0VMDAwKWEFQ04C/QcZBf39ISf9CwAA/VxSCf1n/W8AAAAASUVORP1CYP0="
}, {
"file": "georgia.png",
"data": "data:image/png;base64,/VBORw0KGgoAAAANSUhEUgAAAC8AAAAcBAMAAAAD/f39AAAAMFBMVEUAAAD9AAD9/f0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD9/WsTAAAACXBIWXMAAAp1AAAKdQFKJf39AAAAIElEQVR4/WNgIAwE/f1g/WBS/f0hIf0o/RX9SmD9/QUAN/0mFy/9LkYAAAAASUVORP1CYP0="
}, {
"file": "germany.png",
"data": "data:image/png;base64,/VBORw0KGgoAAAANSUhEUgAAAC8AAAAcBAMAAAAD/f39AAAAMFBMVEUAAAD9AAD9/QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAnfh52AAAACXBIWXMAAAp1AAAKdQFKJf39AAAAGklEQVR4/WNgGP39URArGHISTEpY/f39/QUANP0mF/18LQAAAABJRU5E/UJg/Q=="
}, {
"file": "ghana.png",
"data": "data:image/png;base64,/VBORw0KGgoAAAANSUhEUgAAAC8AAAAcBAMAAAAD/f39AAAAMFBMVEUAAAAA/QD9AAD9/QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD9PP0BAAAACXBIWXMAAAp1AAAKdQFKJf39AAAAQ0lEQVR4/WNg/QX9/f39ISf9bAwHBgj9MXESKGwEBxxA/f10MP1yEGwDBgb9dv39YDA2/W4UMxj9JRgF/f39I/0LAABU/Ug0T3kO/QAAAABJRU5E/UJg/Q=="
}, {
"file": "greece.png",
"data": "data:image/png;base64,/VBORw0KGgoAAAANSUhEUgAAAC8AAAAcBAMAAAAD/f39AAAAMFBMVEUAAAAAAP39/f0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABdSUj9AAAACXBIWXMAAAp1AAAKdQFKJf39AAAAOUlEQVR4/WNg/QUYBQX9/QQxACUSSv39HAkmKAv9Dv0l/f0qKv0V/RJWQP0EI/39cP1J/RhQV/0CADEJNxtf/f39AAAAAElFTkT9QmD9"
}, {
"file": "western_samoa.png",
"data": "data:image/png;base64,/VBORw0KGgoAAAANSUhEUgAAAC8AAAAcBAMAAAAD/f39AAAAMFBMVEUAAAAAAP39/f39AAD9/f0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABWMEZOAAAACXBIWXMAAAp1AAAKdQFKJf39AAAASElEQVR4/WNg/QUYBRH9GAFgEv04JERccP1w/Sb9CEMuARYlQxH9HSJOOCQg/f39XFwedP39Qf1B/UX9/RgrGP0gRQIXAAAdH2H9/f0mLwAAAABJRU5E/UJg/Q=="
}, {
"file": "yemen.png",
"data": "data:image/png;base64,/VBORw0KGgoAAAANSUhEUgAAAC8AAAAcBAMAAAAD/f39AAAAMFBMVEUAAAD9AAD9/f0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD9/WsTAAAACXBIWXMAAAp1AAAKdQFKJf39AAAAGklEQVR4/WNg/QUYBf39/SP9/f0VDDn9EQsAClQk/f0J/U8AAAAASUVORP1CYP0="
}, {
"file": "yugoslavia.png",
"data": "data:image/png;base64,/VBORw0KGgoAAAANSUhEUgAAAC8AAAAcBAMAAAAD/f39AAAAMFBMVEUAAAAAAP39AAD9/f0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB2a/0pAAAACXBIWXMAAAp1AAAKdQFKJf39AAAAIElEQVR4/WNg/QUYBf39/SP9bP0VDDkJJiX9YP1I/QIAPE5K/X9WdgAAAABJRU5E/UJg/Q=="
}, {
"file": "zaire.png",
"data": "data:image/png;base64,/VBORw0KGgoAAAANSUhEUgAAAC8AAAAcBAMAAAAD/f39AAAAMFBMVEUAAAAA/QD9AAD9AAD9/QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD9PP1BAAAACXBIWXMAAAp1AAAKdQFKJf39AAAAf0lEQVR4/f39/Q39IAwEYFQW/Tj9dgNTBgD9/Wf9Gv22/f1j/Rx/IQQv/Wj9Ef1A/UD9SP0AYGdOGv39/U39VWD9Af18T3/9V2IuHmwaaHAa/WVvGBAo/Qb9/RH9/Qn9Hh4ZQnz9/f39Nf0S/f0XJiVfDf39/f1W/f0HXg6SOP39H/0bAAAAAElFTkT9QmD9"
}, {
"file": "zambia.png",
"data": "data:image/png;base64,/VBORw0KGgoAAAANSUhEUgAAAC8AAAAcBAMAAAAD/f39AAAAMFBMVEUAAAAA/QD9AAD9/UAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD9ezv9AAAACXBIWXMAAAp1AAAKdQFKJf39AAAAQElEQVR4/WNg/QUYBf0C/SUU/f1J/QlTQkhJSUFBSQn9UUIKTEr9/f1QYv1hOSNJ/VJSUgL9/f39eFRi/Uj9AgD9Ty39/UAY/QAAAABJRU5E/UJg/Q=="
}, {
"file": "zimbabwe.png",
"data": "data:image/png;base64,/VBORw0KGgoAAAANSUhEUgAAAC8AAAAcBAMAAAAD/f39AAAAMFBMVEUAAAAA/QD9AAD9/QD9/f0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD9Qv0jAAAACXBIWXMAAAp1AAAKdQFKJf39AAAA/UlEQVR4/X39/RH9MAhD/f39b/39/f0L/TjmQP39FF3IRWD9/c8pQV8EAP0U/f0C/f39/f0J/SwJ/X///SD9Bv39MVv9VP39LWb9R/13/VX9/TL9/cH9/QArNQ42b/02BgX9RhcETf0rD/1h/Wn9M/39UQ/9dANVQkb9MP39/QAAAABJRU5E/UJg/Q=="
}]
}
(The MIT License)
Copyright (c) 2011 Jaime Bueza <[email protected]>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.