react-intl 5.10.2 → 5.10.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/react-intl/src/components/provider.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EACL,mBAAmB,EAGpB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAC,UAAU,EAAE,SAAS,EAAC,MAAM,UAAU,CAAC;AAC/C,OAAO,EAEL,SAAS,EAET,YAAY,EAEb,MAAM,gBAAgB,CAAC;AAWxB,UAAU,KAAK;IACb;;OAEG;IACH,KAAK,EAAE,SAAS,CAAC;IACjB;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;;;OAIG;IACH,UAAU,EAAE,kBAAkB,CAAC;CAChC;AAED,oBAAY,kBAAkB,GAAG,IAAI,CACnC,UAAU,EACV,MAAM,OAAO,mBAAmB,CACjC,GACC,OAAO,CAAC,OAAO,mBAAmB,CAAC,CAAC;AA+DtC;;;;GAIG;AACH,eAAO,MAAM,UAAU,EAAE,YAAY,CACnC,KAAK,CAAC,SAAS,EACf,kBAAkB,EAClB,SAAS,CAiCV,CAAC;AAEF,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,KAAK,CAAC,aAAa,CAG3D,KAAK,CAAC,iBAAiB,CAAC,kBAAkB,CAAC,EAC3C,KAAK,CACN;IACC,MAAM,CAAC,WAAW,SAAkB;IACpC,MAAM,CAAC,YAAY,2HAAuB;IAC1C,OAAO,CAAC,KAAK,CAAgC;IAC7C,KAAK,EAAE,KAAK,CAIV;IAEF,MAAM,CAAC,wBAAwB,CAC7B,KAAK,EAAE,kBAAkB,EACzB,EAAC,UAAU,EAAE,KAAK,EAAC,EAAE,KAAK,GACzB,OAAO,CAAC,KAAK,CAAC,GAAG,IAAI;IAWxB,MAAM,IAAI,GAAG,CAAC,OAAO;CAItB"}
1
+ {"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/react-intl/src/components/provider.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EACL,mBAAmB,EAGpB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAC,UAAU,EAAE,SAAS,EAAC,MAAM,UAAU,CAAC;AAC/C,OAAO,EAEL,SAAS,EAET,YAAY,EAEb,MAAM,gBAAgB,CAAC;AAWxB,UAAU,KAAK;IACb;;OAEG;IACH,KAAK,EAAE,SAAS,CAAC;IACjB;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;;;OAIG;IACH,UAAU,EAAE,kBAAkB,CAAC;CAChC;AAED,oBAAY,kBAAkB,GAAG,IAAI,CACnC,UAAU,EACV,MAAM,OAAO,mBAAmB,CACjC,GACC,OAAO,CAAC,OAAO,mBAAmB,CAAC,CAAC;AA+DtC;;;;GAIG;AACH,eAAO,MAAM,UAAU,EAAE,YAAY,CACnC,KAAK,CAAC,SAAS,EACf,kBAAkB,EAClB,SAAS,CAkCV,CAAC;AAEF,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,KAAK,CAAC,aAAa,CAG3D,KAAK,CAAC,iBAAiB,CAAC,kBAAkB,CAAC,EAC3C,KAAK,CACN;IACC,MAAM,CAAC,WAAW,SAAkB;IACpC,MAAM,CAAC,YAAY,2HAAuB;IAC1C,OAAO,CAAC,KAAK,CAAgC;IAC7C,KAAK,EAAE,KAAK,CAIV;IAEF,MAAM,CAAC,wBAAwB,CAC7B,KAAK,EAAE,kBAAkB,EACzB,EAAC,UAAU,EAAE,KAAK,EAAC,EAAE,KAAK,GACzB,OAAO,CAAC,KAAK,CAAC,GAAG,IAAI;IAWxB,MAAM,IAAI,GAAG,CAAC,OAAO;CAItB"}
@@ -53,7 +53,7 @@ var formatMessage = function (config, formatters, descriptor, rawValues) {
53
53
  export var createIntl = function (_a, cache) {
54
54
  var rawDefaultRichTextElements = _a.defaultRichTextElements, config = __rest(_a, ["defaultRichTextElements"]);
55
55
  var defaultRichTextElements = assignUniqueKeysToFormatXMLElementFnArgument(rawDefaultRichTextElements);
56
- var coreIntl = coreCreateIntl(__assign(__assign({}, DEFAULT_INTL_CONFIG), config), cache);
56
+ var coreIntl = coreCreateIntl(__assign(__assign(__assign({}, DEFAULT_INTL_CONFIG), config), { defaultRichTextElements: defaultRichTextElements }), cache);
57
57
  return __assign(__assign({}, coreIntl), { formatMessage: formatMessage.bind(null, {
58
58
  locale: coreIntl.locale,
59
59
  timeZone: coreIntl.timeZone,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-intl",
3
- "version": "5.10.2",
3
+ "version": "5.10.6",
4
4
  "description": "Internationalize React apps. This library provides React components and an API to format dates, numbers, and strings, including pluralization and handling translations.",
5
5
  "keywords": [
6
6
  "intl",
@@ -128,16 +128,16 @@
128
128
  "types": "index.d.ts",
129
129
  "sideEffects": false,
130
130
  "dependencies": {
131
- "@formatjs/ecma402-abstract": "1.4.0",
132
- "@formatjs/intl": "1.4.6",
133
- "@formatjs/intl-displaynames": "3.4.6",
134
- "@formatjs/intl-listformat": "4.3.6",
135
- "@formatjs/intl-relativetimeformat": "7.3.6",
131
+ "@formatjs/ecma402-abstract": "1.5.0",
132
+ "@formatjs/intl": "1.4.10",
133
+ "@formatjs/intl-displaynames": "4.0.1",
134
+ "@formatjs/intl-listformat": "5.0.1",
135
+ "@formatjs/intl-relativetimeformat": "8.0.0",
136
136
  "@types/hoist-non-react-statics": "^3.3.1",
137
137
  "fast-memoize": "^2.5.2",
138
138
  "hoist-non-react-statics": "^3.3.2",
139
- "intl-messageformat": "9.3.18",
140
- "intl-messageformat-parser": "6.0.16",
139
+ "intl-messageformat": "9.3.20",
140
+ "intl-messageformat-parser": "6.0.18",
141
141
  "shallow-equal": "^1.2.1",
142
142
  "tslib": "^2.0.1"
143
143
  },
@@ -1285,12 +1285,6 @@
1285
1285
  message[0].type === dummy.TYPE.literal) {
1286
1286
  return message[0].value;
1287
1287
  }
1288
- if (!values &&
1289
- message &&
1290
- typeof message === 'string' &&
1291
- defaultRichTextElements) {
1292
- console.warn("[@formatjs/intl] \"defaultRichTextElements\" was specified but \"message\" was not pre-compiled. \nPlease consider using \"@formatjs/cli\" to pre-compile your messages for performance.\nFor more details see https://formatjs.io/docs/getting-started/message-distribution");
1293
- }
1294
1288
  // IMPORTANT: Hot path straight lookup for performance
1295
1289
  if (!values &&
1296
1290
  message &&
@@ -1663,6 +1657,14 @@
1663
1657
  onError) {
1664
1658
  onError(new MissingDataError("Missing locale data for locale: \"" + locale + "\" in Intl.DateTimeFormat. Using default locale: \"" + defaultLocale + "\" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details"));
1665
1659
  }
1660
+ var firstMessage = config.messages
1661
+ ? config.messages[Object.keys(config.messages)[0]]
1662
+ : undefined;
1663
+ if (config.defaultRichTextElements &&
1664
+ firstMessage &&
1665
+ typeof firstMessage === 'string') {
1666
+ console.warn("[@formatjs/intl] \"defaultRichTextElements\" was specified but \"message\" was not pre-compiled. \nPlease consider using \"@formatjs/cli\" to pre-compile your messages for performance.\nFor more details see https://formatjs.io/docs/getting-started/message-distribution");
1667
+ }
1666
1668
  return __assign(__assign({}, resolvedConfig), { formatters: formatters, formatNumber: formatNumber.bind(null, resolvedConfig, formatters.getNumberFormat), formatNumberToParts: formatNumberToParts.bind(null, resolvedConfig, formatters.getNumberFormat), formatRelativeTime: formatRelativeTime.bind(null, resolvedConfig, formatters.getRelativeTimeFormat), formatDate: formatDate.bind(null, resolvedConfig, formatters.getDateTimeFormat), formatDateToParts: formatDateToParts.bind(null, resolvedConfig, formatters.getDateTimeFormat), formatTime: formatTime.bind(null, resolvedConfig, formatters.getDateTimeFormat), formatDateTimeRange: formatDateTimeRange.bind(null, resolvedConfig, formatters.getDateTimeFormat), formatTimeToParts: formatTimeToParts.bind(null, resolvedConfig, formatters.getDateTimeFormat), formatPlural: formatPlural.bind(null, resolvedConfig, formatters.getPluralRules), formatMessage: formatMessage.bind(null, resolvedConfig, formatters), formatList: formatList.bind(null, resolvedConfig, formatters.getListFormat), formatDisplayName: formatDisplayName.bind(null, resolvedConfig, formatters.getDisplayNames) });
1667
1669
  }
1668
1670
 
@@ -2008,7 +2010,7 @@
2008
2010
  var createIntl$1 = function (_a, cache) {
2009
2011
  var rawDefaultRichTextElements = _a.defaultRichTextElements, config = __rest(_a, ["defaultRichTextElements"]);
2010
2012
  var defaultRichTextElements = assignUniqueKeysToFormatXMLElementFnArgument(rawDefaultRichTextElements);
2011
- var coreIntl = createIntl(__assign(__assign({}, DEFAULT_INTL_CONFIG$1), config), cache);
2013
+ var coreIntl = createIntl(__assign(__assign(__assign({}, DEFAULT_INTL_CONFIG$1), config), { defaultRichTextElements: defaultRichTextElements }), cache);
2012
2014
  return __assign(__assign({}, coreIntl), { formatMessage: formatMessage$1.bind(null, {
2013
2015
  locale: coreIntl.locale,
2014
2016
  timeZone: coreIntl.timeZone,
@@ -12,7 +12,7 @@
12
12
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13
13
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14
14
  PERFORMANCE OF THIS SOFTWARE.
15
- ***************************************************************************** */function a(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var i=function(){return(i=Object.assign||function e(t){for(var r,n=1,o=arguments.length;n<o;n++)for(var a in r=arguments[n])Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a]);return t}).apply(this,arguments)};function u(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}var l=Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]};function s(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 c(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,a=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)i.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return i}function f(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),o=0;for(t=0;t<r;t++)for(var a=arguments[t],i=0,u=a.length;i<u;i++,o++)n[o]=a[i];return n}function m(e){return this instanceof m?(this.v=e,this):new m(e)}var p=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},d=Object.freeze({__proto__:null,__extends:a,get __assign(){return i},__rest:u,__decorate:function y(e,t,r,n){var o,a=arguments.length,i=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,r,n);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(i=(a<3?o(i):a>3?o(t,r,i):o(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},__param:function v(e,t){return function(r,n){t(r,n,e)}},__metadata:function g(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},__awaiter:function h(e,t,r,n){return new(r||(r=Promise))((function(o,a){function i(e){try{l(n.next(e))}catch(e){a(e)}}function u(e){try{l(n.throw(e))}catch(e){a(e)}}function l(e){e.done?o(e.value):function t(e){return e instanceof r?e:new r((function(t){t(e)}))}(e.value).then(i,u)}l((n=n.apply(e,t||[])).next())}))},__generator:function b(e,t){var r,n,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function u(a){return function(u){return function l(a){if(r)throw new TypeError("Generator is already executing.");for(;i;)try{if(r=1,n&&(o=2&a[0]?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,n=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e],n=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,u])}}},__createBinding:l,__exportStar:function T(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||l(t,e,r)},__values:s,__read:c,__spread:function E(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(c(arguments[t]));return e},__spreadArrays:f,__await:m,__asyncGenerator:function _(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,o=r.apply(e,t||[]),a=[];return n={},i("next"),i("throw"),i("return"),n[Symbol.asyncIterator]=function(){return this},n;function i(e){o[e]&&(n[e]=function(t){return new Promise((function(r,n){a.push([e,t,r,n])>1||u(e,t)}))})}function u(e,t){try{!function r(e){e.value instanceof m?Promise.resolve(e.value.v).then(l,s):c(a[0][2],e)}(o[e](t))}catch(e){c(a[0][3],e)}}function l(e){u("next",e)}function s(e){u("throw",e)}function c(e,t){e(t),a.shift(),a.length&&u(a[0][0],a[0][1])}},__asyncDelegator:function w(e){var t,r;return t={},n("next"),n("throw",(function(e){throw e})),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,o){t[n]=e[n]?function(t){return(r=!r)?{value:m(e[n](t)),done:"return"===n}:o?o(t):t}:o}},__asyncValues:function I(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=s(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise((function(n,o){!function a(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)}(n,o,(t=e[r](t)).done,t.value)}))}}},__makeTemplateObject:function S(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},__importStar:function O(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&l(t,e,r);return p(t,e),t},__importDefault:function P(e){return e&&e.__esModule?e:{default:e}},__classPrivateFieldGet:function R(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)},__classPrivateFieldSet:function N(e,t,r){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,r),r}});function F(e,t,r){if(void 0===r&&(r=Error),!e)throw new r(t)}function D(e,t,r){return e(r={path:t,exports:{},require:function(e,t){return function r(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}()}},r.exports),r.exports}function j(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach((function(r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})})),t}var M=D((function(e,t){var r,n;Object.defineProperty(t,"__esModule",{value:!0}),t.createNumberElement=t.createLiteralElement=t.isDateTimeSkeleton=t.isNumberSkeleton=t.isTagElement=t.isPoundElement=t.isPluralElement=t.isSelectElement=t.isTimeElement=t.isDateElement=t.isNumberElement=t.isArgumentElement=t.isLiteralElement=t.SKELETON_TYPE=t.TYPE=void 0,function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"}(r=t.TYPE||(t.TYPE={})),(n=t.SKELETON_TYPE||(t.SKELETON_TYPE={}))[n.number=0]="number",n[n.dateTime=1]="dateTime",t.isLiteralElement=function o(e){return e.type===r.literal},t.isArgumentElement=function a(e){return e.type===r.argument},t.isNumberElement=function i(e){return e.type===r.number},t.isDateElement=function u(e){return e.type===r.date},t.isTimeElement=function l(e){return e.type===r.time},t.isSelectElement=function s(e){return e.type===r.select},t.isPluralElement=function c(e){return e.type===r.plural},t.isPoundElement=function f(e){return e.type===r.pound},t.isTagElement=function m(e){return e.type===r.tag},t.isNumberSkeleton=function p(e){return!(!e||"object"!=typeof e||0!==e.type)},t.isDateTimeSkeleton=function d(e){return!(!e||"object"!=typeof e||1!==e.type)},t.createLiteralElement=function y(e){return{type:r.literal,value:e}},t.createNumberElement=function v(e,t){return{type:r.number,value:e,style:t}}})),A=j(d),L=D((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.parse=void 0,A.__exportStar(M,t),t.parse=function r(){throw new Error("You're trying to format an uncompiled message with react-intl without parser, please import from 'react-int' instead")}}));function x(e,t,r,n){var o=function a(e){return null==e||"number"==typeof e||"boolean"==typeof e}(n)?n:r(n),i=t.get(o);return void 0===i&&(i=e.call(this,n),t.set(o,i)),i}function C(e,t,r){var n=Array.prototype.slice.call(arguments,3),o=r(n),a=t.get(o);return void 0===a&&(a=e.apply(this,n),t.set(o,a)),a}function k(e,t,r,n,o){return r.bind(t,e,n,o)}function $(e,t){return k(e,this,1===e.length?x:C,t.cache.create(),t.serializer)}function U(){return JSON.stringify(arguments)}function V(){this.cache=Object.create(null)}V.prototype.has=function(e){return e in this.cache},V.prototype.get=function(e){return this.cache[e]},V.prototype.set=function(e,t){this.cache[e]=t};var G={create:function e(){return new V}},z=function Z(e,t){return(t&&t.strategy?t.strategy:$)(e,{cache:t&&t.cache?t.cache:G,serializer:t&&t.serializer?t.serializer:U})},Y={variadic:function q(e,t){return k(e,this,C,t.cache.create(),t.serializer)},monadic:function K(e,t){return k(e,this,x,t.cache.create(),t.serializer)}};z.strategies=Y;var W,B=Object.freeze(Object.assign(Object.create(null),z,{default:z,strategies:Y}));!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(W||(W={}));var H,J=function(e){function t(t,r,n){var o=e.call(this,t)||this;return o.code=r,o.originalMessage=n,o}return a(t,e),t.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},t}(Error),Q=function(e){function t(t,r,n,o){return e.call(this,'Invalid values for "'+t+'": "'+r+'". Options are "'+Object.keys(n).join('", "')+'"',"INVALID_VALUE",o)||this}return a(t,e),t}(J),X=function(e){function t(t,r,n){return e.call(this,'Value for "'+t+'" must be of type '+r,"INVALID_VALUE",n)||this}return a(t,e),t}(J),ee=function(e){function t(t,r){return e.call(this,'The intl string context variable "'+t+'" was not provided to the string "'+r+'"',"MISSING_VALUE",r)||this}return a(t,e),t}(J);function te(e){return"function"==typeof e}function re(e){return{create:function(){return{has:function(t){return t in e},get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(H||(H={}));var ne,oe=z||B,ae=function(){function e(t,r,n,o){var a=this;if(void 0===r&&(r=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=a.formatToParts(e);if(1===t.length)return t[0].value;var r=t.reduce((function(e,t){return e.length&&0===t.type&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return r.length<=1?r[0]||"":r},this.formatToParts=function(e){return function e(t,r,n,o,a,i,u){if(1===t.length&&L.isLiteralElement(t[0]))return[{type:0,value:t[0].value}];for(var l=[],s=0,c=t;s<c.length;s++){var f=c[s];if(L.isLiteralElement(f))l.push({type:0,value:f.value});else if(L.isPoundElement(f))"number"==typeof i&&l.push({type:0,value:n.getNumberFormat(r).format(i)});else{var m=f.value;if(!a||!(m in a))throw new ee(m,u);var p=a[m];if(L.isArgumentElement(f))p&&"string"!=typeof p&&"number"!=typeof p||(p="string"==typeof p||"number"==typeof p?String(p):""),l.push({type:"string"==typeof p?0:1,value:p});else if(L.isDateElement(f)){var d="string"==typeof f.style?o.date[f.style]:L.isDateTimeSkeleton(f.style)?f.style.parsedOptions:void 0;l.push({type:0,value:n.getDateTimeFormat(r,d).format(p)})}else if(L.isTimeElement(f))d="string"==typeof f.style?o.time[f.style]:L.isDateTimeSkeleton(f.style)?f.style.parsedOptions:void 0,l.push({type:0,value:n.getDateTimeFormat(r,d).format(p)});else if(L.isNumberElement(f))d="string"==typeof f.style?o.number[f.style]:L.isNumberSkeleton(f.style)?f.style.parsedOptions:void 0,l.push({type:0,value:n.getNumberFormat(r,d).format(p)});else{if(L.isTagElement(f)){var y=f.children,v=f.value,g=a[v];if(!te(g))throw new X(v,"function",u);var h=g(e(y,r,n,o,a,i).map((function(e){return e.value})));Array.isArray(h)||(h=[h]),l.push.apply(l,h.map((function(e){return{type:"string"==typeof e?0:1,value:e}})))}if(L.isSelectElement(f)){if(!(b=f.options[p]||f.options.other))throw new Q(f.value,p,Object.keys(f.options),u);l.push.apply(l,e(b.value,r,n,o,a))}else if(L.isPluralElement(f)){var b;if(!(b=f.options["="+p])){if(!Intl.PluralRules)throw new J('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',"MISSING_INTL_API",u);var T=n.getPluralRules(r,{type:f.pluralType}).select(p-(f.offset||0));b=f.options[T]||f.options.other}if(!b)throw new Q(f.value,p,Object.keys(f.options),u);l.push.apply(l,e(b.value,r,n,o,a,p-(f.offset||0)))}}}}return function E(e){return e.length<2?e:e.reduce((function(e,t){var r=e[e.length-1];return r&&0===r.type&&0===t.type?r.value+=t.value:e.push(t),e}),[])}(l)}(a.ast,a.locales,a.formatters,a.formats,e,void 0,a.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(a.locales)[0]}},this.getAst=function(){return a.ast},"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=e.__parse(t,{normalizeHashtagInPlural:!1,ignoreTag:null==o?void 0:o.ignoreTag})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=function u(e,t){return t?Object.keys(e).reduce((function(r,n){return r[n]=function o(e,t){return t?i(i(i({},e||{}),t||{}),Object.keys(e).reduce((function(r,n){return r[n]=i(i({},e[n]),t[n]||{}),r}),{})):e}(e[n],t[n]),r}),i({},e)):e}(e.formats,n),this.locales=r,this.formatters=o&&o.formatters||function l(e){return void 0===e&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:oe((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,f([void 0],t)))}),{cache:re(e.number),strategy:oe.strategies.variadic}),getDateTimeFormat:oe((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,f([void 0],t)))}),{cache:re(e.dateTime),strategy:oe.strategies.variadic}),getPluralRules:oe((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,f([void 0],t)))}),{cache:re(e.pluralRules),strategy:oe.strategies.variadic})}}(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.__parse=L.parse,e.formats={number:{currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();(ne=e.ReactIntlErrorCode||(e.ReactIntlErrorCode={})).FORMAT_ERROR="FORMAT_ERROR",ne.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",ne.INVALID_CONFIG="INVALID_CONFIG",ne.MISSING_DATA="MISSING_DATA",ne.MISSING_TRANSLATION="MISSING_TRANSLATION";var ie=function(e){function t(r,n,o){var a=e.call(this,"[@formatjs/intl Error "+r+"] "+n+" \n"+(o?"\n"+o.message+"\n"+o.stack:""))||this;return a.code=r,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(a,t),a}return a(t,e),t}(Error),ue=function(e){function t(t,r){return e.call(this,"UNSUPPORTED_FORMATTER",t,r)||this}return a(t,e),t}(ie),le=function(e){function t(t,r){return e.call(this,"INVALID_CONFIG",t,r)||this}return a(t,e),t}(ie),se=function(e){function t(t,r){return e.call(this,"MISSING_DATA",t,r)||this}return a(t,e),t}(ie),ce=function(e){function t(t,r,n,o){var a=e.call(this,"FORMAT_ERROR",t+" \nLocale: "+r+"\nMessageID: "+(null==n?void 0:n.id)+"\nDefault Message: "+(null==n?void 0:n.defaultMessage)+"\nDescription: "+(null==n?void 0:n.description)+" \n",o)||this;return a.descriptor=n,a}return a(t,e),t}(ie),fe=function(e){function t(t,r){var n=e.call(this,"MISSING_TRANSLATION",'Missing message: "'+t.id+'" for locale "'+r+'", using '+(t.defaultMessage?"default message":"id")+" as fallback.")||this;return n.descriptor=t,n}return a(t,e),t}(ie);function me(e,t,r){return void 0===r&&(r={}),t.reduce((function(t,n){return n in e?t[n]=e[n]:n in r&&(t[n]=r[n]),t}),{})}var pe={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},onError:function(e){}};function de(e){return{create:function(){return{has:function(t){return t in e},get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}var ye=z||B;function ve(e,t,r,n){var o,a=e&&e[t];if(a&&(o=a[r]),o)return o;n(new ue("No "+t+" format named: "+r))}function ge(e,t){return Object.keys(e).reduce((function(r,n){return r[n]=i({timeZone:t},e[n]),r}),{})}function he(e,t){return Object.keys(i(i({},e),t)).reduce((function(r,n){return r[n]=i(i({},e[n]||{}),t[n]||{}),r}),{})}function be(e,t){if(!t)return e;var r=ae.formats;return i(i(i({},r),e),{date:he(ge(r.date,t),ge(e.date||{},t)),time:he(ge(r.time,t),ge(e.time||{},t))})}function Te(e,t,r,n){var o=e.locale,a=e.formats,u=e.messages,l=e.defaultLocale,s=e.defaultFormats,c=e.onError,f=e.timeZone,m=e.defaultRichTextElements;void 0===r&&(r={id:""});var p=r.id,d=r.defaultMessage;F(!!p,"[@formatjs/intl] An `id` must be provided to format a message.");var y=String(p),v=u&&Object.prototype.hasOwnProperty.call(u,y)&&u[y];if(Array.isArray(v)&&1===v.length&&v[0].type===L.TYPE.literal)return v[0].value;if(!n&&v&&"string"==typeof v&&m&&console.warn('[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled. \nPlease consider using "@formatjs/cli" to pre-compile your messages for performance.\nFor more details see https://formatjs.io/docs/getting-started/message-distribution'),!n&&v&&"string"==typeof v&&!m)return v.replace(/'\{(.*?)\}'/gi,"{$1}");if(n=i(i({},m),n||{}),a=be(a,f),s=be(s,f),!v){if((!d||o&&o.toLowerCase()!==l.toLowerCase())&&c(new fe(r,o)),d)try{return t.getMessageFormat(d,l,s).format(n)}catch(e){return c(new ce('Error formatting default message for: "'+y+'", rendering default message verbatim',o,r,e)),"string"==typeof d?d:y}return y}try{return t.getMessageFormat(v,o,a,{formatters:t}).format(n)}catch(e){c(new ce('Error formatting message: "'+y+'", using '+(d?"default message":"id")+" as fallback.",o,r,e))}if(d)try{return t.getMessageFormat(d,l,s).format(n)}catch(e){c(new ce('Error formatting the default message for: "'+y+'", rendering message verbatim',o,r,e))}return"string"==typeof v?v:"string"==typeof d?d:y}var Ee=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","fractionalSecondDigits","calendar","numberingSystem"];function _e(e,t,r,n){var o=e.locale,a=e.formats,u=e.onError,l=e.timeZone;void 0===n&&(n={});var s=n.format,c=i(i({},l&&{timeZone:l}),s&&ve(a,t,s,u)),f=me(n,Ee,c);return"time"!==t||f.hour||f.minute||f.second||(f=i(i({},f),{hour:"numeric",minute:"numeric"})),r(o,f)}function we(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=r[0],a=r[1],i=void 0===a?{}:a,u="string"==typeof o?new Date(o||0):o;try{return _e(e,"date",t,i).format(u)}catch(t){e.onError(new ie("FORMAT_ERROR","Error formatting date.",t))}return String(u)}function Ie(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=r[0],a=r[1],i=void 0===a?{}:a,u="string"==typeof o?new Date(o||0):o;try{return _e(e,"time",t,i).format(u)}catch(t){e.onError(new ie("FORMAT_ERROR","Error formatting time.",t))}return String(u)}function Se(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=r[0],a=r[1],i=r[2],u=void 0===i?{}:i,l=e.timeZone,s=e.locale,c=e.onError,f=me(u,Ee,l?{timeZone:l}:{});try{return t(s,f).formatRange(o,a)}catch(e){c(new ie("FORMAT_ERROR","Error formatting date time range.",e))}return String(o)}function Oe(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=r[0],a=r[1],i=void 0===a?{}:a,u="string"==typeof o?new Date(o||0):o;try{return _e(e,"date",t,i).formatToParts(u)}catch(t){e.onError(new ie("FORMAT_ERROR","Error formatting date.",t))}return[]}function Pe(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=r[0],a=r[1],i=void 0===a?{}:a,u="string"==typeof o?new Date(o||0):o;try{return _e(e,"time",t,i).formatToParts(u)}catch(t){e.onError(new ie("FORMAT_ERROR","Error formatting time.",t))}return[]}var Re=["localeMatcher","style","type","fallback"];function Ne(e,t,r,n){var o=e.locale,a=e.onError;Intl.DisplayNames||a(new J('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',"MISSING_INTL_API"));var i=me(n,Re);try{return t(o,i).of(r)}catch(e){a(new ie("FORMAT_ERROR","Error formatting display name.",e))}}var Fe=["localeMatcher","type","style"],De=Date.now();function je(e,t,r,n){var o=e.locale,a=e.onError;void 0===n&&(n={}),Intl.ListFormat||a(new J('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',"MISSING_INTL_API"));var i=me(n,Fe);try{var u={},l=r.map((function(e,t){if("object"==typeof e){var r=function n(e){return De+"_"+e+"_"+De}(t);return u[r]=e,r}return String(e)}));return Object.keys(u).length?t(o,i).formatToParts(l).reduce((function(e,t){var r=t.value;return u[r]?e.push(u[r]):"string"==typeof e[e.length-1]?e[e.length-1]+=r:e.push(r),e}),[]):t(o,i).format(l)}catch(e){a(new ie("FORMAT_ERROR","Error formatting list.",e))}return r}var Me=["localeMatcher","type"];function Ae(e,t,r,n){var o=e.locale,a=e.onError;void 0===n&&(n={}),Intl.PluralRules||a(new J('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',"MISSING_INTL_API"));var i=me(n,Me);try{return t(o,i).select(r)}catch(e){a(new ce("Error formatting plural.",e))}return"other"}var Le=["numeric","style"];function xe(e,t,r,n,o){void 0===o&&(o={}),n||(n="second"),Intl.RelativeTimeFormat||e.onError(new J('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',"MISSING_INTL_API"));try{return function a(e,t,r){var n=e.locale;void 0===r&&(r={});var o=r.format,a=!!o&&ve(e.formats,"relative",o,e.onError)||{};return t(n,me(r,Le,a))}(e,t,o).format(r,n)}catch(t){e.onError(new ce("Error formatting relative time.",t))}return String(r)}var Ce=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay"];function ke(e,t,r){var n=e.locale;void 0===r&&(r={});var o=r.format,a=o&&ve(e.formats,"number",o,e.onError)||{};return t(n,me(r,Ce,a))}function $e(e,t,r,n){void 0===n&&(n={});try{return ke(e,t,n).format(r)}catch(t){e.onError(new ie("FORMAT_ERROR","Error formatting number.",t))}return String(r)}function Ue(e,t,r,n){void 0===n&&(n={});try{return ke(e,t,n).formatToParts(r)}catch(t){e.onError(new ie("FORMAT_ERROR","Error formatting number.",t))}return[]}function Ve(e){F(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var Ge=i(i({},pe),{textComponent:t.Fragment}),ze="function"==typeof Symbol&&Symbol.for,Ze=ze?Symbol.for("react.element"):60103,Ye=ze?Symbol.for("react.portal"):60106,qe=ze?Symbol.for("react.fragment"):60107,Ke=ze?Symbol.for("react.strict_mode"):60108,We=ze?Symbol.for("react.profiler"):60114,Be=ze?Symbol.for("react.provider"):60109,He=ze?Symbol.for("react.context"):60110,Je=ze?Symbol.for("react.async_mode"):60111,Qe=ze?Symbol.for("react.concurrent_mode"):60111,Xe=ze?Symbol.for("react.forward_ref"):60112,et=ze?Symbol.for("react.suspense"):60113,tt=ze?Symbol.for("react.suspense_list"):60120,rt=ze?Symbol.for("react.memo"):60115,nt=ze?Symbol.for("react.lazy"):60116,ot=ze?Symbol.for("react.block"):60121,at=ze?Symbol.for("react.fundamental"):60117,it=ze?Symbol.for("react.responder"):60118,ut=ze?Symbol.for("react.scope"):60119;function lt(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Ze:switch(e=e.type){case Je:case Qe:case qe:case We:case Ke:case et:return e;default:switch(e=e&&e.$$typeof){case He:case Xe:case nt:case rt:case Be:return e;default:return t}}case Ye:return t}}}function st(e){return lt(e)===Qe}var ct={AsyncMode:Je,ConcurrentMode:Qe,ContextConsumer:He,ContextProvider:Be,Element:Ze,ForwardRef:Xe,Fragment:qe,Lazy:nt,Memo:rt,Portal:Ye,Profiler:We,StrictMode:Ke,Suspense:et,isAsyncMode:function(e){return st(e)||lt(e)===Je},isConcurrentMode:st,isContextConsumer:function(e){return lt(e)===He},isContextProvider:function(e){return lt(e)===Be},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Ze},isForwardRef:function(e){return lt(e)===Xe},isFragment:function(e){return lt(e)===qe},isLazy:function(e){return lt(e)===nt},isMemo:function(e){return lt(e)===rt},isPortal:function(e){return lt(e)===Ye},isProfiler:function(e){return lt(e)===We},isStrictMode:function(e){return lt(e)===Ke},isSuspense:function(e){return lt(e)===et},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===qe||e===Qe||e===We||e===Ke||e===et||e===tt||"object"==typeof e&&null!==e&&(e.$$typeof===nt||e.$$typeof===rt||e.$$typeof===Be||e.$$typeof===He||e.$$typeof===Xe||e.$$typeof===at||e.$$typeof===it||e.$$typeof===ut||e.$$typeof===ot)},typeOf:lt},ft=D((function(e){e.exports=ct})),mt={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},pt={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},dt={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},yt={};function vt(e){return ft.isMemo(e)?dt:yt[e.$$typeof]||mt}yt[ft.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},yt[ft.Memo]=dt;var gt,ht,bt=Object.defineProperty,Tt=Object.getOwnPropertyNames,Et=Object.getOwnPropertySymbols,_t=Object.getOwnPropertyDescriptor,wt=Object.getPrototypeOf,It=Object.prototype,St=function e(t,r,n){if("string"!=typeof r){if(It){var o=wt(r);o&&o!==It&&e(t,o,n)}var a=Tt(r);Et&&(a=a.concat(Et(r)));for(var i=vt(t),u=vt(r),l=0;l<a.length;++l){var s=a[l];if(!(pt[s]||n&&n[s]||u&&u[s]||i&&i[s])){var c=_t(r,s);try{bt(t,s,c)}catch(e){}}}}return t},Ot=St.default||St,Pt=t.createContext(null),Rt=Pt.Consumer,Nt=Pt.Provider,Ft=Pt;function Dt(e,r){var n=r||{},o=n.intlPropName,a=void 0===o?"intl":o,u=n.forwardRef,l=void 0!==u&&u,s=n.enforceContext,c=void 0===s||s,f=function(r){return t.createElement(Rt,null,(function(n){var o;c&&Ve(n);var u=((o={})[a]=n,o);return t.createElement(e,i({},r,u,{ref:l?r.forwardedRef:null}))}))};return f.displayName="injectIntl("+function m(e){return e.displayName||e.name||"Component"}(e)+")",f.WrappedComponent=e,Ot(l?t.forwardRef((function(e,r){return t.createElement(f,i({},e,{forwardedRef:r}))})):f,e)}!function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"}(gt||(gt={})),function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"}(ht||(ht={}));var jt=function(e){return t.createElement(Ft.Consumer,null,(function(t){Ve(t);var r=e.value,n=e.children,o=u(e,["value","children"]);return n(t.formatNumberToParts(r,o))}))};function Mt(e){var r=function(r){return t.createElement(Ft.Consumer,null,(function(t){Ve(t);var n=r.value,o=r.children,a=u(r,["value","children"]),i="string"==typeof n?new Date(n||0):n;return o("formatDate"===e?t.formatDateToParts(i,a):t.formatTimeToParts(i,a))}))};return r.displayName=ht[e],r}function At(e){var r=function(r){return t.createElement(Ft.Consumer,null,(function(n){Ve(n);var o=r.value,a=r.children,i=u(r,["value","children"]),l=n[e](o,i);return"function"==typeof a?a(l):t.createElement(n.textComponent||t.Fragment,null,l)}))};return r.displayName=gt[e],r}jt.displayName="FormattedNumberParts";var Lt=function xt(e,t){if(e===t)return!0;if(!e||!t)return!1;var r=Object.keys(e),n=Object.keys(t),o=r.length;if(n.length!==o)return!1;for(var a=0;a<o;a++){var i=r[a];if(e[i]!==t[i]||!Object.prototype.hasOwnProperty.call(t,i))return!1}return!0},Ct=Object.freeze(Object.assign(Object.create(null),Lt,{default:Lt})),kt=Lt||Ct;function $t(e){return{locale:e.locale,timeZone:e.timeZone,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError,wrapRichTextChunksInFragment:e.wrapRichTextChunksInFragment,defaultRichTextElements:e.defaultRichTextElements}}function Ut(e){return e?Object.keys(e).reduce((function(r,n){var o=e[n];return r[n]=te(o)?function a(e){return function(r){return e(t.Children.toArray(r))}}
15
+ ***************************************************************************** */function a(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var i=function(){return(i=Object.assign||function e(t){for(var r,n=1,o=arguments.length;n<o;n++)for(var a in r=arguments[n])Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a]);return t}).apply(this,arguments)};function u(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}var l=Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]};function s(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 c(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,a=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)i.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return i}function f(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),o=0;for(t=0;t<r;t++)for(var a=arguments[t],i=0,u=a.length;i<u;i++,o++)n[o]=a[i];return n}function m(e){return this instanceof m?(this.v=e,this):new m(e)}var p=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},d=Object.freeze({__proto__:null,__extends:a,get __assign(){return i},__rest:u,__decorate:function y(e,t,r,n){var o,a=arguments.length,i=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,r,n);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(i=(a<3?o(i):a>3?o(t,r,i):o(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},__param:function v(e,t){return function(r,n){t(r,n,e)}},__metadata:function g(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},__awaiter:function h(e,t,r,n){return new(r||(r=Promise))((function(o,a){function i(e){try{l(n.next(e))}catch(e){a(e)}}function u(e){try{l(n.throw(e))}catch(e){a(e)}}function l(e){e.done?o(e.value):function t(e){return e instanceof r?e:new r((function(t){t(e)}))}(e.value).then(i,u)}l((n=n.apply(e,t||[])).next())}))},__generator:function b(e,t){var r,n,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function u(a){return function(u){return function l(a){if(r)throw new TypeError("Generator is already executing.");for(;i;)try{if(r=1,n&&(o=2&a[0]?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,n=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e],n=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,u])}}},__createBinding:l,__exportStar:function T(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||l(t,e,r)},__values:s,__read:c,__spread:function E(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(c(arguments[t]));return e},__spreadArrays:f,__await:m,__asyncGenerator:function _(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,o=r.apply(e,t||[]),a=[];return n={},i("next"),i("throw"),i("return"),n[Symbol.asyncIterator]=function(){return this},n;function i(e){o[e]&&(n[e]=function(t){return new Promise((function(r,n){a.push([e,t,r,n])>1||u(e,t)}))})}function u(e,t){try{!function r(e){e.value instanceof m?Promise.resolve(e.value.v).then(l,s):c(a[0][2],e)}(o[e](t))}catch(e){c(a[0][3],e)}}function l(e){u("next",e)}function s(e){u("throw",e)}function c(e,t){e(t),a.shift(),a.length&&u(a[0][0],a[0][1])}},__asyncDelegator:function w(e){var t,r;return t={},n("next"),n("throw",(function(e){throw e})),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,o){t[n]=e[n]?function(t){return(r=!r)?{value:m(e[n](t)),done:"return"===n}:o?o(t):t}:o}},__asyncValues:function I(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=s(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise((function(n,o){!function a(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)}(n,o,(t=e[r](t)).done,t.value)}))}}},__makeTemplateObject:function S(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},__importStar:function O(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&l(t,e,r);return p(t,e),t},__importDefault:function P(e){return e&&e.__esModule?e:{default:e}},__classPrivateFieldGet:function R(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)},__classPrivateFieldSet:function N(e,t,r){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,r),r}});function F(e,t,r){if(void 0===r&&(r=Error),!e)throw new r(t)}function D(e,t,r){return e(r={path:t,exports:{},require:function(e,t){return function r(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}()}},r.exports),r.exports}function j(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach((function(r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})})),t}var M=D((function(e,t){var r,n;Object.defineProperty(t,"__esModule",{value:!0}),t.createNumberElement=t.createLiteralElement=t.isDateTimeSkeleton=t.isNumberSkeleton=t.isTagElement=t.isPoundElement=t.isPluralElement=t.isSelectElement=t.isTimeElement=t.isDateElement=t.isNumberElement=t.isArgumentElement=t.isLiteralElement=t.SKELETON_TYPE=t.TYPE=void 0,function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"}(r=t.TYPE||(t.TYPE={})),(n=t.SKELETON_TYPE||(t.SKELETON_TYPE={}))[n.number=0]="number",n[n.dateTime=1]="dateTime",t.isLiteralElement=function o(e){return e.type===r.literal},t.isArgumentElement=function a(e){return e.type===r.argument},t.isNumberElement=function i(e){return e.type===r.number},t.isDateElement=function u(e){return e.type===r.date},t.isTimeElement=function l(e){return e.type===r.time},t.isSelectElement=function s(e){return e.type===r.select},t.isPluralElement=function c(e){return e.type===r.plural},t.isPoundElement=function f(e){return e.type===r.pound},t.isTagElement=function m(e){return e.type===r.tag},t.isNumberSkeleton=function p(e){return!(!e||"object"!=typeof e||0!==e.type)},t.isDateTimeSkeleton=function d(e){return!(!e||"object"!=typeof e||1!==e.type)},t.createLiteralElement=function y(e){return{type:r.literal,value:e}},t.createNumberElement=function v(e,t){return{type:r.number,value:e,style:t}}})),A=j(d),L=D((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.parse=void 0,A.__exportStar(M,t),t.parse=function r(){throw new Error("You're trying to format an uncompiled message with react-intl without parser, please import from 'react-int' instead")}}));function x(e,t,r,n){var o=function a(e){return null==e||"number"==typeof e||"boolean"==typeof e}(n)?n:r(n),i=t.get(o);return void 0===i&&(i=e.call(this,n),t.set(o,i)),i}function C(e,t,r){var n=Array.prototype.slice.call(arguments,3),o=r(n),a=t.get(o);return void 0===a&&(a=e.apply(this,n),t.set(o,a)),a}function k(e,t,r,n,o){return r.bind(t,e,n,o)}function $(e,t){return k(e,this,1===e.length?x:C,t.cache.create(),t.serializer)}function U(){return JSON.stringify(arguments)}function V(){this.cache=Object.create(null)}V.prototype.has=function(e){return e in this.cache},V.prototype.get=function(e){return this.cache[e]},V.prototype.set=function(e,t){this.cache[e]=t};var G={create:function e(){return new V}},z=function Z(e,t){return(t&&t.strategy?t.strategy:$)(e,{cache:t&&t.cache?t.cache:G,serializer:t&&t.serializer?t.serializer:U})},Y={variadic:function q(e,t){return k(e,this,C,t.cache.create(),t.serializer)},monadic:function K(e,t){return k(e,this,x,t.cache.create(),t.serializer)}};z.strategies=Y;var W,B=Object.freeze(Object.assign(Object.create(null),z,{default:z,strategies:Y}));!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(W||(W={}));var H,J=function(e){function t(t,r,n){var o=e.call(this,t)||this;return o.code=r,o.originalMessage=n,o}return a(t,e),t.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},t}(Error),Q=function(e){function t(t,r,n,o){return e.call(this,'Invalid values for "'+t+'": "'+r+'". Options are "'+Object.keys(n).join('", "')+'"',"INVALID_VALUE",o)||this}return a(t,e),t}(J),X=function(e){function t(t,r,n){return e.call(this,'Value for "'+t+'" must be of type '+r,"INVALID_VALUE",n)||this}return a(t,e),t}(J),ee=function(e){function t(t,r){return e.call(this,'The intl string context variable "'+t+'" was not provided to the string "'+r+'"',"MISSING_VALUE",r)||this}return a(t,e),t}(J);function te(e){return"function"==typeof e}function re(e){return{create:function(){return{has:function(t){return t in e},get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(H||(H={}));var ne,oe=z||B,ae=function(){function e(t,r,n,o){var a=this;if(void 0===r&&(r=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=a.formatToParts(e);if(1===t.length)return t[0].value;var r=t.reduce((function(e,t){return e.length&&0===t.type&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return r.length<=1?r[0]||"":r},this.formatToParts=function(e){return function e(t,r,n,o,a,i,u){if(1===t.length&&L.isLiteralElement(t[0]))return[{type:0,value:t[0].value}];for(var l=[],s=0,c=t;s<c.length;s++){var f=c[s];if(L.isLiteralElement(f))l.push({type:0,value:f.value});else if(L.isPoundElement(f))"number"==typeof i&&l.push({type:0,value:n.getNumberFormat(r).format(i)});else{var m=f.value;if(!a||!(m in a))throw new ee(m,u);var p=a[m];if(L.isArgumentElement(f))p&&"string"!=typeof p&&"number"!=typeof p||(p="string"==typeof p||"number"==typeof p?String(p):""),l.push({type:"string"==typeof p?0:1,value:p});else if(L.isDateElement(f)){var d="string"==typeof f.style?o.date[f.style]:L.isDateTimeSkeleton(f.style)?f.style.parsedOptions:void 0;l.push({type:0,value:n.getDateTimeFormat(r,d).format(p)})}else if(L.isTimeElement(f))d="string"==typeof f.style?o.time[f.style]:L.isDateTimeSkeleton(f.style)?f.style.parsedOptions:void 0,l.push({type:0,value:n.getDateTimeFormat(r,d).format(p)});else if(L.isNumberElement(f))d="string"==typeof f.style?o.number[f.style]:L.isNumberSkeleton(f.style)?f.style.parsedOptions:void 0,l.push({type:0,value:n.getNumberFormat(r,d).format(p)});else{if(L.isTagElement(f)){var y=f.children,v=f.value,g=a[v];if(!te(g))throw new X(v,"function",u);var h=g(e(y,r,n,o,a,i).map((function(e){return e.value})));Array.isArray(h)||(h=[h]),l.push.apply(l,h.map((function(e){return{type:"string"==typeof e?0:1,value:e}})))}if(L.isSelectElement(f)){if(!(b=f.options[p]||f.options.other))throw new Q(f.value,p,Object.keys(f.options),u);l.push.apply(l,e(b.value,r,n,o,a))}else if(L.isPluralElement(f)){var b;if(!(b=f.options["="+p])){if(!Intl.PluralRules)throw new J('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',"MISSING_INTL_API",u);var T=n.getPluralRules(r,{type:f.pluralType}).select(p-(f.offset||0));b=f.options[T]||f.options.other}if(!b)throw new Q(f.value,p,Object.keys(f.options),u);l.push.apply(l,e(b.value,r,n,o,a,p-(f.offset||0)))}}}}return function E(e){return e.length<2?e:e.reduce((function(e,t){var r=e[e.length-1];return r&&0===r.type&&0===t.type?r.value+=t.value:e.push(t),e}),[])}(l)}(a.ast,a.locales,a.formatters,a.formats,e,void 0,a.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(a.locales)[0]}},this.getAst=function(){return a.ast},"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=e.__parse(t,{normalizeHashtagInPlural:!1,ignoreTag:null==o?void 0:o.ignoreTag})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=function u(e,t){return t?Object.keys(e).reduce((function(r,n){return r[n]=function o(e,t){return t?i(i(i({},e||{}),t||{}),Object.keys(e).reduce((function(r,n){return r[n]=i(i({},e[n]),t[n]||{}),r}),{})):e}(e[n],t[n]),r}),i({},e)):e}(e.formats,n),this.locales=r,this.formatters=o&&o.formatters||function l(e){return void 0===e&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:oe((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,f([void 0],t)))}),{cache:re(e.number),strategy:oe.strategies.variadic}),getDateTimeFormat:oe((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,f([void 0],t)))}),{cache:re(e.dateTime),strategy:oe.strategies.variadic}),getPluralRules:oe((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,f([void 0],t)))}),{cache:re(e.pluralRules),strategy:oe.strategies.variadic})}}(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.__parse=L.parse,e.formats={number:{currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();(ne=e.ReactIntlErrorCode||(e.ReactIntlErrorCode={})).FORMAT_ERROR="FORMAT_ERROR",ne.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",ne.INVALID_CONFIG="INVALID_CONFIG",ne.MISSING_DATA="MISSING_DATA",ne.MISSING_TRANSLATION="MISSING_TRANSLATION";var ie=function(e){function t(r,n,o){var a=e.call(this,"[@formatjs/intl Error "+r+"] "+n+" \n"+(o?"\n"+o.message+"\n"+o.stack:""))||this;return a.code=r,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(a,t),a}return a(t,e),t}(Error),ue=function(e){function t(t,r){return e.call(this,"UNSUPPORTED_FORMATTER",t,r)||this}return a(t,e),t}(ie),le=function(e){function t(t,r){return e.call(this,"INVALID_CONFIG",t,r)||this}return a(t,e),t}(ie),se=function(e){function t(t,r){return e.call(this,"MISSING_DATA",t,r)||this}return a(t,e),t}(ie),ce=function(e){function t(t,r,n,o){var a=e.call(this,"FORMAT_ERROR",t+" \nLocale: "+r+"\nMessageID: "+(null==n?void 0:n.id)+"\nDefault Message: "+(null==n?void 0:n.defaultMessage)+"\nDescription: "+(null==n?void 0:n.description)+" \n",o)||this;return a.descriptor=n,a}return a(t,e),t}(ie),fe=function(e){function t(t,r){var n=e.call(this,"MISSING_TRANSLATION",'Missing message: "'+t.id+'" for locale "'+r+'", using '+(t.defaultMessage?"default message":"id")+" as fallback.")||this;return n.descriptor=t,n}return a(t,e),t}(ie);function me(e,t,r){return void 0===r&&(r={}),t.reduce((function(t,n){return n in e?t[n]=e[n]:n in r&&(t[n]=r[n]),t}),{})}var pe={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},onError:function(e){}};function de(e){return{create:function(){return{has:function(t){return t in e},get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}var ye=z||B;function ve(e,t,r,n){var o,a=e&&e[t];if(a&&(o=a[r]),o)return o;n(new ue("No "+t+" format named: "+r))}function ge(e,t){return Object.keys(e).reduce((function(r,n){return r[n]=i({timeZone:t},e[n]),r}),{})}function he(e,t){return Object.keys(i(i({},e),t)).reduce((function(r,n){return r[n]=i(i({},e[n]||{}),t[n]||{}),r}),{})}function be(e,t){if(!t)return e;var r=ae.formats;return i(i(i({},r),e),{date:he(ge(r.date,t),ge(e.date||{},t)),time:he(ge(r.time,t),ge(e.time||{},t))})}function Te(e,t,r,n){var o=e.locale,a=e.formats,u=e.messages,l=e.defaultLocale,s=e.defaultFormats,c=e.onError,f=e.timeZone,m=e.defaultRichTextElements;void 0===r&&(r={id:""});var p=r.id,d=r.defaultMessage;F(!!p,"[@formatjs/intl] An `id` must be provided to format a message.");var y=String(p),v=u&&Object.prototype.hasOwnProperty.call(u,y)&&u[y];if(Array.isArray(v)&&1===v.length&&v[0].type===L.TYPE.literal)return v[0].value;if(!n&&v&&"string"==typeof v&&!m)return v.replace(/'\{(.*?)\}'/gi,"{$1}");if(n=i(i({},m),n||{}),a=be(a,f),s=be(s,f),!v){if((!d||o&&o.toLowerCase()!==l.toLowerCase())&&c(new fe(r,o)),d)try{return t.getMessageFormat(d,l,s).format(n)}catch(e){return c(new ce('Error formatting default message for: "'+y+'", rendering default message verbatim',o,r,e)),"string"==typeof d?d:y}return y}try{return t.getMessageFormat(v,o,a,{formatters:t}).format(n)}catch(e){c(new ce('Error formatting message: "'+y+'", using '+(d?"default message":"id")+" as fallback.",o,r,e))}if(d)try{return t.getMessageFormat(d,l,s).format(n)}catch(e){c(new ce('Error formatting the default message for: "'+y+'", rendering message verbatim',o,r,e))}return"string"==typeof v?v:"string"==typeof d?d:y}var Ee=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","fractionalSecondDigits","calendar","numberingSystem"];function _e(e,t,r,n){var o=e.locale,a=e.formats,u=e.onError,l=e.timeZone;void 0===n&&(n={});var s=n.format,c=i(i({},l&&{timeZone:l}),s&&ve(a,t,s,u)),f=me(n,Ee,c);return"time"!==t||f.hour||f.minute||f.second||(f=i(i({},f),{hour:"numeric",minute:"numeric"})),r(o,f)}function we(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=r[0],a=r[1],i=void 0===a?{}:a,u="string"==typeof o?new Date(o||0):o;try{return _e(e,"date",t,i).format(u)}catch(t){e.onError(new ie("FORMAT_ERROR","Error formatting date.",t))}return String(u)}function Ie(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=r[0],a=r[1],i=void 0===a?{}:a,u="string"==typeof o?new Date(o||0):o;try{return _e(e,"time",t,i).format(u)}catch(t){e.onError(new ie("FORMAT_ERROR","Error formatting time.",t))}return String(u)}function Se(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=r[0],a=r[1],i=r[2],u=void 0===i?{}:i,l=e.timeZone,s=e.locale,c=e.onError,f=me(u,Ee,l?{timeZone:l}:{});try{return t(s,f).formatRange(o,a)}catch(e){c(new ie("FORMAT_ERROR","Error formatting date time range.",e))}return String(o)}function Oe(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=r[0],a=r[1],i=void 0===a?{}:a,u="string"==typeof o?new Date(o||0):o;try{return _e(e,"date",t,i).formatToParts(u)}catch(t){e.onError(new ie("FORMAT_ERROR","Error formatting date.",t))}return[]}function Pe(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=r[0],a=r[1],i=void 0===a?{}:a,u="string"==typeof o?new Date(o||0):o;try{return _e(e,"time",t,i).formatToParts(u)}catch(t){e.onError(new ie("FORMAT_ERROR","Error formatting time.",t))}return[]}var Re=["localeMatcher","style","type","fallback"];function Ne(e,t,r,n){var o=e.locale,a=e.onError;Intl.DisplayNames||a(new J('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',"MISSING_INTL_API"));var i=me(n,Re);try{return t(o,i).of(r)}catch(e){a(new ie("FORMAT_ERROR","Error formatting display name.",e))}}var Fe=["localeMatcher","type","style"],De=Date.now();function je(e,t,r,n){var o=e.locale,a=e.onError;void 0===n&&(n={}),Intl.ListFormat||a(new J('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',"MISSING_INTL_API"));var i=me(n,Fe);try{var u={},l=r.map((function(e,t){if("object"==typeof e){var r=function n(e){return De+"_"+e+"_"+De}(t);return u[r]=e,r}return String(e)}));return Object.keys(u).length?t(o,i).formatToParts(l).reduce((function(e,t){var r=t.value;return u[r]?e.push(u[r]):"string"==typeof e[e.length-1]?e[e.length-1]+=r:e.push(r),e}),[]):t(o,i).format(l)}catch(e){a(new ie("FORMAT_ERROR","Error formatting list.",e))}return r}var Me=["localeMatcher","type"];function Ae(e,t,r,n){var o=e.locale,a=e.onError;void 0===n&&(n={}),Intl.PluralRules||a(new J('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',"MISSING_INTL_API"));var i=me(n,Me);try{return t(o,i).select(r)}catch(e){a(new ce("Error formatting plural.",e))}return"other"}var Le=["numeric","style"];function xe(e,t,r,n,o){void 0===o&&(o={}),n||(n="second"),Intl.RelativeTimeFormat||e.onError(new J('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',"MISSING_INTL_API"));try{return function a(e,t,r){var n=e.locale;void 0===r&&(r={});var o=r.format,a=!!o&&ve(e.formats,"relative",o,e.onError)||{};return t(n,me(r,Le,a))}(e,t,o).format(r,n)}catch(t){e.onError(new ce("Error formatting relative time.",t))}return String(r)}var Ce=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay"];function ke(e,t,r){var n=e.locale;void 0===r&&(r={});var o=r.format,a=o&&ve(e.formats,"number",o,e.onError)||{};return t(n,me(r,Ce,a))}function $e(e,t,r,n){void 0===n&&(n={});try{return ke(e,t,n).format(r)}catch(t){e.onError(new ie("FORMAT_ERROR","Error formatting number.",t))}return String(r)}function Ue(e,t,r,n){void 0===n&&(n={});try{return ke(e,t,n).formatToParts(r)}catch(t){e.onError(new ie("FORMAT_ERROR","Error formatting number.",t))}return[]}function Ve(e){F(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var Ge=i(i({},pe),{textComponent:t.Fragment}),ze="function"==typeof Symbol&&Symbol.for,Ze=ze?Symbol.for("react.element"):60103,Ye=ze?Symbol.for("react.portal"):60106,qe=ze?Symbol.for("react.fragment"):60107,Ke=ze?Symbol.for("react.strict_mode"):60108,We=ze?Symbol.for("react.profiler"):60114,Be=ze?Symbol.for("react.provider"):60109,He=ze?Symbol.for("react.context"):60110,Je=ze?Symbol.for("react.async_mode"):60111,Qe=ze?Symbol.for("react.concurrent_mode"):60111,Xe=ze?Symbol.for("react.forward_ref"):60112,et=ze?Symbol.for("react.suspense"):60113,tt=ze?Symbol.for("react.suspense_list"):60120,rt=ze?Symbol.for("react.memo"):60115,nt=ze?Symbol.for("react.lazy"):60116,ot=ze?Symbol.for("react.block"):60121,at=ze?Symbol.for("react.fundamental"):60117,it=ze?Symbol.for("react.responder"):60118,ut=ze?Symbol.for("react.scope"):60119;function lt(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Ze:switch(e=e.type){case Je:case Qe:case qe:case We:case Ke:case et:return e;default:switch(e=e&&e.$$typeof){case He:case Xe:case nt:case rt:case Be:return e;default:return t}}case Ye:return t}}}function st(e){return lt(e)===Qe}var ct={AsyncMode:Je,ConcurrentMode:Qe,ContextConsumer:He,ContextProvider:Be,Element:Ze,ForwardRef:Xe,Fragment:qe,Lazy:nt,Memo:rt,Portal:Ye,Profiler:We,StrictMode:Ke,Suspense:et,isAsyncMode:function(e){return st(e)||lt(e)===Je},isConcurrentMode:st,isContextConsumer:function(e){return lt(e)===He},isContextProvider:function(e){return lt(e)===Be},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Ze},isForwardRef:function(e){return lt(e)===Xe},isFragment:function(e){return lt(e)===qe},isLazy:function(e){return lt(e)===nt},isMemo:function(e){return lt(e)===rt},isPortal:function(e){return lt(e)===Ye},isProfiler:function(e){return lt(e)===We},isStrictMode:function(e){return lt(e)===Ke},isSuspense:function(e){return lt(e)===et},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===qe||e===Qe||e===We||e===Ke||e===et||e===tt||"object"==typeof e&&null!==e&&(e.$$typeof===nt||e.$$typeof===rt||e.$$typeof===Be||e.$$typeof===He||e.$$typeof===Xe||e.$$typeof===at||e.$$typeof===it||e.$$typeof===ut||e.$$typeof===ot)},typeOf:lt},ft=D((function(e){e.exports=ct})),mt={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},pt={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},dt={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},yt={};function vt(e){return ft.isMemo(e)?dt:yt[e.$$typeof]||mt}yt[ft.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},yt[ft.Memo]=dt;var gt,ht,bt=Object.defineProperty,Tt=Object.getOwnPropertyNames,Et=Object.getOwnPropertySymbols,_t=Object.getOwnPropertyDescriptor,wt=Object.getPrototypeOf,It=Object.prototype,St=function e(t,r,n){if("string"!=typeof r){if(It){var o=wt(r);o&&o!==It&&e(t,o,n)}var a=Tt(r);Et&&(a=a.concat(Et(r)));for(var i=vt(t),u=vt(r),l=0;l<a.length;++l){var s=a[l];if(!(pt[s]||n&&n[s]||u&&u[s]||i&&i[s])){var c=_t(r,s);try{bt(t,s,c)}catch(e){}}}}return t},Ot=St.default||St,Pt=t.createContext(null),Rt=Pt.Consumer,Nt=Pt.Provider,Ft=Pt;function Dt(e,r){var n=r||{},o=n.intlPropName,a=void 0===o?"intl":o,u=n.forwardRef,l=void 0!==u&&u,s=n.enforceContext,c=void 0===s||s,f=function(r){return t.createElement(Rt,null,(function(n){var o;c&&Ve(n);var u=((o={})[a]=n,o);return t.createElement(e,i({},r,u,{ref:l?r.forwardedRef:null}))}))};return f.displayName="injectIntl("+function m(e){return e.displayName||e.name||"Component"}(e)+")",f.WrappedComponent=e,Ot(l?t.forwardRef((function(e,r){return t.createElement(f,i({},e,{forwardedRef:r}))})):f,e)}!function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"}(gt||(gt={})),function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"}(ht||(ht={}));var jt=function(e){return t.createElement(Ft.Consumer,null,(function(t){Ve(t);var r=e.value,n=e.children,o=u(e,["value","children"]);return n(t.formatNumberToParts(r,o))}))};function Mt(e){var r=function(r){return t.createElement(Ft.Consumer,null,(function(t){Ve(t);var n=r.value,o=r.children,a=u(r,["value","children"]),i="string"==typeof n?new Date(n||0):n;return o("formatDate"===e?t.formatDateToParts(i,a):t.formatTimeToParts(i,a))}))};return r.displayName=ht[e],r}function At(e){var r=function(r){return t.createElement(Ft.Consumer,null,(function(n){Ve(n);var o=r.value,a=r.children,i=u(r,["value","children"]),l=n[e](o,i);return"function"==typeof a?a(l):t.createElement(n.textComponent||t.Fragment,null,l)}))};return r.displayName=gt[e],r}jt.displayName="FormattedNumberParts";var Lt=function xt(e,t){if(e===t)return!0;if(!e||!t)return!1;var r=Object.keys(e),n=Object.keys(t),o=r.length;if(n.length!==o)return!1;for(var a=0;a<o;a++){var i=r[a];if(e[i]!==t[i]||!Object.prototype.hasOwnProperty.call(t,i))return!1}return!0},Ct=Object.freeze(Object.assign(Object.create(null),Lt,{default:Lt})),kt=Lt||Ct;function $t(e){return{locale:e.locale,timeZone:e.timeZone,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError,wrapRichTextChunksInFragment:e.wrapRichTextChunksInFragment,defaultRichTextElements:e.defaultRichTextElements}}function Ut(e){return e?Object.keys(e).reduce((function(r,n){var o=e[n];return r[n]=te(o)?function a(e){return function(r){return e(t.Children.toArray(r))}}
16
16
  /** @license React v16.13.1
17
17
  * react-is.production.min.js
18
18
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  * This source code is licensed under the MIT license found in the
22
22
  * LICENSE file in the root directory of this source tree.
23
- */(o):o,r}),{}):e}var Vt=function(e,r,n,o){var a=Te(e,r,n,Ut(o));return Array.isArray(a)?t.Children.toArray(a):a},Gt=function(e,t){var r=e.defaultRichTextElements,n=u(e,["defaultRichTextElements"]),o=Ut(r),a=function l(e,t){var r=function n(e){void 0===e&&(e={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}});var t=Intl.RelativeTimeFormat,r=Intl.ListFormat,n=Intl.DisplayNames,o=ye((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,f([void 0],t)))}),{cache:de(e.dateTime),strategy:ye.strategies.variadic}),a=ye((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,f([void 0],t)))}),{cache:de(e.number),strategy:ye.strategies.variadic}),u=ye((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,f([void 0],t)))}),{cache:de(e.pluralRules),strategy:ye.strategies.variadic});return{getDateTimeFormat:o,getNumberFormat:a,getMessageFormat:ye((function(e,t,r,n){return new ae(e,t,r,i({formatters:{getNumberFormat:a,getDateTimeFormat:o,getPluralRules:u}},n||{}))}),{cache:de(e.message),strategy:ye.strategies.variadic}),getRelativeTimeFormat:ye((function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new(t.bind.apply(t,f([void 0],e)))}),{cache:de(e.relativeTime),strategy:ye.strategies.variadic}),getPluralRules:u,getListFormat:ye((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(r.bind.apply(r,f([void 0],e)))}),{cache:de(e.list),strategy:ye.strategies.variadic}),getDisplayNames:ye((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(n.bind.apply(n,f([void 0],e)))}),{cache:de(e.displayNames),strategy:ye.strategies.variadic})}}(t),o=i(i({},pe),e),a=o.locale,u=o.defaultLocale,l=o.onError;return a?!Intl.NumberFormat.supportedLocalesOf(a).length&&l?l(new se('Missing locale data for locale: "'+a+'" in Intl.NumberFormat. Using default locale: "'+u+'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details')):!Intl.DateTimeFormat.supportedLocalesOf(a).length&&l&&l(new se('Missing locale data for locale: "'+a+'" in Intl.DateTimeFormat. Using default locale: "'+u+'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details')):(l&&l(new le('"locale" was not configured, using "'+u+'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details')),o.locale=o.defaultLocale||"en"),i(i({},o),{formatters:r,formatNumber:$e.bind(null,o,r.getNumberFormat),formatNumberToParts:Ue.bind(null,o,r.getNumberFormat),formatRelativeTime:xe.bind(null,o,r.getRelativeTimeFormat),formatDate:we.bind(null,o,r.getDateTimeFormat),formatDateToParts:Oe.bind(null,o,r.getDateTimeFormat),formatTime:Ie.bind(null,o,r.getDateTimeFormat),formatDateTimeRange:Se.bind(null,o,r.getDateTimeFormat),formatTimeToParts:Pe.bind(null,o,r.getDateTimeFormat),formatPlural:Ae.bind(null,o,r.getPluralRules),formatMessage:Te.bind(null,o,r),formatList:je.bind(null,o,r.getListFormat),formatDisplayName:Ne.bind(null,o,r.getDisplayNames)})}(i(i({},Ge),n),t);return i(i({},a),{formatMessage:Vt.bind(null,{locale:a.locale,timeZone:a.timeZone,formats:a.formats,defaultLocale:a.defaultLocale,defaultFormats:a.defaultFormats,messages:a.messages,onError:a.onError,defaultRichTextElements:o},a.formatters)})},zt=function(e){function r(){var t=null!==e&&e.apply(this,arguments)||this;return t.cache={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}},t.state={cache:t.cache,intl:Gt($t(t.props),t.cache),prevConfig:$t(t.props)},t}return a(r,e),r.getDerivedStateFromProps=function(e,t){var r=t.prevConfig,n=t.cache,o=$t(e);return kt(r,o)?null:{intl:Gt(o,n),prevConfig:o}},r.prototype.render=function(){return Ve(this.state.intl),t.createElement(Nt,{value:this.state.intl},this.props.children)},r.displayName="IntlProvider",r.defaultProps=Ge,r}(t.PureComponent);function Zt(e){var t=Math.abs(e);return t<60?"second":t<3600?"minute":t<86400?"hour":"day"}function Yt(e){switch(e){case"second":return 1;case"minute":return 60;case"hour":return 3600;default:return 86400}}function qt(e,t){if(!e)return 0;switch(t){case"second":return e;case"minute":return 60*e;default:return 3600*e}}var Kt=["second","minute","hour"];function Wt(e){return void 0===e&&(e="second"),Kt.includes(e)}var Bt=function(e){function r(t){var r=e.call(this,t)||this;return r._updateTimer=null,r.state={prevUnit:r.props.unit,prevValue:r.props.value,currentValueInSeconds:Wt(r.props.unit)?qt(r.props.value,r.props.unit):0},F(!t.updateIntervalInSeconds||!(!t.updateIntervalInSeconds||!Wt(t.unit)),"Cannot schedule update with unit longer than hour"),r}return a(r,e),r.prototype.scheduleNextUpdate=function(e,t){var r=this,n=e.updateIntervalInSeconds,o=e.unit,a=t.currentValueInSeconds;if(clearTimeout(this._updateTimer),this._updateTimer=null,n&&Wt(o)){var i=a-n,u=Zt(i);if("day"!==u){var l=Yt(u),s=i-i%l,c=s>=a?s-l:s,f=Math.abs(c-a);this._updateTimer=setTimeout((function(){return r.setState({currentValueInSeconds:c})}),1e3*f)}}},r.prototype.componentDidMount=function(){this.scheduleNextUpdate(this.props,this.state)},r.prototype.componentDidUpdate=function(){this.scheduleNextUpdate(this.props,this.state)},r.prototype.componentWillUnmount=function(){clearTimeout(this._updateTimer),this._updateTimer=null},r.getDerivedStateFromProps=function(e,t){return e.unit!==t.prevUnit||e.value!==t.prevValue?{prevValue:e.value,prevUnit:e.unit,currentValueInSeconds:Wt(e.unit)?qt(e.value,e.unit):0}:null},r.prototype.render=function(){var e=this;return t.createElement(Ft.Consumer,null,(function(r){Ve(r);var n=r.formatRelativeTime,o=r.textComponent,a=e.props,u=a.children,l=a.unit,s=a.updateIntervalInSeconds,c=e.state.currentValueInSeconds,f=a.value||0,m=l;if(Wt(l)&&"number"==typeof c&&s){var p=Yt(m=Zt(c));f=Math.round(c/p)}var d=n(f,m,i({},e.props));return"function"==typeof u?u(d):o?t.createElement(o,null,d):d}))},r.displayName="FormattedRelativeTime",r.defaultProps={value:0,unit:"second"},r}(t.PureComponent),Ht=function(e){var r=e.other,n=e.children,o=e.intl,a=o.textComponent,i=e[(0,o.formatPlural)(e.value,e)]||r;return"function"==typeof n?n(i):a?t.createElement(a,null,i):i};Ht.defaultProps={type:"cardinal"},Ht.displayName="FormattedPlural";var Jt=Dt(Ht),Qt=Lt||Ct,Xt=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return a(r,e),r.prototype.shouldComponentUpdate=function(e){var t=this.props,r=t.values,n=u(t,["values"]),o=e.values,a=u(e,["values"]);return!Qt(o,r)||!Qt(n,a)},r.prototype.render=function(){var e=this;return t.createElement(Ft.Consumer,null,(function(r){Ve(r);var o=r.textComponent,a=e.props,i=a.children,u=a.tagName,l=void 0===u?void 0===o?t.Fragment:o:u,s=(0,r.formatMessage)({id:a.id,description:a.description,defaultMessage:a.defaultMessage},a.values);return Array.isArray(s)||(s=[s]),"function"==typeof i?i(s):l?t.createElement.apply(n,f([l,null],s)):s}))},r.displayName="FormattedMessage",r}(t.Component),er=function(e){return t.createElement(Ft.Consumer,null,(function(r){Ve(r);var n=e.from,o=e.to,a=e.children,i=u(e,["from","to","children"]),l=r.formatDateTimeRange(n,o,i);return"function"==typeof a?a(l):t.createElement(r.textComponent||t.Fragment,null,l)}))};er.displayName="FormattedDateTimeRange";var tr=At("formatDate"),rr=At("formatTime"),nr=At("formatNumber"),or=At("formatList"),ar=At("formatDisplayName"),ir=Mt("formatDate"),ur=Mt("formatTime");e.FormattedDate=tr,e.FormattedDateParts=ir,e.FormattedDateTimeRange=er,e.FormattedDisplayName=ar,e.FormattedList=or,e.FormattedMessage=Xt,e.FormattedNumber=nr,e.FormattedNumberParts=jt,e.FormattedPlural=Jt,e.FormattedRelativeTime=Bt,e.FormattedTime=rr,e.FormattedTimeParts=ur,e.IntlContext=Ft,e.IntlProvider=zt,e.InvalidConfigError=le,e.MessageFormatError=ce,e.MissingDataError=se,e.MissingTranslationError=fe,e.RawIntlProvider=Nt,e.ReactIntlError=ie,e.UnsupportedFormatterError=ue,e.createIntl=Gt,e.createIntlCache=function lr(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}},e.defineMessage=function sr(e){return e},e.defineMessages=function cr(e){return e},e.injectIntl=Dt,e.useIntl=function fr(){var e=t.useContext(Ft);return Ve(e),e},Object.defineProperty(e,"__esModule",{value:!0})}));
23
+ */(o):o,r}),{}):e}var Vt=function(e,r,n,o){var a=Te(e,r,n,Ut(o));return Array.isArray(a)?t.Children.toArray(a):a},Gt=function(e,t){var r=e.defaultRichTextElements,n=u(e,["defaultRichTextElements"]),o=Ut(r),a=function l(e,t){var r=function n(e){void 0===e&&(e={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}});var t=Intl.RelativeTimeFormat,r=Intl.ListFormat,n=Intl.DisplayNames,o=ye((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,f([void 0],t)))}),{cache:de(e.dateTime),strategy:ye.strategies.variadic}),a=ye((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,f([void 0],t)))}),{cache:de(e.number),strategy:ye.strategies.variadic}),u=ye((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,f([void 0],t)))}),{cache:de(e.pluralRules),strategy:ye.strategies.variadic});return{getDateTimeFormat:o,getNumberFormat:a,getMessageFormat:ye((function(e,t,r,n){return new ae(e,t,r,i({formatters:{getNumberFormat:a,getDateTimeFormat:o,getPluralRules:u}},n||{}))}),{cache:de(e.message),strategy:ye.strategies.variadic}),getRelativeTimeFormat:ye((function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new(t.bind.apply(t,f([void 0],e)))}),{cache:de(e.relativeTime),strategy:ye.strategies.variadic}),getPluralRules:u,getListFormat:ye((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(r.bind.apply(r,f([void 0],e)))}),{cache:de(e.list),strategy:ye.strategies.variadic}),getDisplayNames:ye((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(n.bind.apply(n,f([void 0],e)))}),{cache:de(e.displayNames),strategy:ye.strategies.variadic})}}(t),o=i(i({},pe),e),a=o.locale,u=o.defaultLocale,l=o.onError;a?!Intl.NumberFormat.supportedLocalesOf(a).length&&l?l(new se('Missing locale data for locale: "'+a+'" in Intl.NumberFormat. Using default locale: "'+u+'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details')):!Intl.DateTimeFormat.supportedLocalesOf(a).length&&l&&l(new se('Missing locale data for locale: "'+a+'" in Intl.DateTimeFormat. Using default locale: "'+u+'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details')):(l&&l(new le('"locale" was not configured, using "'+u+'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details')),o.locale=o.defaultLocale||"en");var s=e.messages?e.messages[Object.keys(e.messages)[0]]:void 0;return e.defaultRichTextElements&&s&&"string"==typeof s&&console.warn('[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled. \nPlease consider using "@formatjs/cli" to pre-compile your messages for performance.\nFor more details see https://formatjs.io/docs/getting-started/message-distribution'),i(i({},o),{formatters:r,formatNumber:$e.bind(null,o,r.getNumberFormat),formatNumberToParts:Ue.bind(null,o,r.getNumberFormat),formatRelativeTime:xe.bind(null,o,r.getRelativeTimeFormat),formatDate:we.bind(null,o,r.getDateTimeFormat),formatDateToParts:Oe.bind(null,o,r.getDateTimeFormat),formatTime:Ie.bind(null,o,r.getDateTimeFormat),formatDateTimeRange:Se.bind(null,o,r.getDateTimeFormat),formatTimeToParts:Pe.bind(null,o,r.getDateTimeFormat),formatPlural:Ae.bind(null,o,r.getPluralRules),formatMessage:Te.bind(null,o,r),formatList:je.bind(null,o,r.getListFormat),formatDisplayName:Ne.bind(null,o,r.getDisplayNames)})}(i(i(i({},Ge),n),{defaultRichTextElements:o}),t);return i(i({},a),{formatMessage:Vt.bind(null,{locale:a.locale,timeZone:a.timeZone,formats:a.formats,defaultLocale:a.defaultLocale,defaultFormats:a.defaultFormats,messages:a.messages,onError:a.onError,defaultRichTextElements:o},a.formatters)})},zt=function(e){function r(){var t=null!==e&&e.apply(this,arguments)||this;return t.cache={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}},t.state={cache:t.cache,intl:Gt($t(t.props),t.cache),prevConfig:$t(t.props)},t}return a(r,e),r.getDerivedStateFromProps=function(e,t){var r=t.prevConfig,n=t.cache,o=$t(e);return kt(r,o)?null:{intl:Gt(o,n),prevConfig:o}},r.prototype.render=function(){return Ve(this.state.intl),t.createElement(Nt,{value:this.state.intl},this.props.children)},r.displayName="IntlProvider",r.defaultProps=Ge,r}(t.PureComponent);function Zt(e){var t=Math.abs(e);return t<60?"second":t<3600?"minute":t<86400?"hour":"day"}function Yt(e){switch(e){case"second":return 1;case"minute":return 60;case"hour":return 3600;default:return 86400}}function qt(e,t){if(!e)return 0;switch(t){case"second":return e;case"minute":return 60*e;default:return 3600*e}}var Kt=["second","minute","hour"];function Wt(e){return void 0===e&&(e="second"),Kt.includes(e)}var Bt=function(e){function r(t){var r=e.call(this,t)||this;return r._updateTimer=null,r.state={prevUnit:r.props.unit,prevValue:r.props.value,currentValueInSeconds:Wt(r.props.unit)?qt(r.props.value,r.props.unit):0},F(!t.updateIntervalInSeconds||!(!t.updateIntervalInSeconds||!Wt(t.unit)),"Cannot schedule update with unit longer than hour"),r}return a(r,e),r.prototype.scheduleNextUpdate=function(e,t){var r=this,n=e.updateIntervalInSeconds,o=e.unit,a=t.currentValueInSeconds;if(clearTimeout(this._updateTimer),this._updateTimer=null,n&&Wt(o)){var i=a-n,u=Zt(i);if("day"!==u){var l=Yt(u),s=i-i%l,c=s>=a?s-l:s,f=Math.abs(c-a);this._updateTimer=setTimeout((function(){return r.setState({currentValueInSeconds:c})}),1e3*f)}}},r.prototype.componentDidMount=function(){this.scheduleNextUpdate(this.props,this.state)},r.prototype.componentDidUpdate=function(){this.scheduleNextUpdate(this.props,this.state)},r.prototype.componentWillUnmount=function(){clearTimeout(this._updateTimer),this._updateTimer=null},r.getDerivedStateFromProps=function(e,t){return e.unit!==t.prevUnit||e.value!==t.prevValue?{prevValue:e.value,prevUnit:e.unit,currentValueInSeconds:Wt(e.unit)?qt(e.value,e.unit):0}:null},r.prototype.render=function(){var e=this;return t.createElement(Ft.Consumer,null,(function(r){Ve(r);var n=r.formatRelativeTime,o=r.textComponent,a=e.props,u=a.children,l=a.unit,s=a.updateIntervalInSeconds,c=e.state.currentValueInSeconds,f=a.value||0,m=l;if(Wt(l)&&"number"==typeof c&&s){var p=Yt(m=Zt(c));f=Math.round(c/p)}var d=n(f,m,i({},e.props));return"function"==typeof u?u(d):o?t.createElement(o,null,d):d}))},r.displayName="FormattedRelativeTime",r.defaultProps={value:0,unit:"second"},r}(t.PureComponent),Ht=function(e){var r=e.other,n=e.children,o=e.intl,a=o.textComponent,i=e[(0,o.formatPlural)(e.value,e)]||r;return"function"==typeof n?n(i):a?t.createElement(a,null,i):i};Ht.defaultProps={type:"cardinal"},Ht.displayName="FormattedPlural";var Jt=Dt(Ht),Qt=Lt||Ct,Xt=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return a(r,e),r.prototype.shouldComponentUpdate=function(e){var t=this.props,r=t.values,n=u(t,["values"]),o=e.values,a=u(e,["values"]);return!Qt(o,r)||!Qt(n,a)},r.prototype.render=function(){var e=this;return t.createElement(Ft.Consumer,null,(function(r){Ve(r);var o=r.textComponent,a=e.props,i=a.children,u=a.tagName,l=void 0===u?void 0===o?t.Fragment:o:u,s=(0,r.formatMessage)({id:a.id,description:a.description,defaultMessage:a.defaultMessage},a.values);return Array.isArray(s)||(s=[s]),"function"==typeof i?i(s):l?t.createElement.apply(n,f([l,null],s)):s}))},r.displayName="FormattedMessage",r}(t.Component),er=function(e){return t.createElement(Ft.Consumer,null,(function(r){Ve(r);var n=e.from,o=e.to,a=e.children,i=u(e,["from","to","children"]),l=r.formatDateTimeRange(n,o,i);return"function"==typeof a?a(l):t.createElement(r.textComponent||t.Fragment,null,l)}))};er.displayName="FormattedDateTimeRange";var tr=At("formatDate"),rr=At("formatTime"),nr=At("formatNumber"),or=At("formatList"),ar=At("formatDisplayName"),ir=Mt("formatDate"),ur=Mt("formatTime");e.FormattedDate=tr,e.FormattedDateParts=ir,e.FormattedDateTimeRange=er,e.FormattedDisplayName=ar,e.FormattedList=or,e.FormattedMessage=Xt,e.FormattedNumber=nr,e.FormattedNumberParts=jt,e.FormattedPlural=Jt,e.FormattedRelativeTime=Bt,e.FormattedTime=rr,e.FormattedTimeParts=ur,e.IntlContext=Ft,e.IntlProvider=zt,e.InvalidConfigError=le,e.MessageFormatError=ce,e.MissingDataError=se,e.MissingTranslationError=fe,e.RawIntlProvider=Nt,e.ReactIntlError=ie,e.UnsupportedFormatterError=ue,e.createIntl=Gt,e.createIntlCache=function lr(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}},e.defineMessage=function sr(e){return e},e.defineMessages=function cr(e){return e},e.injectIntl=Dt,e.useIntl=function fr(){var e=t.useContext(Ft);return Ve(e),e},Object.defineProperty(e,"__esModule",{value:!0})}));
package/react-intl.umd.js CHANGED
@@ -4442,12 +4442,6 @@
4442
4442
  message[0].type === TYPE.literal) {
4443
4443
  return message[0].value;
4444
4444
  }
