-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathc4f5d8e4.ca64da48.js
2 lines (2 loc) · 65.8 KB
/
c4f5d8e4.ca64da48.js
1
2
/*! For license information please see c4f5d8e4.ca64da48.js.LICENSE.txt */
(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[2634],{8418:(e,t,r)=>{"use strict";function n(e,t){const r=t&&t.cache?t.cache:c,n=t&&t.serializer?t.serializer:l;return(t&&t.strategy?t.strategy:a)(e,{cache:r,serializer:n})}function s(e,t,r,n){const s=null==(i=n)||"number"==typeof i||"boolean"==typeof i?n:r(n);var i;let o=t.get(s);return void 0===o&&(o=e.call(this,n),t.set(s,o)),o}function i(e,t,r){const n=Array.prototype.slice.call(arguments,3),s=r(n);let i=t.get(s);return void 0===i&&(i=e.apply(this,n),t.set(s,i)),i}function o(e,t,r,n,s){return r.bind(t,e,n,s)}function a(e,t){return o(e,this,1===e.length?s:i,t.cache.create(),t.serializer)}r.d(t,{B:()=>n,W:()=>u});const l=function(){return JSON.stringify(arguments)};class h{constructor(){this.cache=Object.create(null)}get(e){return this.cache[e]}set(e,t){this.cache[e]=t}}const c={create:function(){return new h}},u={variadic:function(e,t){return o(e,this,i,t.cache.create(),t.serializer)},monadic:function(e,t){return o(e,this,s,t.cache.create(),t.serializer)}}},6214:(e,t,r)=>{"use strict";r.r(t),r.d(t,{SKELETON_TYPE:()=>i,TYPE:()=>s,_Parser:()=>ae,createLiteralElement:()=>E,createNumberElement:()=>b,isArgumentElement:()=>a,isDateElement:()=>h,isDateTimeSkeleton:()=>p,isLiteralElement:()=>o,isNumberElement:()=>l,isNumberSkeleton:()=>g,isPluralElement:()=>m,isPoundElement:()=>f,isSelectElement:()=>u,isStructurallySame:()=>se,isTagElement:()=>d,isTimeElement:()=>c,parse:()=>oe});let n=function(e){return e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG",e}({}),s=function(e){return e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag",e}({}),i=function(e){return e[e.number=0]="number",e[e.dateTime=1]="dateTime",e}({});function o(e){return e.type===s.literal}function a(e){return e.type===s.argument}function l(e){return e.type===s.number}function h(e){return e.type===s.date}function c(e){return e.type===s.time}function u(e){return e.type===s.select}function m(e){return e.type===s.plural}function f(e){return e.type===s.pound}function d(e){return e.type===s.tag}function g(e){return!(!e||"object"!=typeof e||e.type!==i.number)}function p(e){return!(!e||"object"!=typeof e||e.type!==i.dateTime)}function E(e){return{type:s.literal,value:e}}function b(e,t){return{type:s.number,value:e,style:t}}const y=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,T=/(?:[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 A(e){const t={};return e.replace(T,(e=>{const 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?"long":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}const N=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;const v=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,S=/^(@+)?(\+|#+)?[rs]?$/g,H=/(\*)(0+)|(#+)(0+)|(0+)/g,_=/^(0+)$/;function B(e){const t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(S,(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 I(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 P(e){let 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){const r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!_.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function L(e){const t=I(e);return t||{}}function R(e){let t={};for(const r of e){switch(r.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=r.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=r.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t={...t,notation:"scientific",...r.options.reduce(((e,t)=>({...e,...L(t)})),{})};continue;case"engineering":t={...t,notation:"engineering",...r.options.reduce(((e,t)=>({...e,...L(t)})),{})};continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(r.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(r.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");r.options[0].replace(H,(function(e,r,n,s,i,o){if(r)t.minimumIntegerDigits=n.length;else{if(s&&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(_.test(r.stem)){t.minimumIntegerDigits=r.stem.length;continue}if(v.test(r.stem)){if(r.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(v,(function(e,r,n,s,i,o){return"*"===n?t.minimumFractionDigits=r.length:s&&"#"===s[0]?t.maximumFractionDigits=s.length:i&&o?(t.minimumFractionDigits=i.length,t.maximumFractionDigits=i.length+o.length):(t.minimumFractionDigits=r.length,t.maximumFractionDigits=r.length),""}));const e=r.options[0];"w"===e?t={...t,trailingZeroDisplay:"stripIfInteger"}:e&&(t={...t,...B(e)});continue}if(S.test(r.stem)){t={...t,...B(r.stem)};continue}const e=I(r.stem);e&&(t={...t,...e});const n=P(r.stem);n&&(t={...t,...n})}return t}const M={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function w(e){let 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")}const r=e.language;let n;"root"!==r&&(n=e.maximize().region);return(M[n||""]||M[r||""]||M[`${r}-001`]||M["001"])[0]}const C=new RegExp(`^${y.source}*`),O=new RegExp(`${y.source}*$`);function x(e,t){return{start:e,end:t}}const j=!!String.prototype.startsWith&&"_a".startsWith("a",1),F=!!String.fromCodePoint,D=!!Object.fromEntries,U=!!String.prototype.codePointAt,G=!!String.prototype.trimStart,k=!!String.prototype.trimEnd,$=!!Number.isSafeInteger?Number.isSafeInteger:e=>"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991;let V=!0;try{const e=z("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");V="a"===e.exec("a")?.[0]}catch(le){V=!1}const J=j?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},X=F?String.fromCodePoint:function(){let e,t="",r=arguments.length,n=0;for(;r>n;){var s;if(e=(s=n++)<0||arguments.length<=s?void 0:arguments[s],e>1114111)throw RangeError(e+" is not a valid code point");t+=e<65536?String.fromCharCode(e):String.fromCharCode(55296+((e-=65536)>>10),e%1024+56320)}return t},K=D?Object.fromEntries:function(e){const t={};for(const[r,n]of e)t[r]=n;return t},Z=U?function(e,t){return e.codePointAt(t)}:function(e,t){let r=e.length;if(t<0||t>=r)return;let n,s=e.charCodeAt(t);return s<55296||s>56319||t+1===r||(n=e.charCodeAt(t+1))<56320||n>57343?s:n-56320+(s-55296<<10)+65536},W=G?function(e){return e.trimStart()}:function(e){return e.replace(C,"")},Y=k?function(e){return e.trimEnd()}:function(e){return e.replace(O,"")};function z(e,t){return new RegExp(e,t)}let q;if(V){const e=z("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");q=function(t,r){e.lastIndex=r;return e.exec(t)[1]??""}}else q=function(e,t){let r=[];for(;;){const n=Z(e,t);if(void 0===n||te(n)||re(n))break;r.push(n),t+=n>=65536?2:1}return X(...r)};class Q{constructor(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}parse(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)}parseMessage(e,t,r){let i=[];for(;!this.isEOF();){const o=this.char();if(123===o){const t=this.parseArgument(e,r);if(t.err)return t;i.push(t.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.UNMATCHED_CLOSING_TAG,x(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&ee(this.peek()||0)){const r=this.parseTag(e,t);if(r.err)return r;i.push(r.val)}else{const r=this.parseLiteral(e,t);if(r.err)return r;i.push(r.val)}}else{const e=this.clonePosition();this.bump(),i.push({type:s.pound,location:x(e,this.clonePosition())})}}}return{val:i,err:null}}parseTag(e,t){const r=this.clonePosition();this.bump();const i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:s.literal,value:`<${i}/>`,location:x(r,this.clonePosition())},err:null};if(this.bumpIf(">")){const o=this.parseMessage(e+1,t,!0);if(o.err)return o;const a=o.val,l=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!ee(this.char()))return this.error(n.INVALID_TAG,x(l,this.clonePosition()));const e=this.clonePosition();return i!==this.parseTagName()?this.error(n.UNMATCHED_CLOSING_TAG,x(e,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:s.tag,value:i,children:a,location:x(r,this.clonePosition())},err:null}:this.error(n.INVALID_TAG,x(l,this.clonePosition())))}return this.error(n.UNCLOSED_TAG,x(r,this.clonePosition()))}return this.error(n.INVALID_TAG,x(r,this.clonePosition()))}parseTagName(){const e=this.offset();for(this.bump();!this.isEOF()&&(45===(t=this.char())||46===t||t>=48&&t<=57||95===t||t>=97&&t<=122||t>=65&&t<=90||183==t||t>=192&&t<=214||t>=216&&t<=246||t>=248&&t<=893||t>=895&&t<=8191||t>=8204&&t<=8205||t>=8255&&t<=8256||t>=8304&&t<=8591||t>=11264&&t<=12271||t>=12289&&t<=55295||t>=63744&&t<=64975||t>=65008&&t<=65533||t>=65536&&t<=983039);)this.bump();var t;return this.message.slice(e,this.offset())}parseLiteral(e,t){const r=this.clonePosition();let n="";for(;;){const r=this.tryParseQuote(t);if(r){n+=r;continue}const s=this.tryParseUnquoted(e,t);if(s){n+=s;continue}const i=this.tryParseLeftAngleBracket();if(!i)break;n+=i}const i=x(r,this.clonePosition());return{val:{type:s.literal,value:n,location:i},err:null}}tryParseLeftAngleBracket(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(ee(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e}tryParseQuote(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();const t=[this.char()];for(this.bump();!this.isEOF();){const e=this.char();if(39===e){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(e);this.bump()}return X(...t)}tryParseUnquoted(e,t){if(this.isEOF())return null;const r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&e>0?null:(this.bump(),X(r))}parseArgument(e,t){const r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(n.EXPECT_ARGUMENT_CLOSING_BRACE,x(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(n.EMPTY_ARGUMENT,x(r,this.clonePosition()));let i=this.parseIdentifierIfPossible().value;if(!i)return this.error(n.MALFORMED_ARGUMENT,x(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(n.EXPECT_ARGUMENT_CLOSING_BRACE,x(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:s.argument,value:i,location:x(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(n.EXPECT_ARGUMENT_CLOSING_BRACE,x(r,this.clonePosition())):this.parseArgumentOptions(e,t,i,r);default:return this.error(n.MALFORMED_ARGUMENT,x(r,this.clonePosition()))}}parseIdentifierIfPossible(){const e=this.clonePosition(),t=this.offset(),r=q(this.message,t),n=t+r.length;this.bumpTo(n);return{value:r,location:x(e,this.clonePosition())}}parseArgumentOptions(e,t,r,o){let a=this.clonePosition(),l=this.parseIdentifierIfPossible().value,h=this.clonePosition();switch(l){case"":return this.error(n.EXPECT_ARGUMENT_TYPE,x(a,h));case"number":case"date":case"time":{this.bumpSpace();let e=null;if(this.bumpIf(",")){this.bumpSpace();const t=this.clonePosition(),r=this.parseSimpleArgStyleIfPossible();if(r.err)return r;const s=Y(r.val);if(0===s.length)return this.error(n.EXPECT_ARGUMENT_STYLE,x(this.clonePosition(),this.clonePosition()));e={style:s,styleLocation:x(t,this.clonePosition())}}const t=this.tryParseArgumentClose(o);if(t.err)return t;const a=x(o,this.clonePosition());if(e&&J(e?.style,"::",0)){let t=W(e.style.slice(2));if("number"===l){const n=this.parseNumberSkeletonFromString(t,e.styleLocation);return n.err?n:{val:{type:s.number,value:r,location:a,style:n.val},err:null}}{if(0===t.length)return this.error(n.EXPECT_DATE_TIME_SKELETON,a);let o=t;this.locale&&(o=function(e,t){let r="";for(let n=0;n<e.length;n++){const s=e.charAt(n);if("j"===s){let i=0;for(;n+1<e.length&&e.charAt(n+1)===s;)i++,n++;let o=1+(1&i),a=i<2?1:3+(i>>1),l="a",h=w(t);for("H"!=h&&"k"!=h||(a=0);a-- >0;)r+=l;for(;o-- >0;)r=h+r}else r+="J"===s?"H":s}return r}(t,this.locale));const h={type:i.dateTime,pattern:o,location:e.styleLocation,parsedOptions:this.shouldParseSkeletons?A(o):{}};return{val:{type:"date"===l?s.date:s.time,value:r,location:a,style:h},err:null}}}return{val:{type:"number"===l?s.number:"date"===l?s.date:s.time,value:r,location:a,style:e?.style??null},err:null}}case"plural":case"selectordinal":case"select":{const i=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(n.EXPECT_SELECT_ARGUMENT_OPTIONS,x(i,{...i}));this.bumpSpace();let a=this.parseIdentifierIfPossible(),h=0;if("select"!==l&&"offset"===a.value){if(!this.bumpIf(":"))return this.error(n.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,x(this.clonePosition(),this.clonePosition()));this.bumpSpace();const e=this.tryParseDecimalInteger(n.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,n.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(e.err)return e;this.bumpSpace(),a=this.parseIdentifierIfPossible(),h=e.val}const c=this.tryParsePluralOrSelectOptions(e,l,t,a);if(c.err)return c;const u=this.tryParseArgumentClose(o);if(u.err)return u;const m=x(o,this.clonePosition());return"select"===l?{val:{type:s.select,value:r,options:K(c.val),location:m},err:null}:{val:{type:s.plural,value:r,options:K(c.val),offset:h,pluralType:"plural"===l?"cardinal":"ordinal",location:m},err:null}}default:return this.error(n.INVALID_ARGUMENT_TYPE,x(a,h))}}tryParseArgumentClose(e){return this.isEOF()||125!==this.char()?this.error(n.EXPECT_ARGUMENT_CLOSING_BRACE,x(e,this.clonePosition())):(this.bump(),{val:!0,err:null})}parseSimpleArgStyleIfPossible(){let e=0;const t=this.clonePosition();for(;!this.isEOF();){switch(this.char()){case 39:{this.bump();let e=this.clonePosition();if(!this.bumpUntil("'"))return this.error(n.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,x(e,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}}parseNumberSkeletonFromString(e,t){let r=[];try{r=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");const t=e.split(N).filter((e=>e.length>0)),r=[];for(const n of t){let e=n.split("/");if(0===e.length)throw new Error("Invalid number skeleton");const[t,...s]=e;for(const r of s)if(0===r.length)throw new Error("Invalid number skeleton");r.push({stem:t,options:s})}return r}(e)}catch(s){return this.error(n.INVALID_NUMBER_SKELETON,t)}return{val:{type:i.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?R(r):{}},err:null}}tryParsePluralOrSelectOptions(e,t,r,s){let i=!1;const o=[],a=new Set;let{value:l,location:h}=s;for(;;){if(0===l.length){const e=this.clonePosition();if("select"===t||!this.bumpIf("="))break;{const t=this.tryParseDecimalInteger(n.EXPECT_PLURAL_ARGUMENT_SELECTOR,n.INVALID_PLURAL_ARGUMENT_SELECTOR);if(t.err)return t;h=x(e,this.clonePosition()),l=this.message.slice(e.offset,this.offset())}}if(a.has(l))return this.error("select"===t?n.DUPLICATE_SELECT_ARGUMENT_SELECTOR:n.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);"other"===l&&(i=!0),this.bumpSpace();const s=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?n.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:n.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,x(this.clonePosition(),this.clonePosition()));const c=this.parseMessage(e+1,t,r);if(c.err)return c;const u=this.tryParseArgumentClose(s);if(u.err)return u;o.push([l,{value:c.val,location:x(s,this.clonePosition())}]),a.add(l),this.bumpSpace(),({value:l,location:h}=this.parseIdentifierIfPossible())}return 0===o.length?this.error("select"===t?n.EXPECT_SELECT_ARGUMENT_SELECTOR:n.EXPECT_PLURAL_ARGUMENT_SELECTOR,x(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(n.MISSING_OTHER_CLAUSE,x(this.clonePosition(),this.clonePosition())):{val:o,err:null}}tryParseDecimalInteger(e,t){let r=1;const n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);let s=!1,i=0;for(;!this.isEOF();){const e=this.char();if(!(e>=48&&e<=57))break;s=!0,i=10*i+(e-48),this.bump()}const o=x(n,this.clonePosition());return s?(i*=r,$(i)?{val:i,err:null}:this.error(t,o)):this.error(e,o)}offset(){return this.position.offset}isEOF(){return this.offset()===this.message.length}clonePosition(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}}char(){const e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");const t=Z(this.message,e);if(void 0===t)throw Error(`Offset ${e} is at invalid UTF-16 code unit boundary`);return t}error(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}}bump(){if(this.isEOF())return;const 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)}bumpIf(e){if(J(this.message,e,this.offset())){for(let t=0;t<e.length;t++)this.bump();return!0}return!1}bumpUntil(e){const t=this.offset(),r=this.message.indexOf(e,t);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)}bumpTo(e){if(this.offset()>e)throw Error(`targetOffset ${e} must be greater than or equal to the current offset ${this.offset()}`);for(e=Math.min(e,this.message.length);;){const t=this.offset();if(t===e)break;if(t>e)throw Error(`targetOffset ${e} is at invalid UTF-16 code unit boundary`);if(this.bump(),this.isEOF())break}}bumpSpace(){for(;!this.isEOF()&&te(this.char());)this.bump()}peek(){if(this.isEOF())return null;const e=this.char(),t=this.offset();return this.message.charCodeAt(t+(e>=65536?2:1))??null}}function ee(e){return e>=97&&e<=122||e>=65&&e<=90}function te(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function re(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 ne(e,t){void 0===t&&(t=new Map),e.forEach((e=>{if(a(e)||h(e)||c(e)||l(e)){if(e.value in t&&t.get(e.value)!==e.type)throw new Error(`Variable ${e.value} has conflicting types`);t.set(e.value,e.type)}(m(e)||u(e))&&(t.set(e.value,e.type),Object.keys(e.options).forEach((r=>{ne(e.options[r].value,t)}))),d(e)&&(t.set(e.value,e.type),ne(e.children,t))}))}function se(e,t){const r=new Map,n=new Map;return ne(e,r),ne(t,n),r.size!==n.size?{success:!1,error:new Error(`Different number of variables: [${Array.from(r.keys()).join(", ")}] vs [${Array.from(n.keys()).join(", ")}]`)}:Array.from(r.entries()).reduce(((e,t)=>{let[r,i]=t;if(!e.success)return e;const o=n.get(r);return null==o?{success:!1,error:new Error(`Missing variable ${r} in message`)}:o!==i?{success:!1,error:new Error(`Variable ${r} has conflicting types: ${s[i]} vs ${s[o]}`)}:e}),{success:!0})}function ie(e){e.forEach((e=>{if(delete e.location,u(e)||m(e))for(const t in e.options)delete e.options[t].location,ie(e.options[t].value);else l(e)&&g(e.style)||(h(e)||c(e))&&p(e.style)?delete e.style.location:d(e)&&ie(e.children)}))}function oe(e,t){void 0===t&&(t={}),t={shouldParseSkeletons:!0,requiresOtherClause:!0,...t};const r=new Q(e,t).parse();if(r.err){const e=SyntaxError(n[r.err.kind]);throw e.location=r.err.location,e.originalMessage=r.err.message,e}return t?.captureLocation||ie(r.val),r.val}const ae=Q},9775:(e,t,r)=>{"use strict";r.d(t,{S:()=>l});var n=r(8418),s=r(6214),i=r(851);function o(e,t){return t?Object.keys(e).reduce(((r,n)=>{var s,i;return r[n]=(s=e[n],(i=t[n])?{...s||{},...i||{},...Object.keys(s).reduce(((e,t)=>(e[t]={...s[t],...i[t]||{}},e)),{})}:s),r}),{...e}):e}function a(e){return{create:()=>({get:t=>e[t],set(t,r){e[t]=r}})}}class l{formatterCache={number:{},dateTime:{},pluralRules:{}};constructor(e,t,r,s){if(void 0===t&&(t=l.defaultLocale),this.locales=t,this.resolvedLocale=l.resolveLocale(t),"string"==typeof e){if(this.message=e,!l.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");const{formatters:t,...r}=s||{};this.ast=l.__parse(e,{...r,locale:this.resolvedLocale})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");var i;this.formats=o(l.formats,r),this.formatters=s&&s.formatters||(void 0===(i=this.formatterCache)&&(i={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:(0,n.B)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return new Intl.NumberFormat(...t)}),{cache:a(i.number),strategy:n.W.variadic}),getDateTimeFormat:(0,n.B)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return new Intl.DateTimeFormat(...t)}),{cache:a(i.dateTime),strategy:n.W.variadic}),getPluralRules:(0,n.B)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return new Intl.PluralRules(...t)}),{cache:a(i.pluralRules),strategy:n.W.variadic})})}format=e=>{const t=this.formatToParts(e);if(1===t.length)return t[0].value;const r=t.reduce(((e,t)=>(e.length&&t.type===i.TT.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e)),[]);return r.length<=1?r[0]||"":r};formatToParts=e=>(0,i.hN)(this.ast,this.locales,this.formatters,this.formats,e,void 0,this.message);resolvedOptions=()=>({locale:this.resolvedLocale?.toString()||Intl.NumberFormat.supportedLocalesOf(this.locales)[0]});getAst=()=>this.ast;static memoizedDefaultLocale=null;static get defaultLocale(){return l.memoizedDefaultLocale||(l.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),l.memoizedDefaultLocale}static resolveLocale=e=>{if(void 0===Intl.Locale)return;const t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])};static __parse=(()=>s.parse)();static 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"}}}}},3280:(e,t,r)=>{"use strict";r.d(t,{$x:()=>i,Ei:()=>a,IF:()=>s,O4:()=>n,Zo:()=>o});let n=function(e){return e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API",e}({});class s extends Error{constructor(e,t,r){super(e),this.code=t,this.originalMessage=r}toString(){return`[formatjs Error: ${this.code}] ${this.message}`}}class i extends s{constructor(e,t,r,s){super(`Invalid values for "${e}": "${t}". Options are "${Object.keys(r).join('", "')}"`,n.INVALID_VALUE,s)}}class o extends s{constructor(e,t,r){super(`Value for "${e}" must be of type ${t}`,n.INVALID_VALUE,r)}}class a extends s{constructor(e,t){super(`The intl string context variable "${e}" was not provided to the string "${t}"`,n.MISSING_VALUE,t)}}},851:(e,t,r)=>{"use strict";r.d(t,{RK:()=>o,TT:()=>i,hN:()=>a});var n=r(6214),s=r(3280);let i=function(e){return e[e.literal=0]="literal",e[e.object=1]="object",e}({});function o(e){return"function"==typeof e}function a(e,t,r,l,h,c,u){if(1===e.length&&(0,n.isLiteralElement)(e[0]))return[{type:i.literal,value:e[0].value}];const m=[];for(const d of e){if((0,n.isLiteralElement)(d)){m.push({type:i.literal,value:d.value});continue}if((0,n.isPoundElement)(d)){"number"==typeof c&&m.push({type:i.literal,value:r.getNumberFormat(t).format(c)});continue}const{value:e}=d;if(!h||!(e in h))throw new s.Ei(e,u);let f=h[e];if((0,n.isArgumentElement)(d))f&&"string"!=typeof f&&"number"!=typeof f||(f="string"==typeof f||"number"==typeof f?String(f):""),m.push({type:"string"==typeof f?i.literal:i.object,value:f});else if((0,n.isDateElement)(d)){const e="string"==typeof d.style?l.date[d.style]:(0,n.isDateTimeSkeleton)(d.style)?d.style.parsedOptions:void 0;m.push({type:i.literal,value:r.getDateTimeFormat(t,e).format(f)})}else if((0,n.isTimeElement)(d)){const e="string"==typeof d.style?l.time[d.style]:(0,n.isDateTimeSkeleton)(d.style)?d.style.parsedOptions:l.time.medium;m.push({type:i.literal,value:r.getDateTimeFormat(t,e).format(f)})}else if((0,n.isNumberElement)(d)){const e="string"==typeof d.style?l.number[d.style]:(0,n.isNumberSkeleton)(d.style)?d.style.parsedOptions:void 0;e&&e.scale&&(f*=e.scale||1),m.push({type:i.literal,value:r.getNumberFormat(t,e).format(f)})}else{if((0,n.isTagElement)(d)){const{children:e,value:n}=d,f=h[n];if(!o(f))throw new s.Zo(n,"function",u);let g=f(a(e,t,r,l,h,c).map((e=>e.value)));Array.isArray(g)||(g=[g]),m.push(...g.map((e=>({type:"string"==typeof e?i.literal:i.object,value:e}))))}if((0,n.isSelectElement)(d)){const e=d.options[f]||d.options.other;if(!e)throw new s.$x(d.value,f,Object.keys(d.options),u);m.push(...a(e.value,t,r,l,h))}else if((0,n.isPluralElement)(d)){let e=d.options[`=${f}`];if(!e){if(!Intl.PluralRules)throw new s.IF('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',s.O4.MISSING_INTL_API,u);const n=r.getPluralRules(t,{type:d.pluralType}).select(f-(d.offset||0));e=d.options[n]||d.options.other}if(!e)throw new s.$x(d.value,f,Object.keys(d.options),u);m.push(...a(e.value,t,r,l,h,f-(d.offset||0)))}else;}}return(f=m).length<2?f:f.reduce(((e,t)=>{const r=e[e.length-1];return r&&r.type===i.literal&&t.type===i.literal?r.value+=t.value:e.push(t),e}),[]);var f}},1177:(e,t,r)=>{"use strict";r.d(t,{Ar:()=>s,Ho:()=>h,OC:()=>i,hr:()=>a,lo:()=>n,pg:()=>l,sb:()=>c,uo:()=>o});let n=function(e){return e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION",e}({});class s extends Error{constructor(e,t,r){const n=r?r instanceof Error?r:new Error(String(r)):void 0;super(`[@formatjs/intl Error ${e}] ${t}\n${n?`\n${n.message}\n${n.stack}`:""}`),this.code=e,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,s)}}class i extends s{constructor(e,t){super(n.UNSUPPORTED_FORMATTER,e,t)}}class o extends s{constructor(e,t){super(n.INVALID_CONFIG,e,t)}}class a extends s{constructor(e,t){super(n.MISSING_DATA,e,t)}}class l extends s{constructor(e,t,r){super(n.FORMAT_ERROR,`${e}\nLocale: ${t}\n`,r),this.locale=t}}class h extends l{constructor(e,t,r,n){super(`${e}\nMessageID: ${r?.id}\nDefault Message: ${r?.defaultMessage}\nDescription: ${r?.description}\n`,t,n),this.descriptor=r,this.locale=t}}class c extends s{constructor(e,t){super(n.MISSING_TRANSLATION,`Missing message: "${e.id}" for locale "${t}", using ${e.defaultMessage?`default message (${"string"==typeof e.defaultMessage?e.defaultMessage:e.defaultMessage.map((e=>e.value??JSON.stringify(e))).join()})`:"id"} as fallback.`),this.descriptor=e}}},4962:(e,t,r)=>{"use strict";r.d(t,{F3:()=>m,GT:()=>u,J9:()=>a,JF:()=>l,MT:()=>h,V1:()=>o});var n=r(8418),s=r(9775),i=r(1177);function o(e,t,r){if(void 0===r&&(r=Error),!e)throw new r(t)}function a(e,t,r){return void 0===r&&(r={}),t.reduce(((t,n)=>(n in e?t[n]=e[n]:n in r&&(t[n]=r[n]),t)),{})}const l={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:e=>{0},onWarn:e=>{0}};function h(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function c(e){return{create:()=>({get:t=>e[t],set(t,r){e[t]=r}})}}function u(e){void 0===e&&(e={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}});const t=Intl.RelativeTimeFormat,r=Intl.ListFormat,i=Intl.DisplayNames,o=(0,n.B)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return new Intl.DateTimeFormat(...t)}),{cache:c(e.dateTime),strategy:n.W.variadic}),a=(0,n.B)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return new Intl.NumberFormat(...t)}),{cache:c(e.number),strategy:n.W.variadic}),l=(0,n.B)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return new Intl.PluralRules(...t)}),{cache:c(e.pluralRules),strategy:n.W.variadic});return{getDateTimeFormat:o,getNumberFormat:a,getMessageFormat:(0,n.B)(((e,t,r,n)=>new s.S(e,t,r,{formatters:{getNumberFormat:a,getDateTimeFormat:o,getPluralRules:l},...n||{}})),{cache:c(e.message),strategy:n.W.variadic}),getRelativeTimeFormat:(0,n.B)((function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return new t(...r)}),{cache:c(e.relativeTime),strategy:n.W.variadic}),getPluralRules:l,getListFormat:(0,n.B)((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return new r(...t)}),{cache:c(e.list),strategy:n.W.variadic}),getDisplayNames:(0,n.B)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return new i(...t)}),{cache:c(e.displayNames),strategy:n.W.variadic})}}function m(e,t,r,n){const s=e&&e[t];let o;if(s&&(o=s[r]),o)return o;n(new i.OC(`No ${t} format named: ${r}`))}},9799:(e,t,r)=>{"use strict";r.d(t,{E:()=>F});var n=r(6214),s=r(9775),i=r(1177),o=r(4962);function a(e,t){return Object.keys(e).reduce(((r,n)=>(r[n]={timeZone:t,...e[n]},r)),{})}function l(e,t){return Object.keys({...e,...t}).reduce(((r,n)=>(r[n]={...e[n]||{},...t[n]||{}},r)),{})}function h(e,t){if(!t)return e;const r=s.S.formats;return{...r,...e,date:l(a(r.date,t),a(e.date||{},t)),time:l(a(r.time,t),a(e.time||{},t))}}const c=function(e,t,r,s,a){let{locale:l,formats:c,messages:u,defaultLocale:m,defaultFormats:f,fallbackOnEmptyString:d,onError:g,timeZone:p,defaultRichTextElements:E}=e;void 0===r&&(r={id:""});const{id:b,defaultMessage:y}=r;(0,o.V1)(!!b,"[@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.github.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.github.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.github.io/docs/tooling/linter#enforce-id)\nto autofix this issue");const T=String(b),A=u&&Object.prototype.hasOwnProperty.call(u,T)&&u[T];if(Array.isArray(A)&&1===A.length&&A[0].type===n.TYPE.literal)return A[0].value;if(!s&&A&&"string"==typeof A&&!E)return A.replace(/'\{(.*?)\}'/gi,"{$1}");if(s={...E,...s||{}},c=h(c,p),f=h(f,p),!A){if(!1===d&&""===A)return A;if((!y||l&&l.toLowerCase()!==m.toLowerCase())&&g(new i.sb(r,l)),y)try{return t.getMessageFormat(y,m,f,a).format(s)}catch(N){return g(new i.Ho(`Error formatting default message for: "${T}", rendering default message verbatim`,l,r,N)),"string"==typeof y?y:T}return T}try{return t.getMessageFormat(A,l,c,{formatters:t,...a||{}}).format(s)}catch(N){g(new i.Ho(`Error formatting message: "${T}", using ${y?"default message":"id"} as fallback.`,l,r,N))}if(y)try{return t.getMessageFormat(y,m,f,a).format(s)}catch(N){g(new i.Ho(`Error formatting the default message for: "${T}", rendering message verbatim`,l,r,N))}return"string"==typeof A?A:"string"==typeof y?y:T},u=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function m(e,t,r,n){let{locale:s,formats:i,onError:a,timeZone:l}=e;void 0===n&&(n={});const{format:h}=n,c={...l&&{timeZone:l},...h&&(0,o.F3)(i,t,h,a)};let m=(0,o.J9)(n,u,c);return"time"!==t||m.hour||m.minute||m.second||m.timeStyle||m.dateStyle||(m={...m,hour:"numeric",minute:"numeric"}),r(s,m)}function f(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),s=2;s<r;s++)n[s-2]=arguments[s];let[o,a={}]=n;const l="string"==typeof o?new Date(o||0):o;try{return m(e,"date",t,a).format(l)}catch(h){e.onError(new i.pg("Error formatting date.",e.locale,h))}return String(l)}function d(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),s=2;s<r;s++)n[s-2]=arguments[s];let[o,a={}]=n;const l="string"==typeof o?new Date(o||0):o;try{return m(e,"time",t,a).format(l)}catch(h){e.onError(new i.pg("Error formatting time.",e.locale,h))}return String(l)}function g(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),s=2;s<r;s++)n[s-2]=arguments[s];let[o,a,l={}]=n;const h="string"==typeof o?new Date(o||0):o,c="string"==typeof a?new Date(a||0):a;try{return m(e,"dateTimeRange",t,l).formatRange(h,c)}catch(u){e.onError(new i.pg("Error formatting date time range.",e.locale,u))}return String(h)}function p(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),s=2;s<r;s++)n[s-2]=arguments[s];let[o,a={}]=n;const l="string"==typeof o?new Date(o||0):o;try{return m(e,"date",t,a).formatToParts(l)}catch(h){e.onError(new i.pg("Error formatting date.",e.locale,h))}return[]}function E(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),s=2;s<r;s++)n[s-2]=arguments[s];let[o,a={}]=n;const l="string"==typeof o?new Date(o||0):o;try{return m(e,"time",t,a).formatToParts(l)}catch(h){e.onError(new i.pg("Error formatting time.",e.locale,h))}return[]}var b=r(3280);const y=["style","type","fallback","languageDisplay"];function T(e,t,r,n){let{locale:s,onError:a}=e;Intl.DisplayNames||a(new b.IF('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',b.O4.MISSING_INTL_API));const l=(0,o.J9)(n,y);try{return t(s,l).of(r)}catch(h){a(new i.pg("Error formatting display name.",s,h))}}const A=["type","style"],N=Date.now();function v(e,t,r,n){void 0===n&&(n={});const s=S(e,t,r,n).reduce(((e,t)=>{const r=t.value;return"string"!=typeof r?e.push(r):"string"==typeof e[e.length-1]?e[e.length-1]+=r:e.push(r),e}),[]);return 1===s.length?s[0]:0===s.length?"":s}function S(e,t,r,n){let{locale:s,onError:a}=e;void 0===n&&(n={});Intl.ListFormat||a(new b.IF('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',b.O4.MISSING_INTL_API));const l=(0,o.J9)(n,A);try{const e={},n=r.map(((t,r)=>{if("object"==typeof t){const n=function(e){return`${N}_${e}_${N}`}(r);return e[n]=t,n}return String(t)}));return t(s,l).formatToParts(n).map((t=>"literal"===t.type?t:{...t,value:e[t.value]||t.value}))}catch(h){a(new i.pg("Error formatting list.",s,h))}return r}const H=["style","currency","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem","trailingZeroDisplay","roundingPriority","roundingIncrement","roundingMode"];function _(e,t,r){let{locale:n,formats:s,onError:i}=e;void 0===r&&(r={});const{format:a}=r,l=a&&(0,o.F3)(s,"number",a,i)||{};return t(n,(0,o.J9)(r,H,l))}function B(e,t,r,n){void 0===n&&(n={});try{return _(e,t,n).format(r)}catch(s){e.onError(new i.pg("Error formatting number.",e.locale,s))}return String(r)}function I(e,t,r,n){void 0===n&&(n={});try{return _(e,t,n).formatToParts(r)}catch(s){e.onError(new i.pg("Error formatting number.",e.locale,s))}return[]}const P=["type"];function L(e,t,r,n){let{locale:s,onError:a}=e;void 0===n&&(n={}),Intl.PluralRules||a(new b.IF('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',b.O4.MISSING_INTL_API));const l=(0,o.J9)(n,P);try{return t(s,l).select(r)}catch(h){a(new i.pg("Error formatting plural.",s,h))}return"other"}const R=["numeric","style"];function M(e,t,r,n,s){void 0===s&&(s={}),n||(n="second");Intl.RelativeTimeFormat||e.onError(new b.IF('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',b.O4.MISSING_INTL_API));try{return function(e,t,r){let{locale:n,formats:s,onError:i}=e;void 0===r&&(r={});const{format:a}=r,l=!!a&&(0,o.F3)(s,"relative",a,i)||{};return t(n,(0,o.J9)(r,R,l))}(e,t,s).format(r,n)}catch(a){e.onError(new i.pg("Error formatting relative time.",e.locale,a))}return String(r)}function w(e){var t;e.onWarn&&e.defaultRichTextElements&&"string"==typeof((t=e.messages||{})?t[Object.keys(t)[0]]:void 0)&&e.onWarn('[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled. \nPlease consider using "@formatjs/cli" to pre-compile your messages for performance.\nFor more details see https://formatjs.github.io/docs/getting-started/message-distribution')}var C=r(851),O=r(4252);function x(e){return e?Object.keys(e).reduce(((t,r)=>{const n=e[r];return t[r]=(0,C.RK)(n)?(0,O.yU)(n):n,t}),{}):e}const j=function(e,t,r,n){const s=x(n);for(var i=arguments.length,o=new Array(i>4?i-4:0),a=4;a<i;a++)o[a-4]=arguments[a];const l=c(e,t,r,s,...o);return Array.isArray(l)?(0,O.SP)(l):l},F=(e,t)=>{let{defaultRichTextElements:r,...n}=e;const s=x(r),a=function(e,t){const r=(0,o.GT)(t),n={...o.JF,...e},{locale:s,defaultLocale:a,onError:l}=n;return s?!Intl.NumberFormat.supportedLocalesOf(s).length&&l?l(new i.hr(`Missing locale data for locale: "${s}" in Intl.NumberFormat. Using default locale: "${a}" as fallback. See https://formatjs.github.io/docs/react-intl#runtime-requirements for more details`)):!Intl.DateTimeFormat.supportedLocalesOf(s).length&&l&&l(new i.hr(`Missing locale data for locale: "${s}" in Intl.DateTimeFormat. Using default locale: "${a}" as fallback. See https://formatjs.github.io/docs/react-intl#runtime-requirements for more details`)):(l&&l(new i.uo(`"locale" was not configured, using "${a}" as fallback. See https://formatjs.github.io/docs/react-intl/api#intlshape for more details`)),n.locale=n.defaultLocale||"en"),w(n),{...n,formatters:r,formatNumber:B.bind(null,n,r.getNumberFormat),formatNumberToParts:I.bind(null,n,r.getNumberFormat),formatRelativeTime:M.bind(null,n,r.getRelativeTimeFormat),formatDate:f.bind(null,n,r.getDateTimeFormat),formatDateToParts:p.bind(null,n,r.getDateTimeFormat),formatTime:d.bind(null,n,r.getDateTimeFormat),formatDateTimeRange:g.bind(null,n,r.getDateTimeFormat),formatTimeToParts:E.bind(null,n,r.getDateTimeFormat),formatPlural:L.bind(null,n,r.getPluralRules),formatMessage:c.bind(null,n,r),$t:c.bind(null,n,r),formatList:v.bind(null,n,r.getListFormat),formatListToParts:S.bind(null,n,r.getListFormat),formatDisplayName:T.bind(null,n,r.getDisplayNames)}}({...O.JF,...n,defaultRichTextElements:s},t),l={locale:a.locale,timeZone:a.timeZone,fallbackOnEmptyString:a.fallbackOnEmptyString,formats:a.formats,defaultLocale:a.defaultLocale,defaultFormats:a.defaultFormats,messages:a.messages,onError:a.onError,defaultRichTextElements:s};return{...a,formatMessage:j.bind(null,l,a.formatters),$t:j.bind(null,l,a.formatters)}}},1778:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>f,Kq:()=>u,ob:()=>m});var n=r(3871),s=r.n(n),i=r(7378),o=r(4252),a=r(6106);const l="undefined"==typeof window||window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__?i.createContext(null):window.__REACT_INTL_CONTEXT__||(window.__REACT_INTL_CONTEXT__=i.createContext(null)),{Consumer:h,Provider:c}=l,u=c,m=l;function f(e,t){const{intlPropName:r="intl",forwardRef:n=!1,enforceContext:l=!0}=t||{},c=t=>(0,a.jsx)(h,{children:s=>{l&&(0,o.HM)(s);const i={[r]:s};return(0,a.jsx)(e,{...t,...i,ref:n?t.forwardedRef:null})}});var u;return c.displayName=`injectIntl(${u=e,u.displayName||u.name||"Component"})`,c.WrappedComponent=e,n?s()(i.forwardRef(((e,t)=>(0,a.jsx)(c,{...e,forwardedRef:t}))),e):s()(c,e)}},7387:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var n=r(7378),s=r(4252),i=r(5150),o=r(6106);function a(e,t){const{values:r,...n}=e,{values:i,...o}=t;return(0,s.bN)(i,r)&&(0,s.bN)(n,o)}function l(e){const t=(0,i.A)(),{formatMessage:r,textComponent:s=n.Fragment}=t,{id:a,description:l,defaultMessage:h,values:c,children:u,tagName:m=s,ignoreTag:f}=e,d=r({id:a,description:l,defaultMessage:h},c,{ignoreTag:f});return"function"==typeof u?u(Array.isArray(d)?d:[d]):m?(0,o.jsx)(m,{children:d}):(0,o.jsx)(o.Fragment,{children:d})}l.displayName="FormattedMessage";const h=n.memo(l,a);h.displayName="MemoizedFormattedMessage";const c=h},971:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var n=r(4962),s=r(7378),i=r(4252),o=r(9799),a=r(1778),l=r(6106);function h(e){return{locale:e.locale,timeZone:e.timeZone,fallbackOnEmptyString:e.fallbackOnEmptyString,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError,onWarn:e.onWarn,wrapRichTextChunksInFragment:e.wrapRichTextChunksInFragment,defaultRichTextElements:e.defaultRichTextElements}}class c extends s.PureComponent{static displayName="IntlProvider";static defaultProps=(()=>i.JF)();cache=(()=>(0,n.MT)())();state=(()=>({cache:this.cache,intl:(0,o.E)(h(this.props),this.cache),prevConfig:h(this.props)}))();static getDerivedStateFromProps(e,t){let{prevConfig:r,cache:n}=t;const s=h(e);return(0,i.bN)(r,s)?null:{intl:(0,o.E)(s,n),prevConfig:s}}render(){return(0,i.HM)(this.state.intl),(0,l.jsx)(a.Kq,{value:this.state.intl,children:this.props.children})}}},5150:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(7378),s=r(4252),i=r(1778);function o(){const e=n.useContext(i.ob);return(0,s.HM)(e),e}},4252:(e,t,r)=>{"use strict";r.d(t,{HM:()=>i,JF:()=>o,SP:()=>h,V1:()=>s,bN:()=>u,yU:()=>c});var n=r(7378);function s(e,t,r){if(void 0===r&&(r=Error),!e)throw new r(t)}function i(e){s(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}const o={...r(4962).JF,textComponent:n.Fragment},a={key:42},l=e=>n.isValidElement(e)?n.createElement(n.Fragment,a,e):e,h=e=>n.Children.map(e,l)??[];function c(e){return function(t){return e(n.Children.toArray(t))}}function u(e,t){if(e===t)return!0;if(!e||!t)return!1;var r=Object.keys(e),n=Object.keys(t),s=r.length;if(n.length!==s)return!1;for(var i=0;i<s;i++){var o=r[i];if(e[o]!==t[o]||!Object.prototype.hasOwnProperty.call(t,o))return!1}return!0}},7926:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>Z});var n=r(734),s=r(8126),i=r(9841),o=r(6066),a=r(2851),l=r(3698),h=r.n(l),c=r(7378),u=r(5150),m=r(7387),f=r(971);const d="heroBanner_UJJx",g="heroSubtitle_GKHc",p="buttons_pzbO",E="getStarted_Sjon",b="features_keug",y="integration_YciV",T="imgs_h8Em",A="env_pRIt",N="standards_iWjd",v="layer_AnXp",S="intro_y8hm",H="layers_KOB3",_="logos_NYVn",B="showcase_SATw",I="demo_F90y",P="exampleTitle_sQvz",L="example_HLHF",R=JSON.parse('{"demo":"{takenDate, date, long} {name} {numPhotos, plural,=0 {nevyfotila} other {vyfotila} } {numPhotos, plural, =0 {\u017e\xe1dnou fotku} one {jednu fotku} few {# fotky} other {# fotek}}."}'),M=JSON.parse('{"demo":"{name} {numPhotos, plural, =0 {hat am {takenDate, date, long} keine Fotos aufgenommen} =1 {nahm am {takenDate, date, long} ein Foto auf} other {nahm am {takenDate, date, long} # Fotos auf}}."}'),w=JSON.parse('{"demo":"{name} took {numPhotos, plural, =0 {no photos} =1 {one photo} other {# photos}} on {takenDate, date, long}."}'),C=JSON.parse('{"demo":"El {takenDate, date, long}, {name} {numPhotos, plural, =0 {no} other {} } sac\xf3 {numPhotos, plural, =0 {ninguna foto.} =1 {una foto.} other {# fotos.}}"}'),O=JSON.parse('{"demo":"Le {takenDate, date, long}, {name} {numPhotos, plural, =0 {n\'a pas pris de photographie.} =1 {a pris une photographie.} other {a pris # photographies.}}"}'),x=JSON.parse('{"demo":"{name}\u306f{takenDate, date, long}\u306b{numPhotos, plural, =0 {1\u679a\u3082\u5199\u771f\u3092\u64ae\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002} =1 {1\u679a\u5199\u771f\u3092\u64ae\u308a\u307e\u3057\u305f\u3002} other {#\u679a\u5199\u771f\u3092\u64ae\u308a\u307e\u3057\u305f\u3002}}"}'),j=JSON.parse('{"demo":"Em {takenDate, date, long}, {name} {numPhotos, plural, =0 {n\xe3o} other {} } tirou {numPhotos, plural, =0 {nenhuma foto.} =1 {uma foto.} other {# fotos.}}"}'),F=JSON.parse('{"demo":"{name} tog {numPhotos, plural, =0 {inte n\xe5gra foton} =1 {ett foto} other {# foton} } den {takenDate, date, long}."}');var D=r(6106);const U={"en-US":w,"fr-FR":O,"ja-JP":x,"cs-CZ":R,"pt-BR":j,"sv-SE":F,"es-AR":C,"de-DE":M};function G(e){let{className:t}=e;const r=(0,u.A)();return(0,D.jsxs)("div",{className:h()(t,y),children:[(0,D.jsxs)("div",{className:`row ${T}`,children:[(0,D.jsx)("a",{className:"col col--4",href:"https://formatjs.github.io/docs/react-intl",children:(0,D.jsx)("img",{src:(0,i.Ay)("img/react.svg"),alt:r.formatMessage({id:"integration-react",defaultMessage:"React"})})}),(0,D.jsx)("a",{className:"col col--4",href:"https://ember-intl.github.io/ember-intl/",children:(0,D.jsx)("img",{src:(0,i.Ay)("img/ember.svg"),alt:r.formatMessage({id:"integration-ember",defaultMessage:"Ember"})})}),(0,D.jsx)("a",{className:"col col--4",href:"https://formatjs.github.io/docs/vue-intl",children:(0,D.jsx)("img",{src:(0,i.Ay)("img/vue-logo.svg"),alt:r.formatMessage({id:"integration-vue",defaultMessage:"Vue"})})})]}),(0,D.jsx)("h3",{children:(0,D.jsx)(m.A,{id:"integration-title",defaultMessage:"Integrates with other libraries."})}),(0,D.jsx)("p",{children:(0,D.jsx)(m.A,{id:"integration-desc",defaultMessage:"For most web projects, internationalization happens in the template or view layer, so we've built integrations with React & Vue."})})]})}function k(e){let{className:t}=e;return(0,D.jsxs)("div",{className:h()(t,S),children:[(0,D.jsxs)("div",{className:H,children:[(0,D.jsx)("div",{className:v,children:(0,D.jsx)("p",{children:(0,D.jsx)(m.A,{id:"intro-layer1",defaultMessage:"FORMATJS INTEGRATIONS"})})}),(0,D.jsx)("div",{className:v,children:(0,D.jsx)("p",{children:(0,D.jsx)(m.A,{id:"intro-layer2",defaultMessage:"FORMATJS CORE LIBS"})})}),(0,D.jsx)("div",{className:v,children:(0,D.jsx)("p",{children:(0,D.jsx)(m.A,{id:"intro-layer3",defaultMessage:"ECMA-402 + FORMATJS POLYFILLS"})})})]}),(0,D.jsx)("h3",{children:(0,D.jsx)(m.A,{id:"intro-title",defaultMessage:"FormatJS is a set of JavaScript libraries."})}),(0,D.jsx)("p",{children:(0,D.jsx)(m.A,{id:"intro-desc",defaultMessage:"FormatJS is a modular collection of JavaScript libraries for internationalization that are focused on formatting numbers, dates, and strings for displaying to people. It includes a set of core libraries that build on the JavaScript Intl built-ins and industry-wide i18n standards, plus a set of integrations for common template and component libraries."})})]})}function $(e){let{className:t}=e;(0,u.A)();return(0,D.jsxs)("div",{className:h()(t,A),children:[(0,D.jsxs)("div",{className:h()("row",_),children:[(0,D.jsx)("div",{className:"col col--2",children:(0,D.jsx)("img",{src:(0,i.Ay)("img/chrome.png")})}),(0,D.jsx)("div",{className:"col col--2",children:(0,D.jsx)("img",{src:(0,i.Ay)("img/firefox.png")})}),(0,D.jsx)("div",{className:"col col--2",children:(0,D.jsx)("img",{src:(0,i.Ay)("img/safari.png")})}),(0,D.jsx)("div",{className:"col col--2",children:(0,D.jsx)("img",{src:(0,i.Ay)("img/edge.png")})}),(0,D.jsx)("div",{className:"col col--2",children:(0,D.jsx)("img",{src:(0,i.Ay)("img/ie11.png")})}),(0,D.jsx)("div",{className:"col col--2",children:(0,D.jsx)("img",{src:(0,i.Ay)("img/node.svg")})})]}),(0,D.jsx)("h3",{children:(0,D.jsx)(m.A,{id:"env-title",defaultMessage:"Runs in the browser and Node.js."})}),(0,D.jsx)("p",{children:(0,D.jsx)(m.A,{id:"env-desc",defaultMessage:"FormatJS has been tested in all the major browsers (IE11, Chrome, FF & Safari) on both desktop and mobile devices. For many web apps rendering happens on the server, so we made sure FormatJS works perfectly in Node.js. This allows developers to use FormatJS on both the server and client-side of their apps."})})]})}function V(e){let{className:t}=e;const{colorMode:r}=(0,s.G)();return(0,D.jsxs)("div",{className:h()(t,B),children:[(0,D.jsx)("h3",{children:(0,D.jsx)(m.A,{id:"showcase-title",defaultMessage:"Trusted by industry leaders."})}),(0,D.jsxs)("div",{className:h()("row",_),children:[(0,D.jsx)("div",{className:"col col--2",children:(0,D.jsx)("img",{src:(0,i.Ay)("img/yahoo.svg")})}),(0,D.jsx)("div",{className:"col col--2",children:(0,D.jsx)("img",{src:(0,i.Ay)("img/dropbox.svg")})}),(0,D.jsx)("div",{className:"col col--2",children:(0,D.jsx)("img",{src:(0,i.Ay)("img/tinder.svg")})}),(0,D.jsx)("div",{className:"col col--2",children:(0,D.jsx)("img",{src:(0,i.Ay)("img/ethereum.svg")})}),(0,D.jsx)("div",{className:"col col--2",children:(0,D.jsx)("img",{src:(0,i.Ay)("img/mozilla.svg")})}),(0,D.jsx)("div",{className:"col col--2",children:(0,D.jsx)("img",{src:(0,i.Ay)("dark"===r?"img/coinbase_white.svg":"img/coinbase.svg")})})]})]})}function J(e){let{className:t}=e;return(0,D.jsxs)("div",{className:h()(t,N),children:[(0,D.jsx)("img",{src:(0,i.Ay)("img/js.svg")}),(0,D.jsx)("h3",{children:(0,D.jsx)(m.A,{id:"standards-title",defaultMessage:"Built on standards."})}),(0,D.jsx)("p",{children:(0,D.jsx)(m.A,{id:"standards-desc",defaultMessage:"FormatJS is aligned with: <ecma>ECMAScript Internationalization API (ECMA-402)</ecma>, <cldr>Unicode CLDR</cldr>, and <icu>ICU Message syntax</icu>. By building on these industry standards, FormatJS leverages APIs in modern browsers and works with the message syntax used by professional translators.",values:{ecma:e=>(0,D.jsx)("a",{href:"https://www.ecma-international.org/ecma-402/",children:e}),cldr:e=>(0,D.jsx)("a",{href:"http://cldr.unicode.org/",children:e}),icu:e=>(0,D.jsx)("a",{href:"https://unicode-org.github.io/icu/userguide/format_parse/messages",children:e})}})})]})}function X(e){let{className:t}=e;const[r,n]=(0,c.useState)(0),[s,i]=(0,c.useState)("en-US");return(0,D.jsxs)("div",{className:h()(t,I),children:[(0,D.jsxs)("p",{children:[(0,D.jsx)("span",{className:P,children:(0,D.jsx)(m.A,{id:"demo-tagline",defaultMessage:"Example"})}),(0,D.jsx)("span",{className:L,children:(0,D.jsx)(f.A,{locale:s,defaultLocale:"en-US",messages:U[s],children:(0,D.jsx)(m.A,{id:"demo",values:{numPhotos:r,takenDate:new Date,name:"Annie"}})})})]}),(0,D.jsxs)("label",{children:[(0,D.jsx)(m.A,{id:"demo-photos",defaultMessage:"# Photos"})," ",(0,D.jsx)("input",{value:r,type:"number",onChange:e=>n(+e.target.value)})]}),(0,D.jsxs)("label",{children:[(0,D.jsx)(m.A,{id:"demo-langs",defaultMessage:"Locale"})," ",(0,D.jsxs)("select",{value:s,onChange:e=>i(e.target.value),children:[(0,D.jsx)("option",{value:"cs-CZ",children:"cs-CZ"}),(0,D.jsx)("option",{value:"de-DE",children:"de-DE"}),(0,D.jsx)("option",{value:"en-US",children:"en-US"}),(0,D.jsx)("option",{value:"es-AR",children:"es-AR"}),(0,D.jsx)("option",{value:"fr-FR",children:"fr-FR"}),(0,D.jsx)("option",{value:"ja-JP",children:"ja-JP"}),(0,D.jsx)("option",{value:"pt-BR",children:"pt-BR"}),(0,D.jsx)("option",{value:"sv-SE",children:"sv-SE"})]})]})]})}function K(){const e=(0,o.A)(),{siteConfig:t={}}=e;return(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)("header",{className:h()("hero hero--primary",d),style:{backgroundImage:`url(${(0,i.Ay)("img/splash-head.jpg")})`},children:(0,D.jsxs)("div",{className:"container",children:[(0,D.jsx)("h1",{className:"hero__title",children:(0,D.jsx)("img",{src:(0,i.Ay)("img/logo-header.svg")})}),(0,D.jsx)("p",{className:h()("hero__subtitle",g),children:t.tagline}),(0,D.jsx)(X,{}),(0,D.jsx)("div",{className:p,children:(0,D.jsx)(n.A,{className:h()("button button--outline button--secondary button--lg",E),to:(0,i.Ay)("docs/core-concepts/basic-internationalization-principles"),children:(0,D.jsx)(m.A,{defaultMessage:"Get Started",id:"header-started"})})})]})}),(0,D.jsx)("main",{className:b,children:(0,D.jsxs)("div",{className:"container",children:[(0,D.jsxs)("div",{className:"row",children:[(0,D.jsx)(k,{className:"col col--4"}),(0,D.jsx)(G,{className:"col col--4"}),(0,D.jsx)(J,{className:"col col--4"})]}),(0,D.jsx)("div",{className:"row",children:(0,D.jsx)($,{className:"col col--12"})}),(0,D.jsx)("div",{className:"row",children:(0,D.jsx)(V,{className:"col col--12"})})]})})]})}const Z=function(){const e=(0,o.A)(),{siteConfig:t={}}=e;return(0,D.jsx)(f.A,{locale:"en",messages:{},children:(0,D.jsx)(a.A,{title:t.title,description:t.tagline,children:(0,D.jsx)(K,{})})})}},3698:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function s(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];r&&(e=o(e,i(r)))}return e}function i(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return s.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var r in e)n.call(e,r)&&e[r]&&(t=o(t,r));return t}function o(e,t){return t?e?e+" "+t:e+t:e}e.exports?(s.default=s,e.exports=s):void 0===(r=function(){return s}.apply(t,[]))||(e.exports=r)}()}}]);