1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,18566,(e,t,r)=>{t.exports=e.r(76562)},61745,e=>{"use strict";e.s(["IntlProvider",()=>er,"useFormatter",()=>ea,"useLocale",()=>eh,"useTranslations",()=>es],61745);var t,r=e.i(71645);function n(e,t){let r=t&&t.cache?t.cache:a,n=t&&t.serializer?t.serializer:s;return(t&&t.strategy?t.strategy:function(e,t){var r,n;let s=1===e.length?i:o;return r=t.cache.create(),n=t.serializer,s.bind(this,e,r,n)})(e,{cache:r,serializer:n})}function i(e,t,r,n){let i=null==n||"number"==typeof n||"boolean"==typeof n?n:r(n),o=t.get(i);return void 0===o&&(o=e.call(this,n),t.set(i,o)),o}function o(e,t,r){let n=Array.prototype.slice.call(arguments,3),i=r(n),o=t.get(i);return void 0===o&&(o=e.apply(this,n),t.set(i,o)),o}let s=function(){return JSON.stringify(arguments)};var h=class{get(e){return this.cache[e]}set(e,t){this.cache[e]=t}constructor(){this.cache=Object.create(null)}};let a={create:function(){return new h}},l={variadic:function(e,t){var r,n;return r=t.cache.create(),n=t.serializer,o.bind(this,e,r,n)},monadic:function(e,t){var r,n;return r=t.cache.create(),n=t.serializer,i.bind(this,e,r,n)}};class u extends Error{constructor(e,t){let r=e;t&&(r+=": "+t),super(r),this.code=e,t&&(this.originalMessage=t)}}var c=function(e){return e.MISSING_MESSAGE="MISSING_MESSAGE",e.MISSING_FORMAT="MISSING_FORMAT",e.ENVIRONMENT_FALLBACK="ENVIRONMENT_FALLBACK",e.INSUFFICIENT_PATH="INSUFFICIENT_PATH",e.INVALID_MESSAGE="INVALID_MESSAGE",e.INVALID_KEY="INVALID_KEY",e.FORMATTING_ERROR="FORMATTING_ERROR",e}(c||{});function f(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function m(e,t){return n(e,{cache:{create:()=>({get:e=>t[e],set(e,r){t[e]=r}})},strategy:l.variadic})}function p(e,t){return m(function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return new e(...r)},t)}function g(e){return{getDateTimeFormat:p(Intl.DateTimeFormat,e.dateTime),getNumberFormat:p(Intl.NumberFormat,e.number),getPluralRules:p(Intl.PluralRules,e.pluralRules),getRelativeTimeFormat:p(Intl.RelativeTimeFormat,e.relativeTime),getListFormat:p(Intl.ListFormat,e.list),getDisplayNames:p(Intl.DisplayNames,e.displayNames)}}let E=/(?:[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,b=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,d=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,y=/^(@+)?(\+|#+)?[rs]?$/g,H=/(\*)(0+)|(#+)(0+)|(0+)/g,B=/^(0+)$/;function T(e){let t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(y,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 A(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 S(e){let t=A(e);return t||{}}let P=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}({});function I(e){return!!(e&&"object"==typeof e&&0===e.type)}function v(e){return!!(e&&"object"==typeof e&&1===e.type)}let N=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,_={"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"],GS:["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
1:["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"],"ku-SY":["H","hB"],"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"]},L=new RegExp("^".concat(N.source,"*")),M=new RegExp("".concat(N.source,"*$"));function R(e,t){return{start:e,end:t}}let w=!!Object.fromEntries,O=!!String.prototype.trimStart,C=!!String.prototype.trimEnd,F=w?Object.fromEntries:function(e){let t={};for(let[r,n]of e)t[r]=n;return t},D=O?function(e){return e.trimStart()}:function(e){return e.replace(L,"")},G=C?function(e){return e.trimEnd()}:function(e){return e.replace(M,"")},U=RegExp("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");var k=class{parse(){if(0!==this.offset())throw Error("parser can only be used once");if(this.message.length>0){let e=this.message.charCodeAt(0);if(35!==e&&39!==e&&60!==e&&123!==e&&125!==e){let e=function(e){if(0===e.length)return null;let t=1,r=1;for(let n=0;n<e.length;){let i=e.charCodeAt(n);switch(i){case 35:case 39:case 60:case 123:case 125:return null}if(10===i)t++,r=1,n++;else if(r++,i>=55296&&i<=56319&&n+1<e.length){let t=e.charCodeAt(n+1);n+=t>=56320&&t<=57343?2:1}else n++}return{offset:e.length,line:t,column:r}}(this.message);if(e){let t=this.clonePosition();return this.position=e,{val:[{type:0,value:this.message,location:R(t,this.clonePosition())}],err:null}}}}return this.parseMessage(0,"",!1)}parseMessage(e,t,r){let n=[];for(;!this.isEOF();){let i=this.char();if(123===i){let t=this.parseArgument(e,r);if(t.err)return t;n.push(t.val)}else if(125===i&&e>0)break;else if(35===i&&("plural"===t||"selectordinal"===t)){let e=this.clonePosition();this.bump(),n.push({type:7,location:R(e,this.clonePosition())})}else if(60!==i||this.ignoreTag||47!==this.peek())if(60===i&&!this.ignoreTag&&x(this.peek()||0)){let r=this.parseTag(e,t);if(r.err)return r;n.push(r.val)}else{let r=this.parseLiteral(e,t);if(r.err)return r;n.push(r.val)}else if(!r)return this.error(26,R(this.clonePosition(),this.clonePosition()));else break}return{val:n,err:null}}parseTag(e,t){let r=this.clonePosition();this.bump();let n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:0,value:"<".concat(n,"/>"),location:R(r,this.clonePosition())},err:null};if(!this.bumpIf(">"))return this.error(23,R(r,this.clonePosition()));{let i=this.parseMessage(e+1,t,!0);if(i.err)return i;let o=i.val,s=this.clonePosition();if(!this.bumpIf("</"))return this.error(27,R(r,this.clonePosition()));{if(this.isEOF()||!x(this.char()))return this.error(23,R(s,this.clonePosition()));let e=this.clonePosition();return n!==this.parseTagName()?this.error(26,R(e,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">"))?{val:{type:8,value:n,children:o,location:R(r,this.clonePosition())},err:null}:this.error(23,R(s,this.clonePosition()))}}}parseTagName(){var e;let 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())}parseLiteral(e,t){let r=this.clonePosition(),n="";for(;;){let r=this.tryParseQuote(t);if(r){n+=r;
1continue}let i=this.tryParseUnquoted(e,t);if(i){n+=i;continue}let o=this.tryParseLeftAngleBracket();if(o){n+=o;continue}break}return{val:{type:0,value:n,location:R(r,this.clonePosition())},err:null}}tryParseLeftAngleBracket(){var e;return this.isEOF()||60!==this.char()||!this.ignoreTag&&(x(e=this.peek()||0)||47===e)?null:(this.bump(),"<")}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();let t=[this.char()];for(this.bump();!this.isEOF();){let e=this.char();if(39===e)if(39===this.peek())t.push(39),this.bump();else{this.bump();break}else t.push(e);this.bump()}return String.fromCodePoint(...t)}tryParseUnquoted(e,t){if(this.isEOF())return null;let r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&e>0?null:(this.bump(),String.fromCodePoint(r))}parseArgument(e,t){let r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(1,R(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(2,R(r,this.clonePosition()));let n=this.parseIdentifierIfPossible().value;if(!n)return this.error(3,R(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(1,R(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:1,value:n,location:R(r,this.clonePosition())},err:null};case 44:if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(1,R(r,this.clonePosition()));return this.parseArgumentOptions(e,t,n,r);default:return this.error(3,R(r,this.clonePosition()))}}parseIdentifierIfPossible(){var e,t;let r=this.clonePosition(),n=this.offset(),i=(e=this.message,U.lastIndex=n,null!=(t=U.exec(e)[1])?t:""),o=n+i.length;return this.bumpTo(o),{value:i,location:R(r,this.clonePosition())}}parseArgumentOptions(e,t,r,n){let i=this.clonePosition(),o=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(o){case"":return this.error(4,R(i,s));case"number":case"date":case"time":{var h;this.bumpSpace();let e=null;if(this.bumpIf(",")){this.bumpSpace();let t=this.clonePosition(),r=this.parseSimpleArgStyleIfPossible();if(r.err)return r;let n=G(r.val);if(0===n.length)return this.error(6,R(this.clonePosition(),this.clonePosition()));e={style:n,styleLocation:R(t,this.clonePosition())}}let t=this.tryParseArgumentClose(n);if(t.err)return t;let i=R(n,this.clonePosition());if(e&&e.style.startsWith("::")){let t=D(e.style.slice(2));if("number"===o){let n=this.parseNumberSkeletonFromString(t,e.styleLocation);if(n.err)return n;return{val:{type:2,value:r,location:i,style:n.val},err:null}}{if(0===t.length)return this.error(10,i);let n=t;return this.locale&&(n=function(e,t){let r="";for(let n=0;n<e.length;n++){let i=e.charAt(n);if("j"===i){let o=0;for(;n+1<e.length&&e.charAt(n+1)===i;)o++,n++;let s=1+(1&o),h=o<2?1:3+(o>>1),a=function(e){let t,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 Error("Invalid hourCycle")}let n=e.language;return"root"!==n&&(t=e.maximize().region),(_[t||""]||_[n||""]||_["".concat(n,"-001")]||_["001"])[0]}(t);for(("H"==a||"k"==a)&&(h=0);h-- >0;)r+="a";for(;s-- >0;)r=a+r}else"J"===i?r+="H":r+=i}return r}(t,this.locale)),{val:{type:"date"===o?3:4,value:r,location:i,style:{type:1,pattern:n,location:e.styleLocation,parsedOptions:this.shouldParseSkeletons?function(e){let t={};return e.replace(E,e=>{let 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 RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw 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 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 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 RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw 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 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 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 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 RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}(n):{}}},err:null}}}return{val:{type:"number"===o?2:"date"===o?3:4,value:r,location:i,style:null!=(h=null==e?void 0:e.style)?h:null},err:null}}
1case"plural":case"selectordinal":case"select":{let i=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(12,R(i,{...i}));this.bumpSpace();let s=this.parseIdentifierIfPossible(),h=0;if("select"!==o&&"offset"===s.value){if(!this.bumpIf(":"))return this.error(13,R(this.clonePosition(),this.clonePosition()));this.bumpSpace();let e=this.tryParseDecimalInteger(13,14);if(e.err)return e;this.bumpSpace(),s=this.parseIdentifierIfPossible(),h=e.val}let a=this.tryParsePluralOrSelectOptions(e,o,t,s);if(a.err)return a;let l=this.tryParseArgumentClose(n);if(l.err)return l;let u=R(n,this.clonePosition());if("select"===o)return{val:{type:5,value:r,options:F(a.val),location:u},err:null};return{val:{type:6,value:r,options:F(a.val),offset:h,pluralType:"plural"===o?"cardinal":"ordinal",location:u},err:null}}default:return this.error(5,R(i,s))}}tryParseArgumentClose(e){return this.isEOF()||125!==this.char()?this.error(1,R(e,this.clonePosition())):(this.bump(),{val:!0,err:null})}parseSimpleArgStyleIfPossible(){let e=0,t=this.clonePosition();for(;!this.isEOF();)switch(this.char()){case 39:{this.bump();let e=this.clonePosition();if(!this.bumpUntil("'"))return this.error(11,R(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 Error("Number skeleton cannot be empty");let t=e.split(b).filter(e=>e.length>0),r=[];for(let e of t){let t=e.split("/");if(0===t.length)throw Error("Invalid number skeleton");let[n,...i]=t;for(let e of i)if(0===e.length)throw Error("Invalid number skeleton");r.push({stem:n,options:i})}return r}(e)}catch(e){return this.error(7,t)}return{val:{type:0,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?function(e){let t={};for(let 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,...S(t)}),{})};continue;case"engineering":t={...t,notation:"engineering",...r.options.reduce((e,t)=>({...e,...S(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 RangeError("integer-width stems only accept a single optional option");r.options[0].replace(H,function(e,r,n,i,o,s){if(r)t.minimumIntegerDigits=n.length;else if(i&&o)throw Error("We currently do not support maximum integer digits");else if(s)throw Error("We currently do not support exact integer digits");return""});continue}if(B.test(r.stem)){t.minimumIntegerDigits=r.stem.length;continue}if(d.test(r.stem)){if(r.options.length>1)throw RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(d,function(e,r,n,i,o,s){return"*"===n?t.minimumFractionDigits=r.length:i&&"#"===i[0]?t.maximumFractionDigits=i.length:o&&s?(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length+s.length):(t.minimumFractionDigits=r.length,t.maximumFractionDigits=r.length),""});let e=r.options[0];
1"w"===e?t={...t,trailingZeroDisplay:"stripIfInteger"}:e&&(t={...t,...T(e)});continue}if(y.test(r.stem)){t={...t,...T(r.stem)};continue}let e=A(r.stem);e&&(t={...t,...e});let n=function(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){let r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!B.test(e))throw Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(r.stem);n&&(t={...t,...n})}return t}(r):{}},err:null}}tryParsePluralOrSelectOptions(e,t,r,n){let i=!1,o=[],s=new Set,{value:h,location:a}=n;for(;;){if(0===h.length){let e=this.clonePosition();if("select"!==t&&this.bumpIf("=")){let t=this.tryParseDecimalInteger(16,19);if(t.err)return t;a=R(e,this.clonePosition()),h=this.message.slice(e.offset,this.offset())}else break}if(s.has(h))return this.error("select"===t?21:20,a);"other"===h&&(i=!0),this.bumpSpace();let n=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?17:18,R(this.clonePosition(),this.clonePosition()));let l=this.parseMessage(e+1,t,r);if(l.err)return l;let u=this.tryParseArgumentClose(n);if(u.err)return u;o.push([h,{value:l.val,location:R(n,this.clonePosition())}]),s.add(h),this.bumpSpace(),{value:h,location:a}=this.parseIdentifierIfPossible()}return 0===o.length?this.error("select"===t?15:16,R(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(22,R(this.clonePosition(),this.clonePosition())):{val:o,err:null}}tryParseDecimalInteger(e,t){let r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);let i=!1,o=0;for(;!this.isEOF();){let e=this.char();if(e>=48&&e<=57)i=!0,o=10*o+(e-48),this.bump();else break}let s=R(n,this.clonePosition());return i?Number.isSafeInteger(o*=r)?{val:o,err:null}:this.error(t,s):this.error(e,s)}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(){let e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");let t=this.message.codePointAt(e);if(void 0===t)throw Error("Offset ".concat(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;let 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(this.message.startsWith(e,this.offset())){for(let t=0;t<e.length;t++)this.bump();return!0}return!1}bumpUntil(e){let 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 ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){let 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}}bumpSpace(){for(var e;!this.isEOF()&&((e=this.char())>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e);)this.bump()}peek(){var e;if(this.isEOF())return null;let t=this.char(),r=this.offset();return null!=(e=this.message.charCodeAt(r+(t>=65536?2:1)))?e:null}constructor(e,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}};function x(e){return e>=97&&e<=122||e>=65&&e<=90}var V=class extends Error{toString(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)}constructor(e,t,r){super(e),this.code=t,this.originalMessage=r}},K=class extends V{constructor(e,t,r,n){super('Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(r).join('", "'),'"'),"INVALID_VALUE",n)}},Z=class extends V{constructor(e,t,r){super('Value for "'.concat(e,'" must be of type ').concat(t),"INVALID_VALUE",r)}}
1,j=class extends V{constructor(e,t){super('The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),"MISSING_VALUE",t)}};function X(e){return{create:()=>({get:t=>e[t],set(t,r){e[t]=r}})}}var Y=((t=class e{static get defaultLocale(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale}constructor(t,r=e.defaultLocale,i,o){if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=e=>{let t=this.formatToParts(e);if(1===t.length)return t[0].value;let r=t.reduce((e,t)=>(e.length&&0===t.type&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e),[]);return r.length<=1?r[0]||"":r},this.formatToParts=e=>(function e(t,r,n,i,o,s,h){if(1===t.length&&0===t[0].type)return[{type:0,value:t[0].value}];let a=[];for(let l of t){if(0===l.type){a.push({type:0,value:l.value});continue}if(7===l.type){"number"==typeof s&&a.push({type:0,value:n.getNumberFormat(r).format(s)});continue}let{value:t}=l;if(!(o&&t in o))throw new j(t,h);let u=o[t];if(1===l.type){u&&"string"!=typeof u&&"number"!=typeof u&&"bigint"!=typeof u||(u="string"==typeof u||"number"==typeof u||"bigint"==typeof u?String(u):""),a.push({type:+("string"!=typeof u),value:u});continue}if(3===l.type){let e="string"==typeof l.style?i.date[l.style]:v(l.style)?l.style.parsedOptions:void 0;a.push({type:0,value:n.getDateTimeFormat(r,e).format(u)});continue}if(4===l.type){let e="string"==typeof l.style?i.time[l.style]:v(l.style)?l.style.parsedOptions:i.time.medium;a.push({type:0,value:n.getDateTimeFormat(r,e).format(u)});continue}if(2===l.type){let e="string"==typeof l.style?i.number[l.style]:I(l.style)?l.style.parsedOptions:void 0;if(e&&e.scale){let t=e.scale||1;if("bigint"==typeof u){if(!Number.isInteger(t))throw TypeError("Cannot apply fractional scale ".concat(t," to bigint value. Scale must be an integer when formatting bigint."));u*=BigInt(t)}else u*=t}a.push({type:0,value:n.getNumberFormat(r,e).format(u)});continue}if(8===l.type){let{children:t,value:u}=l,c=o[u];if("function"!=typeof c)throw new Z(u,"function",h);let f=c(e(t,r,n,i,o,s).map(e=>e.value));Array.isArray(f)||(f=[f]),a.push(...f.map(e=>({type:+("string"!=typeof e),value:e})))}if(5===l.type){let t=u,s=(Object.prototype.hasOwnProperty.call(l.options,t)?l.options[t]:void 0)||l.options.other;if(!s)throw new K(l.value,u,Object.keys(l.options),h);a.push(...e(s.value,r,n,i,o));continue}if(6===l.type){let t="=".concat(u),s=Object.prototype.hasOwnProperty.call(l.options,t)?l.options[t]:void 0;if(!s){if(!Intl.PluralRules)throw new V('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',"MISSING_INTL_API",h);let e="bigint"==typeof u?Number(u):u,t=n.getPluralRules(r,{type:l.pluralType}).select(e-(l.offset||0));s=(Object.prototype.hasOwnProperty.call(l.options,t)?l.options[t]:void 0)||l.options.other}if(!s)throw new K(l.value,u,Object.keys(l.options),h);let c="bigint"==typeof u?Number(u):u;a.push(...e(s.value,r,n,i,o,c-(l.offset||0)));continue}}return a.length<2?a:a.reduce((e,t)=>{let r=e[e.length-1];return r&&0===r.type&&0===t.type?r.value+=t.value:e.push(t),e},[])})(this.ast,this.locales,this.formatters,this.formats,e,void 0,this.message),this.resolvedOptions=()=>{var e;return{locale:(null==(e=this.resolvedLocale)?void 0:e.toString())||Intl.NumberFormat.supportedLocalesOf(this.locales)[0]}},this.getAst=()=>this.ast,this.locales=r,this.resolvedLocale=e.resolveLocale(r),"string"==typeof t){if(this.message=t,!e.__parse)throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");let{...r}=o||{};this.ast=e.__parse(t,{...r,locale:this.resolvedLocale})}else this.ast=t;if(!Array.isArray(this.ast))throw TypeError("A message must be provided as a String or AST.");this.formats=function(e,t){return t?Object.keys(e).reduce((r,n)=>{var i,o;return r[n]=(i=e[n],(o=t[n])?{...i,...o,...Object.keys(i).reduce((e,t)=>(e[t]={...i[t],...o[t]},e),{})}:i),r},{...e}):e}(e.formats,i),this.formatters=o&&o.formatters||function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{number:{},dateTime:{},pluralRules:{}};return{getNumberFormat:n(function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return new Intl.NumberFormat(...t)}
1,{cache:X(e.number),strategy:l.variadic}),getDateTimeFormat:n(function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return new Intl.DateTimeFormat(...t)},{cache:X(e.dateTime),strategy:l.variadic}),getPluralRules:n(function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return new Intl.PluralRules(...t)},{cache:X(e.pluralRules),strategy:l.variadic})}}(this.formatterCache)}}).memoizedDefaultLocale=null,t.resolveLocale=e=>{if(void 0===Intl.Locale)return;let t=Intl.NumberFormat.supportedLocalesOf(e);return new Intl.Locale(t.length>0?t[0]:"string"==typeof e?e:e[0])},t.__parse=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=new k(e,t={shouldParseSkeletons:!0,requiresOtherClause:!0,...t}).parse();if(r.err){let e=SyntaxError(P[r.err.kind]);throw e.location=r.err.location,e.originalMessage=r.err.message,e}return(null==t?void 0:t.captureLocation)||function e(t){t.forEach(t=>{if(delete t.location,5===t.type||6===t.type)for(let r in t.options)delete t.options[r].location,e(t.options[r].value);else 2===t.type&&I(t.style)||(3===t.type||4===t.type)&&v(t.style)?delete t.style.location:8===t.type&&e(t.children)})}(r.val),r.val},t.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"}}},t);function z(){let e;for(var t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];let[o,s,h,a]=n;if(Array.isArray(s))throw new u(c.INVALID_MESSAGE,void 0);if("object"==typeof s)throw new u(c.INSUFFICIENT_PATH,void 0);if("string"==typeof s){let e=h||/'[{}]/.test(s)?void 0:s;if(e)return e}let{cache:l,formats:f,formatters:p,globalFormats:g,locale:E,timeZone:b}=a;p.getMessageFormat||(p.getMessageFormat=m(function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return new Y(t[0],t[1],t[2],{formatters:p,...t[3]})},l.message));try{e=p.getMessageFormat(s,E,function(e,t,r){let n=Y.formats.date,i=Y.formats.time,o={...null==e?void 0:e.dateTime,...null==t?void 0:t.dateTime},s={date:{...n,...o},time:{...i,...o},number:{...null==e?void 0:e.number,...null==t?void 0:t.number}};return r&&["date","time"].forEach(e=>{let t=s[e];for(let[e,n]of Object.entries(t))t[e]={timeZone:r,...n}}),s}(g,f,b),{formatters:{...p,getDateTimeFormat:(e,t)=>{var r;return p.getDateTimeFormat(e,{...t,timeZone:null!=(r=null==t?void 0:t.timeZone)?r:b})}}})}catch(e){throw new u(c.INVALID_MESSAGE,void 0)}let d=e.format(h);return(0,r.isValidElement)(d)||Array.isArray(d)||"string"==typeof d?d:String(d)}function W(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter(Boolean).join(".")}function q(e){return W(e.namespace,e.key)}function J(e){console.error(e)}function Q(e,t,r,n){let i=W(n,r);if(!t)throw Error(i);let o=t;return r.split(".").forEach(t=>{let r=o[t];if(null==t||null==r)throw Error(i+" (".concat(e,")"));o=r}),o}z.raw=!0;let $={second:1,seconds:1,minute:60,minutes:60,hour:3600,hours:3600,day:86400,days:86400,week:604800,weeks:604800,month:2628e3,months:2628e3,quarter:7884e3,quarters:7884e3,year:31536e3,years:31536e3};var ee=e.i(43476);let et=(0,r.createContext)(void 0);function er(e){let{children:t,formats:n,getMessageFallback:i,locale:o,messages:s,now:h,onError:a,timeZone:l}=e,u=(0,r.useContext)(et),c=(0,r.useMemo)(()=>(null==u?void 0:u.cache)||f(),[o,null==u?void 0:u.cache]),m=(0,r.useMemo)(()=>(null==u?void 0:u.formatters)||g(c),[c,null==u?void 0:u.formatters]),p=(0,r.useMemo)(()=>({...function(e){let{formats:t,getMessageFallback:r,messages:n,onError:i,...o}=e;return{...o,formats:t||void 0,messages:n||void 0,onError:i||J,getMessageFallback:r||q}}({locale:o,formats:void 0===n?null==u?void 0:u.formats:n,getMessageFallback:i||(null==u?void 0:u.getMessageFallback),messages:void 0===s?null==u?void 0:u.messages:s,now:h||(null==u?void 0:u.now),onError:a||(null==u?void 0:u.onError),timeZone:l||(null==u?void 0:u.timeZone)}),formatters:m,cache:c}),[c,n,m,i,o,s,h,a,u,l]);return(0,ee.jsx)(et.Provider,{value:p,children:t})}function en(){let e=(0,r.useContext)(et);if(!e)throw Error(void 0);return e}let ei=!1,eo="undefined"==typeof window;function es(e){return function(e,t,n){let{cache:i,formats:o,formatters:s,getMessageFallback:h,locale:a,onError:l,timeZone:f}=en(),m=e["!"],p="!"===t?void 0:t.slice((n+".").length);return f||ei||!eo||(ei=!0,l(new u(c.ENVIRONMENT_FALLBACK,void 0))),(0,r.useMemo)(()=>(function(e){let t=function(e,t,r){try{if(!t)throw Error(void 0);let n=r?Q(e,t,r):t;if(!n)throw Error(r);return n}catch(e){return new u(c.MISSING_MESSAGE,e.message)}}(e.locale,e.messages,e.namespace);return function(e){let{cache:t,formats:n,formatters:i,getMessageFallback:o=q,locale:s,messagesOrError:h,namespace:a,onError:l,timeZone:f}=e,m=h instanceof u;function p(e,t,r,n){let i=new u(t,r);return l(i),null!=n?n:o({error:i,key:e,namespace:a})}function g(e,g,E,b){let d;if(m){if(!b)return l(h),o({error:h,key:e,namespace:a});d=b}else try{d=Q(s,h,e,a)}catch(t){if(!b)return p(e,c.MISSING_MESSAGE,t.message,b);d=b}try{let o=W(a,e);return z(o,d,g?function(e){let t={};return Object.keys(e).forEach(n=>{let i,o=0,s=e[n];i="function"==typeof s?e=>{let t=s(e);return(0,r.isValidElement)(t)?(0,r.cloneElement)(t,{key:n+o++}):t}:s,t[n]=i}),t}(g):g,{cache:t,formatters:i,globalFormats:n,formats:E,locale:s,timeZone:f})}catch(n){let t,r;return n instanceof u?(t=n.code,r=n.originalMessage):(t=c.FORMATTING_ERROR,r=n.message),p(e,t,r,b)}}function E(e,t,r,n){let i=g(e,t,r,n);return"string"!=typeof i?p(e,c.INVALID_MESSAGE,void 0):i}return E.rich=g,E.markup=(e,t,r,n)=>g(e,t,r,n),E.raw=e=>{if(m)return l(h),o({error:h,key:e,namespace:a});try{return Q(s,h,e,a)}catch(t){return p(e,c.MISSING_MESSAGE,t.message)}},E.has=e=>{if(m)return!1;try{return Q(s,h,e,a),!0}catch(e){return!1}},E}({...e,messagesOrError:t})})({cache:i,formatters:s,getMessageFallback:h,messages:m,namespace:p,onError:l,formats:o,locale:a,timeZone:f}),[i,s,h,m,p,l,o,a,f])}({"!":en().messages},e?"!.".concat(e):"!","!")}function eh(){return en().locale}function ea(){let{formats:e,formatters:t,locale:n,now:i,onError:o,timeZone:s}=en();return(0,r.useMemo)(()=>(function(e){let{_cache:t=f(),_formatters:r=g(t),formats:n,locale:i,onError:o=J,timeZone:s}=e;function h(e){return(null==e?void 0:e.timeZone)||(s?e={...e,timeZone:s}:o(new u(c.ENVIRONMENT_FALLBACK,void 0))),e}function a(e,t,r,n,i){let s;try{s=function(e,t,r){let n;if("string"==typeof t){if(!(n=null==e?void 0:e[t])){let e=new u(c.MISSING_FORMAT,void 0);throw o(e),e}}else n=t;return r&&(n={...n,...r}),n}(r,e,t)}catch(e){return i()}try{return n(s)}catch(e){return o(new u(c.FORMATTING_ERROR,e.message)),i()}}function l(e,t,o){return a(t,o,null==n?void 0:n.dateTime,t=>(t=h(t),r.getDateTimeFormat(i,t).format(e)),()=>String(e))}function m(){return e.now?e.now:(o(new u(c.ENVIRONMENT_FALLBACK,void 0)),new Date)}return{dateTime:l,number:function(e,t,o){return a(t,o,null==n?void 0:n.number,t=>r.getNumberFormat(i,t).format(e),()=>String(e))},relativeTime:function(e,t){try{var n;let o,s,h={};t instanceof Date||"number"==typeof t?o=new Date(t):t&&(o=null!=t.now?new Date(t.now):m(),s=t.unit,h.style=t.style,h.numberingSystem=t.numberingSystem),o||(o=m());let a=(new Date(e).getTime()-o.getTime())/1e3;s||(s=function(e){let t=Math.abs(e);return t<60?"second":t<3600?"minute":t<86400?"hour":t<604800?"day":t<2628e3?"week":t<31536e3?"month":"year"}(a)),h.numeric="second"===s?"auto":"always";let l=(n=s,Math.round(a/$[n]));return r.getRelativeTimeFormat(i,h).format(l,s)}catch(t){return o(new u(c.FORMATTING_ERROR,t.message)),String(e)}},list:function(e,t,o){let s=[],h=new Map,l=0;for(let t of e){let e;"object"==typeof t?(e=String(l),h.set(e,t)):e=String(t),s.push(e),l++}return a(t,o,null==n?void 0:n.list,e=>{let t=r.getListFormat(i,e).formatToParts(s).map(e=>
1"literal"===e.type?e.value:h.get(e.value)||e.value);return h.size>0?t:t.join("")},()=>String(e))},dateTimeRange:function(e,t,o,s){return a(o,s,null==n?void 0:n.dateTime,n=>(n=h(n),r.getDateTimeFormat(i,n).formatRange(e,t)),()=>[l(e),l(t)].join("âââ"))},displayName:function(e,t,o){return a(t,o,null==n?void 0:n.displayName,t=>r.getDisplayNames(i,t).of(e),()=>e)}}})({formats:e,locale:n,now:i,onError:o,timeZone:s,_formatters:t}),[e,t,i,n,o,s])}},77105,49092,89790,33165,e=>{"use strict";e.s(["default",()=>_],77105);var t=e.i(22016),r=e.i(18566),n=e.i(71645),i=e.i(61745);e.s(["default",()=>v],33165),e.s(["applyPathnamePrefix",()=>I,"compileLocalizedPathname",()=>A,"getBasePath",()=>P,"getRoute",()=>S,"normalizeNameOrNameWithParams",()=>B,"serializeSearchParams",()=>T],89790),e.s(["getLocaleAsPrefix",()=>p,"getLocalePrefix",()=>m,"getLocalizedTemplate",()=>u,"getSortedPathnames",()=>y,"hasPathnamePrefixed",()=>l,"isLocalizableHref",()=>s,"isPromise",()=>H,"matchesPathname",()=>f,"normalizeTrailingSlash",()=>c,"prefixPathname",()=>a,"unprefixPathname",()=>h],49092);var o=e.i(47167);function s(e){return("object"==typeof e?null==e.host&&null==e.hostname:!/^[a-z]+:/i.test(e))&&!function(e){let t="object"==typeof e?e.pathname:e;return null!=t&&!t.startsWith("/")}(e)}function h(e,t){return e.replace(new RegExp("^".concat(t)),"")||"/"}function a(e,t){let r=e;return/^\/(\?.*)?$/.test(t)&&(t=t.slice(1)),r+=t}function l(e,t){return t===e||t.startsWith("".concat(e,"/"))}function u(e,t,r){return"string"==typeof e?e:e[t]||r}function c(e){let t=function(){try{return"true"===o.default.env._next_intl_trailing_slash}catch(e){return!1}}(),[r,...n]=e.split("#"),i=n.join("#"),s=r;if("/"!==s){let e=s.endsWith("/");t&&!e?s+="/":!t&&e&&(s=s.slice(0,-1))}return i&&(s+="#"+i),s}function f(e,t){let r=c(e),n=c(t);return(function(e){let t=e.replace(/\/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[(\.\.\.[^\]]+)\]/g,"(.+)").replace(/\[([^\]]+)\]/g,"([^/]+)");return new RegExp("^".concat(t,"$"))})(r).test(n)}function m(e,t){var r;return"never"!==t.mode&&(null==(r=t.prefixes)?void 0:r[e])||p(e)}function p(e){return"/"+e}function g(e){return e.includes("[[...")}function E(e){return e.includes("[...")}function b(e){return e.includes("[")}function d(e,t){let r=e.split("/"),n=t.split("/"),i=Math.max(r.length,n.length);for(let e=0;e<i;e++){let t=r[e],i=n[e];if(!t&&i)return -1;if(t&&!i)return 1;if(t||i){if(!b(t)&&b(i))return -1;if(b(t)&&!b(i))return 1;if(!E(t)&&E(i))return -1;if(E(t)&&!E(i))return 1;if(!g(t)&&g(i))return -1;if(g(t)&&!g(i))return 1}}return 0}function y(e){return e.sort(d)}function H(e){return"function"==typeof e.then}function B(e){return"string"==typeof e?{pathname:e}:e}function T(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))Array.isArray(n)?n.forEach(e=>{t.append(r,String(e))}):t.set(r,String(n));return"?"+t.toString()}function A(e){let{pathname:t,locale:r,params:n,pathnames:i,query:o}=e;function s(e){let t,s=i[e];return s?(t=u(s,r,e),n&&Object.entries(n).forEach(e=>{let r,n,[i,o]=e;Array.isArray(o)?(r="(\\[)?\\[...".concat(i,"\\](\\])?"),n=o.map(e=>String(e)).join("/")):(r="\\[".concat(i,"\\]"),n=String(o)),t=t.replace(RegExp(r,"g"),n)}),t=new URL(t=t.replace(/\[\[\.\.\..+\]\]/g,""),"http://l").pathname):t=e,t=c(t),o&&(t+=T(o)),t}if("string"==typeof t)return s(t);{let{pathname:e,...r}=t;return{...r,pathname:s(e)}}}function S(e,t,r){let n=y(Object.keys(r)),i=decodeURI(t);for(let t of n){let n=r[t];if("string"==typeof n){if(f(n,i))return t}else if(f(u(n,e,t),i))return t}return t}function P(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.location.pathname;return"/"===e?t:t.replace(e,"")}function I(e,t,r,n){let i,{mode:o}=r.localePrefix;return void 0!==n?i=n:s(e)&&("always"===o?i=!0:"as-needed"===o&&(i=r.domains?!r.domains.some(e=>e.defaultLocale===t):t!==r.defaultLocale)),i?a(m(t,r.localePrefix),e):e}function v(e,t,r,n){if(!e||n===r||null==n||!t)return;let i=P(t),{name:o,...s}=e;s.path||(s.path=""!==i?i:"/");let h="".concat(o,"=").concat(n,";");for(let[e,t]of Object.entries(s))h+="".concat("maxAge"===e?"max-age":e),"boolean"!=typeof t&&(h+="="+t),h+=";";document.cookie=h}var N=e.i(43476),_=(0,n.forwardRef)(function(e,n){let{href:o,locale:s,localeCookie:h,onClick:a,prefetch:l,...u}=e,c=(0,i.useLocale)(),f=null!=s&&s!==c,m=(0,r.usePathname)();return f&&(l=!1),(0,N.jsx)(t.default,{ref:n,href:o,hrefLang:f?s:void 0,onClick:function(e){v(h,m,c,s),a&&a(e)},prefetch:l,...u})})}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.