4445
- if (!values &&
4446
- message &&
4447
- typeof message === 'string' &&
4448
- defaultRichTextElements) {
4449
- console.warn("[@formatjs/intl] \"defaultRichTextElements\" was specified but \"message\" was not pre-compiled. \nPlease consider using \"@formatjs/cli\" to pre-compile your messages for performance.\nFor more details see https://formatjs.io/docs/getting-started/message-distribution");
4450
- }
4451
4445
  // IMPORTANT: Hot path straight lookup for performance
4452
4446
  if (!values &&
4453
4447
  message &&
@@ -4820,6 +4814,14 @@
4820
4814
  onError) {
4821
4815
  onError(new MissingDataError("Missing locale data for locale: \"" + locale + "\" in Intl.DateTimeFormat. Using default locale: \"" + defaultLocale + "\" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details"));
4822
4816
  }
4817
+ var firstMessage = config.messages
4818
+ ? config.messages[Object.keys(config.messages)[0]]
4819
+ : undefined;
4820
+ if (config.defaultRichTextElements &&
4821
+ firstMessage &&
4822
+ typeof firstMessage === 'string') {
4823
+ console.warn("[@formatjs/intl] \"defaultRichTextElements\" was specified but \"message\" was not pre-compiled. \nPlease consider using \"@formatjs/cli\" to pre-compile your messages for performance.\nFor more details see https://formatjs.io/docs/getting-started/message-distribution");
4824
+ }
4823
4825
  return __assign(__assign({}, resolvedConfig), { formatters: formatters, formatNumber: formatNumber.bind(null, resolvedConfig, formatters.getNumberFormat), formatNumberToParts: formatNumberToParts.bind(null, resolvedConfig, formatters.getNumberFormat), formatRelativeTime: formatRelativeTime.bind(null, resolvedConfig, formatters.getRelativeTimeFormat), formatDate: formatDate.bind(null, resolvedConfig, formatters.getDateTimeFormat), formatDateToParts: formatDateToParts.bind(null, resolvedConfig, formatters.getDateTimeFormat), formatTime: formatTime.bind(null, resolvedConfig, formatters.getDateTimeFormat), formatDateTimeRange: formatDateTimeRange.bind(null, resolvedConfig, formatters.getDateTimeFormat), formatTimeToParts: formatTimeToParts.bind(null, resolvedConfig, formatters.getDateTimeFormat), formatPlural: formatPlural.bind(null, resolvedConfig, formatters.getPluralRules), formatMessage: formatMessage.bind(null, resolvedConfig, formatters), formatList: formatList.bind(null, resolvedConfig, formatters.getListFormat), formatDisplayName: formatDisplayName.bind(null, resolvedConfig, formatters.getDisplayNames) });
