@transifex/native 6.0.0 → 6.0.2

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.native.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.Transifex=t():e.Transifex=t()}(this,(()=>(()=>{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),s=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)s.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 s}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))}class o extends Error{constructor(e,t,r){super(e),this.token=t,this.type=r||"error"}}const s=e=>e<4?"short":4===e?"long":"narrow",a=e=>e%2==0?"2-digit":"numeric";function c(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(`${e.desc} is not supported with width ${e.width}`)}}function u(e,t){const{char:r,desc:n,width:i}=e;return"d"===r?a(i):void t(`${n} is not supported`)}function l(e,t){const{char:r,desc:n,width:i}=e;return("c"===r||"e"===r)&&i<3&&t(`Numeric value is not supported for ${n}; falling back to weekday:short`,o.WARNING),s(i)}function f(e,t){const{char:r,desc:n,width:i}=e;switch(r){case"v":case"z":return 4===i?"long":"short";case"V":return 4===i?"long":void t(`${n} is not supported with width ${i}`);case"X":return void t(`${n} is not supported`)}return"short"}function h(e,t){switch(e.field){case"era":return{era:s(e.width)};case"year":return function(e,t){switch(e.char){case"y":return{year:a(e.width)};case"r":return{calendar:"gregory",year:"numeric"};default:return t(`${e.desc} is not supported; falling back to year:numeric`,o.WARNING),{year:"numeric"}}}(e,t);case"month":return{month:c(e,t)};case"day":return{day:u(e,t)};case"weekday":return{weekday:l(e,t)};case"period":return;case"hour":return function(e){const t=a(e.width);let r;switch(e.char){case"h":r="h12";break;case"H":r="h23";break;case"k":r="h24";break;case"K":r="h11"}return r?{hour:t,hourCycle:r}:{hour:t}}(e);case"min":return{minute:a(e.width)};case"sec":return{second:a(e.width)};case"tz":return{timeZoneName:f(e,t)};case"quarter":case"week":case"sec-frac":case"ms":t(`${e.desc} is not supported`)}}function p(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>{throw e};const r={},n=[];for(const i of e){const{error:e,field:s,str:a}=i;if(e){const r=new o(e.message,i);r.stack=e.stack,t(r)}a&&t(new o(`Ignoring string part: ${a}`,i,o.WARNING)),s&&(-1===n.indexOf(s)?n.push(s):t(new o(`Duplicate ${s} token`,i)));const c=h(i,((e,r)=>t(new o(e,i,r))));c&&Object.assign(r,c)}return r}const d={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"}},m=e=>e>="A"&&e<="Z"||e>="a"&&e<="z";function g(e,t){const r=e[t];if(!r)return null;if(m(r))return function(e,t){const r=e[t];let n=1;for(;e[++t]===r;)++n;const i=d[r];return i?{char:r,field:i.field,desc:i.desc,width:n}:{char:r,error:new Error(`The letter ${r} is not a valid field identifier`),width:n}}(e,t);if("'"===r)return function(e,t){let r=e[++t],n=2;if("'"===r)return{char:"'",str:r,width:n};for(;;){const i=e[++t];if(++n,void 0===i)return{char:"'",error:new Error(`Unterminated quoted literal in pattern: ${r||e}`),str:r,width:n};if("'"===i){if("'"!==e[++t])return{char:"'",str:r,width:n};++n}r+=i}}(e,t);let n=r,i=1;for(;;){const o=e[++t];if(!o||m(o)||"'"===o)return{char:r,str:n,width:i};n+=o,i+=1}}function y(e){const t=[];let r=0;for(;;){const n=g(e,r);if(!n)return t;t.push(n),r+=n.width}}class w extends Error{constructor(e,t){super(t),this.code=e}}class v extends w{constructor(e,t){super("BAD_OPTION",`Unknown ${e} option: ${t}`),this.stem=e,this.option=t}}class b extends w{constructor(e){super("BAD_STEM",`Unknown stem: ${e}`),this.stem=e}}class x extends w{constructor(e,t){super("MASKED_VALUE",`Value for ${e} is set multiple times`),this.type=e,this.prev=t}}class k extends w{constructor(e){super("MISSING_OPTION",`Required option missing for ${e}`),this.stem=e}}class S extends w{constructor(e,t){super("BAD_PATTERN",t),this.char=e}}class E extends w{constructor(e,t,r){super("TOO_MANY_OPTIONS",`Token ${e} only supports ${r>1?`${r} options`:"one option"} (got ${t.length})`),this.stem=e,this.options=t}}class O extends w{constructor(e,t){super("UNSUPPORTED",`The stem ${e} is not supported`),this.stem=e,t&&(this.message+=` with value ${t}`,this.source=t)}}function j(e,t){let{numberingSystem:r}=t;return Array.isArray(e)||(e=[e]),r?e.map((e=>{const t=-1===e.indexOf("-u-")?"u-nu":"nu";return`${e}-${t}-${r}`})).concat(e):e}function T(e){let{scale:t,unit:r}=e,n="number"==typeof t&&t>=0?t:1;return r&&"percent"===r.style&&(n*=.01),n}function N(e,t){const{decimal:r,group:n,integerWidth:i,notation:o,precision:s,roundingMode:a,sign:c,unit:u,unitPer:l,unitWidth:f}=e,h=(e,r)=>{t&&t(new O(e,r))},p={};if(u)switch(u.style){case"base-unit":p.style="decimal";break;case"currency":p.style="currency",p.currency=u.currency;break;case"measure-unit":p.style="unit",p.unit=u.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(s)switch(s.style){case"precision-fraction":{const{minFraction:e,maxFraction:t,minSignificant:r,maxSignificant:n,source:i}=s;"number"==typeof e&&(p.minimumFractionDigits=e,"number"==typeof r&&h("precision-fraction",i)),"number"==typeof t&&(p.maximumFractionDigits=t),"number"==typeof r&&(p.minimumSignificantDigits=r),"number"==typeof n&&(p.maximumSignificantDigits=n);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=s.trailingZero;break;case"precision-currency-cash":h(s.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":{const{expDigits:e,expSign:t,source:r,style:n}=o;p.notation=n,(e&&e>1||t&&"sign-auto"!==t)&&h(n,r);break}}if(i){const{min:e,max:t,source:r}=i;if(e>0&&(p.minimumIntegerDigits=e),Number(t)>0){const e="engineering"===p.notation||"scientific"===p.notation;3===t&&e?p.notation="engineering":h("integer-width",r)}}switch(c){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),a&&h(a),p}function _(e,t,r){const n=e[t];switch(n){case"%":return{char:"%",style:"percent",width:1};case"‰":return{char:"%",style:"permille",width:1};case"¤":{let i=1;for(;"¤"===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 S("¤",`Invalid number (${i}) of ¤ chars in pattern`)),null}}case"*":{const r=e[t+1];if(r)return{char:n,pad:r,width:2};break}case"+":case"-":return{char:n,width:1};case"'":{let i=e[++t],o=2;if("'"===i)return{char:n,str:i,width:o};for(;;){const s=e[++t];if(++o,void 0===s)return r(new S("'",`Unterminated quoted literal in pattern: ${i}`)),{char:n,str:i,width:o};if("'"===s){if("'"!==e[++t])return{char:n,str:i,width:o};++o}i+=s}}}return null}const A=e=>e>="0"&&e<="9";function P(e,t){const r=e[t];if(A(r)){let n=r;for(;;){const r=e[++t];if(!A(r))return{char:"0",digits:n,width:n.length};n+=r}}switch(r){case"#":{let n=1;for(;"#"===e[++t];)++n;return{char:r,width:n}}case"@":{let n=1;for(;"@"===e[++t];)++n;let i=n;for(t-=1;"#"===e[++t];)++i;return{char:r,min:n,width:i}}case"E":{const n="+"===e[t+1];n&&++t;let i=0;for(;"0"===e[++t];)++i;if(i)return{char:r,expDigits:i,plus:n,width:(n?2:1)+i};break}case".":case",":return{char:r,width:1}}return null}function R(e,t,r){let n;!function(e){e[e.Prefix=0]="Prefix",e[e.Number=1]="Number",e[e.Suffix=2]="Suffix"}(n||(n={}));const i=[],o=[],s=[];let a=n.Prefix,c="";for(;t<e.length;){const u=e[t];if(";"===u){t+=1;break}switch(a){case n.Prefix:{const s=_(e,t,r);if(s)c&&(i.push({char:"'",str:c,width:c.length}),c=""),i.push(s),t+=s.width;else{const r=P(e,t);r?(c&&(i.push({char:"'",str:c,width:c.length}),c=""),a=n.Number,o.push(r),t+=r.width):(c+=u,t+=1)}break}case n.Number:{const r=P(e,t);r?(o.push(r),t+=r.width):a=n.Suffix;break}case n.Suffix:{const n=_(e,t,r);n?(c&&(s.push({char:"'",str:c,width:c.length}),c=""),s.push(n),t+=n.width):(c+=u,t+=1);break}}}return c&&s.push({char:"'",str:c,width:c.length}),{pattern:{prefix:i,number:o,suffix:s},pos:t}}function D(e,t,r,n,i){let o=!1,s="";for(const a of e)switch(a.char){case"%":t.unit={style:a.style},i?o=!0:s="";break;case"¤":if(!r){n(new S("¤","The ¤ pattern requires a currency"));break}switch(t.unit={style:"currency",currency:r},a.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?o=!0:s="";break;case"*":break;case"+":o||(s+="+");break;case"'":o||(s+=a.str)}return s}function L(e,t){let r=!1,n="";for(const i of e)switch(i.char){case"%":case"¤":t?r=!0:n="";break;case"-":r||(n+="-");break;case"'":r||(n+=i.str)}return n}function C(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e=>{throw e};const{tokens:n,negative:i}=function(e,t){const{pattern:r,pos:n}=R(e,0,t);if(n<e.length){const{pattern:i}=R(e,n,t);return{tokens:r,negative:i}}return{tokens:r}}(e,r),o=function(e,t){const r={};let n=!1,i=!1,o=0,s="",a=-1,c="",u=0;for(let l=0;l<e.length;++l){const f=e[l];switch(f.char){case"#":-1===a?(s&&t(new S("#","Pattern has # after integer digits")),o+=f.width):u+=f.width;break;case"0":-1===a?s+=f.digits:(u&&t(new S("0","Pattern has digits after # in fraction")),c+=f.digits);break;case"@":r.precision&&t(new x("precision",r.precision)),r.precision={style:"precision-fraction",minSignificant:f.min,maxSignificant:f.width};break;case",":n=!0;break;case".":1===a&&t(new S(".","Pattern has more than one decimal separator")),a=l;break;case"E":i&&t(new x("exponent",r.notation)),n&&t(new S("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+s.length>3&&(r.group="group-off");const l=Number(`${s||"0"}.${c}`);if(l&&(r.precision={style:"precision-increment",increment:l}),i)if(r.precision&&!l||(r.integerWidth=o?{min:1,max:o+s.length}:{min:Math.max(1,s.length)}),r.precision)l||(r.integerWidth={min:1,max:1});else{const e=s.length+c.length;-1===a?e>0&&(r.precision={style:"precision-fraction",maxSignificant:e}):(r.precision={style:"precision-fraction",maxSignificant:Math.max(1,e)+u},e>1&&(r.precision.minSignificant=e))}else s.length>1&&(r.integerWidth={min:s.length}),r.precision||!c.length&&!u||(r.precision={style:"precision-fraction",minFraction:c.length,maxFraction:c.length+u});return r}(n.number,r),s=D(n.prefix,o,t,r,!0),a=D(n.suffix,o,t,r,!1);if(i){const e=L(i.prefix,!0),t=L(i.suffix,!1);o.affix={pos:[s,a],neg:[e,t]},o.sign="sign-never"}else(s||a)&&(o.affix={pos:[s,a]});return o}function F(e){const[t]=e.split("-",1);return-1!==["acceleration","angle","area","concentr","consumption","digital","duration","electric","energy","force","frequency","graphics","length","light","mass","power","pressure","speed","temperature","torque","volume"].indexOf(t)}const I={"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},B={currency:1,"integer-width":1,"measure-unit":1,"numbering-system":1,"per-measure-unit":1,"precision-increment":1,scale:1};function $(e,t,r){if(function(e){return e in I}(e)){const n=I[e];if(t.length>n){if(0===n)for(const n of t)r(new v(e,n));else r(new E(e,t,n));return!1}if(function(e){return e in B}(e)&&t.length<B[e])return r(new k(e)),!1}return!0}function z(e,t){const r="fraction"===t?/^\.(0*)(\+|#*)$/:/^(@+)(\+|#*)$/,n=e&&e.match(r);if(n){const e=n[1].length;switch(n[2].charAt(0)){case"":return{min:e,max:e};case"+":return{min:e,max:null};case"#":return{min:e,max:e+n[2].length}}}return null}class U{constructor(e){this.skeleton={},this.onError=e}badOption(e,t){this.onError(new v(e,t))}assertEmpty(e){const t=this.skeleton[e];t&&this.onError(new x(e,t))}parseToken(e,t){if(!$(e,t,this.onError))return;const 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":{let r,i=null;for(const n of t)switch(n){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":r=n;break;default:/^\+e+$/.test(n)?i=n.length-1:this.badOption(e,n)}this.assertEmpty("notation");const o=t.join("/");n.notation=i&&r?{style:e,source:o,expDigits:i,expSign:r}:i?{style:e,source:o,expDigits:i}:r?{style:e,source:o,expSign:r}:{style:e,source:o};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":F(r)?(this.assertEmpty("unit"),n.unit={style:e,unit:r}):this.badOption(e,r);break;case"per-measure-unit":F(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":{const t=Number(r);t>0?(this.assertEmpty("precision"),n.precision={style:e,increment:t}):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{const t=r.match(/^#*(0*)$/);t?(this.assertEmpty("integerWidth"),n.integerWidth={source:r,min:t[1].length,max:t[0].length}):this.badOption(e,r)}break;case"scale":{const t=Number(r);t>0?(this.assertEmpty("scale"),n.scale=t):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:{const r=function(e,t,r){const n=z(e,"fraction");if(n){t.length>1&&r(new E(e,t,1));const i={style:"precision-fraction",source:e,minFraction:n.min};null!=n.max&&(i.maxFraction=n.max);const o=t[0],s=z(o,"significant");return s?(i.source=`${e}/${o}`,i.minSignificant=s.min,null!=s.max&&(i.maxSignificant=s.max)):o&&r(new v(e,o)),i}const i=z(e,"significant");if(i){for(const n of t)r(new v(e,n));const n={style:"precision-fraction",source:e,minSignificant:i.min};return null!=i.max&&(n.maxSignificant=i.max),n}return null}(e,t,this.onError);r?(this.assertEmpty("precision"),n.precision=r):this.onError(new b(e))}}}}function q(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>{throw e};const r=[];for(const t of e.split(" "))if(t){const e=t.split("/"),n=e.shift()||"";r.push({stem:n,options:e})}const n=new U(t);for(const{stem:e,options:t}of r)n.parseToken(e,t);return n.skeleton}function M(e,t,r,n){"string"==typeof t&&(t=0===t.indexOf("::")?q(t.slice(2),n):C(t,r,n));const i=j(e,t),o=N(t,n),s=function(e){const t=T(e),{precision:r}=e;return r&&"precision-increment"===r.style?e=>function(e,t){const r=+e+t/2;return r-r%+t}(e,r.increment)*t:e=>e*t}(t),a=new Intl.NumberFormat(i,o);if(t.affix){const[e,r]=t.affix.pos,[n,i]=t.affix.neg||["",""];return t=>{const o=a.format(s(t));return t<0?`${n}${o}${i}`:`${e}${o}${r}`}}return e=>a.format(s(e))}function H(e,t,r,n){"string"==typeof t&&(t=0===t.indexOf("::")?q(t.slice(2),n):C(t,r,n));const i=j(e,t),o=N(t,n),s=function(e){const t=T(e),{precision:r}=e;if(r&&"precision-increment"===r.style){const e="+n + "+r.increment/2;let n=`x - (x % +${r.increment})`;return 1!==t&&(n=`(${n}) * ${t}`),`function(n) { var x = ${e}; return ${n}; }`}return 1!==t?`function(n) { return n * ${t}; }`:null}(t),a=["(function() {",`var opt = ${JSON.stringify(o)};`,`var nf = new Intl.NumberFormat(${JSON.stringify(i)}, opt);`];let c="nf.format(value)";if(s&&(a.push(`var mod = ${s};`),c="nf.format(mod(value))"),t.affix){const[e,r]=t.affix.pos.map((e=>JSON.stringify(e)));if(t.affix.neg){const[n,i]=t.affix.neg.map((e=>JSON.stringify(e)));c=`value < 0 ? ${n} + ${c} + ${i} : ${e} + ${c} + ${r}`}else c=`${e} + ${c} + ${r}`}return a.push(`return function(value) { return ${c}; }`),a.join("\n ")+"\n})()"}var W="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:{},J={},G={},K={};(function(e){var t,r;t=W,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"==typeof e&&!n(e)&&!Array.isArray(e)}function o(e){return"("+e+")"}function s(e){return e.length?"(?:"+e.map((function(e){return"(?:"+e+")"})).join("|")+")":"(?!)"}function a(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 c(e,t){return e.length>t?e:Array(t-e.length+1).join(" ")+e}function u(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 s in r)e.call(r,s)&&(o[s]=r[s]);if("string"==typeof o.type&&t!==o.type)throw new Error("Type transform cannot be a string (type '"+o.type+"' for token '"+t+"')");var a=o.match;return o.match=Array.isArray(a)?a:a?[a]:[],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(u(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],s=e[o],a=[].concat(s);if("include"!==o){var c=[];a.forEach((function(e){i(e)?(c.length&&r.push(u(o,c)),r.push(u(o,e)),c=[]):c.push(e)})),c.length&&r.push(u(o,c))}else for(var l=0;l<a.length;l++)r.push({include:a[l]})}return r}(e)}var f=u("error",{lineBreaks:!0,shouldThrow:!0});function h(e,t){for(var i=null,c=Object.create(null),u=!0,l=null,h=[],p=[],d=0;d<e.length;d++)e[d].fallback&&(u=!1);for(d=0;d<e.length;d++){var m=e[d];if(m.include)throw new Error("Inheritance is not allowed in stateless lexers");if(m.error||m.fallback){if(i)throw!m.fallback==!i.fallback?new Error("Multiple "+(m.fallback?"fallback":"error")+" rules not allowed (for token '"+m.defaultType+"')"):new Error("fallback and error are mutually exclusive (for token '"+m.defaultType+"')");i=m}var g=m.match.slice();if(u)for(;g.length&&"string"==typeof g[0]&&1===g[0].length;)c[g.shift().charCodeAt(0)]=m;if(m.pop||m.push||m.next){if(!t)throw new Error("State-switching options are not allowed in stateless lexers (for token '"+m.defaultType+"')");if(m.fallback)throw new Error("State-switching options are not allowed on fallback tokens (for token '"+m.defaultType+"')")}if(0!==g.length){u=!1,h.push(m);for(var y=0;y<g.length;y++){var w=g[y];if(n(w))if(null===l)l=w.unicode;else if(l!==w.unicode&&!1===m.fallback)throw new Error("If one rule is /u then all must be")}var v=s(g.map(a)),b=new RegExp(v);if(b.test(""))throw new Error("RegExp matches empty string: "+b);if(new RegExp("|"+v).exec("").length-1>0)throw new Error("RegExp has capture groups: "+b+"\nUse (?: … ) instead");if(!m.lineBreaks&&b.test("\n"))throw new Error("Rule should declare lineBreaks: "+b);p.push(o(v))}}var x=i&&i.fallback,k=r&&!x?"ym":"gm",S=r||x?"":"|";return!0===l&&(k+="u"),{regexp:new RegExp(s(p)+S,k),groups:h,fast:c,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 m=r?function(e,t){return e.exec(t)}:function(e,t){var r=e.exec(t);return 0===r[0].length?null:r};function g(){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(s=this.fast[r.charCodeAt(e)])return this._token(s,r.charAt(e),e);var n=this.re;n.lastIndex=e;var i=m(n,r),o=this.error;if(null==i)return this._token(o,r.slice(e,r.length),e);var s=this._getGroup(i),a=i[0];return o.fallback&&i.index!==e?(this.queuedGroup=s,this.queuedText=a,this._token(o,r.slice(e,i.index),e)):this._token(s,a,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 s={type:"function"==typeof e.type&&e.type(t)||e.defaultType,value:"function"==typeof e.value?e.value(t):t,text:t,toString:g,offset:r,lineBreaks:n,line:this.line,col:this.col},a=t.length;if(this.index+=a,this.line+=n,0!==n?this.col=a-o+1:this.col+=a,e.shouldThrow)throw new Error(this.formatError(s,"invalid syntax"));return e.pop?this.popState():e.push?this.pushState(e.push):e.next&&this.setState(e.next),s},"undefined"!=typeof Symbol&&Symbol.iterator){var y=function(e){this.lexer=e};y.prototype.next=function(){var e=this.lexer.next();return{value:e,done:!e}},y.prototype[Symbol.iterator]=function(){return this},d.prototype[Symbol.iterator]=function(){return new y(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,s=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),a=[];a.push(t+" at line "+e.line+" col "+e.col+":"),a.push("");for(var u=0;u<s.length;u++){var l=s[u],f=n+u;a.push(c(String(f),o)+" "+l),f===e.line&&a.push(c("",o+e.col+1)+"^")}return a.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[v=n[o]]=l(e[v]).concat(r);for(o=0;o<n.length;o++)for(var s=i[v=n[o]],a=Object.create(null),c=0;c<s.length;c++){var u=s[c];if(u.include){var f=[c,1];if(u.include!==v&&!a[u.include]){a[u.include]=!0;var m=i[u.include];if(!m)throw new Error("Cannot include nonexistent state '"+u.include+"' (in state '"+v+"')");for(var g=0;g<m.length;g++){var y=m[g];-1===s.indexOf(y)&&f.push(y)}}s.splice.apply(s,f),c--}}var w=Object.create(null);for(o=0;o<n.length;o++){var v;w[v=n[o]]=h(i[v],!0)}for(o=0;o<n.length;o++){var b=n[o],x=w[b],k=x.groups;for(c=0;c<k.length;c++)p(k[c],b,w);var S=Object.getOwnPropertyNames(x.fast);for(c=0;c<S.length;c++)p(x.fast[S[c]],b,w)}return new d(w,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],s=e[o];(Array.isArray(s)?s:[s]).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()})({get exports(){return K},set exports(e){K=e}}),function(e){var t=W&&W.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.lexer=e.states=void 0;const r=t(K);e.states={body:{doubleapos:{match:"''",value:()=>"'"},quoted:{lineBreaks:!0,match:/'[{}#](?:[^]*?[^'])?'(?!')/u,value:e=>e.slice(1,-1).replace(/''/g,"'")},argument:{lineBreaks:!0,match:/\{\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,push:"arg",value:e=>e.substring(1).trim()},octothorpe:"#",end:{match:"}",pop:1},content:{lineBreaks:!0,match:/[^][^{}#']*/u}},arg:{select:{lineBreaks:!0,match:/,\s*(?:plural|select|selectordinal)\s*,\s*/u,next:"select",value:e=>e.split(",")[1].trim()},"func-args":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*,/u,next:"body",value:e=>e.split(",")[1].trim()},"func-simple":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,value:e=>e.substring(1).trim()},end:{match:"}",pop:1}},select:{offset:{lineBreaks:!0,match:/\s*offset\s*:\s*\d+\s*/u,value:e=>e.split(":")[1].trim()},case:{lineBreaks:!0,match:/\s*(?:=\d+|[^\p{Pat_Syn}\p{Pat_WS}]+)\s*\{/u,push:"body",value:e=>e.substring(0,e.indexOf("{")).trim()},end:{match:/\s*\}/u,pop:1}}},e.lexer=r.default.states(e.states)}(G),Object.defineProperty(J,"__esModule",{value:!0});var Z=J.parse=J.ParseError=void 0;const V=G,X=e=>({offset:e.offset,line:e.line,col:e.col,text:e.text,lineBreaks:e.lineBreaks}),Y=e=>"plural"===e||"select"===e||"selectordinal"===e;const Q=["number","date","time","spellout","ordinal","duration"],ee=["zero","one","two","few","many","other"];class te extends Error{constructor(e,t){super(V.lexer.formatError(e,t))}}J.ParseError=te;class re{constructor(e,t){var r,n,i,o;this.lexer=V.lexer.reset(e),this.cardinalKeys=null!==(r=null==t?void 0:t.cardinal)&&void 0!==r?r:ee,this.ordinalKeys=null!==(n=null==t?void 0:t.ordinal)&&void 0!==n?n:ee,this.strict=null!==(i=null==t?void 0:t.strict)&&void 0!==i&&i,this.strictPluralKeys=null===(o=null==t?void 0:t.strictPluralKeys)||void 0===o||o}parse(){return this.parseBody(!1,!0)}checkSelectKey(e,t,r){if("="===r[0]){if("select"===t)throw new te(e,`The case ${r} is not valid with select`)}else if("select"!==t){const n="plural"===t?this.cardinalKeys:this.ordinalKeys;if(this.strictPluralKeys&&n.length>0&&!n.includes(r))throw new te(e,`The ${t} case ${r} is not valid in this locale`)}}parseSelect(e,t,r,n){let{value:i}=e;const o={type:n,arg:i,cases:[],ctx:r};"plural"===n||"selectordinal"===n?t=!0:this.strict&&(t=!1);for(const e of this.lexer)switch(e.type){case"offset":if("select"===n)throw new te(e,"Unexpected plural offset for select");if(o.cases.length>0)throw new te(e,"Plural offset must be set before cases");o.pluralOffset=Number(e.value),r.text+=e.text,r.lineBreaks+=e.lineBreaks;break;case"case":this.checkSelectKey(e,n,e.value),o.cases.push({key:e.value,tokens:this.parseBody(t),ctx:X(e)});break;case"end":return o;default:throw new te(e,`Unexpected lexer token: ${e.type}`)}throw new te(null,"Unexpected message end")}parseArgToken(e,t){const r=X(e),n=this.lexer.next();if(!n)throw new te(null,"Unexpected message end");if(r.text+=n.text,r.lineBreaks+=n.lineBreaks,this.strict&&("func-simple"===n.type||"func-args"===n.type)&&!Q.includes(n.value)){const t=`Invalid strict mode function arg type: ${n.value}`;throw new te(e,t)}switch(n.type){case"end":return{type:"argument",arg:e.value,ctx:r};case"func-simple":{const t=this.lexer.next();if(!t)throw new te(null,"Unexpected message end");if("end"!==t.type)throw new te(t,`Unexpected lexer token: ${t.type}`);if(r.text+=t.text,Y(n.value.toLowerCase()))throw new te(n,`Invalid type identifier: ${n.value}`);return{type:"function",arg:e.value,key:n.value,ctx:r}}case"func-args":{if(Y(n.value.toLowerCase())){const e=`Invalid type identifier: ${n.value}`;throw new te(n,e)}let i=this.parseBody(!this.strict&&t);return this.strict&&i.length>0&&(i=function(e,t){let r="",n="";for(const i of t){const t=i.ctx.text;switch(n+=t,i.type){case"content":r+=i.value;break;case"argument":case"function":case"octothorpe":r+=t;break;default:throw new te(e,`Unsupported part in strict mode function arg style: ${t}`)}}return[{type:"content",value:r.trim(),ctx:Object.assign({},t[0].ctx,{text:n})}]}(e,i)),{type:"function",arg:e.value,key:n.value,param:i,ctx:r}}case"select":if(Y(n.value))return this.parseSelect(e,t,r,n.value);throw new te(n,`Unexpected select type ${n.value}`);default:throw new te(n,`Unexpected lexer token: ${n.type}`)}}parseBody(e,t){const r=[];let n=null;for(const i of this.lexer)if("argument"===i.type)n&&(n=null),r.push(this.parseArgToken(i,e));else if("octothorpe"===i.type&&e)n&&(n=null),r.push({type:"octothorpe",ctx:X(i)});else{if("end"===i.type&&!t)return r;{let t=i.value;if(!e&&"quoted"===i.type&&"#"===t[0]){if(t.includes("{"))throw new te(i,`Unsupported escape pattern: ${t}`);t=i.text}n?(n.value+=t,n.ctx.text+=i.text,n.ctx.lineBreaks+=i.lineBreaks):(n={type:"content",value:t,ctx:X(i)},r.push(n))}}if(t)return r;throw new te(null,"Unexpected message end")}}function ne(e){return ne[e]||(ne[e]=new Intl.NumberFormat(e))}Z=J.parse=function(e){return new re(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).parse()};var ie=Object.freeze({__proto__:null,_nf:ne,number:function(e,t,r){return ne(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 ne(e).format(i)}});var oe={};function se(e,t){var r=String(e)+JSON.stringify(t);return oe[r]||(oe[r]=new Intl.NumberFormat(e,t)),oe[r]}var ae=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 se(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],s=i[1];return se(t,{integer:{maximumFractionDigits:0},percent:{style:"percent"},currency:{style:"currency",currency:s&&s.trim()||n,minimumFractionDigits:2,maximumFractionDigits:2}}[o]||{}).format(e)},numberInteger:function(e,t){return se(t,{maximumFractionDigits:0}).format(e)},numberPercent:function(e,t){return se(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)}}),ce={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 ue(e,t){t&&(e+=" "+function(e){let t=0;for(let r=0;r<e.length;++r)t=(t<<5)-t+e.charCodeAt(r),t|=0;return t}(e).toString(36));const r=e.trim().replace(/\W+/g,"_");return ce.ES3[r]||ce.ESnext[r]||/^\d/.test(r)?"_"+r:r}function le(e,t){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(t)&&!ce.ES3[t])return e?e+"."+t:t;{const r=JSON.stringify(t);return e?e+"["+r+"]":r}}var fe=new RegExp("^"+["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"].join("|^"));var he="@messageformat/runtime/lib/plurals",pe=function(){function e(e){this.arguments=[],this.runtime={},this.options=e}return e.prototype.compile=function(e,r,n){var i,o,s=this,a=this.options,c=a.localeCodeFromKey,u=a.requireAllArguments,l=a.strict,f=a.strictPluralKeys;if("object"==typeof e){var h={};try{for(var p=t(Object.keys(e)),d=p.next();!d.done;d=p.next()){var m=d.value,g=c?c(m):m,y=n&&g&&n[g]||r;h[m]=this.compile(e[m],y,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 w={cardinal:r.cardinals,ordinal:r.ordinals,strict:l,strictPluralKeys:f};this.arguments=[];var v=Z(e,w).map((function(e){return s.token(e,null)})),b=this.arguments.length>0,x=this.concatenate(v,!0);if(u&&b){this.setRuntimeFn("reqArgs");var k=JSON.stringify(this.arguments);return"(d) => { reqArgs(".concat(k,", d); return ").concat(x,"; }")}return"(".concat(b?"d":"",") => ").concat(x)},e.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 s=o.map((function(e){return r.token(e,t)}));return"".concat(le(null,i.replace(/^=/,"")),": ").concat(r.concatenate(s,!1))}));if(n){var o=e.type,s=this.plural,a=s.cardinals,c=s.ordinals;if("select"===o||"plural"===o&&a.includes("other")||"selectordinal"===o&&c.includes("other"))throw new Error("No 'other' form found in ".concat(JSON.stringify(e)))}return"{ ".concat(i.join(", ")," }")},e.prototype.concatenate=function(e,t){return"values"===this.options.returnType&&(t||e.length>1)?"["+e.join(", ")+"]":e.join(" + ")||'""'},e.prototype.token=function(e,t){if("content"===e.type)return JSON.stringify(e.value);var r,n,i,o,s,a,c=this.plural,u=c.id,l=c.lc;switch("arg"in e?(this.arguments.push(e.arg),r=[le("d",e.arg)]):r=[],e.type){case"argument":return this.options.biDiSupport?(i=String(r[0]),o=l,s=fe.test(o),a=JSON.stringify(s?"‏":"‎"),"".concat(a," + ").concat(i," + ").concat(a)):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,u,this.cases(e,e),1),this.setLocale(u,!0),this.setRuntimeFn("plural");break;case"plural":n="plural",r.push(e.pluralOffset||0,u,this.cases(e,e)),this.setLocale(u,!1),this.setRuntimeFn("plural");break;case"function":if(!this.options.customFormatters[e.key]){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 f=this.getFormatterArg(e,t);f&&r.push(f)}n=e.key,this.setFormatter(n);break;case"octothorpe":if(!t)return'"#"';r=[JSON.stringify(this.plural.locale),le("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(", "),")")},e.prototype.runtimeIncludes=function(e,t){if(ue(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))},e.prototype.setLocale=function(e,t){var r,n,i,o=this.runtimeIncludes(e,"locale"),s=this.plural,a=s.getCardinal,c=s.getPlural,u=s.isDefault;if(!t&&u&&a){if(o)return;r=function(e){return a(e)},n="@messageformat/runtime/lib/cardinals",i=function(){return String(a)}}else{if(o&&(!u||o.module===he))return;r=function(e,t){return c(e,t)},n=u?he:c.module||null,i=function(){return String(c)}}this.runtime[e]=Object.assign(r,{id:e,module:n,toString:i,type:"locale"})},e.prototype.setRuntimeFn=function(e){this.runtimeIncludes(e,"runtime")||(this.runtime[e]=Object.assign(ie[e],{id:e,module:"@messageformat/runtime",type:"runtime"}))},e.prototype.getFormatterArg=function(e,r){var n,i,o,s,a=this,c=e.key,u=e.param,l=this.options.customFormatters[c]||de(c)&&ae[c];if(!l||!u)return null;var f="arg"in l&&l.arg||"string";if("options"===f){var h="";try{for(var p=t(u),d=p.next();!d.done;d=p.next()){var m=d.value;if("content"!==m.type)throw new SyntaxError("Expected literal options for ".concat(c," formatter"));h+=m.value}}catch(e){n={error:e}}finally{try{d&&!d.done&&(i=p.return)&&i.call(p)}finally{if(n)throw n.error}}var g={};try{for(var y=t(h.split(",")),w=y.next();!w.done;w=y.next()){var v=w.value,b=v.indexOf(":");if(-1===b)g[v.trim()]=null;else{var x=v.substring(0,b).trim(),k=v.substring(b+1).trim();if("true"===k)g[x]=!0;else if("false"===k)g[x]=!1;else if("null"===k)g[x]=null;else{var S=Number(k);g[x]=Number.isFinite(S)?S:k}}}}catch(e){o={error:e}}finally{try{w&&!w.done&&(s=y.return)&&s.call(y)}finally{if(o)throw o.error}}return JSON.stringify(g)}var E=u.map((function(e){return a.token(e,r)}));if("raw"===f)return"[".concat(E.join(", "),"]");var O=E.join(" + ");return O?"(".concat(O,").trim()"):'""'},e.prototype.setFormatter=function(e){if(!this.runtimeIncludes(e,"formatter")){var t=this.options.customFormatters[e];if(t)"function"==typeof t&&(t={formatter:t}),this.runtime[e]=Object.assign(t.formatter,{type:"formatter"},"module"in t&&t.module&&t.id?{id:ue(t.id),module:t.module}:{id:null,module:null});else{if(!de(e))throw new Error("Formatting function not found: ".concat(e));this.runtime[e]=Object.assign(ae[e],{type:"formatter"},{id:e,module:"@messageformat/runtime/lib/formatters"})}}},e.prototype.setDateFormatter=function(e,t,r){var n=this,i=e.param,o=this.plural.locale,s=i&&1===i.length&&i[0];if(s&&"content"===s.type&&/^\s*::/.test(s.value)){var a=s.value.trim().substr(2),c=ue("date_".concat(o,"_").concat(a),!0);if(!this.runtimeIncludes(c,"formatter")){var u=function(e,t,r){"string"==typeof t&&(t=y(t));const n=p(t,r),i=new Intl.DateTimeFormat(e,n);return e=>i.format(e)}(o,a);this.runtime[c]=Object.assign(u,{id:c,module:null,toString:function(){return function(e,t,r){"string"==typeof t&&(t=y(t));const n=p(t,r);return["(function() {",`var opt = ${JSON.stringify(n)};`,`var dtf = new Intl.DateTimeFormat(${JSON.stringify(e)}, opt);`,"return function(value) { return dtf.format(value); }"].join("\n ")+"\n})()"}(o,a)},type:"formatter"})}return c}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"},e.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 s=i[0].value.trim();switch(s){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 a=s.match(/^currency:([A-Z]+)$/);if(a)return t.push(JSON.stringify(a[1])),this.setFormatter("numberCurrency"),"numberCurrency";var c=ue("number_".concat(o,"_").concat(s),!0);if(!this.runtimeIncludes(c,"formatter")){var u=this.options.currency,l=M(o,s,u);this.runtime[c]=Object.assign(l,{id:null,module:null,toString:function(){return H(o,s,u)},type:"formatter"})}return c}r&&this.options.strict&&(r=null);var f=i.map((function(e){return n.token(e,r)}));return t.push("("+(f.join(" + ")||'""')+").trim()"),t.push(JSON.stringify(this.options.currency)),this.setFormatter("numberFmt"),"numberFmt"},e}();function de(e){return e in ae}const me=e=>1==e?"one":"other",ge=e=>0==e||1==e?"one":"other",ye=e=>e>=0&&e<=1?"one":"other",we=e=>{const t=!String(e).split(".")[1];return 1==e&&t?"one":"other"},ve=e=>"other",be=e=>1==e?"one":2==e?"two":"other",xe=me,ke=ge,Se=ye,Ee=me,Oe=ye,je=me,Te=we,Ne=me,_e=me,Ae=me,Pe=me,Re=me,De=ge,Le=ve,Ce=ye,Fe=ve,Ie=me,Be=me,$e=me,ze=me,Ue=me,qe=we,Me=ye,He=me,We=ve,Je=me,Ge=me,Ke=we,Ze=me,Ve=we,Xe=me,Ye=ye,Qe=we,et=me,tt=me,rt=we,nt=we,it=me,ot=ye,st=ge,at=me,ct=me,ut=ye,lt=ve,ft=me,ht=we,pt=ve,dt=ve,mt=ve,gt=we,yt=be,wt=ve,vt=ve,bt=me,xt=me,kt=ve,St=ve,Et=me,Ot=me,jt=me,Tt=ve,Nt=ve,_t=me,At=me,Pt=me,Rt=ve,Dt=ye,Lt=ve,Ct=me,Ft=me,It=me,Bt=me,$t=me,zt=me,Ut=we,qt=ve,Mt=ge,Ht=ve,Wt=me,Jt=ge,Gt=me,Kt=me,Zt=me,Vt=me,Xt=ve,Yt=ve,Qt=me,er=be,tr=me,rr=me,nr=me,ir=we,or=me,sr=me,ar=me,cr=ve,ur=me,lr=ge,fr=me,hr=me,pr=me,dr=me,mr=me,gr=ve,yr=ge,wr=me,vr=ye,br=me,xr=me,kr=me,Sr=me,Er=ve,Or=me,jr=be,Tr=we,Nr=we,_r=me,Ar=me,Pr=be,Rr=me,Dr=ve,Lr=ve,Cr=be,Fr=be,Ir=be,Br=be,$r=be,zr=me,Ur=me,qr=me,Mr=me,Hr=me,Wr=me,Jr=ve,Gr=we,Kr=we,Zr=me,Vr=me,Xr=me,Yr=me,Qr=ve,en=ge,tn=me,rn=me,nn=me,on=ve,sn=ve,an=me,cn=me,un=me,ln=ve,fn=we,hn=me,pn=me,dn=ve,mn=me,gn=me,yn=ge,wn=me,vn=ve,bn=me,xn=me,kn=we,Sn=ve,En=ve,On=ve,jn=ye;var Tn=Object.freeze({__proto__:null,af:xe,ak:ke,am:Se,an:Ee,ar:e=>{const 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:e=>{const 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:Oe,asa:je,ast:Te,az:Ne,bal:_e,be:e=>{const 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:Ae,bez:Pe,bg:Re,bho:De,bm:Le,bn:Ce,bo:Fe,br:e=>{const 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:Ie,bs:e=>{const t=String(e).split("."),r=t[0],n=t[1]||"",i=!t[1],o=r.slice(-1),s=r.slice(-2),a=n.slice(-1),c=n.slice(-2);return i&&1==o&&11!=s||1==a&&11!=c?"one":i&&o>=2&&o<=4&&(s<12||s>14)||a>=2&&a<=4&&(c<12||c>14)?"few":"other"},ca:e=>{const 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:Be,ceb:e=>{const t=String(e).split("."),r=t[0],n=t[1]||"",i=!t[1],o=r.slice(-1),s=n.slice(-1);return i&&(1==r||2==r||3==r)||i&&4!=o&&6!=o&&9!=o||!i&&4!=s&&6!=s&&9!=s?"one":"other"},cgg:$e,chr:ze,ckb:Ue,cs:e=>{const 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:e=>0==e?"zero":1==e?"one":2==e?"two":3==e?"few":6==e?"many":"other",da:e=>{const t=String(e).split("."),r=t[0],n=Number(t[0])==e;return 1!=e&&(n||0!=r&&1!=r)?"other":"one"},de:qe,doi:Me,dsb:e=>{const t=String(e).split("."),r=t[0],n=t[1]||"",i=!t[1],o=r.slice(-2),s=n.slice(-2);return i&&1==o||1==s?"one":i&&2==o||2==s?"two":i&&(3==o||4==o)||3==s||4==s?"few":"other"},dv:He,dz:We,ee:Je,el:Ge,en:Ke,eo:Ze,es:e=>{const 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:Ve,eu:Xe,fa:Ye,ff:e=>e>=0&&e<2?"one":"other",fi:Qe,fil:e=>{const t=String(e).split("."),r=t[0],n=t[1]||"",i=!t[1],o=r.slice(-1),s=n.slice(-1);return i&&(1==r||2==r||3==r)||i&&4!=o&&6!=o&&9!=o||!i&&4!=s&&6!=s&&9!=s?"one":"other"},fo:et,fr:e=>{const 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:tt,fy:rt,ga:e=>{const 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:e=>{const 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:nt,gsw:it,gu:ot,guw:st,gv:e=>{const 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:at,haw:ct,he:e=>{const t=String(e).split("."),r=t[0],n=!t[1];return 1==r&&n||0==r&&!n?"one":2==r&&n?"two":"other"},hi:ut,hnj:lt,hr:e=>{const t=String(e).split("."),r=t[0],n=t[1]||"",i=!t[1],o=r.slice(-1),s=r.slice(-2),a=n.slice(-1),c=n.slice(-2);return i&&1==o&&11!=s||1==a&&11!=c?"one":i&&o>=2&&o<=4&&(s<12||s>14)||a>=2&&a<=4&&(c<12||c>14)?"few":"other"},hsb:e=>{const t=String(e).split("."),r=t[0],n=t[1]||"",i=!t[1],o=r.slice(-2),s=n.slice(-2);return i&&1==o||1==s?"one":i&&2==o||2==s?"two":i&&(3==o||4==o)||3==s||4==s?"few":"other"},hu:ft,hy:e=>e>=0&&e<2?"one":"other",ia:ht,id:pt,ig:dt,ii:mt,io:gt,is:e=>{const t=String(e).split("."),r=t[0],n=(t[1]||"").replace(/0+$/,""),i=Number(t[0])==e,o=r.slice(-1),s=r.slice(-2);return i&&1==o&&11!=s||n%10==1&&n%100!=11?"one":"other"},it:e=>{const 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:yt,ja:wt,jbo:vt,jgo:bt,jmc:xt,jv:kt,jw:St,ka:Et,kab:e=>e>=0&&e<2?"one":"other",kaj:Ot,kcg:jt,kde:Tt,kea:Nt,kk:_t,kkj:At,kl:Pt,km:Rt,kn:Dt,ko:Lt,ks:Ct,ksb:Ft,ksh:e=>0==e?"zero":1==e?"one":"other",ku:It,kw:e=>{const 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),s=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==s?"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:Bt,lag:e=>{const t=String(e).split(".")[0];return 0==e?"zero":0!=t&&1!=t||0==e?"other":"one"},lb:$t,lg:zt,lij:Ut,lkt:qt,ln:Mt,lo:Ht,lt:e=>{const 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:e=>{const t=String(e).split("."),r=t[1]||"",n=r.length,i=Number(t[0])==e,o=i&&t[0].slice(-1),s=i&&t[0].slice(-2),a=r.slice(-2),c=r.slice(-1);return i&&0==o||s>=11&&s<=19||2==n&&a>=11&&a<=19?"zero":1==o&&11!=s||2==n&&1==c&&11!=a||2!=n&&1==c?"one":"other"},mas:Wt,mg:Jt,mgo:Gt,mk:e=>{const t=String(e).split("."),r=t[0],n=t[1]||"",i=!t[1],o=r.slice(-1),s=r.slice(-2),a=n.slice(-1),c=n.slice(-2);return i&&1==o&&11!=s||1==a&&11!=c?"one":"other"},ml:Kt,mn:Zt,mo:e=>{const 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:Vt,ms:Xt,mt:e=>{const 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:Yt,nah:Qt,naq:er,nb:tr,nd:rr,ne:nr,nl:ir,nn:or,nnh:sr,no:ar,nqo:cr,nr:ur,nso:lr,ny:fr,nyn:hr,om:pr,or:dr,os:mr,osa:gr,pa:yr,pap:wr,pcm:vr,pl:e=>{const 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:e=>{const t=String(e).split("."),r=t[1]||"",n=r.length,i=Number(t[0])==e,o=i&&t[0].slice(-1),s=i&&t[0].slice(-2),a=r.slice(-2),c=r.slice(-1);return i&&0==o||s>=11&&s<=19||2==n&&a>=11&&a<=19?"zero":1==o&&11!=s||2==n&&1==c&&11!=a||2!=n&&1==c?"one":"other"},ps:br,pt:e=>{const 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:e=>{const 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:xr,ro:e=>{const 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:kr,ru:e=>{const 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:Sr,sah:Er,saq:Or,sat:jr,sc:Tr,scn:Nr,sd:_r,sdh:Ar,se:Pr,seh:Rr,ses:Dr,sg:Lr,sh:e=>{const t=String(e).split("."),r=t[0],n=t[1]||"",i=!t[1],o=r.slice(-1),s=r.slice(-2),a=n.slice(-1),c=n.slice(-2);return i&&1==o&&11!=s||1==a&&11!=c?"one":i&&o>=2&&o<=4&&(s<12||s>14)||a>=2&&a<=4&&(c<12||c>14)?"few":"other"},shi:e=>{const t=String(e).split("."),r=Number(t[0])==e;return e>=0&&e<=1?"one":r&&e>=2&&e<=10?"few":"other"},si:e=>{const t=String(e).split("."),r=t[0],n=t[1]||"";return 0==e||1==e||0==r&&1==n?"one":"other"},sk:e=>{const 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:e=>{const 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:Cr,smi:Fr,smj:Ir,smn:Br,sms:$r,sn:zr,so:Ur,sq:qr,sr:e=>{const t=String(e).split("."),r=t[0],n=t[1]||"",i=!t[1],o=r.slice(-1),s=r.slice(-2),a=n.slice(-1),c=n.slice(-2);return i&&1==o&&11!=s||1==a&&11!=c?"one":i&&o>=2&&o<=4&&(s<12||s>14)||a>=2&&a<=4&&(c<12||c>14)?"few":"other"},ss:Mr,ssy:Hr,st:Wr,su:Jr,sv:Gr,sw:Kr,syr:Zr,ta:Vr,te:Xr,teo:Yr,th:Qr,ti:en,tig:tn,tk:rn,tl:e=>{const t=String(e).split("."),r=t[0],n=t[1]||"",i=!t[1],o=r.slice(-1),s=n.slice(-1);return i&&(1==r||2==r||3==r)||i&&4!=o&&6!=o&&9!=o||!i&&4!=s&&6!=s&&9!=s?"one":"other"},tn:nn,to:on,tpi:sn,tr:an,ts:cn,tzm:e=>{const t=String(e).split("."),r=Number(t[0])==e;return 0==e||1==e||r&&e>=11&&e<=99?"one":"other"},ug:un,uk:e=>{const 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:ln,ur:fn,uz:hn,ve:pn,vec:e=>{const 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:dn,vo:mn,vun:gn,wa:yn,wae:wn,wo:vn,xh:bn,xog:xn,yi:kn,yo:Sn,yue:En,zh:On,zu:jn});const Nn="zero",_n="one",An="two",Pn="few",Rn="many",Dn="other",Ln={cardinal:[_n,Dn],ordinal:[Dn]},Cn={cardinal:[_n,Dn],ordinal:[_n,Dn]},Fn={cardinal:[Dn],ordinal:[Dn]},In={cardinal:[_n,An,Dn],ordinal:[Dn]},Bn=Ln,$n=Ln,zn=Ln,Un=Ln,qn={cardinal:[Nn,_n,An,Pn,Rn,Dn],ordinal:[Dn]},Mn={cardinal:[Nn,_n,An,Pn,Rn,Dn],ordinal:[Dn]},Hn={cardinal:[_n,Dn],ordinal:[_n,An,Pn,Rn,Dn]},Wn=Ln,Jn=Ln,Gn={cardinal:[_n,Dn],ordinal:[_n,Pn,Rn,Dn]},Kn=Cn,Zn={cardinal:[_n,Pn,Rn,Dn],ordinal:[Pn,Dn]},Vn=Ln,Xn=Ln,Yn=Ln,Qn=Ln,ei=Fn,ti={cardinal:[_n,Dn],ordinal:[_n,An,Pn,Rn,Dn]},ri=Fn,ni={cardinal:[_n,An,Pn,Rn,Dn],ordinal:[Dn]},ii=Ln,oi={cardinal:[_n,Pn,Dn],ordinal:[Dn]},si={cardinal:[_n,Rn,Dn],ordinal:[_n,An,Pn,Dn]},ai=Ln,ci=Ln,ui=Ln,li=Ln,fi=Ln,hi={cardinal:[_n,Pn,Rn,Dn],ordinal:[Dn]},pi={cardinal:[Nn,_n,An,Pn,Rn,Dn],ordinal:[Nn,_n,An,Pn,Rn,Dn]},di=Ln,mi=Ln,gi=Ln,yi={cardinal:[_n,An,Pn,Dn],ordinal:[Dn]},wi=Ln,vi=Fn,bi=Ln,xi=Ln,ki={cardinal:[_n,Dn],ordinal:[_n,An,Pn,Dn]},Si=Ln,Ei={cardinal:[_n,Rn,Dn],ordinal:[Dn]},Oi=Ln,ji=Ln,Ti=Ln,Ni=Ln,_i=Ln,Ai=Cn,Pi=Ln,Ri={cardinal:[_n,Rn,Dn],ordinal:[_n,Dn]},Di=Ln,Li=Ln,Ci={cardinal:[_n,An,Pn,Rn,Dn],ordinal:[_n,Dn]},Fi={cardinal:[_n,An,Pn,Dn],ordinal:[_n,An,Pn,Dn]},Ii=Ln,Bi=Ln,$i={cardinal:[_n,Dn],ordinal:[_n,An,Pn,Rn,Dn]},zi=Ln,Ui={cardinal:[_n,An,Pn,Rn,Dn],ordinal:[Dn]},qi=Ln,Mi=Ln,Hi=In,Wi={cardinal:[_n,Dn],ordinal:[_n,An,Pn,Rn,Dn]},Ji=Fn,Gi={cardinal:[_n,Pn,Dn],ordinal:[Dn]},Ki={cardinal:[_n,An,Pn,Dn],ordinal:[Dn]},Zi=Cn,Vi=Cn,Xi=Ln,Yi=Fn,Qi=Fn,eo=Fn,to=Ln,ro=Ln,no={cardinal:[_n,Rn,Dn],ordinal:[Rn,Dn]},io=In,oo=Fn,so=Fn,ao=Ln,co=Ln,uo=Fn,lo=Fn,fo={cardinal:[_n,Dn],ordinal:[_n,Rn,Dn]},ho=Ln,po=Ln,mo=Ln,go=Fn,yo=Fn,wo={cardinal:[_n,Dn],ordinal:[Rn,Dn]},vo=Ln,bo=Ln,xo=Fn,ko=Ln,So=Fn,Eo=Ln,Oo=Ln,jo={cardinal:[Nn,_n,Dn],ordinal:[Dn]},To=Ln,No={cardinal:[Nn,_n,An,Pn,Rn,Dn],ordinal:[_n,Rn,Dn]},_o=Ln,Ao={cardinal:[Nn,_n,Dn],ordinal:[Dn]},Po=Ln,Ro=Ln,Do={cardinal:[_n,Dn],ordinal:[Rn,Dn]},Lo=Fn,Co=Ln,Fo={cardinal:[Dn],ordinal:[_n,Dn]},Io={cardinal:[_n,Pn,Rn,Dn],ordinal:[Dn]},Bo={cardinal:[Nn,_n,Dn],ordinal:[Dn]},$o=Ln,zo=Ln,Uo=Ln,qo={cardinal:[_n,Dn],ordinal:[_n,An,Rn,Dn]},Mo=Ln,Ho=Ln,Wo={cardinal:[_n,Pn,Dn],ordinal:[_n,Dn]},Jo={cardinal:[_n,Dn],ordinal:[_n,An,Pn,Dn]},Go={cardinal:[Dn],ordinal:[_n,Dn]},Ko={cardinal:[_n,An,Pn,Rn,Dn],ordinal:[Dn]},Zo=Fn,Vo=Ln,Xo=In,Yo=Ln,Qo=Ln,es=Cn,ts=Ln,rs=Ln,ns=Ln,is=Ln,os=Fn,ss=Ln,as=Ln,cs=Ln,us=Ln,ls=Ln,fs={cardinal:[_n,Dn],ordinal:[_n,An,Pn,Rn,Dn]},hs=Ln,ps=Fn,ds=Ln,ms=Ln,gs=Ln,ys={cardinal:[_n,Pn,Rn,Dn],ordinal:[Dn]},ws={cardinal:[Nn,_n,Dn],ordinal:[Dn]},vs=Ln,bs={cardinal:[_n,Rn,Dn],ordinal:[Dn]},xs={cardinal:[_n,Rn,Dn],ordinal:[Dn]},ks=Ln,Ss={cardinal:[_n,Pn,Dn],ordinal:[_n,Dn]},Es=Ln,Os={cardinal:[_n,Pn,Rn,Dn],ordinal:[Dn]},js=Ln,Ts=Fn,Ns=Ln,_s=In,As={cardinal:[_n,Dn],ordinal:[Rn,Dn]},Ps={cardinal:[_n,Dn],ordinal:[Rn,Dn]},Rs=Ln,Ds=Ln,Ls=In,Cs=Ln,Fs=Fn,Is=Fn,Bs={cardinal:[_n,Pn,Dn],ordinal:[Dn]},$s={cardinal:[_n,Pn,Dn],ordinal:[Dn]},zs=Ln,Us={cardinal:[_n,Pn,Rn,Dn],ordinal:[Dn]},qs={cardinal:[_n,An,Pn,Dn],ordinal:[Dn]},Ms=In,Hs=In,Ws=In,Js=In,Gs=In,Ks=Ln,Zs=Ln,Vs={cardinal:[_n,Dn],ordinal:[_n,Rn,Dn]},Xs={cardinal:[_n,Pn,Dn],ordinal:[Dn]},Ys=Ln,Qs=Ln,ea=Ln,ta=Fn,ra=Cn,na=Ln,ia=Ln,oa=Ln,sa=Ln,aa=Ln,ca=Fn,ua=Ln,la=Ln,fa={cardinal:[_n,Dn],ordinal:[Pn,Dn]},ha=Cn,pa=Ln,da=Fn,ma=Fn,ga=Ln,ya=Ln,wa=Ln,va=Ln,ba={cardinal:[_n,Pn,Rn,Dn],ordinal:[Pn,Dn]},xa=Fn,ka=Ln,Sa=Ln,Ea=Ln,Oa={cardinal:[_n,Rn,Dn],ordinal:[Rn,Dn]},ja={cardinal:[Dn],ordinal:[_n,Dn]},Ta=Ln,Na=Ln,_a=Ln,Aa=Ln,Pa=Fn,Ra=Ln,Da=Ln,La=Ln,Ca=Fn,Fa=Fn,Ia=Fn,Ba=Ln;var $a=Object.freeze({__proto__:null,af:Bn,ak:$n,am:zn,an:Un,ar:qn,ars:Mn,as:Hn,asa:Wn,ast:Jn,az:Gn,bal:Kn,be:Zn,bem:Vn,bez:Xn,bg:Yn,bho:Qn,bm:ei,bn:ti,bo:ri,br:ni,brx:ii,bs:oi,ca:si,ce:ai,ceb:ci,cgg:ui,chr:li,ckb:fi,cs:hi,cy:pi,da:di,de:mi,doi:gi,dsb:yi,dv:wi,dz:vi,ee:bi,el:xi,en:ki,eo:Si,es:Ei,et:Oi,eu:ji,fa:Ti,ff:Ni,fi:_i,fil:Ai,fo:Pi,fr:Ri,fur:Di,fy:Li,ga:Ci,gd:Fi,gl:Ii,gsw:Bi,gu:$i,guw:zi,gv:Ui,ha:qi,haw:Mi,he:Hi,hi:Wi,hnj:Ji,hr:Gi,hsb:Ki,hu:Zi,hy:Vi,ia:Xi,id:Yi,ig:Qi,ii:eo,io:to,is:ro,it:no,iu:io,ja:oo,jbo:so,jgo:ao,jmc:co,jv:uo,jw:lo,ka:fo,kab:ho,kaj:po,kcg:mo,kde:go,kea:yo,kk:wo,kkj:vo,kl:bo,km:xo,kn:ko,ko:So,ks:Eo,ksb:Oo,ksh:jo,ku:To,kw:No,ky:_o,lag:Ao,lb:Po,lg:Ro,lij:Do,lkt:Lo,ln:Co,lo:Fo,lt:Io,lv:Bo,mas:$o,mg:zo,mgo:Uo,mk:qo,ml:Mo,mn:Ho,mo:Wo,mr:Jo,ms:Go,mt:Ko,my:Zo,nah:Vo,naq:Xo,nb:Yo,nd:Qo,ne:es,nl:ts,nn:rs,nnh:ns,no:is,nqo:os,nr:ss,nso:as,ny:cs,nyn:us,om:ls,or:fs,os:hs,osa:ps,pa:ds,pap:ms,pcm:gs,pl:ys,prg:ws,ps:vs,pt:bs,pt_PT:xs,rm:ks,ro:Ss,rof:Es,ru:Os,rwk:js,sah:Ts,saq:Ns,sat:_s,sc:As,scn:Ps,sd:Rs,sdh:Ds,se:Ls,seh:Cs,ses:Fs,sg:Is,sh:Bs,shi:$s,si:zs,sk:Us,sl:qs,sma:Ms,smi:Hs,smj:Ws,smn:Js,sms:Gs,sn:Ks,so:Zs,sq:Vs,sr:Xs,ss:Ys,ssy:Qs,st:ea,su:ta,sv:ra,sw:na,syr:ia,ta:oa,te:sa,teo:aa,th:ca,ti:ua,tig:la,tk:fa,tl:ha,tn:pa,to:da,tpi:ma,tr:ga,ts:ya,tzm:wa,ug:va,uk:ba,und:xa,ur:ka,uz:Sa,ve:Ea,vec:Oa,vi:ja,vo:Ta,vun:Na,wa:_a,wae:Aa,wo:Pa,xh:Ra,xog:Da,yi:La,yo:Ca,yue:Fa,zh:Ia,zu:Ba});const za=(e,t)=>t?"other":1==e?"one":"other",Ua=(e,t)=>t?"other":0==e||1==e?"one":"other",qa=(e,t)=>t?"other":e>=0&&e<=1?"one":"other",Ma=(e,t)=>{const r=!String(e).split(".")[1];return t?"other":1==e&&r?"one":"other"},Ha=(e,t)=>"other",Wa=(e,t)=>t?"other":1==e?"one":2==e?"two":"other",Ja=za,Ga=Ua,Ka=qa,Za=za,Va=za,Xa=Ma,Ya=za,Qa=za,ec=za,tc=Ua,rc=Ha,nc=Ha,ic=za,oc=za,sc=za,ac=za,cc=za,uc=Ma,lc=qa,fc=za,hc=Ha,pc=za,dc=za,mc=za,gc=Ma,yc=za,wc=qa,vc=Ma,bc=za,xc=za,kc=Ma,Sc=Ma,Ec=za,Oc=Ua,jc=za,Tc=za,Nc=Ha,_c=Ma,Ac=Ha,Pc=Ha,Rc=Ha,Dc=Ma,Lc=Wa,Cc=Ha,Fc=Ha,Ic=za,Bc=za,$c=Ha,zc=Ha,Uc=za,qc=za,Mc=Ha,Hc=Ha,Wc=za,Jc=za,Gc=Ha,Kc=qa,Zc=Ha,Vc=za,Xc=za,Yc=za,Qc=za,eu=za,tu=za,ru=Ha,nu=Ua,iu=za,ou=Ua,su=za,au=za,cu=za,uu=Ha,lu=za,fu=Wa,hu=za,pu=za,du=Ma,mu=za,gu=za,yu=za,wu=Ha,vu=za,bu=Ua,xu=za,ku=za,Su=za,Eu=za,Ou=Ha,ju=Ua,Tu=za,Nu=qa,_u=za,Au=za,Pu=za,Ru=za,Du=Ha,Lu=za,Cu=Wa,Fu=za,Iu=za,Bu=Wa,$u=za,zu=Ha,Uu=Ha,qu=Wa,Mu=Wa,Hu=Wa,Wu=Wa,Ju=Wa,Gu=za,Ku=za,Zu=za,Vu=za,Xu=za,Yu=Ha,Qu=Ma,el=za,tl=za,rl=za,nl=za,il=Ha,ol=Ua,sl=za,al=za,cl=Ha,ul=Ha,ll=za,fl=za,hl=za,pl=Ha,dl=Ma,ml=za,gl=za,yl=za,wl=za,vl=Ua,bl=za,xl=Ha,kl=za,Sl=za,El=Ma,Ol=Ha,jl=Ha,Tl=Ha,Nl=qa;var _l=Object.freeze({__proto__:null,af:Ja,ak:Ga,am:Ka,an:Za,ar:(e,t)=>{const 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:(e,t)=>{const 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:(e,t)=>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:Va,ast:Xa,az:(e,t)=>{const 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:(e,t)=>1==e?"one":"other",be:(e,t)=>{const 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:Ya,bez:Qa,bg:ec,bho:tc,bm:rc,bn:(e,t)=>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:nc,br:(e,t)=>{const r=String(e).split("."),n=Number(r[0])==e,i=n&&r[0].slice(-1),o=n&&r[0].slice(-2),s=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==s?"many":"other"},brx:ic,bs:(e,t)=>{const r=String(e).split("."),n=r[0],i=r[1]||"",o=!r[1],s=n.slice(-1),a=n.slice(-2),c=i.slice(-1),u=i.slice(-2);return t?"other":o&&1==s&&11!=a||1==c&&11!=u?"one":o&&s>=2&&s<=4&&(a<12||a>14)||c>=2&&c<=4&&(u<12||u>14)?"few":"other"},ca:(e,t)=>{const 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:oc,ceb:(e,t)=>{const r=String(e).split("."),n=r[0],i=r[1]||"",o=!r[1],s=n.slice(-1),a=i.slice(-1);return t?"other":o&&(1==n||2==n||3==n)||o&&4!=s&&6!=s&&9!=s||!o&&4!=a&&6!=a&&9!=a?"one":"other"},cgg:sc,chr:ac,ckb:cc,cs:(e,t)=>{const 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:(e,t)=>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:(e,t)=>{const r=String(e).split("."),n=r[0],i=Number(r[0])==e;return t||1!=e&&(i||0!=n&&1!=n)?"other":"one"},de:uc,doi:lc,dsb:(e,t)=>{const r=String(e).split("."),n=r[0],i=r[1]||"",o=!r[1],s=n.slice(-2),a=i.slice(-2);return t?"other":o&&1==s||1==a?"one":o&&2==s||2==a?"two":o&&(3==s||4==s)||3==a||4==a?"few":"other"},dv:fc,dz:hc,ee:pc,el:dc,en:(e,t)=>{const r=String(e).split("."),n=!r[1],i=Number(r[0])==e,o=i&&r[0].slice(-1),s=i&&r[0].slice(-2);return t?1==o&&11!=s?"one":2==o&&12!=s?"two":3==o&&13!=s?"few":"other":1==e&&n?"one":"other"},eo:mc,es:(e,t)=>{const 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:gc,eu:yc,fa:wc,ff:(e,t)=>t?"other":e>=0&&e<2?"one":"other",fi:vc,fil:(e,t)=>{const r=String(e).split("."),n=r[0],i=r[1]||"",o=!r[1],s=n.slice(-1),a=i.slice(-1);return t?1==e?"one":"other":o&&(1==n||2==n||3==n)||o&&4!=s&&6!=s&&9!=s||!o&&4!=a&&6!=a&&9!=a?"one":"other"},fo:bc,fr:(e,t)=>{const 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:xc,fy:kc,ga:(e,t)=>{const 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:(e,t)=>{const 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:Sc,gsw:Ec,gu:(e,t)=>t?1==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other",guw:Oc,gv:(e,t)=>{const r=String(e).split("."),n=r[0],i=!r[1],o=n.slice(-1),s=n.slice(-2);return t?"other":i&&1==o?"one":i&&2==o?"two":!i||0!=s&&20!=s&&40!=s&&60!=s&&80!=s?i?"other":"many":"few"},ha:jc,haw:Tc,he:(e,t)=>{const 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:(e,t)=>t?1==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other",hnj:Nc,hr:(e,t)=>{const r=String(e).split("."),n=r[0],i=r[1]||"",o=!r[1],s=n.slice(-1),a=n.slice(-2),c=i.slice(-1),u=i.slice(-2);return t?"other":o&&1==s&&11!=a||1==c&&11!=u?"one":o&&s>=2&&s<=4&&(a<12||a>14)||c>=2&&c<=4&&(u<12||u>14)?"few":"other"},hsb:(e,t)=>{const r=String(e).split("."),n=r[0],i=r[1]||"",o=!r[1],s=n.slice(-2),a=i.slice(-2);return t?"other":o&&1==s||1==a?"one":o&&2==s||2==a?"two":o&&(3==s||4==s)||3==a||4==a?"few":"other"},hu:(e,t)=>t?1==e||5==e?"one":"other":1==e?"one":"other",hy:(e,t)=>t?1==e?"one":"other":e>=0&&e<2?"one":"other",ia:_c,id:Ac,ig:Pc,ii:Rc,io:Dc,is:(e,t)=>{const r=String(e).split("."),n=r[0],i=(r[1]||"").replace(/0+$/,""),o=Number(r[0])==e,s=n.slice(-1),a=n.slice(-2);return t?"other":o&&1==s&&11!=a||i%10==1&&i%100!=11?"one":"other"},it:(e,t)=>{const 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:Lc,ja:Cc,jbo:Fc,jgo:Ic,jmc:Bc,jv:$c,jw:zc,ka:(e,t)=>{const 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:(e,t)=>t?"other":e>=0&&e<2?"one":"other",kaj:Uc,kcg:qc,kde:Mc,kea:Hc,kk:(e,t)=>{const 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:Wc,kl:Jc,km:Gc,kn:Kc,ko:Zc,ks:Vc,ksb:Xc,ksh:(e,t)=>t?"other":0==e?"zero":1==e?"one":"other",ku:Yc,kw:(e,t)=>{const r=String(e).split("."),n=Number(r[0])==e,i=n&&r[0].slice(-2),o=n&&r[0].slice(-3),s=n&&r[0].slice(-5),a=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&&(s>=1e3&&s<=2e4||4e4==s||6e4==s||8e4==s)||0!=e&&1e5==a?"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:Qc,lag:(e,t)=>{const r=String(e).split(".")[0];return t?"other":0==e?"zero":0!=r&&1!=r||0==e?"other":"one"},lb:eu,lg:tu,lij:(e,t)=>{const 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:ru,ln:nu,lo:(e,t)=>t&&1==e?"one":"other",lt:(e,t)=>{const r=String(e).split("."),n=r[1]||"",i=Number(r[0])==e,o=i&&r[0].slice(-1),s=i&&r[0].slice(-2);return t?"other":1==o&&(s<11||s>19)?"one":o>=2&&o<=9&&(s<11||s>19)?"few":0!=n?"many":"other"},lv:(e,t)=>{const r=String(e).split("."),n=r[1]||"",i=n.length,o=Number(r[0])==e,s=o&&r[0].slice(-1),a=o&&r[0].slice(-2),c=n.slice(-2),u=n.slice(-1);return t?"other":o&&0==s||a>=11&&a<=19||2==i&&c>=11&&c<=19?"zero":1==s&&11!=a||2==i&&1==u&&11!=c||2!=i&&1==u?"one":"other"},mas:iu,mg:ou,mgo:su,mk:(e,t)=>{const r=String(e).split("."),n=r[0],i=r[1]||"",o=!r[1],s=n.slice(-1),a=n.slice(-2),c=i.slice(-1),u=i.slice(-2);return t?1==s&&11!=a?"one":2==s&&12!=a?"two":7!=s&&8!=s||17==a||18==a?"other":"many":o&&1==s&&11!=a||1==c&&11!=u?"one":"other"},ml:au,mn:cu,mo:(e,t)=>{const 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:(e,t)=>t?1==e?"one":2==e||3==e?"two":4==e?"few":"other":1==e?"one":"other",ms:(e,t)=>t&&1==e?"one":"other",mt:(e,t)=>{const 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:uu,nah:lu,naq:fu,nb:hu,nd:pu,ne:(e,t)=>{const r=String(e).split("."),n=Number(r[0])==e;return t?n&&e>=1&&e<=4?"one":"other":1==e?"one":"other"},nl:du,nn:mu,nnh:gu,no:yu,nqo:wu,nr:vu,nso:bu,ny:xu,nyn:ku,om:Su,or:(e,t)=>{const 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:Eu,osa:Ou,pa:ju,pap:Tu,pcm:Nu,pl:(e,t)=>{const r=String(e).split("."),n=r[0],i=!r[1],o=n.slice(-1),s=n.slice(-2);return t?"other":1==e&&i?"one":i&&o>=2&&o<=4&&(s<12||s>14)?"few":i&&1!=n&&(0==o||1==o)||i&&o>=5&&o<=9||i&&s>=12&&s<=14?"many":"other"},prg:(e,t)=>{const r=String(e).split("."),n=r[1]||"",i=n.length,o=Number(r[0])==e,s=o&&r[0].slice(-1),a=o&&r[0].slice(-2),c=n.slice(-2),u=n.slice(-1);return t?"other":o&&0==s||a>=11&&a<=19||2==i&&c>=11&&c<=19?"zero":1==s&&11!=a||2==i&&1==u&&11!=c||2!=i&&1==u?"one":"other"},ps:_u,pt:(e,t)=>{const 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:(e,t)=>{const 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:Au,ro:(e,t)=>{const 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:Pu,ru:(e,t)=>{const r=String(e).split("."),n=r[0],i=!r[1],o=n.slice(-1),s=n.slice(-2);return t?"other":i&&1==o&&11!=s?"one":i&&o>=2&&o<=4&&(s<12||s>14)?"few":i&&0==o||i&&o>=5&&o<=9||i&&s>=11&&s<=14?"many":"other"},rwk:Ru,sah:Du,saq:Lu,sat:Cu,sc:(e,t)=>{const r=!String(e).split(".")[1];return t?11==e||8==e||80==e||800==e?"many":"other":1==e&&r?"one":"other"},scn:(e,t)=>{const r=!String(e).split(".")[1];return t?11==e||8==e||80==e||800==e?"many":"other":1==e&&r?"one":"other"},sd:Fu,sdh:Iu,se:Bu,seh:$u,ses:zu,sg:Uu,sh:(e,t)=>{const r=String(e).split("."),n=r[0],i=r[1]||"",o=!r[1],s=n.slice(-1),a=n.slice(-2),c=i.slice(-1),u=i.slice(-2);return t?"other":o&&1==s&&11!=a||1==c&&11!=u?"one":o&&s>=2&&s<=4&&(a<12||a>14)||c>=2&&c<=4&&(u<12||u>14)?"few":"other"},shi:(e,t)=>{const 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:(e,t)=>{const r=String(e).split("."),n=r[0],i=r[1]||"";return t?"other":0==e||1==e||0==n&&1==i?"one":"other"},sk:(e,t)=>{const 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:(e,t)=>{const 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:qu,smi:Mu,smj:Hu,smn:Wu,sms:Ju,sn:Gu,so:Ku,sq:(e,t)=>{const 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:(e,t)=>{const r=String(e).split("."),n=r[0],i=r[1]||"",o=!r[1],s=n.slice(-1),a=n.slice(-2),c=i.slice(-1),u=i.slice(-2);return t?"other":o&&1==s&&11!=a||1==c&&11!=u?"one":o&&s>=2&&s<=4&&(a<12||a>14)||c>=2&&c<=4&&(u<12||u>14)?"few":"other"},ss:Zu,ssy:Vu,st:Xu,su:Yu,sv:(e,t)=>{const r=String(e).split("."),n=!r[1],i=Number(r[0])==e,o=i&&r[0].slice(-1),s=i&&r[0].slice(-2);return t?1!=o&&2!=o||11==s||12==s?"other":"one":1==e&&n?"one":"other"},sw:Qu,syr:el,ta:tl,te:rl,teo:nl,th:il,ti:ol,tig:sl,tk:(e,t)=>{const 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:(e,t)=>{const r=String(e).split("."),n=r[0],i=r[1]||"",o=!r[1],s=n.slice(-1),a=i.slice(-1);return t?1==e?"one":"other":o&&(1==n||2==n||3==n)||o&&4!=s&&6!=s&&9!=s||!o&&4!=a&&6!=a&&9!=a?"one":"other"},tn:al,to:cl,tpi:ul,tr:ll,ts:fl,tzm:(e,t)=>{const r=String(e).split("."),n=Number(r[0])==e;return t?"other":0==e||1==e||n&&e>=11&&e<=99?"one":"other"},ug:hl,uk:(e,t)=>{const r=String(e).split("."),n=r[0],i=!r[1],o=Number(r[0])==e,s=o&&r[0].slice(-1),a=o&&r[0].slice(-2),c=n.slice(-1),u=n.slice(-2);return t?3==s&&13!=a?"few":"other":i&&1==c&&11!=u?"one":i&&c>=2&&c<=4&&(u<12||u>14)?"few":i&&0==c||i&&c>=5&&c<=9||i&&u>=11&&u<=14?"many":"other"},und:pl,ur:dl,uz:ml,ve:gl,vec:(e,t)=>{const 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:(e,t)=>t&&1==e?"one":"other",vo:yl,vun:wl,wa:vl,wae:bl,wo:xl,xh:kl,xog:Sl,yi:El,yo:Ol,yue:jl,zh:Tl,zu:Nl});function Al(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 Pl(e){if("function"==typeof e){var t=Al(e.name);return{isDefault:!1,id:ue(t),lc:t,locale:e.name,getPlural:e,cardinals:e.cardinals||[],ordinals:e.ordinals||[]}}var r=Al(e),n=ue(r);return function(e){return e in _l}(n)?{isDefault:!0,id:n,lc:r,locale:e,getCardinal:Tn[n],getPlural:_l[n],cardinals:$a[n].cardinal,ordinals:$a[n].ordinal}:null}function Rl(e){return ue(Al(e))in _l}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(_l).filter((function(e){return e!==i}))).unshift(i),o.map(Pl)):Array.isArray(e)?this.plurals=e.map(Pl).filter(Boolean):e&&(n=Pl(e))&&(this.plurals=[n]),0===this.plurals.length){var n=Pl(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(Rl)},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,s=new pe(this.options),a="return "+s.compile(e,this.plurals[0]),c=[],u=[];try{for(var l=t(Object.entries(s.runtime)),f=l.next();!f.done;f=l.next()){var h=n(f.value,2),p=h[0],d=h[1];c.push(p),u.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(c),!1),[a],!1)))).apply(void 0,i([],n(u),!1))},r.defaultLocale="en",r}()}()},669:(e,t,r)=>{e.exports=r(609)},448:(e,t,r)=>{"use strict";var n=r(867),i=r(26),o=r(372),s=r(327),a=r(97),c=r(109),u=r(985),l=r(874),f=r(648),h=r(644),p=r(205);e.exports=function(e){return new Promise((function(t,r){var d,m=e.data,g=e.headers,y=e.responseType;function w(){e.cancelToken&&e.cancelToken.unsubscribe(d),e.signal&&e.signal.removeEventListener("abort",d)}n.isFormData(m)&&n.isStandardBrowserEnv()&&delete g["Content-Type"];var v=new XMLHttpRequest;if(e.auth){var b=e.auth.username||"",x=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";g.Authorization="Basic "+btoa(b+":"+x)}var k=a(e.baseURL,e.url);function S(){if(v){var n="getAllResponseHeaders"in v?c(v.getAllResponseHeaders()):null,o={data:y&&"text"!==y&&"json"!==y?v.response:v.responseText,status:v.status,statusText:v.statusText,headers:n,config:e,request:v};i((function(e){t(e),w()}),(function(e){r(e),w()}),o),v=null}}if(v.open(e.method.toUpperCase(),s(k,e.params,e.paramsSerializer),!0),v.timeout=e.timeout,"onloadend"in v?v.onloadend=S:v.onreadystatechange=function(){v&&4===v.readyState&&(0!==v.status||v.responseURL&&0===v.responseURL.indexOf("file:"))&&setTimeout(S)},v.onabort=function(){v&&(r(new f("Request aborted",f.ECONNABORTED,e,v)),v=null)},v.onerror=function(){r(new f("Network Error",f.ERR_NETWORK,e,v,v)),v=null},v.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||l;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(new f(t,n.clarifyTimeoutError?f.ETIMEDOUT:f.ECONNABORTED,e,v)),v=null},n.isStandardBrowserEnv()){var E=(e.withCredentials||u(k))&&e.xsrfCookieName?o.read(e.xsrfCookieName):void 0;E&&(g[e.xsrfHeaderName]=E)}"setRequestHeader"in v&&n.forEach(g,(function(e,t){void 0===m&&"content-type"===t.toLowerCase()?delete g[t]:v.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(v.withCredentials=!!e.withCredentials),y&&"json"!==y&&(v.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&v.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&v.upload&&v.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(d=function(e){v&&(r(!e||e&&e.type?new h:e),v.abort(),v=null)},e.cancelToken&&e.cancelToken.subscribe(d),e.signal&&(e.signal.aborted?d():e.signal.addEventListener("abort",d))),m||(m=null);var O=p(k);O&&-1===["http","https","file"].indexOf(O)?r(new f("Unsupported protocol "+O+":",f.ERR_BAD_REQUEST,e)):v.send(m)}))}},609:(e,t,r)=>{"use strict";var n=r(867),i=r(849),o=r(321),s=r(185),a=function e(t){var r=new o(t),a=i(o.prototype.request,r);return n.extend(a,o.prototype,r),n.extend(a,r),a.create=function(r){return e(s(t,r))},a}(r(546));a.Axios=o,a.CanceledError=r(644),a.CancelToken=r(972),a.isCancel=r(502),a.VERSION=r(288).version,a.toFormData=r(675),a.AxiosError=r(648),a.Cancel=a.CanceledError,a.all=function(e){return Promise.all(e)},a.spread=r(713),a.isAxiosError=r(268),e.exports=a,e.exports.default=a},972:(e,t,r)=>{"use strict";var n=r(644);function i(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var r=this;this.promise.then((function(e){if(r._listeners){var t,n=r._listeners.length;for(t=0;t<n;t++)r._listeners[t](e);r._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e((function(e){r.reason||(r.reason=new n(e),t(r.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},i.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},i.source=function(){var e;return{token:new i((function(t){e=t})),cancel:e}},e.exports=i},644:(e,t,r)=>{"use strict";var n=r(648);function i(e){n.call(this,null==e?"canceled":e,n.ERR_CANCELED),this.name="CanceledError"}r(867).inherits(i,n,{__CANCEL__:!0}),e.exports=i},502:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},321:(e,t,r)=>{"use strict";var n=r(867),i=r(327),o=r(782),s=r(572),a=r(185),c=r(97),u=r(875),l=u.validators;function f(e){this.defaults=e,this.interceptors={request:new o,response:new o}}f.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=a(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var r=t.transitional;void 0!==r&&u.assertOptions(r,{silentJSONParsing:l.transitional(l.boolean),forcedJSONParsing:l.transitional(l.boolean),clarifyTimeoutError:l.transitional(l.boolean)},!1);var n=[],i=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(i=i&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var o,c=[];if(this.interceptors.response.forEach((function(e){c.push(e.fulfilled,e.rejected)})),!i){var f=[s,void 0];for(Array.prototype.unshift.apply(f,n),f=f.concat(c),o=Promise.resolve(t);f.length;)o=o.then(f.shift(),f.shift());return o}for(var h=t;n.length;){var p=n.shift(),d=n.shift();try{h=p(h)}catch(e){d(e);break}}try{o=s(h)}catch(e){return Promise.reject(e)}for(;c.length;)o=o.then(c.shift(),c.shift());return o},f.prototype.getUri=function(e){e=a(this.defaults,e);var t=c(e.baseURL,e.url);return i(t,e.params,e.paramsSerializer)},n.forEach(["delete","get","head","options"],(function(e){f.prototype[e]=function(t,r){return this.request(a(r||{},{method:e,url:t,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){function t(t){return function(r,n,i){return this.request(a(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}f.prototype[e]=t(),f.prototype[e+"Form"]=t(!0)})),e.exports=f},648:(e,t,r)=>{"use strict";var n=r(867);function i(e,t,r,n,i){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i)}n.inherits(i,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:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var o=i.prototype,s={};["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"].forEach((function(e){s[e]={value:e}})),Object.defineProperties(i,s),Object.defineProperty(o,"isAxiosError",{value:!0}),i.from=function(e,t,r,s,a,c){var u=Object.create(o);return n.toFlatObject(e,u,(function(e){return e!==Error.prototype})),i.call(u,e.message,t,r,s,a),u.name=e.name,c&&Object.assign(u,c),u},e.exports=i},782:(e,t,r)=>{"use strict";var n=r(867);function i(){this.handlers=[]}i.prototype.use=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},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=i},97:(e,t,r)=>{"use strict";var n=r(793),i=r(303);e.exports=function(e,t){return e&&!n(t)?i(e,t):t}},572:(e,t,r)=>{"use strict";var n=r(867),i=r(527),o=r(502),s=r(546),a=r(644);function c(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new a}e.exports=function(e){return c(e),e.headers=e.headers||{},e.data=i.call(e,e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||s.adapter)(e).then((function(t){return c(e),t.data=i.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return o(t)||(c(e),t&&t.response&&(t.response.data=i.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},185:(e,t,r)=>{"use strict";var n=r(867);e.exports=function(e,t){t=t||{};var r={};function i(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function o(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:i(void 0,e[r]):i(e[r],t[r])}function s(e){if(!n.isUndefined(t[e]))return i(void 0,t[e])}function a(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:i(void 0,e[r]):i(void 0,t[r])}function c(r){return r in t?i(e[r],t[r]):r in e?i(void 0,e[r]):void 0}var u={url:s,method:s,data:s,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials: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:c};return n.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=u[e]||o,i=t(e);n.isUndefined(i)&&t!==c||(r[e]=i)})),r}},26:(e,t,r)=>{"use strict";var n=r(648);e.exports=function(e,t,r){var i=r.config.validateStatus;r.status&&i&&!i(r.status)?t(new n("Request failed with status code "+r.status,[n.ERR_BAD_REQUEST,n.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):e(r)}},527:(e,t,r)=>{"use strict";var n=r(867),i=r(546);e.exports=function(e,t,r){var o=this||i;return n.forEach(r,(function(r){e=r.call(o,e,t)})),e}},546:(e,t,r)=>{"use strict";var n=r(867),i=r(16),o=r(648),s=r(874),a=r(675),c={"Content-Type":"application/x-www-form-urlencoded"};function u(e,t){!n.isUndefined(e)&&n.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var l,f={transitional:s,adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(l=r(448)),l),transformRequest:[function(e,t){if(i(t,"Accept"),i(t,"Content-Type"),n.isFormData(e)||n.isArrayBuffer(e)||n.isBuffer(e)||n.isStream(e)||n.isFile(e)||n.isBlob(e))return e;if(n.isArrayBufferView(e))return e.buffer;if(n.isURLSearchParams(e))return u(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();var r,o=n.isObject(e),s=t&&t["Content-Type"];if((r=n.isFileList(e))||o&&"multipart/form-data"===s){var c=this.env&&this.env.FormData;return a(r?{"files[]":e}:e,c&&new c)}return o||"application/json"===s?(u(t,"application/json"),function(e,t,r){if(n.isString(e))try{return(0,JSON.parse)(e),n.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||f.transitional,r=t&&t.silentJSONParsing,i=t&&t.forcedJSONParsing,s=!r&&"json"===this.responseType;if(s||i&&n.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(s){if("SyntaxError"===e.name)throw o.from(e,o.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:r(623)},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(e){f.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){f.headers[e]=n.merge(c)})),e.exports=f},874:e=>{"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},288:e=>{e.exports={version:"0.27.2"}},849:e=>{"use strict";e.exports=function(e,t){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return e.apply(t,r)}}},327:(e,t,r)=>{"use strict";var n=r(867);function i(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,r){if(!t)return e;var o;if(r)o=r(t);else if(n.isURLSearchParams(t))o=t.toString();else{var s=[];n.forEach(t,(function(e,t){null!=e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,(function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),s.push(i(t)+"="+i(e))})))})),o=s.join("&")}if(o){var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},303:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},372:(e,t,r)=>{"use strict";var n=r(867);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,i,o,s){var a=[];a.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),n.isString(i)&&a.push("path="+i),n.isString(o)&&a.push("domain="+o),!0===s&&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(){}}},793:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},268:(e,t,r)=>{"use strict";var n=r(867);e.exports=function(e){return n.isObject(e)&&!0===e.isAxiosError}},985:(e,t,r)=>{"use strict";var n=r(867);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function i(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=i(window.location.href),function(t){var r=n.isString(t)?i(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0}},16:(e,t,r)=>{"use strict";var n=r(867);e.exports=function(e,t){n.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))}},623:e=>{e.exports=null},109:(e,t,r)=>{"use strict";var n=r(867),i=["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"];e.exports=function(e){var t,r,o,s={};return e?(n.forEach(e.split("\n"),(function(e){if(o=e.indexOf(":"),t=n.trim(e.substr(0,o)).toLowerCase(),r=n.trim(e.substr(o+1)),t){if(s[t]&&i.indexOf(t)>=0)return;s[t]="set-cookie"===t?(s[t]?s[t]:[]).concat([r]):s[t]?s[t]+", "+r:r}})),s):s}},205:e=>{"use strict";e.exports=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}},713:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},675:(e,t,r)=>{"use strict";var n=r(867);e.exports=function(e,t){t=t||new FormData;var r=[];function i(e){return null===e?"":n.isDate(e)?e.toISOString():n.isArrayBuffer(e)||n.isTypedArray(e)?"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}return function e(o,s){if(n.isPlainObject(o)||n.isArray(o)){if(-1!==r.indexOf(o))throw Error("Circular reference detected in "+s);r.push(o),n.forEach(o,(function(r,o){if(!n.isUndefined(r)){var a,c=s?s+"."+o:o;if(r&&!s&&"object"==typeof r)if(n.endsWith(o,"{}"))r=JSON.stringify(r);else if(n.endsWith(o,"[]")&&(a=n.toArray(r)))return void a.forEach((function(e){!n.isUndefined(e)&&t.append(c,i(e))}));e(r,c)}})),r.pop()}else t.append(s,i(o))}(e),t}},875:(e,t,r)=>{"use strict";var n=r(288).version,i=r(648),o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));var s={};o.transitional=function(e,t,r){function o(e,t){return"[Axios v"+n+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return function(r,n,a){if(!1===e)throw new i(o(n," has been removed"+(t?" in "+t:"")),i.ERR_DEPRECATED);return t&&!s[n]&&(s[n]=!0,console.warn(o(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,n,a)}},e.exports={assertOptions:function(e,t,r){if("object"!=typeof e)throw new i("options must be an object",i.ERR_BAD_OPTION_VALUE);for(var n=Object.keys(e),o=n.length;o-- >0;){var s=n[o],a=t[s];if(a){var c=e[s],u=void 0===c||a(c,s,e);if(!0!==u)throw new i("option "+s+" must be "+u,i.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new i("Unknown option "+s,i.ERR_BAD_OPTION)}},validators:o}},867:(e,t,r)=>{"use strict";var n,i=r(849),o=Object.prototype.toString,s=(n=Object.create(null),function(e){var t=o.call(e);return n[t]||(n[t]=t.slice(8,-1).toLowerCase())});function a(e){return e=e.toLowerCase(),function(t){return s(t)===e}}function c(e){return Array.isArray(e)}function u(e){return void 0===e}var l=a("ArrayBuffer");function f(e){return null!==e&&"object"==typeof e}function h(e){if("object"!==s(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}var p=a("Date"),d=a("File"),m=a("Blob"),g=a("FileList");function y(e){return"[object Function]"===o.call(e)}var w=a("URLSearchParams");function v(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),c(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}var b,x=(b="undefined"!=typeof Uint8Array&&Object.getPrototypeOf(Uint8Array),function(e){return b&&e instanceof b});e.exports={isArray:c,isArrayBuffer:l,isBuffer:function(e){return null!==e&&!u(e)&&null!==e.constructor&&!u(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){var t="[object FormData]";return e&&("function"==typeof FormData&&e instanceof FormData||o.call(e)===t||y(e.toString)&&e.toString()===t)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&l(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:f,isPlainObject:h,isUndefined:u,isDate:p,isFile:d,isBlob:m,isFunction:y,isStream:function(e){return f(e)&&y(e.pipe)},isURLSearchParams:w,isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:v,merge:function e(){var t={};function r(r,n){h(t[n])&&h(r)?t[n]=e(t[n],r):h(r)?t[n]=e({},r):c(r)?t[n]=r.slice():t[n]=r}for(var n=0,i=arguments.length;n<i;n++)v(arguments[n],r);return t},extend:function(e,t,r){return v(t,(function(t,n){e[n]=r&&"function"==typeof t?i(t,r):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/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,r&&Object.assign(e.prototype,r)},toFlatObject:function(e,t,r){var n,i,o,s={};t=t||{};do{for(i=(n=Object.getOwnPropertyNames(e)).length;i-- >0;)s[o=n[i]]||(t[o]=e[o],s[o]=!0);e=Object.getPrototypeOf(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:s,kindOfTest:a,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;var t=e.length;if(u(t))return null;for(var r=new Array(t);t-- >0;)r[t]=e[t];return r},isTypedArray:x,isFileList:g}},487: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: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: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:(e,t,r)=>{var n,i,o,s,a;n=r(12),i=r(487).utf8,o=r(738),s=r(487).bin,(a=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?s.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),c=8*e.length,u=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[c>>>5]|=128<<c%32,r[14+(c+64>>>9<<4)]=c;var d=a._ff,m=a._gg,g=a._hh,y=a._ii;for(p=0;p<r.length;p+=16){var w=u,v=l,b=f,x=h;u=d(u,l,f,h,r[p+0],7,-680876936),h=d(h,u,l,f,r[p+1],12,-389564586),f=d(f,h,u,l,r[p+2],17,606105819),l=d(l,f,h,u,r[p+3],22,-1044525330),u=d(u,l,f,h,r[p+4],7,-176418897),h=d(h,u,l,f,r[p+5],12,1200080426),f=d(f,h,u,l,r[p+6],17,-1473231341),l=d(l,f,h,u,r[p+7],22,-45705983),u=d(u,l,f,h,r[p+8],7,1770035416),h=d(h,u,l,f,r[p+9],12,-1958414417),f=d(f,h,u,l,r[p+10],17,-42063),l=d(l,f,h,u,r[p+11],22,-1990404162),u=d(u,l,f,h,r[p+12],7,1804603682),h=d(h,u,l,f,r[p+13],12,-40341101),f=d(f,h,u,l,r[p+14],17,-1502002290),u=m(u,l=d(l,f,h,u,r[p+15],22,1236535329),f,h,r[p+1],5,-165796510),h=m(h,u,l,f,r[p+6],9,-1069501632),f=m(f,h,u,l,r[p+11],14,643717713),l=m(l,f,h,u,r[p+0],20,-373897302),u=m(u,l,f,h,r[p+5],5,-701558691),h=m(h,u,l,f,r[p+10],9,38016083),f=m(f,h,u,l,r[p+15],14,-660478335),l=m(l,f,h,u,r[p+4],20,-405537848),u=m(u,l,f,h,r[p+9],5,568446438),h=m(h,u,l,f,r[p+14],9,-1019803690),f=m(f,h,u,l,r[p+3],14,-187363961),l=m(l,f,h,u,r[p+8],20,1163531501),u=m(u,l,f,h,r[p+13],5,-1444681467),h=m(h,u,l,f,r[p+2],9,-51403784),f=m(f,h,u,l,r[p+7],14,1735328473),u=g(u,l=m(l,f,h,u,r[p+12],20,-1926607734),f,h,r[p+5],4,-378558),h=g(h,u,l,f,r[p+8],11,-2022574463),f=g(f,h,u,l,r[p+11],16,1839030562),l=g(l,f,h,u,r[p+14],23,-35309556),u=g(u,l,f,h,r[p+1],4,-1530992060),h=g(h,u,l,f,r[p+4],11,1272893353),f=g(f,h,u,l,r[p+7],16,-155497632),l=g(l,f,h,u,r[p+10],23,-1094730640),u=g(u,l,f,h,r[p+13],4,681279174),h=g(h,u,l,f,r[p+0],11,-358537222),f=g(f,h,u,l,r[p+3],16,-722521979),l=g(l,f,h,u,r[p+6],23,76029189),u=g(u,l,f,h,r[p+9],4,-640364487),h=g(h,u,l,f,r[p+12],11,-421815835),f=g(f,h,u,l,r[p+15],16,530742520),u=y(u,l=g(l,f,h,u,r[p+2],23,-995338651),f,h,r[p+0],6,-198630844),h=y(h,u,l,f,r[p+7],10,1126891415),f=y(f,h,u,l,r[p+14],15,-1416354905),l=y(l,f,h,u,r[p+5],21,-57434055),u=y(u,l,f,h,r[p+12],6,1700485571),h=y(h,u,l,f,r[p+3],10,-1894986606),f=y(f,h,u,l,r[p+10],15,-1051523),l=y(l,f,h,u,r[p+1],21,-2054922799),u=y(u,l,f,h,r[p+8],6,1873313359),h=y(h,u,l,f,r[p+15],10,-30611744),f=y(f,h,u,l,r[p+6],15,-1560198380),l=y(l,f,h,u,r[p+13],21,1309151649),u=y(u,l,f,h,r[p+4],6,-145523070),h=y(h,u,l,f,r[p+11],10,-1120210379),f=y(f,h,u,l,r[p+2],15,718787259),l=y(l,f,h,u,r[p+9],21,-343485551),u=u+w>>>0,l=l+v>>>0,f=f+b>>>0,h=h+x>>>0}return n.endian([u,l,f,h])})._ff=function(e,t,r,n,i,o,s){var a=e+(t&r|~t&n)+(i>>>0)+s;return(a<<o|a>>>32-o)+t},a._gg=function(e,t,r,n,i,o,s){var a=e+(t&n|r&~n)+(i>>>0)+s;return(a<<o|a>>>32-o)+t},a._hh=function(e,t,r,n,i,o,s){var a=e+(t^r^n)+(i>>>0)+s;return(a<<o|a>>>32-o)+t},a._ii=function(e,t,r,n,i,o,s){var a=e+(r^(t|~n))+(i>>>0)+s;return(a<<o|a>>>32-o)+t},a._blocksize=16,a._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var r=n.wordsToBytes(a(e,t));return t&&t.asBytes?r:t&&t.asString?s.bytesToString(r):n.bytesToHex(r)}},61:(e,t,r)=>{var n=r(698).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,s=o.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},c="function"==typeof Symbol?Symbol:{},u=c.iterator||"@@iterator",l=c.asyncIterator||"@@asyncIterator",f=c.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 b?t:b,o=Object.create(i.prototype),s=new D(n||[]);return a(o,"_invoke",{value:_(e,r,s)}),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 m="suspendedStart",g="suspendedYield",y="executing",w="completed",v={};function b(){}function x(){}function k(){}var S={};h(S,u,(function(){return this}));var E=Object.getPrototypeOf,O=E&&E(E(L([])));O&&O!==o&&s.call(O,u)&&(S=O);var j=k.prototype=b.prototype=Object.create(S);function T(e){["next","throw","return"].forEach((function(t){h(e,t,(function(e){return this._invoke(t,e)}))}))}function N(e,t){function r(i,o,a,c){var u=d(e[i],e,o);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==n(f)&&s.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(f).then((function(e){l.value=e,a(l)}),(function(e){return r("throw",e,a,c)}))}c(u.arg)}var i;a(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 _(e,r,n){var i=m;return function(o,s){if(i===y)throw new Error("Generator is already running");if(i===w){if("throw"===o)throw s;return{value:t,done:!0}}for(n.method=o,n.arg=s;;){var a=n.delegate;if(a){var c=A(a,n);if(c){if(c===v)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===m)throw i=w,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=y;var u=d(e,r,n);if("normal"===u.type){if(i=n.done?w:g,u.arg===v)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(i=w,n.method="throw",n.arg=u.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")),v;var o=d(i,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,v;var s=o.arg;return s?s.done?(r[e.resultName]=s.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,v):s:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function P(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 R(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function L(e){if(e||""===e){var r=e[u];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(s.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,a(j,"constructor",{value:k,configurable:!0}),a(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(j),e},r.awrap=function(e){return{__await:e}},T(N.prototype),h(N.prototype,l,(function(){return this})),r.AsyncIterator=N,r.async=function(e,t,n,i,o){void 0===o&&(o=Promise);var s=new N(p(e,t,n,i),o);return r.isGeneratorFunction(t)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},T(j),h(j,f,"Generator"),h(j,u,(function(){return this})),h(j,"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=L,D.prototype={constructor:D,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(R),!e)for(var r in this)"t"===r.charAt(0)&&s.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 a.type="throw",a.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],a=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var c=s.call(o,"catchLoc"),u=s.call(o,"finallyLoc");if(c&&u){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!u)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&&s.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,v):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),v},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),R(r),v}},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;R(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:L(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},r}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},698: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},687:(e,t,r)=>{var n=r(61)();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]={exports:{}};return e[n].call(o.exports,o,o.exports,r),o.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},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})};var n={};return(()=>{"use strict";function e(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 t(t,r){if(t){if("string"==typeof t)return e(t,r);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?e(t,r):void 0}}function i(r){return function(t){if(Array.isArray(t))return e(t)}(r)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||t(r)||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 o(e){return o="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},o(e)}function s(e){var t=function(e,t){if("object"!==o(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===o(t)?t:String(t)}function a(e,t,r){return(t=s(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t,r,n,i,o,s){try{var a=e[o](s),c=a.value}catch(e){return void r(e)}a.done?t(c):Promise.resolve(c).then(n,i)}function u(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function s(e){c(o,n,i,s,a,"next",e)}function a(e){c(o,n,i,s,a,"throw",e)}s(void 0)}))}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(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,s(n.key),n)}}function h(e,t,r){return t&&f(e.prototype,t),r&&f(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}r.r(n),r.d(n,{FETCHING_LOCALES:()=>B,FETCHING_TRANSLATIONS:()=>L,LOCALES_FETCHED:()=>$,LOCALES_FETCH_FAILED:()=>z,LOCALE_CHANGED:()=>I,MessageFormatRenderer:()=>ae,PseudoTranslationPolicy:()=>ne,SourceErrorPolicy:()=>oe,SourceStringPolicy:()=>ie,TRANSLATIONS_FETCHED:()=>C,TRANSLATIONS_FETCH_FAILED:()=>F,ThrowErrorPolicy:()=>se,createNativeInstance:()=>ce,escape:()=>A,explodePlurals:()=>V,generateHashedKey:()=>_,generateKey:()=>N,implodePlurals:()=>X,isPluralized:()=>Y,isString:()=>P,normalizeLocale:()=>R,offEvent:()=>M,onEvent:()=>q,sendEvent:()=>H,sleep:()=>D,t:()=>le,tx:()=>ue});var p=r(687),d=r.n(p),m=r(669),g=r.n(m);function y(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?y(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var v=function(){function e(){l(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}(),b=function(){function e(){l(this,e)}return h(e,[{key:"handle",value:function(e,t,r,n){return t}}]),e}(),x=function(){function e(){l(this,e)}return h(e,[{key:"handle",value:function(e,t){return e}}]),e}(),k=r(160),S=r.n(k),E={},O=function(){function e(){l(this,e)}return h(e,[{key:"render",value:function(e,t,r){var n=(t||"").split("_")[0];if(!E[n])try{E[n]=new(S())(n)}catch(e){E[n]=new(S())}return E[n].compile(e)(r)}}]),e}(),j=r(568),T=r.n(j);function N(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 _(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,":")),T()("5:".concat(e,":").concat(r))}function A(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")}function P(e){return"[object String]"===Object.prototype.toString.call(e)}function R(e){var t=e.split("-");return 1===t.length?e:[t[0],t[1].toUpperCase()].join("_")}function D(e){return new Promise((function(t){setTimeout((function(){t()}),e)}))}var L="FETCHING_TRANSLATIONS",C="TRANSLATIONS_FETCHED",F="TRANSLATIONS_FETCH_FAILED",I="LOCALE_CHANGED",B="FETCHING_LOCALES",$="LOCALES_FETCHED",z="LOCALES_FETCH_FAILED",U={};function q(e,t){U[e]=U[e]||[],U[e].push(t)}function M(e,t){var r=U[e]||[],n=r.indexOf(t);-1!==n&&r.splice(n,1)}function H(e,t,r){(U[e]||[]).forEach((function(e){e(t,r)}))}function W(e,r){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,i,o,s,a=[],c=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=o.call(r)).done)&&(a.push(n.value),a.length!==t);c=!0);}catch(e){u=!0,i=e}finally{try{if(!c&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(u)throw i}}return a}}(e,r)||t(e,r)||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 J(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 G=["zero","one","two","few","many","other"];function K(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=G[r]))return[null,null]}else if(-1===G.indexOf(r))return[null,null];return[r,e.substring(t)]}function Z(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 V(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(),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),n=W(r,2),i=n[0],o=n[1];if(null==i)return t;var s,a,c={},u=W(K(o),2);if(s=u[0],o=u[1],null==s)return t;var l=W(Z(o.trim()),2);if(a=l[0],o=l[1],null==a)return t;for(c[s]=a;o.trim();){var f=W(K(o.trim()),2);if(s=f[0],o=f[1],null==s)return t;var h=W(Z(o.trim()),2);if(a=h[0],o=h[1],null==a)return t;c[s]=a}return(1!==Object.keys(c).length||"other"in c)&&"one"in c&&"other"in c?[i,c]:t}function X(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 J(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)?J(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,s=!0,a=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){a=!0,o=e},f:function(){try{s||null==r.return||r.return()}finally{if(a)throw o}}}}(G);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 Y(e){var t=V(e)[1];return Object.keys(t).length>1}function Q(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 ee(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Q(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Q(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var te=function(){function e(){l(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 v,this.missingPolicy=new x,this.errorPolicy=new b,this.stringRenderer=new O,this.currentLocale="",this.locales=[],this.languages=[],this.childInstances=[]}var t,r,n,o,s,a,c,f;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(N(t,r),e);if(n||(n=this.cache.get(_(t,r),e)),n&&n.startsWith("{???")&&Y(t)){var i=t.substring(1,t.indexOf(",")).trim();n="{".concat(i).concat(n.substring(4))}var o=!1;if(n||(o=!0,n=t),r&&r._escapeVars){var s={};Object.keys(r).forEach((function(e){var t=r[e];s[e]=P(t)?A(t):t})),n=this.stringRenderer.render(n,e,s)}else n=this.stringRenderer.render(n,e,r);return o&&e&&(n=this.missingPolicy.handle(n,e)),P(n)||(n="".concat(n)),n}catch(n){return this.errorPolicy.handle(n,"".concat(t),e,r)}}},{key:"fetchTranslations",value:(f=u(d().mark((function e(t){var r,n,i,o,s,a,c,u,l,f,h=this,p=arguments;return d().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)),i=function(e){return H(F,{localeCode:t,filterTags:n},h),e},e.prev=6,H(L,{localeCode:t,filterTags:n},this),s=202,a=Date.now();case 10:if(202!==s){e.next=27;break}return c="".concat(this.cdsHost,"/content/").concat(t),u=[],n&&u.push("filter[tags]=".concat(n)),this.filterStatus&&u.push("filter[status]=".concat(this.filterStatus)),u.length&&(c="".concat(c,"?").concat(u.join("&"))),e.next=18,g().get(c,{headers:{Authorization:"Bearer ".concat(this.token),"Accept-version":"v2","X-NATIVE-SDK":"txjs/".concat("browser","/").concat("6.0.0")}});case 18:if(o=e.sent,s=o.status,!(this.fetchTimeout>0&&Date.now()-a>=this.fetchTimeout)){e.next=22;break}throw i(new Error("Fetch translations timeout"));case 22:if(!(202===s&&this.fetchInterval>0)){e.next=25;break}return e.next=25,D(this.fetchInterval);case 25:e.next=10;break;case 27:if(!(l=o.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),H(C,{localeCode:t,filterTags:n},this),e.next=36;break;case 35:throw i(new Error("Could not fetch translations"));case 36:e.next=41;break;case 38:throw e.prev=38,e.t0=e.catch(6),i(e.t0);case 41:case"end":return e.stop()}}),e,this,[[6,38]])}))),function(e){return f.apply(this,arguments)})},{key:"invalidateCDS",value:(c=u(d().mark((function e(){var t,r,n,i=arguments;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=i.length>0&&void 0!==i[0]?i[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,g().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.0")}});case 8:return n=e.sent,e.abrupt("return",n.data);case 10:case"end":return e.stop()}}),e,this)}))),function(){return c.apply(this,arguments)})},{key:"pushSource",value:(a=u(d().mark((function e(t){var r,n,i,o,s,a,c,u=arguments;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=u.length>1&&void 0!==u[1]?u[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.0")},e.next=8,g().post("".concat(this.cdsHost,"/content"),{data:t,meta:{purge:!!r.purge,override_tags:!!r.overrideTags,override_occurrences:!!r.overrideOccurrences}},{headers:n});case 8:if(i=e.sent,o="".concat(this.cdsHost).concat(i.data.data.links.job),!r.noWait){e.next=12;break}return e.abrupt("return",{jobUrl:o});case 12:s={status:""};case 13:return e.next=15,D(1500);case 15:return e.next=17,g().get(o,{headers:n});case 17:a=e.sent,c=a.data.data,s=ee(ee({},c.details||{}),{},{errors:c.errors||[],status:c.status});case 20:if("pending"===s.status||"processing"===s.status){e.next=13;break}case 21:return e.abrupt("return",ee({jobUrl:o},s));case 22:case"end":return e.stop()}}),e,this)}))),function(e){return a.apply(this,arguments)})},{key:"getLocales",value:(s=u(d().mark((function e(){var t,r,n,o,s,a=this,c=arguments;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((c.length>0&&void 0!==c[0]?c[0]:{}).refresh||!(this.locales.length>0)){e.next=4;break}return e.abrupt("return",i(this.locales));case 4:if(this.token){e.next=6;break}return e.abrupt("return",[]);case 6:t=function(e){return H(z,null,a),e},e.prev=7,H(B,null,this),n=202,o=Date.now();case 11:if(202!==n){e.next=23;break}return e.next=14,g().get("".concat(this.cdsHost,"/languages"),{headers:{Authorization:"Bearer ".concat(this.token),"Accept-version":"v2","X-NATIVE-SDK":"txjs/".concat("browser","/").concat("6.0.0")}});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,D(this.fetchInterval);case 21:e.next=11;break;case 23:if(!(s=r.data)||!s.data){e.next=30;break}this.languages=s.data,this.locales=this.languages.map((function(e){return e.code})),H($,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",i(this.locales));case 37:case"end":return e.stop()}}),e,this,[[7,33]])}))),function(){return s.apply(this,arguments)})},{key:"getCurrentLocale",value:function(){return this.currentLocale}},{key:"isCurrent",value:function(e){return e===this.currentLocale}},{key:"setCurrentLocale",value:(o=u(d().mark((function e(t){return d().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 H(I,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:H(I,t,this);case 16:case"end":return e.stop()}}),e,this)}))),function(e){return o.apply(this,arguments)})},{key:"getLanguages",value:(n=u(d().mark((function e(){var t,r=arguments;return d().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",i(this.languages));case 4:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"controllerOf",value:(r=u(d().mark((function e(t){return d().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=u(d().mark((function e(t){var r,n;return d().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,H(I,r,e))}));case 16:case"end":return e.stop()}}),e,this,[[5,10]])}))),function(e){return t.apply(this,arguments)})}]),e}(),re={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:"Ẑ"},ne=function(){function e(){l(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(re[n]){var i=n.toLowerCase();t+="a"===i||"e"===i||"o"===i||"u"===i?re[n]+re[n]:re[n]}else t+=n}return t})).join("__txnative__")}}]),e}(),ie=x,oe=b,se=function(){function e(){l(this,e)}return h(e,[{key:"handle",value:function(e,t,r,n){throw e||new Error('Error translating "'.concat(t,'"'))}}]),e}(),ae=O,ce=function(e){var t=new te;return t.t=t.translate.bind(t),e&&t.init(e),t},ue=new te,le=ue.translate.bind(ue)})(),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.Transifex=t():e.Transifex=t()}(this,(()=>(()=>{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),s=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)s.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 s}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;class i extends Error{constructor(e,t,r){super(e),this.token=t,this.type=r||"error"}}const s=e=>e<4?"short":4===e?"long":"narrow",a=e=>e%2==0?"2-digit":"numeric";function c(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(`${e.desc} is not supported with width ${e.width}`)}}function u(e,t){const{char:r,desc:n,width:o}=e;return"d"===r?a(o):void t(`${n} is not supported`)}function l(e,t){const{char:r,desc:n,width:o}=e;return("c"===r||"e"===r)&&o<3&&t(`Numeric value is not supported for ${n}; falling back to weekday:short`,i.WARNING),s(o)}function f(e,t){const{char:r,desc:n,width:o}=e;switch(r){case"v":case"z":return 4===o?"long":"short";case"V":return 4===o?"long":void t(`${n} is not supported with width ${o}`);case"X":return void t(`${n} is not supported`)}return"short"}function h(e,t){switch(e.field){case"era":return{era:s(e.width)};case"year":return function(e,t){switch(e.char){case"y":return{year:a(e.width)};case"r":return{calendar:"gregory",year:"numeric"};default:return t(`${e.desc} is not supported; falling back to year:numeric`,i.WARNING),{year:"numeric"}}}(e,t);case"month":return{month:c(e,t)};case"day":return{day:u(e,t)};case"weekday":return{weekday:l(e,t)};case"period":return;case"hour":return function(e){const t=a(e.width);let r;switch(e.char){case"h":r="h12";break;case"H":r="h23";break;case"k":r="h24";break;case"K":r="h11"}return r?{hour:t,hourCycle:r}:{hour:t}}(e);case"min":return{minute:a(e.width)};case"sec":return{second:a(e.width)};case"tz":return{timeZoneName:f(e,t)};case"quarter":case"week":case"sec-frac":case"ms":t(`${e.desc} is not supported`)}}function p(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>{throw e};const r={},n=[];for(const o of e){const{error:e,field:s,str:a}=o;if(e){const r=new i(e.message,o);r.stack=e.stack,t(r)}a&&t(new i(`Ignoring string part: ${a}`,o,i.WARNING)),s&&(-1===n.indexOf(s)?n.push(s):t(new i(`Duplicate ${s} token`,o)));const c=h(o,((e,r)=>t(new i(e,o,r))));c&&Object.assign(r,c)}return r}const d={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"}},m=e=>e>="A"&&e<="Z"||e>="a"&&e<="z";function g(e,t){const r=e[t];if(!r)return null;if(m(r))return function(e,t){const r=e[t];let n=1;for(;e[++t]===r;)++n;const o=d[r];return o?{char:r,field:o.field,desc:o.desc,width:n}:{char:r,error:new Error(`The letter ${r} is not a valid field identifier`),width:n}}(e,t);if("'"===r)return function(e,t){let r=e[++t],n=2;if("'"===r)return{char:"'",str:r,width:n};for(;;){const o=e[++t];if(++n,void 0===o)return{char:"'",error:new Error(`Unterminated quoted literal in pattern: ${r||e}`),str:r,width:n};if("'"===o){if("'"!==e[++t])return{char:"'",str:r,width:n};++n}r+=o}}(e,t);let n=r,o=1;for(;;){const i=e[++t];if(!i||m(i)||"'"===i)return{char:r,str:n,width:o};n+=i,o+=1}}function y(e){const t=[];let r=0;for(;;){const n=g(e,r);if(!n)return t;t.push(n),r+=n.width}}class w extends Error{constructor(e,t){super(t),this.code=e}}class b extends w{constructor(e,t){super("BAD_OPTION",`Unknown ${e} option: ${t}`),this.stem=e,this.option=t}}class v extends w{constructor(e){super("BAD_STEM",`Unknown stem: ${e}`),this.stem=e}}class x extends w{constructor(e,t){super("MASKED_VALUE",`Value for ${e} is set multiple times`),this.type=e,this.prev=t}}class k extends w{constructor(e){super("MISSING_OPTION",`Required option missing for ${e}`),this.stem=e}}class S extends w{constructor(e,t){super("BAD_PATTERN",t),this.char=e}}class E extends w{constructor(e,t,r){super("TOO_MANY_OPTIONS",`Token ${e} only supports ${r>1?`${r} options`:"one option"} (got ${t.length})`),this.stem=e,this.options=t}}class O extends w{constructor(e,t){super("UNSUPPORTED",`The stem ${e} is not supported`),this.stem=e,t&&(this.message+=` with value ${t}`,this.source=t)}}function T(e,t){let{numberingSystem:r}=t;return Array.isArray(e)||(e=[e]),r?e.map((e=>{const t=-1===e.indexOf("-u-")?"u-nu":"nu";return`${e}-${t}-${r}`})).concat(e):e}function j(e){let{scale:t,unit:r}=e,n="number"==typeof t&&t>=0?t:1;return r&&"percent"===r.style&&(n*=.01),n}function N(e,t){const{decimal:r,group:n,integerWidth:o,notation:i,precision:s,roundingMode:a,sign:c,unit:u,unitPer:l,unitWidth:f}=e,h=(e,r)=>{t&&t(new O(e,r))},p={};if(u)switch(u.style){case"base-unit":p.style="decimal";break;case"currency":p.style="currency",p.currency=u.currency;break;case"measure-unit":p.style="unit",p.unit=u.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(s)switch(s.style){case"precision-fraction":{const{minFraction:e,maxFraction:t,minSignificant:r,maxSignificant:n,source:o}=s;"number"==typeof e&&(p.minimumFractionDigits=e,"number"==typeof r&&h("precision-fraction",o)),"number"==typeof t&&(p.maximumFractionDigits=t),"number"==typeof r&&(p.minimumSignificantDigits=r),"number"==typeof n&&(p.maximumSignificantDigits=n);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=s.trailingZero;break;case"precision-currency-cash":h(s.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":{const{expDigits:e,expSign:t,source:r,style:n}=i;p.notation=n,(e&&e>1||t&&"sign-auto"!==t)&&h(n,r);break}}if(o){const{min:e,max:t,source:r}=o;if(e>0&&(p.minimumIntegerDigits=e),Number(t)>0){const e="engineering"===p.notation||"scientific"===p.notation;3===t&&e?p.notation="engineering":h("integer-width",r)}}switch(c){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),a&&h(a),p}function A(e,t,r){const n=e[t];switch(n){case"%":return{char:"%",style:"percent",width:1};case"‰":return{char:"%",style:"permille",width:1};case"¤":{let o=1;for(;"¤"===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 S("¤",`Invalid number (${o}) of ¤ chars in pattern`)),null}}case"*":{const r=e[t+1];if(r)return{char:n,pad:r,width:2};break}case"+":case"-":return{char:n,width:1};case"'":{let o=e[++t],i=2;if("'"===o)return{char:n,str:o,width:i};for(;;){const s=e[++t];if(++i,void 0===s)return r(new S("'",`Unterminated quoted literal in pattern: ${o}`)),{char:n,str:o,width:i};if("'"===s){if("'"!==e[++t])return{char:n,str:o,width:i};++i}o+=s}}}return null}const _=e=>e>="0"&&e<="9";function P(e,t){const r=e[t];if(_(r)){let n=r;for(;;){const r=e[++t];if(!_(r))return{char:"0",digits:n,width:n.length};n+=r}}switch(r){case"#":{let n=1;for(;"#"===e[++t];)++n;return{char:r,width:n}}case"@":{let n=1;for(;"@"===e[++t];)++n;let o=n;for(t-=1;"#"===e[++t];)++o;return{char:r,min:n,width:o}}case"E":{const n="+"===e[t+1];n&&++t;let o=0;for(;"0"===e[++t];)++o;if(o)return{char:r,expDigits:o,plus:n,width:(n?2:1)+o};break}case".":case",":return{char:r,width:1}}return null}function R(e,t,r){let n;!function(e){e[e.Prefix=0]="Prefix",e[e.Number=1]="Number",e[e.Suffix=2]="Suffix"}(n||(n={}));const o=[],i=[],s=[];let a=n.Prefix,c="";for(;t<e.length;){const u=e[t];if(";"===u){t+=1;break}switch(a){case n.Prefix:{const s=A(e,t,r);if(s)c&&(o.push({char:"'",str:c,width:c.length}),c=""),o.push(s),t+=s.width;else{const r=P(e,t);r?(c&&(o.push({char:"'",str:c,width:c.length}),c=""),a=n.Number,i.push(r),t+=r.width):(c+=u,t+=1)}break}case n.Number:{const r=P(e,t);r?(i.push(r),t+=r.width):a=n.Suffix;break}case n.Suffix:{const n=A(e,t,r);n?(c&&(s.push({char:"'",str:c,width:c.length}),c=""),s.push(n),t+=n.width):(c+=u,t+=1);break}}}return c&&s.push({char:"'",str:c,width:c.length}),{pattern:{prefix:o,number:i,suffix:s},pos:t}}function F(e,t,r,n,o){let i=!1,s="";for(const a of e)switch(a.char){case"%":t.unit={style:a.style},o?i=!0:s="";break;case"¤":if(!r){n(new S("¤","The ¤ pattern requires a currency"));break}switch(t.unit={style:"currency",currency:r},a.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?i=!0:s="";break;case"*":break;case"+":i||(s+="+");break;case"'":i||(s+=a.str)}return s}function L(e,t){let r=!1,n="";for(const o of e)switch(o.char){case"%":case"¤":t?r=!0:n="";break;case"-":r||(n+="-");break;case"'":r||(n+=o.str)}return n}function C(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e=>{throw e};const{tokens:n,negative:o}=function(e,t){const{pattern:r,pos:n}=R(e,0,t);if(n<e.length){const{pattern:o}=R(e,n,t);return{tokens:r,negative:o}}return{tokens:r}}(e,r),i=function(e,t){const r={};let n=!1,o=!1,i=0,s="",a=-1,c="",u=0;for(let l=0;l<e.length;++l){const f=e[l];switch(f.char){case"#":-1===a?(s&&t(new S("#","Pattern has # after integer digits")),i+=f.width):u+=f.width;break;case"0":-1===a?s+=f.digits:(u&&t(new S("0","Pattern has digits after # in fraction")),c+=f.digits);break;case"@":r.precision&&t(new x("precision",r.precision)),r.precision={style:"precision-fraction",minSignificant:f.min,maxSignificant:f.width};break;case",":n=!0;break;case".":1===a&&t(new S(".","Pattern has more than one decimal separator")),a=l;break;case"E":o&&t(new x("exponent",r.notation)),n&&t(new S("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+s.length>3&&(r.group="group-off");const l=Number(`${s||"0"}.${c}`);if(l&&(r.precision={style:"precision-increment",increment:l}),o)if(r.precision&&!l||(r.integerWidth=i?{min:1,max:i+s.length}:{min:Math.max(1,s.length)}),r.precision)l||(r.integerWidth={min:1,max:1});else{const e=s.length+c.length;-1===a?e>0&&(r.precision={style:"precision-fraction",maxSignificant:e}):(r.precision={style:"precision-fraction",maxSignificant:Math.max(1,e)+u},e>1&&(r.precision.minSignificant=e))}else s.length>1&&(r.integerWidth={min:s.length}),r.precision||!c.length&&!u||(r.precision={style:"precision-fraction",minFraction:c.length,maxFraction:c.length+u});return r}(n.number,r),s=F(n.prefix,i,t,r,!0),a=F(n.suffix,i,t,r,!1);if(o){const e=L(o.prefix,!0),t=L(o.suffix,!1);i.affix={pos:[s,a],neg:[e,t]},i.sign="sign-never"}else(s||a)&&(i.affix={pos:[s,a]});return i}function D(e){const[t]=e.split("-",1);return-1!==["acceleration","angle","area","concentr","consumption","digital","duration","electric","energy","force","frequency","graphics","length","light","mass","power","pressure","speed","temperature","torque","volume"].indexOf(t)}const I={"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},B={currency:1,"integer-width":1,"measure-unit":1,"numbering-system":1,"per-measure-unit":1,"precision-increment":1,scale:1};function z(e,t,r){if(function(e){return e in I}(e)){const n=I[e];if(t.length>n){if(0===n)for(const n of t)r(new b(e,n));else r(new E(e,t,n));return!1}if(function(e){return e in B}(e)&&t.length<B[e])return r(new k(e)),!1}return!0}function $(e,t){const r="fraction"===t?/^\.(0*)(\+|#*)$/:/^(@+)(\+|#*)$/,n=e&&e.match(r);if(n){const e=n[1].length;switch(n[2].charAt(0)){case"":return{min:e,max:e};case"+":return{min:e,max:null};case"#":return{min:e,max:e+n[2].length}}}return null}class U{constructor(e){this.skeleton={},this.onError=e}badOption(e,t){this.onError(new b(e,t))}assertEmpty(e){const t=this.skeleton[e];t&&this.onError(new x(e,t))}parseToken(e,t){if(!z(e,t,this.onError))return;const 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":{let r,o=null;for(const n of t)switch(n){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":r=n;break;default:/^\+e+$/.test(n)?o=n.length-1:this.badOption(e,n)}this.assertEmpty("notation");const i=t.join("/");n.notation=o&&r?{style:e,source:i,expDigits:o,expSign:r}:o?{style:e,source:i,expDigits:o}:r?{style:e,source:i,expSign:r}:{style:e,source:i};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":D(r)?(this.assertEmpty("unit"),n.unit={style:e,unit:r}):this.badOption(e,r);break;case"per-measure-unit":D(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":{const t=Number(r);t>0?(this.assertEmpty("precision"),n.precision={style:e,increment:t}):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{const t=r.match(/^#*(0*)$/);t?(this.assertEmpty("integerWidth"),n.integerWidth={source:r,min:t[1].length,max:t[0].length}):this.badOption(e,r)}break;case"scale":{const t=Number(r);t>0?(this.assertEmpty("scale"),n.scale=t):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:{const r=function(e,t,r){const n=$(e,"fraction");if(n){t.length>1&&r(new E(e,t,1));const o={style:"precision-fraction",source:e,minFraction:n.min};null!=n.max&&(o.maxFraction=n.max);const i=t[0],s=$(i,"significant");return s?(o.source=`${e}/${i}`,o.minSignificant=s.min,null!=s.max&&(o.maxSignificant=s.max)):i&&r(new b(e,i)),o}const o=$(e,"significant");if(o){for(const n of t)r(new b(e,n));const n={style:"precision-fraction",source:e,minSignificant:o.min};return null!=o.max&&(n.maxSignificant=o.max),n}return null}(e,t,this.onError);r?(this.assertEmpty("precision"),n.precision=r):this.onError(new v(e))}}}}function q(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>{throw e};const r=[];for(const t of e.split(" "))if(t){const e=t.split("/"),n=e.shift()||"";r.push({stem:n,options:e})}const n=new U(t);for(const{stem:e,options:t}of r)n.parseToken(e,t);return n.skeleton}function M(e,t,r,n){"string"==typeof t&&(t=0===t.indexOf("::")?q(t.slice(2),n):C(t,r,n));const o=T(e,t),i=N(t,n),s=function(e){const t=j(e),{precision:r}=e;return r&&"precision-increment"===r.style?e=>function(e,t){const r=+e+t/2;return r-r%+t}(e,r.increment)*t:e=>e*t}(t),a=new Intl.NumberFormat(o,i);if(t.affix){const[e,r]=t.affix.pos,[n,o]=t.affix.neg||["",""];return t=>{const i=a.format(s(t));return t<0?`${n}${i}${o}`:`${e}${i}${r}`}}return e=>a.format(s(e))}function H(e,t,r,n){"string"==typeof t&&(t=0===t.indexOf("::")?q(t.slice(2),n):C(t,r,n));const o=T(e,t),i=N(t,n),s=function(e){const t=j(e),{precision:r}=e;if(r&&"precision-increment"===r.style){const e="+n + "+r.increment/2;let n=`x - (x % +${r.increment})`;return 1!==t&&(n=`(${n}) * ${t}`),`function(n) { var x = ${e}; return ${n}; }`}return 1!==t?`function(n) { return n * ${t}; }`:null}(t),a=["(function() {",`var opt = ${JSON.stringify(i)};`,`var nf = new Intl.NumberFormat(${JSON.stringify(o)}, opt);`];let c="nf.format(value)";if(s&&(a.push(`var mod = ${s};`),c="nf.format(mod(value))"),t.affix){const[e,r]=t.affix.pos.map((e=>JSON.stringify(e)));if(t.affix.neg){const[n,o]=t.affix.neg.map((e=>JSON.stringify(e)));c=`value < 0 ? ${n} + ${c} + ${o} : ${e} + ${c} + ${r}`}else c=`${e} + ${c} + ${r}`}return a.push(`return function(value) { return ${c}; }`),a.join("\n ")+"\n})()"}var W="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:{};function J(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var K={},G={},V={exports:{}};!function(e){var t,r;t=W,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"==typeof e&&!n(e)&&!Array.isArray(e)}function i(e){return"("+e+")"}function s(e){return e.length?"(?:"+e.map((function(e){return"(?:"+e+")"})).join("|")+")":"(?!)"}function a(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 c(e,t){return e.length>t?e:Array(t-e.length+1).join(" ")+e}function u(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 s in r)e.call(r,s)&&(i[s]=r[s]);if("string"==typeof i.type&&t!==i.type)throw new Error("Type transform cannot be a string (type '"+i.type+"' for token '"+t+"')");var a=i.match;return i.match=Array.isArray(a)?a:a?[a]:[],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(u(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],s=e[i],a=[].concat(s);if("include"!==i){var c=[];a.forEach((function(e){o(e)?(c.length&&r.push(u(i,c)),r.push(u(i,e)),c=[]):c.push(e)})),c.length&&r.push(u(i,c))}else for(var l=0;l<a.length;l++)r.push({include:a[l]})}return r}(e)}var f=u("error",{lineBreaks:!0,shouldThrow:!0});function h(e,t){for(var o=null,c=Object.create(null),u=!0,l=null,h=[],p=[],d=0;d<e.length;d++)e[d].fallback&&(u=!1);for(d=0;d<e.length;d++){var m=e[d];if(m.include)throw new Error("Inheritance is not allowed in stateless lexers");if(m.error||m.fallback){if(o)throw!m.fallback==!o.fallback?new Error("Multiple "+(m.fallback?"fallback":"error")+" rules not allowed (for token '"+m.defaultType+"')"):new Error("fallback and error are mutually exclusive (for token '"+m.defaultType+"')");o=m}var g=m.match.slice();if(u)for(;g.length&&"string"==typeof g[0]&&1===g[0].length;)c[g.shift().charCodeAt(0)]=m;if(m.pop||m.push||m.next){if(!t)throw new Error("State-switching options are not allowed in stateless lexers (for token '"+m.defaultType+"')");if(m.fallback)throw new Error("State-switching options are not allowed on fallback tokens (for token '"+m.defaultType+"')")}if(0!==g.length){u=!1,h.push(m);for(var y=0;y<g.length;y++){var w=g[y];if(n(w))if(null===l)l=w.unicode;else if(l!==w.unicode&&!1===m.fallback)throw new Error("If one rule is /u then all must be")}var b=s(g.map(a)),v=new RegExp(b);if(v.test(""))throw new Error("RegExp matches empty string: "+v);if(new RegExp("|"+b).exec("").length-1>0)throw new Error("RegExp has capture groups: "+v+"\nUse (?: … ) instead");if(!m.lineBreaks&&v.test("\n"))throw new Error("Rule should declare lineBreaks: "+v);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(s(p)+S,k),groups:h,fast:c,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 m=r?function(e,t){return e.exec(t)}:function(e,t){var r=e.exec(t);return 0===r[0].length?null:r};function g(){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(s=this.fast[r.charCodeAt(e)])return this._token(s,r.charAt(e),e);var n=this.re;n.lastIndex=e;var o=m(n,r),i=this.error;if(null==o)return this._token(i,r.slice(e,r.length),e);var s=this._getGroup(o),a=o[0];return i.fallback&&o.index!==e?(this.queuedGroup=s,this.queuedText=a,this._token(i,r.slice(e,o.index),e)):this._token(s,a,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 s={type:"function"==typeof e.type&&e.type(t)||e.defaultType,value:"function"==typeof e.value?e.value(t):t,text:t,toString:g,offset:r,lineBreaks:n,line:this.line,col:this.col},a=t.length;if(this.index+=a,this.line+=n,0!==n?this.col=a-i+1:this.col+=a,e.shouldThrow)throw new Error(this.formatError(s,"invalid syntax"));return e.pop?this.popState():e.push?this.pushState(e.push):e.next&&this.setState(e.next),s},"undefined"!=typeof Symbol&&Symbol.iterator){var y=function(e){this.lexer=e};y.prototype.next=function(){var e=this.lexer.next();return{value:e,done:!e}},y.prototype[Symbol.iterator]=function(){return this},d.prototype[Symbol.iterator]=function(){return new y(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,s=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),a=[];a.push(t+" at line "+e.line+" col "+e.col+":"),a.push("");for(var u=0;u<s.length;u++){var l=s[u],f=n+u;a.push(c(String(f),i)+" "+l),f===e.line&&a.push(c("",i+e.col+1)+"^")}return a.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 s=o[b=n[i]],a=Object.create(null),c=0;c<s.length;c++){var u=s[c];if(u.include){var f=[c,1];if(u.include!==b&&!a[u.include]){a[u.include]=!0;var m=o[u.include];if(!m)throw new Error("Cannot include nonexistent state '"+u.include+"' (in state '"+b+"')");for(var g=0;g<m.length;g++){var y=m[g];-1===s.indexOf(y)&&f.push(y)}}s.splice.apply(s,f),c--}}var w=Object.create(null);for(i=0;i<n.length;i++){var b;w[b=n[i]]=h(o[b],!0)}for(i=0;i<n.length;i++){var v=n[i],x=w[v],k=x.groups;for(c=0;c<k.length;c++)p(k[c],v,w);var S=Object.getOwnPropertyNames(x.fast);for(c=0;c<S.length;c++)p(x.fast[S[c]],v,w)}return new d(w,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],s=e[i];(Array.isArray(s)?s:[s]).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()}(V);var Z=V.exports;(function(e){var t=W&&W.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.lexer=e.states=void 0;const r=t(Z);e.states={body:{doubleapos:{match:"''",value:()=>"'"},quoted:{lineBreaks:!0,match:/'[{}#](?:[^]*?[^'])?'(?!')/u,value:e=>e.slice(1,-1).replace(/''/g,"'")},argument:{lineBreaks:!0,match:/\{\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,push:"arg",value:e=>e.substring(1).trim()},octothorpe:"#",end:{match:"}",pop:1},content:{lineBreaks:!0,match:/[^][^{}#']*/u}},arg:{select:{lineBreaks:!0,match:/,\s*(?:plural|select|selectordinal)\s*,\s*/u,next:"select",value:e=>e.split(",")[1].trim()},"func-args":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*,/u,next:"body",value:e=>e.split(",")[1].trim()},"func-simple":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,value:e=>e.substring(1).trim()},end:{match:"}",pop:1}},select:{offset:{lineBreaks:!0,match:/\s*offset\s*:\s*\d+\s*/u,value:e=>e.split(":")[1].trim()},case:{lineBreaks:!0,match:/\s*(?:=\d+|[^\p{Pat_Syn}\p{Pat_WS}]+)\s*\{/u,push:"body",value:e=>e.substring(0,e.indexOf("{")).trim()},end:{match:/\s*\}/u,pop:1}}},e.lexer=r.default.states(e.states)})(G),Object.defineProperty(K,"__esModule",{value:!0});var X=K.parse=K.ParseError=void 0;const Y=G,Q=e=>({offset:e.offset,line:e.line,col:e.col,text:e.text,lineBreaks:e.lineBreaks}),ee=e=>"plural"===e||"select"===e||"selectordinal"===e;const te=["number","date","time","spellout","ordinal","duration"],re=["zero","one","two","few","many","other"];class ne extends Error{constructor(e,t){super(Y.lexer.formatError(e,t))}}K.ParseError=ne;class oe{constructor(e,t){var r,n,o,i;this.lexer=Y.lexer.reset(e),this.cardinalKeys=null!==(r=null==t?void 0:t.cardinal)&&void 0!==r?r:re,this.ordinalKeys=null!==(n=null==t?void 0:t.ordinal)&&void 0!==n?n:re,this.strict=null!==(o=null==t?void 0:t.strict)&&void 0!==o&&o,this.strictPluralKeys=null===(i=null==t?void 0:t.strictPluralKeys)||void 0===i||i}parse(){return this.parseBody(!1,!0)}checkSelectKey(e,t,r){if("="===r[0]){if("select"===t)throw new ne(e,`The case ${r} is not valid with select`)}else if("select"!==t){const n="plural"===t?this.cardinalKeys:this.ordinalKeys;if(this.strictPluralKeys&&n.length>0&&!n.includes(r))throw new ne(e,`The ${t} case ${r} is not valid in this locale`)}}parseSelect(e,t,r,n){let{value:o}=e;const i={type:n,arg:o,cases:[],ctx:r};"plural"===n||"selectordinal"===n?t=!0:this.strict&&(t=!1);for(const e of this.lexer)switch(e.type){case"offset":if("select"===n)throw new ne(e,"Unexpected plural offset for select");if(i.cases.length>0)throw new ne(e,"Plural offset must be set before cases");i.pluralOffset=Number(e.value),r.text+=e.text,r.lineBreaks+=e.lineBreaks;break;case"case":this.checkSelectKey(e,n,e.value),i.cases.push({key:e.value,tokens:this.parseBody(t),ctx:Q(e)});break;case"end":return i;default:throw new ne(e,`Unexpected lexer token: ${e.type}`)}throw new ne(null,"Unexpected message end")}parseArgToken(e,t){const r=Q(e),n=this.lexer.next();if(!n)throw new ne(null,"Unexpected message end");if(r.text+=n.text,r.lineBreaks+=n.lineBreaks,this.strict&&("func-simple"===n.type||"func-args"===n.type)&&!te.includes(n.value)){const t=`Invalid strict mode function arg type: ${n.value}`;throw new ne(e,t)}switch(n.type){case"end":return{type:"argument",arg:e.value,ctx:r};case"func-simple":{const t=this.lexer.next();if(!t)throw new ne(null,"Unexpected message end");if("end"!==t.type)throw new ne(t,`Unexpected lexer token: ${t.type}`);if(r.text+=t.text,ee(n.value.toLowerCase()))throw new ne(n,`Invalid type identifier: ${n.value}`);return{type:"function",arg:e.value,key:n.value,ctx:r}}case"func-args":{if(ee(n.value.toLowerCase())){const e=`Invalid type identifier: ${n.value}`;throw new ne(n,e)}let o=this.parseBody(!this.strict&&t);return this.strict&&o.length>0&&(o=function(e,t){let r="",n="";for(const o of t){const t=o.ctx.text;switch(n+=t,o.type){case"content":r+=o.value;break;case"argument":case"function":case"octothorpe":r+=t;break;default:throw new ne(e,`Unsupported part in strict mode function arg style: ${t}`)}}return[{type:"content",value:r.trim(),ctx:Object.assign({},t[0].ctx,{text:n})}]}(e,o)),{type:"function",arg:e.value,key:n.value,param:o,ctx:r}}case"select":if(ee(n.value))return this.parseSelect(e,t,r,n.value);throw new ne(n,`Unexpected select type ${n.value}`);default:throw new ne(n,`Unexpected lexer token: ${n.type}`)}}parseBody(e,t){const r=[];let n=null;for(const o of this.lexer)if("argument"===o.type)n&&(n=null),r.push(this.parseArgToken(o,e));else if("octothorpe"===o.type&&e)n&&(n=null),r.push({type:"octothorpe",ctx:Q(o)});else{if("end"===o.type&&!t)return r;{let t=o.value;if(!e&&"quoted"===o.type&&"#"===t[0]){if(t.includes("{"))throw new ne(o,`Unsupported escape pattern: ${t}`);t=o.text}n?(n.value+=t,n.ctx.text+=o.text,n.ctx.lineBreaks+=o.lineBreaks):(n={type:"content",value:t,ctx:Q(o)},r.push(n))}}if(t)return r;throw new ne(null,"Unexpected message end")}}function ie(e){return ie[e]||(ie[e]=new Intl.NumberFormat(e))}X=K.parse=function(e){return new oe(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).parse()};var se=Object.freeze({__proto__:null,_nf:ie,number:function(e,t,r){return ie(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 ie(e).format(o)}});var ae={};function ce(e,t){var r=String(e)+JSON.stringify(t);return ae[r]||(ae[r]=new Intl.NumberFormat(e,t)),ae[r]}var ue=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 ce(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],s=o[1];return ce(t,{integer:{maximumFractionDigits:0},percent:{style:"percent"},currency:{style:"currency",currency:s&&s.trim()||n,minimumFractionDigits:2,maximumFractionDigits:2}}[i]||{}).format(e)},numberInteger:function(e,t){return ce(t,{maximumFractionDigits:0}).format(e)},numberPercent:function(e,t){return ce(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)}}),le=J({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 fe(e,t){t&&(e+=" "+function(e){let t=0;for(let r=0;r<e.length;++r)t=(t<<5)-t+e.charCodeAt(r),t|=0;return t}(e).toString(36));const r=e.trim().replace(/\W+/g,"_");return le.ES3[r]||le.ESnext[r]||/^\d/.test(r)?"_"+r:r}function he(e,t){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(t)&&!le.ES3[t])return e?e+"."+t:t;{const r=JSON.stringify(t);return e?e+"["+r+"]":r}}var pe=new RegExp("^"+["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"].join("|^"));var de="@messageformat/runtime/lib/plurals",me=function(){function r(e){this.arguments=[],this.runtime={},this.options=e}return r.prototype.compile=function(e,r,n){var o,i,s=this,a=this.options,c=a.localeCodeFromKey,u=a.requireAllArguments,l=a.strict,f=a.strictPluralKeys;if("object"==typeof e){var h={};try{for(var p=t(Object.keys(e)),d=p.next();!d.done;d=p.next()){var m=d.value,g=c?c(m):m,y=n&&g&&n[g]||r;h[m]=this.compile(e[m],y,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 w={cardinal:r.cardinals,ordinal:r.ordinals,strict:l,strictPluralKeys:f};this.arguments=[];var b=X(e,w).map((function(e){return s.token(e,null)})),v=this.arguments.length>0,x=this.concatenate(b,!0);if(u&&v){this.setRuntimeFn("reqArgs");var k=JSON.stringify(this.arguments);return"(d) => { reqArgs(".concat(k,", d); return ").concat(x,"; }")}return"(".concat(v?"d":"",") => ").concat(x)},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 s=i.map((function(e){return r.token(e,t)}));return"".concat(he(null,o.replace(/^=/,"")),": ").concat(r.concatenate(s,!1))}));if(n){var i=e.type,s=this.plural,a=s.cardinals,c=s.ordinals;if("select"===i||"plural"===i&&a.includes("other")||"selectordinal"===i&&c.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,s,a,c=this.plural,u=c.id,l=c.lc;switch("arg"in e?(this.arguments.push(e.arg),r=[he("d",e.arg)]):r=[],e.type){case"argument":return this.options.biDiSupport?(o=String(r[0]),i=l,s=pe.test(i),a=JSON.stringify(s?"‏":"‎"),"".concat(a," + ").concat(o," + ").concat(a)):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,u,this.cases(e,e),1),this.setLocale(u,!0),this.setRuntimeFn("plural");break;case"plural":n="plural",r.push(e.pluralOffset||0,u,this.cases(e,e)),this.setLocale(u,!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?fe("".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),he("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(fe(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"),s=this.plural,a=s.getCardinal,c=s.getPlural,u=s.isDefault;if(!t&&u&&a){if(i)return;r=function(e){return a(e)},n="@messageformat/runtime/lib/cardinals",o=function(){return String(a)}}else{if(i&&(!u||i.module===de))return;r=function(e,t){return c(e,t)},n=u?de:c.module||null,o=function(){return String(c)}}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(se[e],{id:e,module:"@messageformat/runtime",type:"runtime"}))},r.prototype.getFormatterArg=function(e,r){var n,o,i,s,a=this,c=e.key,u=e.param,l=this.options.customFormatters[c]||ge(c)&&ue[c];if(!l||!u)return null;var f="arg"in l&&l.arg||"string";if("options"===f){var h="";try{for(var p=t(u),d=p.next();!d.done;d=p.next()){var m=d.value;if("content"!==m.type)throw new SyntaxError("Expected literal options for ".concat(c," formatter"));h+=m.value}}catch(e){n={error:e}}finally{try{d&&!d.done&&(o=p.return)&&o.call(p)}finally{if(n)throw n.error}}var g={};try{for(var y=t(h.split(",")),w=y.next();!w.done;w=y.next()){var b=w.value,v=b.indexOf(":");if(-1===v)g[b.trim()]=null;else{var x=b.substring(0,v).trim(),k=b.substring(v+1).trim();if("true"===k)g[x]=!0;else if("false"===k)g[x]=!1;else if("null"===k)g[x]=null;else{var S=Number(k);g[x]=Number.isFinite(S)?S:k}}}}catch(e){i={error:e}}finally{try{w&&!w.done&&(s=y.return)&&s.call(y)}finally{if(i)throw i.error}}return JSON.stringify(g)}var E=u.map((function(e){return a.token(e,r)}));if("raw"===f)return"[".concat(E.join(", "),"]");var O=E.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:fe(n.id),module:"function"==typeof n.module?n.module(this.plural.locale):n.module}:{id:null,module:null})}else{if(!ge(t))throw new Error("Formatting function not found: ".concat(t));this.runtime[t]=Object.assign(ue[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,s=o&&1===o.length&&o[0];if(s&&"content"===s.type&&/^\s*::/.test(s.value)){var a=s.value.trim().substr(2),c=fe("date_".concat(i,"_").concat(a),!0);if(!this.runtimeIncludes(c,"formatter")){var u=function(e,t,r){"string"==typeof t&&(t=y(t));const n=p(t,r),o=new Intl.DateTimeFormat(e,n);return e=>o.format(e)}(i,a);this.runtime[c]=Object.assign(u,{id:c,module:null,toString:function(){return function(e,t,r){"string"==typeof t&&(t=y(t));const n=p(t,r);return["(function() {",`var opt = ${JSON.stringify(n)};`,`var dtf = new Intl.DateTimeFormat(${JSON.stringify(e)}, opt);`,"return function(value) { return dtf.format(value); }"].join("\n ")+"\n})()"}(i,a)},type:"formatter"})}return c}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 s=o[0].value.trim();switch(s){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 a=s.match(/^currency:([A-Z]+)$/);if(a)return t.push(JSON.stringify(a[1])),this.setFormatter("numberCurrency"),"numberCurrency";var c=fe("number_".concat(i,"_").concat(s),!0);if(!this.runtimeIncludes(c,"formatter")){var u=this.options.currency,l=M(i,s,u);this.runtime[c]=Object.assign(l,{id:null,module:null,toString:function(){return H(i,s,u)},type:"formatter"})}return c}r&&this.options.strict&&(r=null);var f=o.map((function(e){return n.token(e,r)}));return t.push("("+(f.join(" + ")||'""')+").trim()"),t.push(JSON.stringify(this.options.currency)),this.setFormatter("numberFmt"),"numberFmt"},r}();function ge(e){return e in ue}const ye=e=>1==e?"one":"other",we=e=>0==e||1==e?"one":"other",be=e=>e>=0&&e<=1?"one":"other",ve=e=>{const t=!String(e).split(".")[1];return 1==e&&t?"one":"other"},xe=e=>"other",ke=e=>1==e?"one":2==e?"two":"other",Se=ye,Ee=we,Oe=be,Te=ye,je=be,Ne=ye,Ae=ve,_e=ye,Pe=ye,Re=ye,Fe=ye,Le=ye,Ce=we,De=xe,Ie=be,Be=xe,ze=ye,$e=ye,Ue=ye,qe=ye,Me=ye,He=ve,We=be,Je=ye,Ke=xe,Ge=ye,Ve=ye,Ze=ve,Xe=ye,Ye=ve,Qe=ye,et=be,tt=ve,rt=ye,nt=ye,ot=ve,it=ve,st=ye,at=be,ct=we,ut=ye,lt=ye,ft=be,ht=xe,pt=ye,dt=ve,mt=xe,gt=xe,yt=xe,wt=ve,bt=ke,vt=xe,xt=xe,kt=ye,St=ye,Et=xe,Ot=xe,Tt=ye,jt=ye,Nt=ye,At=xe,_t=xe,Pt=ye,Rt=ye,Ft=ye,Lt=xe,Ct=be,Dt=xe,It=ye,Bt=ye,zt=ye,$t=ye,Ut=ye,qt=ye,Mt=ve,Ht=xe,Wt=we,Jt=xe,Kt=ye,Gt=we,Vt=ye,Zt=ye,Xt=ye,Yt=ye,Qt=xe,er=xe,tr=ye,rr=ke,nr=ye,or=ye,ir=ye,sr=ve,ar=ye,cr=ye,ur=ye,lr=xe,fr=ye,hr=we,pr=ye,dr=ye,mr=ye,gr=ye,yr=ye,wr=xe,br=we,vr=ye,xr=be,kr=ye,Sr=ye,Er=ye,Or=ye,Tr=xe,jr=ye,Nr=ke,Ar=ve,_r=ve,Pr=ye,Rr=ye,Fr=ke,Lr=ye,Cr=xe,Dr=xe,Ir=ke,Br=ke,zr=ke,$r=ke,Ur=ke,qr=ye,Mr=ye,Hr=ye,Wr=ye,Jr=ye,Kr=ye,Gr=xe,Vr=ve,Zr=ve,Xr=ye,Yr=ye,Qr=ye,en=ye,tn=xe,rn=we,nn=ye,on=ye,sn=ye,an=xe,cn=xe,un=ye,ln=ye,fn=ye,hn=xe,pn=ve,dn=ye,mn=ye,gn=xe,yn=ye,wn=ye,bn=we,vn=ye,xn=xe,kn=ye,Sn=ye,En=ve,On=xe,Tn=xe,jn=xe,Nn=be;var An=Object.freeze({__proto__:null,af:Se,ak:Ee,am:Oe,an:Te,ar:e=>{const 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:e=>{const 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:Ae,az:_e,bal:Pe,be:e=>{const 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:Re,bez:Fe,bg:Le,bho:Ce,bm:De,bn:Ie,bo:Be,br:e=>{const 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:ze,bs:e=>{const t=String(e).split("."),r=t[0],n=t[1]||"",o=!t[1],i=r.slice(-1),s=r.slice(-2),a=n.slice(-1),c=n.slice(-2);return o&&1==i&&11!=s||1==a&&11!=c?"one":o&&i>=2&&i<=4&&(s<12||s>14)||a>=2&&a<=4&&(c<12||c>14)?"few":"other"},ca:e=>{const 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:$e,ceb:e=>{const t=String(e).split("."),r=t[0],n=t[1]||"",o=!t[1],i=r.slice(-1),s=n.slice(-1);return o&&(1==r||2==r||3==r)||o&&4!=i&&6!=i&&9!=i||!o&&4!=s&&6!=s&&9!=s?"one":"other"},cgg:Ue,chr:qe,ckb:Me,cs:e=>{const 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:e=>0==e?"zero":1==e?"one":2==e?"two":3==e?"few":6==e?"many":"other",da:e=>{const t=String(e).split("."),r=t[0],n=Number(t[0])==e;return 1!=e&&(n||0!=r&&1!=r)?"other":"one"},de:He,doi:We,dsb:e=>{const t=String(e).split("."),r=t[0],n=t[1]||"",o=!t[1],i=r.slice(-2),s=n.slice(-2);return o&&1==i||1==s?"one":o&&2==i||2==s?"two":o&&(3==i||4==i)||3==s||4==s?"few":"other"},dv:Je,dz:Ke,ee:Ge,el:Ve,en:Ze,eo:Xe,es:e=>{const 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:Ye,eu:Qe,fa:et,ff:e=>e>=0&&e<2?"one":"other",fi:tt,fil:e=>{const t=String(e).split("."),r=t[0],n=t[1]||"",o=!t[1],i=r.slice(-1),s=n.slice(-1);return o&&(1==r||2==r||3==r)||o&&4!=i&&6!=i&&9!=i||!o&&4!=s&&6!=s&&9!=s?"one":"other"},fo:rt,fr:e=>{const 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:nt,fy:ot,ga:e=>{const 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:e=>{const 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:it,gsw:st,gu:at,guw:ct,gv:e=>{const 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:ut,haw:lt,he:e=>{const t=String(e).split("."),r=t[0],n=!t[1];return 1==r&&n||0==r&&!n?"one":2==r&&n?"two":"other"},hi:ft,hnj:ht,hr:e=>{const t=String(e).split("."),r=t[0],n=t[1]||"",o=!t[1],i=r.slice(-1),s=r.slice(-2),a=n.slice(-1),c=n.slice(-2);return o&&1==i&&11!=s||1==a&&11!=c?"one":o&&i>=2&&i<=4&&(s<12||s>14)||a>=2&&a<=4&&(c<12||c>14)?"few":"other"},hsb:e=>{const t=String(e).split("."),r=t[0],n=t[1]||"",o=!t[1],i=r.slice(-2),s=n.slice(-2);return o&&1==i||1==s?"one":o&&2==i||2==s?"two":o&&(3==i||4==i)||3==s||4==s?"few":"other"},hu:pt,hy:e=>e>=0&&e<2?"one":"other",ia:dt,id:mt,ig:gt,ii:yt,io:wt,is:e=>{const t=String(e).split("."),r=t[0],n=(t[1]||"").replace(/0+$/,""),o=Number(t[0])==e,i=r.slice(-1),s=r.slice(-2);return o&&1==i&&11!=s||n%10==1&&n%100!=11?"one":"other"},it:e=>{const 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:bt,ja:vt,jbo:xt,jgo:kt,jmc:St,jv:Et,jw:Ot,ka:Tt,kab:e=>e>=0&&e<2?"one":"other",kaj:jt,kcg:Nt,kde:At,kea:_t,kk:Pt,kkj:Rt,kl:Ft,km:Lt,kn:Ct,ko:Dt,ks:It,ksb:Bt,ksh:e=>0==e?"zero":1==e?"one":"other",ku:zt,kw:e=>{const 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),s=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==s?"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:$t,lag:e=>{const t=String(e).split(".")[0];return 0==e?"zero":0!=t&&1!=t||0==e?"other":"one"},lb:Ut,lg:qt,lij:Mt,lkt:Ht,ln:Wt,lo:Jt,lt:e=>{const 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:e=>{const t=String(e).split("."),r=t[1]||"",n=r.length,o=Number(t[0])==e,i=o&&t[0].slice(-1),s=o&&t[0].slice(-2),a=r.slice(-2),c=r.slice(-1);return o&&0==i||s>=11&&s<=19||2==n&&a>=11&&a<=19?"zero":1==i&&11!=s||2==n&&1==c&&11!=a||2!=n&&1==c?"one":"other"},mas:Kt,mg:Gt,mgo:Vt,mk:e=>{const t=String(e).split("."),r=t[0],n=t[1]||"",o=!t[1],i=r.slice(-1),s=r.slice(-2),a=n.slice(-1),c=n.slice(-2);return o&&1==i&&11!=s||1==a&&11!=c?"one":"other"},ml:Zt,mn:Xt,mo:e=>{const 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:Yt,ms:Qt,mt:e=>{const 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:er,nah:tr,naq:rr,nb:nr,nd:or,ne:ir,nl:sr,nn:ar,nnh:cr,no:ur,nqo:lr,nr:fr,nso:hr,ny:pr,nyn:dr,om:mr,or:gr,os:yr,osa:wr,pa:br,pap:vr,pcm:xr,pl:e=>{const 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:e=>{const t=String(e).split("."),r=t[1]||"",n=r.length,o=Number(t[0])==e,i=o&&t[0].slice(-1),s=o&&t[0].slice(-2),a=r.slice(-2),c=r.slice(-1);return o&&0==i||s>=11&&s<=19||2==n&&a>=11&&a<=19?"zero":1==i&&11!=s||2==n&&1==c&&11!=a||2!=n&&1==c?"one":"other"},ps:kr,pt:e=>{const 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:e=>{const 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:Sr,ro:e=>{const 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:Er,ru:e=>{const 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:Or,sah:Tr,saq:jr,sat:Nr,sc:Ar,scn:_r,sd:Pr,sdh:Rr,se:Fr,seh:Lr,ses:Cr,sg:Dr,sh:e=>{const t=String(e).split("."),r=t[0],n=t[1]||"",o=!t[1],i=r.slice(-1),s=r.slice(-2),a=n.slice(-1),c=n.slice(-2);return o&&1==i&&11!=s||1==a&&11!=c?"one":o&&i>=2&&i<=4&&(s<12||s>14)||a>=2&&a<=4&&(c<12||c>14)?"few":"other"},shi:e=>{const t=String(e).split("."),r=Number(t[0])==e;return e>=0&&e<=1?"one":r&&e>=2&&e<=10?"few":"other"},si:e=>{const t=String(e).split("."),r=t[0],n=t[1]||"";return 0==e||1==e||0==r&&1==n?"one":"other"},sk:e=>{const 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:e=>{const 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:Ir,smi:Br,smj:zr,smn:$r,sms:Ur,sn:qr,so:Mr,sq:Hr,sr:e=>{const t=String(e).split("."),r=t[0],n=t[1]||"",o=!t[1],i=r.slice(-1),s=r.slice(-2),a=n.slice(-1),c=n.slice(-2);return o&&1==i&&11!=s||1==a&&11!=c?"one":o&&i>=2&&i<=4&&(s<12||s>14)||a>=2&&a<=4&&(c<12||c>14)?"few":"other"},ss:Wr,ssy:Jr,st:Kr,su:Gr,sv:Vr,sw:Zr,syr:Xr,ta:Yr,te:Qr,teo:en,th:tn,ti:rn,tig:nn,tk:on,tl:e=>{const t=String(e).split("."),r=t[0],n=t[1]||"",o=!t[1],i=r.slice(-1),s=n.slice(-1);return o&&(1==r||2==r||3==r)||o&&4!=i&&6!=i&&9!=i||!o&&4!=s&&6!=s&&9!=s?"one":"other"},tn:sn,to:an,tpi:cn,tr:un,ts:ln,tzm:e=>{const t=String(e).split("."),r=Number(t[0])==e;return 0==e||1==e||r&&e>=11&&e<=99?"one":"other"},ug:fn,uk:e=>{const 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:hn,ur:pn,uz:dn,ve:mn,vec:e=>{const 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:gn,vo:yn,vun:wn,wa:bn,wae:vn,wo:xn,xh:kn,xog:Sn,yi:En,yo:On,yue:Tn,zh:jn,zu:Nn});const _n="zero",Pn="one",Rn="two",Fn="few",Ln="many",Cn="other",Dn={cardinal:[Pn,Cn],ordinal:[Cn]},In={cardinal:[Pn,Cn],ordinal:[Pn,Cn]},Bn={cardinal:[Cn],ordinal:[Cn]},zn={cardinal:[Pn,Rn,Cn],ordinal:[Cn]},$n=Dn,Un=Dn,qn=Dn,Mn=Dn,Hn={cardinal:[_n,Pn,Rn,Fn,Ln,Cn],ordinal:[Cn]},Wn={cardinal:[_n,Pn,Rn,Fn,Ln,Cn],ordinal:[Cn]},Jn={cardinal:[Pn,Cn],ordinal:[Pn,Rn,Fn,Ln,Cn]},Kn=Dn,Gn=Dn,Vn={cardinal:[Pn,Cn],ordinal:[Pn,Fn,Ln,Cn]},Zn=In,Xn={cardinal:[Pn,Fn,Ln,Cn],ordinal:[Fn,Cn]},Yn=Dn,Qn=Dn,eo=Dn,to=Dn,ro=Bn,no={cardinal:[Pn,Cn],ordinal:[Pn,Rn,Fn,Ln,Cn]},oo=Bn,io={cardinal:[Pn,Rn,Fn,Ln,Cn],ordinal:[Cn]},so=Dn,ao={cardinal:[Pn,Fn,Cn],ordinal:[Cn]},co={cardinal:[Pn,Ln,Cn],ordinal:[Pn,Rn,Fn,Cn]},uo=Dn,lo=Dn,fo=Dn,ho=Dn,po=Dn,mo={cardinal:[Pn,Fn,Ln,Cn],ordinal:[Cn]},go={cardinal:[_n,Pn,Rn,Fn,Ln,Cn],ordinal:[_n,Pn,Rn,Fn,Ln,Cn]},yo=Dn,wo=Dn,bo=Dn,vo={cardinal:[Pn,Rn,Fn,Cn],ordinal:[Cn]},xo=Dn,ko=Bn,So=Dn,Eo=Dn,Oo={cardinal:[Pn,Cn],ordinal:[Pn,Rn,Fn,Cn]},To=Dn,jo={cardinal:[Pn,Ln,Cn],ordinal:[Cn]},No=Dn,Ao=Dn,_o=Dn,Po=Dn,Ro=Dn,Fo=In,Lo=Dn,Co={cardinal:[Pn,Ln,Cn],ordinal:[Pn,Cn]},Do=Dn,Io=Dn,Bo={cardinal:[Pn,Rn,Fn,Ln,Cn],ordinal:[Pn,Cn]},zo={cardinal:[Pn,Rn,Fn,Cn],ordinal:[Pn,Rn,Fn,Cn]},$o=Dn,Uo=Dn,qo={cardinal:[Pn,Cn],ordinal:[Pn,Rn,Fn,Ln,Cn]},Mo=Dn,Ho={cardinal:[Pn,Rn,Fn,Ln,Cn],ordinal:[Cn]},Wo=Dn,Jo=Dn,Ko=zn,Go={cardinal:[Pn,Cn],ordinal:[Pn,Rn,Fn,Ln,Cn]},Vo=Bn,Zo={cardinal:[Pn,Fn,Cn],ordinal:[Cn]},Xo={cardinal:[Pn,Rn,Fn,Cn],ordinal:[Cn]},Yo=In,Qo=In,ei=Dn,ti=Bn,ri=Bn,ni=Bn,oi=Dn,ii=Dn,si={cardinal:[Pn,Ln,Cn],ordinal:[Ln,Cn]},ai=zn,ci=Bn,ui=Bn,li=Dn,fi=Dn,hi=Bn,pi=Bn,di={cardinal:[Pn,Cn],ordinal:[Pn,Ln,Cn]},mi=Dn,gi=Dn,yi=Dn,wi=Bn,bi=Bn,vi={cardinal:[Pn,Cn],ordinal:[Ln,Cn]},xi=Dn,ki=Dn,Si=Bn,Ei=Dn,Oi=Bn,Ti=Dn,ji=Dn,Ni={cardinal:[_n,Pn,Cn],ordinal:[Cn]},Ai=Dn,_i={cardinal:[_n,Pn,Rn,Fn,Ln,Cn],ordinal:[Pn,Ln,Cn]},Pi=Dn,Ri={cardinal:[_n,Pn,Cn],ordinal:[Cn]},Fi=Dn,Li=Dn,Ci={cardinal:[Pn,Cn],ordinal:[Ln,Cn]},Di=Bn,Ii=Dn,Bi={cardinal:[Cn],ordinal:[Pn,Cn]},zi={cardinal:[Pn,Fn,Ln,Cn],ordinal:[Cn]},$i={cardinal:[_n,Pn,Cn],ordinal:[Cn]},Ui=Dn,qi=Dn,Mi=Dn,Hi={cardinal:[Pn,Cn],ordinal:[Pn,Rn,Ln,Cn]},Wi=Dn,Ji=Dn,Ki={cardinal:[Pn,Fn,Cn],ordinal:[Pn,Cn]},Gi={cardinal:[Pn,Cn],ordinal:[Pn,Rn,Fn,Cn]},Vi={cardinal:[Cn],ordinal:[Pn,Cn]},Zi={cardinal:[Pn,Rn,Fn,Ln,Cn],ordinal:[Cn]},Xi=Bn,Yi=Dn,Qi=zn,es=Dn,ts=Dn,rs=In,ns=Dn,os=Dn,is=Dn,ss=Dn,as=Bn,cs=Dn,us=Dn,ls=Dn,fs=Dn,hs=Dn,ps={cardinal:[Pn,Cn],ordinal:[Pn,Rn,Fn,Ln,Cn]},ds=Dn,ms=Bn,gs=Dn,ys=Dn,ws=Dn,bs={cardinal:[Pn,Fn,Ln,Cn],ordinal:[Cn]},vs={cardinal:[_n,Pn,Cn],ordinal:[Cn]},xs=Dn,ks={cardinal:[Pn,Ln,Cn],ordinal:[Cn]},Ss={cardinal:[Pn,Ln,Cn],ordinal:[Cn]},Es=Dn,Os={cardinal:[Pn,Fn,Cn],ordinal:[Pn,Cn]},Ts=Dn,js={cardinal:[Pn,Fn,Ln,Cn],ordinal:[Cn]},Ns=Dn,As=Bn,_s=Dn,Ps=zn,Rs={cardinal:[Pn,Cn],ordinal:[Ln,Cn]},Fs={cardinal:[Pn,Cn],ordinal:[Ln,Cn]},Ls=Dn,Cs=Dn,Ds=zn,Is=Dn,Bs=Bn,zs=Bn,$s={cardinal:[Pn,Fn,Cn],ordinal:[Cn]},Us={cardinal:[Pn,Fn,Cn],ordinal:[Cn]},qs=Dn,Ms={cardinal:[Pn,Fn,Ln,Cn],ordinal:[Cn]},Hs={cardinal:[Pn,Rn,Fn,Cn],ordinal:[Cn]},Ws=zn,Js=zn,Ks=zn,Gs=zn,Vs=zn,Zs=Dn,Xs=Dn,Ys={cardinal:[Pn,Cn],ordinal:[Pn,Ln,Cn]},Qs={cardinal:[Pn,Fn,Cn],ordinal:[Cn]},ea=Dn,ta=Dn,ra=Dn,na=Bn,oa=In,ia=Dn,sa=Dn,aa=Dn,ca=Dn,ua=Dn,la=Bn,fa=Dn,ha=Dn,pa={cardinal:[Pn,Cn],ordinal:[Fn,Cn]},da=In,ma=Dn,ga=Bn,ya=Bn,wa=Dn,ba=Dn,va=Dn,xa=Dn,ka={cardinal:[Pn,Fn,Ln,Cn],ordinal:[Fn,Cn]},Sa=Bn,Ea=Dn,Oa=Dn,Ta=Dn,ja={cardinal:[Pn,Ln,Cn],ordinal:[Ln,Cn]},Na={cardinal:[Cn],ordinal:[Pn,Cn]},Aa=Dn,_a=Dn,Pa=Dn,Ra=Dn,Fa=Bn,La=Dn,Ca=Dn,Da=Dn,Ia=Bn,Ba=Bn,za=Bn,$a=Dn;var Ua=Object.freeze({__proto__:null,af:$n,ak:Un,am:qn,an:Mn,ar:Hn,ars:Wn,as:Jn,asa:Kn,ast:Gn,az:Vn,bal:Zn,be:Xn,bem:Yn,bez:Qn,bg:eo,bho:to,bm:ro,bn:no,bo:oo,br:io,brx:so,bs:ao,ca:co,ce:uo,ceb:lo,cgg:fo,chr:ho,ckb:po,cs:mo,cy:go,da:yo,de:wo,doi:bo,dsb:vo,dv:xo,dz:ko,ee:So,el:Eo,en:Oo,eo:To,es:jo,et:No,eu:Ao,fa:_o,ff:Po,fi:Ro,fil:Fo,fo:Lo,fr:Co,fur:Do,fy:Io,ga:Bo,gd:zo,gl:$o,gsw:Uo,gu:qo,guw:Mo,gv:Ho,ha:Wo,haw:Jo,he:Ko,hi:Go,hnj:Vo,hr:Zo,hsb:Xo,hu:Yo,hy:Qo,ia:ei,id:ti,ig:ri,ii:ni,io:oi,is:ii,it:si,iu:ai,ja:ci,jbo:ui,jgo:li,jmc:fi,jv:hi,jw:pi,ka:di,kab:mi,kaj:gi,kcg:yi,kde:wi,kea:bi,kk:vi,kkj:xi,kl:ki,km:Si,kn:Ei,ko:Oi,ks:Ti,ksb:ji,ksh:Ni,ku:Ai,kw:_i,ky:Pi,lag:Ri,lb:Fi,lg:Li,lij:Ci,lkt:Di,ln:Ii,lo:Bi,lt:zi,lv:$i,mas:Ui,mg:qi,mgo:Mi,mk:Hi,ml:Wi,mn:Ji,mo:Ki,mr:Gi,ms:Vi,mt:Zi,my:Xi,nah:Yi,naq:Qi,nb:es,nd:ts,ne:rs,nl:ns,nn:os,nnh:is,no:ss,nqo:as,nr:cs,nso:us,ny:ls,nyn:fs,om:hs,or:ps,os:ds,osa:ms,pa:gs,pap:ys,pcm:ws,pl:bs,prg:vs,ps:xs,pt:ks,pt_PT:Ss,rm:Es,ro:Os,rof:Ts,ru:js,rwk:Ns,sah:As,saq:_s,sat:Ps,sc:Rs,scn:Fs,sd:Ls,sdh:Cs,se:Ds,seh:Is,ses:Bs,sg:zs,sh:$s,shi:Us,si:qs,sk:Ms,sl:Hs,sma:Ws,smi:Js,smj:Ks,smn:Gs,sms:Vs,sn:Zs,so:Xs,sq:Ys,sr:Qs,ss:ea,ssy:ta,st:ra,su:na,sv:oa,sw:ia,syr:sa,ta:aa,te:ca,teo:ua,th:la,ti:fa,tig:ha,tk:pa,tl:da,tn:ma,to:ga,tpi:ya,tr:wa,ts:ba,tzm:va,ug:xa,uk:ka,und:Sa,ur:Ea,uz:Oa,ve:Ta,vec:ja,vi:Na,vo:Aa,vun:_a,wa:Pa,wae:Ra,wo:Fa,xh:La,xog:Ca,yi:Da,yo:Ia,yue:Ba,zh:za,zu:$a});const qa=(e,t)=>t?"other":1==e?"one":"other",Ma=(e,t)=>t?"other":0==e||1==e?"one":"other",Ha=(e,t)=>t?"other":e>=0&&e<=1?"one":"other",Wa=(e,t)=>{const r=!String(e).split(".")[1];return t?"other":1==e&&r?"one":"other"},Ja=(e,t)=>"other",Ka=(e,t)=>t?"other":1==e?"one":2==e?"two":"other",Ga=qa,Va=Ma,Za=Ha,Xa=qa,Ya=qa,Qa=Wa,ec=qa,tc=qa,rc=qa,nc=Ma,oc=Ja,ic=Ja,sc=qa,ac=qa,cc=qa,uc=qa,lc=qa,fc=Wa,hc=Ha,pc=qa,dc=Ja,mc=qa,gc=qa,yc=qa,wc=Wa,bc=qa,vc=Ha,xc=Wa,kc=qa,Sc=qa,Ec=Wa,Oc=Wa,Tc=qa,jc=Ma,Nc=qa,Ac=qa,_c=Ja,Pc=Wa,Rc=Ja,Fc=Ja,Lc=Ja,Cc=Wa,Dc=Ka,Ic=Ja,Bc=Ja,zc=qa,$c=qa,Uc=Ja,qc=Ja,Mc=qa,Hc=qa,Wc=Ja,Jc=Ja,Kc=qa,Gc=qa,Vc=Ja,Zc=Ha,Xc=Ja,Yc=qa,Qc=qa,eu=qa,tu=qa,ru=qa,nu=qa,ou=Ja,iu=Ma,su=qa,au=Ma,cu=qa,uu=qa,lu=qa,fu=Ja,hu=qa,pu=Ka,du=qa,mu=qa,gu=Wa,yu=qa,wu=qa,bu=qa,vu=Ja,xu=qa,ku=Ma,Su=qa,Eu=qa,Ou=qa,Tu=qa,ju=Ja,Nu=Ma,Au=qa,_u=Ha,Pu=qa,Ru=qa,Fu=qa,Lu=qa,Cu=Ja,Du=qa,Iu=Ka,Bu=qa,zu=qa,$u=Ka,Uu=qa,qu=Ja,Mu=Ja,Hu=Ka,Wu=Ka,Ju=Ka,Ku=Ka,Gu=Ka,Vu=qa,Zu=qa,Xu=qa,Yu=qa,Qu=qa,el=Ja,tl=Wa,rl=qa,nl=qa,ol=qa,il=qa,sl=Ja,al=Ma,cl=qa,ul=qa,ll=Ja,fl=Ja,hl=qa,pl=qa,dl=qa,ml=Ja,gl=Wa,yl=qa,wl=qa,bl=qa,vl=qa,xl=Ma,kl=qa,Sl=Ja,El=qa,Ol=qa,Tl=Wa,jl=Ja,Nl=Ja,Al=Ja,_l=Ha;var Pl=Object.freeze({__proto__:null,af:Ga,ak:Va,am:Za,an:Xa,ar:(e,t)=>{const 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:(e,t)=>{const 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:(e,t)=>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:Ya,ast:Qa,az:(e,t)=>{const 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:(e,t)=>1==e?"one":"other",be:(e,t)=>{const 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:ec,bez:tc,bg:rc,bho:nc,bm:oc,bn:(e,t)=>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:ic,br:(e,t)=>{const r=String(e).split("."),n=Number(r[0])==e,o=n&&r[0].slice(-1),i=n&&r[0].slice(-2),s=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==s?"many":"other"},brx:sc,bs:(e,t)=>{const r=String(e).split("."),n=r[0],o=r[1]||"",i=!r[1],s=n.slice(-1),a=n.slice(-2),c=o.slice(-1),u=o.slice(-2);return t?"other":i&&1==s&&11!=a||1==c&&11!=u?"one":i&&s>=2&&s<=4&&(a<12||a>14)||c>=2&&c<=4&&(u<12||u>14)?"few":"other"},ca:(e,t)=>{const 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:ac,ceb:(e,t)=>{const r=String(e).split("."),n=r[0],o=r[1]||"",i=!r[1],s=n.slice(-1),a=o.slice(-1);return t?"other":i&&(1==n||2==n||3==n)||i&&4!=s&&6!=s&&9!=s||!i&&4!=a&&6!=a&&9!=a?"one":"other"},cgg:cc,chr:uc,ckb:lc,cs:(e,t)=>{const 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:(e,t)=>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:(e,t)=>{const r=String(e).split("."),n=r[0],o=Number(r[0])==e;return t||1!=e&&(o||0!=n&&1!=n)?"other":"one"},de:fc,doi:hc,dsb:(e,t)=>{const r=String(e).split("."),n=r[0],o=r[1]||"",i=!r[1],s=n.slice(-2),a=o.slice(-2);return t?"other":i&&1==s||1==a?"one":i&&2==s||2==a?"two":i&&(3==s||4==s)||3==a||4==a?"few":"other"},dv:pc,dz:dc,ee:mc,el:gc,en:(e,t)=>{const r=String(e).split("."),n=!r[1],o=Number(r[0])==e,i=o&&r[0].slice(-1),s=o&&r[0].slice(-2);return t?1==i&&11!=s?"one":2==i&&12!=s?"two":3==i&&13!=s?"few":"other":1==e&&n?"one":"other"},eo:yc,es:(e,t)=>{const 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:wc,eu:bc,fa:vc,ff:(e,t)=>t?"other":e>=0&&e<2?"one":"other",fi:xc,fil:(e,t)=>{const r=String(e).split("."),n=r[0],o=r[1]||"",i=!r[1],s=n.slice(-1),a=o.slice(-1);return t?1==e?"one":"other":i&&(1==n||2==n||3==n)||i&&4!=s&&6!=s&&9!=s||!i&&4!=a&&6!=a&&9!=a?"one":"other"},fo:kc,fr:(e,t)=>{const 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:Sc,fy:Ec,ga:(e,t)=>{const 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:(e,t)=>{const 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:Oc,gsw:Tc,gu:(e,t)=>t?1==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other",guw:jc,gv:(e,t)=>{const r=String(e).split("."),n=r[0],o=!r[1],i=n.slice(-1),s=n.slice(-2);return t?"other":o&&1==i?"one":o&&2==i?"two":!o||0!=s&&20!=s&&40!=s&&60!=s&&80!=s?o?"other":"many":"few"},ha:Nc,haw:Ac,he:(e,t)=>{const 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:(e,t)=>t?1==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other",hnj:_c,hr:(e,t)=>{const r=String(e).split("."),n=r[0],o=r[1]||"",i=!r[1],s=n.slice(-1),a=n.slice(-2),c=o.slice(-1),u=o.slice(-2);return t?"other":i&&1==s&&11!=a||1==c&&11!=u?"one":i&&s>=2&&s<=4&&(a<12||a>14)||c>=2&&c<=4&&(u<12||u>14)?"few":"other"},hsb:(e,t)=>{const r=String(e).split("."),n=r[0],o=r[1]||"",i=!r[1],s=n.slice(-2),a=o.slice(-2);return t?"other":i&&1==s||1==a?"one":i&&2==s||2==a?"two":i&&(3==s||4==s)||3==a||4==a?"few":"other"},hu:(e,t)=>t?1==e||5==e?"one":"other":1==e?"one":"other",hy:(e,t)=>t?1==e?"one":"other":e>=0&&e<2?"one":"other",ia:Pc,id:Rc,ig:Fc,ii:Lc,io:Cc,is:(e,t)=>{const r=String(e).split("."),n=r[0],o=(r[1]||"").replace(/0+$/,""),i=Number(r[0])==e,s=n.slice(-1),a=n.slice(-2);return t?"other":i&&1==s&&11!=a||o%10==1&&o%100!=11?"one":"other"},it:(e,t)=>{const 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:Dc,ja:Ic,jbo:Bc,jgo:zc,jmc:$c,jv:Uc,jw:qc,ka:(e,t)=>{const 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:(e,t)=>t?"other":e>=0&&e<2?"one":"other",kaj:Mc,kcg:Hc,kde:Wc,kea:Jc,kk:(e,t)=>{const 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:Kc,kl:Gc,km:Vc,kn:Zc,ko:Xc,ks:Yc,ksb:Qc,ksh:(e,t)=>t?"other":0==e?"zero":1==e?"one":"other",ku:eu,kw:(e,t)=>{const r=String(e).split("."),n=Number(r[0])==e,o=n&&r[0].slice(-2),i=n&&r[0].slice(-3),s=n&&r[0].slice(-5),a=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&&(s>=1e3&&s<=2e4||4e4==s||6e4==s||8e4==s)||0!=e&&1e5==a?"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:tu,lag:(e,t)=>{const r=String(e).split(".")[0];return t?"other":0==e?"zero":0!=r&&1!=r||0==e?"other":"one"},lb:ru,lg:nu,lij:(e,t)=>{const 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:ou,ln:iu,lo:(e,t)=>t&&1==e?"one":"other",lt:(e,t)=>{const r=String(e).split("."),n=r[1]||"",o=Number(r[0])==e,i=o&&r[0].slice(-1),s=o&&r[0].slice(-2);return t?"other":1==i&&(s<11||s>19)?"one":i>=2&&i<=9&&(s<11||s>19)?"few":0!=n?"many":"other"},lv:(e,t)=>{const r=String(e).split("."),n=r[1]||"",o=n.length,i=Number(r[0])==e,s=i&&r[0].slice(-1),a=i&&r[0].slice(-2),c=n.slice(-2),u=n.slice(-1);return t?"other":i&&0==s||a>=11&&a<=19||2==o&&c>=11&&c<=19?"zero":1==s&&11!=a||2==o&&1==u&&11!=c||2!=o&&1==u?"one":"other"},mas:su,mg:au,mgo:cu,mk:(e,t)=>{const r=String(e).split("."),n=r[0],o=r[1]||"",i=!r[1],s=n.slice(-1),a=n.slice(-2),c=o.slice(-1),u=o.slice(-2);return t?1==s&&11!=a?"one":2==s&&12!=a?"two":7!=s&&8!=s||17==a||18==a?"other":"many":i&&1==s&&11!=a||1==c&&11!=u?"one":"other"},ml:uu,mn:lu,mo:(e,t)=>{const 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:(e,t)=>t?1==e?"one":2==e||3==e?"two":4==e?"few":"other":1==e?"one":"other",ms:(e,t)=>t&&1==e?"one":"other",mt:(e,t)=>{const 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:fu,nah:hu,naq:pu,nb:du,nd:mu,ne:(e,t)=>{const r=String(e).split("."),n=Number(r[0])==e;return t?n&&e>=1&&e<=4?"one":"other":1==e?"one":"other"},nl:gu,nn:yu,nnh:wu,no:bu,nqo:vu,nr:xu,nso:ku,ny:Su,nyn:Eu,om:Ou,or:(e,t)=>{const 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:Tu,osa:ju,pa:Nu,pap:Au,pcm:_u,pl:(e,t)=>{const r=String(e).split("."),n=r[0],o=!r[1],i=n.slice(-1),s=n.slice(-2);return t?"other":1==e&&o?"one":o&&i>=2&&i<=4&&(s<12||s>14)?"few":o&&1!=n&&(0==i||1==i)||o&&i>=5&&i<=9||o&&s>=12&&s<=14?"many":"other"},prg:(e,t)=>{const r=String(e).split("."),n=r[1]||"",o=n.length,i=Number(r[0])==e,s=i&&r[0].slice(-1),a=i&&r[0].slice(-2),c=n.slice(-2),u=n.slice(-1);return t?"other":i&&0==s||a>=11&&a<=19||2==o&&c>=11&&c<=19?"zero":1==s&&11!=a||2==o&&1==u&&11!=c||2!=o&&1==u?"one":"other"},ps:Pu,pt:(e,t)=>{const 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:(e,t)=>{const 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:Ru,ro:(e,t)=>{const 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:Fu,ru:(e,t)=>{const r=String(e).split("."),n=r[0],o=!r[1],i=n.slice(-1),s=n.slice(-2);return t?"other":o&&1==i&&11!=s?"one":o&&i>=2&&i<=4&&(s<12||s>14)?"few":o&&0==i||o&&i>=5&&i<=9||o&&s>=11&&s<=14?"many":"other"},rwk:Lu,sah:Cu,saq:Du,sat:Iu,sc:(e,t)=>{const r=!String(e).split(".")[1];return t?11==e||8==e||80==e||800==e?"many":"other":1==e&&r?"one":"other"},scn:(e,t)=>{const r=!String(e).split(".")[1];return t?11==e||8==e||80==e||800==e?"many":"other":1==e&&r?"one":"other"},sd:Bu,sdh:zu,se:$u,seh:Uu,ses:qu,sg:Mu,sh:(e,t)=>{const r=String(e).split("."),n=r[0],o=r[1]||"",i=!r[1],s=n.slice(-1),a=n.slice(-2),c=o.slice(-1),u=o.slice(-2);return t?"other":i&&1==s&&11!=a||1==c&&11!=u?"one":i&&s>=2&&s<=4&&(a<12||a>14)||c>=2&&c<=4&&(u<12||u>14)?"few":"other"},shi:(e,t)=>{const 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:(e,t)=>{const r=String(e).split("."),n=r[0],o=r[1]||"";return t?"other":0==e||1==e||0==n&&1==o?"one":"other"},sk:(e,t)=>{const 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:(e,t)=>{const 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:Hu,smi:Wu,smj:Ju,smn:Ku,sms:Gu,sn:Vu,so:Zu,sq:(e,t)=>{const 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:(e,t)=>{const r=String(e).split("."),n=r[0],o=r[1]||"",i=!r[1],s=n.slice(-1),a=n.slice(-2),c=o.slice(-1),u=o.slice(-2);return t?"other":i&&1==s&&11!=a||1==c&&11!=u?"one":i&&s>=2&&s<=4&&(a<12||a>14)||c>=2&&c<=4&&(u<12||u>14)?"few":"other"},ss:Xu,ssy:Yu,st:Qu,su:el,sv:(e,t)=>{const r=String(e).split("."),n=!r[1],o=Number(r[0])==e,i=o&&r[0].slice(-1),s=o&&r[0].slice(-2);return t?1!=i&&2!=i||11==s||12==s?"other":"one":1==e&&n?"one":"other"},sw:tl,syr:rl,ta:nl,te:ol,teo:il,th:sl,ti:al,tig:cl,tk:(e,t)=>{const 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:(e,t)=>{const r=String(e).split("."),n=r[0],o=r[1]||"",i=!r[1],s=n.slice(-1),a=o.slice(-1);return t?1==e?"one":"other":i&&(1==n||2==n||3==n)||i&&4!=s&&6!=s&&9!=s||!i&&4!=a&&6!=a&&9!=a?"one":"other"},tn:ul,to:ll,tpi:fl,tr:hl,ts:pl,tzm:(e,t)=>{const r=String(e).split("."),n=Number(r[0])==e;return t?"other":0==e||1==e||n&&e>=11&&e<=99?"one":"other"},ug:dl,uk:(e,t)=>{const r=String(e).split("."),n=r[0],o=!r[1],i=Number(r[0])==e,s=i&&r[0].slice(-1),a=i&&r[0].slice(-2),c=n.slice(-1),u=n.slice(-2);return t?3==s&&13!=a?"few":"other":o&&1==c&&11!=u?"one":o&&c>=2&&c<=4&&(u<12||u>14)?"few":o&&0==c||o&&c>=5&&c<=9||o&&u>=11&&u<=14?"many":"other"},und:ml,ur:gl,uz:yl,ve:wl,vec:(e,t)=>{const 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:(e,t)=>t&&1==e?"one":"other",vo:bl,vun:vl,wa:xl,wae:kl,wo:Sl,xh:El,xog:Ol,yi:Tl,yo:jl,yue:Nl,zh:Al,zu:_l});function Rl(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 Fl(e){if("function"==typeof e){var t=Rl(e.name);return{isDefault:!1,id:fe(t),lc:t,locale:e.name,getPlural:e,cardinals:e.cardinals||[],ordinals:e.ordinals||[]}}var r=Rl(e),n=fe(r);return function(e){return e in Pl}(n)?{isDefault:!0,id:n,lc:r,locale:e,getCardinal:An[n],getPlural:Pl[n],cardinals:Ua[n].cardinal,ordinals:Ua[n].ordinal}:null}function Ll(e){return fe(Rl(e))in Pl}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(Pl).filter((function(e){return e!==o}))).unshift(o),i.map(Fl)):Array.isArray(e)?this.plurals=e.map(Fl).filter(Boolean):e&&(n=Fl(e))&&(this.plurals=[n]),0===this.plurals.length){var n=Fl(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(Ll)},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,s=new me(this.options),a="return "+s.compile(e,this.plurals[0]),c=[],u=[];try{for(var l=t(Object.entries(s.runtime)),f=l.next();!f.done;f=l.next()){var h=n(f.value,2),p=h[0],d=h[1];c.push(p),u.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(c),!1),[a],!1)))).apply(void 0,o([],n(u),!1))},r.defaultLocale="en",r}()}()},487: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: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: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:(e,t,r)=>{var n,o,i,s,a;n=r(12),o=r(487).utf8,i=r(738),s=r(487).bin,(a=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?s.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),c=8*e.length,u=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[c>>>5]|=128<<c%32,r[14+(c+64>>>9<<4)]=c;var d=a._ff,m=a._gg,g=a._hh,y=a._ii;for(p=0;p<r.length;p+=16){var w=u,b=l,v=f,x=h;u=d(u,l,f,h,r[p+0],7,-680876936),h=d(h,u,l,f,r[p+1],12,-389564586),f=d(f,h,u,l,r[p+2],17,606105819),l=d(l,f,h,u,r[p+3],22,-1044525330),u=d(u,l,f,h,r[p+4],7,-176418897),h=d(h,u,l,f,r[p+5],12,1200080426),f=d(f,h,u,l,r[p+6],17,-1473231341),l=d(l,f,h,u,r[p+7],22,-45705983),u=d(u,l,f,h,r[p+8],7,1770035416),h=d(h,u,l,f,r[p+9],12,-1958414417),f=d(f,h,u,l,r[p+10],17,-42063),l=d(l,f,h,u,r[p+11],22,-1990404162),u=d(u,l,f,h,r[p+12],7,1804603682),h=d(h,u,l,f,r[p+13],12,-40341101),f=d(f,h,u,l,r[p+14],17,-1502002290),u=m(u,l=d(l,f,h,u,r[p+15],22,1236535329),f,h,r[p+1],5,-165796510),h=m(h,u,l,f,r[p+6],9,-1069501632),f=m(f,h,u,l,r[p+11],14,643717713),l=m(l,f,h,u,r[p+0],20,-373897302),u=m(u,l,f,h,r[p+5],5,-701558691),h=m(h,u,l,f,r[p+10],9,38016083),f=m(f,h,u,l,r[p+15],14,-660478335),l=m(l,f,h,u,r[p+4],20,-405537848),u=m(u,l,f,h,r[p+9],5,568446438),h=m(h,u,l,f,r[p+14],9,-1019803690),f=m(f,h,u,l,r[p+3],14,-187363961),l=m(l,f,h,u,r[p+8],20,1163531501),u=m(u,l,f,h,r[p+13],5,-1444681467),h=m(h,u,l,f,r[p+2],9,-51403784),f=m(f,h,u,l,r[p+7],14,1735328473),u=g(u,l=m(l,f,h,u,r[p+12],20,-1926607734),f,h,r[p+5],4,-378558),h=g(h,u,l,f,r[p+8],11,-2022574463),f=g(f,h,u,l,r[p+11],16,1839030562),l=g(l,f,h,u,r[p+14],23,-35309556),u=g(u,l,f,h,r[p+1],4,-1530992060),h=g(h,u,l,f,r[p+4],11,1272893353),f=g(f,h,u,l,r[p+7],16,-155497632),l=g(l,f,h,u,r[p+10],23,-1094730640),u=g(u,l,f,h,r[p+13],4,681279174),h=g(h,u,l,f,r[p+0],11,-358537222),f=g(f,h,u,l,r[p+3],16,-722521979),l=g(l,f,h,u,r[p+6],23,76029189),u=g(u,l,f,h,r[p+9],4,-640364487),h=g(h,u,l,f,r[p+12],11,-421815835),f=g(f,h,u,l,r[p+15],16,530742520),u=y(u,l=g(l,f,h,u,r[p+2],23,-995338651),f,h,r[p+0],6,-198630844),h=y(h,u,l,f,r[p+7],10,1126891415),f=y(f,h,u,l,r[p+14],15,-1416354905),l=y(l,f,h,u,r[p+5],21,-57434055),u=y(u,l,f,h,r[p+12],6,1700485571),h=y(h,u,l,f,r[p+3],10,-1894986606),f=y(f,h,u,l,r[p+10],15,-1051523),l=y(l,f,h,u,r[p+1],21,-2054922799),u=y(u,l,f,h,r[p+8],6,1873313359),h=y(h,u,l,f,r[p+15],10,-30611744),f=y(f,h,u,l,r[p+6],15,-1560198380),l=y(l,f,h,u,r[p+13],21,1309151649),u=y(u,l,f,h,r[p+4],6,-145523070),h=y(h,u,l,f,r[p+11],10,-1120210379),f=y(f,h,u,l,r[p+2],15,718787259),l=y(l,f,h,u,r[p+9],21,-343485551),u=u+w>>>0,l=l+b>>>0,f=f+v>>>0,h=h+x>>>0}return n.endian([u,l,f,h])})._ff=function(e,t,r,n,o,i,s){var a=e+(t&r|~t&n)+(o>>>0)+s;return(a<<i|a>>>32-i)+t},a._gg=function(e,t,r,n,o,i,s){var a=e+(t&n|r&~n)+(o>>>0)+s;return(a<<i|a>>>32-i)+t},a._hh=function(e,t,r,n,o,i,s){var a=e+(t^r^n)+(o>>>0)+s;return(a<<i|a>>>32-i)+t},a._ii=function(e,t,r,n,o,i,s){var a=e+(r^(t|~n))+(o>>>0)+s;return(a<<i|a>>>32-i)+t},a._blocksize=16,a._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var r=n.wordsToBytes(a(e,t));return t&&t.asBytes?r:t&&t.asString?s.bytesToString(r):n.bytesToHex(r)}},61:(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,s=i.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},c="function"==typeof Symbol?Symbol:{},u=c.iterator||"@@iterator",l=c.asyncIterator||"@@asyncIterator",f=c.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 v?t:v,i=Object.create(o.prototype),s=new F(n||[]);return a(i,"_invoke",{value:A(e,r,s)}),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 m="suspendedStart",g="suspendedYield",y="executing",w="completed",b={};function v(){}function x(){}function k(){}var S={};h(S,u,(function(){return this}));var E=Object.getPrototypeOf,O=E&&E(E(L([])));O&&O!==i&&s.call(O,u)&&(S=O);var T=k.prototype=v.prototype=Object.create(S);function j(e){["next","throw","return"].forEach((function(t){h(e,t,(function(e){return this._invoke(t,e)}))}))}function N(e,t){function r(o,i,a,c){var u=d(e[o],e,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==n(f)&&s.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(f).then((function(e){l.value=e,a(l)}),(function(e){return r("throw",e,a,c)}))}c(u.arg)}var o;a(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 A(e,r,n){var o=m;return function(i,s){if(o===y)throw new Error("Generator is already running");if(o===w){if("throw"===i)throw s;return{value:t,done:!0}}for(n.method=i,n.arg=s;;){var a=n.delegate;if(a){var c=_(a,n);if(c){if(c===b)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===m)throw o=w,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var u=d(e,r,n);if("normal"===u.type){if(o=n.done?w:g,u.arg===b)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=w,n.method="throw",n.arg=u.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 s=i.arg;return s?s.done?(r[e.resultName]=s.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,b):s:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function P(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 R(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function L(e){if(e||""===e){var r=e[u];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(s.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,a(T,"constructor",{value:k,configurable:!0}),a(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(T),e},r.awrap=function(e){return{__await:e}},j(N.prototype),h(N.prototype,l,(function(){return this})),r.AsyncIterator=N,r.async=function(e,t,n,o,i){void 0===i&&(i=Promise);var s=new N(p(e,t,n,o),i);return r.isGeneratorFunction(t)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},j(T),h(T,f,"Generator"),h(T,u,(function(){return this})),h(T,"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=L,F.prototype={constructor:F,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(R),!e)for(var r in this)"t"===r.charAt(0)&&s.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 a.type="throw",a.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],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=s.call(i,"catchLoc"),u=s.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)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&&s.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),R(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;R(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:L(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: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},687:(e,t,r)=>{var n=r(61)();e.exports=n;try{regeneratorRuntime=n}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n].call(i.exports,i,i.exports,r),i.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},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})};var n={};return(()=>{"use strict";r.r(n),r.d(n,{FETCHING_LOCALES:()=>Ot,FETCHING_TRANSLATIONS:()=>xt,LOCALES_FETCHED:()=>Tt,LOCALES_FETCH_FAILED:()=>jt,LOCALE_CHANGED:()=>Et,MessageFormatRenderer:()=>Gt,PseudoTranslationPolicy:()=>Ht,SourceErrorPolicy:()=>Jt,SourceStringPolicy:()=>Wt,TRANSLATIONS_FETCHED:()=>kt,TRANSLATIONS_FETCH_FAILED:()=>St,ThrowErrorPolicy:()=>Kt,createNativeInstance:()=>Vt,escape:()=>yt,explodePlurals:()=>It,generateHashedKey:()=>gt,generateKey:()=>mt,implodePlurals:()=>Bt,isPluralized:()=>zt,isString:()=>wt,normalizeLocale:()=>bt,offEvent:()=>_t,onEvent:()=>At,sendEvent:()=>Pt,sleep:()=>vt,t:()=>Xt,tx:()=>Zt});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 o(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 i(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)||o(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 s(e){return s="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},s(e)}function a(e){var t=function(e,t){if("object"!==s(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===s(t)?t:String(t)}function c(e,t,r){return(t=a(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e,t,r,n,o,i,s){try{var a=e[i](s),c=a.value}catch(e){return void r(e)}a.done?t(c):Promise.resolve(c).then(n,o)}function l(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function s(e){u(i,n,o,s,a,"next",e)}function a(e){u(i,n,o,s,a,"throw",e)}s(void 0)}))}}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(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,a(n.key),n)}}function p(e,t,r){return t&&h(e.prototype,t),r&&h(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}r.r(e),r.d(e,{hasBrowserEnv:()=>me,hasStandardBrowserEnv:()=>ge,hasStandardBrowserWebWorkerEnv:()=>we});var d=r(687),m=r.n(d);function g(e,t){return function(){return e.apply(t,arguments)}}const{toString:y}=Object.prototype,{getPrototypeOf:w}=Object,b=(v=Object.create(null),e=>{const t=y.call(e);return v[t]||(v[t]=t.slice(8,-1).toLowerCase())});var v;const x=e=>(e=e.toLowerCase(),t=>b(t)===e),k=e=>t=>typeof t===e,{isArray:S}=Array,E=k("undefined"),O=x("ArrayBuffer"),T=k("string"),j=k("function"),N=k("number"),A=e=>null!==e&&"object"==typeof e,_=e=>{if("object"!==b(e))return!1;const t=w(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},P=x("Date"),R=x("File"),F=x("Blob"),L=x("FileList"),C=x("URLSearchParams");function D(e,t,{allOwnKeys:r=!1}={}){if(null==e)return;let n,o;if("object"!=typeof e&&(e=[e]),S(e))for(n=0,o=e.length;n<o;n++)t.call(null,e[n],n,e);else{const o=r?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let s;for(n=0;n<i;n++)s=o[n],t.call(null,e[s],s,e)}}function I(e,t){t=t.toLowerCase();const r=Object.keys(e);let n,o=r.length;for(;o-- >0;)if(n=r[o],t===n.toLowerCase())return n;return null}const B="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,z=e=>!E(e)&&e!==B,$=(U="undefined"!=typeof Uint8Array&&w(Uint8Array),e=>U&&e instanceof U);var U;const q=x("HTMLFormElement"),M=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),H=x("RegExp"),W=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};D(r,((r,o)=>{let i;!1!==(i=t(r,o,e))&&(n[o]=i||r)})),Object.defineProperties(e,n)},J="abcdefghijklmnopqrstuvwxyz",K="0123456789",G={DIGIT:K,ALPHA:J,ALPHA_DIGIT:J+J.toUpperCase()+K},V=x("AsyncFunction"),Z={isArray:S,isArrayBuffer:O,isBuffer:function(e){return null!==e&&!E(e)&&null!==e.constructor&&!E(e.constructor)&&j(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||j(e.append)&&("formdata"===(t=b(e))||"object"===t&&j(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&O(e.buffer),t},isString:T,isNumber:N,isBoolean:e=>!0===e||!1===e,isObject:A,isPlainObject:_,isUndefined:E,isDate:P,isFile:R,isBlob:F,isRegExp:H,isFunction:j,isStream:e=>A(e)&&j(e.pipe),isURLSearchParams:C,isTypedArray:$,isFileList:L,forEach:D,merge:function e(){const{caseless:t}=z(this)&&this||{},r={},n=(n,o)=>{const i=t&&I(r,o)||o;_(r[i])&&_(n)?r[i]=e(r[i],n):_(n)?r[i]=e({},n):S(n)?r[i]=n.slice():r[i]=n};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&D(arguments[e],n);return r},extend:(e,t,r,{allOwnKeys:n}={})=>(D(t,((t,n)=>{r&&j(t)?e[n]=g(t,r):e[n]=t}),{allOwnKeys:n}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(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:(e,t,r,n)=>{let o,i,s;const a={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)s=o[i],n&&!n(s,e,t)||a[s]||(t[s]=e[s],a[s]=!0);e=!1!==r&&w(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:b,kindOfTest:x,endsWith:(e,t,r)=>{e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return-1!==n&&n===r},toArray:e=>{if(!e)return null;if(S(e))return e;let t=e.length;if(!N(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},forEachEntry:(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let n;for(;(n=r.next())&&!n.done;){const r=n.value;t.call(e,r[0],r[1])}},matchAll:(e,t)=>{let r;const n=[];for(;null!==(r=e.exec(t));)n.push(r);return n},isHTMLForm:q,hasOwnProperty:M,hasOwnProp:M,reduceDescriptors:W,freezeMethods:e=>{W(e,((t,r)=>{if(j(e)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;const n=e[r];j(n)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")}))}))},toObjectSet:(e,t)=>{const r={},n=e=>{e.forEach((e=>{r[e]=!0}))};return S(e)?n(e):n(String(e).split(t)),r},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,r){return t.toUpperCase()+r})),noop:()=>{},toFiniteNumber:(e,t)=>(e=+e,Number.isFinite(e)?e:t),findKey:I,global:B,isContextDefined:z,ALPHABET:G,generateString:(e=16,t=G.ALPHA_DIGIT)=>{let r="";const{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r},isSpecCompliantForm:function(e){return!!(e&&j(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),r=(e,n)=>{if(A(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[n]=e;const o=S(e)?[]:{};return D(e,((e,t)=>{const i=r(e,n+1);!E(i)&&(o[t]=i)})),t[n]=void 0,o}}return e};return r(e,0)},isAsyncFn:V,isThenable:e=>e&&(A(e)||j(e))&&j(e.then)&&j(e.catch)};function X(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)}Z.inherits(X,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:Z.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Y=X.prototype,Q={};["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((e=>{Q[e]={value:e}})),Object.defineProperties(X,Q),Object.defineProperty(Y,"isAxiosError",{value:!0}),X.from=(e,t,r,n,o,i)=>{const s=Object.create(Y);return Z.toFlatObject(e,s,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),X.call(s,e.message,t,r,n,o),s.cause=e,s.name=e.name,i&&Object.assign(s,i),s};const ee=X;function te(e){return Z.isPlainObject(e)||Z.isArray(e)}function re(e){return Z.endsWith(e,"[]")?e.slice(0,-2):e}function ne(e,t,r){return e?e.concat(t).map((function(e,t){return e=re(e),!r&&t?"["+e+"]":e})).join(r?".":""):t}const oe=Z.toFlatObject(Z,{},null,(function(e){return/^is[A-Z]/.test(e)})),ie=function(e,t,r){if(!Z.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const n=(r=Z.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!Z.isUndefined(t[e])}))).metaTokens,o=r.visitor||u,i=r.dots,s=r.indexes,a=(r.Blob||"undefined"!=typeof Blob&&Blob)&&Z.isSpecCompliantForm(t);if(!Z.isFunction(o))throw new TypeError("visitor must be a function");function c(e){if(null===e)return"";if(Z.isDate(e))return e.toISOString();if(!a&&Z.isBlob(e))throw new ee("Blob is not supported. Use a Buffer instead.");return Z.isArrayBuffer(e)||Z.isTypedArray(e)?a&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function u(e,r,o){let a=e;if(e&&!o&&"object"==typeof e)if(Z.endsWith(r,"{}"))r=n?r:r.slice(0,-2),e=JSON.stringify(e);else if(Z.isArray(e)&&function(e){return Z.isArray(e)&&!e.some(te)}(e)||(Z.isFileList(e)||Z.endsWith(r,"[]"))&&(a=Z.toArray(e)))return r=re(r),a.forEach((function(e,n){!Z.isUndefined(e)&&null!==e&&t.append(!0===s?ne([r],n,i):null===s?r:r+"[]",c(e))})),!1;return!!te(e)||(t.append(ne(o,r,i),c(e)),!1)}const l=[],f=Object.assign(oe,{defaultVisitor:u,convertValue:c,isVisitable:te});if(!Z.isObject(e))throw new TypeError("data must be an object");return function e(r,n){if(!Z.isUndefined(r)){if(-1!==l.indexOf(r))throw Error("Circular reference detected in "+n.join("."));l.push(r),Z.forEach(r,(function(r,i){!0===(!(Z.isUndefined(r)||null===r)&&o.call(t,r,Z.isString(i)?i.trim():i,n,f))&&e(r,n?n.concat(i):[i])})),l.pop()}}(e),t};function se(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function ae(e,t){this._pairs=[],e&&ie(e,this,t)}const ce=ae.prototype;ce.append=function(e,t){this._pairs.push([e,t])},ce.toString=function(e){const t=e?function(t){return e.call(this,t,se)}:se;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};const ue=ae;function le(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function fe(e,t,r){if(!t)return e;const n=r&&r.encode||le,o=r&&r.serialize;let i;if(i=o?o(t,r):Z.isURLSearchParams(t)?t.toString():new ue(t,r).toString(n),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}const he=class{constructor(){this.handlers=[]}use(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Z.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},pe={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},de={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:ue,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},me="undefined"!=typeof window&&"undefined"!=typeof document,ge=(ye="undefined"!=typeof navigator&&navigator.product,me&&["ReactNative","NativeScript","NS"].indexOf(ye)<0);var ye;const we="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,be={...e,...de},ve=function(e){function t(e,r,n,o){let i=e[o++];const s=Number.isFinite(+i),a=o>=e.length;return i=!i&&Z.isArray(n)?n.length:i,a?(Z.hasOwnProp(n,i)?n[i]=[n[i],r]:n[i]=r,!s):(n[i]&&Z.isObject(n[i])||(n[i]=[]),t(e,r,n[i],o)&&Z.isArray(n[i])&&(n[i]=function(e){const t={},r=Object.keys(e);let n;const o=r.length;let i;for(n=0;n<o;n++)i=r[n],t[i]=e[i];return t}(n[i])),!s)}if(Z.isFormData(e)&&Z.isFunction(e.entries)){const r={};return Z.forEachEntry(e,((e,n)=>{t(function(e){return Z.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),n,r,0)})),r}return null},xe={transitional:pe,adapter:["xhr","http"],transformRequest:[function(e,t){const r=t.getContentType()||"",n=r.indexOf("application/json")>-1,o=Z.isObject(e);if(o&&Z.isHTMLForm(e)&&(e=new FormData(e)),Z.isFormData(e))return n&&n?JSON.stringify(ve(e)):e;if(Z.isArrayBuffer(e)||Z.isBuffer(e)||Z.isStream(e)||Z.isFile(e)||Z.isBlob(e))return e;if(Z.isArrayBufferView(e))return e.buffer;if(Z.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return ie(e,new be.classes.URLSearchParams,Object.assign({visitor:function(e,t,r,n){return be.isNode&&Z.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((i=Z.isFileList(e))||r.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return ie(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||n?(t.setContentType("application/json",!1),function(e,t,r){if(Z.isString(e))try{return(0,JSON.parse)(e),Z.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||xe.transitional,r=t&&t.forcedJSONParsing,n="json"===this.responseType;if(e&&Z.isString(e)&&(r&&!this.responseType||n)){const r=!(t&&t.silentJSONParsing)&&n;try{return JSON.parse(e)}catch(e){if(r){if("SyntaxError"===e.name)throw ee.from(e,ee.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:be.classes.FormData,Blob:be.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Z.forEach(["delete","get","head","post","put","patch"],(e=>{xe.headers[e]={}}));const ke=xe,Se=Z.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"]),Ee=Symbol("internals");function Oe(e){return e&&String(e).trim().toLowerCase()}function Te(e){return!1===e||null==e?e:Z.isArray(e)?e.map(Te):String(e)}function je(e,t,r,n,o){return Z.isFunction(n)?n.call(this,t,r):(o&&(t=r),Z.isString(t)?Z.isString(n)?-1!==t.indexOf(n):Z.isRegExp(n)?n.test(t):void 0:void 0)}class Ne{constructor(e){e&&this.set(e)}set(e,t,r){const n=this;function o(e,t,r){const o=Oe(t);if(!o)throw new Error("header name must be a non-empty string");const i=Z.findKey(n,o);(!i||void 0===n[i]||!0===r||void 0===r&&!1!==n[i])&&(n[i||t]=Te(e))}const i=(e,t)=>Z.forEach(e,((e,r)=>o(e,r,t)));return Z.isPlainObject(e)||e instanceof this.constructor?i(e,t):Z.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim())?i((e=>{const t={};let r,n,o;return e&&e.split("\n").forEach((function(e){o=e.indexOf(":"),r=e.substring(0,o).trim().toLowerCase(),n=e.substring(o+1).trim(),!r||t[r]&&Se[r]||("set-cookie"===r?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)})),t})(e),t):null!=e&&o(t,e,r),this}get(e,t){if(e=Oe(e)){const r=Z.findKey(this,e);if(r){const e=this[r];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}(e);if(Z.isFunction(t))return t.call(this,e,r);if(Z.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Oe(e)){const r=Z.findKey(this,e);return!(!r||void 0===this[r]||t&&!je(0,this[r],r,t))}return!1}delete(e,t){const r=this;let n=!1;function o(e){if(e=Oe(e)){const o=Z.findKey(r,e);!o||t&&!je(0,r[o],o,t)||(delete r[o],n=!0)}}return Z.isArray(e)?e.forEach(o):o(e),n}clear(e){const t=Object.keys(this);let r=t.length,n=!1;for(;r--;){const o=t[r];e&&!je(0,this[o],o,e,!0)||(delete this[o],n=!0)}return n}normalize(e){const t=this,r={};return Z.forEach(this,((n,o)=>{const i=Z.findKey(r,o);if(i)return t[i]=Te(n),void delete t[o];const s=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,r)=>t.toUpperCase()+r))}(o):String(o).trim();s!==o&&delete t[o],t[s]=Te(n),r[s]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return Z.forEach(this,((r,n)=>{null!=r&&!1!==r&&(t[n]=e&&Z.isArray(r)?r.join(", "):r)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const r=new this(e);return t.forEach((e=>r.set(e))),r}static accessor(e){const t=(this[Ee]=this[Ee]={accessors:{}}).accessors,r=this.prototype;function n(e){const n=Oe(e);t[n]||(function(e,t){const r=Z.toCamelCase(" "+t);["get","set","has"].forEach((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 Z.isArray(e)?e.forEach(n):n(e),this}}Ne.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Z.reduceDescriptors(Ne.prototype,(({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[r]=e}}})),Z.freezeMethods(Ne);const Ae=Ne;function _e(e,t){const r=this||ke,n=t||r,o=Ae.from(n.headers);let i=n.data;return Z.forEach(e,(function(e){i=e.call(r,i,o.normalize(),t?t.status:void 0)})),o.normalize(),i}function Pe(e){return!(!e||!e.__CANCEL__)}function Re(e,t,r){ee.call(this,null==e?"canceled":e,ee.ERR_CANCELED,t,r),this.name="CanceledError"}Z.inherits(Re,ee,{__CANCEL__:!0});const Fe=Re,Le=be.hasStandardBrowserEnv?{write(e,t,r,n,o,i){const s=[e+"="+encodeURIComponent(t)];Z.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),Z.isString(n)&&s.push("path="+n),Z.isString(o)&&s.push("domain="+o),!0===i&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function Ce(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}const De=be.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let r;function n(r){let n=r;return e&&(t.setAttribute("href",n),n=t.href),t.setAttribute("href",n),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return r=n(window.location.href),function(e){const t=Z.isString(e)?n(e):e;return t.protocol===r.protocol&&t.host===r.host}}():function(){return!0};function Ie(e,t){let r=0;const n=function(e,t){e=e||10;const r=new Array(e),n=new Array(e);let o,i=0,s=0;return t=void 0!==t?t:1e3,function(a){const c=Date.now(),u=n[s];o||(o=c),r[i]=a,n[i]=c;let l=s,f=0;for(;l!==i;)f+=r[l++],l%=e;if(i=(i+1)%e,i===s&&(s=(s+1)%e),c-o<t)return;const h=u&&c-u;return h?Math.round(1e3*f/h):void 0}}(50,250);return o=>{const i=o.loaded,s=o.lengthComputable?o.total:void 0,a=i-r,c=n(a);r=i;const u={loaded:i,total:s,progress:s?i/s:void 0,bytes:a,rate:c||void 0,estimated:c&&s&&i<=s?(s-i)/c:void 0,event:o};u[t?"download":"upload"]=!0,e(u)}}const Be={http:null,xhr:"undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,r){let n=e.data;const o=Ae.from(e.headers).normalize();let i,s,{responseType:a,withXSRFToken:c}=e;function u(){e.cancelToken&&e.cancelToken.unsubscribe(i),e.signal&&e.signal.removeEventListener("abort",i)}if(Z.isFormData(n))if(be.hasStandardBrowserEnv||be.hasStandardBrowserWebWorkerEnv)o.setContentType(!1);else if(!1!==(s=o.getContentType())){const[e,...t]=s?s.split(";").map((e=>e.trim())).filter(Boolean):[];o.setContentType([e||"multipart/form-data",...t].join("; "))}let l=new XMLHttpRequest;if(e.auth){const t=e.auth.username||"",r=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(t+":"+r))}const f=Ce(e.baseURL,e.url);function h(){if(!l)return;const n=Ae.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders());!function(e,t,r){const n=r.config.validateStatus;r.status&&n&&!n(r.status)?t(new ee("Request failed with status code "+r.status,[ee.ERR_BAD_REQUEST,ee.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):e(r)}((function(e){t(e),u()}),(function(e){r(e),u()}),{data:a&&"text"!==a&&"json"!==a?l.response:l.responseText,status:l.status,statusText:l.statusText,headers:n,config:e,request:l}),l=null}if(l.open(e.method.toUpperCase(),fe(f,e.params,e.paramsSerializer),!0),l.timeout=e.timeout,"onloadend"in l?l.onloadend=h:l.onreadystatechange=function(){l&&4===l.readyState&&(0!==l.status||l.responseURL&&0===l.responseURL.indexOf("file:"))&&setTimeout(h)},l.onabort=function(){l&&(r(new ee("Request aborted",ee.ECONNABORTED,e,l)),l=null)},l.onerror=function(){r(new ee("Network Error",ee.ERR_NETWORK,e,l)),l=null},l.ontimeout=function(){let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const n=e.transitional||pe;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(new ee(t,n.clarifyTimeoutError?ee.ETIMEDOUT:ee.ECONNABORTED,e,l)),l=null},be.hasStandardBrowserEnv&&(c&&Z.isFunction(c)&&(c=c(e)),c||!1!==c&&De(f))){const t=e.xsrfHeaderName&&e.xsrfCookieName&&Le.read(e.xsrfCookieName);t&&o.set(e.xsrfHeaderName,t)}void 0===n&&o.setContentType(null),"setRequestHeader"in l&&Z.forEach(o.toJSON(),(function(e,t){l.setRequestHeader(t,e)})),Z.isUndefined(e.withCredentials)||(l.withCredentials=!!e.withCredentials),a&&"json"!==a&&(l.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&l.addEventListener("progress",Ie(e.onDownloadProgress,!0)),"function"==typeof e.onUploadProgress&&l.upload&&l.upload.addEventListener("progress",Ie(e.onUploadProgress)),(e.cancelToken||e.signal)&&(i=t=>{l&&(r(!t||t.type?new Fe(null,e,l):t),l.abort(),l=null)},e.cancelToken&&e.cancelToken.subscribe(i),e.signal&&(e.signal.aborted?i():e.signal.addEventListener("abort",i)));const p=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(f);p&&-1===be.protocols.indexOf(p)?r(new ee("Unsupported protocol "+p+":",ee.ERR_BAD_REQUEST,e)):l.send(n||null)}))}};Z.forEach(Be,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const ze=e=>`- ${e}`,$e=e=>Z.isFunction(e)||null===e||!1===e,Ue=e=>{e=Z.isArray(e)?e:[e];const{length:t}=e;let r,n;const o={};for(let i=0;i<t;i++){let t;if(r=e[i],n=r,!$e(r)&&(n=Be[(t=String(r)).toLowerCase()],void 0===n))throw new ee(`Unknown adapter '${t}'`);if(n)break;o[t||"#"+i]=n}if(!n){const e=Object.entries(o).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));let r=t?e.length>1?"since :\n"+e.map(ze).join("\n"):" "+ze(e[0]):"as no adapter specified";throw new ee("There is no suitable adapter to dispatch the request "+r,"ERR_NOT_SUPPORT")}return n};function qe(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Fe(null,e)}function Me(e){return qe(e),e.headers=Ae.from(e.headers),e.data=_e.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Ue(e.adapter||ke.adapter)(e).then((function(t){return qe(e),t.data=_e.call(e,e.transformResponse,t),t.headers=Ae.from(t.headers),t}),(function(t){return Pe(t)||(qe(e),t&&t.response&&(t.response.data=_e.call(e,e.transformResponse,t.response),t.response.headers=Ae.from(t.response.headers))),Promise.reject(t)}))}const He=e=>e instanceof Ae?e.toJSON():e;function We(e,t){t=t||{};const r={};function n(e,t,r){return Z.isPlainObject(e)&&Z.isPlainObject(t)?Z.merge.call({caseless:r},e,t):Z.isPlainObject(t)?Z.merge({},t):Z.isArray(t)?t.slice():t}function o(e,t,r){return Z.isUndefined(t)?Z.isUndefined(e)?void 0:n(void 0,e,r):n(e,t,r)}function i(e,t){if(!Z.isUndefined(t))return n(void 0,t)}function s(e,t){return Z.isUndefined(t)?Z.isUndefined(e)?void 0:n(void 0,e):n(void 0,t)}function a(r,o,i){return i in t?n(r,o):i in e?n(void 0,r):void 0}const c={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(e,t)=>o(He(e),He(t),!0)};return Z.forEach(Object.keys(Object.assign({},e,t)),(function(n){const i=c[n]||o,s=i(e[n],t[n],n);Z.isUndefined(s)&&i!==a||(r[n]=s)})),r}const Je={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{Je[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));const Ke={};Je.transitional=function(e,t,r){function n(e,t){return"[Axios v1.6.2] Transitional option '"+e+"'"+t+(r?". "+r:"")}return(r,o,i)=>{if(!1===e)throw new ee(n(o," has been removed"+(t?" in "+t:"")),ee.ERR_DEPRECATED);return t&&!Ke[o]&&(Ke[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)}};const Ge={assertOptions:function(e,t,r){if("object"!=typeof e)throw new ee("options must be an object",ee.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let o=n.length;for(;o-- >0;){const i=n[o],s=t[i];if(s){const t=e[i],r=void 0===t||s(t,i,e);if(!0!==r)throw new ee("option "+i+" must be "+r,ee.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new ee("Unknown option "+i,ee.ERR_BAD_OPTION)}},validators:Je},Ve=Ge.validators;class Ze{constructor(e){this.defaults=e,this.interceptors={request:new he,response:new he}}request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=We(this.defaults,t);const{transitional:r,paramsSerializer:n,headers:o}=t;void 0!==r&&Ge.assertOptions(r,{silentJSONParsing:Ve.transitional(Ve.boolean),forcedJSONParsing:Ve.transitional(Ve.boolean),clarifyTimeoutError:Ve.transitional(Ve.boolean)},!1),null!=n&&(Z.isFunction(n)?t.paramsSerializer={serialize:n}:Ge.assertOptions(n,{encode:Ve.function,serialize:Ve.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&Z.merge(o.common,o[t.method]);o&&Z.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete o[e]})),t.headers=Ae.concat(i,o);const s=[];let a=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(a=a&&e.synchronous,s.unshift(e.fulfilled,e.rejected))}));const c=[];let u;this.interceptors.response.forEach((function(e){c.push(e.fulfilled,e.rejected)}));let l,f=0;if(!a){const e=[Me.bind(this),void 0];for(e.unshift.apply(e,s),e.push.apply(e,c),l=e.length,u=Promise.resolve(t);f<l;)u=u.then(e[f++],e[f++]);return u}l=s.length;let h=t;for(f=0;f<l;){const e=s[f++],t=s[f++];try{h=e(h)}catch(e){t.call(this,e);break}}try{u=Me.call(this,h)}catch(e){return Promise.reject(e)}for(f=0,l=c.length;f<l;)u=u.then(c[f++],c[f++]);return u}getUri(e){return fe(Ce((e=We(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}Z.forEach(["delete","get","head","options"],(function(e){Ze.prototype[e]=function(t,r){return this.request(We(r||{},{method:e,url:t,data:(r||{}).data}))}})),Z.forEach(["post","put","patch"],(function(e){function t(t){return function(r,n,o){return this.request(We(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}Ze.prototype[e]=t(),Ze.prototype[e+"Form"]=t(!0)}));const Xe=Ze;class Ye{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const r=this;this.promise.then((e=>{if(!r._listeners)return;let t=r._listeners.length;for(;t-- >0;)r._listeners[t](e);r._listeners=null})),this.promise.then=e=>{let t;const n=new Promise((e=>{r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e((function(e,n,o){r.reason||(r.reason=new Fe(e,n,o),t(r.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;return{token:new Ye((function(t){e=t})),cancel:e}}}const Qe=Ye,et={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(et).forEach((([e,t])=>{et[t]=e}));const tt=et,rt=function e(t){const r=new Xe(t),n=g(Xe.prototype.request,r);return Z.extend(n,Xe.prototype,r,{allOwnKeys:!0}),Z.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return e(We(t,r))},n}(ke);rt.Axios=Xe,rt.CanceledError=Fe,rt.CancelToken=Qe,rt.isCancel=Pe,rt.VERSION="1.6.2",rt.toFormData=ie,rt.AxiosError=ee,rt.Cancel=rt.CanceledError,rt.all=function(e){return Promise.all(e)},rt.spread=function(e){return function(t){return e.apply(null,t)}},rt.isAxiosError=function(e){return Z.isObject(e)&&!0===e.isAxiosError},rt.mergeConfig=We,rt.AxiosHeaders=Ae,rt.formToJSON=e=>ve(Z.isHTMLForm(e)?new FormData(e):e),rt.getAdapter=Ue,rt.HttpStatusCode=tt,rt.default=rt;const nt=rt;function ot(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 it(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ot(Object(r),!0).forEach((function(t){c(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ot(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var st=function(){function e(){f(this,e),this.translationsByLocale={}}return p(e,[{key:"update",value:function(e,t){var r=this.translationsByLocale[e]||{};this.translationsByLocale[e]=it(it({},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}(),at=function(){function e(){f(this,e)}return p(e,[{key:"handle",value:function(e,t,r,n){return t}}]),e}(),ct=function(){function e(){f(this,e)}return p(e,[{key:"handle",value:function(e,t){return e}}]),e}(),ut=r(160),lt=r.n(ut),ft={},ht=function(){function e(){f(this,e)}return p(e,[{key:"render",value:function(e,t,r){var n=(t||"").split("_")[0];if(!ft[n])try{ft[n]=new(lt())(n,{strictPluralKeys:!1})}catch(e){ft[n]=new(lt())("*",{strictPluralKeys:!1})}return ft[n].compile(e)(r)}}]),e}(),pt=r(568),dt=r.n(pt);function mt(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 gt(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,":")),dt()("5:".concat(e,":").concat(r))}function yt(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")}function wt(e){return"[object String]"===Object.prototype.toString.call(e)}function bt(e){var t=e.split("-");return 1===t.length?e:[t[0],t[1].toUpperCase()].join("_")}function vt(e){return new Promise((function(t){setTimeout((function(){t()}),e)}))}var xt="FETCHING_TRANSLATIONS",kt="TRANSLATIONS_FETCHED",St="TRANSLATIONS_FETCH_FAILED",Et="LOCALE_CHANGED",Ot="FETCHING_LOCALES",Tt="LOCALES_FETCHED",jt="LOCALES_FETCH_FAILED",Nt={};function At(e,t){Nt[e]=Nt[e]||[],Nt[e].push(t)}function _t(e,t){var r=Nt[e]||[],n=r.indexOf(t);-1!==n&&r.splice(n,1)}function Pt(e,t,r){(Nt[e]||[]).forEach((function(e){e(t,r)}))}function Rt(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,s,a=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(a.push(n.value),a.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(u)throw o}}return a}}(e,t)||o(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 Ft(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 Lt=["zero","one","two","few","many","other"];function Ct(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=Lt[r]))return[null,null]}else if(-1===Lt.indexOf(r))return[null,null];return[r,e.substring(t)]}function Dt(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 It(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=Rt(r,2),o=n[0],i=n[1];if(null==o)return t;var s,a,c={},u=Rt(Ct(i),2);if(s=u[0],i=u[1],null==s)return t;var l=Rt(Dt(i.trim()),2);if(a=l[0],i=l[1],null==a)return t;for(c[s]=a;i.trim();){var f=Rt(Ct(i.trim()),2);if(s=f[0],i=f[1],null==s)return t;var h=Rt(Dt(i.trim()),2);if(a=h[0],i=h[1],null==a)return t;c[s]=a}return(1!==Object.keys(c).length||"other"in c)&&"one"in c&&"other"in c?[o,c]:t}function Bt(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 Ft(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)?Ft(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,s=!0,a=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){a=!0,i=e},f:function(){try{s||null==r.return||r.return()}finally{if(a)throw i}}}}(Lt);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 zt(e){var t=It(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 Ut(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){c(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 qt=function(){function e(){f(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 st,this.missingPolicy=new ct,this.errorPolicy=new at,this.stringRenderer=new ht,this.currentLocale="",this.locales=[],this.languages=[],this.childInstances=[]}var t,r,n,o,s,a,c,u;return p(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(mt(t,r),e);if(n||(n=this.cache.get(gt(t,r),e)),n&&n.startsWith("{???")&&zt(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 s={};Object.keys(r).forEach((function(e){var t=r[e];s[e]=wt(t)?yt(t):t})),n=this.stringRenderer.render(n,e,s)}else n=this.stringRenderer.render(n,e,r);return i&&e&&(n=this.missingPolicy.handle(n,e)),wt(n)||(n="".concat(n)),n}catch(n){return this.errorPolicy.handle(n,"".concat(t),e,r)}}},{key:"fetchTranslations",value:(u=l(m().mark((function e(t){var r,n,o,i,s,a,c,u,l,f,h=this,p=arguments;return m().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 Pt(St,{localeCode:t,filterTags:n},h),e},e.prev=6,Pt(xt,{localeCode:t,filterTags:n},this),s=202,a=Date.now();case 10:if(202!==s){e.next=27;break}return c="".concat(this.cdsHost,"/content/").concat(t),u=[],n&&u.push("filter[tags]=".concat(n)),this.filterStatus&&u.push("filter[status]=".concat(this.filterStatus)),u.length&&(c="".concat(c,"?").concat(u.join("&"))),e.next=18,nt.get(c,{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,s=i.status,!(this.fetchTimeout>0&&Date.now()-a>=this.fetchTimeout)){e.next=22;break}throw o(new Error("Fetch translations timeout"));case 22:if(!(202===s&&this.fetchInterval>0)){e.next=25;break}return e.next=25,vt(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),Pt(kt,{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 u.apply(this,arguments)})},{key:"invalidateCDS",value:(c=l(m().mark((function e(){var t,r,n,o=arguments;return m().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,nt.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 c.apply(this,arguments)})},{key:"pushSource",value:(a=l(m().mark((function e(t){var r,n,o,i,s,a,c,u=arguments;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=u.length>1&&void 0!==u[1]?u[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,nt.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:s={status:""};case 13:return e.next=15,vt(1500);case 15:return e.next=17,nt.get(i,{headers:n});case 17:a=e.sent,c=a.data.data,s=Ut(Ut({},c.details||{}),{},{errors:c.errors||[],status:c.status});case 20:if("pending"===s.status||"processing"===s.status){e.next=13;break}case 21:return e.abrupt("return",Ut({jobUrl:i},s));case 22:case"end":return e.stop()}}),e,this)}))),function(e){return a.apply(this,arguments)})},{key:"getLocales",value:(s=l(m().mark((function e(){var t,r,n,o,s,a=this,c=arguments;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((c.length>0&&void 0!==c[0]?c[0]:{}).refresh||!(this.locales.length>0)){e.next=4;break}return e.abrupt("return",i(this.locales));case 4:if(this.token){e.next=6;break}return e.abrupt("return",[]);case 6:t=function(e){return Pt(jt,null,a),e},e.prev=7,Pt(Ot,null,this),n=202,o=Date.now();case 11:if(202!==n){e.next=23;break}return e.next=14,nt.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,vt(this.fetchInterval);case 21:e.next=11;break;case 23:if(!(s=r.data)||!s.data){e.next=30;break}this.languages=s.data,this.locales=this.languages.map((function(e){return e.code})),Pt(Tt,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",i(this.locales));case 37:case"end":return e.stop()}}),e,this,[[7,33]])}))),function(){return s.apply(this,arguments)})},{key:"getCurrentLocale",value:function(){return this.currentLocale}},{key:"isCurrent",value:function(e){return e===this.currentLocale}},{key:"setCurrentLocale",value:(o=l(m().mark((function e(t){return m().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 Pt(Et,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:Pt(Et,t,this);case 16:case"end":return e.stop()}}),e,this)}))),function(e){return o.apply(this,arguments)})},{key:"getLanguages",value:(n=l(m().mark((function e(){var t,r=arguments;return m().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",i(this.languages));case 4:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"controllerOf",value:(r=l(m().mark((function e(t){return m().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=l(m().mark((function e(t){var r,n;return m().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,Pt(Et,r,e))}));case 16:case"end":return e.stop()}}),e,this,[[5,10]])}))),function(e){return t.apply(this,arguments)})}]),e}(),Mt={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:"Ẑ"},Ht=function(){function e(){f(this,e)}return p(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(Mt[n]){var o=n.toLowerCase();t+="a"===o||"e"===o||"o"===o||"u"===o?Mt[n]+Mt[n]:Mt[n]}else t+=n}return t})).join("__txnative__")}}]),e}(),Wt=ct,Jt=at,Kt=function(){function e(){f(this,e)}return p(e,[{key:"handle",value:function(e,t,r,n){throw e||new Error('Error translating "'.concat(t,'"'))}}]),e}(),Gt=ht,Vt=function(e){var t=new qt;return t.t=t.translate.bind(t),e&&t.init(e),t},Zt=new qt,Xt=Zt.translate.bind(Zt)})(),n})()));
3
3
  //# sourceMappingURL=browser.native.js.map