react-intl 5.8.1 → 5.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
 
2
- // /home/longlho/.cache/bazel/_bazel_longlho/576c18efaac10246ec115c72af79fca6/sandbox/linux-sandbox/24/execroot/formatjs/node_modules/@bazel/typescript/internal/ts_project_options_validator.js checked attributes for //packages/react-intl:dist-base
2
+ // /home/longlho/.cache/bazel/_bazel_longlho/576c18efaac10246ec115c72af79fca6/sandbox/linux-sandbox/3267/execroot/formatjs/node_modules/@bazel/typescript/internal/ts_project_options_validator.js checked attributes for //packages/react-intl:dist-base
3
3
  // composite: false
4
4
  // declaration: true
5
5
  // declaration_map: true
@@ -1,5 +1,5 @@
1
1
 
2
- // /home/longlho/.cache/bazel/_bazel_longlho/576c18efaac10246ec115c72af79fca6/sandbox/linux-sandbox/16/execroot/formatjs/node_modules/@bazel/typescript/internal/ts_project_options_validator.js checked attributes for //packages/react-intl:dist-esm
2
+ // /home/longlho/.cache/bazel/_bazel_longlho/576c18efaac10246ec115c72af79fca6/sandbox/linux-sandbox/3260/execroot/formatjs/node_modules/@bazel/typescript/internal/ts_project_options_validator.js checked attributes for //packages/react-intl:dist-esm
3
3
  // composite: false
4
4
  // declaration: true
5
5
  // declaration_map: true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-intl",
3
- "version": "5.8.1",
3
+ "version": "5.8.2",
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.2.1",
132
- "@formatjs/intl": "^1.3.1",
133
- "@formatjs/intl-displaynames": "^3.3.7",
134
- "@formatjs/intl-listformat": "^4.2.6",
135
- "@formatjs/intl-relativetimeformat": "^7.2.6",
131
+ "@formatjs/ecma402-abstract": "^1.2.2",
132
+ "@formatjs/intl": "^1.3.2",
133
+ "@formatjs/intl-displaynames": "^3.3.8",
134
+ "@formatjs/intl-listformat": "^4.2.7",
135
+ "@formatjs/intl-relativetimeformat": "^7.2.7",
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.7",
140
- "intl-messageformat-parser": "^6.0.6",
139
+ "intl-messageformat": "^9.3.8",
140
+ "intl-messageformat-parser": "^6.0.7",
141
141
  "shallow-equal": "^1.2.1"
142
142
  },
143
143
  "peerDependencies": {
@@ -1265,7 +1265,6 @@
1265
1265
  ];
