From 48fedb1bdd5ae15892f47724e5f5a9f2a876a90b Mon Sep 17 00:00:00 2001 From: wordpure Date: Thu, 23 Feb 2023 05:26:40 +0000 Subject: [PATCH 1/3] Translated using Weblate (Chinese (Simplified)) Currently translated at 100.0% (121 of 121 strings) Translate-URL: https://hosted.weblate.org/projects/localcdn/localcdn/zh_Hans/ --- _locales/zh_CN/messages.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/_locales/zh_CN/messages.json b/_locales/zh_CN/messages.json index 7bd771ff..1270880e 100644 --- a/_locales/zh_CN/messages.json +++ b/_locales/zh_CN/messages.json @@ -24,7 +24,7 @@ "description": "Block requests for missing resources title" }, "blockMissingDescription": { - "message": "即使所需的资源在本地不可用,也取消拦截的请求。", + "message": "如果所需的资源在本地不可用,则取消拦截的请求。", "description": "Block requests for missing resources description." }, "disablePrefetchTitle": { @@ -128,7 +128,7 @@ "description": "If requests for missing resources are allowed, connections to \"fonts.googleapis.com\" are not blocked. Enable this option to block these requests." }, "chooseIconStyle": { - "message": "选择一个此扩展程序的图标", + "message": "选择扩展程序的图标", "description": "Choose an icon for this extension" }, "internalStatisticsTitle": { @@ -272,7 +272,7 @@ "description": "Introduction" }, "helpHtmlFilterTitle": { - "message": "什么是 »HTML 过滤器«?", + "message": "什么是 »HTML 过滤器«?", "description": "What is »HTML filter«?" }, "helpRuleGeneratorTitle": { From c77f871d2eb0e06f3ab73434c87ff3188598cf22 Mon Sep 17 00:00:00 2001 From: nobody Date: Sat, 25 Feb 2023 10:52:02 +0100 Subject: [PATCH 2/3] react-intl v6.2.8 -> v6.2.10 (1344) --- THIRD_PARTY.txt | 2 +- modules/internal/targets.js | 2 +- pages/updates/updates.html | 4 ++-- .../6.2.10/6.2.8/react-intl.iife.min.jsm | 16 ++++++++++++++++ .../react-intl/6.2.8/react-intl.iife.min.jsm | 16 ---------------- 5 files changed, 20 insertions(+), 20 deletions(-) create mode 100644 resources/react-intl/6.2.10/6.2.8/react-intl.iife.min.jsm delete mode 100644 resources/react-intl/6.2.8/react-intl.iife.min.jsm diff --git a/THIRD_PARTY.txt b/THIRD_PARTY.txt index edeed0f5..3a6d6577 100644 --- a/THIRD_PARTY.txt +++ b/THIRD_PARTY.txt @@ -1872,7 +1872,7 @@ https://cdn.jsdelivr.net/npm/p2p-media-loader-hlsjs@0.6.2/build/p2p-media-loader https://cdn.jsdelivr.net/npm/plyr@3.7.3/dist/plyr.css https://cdn.jsdelivr.net/npm/plyr@3.7.3/dist/plyr.min.js https://cdn.jsdelivr.net/npm/raven-js@3.27.2/dist/raven.min.js -https://cdn.jsdelivr.net/npm/react-intl@6.2.8/react-intl.iife.min.js +https://cdn.jsdelivr.net/npm/react-intl@6.2.10/react-intl.iife.min.js https://cdn.jsdelivr.net/npm/react-lifecycles-compat@3.0.4/react-lifecycles-compat.min.js https://cdn.jsdelivr.net/npm/search-insights@1.9.0/dist/search-insights.min.js https://cdn.jsdelivr.net/npm/search-insights@2.3.0/dist/search-insights.min.js diff --git a/modules/internal/targets.js b/modules/internal/targets.js index 686cc705..5365f16c 100644 --- a/modules/internal/targets.js +++ b/modules/internal/targets.js @@ -395,7 +395,7 @@ targets.setLastVersion = function (type, version) { if (type.startsWith('/react-dom/18.')) return '18.2.0'; if (type.startsWith('/react-intl/')) { // NOTE: Parameters swapped. (= anything greater than v5.0.0) - if (helpers.compareVersion(version, '5.0.0')) return '6.2.8'; // >= v5.0.0 + if (helpers.compareVersion(version, '5.0.0')) return '6.2.10'; // >= v5.0.0 } if (type.startsWith('/react-redux/7.')) return '7.2.8'; if (type.startsWith('/react-redux/8.')) return '8.0.5'; diff --git a/pages/updates/updates.html b/pages/updates/updates.html index 44fc1ecd..caafc612 100644 --- a/pages/updates/updates.html +++ b/pages/updates/updates.html @@ -25,9 +25,9 @@

New in LocalCDN:

-

+