4824
4826
  }
4825
4827
 
@@ -5179,7 +5181,7 @@
5179
5181
  var createIntl$1 = function (_a, cache) {
5180
5182
  var rawDefaultRichTextElements = _a.defaultRichTextElements, config = __rest(_a, ["defaultRichTextElements"]);
5181
5183
  var defaultRichTextElements = assignUniqueKeysToFormatXMLElementFnArgument(rawDefaultRichTextElements);
5182
- var coreIntl = createIntl(__assign(__assign({}, DEFAULT_INTL_CONFIG$1), config), cache);
5184
+ var coreIntl = createIntl(__assign(__assign(__assign({}, DEFAULT_INTL_CONFIG$1), config), { defaultRichTextElements: defaultRichTextElements }), cache);
5183
5185
  return __assign(__assign({}, coreIntl), { formatMessage: formatMessage$1.bind(null, {
5184
5186
  locale: coreIntl.locale,
5185
5187
  timeZone: coreIntl.timeZone,
@@ -12,7 +12,7 @@
12
12
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13
13
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14
14
  PERFORMANCE OF THIS SOFTWARE.
15
- ***************************************************************************** */function o(e,t){function r(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var i,u,s=function(){return(s=Object.assign||function e(t){for(var r,n=1,a=arguments.length;n<a;n++)for(var o in r=arguments[n])Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o]);return t}).apply(this,arguments)};function c(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]])}return r}function l(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),a=0;for(t=0;t<r;t++)for(var o=arguments[t],i=0,u=o.length;i<u;i++,a++)n[a]=o[i];return n}function f(e,t,r){if(void 0===r&&(r=Error),!e)throw new r(t)}function m(e){return e.type===i.literal}function p(e){return e.type===i.argument}function d(e){return e.type===i.number}function h(e){return e.type===i.date}function g(e){return e.type===i.time}function y(e){return e.type===i.select}function v(e){return e.type===i.plural}function b(e){return e.type===i.pound}function A(e){return e.type===i.tag}function w(e){return!(!e||"object"!=typeof e||0!==e.type)}function T(e){return!(!e||"object"!=typeof e||1!==e.type)}!function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"}(i||(i={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(u||(u={}));var F=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g,E=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,I=/^(@+)?(\+|#+)?$/g;function R(e){var t={};return e.replace(I,(function(e,r,n){return"string"!=typeof n?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):"+"===n?t.minimumSignificantDigits=r.length:"#"===r[0]?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+("string"==typeof n?n.length:0)),""})),t}function S(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":return{currencySign:"accounting"};case"sign-always":return{signDisplay:"always"};case"sign-accounting-always":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":return{signDisplay:"never"}}}function D(e){return S(e)||{}}function O(e){for(var t={},r=0,n=e;r<n.length;r++){var a=n[r];switch(a.stem){case"percent":t.style="percent";continue;case"currency":t.style="currency",t.currency=a.options[0];continue;case"group-off":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":t.style="unit",t.unit=a.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=s(s(s({},t),{notation:"scientific"}),a.options.reduce((function(e,t){return s(s({},e),D(t))}),{}));continue;case"engineering":t=s(s(s({},t),{notation:"engineering"}),a.options.reduce((function(e,t){return s(s({},e),D(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue}if(E.test(a.stem)){if(a.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");a.stem.replace(E,(function(e,r,n,a,o,i){return"*"===n?t.minimumFractionDigits=r.length:a&&"#"===a[0]?t.maximumFractionDigits=a.length:o&&i?(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length+i.length):(t.minimumFractionDigits=r.length,t.maximumFractionDigits=r.length),""})),a.options.length&&(t=s(s({},t),R(a.options[0])))}else if(I.test(a.stem))t=s(s({},t),R(a.stem));else{var o=S(a.stem);o&&(t=s(s({},t),o))}}return t}var N=function(e){function t(r,n,a,o){var i=e.call(this)||this;return i.message=r,i.expected=n,i.found=a,i.location=o,i.name="SyntaxError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(i,t),i}return o(t,e),t.buildMessage=function(e,t){function r(e){return e.charCodeAt(0).toString(16).toUpperCase()}function n(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(e){return"\\x0"+r(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){return"\\x"+r(e)}))}function a(e){return e.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(e){return"\\x0"+r(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){return"\\x"+r(e)}))}function o(e){switch(e.type){case"literal":return'"'+n(e.text)+'"';case"class":var t=e.parts.map((function(e){return Array.isArray(e)?a(e[0])+"-"+a(e[1]):a(e)}));return"["+(e.inverted?"^":"")+t+"]";case"any":return"any character";case"end":return"end of input";case"other":return e.description}}return"Expected "+function i(e){var t,r,n=e.map(o);if(n.sort(),n.length>0){for(t=1,r=1;t<n.length;t++)n[t-1]!==n[t]&&(n[r]=n[t],r++);n.length=r}switch(n.length){case 1:return n[0];case 2:return n[0]+" or "+n[1];default:return n.slice(0,-1).join(", ")+", or "+n[n.length-1]}}(e)+" but "+function u(e){return e?'"'+n(e)+'"':"end of input"}(t)+" found."},t}(Error),C=function x(e,t){t=void 0!==t?t:{};var r,n={},a={start:Ne},o=Ne,u=Ee("<",!1),c=function(e){return e.join("")},l=Ee("#",!1),f=Re("tagElement"),m=Ee("/>",!1),p=Ee(">",!1),d=Ee("</",!1),h=Re("argumentElement"),g=Ee("{",!1),y=Ee("}",!1),v=Re("numberSkeletonId"),b=/^['\/{}]/,A=Ie(["'","/","{","}"],!1,!1),w={type:"any"},T=Re("numberSkeletonTokenOption"),E=Ee("/",!1),I=Re("numberSkeletonToken"),R=Ee("::",!1),S=function(e){return rt.pop(),e.replace(/\s*$/,"")},D=Ee(",",!1),C=Ee("number",!1),x=function(e,t,r){return s({type:"number"===t?i.number:"date"===t?i.date:i.time,style:r&&r[2],value:e},at())},P=Ee("'",!1),M=/^[^']/,_=Ie(["'"],!0,!1),j=/^[^a-zA-Z'{}]/,k=Ie([["a","z"],["A","Z"],"'","{","}"],!0,!1),L=/^[a-zA-Z]/,$=Ie([["a","z"],["A","Z"]],!1,!1),U=Ee("date",!1),z=Ee("time",!1),V=Ee("plural",!1),Z=Ee("selectordinal",!1),G=Ee("offset:",!1),B=Ee("select",!1),q=Ee("=",!1),H=Re("whitespace"),W=/^[\t-\r \x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,J=Ie([["\t","\r"]," ","…"," "," ",[" "," "],"\u2028","\u2029"," "," "," "],!1,!1),K=Re("syntax pattern"),Q=/^[!-\/:-@[-\^`{-~\xA1-\xA7\xA9\xAB\xAC\xAE\xB0\xB1\xB6\xBB\xBF\xD7\xF7\u2010-\u2027\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u245F\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3020\u3030\uFD3E\uFD3F\uFE45\uFE46]/,X=Ie([["!","/"],[":","@"],["[","^"],"`",["{","~"],["¡","§"],"©","«","¬","®","°","±","¶","»","¿","×","÷",["‐","‧"],["‰","‾"],["⁁","⁓"],["⁕","⁞"],["←","⑟"],["─","❵"],["➔","⯿"],["⸀","⹿"],["、","〃"],["〈","〠"],"〰","﴾","﴿","﹅","﹆"],!1,!1),Y=Re("optional whitespace"),ee=Re("number"),te=Ee("-",!1),re=Re("double apostrophes"),ne=Ee("''",!1),ae=Ee("\n",!1),oe=Re("argNameOrNumber"),ie=Re("validTag"),ue=Re("argNumber"),se=Ee("0",!1),ce=/^[1-9]/,le=Ie([["1","9"]],!1,!1),fe=/^[0-9]/,me=Ie([["0","9"]],!1,!1),pe=Re("argName"),de=Re("tagName"),he=0,ge=0,ye=[{line:1,column:1}],ve=0,be=[],Ae=0;if(void 0!==t.startRule){if(!(t.startRule in a))throw new Error("Can't start parsing from rule \""+t.startRule+'".');o=a[t.startRule]}function we(){return e.substring(ge,he)}function Te(){return De(ge,he)}function Fe(e,t){throw function r(e,t){return new N(e,[],"",t)}(e,t=void 0!==t?t:De(ge,he))}function Ee(e,t){return{type:"literal",text:e,ignoreCase:t}}function Ie(e,t,r){return{type:"class",parts:e,inverted:t,ignoreCase:r}}function Re(e){return{type:"other",description:e}}function Se(t){var r,n=ye[t];if(n)return n;for(r=t-1;!ye[r];)r--;for(n={line:(n=ye[r]).line,column:n.column};r<t;)10===e.charCodeAt(r)?(n.line++,n.column=1):n.column++,r++;return ye[t]=n,n}function De(e,t){var r=Se(e),n=Se(t);return{start:{offset:e,line:r.line,column:r.column},end:{offset:t,line:n.line,column:n.column}}}function Oe(e){he<ve||(he>ve&&(ve=he,be=[]),be.push(e))}function Ne(){return Ce()}function Ce(){var e,t;for(e=[],t=xe();t!==n;)e.push(t),t=xe();return e}function xe(){var t,r;return t=he,ge=he,(ot?n:void 0)!==n&&(r=function a(){var e,t,r,a,o,u,c;return Ae++,(e=_e())===n&&(e=he,(t=je())!==n&&(r=Ce())!==n&&(a=ke())!==n?(ge=e,u=r,(o=t)!==(c=a)&&Fe('Mismatch tag "'+o+'" !== "'+c+'"',Te()),e=t=s({type:i.tag,value:o,children:u},at())):(he=e,e=n)),Ae--,e===n&&(t=n,0===Ae&&Oe(f)),e}())!==n?(ge=t,t=r):(he=t,t=n),t===n&&(t=function o(){var e,t;return e=he,(t=Pe())!==n&&(ge=e,t=s({type:i.literal,value:t},at())),t}())===n&&(t=function u(){var t,r,a,o;return Ae++,t=he,123===e.charCodeAt(he)?(r="{",he++):(r=n,0===Ae&&Oe(g)),r!==n&&He()!==n&&(a=Xe())!==n&&He()!==n?(125===e.charCodeAt(he)?(o="}",he++):(o=n,0===Ae&&Oe(y)),o!==n?(ge=t,t=r=s({type:i.argument,value:a},at())):(he=t,t=n)):(he=t,t=n),Ae--,t===n&&(r=n,0===Ae&&Oe(h)),t}())===n&&(t=function c(){var t;return(t=function r(){var t,r,a,o,i,u,c,l,f;return t=he,123===e.charCodeAt(he)?(r="{",he++):(r=n,0===Ae&&Oe(g)),r!==n&&He()!==n&&(a=Xe())!==n&&He()!==n?(44===e.charCodeAt(he)?(o=",",he++):(o=n,0===Ae&&Oe(D)),o!==n&&He()!==n?("number"===e.substr(he,6)?(i="number",he+=6):(i=n,0===Ae&&Oe(C)),i!==n&&He()!==n?(u=he,44===e.charCodeAt(he)?(c=",",he++):(c=n,0===Ae&&Oe(D)),c!==n&&(l=He())!==n&&(f=function m(){var t,r,a;return t=he,"::"===e.substr(he,2)?(r="::",he+=2):(r=n,0===Ae&&Oe(R)),r!==n&&(a=function o(){var e,t,r,a;if(e=he,t=[],(r=Ue())!==n)for(;r!==n;)t.push(r),r=Ue();else t=n;return t!==n&&(ge=e,t=s({type:0,tokens:a=t,parsedOptions:it?O(a):{}},at())),t}())!==n?(ge=t,t=r=a):(he=t,t=n),t===n&&(t=he,ge=he,rt.push("numberArgStyle"),(r=(r=!0)?void 0:n)!==n&&(a=Pe())!==n?(ge=t,t=r=S(a)):(he=t,t=n)),t}())!==n?u=c=[c,l,f]:(he=u,u=n),u===n&&(u=null),u!==n&&(c=He())!==n?(125===e.charCodeAt(he)?(l="}",he++):(l=n,0===Ae&&Oe(y)),l!==n?(ge=t,t=r=x(a,i,u)):(he=t,t=n)):(he=t,t=n)):(he=t,t=n)):(he=t,t=n)):(he=t,t=n),t}())===n&&(t=function a(){var t,r,a,o,i,u,c,l,f;return t=he,123===e.charCodeAt(he)?(r="{",he++):(r=n,0===Ae&&Oe(g)),r!==n&&He()!==n&&(a=Xe())!==n&&He()!==n?(44===e.charCodeAt(he)?(o=",",he++):(o=n,0===Ae&&Oe(D)),o!==n&&He()!==n?("date"===e.substr(he,4)?(i="date",he+=4):(i=n,0===Ae&&Oe(U)),i===n&&("time"===e.substr(he,4)?(i="time",he+=4):(i=n,0===Ae&&Oe(z))),i!==n&&He()!==n?(u=he,44===e.charCodeAt(he)?(c=",",he++):(c=n,0===Ae&&Oe(D)),c!==n&&(l=He())!==n&&(f=function m(){var t,r,a;return t=he,"::"===e.substr(he,2)?(r="::",he+=2):(r=n,0===Ae&&Oe(R)),r!==n&&(a=function o(){var t,r,a,o,i,u,c;if(t=he,r=he,a=[],(o=ze())===n&&(o=Ve()),o!==n)for(;o!==n;)a.push(o),(o=ze())===n&&(o=Ve());else a=n;return(r=a!==n?e.substring(r,he):a)!==n&&(ge=t,r=s({type:1,pattern:i=r,parsedOptions:it?(u=i,c={},u.replace(F,(function(e){var t=e.length;switch(e[0]){case"G":c.era=4===t?"long":5===t?"narrow":"short";break;case"y":c.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":c.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":c.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":c.weekday=4===t?"short":5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");c.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");c.weekday=["short","long","narrow","short"][t-4];break;case"a":c.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":c.hourCycle="h12",c.hour=["numeric","2-digit"][t-1];break;case"H":c.hourCycle="h23",c.hour=["numeric","2-digit"][t-1];break;case"K":c.hourCycle="h11",c.hour=["numeric","2-digit"][t-1];break;case"k":c.hourCycle="h24",c.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":c.minute=["numeric","2-digit"][t-1];break;case"s":c.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":c.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),c):{}},at())),r}())!==n?(ge=t,t=r=a):(he=t,t=n),t===n&&(t=he,ge=he,rt.push("dateOrTimeArgStyle"),(r=(r=!0)?void 0:n)!==n&&(a=Pe())!==n?(ge=t,t=r=S(a)):(he=t,t=n)),t}())!==n?u=c=[c,l,f]:(he=u,u=n),u===n&&(u=null),u!==n&&(c=He())!==n?(125===e.charCodeAt(he)?(l="}",he++):(l=n,0===Ae&&Oe(y)),l!==n?(ge=t,t=r=x(a,i,u)):(he=t,t=n)):(he=t,t=n)):(he=t,t=n)):(he=t,t=n)):(he=t,t=n),t}()),t}())===n&&(t=function m(){var t,r,a,o,u,c,l,f,m,p,d;if(t=he,123===e.charCodeAt(he)?(r="{",he++):(r=n,0===Ae&&Oe(g)),r!==n)if(He()!==n)if((a=Xe())!==n)if(He()!==n)if(44===e.charCodeAt(he)?(o=",",he++):(o=n,0===Ae&&Oe(D)),o!==n)if(He()!==n)if("plural"===e.substr(he,6)?(u="plural",he+=6):(u=n,0===Ae&&Oe(V)),u===n&&("selectordinal"===e.substr(he,13)?(u="selectordinal",he+=13):(u=n,0===Ae&&Oe(Z))),u!==n)if(He()!==n)if(44===e.charCodeAt(he)?(c=",",he++):(c=n,0===Ae&&Oe(D)),c!==n)if(He()!==n)if(l=he,"offset:"===e.substr(he,7)?(f="offset:",he+=7):(f=n,0===Ae&&Oe(G)),f!==n&&(m=He())!==n&&(p=We())!==n?l=f=[f,m,p]:(he=l,l=n),l===n&&(l=null),l!==n)if((f=He())!==n){if(m=[],(p=Ge())!==n)for(;p!==n;)m.push(p),p=Ge();else m=n;m!==n&&(p=He())!==n?(125===e.charCodeAt(he)?(d="}",he++):(d=n,0===Ae&&Oe(y)),d!==n?(ge=t,t=r=function(e,t,r,n){return s({type:i.plural,pluralType:"plural"===t?"cardinal":"ordinal",value:e,offset:r?r[2]:0,options:n.reduce((function(e,t){var r=t.id,n=t.value,a=t.location;return r in e&&Fe('Duplicate option "'+r+'" in plural element: "'+we()+'"',Te()),e[r]={value:n,location:a},e}),{})},at())}(a,u,l,m)):(he=t,t=n)):(he=t,t=n)}else he=t,t=n;else he=t,t=n;else he=t,t=n;else he=t,t=n;else he=t,t=n;else he=t,t=n;else he=t,t=n;else he=t,t=n;else he=t,t=n;else he=t,t=n;else he=t,t=n;else he=t,t=n;return t}())===n&&(t=function p(){var t,r,a,o,u,c,l,f,m;if(t=he,123===e.charCodeAt(he)?(r="{",he++):(r=n,0===Ae&&Oe(g)),r!==n)if(He()!==n)if((a=Xe())!==n)if(He()!==n)if(44===e.charCodeAt(he)?(o=",",he++):(o=n,0===Ae&&Oe(D)),o!==n)if(He()!==n)if("select"===e.substr(he,6)?(u="select",he+=6):(u=n,0===Ae&&Oe(B)),u!==n)if(He()!==n)if(44===e.charCodeAt(he)?(c=",",he++):(c=n,0===Ae&&Oe(D)),c!==n)if(He()!==n){if(l=[],(f=Ze())!==n)for(;f!==n;)l.push(f),f=Ze();else l=n;l!==n&&(f=He())!==n?(125===e.charCodeAt(he)?(m="}",he++):(m=n,0===Ae&&Oe(y)),m!==n?(ge=t,t=r=function(e,t){return s({type:i.select,value:e,options:t.reduce((function(e,t){var r=t.id,n=t.value,a=t.location;return r in e&&Fe('Duplicate option "'+r+'" in select element: "'+we()+'"',Te()),e[r]={value:n,location:a},e}),{})},at())}(a,l)):(he=t,t=n)):(he=t,t=n)}else he=t,t=n;else he=t,t=n;else he=t,t=n;else he=t,t=n;else he=t,t=n;else he=t,t=n;else he=t,t=n;else he=t,t=n;else he=t,t=n;else he=t,t=n;return t}())===n&&(t=function d(){var t,r;return t=he,35===e.charCodeAt(he)?(r="#",he++):(r=n,0===Ae&&Oe(l)),r!==n&&(ge=t,r=s({type:i.pound},at())),r}()),t}function Pe(){var t,r,a,o;if(t=he,ge=he,(r=(r=ot)?void 0:n)!==n){if(a=[],(o=Je())===n&&(o=Ke())===n&&(o=Qe())===n&&(60===e.charCodeAt(he)?(o="<",he++):(o=n,0===Ae&&Oe(u))),o!==n)for(;o!==n;)a.push(o),(o=Je())===n&&(o=Ke())===n&&(o=Qe())===n&&(60===e.charCodeAt(he)?(o="<",he++):(o=n,0===Ae&&Oe(u)));else a=n;a!==n?(ge=t,t=r=c(a)):(he=t,t=n)}else he=t,t=n;if(t===n){if(t=he,r=[],(a=Je())===n&&(a=Ke())===n&&(a=Qe())===n&&(a=Me()),a!==n)for(;a!==n;)r.push(a),(a=Je())===n&&(a=Ke())===n&&(a=Qe())===n&&(a=Me());else r=n;r!==n&&(ge=t,r=c(r)),t=r}return t}function Me(){var t,r,a;return t=he,r=he,Ae++,(a=je())===n&&(a=ke())===n&&(a=_e()),Ae--,a===n?r=void 0:(he=r,r=n),r!==n?(60===e.charCodeAt(he)?(a="<",he++):(a=n,0===Ae&&Oe(u)),a!==n?(ge=t,t=r="<"):(he=t,t=n)):(he=t,t=n),t}function _e(){var t,r,a,o,c,l;return t=he,r=he,60===e.charCodeAt(he)?(a="<",he++):(a=n,0===Ae&&Oe(u)),a!==n&&(o=Ye())!==n&&(c=He())!==n?("/>"===e.substr(he,2)?(l="/>",he+=2):(l=n,0===Ae&&Oe(m)),l!==n?r=a=[a,o,c,l]:(he=r,r=n)):(he=r,r=n),r!==n&&(ge=t,r=s({type:i.literal,value:r.join("")},at())),r}function je(){var t,r,a,o;return t=he,60===e.charCodeAt(he)?(r="<",he++):(r=n,0===Ae&&Oe(u)),r!==n&&(a=Ye())!==n?(62===e.charCodeAt(he)?(o=">",he++):(o=n,0===Ae&&Oe(p)),o!==n?(ge=t,t=r=a):(he=t,t=n)):(he=t,t=n),t}function ke(){var t,r,a,o;return t=he,"</"===e.substr(he,2)?(r="</",he+=2):(r=n,0===Ae&&Oe(d)),r!==n&&(a=Ye())!==n?(62===e.charCodeAt(he)?(o=">",he++):(o=n,0===Ae&&Oe(p)),o!==n?(ge=t,t=r=a):(he=t,t=n)):(he=t,t=n),t}function Le(){var t,r,a,o,i;if(Ae++,t=he,r=[],a=he,o=he,Ae++,(i=Be())===n&&(b.test(e.charAt(he))?(i=e.charAt(he),he++):(i=n,0===Ae&&Oe(A))),Ae--,i===n?o=void 0:(he=o,o=n),o!==n?(e.length>he?(i=e.charAt(he),he++):(i=n,0===Ae&&Oe(w)),i!==n?a=o=[o,i]:(he=a,a=n)):(he=a,a=n),a!==n)for(;a!==n;)r.push(a),a=he,o=he,Ae++,(i=Be())===n&&(b.test(e.charAt(he))?(i=e.charAt(he),he++):(i=n,0===Ae&&Oe(A))),Ae--,i===n?o=void 0:(he=o,o=n),o!==n?(e.length>he?(i=e.charAt(he),he++):(i=n,0===Ae&&Oe(w)),i!==n?a=o=[o,i]:(he=a,a=n)):(he=a,a=n);else r=n;return t=r!==n?e.substring(t,he):r,Ae--,t===n&&(r=n,0===Ae&&Oe(v)),t}function $e(){var t,r,a;return Ae++,t=he,47===e.charCodeAt(he)?(r="/",he++):(r=n,0===Ae&&Oe(E)),r!==n&&(a=Le())!==n?(ge=t,t=r=a):(he=t,t=n),Ae--,t===n&&(r=n,0===Ae&&Oe(T)),t}function Ue(){var e,t,r,a;if(Ae++,e=he,He()!==n)if((t=Le())!==n){for(r=[],a=$e();a!==n;)r.push(a),a=$e();r!==n?(ge=e,e=function(e,t){return{stem:e,options:t}}(t,r)):(he=e,e=n)}else he=e,e=n;else he=e,e=n;return Ae--,e===n&&0===Ae&&Oe(I),e}function ze(){var t,r,a,o;if(t=he,39===e.charCodeAt(he)?(r="'",he++):(r=n,0===Ae&&Oe(P)),r!==n){if(a=[],(o=Je())===n&&(M.test(e.charAt(he))?(o=e.charAt(he),he++):(o=n,0===Ae&&Oe(_))),o!==n)for(;o!==n;)a.push(o),(o=Je())===n&&(M.test(e.charAt(he))?(o=e.charAt(he),he++):(o=n,0===Ae&&Oe(_)));else a=n;a!==n?(39===e.charCodeAt(he)?(o="'",he++):(o=n,0===Ae&&Oe(P)),o!==n?t=r=[r,a,o]:(he=t,t=n)):(he=t,t=n)}else he=t,t=n;if(t===n)if(t=[],(r=Je())===n&&(j.test(e.charAt(he))?(r=e.charAt(he),he++):(r=n,0===Ae&&Oe(k))),r!==n)for(;r!==n;)t.push(r),(r=Je())===n&&(j.test(e.charAt(he))?(r=e.charAt(he),he++):(r=n,0===Ae&&Oe(k)));else t=n;return t}function Ve(){var t,r;if(t=[],L.test(e.charAt(he))?(r=e.charAt(he),he++):(r=n,0===Ae&&Oe($)),r!==n)for(;r!==n;)t.push(r),L.test(e.charAt(he))?(r=e.charAt(he),he++):(r=n,0===Ae&&Oe($));else t=n;return t}function Ze(){var t,r,a,o,i,u,c;return t=he,He()!==n&&(r=tt())!==n&&He()!==n?(123===e.charCodeAt(he)?(a="{",he++):(a=n,0===Ae&&Oe(g)),a!==n?(ge=he,rt.push("select"),void 0!==n&&(o=Ce())!==n?(125===e.charCodeAt(he)?(i="}",he++):(i=n,0===Ae&&Oe(y)),i!==n?(ge=t,u=r,c=o,rt.pop(),t=s({id:u,value:c},at())):(he=t,t=n)):(he=t,t=n)):(he=t,t=n)):(he=t,t=n),t}function Ge(){var t,r,a,o,i,u,c;return t=he,He()!==n&&(r=function l(){var t,r,a,o;return t=he,r=he,61===e.charCodeAt(he)?(a="=",he++):(a=n,0===Ae&&Oe(q)),a!==n&&(o=We())!==n?r=a=[a,o]:(he=r,r=n),(t=r!==n?e.substring(t,he):r)===n&&(t=tt()),t}())!==n&&He()!==n?(123===e.charCodeAt(he)?(a="{",he++):(a=n,0===Ae&&Oe(g)),a!==n?(ge=he,rt.push("plural"),void 0!==n&&(o=Ce())!==n?(125===e.charCodeAt(he)?(i="}",he++):(i=n,0===Ae&&Oe(y)),i!==n?(ge=t,u=r,c=o,rt.pop(),t=s({id:u,value:c},at())):(he=t,t=n)):(he=t,t=n)):(he=t,t=n)):(he=t,t=n),t}function Be(){var t;return Ae++,W.test(e.charAt(he))?(t=e.charAt(he),he++):(t=n,0===Ae&&Oe(J)),Ae--,t===n&&0===Ae&&Oe(H),t}function qe(){var t;return Ae++,Q.test(e.charAt(he))?(t=e.charAt(he),he++):(t=n,0===Ae&&Oe(X)),Ae--,t===n&&0===Ae&&Oe(K),t}function He(){var t,r,a;for(Ae++,t=he,r=[],a=Be();a!==n;)r.push(a),a=Be();return t=r!==n?e.substring(t,he):r,Ae--,t===n&&(r=n,0===Ae&&Oe(Y)),t}function We(){var t,r,a,o;return Ae++,t=he,45===e.charCodeAt(he)?(r="-",he++):(r=n,0===Ae&&Oe(te)),r===n&&(r=null),r!==n&&(a=et())!==n?(ge=t,t=r=(o=a)?r?-o:o:0):(he=t,t=n),Ae--,t===n&&(r=n,0===Ae&&Oe(ee)),t}function Je(){var t,r;return Ae++,t=he,"''"===e.substr(he,2)?(r="''",he+=2):(r=n,0===Ae&&Oe(ne)),r!==n&&(ge=t,r="'"),Ae--,(t=r)===n&&(r=n,0===Ae&&Oe(re)),t}function Ke(){var t,r,a,o,i,u;if(t=he,39===e.charCodeAt(he)?(r="'",he++):(r=n,0===Ae&&Oe(P)),r!==n)if((a=function s(){var t,r,a,o;return t=he,r=he,e.length>he?(a=e.charAt(he),he++):(a=n,0===Ae&&Oe(w)),a!==n?(ge=he,(o=(o=function(e){return"<"===e||">"===e||"{"===e||"}"===e||nt()&&"#"===e}(a))?void 0:n)!==n?r=a=[a,o]:(he=r,r=n)):(he=r,r=n),r!==n?e.substring(t,he):r}())!==n){for(o=he,i=[],"''"===e.substr(he,2)?(u="''",he+=2):(u=n,0===Ae&&Oe(ne)),u===n&&(M.test(e.charAt(he))?(u=e.charAt(he),he++):(u=n,0===Ae&&Oe(_)));u!==n;)i.push(u),"''"===e.substr(he,2)?(u="''",he+=2):(u=n,0===Ae&&Oe(ne)),u===n&&(M.test(e.charAt(he))?(u=e.charAt(he),he++):(u=n,0===Ae&&Oe(_)));(o=i!==n?e.substring(o,he):i)!==n?(39===e.charCodeAt(he)?(i="'",he++):(i=n,0===Ae&&Oe(P)),i===n&&(i=null),i!==n?(ge=t,t=r=a+o.replace("''","'")):(he=t,t=n)):(he=t,t=n)}else he=t,t=n;else he=t,t=n;return t}function Qe(){var t,r,a,o;return t=he,r=he,e.length>he?(a=e.charAt(he),he++):(a=n,0===Ae&&Oe(w)),a!==n?(ge=he,(o=(o=function(e){return!("<"===e||"{"===e||nt()&&"#"===e||function t(){return rt.length>1}()&&"}"===e)}(a))?void 0:n)!==n?r=a=[a,o]:(he=r,r=n)):(he=r,r=n),r===n&&(10===e.charCodeAt(he)?(r="\n",he++):(r=n,0===Ae&&Oe(ae))),r!==n?e.substring(t,he):r}function Xe(){var t,r;return Ae++,t=he,(r=et())===n&&(r=tt()),t=r!==n?e.substring(t,he):r,Ae--,t===n&&(r=n,0===Ae&&Oe(oe)),t}function Ye(){var t,r;return Ae++,t=he,(r=et())===n&&(r=function a(){var t,r,a,o,i;if(Ae++,t=he,r=[],45===e.charCodeAt(he)?(a="-",he++):(a=n,0===Ae&&Oe(te)),a===n&&(a=he,o=he,Ae++,(i=Be())===n&&(i=qe()),Ae--,i===n?o=void 0:(he=o,o=n),o!==n?(e.length>he?(i=e.charAt(he),he++):(i=n,0===Ae&&Oe(w)),i!==n?a=o=[o,i]:(he=a,a=n)):(he=a,a=n)),a!==n)for(;a!==n;)r.push(a),45===e.charCodeAt(he)?(a="-",he++):(a=n,0===Ae&&Oe(te)),a===n&&(a=he,o=he,Ae++,(i=Be())===n&&(i=qe()),Ae--,i===n?o=void 0:(he=o,o=n),o!==n?(e.length>he?(i=e.charAt(he),he++):(i=n,0===Ae&&Oe(w)),i!==n?a=o=[o,i]:(he=a,a=n)):(he=a,a=n));else r=n;return t=r!==n?e.substring(t,he):r,Ae--,t===n&&(r=n,0===Ae&&Oe(de)),t}()),t=r!==n?e.substring(t,he):r,Ae--,t===n&&(r=n,0===Ae&&Oe(ie)),t}function et(){var t,r,a,o,i;if(Ae++,t=he,48===e.charCodeAt(he)?(r="0",he++):(r=n,0===Ae&&Oe(se)),r!==n&&(ge=t,r=0),(t=r)===n){if(t=he,r=he,ce.test(e.charAt(he))?(a=e.charAt(he),he++):(a=n,0===Ae&&Oe(le)),a!==n){for(o=[],fe.test(e.charAt(he))?(i=e.charAt(he),he++):(i=n,0===Ae&&Oe(me));i!==n;)o.push(i),fe.test(e.charAt(he))?(i=e.charAt(he),he++):(i=n,0===Ae&&Oe(me));o!==n?r=a=[a,o]:(he=r,r=n)}else he=r,r=n;r!==n&&(ge=t,r=parseInt(r.join(""),10)),t=r}return Ae--,t===n&&(r=n,0===Ae&&Oe(ue)),t}function tt(){var t,r,a,o,i;if(Ae++,t=he,r=[],a=he,o=he,Ae++,(i=Be())===n&&(i=qe()),Ae--,i===n?o=void 0:(he=o,o=n),o!==n?(e.length>he?(i=e.charAt(he),he++):(i=n,0===Ae&&Oe(w)),i!==n?a=o=[o,i]:(he=a,a=n)):(he=a,a=n),a!==n)for(;a!==n;)r.push(a),a=he,o=he,Ae++,(i=Be())===n&&(i=qe()),Ae--,i===n?o=void 0:(he=o,o=n),o!==n?(e.length>he?(i=e.charAt(he),he++):(i=n,0===Ae&&Oe(w)),i!==n?a=o=[o,i]:(he=a,a=n)):(he=a,a=n);else r=n;return t=r!==n?e.substring(t,he):r,Ae--,t===n&&(r=n,0===Ae&&Oe(pe)),t}var rt=["root"];function nt(){return"plural"===rt[rt.length-1]}function at(){return t&&t.captureLocation?{location:Te()}:{}}var ot=t&&t.ignoreTag,it=t&&t.shouldParseSkeleton;if((r=o())!==n&&he===e.length)return r;throw r!==n&&he<e.length&&Oe({type:"end"}),function ut(e,t,r){return new N(N.buildMessage(e,t),e,t,r)}(be,ve<e.length?e.charAt(ve):null,De(ve,ve<e.length?ve+1:ve))},P=/(^|[^\\])#/g;function M(e,t){t=s({normalizeHashtagInPlural:!0,shouldParseSkeleton:!0},t||{});var r=C(e,t);return t.normalizeHashtagInPlural&&function e(t){t.forEach((function(t){(v(t)||y(t))&&Object.keys(t.options).forEach((function(r){for(var n,a=t.options[r],o=-1,i=void 0,u=0;u<a.value.length;u++){var s=a.value[u];if(m(s)&&P.test(s.value)){o=u,i=s;break}}if(i){var c=i.value.replace(P,"$1{"+t.value+", number}"),f=C(c);(n=a.value).splice.apply(n,l([o,1],f))}e(a.value)}))}))}(r),r}function _(e,t,r,n){var a=function o(e){return null==e||"number"==typeof e||"boolean"==typeof e}(n)?n:r(n),i=t.get(a);return void 0===i&&(i=e.call(this,n),t.set(a,i)),i}function j(e,t,r){var n=Array.prototype.slice.call(arguments,3),a=r(n),o=t.get(a);return void 0===o&&(o=e.apply(this,n),t.set(a,o)),o}function k(e,t,r,n,a){return r.bind(t,e,n,a)}function L(e,t){return k(e,this,1===e.length?_:j,t.cache.create(),t.serializer)}function $(){return JSON.stringify(arguments)}function U(){this.cache=Object.create(null)}U.prototype.has=function(e){return e in this.cache},U.prototype.get=function(e){return this.cache[e]},U.prototype.set=function(e,t){this.cache[e]=t};var z={create:function e(){return new U}},V=function Z(e,t){return(t&&t.strategy?t.strategy:L)(e,{cache:t&&t.cache?t.cache:z,serializer:t&&t.serializer?t.serializer:$})},G={variadic:function B(e,t){return k(e,this,j,t.cache.create(),t.serializer)},monadic:function q(e,t){return k(e,this,_,t.cache.create(),t.serializer)}};V.strategies=G;var H,W=Object.freeze(Object.assign(Object.create(null),V,{default:V,strategies:G}));!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(H||(H={}));var J,K=function(e){function t(t,r,n){var a=e.call(this,t)||this;return a.code=r,a.originalMessage=n,a}return o(t,e),t.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},t}(Error),Q=function(e){function t(t,r,n,a){return e.call(this,'Invalid values for "'+t+'": "'+r+'". Options are "'+Object.keys(n).join('", "')+'"',"INVALID_VALUE",a)||this}return o(t,e),t}(K),X=function(e){function t(t,r,n){return e.call(this,'Value for "'+t+'" must be of type '+r,"INVALID_VALUE",n)||this}return o(t,e),t}(K),Y=function(e){function t(t,r){return e.call(this,'The intl string context variable "'+t+'" was not provided to the string "'+r+'"',"MISSING_VALUE",r)||this}return o(t,e),t}(K);function ee(e){return"function"==typeof e}function te(e){return{create:function(){return{has:function(t){return t in e},get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(J||(J={}));var re,ne=V||W,ae=function(){function e(t,r,n,a){var o=this;if(void 0===r&&(r=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=o.formatToParts(e);if(1===t.length)return t[0].value;var r=t.reduce((function(e,t){return e.length&&0===t.type&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return r.length<=1?r[0]||"":r},this.formatToParts=function(e){return function e(t,r,n,a,o,i,u){if(1===t.length&&m(t[0]))return[{type:0,value:t[0].value}];for(var s=[],c=0,l=t;c<l.length;c++){var f=l[c];if(m(f))s.push({type:0,value:f.value});else if(b(f))"number"==typeof i&&s.push({type:0,value:n.getNumberFormat(r).format(i)});else{var F=f.value;if(!o||!(F in o))throw new Y(F,u);var E=o[F];if(p(f))E&&"string"!=typeof E&&"number"!=typeof E||(E="string"==typeof E||"number"==typeof E?String(E):""),s.push({type:"string"==typeof E?0:1,value:E});else if(h(f)){var I="string"==typeof f.style?a.date[f.style]:T(f.style)?f.style.parsedOptions:void 0;s.push({type:0,value:n.getDateTimeFormat(r,I).format(E)})}else if(g(f))I="string"==typeof f.style?a.time[f.style]:T(f.style)?f.style.parsedOptions:void 0,s.push({type:0,value:n.getDateTimeFormat(r,I).format(E)});else if(d(f))I="string"==typeof f.style?a.number[f.style]:w(f.style)?f.style.parsedOptions:void 0,s.push({type:0,value:n.getNumberFormat(r,I).format(E)});else{if(A(f)){var R=f.children,S=f.value,D=o[S];if(!ee(D))throw new X(S,"function",u);var O=D(e(R,r,n,a,o,i).map((function(e){return e.value})));Array.isArray(O)||(O=[O]),s.push.apply(s,O.map((function(e){return{type:"string"==typeof e?0:1,value:e}})))}if(y(f)){if(!(N=f.options[E]||f.options.other))throw new Q(f.value,E,Object.keys(f.options),u);s.push.apply(s,e(N.value,r,n,a,o))}else if(v(f)){var N;if(!(N=f.options["="+E])){if(!Intl.PluralRules)throw new K('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',"MISSING_INTL_API",u);var C=n.getPluralRules(r,{type:f.pluralType}).select(E-(f.offset||0));N=f.options[C]||f.options.other}if(!N)throw new Q(f.value,E,Object.keys(f.options),u);s.push.apply(s,e(N.value,r,n,a,o,E-(f.offset||0)))}}}}return function x(e){return e.length<2?e:e.reduce((function(e,t){var r=e[e.length-1];return r&&0===r.type&&0===t.type?r.value+=t.value:e.push(t),e}),[])}(s)}(o.ast,o.locales,o.formatters,o.formats,e,void 0,o.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=e.__parse(t,{normalizeHashtagInPlural:!1,ignoreTag:null==a?void 0:a.ignoreTag})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=function i(e,t){return t?Object.keys(e).reduce((function(r,n){return r[n]=function a(e,t){return t?s(s(s({},e||{}),t||{}),Object.keys(e).reduce((function(r,n){return r[n]=s(s({},e[n]),t[n]||{}),r}),{})):e}(e[n],t[n]),r}),s({},e)):e}(e.formats,n),this.locales=r,this.formatters=a&&a.formatters||function u(e){return void 0===e&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:ne((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,l([void 0],t)))}),{cache:te(e.number),strategy:ne.strategies.variadic}),getDateTimeFormat:ne((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,l([void 0],t)))}),{cache:te(e.dateTime),strategy:ne.strategies.variadic}),getPluralRules:ne((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,l([void 0],t)))}),{cache:te(e.pluralRules),strategy:ne.strategies.variadic})}}(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.__parse=M,e.formats={number:{currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();(re=e.ReactIntlErrorCode||(e.ReactIntlErrorCode={})).FORMAT_ERROR="FORMAT_ERROR",re.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",re.INVALID_CONFIG="INVALID_CONFIG",re.MISSING_DATA="MISSING_DATA",re.MISSING_TRANSLATION="MISSING_TRANSLATION";var oe=function(e){function t(r,n,a){var o=e.call(this,"[@formatjs/intl Error "+r+"] "+n+" \n"+(a?"\n"+a.message+"\n"+a.stack:""))||this;return o.code=r,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(o,t),o}return o(t,e),t}(Error),ie=function(e){function t(t,r){return e.call(this,"UNSUPPORTED_FORMATTER",t,r)||this}return o(t,e),t}(oe),ue=function(e){function t(t,r){return e.call(this,"INVALID_CONFIG",t,r)||this}return o(t,e),t}(oe),se=function(e){function t(t,r){return e.call(this,"MISSING_DATA",t,r)||this}return o(t,e),t}(oe),ce=function(e){function t(t,r,n,a){var o=e.call(this,"FORMAT_ERROR",t+" \nLocale: "+r+"\nMessageID: "+(null==n?void 0:n.id)+"\nDefault Message: "+(null==n?void 0:n.defaultMessage)+"\nDescription: "+(null==n?void 0:n.description)+" \n",a)||this;return o.descriptor=n,o}return o(t,e),t}(oe),le=function(e){function t(t,r){var n=e.call(this,"MISSING_TRANSLATION",'Missing message: "'+t.id+'" for locale "'+r+'", using '+(t.defaultMessage?"default message":"id")+" as fallback.")||this;return n.descriptor=t,n}return o(t,e),t}(oe);function fe(e,t,r){return void 0===r&&(r={}),t.reduce((function(t,n){return n in e?t[n]=e[n]:n in r&&(t[n]=r[n]),t}),{})}var me={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},onError:function(e){}};function pe(e){return{create:function(){return{has:function(t){return t in e},get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}var de=V||W;function he(e,t,r,n){var a,o=e&&e[t];if(o&&(a=o[r]),a)return a;n(new ie("No "+t+" format named: "+r))}function ge(e,t){return Object.keys(e).reduce((function(r,n){return r[n]=s({timeZone:t},e[n]),r}),{})}function ye(e,t){return Object.keys(s(s({},e),t)).reduce((function(r,n){return r[n]=s(s({},e[n]||{}),t[n]||{}),r}),{})}function ve(e,t){if(!t)return e;var r=ae.formats;return s(s(s({},r),e),{date:ye(ge(r.date,t),ge(e.date||{},t)),time:ye(ge(r.time,t),ge(e.time||{},t))})}function be(e,t,r,n){var a=e.locale,o=e.formats,u=e.messages,c=e.defaultLocale,l=e.defaultFormats,m=e.onError,p=e.timeZone,d=e.defaultRichTextElements;void 0===r&&(r={id:""});var h=r.id,g=r.defaultMessage;f(!!h,"[@formatjs/intl] An `id` must be provided to format a message.");var y=String(h),v=u&&Object.prototype.hasOwnProperty.call(u,y)&&u[y];if(Array.isArray(v)&&1===v.length&&v[0].type===i.literal)return v[0].value;if(!n&&v&&"string"==typeof v&&d&&console.warn('[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled. \nPlease consider using "@formatjs/cli" to pre-compile your messages for performance.\nFor more details see https://formatjs.io/docs/getting-started/message-distribution'),!n&&v&&"string"==typeof v&&!d)return v.replace(/'\{(.*?)\}'/gi,"{$1}");if(n=s(s({},d),n||{}),o=ve(o,p),l=ve(l,p),!v){if((!g||a&&a.toLowerCase()!==c.toLowerCase())&&m(new le(r,a)),g)try{return t.getMessageFormat(g,c,l).format(n)}catch(e){return m(new ce('Error formatting default message for: "'+y+'", rendering default message verbatim',a,r,e)),"string"==typeof g?g:y}return y}try{return t.getMessageFormat(v,a,o,{formatters:t}).format(n)}catch(e){m(new ce('Error formatting message: "'+y+'", using '+(g?"default message":"id")+" as fallback.",a,r,e))}if(g)try{return t.getMessageFormat(g,c,l).format(n)}catch(e){m(new ce('Error formatting the default message for: "'+y+'", rendering message verbatim',a,r,e))}return"string"==typeof v?v:"string"==typeof g?g:y}var Ae=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","fractionalSecondDigits","calendar","numberingSystem"];function we(e,t,r,n){var a=e.locale,o=e.formats,i=e.onError,u=e.timeZone;void 0===n&&(n={});var c=n.format,l=s(s({},u&&{timeZone:u}),c&&he(o,t,c,i)),f=fe(n,Ae,l);return"time"!==t||f.hour||f.minute||f.second||(f=s(s({},f),{hour:"numeric",minute:"numeric"})),r(a,f)}function Te(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var a=r[0],o=r[1],i=void 0===o?{}:o,u="string"==typeof a?new Date(a||0):a;try{return we(e,"date",t,i).format(u)}catch(t){e.onError(new oe("FORMAT_ERROR","Error formatting date.",t))}return String(u)}function Fe(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var a=r[0],o=r[1],i=void 0===o?{}:o,u="string"==typeof a?new Date(a||0):a;try{return we(e,"time",t,i).format(u)}catch(t){e.onError(new oe("FORMAT_ERROR","Error formatting time.",t))}return String(u)}function Ee(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var a=r[0],o=r[1],i=r[2],u=void 0===i?{}:i,s=e.timeZone,c=e.locale,l=e.onError,f=fe(u,Ae,s?{timeZone:s}:{});try{return t(c,f).formatRange(a,o)}catch(e){l(new oe("FORMAT_ERROR","Error formatting date time range.",e))}return String(a)}function Ie(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var a=r[0],o=r[1],i=void 0===o?{}:o,u="string"==typeof a?new Date(a||0):a;try{return we(e,"date",t,i).formatToParts(u)}catch(t){e.onError(new oe("FORMAT_ERROR","Error formatting date.",t))}return[]}function Re(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var a=r[0],o=r[1],i=void 0===o?{}:o,u="string"==typeof a?new Date(a||0):a;try{return we(e,"time",t,i).formatToParts(u)}catch(t){e.onError(new oe("FORMAT_ERROR","Error formatting time.",t))}return[]}var Se=["localeMatcher","style","type","fallback"];function De(e,t,r,n){var a=e.locale,o=e.onError;Intl.DisplayNames||o(new K('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',"MISSING_INTL_API"));var i=fe(n,Se);try{return t(a,i).of(r)}catch(e){o(new oe("FORMAT_ERROR","Error formatting display name.",e))}}var Oe=["localeMatcher","type","style"],Ne=Date.now();function Ce(e,t,r,n){var a=e.locale,o=e.onError;void 0===n&&(n={}),Intl.ListFormat||o(new K('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',"MISSING_INTL_API"));var i=fe(n,Oe);try{var u={},s=r.map((function(e,t){if("object"==typeof e){var r=function n(e){return Ne+"_"+e+"_"+Ne}(t);return u[r]=e,r}return String(e)}));return Object.keys(u).length?t(a,i).formatToParts(s).reduce((function(e,t){var r=t.value;return u[r]?e.push(u[r]):"string"==typeof e[e.length-1]?e[e.length-1]+=r:e.push(r),e}),[]):t(a,i).format(s)}catch(e){o(new oe("FORMAT_ERROR","Error formatting list.",e))}return r}var xe=["localeMatcher","type"];function Pe(e,t,r,n){var a=e.locale,o=e.onError;void 0===n&&(n={}),Intl.PluralRules||o(new K('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',"MISSING_INTL_API"));var i=fe(n,xe);try{return t(a,i).select(r)}catch(e){o(new ce("Error formatting plural.",e))}return"other"}var Me=["numeric","style"];function _e(e,t,r,n,a){void 0===a&&(a={}),n||(n="second"),Intl.RelativeTimeFormat||e.onError(new K('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',"MISSING_INTL_API"));try{return function o(e,t,r){var n=e.locale;void 0===r&&(r={});var a=r.format,o=!!a&&he(e.formats,"relative",a,e.onError)||{};return t(n,fe(r,Me,o))}(e,t,a).format(r,n)}catch(t){e.onError(new ce("Error formatting relative time.",t))}return String(r)}var je=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay"];function ke(e,t,r){var n=e.locale;void 0===r&&(r={});var a=r.format,o=a&&he(e.formats,"number",a,e.onError)||{};return t(n,fe(r,je,o))}function Le(e,t,r,n){void 0===n&&(n={});try{return ke(e,t,n).format(r)}catch(t){e.onError(new oe("FORMAT_ERROR","Error formatting number.",t))}return String(r)}function $e(e,t,r,n){void 0===n&&(n={});try{return ke(e,t,n).formatToParts(r)}catch(t){e.onError(new oe("FORMAT_ERROR","Error formatting number.",t))}return[]}function Ue(e){f(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var ze=s(s({},me),{textComponent:t.Fragment}),Ve="function"==typeof Symbol&&Symbol.for,Ze=Ve?Symbol.for("react.element"):60103,Ge=Ve?Symbol.for("react.portal"):60106,Be=Ve?Symbol.for("react.fragment"):60107,qe=Ve?Symbol.for("react.strict_mode"):60108,He=Ve?Symbol.for("react.profiler"):60114,We=Ve?Symbol.for("react.provider"):60109,Je=Ve?Symbol.for("react.context"):60110,Ke=Ve?Symbol.for("react.async_mode"):60111,Qe=Ve?Symbol.for("react.concurrent_mode"):60111,Xe=Ve?Symbol.for("react.forward_ref"):60112,Ye=Ve?Symbol.for("react.suspense"):60113,et=Ve?Symbol.for("react.suspense_list"):60120,tt=Ve?Symbol.for("react.memo"):60115,rt=Ve?Symbol.for("react.lazy"):60116,nt=Ve?Symbol.for("react.block"):60121,at=Ve?Symbol.for("react.fundamental"):60117,ot=Ve?Symbol.for("react.responder"):60118,it=Ve?Symbol.for("react.scope"):60119;function ut(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Ze:switch(e=e.type){case Ke:case Qe:case Be:case He:case qe:case Ye:return e;default:switch(e=e&&e.$$typeof){case Je:case Xe:case rt:case tt:case We:return e;default:return t}}case Ge:return t}}}function st(e){return ut(e)===Qe}var ct={AsyncMode:Ke,ConcurrentMode:Qe,ContextConsumer:Je,ContextProvider:We,Element:Ze,ForwardRef:Xe,Fragment:Be,Lazy:rt,Memo:tt,Portal:Ge,Profiler:He,StrictMode:qe,Suspense:Ye,isAsyncMode:function(e){return st(e)||ut(e)===Ke},isConcurrentMode:st,isContextConsumer:function(e){return ut(e)===Je},isContextProvider:function(e){return ut(e)===We},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Ze},isForwardRef:function(e){return ut(e)===Xe},isFragment:function(e){return ut(e)===Be},isLazy:function(e){return ut(e)===rt},isMemo:function(e){return ut(e)===tt},isPortal:function(e){return ut(e)===Ge},isProfiler:function(e){return ut(e)===He},isStrictMode:function(e){return ut(e)===qe},isSuspense:function(e){return ut(e)===Ye},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===Be||e===Qe||e===He||e===qe||e===Ye||e===et||"object"==typeof e&&null!==e&&(e.$$typeof===rt||e.$$typeof===tt||e.$$typeof===We||e.$$typeof===Je||e.$$typeof===Xe||e.$$typeof===at||e.$$typeof===ot||e.$$typeof===it||e.$$typeof===nt)},typeOf:ut},lt=function ft(e,t,r){return e(r={path:t,exports:{},require:function(e,t){return function r(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}
15
+ ***************************************************************************** */function o(e,t){function r(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var i,u,s=function(){return(s=Object.assign||function e(t){for(var r,n=1,a=arguments.length;n<a;n++)for(var o in r=arguments[n])Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o]);return t}).apply(this,arguments)};function c(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]])}return r}function l(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),a=0;for(t=0;t<r;t++)for(var o=arguments[t],i=0,u=o.length;i<u;i++,a++)n[a]=o[i];return n}function f(e,t,r){if(void 0===r&&(r=Error),!e)throw new r(t)}function m(e){return e.type===i.literal}function p(e){return e.type===i.argument}function d(e){return e.type===i.number}function h(e){return e.type===i.date}function g(e){return e.type===i.time}function y(e){return e.type===i.select}function v(e){return e.type===i.plural}function b(e){return e.type===i.pound}function A(e){return e.type===i.tag}function w(e){return!(!e||"object"!=typeof e||0!==e.type)}function T(e){return!(!e||"object"!=typeof e||1!==e.type)}!function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"}(i||(i={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(u||(u={}));var F=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g,E=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,I=/^(@+)?(\+|#+)?$/g;function R(e){var t={};return e.replace(I,(function(e,r,n){return"string"!=typeof n?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):"+"===n?t.minimumSignificantDigits=r.length:"#"===r[0]?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+("string"==typeof n?n.length:0)),""})),t}function S(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":return{currencySign:"accounting"};case"sign-always":return{signDisplay:"always"};case"sign-accounting-always":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":return{signDisplay:"never"}}}function D(e){return S(e)||{}}function O(e){for(var t={},r=0,n=e;r<n.length;r++){var a=n[r];switch(a.stem){case"percent":t.style="percent";continue;case"currency":t.style="currency",t.currency=a.options[0];continue;case"group-off":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":t.style="unit",t.unit=a.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=s(s(s({},t),{notation:"scientific"}),a.options.reduce((function(e,t){return s(s({},e),D(t))}),{}));continue;case"engineering":t=s(s(s({},t),{notation:"engineering"}),a.options.reduce((function(e,t){return s(s({},e),D(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue}if(E.test(a.stem)){if(a.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");a.stem.replace(E,(function(e,r,n,a,o,i){return"*"===n?t.minimumFractionDigits=r.length:a&&"#"===a[0]?t.maximumFractionDigits=a.length:o&&i?(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length+i.length):(t.minimumFractionDigits=r.length,t.maximumFractionDigits=r.length),""})),a.options.length&&(t=s(s({},t),R(a.options[0])))}else if(I.test(a.stem))t=s(s({},t),R(a.stem));else{var o=S(a.stem);o&&(t=s(s({},t),o))}}return t}var N=function(e){function t(r,n,a,o){var i=e.call(this)||this;return i.message=r,i.expected=n,i.found=a,i.location=o,i.name="SyntaxError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(i,t),i}return o(t,e),t.buildMessage=function(e,t){function r(e){return e.charCodeAt(0).toString(16).toUpperCase()}function n(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(e){return"\\x0"+r(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){return"\\x"+r(e)}))}function a(e){return e.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(e){return"\\x0"+r(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){return"\\x"+r(e)}))}function o(e){switch(e.type){case"literal":return'"'+n(e.text)+'"';case"class":var t=e.parts.map((function(e){return Array.isArray(e)?a(e[0])+"-"+a(e[1]):a(e)}));return"["+(e.inverted?"^":"")+t+"]";case"any":return"any character";case"end":return"end of input";case"other":return e.description}}return"Expected "+function i(e){var t,r,n=e.map(o);if(n.sort(),n.length>0){for(t=1,r=1;t<n.length;t++)n[t-1]!==n[t]&&(n[r]=n[t],r++);n.length=r}switch(n.length){case 1:return n[0];case 2:return n[0]+" or "+n[1];default:return n.slice(0,-1).join(", ")+", or "+n[n.length-1]}}(e)+" but "+function u(e){return e?'"'+n(e)+'"':"end of input"}(t)+" found."},t}(Error),C=function x(e,t){t=void 0!==t?t:{};var r,n={},a={start:Ne},o=Ne,u=Ee("<",!1),c=function(e){return e.join("")},l=Ee("#",!1),f=Re("tagElement"),m=Ee("/>",!1),p=Ee(">",!1),d=Ee("</",!1),h=Re("argumentElement"),g=Ee("{",!1),y=Ee("}",!1),v=Re("numberSkeletonId"),b=/^['\/{}]/,A=Ie(["'","/","{","}"],!1,!1),w={type:"any"},T=Re("numberSkeletonTokenOption"),E=Ee("/",!1),I=Re("numberSkeletonToken"),R=Ee("::",!1),S=function(e){return rt.pop(),e.replace(/\s*$/,"")},D=Ee(",",!1),C=Ee("number",!1),x=function(e,t,r){return s({type:"number"===t?i.number:"date"===t?i.date:i.time,style:r&&r[2],value:e},at())},P=Ee("'",!1),M=/^[^']/,j=Ie(["'"],!0,!1),_=/^[^a-zA-Z'{}]/,k=Ie([["a","z"],["A","Z"],"'","{","}"],!0,!1),L=/^[a-zA-Z]/,$=Ie([["a","z"],["A","Z"]],!1,!1),U=Ee("date",!1),z=Ee("time",!1),V=Ee("plural",!1),Z=Ee("selectordinal",!1),G=Ee("offset:",!1),B=Ee("select",!1),q=Ee("=",!1),H=Re("whitespace"),W=/^[\t-\r \x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,J=Ie([["\t","\r"]," ","…"," "," ",[" "," "],"\u2028","\u2029"," "," "," "],!1,!1),K=Re("syntax pattern"),Q=/^[!-\/:-@[-\^`{-~\xA1-\xA7\xA9\xAB\xAC\xAE\xB0\xB1\xB6\xBB\xBF\xD7\xF7\u2010-\u2027\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u245F\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3020\u3030\uFD3E\uFD3F\uFE45\uFE46]/,X=Ie([["!","/"],[":","@"],["[","^"],"`",["{","~"],["¡","§"],"©","«","¬","®","°","±","¶","»","¿","×","÷",["‐","‧"],["‰","‾"],["⁁","⁓"],["⁕","⁞"],["←","⑟"],["─","❵"],["➔","⯿"],["⸀","⹿"],["、","〃"],["〈","〠"],"〰","﴾","﴿","﹅","﹆"],!1,!1),Y=Re("optional whitespace"),ee=Re("number"),te=Ee("-",!1),re=Re("double apostrophes"),ne=Ee("''",!1),ae=Ee("\n",!1),oe=Re("argNameOrNumber"),ie=Re("validTag"),ue=Re("argNumber"),se=Ee("0",!1),ce=/^[1-9]/,le=Ie([["1","9"]],!1,!1),fe=/^[0-9]/,me=Ie([["0","9"]],!1,!1),pe=Re("argName"),de=Re("tagName"),he=0,ge=0,ye=[{line:1,column:1}],ve=0,be=[],Ae=0;if(void 0!==t.startRule){if(!(t.startRule in a))throw new Error("Can't start parsing from rule \""+t.startRule+'".');o=a[t.startRule]}function we(){return e.substring(ge,he)}function Te(){return De(ge,he)}function Fe(e,t){throw function r(e,t){return new N(e,[],"",t)}(e,t=void 0!==t?t:De(ge,he))}function Ee(e,t){return{type:"literal",text:e,ignoreCase:t}}function Ie(e,t,r){return{type:"class",parts:e,inverted:t,ignoreCase:r}}function Re(e){return{type:"other",description:e}}function Se(t){var r,n=ye[t];if(n)return n;for(r=t-1;!ye[r];)r--;for(n={line:(n=ye[r]).line,column:n.column};r<t;)10===e.charCodeAt(r)?(n.line++,n.column=1):n.column++,r++;return ye[t]=n,n}function De(e,t){var r=Se(e),n=Se(t);return{start:{offset:e,line:r.line,column:r.column},end:{offset:t,line:n.line,column:n.column}}}function Oe(e){he<ve||(he>ve&&(ve=he,be=[]),be.push(e))}function Ne(){return Ce()}function Ce(){var e,t;for(e=[],t=xe();t!==n;)e.push(t),t=xe();return e}function xe(){var t,r;return t=he,ge=he,(ot?n:void 0)!==n&&(r=function a(){var e,t,r,a,o,u,c;return Ae++,(e=je())===n&&(e=he,(t=_e())!==n&&(r=Ce())!==n&&(a=ke())!==n?(ge=e,u=r,(o=t)!==(c=a)&&Fe('Mismatch tag "'+o+'" !== "'+c+'"',Te()),e=t=s({type:i.tag,value:o,children:u},at())):(he=e,e=n)),Ae--,e===n&&(t=n,0===Ae&&Oe(f)),e}())!==n?(ge=t,t=r):(he=t,t=n),t===n&&(t=function o(){var e,t;return e=he,(t=Pe())!==n&&(ge=e,t=s({type:i.literal,value:t},at())),t}())===n&&(t=function u(){var t,r,a,o;return Ae++,t=he,123===e.charCodeAt(he)?(r="{",he++):(r=n,0===Ae&&Oe(g)),r!==n&&He()!==n&&(a=Xe())!==n&&He()!==n?(125===e.charCodeAt(he)?(o="}",he++):(o=n,0===Ae&&Oe(y)),o!==n?(ge=t,t=r=s({type:i.argument,value:a},at())):(he=t,t=n)):(he=t,t=n),Ae--,t===n&&(r=n,0===Ae&&Oe(h)),t}())===n&&(t=function c(){var t;return(t=function r(){var t,r,a,o,i,u,c,l,f;return t=he,123===e.charCodeAt(he)?(r="{",he++):(r=n,0===Ae&&Oe(g)),r!==n&&He()!==n&&(a=Xe())!==n&&He()!==n?(44===e.charCodeAt(he)?(o=",",he++):(o=n,0===Ae&&Oe(D)),o!==n&&He()!==n?("number"===e.substr(he,6)?(i="number",he+=6):(i=n,0===Ae&&Oe(C)),i!==n&&He()!==n?(u=he,44===e.charCodeAt(he)?(c=",",he++):(c=n,0===Ae&&Oe(D)),c!==n&&(l=He())!==n&&(f=function m(){var t,r,a;return t=he,"::"===e.substr(he,2)?(r="::",he+=2):(r=n,0===Ae&&Oe(R)),r!==n&&(a=function o(){var e,t,r,a;if(e=he,t=[],(r=Ue())!==n)for(;r!==n;)t.push(r),r=Ue();else t=n;return t!==n&&(ge=e,t=s({type:0,tokens:a=t,parsedOptions:it?O(a):{}},at())),t}())!==n?(ge=t,t=r=a):(he=t,t=n),t===n&&(t=he,ge=he,rt.push("numberArgStyle"),(r=(r=!0)?void 0:n)!==n&&(a=Pe())!==n?(ge=t,t=r=S(a)):(he=t,t=n)),t}())!==n?u=c=[c,l,f]:(he=u,u=n),u===n&&(u=null),u!==n&&(c=He())!==n?(125===e.charCodeAt(he)?(l="}",he++):(l=n,0===Ae&&Oe(y)),l!==n?(ge=t,t=r=x(a,i,u)):(he=t,t=n)):(he=t,t=n)):(he=t,t=n)):(he=t,t=n)):(he=t,t=n),t}())===n&&(t=function a(){var t,r,a,o,i,u,c,l,f;return t=he,123===e.charCodeAt(he)?(r="{",he++):(r=n,0===Ae&&Oe(g)),r!==n&&He()!==n&&(a=Xe())!==n&&He()!==n?(44===e.charCodeAt(he)?(o=",",he++):(o=n,0===Ae&&Oe(D)),o!==n&&He()!==n?("date"===e.substr(he,4)?(i="date",he+=4):(i=n,0===Ae&&Oe(U)),i===n&&("time"===e.substr(he,4)?(i="time",he+=4):(i=n,0===Ae&&Oe(z))),i!==n&&He()!==n?(u=he,44===e.charCodeAt(he)?(c=",",he++):(c=n,0===Ae&&Oe(D)),c!==n&&(l=He())!==n&&(f=function m(){var t,r,a;return t=he,"::"===e.substr(he,2)?(r="::",he+=2):(r=n,0===Ae&&Oe(R)),r!==n&&(a=function o(){var t,r,a,o,i,u,c;if(t=he,r=he,a=[],(o=ze())===n&&(o=Ve()),o!==n)for(;o!==n;)a.push(o),(o=ze())===n&&(o=Ve());else a=n;return(r=a!==n?e.substring(r,he):a)!==n&&(ge=t,r=s({type:1,pattern:i=r,parsedOptions:it?(u=i,c={},u.replace(F,(function(e){var t=e.length;switch(e[0]){case"G":c.era=4===t?"long":5===t?"narrow":"short";break;case"y":c.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":c.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":c.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":c.weekday=4===t?"short":5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");c.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");c.weekday=["short","long","narrow","short"][t-4];break;case"a":c.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":c.hourCycle="h12",c.hour=["numeric","2-digit"][t-1];break;case"H":c.hourCycle="h23",c.hour=["numeric","2-digit"][t-1];break;case"K":c.hourCycle="h11",c.hour=["numeric","2-digit"][t-1];break;case"k":c.hourCycle="h24",c.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":c.minute=["numeric","2-digit"][t-1];break;case"s":c.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":c.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),c):{}},at())),r}())!==n?(ge=t,t=r=a):(he=t,t=n),t===n&&(t=he,ge=he,rt.push("dateOrTimeArgStyle"),(r=(r=!0)?void 0:n)!==n&&(a=Pe())!==n?(ge=t,t=r=S(a)):(he=t,t=n)),t}())!==n?u=c=[c,l,f]:(he=u,u=n),u===n&&(u=null),u!==n&&(c=He())!==n?(125===e.charCodeAt(he)?(l="}",he++):(l=n,0===Ae&&Oe(y)),l!==n?(ge=t,t=r=x(a,i,u)):(he=t,t=n)):(he=t,t=n)):(he=t,t=n)):(he=t,t=n)):(he=t,t=n),t}()),t}())===n&&(t=function m(){var t,r,a,o,u,c,l,f,m,p,d;if(t=he,123===e.charCodeAt(he)?(r="{",he++):(r=n,0===Ae&&Oe(g)),r!==n)if(He()!==n)if((a=Xe())!==n)if(He()!==n)if(44===e.charCodeAt(he)?(o=",",he++):(o=n,0===Ae&&Oe(D)),o!==n)if(He()!==n)if("plural"===e.substr(he,6)?(u="plural",he+=6):(u=n,0===Ae&&Oe(V)),u===n&&("selectordinal"===e.substr(he,13)?(u="selectordinal",he+=13):(u=n,0===Ae&&Oe(Z))),u!==n)if(He()!==n)if(44===e.charCodeAt(he)?(c=",",he++):(c=n,0===Ae&&Oe(D)),c!==n)if(He()!==n)if(l=he,"offset:"===e.substr(he,7)?(f="offset:",he+=7):(f=n,0===Ae&&Oe(G)),f!==n&&(m=He())!==n&&(p=We())!==n?l=f=[f,m,p]:(he=l,l=n),l===n&&(l=null),l!==n)if((f=He())!==n){if(m=[],(p=Ge())!==n)for(;p!==n;)m.push(p),p=Ge();else m=n;m!==n&&(p=He())!==n?(125===e.charCodeAt(he)?(d="}",he++):(d=n,0===Ae&&Oe(y)),d!==n?(ge=t,t=r=function(e,t,r,n){return s({type:i.plural,pluralType:"plural"===t?"cardinal":"ordinal",value:e,offset:r?r[2]:0,options:n.reduce((function(e,t){var r=t.id,n=t.value,a=t.location;return r in e&&Fe('Duplicate option "'+r+'" in plural element: "'+we()+'"',Te()),e[r]={value:n,location:a},e}),{})},at())}(a,u,l,m)):(he=t,t=n)):(he=t,t=n)}else he=t,t=n;else he=t,t=n;else he=t,t=n;else he=t,t=n;else he=t,t=n;else he=t,t=n;else he=t,t=n;else he=t,t=n;else he=t,t=n;else he=t,t=n;else he=t,t=n;else he=t,t=n;return t}())===n&&(t=function p(){var t,r,a,o,u,c,l,f,m;if(t=he,123===e.charCodeAt(he)?(r="{",he++):(r=n,0===Ae&&Oe(g)),r!==n)if(He()!==n)if((a=Xe())!==n)if(He()!==n)if(44===e.charCodeAt(he)?(o=",",he++):(o=n,0===Ae&&Oe(D)),o!==n)if(He()!==n)if("select"===e.substr(he,6)?(u="select",he+=6):(u=n,0===Ae&&Oe(B)),u!==n)if(He()!==n)if(44===e.charCodeAt(he)?(c=",",he++):(c=n,0===Ae&&Oe(D)),c!==n)if(He()!==n){if(l=[],(f=Ze())!==n)for(;f!==n;)l.push(f),f=Ze();else l=n;l!==n&&(f=He())!==n?(125===e.charCodeAt(he)?(m="}",he++):(m=n,0===Ae&&Oe(y)),m!==n?(ge=t,t=r=function(e,t){return s({type:i.select,value:e,options:t.reduce((function(e,t){var r=t.id,n=t.value,a=t.location;return r in e&&Fe('Duplicate option "'+r+'" in select element: "'+we()+'"',Te()),e[r]={value:n,location:a},e}),{})},at())}(a,l)):(he=t,t=n)):(he=t,t=n)}else he=t,t=n;else he=t,t=n;else he=t,t=n;else he=t,t=n;else he=t,t=n;else he=t,t=n;else he=t,t=n;else he=t,t=n;else he=t,t=n;else he=t,t=n;return t}())===n&&(t=function d(){var t,r;return t=he,35===e.charCodeAt(he)?(r="#",he++):(r=n,0===Ae&&Oe(l)),r!==n&&(ge=t,r=s({type:i.pound},at())),r}()),t}function Pe(){var t,r,a,o;if(t=he,ge=he,(r=(r=ot)?void 0:n)!==n){if(a=[],(o=Je())===n&&(o=Ke())===n&&(o=Qe())===n&&(60===e.charCodeAt(he)?(o="<",he++):(o=n,0===Ae&&Oe(u))),o!==n)for(;o!==n;)a.push(o),(o=Je())===n&&(o=Ke())===n&&(o=Qe())===n&&(60===e.charCodeAt(he)?(o="<",he++):(o=n,0===Ae&&Oe(u)));else a=n;a!==n?(ge=t,t=r=c(a)):(he=t,t=n)}else he=t,t=n;if(t===n){if(t=he,r=[],(a=Je())===n&&(a=Ke())===n&&(a=Qe())===n&&(a=Me()),a!==n)for(;a!==n;)r.push(a),(a=Je())===n&&(a=Ke())===n&&(a=Qe())===n&&(a=Me());else r=n;r!==n&&(ge=t,r=c(r)),t=r}return t}function Me(){var t,r,a;return t=he,r=he,Ae++,(a=_e())===n&&(a=ke())===n&&(a=je()),Ae--,a===n?r=void 0:(he=r,r=n),r!==n?(60===e.charCodeAt(he)?(a="<",he++):(a=n,0===Ae&&Oe(u)),a!==n?(ge=t,t=r="<"):(he=t,t=n)):(he=t,t=n),t}function je(){var t,r,a,o,c,l;return t=he,r=he,60===e.charCodeAt(he)?(a="<",he++):(a=n,0===Ae&&Oe(u)),a!==n&&(o=Ye())!==n&&(c=He())!==n?("/>"===e.substr(he,2)?(l="/>",he+=2):(l=n,0===Ae&&Oe(m)),l!==n?r=a=[a,o,c,l]:(he=r,r=n)):(he=r,r=n),r!==n&&(ge=t,r=s({type:i.literal,value:r.join("")},at())),r}function _e(){var t,r,a,o;return t=he,60===e.charCodeAt(he)?(r="<",he++):(r=n,0===Ae&&Oe(u)),r!==n&&(a=Ye())!==n?(62===e.charCodeAt(he)?(o=">",he++):(o=n,0===Ae&&Oe(p)),o!==n?(ge=t,t=r=a):(he=t,t=n)):(he=t,t=n),t}function ke(){var t,r,a,o;return t=he,"</"===e.substr(he,2)?(r="</",he+=2):(r=n,0===Ae&&Oe(d)),r!==n&&(a=Ye())!==n?(62===e.charCodeAt(he)?(o=">",he++):(o=n,0===Ae&&Oe(p)),o!==n?(ge=t,t=r=a):(he=t,t=n)):(he=t,t=n),t}function Le(){var t,r,a,o,i;if(Ae++,t=he,r=[],a=he,o=he,Ae++,(i=Be())===n&&(b.test(e.charAt(he))?(i=e.charAt(he),he++):(i=n,0===Ae&&Oe(A))),Ae--,i===n?o=void 0:(he=o,o=n),o!==n?(e.length>he?(i=e.charAt(he),he++):(i=n,0===Ae&&Oe(w)),i!==n?a=o=[o,i]:(he=a,a=n)):(he=a,a=n),a!==n)for(;a!==n;)r.push(a),a=he,o=he,Ae++,(i=Be())===n&&(b.test(e.charAt(he))?(i=e.charAt(he),he++):(i=n,0===Ae&&Oe(A))),Ae--,i===n?o=void 0:(he=o,o=n),o!==n?(e.length>he?(i=e.charAt(he),he++):(i=n,0===Ae&&Oe(w)),i!==n?a=o=[o,i]:(he=a,a=n)):(he=a,a=n);else r=n;return t=r!==n?e.substring(t,he):r,Ae--,t===n&&(r=n,0===Ae&&Oe(v)),t}function $e(){var t,r,a;return Ae++,t=he,47===e.charCodeAt(he)?(r="/",he++):(r=n,0===Ae&&Oe(E)),r!==n&&(a=Le())!==n?(ge=t,t=r=a):(he=t,t=n),Ae--,t===n&&(r=n,0===Ae&&Oe(T)),t}function Ue(){var e,t,r,a;if(Ae++,e=he,He()!==n)if((t=Le())!==n){for(r=[],a=$e();a!==n;)r.push(a),a=$e();r!==n?(ge=e,e=function(e,t){return{stem:e,options:t}}(t,r)):(he=e,e=n)}else he=e,e=n;else he=e,e=n;return Ae--,e===n&&0===Ae&&Oe(I),e}function ze(){var t,r,a,o;if(t=he,39===e.charCodeAt(he)?(r="'",he++):(r=n,0===Ae&&Oe(P)),r!==n){if(a=[],(o=Je())===n&&(M.test(e.charAt(he))?(o=e.charAt(he),he++):(o=n,0===Ae&&Oe(j))),o!==n)for(;o!==n;)a.push(o),(o=Je())===n&&(M.test(e.charAt(he))?(o=e.charAt(he),he++):(o=n,0===Ae&&Oe(j)));else a=n;a!==n?(39===e.charCodeAt(he)?(o="'",he++):(o=n,0===Ae&&Oe(P)),o!==n?t=r=[r,a,o]:(he=t,t=n)):(he=t,t=n)}else he=t,t=n;if(t===n)if(t=[],(r=Je())===n&&(_.test(e.charAt(he))?(r=e.charAt(he),he++):(r=n,0===Ae&&Oe(k))),r!==n)for(;r!==n;)t.push(r),(r=Je())===n&&(_.test(e.charAt(he))?(r=e.charAt(he),he++):(r=n,0===Ae&&Oe(k)));else t=n;return t}function Ve(){var t,r;if(t=[],L.test(e.charAt(he))?(r=e.charAt(he),he++):(r=n,0===Ae&&Oe($)),r!==n)for(;r!==n;)t.push(r),L.test(e.charAt(he))?(r=e.charAt(he),he++):(r=n,0===Ae&&Oe($));else t=n;return t}function Ze(){var t,r,a,o,i,u,c;return t=he,He()!==n&&(r=tt())!==n&&He()!==n?(123===e.charCodeAt(he)?(a="{",he++):(a=n,0===Ae&&Oe(g)),a!==n?(ge=he,rt.push("select"),void 0!==n&&(o=Ce())!==n?(125===e.charCodeAt(he)?(i="}",he++):(i=n,0===Ae&&Oe(y)),i!==n?(ge=t,u=r,c=o,rt.pop(),t=s({id:u,value:c},at())):(he=t,t=n)):(he=t,t=n)):(he=t,t=n)):(he=t,t=n),t}function Ge(){var t,r,a,o,i,u,c;return t=he,He()!==n&&(r=function l(){var t,r,a,o;return t=he,r=he,61===e.charCodeAt(he)?(a="=",he++):(a=n,0===Ae&&Oe(q)),a!==n&&(o=We())!==n?r=a=[a,o]:(he=r,r=n),(t=r!==n?e.substring(t,he):r)===n&&(t=tt()),t}())!==n&&He()!==n?(123===e.charCodeAt(he)?(a="{",he++):(a=n,0===Ae&&Oe(g)),a!==n?(ge=he,rt.push("plural"),void 0!==n&&(o=Ce())!==n?(125===e.charCodeAt(he)?(i="}",he++):(i=n,0===Ae&&Oe(y)),i!==n?(ge=t,u=r,c=o,rt.pop(),t=s({id:u,value:c},at())):(he=t,t=n)):(he=t,t=n)):(he=t,t=n)):(he=t,t=n),t}function Be(){var t;return Ae++,W.test(e.charAt(he))?(t=e.charAt(he),he++):(t=n,0===Ae&&Oe(J)),Ae--,t===n&&0===Ae&&Oe(H),t}function qe(){var t;return Ae++,Q.test(e.charAt(he))?(t=e.charAt(he),he++):(t=n,0===Ae&&Oe(X)),Ae--,t===n&&0===Ae&&Oe(K),t}function He(){var t,r,a;for(Ae++,t=he,r=[],a=Be();a!==n;)r.push(a),a=Be();return t=r!==n?e.substring(t,he):r,Ae--,t===n&&(r=n,0===Ae&&Oe(Y)),t}function We(){var t,r,a,o;return Ae++,t=he,45===e.charCodeAt(he)?(r="-",he++):(r=n,0===Ae&&Oe(te)),r===n&&(r=null),r!==n&&(a=et())!==n?(ge=t,t=r=(o=a)?r?-o:o:0):(he=t,t=n),Ae--,t===n&&(r=n,0===Ae&&Oe(ee)),t}function Je(){var t,r;return Ae++,t=he,"''"===e.substr(he,2)?(r="''",he+=2):(r=n,0===Ae&&Oe(ne)),r!==n&&(ge=t,r="'"),Ae--,(t=r)===n&&(r=n,0===Ae&&Oe(re)),t}function Ke(){var t,r,a,o,i,u;if(t=he,39===e.charCodeAt(he)?(r="'",he++):(r=n,0===Ae&&Oe(P)),r!==n)if((a=function s(){var t,r,a,o;return t=he,r=he,e.length>he?(a=e.charAt(he),he++):(a=n,0===Ae&&Oe(w)),a!==n?(ge=he,(o=(o=function(e){return"<"===e||">"===e||"{"===e||"}"===e||nt()&&"#"===e}(a))?void 0:n)!==n?r=a=[a,o]:(he=r,r=n)):(he=r,r=n),r!==n?e.substring(t,he):r}())!==n){for(o=he,i=[],"''"===e.substr(he,2)?(u="''",he+=2):(u=n,0===Ae&&Oe(ne)),u===n&&(M.test(e.charAt(he))?(u=e.charAt(he),he++):(u=n,0===Ae&&Oe(j)));u!==n;)i.push(u),"''"===e.substr(he,2)?(u="''",he+=2):(u=n,0===Ae&&Oe(ne)),u===n&&(M.test(e.charAt(he))?(u=e.charAt(he),he++):(u=n,0===Ae&&Oe(j)));(o=i!==n?e.substring(o,he):i)!==n?(39===e.charCodeAt(he)?(i="'",he++):(i=n,0===Ae&&Oe(P)),i===n&&(i=null),i!==n?(ge=t,t=r=a+o.replace("''","'")):(he=t,t=n)):(he=t,t=n)}else he=t,t=n;else he=t,t=n;return t}function Qe(){var t,r,a,o;return t=he,r=he,e.length>he?(a=e.charAt(he),he++):(a=n,0===Ae&&Oe(w)),a!==n?(ge=he,(o=(o=function(e){return!("<"===e||"{"===e||nt()&&"#"===e||function t(){return rt.length>1}()&&"}"===e)}(a))?void 0:n)!==n?r=a=[a,o]:(he=r,r=n)):(he=r,r=n),r===n&&(10===e.charCodeAt(he)?(r="\n",he++):(r=n,0===Ae&&Oe(ae))),r!==n?e.substring(t,he):r}function Xe(){var t,r;return Ae++,t=he,(r=et())===n&&(r=tt()),t=r!==n?e.substring(t,he):r,Ae--,t===n&&(r=n,0===Ae&&Oe(oe)),t}function Ye(){var t,r;return Ae++,t=he,(r=et())===n&&(r=function a(){var t,r,a,o,i;if(Ae++,t=he,r=[],45===e.charCodeAt(he)?(a="-",he++):(a=n,0===Ae&&Oe(te)),a===n&&(a=he,o=he,Ae++,(i=Be())===n&&(i=qe()),Ae--,i===n?o=void 0:(he=o,o=n),o!==n?(e.length>he?(i=e.charAt(he),he++):(i=n,0===Ae&&Oe(w)),i!==n?a=o=[o,i]:(he=a,a=n)):(he=a,a=n)),a!==n)for(;a!==n;)r.push(a),45===e.charCodeAt(he)?(a="-",he++):(a=n,0===Ae&&Oe(te)),a===n&&(a=he,o=he,Ae++,(i=Be())===n&&(i=qe()),Ae--,i===n?o=void 0:(he=o,o=n),o!==n?(e.length>he?(i=e.charAt(he),he++):(i=n,0===Ae&&Oe(w)),i!==n?a=o=[o,i]:(he=a,a=n)):(he=a,a=n));else r=n;return t=r!==n?e.substring(t,he):r,Ae--,t===n&&(r=n,0===Ae&&Oe(de)),t}()),t=r!==n?e.substring(t,he):r,Ae--,t===n&&(r=n,0===Ae&&Oe(ie)),t}function et(){var t,r,a,o,i;if(Ae++,t=he,48===e.charCodeAt(he)?(r="0",he++):(r=n,0===Ae&&Oe(se)),r!==n&&(ge=t,r=0),(t=r)===n){if(t=he,r=he,ce.test(e.charAt(he))?(a=e.charAt(he),he++):(a=n,0===Ae&&Oe(le)),a!==n){for(o=[],fe.test(e.charAt(he))?(i=e.charAt(he),he++):(i=n,0===Ae&&Oe(me));i!==n;)o.push(i),fe.test(e.charAt(he))?(i=e.charAt(he),he++):(i=n,0===Ae&&Oe(me));o!==n?r=a=[a,o]:(he=r,r=n)}else he=r,r=n;r!==n&&(ge=t,r=parseInt(r.join(""),10)),t=r}return Ae--,t===n&&(r=n,0===Ae&&Oe(ue)),t}function tt(){var t,r,a,o,i;if(Ae++,t=he,r=[],a=he,o=he,Ae++,(i=Be())===n&&(i=qe()),Ae--,i===n?o=void 0:(he=o,o=n),o!==n?(e.length>he?(i=e.charAt(he),he++):(i=n,0===Ae&&Oe(w)),i!==n?a=o=[o,i]:(he=a,a=n)):(he=a,a=n),a!==n)for(;a!==n;)r.push(a),a=he,o=he,Ae++,(i=Be())===n&&(i=qe()),Ae--,i===n?o=void 0:(he=o,o=n),o!==n?(e.length>he?(i=e.charAt(he),he++):(i=n,0===Ae&&Oe(w)),i!==n?a=o=[o,i]:(he=a,a=n)):(he=a,a=n);else r=n;return t=r!==n?e.substring(t,he):r,Ae--,t===n&&(r=n,0===Ae&&Oe(pe)),t}var rt=["root"];function nt(){return"plural"===rt[rt.length-1]}function at(){return t&&t.captureLocation?{location:Te()}:{}}var ot=t&&t.ignoreTag,it=t&&t.shouldParseSkeleton;if((r=o())!==n&&he===e.length)return r;throw r!==n&&he<e.length&&Oe({type:"end"}),function ut(e,t,r){return new N(N.buildMessage(e,t),e,t,r)}(be,ve<e.length?e.charAt(ve):null,De(ve,ve<e.length?ve+1:ve))},P=/(^|[^\\])#/g;function M(e,t){t=s({normalizeHashtagInPlural:!0,shouldParseSkeleton:!0},t||{});var r=C(e,t);return t.normalizeHashtagInPlural&&function e(t){t.forEach((function(t){(v(t)||y(t))&&Object.keys(t.options).forEach((function(r){for(var n,a=t.options[r],o=-1,i=void 0,u=0;u<a.value.length;u++){var s=a.value[u];if(m(s)&&P.test(s.value)){o=u,i=s;break}}if(i){var c=i.value.replace(P,"$1{"+t.value+", number}"),f=C(c);(n=a.value).splice.apply(n,l([o,1],f))}e(a.value)}))}))}(r),r}function j(e,t,r,n){var a=function o(e){return null==e||"number"==typeof e||"boolean"==typeof e}(n)?n:r(n),i=t.get(a);return void 0===i&&(i=e.call(this,n),t.set(a,i)),i}function _(e,t,r){var n=Array.prototype.slice.call(arguments,3),a=r(n),o=t.get(a);return void 0===o&&(o=e.apply(this,n),t.set(a,o)),o}function k(e,t,r,n,a){return r.bind(t,e,n,a)}function L(e,t){return k(e,this,1===e.length?j:_,t.cache.create(),t.serializer)}function $(){return JSON.stringify(arguments)}function U(){this.cache=Object.create(null)}U.prototype.has=function(e){return e in this.cache},U.prototype.get=function(e){return this.cache[e]},U.prototype.set=function(e,t){this.cache[e]=t};var z={create:function e(){return new U}},V=function Z(e,t){return(t&&t.strategy?t.strategy:L)(e,{cache:t&&t.cache?t.cache:z,serializer:t&&t.serializer?t.serializer:$})},G={variadic:function B(e,t){return k(e,this,_,t.cache.create(),t.serializer)},monadic:function q(e,t){return k(e,this,j,t.cache.create(),t.serializer)}};V.strategies=G;var H,W=Object.freeze(Object.assign(Object.create(null),V,{default:V,strategies:G}));!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(H||(H={}));var J,K=function(e){function t(t,r,n){var a=e.call(this,t)||this;return a.code=r,a.originalMessage=n,a}return o(t,e),t.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},t}(Error),Q=function(e){function t(t,r,n,a){return e.call(this,'Invalid values for "'+t+'": "'+r+'". Options are "'+Object.keys(n).join('", "')+'"',"INVALID_VALUE",a)||this}return o(t,e),t}(K),X=function(e){function t(t,r,n){return e.call(this,'Value for "'+t+'" must be of type '+r,"INVALID_VALUE",n)||this}return o(t,e),t}(K),Y=function(e){function t(t,r){return e.call(this,'The intl string context variable "'+t+'" was not provided to the string "'+r+'"',"MISSING_VALUE",r)||this}return o(t,e),t}(K);function ee(e){return"function"==typeof e}function te(e){return{create:function(){return{has:function(t){return t in e},get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(J||(J={}));var re,ne=V||W,ae=function(){function e(t,r,n,a){var o=this;if(void 0===r&&(r=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=o.formatToParts(e);if(1===t.length)return t[0].value;var r=t.reduce((function(e,t){return e.length&&0===t.type&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return r.length<=1?r[0]||"":r},this.formatToParts=function(e){return function e(t,r,n,a,o,i,u){if(1===t.length&&m(t[0]))return[{type:0,value:t[0].value}];for(var s=[],c=0,l=t;c<l.length;c++){var f=l[c];if(m(f))s.push({type:0,value:f.value});else if(b(f))"number"==typeof i&&s.push({type:0,value:n.getNumberFormat(r).format(i)});else{var F=f.value;if(!o||!(F in o))throw new Y(F,u);var E=o[F];if(p(f))E&&"string"!=typeof E&&"number"!=typeof E||(E="string"==typeof E||"number"==typeof E?String(E):""),s.push({type:"string"==typeof E?0:1,value:E});else if(h(f)){var I="string"==typeof f.style?a.date[f.style]:T(f.style)?f.style.parsedOptions:void 0;s.push({type:0,value:n.getDateTimeFormat(r,I).format(E)})}else if(g(f))I="string"==typeof f.style?a.time[f.style]:T(f.style)?f.style.parsedOptions:void 0,s.push({type:0,value:n.getDateTimeFormat(r,I).format(E)});else if(d(f))I="string"==typeof f.style?a.number[f.style]:w(f.style)?f.style.parsedOptions:void 0,s.push({type:0,value:n.getNumberFormat(r,I).format(E)});else{if(A(f)){var R=f.children,S=f.value,D=o[S];if(!ee(D))throw new X(S,"function",u);var O=D(e(R,r,n,a,o,i).map((function(e){return e.value})));Array.isArray(O)||(O=[O]),s.push.apply(s,O.map((function(e){return{type:"string"==typeof e?0:1,value:e}})))}if(y(f)){if(!(N=f.options[E]||f.options.other))throw new Q(f.value,E,Object.keys(f.options),u);s.push.apply(s,e(N.value,r,n,a,o))}else if(v(f)){var N;if(!(N=f.options["="+E])){if(!Intl.PluralRules)throw new K('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',"MISSING_INTL_API",u);var C=n.getPluralRules(r,{type:f.pluralType}).select(E-(f.offset||0));N=f.options[C]||f.options.other}if(!N)throw new Q(f.value,E,Object.keys(f.options),u);s.push.apply(s,e(N.value,r,n,a,o,E-(f.offset||0)))}}}}return function x(e){return e.length<2?e:e.reduce((function(e,t){var r=e[e.length-1];return r&&0===r.type&&0===t.type?r.value+=t.value:e.push(t),e}),[])}(s)}(o.ast,o.locales,o.formatters,o.formats,e,void 0,o.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=e.__parse(t,{normalizeHashtagInPlural:!1,ignoreTag:null==a?void 0:a.ignoreTag})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=function i(e,t){return t?Object.keys(e).reduce((function(r,n){return r[n]=function a(e,t){return t?s(s(s({},e||{}),t||{}),Object.keys(e).reduce((function(r,n){return r[n]=s(s({},e[n]),t[n]||{}),r}),{})):e}(e[n],t[n]),r}),s({},e)):e}(e.formats,n),this.locales=r,this.formatters=a&&a.formatters||function u(e){return void 0===e&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:ne((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,l([void 0],t)))}),{cache:te(e.number),strategy:ne.strategies.variadic}),getDateTimeFormat:ne((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,l([void 0],t)))}),{cache:te(e.dateTime),strategy:ne.strategies.variadic}),getPluralRules:ne((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,l([void 0],t)))}),{cache:te(e.pluralRules),strategy:ne.strategies.variadic})}}(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.__parse=M,e.formats={number:{currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();(re=e.ReactIntlErrorCode||(e.ReactIntlErrorCode={})).FORMAT_ERROR="FORMAT_ERROR",re.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",re.INVALID_CONFIG="INVALID_CONFIG",re.MISSING_DATA="MISSING_DATA",re.MISSING_TRANSLATION="MISSING_TRANSLATION";var oe=function(e){function t(r,n,a){var o=e.call(this,"[@formatjs/intl Error "+r+"] "+n+" \n"+(a?"\n"+a.message+"\n"+a.stack:""))||this;return o.code=r,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(o,t),o}return o(t,e),t}(Error),ie=function(e){function t(t,r){return e.call(this,"UNSUPPORTED_FORMATTER",t,r)||this}return o(t,e),t}(oe),ue=function(e){function t(t,r){return e.call(this,"INVALID_CONFIG",t,r)||this}return o(t,e),t}(oe),se=function(e){function t(t,r){return e.call(this,"MISSING_DATA",t,r)||this}return o(t,e),t}(oe),ce=function(e){function t(t,r,n,a){var o=e.call(this,"FORMAT_ERROR",t+" \nLocale: "+r+"\nMessageID: "+(null==n?void 0:n.id)+"\nDefault Message: "+(null==n?void 0:n.defaultMessage)+"\nDescription: "+(null==n?void 0:n.description)+" \n",a)||this;return o.descriptor=n,o}return o(t,e),t}(oe),le=function(e){function t(t,r){var n=e.call(this,"MISSING_TRANSLATION",'Missing message: "'+t.id+'" for locale "'+r+'", using '+(t.defaultMessage?"default message":"id")+" as fallback.")||this;return n.descriptor=t,n}return o(t,e),t}(oe);function fe(e,t,r){return void 0===r&&(r={}),t.reduce((function(t,n){return n in e?t[n]=e[n]:n in r&&(t[n]=r[n]),t}),{})}var me={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},onError:function(e){}};function pe(e){return{create:function(){return{has:function(t){return t in e},get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}var de=V||W;function he(e,t,r,n){var a,o=e&&e[t];if(o&&(a=o[r]),a)return a;n(new ie("No "+t+" format named: "+r))}function ge(e,t){return Object.keys(e).reduce((function(r,n){return r[n]=s({timeZone:t},e[n]),r}),{})}function ye(e,t){return Object.keys(s(s({},e),t)).reduce((function(r,n){return r[n]=s(s({},e[n]||{}),t[n]||{}),r}),{})}function ve(e,t){if(!t)return e;var r=ae.formats;return s(s(s({},r),e),{date:ye(ge(r.date,t),ge(e.date||{},t)),time:ye(ge(r.time,t),ge(e.time||{},t))})}function be(e,t,r,n){var a=e.locale,o=e.formats,u=e.messages,c=e.defaultLocale,l=e.defaultFormats,m=e.onError,p=e.timeZone,d=e.defaultRichTextElements;void 0===r&&(r={id:""});var h=r.id,g=r.defaultMessage;f(!!h,"[@formatjs/intl] An `id` must be provided to format a message.");var y=String(h),v=u&&Object.prototype.hasOwnProperty.call(u,y)&&u[y];if(Array.isArray(v)&&1===v.length&&v[0].type===i.literal)return v[0].value;if(!n&&v&&"string"==typeof v&&!d)return v.replace(/'\{(.*?)\}'/gi,"{$1}");if(n=s(s({},d),n||{}),o=ve(o,p),l=ve(l,p),!v){if((!g||a&&a.toLowerCase()!==c.toLowerCase())&&m(new le(r,a)),g)try{return t.getMessageFormat(g,c,l).format(n)}catch(e){return m(new ce('Error formatting default message for: "'+y+'", rendering default message verbatim',a,r,e)),"string"==typeof g?g:y}return y}try{return t.getMessageFormat(v,a,o,{formatters:t}).format(n)}catch(e){m(new ce('Error formatting message: "'+y+'", using '+(g?"default message":"id")+" as fallback.",a,r,e))}if(g)try{return t.getMessageFormat(g,c,l).format(n)}catch(e){m(new ce('Error formatting the default message for: "'+y+'", rendering message verbatim',a,r,e))}return"string"==typeof v?v:"string"==typeof g?g:y}var Ae=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","fractionalSecondDigits","calendar","numberingSystem"];function we(e,t,r,n){var a=e.locale,o=e.formats,i=e.onError,u=e.timeZone;void 0===n&&(n={});var c=n.format,l=s(s({},u&&{timeZone:u}),c&&he(o,t,c,i)),f=fe(n,Ae,l);return"time"!==t||f.hour||f.minute||f.second||(f=s(s({},f),{hour:"numeric",minute:"numeric"})),r(a,f)}function Te(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var a=r[0],o=r[1],i=void 0===o?{}:o,u="string"==typeof a?new Date(a||0):a;try{return we(e,"date",t,i).format(u)}catch(t){e.onError(new oe("FORMAT_ERROR","Error formatting date.",t))}return String(u)}function Fe(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var a=r[0],o=r[1],i=void 0===o?{}:o,u="string"==typeof a?new Date(a||0):a;try{return we(e,"time",t,i).format(u)}catch(t){e.onError(new oe("FORMAT_ERROR","Error formatting time.",t))}return String(u)}function Ee(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var a=r[0],o=r[1],i=r[2],u=void 0===i?{}:i,s=e.timeZone,c=e.locale,l=e.onError,f=fe(u,Ae,s?{timeZone:s}:{});try{return t(c,f).formatRange(a,o)}catch(e){l(new oe("FORMAT_ERROR","Error formatting date time range.",e))}return String(a)}function Ie(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var a=r[0],o=r[1],i=void 0===o?{}:o,u="string"==typeof a?new Date(a||0):a;try{return we(e,"date",t,i).formatToParts(u)}catch(t){e.onError(new oe("FORMAT_ERROR","Error formatting date.",t))}return[]}function Re(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var a=r[0],o=r[1],i=void 0===o?{}:o,u="string"==typeof a?new Date(a||0):a;try{return we(e,"time",t,i).formatToParts(u)}catch(t){e.onError(new oe("FORMAT_ERROR","Error formatting time.",t))}return[]}var Se=["localeMatcher","style","type","fallback"];function De(e,t,r,n){var a=e.locale,o=e.onError;Intl.DisplayNames||o(new K('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',"MISSING_INTL_API"));var i=fe(n,Se);try{return t(a,i).of(r)}catch(e){o(new oe("FORMAT_ERROR","Error formatting display name.",e))}}var Oe=["localeMatcher","type","style"],Ne=Date.now();function Ce(e,t,r,n){var a=e.locale,o=e.onError;void 0===n&&(n={}),Intl.ListFormat||o(new K('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',"MISSING_INTL_API"));var i=fe(n,Oe);try{var u={},s=r.map((function(e,t){if("object"==typeof e){var r=function n(e){return Ne+"_"+e+"_"+Ne}(t);return u[r]=e,r}return String(e)}));return Object.keys(u).length?t(a,i).formatToParts(s).reduce((function(e,t){var r=t.value;return u[r]?e.push(u[r]):"string"==typeof e[e.length-1]?e[e.length-1]+=r:e.push(r),e}),[]):t(a,i).format(s)}catch(e){o(new oe("FORMAT_ERROR","Error formatting list.",e))}return r}var xe=["localeMatcher","type"];function Pe(e,t,r,n){var a=e.locale,o=e.onError;void 0===n&&(n={}),Intl.PluralRules||o(new K('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',"MISSING_INTL_API"));var i=fe(n,xe);try{return t(a,i).select(r)}catch(e){o(new ce("Error formatting plural.",e))}return"other"}var Me=["numeric","style"];function je(e,t,r,n,a){void 0===a&&(a={}),n||(n="second"),Intl.RelativeTimeFormat||e.onError(new K('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',"MISSING_INTL_API"));try{return function o(e,t,r){var n=e.locale;void 0===r&&(r={});var a=r.format,o=!!a&&he(e.formats,"relative",a,e.onError)||{};return t(n,fe(r,Me,o))}(e,t,a).format(r,n)}catch(t){e.onError(new ce("Error formatting relative time.",t))}return String(r)}var _e=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay"];function ke(e,t,r){var n=e.locale;void 0===r&&(r={});var a=r.format,o=a&&he(e.formats,"number",a,e.onError)||{};return t(n,fe(r,_e,o))}function Le(e,t,r,n){void 0===n&&(n={});try{return ke(e,t,n).format(r)}catch(t){e.onError(new oe("FORMAT_ERROR","Error formatting number.",t))}return String(r)}function $e(e,t,r,n){void 0===n&&(n={});try{return ke(e,t,n).formatToParts(r)}catch(t){e.onError(new oe("FORMAT_ERROR","Error formatting number.",t))}return[]}function Ue(e){f(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var ze=s(s({},me),{textComponent:t.Fragment}),Ve="function"==typeof Symbol&&Symbol.for,Ze=Ve?Symbol.for("react.element"):60103,Ge=Ve?Symbol.for("react.portal"):60106,Be=Ve?Symbol.for("react.fragment"):60107,qe=Ve?Symbol.for("react.strict_mode"):60108,He=Ve?Symbol.for("react.profiler"):60114,We=Ve?Symbol.for("react.provider"):60109,Je=Ve?Symbol.for("react.context"):60110,Ke=Ve?Symbol.for("react.async_mode"):60111,Qe=Ve?Symbol.for("react.concurrent_mode"):60111,Xe=Ve?Symbol.for("react.forward_ref"):60112,Ye=Ve?Symbol.for("react.suspense"):60113,et=Ve?Symbol.for("react.suspense_list"):60120,tt=Ve?Symbol.for("react.memo"):60115,rt=Ve?Symbol.for("react.lazy"):60116,nt=Ve?Symbol.for("react.block"):60121,at=Ve?Symbol.for("react.fundamental"):60117,ot=Ve?Symbol.for("react.responder"):60118,it=Ve?Symbol.for("react.scope"):60119;function ut(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Ze:switch(e=e.type){case Ke:case Qe:case Be:case He:case qe:case Ye:return e;default:switch(e=e&&e.$$typeof){case Je:case Xe:case rt:case tt:case We:return e;default:return t}}case Ge:return t}}}function st(e){return ut(e)===Qe}var ct={AsyncMode:Ke,ConcurrentMode:Qe,ContextConsumer:Je,ContextProvider:We,Element:Ze,ForwardRef:Xe,Fragment:Be,Lazy:rt,Memo:tt,Portal:Ge,Profiler:He,StrictMode:qe,Suspense:Ye,isAsyncMode:function(e){return st(e)||ut(e)===Ke},isConcurrentMode:st,isContextConsumer:function(e){return ut(e)===Je},isContextProvider:function(e){return ut(e)===We},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Ze},isForwardRef:function(e){return ut(e)===Xe},isFragment:function(e){return ut(e)===Be},isLazy:function(e){return ut(e)===rt},isMemo:function(e){return ut(e)===tt},isPortal:function(e){return ut(e)===Ge},isProfiler:function(e){return ut(e)===He},isStrictMode:function(e){return ut(e)===qe},isSuspense:function(e){return ut(e)===Ye},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===Be||e===Qe||e===He||e===qe||e===Ye||e===et||"object"==typeof e&&null!==e&&(e.$$typeof===rt||e.$$typeof===tt||e.$$typeof===We||e.$$typeof===Je||e.$$typeof===Xe||e.$$typeof===at||e.$$typeof===ot||e.$$typeof===it||e.$$typeof===nt)},typeOf:ut},lt=function ft(e,t,r){return e(r={path:t,exports:{},require:function(e,t){return function r(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}
16
16
  /** @license React v16.13.1
17
17
  * react-is.production.min.js
18
18
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  * This source code is licensed under the MIT license found in the
22
22
  * LICENSE file in the root directory of this source tree.
23
- */()}},r.exports),r.exports}((function(e){e.exports=ct})),mt={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},pt={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},dt={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},ht={};function gt(e){return lt.isMemo(e)?dt:ht[e.$$typeof]||mt}ht[lt.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},ht[lt.Memo]=dt;var yt,vt,bt=Object.defineProperty,At=Object.getOwnPropertyNames,wt=Object.getOwnPropertySymbols,Tt=Object.getOwnPropertyDescriptor,Ft=Object.getPrototypeOf,Et=Object.prototype,It=function e(t,r,n){if("string"!=typeof r){if(Et){var a=Ft(r);a&&a!==Et&&e(t,a,n)}var o=At(r);wt&&(o=o.concat(wt(r)));for(var i=gt(t),u=gt(r),s=0;s<o.length;++s){var c=o[s];if(!(pt[c]||n&&n[c]||u&&u[c]||i&&i[c])){var l=Tt(r,c);try{bt(t,c,l)}catch(e){}}}}return t},Rt=It.default||It,St=t.createContext(null),Dt=St.Consumer,Ot=St.Provider,Nt=St;function Ct(e,r){var n=r||{},a=n.intlPropName,o=void 0===a?"intl":a,i=n.forwardRef,u=void 0!==i&&i,c=n.enforceContext,l=void 0===c||c,f=function(r){return t.createElement(Dt,null,(function(n){var a;l&&Ue(n);var i=((a={})[o]=n,a);return t.createElement(e,s({},r,i,{ref:u?r.forwardedRef:null}))}))};return f.displayName="injectIntl("+function m(e){return e.displayName||e.name||"Component"}(e)+")",f.WrappedComponent=e,Rt(u?t.forwardRef((function(e,r){return t.createElement(f,s({},e,{forwardedRef:r}))})):f,e)}!function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"}(yt||(yt={})),function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"}(vt||(vt={}));var xt=function(e){return t.createElement(Nt.Consumer,null,(function(t){Ue(t);var r=e.value,n=e.children,a=c(e,["value","children"]);return n(t.formatNumberToParts(r,a))}))};function Pt(e){var r=function(r){return t.createElement(Nt.Consumer,null,(function(t){Ue(t);var n=r.value,a=r.children,o=c(r,["value","children"]),i="string"==typeof n?new Date(n||0):n;return a("formatDate"===e?t.formatDateToParts(i,o):t.formatTimeToParts(i,o))}))};return r.displayName=vt[e],r}function Mt(e){var r=function(r){return t.createElement(Nt.Consumer,null,(function(n){Ue(n);var a=r.value,o=r.children,i=c(r,["value","children"]),u=n[e](a,i);return"function"==typeof o?o(u):t.createElement(n.textComponent||t.Fragment,null,u)}))};return r.displayName=yt[e],r}xt.displayName="FormattedNumberParts";var _t=function jt(e,t){if(e===t)return!0;if(!e||!t)return!1;var r=Object.keys(e),n=Object.keys(t),a=r.length;if(n.length!==a)return!1;for(var o=0;o<a;o++){var i=r[o];if(e[i]!==t[i]||!Object.prototype.hasOwnProperty.call(t,i))return!1}return!0},kt=Object.freeze(Object.assign(Object.create(null),_t,{default:_t})),Lt=_t||kt;function $t(e){return{locale:e.locale,timeZone:e.timeZone,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError,wrapRichTextChunksInFragment:e.wrapRichTextChunksInFragment,defaultRichTextElements:e.defaultRichTextElements}}function Ut(e){return e?Object.keys(e).reduce((function(r,n){var a=e[n];return r[n]=ee(a)?function o(e){return function(r){return e(t.Children.toArray(r))}}(a):a,r}),{}):e}var zt=function(e,r,n,a){var o=be(e,r,n,Ut(a));return Array.isArray(o)?t.Children.toArray(o):o},Vt=function(e,t){var r=e.defaultRichTextElements,n=c(e,["defaultRichTextElements"]),a=Ut(r),o=function i(e,t){var r=function n(e){void 0===e&&(e={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}});var t=Intl.RelativeTimeFormat,r=Intl.ListFormat,n=Intl.DisplayNames,a=de((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,l([void 0],t)))}),{cache:pe(e.dateTime),strategy:de.strategies.variadic}),o=de((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,l([void 0],t)))}),{cache:pe(e.number),strategy:de.strategies.variadic}),i=de((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,l([void 0],t)))}),{cache:pe(e.pluralRules),strategy:de.strategies.variadic});return{getDateTimeFormat:a,getNumberFormat:o,getMessageFormat:de((function(e,t,r,n){return new ae(e,t,r,s({formatters:{getNumberFormat:o,getDateTimeFormat:a,getPluralRules:i}},n||{}))}),{cache:pe(e.message),strategy:de.strategies.variadic}),getRelativeTimeFormat:de((function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new(t.bind.apply(t,l([void 0],e)))}),{cache:pe(e.relativeTime),strategy:de.strategies.variadic}),getPluralRules:i,getListFormat:de((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(r.bind.apply(r,l([void 0],e)))}),{cache:pe(e.list),strategy:de.strategies.variadic}),getDisplayNames:de((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(n.bind.apply(n,l([void 0],e)))}),{cache:pe(e.displayNames),strategy:de.strategies.variadic})}}(t),a=s(s({},me),e),o=a.locale,i=a.defaultLocale,u=a.onError;return o?!Intl.NumberFormat.supportedLocalesOf(o).length&&u?u(new se('Missing locale data for locale: "'+o+'" in Intl.NumberFormat. Using default locale: "'+i+'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details')):!Intl.DateTimeFormat.supportedLocalesOf(o).length&&u&&u(new se('Missing locale data for locale: "'+o+'" in Intl.DateTimeFormat. Using default locale: "'+i+'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details')):(u&&u(new ue('"locale" was not configured, using "'+i+'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details')),a.locale=a.defaultLocale||"en"),s(s({},a),{formatters:r,formatNumber:Le.bind(null,a,r.getNumberFormat),formatNumberToParts:$e.bind(null,a,r.getNumberFormat),formatRelativeTime:_e.bind(null,a,r.getRelativeTimeFormat),formatDate:Te.bind(null,a,r.getDateTimeFormat),formatDateToParts:Ie.bind(null,a,r.getDateTimeFormat),formatTime:Fe.bind(null,a,r.getDateTimeFormat),formatDateTimeRange:Ee.bind(null,a,r.getDateTimeFormat),formatTimeToParts:Re.bind(null,a,r.getDateTimeFormat),formatPlural:Pe.bind(null,a,r.getPluralRules),formatMessage:be.bind(null,a,r),formatList:Ce.bind(null,a,r.getListFormat),formatDisplayName:De.bind(null,a,r.getDisplayNames)})}(s(s({},ze),n),t);return s(s({},o),{formatMessage:zt.bind(null,{locale:o.locale,timeZone:o.timeZone,formats:o.formats,defaultLocale:o.defaultLocale,defaultFormats:o.defaultFormats,messages:o.messages,onError:o.onError,defaultRichTextElements:a},o.formatters)})},Zt=function(e){function r(){var t=null!==e&&e.apply(this,arguments)||this;return t.cache={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}},t.state={cache:t.cache,intl:Vt($t(t.props),t.cache),prevConfig:$t(t.props)},t}return o(r,e),r.getDerivedStateFromProps=function(e,t){var r=t.prevConfig,n=t.cache,a=$t(e);return Lt(r,a)?null:{intl:Vt(a,n),prevConfig:a}},r.prototype.render=function(){return Ue(this.state.intl),t.createElement(Ot,{value:this.state.intl},this.props.children)},r.displayName="IntlProvider",r.defaultProps=ze,r}(t.PureComponent);function Gt(e){var t=Math.abs(e);return t<60?"second":t<3600?"minute":t<86400?"hour":"day"}function Bt(e){switch(e){case"second":return 1;case"minute":return 60;case"hour":return 3600;default:return 86400}}function qt(e,t){if(!e)return 0;switch(t){case"second":return e;case"minute":return 60*e;default:return 3600*e}}var Ht=["second","minute","hour"];function Wt(e){return void 0===e&&(e="second"),Ht.includes(e)}var Jt=function(e){function r(t){var r=e.call(this,t)||this;return r._updateTimer=null,r.state={prevUnit:r.props.unit,prevValue:r.props.value,currentValueInSeconds:Wt(r.props.unit)?qt(r.props.value,r.props.unit):0},f(!t.updateIntervalInSeconds||!(!t.updateIntervalInSeconds||!Wt(t.unit)),"Cannot schedule update with unit longer than hour"),r}return o(r,e),r.prototype.scheduleNextUpdate=function(e,t){var r=this,n=e.updateIntervalInSeconds,a=e.unit,o=t.currentValueInSeconds;if(clearTimeout(this._updateTimer),this._updateTimer=null,n&&Wt(a)){var i=o-n,u=Gt(i);if("day"!==u){var s=Bt(u),c=i-i%s,l=c>=o?c-s:c,f=Math.abs(l-o);this._updateTimer=setTimeout((function(){return r.setState({currentValueInSeconds:l})}),1e3*f)}}},r.prototype.componentDidMount=function(){this.scheduleNextUpdate(this.props,this.state)},r.prototype.componentDidUpdate=function(){this.scheduleNextUpdate(this.props,this.state)},r.prototype.componentWillUnmount=function(){clearTimeout(this._updateTimer),this._updateTimer=null},r.getDerivedStateFromProps=function(e,t){return e.unit!==t.prevUnit||e.value!==t.prevValue?{prevValue:e.value,prevUnit:e.unit,currentValueInSeconds:Wt(e.unit)?qt(e.value,e.unit):0}:null},r.prototype.render=function(){var e=this;return t.createElement(Nt.Consumer,null,(function(r){Ue(r);var n=r.formatRelativeTime,a=r.textComponent,o=e.props,i=o.children,u=o.unit,c=o.updateIntervalInSeconds,l=e.state.currentValueInSeconds,f=o.value||0,m=u;if(Wt(u)&&"number"==typeof l&&c){var p=Bt(m=Gt(l));f=Math.round(l/p)}var d=n(f,m,s({},e.props));return"function"==typeof i?i(d):a?t.createElement(a,null,d):d}))},r.displayName="FormattedRelativeTime",r.defaultProps={value:0,unit:"second"},r}(t.PureComponent),Kt=function(e){var r=e.other,n=e.children,a=e.intl,o=a.textComponent,i=e[(0,a.formatPlural)(e.value,e)]||r;return"function"==typeof n?n(i):o?t.createElement(o,null,i):i};Kt.defaultProps={type:"cardinal"},Kt.displayName="FormattedPlural";var Qt=Ct(Kt),Xt=_t||kt,Yt=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return o(r,e),r.prototype.shouldComponentUpdate=function(e){var t=this.props,r=t.values,n=c(t,["values"]),a=e.values,o=c(e,["values"]);return!Xt(a,r)||!Xt(n,o)},r.prototype.render=function(){var e=this;return t.createElement(Nt.Consumer,null,(function(r){Ue(r);var a=r.textComponent,o=e.props,i=o.children,u=o.tagName,s=void 0===u?void 0===a?t.Fragment:a:u,c=(0,r.formatMessage)({id:o.id,description:o.description,defaultMessage:o.defaultMessage},o.values);return Array.isArray(c)||(c=[c]),"function"==typeof i?i(c):s?t.createElement.apply(n,l([s,null],c)):c}))},r.displayName="FormattedMessage",r}(t.Component),er=function(e){return t.createElement(Nt.Consumer,null,(function(r){Ue(r);var n=e.from,a=e.to,o=e.children,i=c(e,["from","to","children"]),u=r.formatDateTimeRange(n,a,i);return"function"==typeof o?o(u):t.createElement(r.textComponent||t.Fragment,null,u)}))};er.displayName="FormattedDateTimeRange";var tr=Mt("formatDate"),rr=Mt("formatTime"),nr=Mt("formatNumber"),ar=Mt("formatList"),or=Mt("formatDisplayName"),ir=Pt("formatDate"),ur=Pt("formatTime");e.FormattedDate=tr,e.FormattedDateParts=ir,e.FormattedDateTimeRange=er,e.FormattedDisplayName=or,e.FormattedList=ar,e.FormattedMessage=Yt,e.FormattedNumber=nr,e.FormattedNumberParts=xt,e.FormattedPlural=Qt,e.FormattedRelativeTime=Jt,e.FormattedTime=rr,e.FormattedTimeParts=ur,e.IntlContext=Nt,e.IntlProvider=Zt,e.InvalidConfigError=ue,e.MessageFormatError=ce,e.MissingDataError=se,e.MissingTranslationError=le,e.RawIntlProvider=Ot,e.ReactIntlError=oe,e.UnsupportedFormatterError=ie,e.createIntl=Vt,e.createIntlCache=function sr(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}},e.defineMessage=function cr(e){return e},e.defineMessages=function lr(e){return e},e.injectIntl=Ct,e.useIntl=function fr(){var e=t.useContext(Nt);return Ue(e),e},Object.defineProperty(e,"__esModule",{value:!0})}));
23
+ */()}},r.exports),r.exports}((function(e){e.exports=ct})),mt={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},pt={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},dt={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},ht={};function gt(e){return lt.isMemo(e)?dt:ht[e.$$typeof]||mt}ht[lt.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},ht[lt.Memo]=dt;var yt,vt,bt=Object.defineProperty,At=Object.getOwnPropertyNames,wt=Object.getOwnPropertySymbols,Tt=Object.getOwnPropertyDescriptor,Ft=Object.getPrototypeOf,Et=Object.prototype,It=function e(t,r,n){if("string"!=typeof r){if(Et){var a=Ft(r);a&&a!==Et&&e(t,a,n)}var o=At(r);wt&&(o=o.concat(wt(r)));for(var i=gt(t),u=gt(r),s=0;s<o.length;++s){var c=o[s];if(!(pt[c]||n&&n[c]||u&&u[c]||i&&i[c])){var l=Tt(r,c);try{bt(t,c,l)}catch(e){}}}}return t},Rt=It.default||It,St=t.createContext(null),Dt=St.Consumer,Ot=St.Provider,Nt=St;function Ct(e,r){var n=r||{},a=n.intlPropName,o=void 0===a?"intl":a,i=n.forwardRef,u=void 0!==i&&i,c=n.enforceContext,l=void 0===c||c,f=function(r){return t.createElement(Dt,null,(function(n){var a;l&&Ue(n);var i=((a={})[o]=n,a);return t.createElement(e,s({},r,i,{ref:u?r.forwardedRef:null}))}))};return f.displayName="injectIntl("+function m(e){return e.displayName||e.name||"Component"}(e)+")",f.WrappedComponent=e,Rt(u?t.forwardRef((function(e,r){return t.createElement(f,s({},e,{forwardedRef:r}))})):f,e)}!function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"}(yt||(yt={})),function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"}(vt||(vt={}));var xt=function(e){return t.createElement(Nt.Consumer,null,(function(t){Ue(t);var r=e.value,n=e.children,a=c(e,["value","children"]);return n(t.formatNumberToParts(r,a))}))};function Pt(e){var r=function(r){return t.createElement(Nt.Consumer,null,(function(t){Ue(t);var n=r.value,a=r.children,o=c(r,["value","children"]),i="string"==typeof n?new Date(n||0):n;return a("formatDate"===e?t.formatDateToParts(i,o):t.formatTimeToParts(i,o))}))};return r.displayName=vt[e],r}function Mt(e){var r=function(r){return t.createElement(Nt.Consumer,null,(function(n){Ue(n);var a=r.value,o=r.children,i=c(r,["value","children"]),u=n[e](a,i);return"function"==typeof o?o(u):t.createElement(n.textComponent||t.Fragment,null,u)}))};return r.displayName=yt[e],r}xt.displayName="FormattedNumberParts";var jt=function _t(e,t){if(e===t)return!0;if(!e||!t)return!1;var r=Object.keys(e),n=Object.keys(t),a=r.length;if(n.length!==a)return!1;for(var o=0;o<a;o++){var i=r[o];if(e[i]!==t[i]||!Object.prototype.hasOwnProperty.call(t,i))return!1}return!0},kt=Object.freeze(Object.assign(Object.create(null),jt,{default:jt})),Lt=jt||kt;function $t(e){return{locale:e.locale,timeZone:e.timeZone,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError,wrapRichTextChunksInFragment:e.wrapRichTextChunksInFragment,defaultRichTextElements:e.defaultRichTextElements}}function Ut(e){return e?Object.keys(e).reduce((function(r,n){var a=e[n];return r[n]=ee(a)?function o(e){return function(r){return e(t.Children.toArray(r))}}(a):a,r}),{}):e}var zt=function(e,r,n,a){var o=be(e,r,n,Ut(a));return Array.isArray(o)?t.Children.toArray(o):o},Vt=function(e,t){var r=e.defaultRichTextElements,n=c(e,["defaultRichTextElements"]),a=Ut(r),o=function i(e,t){var r=function n(e){void 0===e&&(e={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}});var t=Intl.RelativeTimeFormat,r=Intl.ListFormat,n=Intl.DisplayNames,a=de((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,l([void 0],t)))}),{cache:pe(e.dateTime),strategy:de.strategies.variadic}),o=de((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,l([void 0],t)))}),{cache:pe(e.number),strategy:de.strategies.variadic}),i=de((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,l([void 0],t)))}),{cache:pe(e.pluralRules),strategy:de.strategies.variadic});return{getDateTimeFormat:a,getNumberFormat:o,getMessageFormat:de((function(e,t,r,n){return new ae(e,t,r,s({formatters:{getNumberFormat:o,getDateTimeFormat:a,getPluralRules:i}},n||{}))}),{cache:pe(e.message),strategy:de.strategies.variadic}),getRelativeTimeFormat:de((function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new(t.bind.apply(t,l([void 0],e)))}),{cache:pe(e.relativeTime),strategy:de.strategies.variadic}),getPluralRules:i,getListFormat:de((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(r.bind.apply(r,l([void 0],e)))}),{cache:pe(e.list),strategy:de.strategies.variadic}),getDisplayNames:de((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(n.bind.apply(n,l([void 0],e)))}),{cache:pe(e.displayNames),strategy:de.strategies.variadic})}}(t),a=s(s({},me),e),o=a.locale,i=a.defaultLocale,u=a.onError;o?!Intl.NumberFormat.supportedLocalesOf(o).length&&u?u(new se('Missing locale data for locale: "'+o+'" in Intl.NumberFormat. Using default locale: "'+i+'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details')):!Intl.DateTimeFormat.supportedLocalesOf(o).length&&u&&u(new se('Missing locale data for locale: "'+o+'" in Intl.DateTimeFormat. Using default locale: "'+i+'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details')):(u&&u(new ue('"locale" was not configured, using "'+i+'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details')),a.locale=a.defaultLocale||"en");var c=e.messages?e.messages[Object.keys(e.messages)[0]]:void 0;return e.defaultRichTextElements&&c&&"string"==typeof c&&console.warn('[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled. \nPlease consider using "@formatjs/cli" to pre-compile your messages for performance.\nFor more details see https://formatjs.io/docs/getting-started/message-distribution'),s(s({},a),{formatters:r,formatNumber:Le.bind(null,a,r.getNumberFormat),formatNumberToParts:$e.bind(null,a,r.getNumberFormat),formatRelativeTime:je.bind(null,a,r.getRelativeTimeFormat),formatDate:Te.bind(null,a,r.getDateTimeFormat),formatDateToParts:Ie.bind(null,a,r.getDateTimeFormat),formatTime:Fe.bind(null,a,r.getDateTimeFormat),formatDateTimeRange:Ee.bind(null,a,r.getDateTimeFormat),formatTimeToParts:Re.bind(null,a,r.getDateTimeFormat),formatPlural:Pe.bind(null,a,r.getPluralRules),formatMessage:be.bind(null,a,r),formatList:Ce.bind(null,a,r.getListFormat),formatDisplayName:De.bind(null,a,r.getDisplayNames)})}(s(s(s({},ze),n),{defaultRichTextElements:a}),t);return s(s({},o),{formatMessage:zt.bind(null,{locale:o.locale,timeZone:o.timeZone,formats:o.formats,defaultLocale:o.defaultLocale,defaultFormats:o.defaultFormats,messages:o.messages,onError:o.onError,defaultRichTextElements:a},o.formatters)})},Zt=function(e){function r(){var t=null!==e&&e.apply(this,arguments)||this;return t.cache={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}},t.state={cache:t.cache,intl:Vt($t(t.props),t.cache),prevConfig:$t(t.props)},t}return o(r,e),r.getDerivedStateFromProps=function(e,t){var r=t.prevConfig,n=t.cache,a=$t(e);return Lt(r,a)?null:{intl:Vt(a,n),prevConfig:a}},r.prototype.render=function(){return Ue(this.state.intl),t.createElement(Ot,{value:this.state.intl},this.props.children)},r.displayName="IntlProvider",r.defaultProps=ze,r}(t.PureComponent);function Gt(e){var t=Math.abs(e);return t<60?"second":t<3600?"minute":t<86400?"hour":"day"}function Bt(e){switch(e){case"second":return 1;case"minute":return 60;case"hour":return 3600;default:return 86400}}function qt(e,t){if(!e)return 0;switch(t){case"second":return e;case"minute":return 60*e;default:return 3600*e}}var Ht=["second","minute","hour"];function Wt(e){return void 0===e&&(e="second"),Ht.includes(e)}var Jt=function(e){function r(t){var r=e.call(this,t)||this;return r._updateTimer=null,r.state={prevUnit:r.props.unit,prevValue:r.props.value,currentValueInSeconds:Wt(r.props.unit)?qt(r.props.value,r.props.unit):0},f(!t.updateIntervalInSeconds||!(!t.updateIntervalInSeconds||!Wt(t.unit)),"Cannot schedule update with unit longer than hour"),r}return o(r,e),r.prototype.scheduleNextUpdate=function(e,t){var r=this,n=e.updateIntervalInSeconds,a=e.unit,o=t.currentValueInSeconds;if(clearTimeout(this._updateTimer),this._updateTimer=null,n&&Wt(a)){var i=o-n,u=Gt(i);if("day"!==u){var s=Bt(u),c=i-i%s,l=c>=o?c-s:c,f=Math.abs(l-o);this._updateTimer=setTimeout((function(){return r.setState({currentValueInSeconds:l})}),1e3*f)}}},r.prototype.componentDidMount=function(){this.scheduleNextUpdate(this.props,this.state)},r.prototype.componentDidUpdate=function(){this.scheduleNextUpdate(this.props,this.state)},r.prototype.componentWillUnmount=function(){clearTimeout(this._updateTimer),this._updateTimer=null},r.getDerivedStateFromProps=function(e,t){return e.unit!==t.prevUnit||e.value!==t.prevValue?{prevValue:e.value,prevUnit:e.unit,currentValueInSeconds:Wt(e.unit)?qt(e.value,e.unit):0}:null},r.prototype.render=function(){var e=this;return t.createElement(Nt.Consumer,null,(function(r){Ue(r);var n=r.formatRelativeTime,a=r.textComponent,o=e.props,i=o.children,u=o.unit,c=o.updateIntervalInSeconds,l=e.state.currentValueInSeconds,f=o.value||0,m=u;if(Wt(u)&&"number"==typeof l&&c){var p=Bt(m=Gt(l));f=Math.round(l/p)}var d=n(f,m,s({},e.props));return"function"==typeof i?i(d):a?t.createElement(a,null,d):d}))},r.displayName="FormattedRelativeTime",r.defaultProps={value:0,unit:"second"},r}(t.PureComponent),Kt=function(e){var r=e.other,n=e.children,a=e.intl,o=a.textComponent,i=e[(0,a.formatPlural)(e.value,e)]||r;return"function"==typeof n?n(i):o?t.createElement(o,null,i):i};Kt.defaultProps={type:"cardinal"},Kt.displayName="FormattedPlural";var Qt=Ct(Kt),Xt=jt||kt,Yt=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return o(r,e),r.prototype.shouldComponentUpdate=function(e){var t=this.props,r=t.values,n=c(t,["values"]),a=e.values,o=c(e,["values"]);return!Xt(a,r)||!Xt(n,o)},r.prototype.render=function(){var e=this;return t.createElement(Nt.Consumer,null,(function(r){Ue(r);var a=r.textComponent,o=e.props,i=o.children,u=o.tagName,s=void 0===u?void 0===a?t.Fragment:a:u,c=(0,r.formatMessage)({id:o.id,description:o.description,defaultMessage:o.defaultMessage},o.values);return Array.isArray(c)||(c=[c]),"function"==typeof i?i(c):s?t.createElement.apply(n,l([s,null],c)):c}))},r.displayName="FormattedMessage",r}(t.Component),er=function(e){return t.createElement(Nt.Consumer,null,(function(r){Ue(r);var n=e.from,a=e.to,o=e.children,i=c(e,["from","to","children"]),u=r.formatDateTimeRange(n,a,i);return"function"==typeof o?o(u):t.createElement(r.textComponent||t.Fragment,null,u)}))};er.displayName="FormattedDateTimeRange";var tr=Mt("formatDate"),rr=Mt("formatTime"),nr=Mt("formatNumber"),ar=Mt("formatList"),or=Mt("formatDisplayName"),ir=Pt("formatDate"),ur=Pt("formatTime");e.FormattedDate=tr,e.FormattedDateParts=ir,e.FormattedDateTimeRange=er,e.FormattedDisplayName=or,e.FormattedList=ar,e.FormattedMessage=Yt,e.FormattedNumber=nr,e.FormattedNumberParts=xt,e.FormattedPlural=Qt,e.FormattedRelativeTime=Jt,e.FormattedTime=rr,e.FormattedTimeParts=ur,e.IntlContext=Nt,e.IntlProvider=Zt,e.InvalidConfigError=ue,e.MessageFormatError=ce,e.MissingDataError=se,e.MissingTranslationError=le,e.RawIntlProvider=Ot,e.ReactIntlError=oe,e.UnsupportedFormatterError=ie,e.createIntl=Vt,e.createIntlCache=function sr(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}},e.defineMessage=function cr(e){return e},e.defineMessages=function lr(e){return e},e.injectIntl=Ct,e.useIntl=function fr(){var e=t.useContext(Nt);return Ue(e),e},Object.defineProperty(e,"__esModule",{value:!0})}));
@@ -22,11 +22,12 @@ var DisplayNameParts;
22
22
  DisplayNameParts["formatNumber"] = "FormattedNumberParts";
