diff --git a/blitzloop/res/web/css/main.css b/blitzloop/res/web/css/main.css index 5ef2f4c..c4be265 100644 --- a/blitzloop/res/web/css/main.css +++ b/blitzloop/res/web/css/main.css @@ -1,6 +1,6 @@ /* http://meyerweb.com/eric/tools/css/reset/ - v2.0 | 20110126 - License: none (public domain) + v2.0 | 20110126 + License: none (public domain) */ html, body, div, span, applet, object, iframe, @@ -16,509 +16,521 @@ article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { - margin: 0; - padding: 0; - border: 0; - font-size: 100%; - font: inherit; - vertical-align: baseline; + margin: 0; + padding: 0; + border: 0; + font-size: 100%; + font: inherit; + vertical-align: baseline; } /* HTML5 display-role reset for older browsers */ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { - display: block; + display: block; } body { - line-height: 1; + line-height: 1; } ol, ul { - list-style: none; + list-style: none; } blockquote, q { - quotes: none; + quotes: none; } blockquote:before, blockquote:after, q:before, q:after { - content: ''; - content: none; + content: ''; + content: none; } table { - border-collapse: collapse; - border-spacing: 0; + border-collapse: collapse; + border-spacing: 0; } /* style */ a { - text-decoration: none; - color: inherit; - cursor: pointer; + text-decoration: none; + color: inherit; + cursor: pointer; } body { - font-family: sans-serif; - width: 1024px; + font-family: sans-serif; + width: 1024px; } #topbar { - position: fixed; - top: 0; - left: 0; - width: 1024px; - height: 45px; - background-color: #48c; - z-index: 10; + position: fixed; + top: 0; + left: 0; + width: 1024px; + height: 45px; + background-color: #48c; + z-index: 10; } #topleft { - width: auto; - float: left; - margin-left: 10px; - padding-top: 6px; - color: white; + width: auto; + float: left; + margin-left: 10px; + padding-top: 6px; + color: white; } #tabs { - font-size: 24px; + font-size: 24px; } #tabs a { - display: inline-block; - vertical-align: bottom; - padding-top: 8px; - -webkit-border-top-left-radius: 10px; - -webkit-border-top-right-radius: 10px; - -moz-border-radius-topleft: 10px; - -moz-border-radius-topright: 10px; - border-top-left-radius: 10px; - border-top-right-radius: 10px; - border: 2px solid #246; - border-bottom: none; - background-color: #369; - padding-left: 8px; - padding-right: 8px; - height: 29px; + display: inline-block; + vertical-align: bottom; + padding-top: 8px; + -webkit-border-top-left-radius: 10px; + -webkit-border-top-right-radius: 10px; + -moz-border-radius-topleft: 10px; + -moz-border-radius-topright: 10px; + border-top-left-radius: 10px; + border-top-right-radius: 10px; + border: 2px solid #246; + border-bottom: none; + background-color: #369; + padding-left: 8px; + padding-right: 8px; + height: 29px; } #tabs a.selected { - background-color: white; - color: black; + background-color: white; + color: black; } #topright { - float: right; - margin-right: 10px; - padding-top: 6px; + float: right; + margin-right: 10px; + padding-top: 6px; } #langselect,#latinselect { - display: inline-block; - vertical-align: top; - height: 29px; - border: 2px solid #246; - border-radius: 5px; - margin-left: 2px; - margin-right: 2px; + display: inline-block; + vertical-align: top; + height: 29px; + border: 2px solid #246; + border-radius: 5px; + margin-left: 2px; + margin-right: 2px; } #langselect img { - display: inline-block; - height: 11px; - width: 16px; - padding: 9px; - border-radius: 2px; - cursor: pointer; + display: inline-block; + height: 11px; + width: 16px; + padding: 9px; + border-radius: 2px; + cursor: pointer; } #langselect img.selected { - background-color: #7bf; + background-color: #7bf; } #latinselect a { - display: inline-block; - vertical-align: top; - height: 23px; - width: 34px; - border-radius: 2px; - text-align: center; - padding-top: 6px; - font-size: 18px; + display: inline-block; + vertical-align: top; + height: 23px; + width: 34px; + border-radius: 2px; + text-align: center; + padding-top: 6px; + font-size: 18px; } #latinselect a.selected { - background-color: #7bf; + background-color: #7bf; } #view { - padding-top: 55px; - padding-bottom: 10px; - padding-left: 10px; - padding-right: 10px; + padding-top: 55px; + padding-bottom: 10px; + padding-left: 10px; + padding-right: 10px; } .song-list li { - display: block; - margin-bottom: 4px; + display: block; + margin-bottom: 4px; } .song-list li a { - display: block; - height: 70px; - border: 3px solid #77A0BF; - border-radius: 3px; - background-color: #B6E0FF; - color: black; - font-size: 18px; - padding-right: 6px; + display: block; + height: 70px; + border: 3px solid #77A0BF; + border-radius: 3px; + background-color: #B6E0FF; + color: black; + font-size: 18px; + padding-right: 6px; } .song-list li a img { - float: left; - vertical-align: top; - margin-right: 6px; - width: 70px; - height: 70px; + float: left; + vertical-align: top; + margin-right: 6px; + width: 70px; + height: 70px; } .song-list li a div { - overflow: hidden; + overflow: hidden; } .song-list li a div.queue-index { - display: none; + display: none; } .queue-list li a div.queue-index { - display: table; - float: left; - width: 20px; - padding-right: 2px; - background-color: #77A0BF; - height: 100%; - color: white; - text-align: center; - font-weight: bold; - font-size: 28px; + display: table; + float: left; + width: 20px; + padding-right: 2px; + background-color: #77A0BF; + height: 100%; + color: white; + text-align: center; + font-weight: bold; + font-size: 28px; } .queue-list li a div.queue-index div { - display: table-cell; - vertical-align: middle; + display: table-cell; + vertical-align: middle; } .queue-list li a div.queue-index div div { - width: 20px; + width: 20px; } .queue-list li a div[len="2"].queue-index { - font-size: 16px; + font-size: 16px; } .queue-list li a div[len="3"].queue-index { - font-size: 11px; + font-size: 11px; } .queue-list li:first-child a div.queue-index { - background-color: #77BFA0; + background-color: #77BFA0; } .queue-list li:first-child a { - border: 3px solid #77BFA0; - background-color: #B6FFE0; + border: 3px solid #77BFA0; + background-color: #B6FFE0; } .song-list .title { - float: left; - font-size: 34px; - padding-right: 16px; - margin-top: 4px; - margin-bottom: 3px; - height: 40px; - white-space: nowrap; + float: left; + font-size: 34px; + padding-right: 16px; + margin-top: 4px; + margin-bottom: 3px; + height: 40px; + white-space: nowrap; } .song-list .seenon { - overflow: hidden; - text-align: right; - font-size: 18px; - padding-top: 3px; - height: 37px; + overflow: hidden; + text-align: right; + font-size: 18px; + padding-top: 3px; + height: 37px; } .song-list .sub { - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; - clear: left; - padding-bottom: 3px; - padding-left: 1px; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + clear: left; + padding-bottom: 3px; + padding-left: 1px; } .song { - display: block; - border: 3px solid #77A0BF; - border-radius: 3px; - background-color: #B6E0FF; - color: black; - font-size: 18px; - margin-top: 2px; + display: block; + border: 3px solid #77A0BF; + border-radius: 3px; + background-color: #B6E0FF; + color: black; + font-size: 18px; + margin-top: 2px; } .song img { - float: left; - width: 200px; - height: 200px; + float: left; + width: 200px; + height: 200px; } .song .meta { - height: 196px; - overflow: hidden; - font-size: 20px; - padding-left: 6px; - padding-right: 6px; - padding-top: 4px; + height: 196px; + overflow: hidden; + font-size: 20px; + padding-left: 6px; + padding-right: 6px; + padding-top: 4px; } .song .meta p { - padding-top: 13px; - padding-bottom: 4px; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - border-bottom: 1px solid #77A0BF; + padding-top: 13px; + padding-bottom: 4px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + border-bottom: 1px solid #77A0BF; } .song .meta p:last-child { - border-bottom: none; + border-bottom: none; } .song .meta p.title { - font-size: 30px; + font-size: 30px; } .song .meta p span{ - position: absolute; - margin-top: -6px; - font-size: 12px; - width: 50%; - color: #246; + position: absolute; + margin-top: -6px; + font-size: 12px; + width: 50%; + color: #246; } .choice { - margin: 8px; - clear: both; - font-size: 28px; - text-align: center; + margin: 8px; + clear: both; + font-size: 28px; + text-align: center; } .choice div { - display: inline-block; - vertical-align: baseline; - margin-left: 2px; - margin-right: 2px; + display: inline-block; + vertical-align: baseline; + margin-left: 2px; + margin-right: 2px; } .choice div a { - display: inline-block; - vertical-align: baseline; - border-radius: 6px; - text-align: center; - padding: 4px; - margin-right: 10px; - border: 2px solid #246; + display: inline-block; + vertical-align: baseline; + border-radius: 6px; + text-align: center; + padding: 4px; + margin-right: 10px; + border: 2px solid #246; } .choice div a:last-child { - margin-right: 0; + margin-right: 0; } .choice div a.selected { - background-color: #7bf; + background-color: #7bf; } .actions { - text-align: center; + text-align: center; } hr { - clear: both; - border: 1px solid #77A0BF; - margin: 0; + clear: both; + border: 1px solid #77A0BF; + margin: 0; } .actions { - margin: 8px; + margin: 8px; } @font-face { - font-family: 'FontAwesome'; - src: url('/s/font/fontawesome-webfont.eot'); - src: url('/s/font/fontawesome-webfont.eot?#iefix&v=3.0.1') format('embedded-opentype'), - url('/s/font/fontawesome-webfont.woff?v=3.0.1') format('woff'), - url('/s/font/fontawesome-webfont.ttf?v=3.0.1') format('truetype'); - font-weight: normal; - font-style: normal; + font-family: 'FontAwesome'; + src: url('/s/font/fontawesome-webfont.eot'); + src: url('/s/font/fontawesome-webfont.eot?#iefix&v=3.0.1') format('embedded-opentype'), + url('/s/font/fontawesome-webfont.woff?v=3.0.1') format('woff'), + url('/s/font/fontawesome-webfont.ttf?v=3.0.1') format('truetype'); + font-weight: normal; + font-style: normal; } .icon { - font-family: "FontAwesome"; + font-family: "FontAwesome"; } .button { - display: inline-block; - vertical-align: top; - border-radius: 6px; - text-align: center; - padding: 4px; - padding-left: 7px; - padding-right: 7px; - margin-right: 10px; - border: 2px solid #246; - font-size: 28px; - height: 30px; - line-height: 30px; + display: inline-block; + vertical-align: top; + border-radius: 6px; + text-align: center; + padding: 4px; + padding-left: 7px; + padding-right: 7px; + margin-right: 10px; + border: 2px solid #246; + font-size: 28px; + height: 30px; + line-height: 30px; } .button.icon { - font-size: 20px; - line-height: 30px; - padding-left: 10px; - padding-right: 10px; - width: 21px; - text-align: center; + font-size: 20px; + line-height: 30px; + padding-left: 10px; + padding-right: 10px; + width: 21px; + text-align: center; } .button.green { - border-color: #264; - background-color: #77BFA0 + border-color: #264; + background-color: #77BFA0 } .button.red { - border-color: #722; - background-color: #dd9999; + border-color: #722; + background-color: #dd9999; } div.slider { - margin-top: 8px; - margin-bottom: 8px; + margin-top: 8px; + margin-bottom: 8px; } #settings div.slider { - margin-top: 12px; - margin-bottom: 12px; + margin-top: 12px; + margin-bottom: 12px; } div.slider div.value { - display: table; - float: left; - height: 37px; + display: table; + float: left; + height: 37px; } div.slider div.value div { - display: table-cell; - vertical-align: middle; + display: table-cell; + vertical-align: middle; } div.slider div.value div div { - text-align: center; + text-align: center; } div.slider .label,div.slider div.value,div.slider div.value div div { - width: 50px; + width: 50px; } #settings div.slider .label,#settings div.slider div.value,#settings div.slider div.value div div { - width: 80px; + width: 80px; } div.slider > span { - font-size: 20px; - line-height: 30px; + font-size: 20px; + line-height: 30px; } div.slider div.outer { - overflow: hidden; - height: 35px; + overflow: hidden; + height: 35px; } div.slider div.bar { - height: 10px; - background-color: #77A0BF; - border: 2px solid #246; - border-radius: 8px; - margin-top: 10px; - margin-bottom: 10px; - margin-left: 15px; - margin-right: 16px; - position: relative; + height: 10px; + background-color: #77A0BF; + border: 2px solid #246; + border-radius: 8px; + margin-top: 10px; + margin-bottom: 10px; + margin-left: 15px; + margin-right: 16px; + position: relative; } div.slider div.bar div.knob { - margin-left: -17px; - margin-top: -11px; - border-radius: 20px; - height: 30px; - width: 30px; - position: relative; - left: 0%; - border: 2px solid #246; - background-color: #def; + margin-left: -17px; + margin-top: -11px; + border-radius: 20px; + height: 30px; + width: 30px; + position: relative; + left: 0%; + border: 2px solid #246; + background-color: #def; } div.slider div.bar div.chunk { - position: absolute; - background-color: #7bf ; - width: 10%; - top: 0; - height: 10px; - border-radius: 5px; + position: absolute; + background-color: #7bf ; + width: 10%; + top: 0; + height: 10px; + border-radius: 5px; } div.slider .label { - position: absolute; - text-align: center; - font-size: 12px; - color: #246; - margin-top: -3px; + position: absolute; + text-align: center; + font-size: 12px; + color: #246; + margin-top: -3px; } .sliders { - margin-left: 8px; - margin-right: 8px; + margin-left: 8px; + margin-right: 8px; } .sliders > div.wide { - clear: both; + clear: both; } .sliders .left { - width: 50%; - float: left; + width: 50%; + float: left; } .sliders .right { - width: 50%; - float: right; + width: 50%; + float: right; } #settings .section { - display: block; - border: 3px solid #77A0BF; - border-radius: 3px; - background-color: #B6E0FF; - color: black; - font-size: 18px; - margin-top: 2px; - margin-bottom: 8px; - padding: 8px; + display: block; + border: 3px solid #77A0BF; + border-radius: 3px; + background-color: #B6E0FF; + color: black; + font-size: 18px; + margin-top: 2px; + margin-bottom: 8px; + padding: 8px; } h1 { - text-align: center; - font-size: 30px; - margin-bottom: 10px; + text-align: center; + font-size: 30px; + margin-bottom: 10px; } h2 { - text-align: center; - font-size: 25px; + text-align: center; + font-size: 25px; } #settings { - text-align: center; -} \ No newline at end of file + text-align: center; +} + +.searchbox { + font-size: 25px; + padding-bottom: 8px; + width: 100%; +} + +.searchbox input { + font-size: 25px; + width: 100%; + box-sizing: border-box; +} diff --git a/blitzloop/res/web/index.html b/blitzloop/res/web/index.html index c66bbf7..0e19f34 100644 --- a/blitzloop/res/web/index.html +++ b/blitzloop/res/web/index.html @@ -4,6 +4,7 @@ BlitzLoop + diff --git a/blitzloop/res/web/js/app.js b/blitzloop/res/web/js/app.js index bf0e29a..7771a29 100644 --- a/blitzloop/res/web/js/app.js +++ b/blitzloop/res/web/js/app.js @@ -124,6 +124,25 @@ app.directive('slider', function($document){ } }); +app.filter('normalize', function() { + return function(input) { + if (!input) { + return input; + } + var val = japanese.katakanize(input); + var out = ""; + for (var i = 0; i < val.length; i++) { + var v = g_cfg.normalize_tbl[val.charCodeAt(i)]; + if (v === undefined) { + out += val.charAt(i); + } else if (v !== null) { + out += v; + } + } + return out; + }; +}); + app.run(['translate', function(translate) { translate.add(g_i18n); }]); diff --git a/blitzloop/res/web/js/japanese.min.js b/blitzloop/res/web/js/japanese.min.js new file mode 100644 index 0000000..821f7bb --- /dev/null +++ b/blitzloop/res/web/js/japanese.min.js @@ -0,0 +1,21 @@ +/** + * japanese.js - Util collection for Japanese text processing. Hiraganize, Katakanize, and Romanize. + * @version v1.1.0 + * @link https://github.com/hakatashi/japanese.js + * @license MIT + */ +!function t(e,r,n){function i(u,s){if(!r[u]){if(!e[u]){var f="function"==typeof require&&require;if(!s&&f)return f(u,!0);if(o)return o(u,!0);var a=new Error("Cannot find module '"+u+"'");throw a.code="MODULE_NOT_FOUND",a}var c=r[u]={exports:{}};e[u][0].call(c.exports,function(t){var r=e[u][1][t];return i(r?r:t)},c,c.exports,t,e,r,n)}return r[u].exports}for(var o="function"==typeof require&&require,u=0;u0)throw new Error("Invalid string. Length must be a multiple of 4");o="="===t[s-2]?2:"="===t[s-1]?1:0,u=new c(3*s/4-o),n=o>0?s-4:s;var f=0;for(e=0,r=0;e>16&255,u[f++]=i>>8&255,u[f++]=255&i;return 2===o?(i=a[t.charCodeAt(e)]<<2|a[t.charCodeAt(e+1)]>>4,u[f++]=255&i):1===o&&(i=a[t.charCodeAt(e)]<<10|a[t.charCodeAt(e+1)]<<4|a[t.charCodeAt(e+2)]>>2,u[f++]=i>>8&255,u[f++]=255&i),u}function o(t){return f[t>>18&63]+f[t>>12&63]+f[t>>6&63]+f[63&t]}function u(t,e,r){for(var n,i=[],u=e;uc?c:a+s));return 1===n?(e=t[r-1],i+=f[e>>2],i+=f[e<<4&63],i+="=="):2===n&&(e=(t[r-2]<<8)+t[r-1],i+=f[e>>10],i+=f[e>>4&63],i+=f[e<<2&63],i+="="),o.push(i),o.join("")}r.toByteArray=i,r.fromByteArray=s;var f=[],a=[],c="undefined"!=typeof Uint8Array?Uint8Array:Array;n()},{}],4:[function(t,e,r){!function(t){"use strict";function r(){function t(e){var n=this;return n instanceof t?(e instanceof t?(n.s=e.s,n.e=e.e,n.c=e.c.slice()):i(n,e),void(n.constructor=t)):void 0===e?r():new t(e)}return t.prototype=d,t.DP=f,t.RM=a,t.E_NEG=l,t.E_POS=p,t}function n(t,e,r){var n=t.constructor,i=e-(t=new n(t)).e,u=t.c;for(u.length>++e&&o(t,i,n.RM),u[0]?r?i=e:(u=t.c,i=t.e+i+1):++i;u.length1?u[0]+"."+u.join("").slice(1):u[0])+(i<0?"e":"e+")+i:t.toString()}function i(t,e){var r,n,i;for(0===e&&1/e<0?e="-0":y.test(e+="")||u(NaN),t.s="-"==e.charAt(0)?(e=e.slice(1),-1):1,(r=e.indexOf("."))>-1&&(e=e.replace(".","")),(n=e.search(/e/i))>0?(r<0&&(r=n),r+=+e.slice(n+1),e=e.substring(0,n)):r<0&&(r=e.length),n=0;"0"==e.charAt(n);n++);if(n==(i=e.length))t.c=[t.e=0];else{for(;"0"==e.charAt(--i););for(t.e=r-n-1,t.c=[],r=0;n<=i;t.c[r++]=+e.charAt(n++));}return t}function o(t,e,r,n){var i,o=t.c,s=t.e+e+1;if(1===r?n=o[s]>=5:2===r?n=o[s]>5||5==o[s]&&(n||s<0||o[s+1]!==i||1&o[s-1]):3===r?n=n||o[s]!==i||s<0:(n=!1,0!==r&&u("!Big.RM!")),s<1||!o[0])n?(t.e=-e,t.c=[1]):t.c=[t.e=0];else{if(o.length=s--,n)for(;++o[s]>9;)o[s]=0,s--||(++t.e,o.unshift(1));for(s=o.length;!o[--s];o.pop());}return t}function u(t){var e=new Error(t);throw e.name="BigError",e}/* + big.js v3.1.3 + A small, fast, easy-to-use library for arbitrary-precision decimal arithmetic. + https://github.com/MikeMcl/big.js/ + Copyright (c) 2014 Michael Mclaughlin + MIT Expat Licence +*/ +var s,f=20,a=1,c=1e6,h=1e6,l=-7,p=21,d={},y=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;d.abs=function(){var t=new this.constructor(this);return t.s=1,t},d.cmp=function(t){var e,r=this,n=r.c,i=(t=new r.constructor(t)).c,o=r.s,u=t.s,s=r.e,f=t.e;if(!n[0]||!i[0])return n[0]?o:i[0]?-u:0;if(o!=u)return o;if(e=o<0,s!=f)return s>f^e?1:-1;for(o=-1,u=(s=n.length)<(f=i.length)?s:f;++oi[o]^e?1:-1;return s==f?0:s>f^e?1:-1},d.div=function(t){var e=this,r=e.constructor,n=e.c,i=(t=new r(t)).c,s=e.s==t.s?1:-1,f=r.DP;if((f!==~~f||f<0||f>c)&&u("!Big.DP!"),!n[0]||!i[0])return n[0]==i[0]&&u(NaN),i[0]||u(s/0),new r(0*s);var a,h,l,p,d,y,g=i.slice(),w=a=i.length,m=n.length,v=n.slice(0,a),b=v.length,E=t,A=E.c=[],R=0,T=f+(E.e=e.e-t.e)+1;for(E.s=s,s=T<0?0:T,g.unshift(0);b++b?1:-1;else for(d=-1,p=0;++dv[d]?1:-1;break}if(!(p<0))break;for(h=b==a?i:g;b;){if(v[--b]T&&o(E,f,r.RM,v[0]!==y),E},d.eq=function(t){return!this.cmp(t)},d.gt=function(t){return this.cmp(t)>0},d.gte=function(t){return this.cmp(t)>-1},d.lt=function(t){return this.cmp(t)<0},d.lte=function(t){return this.cmp(t)<1},d.sub=d.minus=function(t){var e,r,n,i,o=this,u=o.constructor,s=o.s,f=(t=new u(t)).s;if(s!=f)return t.s=-f,o.plus(t);var a=o.c.slice(),c=o.e,h=t.c,l=t.e;if(!a[0]||!h[0])return h[0]?(t.s=-f,t):new u(a[0]?o:0);if(s=c-l){for((i=s<0)?(s=-s,n=a):(l=c,n=h),n.reverse(),f=s;f--;n.push(0));n.reverse()}else for(r=((i=a.length0)for(;f--;a[e++]=0);for(f=e;r>s;){if(a[--r]0?(f=u,e=a):(i=-i,e=s),e.reverse();i--;e.push(0));e.reverse()}for(s.length-a.length<0&&(e=a,a=s,s=e),i=a.length,o=0;i;)o=(s[--i]=s[i]+a[i]+o)/10|0,s[i]%=10;for(o&&(s.unshift(o),++f),i=s.length;0===s[--i];s.pop());return t.c=s,t.e=f,t},d.pow=function(t){var e=this,r=new e.constructor(1),n=r,i=t<0;for((t!==~~t||t<-h||t>h)&&u("!pow!"),t=i?-t:t;1&t&&(n=n.times(e)),t>>=1,t;)e=e.times(e);return i?r.div(n):n},d.round=function(t,e){var r=this,n=r.constructor;return null==t?t=0:(t!==~~t||t<0||t>c)&&u("!round!"),o(r=new n(r),t,null==e?n.RM:e),r},d.sqrt=function(){var t,e,r,n=this,i=n.constructor,s=n.c,f=n.s,a=n.e,c=new i("0.5");if(!s[0])return new i(n);f<0&&u(NaN),f=Math.sqrt(n.toString()),0===f||f===1/0?(t=s.join(""),t.length+a&1||(t+="0"),e=new i(Math.sqrt(t).toString()),e.e=((a+1)/2|0)-(a<0||1&a)):e=new i(f.toString()),f=e.e+(i.DP+=4);do r=e,e=c.times(r.plus(n.div(r)));while(r.c.slice(0,f).join("")!==e.c.slice(0,f).join(""));return o(e,i.DP-=4,i.RM),e},d.mul=d.times=function(t){var e,r=this,n=r.constructor,i=r.c,o=(t=new n(t)).c,u=i.length,s=o.length,f=r.e,a=t.e;if(t.s=r.s==t.s?1:-1,!i[0]||!o[0])return new n(0*t.s);for(t.e=f+a,uf;)s=e[a]+o[f]*i[a-f-1]+s,e[a--]=s%10,s=s/10|0;e[a]=(e[a]+s)%10}for(s&&++t.e,e[0]||e.shift(),f=e.length;!e[--f];e.pop());return t.c=e,t},d.toString=d.valueOf=d.toJSON=function(){var t=this,e=t.constructor,r=t.e,n=t.c.join(""),i=n.length;if(r<=e.E_NEG||r>=e.E_POS)n=n.charAt(0)+(i>1?"."+n.slice(1):"")+(r<0?"e":"e+")+r;else if(r<0){for(;++r;n="0"+n);n="0."+n}else if(r>0)if(++r>i)for(r-=i;r--;n+="0");else r1&&(n=n.charAt(0)+"."+n.slice(1));return t.s<0&&t.c[0]?"-"+n:n},d.toExponential=function(t){return null==t?t=this.c.length-1:(t!==~~t||t<0||t>c)&&u("!toExp!"),n(this,t,1)},d.toFixed=function(t){var e,r=this,i=r.constructor,o=i.E_NEG,s=i.E_POS;return i.E_NEG=-(i.E_POS=1/0),null==t?e=r.toString():t===~~t&&t>=0&&t<=c&&(e=n(r,r.e+t),r.s<0&&r.c[0]&&e.indexOf("-")<0&&(e="-"+e)),i.E_NEG=o,i.E_POS=s,e||u("!toFix!"),e},d.toPrecision=function(t){return null==t?this.toString():((t!==~~t||t<1||t>c)&&u("!toPre!"),n(this,t-1,2))},s=r(),"function"==typeof define&&define.amd?define(function(){return s}):"undefined"!=typeof e&&e.exports?e.exports=s:t.Big=s}(this)},{}],5:[function(t,e,r){(function(e){/*! + * The buffer module from node.js, for the browser. + * + * @author Feross Aboukhadijeh + * @license MIT + */ +"use strict";function n(){try{var t=new Uint8Array(1);return t.foo=function(){return 42},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}function i(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function o(t,e){if(i()=i())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i().toString(16)+" bytes");return 0|t}function g(t){return+t!=t&&(t=0),u.alloc(+t)}function w(t,e){if(u.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"binary":case"raw":case"raws":return r;case"utf8":case"utf-8":case void 0:return G(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return K(t).length;default:if(n)return G(t).length;e=(""+e).toLowerCase(),n=!0}}function m(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if(r>>>=0,e>>>=0,r<=e)return"";for(t||(t="utf8");;)switch(t){case"hex":return k(this,e,r);case"utf8":case"utf-8":return U(this,e,r);case"ascii":return B(this,e,r);case"binary":return z(this,e,r);case"base64":return S(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return x(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function v(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function b(t,e,r,n){function i(t,e){return 1===o?t[e]:t.readUInt16BE(e*o)}var o=1,u=t.length,s=e.length;if(void 0!==n&&(n=String(n).toLowerCase(),"ucs2"===n||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;o=2,u/=2,s/=2,r/=2}for(var f=-1,a=0;r+ai&&(n=i)):n=i;var o=e.length;if(o%2!==0)throw new Error("Invalid hex string");n>o/2&&(n=o/2);for(var u=0;u239?4:o>223?3:o>191?2:1;if(i+s<=r){var f,a,c,h;switch(s){case 1:o<128&&(u=o);break;case 2:f=t[i+1],128===(192&f)&&(h=(31&o)<<6|63&f,h>127&&(u=h));break;case 3:f=t[i+1],a=t[i+2],128===(192&f)&&128===(192&a)&&(h=(15&o)<<12|(63&f)<<6|63&a,h>2047&&(h<55296||h>57343)&&(u=h));break;case 4:f=t[i+1],a=t[i+2],c=t[i+3],128===(192&f)&&128===(192&a)&&128===(192&c)&&(h=(15&o)<<18|(63&f)<<12|(63&a)<<6|63&c,h>65535&&h<1114112&&(u=h))}}null===u?(u=65533,s=1):u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|1023&u),n.push(u),i+=s}return N(n)}function N(t){var e=t.length;if(e<=W)return String.fromCharCode.apply(String,t);for(var r="",n=0;nn)&&(r=n);for(var i="",o=e;or)throw new RangeError("Trying to access beyond buffer length")}function O(t,e,r,n,i,o){if(!u.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||et.length)throw new RangeError("Index out of range")}function C(t,e,r,n){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-r,2);i>>8*(n?i:1-i)}function M(t,e,r,n){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-r,4);i>>8*(n?i:3-i)&255}function Y(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function I(t,e,r,n,i){return i||Y(t,e,r,4,3.4028234663852886e38,-3.4028234663852886e38),Z.write(t,e,r,n,23,4),r+4}function D(t,e,r,n,i){return i||Y(t,e,r,8,1.7976931348623157e308,-1.7976931348623157e308),Z.write(t,e,r,n,52,8),r+8}function L(t){if(t=F(t).replace(tt,""),t.length<2)return"";for(;t.length%4!==0;)t+="=";return t}function F(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function q(t){return t<16?"0"+t.toString(16):t.toString(16)}function G(t,e){e=e||1/0;for(var r,n=t.length,i=null,o=[],u=0;u55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(u+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function $(t){for(var e=[],r=0;r>8,i=r%256,o.push(i),o.push(n);return o}function K(t){return X.toByteArray(L(t))}function J(t,e,r,n){for(var i=0;i=e.length||i>=t.length);i++)e[i+r]=t[i];return i}function V(t){return t!==t}var X=t("base64-js"),Z=t("ieee754"),Q=t("isarray");r.Buffer=u,r.SlowBuffer=g,r.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:n(),r.kMaxLength=i(),u.poolSize=8192,u._augment=function(t){return t.__proto__=u.prototype,t},u.from=function(t,e,r){return s(null,t,e,r)},u.TYPED_ARRAY_SUPPORT&&(u.prototype.__proto__=Uint8Array.prototype,u.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&u[Symbol.species]===u&&Object.defineProperty(u,Symbol.species,{value:null,configurable:!0})),u.alloc=function(t,e,r){return a(null,t,e,r)},u.allocUnsafe=function(t){return c(null,t)},u.allocUnsafeSlow=function(t){return c(null,t)},u.isBuffer=function(t){return!(null==t||!t._isBuffer)},u.compare=function(t,e){if(!u.isBuffer(t)||!u.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var r=t.length,n=e.length,i=0,o=Math.min(r,n);i0&&(t=this.toString("hex",0,e).match(/.{2}/g).join(" "),this.length>e&&(t+=" ... ")),""},u.prototype.compare=function(t,e,r,n,i){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),e<0||r>t.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&e>=r)return 0;if(n>=i)return-1;if(e>=r)return 1;if(e>>>=0,r>>>=0,n>>>=0,i>>>=0,this===t)return 0;for(var o=i-n,s=r-e,f=Math.min(o,s),a=this.slice(n,i),c=t.slice(e,r),h=0;h2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e>>=0,0===this.length)return-1;if(e>=this.length)return-1;if(e<0&&(e=Math.max(this.length+e,0)),"string"==typeof t&&(t=u.from(t,r)),u.isBuffer(t))return 0===t.length?-1:b(this,t,e,r);if("number"==typeof t)return u.TYPED_ARRAY_SUPPORT&&"function"===Uint8Array.prototype.indexOf?Uint8Array.prototype.indexOf.call(this,t,e):b(this,[t],e,r);throw new TypeError("val must be string, number or Buffer")},u.prototype.includes=function(t,e,r){return this.indexOf(t,e,r)!==-1},u.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e=0|e,isFinite(r)?(r=0|r,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-e;if((void 0===r||r>i)&&(r=i),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return E(this,t,e,r);case"utf8":case"utf-8":return A(this,t,e,r);case"ascii":return R(this,t,e,r);case"binary":return T(this,t,e,r);case"base64":return _(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,t,e,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var W=4096;u.prototype.slice=function(t,e){var r=this.length;t=~~t,e=void 0===e?r:~~e,t<0?(t+=r,t<0&&(t=0)):t>r&&(t=r),e<0?(e+=r,e<0&&(e=0)):e>r&&(e=r),e0&&(i*=256);)n+=this[t+--e]*i;return n},u.prototype.readUInt8=function(t,e){return e||j(t,1,this.length),this[t]},u.prototype.readUInt16LE=function(t,e){return e||j(t,2,this.length),this[t]|this[t+1]<<8},u.prototype.readUInt16BE=function(t,e){return e||j(t,2,this.length),this[t]<<8|this[t+1]},u.prototype.readUInt32LE=function(t,e){return e||j(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},u.prototype.readUInt32BE=function(t,e){return e||j(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},u.prototype.readIntLE=function(t,e,r){t=0|t,e=0|e,r||j(t,e,this.length);for(var n=this[t],i=1,o=0;++o=i&&(n-=Math.pow(2,8*e)),n},u.prototype.readIntBE=function(t,e,r){t=0|t,e=0|e,r||j(t,e,this.length);for(var n=e,i=1,o=this[t+--n];n>0&&(i*=256);)o+=this[t+--n]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*e)),o},u.prototype.readInt8=function(t,e){return e||j(t,1,this.length),128&this[t]?(255-this[t]+1)*-1:this[t]},u.prototype.readInt16LE=function(t,e){e||j(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(t,e){e||j(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(t,e){return e||j(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},u.prototype.readInt32BE=function(t,e){return e||j(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},u.prototype.readFloatLE=function(t,e){return e||j(t,4,this.length),Z.read(this,t,!0,23,4)},u.prototype.readFloatBE=function(t,e){return e||j(t,4,this.length),Z.read(this,t,!1,23,4)},u.prototype.readDoubleLE=function(t,e){return e||j(t,8,this.length),Z.read(this,t,!0,52,8)},u.prototype.readDoubleBE=function(t,e){return e||j(t,8,this.length),Z.read(this,t,!1,52,8)},u.prototype.writeUIntLE=function(t,e,r,n){if(t=+t,e=0|e,r=0|r,!n){var i=Math.pow(2,8*r)-1;O(this,t,e,r,i,0)}var o=1,u=0;for(this[e]=255&t;++u=0&&(u*=256);)this[e+o]=t/u&255;return e+r},u.prototype.writeUInt8=function(t,e,r){return t=+t,e=0|e,r||O(this,t,e,1,255,0),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},u.prototype.writeUInt16LE=function(t,e,r){return t=+t,e=0|e,r||O(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):C(this,t,e,!0),e+2},u.prototype.writeUInt16BE=function(t,e,r){return t=+t,e=0|e,r||O(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):C(this,t,e,!1),e+2},u.prototype.writeUInt32LE=function(t,e,r){return t=+t,e=0|e,r||O(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):M(this,t,e,!0),e+4},u.prototype.writeUInt32BE=function(t,e,r){return t=+t,e=0|e,r||O(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):M(this,t,e,!1),e+4},u.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e=0|e,!n){var i=Math.pow(2,8*r-1);O(this,t,e,r,i-1,-i)}var o=0,u=1,s=0;for(this[e]=255&t;++o>0)-s&255;return e+r},u.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e=0|e,!n){var i=Math.pow(2,8*r-1);O(this,t,e,r,i-1,-i)}var o=r-1,u=1,s=0;for(this[e+o]=255&t;--o>=0&&(u*=256);)t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/u>>0)-s&255;return e+r},u.prototype.writeInt8=function(t,e,r){return t=+t,e=0|e,r||O(this,t,e,1,127,-128),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},u.prototype.writeInt16LE=function(t,e,r){return t=+t,e=0|e,r||O(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):C(this,t,e,!0),e+2},u.prototype.writeInt16BE=function(t,e,r){return t=+t,e=0|e,r||O(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):C(this,t,e,!1),e+2},u.prototype.writeInt32LE=function(t,e,r){return t=+t,e=0|e,r||O(this,t,e,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):M(this,t,e,!0),e+4},u.prototype.writeInt32BE=function(t,e,r){return t=+t,e=0|e,r||O(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):M(this,t,e,!1),e+4},u.prototype.writeFloatLE=function(t,e,r){return I(this,t,e,!0,r)},u.prototype.writeFloatBE=function(t,e,r){return I(this,t,e,!1,r)},u.prototype.writeDoubleLE=function(t,e,r){return D(this,t,e,!0,r)},u.prototype.writeDoubleBE=function(t,e,r){return D(this,t,e,!1,r)},u.prototype.copy=function(t,e,r,n){if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e=0;i--)t[i+e]=this[i+r];else if(o<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,r=void 0===r?this.length:r>>>0,t||(t=0);var o;if("number"==typeof t)for(o=e;o>1,c=-7,h=r?i-1:0,l=r?-1:1,p=t[e+h];for(h+=l,o=p&(1<<-c)-1,p>>=-c,c+=s;c>0;o=256*o+t[e+h],h+=l,c-=8);for(u=o&(1<<-c)-1,o>>=-c,c+=n;c>0;u=256*u+t[e+h],h+=l,c-=8);if(0===o)o=1-a;else{if(o===f)return u?NaN:(p?-1:1)*(1/0);u+=Math.pow(2,n),o-=a}return(p?-1:1)*u*Math.pow(2,o-n)},r.write=function(t,e,r,n,i,o){var u,s,f,a=8*o-i-1,c=(1<>1,l=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:o-1,d=n?1:-1,y=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,u=c):(u=Math.floor(Math.log(e)/Math.LN2),e*(f=Math.pow(2,-u))<1&&(u--,f*=2),e+=u+h>=1?l/f:l*Math.pow(2,1-h),e*f>=2&&(u++,f/=2),u+h>=c?(s=0,u=c):u+h>=1?(s=(e*f-1)*Math.pow(2,i),u+=h):(s=e*Math.pow(2,h-1)*Math.pow(2,i),u=0));i>=8;t[r+p]=255&s,p+=d,s/=256,i-=8);for(u=u<0;t[r+p]=255&u,p+=d,u/=256,a-=8);t[r+p-d]|=128*y}},{}],8:[function(t,e,r){var n={}.toString;e.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},{}],9:[function(t,e,r){function n(){l&&c&&(l=!1,c.length?h=c.concat(h):p=-1,h.length&&i())}function i(){if(!l){var t=s(n);l=!0;for(var e=h.length;e;){for(c=h,h=[];++p1)for(var r=1;ro.unitNames.lit&&(w=e.slice(0,-o.unitNames.lit).split("").map(function(t){return o.digits[t]}).join(""),e=e.slice(-o.unitNames.lit),g=e.length,"0"===e[0]&&(m=!0,e="9"+e.slice(1))),"0"===e)return o.digits[0];var v="";"0"!==e.slice(-1)&&(v+=o.digits[e.slice(-1)]);var b=Object.keys(o.unitNames).map(function(t){return parseInt(t)}).filter(function(t,e,r){return r.indexOf(t)===e}).filter(function(t){return isFinite(t)&&t>0}).sort(function(t,e){return t-e});return b.forEach(function(r,n){var i=b[n+1]||1/0,u=e.slice(Math.max(g-i,0),Math.max(g-r,0));u.length>0&&(u.split("").every(function(t){return"0"===t})||(v=o.truncateOne.indexOf(o.unitNames[r])!==-1&&1===parseInt(u)?o.unitNames[r]+v:t.transcribeNumber(u,o)+o.unitNames[r]+v))}),m&&(v=v.replace(new RegExp("^"+o.digits[9]),o.digits[0])),v=w+v},t}}).call(this,t("buffer").Buffer)},{"big.js":4,buffer:5,extend:6}],12:[function(t,e,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t},i="function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?function(t){return"undefined"==typeof t?"undefined":n(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":"undefined"==typeof t?"undefined":n(t)},o=t("extend");e.exports=function(t){t.romanizationTable={"あ":"a","い":"i","う":"u","え":"e","お":"o","か":"ka","き":"ki","く":"ku","け":"ke","こ":"ko","さ":"sa","し":"si","す":"su","せ":"se","そ":"so","た":"ta","ち":"ti","つ":"tu","て":"te","と":"to","な":"na","に":"ni","ぬ":"nu","ね":"ne","の":"no","は":"ha","ひ":"hi","ふ":"hu","へ":"he","ほ":"ho","ま":"ma","み":"mi","む":"mu","め":"me","も":"mo","や":"ya","ゆ":"yu","よ":"yo","ら":"ra","り":"ri","る":"ru","れ":"re","ろ":"ro","わ":"wa","ゐ":"wi","ゑ":"we","を":"wo","ん":"n","が":"ga","ぎ":"gi","ぐ":"gu","げ":"ge","ご":"go","ざ":"za","じ":"zi","ず":"zu","ぜ":"ze","ぞ":"zo","だ":"da","ぢ":"di","づ":"du","で":"de","ど":"do","ば":"ba","び":"bi","ぶ":"bu","べ":"be","ぼ":"bo","ゔ":"vu","ぱ":"pa","ぴ":"pi","ぷ":"pu","ぺ":"pe","ぽ":"po","きゃ":"kya","きゅ":"kyu","きぇ":"kye","きょ":"kyo","しゃ":"sya","しゅ":"syu","しぇ":"sye","しょ":"syo","ちゃ":"tya","ちゅ":"tyu","ちぇ":"tye","ちょ":"tyo","にゃ":"nya","にゅ":"nyu","にぇ":"nye","にょ":"nyo","ひゃ":"hya","ひゅ":"hyu","ひぇ":"hye","ひょ":"hyo","みゃ":"mya","みゅ":"my","みぇ":"mye","みょ":"myo","りゃ":"rya","りゅ":"ryu","りぇ":"rye","りょ":"ryo","ぎゃ":"gya","ぎゅ":"gyu","ぎぇ":"gye","ぎょ":"gyo","じゃ":"zya","じゅ":"zyu","じぇ":"zye","じょ":"zyo","ぢゃ":"dya","ぢゅ":"dyu","ぢぇ":"dye","ぢょ":"dyo","びゃ":"bya","びゅ":"byu","びぇ":"bye","びょ":"byo","ゔぁ":"va","ゔぃ":"vi","ゔぇ":"ve","ゔぉ":"vo","ぴゃ":"pya","ぴゅ":"pyu","ぴぇ":"pye","ぴょ":"pyo","いぃ":"yi","いぇ":"ye","うぁ":"wa","うぃ":"wi","うぅ":"wu","うぇ":"we","うぉ":"wo","うゅ":"wyu","ゔゃ":"vya","ゔゅ":"vyu","ゔょ":"vyo","くぁ":"kwa","くぃ":"kwi","くぅ":"kwu","くぇ":"kwe","くぉ":"kwo","くゎ":"kwa","ぐぁ":"gwa","ぐぃ":"gwi","ぐぅ":"gwu","ぐぇ":"gwe","ぐぉ":"gwo","ぐゎ":"gwa","すぃ":"si","ずぃ":"zi","つぁ":"tua","つぃ":"tui","つぇ":"tue","つぉ":"tuo","つゅ":"tuyu","づぁ":"dua","づぃ":"dui","づぇ":"due","づぉ":"duo","てゃ":"tea","てぃ":"tei","てゅ":"teu","てぇ":"tee","てょ":"teo","とぅ":"tou","でゃ":"dea","でぃ":"dei","でゅ":"deu","でぇ":"dee","でょ":"deo","どぅ":"dou","ふぁ":"hua","ふぃ":"hui","ふぇ":"hue","ふぉ":"huo","ふゃ":"huya","ふゅ":"huyu","ふょ":"huyo","ほぅ":"hu","ら゚":"la","り゚":"li","る゚":"lu","れ゚":"le","ろ゚":"lo","わ゙":"va","ゐ゙":"vi","ゑ゙":"ve","を゙":"vo","ぁ":"a","ぃ":"i","ぅ":"u","ぇ":"e","ぉ":"o","ゃ":"ya","ゅ":"yu","ょ":"yo","っ":"tu","ゎ":"wa","ヵ":"ka","ヶ":"ke"},t.romanizePuncutuationTable={"。":".","、":",","・":"-","-":"-","「":"“","」":"”","(":"(",")":")"," ":" "," ":" "},t.defaultRomanizationConfig={"し":"shi","ち":"chi","つ":"tsu","ふ":"fu","じ":"ji","ぢ":"ji","づ":"zu","ああ":"aa","いい":"ii","うう":"ū","ええ":"ee","おお":"ō","あー":"ā","えい":"ei","おう":"ō","んあ":"n'a","んば":"nba","っち":"tchi","ゐ":"i","を":"o",punctuation:!0},t.romanizationConfigs={wikipedia:{},"traditional hepburn":{ +"を":"wo","んあ":"n-a","んば":"mba"},"modified hepburn":{"ああ":"ā","いい":"ii","うう":"ū","ええ":"ē","おお":"ō"},kunrei:{"し":"si","ち":"ti","つ":"tu","ふ":"hu","じ":"zi","ぢ":"zi","づ":"zu","ああ":"â","いい":"î","うう":"û","ええ":"ê","おお":"ô","あー":"â","おう":"ô","っち":"tti"},nihon:{"し":"si","ち":"ti","つ":"tu","ふ":"hu","じ":"zi","ぢ":"di","づ":"du","ああ":"ā","いい":"ī","うう":"ū","ええ":"ē","おお":"ō","あー":"ā","おう":"ō","っち":"tti","ゐ":"wi","を":"wo"}},t.romanize=function(e,r){if("undefined"==typeof r&&(r="wikipedia"),"string"==typeof r&&(r=t.romanizationConfigs[r],"undefined"==typeof r))throw new ReferenceError('Romanization method "'+r+'" is undefined');if("object"!==("undefined"==typeof r?"undefined":i(r)))throw new Error("You specified unknown config to japanese.romanize");r=o({},t.defaultRomanizationConfig,r);var n=o({},t.romanizationTable);"shi"===r["し"]&&o(n,{"し":"shi","しゃ":"sha","しゅ":"shu","しぇ":"she","しょ":"sho"}),"chi"===r["ち"]&&o(n,{"ち":"chi","ちゃ":"cha","ちゅ":"chu","ちぇ":"che","ちょ":"cho","てぃ":"ti","てゅ":"tyu"}),"tsu"===r["つ"]&&o(n,{"つ":"tsu","つぁ":"tsa","つぃ":"tsi","つぇ":"tse","つぉ":"tso","つゅ":"tsyu","とぅ":"tu"}),"fu"===r["ふ"]&&o(n,{"ふ":"fu","ふぁ":"fa","ふぃ":"fi","ふぇ":"fe","ふぉ":"fo","ふゃ":"fya","ふゅ":"fyu","ふょ":"fyo"}),"ji"===r["じ"]&&o(n,{"じ":"ji","じゃ":"ja","じゅ":"ju","じぇ":"je","じょ":"jo"}),"ji"===r["ぢ"]&&o(n,{"ぢ":"ji","ぢゃ":"ja","ぢゅ":"ju","ぢぇ":"je","ぢょ":"jo","でぃ":"di","でゅ":"dyu"}),"zi"===r["ぢ"]&&o(n,{"ぢ":"zi","ぢゃ":"zya","ぢゅ":"zyu","ぢぇ":"zye","ぢょ":"zyo","でぃ":"di","でゅ":"dyu"}),"dji"===r["ぢ"]&&o(n,{"ぢ":"dji","ぢゃ":"dja","ぢゅ":"dju","ぢぇ":"dje","ぢょ":"djo","でぃ":"di","でゅ":"dyu"}),"dzi"===r["ぢ"]&&o(n,{"ぢ":"dzi","ぢゃ":"dzya","ぢゅ":"dzyu","ぢぇ":"dzye","ぢょ":"dzyo","でぃ":"di","でゅ":"dyu"}),"zu"===r["づ"]&&o(n,{"づ":"zu","づぁ":"zua","づぃ":"zui","づぇ":"zue","づぉ":"zuo","どぅ":"du"}),"dsu"===r["づ"]&&o(n,{"づ":"dsu","づぁ":"dsua","づぃ":"dsui","づぇ":"dsue","づぉ":"dsuo","どぅ":"du"}),"dzu"===r["づ"]&&o(n,{"づ":"dzu","づぁ":"dzua","づぃ":"dzui","づぇ":"dzue","づぉ":"dzuo","どぅ":"du"}),"i"===r["ゐ"]&&o(n,{"ゐ":"i","ゑ":"e"}),"o"===r["を"]&&o(n,{"を":"o"}),e=t.hiraganize(e);for(var u="",s="";e.length>0;){var f="";if(n[e.slice(0,2)]?(f=e.slice(0,2),e=e.slice(2)):(f=e[0],e=e.slice(1)),"っ"!==f){var a=n[f]||"";"っ"===s&&(a.match(/^[^aiueo]/)?a="ち"===f[0]?"tchi"===r["っち"]?{"ち":"tchi","ちゃ":"tcha","ちゅ":"tchu","ちぇ":"tche","ちょ":"tcho"}[f]:"cchi"===r["っち"]?{"ち":"cchi","ちゃ":"ccha","ちゅ":"cchu","ちぇ":"cche","ちょ":"ccho"}[f]:{"ち":"tti","ちゃ":"ttya","ちゅ":"ttyu","ちぇ":"ttye","ちょ":"ttyo"}[f]:a[0]+a:u+="'"),"ー"===f?u.match(/[aiueo]$/)?("a"===r["あー"]||("ah"===r["あー"]?u+="h":"a-"===r["あー"]?u+="-":"aa"===r["あー"]?u=u.slice(0,-1)+{a:"aa",i:"ii",u:"uu",e:"ee",o:"oo"}[u.slice(-1)]:"â"===r["あー"]?u=u.slice(0,-1)+{a:"â",i:"î",u:"û",e:"ê",o:"ô"}[u.slice(-1)]:"ā"===r["あー"]&&(u=u.slice(0,-1)+{a:"ā",i:"ī",u:"ū",e:"ē",o:"ō"}[u.slice(-1)])),a=""):a="-":"e"===u.slice(-1)&&"i"===a[0]?(a=a.slice(1),"ei"===r["えい"]?u+="i":"ee"===r["えい"]?u+="e":"eh"===r["えい"]?u+="h":"ê"===r["えい"]?u=u.slice(0,-1)+"ê":"ē"===r["えい"]?u=u.slice(0,-1)+"ē":"e"===r["えい"]):"o"===u.slice(-1)&&"u"===a[0]?(a=a.slice(1),"ou"===r["おう"]?u+="u":"oo"===r["おう"]?u+="o":"oh"===r["おう"]?u+="h":"ô"===r["おう"]?u=u.slice(0,-1)+"ô":"ō"===r["おう"]?u=u.slice(0,-1)+"ō":"o"===r["おう"]):u.match(/[aiueo]$/)&&u.slice(-1)===a[0]&&"を"!==f&&(a=a.slice(1),u=u.slice(0,-1)+r[{a:"ああ",i:"いい",u:"うう",e:"ええ",o:"おお"}[u.slice(-1)]]),a.match(/^[bpm]/)&&"ん"===s&&("nba"===r["んば"]||"mba"===r["んば"]&&(u=u.slice(0,-1)+"m")),a.match(/^[aiueoy]/)&&"ん"===s&&("na"===r["んあ"]||("n'a"===r["んあ"]?a="'"+a:"n-a"===r["んあ"]&&(a="-"+a))),r.punctuation&&t.romanizePuncutuationTable[f]&&(a=t.romanizePuncutuationTable[f]),u+=a,s=f}else s=f}return"っ"===s&&(u+="'"),u}}},{extend:6}]},{},[1]); \ No newline at end of file diff --git a/blitzloop/res/web/partials/song-list.html b/blitzloop/res/web/partials/song-list.html index 6642000..fd1e6dc 100644 --- a/blitzloop/res/web/partials/song-list.html +++ b/blitzloop/res/web/partials/song-list.html @@ -1,10 +1,10 @@
-
- Search: +