@transifex/i18next 6.0.2 → 7.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
1
  /*! For license information please see browser.i18next.js.LICENSE.txt */
2
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.TxNativeI18next=t():e.TxNativeI18next=t()}(this,(()=>(()=>{var e={206:function(e,t,r){var n,o,i;e=r.nmd(e);var a,u=r(632),s=r(231),c=r(827),l=r(562),f=r(723),h=r(19),p=r(26),d=r(590),y=r(482),m=r(388),g=r(241);function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(Object(r),!0).forEach((function(t){c(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function w(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return x(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?x(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}function x(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function k(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=y(e);if(t){var o=y(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return d(this,r)}}a=function(){return function(){var e={160:function(e,t,r){e.exports=function(){"use strict";var e=function(){return e=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},e.apply(this,arguments)};function t(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function n(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a}function o(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;var i=function(e){p(r,e);var t=k(r);function r(e,n,o){var i;return h(this,r),(i=t.call(this,e)).token=n,i.type=o||"error",i}return f(r)}(m(Error)),a=function(e){return e<4?"short":4===e?"long":"narrow"},u=function(e){return e%2==0?"2-digit":"numeric"};function s(e,t){switch(e.width){case 1:return"numeric";case 2:return"2-digit";case 3:return"short";case 4:return"long";case 5:return"narrow";default:return void t("".concat(e.desc," is not supported with width ").concat(e.width))}}function c(e,t){var r=e.char,n=e.desc,o=e.width;return"d"===r?u(o):void t("".concat(n," is not supported"))}function d(e,t){var r=e.char,n=e.desc,o=e.width;return("c"===r||"e"===r)&&o<3&&t("Numeric value is not supported for ".concat(n,"; falling back to weekday:short"),i.WARNING),a(o)}function y(e,t){var r=e.char,n=e.desc,o=e.width;switch(r){case"v":case"z":return 4===o?"long":"short";case"V":return 4===o?"long":void t("".concat(n," is not supported with width ").concat(o));case"X":return void t("".concat(n," is not supported"))}return"short"}function v(e,t){switch(e.field){case"era":return{era:a(e.width)};case"year":return function(e,t){switch(e.char){case"y":return{year:u(e.width)};case"r":return{calendar:"gregory",year:"numeric"};default:return t("".concat(e.desc," is not supported; falling back to year:numeric"),i.WARNING),{year:"numeric"}}}(e,t);case"month":return{month:s(e,t)};case"day":return{day:c(e,t)};case"weekday":return{weekday:d(e,t)};case"period":return;case"hour":return function(e){var t,r=u(e.width);switch(e.char){case"h":t="h12";break;case"H":t="h23";break;case"k":t="h24";break;case"K":t="h11"}return t?{hour:r,hourCycle:t}:{hour:r}}(e);case"min":return{minute:u(e.width)};case"sec":return{second:u(e.width)};case"tz":return{timeZoneName:y(e,t)};case"quarter":case"week":case"sec-frac":case"ms":t("".concat(e.desc," is not supported"))}}function b(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){throw e},n={},o=[],a=w(e);try{var u=function(){var e=t.value,a=e.error,u=e.field,s=e.str;if(a){var c=new i(a.message,e);c.stack=a.stack,r(c)}s&&r(new i("Ignoring string part: ".concat(s),e,i.WARNING)),u&&(-1===o.indexOf(u)?o.push(u):r(new i("Duplicate ".concat(u," token"),e)));var l=v(e,(function(t,n){return r(new i(t,e,n))}));l&&Object.assign(n,l)};for(a.s();!(t=a.n()).done;)u()}catch(e){a.e(e)}finally{a.f()}return n}var x={G:{field:"era",desc:"Era"},y:{field:"year",desc:"Year"},Y:{field:"year",desc:'Year of "Week of Year"'},u:{field:"year",desc:"Extended year"},U:{field:"year",desc:"Cyclic year name"},r:{field:"year",desc:"Related Gregorian year"},Q:{field:"quarter",desc:"Quarter"},q:{field:"quarter",desc:"Stand-alone quarter"},M:{field:"month",desc:"Month in year"},L:{field:"month",desc:"Stand-alone month in year"},w:{field:"week",desc:"Week of year"},W:{field:"week",desc:"Week of month"},d:{field:"day",desc:"Day in month"},D:{field:"day",desc:"Day of year"},F:{field:"day",desc:"Day of week in month"},g:{field:"day",desc:"Modified julian day"},E:{field:"weekday",desc:"Day of week"},e:{field:"weekday",desc:"Local day of week"},c:{field:"weekday",desc:"Stand-alone local day of week"},a:{field:"period",desc:"AM/PM marker"},b:{field:"period",desc:"AM/PM/noon/midnight marker"},B:{field:"period",desc:"Flexible day period"},h:{field:"hour",desc:"Hour in AM/PM (1~12)"},H:{field:"hour",desc:"Hour in day (0~23)"},k:{field:"hour",desc:"Hour in day (1~24)"},K:{field:"hour",desc:"Hour in AM/PM (0~11)"},j:{field:"hour",desc:"Hour in preferred cycle"},J:{field:"hour",desc:"Hour in preferred cycle without marker"},C:{field:"hour",desc:"Hour in preferred cycle with flexible marker"},m:{field:"min",desc:"Minute in hour"},s:{field:"sec",desc:"Second in minute"},S:{field:"sec-frac",desc:"Fractional second"},A:{field:"ms",desc:"Milliseconds in day"},z:{field:"tz",desc:"Time Zone: specific non-location"},Z:{field:"tz",desc:"Time Zone"},O:{field:"tz",desc:"Time Zone: localized"},v:{field:"tz",desc:"Time Zone: generic non-location"},V:{field:"tz",desc:"Time Zone: ID"},X:{field:"tz",desc:"Time Zone: ISO8601 with Z"},x:{field:"tz",desc:"Time Zone: ISO8601"}},S=function(e){return e>="A"&&e<="Z"||e>="a"&&e<="z"};function F(e,t){var r=e[t];if(!r)return null;if(S(r))return function(e,t){for(var r=e[t],n=1;e[++t]===r;)++n;var o=x[r];return o?{char:r,field:o.field,desc:o.desc,width:n}:{char:r,error:new Error("The letter ".concat(r," is not a valid field identifier")),width:n}}(e,t);if("'"===r)return function(e,t){var r=e[++t],n=2;if("'"===r)return{char:"'",str:r,width:n};for(;;){var o=e[++t];if(++n,void 0===o)return{char:"'",error:new Error("Unterminated quoted literal in pattern: ".concat(r||e)),str:r,width:n};if("'"===o){if("'"!==e[++t])return{char:"'",str:r,width:n};++n}r+=o}}(e,t);for(var n=r,o=1;;){var i=e[++t];if(!i||S(i)||"'"===i)return{char:r,str:n,width:o};n+=i,o+=1}}function O(e){for(var t=[],r=0;;){var n=F(e,r);if(!n)return t;t.push(n),r+=n.width}}var E=function(e){p(r,e);var t=k(r);function r(e,n){var o;return h(this,r),(o=t.call(this,n)).code=e,o}return f(r)}(m(Error)),j=function(e){p(r,e);var t=k(r);function r(e,n){var o;return h(this,r),(o=t.call(this,"BAD_OPTION","Unknown ".concat(e," option: ").concat(n))).stem=e,o.option=n,o}return f(r)}(E),A=function(e){p(r,e);var t=k(r);function r(e){var n;return h(this,r),(n=t.call(this,"BAD_STEM","Unknown stem: ".concat(e))).stem=e,n}return f(r)}(E),D=function(e){p(r,e);var t=k(r);function r(e,n){var o;return h(this,r),(o=t.call(this,"MASKED_VALUE","Value for ".concat(e," is set multiple times"))).type=e,o.prev=n,o}return f(r)}(E),_=function(e){p(r,e);var t=k(r);function r(e){var n;return h(this,r),(n=t.call(this,"MISSING_OPTION","Required option missing for ".concat(e))).stem=e,n}return f(r)}(E),T=function(e){p(r,e);var t=k(r);function r(e,n){var o;return h(this,r),(o=t.call(this,"BAD_PATTERN",n)).char=e,o}return f(r)}(E),N=function(e){p(r,e);var t=k(r);function r(e,n,o){var i;return h(this,r),(i=t.call(this,"TOO_MANY_OPTIONS","Token ".concat(e," only supports ").concat(o>1?"".concat(o," options"):"one option"," (got ").concat(n.length,")"))).stem=e,i.options=n,i}return f(r)}(E),P=function(e){p(r,e);var t=k(r);function r(e,n){var o;return h(this,r),(o=t.call(this,"UNSUPPORTED","The stem ".concat(e," is not supported"))).stem=e,n&&(o.message+=" with value ".concat(n),o.source=n),o}return f(r)}(E);function C(e,t){var r=t.numberingSystem;return Array.isArray(e)||(e=[e]),r?e.map((function(e){var t=-1===e.indexOf("-u-")?"u-nu":"nu";return"".concat(e,"-").concat(t,"-").concat(r)})).concat(e):e}function R(e){var t=e.scale,r=e.unit,n="number"==typeof t&&t>=0?t:1;return r&&"percent"===r.style&&(n*=.01),n}function B(e,t){var r=e.decimal,n=e.group,o=e.integerWidth,i=e.notation,a=e.precision,u=e.roundingMode,s=e.sign,c=e.unit,l=e.unitPer,f=e.unitWidth,h=function(e,r){t&&t(new P(e,r))},p={};if(c)switch(c.style){case"base-unit":p.style="decimal";break;case"currency":p.style="currency",p.currency=c.currency;break;case"measure-unit":p.style="unit",p.unit=c.unit.replace(/.*-/,""),l&&(p.unit+="-per-"+l.replace(/.*-/,""));break;case"percent":p.style="percent";break;case"permille":h("permille")}switch(f){case"unit-width-full-name":p.currencyDisplay="name",p.unitDisplay="long";break;case"unit-width-hidden":h(f);break;case"unit-width-iso-code":p.currencyDisplay="code";break;case"unit-width-narrow":p.currencyDisplay="narrowSymbol",p.unitDisplay="narrow";break;case"unit-width-short":p.currencyDisplay="symbol",p.unitDisplay="short"}switch(n){case"group-off":p.useGrouping=!1;break;case"group-auto":p.useGrouping=!0;break;case"group-min2":case"group-on-aligned":case"group-thousands":h(n),p.useGrouping=!0}if(a)switch(a.style){case"precision-fraction":var d=a.minFraction,y=a.maxFraction,m=a.minSignificant,g=a.maxSignificant,v=a.source;"number"==typeof d&&(p.minimumFractionDigits=d,"number"==typeof m&&h("precision-fraction",v)),"number"==typeof y&&(p.maximumFractionDigits=y),"number"==typeof m&&(p.minimumSignificantDigits=m),"number"==typeof g&&(p.maximumSignificantDigits=g);break;case"precision-integer":p.maximumFractionDigits=0;break;case"precision-unlimited":p.maximumFractionDigits=20;break;case"precision-increment":break;case"precision-currency-standard":p.trailingZeroDisplay=a.trailingZero;break;case"precision-currency-cash":h(a.style)}if(i)switch(i.style){case"compact-short":p.notation="compact",p.compactDisplay="short";break;case"compact-long":p.notation="compact",p.compactDisplay="long";break;case"notation-simple":p.notation="standard";break;case"scientific":case"engineering":var b=i.expDigits,w=i.expSign,x=i.source,k=i.style;p.notation=k,(b&&b>1||w&&"sign-auto"!==w)&&h(k,x)}if(o){var S=o.min,F=o.max,O=o.source;if(S>0&&(p.minimumIntegerDigits=S),Number(F)>0){var E="engineering"===p.notation||"scientific"===p.notation;3===F&&E?p.notation="engineering":h("integer-width",O)}}switch(s){case"sign-auto":p.signDisplay="auto";break;case"sign-always":p.signDisplay="always";break;case"sign-except-zero":p.signDisplay="exceptZero";break;case"sign-never":p.signDisplay="never";break;case"sign-accounting":p.currencySign="accounting";break;case"sign-accounting-always":p.currencySign="accounting",p.signDisplay="always";break;case"sign-accounting-except-zero":p.currencySign="accounting",p.signDisplay="exceptZero"}return"decimal-always"===r&&h(r),u&&h(u),p}function L(e,t,r){var n=e[t];switch(n){case"%":return{char:"%",style:"percent",width:1};case"‰":return{char:"%",style:"permille",width:1};case"¤":for(var o=1;"¤"===e[++t];)++o;switch(o){case 1:return{char:n,currency:"default",width:o};case 2:return{char:n,currency:"iso-code",width:o};case 3:return{char:n,currency:"full-name",width:o};case 5:return{char:n,currency:"narrow",width:o};default:return r(new T("¤","Invalid number (".concat(o,") of ¤ chars in pattern"))),null}case"*":var i=e[t+1];if(i)return{char:n,pad:i,width:2};break;case"+":case"-":return{char:n,width:1};case"'":var a=e[++t],u=2;if("'"===a)return{char:n,str:a,width:u};for(;;){var s=e[++t];if(++u,void 0===s)return r(new T("'","Unterminated quoted literal in pattern: ".concat(a))),{char:n,str:a,width:u};if("'"===s){if("'"!==e[++t])return{char:n,str:a,width:u};++u}a+=s}}return null}var I=function(e){return e>="0"&&e<="9"};function M(e,t){var r=e[t];if(I(r))for(var n=r;;){var o=e[++t];if(!I(o))return{char:"0",digits:n,width:n.length};n+=o}switch(r){case"#":for(var i=1;"#"===e[++t];)++i;return{char:r,width:i};case"@":for(var a=1;"@"===e[++t];)++a;var u=a;for(t-=1;"#"===e[++t];)++u;return{char:r,min:a,width:u};case"E":var s="+"===e[t+1];s&&++t;for(var c=0;"0"===e[++t];)++c;if(c)return{char:r,expDigits:c,plus:s,width:(s?2:1)+c};break;case".":case",":return{char:r,width:1}}return null}function z(e,t,r){var n;!function(e){e[e.Prefix=0]="Prefix",e[e.Number=1]="Number",e[e.Suffix=2]="Suffix"}(n||(n={}));for(var o=[],i=[],a=[],u=n.Prefix,s="";t<e.length;){var c=e[t];if(";"===c){t+=1;break}switch(u){case n.Prefix:var l=L(e,t,r);if(l)s&&(o.push({char:"'",str:s,width:s.length}),s=""),o.push(l),t+=l.width;else{var f=M(e,t);f?(s&&(o.push({char:"'",str:s,width:s.length}),s=""),u=n.Number,i.push(f),t+=f.width):(s+=c,t+=1)}break;case n.Number:var h=M(e,t);h?(i.push(h),t+=h.width):u=n.Suffix;break;case n.Suffix:var p=L(e,t,r);p?(s&&(a.push({char:"'",str:s,width:s.length}),s=""),a.push(p),t+=p.width):(s+=c,t+=1)}}return s&&a.push({char:"'",str:s,width:s.length}),{pattern:{prefix:o,number:i,suffix:a},pos:t}}function U(e,t,r,n,o){var i,a=!1,u="",s=w(e);try{for(s.s();!(i=s.n()).done;){var c=i.value;switch(c.char){case"%":t.unit={style:c.style},o?a=!0:u="";break;case"¤":if(!r){n(new T("¤","The ¤ pattern requires a currency"));break}switch(t.unit={style:"currency",currency:r},c.currency){case"iso-code":t.unitWidth="unit-width-iso-code";break;case"full-name":t.unitWidth="unit-width-full-name";break;case"narrow":t.unitWidth="unit-width-narrow"}o?a=!0:u="";break;case"*":break;case"+":a||(u+="+");break;case"'":a||(u+=c.str)}}}catch(e){s.e(e)}finally{s.f()}return u}function q(e,t){var r,n=!1,o="",i=w(e);try{for(i.s();!(r=i.n()).done;){var a=r.value;switch(a.char){case"%":case"¤":t?n=!0:o="";break;case"-":n||(o+="-");break;case"'":n||(o+=a.str)}}}catch(e){i.e(e)}finally{i.f()}return o}function H(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(e){throw e},n=function(e,t){var r=z(e,0,t),n=r.pattern,o=r.pos;return o<e.length?{tokens:n,negative:z(e,o,t).pattern}:{tokens:n}}(e,r),o=n.tokens,i=n.negative,a=function(e,t){for(var r={},n=!1,o=!1,i=0,a="",u=-1,s="",c=0,l=0;l<e.length;++l){var f=e[l];switch(f.char){case"#":-1===u?(a&&t(new T("#","Pattern has # after integer digits")),i+=f.width):c+=f.width;break;case"0":-1===u?a+=f.digits:(c&&t(new T("0","Pattern has digits after # in fraction")),s+=f.digits);break;case"@":r.precision&&t(new D("precision",r.precision)),r.precision={style:"precision-fraction",minSignificant:f.min,maxSignificant:f.width};break;case",":n=!0;break;case".":1===u&&t(new T(".","Pattern has more than one decimal separator")),u=l;break;case"E":o&&t(new D("exponent",r.notation)),n&&t(new T("E","Exponential patterns may not contain grouping separators")),r.notation={style:"scientific"},f.expDigits>1&&(r.notation.expDigits=f.expDigits),f.plus&&(r.notation.expSign="sign-always"),o=!0}}n?r.group="group-auto":i+a.length>3&&(r.group="group-off");var h=Number("".concat(a||"0",".").concat(s));if(h&&(r.precision={style:"precision-increment",increment:h}),o)if(r.precision&&!h||(r.integerWidth=i?{min:1,max:i+a.length}:{min:Math.max(1,a.length)}),r.precision)h||(r.integerWidth={min:1,max:1});else{var p=a.length+s.length;-1===u?p>0&&(r.precision={style:"precision-fraction",maxSignificant:p}):(r.precision={style:"precision-fraction",maxSignificant:Math.max(1,p)+c},p>1&&(r.precision.minSignificant=p))}else a.length>1&&(r.integerWidth={min:a.length}),r.precision||!s.length&&!c||(r.precision={style:"precision-fraction",minFraction:s.length,maxFraction:s.length+c});return r}(o.number,r),u=U(o.prefix,a,t,r,!0),s=U(o.suffix,a,t,r,!1);if(i){var c=q(i.prefix,!0),l=q(i.suffix,!1);a.affix={pos:[u,s],neg:[c,l]},a.sign="sign-never"}else(u||s)&&(a.affix={pos:[u,s]});return a}function J(e){var t=e.split("-",1),r=l(t,1)[0];return-1!==["acceleration","angle","area","concentr","consumption","digital","duration","electric","energy","force","frequency","graphics","length","light","mass","power","pressure","speed","temperature","torque","volume"].indexOf(r)}var W={"compact-short":0,"compact-long":0,"notation-simple":0,scientific:2,engineering:2,percent:0,permille:0,"base-unit":0,currency:1,"measure-unit":1,"per-measure-unit":1,"unit-width-narrow":0,"unit-width-short":0,"unit-width-full-name":0,"unit-width-iso-code":0,"unit-width-hidden":0,"precision-integer":0,"precision-unlimited":0,"precision-currency-standard":1,"precision-currency-cash":0,"precision-increment":1,"rounding-mode-ceiling":0,"rounding-mode-floor":0,"rounding-mode-down":0,"rounding-mode-up":0,"rounding-mode-half-even":0,"rounding-mode-half-down":0,"rounding-mode-half-up":0,"rounding-mode-unnecessary":0,"integer-width":1,scale:1,"group-off":0,"group-min2":0,"group-auto":0,"group-on-aligned":0,"group-thousands":0,latin:0,"numbering-system":1,"sign-auto":0,"sign-always":0,"sign-never":0,"sign-accounting":0,"sign-accounting-always":0,"sign-except-zero":0,"sign-accounting-except-zero":0,"decimal-auto":0,"decimal-always":0},K={currency:1,"integer-width":1,"measure-unit":1,"numbering-system":1,"per-measure-unit":1,"precision-increment":1,scale:1};function G(e,t){var r="fraction"===t?/^\.(0*)(\+|#*)$/:/^(@+)(\+|#*)$/,n=e&&e.match(r);if(n){var o=n[1].length;switch(n[2].charAt(0)){case"":return{min:o,max:o};case"+":return{min:o,max:null};case"#":return{min:o,max:o+n[2].length}}}return null}var $=function(){function e(t){h(this,e),this.skeleton={},this.onError=t}return f(e,[{key:"badOption",value:function(e,t){this.onError(new j(e,t))}},{key:"assertEmpty",value:function(e){var t=this.skeleton[e];t&&this.onError(new D(e,t))}},{key:"parseToken",value:function(e,t){if(function(e,t,r){if(function(e){return e in W}(e)){var n=W[e];if(t.length>n){if(0===n){var o,i=w(t);try{for(i.s();!(o=i.n()).done;){var a=o.value;r(new j(e,a))}}catch(e){i.e(e)}finally{i.f()}}else r(new N(e,t,n));return!1}if(function(e){return e in K}(e)&&t.length<K[e])return r(new _(e)),!1}return!0}(e,t,this.onError)){var r=t[0],n=this.skeleton;switch(e){case"compact-short":case"compact-long":case"notation-simple":this.assertEmpty("notation"),n.notation={style:e};break;case"scientific":case"engineering":var o,i,a=null,u=w(t);try{for(u.s();!(i=u.n()).done;){var s=i.value;switch(s){case"sign-auto":case"sign-always":case"sign-never":case"sign-accounting":case"sign-accounting-always":case"sign-except-zero":case"sign-accounting-except-zero":o=s;break;default:/^\+e+$/.test(s)?a=s.length-1:this.badOption(e,s)}}}catch(e){u.e(e)}finally{u.f()}this.assertEmpty("notation");var c=t.join("/");n.notation=a&&o?{style:e,source:c,expDigits:a,expSign:o}:a?{style:e,source:c,expDigits:a}:o?{style:e,source:c,expSign:o}:{style:e,source:c};break;case"percent":case"permille":case"base-unit":this.assertEmpty("unit"),n.unit={style:e};break;case"currency":/^[A-Z]{3}$/.test(r)?(this.assertEmpty("unit"),n.unit={style:e,currency:r}):this.badOption(e,r);break;case"measure-unit":J(r)?(this.assertEmpty("unit"),n.unit={style:e,unit:r}):this.badOption(e,r);break;case"per-measure-unit":J(r)?(this.assertEmpty("unitPer"),n.unitPer=r):this.badOption(e,r);break;case"unit-width-narrow":case"unit-width-short":case"unit-width-full-name":case"unit-width-iso-code":case"unit-width-hidden":this.assertEmpty("unitWidth"),n.unitWidth=e;break;case"precision-integer":case"precision-unlimited":case"precision-currency-cash":this.assertEmpty("precision"),n.precision={style:e};break;case"precision-currency-standard":this.assertEmpty("precision"),n.precision="w"===r?{style:e,trailingZero:"stripIfInteger"}:{style:e};break;case"precision-increment":var l=Number(r);l>0?(this.assertEmpty("precision"),n.precision={style:e,increment:l}):this.badOption(e,r);break;case"rounding-mode-ceiling":case"rounding-mode-floor":case"rounding-mode-down":case"rounding-mode-up":case"rounding-mode-half-even":case"rounding-mode-half-odd":case"rounding-mode-half-ceiling":case"rounding-mode-half-floor":case"rounding-mode-half-down":case"rounding-mode-half-up":case"rounding-mode-unnecessary":this.assertEmpty("roundingMode"),n.roundingMode=e;break;case"integer-width":if(/^\+0*$/.test(r))this.assertEmpty("integerWidth"),n.integerWidth={source:r,min:r.length-1};else{var f=r.match(/^#*(0*)$/);f?(this.assertEmpty("integerWidth"),n.integerWidth={source:r,min:f[1].length,max:f[0].length}):this.badOption(e,r)}break;case"scale":var h=Number(r);h>0?(this.assertEmpty("scale"),n.scale=h):this.badOption(e,r);break;case"group-off":case"group-min2":case"group-auto":case"group-on-aligned":case"group-thousands":this.assertEmpty("group"),n.group=e;break;case"latin":this.assertEmpty("numberingSystem"),n.numberingSystem="latn";break;case"numbering-system":-1!==["arab","arabext","bali","beng","deva","fullwide","gujr","guru","hanidec","khmr","knda","laoo","latn","limb","mlym","mong","mymr","orya","tamldec","telu","thai","tibt"].indexOf(r)?(this.assertEmpty("numberingSystem"),n.numberingSystem=r):this.badOption(e,r);break;case"sign-auto":case"sign-always":case"sign-never":case"sign-accounting":case"sign-accounting-always":case"sign-except-zero":case"sign-accounting-except-zero":this.assertEmpty("sign"),n.sign=e;break;case"decimal-auto":case"decimal-always":this.assertEmpty("decimal"),n.decimal=e;break;default:var p=function(e,t,r){var n=G(e,"fraction");if(n){t.length>1&&r(new N(e,t,1));var o={style:"precision-fraction",source:e,minFraction:n.min};null!=n.max&&(o.maxFraction=n.max);var i=t[0],a=G(i,"significant");return a?(o.source="".concat(e,"/").concat(i),o.minSignificant=a.min,null!=a.max&&(o.maxSignificant=a.max)):i&&r(new j(e,i)),o}var u=G(e,"significant");if(u){var s,c=w(t);try{for(c.s();!(s=c.n()).done;){var l=s.value;r(new j(e,l))}}catch(e){c.e(e)}finally{c.f()}var f={style:"precision-fraction",source:e,minSignificant:u.min};return null!=u.max&&(f.maxSignificant=u.max),f}return null}(e,t,this.onError);p?(this.assertEmpty("precision"),n.precision=p):this.onError(new A(e))}}}}]),e}();function Z(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){throw e},n=[],o=w(e.split(" "));try{for(o.s();!(t=o.n()).done;){var i=t.value;if(i){var a=i.split("/"),u=a.shift()||"";n.push({stem:u,options:a})}}}catch(e){o.e(e)}finally{o.f()}for(var s=new $(r),c=0,l=n;c<l.length;c++){var f=l[c],h=f.stem,p=f.options;s.parseToken(h,p)}return s.skeleton}var V="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:{},X={},Y={},Q={exports:{}};!function(e){var t,r;t=V,r=function(){var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,r="boolean"==typeof(new RegExp).sticky;function n(e){return e&&"[object RegExp]"===t.call(e)}function o(e){return e&&"object"==g(e)&&!n(e)&&!Array.isArray(e)}function i(e){return"("+e+")"}function a(e){return e.length?"(?:"+e.map((function(e){return"(?:"+e+")"})).join("|")+")":"(?!)"}function u(e){if("string"==typeof e)return"(?:"+e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")+")";if(n(e)){if(e.ignoreCase)throw new Error("RegExp /i flag not allowed");if(e.global)throw new Error("RegExp /g flag is implied");if(e.sticky)throw new Error("RegExp /y flag is implied");if(e.multiline)throw new Error("RegExp /m flag is implied");return e.source}throw new Error("Not a pattern: "+e)}function s(e,t){return e.length>t?e:Array(t-e.length+1).join(" ")+e}function c(t,r){if(o(r)||(r={match:r}),r.include)throw new Error("Matching rules cannot also include states");var i={defaultType:t,lineBreaks:!!r.error||!!r.fallback,pop:!1,next:null,push:null,error:!1,fallback:!1,value:null,type:null,shouldThrow:!1};for(var a in r)e.call(r,a)&&(i[a]=r[a]);if("string"==typeof i.type&&t!==i.type)throw new Error("Type transform cannot be a string (type '"+i.type+"' for token '"+t+"')");var u=i.match;return i.match=Array.isArray(u)?u:u?[u]:[],i.match.sort((function(e,t){return n(e)&&n(t)?0:n(t)?-1:n(e)?1:t.length-e.length})),i}function l(e){return Array.isArray(e)?function(e){for(var t=[],r=0;r<e.length;r++){var n=e[r];if(n.include)for(var o=[].concat(n.include),i=0;i<o.length;i++)t.push({include:o[i]});else{if(!n.type)throw new Error("Rule has no type: "+JSON.stringify(n));t.push(c(n.type,n))}}return t}(e):function(e){for(var t=Object.getOwnPropertyNames(e),r=[],n=0;n<t.length;n++){var i=t[n],a=e[i],u=[].concat(a);if("include"!==i){var s=[];u.forEach((function(e){o(e)?(s.length&&r.push(c(i,s)),r.push(c(i,e)),s=[]):s.push(e)})),s.length&&r.push(c(i,s))}else for(var l=0;l<u.length;l++)r.push({include:u[l]})}return r}(e)}var f=c("error",{lineBreaks:!0,shouldThrow:!0});function h(e,t){for(var o=null,s=Object.create(null),c=!0,l=null,h=[],p=[],d=0;d<e.length;d++)e[d].fallback&&(c=!1);for(d=0;d<e.length;d++){var y=e[d];if(y.include)throw new Error("Inheritance is not allowed in stateless lexers");if(y.error||y.fallback){if(o)throw!y.fallback==!o.fallback?new Error("Multiple "+(y.fallback?"fallback":"error")+" rules not allowed (for token '"+y.defaultType+"')"):new Error("fallback and error are mutually exclusive (for token '"+y.defaultType+"')");o=y}var m=y.match.slice();if(c)for(;m.length&&"string"==typeof m[0]&&1===m[0].length;)s[m.shift().charCodeAt(0)]=y;if(y.pop||y.push||y.next){if(!t)throw new Error("State-switching options are not allowed in stateless lexers (for token '"+y.defaultType+"')");if(y.fallback)throw new Error("State-switching options are not allowed on fallback tokens (for token '"+y.defaultType+"')")}if(0!==m.length){c=!1,h.push(y);for(var g=0;g<m.length;g++){var v=m[g];if(n(v))if(null===l)l=v.unicode;else if(l!==v.unicode&&!1===y.fallback)throw new Error("If one rule is /u then all must be")}var b=a(m.map(u)),w=new RegExp(b);if(w.test(""))throw new Error("RegExp matches empty string: "+w);if(new RegExp("|"+b).exec("").length-1>0)throw new Error("RegExp has capture groups: "+w+"\nUse (?: … ) instead");if(!y.lineBreaks&&w.test("\n"))throw new Error("Rule should declare lineBreaks: "+w);p.push(i(b))}}var x=o&&o.fallback,k=r&&!x?"ym":"gm",S=r||x?"":"|";return!0===l&&(k+="u"),{regexp:new RegExp(a(p)+S,k),groups:h,fast:s,error:o||f}}function p(e,t,r){var n=e&&(e.push||e.next);if(n&&!r[n])throw new Error("Missing state '"+n+"' (in token '"+e.defaultType+"' of state '"+t+"')");if(e&&e.pop&&1!=+e.pop)throw new Error("pop must be 1 (in token '"+e.defaultType+"' of state '"+t+"')")}var d=function(e,t){this.startState=t,this.states=e,this.buffer="",this.stack=[],this.reset()};d.prototype.reset=function(e,t){return this.buffer=e||"",this.index=0,this.line=t?t.line:1,this.col=t?t.col:1,this.queuedToken=t?t.queuedToken:null,this.queuedText=t?t.queuedText:"",this.queuedThrow=t?t.queuedThrow:null,this.setState(t?t.state:this.startState),this.stack=t&&t.stack?t.stack.slice():[],this},d.prototype.save=function(){return{line:this.line,col:this.col,state:this.state,stack:this.stack.slice(),queuedToken:this.queuedToken,queuedText:this.queuedText,queuedThrow:this.queuedThrow}},d.prototype.setState=function(e){if(e&&this.state!==e){this.state=e;var t=this.states[e];this.groups=t.groups,this.error=t.error,this.re=t.regexp,this.fast=t.fast}},d.prototype.popState=function(){this.setState(this.stack.pop())},d.prototype.pushState=function(e){this.stack.push(this.state),this.setState(e)};var y=r?function(e,t){return e.exec(t)}:function(e,t){var r=e.exec(t);return 0===r[0].length?null:r};function m(){return this.value}if(d.prototype._getGroup=function(e){for(var t=this.groups.length,r=0;r<t;r++)if(void 0!==e[r+1])return this.groups[r];throw new Error("Cannot find token type for matched text")},d.prototype.next=function(){var e=this.index;if(this.queuedGroup){var t=this._token(this.queuedGroup,this.queuedText,e);return this.queuedGroup=null,this.queuedText="",t}var r=this.buffer;if(e!==r.length){if(a=this.fast[r.charCodeAt(e)])return this._token(a,r.charAt(e),e);var n=this.re;n.lastIndex=e;var o=y(n,r),i=this.error;if(null==o)return this._token(i,r.slice(e,r.length),e);var a=this._getGroup(o),u=o[0];return i.fallback&&o.index!==e?(this.queuedGroup=a,this.queuedText=u,this._token(i,r.slice(e,o.index),e)):this._token(a,u,e)}},d.prototype._token=function(e,t,r){var n=0;if(e.lineBreaks){var o=/\n/g,i=1;if("\n"===t)n=1;else for(;o.exec(t);)n++,i=o.lastIndex}var a={type:"function"==typeof e.type&&e.type(t)||e.defaultType,value:"function"==typeof e.value?e.value(t):t,text:t,toString:m,offset:r,lineBreaks:n,line:this.line,col:this.col},u=t.length;if(this.index+=u,this.line+=n,0!==n?this.col=u-i+1:this.col+=u,e.shouldThrow)throw new Error(this.formatError(a,"invalid syntax"));return e.pop?this.popState():e.push?this.pushState(e.push):e.next&&this.setState(e.next),a},"undefined"!=typeof Symbol&&Symbol.iterator){var v=function(e){this.lexer=e};v.prototype.next=function(){var e=this.lexer.next();return{value:e,done:!e}},v.prototype[Symbol.iterator]=function(){return this},d.prototype[Symbol.iterator]=function(){return new v(this)}}return d.prototype.formatError=function(e,t){if(null==e){var r=this.buffer.slice(this.index);e={text:r,offset:this.index,lineBreaks:-1===r.indexOf("\n")?0:1,line:this.line,col:this.col}}var n=Math.max(e.line-2,1),o=e.line+2,i=String(o).length,a=function(e,t){for(var r=e.length,n=0;;){var o=e.lastIndexOf("\n",r-1);if(-1===o)break;if(r=o,++n===t)break;if(0===r)break}var i=n<t?0:r+1;return e.substring(i).split("\n")}(this.buffer,this.line-e.line+2+1).slice(0,5),u=[];u.push(t+" at line "+e.line+" col "+e.col+":"),u.push("");for(var c=0;c<a.length;c++){var l=a[c],f=n+c;u.push(s(String(f),i)+" "+l),f===e.line&&u.push(s("",i+e.col+1)+"^")}return u.join("\n")},d.prototype.clone=function(){return new d(this.states,this.state)},d.prototype.has=function(e){return!0},{compile:function(e){var t=h(l(e));return new d({start:t},"start")},states:function(e,t){var r=e.$all?l(e.$all):[];delete e.$all;var n=Object.getOwnPropertyNames(e);t||(t=n[0]);for(var o=Object.create(null),i=0;i<n.length;i++)o[b=n[i]]=l(e[b]).concat(r);for(i=0;i<n.length;i++)for(var a=o[b=n[i]],u=Object.create(null),s=0;s<a.length;s++){var c=a[s];if(c.include){var f=[s,1];if(c.include!==b&&!u[c.include]){u[c.include]=!0;var y=o[c.include];if(!y)throw new Error("Cannot include nonexistent state '"+c.include+"' (in state '"+b+"')");for(var m=0;m<y.length;m++){var g=y[m];-1===a.indexOf(g)&&f.push(g)}}a.splice.apply(a,f),s--}}var v=Object.create(null);for(i=0;i<n.length;i++){var b;v[b=n[i]]=h(o[b],!0)}for(i=0;i<n.length;i++){var w=n[i],x=v[w],k=x.groups;for(s=0;s<k.length;s++)p(k[s],w,v);var S=Object.getOwnPropertyNames(x.fast);for(s=0;s<S.length;s++)p(x.fast[S[s]],w,v)}return new d(v,t)},error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:function(e){for(var t="undefined"!=typeof Map,r=t?new Map:Object.create(null),n=Object.getOwnPropertyNames(e),o=0;o<n.length;o++){var i=n[o],a=e[i];(Array.isArray(a)?a:[a]).forEach((function(e){if("string"!=typeof e)throw new Error("keyword must be string (in keyword '"+i+"')");t?r.set(e,i):r[e]=i}))}return function(e){return t?r.get(e):r[e]}}}},e.exports?e.exports=r():t.moo=r()}(Q);var ee=Q.exports;(function(e){var t=V&&V.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.lexer=e.states=void 0;var r=t(ee);e.states={body:{doubleapos:{match:"''",value:function(){return"'"}},quoted:{lineBreaks:!0,match:/'[#\{\}](?:(?:[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?(?:[\0-&\(-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]))?'(?!')/,value:function(e){return e.slice(1,-1).replace(/''/g,"'")}},argument:{lineBreaks:!0,match:/\{[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*(?:[\0-\x08\x0E-\x1F0-9A-Z_a-z\x7F-\x84\x86-\xA0\xA8\xAA\xAD\xAF\xB2-\xB5\xB7-\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u200D\u202A-\u202F\u203F\u2040\u2054\u205F-\u218F\u2460-\u24FF\u2776-\u2793\u2C00-\u2DFF\u2E80-\u3000\u3004-\u3007\u3021-\u302F\u3031-\uD7FF\uE000-\uFD3D\uFD40-\uFE44\uFE47-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*/,push:"arg",value:function(e){return e.substring(1).trim()}},octothorpe:"#",end:{match:"}",pop:1},content:{lineBreaks:!0,match:/(?:[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])(?:[\0-"\$-&\(-z\|~-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*/}},arg:{select:{lineBreaks:!0,match:/,[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*(?:plural|select|selectordinal)[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*,[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*/,next:"select",value:function(e){return e.split(",")[1].trim()}},"func-args":{lineBreaks:!0,match:/,[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*(?:[\0-\x08\x0E-\x1F0-9A-Z_a-z\x7F-\x84\x86-\xA0\xA8\xAA\xAD\xAF\xB2-\xB5\xB7-\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u200D\u202A-\u202F\u203F\u2040\u2054\u205F-\u218F\u2460-\u24FF\u2776-\u2793\u2C00-\u2DFF\u2E80-\u3000\u3004-\u3007\u3021-\u302F\u3031-\uD7FF\uE000-\uFD3D\uFD40-\uFE44\uFE47-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*,/,next:"body",value:function(e){return e.split(",")[1].trim()}},"func-simple":{lineBreaks:!0,match:/,[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*(?:[\0-\x08\x0E-\x1F0-9A-Z_a-z\x7F-\x84\x86-\xA0\xA8\xAA\xAD\xAF\xB2-\xB5\xB7-\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u200D\u202A-\u202F\u203F\u2040\u2054\u205F-\u218F\u2460-\u24FF\u2776-\u2793\u2C00-\u2DFF\u2E80-\u3000\u3004-\u3007\u3021-\u302F\u3031-\uD7FF\uE000-\uFD3D\uFD40-\uFE44\uFE47-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*/,value:function(e){return e.substring(1).trim()}},end:{match:"}",pop:1}},select:{offset:{lineBreaks:!0,match:/[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*offset[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*:[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*[0-9]+[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*/,value:function(e){return e.split(":")[1].trim()}},case:{lineBreaks:!0,match:/[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*(?:=[0-9]+|(?:[\0-\x08\x0E-\x1F0-9A-Z_a-z\x7F-\x84\x86-\xA0\xA8\xAA\xAD\xAF\xB2-\xB5\xB7-\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u200D\u202A-\u202F\u203F\u2040\u2054\u205F-\u218F\u2460-\u24FF\u2776-\u2793\u2C00-\u2DFF\u2E80-\u3000\u3004-\u3007\u3021-\u302F\u3031-\uD7FF\uE000-\uFD3D\uFD40-\uFE44\uFE47-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*\{/,push:"body",value:function(e){return e.substring(0,e.indexOf("{")).trim()}},end:{match:/[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*\}/,pop:1}}},e.lexer=r.default.states(e.states)})(Y),Object.defineProperty(X,"__esModule",{value:!0});var te=X.parse=X.ParseError=void 0,re=Y,ne=function(e){return{offset:e.offset,line:e.line,col:e.col,text:e.text,lineBreaks:e.lineBreaks}},oe=function(e){return"plural"===e||"select"===e||"selectordinal"===e},ie=["number","date","time","spellout","ordinal","duration"],ae=["zero","one","two","few","many","other"],ue=function(e){p(r,e);var t=k(r);function r(e,n){return h(this,r),t.call(this,re.lexer.formatError(e,n))}return f(r)}(m(Error));X.ParseError=ue;var se=function(){function e(t,r){var n,o,i,a;h(this,e),this.lexer=re.lexer.reset(t),this.cardinalKeys=null!==(n=null==r?void 0:r.cardinal)&&void 0!==n?n:ae,this.ordinalKeys=null!==(o=null==r?void 0:r.ordinal)&&void 0!==o?o:ae,this.strict=null!==(i=null==r?void 0:r.strict)&&void 0!==i&&i,this.strictPluralKeys=null===(a=null==r?void 0:r.strictPluralKeys)||void 0===a||a}return f(e,[{key:"parse",value:function(){return this.parseBody(!1,!0)}},{key:"checkSelectKey",value:function(e,t,r){if("="===r[0]){if("select"===t)throw new ue(e,"The case ".concat(r," is not valid with select"))}else if("select"!==t){var n="plural"===t?this.cardinalKeys:this.ordinalKeys;if(this.strictPluralKeys&&n.length>0&&!n.includes(r))throw new ue(e,"The ".concat(t," case ").concat(r," is not valid in this locale"))}}},{key:"parseSelect",value:function(e,t,r,n){var o={type:n,arg:e.value,cases:[],ctx:r};"plural"===n||"selectordinal"===n?t=!0:this.strict&&(t=!1);var i,a=w(this.lexer);try{for(a.s();!(i=a.n()).done;){var u=i.value;switch(u.type){case"offset":if("select"===n)throw new ue(u,"Unexpected plural offset for select");if(o.cases.length>0)throw new ue(u,"Plural offset must be set before cases");o.pluralOffset=Number(u.value),r.text+=u.text,r.lineBreaks+=u.lineBreaks;break;case"case":this.checkSelectKey(u,n,u.value),o.cases.push({key:u.value,tokens:this.parseBody(t),ctx:ne(u)});break;case"end":return o;default:throw new ue(u,"Unexpected lexer token: ".concat(u.type))}}}catch(e){a.e(e)}finally{a.f()}throw new ue(null,"Unexpected message end")}},{key:"parseArgToken",value:function(e,t){var r=ne(e),n=this.lexer.next();if(!n)throw new ue(null,"Unexpected message end");if(r.text+=n.text,r.lineBreaks+=n.lineBreaks,this.strict&&("func-simple"===n.type||"func-args"===n.type)&&!ie.includes(n.value)){var o="Invalid strict mode function arg type: ".concat(n.value);throw new ue(e,o)}switch(n.type){case"end":return{type:"argument",arg:e.value,ctx:r};case"func-simple":var i=this.lexer.next();if(!i)throw new ue(null,"Unexpected message end");if("end"!==i.type)throw new ue(i,"Unexpected lexer token: ".concat(i.type));if(r.text+=i.text,oe(n.value.toLowerCase()))throw new ue(n,"Invalid type identifier: ".concat(n.value));return{type:"function",arg:e.value,key:n.value,ctx:r};case"func-args":if(oe(n.value.toLowerCase())){var a="Invalid type identifier: ".concat(n.value);throw new ue(n,a)}var u=this.parseBody(!this.strict&&t);return this.strict&&u.length>0&&(u=function(e,t){var r,n="",o="",i=w(t);try{for(i.s();!(r=i.n()).done;){var a=r.value,u=a.ctx.text;switch(o+=u,a.type){case"content":n+=a.value;break;case"argument":case"function":case"octothorpe":n+=u;break;default:throw new ue(e,"Unsupported part in strict mode function arg style: ".concat(u))}}}catch(e){i.e(e)}finally{i.f()}return[{type:"content",value:n.trim(),ctx:Object.assign({},t[0].ctx,{text:o})}]}(e,u)),{type:"function",arg:e.value,key:n.value,param:u,ctx:r};case"select":if(oe(n.value))return this.parseSelect(e,t,r,n.value);throw new ue(n,"Unexpected select type ".concat(n.value));default:throw new ue(n,"Unexpected lexer token: ".concat(n.type))}}},{key:"parseBody",value:function(e,t){var r,n=[],o=null,i=w(this.lexer);try{for(i.s();!(r=i.n()).done;){var a=r.value;if("argument"===a.type)o&&(o=null),n.push(this.parseArgToken(a,e));else if("octothorpe"===a.type&&e)o&&(o=null),n.push({type:"octothorpe",ctx:ne(a)});else{if("end"===a.type&&!t)return n;var u=a.value;if(!e&&"quoted"===a.type&&"#"===u[0]){if(u.includes("{"))throw new ue(a,"Unsupported escape pattern: ".concat(u));u=a.text}o?(o.value+=u,o.ctx.text+=a.text,o.ctx.lineBreaks+=a.lineBreaks):(o={type:"content",value:u,ctx:ne(a)},n.push(o))}}}catch(e){i.e(e)}finally{i.f()}if(t)return n;throw new ue(null,"Unexpected message end")}}]),e}();function ce(e){return ce[e]||(ce[e]=new Intl.NumberFormat(e))}te=X.parse=function(e){return new se(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).parse()};var le=Object.freeze({__proto__:null,_nf:ce,number:function(e,t,r){return ce(e).format(t-r)},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},reqArgs:function(e,t){for(var r=0;r<e.length;++r)if(!t||void 0===t[e[r]])throw new Error("Message requires argument '".concat(e[r],"'"))},select:function(e,t){return{}.hasOwnProperty.call(t,e)?t[e]:t.other},strictNumber:function(e,t,r,n){var o=t-r;if(isNaN(o))throw new Error("`"+n+"` or its offset is not a number");return ce(e).format(o)}}),fe={};function he(e,t){var r=String(e)+JSON.stringify(t);return fe[r]||(fe[r]=new Intl.NumberFormat(e,t)),fe[r]}var pe=Object.freeze({__proto__:null,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)},duration:function(e){if("number"!=typeof e&&(e=Number(e)),!isFinite(e))return String(e);var t="";e<0?(t="-",e=Math.abs(e)):e=Number(e);var r=e%60,n=[Math.round(r)===r?r:r.toFixed(3)];return e<60?n.unshift(0):(e=Math.round((e-Number(n[0]))/60),n.unshift(e%60),e>=60&&(e=Math.round((e-Number(n[0]))/60),n.unshift(e))),t+n.shift()+":"+n.map((function(e){return Number(e)<10?"0"+String(e):String(e)})).join(":")},numberCurrency:function(e,t,r){return he(t,{style:"currency",currency:r,minimumFractionDigits:2,maximumFractionDigits:2}).format(e)},numberFmt:function(e,t,r,n){var o=r&&r.split(":")||[],i=o[0],a=o[1];return he(t,{integer:{maximumFractionDigits:0},percent:{style:"percent"},currency:{style:"currency",currency:a&&a.trim()||n,minimumFractionDigits:2,maximumFractionDigits:2}}[i]||{}).format(e)},numberInteger:function(e,t){return he(t,{maximumFractionDigits:0}).format(e)},numberPercent:function(e,t){return he(t,{style:"percent"}).format(e)},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)}}),de=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}({ES3:{break:!0,continue:!0,delete:!0,else:!0,for:!0,function:!0,if:!0,in:!0,new:!0,return:!0,this:!0,typeof:!0,var:!0,void:!0,while:!0,with:!0,case:!0,catch:!0,default:!0,do:!0,finally:!0,instanceof:!0,switch:!0,throw:!0,try:!0},ESnext:{await:!0,debugger:!0,class:!0,enum:!0,extends:!0,super:!0,const:!0,export:!0,import:!0,null:!0,true:!0,false:!0,implements:!0,let:!0,private:!0,public:!0,yield:!0,interface:!0,package:!0,protected:!0,static:!0}});function ye(e,t){t&&(e+=" "+function(e){for(var t=0,r=0;r<e.length;++r)t=(t<<5)-t+e.charCodeAt(r),t|=0;return t}(e).toString(36));var r=e.trim().replace(/\W+/g,"_");return de.ES3[r]||de.ESnext[r]||/^\d/.test(r)?"_"+r:r}function me(e,t){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(t)&&!de.ES3[t])return e?e+"."+t:t;var r=JSON.stringify(t);return e?e+"["+r+"]":r}var ge=new RegExp("^"+["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"].join("|^")),ve="@messageformat/runtime/lib/plurals",be=function(){function r(e){this.arguments=[],this.runtime={},this.options=e}return r.prototype.compile=function(e,r,n){var o,i,a=this,u=this.options,s=u.localeCodeFromKey,c=u.requireAllArguments,l=u.strict,f=u.strictPluralKeys;if("object"==g(e)){var h={};try{for(var p=t(Object.keys(e)),d=p.next();!d.done;d=p.next()){var y=d.value,m=s?s(y):y,v=n&&m&&n[m]||r;h[y]=this.compile(e[y],v,n)}}catch(e){o={error:e}}finally{try{d&&!d.done&&(i=p.return)&&i.call(p)}finally{if(o)throw o.error}}return h}this.plural=r;var b={cardinal:r.cardinals,ordinal:r.ordinals,strict:l,strictPluralKeys:f};this.arguments=[];var w=te(e,b).map((function(e){return a.token(e,null)})),x=this.arguments.length>0,k=this.concatenate(w,!0);if(c&&x){this.setRuntimeFn("reqArgs");var S=JSON.stringify(this.arguments);return"(d) => { reqArgs(".concat(S,", d); return ").concat(k,"; }")}return"(".concat(x?"d":"",") => ").concat(k)},r.prototype.cases=function(e,t){var r=this,n=!0,o=e.cases.map((function(e){var o=e.key,i=e.tokens;"other"===o&&(n=!1);var a=i.map((function(e){return r.token(e,t)}));return"".concat(me(null,o.replace(/^=/,"")),": ").concat(r.concatenate(a,!1))}));if(n){var i=e.type,a=this.plural,u=a.cardinals,s=a.ordinals;if("select"===i||"plural"===i&&u.includes("other")||"selectordinal"===i&&s.includes("other"))throw new Error("No 'other' form found in ".concat(JSON.stringify(e)))}return"{ ".concat(o.join(", ")," }")},r.prototype.concatenate=function(e,t){return"values"===this.options.returnType&&(t||e.length>1)?"["+e.join(", ")+"]":e.join(" + ")||'""'},r.prototype.token=function(e,t){if("content"===e.type)return JSON.stringify(e.value);var r,n,o,i,a,u,s=this.plural,c=s.id,l=s.lc;switch("arg"in e?(this.arguments.push(e.arg),r=[me("d",e.arg)]):r=[],e.type){case"argument":return this.options.biDiSupport?(o=String(r[0]),i=l,a=ge.test(i),u=JSON.stringify(a?"‏":"‎"),"".concat(u," + ").concat(o," + ").concat(u)):String(r[0]);case"select":n="select",t&&this.options.strict&&(t=null),r.push(this.cases(e,t)),this.setRuntimeFn("select");break;case"selectordinal":n="plural",r.push(e.pluralOffset||0,c,this.cases(e,e),1),this.setLocale(c,!0),this.setRuntimeFn("plural");break;case"plural":n="plural",r.push(e.pluralOffset||0,c,this.cases(e,e)),this.setLocale(c,!1),this.setRuntimeFn("plural");break;case"function":var f=this.options.customFormatters[e.key],h=f&&"module"in f&&"function"==typeof f.module;if(!f){if("date"===e.key){n=this.setDateFormatter(e,r,t);break}if("number"===e.key){n=this.setNumberFormatter(e,r,t);break}}if(r.push(JSON.stringify(this.plural.locale)),e.param){t&&this.options.strict&&(t=null);var p=this.getFormatterArg(e,t);p&&r.push(p)}n=h?ye("".concat(e.key,"__").concat(this.plural.locale)):e.key,this.setFormatter(n,e.key);break;case"octothorpe":if(!t)return'"#"';r=[JSON.stringify(this.plural.locale),me("d",t.arg),t.pluralOffset||0],this.options.strict?(n="strictNumber",r.push(JSON.stringify(t.arg)),this.setRuntimeFn("strictNumber")):(n="number",this.setRuntimeFn("number"))}if(!n)throw new Error("Parser error for token "+JSON.stringify(e));return"".concat(n,"(").concat(r.join(", "),")")},r.prototype.runtimeIncludes=function(e,t){if(ye(e)!==e)throw new SyntaxError("Reserved word used as ".concat(t," identifier: ").concat(e));var r=this.runtime[e];if(!r||r.type===t)return r;throw new TypeError("Cannot override ".concat(r.type," runtime function as ").concat(t,": ").concat(e))},r.prototype.setLocale=function(e,t){var r,n,o,i=this.runtimeIncludes(e,"locale"),a=this.plural,u=a.getCardinal,s=a.getPlural,c=a.isDefault;if(!t&&c&&u){if(i)return;r=function(e){return u(e)},n="@messageformat/runtime/lib/cardinals",o=function(){return String(u)}}else{if(i&&(!c||i.module===ve))return;r=function(e,t){return s(e,t)},n=c?ve:s.module||null,o=function(){return String(s)}}this.runtime[e]=Object.assign(r,{id:e,module:n,toString:o,type:"locale"})},r.prototype.setRuntimeFn=function(e){this.runtimeIncludes(e,"runtime")||(this.runtime[e]=Object.assign(le[e],{id:e,module:"@messageformat/runtime",type:"runtime"}))},r.prototype.getFormatterArg=function(e,r){var n,o,i,a,u=this,s=e.key,c=e.param,l=this.options.customFormatters[s]||we(s)&&pe[s];if(!l||!c)return null;var f="arg"in l&&l.arg||"string";if("options"===f){var h="";try{for(var p=t(c),d=p.next();!d.done;d=p.next()){var y=d.value;if("content"!==y.type)throw new SyntaxError("Expected literal options for ".concat(s," formatter"));h+=y.value}}catch(e){n={error:e}}finally{try{d&&!d.done&&(o=p.return)&&o.call(p)}finally{if(n)throw n.error}}var m={};try{for(var g=t(h.split(",")),v=g.next();!v.done;v=g.next()){var b=v.value,w=b.indexOf(":");if(-1===w)m[b.trim()]=null;else{var x=b.substring(0,w).trim(),k=b.substring(w+1).trim();if("true"===k)m[x]=!0;else if("false"===k)m[x]=!1;else if("null"===k)m[x]=null;else{var S=Number(k);m[x]=Number.isFinite(S)?S:k}}}}catch(e){i={error:e}}finally{try{v&&!v.done&&(a=g.return)&&a.call(g)}finally{if(i)throw i.error}}return JSON.stringify(m)}var F=c.map((function(e){return u.token(e,r)}));if("raw"===f)return"[".concat(F.join(", "),"]");var O=F.join(" + ");return O?"(".concat(O,").trim()"):'""'},r.prototype.setFormatter=function(t,r){if(!this.runtimeIncludes(t,"formatter")){var n=this.options.customFormatters[r||t];if(n){var o="function"==typeof n?{formatter:n}:n;this.runtime[t]=Object.assign(o.formatter.bind({}),e(e({},o.formatter.prototype),{toString:function(){return String(o.formatter)}}),{type:"formatter"},"module"in n&&n.module&&n.id?{id:ye(n.id),module:"function"==typeof n.module?n.module(this.plural.locale):n.module}:{id:null,module:null})}else{if(!we(t))throw new Error("Formatting function not found: ".concat(t));this.runtime[t]=Object.assign(pe[t],{type:"formatter"},{id:t,module:"@messageformat/runtime/lib/formatters"})}}},r.prototype.setDateFormatter=function(e,t,r){var n=this,o=e.param,i=this.plural.locale,a=o&&1===o.length&&o[0];if(a&&"content"===a.type&&/^\s*::/.test(a.value)){var u=a.value.trim().substr(2),s=ye("date_".concat(i,"_").concat(u),!0);if(!this.runtimeIncludes(s,"formatter")){var c=function(e,t,r){"string"==typeof t&&(t=O(t));var n=b(t,void 0),o=new Intl.DateTimeFormat(e,n);return function(e){return o.format(e)}}(i,u);this.runtime[s]=Object.assign(c,{id:s,module:null,toString:function(){return function(e,t,r){"string"==typeof t&&(t=O(t));var n=b(t,void 0);return["(function() {","var opt = ".concat(JSON.stringify(n),";"),"var dtf = new Intl.DateTimeFormat(".concat(JSON.stringify(e),", opt);"),"return function(value) { return dtf.format(value); }"].join("\n ")+"\n})()"}(i,u)},type:"formatter"})}return s}if(t.push(JSON.stringify(i)),o&&o.length>0){r&&this.options.strict&&(r=null);var l=o.map((function(e){return n.token(e,r)}));t.push("("+(l.join(" + ")||'""')+").trim()")}return this.setFormatter("date"),"date"},r.prototype.setNumberFormatter=function(e,t,r){var n=this,o=e.param,i=this.plural.locale;if(!o||0===o.length)return t.unshift(JSON.stringify(i)),t.push("0"),this.setRuntimeFn("number"),"number";if(t.push(JSON.stringify(i)),1===o.length&&"content"===o[0].type){var a=o[0].value.trim();switch(a){case"currency":return t.push(JSON.stringify(this.options.currency)),this.setFormatter("numberCurrency"),"numberCurrency";case"integer":return this.setFormatter("numberInteger"),"numberInteger";case"percent":return this.setFormatter("numberPercent"),"numberPercent"}var u=a.match(/^currency:([A-Z]+)$/);if(u)return t.push(JSON.stringify(u[1])),this.setFormatter("numberCurrency"),"numberCurrency";var s=ye("number_".concat(i,"_").concat(a),!0);if(!this.runtimeIncludes(s,"formatter")){var c=this.options.currency,f=function(e,t,r,n){"string"==typeof t&&(t=0===t.indexOf("::")?Z(t.slice(2),n):H(t,r,n));var o=C(e,t),i=B(t,n),a=function(e){var t=R(e),r=e.precision;return r&&"precision-increment"===r.style?function(e){return function(e,t){var r=+e+t/2;return r-r%+t}(e,r.increment)*t}:function(e){return e*t}}(t),u=new Intl.NumberFormat(o,i);if(t.affix){var s=l(t.affix.pos,2),c=s[0],f=s[1],h=t.affix.neg||["",""],p=l(h,2),d=p[0],y=p[1];return function(e){var t=u.format(a(e));return e<0?"".concat(d).concat(t).concat(y):"".concat(c).concat(t).concat(f)}}return function(e){return u.format(a(e))}}(i,a,c);this.runtime[s]=Object.assign(f,{id:null,module:null,toString:function(){return function(e,t,r,n){"string"==typeof t&&(t=0===t.indexOf("::")?Z(t.slice(2),n):H(t,r,n));var o=C(e,t),i=B(t,n),a=function(e){var t=R(e),r=e.precision;if(r&&"precision-increment"===r.style){var n="+n + "+r.increment/2,o="x - (x % +".concat(r.increment,")");return 1!==t&&(o="(".concat(o,") * ").concat(t)),"function(n) { var x = ".concat(n,"; return ").concat(o,"; }")}return 1!==t?"function(n) { return n * ".concat(t,"; }"):null}(t),u=["(function() {","var opt = ".concat(JSON.stringify(i),";"),"var nf = new Intl.NumberFormat(".concat(JSON.stringify(o),", opt);")],s="nf.format(value)";if(a&&(u.push("var mod = ".concat(a,";")),s="nf.format(mod(value))"),t.affix){var c=t.affix.pos.map((function(e){return JSON.stringify(e)})),f=l(c,2),h=f[0],p=f[1];if(t.affix.neg){var d=t.affix.neg.map((function(e){return JSON.stringify(e)})),y=l(d,2),m=y[0],g=y[1];s="value < 0 ? ".concat(m," + ").concat(s," + ").concat(g," : ").concat(h," + ").concat(s," + ").concat(p)}else s="".concat(h," + ").concat(s," + ").concat(p)}return u.push("return function(value) { return ".concat(s,"; }")),u.join("\n ")+"\n})()"}(i,a,c)},type:"formatter"})}return s}r&&this.options.strict&&(r=null);var h=o.map((function(e){return n.token(e,r)}));return t.push("("+(h.join(" + ")||'""')+").trim()"),t.push(JSON.stringify(this.options.currency)),this.setFormatter("numberFmt"),"numberFmt"},r}();function we(e){return e in pe}var xe=function(e){return 1==e?"one":"other"},ke=function(e){return 0==e||1==e?"one":"other"},Se=function(e){return e>=0&&e<=1?"one":"other"},Fe=function(e){var t=!String(e).split(".")[1];return 1==e&&t?"one":"other"},Oe=function(e){return"other"},Ee=function(e){return 1==e?"one":2==e?"two":"other"},je=xe,Ae=ke,De=Se,_e=xe,Te=Se,Ne=xe,Pe=Fe,Ce=xe,Re=xe,Be=xe,Le=xe,Ie=xe,Me=ke,ze=Oe,Ue=Se,qe=Oe,He=xe,Je=xe,We=xe,Ke=xe,Ge=xe,$e=Fe,Ze=Se,Ve=xe,Xe=Oe,Ye=xe,Qe=xe,et=Fe,tt=xe,rt=Fe,nt=xe,ot=Se,it=Fe,at=xe,ut=xe,st=Fe,ct=Fe,lt=xe,ft=Se,ht=ke,pt=xe,dt=xe,yt=Se,mt=Oe,gt=xe,vt=Fe,bt=Oe,wt=Oe,xt=Oe,kt=Fe,St=Ee,Ft=Oe,Ot=Oe,Et=xe,jt=xe,At=Oe,Dt=Oe,_t=xe,Tt=xe,Nt=xe,Pt=Oe,Ct=Oe,Rt=xe,Bt=xe,Lt=xe,It=Oe,Mt=Se,zt=Oe,Ut=xe,qt=xe,Ht=xe,Jt=xe,Wt=xe,Kt=xe,Gt=Fe,$t=Oe,Zt=ke,Vt=Oe,Xt=xe,Yt=ke,Qt=xe,er=xe,tr=xe,rr=xe,nr=Oe,or=Oe,ir=xe,ar=Ee,ur=xe,sr=xe,cr=xe,lr=Fe,fr=xe,hr=xe,pr=xe,dr=Oe,yr=xe,mr=ke,gr=xe,vr=xe,br=xe,wr=xe,xr=xe,kr=Oe,Sr=ke,Fr=xe,Or=Se,Er=xe,jr=xe,Ar=xe,Dr=xe,_r=Oe,Tr=xe,Nr=Ee,Pr=Fe,Cr=Fe,Rr=xe,Br=xe,Lr=Ee,Ir=xe,Mr=Oe,zr=Oe,Ur=Ee,qr=Ee,Hr=Ee,Jr=Ee,Wr=Ee,Kr=xe,Gr=xe,$r=xe,Zr=xe,Vr=xe,Xr=xe,Yr=Oe,Qr=Fe,en=Fe,tn=xe,rn=xe,nn=xe,on=xe,an=Oe,un=ke,sn=xe,cn=xe,ln=xe,fn=Oe,hn=Oe,pn=xe,dn=xe,yn=xe,mn=Oe,gn=Fe,vn=xe,bn=xe,wn=Oe,xn=xe,kn=xe,Sn=ke,Fn=xe,On=Oe,En=xe,jn=xe,An=Fe,Dn=Oe,_n=Oe,Tn=Oe,Nn=Se,Pn=Object.freeze({__proto__:null,af:je,ak:Ae,am:De,an:_e,ar:function(e){var t=String(e).split("."),r=Number(t[0])==e&&t[0].slice(-2);return 0==e?"zero":1==e?"one":2==e?"two":r>=3&&r<=10?"few":r>=11&&r<=99?"many":"other"},ars:function(e){var t=String(e).split("."),r=Number(t[0])==e&&t[0].slice(-2);return 0==e?"zero":1==e?"one":2==e?"two":r>=3&&r<=10?"few":r>=11&&r<=99?"many":"other"},as:Te,asa:Ne,ast:Pe,az:Ce,bal:Re,be:function(e){var t=String(e).split("."),r=Number(t[0])==e,n=r&&t[0].slice(-1),o=r&&t[0].slice(-2);return 1==n&&11!=o?"one":n>=2&&n<=4&&(o<12||o>14)?"few":r&&0==n||n>=5&&n<=9||o>=11&&o<=14?"many":"other"},bem:Be,bez:Le,bg:Ie,bho:Me,bm:ze,bn:Ue,bo:qe,br:function(e){var t=String(e).split("."),r=Number(t[0])==e,n=r&&t[0].slice(-1),o=r&&t[0].slice(-2),i=r&&t[0].slice(-6);return 1==n&&11!=o&&71!=o&&91!=o?"one":2==n&&12!=o&&72!=o&&92!=o?"two":(3==n||4==n||9==n)&&(o<10||o>19)&&(o<70||o>79)&&(o<90||o>99)?"few":0!=e&&r&&0==i?"many":"other"},brx:He,bs:function(e){var t=String(e).split("."),r=t[0],n=t[1]||"",o=!t[1],i=r.slice(-1),a=r.slice(-2),u=n.slice(-1),s=n.slice(-2);return o&&1==i&&11!=a||1==u&&11!=s?"one":o&&i>=2&&i<=4&&(a<12||a>14)||u>=2&&u<=4&&(s<12||s>14)?"few":"other"},ca:function(e){var t=String(e).split("."),r=t[0],n=!t[1],o=r.slice(-6);return 1==e&&n?"one":0!=r&&0==o&&n?"many":"other"},ce:Je,ceb:function(e){var t=String(e).split("."),r=t[0],n=t[1]||"",o=!t[1],i=r.slice(-1),a=n.slice(-1);return o&&(1==r||2==r||3==r)||o&&4!=i&&6!=i&&9!=i||!o&&4!=a&&6!=a&&9!=a?"one":"other"},cgg:We,chr:Ke,ckb:Ge,cs:function(e){var t=String(e).split("."),r=t[0],n=!t[1];return 1==e&&n?"one":r>=2&&r<=4&&n?"few":n?"other":"many"},cy:function(e){return 0==e?"zero":1==e?"one":2==e?"two":3==e?"few":6==e?"many":"other"},da:function(e){var t=String(e).split("."),r=t[0],n=Number(t[0])==e;return 1!=e&&(n||0!=r&&1!=r)?"other":"one"},de:$e,doi:Ze,dsb:function(e){var t=String(e).split("."),r=t[0],n=t[1]||"",o=!t[1],i=r.slice(-2),a=n.slice(-2);return o&&1==i||1==a?"one":o&&2==i||2==a?"two":o&&(3==i||4==i)||3==a||4==a?"few":"other"},dv:Ve,dz:Xe,ee:Ye,el:Qe,en:et,eo:tt,es:function(e){var t=String(e).split("."),r=t[0],n=!t[1],o=r.slice(-6);return 1==e?"one":0!=r&&0==o&&n?"many":"other"},et:rt,eu:nt,fa:ot,ff:function(e){return e>=0&&e<2?"one":"other"},fi:it,fil:function(e){var t=String(e).split("."),r=t[0],n=t[1]||"",o=!t[1],i=r.slice(-1),a=n.slice(-1);return o&&(1==r||2==r||3==r)||o&&4!=i&&6!=i&&9!=i||!o&&4!=a&&6!=a&&9!=a?"one":"other"},fo:at,fr:function(e){var t=String(e).split("."),r=t[0],n=!t[1],o=r.slice(-6);return e>=0&&e<2?"one":0!=r&&0==o&&n?"many":"other"},fur:ut,fy:st,ga:function(e){var t=String(e).split("."),r=Number(t[0])==e;return 1==e?"one":2==e?"two":r&&e>=3&&e<=6?"few":r&&e>=7&&e<=10?"many":"other"},gd:function(e){var t=String(e).split("."),r=Number(t[0])==e;return 1==e||11==e?"one":2==e||12==e?"two":r&&e>=3&&e<=10||r&&e>=13&&e<=19?"few":"other"},gl:ct,gsw:lt,gu:ft,guw:ht,gv:function(e){var t=String(e).split("."),r=t[0],n=!t[1],o=r.slice(-1),i=r.slice(-2);return n&&1==o?"one":n&&2==o?"two":!n||0!=i&&20!=i&&40!=i&&60!=i&&80!=i?n?"other":"many":"few"},ha:pt,haw:dt,he:function(e){var t=String(e).split("."),r=t[0],n=!t[1];return 1==r&&n||0==r&&!n?"one":2==r&&n?"two":"other"},hi:yt,hnj:mt,hr:function(e){var t=String(e).split("."),r=t[0],n=t[1]||"",o=!t[1],i=r.slice(-1),a=r.slice(-2),u=n.slice(-1),s=n.slice(-2);return o&&1==i&&11!=a||1==u&&11!=s?"one":o&&i>=2&&i<=4&&(a<12||a>14)||u>=2&&u<=4&&(s<12||s>14)?"few":"other"},hsb:function(e){var t=String(e).split("."),r=t[0],n=t[1]||"",o=!t[1],i=r.slice(-2),a=n.slice(-2);return o&&1==i||1==a?"one":o&&2==i||2==a?"two":o&&(3==i||4==i)||3==a||4==a?"few":"other"},hu:gt,hy:function(e){return e>=0&&e<2?"one":"other"},ia:vt,id:bt,ig:wt,ii:xt,io:kt,is:function(e){var t=String(e).split("."),r=t[0],n=(t[1]||"").replace(/0+$/,""),o=Number(t[0])==e,i=r.slice(-1),a=r.slice(-2);return o&&1==i&&11!=a||n%10==1&&n%100!=11?"one":"other"},it:function(e){var t=String(e).split("."),r=t[0],n=!t[1],o=r.slice(-6);return 1==e&&n?"one":0!=r&&0==o&&n?"many":"other"},iu:St,ja:Ft,jbo:Ot,jgo:Et,jmc:jt,jv:At,jw:Dt,ka:_t,kab:function(e){return e>=0&&e<2?"one":"other"},kaj:Tt,kcg:Nt,kde:Pt,kea:Ct,kk:Rt,kkj:Bt,kl:Lt,km:It,kn:Mt,ko:zt,ks:Ut,ksb:qt,ksh:function(e){return 0==e?"zero":1==e?"one":"other"},ku:Ht,kw:function(e){var t=String(e).split("."),r=Number(t[0])==e,n=r&&t[0].slice(-2),o=r&&t[0].slice(-3),i=r&&t[0].slice(-5),a=r&&t[0].slice(-6);return 0==e?"zero":1==e?"one":2==n||22==n||42==n||62==n||82==n||r&&0==o&&(i>=1e3&&i<=2e4||4e4==i||6e4==i||8e4==i)||0!=e&&1e5==a?"two":3==n||23==n||43==n||63==n||83==n?"few":1==e||1!=n&&21!=n&&41!=n&&61!=n&&81!=n?"other":"many"},ky:Jt,lag:function(e){var t=String(e).split(".")[0];return 0==e?"zero":0!=t&&1!=t||0==e?"other":"one"},lb:Wt,lg:Kt,lij:Gt,lkt:$t,ln:Zt,lo:Vt,lt:function(e){var t=String(e).split("."),r=t[1]||"",n=Number(t[0])==e,o=n&&t[0].slice(-1),i=n&&t[0].slice(-2);return 1==o&&(i<11||i>19)?"one":o>=2&&o<=9&&(i<11||i>19)?"few":0!=r?"many":"other"},lv:function(e){var t=String(e).split("."),r=t[1]||"",n=r.length,o=Number(t[0])==e,i=o&&t[0].slice(-1),a=o&&t[0].slice(-2),u=r.slice(-2),s=r.slice(-1);return o&&0==i||a>=11&&a<=19||2==n&&u>=11&&u<=19?"zero":1==i&&11!=a||2==n&&1==s&&11!=u||2!=n&&1==s?"one":"other"},mas:Xt,mg:Yt,mgo:Qt,mk:function(e){var t=String(e).split("."),r=t[0],n=t[1]||"",o=!t[1],i=r.slice(-1),a=r.slice(-2),u=n.slice(-1),s=n.slice(-2);return o&&1==i&&11!=a||1==u&&11!=s?"one":"other"},ml:er,mn:tr,mo:function(e){var t=String(e).split("."),r=!t[1],n=Number(t[0])==e&&t[0].slice(-2);return 1==e&&r?"one":!r||0==e||1!=e&&n>=1&&n<=19?"few":"other"},mr:rr,ms:nr,mt:function(e){var t=String(e).split("."),r=Number(t[0])==e&&t[0].slice(-2);return 1==e?"one":2==e?"two":0==e||r>=3&&r<=10?"few":r>=11&&r<=19?"many":"other"},my:or,nah:ir,naq:ar,nb:ur,nd:sr,ne:cr,nl:lr,nn:fr,nnh:hr,no:pr,nqo:dr,nr:yr,nso:mr,ny:gr,nyn:vr,om:br,or:wr,os:xr,osa:kr,pa:Sr,pap:Fr,pcm:Or,pl:function(e){var t=String(e).split("."),r=t[0],n=!t[1],o=r.slice(-1),i=r.slice(-2);return 1==e&&n?"one":n&&o>=2&&o<=4&&(i<12||i>14)?"few":n&&1!=r&&(0==o||1==o)||n&&o>=5&&o<=9||n&&i>=12&&i<=14?"many":"other"},prg:function(e){var t=String(e).split("."),r=t[1]||"",n=r.length,o=Number(t[0])==e,i=o&&t[0].slice(-1),a=o&&t[0].slice(-2),u=r.slice(-2),s=r.slice(-1);return o&&0==i||a>=11&&a<=19||2==n&&u>=11&&u<=19?"zero":1==i&&11!=a||2==n&&1==s&&11!=u||2!=n&&1==s?"one":"other"},ps:Er,pt:function(e){var t=String(e).split("."),r=t[0],n=!t[1],o=r.slice(-6);return 0==r||1==r?"one":0!=r&&0==o&&n?"many":"other"},pt_PT:function(e){var t=String(e).split("."),r=t[0],n=!t[1],o=r.slice(-6);return 1==e&&n?"one":0!=r&&0==o&&n?"many":"other"},rm:jr,ro:function(e){var t=String(e).split("."),r=!t[1],n=Number(t[0])==e&&t[0].slice(-2);return 1==e&&r?"one":!r||0==e||1!=e&&n>=1&&n<=19?"few":"other"},rof:Ar,ru:function(e){var t=String(e).split("."),r=t[0],n=!t[1],o=r.slice(-1),i=r.slice(-2);return n&&1==o&&11!=i?"one":n&&o>=2&&o<=4&&(i<12||i>14)?"few":n&&0==o||n&&o>=5&&o<=9||n&&i>=11&&i<=14?"many":"other"},rwk:Dr,sah:_r,saq:Tr,sat:Nr,sc:Pr,scn:Cr,sd:Rr,sdh:Br,se:Lr,seh:Ir,ses:Mr,sg:zr,sh:function(e){var t=String(e).split("."),r=t[0],n=t[1]||"",o=!t[1],i=r.slice(-1),a=r.slice(-2),u=n.slice(-1),s=n.slice(-2);return o&&1==i&&11!=a||1==u&&11!=s?"one":o&&i>=2&&i<=4&&(a<12||a>14)||u>=2&&u<=4&&(s<12||s>14)?"few":"other"},shi:function(e){var t=String(e).split("."),r=Number(t[0])==e;return e>=0&&e<=1?"one":r&&e>=2&&e<=10?"few":"other"},si:function(e){var t=String(e).split("."),r=t[0],n=t[1]||"";return 0==e||1==e||0==r&&1==n?"one":"other"},sk:function(e){var t=String(e).split("."),r=t[0],n=!t[1];return 1==e&&n?"one":r>=2&&r<=4&&n?"few":n?"other":"many"},sl:function(e){var t=String(e).split("."),r=t[0],n=!t[1],o=r.slice(-2);return n&&1==o?"one":n&&2==o?"two":n&&(3==o||4==o)||!n?"few":"other"},sma:Ur,smi:qr,smj:Hr,smn:Jr,sms:Wr,sn:Kr,so:Gr,sq:$r,sr:function(e){var t=String(e).split("."),r=t[0],n=t[1]||"",o=!t[1],i=r.slice(-1),a=r.slice(-2),u=n.slice(-1),s=n.slice(-2);return o&&1==i&&11!=a||1==u&&11!=s?"one":o&&i>=2&&i<=4&&(a<12||a>14)||u>=2&&u<=4&&(s<12||s>14)?"few":"other"},ss:Zr,ssy:Vr,st:Xr,su:Yr,sv:Qr,sw:en,syr:tn,ta:rn,te:nn,teo:on,th:an,ti:un,tig:sn,tk:cn,tl:function(e){var t=String(e).split("."),r=t[0],n=t[1]||"",o=!t[1],i=r.slice(-1),a=n.slice(-1);return o&&(1==r||2==r||3==r)||o&&4!=i&&6!=i&&9!=i||!o&&4!=a&&6!=a&&9!=a?"one":"other"},tn:ln,to:fn,tpi:hn,tr:pn,ts:dn,tzm:function(e){var t=String(e).split("."),r=Number(t[0])==e;return 0==e||1==e||r&&e>=11&&e<=99?"one":"other"},ug:yn,uk:function(e){var t=String(e).split("."),r=t[0],n=!t[1],o=r.slice(-1),i=r.slice(-2);return n&&1==o&&11!=i?"one":n&&o>=2&&o<=4&&(i<12||i>14)?"few":n&&0==o||n&&o>=5&&o<=9||n&&i>=11&&i<=14?"many":"other"},und:mn,ur:gn,uz:vn,ve:bn,vec:function(e){var t=String(e).split("."),r=t[0],n=!t[1],o=r.slice(-6);return 1==e&&n?"one":0!=r&&0==o&&n?"many":"other"},vi:wn,vo:xn,vun:kn,wa:Sn,wae:Fn,wo:On,xh:En,xog:jn,yi:An,yo:Dn,yue:_n,zh:Tn,zu:Nn}),Cn="zero",Rn="one",Bn="two",Ln="few",In="many",Mn="other",zn={cardinal:[Rn,Mn],ordinal:[Mn]},Un={cardinal:[Rn,Mn],ordinal:[Rn,Mn]},qn={cardinal:[Mn],ordinal:[Mn]},Hn={cardinal:[Rn,Bn,Mn],ordinal:[Mn]},Jn=zn,Wn=zn,Kn=zn,Gn=zn,$n={cardinal:[Cn,Rn,Bn,Ln,In,Mn],ordinal:[Mn]},Zn={cardinal:[Cn,Rn,Bn,Ln,In,Mn],ordinal:[Mn]},Vn={cardinal:[Rn,Mn],ordinal:[Rn,Bn,Ln,In,Mn]},Xn=zn,Yn=zn,Qn={cardinal:[Rn,Mn],ordinal:[Rn,Ln,In,Mn]},eo=Un,to={cardinal:[Rn,Ln,In,Mn],ordinal:[Ln,Mn]},ro=zn,no=zn,oo=zn,io=zn,ao=qn,uo={cardinal:[Rn,Mn],ordinal:[Rn,Bn,Ln,In,Mn]},so=qn,co={cardinal:[Rn,Bn,Ln,In,Mn],ordinal:[Mn]},lo=zn,fo={cardinal:[Rn,Ln,Mn],ordinal:[Mn]},ho={cardinal:[Rn,In,Mn],ordinal:[Rn,Bn,Ln,Mn]},po=zn,yo=zn,mo=zn,go=zn,vo=zn,bo={cardinal:[Rn,Ln,In,Mn],ordinal:[Mn]},wo={cardinal:[Cn,Rn,Bn,Ln,In,Mn],ordinal:[Cn,Rn,Bn,Ln,In,Mn]},xo=zn,ko=zn,So=zn,Fo={cardinal:[Rn,Bn,Ln,Mn],ordinal:[Mn]},Oo=zn,Eo=qn,jo=zn,Ao=zn,Do={cardinal:[Rn,Mn],ordinal:[Rn,Bn,Ln,Mn]},_o=zn,To={cardinal:[Rn,In,Mn],ordinal:[Mn]},No=zn,Po=zn,Co=zn,Ro=zn,Bo=zn,Lo=Un,Io=zn,Mo={cardinal:[Rn,In,Mn],ordinal:[Rn,Mn]},zo=zn,Uo=zn,qo={cardinal:[Rn,Bn,Ln,In,Mn],ordinal:[Rn,Mn]},Ho={cardinal:[Rn,Bn,Ln,Mn],ordinal:[Rn,Bn,Ln,Mn]},Jo=zn,Wo=zn,Ko={cardinal:[Rn,Mn],ordinal:[Rn,Bn,Ln,In,Mn]},Go=zn,$o={cardinal:[Rn,Bn,Ln,In,Mn],ordinal:[Mn]},Zo=zn,Vo=zn,Xo=Hn,Yo={cardinal:[Rn,Mn],ordinal:[Rn,Bn,Ln,In,Mn]},Qo=qn,ei={cardinal:[Rn,Ln,Mn],ordinal:[Mn]},ti={cardinal:[Rn,Bn,Ln,Mn],ordinal:[Mn]},ri=Un,ni=Un,oi=zn,ii=qn,ai=qn,ui=qn,si=zn,ci=zn,li={cardinal:[Rn,In,Mn],ordinal:[In,Mn]},fi=Hn,hi=qn,pi=qn,di=zn,yi=zn,mi=qn,gi=qn,vi={cardinal:[Rn,Mn],ordinal:[Rn,In,Mn]},bi=zn,wi=zn,xi=zn,ki=qn,Si=qn,Fi={cardinal:[Rn,Mn],ordinal:[In,Mn]},Oi=zn,Ei=zn,ji=qn,Ai=zn,Di=qn,_i=zn,Ti=zn,Ni={cardinal:[Cn,Rn,Mn],ordinal:[Mn]},Pi=zn,Ci={cardinal:[Cn,Rn,Bn,Ln,In,Mn],ordinal:[Rn,In,Mn]},Ri=zn,Bi={cardinal:[Cn,Rn,Mn],ordinal:[Mn]},Li=zn,Ii=zn,Mi={cardinal:[Rn,Mn],ordinal:[In,Mn]},zi=qn,Ui=zn,qi={cardinal:[Mn],ordinal:[Rn,Mn]},Hi={cardinal:[Rn,Ln,In,Mn],ordinal:[Mn]},Ji={cardinal:[Cn,Rn,Mn],ordinal:[Mn]},Wi=zn,Ki=zn,Gi=zn,$i={cardinal:[Rn,Mn],ordinal:[Rn,Bn,In,Mn]},Zi=zn,Vi=zn,Xi={cardinal:[Rn,Ln,Mn],ordinal:[Rn,Mn]},Yi={cardinal:[Rn,Mn],ordinal:[Rn,Bn,Ln,Mn]},Qi={cardinal:[Mn],ordinal:[Rn,Mn]},ea={cardinal:[Rn,Bn,Ln,In,Mn],ordinal:[Mn]},ta=qn,ra=zn,na=Hn,oa=zn,ia=zn,aa=Un,ua=zn,sa=zn,ca=zn,la=zn,fa=qn,ha=zn,pa=zn,da=zn,ya=zn,ma=zn,ga={cardinal:[Rn,Mn],ordinal:[Rn,Bn,Ln,In,Mn]},va=zn,ba=qn,wa=zn,xa=zn,ka=zn,Sa={cardinal:[Rn,Ln,In,Mn],ordinal:[Mn]},Fa={cardinal:[Cn,Rn,Mn],ordinal:[Mn]},Oa=zn,Ea={cardinal:[Rn,In,Mn],ordinal:[Mn]},ja={cardinal:[Rn,In,Mn],ordinal:[Mn]},Aa=zn,Da={cardinal:[Rn,Ln,Mn],ordinal:[Rn,Mn]},_a=zn,Ta={cardinal:[Rn,Ln,In,Mn],ordinal:[Mn]},Na=zn,Pa=qn,Ca=zn,Ra=Hn,Ba={cardinal:[Rn,Mn],ordinal:[In,Mn]},La={cardinal:[Rn,Mn],ordinal:[In,Mn]},Ia=zn,Ma=zn,za=Hn,Ua=zn,qa=qn,Ha=qn,Ja={cardinal:[Rn,Ln,Mn],ordinal:[Mn]},Wa={cardinal:[Rn,Ln,Mn],ordinal:[Mn]},Ka=zn,Ga={cardinal:[Rn,Ln,In,Mn],ordinal:[Mn]},$a={cardinal:[Rn,Bn,Ln,Mn],ordinal:[Mn]},Za=Hn,Va=Hn,Xa=Hn,Ya=Hn,Qa=Hn,eu=zn,tu=zn,ru={cardinal:[Rn,Mn],ordinal:[Rn,In,Mn]},nu={cardinal:[Rn,Ln,Mn],ordinal:[Mn]},ou=zn,iu=zn,au=zn,uu=qn,su=Un,cu=zn,lu=zn,fu=zn,hu=zn,pu=zn,du=qn,yu=zn,mu=zn,gu={cardinal:[Rn,Mn],ordinal:[Ln,Mn]},vu=Un,bu=zn,wu=qn,xu=qn,ku=zn,Su=zn,Fu=zn,Ou=zn,Eu={cardinal:[Rn,Ln,In,Mn],ordinal:[Ln,Mn]},ju=qn,Au=zn,Du=zn,_u=zn,Tu={cardinal:[Rn,In,Mn],ordinal:[In,Mn]},Nu={cardinal:[Mn],ordinal:[Rn,Mn]},Pu=zn,Cu=zn,Ru=zn,Bu=zn,Lu=qn,Iu=zn,Mu=zn,zu=zn,Uu=qn,qu=qn,Hu=qn,Ju=zn,Wu=Object.freeze({__proto__:null,af:Jn,ak:Wn,am:Kn,an:Gn,ar:$n,ars:Zn,as:Vn,asa:Xn,ast:Yn,az:Qn,bal:eo,be:to,bem:ro,bez:no,bg:oo,bho:io,bm:ao,bn:uo,bo:so,br:co,brx:lo,bs:fo,ca:ho,ce:po,ceb:yo,cgg:mo,chr:go,ckb:vo,cs:bo,cy:wo,da:xo,de:ko,doi:So,dsb:Fo,dv:Oo,dz:Eo,ee:jo,el:Ao,en:Do,eo:_o,es:To,et:No,eu:Po,fa:Co,ff:Ro,fi:Bo,fil:Lo,fo:Io,fr:Mo,fur:zo,fy:Uo,ga:qo,gd:Ho,gl:Jo,gsw:Wo,gu:Ko,guw:Go,gv:$o,ha:Zo,haw:Vo,he:Xo,hi:Yo,hnj:Qo,hr:ei,hsb:ti,hu:ri,hy:ni,ia:oi,id:ii,ig:ai,ii:ui,io:si,is:ci,it:li,iu:fi,ja:hi,jbo:pi,jgo:di,jmc:yi,jv:mi,jw:gi,ka:vi,kab:bi,kaj:wi,kcg:xi,kde:ki,kea:Si,kk:Fi,kkj:Oi,kl:Ei,km:ji,kn:Ai,ko:Di,ks:_i,ksb:Ti,ksh:Ni,ku:Pi,kw:Ci,ky:Ri,lag:Bi,lb:Li,lg:Ii,lij:Mi,lkt:zi,ln:Ui,lo:qi,lt:Hi,lv:Ji,mas:Wi,mg:Ki,mgo:Gi,mk:$i,ml:Zi,mn:Vi,mo:Xi,mr:Yi,ms:Qi,mt:ea,my:ta,nah:ra,naq:na,nb:oa,nd:ia,ne:aa,nl:ua,nn:sa,nnh:ca,no:la,nqo:fa,nr:ha,nso:pa,ny:da,nyn:ya,om:ma,or:ga,os:va,osa:ba,pa:wa,pap:xa,pcm:ka,pl:Sa,prg:Fa,ps:Oa,pt:Ea,pt_PT:ja,rm:Aa,ro:Da,rof:_a,ru:Ta,rwk:Na,sah:Pa,saq:Ca,sat:Ra,sc:Ba,scn:La,sd:Ia,sdh:Ma,se:za,seh:Ua,ses:qa,sg:Ha,sh:Ja,shi:Wa,si:Ka,sk:Ga,sl:$a,sma:Za,smi:Va,smj:Xa,smn:Ya,sms:Qa,sn:eu,so:tu,sq:ru,sr:nu,ss:ou,ssy:iu,st:au,su:uu,sv:su,sw:cu,syr:lu,ta:fu,te:hu,teo:pu,th:du,ti:yu,tig:mu,tk:gu,tl:vu,tn:bu,to:wu,tpi:xu,tr:ku,ts:Su,tzm:Fu,ug:Ou,uk:Eu,und:ju,ur:Au,uz:Du,ve:_u,vec:Tu,vi:Nu,vo:Pu,vun:Cu,wa:Ru,wae:Bu,wo:Lu,xh:Iu,xog:Mu,yi:zu,yo:Uu,yue:qu,zh:Hu,zu:Ju}),Ku=function(e,t){return t?"other":1==e?"one":"other"},Gu=function(e,t){return t?"other":0==e||1==e?"one":"other"},$u=function(e,t){return t?"other":e>=0&&e<=1?"one":"other"},Zu=function(e,t){var r=!String(e).split(".")[1];return t?"other":1==e&&r?"one":"other"},Vu=function(e,t){return"other"},Xu=function(e,t){return t?"other":1==e?"one":2==e?"two":"other"},Yu=Ku,Qu=Gu,es=$u,ts=Ku,rs=Ku,ns=Zu,os=Ku,is=Ku,as=Ku,us=Gu,ss=Vu,cs=Vu,ls=Ku,fs=Ku,hs=Ku,ps=Ku,ds=Ku,ys=Zu,ms=$u,gs=Ku,vs=Vu,bs=Ku,ws=Ku,xs=Ku,ks=Zu,Ss=Ku,Fs=$u,Os=Zu,Es=Ku,js=Ku,As=Zu,Ds=Zu,_s=Ku,Ts=Gu,Ns=Ku,Ps=Ku,Cs=Vu,Rs=Zu,Bs=Vu,Ls=Vu,Is=Vu,Ms=Zu,zs=Xu,Us=Vu,qs=Vu,Hs=Ku,Js=Ku,Ws=Vu,Ks=Vu,Gs=Ku,$s=Ku,Zs=Vu,Vs=Vu,Xs=Ku,Ys=Ku,Qs=Vu,ec=$u,tc=Vu,rc=Ku,nc=Ku,oc=Ku,ic=Ku,ac=Ku,uc=Ku,sc=Vu,cc=Gu,lc=Ku,fc=Gu,hc=Ku,pc=Ku,dc=Ku,yc=Vu,mc=Ku,gc=Xu,vc=Ku,bc=Ku,wc=Zu,xc=Ku,kc=Ku,Sc=Ku,Fc=Vu,Oc=Ku,Ec=Gu,jc=Ku,Ac=Ku,Dc=Ku,_c=Ku,Tc=Vu,Nc=Gu,Pc=Ku,Cc=$u,Rc=Ku,Bc=Ku,Lc=Ku,Ic=Ku,Mc=Vu,zc=Ku,Uc=Xu,qc=Ku,Hc=Ku,Jc=Xu,Wc=Ku,Kc=Vu,Gc=Vu,$c=Xu,Zc=Xu,Vc=Xu,Xc=Xu,Yc=Xu,Qc=Ku,el=Ku,tl=Ku,rl=Ku,nl=Ku,ol=Vu,il=Zu,al=Ku,ul=Ku,sl=Ku,cl=Ku,ll=Vu,fl=Gu,hl=Ku,pl=Ku,dl=Vu,yl=Vu,ml=Ku,gl=Ku,vl=Ku,bl=Vu,wl=Zu,xl=Ku,kl=Ku,Sl=Ku,Fl=Ku,Ol=Gu,El=Ku,jl=Vu,Al=Ku,Dl=Ku,_l=Zu,Tl=Vu,Nl=Vu,Pl=Vu,Cl=$u,Rl=Object.freeze({__proto__:null,af:Yu,ak:Qu,am:es,an:ts,ar:function(e,t){var r=String(e).split("."),n=Number(r[0])==e&&r[0].slice(-2);return t?"other":0==e?"zero":1==e?"one":2==e?"two":n>=3&&n<=10?"few":n>=11&&n<=99?"many":"other"},ars:function(e,t){var r=String(e).split("."),n=Number(r[0])==e&&r[0].slice(-2);return t?"other":0==e?"zero":1==e?"one":2==e?"two":n>=3&&n<=10?"few":n>=11&&n<=99?"many":"other"},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":e>=0&&e<=1?"one":"other"},asa:rs,ast:ns,az:function(e,t){var r=String(e).split(".")[0],n=r.slice(-1),o=r.slice(-2),i=r.slice(-3);return t?1==n||2==n||5==n||7==n||8==n||20==o||50==o||70==o||80==o?"one":3==n||4==n||100==i||200==i||300==i||400==i||500==i||600==i||700==i||800==i||900==i?"few":0==r||6==n||40==o||60==o||90==o?"many":"other":1==e?"one":"other"},bal:function(e,t){return 1==e?"one":"other"},be:function(e,t){var r=String(e).split("."),n=Number(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":o>=2&&o<=4&&(i<12||i>14)?"few":n&&0==o||o>=5&&o<=9||i>=11&&i<=14?"many":"other"},bem:os,bez:is,bg:as,bho:us,bm:ss,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":e>=0&&e<=1?"one":"other"},bo:cs,br:function(e,t){var r=String(e).split("."),n=Number(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||i>19)&&(i<70||i>79)&&(i<90||i>99)?"few":0!=e&&n&&0==a?"many":"other"},brx:ls,bs:function(e,t){var r=String(e).split("."),n=r[0],o=r[1]||"",i=!r[1],a=n.slice(-1),u=n.slice(-2),s=o.slice(-1),c=o.slice(-2);return t?"other":i&&1==a&&11!=u||1==s&&11!=c?"one":i&&a>=2&&a<=4&&(u<12||u>14)||s>=2&&s<=4&&(c<12||c>14)?"few":"other"},ca:function(e,t){var r=String(e).split("."),n=r[0],o=!r[1],i=n.slice(-6);return t?1==e||3==e?"one":2==e?"two":4==e?"few":"other":1==e&&o?"one":0!=n&&0==i&&o?"many":"other"},ce:fs,ceb:function(e,t){var r=String(e).split("."),n=r[0],o=r[1]||"",i=!r[1],a=n.slice(-1),u=o.slice(-1);return t?"other":i&&(1==n||2==n||3==n)||i&&4!=a&&6!=a&&9!=a||!i&&4!=u&&6!=u&&9!=u?"one":"other"},cgg:hs,chr:ps,ckb:ds,cs:function(e,t){var r=String(e).split("."),n=r[0],o=!r[1];return t?"other":1==e&&o?"one":n>=2&&n<=4&&o?"few":o?"other":"many"},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=String(e).split("."),n=r[0],o=Number(r[0])==e;return t||1!=e&&(o||0!=n&&1!=n)?"other":"one"},de:ys,doi:ms,dsb:function(e,t){var r=String(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:gs,dz:vs,ee:bs,el:ws,en:function(e,t){var r=String(e).split("."),n=!r[1],o=Number(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:xs,es:function(e,t){var r=String(e).split("."),n=r[0],o=!r[1],i=n.slice(-6);return t?"other":1==e?"one":0!=n&&0==i&&o?"many":"other"},et:ks,eu:Ss,fa:Fs,ff:function(e,t){return t?"other":e>=0&&e<2?"one":"other"},fi:Os,fil:function(e,t){var r=String(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:Es,fr:function(e,t){var r=String(e).split("."),n=r[0],o=!r[1],i=n.slice(-6);return t?1==e?"one":"other":e>=0&&e<2?"one":0!=n&&0==i&&o?"many":"other"},fur:js,fy:As,ga:function(e,t){var r=String(e).split("."),n=Number(r[0])==e;return t?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,t){var r=String(e).split("."),n=Number(r[0])==e;return t?1==e||11==e?"one":2==e||12==e?"two":3==e||13==e?"few":"other":1==e||11==e?"one":2==e||12==e?"two":n&&e>=3&&e<=10||n&&e>=13&&e<=19?"few":"other"},gl:Ds,gsw:_s,gu:function(e,t){return t?1==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other"},guw:Ts,gv:function(e,t){var r=String(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:Ns,haw:Ps,he:function(e,t){var r=String(e).split("."),n=r[0],o=!r[1];return t?"other":1==n&&o||0==n&&!o?"one":2==n&&o?"two":"other"},hi:function(e,t){return t?1==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other"},hnj:Cs,hr:function(e,t){var r=String(e).split("."),n=r[0],o=r[1]||"",i=!r[1],a=n.slice(-1),u=n.slice(-2),s=o.slice(-1),c=o.slice(-2);return t?"other":i&&1==a&&11!=u||1==s&&11!=c?"one":i&&a>=2&&a<=4&&(u<12||u>14)||s>=2&&s<=4&&(c<12||c>14)?"few":"other"},hsb:function(e,t){var r=String(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&&e<2?"one":"other"},ia:Rs,id:Bs,ig:Ls,ii:Is,io:Ms,is:function(e,t){var r=String(e).split("."),n=r[0],o=(r[1]||"").replace(/0+$/,""),i=Number(r[0])==e,a=n.slice(-1),u=n.slice(-2);return t?"other":i&&1==a&&11!=u||o%10==1&&o%100!=11?"one":"other"},it:function(e,t){var r=String(e).split("."),n=r[0],o=!r[1],i=n.slice(-6);return t?11==e||8==e||80==e||800==e?"many":"other":1==e&&o?"one":0!=n&&0==i&&o?"many":"other"},iu:zs,ja:Us,jbo:qs,jgo:Hs,jmc:Js,jv:Ws,jw:Ks,ka:function(e,t){var r=String(e).split(".")[0],n=r.slice(-2);return t?1==r?"one":0==r||n>=2&&n<=20||40==n||60==n||80==n?"many":"other":1==e?"one":"other"},kab:function(e,t){return t?"other":e>=0&&e<2?"one":"other"},kaj:Gs,kcg:$s,kde:Zs,kea:Vs,kk:function(e,t){var r=String(e).split("."),n=Number(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:Xs,kl:Ys,km:Qs,kn:ec,ko:tc,ks:rc,ksb:nc,ksh:function(e,t){return t?"other":0==e?"zero":1==e?"one":"other"},ku:oc,kw:function(e,t){var r=String(e).split("."),n=Number(r[0])==e,o=n&&r[0].slice(-2),i=n&&r[0].slice(-3),a=n&&r[0].slice(-5),u=n&&r[0].slice(-6);return t?n&&e>=1&&e<=4||o>=1&&o<=4||o>=21&&o<=24||o>=41&&o<=44||o>=61&&o<=64||o>=81&&o<=84?"one":5==e||5==o?"many":"other":0==e?"zero":1==e?"one":2==o||22==o||42==o||62==o||82==o||n&&0==i&&(a>=1e3&&a<=2e4||4e4==a||6e4==a||8e4==a)||0!=e&&1e5==u?"two":3==o||23==o||43==o||63==o||83==o?"few":1==e||1!=o&&21!=o&&41!=o&&61!=o&&81!=o?"other":"many"},ky:ic,lag:function(e,t){var r=String(e).split(".")[0];return t?"other":0==e?"zero":0!=r&&1!=r||0==e?"other":"one"},lb:ac,lg:uc,lij:function(e,t){var r=String(e).split("."),n=!r[1],o=Number(r[0])==e;return t?11==e||8==e||o&&e>=80&&e<=89||o&&e>=800&&e<=899?"many":"other":1==e&&n?"one":"other"},lkt:sc,ln:cc,lo:function(e,t){return t&&1==e?"one":"other"},lt:function(e,t){var r=String(e).split("."),n=r[1]||"",o=Number(r[0])==e,i=o&&r[0].slice(-1),a=o&&r[0].slice(-2);return t?"other":1==i&&(a<11||a>19)?"one":i>=2&&i<=9&&(a<11||a>19)?"few":0!=n?"many":"other"},lv:function(e,t){var r=String(e).split("."),n=r[1]||"",o=n.length,i=Number(r[0])==e,a=i&&r[0].slice(-1),u=i&&r[0].slice(-2),s=n.slice(-2),c=n.slice(-1);return t?"other":i&&0==a||u>=11&&u<=19||2==o&&s>=11&&s<=19?"zero":1==a&&11!=u||2==o&&1==c&&11!=s||2!=o&&1==c?"one":"other"},mas:lc,mg:fc,mgo:hc,mk:function(e,t){var r=String(e).split("."),n=r[0],o=r[1]||"",i=!r[1],a=n.slice(-1),u=n.slice(-2),s=o.slice(-1),c=o.slice(-2);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&&11!=u||1==s&&11!=c?"one":"other"},ml:pc,mn:dc,mo:function(e,t){var r=String(e).split("."),n=!r[1],o=Number(r[0])==e&&r[0].slice(-2);return t?1==e?"one":"other":1==e&&n?"one":!n||0==e||1!=e&&o>=1&&o<=19?"few":"other"},mr:function(e,t){return t?1==e?"one":2==e||3==e?"two":4==e?"few":"other":1==e?"one":"other"},ms:function(e,t){return t&&1==e?"one":"other"},mt:function(e,t){var r=String(e).split("."),n=Number(r[0])==e&&r[0].slice(-2);return t?"other":1==e?"one":2==e?"two":0==e||n>=3&&n<=10?"few":n>=11&&n<=19?"many":"other"},my:yc,nah:mc,naq:gc,nb:vc,nd:bc,ne:function(e,t){var r=String(e).split("."),n=Number(r[0])==e;return t?n&&e>=1&&e<=4?"one":"other":1==e?"one":"other"},nl:wc,nn:xc,nnh:kc,no:Sc,nqo:Fc,nr:Oc,nso:Ec,ny:jc,nyn:Ac,om:Dc,or:function(e,t){var r=String(e).split("."),n=Number(r[0])==e;return t?1==e||5==e||n&&e>=7&&e<=9?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":1==e?"one":"other"},os:_c,osa:Tc,pa:Nc,pap:Pc,pcm:Cc,pl:function(e,t){var r=String(e).split("."),n=r[0],o=!r[1],i=n.slice(-1),a=n.slice(-2);return t?"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,t){var r=String(e).split("."),n=r[1]||"",o=n.length,i=Number(r[0])==e,a=i&&r[0].slice(-1),u=i&&r[0].slice(-2),s=n.slice(-2),c=n.slice(-1);return t?"other":i&&0==a||u>=11&&u<=19||2==o&&s>=11&&s<=19?"zero":1==a&&11!=u||2==o&&1==c&&11!=s||2!=o&&1==c?"one":"other"},ps:Rc,pt:function(e,t){var r=String(e).split("."),n=r[0],o=!r[1],i=n.slice(-6);return t?"other":0==n||1==n?"one":0!=n&&0==i&&o?"many":"other"},pt_PT:function(e,t){var r=String(e).split("."),n=r[0],o=!r[1],i=n.slice(-6);return t?"other":1==e&&o?"one":0!=n&&0==i&&o?"many":"other"},rm:Bc,ro:function(e,t){var r=String(e).split("."),n=!r[1],o=Number(r[0])==e&&r[0].slice(-2);return t?1==e?"one":"other":1==e&&n?"one":!n||0==e||1!=e&&o>=1&&o<=19?"few":"other"},rof:Lc,ru:function(e,t){var r=String(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&&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:Ic,sah:Mc,saq:zc,sat:Uc,sc:function(e,t){var r=!String(e).split(".")[1];return t?11==e||8==e||80==e||800==e?"many":"other":1==e&&r?"one":"other"},scn:function(e,t){var r=!String(e).split(".")[1];return t?11==e||8==e||80==e||800==e?"many":"other":1==e&&r?"one":"other"},sd:qc,sdh:Hc,se:Jc,seh:Wc,ses:Kc,sg:Gc,sh:function(e,t){var r=String(e).split("."),n=r[0],o=r[1]||"",i=!r[1],a=n.slice(-1),u=n.slice(-2),s=o.slice(-1),c=o.slice(-2);return t?"other":i&&1==a&&11!=u||1==s&&11!=c?"one":i&&a>=2&&a<=4&&(u<12||u>14)||s>=2&&s<=4&&(c<12||c>14)?"few":"other"},shi:function(e,t){var r=String(e).split("."),n=Number(r[0])==e;return t?"other":e>=0&&e<=1?"one":n&&e>=2&&e<=10?"few":"other"},si:function(e,t){var r=String(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=String(e).split("."),n=r[0],o=!r[1];return t?"other":1==e&&o?"one":n>=2&&n<=4&&o?"few":o?"other":"many"},sl:function(e,t){var r=String(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:$c,smi:Zc,smj:Vc,smn:Xc,sms:Yc,sn:Qc,so:el,sq:function(e,t){var r=String(e).split("."),n=Number(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=String(e).split("."),n=r[0],o=r[1]||"",i=!r[1],a=n.slice(-1),u=n.slice(-2),s=o.slice(-1),c=o.slice(-2);return t?"other":i&&1==a&&11!=u||1==s&&11!=c?"one":i&&a>=2&&a<=4&&(u<12||u>14)||s>=2&&s<=4&&(c<12||c>14)?"few":"other"},ss:tl,ssy:rl,st:nl,su:ol,sv:function(e,t){var r=String(e).split("."),n=!r[1],o=Number(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:il,syr:al,ta:ul,te:sl,teo:cl,th:ll,ti:fl,tig:hl,tk:function(e,t){var r=String(e).split("."),n=Number(r[0])==e&&r[0].slice(-1);return t?6==n||9==n||10==e?"few":"other":1==e?"one":"other"},tl:function(e,t){var r=String(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:pl,to:dl,tpi:yl,tr:ml,ts:gl,tzm:function(e,t){var r=String(e).split("."),n=Number(r[0])==e;return t?"other":0==e||1==e||n&&e>=11&&e<=99?"one":"other"},ug:vl,uk:function(e,t){var r=String(e).split("."),n=r[0],o=!r[1],i=Number(r[0])==e,a=i&&r[0].slice(-1),u=i&&r[0].slice(-2),s=n.slice(-1),c=n.slice(-2);return t?3==a&&13!=u?"few":"other":o&&1==s&&11!=c?"one":o&&s>=2&&s<=4&&(c<12||c>14)?"few":o&&0==s||o&&s>=5&&s<=9||o&&c>=11&&c<=14?"many":"other"},und:bl,ur:wl,uz:xl,ve:kl,vec:function(e,t){var r=String(e).split("."),n=r[0],o=!r[1],i=n.slice(-6);return t?11==e||8==e||80==e||800==e?"many":"other":1==e&&o?"one":0!=n&&0==i&&o?"many":"other"},vi:function(e,t){return t&&1==e?"one":"other"},vo:Sl,vun:Fl,wa:Ol,wae:El,wo:jl,xh:Al,xog:Dl,yi:_l,yo:Tl,yue:Nl,zh:Pl,zu:Cl});function Bl(e){if("string"!=typeof e||e.length<2)throw new RangeError("Invalid language tag: ".concat(e));if(e.startsWith("pt-PT"))return"pt-PT";var t=e.match(/.+?(?=[-_])/);return t?t[0]:e}function Ll(e){if("function"==typeof e){var t=Bl(e.name);return{isDefault:!1,id:ye(t),lc:t,locale:e.name,getPlural:e,cardinals:e.cardinals||[],ordinals:e.ordinals||[]}}var r=Bl(e),n=ye(r);return function(e){return e in Rl}(n)?{isDefault:!0,id:n,lc:r,locale:e,getCardinal:Pn[n],getPlural:Rl[n],cardinals:Wu[n].cardinal,ordinals:Wu[n].ordinal}:null}function Il(e){return ye(Bl(e))in Rl}return function(){function r(e,t){if(this.plurals=[],this.options=Object.assign({biDiSupport:!1,currency:"USD",customFormatters:{},localeCodeFromKey:null,requireAllArguments:!1,returnType:"string",strict:t&&t.strictNumberSign||!1,strictPluralKeys:!0},t),"*"===e?this.plurals=(o=r.defaultLocale,(i=Object.keys(Rl).filter((function(e){return e!==o}))).unshift(o),i.map(Ll)):Array.isArray(e)?this.plurals=e.map(Ll).filter(Boolean):e&&(n=Ll(e))&&(this.plurals=[n]),0===this.plurals.length){var n=Ll(r.defaultLocale);this.plurals=[n]}var o,i}return r.escape=function(e,t){var r=t?/[#{}]/g:/[{}]/g;return String(e).replace(r,"'$&'")},r.supportedLocalesOf=function(e){return(Array.isArray(e)?e:[e]).filter(Il)},r.prototype.resolvedOptions=function(){return e(e({},this.options),{locale:this.plurals[0].locale,plurals:this.plurals})},r.prototype.compile=function(e){var r,i,a=new be(this.options),u="return "+a.compile(e,this.plurals[0]),s=[],c=[];try{for(var l=t(Object.entries(a.runtime)),f=l.next();!f.done;f=l.next()){var h=n(f.value,2),p=h[0],d=h[1];s.push(p),c.push(d)}}catch(e){r={error:e}}finally{try{f&&!f.done&&(i=l.return)&&i.call(l)}finally{if(r)throw r.error}}return(new(Function.bind.apply(Function,o(o([void 0],n(s),!1),[u],!1)))).apply(void 0,o([],n(c),!1))},r.defaultLocale="en",r}()}()},487:function(e){var t={utf8:{stringToBytes:function(e){return t.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(t.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],r=0;r<e.length;r++)t.push(255&e.charCodeAt(r));return t},bytesToString:function(e){for(var t=[],r=0;r<e.length;r++)t.push(String.fromCharCode(e[r]));return t.join("")}}};e.exports=t},12:function(e){var t,r;t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&r.rotl(e,8)|4278255360&r.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=r.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],r=0,n=0;r<e.length;r++,n+=8)t[n>>>5]|=e[r]<<24-n%32;return t},wordsToBytes:function(e){for(var t=[],r=0;r<32*e.length;r+=8)t.push(e[r>>>5]>>>24-r%32&255);return t},bytesToHex:function(e){for(var t=[],r=0;r<e.length;r++)t.push((e[r]>>>4).toString(16)),t.push((15&e[r]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],r=0;r<e.length;r+=2)t.push(parseInt(e.substr(r,2),16));return t},bytesToBase64:function(e){for(var r=[],n=0;n<e.length;n+=3)for(var o=e[n]<<16|e[n+1]<<8|e[n+2],i=0;i<4;i++)8*n+6*i<=8*e.length?r.push(t.charAt(o>>>6*(3-i)&63)):r.push("=");return r.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var r=[],n=0,o=0;n<e.length;o=++n%4)0!=o&&r.push((t.indexOf(e.charAt(n-1))&Math.pow(2,-2*o+8)-1)<<2*o|t.indexOf(e.charAt(n))>>>6-2*o);return r}},e.exports=r},738:function(e){function t(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}e.exports=function(e){return null!=e&&(t(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&t(e.slice(0,0))}(e)||!!e._isBuffer)}},568:function(e,t,r){var n,o,i,a,u;n=r(12),o=r(487).utf8,i=r(738),a=r(487).bin,(u=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?a.stringToBytes(e):o.stringToBytes(e):i(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var r=n.bytesToWords(e),s=8*e.length,c=1732584193,l=-271733879,f=-1732584194,h=271733878,p=0;p<r.length;p++)r[p]=16711935&(r[p]<<8|r[p]>>>24)|4278255360&(r[p]<<24|r[p]>>>8);r[s>>>5]|=128<<s%32,r[14+(s+64>>>9<<4)]=s;var d=u._ff,y=u._gg,m=u._hh,g=u._ii;for(p=0;p<r.length;p+=16){var v=c,b=l,w=f,x=h;c=d(c,l,f,h,r[p+0],7,-680876936),h=d(h,c,l,f,r[p+1],12,-389564586),f=d(f,h,c,l,r[p+2],17,606105819),l=d(l,f,h,c,r[p+3],22,-1044525330),c=d(c,l,f,h,r[p+4],7,-176418897),h=d(h,c,l,f,r[p+5],12,1200080426),f=d(f,h,c,l,r[p+6],17,-1473231341),l=d(l,f,h,c,r[p+7],22,-45705983),c=d(c,l,f,h,r[p+8],7,1770035416),h=d(h,c,l,f,r[p+9],12,-1958414417),f=d(f,h,c,l,r[p+10],17,-42063),l=d(l,f,h,c,r[p+11],22,-1990404162),c=d(c,l,f,h,r[p+12],7,1804603682),h=d(h,c,l,f,r[p+13],12,-40341101),f=d(f,h,c,l,r[p+14],17,-1502002290),c=y(c,l=d(l,f,h,c,r[p+15],22,1236535329),f,h,r[p+1],5,-165796510),h=y(h,c,l,f,r[p+6],9,-1069501632),f=y(f,h,c,l,r[p+11],14,643717713),l=y(l,f,h,c,r[p+0],20,-373897302),c=y(c,l,f,h,r[p+5],5,-701558691),h=y(h,c,l,f,r[p+10],9,38016083),f=y(f,h,c,l,r[p+15],14,-660478335),l=y(l,f,h,c,r[p+4],20,-405537848),c=y(c,l,f,h,r[p+9],5,568446438),h=y(h,c,l,f,r[p+14],9,-1019803690),f=y(f,h,c,l,r[p+3],14,-187363961),l=y(l,f,h,c,r[p+8],20,1163531501),c=y(c,l,f,h,r[p+13],5,-1444681467),h=y(h,c,l,f,r[p+2],9,-51403784),f=y(f,h,c,l,r[p+7],14,1735328473),c=m(c,l=y(l,f,h,c,r[p+12],20,-1926607734),f,h,r[p+5],4,-378558),h=m(h,c,l,f,r[p+8],11,-2022574463),f=m(f,h,c,l,r[p+11],16,1839030562),l=m(l,f,h,c,r[p+14],23,-35309556),c=m(c,l,f,h,r[p+1],4,-1530992060),h=m(h,c,l,f,r[p+4],11,1272893353),f=m(f,h,c,l,r[p+7],16,-155497632),l=m(l,f,h,c,r[p+10],23,-1094730640),c=m(c,l,f,h,r[p+13],4,681279174),h=m(h,c,l,f,r[p+0],11,-358537222),f=m(f,h,c,l,r[p+3],16,-722521979),l=m(l,f,h,c,r[p+6],23,76029189),c=m(c,l,f,h,r[p+9],4,-640364487),h=m(h,c,l,f,r[p+12],11,-421815835),f=m(f,h,c,l,r[p+15],16,530742520),c=g(c,l=m(l,f,h,c,r[p+2],23,-995338651),f,h,r[p+0],6,-198630844),h=g(h,c,l,f,r[p+7],10,1126891415),f=g(f,h,c,l,r[p+14],15,-1416354905),l=g(l,f,h,c,r[p+5],21,-57434055),c=g(c,l,f,h,r[p+12],6,1700485571),h=g(h,c,l,f,r[p+3],10,-1894986606),f=g(f,h,c,l,r[p+10],15,-1051523),l=g(l,f,h,c,r[p+1],21,-2054922799),c=g(c,l,f,h,r[p+8],6,1873313359),h=g(h,c,l,f,r[p+15],10,-30611744),f=g(f,h,c,l,r[p+6],15,-1560198380),l=g(l,f,h,c,r[p+13],21,1309151649),c=g(c,l,f,h,r[p+4],6,-145523070),h=g(h,c,l,f,r[p+11],10,-1120210379),f=g(f,h,c,l,r[p+2],15,718787259),l=g(l,f,h,c,r[p+9],21,-343485551),c=c+v>>>0,l=l+b>>>0,f=f+w>>>0,h=h+x>>>0}return n.endian([c,l,f,h])})._ff=function(e,t,r,n,o,i,a){var u=e+(t&r|~t&n)+(o>>>0)+a;return(u<<i|u>>>32-i)+t},u._gg=function(e,t,r,n,o,i,a){var u=e+(t&n|r&~n)+(o>>>0)+a;return(u<<i|u>>>32-i)+t},u._hh=function(e,t,r,n,o,i,a){var u=e+(t^r^n)+(o>>>0)+a;return(u<<i|u>>>32-i)+t},u._ii=function(e,t,r,n,o,i,a){var u=e+(r^(t|~n))+(o>>>0)+a;return(u<<i|u>>>32-i)+t},u._blocksize=16,u._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var r=n.wordsToBytes(u(e,t));return t&&t.asBytes?r:t&&t.asString?a.bytesToString(r):n.bytesToHex(r)}},61:function(e,t,r){var n=r(698).default;function o(){"use strict";e.exports=o=function(){return r},e.exports.__esModule=!0,e.exports.default=e.exports;var t,r={},i=Object.prototype,a=i.hasOwnProperty,u=Object.defineProperty||function(e,t,r){e[t]=r.value},s="function"==typeof Symbol?Symbol:{},c=s.iterator||"@@iterator",l=s.asyncIterator||"@@asyncIterator",f=s.toStringTag||"@@toStringTag";function h(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{h({},"")}catch(t){h=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var o=t&&t.prototype instanceof w?t:w,i=Object.create(o.prototype),a=new P(n||[]);return u(i,"_invoke",{value:D(e,r,a)}),i}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}r.wrap=p;var y="suspendedStart",m="suspendedYield",g="executing",v="completed",b={};function w(){}function x(){}function k(){}var S={};h(S,c,(function(){return this}));var F=Object.getPrototypeOf,O=F&&F(F(C([])));O&&O!==i&&a.call(O,c)&&(S=O);var E=k.prototype=w.prototype=Object.create(S);function j(e){["next","throw","return"].forEach((function(t){h(e,t,(function(e){return this._invoke(t,e)}))}))}function A(e,t){function r(o,i,u,s){var c=d(e[o],e,i);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"==n(f)&&a.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,u,s)}),(function(e){r("throw",e,u,s)})):t.resolve(f).then((function(e){l.value=e,u(l)}),(function(e){return r("throw",e,u,s)}))}s(c.arg)}var o;u(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}})}function D(e,r,n){var o=y;return function(i,a){if(o===g)throw new Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var s=_(u,n);if(s){if(s===b)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=g;var c=d(e,r,n);if("normal"===c.type){if(o=n.done?v:m,c.arg===b)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=v,n.method="throw",n.arg=c.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var i=d(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,b;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function T(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function N(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[c];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(a.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(n(e)+" is not iterable")}return x.prototype=k,u(E,"constructor",{value:k,configurable:!0}),u(k,"constructor",{value:x,configurable:!0}),x.displayName=h(k,f,"GeneratorFunction"),r.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===x||"GeneratorFunction"===(t.displayName||t.name))},r.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,k):(e.__proto__=k,h(e,f,"GeneratorFunction")),e.prototype=Object.create(E),e},r.awrap=function(e){return{__await:e}},j(A.prototype),h(A.prototype,l,(function(){return this})),r.AsyncIterator=A,r.async=function(e,t,n,o,i){void 0===i&&(i=Promise);var a=new A(p(e,t,n,o),i);return r.isGeneratorFunction(t)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},j(E),h(E,f,"Generator"),h(E,c,(function(){return this})),h(E,"toString",(function(){return"[object Generator]"})),r.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},r.values=C,P.prototype={constructor:P,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(N),!e)for(var r in this)"t"===r.charAt(0)&&a.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function n(n,o){return u.type="throw",u.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],u=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=a.call(i,"catchLoc"),c=a.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,b):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),N(r),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;N(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),b}},r}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},698:function(e){function t(r){return e.exports=t="function"==typeof Symbol&&"symbol"==g(Symbol.iterator)?function(e){return g(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":g(e)},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},687:function(e,t,r){var n=r(61)();e.exports=n;try{regeneratorRuntime=n}catch(e){"object"==("undefined"==typeof globalThis?"undefined":g(globalThis))?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==("undefined"==typeof globalThis?"undefined":g(globalThis)))return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==("undefined"==typeof window?"undefined":g(window)))return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return function(){"use strict";n.r(o),n.d(o,{FETCHING_LOCALES:function(){return Pt},FETCHING_TRANSLATIONS:function(){return Dt},LOCALES_FETCHED:function(){return Ct},LOCALES_FETCH_FAILED:function(){return Rt},LOCALE_CHANGED:function(){return Nt},MessageFormatRenderer:function(){return rr},PseudoTranslationPolicy:function(){return Yt},SourceErrorPolicy:function(){return er},SourceStringPolicy:function(){return Qt},TRANSLATIONS_FETCHED:function(){return _t},TRANSLATIONS_FETCH_FAILED:function(){return Tt},ThrowErrorPolicy:function(){return tr},createNativeInstance:function(){return nr},escape:function(){return Ot},explodePlurals:function(){return Wt},generateHashedKey:function(){return Ft},generateKey:function(){return St},implodePlurals:function(){return Kt},isPluralized:function(){return Gt},isString:function(){return Et},normalizeLocale:function(){return jt},offEvent:function(){return It},onEvent:function(){return Lt},sendEvent:function(){return Mt},sleep:function(){return At},t:function(){return ir},tx:function(){return or}});var e={};function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function i(e,r){if(e){if("string"==typeof e)return t(e,r);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?t(e,r):void 0}}function a(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||i(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e){return c="function"==typeof Symbol&&"symbol"==g(Symbol.iterator)?function(e){return g(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":g(e)},c(e)}function p(e){var t=function(e,t){if("object"!==c(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==c(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===c(t)?t:String(t)}function d(e,t,r){return(t=p(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function y(e,t,r,n,o,i,a){try{var u=e[i](a),s=u.value}catch(e){return void r(e)}u.done?t(s):Promise.resolve(s).then(n,o)}function m(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){y(i,n,o,a,u,"next",e)}function u(e){y(i,n,o,a,u,"throw",e)}a(void 0)}))}}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,p(n.key),n)}}function x(e,t,r){return t&&w(e.prototype,t),r&&w(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}n.r(e),n.d(e,{hasBrowserEnv:function(){return Fe},hasStandardBrowserEnv:function(){return Oe},hasStandardBrowserWebWorkerEnv:function(){return Ee}});var k=n(687),S=n.n(k);function F(e,t){return function(){return e.apply(t,arguments)}}var O,E=Object.prototype.toString,j=Object.getPrototypeOf,A=(O=Object.create(null),function(e){var t=E.call(e);return O[t]||(O[t]=t.slice(8,-1).toLowerCase())}),D=function(e){return e=e.toLowerCase(),function(t){return A(t)===e}},_=function(e){return function(t){return g(t)===e}},T=Array.isArray,N=_("undefined"),P=D("ArrayBuffer"),C=_("string"),R=_("function"),B=_("number"),L=function(e){return null!==e&&"object"==g(e)},I=function(e){if("object"!==A(e))return!1;var t=j(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},M=D("Date"),z=D("File"),U=D("Blob"),q=D("FileList"),H=D("URLSearchParams");function J(e,t){var r,n,o=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).allOwnKeys,i=void 0!==o&&o;if(null!=e)if("object"!=g(e)&&(e=[e]),T(e))for(r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else{var a,u=i?Object.getOwnPropertyNames(e):Object.keys(e),s=u.length;for(r=0;r<s;r++)a=u[r],t.call(null,e[a],a,e)}}function W(e,t){t=t.toLowerCase();for(var r,n=Object.keys(e),o=n.length;o-- >0;)if(t===(r=n[o]).toLowerCase())return r;return null}var K,G="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:r.g,$=function(e){return!N(e)&&e!==G},Z=(K="undefined"!=typeof Uint8Array&&j(Uint8Array),function(e){return K&&e instanceof K}),V=D("HTMLFormElement"),X=function(e){var t=Object.prototype.hasOwnProperty;return function(e,r){return t.call(e,r)}}(),Y=D("RegExp"),Q=function(e,t){var r=Object.getOwnPropertyDescriptors(e),n={};J(r,(function(r,o){var i;!1!==(i=t(r,o,e))&&(n[o]=i||r)})),Object.defineProperties(e,n)},ee="abcdefghijklmnopqrstuvwxyz",te="0123456789",re={DIGIT:te,ALPHA:ee,ALPHA_DIGIT:ee+ee.toUpperCase()+te},ne=D("AsyncFunction"),oe={isArray:T,isArrayBuffer:P,isBuffer:function(e){return null!==e&&!N(e)&&null!==e.constructor&&!N(e.constructor)&&R(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:function(e){var t;return e&&("function"==typeof FormData&&e instanceof FormData||R(e.append)&&("formdata"===(t=A(e))||"object"===t&&R(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&P(e.buffer)},isString:C,isNumber:B,isBoolean:function(e){return!0===e||!1===e},isObject:L,isPlainObject:I,isUndefined:N,isDate:M,isFile:z,isBlob:U,isRegExp:Y,isFunction:R,isStream:function(e){return L(e)&&R(e.pipe)},isURLSearchParams:H,isTypedArray:Z,isFileList:q,forEach:J,merge:function e(){for(var t=($(this)&&this||{}).caseless,r={},n=function(n,o){var i=t&&W(r,o)||o;I(r[i])&&I(n)?r[i]=e(r[i],n):I(n)?r[i]=e({},n):T(n)?r[i]=n.slice():r[i]=n},o=0,i=arguments.length;o<i;o++)arguments[o]&&J(arguments[o],n);return r},extend:function(e,t,r){return J(t,(function(t,n){r&&R(t)?e[n]=F(t,r):e[n]=t}),{allOwnKeys:(arguments.length>3&&void 0!==arguments[3]?arguments[3]:{}).allOwnKeys}),e},trim:function(e){return e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e},inherits:function(e,t,r,n){e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject:function(e,t,r,n){var o,i,a,u={};if(t=t||{},null==e)return t;do{for(i=(o=Object.getOwnPropertyNames(e)).length;i-- >0;)a=o[i],n&&!n(a,e,t)||u[a]||(t[a]=e[a],u[a]=!0);e=!1!==r&&j(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:A,kindOfTest:D,endsWith:function(e,t,r){e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;var n=e.indexOf(t,r);return-1!==n&&n===r},toArray:function(e){if(!e)return null;if(T(e))return e;var t=e.length;if(!B(t))return null;for(var r=new Array(t);t-- >0;)r[t]=e[t];return r},forEachEntry:function(e,t){for(var r,n=(e&&e[Symbol.iterator]).call(e);(r=n.next())&&!r.done;){var o=r.value;t.call(e,o[0],o[1])}},matchAll:function(e,t){for(var r,n=[];null!==(r=e.exec(t));)n.push(r);return n},isHTMLForm:V,hasOwnProperty:X,hasOwnProp:X,reduceDescriptors:Q,freezeMethods:function(e){Q(e,(function(t,r){if(R(e)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;var n=e[r];R(n)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=function(){throw Error("Can not rewrite read-only method '"+r+"'")}))}))},toObjectSet:function(e,t){var r={},n=function(e){e.forEach((function(e){r[e]=!0}))};return T(e)?n(e):n(String(e).split(t)),r},toCamelCase:function(e){return e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,r){return t.toUpperCase()+r}))},noop:function(){},toFiniteNumber:function(e,t){return e=+e,Number.isFinite(e)?e:t},findKey:W,global:G,isContextDefined:$,ALPHABET:re,generateString:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:16,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:re.ALPHA_DIGIT,r="",n=t.length;e--;)r+=t[Math.random()*n|0];return r},isSpecCompliantForm:function(e){return!!(e&&R(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:function(e){var t=new Array(10);return function e(r,n){if(L(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[n]=r;var o=T(r)?[]:{};return J(r,(function(t,r){var i=e(t,n+1);!N(i)&&(o[r]=i)})),t[n]=void 0,o}}return r}(e,0)},isAsyncFn:ne,isThenable:function(e){return e&&(L(e)||R(e))&&R(e.then)&&R(e.catch)}};function ie(e,t,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o)}oe.inherits(ie,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:oe.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var ae=ie.prototype,ue={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((function(e){ue[e]={value:e}})),Object.defineProperties(ie,ue),Object.defineProperty(ae,"isAxiosError",{value:!0}),ie.from=function(e,t,r,n,o,i){var a=Object.create(ae);return oe.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(function(e){return"isAxiosError"!==e})),ie.call(a,e.message,t,r,n,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};var se=ie;function ce(e){return oe.isPlainObject(e)||oe.isArray(e)}function le(e){return oe.endsWith(e,"[]")?e.slice(0,-2):e}function fe(e,t,r){return e?e.concat(t).map((function(e,t){return e=le(e),!r&&t?"["+e+"]":e})).join(r?".":""):t}var he=oe.toFlatObject(oe,{},null,(function(e){return/^is[A-Z]/.test(e)})),pe=function(e,t,r){if(!oe.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;var n=(r=oe.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!oe.isUndefined(t[e])}))).metaTokens,o=r.visitor||c,i=r.dots,a=r.indexes,u=(r.Blob||"undefined"!=typeof Blob&&Blob)&&oe.isSpecCompliantForm(t);if(!oe.isFunction(o))throw new TypeError("visitor must be a function");function s(e){if(null===e)return"";if(oe.isDate(e))return e.toISOString();if(!u&&oe.isBlob(e))throw new se("Blob is not supported. Use a Buffer instead.");return oe.isArrayBuffer(e)||oe.isTypedArray(e)?u&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,r,o){var u=e;if(e&&!o&&"object"==g(e))if(oe.endsWith(r,"{}"))r=n?r:r.slice(0,-2),e=JSON.stringify(e);else if(oe.isArray(e)&&function(e){return oe.isArray(e)&&!e.some(ce)}(e)||(oe.isFileList(e)||oe.endsWith(r,"[]"))&&(u=oe.toArray(e)))return r=le(r),u.forEach((function(e,n){!oe.isUndefined(e)&&null!==e&&t.append(!0===a?fe([r],n,i):null===a?r:r+"[]",s(e))})),!1;return!!ce(e)||(t.append(fe(o,r,i),s(e)),!1)}var l=[],f=Object.assign(he,{defaultVisitor:c,convertValue:s,isVisitable:ce});if(!oe.isObject(e))throw new TypeError("data must be an object");return function e(r,n){if(!oe.isUndefined(r)){if(-1!==l.indexOf(r))throw Error("Circular reference detected in "+n.join("."));l.push(r),oe.forEach(r,(function(r,i){!0===(!(oe.isUndefined(r)||null===r)&&o.call(t,r,oe.isString(i)?i.trim():i,n,f))&&e(r,n?n.concat(i):[i])})),l.pop()}}(e),t};function de(e){var t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function ye(e,t){this._pairs=[],e&&pe(e,this,t)}var me=ye.prototype;me.append=function(e,t){this._pairs.push([e,t])},me.toString=function(e){var t=e?function(t){return e.call(this,t,de)}:de;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var ge=ye;function ve(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function be(e,t,r){if(!t)return e;var n,o=r&&r.encode||ve,i=r&&r.serialize;if(n=i?i(t,r):oe.isURLSearchParams(t)?t.toString():new ge(t,r).toString(o)){var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a)),e+=(-1===e.indexOf("?")?"?":"&")+n}return e}var we,xe=function(){function e(){h(this,e),this.handlers=[]}return f(e,[{key:"use",value:function(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}},{key:"eject",value:function(e){this.handlers[e]&&(this.handlers[e]=null)}},{key:"clear",value:function(){this.handlers&&(this.handlers=[])}},{key:"forEach",value:function(e){oe.forEach(this.handlers,(function(t){null!==t&&e(t)}))}}]),e}(),ke={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Se={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:ge,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},Fe="undefined"!=typeof window&&"undefined"!=typeof document,Oe=(we="undefined"!=typeof navigator&&navigator.product,Fe&&["ReactNative","NativeScript","NS"].indexOf(we)<0),Ee="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,je=b(b({},e),Se),Ae=function(e){function t(e,r,n,o){var i=e[o++],a=Number.isFinite(+i),u=o>=e.length;return i=!i&&oe.isArray(n)?n.length:i,u?(oe.hasOwnProp(n,i)?n[i]=[n[i],r]:n[i]=r,!a):(n[i]&&oe.isObject(n[i])||(n[i]=[]),t(e,r,n[i],o)&&oe.isArray(n[i])&&(n[i]=function(e){var t,r,n={},o=Object.keys(e),i=o.length;for(t=0;t<i;t++)n[r=o[t]]=e[r];return n}(n[i])),!a)}if(oe.isFormData(e)&&oe.isFunction(e.entries)){var r={};return oe.forEachEntry(e,(function(e,n){t(function(e){return oe.matchAll(/\w+|\[(\w*)]/g,e).map((function(e){return"[]"===e[0]?"":e[1]||e[0]}))}(e),n,r,0)})),r}return null},De={transitional:ke,adapter:["xhr","http"],transformRequest:[function(e,t){var r,n=t.getContentType()||"",o=n.indexOf("application/json")>-1,i=oe.isObject(e);if(i&&oe.isHTMLForm(e)&&(e=new FormData(e)),oe.isFormData(e))return o&&o?JSON.stringify(Ae(e)):e;if(oe.isArrayBuffer(e)||oe.isBuffer(e)||oe.isStream(e)||oe.isFile(e)||oe.isBlob(e))return e;if(oe.isArrayBufferView(e))return e.buffer;if(oe.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return pe(e,new je.classes.URLSearchParams,Object.assign({visitor:function(e,t,r,n){return je.isNode&&oe.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((r=oe.isFileList(e))||n.indexOf("multipart/form-data")>-1){var a=this.env&&this.env.FormData;return pe(r?{"files[]":e}:e,a&&new a,this.formSerializer)}}return i||o?(t.setContentType("application/json",!1),function(e,t,r){if(oe.isString(e))try{return(0,JSON.parse)(e),oe.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||De.transitional,r=t&&t.forcedJSONParsing,n="json"===this.responseType;if(e&&oe.isString(e)&&(r&&!this.responseType||n)){var o=!(t&&t.silentJSONParsing)&&n;try{return JSON.parse(e)}catch(e){if(o){if("SyntaxError"===e.name)throw se.from(e,se.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:je.classes.FormData,Blob:je.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};oe.forEach(["delete","get","head","post","put","patch"],(function(e){De.headers[e]={}}));var _e=De,Te=oe.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Ne=Symbol("internals");function Pe(e){return e&&String(e).trim().toLowerCase()}function Ce(e){return!1===e||null==e?e:oe.isArray(e)?e.map(Ce):String(e)}function Re(e,t,r,n,o){return oe.isFunction(n)?n.call(this,t,r):(o&&(t=r),oe.isString(t)?oe.isString(n)?-1!==t.indexOf(n):oe.isRegExp(n)?n.test(t):void 0:void 0)}var Be=function(e,t){function r(e){h(this,r),e&&this.set(e)}return f(r,[{key:"set",value:function(e,t,r){var n=this;function o(e,t,r){var o=Pe(t);if(!o)throw new Error("header name must be a non-empty string");var i=oe.findKey(n,o);(!i||void 0===n[i]||!0===r||void 0===r&&!1!==n[i])&&(n[i||t]=Ce(e))}var i=function(e,t){return oe.forEach(e,(function(e,r){return o(e,r,t)}))};return oe.isPlainObject(e)||e instanceof this.constructor?i(e,t):oe.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim())?i(function(e){var t,r,n,o={};return e&&e.split("\n").forEach((function(e){n=e.indexOf(":"),t=e.substring(0,n).trim().toLowerCase(),r=e.substring(n+1).trim(),!t||o[t]&&Te[t]||("set-cookie"===t?o[t]?o[t].push(r):o[t]=[r]:o[t]=o[t]?o[t]+", "+r:r)})),o}(e),t):null!=e&&o(t,e,r),this}},{key:"get",value:function(e,t){if(e=Pe(e)){var r=oe.findKey(this,e);if(r){var n=this[r];if(!t)return n;if(!0===t)return function(e){for(var t,r=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;t=n.exec(e);)r[t[1]]=t[2];return r}(n);if(oe.isFunction(t))return t.call(this,n,r);if(oe.isRegExp(t))return t.exec(n);throw new TypeError("parser must be boolean|regexp|function")}}}},{key:"has",value:function(e,t){if(e=Pe(e)){var r=oe.findKey(this,e);return!(!r||void 0===this[r]||t&&!Re(0,this[r],r,t))}return!1}},{key:"delete",value:function(e,t){var r=this,n=!1;function o(e){if(e=Pe(e)){var o=oe.findKey(r,e);!o||t&&!Re(0,r[o],o,t)||(delete r[o],n=!0)}}return oe.isArray(e)?e.forEach(o):o(e),n}},{key:"clear",value:function(e){for(var t=Object.keys(this),r=t.length,n=!1;r--;){var o=t[r];e&&!Re(0,this[o],o,e,!0)||(delete this[o],n=!0)}return n}},{key:"normalize",value:function(e){var t=this,r={};return oe.forEach(this,(function(n,o){var i=oe.findKey(r,o);if(i)return t[i]=Ce(n),void delete t[o];var a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(function(e,t,r){return t.toUpperCase()+r}))}(o):String(o).trim();a!==o&&delete t[o],t[a]=Ce(n),r[a]=!0})),this}},{key:"concat",value:function(){for(var e,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return(e=this.constructor).concat.apply(e,[this].concat(r))}},{key:"toJSON",value:function(e){var t=Object.create(null);return oe.forEach(this,(function(r,n){null!=r&&!1!==r&&(t[n]=e&&oe.isArray(r)?r.join(", "):r)})),t}},{key:e,value:function(){return Object.entries(this.toJSON())[Symbol.iterator]()}},{key:"toString",value:function(){return Object.entries(this.toJSON()).map((function(e){var t=l(e,2);return t[0]+": "+t[1]})).join("\n")}},{key:t,get:function(){return"AxiosHeaders"}}],[{key:"from",value:function(e){return e instanceof this?e:new this(e)}},{key:"concat",value:function(e){for(var t=new this(e),r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return n.forEach((function(e){return t.set(e)})),t}},{key:"accessor",value:function(e){var t=(this[Ne]=this[Ne]={accessors:{}}).accessors,r=this.prototype;function n(e){var n=Pe(e);t[n]||(function(e,t){var r=oe.toCamelCase(" "+t);["get","set","has"].forEach((function(n){Object.defineProperty(e,n+r,{value:function(e,r,o){return this[n].call(this,t,e,r,o)},configurable:!0})}))}(r,e),t[n]=!0)}return oe.isArray(e)?e.forEach(n):n(e),this}}]),r}(Symbol.iterator,Symbol.toStringTag);Be.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),oe.reduceDescriptors(Be.prototype,(function(e,t){var r=e.value,n=t[0].toUpperCase()+t.slice(1);return{get:function(){return r},set:function(e){this[n]=e}}})),oe.freezeMethods(Be);var Le=Be;function Ie(e,t){var r=this||_e,n=t||r,o=Le.from(n.headers),i=n.data;return oe.forEach(e,(function(e){i=e.call(r,i,o.normalize(),t?t.status:void 0)})),o.normalize(),i}function Me(e){return!(!e||!e.__CANCEL__)}function ze(e,t,r){se.call(this,null==e?"canceled":e,se.ERR_CANCELED,t,r),this.name="CanceledError"}oe.inherits(ze,se,{__CANCEL__:!0});var Ue=ze,qe=je.hasStandardBrowserEnv?{write:function(e,t,r,n,o,i){var a=[e+"="+encodeURIComponent(t)];oe.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),oe.isString(n)&&a.push("path="+n),oe.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}};function He(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}var Je=je.hasStandardBrowserEnv?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function n(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=n(window.location.href),function(t){var r=oe.isString(t)?n(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0};function We(e,t){var r=0,n=function(e,t){e=e||10;var r,n=new Array(e),o=new Array(e),i=0,a=0;return t=void 0!==t?t:1e3,function(u){var s=Date.now(),c=o[a];r||(r=s),n[i]=u,o[i]=s;for(var l=a,f=0;l!==i;)f+=n[l++],l%=e;if((i=(i+1)%e)===a&&(a=(a+1)%e),!(s-r<t)){var h=c&&s-c;return h?Math.round(1e3*f/h):void 0}}}(50,250);return function(o){var i=o.loaded,a=o.lengthComputable?o.total:void 0,u=i-r,s=n(u);r=i;var c={loaded:i,total:a,progress:a?i/a:void 0,bytes:u,rate:s||void 0,estimated:s&&a&&i<=a?(a-i)/s:void 0,event:o};c[t?"download":"upload"]=!0,e(c)}}var Ke={http:null,xhr:"undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,r){var n,o,i=e.data,a=Le.from(e.headers).normalize(),c=e.responseType,l=e.withXSRFToken;function f(){e.cancelToken&&e.cancelToken.unsubscribe(n),e.signal&&e.signal.removeEventListener("abort",n)}if(oe.isFormData(i))if(je.hasStandardBrowserEnv||je.hasStandardBrowserWebWorkerEnv)a.setContentType(!1);else if(!1!==(o=a.getContentType())){var h=o?o.split(";").map((function(e){return e.trim()})).filter(Boolean):[],p=s(h),d=p[0],y=p.slice(1);a.setContentType([d||"multipart/form-data"].concat(u(y)).join("; "))}var m=new XMLHttpRequest;if(e.auth){var g=e.auth.username||"",v=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";a.set("Authorization","Basic "+btoa(g+":"+v))}var b=He(e.baseURL,e.url);function w(){if(m){var n=Le.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());!function(e,t,r){var n=r.config.validateStatus;r.status&&n&&!n(r.status)?t(new se("Request failed with status code "+r.status,[se.ERR_BAD_REQUEST,se.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):e(r)}((function(e){t(e),f()}),(function(e){r(e),f()}),{data:c&&"text"!==c&&"json"!==c?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:n,config:e,request:m}),m=null}}if(m.open(e.method.toUpperCase(),be(b,e.params,e.paramsSerializer),!0),m.timeout=e.timeout,"onloadend"in m?m.onloadend=w:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(w)},m.onabort=function(){m&&(r(new se("Request aborted",se.ECONNABORTED,e,m)),m=null)},m.onerror=function(){r(new se("Network Error",se.ERR_NETWORK,e,m)),m=null},m.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||ke;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(new se(t,n.clarifyTimeoutError?se.ETIMEDOUT:se.ECONNABORTED,e,m)),m=null},je.hasStandardBrowserEnv&&(l&&oe.isFunction(l)&&(l=l(e)),l||!1!==l&&Je(b))){var x=e.xsrfHeaderName&&e.xsrfCookieName&&qe.read(e.xsrfCookieName);x&&a.set(e.xsrfHeaderName,x)}void 0===i&&a.setContentType(null),"setRequestHeader"in m&&oe.forEach(a.toJSON(),(function(e,t){m.setRequestHeader(t,e)})),oe.isUndefined(e.withCredentials)||(m.withCredentials=!!e.withCredentials),c&&"json"!==c&&(m.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&m.addEventListener("progress",We(e.onDownloadProgress,!0)),"function"==typeof e.onUploadProgress&&m.upload&&m.upload.addEventListener("progress",We(e.onUploadProgress)),(e.cancelToken||e.signal)&&(n=function(t){m&&(r(!t||t.type?new Ue(null,e,m):t),m.abort(),m=null)},e.cancelToken&&e.cancelToken.subscribe(n),e.signal&&(e.signal.aborted?n():e.signal.addEventListener("abort",n)));var k=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(b);k&&-1===je.protocols.indexOf(k)?r(new se("Unsupported protocol "+k+":",se.ERR_BAD_REQUEST,e)):m.send(i||null)}))}};oe.forEach(Ke,(function(e,t){if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));var Ge=function(e){return"- ".concat(e)},$e=function(e){return oe.isFunction(e)||null===e||!1===e},Ze=function(e){for(var t,r,n=(e=oe.isArray(e)?e:[e]).length,o={},i=0;i<n;i++){var a=void 0;if(r=t=e[i],!$e(t)&&void 0===(r=Ke[(a=String(t)).toLowerCase()]))throw new se("Unknown adapter '".concat(a,"'"));if(r)break;o[a||"#"+i]=r}if(!r){var u=Object.entries(o).map((function(e){var t=l(e,2),r=t[0],n=t[1];return"adapter ".concat(r," ")+(!1===n?"is not supported by the environment":"is not available in the build")})),s=n?u.length>1?"since :\n"+u.map(Ge).join("\n"):" "+Ge(u[0]):"as no adapter specified";throw new se("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return r};function Ve(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ue(null,e)}function Xe(e){return Ve(e),e.headers=Le.from(e.headers),e.data=Ie.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Ze(e.adapter||_e.adapter)(e).then((function(t){return Ve(e),t.data=Ie.call(e,e.transformResponse,t),t.headers=Le.from(t.headers),t}),(function(t){return Me(t)||(Ve(e),t&&t.response&&(t.response.data=Ie.call(e,e.transformResponse,t.response),t.response.headers=Le.from(t.response.headers))),Promise.reject(t)}))}var Ye=function(e){return e instanceof Le?e.toJSON():e};function Qe(e,t){t=t||{};var r={};function n(e,t,r){return oe.isPlainObject(e)&&oe.isPlainObject(t)?oe.merge.call({caseless:r},e,t):oe.isPlainObject(t)?oe.merge({},t):oe.isArray(t)?t.slice():t}function o(e,t,r){return oe.isUndefined(t)?oe.isUndefined(e)?void 0:n(void 0,e,r):n(e,t,r)}function i(e,t){if(!oe.isUndefined(t))return n(void 0,t)}function a(e,t){return oe.isUndefined(t)?oe.isUndefined(e)?void 0:n(void 0,e):n(void 0,t)}function u(r,o,i){return i in t?n(r,o):i in e?n(void 0,r):void 0}var s={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:u,headers:function(e,t){return o(Ye(e),Ye(t),!0)}};return oe.forEach(Object.keys(Object.assign({},e,t)),(function(n){var i=s[n]||o,a=i(e[n],t[n],n);oe.isUndefined(a)&&i!==u||(r[n]=a)})),r}var et={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){et[e]=function(r){return g(r)===e||"a"+(t<1?"n ":" ")+e}}));var tt={};et.transitional=function(e,t,r){function n(e,t){return"[Axios v1.6.2] Transitional option '"+e+"'"+t+(r?". "+r:"")}return function(r,o,i){if(!1===e)throw new se(n(o," has been removed"+(t?" in "+t:"")),se.ERR_DEPRECATED);return t&&!tt[o]&&(tt[o]=!0,console.warn(n(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,o,i)}};var rt={assertOptions:function(e,t,r){if("object"!=g(e))throw new se("options must be an object",se.ERR_BAD_OPTION_VALUE);for(var n=Object.keys(e),o=n.length;o-- >0;){var i=n[o],a=t[i];if(a){var u=e[i],s=void 0===u||a(u,i,e);if(!0!==s)throw new se("option "+i+" must be "+s,se.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new se("Unknown option "+i,se.ERR_BAD_OPTION)}},validators:et},nt=rt.validators,ot=function(){function e(t){h(this,e),this.defaults=t,this.interceptors={request:new xe,response:new xe}}return f(e,[{key:"request",value:function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{};var r=t=Qe(this.defaults,t),n=r.transitional,o=r.paramsSerializer,i=r.headers;void 0!==n&&rt.assertOptions(n,{silentJSONParsing:nt.transitional(nt.boolean),forcedJSONParsing:nt.transitional(nt.boolean),clarifyTimeoutError:nt.transitional(nt.boolean)},!1),null!=o&&(oe.isFunction(o)?t.paramsSerializer={serialize:o}:rt.assertOptions(o,{encode:nt.function,serialize:nt.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();var a=i&&oe.merge(i.common,i[t.method]);i&&oe.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete i[e]})),t.headers=Le.concat(a,i);var u=[],s=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,u.unshift(e.fulfilled,e.rejected))}));var c,l=[];this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)}));var f,h=0;if(!s){var p=[Xe.bind(this),void 0];for(p.unshift.apply(p,u),p.push.apply(p,l),f=p.length,c=Promise.resolve(t);h<f;)c=c.then(p[h++],p[h++]);return c}f=u.length;var d=t;for(h=0;h<f;){var y=u[h++],m=u[h++];try{d=y(d)}catch(e){m.call(this,e);break}}try{c=Xe.call(this,d)}catch(e){return Promise.reject(e)}for(h=0,f=l.length;h<f;)c=c.then(l[h++],l[h++]);return c}},{key:"getUri",value:function(e){return be(He((e=Qe(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}]),e}();oe.forEach(["delete","get","head","options"],(function(e){ot.prototype[e]=function(t,r){return this.request(Qe(r||{},{method:e,url:t,data:(r||{}).data}))}})),oe.forEach(["post","put","patch"],(function(e){function t(t){return function(r,n,o){return this.request(Qe(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}ot.prototype[e]=t(),ot.prototype[e+"Form"]=t(!0)}));var it=ot,at=function(){function e(t){if(h(this,e),"function"!=typeof t)throw new TypeError("executor must be a function.");var r;this.promise=new Promise((function(e){r=e}));var n=this;this.promise.then((function(e){if(n._listeners){for(var t=n._listeners.length;t-- >0;)n._listeners[t](e);n._listeners=null}})),this.promise.then=function(e){var t,r=new Promise((function(e){n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},t((function(e,t,o){n.reason||(n.reason=new Ue(e,t,o),r(n.reason))}))}return f(e,[{key:"throwIfRequested",value:function(){if(this.reason)throw this.reason}},{key:"subscribe",value:function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}},{key:"unsubscribe",value:function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}}}],[{key:"source",value:function(){var t;return{token:new e((function(e){t=e})),cancel:t}}}]),e}(),ut=at,st={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(st).forEach((function(e){var t=l(e,2),r=t[0],n=t[1];st[n]=r}));var ct=st,lt=function e(t){var r=new it(t),n=F(it.prototype.request,r);return oe.extend(n,it.prototype,r,{allOwnKeys:!0}),oe.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return e(Qe(t,r))},n}(_e);lt.Axios=it,lt.CanceledError=Ue,lt.CancelToken=ut,lt.isCancel=Me,lt.VERSION="1.6.2",lt.toFormData=pe,lt.AxiosError=se,lt.Cancel=lt.CanceledError,lt.all=function(e){return Promise.all(e)},lt.spread=function(e){return function(t){return e.apply(null,t)}},lt.isAxiosError=function(e){return oe.isObject(e)&&!0===e.isAxiosError},lt.mergeConfig=Qe,lt.AxiosHeaders=Le,lt.formToJSON=function(e){return Ae(oe.isHTMLForm(e)?new FormData(e):e)},lt.getAdapter=Ze,lt.HttpStatusCode=ct,lt.default=lt;var ft=lt;function ht(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function pt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ht(Object(r),!0).forEach((function(t){d(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ht(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var dt=function(){function e(){v(this,e),this.translationsByLocale={}}return x(e,[{key:"update",value:function(e,t){var r=this.translationsByLocale[e]||{};this.translationsByLocale[e]=pt(pt({},r),t)}},{key:"getTranslations",value:function(e){return this.translationsByLocale[e]||{}}},{key:"hasTranslations",value:function(e){return!!this.translationsByLocale[e]}},{key:"isStale",value:function(e){return!this.hasTranslations(e)}},{key:"get",value:function(e,t){return this.getTranslations(t)[e]||""}}]),e}(),yt=function(){function e(){v(this,e)}return x(e,[{key:"handle",value:function(e,t,r,n){return t}}]),e}(),mt=function(){function e(){v(this,e)}return x(e,[{key:"handle",value:function(e,t){return e}}]),e}(),gt=n(160),vt=n.n(gt),bt={},wt=function(){function e(){v(this,e)}return x(e,[{key:"render",value:function(e,t,r){var n=(t||"").split("_")[0];if(!bt[n])try{bt[n]=new(vt())(n,{strictPluralKeys:!1})}catch(e){bt[n]=new(vt())("*",{strictPluralKeys:!1})}return bt[n].compile(e)(r)}}]),e}(),xt=n(568),kt=n.n(xt);function St(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t._key?t._key:t._context?"".concat(e,"::").concat(t._context):"".concat(e)}function Ft(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t._key)return t._key;var r="";return t._context&&(r=(r=t._context).replace(/,/g,":")),kt()("5:".concat(e,":").concat(r))}function Ot(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")}function Et(e){return"[object String]"===Object.prototype.toString.call(e)}function jt(e){var t=e.split("-");return 1===t.length?e:[t[0],t[1].toUpperCase()].join("_")}function At(e){return new Promise((function(t){setTimeout((function(){t()}),e)}))}var Dt="FETCHING_TRANSLATIONS",_t="TRANSLATIONS_FETCHED",Tt="TRANSLATIONS_FETCH_FAILED",Nt="LOCALE_CHANGED",Pt="FETCHING_LOCALES",Ct="LOCALES_FETCHED",Rt="LOCALES_FETCH_FAILED",Bt={};function Lt(e,t){Bt[e]=Bt[e]||[],Bt[e].push(t)}function It(e,t){var r=Bt[e]||[],n=r.indexOf(t);-1!==n&&r.splice(n,1)}function Mt(e,t,r){(Bt[e]||[]).forEach((function(e){e(t,r)}))}function zt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,u=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(u.push(n.value),u.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return u}}(e,t)||i(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ut(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var qt=["zero","one","two","few","many","other"];function Ht(e){var t=e.indexOf("{");if(-1===t)return[null,null];var r=e.substring(0,t).trim();if("="===r[0]){if(r=r.substring(1),Number.isNaN(parseInt(r,10))||parseInt(r,10)!==parseFloat(r))return[null,null];if(r=parseInt(r,10),void 0===(r=qt[r]))return[null,null]}else if(-1===qt.indexOf(r))return[null,null];return[r,e.substring(t)]}function Jt(e){for(var t=0,r=!1,n=0;n<e.length;){var o=e[n];if("'"===o){var i=e[n+1];"'"===i?n+=1:r?r=!1:"{"!==i&&"}"!==i||(r=!0)}else if("{"===o)r||(t+=1);else if("}"===o&&(r||(t-=1),0===t))return[e.substring(1,n),e.substring(n+1).trim()];n+=1}return[null,null]}function Wt(e){var t=[null,{other:e}],r=function(e){if(!(e.length>1&&"{"===e[0]&&"}"===e[e.length-1]))return[null,null];var t=e.indexOf(",");if(-1===t)return[null,null];var r=e.indexOf(",",t+1);if(-1===r)return[null,null];var n=e.substring(1,t).trim(),o=e.substring(t+1,r).trim();return/^[\w_]+$/.test(n)&&"plural"===o?[n,e.substring(r+1,e.length-1).trim()]:[null,null]}(e),n=zt(r,2),o=n[0],i=n[1];if(null==o)return t;var a,u,s={},c=zt(Ht(i),2);if(a=c[0],i=c[1],null==a)return t;var l=zt(Jt(i.trim()),2);if(u=l[0],i=l[1],null==u)return t;for(s[a]=u;i.trim();){var f=zt(Ht(i.trim()),2);if(a=f[0],i=f[1],null==a)return t;var h=zt(Jt(i.trim()),2);if(u=h[0],i=h[1],null==u)return t;s[a]=u}return(1!==Object.keys(s).length||"other"in s)&&"one"in s&&"other"in s?[o,s]:t}function Kt(e){var t,r=["{".concat(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"???",", plural,")],n=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return Ut(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ut(e,t):void 0}}(e))){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}(qt);try{for(n.s();!(t=n.n()).done;){var o=t.value;if(o in e){var i=e[o];r.push(" ".concat(o," {").concat(i,"}"))}}}catch(e){n.e(e)}finally{n.f()}return r.push("}"),r.join("")}function Gt(e){var t=Wt(e)[1];return Object.keys(t).length>1}function $t(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Zt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?$t(Object(r),!0).forEach((function(t){d(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$t(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Vt=function(){function e(){v(this,e),this.cdsHost="https://cds.svc.transifex.net",this.token="",this.secret="",this.filterTags="",this.filterStatus="",this.fetchTimeout=0,this.fetchInterval=250,this.cache=new dt,this.missingPolicy=new mt,this.errorPolicy=new yt,this.stringRenderer=new wt,this.currentLocale="",this.locales=[],this.languages=[],this.childInstances=[]}var t,r,n,o,i,u,s,c;return x(e,[{key:"init",value:function(e){var t=this;["cdsHost","token","secret","cache","filterTags","filterStatus","fetchTimeout","fetchInterval","missingPolicy","errorPolicy","stringRenderer","currentLocale"].forEach((function(r){void 0!==e[r]&&(t[r]=e[r])})),this.fetchedTags={}}},{key:"translate",value:function(e,t){return this.translateLocale(this.currentLocale,e,t)}},{key:"translateLocale",value:function(e,t,r){try{var n=this.cache.get(St(t,r),e);if(n||(n=this.cache.get(Ft(t,r),e)),n&&n.startsWith("{???")&&Gt(t)){var o=t.substring(1,t.indexOf(",")).trim();n="{".concat(o).concat(n.substring(4))}var i=!1;if(n||(i=!0,n=t),r&&r._escapeVars){var a={};Object.keys(r).forEach((function(e){var t=r[e];a[e]=Et(t)?Ot(t):t})),n=this.stringRenderer.render(n,e,a)}else n=this.stringRenderer.render(n,e,r);return i&&e&&(n=this.missingPolicy.handle(n,e)),Et(n)||(n="".concat(n)),n}catch(n){return this.errorPolicy.handle(n,"".concat(t),e,r)}}},{key:"fetchTranslations",value:(c=m(S().mark((function e(t){var r,n,o,i,a,u,s,c,l,f,h=this,p=arguments;return S().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=(r=p.length>1&&void 0!==p[1]?p[1]:{}).filterTags||this.filterTags,r.refresh||this.cache.isStale(t)||!(!n&&this.cache.hasTranslations(t)||n&&-1!==(this.fetchedTags[t]||[]).indexOf(n))){e.next=4;break}return e.abrupt("return");case 4:n&&(t in this.fetchedTags||(this.fetchedTags[t]=[]),-1===this.fetchedTags[t].indexOf(n)&&this.fetchedTags[t].push(n)),o=function(e){return Mt(Tt,{localeCode:t,filterTags:n},h),e},e.prev=6,Mt(Dt,{localeCode:t,filterTags:n},this),a=202,u=Date.now();case 10:if(202!==a){e.next=27;break}return s="".concat(this.cdsHost,"/content/").concat(t),c=[],n&&c.push("filter[tags]=".concat(n)),this.filterStatus&&c.push("filter[status]=".concat(this.filterStatus)),c.length&&(s="".concat(s,"?").concat(c.join("&"))),e.next=18,ft.get(s,{headers:{Authorization:"Bearer ".concat(this.token),"Accept-version":"v2","X-NATIVE-SDK":"txjs/".concat("browser","/").concat("6.0.2")}});case 18:if(i=e.sent,a=i.status,!(this.fetchTimeout>0&&Date.now()-u>=this.fetchTimeout)){e.next=22;break}throw o(new Error("Fetch translations timeout"));case 22:if(!(202===a&&this.fetchInterval>0)){e.next=25;break}return e.next=25,At(this.fetchInterval);case 25:e.next=10;break;case 27:if(!(l=i.data)||!l.data){e.next=35;break}f={},Object.keys(l.data).forEach((function(e){l.data[e].string&&(f[e]=l.data[e].string)})),this.cache.update(t,f),Mt(_t,{localeCode:t,filterTags:n},this),e.next=36;break;case 35:throw o(new Error("Could not fetch translations"));case 36:e.next=41;break;case 38:throw e.prev=38,e.t0=e.catch(6),o(e.t0);case 41:case"end":return e.stop()}}),e,this,[[6,38]])}))),function(e){return c.apply(this,arguments)})},{key:"invalidateCDS",value:(s=m(S().mark((function e(){var t,r,n,o=arguments;return S().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=o.length>0&&void 0!==o[0]?o[0]:{},this.token){e.next=3;break}throw new Error("token is not defined");case 3:if(this.secret){e.next=5;break}throw new Error("secret is not defined");case 5:return r=t.purge?"purge":"invalidate",e.next=8,ft.post("".concat(this.cdsHost,"/").concat(r),{},{headers:{Authorization:"Bearer ".concat(this.token,":").concat(this.secret),"Accept-version":"v2","Content-Type":"application/json;charset=utf-8","X-NATIVE-SDK":"txjs/".concat("browser","/").concat("6.0.2")}});case 8:return n=e.sent,e.abrupt("return",n.data);case 10:case"end":return e.stop()}}),e,this)}))),function(){return s.apply(this,arguments)})},{key:"pushSource",value:(u=m(S().mark((function e(t){var r,n,o,i,a,u,s,c=arguments;return S().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=c.length>1&&void 0!==c[1]?c[1]:{},this.token){e.next=3;break}throw new Error("token is not defined");case 3:if(this.secret){e.next=5;break}throw new Error("secret is not defined");case 5:return n={Authorization:"Bearer ".concat(this.token,":").concat(this.secret),"Accept-version":"v2","Content-Type":"application/json;charset=utf-8","X-NATIVE-SDK":"txjs/".concat("browser","/").concat("6.0.2")},e.next=8,ft.post("".concat(this.cdsHost,"/content"),{data:t,meta:{purge:!!r.purge,override_tags:!!r.overrideTags,override_occurrences:!!r.overrideOccurrences}},{headers:n});case 8:if(o=e.sent,i="".concat(this.cdsHost).concat(o.data.data.links.job),!r.noWait){e.next=12;break}return e.abrupt("return",{jobUrl:i});case 12:a={status:""};case 13:return e.next=15,At(1500);case 15:return e.next=17,ft.get(i,{headers:n});case 17:u=e.sent,s=u.data.data,a=Zt(Zt({},s.details||{}),{},{errors:s.errors||[],status:s.status});case 20:if("pending"===a.status||"processing"===a.status){e.next=13;break}case 21:return e.abrupt("return",Zt({jobUrl:i},a));case 22:case"end":return e.stop()}}),e,this)}))),function(e){return u.apply(this,arguments)})},{key:"getLocales",value:(i=m(S().mark((function e(){var t,r,n,o,i,u=this,s=arguments;return S().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((s.length>0&&void 0!==s[0]?s[0]:{}).refresh||!(this.locales.length>0)){e.next=4;break}return e.abrupt("return",a(this.locales));case 4:if(this.token){e.next=6;break}return e.abrupt("return",[]);case 6:t=function(e){return Mt(Rt,null,u),e},e.prev=7,Mt(Pt,null,this),n=202,o=Date.now();case 11:if(202!==n){e.next=23;break}return e.next=14,ft.get("".concat(this.cdsHost,"/languages"),{headers:{Authorization:"Bearer ".concat(this.token),"Accept-version":"v2","X-NATIVE-SDK":"txjs/".concat("browser","/").concat("6.0.2")}});case 14:if(r=e.sent,n=r.status,!(this.fetchTimeout>0&&Date.now()-o>=this.fetchTimeout)){e.next=18;break}throw t(new Error("Get locales timeout"));case 18:if(!(202===n&&this.fetchInterval>0)){e.next=21;break}return e.next=21,At(this.fetchInterval);case 21:e.next=11;break;case 23:if(!(i=r.data)||!i.data){e.next=30;break}this.languages=i.data,this.locales=this.languages.map((function(e){return e.code})),Mt(Ct,null,this),e.next=31;break;case 30:throw t(new Error("Could not fetch languages"));case 31:e.next=36;break;case 33:throw e.prev=33,e.t0=e.catch(7),t(e.t0);case 36:return e.abrupt("return",a(this.locales));case 37:case"end":return e.stop()}}),e,this,[[7,33]])}))),function(){return i.apply(this,arguments)})},{key:"getCurrentLocale",value:function(){return this.currentLocale}},{key:"isCurrent",value:function(e){return e===this.currentLocale}},{key:"setCurrentLocale",value:(o=m(S().mark((function e(t){return S().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.isCurrent(t)){e.next=4;break}return e.next=3,this._syncInstances(this.childInstances);case 3:return e.abrupt("return");case 4:if(t){e.next=10;break}return this.currentLocale="",e.next=8,this._syncInstances(this.childInstances);case 8:return Mt(Nt,this.currentLocale,this),e.abrupt("return");case 10:return e.next=12,this.fetchTranslations(t);case 12:return this.currentLocale=t,e.next=15,this._syncInstances(this.childInstances);case 15:Mt(Nt,t,this);case 16:case"end":return e.stop()}}),e,this)}))),function(e){return o.apply(this,arguments)})},{key:"getLanguages",value:(n=m(S().mark((function e(){var t,r=arguments;return S().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e.next=3,this.getLocales(t);case 3:return e.abrupt("return",a(this.languages));case 4:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"controllerOf",value:(r=m(S().mark((function e(t){return S().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t!==this){e.next=2;break}throw new Error("Cannot add self as instance");case 2:if(-1===t.childInstances.indexOf(this)){e.next=4;break}throw new Error("Cycle reference error, instance is controller of this");case 4:return this.childInstances.push(t),e.next=7,this._syncInstances([t]);case 7:return e.abrupt("return",t);case 8:case"end":return e.stop()}}),e,this)}))),function(e){return r.apply(this,arguments)})},{key:"_syncInstances",value:(t=m(S().mark((function e(t){var r,n;return S().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(r=this.getCurrentLocale())){e.next=15;break}n=0;case 3:if(!(n<t.length)){e.next=15;break}if(t[n].getCurrentLocale()===r){e.next=12;break}return e.prev=5,e.next=8,t[n].fetchTranslations(r);case 8:e.next=12;break;case 10:e.prev=10,e.t0=e.catch(5);case 12:n++,e.next=3;break;case 15:t.forEach((function(e){e.getCurrentLocale()!==r&&(e.currentLocale=r,Mt(Nt,r,e))}));case 16:case"end":return e.stop()}}),e,this,[[5,10]])}))),function(e){return t.apply(this,arguments)})}]),e}(),Xt={a:"ȧ",A:"Ȧ",b:"ƀ",B:"Ɓ",c:"ƈ",C:"Ƈ",d:"ḓ",D:"Ḓ",e:"ḗ",E:"Ḗ",f:"ƒ",F:"Ƒ",g:"ɠ",G:"Ɠ",h:"ħ",H:"Ħ",i:"ī",I:"Ī",j:"ĵ",J:"Ĵ",k:"ķ",K:"Ķ",l:"ŀ",L:"Ŀ",m:"ḿ",M:"Ḿ",n:"ƞ",N:"Ƞ",o:"ǿ",O:"Ǿ",p:"ƥ",P:"Ƥ",q:"ɋ",Q:"Ɋ",r:"ř",R:"Ř",s:"ş",S:"Ş",t:"ŧ",T:"Ŧ",v:"ṽ",V:"Ṽ",u:"ŭ",U:"Ŭ",w:"ẇ",W:"Ẇ",x:"ẋ",X:"Ẋ",y:"ẏ",Y:"Ẏ",z:"ẑ",Z:"Ẑ"},Yt=function(){function e(){v(this,e)}return x(e,[{key:"handle",value:function(e,t){return e.split(/__txnative__/).map((function(e){for(var t="",r=0;r<e.length;r+=1){var n=e.charAt(r);if(Xt[n]){var o=n.toLowerCase();t+="a"===o||"e"===o||"o"===o||"u"===o?Xt[n]+Xt[n]:Xt[n]}else t+=n}return t})).join("__txnative__")}}]),e}(),Qt=mt,er=yt,tr=function(){function e(){v(this,e)}return x(e,[{key:"handle",value:function(e,t,r,n){throw e||new Error('Error translating "'.concat(t,'"'))}}]),e}(),rr=wt,nr=function(e){var t=new Vt;return t.t=t.translate.bind(t),e&&t.init(e),t},or=new Vt,ir=or.translate.bind(or)}(),o}()},"object"==g(t)&&"object"==g(e)?e.exports=a():(o=[],void 0===(i="function"==typeof(n=a)?n.apply(t,o):n)||(e.exports=i))},750:e=>{e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n},e.exports.__esModule=!0,e.exports.default=e.exports},346:e=>{e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},745:(e,t,r)=>{var n=r(750);e.exports=function(e){if(Array.isArray(e))return n(e)},e.exports.__esModule=!0,e.exports.default=e.exports},115:e=>{e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},19:e=>{e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},424:(e,t,r)=>{var n=r(782),o=r(466);function i(t,r,a){return o()?(e.exports=i=Reflect.construct.bind(),e.exports.__esModule=!0,e.exports.default=e.exports):(e.exports=i=function(e,t,r){var o=[null];o.push.apply(o,t);var i=new(Function.bind.apply(e,o));return r&&n(i,r.prototype),i},e.exports.__esModule=!0,e.exports.default=e.exports),i.apply(null,arguments)}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},723:(e,t,r)=>{var n=r(296);function o(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,n(o.key),o)}}e.exports=function(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},827:(e,t,r)=>{var n=r(296);e.exports=function(e,t,r){return(t=n(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.__esModule=!0,e.exports.default=e.exports},482:e=>{function t(r){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},26:(e,t,r)=>{var n=r(782);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&n(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},177:e=>{e.exports=function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}},e.exports.__esModule=!0,e.exports.default=e.exports},466:e=>{e.exports=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}},e.exports.__esModule=!0,e.exports.default=e.exports},651:e=>{e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},894:e=>{e.exports=function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,u=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(u.push(n.value),u.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return u}},e.exports.__esModule=!0,e.exports.default=e.exports},458:e=>{e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},454:e=>{e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},590:(e,t,r)=>{var n=r(241).default,o=r(115);e.exports=function(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return o(e)},e.exports.__esModule=!0,e.exports.default=e.exports},782:e=>{function t(r,n){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r,n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},562:(e,t,r)=>{var n=r(346),o=r(894),i=r(221),a=r(458);e.exports=function(e,t){return n(e)||o(e,t)||i(e,t)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},231:(e,t,r)=>{var n=r(346),o=r(651),i=r(221),a=r(458);e.exports=function(e){return n(e)||o(e)||i(e)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},632:(e,t,r)=>{var n=r(745),o=r(651),i=r(221),a=r(454);e.exports=function(e){return n(e)||o(e)||i(e)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},37:(e,t,r)=>{var n=r(241).default;e.exports=function(e,t){if("object"!==n(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},296:(e,t,r)=>{var n=r(241).default,o=r(37);e.exports=function(e){var t=o(e,"string");return"symbol"===n(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},241:e=>{function t(r){return e.exports=t="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},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},221:(e,t,r)=>{var n=r(750);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},388:(e,t,r)=>{var n=r(482),o=r(782),i=r(177),a=r(424);function u(t){var r="function"==typeof Map?new Map:void 0;return e.exports=u=function(e){if(null===e||!i(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(e))return r.get(e);r.set(e,t)}function t(){return a(e,arguments,n(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),o(t,e)},e.exports.__esModule=!0,e.exports.default=e.exports,u(t)}e.exports=u,e.exports.__esModule=!0,e.exports.default=e.exports}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var n={};return(()=>{"use strict";function e(t){return e="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},e(t)}function t(t){var r=function(t,r){if("object"!==e(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,"string");if("object"!==e(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===e(r)?r:String(r)}function o(e,r){for(var n=0;n<r.length;n++){var o=r[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,t(o.key),o)}}r.r(n),r.d(n,{TransifexI18next:()=>s});var i=r(206);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?a(Object(n),!0).forEach((function(r){var o,i,a;o=e,i=r,a=n[r],(i=t(i))in o?Object.defineProperty(o,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):o[i]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var s=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.type="backend",this.options=t||{},this.init()}var t,r;return t=e,(r=[{key:"init",value:function(e,t){this.options=u(u({},this.options||{}),t||{}),this.tx=(0,i.createNativeInstance)(this.options)}},{key:"read",value:function(e,t,r){var n=this;this.tx.fetchTranslations(e).then((function(){r(null,n._convertPlurals(n.tx.cache.getTranslations(e)))})).catch((function(e){r(e,null)}))}},{key:"readMulti",value:function(e,t,r){var n=this,o=[];e.forEach((function(e){o.push(n.tx.fetchTranslations(e))})),Promise.all(o).then((function(){var t={};e.forEach((function(e){t[e]={translations:n._convertPlurals(n.tx.cache.getTranslations(e))}}))})).catch((function(e){r(e,null)}))}},{key:"_convertPlurals",value:function(e){var t={};return Object.keys(e).forEach((function(r){if(r.endsWith("_txplural")){var n=r.slice(0,-9),o=(0,i.explodePlurals)(e[r].replace("{???,","{count,"))[1];Object.keys(o).forEach((function(e){t["".concat(n,"_").concat(e)]=o[e]}))}else t[r]=e[r]})),t}}])&&o(t.prototype,r),Object.defineProperty(t,"prototype",{writable:!1}),e}()})(),n})()));
2
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.TxNativeI18next=t():e.TxNativeI18next=t()}(this,(()=>(()=>{var e={206:function(e,t,r){var n,i,o;e=r.nmd(e);var a,s=r(632),u=r(40),c=r(208),l=r(827),f=r(562),h=r(723),p=r(19),d=r(590),y=r(482),m=r(26),g=r(388),v=r(241);function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function w(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?b(Object(r),!0).forEach((function(t){l(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function x(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return k(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?k(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw o}}}}function k(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function F(e,t,r){return t=y(t),d(e,S()?Reflect.construct(t,r||[],y(e).constructor):t.apply(e,r))}function S(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(S=function(){return!!e})()}a=function(){return function(){var e={160:function(e,t,r){e.exports=function(){"use strict";var e=function(){return e=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},e.apply(this,arguments)};function t(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function n(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a}function i(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;var o=function(e){function t(e,r,n){var i;return p(this,t),(i=F(this,t,[e])).token=r,i.type=n||"error",i}return m(t,e),h(t)}(g(Error)),a=function(e){return e<4?"short":4===e?"long":"narrow"},s=function(e){return e%2==0?"2-digit":"numeric"};function u(e,t){switch(e.width){case 1:return"numeric";case 2:return"2-digit";case 3:return"short";case 4:return"long";case 5:return"narrow";default:return void t("".concat(e.desc," is not supported with width ").concat(e.width))}}function c(e,t){var r=e.char,n=e.desc,i=e.width;return"d"===r?s(i):void t("".concat(n," is not supported"))}function l(e,t){var r=e.char,n=e.desc,i=e.width;return("c"===r||"e"===r)&&i<3&&t("Numeric value is not supported for ".concat(n,"; falling back to weekday:short"),o.WARNING),a(i)}function d(e,t){var r=e.char,n=e.desc,i=e.width;switch(r){case"v":case"z":return 4===i?"long":"short";case"V":return 4===i?"long":void t("".concat(n," is not supported with width ").concat(i));case"X":return void t("".concat(n," is not supported"))}return"short"}function y(e,t){switch(e.field){case"era":return{era:a(e.width)};case"year":return function(e,t){switch(e.char){case"y":return{year:s(e.width)};case"r":return{calendar:"gregory",year:"numeric"};default:return t("".concat(e.desc," is not supported; falling back to year:numeric"),o.WARNING),{year:"numeric"}}}(e,t);case"month":return{month:u(e,t)};case"day":return{day:c(e,t)};case"weekday":return{weekday:l(e,t)};case"period":return;case"hour":return function(e){var t,r=s(e.width);switch(e.char){case"h":t="h12";break;case"H":t="h23";break;case"k":t="h24";break;case"K":t="h11"}return t?{hour:r,hourCycle:t}:{hour:r}}(e);case"min":return{minute:s(e.width)};case"sec":return{second:s(e.width)};case"tz":return{timeZoneName:d(e,t)};case"quarter":case"week":case"sec-frac":case"ms":t("".concat(e.desc," is not supported"))}}function b(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){throw e},n={},i=[],a=x(e);try{var s=function(){var e=t.value,a=e.error,s=e.field,u=e.str;if(a){var c=new o(a.message,e);c.stack=a.stack,r(c)}u&&r(new o("Ignoring string part: ".concat(u),e,o.WARNING)),s&&(-1===i.indexOf(s)?i.push(s):r(new o("Duplicate ".concat(s," token"),e)));var l=y(e,(function(t,n){return r(new o(t,e,n))}));l&&Object.assign(n,l)};for(a.s();!(t=a.n()).done;)s()}catch(e){a.e(e)}finally{a.f()}return n}var w={G:{field:"era",desc:"Era"},y:{field:"year",desc:"Year"},Y:{field:"year",desc:'Year of "Week of Year"'},u:{field:"year",desc:"Extended year"},U:{field:"year",desc:"Cyclic year name"},r:{field:"year",desc:"Related Gregorian year"},Q:{field:"quarter",desc:"Quarter"},q:{field:"quarter",desc:"Stand-alone quarter"},M:{field:"month",desc:"Month in year"},L:{field:"month",desc:"Stand-alone month in year"},w:{field:"week",desc:"Week of year"},W:{field:"week",desc:"Week of month"},d:{field:"day",desc:"Day in month"},D:{field:"day",desc:"Day of year"},F:{field:"day",desc:"Day of week in month"},g:{field:"day",desc:"Modified julian day"},E:{field:"weekday",desc:"Day of week"},e:{field:"weekday",desc:"Local day of week"},c:{field:"weekday",desc:"Stand-alone local day of week"},a:{field:"period",desc:"AM/PM marker"},b:{field:"period",desc:"AM/PM/noon/midnight marker"},B:{field:"period",desc:"Flexible day period"},h:{field:"hour",desc:"Hour in AM/PM (1~12)"},H:{field:"hour",desc:"Hour in day (0~23)"},k:{field:"hour",desc:"Hour in day (1~24)"},K:{field:"hour",desc:"Hour in AM/PM (0~11)"},j:{field:"hour",desc:"Hour in preferred cycle"},J:{field:"hour",desc:"Hour in preferred cycle without marker"},C:{field:"hour",desc:"Hour in preferred cycle with flexible marker"},m:{field:"min",desc:"Minute in hour"},s:{field:"sec",desc:"Second in minute"},S:{field:"sec-frac",desc:"Fractional second"},A:{field:"ms",desc:"Milliseconds in day"},z:{field:"tz",desc:"Time Zone: specific non-location"},Z:{field:"tz",desc:"Time Zone"},O:{field:"tz",desc:"Time Zone: localized"},v:{field:"tz",desc:"Time Zone: generic non-location"},V:{field:"tz",desc:"Time Zone: ID"},X:{field:"tz",desc:"Time Zone: ISO8601 with Z"},x:{field:"tz",desc:"Time Zone: ISO8601"}},k=function(e){return e>="A"&&e<="Z"||e>="a"&&e<="z"};function S(e,t){var r=e[t];if(!r)return null;if(k(r))return function(e,t){for(var r=e[t],n=1;e[++t]===r;)++n;var i=w[r];return i?{char:r,field:i.field,desc:i.desc,width:n}:{char:r,error:new Error("The letter ".concat(r," is not a valid field identifier")),width:n}}(e,t);if("'"===r)return function(e,t){var r=e[++t],n=2;if("'"===r)return{char:"'",str:r,width:n};for(;;){var i=e[++t];if(++n,void 0===i)return{char:"'",error:new Error("Unterminated quoted literal in pattern: ".concat(r||e)),str:r,width:n};if("'"===i){if("'"!==e[++t])return{char:"'",str:r,width:n};++n}r+=i}}(e,t);for(var n=r,i=1;;){var o=e[++t];if(!o||k(o)||"'"===o)return{char:r,str:n,width:i};n+=o,i+=1}}function E(e){for(var t=[],r=0;;){var n=S(e,r);if(!n)return t;t.push(n),r+=n.width}}var _=function(e){function t(e,r){var n;return p(this,t),(n=F(this,t,[r])).code=e,n}return m(t,e),h(t)}(g(Error)),O=function(e){function t(e,r){var n;return p(this,t),(n=F(this,t,["BAD_OPTION","Unknown ".concat(e," option: ").concat(r)])).stem=e,n.option=r,n}return m(t,e),h(t)}(_),D=function(e){function t(e){var r;return p(this,t),(r=F(this,t,["BAD_STEM","Unknown stem: ".concat(e)])).stem=e,r}return m(t,e),h(t)}(_),T=function(e){function t(e,r){var n;return p(this,t),(n=F(this,t,["MASKED_VALUE","Value for ".concat(e," is set multiple times")])).type=e,n.prev=r,n}return m(t,e),h(t)}(_),A=function(e){function t(e){var r;return p(this,t),(r=F(this,t,["MISSING_OPTION","Required option missing for ".concat(e)])).stem=e,r}return m(t,e),h(t)}(_),j=function(e){function t(e,r){var n;return p(this,t),(n=F(this,t,["BAD_PATTERN",r])).char=e,n}return m(t,e),h(t)}(_),N=function(e){function t(e,r,n){var i;return p(this,t),(i=F(this,t,["TOO_MANY_OPTIONS","Token ".concat(e," only supports ").concat(n>1?"".concat(n," options"):"one option"," (got ").concat(r.length,")")])).stem=e,i.options=r,i}return m(t,e),h(t)}(_),P=function(e){function t(e,r){var n;return p(this,t),(n=F(this,t,["UNSUPPORTED","The stem ".concat(e," is not supported")])).stem=e,r&&(n.message+=" with value ".concat(r),n.source=r),n}return m(t,e),h(t)}(_);function B(e,t){var r=t.numberingSystem;return Array.isArray(e)||(e=[e]),r?e.map((function(e){var t=-1===e.indexOf("-u-")?"u-nu":"nu";return"".concat(e,"-").concat(t,"-").concat(r)})).concat(e):e}function C(e){var t=e.scale,r=e.unit,n="number"==typeof t&&t>=0?t:1;return r&&"percent"===r.style&&(n*=.01),n}function I(e,t){var r=e.decimal,n=e.group,i=e.integerWidth,o=e.notation,a=e.precision,s=e.roundingMode,u=e.sign,c=e.unit,l=e.unitPer,f=e.unitWidth,h=function(e,r){t&&t(new P(e,r))},p={};if(c)switch(c.style){case"base-unit":p.style="decimal";break;case"currency":p.style="currency",p.currency=c.currency;break;case"measure-unit":p.style="unit",p.unit=c.unit.replace(/.*-/,""),l&&(p.unit+="-per-"+l.replace(/.*-/,""));break;case"percent":p.style="percent";break;case"permille":h("permille")}switch(f){case"unit-width-full-name":p.currencyDisplay="name",p.unitDisplay="long";break;case"unit-width-hidden":h(f);break;case"unit-width-iso-code":p.currencyDisplay="code";break;case"unit-width-narrow":p.currencyDisplay="narrowSymbol",p.unitDisplay="narrow";break;case"unit-width-short":p.currencyDisplay="symbol",p.unitDisplay="short"}switch(n){case"group-off":p.useGrouping=!1;break;case"group-auto":p.useGrouping=!0;break;case"group-min2":case"group-on-aligned":case"group-thousands":h(n),p.useGrouping=!0}if(a)switch(a.style){case"precision-fraction":var d=a.minFraction,y=a.maxFraction,m=a.minSignificant,g=a.maxSignificant,v=a.source;"number"==typeof d&&(p.minimumFractionDigits=d,"number"==typeof m&&h("precision-fraction",v)),"number"==typeof y&&(p.maximumFractionDigits=y),"number"==typeof m&&(p.minimumSignificantDigits=m),"number"==typeof g&&(p.maximumSignificantDigits=g);break;case"precision-integer":p.maximumFractionDigits=0;break;case"precision-unlimited":p.maximumFractionDigits=20;break;case"precision-increment":break;case"precision-currency-standard":p.trailingZeroDisplay=a.trailingZero;break;case"precision-currency-cash":h(a.style)}if(o)switch(o.style){case"compact-short":p.notation="compact",p.compactDisplay="short";break;case"compact-long":p.notation="compact",p.compactDisplay="long";break;case"notation-simple":p.notation="standard";break;case"scientific":case"engineering":var b=o.expDigits,w=o.expSign,x=o.source,k=o.style;p.notation=k,(b&&b>1||w&&"sign-auto"!==w)&&h(k,x)}if(i){var F=i.min,S=i.max,E=i.source;if(F>0&&(p.minimumIntegerDigits=F),Number(S)>0){var _="engineering"===p.notation||"scientific"===p.notation;3===S&&_?p.notation="engineering":h("integer-width",E)}}switch(u){case"sign-auto":p.signDisplay="auto";break;case"sign-always":p.signDisplay="always";break;case"sign-except-zero":p.signDisplay="exceptZero";break;case"sign-never":p.signDisplay="never";break;case"sign-accounting":p.currencySign="accounting";break;case"sign-accounting-always":p.currencySign="accounting",p.signDisplay="always";break;case"sign-accounting-except-zero":p.currencySign="accounting",p.signDisplay="exceptZero"}return"decimal-always"===r&&h(r),s&&h(s),p}function L(e,t,r){var n=e[t];switch(n){case"%":return{char:"%",style:"percent",width:1};case"‰":return{char:"%",style:"permille",width:1};case"¤":for(var i=1;"¤"===e[++t];)++i;switch(i){case 1:return{char:n,currency:"default",width:i};case 2:return{char:n,currency:"iso-code",width:i};case 3:return{char:n,currency:"full-name",width:i};case 5:return{char:n,currency:"narrow",width:i};default:return r(new j("¤","Invalid number (".concat(i,") of ¤ chars in pattern"))),null}case"*":var o=e[t+1];if(o)return{char:n,pad:o,width:2};break;case"+":case"-":return{char:n,width:1};case"'":var a=e[++t],s=2;if("'"===a)return{char:n,str:a,width:s};for(;;){var u=e[++t];if(++s,void 0===u)return r(new j("'","Unterminated quoted literal in pattern: ".concat(a))),{char:n,str:a,width:s};if("'"===u){if("'"!==e[++t])return{char:n,str:a,width:s};++s}a+=u}}return null}var M=function(e){return e>="0"&&e<="9"};function z(e,t){var r=e[t];if(M(r))for(var n=r;;){var i=e[++t];if(!M(i))return{char:"0",digits:n,width:n.length};n+=i}switch(r){case"#":for(var o=1;"#"===e[++t];)++o;return{char:r,width:o};case"@":for(var a=1;"@"===e[++t];)++a;var s=a;for(t-=1;"#"===e[++t];)++s;return{char:r,min:a,width:s};case"E":var u="+"===e[t+1];u&&++t;for(var c=0;"0"===e[++t];)++c;if(c)return{char:r,expDigits:c,plus:u,width:(u?2:1)+c};break;case".":case",":return{char:r,width:1}}return null}function R(e,t,r){var n;!function(e){e[e.Prefix=0]="Prefix",e[e.Number=1]="Number",e[e.Suffix=2]="Suffix"}(n||(n={}));for(var i=[],o=[],a=[],s=n.Prefix,u="";t<e.length;){var c=e[t];if(";"===c){t+=1;break}switch(s){case n.Prefix:var l=L(e,t,r);if(l)u&&(i.push({char:"'",str:u,width:u.length}),u=""),i.push(l),t+=l.width;else{var f=z(e,t);f?(u&&(i.push({char:"'",str:u,width:u.length}),u=""),s=n.Number,o.push(f),t+=f.width):(u+=c,t+=1)}break;case n.Number:var h=z(e,t);h?(o.push(h),t+=h.width):s=n.Suffix;break;case n.Suffix:var p=L(e,t,r);p?(u&&(a.push({char:"'",str:u,width:u.length}),u=""),a.push(p),t+=p.width):(u+=c,t+=1)}}return u&&a.push({char:"'",str:u,width:u.length}),{pattern:{prefix:i,number:o,suffix:a},pos:t}}function q(e,t,r,n,i){var o,a=!1,s="",u=x(e);try{for(u.s();!(o=u.n()).done;){var c=o.value;switch(c.char){case"%":t.unit={style:c.style},i?a=!0:s="";break;case"¤":if(!r){n(new j("¤","The ¤ pattern requires a currency"));break}switch(t.unit={style:"currency",currency:r},c.currency){case"iso-code":t.unitWidth="unit-width-iso-code";break;case"full-name":t.unitWidth="unit-width-full-name";break;case"narrow":t.unitWidth="unit-width-narrow"}i?a=!0:s="";break;case"*":break;case"+":a||(s+="+");break;case"'":a||(s+=c.str)}}}catch(e){u.e(e)}finally{u.f()}return s}function U(e,t){var r,n=!1,i="",o=x(e);try{for(o.s();!(r=o.n()).done;){var a=r.value;switch(a.char){case"%":case"¤":t?n=!0:i="";break;case"-":n||(i+="-");break;case"'":n||(i+=a.str)}}}catch(e){o.e(e)}finally{o.f()}return i}function H(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(e){throw e},n=function(e,t){var r=R(e,0,t),n=r.pattern,i=r.pos;return i<e.length?{tokens:n,negative:R(e,i,t).pattern}:{tokens:n}}(e,r),i=n.tokens,o=n.negative,a=function(e,t){for(var r={},n=!1,i=!1,o=0,a="",s=-1,u="",c=0,l=0;l<e.length;++l){var f=e[l];switch(f.char){case"#":-1===s?(a&&t(new j("#","Pattern has # after integer digits")),o+=f.width):c+=f.width;break;case"0":-1===s?a+=f.digits:(c&&t(new j("0","Pattern has digits after # in fraction")),u+=f.digits);break;case"@":r.precision&&t(new T("precision",r.precision)),r.precision={style:"precision-fraction",minSignificant:f.min,maxSignificant:f.width};break;case",":n=!0;break;case".":1===s&&t(new j(".","Pattern has more than one decimal separator")),s=l;break;case"E":i&&t(new T("exponent",r.notation)),n&&t(new j("E","Exponential patterns may not contain grouping separators")),r.notation={style:"scientific"},f.expDigits>1&&(r.notation.expDigits=f.expDigits),f.plus&&(r.notation.expSign="sign-always"),i=!0}}n?r.group="group-auto":o+a.length>3&&(r.group="group-off");var h=Number("".concat(a||"0",".").concat(u));if(h&&(r.precision={style:"precision-increment",increment:h}),i)if(r.precision&&!h||(r.integerWidth=o?{min:1,max:o+a.length}:{min:Math.max(1,a.length)}),r.precision)h||(r.integerWidth={min:1,max:1});else{var p=a.length+u.length;-1===s?p>0&&(r.precision={style:"precision-fraction",maxSignificant:p}):(r.precision={style:"precision-fraction",maxSignificant:Math.max(1,p)+c},p>1&&(r.precision.minSignificant=p))}else a.length>1&&(r.integerWidth={min:a.length}),r.precision||!u.length&&!c||(r.precision={style:"precision-fraction",minFraction:u.length,maxFraction:u.length+c});return r}(i.number,r),s=q(i.prefix,a,t,r,!0),u=q(i.suffix,a,t,r,!1);if(o){var c=U(o.prefix,!0),l=U(o.suffix,!1);a.affix={pos:[s,u],neg:[c,l]},a.sign="sign-never"}else(s||u)&&(a.affix={pos:[s,u]});return a}function G(e){var t=e.split("-",1),r=f(t,1)[0];return-1!==["acceleration","angle","area","concentr","consumption","digital","duration","electric","energy","force","frequency","graphics","length","light","mass","power","pressure","speed","temperature","torque","volume"].indexOf(r)}var W={"compact-short":0,"compact-long":0,"notation-simple":0,scientific:2,engineering:2,percent:0,permille:0,"base-unit":0,currency:1,"measure-unit":1,"per-measure-unit":1,"unit-width-narrow":0,"unit-width-short":0,"unit-width-full-name":0,"unit-width-iso-code":0,"unit-width-hidden":0,"precision-integer":0,"precision-unlimited":0,"precision-currency-standard":1,"precision-currency-cash":0,"precision-increment":1,"rounding-mode-ceiling":0,"rounding-mode-floor":0,"rounding-mode-down":0,"rounding-mode-up":0,"rounding-mode-half-even":0,"rounding-mode-half-down":0,"rounding-mode-half-up":0,"rounding-mode-unnecessary":0,"integer-width":1,scale:1,"group-off":0,"group-min2":0,"group-auto":0,"group-on-aligned":0,"group-thousands":0,latin:0,"numbering-system":1,"sign-auto":0,"sign-always":0,"sign-never":0,"sign-accounting":0,"sign-accounting-always":0,"sign-except-zero":0,"sign-accounting-except-zero":0,"decimal-auto":0,"decimal-always":0},J={currency:1,"integer-width":1,"measure-unit":1,"numbering-system":1,"per-measure-unit":1,"precision-increment":1,scale:1};function Z(e,t){var r="fraction"===t?/^\.(0*)(\+|#*)$/:/^(@+)(\+|#*)$/,n=e&&e.match(r);if(n){var i=n[1].length;switch(n[2].charAt(0)){case"":return{min:i,max:i};case"+":return{min:i,max:null};case"#":return{min:i,max:i+n[2].length}}}return null}var K=function(){function e(t){p(this,e),this.skeleton={},this.onError=t}return h(e,[{key:"badOption",value:function(e,t){this.onError(new O(e,t))}},{key:"assertEmpty",value:function(e){var t=this.skeleton[e];t&&this.onError(new T(e,t))}},{key:"parseToken",value:function(e,t){if(function(e,t,r){if(function(e){return e in W}(e)){var n=W[e];if(t.length>n){if(0===n){var i,o=x(t);try{for(o.s();!(i=o.n()).done;){var a=i.value;r(new O(e,a))}}catch(e){o.e(e)}finally{o.f()}}else r(new N(e,t,n));return!1}if(function(e){return e in J}(e)&&t.length<J[e])return r(new A(e)),!1}return!0}(e,t,this.onError)){var r=t[0],n=this.skeleton;switch(e){case"compact-short":case"compact-long":case"notation-simple":this.assertEmpty("notation"),n.notation={style:e};break;case"scientific":case"engineering":var i,o,a=null,s=x(t);try{for(s.s();!(o=s.n()).done;){var u=o.value;switch(u){case"sign-auto":case"sign-always":case"sign-never":case"sign-accounting":case"sign-accounting-always":case"sign-except-zero":case"sign-accounting-except-zero":i=u;break;default:/^\+e+$/.test(u)?a=u.length-1:this.badOption(e,u)}}}catch(e){s.e(e)}finally{s.f()}this.assertEmpty("notation");var c=t.join("/");n.notation=a&&i?{style:e,source:c,expDigits:a,expSign:i}:a?{style:e,source:c,expDigits:a}:i?{style:e,source:c,expSign:i}:{style:e,source:c};break;case"percent":case"permille":case"base-unit":this.assertEmpty("unit"),n.unit={style:e};break;case"currency":/^[A-Z]{3}$/.test(r)?(this.assertEmpty("unit"),n.unit={style:e,currency:r}):this.badOption(e,r);break;case"measure-unit":G(r)?(this.assertEmpty("unit"),n.unit={style:e,unit:r}):this.badOption(e,r);break;case"per-measure-unit":G(r)?(this.assertEmpty("unitPer"),n.unitPer=r):this.badOption(e,r);break;case"unit-width-narrow":case"unit-width-short":case"unit-width-full-name":case"unit-width-iso-code":case"unit-width-hidden":this.assertEmpty("unitWidth"),n.unitWidth=e;break;case"precision-integer":case"precision-unlimited":case"precision-currency-cash":this.assertEmpty("precision"),n.precision={style:e};break;case"precision-currency-standard":this.assertEmpty("precision"),n.precision="w"===r?{style:e,trailingZero:"stripIfInteger"}:{style:e};break;case"precision-increment":var l=Number(r);l>0?(this.assertEmpty("precision"),n.precision={style:e,increment:l}):this.badOption(e,r);break;case"rounding-mode-ceiling":case"rounding-mode-floor":case"rounding-mode-down":case"rounding-mode-up":case"rounding-mode-half-even":case"rounding-mode-half-odd":case"rounding-mode-half-ceiling":case"rounding-mode-half-floor":case"rounding-mode-half-down":case"rounding-mode-half-up":case"rounding-mode-unnecessary":this.assertEmpty("roundingMode"),n.roundingMode=e;break;case"integer-width":if(/^\+0*$/.test(r))this.assertEmpty("integerWidth"),n.integerWidth={source:r,min:r.length-1};else{var f=r.match(/^#*(0*)$/);f?(this.assertEmpty("integerWidth"),n.integerWidth={source:r,min:f[1].length,max:f[0].length}):this.badOption(e,r)}break;case"scale":var h=Number(r);h>0?(this.assertEmpty("scale"),n.scale=h):this.badOption(e,r);break;case"group-off":case"group-min2":case"group-auto":case"group-on-aligned":case"group-thousands":this.assertEmpty("group"),n.group=e;break;case"latin":this.assertEmpty("numberingSystem"),n.numberingSystem="latn";break;case"numbering-system":-1!==["arab","arabext","bali","beng","deva","fullwide","gujr","guru","hanidec","khmr","knda","laoo","latn","limb","mlym","mong","mymr","orya","tamldec","telu","thai","tibt"].indexOf(r)?(this.assertEmpty("numberingSystem"),n.numberingSystem=r):this.badOption(e,r);break;case"sign-auto":case"sign-always":case"sign-never":case"sign-accounting":case"sign-accounting-always":case"sign-except-zero":case"sign-accounting-except-zero":this.assertEmpty("sign"),n.sign=e;break;case"decimal-auto":case"decimal-always":this.assertEmpty("decimal"),n.decimal=e;break;default:var p=function(e,t,r){var n=Z(e,"fraction");if(n){t.length>1&&r(new N(e,t,1));var i={style:"precision-fraction",source:e,minFraction:n.min};null!=n.max&&(i.maxFraction=n.max);var o=t[0],a=Z(o,"significant");return a?(i.source="".concat(e,"/").concat(o),i.minSignificant=a.min,null!=a.max&&(i.maxSignificant=a.max)):o&&r(new O(e,o)),i}var s=Z(e,"significant");if(s){var u,c=x(t);try{for(c.s();!(u=c.n()).done;){var l=u.value;r(new O(e,l))}}catch(e){c.e(e)}finally{c.f()}var f={style:"precision-fraction",source:e,minSignificant:s.min};return null!=s.max&&(f.maxSignificant=s.max),f}return null}(e,t,this.onError);p?(this.assertEmpty("precision"),n.precision=p):this.onError(new D(e))}}}}]),e}();function $(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){throw e},n=[],i=x(e.split(" "));try{for(i.s();!(t=i.n()).done;){var o=t.value;if(o){var a=o.split("/"),s=a.shift()||"";n.push({stem:s,options:a})}}}catch(e){i.e(e)}finally{i.f()}for(var u=new K(r),c=0,l=n;c<l.length;c++){var f=l[c],h=f.stem,p=f.options;u.parseToken(h,p)}return u.skeleton}var V="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:{},X={},Y={},Q={exports:{}};!function(e){var t,r;t=V,r=function(){var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,r="boolean"==typeof(new RegExp).sticky;function n(e){return e&&"[object RegExp]"===t.call(e)}function i(e){return e&&"object"==v(e)&&!n(e)&&!Array.isArray(e)}function o(e){return"("+e+")"}function a(e){return e.length?"(?:"+e.map((function(e){return"(?:"+e+")"})).join("|")+")":"(?!)"}function s(e){if("string"==typeof e)return"(?:"+e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")+")";if(n(e)){if(e.ignoreCase)throw new Error("RegExp /i flag not allowed");if(e.global)throw new Error("RegExp /g flag is implied");if(e.sticky)throw new Error("RegExp /y flag is implied");if(e.multiline)throw new Error("RegExp /m flag is implied");return e.source}throw new Error("Not a pattern: "+e)}function u(e,t){return e.length>t?e:Array(t-e.length+1).join(" ")+e}function c(t,r){if(i(r)||(r={match:r}),r.include)throw new Error("Matching rules cannot also include states");var o={defaultType:t,lineBreaks:!!r.error||!!r.fallback,pop:!1,next:null,push:null,error:!1,fallback:!1,value:null,type:null,shouldThrow:!1};for(var a in r)e.call(r,a)&&(o[a]=r[a]);if("string"==typeof o.type&&t!==o.type)throw new Error("Type transform cannot be a string (type '"+o.type+"' for token '"+t+"')");var s=o.match;return o.match=Array.isArray(s)?s:s?[s]:[],o.match.sort((function(e,t){return n(e)&&n(t)?0:n(t)?-1:n(e)?1:t.length-e.length})),o}function l(e){return Array.isArray(e)?function(e){for(var t=[],r=0;r<e.length;r++){var n=e[r];if(n.include)for(var i=[].concat(n.include),o=0;o<i.length;o++)t.push({include:i[o]});else{if(!n.type)throw new Error("Rule has no type: "+JSON.stringify(n));t.push(c(n.type,n))}}return t}(e):function(e){for(var t=Object.getOwnPropertyNames(e),r=[],n=0;n<t.length;n++){var o=t[n],a=e[o],s=[].concat(a);if("include"!==o){var u=[];s.forEach((function(e){i(e)?(u.length&&r.push(c(o,u)),r.push(c(o,e)),u=[]):u.push(e)})),u.length&&r.push(c(o,u))}else for(var l=0;l<s.length;l++)r.push({include:s[l]})}return r}(e)}var f=c("error",{lineBreaks:!0,shouldThrow:!0});function h(e,t){for(var i=null,u=Object.create(null),c=!0,l=null,h=[],p=[],d=0;d<e.length;d++)e[d].fallback&&(c=!1);for(d=0;d<e.length;d++){var y=e[d];if(y.include)throw new Error("Inheritance is not allowed in stateless lexers");if(y.error||y.fallback){if(i)throw!y.fallback==!i.fallback?new Error("Multiple "+(y.fallback?"fallback":"error")+" rules not allowed (for token '"+y.defaultType+"')"):new Error("fallback and error are mutually exclusive (for token '"+y.defaultType+"')");i=y}var m=y.match.slice();if(c)for(;m.length&&"string"==typeof m[0]&&1===m[0].length;)u[m.shift().charCodeAt(0)]=y;if(y.pop||y.push||y.next){if(!t)throw new Error("State-switching options are not allowed in stateless lexers (for token '"+y.defaultType+"')");if(y.fallback)throw new Error("State-switching options are not allowed on fallback tokens (for token '"+y.defaultType+"')")}if(0!==m.length){c=!1,h.push(y);for(var g=0;g<m.length;g++){var v=m[g];if(n(v))if(null===l)l=v.unicode;else if(l!==v.unicode&&!1===y.fallback)throw new Error("If one rule is /u then all must be")}var b=a(m.map(s)),w=new RegExp(b);if(w.test(""))throw new Error("RegExp matches empty string: "+w);if(new RegExp("|"+b).exec("").length-1>0)throw new Error("RegExp has capture groups: "+w+"\nUse (?: … ) instead");if(!y.lineBreaks&&w.test("\n"))throw new Error("Rule should declare lineBreaks: "+w);p.push(o(b))}}var x=i&&i.fallback,k=r&&!x?"ym":"gm",F=r||x?"":"|";return!0===l&&(k+="u"),{regexp:new RegExp(a(p)+F,k),groups:h,fast:u,error:i||f}}function p(e,t,r){var n=e&&(e.push||e.next);if(n&&!r[n])throw new Error("Missing state '"+n+"' (in token '"+e.defaultType+"' of state '"+t+"')");if(e&&e.pop&&1!=+e.pop)throw new Error("pop must be 1 (in token '"+e.defaultType+"' of state '"+t+"')")}var d=function(e,t){this.startState=t,this.states=e,this.buffer="",this.stack=[],this.reset()};d.prototype.reset=function(e,t){return this.buffer=e||"",this.index=0,this.line=t?t.line:1,this.col=t?t.col:1,this.queuedToken=t?t.queuedToken:null,this.queuedText=t?t.queuedText:"",this.queuedThrow=t?t.queuedThrow:null,this.setState(t?t.state:this.startState),this.stack=t&&t.stack?t.stack.slice():[],this},d.prototype.save=function(){return{line:this.line,col:this.col,state:this.state,stack:this.stack.slice(),queuedToken:this.queuedToken,queuedText:this.queuedText,queuedThrow:this.queuedThrow}},d.prototype.setState=function(e){if(e&&this.state!==e){this.state=e;var t=this.states[e];this.groups=t.groups,this.error=t.error,this.re=t.regexp,this.fast=t.fast}},d.prototype.popState=function(){this.setState(this.stack.pop())},d.prototype.pushState=function(e){this.stack.push(this.state),this.setState(e)};var y=r?function(e,t){return e.exec(t)}:function(e,t){var r=e.exec(t);return 0===r[0].length?null:r};function m(){return this.value}if(d.prototype._getGroup=function(e){for(var t=this.groups.length,r=0;r<t;r++)if(void 0!==e[r+1])return this.groups[r];throw new Error("Cannot find token type for matched text")},d.prototype.next=function(){var e=this.index;if(this.queuedGroup){var t=this._token(this.queuedGroup,this.queuedText,e);return this.queuedGroup=null,this.queuedText="",t}var r=this.buffer;if(e!==r.length){if(a=this.fast[r.charCodeAt(e)])return this._token(a,r.charAt(e),e);var n=this.re;n.lastIndex=e;var i=y(n,r),o=this.error;if(null==i)return this._token(o,r.slice(e,r.length),e);var a=this._getGroup(i),s=i[0];return o.fallback&&i.index!==e?(this.queuedGroup=a,this.queuedText=s,this._token(o,r.slice(e,i.index),e)):this._token(a,s,e)}},d.prototype._token=function(e,t,r){var n=0;if(e.lineBreaks){var i=/\n/g,o=1;if("\n"===t)n=1;else for(;i.exec(t);)n++,o=i.lastIndex}var a={type:"function"==typeof e.type&&e.type(t)||e.defaultType,value:"function"==typeof e.value?e.value(t):t,text:t,toString:m,offset:r,lineBreaks:n,line:this.line,col:this.col},s=t.length;if(this.index+=s,this.line+=n,0!==n?this.col=s-o+1:this.col+=s,e.shouldThrow)throw new Error(this.formatError(a,"invalid syntax"));return e.pop?this.popState():e.push?this.pushState(e.push):e.next&&this.setState(e.next),a},"undefined"!=typeof Symbol&&Symbol.iterator){var g=function(e){this.lexer=e};g.prototype.next=function(){var e=this.lexer.next();return{value:e,done:!e}},g.prototype[Symbol.iterator]=function(){return this},d.prototype[Symbol.iterator]=function(){return new g(this)}}return d.prototype.formatError=function(e,t){if(null==e){var r=this.buffer.slice(this.index);e={text:r,offset:this.index,lineBreaks:-1===r.indexOf("\n")?0:1,line:this.line,col:this.col}}var n=Math.max(e.line-2,1),i=e.line+2,o=String(i).length,a=function(e,t){for(var r=e.length,n=0;;){var i=e.lastIndexOf("\n",r-1);if(-1===i)break;if(r=i,++n===t)break;if(0===r)break}var o=n<t?0:r+1;return e.substring(o).split("\n")}(this.buffer,this.line-e.line+2+1).slice(0,5),s=[];s.push(t+" at line "+e.line+" col "+e.col+":"),s.push("");for(var c=0;c<a.length;c++){var l=a[c],f=n+c;s.push(u(String(f),o)+" "+l),f===e.line&&s.push(u("",o+e.col+1)+"^")}return s.join("\n")},d.prototype.clone=function(){return new d(this.states,this.state)},d.prototype.has=function(e){return!0},{compile:function(e){var t=h(l(e));return new d({start:t},"start")},states:function(e,t){var r=e.$all?l(e.$all):[];delete e.$all;var n=Object.getOwnPropertyNames(e);t||(t=n[0]);for(var i=Object.create(null),o=0;o<n.length;o++)i[b=n[o]]=l(e[b]).concat(r);for(o=0;o<n.length;o++)for(var a=i[b=n[o]],s=Object.create(null),u=0;u<a.length;u++){var c=a[u];if(c.include){var f=[u,1];if(c.include!==b&&!s[c.include]){s[c.include]=!0;var y=i[c.include];if(!y)throw new Error("Cannot include nonexistent state '"+c.include+"' (in state '"+b+"')");for(var m=0;m<y.length;m++){var g=y[m];-1===a.indexOf(g)&&f.push(g)}}a.splice.apply(a,f),u--}}var v=Object.create(null);for(o=0;o<n.length;o++){var b;v[b=n[o]]=h(i[b],!0)}for(o=0;o<n.length;o++){var w=n[o],x=v[w],k=x.groups;for(u=0;u<k.length;u++)p(k[u],w,v);var F=Object.getOwnPropertyNames(x.fast);for(u=0;u<F.length;u++)p(x.fast[F[u]],w,v)}return new d(v,t)},error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:function(e){for(var t="undefined"!=typeof Map,r=t?new Map:Object.create(null),n=Object.getOwnPropertyNames(e),i=0;i<n.length;i++){var o=n[i],a=e[o];(Array.isArray(a)?a:[a]).forEach((function(e){if("string"!=typeof e)throw new Error("keyword must be string (in keyword '"+o+"')");t?r.set(e,o):r[e]=o}))}return function(e){return t?r.get(e):r[e]}}}},e.exports?e.exports=r():t.moo=r()}(Q);var ee=Q.exports;(function(e){var t=V&&V.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.lexer=e.states=void 0;var r=t(ee);e.states={body:{doubleapos:{match:"''",value:function(){return"'"}},quoted:{lineBreaks:!0,match:/'[#\{\}](?:(?:[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?(?:[\0-&\(-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]))?'(?!')/,value:function(e){return e.slice(1,-1).replace(/''/g,"'")}},argument:{lineBreaks:!0,match:/\{[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*(?:[\0-\x08\x0E-\x1F0-9A-Z_a-z\x7F-\x84\x86-\xA0\xA8\xAA\xAD\xAF\xB2-\xB5\xB7-\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u200D\u202A-\u202F\u203F\u2040\u2054\u205F-\u218F\u2460-\u24FF\u2776-\u2793\u2C00-\u2DFF\u2E80-\u3000\u3004-\u3007\u3021-\u302F\u3031-\uD7FF\uE000-\uFD3D\uFD40-\uFE44\uFE47-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*/,push:"arg",value:function(e){return e.substring(1).trim()}},octothorpe:"#",end:{match:"}",pop:1},content:{lineBreaks:!0,match:/(?:[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])(?:[\0-"\$-&\(-z\|~-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*/}},arg:{select:{lineBreaks:!0,match:/,[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*(?:plural|select|selectordinal)[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*,[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*/,next:"select",value:function(e){return e.split(",")[1].trim()}},"func-args":{lineBreaks:!0,match:/,[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*(?:[\0-\x08\x0E-\x1F0-9A-Z_a-z\x7F-\x84\x86-\xA0\xA8\xAA\xAD\xAF\xB2-\xB5\xB7-\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u200D\u202A-\u202F\u203F\u2040\u2054\u205F-\u218F\u2460-\u24FF\u2776-\u2793\u2C00-\u2DFF\u2E80-\u3000\u3004-\u3007\u3021-\u302F\u3031-\uD7FF\uE000-\uFD3D\uFD40-\uFE44\uFE47-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*,/,next:"body",value:function(e){return e.split(",")[1].trim()}},"func-simple":{lineBreaks:!0,match:/,[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*(?:[\0-\x08\x0E-\x1F0-9A-Z_a-z\x7F-\x84\x86-\xA0\xA8\xAA\xAD\xAF\xB2-\xB5\xB7-\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u200D\u202A-\u202F\u203F\u2040\u2054\u205F-\u218F\u2460-\u24FF\u2776-\u2793\u2C00-\u2DFF\u2E80-\u3000\u3004-\u3007\u3021-\u302F\u3031-\uD7FF\uE000-\uFD3D\uFD40-\uFE44\uFE47-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*/,value:function(e){return e.substring(1).trim()}},end:{match:"}",pop:1}},select:{offset:{lineBreaks:!0,match:/[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*offset[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*:[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*[0-9]+[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*/,value:function(e){return e.split(":")[1].trim()}},case:{lineBreaks:!0,match:/[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*(?:=[0-9]+|(?:[\0-\x08\x0E-\x1F0-9A-Z_a-z\x7F-\x84\x86-\xA0\xA8\xAA\xAD\xAF\xB2-\xB5\xB7-\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u200D\u202A-\u202F\u203F\u2040\u2054\u205F-\u218F\u2460-\u24FF\u2776-\u2793\u2C00-\u2DFF\u2E80-\u3000\u3004-\u3007\u3021-\u302F\u3031-\uD7FF\uE000-\uFD3D\uFD40-\uFE44\uFE47-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*\{/,push:"body",value:function(e){return e.substring(0,e.indexOf("{")).trim()}},end:{match:/[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*\}/,pop:1}}},e.lexer=r.default.states(e.states)})(Y),Object.defineProperty(X,"__esModule",{value:!0});var te=X.parse=X.ParseError=void 0,re=Y,ne=function(e){return{offset:e.offset,line:e.line,col:e.col,text:e.text,lineBreaks:e.lineBreaks}},ie=function(e){return"plural"===e||"select"===e||"selectordinal"===e},oe=["number","date","time","spellout","ordinal","duration"],ae=["zero","one","two","few","many","other"],se=function(e){function t(e,r){return p(this,t),F(this,t,[re.lexer.formatError(e,r)])}return m(t,e),h(t)}(g(Error));X.ParseError=se;var ue=function(){function e(t,r){var n,i,o,a;p(this,e),this.lexer=re.lexer.reset(t),this.cardinalKeys=null!==(n=null==r?void 0:r.cardinal)&&void 0!==n?n:ae,this.ordinalKeys=null!==(i=null==r?void 0:r.ordinal)&&void 0!==i?i:ae,this.strict=null!==(o=null==r?void 0:r.strict)&&void 0!==o&&o,this.strictPluralKeys=null===(a=null==r?void 0:r.strictPluralKeys)||void 0===a||a}return h(e,[{key:"parse",value:function(){return this.parseBody(!1,!0)}},{key:"checkSelectKey",value:function(e,t,r){if("="===r[0]){if("select"===t)throw new se(e,"The case ".concat(r," is not valid with select"))}else if("select"!==t){var n="plural"===t?this.cardinalKeys:this.ordinalKeys;if(this.strictPluralKeys&&n.length>0&&!n.includes(r))throw new se(e,"The ".concat(t," case ").concat(r," is not valid in this locale"))}}},{key:"parseSelect",value:function(e,t,r,n){var i={type:n,arg:e.value,cases:[],ctx:r};"plural"===n||"selectordinal"===n?t=!0:this.strict&&(t=!1);var o,a=x(this.lexer);try{for(a.s();!(o=a.n()).done;){var s=o.value;switch(s.type){case"offset":if("select"===n)throw new se(s,"Unexpected plural offset for select");if(i.cases.length>0)throw new se(s,"Plural offset must be set before cases");i.pluralOffset=Number(s.value),r.text+=s.text,r.lineBreaks+=s.lineBreaks;break;case"case":this.checkSelectKey(s,n,s.value),i.cases.push({key:s.value,tokens:this.parseBody(t),ctx:ne(s)});break;case"end":return i;default:throw new se(s,"Unexpected lexer token: ".concat(s.type))}}}catch(e){a.e(e)}finally{a.f()}throw new se(null,"Unexpected message end")}},{key:"parseArgToken",value:function(e,t){var r=ne(e),n=this.lexer.next();if(!n)throw new se(null,"Unexpected message end");if(r.text+=n.text,r.lineBreaks+=n.lineBreaks,this.strict&&("func-simple"===n.type||"func-args"===n.type)&&!oe.includes(n.value)){var i="Invalid strict mode function arg type: ".concat(n.value);throw new se(e,i)}switch(n.type){case"end":return{type:"argument",arg:e.value,ctx:r};case"func-simple":var o=this.lexer.next();if(!o)throw new se(null,"Unexpected message end");if("end"!==o.type)throw new se(o,"Unexpected lexer token: ".concat(o.type));if(r.text+=o.text,ie(n.value.toLowerCase()))throw new se(n,"Invalid type identifier: ".concat(n.value));return{type:"function",arg:e.value,key:n.value,ctx:r};case"func-args":if(ie(n.value.toLowerCase())){var a="Invalid type identifier: ".concat(n.value);throw new se(n,a)}var s=this.parseBody(!this.strict&&t);return this.strict&&s.length>0&&(s=function(e,t){var r,n="",i="",o=x(t);try{for(o.s();!(r=o.n()).done;){var a=r.value,s=a.ctx.text;switch(i+=s,a.type){case"content":n+=a.value;break;case"argument":case"function":case"octothorpe":n+=s;break;default:throw new se(e,"Unsupported part in strict mode function arg style: ".concat(s))}}}catch(e){o.e(e)}finally{o.f()}return[{type:"content",value:n.trim(),ctx:Object.assign({},t[0].ctx,{text:i})}]}(e,s)),{type:"function",arg:e.value,key:n.value,param:s,ctx:r};case"select":if(ie(n.value))return this.parseSelect(e,t,r,n.value);throw new se(n,"Unexpected select type ".concat(n.value));default:throw new se(n,"Unexpected lexer token: ".concat(n.type))}}},{key:"parseBody",value:function(e,t){var r,n=[],i=null,o=x(this.lexer);try{for(o.s();!(r=o.n()).done;){var a=r.value;if("argument"===a.type)i&&(i=null),n.push(this.parseArgToken(a,e));else if("octothorpe"===a.type&&e)i&&(i=null),n.push({type:"octothorpe",ctx:ne(a)});else{if("end"===a.type&&!t)return n;var s=a.value;if(!e&&"quoted"===a.type&&"#"===s[0]){if(s.includes("{"))throw new se(a,"Unsupported escape pattern: ".concat(s));s=a.text}i?(i.value+=s,i.ctx.text+=a.text,i.ctx.lineBreaks+=a.lineBreaks):(i={type:"content",value:s,ctx:ne(a)},n.push(i))}}}catch(e){o.e(e)}finally{o.f()}if(t)return n;throw new se(null,"Unexpected message end")}}]),e}();function ce(e){return ce[e]||(ce[e]=new Intl.NumberFormat(e))}te=X.parse=function(e){return new ue(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).parse()};var le=Object.freeze({__proto__:null,_nf:ce,number:function(e,t,r){return ce(e).format(t-r)},plural:function(e,t,r,n,i){if({}.hasOwnProperty.call(n,e))return n[e];t&&(e-=t);var o=r(e,i);return o in n?n[o]:n.other},reqArgs:function(e,t){for(var r=0;r<e.length;++r)if(!t||void 0===t[e[r]])throw new Error("Message requires argument '".concat(e[r],"'"))},select:function(e,t){return{}.hasOwnProperty.call(t,e)?t[e]:t.other},strictNumber:function(e,t,r,n){var i=t-r;if(isNaN(i))throw new Error("`"+n+"` or its offset is not a number");return ce(e).format(i)}}),fe={};function he(e,t){var r=String(e)+JSON.stringify(t);return fe[r]||(fe[r]=new Intl.NumberFormat(e,t)),fe[r]}var pe=Object.freeze({__proto__:null,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)},duration:function(e){if("number"!=typeof e&&(e=Number(e)),!isFinite(e))return String(e);var t="";e<0?(t="-",e=Math.abs(e)):e=Number(e);var r=e%60,n=[Math.round(r)===r?r:r.toFixed(3)];return e<60?n.unshift(0):(e=Math.round((e-Number(n[0]))/60),n.unshift(e%60),e>=60&&(e=Math.round((e-Number(n[0]))/60),n.unshift(e))),t+n.shift()+":"+n.map((function(e){return Number(e)<10?"0"+String(e):String(e)})).join(":")},numberCurrency:function(e,t,r){return he(t,{style:"currency",currency:r,minimumFractionDigits:2,maximumFractionDigits:2}).format(e)},numberFmt:function(e,t,r,n){var i=r&&r.split(":")||[],o=i[0],a=i[1];return he(t,{integer:{maximumFractionDigits:0},percent:{style:"percent"},currency:{style:"currency",currency:a&&a.trim()||n,minimumFractionDigits:2,maximumFractionDigits:2}}[o]||{}).format(e)},numberInteger:function(e,t){return he(t,{maximumFractionDigits:0}).format(e)},numberPercent:function(e,t){return he(t,{style:"percent"}).format(e)},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)}}),de=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}({ES3:{break:!0,continue:!0,delete:!0,else:!0,for:!0,function:!0,if:!0,in:!0,new:!0,return:!0,this:!0,typeof:!0,var:!0,void:!0,while:!0,with:!0,case:!0,catch:!0,default:!0,do:!0,finally:!0,instanceof:!0,switch:!0,throw:!0,try:!0},ESnext:{await:!0,debugger:!0,class:!0,enum:!0,extends:!0,super:!0,const:!0,export:!0,import:!0,null:!0,true:!0,false:!0,implements:!0,let:!0,private:!0,public:!0,yield:!0,interface:!0,package:!0,protected:!0,static:!0}});function ye(e,t){t&&(e+=" "+function(e){for(var t=0,r=0;r<e.length;++r)t=(t<<5)-t+e.charCodeAt(r),t|=0;return t}(e).toString(36));var r=e.trim().replace(/\W+/g,"_");return de.ES3[r]||de.ESnext[r]||/^\d/.test(r)?"_"+r:r}function me(e,t){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(t)&&!de.ES3[t])return e?e+"."+t:t;var r=JSON.stringify(t);return e?e+"["+r+"]":r}var ge=new RegExp("^"+["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"].join("|^")),ve="@messageformat/runtime/lib/plurals",be=function(){function r(e){this.arguments=[],this.runtime={},this.options=e}return r.prototype.compile=function(e,r,n){var i,o,a=this,s=this.options,u=s.localeCodeFromKey,c=s.requireAllArguments,l=s.strict,f=s.strictPluralKeys;if("object"==v(e)){var h={};try{for(var p=t(Object.keys(e)),d=p.next();!d.done;d=p.next()){var y=d.value,m=u?u(y):y,g=n&&m&&n[m]||r;h[y]=this.compile(e[y],g,n)}}catch(e){i={error:e}}finally{try{d&&!d.done&&(o=p.return)&&o.call(p)}finally{if(i)throw i.error}}return h}this.plural=r;var b={cardinal:r.cardinals,ordinal:r.ordinals,strict:l,strictPluralKeys:f};this.arguments=[];var w=te(e,b).map((function(e){return a.token(e,null)})),x=this.arguments.length>0,k=this.concatenate(w,!0);if(c&&x){this.setRuntimeFn("reqArgs");var F=JSON.stringify(this.arguments);return"(d) => { reqArgs(".concat(F,", d); return ").concat(k,"; }")}return"(".concat(x?"d":"",") => ").concat(k)},r.prototype.cases=function(e,t){var r=this,n=!0,i=e.cases.map((function(e){var i=e.key,o=e.tokens;"other"===i&&(n=!1);var a=o.map((function(e){return r.token(e,t)}));return"".concat(me(null,i.replace(/^=/,"")),": ").concat(r.concatenate(a,!1))}));if(n){var o=e.type,a=this.plural,s=a.cardinals,u=a.ordinals;if("select"===o||"plural"===o&&s.includes("other")||"selectordinal"===o&&u.includes("other"))throw new Error("No 'other' form found in ".concat(JSON.stringify(e)))}return"{ ".concat(i.join(", ")," }")},r.prototype.concatenate=function(e,t){return"values"===this.options.returnType&&(t||e.length>1)?"["+e.join(", ")+"]":e.join(" + ")||'""'},r.prototype.token=function(e,t){if("content"===e.type)return JSON.stringify(e.value);var r,n,i,o,a,s,u=this.plural,c=u.id,l=u.lc;switch("arg"in e?(this.arguments.push(e.arg),r=[me("d",e.arg)]):r=[],e.type){case"argument":return this.options.biDiSupport?(i=String(r[0]),o=l,a=ge.test(o),s=JSON.stringify(a?"‏":"‎"),"".concat(s," + ").concat(i," + ").concat(s)):String(r[0]);case"select":n="select",t&&this.options.strict&&(t=null),r.push(this.cases(e,t)),this.setRuntimeFn("select");break;case"selectordinal":n="plural",r.push(e.pluralOffset||0,c,this.cases(e,e),1),this.setLocale(c,!0),this.setRuntimeFn("plural");break;case"plural":n="plural",r.push(e.pluralOffset||0,c,this.cases(e,e)),this.setLocale(c,!1),this.setRuntimeFn("plural");break;case"function":var f=this.options.customFormatters[e.key],h=f&&"module"in f&&"function"==typeof f.module;if(!f){if("date"===e.key){n=this.setDateFormatter(e,r,t);break}if("number"===e.key){n=this.setNumberFormatter(e,r,t);break}}if(r.push(JSON.stringify(this.plural.locale)),e.param){t&&this.options.strict&&(t=null);var p=this.getFormatterArg(e,t);p&&r.push(p)}n=h?ye("".concat(e.key,"__").concat(this.plural.locale)):e.key,this.setFormatter(n,e.key);break;case"octothorpe":if(!t)return'"#"';r=[JSON.stringify(this.plural.locale),me("d",t.arg),t.pluralOffset||0],this.options.strict?(n="strictNumber",r.push(JSON.stringify(t.arg)),this.setRuntimeFn("strictNumber")):(n="number",this.setRuntimeFn("number"))}if(!n)throw new Error("Parser error for token "+JSON.stringify(e));return"".concat(n,"(").concat(r.join(", "),")")},r.prototype.runtimeIncludes=function(e,t){if(ye(e)!==e)throw new SyntaxError("Reserved word used as ".concat(t," identifier: ").concat(e));var r=this.runtime[e];if(!r||r.type===t)return r;throw new TypeError("Cannot override ".concat(r.type," runtime function as ").concat(t,": ").concat(e))},r.prototype.setLocale=function(e,t){var r,n,i,o=this.runtimeIncludes(e,"locale"),a=this.plural,s=a.getCardinal,u=a.getPlural,c=a.isDefault;if(!t&&c&&s){if(o)return;r=function(e){return s(e)},n="@messageformat/runtime/lib/cardinals",i=function(){return String(s)}}else{if(o&&(!c||o.module===ve))return;r=function(e,t){return u(e,t)},n=c?ve:u.module||null,i=function(){return String(u)}}this.runtime[e]=Object.assign(r,{id:e,module:n,toString:i,type:"locale"})},r.prototype.setRuntimeFn=function(e){this.runtimeIncludes(e,"runtime")||(this.runtime[e]=Object.assign(le[e],{id:e,module:"@messageformat/runtime",type:"runtime"}))},r.prototype.getFormatterArg=function(e,r){var n,i,o,a,s=this,u=e.key,c=e.param,l=this.options.customFormatters[u]||we(u)&&pe[u];if(!l||!c)return null;var f="arg"in l&&l.arg||"string";if("options"===f){var h="";try{for(var p=t(c),d=p.next();!d.done;d=p.next()){var y=d.value;if("content"!==y.type)throw new SyntaxError("Expected literal options for ".concat(u," formatter"));h+=y.value}}catch(e){n={error:e}}finally{try{d&&!d.done&&(i=p.return)&&i.call(p)}finally{if(n)throw n.error}}var m={};try{for(var g=t(h.split(",")),v=g.next();!v.done;v=g.next()){var b=v.value,w=b.indexOf(":");if(-1===w)m[b.trim()]=null;else{var x=b.substring(0,w).trim(),k=b.substring(w+1).trim();if("true"===k)m[x]=!0;else if("false"===k)m[x]=!1;else if("null"===k)m[x]=null;else{var F=Number(k);m[x]=Number.isFinite(F)?F:k}}}}catch(e){o={error:e}}finally{try{v&&!v.done&&(a=g.return)&&a.call(g)}finally{if(o)throw o.error}}return JSON.stringify(m)}var S=c.map((function(e){return s.token(e,r)}));if("raw"===f)return"[".concat(S.join(", "),"]");var E=S.join(" + ");return E?"(".concat(E,").trim()"):'""'},r.prototype.setFormatter=function(t,r){if(!this.runtimeIncludes(t,"formatter")){var n=this.options.customFormatters[r||t];if(n){var i="function"==typeof n?{formatter:n}:n;this.runtime[t]=Object.assign(i.formatter.bind({}),e(e({},i.formatter.prototype),{toString:function(){return String(i.formatter)}}),{type:"formatter"},"module"in n&&n.module&&n.id?{id:ye(n.id),module:"function"==typeof n.module?n.module(this.plural.locale):n.module}:{id:null,module:null})}else{if(!we(t))throw new Error("Formatting function not found: ".concat(t));this.runtime[t]=Object.assign(pe[t],{type:"formatter"},{id:t,module:"@messageformat/runtime/lib/formatters"})}}},r.prototype.setDateFormatter=function(e,t,r){var n=this,i=e.param,o=this.plural.locale,a=i&&1===i.length&&i[0];if(a&&"content"===a.type&&/^\s*::/.test(a.value)){var s=a.value.trim().substr(2),u=ye("date_".concat(o,"_").concat(s),!0);if(!this.runtimeIncludes(u,"formatter")){var c=function(e,t,r){"string"==typeof t&&(t=E(t));var n=b(t,void 0),i=new Intl.DateTimeFormat(e,n);return function(e){return i.format(e)}}(o,s);this.runtime[u]=Object.assign(c,{id:u,module:null,toString:function(){return function(e,t,r){"string"==typeof t&&(t=E(t));var n=b(t,void 0);return["(function() {","var opt = ".concat(JSON.stringify(n),";"),"var dtf = new Intl.DateTimeFormat(".concat(JSON.stringify(e),", opt);"),"return function(value) { return dtf.format(value); }"].join("\n ")+"\n})()"}(o,s)},type:"formatter"})}return u}if(t.push(JSON.stringify(o)),i&&i.length>0){r&&this.options.strict&&(r=null);var l=i.map((function(e){return n.token(e,r)}));t.push("("+(l.join(" + ")||'""')+").trim()")}return this.setFormatter("date"),"date"},r.prototype.setNumberFormatter=function(e,t,r){var n=this,i=e.param,o=this.plural.locale;if(!i||0===i.length)return t.unshift(JSON.stringify(o)),t.push("0"),this.setRuntimeFn("number"),"number";if(t.push(JSON.stringify(o)),1===i.length&&"content"===i[0].type){var a=i[0].value.trim();switch(a){case"currency":return t.push(JSON.stringify(this.options.currency)),this.setFormatter("numberCurrency"),"numberCurrency";case"integer":return this.setFormatter("numberInteger"),"numberInteger";case"percent":return this.setFormatter("numberPercent"),"numberPercent"}var s=a.match(/^currency:([A-Z]+)$/);if(s)return t.push(JSON.stringify(s[1])),this.setFormatter("numberCurrency"),"numberCurrency";var u=ye("number_".concat(o,"_").concat(a),!0);if(!this.runtimeIncludes(u,"formatter")){var c=this.options.currency,l=function(e,t,r,n){"string"==typeof t&&(t=0===t.indexOf("::")?$(t.slice(2),n):H(t,r,n));var i=B(e,t),o=I(t,n),a=function(e){var t=C(e),r=e.precision;return r&&"precision-increment"===r.style?function(e){return function(e,t){var r=+e+t/2;return r-r%+t}(e,r.increment)*t}:function(e){return e*t}}(t),s=new Intl.NumberFormat(i,o);if(t.affix){var u=f(t.affix.pos,2),c=u[0],l=u[1],h=t.affix.neg||["",""],p=f(h,2),d=p[0],y=p[1];return function(e){var t=s.format(a(e));return e<0?"".concat(d).concat(t).concat(y):"".concat(c).concat(t).concat(l)}}return function(e){return s.format(a(e))}}(o,a,c);this.runtime[u]=Object.assign(l,{id:null,module:null,toString:function(){return function(e,t,r,n){"string"==typeof t&&(t=0===t.indexOf("::")?$(t.slice(2),n):H(t,r,n));var i=B(e,t),o=I(t,n),a=function(e){var t=C(e),r=e.precision;if(r&&"precision-increment"===r.style){var n="+n + "+r.increment/2,i="x - (x % +".concat(r.increment,")");return 1!==t&&(i="(".concat(i,") * ").concat(t)),"function(n) { var x = ".concat(n,"; return ").concat(i,"; }")}return 1!==t?"function(n) { return n * ".concat(t,"; }"):null}(t),s=["(function() {","var opt = ".concat(JSON.stringify(o),";"),"var nf = new Intl.NumberFormat(".concat(JSON.stringify(i),", opt);")],u="nf.format(value)";if(a&&(s.push("var mod = ".concat(a,";")),u="nf.format(mod(value))"),t.affix){var c=t.affix.pos.map((function(e){return JSON.stringify(e)})),l=f(c,2),h=l[0],p=l[1];if(t.affix.neg){var d=t.affix.neg.map((function(e){return JSON.stringify(e)})),y=f(d,2),m=y[0],g=y[1];u="value < 0 ? ".concat(m," + ").concat(u," + ").concat(g," : ").concat(h," + ").concat(u," + ").concat(p)}else u="".concat(h," + ").concat(u," + ").concat(p)}return s.push("return function(value) { return ".concat(u,"; }")),s.join("\n ")+"\n})()"}(o,a,c)},type:"formatter"})}return u}r&&this.options.strict&&(r=null);var h=i.map((function(e){return n.token(e,r)}));return t.push("("+(h.join(" + ")||'""')+").trim()"),t.push(JSON.stringify(this.options.currency)),this.setFormatter("numberFmt"),"numberFmt"},r}();function we(e){return e in pe}var xe=function(e){return 1==e?"one":"other"},ke=function(e){return 0==e||1==e?"one":"other"},Fe=function(e){return e>=0&&e<=1?"one":"other"},Se=function(e){var t=!String(e).split(".")[1];return 1==e&&t?"one":"other"},Ee=function(e){return"other"},_e=function(e){return 1==e?"one":2==e?"two":"other"},Oe=xe,De=ke,Te=Fe,Ae=xe,je=Fe,Ne=xe,Pe=Se,Be=xe,Ce=xe,Ie=xe,Le=xe,Me=xe,ze=ke,Re=Ee,qe=Fe,Ue=Ee,He=xe,Ge=xe,We=xe,Je=xe,Ze=xe,Ke=Se,$e=Fe,Ve=xe,Xe=Ee,Ye=xe,Qe=xe,et=Se,tt=xe,rt=Se,nt=xe,it=Fe,ot=Se,at=xe,st=xe,ut=Se,ct=Se,lt=xe,ft=Fe,ht=ke,pt=xe,dt=xe,yt=Fe,mt=Ee,gt=xe,vt=Se,bt=Ee,wt=Ee,xt=Ee,kt=Se,Ft=_e,St=Ee,Et=Ee,_t=xe,Ot=xe,Dt=Ee,Tt=Ee,At=xe,jt=xe,Nt=xe,Pt=Ee,Bt=Ee,Ct=xe,It=xe,Lt=xe,Mt=Ee,zt=Fe,Rt=Ee,qt=xe,Ut=xe,Ht=xe,Gt=xe,Wt=xe,Jt=xe,Zt=Se,Kt=Ee,$t=ke,Vt=Ee,Xt=xe,Yt=ke,Qt=xe,er=xe,tr=xe,rr=xe,nr=Ee,ir=Ee,or=xe,ar=_e,sr=xe,ur=xe,cr=xe,lr=Se,fr=xe,hr=xe,pr=xe,dr=Ee,yr=xe,mr=ke,gr=xe,vr=xe,br=xe,wr=xe,xr=xe,kr=Ee,Fr=ke,Sr=xe,Er=Fe,_r=xe,Or=xe,Dr=xe,Tr=xe,Ar=Ee,jr=xe,Nr=_e,Pr=Se,Br=Se,Cr=xe,Ir=xe,Lr=_e,Mr=xe,zr=Ee,Rr=Ee,qr=_e,Ur=_e,Hr=_e,Gr=_e,Wr=_e,Jr=xe,Zr=xe,Kr=xe,$r=xe,Vr=xe,Xr=xe,Yr=Ee,Qr=Se,en=Se,tn=xe,rn=xe,nn=xe,on=xe,an=Ee,sn=ke,un=xe,cn=xe,ln=xe,fn=Ee,hn=Ee,pn=xe,dn=xe,yn=xe,mn=Ee,gn=Se,vn=xe,bn=xe,wn=Ee,xn=xe,kn=xe,Fn=ke,Sn=xe,En=Ee,_n=xe,On=xe,Dn=Se,Tn=Ee,An=Ee,jn=Ee,Nn=Fe,Pn=Object.freeze({__proto__:null,af:Oe,ak:De,am:Te,an:Ae,ar:function(e){var t=String(e).split("."),r=Number(t[0])==e&&t[0].slice(-2);return 0==e?"zero":1==e?"one":2==e?"two":r>=3&&r<=10?"few":r>=11&&r<=99?"many":"other"},ars:function(e){var t=String(e).split("."),r=Number(t[0])==e&&t[0].slice(-2);return 0==e?"zero":1==e?"one":2==e?"two":r>=3&&r<=10?"few":r>=11&&r<=99?"many":"other"},as:je,asa:Ne,ast:Pe,az:Be,bal:Ce,be:function(e){var t=String(e).split("."),r=Number(t[0])==e,n=r&&t[0].slice(-1),i=r&&t[0].slice(-2);return 1==n&&11!=i?"one":n>=2&&n<=4&&(i<12||i>14)?"few":r&&0==n||n>=5&&n<=9||i>=11&&i<=14?"many":"other"},bem:Ie,bez:Le,bg:Me,bho:ze,bm:Re,bn:qe,bo:Ue,br:function(e){var t=String(e).split("."),r=Number(t[0])==e,n=r&&t[0].slice(-1),i=r&&t[0].slice(-2),o=r&&t[0].slice(-6);return 1==n&&11!=i&&71!=i&&91!=i?"one":2==n&&12!=i&&72!=i&&92!=i?"two":(3==n||4==n||9==n)&&(i<10||i>19)&&(i<70||i>79)&&(i<90||i>99)?"few":0!=e&&r&&0==o?"many":"other"},brx:He,bs:function(e){var t=String(e).split("."),r=t[0],n=t[1]||"",i=!t[1],o=r.slice(-1),a=r.slice(-2),s=n.slice(-1),u=n.slice(-2);return i&&1==o&&11!=a||1==s&&11!=u?"one":i&&o>=2&&o<=4&&(a<12||a>14)||s>=2&&s<=4&&(u<12||u>14)?"few":"other"},ca:function(e){var t=String(e).split("."),r=t[0],n=!t[1],i=r.slice(-6);return 1==e&&n?"one":0!=r&&0==i&&n?"many":"other"},ce:Ge,ceb:function(e){var t=String(e).split("."),r=t[0],n=t[1]||"",i=!t[1],o=r.slice(-1),a=n.slice(-1);return i&&(1==r||2==r||3==r)||i&&4!=o&&6!=o&&9!=o||!i&&4!=a&&6!=a&&9!=a?"one":"other"},cgg:We,chr:Je,ckb:Ze,cs:function(e){var t=String(e).split("."),r=t[0],n=!t[1];return 1==e&&n?"one":r>=2&&r<=4&&n?"few":n?"other":"many"},cy:function(e){return 0==e?"zero":1==e?"one":2==e?"two":3==e?"few":6==e?"many":"other"},da:function(e){var t=String(e).split("."),r=t[0],n=Number(t[0])==e;return 1!=e&&(n||0!=r&&1!=r)?"other":"one"},de:Ke,doi:$e,dsb:function(e){var t=String(e).split("."),r=t[0],n=t[1]||"",i=!t[1],o=r.slice(-2),a=n.slice(-2);return i&&1==o||1==a?"one":i&&2==o||2==a?"two":i&&(3==o||4==o)||3==a||4==a?"few":"other"},dv:Ve,dz:Xe,ee:Ye,el:Qe,en:et,eo:tt,es:function(e){var t=String(e).split("."),r=t[0],n=!t[1],i=r.slice(-6);return 1==e?"one":0!=r&&0==i&&n?"many":"other"},et:rt,eu:nt,fa:it,ff:function(e){return e>=0&&e<2?"one":"other"},fi:ot,fil:function(e){var t=String(e).split("."),r=t[0],n=t[1]||"",i=!t[1],o=r.slice(-1),a=n.slice(-1);return i&&(1==r||2==r||3==r)||i&&4!=o&&6!=o&&9!=o||!i&&4!=a&&6!=a&&9!=a?"one":"other"},fo:at,fr:function(e){var t=String(e).split("."),r=t[0],n=!t[1],i=r.slice(-6);return e>=0&&e<2?"one":0!=r&&0==i&&n?"many":"other"},fur:st,fy:ut,ga:function(e){var t=String(e).split("."),r=Number(t[0])==e;return 1==e?"one":2==e?"two":r&&e>=3&&e<=6?"few":r&&e>=7&&e<=10?"many":"other"},gd:function(e){var t=String(e).split("."),r=Number(t[0])==e;return 1==e||11==e?"one":2==e||12==e?"two":r&&e>=3&&e<=10||r&&e>=13&&e<=19?"few":"other"},gl:ct,gsw:lt,gu:ft,guw:ht,gv:function(e){var t=String(e).split("."),r=t[0],n=!t[1],i=r.slice(-1),o=r.slice(-2);return n&&1==i?"one":n&&2==i?"two":!n||0!=o&&20!=o&&40!=o&&60!=o&&80!=o?n?"other":"many":"few"},ha:pt,haw:dt,he:function(e){var t=String(e).split("."),r=t[0],n=!t[1];return 1==r&&n||0==r&&!n?"one":2==r&&n?"two":"other"},hi:yt,hnj:mt,hr:function(e){var t=String(e).split("."),r=t[0],n=t[1]||"",i=!t[1],o=r.slice(-1),a=r.slice(-2),s=n.slice(-1),u=n.slice(-2);return i&&1==o&&11!=a||1==s&&11!=u?"one":i&&o>=2&&o<=4&&(a<12||a>14)||s>=2&&s<=4&&(u<12||u>14)?"few":"other"},hsb:function(e){var t=String(e).split("."),r=t[0],n=t[1]||"",i=!t[1],o=r.slice(-2),a=n.slice(-2);return i&&1==o||1==a?"one":i&&2==o||2==a?"two":i&&(3==o||4==o)||3==a||4==a?"few":"other"},hu:gt,hy:function(e){return e>=0&&e<2?"one":"other"},ia:vt,id:bt,ig:wt,ii:xt,io:kt,is:function(e){var t=String(e).split("."),r=t[0],n=(t[1]||"").replace(/0+$/,""),i=Number(t[0])==e,o=r.slice(-1),a=r.slice(-2);return i&&1==o&&11!=a||n%10==1&&n%100!=11?"one":"other"},it:function(e){var t=String(e).split("."),r=t[0],n=!t[1],i=r.slice(-6);return 1==e&&n?"one":0!=r&&0==i&&n?"many":"other"},iu:Ft,ja:St,jbo:Et,jgo:_t,jmc:Ot,jv:Dt,jw:Tt,ka:At,kab:function(e){return e>=0&&e<2?"one":"other"},kaj:jt,kcg:Nt,kde:Pt,kea:Bt,kk:Ct,kkj:It,kl:Lt,km:Mt,kn:zt,ko:Rt,ks:qt,ksb:Ut,ksh:function(e){return 0==e?"zero":1==e?"one":"other"},ku:Ht,kw:function(e){var t=String(e).split("."),r=Number(t[0])==e,n=r&&t[0].slice(-2),i=r&&t[0].slice(-3),o=r&&t[0].slice(-5),a=r&&t[0].slice(-6);return 0==e?"zero":1==e?"one":2==n||22==n||42==n||62==n||82==n||r&&0==i&&(o>=1e3&&o<=2e4||4e4==o||6e4==o||8e4==o)||0!=e&&1e5==a?"two":3==n||23==n||43==n||63==n||83==n?"few":1==e||1!=n&&21!=n&&41!=n&&61!=n&&81!=n?"other":"many"},ky:Gt,lag:function(e){var t=String(e).split(".")[0];return 0==e?"zero":0!=t&&1!=t||0==e?"other":"one"},lb:Wt,lg:Jt,lij:Zt,lkt:Kt,ln:$t,lo:Vt,lt:function(e){var t=String(e).split("."),r=t[1]||"",n=Number(t[0])==e,i=n&&t[0].slice(-1),o=n&&t[0].slice(-2);return 1==i&&(o<11||o>19)?"one":i>=2&&i<=9&&(o<11||o>19)?"few":0!=r?"many":"other"},lv:function(e){var t=String(e).split("."),r=t[1]||"",n=r.length,i=Number(t[0])==e,o=i&&t[0].slice(-1),a=i&&t[0].slice(-2),s=r.slice(-2),u=r.slice(-1);return i&&0==o||a>=11&&a<=19||2==n&&s>=11&&s<=19?"zero":1==o&&11!=a||2==n&&1==u&&11!=s||2!=n&&1==u?"one":"other"},mas:Xt,mg:Yt,mgo:Qt,mk:function(e){var t=String(e).split("."),r=t[0],n=t[1]||"",i=!t[1],o=r.slice(-1),a=r.slice(-2),s=n.slice(-1),u=n.slice(-2);return i&&1==o&&11!=a||1==s&&11!=u?"one":"other"},ml:er,mn:tr,mo:function(e){var t=String(e).split("."),r=!t[1],n=Number(t[0])==e&&t[0].slice(-2);return 1==e&&r?"one":!r||0==e||1!=e&&n>=1&&n<=19?"few":"other"},mr:rr,ms:nr,mt:function(e){var t=String(e).split("."),r=Number(t[0])==e&&t[0].slice(-2);return 1==e?"one":2==e?"two":0==e||r>=3&&r<=10?"few":r>=11&&r<=19?"many":"other"},my:ir,nah:or,naq:ar,nb:sr,nd:ur,ne:cr,nl:lr,nn:fr,nnh:hr,no:pr,nqo:dr,nr:yr,nso:mr,ny:gr,nyn:vr,om:br,or:wr,os:xr,osa:kr,pa:Fr,pap:Sr,pcm:Er,pl:function(e){var t=String(e).split("."),r=t[0],n=!t[1],i=r.slice(-1),o=r.slice(-2);return 1==e&&n?"one":n&&i>=2&&i<=4&&(o<12||o>14)?"few":n&&1!=r&&(0==i||1==i)||n&&i>=5&&i<=9||n&&o>=12&&o<=14?"many":"other"},prg:function(e){var t=String(e).split("."),r=t[1]||"",n=r.length,i=Number(t[0])==e,o=i&&t[0].slice(-1),a=i&&t[0].slice(-2),s=r.slice(-2),u=r.slice(-1);return i&&0==o||a>=11&&a<=19||2==n&&s>=11&&s<=19?"zero":1==o&&11!=a||2==n&&1==u&&11!=s||2!=n&&1==u?"one":"other"},ps:_r,pt:function(e){var t=String(e).split("."),r=t[0],n=!t[1],i=r.slice(-6);return 0==r||1==r?"one":0!=r&&0==i&&n?"many":"other"},pt_PT:function(e){var t=String(e).split("."),r=t[0],n=!t[1],i=r.slice(-6);return 1==e&&n?"one":0!=r&&0==i&&n?"many":"other"},rm:Or,ro:function(e){var t=String(e).split("."),r=!t[1],n=Number(t[0])==e&&t[0].slice(-2);return 1==e&&r?"one":!r||0==e||1!=e&&n>=1&&n<=19?"few":"other"},rof:Dr,ru:function(e){var t=String(e).split("."),r=t[0],n=!t[1],i=r.slice(-1),o=r.slice(-2);return n&&1==i&&11!=o?"one":n&&i>=2&&i<=4&&(o<12||o>14)?"few":n&&0==i||n&&i>=5&&i<=9||n&&o>=11&&o<=14?"many":"other"},rwk:Tr,sah:Ar,saq:jr,sat:Nr,sc:Pr,scn:Br,sd:Cr,sdh:Ir,se:Lr,seh:Mr,ses:zr,sg:Rr,sh:function(e){var t=String(e).split("."),r=t[0],n=t[1]||"",i=!t[1],o=r.slice(-1),a=r.slice(-2),s=n.slice(-1),u=n.slice(-2);return i&&1==o&&11!=a||1==s&&11!=u?"one":i&&o>=2&&o<=4&&(a<12||a>14)||s>=2&&s<=4&&(u<12||u>14)?"few":"other"},shi:function(e){var t=String(e).split("."),r=Number(t[0])==e;return e>=0&&e<=1?"one":r&&e>=2&&e<=10?"few":"other"},si:function(e){var t=String(e).split("."),r=t[0],n=t[1]||"";return 0==e||1==e||0==r&&1==n?"one":"other"},sk:function(e){var t=String(e).split("."),r=t[0],n=!t[1];return 1==e&&n?"one":r>=2&&r<=4&&n?"few":n?"other":"many"},sl:function(e){var t=String(e).split("."),r=t[0],n=!t[1],i=r.slice(-2);return n&&1==i?"one":n&&2==i?"two":n&&(3==i||4==i)||!n?"few":"other"},sma:qr,smi:Ur,smj:Hr,smn:Gr,sms:Wr,sn:Jr,so:Zr,sq:Kr,sr:function(e){var t=String(e).split("."),r=t[0],n=t[1]||"",i=!t[1],o=r.slice(-1),a=r.slice(-2),s=n.slice(-1),u=n.slice(-2);return i&&1==o&&11!=a||1==s&&11!=u?"one":i&&o>=2&&o<=4&&(a<12||a>14)||s>=2&&s<=4&&(u<12||u>14)?"few":"other"},ss:$r,ssy:Vr,st:Xr,su:Yr,sv:Qr,sw:en,syr:tn,ta:rn,te:nn,teo:on,th:an,ti:sn,tig:un,tk:cn,tl:function(e){var t=String(e).split("."),r=t[0],n=t[1]||"",i=!t[1],o=r.slice(-1),a=n.slice(-1);return i&&(1==r||2==r||3==r)||i&&4!=o&&6!=o&&9!=o||!i&&4!=a&&6!=a&&9!=a?"one":"other"},tn:ln,to:fn,tpi:hn,tr:pn,ts:dn,tzm:function(e){var t=String(e).split("."),r=Number(t[0])==e;return 0==e||1==e||r&&e>=11&&e<=99?"one":"other"},ug:yn,uk:function(e){var t=String(e).split("."),r=t[0],n=!t[1],i=r.slice(-1),o=r.slice(-2);return n&&1==i&&11!=o?"one":n&&i>=2&&i<=4&&(o<12||o>14)?"few":n&&0==i||n&&i>=5&&i<=9||n&&o>=11&&o<=14?"many":"other"},und:mn,ur:gn,uz:vn,ve:bn,vec:function(e){var t=String(e).split("."),r=t[0],n=!t[1],i=r.slice(-6);return 1==e&&n?"one":0!=r&&0==i&&n?"many":"other"},vi:wn,vo:xn,vun:kn,wa:Fn,wae:Sn,wo:En,xh:_n,xog:On,yi:Dn,yo:Tn,yue:An,zh:jn,zu:Nn}),Bn="zero",Cn="one",In="two",Ln="few",Mn="many",zn="other",Rn={cardinal:[Cn,zn],ordinal:[zn]},qn={cardinal:[Cn,zn],ordinal:[Cn,zn]},Un={cardinal:[zn],ordinal:[zn]},Hn={cardinal:[Cn,In,zn],ordinal:[zn]},Gn=Rn,Wn=Rn,Jn=Rn,Zn=Rn,Kn={cardinal:[Bn,Cn,In,Ln,Mn,zn],ordinal:[zn]},$n={cardinal:[Bn,Cn,In,Ln,Mn,zn],ordinal:[zn]},Vn={cardinal:[Cn,zn],ordinal:[Cn,In,Ln,Mn,zn]},Xn=Rn,Yn=Rn,Qn={cardinal:[Cn,zn],ordinal:[Cn,Ln,Mn,zn]},ei=qn,ti={cardinal:[Cn,Ln,Mn,zn],ordinal:[Ln,zn]},ri=Rn,ni=Rn,ii=Rn,oi=Rn,ai=Un,si={cardinal:[Cn,zn],ordinal:[Cn,In,Ln,Mn,zn]},ui=Un,ci={cardinal:[Cn,In,Ln,Mn,zn],ordinal:[zn]},li=Rn,fi={cardinal:[Cn,Ln,zn],ordinal:[zn]},hi={cardinal:[Cn,Mn,zn],ordinal:[Cn,In,Ln,zn]},pi=Rn,di=Rn,yi=Rn,mi=Rn,gi=Rn,vi={cardinal:[Cn,Ln,Mn,zn],ordinal:[zn]},bi={cardinal:[Bn,Cn,In,Ln,Mn,zn],ordinal:[Bn,Cn,In,Ln,Mn,zn]},wi=Rn,xi=Rn,ki=Rn,Fi={cardinal:[Cn,In,Ln,zn],ordinal:[zn]},Si=Rn,Ei=Un,_i=Rn,Oi=Rn,Di={cardinal:[Cn,zn],ordinal:[Cn,In,Ln,zn]},Ti=Rn,Ai={cardinal:[Cn,Mn,zn],ordinal:[zn]},ji=Rn,Ni=Rn,Pi=Rn,Bi=Rn,Ci=Rn,Ii=qn,Li=Rn,Mi={cardinal:[Cn,Mn,zn],ordinal:[Cn,zn]},zi=Rn,Ri=Rn,qi={cardinal:[Cn,In,Ln,Mn,zn],ordinal:[Cn,zn]},Ui={cardinal:[Cn,In,Ln,zn],ordinal:[Cn,In,Ln,zn]},Hi=Rn,Gi=Rn,Wi={cardinal:[Cn,zn],ordinal:[Cn,In,Ln,Mn,zn]},Ji=Rn,Zi={cardinal:[Cn,In,Ln,Mn,zn],ordinal:[zn]},Ki=Rn,$i=Rn,Vi=Hn,Xi={cardinal:[Cn,zn],ordinal:[Cn,In,Ln,Mn,zn]},Yi=Un,Qi={cardinal:[Cn,Ln,zn],ordinal:[zn]},eo={cardinal:[Cn,In,Ln,zn],ordinal:[zn]},to=qn,ro=qn,no=Rn,io=Un,oo=Un,ao=Un,so=Rn,uo=Rn,co={cardinal:[Cn,Mn,zn],ordinal:[Mn,zn]},lo=Hn,fo=Un,ho=Un,po=Rn,yo=Rn,mo=Un,go=Un,vo={cardinal:[Cn,zn],ordinal:[Cn,Mn,zn]},bo=Rn,wo=Rn,xo=Rn,ko=Un,Fo=Un,So={cardinal:[Cn,zn],ordinal:[Mn,zn]},Eo=Rn,_o=Rn,Oo=Un,Do=Rn,To=Un,Ao=Rn,jo=Rn,No={cardinal:[Bn,Cn,zn],ordinal:[zn]},Po=Rn,Bo={cardinal:[Bn,Cn,In,Ln,Mn,zn],ordinal:[Cn,Mn,zn]},Co=Rn,Io={cardinal:[Bn,Cn,zn],ordinal:[zn]},Lo=Rn,Mo=Rn,zo={cardinal:[Cn,zn],ordinal:[Mn,zn]},Ro=Un,qo=Rn,Uo={cardinal:[zn],ordinal:[Cn,zn]},Ho={cardinal:[Cn,Ln,Mn,zn],ordinal:[zn]},Go={cardinal:[Bn,Cn,zn],ordinal:[zn]},Wo=Rn,Jo=Rn,Zo=Rn,Ko={cardinal:[Cn,zn],ordinal:[Cn,In,Mn,zn]},$o=Rn,Vo=Rn,Xo={cardinal:[Cn,Ln,zn],ordinal:[Cn,zn]},Yo={cardinal:[Cn,zn],ordinal:[Cn,In,Ln,zn]},Qo={cardinal:[zn],ordinal:[Cn,zn]},ea={cardinal:[Cn,In,Ln,Mn,zn],ordinal:[zn]},ta=Un,ra=Rn,na=Hn,ia=Rn,oa=Rn,aa=qn,sa=Rn,ua=Rn,ca=Rn,la=Rn,fa=Un,ha=Rn,pa=Rn,da=Rn,ya=Rn,ma=Rn,ga={cardinal:[Cn,zn],ordinal:[Cn,In,Ln,Mn,zn]},va=Rn,ba=Un,wa=Rn,xa=Rn,ka=Rn,Fa={cardinal:[Cn,Ln,Mn,zn],ordinal:[zn]},Sa={cardinal:[Bn,Cn,zn],ordinal:[zn]},Ea=Rn,_a={cardinal:[Cn,Mn,zn],ordinal:[zn]},Oa={cardinal:[Cn,Mn,zn],ordinal:[zn]},Da=Rn,Ta={cardinal:[Cn,Ln,zn],ordinal:[Cn,zn]},Aa=Rn,ja={cardinal:[Cn,Ln,Mn,zn],ordinal:[zn]},Na=Rn,Pa=Un,Ba=Rn,Ca=Hn,Ia={cardinal:[Cn,zn],ordinal:[Mn,zn]},La={cardinal:[Cn,zn],ordinal:[Mn,zn]},Ma=Rn,za=Rn,Ra=Hn,qa=Rn,Ua=Un,Ha=Un,Ga={cardinal:[Cn,Ln,zn],ordinal:[zn]},Wa={cardinal:[Cn,Ln,zn],ordinal:[zn]},Ja=Rn,Za={cardinal:[Cn,Ln,Mn,zn],ordinal:[zn]},Ka={cardinal:[Cn,In,Ln,zn],ordinal:[zn]},$a=Hn,Va=Hn,Xa=Hn,Ya=Hn,Qa=Hn,es=Rn,ts=Rn,rs={cardinal:[Cn,zn],ordinal:[Cn,Mn,zn]},ns={cardinal:[Cn,Ln,zn],ordinal:[zn]},is=Rn,os=Rn,as=Rn,ss=Un,us=qn,cs=Rn,ls=Rn,fs=Rn,hs=Rn,ps=Rn,ds=Un,ys=Rn,ms=Rn,gs={cardinal:[Cn,zn],ordinal:[Ln,zn]},vs=qn,bs=Rn,ws=Un,xs=Un,ks=Rn,Fs=Rn,Ss=Rn,Es=Rn,_s={cardinal:[Cn,Ln,Mn,zn],ordinal:[Ln,zn]},Os=Un,Ds=Rn,Ts=Rn,As=Rn,js={cardinal:[Cn,Mn,zn],ordinal:[Mn,zn]},Ns={cardinal:[zn],ordinal:[Cn,zn]},Ps=Rn,Bs=Rn,Cs=Rn,Is=Rn,Ls=Un,Ms=Rn,zs=Rn,Rs=Rn,qs=Un,Us=Un,Hs=Un,Gs=Rn,Ws=Object.freeze({__proto__:null,af:Gn,ak:Wn,am:Jn,an:Zn,ar:Kn,ars:$n,as:Vn,asa:Xn,ast:Yn,az:Qn,bal:ei,be:ti,bem:ri,bez:ni,bg:ii,bho:oi,bm:ai,bn:si,bo:ui,br:ci,brx:li,bs:fi,ca:hi,ce:pi,ceb:di,cgg:yi,chr:mi,ckb:gi,cs:vi,cy:bi,da:wi,de:xi,doi:ki,dsb:Fi,dv:Si,dz:Ei,ee:_i,el:Oi,en:Di,eo:Ti,es:Ai,et:ji,eu:Ni,fa:Pi,ff:Bi,fi:Ci,fil:Ii,fo:Li,fr:Mi,fur:zi,fy:Ri,ga:qi,gd:Ui,gl:Hi,gsw:Gi,gu:Wi,guw:Ji,gv:Zi,ha:Ki,haw:$i,he:Vi,hi:Xi,hnj:Yi,hr:Qi,hsb:eo,hu:to,hy:ro,ia:no,id:io,ig:oo,ii:ao,io:so,is:uo,it:co,iu:lo,ja:fo,jbo:ho,jgo:po,jmc:yo,jv:mo,jw:go,ka:vo,kab:bo,kaj:wo,kcg:xo,kde:ko,kea:Fo,kk:So,kkj:Eo,kl:_o,km:Oo,kn:Do,ko:To,ks:Ao,ksb:jo,ksh:No,ku:Po,kw:Bo,ky:Co,lag:Io,lb:Lo,lg:Mo,lij:zo,lkt:Ro,ln:qo,lo:Uo,lt:Ho,lv:Go,mas:Wo,mg:Jo,mgo:Zo,mk:Ko,ml:$o,mn:Vo,mo:Xo,mr:Yo,ms:Qo,mt:ea,my:ta,nah:ra,naq:na,nb:ia,nd:oa,ne:aa,nl:sa,nn:ua,nnh:ca,no:la,nqo:fa,nr:ha,nso:pa,ny:da,nyn:ya,om:ma,or:ga,os:va,osa:ba,pa:wa,pap:xa,pcm:ka,pl:Fa,prg:Sa,ps:Ea,pt:_a,pt_PT:Oa,rm:Da,ro:Ta,rof:Aa,ru:ja,rwk:Na,sah:Pa,saq:Ba,sat:Ca,sc:Ia,scn:La,sd:Ma,sdh:za,se:Ra,seh:qa,ses:Ua,sg:Ha,sh:Ga,shi:Wa,si:Ja,sk:Za,sl:Ka,sma:$a,smi:Va,smj:Xa,smn:Ya,sms:Qa,sn:es,so:ts,sq:rs,sr:ns,ss:is,ssy:os,st:as,su:ss,sv:us,sw:cs,syr:ls,ta:fs,te:hs,teo:ps,th:ds,ti:ys,tig:ms,tk:gs,tl:vs,tn:bs,to:ws,tpi:xs,tr:ks,ts:Fs,tzm:Ss,ug:Es,uk:_s,und:Os,ur:Ds,uz:Ts,ve:As,vec:js,vi:Ns,vo:Ps,vun:Bs,wa:Cs,wae:Is,wo:Ls,xh:Ms,xog:zs,yi:Rs,yo:qs,yue:Us,zh:Hs,zu:Gs}),Js=function(e,t){return t?"other":1==e?"one":"other"},Zs=function(e,t){return t?"other":0==e||1==e?"one":"other"},Ks=function(e,t){return t?"other":e>=0&&e<=1?"one":"other"},$s=function(e,t){var r=!String(e).split(".")[1];return t?"other":1==e&&r?"one":"other"},Vs=function(e,t){return"other"},Xs=function(e,t){return t?"other":1==e?"one":2==e?"two":"other"},Ys=Js,Qs=Zs,eu=Ks,tu=Js,ru=Js,nu=$s,iu=Js,ou=Js,au=Js,su=Zs,uu=Vs,cu=Vs,lu=Js,fu=Js,hu=Js,pu=Js,du=Js,yu=$s,mu=Ks,gu=Js,vu=Vs,bu=Js,wu=Js,xu=Js,ku=$s,Fu=Js,Su=Ks,Eu=$s,_u=Js,Ou=Js,Du=$s,Tu=$s,Au=Js,ju=Zs,Nu=Js,Pu=Js,Bu=Vs,Cu=$s,Iu=Vs,Lu=Vs,Mu=Vs,zu=$s,Ru=Xs,qu=Vs,Uu=Vs,Hu=Js,Gu=Js,Wu=Vs,Ju=Vs,Zu=Js,Ku=Js,$u=Vs,Vu=Vs,Xu=Js,Yu=Js,Qu=Vs,ec=Ks,tc=Vs,rc=Js,nc=Js,ic=Js,oc=Js,ac=Js,sc=Js,uc=Vs,cc=Zs,lc=Js,fc=Zs,hc=Js,pc=Js,dc=Js,yc=Vs,mc=Js,gc=Xs,vc=Js,bc=Js,wc=$s,xc=Js,kc=Js,Fc=Js,Sc=Vs,Ec=Js,_c=Zs,Oc=Js,Dc=Js,Tc=Js,Ac=Js,jc=Vs,Nc=Zs,Pc=Js,Bc=Ks,Cc=Js,Ic=Js,Lc=Js,Mc=Js,zc=Vs,Rc=Js,qc=Xs,Uc=Js,Hc=Js,Gc=Xs,Wc=Js,Jc=Vs,Zc=Vs,Kc=Xs,$c=Xs,Vc=Xs,Xc=Xs,Yc=Xs,Qc=Js,el=Js,tl=Js,rl=Js,nl=Js,il=Vs,ol=$s,al=Js,sl=Js,ul=Js,cl=Js,ll=Vs,fl=Zs,hl=Js,pl=Js,dl=Vs,yl=Vs,ml=Js,gl=Js,vl=Js,bl=Vs,wl=$s,xl=Js,kl=Js,Fl=Js,Sl=Js,El=Zs,_l=Js,Ol=Vs,Dl=Js,Tl=Js,Al=$s,jl=Vs,Nl=Vs,Pl=Vs,Bl=Ks,Cl=Object.freeze({__proto__:null,af:Ys,ak:Qs,am:eu,an:tu,ar:function(e,t){var r=String(e).split("."),n=Number(r[0])==e&&r[0].slice(-2);return t?"other":0==e?"zero":1==e?"one":2==e?"two":n>=3&&n<=10?"few":n>=11&&n<=99?"many":"other"},ars:function(e,t){var r=String(e).split("."),n=Number(r[0])==e&&r[0].slice(-2);return t?"other":0==e?"zero":1==e?"one":2==e?"two":n>=3&&n<=10?"few":n>=11&&n<=99?"many":"other"},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":e>=0&&e<=1?"one":"other"},asa:ru,ast:nu,az:function(e,t){var r=String(e).split(".")[0],n=r.slice(-1),i=r.slice(-2),o=r.slice(-3);return t?1==n||2==n||5==n||7==n||8==n||20==i||50==i||70==i||80==i?"one":3==n||4==n||100==o||200==o||300==o||400==o||500==o||600==o||700==o||800==o||900==o?"few":0==r||6==n||40==i||60==i||90==i?"many":"other":1==e?"one":"other"},bal:function(e,t){return 1==e?"one":"other"},be:function(e,t){var r=String(e).split("."),n=Number(r[0])==e,i=n&&r[0].slice(-1),o=n&&r[0].slice(-2);return t?2!=i&&3!=i||12==o||13==o?"other":"few":1==i&&11!=o?"one":i>=2&&i<=4&&(o<12||o>14)?"few":n&&0==i||i>=5&&i<=9||o>=11&&o<=14?"many":"other"},bem:iu,bez:ou,bg:au,bho:su,bm:uu,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":e>=0&&e<=1?"one":"other"},bo:cu,br:function(e,t){var r=String(e).split("."),n=Number(r[0])==e,i=n&&r[0].slice(-1),o=n&&r[0].slice(-2),a=n&&r[0].slice(-6);return t?"other":1==i&&11!=o&&71!=o&&91!=o?"one":2==i&&12!=o&&72!=o&&92!=o?"two":(3==i||4==i||9==i)&&(o<10||o>19)&&(o<70||o>79)&&(o<90||o>99)?"few":0!=e&&n&&0==a?"many":"other"},brx:lu,bs:function(e,t){var r=String(e).split("."),n=r[0],i=r[1]||"",o=!r[1],a=n.slice(-1),s=n.slice(-2),u=i.slice(-1),c=i.slice(-2);return t?"other":o&&1==a&&11!=s||1==u&&11!=c?"one":o&&a>=2&&a<=4&&(s<12||s>14)||u>=2&&u<=4&&(c<12||c>14)?"few":"other"},ca:function(e,t){var r=String(e).split("."),n=r[0],i=!r[1],o=n.slice(-6);return t?1==e||3==e?"one":2==e?"two":4==e?"few":"other":1==e&&i?"one":0!=n&&0==o&&i?"many":"other"},ce:fu,ceb:function(e,t){var r=String(e).split("."),n=r[0],i=r[1]||"",o=!r[1],a=n.slice(-1),s=i.slice(-1);return t?"other":o&&(1==n||2==n||3==n)||o&&4!=a&&6!=a&&9!=a||!o&&4!=s&&6!=s&&9!=s?"one":"other"},cgg:hu,chr:pu,ckb:du,cs:function(e,t){var r=String(e).split("."),n=r[0],i=!r[1];return t?"other":1==e&&i?"one":n>=2&&n<=4&&i?"few":i?"other":"many"},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=String(e).split("."),n=r[0],i=Number(r[0])==e;return t||1!=e&&(i||0!=n&&1!=n)?"other":"one"},de:yu,doi:mu,dsb:function(e,t){var r=String(e).split("."),n=r[0],i=r[1]||"",o=!r[1],a=n.slice(-2),s=i.slice(-2);return t?"other":o&&1==a||1==s?"one":o&&2==a||2==s?"two":o&&(3==a||4==a)||3==s||4==s?"few":"other"},dv:gu,dz:vu,ee:bu,el:wu,en:function(e,t){var r=String(e).split("."),n=!r[1],i=Number(r[0])==e,o=i&&r[0].slice(-1),a=i&&r[0].slice(-2);return t?1==o&&11!=a?"one":2==o&&12!=a?"two":3==o&&13!=a?"few":"other":1==e&&n?"one":"other"},eo:xu,es:function(e,t){var r=String(e).split("."),n=r[0],i=!r[1],o=n.slice(-6);return t?"other":1==e?"one":0!=n&&0==o&&i?"many":"other"},et:ku,eu:Fu,fa:Su,ff:function(e,t){return t?"other":e>=0&&e<2?"one":"other"},fi:Eu,fil:function(e,t){var r=String(e).split("."),n=r[0],i=r[1]||"",o=!r[1],a=n.slice(-1),s=i.slice(-1);return t?1==e?"one":"other":o&&(1==n||2==n||3==n)||o&&4!=a&&6!=a&&9!=a||!o&&4!=s&&6!=s&&9!=s?"one":"other"},fo:_u,fr:function(e,t){var r=String(e).split("."),n=r[0],i=!r[1],o=n.slice(-6);return t?1==e?"one":"other":e>=0&&e<2?"one":0!=n&&0==o&&i?"many":"other"},fur:Ou,fy:Du,ga:function(e,t){var r=String(e).split("."),n=Number(r[0])==e;return t?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,t){var r=String(e).split("."),n=Number(r[0])==e;return t?1==e||11==e?"one":2==e||12==e?"two":3==e||13==e?"few":"other":1==e||11==e?"one":2==e||12==e?"two":n&&e>=3&&e<=10||n&&e>=13&&e<=19?"few":"other"},gl:Tu,gsw:Au,gu:function(e,t){return t?1==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other"},guw:ju,gv:function(e,t){var r=String(e).split("."),n=r[0],i=!r[1],o=n.slice(-1),a=n.slice(-2);return t?"other":i&&1==o?"one":i&&2==o?"two":!i||0!=a&&20!=a&&40!=a&&60!=a&&80!=a?i?"other":"many":"few"},ha:Nu,haw:Pu,he:function(e,t){var r=String(e).split("."),n=r[0],i=!r[1];return t?"other":1==n&&i||0==n&&!i?"one":2==n&&i?"two":"other"},hi:function(e,t){return t?1==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other"},hnj:Bu,hr:function(e,t){var r=String(e).split("."),n=r[0],i=r[1]||"",o=!r[1],a=n.slice(-1),s=n.slice(-2),u=i.slice(-1),c=i.slice(-2);return t?"other":o&&1==a&&11!=s||1==u&&11!=c?"one":o&&a>=2&&a<=4&&(s<12||s>14)||u>=2&&u<=4&&(c<12||c>14)?"few":"other"},hsb:function(e,t){var r=String(e).split("."),n=r[0],i=r[1]||"",o=!r[1],a=n.slice(-2),s=i.slice(-2);return t?"other":o&&1==a||1==s?"one":o&&2==a||2==s?"two":o&&(3==a||4==a)||3==s||4==s?"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&&e<2?"one":"other"},ia:Cu,id:Iu,ig:Lu,ii:Mu,io:zu,is:function(e,t){var r=String(e).split("."),n=r[0],i=(r[1]||"").replace(/0+$/,""),o=Number(r[0])==e,a=n.slice(-1),s=n.slice(-2);return t?"other":o&&1==a&&11!=s||i%10==1&&i%100!=11?"one":"other"},it:function(e,t){var r=String(e).split("."),n=r[0],i=!r[1],o=n.slice(-6);return t?11==e||8==e||80==e||800==e?"many":"other":1==e&&i?"one":0!=n&&0==o&&i?"many":"other"},iu:Ru,ja:qu,jbo:Uu,jgo:Hu,jmc:Gu,jv:Wu,jw:Ju,ka:function(e,t){var r=String(e).split(".")[0],n=r.slice(-2);return t?1==r?"one":0==r||n>=2&&n<=20||40==n||60==n||80==n?"many":"other":1==e?"one":"other"},kab:function(e,t){return t?"other":e>=0&&e<2?"one":"other"},kaj:Zu,kcg:Ku,kde:$u,kea:Vu,kk:function(e,t){var r=String(e).split("."),n=Number(r[0])==e,i=n&&r[0].slice(-1);return t?6==i||9==i||n&&0==i&&0!=e?"many":"other":1==e?"one":"other"},kkj:Xu,kl:Yu,km:Qu,kn:ec,ko:tc,ks:rc,ksb:nc,ksh:function(e,t){return t?"other":0==e?"zero":1==e?"one":"other"},ku:ic,kw:function(e,t){var r=String(e).split("."),n=Number(r[0])==e,i=n&&r[0].slice(-2),o=n&&r[0].slice(-3),a=n&&r[0].slice(-5),s=n&&r[0].slice(-6);return t?n&&e>=1&&e<=4||i>=1&&i<=4||i>=21&&i<=24||i>=41&&i<=44||i>=61&&i<=64||i>=81&&i<=84?"one":5==e||5==i?"many":"other":0==e?"zero":1==e?"one":2==i||22==i||42==i||62==i||82==i||n&&0==o&&(a>=1e3&&a<=2e4||4e4==a||6e4==a||8e4==a)||0!=e&&1e5==s?"two":3==i||23==i||43==i||63==i||83==i?"few":1==e||1!=i&&21!=i&&41!=i&&61!=i&&81!=i?"other":"many"},ky:oc,lag:function(e,t){var r=String(e).split(".")[0];return t?"other":0==e?"zero":0!=r&&1!=r||0==e?"other":"one"},lb:ac,lg:sc,lij:function(e,t){var r=String(e).split("."),n=!r[1],i=Number(r[0])==e;return t?11==e||8==e||i&&e>=80&&e<=89||i&&e>=800&&e<=899?"many":"other":1==e&&n?"one":"other"},lkt:uc,ln:cc,lo:function(e,t){return t&&1==e?"one":"other"},lt:function(e,t){var r=String(e).split("."),n=r[1]||"",i=Number(r[0])==e,o=i&&r[0].slice(-1),a=i&&r[0].slice(-2);return t?"other":1==o&&(a<11||a>19)?"one":o>=2&&o<=9&&(a<11||a>19)?"few":0!=n?"many":"other"},lv:function(e,t){var r=String(e).split("."),n=r[1]||"",i=n.length,o=Number(r[0])==e,a=o&&r[0].slice(-1),s=o&&r[0].slice(-2),u=n.slice(-2),c=n.slice(-1);return t?"other":o&&0==a||s>=11&&s<=19||2==i&&u>=11&&u<=19?"zero":1==a&&11!=s||2==i&&1==c&&11!=u||2!=i&&1==c?"one":"other"},mas:lc,mg:fc,mgo:hc,mk:function(e,t){var r=String(e).split("."),n=r[0],i=r[1]||"",o=!r[1],a=n.slice(-1),s=n.slice(-2),u=i.slice(-1),c=i.slice(-2);return t?1==a&&11!=s?"one":2==a&&12!=s?"two":7!=a&&8!=a||17==s||18==s?"other":"many":o&&1==a&&11!=s||1==u&&11!=c?"one":"other"},ml:pc,mn:dc,mo:function(e,t){var r=String(e).split("."),n=!r[1],i=Number(r[0])==e&&r[0].slice(-2);return t?1==e?"one":"other":1==e&&n?"one":!n||0==e||1!=e&&i>=1&&i<=19?"few":"other"},mr:function(e,t){return t?1==e?"one":2==e||3==e?"two":4==e?"few":"other":1==e?"one":"other"},ms:function(e,t){return t&&1==e?"one":"other"},mt:function(e,t){var r=String(e).split("."),n=Number(r[0])==e&&r[0].slice(-2);return t?"other":1==e?"one":2==e?"two":0==e||n>=3&&n<=10?"few":n>=11&&n<=19?"many":"other"},my:yc,nah:mc,naq:gc,nb:vc,nd:bc,ne:function(e,t){var r=String(e).split("."),n=Number(r[0])==e;return t?n&&e>=1&&e<=4?"one":"other":1==e?"one":"other"},nl:wc,nn:xc,nnh:kc,no:Fc,nqo:Sc,nr:Ec,nso:_c,ny:Oc,nyn:Dc,om:Tc,or:function(e,t){var r=String(e).split("."),n=Number(r[0])==e;return t?1==e||5==e||n&&e>=7&&e<=9?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":1==e?"one":"other"},os:Ac,osa:jc,pa:Nc,pap:Pc,pcm:Bc,pl:function(e,t){var r=String(e).split("."),n=r[0],i=!r[1],o=n.slice(-1),a=n.slice(-2);return t?"other":1==e&&i?"one":i&&o>=2&&o<=4&&(a<12||a>14)?"few":i&&1!=n&&(0==o||1==o)||i&&o>=5&&o<=9||i&&a>=12&&a<=14?"many":"other"},prg:function(e,t){var r=String(e).split("."),n=r[1]||"",i=n.length,o=Number(r[0])==e,a=o&&r[0].slice(-1),s=o&&r[0].slice(-2),u=n.slice(-2),c=n.slice(-1);return t?"other":o&&0==a||s>=11&&s<=19||2==i&&u>=11&&u<=19?"zero":1==a&&11!=s||2==i&&1==c&&11!=u||2!=i&&1==c?"one":"other"},ps:Cc,pt:function(e,t){var r=String(e).split("."),n=r[0],i=!r[1],o=n.slice(-6);return t?"other":0==n||1==n?"one":0!=n&&0==o&&i?"many":"other"},pt_PT:function(e,t){var r=String(e).split("."),n=r[0],i=!r[1],o=n.slice(-6);return t?"other":1==e&&i?"one":0!=n&&0==o&&i?"many":"other"},rm:Ic,ro:function(e,t){var r=String(e).split("."),n=!r[1],i=Number(r[0])==e&&r[0].slice(-2);return t?1==e?"one":"other":1==e&&n?"one":!n||0==e||1!=e&&i>=1&&i<=19?"few":"other"},rof:Lc,ru:function(e,t){var r=String(e).split("."),n=r[0],i=!r[1],o=n.slice(-1),a=n.slice(-2);return t?"other":i&&1==o&&11!=a?"one":i&&o>=2&&o<=4&&(a<12||a>14)?"few":i&&0==o||i&&o>=5&&o<=9||i&&a>=11&&a<=14?"many":"other"},rwk:Mc,sah:zc,saq:Rc,sat:qc,sc:function(e,t){var r=!String(e).split(".")[1];return t?11==e||8==e||80==e||800==e?"many":"other":1==e&&r?"one":"other"},scn:function(e,t){var r=!String(e).split(".")[1];return t?11==e||8==e||80==e||800==e?"many":"other":1==e&&r?"one":"other"},sd:Uc,sdh:Hc,se:Gc,seh:Wc,ses:Jc,sg:Zc,sh:function(e,t){var r=String(e).split("."),n=r[0],i=r[1]||"",o=!r[1],a=n.slice(-1),s=n.slice(-2),u=i.slice(-1),c=i.slice(-2);return t?"other":o&&1==a&&11!=s||1==u&&11!=c?"one":o&&a>=2&&a<=4&&(s<12||s>14)||u>=2&&u<=4&&(c<12||c>14)?"few":"other"},shi:function(e,t){var r=String(e).split("."),n=Number(r[0])==e;return t?"other":e>=0&&e<=1?"one":n&&e>=2&&e<=10?"few":"other"},si:function(e,t){var r=String(e).split("."),n=r[0],i=r[1]||"";return t?"other":0==e||1==e||0==n&&1==i?"one":"other"},sk:function(e,t){var r=String(e).split("."),n=r[0],i=!r[1];return t?"other":1==e&&i?"one":n>=2&&n<=4&&i?"few":i?"other":"many"},sl:function(e,t){var r=String(e).split("."),n=r[0],i=!r[1],o=n.slice(-2);return t?"other":i&&1==o?"one":i&&2==o?"two":i&&(3==o||4==o)||!i?"few":"other"},sma:Kc,smi:$c,smj:Vc,smn:Xc,sms:Yc,sn:Qc,so:el,sq:function(e,t){var r=String(e).split("."),n=Number(r[0])==e,i=n&&r[0].slice(-1),o=n&&r[0].slice(-2);return t?1==e?"one":4==i&&14!=o?"many":"other":1==e?"one":"other"},sr:function(e,t){var r=String(e).split("."),n=r[0],i=r[1]||"",o=!r[1],a=n.slice(-1),s=n.slice(-2),u=i.slice(-1),c=i.slice(-2);return t?"other":o&&1==a&&11!=s||1==u&&11!=c?"one":o&&a>=2&&a<=4&&(s<12||s>14)||u>=2&&u<=4&&(c<12||c>14)?"few":"other"},ss:tl,ssy:rl,st:nl,su:il,sv:function(e,t){var r=String(e).split("."),n=!r[1],i=Number(r[0])==e,o=i&&r[0].slice(-1),a=i&&r[0].slice(-2);return t?1!=o&&2!=o||11==a||12==a?"other":"one":1==e&&n?"one":"other"},sw:ol,syr:al,ta:sl,te:ul,teo:cl,th:ll,ti:fl,tig:hl,tk:function(e,t){var r=String(e).split("."),n=Number(r[0])==e&&r[0].slice(-1);return t?6==n||9==n||10==e?"few":"other":1==e?"one":"other"},tl:function(e,t){var r=String(e).split("."),n=r[0],i=r[1]||"",o=!r[1],a=n.slice(-1),s=i.slice(-1);return t?1==e?"one":"other":o&&(1==n||2==n||3==n)||o&&4!=a&&6!=a&&9!=a||!o&&4!=s&&6!=s&&9!=s?"one":"other"},tn:pl,to:dl,tpi:yl,tr:ml,ts:gl,tzm:function(e,t){var r=String(e).split("."),n=Number(r[0])==e;return t?"other":0==e||1==e||n&&e>=11&&e<=99?"one":"other"},ug:vl,uk:function(e,t){var r=String(e).split("."),n=r[0],i=!r[1],o=Number(r[0])==e,a=o&&r[0].slice(-1),s=o&&r[0].slice(-2),u=n.slice(-1),c=n.slice(-2);return t?3==a&&13!=s?"few":"other":i&&1==u&&11!=c?"one":i&&u>=2&&u<=4&&(c<12||c>14)?"few":i&&0==u||i&&u>=5&&u<=9||i&&c>=11&&c<=14?"many":"other"},und:bl,ur:wl,uz:xl,ve:kl,vec:function(e,t){var r=String(e).split("."),n=r[0],i=!r[1],o=n.slice(-6);return t?11==e||8==e||80==e||800==e?"many":"other":1==e&&i?"one":0!=n&&0==o&&i?"many":"other"},vi:function(e,t){return t&&1==e?"one":"other"},vo:Fl,vun:Sl,wa:El,wae:_l,wo:Ol,xh:Dl,xog:Tl,yi:Al,yo:jl,yue:Nl,zh:Pl,zu:Bl});function Il(e){if("string"!=typeof e||e.length<2)throw new RangeError("Invalid language tag: ".concat(e));if(e.startsWith("pt-PT"))return"pt-PT";var t=e.match(/.+?(?=[-_])/);return t?t[0]:e}function Ll(e){if("function"==typeof e){var t=Il(e.name);return{isDefault:!1,id:ye(t),lc:t,locale:e.name,getPlural:e,cardinals:e.cardinals||[],ordinals:e.ordinals||[]}}var r=Il(e),n=ye(r);return function(e){return e in Cl}(n)?{isDefault:!0,id:n,lc:r,locale:e,getCardinal:Pn[n],getPlural:Cl[n],cardinals:Ws[n].cardinal,ordinals:Ws[n].ordinal}:null}function Ml(e){return ye(Il(e))in Cl}return function(){function r(e,t){if(this.plurals=[],this.options=Object.assign({biDiSupport:!1,currency:"USD",customFormatters:{},localeCodeFromKey:null,requireAllArguments:!1,returnType:"string",strict:t&&t.strictNumberSign||!1,strictPluralKeys:!0},t),"*"===e?this.plurals=(i=r.defaultLocale,(o=Object.keys(Cl).filter((function(e){return e!==i}))).unshift(i),o.map(Ll)):Array.isArray(e)?this.plurals=e.map(Ll).filter(Boolean):e&&(n=Ll(e))&&(this.plurals=[n]),0===this.plurals.length){var n=Ll(r.defaultLocale);this.plurals=[n]}var i,o}return r.escape=function(e,t){var r=t?/[#{}]/g:/[{}]/g;return String(e).replace(r,"'$&'")},r.supportedLocalesOf=function(e){return(Array.isArray(e)?e:[e]).filter(Ml)},r.prototype.resolvedOptions=function(){return e(e({},this.options),{locale:this.plurals[0].locale,plurals:this.plurals})},r.prototype.compile=function(e){var r,o,a=new be(this.options),s="return "+a.compile(e,this.plurals[0]),u=[],c=[];try{for(var l=t(Object.entries(a.runtime)),f=l.next();!f.done;f=l.next()){var h=n(f.value,2),p=h[0],d=h[1];u.push(p),c.push(d)}}catch(e){r={error:e}}finally{try{f&&!f.done&&(o=l.return)&&o.call(l)}finally{if(r)throw r.error}}return(new(Function.bind.apply(Function,i(i([void 0],n(u),!1),[s],!1)))).apply(void 0,i([],n(c),!1))},r.defaultLocale="en",r}()}()},487:function(e){var t={utf8:{stringToBytes:function(e){return t.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(t.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],r=0;r<e.length;r++)t.push(255&e.charCodeAt(r));return t},bytesToString:function(e){for(var t=[],r=0;r<e.length;r++)t.push(String.fromCharCode(e[r]));return t.join("")}}};e.exports=t},98:function(e,t,r){var n="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==r.g&&r.g,i=function(){function e(){this.fetch=!1,this.DOMException=n.DOMException}return e.prototype=n,new e}();!function(e){!function(t){var r=void 0!==e&&e||"undefined"!=typeof self&&self||void 0!==r&&r,n="URLSearchParams"in r,i="Symbol"in r&&"iterator"in Symbol,o="FileReader"in r&&"Blob"in r&&function(){try{return new Blob,!0}catch(e){return!1}}(),a="FormData"in r,s="ArrayBuffer"in r;if(s)var u=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],c=ArrayBuffer.isView||function(e){return e&&u.indexOf(Object.prototype.toString.call(e))>-1};function l(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function f(e){return"string"!=typeof e&&(e=String(e)),e}function h(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return i&&(t[Symbol.iterator]=function(){return t}),t}function p(e){this.map={},e instanceof p?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function d(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function y(e){return new Promise((function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}}))}function m(e){var t=new FileReader,r=y(t);return t.readAsArrayBuffer(e),r}function g(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function b(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:o&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:a&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:n&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():s&&o&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=g(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):s&&(ArrayBuffer.prototype.isPrototypeOf(e)||c(e))?this._bodyArrayBuffer=g(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o&&(this.blob=function(){var e=d(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?d(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(m)}),this.text=function(){var e,t,r,n=d(this);if(n)return n;if(this._bodyBlob)return e=this._bodyBlob,r=y(t=new FileReader),t.readAsText(e),r;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n<t.length;n++)r[n]=String.fromCharCode(t[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},a&&(this.formData=function(){return this.text().then(k)}),this.json=function(){return this.text().then(JSON.parse)},this}p.prototype.append=function(e,t){e=l(e),t=f(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},p.prototype.delete=function(e){delete this.map[l(e)]},p.prototype.get=function(e){return e=l(e),this.has(e)?this.map[e]:null},p.prototype.has=function(e){return this.map.hasOwnProperty(l(e))},p.prototype.set=function(e,t){this.map[l(e)]=f(t)},p.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},p.prototype.keys=function(){var e=[];return this.forEach((function(t,r){e.push(r)})),h(e)},p.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),h(e)},p.prototype.entries=function(){var e=[];return this.forEach((function(t,r){e.push([r,t])})),h(e)},i&&(p.prototype[Symbol.iterator]=p.prototype.entries);var w=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function x(e,t){if(!(this instanceof x))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,n,i=(t=t||{}).body;if(e instanceof x){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new p(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,i||null==e._bodyInit||(i=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new p(t.headers)),this.method=(n=(r=t.method||this.method||"GET").toUpperCase(),w.indexOf(n)>-1?n:r),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(i),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var o=/([?&])_=[^&]*/;o.test(this.url)?this.url=this.url.replace(o,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}function k(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),i=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(i))}})),t}function F(e,t){if(!(this instanceof F))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new p(t.headers),this.url=t.url||"",this._initBody(e)}x.prototype.clone=function(){return new x(this,{body:this._bodyInit})},b.call(x.prototype),b.call(F.prototype),F.prototype.clone=function(){return new F(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new p(this.headers),url:this.url})},F.error=function(){var e=new F(null,{status:0,statusText:""});return e.type="error",e};var S=[301,302,303,307,308];F.redirect=function(e,t){if(-1===S.indexOf(t))throw new RangeError("Invalid status code");return new F(null,{status:t,headers:{location:e}})},t.DOMException=r.DOMException;try{new t.DOMException}catch(e){t.DOMException=function(e,t){this.message=e,this.name=t;var r=Error(e);this.stack=r.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function E(e,n){return new Promise((function(i,a){var u=new x(e,n);if(u.signal&&u.signal.aborted)return a(new t.DOMException("Aborted","AbortError"));var c=new XMLHttpRequest;function l(){c.abort()}c.onload=function(){var e,t,r={status:c.status,statusText:c.statusText,headers:(e=c.getAllResponseHeaders()||"",t=new p,e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var r=e.split(":"),n=r.shift().trim();if(n){var i=r.join(":").trim();t.append(n,i)}})),t)};r.url="responseURL"in c?c.responseURL:r.headers.get("X-Request-URL");var n="response"in c?c.response:c.responseText;setTimeout((function(){i(new F(n,r))}),0)},c.onerror=function(){setTimeout((function(){a(new TypeError("Network request failed"))}),0)},c.ontimeout=function(){setTimeout((function(){a(new TypeError("Network request failed"))}),0)},c.onabort=function(){setTimeout((function(){a(new t.DOMException("Aborted","AbortError"))}),0)},c.open(u.method,function(e){try{return""===e&&r.location.href?r.location.href:e}catch(t){return e}}(u.url),!0),"include"===u.credentials?c.withCredentials=!0:"omit"===u.credentials&&(c.withCredentials=!1),"responseType"in c&&(o?c.responseType="blob":s&&u.headers.get("Content-Type")&&-1!==u.headers.get("Content-Type").indexOf("application/octet-stream")&&(c.responseType="arraybuffer")),!n||"object"!=v(n.headers)||n.headers instanceof p?u.headers.forEach((function(e,t){c.setRequestHeader(t,e)})):Object.getOwnPropertyNames(n.headers).forEach((function(e){c.setRequestHeader(e,f(n.headers[e]))})),u.signal&&(u.signal.addEventListener("abort",l),c.onreadystatechange=function(){4===c.readyState&&u.signal.removeEventListener("abort",l)}),c.send(void 0===u._bodyInit?null:u._bodyInit)}))}E.polyfill=!0,r.fetch||(r.fetch=E,r.Headers=p,r.Request=x,r.Response=F),t.Headers=p,t.Request=x,t.Response=F,t.fetch=E}({})}(i),i.fetch.ponyfill=!0,delete i.fetch.polyfill;var o=n.fetch?n:i;(t=o.fetch).default=o.fetch,t.fetch=o.fetch,t.Headers=o.Headers,t.Request=o.Request,t.Response=o.Response,e.exports=t},12:function(e){var t,r;t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&r.rotl(e,8)|4278255360&r.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=r.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],r=0,n=0;r<e.length;r++,n+=8)t[n>>>5]|=e[r]<<24-n%32;return t},wordsToBytes:function(e){for(var t=[],r=0;r<32*e.length;r+=8)t.push(e[r>>>5]>>>24-r%32&255);return t},bytesToHex:function(e){for(var t=[],r=0;r<e.length;r++)t.push((e[r]>>>4).toString(16)),t.push((15&e[r]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],r=0;r<e.length;r+=2)t.push(parseInt(e.substr(r,2),16));return t},bytesToBase64:function(e){for(var r=[],n=0;n<e.length;n+=3)for(var i=e[n]<<16|e[n+1]<<8|e[n+2],o=0;o<4;o++)8*n+6*o<=8*e.length?r.push(t.charAt(i>>>6*(3-o)&63)):r.push("=");return r.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var r=[],n=0,i=0;n<e.length;i=++n%4)0!=i&&r.push((t.indexOf(e.charAt(n-1))&Math.pow(2,-2*i+8)-1)<<2*i|t.indexOf(e.charAt(n))>>>6-2*i);return r}},e.exports=r},738:function(e){function t(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}e.exports=function(e){return null!=e&&(t(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&t(e.slice(0,0))}(e)||!!e._isBuffer)}},568:function(e,t,r){var n,i,o,a,s;n=r(12),i=r(487).utf8,o=r(738),a=r(487).bin,(s=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?a.stringToBytes(e):i.stringToBytes(e):o(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var r=n.bytesToWords(e),u=8*e.length,c=1732584193,l=-271733879,f=-1732584194,h=271733878,p=0;p<r.length;p++)r[p]=16711935&(r[p]<<8|r[p]>>>24)|4278255360&(r[p]<<24|r[p]>>>8);r[u>>>5]|=128<<u%32,r[14+(u+64>>>9<<4)]=u;var d=s._ff,y=s._gg,m=s._hh,g=s._ii;for(p=0;p<r.length;p+=16){var v=c,b=l,w=f,x=h;c=d(c,l,f,h,r[p+0],7,-680876936),h=d(h,c,l,f,r[p+1],12,-389564586),f=d(f,h,c,l,r[p+2],17,606105819),l=d(l,f,h,c,r[p+3],22,-1044525330),c=d(c,l,f,h,r[p+4],7,-176418897),h=d(h,c,l,f,r[p+5],12,1200080426),f=d(f,h,c,l,r[p+6],17,-1473231341),l=d(l,f,h,c,r[p+7],22,-45705983),c=d(c,l,f,h,r[p+8],7,1770035416),h=d(h,c,l,f,r[p+9],12,-1958414417),f=d(f,h,c,l,r[p+10],17,-42063),l=d(l,f,h,c,r[p+11],22,-1990404162),c=d(c,l,f,h,r[p+12],7,1804603682),h=d(h,c,l,f,r[p+13],12,-40341101),f=d(f,h,c,l,r[p+14],17,-1502002290),c=y(c,l=d(l,f,h,c,r[p+15],22,1236535329),f,h,r[p+1],5,-165796510),h=y(h,c,l,f,r[p+6],9,-1069501632),f=y(f,h,c,l,r[p+11],14,643717713),l=y(l,f,h,c,r[p+0],20,-373897302),c=y(c,l,f,h,r[p+5],5,-701558691),h=y(h,c,l,f,r[p+10],9,38016083),f=y(f,h,c,l,r[p+15],14,-660478335),l=y(l,f,h,c,r[p+4],20,-405537848),c=y(c,l,f,h,r[p+9],5,568446438),h=y(h,c,l,f,r[p+14],9,-1019803690),f=y(f,h,c,l,r[p+3],14,-187363961),l=y(l,f,h,c,r[p+8],20,1163531501),c=y(c,l,f,h,r[p+13],5,-1444681467),h=y(h,c,l,f,r[p+2],9,-51403784),f=y(f,h,c,l,r[p+7],14,1735328473),c=m(c,l=y(l,f,h,c,r[p+12],20,-1926607734),f,h,r[p+5],4,-378558),h=m(h,c,l,f,r[p+8],11,-2022574463),f=m(f,h,c,l,r[p+11],16,1839030562),l=m(l,f,h,c,r[p+14],23,-35309556),c=m(c,l,f,h,r[p+1],4,-1530992060),h=m(h,c,l,f,r[p+4],11,1272893353),f=m(f,h,c,l,r[p+7],16,-155497632),l=m(l,f,h,c,r[p+10],23,-1094730640),c=m(c,l,f,h,r[p+13],4,681279174),h=m(h,c,l,f,r[p+0],11,-358537222),f=m(f,h,c,l,r[p+3],16,-722521979),l=m(l,f,h,c,r[p+6],23,76029189),c=m(c,l,f,h,r[p+9],4,-640364487),h=m(h,c,l,f,r[p+12],11,-421815835),f=m(f,h,c,l,r[p+15],16,530742520),c=g(c,l=m(l,f,h,c,r[p+2],23,-995338651),f,h,r[p+0],6,-198630844),h=g(h,c,l,f,r[p+7],10,1126891415),f=g(f,h,c,l,r[p+14],15,-1416354905),l=g(l,f,h,c,r[p+5],21,-57434055),c=g(c,l,f,h,r[p+12],6,1700485571),h=g(h,c,l,f,r[p+3],10,-1894986606),f=g(f,h,c,l,r[p+10],15,-1051523),l=g(l,f,h,c,r[p+1],21,-2054922799),c=g(c,l,f,h,r[p+8],6,1873313359),h=g(h,c,l,f,r[p+15],10,-30611744),f=g(f,h,c,l,r[p+6],15,-1560198380),l=g(l,f,h,c,r[p+13],21,1309151649),c=g(c,l,f,h,r[p+4],6,-145523070),h=g(h,c,l,f,r[p+11],10,-1120210379),f=g(f,h,c,l,r[p+2],15,718787259),l=g(l,f,h,c,r[p+9],21,-343485551),c=c+v>>>0,l=l+b>>>0,f=f+w>>>0,h=h+x>>>0}return n.endian([c,l,f,h])})._ff=function(e,t,r,n,i,o,a){var s=e+(t&r|~t&n)+(i>>>0)+a;return(s<<o|s>>>32-o)+t},s._gg=function(e,t,r,n,i,o,a){var s=e+(t&n|r&~n)+(i>>>0)+a;return(s<<o|s>>>32-o)+t},s._hh=function(e,t,r,n,i,o,a){var s=e+(t^r^n)+(i>>>0)+a;return(s<<o|s>>>32-o)+t},s._ii=function(e,t,r,n,i,o,a){var s=e+(r^(t|~n))+(i>>>0)+a;return(s<<o|s>>>32-o)+t},s._blocksize=16,s._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var r=n.wordsToBytes(s(e,t));return t&&t.asBytes?r:t&&t.asString?a.bytesToString(r):n.bytesToHex(r)}}},t={};function r(n){var i=t[n];if(void 0!==i)return i.exports;var o=t[n]={exports:{}};return e[n].call(o.exports,o,o.exports,r),o.exports}r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==("undefined"==typeof globalThis?"undefined":v(globalThis)))return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==("undefined"==typeof window?"undefined":v(window)))return window}}(),r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};return function(){"use strict";r.r(n),r.d(n,{FETCHING_LOCALES:function(){return j},FETCHING_TRANSLATIONS:function(){return O},LOCALES_FETCHED:function(){return N},LOCALES_FETCH_FAILED:function(){return P},LOCALE_CHANGED:function(){return A},MessageFormatRenderer:function(){return V},PseudoTranslationPolicy:function(){return J},SourceErrorPolicy:function(){return K},SourceStringPolicy:function(){return Z},TRANSLATIONS_FETCHED:function(){return D},TRANSLATIONS_FETCH_FAILED:function(){return T},ThrowErrorPolicy:function(){return $},createNativeInstance:function(){return X},escape:function(){return F},explodePlurals:function(){return q},generateHashedKey:function(){return k},generateKey:function(){return b},implodePlurals:function(){return U},isPluralized:function(){return H},isString:function(){return S},normalizeLocale:function(){return E},offEvent:function(){return I},onEvent:function(){return C},sendEvent:function(){return L},sleep:function(){return _},t:function(){return Q},tx:function(){return Y}});var e=r(98),t=r.n(e),i=function(){function e(){p(this,e),this.translationsByLocale={}}return h(e,[{key:"update",value:function(e,t){var r=this.translationsByLocale[e]||{};this.translationsByLocale[e]=w(w({},r),t)}},{key:"getTranslations",value:function(e){return this.translationsByLocale[e]||{}}},{key:"hasTranslations",value:function(e){return!!this.translationsByLocale[e]}},{key:"isStale",value:function(e){return!this.hasTranslations(e)}},{key:"get",value:function(e,t){return this.getTranslations(t)[e]||""}}]),e}(),o=function(){function e(){p(this,e)}return h(e,[{key:"handle",value:function(e,t,r,n){return t}}]),e}(),a=function(){function e(){p(this,e)}return h(e,[{key:"handle",value:function(e,t){return e}}]),e}(),l=r(160),d=r.n(l),y={},m=function(){function e(){p(this,e)}return h(e,[{key:"render",value:function(e,t,r){var n=(t||"").split("_")[0];if(!y[n])try{y[n]=new(d())(n,{strictPluralKeys:!1})}catch(e){y[n]=new(d())("*",{strictPluralKeys:!1})}return y[n].compile(e)(r)}}]),e}(),g=r(568),v=r.n(g);function b(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t._key?t._key:t._context?"".concat(e,"::").concat(t._context):"".concat(e)}function k(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t._key)return t._key;var r="";return t._context&&(r=(r=t._context).replace(/,/g,":")),v()("5:".concat(e,":").concat(r))}function F(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")}function S(e){return"[object String]"===Object.prototype.toString.call(e)}function E(e){var t=e.split("-");return 1===t.length?e:[t[0],t[1].toUpperCase()].join("_")}function _(e){return new Promise((function(t){setTimeout((function(){t()}),e)}))}var O="FETCHING_TRANSLATIONS",D="TRANSLATIONS_FETCHED",T="TRANSLATIONS_FETCH_FAILED",A="LOCALE_CHANGED",j="FETCHING_LOCALES",N="LOCALES_FETCHED",P="LOCALES_FETCH_FAILED",B={};function C(e,t){B[e]=B[e]||[],B[e].push(t)}function I(e,t){var r=B[e]||[],n=r.indexOf(t);-1!==n&&r.splice(n,1)}function L(e,t,r){(B[e]||[]).forEach((function(e){e(t,r)}))}var M=["zero","one","two","few","many","other"];function z(e){var t=e.indexOf("{");if(-1===t)return[null,null];var r=e.substring(0,t).trim();if("="===r[0]){if(r=r.substring(1),Number.isNaN(parseInt(r,10))||parseInt(r,10)!==parseFloat(r))return[null,null];if(r=parseInt(r,10),void 0===(r=M[r]))return[null,null]}else if(-1===M.indexOf(r))return[null,null];return[r,e.substring(t)]}function R(e){for(var t=0,r=!1,n=0;n<e.length;){var i=e[n];if("'"===i){var o=e[n+1];"'"===o?n+=1:r?r=!1:"{"!==o&&"}"!==o||(r=!0)}else if("{"===i)r||(t+=1);else if("}"===i&&(r||(t-=1),0===t))return[e.substring(1,n),e.substring(n+1).trim()];n+=1}return[null,null]}function q(e){var t,r,n,i,o=[null,{other:e}],a=function(e){if(!(e.length>1&&"{"===e[0]&&"}"===e[e.length-1]))return[null,null];var t=e.indexOf(",");if(-1===t)return[null,null];var r=e.indexOf(",",t+1);if(-1===r)return[null,null];var n=e.substring(1,t).trim(),i=e.substring(t+1,r).trim();return/^[\w_]+$/.test(n)&&"plural"===i?[n,e.substring(r+1,e.length-1).trim()]:[null,null]}(e),s=f(a,2),u=s[0],c=s[1];if(null==u)return o;var l,h,p={};if(t=z(c),l=(r=f(t,2))[0],c=r[1],null==l)return o;if(n=R(c.trim()),h=(i=f(n,2))[0],c=i[1],null==h)return o;for(p[l]=h;c.trim();){var d,y,m,g;if(d=z(c.trim()),l=(y=f(d,2))[0],c=y[1],null==l)return o;if(m=R(c.trim()),h=(g=f(m,2))[0],c=g[1],null==h)return o;p[l]=h}return(1!==Object.keys(p).length||"other"in p)&&"one"in p&&"other"in p?[u,p]:o}function U(e){var t,r=["{".concat(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"???",", plural,")],n=x(M);try{for(n.s();!(t=n.n()).done;){var i=t.value;if(i in e){var o=e[i];r.push(" ".concat(i," {").concat(o,"}"))}}}catch(e){n.e(e)}finally{n.f()}return r.push("}"),r.join("")}function H(e){var t=q(e)[1];return Object.keys(t).length>1}var G=function(){function e(){p(this,e),this.cdsHost="https://cds.svc.transifex.net",this.token="",this.secret="",this.filterTags="",this.filterStatus="",this.fetchTimeout=0,this.fetchInterval=250,this.cache=new i,this.missingPolicy=new a,this.errorPolicy=new o,this.stringRenderer=new m,this.currentLocale="",this.locales=[],this.languages=[],this.childInstances=[]}var r,n,l,f,d,y,g,v,x;return h(e,[{key:"init",value:function(e){var t=this;["cdsHost","token","secret","cache","filterTags","filterStatus","fetchTimeout","fetchInterval","missingPolicy","errorPolicy","stringRenderer","currentLocale"].forEach((function(r){void 0!==e[r]&&(t[r]=e[r])})),this.fetchedTags={}}},{key:"translate",value:function(e,t){return this.translateLocale(this.currentLocale,e,t)}},{key:"translateLocale",value:function(e,t,r){try{var n=this.cache.get(b(t,r),e);n||(n=this.cache.get(k(t,r),e)),n&&n.startsWith("{???")&&H(t)&&(n="{".concat(t.substring(1,t.indexOf(",")).trim()).concat(n.substring(4)));var i=!1;if(n||(i=!0,n=t),r&&r._escapeVars){var o={};Object.keys(r).forEach((function(e){var t=r[e];o[e]=S(t)?F(t):t})),n=this.stringRenderer.render(n,e,o)}else n=this.stringRenderer.render(n,e,r);return i&&e&&(n=this.missingPolicy.handle(n,e)),S(n)||(n="".concat(n)),n}catch(n){return this.errorPolicy.handle(n,"".concat(t),e,r)}}},{key:"fetchTranslations",value:(x=c(u.mark((function e(r){var n,i,o,a,s,c,l,f,h,p,d=this,y=arguments;return u.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=(n=y.length>1&&void 0!==y[1]?y[1]:{}).filterTags||this.filterTags,n.refresh||this.cache.isStale(r)||!(!i&&this.cache.hasTranslations(r)||i&&-1!==(this.fetchedTags[r]||[]).indexOf(i))){e.next=4;break}return e.abrupt("return");case 4:i&&(r in this.fetchedTags||(this.fetchedTags[r]=[]),-1===this.fetchedTags[r].indexOf(i)&&this.fetchedTags[r].push(i)),o=function(e){return L(T,{localeCode:r,filterTags:i},d),e},e.prev=6,L(O,{localeCode:r,filterTags:i},this),s=202,c=Date.now();case 10:if(202!==s){e.next=31;break}return l="".concat(this.cdsHost,"/content/").concat(r),f=[],i&&f.push("filter[tags]=".concat(i)),this.filterStatus&&f.push("filter[status]=".concat(this.filterStatus)),f.length&&(l="".concat(l,"?").concat(f.join("&"))),e.next=18,t()(l,{method:"GET",headers:{Authorization:"Bearer ".concat(this.token),"Accept-version":"v2","X-NATIVE-SDK":"txjs/browser/7.0.0"},signal:this.fetchTimeout>0?AbortSignal.timeout(this.fetchTimeout):void 0});case 18:if((a=e.sent).ok){e.next=23;break}return e.next=22,this._fetchError(a);case 22:throw e.sent;case 23:if(s=a.status,!(this.fetchTimeout>0&&Date.now()-c>=this.fetchTimeout)){e.next=25;break}throw o(new Error("Fetch translations timeout"));case 25:if(e.t0=202===s&&this.fetchInterval>0,!e.t0){e.next=29;break}return e.next=29,_(this.fetchInterval);case 29:e.next=10;break;case 31:return e.next=33,a.json();case 33:if((h=e.sent)&&h.data){e.next=36;break}throw o(new Error("Could not fetch translations"));case 36:p={},Object.keys(h.data).forEach((function(e){h.data[e].string&&(p[e]=h.data[e].string)})),this.cache.update(r,p),L(D,{localeCode:r,filterTags:i},this),e.next=43;break;case 40:throw e.prev=40,e.t1=e.catch(6),o(e.t1);case 43:case"end":return e.stop()}}),e,this,[[6,40]])}))),function(e){return x.apply(this,arguments)})},{key:"invalidateCDS",value:(v=c(u.mark((function e(){var r,n,i,o=arguments;return u.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=o.length>0&&void 0!==o[0]?o[0]:{},this.token){e.next=3;break}throw new Error("token is not defined");case 3:if(this.secret){e.next=5;break}throw new Error("secret is not defined");case 5:return n=r.purge?"purge":"invalidate",e.next=8,t()("".concat(this.cdsHost,"/").concat(n),{method:"POST",headers:{Authorization:"Bearer ".concat(this.token,":").concat(this.secret),"Accept-version":"v2","Content-Type":"application/json;charset=utf-8","X-NATIVE-SDK":"txjs/browser/7.0.0"}});case 8:if((i=e.sent).ok){e.next=13;break}return e.next=12,this._fetchError(i);case 12:throw e.sent;case 13:return e.next=15,i.json();case 15:return e.abrupt("return",e.sent);case 16:case"end":return e.stop()}}),e,this)}))),function(){return v.apply(this,arguments)})},{key:"pushSource",value:(g=c(u.mark((function e(r){var n,i,o,a,s,c,l,f,h,p=arguments;return u.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=p.length>1&&void 0!==p[1]?p[1]:{},this.token){e.next=3;break}throw new Error("token is not defined");case 3:if(this.secret){e.next=5;break}throw new Error("secret is not defined");case 5:return i={Authorization:"Bearer ".concat(this.token,":").concat(this.secret),"Accept-version":"v2","Content-Type":"application/json;charset=utf-8","X-NATIVE-SDK":"txjs/browser/7.0.0"},e.next=8,t()("".concat(this.cdsHost,"/content"),{method:"POST",headers:i,body:JSON.stringify({data:r,meta:{purge:!!n.purge,override_tags:!!n.overrideTags,override_occurrences:!!n.overrideOccurrences}})});case 8:if((o=e.sent).ok){e.next=13;break}return e.next=12,this._fetchError(o);case 12:throw e.sent;case 13:return e.next=15,o.json();case 15:if(a=e.sent,s="".concat(this.cdsHost).concat(a.data.links.job),!n.noWait){e.next=19;break}return e.abrupt("return",{jobUrl:s});case 19:c={status:""};case 20:return e.next=22,_(1500);case 22:return e.next=24,t()(s,{method:"GET",headers:i});case 24:if((l=e.sent).ok){e.next=29;break}return e.next=28,this._fetchError(l);case 28:throw e.sent;case 29:return e.next=31,l.json();case 31:f=e.sent,h=f.data,c=w(w({},h.details||{}),{},{errors:h.errors||[],status:h.status});case 34:if("pending"===c.status||"processing"===c.status){e.next=20;break}case 35:return e.abrupt("return",w({jobUrl:s},c));case 36:case"end":return e.stop()}}),e,this)}))),function(e){return g.apply(this,arguments)})},{key:"getLocales",value:(y=c(u.mark((function e(){var r,n,i,o,a,c=this,l=arguments;return u.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((l.length>0&&void 0!==l[0]?l[0]:{}).refresh||!(this.locales.length>0)){e.next=2;break}return e.abrupt("return",s(this.locales));case 2:if(this.token){e.next=4;break}return e.abrupt("return",[]);case 4:r=function(e){return L(P,null,c),e},e.prev=5,L(j,null,this),i=202,o=Date.now();case 9:if(202!==i){e.next=25;break}return e.next=12,t()("".concat(this.cdsHost,"/languages"),{method:"GET",headers:{Authorization:"Bearer ".concat(this.token),"Accept-version":"v2","X-NATIVE-SDK":"txjs/browser/7.0.0"},signal:this.fetchTimeout>0?AbortSignal.timeout(this.fetchTimeout):void 0});case 12:if((n=e.sent).ok){e.next=17;break}return e.next=16,this._fetchError(n);case 16:throw e.sent;case 17:if(i=n.status,!(this.fetchTimeout>0&&Date.now()-o>=this.fetchTimeout)){e.next=19;break}throw r(new Error("Get locales timeout"));case 19:if(e.t0=202===i&&this.fetchInterval>0,!e.t0){e.next=23;break}return e.next=23,_(this.fetchInterval);case 23:e.next=9;break;case 25:return e.next=27,n.json();case 27:if((a=e.sent)&&a.data){e.next=30;break}throw r(new Error("Could not fetch languages"));case 30:this.languages=a.data,this.locales=this.languages.map((function(e){return e.code})),L(N,null,this),e.next=36;break;case 33:throw e.prev=33,e.t1=e.catch(5),r(e.t1);case 36:return e.abrupt("return",s(this.locales));case 37:case"end":return e.stop()}}),e,this,[[5,33]])}))),function(){return y.apply(this,arguments)})},{key:"getCurrentLocale",value:function(){return this.currentLocale}},{key:"isCurrent",value:function(e){return e===this.currentLocale}},{key:"setCurrentLocale",value:(d=c(u.mark((function e(t){return u.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.isCurrent(t)){e.next=5;break}return e.next=3,this._syncInstances(this.childInstances);case 3:e.next=16;break;case 5:if(t){e.next=10;break}return this.currentLocale="",e.next=9,this._syncInstances(this.childInstances);case 9:return e.abrupt("return",void L(A,this.currentLocale,this));case 10:return e.next=12,this.fetchTranslations(t);case 12:return this.currentLocale=t,e.next=15,this._syncInstances(this.childInstances);case 15:L(A,t,this);case 16:case"end":return e.stop()}}),e,this)}))),function(e){return d.apply(this,arguments)})},{key:"getLanguages",value:(f=c(u.mark((function e(){var t,r=arguments;return u.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e.next=3,this.getLocales(t);case 3:return e.abrupt("return",s(this.languages));case 4:case"end":return e.stop()}}),e,this)}))),function(){return f.apply(this,arguments)})},{key:"controllerOf",value:(l=c(u.mark((function e(t){return u.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t!==this){e.next=2;break}throw new Error("Cannot add self as instance");case 2:if(-1===t.childInstances.indexOf(this)){e.next=4;break}throw new Error("Cycle reference error, instance is controller of this");case 4:return this.childInstances.push(t),e.next=7,this._syncInstances([t]);case 7:return e.abrupt("return",t);case 8:case"end":return e.stop()}}),e,this)}))),function(e){return l.apply(this,arguments)})},{key:"_syncInstances",value:(n=c(u.mark((function e(t){var r,n;return u.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(r=this.getCurrentLocale())){e.next=15;break}n=0;case 3:if(!(n<t.length)){e.next=15;break}if(t[n].getCurrentLocale()===r){e.next=12;break}return e.prev=5,e.next=8,t[n].fetchTranslations(r);case 8:e.next=12;break;case 10:e.prev=10,e.t0=e.catch(5);case 12:n++,e.next=3;break;case 15:t.forEach((function(e){e.getCurrentLocale()!==r&&(e.currentLocale=r,L(A,r,e))}));case 16:case"end":return e.stop()}}),e,this,[[5,10]])}))),function(e){return n.apply(this,arguments)})},{key:"_fetchError",value:(r=c(u.mark((function e(t){var r;return u.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.text();case 3:return r=e.sent,e.abrupt("return",new Error("HTTP ".concat(t.status,": ").concat(r)));case 7:return e.prev=7,e.t0=e.catch(0),e.abrupt("return",new Error("HTTP error ".concat(t.status)));case 10:case"end":return e.stop()}}),e,null,[[0,7]])}))),function(e){return r.apply(this,arguments)})}]),e}(),W={a:"ȧ",A:"Ȧ",b:"ƀ",B:"Ɓ",c:"ƈ",C:"Ƈ",d:"ḓ",D:"Ḓ",e:"ḗ",E:"Ḗ",f:"ƒ",F:"Ƒ",g:"ɠ",G:"Ɠ",h:"ħ",H:"Ħ",i:"ī",I:"Ī",j:"ĵ",J:"Ĵ",k:"ķ",K:"Ķ",l:"ŀ",L:"Ŀ",m:"ḿ",M:"Ḿ",n:"ƞ",N:"Ƞ",o:"ǿ",O:"Ǿ",p:"ƥ",P:"Ƥ",q:"ɋ",Q:"Ɋ",r:"ř",R:"Ř",s:"ş",S:"Ş",t:"ŧ",T:"Ŧ",v:"ṽ",V:"Ṽ",u:"ŭ",U:"Ŭ",w:"ẇ",W:"Ẇ",x:"ẋ",X:"Ẋ",y:"ẏ",Y:"Ẏ",z:"ẑ",Z:"Ẑ"},J=function(){function e(){p(this,e)}return h(e,[{key:"handle",value:function(e,t){return e.split(/__txnative__/).map((function(e){for(var t="",r=0;r<e.length;r+=1){var n=e.charAt(r);if(W[n]){var i=n.toLowerCase();t+="a"===i||"e"===i||"o"===i||"u"===i?W[n]+W[n]:W[n]}else t+=n}return t})).join("__txnative__")}}]),e}(),Z=a,K=o,$=function(){function e(){p(this,e)}return h(e,[{key:"handle",value:function(e,t,r,n){throw e||new Error('Error translating "'.concat(t,'"'))}}]),e}(),V=m,X=function(e){var t=new G;return t.t=t.translate.bind(t),e&&t.init(e),t},Y=new G,Q=Y.translate.bind(Y)}(),n}()},"object"==v(t)&&"object"==v(e)?e.exports=a():(i=[],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o))},750:e=>{e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n},e.exports.__esModule=!0,e.exports.default=e.exports},346:e=>{e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},745:(e,t,r)=>{var n=r(750);e.exports=function(e){if(Array.isArray(e))return n(e)},e.exports.__esModule=!0,e.exports.default=e.exports},115:e=>{e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},208:e=>{function t(e,t,r,n,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,i)}e.exports=function(e){return function(){var r=this,n=arguments;return new Promise((function(i,o){var a=e.apply(r,n);function s(e){t(a,i,o,s,u,"next",e)}function u(e){t(a,i,o,s,u,"throw",e)}s(void 0)}))}},e.exports.__esModule=!0,e.exports.default=e.exports},19:e=>{e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},424:(e,t,r)=>{var n=r(782),i=r(466);e.exports=function(e,t,r){if(i())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,t);var a=new(e.bind.apply(e,o));return r&&n(a,r.prototype),a},e.exports.__esModule=!0,e.exports.default=e.exports},723:(e,t,r)=>{var n=r(296);function i(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,n(i.key),i)}}e.exports=function(e,t,r){return t&&i(e.prototype,t),r&&i(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},827:(e,t,r)=>{var n=r(296);e.exports=function(e,t,r){return(t=n(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.__esModule=!0,e.exports.default=e.exports},482:e=>{function t(r){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},26:(e,t,r)=>{var n=r(782);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&n(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},177:e=>{e.exports=function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}},e.exports.__esModule=!0,e.exports.default=e.exports},466:e=>{function t(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(r){}return(e.exports=t=function(){return!!r},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},651:e=>{e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},894:e=>{e.exports=function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,s=[],u=!0,c=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=o.call(r)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(e){c=!0,i=e}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}},e.exports.__esModule=!0,e.exports.default=e.exports},458:e=>{e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},454:e=>{e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},590:(e,t,r)=>{var n=r(241).default,i=r(115);e.exports=function(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return i(e)},e.exports.__esModule=!0,e.exports.default=e.exports},109:(e,t,r)=>{var n=r(241).default;function i(){"use strict";e.exports=i=function(){return r},e.exports.__esModule=!0,e.exports.default=e.exports;var t,r={},o=Object.prototype,a=o.hasOwnProperty,s=Object.defineProperty||function(e,t,r){e[t]=r.value},u="function"==typeof Symbol?Symbol:{},c=u.iterator||"@@iterator",l=u.asyncIterator||"@@asyncIterator",f=u.toStringTag||"@@toStringTag";function h(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{h({},"")}catch(t){h=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var i=t&&t.prototype instanceof w?t:w,o=Object.create(i.prototype),a=new P(n||[]);return s(o,"_invoke",{value:T(e,r,a)}),o}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}r.wrap=p;var y="suspendedStart",m="suspendedYield",g="executing",v="completed",b={};function w(){}function x(){}function k(){}var F={};h(F,c,(function(){return this}));var S=Object.getPrototypeOf,E=S&&S(S(B([])));E&&E!==o&&a.call(E,c)&&(F=E);var _=k.prototype=w.prototype=Object.create(F);function O(e){["next","throw","return"].forEach((function(t){h(e,t,(function(e){return this._invoke(t,e)}))}))}function D(e,t){function r(i,o,s,u){var c=d(e[i],e,o);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"==n(f)&&a.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,s,u)}),(function(e){r("throw",e,s,u)})):t.resolve(f).then((function(e){l.value=e,s(l)}),(function(e){return r("throw",e,s,u)}))}u(c.arg)}var i;s(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,i){r(e,n,t,i)}))}return i=i?i.then(o,o):o()}})}function T(e,r,n){var i=y;return function(o,a){if(i===g)throw new Error("Generator is already running");if(i===v){if("throw"===o)throw a;return{value:t,done:!0}}for(n.method=o,n.arg=a;;){var s=n.delegate;if(s){var u=A(s,n);if(u){if(u===b)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===y)throw i=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=g;var c=d(e,r,n);if("normal"===c.type){if(i=n.done?v:m,c.arg===b)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=v,n.method="throw",n.arg=c.arg)}}}function A(e,r){var n=r.method,i=e.iterator[n];if(i===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var o=d(i,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,b;var a=o.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function j(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function N(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(j,this),this.reset(!0)}function B(e){if(e||""===e){var r=e[c];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,o=function r(){for(;++i<e.length;)if(a.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return o.next=o}}throw new TypeError(n(e)+" is not iterable")}return x.prototype=k,s(_,"constructor",{value:k,configurable:!0}),s(k,"constructor",{value:x,configurable:!0}),x.displayName=h(k,f,"GeneratorFunction"),r.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===x||"GeneratorFunction"===(t.displayName||t.name))},r.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,k):(e.__proto__=k,h(e,f,"GeneratorFunction")),e.prototype=Object.create(_),e},r.awrap=function(e){return{__await:e}},O(D.prototype),h(D.prototype,l,(function(){return this})),r.AsyncIterator=D,r.async=function(e,t,n,i,o){void 0===o&&(o=Promise);var a=new D(p(e,t,n,i),o);return r.isGeneratorFunction(t)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},O(_),h(_,f,"Generator"),h(_,c,(function(){return this})),h(_,"toString",(function(){return"[object Generator]"})),r.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},r.values=B,P.prototype={constructor:P,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(N),!e)for(var r in this)"t"===r.charAt(0)&&a.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function n(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],s=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var u=a.call(o,"catchLoc"),c=a.call(o,"finallyLoc");if(u&&c){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,b):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),N(r),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var i=n.arg;N(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:B(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),b}},r}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},782:e=>{function t(r,n){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r,n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},562:(e,t,r)=>{var n=r(346),i=r(894),o=r(221),a=r(458);e.exports=function(e,t){return n(e)||i(e,t)||o(e,t)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},632:(e,t,r)=>{var n=r(745),i=r(651),o=r(221),a=r(454);e.exports=function(e){return n(e)||i(e)||o(e)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},37:(e,t,r)=>{var n=r(241).default;e.exports=function(e,t){if("object"!=n(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!=n(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},296:(e,t,r)=>{var n=r(241).default,i=r(37);e.exports=function(e){var t=i(e,"string");return"symbol"==n(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},241:e=>{function t(r){return e.exports=t="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},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},221:(e,t,r)=>{var n=r(750);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},388:(e,t,r)=>{var n=r(482),i=r(782),o=r(177),a=r(424);function s(t){var r="function"==typeof Map?new Map:void 0;return e.exports=s=function(e){if(null===e||!o(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(e))return r.get(e);r.set(e,t)}function t(){return a(e,arguments,n(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),i(t,e)},e.exports.__esModule=!0,e.exports.default=e.exports,s(t)}e.exports=s,e.exports.__esModule=!0,e.exports.default=e.exports},40:(e,t,r)=>{var n=r(109)();e.exports=n;try{regeneratorRuntime=n}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}}},t={};function r(n){var i=t[n];if(void 0!==i)return i.exports;var o=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var n={};return(()=>{"use strict";function e(t){return e="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},e(t)}function t(t){var r=function(t,r){if("object"!=e(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,"string");if("object"!=e(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==e(r)?r:String(r)}function i(e,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,t(i.key),i)}}r.r(n),r.d(n,{TransifexI18next:()=>u});var o=r(206);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?a(Object(n),!0).forEach((function(r){var i,o,a;i=e,o=r,a=n[r],(o=t(o))in i?Object.defineProperty(i,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):i[o]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.type="backend",this.options=t||{},this.init()}var t,r;return t=e,(r=[{key:"init",value:function(e,t){this.options=s(s({},this.options||{}),t||{}),this.tx=(0,o.createNativeInstance)(this.options)}},{key:"read",value:function(e,t,r){var n=this;this.tx.fetchTranslations(e).then((function(){r(null,n._convertPlurals(n.tx.cache.getTranslations(e)))})).catch((function(e){r(e,null)}))}},{key:"readMulti",value:function(e,t,r){var n=this,i=[];e.forEach((function(e){i.push(n.tx.fetchTranslations(e))})),Promise.all(i).then((function(){var t={};e.forEach((function(e){t[e]={translations:n._convertPlurals(n.tx.cache.getTranslations(e))}}))})).catch((function(e){r(e,null)}))}},{key:"_convertPlurals",value:function(e){var t={};return Object.keys(e).forEach((function(r){if(r.endsWith("_txplural")){var n=r.slice(0,-9),i=(0,o.explodePlurals)(e[r].replace("{???,","{count,"))[1];Object.keys(i).forEach((function(e){t["".concat(n,"_").concat(e)]=i[e]}))}else t[r]=e[r]})),t}}])&&i(t.prototype,r),Object.defineProperty(t,"prototype",{writable:!1}),e}()})(),n})()));
3
3
  //# sourceMappingURL=browser.i18next.js.map