diff --git a/THIRD_PARTY.txt b/THIRD_PARTY.txt index 075eb7e3..f7427ada 100644 --- a/THIRD_PARTY.txt +++ b/THIRD_PARTY.txt @@ -1834,6 +1834,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.2/dist/plyr.css https://cdn.jsdelivr.net/npm/plyr@3.7.2/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.0.5/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.8.0/dist/search-insights.min.js https://cdn.jsdelivr.net/npm/search-insights@2.2.1/dist/search-insights.min.js diff --git a/audit/audit.sh b/audit/audit.sh index 78424d04..0014c9a0 100755 --- a/audit/audit.sh +++ b/audit/audit.sh @@ -716,6 +716,8 @@ function create_url() { url="$CREATEJS/$version/createjs.min.js" elif [ "$folder" = "moment.js" ] && [ "$version" = "2.5.1" ];then url="$CLOUDFLARE/$folder/$version/moment-with-langs.min.js" + elif [ "$folder" = "react-intl" ]; then + url="$JSDELIVR/npm/react-intl@$version/react-intl.iife.min.js" # -------------------------------------------------------------------------- else if [ "$subfile" = "$jfile" ]; then diff --git a/core/mappings.js b/core/mappings.js index 6835ad78..10d83ed4 100644 --- a/core/mappings.js +++ b/core/mappings.js @@ -644,6 +644,7 @@ mappings.cdn = { 'purecss@{version}/build/': resources.pureCSS, 'redux@{version}/dist/redux.': resources.redux, 'react-dom@{version}/umd/react-dom.production.min.js': resources.reactDOM, + 'react-intl@{version}/react-intl.iife.': resources.reactIntl, 'react@{version}/umd/react.production.min.js': resources.react, 'search-insights@{version}/dist/search-insights.': resources.searchInsights, 'select2@{version}/': resources.select2, diff --git a/core/resources.js b/core/resources.js index 3b27d24f..430ac1b9 100644 --- a/core/resources.js +++ b/core/resources.js @@ -889,6 +889,10 @@ var resources = { 'reactDOM': { 'path': 'resources/react-dom/{version}/umd/react-dom.production.min.jsm' }, + // react-intl + 'reactIntl': { + 'path': 'resources/react-intl/{version}/react-intl.iife.min.jsm' + }, // react-lifecycles-compat 'reactLifecyclesCompat': { 'path': 'resources/react-lifecycles-compat/{version}/react-lifecycles-compat.min.jsm' diff --git a/modules/internal/targets.js b/modules/internal/targets.js index 27394365..3614bc78 100644 --- a/modules/internal/targets.js +++ b/modules/internal/targets.js @@ -373,6 +373,8 @@ targets.setLastVersion = function (type, version) { if (type.startsWith('/react-dom/16.')) return '16.14.0'; if (type.startsWith('/react-dom/17.')) return '17.0.2'; if (type.startsWith('/react-dom/18.')) return '18.2.0'; + if (type.startsWith('/react-intl/5.')) return '6.0.5'; + if (type.startsWith('/react-intl/6.')) return '6.0.5'; if (type.startsWith('/react-redux/7.')) return '7.2.8'; if (type.startsWith('/react-redux/8.')) return '8.0.2'; if (type.startsWith('/react-router/5.')) return '5.3.3'; @@ -470,6 +472,7 @@ targets.determineResourceName = function (filename) { }; const ListOfFiles = { + 'react-intl.iife.min.jsm': 'react-intl', 'lunr.min.jsm': 'lunr.js', 'jquery.scrollTo.min.jsm': 'jQuery.scrollTo', 'twix.min.jsm': 'twix.js', diff --git a/pages/updates/updates.html b/pages/updates/updates.html index 1bdc2e44..922f3dec 100644 --- a/pages/updates/updates.html +++ b/pages/updates/updates.html @@ -32,6 +32,7 @@

Added