23
23
  DisplayNameParts["formatList"] = "FormattedListParts";
24
24
  })(DisplayNameParts || (DisplayNameParts = {}));
25
- exports.FormattedNumberParts = function (props) { return (React.createElement(injectIntl_1.Context.Consumer, null, function (intl) {
25
+ var FormattedNumberParts = function (props) { return (React.createElement(injectIntl_1.Context.Consumer, null, function (intl) {
26
26
  utils_1.invariantIntlContext(intl);
27
27
  var value = props.value, children = props.children, formatProps = tslib_1.__rest(props, ["value", "children"]);
28
28
  return children(intl.formatNumberToParts(value, formatProps));
29
29
  })); };
30
+ exports.FormattedNumberParts = FormattedNumberParts;
30
31
  exports.FormattedNumberParts.displayName = 'FormattedNumberParts';
31
32
  function createFormattedDateTimePartsComponent(name) {
32
33
  var ComponentParts = function (props) { return (React.createElement(injectIntl_1.Context.Consumer, null, function (intl) {
@@ -1 +1 @@
1
- {"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../../../../../../packages/react-intl/src/components/provider.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EACL,mBAAmB,EAGpB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAC,UAAU,EAAE,SAAS,EAAC,MAAM,UAAU,CAAC;AAC/C,OAAO,EAEL,SAAS,EAET,YAAY,EAEb,MAAM,gBAAgB,CAAC;AAWxB,UAAU,KAAK;IACb;;OAEG;IACH,KAAK,EAAE,SAAS,CAAC;IACjB;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;;;OAIG;IACH,UAAU,EAAE,kBAAkB,CAAC;CAChC;AAED,oBAAY,kBAAkB,GAAG,IAAI,CACnC,UAAU,EACV,MAAM,OAAO,mBAAmB,CACjC,GACC,OAAO,CAAC,OAAO,mBAAmB,CAAC,CAAC;AA+DtC;;;;GAIG;AACH,eAAO,MAAM,UAAU,EAAE,YAAY,CACnC,KAAK,CAAC,SAAS,EACf,kBAAkB,EAClB,SAAS,CAiCV,CAAC;AAEF,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,KAAK,CAAC,aAAa,CAG3D,KAAK,CAAC,iBAAiB,CAAC,kBAAkB,CAAC,EAC3C,KAAK,CACN;IACC,MAAM,CAAC,WAAW,SAAkB;IACpC,MAAM,CAAC,YAAY,2HAAuB;IAC1C,OAAO,CAAC,KAAK,CAAgC;IAC7C,KAAK,EAAE,KAAK,CAIV;IAEF,MAAM,CAAC,wBAAwB,CAC7B,KAAK,EAAE,kBAAkB,EACzB,EAAC,UAAU,EAAE,KAAK,EAAC,EAAE,KAAK,GACzB,OAAO,CAAC,KAAK,CAAC,GAAG,IAAI;IAWxB,MAAM,IAAI,GAAG,CAAC,OAAO;CAItB"}
1
+ {"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../../../../../../packages/react-intl/src/components/provider.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EACL,mBAAmB,EAGpB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAC,UAAU,EAAE,SAAS,EAAC,MAAM,UAAU,CAAC;AAC/C,OAAO,EAEL,SAAS,EAET,YAAY,EAEb,MAAM,gBAAgB,CAAC;AAWxB,UAAU,KAAK;IACb;;OAEG;IACH,KAAK,EAAE,SAAS,CAAC;IACjB;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;;;OAIG;IACH,UAAU,EAAE,kBAAkB,CAAC;CAChC;AAED,oBAAY,kBAAkB,GAAG,IAAI,CACnC,UAAU,EACV,MAAM,OAAO,mBAAmB,CACjC,GACC,OAAO,CAAC,OAAO,mBAAmB,CAAC,CAAC;AA+DtC;;;;GAIG;AACH,eAAO,MAAM,UAAU,EAAE,YAAY,CACnC,KAAK,CAAC,SAAS,EACf,kBAAkB,EAClB,SAAS,CAkCV,CAAC;AAEF,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,KAAK,CAAC,aAAa,CAG3D,KAAK,CAAC,iBAAiB,CAAC,kBAAkB,CAAC,EAC3C,KAAK,CACN;IACC,MAAM,CAAC,WAAW,SAAkB;IACpC,MAAM,CAAC,YAAY,2HAAuB;IAC1C,OAAO,CAAC,KAAK,CAAgC;IAC7C,KAAK,EAAE,KAAK,CAIV;IAEF,MAAM,CAAC,wBAAwB,CAC7B,KAAK,EAAE,kBAAkB,EACzB,EAAC,UAAU,EAAE,KAAK,EAAC,EAAE,KAAK,GACzB,OAAO,CAAC,KAAK,CAAC,GAAG,IAAI;IAWxB,MAAM,IAAI,GAAG,CAAC,OAAO;CAItB"}
@@ -53,10 +53,10 @@ var formatMessage = function (config, formatters, descriptor, rawValues) {
53
53
  * @param config intl config
54
54
  * @param cache cache for formatter instances to prevent memory leak
55
55
  */
56
- exports.createIntl = function (_a, cache) {
56
+ var createIntl = function (_a, cache) {
57
57
  var rawDefaultRichTextElements = _a.defaultRichTextElements, config = tslib_1.__rest(_a, ["defaultRichTextElements"]);
58
58
  var defaultRichTextElements = assignUniqueKeysToFormatXMLElementFnArgument(rawDefaultRichTextElements);
59
- var coreIntl = intl_1.createIntl(tslib_1.__assign(tslib_1.__assign({}, utils_1.DEFAULT_INTL_CONFIG), config), cache);
59
+ var coreIntl = intl_1.createIntl(tslib_1.__assign(tslib_1.__assign(tslib_1.__assign({}, utils_1.DEFAULT_INTL_CONFIG), config), { defaultRichTextElements: defaultRichTextElements }), cache);
60
60
  return tslib_1.__assign(tslib_1.__assign({}, coreIntl), { formatMessage: formatMessage.bind(null, {
61
61
  locale: coreIntl.locale,
62
62
  timeZone: coreIntl.timeZone,
@@ -68,6 +68,7 @@ exports.createIntl = function (_a, cache) {
68
68
  defaultRichTextElements: defaultRichTextElements,
69
69
  }, coreIntl.formatters) });
70
70
  };
71
+ exports.createIntl = createIntl;
71
72
  var IntlProvider = /** @class */ (function (_super) {
72
73
  tslib_1.__extends(IntlProvider, _super);
73
74
  function IntlProvider() {