!function(r,n){vari=Array.prototype,s=Object.prototype,o=i.slice,l=s.hasOwnProperty,a=i.forEach,c={},u={forEach:function(t,e,r){varn,i,s;if(null!==t)if(a&&t.forEach===a)t.forEach(e,r);elseif(t.length===+t.length){for(n=0,i=t.length;n<i;n++)if(nint&&e.call(r,t[n],n,t)===c)return}elsefor(sint)if(l.call(t,s)&&e.call(r,t[s],s,t)===c)return},extend:function(t){returnthis.forEach(o.call(arguments,1),function(e){for(varrine)t[r]=e[r]}),t}},h=function(t){if(this.defaults={locale_data:{messages:{"":{domain:"messages",lang:"en",plural_forms:"nplurals=2; plural=(n != 1);"}}},domain:"messages",debug:!1},this.options=u.extend({},this.defaults,t),this.textdomain(this.options.domain),t.domain&&!this.options.locale_data[this.options.domain])thrownewError("Text domain set to non-existent domain: `"+t.domain+"`")};functionp(t){returnh.PF.compile(t||"nplurals=2; plural=(n != 1);")}functionf(t,e){this._key=t,this._i18n=e}h.context_delimiter=String.fromCharCode(4),u.extend(f.prototype,{onDomain:function(t){returnthis._domain=t,this},withContext:function(t){returnthis._context=t,this},ifPlural:function(t,e){returnthis._val=t,this._pkey=e,this},fetch:function(t){return"[object Array]"!={}.toString.call(t)&&(t=[].slice.call(arguments,0)),(t&&t.length?h.sprintf:function(t){returnt})(this._i18n.dcnpgettext(this._domain,this._context,this._key,this._pkey,this._val),t)}}),u.extend(h.prototype,{translate:function(t){returnnewf(t,this)},textdomain:function(t){if(!t)returnthis._textdomain;this._textdomain=t},gettext:function(t){returnthis.dcnpgettext.call(this,void0,void0,t)},dgettext:function(t,e){returnthis.dcnpgettext.call(this,t,void0,e)},dcgettext:function(t,e){returnthis.dcnpgettext.call(this,t,void0,e)},ngettext:function(t,e,r){returnthis.dcnpgettext.call(this,void0,void0,t,e,r)},dngettext:function(t,e,r,n){returnthis.dcnpgettext.call(this,t,void0,e,r,n)},dcngettext:function(t,e,r,n){returnthis.dcnpgettext.call(this,t,void0,e,r,n)},pgettext:function(t,e){returnthis.dcnpgettext.call(this,void0,t,e)},dpgettext:function(t,e,r){returnthis.dcnpgettext.call(this,t,e,r)},dcpgettext:function(t,e,r){returnthis.dcnpgettext.call(this,t,e,r)},npgettext:function(t,e,r,n){returnthis.dcnpgettext.call(this,void0,t,e,r,n)},dnpgettext:function(t,e,r,n,i){returnthis.dcnpgettext.call(this,t,e,r,n,i)},dcnpgettext:function(t,e,r,n,i){vars;if(n=n||r,t=t||this._textdomain,!this.options)return(s=newh).dcnpgettext.call(s,void0,void0,r,n,i);if(!this.options.locale_data)thrownewError("No locale data provided.");if(!this.options.locale_data[t])thrownewError("Domain `"+t+"` was not found.");if(!this.options.locale_data[t][""])thrownewError("No locale meta information provided.");if(!r)thrownewError("No translation key found.");varo,l,a,c=e?e+h.context_delimiter+r:r,u=this.options.locale_data,f=u[t],d=(u.messages||this.defaults.locale_data.messages)[""],g=f[""].plural_forms||f[""]["Plural-Forms"]||f[""]["plural-forms"]||d.plural_forms||d["Plural-Forms"]||d["plural-forms"];if(void0===i)a=0;else{if("number"!=typeofi&&(i=parseInt(i,10),isNaN(i)))thrownewError("The number that was passed in is not a number.");a=p(g)(i)}if(!f)thrownewError("No domain named `"+t+"` could be found.");return!(o=f[c])||a>o.length?(this.options.missing_key_callback&&this.options.missing_key_callback(c,t),l=[r,n],!0===this.options.debug&&console.log(l[p(g)(i)]),l[p()(i)]):(l=o[a])||(l=[r,n])[p()(i)]}});vard,g,y=function(){functiont(t){returnObject.prototype.toString.call(t).slice(8,-1).toLowerCase()}functione(t,e){for(varr=[];e>0;r[--e]=t);returnr.join("")}varr=function(){returnr.cache.hasOwnProperty(arguments[0])||(r.cache[arguments[0]]=r.parse(arguments[0])),r.format.call(null,r.cache[arguments[0]],arguments)};returnr.format=function(r,n){vari,s,o,l,a,c,u,h=1,p=r.length,f="",d=[];for(s=0;s<p;s++)if("string"===(f=t(r[s])))d.push(r[s]);elseif("array"===f){if((l=r[s])[2])for(i=n[h],o=0;o<l[2].length;o++){if(!i.hasOwnProperty(l[2][o]))throwy('[sprintf] property "%s" does not exist',l[2][o]);i=i[l[2][o]]}elsei=l[1]?n[l[1]]:n[h++