@transifex/i18next 5.0.6 → 5.0.7
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.
package/dist/browser.i18next.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! For license information please see browser.i18next.js.LICENSE.txt */
|
|
2
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.TxNativeI18next=t():e.TxNativeI18next=t()}(self,(()=>(()=>{var e={206:(e,t,r)=>{var n,i,o;e=r.nmd(e);var a,s=r(241);self,a=function(){return function(){var e={160:function(e,t,r){e.exports=function(){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==s(Symbol.iterator)?function(e){return s(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":s(e)})(t)}function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(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,n.key,n)}}function i(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}function a(e){return a=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},a(e)}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function c(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function l(e,t,r){return l=c()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var i=new(Function.bind.apply(e,n));return r&&u(i,r.prototype),i},l.apply(null,arguments)}function f(e){var t="function"==typeof Map?new Map:void 0;return f=function(e){if(null===e||(r=e,-1===Function.toString.call(r).indexOf("[native code]")))return e;var r;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return l(e,arguments,a(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),u(n,e)},f(e)}function h(e,t){if(t&&("object"==s(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function p(e){var t=c();return function(){var r,n=a(e);if(t){var i=a(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return h(this,r)}}function d(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,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}}(e,t)||m(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 m(e,t){if(e){if("string"==typeof e)return y(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)?y(e,t):void 0}}function y(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 g(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=m(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw o}}}}var v=function(){return v=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},v.apply(this,arguments)};function b(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 w(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a}function x(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))}var k=function(e){o(n,e);var r=p(n);function n(e,i,o){var a;return t(this,n),(a=r.call(this,e)).token=i,a.type=o||"error",a}return i(n)}(f(Error)),S=function(e){return e<4?"short":4===e?"long":"narrow"},E=function(e){return e%2==0?"2-digit":"numeric"};function O(e,t){switch(e.width){case 1:return"numeric";case 2:return"2-digit";case 3:return"short";case 4:return"long";case 5:return"narrow";default:return void t("".concat(e.desc," is not supported with width ").concat(e.width))}}function j(e,t){var r=e.char,n=e.desc,i=e.width;return"d"===r?E(i):void t("".concat(n," is not supported"))}function A(e,t){var r=e.char,n=e.desc,i=e.width;return("c"===r||"e"===r)&&i<3&&t("Numeric value is not supported for ".concat(n,"; falling back to weekday:short"),k.WARNING),S(i)}function F(e,t){var r=e.char,n=e.desc,i=e.width;switch(r){case"v":case"z":return 4===i?"long":"short";case"V":return 4===i?"long":void t("".concat(n," is not supported with width ").concat(i));case"X":return void t("".concat(n," is not supported"))}return"short"}function T(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:E(e.width)};case"r":return{calendar:"gregory",year:"numeric"};default:return t("".concat(e.desc," is not supported; falling back to year:numeric"),k.WARNING),{year:"numeric"}}}(e,t);case"month":return{month:O(e,t)};case"day":return{day:j(e,t)};case"weekday":return{weekday:A(e,t)};case"period":return;case"hour":return function(e){var t,r=E(e.width);switch(e.char){case"h":t="h12";break;case"H":t="h23";break;case"k":t="h24";break;case"K":t="h11"}return t?{hour:r,hourCycle:t}:{hour:r}}(e);case"min":return{minute:E(e.width)};case"sec":return{second:E(e.width)};case"tz":return{timeZoneName:F(e,t)};case"quarter":case"week":case"sec-frac":case"ms":t("".concat(e.desc," is not supported"))}}function N(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){throw e},n={},i=[],o=g(e);try{var a=function(){var e=t.value,o=e.error,a=e.field,s=e.str;if(o){var u=new k(o.message,e);u.stack=o.stack,r(u)}if(s){var c="Ignoring string part: ".concat(s);r(new k(c,e,k.WARNING))}a&&(-1===i.indexOf(a)?i.push(a):r(new k("Duplicate ".concat(a," token"),e)));var l=T(e,(function(t,n){return r(new k(t,e,n))}));l&&Object.assign(n,l)};for(o.s();!(t=o.n()).done;)a()}catch(e){o.e(e)}finally{o.f()}return n}var _={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"}},P=function(e){return e>="A"&&e<="Z"||e>="a"&&e<="z"};function D(e,t){var r=e[t];if(!r)return null;if(P(r))return function(e,t){for(var r=e[t],n=1;e[++t]===r;)++n;var i=_[r];if(!i){var o="The letter ".concat(r," is not a valid field identifier");return{char:r,error:new Error(o),width:n}}return{char:r,field:i.field,desc:i.desc,width:n}}(e,t);if("'"===r)return function(e,t){var r=e[++t],n=2;if("'"===r)return{char:"'",str:r,width:n};for(;;){var i=e[++t];if(++n,void 0===i){var o="Unterminated quoted literal in pattern: ".concat(r||e);return{char:"'",error:new Error(o),str:r,width:n}}if("'"===i){if("'"!==e[++t])return{char:"'",str:r,width:n};++n}r+=i}}(e,t);for(var n=r,i=1;;){var o=e[++t];if(!o||P(o)||"'"===o)return{char:r,str:n,width:i};n+=o,i+=1}}function R(e){for(var t=[],r=0;;){var n=D(e,r);if(!n)return t;t.push(n),r+=n.width}}var B=function(e){o(n,e);var r=p(n);function n(e,i){var o;return t(this,n),(o=r.call(this,i)).code=e,o}return i(n)}(f(Error)),L=function(e){o(n,e);var r=p(n);function n(e,i){var o;return t(this,n),(o=r.call(this,"BAD_OPTION","Unknown ".concat(e," option: ").concat(i))).stem=e,o.option=i,o}return i(n)}(B),C=function(e){o(n,e);var r=p(n);function n(e){var i;return t(this,n),(i=r.call(this,"BAD_STEM","Unknown stem: ".concat(e))).stem=e,i}return i(n)}(B),I=function(e){o(n,e);var r=p(n);function n(e,i){var o;return t(this,n),(o=r.call(this,"MASKED_VALUE","Value for ".concat(e," is set multiple times"))).type=e,o.prev=i,o}return i(n)}(B),z=function(e){o(n,e);var r=p(n);function n(e){var i;return t(this,n),(i=r.call(this,"MISSING_OPTION","Required option missing for ".concat(e))).stem=e,i}return i(n)}(B),U=function(e){o(n,e);var r=p(n);function n(e,i){var o;return t(this,n),(o=r.call(this,"BAD_PATTERN",i)).char=e,o}return i(n)}(B),q=function(e){o(n,e);var r=p(n);function n(e,i,o){var a;t(this,n);var s=o>1?"".concat(o," options"):"one option";return(a=r.call(this,"TOO_MANY_OPTIONS","Token ".concat(e," only supports ").concat(s," (got ").concat(i.length,")"))).stem=e,a.options=i,a}return i(n)}(B),M=function(e){o(n,e);var r=p(n);function n(e,i){var o;return t(this,n),(o=r.call(this,"UNSUPPORTED","The stem ".concat(e," is not supported"))).stem=e,i&&(o.message+=" with value ".concat(i),o.source=i),o}return i(n)}(B);function H(e,t){var r=t.numberingSystem;return Array.isArray(e)||(e=[e]),r?e.map((function(e){var t=-1===e.indexOf("-u-")?"u-nu":"nu";return"".concat(e,"-").concat(t,"-").concat(r)})).concat(e):e}function J(e){var t=e.scale,r=e.unit,n="number"==typeof t&&t>=0?t:1;return r&&"percent"===r.style&&(n*=.01),n}function W(e,t){var r=e.decimal,n=e.group,i=e.integerWidth,o=e.notation,a=e.precision,s=e.roundingMode,u=e.sign,c=e.unit,l=e.unitPer,f=e.unitWidth,h=function(e,r){t&&t(new M(e,r))},p={};if(c)switch(c.style){case"base-unit":p.style="decimal";break;case"currency":p.style="currency",p.currency=c.currency;break;case"measure-unit":p.style="unit",p.unit=c.unit.replace(/.*-/,""),l&&(p.unit+="-per-"+l.replace(/.*-/,""));break;case"percent":p.style="percent";break;case"permille":h("permille")}switch(f){case"unit-width-full-name":p.currencyDisplay="name",p.unitDisplay="long";break;case"unit-width-hidden":h(f);break;case"unit-width-iso-code":p.currencyDisplay="code";break;case"unit-width-narrow":p.currencyDisplay="narrowSymbol",p.unitDisplay="narrow";break;case"unit-width-short":p.currencyDisplay="symbol",p.unitDisplay="short"}switch(n){case"group-off":p.useGrouping=!1;break;case"group-auto":p.useGrouping=!0;break;case"group-min2":case"group-on-aligned":case"group-thousands":h(n),p.useGrouping=!0}if(a)switch(a.style){case"precision-fraction":var d=a.minFraction,m=a.maxFraction,y=a.minSignificant,g=a.maxSignificant,v=a.source;"number"==typeof d&&(p.minimumFractionDigits=d,"number"==typeof y&&h("precision-fraction",v)),"number"==typeof m&&(p.maximumFractionDigits=m),"number"==typeof y&&(p.minimumSignificantDigits=y),"number"==typeof g&&(p.maximumSignificantDigits=g);break;case"precision-integer":p.maximumFractionDigits=0;break;case"precision-unlimited":p.maximumFractionDigits=20;break;case"precision-increment":case"precision-currency-standard":break;case"precision-currency-cash":h(a.style)}if(o)switch(o.style){case"compact-short":p.notation="compact",p.compactDisplay="short";break;case"compact-long":p.notation="compact",p.compactDisplay="long";break;case"notation-simple":p.notation="standard";break;case"scientific":case"engineering":var b=o.expDigits,w=o.expSign,x=o.source,k=o.style;p.notation=k,(b&&b>1||w&&"sign-auto"!==w)&&h(k,x)}if(i){var S=i.min,E=i.max,O=i.source;if(S>0&&(p.minimumIntegerDigits=S),Number(E)>0){var j="engineering"===p.notation||"scientific"===p.notation;3===E&&j?p.notation="engineering":h("integer-width",O)}}switch(u){case"sign-auto":p.signDisplay="auto";break;case"sign-always":p.signDisplay="always";break;case"sign-except-zero":p.signDisplay="exceptZero";break;case"sign-never":p.signDisplay="never";break;case"sign-accounting":p.currencySign="accounting";break;case"sign-accounting-always":p.currencySign="accounting",p.signDisplay="always";break;case"sign-accounting-except-zero":p.currencySign="accounting",p.signDisplay="exceptZero"}return"decimal-always"===r&&h(r),s&&h(s),p}function G(e,t,r){var n=e[t];switch(n){case"%":return{char:"%",style:"percent",width:1};case"‰":return{char:"%",style:"permille",width:1};case"¤":for(var i=1;"¤"===e[++t];)++i;switch(i){case 1:return{char:n,currency:"default",width:i};case 2:return{char:n,currency:"iso-code",width:i};case 3:return{char:n,currency:"full-name",width:i};case 5:return{char:n,currency:"narrow",width:i};default:var o="Invalid number (".concat(i,") of ¤ chars in pattern");return r(new U("¤",o)),null}case"*":var a=e[t+1];if(a)return{char:n,pad:a,width:2};break;case"+":case"-":return{char:n,width:1};case"'":var s=e[++t],u=2;if("'"===s)return{char:n,str:s,width:u};for(;;){var c=e[++t];if(++u,void 0===c){var l="Unterminated quoted literal in pattern: ".concat(s);return r(new U("'",l)),{char:n,str:s,width:u}}if("'"===c){if("'"!==e[++t])return{char:n,str:s,width:u};++u}s+=c}}return null}var $=function(e){return e>="0"&&e<="9"};function K(e,t){var r=e[t];if($(r))for(var n=r;;){var i=e[++t];if(!$(i))return{char:"0",digits:n,width:n.length};n+=i}switch(r){case"#":for(var o=1;"#"===e[++t];)++o;return{char:r,width:o};case"@":for(var a=1;"@"===e[++t];)++a;var s=a;for(t-=1;"#"===e[++t];)++s;return{char:r,min:a,width:s};case"E":var u="+"===e[t+1];u&&++t;for(var c=0;"0"===e[++t];)++c;if(c)return{char:r,expDigits:c,plus:u,width:(u?2:1)+c};break;case".":case",":return{char:r,width:1}}return null}function Z(e,t,r){var n;!function(e){e[e.Prefix=0]="Prefix",e[e.Number=1]="Number",e[e.Suffix=2]="Suffix"}(n||(n={}));for(var i=[],o=[],a=[],s=n.Prefix,u="";t<e.length;){var c=e[t];if(";"===c){t+=1;break}switch(s){case n.Prefix:var l=G(e,t,r);if(l)u&&(i.push({char:"'",str:u,width:u.length}),u=""),i.push(l),t+=l.width;else{var f=K(e,t);f?(u&&(i.push({char:"'",str:u,width:u.length}),u=""),s=n.Number,o.push(f),t+=f.width):(u+=c,t+=1)}break;case n.Number:var h=K(e,t);h?(o.push(h),t+=h.width):s=n.Suffix;break;case n.Suffix:var p=G(e,t,r);p?(u&&(a.push({char:"'",str:u,width:u.length}),u=""),a.push(p),t+=p.width):(u+=c,t+=1)}}return u&&a.push({char:"'",str:u,width:u.length}),{pattern:{prefix:i,number:o,suffix:a},pos:t}}function V(e,t){var r=Z(e,0,t),n=r.pattern,i=r.pos;return i<e.length?{tokens:n,negative:Z(e,i,t).pattern}:{tokens:n}}function X(e,t){for(var r={},n=!1,i=!1,o=0,a="",s=-1,u="",c=0,l=0;l<e.length;++l){var f=e[l];switch(f.char){case"#":-1===s?(a&&t(new U("#","Pattern has # after integer digits")),o+=f.width):c+=f.width;break;case"0":-1===s?a+=f.digits:(c&&t(new U("0","Pattern has digits after # in fraction")),u+=f.digits);break;case"@":r.precision&&t(new I("precision",r.precision)),r.precision={style:"precision-fraction",minSignificant:f.min,maxSignificant:f.width};break;case",":n=!0;break;case".":1===s&&t(new U(".","Pattern has more than one decimal separator")),s=l;break;case"E":i&&t(new I("exponent",r.notation)),n&&t(new U("E","Exponential patterns may not contain grouping separators")),r.notation={style:"scientific"},f.expDigits>1&&(r.notation.expDigits=f.expDigits),f.plus&&(r.notation.expSign="sign-always"),i=!0}}n?r.group="group-auto":o+a.length>3&&(r.group="group-off");var h=Number("".concat(a||"0",".").concat(u));if(h&&(r.precision={style:"precision-increment",increment:h}),i)if(r.precision&&!h||(r.integerWidth=o?{min:1,max:o+a.length}:{min:Math.max(1,a.length)}),r.precision)h||(r.integerWidth={min:1,max:1});else{var p=a.length+u.length;-1===s?p>0&&(r.precision={style:"precision-fraction",maxSignificant:p}):(r.precision={style:"precision-fraction",maxSignificant:Math.max(1,p)+c},p>1&&(r.precision.minSignificant=p))}else a.length>1&&(r.integerWidth={min:a.length}),r.precision||!u.length&&!c||(r.precision={style:"precision-fraction",minFraction:u.length,maxFraction:u.length+c});return r}function Y(e,t,r,n,i){var o,a=!1,s="",u=g(e);try{for(u.s();!(o=u.n()).done;){var c=o.value;switch(c.char){case"%":t.unit={style:c.style},i?a=!0:s="";break;case"¤":if(!r){n(new U("¤","The ¤ pattern requires a currency"));break}switch(t.unit={style:"currency",currency:r},c.currency){case"iso-code":t.unitWidth="unit-width-iso-code";break;case"full-name":t.unitWidth="unit-width-full-name";break;case"narrow":t.unitWidth="unit-width-narrow"}i?a=!0:s="";break;case"*":break;case"+":a||(s+="+");break;case"'":a||(s+=c.str)}}}catch(e){u.e(e)}finally{u.f()}return s}function Q(e,t){var r,n=!1,i="",o=g(e);try{for(o.s();!(r=o.n()).done;){var a=r.value;switch(a.char){case"%":case"¤":t?n=!0:i="";break;case"-":n||(i+="-");break;case"'":n||(i+=a.str)}}}catch(e){o.e(e)}finally{o.f()}return i}function ee(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(e){throw e},n=V(e,r),i=n.tokens,o=n.negative,a=X(i.number,r),s=Y(i.prefix,a,t,r,!0),u=Y(i.suffix,a,t,r,!1);if(o){var c=Q(o.prefix,!0),l=Q(o.suffix,!1);a.affix={pos:[s,u],neg:[c,l]},a.sign="sign-never"}else(s||u)&&(a.affix={pos:[s,u]});return a}function te(e){var t=d(e.split("-",1),1)[0];return-1!==["acceleration","angle","area","concentr","consumption","digital","duration","electric","energy","force","frequency","graphics","length","light","mass","power","pressure","speed","temperature","torque","volume"].indexOf(t)}var re={"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":0,"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},ne={currency:1,"integer-width":1,"measure-unit":1,"numbering-system":1,"per-measure-unit":1,"precision-increment":1,scale:1};function ie(e,t){var r="fraction"===t?/^\.(0*)(\+|#*)$/:/^(@+)(\+|#*)$/,n=e&&e.match(r);if(n){var i=n[1].length;switch(n[2].charAt(0)){case"":return{min:i,max:i};case"+":return{min:i,max:null};case"#":return{min:i,max:i+n[2].length}}}return null}var oe=function(){function e(r){t(this,e),this.skeleton={},this.onError=r}return i(e,[{key:"badOption",value:function(e,t){this.onError(new L(e,t))}},{key:"assertEmpty",value:function(e){var t=this.skeleton[e];t&&this.onError(new I(e,t))}},{key:"parseToken",value:function(e,t){if(function(e,t,r){if(function(e){return e in re}(e)){var n=re[e];if(t.length>n){if(0===n){var i,o=g(t);try{for(o.s();!(i=o.n()).done;){var a=i.value;r(new L(e,a))}}catch(e){o.e(e)}finally{o.f()}}else r(new q(e,t,n));return!1}if(function(e){return e in ne}(e)&&t.length<ne[e])return r(new z(e)),!1}return!0}(e,t,this.onError)){var r=t[0],n=this.skeleton;switch(e){case"compact-short":case"compact-long":case"notation-simple":this.assertEmpty("notation"),n.notation={style:e};break;case"scientific":case"engineering":var i,o=null,a=void 0,s=g(t);try{for(s.s();!(i=s.n()).done;){var u=i.value;switch(u){case"sign-auto":case"sign-always":case"sign-never":case"sign-accounting":case"sign-accounting-always":case"sign-except-zero":case"sign-accounting-except-zero":a=u;break;default:/^\+e+$/.test(u)?o=u.length-1:this.badOption(e,u)}}}catch(e){s.e(e)}finally{s.f()}this.assertEmpty("notation");var c=t.join("/");n.notation=o&&a?{style:e,source:c,expDigits:o,expSign:a}:o?{style:e,source:c,expDigits:o}:a?{style:e,source:c,expSign:a}:{style:e,source:c};break;case"percent":case"permille":case"base-unit":this.assertEmpty("unit"),n.unit={style:e};break;case"currency":/^[A-Z]{3}$/.test(r)?(this.assertEmpty("unit"),n.unit={style:e,currency:r}):this.badOption(e,r);break;case"measure-unit":te(r)?(this.assertEmpty("unit"),n.unit={style:e,unit:r}):this.badOption(e,r);break;case"per-measure-unit":te(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-standard":case"precision-currency-cash":this.assertEmpty("precision"),n.precision={style:e};break;case"precision-increment":var l=Number(r);l>0?(this.assertEmpty("precision"),n.precision={style:e,increment:l}):this.badOption(e,r);break;case"rounding-mode-ceiling":case"rounding-mode-floor":case"rounding-mode-down":case"rounding-mode-up":case"rounding-mode-half-even":case"rounding-mode-half-down":case"rounding-mode-half-up":case"rounding-mode-unnecessary":this.assertEmpty("roundingMode"),n.roundingMode=e;break;case"integer-width":if(/^\+0*$/.test(r))this.assertEmpty("integerWidth"),n.integerWidth={source:r,min:r.length-1};else{var f=r.match(/^#*(0*)$/);f?(this.assertEmpty("integerWidth"),n.integerWidth={source:r,min:f[1].length,max:f[0].length}):this.badOption(e,r)}break;case"scale":var h=Number(r);h>0?(this.assertEmpty("scale"),n.scale=h):this.badOption(e,r);break;case"group-off":case"group-min2":case"group-auto":case"group-on-aligned":case"group-thousands":this.assertEmpty("group"),n.group=e;break;case"latin":this.assertEmpty("numberingSystem"),n.numberingSystem="latn";break;case"numbering-system":-1!==["arab","arabext","bali","beng","deva","fullwide","gujr","guru","hanidec","khmr","knda","laoo","latn","limb","mlym","mong","mymr","orya","tamldec","telu","thai","tibt"].indexOf(r)?(this.assertEmpty("numberingSystem"),n.numberingSystem=r):this.badOption(e,r);break;case"sign-auto":case"sign-always":case"sign-never":case"sign-accounting":case"sign-accounting-always":case"sign-except-zero":case"sign-accounting-except-zero":this.assertEmpty("sign"),n.sign=e;break;case"decimal-auto":case"decimal-always":this.assertEmpty("decimal"),n.decimal=e;break;default:var p=function(e,t,r){var n=ie(e,"fraction");if(n){t.length>1&&r(new q(e,t,1));var i={style:"precision-fraction",source:e,minFraction:n.min};null!=n.max&&(i.maxFraction=n.max);var o=t[0],a=ie(o,"significant");return a?(i.source="".concat(e,"/").concat(o),i.minSignificant=a.min,null!=a.max&&(i.maxSignificant=a.max)):o&&r(new L(e,o)),i}var s=ie(e,"significant");if(s){var u,c=g(t);try{for(c.s();!(u=c.n()).done;){var l=u.value;r(new L(e,l))}}catch(e){c.e(e)}finally{c.f()}var f={style:"precision-fraction",source:e,minSignificant:s.min};return null!=s.max&&(f.maxSignificant=s.max),f}return null}(e,t,this.onError);p?(this.assertEmpty("precision"),n.precision=p):this.onError(new C(e))}}}}]),e}();function ae(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){throw e},n=[],i=g(e.split(" "));try{for(i.s();!(t=i.n()).done;){var o=t.value;if(o){var a=o.split("/"),s=a.shift()||"";n.push({stem:s,options:a})}}}catch(e){i.e(e)}finally{i.f()}for(var u=new oe(r),c=0,l=n;c<l.length;c++){var f=l[c],h=f.stem,p=f.options;u.parseToken(h,p)}return u.skeleton}var se="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:{},ue={},ce={},le={exports:{}};(function(t){var r,n;r=se,n=function(){var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n="boolean"==typeof(new RegExp).sticky;function i(e){return e&&"[object RegExp]"===r.call(e)}function o(t){return t&&"object"===e(t)&&!i(t)&&!Array.isArray(t)}function a(e){return"("+e+")"}function s(e){return e.length?"(?:"+e.map((function(e){return"(?:"+e+")"})).join("|")+")":"(?!)"}function u(e){if("string"==typeof e)return"(?:"+e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")+")";if(i(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,r){if(o(r)||(r={match:r}),r.include)throw new Error("Matching rules cannot also include states");var n={defaultType:e,lineBreaks:!!r.error||!!r.fallback,pop:!1,next:null,push:null,error:!1,fallback:!1,value:null,type:null,shouldThrow:!1};for(var a in r)t.call(r,a)&&(n[a]=r[a]);if("string"==typeof n.type&&e!==n.type)throw new Error("Type transform cannot be a string (type '"+n.type+"' for token '"+e+"')");var s=n.match;return n.match=Array.isArray(s)?s:s?[s]:[],n.match.sort((function(e,t){return i(e)&&i(t)?0:i(t)?-1:i(e)?1:t.length-e.length})),n}function l(e){return Array.isArray(e)?function(e){for(var t=[],r=0;r<e.length;r++){var n=e[r];if(n.include)for(var i=[].concat(n.include),o=0;o<i.length;o++)t.push({include:i[o]});else{if(!n.type)throw new Error("Rule has no type: "+JSON.stringify(n));t.push(c(n.type,n))}}return t}(e):function(e){for(var t=Object.getOwnPropertyNames(e),r=[],n=0;n<t.length;n++){var i=t[n],a=e[i],s=[].concat(a);if("include"!==i){var u=[];s.forEach((function(e){o(e)?(u.length&&r.push(c(i,u)),r.push(c(i,e)),u=[]):u.push(e)})),u.length&&r.push(c(i,u))}else for(var l=0;l<s.length;l++)r.push({include:s[l]})}return r}(e)}var f=c("error",{lineBreaks:!0,shouldThrow:!0});function h(e,t){for(var r=null,o=Object.create(null),c=!0,l=null,h=[],p=[],d=0;d<e.length;d++)e[d].fallback&&(c=!1);for(d=0;d<e.length;d++){var m=e[d];if(m.include)throw new Error("Inheritance is not allowed in stateless lexers");if(m.error||m.fallback){if(r)throw!m.fallback==!r.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+"')");r=m}var y=m.match.slice();if(c)for(;y.length&&"string"==typeof y[0]&&1===y[0].length;)o[y.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!==y.length){c=!1,h.push(m);for(var g=0;g<y.length;g++){var v=y[g];if(i(v))if(null===l)l=v.unicode;else if(l!==v.unicode&&!1===m.fallback)throw new Error("If one rule is /u then all must be")}var b=s(y.map(u)),w=new RegExp(b);if(w.test(""))throw new Error("RegExp matches empty string: "+w);if(new RegExp("|"+b).exec("").length-1>0)throw new Error("RegExp has capture groups: "+w+"\nUse (?: … ) instead");if(!m.lineBreaks&&w.test("\n"))throw new Error("Rule should declare lineBreaks: "+w);p.push(a(b))}}var x=r&&r.fallback,k=n&&!x?"ym":"gm",S=n||x?"":"|";return!0===l&&(k+="u"),{regexp:new RegExp(s(p)+S,k),groups:h,fast:o,error:r||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.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,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=n?function(e,t){return e.exec(t)}:function(e,t){var r=e.exec(t);return 0===r[0].length?null:r};function y(){return this.value}if(d.prototype._getGroup=function(e){for(var t=this.groups.length,r=0;r<t;r++)if(void 0!==e[r+1])return this.groups[r];throw new Error("Cannot find token type for matched text")},d.prototype.next=function(){var e=this.index;if(this.queuedGroup){var t=this._token(this.queuedGroup,this.queuedText,e);return this.queuedGroup=null,this.queuedText="",t}var r=this.buffer;if(e!==r.length){if(a=this.fast[r.charCodeAt(e)])return this._token(a,r.charAt(e),e);var n=this.re;n.lastIndex=e;var i=m(n,r),o=this.error;if(null==i)return this._token(o,r.slice(e,r.length),e);var a=this._getGroup(i),s=i[0];return o.fallback&&i.index!==e?(this.queuedGroup=a,this.queuedText=s,this._token(o,r.slice(e,i.index),e)):this._token(a,s,e)}},d.prototype._token=function(e,t,r){var n=0;if(e.lineBreaks){var i=/\n/g,o=1;if("\n"===t)n=1;else for(;i.exec(t);)n++,o=i.lastIndex}var a={type:"function"==typeof e.type&&e.type(t)||e.defaultType,value:"function"==typeof e.value?e.value(t):t,text:t,toString:y,offset:r,lineBreaks:n,line:this.line,col:this.col},s=t.length;if(this.index+=s,this.line+=n,0!==n?this.col=s-o+1:this.col+=s,e.shouldThrow)throw new Error(this.formatError(a,"invalid syntax"));return e.pop?this.popState():e.push?this.pushState(e.push):e.next&&this.setState(e.next),a},"undefined"!=typeof Symbol&&Symbol.iterator){var g=function(e){this.lexer=e};g.prototype.next=function(){var e=this.lexer.next();return{value:e,done:!e}},g.prototype[Symbol.iterator]=function(){return this},d.prototype[Symbol.iterator]=function(){return new g(this)}}return d.prototype.formatError=function(e,t){if(null==e){var r=this.buffer.slice(this.index);e={text:r,offset:this.index,lineBreaks:-1===r.indexOf("\n")?0:1,line:this.line,col:this.col}}var n=Math.max(0,e.offset-e.col+1),i=e.lineBreaks?e.text.indexOf("\n"):e.text.length,o=this.buffer.substring(n,e.offset+i);return t+=" at line "+e.line+" col "+e.col+":\n\n",(t+=" "+o+"\n")+" "+Array(e.col).join(" ")+"^"},d.prototype.clone=function(){return new d(this.states,this.state)},d.prototype.has=function(e){return!0},{compile:function(e){var t=h(l(e));return new d({start:t},"start")},states:function(e,t){var r=e.$all?l(e.$all):[];delete e.$all;var n=Object.getOwnPropertyNames(e);t||(t=n[0]);for(var i=Object.create(null),o=0;o<n.length;o++)i[b=n[o]]=l(e[b]).concat(r);for(o=0;o<n.length;o++)for(var a=i[b=n[o]],s=Object.create(null),u=0;u<a.length;u++){var c=a[u];if(c.include){var f=[u,1];if(c.include!==b&&!s[c.include]){s[c.include]=!0;var m=i[c.include];if(!m)throw new Error("Cannot include nonexistent state '"+c.include+"' (in state '"+b+"')");for(var y=0;y<m.length;y++){var g=m[y];-1===a.indexOf(g)&&f.push(g)}}a.splice.apply(a,f),u--}}var v=Object.create(null);for(o=0;o<n.length;o++){var b;v[b=n[o]]=h(i[b],!0)}for(o=0;o<n.length;o++){var w=n[o],x=v[w],k=x.groups;for(u=0;u<k.length;u++)p(k[u],w,v);var S=Object.getOwnPropertyNames(x.fast);for(u=0;u<S.length;u++)p(x.fast[S[u]],w,v)}return new d(v,t)},error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:function(e){for(var t=Object.create(null),r=Object.create(null),n=Object.getOwnPropertyNames(e),i=0;i<n.length;i++){var o=n[i],a=e[o];(Array.isArray(a)?a:[a]).forEach((function(e){if((r[e.length]=r[e.length]||[]).push(e),"string"!=typeof e)throw new Error("keyword must be string (in keyword '"+o+"')");t[e]=o}))}function s(e){return JSON.stringify(e)}var u="";for(var c in u+="switch (value.length) {\n",r){var l=r[c];u+="case "+c+":\n",u+="switch (value) {\n",l.forEach((function(e){var r=t[e];u+="case "+s(e)+": return "+s(r)+"\n"})),u+="}\n"}return u+="}\n",Function("value",u)}}},t.exports?t.exports=n():r.moo=n()})(le),function(e){var t=se&&se.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.lexer=e.states=void 0;var r=t(le.exports);e.states={body:{doubleapos:{match:"''",value:function(){return"'"}},quoted:{lineBreaks:!0,match:/'[#\{\}](?:(?:(?![])[\s\S])*?(?:(?!')[\s\S]))?'(?!')/,value:function(e){return e.slice(1,-1).replace(/''/g,"'")}},argument:{lineBreaks:!0,match:/\{[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*(?:(?![\t-\r -\/:-@\[-\^`\{-~\x85\xA1-\xA7\xA9\xAB\xAC\xAE\xB0\xB1\xB6\xBB\xBF\xD7\xF7\u200E-\u2029\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u245F\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3020\u3030\uFD3E\uFD3F\uFE45\uFE46])[\s\S])+[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*/,push:"arg",value:function(e){return e.substring(1).trim()}},octothorpe:"#",end:{match:"}",pop:1},content:{lineBreaks:!0,match:/(?:(?![])[\s\S])(?:(?![#'\{\}])[\s\S])*/}},arg:{select:{lineBreaks:!0,match:/,[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*(?:plural|select|selectordinal)[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*,[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*/,next:"select",value:function(e){return e.split(",")[1].trim()}},"func-args":{lineBreaks:!0,match:/,[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*(?:(?![\t-\r -\/:-@\[-\^`\{-~\x85\xA1-\xA7\xA9\xAB\xAC\xAE\xB0\xB1\xB6\xBB\xBF\xD7\xF7\u200E-\u2029\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u245F\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3020\u3030\uFD3E\uFD3F\uFE45\uFE46])[\s\S])+[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*,/,next:"body",value:function(e){return e.split(",")[1].trim()}},"func-simple":{lineBreaks:!0,match:/,[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*(?:(?![\t-\r -\/:-@\[-\^`\{-~\x85\xA1-\xA7\xA9\xAB\xAC\xAE\xB0\xB1\xB6\xBB\xBF\xD7\xF7\u200E-\u2029\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u245F\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3020\u3030\uFD3E\uFD3F\uFE45\uFE46])[\s\S])+[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*/,value:function(e){return e.substring(1).trim()}},end:{match:"}",pop:1}},select:{offset:{lineBreaks:!0,match:/[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*offset[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*:[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*[0-9]+[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*/,value:function(e){return e.split(":")[1].trim()}},case:{lineBreaks:!0,match:/[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*(?:=[0-9]+|(?:(?![\t-\r -\/:-@\[-\^`\{-~\x85\xA1-\xA7\xA9\xAB\xAC\xAE\xB0\xB1\xB6\xBB\xBF\xD7\xF7\u200E-\u2029\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u245F\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3020\u3030\uFD3E\uFD3F\uFE45\uFE46])[\s\S])+)[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*\{/,push:"body",value:function(e){return e.substring(0,e.indexOf("{")).trim()}},end:{match:/[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*\}/,pop:1}}},e.lexer=r.default.states(e.states)}(ce),Object.defineProperty(ue,"__esModule",{value:!0});var fe=ue.parse=ue.ParseError=void 0,he=ce,pe=function(e){return{offset:e.offset,line:e.line,col:e.col,text:e.text,lineBreaks:e.lineBreaks}},de=function(e){return"plural"===e||"select"===e||"selectordinal"===e},me=["number","date","time","spellout","ordinal","duration"],ye=["zero","one","two","few","many","other"],ge=function(e){o(n,e);var r=p(n);function n(e,i){return t(this,n),r.call(this,he.lexer.formatError(e,i))}return i(n)}(f(Error));ue.ParseError=ge;var ve=function(){function e(r,n){t(this,e),this.lexer=he.lexer.reset(r),this.cardinalKeys=n&&n.cardinal||ye,this.ordinalKeys=n&&n.ordinal||ye,this.strict=n&&n.strict||!1}return i(e,[{key:"parse",value:function(){return this.parseBody(!1,!0)}},{key:"checkSelectKey",value:function(e,t,r){if("="===r[0]){if("select"===t)throw new ge(e,"The case ".concat(r," is not valid with select"))}else if("select"!==t){var n="plural"===t?this.cardinalKeys:this.ordinalKeys;if(n.length>0&&!n.includes(r)){var i="The ".concat(t," case ").concat(r," is not valid in this locale");throw new ge(e,i)}}}},{key:"parseSelect",value:function(e,t,r,n){var i={type:n,arg:e.value,cases:[],ctx:r};"plural"===n||"selectordinal"===n?t=!0:this.strict&&(t=!1);var o,a=g(this.lexer);try{for(a.s();!(o=a.n()).done;){var s=o.value;switch(s.type){case"offset":if("select"===n)throw new ge(s,"Unexpected plural offset for select");if(i.cases.length>0)throw new ge(s,"Plural offset must be set before cases");i.pluralOffset=Number(s.value),r.text+=s.text,r.lineBreaks+=s.lineBreaks;break;case"case":this.checkSelectKey(s,n,s.value),i.cases.push({key:s.value,tokens:this.parseBody(t),ctx:pe(s)});break;case"end":return i;default:throw new ge(s,"Unexpected lexer token: ".concat(s.type))}}}catch(e){a.e(e)}finally{a.f()}throw new ge(null,"Unexpected message end")}},{key:"parseArgToken",value:function(e,t){var r=pe(e),n=this.lexer.next();if(!n)throw new ge(null,"Unexpected message end");if(r.text+=n.text,r.lineBreaks+=n.lineBreaks,this.strict&&("func-simple"===n.type||"func-args"===n.type)&&!me.includes(n.value)){var i="Invalid strict mode function arg type: ".concat(n.value);throw new ge(e,i)}switch(n.type){case"end":return{type:"argument",arg:e.value,ctx:r};case"func-simple":var o=this.lexer.next();if(!o)throw new ge(null,"Unexpected message end");if("end"!==o.type)throw new ge(o,"Unexpected lexer token: ".concat(o.type));if(r.text+=o.text,de(n.value.toLowerCase()))throw new ge(n,"Invalid type identifier: ".concat(n.value));return{type:"function",arg:e.value,key:n.value,ctx:r};case"func-args":if(de(n.value.toLowerCase())){var a="Invalid type identifier: ".concat(n.value);throw new ge(n,a)}var s=this.parseBody(!this.strict&&t);return this.strict&&s.length>0&&(s=function(e,t){var r,n="",i="",o=g(t);try{for(o.s();!(r=o.n()).done;){var a=r.value,s=a.ctx.text;switch(i+=s,a.type){case"content":n+=a.value;break;case"argument":case"function":case"octothorpe":n+=s;break;default:throw new ge(e,"Unsupported part in strict mode function arg style: ".concat(s))}}}catch(e){o.e(e)}finally{o.f()}return[{type:"content",value:n.trim(),ctx:Object.assign({},t[0].ctx,{text:i})}]}(e,s)),{type:"function",arg:e.value,key:n.value,param:s,ctx:r};case"select":if(de(n.value))return this.parseSelect(e,t,r,n.value);throw new ge(n,"Unexpected select type ".concat(n.value));default:throw new ge(n,"Unexpected lexer token: ".concat(n.type))}}},{key:"parseBody",value:function(e,t){var r,n=[],i=null,o=g(this.lexer);try{for(o.s();!(r=o.n()).done;){var a=r.value;if("argument"===a.type)i&&(i=null),n.push(this.parseArgToken(a,e));else if("octothorpe"===a.type&&e)i&&(i=null),n.push({type:"octothorpe",ctx:pe(a)});else{if("end"===a.type&&!t)return n;var s=a.value;if(!e&&"quoted"===a.type&&"#"===s[0]){if(s.includes("{")){var u="Unsupported escape pattern: ".concat(s);throw new ge(a,u)}s=a.text}i?(i.value+=s,i.ctx.text+=a.text,i.ctx.lineBreaks+=a.lineBreaks):(i={type:"content",value:s,ctx:pe(a)},n.push(i))}}}catch(e){o.e(e)}finally{o.f()}if(t)return n;throw new ge(null,"Unexpected message end")}}]),e}();function be(e){return be[e]||(be[e]=new Intl.NumberFormat(e))}fe=ue.parse=function(e){return new ve(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).parse()};var we=Object.freeze({__proto__:null,_nf:be,number:function(e,t,r){return be(e).format(t-r)},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 be(e).format(i)},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},select:function(e,t){return{}.hasOwnProperty.call(t,e)?t[e]:t.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],"'"))}}),xe={};function ke(e,t){var r=String(e)+JSON.stringify(t);return xe[r]||(xe[r]=new Intl.NumberFormat(e,t)),xe[r]}var Se=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 e<10?"0"+String(e):String(e)})).join(":")},numberCurrency:function(e,t,r){return ke(t,{style:"currency",currency:r,minimumFractionDigits:2,maximumFractionDigits:2}).format(e)},numberFmt:function(e,t,r,n){var i=r&&r.split(":")||[],o=i[0],a=i[1];return ke(t,{integer:{maximumFractionDigits:0},percent:{style:"percent"},currency:{style:"currency",currency:a&&a.trim()||n,minimumFractionDigits:2,maximumFractionDigits:2}}[o]||{}).format(e)},numberInteger:function(e,t){return ke(t,{maximumFractionDigits:0}).format(e)},numberPercent:function(e,t){return ke(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)}}),Ee={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},Oe={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 je(e,t){t&&(e+=" "+function(e){for(var t=0,r=0;r<e.length;++r)t=(t<<5)-t+e.charCodeAt(r),t|=0;return t}(e).toString(36));var r=e.trim().replace(/\W+/g,"_");return Ee[r]||Oe[r]||/^\d/.test(r)?"_"+r:r}function Ae(e,t){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(t)&&!Ee[t])return e?e+"."+t:t;var 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("|^")),Te="@messageformat/runtime/lib/plurals",Ne=function(){function e(e){this.arguments=[],this.runtime={},this.options=e}return e.prototype.compile=function(e,t,r){var n,i,o=this;if("object"==s(e)){var a={};try{for(var u=b(Object.keys(e)),c=u.next();!c.done;c=u.next()){var l=c.value,f=r&&r[l]||t;a[l]=this.compile(e[l],f,r)}}catch(e){n={error:e}}finally{try{c&&!c.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}return a}this.plural=t;var h={cardinal:t.cardinals,ordinal:t.ordinals,strict:this.options.strict};this.arguments=[];var p=fe(e,h).map((function(e){return o.token(e,null)})),d=this.arguments.length>0,m=this.concatenate(p,!0);if(this.options.requireAllArguments&&d){this.setRuntimeFn("reqArgs");var y=JSON.stringify(this.arguments);return"(d) => { reqArgs(".concat(y,", d); return ").concat(m,"; }")}return"(".concat(d?"d":"",") => ").concat(m)},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 a=o.map((function(e){return r.token(e,t)}));return"".concat(Ae(null,i.replace(/^=/,"")),": ").concat(r.concatenate(a,!1))}));if(n){var o=e.type,a=this.plural,s=a.cardinals,u=a.ordinals;if("select"===o||"plural"===o&&s.includes("other")||"selectordinal"===o&&u.includes("other"))throw new Error("No 'other' form found in ".concat(JSON.stringify(e)))}return"{ ".concat(i.join(", ")," }")},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,a,s,u=this.plural,c=u.id,l=u.lc;switch("arg"in e?(this.arguments.push(e.arg),r=[Ae("d",e.arg)]):r=[],e.type){case"argument":return this.options.biDiSupport?(i=String(r[0]),o=l,a=Fe.test(o),s=JSON.stringify(a?"":""),"".concat(s," + ").concat(i," + ").concat(s)):String(r[0]);case"select":n="select",t&&this.options.strict&&(t=null),r.push(this.cases(e,t)),this.setRuntimeFn("select");break;case"selectordinal":n="plural",r.push(e.pluralOffset||0,c,this.cases(e,e),1),this.setLocale(c,!0),this.setRuntimeFn("plural");break;case"plural":n="plural",r.push(e.pluralOffset||0,c,this.cases(e,e)),this.setLocale(c,!1),this.setRuntimeFn("plural");break;case"function":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),Ae("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(je(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"),a=this.plural,s=a.getCardinal,u=a.getPlural,c=a.isDefault;if(!t&&c&&s){if(o)return;r=function(e){return s(e)},n="@messageformat/runtime/lib/cardinals",i=function(){return String(s)}}else{if(o&&(!c||o.module===Te))return;r=function(e,t){return u(e,t)},n=c?Te:u.module||null,i=function(){return String(u)}}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(we[e],{id:e,module:"@messageformat/runtime",type:"runtime"}))},e.prototype.getFormatterArg=function(e,t){var r,n,i,o,a=this,s=e.key,u=e.param,c=this.options.customFormatters[s]||_e(s)&&Se[s];if(!c||!u)return null;var l="arg"in c&&c.arg||"string";if("options"===l){var f="";try{for(var h=b(u),p=h.next();!p.done;p=h.next()){var d=p.value;if("content"!==d.type)throw new SyntaxError("Expected literal options for ".concat(s," formatter"));f+=d.value}}catch(e){r={error:e}}finally{try{p&&!p.done&&(n=h.return)&&n.call(h)}finally{if(r)throw r.error}}var m={};try{for(var y=b(f.split(",")),g=y.next();!g.done;g=y.next()){var v=g.value,w=v.indexOf(":");if(-1===w)m[v.trim()]=null;else{var x=v.substring(0,w).trim(),k=v.substring(w+1).trim();if("true"===k)m[x]=!0;else if("false"===k)m[x]=!1;else if("null"===k)m[x]=null;else{var S=Number(k);m[x]=Number.isFinite(S)?S:k}}}}catch(e){i={error:e}}finally{try{g&&!g.done&&(o=y.return)&&o.call(y)}finally{if(i)throw i.error}}return JSON.stringify(m)}var E=u.map((function(e){return a.token(e,t)}));if("raw"===l)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:je(t.id),module:t.module}:{id:null,module:null});else{if(!_e(e))throw new Error("Formatting function not found: ".concat(e));this.runtime[e]=Object.assign(Se[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,a=i&&1===i.length&&i[0];if(a&&"content"===a.type&&/^\s*::/.test(a.value)){var s=a.value.trim().substr(2),u=je("date_".concat(o,"_").concat(s),!0);if(!this.runtimeIncludes(u,"formatter")){var c=function(e,t,r){"string"==typeof t&&(t=R(t));var n=N(t,void 0),i=new Intl.DateTimeFormat(e,n);return function(e){return i.format(e)}}(o,s);this.runtime[u]=Object.assign(c,{id:u,module:null,toString:function(){return function(e,t,r){"string"==typeof t&&(t=R(t));var n=N(t,void 0);return["(function() {","var opt = ".concat(JSON.stringify(n),";"),"var dtf = new Intl.DateTimeFormat(".concat(JSON.stringify(e),", opt);"),"return function(value) { return dtf.format(value); }"].join("\n ")+"\n})()"}(o,s)},type:"formatter"})}return u}if(t.push(JSON.stringify(o)),i&&i.length>0){r&&this.options.strict&&(r=null);var l=i.map((function(e){return n.token(e,r)}));t.push("("+(l.join(" + ")||'""')+").trim()")}return this.setFormatter("date"),"date"},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 a=i[0].value.trim();switch(a){case"currency":return t.push(JSON.stringify(this.options.currency)),this.setFormatter("numberCurrency"),"numberCurrency";case"integer":return this.setFormatter("numberInteger"),"numberInteger";case"percent":return this.setFormatter("numberPercent"),"numberPercent"}var s=a.match(/^currency:([A-Z]+)$/);if(s)return t.push(JSON.stringify(s[1])),this.setFormatter("numberCurrency"),"numberCurrency";var u=je("number_".concat(o,"_").concat(a),!0);if(!this.runtimeIncludes(u,"formatter")){var c=this.options.currency,l=function(e,t,r,n){"string"==typeof t&&(t=0===t.indexOf("::")?ae(t.slice(2),n):ee(t,r,n));var i=H(e,t),o=W(t,n),a=function(e){var t=J(e),r=e.precision;return r&&"precision-increment"===r.style?function(e){return function(e,t){var r=+e+t/2;return r-r%+t}(e,r.increment)*t}:function(e){return e*t}}(t),s=new Intl.NumberFormat(i,o);if(t.affix){var u=d(t.affix.pos,2),c=u[0],l=u[1],f=d(t.affix.neg||["",""],2),h=f[0],p=f[1];return function(e){var t=s.format(a(e));return e<0?"".concat(h).concat(t).concat(p):"".concat(c).concat(t).concat(l)}}return function(e){return s.format(a(e))}}(o,a,c);this.runtime[u]=Object.assign(l,{id:null,module:null,toString:function(){return function(e,t,r,n){"string"==typeof t&&(t=0===t.indexOf("::")?ae(t.slice(2),n):ee(t,r,n));var i=H(e,t),o=W(t,n),a=function(e){var t=J(e),r=e.precision;if(r&&"precision-increment"===r.style){var n="+n + ".concat(r.increment/2),i="x - (x % +".concat(r.increment,")");return 1!==t&&(i="(".concat(i,") * ").concat(t)),"function(n) { var x = ".concat(n,"; return ").concat(i,"; }")}return 1!==t?"function(n) { return n * ".concat(t,"; }"):null}(t),s=["(function() {","var opt = ".concat(JSON.stringify(o),";"),"var nf = new Intl.NumberFormat(".concat(JSON.stringify(i),", opt);")],u="nf.format(value)";if(a&&(s.push("var mod = ".concat(a,";")),u="nf.format(mod(value))"),t.affix){var c=d(t.affix.pos.map((function(e){return JSON.stringify(e)})),2),l=c[0],f=c[1];if(t.affix.neg){var h=d(t.affix.neg.map((function(e){return JSON.stringify(e)})),2),p=h[0],m=h[1];u="value < 0 ? ".concat(p," + ").concat(u," + ").concat(m," : ").concat(l," + ").concat(u," + ").concat(f)}else u="".concat(l," + ").concat(u," + ").concat(f)}return s.push("return function(value) { return ".concat(u,"; }")),s.join("\n ")+"\n})()"}(o,a,c)},type:"formatter"})}return u}r&&this.options.strict&&(r=null);var 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 _e(e){return e in Se}var Pe=function(e){return 1==e?"one":"other"},De=function(e){return 0==e||1==e?"one":"other"},Re=function(e){return e>=0&&e<=1?"one":"other"},Be=function(e){var t=!String(e).split(".")[1];return 1==e&&t?"one":"other"},Le=function(e){return"other"},Ce=function(e){return 1==e?"one":2==e?"two":"other"},Ie=Pe,ze=De,Ue=Re,qe=Pe,Me=Re,He=Pe,Je=Be,We=Pe,Ge=Pe,$e=Pe,Ke=Pe,Ze=Pe,Ve=De,Xe=Le,Ye=Re,Qe=Le,et=Pe,tt=Be,rt=Pe,nt=Pe,it=Pe,ot=Pe,at=Be,st=Re,ut=Pe,ct=Le,lt=Pe,ft=Pe,ht=Be,pt=Pe,dt=Be,mt=Pe,yt=Re,gt=Be,vt=Pe,bt=Pe,wt=Be,xt=Be,kt=Pe,St=Re,Et=De,Ot=Pe,jt=Pe,At=Re,Ft=Le,Tt=Pe,Nt=Be,_t=Le,Pt=Le,Dt=Le,Rt=Be,Bt=Ce,Lt=Le,Ct=Le,It=Pe,zt=Pe,Ut=Le,qt=Le,Mt=Pe,Ht=Pe,Jt=Pe,Wt=Le,Gt=Le,$t=Pe,Kt=Pe,Zt=Pe,Vt=Le,Xt=Re,Yt=Le,Qt=Pe,er=Pe,tr=Pe,rr=Pe,nr=Pe,ir=Pe,or=Be,ar=Le,sr=De,ur=Le,cr=Pe,lr=De,fr=Pe,hr=Pe,pr=Pe,dr=Pe,mr=Le,yr=Le,gr=Pe,vr=Ce,br=Pe,wr=Pe,xr=Pe,kr=Be,Sr=Pe,Er=Pe,Or=Pe,jr=Le,Ar=Pe,Fr=De,Tr=Pe,Nr=Pe,_r=Pe,Pr=Pe,Dr=Pe,Rr=Le,Br=De,Lr=Pe,Cr=Re,Ir=Pe,zr=Pe,Ur=Pe,qr=Pe,Mr=Le,Hr=Pe,Jr=Ce,Wr=Be,Gr=Be,$r=Pe,Kr=Pe,Zr=Ce,Vr=Pe,Xr=Le,Yr=Le,Qr=Ce,en=Ce,tn=Ce,rn=Ce,nn=Ce,on=Pe,an=Pe,sn=Pe,un=Pe,cn=Pe,ln=Pe,fn=Le,hn=Be,pn=Be,dn=Pe,mn=Pe,yn=Pe,gn=Pe,vn=Le,bn=De,wn=Pe,xn=Pe,kn=Pe,Sn=Le,En=Le,On=Pe,jn=Pe,An=Pe,Fn=Le,Tn=Be,Nn=Pe,_n=Pe,Pn=Le,Dn=Pe,Rn=Pe,Bn=De,Ln=Pe,Cn=Le,In=Pe,zn=Pe,Un=Be,qn=Le,Mn=Le,Hn=Le,Jn=Re,Wn=Object.freeze({__proto__:null,af:Ie,ak:ze,am:Ue,an:qe,ar:function(e){var t=String(e).split("."),r=Number(t[0])==e&&t[0].slice(-2);return 0==e?"zero":1==e?"one":2==e?"two":r>=3&&r<=10?"few":r>=11&&r<=99?"many":"other"},ars:function(e){var t=String(e).split("."),r=Number(t[0])==e&&t[0].slice(-2);return 0==e?"zero":1==e?"one":2==e?"two":r>=3&&r<=10?"few":r>=11&&r<=99?"many":"other"},as:Me,asa:He,ast:Je,az:We,bal:Ge,be:function(e){var t=String(e).split("."),r=Number(t[0])==e,n=r&&t[0].slice(-1),i=r&&t[0].slice(-2);return 1==n&&11!=i?"one":n>=2&&n<=4&&(i<12||i>14)?"few":r&&0==n||n>=5&&n<=9||i>=11&&i<=14?"many":"other"},bem:$e,bez:Ke,bg:Ze,bho:Ve,bm:Xe,bn:Ye,bo:Qe,br:function(e){var t=String(e).split("."),r=Number(t[0])==e,n=r&&t[0].slice(-1),i=r&&t[0].slice(-2),o=r&&t[0].slice(-6);return 1==n&&11!=i&&71!=i&&91!=i?"one":2==n&&12!=i&&72!=i&&92!=i?"two":(3==n||4==n||9==n)&&(i<10||i>19)&&(i<70||i>79)&&(i<90||i>99)?"few":0!=e&&r&&0==o?"many":"other"},brx:et,bs:function(e){var t=String(e).split("."),r=t[0],n=t[1]||"",i=!t[1],o=r.slice(-1),a=r.slice(-2),s=n.slice(-1),u=n.slice(-2);return i&&1==o&&11!=a||1==s&&11!=u?"one":i&&o>=2&&o<=4&&(a<12||a>14)||s>=2&&s<=4&&(u<12||u>14)?"few":"other"},ca:tt,ce:rt,ceb:function(e){var t=String(e).split("."),r=t[0],n=t[1]||"",i=!t[1],o=r.slice(-1),a=n.slice(-1);return i&&(1==r||2==r||3==r)||i&&4!=o&&6!=o&&9!=o||!i&&4!=a&&6!=a&&9!=a?"one":"other"},cgg:nt,chr:it,ckb:ot,cs:function(e){var t=String(e).split("."),r=t[0],n=!t[1];return 1==e&&n?"one":r>=2&&r<=4&&n?"few":n?"other":"many"},cy:function(e){return 0==e?"zero":1==e?"one":2==e?"two":3==e?"few":6==e?"many":"other"},da:function(e){var t=String(e).split("."),r=t[0],n=Number(t[0])==e;return 1!=e&&(n||0!=r&&1!=r)?"other":"one"},de:at,doi:st,dsb:function(e){var t=String(e).split("."),r=t[0],n=t[1]||"",i=!t[1],o=r.slice(-2),a=n.slice(-2);return i&&1==o||1==a?"one":i&&2==o||2==a?"two":i&&(3==o||4==o)||3==a||4==a?"few":"other"},dv:ut,dz:ct,ee:lt,el:ft,en:ht,eo:pt,es:function(e){var t=String(e).split("."),r=t[0],n=!t[1],i=r.slice(-6);return 1==e?"one":0!=r&&0==i&&n?"many":"other"},et:dt,eu:mt,fa:yt,ff:function(e){return e>=0&&e<2?"one":"other"},fi:gt,fil:function(e){var t=String(e).split("."),r=t[0],n=t[1]||"",i=!t[1],o=r.slice(-1),a=n.slice(-1);return i&&(1==r||2==r||3==r)||i&&4!=o&&6!=o&&9!=o||!i&&4!=a&&6!=a&&9!=a?"one":"other"},fo:vt,fr:function(e){var t=String(e).split("."),r=t[0],n=!t[1],i=r.slice(-6);return e>=0&&e<2?"one":0!=r&&0==i&&n?"many":"other"},fur:bt,fy:wt,ga:function(e){var t=String(e).split("."),r=Number(t[0])==e;return 1==e?"one":2==e?"two":r&&e>=3&&e<=6?"few":r&&e>=7&&e<=10?"many":"other"},gd:function(e){var t=String(e).split("."),r=Number(t[0])==e;return 1==e||11==e?"one":2==e||12==e?"two":r&&e>=3&&e<=10||r&&e>=13&&e<=19?"few":"other"},gl:xt,gsw:kt,gu:St,guw:Et,gv:function(e){var t=String(e).split("."),r=t[0],n=!t[1],i=r.slice(-1),o=r.slice(-2);return n&&1==i?"one":n&&2==i?"two":!n||0!=o&&20!=o&&40!=o&&60!=o&&80!=o?n?"other":"many":"few"},ha:Ot,haw:jt,he:function(e){var t=String(e).split("."),r=t[0],n=!t[1],i=Number(t[0])==e,o=i&&t[0].slice(-1);return 1==e&&n?"one":2==r&&n?"two":n&&(e<0||e>10)&&i&&0==o?"many":"other"},hi:At,hnj:Ft,hr:function(e){var t=String(e).split("."),r=t[0],n=t[1]||"",i=!t[1],o=r.slice(-1),a=r.slice(-2),s=n.slice(-1),u=n.slice(-2);return i&&1==o&&11!=a||1==s&&11!=u?"one":i&&o>=2&&o<=4&&(a<12||a>14)||s>=2&&s<=4&&(u<12||u>14)?"few":"other"},hsb:function(e){var t=String(e).split("."),r=t[0],n=t[1]||"",i=!t[1],o=r.slice(-2),a=n.slice(-2);return i&&1==o||1==a?"one":i&&2==o||2==a?"two":i&&(3==o||4==o)||3==a||4==a?"few":"other"},hu:Tt,hy:function(e){return e>=0&&e<2?"one":"other"},ia:Nt,id:_t,ig:Pt,ii:Dt,io:Rt,is:function(e){var t=String(e).split("."),r=t[0],n=Number(t[0])==e,i=r.slice(-1),o=r.slice(-2);return n&&1==i&&11!=o||!n?"one":"other"},it:function(e){var t=String(e).split("."),r=t[0],n=!t[1],i=r.slice(-6);return 1==e&&n?"one":0!=r&&0==i&&n?"many":"other"},iu:Bt,ja:Lt,jbo:Ct,jgo:It,jmc:zt,jv:Ut,jw:qt,ka:Mt,kab:function(e){return e>=0&&e<2?"one":"other"},kaj:Ht,kcg:Jt,kde:Wt,kea:Gt,kk:$t,kkj:Kt,kl:Zt,km:Vt,kn:Xt,ko:Yt,ks:Qt,ksb:er,ksh:function(e){return 0==e?"zero":1==e?"one":"other"},ku:tr,kw:function(e){var t=String(e).split("."),r=Number(t[0])==e,n=r&&t[0].slice(-2),i=r&&t[0].slice(-3),o=r&&t[0].slice(-5),a=r&&t[0].slice(-6);return 0==e?"zero":1==e?"one":2==n||22==n||42==n||62==n||82==n||r&&0==i&&(o>=1e3&&o<=2e4||4e4==o||6e4==o||8e4==o)||0!=e&&1e5==a?"two":3==n||23==n||43==n||63==n||83==n?"few":1==e||1!=n&&21!=n&&41!=n&&61!=n&&81!=n?"other":"many"},ky:rr,lag:function(e){var t=String(e).split(".")[0];return 0==e?"zero":0!=t&&1!=t||0==e?"other":"one"},lb:nr,lg:ir,lij:or,lkt:ar,ln:sr,lo:ur,lt:function(e){var t=String(e).split("."),r=t[1]||"",n=Number(t[0])==e,i=n&&t[0].slice(-1),o=n&&t[0].slice(-2);return 1==i&&(o<11||o>19)?"one":i>=2&&i<=9&&(o<11||o>19)?"few":0!=r?"many":"other"},lv:function(e){var t=String(e).split("."),r=t[1]||"",n=r.length,i=Number(t[0])==e,o=i&&t[0].slice(-1),a=i&&t[0].slice(-2),s=r.slice(-2),u=r.slice(-1);return i&&0==o||a>=11&&a<=19||2==n&&s>=11&&s<=19?"zero":1==o&&11!=a||2==n&&1==u&&11!=s||2!=n&&1==u?"one":"other"},mas:cr,mg:lr,mgo:fr,mk:function(e){var t=String(e).split("."),r=t[0],n=t[1]||"",i=!t[1],o=r.slice(-1),a=r.slice(-2),s=n.slice(-1),u=n.slice(-2);return i&&1==o&&11!=a||1==s&&11!=u?"one":"other"},ml:hr,mn:pr,mo:function(e){var t=String(e).split("."),r=!t[1],n=Number(t[0])==e&&t[0].slice(-2);return 1==e&&r?"one":!r||0==e||n>=2&&n<=19?"few":"other"},mr:dr,ms:mr,mt:function(e){var t=String(e).split("."),r=Number(t[0])==e&&t[0].slice(-2);return 1==e?"one":0==e||r>=2&&r<=10?"few":r>=11&&r<=19?"many":"other"},my:yr,nah:gr,naq:vr,nb:br,nd:wr,ne:xr,nl:kr,nn:Sr,nnh:Er,no:Or,nqo:jr,nr:Ar,nso:Fr,ny:Tr,nyn:Nr,om:_r,or:Pr,os:Dr,osa:Rr,pa:Br,pap:Lr,pcm:Cr,pl:function(e){var t=String(e).split("."),r=t[0],n=!t[1],i=r.slice(-1),o=r.slice(-2);return 1==e&&n?"one":n&&i>=2&&i<=4&&(o<12||o>14)?"few":n&&1!=r&&(0==i||1==i)||n&&i>=5&&i<=9||n&&o>=12&&o<=14?"many":"other"},prg:function(e){var t=String(e).split("."),r=t[1]||"",n=r.length,i=Number(t[0])==e,o=i&&t[0].slice(-1),a=i&&t[0].slice(-2),s=r.slice(-2),u=r.slice(-1);return i&&0==o||a>=11&&a<=19||2==n&&s>=11&&s<=19?"zero":1==o&&11!=a||2==n&&1==u&&11!=s||2!=n&&1==u?"one":"other"},ps:Ir,pt:function(e){var t=String(e).split("."),r=t[0],n=!t[1],i=r.slice(-6);return 0==r||1==r?"one":0!=r&&0==i&&n?"many":"other"},pt_PT:function(e){var t=String(e).split("."),r=t[0],n=!t[1],i=r.slice(-6);return 1==e&&n?"one":0!=r&&0==i&&n?"many":"other"},rm:zr,ro:function(e){var t=String(e).split("."),r=!t[1],n=Number(t[0])==e&&t[0].slice(-2);return 1==e&&r?"one":!r||0==e||n>=2&&n<=19?"few":"other"},rof:Ur,ru:function(e){var t=String(e).split("."),r=t[0],n=!t[1],i=r.slice(-1),o=r.slice(-2);return n&&1==i&&11!=o?"one":n&&i>=2&&i<=4&&(o<12||o>14)?"few":n&&0==i||n&&i>=5&&i<=9||n&&o>=11&&o<=14?"many":"other"},rwk:qr,sah:Mr,saq:Hr,sat:Jr,sc:Wr,scn:Gr,sd:$r,sdh:Kr,se:Zr,seh:Vr,ses:Xr,sg:Yr,sh:function(e){var t=String(e).split("."),r=t[0],n=t[1]||"",i=!t[1],o=r.slice(-1),a=r.slice(-2),s=n.slice(-1),u=n.slice(-2);return i&&1==o&&11!=a||1==s&&11!=u?"one":i&&o>=2&&o<=4&&(a<12||a>14)||s>=2&&s<=4&&(u<12||u>14)?"few":"other"},shi:function(e){var t=String(e).split("."),r=Number(t[0])==e;return e>=0&&e<=1?"one":r&&e>=2&&e<=10?"few":"other"},si:function(e){var t=String(e).split("."),r=t[0],n=t[1]||"";return 0==e||1==e||0==r&&1==n?"one":"other"},sk:function(e){var t=String(e).split("."),r=t[0],n=!t[1];return 1==e&&n?"one":r>=2&&r<=4&&n?"few":n?"other":"many"},sl:function(e){var t=String(e).split("."),r=t[0],n=!t[1],i=r.slice(-2);return n&&1==i?"one":n&&2==i?"two":n&&(3==i||4==i)||!n?"few":"other"},sma:Qr,smi:en,smj:tn,smn:rn,sms:nn,sn:on,so:an,sq:sn,sr:function(e){var t=String(e).split("."),r=t[0],n=t[1]||"",i=!t[1],o=r.slice(-1),a=r.slice(-2),s=n.slice(-1),u=n.slice(-2);return i&&1==o&&11!=a||1==s&&11!=u?"one":i&&o>=2&&o<=4&&(a<12||a>14)||s>=2&&s<=4&&(u<12||u>14)?"few":"other"},ss:un,ssy:cn,st:ln,su:fn,sv:hn,sw:pn,syr:dn,ta:mn,te:yn,teo:gn,th:vn,ti:bn,tig:wn,tk:xn,tl:function(e){var t=String(e).split("."),r=t[0],n=t[1]||"",i=!t[1],o=r.slice(-1),a=n.slice(-1);return i&&(1==r||2==r||3==r)||i&&4!=o&&6!=o&&9!=o||!i&&4!=a&&6!=a&&9!=a?"one":"other"},tn:kn,to:Sn,tpi:En,tr:On,ts:jn,tzm:function(e){var t=String(e).split("."),r=Number(t[0])==e;return 0==e||1==e||r&&e>=11&&e<=99?"one":"other"},ug:An,uk:function(e){var t=String(e).split("."),r=t[0],n=!t[1],i=r.slice(-1),o=r.slice(-2);return n&&1==i&&11!=o?"one":n&&i>=2&&i<=4&&(o<12||o>14)?"few":n&&0==i||n&&i>=5&&i<=9||n&&o>=11&&o<=14?"many":"other"},und:Fn,ur:Tn,uz:Nn,ve:_n,vi:Pn,vo:Dn,vun:Rn,wa:Bn,wae:Ln,wo:Cn,xh:In,xog:zn,yi:Un,yo:qn,yue:Mn,zh:Hn,zu:Jn}),Gn="zero",$n="one",Kn="two",Zn="few",Vn="many",Xn="other",Yn={cardinal:[$n,Xn],ordinal:[Xn]},Qn={cardinal:[$n,Xn],ordinal:[$n,Xn]},ei={cardinal:[Xn],ordinal:[Xn]},ti={cardinal:[$n,Zn,Vn,Xn],ordinal:[Xn]},ri={cardinal:[$n,Kn,Xn],ordinal:[Xn]},ni=Yn,ii=Yn,oi=Yn,ai=Yn,si={cardinal:[Gn,$n,Kn,Zn,Vn,Xn],ordinal:[Xn]},ui={cardinal:[Gn,$n,Kn,Zn,Vn,Xn],ordinal:[Xn]},ci={cardinal:[$n,Xn],ordinal:[$n,Kn,Zn,Vn,Xn]},li=Yn,fi=Yn,hi={cardinal:[$n,Xn],ordinal:[$n,Zn,Vn,Xn]},pi=Qn,di={cardinal:[$n,Zn,Vn,Xn],ordinal:[Zn,Xn]},mi=Yn,yi=Yn,gi=Yn,vi=Yn,bi=ei,wi={cardinal:[$n,Xn],ordinal:[$n,Kn,Zn,Vn,Xn]},xi=ei,ki={cardinal:[$n,Kn,Zn,Vn,Xn],ordinal:[Xn]},Si=Yn,Ei={cardinal:[$n,Zn,Xn],ordinal:[Xn]},Oi={cardinal:[$n,Xn],ordinal:[$n,Kn,Zn,Xn]},ji=Yn,Ai=Yn,Fi=Yn,Ti=Yn,Ni=Yn,_i=ti,Pi={cardinal:[Gn,$n,Kn,Zn,Vn,Xn],ordinal:[Gn,$n,Kn,Zn,Vn,Xn]},Di=Yn,Ri=Yn,Bi=Yn,Li={cardinal:[$n,Kn,Zn,Xn],ordinal:[Xn]},Ci=Yn,Ii=ei,zi=Yn,Ui=Yn,qi={cardinal:[$n,Xn],ordinal:[$n,Kn,Zn,Xn]},Mi=Yn,Hi={cardinal:[$n,Vn,Xn],ordinal:[Xn]},Ji=Yn,Wi=Yn,Gi=Yn,$i=Yn,Ki=Yn,Zi=Qn,Vi=Yn,Xi={cardinal:[$n,Vn,Xn],ordinal:[$n,Xn]},Yi=Yn,Qi=Yn,eo={cardinal:[$n,Kn,Zn,Vn,Xn],ordinal:[$n,Xn]},to={cardinal:[$n,Kn,Zn,Xn],ordinal:[$n,Kn,Zn,Xn]},ro=Yn,no=Yn,io={cardinal:[$n,Xn],ordinal:[$n,Kn,Zn,Vn,Xn]},oo=Yn,ao={cardinal:[$n,Kn,Zn,Vn,Xn],ordinal:[Xn]},so=Yn,uo=Yn,co={cardinal:[$n,Kn,Vn,Xn],ordinal:[Xn]},lo={cardinal:[$n,Xn],ordinal:[$n,Kn,Zn,Vn,Xn]},fo=ei,ho={cardinal:[$n,Zn,Xn],ordinal:[Xn]},po={cardinal:[$n,Kn,Zn,Xn],ordinal:[Xn]},mo=Qn,yo=Qn,go=Yn,vo=ei,bo=ei,wo=ei,xo=Yn,ko=Yn,So={cardinal:[$n,Vn,Xn],ordinal:[Vn,Xn]},Eo=ri,Oo=ei,jo=ei,Ao=Yn,Fo=Yn,To=ei,No=ei,_o={cardinal:[$n,Xn],ordinal:[$n,Vn,Xn]},Po=Yn,Do=Yn,Ro=Yn,Bo=ei,Lo=ei,Co={cardinal:[$n,Xn],ordinal:[Vn,Xn]},Io=Yn,zo=Yn,Uo=ei,qo=Yn,Mo=ei,Ho=Yn,Jo=Yn,Wo={cardinal:[Gn,$n,Xn],ordinal:[Xn]},Go=Yn,$o={cardinal:[Gn,$n,Kn,Zn,Vn,Xn],ordinal:[$n,Vn,Xn]},Ko=Yn,Zo={cardinal:[Gn,$n,Xn],ordinal:[Xn]},Vo=Yn,Xo=Yn,Yo={cardinal:[$n,Xn],ordinal:[Vn,Xn]},Qo=ei,ea=Yn,ta={cardinal:[Xn],ordinal:[$n,Xn]},ra=ti,na={cardinal:[Gn,$n,Xn],ordinal:[Xn]},ia=Yn,oa=Yn,aa=Yn,sa={cardinal:[$n,Xn],ordinal:[$n,Kn,Vn,Xn]},ua=Yn,ca=Yn,la={cardinal:[$n,Zn,Xn],ordinal:[$n,Xn]},fa={cardinal:[$n,Xn],ordinal:[$n,Kn,Zn,Xn]},ha={cardinal:[Xn],ordinal:[$n,Xn]},pa=ti,da=ei,ma=Yn,ya=ri,ga=Yn,va=Yn,ba=Qn,wa=Yn,xa=Yn,ka=Yn,Sa=Yn,Ea=ei,Oa=Yn,ja=Yn,Aa=Yn,Fa=Yn,Ta=Yn,Na={cardinal:[$n,Xn],ordinal:[$n,Kn,Zn,Vn,Xn]},_a=Yn,Pa=ei,Da=Yn,Ra=Yn,Ba=Yn,La=ti,Ca={cardinal:[Gn,$n,Xn],ordinal:[Xn]},Ia=Yn,za={cardinal:[$n,Vn,Xn],ordinal:[Xn]},Ua={cardinal:[$n,Vn,Xn],ordinal:[Xn]},qa=Yn,Ma={cardinal:[$n,Zn,Xn],ordinal:[$n,Xn]},Ha=Yn,Ja=ti,Wa=Yn,Ga=ei,$a=Yn,Ka=ri,Za={cardinal:[$n,Xn],ordinal:[Vn,Xn]},Va={cardinal:[$n,Xn],ordinal:[Vn,Xn]},Xa=Yn,Ya=Yn,Qa=ri,es=Yn,ts=ei,rs=ei,ns={cardinal:[$n,Zn,Xn],ordinal:[Xn]},is={cardinal:[$n,Zn,Xn],ordinal:[Xn]},os=Yn,as=ti,ss={cardinal:[$n,Kn,Zn,Xn],ordinal:[Xn]},us=ri,cs=ri,ls=ri,fs=ri,hs=ri,ps=Yn,ds=Yn,ms={cardinal:[$n,Xn],ordinal:[$n,Vn,Xn]},ys={cardinal:[$n,Zn,Xn],ordinal:[Xn]},gs=Yn,vs=Yn,bs=Yn,ws=ei,xs=Qn,ks=Yn,Ss=Yn,Es=Yn,Os=Yn,js=Yn,As=ei,Fs=Yn,Ts=Yn,Ns={cardinal:[$n,Xn],ordinal:[Zn,Xn]},_s=Qn,Ps=Yn,Ds=ei,Rs=ei,Bs=Yn,Ls=Yn,Cs=Yn,Is=Yn,zs={cardinal:[$n,Zn,Vn,Xn],ordinal:[Zn,Xn]},Us=ei,qs=Yn,Ms=Yn,Hs=Yn,Js={cardinal:[Xn],ordinal:[$n,Xn]},Ws=Yn,Gs=Yn,$s=Yn,Ks=Yn,Zs=ei,Vs=Yn,Xs=Yn,Ys=Yn,Qs=ei,eu=ei,tu=ei,ru=Yn,nu=Object.freeze({__proto__:null,af:ni,ak:ii,am:oi,an:ai,ar:si,ars:ui,as:ci,asa:li,ast:fi,az:hi,bal:pi,be:di,bem:mi,bez:yi,bg:gi,bho:vi,bm:bi,bn:wi,bo:xi,br:ki,brx:Si,bs:Ei,ca:Oi,ce:ji,ceb:Ai,cgg:Fi,chr:Ti,ckb:Ni,cs:_i,cy:Pi,da:Di,de:Ri,doi:Bi,dsb:Li,dv:Ci,dz:Ii,ee:zi,el:Ui,en:qi,eo:Mi,es:Hi,et:Ji,eu:Wi,fa:Gi,ff:$i,fi:Ki,fil:Zi,fo:Vi,fr:Xi,fur:Yi,fy:Qi,ga:eo,gd:to,gl:ro,gsw:no,gu:io,guw:oo,gv:ao,ha:so,haw:uo,he:co,hi:lo,hnj:fo,hr:ho,hsb:po,hu:mo,hy:yo,ia:go,id:vo,ig:bo,ii:wo,io:xo,is:ko,it:So,iu:Eo,ja:Oo,jbo:jo,jgo:Ao,jmc:Fo,jv:To,jw:No,ka:_o,kab:Po,kaj:Do,kcg:Ro,kde:Bo,kea:Lo,kk:Co,kkj:Io,kl:zo,km:Uo,kn:qo,ko:Mo,ks:Ho,ksb:Jo,ksh:Wo,ku:Go,kw:$o,ky:Ko,lag:Zo,lb:Vo,lg:Xo,lij:Yo,lkt:Qo,ln:ea,lo:ta,lt:ra,lv:na,mas:ia,mg:oa,mgo:aa,mk:sa,ml:ua,mn:ca,mo:la,mr:fa,ms:ha,mt:pa,my:da,nah:ma,naq:ya,nb:ga,nd:va,ne:ba,nl:wa,nn:xa,nnh:ka,no:Sa,nqo:Ea,nr:Oa,nso:ja,ny:Aa,nyn:Fa,om:Ta,or:Na,os:_a,osa:Pa,pa:Da,pap:Ra,pcm:Ba,pl:La,prg:Ca,ps:Ia,pt:za,pt_PT:Ua,rm:qa,ro:Ma,rof:Ha,ru:Ja,rwk:Wa,sah:Ga,saq:$a,sat:Ka,sc:Za,scn:Va,sd:Xa,sdh:Ya,se:Qa,seh:es,ses:ts,sg:rs,sh:ns,shi:is,si:os,sk:as,sl:ss,sma:us,smi:cs,smj:ls,smn:fs,sms:hs,sn:ps,so:ds,sq:ms,sr:ys,ss:gs,ssy:vs,st:bs,su:ws,sv:xs,sw:ks,syr:Ss,ta:Es,te:Os,teo:js,th:As,ti:Fs,tig:Ts,tk:Ns,tl:_s,tn:Ps,to:Ds,tpi:Rs,tr:Bs,ts:Ls,tzm:Cs,ug:Is,uk:zs,und:Us,ur:qs,uz:Ms,ve:Hs,vi:Js,vo:Ws,vun:Gs,wa:$s,wae:Ks,wo:Zs,xh:Vs,xog:Xs,yi:Ys,yo:Qs,yue:eu,zh:tu,zu:ru}),iu=function(e,t){return t?"other":1==e?"one":"other"},ou=function(e,t){return t?"other":0==e||1==e?"one":"other"},au=function(e,t){return t?"other":e>=0&&e<=1?"one":"other"},su=function(e,t){var r=!String(e).split(".")[1];return t?"other":1==e&&r?"one":"other"},uu=function(e,t){return"other"},cu=function(e,t){return t?"other":1==e?"one":2==e?"two":"other"},lu=iu,fu=ou,hu=au,pu=iu,du=iu,mu=su,yu=iu,gu=iu,vu=iu,bu=ou,wu=uu,xu=uu,ku=iu,Su=iu,Eu=iu,Ou=iu,ju=iu,Au=su,Fu=au,Tu=iu,Nu=uu,_u=iu,Pu=iu,Du=iu,Ru=su,Bu=iu,Lu=au,Cu=su,Iu=iu,zu=iu,Uu=su,qu=su,Mu=iu,Hu=ou,Ju=iu,Wu=iu,Gu=uu,$u=su,Ku=uu,Zu=uu,Vu=uu,Xu=su,Yu=cu,Qu=uu,ec=uu,tc=iu,rc=iu,nc=uu,ic=uu,oc=iu,ac=iu,sc=uu,uc=uu,cc=iu,lc=iu,fc=uu,hc=au,pc=uu,dc=iu,mc=iu,yc=iu,gc=iu,vc=iu,bc=iu,wc=uu,xc=ou,kc=iu,Sc=ou,Ec=iu,Oc=iu,jc=iu,Ac=uu,Fc=iu,Tc=cu,Nc=iu,_c=iu,Pc=su,Dc=iu,Rc=iu,Bc=iu,Lc=uu,Cc=iu,Ic=ou,zc=iu,Uc=iu,qc=iu,Mc=iu,Hc=uu,Jc=ou,Wc=iu,Gc=au,$c=iu,Kc=iu,Zc=iu,Vc=iu,Xc=uu,Yc=iu,Qc=cu,el=iu,tl=iu,rl=cu,nl=iu,il=uu,ol=uu,al=cu,sl=cu,ul=cu,cl=cu,ll=cu,fl=iu,hl=iu,pl=iu,dl=iu,ml=iu,yl=uu,gl=su,vl=iu,bl=iu,wl=iu,xl=iu,kl=uu,Sl=ou,El=iu,Ol=iu,jl=uu,Al=uu,Fl=iu,Tl=iu,Nl=iu,_l=uu,Pl=su,Dl=iu,Rl=iu,Bl=iu,Ll=iu,Cl=ou,Il=iu,zl=uu,Ul=iu,ql=iu,Ml=su,Hl=uu,Jl=uu,Wl=uu,Gl=au,$l=Object.freeze({__proto__:null,af:lu,ak:fu,am:hu,an:pu,ar:function(e,t){var r=String(e).split("."),n=Number(r[0])==e&&r[0].slice(-2);return t?"other":0==e?"zero":1==e?"one":2==e?"two":n>=3&&n<=10?"few":n>=11&&n<=99?"many":"other"},ars:function(e,t){var r=String(e).split("."),n=Number(r[0])==e&&r[0].slice(-2);return t?"other":0==e?"zero":1==e?"one":2==e?"two":n>=3&&n<=10?"few":n>=11&&n<=99?"many":"other"},as:function(e,t){return t?1==e||5==e||7==e||8==e||9==e||10==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other"},asa:du,ast:mu,az:function(e,t){var r=String(e).split(".")[0],n=r.slice(-1),i=r.slice(-2),o=r.slice(-3);return t?1==n||2==n||5==n||7==n||8==n||20==i||50==i||70==i||80==i?"one":3==n||4==n||100==o||200==o||300==o||400==o||500==o||600==o||700==o||800==o||900==o?"few":0==r||6==n||40==i||60==i||90==i?"many":"other":1==e?"one":"other"},bal:function(e,t){return 1==e?"one":"other"},be:function(e,t){var r=String(e).split("."),n=Number(r[0])==e,i=n&&r[0].slice(-1),o=n&&r[0].slice(-2);return t?2!=i&&3!=i||12==o||13==o?"other":"few":1==i&&11!=o?"one":i>=2&&i<=4&&(o<12||o>14)?"few":n&&0==i||i>=5&&i<=9||o>=11&&o<=14?"many":"other"},bem:yu,bez:gu,bg:vu,bho:bu,bm:wu,bn:function(e,t){return t?1==e||5==e||7==e||8==e||9==e||10==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other"},bo:xu,br:function(e,t){var r=String(e).split("."),n=Number(r[0])==e,i=n&&r[0].slice(-1),o=n&&r[0].slice(-2),a=n&&r[0].slice(-6);return t?"other":1==i&&11!=o&&71!=o&&91!=o?"one":2==i&&12!=o&&72!=o&&92!=o?"two":(3==i||4==i||9==i)&&(o<10||o>19)&&(o<70||o>79)&&(o<90||o>99)?"few":0!=e&&n&&0==a?"many":"other"},brx:ku,bs:function(e,t){var r=String(e).split("."),n=r[0],i=r[1]||"",o=!r[1],a=n.slice(-1),s=n.slice(-2),u=i.slice(-1),c=i.slice(-2);return t?"other":o&&1==a&&11!=s||1==u&&11!=c?"one":o&&a>=2&&a<=4&&(s<12||s>14)||u>=2&&u<=4&&(c<12||c>14)?"few":"other"},ca:function(e,t){var r=!String(e).split(".")[1];return t?1==e||3==e?"one":2==e?"two":4==e?"few":"other":1==e&&r?"one":"other"},ce:Su,ceb:function(e,t){var r=String(e).split("."),n=r[0],i=r[1]||"",o=!r[1],a=n.slice(-1),s=i.slice(-1);return t?"other":o&&(1==n||2==n||3==n)||o&&4!=a&&6!=a&&9!=a||!o&&4!=s&&6!=s&&9!=s?"one":"other"},cgg:Eu,chr:Ou,ckb:ju,cs:function(e,t){var r=String(e).split("."),n=r[0],i=!r[1];return t?"other":1==e&&i?"one":n>=2&&n<=4&&i?"few":i?"other":"many"},cy:function(e,t){return t?0==e||7==e||8==e||9==e?"zero":1==e?"one":2==e?"two":3==e||4==e?"few":5==e||6==e?"many":"other":0==e?"zero":1==e?"one":2==e?"two":3==e?"few":6==e?"many":"other"},da:function(e,t){var r=String(e).split("."),n=r[0],i=Number(r[0])==e;return t||1!=e&&(i||0!=n&&1!=n)?"other":"one"},de:Au,doi:Fu,dsb:function(e,t){var r=String(e).split("."),n=r[0],i=r[1]||"",o=!r[1],a=n.slice(-2),s=i.slice(-2);return t?"other":o&&1==a||1==s?"one":o&&2==a||2==s?"two":o&&(3==a||4==a)||3==s||4==s?"few":"other"},dv:Tu,dz:Nu,ee:_u,el:Pu,en:function(e,t){var r=String(e).split("."),n=!r[1],i=Number(r[0])==e,o=i&&r[0].slice(-1),a=i&&r[0].slice(-2);return t?1==o&&11!=a?"one":2==o&&12!=a?"two":3==o&&13!=a?"few":"other":1==e&&n?"one":"other"},eo:Du,es:function(e,t){var r=String(e).split("."),n=r[0],i=!r[1],o=n.slice(-6);return t?"other":1==e?"one":0!=n&&0==o&&i?"many":"other"},et:Ru,eu:Bu,fa:Lu,ff:function(e,t){return t?"other":e>=0&&e<2?"one":"other"},fi:Cu,fil:function(e,t){var r=String(e).split("."),n=r[0],i=r[1]||"",o=!r[1],a=n.slice(-1),s=i.slice(-1);return t?1==e?"one":"other":o&&(1==n||2==n||3==n)||o&&4!=a&&6!=a&&9!=a||!o&&4!=s&&6!=s&&9!=s?"one":"other"},fo:Iu,fr:function(e,t){var r=String(e).split("."),n=r[0],i=!r[1],o=n.slice(-6);return t?1==e?"one":"other":e>=0&&e<2?"one":0!=n&&0==o&&i?"many":"other"},fur:zu,fy:Uu,ga:function(e,t){var r=String(e).split("."),n=Number(r[0])==e;return t?1==e?"one":"other":1==e?"one":2==e?"two":n&&e>=3&&e<=6?"few":n&&e>=7&&e<=10?"many":"other"},gd:function(e,t){var r=String(e).split("."),n=Number(r[0])==e;return t?1==e||11==e?"one":2==e||12==e?"two":3==e||13==e?"few":"other":1==e||11==e?"one":2==e||12==e?"two":n&&e>=3&&e<=10||n&&e>=13&&e<=19?"few":"other"},gl:qu,gsw:Mu,gu:function(e,t){return t?1==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other"},guw:Hu,gv:function(e,t){var r=String(e).split("."),n=r[0],i=!r[1],o=n.slice(-1),a=n.slice(-2);return t?"other":i&&1==o?"one":i&&2==o?"two":!i||0!=a&&20!=a&&40!=a&&60!=a&&80!=a?i?"other":"many":"few"},ha:Ju,haw:Wu,he:function(e,t){var r=String(e).split("."),n=r[0],i=!r[1],o=Number(r[0])==e,a=o&&r[0].slice(-1);return t?"other":1==e&&i?"one":2==n&&i?"two":i&&(e<0||e>10)&&o&&0==a?"many":"other"},hi:function(e,t){return t?1==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other"},hnj:Gu,hr:function(e,t){var r=String(e).split("."),n=r[0],i=r[1]||"",o=!r[1],a=n.slice(-1),s=n.slice(-2),u=i.slice(-1),c=i.slice(-2);return t?"other":o&&1==a&&11!=s||1==u&&11!=c?"one":o&&a>=2&&a<=4&&(s<12||s>14)||u>=2&&u<=4&&(c<12||c>14)?"few":"other"},hsb:function(e,t){var r=String(e).split("."),n=r[0],i=r[1]||"",o=!r[1],a=n.slice(-2),s=i.slice(-2);return t?"other":o&&1==a||1==s?"one":o&&2==a||2==s?"two":o&&(3==a||4==a)||3==s||4==s?"few":"other"},hu:function(e,t){return t?1==e||5==e?"one":"other":1==e?"one":"other"},hy:function(e,t){return t?1==e?"one":"other":e>=0&&e<2?"one":"other"},ia:$u,id:Ku,ig:Zu,ii:Vu,io:Xu,is:function(e,t){var r=String(e).split("."),n=r[0],i=Number(r[0])==e,o=n.slice(-1),a=n.slice(-2);return t?"other":i&&1==o&&11!=a||!i?"one":"other"},it:function(e,t){var r=String(e).split("."),n=r[0],i=!r[1],o=n.slice(-6);return t?11==e||8==e||80==e||800==e?"many":"other":1==e&&i?"one":0!=n&&0==o&&i?"many":"other"},iu:Yu,ja:Qu,jbo:ec,jgo:tc,jmc:rc,jv:nc,jw:ic,ka:function(e,t){var r=String(e).split(".")[0],n=r.slice(-2);return t?1==r?"one":0==r||n>=2&&n<=20||40==n||60==n||80==n?"many":"other":1==e?"one":"other"},kab:function(e,t){return t?"other":e>=0&&e<2?"one":"other"},kaj:oc,kcg:ac,kde:sc,kea:uc,kk:function(e,t){var r=String(e).split("."),n=Number(r[0])==e,i=n&&r[0].slice(-1);return t?6==i||9==i||n&&0==i&&0!=e?"many":"other":1==e?"one":"other"},kkj:cc,kl:lc,km:fc,kn:hc,ko:pc,ks:dc,ksb:mc,ksh:function(e,t){return t?"other":0==e?"zero":1==e?"one":"other"},ku:yc,kw:function(e,t){var r=String(e).split("."),n=Number(r[0])==e,i=n&&r[0].slice(-2),o=n&&r[0].slice(-3),a=n&&r[0].slice(-5),s=n&&r[0].slice(-6);return t?n&&e>=1&&e<=4||i>=1&&i<=4||i>=21&&i<=24||i>=41&&i<=44||i>=61&&i<=64||i>=81&&i<=84?"one":5==e||5==i?"many":"other":0==e?"zero":1==e?"one":2==i||22==i||42==i||62==i||82==i||n&&0==o&&(a>=1e3&&a<=2e4||4e4==a||6e4==a||8e4==a)||0!=e&&1e5==s?"two":3==i||23==i||43==i||63==i||83==i?"few":1==e||1!=i&&21!=i&&41!=i&&61!=i&&81!=i?"other":"many"},ky:gc,lag:function(e,t){var r=String(e).split(".")[0];return t?"other":0==e?"zero":0!=r&&1!=r||0==e?"other":"one"},lb:vc,lg:bc,lij:function(e,t){var r=String(e).split("."),n=!r[1],i=Number(r[0])==e;return t?11==e||8==e||i&&e>=80&&e<=89||i&&e>=800&&e<=899?"many":"other":1==e&&n?"one":"other"},lkt:wc,ln:xc,lo:function(e,t){return t&&1==e?"one":"other"},lt:function(e,t){var r=String(e).split("."),n=r[1]||"",i=Number(r[0])==e,o=i&&r[0].slice(-1),a=i&&r[0].slice(-2);return t?"other":1==o&&(a<11||a>19)?"one":o>=2&&o<=9&&(a<11||a>19)?"few":0!=n?"many":"other"},lv:function(e,t){var r=String(e).split("."),n=r[1]||"",i=n.length,o=Number(r[0])==e,a=o&&r[0].slice(-1),s=o&&r[0].slice(-2),u=n.slice(-2),c=n.slice(-1);return t?"other":o&&0==a||s>=11&&s<=19||2==i&&u>=11&&u<=19?"zero":1==a&&11!=s||2==i&&1==c&&11!=u||2!=i&&1==c?"one":"other"},mas:kc,mg:Sc,mgo:Ec,mk:function(e,t){var r=String(e).split("."),n=r[0],i=r[1]||"",o=!r[1],a=n.slice(-1),s=n.slice(-2),u=i.slice(-1),c=i.slice(-2);return t?1==a&&11!=s?"one":2==a&&12!=s?"two":7!=a&&8!=a||17==s||18==s?"other":"many":o&&1==a&&11!=s||1==u&&11!=c?"one":"other"},ml:Oc,mn:jc,mo:function(e,t){var r=String(e).split("."),n=!r[1],i=Number(r[0])==e&&r[0].slice(-2);return t?1==e?"one":"other":1==e&&n?"one":!n||0==e||i>=2&&i<=19?"few":"other"},mr:function(e,t){return t?1==e?"one":2==e||3==e?"two":4==e?"few":"other":1==e?"one":"other"},ms:function(e,t){return t&&1==e?"one":"other"},mt:function(e,t){var r=String(e).split("."),n=Number(r[0])==e&&r[0].slice(-2);return t?"other":1==e?"one":0==e||n>=2&&n<=10?"few":n>=11&&n<=19?"many":"other"},my:Ac,nah:Fc,naq:Tc,nb:Nc,nd:_c,ne:function(e,t){var r=String(e).split("."),n=Number(r[0])==e;return t?n&&e>=1&&e<=4?"one":"other":1==e?"one":"other"},nl:Pc,nn:Dc,nnh:Rc,no:Bc,nqo:Lc,nr:Cc,nso:Ic,ny:zc,nyn:Uc,om:qc,or:function(e,t){var r=String(e).split("."),n=Number(r[0])==e;return t?1==e||5==e||n&&e>=7&&e<=9?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":1==e?"one":"other"},os:Mc,osa:Hc,pa:Jc,pap:Wc,pcm:Gc,pl:function(e,t){var r=String(e).split("."),n=r[0],i=!r[1],o=n.slice(-1),a=n.slice(-2);return t?"other":1==e&&i?"one":i&&o>=2&&o<=4&&(a<12||a>14)?"few":i&&1!=n&&(0==o||1==o)||i&&o>=5&&o<=9||i&&a>=12&&a<=14?"many":"other"},prg:function(e,t){var r=String(e).split("."),n=r[1]||"",i=n.length,o=Number(r[0])==e,a=o&&r[0].slice(-1),s=o&&r[0].slice(-2),u=n.slice(-2),c=n.slice(-1);return t?"other":o&&0==a||s>=11&&s<=19||2==i&&u>=11&&u<=19?"zero":1==a&&11!=s||2==i&&1==c&&11!=u||2!=i&&1==c?"one":"other"},ps:$c,pt:function(e,t){var r=String(e).split("."),n=r[0],i=!r[1],o=n.slice(-6);return t?"other":0==n||1==n?"one":0!=n&&0==o&&i?"many":"other"},pt_PT:function(e,t){var r=String(e).split("."),n=r[0],i=!r[1],o=n.slice(-6);return t?"other":1==e&&i?"one":0!=n&&0==o&&i?"many":"other"},rm:Kc,ro:function(e,t){var r=String(e).split("."),n=!r[1],i=Number(r[0])==e&&r[0].slice(-2);return t?1==e?"one":"other":1==e&&n?"one":!n||0==e||i>=2&&i<=19?"few":"other"},rof:Zc,ru:function(e,t){var r=String(e).split("."),n=r[0],i=!r[1],o=n.slice(-1),a=n.slice(-2);return t?"other":i&&1==o&&11!=a?"one":i&&o>=2&&o<=4&&(a<12||a>14)?"few":i&&0==o||i&&o>=5&&o<=9||i&&a>=11&&a<=14?"many":"other"},rwk:Vc,sah:Xc,saq:Yc,sat:Qc,sc:function(e,t){var r=!String(e).split(".")[1];return t?11==e||8==e||80==e||800==e?"many":"other":1==e&&r?"one":"other"},scn:function(e,t){var r=!String(e).split(".")[1];return t?11==e||8==e||80==e||800==e?"many":"other":1==e&&r?"one":"other"},sd:el,sdh:tl,se:rl,seh:nl,ses:il,sg:ol,sh:function(e,t){var r=String(e).split("."),n=r[0],i=r[1]||"",o=!r[1],a=n.slice(-1),s=n.slice(-2),u=i.slice(-1),c=i.slice(-2);return t?"other":o&&1==a&&11!=s||1==u&&11!=c?"one":o&&a>=2&&a<=4&&(s<12||s>14)||u>=2&&u<=4&&(c<12||c>14)?"few":"other"},shi:function(e,t){var r=String(e).split("."),n=Number(r[0])==e;return t?"other":e>=0&&e<=1?"one":n&&e>=2&&e<=10?"few":"other"},si:function(e,t){var r=String(e).split("."),n=r[0],i=r[1]||"";return t?"other":0==e||1==e||0==n&&1==i?"one":"other"},sk:function(e,t){var r=String(e).split("."),n=r[0],i=!r[1];return t?"other":1==e&&i?"one":n>=2&&n<=4&&i?"few":i?"other":"many"},sl:function(e,t){var r=String(e).split("."),n=r[0],i=!r[1],o=n.slice(-2);return t?"other":i&&1==o?"one":i&&2==o?"two":i&&(3==o||4==o)||!i?"few":"other"},sma:al,smi:sl,smj:ul,smn:cl,sms:ll,sn:fl,so:hl,sq:function(e,t){var r=String(e).split("."),n=Number(r[0])==e,i=n&&r[0].slice(-1),o=n&&r[0].slice(-2);return t?1==e?"one":4==i&&14!=o?"many":"other":1==e?"one":"other"},sr:function(e,t){var r=String(e).split("."),n=r[0],i=r[1]||"",o=!r[1],a=n.slice(-1),s=n.slice(-2),u=i.slice(-1),c=i.slice(-2);return t?"other":o&&1==a&&11!=s||1==u&&11!=c?"one":o&&a>=2&&a<=4&&(s<12||s>14)||u>=2&&u<=4&&(c<12||c>14)?"few":"other"},ss:pl,ssy:dl,st:ml,su:yl,sv:function(e,t){var r=String(e).split("."),n=!r[1],i=Number(r[0])==e,o=i&&r[0].slice(-1),a=i&&r[0].slice(-2);return t?1!=o&&2!=o||11==a||12==a?"other":"one":1==e&&n?"one":"other"},sw:gl,syr:vl,ta:bl,te:wl,teo:xl,th:kl,ti:Sl,tig:El,tk:function(e,t){var r=String(e).split("."),n=Number(r[0])==e&&r[0].slice(-1);return t?6==n||9==n||10==e?"few":"other":1==e?"one":"other"},tl:function(e,t){var r=String(e).split("."),n=r[0],i=r[1]||"",o=!r[1],a=n.slice(-1),s=i.slice(-1);return t?1==e?"one":"other":o&&(1==n||2==n||3==n)||o&&4!=a&&6!=a&&9!=a||!o&&4!=s&&6!=s&&9!=s?"one":"other"},tn:Ol,to:jl,tpi:Al,tr:Fl,ts:Tl,tzm:function(e,t){var r=String(e).split("."),n=Number(r[0])==e;return t?"other":0==e||1==e||n&&e>=11&&e<=99?"one":"other"},ug:Nl,uk:function(e,t){var r=String(e).split("."),n=r[0],i=!r[1],o=Number(r[0])==e,a=o&&r[0].slice(-1),s=o&&r[0].slice(-2),u=n.slice(-1),c=n.slice(-2);return t?3==a&&13!=s?"few":"other":i&&1==u&&11!=c?"one":i&&u>=2&&u<=4&&(c<12||c>14)?"few":i&&0==u||i&&u>=5&&u<=9||i&&c>=11&&c<=14?"many":"other"},und:_l,ur:Pl,uz:Dl,ve:Rl,vi:function(e,t){return t&&1==e?"one":"other"},vo:Bl,vun:Ll,wa:Cl,wae:Il,wo:zl,xh:Ul,xog:ql,yi:Ml,yo:Hl,yue:Jl,zh:Wl,zu:Gl});function Kl(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 Zl(e){if("function"==typeof e){var t=Kl(e.name);return{isDefault:!1,id:je(t),lc:t,locale:e.name,getPlural:e,cardinals:e.cardinals||[],ordinals:e.ordinals||[]}}var r=Kl(e),n=je(r);return function(e){return e in $l}(n)?{isDefault:!0,id:n,lc:r,locale:e,getCardinal:Wn[n],getPlural:$l[n],cardinals:nu[n].cardinal,ordinals:nu[n].ordinal}:null}function Vl(e){return je(Kl(e))in $l}return function(){function e(t,r){if(this.plurals=[],this.options=Object.assign({biDiSupport:!1,currency:"USD",customFormatters:{},requireAllArguments:!1,returnType:"string",strict:r&&r.strictNumberSign||!1},r),"*"===t?this.plurals=(i=e.defaultLocale,(o=Object.keys($l).filter((function(e){return e!==i}))).unshift(i),o.map(Zl)):Array.isArray(t)?this.plurals=t.map(Zl).filter(Boolean):t&&(n=Zl(t))&&(this.plurals=[n]),0===this.plurals.length){var n=Zl(e.defaultLocale);this.plurals=[n]}var i,o}return e.escape=function(e,t){var r=t?/[#{}]/g:/[{}]/g;return String(e).replace(r,"'$&'")},e.supportedLocalesOf=function(e){return(Array.isArray(e)?e:[e]).filter(Vl)},e.prototype.resolvedOptions=function(){return v(v({},this.options),{locale:this.plurals[0].locale,plurals:this.plurals})},e.prototype.compile=function(e){var t,r,n=new Ne(this.options),i="return "+n.compile(e,this.plurals[0]),o=[],a=[];try{for(var s=b(Object.entries(n.runtime)),u=s.next();!u.done;u=s.next()){var c=w(u.value,2),l=c[0],f=c[1];o.push(l),a.push(f)}}catch(e){t={error:e}}finally{try{u&&!u.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}return(new(Function.bind.apply(Function,x(x([void 0],w(o),!1),[i],!1)))).apply(void 0,x([],w(a),!1))},e.defaultLocale="en",e}()}()},669:function(e,t,r){e.exports=r(609)},448:function(e,t,r){"use strict";var n=r(867),i=r(26),o=r(372),a=r(327),s=r(97),u=r(109),c=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,y=e.headers,g=e.responseType;function v(){e.cancelToken&&e.cancelToken.unsubscribe(d),e.signal&&e.signal.removeEventListener("abort",d)}n.isFormData(m)&&n.isStandardBrowserEnv()&&delete y["Content-Type"];var b=new XMLHttpRequest;if(e.auth){var w=e.auth.username||"",x=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";y.Authorization="Basic "+btoa(w+":"+x)}var k=s(e.baseURL,e.url);function S(){if(b){var n="getAllResponseHeaders"in b?u(b.getAllResponseHeaders()):null,o={data:g&&"text"!==g&&"json"!==g?b.response:b.responseText,status:b.status,statusText:b.statusText,headers:n,config:e,request:b};i((function(e){t(e),v()}),(function(e){r(e),v()}),o),b=null}}if(b.open(e.method.toUpperCase(),a(k,e.params,e.paramsSerializer),!0),b.timeout=e.timeout,"onloadend"in b?b.onloadend=S:b.onreadystatechange=function(){b&&4===b.readyState&&(0!==b.status||b.responseURL&&0===b.responseURL.indexOf("file:"))&&setTimeout(S)},b.onabort=function(){b&&(r(new f("Request aborted",f.ECONNABORTED,e,b)),b=null)},b.onerror=function(){r(new f("Network Error",f.ERR_NETWORK,e,b,b)),b=null},b.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,b)),b=null},n.isStandardBrowserEnv()){var E=(e.withCredentials||c(k))&&e.xsrfCookieName?o.read(e.xsrfCookieName):void 0;E&&(y[e.xsrfHeaderName]=E)}"setRequestHeader"in b&&n.forEach(y,(function(e,t){void 0===m&&"content-type"===t.toLowerCase()?delete y[t]:b.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(b.withCredentials=!!e.withCredentials),g&&"json"!==g&&(b.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&b.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&b.upload&&b.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(d=function(e){b&&(r(!e||e&&e.type?new h:e),b.abort(),b=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)):b.send(m)}))}},609:function(e,t,r){"use strict";var n=r(867),i=r(849),o=r(321),a=r(185),s=function e(t){var r=new o(t),s=i(o.prototype.request,r);return n.extend(s,o.prototype,r),n.extend(s,r),s.create=function(r){return e(a(t,r))},s}(r(546));s.Axios=o,s.CanceledError=r(644),s.CancelToken=r(972),s.isCancel=r(502),s.VERSION=r(288).version,s.toFormData=r(675),s.AxiosError=r(648),s.Cancel=s.CanceledError,s.all=function(e){return Promise.all(e)},s.spread=r(713),s.isAxiosError=r(268),e.exports=s,e.exports.default=s},972:function(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:function(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:function(e){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},321:function(e,t,r){"use strict";var n=r(867),i=r(327),o=r(782),a=r(572),s=r(185),u=r(97),c=r(875),l=c.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=s(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&&c.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,u=[];if(this.interceptors.response.forEach((function(e){u.push(e.fulfilled,e.rejected)})),!i){var f=[a,void 0];for(Array.prototype.unshift.apply(f,n),f=f.concat(u),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=a(h)}catch(e){return Promise.reject(e)}for(;u.length;)o=o.then(u.shift(),u.shift());return o},f.prototype.getUri=function(e){e=s(this.defaults,e);var t=u(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(s(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(s(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:function(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,a={};["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){a[e]={value:e}})),Object.defineProperties(i,a),Object.defineProperty(o,"isAxiosError",{value:!0}),i.from=function(e,t,r,a,s,u){var c=Object.create(o);return n.toFlatObject(e,c,(function(e){return e!==Error.prototype})),i.call(c,e.message,t,r,a,s),c.name=e.name,u&&Object.assign(c,u),c},e.exports=i},782:function(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:function(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:function(e,t,r){"use strict";var n=r(867),i=r(527),o=r(502),a=r(546),s=r(644);function u(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s}e.exports=function(e){return u(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||a.adapter)(e).then((function(t){return u(e),t.data=i.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return o(t)||(u(e),t&&t.response&&(t.response.data=i.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},185:function(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 a(e){if(!n.isUndefined(t[e]))return i(void 0,t[e])}function s(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:i(void 0,e[r]):i(void 0,t[r])}function u(r){return r in t?i(e[r],t[r]):r in e?i(void 0,e[r]):void 0}var c={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials: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:u};return n.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=c[e]||o,i=t(e);n.isUndefined(i)&&t!==u||(r[e]=i)})),r}},26:function(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:function(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:function(e,t,r){"use strict";var n=r(867),i=r(16),o=r(648),a=r(874),s=r(675),u={"Content-Type":"application/x-www-form-urlencoded"};function c(e,t){!n.isUndefined(e)&&n.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var l,f={transitional:a,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 c(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();var r,o=n.isObject(e),a=t&&t["Content-Type"];if((r=n.isFileList(e))||o&&"multipart/form-data"===a){var u=this.env&&this.env.FormData;return s(r?{"files[]":e}:e,u&&new u)}return o||"application/json"===a?(c(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,a=!r&&"json"===this.responseType;if(a||i&&n.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(a){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(u)})),e.exports=f},874:function(e){"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},288:function(e){e.exports={version:"0.27.2"}},849:function(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:function(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 a=[];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)),a.push(i(t)+"="+i(e))})))})),o=a.join("&")}if(o){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},303:function(e){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},372:function(e,t,r){"use strict";var n=r(867);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,i,o,a){var s=[];s.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),n.isString(i)&&s.push("path="+i),n.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.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:function(e){"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},268:function(e,t,r){"use strict";var n=r(867);e.exports=function(e){return n.isObject(e)&&!0===e.isAxiosError}},985:function(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:function(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:function(e){e.exports=null},109:function(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,a={};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(a[t]&&i.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([r]):a[t]?a[t]+", "+r:r}})),a):a}},205:function(e){"use strict";e.exports=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}},713:function(e){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},675:function(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,a){if(n.isPlainObject(o)||n.isArray(o)){if(-1!==r.indexOf(o))throw Error("Circular reference detected in "+a);r.push(o),n.forEach(o,(function(r,o){if(!n.isUndefined(r)){var u,c=a?a+"."+o:o;if(r&&!a&&"object"==s(r))if(n.endsWith(o,"{}"))r=JSON.stringify(r);else if(n.endsWith(o,"[]")&&(u=n.toArray(r)))return void u.forEach((function(e){!n.isUndefined(e)&&t.append(c,i(e))}));e(r,c)}})),r.pop()}else t.append(a,i(o))}(e),t}},875:function(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 s(r)===e||"a"+(t<1?"n ":" ")+e}}));var a={};o.transitional=function(e,t,r){function o(e,t){return"[Axios v"+n+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return function(r,n,s){if(!1===e)throw new i(o(n," has been removed"+(t?" in "+t:"")),i.ERR_DEPRECATED);return t&&!a[n]&&(a[n]=!0,console.warn(o(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,n,s)}},e.exports={assertOptions:function(e,t,r){if("object"!=s(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 a=n[o],u=t[a];if(u){var c=e[a],l=void 0===c||u(c,a,e);if(!0!==l)throw new i("option "+a+" must be "+l,i.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new i("Unknown option "+a,i.ERR_BAD_OPTION)}},validators:o}},867:function(e,t,r){"use strict";var n,i=r(849),o=Object.prototype.toString,a=(n=Object.create(null),function(e){var t=o.call(e);return n[t]||(n[t]=t.slice(8,-1).toLowerCase())});function u(e){return e=e.toLowerCase(),function(t){return a(t)===e}}function c(e){return Array.isArray(e)}function l(e){return void 0===e}var f=u("ArrayBuffer");function h(e){return null!==e&&"object"==s(e)}function p(e){if("object"!==a(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}var d=u("Date"),m=u("File"),y=u("Blob"),g=u("FileList");function v(e){return"[object Function]"===o.call(e)}var b=u("URLSearchParams");function w(e,t){if(null!=e)if("object"!=s(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 x,k=(x="undefined"!=typeof Uint8Array&&Object.getPrototypeOf(Uint8Array),function(e){return x&&e instanceof x});e.exports={isArray:c,isArrayBuffer:f,isBuffer:function(e){return null!==e&&!l(e)&&null!==e.constructor&&!l(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||v(e.toString)&&e.toString()===t)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&f(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:h,isPlainObject:p,isUndefined:l,isDate:d,isFile:m,isBlob:y,isFunction:v,isStream:function(e){return h(e)&&v(e.pipe)},isURLSearchParams:b,isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:w,merge:function e(){var t={};function r(r,n){p(t[n])&&p(r)?t[n]=e(t[n],r):p(r)?t[n]=e({},r):c(r)?t[n]=r.slice():t[n]=r}for(var n=0,i=arguments.length;n<i;n++)w(arguments[n],r);return t},extend:function(e,t,r){return w(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,a={};t=t||{};do{for(i=(n=Object.getOwnPropertyNames(e)).length;i-- >0;)a[o=n[i]]||(t[o]=e[o],a[o]=!0);e=Object.getPrototypeOf(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:a,kindOfTest:u,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(l(t))return null;for(var r=new Array(t);t-- >0;)r[t]=e[t];return r},isTypedArray:k,isFileList:g}},487:function(e){var t={utf8:{stringToBytes:function(e){return t.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(t.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],r=0;r<e.length;r++)t.push(255&e.charCodeAt(r));return t},bytesToString:function(e){for(var t=[],r=0;r<e.length;r++)t.push(String.fromCharCode(e[r]));return t.join("")}}};e.exports=t},12:function(e){var t,r;t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&r.rotl(e,8)|4278255360&r.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=r.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],r=0,n=0;r<e.length;r++,n+=8)t[n>>>5]|=e[r]<<24-n%32;return t},wordsToBytes:function(e){for(var t=[],r=0;r<32*e.length;r+=8)t.push(e[r>>>5]>>>24-r%32&255);return t},bytesToHex:function(e){for(var t=[],r=0;r<e.length;r++)t.push((e[r]>>>4).toString(16)),t.push((15&e[r]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],r=0;r<e.length;r+=2)t.push(parseInt(e.substr(r,2),16));return t},bytesToBase64:function(e){for(var r=[],n=0;n<e.length;n+=3)for(var i=e[n]<<16|e[n+1]<<8|e[n+2],o=0;o<4;o++)8*n+6*o<=8*e.length?r.push(t.charAt(i>>>6*(3-o)&63)):r.push("=");return r.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var r=[],n=0,i=0;n<e.length;i=++n%4)0!=i&&r.push((t.indexOf(e.charAt(n-1))&Math.pow(2,-2*i+8)-1)<<2*i|t.indexOf(e.charAt(n))>>>6-2*i);return r}},e.exports=r},738:function(e){function t(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}e.exports=function(e){return null!=e&&(t(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&t(e.slice(0,0))}(e)||!!e._isBuffer)}},568:function(e,t,r){var n,i,o,a,s;n=r(12),i=r(487).utf8,o=r(738),a=r(487).bin,(s=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?a.stringToBytes(e):i.stringToBytes(e):o(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var r=n.bytesToWords(e),u=8*e.length,c=1732584193,l=-271733879,f=-1732584194,h=271733878,p=0;p<r.length;p++)r[p]=16711935&(r[p]<<8|r[p]>>>24)|4278255360&(r[p]<<24|r[p]>>>8);r[u>>>5]|=128<<u%32,r[14+(u+64>>>9<<4)]=u;var d=s._ff,m=s._gg,y=s._hh,g=s._ii;for(p=0;p<r.length;p+=16){var v=c,b=l,w=f,x=h;c=d(c,l,f,h,r[p+0],7,-680876936),h=d(h,c,l,f,r[p+1],12,-389564586),f=d(f,h,c,l,r[p+2],17,606105819),l=d(l,f,h,c,r[p+3],22,-1044525330),c=d(c,l,f,h,r[p+4],7,-176418897),h=d(h,c,l,f,r[p+5],12,1200080426),f=d(f,h,c,l,r[p+6],17,-1473231341),l=d(l,f,h,c,r[p+7],22,-45705983),c=d(c,l,f,h,r[p+8],7,1770035416),h=d(h,c,l,f,r[p+9],12,-1958414417),f=d(f,h,c,l,r[p+10],17,-42063),l=d(l,f,h,c,r[p+11],22,-1990404162),c=d(c,l,f,h,r[p+12],7,1804603682),h=d(h,c,l,f,r[p+13],12,-40341101),f=d(f,h,c,l,r[p+14],17,-1502002290),c=m(c,l=d(l,f,h,c,r[p+15],22,1236535329),f,h,r[p+1],5,-165796510),h=m(h,c,l,f,r[p+6],9,-1069501632),f=m(f,h,c,l,r[p+11],14,643717713),l=m(l,f,h,c,r[p+0],20,-373897302),c=m(c,l,f,h,r[p+5],5,-701558691),h=m(h,c,l,f,r[p+10],9,38016083),f=m(f,h,c,l,r[p+15],14,-660478335),l=m(l,f,h,c,r[p+4],20,-405537848),c=m(c,l,f,h,r[p+9],5,568446438),h=m(h,c,l,f,r[p+14],9,-1019803690),f=m(f,h,c,l,r[p+3],14,-187363961),l=m(l,f,h,c,r[p+8],20,1163531501),c=m(c,l,f,h,r[p+13],5,-1444681467),h=m(h,c,l,f,r[p+2],9,-51403784),f=m(f,h,c,l,r[p+7],14,1735328473),c=y(c,l=m(l,f,h,c,r[p+12],20,-1926607734),f,h,r[p+5],4,-378558),h=y(h,c,l,f,r[p+8],11,-2022574463),f=y(f,h,c,l,r[p+11],16,1839030562),l=y(l,f,h,c,r[p+14],23,-35309556),c=y(c,l,f,h,r[p+1],4,-1530992060),h=y(h,c,l,f,r[p+4],11,1272893353),f=y(f,h,c,l,r[p+7],16,-155497632),l=y(l,f,h,c,r[p+10],23,-1094730640),c=y(c,l,f,h,r[p+13],4,681279174),h=y(h,c,l,f,r[p+0],11,-358537222),f=y(f,h,c,l,r[p+3],16,-722521979),l=y(l,f,h,c,r[p+6],23,76029189),c=y(c,l,f,h,r[p+9],4,-640364487),h=y(h,c,l,f,r[p+12],11,-421815835),f=y(f,h,c,l,r[p+15],16,530742520),c=g(c,l=y(l,f,h,c,r[p+2],23,-995338651),f,h,r[p+0],6,-198630844),h=g(h,c,l,f,r[p+7],10,1126891415),f=g(f,h,c,l,r[p+14],15,-1416354905),l=g(l,f,h,c,r[p+5],21,-57434055),c=g(c,l,f,h,r[p+12],6,1700485571),h=g(h,c,l,f,r[p+3],10,-1894986606),f=g(f,h,c,l,r[p+10],15,-1051523),l=g(l,f,h,c,r[p+1],21,-2054922799),c=g(c,l,f,h,r[p+8],6,1873313359),h=g(h,c,l,f,r[p+15],10,-30611744),f=g(f,h,c,l,r[p+6],15,-1560198380),l=g(l,f,h,c,r[p+13],21,1309151649),c=g(c,l,f,h,r[p+4],6,-145523070),h=g(h,c,l,f,r[p+11],10,-1120210379),f=g(f,h,c,l,r[p+2],15,718787259),l=g(l,f,h,c,r[p+9],21,-343485551),c=c+v>>>0,l=l+b>>>0,f=f+w>>>0,h=h+x>>>0}return n.endian([c,l,f,h])})._ff=function(e,t,r,n,i,o,a){var s=e+(t&r|~t&n)+(i>>>0)+a;return(s<<o|s>>>32-o)+t},s._gg=function(e,t,r,n,i,o,a){var s=e+(t&n|r&~n)+(i>>>0)+a;return(s<<o|s>>>32-o)+t},s._hh=function(e,t,r,n,i,o,a){var s=e+(t^r^n)+(i>>>0)+a;return(s<<o|s>>>32-o)+t},s._ii=function(e,t,r,n,i,o,a){var s=e+(r^(t|~n))+(i>>>0)+a;return(s<<o|s>>>32-o)+t},s._blocksize=16,s._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var r=n.wordsToBytes(s(e,t));return t&&t.asBytes?r:t&&t.asString?a.bytesToString(r):n.bytesToHex(r)}},61:function(e,t,r){var n=r(698).default;function i(){"use strict";e.exports=i=function(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var t={},r=Object.prototype,o=r.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},s="function"==typeof Symbol?Symbol:{},u=s.iterator||"@@iterator",c=s.asyncIterator||"@@asyncIterator",l=s.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function h(e,t,r,n){var i=t&&t.prototype instanceof m?t:m,o=Object.create(i.prototype),s=new F(n||[]);return a(o,"_invoke",{value:E(e,r,s)}),o}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=h;var d={};function m(){}function y(){}function g(){}var v={};f(v,u,(function(){return this}));var b=Object.getPrototypeOf,w=b&&b(b(T([])));w&&w!==r&&o.call(w,u)&&(v=w);var x=g.prototype=m.prototype=Object.create(v);function k(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function r(i,a,s,u){var c=p(e[i],e,a);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"==n(f)&&o.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,s,u)}),(function(e){r("throw",e,s,u)})):t.resolve(f).then((function(e){l.value=e,s(l)}),(function(e){return r("throw",e,s,u)}))}u(c.arg)}var i;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(e,t,r){var n="suspendedStart";return function(i,o){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===i)throw o;return{value:void 0,done:!0}}for(r.method=i,r.arg=o;;){var a=r.delegate;if(a){var s=O(a,r);if(s){if(s===d)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=p(e,t,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===d)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function O(e,t){var r=t.method,n=e.iterator[r];if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,O(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),d;var i=p(n,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,d;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function j(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(j,this),this.reset(!0)}function T(e){if(e){var t=e[u];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,n=function t(){for(;++r<e.length;)if(o.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return n.next=n}}return{next:N}}function N(){return{value:void 0,done:!0}}return y.prototype=g,a(x,"constructor",{value:g,configurable:!0}),a(g,"constructor",{value:y,configurable:!0}),y.displayName=f(g,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,f(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},k(S.prototype),f(S.prototype,c,(function(){return this})),t.AsyncIterator=S,t.async=function(e,r,n,i,o){void 0===o&&(o=Promise);var a=new S(h(e,r,n,i),o);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},k(x),f(x,l,"Generator"),f(x,u,(function(){return this})),f(x,"toString",(function(){return"[object Generator]"})),t.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}},t.values=T,F.prototype={constructor:F,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(A),!e)for(var t in this)"t"===t.charAt(0)&&o.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},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 t=this;function r(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc");if(s&&u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(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&&o.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 a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},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),d},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),A(r),d}},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;A(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:T(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),d}},t}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},698:function(e){function t(r){return e.exports=t="function"==typeof Symbol&&"symbol"==s(Symbol.iterator)?function(e){return s(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":s(e)},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},687:function(e,t,r){var n=r(61)();e.exports=n;try{regeneratorRuntime=n}catch(e){"object"==("undefined"==typeof globalThis?"undefined":s(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=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==("undefined"==typeof globalThis?"undefined":s(globalThis)))return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==("undefined"==typeof window?"undefined":s(window)))return window}}(),r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};return function(){"use strict";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"==s(Symbol.iterator)?function(e){return s(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":s(e)},o(e)}function a(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 u(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 c(e,t,r,n,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,i)}function l(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function a(e){c(o,n,i,a,s,"next",e)}function s(e){c(o,n,i,a,s,"throw",e)}a(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(n),r.d(n,{FETCHING_LOCALES:function(){return z},FETCHING_TRANSLATIONS:function(){return B},LOCALES_FETCHED:function(){return U},LOCALES_FETCH_FAILED:function(){return q},LOCALE_CHANGED:function(){return I},MessageFormatRenderer:function(){return ce},PseudoTranslationPolicy:function(){return oe},SourceErrorPolicy:function(){return se},SourceStringPolicy:function(){return ae},TRANSLATIONS_FETCHED:function(){return L},TRANSLATIONS_FETCH_FAILED:function(){return C},ThrowErrorPolicy:function(){return ue},createNativeInstance:function(){return le},escape:function(){return _},explodePlurals:function(){return Y},generateHashedKey:function(){return N},generateKey:function(){return T},implodePlurals:function(){return Q},isPluralized:function(){return ee},isString:function(){return P},normalizeLocale:function(){return D},offEvent:function(){return J},onEvent:function(){return H},sendEvent:function(){return W},sleep:function(){return R},t:function(){return he},tx:function(){return fe}});var d=r(687),m=r.n(d),y=r(669),g=r.n(y);function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(Object(r),!0).forEach((function(t){u(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var w=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]=b(b({},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}(),x=function(){function e(){f(this,e)}return p(e,[{key:"handle",value:function(e,t,r,n){return t}}]),e}(),k=function(){function e(){f(this,e)}return p(e,[{key:"handle",value:function(e,t){return e}}]),e}(),S=r(160),E=r.n(S),O={},j=function(){function e(){f(this,e)}return p(e,[{key:"render",value:function(e,t,r){var n=(t||"").split("_")[0];if(!O[n])try{O[n]=new(E())(n)}catch(e){O[n]=new(E())}return O[n].compile(e)(r)}}]),e}(),A=r(568),F=r.n(A);function T(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 N(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,":")),F()("5:".concat(e,":").concat(r))}function _(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function P(e){return"[object String]"===Object.prototype.toString.call(e)}function D(e){var t=e.split("-");return 1===t.length?e:[t[0],t[1].toUpperCase()].join("_")}function R(e){return new Promise((function(t){setTimeout((function(){t()}),e)}))}var B="FETCHING_TRANSLATIONS",L="TRANSLATIONS_FETCHED",C="TRANSLATIONS_FETCH_FAILED",I="LOCALE_CHANGED",z="FETCHING_LOCALES",U="LOCALES_FETCHED",q="LOCALES_FETCH_FAILED",M={};function H(e,t){M[e]=M[e]||[],M[e].push(t)}function J(e,t){var r=M[e]||[],n=r.indexOf(t);-1!==n&&r.splice(n,1)}function W(e,t,r){(M[e]||[]).forEach((function(e){e(t,r)}))}function G(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,a,s=[],u=!0,c=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=o.call(r)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(e){c=!0,i=e}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,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 $(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return K(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?K(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw o}}}}function K(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Z=["zero","one","two","few","many","other"];function V(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=Z[r]))return[null,null]}else if(-1===Z.indexOf(r))return[null,null];return[r,e.substring(t)]}function X(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 Y(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=G(r,2),i=n[0],o=n[1];if(null==i)return t;var a,s,u={},c=G(V(o),2);if(a=c[0],o=c[1],null==a)return t;var l=G(X(o.trim()),2);if(s=l[0],o=l[1],null==s)return t;for(u[a]=s;o.trim();){var f=G(V(o.trim()),2);if(a=f[0],o=f[1],null==a)return t;var h=G(X(o.trim()),2);if(s=h[0],o=h[1],null==s)return t;u[a]=s}return(1!==Object.keys(u).length||"other"in u)&&"one"in u&&"other"in u?[i,u]:t}function Q(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"???",n=["{".concat(r,", plural,")],i=$(Z);try{for(i.s();!(t=i.n()).done;){var o=t.value;if(o in e){var a=e[o];n.push(" ".concat(o," {").concat(a,"}"))}}}catch(e){i.e(e)}finally{i.f()}return n.push("}"),n.join("")}function ee(e){var t=Y(e)[1];return Object.keys(t).length>1}function te(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 re(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?te(Object(r),!0).forEach((function(t){u(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):te(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var ne=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 w,this.missingPolicy=new k,this.errorPolicy=new x,this.stringRenderer=new j,this.currentLocale="",this.locales=[],this.languages=[],this.childInstances=[]}var t,r,n,o,a,s,u,c;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(T(t,r),e);if(n||(n=this.cache.get(N(t,r),e)),n&&n.startsWith("{???")&&ee(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 a={};Object.keys(r).forEach((function(e){var t=r[e];a[e]=P(t)?_(t):t})),n=this.stringRenderer.render(n,e,a)}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:(c=l(m().mark((function e(t){var r,n,i,o,a,s,u,c,l,f,h=this,p=arguments;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=p.length>1&&void 0!==p[1]?p[1]:{},n=r.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 W(C,{localeCode:t,filterTags:n},h),e},e.prev=6,W(B,{localeCode:t,filterTags:n},this),a=202,s=Date.now();case 10:if(202!==a){e.next=27;break}return u="".concat(this.cdsHost,"/content/").concat(t),c=[],n&&c.push("filter[tags]=".concat(n)),this.filterStatus&&c.push("filter[status]=".concat(this.filterStatus)),c.length&&(u="".concat(u,"?").concat(c.join("&"))),e.next=18,g().get(u,{headers:{Authorization:"Bearer ".concat(this.token),"Accept-version":"v2","X-NATIVE-SDK":"txjs/".concat("browser","/").concat("5.0.6")}});case 18:if(o=e.sent,a=o.status,!(this.fetchTimeout>0&&Date.now()-s>=this.fetchTimeout)){e.next=22;break}throw i(new Error("Fetch translations timeout"));case 22:if(!(202===a&&this.fetchInterval>0)){e.next=25;break}return e.next=25,R(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),W(L,{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 c.apply(this,arguments)})},{key:"invalidateCDS",value:(u=l(m().mark((function e(){var t,r,n,i=arguments;return m().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("5.0.6")}});case 8:return n=e.sent,e.abrupt("return",n.data);case 10:case"end":return e.stop()}}),e,this)}))),function(){return u.apply(this,arguments)})},{key:"pushSource",value:(s=l(m().mark((function e(t){var r,n,i,o,a,s,u,c=arguments;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=c.length>1&&void 0!==c[1]?c[1]:{},this.token){e.next=3;break}throw new Error("token is not defined");case 3:if(this.secret){e.next=5;break}throw new Error("secret is not defined");case 5:return n={Authorization:"Bearer ".concat(this.token,":").concat(this.secret),"Accept-version":"v2","Content-Type":"application/json;charset=utf-8","X-NATIVE-SDK":"txjs/".concat("browser","/").concat("5.0.6")},e.next=8,g().post("".concat(this.cdsHost,"/content"),{data:t,meta:{purge:!!r.purge,override_tags:!!r.overrideTags}},{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:a={status:""};case 13:return e.next=15,R(1500);case 15:return e.next=17,g().get(o,{headers:n});case 17:s=e.sent,u=s.data.data,a=re(re({},u.details||{}),{},{errors:u.errors||[],status:u.status});case 20:if("pending"===a.status||"processing"===a.status){e.next=13;break}case 21:return e.abrupt("return",re({jobUrl:o},a));case 22:case"end":return e.stop()}}),e,this)}))),function(e){return s.apply(this,arguments)})},{key:"getLocales",value:(a=l(m().mark((function e(){var t,r,n,o,a,s=this,u=arguments;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((u.length>0&&void 0!==u[0]?u[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 W(q,null,s),e},e.prev=7,W(z,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("5.0.6")}});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,R(this.fetchInterval);case 21:e.next=11;break;case 23:if(!(a=r.data)||!a.data){e.next=30;break}this.languages=a.data,this.locales=this.languages.map((function(e){return e.code})),W(U,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 a.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 W(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:W(I,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,W(I,r,e))}));case 16:case"end":return e.stop()}}),e,this,[[5,10]])}))),function(e){return t.apply(this,arguments)})}]),e}(),ie={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:"Ẑ"},oe=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(ie[n]){var i=n.toLowerCase();t+="a"===i||"e"===i||"o"===i||"u"===i?ie[n]+ie[n]:ie[n]}else t+=n}return t})).join("__txnative__")}}]),e}(),ae=k,se=x,ue=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}(),ce=j,le=function(e){var t=new ne;return t.t=t.translate.bind(t),e&&t.init(e),t},fe=new ne,he=fe.translate.bind(fe)}(),n}()},"object"==s(t)&&"object"==s(e)?e.exports=a():(i=[],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o))},241:e=>{function t(r){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}},t={};function r(n){var i=t[n];if(void 0!==i)return i.exports;var o=t[n]={id:n,loaded:!1,exports:{}};return e[n](o,o.exports,r),o.loaded=!0,o.exports}r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var n={};return(()=>{"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(t){var r=function(t,r){if("object"!==e(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,"string");if("object"!==e(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===e(r)?r:String(r)}function i(e,r,n){return(r=t(r))in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function o(e,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,t(i.key),i)}}r.r(n),r.d(n,{TransifexI18next:()=>c});var a=r(206);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var c=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.type="backend",this.options=t||{},this.init()}var t,r;return t=e,(r=[{key:"init",value:function(e,t){this.options=u(u({},this.options||{}),t||{}),this.tx=(0,a.createNativeInstance)(this.options)}},{key:"read",value:function(e,t,r){var n=this;this.tx.fetchTranslations(e).then((function(){r(null,n._convertPlurals(n.tx.cache.getTranslations(e)))})).catch((function(e){r(e,null)}))}},{key:"readMulti",value:function(e,t,r){var n=this,i=[];e.forEach((function(e){i.push(n.tx.fetchTranslations(e))})),Promise.all(i).then((function(){var t={};e.forEach((function(e){t[e]={translations:n._convertPlurals(n.tx.cache.getTranslations(e))}}))})).catch((function(e){r(e,null)}))}},{key:"_convertPlurals",value:function(e){var t={};return Object.keys(e).forEach((function(r){if(r.endsWith("_txplural")){var n=r.slice(0,-"_txplural".length),i=(0,a.explodePlurals)(e[r].replace("{???,","{count,"))[1];Object.keys(i).forEach((function(e){t["".concat(n,"_").concat(e)]=i[e]}))}else t[r]=e[r]})),t}}])&&o(t.prototype,r),Object.defineProperty(t,"prototype",{writable:!1}),e}()})(),n})()));
|
|
2
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.TxNativeI18next=t():e.TxNativeI18next=t()}(self,(()=>(()=>{var e={206:(e,t,r)=>{var n,i,o;e=r.nmd(e);var a,s=r(241);self,a=function(){return function(){var e={160:function(e,t,r){e.exports=function(){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==s(Symbol.iterator)?function(e){return s(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":s(e)})(t)}function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(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,n.key,n)}}function i(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}function a(e){return a=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},a(e)}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function c(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function l(e,t,r){return l=c()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var i=new(Function.bind.apply(e,n));return r&&u(i,r.prototype),i},l.apply(null,arguments)}function f(e){var t="function"==typeof Map?new Map:void 0;return f=function(e){if(null===e||(r=e,-1===Function.toString.call(r).indexOf("[native code]")))return e;var r;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return l(e,arguments,a(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),u(n,e)},f(e)}function h(e){var t=c();return function(){var r,n=a(e);if(t){var i=a(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return function(e,t){if(t&&("object"==s(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,r)}}function p(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,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}}(e,t)||d(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 d(e,t){if(e){if("string"==typeof e)return m(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)?m(e,t):void 0}}function m(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 y(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=d(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw o}}}}var g=function(){return g=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},g.apply(this,arguments)};function v(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 b(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a}function w(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))}var x=function(e){o(n,e);var r=h(n);function n(e,i,o){var a;return t(this,n),(a=r.call(this,e)).token=i,a.type=o||"error",a}return i(n)}(f(Error)),k=function(e){return e<4?"short":4===e?"long":"narrow"},S=function(e){return e%2==0?"2-digit":"numeric"};function E(e,t){switch(e.width){case 1:return"numeric";case 2:return"2-digit";case 3:return"short";case 4:return"long";case 5:return"narrow";default:return void t("".concat(e.desc," is not supported with width ").concat(e.width))}}function O(e,t){var r=e.char,n=e.desc,i=e.width;return"d"===r?S(i):void t("".concat(n," is not supported"))}function j(e,t){var r=e.char,n=e.desc,i=e.width;return("c"===r||"e"===r)&&i<3&&t("Numeric value is not supported for ".concat(n,"; falling back to weekday:short"),x.WARNING),k(i)}function A(e,t){var r=e.char,n=e.desc,i=e.width;switch(r){case"v":case"z":return 4===i?"long":"short";case"V":return 4===i?"long":void t("".concat(n," is not supported with width ").concat(i));case"X":return void t("".concat(n," is not supported"))}return"short"}function F(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){throw e},n={},i=[],o=y(e);try{var a=function(){var e=t.value,o=e.error,a=e.field,s=e.str;if(o){var u=new x(o.message,e);u.stack=o.stack,r(u)}if(s){var c="Ignoring string part: ".concat(s);r(new x(c,e,x.WARNING))}a&&(-1===i.indexOf(a)?i.push(a):r(new x("Duplicate ".concat(a," token"),e)));var l=function(e,t){switch(e.field){case"era":return{era:k(e.width)};case"year":return function(e,t){switch(e.char){case"y":return{year:S(e.width)};case"r":return{calendar:"gregory",year:"numeric"};default:return t("".concat(e.desc," is not supported; falling back to year:numeric"),x.WARNING),{year:"numeric"}}}(e,t);case"month":return{month:E(e,t)};case"day":return{day:O(e,t)};case"weekday":return{weekday:j(e,t)};case"period":return;case"hour":return function(e){var t,r=S(e.width);switch(e.char){case"h":t="h12";break;case"H":t="h23";break;case"k":t="h24";break;case"K":t="h11"}return t?{hour:r,hourCycle:t}:{hour:r}}(e);case"min":return{minute:S(e.width)};case"sec":return{second:S(e.width)};case"tz":return{timeZoneName:A(e,t)};case"quarter":case"week":case"sec-frac":case"ms":t("".concat(e.desc," is not supported"))}}(e,(function(t,n){return r(new x(t,e,n))}));l&&Object.assign(n,l)};for(o.s();!(t=o.n()).done;)a()}catch(e){o.e(e)}finally{o.f()}return n}var T={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"}},N=function(e){return e>="A"&&e<="Z"||e>="a"&&e<="z"};function _(e,t){var r=e[t];if(!r)return null;if(N(r))return function(e,t){for(var r=e[t],n=1;e[++t]===r;)++n;var i=T[r];if(!i){var o="The letter ".concat(r," is not a valid field identifier");return{char:r,error:new Error(o),width:n}}return{char:r,field:i.field,desc:i.desc,width:n}}(e,t);if("'"===r)return function(e,t){var r=e[++t],n=2;if("'"===r)return{char:"'",str:r,width:n};for(;;){var i=e[++t];if(++n,void 0===i){var o="Unterminated quoted literal in pattern: ".concat(r||e);return{char:"'",error:new Error(o),str:r,width:n}}if("'"===i){if("'"!==e[++t])return{char:"'",str:r,width:n};++n}r+=i}}(e,t);for(var n=r,i=1;;){var o=e[++t];if(!o||N(o)||"'"===o)return{char:r,str:n,width:i};n+=o,i+=1}}function P(e){for(var t=[],r=0;;){var n=_(e,r);if(!n)return t;t.push(n),r+=n.width}}var D=function(e){o(n,e);var r=h(n);function n(e,i){var o;return t(this,n),(o=r.call(this,i)).code=e,o}return i(n)}(f(Error)),R=function(e){o(n,e);var r=h(n);function n(e,i){var o;return t(this,n),(o=r.call(this,"BAD_OPTION","Unknown ".concat(e," option: ").concat(i))).stem=e,o.option=i,o}return i(n)}(D),B=function(e){o(n,e);var r=h(n);function n(e){var i;return t(this,n),(i=r.call(this,"BAD_STEM","Unknown stem: ".concat(e))).stem=e,i}return i(n)}(D),L=function(e){o(n,e);var r=h(n);function n(e,i){var o;return t(this,n),(o=r.call(this,"MASKED_VALUE","Value for ".concat(e," is set multiple times"))).type=e,o.prev=i,o}return i(n)}(D),C=function(e){o(n,e);var r=h(n);function n(e){var i;return t(this,n),(i=r.call(this,"MISSING_OPTION","Required option missing for ".concat(e))).stem=e,i}return i(n)}(D),I=function(e){o(n,e);var r=h(n);function n(e,i){var o;return t(this,n),(o=r.call(this,"BAD_PATTERN",i)).char=e,o}return i(n)}(D),z=function(e){o(n,e);var r=h(n);function n(e,i,o){var a;t(this,n);var s=o>1?"".concat(o," options"):"one option";return(a=r.call(this,"TOO_MANY_OPTIONS","Token ".concat(e," only supports ").concat(s," (got ").concat(i.length,")"))).stem=e,a.options=i,a}return i(n)}(D),U=function(e){o(n,e);var r=h(n);function n(e,i){var o;return t(this,n),(o=r.call(this,"UNSUPPORTED","The stem ".concat(e," is not supported"))).stem=e,i&&(o.message+=" with value ".concat(i),o.source=i),o}return i(n)}(D);function q(e,t){var r=t.numberingSystem;return Array.isArray(e)||(e=[e]),r?e.map((function(e){var t=-1===e.indexOf("-u-")?"u-nu":"nu";return"".concat(e,"-").concat(t,"-").concat(r)})).concat(e):e}function M(e){var t=e.scale,r=e.unit,n="number"==typeof t&&t>=0?t:1;return r&&"percent"===r.style&&(n*=.01),n}function H(e,t){var r=e.decimal,n=e.group,i=e.integerWidth,o=e.notation,a=e.precision,s=e.roundingMode,u=e.sign,c=e.unit,l=e.unitPer,f=e.unitWidth,h=function(e,r){t&&t(new U(e,r))},p={};if(c)switch(c.style){case"base-unit":p.style="decimal";break;case"currency":p.style="currency",p.currency=c.currency;break;case"measure-unit":p.style="unit",p.unit=c.unit.replace(/.*-/,""),l&&(p.unit+="-per-"+l.replace(/.*-/,""));break;case"percent":p.style="percent";break;case"permille":h("permille")}switch(f){case"unit-width-full-name":p.currencyDisplay="name",p.unitDisplay="long";break;case"unit-width-hidden":h(f);break;case"unit-width-iso-code":p.currencyDisplay="code";break;case"unit-width-narrow":p.currencyDisplay="narrowSymbol",p.unitDisplay="narrow";break;case"unit-width-short":p.currencyDisplay="symbol",p.unitDisplay="short"}switch(n){case"group-off":p.useGrouping=!1;break;case"group-auto":p.useGrouping=!0;break;case"group-min2":case"group-on-aligned":case"group-thousands":h(n),p.useGrouping=!0}if(a)switch(a.style){case"precision-fraction":var d=a.minFraction,m=a.maxFraction,y=a.minSignificant,g=a.maxSignificant,v=a.source;"number"==typeof d&&(p.minimumFractionDigits=d,"number"==typeof y&&h("precision-fraction",v)),"number"==typeof m&&(p.maximumFractionDigits=m),"number"==typeof y&&(p.minimumSignificantDigits=y),"number"==typeof g&&(p.maximumSignificantDigits=g);break;case"precision-integer":p.maximumFractionDigits=0;break;case"precision-unlimited":p.maximumFractionDigits=20;break;case"precision-increment":case"precision-currency-standard":break;case"precision-currency-cash":h(a.style)}if(o)switch(o.style){case"compact-short":p.notation="compact",p.compactDisplay="short";break;case"compact-long":p.notation="compact",p.compactDisplay="long";break;case"notation-simple":p.notation="standard";break;case"scientific":case"engineering":var b=o.expDigits,w=o.expSign,x=o.source,k=o.style;p.notation=k,(b&&b>1||w&&"sign-auto"!==w)&&h(k,x)}if(i){var S=i.min,E=i.max,O=i.source;if(S>0&&(p.minimumIntegerDigits=S),Number(E)>0){var j="engineering"===p.notation||"scientific"===p.notation;3===E&&j?p.notation="engineering":h("integer-width",O)}}switch(u){case"sign-auto":p.signDisplay="auto";break;case"sign-always":p.signDisplay="always";break;case"sign-except-zero":p.signDisplay="exceptZero";break;case"sign-never":p.signDisplay="never";break;case"sign-accounting":p.currencySign="accounting";break;case"sign-accounting-always":p.currencySign="accounting",p.signDisplay="always";break;case"sign-accounting-except-zero":p.currencySign="accounting",p.signDisplay="exceptZero"}return"decimal-always"===r&&h(r),s&&h(s),p}function J(e,t,r){var n=e[t];switch(n){case"%":return{char:"%",style:"percent",width:1};case"‰":return{char:"%",style:"permille",width:1};case"¤":for(var i=1;"¤"===e[++t];)++i;switch(i){case 1:return{char:n,currency:"default",width:i};case 2:return{char:n,currency:"iso-code",width:i};case 3:return{char:n,currency:"full-name",width:i};case 5:return{char:n,currency:"narrow",width:i};default:var o="Invalid number (".concat(i,") of ¤ chars in pattern");return r(new I("¤",o)),null}case"*":var a=e[t+1];if(a)return{char:n,pad:a,width:2};break;case"+":case"-":return{char:n,width:1};case"'":var s=e[++t],u=2;if("'"===s)return{char:n,str:s,width:u};for(;;){var c=e[++t];if(++u,void 0===c){var l="Unterminated quoted literal in pattern: ".concat(s);return r(new I("'",l)),{char:n,str:s,width:u}}if("'"===c){if("'"!==e[++t])return{char:n,str:s,width:u};++u}s+=c}}return null}var W=function(e){return e>="0"&&e<="9"};function G(e,t){var r=e[t];if(W(r))for(var n=r;;){var i=e[++t];if(!W(i))return{char:"0",digits:n,width:n.length};n+=i}switch(r){case"#":for(var o=1;"#"===e[++t];)++o;return{char:r,width:o};case"@":for(var a=1;"@"===e[++t];)++a;var s=a;for(t-=1;"#"===e[++t];)++s;return{char:r,min:a,width:s};case"E":var u="+"===e[t+1];u&&++t;for(var c=0;"0"===e[++t];)++c;if(c)return{char:r,expDigits:c,plus:u,width:(u?2:1)+c};break;case".":case",":return{char:r,width:1}}return null}function $(e,t,r){var n;!function(e){e[e.Prefix=0]="Prefix",e[e.Number=1]="Number",e[e.Suffix=2]="Suffix"}(n||(n={}));for(var i=[],o=[],a=[],s=n.Prefix,u="";t<e.length;){var c=e[t];if(";"===c){t+=1;break}switch(s){case n.Prefix:var l=J(e,t,r);if(l)u&&(i.push({char:"'",str:u,width:u.length}),u=""),i.push(l),t+=l.width;else{var f=G(e,t);f?(u&&(i.push({char:"'",str:u,width:u.length}),u=""),s=n.Number,o.push(f),t+=f.width):(u+=c,t+=1)}break;case n.Number:var h=G(e,t);h?(o.push(h),t+=h.width):s=n.Suffix;break;case n.Suffix:var p=J(e,t,r);p?(u&&(a.push({char:"'",str:u,width:u.length}),u=""),a.push(p),t+=p.width):(u+=c,t+=1)}}return u&&a.push({char:"'",str:u,width:u.length}),{pattern:{prefix:i,number:o,suffix:a},pos:t}}function K(e,t,r,n,i){var o,a=!1,s="",u=y(e);try{for(u.s();!(o=u.n()).done;){var c=o.value;switch(c.char){case"%":t.unit={style:c.style},i?a=!0:s="";break;case"¤":if(!r){n(new I("¤","The ¤ pattern requires a currency"));break}switch(t.unit={style:"currency",currency:r},c.currency){case"iso-code":t.unitWidth="unit-width-iso-code";break;case"full-name":t.unitWidth="unit-width-full-name";break;case"narrow":t.unitWidth="unit-width-narrow"}i?a=!0:s="";break;case"*":break;case"+":a||(s+="+");break;case"'":a||(s+=c.str)}}}catch(e){u.e(e)}finally{u.f()}return s}function Z(e,t){var r,n=!1,i="",o=y(e);try{for(o.s();!(r=o.n()).done;){var a=r.value;switch(a.char){case"%":case"¤":t?n=!0:i="";break;case"-":n||(i+="-");break;case"'":n||(i+=a.str)}}}catch(e){o.e(e)}finally{o.f()}return i}function V(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(e){throw e},n=function(e,t){var r=$(e,0,t),n=r.pattern,i=r.pos;return i<e.length?{tokens:n,negative:$(e,i,t).pattern}:{tokens:n}}(e,r),i=n.tokens,o=n.negative,a=function(e,t){for(var r={},n=!1,i=!1,o=0,a="",s=-1,u="",c=0,l=0;l<e.length;++l){var f=e[l];switch(f.char){case"#":-1===s?(a&&t(new I("#","Pattern has # after integer digits")),o+=f.width):c+=f.width;break;case"0":-1===s?a+=f.digits:(c&&t(new I("0","Pattern has digits after # in fraction")),u+=f.digits);break;case"@":r.precision&&t(new L("precision",r.precision)),r.precision={style:"precision-fraction",minSignificant:f.min,maxSignificant:f.width};break;case",":n=!0;break;case".":1===s&&t(new I(".","Pattern has more than one decimal separator")),s=l;break;case"E":i&&t(new L("exponent",r.notation)),n&&t(new I("E","Exponential patterns may not contain grouping separators")),r.notation={style:"scientific"},f.expDigits>1&&(r.notation.expDigits=f.expDigits),f.plus&&(r.notation.expSign="sign-always"),i=!0}}n?r.group="group-auto":o+a.length>3&&(r.group="group-off");var h=Number("".concat(a||"0",".").concat(u));if(h&&(r.precision={style:"precision-increment",increment:h}),i)if(r.precision&&!h||(r.integerWidth=o?{min:1,max:o+a.length}:{min:Math.max(1,a.length)}),r.precision)h||(r.integerWidth={min:1,max:1});else{var p=a.length+u.length;-1===s?p>0&&(r.precision={style:"precision-fraction",maxSignificant:p}):(r.precision={style:"precision-fraction",maxSignificant:Math.max(1,p)+c},p>1&&(r.precision.minSignificant=p))}else a.length>1&&(r.integerWidth={min:a.length}),r.precision||!u.length&&!c||(r.precision={style:"precision-fraction",minFraction:u.length,maxFraction:u.length+c});return r}(i.number,r),s=K(i.prefix,a,t,r,!0),u=K(i.suffix,a,t,r,!1);if(o){var c=Z(o.prefix,!0),l=Z(o.suffix,!1);a.affix={pos:[s,u],neg:[c,l]},a.sign="sign-never"}else(s||u)&&(a.affix={pos:[s,u]});return a}function X(e){var t=p(e.split("-",1),1)[0];return-1!==["acceleration","angle","area","concentr","consumption","digital","duration","electric","energy","force","frequency","graphics","length","light","mass","power","pressure","speed","temperature","torque","volume"].indexOf(t)}var Y={"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":0,"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},Q={currency:1,"integer-width":1,"measure-unit":1,"numbering-system":1,"per-measure-unit":1,"precision-increment":1,scale:1};function ee(e,t){var r="fraction"===t?/^\.(0*)(\+|#*)$/:/^(@+)(\+|#*)$/,n=e&&e.match(r);if(n){var i=n[1].length;switch(n[2].charAt(0)){case"":return{min:i,max:i};case"+":return{min:i,max:null};case"#":return{min:i,max:i+n[2].length}}}return null}var te=function(){function e(r){t(this,e),this.skeleton={},this.onError=r}return i(e,[{key:"badOption",value:function(e,t){this.onError(new R(e,t))}},{key:"assertEmpty",value:function(e){var t=this.skeleton[e];t&&this.onError(new L(e,t))}},{key:"parseToken",value:function(e,t){if(function(e,t,r){if(function(e){return e in Y}(e)){var n=Y[e];if(t.length>n){if(0===n){var i,o=y(t);try{for(o.s();!(i=o.n()).done;){var a=i.value;r(new R(e,a))}}catch(e){o.e(e)}finally{o.f()}}else r(new z(e,t,n));return!1}if(function(e){return e in Q}(e)&&t.length<Q[e])return r(new C(e)),!1}return!0}(e,t,this.onError)){var r=t[0],n=this.skeleton;switch(e){case"compact-short":case"compact-long":case"notation-simple":this.assertEmpty("notation"),n.notation={style:e};break;case"scientific":case"engineering":var i,o=null,a=void 0,s=y(t);try{for(s.s();!(i=s.n()).done;){var u=i.value;switch(u){case"sign-auto":case"sign-always":case"sign-never":case"sign-accounting":case"sign-accounting-always":case"sign-except-zero":case"sign-accounting-except-zero":a=u;break;default:/^\+e+$/.test(u)?o=u.length-1:this.badOption(e,u)}}}catch(e){s.e(e)}finally{s.f()}this.assertEmpty("notation");var c=t.join("/");n.notation=o&&a?{style:e,source:c,expDigits:o,expSign:a}:o?{style:e,source:c,expDigits:o}:a?{style:e,source:c,expSign:a}:{style:e,source:c};break;case"percent":case"permille":case"base-unit":this.assertEmpty("unit"),n.unit={style:e};break;case"currency":/^[A-Z]{3}$/.test(r)?(this.assertEmpty("unit"),n.unit={style:e,currency:r}):this.badOption(e,r);break;case"measure-unit":X(r)?(this.assertEmpty("unit"),n.unit={style:e,unit:r}):this.badOption(e,r);break;case"per-measure-unit":X(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-standard":case"precision-currency-cash":this.assertEmpty("precision"),n.precision={style:e};break;case"precision-increment":var l=Number(r);l>0?(this.assertEmpty("precision"),n.precision={style:e,increment:l}):this.badOption(e,r);break;case"rounding-mode-ceiling":case"rounding-mode-floor":case"rounding-mode-down":case"rounding-mode-up":case"rounding-mode-half-even":case"rounding-mode-half-down":case"rounding-mode-half-up":case"rounding-mode-unnecessary":this.assertEmpty("roundingMode"),n.roundingMode=e;break;case"integer-width":if(/^\+0*$/.test(r))this.assertEmpty("integerWidth"),n.integerWidth={source:r,min:r.length-1};else{var f=r.match(/^#*(0*)$/);f?(this.assertEmpty("integerWidth"),n.integerWidth={source:r,min:f[1].length,max:f[0].length}):this.badOption(e,r)}break;case"scale":var h=Number(r);h>0?(this.assertEmpty("scale"),n.scale=h):this.badOption(e,r);break;case"group-off":case"group-min2":case"group-auto":case"group-on-aligned":case"group-thousands":this.assertEmpty("group"),n.group=e;break;case"latin":this.assertEmpty("numberingSystem"),n.numberingSystem="latn";break;case"numbering-system":-1!==["arab","arabext","bali","beng","deva","fullwide","gujr","guru","hanidec","khmr","knda","laoo","latn","limb","mlym","mong","mymr","orya","tamldec","telu","thai","tibt"].indexOf(r)?(this.assertEmpty("numberingSystem"),n.numberingSystem=r):this.badOption(e,r);break;case"sign-auto":case"sign-always":case"sign-never":case"sign-accounting":case"sign-accounting-always":case"sign-except-zero":case"sign-accounting-except-zero":this.assertEmpty("sign"),n.sign=e;break;case"decimal-auto":case"decimal-always":this.assertEmpty("decimal"),n.decimal=e;break;default:var p=function(e,t,r){var n=ee(e,"fraction");if(n){t.length>1&&r(new z(e,t,1));var i={style:"precision-fraction",source:e,minFraction:n.min};null!=n.max&&(i.maxFraction=n.max);var o=t[0],a=ee(o,"significant");return a?(i.source="".concat(e,"/").concat(o),i.minSignificant=a.min,null!=a.max&&(i.maxSignificant=a.max)):o&&r(new R(e,o)),i}var s=ee(e,"significant");if(s){var u,c=y(t);try{for(c.s();!(u=c.n()).done;){var l=u.value;r(new R(e,l))}}catch(e){c.e(e)}finally{c.f()}var f={style:"precision-fraction",source:e,minSignificant:s.min};return null!=s.max&&(f.maxSignificant=s.max),f}return null}(e,t,this.onError);p?(this.assertEmpty("precision"),n.precision=p):this.onError(new B(e))}}}}]),e}();function re(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){throw e},n=[],i=y(e.split(" "));try{for(i.s();!(t=i.n()).done;){var o=t.value;if(o){var a=o.split("/"),s=a.shift()||"";n.push({stem:s,options:a})}}}catch(e){i.e(e)}finally{i.f()}for(var u=new te(r),c=0,l=n;c<l.length;c++){var f=l[c],h=f.stem,p=f.options;u.parseToken(h,p)}return u.skeleton}var ne="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:{},ie={},oe={},ae={exports:{}};(function(t){var r,n;r=ne,n=function(){var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n="boolean"==typeof(new RegExp).sticky;function i(e){return e&&"[object RegExp]"===r.call(e)}function o(t){return t&&"object"===e(t)&&!i(t)&&!Array.isArray(t)}function a(e){return"("+e+")"}function s(e){return e.length?"(?:"+e.map((function(e){return"(?:"+e+")"})).join("|")+")":"(?!)"}function u(e){if("string"==typeof e)return"(?:"+e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")+")";if(i(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,r){if(o(r)||(r={match:r}),r.include)throw new Error("Matching rules cannot also include states");var n={defaultType:e,lineBreaks:!!r.error||!!r.fallback,pop:!1,next:null,push:null,error:!1,fallback:!1,value:null,type:null,shouldThrow:!1};for(var a in r)t.call(r,a)&&(n[a]=r[a]);if("string"==typeof n.type&&e!==n.type)throw new Error("Type transform cannot be a string (type '"+n.type+"' for token '"+e+"')");var s=n.match;return n.match=Array.isArray(s)?s:s?[s]:[],n.match.sort((function(e,t){return i(e)&&i(t)?0:i(t)?-1:i(e)?1:t.length-e.length})),n}function l(e){return Array.isArray(e)?function(e){for(var t=[],r=0;r<e.length;r++){var n=e[r];if(n.include)for(var i=[].concat(n.include),o=0;o<i.length;o++)t.push({include:i[o]});else{if(!n.type)throw new Error("Rule has no type: "+JSON.stringify(n));t.push(c(n.type,n))}}return t}(e):function(e){for(var t=Object.getOwnPropertyNames(e),r=[],n=0;n<t.length;n++){var i=t[n],a=e[i],s=[].concat(a);if("include"!==i){var u=[];s.forEach((function(e){o(e)?(u.length&&r.push(c(i,u)),r.push(c(i,e)),u=[]):u.push(e)})),u.length&&r.push(c(i,u))}else for(var l=0;l<s.length;l++)r.push({include:s[l]})}return r}(e)}var f=c("error",{lineBreaks:!0,shouldThrow:!0});function h(e,t){for(var r=null,o=Object.create(null),c=!0,l=null,h=[],p=[],d=0;d<e.length;d++)e[d].fallback&&(c=!1);for(d=0;d<e.length;d++){var m=e[d];if(m.include)throw new Error("Inheritance is not allowed in stateless lexers");if(m.error||m.fallback){if(r)throw!m.fallback==!r.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+"')");r=m}var y=m.match.slice();if(c)for(;y.length&&"string"==typeof y[0]&&1===y[0].length;)o[y.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!==y.length){c=!1,h.push(m);for(var g=0;g<y.length;g++){var v=y[g];if(i(v))if(null===l)l=v.unicode;else if(l!==v.unicode&&!1===m.fallback)throw new Error("If one rule is /u then all must be")}var b=s(y.map(u)),w=new RegExp(b);if(w.test(""))throw new Error("RegExp matches empty string: "+w);if(new RegExp("|"+b).exec("").length-1>0)throw new Error("RegExp has capture groups: "+w+"\nUse (?: … ) instead");if(!m.lineBreaks&&w.test("\n"))throw new Error("Rule should declare lineBreaks: "+w);p.push(a(b))}}var x=r&&r.fallback,k=n&&!x?"ym":"gm",S=n||x?"":"|";return!0===l&&(k+="u"),{regexp:new RegExp(s(p)+S,k),groups:h,fast:o,error:r||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.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,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=n?function(e,t){return e.exec(t)}:function(e,t){var r=e.exec(t);return 0===r[0].length?null:r};function y(){return this.value}if(d.prototype._getGroup=function(e){for(var t=this.groups.length,r=0;r<t;r++)if(void 0!==e[r+1])return this.groups[r];throw new Error("Cannot find token type for matched text")},d.prototype.next=function(){var e=this.index;if(this.queuedGroup){var t=this._token(this.queuedGroup,this.queuedText,e);return this.queuedGroup=null,this.queuedText="",t}var r=this.buffer;if(e!==r.length){if(a=this.fast[r.charCodeAt(e)])return this._token(a,r.charAt(e),e);var n=this.re;n.lastIndex=e;var i=m(n,r),o=this.error;if(null==i)return this._token(o,r.slice(e,r.length),e);var a=this._getGroup(i),s=i[0];return o.fallback&&i.index!==e?(this.queuedGroup=a,this.queuedText=s,this._token(o,r.slice(e,i.index),e)):this._token(a,s,e)}},d.prototype._token=function(e,t,r){var n=0;if(e.lineBreaks){var i=/\n/g,o=1;if("\n"===t)n=1;else for(;i.exec(t);)n++,o=i.lastIndex}var a={type:"function"==typeof e.type&&e.type(t)||e.defaultType,value:"function"==typeof e.value?e.value(t):t,text:t,toString:y,offset:r,lineBreaks:n,line:this.line,col:this.col},s=t.length;if(this.index+=s,this.line+=n,0!==n?this.col=s-o+1:this.col+=s,e.shouldThrow)throw new Error(this.formatError(a,"invalid syntax"));return e.pop?this.popState():e.push?this.pushState(e.push):e.next&&this.setState(e.next),a},"undefined"!=typeof Symbol&&Symbol.iterator){var g=function(e){this.lexer=e};g.prototype.next=function(){var e=this.lexer.next();return{value:e,done:!e}},g.prototype[Symbol.iterator]=function(){return this},d.prototype[Symbol.iterator]=function(){return new g(this)}}return d.prototype.formatError=function(e,t){if(null==e){var r=this.buffer.slice(this.index);e={text:r,offset:this.index,lineBreaks:-1===r.indexOf("\n")?0:1,line:this.line,col:this.col}}var n=Math.max(0,e.offset-e.col+1),i=e.lineBreaks?e.text.indexOf("\n"):e.text.length,o=this.buffer.substring(n,e.offset+i);return t+=" at line "+e.line+" col "+e.col+":\n\n",(t+=" "+o+"\n")+" "+Array(e.col).join(" ")+"^"},d.prototype.clone=function(){return new d(this.states,this.state)},d.prototype.has=function(e){return!0},{compile:function(e){var t=h(l(e));return new d({start:t},"start")},states:function(e,t){var r=e.$all?l(e.$all):[];delete e.$all;var n=Object.getOwnPropertyNames(e);t||(t=n[0]);for(var i=Object.create(null),o=0;o<n.length;o++)i[b=n[o]]=l(e[b]).concat(r);for(o=0;o<n.length;o++)for(var a=i[b=n[o]],s=Object.create(null),u=0;u<a.length;u++){var c=a[u];if(c.include){var f=[u,1];if(c.include!==b&&!s[c.include]){s[c.include]=!0;var m=i[c.include];if(!m)throw new Error("Cannot include nonexistent state '"+c.include+"' (in state '"+b+"')");for(var y=0;y<m.length;y++){var g=m[y];-1===a.indexOf(g)&&f.push(g)}}a.splice.apply(a,f),u--}}var v=Object.create(null);for(o=0;o<n.length;o++){var b;v[b=n[o]]=h(i[b],!0)}for(o=0;o<n.length;o++){var w=n[o],x=v[w],k=x.groups;for(u=0;u<k.length;u++)p(k[u],w,v);var S=Object.getOwnPropertyNames(x.fast);for(u=0;u<S.length;u++)p(x.fast[S[u]],w,v)}return new d(v,t)},error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:function(e){for(var t=Object.create(null),r=Object.create(null),n=Object.getOwnPropertyNames(e),i=0;i<n.length;i++){var o=n[i],a=e[o];(Array.isArray(a)?a:[a]).forEach((function(e){if((r[e.length]=r[e.length]||[]).push(e),"string"!=typeof e)throw new Error("keyword must be string (in keyword '"+o+"')");t[e]=o}))}function s(e){return JSON.stringify(e)}var u="";for(var c in u+="switch (value.length) {\n",r){var l=r[c];u+="case "+c+":\n",u+="switch (value) {\n",l.forEach((function(e){var r=t[e];u+="case "+s(e)+": return "+s(r)+"\n"})),u+="}\n"}return u+="}\n",Function("value",u)}}},t.exports?t.exports=n():r.moo=n()})(ae),function(e){var t=ne&&ne.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.lexer=e.states=void 0;var r=t(ae.exports);e.states={body:{doubleapos:{match:"''",value:function(){return"'"}},quoted:{lineBreaks:!0,match:/'[#\{\}](?:(?:(?![])[\s\S])*?(?:(?!')[\s\S]))?'(?!')/,value:function(e){return e.slice(1,-1).replace(/''/g,"'")}},argument:{lineBreaks:!0,match:/\{[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*(?:(?![\t-\r -\/:-@\[-\^`\{-~\x85\xA1-\xA7\xA9\xAB\xAC\xAE\xB0\xB1\xB6\xBB\xBF\xD7\xF7\u200E-\u2029\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u245F\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3020\u3030\uFD3E\uFD3F\uFE45\uFE46])[\s\S])+[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*/,push:"arg",value:function(e){return e.substring(1).trim()}},octothorpe:"#",end:{match:"}",pop:1},content:{lineBreaks:!0,match:/(?:(?![])[\s\S])(?:(?![#'\{\}])[\s\S])*/}},arg:{select:{lineBreaks:!0,match:/,[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*(?:plural|select|selectordinal)[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*,[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*/,next:"select",value:function(e){return e.split(",")[1].trim()}},"func-args":{lineBreaks:!0,match:/,[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*(?:(?![\t-\r -\/:-@\[-\^`\{-~\x85\xA1-\xA7\xA9\xAB\xAC\xAE\xB0\xB1\xB6\xBB\xBF\xD7\xF7\u200E-\u2029\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u245F\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3020\u3030\uFD3E\uFD3F\uFE45\uFE46])[\s\S])+[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*,/,next:"body",value:function(e){return e.split(",")[1].trim()}},"func-simple":{lineBreaks:!0,match:/,[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*(?:(?![\t-\r -\/:-@\[-\^`\{-~\x85\xA1-\xA7\xA9\xAB\xAC\xAE\xB0\xB1\xB6\xBB\xBF\xD7\xF7\u200E-\u2029\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u245F\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3020\u3030\uFD3E\uFD3F\uFE45\uFE46])[\s\S])+[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*/,value:function(e){return e.substring(1).trim()}},end:{match:"}",pop:1}},select:{offset:{lineBreaks:!0,match:/[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*offset[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*:[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*[0-9]+[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*/,value:function(e){return e.split(":")[1].trim()}},case:{lineBreaks:!0,match:/[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*(?:=[0-9]+|(?:(?![\t-\r -\/:-@\[-\^`\{-~\x85\xA1-\xA7\xA9\xAB\xAC\xAE\xB0\xB1\xB6\xBB\xBF\xD7\xF7\u200E-\u2029\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u245F\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3020\u3030\uFD3E\uFD3F\uFE45\uFE46])[\s\S])+)[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*\{/,push:"body",value:function(e){return e.substring(0,e.indexOf("{")).trim()}},end:{match:/[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*\}/,pop:1}}},e.lexer=r.default.states(e.states)}(oe),Object.defineProperty(ie,"__esModule",{value:!0});var se=ie.parse=ie.ParseError=void 0,ue=oe,ce=function(e){return{offset:e.offset,line:e.line,col:e.col,text:e.text,lineBreaks:e.lineBreaks}},le=function(e){return"plural"===e||"select"===e||"selectordinal"===e},fe=["number","date","time","spellout","ordinal","duration"],he=["zero","one","two","few","many","other"],pe=function(e){o(n,e);var r=h(n);function n(e,i){return t(this,n),r.call(this,ue.lexer.formatError(e,i))}return i(n)}(f(Error));ie.ParseError=pe;var de=function(){function e(r,n){t(this,e),this.lexer=ue.lexer.reset(r),this.cardinalKeys=n&&n.cardinal||he,this.ordinalKeys=n&&n.ordinal||he,this.strict=n&&n.strict||!1}return i(e,[{key:"parse",value:function(){return this.parseBody(!1,!0)}},{key:"checkSelectKey",value:function(e,t,r){if("="===r[0]){if("select"===t)throw new pe(e,"The case ".concat(r," is not valid with select"))}else if("select"!==t){var n="plural"===t?this.cardinalKeys:this.ordinalKeys;if(n.length>0&&!n.includes(r)){var i="The ".concat(t," case ").concat(r," is not valid in this locale");throw new pe(e,i)}}}},{key:"parseSelect",value:function(e,t,r,n){var i={type:n,arg:e.value,cases:[],ctx:r};"plural"===n||"selectordinal"===n?t=!0:this.strict&&(t=!1);var o,a=y(this.lexer);try{for(a.s();!(o=a.n()).done;){var s=o.value;switch(s.type){case"offset":if("select"===n)throw new pe(s,"Unexpected plural offset for select");if(i.cases.length>0)throw new pe(s,"Plural offset must be set before cases");i.pluralOffset=Number(s.value),r.text+=s.text,r.lineBreaks+=s.lineBreaks;break;case"case":this.checkSelectKey(s,n,s.value),i.cases.push({key:s.value,tokens:this.parseBody(t),ctx:ce(s)});break;case"end":return i;default:throw new pe(s,"Unexpected lexer token: ".concat(s.type))}}}catch(e){a.e(e)}finally{a.f()}throw new pe(null,"Unexpected message end")}},{key:"parseArgToken",value:function(e,t){var r=ce(e),n=this.lexer.next();if(!n)throw new pe(null,"Unexpected message end");if(r.text+=n.text,r.lineBreaks+=n.lineBreaks,this.strict&&("func-simple"===n.type||"func-args"===n.type)&&!fe.includes(n.value)){var i="Invalid strict mode function arg type: ".concat(n.value);throw new pe(e,i)}switch(n.type){case"end":return{type:"argument",arg:e.value,ctx:r};case"func-simple":var o=this.lexer.next();if(!o)throw new pe(null,"Unexpected message end");if("end"!==o.type)throw new pe(o,"Unexpected lexer token: ".concat(o.type));if(r.text+=o.text,le(n.value.toLowerCase()))throw new pe(n,"Invalid type identifier: ".concat(n.value));return{type:"function",arg:e.value,key:n.value,ctx:r};case"func-args":if(le(n.value.toLowerCase())){var a="Invalid type identifier: ".concat(n.value);throw new pe(n,a)}var s=this.parseBody(!this.strict&&t);return this.strict&&s.length>0&&(s=function(e,t){var r,n="",i="",o=y(t);try{for(o.s();!(r=o.n()).done;){var a=r.value,s=a.ctx.text;switch(i+=s,a.type){case"content":n+=a.value;break;case"argument":case"function":case"octothorpe":n+=s;break;default:throw new pe(e,"Unsupported part in strict mode function arg style: ".concat(s))}}}catch(e){o.e(e)}finally{o.f()}return[{type:"content",value:n.trim(),ctx:Object.assign({},t[0].ctx,{text:i})}]}(e,s)),{type:"function",arg:e.value,key:n.value,param:s,ctx:r};case"select":if(le(n.value))return this.parseSelect(e,t,r,n.value);throw new pe(n,"Unexpected select type ".concat(n.value));default:throw new pe(n,"Unexpected lexer token: ".concat(n.type))}}},{key:"parseBody",value:function(e,t){var r,n=[],i=null,o=y(this.lexer);try{for(o.s();!(r=o.n()).done;){var a=r.value;if("argument"===a.type)i&&(i=null),n.push(this.parseArgToken(a,e));else if("octothorpe"===a.type&&e)i&&(i=null),n.push({type:"octothorpe",ctx:ce(a)});else{if("end"===a.type&&!t)return n;var s=a.value;if(!e&&"quoted"===a.type&&"#"===s[0]){if(s.includes("{")){var u="Unsupported escape pattern: ".concat(s);throw new pe(a,u)}s=a.text}i?(i.value+=s,i.ctx.text+=a.text,i.ctx.lineBreaks+=a.lineBreaks):(i={type:"content",value:s,ctx:ce(a)},n.push(i))}}}catch(e){o.e(e)}finally{o.f()}if(t)return n;throw new pe(null,"Unexpected message end")}}]),e}();function me(e){return me[e]||(me[e]=new Intl.NumberFormat(e))}se=ie.parse=function(e){return new de(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).parse()};var ye=Object.freeze({__proto__:null,_nf:me,number:function(e,t,r){return me(e).format(t-r)},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 me(e).format(i)},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},select:function(e,t){return{}.hasOwnProperty.call(t,e)?t[e]:t.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],"'"))}}),ge={};function ve(e,t){var r=String(e)+JSON.stringify(t);return ge[r]||(ge[r]=new Intl.NumberFormat(e,t)),ge[r]}var be=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 e<10?"0"+String(e):String(e)})).join(":")},numberCurrency:function(e,t,r){return ve(t,{style:"currency",currency:r,minimumFractionDigits:2,maximumFractionDigits:2}).format(e)},numberFmt:function(e,t,r,n){var i=r&&r.split(":")||[],o=i[0],a=i[1];return ve(t,{integer:{maximumFractionDigits:0},percent:{style:"percent"},currency:{style:"currency",currency:a&&a.trim()||n,minimumFractionDigits:2,maximumFractionDigits:2}}[o]||{}).format(e)},numberInteger:function(e,t){return ve(t,{maximumFractionDigits:0}).format(e)},numberPercent:function(e,t){return ve(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)}}),we={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 xe(e,t){t&&(e+=" "+function(e){for(var t=0,r=0;r<e.length;++r)t=(t<<5)-t+e.charCodeAt(r),t|=0;return t}(e).toString(36));var r=e.trim().replace(/\W+/g,"_");return we.ES3[r]||we.ESnext[r]||/^\d/.test(r)?"_"+r:r}function ke(e,t){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(t)&&!we.ES3[t])return e?e+"."+t:t;var r=JSON.stringify(t);return e?e+"["+r+"]":r}var Se=new RegExp("^"+["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"].join("|^")),Ee="@messageformat/runtime/lib/plurals",Oe=function(){function e(e){this.arguments=[],this.runtime={},this.options=e}return e.prototype.compile=function(e,t,r){var n,i,o=this;if("object"==s(e)){var a={};try{for(var u=v(Object.keys(e)),c=u.next();!c.done;c=u.next()){var l=c.value,f=r&&r[l]||t;a[l]=this.compile(e[l],f,r)}}catch(e){n={error:e}}finally{try{c&&!c.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}return a}this.plural=t;var h={cardinal:t.cardinals,ordinal:t.ordinals,strict:this.options.strict};this.arguments=[];var p=se(e,h).map((function(e){return o.token(e,null)})),d=this.arguments.length>0,m=this.concatenate(p,!0);if(this.options.requireAllArguments&&d){this.setRuntimeFn("reqArgs");var y=JSON.stringify(this.arguments);return"(d) => { reqArgs(".concat(y,", d); return ").concat(m,"; }")}return"(".concat(d?"d":"",") => ").concat(m)},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 a=o.map((function(e){return r.token(e,t)}));return"".concat(ke(null,i.replace(/^=/,"")),": ").concat(r.concatenate(a,!1))}));if(n){var o=e.type,a=this.plural,s=a.cardinals,u=a.ordinals;if("select"===o||"plural"===o&&s.includes("other")||"selectordinal"===o&&u.includes("other"))throw new Error("No 'other' form found in ".concat(JSON.stringify(e)))}return"{ ".concat(i.join(", ")," }")},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,a,s,u=this.plural,c=u.id,l=u.lc;switch("arg"in e?(this.arguments.push(e.arg),r=[ke("d",e.arg)]):r=[],e.type){case"argument":return this.options.biDiSupport?(i=String(r[0]),o=l,a=Se.test(o),s=JSON.stringify(a?"":""),"".concat(s," + ").concat(i," + ").concat(s)):String(r[0]);case"select":n="select",t&&this.options.strict&&(t=null),r.push(this.cases(e,t)),this.setRuntimeFn("select");break;case"selectordinal":n="plural",r.push(e.pluralOffset||0,c,this.cases(e,e),1),this.setLocale(c,!0),this.setRuntimeFn("plural");break;case"plural":n="plural",r.push(e.pluralOffset||0,c,this.cases(e,e)),this.setLocale(c,!1),this.setRuntimeFn("plural");break;case"function":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),ke("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(xe(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"),a=this.plural,s=a.getCardinal,u=a.getPlural,c=a.isDefault;if(!t&&c&&s){if(o)return;r=function(e){return s(e)},n="@messageformat/runtime/lib/cardinals",i=function(){return String(s)}}else{if(o&&(!c||o.module===Ee))return;r=function(e,t){return u(e,t)},n=c?Ee:u.module||null,i=function(){return String(u)}}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(ye[e],{id:e,module:"@messageformat/runtime",type:"runtime"}))},e.prototype.getFormatterArg=function(e,t){var r,n,i,o,a=this,s=e.key,u=e.param,c=this.options.customFormatters[s]||je(s)&&be[s];if(!c||!u)return null;var l="arg"in c&&c.arg||"string";if("options"===l){var f="";try{for(var h=v(u),p=h.next();!p.done;p=h.next()){var d=p.value;if("content"!==d.type)throw new SyntaxError("Expected literal options for ".concat(s," formatter"));f+=d.value}}catch(e){r={error:e}}finally{try{p&&!p.done&&(n=h.return)&&n.call(h)}finally{if(r)throw r.error}}var m={};try{for(var y=v(f.split(",")),g=y.next();!g.done;g=y.next()){var b=g.value,w=b.indexOf(":");if(-1===w)m[b.trim()]=null;else{var x=b.substring(0,w).trim(),k=b.substring(w+1).trim();if("true"===k)m[x]=!0;else if("false"===k)m[x]=!1;else if("null"===k)m[x]=null;else{var S=Number(k);m[x]=Number.isFinite(S)?S:k}}}}catch(e){i={error:e}}finally{try{g&&!g.done&&(o=y.return)&&o.call(y)}finally{if(i)throw i.error}}return JSON.stringify(m)}var E=u.map((function(e){return a.token(e,t)}));if("raw"===l)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:xe(t.id),module:t.module}:{id:null,module:null});else{if(!je(e))throw new Error("Formatting function not found: ".concat(e));this.runtime[e]=Object.assign(be[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,a=i&&1===i.length&&i[0];if(a&&"content"===a.type&&/^\s*::/.test(a.value)){var s=a.value.trim().substr(2),u=xe("date_".concat(o,"_").concat(s),!0);if(!this.runtimeIncludes(u,"formatter")){var c=function(e,t,r){"string"==typeof t&&(t=P(t));var n=F(t,void 0),i=new Intl.DateTimeFormat(e,n);return function(e){return i.format(e)}}(o,s);this.runtime[u]=Object.assign(c,{id:u,module:null,toString:function(){return function(e,t,r){"string"==typeof t&&(t=P(t));var n=F(t,void 0);return["(function() {","var opt = ".concat(JSON.stringify(n),";"),"var dtf = new Intl.DateTimeFormat(".concat(JSON.stringify(e),", opt);"),"return function(value) { return dtf.format(value); }"].join("\n ")+"\n})()"}(o,s)},type:"formatter"})}return u}if(t.push(JSON.stringify(o)),i&&i.length>0){r&&this.options.strict&&(r=null);var l=i.map((function(e){return n.token(e,r)}));t.push("("+(l.join(" + ")||'""')+").trim()")}return this.setFormatter("date"),"date"},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 a=i[0].value.trim();switch(a){case"currency":return t.push(JSON.stringify(this.options.currency)),this.setFormatter("numberCurrency"),"numberCurrency";case"integer":return this.setFormatter("numberInteger"),"numberInteger";case"percent":return this.setFormatter("numberPercent"),"numberPercent"}var s=a.match(/^currency:([A-Z]+)$/);if(s)return t.push(JSON.stringify(s[1])),this.setFormatter("numberCurrency"),"numberCurrency";var u=xe("number_".concat(o,"_").concat(a),!0);if(!this.runtimeIncludes(u,"formatter")){var c=this.options.currency,l=function(e,t,r,n){"string"==typeof t&&(t=0===t.indexOf("::")?re(t.slice(2),n):V(t,r,n));var i=q(e,t),o=H(t,n),a=function(e){var t=M(e),r=e.precision;return r&&"precision-increment"===r.style?function(e){return function(e,t){var r=+e+t/2;return r-r%+t}(e,r.increment)*t}:function(e){return e*t}}(t),s=new Intl.NumberFormat(i,o);if(t.affix){var u=p(t.affix.pos,2),c=u[0],l=u[1],f=p(t.affix.neg||["",""],2),h=f[0],d=f[1];return function(e){var t=s.format(a(e));return e<0?"".concat(h).concat(t).concat(d):"".concat(c).concat(t).concat(l)}}return function(e){return s.format(a(e))}}(o,a,c);this.runtime[u]=Object.assign(l,{id:null,module:null,toString:function(){return function(e,t,r,n){"string"==typeof t&&(t=0===t.indexOf("::")?re(t.slice(2),n):V(t,r,n));var i=q(e,t),o=H(t,n),a=function(e){var t=M(e),r=e.precision;if(r&&"precision-increment"===r.style){var n="+n + ".concat(r.increment/2),i="x - (x % +".concat(r.increment,")");return 1!==t&&(i="(".concat(i,") * ").concat(t)),"function(n) { var x = ".concat(n,"; return ").concat(i,"; }")}return 1!==t?"function(n) { return n * ".concat(t,"; }"):null}(t),s=["(function() {","var opt = ".concat(JSON.stringify(o),";"),"var nf = new Intl.NumberFormat(".concat(JSON.stringify(i),", opt);")],u="nf.format(value)";if(a&&(s.push("var mod = ".concat(a,";")),u="nf.format(mod(value))"),t.affix){var c=p(t.affix.pos.map((function(e){return JSON.stringify(e)})),2),l=c[0],f=c[1];if(t.affix.neg){var h=p(t.affix.neg.map((function(e){return JSON.stringify(e)})),2),d=h[0],m=h[1];u="value < 0 ? ".concat(d," + ").concat(u," + ").concat(m," : ").concat(l," + ").concat(u," + ").concat(f)}else u="".concat(l," + ").concat(u," + ").concat(f)}return s.push("return function(value) { return ".concat(u,"; }")),s.join("\n ")+"\n})()"}(o,a,c)},type:"formatter"})}return u}r&&this.options.strict&&(r=null);var 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 je(e){return e in be}var Ae=function(e){return 1==e?"one":"other"},Fe=function(e){return 0==e||1==e?"one":"other"},Te=function(e){return e>=0&&e<=1?"one":"other"},Ne=function(e){var t=!String(e).split(".")[1];return 1==e&&t?"one":"other"},_e=function(e){return"other"},Pe=function(e){return 1==e?"one":2==e?"two":"other"},De=Ae,Re=Fe,Be=Te,Le=Ae,Ce=Te,Ie=Ae,ze=Ne,Ue=Ae,qe=Ae,Me=Ae,He=Ae,Je=Ae,We=Fe,Ge=_e,$e=Te,Ke=_e,Ze=Ae,Ve=Ne,Xe=Ae,Ye=Ae,Qe=Ae,et=Ae,tt=Ne,rt=Te,nt=Ae,it=_e,ot=Ae,at=Ae,st=Ne,ut=Ae,ct=Ne,lt=Ae,ft=Te,ht=Ne,pt=Ae,dt=Ae,mt=Ne,yt=Ne,gt=Ae,vt=Te,bt=Fe,wt=Ae,xt=Ae,kt=Te,St=_e,Et=Ae,Ot=Ne,jt=_e,At=_e,Ft=_e,Tt=Ne,Nt=Pe,_t=_e,Pt=_e,Dt=Ae,Rt=Ae,Bt=_e,Lt=_e,Ct=Ae,It=Ae,zt=Ae,Ut=_e,qt=_e,Mt=Ae,Ht=Ae,Jt=Ae,Wt=_e,Gt=Te,$t=_e,Kt=Ae,Zt=Ae,Vt=Ae,Xt=Ae,Yt=Ae,Qt=Ae,er=Ne,tr=_e,rr=Fe,nr=_e,ir=Ae,or=Fe,ar=Ae,sr=Ae,ur=Ae,cr=Ae,lr=_e,fr=_e,hr=Ae,pr=Pe,dr=Ae,mr=Ae,yr=Ae,gr=Ne,vr=Ae,br=Ae,wr=Ae,xr=_e,kr=Ae,Sr=Fe,Er=Ae,Or=Ae,jr=Ae,Ar=Ae,Fr=Ae,Tr=_e,Nr=Fe,_r=Ae,Pr=Te,Dr=Ae,Rr=Ae,Br=Ae,Lr=Ae,Cr=_e,Ir=Ae,zr=Pe,Ur=Ne,qr=Ne,Mr=Ae,Hr=Ae,Jr=Pe,Wr=Ae,Gr=_e,$r=_e,Kr=Pe,Zr=Pe,Vr=Pe,Xr=Pe,Yr=Pe,Qr=Ae,en=Ae,tn=Ae,rn=Ae,nn=Ae,on=Ae,an=_e,sn=Ne,un=Ne,cn=Ae,ln=Ae,fn=Ae,hn=Ae,pn=_e,dn=Fe,mn=Ae,yn=Ae,gn=Ae,vn=_e,bn=_e,wn=Ae,xn=Ae,kn=Ae,Sn=_e,En=Ne,On=Ae,jn=Ae,An=_e,Fn=Ae,Tn=Ae,Nn=Fe,_n=Ae,Pn=_e,Dn=Ae,Rn=Ae,Bn=Ne,Ln=_e,Cn=_e,In=_e,zn=Te,Un=Object.freeze({__proto__:null,af:De,ak:Re,am:Be,an:Le,ar:function(e){var t=String(e).split("."),r=Number(t[0])==e&&t[0].slice(-2);return 0==e?"zero":1==e?"one":2==e?"two":r>=3&&r<=10?"few":r>=11&&r<=99?"many":"other"},ars:function(e){var t=String(e).split("."),r=Number(t[0])==e&&t[0].slice(-2);return 0==e?"zero":1==e?"one":2==e?"two":r>=3&&r<=10?"few":r>=11&&r<=99?"many":"other"},as:Ce,asa:Ie,ast:ze,az:Ue,bal:qe,be:function(e){var t=String(e).split("."),r=Number(t[0])==e,n=r&&t[0].slice(-1),i=r&&t[0].slice(-2);return 1==n&&11!=i?"one":n>=2&&n<=4&&(i<12||i>14)?"few":r&&0==n||n>=5&&n<=9||i>=11&&i<=14?"many":"other"},bem:Me,bez:He,bg:Je,bho:We,bm:Ge,bn:$e,bo:Ke,br:function(e){var t=String(e).split("."),r=Number(t[0])==e,n=r&&t[0].slice(-1),i=r&&t[0].slice(-2),o=r&&t[0].slice(-6);return 1==n&&11!=i&&71!=i&&91!=i?"one":2==n&&12!=i&&72!=i&&92!=i?"two":(3==n||4==n||9==n)&&(i<10||i>19)&&(i<70||i>79)&&(i<90||i>99)?"few":0!=e&&r&&0==o?"many":"other"},brx:Ze,bs:function(e){var t=String(e).split("."),r=t[0],n=t[1]||"",i=!t[1],o=r.slice(-1),a=r.slice(-2),s=n.slice(-1),u=n.slice(-2);return i&&1==o&&11!=a||1==s&&11!=u?"one":i&&o>=2&&o<=4&&(a<12||a>14)||s>=2&&s<=4&&(u<12||u>14)?"few":"other"},ca:Ve,ce:Xe,ceb:function(e){var t=String(e).split("."),r=t[0],n=t[1]||"",i=!t[1],o=r.slice(-1),a=n.slice(-1);return i&&(1==r||2==r||3==r)||i&&4!=o&&6!=o&&9!=o||!i&&4!=a&&6!=a&&9!=a?"one":"other"},cgg:Ye,chr:Qe,ckb:et,cs:function(e){var t=String(e).split("."),r=t[0],n=!t[1];return 1==e&&n?"one":r>=2&&r<=4&&n?"few":n?"other":"many"},cy:function(e){return 0==e?"zero":1==e?"one":2==e?"two":3==e?"few":6==e?"many":"other"},da:function(e){var t=String(e).split("."),r=t[0],n=Number(t[0])==e;return 1!=e&&(n||0!=r&&1!=r)?"other":"one"},de:tt,doi:rt,dsb:function(e){var t=String(e).split("."),r=t[0],n=t[1]||"",i=!t[1],o=r.slice(-2),a=n.slice(-2);return i&&1==o||1==a?"one":i&&2==o||2==a?"two":i&&(3==o||4==o)||3==a||4==a?"few":"other"},dv:nt,dz:it,ee:ot,el:at,en:st,eo:ut,es:function(e){var t=String(e).split("."),r=t[0],n=!t[1],i=r.slice(-6);return 1==e?"one":0!=r&&0==i&&n?"many":"other"},et:ct,eu:lt,fa:ft,ff:function(e){return e>=0&&e<2?"one":"other"},fi:ht,fil:function(e){var t=String(e).split("."),r=t[0],n=t[1]||"",i=!t[1],o=r.slice(-1),a=n.slice(-1);return i&&(1==r||2==r||3==r)||i&&4!=o&&6!=o&&9!=o||!i&&4!=a&&6!=a&&9!=a?"one":"other"},fo:pt,fr:function(e){var t=String(e).split("."),r=t[0],n=!t[1],i=r.slice(-6);return e>=0&&e<2?"one":0!=r&&0==i&&n?"many":"other"},fur:dt,fy:mt,ga:function(e){var t=String(e).split("."),r=Number(t[0])==e;return 1==e?"one":2==e?"two":r&&e>=3&&e<=6?"few":r&&e>=7&&e<=10?"many":"other"},gd:function(e){var t=String(e).split("."),r=Number(t[0])==e;return 1==e||11==e?"one":2==e||12==e?"two":r&&e>=3&&e<=10||r&&e>=13&&e<=19?"few":"other"},gl:yt,gsw:gt,gu:vt,guw:bt,gv:function(e){var t=String(e).split("."),r=t[0],n=!t[1],i=r.slice(-1),o=r.slice(-2);return n&&1==i?"one":n&&2==i?"two":!n||0!=o&&20!=o&&40!=o&&60!=o&&80!=o?n?"other":"many":"few"},ha:wt,haw:xt,he:function(e){var t=String(e).split("."),r=t[0],n=!t[1],i=Number(t[0])==e,o=i&&t[0].slice(-1);return 1==e&&n?"one":2==r&&n?"two":n&&(e<0||e>10)&&i&&0==o?"many":"other"},hi:kt,hnj:St,hr:function(e){var t=String(e).split("."),r=t[0],n=t[1]||"",i=!t[1],o=r.slice(-1),a=r.slice(-2),s=n.slice(-1),u=n.slice(-2);return i&&1==o&&11!=a||1==s&&11!=u?"one":i&&o>=2&&o<=4&&(a<12||a>14)||s>=2&&s<=4&&(u<12||u>14)?"few":"other"},hsb:function(e){var t=String(e).split("."),r=t[0],n=t[1]||"",i=!t[1],o=r.slice(-2),a=n.slice(-2);return i&&1==o||1==a?"one":i&&2==o||2==a?"two":i&&(3==o||4==o)||3==a||4==a?"few":"other"},hu:Et,hy:function(e){return e>=0&&e<2?"one":"other"},ia:Ot,id:jt,ig:At,ii:Ft,io:Tt,is:function(e){var t=String(e).split("."),r=t[0],n=Number(t[0])==e,i=r.slice(-1),o=r.slice(-2);return n&&1==i&&11!=o||!n?"one":"other"},it:function(e){var t=String(e).split("."),r=t[0],n=!t[1],i=r.slice(-6);return 1==e&&n?"one":0!=r&&0==i&&n?"many":"other"},iu:Nt,ja:_t,jbo:Pt,jgo:Dt,jmc:Rt,jv:Bt,jw:Lt,ka:Ct,kab:function(e){return e>=0&&e<2?"one":"other"},kaj:It,kcg:zt,kde:Ut,kea:qt,kk:Mt,kkj:Ht,kl:Jt,km:Wt,kn:Gt,ko:$t,ks:Kt,ksb:Zt,ksh:function(e){return 0==e?"zero":1==e?"one":"other"},ku:Vt,kw:function(e){var t=String(e).split("."),r=Number(t[0])==e,n=r&&t[0].slice(-2),i=r&&t[0].slice(-3),o=r&&t[0].slice(-5),a=r&&t[0].slice(-6);return 0==e?"zero":1==e?"one":2==n||22==n||42==n||62==n||82==n||r&&0==i&&(o>=1e3&&o<=2e4||4e4==o||6e4==o||8e4==o)||0!=e&&1e5==a?"two":3==n||23==n||43==n||63==n||83==n?"few":1==e||1!=n&&21!=n&&41!=n&&61!=n&&81!=n?"other":"many"},ky:Xt,lag:function(e){var t=String(e).split(".")[0];return 0==e?"zero":0!=t&&1!=t||0==e?"other":"one"},lb:Yt,lg:Qt,lij:er,lkt:tr,ln:rr,lo:nr,lt:function(e){var t=String(e).split("."),r=t[1]||"",n=Number(t[0])==e,i=n&&t[0].slice(-1),o=n&&t[0].slice(-2);return 1==i&&(o<11||o>19)?"one":i>=2&&i<=9&&(o<11||o>19)?"few":0!=r?"many":"other"},lv:function(e){var t=String(e).split("."),r=t[1]||"",n=r.length,i=Number(t[0])==e,o=i&&t[0].slice(-1),a=i&&t[0].slice(-2),s=r.slice(-2),u=r.slice(-1);return i&&0==o||a>=11&&a<=19||2==n&&s>=11&&s<=19?"zero":1==o&&11!=a||2==n&&1==u&&11!=s||2!=n&&1==u?"one":"other"},mas:ir,mg:or,mgo:ar,mk:function(e){var t=String(e).split("."),r=t[0],n=t[1]||"",i=!t[1],o=r.slice(-1),a=r.slice(-2),s=n.slice(-1),u=n.slice(-2);return i&&1==o&&11!=a||1==s&&11!=u?"one":"other"},ml:sr,mn:ur,mo:function(e){var t=String(e).split("."),r=!t[1],n=Number(t[0])==e&&t[0].slice(-2);return 1==e&&r?"one":!r||0==e||n>=2&&n<=19?"few":"other"},mr:cr,ms:lr,mt:function(e){var t=String(e).split("."),r=Number(t[0])==e&&t[0].slice(-2);return 1==e?"one":0==e||r>=2&&r<=10?"few":r>=11&&r<=19?"many":"other"},my:fr,nah:hr,naq:pr,nb:dr,nd:mr,ne:yr,nl:gr,nn:vr,nnh:br,no:wr,nqo:xr,nr:kr,nso:Sr,ny:Er,nyn:Or,om:jr,or:Ar,os:Fr,osa:Tr,pa:Nr,pap:_r,pcm:Pr,pl:function(e){var t=String(e).split("."),r=t[0],n=!t[1],i=r.slice(-1),o=r.slice(-2);return 1==e&&n?"one":n&&i>=2&&i<=4&&(o<12||o>14)?"few":n&&1!=r&&(0==i||1==i)||n&&i>=5&&i<=9||n&&o>=12&&o<=14?"many":"other"},prg:function(e){var t=String(e).split("."),r=t[1]||"",n=r.length,i=Number(t[0])==e,o=i&&t[0].slice(-1),a=i&&t[0].slice(-2),s=r.slice(-2),u=r.slice(-1);return i&&0==o||a>=11&&a<=19||2==n&&s>=11&&s<=19?"zero":1==o&&11!=a||2==n&&1==u&&11!=s||2!=n&&1==u?"one":"other"},ps:Dr,pt:function(e){var t=String(e).split("."),r=t[0],n=!t[1],i=r.slice(-6);return 0==r||1==r?"one":0!=r&&0==i&&n?"many":"other"},pt_PT:function(e){var t=String(e).split("."),r=t[0],n=!t[1],i=r.slice(-6);return 1==e&&n?"one":0!=r&&0==i&&n?"many":"other"},rm:Rr,ro:function(e){var t=String(e).split("."),r=!t[1],n=Number(t[0])==e&&t[0].slice(-2);return 1==e&&r?"one":!r||0==e||n>=2&&n<=19?"few":"other"},rof:Br,ru:function(e){var t=String(e).split("."),r=t[0],n=!t[1],i=r.slice(-1),o=r.slice(-2);return n&&1==i&&11!=o?"one":n&&i>=2&&i<=4&&(o<12||o>14)?"few":n&&0==i||n&&i>=5&&i<=9||n&&o>=11&&o<=14?"many":"other"},rwk:Lr,sah:Cr,saq:Ir,sat:zr,sc:Ur,scn:qr,sd:Mr,sdh:Hr,se:Jr,seh:Wr,ses:Gr,sg:$r,sh:function(e){var t=String(e).split("."),r=t[0],n=t[1]||"",i=!t[1],o=r.slice(-1),a=r.slice(-2),s=n.slice(-1),u=n.slice(-2);return i&&1==o&&11!=a||1==s&&11!=u?"one":i&&o>=2&&o<=4&&(a<12||a>14)||s>=2&&s<=4&&(u<12||u>14)?"few":"other"},shi:function(e){var t=String(e).split("."),r=Number(t[0])==e;return e>=0&&e<=1?"one":r&&e>=2&&e<=10?"few":"other"},si:function(e){var t=String(e).split("."),r=t[0],n=t[1]||"";return 0==e||1==e||0==r&&1==n?"one":"other"},sk:function(e){var t=String(e).split("."),r=t[0],n=!t[1];return 1==e&&n?"one":r>=2&&r<=4&&n?"few":n?"other":"many"},sl:function(e){var t=String(e).split("."),r=t[0],n=!t[1],i=r.slice(-2);return n&&1==i?"one":n&&2==i?"two":n&&(3==i||4==i)||!n?"few":"other"},sma:Kr,smi:Zr,smj:Vr,smn:Xr,sms:Yr,sn:Qr,so:en,sq:tn,sr:function(e){var t=String(e).split("."),r=t[0],n=t[1]||"",i=!t[1],o=r.slice(-1),a=r.slice(-2),s=n.slice(-1),u=n.slice(-2);return i&&1==o&&11!=a||1==s&&11!=u?"one":i&&o>=2&&o<=4&&(a<12||a>14)||s>=2&&s<=4&&(u<12||u>14)?"few":"other"},ss:rn,ssy:nn,st:on,su:an,sv:sn,sw:un,syr:cn,ta:ln,te:fn,teo:hn,th:pn,ti:dn,tig:mn,tk:yn,tl:function(e){var t=String(e).split("."),r=t[0],n=t[1]||"",i=!t[1],o=r.slice(-1),a=n.slice(-1);return i&&(1==r||2==r||3==r)||i&&4!=o&&6!=o&&9!=o||!i&&4!=a&&6!=a&&9!=a?"one":"other"},tn:gn,to:vn,tpi:bn,tr:wn,ts:xn,tzm:function(e){var t=String(e).split("."),r=Number(t[0])==e;return 0==e||1==e||r&&e>=11&&e<=99?"one":"other"},ug:kn,uk:function(e){var t=String(e).split("."),r=t[0],n=!t[1],i=r.slice(-1),o=r.slice(-2);return n&&1==i&&11!=o?"one":n&&i>=2&&i<=4&&(o<12||o>14)?"few":n&&0==i||n&&i>=5&&i<=9||n&&o>=11&&o<=14?"many":"other"},und:Sn,ur:En,uz:On,ve:jn,vi:An,vo:Fn,vun:Tn,wa:Nn,wae:_n,wo:Pn,xh:Dn,xog:Rn,yi:Bn,yo:Ln,yue:Cn,zh:In,zu:zn}),qn="zero",Mn="one",Hn="two",Jn="few",Wn="many",Gn="other",$n={cardinal:[Mn,Gn],ordinal:[Gn]},Kn={cardinal:[Mn,Gn],ordinal:[Mn,Gn]},Zn={cardinal:[Gn],ordinal:[Gn]},Vn={cardinal:[Mn,Jn,Wn,Gn],ordinal:[Gn]},Xn={cardinal:[Mn,Hn,Gn],ordinal:[Gn]},Yn=$n,Qn=$n,ei=$n,ti=$n,ri={cardinal:[qn,Mn,Hn,Jn,Wn,Gn],ordinal:[Gn]},ni={cardinal:[qn,Mn,Hn,Jn,Wn,Gn],ordinal:[Gn]},ii={cardinal:[Mn,Gn],ordinal:[Mn,Hn,Jn,Wn,Gn]},oi=$n,ai=$n,si={cardinal:[Mn,Gn],ordinal:[Mn,Jn,Wn,Gn]},ui=Kn,ci={cardinal:[Mn,Jn,Wn,Gn],ordinal:[Jn,Gn]},li=$n,fi=$n,hi=$n,pi=$n,di=Zn,mi={cardinal:[Mn,Gn],ordinal:[Mn,Hn,Jn,Wn,Gn]},yi=Zn,gi={cardinal:[Mn,Hn,Jn,Wn,Gn],ordinal:[Gn]},vi=$n,bi={cardinal:[Mn,Jn,Gn],ordinal:[Gn]},wi={cardinal:[Mn,Gn],ordinal:[Mn,Hn,Jn,Gn]},xi=$n,ki=$n,Si=$n,Ei=$n,Oi=$n,ji=Vn,Ai={cardinal:[qn,Mn,Hn,Jn,Wn,Gn],ordinal:[qn,Mn,Hn,Jn,Wn,Gn]},Fi=$n,Ti=$n,Ni=$n,_i={cardinal:[Mn,Hn,Jn,Gn],ordinal:[Gn]},Pi=$n,Di=Zn,Ri=$n,Bi=$n,Li={cardinal:[Mn,Gn],ordinal:[Mn,Hn,Jn,Gn]},Ci=$n,Ii={cardinal:[Mn,Wn,Gn],ordinal:[Gn]},zi=$n,Ui=$n,qi=$n,Mi=$n,Hi=$n,Ji=Kn,Wi=$n,Gi={cardinal:[Mn,Wn,Gn],ordinal:[Mn,Gn]},$i=$n,Ki=$n,Zi={cardinal:[Mn,Hn,Jn,Wn,Gn],ordinal:[Mn,Gn]},Vi={cardinal:[Mn,Hn,Jn,Gn],ordinal:[Mn,Hn,Jn,Gn]},Xi=$n,Yi=$n,Qi={cardinal:[Mn,Gn],ordinal:[Mn,Hn,Jn,Wn,Gn]},eo=$n,to={cardinal:[Mn,Hn,Jn,Wn,Gn],ordinal:[Gn]},ro=$n,no=$n,io={cardinal:[Mn,Hn,Wn,Gn],ordinal:[Gn]},oo={cardinal:[Mn,Gn],ordinal:[Mn,Hn,Jn,Wn,Gn]},ao=Zn,so={cardinal:[Mn,Jn,Gn],ordinal:[Gn]},uo={cardinal:[Mn,Hn,Jn,Gn],ordinal:[Gn]},co=Kn,lo=Kn,fo=$n,ho=Zn,po=Zn,mo=Zn,yo=$n,go=$n,vo={cardinal:[Mn,Wn,Gn],ordinal:[Wn,Gn]},bo=Xn,wo=Zn,xo=Zn,ko=$n,So=$n,Eo=Zn,Oo=Zn,jo={cardinal:[Mn,Gn],ordinal:[Mn,Wn,Gn]},Ao=$n,Fo=$n,To=$n,No=Zn,_o=Zn,Po={cardinal:[Mn,Gn],ordinal:[Wn,Gn]},Do=$n,Ro=$n,Bo=Zn,Lo=$n,Co=Zn,Io=$n,zo=$n,Uo={cardinal:[qn,Mn,Gn],ordinal:[Gn]},qo=$n,Mo={cardinal:[qn,Mn,Hn,Jn,Wn,Gn],ordinal:[Mn,Wn,Gn]},Ho=$n,Jo={cardinal:[qn,Mn,Gn],ordinal:[Gn]},Wo=$n,Go=$n,$o={cardinal:[Mn,Gn],ordinal:[Wn,Gn]},Ko=Zn,Zo=$n,Vo={cardinal:[Gn],ordinal:[Mn,Gn]},Xo=Vn,Yo={cardinal:[qn,Mn,Gn],ordinal:[Gn]},Qo=$n,ea=$n,ta=$n,ra={cardinal:[Mn,Gn],ordinal:[Mn,Hn,Wn,Gn]},na=$n,ia=$n,oa={cardinal:[Mn,Jn,Gn],ordinal:[Mn,Gn]},aa={cardinal:[Mn,Gn],ordinal:[Mn,Hn,Jn,Gn]},sa={cardinal:[Gn],ordinal:[Mn,Gn]},ua=Vn,ca=Zn,la=$n,fa=Xn,ha=$n,pa=$n,da=Kn,ma=$n,ya=$n,ga=$n,va=$n,ba=Zn,wa=$n,xa=$n,ka=$n,Sa=$n,Ea=$n,Oa={cardinal:[Mn,Gn],ordinal:[Mn,Hn,Jn,Wn,Gn]},ja=$n,Aa=Zn,Fa=$n,Ta=$n,Na=$n,_a=Vn,Pa={cardinal:[qn,Mn,Gn],ordinal:[Gn]},Da=$n,Ra={cardinal:[Mn,Wn,Gn],ordinal:[Gn]},Ba={cardinal:[Mn,Wn,Gn],ordinal:[Gn]},La=$n,Ca={cardinal:[Mn,Jn,Gn],ordinal:[Mn,Gn]},Ia=$n,za=Vn,Ua=$n,qa=Zn,Ma=$n,Ha=Xn,Ja={cardinal:[Mn,Gn],ordinal:[Wn,Gn]},Wa={cardinal:[Mn,Gn],ordinal:[Wn,Gn]},Ga=$n,$a=$n,Ka=Xn,Za=$n,Va=Zn,Xa=Zn,Ya={cardinal:[Mn,Jn,Gn],ordinal:[Gn]},Qa={cardinal:[Mn,Jn,Gn],ordinal:[Gn]},es=$n,ts=Vn,rs={cardinal:[Mn,Hn,Jn,Gn],ordinal:[Gn]},ns=Xn,is=Xn,os=Xn,as=Xn,ss=Xn,us=$n,cs=$n,ls={cardinal:[Mn,Gn],ordinal:[Mn,Wn,Gn]},fs={cardinal:[Mn,Jn,Gn],ordinal:[Gn]},hs=$n,ps=$n,ds=$n,ms=Zn,ys=Kn,gs=$n,vs=$n,bs=$n,ws=$n,xs=$n,ks=Zn,Ss=$n,Es=$n,Os={cardinal:[Mn,Gn],ordinal:[Jn,Gn]},js=Kn,As=$n,Fs=Zn,Ts=Zn,Ns=$n,_s=$n,Ps=$n,Ds=$n,Rs={cardinal:[Mn,Jn,Wn,Gn],ordinal:[Jn,Gn]},Bs=Zn,Ls=$n,Cs=$n,Is=$n,zs={cardinal:[Gn],ordinal:[Mn,Gn]},Us=$n,qs=$n,Ms=$n,Hs=$n,Js=Zn,Ws=$n,Gs=$n,$s=$n,Ks=Zn,Zs=Zn,Vs=Zn,Xs=$n,Ys=Object.freeze({__proto__:null,af:Yn,ak:Qn,am:ei,an:ti,ar:ri,ars:ni,as:ii,asa:oi,ast:ai,az:si,bal:ui,be:ci,bem:li,bez:fi,bg:hi,bho:pi,bm:di,bn:mi,bo:yi,br:gi,brx:vi,bs:bi,ca:wi,ce:xi,ceb:ki,cgg:Si,chr:Ei,ckb:Oi,cs:ji,cy:Ai,da:Fi,de:Ti,doi:Ni,dsb:_i,dv:Pi,dz:Di,ee:Ri,el:Bi,en:Li,eo:Ci,es:Ii,et:zi,eu:Ui,fa:qi,ff:Mi,fi:Hi,fil:Ji,fo:Wi,fr:Gi,fur:$i,fy:Ki,ga:Zi,gd:Vi,gl:Xi,gsw:Yi,gu:Qi,guw:eo,gv:to,ha:ro,haw:no,he:io,hi:oo,hnj:ao,hr:so,hsb:uo,hu:co,hy:lo,ia:fo,id:ho,ig:po,ii:mo,io:yo,is:go,it:vo,iu:bo,ja:wo,jbo:xo,jgo:ko,jmc:So,jv:Eo,jw:Oo,ka:jo,kab:Ao,kaj:Fo,kcg:To,kde:No,kea:_o,kk:Po,kkj:Do,kl:Ro,km:Bo,kn:Lo,ko:Co,ks:Io,ksb:zo,ksh:Uo,ku:qo,kw:Mo,ky:Ho,lag:Jo,lb:Wo,lg:Go,lij:$o,lkt:Ko,ln:Zo,lo:Vo,lt:Xo,lv:Yo,mas:Qo,mg:ea,mgo:ta,mk:ra,ml:na,mn:ia,mo:oa,mr:aa,ms:sa,mt:ua,my:ca,nah:la,naq:fa,nb:ha,nd:pa,ne:da,nl:ma,nn:ya,nnh:ga,no:va,nqo:ba,nr:wa,nso:xa,ny:ka,nyn:Sa,om:Ea,or:Oa,os:ja,osa:Aa,pa:Fa,pap:Ta,pcm:Na,pl:_a,prg:Pa,ps:Da,pt:Ra,pt_PT:Ba,rm:La,ro:Ca,rof:Ia,ru:za,rwk:Ua,sah:qa,saq:Ma,sat:Ha,sc:Ja,scn:Wa,sd:Ga,sdh:$a,se:Ka,seh:Za,ses:Va,sg:Xa,sh:Ya,shi:Qa,si:es,sk:ts,sl:rs,sma:ns,smi:is,smj:os,smn:as,sms:ss,sn:us,so:cs,sq:ls,sr:fs,ss:hs,ssy:ps,st:ds,su:ms,sv:ys,sw:gs,syr:vs,ta:bs,te:ws,teo:xs,th:ks,ti:Ss,tig:Es,tk:Os,tl:js,tn:As,to:Fs,tpi:Ts,tr:Ns,ts:_s,tzm:Ps,ug:Ds,uk:Rs,und:Bs,ur:Ls,uz:Cs,ve:Is,vi:zs,vo:Us,vun:qs,wa:Ms,wae:Hs,wo:Js,xh:Ws,xog:Gs,yi:$s,yo:Ks,yue:Zs,zh:Vs,zu:Xs}),Qs=function(e,t){return t?"other":1==e?"one":"other"},eu=function(e,t){return t?"other":0==e||1==e?"one":"other"},tu=function(e,t){return t?"other":e>=0&&e<=1?"one":"other"},ru=function(e,t){var r=!String(e).split(".")[1];return t?"other":1==e&&r?"one":"other"},nu=function(e,t){return"other"},iu=function(e,t){return t?"other":1==e?"one":2==e?"two":"other"},ou=Qs,au=eu,su=tu,uu=Qs,cu=Qs,lu=ru,fu=Qs,hu=Qs,pu=Qs,du=eu,mu=nu,yu=nu,gu=Qs,vu=Qs,bu=Qs,wu=Qs,xu=Qs,ku=ru,Su=tu,Eu=Qs,Ou=nu,ju=Qs,Au=Qs,Fu=Qs,Tu=ru,Nu=Qs,_u=tu,Pu=ru,Du=Qs,Ru=Qs,Bu=ru,Lu=ru,Cu=Qs,Iu=eu,zu=Qs,Uu=Qs,qu=nu,Mu=ru,Hu=nu,Ju=nu,Wu=nu,Gu=ru,$u=iu,Ku=nu,Zu=nu,Vu=Qs,Xu=Qs,Yu=nu,Qu=nu,ec=Qs,tc=Qs,rc=nu,nc=nu,ic=Qs,oc=Qs,ac=nu,sc=tu,uc=nu,cc=Qs,lc=Qs,fc=Qs,hc=Qs,pc=Qs,dc=Qs,mc=nu,yc=eu,gc=Qs,vc=eu,bc=Qs,wc=Qs,xc=Qs,kc=nu,Sc=Qs,Ec=iu,Oc=Qs,jc=Qs,Ac=ru,Fc=Qs,Tc=Qs,Nc=Qs,_c=nu,Pc=Qs,Dc=eu,Rc=Qs,Bc=Qs,Lc=Qs,Cc=Qs,Ic=nu,zc=eu,Uc=Qs,qc=tu,Mc=Qs,Hc=Qs,Jc=Qs,Wc=Qs,Gc=nu,$c=Qs,Kc=iu,Zc=Qs,Vc=Qs,Xc=iu,Yc=Qs,Qc=nu,el=nu,tl=iu,rl=iu,nl=iu,il=iu,ol=iu,al=Qs,sl=Qs,ul=Qs,cl=Qs,ll=Qs,fl=nu,hl=ru,pl=Qs,dl=Qs,ml=Qs,yl=Qs,gl=nu,vl=eu,bl=Qs,wl=Qs,xl=nu,kl=nu,Sl=Qs,El=Qs,Ol=Qs,jl=nu,Al=ru,Fl=Qs,Tl=Qs,Nl=Qs,_l=Qs,Pl=eu,Dl=Qs,Rl=nu,Bl=Qs,Ll=Qs,Cl=ru,Il=nu,zl=nu,Ul=nu,ql=tu,Ml=Object.freeze({__proto__:null,af:ou,ak:au,am:su,an:uu,ar:function(e,t){var r=String(e).split("."),n=Number(r[0])==e&&r[0].slice(-2);return t?"other":0==e?"zero":1==e?"one":2==e?"two":n>=3&&n<=10?"few":n>=11&&n<=99?"many":"other"},ars:function(e,t){var r=String(e).split("."),n=Number(r[0])==e&&r[0].slice(-2);return t?"other":0==e?"zero":1==e?"one":2==e?"two":n>=3&&n<=10?"few":n>=11&&n<=99?"many":"other"},as:function(e,t){return t?1==e||5==e||7==e||8==e||9==e||10==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other"},asa:cu,ast:lu,az:function(e,t){var r=String(e).split(".")[0],n=r.slice(-1),i=r.slice(-2),o=r.slice(-3);return t?1==n||2==n||5==n||7==n||8==n||20==i||50==i||70==i||80==i?"one":3==n||4==n||100==o||200==o||300==o||400==o||500==o||600==o||700==o||800==o||900==o?"few":0==r||6==n||40==i||60==i||90==i?"many":"other":1==e?"one":"other"},bal:function(e,t){return 1==e?"one":"other"},be:function(e,t){var r=String(e).split("."),n=Number(r[0])==e,i=n&&r[0].slice(-1),o=n&&r[0].slice(-2);return t?2!=i&&3!=i||12==o||13==o?"other":"few":1==i&&11!=o?"one":i>=2&&i<=4&&(o<12||o>14)?"few":n&&0==i||i>=5&&i<=9||o>=11&&o<=14?"many":"other"},bem:fu,bez:hu,bg:pu,bho:du,bm:mu,bn:function(e,t){return t?1==e||5==e||7==e||8==e||9==e||10==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other"},bo:yu,br:function(e,t){var r=String(e).split("."),n=Number(r[0])==e,i=n&&r[0].slice(-1),o=n&&r[0].slice(-2),a=n&&r[0].slice(-6);return t?"other":1==i&&11!=o&&71!=o&&91!=o?"one":2==i&&12!=o&&72!=o&&92!=o?"two":(3==i||4==i||9==i)&&(o<10||o>19)&&(o<70||o>79)&&(o<90||o>99)?"few":0!=e&&n&&0==a?"many":"other"},brx:gu,bs:function(e,t){var r=String(e).split("."),n=r[0],i=r[1]||"",o=!r[1],a=n.slice(-1),s=n.slice(-2),u=i.slice(-1),c=i.slice(-2);return t?"other":o&&1==a&&11!=s||1==u&&11!=c?"one":o&&a>=2&&a<=4&&(s<12||s>14)||u>=2&&u<=4&&(c<12||c>14)?"few":"other"},ca:function(e,t){var r=!String(e).split(".")[1];return t?1==e||3==e?"one":2==e?"two":4==e?"few":"other":1==e&&r?"one":"other"},ce:vu,ceb:function(e,t){var r=String(e).split("."),n=r[0],i=r[1]||"",o=!r[1],a=n.slice(-1),s=i.slice(-1);return t?"other":o&&(1==n||2==n||3==n)||o&&4!=a&&6!=a&&9!=a||!o&&4!=s&&6!=s&&9!=s?"one":"other"},cgg:bu,chr:wu,ckb:xu,cs:function(e,t){var r=String(e).split("."),n=r[0],i=!r[1];return t?"other":1==e&&i?"one":n>=2&&n<=4&&i?"few":i?"other":"many"},cy:function(e,t){return t?0==e||7==e||8==e||9==e?"zero":1==e?"one":2==e?"two":3==e||4==e?"few":5==e||6==e?"many":"other":0==e?"zero":1==e?"one":2==e?"two":3==e?"few":6==e?"many":"other"},da:function(e,t){var r=String(e).split("."),n=r[0],i=Number(r[0])==e;return t||1!=e&&(i||0!=n&&1!=n)?"other":"one"},de:ku,doi:Su,dsb:function(e,t){var r=String(e).split("."),n=r[0],i=r[1]||"",o=!r[1],a=n.slice(-2),s=i.slice(-2);return t?"other":o&&1==a||1==s?"one":o&&2==a||2==s?"two":o&&(3==a||4==a)||3==s||4==s?"few":"other"},dv:Eu,dz:Ou,ee:ju,el:Au,en:function(e,t){var r=String(e).split("."),n=!r[1],i=Number(r[0])==e,o=i&&r[0].slice(-1),a=i&&r[0].slice(-2);return t?1==o&&11!=a?"one":2==o&&12!=a?"two":3==o&&13!=a?"few":"other":1==e&&n?"one":"other"},eo:Fu,es:function(e,t){var r=String(e).split("."),n=r[0],i=!r[1],o=n.slice(-6);return t?"other":1==e?"one":0!=n&&0==o&&i?"many":"other"},et:Tu,eu:Nu,fa:_u,ff:function(e,t){return t?"other":e>=0&&e<2?"one":"other"},fi:Pu,fil:function(e,t){var r=String(e).split("."),n=r[0],i=r[1]||"",o=!r[1],a=n.slice(-1),s=i.slice(-1);return t?1==e?"one":"other":o&&(1==n||2==n||3==n)||o&&4!=a&&6!=a&&9!=a||!o&&4!=s&&6!=s&&9!=s?"one":"other"},fo:Du,fr:function(e,t){var r=String(e).split("."),n=r[0],i=!r[1],o=n.slice(-6);return t?1==e?"one":"other":e>=0&&e<2?"one":0!=n&&0==o&&i?"many":"other"},fur:Ru,fy:Bu,ga:function(e,t){var r=String(e).split("."),n=Number(r[0])==e;return t?1==e?"one":"other":1==e?"one":2==e?"two":n&&e>=3&&e<=6?"few":n&&e>=7&&e<=10?"many":"other"},gd:function(e,t){var r=String(e).split("."),n=Number(r[0])==e;return t?1==e||11==e?"one":2==e||12==e?"two":3==e||13==e?"few":"other":1==e||11==e?"one":2==e||12==e?"two":n&&e>=3&&e<=10||n&&e>=13&&e<=19?"few":"other"},gl:Lu,gsw:Cu,gu:function(e,t){return t?1==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other"},guw:Iu,gv:function(e,t){var r=String(e).split("."),n=r[0],i=!r[1],o=n.slice(-1),a=n.slice(-2);return t?"other":i&&1==o?"one":i&&2==o?"two":!i||0!=a&&20!=a&&40!=a&&60!=a&&80!=a?i?"other":"many":"few"},ha:zu,haw:Uu,he:function(e,t){var r=String(e).split("."),n=r[0],i=!r[1],o=Number(r[0])==e,a=o&&r[0].slice(-1);return t?"other":1==e&&i?"one":2==n&&i?"two":i&&(e<0||e>10)&&o&&0==a?"many":"other"},hi:function(e,t){return t?1==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other"},hnj:qu,hr:function(e,t){var r=String(e).split("."),n=r[0],i=r[1]||"",o=!r[1],a=n.slice(-1),s=n.slice(-2),u=i.slice(-1),c=i.slice(-2);return t?"other":o&&1==a&&11!=s||1==u&&11!=c?"one":o&&a>=2&&a<=4&&(s<12||s>14)||u>=2&&u<=4&&(c<12||c>14)?"few":"other"},hsb:function(e,t){var r=String(e).split("."),n=r[0],i=r[1]||"",o=!r[1],a=n.slice(-2),s=i.slice(-2);return t?"other":o&&1==a||1==s?"one":o&&2==a||2==s?"two":o&&(3==a||4==a)||3==s||4==s?"few":"other"},hu:function(e,t){return t?1==e||5==e?"one":"other":1==e?"one":"other"},hy:function(e,t){return t?1==e?"one":"other":e>=0&&e<2?"one":"other"},ia:Mu,id:Hu,ig:Ju,ii:Wu,io:Gu,is:function(e,t){var r=String(e).split("."),n=r[0],i=Number(r[0])==e,o=n.slice(-1),a=n.slice(-2);return t?"other":i&&1==o&&11!=a||!i?"one":"other"},it:function(e,t){var r=String(e).split("."),n=r[0],i=!r[1],o=n.slice(-6);return t?11==e||8==e||80==e||800==e?"many":"other":1==e&&i?"one":0!=n&&0==o&&i?"many":"other"},iu:$u,ja:Ku,jbo:Zu,jgo:Vu,jmc:Xu,jv:Yu,jw:Qu,ka:function(e,t){var r=String(e).split(".")[0],n=r.slice(-2);return t?1==r?"one":0==r||n>=2&&n<=20||40==n||60==n||80==n?"many":"other":1==e?"one":"other"},kab:function(e,t){return t?"other":e>=0&&e<2?"one":"other"},kaj:ec,kcg:tc,kde:rc,kea:nc,kk:function(e,t){var r=String(e).split("."),n=Number(r[0])==e,i=n&&r[0].slice(-1);return t?6==i||9==i||n&&0==i&&0!=e?"many":"other":1==e?"one":"other"},kkj:ic,kl:oc,km:ac,kn:sc,ko:uc,ks:cc,ksb:lc,ksh:function(e,t){return t?"other":0==e?"zero":1==e?"one":"other"},ku:fc,kw:function(e,t){var r=String(e).split("."),n=Number(r[0])==e,i=n&&r[0].slice(-2),o=n&&r[0].slice(-3),a=n&&r[0].slice(-5),s=n&&r[0].slice(-6);return t?n&&e>=1&&e<=4||i>=1&&i<=4||i>=21&&i<=24||i>=41&&i<=44||i>=61&&i<=64||i>=81&&i<=84?"one":5==e||5==i?"many":"other":0==e?"zero":1==e?"one":2==i||22==i||42==i||62==i||82==i||n&&0==o&&(a>=1e3&&a<=2e4||4e4==a||6e4==a||8e4==a)||0!=e&&1e5==s?"two":3==i||23==i||43==i||63==i||83==i?"few":1==e||1!=i&&21!=i&&41!=i&&61!=i&&81!=i?"other":"many"},ky:hc,lag:function(e,t){var r=String(e).split(".")[0];return t?"other":0==e?"zero":0!=r&&1!=r||0==e?"other":"one"},lb:pc,lg:dc,lij:function(e,t){var r=String(e).split("."),n=!r[1],i=Number(r[0])==e;return t?11==e||8==e||i&&e>=80&&e<=89||i&&e>=800&&e<=899?"many":"other":1==e&&n?"one":"other"},lkt:mc,ln:yc,lo:function(e,t){return t&&1==e?"one":"other"},lt:function(e,t){var r=String(e).split("."),n=r[1]||"",i=Number(r[0])==e,o=i&&r[0].slice(-1),a=i&&r[0].slice(-2);return t?"other":1==o&&(a<11||a>19)?"one":o>=2&&o<=9&&(a<11||a>19)?"few":0!=n?"many":"other"},lv:function(e,t){var r=String(e).split("."),n=r[1]||"",i=n.length,o=Number(r[0])==e,a=o&&r[0].slice(-1),s=o&&r[0].slice(-2),u=n.slice(-2),c=n.slice(-1);return t?"other":o&&0==a||s>=11&&s<=19||2==i&&u>=11&&u<=19?"zero":1==a&&11!=s||2==i&&1==c&&11!=u||2!=i&&1==c?"one":"other"},mas:gc,mg:vc,mgo:bc,mk:function(e,t){var r=String(e).split("."),n=r[0],i=r[1]||"",o=!r[1],a=n.slice(-1),s=n.slice(-2),u=i.slice(-1),c=i.slice(-2);return t?1==a&&11!=s?"one":2==a&&12!=s?"two":7!=a&&8!=a||17==s||18==s?"other":"many":o&&1==a&&11!=s||1==u&&11!=c?"one":"other"},ml:wc,mn:xc,mo:function(e,t){var r=String(e).split("."),n=!r[1],i=Number(r[0])==e&&r[0].slice(-2);return t?1==e?"one":"other":1==e&&n?"one":!n||0==e||i>=2&&i<=19?"few":"other"},mr:function(e,t){return t?1==e?"one":2==e||3==e?"two":4==e?"few":"other":1==e?"one":"other"},ms:function(e,t){return t&&1==e?"one":"other"},mt:function(e,t){var r=String(e).split("."),n=Number(r[0])==e&&r[0].slice(-2);return t?"other":1==e?"one":0==e||n>=2&&n<=10?"few":n>=11&&n<=19?"many":"other"},my:kc,nah:Sc,naq:Ec,nb:Oc,nd:jc,ne:function(e,t){var r=String(e).split("."),n=Number(r[0])==e;return t?n&&e>=1&&e<=4?"one":"other":1==e?"one":"other"},nl:Ac,nn:Fc,nnh:Tc,no:Nc,nqo:_c,nr:Pc,nso:Dc,ny:Rc,nyn:Bc,om:Lc,or:function(e,t){var r=String(e).split("."),n=Number(r[0])==e;return t?1==e||5==e||n&&e>=7&&e<=9?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":1==e?"one":"other"},os:Cc,osa:Ic,pa:zc,pap:Uc,pcm:qc,pl:function(e,t){var r=String(e).split("."),n=r[0],i=!r[1],o=n.slice(-1),a=n.slice(-2);return t?"other":1==e&&i?"one":i&&o>=2&&o<=4&&(a<12||a>14)?"few":i&&1!=n&&(0==o||1==o)||i&&o>=5&&o<=9||i&&a>=12&&a<=14?"many":"other"},prg:function(e,t){var r=String(e).split("."),n=r[1]||"",i=n.length,o=Number(r[0])==e,a=o&&r[0].slice(-1),s=o&&r[0].slice(-2),u=n.slice(-2),c=n.slice(-1);return t?"other":o&&0==a||s>=11&&s<=19||2==i&&u>=11&&u<=19?"zero":1==a&&11!=s||2==i&&1==c&&11!=u||2!=i&&1==c?"one":"other"},ps:Mc,pt:function(e,t){var r=String(e).split("."),n=r[0],i=!r[1],o=n.slice(-6);return t?"other":0==n||1==n?"one":0!=n&&0==o&&i?"many":"other"},pt_PT:function(e,t){var r=String(e).split("."),n=r[0],i=!r[1],o=n.slice(-6);return t?"other":1==e&&i?"one":0!=n&&0==o&&i?"many":"other"},rm:Hc,ro:function(e,t){var r=String(e).split("."),n=!r[1],i=Number(r[0])==e&&r[0].slice(-2);return t?1==e?"one":"other":1==e&&n?"one":!n||0==e||i>=2&&i<=19?"few":"other"},rof:Jc,ru:function(e,t){var r=String(e).split("."),n=r[0],i=!r[1],o=n.slice(-1),a=n.slice(-2);return t?"other":i&&1==o&&11!=a?"one":i&&o>=2&&o<=4&&(a<12||a>14)?"few":i&&0==o||i&&o>=5&&o<=9||i&&a>=11&&a<=14?"many":"other"},rwk:Wc,sah:Gc,saq:$c,sat:Kc,sc:function(e,t){var r=!String(e).split(".")[1];return t?11==e||8==e||80==e||800==e?"many":"other":1==e&&r?"one":"other"},scn:function(e,t){var r=!String(e).split(".")[1];return t?11==e||8==e||80==e||800==e?"many":"other":1==e&&r?"one":"other"},sd:Zc,sdh:Vc,se:Xc,seh:Yc,ses:Qc,sg:el,sh:function(e,t){var r=String(e).split("."),n=r[0],i=r[1]||"",o=!r[1],a=n.slice(-1),s=n.slice(-2),u=i.slice(-1),c=i.slice(-2);return t?"other":o&&1==a&&11!=s||1==u&&11!=c?"one":o&&a>=2&&a<=4&&(s<12||s>14)||u>=2&&u<=4&&(c<12||c>14)?"few":"other"},shi:function(e,t){var r=String(e).split("."),n=Number(r[0])==e;return t?"other":e>=0&&e<=1?"one":n&&e>=2&&e<=10?"few":"other"},si:function(e,t){var r=String(e).split("."),n=r[0],i=r[1]||"";return t?"other":0==e||1==e||0==n&&1==i?"one":"other"},sk:function(e,t){var r=String(e).split("."),n=r[0],i=!r[1];return t?"other":1==e&&i?"one":n>=2&&n<=4&&i?"few":i?"other":"many"},sl:function(e,t){var r=String(e).split("."),n=r[0],i=!r[1],o=n.slice(-2);return t?"other":i&&1==o?"one":i&&2==o?"two":i&&(3==o||4==o)||!i?"few":"other"},sma:tl,smi:rl,smj:nl,smn:il,sms:ol,sn:al,so:sl,sq:function(e,t){var r=String(e).split("."),n=Number(r[0])==e,i=n&&r[0].slice(-1),o=n&&r[0].slice(-2);return t?1==e?"one":4==i&&14!=o?"many":"other":1==e?"one":"other"},sr:function(e,t){var r=String(e).split("."),n=r[0],i=r[1]||"",o=!r[1],a=n.slice(-1),s=n.slice(-2),u=i.slice(-1),c=i.slice(-2);return t?"other":o&&1==a&&11!=s||1==u&&11!=c?"one":o&&a>=2&&a<=4&&(s<12||s>14)||u>=2&&u<=4&&(c<12||c>14)?"few":"other"},ss:ul,ssy:cl,st:ll,su:fl,sv:function(e,t){var r=String(e).split("."),n=!r[1],i=Number(r[0])==e,o=i&&r[0].slice(-1),a=i&&r[0].slice(-2);return t?1!=o&&2!=o||11==a||12==a?"other":"one":1==e&&n?"one":"other"},sw:hl,syr:pl,ta:dl,te:ml,teo:yl,th:gl,ti:vl,tig:bl,tk:function(e,t){var r=String(e).split("."),n=Number(r[0])==e&&r[0].slice(-1);return t?6==n||9==n||10==e?"few":"other":1==e?"one":"other"},tl:function(e,t){var r=String(e).split("."),n=r[0],i=r[1]||"",o=!r[1],a=n.slice(-1),s=i.slice(-1);return t?1==e?"one":"other":o&&(1==n||2==n||3==n)||o&&4!=a&&6!=a&&9!=a||!o&&4!=s&&6!=s&&9!=s?"one":"other"},tn:wl,to:xl,tpi:kl,tr:Sl,ts:El,tzm:function(e,t){var r=String(e).split("."),n=Number(r[0])==e;return t?"other":0==e||1==e||n&&e>=11&&e<=99?"one":"other"},ug:Ol,uk:function(e,t){var r=String(e).split("."),n=r[0],i=!r[1],o=Number(r[0])==e,a=o&&r[0].slice(-1),s=o&&r[0].slice(-2),u=n.slice(-1),c=n.slice(-2);return t?3==a&&13!=s?"few":"other":i&&1==u&&11!=c?"one":i&&u>=2&&u<=4&&(c<12||c>14)?"few":i&&0==u||i&&u>=5&&u<=9||i&&c>=11&&c<=14?"many":"other"},und:jl,ur:Al,uz:Fl,ve:Tl,vi:function(e,t){return t&&1==e?"one":"other"},vo:Nl,vun:_l,wa:Pl,wae:Dl,wo:Rl,xh:Bl,xog:Ll,yi:Cl,yo:Il,yue:zl,zh:Ul,zu:ql});function Hl(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 Jl(e){if("function"==typeof e){var t=Hl(e.name);return{isDefault:!1,id:xe(t),lc:t,locale:e.name,getPlural:e,cardinals:e.cardinals||[],ordinals:e.ordinals||[]}}var r=Hl(e),n=xe(r);return function(e){return e in Ml}(n)?{isDefault:!0,id:n,lc:r,locale:e,getCardinal:Un[n],getPlural:Ml[n],cardinals:Ys[n].cardinal,ordinals:Ys[n].ordinal}:null}function Wl(e){return xe(Hl(e))in Ml}return function(){function e(t,r){if(this.plurals=[],this.options=Object.assign({biDiSupport:!1,currency:"USD",customFormatters:{},requireAllArguments:!1,returnType:"string",strict:r&&r.strictNumberSign||!1},r),"*"===t?this.plurals=(i=e.defaultLocale,(o=Object.keys(Ml).filter((function(e){return e!==i}))).unshift(i),o.map(Jl)):Array.isArray(t)?this.plurals=t.map(Jl).filter(Boolean):t&&(n=Jl(t))&&(this.plurals=[n]),0===this.plurals.length){var n=Jl(e.defaultLocale);this.plurals=[n]}var i,o}return e.escape=function(e,t){var r=t?/[#{}]/g:/[{}]/g;return String(e).replace(r,"'$&'")},e.supportedLocalesOf=function(e){return(Array.isArray(e)?e:[e]).filter(Wl)},e.prototype.resolvedOptions=function(){return g(g({},this.options),{locale:this.plurals[0].locale,plurals:this.plurals})},e.prototype.compile=function(e){var t,r,n=new Oe(this.options),i="return "+n.compile(e,this.plurals[0]),o=[],a=[];try{for(var s=v(Object.entries(n.runtime)),u=s.next();!u.done;u=s.next()){var c=b(u.value,2),l=c[0],f=c[1];o.push(l),a.push(f)}}catch(e){t={error:e}}finally{try{u&&!u.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}return(new(Function.bind.apply(Function,w(w([void 0],b(o),!1),[i],!1)))).apply(void 0,w([],b(a),!1))},e.defaultLocale="en",e}()}()},669:function(e,t,r){e.exports=r(609)},448:function(e,t,r){"use strict";var n=r(867),i=r(26),o=r(372),a=r(327),s=r(97),u=r(109),c=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,y=e.headers,g=e.responseType;function v(){e.cancelToken&&e.cancelToken.unsubscribe(d),e.signal&&e.signal.removeEventListener("abort",d)}n.isFormData(m)&&n.isStandardBrowserEnv()&&delete y["Content-Type"];var b=new XMLHttpRequest;if(e.auth){var w=e.auth.username||"",x=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";y.Authorization="Basic "+btoa(w+":"+x)}var k=s(e.baseURL,e.url);function S(){if(b){var n="getAllResponseHeaders"in b?u(b.getAllResponseHeaders()):null,o={data:g&&"text"!==g&&"json"!==g?b.response:b.responseText,status:b.status,statusText:b.statusText,headers:n,config:e,request:b};i((function(e){t(e),v()}),(function(e){r(e),v()}),o),b=null}}if(b.open(e.method.toUpperCase(),a(k,e.params,e.paramsSerializer),!0),b.timeout=e.timeout,"onloadend"in b?b.onloadend=S:b.onreadystatechange=function(){b&&4===b.readyState&&(0!==b.status||b.responseURL&&0===b.responseURL.indexOf("file:"))&&setTimeout(S)},b.onabort=function(){b&&(r(new f("Request aborted",f.ECONNABORTED,e,b)),b=null)},b.onerror=function(){r(new f("Network Error",f.ERR_NETWORK,e,b,b)),b=null},b.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,b)),b=null},n.isStandardBrowserEnv()){var E=(e.withCredentials||c(k))&&e.xsrfCookieName?o.read(e.xsrfCookieName):void 0;E&&(y[e.xsrfHeaderName]=E)}"setRequestHeader"in b&&n.forEach(y,(function(e,t){void 0===m&&"content-type"===t.toLowerCase()?delete y[t]:b.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(b.withCredentials=!!e.withCredentials),g&&"json"!==g&&(b.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&b.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&b.upload&&b.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(d=function(e){b&&(r(!e||e&&e.type?new h:e),b.abort(),b=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)):b.send(m)}))}},609:function(e,t,r){"use strict";var n=r(867),i=r(849),o=r(321),a=r(185),s=function e(t){var r=new o(t),s=i(o.prototype.request,r);return n.extend(s,o.prototype,r),n.extend(s,r),s.create=function(r){return e(a(t,r))},s}(r(546));s.Axios=o,s.CanceledError=r(644),s.CancelToken=r(972),s.isCancel=r(502),s.VERSION=r(288).version,s.toFormData=r(675),s.AxiosError=r(648),s.Cancel=s.CanceledError,s.all=function(e){return Promise.all(e)},s.spread=r(713),s.isAxiosError=r(268),e.exports=s,e.exports.default=s},972:function(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:function(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:function(e){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},321:function(e,t,r){"use strict";var n=r(867),i=r(327),o=r(782),a=r(572),s=r(185),u=r(97),c=r(875),l=c.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=s(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&&c.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,u=[];if(this.interceptors.response.forEach((function(e){u.push(e.fulfilled,e.rejected)})),!i){var f=[a,void 0];for(Array.prototype.unshift.apply(f,n),f=f.concat(u),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=a(h)}catch(e){return Promise.reject(e)}for(;u.length;)o=o.then(u.shift(),u.shift());return o},f.prototype.getUri=function(e){e=s(this.defaults,e);var t=u(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(s(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(s(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:function(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,a={};["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){a[e]={value:e}})),Object.defineProperties(i,a),Object.defineProperty(o,"isAxiosError",{value:!0}),i.from=function(e,t,r,a,s,u){var c=Object.create(o);return n.toFlatObject(e,c,(function(e){return e!==Error.prototype})),i.call(c,e.message,t,r,a,s),c.name=e.name,u&&Object.assign(c,u),c},e.exports=i},782:function(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:function(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:function(e,t,r){"use strict";var n=r(867),i=r(527),o=r(502),a=r(546),s=r(644);function u(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s}e.exports=function(e){return u(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||a.adapter)(e).then((function(t){return u(e),t.data=i.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return o(t)||(u(e),t&&t.response&&(t.response.data=i.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},185:function(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 a(e){if(!n.isUndefined(t[e]))return i(void 0,t[e])}function s(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:i(void 0,e[r]):i(void 0,t[r])}function u(r){return r in t?i(e[r],t[r]):r in e?i(void 0,e[r]):void 0}var c={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials: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:u};return n.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=c[e]||o,i=t(e);n.isUndefined(i)&&t!==u||(r[e]=i)})),r}},26:function(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:function(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:function(e,t,r){"use strict";var n=r(867),i=r(16),o=r(648),a=r(874),s=r(675),u={"Content-Type":"application/x-www-form-urlencoded"};function c(e,t){!n.isUndefined(e)&&n.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var l,f={transitional:a,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 c(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();var r,o=n.isObject(e),a=t&&t["Content-Type"];if((r=n.isFileList(e))||o&&"multipart/form-data"===a){var u=this.env&&this.env.FormData;return s(r?{"files[]":e}:e,u&&new u)}return o||"application/json"===a?(c(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,a=!r&&"json"===this.responseType;if(a||i&&n.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(a){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(u)})),e.exports=f},874:function(e){"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},288:function(e){e.exports={version:"0.27.2"}},849:function(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:function(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 a=[];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)),a.push(i(t)+"="+i(e))})))})),o=a.join("&")}if(o){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},303:function(e){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},372:function(e,t,r){"use strict";var n=r(867);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,i,o,a){var s=[];s.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),n.isString(i)&&s.push("path="+i),n.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.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:function(e){"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},268:function(e,t,r){"use strict";var n=r(867);e.exports=function(e){return n.isObject(e)&&!0===e.isAxiosError}},985:function(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:function(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:function(e){e.exports=null},109:function(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,a={};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(a[t]&&i.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([r]):a[t]?a[t]+", "+r:r}})),a):a}},205:function(e){"use strict";e.exports=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}},713:function(e){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},675:function(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,a){if(n.isPlainObject(o)||n.isArray(o)){if(-1!==r.indexOf(o))throw Error("Circular reference detected in "+a);r.push(o),n.forEach(o,(function(r,o){if(!n.isUndefined(r)){var u,c=a?a+"."+o:o;if(r&&!a&&"object"==s(r))if(n.endsWith(o,"{}"))r=JSON.stringify(r);else if(n.endsWith(o,"[]")&&(u=n.toArray(r)))return void u.forEach((function(e){!n.isUndefined(e)&&t.append(c,i(e))}));e(r,c)}})),r.pop()}else t.append(a,i(o))}(e),t}},875:function(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 s(r)===e||"a"+(t<1?"n ":" ")+e}}));var a={};o.transitional=function(e,t,r){function o(e,t){return"[Axios v"+n+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return function(r,n,s){if(!1===e)throw new i(o(n," has been removed"+(t?" in "+t:"")),i.ERR_DEPRECATED);return t&&!a[n]&&(a[n]=!0,console.warn(o(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,n,s)}},e.exports={assertOptions:function(e,t,r){if("object"!=s(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 a=n[o],u=t[a];if(u){var c=e[a],l=void 0===c||u(c,a,e);if(!0!==l)throw new i("option "+a+" must be "+l,i.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new i("Unknown option "+a,i.ERR_BAD_OPTION)}},validators:o}},867:function(e,t,r){"use strict";var n,i=r(849),o=Object.prototype.toString,a=(n=Object.create(null),function(e){var t=o.call(e);return n[t]||(n[t]=t.slice(8,-1).toLowerCase())});function u(e){return e=e.toLowerCase(),function(t){return a(t)===e}}function c(e){return Array.isArray(e)}function l(e){return void 0===e}var f=u("ArrayBuffer");function h(e){return null!==e&&"object"==s(e)}function p(e){if("object"!==a(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}var d=u("Date"),m=u("File"),y=u("Blob"),g=u("FileList");function v(e){return"[object Function]"===o.call(e)}var b=u("URLSearchParams");function w(e,t){if(null!=e)if("object"!=s(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 x,k=(x="undefined"!=typeof Uint8Array&&Object.getPrototypeOf(Uint8Array),function(e){return x&&e instanceof x});e.exports={isArray:c,isArrayBuffer:f,isBuffer:function(e){return null!==e&&!l(e)&&null!==e.constructor&&!l(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||v(e.toString)&&e.toString()===t)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&f(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:h,isPlainObject:p,isUndefined:l,isDate:d,isFile:m,isBlob:y,isFunction:v,isStream:function(e){return h(e)&&v(e.pipe)},isURLSearchParams:b,isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:w,merge:function e(){var t={};function r(r,n){p(t[n])&&p(r)?t[n]=e(t[n],r):p(r)?t[n]=e({},r):c(r)?t[n]=r.slice():t[n]=r}for(var n=0,i=arguments.length;n<i;n++)w(arguments[n],r);return t},extend:function(e,t,r){return w(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,a={};t=t||{};do{for(i=(n=Object.getOwnPropertyNames(e)).length;i-- >0;)a[o=n[i]]||(t[o]=e[o],a[o]=!0);e=Object.getPrototypeOf(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:a,kindOfTest:u,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(l(t))return null;for(var r=new Array(t);t-- >0;)r[t]=e[t];return r},isTypedArray:k,isFileList:g}},487:function(e){var t={utf8:{stringToBytes:function(e){return t.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(t.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],r=0;r<e.length;r++)t.push(255&e.charCodeAt(r));return t},bytesToString:function(e){for(var t=[],r=0;r<e.length;r++)t.push(String.fromCharCode(e[r]));return t.join("")}}};e.exports=t},12:function(e){var t,r;t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&r.rotl(e,8)|4278255360&r.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=r.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],r=0,n=0;r<e.length;r++,n+=8)t[n>>>5]|=e[r]<<24-n%32;return t},wordsToBytes:function(e){for(var t=[],r=0;r<32*e.length;r+=8)t.push(e[r>>>5]>>>24-r%32&255);return t},bytesToHex:function(e){for(var t=[],r=0;r<e.length;r++)t.push((e[r]>>>4).toString(16)),t.push((15&e[r]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],r=0;r<e.length;r+=2)t.push(parseInt(e.substr(r,2),16));return t},bytesToBase64:function(e){for(var r=[],n=0;n<e.length;n+=3)for(var i=e[n]<<16|e[n+1]<<8|e[n+2],o=0;o<4;o++)8*n+6*o<=8*e.length?r.push(t.charAt(i>>>6*(3-o)&63)):r.push("=");return r.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var r=[],n=0,i=0;n<e.length;i=++n%4)0!=i&&r.push((t.indexOf(e.charAt(n-1))&Math.pow(2,-2*i+8)-1)<<2*i|t.indexOf(e.charAt(n))>>>6-2*i);return r}},e.exports=r},738:function(e){function t(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}e.exports=function(e){return null!=e&&(t(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&t(e.slice(0,0))}(e)||!!e._isBuffer)}},568:function(e,t,r){var n,i,o,a,s;n=r(12),i=r(487).utf8,o=r(738),a=r(487).bin,(s=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?a.stringToBytes(e):i.stringToBytes(e):o(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var r=n.bytesToWords(e),u=8*e.length,c=1732584193,l=-271733879,f=-1732584194,h=271733878,p=0;p<r.length;p++)r[p]=16711935&(r[p]<<8|r[p]>>>24)|4278255360&(r[p]<<24|r[p]>>>8);r[u>>>5]|=128<<u%32,r[14+(u+64>>>9<<4)]=u;var d=s._ff,m=s._gg,y=s._hh,g=s._ii;for(p=0;p<r.length;p+=16){var v=c,b=l,w=f,x=h;c=d(c,l,f,h,r[p+0],7,-680876936),h=d(h,c,l,f,r[p+1],12,-389564586),f=d(f,h,c,l,r[p+2],17,606105819),l=d(l,f,h,c,r[p+3],22,-1044525330),c=d(c,l,f,h,r[p+4],7,-176418897),h=d(h,c,l,f,r[p+5],12,1200080426),f=d(f,h,c,l,r[p+6],17,-1473231341),l=d(l,f,h,c,r[p+7],22,-45705983),c=d(c,l,f,h,r[p+8],7,1770035416),h=d(h,c,l,f,r[p+9],12,-1958414417),f=d(f,h,c,l,r[p+10],17,-42063),l=d(l,f,h,c,r[p+11],22,-1990404162),c=d(c,l,f,h,r[p+12],7,1804603682),h=d(h,c,l,f,r[p+13],12,-40341101),f=d(f,h,c,l,r[p+14],17,-1502002290),c=m(c,l=d(l,f,h,c,r[p+15],22,1236535329),f,h,r[p+1],5,-165796510),h=m(h,c,l,f,r[p+6],9,-1069501632),f=m(f,h,c,l,r[p+11],14,643717713),l=m(l,f,h,c,r[p+0],20,-373897302),c=m(c,l,f,h,r[p+5],5,-701558691),h=m(h,c,l,f,r[p+10],9,38016083),f=m(f,h,c,l,r[p+15],14,-660478335),l=m(l,f,h,c,r[p+4],20,-405537848),c=m(c,l,f,h,r[p+9],5,568446438),h=m(h,c,l,f,r[p+14],9,-1019803690),f=m(f,h,c,l,r[p+3],14,-187363961),l=m(l,f,h,c,r[p+8],20,1163531501),c=m(c,l,f,h,r[p+13],5,-1444681467),h=m(h,c,l,f,r[p+2],9,-51403784),f=m(f,h,c,l,r[p+7],14,1735328473),c=y(c,l=m(l,f,h,c,r[p+12],20,-1926607734),f,h,r[p+5],4,-378558),h=y(h,c,l,f,r[p+8],11,-2022574463),f=y(f,h,c,l,r[p+11],16,1839030562),l=y(l,f,h,c,r[p+14],23,-35309556),c=y(c,l,f,h,r[p+1],4,-1530992060),h=y(h,c,l,f,r[p+4],11,1272893353),f=y(f,h,c,l,r[p+7],16,-155497632),l=y(l,f,h,c,r[p+10],23,-1094730640),c=y(c,l,f,h,r[p+13],4,681279174),h=y(h,c,l,f,r[p+0],11,-358537222),f=y(f,h,c,l,r[p+3],16,-722521979),l=y(l,f,h,c,r[p+6],23,76029189),c=y(c,l,f,h,r[p+9],4,-640364487),h=y(h,c,l,f,r[p+12],11,-421815835),f=y(f,h,c,l,r[p+15],16,530742520),c=g(c,l=y(l,f,h,c,r[p+2],23,-995338651),f,h,r[p+0],6,-198630844),h=g(h,c,l,f,r[p+7],10,1126891415),f=g(f,h,c,l,r[p+14],15,-1416354905),l=g(l,f,h,c,r[p+5],21,-57434055),c=g(c,l,f,h,r[p+12],6,1700485571),h=g(h,c,l,f,r[p+3],10,-1894986606),f=g(f,h,c,l,r[p+10],15,-1051523),l=g(l,f,h,c,r[p+1],21,-2054922799),c=g(c,l,f,h,r[p+8],6,1873313359),h=g(h,c,l,f,r[p+15],10,-30611744),f=g(f,h,c,l,r[p+6],15,-1560198380),l=g(l,f,h,c,r[p+13],21,1309151649),c=g(c,l,f,h,r[p+4],6,-145523070),h=g(h,c,l,f,r[p+11],10,-1120210379),f=g(f,h,c,l,r[p+2],15,718787259),l=g(l,f,h,c,r[p+9],21,-343485551),c=c+v>>>0,l=l+b>>>0,f=f+w>>>0,h=h+x>>>0}return n.endian([c,l,f,h])})._ff=function(e,t,r,n,i,o,a){var s=e+(t&r|~t&n)+(i>>>0)+a;return(s<<o|s>>>32-o)+t},s._gg=function(e,t,r,n,i,o,a){var s=e+(t&n|r&~n)+(i>>>0)+a;return(s<<o|s>>>32-o)+t},s._hh=function(e,t,r,n,i,o,a){var s=e+(t^r^n)+(i>>>0)+a;return(s<<o|s>>>32-o)+t},s._ii=function(e,t,r,n,i,o,a){var s=e+(r^(t|~n))+(i>>>0)+a;return(s<<o|s>>>32-o)+t},s._blocksize=16,s._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var r=n.wordsToBytes(s(e,t));return t&&t.asBytes?r:t&&t.asString?a.bytesToString(r):n.bytesToHex(r)}},61:function(e,t,r){var n=r(698).default;function i(){"use strict";e.exports=i=function(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var t={},r=Object.prototype,o=r.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},s="function"==typeof Symbol?Symbol:{},u=s.iterator||"@@iterator",c=s.asyncIterator||"@@asyncIterator",l=s.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function h(e,t,r,n){var i=t&&t.prototype instanceof m?t:m,o=Object.create(i.prototype),s=new F(n||[]);return a(o,"_invoke",{value:E(e,r,s)}),o}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=h;var d={};function m(){}function y(){}function g(){}var v={};f(v,u,(function(){return this}));var b=Object.getPrototypeOf,w=b&&b(b(T([])));w&&w!==r&&o.call(w,u)&&(v=w);var x=g.prototype=m.prototype=Object.create(v);function k(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function r(i,a,s,u){var c=p(e[i],e,a);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"==n(f)&&o.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,s,u)}),(function(e){r("throw",e,s,u)})):t.resolve(f).then((function(e){l.value=e,s(l)}),(function(e){return r("throw",e,s,u)}))}u(c.arg)}var i;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(e,t,r){var n="suspendedStart";return function(i,o){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===i)throw o;return{value:void 0,done:!0}}for(r.method=i,r.arg=o;;){var a=r.delegate;if(a){var s=O(a,r);if(s){if(s===d)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=p(e,t,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===d)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function O(e,t){var r=t.method,n=e.iterator[r];if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,O(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),d;var i=p(n,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,d;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function j(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(j,this),this.reset(!0)}function T(e){if(e){var t=e[u];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,n=function t(){for(;++r<e.length;)if(o.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return n.next=n}}return{next:N}}function N(){return{value:void 0,done:!0}}return y.prototype=g,a(x,"constructor",{value:g,configurable:!0}),a(g,"constructor",{value:y,configurable:!0}),y.displayName=f(g,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,f(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},k(S.prototype),f(S.prototype,c,(function(){return this})),t.AsyncIterator=S,t.async=function(e,r,n,i,o){void 0===o&&(o=Promise);var a=new S(h(e,r,n,i),o);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},k(x),f(x,l,"Generator"),f(x,u,(function(){return this})),f(x,"toString",(function(){return"[object Generator]"})),t.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}},t.values=T,F.prototype={constructor:F,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(A),!e)for(var t in this)"t"===t.charAt(0)&&o.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},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 t=this;function r(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc");if(s&&u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(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&&o.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 a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},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),d},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),A(r),d}},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;A(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:T(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),d}},t}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},698:function(e){function t(r){return e.exports=t="function"==typeof Symbol&&"symbol"==s(Symbol.iterator)?function(e){return s(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":s(e)},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},687:function(e,t,r){var n=r(61)();e.exports=n;try{regeneratorRuntime=n}catch(e){"object"==("undefined"==typeof globalThis?"undefined":s(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=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==("undefined"==typeof globalThis?"undefined":s(globalThis)))return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==("undefined"==typeof window?"undefined":s(window)))return window}}(),r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};return function(){"use strict";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"==s(Symbol.iterator)?function(e){return s(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":s(e)},o(e)}function a(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 u(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 c(e,t,r,n,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,i)}function l(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function a(e){c(o,n,i,a,s,"next",e)}function s(e){c(o,n,i,a,s,"throw",e)}a(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(n),r.d(n,{FETCHING_LOCALES:function(){return z},FETCHING_TRANSLATIONS:function(){return B},LOCALES_FETCHED:function(){return U},LOCALES_FETCH_FAILED:function(){return q},LOCALE_CHANGED:function(){return I},MessageFormatRenderer:function(){return ue},PseudoTranslationPolicy:function(){return ie},SourceErrorPolicy:function(){return ae},SourceStringPolicy:function(){return oe},TRANSLATIONS_FETCHED:function(){return L},TRANSLATIONS_FETCH_FAILED:function(){return C},ThrowErrorPolicy:function(){return se},createNativeInstance:function(){return ce},escape:function(){return _},explodePlurals:function(){return X},generateHashedKey:function(){return N},generateKey:function(){return T},implodePlurals:function(){return Y},isPluralized:function(){return Q},isString:function(){return P},normalizeLocale:function(){return D},offEvent:function(){return J},onEvent:function(){return H},sendEvent:function(){return W},sleep:function(){return R},t:function(){return fe},tx:function(){return le}});var d=r(687),m=r.n(d),y=r(669),g=r.n(y);function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(Object(r),!0).forEach((function(t){u(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var w=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]=b(b({},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}(),x=function(){function e(){f(this,e)}return p(e,[{key:"handle",value:function(e,t,r,n){return t}}]),e}(),k=function(){function e(){f(this,e)}return p(e,[{key:"handle",value:function(e,t){return e}}]),e}(),S=r(160),E=r.n(S),O={},j=function(){function e(){f(this,e)}return p(e,[{key:"render",value:function(e,t,r){var n=(t||"").split("_")[0];if(!O[n])try{O[n]=new(E())(n)}catch(e){O[n]=new(E())}return O[n].compile(e)(r)}}]),e}(),A=r(568),F=r.n(A);function T(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 N(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,":")),F()("5:".concat(e,":").concat(r))}function _(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function P(e){return"[object String]"===Object.prototype.toString.call(e)}function D(e){var t=e.split("-");return 1===t.length?e:[t[0],t[1].toUpperCase()].join("_")}function R(e){return new Promise((function(t){setTimeout((function(){t()}),e)}))}var B="FETCHING_TRANSLATIONS",L="TRANSLATIONS_FETCHED",C="TRANSLATIONS_FETCH_FAILED",I="LOCALE_CHANGED",z="FETCHING_LOCALES",U="LOCALES_FETCHED",q="LOCALES_FETCH_FAILED",M={};function H(e,t){M[e]=M[e]||[],M[e].push(t)}function J(e,t){var r=M[e]||[],n=r.indexOf(t);-1!==n&&r.splice(n,1)}function W(e,t,r){(M[e]||[]).forEach((function(e){e(t,r)}))}function G(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,a,s=[],u=!0,c=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=o.call(r)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(e){c=!0,i=e}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,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 $(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 K=["zero","one","two","few","many","other"];function Z(e){var t=e.indexOf("{");if(-1===t)return[null,null];var r=e.substring(0,t).trim();if("="===r[0]){if(r=r.substring(1),Number.isNaN(parseInt(r,10))||parseInt(r,10)!==parseFloat(r))return[null,null];if(r=parseInt(r,10),void 0===(r=K[r]))return[null,null]}else if(-1===K.indexOf(r))return[null,null];return[r,e.substring(t)]}function V(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 X(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=G(r,2),i=n[0],o=n[1];if(null==i)return t;var a,s,u={},c=G(Z(o),2);if(a=c[0],o=c[1],null==a)return t;var l=G(V(o.trim()),2);if(s=l[0],o=l[1],null==s)return t;for(u[a]=s;o.trim();){var f=G(Z(o.trim()),2);if(a=f[0],o=f[1],null==a)return t;var h=G(V(o.trim()),2);if(s=h[0],o=h[1],null==s)return t;u[a]=s}return(1!==Object.keys(u).length||"other"in u)&&"one"in u&&"other"in u?[i,u]:t}function Y(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 $(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)?$(e,t):void 0}}(e))){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw o}}}}(K);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 Q(e){var t=X(e)[1];return Object.keys(t).length>1}function ee(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 te(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ee(Object(r),!0).forEach((function(t){u(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ee(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var re=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 w,this.missingPolicy=new k,this.errorPolicy=new x,this.stringRenderer=new j,this.currentLocale="",this.locales=[],this.languages=[],this.childInstances=[]}var t,r,n,o,a,s,u,c;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(T(t,r),e);if(n||(n=this.cache.get(N(t,r),e)),n&&n.startsWith("{???")&&Q(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 a={};Object.keys(r).forEach((function(e){var t=r[e];a[e]=P(t)?_(t):t})),n=this.stringRenderer.render(n,e,a)}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:(c=l(m().mark((function e(t){var r,n,i,o,a,s,u,c,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)),i=function(e){return W(C,{localeCode:t,filterTags:n},h),e},e.prev=6,W(B,{localeCode:t,filterTags:n},this),a=202,s=Date.now();case 10:if(202!==a){e.next=27;break}return u="".concat(this.cdsHost,"/content/").concat(t),c=[],n&&c.push("filter[tags]=".concat(n)),this.filterStatus&&c.push("filter[status]=".concat(this.filterStatus)),c.length&&(u="".concat(u,"?").concat(c.join("&"))),e.next=18,g().get(u,{headers:{Authorization:"Bearer ".concat(this.token),"Accept-version":"v2","X-NATIVE-SDK":"txjs/".concat("browser","/").concat("5.0.7")}});case 18:if(o=e.sent,a=o.status,!(this.fetchTimeout>0&&Date.now()-s>=this.fetchTimeout)){e.next=22;break}throw i(new Error("Fetch translations timeout"));case 22:if(!(202===a&&this.fetchInterval>0)){e.next=25;break}return e.next=25,R(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),W(L,{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 c.apply(this,arguments)})},{key:"invalidateCDS",value:(u=l(m().mark((function e(){var t,r,n,i=arguments;return m().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("5.0.7")}});case 8:return n=e.sent,e.abrupt("return",n.data);case 10:case"end":return e.stop()}}),e,this)}))),function(){return u.apply(this,arguments)})},{key:"pushSource",value:(s=l(m().mark((function e(t){var r,n,i,o,a,s,u,c=arguments;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=c.length>1&&void 0!==c[1]?c[1]:{},this.token){e.next=3;break}throw new Error("token is not defined");case 3:if(this.secret){e.next=5;break}throw new Error("secret is not defined");case 5:return n={Authorization:"Bearer ".concat(this.token,":").concat(this.secret),"Accept-version":"v2","Content-Type":"application/json;charset=utf-8","X-NATIVE-SDK":"txjs/".concat("browser","/").concat("5.0.7")},e.next=8,g().post("".concat(this.cdsHost,"/content"),{data:t,meta:{purge:!!r.purge,override_tags:!!r.overrideTags}},{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:a={status:""};case 13:return e.next=15,R(1500);case 15:return e.next=17,g().get(o,{headers:n});case 17:s=e.sent,u=s.data.data,a=te(te({},u.details||{}),{},{errors:u.errors||[],status:u.status});case 20:if("pending"===a.status||"processing"===a.status){e.next=13;break}case 21:return e.abrupt("return",te({jobUrl:o},a));case 22:case"end":return e.stop()}}),e,this)}))),function(e){return s.apply(this,arguments)})},{key:"getLocales",value:(a=l(m().mark((function e(){var t,r,n,o,a,s=this,u=arguments;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((u.length>0&&void 0!==u[0]?u[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 W(q,null,s),e},e.prev=7,W(z,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("5.0.7")}});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,R(this.fetchInterval);case 21:e.next=11;break;case 23:if(!(a=r.data)||!a.data){e.next=30;break}this.languages=a.data,this.locales=this.languages.map((function(e){return e.code})),W(U,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 a.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 W(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:W(I,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,W(I,r,e))}));case 16:case"end":return e.stop()}}),e,this,[[5,10]])}))),function(e){return t.apply(this,arguments)})}]),e}(),ne={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:"Ẑ"},ie=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(ne[n]){var i=n.toLowerCase();t+="a"===i||"e"===i||"o"===i||"u"===i?ne[n]+ne[n]:ne[n]}else t+=n}return t})).join("__txnative__")}}]),e}(),oe=k,ae=x,se=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}(),ue=j,ce=function(e){var t=new re;return t.t=t.translate.bind(t),e&&t.init(e),t},le=new re,fe=le.translate.bind(le)}(),n}()},"object"==s(t)&&"object"==s(e)?e.exports=a():(i=[],void 0===(o="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=o))},241:e=>{function t(r){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}},t={};function r(n){var i=t[n];if(void 0!==i)return i.exports;var o=t[n]={id:n,loaded:!1,exports:{}};return e[n](o,o.exports,r),o.loaded=!0,o.exports}r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var n={};return(()=>{"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(t){var r=function(t,r){if("object"!==e(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,"string");if("object"!==e(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===e(r)?r:String(r)}function i(e,r,n){return(r=t(r))in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function o(e,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,t(i.key),i)}}r.r(n),r.d(n,{TransifexI18next:()=>c});var a=r(206);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var c=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.type="backend",this.options=t||{},this.init()}var t,r;return t=e,(r=[{key:"init",value:function(e,t){this.options=u(u({},this.options||{}),t||{}),this.tx=(0,a.createNativeInstance)(this.options)}},{key:"read",value:function(e,t,r){var n=this;this.tx.fetchTranslations(e).then((function(){r(null,n._convertPlurals(n.tx.cache.getTranslations(e)))})).catch((function(e){r(e,null)}))}},{key:"readMulti",value:function(e,t,r){var n=this,i=[];e.forEach((function(e){i.push(n.tx.fetchTranslations(e))})),Promise.all(i).then((function(){var t={};e.forEach((function(e){t[e]={translations:n._convertPlurals(n.tx.cache.getTranslations(e))}}))})).catch((function(e){r(e,null)}))}},{key:"_convertPlurals",value:function(e){var t={};return Object.keys(e).forEach((function(r){if(r.endsWith("_txplural")){var n=r.slice(0,-"_txplural".length),i=(0,a.explodePlurals)(e[r].replace("{???,","{count,"))[1];Object.keys(i).forEach((function(e){t["".concat(n,"_").concat(e)]=i[e]}))}else t[r]=e[r]})),t}}])&&o(t.prototype,r),Object.defineProperty(t,"prototype",{writable:!1}),e}()})(),n})()));
|
|
3
3
|
//# sourceMappingURL=browser.i18next.js.map
|