mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-02-06 15:04:58 +00:00
4 lines
57 KiB
JavaScript
4 lines
57 KiB
JavaScript
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r():"function"==typeof define&&define.amd?define(r):e.IntlPolyfill=r()}(this,function(){"use strict";function e(e){if("function"==typeof Math.log10)return Math.floor(Math.log10(e));var r=Math.round(Math.log(e)*Math.LOG10E);return r-(Number("1e"+r)>e)}function r(e){for(var t in e)(e instanceof r||Ue.call(e,t))&&Ke(this,t,{value:e[t],enumerable:!0,writable:!0,configurable:!0})}function t(){Ke(this,"length",{writable:!0,value:0}),arguments.length&&Ve.apply(this,We.call(arguments))}function n(){if(rr.disableRegExpRestore)return function(){};for(var e={lastMatch:RegExp.lastMatch||"",leftContext:RegExp.leftContext,multiline:RegExp.multiline,input:RegExp.input},r=!1,t=1;t<=9;t++)r=(e["$"+t]=RegExp["$"+t])||r;return function(){var t=/[.?*+^$[\]\\(){}|-]/g,n=e.lastMatch.replace(t,"\\$&"),o="";if(r)for(var i=1;i<=9;i++){var a=e["$"+i];a?(a=a.replace(t,"\\$&"),o+=n.substring(0,n.indexOf(a))+"(",n=a+")"+n.substring(n.indexOf(a)+a.length)):(o+="(",n=")"+n)}o+=n,o=o.replace(/((^|[^\\])((\\\\)*\\[()])+|[^()])+/g,function(e){return"[\\s\\S]{"+e.replace(/\\(.)/g,"$1").length+"}"});var l=new RegExp(o,e.multiline?"gm":"g");l.lastIndex=e.leftContext.length,l.exec(e.input)}}function o(e){if(null===e)throw new TypeError("Cannot convert null or undefined to object");return"object"===(void 0===e?"undefined":Ze.typeof(e))?e:Object(e)}function i(e){return"number"==typeof e?e:Number(e)}function a(e){var r=i(e);return isNaN(r)?0:0===r||-0===r||r===1/0||r===-1/0?r:r<0?-1*Math.floor(Math.abs(r)):Math.floor(Math.abs(r))}function l(e){var r=a(e);return r<=0?0:r===1/0?Math.pow(2,53)-1:Math.min(r,Math.pow(2,53)-1)}function s(e){return Ue.call(e,"__getInternalProperties")?e.__getInternalProperties(tr):He(null)}function u(e){ur=e}function c(e){for(var r=e.length;r--;){var t=e.charAt(r);t>="a"&&t<="z"&&(e=e.slice(0,r)+t.toUpperCase()+e.slice(r+1))}return e}function f(e){return!!ir.test(e)&&(!ar.test(e)&&!lr.test(e))}function g(e){var r=void 0,t=void 0;e=e.toLowerCase(),t=e.split("-");for(var n=1,o=t.length;n<o;n++)if(2===t[n].length)t[n]=t[n].toUpperCase();else if(4===t[n].length)t[n]=t[n].charAt(0).toUpperCase()+t[n].slice(1);else if(1===t[n].length&&"x"!==t[n])break;e=Je.call(t,"-"),(r=e.match(sr))&&r.length>1&&(r.sort(),e=e.replace(RegExp("(?:"+sr.source+")+","i"),Je.call(r,""))),Ue.call(cr.tags,e)&&(e=cr.tags[e]),t=e.split("-");for(var i=1,a=t.length;i<a;i++)Ue.call(cr.subtags,t[i])?t[i]=cr.subtags[t[i]]:Ue.call(cr.extLang,t[i])&&(t[i]=cr.extLang[t[i]][0],1===i&&cr.extLang[t[1]][1]===t[0]&&(t=We.call(t,i++),a-=1));return Je.call(t,"-")}function h(){return ur}function m(e){var r=String(e),t=c(r);return!1!==fr.test(t)}function v(e){if(void 0===e)return new t;var r=new t;e="string"==typeof e?[e]:e;for(var n=o(e),i=l(n.length),a=0;a<i;){var s=String(a);if(s in n){var u=n[s];if(null===u||"string"!=typeof u&&"object"!==(void 0===u?"undefined":Ze.typeof(u)))throw new TypeError("String or Object type expected");var c=String(u);if(!f(c))throw new RangeError("'"+c+"' is not a structurally valid language tag");c=g(c),-1===Ye.call(r,c)&&Ve.call(r,c)}a++}return r}function p(e,r){for(var t=r;t;){if(Ye.call(e,t)>-1)return t;var n=t.lastIndexOf("-");if(n<0)return;n>=2&&"-"===t.charAt(n-2)&&(n-=2),t=t.substring(0,n)}}function d(e,t){for(var n=0,o=t.length,i=void 0,a=void 0,l=void 0;n<o&&!i;)a=t[n],l=String(a).replace(gr,""),i=p(e,l),n++;var s=new r;if(void 0!==i){if(s["[[locale]]"]=i,String(a)!==String(l)){var u=a.match(gr)[0],c=a.indexOf("-u-");s["[[extension]]"]=u,s["[[extensionIndex]]"]=c}}else s["[[locale]]"]=h();return s}function y(e,r){return d(e,r)}function b(e){var r=e.length;if(0===r)return[];for(var t=[],n=!0,o=3,i=o,a=o;o<r;){if(45===e.codePointAt(o)){if(o-i==2){if(i-a>1){var l=e.substring(a,i-1);t.push(l)}var s=e.substring(i,o);t.push(s),a=o+1,n=!1}else if(!0===n){var u=e.substring(i,o);t.push(u),a=o+1}i=o+1}o+=1}if(r-i==2){if(i-a>1){var c=e.substring(a,i-1);t.push(c)}a=i}var f=e.substring(a,r);return t.push(f),t}function w(e,t,n,o,i){if(0===e.length)throw new ReferenceError("No locale data has been provided for this object yet.");var a=n["[[localeMatcher]]"],l=void 0;l="lookup"===a?d(e,t):y(e,t);var s=l["[[locale]]"],u=void 0,c=void 0;if(Ue.call(l,"[[extension]]")){u=b(l["[[extension]]"]),c=u.length}var f=new r;f["[[dataLocale]]"]=s;for(var h="-u",m=0,v=o.length;m<v;){var p=o[m],w=i[s],k=w[p],S=k[0],x="",j=Ye;if(void 0!==u){var z=j.call(u,p);if(-1!==z)if(z+1<c&&u[z+1].length>2){var D=u[z+1],F=j.call(k,D);-1!==F&&(S=D,x="-"+p+"-"+S)}else{var O=j(k,"true");-1!==O&&(S="true")}}if(Ue.call(n,"[["+p+"]]")){var N=n["[["+p+"]]"];-1!==j.call(k,N)&&N!==S&&(S=N,x="")}f["[["+p+"]]"]=S,h+=x,m++}if(h.length>2){var P=s.indexOf("-x-");if(-1===P)s+=h;else{s=s.substring(0,P)+h+s.substring(P)}s=g(s)}return f["[[locale]]"]=s,f}function k(e,r){for(var n=r.length,o=new t,i=0;i<n;){var a=r[i];void 0!==p(e,String(a).replace(gr,""))&&Ve.call(o,a),i++}return We.call(o)}function S(e,r){return k(e,r)}function x(e,t,n){var i=void 0,a=void 0;if(void 0!==n&&(n=new r(o(n)),void 0!==(i=n.localeMatcher)&&"lookup"!==(i=String(i))&&"best fit"!==i))throw new RangeError('matcher should be "lookup" or "best fit"');a=void 0===i||"best fit"===i?S(e,t):k(e,t);for(var l in a)Ue.call(a,l)&&Ke(a,l,{writable:!1,configurable:!1,value:a[l]});try{Ke(a,"length",{writable:!1})}catch(e){}return a}function j(e,r,t,n,o){var i=e[r];if(void 0!==i){if(i="boolean"===t?Boolean(i):"string"===t?String(i):i,void 0!==n&&-1===Ye.call(n,i))throw new RangeError("'"+i+"' is not an allowed value for `"+r+"`");return i}return o}function z(e,r,t,n,o){var i=e[r];if(void 0!==i){if(i=Number(i),isNaN(i)||i<t||i>n)throw new RangeError("Value is not a number or outside accepted range");return Math.floor(i)}return o}function D(e){for(var r=v(e),t=[],n=r.length,o=0;o<n;)t[o]=r[o],o++;return t}function F(){var e=arguments[0],r=arguments[1];return this&&this!==hr?N(o(this),e,r):new hr.NumberFormat(e,r)}function O(e,r,t){var n=z(r,"minimumIntegerDigits",1,21,1),o=z(r,"minimumFractionDigits",0,20,t),i=z(r,"maximumFractionDigits",o,20),a=r.minimumSignificantDigits,l=r.maximumSignificantDigits;e["[[minimumIntegerDigits]]"]=n,e["[[minimumFractionDigits]]"]=o,e["[[maximumFractionDigits]]"]=i,void 0===a&&void 0===l||(a=z(r,"minimumSignificantDigits",1,21,1),l=z(r,"maximumSignificantDigits",a,21,21),e["[[minimumSignificantDigits]]"]=a,e["[[maximumSignificantDigits]]"]=l)}function N(e,i,a){var l=s(e),u=n();if(!0===l["[[initializedIntlObject]]"])throw new TypeError("`this` object has already been initialized as an Intl object");Ke(e,"__getInternalProperties",{value:function(){if(arguments[0]===tr)return l}}),l["[[initializedIntlObject]]"]=!0;var c=v(i);a=void 0===a?{}:o(a);var f=new r,g=j(a,"localeMatcher","string",new t("lookup","best fit"),"best fit");f["[[localeMatcher]]"]=g;var h=rr.NumberFormat["[[localeData]]"],p=w(rr.NumberFormat["[[availableLocales]]"],c,f,rr.NumberFormat["[[relevantExtensionKeys]]"],h);l["[[locale]]"]=p["[[locale]]"],l["[[numberingSystem]]"]=p["[[nu]]"],l["[[dataLocale]]"]=p["[[dataLocale]]"];var d=p["[[dataLocale]]"],y=j(a,"style","string",new t("decimal","percent","currency"),"decimal");l["[[style]]"]=y;var b=j(a,"currency","string");if(void 0!==b&&!m(b))throw new RangeError("'"+b+"' is not a valid currency code");if("currency"===y&&void 0===b)throw new TypeError("Currency code is required when style is currency");var k=void 0;"currency"===y&&(b=b.toUpperCase(),l["[[currency]]"]=b,k=P(b));var S=j(a,"currencyDisplay","string",new t("code","symbol","name"),"symbol");"currency"===y&&(l["[[currencyDisplay]]"]=S),O(l,a,"currency"===y?k:0),void 0===l["[[maximumFractionDigits]]"]&&(l["[[maximumFractionDigits]]"]="currency"===y?Math.max(l["[[minimumFractionDigits]]"],k):"percent"===y?Math.max(l["[[minimumFractionDigits]]"],0):Math.max(l["[[minimumFractionDigits]]"],3));var x=j(a,"useGrouping","boolean",void 0,!0);l["[[useGrouping]]"]=x;var z=h[d],D=z.patterns,F=D[y];return l["[[positivePattern]]"]=F.positivePattern,l["[[negativePattern]]"]=F.negativePattern,l["[[boundFormat]]"]=void 0,l["[[initializedNumberFormat]]"]=!0,Be&&(e.format=E.call(e)),u(),e}function P(e){return void 0!==mr[e]?mr[e]:2}function E(){var e=null!==this&&"object"===Ze.typeof(this)&&s(this);if(!e||!e["[[initializedNumberFormat]]"])throw new TypeError("`this` value for format() is not an initialized Intl.NumberFormat object.");if(void 0===e["[[boundFormat]]"]){var r=function(e){return R(this,Number(e))},t=er.call(r,this);e["[[boundFormat]]"]=t}return e["[[boundFormat]]"]}function L(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,r=null!==this&&"object"===Ze.typeof(this)&&s(this);if(!r||!r["[[initializedNumberFormat]]"])throw new TypeError("`this` value for formatToParts() is not an initialized Intl.NumberFormat object.");return _(this,Number(e))}function _(e,r){for(var t=I(e,r),n=[],o=0,i=0;t.length>i;i++){var a=t[i],l={};l.type=a["[[type]]"],l.value=a["[[value]]"],n[o]=l,o+=1}return n}function T(e,r){var t=s(e);return Ue.call(t,"[[minimumSignificantDigits]]")&&Ue.call(t,"[[maximumSignificantDigits]]")?M(r,t["[[minimumSignificantDigits]]"],t["[[maximumSignificantDigits]]"]):A(r,t["[[minimumIntegerDigits]]"],t["[[minimumFractionDigits]]"],t["[[maximumFractionDigits]]"])}function I(e,r){var n=s(e),o=n["[[dataLocale]]"],i=n["[[numberingSystem]]"],a=rr.NumberFormat["[[localeData]]"][o],l=a.symbols[i]||a.symbols.latn,u=void 0;!isNaN(r)&&r<0?(r=-r,u=n["[[negativePattern]]"]):u=n["[[positivePattern]]"];for(var c=new t,f=u.indexOf("{",0),g=0,h=0,m=u.length;f>-1&&f<m;){if(-1===(g=u.indexOf("}",f)))throw new Error;if(f>h){var v=u.substring(h,f);Ve.call(c,{"[[type]]":"literal","[[value]]":v})}var p=u.substring(f+1,g);if("number"===p)if(isNaN(r)){var d=l.nan;Ve.call(c,{"[[type]]":"nan","[[value]]":d})}else if(isFinite(r)){"percent"===n["[[style]]"]&&(r*=100);var y=T(e,r);vr[i]?function(){var e=vr[i];y=String(y).replace(/\d/g,function(r){return e[r]})}():y=String(y);var b=void 0,w=void 0,k=y.indexOf(".",0);if(k>0?(b=y.substring(0,k),w=y.substring(k+1,k.length)):(b=y,w=void 0),!0===n["[[useGrouping]]"]){var S=l.group,x=[],j=a.patterns.primaryGroupSize||3,z=a.patterns.secondaryGroupSize||j;if(b.length>j){var D=b.length-j,F=D%z,O=b.slice(0,F);for(O.length&&Ve.call(x,O);F<D;)Ve.call(x,b.slice(F,F+z)),F+=z;Ve.call(x,b.slice(D))}else Ve.call(x,b);if(0===x.length)throw new Error;for(;x.length;){var N=Qe.call(x);Ve.call(c,{"[[type]]":"integer","[[value]]":N}),x.length&&Ve.call(c,{"[[type]]":"group","[[value]]":S})}}else Ve.call(c,{"[[type]]":"integer","[[value]]":b});if(void 0!==w){var P=l.decimal;Ve.call(c,{"[[type]]":"decimal","[[value]]":P}),Ve.call(c,{"[[type]]":"fraction","[[value]]":w})}}else{var E=l.infinity;Ve.call(c,{"[[type]]":"infinity","[[value]]":E})}else if("plusSign"===p){var L=l.plusSign;Ve.call(c,{"[[type]]":"plusSign","[[value]]":L})}else if("minusSign"===p){var _=l.minusSign;Ve.call(c,{"[[type]]":"minusSign","[[value]]":_})}else if("percentSign"===p&&"percent"===n["[[style]]"]){var I=l.percentSign;Ve.call(c,{"[[type]]":"literal","[[value]]":I})}else if("currency"===p&&"currency"===n["[[style]]"]){var R=n["[[currency]]"],M=void 0;"code"===n["[[currencyDisplay]]"]?M=R:"symbol"===n["[[currencyDisplay]]"]?M=a.currencies[R]||R:"name"===n["[[currencyDisplay]]"]&&(M=R),Ve.call(c,{"[[type]]":"currency","[[value]]":M})}else{var A=u.substring(f,g);Ve.call(c,{"[[type]]":"literal","[[value]]":A})}h=g+1,f=u.indexOf("{",h)}if(h<m){var q=u.substring(h,m);Ve.call(c,{"[[type]]":"literal","[[value]]":q})}return c}function R(e,r){for(var t=I(e,r),n="",o=0;t.length>o;o++){n+=t[o]["[[value]]"]}return n}function M(r,t,n){var o=n,i=void 0,a=void 0;if(0===r)i=Je.call(Array(o+1),"0"),a=0;else{a=e(Math.abs(r));var l=Math.round(Math.exp(Math.abs(a-o+1)*Math.LN10));i=String(Math.round(a-o+1<0?r*l:r/l))}if(a>=o)return i+Je.call(Array(a-o+1+1),"0");if(a===o-1)return i;if(a>=0?i=i.slice(0,a+1)+"."+i.slice(a+1):a<0&&(i="0."+Je.call(Array(1-(a+1)),"0")+i),i.indexOf(".")>=0&&n>t){for(var s=n-t;s>0&&"0"===i.charAt(i.length-1);)i=i.slice(0,-1),s--;"."===i.charAt(i.length-1)&&(i=i.slice(0,-1))}return i}function A(e,r,t,n){var o=n,i=Math.pow(10,o)*e,a=0===i?"0":i.toFixed(0),l=void 0,s=(l=a.indexOf("e"))>-1?a.slice(l+1):0;s&&(a=a.slice(0,l).replace(".",""),a+=Je.call(Array(s-(a.length-1)+1),"0"));var u=void 0;if(0!==o){var c=a.length;if(c<=o){a=Je.call(Array(o+1-c+1),"0")+a,c=o+1}var f=a.substring(0,c-o);a=f+"."+a.substring(c-o,a.length),u=f.length}else u=a.length;for(var g=n-t;g>0&&"0"===a.slice(-1);)a=a.slice(0,-1),g--;if("."===a.slice(-1)&&(a=a.slice(0,-1)),u<r){a=Je.call(Array(r-u+1),"0")+a}return a}function q(e){for(var r=0;r<wr.length;r+=1)if(e.hasOwnProperty(wr[r]))return!1;return!0}function C(e){for(var r=0;r<br.length;r+=1)if(e.hasOwnProperty(br[r]))return!1;return!0}function G(e,r){for(var t={_:{}},n=0;n<br.length;n+=1)e[br[n]]&&(t[br[n]]=e[br[n]]),e._[br[n]]&&(t._[br[n]]=e._[br[n]]);for(var o=0;o<wr.length;o+=1)r[wr[o]]&&(t[wr[o]]=r[wr[o]]),r._[wr[o]]&&(t._[wr[o]]=r._[wr[o]]);return t}function Z(e){return e.pattern12=e.extendedPattern.replace(/'([^']*)'/g,function(e,r){return r||"'"}),e.pattern=e.pattern12.replace("{ampm}","").replace(dr,""),e}function $(e,r){switch(e.charAt(0)){case"G":return r.era=["short","short","short","long","narrow"][e.length-1],"{era}";case"y":case"Y":case"u":case"U":case"r":return r.year=2===e.length?"2-digit":"numeric","{year}";case"Q":case"q":return r.quarter=["numeric","2-digit","short","long","narrow"][e.length-1],"{quarter}";case"M":case"L":return r.month=["numeric","2-digit","short","long","narrow"][e.length-1],"{month}";case"w":return r.week=2===e.length?"2-digit":"numeric","{weekday}";case"W":return r.week="numeric","{weekday}";case"d":return r.day=2===e.length?"2-digit":"numeric","{day}";case"D":case"F":case"g":return r.day="numeric","{day}";case"E":return r.weekday=["short","short","short","long","narrow","short"][e.length-1],"{weekday}";case"e":return r.weekday=["numeric","2-digit","short","long","narrow","short"][e.length-1],"{weekday}";case"c":return r.weekday=["numeric",void 0,"short","long","narrow","short"][e.length-1],"{weekday}";case"a":case"b":case"B":return r.hour12=!0,"{ampm}";case"h":case"H":return r.hour=2===e.length?"2-digit":"numeric","{hour}";case"k":case"K":return r.hour12=!0,r.hour=2===e.length?"2-digit":"numeric","{hour}";case"m":return r.minute=2===e.length?"2-digit":"numeric","{minute}";case"s":return r.second=2===e.length?"2-digit":"numeric","{second}";case"S":case"A":return r.second="numeric","{second}";case"z":case"Z":case"O":case"v":case"V":case"X":case"x":return r.timeZoneName=e.length<4?"short":"long","{timeZoneName}"}}function B(e,r){if(!yr.test(r)){var t={originalPattern:r,_:{}};return t.extendedPattern=r.replace(pr,function(e){return $(e,t._)}),e.replace(pr,function(e){return $(e,t)}),Z(t)}}function U(e){var r=e.availableFormats,t=e.timeFormats,n=e.dateFormats,o=[],i=void 0,a=void 0,l=void 0,s=void 0,u=void 0,c=[],f=[];for(i in r)r.hasOwnProperty(i)&&(a=r[i],(l=B(i,a))&&(o.push(l),q(l)?f.push(l):C(l)&&c.push(l)));for(i in t)t.hasOwnProperty(i)&&(a=t[i],(l=B(i,a))&&(o.push(l),c.push(l)));for(i in n)n.hasOwnProperty(i)&&(a=n[i],(l=B(i,a))&&(o.push(l),f.push(l)));for(s=0;s<c.length;s+=1)for(u=0;u<f.length;u+=1)a="long"===f[u].month?f[u].weekday?e.full:e.long:"short"===f[u].month?e.medium:e.short,l=G(f[u],c[s]),l.originalPattern=a,l.extendedPattern=a.replace("{0}",c[s].extendedPattern).replace("{1}",f[u].extendedPattern).replace(/^[,\s]+|[,\s]+$/gi,""),o.push(Z(l));return o}function K(e,r){if(kr[e]&&kr[e][r]){var t;return t={originalPattern:kr[e][r],_:ke({},e,r),extendedPattern:"{"+e+"}"},ke(t,e,r),ke(t,"pattern12","{"+e+"}"),ke(t,"pattern","{"+e+"}"),t}}function Y(e,r,t,n,o){var i=e[r]&&e[r][t]?e[r][t]:e.gregory[t],a={narrow:["short","long"],short:["long","narrow"],long:["short","narrow"]},l=Ue.call(i,n)?i[n]:Ue.call(i,a[n][0])?i[a[n][0]]:i[a[n][1]];return null!==o?l[o]:l}function H(){var e=arguments[0],r=arguments[1];return this&&this!==hr?W(o(this),e,r):new hr.DateTimeFormat(e,r)}function W(e,o,i){var a=s(e),l=n();if(!0===a["[[initializedIntlObject]]"])throw new TypeError("`this` object has already been initialized as an Intl object");Ke(e,"__getInternalProperties",{value:function(){if(arguments[0]===tr)return a}}),a["[[initializedIntlObject]]"]=!0;var u=v(o);i=V(i,"any","date");var f=new r,g=j(i,"localeMatcher","string",new t("lookup","best fit"),"best fit");f["[[localeMatcher]]"]=g;var h=rr.DateTimeFormat,m=h["[[localeData]]"],p=w(h["[[availableLocales]]"],u,f,h["[[relevantExtensionKeys]]"],m);a["[[locale]]"]=p["[[locale]]"],a["[[calendar]]"]=p["[[ca]]"],a["[[numberingSystem]]"]=p["[[nu]]"],a["[[dataLocale]]"]=p["[[dataLocale]]"];var d=p["[[dataLocale]]"],y=i.timeZone;if(void 0!==y&&"UTC"!==(y=c(y)))throw new RangeError("timeZone is not supported.");a["[[timeZone]]"]=y,f=new r;for(var b in xr)if(Ue.call(xr,b)){var k=j(i,b,"string",xr[b]);f["[["+b+"]]"]=k}var S=void 0,x=m[d],z=X(x.formats);if(g=j(i,"formatMatcher","string",new t("basic","best fit"),"best fit"),x.formats=z,"basic"===g)S=J(f,z);else{var D=j(i,"hour12","boolean");f.hour12=void 0===D?x.hour12:D,S=Q(f,z)}for(var F in xr)if(Ue.call(xr,F)&&Ue.call(S,F)){var O=S[F];O=S._&&Ue.call(S._,F)?S._[F]:O,a["[["+F+"]]"]=O}var N=void 0,P=j(i,"hour12","boolean");if(a["[[hour]]"])if(P=void 0===P?x.hour12:P,a["[[hour12]]"]=P,!0===P){var E=x.hourNo0;a["[[hourNo0]]"]=E,N=S.pattern12}else N=S.pattern;else N=S.pattern;return a["[[pattern]]"]=N,a["[[boundFormat]]"]=void 0,a["[[initializedDateTimeFormat]]"]=!0,Be&&(e.format=ee.call(e)),l(),e}function X(e){return"[object Array]"===Object.prototype.toString.call(e)?e:U(e)}function V(e,t,n){if(void 0===e)e=null;else{var i=o(e);e=new r;for(var a in i)e[a]=i[a]}e=He(e);var l=!0;return"date"!==t&&"any"!==t||void 0===e.weekday&&void 0===e.year&&void 0===e.month&&void 0===e.day||(l=!1),"time"!==t&&"any"!==t||void 0===e.hour&&void 0===e.minute&&void 0===e.second||(l=!1),!l||"date"!==n&&"all"!==n||(e.year=e.month=e.day="numeric"),!l||"time"!==n&&"all"!==n||(e.hour=e.minute=e.second="numeric"),e}function J(e,r){for(var t=-1/0,n=void 0,o=0,i=r.length;o<i;){var a=r[o],l=0;for(var s in xr)if(Ue.call(xr,s)){var u=e["[["+s+"]]"],c=Ue.call(a,s)?a[s]:void 0;if(void 0===u&&void 0!==c)l-=20;else if(void 0!==u&&void 0===c)l-=120;else{var f=["2-digit","numeric","narrow","short","long"],g=Ye.call(f,u),h=Ye.call(f,c),m=Math.max(Math.min(h-g,2),-2);2===m?l-=6:1===m?l-=3:-1===m?l-=6:-2===m&&(l-=8)}}l>t&&(t=l,n=a),o++}return n}function Q(e,r){var t=[];for(var n in xr)Ue.call(xr,n)&&void 0!==e["[["+n+"]]"]&&t.push(n);if(1===t.length){var o=K(t[0],e["[["+t[0]+"]]"]);if(o)return o}for(var i=-1/0,a=void 0,l=0,s=r.length;l<s;){var u=r[l],c=0;for(var f in xr)if(Ue.call(xr,f)){var g=e["[["+f+"]]"],h=Ue.call(u,f)?u[f]:void 0,m=Ue.call(u._,f)?u._[f]:void 0;if(g!==m&&(c-=2),void 0===g&&void 0!==h)c-=20;else if(void 0!==g&&void 0===h)c-=120;else{var v=["2-digit","numeric","narrow","short","long"],p=Ye.call(v,g),d=Ye.call(v,h),y=Math.max(Math.min(d-p,2),-2);d<=1&&p>=2||d>=2&&p<=1?y>0?c-=6:y<0&&(c-=8):y>1?c-=3:y<-1&&(c-=6)}}u._.hour12!==e.hour12&&(c-=1),c>i&&(i=c,a=u),l++}return a}function ee(){var e=null!==this&&"object"===Ze.typeof(this)&&s(this);if(!e||!e["[[initializedDateTimeFormat]]"])throw new TypeError("`this` value for format() is not an initialized Intl.DateTimeFormat object.");if(void 0===e["[[boundFormat]]"]){var r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return ne(this,void 0===e?Date.now():i(e))},t=er.call(r,this);e["[[boundFormat]]"]=t}return e["[[boundFormat]]"]}function re(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,r=null!==this&&"object"===Ze.typeof(this)&&s(this);if(!r||!r["[[initializedDateTimeFormat]]"])throw new TypeError("`this` value for formatToParts() is not an initialized Intl.DateTimeFormat object.");return oe(this,void 0===e?Date.now():i(e))}function te(e,r){if(!isFinite(r))throw new RangeError("Invalid valid date passed to format");var o=e.__getInternalProperties(tr);n();for(var i=o["[[locale]]"],a=new hr.NumberFormat([i],{useGrouping:!1}),l=new hr.NumberFormat([i],{minimumIntegerDigits:2,useGrouping:!1}),s=ie(r,o["[[calendar]]"],o["[[timeZone]]"]),u=o["[[pattern]]"],c=new t,f=0,g=u.indexOf("{"),h=0,m=o["[[dataLocale]]"],v=rr.DateTimeFormat["[[localeData]]"][m].calendars,p=o["[[calendar]]"];-1!==g;){var d=void 0;if(-1===(h=u.indexOf("}",g)))throw new Error("Unclosed pattern");g>f&&Ve.call(c,{type:"literal",value:u.substring(f,g)});var y=u.substring(g+1,h);if(xr.hasOwnProperty(y)){var b=o["[["+y+"]]"],w=s["[["+y+"]]"];if("year"===y&&w<=0?w=1-w:"month"===y?w++:"hour"===y&&!0===o["[[hour12]]"]&&0===(w%=12)&&!0===o["[[hourNo0]]"]&&(w=12),"numeric"===b)d=R(a,w);else if("2-digit"===b)d=R(l,w),d.length>2&&(d=d.slice(-2));else if(b in Sr)switch(y){case"month":d=Y(v,p,"months",b,s["[["+y+"]]"]);break;case"weekday":try{d=Y(v,p,"days",b,s["[["+y+"]]"])}catch(e){throw new Error("Could not find weekday data for locale "+i)}break;case"timeZoneName":d="";break;case"era":try{d=Y(v,p,"eras",b,s["[["+y+"]]"])}catch(e){throw new Error("Could not find era data for locale "+i)}break;default:d=s["[["+y+"]]"]}Ve.call(c,{type:y,value:d})}else if("ampm"===y){var k=s["[[hour]]"];d=Y(v,p,"dayPeriods",k>11?"pm":"am",null),Ve.call(c,{type:"dayPeriod",value:d})}else Ve.call(c,{type:"literal",value:u.substring(g,h+1)});f=h+1,g=u.indexOf("{",f)}return h<u.length-1&&Ve.call(c,{type:"literal",value:u.substr(h+1)}),c}function ne(e,r){for(var t=te(e,r),n="",o=0;t.length>o;o++){n+=t[o].value}return n}function oe(e,r){for(var t=te(e,r),n=[],o=0;t.length>o;o++){var i=t[o];n.push({type:i.type,value:i.value})}return n}function ie(e,t,n){var o=new Date(e),i="get"+(n||"");return new r({"[[weekday]]":o[i+"Day"](),"[[era]]":+(o[i+"FullYear"]()>=0),"[[year]]":o[i+"FullYear"](),"[[month]]":o[i+"Month"](),"[[day]]":o[i+"Date"](),"[[hour]]":o[i+"Hours"](),"[[minute]]":o[i+"Minutes"](),"[[second]]":o[i+"Seconds"](),"[[inDST]]":!1})}function ae(){var e=arguments[0],r=arguments[1];return this&&this!==hr?le(o(this),e,r):new hr.PluralRules(e,r)}function le(e,n,i){var a=s(e);if(!0===a["[[InitializedIntlObject]]"])throw new TypeError("`this` object has already been initialized as an Intl object");Ke(e,"__getInternalProperties",{value:function(){if(arguments[0]===tr)return a}}),a["[[InitializedIntlObject]]"]=!0;var l=v(n);i=void 0===i?{}:o(i);var u=j(i,"type","string",new t("cardinal","ordinal"),"cardinal");a["[[type]]"]=u;var c=new r,f=j(i,"localeMatcher","string",new t("lookup","best fit"),"best fit");c["[[localeMatcher]]"]=f,O(rr,i,0),void 0===rr["[[maximumFractionDigits]]"]&&(rr["[[maximumFractionDigits]]"]=Math.max(rr["[[minimumFractionDigits]]"],3));var g=rr.PluralRules["[[localeData]]"],h=w(rr.PluralRules["[[availableLocales]]"],l,c,rr.PluralRules["[[relevantExtensionKeys]]"],g);return a["[[locale]]"]=h["[[locale]]"],a["[[InitializedPluralRules]]"]=!0,e}function se(e,r,t){for(var n=e;n;n=n.replace(/[-_]?[^-_]*$/,"")){var o=Dr[n];if(o)return o(t,"ordinal"===r)}return"other"}function ue(e,r){if(!Number.isFinite(r))return"other";var t=s(e);return se(t["[[locale]]"],t["[[type]]"],r)}function ce(e,r){if(!e.number)throw new Error("Object passed doesn't contain locale data for Intl.NumberFormat");var t=void 0,n=[r],o=r.split("-");for(o.length>2&&4===o[1].length&&Ve.call(n,o[0]+"-"+o[2]);t=Qe.call(n);)Ve.call(rr.NumberFormat["[[availableLocales]]"],t),rr.NumberFormat["[[localeData]]"][t]=e.number,e.date&&(e.date.nu=e.number.nu,Ve.call(rr.DateTimeFormat["[[availableLocales]]"],t),rr.DateTimeFormat["[[localeData]]"][t]=e.date);void 0===ur&&u(r)}var fe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ge=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(r,t,n,o){var i=r&&r.defaultProps,a=arguments.length-3;if(t||0===a||(t={}),t&&i)for(var l in i)void 0===t[l]&&(t[l]=i[l]);else t||(t=i||{});if(1===a)t.children=o;else if(a>1){for(var s=Array(a),u=0;u<a;u++)s[u]=arguments[u+3];t.children=s}return{$$typeof:e,type:r,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}}(),he=function(e){if("function"==typeof Symbol){if(Symbol.asyncIterator){var r=e[Symbol.asyncIterator];if(null!=r)return r.call(e)}if(Symbol.iterator)return e[Symbol.iterator]()}throw new TypeError("Object is not async iterable")},me=function(){function e(e){this.value=e}function r(r){function t(e,r){return new Promise(function(t,o){var l={key:e,arg:r,resolve:t,reject:o,next:null};a?a=a.next=l:(i=a=l,n(e,r))})}function n(t,i){try{var a=r[t](i),l=a.value;l instanceof e?Promise.resolve(l.value).then(function(e){n("next",e)},function(e){n("throw",e)}):o(a.done?"return":"normal",a.value)}catch(e){o("throw",e)}}function o(e,r){switch(e){case"return":i.resolve({value:r,done:!0});break;case"throw":i.reject(r);break;default:i.resolve({value:r,done:!1})}i=i.next,i?n(i.key,i.arg):a=null}var i,a;this._invoke=t,"function"!=typeof r.return&&(this.return=void 0)}return"function"==typeof Symbol&&Symbol.asyncIterator&&(r.prototype[Symbol.asyncIterator]=function(){return this}),r.prototype.next=function(e){return this._invoke("next",e)},r.prototype.throw=function(e){return this._invoke("throw",e)},r.prototype.return=function(e){return this._invoke("return",e)},{wrap:function(e){return function(){return new r(e.apply(this,arguments))}},await:function(r){return new e(r)}}}(),ve=function(e,r){function t(t,n){return o=!0,n=new Promise(function(r){r(e[t](n))}),{done:!1,value:r(n)}}var n={},o=!1;return"function"==typeof Symbol&&Symbol.iterator&&(n[Symbol.iterator]=function(){return this}),n.next=function(e){return o?(o=!1,e):t("next",e)},"function"==typeof e.throw&&(n.throw=function(e){if(o)throw o=!1,e;return t("throw",e)}),"function"==typeof e.return&&(n.return=function(e){return t("return",e)}),n},pe=function(e){return function(){var r=e.apply(this,arguments);return new Promise(function(e,t){function n(o,i){try{var a=r[o](i),l=a.value}catch(e){return void t(e)}if(!a.done)return Promise.resolve(l).then(function(e){n("next",e)},function(e){n("throw",e)});e(l)}return n("next")})}},de=function(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")},ye=function(){function e(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(r,t,n){return t&&e(r.prototype,t),n&&e(r,n),r}}(),be=function(e,r){for(var t in r){var n=r[t];n.configurable=n.enumerable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,t,n)}return e},we=function(e,r){for(var t=Object.getOwnPropertyNames(r),n=0;n<t.length;n++){var o=t[n],i=Object.getOwnPropertyDescriptor(r,o);i&&i.configurable&&void 0===e[o]&&Object.defineProperty(e,o,i)}return e},ke=function(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e},Se=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},xe=function e(r,t,n){null===r&&(r=Function.prototype);var o=Object.getOwnPropertyDescriptor(r,t);if(void 0===o){var i=Object.getPrototypeOf(r);return null===i?void 0:e(i,t,n)}if("value"in o)return o.value;var a=o.get;if(void 0!==a)return a.call(n)},je=function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function, not "+typeof r);e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r)},ze=function(e,r){return null!=r&&"undefined"!=typeof Symbol&&r[Symbol.hasInstance]?r[Symbol.hasInstance](e):e instanceof r},De=function(e){return e&&e.__esModule?e:{default:e}},Fe=function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r.default=e,r},Oe=function(e,r){if(e!==r)throw new TypeError("Cannot instantiate an arrow function")},Ne=function(e){if(null==e)throw new TypeError("Cannot destructure undefined")},Pe=function(e,r){var t={};for(var n in e)r.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t},Ee=function(e,r){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!r||"object"!=typeof r&&"function"!=typeof r?e:r},Le="undefined"==typeof global?self:global,_e=function e(r,t,n,o){var i=Object.getOwnPropertyDescriptor(r,t);if(void 0===i){var a=Object.getPrototypeOf(r);null!==a&&e(a,t,n,o)}else if("value"in i&&i.writable)i.value=n;else{var l=i.set;void 0!==l&&l.call(o,n)}return n},Te=function(){function e(e,r){var t=[],n=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(n=(a=l.next()).done)&&(t.push(a.value),!r||t.length!==r);n=!0);}catch(e){o=!0,i=e}finally{try{!n&&l.return&&l.return()}finally{if(o)throw i}}return t}return function(r,t){if(Array.isArray(r))return r;if(Symbol.iterator in Object(r))return e(r,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),Ie=function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e)){for(var t,n=[],o=e[Symbol.iterator]();!(t=o.next()).done&&(n.push(t.value),!r||n.length!==r););return n}throw new TypeError("Invalid attempt to destructure non-iterable instance")},Re=function(e,r){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))},Me=function(e,r){return e.raw=r,e},Ae=function(e,r,t){if(e===t)throw new ReferenceError(r+" is not defined - temporal dead zone");return e},qe={},Ce=function(e){return Array.isArray(e)?e:Array.from(e)},Ge=function(e){if(Array.isArray(e)){for(var r=0,t=Array(e.length);r<e.length;r++)t[r]=e[r];return t}return Array.from(e)},Ze=Object.freeze({jsx:ge,asyncIterator:he,asyncGenerator:me,asyncGeneratorDelegate:ve,asyncToGenerator:pe,classCallCheck:de,createClass:ye,defineEnumerableProperties:be,defaults:we,defineProperty:ke,get:xe,inherits:je,interopRequireDefault:De,interopRequireWildcard:Fe,newArrowCheck:Oe,objectDestructuringEmpty:Ne,objectWithoutProperties:Pe,possibleConstructorReturn:Ee,selfGlobal:Le,set:_e,slicedToArray:Te,slicedToArrayLoose:Ie,taggedTemplateLiteral:Re,taggedTemplateLiteralLoose:Me,temporalRef:Ae,temporalUndefined:qe,toArray:Ce,toConsumableArray:Ge,typeof:fe,extends:Se,instanceof:ze}),$e=function(){var e=function(){};try{return Object.defineProperty(e,"a",{get:function(){return 1}}),Object.defineProperty(e,"prototype",{writable:!1}),1===e.a&&e.prototype instanceof Object}catch(e){return!1}}(),Be=!$e&&!Object.prototype.__defineGetter__,Ue=Object.prototype.hasOwnProperty,Ke=$e?Object.defineProperty:function(e,r,t){"get"in t&&e.__defineGetter__?e.__defineGetter__(r,t.get):(!Ue.call(e,r)||"value"in t)&&(e[r]=t.value)},Ye=Array.prototype.indexOf||function(e){var r=this;if(!r.length)return-1;for(var t=arguments[1]||0,n=r.length;t<n;t++)if(r[t]===e)return t;return-1},He=Object.create||function(e,r){function t(){}var n=void 0;t.prototype=e,n=new t;for(var o in r)Ue.call(r,o)&&Ke(n,o,r[o]);return n},We=Array.prototype.slice,Xe=Array.prototype.concat,Ve=Array.prototype.push,Je=Array.prototype.join,Qe=Array.prototype.shift,er=Function.prototype.bind||function(e){var r=this,t=We.call(arguments,1);return r.length,function(){return r.apply(e,Xe.call(t,We.call(arguments)))}},rr=He(null),tr=Math.random();r.prototype=He(null),t.prototype=He(null)
|
||
;var nr="(?:[a-z0-9]{5,8}|\\d[a-z0-9]{3})",or="[0-9a-wy-z](?:-[a-z0-9]{2,8})+",ir=RegExp("^(?:(?:[a-z]{2,3}(?:-[a-z]{3}(?:-[a-z]{3}){0,2})?|[a-z]{4}|[a-z]{5,8})(?:-[a-z]{4})?(?:-(?:[a-z]{2}|\\d{3}))?(?:-"+nr+")*(?:-"+or+")*(?:-x(?:-[a-z0-9]{1,8})+)?|x(?:-[a-z0-9]{1,8})+|(?:(?:en-GB-oed|i-(?:ami|bnn|default|enochian|hak|klingon|lux|mingo|navajo|pwn|tao|tay|tsu)|sgn-(?:BE-FR|BE-NL|CH-DE))|(?:art-lojban|cel-gaulish|no-bok|no-nyn|zh-(?:guoyu|hakka|min|min-nan|xiang))))$","i"),ar=RegExp("^(?!x).*?-("+nr+")-(?:\\w{4,8}-(?!x-))*\\1\\b","i"),lr=RegExp("^(?!x).*?-([0-9a-wy-z])-(?:\\w+-(?!x-))*\\1\\b","i"),sr=RegExp("-"+or,"ig"),ur=void 0,cr={tags:{"art-lojban":"jbo","i-ami":"ami","i-bnn":"bnn","i-hak":"hak","i-klingon":"tlh","i-lux":"lb","i-navajo":"nv","i-pwn":"pwn","i-tao":"tao","i-tay":"tay","i-tsu":"tsu","no-bok":"nb","no-nyn":"nn","sgn-BE-FR":"sfb","sgn-BE-NL":"vgt","sgn-CH-DE":"sgg","zh-guoyu":"cmn","zh-hakka":"hak","zh-min-nan":"nan","zh-xiang":"hsn","sgn-BR":"bzs","sgn-CO":"csn","sgn-DE":"gsg","sgn-DK":"dsl","sgn-ES":"ssp","sgn-FR":"fsl","sgn-GB":"bfi","sgn-GR":"gss","sgn-IE":"isg","sgn-IT":"ise","sgn-JP":"jsl","sgn-MX":"mfs","sgn-NI":"ncs","sgn-NL":"dse","sgn-NO":"nsl","sgn-PT":"psr","sgn-SE":"swl","sgn-US":"ase","sgn-ZA":"sfs","zh-cmn":"cmn","zh-cmn-Hans":"cmn-Hans","zh-cmn-Hant":"cmn-Hant","zh-gan":"gan","zh-wuu":"wuu","zh-yue":"yue"},subtags:{BU:"MM",DD:"DE",FX:"FR",TP:"TL",YD:"YE",ZR:"CD",heploc:"alalc97",in:"id",iw:"he",ji:"yi",jw:"jv",mo:"ro",ayx:"nun",bjd:"drl",ccq:"rki",cjr:"mom",cka:"cmr",cmk:"xch",drh:"khk",drw:"prs",gav:"dev",hrr:"jal",ibi:"opa",kgh:"kml",lcq:"ppr",mst:"mry",myt:"mry",sca:"hle",tie:"ras",tkk:"twm",tlw:"weo",tnf:"prs",ybd:"rki",yma:"lrr"},extLang:{aao:["aao","ar"],abh:["abh","ar"],abv:["abv","ar"],acm:["acm","ar"],acq:["acq","ar"],acw:["acw","ar"],acx:["acx","ar"],acy:["acy","ar"],adf:["adf","ar"],ads:["ads","sgn"],aeb:["aeb","ar"],aec:["aec","ar"],aed:["aed","sgn"],aen:["aen","sgn"],afb:["afb","ar"],afg:["afg","sgn"],ajp:["ajp","ar"],apc:["apc","ar"],apd:["apd","ar"],arb:["arb","ar"],arq:["arq","ar"],ars:["ars","ar"],ary:["ary","ar"],arz:["arz","ar"],ase:["ase","sgn"],asf:["asf","sgn"],asp:["asp","sgn"],asq:["asq","sgn"],asw:["asw","sgn"],auz:["auz","ar"],avl:["avl","ar"],ayh:["ayh","ar"],ayl:["ayl","ar"],ayn:["ayn","ar"],ayp:["ayp","ar"],bbz:["bbz","ar"],bfi:["bfi","sgn"],bfk:["bfk","sgn"],bjn:["bjn","ms"],bog:["bog","sgn"],bqn:["bqn","sgn"],bqy:["bqy","sgn"],btj:["btj","ms"],bve:["bve","ms"],bvl:["bvl","sgn"],bvu:["bvu","ms"],bzs:["bzs","sgn"],cdo:["cdo","zh"],cds:["cds","sgn"],cjy:["cjy","zh"],cmn:["cmn","zh"],coa:["coa","ms"],cpx:["cpx","zh"],csc:["csc","sgn"],csd:["csd","sgn"],cse:["cse","sgn"],csf:["csf","sgn"],csg:["csg","sgn"],csl:["csl","sgn"],csn:["csn","sgn"],csq:["csq","sgn"],csr:["csr","sgn"],czh:["czh","zh"],czo:["czo","zh"],doq:["doq","sgn"],dse:["dse","sgn"],dsl:["dsl","sgn"],dup:["dup","ms"],ecs:["ecs","sgn"],esl:["esl","sgn"],esn:["esn","sgn"],eso:["eso","sgn"],eth:["eth","sgn"],fcs:["fcs","sgn"],fse:["fse","sgn"],fsl:["fsl","sgn"],fss:["fss","sgn"],gan:["gan","zh"],gds:["gds","sgn"],gom:["gom","kok"],gse:["gse","sgn"],gsg:["gsg","sgn"],gsm:["gsm","sgn"],gss:["gss","sgn"],gus:["gus","sgn"],hab:["hab","sgn"],haf:["haf","sgn"],hak:["hak","zh"],hds:["hds","sgn"],hji:["hji","ms"],hks:["hks","sgn"],hos:["hos","sgn"],hps:["hps","sgn"],hsh:["hsh","sgn"],hsl:["hsl","sgn"],hsn:["hsn","zh"],icl:["icl","sgn"],ils:["ils","sgn"],inl:["inl","sgn"],ins:["ins","sgn"],ise:["ise","sgn"],isg:["isg","sgn"],isr:["isr","sgn"],jak:["jak","ms"],jax:["jax","ms"],jcs:["jcs","sgn"],jhs:["jhs","sgn"],jls:["jls","sgn"],jos:["jos","sgn"],jsl:["jsl","sgn"],jus:["jus","sgn"],kgi:["kgi","sgn"],knn:["knn","kok"],kvb:["kvb","ms"],kvk:["kvk","sgn"],kvr:["kvr","ms"],kxd:["kxd","ms"],lbs:["lbs","sgn"],lce:["lce","ms"],lcf:["lcf","ms"],liw:["liw","ms"],lls:["lls","sgn"],lsg:["lsg","sgn"],lsl:["lsl","sgn"],lso:["lso","sgn"],lsp:["lsp","sgn"],lst:["lst","sgn"],lsy:["lsy","sgn"],ltg:["ltg","lv"],lvs:["lvs","lv"],lzh:["lzh","zh"],max:["max","ms"],mdl:["mdl","sgn"],meo:["meo","ms"],mfa:["mfa","ms"],mfb:["mfb","ms"],mfs:["mfs","sgn"],min:["min","ms"],mnp:["mnp","zh"],mqg:["mqg","ms"],mre:["mre","sgn"],msd:["msd","sgn"],msi:["msi","ms"],msr:["msr","sgn"],mui:["mui","ms"],mzc:["mzc","sgn"],mzg:["mzg","sgn"],mzy:["mzy","sgn"],nan:["nan","zh"],nbs:["nbs","sgn"],ncs:["ncs","sgn"],nsi:["nsi","sgn"],nsl:["nsl","sgn"],nsp:["nsp","sgn"],nsr:["nsr","sgn"],nzs:["nzs","sgn"],okl:["okl","sgn"],orn:["orn","ms"],ors:["ors","ms"],pel:["pel","ms"],pga:["pga","ar"],pks:["pks","sgn"],prl:["prl","sgn"],prz:["prz","sgn"],psc:["psc","sgn"],psd:["psd","sgn"],pse:["pse","ms"],psg:["psg","sgn"],psl:["psl","sgn"],pso:["pso","sgn"],psp:["psp","sgn"],psr:["psr","sgn"],pys:["pys","sgn"],rms:["rms","sgn"],rsi:["rsi","sgn"],rsl:["rsl","sgn"],sdl:["sdl","sgn"],sfb:["sfb","sgn"],sfs:["sfs","sgn"],sgg:["sgg","sgn"],sgx:["sgx","sgn"],shu:["shu","ar"],slf:["slf","sgn"],sls:["sls","sgn"],sqk:["sqk","sgn"],sqs:["sqs","sgn"],ssh:["ssh","ar"],ssp:["ssp","sgn"],ssr:["ssr","sgn"],svk:["svk","sgn"],swc:["swc","sw"],swh:["swh","sw"],swl:["swl","sgn"],syy:["syy","sgn"],tmw:["tmw","ms"],tse:["tse","sgn"],tsm:["tsm","sgn"],tsq:["tsq","sgn"],tss:["tss","sgn"],tsy:["tsy","sgn"],tza:["tza","sgn"],ugn:["ugn","sgn"],ugy:["ugy","sgn"],ukl:["ukl","sgn"],uks:["uks","sgn"],urk:["urk","ms"],uzn:["uzn","uz"],uzs:["uzs","uz"],vgt:["vgt","sgn"],vkk:["vkk","ms"],vkt:["vkt","ms"],vsi:["vsi","sgn"],vsl:["vsl","sgn"],vsv:["vsv","sgn"],wuu:["wuu","zh"],xki:["xki","sgn"],xml:["xml","sgn"],xmm:["xmm","ms"],xms:["xms","sgn"],yds:["yds","sgn"],ysl:["ysl","sgn"],yue:["yue","zh"],zib:["zib","sgn"],zlm:["zlm","ms"],zmi:["zmi","ms"],zsl:["zsl","sgn"],zsm:["zsm","ms"]}},fr=/^[A-Z]{3}$/,gr=/-u(?:-[0-9a-z]{2,8})+/gi,hr={};Object.defineProperty(hr,"getCanonicalLocales",{enumerable:!1,configurable:!0,writable:!0,value:D});var mr={BHD:3,BYR:0,XOF:0,BIF:0,XAF:0,CLF:4,CLP:0,KMF:0,DJF:0,XPF:0,GNF:0,ISK:0,IQD:3,JPY:0,JOD:3,KRW:0,KWD:3,LYD:3,OMR:3,PYG:0,RWF:0,TND:3,UGX:0,UYI:0,VUV:0,VND:0};Ke(hr,"NumberFormat",{configurable:!0,writable:!0,value:F}),Ke(hr.NumberFormat,"prototype",{writable:!1}),rr.NumberFormat={"[[availableLocales]]":[],"[[relevantExtensionKeys]]":["nu"],"[[localeData]]":{}},Ke(hr.NumberFormat,"supportedLocalesOf",{configurable:!0,writable:!0,value:er.call(function(e){if(!Ue.call(this,"[[availableLocales]]"))throw new TypeError("supportedLocalesOf() is not a constructor");var r=n(),t=arguments[1],o=this["[[availableLocales]]"],i=v(e);return r(),x(o,i,t)},rr.NumberFormat)}),Ke(hr.NumberFormat.prototype,"format",{configurable:!0,get:E}),Object.defineProperty(hr.NumberFormat.prototype,"formatToParts",{configurable:!0,enumerable:!1,writable:!0,value:L});var vr={arab:["٠","١","٢","٣","٤","٥","٦","٧","٨","٩"],arabext:["۰","۱","۲","۳","۴","۵","۶","۷","۸","۹"],bali:["᭐","᭑","᭒","᭓","᭔","᭕","᭖","᭗","᭘","᭙"],beng:["০","১","২","৩","৪","৫","৬","৭","৮","৯"],deva:["०","१","२","३","४","५","६","७","८","९"],fullwide:["0","1","2","3","4","5","6","7","8","9"],gujr:["૦","૧","૨","૩","૪","૫","૬","૭","૮","૯"],guru:["੦","੧","੨","੩","੪","੫","੬","੭","੮","੯"],hanidec:["〇","一","二","三","四","五","六","七","八","九"],khmr:["០","១","២","៣","៤","៥","៦","៧","៨","៩"],knda:["೦","೧","೨","೩","೪","೫","೬","೭","೮","೯"],laoo:["໐","໑","໒","໓","໔","໕","໖","໗","໘","໙"],latn:["0","1","2","3","4","5","6","7","8","9"],limb:["᥆","᥇","᥈","᥉","᥊","᥋","᥌","᥍","᥎","᥏"],mlym:["൦","൧","൨","൩","൪","൫","൬","൭","൮","൯"],mong:["᠐","᠑","᠒","᠓","᠔","᠕","᠖","᠗","᠘","᠙"],mymr:["၀","၁","၂","၃","၄","၅","၆","၇","၈","၉"],orya:["୦","୧","୨","୩","୪","୫","୬","୭","୮","୯"],tamldec:["௦","௧","௨","௩","௪","௫","௬","௭","௮","௯"],telu:["౦","౧","౨","౩","౪","౫","౬","౭","౮","౯"],thai:["๐","๑","๒","๓","๔","๕","๖","๗","๘","๙"],tibt:["༠","༡","༢","༣","༤","༥","༦","༧","༨","༩"]};Ke(hr.NumberFormat.prototype,"resolvedOptions",{configurable:!0,writable:!0,value:function(){var e=void 0,t=new r,n=["locale","numberingSystem","style","currency","currencyDisplay","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","useGrouping"],o=null!==this&&"object"===Ze.typeof(this)&&s(this);if(!o||!o["[[initializedNumberFormat]]"])throw new TypeError("`this` value for resolvedOptions() is not an initialized Intl.NumberFormat object.");for(var i=0,a=n.length;i<a;i++)Ue.call(o,e="[["+n[i]+"]]")&&(t[n[i]]={value:o[e],writable:!0,configurable:!0,enumerable:!0});return He({},t)}});var pr=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g,dr=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,yr=/[rqQASjJgwWIQq]/,br=["era","year","month","day","weekday","quarter"],wr=["hour","minute","second","hour12","timeZoneName"],kr={second:{numeric:"s","2-digit":"ss"},minute:{numeric:"m","2-digit":"mm"},year:{numeric:"y","2-digit":"yy"},day:{numeric:"d","2-digit":"dd"},month:{numeric:"L","2-digit":"LL",narrow:"LLLLL",short:"LLL",long:"LLLL"},weekday:{narrow:"ccccc",short:"ccc",long:"cccc"}},Sr=He(null,{narrow:{},short:{},long:{}});Ke(hr,"DateTimeFormat",{configurable:!0,writable:!0,value:H}),Ke(H,"prototype",{writable:!1});var xr={weekday:["narrow","short","long"],era:["narrow","short","long"],year:["2-digit","numeric"],month:["2-digit","numeric","narrow","short","long"],day:["2-digit","numeric"],hour:["2-digit","numeric"],minute:["2-digit","numeric"],second:["2-digit","numeric"],timeZoneName:["short","long"]};rr.DateTimeFormat={"[[availableLocales]]":[],"[[relevantExtensionKeys]]":["ca","nu"],"[[localeData]]":{}},Ke(hr.DateTimeFormat,"supportedLocalesOf",{configurable:!0,writable:!0,value:er.call(function(e){if(!Ue.call(this,"[[availableLocales]]"))throw new TypeError("supportedLocalesOf() is not a constructor");var r=n(),t=arguments[1],o=this["[[availableLocales]]"],i=v(e);return r(),x(o,i,t)},rr.NumberFormat)}),Ke(hr.DateTimeFormat.prototype,"format",{configurable:!0,get:ee}),Object.defineProperty(hr.DateTimeFormat.prototype,"formatToParts",{enumerable:!1,writable:!0,configurable:!0,value:re}),Ke(hr.DateTimeFormat.prototype,"resolvedOptions",{writable:!0,configurable:!0,value:function(){var e=void 0,t=new r,n=["locale","calendar","numberingSystem","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName"],o=null!==this&&"object"===Ze.typeof(this)&&s(this);if(!o||!o["[[initializedDateTimeFormat]]"])throw new TypeError("`this` value for resolvedOptions() is not an initialized Intl.DateTimeFormat object.");for(var i=0,a=n.length;i<a;i++)Ue.call(o,e="[["+n[i]+"]]")&&(t[n[i]]={value:o[e],writable:!0,configurable:!0,enumerable:!0});return He({},t)}});var jr=hr.__localeSensitiveProtos={Number:{},Date:{}};jr.Number.toLocaleString=function(){if("[object Number]"!==Object.prototype.toString.call(this))throw new TypeError("`this` value must be a number for Number.prototype.toLocaleString()");return R(new F(arguments[0],arguments[1]),this)},jr.Date.toLocaleString=function(){if("[object Date]"!==Object.prototype.toString.call(this))throw new TypeError("`this` value must be a Date instance for Date.prototype.toLocaleString()");var e=+this;if(isNaN(e))return"Invalid Date";var r=arguments[0],t=arguments[1];return t=V(t,"any","all"),ne(new H(r,t),e)},jr.Date.toLocaleDateString=function(){if("[object Date]"!==Object.prototype.toString.call(this))throw new TypeError("`this` value must be a Date instance for Date.prototype.toLocaleDateString()");var e=+this;if(isNaN(e))return"Invalid Date";var r=arguments[0],t=arguments[1];return t=V(t,"date","date"),ne(new H(r,t),e)},jr.Date.toLocaleTimeString=function(){if("[object Date]"!==Object.prototype.toString.call(this))throw new TypeError("`this` value must be a Date instance for Date.prototype.toLocaleTimeString()");var e=+this;if(isNaN(e))return"Invalid Date";var r=arguments[0],t=arguments[1];return t=V(t,"time","time"),ne(new H(r,t),e)};var zr=[function(e,r){return"other"},function(e,r){return r?"other":1==e?"one":"other"},function(e,r){return r?"other":0==e||1==e?"one":"other"},function(e,r){var t=String(e).split("."),n=!t[1];return r?"other":1==e&&n?"one":"other"}],Dr={af:zr[1],ak:zr[2],am:function(e,r){return r?"other":e>=0&&e<=1?"one":"other"},ar:function(e,r){var t=String(e).split("."),n=Number(t[0])==e,o=n&&t[0].slice(-2);return r?"other":0==e?"zero":1==e?"one":2==e?"two":o>=3&&o<=10?"few":o>=11&&o<=99?"many":"other"},ars:function(e,r){var t=String(e).split("."),n=Number(t[0])==e,o=n&&t[0].slice(-2);return r?"other":0==e?"zero":1==e?"one":2==e?"two":o>=3&&o<=10?"few":o>=11&&o<=99?"many":"other"},as:function(e,r){return r?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":e>=0&&e<=1?"one":"other"},asa:zr[1],ast:zr[3],az:function(e,r){var t=String(e).split("."),n=t[0],o=n.slice(-1),i=n.slice(-2),a=n.slice(-3);return r?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,r){var t=String(e).split("."),n=Number(t[0])==e,o=n&&t[0].slice(-1),i=n&&t[0].slice(-2);return r?2!=o&&3!=o||12==i||13==i?"other":"few":1==o&&11!=i?"one":o>=2&&o<=4&&(i<12||i>14)?"few":n&&0==o||o>=5&&o<=9||i>=11&&i<=14?"many":"other"},bem:zr[1],bez:zr[1],bg:zr[1],bh:zr[2],bm:zr[0],bn:function(e,r){return r?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":e>=0&&e<=1?"one":"other"},bo:zr[0],br:function(e,r){var t=String(e).split("."),n=Number(t[0])==e,o=n&&t[0].slice(-1),i=n&&t[0].slice(-2),a=n&&t[0].slice(-6);return r?"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||i>19)&&(i<70||i>79)&&(i<90||i>99)?"few":0!=e&&n&&0==a?"many":"other"},brx:zr[1],bs:function(e,r){var t=String(e).split("."),n=t[0],o=t[1]||"",i=!t[1],a=n.slice(-1),l=n.slice(-2),s=o.slice(-1),u=o.slice(-2);return r?"other":i&&1==a&&11!=l||1==s&&11!=u?"one":i&&a>=2&&a<=4&&(l<12||l>14)||s>=2&&s<=4&&(u<12||u>14)?"few":"other"},ca:function(e,r){var t=String(e).split("."),n=!t[1];return r?1==e||3==e?"one":2==e?"two":4==e?"few":"other":1==e&&n?"one":"other"},ce:zr[1],cgg:zr[1],chr:zr[1],ckb:zr[1],cs:function(e,r){var t=String(e).split("."),n=t[0],o=!t[1];return r?"other":1==e&&o?"one":n>=2&&n<=4&&o?"few":o?"other":"many"},cy:function(e,r){return r?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,r){var t=String(e).split("."),n=t[0],o=Number(t[0])==e;return r?"other":1!=e&&(o||0!=n&&1!=n)?"other":"one"},de:zr[3],dsb:function(e,r){var t=String(e).split("."),n=t[0],o=t[1]||"",i=!t[1],a=n.slice(-2),l=o.slice(-2);return r?"other":i&&1==a||1==l?"one":i&&2==a||2==l?"two":i&&(3==a||4==a)||3==l||4==l?"few":"other"},dv:zr[1],dz:zr[0],ee:zr[1],el:zr[1],en:function(e,r){var t=String(e).split("."),n=!t[1],o=Number(t[0])==e,i=o&&t[0].slice(-1),a=o&&t[0].slice(-2);return r?1==i&&11!=a?"one":2==i&&12!=a?"two":3==i&&13!=a?"few":"other":1==e&&n?"one":"other"},eo:zr[1],es:zr[1],et:zr[3],eu:zr[1],fa:function(e,r){return r?"other":e>=0&&e<=1?"one":"other"},ff:function(e,r){return r?"other":e>=0&&e<2?"one":"other"},fi:zr[3],fil:function(e,r){var t=String(e).split("."),n=t[0],o=t[1]||"",i=!t[1],a=n.slice(-1),l=o.slice(-1);return r?1==e?"one":"other":i&&(1==n||2==n||3==n)||i&&4!=a&&6!=a&&9!=a||!i&&4!=l&&6!=l&&9!=l?"one":"other"},fo:zr[1],fr:function(e,r){return r?1==e?"one":"other":e>=0&&e<2?"one":"other"},fur:zr[1],fy:zr[3],ga:function(e,r){var t=String(e).split("."),n=Number(t[0])==e;return r?1==e?"one":"other":1==e?"one":2==e?"two":n&&e>=3&&e<=6?"few":n&&e>=7&&e<=10?"many":"other"},gd:function(e,r){var t=String(e).split("."),n=Number(t[0])==e;return r?"other":1==e||11==e?"one":2==e||12==e?"two":n&&e>=3&&e<=10||n&&e>=13&&e<=19?"few":"other"},gl:zr[3],gsw:zr[1],gu:function(e,r){return r?1==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other"},guw:zr[2],gv:function(e,r){var t=String(e).split("."),n=t[0],o=!t[1],i=n.slice(-1),a=n.slice(-2);return r?"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:zr[1],haw:zr[1],he:function(e,r){var t=String(e).split("."),n=t[0],o=!t[1],i=Number(t[0])==e,a=i&&t[0].slice(-1);return r?"other":1==e&&o?"one":2==n&&o?"two":o&&(e<0||e>10)&&i&&0==a?"many":"other"},hi:function(e,r){return r?1==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other"},hr:function(e,r){var t=String(e).split("."),n=t[0],o=t[1]||"",i=!t[1],a=n.slice(-1),l=n.slice(-2),s=o.slice(-1),u=o.slice(-2);return r?"other":i&&1==a&&11!=l||1==s&&11!=u?"one":i&&a>=2&&a<=4&&(l<12||l>14)||s>=2&&s<=4&&(u<12||u>14)?"few":"other"},hsb:function(e,r){var t=String(e).split("."),n=t[0],o=t[1]||"",i=!t[1],a=n.slice(-2),l=o.slice(-2);return r?"other":i&&1==a||1==l?"one":i&&2==a||2==l?"two":i&&(3==a||4==a)||3==l||4==l?"few":"other"},hu:function(e,r){return r?1==e||5==e?"one":"other":1==e?"one":"other"},hy:function(e,r){return r?1==e?"one":"other":e>=0&&e<2?"one":"other"},id:zr[0],ig:zr[0],ii:zr[0],in:zr[0],is:function(e,r){var t=String(e).split("."),n=t[0],o=Number(t[0])==e,i=n.slice(-1),a=n.slice(-2);return r?"other":o&&1==i&&11!=a||!o?"one":"other"},it:function(e,r){var t=String(e).split("."),n=!t[1];return r?11==e||8==e||80==e||800==e?"many":"other":1==e&&n?"one":"other"},iu:function(e,r){return r?"other":1==e?"one":2==e?"two":"other"},iw:function(e,r){var t=String(e).split("."),n=t[0],o=!t[1],i=Number(t[0])==e,a=i&&t[0].slice(-1);return r?"other":1==e&&o?"one":2==n&&o?"two":o&&(e<0||e>10)&&i&&0==a?"many":"other"},ja:zr[0],jbo:zr[0],jgo:zr[1],ji:zr[3],jmc:zr[1],jv:zr[0],jw:zr[0],ka:function(e,r){var t=String(e).split("."),n=t[0],o=n.slice(-2);return r?1==n?"one":0==n||o>=2&&o<=20||40==o||60==o||80==o?"many":"other":1==e?"one":"other"},kab:function(e,r){return r?"other":e>=0&&e<2?"one":"other"},kaj:zr[1],kcg:zr[1],kde:zr[0],kea:zr[0],kk:function(e,r){var t=String(e).split("."),n=Number(t[0])==e,o=n&&t[0].slice(-1);return r?6==o||9==o||n&&0==o&&0!=e?"many":"other":1==e?"one":"other"},kkj:zr[1],kl:zr[1],km:zr[0],kn:function(e,r){return r?"other":e>=0&&e<=1?"one":"other"},ko:zr[0],ks:zr[1],ksb:zr[1],ksh:function(e,r){return r?"other":0==e?"zero":1==e?"one":"other"},ku:zr[1],kw:function(e,r){return r?"other":1==e?"one":2==e?"two":"other"},ky:zr[1],lag:function(e,r){var t=String(e).split("."),n=t[0];return r?"other":0==e?"zero":0!=n&&1!=n||0==e?"other":"one"},lb:zr[1],lg:zr[1],lkt:zr[0],ln:zr[2],lo:function(e,r){return r&&1==e?"one":"other"},lt:function(e,r){var t=String(e).split("."),n=t[1]||"",o=Number(t[0])==e,i=o&&t[0].slice(-1),a=o&&t[0].slice(-2);return r?"other":1==i&&(a<11||a>19)?"one":i>=2&&i<=9&&(a<11||a>19)?"few":0!=n?"many":"other"},lv:function(e,r){var t=String(e).split("."),n=t[1]||"",o=n.length,i=Number(t[0])==e,a=i&&t[0].slice(-1),l=i&&t[0].slice(-2),s=n.slice(-2),u=n.slice(-1);return r?"other":i&&0==a||l>=11&&l<=19||2==o&&s>=11&&s<=19?"zero":1==a&&11!=l||2==o&&1==u&&11!=s||2!=o&&1==u?"one":"other"},mas:zr[1],mg:zr[2],mgo:zr[1],mk:function(e,r){var t=String(e).split("."),n=t[0],o=t[1]||"",i=!t[1],a=n.slice(-1),l=n.slice(-2),s=o.slice(-1);return r?1==a&&11!=l?"one":2==a&&12!=l?"two":7!=a&&8!=a||17==l||18==l?"other":"many":i&&1==a||1==s?"one":"other"},ml:zr[1],mn:zr[1],mo:function(e,r){var t=String(e).split("."),n=!t[1],o=Number(t[0])==e,i=o&&t[0].slice(-2);return r?1==e?"one":"other":1==e&&n?"one":!n||0==e||1!=e&&i>=1&&i<=19?"few":"other"},mr:function(e,r){return r?1==e?"one":2==e||3==e?"two":4==e?"few":"other":e>=0&&e<=1?"one":"other"},ms:function(e,r){return r&&1==e?"one":"other"},mt:function(e,r){var t=String(e).split("."),n=Number(t[0])==e,o=n&&t[0].slice(-2);return r?"other":1==e?"one":0==e||o>=2&&o<=10?"few":o>=11&&o<=19?"many":"other"},my:zr[0],nah:zr[1],naq:function(e,r){return r?"other":1==e?"one":2==e?"two":"other"},nb:zr[1],nd:zr[1],ne:function(e,r){var t=String(e).split("."),n=Number(t[0])==e;return r?n&&e>=1&&e<=4?"one":"other":1==e?"one":"other"},nl:zr[3],nn:zr[1],nnh:zr[1],no:zr[1],nqo:zr[0],nr:zr[1],nso:zr[2],ny:zr[1],nyn:zr[1],om:zr[1],or:zr[1],os:zr[1],pa:zr[2],pap:zr[1],pl:function(e,r){var t=String(e).split("."),n=t[0],o=!t[1],i=n.slice(-1),a=n.slice(-2);return r?"other":1==e&&o?"one":o&&i>=2&&i<=4&&(a<12||a>14)?"few":o&&1!=n&&(0==i||1==i)||o&&i>=5&&i<=9||o&&a>=12&&a<=14?"many":"other"},prg:function(e,r){var t=String(e).split("."),n=t[1]||"",o=n.length,i=Number(t[0])==e,a=i&&t[0].slice(-1),l=i&&t[0].slice(-2),s=n.slice(-2),u=n.slice(-1);return r?"other":i&&0==a||l>=11&&l<=19||2==o&&s>=11&&s<=19?"zero":1==a&&11!=l||2==o&&1==u&&11!=s||2!=o&&1==u?"one":"other"},ps:zr[1],pt:function(e,r){var t=String(e).split("."),n=Number(t[0])==e;return r?"other":n&&e>=0&&e<=2&&2!=e?"one":"other"},"pt-PT":zr[3],rm:zr[1],ro:function(e,r){var t=String(e).split("."),n=!t[1],o=Number(t[0])==e,i=o&&t[0].slice(-2);return r?1==e?"one":"other":1==e&&n?"one":!n||0==e||1!=e&&i>=1&&i<=19?"few":"other"},rof:zr[1],root:zr[0],ru:function(e,r){var t=String(e).split("."),n=t[0],o=!t[1],i=n.slice(-1),a=n.slice(-2);return r?"other":o&&1==i&&11!=a?"one":o&&i>=2&&i<=4&&(a<12||a>14)?"few":o&&0==i||o&&i>=5&&i<=9||o&&a>=11&&a<=14?"many":"other"},rwk:zr[1],sah:zr[0],saq:zr[1],sdh:zr[1],se:function(e,r){return r?"other":1==e?"one":2==e?"two":"other"},seh:zr[1],ses:zr[0],sg:zr[0],sh:function(e,r){var t=String(e).split("."),n=t[0],o=t[1]||"",i=!t[1],a=n.slice(-1),l=n.slice(-2),s=o.slice(-1),u=o.slice(-2);return r?"other":i&&1==a&&11!=l||1==s&&11!=u?"one":i&&a>=2&&a<=4&&(l<12||l>14)||s>=2&&s<=4&&(u<12||u>14)?"few":"other"},shi:function(e,r){var t=String(e).split("."),n=Number(t[0])==e;return r?"other":e>=0&&e<=1?"one":n&&e>=2&&e<=10?"few":"other"},si:function(e,r){var t=String(e).split("."),n=t[0],o=t[1]||"";return r?"other":0==e||1==e||0==n&&1==o?"one":"other"},sk:function(e,r){var t=String(e).split("."),n=t[0],o=!t[1];return r?"other":1==e&&o?"one":n>=2&&n<=4&&o?"few":o?"other":"many"},sl:function(e,r){var t=String(e).split("."),n=t[0],o=!t[1],i=n.slice(-2);return r?"other":o&&1==i?"one":o&&2==i?"two":o&&(3==i||4==i)||!o?"few":"other"},sma:function(e,r){return r?"other":1==e?"one":2==e?"two":"other"},smi:function(e,r){return r?"other":1==e?"one":2==e?"two":"other"},smj:function(e,r){return r?"other":1==e?"one":2==e?"two":"other"},smn:function(e,r){return r?"other":1==e?"one":2==e?"two":"other"},sms:function(e,r){return r?"other":1==e?"one":2==e?"two":"other"},sn:zr[1],so:zr[1],sq:function(e,r){var t=String(e).split("."),n=Number(t[0])==e,o=n&&t[0].slice(-1),i=n&&t[0].slice(-2);return r?1==e?"one":4==o&&14!=i?"many":"other":1==e?"one":"other"},sr:function(e,r){var t=String(e).split("."),n=t[0],o=t[1]||"",i=!t[1],a=n.slice(-1),l=n.slice(-2),s=o.slice(-1),u=o.slice(-2);return r?"other":i&&1==a&&11!=l||1==s&&11!=u?"one":i&&a>=2&&a<=4&&(l<12||l>14)||s>=2&&s<=4&&(u<12||u>14)?"few":"other"},ss:zr[1],ssy:zr[1],st:zr[1],sv:function(e,r){var t=String(e).split("."),n=!t[1],o=Number(t[0])==e,i=o&&t[0].slice(-1),a=o&&t[0].slice(-2);return r?1!=i&&2!=i||11==a||12==a?"other":"one":1==e&&n?"one":"other"},sw:zr[3],syr:zr[1],ta:zr[1],te:zr[1],teo:zr[1],th:zr[0],ti:zr[2],tig:zr[1],tk:zr[1],tl:function(e,r){var t=String(e).split("."),n=t[0],o=t[1]||"",i=!t[1],a=n.slice(-1),l=o.slice(-1);return r?1==e?"one":"other":i&&(1==n||2==n||3==n)||i&&4!=a&&6!=a&&9!=a||!i&&4!=l&&6!=l&&9!=l?"one":"other"},tn:zr[1],to:zr[0],tr:zr[1],ts:zr[1],tzm:function(e,r){var t=String(e).split("."),n=Number(t[0])==e;return r?"other":0==e||1==e||n&&e>=11&&e<=99?"one":"other"},ug:zr[1],uk:function(e,r){var t=String(e).split("."),n=t[0],o=!t[1],i=Number(t[0])==e,a=i&&t[0].slice(-1),l=i&&t[0].slice(-2),s=n.slice(-1),u=n.slice(-2);return r?3==a&&13!=l?"few":"other":o&&1==s&&11!=u?"one":o&&s>=2&&s<=4&&(u<12||u>14)?"few":o&&0==s||o&&s>=5&&s<=9||o&&u>=11&&u<=14?"many":"other"},ur:zr[3],uz:zr[1],ve:zr[1],vi:function(e,r){return r&&1==e?"one":"other"},vo:zr[1],vun:zr[1],wa:zr[2],wae:zr[1],wo:zr[0],xh:zr[1],xog:zr[1],yi:zr[3],yo:zr[0],yue:zr[0],zh:zr[0],zu:function(e,r){return r?"other":e>=0&&e<=1?"one":"other"}};if(Ke(hr,"PluralRules",{configurable:!0,writable:!0,value:ae}),Ke(ae,"prototype",{writable:!1}),rr.PluralRules={"[[availableLocales]]":Object.keys(Dr),"[[relevantExtensionKeys]]":[],"[[localeData]]":{}},Ke(hr.PluralRules,"supportedLocalesOf",{configurable:!0,writable:!0,value:er.call(function(e){if(!Ue.call(this,"[[availableLocales]]"))throw new TypeError("supportedLocalesOf() is not a constructor");var r=n(),t=arguments[1],o=this["[[availableLocales]]"],i=v(e);return r(),x(o,i,t)},rr.PluralRules)}),Ke(hr.PluralRules.prototype,"select",{configurable:!0,value:function(e){return ue(this,Number(e))}}),Ke(hr.PluralRules.prototype,"resolvedOptions",{configurable:!0,writable:!0,value:function(){var e=void 0,t=new r,n=["locale","type","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"],o=null!==this&&"object"===Ze.typeof(this)&&s(this);if(!o||!o["[[InitializedPluralRules]]"])throw new TypeError("`this` value for resolvedOptions() is not an initialized Intl.PluralRules object.");for(var i=0,a=n.length;i<a;i++)Ue.call(o,e="[["+n[i]+"]]")&&(t[n[i]]={value:o[e],writable:!0,configurable:!0,enumerable:!0});return He({},t)}}),Ke(hr,"__applyLocaleSensitivePrototypes",{writable:!0,configurable:!0,value:function(){Ke(Number.prototype,"toLocaleString",{writable:!0,configurable:!0,value:jr.Number.toLocaleString}),Ke(Date.prototype,"toLocaleString",{writable:!0,configurable:!0,value:jr.Date.toLocaleString});for(var e in jr.Date)Ue.call(jr.Date,e)&&Ke(Date.prototype,e,{writable:!0,configurable:!0,value:jr.Date[e]})}}),Ke(hr,"__addLocaleData",{value:function(e){if(!f(e.locale))throw new Error('Invalid language tag "'+e.locale+'" when calling __addLocaleData("'+e.locale+'", ...) to register new locale data.');ce(e,e.locale)}}),Ke(hr,"__disableRegExpRestore",{value:function(){rr.disableRegExpRestore=!0}}),"undefined"==typeof Intl)try{window.Intl=hr,hr.__applyLocaleSensitivePrototypes()}catch(e){}return hr});
|
||
//# sourceMappingURL=Intl.min.js.map
|