-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.js
14 lines (14 loc) · 50.1 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["jo-i18n"]=t():e["jo-i18n"]=t()}(this,function(){return function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var r={};return t.m=e,t.c=r,t.p="",t(0)}([function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);e.length>t;t++)r[t]=e[t];return r}return Array.from(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.translateProvider=t.__=t.extendDict=void 0;var i=r(6),a=n(i),u={},c=function(){var e=document.getElementsByTagName("META"),t=[].concat(o(e)).filter(function(e){return"Content-Language"===e.getAttribute("http-equiv")})[0];return t&&t.getAttribute("content")||!1},s=c()||window.navigator.language||"zh-CN",l=(t.extendDict=function(e){Object.keys(e).forEach(function(t){t in u?Object.assign(u[t],e[t]):u[t]=e[t]})},t.__=function(){for(var e=arguments.length,t=Array(e),r=0;e>r;r++)t[r]=arguments[r];switch("string"!=typeof t[0]&&console.error("‘__’函数第一个参数接受一个字符串作为字典匹配键名。"),t.length){case 1:return u[s][t[0]]||t[0];case 2:var n=new a["default"](s),o=n.compile(u[s][t[0]]);return o(t[1]);default:return console.error("输入参数个数有误,‘__’函数只接受一到两个参数。")}});t.translateProvider=function(e,t){function r(e){var t=function(){var t=n(e[0]);t.forEach(function(e){e.tagName&&"INPUT"===e.tagName?e.value=l(e.value.trim()):e.nodeValue=l(e.nodeValue.trim())})};this.$doCheck=t}var n=function(e){var t=[];return function r(e){var n=e.childNodes;0!==n.length&&n.forEach(function(e){(3===e.nodeType&&/\S/.test(e.nodeValue)||"INPUT"===e.tagName&&!e.hasAttribute("notranslate"))&&t.push(e),1!==e.nodeType||e.hasAttribute("notranslate")||e.isContentEditable||r(e)})}(e),t};return r.$inject=["$element"],e.module("components[name]",[]).directive(t,function(){return{restrict:"A",controller:r}}).name}},function(e,t,r){function n(e){this.mf=e,this.lc=null,this.locales={},this.runtime={},this.formatters={}}var o=r(9),i=r(5).parse;e.exports=n,n.propname=function(e,t){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(e)&&["break","continue","delete","else","for","function","if","in","new","return","this","typeof","var","void","while","with","case","catch","default","do","finally","instanceof","switch","throw","try"].indexOf(e)<0)return t?t+"."+e:e;var r=JSON.stringify(e);return t?t+"["+r+"]":r},n.funcname=function(e){var t=e.trim().replace(/\W+/g,"_");return o.check(t,"es2015",!0)||/^\d/.test(t)?"_"+t:t},n.bidiMarkText=function(e,t){function r(e){var t=["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"];return RegExp("^"+t.join("|^")).test(e)}var n=JSON.stringify(r(t)?"":"");return n+" + "+e+" + "+n},n.prototype.cases=function(e,t){var r=!0,o=e.cases.map(function(e){"other"===e.key&&(r=!1);var o=e.tokens.map(function(e){return this.token(e,t)},this);return n.propname(e.key)+": "+(o.join(" + ")||'""')},this);if(r)throw Error("No 'other' form found in "+JSON.stringify(e));return"{ "+o.join(", ")+" }"},n.prototype.token=function(e,t){if("string"==typeof e)return JSON.stringify(e);var r,o=[n.propname(e.arg,"d")];switch(e.type){case"argument":return this.mf.bidiSupport?n.bidiMarkText(o[0],this.lc):o[0];case"select":r="select",o.push(this.cases(e,this.mf.strictNumberSign?null:t)),this.runtime.select=!0;break;case"selectordinal":r="plural",o.push(0,n.funcname(this.lc),this.cases(e,e),1),this.locales[this.lc]=!0,this.runtime.plural=!0;break;case"plural":r="plural",o.push(e.offset||0,n.funcname(this.lc),this.cases(e,e)),this.locales[this.lc]=!0,this.runtime.plural=!0;break;case"function":if(this.mf.intlSupport&&!(e.key in this.mf.fmt)&&e.key in this.mf.constructor.formatters){var i=this.mf.constructor.formatters[e.key];this.mf.fmt[e.key]="function"==typeof i(this.mf)?i(this.mf):i}if(!this.mf.fmt[e.key])throw Error("Formatting function "+JSON.stringify(e.key)+" not found!");if(o.push(JSON.stringify(this.lc)),e.params)switch(e.params.length){case 0:break;case 1:o.push(JSON.stringify(e.params[0]));break;default:o.push(JSON.stringify(e.params))}r=n.propname(e.key,"fmt"),this.formatters[e.key]=!0;break;case"octothorpe":if(!t)return'"#"';r="number",o=[n.propname(t.arg,"d"),JSON.stringify(t.arg)],t.offset&&o.push(t.offset),this.runtime.number=!0}if(!r)throw Error("Parser error for token "+JSON.stringify(e));return r+"("+o.join(", ")+")"},n.prototype.compile=function(e,t,r){if("object"!=typeof e){this.lc=t;var n=r[t]||{cardinal:[],ordinal:[]},o=i(e,n).map(function(e){return this.token(e)},this);return"function(d) { return "+(o.join(" + ")||'""')+"; }"}var a={};for(var u in e){var c=r.hasOwnProperty(u)?u:t;a[u]=this.compile(e[u],c,r)}return a}},function(e,t,r){(function(t){"use strict";/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
* @license MIT
*/
function n(e,t){if(e===t)return 0;for(var r=e.length,n=t.length,o=0,i=Math.min(r,n);i>o;++o)if(e[o]!==t[o]){r=e[o],n=t[o];break}return n>r?-1:r>n?1:0}function o(e){return t.Buffer&&"function"==typeof t.Buffer.isBuffer?t.Buffer.isBuffer(e):!(null==e||!e._isBuffer)}function i(e){return Object.prototype.toString.call(e)}function a(e){return!o(e)&&("function"==typeof t.ArrayBuffer&&("function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):!!e&&(e instanceof DataView||!!(e.buffer&&e.buffer instanceof ArrayBuffer))))}function u(e){if(b.isFunction(e)){if(j)return e.name;var t=""+e,r=t.match(E);return r&&r[1]}}function c(e,t){return"string"==typeof e?t>e.length?e:e.slice(0,t):e}function s(e){if(j||!b.isFunction(e))return b.inspect(e);var t=u(e),r=t?": "+t:"";return"[Function"+r+"]"}function l(e){return c(s(e.actual),128)+" "+e.operator+" "+c(s(e.expected),128)}function f(e,t,r,n,o){throw new A.AssertionError({message:r,actual:e,expected:t,operator:n,stackStartFunction:o})}function h(e,t){e||f(e,!0,t,"==",A.ok)}function p(e,t,r,u){if(e===t)return!0;if(o(e)&&o(t))return 0===n(e,t);if(b.isDate(e)&&b.isDate(t))return e.getTime()===t.getTime();if(b.isRegExp(e)&&b.isRegExp(t))return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase;if(null!==e&&"object"==typeof e||null!==t&&"object"==typeof t){if(a(e)&&a(t)&&i(e)===i(t)&&!(e instanceof Float32Array||e instanceof Float64Array))return 0===n(new Uint8Array(e.buffer),new Uint8Array(t.buffer));if(o(e)!==o(t))return!1;u=u||{actual:[],expected:[]};var c=u.actual.indexOf(e);return c!==-1&&c===u.expected.indexOf(t)||(u.actual.push(e),u.expected.push(t),m(e,t,r,u))}return r?e===t:e==t}function d(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function m(e,t,r,n){if(null===e||void 0===e||null===t||void 0===t)return!1;if(b.isPrimitive(e)||b.isPrimitive(t))return e===t;if(r&&Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1;var o=d(e),i=d(t);if(o&&!i||!o&&i)return!1;if(o)return e=x.call(e),t=x.call(t),p(e,t,r);var a,u,c=S(e),s=S(t);if(c.length!==s.length)return!1;for(c.sort(),s.sort(),u=c.length-1;u>=0;u--)if(c[u]!==s[u])return!1;for(u=c.length-1;u>=0;u--)if(a=c[u],!p(e[a],t[a],r,n))return!1;return!0}function y(e,t,r){p(e,t,!0)&&f(e,t,r,"notDeepStrictEqual",y)}function g(e,t){if(!e||!t)return!1;if("[object RegExp]"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch(r){}return!Error.isPrototypeOf(t)&&t.call({},e)===!0}function v(e){var t;try{e()}catch(r){t=r}return t}function w(e,t,r,n){var o;if("function"!=typeof t)throw new TypeError('"block" argument must be a function');"string"==typeof r&&(n=r,r=null),o=v(t),n=(r&&r.name?" ("+r.name+").":".")+(n?" "+n:"."),e&&!o&&f(o,r,"Missing expected exception"+n);var i="string"==typeof n,a=!e&&b.isError(o),u=!e&&o&&!r;if((a&&i&&g(o,r)||u)&&f(o,r,"Got unwanted exception"+n),e&&o&&r&&!g(o,r)||!e&&o)throw o}var b=r(13),k=Object.prototype.hasOwnProperty,x=Array.prototype.slice,j=function(){return"foo"===function(){}.name}(),A=e.exports=h,E=/\s*function\s+([^\(\s]*)\s*/;A.AssertionError=function(e){this.name="AssertionError",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=l(this),this.generatedMessage=!0);var t=e.stackStartFunction||f;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var r=Error();if(r.stack){var n=r.stack,o=u(t),i=n.indexOf("\n"+o);if(i>=0){var a=n.indexOf("\n",i+1);n=n.substring(a+1)}this.stack=n}}},b.inherits(A.AssertionError,Error),A.fail=f,A.ok=h,A.equal=function(e,t,r){e!=t&&f(e,t,r,"==",A.equal)},A.notEqual=function(e,t,r){e==t&&f(e,t,r,"!=",A.notEqual)},A.deepEqual=function(e,t,r){p(e,t,!1)||f(e,t,r,"deepEqual",A.deepEqual)},A.deepStrictEqual=function(e,t,r){p(e,t,!0)||f(e,t,r,"deepStrictEqual",A.deepStrictEqual)},A.notDeepEqual=function(e,t,r){p(e,t,!1)&&f(e,t,r,"notDeepEqual",A.notDeepEqual)},A.notDeepStrictEqual=y,A.strictEqual=function(e,t,r){e!==t&&f(e,t,r,"===",A.strictEqual)},A.notStrictEqual=function(e,t,r){e===t&&f(e,t,r,"!==",A.notStrictEqual)},A["throws"]=function(e,t,r){w(!0,e,t,r)},A.doesNotThrow=function(e,t,r){w(!1,e,t,r)},A.ifError=function(e){if(e)throw e};var S=Object.keys||function(e){var t=[];for(var r in e)k.call(e,r)&&t.push(r);return t}}).call(t,function(){return this}())},function(e,t,r){var n,o,i=[{cardinal:["other"],ordinal:["other"]},{cardinal:["one","other"],ordinal:["other"]},{cardinal:["one","other"],ordinal:["one","other"]},{cardinal:["one","two","other"],ordinal:["other"]}];!function(i,a){n=a,o="function"==typeof n?n.call(t,r,t,e):n,!(void 0!==o&&(e.exports=o))}(this,{af:i[1],ak:i[1],am:i[1],ar:{cardinal:["zero","one","two","few","many","other"],ordinal:["other"]},as:{cardinal:["one","other"],ordinal:["one","two","few","many","other"]},asa:i[1],ast:i[1],az:{cardinal:["one","other"],ordinal:["one","few","many","other"]},be:{cardinal:["one","few","many","other"],ordinal:["few","other"]},bem:i[1],bez:i[1],bg:i[1],bh:i[1],bm:i[0],bn:{cardinal:["one","other"],ordinal:["one","two","few","many","other"]},bo:i[0],br:{cardinal:["one","two","few","many","other"],ordinal:["other"]},brx:i[1],bs:{cardinal:["one","few","other"],ordinal:["other"]},ca:{cardinal:["one","other"],ordinal:["one","two","few","other"]},ce:i[1],cgg:i[1],chr:i[1],ckb:i[1],cs:{cardinal:["one","few","many","other"],ordinal:["other"]},cy:{cardinal:["zero","one","two","few","many","other"],ordinal:["zero","one","two","few","many","other"]},da:i[1],de:i[1],dsb:{cardinal:["one","two","few","other"],ordinal:["other"]},dv:i[1],dz:i[0],ee:i[1],el:i[1],en:{cardinal:["one","other"],ordinal:["one","two","few","other"]},eo:i[1],es:i[1],et:i[1],eu:i[1],fa:i[1],ff:i[1],fi:i[1],fil:i[2],fo:i[1],fr:i[2],fur:i[1],fy:i[1],ga:{cardinal:["one","two","few","many","other"],ordinal:["one","other"]},gd:{cardinal:["one","two","few","other"],ordinal:["other"]},gl:i[1],gsw:i[1],gu:{cardinal:["one","other"],ordinal:["one","two","few","many","other"]},guw:i[1],gv:{cardinal:["one","two","few","many","other"],ordinal:["other"]},ha:i[1],haw:i[1],he:{cardinal:["one","two","many","other"],ordinal:["other"]},hi:{cardinal:["one","other"],ordinal:["one","two","few","many","other"]},hr:{cardinal:["one","few","other"],ordinal:["other"]},hsb:{cardinal:["one","two","few","other"],ordinal:["other"]},hu:i[2],hy:i[2],id:i[0],ig:i[0],ii:i[0],"in":i[0],is:i[1],it:{cardinal:["one","other"],ordinal:["many","other"]},iu:i[3],iw:{cardinal:["one","two","many","other"],ordinal:["other"]},ja:i[0],jbo:i[0],jgo:i[1],ji:i[1],jmc:i[1],jv:i[0],jw:i[0],ka:{cardinal:["one","other"],ordinal:["one","many","other"]},kab:i[1],kaj:i[1],kcg:i[1],kde:i[0],kea:i[0],kk:{cardinal:["one","other"],ordinal:["many","other"]},kkj:i[1],kl:i[1],km:i[0],kn:i[1],ko:i[0],ks:i[1],ksb:i[1],ksh:{cardinal:["zero","one","other"],ordinal:["other"]},ku:i[1],kw:i[3],ky:i[1],lag:{cardinal:["zero","one","other"],ordinal:["other"]},lb:i[1],lg:i[1],lkt:i[0],ln:i[1],lo:{cardinal:["other"],ordinal:["one","other"]},lt:{cardinal:["one","few","many","other"],ordinal:["other"]},lv:{cardinal:["zero","one","other"],ordinal:["other"]},mas:i[1],mg:i[1],mgo:i[1],mk:{cardinal:["one","other"],ordinal:["one","two","many","other"]},ml:i[1],mn:i[1],mo:{cardinal:["one","few","other"],ordinal:["one","other"]},mr:{cardinal:["one","other"],ordinal:["one","two","few","other"]},ms:{cardinal:["other"],ordinal:["one","other"]},mt:{cardinal:["one","few","many","other"],ordinal:["other"]},my:i[0],nah:i[1],naq:i[3],nb:i[1],nd:i[1],ne:i[2],nl:i[1],nn:i[1],nnh:i[1],no:i[1],nqo:i[0],nr:i[1],nso:i[1],ny:i[1],nyn:i[1],om:i[1],or:i[1],os:i[1],pa:i[1],pap:i[1],pl:{cardinal:["one","few","many","other"],ordinal:["other"]},prg:{cardinal:["zero","one","other"],ordinal:["other"]},ps:i[1],pt:i[1],"pt-PT":i[1],rm:i[1],ro:{cardinal:["one","few","other"],ordinal:["one","other"]},rof:i[1],root:i[0],ru:{cardinal:["one","few","many","other"],ordinal:["other"]},rwk:i[1],sah:i[0],saq:i[1],sdh:i[1],se:i[3],seh:i[1],ses:i[0],sg:i[0],sh:{cardinal:["one","few","other"],ordinal:["other"]},shi:{cardinal:["one","few","other"],ordinal:["other"]},si:i[1],sk:{cardinal:["one","few","many","other"],ordinal:["other"]},sl:{cardinal:["one","two","few","other"],ordinal:["other"]},sma:i[3],smi:i[3],smj:i[3],smn:i[3],sms:i[3],sn:i[1],so:i[1],sq:{cardinal:["one","other"],ordinal:["one","many","other"]},sr:{cardinal:["one","few","other"],ordinal:["other"]},ss:i[1],ssy:i[1],st:i[1],sv:i[2],sw:i[1],syr:i[1],ta:i[1],te:i[1],teo:i[1],th:i[0],ti:i[1],tig:i[1],tk:i[1],tl:i[2],tn:i[1],to:i[0],tr:i[1],ts:i[1],tzm:i[1],ug:i[1],uk:{cardinal:["one","few","many","other"],ordinal:["few","other"]},ur:i[1],uz:i[1],ve:i[1],vi:{cardinal:["other"],ordinal:["one","other"]},vo:i[1],vun:i[1],wa:i[1],wae:i[1],wo:i[0],xh:i[1],xog:i[1],yi:i[1],yo:i[0],zh:i[0],zu:i[1]})},function(e,t,r){var n,o,i=[function(e,t){return"other"},function(e,t){return t?"other":1==e?"one":"other"},function(e,t){return t?"other":0==e||1==e?"one":"other"},function(e,t){var r=(e+"").split("."),n=!r[1];return t?"other":1==e&&n?"one":"other"}];!function(i,a){n=a,o="function"==typeof n?n.call(t,r,t,e):n,!(void 0!==o&&(e.exports=o))}(this,{af:i[1],ak:i[2],am:function(e,t){return t?"other":0>e||e>1?"other":"one"},ar:function(e,t){var r=(e+"").split("."),n=+r[0]==e,o=n&&r[0].slice(-2);return t?"other":0==e?"zero":1==e?"one":2==e?"two":3>o||o>10?11>o||o>99?"other":"many":"few"},as:function(e,t){return t?1==e||5==e||7==e||8==e||9==e||10==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":0>e||e>1?"other":"one"},asa:i[1],ast:i[3],az:function(e,t){var r=(e+"").split("."),n=r[0],o=n.slice(-1),i=n.slice(-2),a=n.slice(-3);return t?1==o||2==o||5==o||7==o||8==o||20==i||50==i||70==i||80==i?"one":3==o||4==o||100==a||200==a||300==a||400==a||500==a||600==a||700==a||800==a||900==a?"few":0==n||6==o||40==i||60==i||90==i?"many":"other":1==e?"one":"other"},be:function(e,t){var r=(e+"").split("."),n=+r[0]==e,o=n&&r[0].slice(-1),i=n&&r[0].slice(-2);return t?2!=o&&3!=o||12==i||13==i?"other":"few":1==o&&11!=i?"one":2>o||o>4||i>=12&&14>=i?n&&0==o||o>=5&&9>=o||i>=11&&14>=i?"many":"other":"few"},bem:i[1],bez:i[1],bg:i[1],bh:i[2],bm:i[0],bn:function(e,t){return t?1==e||5==e||7==e||8==e||9==e||10==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":0>e||e>1?"other":"one"},bo:i[0],br:function(e,t){var r=(e+"").split("."),n=+r[0]==e,o=n&&r[0].slice(-1),i=n&&r[0].slice(-2),a=n&&r[0].slice(-6);return t?"other":1==o&&11!=i&&71!=i&&91!=i?"one":2==o&&12!=i&&72!=i&&92!=i?"two":3!=o&&4!=o&&9!=o||i>=10&&19>=i||i>=70&&79>=i||i>=90&&99>=i?0!=e&&n&&0==a?"many":"other":"few"},brx:i[1],bs:function(e,t){var r=(e+"").split("."),n=r[0],o=r[1]||"",i=!r[1],a=n.slice(-1),u=n.slice(-2),c=o.slice(-1),s=o.slice(-2);return t?"other":i&&1==a&&11!=u||1==c&&11!=s?"one":i&&a>=2&&4>=a&&(12>u||u>14)||c>=2&&4>=c&&(12>s||s>14)?"few":"other"},ca:function(e,t){var r=(e+"").split("."),n=!r[1];return t?1==e||3==e?"one":2==e?"two":4==e?"few":"other":1==e&&n?"one":"other"},ce:i[1],cgg:i[1],chr:i[1],ckb:i[1],cs:function(e,t){var r=(e+"").split("."),n=r[0],o=!r[1];return t?"other":1==e&&o?"one":2>n||n>4||!o?o?"other":"many":"few"},cy:function(e,t){return t?0==e||7==e||8==e||9==e?"zero":1==e?"one":2==e?"two":3==e||4==e?"few":5==e||6==e?"many":"other":0==e?"zero":1==e?"one":2==e?"two":3==e?"few":6==e?"many":"other"},da:function(e,t){var r=(e+"").split("."),n=r[0],o=+r[0]==e;return t?"other":1!=e&&(o||0!=n&&1!=n)?"other":"one"},de:i[3],dsb:function(e,t){var r=(e+"").split("."),n=r[0],o=r[1]||"",i=!r[1],a=n.slice(-2),u=o.slice(-2);return t?"other":i&&1==a||1==u?"one":i&&2==a||2==u?"two":i&&(3==a||4==a)||3==u||4==u?"few":"other"},dv:i[1],dz:i[0],ee:i[1],el:i[1],en:function(e,t){var r=(e+"").split("."),n=!r[1],o=+r[0]==e,i=o&&r[0].slice(-1),a=o&&r[0].slice(-2);return t?1==i&&11!=a?"one":2==i&&12!=a?"two":3==i&&13!=a?"few":"other":1==e&&n?"one":"other"},eo:i[1],es:i[1],et:i[3],eu:i[1],fa:function(e,t){return t?"other":0>e||e>1?"other":"one"},ff:function(e,t){return t?"other":e>=0&&2>e?"one":"other"},fi:i[3],fil:function(e,t){var r=(e+"").split("."),n=r[0],o=r[1]||"",i=!r[1],a=n.slice(-1),u=o.slice(-1);return t?1==e?"one":"other":i&&(1==n||2==n||3==n)||i&&4!=a&&6!=a&&9!=a||!i&&4!=u&&6!=u&&9!=u?"one":"other"},fo:i[1],fr:function(e,t){return t?1==e?"one":"other":e>=0&&2>e?"one":"other"},fur:i[1],fy:i[3],ga:function(e,t){var r=(e+"").split("."),n=+r[0]==e;return t?1==e?"one":"other":1==e?"one":2==e?"two":!n||3>e||e>6?!n||7>e||e>10?"other":"many":"few"},gd:function(e,t){var r=(e+"").split("."),n=+r[0]==e;return t?"other":1==e||11==e?"one":2==e||12==e?"two":n&&e>=3&&10>=e||n&&e>=13&&19>=e?"few":"other"},gl:i[3],gsw:i[1],gu:function(e,t){return t?1==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":0>e||e>1?"other":"one"},guw:i[2],gv:function(e,t){var r=(e+"").split("."),n=r[0],o=!r[1],i=n.slice(-1),a=n.slice(-2);return t?"other":o&&1==i?"one":o&&2==i?"two":!o||0!=a&&20!=a&&40!=a&&60!=a&&80!=a?o?"other":"many":"few"},ha:i[1],haw:i[1],he:function(e,t){var r=(e+"").split("."),n=r[0],o=!r[1],i=+r[0]==e,a=i&&r[0].slice(-1);return t?"other":1==e&&o?"one":2==n&&o?"two":o&&(0>e||e>10)&&i&&0==a?"many":"other"},hi:function(e,t){return t?1==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":0>e||e>1?"other":"one"},hr:function(e,t){var r=(e+"").split("."),n=r[0],o=r[1]||"",i=!r[1],a=n.slice(-1),u=n.slice(-2),c=o.slice(-1),s=o.slice(-2);return t?"other":i&&1==a&&11!=u||1==c&&11!=s?"one":i&&a>=2&&4>=a&&(12>u||u>14)||c>=2&&4>=c&&(12>s||s>14)?"few":"other"},hsb:function(e,t){var r=(e+"").split("."),n=r[0],o=r[1]||"",i=!r[1],a=n.slice(-2),u=o.slice(-2);return t?"other":i&&1==a||1==u?"one":i&&2==a||2==u?"two":i&&(3==a||4==a)||3==u||4==u?"few":"other"},hu:function(e,t){return t?1==e||5==e?"one":"other":1==e?"one":"other"},hy:function(e,t){return t?1==e?"one":"other":e>=0&&2>e?"one":"other"},id:i[0],ig:i[0],ii:i[0],"in":i[0],is:function(e,t){var r=(e+"").split("."),n=r[0],o=+r[0]==e,i=n.slice(-1),a=n.slice(-2);return t?"other":o&&1==i&&11!=a||!o?"one":"other"},it:function(e,t){var r=(e+"").split("."),n=!r[1];return t?11==e||8==e||80==e||800==e?"many":"other":1==e&&n?"one":"other"},iu:function(e,t){return t?"other":1==e?"one":2==e?"two":"other"},iw:function(e,t){var r=(e+"").split("."),n=r[0],o=!r[1],i=+r[0]==e,a=i&&r[0].slice(-1);return t?"other":1==e&&o?"one":2==n&&o?"two":o&&(0>e||e>10)&&i&&0==a?"many":"other"},ja:i[0],jbo:i[0],jgo:i[1],ji:i[3],jmc:i[1],jv:i[0],jw:i[0],ka:function(e,t){var r=(e+"").split("."),n=r[0],o=n.slice(-2);return t?1==n?"one":0==n||o>=2&&20>=o||40==o||60==o||80==o?"many":"other":1==e?"one":"other"},kab:function(e,t){return t?"other":e>=0&&2>e?"one":"other"},kaj:i[1],kcg:i[1],kde:i[0],kea:i[0],kk:function(e,t){var r=(e+"").split("."),n=+r[0]==e,o=n&&r[0].slice(-1);return t?6==o||9==o||n&&0==o&&0!=e?"many":"other":1==e?"one":"other"},kkj:i[1],kl:i[1],km:i[0],kn:function(e,t){return t?"other":0>e||e>1?"other":"one"},ko:i[0],ks:i[1],ksb:i[1],ksh:function(e,t){return t?"other":0==e?"zero":1==e?"one":"other"},ku:i[1],kw:function(e,t){return t?"other":1==e?"one":2==e?"two":"other"},ky:i[1],lag:function(e,t){var r=(e+"").split("."),n=r[0];return t?"other":0==e?"zero":0!=n&&1!=n||0==e?"other":"one"},lb:i[1],lg:i[1],lkt:i[0],ln:i[2],lo:function(e,t){return t&&1==e?"one":"other"},lt:function(e,t){var r=(e+"").split("."),n=r[1]||"",o=+r[0]==e,i=o&&r[0].slice(-1),a=o&&r[0].slice(-2);return t?"other":1==i&&(11>a||a>19)?"one":2>i||i>9||a>=11&&19>=a?0!=n?"many":"other":"few"},lv:function(e,t){var r=(e+"").split("."),n=r[1]||"",o=n.length,i=+r[0]==e,a=i&&r[0].slice(-1),u=i&&r[0].slice(-2),c=n.slice(-2),s=n.slice(-1);return t?"other":i&&0==a||u>=11&&19>=u||2==o&&c>=11&&19>=c?"zero":1==a&&11!=u||2==o&&1==s&&11!=c||2!=o&&1==s?"one":"other"},mas:i[1],mg:i[2],mgo:i[1],mk:function(e,t){var r=(e+"").split("."),n=r[0],o=r[1]||"",i=!r[1],a=n.slice(-1),u=n.slice(-2),c=o.slice(-1);return t?1==a&&11!=u?"one":2==a&&12!=u?"two":7!=a&&8!=a||17==u||18==u?"other":"many":i&&1==a||1==c?"one":"other"},ml:i[1],mn:i[1],mo:function(e,t){var r=(e+"").split("."),n=!r[1],o=+r[0]==e,i=o&&r[0].slice(-2);return t?1==e?"one":"other":1==e&&n?"one":n&&0!=e&&(1==e||1>i||i>19)?"other":"few"},mr:function(e,t){return t?1==e?"one":2==e||3==e?"two":4==e?"few":"other":0>e||e>1?"other":"one"},ms:function(e,t){return t&&1==e?"one":"other"},mt:function(e,t){var r=(e+"").split("."),n=+r[0]==e,o=n&&r[0].slice(-2);return t?"other":1==e?"one":0==e||o>=2&&10>=o?"few":11>o||o>19?"other":"many"},my:i[0],nah:i[1],naq:function(e,t){return t?"other":1==e?"one":2==e?"two":"other"},nb:i[1],nd:i[1],ne:function(e,t){var r=(e+"").split("."),n=+r[0]==e;return t?!n||1>e||e>4?"other":"one":1==e?"one":"other"},nl:i[3],nn:i[1],nnh:i[1],no:i[1],nqo:i[0],nr:i[1],nso:i[2],ny:i[1],nyn:i[1],om:i[1],or:i[1],os:i[1],pa:i[2],pap:i[1],pl:function(e,t){var r=(e+"").split("."),n=r[0],o=!r[1],i=n.slice(-1),a=n.slice(-2);return t?"other":1==e&&o?"one":!o||2>i||i>4||a>=12&&14>=a?o&&1!=n&&(0==i||1==i)||o&&i>=5&&9>=i||o&&a>=12&&14>=a?"many":"other":"few"},prg:function(e,t){var r=(e+"").split("."),n=r[1]||"",o=n.length,i=+r[0]==e,a=i&&r[0].slice(-1),u=i&&r[0].slice(-2),c=n.slice(-2),s=n.slice(-1);return t?"other":i&&0==a||u>=11&&19>=u||2==o&&c>=11&&19>=c?"zero":1==a&&11!=u||2==o&&1==s&&11!=c||2!=o&&1==s?"one":"other"},ps:i[1],pt:function(e,t){var r=(e+"").split("."),n=+r[0]==e;return t?"other":!n||0>e||e>2||2==e?"other":"one"},"pt-PT":i[3],rm:i[1],ro:function(e,t){var r=(e+"").split("."),n=!r[1],o=+r[0]==e,i=o&&r[0].slice(-2);return t?1==e?"one":"other":1==e&&n?"one":n&&0!=e&&(1==e||1>i||i>19)?"other":"few"},rof:i[1],root:i[0],ru:function(e,t){var r=(e+"").split("."),n=r[0],o=!r[1],i=n.slice(-1),a=n.slice(-2);return t?"other":o&&1==i&&11!=a?"one":!o||2>i||i>4||a>=12&&14>=a?o&&0==i||o&&i>=5&&9>=i||o&&a>=11&&14>=a?"many":"other":"few"},rwk:i[1],sah:i[0],saq:i[1],sdh:i[1],se:function(e,t){return t?"other":1==e?"one":2==e?"two":"other"},seh:i[1],ses:i[0],sg:i[0],sh:function(e,t){var r=(e+"").split("."),n=r[0],o=r[1]||"",i=!r[1],a=n.slice(-1),u=n.slice(-2),c=o.slice(-1),s=o.slice(-2);return t?"other":i&&1==a&&11!=u||1==c&&11!=s?"one":i&&a>=2&&4>=a&&(12>u||u>14)||c>=2&&4>=c&&(12>s||s>14)?"few":"other"},shi:function(e,t){var r=(e+"").split("."),n=+r[0]==e;return t?"other":0>e||e>1?!n||2>e||e>10?"other":"few":"one"},si:function(e,t){var r=(e+"").split("."),n=r[0],o=r[1]||"";return t?"other":0==e||1==e||0==n&&1==o?"one":"other"},sk:function(e,t){var r=(e+"").split("."),n=r[0],o=!r[1];return t?"other":1==e&&o?"one":2>n||n>4||!o?o?"other":"many":"few"},sl:function(e,t){var r=(e+"").split("."),n=r[0],o=!r[1],i=n.slice(-2);return t?"other":o&&1==i?"one":o&&2==i?"two":o&&(3==i||4==i)||!o?"few":"other"},sma:function(e,t){return t?"other":1==e?"one":2==e?"two":"other"},smi:function(e,t){return t?"other":1==e?"one":2==e?"two":"other"},smj:function(e,t){return t?"other":1==e?"one":2==e?"two":"other"},smn:function(e,t){return t?"other":1==e?"one":2==e?"two":"other"},sms:function(e,t){return t?"other":1==e?"one":2==e?"two":"other"},sn:i[1],so:i[1],sq:function(e,t){var r=(e+"").split("."),n=+r[0]==e,o=n&&r[0].slice(-1),i=n&&r[0].slice(-2);return t?1==e?"one":4==o&&14!=i?"many":"other":1==e?"one":"other"},sr:function(e,t){var r=(e+"").split("."),n=r[0],o=r[1]||"",i=!r[1],a=n.slice(-1),u=n.slice(-2),c=o.slice(-1),s=o.slice(-2);return t?"other":i&&1==a&&11!=u||1==c&&11!=s?"one":i&&a>=2&&4>=a&&(12>u||u>14)||c>=2&&4>=c&&(12>s||s>14)?"few":"other"},ss:i[1],ssy:i[1],st:i[1],sv:function(e,t){var r=(e+"").split("."),n=!r[1],o=+r[0]==e,i=o&&r[0].slice(-1),a=o&&r[0].slice(-2);return t?1!=i&&2!=i||11==a||12==a?"other":"one":1==e&&n?"one":"other"},sw:i[3],syr:i[1],ta:i[1],te:i[1],teo:i[1],th:i[0],ti:i[2],tig:i[1],tk:i[1],tl:function(e,t){var r=(e+"").split("."),n=r[0],o=r[1]||"",i=!r[1],a=n.slice(-1),u=o.slice(-1);return t?1==e?"one":"other":i&&(1==n||2==n||3==n)||i&&4!=a&&6!=a&&9!=a||!i&&4!=u&&6!=u&&9!=u?"one":"other"},tn:i[1],to:i[0],tr:i[1],ts:i[1],tzm:function(e,t){var r=(e+"").split("."),n=+r[0]==e;return t?"other":0==e||1==e||n&&e>=11&&99>=e?"one":"other"},ug:i[1],uk:function(e,t){var r=(e+"").split("."),n=r[0],o=!r[1],i=+r[0]==e,a=i&&r[0].slice(-1),u=i&&r[0].slice(-2),c=n.slice(-1),s=n.slice(-2);return t?3==a&&13!=u?"few":"other":o&&1==c&&11!=s?"one":!o||2>c||c>4||s>=12&&14>=s?o&&0==c||o&&c>=5&&9>=c||o&&s>=11&&14>=s?"many":"other":"few"},ur:i[3],uz:i[1],ve:i[1],vi:function(e,t){return t&&1==e?"one":"other"},vo:i[1],vun:i[1],wa:i[2],wae:i[1],wo:i[0],xh:i[1],xog:i[1],yi:i[3],yo:i[0],zh:i[0],zu:function(e,t){return t?"other":0>e||e>1?"other":"one"}})},function(e,t){"use strict";function r(e,t){function r(){this.constructor=e}r.prototype=t.prototype,e.prototype=new r}function n(e,t,r,o){this.message=e,this.expected=t,this.found=r,this.location=o,this.name="SyntaxError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,n)}function o(e,t){function r(e,t){return{type:"literal",text:e,ignoreCase:t}}function o(e,t,r){return{type:"class",parts:e,inverted:t,ignoreCase:r}}function i(){return{type:"end"}}function a(e){return{type:"other",description:e}}function u(t){var r,n=Je[t];if(n)return n;for(r=t-1;!Je[r];)r--;for(n=Je[r],n={line:n.line,column:n.column};t>r;)10===e.charCodeAt(r)?(n.line++,n.column=1):n.column++,r++;return Je[t]=n,n}function c(e,t){var r=u(e),n=u(t);return{start:{offset:e,line:r.line,column:r.column},end:{offset:t,line:n.line,column:n.column}}}function s(e){$e>Pe||(Pe>$e&&($e=Pe,Re=[]),Re.push(e))}function l(e,t,r){return new n(n.buildMessage(e,t),e,t,r)}function f(){var e,t;for(e=[],t=h();t!==N;)e.push(t),t=h();return e}function h(){var t,r,n;if(t=p(),t===N&&(t=d(),t===N&&(t=m(),t===N&&(t=y(),t===N&&(t=Pe,35===e.charCodeAt(Pe)?(r=T,Pe++):(r=N,0===Be&&s(D)),r!==N&&(_e=t,r=q()),t=r,t===N))))){if(t=Pe,r=[],n=A(),n!==N)for(;n!==N;)r.push(n),n=A();else r=N;r!==N&&(_e=t,r=P(r)),t=r}return t}function p(){var t,r,n,o,i,a;return t=Pe,123===e.charCodeAt(Pe)?(r=_,Pe++):(r=N,0===Be&&s(J)),r!==N?(n=O(),n!==N?(o=g(),o!==N?(i=O(),i!==N?(125===e.charCodeAt(Pe)?(a=$,Pe++):(a=N,0===Be&&s(R)),a!==N?(_e=t,r=B(o),t=r):(Pe=t,t=N)):(Pe=t,t=N)):(Pe=t,t=N)):(Pe=t,t=N)):(Pe=t,t=N),t}function d(){var t,r,n,o,i,a,u,c,l,f,h,p,d,m;if(t=Pe,123===e.charCodeAt(Pe)?(r=_,Pe++):(r=N,0===Be&&s(J)),r!==N)if(n=O(),n!==N)if(o=g(),o!==N)if(i=O(),i!==N)if(44===e.charCodeAt(Pe)?(a=M,Pe++):(a=N,0===Be&&s(U)),a!==N)if(u=O(),u!==N)if(e.substr(Pe,6)===I?(c=I,Pe+=6):(c=N,0===Be&&s(L)),c!==N)if(l=O(),l!==N)if(44===e.charCodeAt(Pe)?(f=M,Pe++):(f=N,0===Be&&s(U)),f!==N)if(h=O(),h!==N){if(p=[],d=v(),d!==N)for(;d!==N;)p.push(d),d=v();else p=N;p!==N?(d=O(),d!==N?(125===e.charCodeAt(Pe)?(m=$,Pe++):(m=N,0===Be&&s(R)),m!==N?(_e=t,r=G(o,p),t=r):(Pe=t,t=N)):(Pe=t,t=N)):(Pe=t,t=N)}else Pe=t,t=N;else Pe=t,t=N;else Pe=t,t=N;else Pe=t,t=N;else Pe=t,t=N;else Pe=t,t=N;else Pe=t,t=N;else Pe=t,t=N;else Pe=t,t=N;else Pe=t,t=N;return t}function m(){var t,r,n,o,i,a,u,c,l,f,h,p,d,m,y;if(t=Pe,123===e.charCodeAt(Pe)?(r=_,Pe++):(r=N,0===Be&&s(J)),r!==N)if(n=O(),n!==N)if(o=g(),o!==N)if(i=O(),i!==N)if(44===e.charCodeAt(Pe)?(a=M,Pe++):(a=N,0===Be&&s(U)),a!==N)if(u=O(),u!==N)if(e.substr(Pe,6)===V?(c=V,Pe+=6):(c=N,0===Be&&s(Z)),c===N&&(e.substr(Pe,13)===H?(c=H,Pe+=13):(c=N,0===Be&&s(K))),c!==N)if(l=O(),l!==N)if(44===e.charCodeAt(Pe)?(f=M,Pe++):(f=N,0===Be&&s(U)),f!==N)if(h=O(),h!==N)if(p=k(),p===N&&(p=null),p!==N){if(d=[],m=w(),m!==N)for(;m!==N;)d.push(m),m=w();else d=N;d!==N?(m=O(),m!==N?(125===e.charCodeAt(Pe)?(y=$,Pe++):(y=N,0===Be&&s(R)),y!==N?(_e=t,r=W(o,c,p,d),t=r):(Pe=t,t=N)):(Pe=t,t=N)):(Pe=t,t=N)}else Pe=t,t=N;else Pe=t,t=N;else Pe=t,t=N;else Pe=t,t=N;else Pe=t,t=N;else Pe=t,t=N;else Pe=t,t=N;else Pe=t,t=N;else Pe=t,t=N;else Pe=t,t=N;else Pe=t,t=N;return t}function y(){var t,r,n,o,i,a,u,c,l,f,h;if(t=Pe,123===e.charCodeAt(Pe)?(r=_,Pe++):(r=N,0===Be&&s(J)),r!==N)if(n=O(),n!==N)if(o=g(),o!==N)if(i=O(),i!==N)if(44===e.charCodeAt(Pe)?(a=M,Pe++):(a=N,0===Be&&s(U)),a!==N)if(u=O(),u!==N)if(c=g(),c!==N)if(l=O(),l!==N){for(f=[],h=j();h!==N;)f.push(h),h=j();f!==N?(125===e.charCodeAt(Pe)?(h=$,Pe++):(h=N,0===Be&&s(R)),h!==N?(_e=t,r=Y(o,c,f),t=r):(Pe=t,t=N)):(Pe=t,t=N)}else Pe=t,t=N;else Pe=t,t=N;else Pe=t,t=N;else Pe=t,t=N;else Pe=t,t=N;else Pe=t,t=N;else Pe=t,t=N;else Pe=t,t=N;return t}function g(){var t,r,n,o,i;if(t=Pe,r=Pe,Q.test(e.charAt(Pe))?(n=e.charAt(Pe),Pe++):(n=N,0===Be&&s(X)),n!==N){for(o=[],ee.test(e.charAt(Pe))?(i=e.charAt(Pe),Pe++):(i=N,0===Be&&s(te));i!==N;)o.push(i),ee.test(e.charAt(Pe))?(i=e.charAt(Pe),Pe++):(i=N,0===Be&&s(te));o!==N?(n=[n,o],r=n):(Pe=r,r=N)}else Pe=r,r=N;return t=r!==N?e.substring(t,Pe):r}function v(){var e,t,r,n,o;return e=Pe,t=O(),t!==N?(r=g(),r!==N?(n=O(),n!==N?(o=b(),o!==N?(_e=e,t=re(r,o),e=t):(Pe=e,e=N)):(Pe=e,e=N)):(Pe=e,e=N)):(Pe=e,e=N),e}function w(){var e,t,r,n,o;return e=Pe,t=O(),t!==N?(r=x(),r!==N?(n=O(),n!==N?(o=b(),o!==N?(_e=e,t=re(r,o),e=t):(Pe=e,e=N)):(Pe=e,e=N)):(Pe=e,e=N)):(Pe=e,e=N),e}function b(){var t,r,n,o,i,a;if(t=Pe,123===e.charCodeAt(Pe)?(r=_,Pe++):(r=N,0===Be&&s(J)),r!==N)if(n=Pe,o=O(),o!==N?(i=Pe,Be++,123===e.charCodeAt(Pe)?(a=_,Pe++):(a=N,0===Be&&s(J)),Be--,a!==N?(Pe=i,i=void 0):i=N,i!==N?(o=[o,i],n=o):(Pe=n,n=N)):(Pe=n,n=N),n===N&&(n=null),n!==N){for(o=[],i=h();i!==N;)o.push(i),i=h();o!==N?(i=O(),i!==N?(125===e.charCodeAt(Pe)?(a=$,Pe++):(a=N,0===Be&&s(R)),a!==N?(_e=t,r=ne(o),t=r):(Pe=t,t=N)):(Pe=t,t=N)):(Pe=t,t=N)}else Pe=t,t=N;else Pe=t,t=N;return t}function k(){var t,r,n,o,i,a,u,c;return t=Pe,r=O(),r!==N?(e.substr(Pe,6)===oe?(n=oe,Pe+=6):(n=N,0===Be&&s(ie)),n!==N?(o=O(),o!==N?(58===e.charCodeAt(Pe)?(i=ae,Pe++):(i=N,0===Be&&s(ue)),i!==N?(a=O(),a!==N?(u=E(),u!==N?(c=O(),c!==N?(_e=t,r=ce(u),t=r):(Pe=t,t=N)):(Pe=t,t=N)):(Pe=t,t=N)):(Pe=t,t=N)):(Pe=t,t=N)):(Pe=t,t=N)):(Pe=t,t=N),t}function x(){var t,r,n;return t=g(),t===N&&(t=Pe,61===e.charCodeAt(Pe)?(r=se,Pe++):(r=N,0===Be&&s(le)),r!==N?(n=E(),n!==N?(_e=t,r=ce(n),t=r):(Pe=t,t=N)):(Pe=t,t=N)),t}function j(){var t,r,n,o,i,a;return t=Pe,r=O(),r!==N?(44===e.charCodeAt(Pe)?(n=M,Pe++):(n=N,0===Be&&s(U)),n!==N?(o=O(),o!==N?(i=g(),i!==N?(a=O(),a!==N?(_e=t,r=fe(i),t=r):(Pe=t,t=N)):(Pe=t,t=N)):(Pe=t,t=N)):(Pe=t,t=N)):(Pe=t,t=N),t}function A(){var t,r,n,o,i,a;return he.test(e.charAt(Pe))?(t=e.charAt(Pe),Pe++):(t=N,0===Be&&s(pe)),t===N&&(t=Pe,e.substr(Pe,2)===de?(r=de,Pe+=2):(r=N,0===Be&&s(me)),r!==N&&(_e=t,r=ye()),t=r,t===N&&(t=Pe,e.substr(Pe,2)===ge?(r=ge,Pe+=2):(r=N,0===Be&&s(ve)),r!==N&&(_e=t,r=we()),t=r,t===N&&(t=Pe,e.substr(Pe,2)===be?(r=be,Pe+=2):(r=N,0===Be&&s(ke)),r!==N&&(_e=t,r=xe()),t=r,t===N&&(t=Pe,e.substr(Pe,2)===je?(r=je,Pe+=2):(r=N,0===Be&&s(Ae)),r!==N&&(_e=t,r=Ee()),t=r,t===N&&(t=Pe,e.substr(Pe,2)===Se?(r=Se,Pe+=2):(r=N,0===Be&&s(Oe)),r!==N?(n=S(),n!==N?(o=S(),o!==N?(i=S(),i!==N?(a=S(),a!==N?(_e=t,r=ze(n,o,i,a),t=r):(Pe=t,t=N)):(Pe=t,t=N)):(Pe=t,t=N)):(Pe=t,t=N)):(Pe=t,t=N)))))),t}function E(){var t,r,n;if(t=Pe,r=[],Ne.test(e.charAt(Pe))?(n=e.charAt(Pe),Pe++):(n=N,0===Be&&s(Fe)),n!==N)for(;n!==N;)r.push(n),Ne.test(e.charAt(Pe))?(n=e.charAt(Pe),Pe++):(n=N,0===Be&&s(Fe));else r=N;return t=r!==N?e.substring(t,Pe):r}function S(){var t;return Ce.test(e.charAt(Pe))?(t=e.charAt(Pe),Pe++):(t=N,0===Be&&s(Te)),t}function O(){var t,r,n;for(t=Pe,r=[],De.test(e.charAt(Pe))?(n=e.charAt(Pe),Pe++):(n=N,0===Be&&s(qe));n!==N;)r.push(n),De.test(e.charAt(Pe))?(n=e.charAt(Pe),Pe++):(n=N,0===Be&&s(qe));return t=r!==N?e.substring(t,Pe):r}t=void 0!==t?t:{};var z,N={},F={start:f},C=f,T="#",D=r("#",!1),q=function(){return{type:"octothorpe"}},P=function(e){return e.join("")},_="{",J=r("{",!1),$="}",R=r("}",!1),B=function(e){return{type:"argument",arg:e}},M=",",U=r(",",!1),I="select",L=r("select",!1),G=function(e,t){return{type:"select",arg:e,cases:t}},V="plural",Z=r("plural",!1),H="selectordinal",K=r("selectordinal",!1),W=function(e,r,n,o){var i=("selectordinal"===r?t.ordinal:t.cardinal)||["zero","one","two","few","many","other"];return i&&i.length&&o.forEach(function(t){if(isNaN(t.key)&&i.indexOf(t.key)<0)throw Error("Invalid key `"+t.key+"` for argument `"+e+"`. Valid "+r+" keys for this locale are `"+i.join("`, `")+"`, and explicit keys like `=0`.")}),{type:r,arg:e,offset:n||0,cases:o}},Y=function(e,t,r){return{type:"function",arg:e,key:t,params:r}},Q=/^[0-9a-zA-Z$_]/,X=o([["0","9"],["a","z"],["A","Z"],"$","_"],!1,!1),ee=/^[^ \t\n\r,.+={}]/,te=o([" ","\t","\n","\r",",",".","+","=","{","}"],!0,!1),re=function(e,t){return{key:e,tokens:t}},ne=function(e){return e},oe="offset",ie=r("offset",!1),ae=":",ue=r(":",!1),ce=function(e){return e},se="=",le=r("=",!1),fe=function(e){return e},he=/^[^{}#\\\0-\x08\x0E-\x1F\x7F]/,pe=o(["{","}","#","\\",["\0","\b"],["",""],""],!0,!1),de="\\\\",me=r("\\\\",!1),ye=function(){return"\\"},ge="\\#",ve=r("\\#",!1),we=function(){return"#"},be="\\{",ke=r("\\{",!1),xe=function(){return"{"},je="\\}",Ae=r("\\}",!1),Ee=function(){return"}"},Se="\\u",Oe=r("\\u",!1),ze=function(e,t,r,n){return String.fromCharCode(parseInt("0x"+e+t+r+n))},Ne=/^[0-9]/,Fe=o([["0","9"]],!1,!1),Ce=/^[0-9a-fA-F]/,Te=o([["0","9"],["a","f"],["A","F"]],!1,!1),De=/^[ \t\n\r]/,qe=o([" ","\t","\n","\r"],!1,!1),Pe=0,_e=0,Je=[{line:1,column:1}],$e=0,Re=[],Be=0;if("startRule"in t){if(!(t.startRule in F))throw Error("Can't start parsing from rule \""+t.startRule+'".');C=F[t.startRule]}if(z=C(),z!==N&&Pe===e.length)return z;throw z!==N&&e.length>Pe&&s(i()),l(Re,e.length>$e?e.charAt($e):null,e.length>$e?c($e,$e+1):c($e,$e))}r(n,Error),n.buildMessage=function(e,t){function r(e){return e.charCodeAt(0).toString(16).toUpperCase()}function n(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(e){return"\\x0"+r(e)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(e){return"\\x"+r(e)})}function o(e){return e.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(e){return"\\x0"+r(e)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(e){return"\\x"+r(e)})}function i(e){return c[e.type](e)}function a(e){var t,r,n=Array(e.length);for(t=0;e.length>t;t++)n[t]=i(e[t]);if(n.sort(),n.length>0){for(t=1,r=1;n.length>t;t++)n[t-1]!==n[t]&&(n[r]=n[t],r++);n.length=r}switch(n.length){case 1:return n[0];case 2:return n[0]+" or "+n[1];default:return n.slice(0,-1).join(", ")+", or "+n[n.length-1]}}function u(e){return e?'"'+n(e)+'"':"end of input"}var c={literal:function(e){return'"'+n(e.text)+'"'},"class":function(e){var t,r="";for(t=0;e.parts.length>t;t++)r+=e.parts[t]instanceof Array?o(e.parts[t][0])+"-"+o(e.parts[t][1]):o(e.parts[t]);return"["+(e.inverted?"^":"")+r+"]"},any:function(e){return"any character"},end:function(e){return"end of input"},other:function(e){return e.description}};return"Expected "+a(e)+" but "+u(t)+" found."},e.exports={SyntaxError:n,parse:o}},function(e,t,r){function n(e,t){for(var n=r(4),o=r(3),i=e;i;i=i.replace(/[-_]?[^-_]*$/,"")){var a=n[i];if(a){var u=t?{cardinal:[],ordinal:[]}:o[i]||{},c=function(){return a.apply(this,arguments)};return c.toString=function(){return""+a},c.cardinal=u.cardinal,c.ordinal=u.ordinal,c}}throw Error("Localisation function not found for locale "+JSON.stringify(e))}function o(e){if(this.pluralFuncs={},e)if("string"==typeof e)this.pluralFuncs[e]=n(e);else if(Array.isArray(e))e.forEach(function(e){this.pluralFuncs[e]=n(e)},this);else if("object"==typeof e)for(var t in e)if(e.hasOwnProperty(t)){if("function"!=typeof e[t])throw Error("Expected function value for locale "+JSON.stringify(t));this.pluralFuncs[t]=e[t]}this.fmt={},this.runtime=new a(this)}/** @file messageformat.js - ICU PluralFormat + SelectFormat for JavaScript
*
* @author Alex Sexton - @SlexAxton, Eemeli Aro
* @version 1.0.2
* @copyright 2012-2016 Alex Sexton, Eemeli Aro, and Contributors
* @license To use or fork, MIT. To contribute back, Dojo CLA
*/
var i=r(1),a=r(7);o.defaultLocale="en",o.escape=function(e){return e.replace(/[#{}\\]/g,"\\$&")},o.formatters={number:function(e){return Function("v,lc,p","return new Intl.NumberFormat(lc,\n p=='integer' ? {maximumFractionDigits:0}\n : p=='percent' ? {style:'percent'}\n : p=='currency' ? {style:'currency', currency:'"+(e.currency||"USD")+"', minimumFractionDigits:2, maximumFractionDigits:2}\n : {}).format(v)")},date:function(e,t,r){var n={day:"numeric",month:"short",year:"numeric"};switch(r){case"full":n.weekday="long";case"long":n.month="long";break;case"short":n.month="numeric"}return new Date(e).toLocaleDateString(t,n)},time:function(e,t,r){var n={second:"numeric",minute:"numeric",hour:"numeric"};switch(r){case"full":case"long":n.timeZoneName="short";break;case"short":delete n.second}return new Date(e).toLocaleTimeString(t,n)}},o.prototype.addFormatters=function(e){for(var t in e)e.hasOwnProperty(t)&&(this.fmt[t]=e[t]);return this},o.prototype.disablePluralKeyChecks=function(){this.noPluralKeyChecks=!0;for(var e in this.pluralFuncs)this.pluralFuncs.hasOwnProperty(e)&&(this.pluralFuncs[e].cardinal=[],this.pluralFuncs[e].ordinal=[]);return this},o.prototype.setBiDiSupport=function(e){return this.bidiSupport=!!e||void 0===e,this},o.prototype.setIntlSupport=function(e){return this.intlSupport=!!e||void 0===e,this},o.prototype.setStrictNumberSign=function(e){return this.strictNumberSign=!!e||void 0===e,this.runtime.setStrictNumber(this.strictNumberSign),this},o.prototype.compile=function(e,t){function r(e,t){if(t||(t=0),"object"!=typeof e)return e;for(var n=[],o="",a=0;t>a;++a)o+=" ";for(var u in e)n.push("\n"+o+" "+i.propname(u)+": "+r(e[u],t+1));return"{"+n.join(",")+"\n"+o+"}"}var a;if(0==Object.keys(this.pluralFuncs).length)t||(t=o.defaultLocale),a={},a[t]=n(t,this.noPluralKeyChecks);else if(t){if(a={},a[t]=this.pluralFuncs[t],!a[t])throw Error("Locale "+JSON.stringify(t)+"not found in "+JSON.stringify(this.pluralFuncs)+"!")}else a=this.pluralFuncs,t=Object.keys(a)[0];var u=new i(this),c=u.compile(e,t,a);if("object"!=typeof e){var s=Function("number, plural, select, fmt",i.funcname(t),"return "+c),l=this.runtime;return s(l.number,l.plural,l.select,this.fmt,a[t])}var f=this.runtime.toString(a,u)+"\n",h=r(c),p=Function(f+"return "+h)();if(p.hasOwnProperty("toString"))throw Error("The top-level message key `toString` is reserved");return p.toString=function(e){switch(e||""){case"exports":var t=[];for(var n in c)t.push(i.propname(n,"exports")+" = "+r(c[n]));return f+t.join(";\n");case"module.exports":return f+"module.exports = "+h;case"export default":return f+"export default "+h;case"":return f+"return "+h;default:return e.indexOf(".")>-1?f+e+" = "+h:f+['(function (root, G) {\n if (typeof define === "function" && define.amd) { define(G); }\n else if (typeof exports === "object") { module.exports = G; }'," else { "+i.propname(e,"root")+" = G; }","})(this, "+h+");"].join("\n")}},p},e.exports=o},function(e,t,r){function n(e){this.mf=e,this.setStrictNumber(e.strictNumberSign)}function o(e,t,r){if(!r)return e;if(isNaN(e))throw Error("Can't apply offset:"+r+" to argument `"+t+"` with non-numerical value "+JSON.stringify(e)+".");return e-r}function i(e,t,r){if(isNaN(e))throw Error("Argument `"+t+"` has non-numerical value "+JSON.stringify(e)+".");return e-(r||0)}var a=r(1);e.exports=n,n.prototype.setStrictNumber=function(e){this.number=e?i:o},n.prototype.plural=function(e,t,r,n,o){if({}.hasOwnProperty.call(n,e))return n[e];t&&(e-=t);var i=r(e,o);return i in n?n[i]:n.other},n.prototype.select=function(e,t){return{}.hasOwnProperty.call(t,e)?t[e]:t.other},n.prototype.toString=function(e,t){function r(e,t){if("object"!=typeof e){var n=(""+e).replace(/^(function )\w*/,"$1"),o=/([ \t]*)\S.*$/.exec(n);return o?n.replace(RegExp("^"+o[1],"mg"),""):n}var i=[];for(var u in e)i.push(0==t?"var "+u+" = "+r(e[u],t+1)+";\n":a.propname(u)+": "+r(e[u],t+1));if(0==t)return i.join("");if(0==i.length)return"{}";for(var o=" ";--t;)o+=" ";return"{\n"+i.join(",\n").replace(/^/gm,o)+"\n}"}var n={};Object.keys(t.locales).forEach(function(t){n[a.funcname(t)]=e[t]}),Object.keys(t.runtime).forEach(function(e){n[e]=this[e]},this);var o=Object.keys(t.formatters),i=this.mf.fmt;return o.length&&(n.fmt=o.reduce(function(e,t){return e[t]=i[t],e},{})),r(n,0)}},function(e,t){function r(){throw Error("setTimeout has not been defined")}function n(){throw Error("clearTimeout has not been defined")}function o(e){if(l===setTimeout)return setTimeout(e,0);if((l===r||!l)&&setTimeout)return l=setTimeout,setTimeout(e,0);try{return l(e,0)}catch(t){try{return l.call(null,e,0)}catch(t){return l.call(this,e,0)}}}function i(e){if(f===clearTimeout)return clearTimeout(e);if((f===n||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(e);try{return f(e)}catch(t){try{return f.call(null,e)}catch(t){return f.call(this,e)}}}function a(){m&&p&&(m=!1,p.length?d=p.concat(d):y=-1,d.length&&u())}function u(){if(!m){var e=o(a);m=!0;for(var t=d.length;t;){for(p=d,d=[];++y<t;)p&&p[y].run();y=-1,t=d.length}p=null,m=!1,i(e)}}function c(e,t){this.fun=e,this.array=t}function s(){}var l,f,h=e.exports={};!function(){try{l="function"==typeof setTimeout?setTimeout:r}catch(e){l=r}try{f="function"==typeof clearTimeout?clearTimeout:n}catch(e){f=n}}();var p,d=[],m=!1,y=-1;h.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var r=1;arguments.length>r;r++)t[r-1]=arguments[r];d.push(new c(e,t)),1!==d.length||m||o(u)},c.prototype.run=function(){this.fun.apply(null,this.array)},h.title="browser",h.browser=!0,h.env={},h.argv=[],h.version="",h.versions={},h.on=s,h.addListener=s,h.once=s,h.off=s,h.removeListener=s,h.removeAllListeners=s,h.emit=s,h.binding=function(e){throw Error("process.binding is not supported")},h.cwd=function(){return"/"},h.chdir=function(e){throw Error("process.chdir is not supported")},h.umask=function(){return 0}},function(e,t,r){e.exports=r(10)},function(e,t,r){function n(){var e=Array.prototype.map.call(arguments,function(e){return"string"==typeof e?e:Object.keys(e).join(" ")}).join(" ");return e.split(/\s+/).reduce(function(e,t){return e[t]=!0,e},{})}var o=r(2),i={es3:3,es5:5,es2015:6,es7:7,es6:6,"default":5,next:6},a=t.KEYWORDS={};t.check=function(e,t,r){t=t||i["default"];var n=i[t]||t;return r&&n>=5&&(n+="-strict"),o(a[n],"Unknown dialect"),a[n][e]},a[3]=n("break else new var","case finally return void","catch for switch while","continue function this with","default if throw","delete in try","do instanceof typeof","abstract enum int short","boolean export interface static","byte extends long super","char final native synchronized","class float package throws","const goto private transient","debugger implements protected volatile","double import public","null true false"),a[5]=n("break do instanceof typeof","case else new var","catch finally return void","continue for switch while","debugger function this with","default if throw","delete in try","class enum extends super","const export import","null true false"),a["5-strict"]=n(a[5],"implements let private public yield","interface package protected static"),a[6]=n("break do in typeof","case else instanceof var","catch export new void","class extends return while","const finally super with","continue for switch yield","debugger function this","default if throw","delete import try","enum await","null true false"),a["6-strict"]=n(a[6],"let static","implements package protected","interface private public")},function(e,t){e.exports="function"==typeof Object.create?function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}},function(e,t){e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},function(e,t,r){(function(e,n){function o(e,r){var n={seen:[],stylize:a};return 3>arguments.length||(n.depth=arguments[2]),4>arguments.length||(n.colors=arguments[3]),m(r)?n.showHidden=r:r&&t._extend(n,r),k(n.showHidden)&&(n.showHidden=!1),k(n.depth)&&(n.depth=2),k(n.colors)&&(n.colors=!1),k(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=i),c(n,e,n.depth)}function i(e,t){var r=o.styles[t];return r?"["+o.colors[r][0]+"m"+e+"["+o.colors[r][1]+"m":e}function a(e,t){return e}function u(e){var t={};return e.forEach(function(e,r){t[e]=!0}),t}function c(e,r,n){if(e.customInspect&&r&&S(r.inspect)&&r.inspect!==t.inspect&&(!r.constructor||r.constructor.prototype!==r)){var o=r.inspect(n,e);return w(o)||(o=c(e,o,n)),o}var i=s(e,r);if(i)return i;var a=Object.keys(r),m=u(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(r)),E(r)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return l(r);if(0===a.length){if(S(r)){var y=r.name?": "+r.name:"";return e.stylize("[Function"+y+"]","special")}if(x(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(A(r))return e.stylize(Date.prototype.toString.call(r),"date");if(E(r))return l(r)}var g="",v=!1,b=["{","}"];if(d(r)&&(v=!0,b=["[","]"]),S(r)){var k=r.name?": "+r.name:"";g=" [Function"+k+"]"}if(x(r)&&(g=" "+RegExp.prototype.toString.call(r)),A(r)&&(g=" "+Date.prototype.toUTCString.call(r)),E(r)&&(g=" "+l(r)),0===a.length&&(!v||0==r.length))return b[0]+g+b[1];if(0>n)return x(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special");e.seen.push(r);var j;return j=v?f(e,r,n,m,a):a.map(function(t){return h(e,r,n,m,t,v)}),e.seen.pop(),p(j,g,b)}function s(e,t){if(k(t))return e.stylize("undefined","undefined");if(w(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return v(t)?e.stylize(""+t,"number"):m(t)?e.stylize(""+t,"boolean"):y(t)?e.stylize("null","null"):void 0}function l(e){return"["+Error.prototype.toString.call(e)+"]"}function f(e,t,r,n,o){for(var i=[],a=0,u=t.length;u>a;++a)i.push(C(t,a+"")?h(e,t,r,n,a+"",!0):"");return o.forEach(function(o){o.match(/^\d+$/)||i.push(h(e,t,r,n,o,!0))}),i}function h(e,t,r,n,o,i){var a,u,s;if(s=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]},s.get?u=s.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):s.set&&(u=e.stylize("[Setter]","special")),C(n,o)||(a="["+o+"]"),u||(e.seen.indexOf(s.value)<0?(u=y(r)?c(e,s.value,null):c(e,s.value,r-1),u.indexOf("\n")>-1&&(u=i?u.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+u.split("\n").map(function(e){return" "+e}).join("\n"))):u=e.stylize("[Circular]","special")),k(a)){if(i&&o.match(/^\d+$/))return u;a=JSON.stringify(""+o),a.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+u}function p(e,t,r){var n=0,o=e.reduce(function(e,t){return n++,t.indexOf("\n")<0||n++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0);return o>60?r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}function d(e){return Array.isArray(e)}function m(e){return"boolean"==typeof e}function y(e){return null===e}function g(e){return null==e}function v(e){return"number"==typeof e}function w(e){return"string"==typeof e}function b(e){return"symbol"==typeof e}function k(e){return void 0===e}function x(e){return j(e)&&"[object RegExp]"===z(e)}function j(e){return"object"==typeof e&&null!==e}function A(e){return j(e)&&"[object Date]"===z(e)}function E(e){return j(e)&&("[object Error]"===z(e)||e instanceof Error)}function S(e){return"function"==typeof e}function O(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e}function z(e){return Object.prototype.toString.call(e)}function N(e){return 10>e?"0"+e.toString(10):e.toString(10)}function F(){var e=new Date,t=[N(e.getHours()),N(e.getMinutes()),N(e.getSeconds())].join(":");return[e.getDate(),P[e.getMonth()],t].join(" ")}function C(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var T=/%[sdj%]/g;t.format=function(e){if(!w(e)){for(var t=[],r=0;arguments.length>r;r++)t.push(o(arguments[r]));return t.join(" ")}for(var r=1,n=arguments,i=n.length,a=(e+"").replace(T,function(e){if("%%"===e)return"%";if(r>=i)return e;switch(e){case"%s":return n[r++]+"";case"%d":return+n[r++];case"%j":try{return JSON.stringify(n[r++])}catch(t){return"[Circular]"}default:return e}}),u=n[r];i>r;u=n[++r])a+=y(u)||!j(u)?" "+u:" "+o(u);return a},t.deprecate=function(r,o){function i(){if(!a){if(n.throwDeprecation)throw Error(o);n.traceDeprecation?console.trace(o):console.error(o),a=!0}return r.apply(this,arguments)}if(k(e.process))return function(){return t.deprecate(r,o).apply(this,arguments)};if(n.noDeprecation===!0)return r;var a=!1;return i};var D,q={};t.debuglog=function(e){if(k(D)&&(D=n.env.NODE_DEBUG||""),e=e.toUpperCase(),!q[e])if(RegExp("\\b"+e+"\\b","i").test(D)){var r=n.pid;q[e]=function(){var n=t.format.apply(t,arguments);console.error("%s %d: %s",e,r,n)}}else q[e]=function(){};return q[e]},t.inspect=o,o.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},o.styles={special:"cyan",number:"yellow","boolean":"yellow",undefined:"grey","null":"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=d,t.isBoolean=m,t.isNull=y,t.isNullOrUndefined=g,t.isNumber=v,t.isString=w,t.isSymbol=b,t.isUndefined=k,t.isRegExp=x,t.isObject=j,t.isDate=A,t.isError=E,t.isFunction=S,t.isPrimitive=O,t.isBuffer=r(12);var P=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];t.log=function(){console.log("%s - %s",F(),t.format.apply(t,arguments))},t.inherits=r(11),t._extend=function(e,t){if(!t||!j(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e}}).call(t,function(){return this}(),r(8))}])});