diff --git a/resources/react-intl/6.0.5/react-intl.iife.min.jsm b/resources/react-intl/6.0.5/react-intl.iife.min.jsm new file mode 100644 index 00000000..1a641c0d --- /dev/null +++ b/resources/react-intl/6.0.5/react-intl.iife.min.jsm @@ -0,0 +1,16 @@ +/** + * Minified by jsDelivr using Terser v5.14.1. + * Original file: /npm/react-intl@6.0.5/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=function(){var e=Object.create,t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,a=Object.getPrototypeOf,i=Object.prototype.hasOwnProperty,o=function(e,t){return function(){return t||(0,e[n(e)[0]])((t={exports:{}}).exports,t),t.exports}},u=function(e,a,o,u){if(a&&"object"==typeof a||"function"==typeof a)for(var s,l=n(a),c=0,f=l.length;c=0;u--)(a=e[u])&&(o=(i<3?a(o):i>3?a(t,r,o):a(t,r))||o);return i>3&&o&&Object.defineProperty(t,r,o),o},o=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(a,i){function o(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?a(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,u)}s((n=n.apply(e,t||[])).next())}))},l=function(e,t){var r,n,a,i,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[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(;o;)try{if(r=1,n&&(a=2&i[0]?n.return:i[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,i[1])).done)return a;switch(n=0,a&&(i=[2&i[0],a.value]),i[0]){case 0:case 1:a=i;break;case 4:return o.label++,{value:i[1],done:!1};case 5:o.label++,n=i[1],i=[0];continue;case 7:i=o.ops.pop(),o.trys.pop();continue;default:if(!(a=o.trys,(a=a.length>0&&a[a.length-1])||6!==i[0]&&2!==i[0])){o=0;continue}if(3===i[0]&&(!a||i[1]>a[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.")},m=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,a,i=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)o.push(n.value)}catch(e){a={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(a)throw a.error}}return o},h=function(){for(var e=[],t=0;t1||u(e,t)}))})}function u(e,t){try{(r=a[e](t)).value instanceof b?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])}},v=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,a){t[n]=e[n]?function(t){return(r=!r)?{value:b(e[n](t)),done:"return"===n}:a?a(t):t}:a}},y=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=f(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,a){(function(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)})(n,a,(t=e[r](t)).done,t.value)}))}}},E=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};var O=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};_=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)&&F(t,e,r);return O(t,e),t},T=function(e){return e&&e.__esModule?e:{default:e}},D=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)},P=function(e,t,r,n,a){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!a)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!a:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?a.call(e,r):a?a.value=r:t.set(e,r),r},S=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",a),e("__decorate",i),e("__param",o),e("__metadata",u),e("__awaiter",s),e("__generator",l),e("__exportStar",c),e("__createBinding",F),e("__values",f),e("__read",m),e("__spread",h),e("__spreadArrays",p),e("__spreadArray",d),e("__await",b),e("__asyncGenerator",g),e("__asyncDelegator",v),e("__asyncValues",y),e("__makeTemplateObject",E),e("__importStar",_),e("__importDefault",T),e("__classPrivateFieldGet",D),e("__classPrivateFieldSet",P),e("__classPrivateFieldIn",S)}))}}),c=o({"bazel-out/darwin-fastbuild/bin/external/npm/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.js":function(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,a=t?Symbol.for("react.fragment"):60107,i=t?Symbol.for("react.strict_mode"):60108,o=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,f=t?Symbol.for("react.forward_ref"):60112,m=t?Symbol.for("react.suspense"):60113,h=t?Symbol.for("react.suspense_list"):60120,p=t?Symbol.for("react.memo"):60115,d=t?Symbol.for("react.lazy"):60116,b=t?Symbol.for("react.block"):60121,g=t?Symbol.for("react.fundamental"):60117,v=t?Symbol.for("react.responder"):60118,y=t?Symbol.for("react.scope"):60119;function E(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:var h=e.type;switch(h){case l:case c:case a:case o:case i:case m:return h;default:var b=h&&h.$$typeof;switch(b){case s:case f:case d:case p:case u:return b;default:return t}}case n:return t}}}var _=l,T=c,D=s,P=u,S=r,F=f,O=a,N=d,I=p,C=n,w=o,M=i,A=m,L=!1;function R(e){return E(e)===c}e.AsyncMode=_,e.ConcurrentMode=T,e.ContextConsumer=D,e.ContextProvider=P,e.Element=S,e.ForwardRef=F,e.Fragment=O,e.Lazy=N,e.Memo=I,e.Portal=C,e.Profiler=w,e.StrictMode=M,e.Suspense=A,e.isAsyncMode=function(e){return L||(L=!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.")),R(e)||E(e)===l},e.isConcurrentMode=R,e.isContextConsumer=function(e){return E(e)===s},e.isContextProvider=function(e){return E(e)===u},e.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},e.isForwardRef=function(e){return E(e)===f},e.isFragment=function(e){return E(e)===a},e.isLazy=function(e){return E(e)===d},e.isMemo=function(e){return E(e)===p},e.isPortal=function(e){return E(e)===n},e.isProfiler=function(e){return E(e)===o},e.isStrictMode=function(e){return E(e)===i},e.isSuspense=function(e){return E(e)===m},e.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===c||e===o||e===i||e===m||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===p||e.$$typeof===u||e.$$typeof===s||e.$$typeof===f||e.$$typeof===g||e.$$typeof===v||e.$$typeof===y||e.$$typeof===b)},e.typeOf=E})()}}),f=o({"bazel-out/darwin-fastbuild/bin/external/npm/node_modules/hoist-non-react-statics/node_modules/react-is/index.js":function(e,t){"use strict";t.exports=c()}}),m=o({"bazel-out/darwin-fastbuild/bin/external/npm/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js":function(e,t){"use strict";var r=f(),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={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},o={};function u(e){return r.isMemo(e)?i:o[e.$$typeof]||n}o[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o[r.Memo]=i;var s=Object.defineProperty,l=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,m=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;t.exports=function e(t,r,n){if("string"!=typeof r){if(p){var i=h(r);i&&i!==p&&e(t,i,n)}var o=l(r);c&&(o=o.concat(c(r)));for(var f=u(t),d=u(r),b=0;b8640000000000001?NaN:function(e){var n=t(e);if(isNaN(n)||r(n,-0))return 0;if(isFinite(n))return n;var a=Math.floor(Math.abs(n));return n<0&&(a=-a),r(a,-0)?0:a}(e):NaN},e.ToObject=function(e){if(null==e)throw new TypeError("undefined/null cannot be converted to object");return Object(e)},e.SameValue=r,e.ArrayCreate=function(e){return new Array(e)},e.HasOwnProperty=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},e.Type=function(e){return null===e?"Null":void 0===e?"Undefined":"function"==typeof e||"object"==typeof e?"Object":"number"==typeof e?"Number":"boolean"==typeof e?"Boolean":"string"==typeof e?"String":"symbol"==typeof e?"Symbol":"bigint"==typeof e?"BigInt":void 0};var n=864e5;function a(e,t){return e-Math.floor(e/t)*t}function i(e){return Math.floor(e/n)}function o(e){return Date.UTC(e,0)/n}function u(e){return new Date(e).getUTCFullYear()}function s(e){return e%4!=0?365:e%100!=0?366:e%400!=0?365:366}function l(e){return i(e)-o(u(e))}function c(e){return 365===s(u(e))?0:1}function f(e){var t=l(e),r=c(e);if(t>=0&&t<31)return 0;if(t<59+r)return 1;if(t<90+r)return 2;if(t<120+r)return 3;if(t<151+r)return 4;if(t<181+r)return 5;if(t<212+r)return 6;if(t<243+r)return 7;if(t<273+r)return 8;if(t<304+r)return 9;if(t<334+r)return 10;if(t<365+r)return 11;throw new Error("Invalid time")}e.Day=i,e.WeekDay=function(e){return a(i(e)+4,7)},e.DayFromYear=o,e.TimeFromYear=function(e){return Date.UTC(e,0)},e.YearFromTime=u,e.DaysInYear=s,e.DayWithinYear=l,e.InLeapYear=c,e.MonthFromTime=f,e.DateFromTime=function(e){var t=l(e),r=f(e),n=c(e);if(0===r)return t+1;if(1===r)return t-30;if(2===r)return t-58-n;if(3===r)return t-89-n;if(4===r)return t-119-n;if(5===r)return t-150-n;if(6===r)return t-180-n;if(7===r)return t-211-n;if(8===r)return t-242-n;if(9===r)return t-272-n;if(10===r)return t-303-n;if(11===r)return t-333-n;throw new Error("Invalid time")};var m=1e3;e.HourFromTime=function(e){return a(Math.floor(e/36e5),24)},e.MinFromTime=function(e){return a(Math.floor(e/6e4),60)},e.SecFromTime=function(e){return a(Math.floor(e/m),60)},e.OrdinaryHasInstance=function(e,t,r){if("function"!=typeof e)return!1;if(null==r?void 0:r.boundTargetFunction)return t instanceof(null==r?void 0:r.boundTargetFunction);if("object"!=typeof t)return!1;var n=e.prototype;if("object"!=typeof n)throw new TypeError("OrdinaryHasInstance called on an object with an invalid prototype property.");return Object.prototype.isPrototypeOf.call(n,t)},e.msFromTime=function(e){return a(e,m)}}}),b=o({"bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/CoerceOptionsToObject.js":function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CoerceOptionsToObject=void 0;var t=d();e.CoerceOptionsToObject=function(e){return void 0===e?Object.create(null):(0,t.ToObject)(e)}}}),g=o({"bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/DefaultNumberOption.js":function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DefaultNumberOption=void 0,e.DefaultNumberOption=function(e,t,r,n){if(void 0!==e){if(e=Number(e),isNaN(e)||er)throw new RangeError("".concat(e," is outside of range [").concat(t,", ").concat(r,"]"));return Math.floor(e)}return n}}}),v=o({"bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/GetNumberOption.js":function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GetNumberOption=void 0;var t=g();e.GetNumberOption=function(e,r,n,a,i){var o=e[r];return(0,t.DefaultNumberOption)(o,n,a,i)}}}),y=o({"bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/GetOption.js":function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GetOption=void 0;var t=d();e.GetOption=function(e,r,n,a,i){if("object"!=typeof e)throw new TypeError("Options must be an object");var o=e[r];if(void 0!==o){if("boolean"!==n&&"string"!==n)throw new TypeError("invalid type");if("boolean"===n&&(o=Boolean(o)),"string"===n&&(o=(0,t.ToString)(o)),void 0!==a&&!a.filter((function(e){return e==o})).length)throw new RangeError("".concat(o," is not within ").concat(a.join(", ")));return o}return i}}}),E=o({"bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/GetOptionsObject.js":function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GetOptionsObject=void 0,e.GetOptionsObject=function(e){if(void 0===e)return Object.create(null);if("object"==typeof e)return e;throw new TypeError("Options must be an object")}}}),_=o({"bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/IsSanctionedSimpleUnitIdentifier.js":function(e){"use strict";function t(e){return e.slice(e.indexOf("-")+1)}Object.defineProperty(e,"__esModule",{value:!0}),e.IsSanctionedSimpleUnitIdentifier=e.SIMPLE_UNITS=e.removeUnitNamespace=e.SANCTIONED_UNITS=void 0,e.SANCTIONED_UNITS=["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"],e.removeUnitNamespace=t,e.SIMPLE_UNITS=e.SANCTIONED_UNITS.map(t),e.IsSanctionedSimpleUnitIdentifier=function(t){return e.SIMPLE_UNITS.indexOf(t)>-1}}}),T=o({"bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/IsValidTimeZoneName.js":function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IsValidTimeZoneName=void 0,e.IsValidTimeZoneName=function(e,t){var r=t.tzData,n=t.uppercaseLinks,a=e.toUpperCase(),i=new Set,o=new Set;return Object.keys(r).map((function(e){return e.toUpperCase()})).forEach((function(e){return i.add(e)})),Object.keys(n).forEach((function(e){o.add(e.toUpperCase()),i.add(n[e].toUpperCase())})),i.has(a)||o.has(a)}}}),D=o({"bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/IsWellFormedCurrencyCode.js":function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IsWellFormedCurrencyCode=void 0;var t=/[^A-Z]/;e.IsWellFormedCurrencyCode=function(e){return 3===(e=e.replace(/([a-z])/g,(function(e,t){return t.toUpperCase()}))).length&&!t.test(e)}}}),P=o({"bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/IsWellFormedUnitIdentifier.js":function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IsWellFormedUnitIdentifier=void 0;var t=_();e.IsWellFormedUnitIdentifier=function(e){if(e=e.replace(/([A-Z])/g,(function(e,t){return t.toLowerCase()})),(0,t.IsSanctionedSimpleUnitIdentifier)(e))return!0;var r=e.split("-per-");if(2!==r.length)return!1;var n=r[0],a=r[1];return!(!(0,t.IsSanctionedSimpleUnitIdentifier)(n)||!(0,t.IsSanctionedSimpleUnitIdentifier)(a))}}}),S=o({"bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/utils.js":function(e){"use strict";function t(e,t,r,n){e.get(t)||e.set(t,Object.create(null)),e.get(t)[r]=n}function r(e,t){for(var r=[],n=2;nh[h.length-1])return h[h.length-1].length-1;var p=h.indexOf(m);if(-1===p)return 0;var d=h[p];return"0"===c[d].other?0:d.length-c[d].other.match(/0+/)[0].length}}}}),O=o({"bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/NumberFormat/ToRawPrecision.js":function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ToRawPrecision=void 0;var t=S();e.ToRawPrecision=function(e,r,n){var a,i,o,u,s=n;if(0===e)a=(0,t.repeat)("0",s),i=0,o=0;else{var l=e.toString(),c=l.indexOf("e"),f=l.split("e"),m=f[0],h=f[1],p=m.replace(".","");if(c>=0&&p.length<=s)i=+h,a=p+(0,t.repeat)("0",s-p.length),o=e;else{var d=(i=(0,t.getMagnitude)(e))-s+1,b=Math.round(v(e,d));v(b,s-1)>=10&&(i+=1,b=Math.floor(b/10)),a=b.toString(),o=v(b,s-1-i)}}if(i>=s-1?(a+=(0,t.repeat)("0",i-s+1),u=i+1):i>=0?(a="".concat(a.slice(0,i+1),".").concat(a.slice(i+1)),u=i+1):(a="0.".concat((0,t.repeat)("0",-i-1)).concat(a),u=1),a.indexOf(".")>=0&&n>r){for(var g=n-r;g>0&&"0"===a[a.length-1];)a=a.slice(0,-1),g--;"."===a[a.length-1]&&(a=a.slice(0,-1))}return{formattedString:a,roundedNumber:o,integerDigitsCount:u};function v(e,t){return t<0?e*Math.pow(10,-t):e/Math.pow(10,t)}}}}),N=o({"bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/NumberFormat/ToRawFixed.js":function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ToRawFixed=void 0;var t=S();e.ToRawFixed=function(e,r,n){var a,i,o=n,u=Math.round(e*Math.pow(10,o)),s=u/Math.pow(10,o);if(u<1e21)a=u.toString();else{var l=(a=u.toString()).split("e"),c=l[0],f=l[1];a=c.replace(".",""),a+=(0,t.repeat)("0",Math.max(+f-a.length+1,0))}if(0!==o){var m=a.length;if(m<=o)a=(0,t.repeat)("0",o+1-m)+a,m=o+1;var h=a.slice(0,m-o),p=a.slice(m-o);a="".concat(h,".").concat(p),i=h.length}else i=a.length;for(var d=n-r;d>0&&"0"===a[a.length-1];)a=a.slice(0,-1),d--;return"."===a[a.length-1]&&(a=a.slice(0,-1)),{formattedString:a,roundedNumber:s,integerDigitsCount:i}}}}),I=o({"bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/NumberFormat/FormatNumericToString.js":function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FormatNumericToString=void 0;var t=d(),r=O(),n=S(),a=N();e.FormatNumericToString=function(e,i){var o,u=i<0||(0,t.SameValue)(i,-0);switch(u&&(i=-i),e.roundingType){case"significantDigits":o=(0,r.ToRawPrecision)(i,e.minimumSignificantDigits,e.maximumSignificantDigits);break;case"fractionDigits":o=(0,a.ToRawFixed)(i,e.minimumFractionDigits,e.maximumFractionDigits);break;default:(o=(0,r.ToRawPrecision)(i,1,2)).integerDigitsCount>1&&(o=(0,a.ToRawFixed)(i,0,0))}i=o.roundedNumber;var s=o.formattedString,l=o.integerDigitsCount,c=e.minimumIntegerDigits;return l\^`\|~\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]/}}),L=o({"bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/NumberFormat/format_to_parts.js":function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=N(),r=M(),n=A(),a=new RegExp("^".concat(n.S_UNICODE_REGEX.source)),i=new RegExp("".concat(n.S_UNICODE_REGEX.source,"$")),o=/[#0](?:[\.,][#0]+)*/g;function u(e,n,a,i,o,u,s){var l=[],c=n.formattedString,f=n.roundedNumber;if(isNaN(f))return[{type:"nan",value:c}];if(!isFinite(f))return[{type:"infinity",value:c}];var m=r.digitMapping[o];m&&(c=c.replace(/\d/g,(function(e){return m[+e]||e})));var h,p,d=c.indexOf(".");if(d>0?(h=c.slice(0,d),p=c.slice(d+1)):h=c,u&&("compact"!==a||f>=1e4)){var b=e.group,g=[],v=s.split(".")[0].split(","),y=3,E=3;v.length>1&&(y=v[v.length-1].length),v.length>2&&(E=v[v.length-2].length);var _=h.length-y;if(_>0){for(g.push(h.slice(_,_+y)),_-=E;_>0;_-=E)g.push(h.slice(_,_+E));g.push(h.slice(0,_+E))}else g.push(h);for(;g.length>0;){var T=g.pop();l.push({type:"integer",value:T}),g.length>0&&l.push({type:"group",value:b})}}else l.push({type:"integer",value:h});if(void 0!==p&&l.push({type:"decimal",value:e.decimal},{type:"fraction",value:p}),("scientific"===a||"engineering"===a)&&isFinite(f)){l.push({type:"exponentSeparator",value:e.exponential}),i<0&&(l.push({type:"exponentMinusSign",value:e.minusSign}),i=-i);var D=(0,t.ToRawFixed)(i,0,0);l.push({type:"exponentInteger",value:D.formattedString})}return l}function s(e,t){e.indexOf(";")<0&&(e="".concat(e,";-").concat(e));var r=e.split(";"),n=r[0],a=r[1];switch(t){case 0:return n;case-1:return a;default:return a.indexOf("-")>=0?a.replace(/-/g,"+"):"+".concat(n)}}function l(e,t,r){return r[e.select(t)]||r.other}e.default=function(e,t,r,n){var c,f,m=e.sign,h=e.exponent,p=e.magnitude,d=n.notation,b=n.style,g=n.numberingSystem,v=t.numbers.nu[0],y=null;if("compact"===d&&p&&(y=function(e,t,r,n,a,i,o){var u,c,f=e.roundedNumber,m=e.sign,h=e.magnitude,p=String(Math.pow(10,h)),d=r.numbers.nu[0];if("currency"===n&&"name"!==i){var b=null===(u=((g=r.numbers.currency)[o]||g[d]).short)||void 0===u?void 0:u[p];if(!b)return null;c=l(t,f,b)}else{var g,v=((g=r.numbers.decimal)[o]||g[d])[a][p];if(!v)return null;c=l(t,f,v)}if("0"===c)return null;return c=s(c,m).replace(/([^\s;\-\+\dĀ¤]+)/g,"{c:$1}").replace(/0+/,"0")}(e,r,t,b,n.compactDisplay,n.currencyDisplay,g)),"currency"===b&&"name"!==n.currencyDisplay){var E=t.currencies[n.currency];if(E)switch(n.currencyDisplay){case"code":c=n.currency;break;case"symbol":c=E.symbol;break;default:c=E.narrow}else c=n.currency}if(y)f=y;else if("decimal"===b||"unit"===b||"currency"===b&&"name"===n.currencyDisplay)f=s((t.numbers.decimal[g]||t.numbers.decimal[v]).standard,m);else if("currency"===b){f=s((T=t.numbers.currency[g]||t.numbers.currency[v])[n.currencySign],m)}else{f=s(t.numbers.percent[g]||t.numbers.percent[v],m)}var _=o.exec(f)[0];if(f=f.replace(o,"{0}").replace(/'(.)'/g,"$1"),"currency"===b&&"name"!==n.currencyDisplay){var T,D=(T=t.numbers.currency[g]||t.numbers.currency[v]).currencySpacing.afterInsertBetween;D&&!i.test(c)&&(f=f.replace("Ā¤{0}","Ā¤".concat(D,"{0}")));var P=T.currencySpacing.beforeInsertBetween;P&&!a.test(c)&&(f=f.replace("{0}Ā¤","{0}".concat(P,"Ā¤")))}for(var S=f.split(/({c:[^}]+}|\{0\}|[Ā¤%\-\+])/g),F=[],O=t.numbers.symbols[g]||t.numbers.symbols[v],N=0,I=S;N0||isNaN(t)?0:-1;break;case"always":l=(0,n.SameValue)(t,0)||t>0||isNaN(t)?1:-1;break;default:l=0===t||isNaN(t)?0:t>0?1:-1}return(0,i.default)({roundedNumber:t,formattedString:s,exponent:g,magnitude:b,sign:l},f.dataLocaleData,m,f)}}}),B=o({"bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/NumberFormat/FormatNumericToParts.js":function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FormatNumericToParts=void 0;var t=R(),r=d();e.FormatNumericToParts=function(e,n,a){for(var i=(0,t.PartitionNumberPattern)(e,n,a),o=(0,r.ArrayCreate)(0),u=0,s=i;u=2&&"-"===r[n-2]&&(n-=2),r=r.slice(0,n)}}}}),x=o({"bazel-out/darwin-fastbuild/bin/packages/intl-localematcher/abstract/LookupMatcher.js":function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LookupMatcher=void 0;var t=H(),r=k();e.LookupMatcher=function(e,n,a){for(var i={locale:""},o=0,u=n;o2){var D=f.indexOf("-x-");if(-1===D)f+=h;else{var P=f.slice(0,D),S=f.slice(D,f.length);f=P+h+S}f=Intl.getCanonicalLocales(f)[0]}return m.locale=f,m}}}),V=o({"bazel-out/darwin-fastbuild/bin/packages/intl-localematcher/abstract/LookupSupportedLocales.js":function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LookupSupportedLocales=void 0;var t=H(),r=k();e.LookupSupportedLocales=function(e,n){for(var a=[],i=0,o=n;i-1;)a=e.indexOf("}",n),(0,t.invariant)(a>n,"Invalid pattern ".concat(e)),n>i&&r.push({type:"literal",value:e.substring(i,n)}),r.push({type:e.substring(n+1,a),value:void 0}),i=a+1,n=e.indexOf("{",i);return i0}));n1)throw new RangeError("integer-width stems only accept a single optional option");h.options[0].replace(i,(function(e,t,n,a,i,o){if(t)r.minimumIntegerDigits=n.length;else{if(a&&i)throw new Error("We currently do not support maximum integer digits");if(o)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(o.test(h.stem))r.minimumIntegerDigits=h.stem.length;else if(n.test(h.stem)){if(h.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");h.stem.replace(n,(function(e,t,n,a,i,o){return"*"===n?r.minimumFractionDigits=t.length:a&&"#"===a[0]?r.maximumFractionDigits=a.length:i&&o?(r.minimumFractionDigits=i.length,r.maximumFractionDigits=i.length+o.length):(r.minimumFractionDigits=t.length,r.maximumFractionDigits=t.length),""}));var p=h.options[0];"w"===p?r=(0,t.__assign)((0,t.__assign)({},r),{trailingZeroDisplay:"stripIfInteger"}):p&&(r=(0,t.__assign)((0,t.__assign)({},r),u(p)))}else if(a.test(h.stem))r=(0,t.__assign)((0,t.__assign)({},r),u(h.stem));else{var d=s(h.stem);d&&(r=(0,t.__assign)((0,t.__assign)({},r),d));var b=c(h.stem);b&&(r=(0,t.__assign)((0,t.__assign)({},r),b))}}return r}}}),me=o({"bazel-out/darwin-fastbuild/bin/packages/icu-skeleton-parser/index.js":function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=l();(0,t.__exportStar)(le(),e),(0,t.__exportStar)(fe(),e)}}),he=o({"bazel-out/darwin-fastbuild/bin/packages/icu-messageformat-parser/time-data.generated.js":function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.timeData=void 0,e.timeData={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"]}}}),pe=o({"bazel-out/darwin-fastbuild/bin/packages/icu-messageformat-parser/date-time-pattern-generator.js":function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getBestPattern=void 0;var t=he();function r(e){var r=e.hourCycle;if(void 0===r&&e.hourCycles&&e.hourCycles.length&&(r=e.hourCycles[0]),r)switch(r){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n,a=e.language;return"root"!==a&&(n=e.maximize().region),(t.timeData[n||""]||t.timeData[a||""]||t.timeData["".concat(a,"-001")]||t.timeData["001"])[0]}e.getBestPattern=function(e,t){for(var n="",a=0;a>1),l=r(t);for("H"!=l&&"k"!=l||(s=0);s-- >0;)n+="a";for(;u-- >0;)n=l+n}else n+="J"===i?"H":i}return n}}}),de=o({"bazel-out/darwin-fastbuild/bin/packages/icu-messageformat-parser/parser.js":function(e){"use strict";var t;Object.defineProperty(e,"__esModule",{value:!0}),e.Parser=void 0;var r=l(),n=oe(),a=ue(),i=se(),o=me(),u=pe(),s=new RegExp("^".concat(i.SPACE_SEPARATOR_REGEX.source,"*")),c=new RegExp("".concat(i.SPACE_SEPARATOR_REGEX.source,"*$"));function f(e,t){return{start:e,end:t}}var m=!!String.prototype.startsWith,h=!!String.fromCodePoint,p=!!Object.fromEntries,d=!!String.prototype.codePointAt,b=!!String.prototype.trimStart,g=!!String.prototype.trimEnd,v=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},y=!0;try{y="a"===(null===(t=N("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===t?void 0:t[0])}catch(e){y=!1}var E,_,T=m?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},D=h?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},P=p?Object.fromEntries:function(e){for(var t={},r=0,n=e;r=r)){var n,a=e.charCodeAt(t);return a<55296||a>56319||t+1===r||(n=e.charCodeAt(t+1))<56320||n>57343?a:n-56320+(a-55296<<10)+65536}},F=b?function(e){return e.trimStart()}:function(e){return e.replace(s,"")},O=g?function(e){return e.trimEnd()}:function(e){return e.replace(c,"")};function N(e,t){return new RegExp(e,t)}y?(_=N("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),E=function(e,t){var r;return _.lastIndex=t,null!==(r=_.exec(e)[1])&&void 0!==r?r:""}):E=function(e,t){for(var r=[];;){var n=S(e,t);if(void 0===n||w(n)||M(n))break;r.push(n),t+=n>=65536?2:1}return D.apply(void 0,r)};var I=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 i=[];!this.isEOF();){var o=this.char();if(123===o){if((u=this.parseArgument(e,r)).err)return u;i.push(u.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(n.ErrorKind.UNMATCHED_CLOSING_TAG,f(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&C(this.peek()||0)){if((u=this.parseTag(e,t)).err)return u;i.push(u.val)}else{var u;if((u=this.parseLiteral(e,t)).err)return u;i.push(u.val)}}else{var s=this.clonePosition();this.bump(),i.push({type:a.TYPE.pound,location:f(s,this.clonePosition())})}}}return{val:i,err:null}},e.prototype.parseTag=function(e,t){var r=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:a.TYPE.literal,value:"<".concat(i,"/>"),location:f(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(e+1,t,!0);if(o.err)return o;var u=o.val,s=this.clonePosition();if(this.bumpIf("")?{val:{type:a.TYPE.tag,value:i,children:u,location:f(r,this.clonePosition())},err:null}:this.error(n.ErrorKind.INVALID_TAG,f(s,this.clonePosition())))}return this.error(n.ErrorKind.UNCLOSED_TAG,f(r,this.clonePosition()))}return this.error(n.ErrorKind.INVALID_TAG,f(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 i=this.tryParseQuote(t);if(i)n+=i;else{var o=this.tryParseUnquoted(e,t);if(o)n+=o;else{var u=this.tryParseLeftAngleBracket();if(!u)break;n+=u}}}var s=f(r,this.clonePosition());return{val:{type:a.TYPE.literal,value:n,location:s},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(C(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 D.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(),D(r))},e.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(n.ErrorKind.EXPECT_ARGUMENT_CLOSING_BRACE,f(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(n.ErrorKind.EMPTY_ARGUMENT,f(r,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(n.ErrorKind.MALFORMED_ARGUMENT,f(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(n.ErrorKind.EXPECT_ARGUMENT_CLOSING_BRACE,f(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:a.TYPE.argument,value:i,location:f(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(n.ErrorKind.EXPECT_ARGUMENT_CLOSING_BRACE,f(r,this.clonePosition())):this.parseArgumentOptions(e,t,i,r);default:return this.error(n.ErrorKind.MALFORMED_ARGUMENT,f(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=E(this.message,t),n=t+r.length;return this.bumpTo(n),{value:r,location:f(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,i,s){var l,c=this.clonePosition(),m=this.parseIdentifierIfPossible().value,h=this.clonePosition();switch(m){case"":return this.error(n.ErrorKind.EXPECT_ARGUMENT_TYPE,f(c,h));case"number":case"date":case"time":this.bumpSpace();var p=null;if(this.bumpIf(",")){this.bumpSpace();var d=this.clonePosition();if((S=this.parseSimpleArgStyleIfPossible()).err)return S;if(0===(y=O(S.val)).length)return this.error(n.ErrorKind.EXPECT_ARGUMENT_STYLE,f(this.clonePosition(),this.clonePosition()));p={style:y,styleLocation:f(d,this.clonePosition())}}if((N=this.tryParseArgumentClose(s)).err)return N;var b=f(s,this.clonePosition());if(p&&T(null==p?void 0:p.style,"::",0)){var g=F(p.style.slice(2));if("number"===m)return(S=this.parseNumberSkeletonFromString(g,p.styleLocation)).err?S:{val:{type:a.TYPE.number,value:i,location:b,style:S.val},err:null};if(0===g.length)return this.error(n.ErrorKind.EXPECT_DATE_TIME_SKELETON,b);var v=g;this.locale&&(v=(0,u.getBestPattern)(g,this.locale));var y={type:a.SKELETON_TYPE.dateTime,pattern:v,location:p.styleLocation,parsedOptions:this.shouldParseSkeletons?(0,o.parseDateTimeSkeleton)(v):{}};return{val:{type:"date"===m?a.TYPE.date:a.TYPE.time,value:i,location:b,style:y},err:null}}return{val:{type:"number"===m?a.TYPE.number:"date"===m?a.TYPE.date:a.TYPE.time,value:i,location:b,style:null!==(l=null==p?void 0:p.style)&&void 0!==l?l:null},err:null};case"plural":case"selectordinal":case"select":var E=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(n.ErrorKind.EXPECT_SELECT_ARGUMENT_OPTIONS,f(E,(0,r.__assign)({},E)));this.bumpSpace();var _=this.parseIdentifierIfPossible(),D=0;if("select"!==m&&"offset"===_.value){if(!this.bumpIf(":"))return this.error(n.ErrorKind.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,f(this.clonePosition(),this.clonePosition()));var S;if(this.bumpSpace(),(S=this.tryParseDecimalInteger(n.ErrorKind.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,n.ErrorKind.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return S;this.bumpSpace(),_=this.parseIdentifierIfPossible(),D=S.val}var N,I=this.tryParsePluralOrSelectOptions(e,m,t,_);if(I.err)return I;if((N=this.tryParseArgumentClose(s)).err)return N;var C=f(s,this.clonePosition());return"select"===m?{val:{type:a.TYPE.select,value:i,options:P(I.val),location:C},err:null}:{val:{type:a.TYPE.plural,value:i,options:P(I.val),offset:D,pluralType:"plural"===m?"cardinal":"ordinal",location:C},err:null};default:return this.error(n.ErrorKind.INVALID_ARGUMENT_TYPE,f(c,h))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(n.ErrorKind.EXPECT_ARGUMENT_CLOSING_BRACE,f(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(n.ErrorKind.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,f(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=(0,o.parseNumberSkeletonFromString)(e)}catch(e){return this.error(n.ErrorKind.INVALID_NUMBER_SKELETON,t)}return{val:{type:a.SKELETON_TYPE.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?(0,o.parseNumberSkeleton)(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,r,a){for(var i,o=!1,u=[],s=new Set,l=a.value,c=a.location;;){if(0===l.length){var m=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var h=this.tryParseDecimalInteger(n.ErrorKind.EXPECT_PLURAL_ARGUMENT_SELECTOR,n.ErrorKind.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;c=f(m,this.clonePosition()),l=this.message.slice(m.offset,this.offset())}if(s.has(l))return this.error("select"===t?n.ErrorKind.DUPLICATE_SELECT_ARGUMENT_SELECTOR:n.ErrorKind.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);"other"===l&&(o=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?n.ErrorKind.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:n.ErrorKind.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,f(this.clonePosition(),this.clonePosition()));var d=this.parseMessage(e+1,t,r);if(d.err)return d;var b=this.tryParseArgumentClose(p);if(b.err)return b;u.push([l,{value:d.val,location:f(p,this.clonePosition())}]),s.add(l),this.bumpSpace(),l=(i=this.parseIdentifierIfPossible()).value,c=i.location}return 0===u.length?this.error("select"===t?n.ErrorKind.EXPECT_SELECT_ARGUMENT_SELECTOR:n.ErrorKind.EXPECT_PLURAL_ARGUMENT_SELECTOR,f(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(n.ErrorKind.MISSING_OTHER_CLAUSE,f(this.clonePosition(),this.clonePosition())):{val:u,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var a=!1,i=0;!this.isEOF();){var o=this.char();if(!(o>=48&&o<=57))break;a=!0,i=10*i+(o-48),this.bump()}var u=f(n,this.clonePosition());return a?v(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=S(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(T(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()&&w(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 C(e){return e>=97&&e<=122||e>=65&&e<=90}function w(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function M(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}e.Parser=I}}),be=o({"bazel-out/darwin-fastbuild/bin/packages/icu-messageformat-parser/index.js":function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parse=void 0;var t=l(),r=oe(),n=de(),a=ue();function i(e){e.forEach((function(e){if(delete e.location,(0,a.isSelectElement)(e)||(0,a.isPluralElement)(e))for(var t in e.options)delete e.options[t].location,i(e.options[t].value);else(0,a.isNumberElement)(e)&&(0,a.isNumberSkeleton)(e.style)||((0,a.isDateElement)(e)||(0,a.isTimeElement)(e))&&(0,a.isDateTimeSkeleton)(e.style)?delete e.style.location:(0,a.isTagElement)(e)&&i(e.children)}))}e.parse=function(e,a){void 0===a&&(a={}),a=(0,t.__assign)({shouldParseSkeletons:!0,requiresOtherClause:!0},a);var o=new n.Parser(e,a).parse();if(o.err){var u=SyntaxError(r.ErrorKind[o.err.kind]);throw u.location=o.err.location,u.originalMessage=o.err.message,u}return(null==a?void 0:a.captureLocation)||i(o.val),o.val},(0,t.__exportStar)(ue(),e)}}),ge=o({"bazel-out/darwin-fastbuild/bin/packages/fast-memoize/index.js":function(e){"use strict";function t(e,t,r,n){var a,i=null==(a=n)||"number"==typeof a||"boolean"==typeof a?n:r(n),o=t.get(i);return void 0===o&&(o=e.call(this,n),t.set(i,o)),o}function r(e,t,r){var n=Array.prototype.slice.call(arguments,3),a=r(n),i=t.get(a);return void 0===i&&(i=e.apply(this,n),t.set(a,i)),i}function n(e,t,r,n,a){return r.bind(t,e,n,a)}function a(e,a){return n(e,this,1===e.length?t:r,a.cache.create(),a.serializer)}Object.defineProperty(e,"__esModule",{value:!0}),e.strategies=void 0,e.default=function(e,t){var r=t&&t.cache?t.cache:u,n=t&&t.serializer?t.serializer:i;return(t&&t.strategy?t.strategy:a)(e,{cache:r,serializer:n})};var i=function(){return JSON.stringify(arguments)};function o(){this.cache=Object.create(null)}o.prototype.get=function(e){return this.cache[e]},o.prototype.set=function(e,t){this.cache[e]=t};var u={create:function(){return new o}};e.strategies={variadic:function(e,t){return n(e,this,r,t.cache.create(),t.serializer)},monadic:function(e,r){return n(e,this,t,r.cache.create(),r.serializer)}}}}),ve=o({"bazel-out/darwin-fastbuild/bin/packages/intl-messageformat/src/error.js":function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MissingValueError=e.InvalidValueTypeError=e.InvalidValueError=e.FormatError=e.ErrorCode=void 0;var t,r,n=l();(r=t=e.ErrorCode||(e.ErrorCode={})).MISSING_VALUE="MISSING_VALUE",r.INVALID_VALUE="INVALID_VALUE",r.MISSING_INTL_API="MISSING_INTL_API";var a=function(e){function t(t,r,n){var a=e.call(this,t)||this;return a.code=r,a.originalMessage=n,a}return(0,n.__extends)(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error);e.FormatError=a;var i=function(e){function r(r,n,a,i){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(a).join('", "'),'"'),t.INVALID_VALUE,i)||this}return(0,n.__extends)(r,e),r}(a);e.InvalidValueError=i;var o=function(e){function r(r,n,a){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),t.INVALID_VALUE,a)||this}return(0,n.__extends)(r,e),r}(a);e.InvalidValueTypeError=o;var u=function(e){function r(r,n){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),t.MISSING_VALUE,n)||this}return(0,n.__extends)(r,e),r}(a);e.MissingValueError=u}}),ye=o({"bazel-out/darwin-fastbuild/bin/packages/intl-messageformat/src/formatters.js":function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.formatToParts=e.isFormatXMLElementFn=e.PART_TYPE=void 0;var t,r,n=be(),a=ve();function i(e){return"function"==typeof e}(r=t=e.PART_TYPE||(e.PART_TYPE={}))[r.literal=0]="literal",r[r.object=1]="object",e.isFormatXMLElementFn=i,e.formatToParts=function e(r,o,u,s,l,c,f){if(1===r.length&&(0,n.isLiteralElement)(r[0]))return[{type:t.literal,value:r[0].value}];for(var m=[],h=0,p=r;h0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])}},e.__parse=r.parse,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}();e.IntlMessageFormat=u}}),_e=o({"bazel-out/darwin-fastbuild/bin/packages/intl-messageformat/index.js":function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=l(),r=Ee();(0,t.__exportStar)(ye(),e),(0,t.__exportStar)(Ee(),e),(0,t.__exportStar)(ve(),e),e.default=r.IntlMessageFormat}}),Te=o({"bazel-out/darwin-fastbuild/bin/packages/intl/src/error.js":function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MissingTranslationError=e.MessageFormatError=e.IntlFormatError=e.MissingDataError=e.InvalidConfigError=e.UnsupportedFormatterError=e.IntlError=e.IntlErrorCode=void 0;var t,r,n=l();(r=t=e.IntlErrorCode||(e.IntlErrorCode={})).FORMAT_ERROR="FORMAT_ERROR",r.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",r.INVALID_CONFIG="INVALID_CONFIG",r.MISSING_DATA="MISSING_DATA",r.MISSING_TRANSLATION="MISSING_TRANSLATION";var a=function(e){function t(r,n,a){var i=this,o=a?a instanceof Error?a:new Error(String(a)):void 0;return(i=e.call(this,"[@formatjs/intl Error ".concat(r,"] ").concat(n,"\n").concat(o?"\n".concat(o.message,"\n").concat(o.stack):""))||this).code=r,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(i,t),i}return(0,n.__extends)(t,e),t}(Error);e.IntlError=a;var i=function(e){function r(r,n){return e.call(this,t.UNSUPPORTED_FORMATTER,r,n)||this}return(0,n.__extends)(r,e),r}(a);e.UnsupportedFormatterError=i;var o=function(e){function r(r,n){return e.call(this,t.INVALID_CONFIG,r,n)||this}return(0,n.__extends)(r,e),r}(a);e.InvalidConfigError=o;var u=function(e){function r(r,n){return e.call(this,t.MISSING_DATA,r,n)||this}return(0,n.__extends)(r,e),r}(a);e.MissingDataError=u;var s=function(e){function r(r,n,a){return e.call(this,t.FORMAT_ERROR,"".concat(r,"\nLocale: ").concat(n,"\n"),a)||this}return(0,n.__extends)(r,e),r}(a);e.IntlFormatError=s;var c=function(e){function t(t,r,n,a){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,a)||this;return i.descriptor=n,i}return(0,n.__extends)(t,e),t}(s);e.MessageFormatError=c;var f=function(e){function r(r,n){var a=e.call(this,t.MISSING_TRANSLATION,'Missing message: "'.concat(r.id,'" for locale "').concat(n,'", using ').concat(r.defaultMessage?"default message (".concat("string"==typeof r.defaultMessage?r.defaultMessage:r.defaultMessage.map((function(e){var t;return null!==(t=e.value)&&void 0!==t?t:JSON.stringify(e)})).join(),")"):"id"," as fallback."))||this;return a.descriptor=r,a}return(0,n.__extends)(r,e),r}(a);e.MissingTranslationError=f}}),De=o({"bazel-out/darwin-fastbuild/bin/packages/intl/src/utils.js":function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getNamedFormat=e.createFormatters=e.createIntlCache=e.DEFAULT_INTL_CONFIG=e.filterProps=void 0;var t=l(),r=_e(),n=(0,t.__importStar)(ge()),a=Te();e.filterProps=function(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}),{})};function i(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function o(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}e.DEFAULT_INTL_CONFIG={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:function(e){console.error(e)},onWarn:function(e){console.warn(e)}},e.createIntlCache=i,e.createFormatters=function(e){void 0===e&&(e={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}});var a=Intl.RelativeTimeFormat,i=Intl.ListFormat,u=Intl.DisplayNames,s=(0,n.default)((function(){for(var e,r=[],n=0;n needs to exist in the component ancestry.")}var Ke=(0,xe.__assign)((0,xe.__assign)({},ze.DEFAULT_INTL_CONFIG),{textComponent:Ue.Fragment});function Xe(e,t){if(e===t)return!0;if(!e||!t)return!1;var r=Object.keys(e),n=Object.keys(t),a=r.length;if(n.length!==a)return!1;for(var i=0;i-1}var St=function(e){var t=rt(),r=t.formatRelativeTime,n=t.textComponent,a=e.children,i=r(e.value||0,e.unit,(0,gt.__rest)(e,["children","value","unit"]));return"function"==typeof a?a(i):n?vt.createElement(n,null,i):vt.createElement(vt.Fragment,null,i)},Ft=function(e){var t=e.value,r=e.unit,n=e.updateIntervalInSeconds,a=(0,gt.__rest)(e,["value","unit","updateIntervalInSeconds"]);(0,yt.invariant)(!n||!(!n||!Pt(r)),"Cannot schedule update with unit longer than hour");var i,o=vt.useState(),u=o[0],s=o[1],l=vt.useState(0),c=l[0],f=l[1],m=vt.useState(0),h=m[0],p=m[1];r===u&&t===c||(f(t||0),s(r),p(Pt(r)?function(e,t){if(!e)return 0;switch(t){case"second":return e;case"minute":return 60*e;default:return e*Et}}(t,r):0)),vt.useEffect((function(){function e(){clearTimeout(i)}if(e(),!n||!Pt(r))return e;var t=h-n,a=_t(t);if("day"===a)return e;var o=Tt(a),u=t-t%o,s=u>=h?u-o:u,l=Math.abs(s-h);return h!==s&&(i=setTimeout((function(){return p(s)}),1e3*l)),e}),[h,n,r]);var d=t||0,b=r;if(Pt(r)&&"number"==typeof h&&n){var g=Tt(b=_t(h));d=Math.round(h/g)}return vt.createElement(St,(0,gt.__assign)({value:d,unit:b},a))};Ft.displayName="FormattedRelativeTime",Ft.defaultProps={value:0,unit:"second"};var Ot=Ft,Nt=s(window.React),It=function(e){var t=rt(),r=t.formatPlural,n=t.textComponent,a=e.value,i=e.other,o=e.children,u=e[r(a,e)]||i;return"function"==typeof o?o(u):n?Nt.createElement(n,null,u):u};It.defaultProps={type:"cardinal"},It.displayName="FormattedPlural";var Ct=It,wt=s(l()),Mt=s(window.React);function At(e){var t=rt(),r=t.formatMessage,n=t.textComponent,a=void 0===n?Mt.Fragment:n,i=e.id,o=e.description,u=e.defaultMessage,s=e.values,l=e.children,c=e.tagName,f=void 0===c?a:c,m=r({id:i,description:o,defaultMessage:u},s,{ignoreTag:e.ignoreTag});return"function"==typeof l?l(Array.isArray(m)?m:[m]):f?Mt.createElement(f,null,Mt.Children.toArray(m)):Mt.createElement(Mt.Fragment,null,m)}At.displayName="FormattedMessage";var Lt=Mt.memo(At,(function(e,t){var r=e.values,n=(0,wt.__rest)(e,["values"]),a=t.values,i=(0,wt.__rest)(t,["values"]);return Xe(a,r)&&Xe(n,i)}));Lt.displayName="MemoizedFormattedMessage";var Rt=Lt,Bt=s(l()),jt=s(window.React),Ht=function(e){var t=rt(),r=e.from,n=e.to,a=e.children,i=(0,Bt.__rest)(e,["from","to","children"]),o=t.formatDateTimeRange(r,n,i);if("function"==typeof a)return a(o);var u=t.textComponent||jt.Fragment;return jt.createElement(u,null,o)};Ht.displayName="FormattedDateTimeRange";var kt=Ht,xt=s(Me());function Ut(e){return e}function Gt(e){return e}var zt,Vt=ot("formatDate"),Kt=ot("formatTime"),Xt=ot("formatNumber"),Yt=ot("formatList"),Zt=ot("formatDisplayName"),$t=it("formatDate"),Wt=it("formatTime");return zt=Ae,u(t({},"__esModule",{value:!0}),zt)}(); +/** @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/168ff5eaa248dbb65783f42fcb45ccc4001604ed79b6fdd567a34c306de5da43.map \ No newline at end of file