1266
1266
  function formatDisplayName(_a, getDisplayNames, value, options) {
1267
1267
  var locale = _a.locale, onError = _a.onError;
1268
- if (options === void 0) { options = {}; }
1269
1268
  var DisplayNames = Intl.DisplayNames;
1270
1269
  if (!DisplayNames) {
1271
1270
  onError(new FormatError("Intl.DisplayNames is not available in this environment.\nTry polyfilling it using \"@formatjs/intl-displaynames\"\n", "MISSING_INTL_API" /* MISSING_INTL_API */));
@@ -1,4 +1,4 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react")):"function"==typeof define&&define.amd?define(["exports","react"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).ReactIntl={},e.React)}(this,(function(e,t){"use strict";function r(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var n=r(t);function o(e,t,r){if(void 0===r&&(r=Error),!e)throw new r(t)}var a="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function i(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}var u=i((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}}})),l=i((function(e,t){var r=a&&a.__createBinding||(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]}),n=a&&a.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.parse=void 0,n(u,t),t.parse=function o(){throw new Error("You're trying to format an uncompiled message with react-intl without parser, please import from 'react-int' instead")}}));function s(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 f(e,t,r,n,o){return r.bind(t,e,n,o)}function m(e,t){return f(e,this,1===e.length?s:c,t.cache.create(),t.serializer)}function p(){return JSON.stringify(arguments)}function d(){this.cache=Object.create(null)}d.prototype.has=function(e){return e in this.cache},d.prototype.get=function(e){return this.cache[e]},d.prototype.set=function(e,t){this.cache[e]=t};var y={create:function e(){return new d}},v=function g(e,t){return(t&&t.strategy?t.strategy:m)(e,{cache:t&&t.cache?t.cache:y,serializer:t&&t.serializer?t.serializer:p})},h={variadic:function b(e,t){return f(e,this,c,t.cache.create(),t.serializer)},monadic:function O(e,t){return f(e,this,s,t.cache.create(),t.serializer)}};v.strategies=h;var T,E,I=Object.freeze(Object.assign(Object.create(null),v,{default:v,strategies:h})),P=(T=function(e,t){return(T=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}T(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(E||(E={}));var w,S=function(e){function t(t,r,n){var o=e.call(this,t)||this;return o.code=r,o.originalMessage=n,o}return P(t,e),t.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},t}(Error),_=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 P(t,e),t}(S),N=function(e){function t(t,r,n){return e.call(this,'Value for "'+t+'" must be of type '+r,"INVALID_VALUE",n)||this}return P(t,e),t}(S),j=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 P(t,e),t}(S);function F(e){return"function"==typeof e}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(w||(w={}));var R=function(){return(R=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},D=function(){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{create:function(){return{has:function(t){return t in e},get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}var A,L=v||I,C=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 s=[],c=0,f=t;c<f.length;c++){var m=f[c];if(l.isLiteralElement(m))s.push({type:0,value:m.value});else if(l.isPoundElement(m))"number"==typeof i&&s.push({type:0,value:n.getNumberFormat(r).format(i)});else{var p=m.value;if(!a||!(p in a))throw new j(p,u);var d=a[p];if(l.isArgumentElement(m))d&&"string"!=typeof d&&"number"!=typeof d||(d="string"==typeof d||"number"==typeof d?String(d):""),s.push({type:"string"==typeof d?0:1,value:d});else if(l.isDateElement(m)){var y="string"==typeof m.style?o.date[m.style]:l.isDateTimeSkeleton(m.style)?m.style.parsedOptions:void 0;s.push({type:0,value:n.getDateTimeFormat(r,y).format(d)})}else if(l.isTimeElement(m))y="string"==typeof m.style?o.time[m.style]:l.isDateTimeSkeleton(m.style)?m.style.parsedOptions:void 0,s.push({type:0,value:n.getDateTimeFormat(r,y).format(d)});else if(l.isNumberElement(m))y="string"==typeof m.style?o.number[m.style]:l.isNumberSkeleton(m.style)?m.style.parsedOptions:void 0,s.push({type:0,value:n.getNumberFormat(r,y).format(d)});else{if(l.isTagElement(m)){var v=m.children,g=m.value,h=a[g];if(!F(h))throw new N(g,"function",u);var b=h(e(v,r,n,o,a,i).map((function(e){return e.value})));Array.isArray(b)||(b=[b]),s.push.apply(s,b.map((function(e){return{type:"string"==typeof e?0:1,value:e}})))}if(l.isSelectElement(m)){if(!(O=m.options[d]||m.options.other))throw new _(m.value,d,Object.keys(m.options),u);s.push.apply(s,e(O.value,r,n,o,a))}else if(l.isPluralElement(m)){var O;if(!(O=m.options["="+d])){if(!Intl.PluralRules)throw new S('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:m.pluralType}).select(d-(m.offset||0));O=m.options[T]||m.options.other}if(!O)throw new _(m.value,d,Object.keys(m.options),u);s.push.apply(s,e(O.value,r,n,o,a,d-(m.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}),[])}(s)}(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 i(e,t){return t?Object.keys(e).reduce((function(r,n){return r[n]=function o(e,t){return t?R(R(R({},e||{}),t||{}),Object.keys(e).reduce((function(r,n){return r[n]=R(R({},e[n]),t[n]||{}),r}),{})):e}(e[n],t[n]),r}),R({},e)):e}(e.formats,n),this.locales=r,this.formatters=o&&o.formatters||function u(e){return void 0===e&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:L((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,D([void 0],t)))}),{cache:M(e.number),strategy:L.strategies.variadic}),getDateTimeFormat:L((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,D([void 0],t)))}),{cache:M(e.dateTime),strategy:L.strategies.variadic}),getPluralRules:L((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,D([void 0],t)))}),{cache:M(e.pluralRules),strategy:L.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}(),x=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();(A=e.ReactIntlErrorCode||(e.ReactIntlErrorCode={})).FORMAT_ERROR="FORMAT_ERROR",A.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",A.INVALID_CONFIG="INVALID_CONFIG",A.MISSING_DATA="MISSING_DATA",A.MISSING_TRANSLATION="MISSING_TRANSLATION";var k=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 x(t,e),t}(Error),$=function(e){function t(t,r){return e.call(this,"UNSUPPORTED_FORMATTER",t,r)||this}return x(t,e),t}(k),U=function(e){function t(t,r){return e.call(this,"INVALID_CONFIG",t,r)||this}return x(t,e),t}(k),V=function(e){function t(t,r){return e.call(this,"MISSING_DATA",t,r)||this}return x(t,e),t}(k),G=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 x(t,e),t}(k),z=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 x(t,e),t}(k),Z=function(){return(Z=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},Y=function(){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 q(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 K={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},onError:function(e){}};function W(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 B=v||I;function H(e,t,r,n){var o,a=e&&e[t];if(a&&(o=a[r]),o)return o;n(new $("No "+t+" format named: "+r))}var J=function(){return(J=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function Q(e,t){return Object.keys(e).reduce((function(r,n){return r[n]=J({timeZone:t},e[n]),r}),{})}function X(e,t){return Object.keys(J(J({},e),t)).reduce((function(r,n){return r[n]=J(J({},e[n]||{}),t[n]||{}),r}),{})}function ee(e,t){if(!t)return e;var r=C.formats;return J(J(J({},r),e),{date:X(Q(r.date,t),Q(e.date||{},t)),time:X(Q(r.time,t),Q(e.time||{},t))})}function te(e,t,r,n){var a=e.locale,i=e.formats,u=e.messages,s=e.defaultLocale,c=e.defaultFormats,f=e.onError,m=e.timeZone,p=e.defaultRichTextElements;void 0===r&&(r={id:""});var d=r.id,y=r.defaultMessage;o(!!d,"[@formatjs/intl] An `id` must be provided to format a message.");var v=String(d),g=u&&Object.prototype.hasOwnProperty.call(u,v)&&u[v];if(Array.isArray(g)&&1===g.length&&g[0].type===l.TYPE.literal)return g[0].value;if(!n&&g&&"string"==typeof g&&p&&console.error('[@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&&g&&"string"==typeof g&&!p)return g.replace(/'\{(.*?)\}'/gi,"{$1}");if(n=J(J({},p),n||{}),i=ee(i,m),c=ee(c,m),!g){if((!y||a&&a.toLowerCase()!==s.toLowerCase())&&f(new z(r,a)),y)try{return t.getMessageFormat(y,s,c).format(n)}catch(e){return f(new G('Error formatting default message for: "'+v+'", rendering default message verbatim',a,r,e)),"string"==typeof y?y:v}return v}try{return t.getMessageFormat(g,a,i,{formatters:t}).format(n)}catch(e){f(new G('Error formatting message: "'+v+'", using '+(y?"default message":"id")+" as fallback.",a,r,e))}if(y)try{return t.getMessageFormat(y,s,c).format(n)}catch(e){f(new G('Error formatting the default message for: "'+v+'", rendering message verbatim',a,r,e))}return"string"==typeof g?g:"string"==typeof y?y:v}var re=function(){return(re=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},ne=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","fractionalSecondDigits","calendar","numberingSystem"];function oe(e,t,r,n){var o=e.locale,a=e.formats,i=e.onError,u=e.timeZone;void 0===n&&(n={});var l=n.format,s=re(re({},u&&{timeZone:u}),l&&H(a,t,l,i)),c=q(n,ne,s);return"time"!==t||c.hour||c.minute||c.second||(c=re(re({},c),{hour:"numeric",minute:"numeric"})),r(o,c)}function ae(e,t,r,n){void 0===n&&(n={});var o="string"==typeof r?new Date(r||0):r;try{return oe(e,"date",t,n).format(o)}catch(t){e.onError(new k("FORMAT_ERROR","Error formatting date.",t))}return String(o)}function ie(e,t,r,n){void 0===n&&(n={});var o="string"==typeof r?new Date(r||0):r;try{return oe(e,"time",t,n).format(o)}catch(t){e.onError(new k("FORMAT_ERROR","Error formatting time.",t))}return String(o)}function ue(e,t,r,n){void 0===n&&(n={});var o="string"==typeof r?new Date(r||0):r;try{return oe(e,"date",t,n).formatToParts(o)}catch(t){e.onError(new k("FORMAT_ERROR","Error formatting date.",t))}return[]}function le(e,t,r,n){void 0===n&&(n={});var o="string"==typeof r?new Date(r||0):r;try{return oe(e,"time",t,n).formatToParts(o)}catch(t){e.onError(new k("FORMAT_ERROR","Error formatting time.",t))}return[]}var se=["localeMatcher","style","type","fallback"];function ce(e,t,r,n){var o=e.locale,a=e.onError;void 0===n&&(n={}),Intl.DisplayNames||a(new S('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',"MISSING_INTL_API"));var i=q(n,se);try{return t(o,i).of(r)}catch(e){a(new k("FORMAT_ERROR","Error formatting display name.",e))}}var fe=["localeMatcher","type","style"],me=Date.now();function pe(e,t,r,n){var o=e.locale,a=e.onError;void 0===n&&(n={}),Intl.ListFormat||a(new S('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',"MISSING_INTL_API"));var i=q(n,fe);try{var u={},l=r.map((function(e,t){if("object"==typeof e){var r=function n(e){return me+"_"+e+"_"+me}(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 k("FORMAT_ERROR","Error formatting list.",e))}return r}var de=["localeMatcher","type"];function ye(e,t,r,n){var o=e.locale,a=e.onError;void 0===n&&(n={}),Intl.PluralRules||a(new S('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',"MISSING_INTL_API"));var i=q(n,de);try{return t(o,i).select(r)}catch(e){a(new G("Error formatting plural.",e))}return"other"}var ve=["numeric","style"];function ge(e,t,r,n,o){void 0===o&&(o={}),n||(n="second"),Intl.RelativeTimeFormat||e.onError(new S('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&&H(e.formats,"relative",o,e.onError)||{};return t(n,q(r,ve,a))}(e,t,o).format(r,n)}catch(t){e.onError(new G("Error formatting relative time.",t))}return String(r)}var he=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay"];function be(e,t,r){var n=e.locale;void 0===r&&(r={});var o=r.format,a=o&&H(e.formats,"number",o,e.onError)||{};return t(n,q(r,he,a))}function Oe(e,t,r,n){void 0===n&&(n={});try{return be(e,t,n).format(r)}catch(t){e.onError(new k("FORMAT_ERROR","Error formatting number.",t))}return String(r)}function Te(e,t,r,n){void 0===n&&(n={});try{return be(e,t,n).formatToParts(r)}catch(t){e.onError(new k("FORMAT_ERROR","Error formatting number.",t))}return[]}var Ee=function(){return(Ee=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},Ie=function(){return(Ie=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function Pe(e){o(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var we=Ie(Ie({},K),{textComponent:t.Fragment}),Se="function"==typeof Symbol&&Symbol.for,_e=Se?Symbol.for("react.element"):60103,Ne=Se?Symbol.for("react.portal"):60106,je=Se?Symbol.for("react.fragment"):60107,Fe=Se?Symbol.for("react.strict_mode"):60108,Re=Se?Symbol.for("react.profiler"):60114,De=Se?Symbol.for("react.provider"):60109,Me=Se?Symbol.for("react.context"):60110,Ae=Se?Symbol.for("react.async_mode"):60111,Le=Se?Symbol.for("react.concurrent_mode"):60111,Ce=Se?Symbol.for("react.forward_ref"):60112,xe=Se?Symbol.for("react.suspense"):60113,ke=Se?Symbol.for("react.suspense_list"):60120,$e=Se?Symbol.for("react.memo"):60115,Ue=Se?Symbol.for("react.lazy"):60116,Ve=Se?Symbol.for("react.block"):60121,Ge=Se?Symbol.for("react.fundamental"):60117,ze=Se?Symbol.for("react.responder"):60118,Ze=Se?Symbol.for("react.scope"):60119;function Ye(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case _e:switch(e=e.type){case Ae:case Le:case je:case Re:case Fe:case xe:return e;default:switch(e=e&&e.$$typeof){case Me:case Ce:case Ue:case $e:case De:return e;default:return t}}case Ne:return t}}}function qe(e){return Ye(e)===Le}var Ke={AsyncMode:Ae,ConcurrentMode:Le,ContextConsumer:Me,ContextProvider:De,Element:_e,ForwardRef:Ce,Fragment:je,Lazy:Ue,Memo:$e,Portal:Ne,Profiler:Re,StrictMode:Fe,Suspense:xe,isAsyncMode:function(e){return qe(e)||Ye(e)===Ae},isConcurrentMode:qe,isContextConsumer:function(e){return Ye(e)===Me},isContextProvider:function(e){return Ye(e)===De},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===_e},isForwardRef:function(e){return Ye(e)===Ce},isFragment:function(e){return Ye(e)===je},isLazy:function(e){return Ye(e)===Ue},isMemo:function(e){return Ye(e)===$e},isPortal:function(e){return Ye(e)===Ne},isProfiler:function(e){return Ye(e)===Re},isStrictMode:function(e){return Ye(e)===Fe},isSuspense:function(e){return Ye(e)===xe},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===je||e===Le||e===Re||e===Fe||e===xe||e===ke||"object"==typeof e&&null!==e&&(e.$$typeof===Ue||e.$$typeof===$e||e.$$typeof===De||e.$$typeof===Me||e.$$typeof===Ce||e.$$typeof===Ge||e.$$typeof===ze||e.$$typeof===Ze||e.$$typeof===Ve)},typeOf:Ye},We=i((function(e){e.exports=Ke})),Be={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},He={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Je={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Qe={};function Xe(e){return We.isMemo(e)?Je:Qe[e.$$typeof]||Be}Qe[We.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Qe[We.Memo]=Je;var et=Object.defineProperty,tt=Object.getOwnPropertyNames,rt=Object.getOwnPropertySymbols,nt=Object.getOwnPropertyDescriptor,ot=Object.getPrototypeOf,at=Object.prototype,it=function e(t,r,n){if("string"!=typeof r){if(at){var o=ot(r);o&&o!==at&&e(t,o,n)}var a=tt(r);rt&&(a=a.concat(rt(r)));for(var i=Xe(t),u=Xe(r),l=0;l<a.length;++l){var s=a[l];if(!(He[s]||n&&n[s]||u&&u[s]||i&&i[s])){var c=nt(r,s);try{et(t,s,c)}catch(e){}}}}return t},ut=function(){return(ut=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},lt=it.default||it,st=t.createContext(null),ct=st.Consumer,ft=st.Provider,mt=st;function pt(e,r){var n=r||{},o=n.intlPropName,a=void 0===o?"intl":o,i=n.forwardRef,u=void 0!==i&&i,l=n.enforceContext,s=void 0===l||l,c=function(r){return t.createElement(ct,null,(function(n){var o;s&&Pe(n);var i=((o={})[a]=n,o);return t.createElement(e,ut({},r,i,{ref:u?r.forwardedRef:null}))}))};return c.displayName="injectIntl("+function f(e){return e.displayName||e.name||"Component"}(e)+")",c.WrappedComponent=e,lt(u?t.forwardRef((function(e,r){return t.createElement(c,ut({},e,{forwardedRef:r}))})):c,e)}var dt,yt,vt=function(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};!function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"}(dt||(dt={})),function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"}(yt||(yt={}));var gt=function(e){return t.createElement(mt.Consumer,null,(function(t){Pe(t);var r=e.value,n=e.children,o=vt(e,["value","children"]);return n(t.formatNumberToParts(r,o))}))};function ht(e){var r=function(r){return t.createElement(mt.Consumer,null,(function(t){Pe(t);var n=r.value,o=r.children,a=vt(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=yt[e],r}function bt(e){var r=function(r){return t.createElement(mt.Consumer,null,(function(n){Pe(n);var o=r.value,a=r.children,i=vt(r,["value","children"]),u=n[e](o,i);return"function"==typeof a?a(u):t.createElement(n.textComponent||t.Fragment,null,u)}))};return r.displayName=dt[e],r}gt.displayName="FormattedNumberParts";var Ot=function Tt(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},Et=Object.freeze(Object.assign(Object.create(null),Ot,{default:Ot})),It=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),Pt=function(){return(Pt=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},wt=Ot||Et;function St(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 _t(e){return e?Object.keys(e).reduce((function(r,n){var o=e[n];return r[n]=F(o)?function a(e){return function(r){return e(t.Children.toArray(r))}}
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react")):"function"==typeof define&&define.amd?define(["exports","react"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).ReactIntl={},e.React)}(this,(function(e,t){"use strict";function r(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var n=r(t);function o(e,t,r){if(void 0===r&&(r=Error),!e)throw new r(t)}var a="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function i(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}var u=i((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}}})),l=i((function(e,t){var r=a&&a.__createBinding||(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]}),n=a&&a.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.parse=void 0,n(u,t),t.parse=function o(){throw new Error("You're trying to format an uncompiled message with react-intl without parser, please import from 'react-int' instead")}}));function s(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 f(e,t,r,n,o){return r.bind(t,e,n,o)}function m(e,t){return f(e,this,1===e.length?s:c,t.cache.create(),t.serializer)}function p(){return JSON.stringify(arguments)}function d(){this.cache=Object.create(null)}d.prototype.has=function(e){return e in this.cache},d.prototype.get=function(e){return this.cache[e]},d.prototype.set=function(e,t){this.cache[e]=t};var y={create:function e(){return new d}},v=function g(e,t){return(t&&t.strategy?t.strategy:m)(e,{cache:t&&t.cache?t.cache:y,serializer:t&&t.serializer?t.serializer:p})},h={variadic:function b(e,t){return f(e,this,c,t.cache.create(),t.serializer)},monadic:function O(e,t){return f(e,this,s,t.cache.create(),t.serializer)}};v.strategies=h;var T,E,I=Object.freeze(Object.assign(Object.create(null),v,{default:v,strategies:h})),P=(T=function(e,t){return(T=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}T(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(E||(E={}));var w,S=function(e){function t(t,r,n){var o=e.call(this,t)||this;return o.code=r,o.originalMessage=n,o}return P(t,e),t.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},t}(Error),_=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 P(t,e),t}(S),N=function(e){function t(t,r,n){return e.call(this,'Value for "'+t+'" must be of type '+r,"INVALID_VALUE",n)||this}return P(t,e),t}(S),j=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 P(t,e),t}(S);function F(e){return"function"==typeof e}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(w||(w={}));var R=function(){return(R=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},D=function(){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{create:function(){return{has:function(t){return t in e},get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}var A,L=v||I,C=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 s=[],c=0,f=t;c<f.length;c++){var m=f[c];if(l.isLiteralElement(m))s.push({type:0,value:m.value});else if(l.isPoundElement(m))"number"==typeof i&&s.push({type:0,value:n.getNumberFormat(r).format(i)});else{var p=m.value;if(!a||!(p in a))throw new j(p,u);var d=a[p];if(l.isArgumentElement(m))d&&"string"!=typeof d&&"number"!=typeof d||(d="string"==typeof d||"number"==typeof d?String(d):""),s.push({type:"string"==typeof d?0:1,value:d});else if(l.isDateElement(m)){var y="string"==typeof m.style?o.date[m.style]:l.isDateTimeSkeleton(m.style)?m.style.parsedOptions:void 0;s.push({type:0,value:n.getDateTimeFormat(r,y).format(d)})}else if(l.isTimeElement(m))y="string"==typeof m.style?o.time[m.style]:l.isDateTimeSkeleton(m.style)?m.style.parsedOptions:void 0,s.push({type:0,value:n.getDateTimeFormat(r,y).format(d)});else if(l.isNumberElement(m))y="string"==typeof m.style?o.number[m.style]:l.isNumberSkeleton(m.style)?m.style.parsedOptions:void 0,s.push({type:0,value:n.getNumberFormat(r,y).format(d)});else{if(l.isTagElement(m)){var v=m.children,g=m.value,h=a[g];if(!F(h))throw new N(g,"function",u);var b=h(e(v,r,n,o,a,i).map((function(e){return e.value})));Array.isArray(b)||(b=[b]),s.push.apply(s,b.map((function(e){return{type:"string"==typeof e?0:1,value:e}})))}if(l.isSelectElement(m)){if(!(O=m.options[d]||m.options.other))throw new _(m.value,d,Object.keys(m.options),u);s.push.apply(s,e(O.value,r,n,o,a))}else if(l.isPluralElement(m)){var O;if(!(O=m.options["="+d])){if(!Intl.PluralRules)throw new S('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:m.pluralType}).select(d-(m.offset||0));O=m.options[T]||m.options.other}if(!O)throw new _(m.value,d,Object.keys(m.options),u);s.push.apply(s,e(O.value,r,n,o,a,d-(m.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}),[])}(s)}(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 i(e,t){return t?Object.keys(e).reduce((function(r,n){return r[n]=function o(e,t){return t?R(R(R({},e||{}),t||{}),Object.keys(e).reduce((function(r,n){return r[n]=R(R({},e[n]),t[n]||{}),r}),{})):e}(e[n],t[n]),r}),R({},e)):e}(e.formats,n),this.locales=r,this.formatters=o&&o.formatters||function u(e){return void 0===e&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:L((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,D([void 0],t)))}),{cache:M(e.number),strategy:L.strategies.variadic}),getDateTimeFormat:L((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,D([void 0],t)))}),{cache:M(e.dateTime),strategy:L.strategies.variadic}),getPluralRules:L((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,D([void 0],t)))}),{cache:M(e.pluralRules),strategy:L.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}(),x=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();(A=e.ReactIntlErrorCode||(e.ReactIntlErrorCode={})).FORMAT_ERROR="FORMAT_ERROR",A.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",A.INVALID_CONFIG="INVALID_CONFIG",A.MISSING_DATA="MISSING_DATA",A.MISSING_TRANSLATION="MISSING_TRANSLATION";var k=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 x(t,e),t}(Error),$=function(e){function t(t,r){return e.call(this,"UNSUPPORTED_FORMATTER",t,r)||this}return x(t,e),t}(k),U=function(e){function t(t,r){return e.call(this,"INVALID_CONFIG",t,r)||this}return x(t,e),t}(k),V=function(e){function t(t,r){return e.call(this,"MISSING_DATA",t,r)||this}return x(t,e),t}(k),G=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 x(t,e),t}(k),z=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 x(t,e),t}(k),Z=function(){return(Z=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},Y=function(){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 q(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 K={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},onError:function(e){}};function W(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 B=v||I;function H(e,t,r,n){var o,a=e&&e[t];if(a&&(o=a[r]),o)return o;n(new $("No "+t+" format named: "+r))}var J=function(){return(J=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function Q(e,t){return Object.keys(e).reduce((function(r,n){return r[n]=J({timeZone:t},e[n]),r}),{})}function X(e,t){return Object.keys(J(J({},e),t)).reduce((function(r,n){return r[n]=J(J({},e[n]||{}),t[n]||{}),r}),{})}function ee(e,t){if(!t)return e;var r=C.formats;return J(J(J({},r),e),{date:X(Q(r.date,t),Q(e.date||{},t)),time:X(Q(r.time,t),Q(e.time||{},t))})}function te(e,t,r,n){var a=e.locale,i=e.formats,u=e.messages,s=e.defaultLocale,c=e.defaultFormats,f=e.onError,m=e.timeZone,p=e.defaultRichTextElements;void 0===r&&(r={id:""});var d=r.id,y=r.defaultMessage;o(!!d,"[@formatjs/intl] An `id` must be provided to format a message.");var v=String(d),g=u&&Object.prototype.hasOwnProperty.call(u,v)&&u[v];if(Array.isArray(g)&&1===g.length&&g[0].type===l.TYPE.literal)return g[0].value;if(!n&&g&&"string"==typeof g&&p&&console.error('[@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&&g&&"string"==typeof g&&!p)return g.replace(/'\{(.*?)\}'/gi,"{$1}");if(n=J(J({},p),n||{}),i=ee(i,m),c=ee(c,m),!g){if((!y||a&&a.toLowerCase()!==s.toLowerCase())&&f(new z(r,a)),y)try{return t.getMessageFormat(y,s,c).format(n)}catch(e){return f(new G('Error formatting default message for: "'+v+'", rendering default message verbatim',a,r,e)),"string"==typeof y?y:v}return v}try{return t.getMessageFormat(g,a,i,{formatters:t}).format(n)}catch(e){f(new G('Error formatting message: "'+v+'", using '+(y?"default message":"id")+" as fallback.",a,r,e))}if(y)try{return t.getMessageFormat(y,s,c).format(n)}catch(e){f(new G('Error formatting the default message for: "'+v+'", rendering message verbatim',a,r,e))}return"string"==typeof g?g:"string"==typeof y?y:v}var re=function(){return(re=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},ne=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","fractionalSecondDigits","calendar","numberingSystem"];function oe(e,t,r,n){var o=e.locale,a=e.formats,i=e.onError,u=e.timeZone;void 0===n&&(n={});var l=n.format,s=re(re({},u&&{timeZone:u}),l&&H(a,t,l,i)),c=q(n,ne,s);return"time"!==t||c.hour||c.minute||c.second||(c=re(re({},c),{hour:"numeric",minute:"numeric"})),r(o,c)}function ae(e,t,r,n){void 0===n&&(n={});var o="string"==typeof r?new Date(r||0):r;try{return oe(e,"date",t,n).format(o)}catch(t){e.onError(new k("FORMAT_ERROR","Error formatting date.",t))}return String(o)}function ie(e,t,r,n){void 0===n&&(n={});var o="string"==typeof r?new Date(r||0):r;try{return oe(e,"time",t,n).format(o)}catch(t){e.onError(new k("FORMAT_ERROR","Error formatting time.",t))}return String(o)}function ue(e,t,r,n){void 0===n&&(n={});var o="string"==typeof r?new Date(r||0):r;try{return oe(e,"date",t,n).formatToParts(o)}catch(t){e.onError(new k("FORMAT_ERROR","Error formatting date.",t))}return[]}function le(e,t,r,n){void 0===n&&(n={});var o="string"==typeof r?new Date(r||0):r;try{return oe(e,"time",t,n).formatToParts(o)}catch(t){e.onError(new k("FORMAT_ERROR","Error formatting time.",t))}return[]}var se=["localeMatcher","style","type","fallback"];function ce(e,t,r,n){var o=e.locale,a=e.onError;Intl.DisplayNames||a(new S('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',"MISSING_INTL_API"));var i=q(n,se);try{return t(o,i).of(r)}catch(e){a(new k("FORMAT_ERROR","Error formatting display name.",e))}}var fe=["localeMatcher","type","style"],me=Date.now();function pe(e,t,r,n){var o=e.locale,a=e.onError;void 0===n&&(n={}),Intl.ListFormat||a(new S('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',"MISSING_INTL_API"));var i=q(n,fe);try{var u={},l=r.map((function(e,t){if("object"==typeof e){var r=function n(e){return me+"_"+e+"_"+me}(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 k("FORMAT_ERROR","Error formatting list.",e))}return r}var de=["localeMatcher","type"];function ye(e,t,r,n){var o=e.locale,a=e.onError;void 0===n&&(n={}),Intl.PluralRules||a(new S('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',"MISSING_INTL_API"));var i=q(n,de);try{return t(o,i).select(r)}catch(e){a(new G("Error formatting plural.",e))}return"other"}var ve=["numeric","style"];function ge(e,t,r,n,o){void 0===o&&(o={}),n||(n="second"),Intl.RelativeTimeFormat||e.onError(new S('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&&H(e.formats,"relative",o,e.onError)||{};return t(n,q(r,ve,a))}(e,t,o).format(r,n)}catch(t){e.onError(new G("Error formatting relative time.",t))}return String(r)}var he=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay"];function be(e,t,r){var n=e.locale;void 0===r&&(r={});var o=r.format,a=o&&H(e.formats,"number",o,e.onError)||{};return t(n,q(r,he,a))}function Oe(e,t,r,n){void 0===n&&(n={});try{return be(e,t,n).format(r)}catch(t){e.onError(new k("FORMAT_ERROR","Error formatting number.",t))}return String(r)}function Te(e,t,r,n){void 0===n&&(n={});try{return be(e,t,n).formatToParts(r)}catch(t){e.onError(new k("FORMAT_ERROR","Error formatting number.",t))}return[]}var Ee=function(){return(Ee=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},Ie=function(){return(Ie=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function Pe(e){o(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var we=Ie(Ie({},K),{textComponent:t.Fragment}),Se="function"==typeof Symbol&&Symbol.for,_e=Se?Symbol.for("react.element"):60103,Ne=Se?Symbol.for("react.portal"):60106,je=Se?Symbol.for("react.fragment"):60107,Fe=Se?Symbol.for("react.strict_mode"):60108,Re=Se?Symbol.for("react.profiler"):60114,De=Se?Symbol.for("react.provider"):60109,Me=Se?Symbol.for("react.context"):60110,Ae=Se?Symbol.for("react.async_mode"):60111,Le=Se?Symbol.for("react.concurrent_mode"):60111,Ce=Se?Symbol.for("react.forward_ref"):60112,xe=Se?Symbol.for("react.suspense"):60113,ke=Se?Symbol.for("react.suspense_list"):60120,$e=Se?Symbol.for("react.memo"):60115,Ue=Se?Symbol.for("react.lazy"):60116,Ve=Se?Symbol.for("react.block"):60121,Ge=Se?Symbol.for("react.fundamental"):60117,ze=Se?Symbol.for("react.responder"):60118,Ze=Se?Symbol.for("react.scope"):60119;function Ye(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case _e:switch(e=e.type){case Ae:case Le:case je:case Re:case Fe:case xe:return e;default:switch(e=e&&e.$$typeof){case Me:case Ce:case Ue:case $e:case De:return e;default:return t}}case Ne:return t}}}function qe(e){return Ye(e)===Le}var Ke={AsyncMode:Ae,ConcurrentMode:Le,ContextConsumer:Me,ContextProvider:De,Element:_e,ForwardRef:Ce,Fragment:je,Lazy:Ue,Memo:$e,Portal:Ne,Profiler:Re,StrictMode:Fe,Suspense:xe,isAsyncMode:function(e){return qe(e)||Ye(e)===Ae},isConcurrentMode:qe,isContextConsumer:function(e){return Ye(e)===Me},isContextProvider:function(e){return Ye(e)===De},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===_e},isForwardRef:function(e){return Ye(e)===Ce},isFragment:function(e){return Ye(e)===je},isLazy:function(e){return Ye(e)===Ue},isMemo:function(e){return Ye(e)===$e},isPortal:function(e){return Ye(e)===Ne},isProfiler:function(e){return Ye(e)===Re},isStrictMode:function(e){return Ye(e)===Fe},isSuspense:function(e){return Ye(e)===xe},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===je||e===Le||e===Re||e===Fe||e===xe||e===ke||"object"==typeof e&&null!==e&&(e.$$typeof===Ue||e.$$typeof===$e||e.$$typeof===De||e.$$typeof===Me||e.$$typeof===Ce||e.$$typeof===Ge||e.$$typeof===ze||e.$$typeof===Ze||e.$$typeof===Ve)},typeOf:Ye},We=i((function(e){e.exports=Ke})),Be={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},He={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Je={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Qe={};function Xe(e){return We.isMemo(e)?Je:Qe[e.$$typeof]||Be}Qe[We.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Qe[We.Memo]=Je;var et=Object.defineProperty,tt=Object.getOwnPropertyNames,rt=Object.getOwnPropertySymbols,nt=Object.getOwnPropertyDescriptor,ot=Object.getPrototypeOf,at=Object.prototype,it=function e(t,r,n){if("string"!=typeof r){if(at){var o=ot(r);o&&o!==at&&e(t,o,n)}var a=tt(r);rt&&(a=a.concat(rt(r)));for(var i=Xe(t),u=Xe(r),l=0;l<a.length;++l){var s=a[l];if(!(He[s]||n&&n[s]||u&&u[s]||i&&i[s])){var c=nt(r,s);try{et(t,s,c)}catch(e){}}}}return t},ut=function(){return(ut=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},lt=it.default||it,st=t.createContext(null),ct=st.Consumer,ft=st.Provider,mt=st;function pt(e,r){var n=r||{},o=n.intlPropName,a=void 0===o?"intl":o,i=n.forwardRef,u=void 0!==i&&i,l=n.enforceContext,s=void 0===l||l,c=function(r){return t.createElement(ct,null,(function(n){var o;s&&Pe(n);var i=((o={})[a]=n,o);return t.createElement(e,ut({},r,i,{ref:u?r.forwardedRef:null}))}))};return c.displayName="injectIntl("+function f(e){return e.displayName||e.name||"Component"}(e)+")",c.WrappedComponent=e,lt(u?t.forwardRef((function(e,r){return t.createElement(c,ut({},e,{forwardedRef:r}))})):c,e)}var dt,yt,vt=function(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};!function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"}(dt||(dt={})),function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"}(yt||(yt={}));var gt=function(e){return t.createElement(mt.Consumer,null,(function(t){Pe(t);var r=e.value,n=e.children,o=vt(e,["value","children"]);return n(t.formatNumberToParts(r,o))}))};function ht(e){var r=function(r){return t.createElement(mt.Consumer,null,(function(t){Pe(t);var n=r.value,o=r.children,a=vt(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=yt[e],r}function bt(e){var r=function(r){return t.createElement(mt.Consumer,null,(function(n){Pe(n);var o=r.value,a=r.children,i=vt(r,["value","children"]),u=n[e](o,i);return"function"==typeof a?a(u):t.createElement(n.textComponent||t.Fragment,null,u)}))};return r.displayName=dt[e],r}gt.displayName="FormattedNumberParts";var Ot=function Tt(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},Et=Object.freeze(Object.assign(Object.create(null),Ot,{default:Ot})),It=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),Pt=function(){return(Pt=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},wt=Ot||Et;function St(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 _t(e){return e?Object.keys(e).reduce((function(r,n){var o=e[n];return r[n]=F(o)?function a(e){return function(r){return e(t.Children.toArray(r))}}
2
2
  /** @license React v16.13.1
3
3
  * react-is.production.min.js
4
4
  *
package/react-intl.umd.js CHANGED
@@ -4674,7 +4674,6 @@
4674
4674
  ];
4675
4675
  function formatDisplayName(_a, getDisplayNames, value, options) {
4676
4676
  var locale = _a.locale, onError = _a.onError;
4677
- if (options === void 0) { options = {}; }
4678
4677
  var DisplayNames = Intl.DisplayNames;
4679
4678
  if (!DisplayNames) {
4680
4679
  onError(new FormatError("Intl.DisplayNames is not available in this environment.\nTry polyfilling it using \"@formatjs/intl-displaynames\"\n", "MISSING_INTL_API" /* MISSING_INTL_API */));
@@ -1,4 +1,4 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react")):"function"==typeof define&&define.amd?define(["exports","react"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).ReactIntl={},e.React)}(this,(function(e,t){"use strict";function r(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var n,o,a=r(t);function i(e,t,r){if(void 0===r&&(r=Error),!e)throw new r(t)}function u(e){return e.type===n.literal}function c(e){return e.type===n.argument}function s(e){return e.type===n.number}function l(e){return e.type===n.date}function f(e){return e.type===n.time}function p(e){return e.type===n.select}function m(e){return e.type===n.plural}function d(e){return e.type===n.pound}function h(e){return e.type===n.tag}function y(e){return!(!e||"object"!=typeof e||0!==e.type)}function g(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"}(n||(n={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(o||(o={}));var v=function(){return(v=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},b=/(?:[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,O=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,w=/^(@+)?(\+|#+)?$/g;function A(e){var t={};return e.replace(w,(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 T(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 F(e){return T(e)||{}}function E(e){for(var t={},r=0,n=e;r<n.length;r++){var o=n[r];switch(o.stem){case"percent":t.style="percent";continue;case"currency":t.style="currency",t.currency=o.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=o.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=v(v(v({},t),{notation:"scientific"}),o.options.reduce((function(e,t){return v(v({},e),F(t))}),{}));continue;case"engineering":t=v(v(v({},t),{notation:"engineering"}),o.options.reduce((function(e,t){return v(v({},e),F(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(O.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(O,(function(e,r,n,o,a,i){return"*"===n?t.minimumFractionDigits=r.length:o&&"#"===o[0]?t.maximumFractionDigits=o.length:a&&i?(t.minimumFractionDigits=a.length,t.maximumFractionDigits=a.length+i.length):(t.minimumFractionDigits=r.length,t.maximumFractionDigits=r.length),""})),o.options.length&&(t=v(v({},t),A(o.options[0])))}else if(w.test(o.stem))t=v(v({},t),A(o.stem));else{var a=T(o.stem);a&&(t=v(v({},t),a))}}return t}var I,S=(I=function(e,t){return(I=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}I(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),j=function(){return(j=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},P=function(e){function t(r,n,o,a){var i=e.call(this)||this;return i.message=r,i.expected=n,i.found=o,i.location=a,i.name="SyntaxError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(i,t),i}return S(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 o(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 a(e){switch(e.type){case"literal":return'"'+n(e.text)+'"';case"class":var t=e.parts.map((function(e){return Array.isArray(e)?o(e[0])+"-"+o(e[1]):o(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(a);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),R=function D(e,t){t=void 0!==t?t:{};var r,o={},a={start:Re},i=Re,u=Fe("<",!1),c=function(e){return e.join("")},s=Fe("#",!1),l=Ie("tagElement"),f=Fe("/>",!1),p=Fe(">",!1),m=Fe("</",!1),d=Ie("argumentElement"),h=Fe("{",!1),y=Fe("}",!1),g=Ie("numberSkeletonId"),v=/^['\/{}]/,O=Ee(["'","/","{","}"],!1,!1),w={type:"any"},A=Ie("numberSkeletonTokenOption"),T=Fe("/",!1),F=Ie("numberSkeletonToken"),I=Fe("::",!1),S=function(e){return rt.pop(),e.replace(/\s*$/,"")},R=Fe(",",!1),D=Fe("number",!1),_=function(e,t,r){return j({type:"number"===t?n.number:"date"===t?n.date:n.time,style:r&&r[2],value:e},ot())},N=Fe("'",!1),C=/^[^']/,x=Ee(["'"],!0,!1),M=/^[^a-zA-Z'{}]/,k=Ee([["a","z"],["A","Z"],"'","{","}"],!0,!1),L=/^[a-zA-Z]/,$=Ee([["a","z"],["A","Z"]],!1,!1),U=Fe("date",!1),z=Fe("time",!1),V=Fe("plural",!1),Z=Fe("selectordinal",!1),G=Fe("offset:",!1),B=Fe("select",!1),q=Fe("=",!1),H=Ie("whitespace"),W=/^[\t-\r \x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,J=Ee([["\t","\r"]," ","…"," "," ",[" "," "],"\u2028","\u2029"," "," "," "],!1,!1),K=Ie("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=Ee([["!","/"],[":","@"],["[","^"],"`",["{","~"],["¡","§"],"©","«","¬","®","°","±","¶","»","¿","×","÷",["‐","‧"],["‰","‾"],["⁁","⁓"],["⁕","⁞"],["←","⑟"],["─","❵"],["➔","⯿"],["⸀","⹿"],["、","〃"],["〈","〠"],"〰","﴾","﴿","﹅","﹆"],!1,!1),Y=Ie("optional whitespace"),ee=Ie("number"),te=Fe("-",!1),re=Ie("double apostrophes"),ne=Fe("''",!1),oe=Fe("\n",!1),ae=Ie("argNameOrNumber"),ie=Ie("validTag"),ue=Ie("argNumber"),ce=Fe("0",!1),se=/^[1-9]/,le=Ee([["1","9"]],!1,!1),fe=/^[0-9]/,pe=Ee([["0","9"]],!1,!1),me=Ie("argName"),de=Ie("tagName"),he=0,ye=0,ge=[{line:1,column:1}],ve=0,be=[],Oe=0;if(void 0!==t.startRule){if(!(t.startRule in a))throw new Error("Can't start parsing from rule \""+t.startRule+'".');i=a[t.startRule]}function we(){return e.substring(ye,he)}function Ae(){return je(ye,he)}function Te(e,t){throw function r(e,t){return new P(e,[],"",t)}(e,t=void 0!==t?t:je(ye,he))}function Fe(e,t){return{type:"literal",text:e,ignoreCase:t}}function Ee(e,t,r){return{type:"class",parts:e,inverted:t,ignoreCase:r}}function Ie(e){return{type:"other",description:e}}function Se(t){var r,n=ge[t];if(n)return n;for(r=t-1;!ge[r];)r--;for(n={line:(n=ge[r]).line,column:n.column};r<t;)10===e.charCodeAt(r)?(n.line++,n.column=1):n.column++,r++;return ge[t]=n,n}function je(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 Pe(e){he<ve||(he>ve&&(ve=he,be=[]),be.push(e))}function Re(){return De()}function De(){var e,t;for(e=[],t=_e();t!==o;)e.push(t),t=_e();return e}function _e(){var t,r;return t=he,ye=he,(at?o:void 0)!==o&&(r=function a(){var e,t,r,a,i,u,c;return Oe++,(e=xe())===o&&(e=he,(t=Me())!==o&&(r=De())!==o&&(a=ke())!==o?(ye=e,u=r,(i=t)!==(c=a)&&Te('Mismatch tag "'+i+'" !== "'+c+'"',Ae()),e=t=j({type:n.tag,value:i,children:u},ot())):(he=e,e=o)),Oe--,e===o&&(t=o,0===Oe&&Pe(l)),e}())!==o?(ye=t,t=r):(he=t,t=o),t===o&&(t=function i(){var e,t;return e=he,(t=Ne())!==o&&(ye=e,t=j({type:n.literal,value:t},ot())),t}())===o&&(t=function u(){var t,r,a,i;return Oe++,t=he,123===e.charCodeAt(he)?(r="{",he++):(r=o,0===Oe&&Pe(h)),r!==o&&He()!==o&&(a=Xe())!==o&&He()!==o?(125===e.charCodeAt(he)?(i="}",he++):(i=o,0===Oe&&Pe(y)),i!==o?(ye=t,t=r=j({type:n.argument,value:a},ot())):(he=t,t=o)):(he=t,t=o),Oe--,t===o&&(r=o,0===Oe&&Pe(d)),t}())===o&&(t=function c(){var t;return(t=function r(){var t,r,n,a,i,u,c,s,l;return t=he,123===e.charCodeAt(he)?(r="{",he++):(r=o,0===Oe&&Pe(h)),r!==o&&He()!==o&&(n=Xe())!==o&&He()!==o?(44===e.charCodeAt(he)?(a=",",he++):(a=o,0===Oe&&Pe(R)),a!==o&&He()!==o?("number"===e.substr(he,6)?(i="number",he+=6):(i=o,0===Oe&&Pe(D)),i!==o&&He()!==o?(u=he,44===e.charCodeAt(he)?(c=",",he++):(c=o,0===Oe&&Pe(R)),c!==o&&(s=He())!==o&&(l=function f(){var t,r,n;return t=he,"::"===e.substr(he,2)?(r="::",he+=2):(r=o,0===Oe&&Pe(I)),r!==o&&(n=function a(){var e,t,r,n;if(e=he,t=[],(r=Ue())!==o)for(;r!==o;)t.push(r),r=Ue();else t=o;return t!==o&&(ye=e,t=j({type:0,tokens:n=t,parsedOptions:it?E(n):{}},ot())),t}())!==o?(ye=t,t=r=n):(he=t,t=o),t===o&&(t=he,ye=he,rt.push("numberArgStyle"),(r=(r=!0)?void 0:o)!==o&&(n=Ne())!==o?(ye=t,t=r=S(n)):(he=t,t=o)),t}())!==o?u=c=[c,s,l]:(he=u,u=o),u===o&&(u=null),u!==o&&(c=He())!==o?(125===e.charCodeAt(he)?(s="}",he++):(s=o,0===Oe&&Pe(y)),s!==o?(ye=t,t=r=_(n,i,u)):(he=t,t=o)):(he=t,t=o)):(he=t,t=o)):(he=t,t=o)):(he=t,t=o),t}())===o&&(t=function n(){var t,r,n,a,i,u,c,s,l;return t=he,123===e.charCodeAt(he)?(r="{",he++):(r=o,0===Oe&&Pe(h)),r!==o&&He()!==o&&(n=Xe())!==o&&He()!==o?(44===e.charCodeAt(he)?(a=",",he++):(a=o,0===Oe&&Pe(R)),a!==o&&He()!==o?("date"===e.substr(he,4)?(i="date",he+=4):(i=o,0===Oe&&Pe(U)),i===o&&("time"===e.substr(he,4)?(i="time",he+=4):(i=o,0===Oe&&Pe(z))),i!==o&&He()!==o?(u=he,44===e.charCodeAt(he)?(c=",",he++):(c=o,0===Oe&&Pe(R)),c!==o&&(s=He())!==o&&(l=function f(){var t,r,n;return t=he,"::"===e.substr(he,2)?(r="::",he+=2):(r=o,0===Oe&&Pe(I)),r!==o&&(n=function a(){var t,r,n,a,i,u,c;if(t=he,r=he,n=[],(a=ze())===o&&(a=Ve()),a!==o)for(;a!==o;)n.push(a),(a=ze())===o&&(a=Ve());else n=o;return(r=n!==o?e.substring(r,he):n)!==o&&(ye=t,r=j({type:1,pattern:i=r,parsedOptions:it?(u=i,c={},u.replace(b,(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):{}},ot())),r}())!==o?(ye=t,t=r=n):(he=t,t=o),t===o&&(t=he,ye=he,rt.push("dateOrTimeArgStyle"),(r=(r=!0)?void 0:o)!==o&&(n=Ne())!==o?(ye=t,t=r=S(n)):(he=t,t=o)),t}())!==o?u=c=[c,s,l]:(he=u,u=o),u===o&&(u=null),u!==o&&(c=He())!==o?(125===e.charCodeAt(he)?(s="}",he++):(s=o,0===Oe&&Pe(y)),s!==o?(ye=t,t=r=_(n,i,u)):(he=t,t=o)):(he=t,t=o)):(he=t,t=o)):(he=t,t=o)):(he=t,t=o),t}()),t}())===o&&(t=function f(){var t,r,a,i,u,c,s,l,f,p,m;if(t=he,123===e.charCodeAt(he)?(r="{",he++):(r=o,0===Oe&&Pe(h)),r!==o)if(He()!==o)if((a=Xe())!==o)if(He()!==o)if(44===e.charCodeAt(he)?(i=",",he++):(i=o,0===Oe&&Pe(R)),i!==o)if(He()!==o)if("plural"===e.substr(he,6)?(u="plural",he+=6):(u=o,0===Oe&&Pe(V)),u===o&&("selectordinal"===e.substr(he,13)?(u="selectordinal",he+=13):(u=o,0===Oe&&Pe(Z))),u!==o)if(He()!==o)if(44===e.charCodeAt(he)?(c=",",he++):(c=o,0===Oe&&Pe(R)),c!==o)if(He()!==o)if(s=he,"offset:"===e.substr(he,7)?(l="offset:",he+=7):(l=o,0===Oe&&Pe(G)),l!==o&&(f=He())!==o&&(p=We())!==o?s=l=[l,f,p]:(he=s,s=o),s===o&&(s=null),s!==o)if((l=He())!==o){if(f=[],(p=Ge())!==o)for(;p!==o;)f.push(p),p=Ge();else f=o;f!==o&&(p=He())!==o?(125===e.charCodeAt(he)?(m="}",he++):(m=o,0===Oe&&Pe(y)),m!==o?(ye=t,t=r=function(e,t,r,o){return j({type:n.plural,pluralType:"plural"===t?"cardinal":"ordinal",value:e,offset:r?r[2]:0,options:o.reduce((function(e,t){var r=t.id,n=t.value,o=t.location;return r in e&&Te('Duplicate option "'+r+'" in plural element: "'+we()+'"',Ae()),e[r]={value:n,location:o},e}),{})},ot())}(a,u,s,f)):(he=t,t=o)):(he=t,t=o)}else he=t,t=o;else he=t,t=o;else he=t,t=o;else he=t,t=o;else he=t,t=o;else he=t,t=o;else he=t,t=o;else he=t,t=o;else he=t,t=o;else he=t,t=o;else he=t,t=o;else he=t,t=o;return t}())===o&&(t=function p(){var t,r,a,i,u,c,s,l,f;if(t=he,123===e.charCodeAt(he)?(r="{",he++):(r=o,0===Oe&&Pe(h)),r!==o)if(He()!==o)if((a=Xe())!==o)if(He()!==o)if(44===e.charCodeAt(he)?(i=",",he++):(i=o,0===Oe&&Pe(R)),i!==o)if(He()!==o)if("select"===e.substr(he,6)?(u="select",he+=6):(u=o,0===Oe&&Pe(B)),u!==o)if(He()!==o)if(44===e.charCodeAt(he)?(c=",",he++):(c=o,0===Oe&&Pe(R)),c!==o)if(He()!==o){if(s=[],(l=Ze())!==o)for(;l!==o;)s.push(l),l=Ze();else s=o;s!==o&&(l=He())!==o?(125===e.charCodeAt(he)?(f="}",he++):(f=o,0===Oe&&Pe(y)),f!==o?(ye=t,t=r=function(e,t){return j({type:n.select,value:e,options:t.reduce((function(e,t){var r=t.id,n=t.value,o=t.location;return r in e&&Te('Duplicate option "'+r+'" in select element: "'+we()+'"',Ae()),e[r]={value:n,location:o},e}),{})},ot())}(a,s)):(he=t,t=o)):(he=t,t=o)}else he=t,t=o;else he=t,t=o;else he=t,t=o;else he=t,t=o;else he=t,t=o;else he=t,t=o;else he=t,t=o;else he=t,t=o;else he=t,t=o;else he=t,t=o;return t}())===o&&(t=function m(){var t,r;return t=he,35===e.charCodeAt(he)?(r="#",he++):(r=o,0===Oe&&Pe(s)),r!==o&&(ye=t,r=j({type:n.pound},ot())),r}()),t}function Ne(){var t,r,n,a;if(t=he,ye=he,(r=(r=at)?void 0:o)!==o){if(n=[],(a=Je())===o&&(a=Ke())===o&&(a=Qe())===o&&(60===e.charCodeAt(he)?(a="<",he++):(a=o,0===Oe&&Pe(u))),a!==o)for(;a!==o;)n.push(a),(a=Je())===o&&(a=Ke())===o&&(a=Qe())===o&&(60===e.charCodeAt(he)?(a="<",he++):(a=o,0===Oe&&Pe(u)));else n=o;n!==o?(ye=t,t=r=c(n)):(he=t,t=o)}else he=t,t=o;if(t===o){if(t=he,r=[],(n=Je())===o&&(n=Ke())===o&&(n=Qe())===o&&(n=Ce()),n!==o)for(;n!==o;)r.push(n),(n=Je())===o&&(n=Ke())===o&&(n=Qe())===o&&(n=Ce());else r=o;r!==o&&(ye=t,r=c(r)),t=r}return t}function Ce(){var t,r,n;return t=he,r=he,Oe++,(n=Me())===o&&(n=ke())===o&&(n=xe()),Oe--,n===o?r=void 0:(he=r,r=o),r!==o?(60===e.charCodeAt(he)?(n="<",he++):(n=o,0===Oe&&Pe(u)),n!==o?(ye=t,t=r="<"):(he=t,t=o)):(he=t,t=o),t}function xe(){var t,r,a,i,c,s;return t=he,r=he,60===e.charCodeAt(he)?(a="<",he++):(a=o,0===Oe&&Pe(u)),a!==o&&(i=Ye())!==o&&(c=He())!==o?("/>"===e.substr(he,2)?(s="/>",he+=2):(s=o,0===Oe&&Pe(f)),s!==o?r=a=[a,i,c,s]:(he=r,r=o)):(he=r,r=o),r!==o&&(ye=t,r=j({type:n.literal,value:r.join("")},ot())),r}function Me(){var t,r,n,a;return t=he,60===e.charCodeAt(he)?(r="<",he++):(r=o,0===Oe&&Pe(u)),r!==o&&(n=Ye())!==o?(62===e.charCodeAt(he)?(a=">",he++):(a=o,0===Oe&&Pe(p)),a!==o?(ye=t,t=r=n):(he=t,t=o)):(he=t,t=o),t}function ke(){var t,r,n,a;return t=he,"</"===e.substr(he,2)?(r="</",he+=2):(r=o,0===Oe&&Pe(m)),r!==o&&(n=Ye())!==o?(62===e.charCodeAt(he)?(a=">",he++):(a=o,0===Oe&&Pe(p)),a!==o?(ye=t,t=r=n):(he=t,t=o)):(he=t,t=o),t}function Le(){var t,r,n,a,i;if(Oe++,t=he,r=[],n=he,a=he,Oe++,(i=Be())===o&&(v.test(e.charAt(he))?(i=e.charAt(he),he++):(i=o,0===Oe&&Pe(O))),Oe--,i===o?a=void 0:(he=a,a=o),a!==o?(e.length>he?(i=e.charAt(he),he++):(i=o,0===Oe&&Pe(w)),i!==o?n=a=[a,i]:(he=n,n=o)):(he=n,n=o),n!==o)for(;n!==o;)r.push(n),n=he,a=he,Oe++,(i=Be())===o&&(v.test(e.charAt(he))?(i=e.charAt(he),he++):(i=o,0===Oe&&Pe(O))),Oe--,i===o?a=void 0:(he=a,a=o),a!==o?(e.length>he?(i=e.charAt(he),he++):(i=o,0===Oe&&Pe(w)),i!==o?n=a=[a,i]:(he=n,n=o)):(he=n,n=o);else r=o;return t=r!==o?e.substring(t,he):r,Oe--,t===o&&(r=o,0===Oe&&Pe(g)),t}function $e(){var t,r,n;return Oe++,t=he,47===e.charCodeAt(he)?(r="/",he++):(r=o,0===Oe&&Pe(T)),r!==o&&(n=Le())!==o?(ye=t,t=r=n):(he=t,t=o),Oe--,t===o&&(r=o,0===Oe&&Pe(A)),t}function Ue(){var e,t,r,n;if(Oe++,e=he,He()!==o)if((t=Le())!==o){for(r=[],n=$e();n!==o;)r.push(n),n=$e();r!==o?(ye=e,e=function(e,t){return{stem:e,options:t}}(t,r)):(he=e,e=o)}else he=e,e=o;else he=e,e=o;return Oe--,e===o&&0===Oe&&Pe(F),e}function ze(){var t,r,n,a;if(t=he,39===e.charCodeAt(he)?(r="'",he++):(r=o,0===Oe&&Pe(N)),r!==o){if(n=[],(a=Je())===o&&(C.test(e.charAt(he))?(a=e.charAt(he),he++):(a=o,0===Oe&&Pe(x))),a!==o)for(;a!==o;)n.push(a),(a=Je())===o&&(C.test(e.charAt(he))?(a=e.charAt(he),he++):(a=o,0===Oe&&Pe(x)));else n=o;n!==o?(39===e.charCodeAt(he)?(a="'",he++):(a=o,0===Oe&&Pe(N)),a!==o?t=r=[r,n,a]:(he=t,t=o)):(he=t,t=o)}else he=t,t=o;if(t===o)if(t=[],(r=Je())===o&&(M.test(e.charAt(he))?(r=e.charAt(he),he++):(r=o,0===Oe&&Pe(k))),r!==o)for(;r!==o;)t.push(r),(r=Je())===o&&(M.test(e.charAt(he))?(r=e.charAt(he),he++):(r=o,0===Oe&&Pe(k)));else t=o;return t}function Ve(){var t,r;if(t=[],L.test(e.charAt(he))?(r=e.charAt(he),he++):(r=o,0===Oe&&Pe($)),r!==o)for(;r!==o;)t.push(r),L.test(e.charAt(he))?(r=e.charAt(he),he++):(r=o,0===Oe&&Pe($));else t=o;return t}function Ze(){var t,r,n,a,i,u,c;return t=he,He()!==o&&(r=tt())!==o&&He()!==o?(123===e.charCodeAt(he)?(n="{",he++):(n=o,0===Oe&&Pe(h)),n!==o?(ye=he,rt.push("select"),void 0!==o&&(a=De())!==o?(125===e.charCodeAt(he)?(i="}",he++):(i=o,0===Oe&&Pe(y)),i!==o?(ye=t,u=r,c=a,rt.pop(),t=j({id:u,value:c},ot())):(he=t,t=o)):(he=t,t=o)):(he=t,t=o)):(he=t,t=o),t}function Ge(){var t,r,n,a,i,u,c;return t=he,He()!==o&&(r=function s(){var t,r,n,a;return t=he,r=he,61===e.charCodeAt(he)?(n="=",he++):(n=o,0===Oe&&Pe(q)),n!==o&&(a=We())!==o?r=n=[n,a]:(he=r,r=o),(t=r!==o?e.substring(t,he):r)===o&&(t=tt()),t}())!==o&&He()!==o?(123===e.charCodeAt(he)?(n="{",he++):(n=o,0===Oe&&Pe(h)),n!==o?(ye=he,rt.push("plural"),void 0!==o&&(a=De())!==o?(125===e.charCodeAt(he)?(i="}",he++):(i=o,0===Oe&&Pe(y)),i!==o?(ye=t,u=r,c=a,rt.pop(),t=j({id:u,value:c},ot())):(he=t,t=o)):(he=t,t=o)):(he=t,t=o)):(he=t,t=o),t}function Be(){var t;return Oe++,W.test(e.charAt(he))?(t=e.charAt(he),he++):(t=o,0===Oe&&Pe(J)),Oe--,t===o&&0===Oe&&Pe(H),t}function qe(){var t;return Oe++,Q.test(e.charAt(he))?(t=e.charAt(he),he++):(t=o,0===Oe&&Pe(X)),Oe--,t===o&&0===Oe&&Pe(K),t}function He(){var t,r,n;for(Oe++,t=he,r=[],n=Be();n!==o;)r.push(n),n=Be();return t=r!==o?e.substring(t,he):r,Oe--,t===o&&(r=o,0===Oe&&Pe(Y)),t}function We(){var t,r,n,a;return Oe++,t=he,45===e.charCodeAt(he)?(r="-",he++):(r=o,0===Oe&&Pe(te)),r===o&&(r=null),r!==o&&(n=et())!==o?(ye=t,t=r=(a=n)?r?-a:a:0):(he=t,t=o),Oe--,t===o&&(r=o,0===Oe&&Pe(ee)),t}function Je(){var t,r;return Oe++,t=he,"''"===e.substr(he,2)?(r="''",he+=2):(r=o,0===Oe&&Pe(ne)),r!==o&&(ye=t,r="'"),Oe--,(t=r)===o&&(r=o,0===Oe&&Pe(re)),t}function Ke(){var t,r,n,a,i,u;if(t=he,39===e.charCodeAt(he)?(r="'",he++):(r=o,0===Oe&&Pe(N)),r!==o)if((n=function c(){var t,r,n,a;return t=he,r=he,e.length>he?(n=e.charAt(he),he++):(n=o,0===Oe&&Pe(w)),n!==o?(ye=he,(a=(a=function(e){return"<"===e||">"===e||"{"===e||"}"===e||nt()&&"#"===e}(n))?void 0:o)!==o?r=n=[n,a]:(he=r,r=o)):(he=r,r=o),r!==o?e.substring(t,he):r}())!==o){for(a=he,i=[],"''"===e.substr(he,2)?(u="''",he+=2):(u=o,0===Oe&&Pe(ne)),u===o&&(C.test(e.charAt(he))?(u=e.charAt(he),he++):(u=o,0===Oe&&Pe(x)));u!==o;)i.push(u),"''"===e.substr(he,2)?(u="''",he+=2):(u=o,0===Oe&&Pe(ne)),u===o&&(C.test(e.charAt(he))?(u=e.charAt(he),he++):(u=o,0===Oe&&Pe(x)));(a=i!==o?e.substring(a,he):i)!==o?(39===e.charCodeAt(he)?(i="'",he++):(i=o,0===Oe&&Pe(N)),i===o&&(i=null),i!==o?(ye=t,t=r=n+a.replace("''","'")):(he=t,t=o)):(he=t,t=o)}else he=t,t=o;else he=t,t=o;return t}function Qe(){var t,r,n,a;return t=he,r=he,e.length>he?(n=e.charAt(he),he++):(n=o,0===Oe&&Pe(w)),n!==o?(ye=he,(a=(a=function(e){return!("<"===e||"{"===e||nt()&&"#"===e||function t(){return rt.length>1}()&&"}"===e)}(n))?void 0:o)!==o?r=n=[n,a]:(he=r,r=o)):(he=r,r=o),r===o&&(10===e.charCodeAt(he)?(r="\n",he++):(r=o,0===Oe&&Pe(oe))),r!==o?e.substring(t,he):r}function Xe(){var t,r;return Oe++,t=he,(r=et())===o&&(r=tt()),t=r!==o?e.substring(t,he):r,Oe--,t===o&&(r=o,0===Oe&&Pe(ae)),t}function Ye(){var t,r;return Oe++,t=he,(r=et())===o&&(r=function n(){var t,r,n,a,i;if(Oe++,t=he,r=[],45===e.charCodeAt(he)?(n="-",he++):(n=o,0===Oe&&Pe(te)),n===o&&(n=he,a=he,Oe++,(i=Be())===o&&(i=qe()),Oe--,i===o?a=void 0:(he=a,a=o),a!==o?(e.length>he?(i=e.charAt(he),he++):(i=o,0===Oe&&Pe(w)),i!==o?n=a=[a,i]:(he=n,n=o)):(he=n,n=o)),n!==o)for(;n!==o;)r.push(n),45===e.charCodeAt(he)?(n="-",he++):(n=o,0===Oe&&Pe(te)),n===o&&(n=he,a=he,Oe++,(i=Be())===o&&(i=qe()),Oe--,i===o?a=void 0:(he=a,a=o),a!==o?(e.length>he?(i=e.charAt(he),he++):(i=o,0===Oe&&Pe(w)),i!==o?n=a=[a,i]:(he=n,n=o)):(he=n,n=o));else r=o;return t=r!==o?e.substring(t,he):r,Oe--,t===o&&(r=o,0===Oe&&Pe(de)),t}()),t=r!==o?e.substring(t,he):r,Oe--,t===o&&(r=o,0===Oe&&Pe(ie)),t}function et(){var t,r,n,a,i;if(Oe++,t=he,48===e.charCodeAt(he)?(r="0",he++):(r=o,0===Oe&&Pe(ce)),r!==o&&(ye=t,r=0),(t=r)===o){if(t=he,r=he,se.test(e.charAt(he))?(n=e.charAt(he),he++):(n=o,0===Oe&&Pe(le)),n!==o){for(a=[],fe.test(e.charAt(he))?(i=e.charAt(he),he++):(i=o,0===Oe&&Pe(pe));i!==o;)a.push(i),fe.test(e.charAt(he))?(i=e.charAt(he),he++):(i=o,0===Oe&&Pe(pe));a!==o?r=n=[n,a]:(he=r,r=o)}else he=r,r=o;r!==o&&(ye=t,r=parseInt(r.join(""),10)),t=r}return Oe--,t===o&&(r=o,0===Oe&&Pe(ue)),t}function tt(){var t,r,n,a,i;if(Oe++,t=he,r=[],n=he,a=he,Oe++,(i=Be())===o&&(i=qe()),Oe--,i===o?a=void 0:(he=a,a=o),a!==o?(e.length>he?(i=e.charAt(he),he++):(i=o,0===Oe&&Pe(w)),i!==o?n=a=[a,i]:(he=n,n=o)):(he=n,n=o),n!==o)for(;n!==o;)r.push(n),n=he,a=he,Oe++,(i=Be())===o&&(i=qe()),Oe--,i===o?a=void 0:(he=a,a=o),a!==o?(e.length>he?(i=e.charAt(he),he++):(i=o,0===Oe&&Pe(w)),i!==o?n=a=[a,i]:(he=n,n=o)):(he=n,n=o);else r=o;return t=r!==o?e.substring(t,he):r,Oe--,t===o&&(r=o,0===Oe&&Pe(me)),t}var rt=["root"];function nt(){return"plural"===rt[rt.length-1]}function ot(){return t&&t.captureLocation?{location:Ae()}:{}}var at=t&&t.ignoreTag,it=t&&t.shouldParseSkeleton;if((r=i())!==o&&he===e.length)return r;throw r!==o&&he<e.length&&Pe({type:"end"}),function ut(e,t,r){return new P(P.buildMessage(e,t),e,t,r)}(be,ve<e.length?e.charAt(ve):null,je(ve,ve<e.length?ve+1:ve))},_=/(^|[^\\])#/g,N=function(){return(N=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function C(e,t){t=N({normalizeHashtagInPlural:!0,shouldParseSkeleton:!0},t||{});var r=R(e,t);return t.normalizeHashtagInPlural&&function e(t){t.forEach((function(t){(m(t)||p(t))&&Object.keys(t.options).forEach((function(r){for(var n,o=t.options[r],a=-1,i=void 0,c=0;c<o.value.length;c++){var s=o.value[c];if(u(s)&&_.test(s.value)){a=c,i=s;break}}if(i){var l=i.value.replace(_,"$1{"+t.value+", number}"),f=R(l);(n=o.value).splice.apply(n,function(){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}([a,1],f))}e(o.value)}))}))}(r),r}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 M(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 L(e,t){return k(e,this,1===e.length?x:M,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,M,t.cache.create(),t.serializer)},monadic:function q(e,t){return k(e,this,x,t.cache.create(),t.serializer)}};V.strategies=G;var H,W=Object.freeze(Object.assign(Object.create(null),V,{default:V,strategies:G})),J=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(H||(H={}));var K,Q=function(e){function t(t,r,n){var o=e.call(this,t)||this;return o.code=r,o.originalMessage=n,o}return J(t,e),t.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},t}(Error),X=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 J(t,e),t}(Q),Y=function(e){function t(t,r,n){return e.call(this,'Value for "'+t+'" must be of type '+r,"INVALID_VALUE",n)||this}return J(t,e),t}(Q),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 J(t,e),t}(Q);function te(e){return"function"==typeof e}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(K||(K={}));var re=function(){return(re=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},ne=function(){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 oe(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 ae,ie=V||W,ue=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,v){if(1===t.length&&u(t[0]))return[{type:0,value:t[0].value}];for(var b=[],O=0,w=t;O<w.length;O++){var A=w[O];if(u(A))b.push({type:0,value:A.value});else if(d(A))"number"==typeof i&&b.push({type:0,value:n.getNumberFormat(r).format(i)});else{var T=A.value;if(!a||!(T in a))throw new ee(T,v);var F=a[T];if(c(A))F&&"string"!=typeof F&&"number"!=typeof F||(F="string"==typeof F||"number"==typeof F?String(F):""),b.push({type:"string"==typeof F?0:1,value:F});else if(l(A)){var E="string"==typeof A.style?o.date[A.style]:g(A.style)?A.style.parsedOptions:void 0;b.push({type:0,value:n.getDateTimeFormat(r,E).format(F)})}else if(f(A))E="string"==typeof A.style?o.time[A.style]:g(A.style)?A.style.parsedOptions:void 0,b.push({type:0,value:n.getDateTimeFormat(r,E).format(F)});else if(s(A))E="string"==typeof A.style?o.number[A.style]:y(A.style)?A.style.parsedOptions:void 0,b.push({type:0,value:n.getNumberFormat(r,E).format(F)});else{if(h(A)){var I=A.children,S=A.value,j=a[S];if(!te(j))throw new Y(S,"function",v);var P=j(e(I,r,n,o,a,i).map((function(e){return e.value})));Array.isArray(P)||(P=[P]),b.push.apply(b,P.map((function(e){return{type:"string"==typeof e?0:1,value:e}})))}if(p(A)){if(!(R=A.options[F]||A.options.other))throw new X(A.value,F,Object.keys(A.options),v);b.push.apply(b,e(R.value,r,n,o,a))}else if(m(A)){var R;if(!(R=A.options["="+F])){if(!Intl.PluralRules)throw new Q('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',"MISSING_INTL_API",v);var D=n.getPluralRules(r,{type:A.pluralType}).select(F-(A.offset||0));R=A.options[D]||A.options.other}if(!R)throw new X(A.value,F,Object.keys(A.options),v);b.push.apply(b,e(R.value,r,n,o,a,F-(A.offset||0)))}}}}return function _(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}),[])}(b)}(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 i(e,t){return t?Object.keys(e).reduce((function(r,n){return r[n]=function o(e,t){return t?re(re(re({},e||{}),t||{}),Object.keys(e).reduce((function(r,n){return r[n]=re(re({},e[n]),t[n]||{}),r}),{})):e}(e[n],t[n]),r}),re({},e)):e}(e.formats,n),this.locales=r,this.formatters=o&&o.formatters||function v(e){return void 0===e&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:ie((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,ne([void 0],t)))}),{cache:oe(e.number),strategy:ie.strategies.variadic}),getDateTimeFormat:ie((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,ne([void 0],t)))}),{cache:oe(e.dateTime),strategy:ie.strategies.variadic}),getPluralRules:ie((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,ne([void 0],t)))}),{cache:oe(e.pluralRules),strategy:ie.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=C,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}(),ce=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();(ae=e.ReactIntlErrorCode||(e.ReactIntlErrorCode={})).FORMAT_ERROR="FORMAT_ERROR",ae.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",ae.INVALID_CONFIG="INVALID_CONFIG",ae.MISSING_DATA="MISSING_DATA",ae.MISSING_TRANSLATION="MISSING_TRANSLATION";var se=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 ce(t,e),t}(Error),le=function(e){function t(t,r){return e.call(this,"UNSUPPORTED_FORMATTER",t,r)||this}return ce(t,e),t}(se),fe=function(e){function t(t,r){return e.call(this,"INVALID_CONFIG",t,r)||this}return ce(t,e),t}(se),pe=function(e){function t(t,r){return e.call(this,"MISSING_DATA",t,r)||this}return ce(t,e),t}(se),me=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 ce(t,e),t}(se),de=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 ce(t,e),t}(se),he=function(){return(he=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},ye=function(){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 ge(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 ve={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},onError:function(e){}};function be(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 Oe=V||W;function we(e,t,r,n){var o,a=e&&e[t];if(a&&(o=a[r]),o)return o;n(new le("No "+t+" format named: "+r))}var Ae=function(){return(Ae=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function Te(e,t){return Object.keys(e).reduce((function(r,n){return r[n]=Ae({timeZone:t},e[n]),r}),{})}function Fe(e,t){return Object.keys(Ae(Ae({},e),t)).reduce((function(r,n){return r[n]=Ae(Ae({},e[n]||{}),t[n]||{}),r}),{})}function Ee(e,t){if(!t)return e;var r=ue.formats;return Ae(Ae(Ae({},r),e),{date:Fe(Te(r.date,t),Te(e.date||{},t)),time:Fe(Te(r.time,t),Te(e.time||{},t))})}function Ie(e,t,r,o){var a=e.locale,u=e.formats,c=e.messages,s=e.defaultLocale,l=e.defaultFormats,f=e.onError,p=e.timeZone,m=e.defaultRichTextElements;void 0===r&&(r={id:""});var d=r.id,h=r.defaultMessage;i(!!d,"[@formatjs/intl] An `id` must be provided to format a message.");var y=String(d),g=c&&Object.prototype.hasOwnProperty.call(c,y)&&c[y];if(Array.isArray(g)&&1===g.length&&g[0].type===n.literal)return g[0].value;if(!o&&g&&"string"==typeof g&&m&&console.error('[@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'),!o&&g&&"string"==typeof g&&!m)return g.replace(/'\{(.*?)\}'/gi,"{$1}");if(o=Ae(Ae({},m),o||{}),u=Ee(u,p),l=Ee(l,p),!g){if((!h||a&&a.toLowerCase()!==s.toLowerCase())&&f(new de(r,a)),h)try{return t.getMessageFormat(h,s,l).format(o)}catch(e){return f(new me('Error formatting default message for: "'+y+'", rendering default message verbatim',a,r,e)),"string"==typeof h?h:y}return y}try{return t.getMessageFormat(g,a,u,{formatters:t}).format(o)}catch(e){f(new me('Error formatting message: "'+y+'", using '+(h?"default message":"id")+" as fallback.",a,r,e))}if(h)try{return t.getMessageFormat(h,s,l).format(o)}catch(e){f(new me('Error formatting the default message for: "'+y+'", rendering message verbatim',a,r,e))}return"string"==typeof g?g:"string"==typeof h?h:y}var Se=function(){return(Se=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},je=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","fractionalSecondDigits","calendar","numberingSystem"];function Pe(e,t,r,n){var o=e.locale,a=e.formats,i=e.onError,u=e.timeZone;void 0===n&&(n={});var c=n.format,s=Se(Se({},u&&{timeZone:u}),c&&we(a,t,c,i)),l=ge(n,je,s);return"time"!==t||l.hour||l.minute||l.second||(l=Se(Se({},l),{hour:"numeric",minute:"numeric"})),r(o,l)}function Re(e,t,r,n){void 0===n&&(n={});var o="string"==typeof r?new Date(r||0):r;try{return Pe(e,"date",t,n).format(o)}catch(t){e.onError(new se("FORMAT_ERROR","Error formatting date.",t))}return String(o)}function De(e,t,r,n){void 0===n&&(n={});var o="string"==typeof r?new Date(r||0):r;try{return Pe(e,"time",t,n).format(o)}catch(t){e.onError(new se("FORMAT_ERROR","Error formatting time.",t))}return String(o)}function _e(e,t,r,n){void 0===n&&(n={});var o="string"==typeof r?new Date(r||0):r;try{return Pe(e,"date",t,n).formatToParts(o)}catch(t){e.onError(new se("FORMAT_ERROR","Error formatting date.",t))}return[]}function Ne(e,t,r,n){void 0===n&&(n={});var o="string"==typeof r?new Date(r||0):r;try{return Pe(e,"time",t,n).formatToParts(o)}catch(t){e.onError(new se("FORMAT_ERROR","Error formatting time.",t))}return[]}var Ce=["localeMatcher","style","type","fallback"];function xe(e,t,r,n){var o=e.locale,a=e.onError;void 0===n&&(n={}),Intl.DisplayNames||a(new Q('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',"MISSING_INTL_API"));var i=ge(n,Ce);try{return t(o,i).of(r)}catch(e){a(new se("FORMAT_ERROR","Error formatting display name.",e))}}var Me=["localeMatcher","type","style"],ke=Date.now();function Le(e,t,r,n){var o=e.locale,a=e.onError;void 0===n&&(n={}),Intl.ListFormat||a(new Q('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',"MISSING_INTL_API"));var i=ge(n,Me);try{var u={},c=r.map((function(e,t){if("object"==typeof e){var r=function n(e){return ke+"_"+e+"_"+ke}(t);return u[r]=e,r}return String(e)}));return Object.keys(u).length?t(o,i).formatToParts(c).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(c)}catch(e){a(new se("FORMAT_ERROR","Error formatting list.",e))}return r}var $e=["localeMatcher","type"];function Ue(e,t,r,n){var o=e.locale,a=e.onError;void 0===n&&(n={}),Intl.PluralRules||a(new Q('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',"MISSING_INTL_API"));var i=ge(n,$e);try{return t(o,i).select(r)}catch(e){a(new me("Error formatting plural.",e))}return"other"}var ze=["numeric","style"];function Ve(e,t,r,n,o){void 0===o&&(o={}),n||(n="second"),Intl.RelativeTimeFormat||e.onError(new Q('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&&we(e.formats,"relative",o,e.onError)||{};return t(n,ge(r,ze,a))}(e,t,o).format(r,n)}catch(t){e.onError(new me("Error formatting relative time.",t))}return String(r)}var Ze=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay"];function Ge(e,t,r){var n=e.locale;void 0===r&&(r={});var o=r.format,a=o&&we(e.formats,"number",o,e.onError)||{};return t(n,ge(r,Ze,a))}function Be(e,t,r,n){void 0===n&&(n={});try{return Ge(e,t,n).format(r)}catch(t){e.onError(new se("FORMAT_ERROR","Error formatting number.",t))}return String(r)}function qe(e,t,r,n){void 0===n&&(n={});try{return Ge(e,t,n).formatToParts(r)}catch(t){e.onError(new se("FORMAT_ERROR","Error formatting number.",t))}return[]}var He=function(){return(He=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},We=function(){return(We=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function Je(e){i(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var Ke=We(We({},ve),{textComponent:t.Fragment}),Qe="function"==typeof Symbol&&Symbol.for,Xe=Qe?Symbol.for("react.element"):60103,Ye=Qe?Symbol.for("react.portal"):60106,et=Qe?Symbol.for("react.fragment"):60107,tt=Qe?Symbol.for("react.strict_mode"):60108,rt=Qe?Symbol.for("react.profiler"):60114,nt=Qe?Symbol.for("react.provider"):60109,ot=Qe?Symbol.for("react.context"):60110,at=Qe?Symbol.for("react.async_mode"):60111,it=Qe?Symbol.for("react.concurrent_mode"):60111,ut=Qe?Symbol.for("react.forward_ref"):60112,ct=Qe?Symbol.for("react.suspense"):60113,st=Qe?Symbol.for("react.suspense_list"):60120,lt=Qe?Symbol.for("react.memo"):60115,ft=Qe?Symbol.for("react.lazy"):60116,pt=Qe?Symbol.for("react.block"):60121,mt=Qe?Symbol.for("react.fundamental"):60117,dt=Qe?Symbol.for("react.responder"):60118,ht=Qe?Symbol.for("react.scope"):60119;function yt(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Xe:switch(e=e.type){case at:case it:case et:case rt:case tt:case ct:return e;default:switch(e=e&&e.$$typeof){case ot:case ut:case ft:case lt:case nt:return e;default:return t}}case Ye:return t}}}function gt(e){return yt(e)===it}var vt={AsyncMode:at,ConcurrentMode:it,ContextConsumer:ot,ContextProvider:nt,Element:Xe,ForwardRef:ut,Fragment:et,Lazy:ft,Memo:lt,Portal:Ye,Profiler:rt,StrictMode:tt,Suspense:ct,isAsyncMode:function(e){return gt(e)||yt(e)===at},isConcurrentMode:gt,isContextConsumer:function(e){return yt(e)===ot},isContextProvider:function(e){return yt(e)===nt},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Xe},isForwardRef:function(e){return yt(e)===ut},isFragment:function(e){return yt(e)===et},isLazy:function(e){return yt(e)===ft},isMemo:function(e){return yt(e)===lt},isPortal:function(e){return yt(e)===Ye},isProfiler:function(e){return yt(e)===rt},isStrictMode:function(e){return yt(e)===tt},isSuspense:function(e){return yt(e)===ct},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===et||e===it||e===rt||e===tt||e===ct||e===st||"object"==typeof e&&null!==e&&(e.$$typeof===ft||e.$$typeof===lt||e.$$typeof===nt||e.$$typeof===ot||e.$$typeof===ut||e.$$typeof===mt||e.$$typeof===dt||e.$$typeof===ht||e.$$typeof===pt)},typeOf:yt},bt=function Ot(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")}
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react")):"function"==typeof define&&define.amd?define(["exports","react"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).ReactIntl={},e.React)}(this,(function(e,t){"use strict";function r(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var n,o,a=r(t);function i(e,t,r){if(void 0===r&&(r=Error),!e)throw new r(t)}function u(e){return e.type===n.literal}function c(e){return e.type===n.argument}function s(e){return e.type===n.number}function l(e){return e.type===n.date}function f(e){return e.type===n.time}function p(e){return e.type===n.select}function m(e){return e.type===n.plural}function d(e){return e.type===n.pound}function h(e){return e.type===n.tag}function y(e){return!(!e||"object"!=typeof e||0!==e.type)}function g(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"}(n||(n={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(o||(o={}));var v=function(){return(v=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},b=/(?:[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,O=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,w=/^(@+)?(\+|#+)?$/g;function A(e){var t={};return e.replace(w,(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 T(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 F(e){return T(e)||{}}function E(e){for(var t={},r=0,n=e;r<n.length;r++){var o=n[r];switch(o.stem){case"percent":t.style="percent";continue;case"currency":t.style="currency",t.currency=o.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=o.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=v(v(v({},t),{notation:"scientific"}),o.options.reduce((function(e,t){return v(v({},e),F(t))}),{}));continue;case"engineering":t=v(v(v({},t),{notation:"engineering"}),o.options.reduce((function(e,t){return v(v({},e),F(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(O.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(O,(function(e,r,n,o,a,i){return"*"===n?t.minimumFractionDigits=r.length:o&&"#"===o[0]?t.maximumFractionDigits=o.length:a&&i?(t.minimumFractionDigits=a.length,t.maximumFractionDigits=a.length+i.length):(t.minimumFractionDigits=r.length,t.maximumFractionDigits=r.length),""})),o.options.length&&(t=v(v({},t),A(o.options[0])))}else if(w.test(o.stem))t=v(v({},t),A(o.stem));else{var a=T(o.stem);a&&(t=v(v({},t),a))}}return t}var I,S=(I=function(e,t){return(I=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}I(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),j=function(){return(j=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},P=function(e){function t(r,n,o,a){var i=e.call(this)||this;return i.message=r,i.expected=n,i.found=o,i.location=a,i.name="SyntaxError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(i,t),i}return S(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 o(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 a(e){switch(e.type){case"literal":return'"'+n(e.text)+'"';case"class":var t=e.parts.map((function(e){return Array.isArray(e)?o(e[0])+"-"+o(e[1]):o(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(a);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),R=function D(e,t){t=void 0!==t?t:{};var r,o={},a={start:Re},i=Re,u=Fe("<",!1),c=function(e){return e.join("")},s=Fe("#",!1),l=Ie("tagElement"),f=Fe("/>",!1),p=Fe(">",!1),m=Fe("</",!1),d=Ie("argumentElement"),h=Fe("{",!1),y=Fe("}",!1),g=Ie("numberSkeletonId"),v=/^['\/{}]/,O=Ee(["'","/","{","}"],!1,!1),w={type:"any"},A=Ie("numberSkeletonTokenOption"),T=Fe("/",!1),F=Ie("numberSkeletonToken"),I=Fe("::",!1),S=function(e){return rt.pop(),e.replace(/\s*$/,"")},R=Fe(",",!1),D=Fe("number",!1),_=function(e,t,r){return j({type:"number"===t?n.number:"date"===t?n.date:n.time,style:r&&r[2],value:e},ot())},N=Fe("'",!1),C=/^[^']/,x=Ee(["'"],!0,!1),M=/^[^a-zA-Z'{}]/,k=Ee([["a","z"],["A","Z"],"'","{","}"],!0,!1),L=/^[a-zA-Z]/,$=Ee([["a","z"],["A","Z"]],!1,!1),U=Fe("date",!1),z=Fe("time",!1),V=Fe("plural",!1),Z=Fe("selectordinal",!1),G=Fe("offset:",!1),B=Fe("select",!1),q=Fe("=",!1),H=Ie("whitespace"),W=/^[\t-\r \x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,J=Ee([["\t","\r"]," ","…"," "," ",[" "," "],"\u2028","\u2029"," "," "," "],!1,!1),K=Ie("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=Ee([["!","/"],[":","@"],["[","^"],"`",["{","~"],["¡","§"],"©","«","¬","®","°","±","¶","»","¿","×","÷",["‐","‧"],["‰","‾"],["⁁","⁓"],["⁕","⁞"],["←","⑟"],["─","❵"],["➔","⯿"],["⸀","⹿"],["、","〃"],["〈","〠"],"〰","﴾","﴿","﹅","﹆"],!1,!1),Y=Ie("optional whitespace"),ee=Ie("number"),te=Fe("-",!1),re=Ie("double apostrophes"),ne=Fe("''",!1),oe=Fe("\n",!1),ae=Ie("argNameOrNumber"),ie=Ie("validTag"),ue=Ie("argNumber"),ce=Fe("0",!1),se=/^[1-9]/,le=Ee([["1","9"]],!1,!1),fe=/^[0-9]/,pe=Ee([["0","9"]],!1,!1),me=Ie("argName"),de=Ie("tagName"),he=0,ye=0,ge=[{line:1,column:1}],ve=0,be=[],Oe=0;if(void 0!==t.startRule){if(!(t.startRule in a))throw new Error("Can't start parsing from rule \""+t.startRule+'".');i=a[t.startRule]}function we(){return e.substring(ye,he)}function Ae(){return je(ye,he)}function Te(e,t){throw function r(e,t){return new P(e,[],"",t)}(e,t=void 0!==t?t:je(ye,he))}function Fe(e,t){return{type:"literal",text:e,ignoreCase:t}}function Ee(e,t,r){return{type:"class",parts:e,inverted:t,ignoreCase:r}}function Ie(e){return{type:"other",description:e}}function Se(t){var r,n=ge[t];if(n)return n;for(r=t-1;!ge[r];)r--;for(n={line:(n=ge[r]).line,column:n.column};r<t;)10===e.charCodeAt(r)?(n.line++,n.column=1):n.column++,r++;return ge[t]=n,n}function je(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 Pe(e){he<ve||(he>ve&&(ve=he,be=[]),be.push(e))}function Re(){return De()}function De(){var e,t;for(e=[],t=_e();t!==o;)e.push(t),t=_e();return e}function _e(){var t,r;return t=he,ye=he,(at?o:void 0)!==o&&(r=function a(){var e,t,r,a,i,u,c;return Oe++,(e=xe())===o&&(e=he,(t=Me())!==o&&(r=De())!==o&&(a=ke())!==o?(ye=e,u=r,(i=t)!==(c=a)&&Te('Mismatch tag "'+i+'" !== "'+c+'"',Ae()),e=t=j({type:n.tag,value:i,children:u},ot())):(he=e,e=o)),Oe--,e===o&&(t=o,0===Oe&&Pe(l)),e}())!==o?(ye=t,t=r):(he=t,t=o),t===o&&(t=function i(){var e,t;return e=he,(t=Ne())!==o&&(ye=e,t=j({type:n.literal,value:t},ot())),t}())===o&&(t=function u(){var t,r,a,i;return Oe++,t=he,123===e.charCodeAt(he)?(r="{",he++):(r=o,0===Oe&&Pe(h)),r!==o&&He()!==o&&(a=Xe())!==o&&He()!==o?(125===e.charCodeAt(he)?(i="}",he++):(i=o,0===Oe&&Pe(y)),i!==o?(ye=t,t=r=j({type:n.argument,value:a},ot())):(he=t,t=o)):(he=t,t=o),Oe--,t===o&&(r=o,0===Oe&&Pe(d)),t}())===o&&(t=function c(){var t;return(t=function r(){var t,r,n,a,i,u,c,s,l;return t=he,123===e.charCodeAt(he)?(r="{",he++):(r=o,0===Oe&&Pe(h)),r!==o&&He()!==o&&(n=Xe())!==o&&He()!==o?(44===e.charCodeAt(he)?(a=",",he++):(a=o,0===Oe&&Pe(R)),a!==o&&He()!==o?("number"===e.substr(he,6)?(i="number",he+=6):(i=o,0===Oe&&Pe(D)),i!==o&&He()!==o?(u=he,44===e.charCodeAt(he)?(c=",",he++):(c=o,0===Oe&&Pe(R)),c!==o&&(s=He())!==o&&(l=function f(){var t,r,n;return t=he,"::"===e.substr(he,2)?(r="::",he+=2):(r=o,0===Oe&&Pe(I)),r!==o&&(n=function a(){var e,t,r,n;if(e=he,t=[],(r=Ue())!==o)for(;r!==o;)t.push(r),r=Ue();else t=o;return t!==o&&(ye=e,t=j({type:0,tokens:n=t,parsedOptions:it?E(n):{}},ot())),t}())!==o?(ye=t,t=r=n):(he=t,t=o),t===o&&(t=he,ye=he,rt.push("numberArgStyle"),(r=(r=!0)?void 0:o)!==o&&(n=Ne())!==o?(ye=t,t=r=S(n)):(he=t,t=o)),t}())!==o?u=c=[c,s,l]:(he=u,u=o),u===o&&(u=null),u!==o&&(c=He())!==o?(125===e.charCodeAt(he)?(s="}",he++):(s=o,0===Oe&&Pe(y)),s!==o?(ye=t,t=r=_(n,i,u)):(he=t,t=o)):(he=t,t=o)):(he=t,t=o)):(he=t,t=o)):(he=t,t=o),t}())===o&&(t=function n(){var t,r,n,a,i,u,c,s,l;return t=he,123===e.charCodeAt(he)?(r="{",he++):(r=o,0===Oe&&Pe(h)),r!==o&&He()!==o&&(n=Xe())!==o&&He()!==o?(44===e.charCodeAt(he)?(a=",",he++):(a=o,0===Oe&&Pe(R)),a!==o&&He()!==o?("date"===e.substr(he,4)?(i="date",he+=4):(i=o,0===Oe&&Pe(U)),i===o&&("time"===e.substr(he,4)?(i="time",he+=4):(i=o,0===Oe&&Pe(z))),i!==o&&He()!==o?(u=he,44===e.charCodeAt(he)?(c=",",he++):(c=o,0===Oe&&Pe(R)),c!==o&&(s=He())!==o&&(l=function f(){var t,r,n;return t=he,"::"===e.substr(he,2)?(r="::",he+=2):(r=o,0===Oe&&Pe(I)),r!==o&&(n=function a(){var t,r,n,a,i,u,c;if(t=he,r=he,n=[],(a=ze())===o&&(a=Ve()),a!==o)for(;a!==o;)n.push(a),(a=ze())===o&&(a=Ve());else n=o;return(r=n!==o?e.substring(r,he):n)!==o&&(ye=t,r=j({type:1,pattern:i=r,parsedOptions:it?(u=i,c={},u.replace(b,(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):{}},ot())),r}())!==o?(ye=t,t=r=n):(he=t,t=o),t===o&&(t=he,ye=he,rt.push("dateOrTimeArgStyle"),(r=(r=!0)?void 0:o)!==o&&(n=Ne())!==o?(ye=t,t=r=S(n)):(he=t,t=o)),t}())!==o?u=c=[c,s,l]:(he=u,u=o),u===o&&(u=null),u!==o&&(c=He())!==o?(125===e.charCodeAt(he)?(s="}",he++):(s=o,0===Oe&&Pe(y)),s!==o?(ye=t,t=r=_(n,i,u)):(he=t,t=o)):(he=t,t=o)):(he=t,t=o)):(he=t,t=o)):(he=t,t=o),t}()),t}())===o&&(t=function f(){var t,r,a,i,u,c,s,l,f,p,m;if(t=he,123===e.charCodeAt(he)?(r="{",he++):(r=o,0===Oe&&Pe(h)),r!==o)if(He()!==o)if((a=Xe())!==o)if(He()!==o)if(44===e.charCodeAt(he)?(i=",",he++):(i=o,0===Oe&&Pe(R)),i!==o)if(He()!==o)if("plural"===e.substr(he,6)?(u="plural",he+=6):(u=o,0===Oe&&Pe(V)),u===o&&("selectordinal"===e.substr(he,13)?(u="selectordinal",he+=13):(u=o,0===Oe&&Pe(Z))),u!==o)if(He()!==o)if(44===e.charCodeAt(he)?(c=",",he++):(c=o,0===Oe&&Pe(R)),c!==o)if(He()!==o)if(s=he,"offset:"===e.substr(he,7)?(l="offset:",he+=7):(l=o,0===Oe&&Pe(G)),l!==o&&(f=He())!==o&&(p=We())!==o?s=l=[l,f,p]:(he=s,s=o),s===o&&(s=null),s!==o)if((l=He())!==o){if(f=[],(p=Ge())!==o)for(;p!==o;)f.push(p),p=Ge();else f=o;f!==o&&(p=He())!==o?(125===e.charCodeAt(he)?(m="}",he++):(m=o,0===Oe&&Pe(y)),m!==o?(ye=t,t=r=function(e,t,r,o){return j({type:n.plural,pluralType:"plural"===t?"cardinal":"ordinal",value:e,offset:r?r[2]:0,options:o.reduce((function(e,t){var r=t.id,n=t.value,o=t.location;return r in e&&Te('Duplicate option "'+r+'" in plural element: "'+we()+'"',Ae()),e[r]={value:n,location:o},e}),{})},ot())}(a,u,s,f)):(he=t,t=o)):(he=t,t=o)}else he=t,t=o;else he=t,t=o;else he=t,t=o;else he=t,t=o;else he=t,t=o;else he=t,t=o;else he=t,t=o;else he=t,t=o;else he=t,t=o;else he=t,t=o;else he=t,t=o;else he=t,t=o;return t}())===o&&(t=function p(){var t,r,a,i,u,c,s,l,f;if(t=he,123===e.charCodeAt(he)?(r="{",he++):(r=o,0===Oe&&Pe(h)),r!==o)if(He()!==o)if((a=Xe())!==o)if(He()!==o)if(44===e.charCodeAt(he)?(i=",",he++):(i=o,0===Oe&&Pe(R)),i!==o)if(He()!==o)if("select"===e.substr(he,6)?(u="select",he+=6):(u=o,0===Oe&&Pe(B)),u!==o)if(He()!==o)if(44===e.charCodeAt(he)?(c=",",he++):(c=o,0===Oe&&Pe(R)),c!==o)if(He()!==o){if(s=[],(l=Ze())!==o)for(;l!==o;)s.push(l),l=Ze();else s=o;s!==o&&(l=He())!==o?(125===e.charCodeAt(he)?(f="}",he++):(f=o,0===Oe&&Pe(y)),f!==o?(ye=t,t=r=function(e,t){return j({type:n.select,value:e,options:t.reduce((function(e,t){var r=t.id,n=t.value,o=t.location;return r in e&&Te('Duplicate option "'+r+'" in select element: "'+we()+'"',Ae()),e[r]={value:n,location:o},e}),{})},ot())}(a,s)):(he=t,t=o)):(he=t,t=o)}else he=t,t=o;else he=t,t=o;else he=t,t=o;else he=t,t=o;else he=t,t=o;else he=t,t=o;else he=t,t=o;else he=t,t=o;else he=t,t=o;else he=t,t=o;return t}())===o&&(t=function m(){var t,r;return t=he,35===e.charCodeAt(he)?(r="#",he++):(r=o,0===Oe&&Pe(s)),r!==o&&(ye=t,r=j({type:n.pound},ot())),r}()),t}function Ne(){var t,r,n,a;if(t=he,ye=he,(r=(r=at)?void 0:o)!==o){if(n=[],(a=Je())===o&&(a=Ke())===o&&(a=Qe())===o&&(60===e.charCodeAt(he)?(a="<",he++):(a=o,0===Oe&&Pe(u))),a!==o)for(;a!==o;)n.push(a),(a=Je())===o&&(a=Ke())===o&&(a=Qe())===o&&(60===e.charCodeAt(he)?(a="<",he++):(a=o,0===Oe&&Pe(u)));else n=o;n!==o?(ye=t,t=r=c(n)):(he=t,t=o)}else he=t,t=o;if(t===o){if(t=he,r=[],(n=Je())===o&&(n=Ke())===o&&(n=Qe())===o&&(n=Ce()),n!==o)for(;n!==o;)r.push(n),(n=Je())===o&&(n=Ke())===o&&(n=Qe())===o&&(n=Ce());else r=o;r!==o&&(ye=t,r=c(r)),t=r}return t}function Ce(){var t,r,n;return t=he,r=he,Oe++,(n=Me())===o&&(n=ke())===o&&(n=xe()),Oe--,n===o?r=void 0:(he=r,r=o),r!==o?(60===e.charCodeAt(he)?(n="<",he++):(n=o,0===Oe&&Pe(u)),n!==o?(ye=t,t=r="<"):(he=t,t=o)):(he=t,t=o),t}function xe(){var t,r,a,i,c,s;return t=he,r=he,60===e.charCodeAt(he)?(a="<",he++):(a=o,0===Oe&&Pe(u)),a!==o&&(i=Ye())!==o&&(c=He())!==o?("/>"===e.substr(he,2)?(s="/>",he+=2):(s=o,0===Oe&&Pe(f)),s!==o?r=a=[a,i,c,s]:(he=r,r=o)):(he=r,r=o),r!==o&&(ye=t,r=j({type:n.literal,value:r.join("")},ot())),r}function Me(){var t,r,n,a;return t=he,60===e.charCodeAt(he)?(r="<",he++):(r=o,0===Oe&&Pe(u)),r!==o&&(n=Ye())!==o?(62===e.charCodeAt(he)?(a=">",he++):(a=o,0===Oe&&Pe(p)),a!==o?(ye=t,t=r=n):(he=t,t=o)):(he=t,t=o),t}function ke(){var t,r,n,a;return t=he,"</"===e.substr(he,2)?(r="</",he+=2):(r=o,0===Oe&&Pe(m)),r!==o&&(n=Ye())!==o?(62===e.charCodeAt(he)?(a=">",he++):(a=o,0===Oe&&Pe(p)),a!==o?(ye=t,t=r=n):(he=t,t=o)):(he=t,t=o),t}function Le(){var t,r,n,a,i;if(Oe++,t=he,r=[],n=he,a=he,Oe++,(i=Be())===o&&(v.test(e.charAt(he))?(i=e.charAt(he),he++):(i=o,0===Oe&&Pe(O))),Oe--,i===o?a=void 0:(he=a,a=o),a!==o?(e.length>he?(i=e.charAt(he),he++):(i=o,0===Oe&&Pe(w)),i!==o?n=a=[a,i]:(he=n,n=o)):(he=n,n=o),n!==o)for(;n!==o;)r.push(n),n=he,a=he,Oe++,(i=Be())===o&&(v.test(e.charAt(he))?(i=e.charAt(he),he++):(i=o,0===Oe&&Pe(O))),Oe--,i===o?a=void 0:(he=a,a=o),a!==o?(e.length>he?(i=e.charAt(he),he++):(i=o,0===Oe&&Pe(w)),i!==o?n=a=[a,i]:(he=n,n=o)):(he=n,n=o);else r=o;return t=r!==o?e.substring(t,he):r,Oe--,t===o&&(r=o,0===Oe&&Pe(g)),t}function $e(){var t,r,n;return Oe++,t=he,47===e.charCodeAt(he)?(r="/",he++):(r=o,0===Oe&&Pe(T)),r!==o&&(n=Le())!==o?(ye=t,t=r=n):(he=t,t=o),Oe--,t===o&&(r=o,0===Oe&&Pe(A)),t}function Ue(){var e,t,r,n;if(Oe++,e=he,He()!==o)if((t=Le())!==o){for(r=[],n=$e();n!==o;)r.push(n),n=$e();r!==o?(ye=e,e=function(e,t){return{stem:e,options:t}}(t,r)):(he=e,e=o)}else he=e,e=o;else he=e,e=o;return Oe--,e===o&&0===Oe&&Pe(F),e}function ze(){var t,r,n,a;if(t=he,39===e.charCodeAt(he)?(r="'",he++):(r=o,0===Oe&&Pe(N)),r!==o){if(n=[],(a=Je())===o&&(C.test(e.charAt(he))?(a=e.charAt(he),he++):(a=o,0===Oe&&Pe(x))),a!==o)for(;a!==o;)n.push(a),(a=Je())===o&&(C.test(e.charAt(he))?(a=e.charAt(he),he++):(a=o,0===Oe&&Pe(x)));else n=o;n!==o?(39===e.charCodeAt(he)?(a="'",he++):(a=o,0===Oe&&Pe(N)),a!==o?t=r=[r,n,a]:(he=t,t=o)):(he=t,t=o)}else he=t,t=o;if(t===o)if(t=[],(r=Je())===o&&(M.test(e.charAt(he))?(r=e.charAt(he),he++):(r=o,0===Oe&&Pe(k))),r!==o)for(;r!==o;)t.push(r),(r=Je())===o&&(M.test(e.charAt(he))?(r=e.charAt(he),he++):(r=o,0===Oe&&Pe(k)));else t=o;return t}function Ve(){var t,r;if(t=[],L.test(e.charAt(he))?(r=e.charAt(he),he++):(r=o,0===Oe&&Pe($)),r!==o)for(;r!==o;)t.push(r),L.test(e.charAt(he))?(r=e.charAt(he),he++):(r=o,0===Oe&&Pe($));else t=o;return t}function Ze(){var t,r,n,a,i,u,c;return t=he,He()!==o&&(r=tt())!==o&&He()!==o?(123===e.charCodeAt(he)?(n="{",he++):(n=o,0===Oe&&Pe(h)),n!==o?(ye=he,rt.push("select"),void 0!==o&&(a=De())!==o?(125===e.charCodeAt(he)?(i="}",he++):(i=o,0===Oe&&Pe(y)),i!==o?(ye=t,u=r,c=a,rt.pop(),t=j({id:u,value:c},ot())):(he=t,t=o)):(he=t,t=o)):(he=t,t=o)):(he=t,t=o),t}function Ge(){var t,r,n,a,i,u,c;return t=he,He()!==o&&(r=function s(){var t,r,n,a;return t=he,r=he,61===e.charCodeAt(he)?(n="=",he++):(n=o,0===Oe&&Pe(q)),n!==o&&(a=We())!==o?r=n=[n,a]:(he=r,r=o),(t=r!==o?e.substring(t,he):r)===o&&(t=tt()),t}())!==o&&He()!==o?(123===e.charCodeAt(he)?(n="{",he++):(n=o,0===Oe&&Pe(h)),n!==o?(ye=he,rt.push("plural"),void 0!==o&&(a=De())!==o?(125===e.charCodeAt(he)?(i="}",he++):(i=o,0===Oe&&Pe(y)),i!==o?(ye=t,u=r,c=a,rt.pop(),t=j({id:u,value:c},ot())):(he=t,t=o)):(he=t,t=o)):(he=t,t=o)):(he=t,t=o),t}function Be(){var t;return Oe++,W.test(e.charAt(he))?(t=e.charAt(he),he++):(t=o,0===Oe&&Pe(J)),Oe--,t===o&&0===Oe&&Pe(H),t}function qe(){var t;return Oe++,Q.test(e.charAt(he))?(t=e.charAt(he),he++):(t=o,0===Oe&&Pe(X)),Oe--,t===o&&0===Oe&&Pe(K),t}function He(){var t,r,n;for(Oe++,t=he,r=[],n=Be();n!==o;)r.push(n),n=Be();return t=r!==o?e.substring(t,he):r,Oe--,t===o&&(r=o,0===Oe&&Pe(Y)),t}function We(){var t,r,n,a;return Oe++,t=he,45===e.charCodeAt(he)?(r="-",he++):(r=o,0===Oe&&Pe(te)),r===o&&(r=null),r!==o&&(n=et())!==o?(ye=t,t=r=(a=n)?r?-a:a:0):(he=t,t=o),Oe--,t===o&&(r=o,0===Oe&&Pe(ee)),t}function Je(){var t,r;return Oe++,t=he,"''"===e.substr(he,2)?(r="''",he+=2):(r=o,0===Oe&&Pe(ne)),r!==o&&(ye=t,r="'"),Oe--,(t=r)===o&&(r=o,0===Oe&&Pe(re)),t}function Ke(){var t,r,n,a,i,u;if(t=he,39===e.charCodeAt(he)?(r="'",he++):(r=o,0===Oe&&Pe(N)),r!==o)if((n=function c(){var t,r,n,a;return t=he,r=he,e.length>he?(n=e.charAt(he),he++):(n=o,0===Oe&&Pe(w)),n!==o?(ye=he,(a=(a=function(e){return"<"===e||">"===e||"{"===e||"}"===e||nt()&&"#"===e}(n))?void 0:o)!==o?r=n=[n,a]:(he=r,r=o)):(he=r,r=o),r!==o?e.substring(t,he):r}())!==o){for(a=he,i=[],"''"===e.substr(he,2)?(u="''",he+=2):(u=o,0===Oe&&Pe(ne)),u===o&&(C.test(e.charAt(he))?(u=e.charAt(he),he++):(u=o,0===Oe&&Pe(x)));u!==o;)i.push(u),"''"===e.substr(he,2)?(u="''",he+=2):(u=o,0===Oe&&Pe(ne)),u===o&&(C.test(e.charAt(he))?(u=e.charAt(he),he++):(u=o,0===Oe&&Pe(x)));(a=i!==o?e.substring(a,he):i)!==o?(39===e.charCodeAt(he)?(i="'",he++):(i=o,0===Oe&&Pe(N)),i===o&&(i=null),i!==o?(ye=t,t=r=n+a.replace("''","'")):(he=t,t=o)):(he=t,t=o)}else he=t,t=o;else he=t,t=o;return t}function Qe(){var t,r,n,a;return t=he,r=he,e.length>he?(n=e.charAt(he),he++):(n=o,0===Oe&&Pe(w)),n!==o?(ye=he,(a=(a=function(e){return!("<"===e||"{"===e||nt()&&"#"===e||function t(){return rt.length>1}()&&"}"===e)}(n))?void 0:o)!==o?r=n=[n,a]:(he=r,r=o)):(he=r,r=o),r===o&&(10===e.charCodeAt(he)?(r="\n",he++):(r=o,0===Oe&&Pe(oe))),r!==o?e.substring(t,he):r}function Xe(){var t,r;return Oe++,t=he,(r=et())===o&&(r=tt()),t=r!==o?e.substring(t,he):r,Oe--,t===o&&(r=o,0===Oe&&Pe(ae)),t}function Ye(){var t,r;return Oe++,t=he,(r=et())===o&&(r=function n(){var t,r,n,a,i;if(Oe++,t=he,r=[],45===e.charCodeAt(he)?(n="-",he++):(n=o,0===Oe&&Pe(te)),n===o&&(n=he,a=he,Oe++,(i=Be())===o&&(i=qe()),Oe--,i===o?a=void 0:(he=a,a=o),a!==o?(e.length>he?(i=e.charAt(he),he++):(i=o,0===Oe&&Pe(w)),i!==o?n=a=[a,i]:(he=n,n=o)):(he=n,n=o)),n!==o)for(;n!==o;)r.push(n),45===e.charCodeAt(he)?(n="-",he++):(n=o,0===Oe&&Pe(te)),n===o&&(n=he,a=he,Oe++,(i=Be())===o&&(i=qe()),Oe--,i===o?a=void 0:(he=a,a=o),a!==o?(e.length>he?(i=e.charAt(he),he++):(i=o,0===Oe&&Pe(w)),i!==o?n=a=[a,i]:(he=n,n=o)):(he=n,n=o));else r=o;return t=r!==o?e.substring(t,he):r,Oe--,t===o&&(r=o,0===Oe&&Pe(de)),t}()),t=r!==o?e.substring(t,he):r,Oe--,t===o&&(r=o,0===Oe&&Pe(ie)),t}function et(){var t,r,n,a,i;if(Oe++,t=he,48===e.charCodeAt(he)?(r="0",he++):(r=o,0===Oe&&Pe(ce)),r!==o&&(ye=t,r=0),(t=r)===o){if(t=he,r=he,se.test(e.charAt(he))?(n=e.charAt(he),he++):(n=o,0===Oe&&Pe(le)),n!==o){for(a=[],fe.test(e.charAt(he))?(i=e.charAt(he),he++):(i=o,0===Oe&&Pe(pe));i!==o;)a.push(i),fe.test(e.charAt(he))?(i=e.charAt(he),he++):(i=o,0===Oe&&Pe(pe));a!==o?r=n=[n,a]:(he=r,r=o)}else he=r,r=o;r!==o&&(ye=t,r=parseInt(r.join(""),10)),t=r}return Oe--,t===o&&(r=o,0===Oe&&Pe(ue)),t}function tt(){var t,r,n,a,i;if(Oe++,t=he,r=[],n=he,a=he,Oe++,(i=Be())===o&&(i=qe()),Oe--,i===o?a=void 0:(he=a,a=o),a!==o?(e.length>he?(i=e.charAt(he),he++):(i=o,0===Oe&&Pe(w)),i!==o?n=a=[a,i]:(he=n,n=o)):(he=n,n=o),n!==o)for(;n!==o;)r.push(n),n=he,a=he,Oe++,(i=Be())===o&&(i=qe()),Oe--,i===o?a=void 0:(he=a,a=o),a!==o?(e.length>he?(i=e.charAt(he),he++):(i=o,0===Oe&&Pe(w)),i!==o?n=a=[a,i]:(he=n,n=o)):(he=n,n=o);else r=o;return t=r!==o?e.substring(t,he):r,Oe--,t===o&&(r=o,0===Oe&&Pe(me)),t}var rt=["root"];function nt(){return"plural"===rt[rt.length-1]}function ot(){return t&&t.captureLocation?{location:Ae()}:{}}var at=t&&t.ignoreTag,it=t&&t.shouldParseSkeleton;if((r=i())!==o&&he===e.length)return r;throw r!==o&&he<e.length&&Pe({type:"end"}),function ut(e,t,r){return new P(P.buildMessage(e,t),e,t,r)}(be,ve<e.length?e.charAt(ve):null,je(ve,ve<e.length?ve+1:ve))},_=/(^|[^\\])#/g,N=function(){return(N=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function C(e,t){t=N({normalizeHashtagInPlural:!0,shouldParseSkeleton:!0},t||{});var r=R(e,t);return t.normalizeHashtagInPlural&&function e(t){t.forEach((function(t){(m(t)||p(t))&&Object.keys(t.options).forEach((function(r){for(var n,o=t.options[r],a=-1,i=void 0,c=0;c<o.value.length;c++){var s=o.value[c];if(u(s)&&_.test(s.value)){a=c,i=s;break}}if(i){var l=i.value.replace(_,"$1{"+t.value+", number}"),f=R(l);(n=o.value).splice.apply(n,function(){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}([a,1],f))}e(o.value)}))}))}(r),r}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 M(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 L(e,t){return k(e,this,1===e.length?x:M,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,M,t.cache.create(),t.serializer)},monadic:function q(e,t){return k(e,this,x,t.cache.create(),t.serializer)}};V.strategies=G;var H,W=Object.freeze(Object.assign(Object.create(null),V,{default:V,strategies:G})),J=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(H||(H={}));var K,Q=function(e){function t(t,r,n){var o=e.call(this,t)||this;return o.code=r,o.originalMessage=n,o}return J(t,e),t.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},t}(Error),X=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 J(t,e),t}(Q),Y=function(e){function t(t,r,n){return e.call(this,'Value for "'+t+'" must be of type '+r,"INVALID_VALUE",n)||this}return J(t,e),t}(Q),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 J(t,e),t}(Q);function te(e){return"function"==typeof e}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(K||(K={}));var re=function(){return(re=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},ne=function(){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 oe(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 ae,ie=V||W,ue=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,v){if(1===t.length&&u(t[0]))return[{type:0,value:t[0].value}];for(var b=[],O=0,w=t;O<w.length;O++){var A=w[O];if(u(A))b.push({type:0,value:A.value});else if(d(A))"number"==typeof i&&b.push({type:0,value:n.getNumberFormat(r).format(i)});else{var T=A.value;if(!a||!(T in a))throw new ee(T,v);var F=a[T];if(c(A))F&&"string"!=typeof F&&"number"!=typeof F||(F="string"==typeof F||"number"==typeof F?String(F):""),b.push({type:"string"==typeof F?0:1,value:F});else if(l(A)){var E="string"==typeof A.style?o.date[A.style]:g(A.style)?A.style.parsedOptions:void 0;b.push({type:0,value:n.getDateTimeFormat(r,E).format(F)})}else if(f(A))E="string"==typeof A.style?o.time[A.style]:g(A.style)?A.style.parsedOptions:void 0,b.push({type:0,value:n.getDateTimeFormat(r,E).format(F)});else if(s(A))E="string"==typeof A.style?o.number[A.style]:y(A.style)?A.style.parsedOptions:void 0,b.push({type:0,value:n.getNumberFormat(r,E).format(F)});else{if(h(A)){var I=A.children,S=A.value,j=a[S];if(!te(j))throw new Y(S,"function",v);var P=j(e(I,r,n,o,a,i).map((function(e){return e.value})));Array.isArray(P)||(P=[P]),b.push.apply(b,P.map((function(e){return{type:"string"==typeof e?0:1,value:e}})))}if(p(A)){if(!(R=A.options[F]||A.options.other))throw new X(A.value,F,Object.keys(A.options),v);b.push.apply(b,e(R.value,r,n,o,a))}else if(m(A)){var R;if(!(R=A.options["="+F])){if(!Intl.PluralRules)throw new Q('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',"MISSING_INTL_API",v);var D=n.getPluralRules(r,{type:A.pluralType}).select(F-(A.offset||0));R=A.options[D]||A.options.other}if(!R)throw new X(A.value,F,Object.keys(A.options),v);b.push.apply(b,e(R.value,r,n,o,a,F-(A.offset||0)))}}}}return function _(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}),[])}(b)}(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 i(e,t){return t?Object.keys(e).reduce((function(r,n){return r[n]=function o(e,t){return t?re(re(re({},e||{}),t||{}),Object.keys(e).reduce((function(r,n){return r[n]=re(re({},e[n]),t[n]||{}),r}),{})):e}(e[n],t[n]),r}),re({},e)):e}(e.formats,n),this.locales=r,this.formatters=o&&o.formatters||function v(e){return void 0===e&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:ie((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,ne([void 0],t)))}),{cache:oe(e.number),strategy:ie.strategies.variadic}),getDateTimeFormat:ie((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,ne([void 0],t)))}),{cache:oe(e.dateTime),strategy:ie.strategies.variadic}),getPluralRules:ie((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,ne([void 0],t)))}),{cache:oe(e.pluralRules),strategy:ie.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=C,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}(),ce=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();(ae=e.ReactIntlErrorCode||(e.ReactIntlErrorCode={})).FORMAT_ERROR="FORMAT_ERROR",ae.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",ae.INVALID_CONFIG="INVALID_CONFIG",ae.MISSING_DATA="MISSING_DATA",ae.MISSING_TRANSLATION="MISSING_TRANSLATION";var se=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 ce(t,e),t}(Error),le=function(e){function t(t,r){return e.call(this,"UNSUPPORTED_FORMATTER",t,r)||this}return ce(t,e),t}(se),fe=function(e){function t(t,r){return e.call(this,"INVALID_CONFIG",t,r)||this}return ce(t,e),t}(se),pe=function(e){function t(t,r){return e.call(this,"MISSING_DATA",t,r)||this}return ce(t,e),t}(se),me=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 ce(t,e),t}(se),de=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 ce(t,e),t}(se),he=function(){return(he=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},ye=function(){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 ge(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 ve={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},onError:function(e){}};function be(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 Oe=V||W;function we(e,t,r,n){var o,a=e&&e[t];if(a&&(o=a[r]),o)return o;n(new le("No "+t+" format named: "+r))}var Ae=function(){return(Ae=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function Te(e,t){return Object.keys(e).reduce((function(r,n){return r[n]=Ae({timeZone:t},e[n]),r}),{})}function Fe(e,t){return Object.keys(Ae(Ae({},e),t)).reduce((function(r,n){return r[n]=Ae(Ae({},e[n]||{}),t[n]||{}),r}),{})}function Ee(e,t){if(!t)return e;var r=ue.formats;return Ae(Ae(Ae({},r),e),{date:Fe(Te(r.date,t),Te(e.date||{},t)),time:Fe(Te(r.time,t),Te(e.time||{},t))})}function Ie(e,t,r,o){var a=e.locale,u=e.formats,c=e.messages,s=e.defaultLocale,l=e.defaultFormats,f=e.onError,p=e.timeZone,m=e.defaultRichTextElements;void 0===r&&(r={id:""});var d=r.id,h=r.defaultMessage;i(!!d,"[@formatjs/intl] An `id` must be provided to format a message.");var y=String(d),g=c&&Object.prototype.hasOwnProperty.call(c,y)&&c[y];if(Array.isArray(g)&&1===g.length&&g[0].type===n.literal)return g[0].value;if(!o&&g&&"string"==typeof g&&m&&console.error('[@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'),!o&&g&&"string"==typeof g&&!m)return g.replace(/'\{(.*?)\}'/gi,"{$1}");if(o=Ae(Ae({},m),o||{}),u=Ee(u,p),l=Ee(l,p),!g){if((!h||a&&a.toLowerCase()!==s.toLowerCase())&&f(new de(r,a)),h)try{return t.getMessageFormat(h,s,l).format(o)}catch(e){return f(new me('Error formatting default message for: "'+y+'", rendering default message verbatim',a,r,e)),"string"==typeof h?h:y}return y}try{return t.getMessageFormat(g,a,u,{formatters:t}).format(o)}catch(e){f(new me('Error formatting message: "'+y+'", using '+(h?"default message":"id")+" as fallback.",a,r,e))}if(h)try{return t.getMessageFormat(h,s,l).format(o)}catch(e){f(new me('Error formatting the default message for: "'+y+'", rendering message verbatim',a,r,e))}return"string"==typeof g?g:"string"==typeof h?h:y}var Se=function(){return(Se=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},je=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","fractionalSecondDigits","calendar","numberingSystem"];function Pe(e,t,r,n){var o=e.locale,a=e.formats,i=e.onError,u=e.timeZone;void 0===n&&(n={});var c=n.format,s=Se(Se({},u&&{timeZone:u}),c&&we(a,t,c,i)),l=ge(n,je,s);return"time"!==t||l.hour||l.minute||l.second||(l=Se(Se({},l),{hour:"numeric",minute:"numeric"})),r(o,l)}function Re(e,t,r,n){void 0===n&&(n={});var o="string"==typeof r?new Date(r||0):r;try{return Pe(e,"date",t,n).format(o)}catch(t){e.onError(new se("FORMAT_ERROR","Error formatting date.",t))}return String(o)}function De(e,t,r,n){void 0===n&&(n={});var o="string"==typeof r?new Date(r||0):r;try{return Pe(e,"time",t,n).format(o)}catch(t){e.onError(new se("FORMAT_ERROR","Error formatting time.",t))}return String(o)}function _e(e,t,r,n){void 0===n&&(n={});var o="string"==typeof r?new Date(r||0):r;try{return Pe(e,"date",t,n).formatToParts(o)}catch(t){e.onError(new se("FORMAT_ERROR","Error formatting date.",t))}return[]}function Ne(e,t,r,n){void 0===n&&(n={});var o="string"==typeof r?new Date(r||0):r;try{return Pe(e,"time",t,n).formatToParts(o)}catch(t){e.onError(new se("FORMAT_ERROR","Error formatting time.",t))}return[]}var Ce=["localeMatcher","style","type","fallback"];function xe(e,t,r,n){var o=e.locale,a=e.onError;Intl.DisplayNames||a(new Q('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',"MISSING_INTL_API"));var i=ge(n,Ce);try{return t(o,i).of(r)}catch(e){a(new se("FORMAT_ERROR","Error formatting display name.",e))}}var Me=["localeMatcher","type","style"],ke=Date.now();function Le(e,t,r,n){var o=e.locale,a=e.onError;void 0===n&&(n={}),Intl.ListFormat||a(new Q('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',"MISSING_INTL_API"));var i=ge(n,Me);try{var u={},c=r.map((function(e,t){if("object"==typeof e){var r=function n(e){return ke+"_"+e+"_"+ke}(t);return u[r]=e,r}return String(e)}));return Object.keys(u).length?t(o,i).formatToParts(c).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(c)}catch(e){a(new se("FORMAT_ERROR","Error formatting list.",e))}return r}var $e=["localeMatcher","type"];function Ue(e,t,r,n){var o=e.locale,a=e.onError;void 0===n&&(n={}),Intl.PluralRules||a(new Q('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',"MISSING_INTL_API"));var i=ge(n,$e);try{return t(o,i).select(r)}catch(e){a(new me("Error formatting plural.",e))}return"other"}var ze=["numeric","style"];function Ve(e,t,r,n,o){void 0===o&&(o={}),n||(n="second"),Intl.RelativeTimeFormat||e.onError(new Q('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&&we(e.formats,"relative",o,e.onError)||{};return t(n,ge(r,ze,a))}(e,t,o).format(r,n)}catch(t){e.onError(new me("Error formatting relative time.",t))}return String(r)}var Ze=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay"];function Ge(e,t,r){var n=e.locale;void 0===r&&(r={});var o=r.format,a=o&&we(e.formats,"number",o,e.onError)||{};return t(n,ge(r,Ze,a))}function Be(e,t,r,n){void 0===n&&(n={});try{return Ge(e,t,n).format(r)}catch(t){e.onError(new se("FORMAT_ERROR","Error formatting number.",t))}return String(r)}function qe(e,t,r,n){void 0===n&&(n={});try{return Ge(e,t,n).formatToParts(r)}catch(t){e.onError(new se("FORMAT_ERROR","Error formatting number.",t))}return[]}var He=function(){return(He=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},We=function(){return(We=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function Je(e){i(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var Ke=We(We({},ve),{textComponent:t.Fragment}),Qe="function"==typeof Symbol&&Symbol.for,Xe=Qe?Symbol.for("react.element"):60103,Ye=Qe?Symbol.for("react.portal"):60106,et=Qe?Symbol.for("react.fragment"):60107,tt=Qe?Symbol.for("react.strict_mode"):60108,rt=Qe?Symbol.for("react.profiler"):60114,nt=Qe?Symbol.for("react.provider"):60109,ot=Qe?Symbol.for("react.context"):60110,at=Qe?Symbol.for("react.async_mode"):60111,it=Qe?Symbol.for("react.concurrent_mode"):60111,ut=Qe?Symbol.for("react.forward_ref"):60112,ct=Qe?Symbol.for("react.suspense"):60113,st=Qe?Symbol.for("react.suspense_list"):60120,lt=Qe?Symbol.for("react.memo"):60115,ft=Qe?Symbol.for("react.lazy"):60116,pt=Qe?Symbol.for("react.block"):60121,mt=Qe?Symbol.for("react.fundamental"):60117,dt=Qe?Symbol.for("react.responder"):60118,ht=Qe?Symbol.for("react.scope"):60119;function yt(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Xe:switch(e=e.type){case at:case it:case et:case rt:case tt:case ct:return e;default:switch(e=e&&e.$$typeof){case ot:case ut:case ft:case lt:case nt:return e;default:return t}}case Ye:return t}}}function gt(e){return yt(e)===it}var vt={AsyncMode:at,ConcurrentMode:it,ContextConsumer:ot,ContextProvider:nt,Element:Xe,ForwardRef:ut,Fragment:et,Lazy:ft,Memo:lt,Portal:Ye,Profiler:rt,StrictMode:tt,Suspense:ct,isAsyncMode:function(e){return gt(e)||yt(e)===at},isConcurrentMode:gt,isContextConsumer:function(e){return yt(e)===ot},isContextProvider:function(e){return yt(e)===nt},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Xe},isForwardRef:function(e){return yt(e)===ut},isFragment:function(e){return yt(e)===et},isLazy:function(e){return yt(e)===ft},isMemo:function(e){return yt(e)===lt},isPortal:function(e){return yt(e)===Ye},isProfiler:function(e){return yt(e)===rt},isStrictMode:function(e){return yt(e)===tt},isSuspense:function(e){return yt(e)===ct},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===et||e===it||e===rt||e===tt||e===ct||e===st||"object"==typeof e&&null!==e&&(e.$$typeof===ft||e.$$typeof===lt||e.$$typeof===nt||e.$$typeof===ot||e.$$typeof===ut||e.$$typeof===mt||e.$$typeof===dt||e.$$typeof===ht||e.$$typeof===pt)},typeOf:yt},bt=function Ot(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")}
2
2
  /** @license React v16.13.1
3
3
  * react-is.production.min.js
4
4
  *