Updates

    -
  • +
  • react-intl v6.2.8 -> v6.2.10 (#1344)
diff --git a/resources/react-intl/6.2.10/6.2.8/react-intl.iife.min.jsm b/resources/react-intl/6.2.10/6.2.8/react-intl.iife.min.jsm new file mode 100644 index 00000000..dd8db76d --- /dev/null +++ b/resources/react-intl/6.2.10/6.2.8/react-intl.iife.min.jsm @@ -0,0 +1,16 @@ +/** + * Minified by jsDelivr using Terser v5.15.1. + * Original file: /npm/react-intl@6.2.10/react-intl.iife.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +var ReactIntl=(()=>{var e=Object.create,t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.getPrototypeOf,i=Object.prototype.hasOwnProperty,a=(e,t)=>function(){return t||(0,e[n(e)[0]])((t={exports:{}}).exports,t),t.exports},u=(e,o,a,u)=>{if(o&&"object"==typeof o||"function"==typeof o)for(let s of n(o))i.call(e,s)||s===a||t(e,s,{get:()=>o[s],enumerable:!(u=r(o,s))||u.enumerable});return e},s=(r,n,i)=>(i=null!=r?e(o(r)):{},u(!n&&r&&r.__esModule?i:t(i,"default",{value:r,enumerable:!0}),r)),l=a({"../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/tslib@2.4.0/node_modules/tslib/tslib.js"(e,t){var r,n,o,i,a,u,s,l,c,h,f,m,p,d,E,g,y,v,b,D,_,T,F,A,B;!function(e){var r="object"==typeof global?global:"object"==typeof self?self:"object"==typeof this?this:{};function n(e,t){return e!==r&&("function"==typeof Object.create?Object.defineProperty(e,"__esModule",{value:!0}):e.__esModule=!0),function(r,n){return e[r]=t?t(r,n):n}}"function"==typeof define&&define.amd?define("tslib",["exports"],(function(t){e(n(r,n(t)))})):"object"==typeof t&&"object"==typeof t.exports?e(n(r,n(t.exports))):e(n(r))}((function(e){var 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])};r=function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)},n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r=0;u--)(o=e[u])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},a=function(e,t){return function(r,n){t(r,n,e)}},u=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},s=function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{s(n.next(e))}catch(e){i(e)}}function u(e){try{s(n.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,u)}s((n=n.apply(e,t||[])).next())}))},l=function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},f=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},m=function(){for(var e=[],t=0;t1||u(e,t)}))})}function u(e,t){try{(r=o[e](t)).value instanceof E?Promise.resolve(r.value.v).then(s,l):c(i[0][2],r)}catch(e){c(i[0][3],e)}var r}function s(e){u("next",e)}function l(e){u("throw",e)}function c(e,t){e(t),i.shift(),i.length&&u(i[0][0],i[0][1])}},y=function(e){var t,r;return t={},n("next"),n("throw",(function(e){throw e})),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,o){t[n]=e[n]?function(t){return(r=!r)?{value:E(e[n](t)),done:"return"===n}:o?o(t):t}:o}},v=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=h(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise((function(n,o){(function(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)})(n,o,(t=e[r](t)).done,t.value)}))}}},b=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};var S=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};D=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&B(t,e,r);return S(t,e),t},_=function(e){return e&&e.__esModule?e:{default:e}},T=function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)},F=function(e,t,r,n,o){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?o.call(e,r):o?o.value=r:t.set(e,r),r},A=function(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)},e("__extends",r),e("__assign",n),e("__rest",o),e("__decorate",i),e("__param",a),e("__metadata",u),e("__awaiter",s),e("__generator",l),e("__exportStar",c),e("__createBinding",B),e("__values",h),e("__read",f),e("__spread",m),e("__spreadArrays",p),e("__spreadArray",d),e("__await",E),e("__asyncGenerator",g),e("__asyncDelegator",y),e("__asyncValues",v),e("__makeTemplateObject",b),e("__importStar",D),e("__importDefault",_),e("__classPrivateFieldGet",T),e("__classPrivateFieldSet",F),e("__classPrivateFieldIn",A)}))}}),c=a({"../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js"(e){"use strict";(function(){var t="function"==typeof Symbol&&Symbol.for,r=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,o=t?Symbol.for("react.fragment"):60107,i=t?Symbol.for("react.strict_mode"):60108,a=t?Symbol.for("react.profiler"):60114,u=t?Symbol.for("react.provider"):60109,s=t?Symbol.for("react.context"):60110,l=t?Symbol.for("react.async_mode"):60111,c=t?Symbol.for("react.concurrent_mode"):60111,h=t?Symbol.for("react.forward_ref"):60112,f=t?Symbol.for("react.suspense"):60113,m=t?Symbol.for("react.suspense_list"):60120,p=t?Symbol.for("react.memo"):60115,d=t?Symbol.for("react.lazy"):60116,E=t?Symbol.for("react.block"):60121,g=t?Symbol.for("react.fundamental"):60117,y=t?Symbol.for("react.responder"):60118,v=t?Symbol.for("react.scope"):60119;function b(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:var m=e.type;switch(m){case l:case c:case o:case a:case i:case f:return m;default:var E=m&&m.$$typeof;switch(E){case s:case h:case d:case p:case u:return E;default:return t}}case n:return t}}}var D=l,_=c,T=s,F=u,A=r,B=h,S=o,P=d,C=p,R=n,H=a,I=i,N=f,w=!1;function O(e){return b(e)===c}e.AsyncMode=D,e.ConcurrentMode=_,e.ContextConsumer=T,e.ContextProvider=F,e.Element=A,e.ForwardRef=B,e.Fragment=S,e.Lazy=P,e.Memo=C,e.Portal=R,e.Profiler=H,e.StrictMode=I,e.Suspense=N,e.isAsyncMode=function(e){return w||(w=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),O(e)||b(e)===l},e.isConcurrentMode=O,e.isContextConsumer=function(e){return b(e)===s},e.isContextProvider=function(e){return b(e)===u},e.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},e.isForwardRef=function(e){return b(e)===h},e.isFragment=function(e){return b(e)===o},e.isLazy=function(e){return b(e)===d},e.isMemo=function(e){return b(e)===p},e.isPortal=function(e){return b(e)===n},e.isProfiler=function(e){return b(e)===a},e.isStrictMode=function(e){return b(e)===i},e.isSuspense=function(e){return b(e)===f},e.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===c||e===a||e===i||e===f||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===p||e.$$typeof===u||e.$$typeof===s||e.$$typeof===h||e.$$typeof===g||e.$$typeof===y||e.$$typeof===v||e.$$typeof===E)},e.typeOf=b})()}}),h=a({"../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/react-is@16.13.1/node_modules/react-is/index.js"(e,t){"use strict";t.exports=c()}}),f=a({"../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/hoist-non-react-statics@3.3.2/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"(e,t){"use strict";var r=h(),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function u(e){return r.isMemo(e)?i:a[e.$$typeof]||n}a[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[r.Memo]=i;var s=Object.defineProperty,l=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,p=Object.prototype;t.exports=function e(t,r,n){if("string"!=typeof r){if(p){var i=m(r);i&&i!==p&&e(t,i,n)}var a=l(r);c&&(a=a.concat(c(r)));for(var h=u(t),d=u(r),E=0;E{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(m,{FormattedDate:()=>en,FormattedDateParts:()=>an,FormattedDateTimeRange:()=>Wr,FormattedDisplayName:()=>on,FormattedList:()=>nn,FormattedListParts:()=>Tr,FormattedMessage:()=>Zr,FormattedNumber:()=>rn,FormattedNumberParts:()=>_r,FormattedPlural:()=>Vr,FormattedRelativeTime:()=>jr,FormattedTime:()=>tn,FormattedTimeParts:()=>un,IntlContext:()=>vr,IntlProvider:()=>Hr,InvalidConfigError:()=>Bt,MessageFormatError:()=>Ct,MissingDataError:()=>St,MissingTranslationError:()=>Rt,RawIntlProvider:()=>yr,ReactIntlError:()=>Ft,ReactIntlErrorCode:()=>Dt,UnsupportedFormatterError:()=>At,createIntl:()=>Rr,createIntlCache:()=>Nt,defineMessage:()=>Qr,defineMessages:()=>qr,injectIntl:()=>br,useIntl:()=>Dr});var p=s(l(),1),{__extends:d,__assign:E,__rest:g,__decorate:y,__param:v,__metadata:b,__awaiter:D,__generator:_,__exportStar:T,__createBinding:F,__values:A,__read:B,__spread:S,__spreadArrays:P,__spreadArray:C,__await:R,__asyncGenerator:H,__asyncDelegator:I,__asyncValues:N,__makeTemplateObject:w,__importStar:O,__importDefault:L,__classPrivateFieldGet:M,__classPrivateFieldSet:G,__classPrivateFieldIn:U}=p.default,j=s(window.React),x=s(window.React),k=s(window.React),V=s(f()),X=s(window.React);["angle-degree","area-acre","area-hectare","concentr-percent","digital-bit","digital-byte","digital-gigabit","digital-gigabyte","digital-kilobit","digital-kilobyte","digital-megabit","digital-megabyte","digital-petabyte","digital-terabit","digital-terabyte","duration-day","duration-hour","duration-millisecond","duration-minute","duration-month","duration-second","duration-week","duration-year","length-centimeter","length-foot","length-inch","length-kilometer","length-meter","length-mile-scandinavian","length-mile","length-millimeter","length-yard","mass-gram","mass-kilogram","mass-ounce","mass-pound","mass-stone","temperature-celsius","temperature-fahrenheit","volume-fluid-ounce","volume-gallon","volume-liter","volume-milliliter"].map((function(e){return e.slice(e.indexOf("-")+1)}));function $(e,t,r){if(void 0===r&&(r=Error),!e)throw new r(t)}var K,Z,Y,z,W,q,Q,J,ee=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20BF\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC1\uFDFC\uFDFD\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDE8\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEE0-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF73\uDF80-\uDFD8\uDFE0-\uDFEB]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDD78\uDD7A-\uDDCB\uDDCD-\uDE53\uDE60-\uDE6D\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6\uDF00-\uDF92\uDF94-\uDFCA]/;new RegExp("^".concat(ee.source)),new RegExp("".concat(ee.source,"$")),function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="MISSING_LOCALE_DATA",t}d(t,e)}(Error);function te(e){return e.type===W.literal}function re(e){return e.type===W.argument}function ne(e){return e.type===W.number}function oe(e){return e.type===W.date}function ie(e){return e.type===W.time}function ae(e){return e.type===W.select}function ue(e){return e.type===W.plural}function se(e){return e.type===W.pound}function le(e){return e.type===W.tag}function ce(e){return!(!e||"object"!=typeof e||e.type!==Q.number)}function he(e){return!(!e||"object"!=typeof e||e.type!==Q.dateTime)}(Z=K||(K={})).startRange="startRange",Z.shared="shared",Z.endRange="endRange",(z=Y||(Y={}))[z.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",z[z.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",z[z.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",z[z.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",z[z.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",z[z.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",z[z.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",z[z.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",z[z.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",z[z.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",z[z.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",z[z.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",z[z.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",z[z.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",z[z.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",z[z.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",z[z.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",z[z.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",z[z.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",z[z.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",z[z.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",z[z.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",z[z.INVALID_TAG=23]="INVALID_TAG",z[z.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",z[z.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",z[z.UNCLOSED_TAG=27]="UNCLOSED_TAG",(q=W||(W={}))[q.literal=0]="literal",q[q.argument=1]="argument",q[q.number=2]="number",q[q.date=3]="date",q[q.time=4]="time",q[q.select=5]="select",q[q.plural=6]="plural",q[q.pound=7]="pound",q[q.tag=8]="tag",(J=Q||(Q={}))[J.number=0]="number",J[J.dateTime=1]="dateTime";var fe=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,me=/(?:[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;function pe(e){var t={};return e.replace(me,(function(e){var r=e.length;switch(e[0]){case"G":t.era=4===r?"long":5===r?"narrow":"short";break;case"y":t.year=2===r?"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":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===r?"short":5===r?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-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":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=r<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""})),t}var de=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var Ee=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,ge=/^(@+)?(\+|#+)?[rs]?$/g,ye=/(\*)(0+)|(#+)(0+)|(0+)/g,ve=/^(0+)$/;function be(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(ge,(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 De(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function _e(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!ve.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Te(e){var t=De(e);return t||{}}function Fe(e){for(var t={},r=0,n=e;r1)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(ye,(function(e,r,n,o,i,a){if(r)t.minimumIntegerDigits=n.length;else{if(o&&i)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(ve.test(o.stem))t.minimumIntegerDigits=o.stem.length;else if(Ee.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(Ee,(function(e,r,n,o,i,a){return"*"===n?t.minimumFractionDigits=r.length:o&&"#"===o[0]?t.maximumFractionDigits=o.length:i&&a?(t.minimumFractionDigits=i.length,t.maximumFractionDigits=i.length+a.length):(t.minimumFractionDigits=r.length,t.maximumFractionDigits=r.length),""}));var i=o.options[0];"w"===i?t=E(E({},t),{trailingZeroDisplay:"stripIfInteger"}):i&&(t=E(E({},t),be(i)))}else if(ge.test(o.stem))t=E(E({},t),be(o.stem));else{var a=De(o.stem);a&&(t=E(E({},t),a));var u=_e(o.stem);u&&(t=E(E({},t),u))}}return t}var Ae,Be={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};function Se(e){var t=e.hourCycle;if(void 0===t&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r,n=e.language;return"root"!==n&&(r=e.maximize().region),(Be[r||""]||Be[n||""]||Be["".concat(n,"-001")]||Be["001"])[0]}var Pe=new RegExp("^".concat(fe.source,"*")),Ce=new RegExp("".concat(fe.source,"*$"));function Re(e,t){return{start:e,end:t}}var He=!!String.prototype.startsWith,Ie=!!String.fromCodePoint,Ne=!!Object.fromEntries,we=!!String.prototype.codePointAt,Oe=!!String.prototype.trimStart,Le=!!String.prototype.trimEnd,Me=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Ge=!0;try{Ge="a"===(null===(Ae=Ze("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Ae?void 0:Ae[0])}catch(e){Ge=!1}var Ue,je,xe=He?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},ke=Ie?String.fromCodePoint:function(){for(var e=[],t=0;ti;){if((r=e[i++])>1114111)throw RangeError(r+" is not a valid code point");n+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return n},Ve=Ne?Object.fromEntries:function(e){for(var t={},r=0,n=e;r=r)){var n,o=e.charCodeAt(t);return o<55296||o>56319||t+1===r||(n=e.charCodeAt(t+1))<56320||n>57343?o:n-56320+(o-55296<<10)+65536}},$e=Oe?function(e){return e.trimStart()}:function(e){return e.replace(Pe,"")},Ke=Le?function(e){return e.trimEnd()}:function(e){return e.replace(Ce,"")};function Ze(e,t){return new RegExp(e,t)}Ge?(je=Ze("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),Ue=function(e,t){var r;return je.lastIndex=t,null!==(r=je.exec(e)[1])&&void 0!==r?r:""}):Ue=function(e,t){for(var r=[];;){var n=Xe(e,t);if(void 0===n||We(n)||qe(n))break;r.push(n),t+=n>=65536?2:1}return ke.apply(void 0,r)};var Ye=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,r){for(var n=[];!this.isEOF();){var o=this.char();if(123===o){if((i=this.parseArgument(e,r)).err)return i;n.push(i.val)}else{if(125===o&&e>0)break;if(35!==o||"plural"!==t&&"selectordinal"!==t){if(60===o&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(Y.UNMATCHED_CLOSING_TAG,Re(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&ze(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i;n.push(i.val)}else{var i;if((i=this.parseLiteral(e,t)).err)return i;n.push(i.val)}}else{var a=this.clonePosition();this.bump(),n.push({type:W.pound,location:Re(a,this.clonePosition())})}}}return{val:n,err:null}},e.prototype.parseTag=function(e,t){var r=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:W.literal,value:"<".concat(n,"/>"),location:Re(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(e+1,t,!0);if(o.err)return o;var i=o.val,a=this.clonePosition();if(this.bumpIf("")?{val:{type:W.tag,value:n,children:i,location:Re(r,this.clonePosition())},err:null}:this.error(Y.INVALID_TAG,Re(a,this.clonePosition())))}return this.error(Y.UNCLOSED_TAG,Re(r,this.clonePosition()))}return this.error(Y.INVALID_TAG,Re(r,this.clonePosition()))},e.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),n="";;){var o=this.tryParseQuote(t);if(o)n+=o;else{var i=this.tryParseUnquoted(e,t);if(i)n+=i;else{var a=this.tryParseLeftAngleBracket();if(!a)break;n+=a}}}var u=Re(r,this.clonePosition());return{val:{type:W.literal,value:n,location:u},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(ze(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(r);this.bump()}return ke.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&e>0?null:(this.bump(),ke(r))},e.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Y.EXPECT_ARGUMENT_CLOSING_BRACE,Re(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(Y.EMPTY_ARGUMENT,Re(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(Y.MALFORMED_ARGUMENT,Re(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Y.EXPECT_ARGUMENT_CLOSING_BRACE,Re(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:W.argument,value:n,location:Re(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Y.EXPECT_ARGUMENT_CLOSING_BRACE,Re(r,this.clonePosition())):this.parseArgumentOptions(e,t,n,r);default:return this.error(Y.MALFORMED_ARGUMENT,Re(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=Ue(this.message,t),n=t+r.length;return this.bumpTo(n),{value:r,location:Re(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,r,n){var o,i=this.clonePosition(),a=this.parseIdentifierIfPossible().value,u=this.clonePosition();switch(a){case"":return this.error(Y.EXPECT_ARGUMENT_TYPE,Re(i,u));case"number":case"date":case"time":this.bumpSpace();var s=null;if(this.bumpIf(",")){this.bumpSpace();var l=this.clonePosition();if((y=this.parseSimpleArgStyleIfPossible()).err)return y;if(0===(m=Ke(y.val)).length)return this.error(Y.EXPECT_ARGUMENT_STYLE,Re(this.clonePosition(),this.clonePosition()));s={style:m,styleLocation:Re(l,this.clonePosition())}}if((v=this.tryParseArgumentClose(n)).err)return v;var c=Re(n,this.clonePosition());if(s&&xe(null==s?void 0:s.style,"::",0)){var h=$e(s.style.slice(2));if("number"===a)return(y=this.parseNumberSkeletonFromString(h,s.styleLocation)).err?y:{val:{type:W.number,value:r,location:c,style:y.val},err:null};if(0===h.length)return this.error(Y.EXPECT_DATE_TIME_SKELETON,c);var f=h;this.locale&&(f=function(e,t){for(var r="",n=0;n>1),s=Se(t);for("H"!=s&&"k"!=s||(u=0);u-- >0;)r+="a";for(;a-- >0;)r=s+r}else r+="J"===o?"H":o}return r}(h,this.locale));var m={type:Q.dateTime,pattern:f,location:s.styleLocation,parsedOptions:this.shouldParseSkeletons?pe(f):{}};return{val:{type:"date"===a?W.date:W.time,value:r,location:c,style:m},err:null}}return{val:{type:"number"===a?W.number:"date"===a?W.date:W.time,value:r,location:c,style:null!==(o=null==s?void 0:s.style)&&void 0!==o?o:null},err:null};case"plural":case"selectordinal":case"select":var p=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Y.EXPECT_SELECT_ARGUMENT_OPTIONS,Re(p,E({},p)));this.bumpSpace();var d=this.parseIdentifierIfPossible(),g=0;if("select"!==a&&"offset"===d.value){if(!this.bumpIf(":"))return this.error(Y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Re(this.clonePosition(),this.clonePosition()));var y;if(this.bumpSpace(),(y=this.tryParseDecimalInteger(Y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return y;this.bumpSpace(),d=this.parseIdentifierIfPossible(),g=y.val}var v,b=this.tryParsePluralOrSelectOptions(e,a,t,d);if(b.err)return b;if((v=this.tryParseArgumentClose(n)).err)return v;var D=Re(n,this.clonePosition());return"select"===a?{val:{type:W.select,value:r,options:Ve(b.val),location:D},err:null}:{val:{type:W.plural,value:r,options:Ve(b.val),offset:g,pluralType:"plural"===a?"cardinal":"ordinal",location:D},err:null};default:return this.error(Y.INVALID_ARGUMENT_TYPE,Re(i,u))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(Y.EXPECT_ARGUMENT_CLOSING_BRACE,Re(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();){switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(Y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Re(r,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],r=0,n=e.split(de).filter((function(e){return e.length>0}));r=48&&a<=57))break;o=!0,i=10*i+(a-48),this.bump()}var u=Re(n,this.clonePosition());return o?Me(i*=r)?{val:i,err:null}:this.error(t,u):this.error(e,u)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Xe(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(xe(this.message,e,this.offset())){for(var t=0;t=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&We(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),r=this.message.charCodeAt(t+(e>=65536?2:1));return null!=r?r:null},e}();function ze(e){return e>=97&&e<=122||e>=65&&e<=90}function We(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function qe(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function Qe(e){e.forEach((function(e){if(delete e.location,ae(e)||ue(e))for(var t in e.options)delete e.options[t].location,Qe(e.options[t].value);else ne(e)&&ce(e.style)||(oe(e)||ie(e))&&he(e.style)?delete e.style.location:le(e)&&Qe(e.children)}))}function Je(e,t){void 0===t&&(t={}),t=E({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Ye(e,t).parse();if(r.err){var n=SyntaxError(Y[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return(null==t?void 0:t.captureLocation)||Qe(r.val),r.val}function et(e,t){var r=t&&t.cache?t.cache:lt,n=t&&t.serializer?t.serializer:it;return(t&&t.strategy?t.strategy:ot)(e,{cache:r,serializer:n})}function tt(e,t,r,n){var o,i=null==(o=n)||"number"==typeof o||"boolean"==typeof o?n:r(n),a=t.get(i);return void 0===a&&(a=e.call(this,n),t.set(i,a)),a}function rt(e,t,r){var n=Array.prototype.slice.call(arguments,3),o=r(n),i=t.get(o);return void 0===i&&(i=e.apply(this,n),t.set(o,i)),i}function nt(e,t,r,n,o){return r.bind(t,e,n,o)}function ot(e,t){return nt(e,this,1===e.length?tt:rt,t.cache.create(),t.serializer)}var it=function(){return JSON.stringify(arguments)};function at(){this.cache=Object.create(null)}at.prototype.get=function(e){return this.cache[e]},at.prototype.set=function(e,t){this.cache[e]=t};var ut,st,lt={create:function(){return new at}},ct={variadic:function(e,t){return nt(e,this,rt,t.cache.create(),t.serializer)},monadic:function(e,t){return nt(e,this,tt,t.cache.create(),t.serializer)}};(st=ut||(ut={})).MISSING_VALUE="MISSING_VALUE",st.INVALID_VALUE="INVALID_VALUE",st.MISSING_INTL_API="MISSING_INTL_API";var ht,ft,mt=function(e){function t(t,r,n){var o=e.call(this,t)||this;return o.code=r,o.originalMessage=n,o}return d(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),pt=function(e){function t(t,r,n,o){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(r,'". Options are "').concat(Object.keys(n).join('", "'),'"'),ut.INVALID_VALUE,o)||this}return d(t,e),t}(mt),dt=function(e){function t(t,r,n){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(r),ut.INVALID_VALUE,n)||this}return d(t,e),t}(mt),Et=function(e){function t(t,r){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(r,'"'),ut.MISSING_VALUE,r)||this}return d(t,e),t}(mt);function gt(e){return"function"==typeof e}function yt(e,t,r,n,o,i,a){if(1===e.length&&te(e[0]))return[{type:ht.literal,value:e[0].value}];for(var u=[],s=0,l=e;s0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])}},e.__parse=Je,e.formats={number:{integer:{maximumFractionDigits:0},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}();(_t=Dt||(Dt={})).FORMAT_ERROR="FORMAT_ERROR",_t.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",_t.INVALID_CONFIG="INVALID_CONFIG",_t.MISSING_DATA="MISSING_DATA",_t.MISSING_TRANSLATION="MISSING_TRANSLATION";var Ft=function(e){function t(r,n,o){var i=this,a=o?o instanceof Error?o:new Error(String(o)):void 0;return(i=e.call(this,"[@formatjs/intl Error ".concat(r,"] ").concat(n,"\n").concat(a?"\n".concat(a.message,"\n").concat(a.stack):""))||this).code=r,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(i,t),i}return d(t,e),t}(Error),At=function(e){function t(t,r){return e.call(this,Dt.UNSUPPORTED_FORMATTER,t,r)||this}return d(t,e),t}(Ft),Bt=function(e){function t(t,r){return e.call(this,Dt.INVALID_CONFIG,t,r)||this}return d(t,e),t}(Ft),St=function(e){function t(t,r){return e.call(this,Dt.MISSING_DATA,t,r)||this}return d(t,e),t}(Ft),Pt=function(e){function t(t,r,n){return e.call(this,Dt.FORMAT_ERROR,"".concat(t,"\nLocale: ").concat(r,"\n"),n)||this}return d(t,e),t}(Ft),Ct=function(e){function t(t,r,n,o){var i=e.call(this,"".concat(t,"\nMessageID: ").concat(null==n?void 0:n.id,"\nDefault Message: ").concat(null==n?void 0:n.defaultMessage,"\nDescription: ").concat(null==n?void 0:n.description,"\n"),r,o)||this;return i.descriptor=n,i}return d(t,e),t}(Pt),Rt=function(e){function t(t,r){var n=e.call(this,Dt.MISSING_TRANSLATION,'Missing message: "'.concat(t.id,'" for locale "').concat(r,'", using ').concat(t.defaultMessage?"default message (".concat("string"==typeof t.defaultMessage?t.defaultMessage:t.defaultMessage.map((function(e){var t;return null!==(t=e.value)&&void 0!==t?t:JSON.stringify(e)})).join(),")"):"id"," as fallback."))||this;return n.descriptor=t,n}return d(t,e),t}(Ft);function Ht(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 It={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:function(e){console.error(e)},onWarn:function(e){console.warn(e)}};function Nt(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function wt(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function Ot(e,t,r,n){var o,i=e&&e[t];if(i&&(o=i[r]),o)return o;n(new At("No ".concat(t," format named: ").concat(r)))}function Lt(e,t){return Object.keys(e).reduce((function(r,n){return r[n]=E({timeZone:t},e[n]),r}),{})}function Mt(e,t){return Object.keys(E(E({},e),t)).reduce((function(r,n){return r[n]=E(E({},e[n]||{}),t[n]||{}),r}),{})}function Gt(e,t){if(!t)return e;var r=Tt.formats;return E(E(E({},r),e),{date:Mt(Lt(r.date,t),Lt(e.date||{},t)),time:Mt(Lt(r.time,t),Lt(e.time||{},t))})}var Ut=function(e,t,r,n,o){var i=e.locale,a=e.formats,u=e.messages,s=e.defaultLocale,l=e.defaultFormats,c=e.fallbackOnEmptyString,h=e.onError,f=e.timeZone,m=e.defaultRichTextElements;void 0===r&&(r={id:""});var p=r.id,d=r.defaultMessage;$(!!p,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");var g=String(p),y=u&&Object.prototype.hasOwnProperty.call(u,g)&&u[g];if(Array.isArray(y)&&1===y.length&&y[0].type===W.literal)return y[0].value;if(!n&&y&&"string"==typeof y&&!m)return y.replace(/'\{(.*?)\}'/gi,"{$1}");if(n=E(E({},m),n||{}),a=Gt(a,f),l=Gt(l,f),!y){if(!1===c&&""===y)return y;if((!d||i&&i.toLowerCase()!==s.toLowerCase())&&h(new Rt(r,i)),d)try{return t.getMessageFormat(d,s,l,o).format(n)}catch(e){return h(new Ct('Error formatting default message for: "'.concat(g,'", rendering default message verbatim'),i,r,e)),"string"==typeof d?d:g}return g}try{return t.getMessageFormat(y,i,a,E({formatters:t},o||{})).format(n)}catch(e){h(new Ct('Error formatting message: "'.concat(g,'", using ').concat(d?"default message":"id"," as fallback."),i,r,e))}if(d)try{return t.getMessageFormat(d,s,l,o).format(n)}catch(e){h(new Ct('Error formatting the default message for: "'.concat(g,'", rendering message verbatim'),i,r,e))}return"string"==typeof y?y:"string"==typeof d?d:g},jt=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function xt(e,t,r,n){var o=e.locale,i=e.formats,a=e.onError,u=e.timeZone;void 0===n&&(n={});var s=n.format,l=E(E({},u&&{timeZone:u}),s&&Ot(i,t,s,a)),c=Ht(n,jt,l);return"time"!==t||c.hour||c.minute||c.second||c.timeStyle||c.dateStyle||(c=E(E({},c),{hour:"numeric",minute:"numeric"})),r(o,c)}function kt(e,t){for(var r=[],n=2;n needs to exist in the component ancestry.")}var cr=E(E({},It),{textComponent:X.Fragment});function hr(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 i=0;i-1}var Gr=function(e){var t=Dr(),r=t.formatRelativeTime,n=t.textComponent,o=e.children,i=r(e.value||0,e.unit,g(e,["children","value","unit"]));return"function"==typeof o?o(i):n?Ir.createElement(n,null,i):Ir.createElement(Ir.Fragment,null,i)},Ur=function(e){var t=e.value,r=e.unit,n=e.updateIntervalInSeconds,o=g(e,["value","unit","updateIntervalInSeconds"]);$(!n||!(!n||!Mr(r)),"Cannot schedule update with unit longer than hour");var i,a=Ir.useState(),u=a[0],s=a[1],l=Ir.useState(0),c=l[0],h=l[1],f=Ir.useState(0),m=f[0],p=f[1];r===u&&t===c||(h(t||0),s(r),p(Mr(r)?function(e,t){if(!e)return 0;switch(t){case"second":return e;case"minute":return 60*e;default:return e*Nr}}(t,r):0)),Ir.useEffect((function(){function e(){clearTimeout(i)}if(e(),!n||!Mr(r))return e;var t=m-n,o=wr(t);if("day"===o)return e;var a=Or(o),u=t-t%a,s=u>=m?u-a:u,l=Math.abs(s-m);return m!==s&&(i=setTimeout((function(){return p(s)}),1e3*l)),e}),[m,n,r]);var d=t||0,y=r;if(Mr(r)&&"number"==typeof m&&n){var v=Or(y=wr(m));d=Math.round(m/v)}return Ir.createElement(Gr,E({value:d,unit:y},o))};Ur.displayName="FormattedRelativeTime",Ur.defaultProps={value:0,unit:"second"};var jr=Ur,xr=s(window.React),kr=function(e){var t=Dr(),r=t.formatPlural,n=t.textComponent,o=e.value,i=e.other,a=e.children,u=e[r(o,e)]||i;return"function"==typeof a?a(u):n?xr.createElement(n,null,u):u};kr.defaultProps={type:"cardinal"},kr.displayName="FormattedPlural";var Vr=kr,Xr=s(window.React);function $r(e){var t=Dr(),r=t.formatMessage,n=t.textComponent,o=void 0===n?Xr.Fragment:n,i=e.id,a=e.description,u=e.defaultMessage,s=e.values,l=e.children,c=e.tagName,h=void 0===c?o:c,f=r({id:i,description:a,defaultMessage:u},s,{ignoreTag:e.ignoreTag});return"function"==typeof l?l(Array.isArray(f)?f:[f]):h?Xr.createElement(h,null,Xr.Children.toArray(f)):Xr.createElement(Xr.Fragment,null,f)}$r.displayName="FormattedMessage";var Kr=Xr.memo($r,(function(e,t){var r=e.values,n=g(e,["values"]),o=t.values,i=g(t,["values"]);return hr(o,r)&&hr(n,i)}));Kr.displayName="MemoizedFormattedMessage";var Zr=Kr,Yr=s(window.React),zr=function(e){var t=Dr(),r=e.from,n=e.to,o=e.children,i=g(e,["from","to","children"]),a=t.formatDateTimeRange(r,n,i);if("function"==typeof o)return o(a);var u=t.textComponent||Yr.Fragment;return Yr.createElement(u,null,a)};zr.displayName="FormattedDateTimeRange";var Wr=zr;function qr(e){return e}function Qr(e){return e}var Jr,en=Ar("formatDate"),tn=Ar("formatTime"),rn=Ar("formatNumber"),nn=Ar("formatList"),on=Ar("formatDisplayName"),an=Fr("formatDate"),un=Fr("formatTime");return Jr=m,u(t({},"__esModule",{value:!0}),Jr)})(); +/** @license React v16.13.1 + * react-is.development.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ +//# sourceMappingURL=/sm/960fc215771f69067777be41e9e2c359d097d23d3cae6a64409ad0d3efa77ccf.map \ No newline at end of file diff --git a/resources/react-intl/6.2.8/react-intl.iife.min.jsm b/resources/react-intl/6.2.8/react-intl.iife.min.jsm deleted file mode 100644 index aa34c65e..00000000 --- a/resources/react-intl/6.2.8/react-intl.iife.min.jsm +++ /dev/null @@ -1,16 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.15.1. - * Original file: /npm/react-intl@6.2.8/react-intl.iife.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -var ReactIntl=(()=>{var e=Object.create,t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.getPrototypeOf,i=Object.prototype.hasOwnProperty,a=(e,t)=>function(){return t||(0,e[n(e)[0]])((t={exports:{}}).exports,t),t.exports},u=(e,o,a,u)=>{if(o&&"object"==typeof o||"function"==typeof o)for(let s of n(o))i.call(e,s)||s===a||t(e,s,{get:()=>o[s],enumerable:!(u=r(o,s))||u.enumerable});return e},s=(r,n,i)=>(i=null!=r?e(o(r)):{},u(!n&&r&&r.__esModule?i:t(i,"default",{value:r,enumerable:!0}),r)),l=a({"../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/tslib@2.4.0/node_modules/tslib/tslib.js"(e,t){var r,n,o,i,a,u,s,l,c,h,f,m,p,d,E,g,y,v,b,D,_,T,F,A,B;!function(e){var r="object"==typeof global?global:"object"==typeof self?self:"object"==typeof this?this:{};function n(e,t){return e!==r&&("function"==typeof Object.create?Object.defineProperty(e,"__esModule",{value:!0}):e.__esModule=!0),function(r,n){return e[r]=t?t(r,n):n}}"function"==typeof define&&define.amd?define("tslib",["exports"],(function(t){e(n(r,n(t)))})):"object"==typeof t&&"object"==typeof t.exports?e(n(r,n(t.exports))):e(n(r))}((function(e){var 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])};r=function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)},n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r=0;u--)(o=e[u])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},a=function(e,t){return function(r,n){t(r,n,e)}},u=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},s=function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{s(n.next(e))}catch(e){i(e)}}function u(e){try{s(n.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,u)}s((n=n.apply(e,t||[])).next())}))},l=function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},f=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},m=function(){for(var e=[],t=0;t1||u(e,t)}))})}function u(e,t){try{(r=o[e](t)).value instanceof E?Promise.resolve(r.value.v).then(s,l):c(i[0][2],r)}catch(e){c(i[0][3],e)}var r}function s(e){u("next",e)}function l(e){u("throw",e)}function c(e,t){e(t),i.shift(),i.length&&u(i[0][0],i[0][1])}},y=function(e){var t,r;return t={},n("next"),n("throw",(function(e){throw e})),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,o){t[n]=e[n]?function(t){return(r=!r)?{value:E(e[n](t)),done:"return"===n}:o?o(t):t}:o}},v=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=h(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise((function(n,o){(function(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)})(n,o,(t=e[r](t)).done,t.value)}))}}},b=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};var S=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};D=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&B(t,e,r);return S(t,e),t},_=function(e){return e&&e.__esModule?e:{default:e}},T=function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)},F=function(e,t,r,n,o){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?o.call(e,r):o?o.value=r:t.set(e,r),r},A=function(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)},e("__extends",r),e("__assign",n),e("__rest",o),e("__decorate",i),e("__param",a),e("__metadata",u),e("__awaiter",s),e("__generator",l),e("__exportStar",c),e("__createBinding",B),e("__values",h),e("__read",f),e("__spread",m),e("__spreadArrays",p),e("__spreadArray",d),e("__await",E),e("__asyncGenerator",g),e("__asyncDelegator",y),e("__asyncValues",v),e("__makeTemplateObject",b),e("__importStar",D),e("__importDefault",_),e("__classPrivateFieldGet",T),e("__classPrivateFieldSet",F),e("__classPrivateFieldIn",A)}))}}),c=a({"../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js"(e){"use strict";(function(){var t="function"==typeof Symbol&&Symbol.for,r=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,o=t?Symbol.for("react.fragment"):60107,i=t?Symbol.for("react.strict_mode"):60108,a=t?Symbol.for("react.profiler"):60114,u=t?Symbol.for("react.provider"):60109,s=t?Symbol.for("react.context"):60110,l=t?Symbol.for("react.async_mode"):60111,c=t?Symbol.for("react.concurrent_mode"):60111,h=t?Symbol.for("react.forward_ref"):60112,f=t?Symbol.for("react.suspense"):60113,m=t?Symbol.for("react.suspense_list"):60120,p=t?Symbol.for("react.memo"):60115,d=t?Symbol.for("react.lazy"):60116,E=t?Symbol.for("react.block"):60121,g=t?Symbol.for("react.fundamental"):60117,y=t?Symbol.for("react.responder"):60118,v=t?Symbol.for("react.scope"):60119;function b(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:var m=e.type;switch(m){case l:case c:case o:case a:case i:case f:return m;default:var E=m&&m.$$typeof;switch(E){case s:case h:case d:case p:case u:return E;default:return t}}case n:return t}}}var D=l,_=c,T=s,F=u,A=r,B=h,S=o,P=d,C=p,R=n,H=a,I=i,N=f,w=!1;function O(e){return b(e)===c}e.AsyncMode=D,e.ConcurrentMode=_,e.ContextConsumer=T,e.ContextProvider=F,e.Element=A,e.ForwardRef=B,e.Fragment=S,e.Lazy=P,e.Memo=C,e.Portal=R,e.Profiler=H,e.StrictMode=I,e.Suspense=N,e.isAsyncMode=function(e){return w||(w=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),O(e)||b(e)===l},e.isConcurrentMode=O,e.isContextConsumer=function(e){return b(e)===s},e.isContextProvider=function(e){return b(e)===u},e.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},e.isForwardRef=function(e){return b(e)===h},e.isFragment=function(e){return b(e)===o},e.isLazy=function(e){return b(e)===d},e.isMemo=function(e){return b(e)===p},e.isPortal=function(e){return b(e)===n},e.isProfiler=function(e){return b(e)===a},e.isStrictMode=function(e){return b(e)===i},e.isSuspense=function(e){return b(e)===f},e.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===c||e===a||e===i||e===f||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===p||e.$$typeof===u||e.$$typeof===s||e.$$typeof===h||e.$$typeof===g||e.$$typeof===y||e.$$typeof===v||e.$$typeof===E)},e.typeOf=b})()}}),h=a({"../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/react-is@16.13.1/node_modules/react-is/index.js"(e,t){"use strict";t.exports=c()}}),f=a({"../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/hoist-non-react-statics@3.3.2/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"(e,t){"use strict";var r=h(),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function u(e){return r.isMemo(e)?i:a[e.$$typeof]||n}a[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[r.Memo]=i;var s=Object.defineProperty,l=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,p=Object.prototype;t.exports=function e(t,r,n){if("string"!=typeof r){if(p){var i=m(r);i&&i!==p&&e(t,i,n)}var a=l(r);c&&(a=a.concat(c(r)));for(var h=u(t),d=u(r),E=0;E{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(m,{FormattedDate:()=>en,FormattedDateParts:()=>an,FormattedDateTimeRange:()=>Wr,FormattedDisplayName:()=>on,FormattedList:()=>nn,FormattedListParts:()=>Tr,FormattedMessage:()=>Zr,FormattedNumber:()=>rn,FormattedNumberParts:()=>_r,FormattedPlural:()=>Vr,FormattedRelativeTime:()=>jr,FormattedTime:()=>tn,FormattedTimeParts:()=>un,IntlContext:()=>vr,IntlProvider:()=>Hr,InvalidConfigError:()=>Bt,MessageFormatError:()=>Ct,MissingDataError:()=>St,MissingTranslationError:()=>Rt,RawIntlProvider:()=>yr,ReactIntlError:()=>Ft,ReactIntlErrorCode:()=>Dt,UnsupportedFormatterError:()=>At,createIntl:()=>Rr,createIntlCache:()=>Nt,defineMessage:()=>Qr,defineMessages:()=>qr,injectIntl:()=>br,useIntl:()=>Dr});var p=s(l(),1),{__extends:d,__assign:E,__rest:g,__decorate:y,__param:v,__metadata:b,__awaiter:D,__generator:_,__exportStar:T,__createBinding:F,__values:A,__read:B,__spread:S,__spreadArrays:P,__spreadArray:C,__await:R,__asyncGenerator:H,__asyncDelegator:I,__asyncValues:N,__makeTemplateObject:w,__importStar:O,__importDefault:L,__classPrivateFieldGet:M,__classPrivateFieldSet:G,__classPrivateFieldIn:U}=p.default,j=s(window.React),x=s(window.React),k=s(window.React),V=s(f()),X=s(window.React);["angle-degree","area-acre","area-hectare","concentr-percent","digital-bit","digital-byte","digital-gigabit","digital-gigabyte","digital-kilobit","digital-kilobyte","digital-megabit","digital-megabyte","digital-petabyte","digital-terabit","digital-terabyte","duration-day","duration-hour","duration-millisecond","duration-minute","duration-month","duration-second","duration-week","duration-year","length-centimeter","length-foot","length-inch","length-kilometer","length-meter","length-mile-scandinavian","length-mile","length-millimeter","length-yard","mass-gram","mass-kilogram","mass-ounce","mass-pound","mass-stone","temperature-celsius","temperature-fahrenheit","volume-fluid-ounce","volume-gallon","volume-liter","volume-milliliter"].map((function(e){return e.slice(e.indexOf("-")+1)}));function $(e,t,r){if(void 0===r&&(r=Error),!e)throw new r(t)}var K,Z,Y,z,W,q,Q,J,ee=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20BF\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC1\uFDFC\uFDFD\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDE8\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEE0-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF73\uDF80-\uDFD8\uDFE0-\uDFEB]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDD78\uDD7A-\uDDCB\uDDCD-\uDE53\uDE60-\uDE6D\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6\uDF00-\uDF92\uDF94-\uDFCA]/;new RegExp("^".concat(ee.source)),new RegExp("".concat(ee.source,"$")),function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="MISSING_LOCALE_DATA",t}d(t,e)}(Error);function te(e){return e.type===W.literal}function re(e){return e.type===W.argument}function ne(e){return e.type===W.number}function oe(e){return e.type===W.date}function ie(e){return e.type===W.time}function ae(e){return e.type===W.select}function ue(e){return e.type===W.plural}function se(e){return e.type===W.pound}function le(e){return e.type===W.tag}function ce(e){return!(!e||"object"!=typeof e||e.type!==Q.number)}function he(e){return!(!e||"object"!=typeof e||e.type!==Q.dateTime)}(Z=K||(K={})).startRange="startRange",Z.shared="shared",Z.endRange="endRange",(z=Y||(Y={}))[z.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",z[z.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",z[z.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",z[z.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",z[z.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",z[z.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",z[z.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",z[z.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",z[z.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",z[z.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",z[z.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",z[z.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",z[z.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",z[z.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",z[z.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",z[z.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",z[z.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",z[z.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",z[z.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",z[z.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",z[z.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",z[z.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",z[z.INVALID_TAG=23]="INVALID_TAG",z[z.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",z[z.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",z[z.UNCLOSED_TAG=27]="UNCLOSED_TAG",(q=W||(W={}))[q.literal=0]="literal",q[q.argument=1]="argument",q[q.number=2]="number",q[q.date=3]="date",q[q.time=4]="time",q[q.select=5]="select",q[q.plural=6]="plural",q[q.pound=7]="pound",q[q.tag=8]="tag",(J=Q||(Q={}))[J.number=0]="number",J[J.dateTime=1]="dateTime";var fe=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,me=/(?:[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;function pe(e){var t={};return e.replace(me,(function(e){var r=e.length;switch(e[0]){case"G":t.era=4===r?"long":5===r?"narrow":"short";break;case"y":t.year=2===r?"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":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===r?"short":5===r?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-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":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=r<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""})),t}var de=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var Ee=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,ge=/^(@+)?(\+|#+)?[rs]?$/g,ye=/(\*)(0+)|(#+)(0+)|(0+)/g,ve=/^(0+)$/;function be(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(ge,(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 De(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function _e(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!ve.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Te(e){var t=De(e);return t||{}}function Fe(e){for(var t={},r=0,n=e;r1)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(ye,(function(e,r,n,o,i,a){if(r)t.minimumIntegerDigits=n.length;else{if(o&&i)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(ve.test(o.stem))t.minimumIntegerDigits=o.stem.length;else if(Ee.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(Ee,(function(e,r,n,o,i,a){return"*"===n?t.minimumFractionDigits=r.length:o&&"#"===o[0]?t.maximumFractionDigits=o.length:i&&a?(t.minimumFractionDigits=i.length,t.maximumFractionDigits=i.length+a.length):(t.minimumFractionDigits=r.length,t.maximumFractionDigits=r.length),""}));var i=o.options[0];"w"===i?t=E(E({},t),{trailingZeroDisplay:"stripIfInteger"}):i&&(t=E(E({},t),be(i)))}else if(ge.test(o.stem))t=E(E({},t),be(o.stem));else{var a=De(o.stem);a&&(t=E(E({},t),a));var u=_e(o.stem);u&&(t=E(E({},t),u))}}return t}var Ae,Be={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};function Se(e){var t=e.hourCycle;if(void 0===t&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r,n=e.language;return"root"!==n&&(r=e.maximize().region),(Be[r||""]||Be[n||""]||Be["".concat(n,"-001")]||Be["001"])[0]}var Pe=new RegExp("^".concat(fe.source,"*")),Ce=new RegExp("".concat(fe.source,"*$"));function Re(e,t){return{start:e,end:t}}var He=!!String.prototype.startsWith,Ie=!!String.fromCodePoint,Ne=!!Object.fromEntries,we=!!String.prototype.codePointAt,Oe=!!String.prototype.trimStart,Le=!!String.prototype.trimEnd,Me=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Ge=!0;try{Ge="a"===(null===(Ae=Ze("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Ae?void 0:Ae[0])}catch(e){Ge=!1}var Ue,je,xe=He?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},ke=Ie?String.fromCodePoint:function(){for(var e=[],t=0;ti;){if((r=e[i++])>1114111)throw RangeError(r+" is not a valid code point");n+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return n},Ve=Ne?Object.fromEntries:function(e){for(var t={},r=0,n=e;r=r)){var n,o=e.charCodeAt(t);return o<55296||o>56319||t+1===r||(n=e.charCodeAt(t+1))<56320||n>57343?o:n-56320+(o-55296<<10)+65536}},$e=Oe?function(e){return e.trimStart()}:function(e){return e.replace(Pe,"")},Ke=Le?function(e){return e.trimEnd()}:function(e){return e.replace(Ce,"")};function Ze(e,t){return new RegExp(e,t)}Ge?(je=Ze("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),Ue=function(e,t){var r;return je.lastIndex=t,null!==(r=je.exec(e)[1])&&void 0!==r?r:""}):Ue=function(e,t){for(var r=[];;){var n=Xe(e,t);if(void 0===n||We(n)||qe(n))break;r.push(n),t+=n>=65536?2:1}return ke.apply(void 0,r)};var Ye=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,r){for(var n=[];!this.isEOF();){var o=this.char();if(123===o){if((i=this.parseArgument(e,r)).err)return i;n.push(i.val)}else{if(125===o&&e>0)break;if(35!==o||"plural"!==t&&"selectordinal"!==t){if(60===o&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(Y.UNMATCHED_CLOSING_TAG,Re(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&ze(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i;n.push(i.val)}else{var i;if((i=this.parseLiteral(e,t)).err)return i;n.push(i.val)}}else{var a=this.clonePosition();this.bump(),n.push({type:W.pound,location:Re(a,this.clonePosition())})}}}return{val:n,err:null}},e.prototype.parseTag=function(e,t){var r=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:W.literal,value:"<".concat(n,"/>"),location:Re(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(e+1,t,!0);if(o.err)return o;var i=o.val,a=this.clonePosition();if(this.bumpIf("")?{val:{type:W.tag,value:n,children:i,location:Re(r,this.clonePosition())},err:null}:this.error(Y.INVALID_TAG,Re(a,this.clonePosition())))}return this.error(Y.UNCLOSED_TAG,Re(r,this.clonePosition()))}return this.error(Y.INVALID_TAG,Re(r,this.clonePosition()))},e.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),n="";;){var o=this.tryParseQuote(t);if(o)n+=o;else{var i=this.tryParseUnquoted(e,t);if(i)n+=i;else{var a=this.tryParseLeftAngleBracket();if(!a)break;n+=a}}}var u=Re(r,this.clonePosition());return{val:{type:W.literal,value:n,location:u},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(ze(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(r);this.bump()}return ke.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&e>0?null:(this.bump(),ke(r))},e.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Y.EXPECT_ARGUMENT_CLOSING_BRACE,Re(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(Y.EMPTY_ARGUMENT,Re(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(Y.MALFORMED_ARGUMENT,Re(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Y.EXPECT_ARGUMENT_CLOSING_BRACE,Re(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:W.argument,value:n,location:Re(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Y.EXPECT_ARGUMENT_CLOSING_BRACE,Re(r,this.clonePosition())):this.parseArgumentOptions(e,t,n,r);default:return this.error(Y.MALFORMED_ARGUMENT,Re(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=Ue(this.message,t),n=t+r.length;return this.bumpTo(n),{value:r,location:Re(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,r,n){var o,i=this.clonePosition(),a=this.parseIdentifierIfPossible().value,u=this.clonePosition();switch(a){case"":return this.error(Y.EXPECT_ARGUMENT_TYPE,Re(i,u));case"number":case"date":case"time":this.bumpSpace();var s=null;if(this.bumpIf(",")){this.bumpSpace();var l=this.clonePosition();if((y=this.parseSimpleArgStyleIfPossible()).err)return y;if(0===(m=Ke(y.val)).length)return this.error(Y.EXPECT_ARGUMENT_STYLE,Re(this.clonePosition(),this.clonePosition()));s={style:m,styleLocation:Re(l,this.clonePosition())}}if((v=this.tryParseArgumentClose(n)).err)return v;var c=Re(n,this.clonePosition());if(s&&xe(null==s?void 0:s.style,"::",0)){var h=$e(s.style.slice(2));if("number"===a)return(y=this.parseNumberSkeletonFromString(h,s.styleLocation)).err?y:{val:{type:W.number,value:r,location:c,style:y.val},err:null};if(0===h.length)return this.error(Y.EXPECT_DATE_TIME_SKELETON,c);var f=h;this.locale&&(f=function(e,t){for(var r="",n=0;n>1),s=Se(t);for("H"!=s&&"k"!=s||(u=0);u-- >0;)r+="a";for(;a-- >0;)r=s+r}else r+="J"===o?"H":o}return r}(h,this.locale));var m={type:Q.dateTime,pattern:f,location:s.styleLocation,parsedOptions:this.shouldParseSkeletons?pe(f):{}};return{val:{type:"date"===a?W.date:W.time,value:r,location:c,style:m},err:null}}return{val:{type:"number"===a?W.number:"date"===a?W.date:W.time,value:r,location:c,style:null!==(o=null==s?void 0:s.style)&&void 0!==o?o:null},err:null};case"plural":case"selectordinal":case"select":var p=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Y.EXPECT_SELECT_ARGUMENT_OPTIONS,Re(p,E({},p)));this.bumpSpace();var d=this.parseIdentifierIfPossible(),g=0;if("select"!==a&&"offset"===d.value){if(!this.bumpIf(":"))return this.error(Y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Re(this.clonePosition(),this.clonePosition()));var y;if(this.bumpSpace(),(y=this.tryParseDecimalInteger(Y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return y;this.bumpSpace(),d=this.parseIdentifierIfPossible(),g=y.val}var v,b=this.tryParsePluralOrSelectOptions(e,a,t,d);if(b.err)return b;if((v=this.tryParseArgumentClose(n)).err)return v;var D=Re(n,this.clonePosition());return"select"===a?{val:{type:W.select,value:r,options:Ve(b.val),location:D},err:null}:{val:{type:W.plural,value:r,options:Ve(b.val),offset:g,pluralType:"plural"===a?"cardinal":"ordinal",location:D},err:null};default:return this.error(Y.INVALID_ARGUMENT_TYPE,Re(i,u))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(Y.EXPECT_ARGUMENT_CLOSING_BRACE,Re(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();){switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(Y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Re(r,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],r=0,n=e.split(de).filter((function(e){return e.length>0}));r=48&&a<=57))break;o=!0,i=10*i+(a-48),this.bump()}var u=Re(n,this.clonePosition());return o?Me(i*=r)?{val:i,err:null}:this.error(t,u):this.error(e,u)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Xe(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(xe(this.message,e,this.offset())){for(var t=0;t=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&We(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),r=this.message.charCodeAt(t+(e>=65536?2:1));return null!=r?r:null},e}();function ze(e){return e>=97&&e<=122||e>=65&&e<=90}function We(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function qe(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function Qe(e){e.forEach((function(e){if(delete e.location,ae(e)||ue(e))for(var t in e.options)delete e.options[t].location,Qe(e.options[t].value);else ne(e)&&ce(e.style)||(oe(e)||ie(e))&&he(e.style)?delete e.style.location:le(e)&&Qe(e.children)}))}function Je(e,t){void 0===t&&(t={}),t=E({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Ye(e,t).parse();if(r.err){var n=SyntaxError(Y[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return(null==t?void 0:t.captureLocation)||Qe(r.val),r.val}function et(e,t){var r=t&&t.cache?t.cache:lt,n=t&&t.serializer?t.serializer:it;return(t&&t.strategy?t.strategy:ot)(e,{cache:r,serializer:n})}function tt(e,t,r,n){var o,i=null==(o=n)||"number"==typeof o||"boolean"==typeof o?n:r(n),a=t.get(i);return void 0===a&&(a=e.call(this,n),t.set(i,a)),a}function rt(e,t,r){var n=Array.prototype.slice.call(arguments,3),o=r(n),i=t.get(o);return void 0===i&&(i=e.apply(this,n),t.set(o,i)),i}function nt(e,t,r,n,o){return r.bind(t,e,n,o)}function ot(e,t){return nt(e,this,1===e.length?tt:rt,t.cache.create(),t.serializer)}var it=function(){return JSON.stringify(arguments)};function at(){this.cache=Object.create(null)}at.prototype.get=function(e){return this.cache[e]},at.prototype.set=function(e,t){this.cache[e]=t};var ut,st,lt={create:function(){return new at}},ct={variadic:function(e,t){return nt(e,this,rt,t.cache.create(),t.serializer)},monadic:function(e,t){return nt(e,this,tt,t.cache.create(),t.serializer)}};(st=ut||(ut={})).MISSING_VALUE="MISSING_VALUE",st.INVALID_VALUE="INVALID_VALUE",st.MISSING_INTL_API="MISSING_INTL_API";var ht,ft,mt=function(e){function t(t,r,n){var o=e.call(this,t)||this;return o.code=r,o.originalMessage=n,o}return d(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),pt=function(e){function t(t,r,n,o){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(r,'". Options are "').concat(Object.keys(n).join('", "'),'"'),ut.INVALID_VALUE,o)||this}return d(t,e),t}(mt),dt=function(e){function t(t,r,n){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(r),ut.INVALID_VALUE,n)||this}return d(t,e),t}(mt),Et=function(e){function t(t,r){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(r,'"'),ut.MISSING_VALUE,r)||this}return d(t,e),t}(mt);function gt(e){return"function"==typeof e}function yt(e,t,r,n,o,i,a){if(1===e.length&&te(e[0]))return[{type:ht.literal,value:e[0].value}];for(var u=[],s=0,l=e;s0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])}},e.__parse=Je,e.formats={number:{integer:{maximumFractionDigits:0},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}();(_t=Dt||(Dt={})).FORMAT_ERROR="FORMAT_ERROR",_t.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",_t.INVALID_CONFIG="INVALID_CONFIG",_t.MISSING_DATA="MISSING_DATA",_t.MISSING_TRANSLATION="MISSING_TRANSLATION";var Ft=function(e){function t(r,n,o){var i=this,a=o?o instanceof Error?o:new Error(String(o)):void 0;return(i=e.call(this,"[@formatjs/intl Error ".concat(r,"] ").concat(n,"\n").concat(a?"\n".concat(a.message,"\n").concat(a.stack):""))||this).code=r,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(i,t),i}return d(t,e),t}(Error),At=function(e){function t(t,r){return e.call(this,Dt.UNSUPPORTED_FORMATTER,t,r)||this}return d(t,e),t}(Ft),Bt=function(e){function t(t,r){return e.call(this,Dt.INVALID_CONFIG,t,r)||this}return d(t,e),t}(Ft),St=function(e){function t(t,r){return e.call(this,Dt.MISSING_DATA,t,r)||this}return d(t,e),t}(Ft),Pt=function(e){function t(t,r,n){return e.call(this,Dt.FORMAT_ERROR,"".concat(t,"\nLocale: ").concat(r,"\n"),n)||this}return d(t,e),t}(Ft),Ct=function(e){function t(t,r,n,o){var i=e.call(this,"".concat(t,"\nMessageID: ").concat(null==n?void 0:n.id,"\nDefault Message: ").concat(null==n?void 0:n.defaultMessage,"\nDescription: ").concat(null==n?void 0:n.description,"\n"),r,o)||this;return i.descriptor=n,i}return d(t,e),t}(Pt),Rt=function(e){function t(t,r){var n=e.call(this,Dt.MISSING_TRANSLATION,'Missing message: "'.concat(t.id,'" for locale "').concat(r,'", using ').concat(t.defaultMessage?"default message (".concat("string"==typeof t.defaultMessage?t.defaultMessage:t.defaultMessage.map((function(e){var t;return null!==(t=e.value)&&void 0!==t?t:JSON.stringify(e)})).join(),")"):"id"," as fallback."))||this;return n.descriptor=t,n}return d(t,e),t}(Ft);function Ht(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 It={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:function(e){console.error(e)},onWarn:function(e){console.warn(e)}};function Nt(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function wt(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function Ot(e,t,r,n){var o,i=e&&e[t];if(i&&(o=i[r]),o)return o;n(new At("No ".concat(t," format named: ").concat(r)))}function Lt(e,t){return Object.keys(e).reduce((function(r,n){return r[n]=E({timeZone:t},e[n]),r}),{})}function Mt(e,t){return Object.keys(E(E({},e),t)).reduce((function(r,n){return r[n]=E(E({},e[n]||{}),t[n]||{}),r}),{})}function Gt(e,t){if(!t)return e;var r=Tt.formats;return E(E(E({},r),e),{date:Mt(Lt(r.date,t),Lt(e.date||{},t)),time:Mt(Lt(r.time,t),Lt(e.time||{},t))})}var Ut=function(e,t,r,n,o){var i=e.locale,a=e.formats,u=e.messages,s=e.defaultLocale,l=e.defaultFormats,c=e.fallbackOnEmptyString,h=e.onError,f=e.timeZone,m=e.defaultRichTextElements;void 0===r&&(r={id:""});var p=r.id,d=r.defaultMessage;$(!!p,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");var g=String(p),y=u&&Object.prototype.hasOwnProperty.call(u,g)&&u[g];if(Array.isArray(y)&&1===y.length&&y[0].type===W.literal)return y[0].value;if(!n&&y&&"string"==typeof y&&!m)return y.replace(/'\{(.*?)\}'/gi,"{$1}");if(n=E(E({},m),n||{}),a=Gt(a,f),l=Gt(l,f),!y){if(!1===c&&""===y)return y;if((!d||i&&i.toLowerCase()!==s.toLowerCase())&&h(new Rt(r,i)),d)try{return t.getMessageFormat(d,s,l,o).format(n)}catch(e){return h(new Ct('Error formatting default message for: "'.concat(g,'", rendering default message verbatim'),i,r,e)),"string"==typeof d?d:g}return g}try{return t.getMessageFormat(y,i,a,E({formatters:t},o||{})).format(n)}catch(e){h(new Ct('Error formatting message: "'.concat(g,'", using ').concat(d?"default message":"id"," as fallback."),i,r,e))}if(d)try{return t.getMessageFormat(d,s,l,o).format(n)}catch(e){h(new Ct('Error formatting the default message for: "'.concat(g,'", rendering message verbatim'),i,r,e))}return"string"==typeof y?y:"string"==typeof d?d:g},jt=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function xt(e,t,r,n){var o=e.locale,i=e.formats,a=e.onError,u=e.timeZone;void 0===n&&(n={});var s=n.format,l=E(E({},u&&{timeZone:u}),s&&Ot(i,t,s,a)),c=Ht(n,jt,l);return"time"!==t||c.hour||c.minute||c.second||c.timeStyle||c.dateStyle||(c=E(E({},c),{hour:"numeric",minute:"numeric"})),r(o,c)}function kt(e,t){for(var r=[],n=2;n needs to exist in the component ancestry.")}var cr=E(E({},It),{textComponent:X.Fragment});function hr(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 i=0;i-1}var Gr=function(e){var t=Dr(),r=t.formatRelativeTime,n=t.textComponent,o=e.children,i=r(e.value||0,e.unit,g(e,["children","value","unit"]));return"function"==typeof o?o(i):n?Ir.createElement(n,null,i):Ir.createElement(Ir.Fragment,null,i)},Ur=function(e){var t=e.value,r=e.unit,n=e.updateIntervalInSeconds,o=g(e,["value","unit","updateIntervalInSeconds"]);$(!n||!(!n||!Mr(r)),"Cannot schedule update with unit longer than hour");var i,a=Ir.useState(),u=a[0],s=a[1],l=Ir.useState(0),c=l[0],h=l[1],f=Ir.useState(0),m=f[0],p=f[1];r===u&&t===c||(h(t||0),s(r),p(Mr(r)?function(e,t){if(!e)return 0;switch(t){case"second":return e;case"minute":return 60*e;default:return e*Nr}}(t,r):0)),Ir.useEffect((function(){function e(){clearTimeout(i)}if(e(),!n||!Mr(r))return e;var t=m-n,o=wr(t);if("day"===o)return e;var a=Or(o),u=t-t%a,s=u>=m?u-a:u,l=Math.abs(s-m);return m!==s&&(i=setTimeout((function(){return p(s)}),1e3*l)),e}),[m,n,r]);var d=t||0,y=r;if(Mr(r)&&"number"==typeof m&&n){var v=Or(y=wr(m));d=Math.round(m/v)}return Ir.createElement(Gr,E({value:d,unit:y},o))};Ur.displayName="FormattedRelativeTime",Ur.defaultProps={value:0,unit:"second"};var jr=Ur,xr=s(window.React),kr=function(e){var t=Dr(),r=t.formatPlural,n=t.textComponent,o=e.value,i=e.other,a=e.children,u=e[r(o,e)]||i;return"function"==typeof a?a(u):n?xr.createElement(n,null,u):u};kr.defaultProps={type:"cardinal"},kr.displayName="FormattedPlural";var Vr=kr,Xr=s(window.React);function $r(e){var t=Dr(),r=t.formatMessage,n=t.textComponent,o=void 0===n?Xr.Fragment:n,i=e.id,a=e.description,u=e.defaultMessage,s=e.values,l=e.children,c=e.tagName,h=void 0===c?o:c,f=r({id:i,description:a,defaultMessage:u},s,{ignoreTag:e.ignoreTag});return"function"==typeof l?l(Array.isArray(f)?f:[f]):h?Xr.createElement(h,null,Xr.Children.toArray(f)):Xr.createElement(Xr.Fragment,null,f)}$r.displayName="FormattedMessage";var Kr=Xr.memo($r,(function(e,t){var r=e.values,n=g(e,["values"]),o=t.values,i=g(t,["values"]);return hr(o,r)&&hr(n,i)}));Kr.displayName="MemoizedFormattedMessage";var Zr=Kr,Yr=s(window.React),zr=function(e){var t=Dr(),r=e.from,n=e.to,o=e.children,i=g(e,["from","to","children"]),a=t.formatDateTimeRange(r,n,i);if("function"==typeof o)return o(a);var u=t.textComponent||Yr.Fragment;return Yr.createElement(u,null,a)};zr.displayName="FormattedDateTimeRange";var Wr=zr;function qr(e){return e}function Qr(e){return e}var Jr,en=Ar("formatDate"),tn=Ar("formatTime"),rn=Ar("formatNumber"),nn=Ar("formatList"),on=Ar("formatDisplayName"),an=Fr("formatDate"),un=Fr("formatTime");return Jr=m,u(t({},"__esModule",{value:!0}),Jr)})(); -/** @license React v16.13.1 - * react-is.development.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ -//# sourceMappingURL=/sm/5031eab56bfcff6554ecb5e28e90bb34958c5f10f14f13467dc98b3824329428.map \ No newline at end of file From 6117a9582f055831e05b4365724d8bfc07ebd802 Mon Sep 17 00:00:00 2001 From: vcrgr Date: Sun, 26 Feb 2023 06:45:30 +0000 Subject: [PATCH 3/3] Translated using Weblate (Arabic) Currently translated at 100.0% (121 of 121 strings) Translate-URL: https://hosted.weblate.org/projects/localcdn/localcdn/ar/ --- _locales/ar/messages.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_locales/ar/messages.json b/_locales/ar/messages.json index 7d7c297c..b1bf7bc1 100644 --- a/_locales/ar/messages.json +++ b/_locales/ar/messages.json @@ -1,6 +1,6 @@ { "extensionDescription": { - "message": "يحميك من التتبع عبر شبكات توصيل المحتوى (CDNs) عن طريق إعادة التوجيه إلى موارد محليَّة.", + "message": "يحميك من التتبع عبر شبكات توصيل المحتوى (CDNs) عن طريق إعادة التوجيه إلى موارد محلية.", "description": "Protects you against tracking through CDNs (Content Delivery Networks) by redirecting to local resources." }, "amountInjectedDescription": {