1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,442400,e=>{"use strict";e.s(["_",0,function(e){if(null==e)throw TypeError("Cannot destructure "+e);return e}])},767362,707097,607472,e=>{"use strict";var t,r=e.i(286260),n=e.i(196319),i=e.i(798451),o=e.i(996661),a=e.i(822221),s=e.i(706333),h=e.i(714100);function u(e,t){var r=t&&t.cache?t.cache:p,n=t&&t.serializer?t.serializer:f;return(t&&t.strategy?t.strategy:function(e,t){var r,n,i=1===e.length?l:c;return r=t.cache.create(),n=t.serializer,i.bind(this,e,r,n)})(e,{cache:r,serializer:n})}function l(e,t,r,n){var 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 c(e,t,r){var 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}var f=function(){return JSON.stringify(arguments)},m=function(){function e(){(0,n._)(this,e),this.cache=Object.create(null)}return(0,h._)(e,[{key:"get",value:function(e){return this.cache[e]}},{key:"set",value:function(e,t){this.cache[e]=t}}]),e}(),p={create:function(){return new m}},g={variadic:function(e,t){var r,n;return r=t.cache.create(),n=t.serializer,c.bind(this,e,r,n)},monadic:function(e,t){var r,n;return r=t.cache.create(),n=t.serializer,l.bind(this,e,r,n)}};e.s(["memoize",0,u,"strategies",0,g],707097);var v=function(e){function t(e,i){(0,n._)(this,t);var o,a=e;return i&&(a+=": "+i),(o=(0,r._)(this,t,[a])).code=e,i&&(o.originalMessage=i),o}return(0,o._)(t,e),t}((0,s._)(Error)),E=((t=E||{}).MISSING_MESSAGE="MISSING_MESSAGE",t.MISSING_FORMAT="MISSING_FORMAT",t.ENVIRONMENT_FALLBACK="ENVIRONMENT_FALLBACK",t.INSUFFICIENT_PATH="INSUFFICIENT_PATH",t.INVALID_MESSAGE="INVALID_MESSAGE",t.INVALID_KEY="INVALID_KEY",t.FORMATTING_ERROR="FORMATTING_ERROR",t);function b(e,t){return u(e,{cache:{create:function(){return{get:function(e){return t[e]},set:function(e,r){t[e]=r}}}},strategy:g.variadic})}function y(e,t){return b(function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return(0,i._)(e,(0,a._)(r))},t)}function d(){return(d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}e.s(["I",0,v,"a",0,E,"b",0,function(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}},"c",0,function(e){return{getDateTimeFormat:y(Intl.DateTimeFormat,e.dateTime),getNumberFormat:y(Intl.NumberFormat,e.number),getPluralRules:y(Intl.PluralRules,e.pluralRules),getRelativeTimeFormat:y(Intl.RelativeTimeFormat,e.relativeTime),getListFormat:y(Intl.ListFormat,e.list),getDisplayNames:y(Intl.DisplayNames,e.displayNames)}},"m",0,b],767362),e.s(["_",()=>d],607472)},622192,e=>{"use strict";var t,r,n=e.i(897614),i=e.i(965980),o=e.i(845565),a=e.i(820443),s=e.i(767362),h=e.i(230804),u=e.i(413140),l=e.i(910429),c=e.i(286260),f=e.i(196319),m=e.i(798451),p=e.i(714100),g=e.i(607472),v=e.i(996661),E=e.i(442400),b=e.i(822221),y=e.i(706333),d=e.i(707097),H=e.i(816032),B=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g,_=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,T=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,A=/^(@+)?(\+|#+)?[rs]?$/g,I=/(\*)(0+)|(#+)(0+)|(0+)/g,S=/^(0+)$/;function N(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(A,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 P(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 M(e){var t=P(e);return t||{}}var L=((t={})[t.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",t[t.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",t[t.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",t[t.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",t[t.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",t[t.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",t[t.INVALID_
1NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",t[t.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",t[t.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",t[t.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",t[t.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",t[t.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",t[t.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",t[t.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",t[t.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",t[t.INVALID_TAG=23]="INVALID_TAG",t[t.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",t[t.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",t[t.UNCLOSED_TAG=27]="UNCLOSED_TAG",t);function R(e){return!!(e&&(void 0===e?"undefined":(0,l._)(e))==="object"&&0===e.type)}function O(e){return!!(e&&(void 0===e?"undefined":(0,l._)(e))==="object"&&1===e.type)}var w=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,F={"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"]},C=new RegExp("^".concat(w.source,"*")),D=new RegExp("".concat(w.source,"*$"));function k(e,t){return{start:e,end:t}}var G=!!Object.fromEntries,U=!!String.prototype.trimStart,V=!!String.prototype.trimEnd,K=G?Object.fromEntries:function(e){var t={},r=!0,n=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var h=(0,o._)(a.value,2),u=h[0],l=h[1];t[u]=l}}catch(e){n=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(n)throw i}}return t},x=U?function(e){return e.trimStart()}:function(e){return e.replace(C,"")},Z=V?function(e){return e.trimEnd()}:function(e){return e.replace(D,"")},j=RegExp("([^\\u0009-\\u000D\\u0020\\u0085\\u00A0\\u1680\\u2000-\\u200A\\u2028-\\u2029\\u202F\\u205F\\u3000\\u0021-\\u002F\\u003A-\\u0040\\u005B-\\u005E\\u0060\\u007B-\\u007E\\u00A1-\\u00A7\\u00A9\\u00AB-\\u00AC\\u00AE\\u00B0-\\u00B1\\u00B6\\u00BB\\u00BF\\u00D7\\u00F7\\u2010-\\u2027\\u2030-\\u203E\\u2041-\\u2053\\u2055-\\u205E\\u2190-\\u245F\\u2500-\\u2775\\u2794-\\u2BFF\\u2E00-\\u2E7F\\u3001-\\u3003\\u3008-\\u3020\\u3030\\uFD3E-\\uFD3F\\uFE45-\\uFE46]*)","yu"),X=function(){function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,f._)(this,e),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return(0,p._)(e,[{key:"parse",value:function(){if(0!==this.offset())throw Error("parser can only be used once");if(this.message.length>0){var e=this.message.charCodeAt(0);if(35!==e&&39!==e&&60!==e&&123!==e&&125!==e){var t=function(e){if(0===e.length)return null;for(var t=1,r=1,n=0;n<e.length;){var 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){var o=e.charCodeAt(n+1);n+=o>=56320&&o<=57343?2:1}else n++}return{offset:e.length,line:t,column:r}}(this.message);if(t){var r=this.clonePosition();return this.position=t,{val:[{type:0,value:this.message,location:k(r,this.clonePosition())}],err:null}}}}return this.parseMessage(0,"",!1)}},{key:"parseMessage",value:function(e,t,r){for(var n=[];!this.isEOF();){var i=this.char();if(123===i){var o=this.parseArgument(e,r);if(o.err)return o;n.push(o.val)}else if(125===i&&e>0)break;else if(35===i&&("plural"===t||"selectordinal"===t)){var a=this.clonePosition();this.bump(),n.push({type:7,location:k(a,this.clonePosition())})}else if(60!==i||this.ignoreTag||47!==this.peek())if(60===i&&!this.ignoreTag&&Y(this.peek()||0)){var s=this.parseTag(e,t);if(s.err)return s;n.push(s.val)}else{var h=this.parseLiteral(e,t);if(h.err)return h;n.push(h.val)}else if(!r)return this.error(26,k(this.clonePosition(),this.clonePosition()));else break}return{val:n,err:null}}},{key:"parseTag",value:function(e,t){var r=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:0,value:"<".concat(n,"/>"),location:k(r,this.clonePosition())},err:null};if(!this.bumpIf(">"))return this.error(23,k(r,this.clonePosition()));var i=this.parseMessage(e+1,t,!0);if(i.err)return i;var o=i.val,a=this.clonePosition();if(!this.bumpIf("</"))return this.error(27,k(r,this.clonePosition()));if(this.isEOF()||!Y(this.char()))return this.error(23,k(a,this.clonePosition()));var s=this.clonePosition();return n!==this.parseTagName()?this.error(26,k(s,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">"))?{val:{type:8,value:n,children:o,location:k(r,this.clonePosition())},err:null}:this.error(23,k(a,this.clonePosition()))}},{key:"parseTagName",value:function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())}},{key:"parseLiteral",value:function(e,t){for(var r=this.clonePosition(),n="";;){var i=this.tryParseQuote(t);if(i){n+=i;continue}var o=this.tryParseUnquoted(e,t);if(o){n+=o;continue}var a=this.tryParseLeftAngleBracket();if(a){n+=a;continue}break}return{val:{type:0,value:n,location:k(r,this.clonePosition())},err:null}}},{key:"tryParseLeftAngleBracket",value:function(){var e;return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Y(e=this.peek()||0)||47===e)?null:(this.bump(),"<")}},{key:"tryParseQuote",value:function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";
1case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t,r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n)if(39===this.peek())r.push(39),this.bump();else{this.bump();break}else r.push(n);this.bump()}return(t=String).fromCodePoint.apply(t,(0,b._)(r))}},{key:"tryParseUnquoted",value:function(e,t){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&e>0?null:(this.bump(),String.fromCodePoint(r))}},{key:"parseArgument",value:function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(1,k(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(2,k(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(3,k(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(1,k(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:1,value:n,location:k(r,this.clonePosition())},err:null};case 44:if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(1,k(r,this.clonePosition()));return this.parseArgumentOptions(e,t,n,r);default:return this.error(3,k(r,this.clonePosition()))}}},{key:"parseIdentifierIfPossible",value:function(){var e,t,r=this.clonePosition(),n=this.offset(),i=(e=this.message,j.lastIndex=n,null!=(t=j.exec(e)[1])?t:""),o=n+i.length;return this.bumpTo(o),{value:i,location:k(r,this.clonePosition())}}},{key:"parseArgumentOptions",value:function(e,t,r,i){var o=this.clonePosition(),a=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(a){case"":return this.error(4,k(o,s));case"number":case"date":case"time":this.bumpSpace();var h,u=null;if(this.bumpIf(",")){this.bumpSpace();var l=this.clonePosition(),c=this.parseSimpleArgStyleIfPossible();if(c.err)return c;var f=Z(c.val);if(0===f.length)return this.error(6,k(this.clonePosition(),this.clonePosition()));u={style:f,styleLocation:k(l,this.clonePosition())}}var m=this.tryParseArgumentClose(i);if(m.err)return m;var p=k(i,this.clonePosition());if(u&&u.style.startsWith("::")){var g=x(u.style.slice(2));if("number"===a){var v=this.parseNumberSkeletonFromString(g,u.styleLocation);if(v.err)return v;return{val:{type:2,value:r,location:p,style:v.val},err:null}}if(0===g.length)return this.error(10,p);var E,b=g;return this.locale&&(b=function(e,t){for(var r="",n=0;n<e.length;n++){var i=e.charAt(n);if("j"===i){for(var o=0;n+1<e.length&&e.charAt(n+1)===i;)o++,n++;var a=1+(1&o),s=o<2?1:3+(o>>1),h=function(e){var 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")}var n=e.language;return"root"!==n&&(t=e.maximize().region),(F[t||""]||F[n||""]||F["".concat(n,"-001")]||F["001"])[0]}(t);for(("H"==h||"k"==h)&&(s=0);s-- >0;)r+="a";for(;a-- >0;)r=h+r}else"J"===i?r+="H":r+=i}return r}(g,this.locale)),{val:{type:"date"===a?3:4,value:r,location:p,style:{type:1,pattern:b,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?(E={},b.replace(B,function(e){var t=e.length;switch(e[0]){case"G":E.era=4===t?"long":5===t?"narrow":"short";break;case"y":E.year=2===t?"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":E.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw RangeError("`w/W` (week) patterns are not supported");case"d":E.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":E.weekday=4===t?"long":5===t?"narrow":"short";break;case"e":if(t<4)throw RangeError("`e..eee` (weekday) patterns are not supported");E.weekday=["short","long","narrow","short"][t-3];break;case"c":if(t<4)throw RangeError("`c..ccc` (weekday) patterns are not supported");E.weekday=["short","long","narrow","short"][t-3];break;case"a":E.hour12=!0;break;case"b":case"B":throw RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":E.hourCycle="h12",E.hour=["numeric","2-digit"][t-1];break;case"H":E.hourCycle="h23",E.hour=["numeric","2-digit"][t-1];break;case"K":E.hourCycle="h11",E.hour=["numeric","2-digit"][t-1];break;case"k":E.hourCycle="h24",E.hour=["numeric","2-digit"][t-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":E.minute=["numeric","2-digit"][t-1];break;case"s":E.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":E.timeZoneName=t<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""}),E):{}}},err:null}}return{val:{type:"number"===a?2:"date"===a?3:4,value:r,location:p,style:null!=(h=null==u?void 0:u.style)?h:null},err:null};
1case"plural":case"selectordinal":case"select":var y=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(12,k(y,(0,n._)({},y)));this.bumpSpace();var d=this.parseIdentifierIfPossible(),H=0;if("select"!==a&&"offset"===d.value){if(!this.bumpIf(":"))return this.error(13,k(this.clonePosition(),this.clonePosition()));this.bumpSpace();var _=this.tryParseDecimalInteger(13,14);if(_.err)return _;this.bumpSpace(),d=this.parseIdentifierIfPossible(),H=_.val}var T=this.tryParsePluralOrSelectOptions(e,a,t,d);if(T.err)return T;var A=this.tryParseArgumentClose(i);if(A.err)return A;var I=k(i,this.clonePosition());if("select"===a)return{val:{type:5,value:r,options:K(T.val),location:I},err:null};return{val:{type:6,value:r,options:K(T.val),offset:H,pluralType:"plural"===a?"cardinal":"ordinal",location:I},err:null};default:return this.error(5,k(o,s))}}},{key:"tryParseArgumentClose",value:function(e){return this.isEOF()||125!==this.char()?this.error(1,k(e,this.clonePosition())):(this.bump(),{val:!0,err:null})}},{key:"parseSimpleArgStyleIfPossible",value:function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(11,k(r,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}}},{key:"parseNumberSkeletonFromString",value:function(e,t){var r=[];try{r=function(e){if(0===e.length)throw Error("Number skeleton cannot be empty");var t=e.split(_).filter(function(e){return e.length>0}),r=[],n=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var h=a.value.split("/");if(0===h.length)throw Error("Invalid number skeleton");var u=(0,H._)(h),l=u[0],c=u.slice(1),f=!0,m=!1,p=void 0;try{for(var g,v=c[Symbol.iterator]();!(f=(g=v.next()).done);f=!0){var E=g.value;if(0===E.length)throw Error("Invalid number skeleton")}}catch(e){m=!0,p=e}finally{try{f||null==v.return||v.return()}finally{if(m)throw p}}r.push({stem:l,options:c})}}catch(e){i=!0,o=e}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return r}(e)}catch(e){return this.error(7,t)}return{val:{type:0,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?function(e){var t={},r=!0,o=!1,a=void 0;try{for(var s,h=e[Symbol.iterator]();!(r=(s=h.next()).done);r=!0){var u=s.value;switch(u.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=u.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=u.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=(0,n._)((0,i._)((0,n._)({},t),{notation:"scientific"}),u.options.reduce(function(e,t){return(0,n._)({},e,M(t))},{}));continue;case"engineering":t=(0,n._)((0,i._)((0,n._)({},t),{notation:"engineering"}),u.options.reduce(function(e,t){return(0,n._)({},e,M(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(u.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(u.options.length>1)throw RangeError("integer-width stems only accept a single optional option");u.options[0].replace(I,function(e,r,n,i,o,a){if(r)t.minimumIntegerDigits=n.length;else if(i&&o)throw Error("We currently do not support maximum integer digits");else if(a)throw Error("We currently do not support exact integer digits");return""});continue}if(S.test(u.stem)){t.minimumIntegerDigits=u.stem.length;continue}if(T.test(u.stem)){if(u.options.length>1)throw RangeError("Fraction-precision stems only accept a single optional option");u.stem.replace(T,function(e,r,n,i,o,a){return"*"===n?t.minimumFractionDigits=r.length:i&&"#"===i[0]?t.maximumFractionDigits=i.length:o&&a?(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length+a.length):(t.minimumFractionDigits=r.length,t.maximumFractionDigits=r.length),""});var l=u.options[0];"w"===l?t=(0,i._)((0,n._)({}
1,t),{trailingZeroDisplay:"stripIfInteger"}):l&&(t=(0,n._)({},t,N(l)));continue}if(A.test(u.stem)){t=(0,n._)({},t,N(u.stem));continue}var c=P(u.stem);c&&(t=(0,n._)({},t,c));var f=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!S.test(e))throw Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(u.stem);f&&(t=(0,n._)({},t,f))}}catch(e){o=!0,a=e}finally{try{r||null==h.return||h.return()}finally{if(o)throw a}}return t}(r):{}},err:null}}},{key:"tryParsePluralOrSelectOptions",value:function(e,t,r,n){for(var i=!1,o=[],a=new Set,s=n.value,h=n.location;;){if(0===s.length){var u,l=this.clonePosition();if("select"!==t&&this.bumpIf("=")){var c=this.tryParseDecimalInteger(16,19);if(c.err)return c;h=k(l,this.clonePosition()),s=this.message.slice(l.offset,this.offset())}else break}if(a.has(s))return this.error("select"===t?21:20,h);"other"===s&&(i=!0),this.bumpSpace();var f=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?17:18,k(this.clonePosition(),this.clonePosition()));var m=this.parseMessage(e+1,t,r);if(m.err)return m;var p=this.tryParseArgumentClose(f);if(p.err)return p;o.push([s,{value:m.val,location:k(f,this.clonePosition())}]),a.add(s),this.bumpSpace(),s=(u=this.parseIdentifierIfPossible()).value,h=u.location}return 0===o.length?this.error("select"===t?15:16,k(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(22,k(this.clonePosition(),this.clonePosition())):{val:o,err:null}}},{key:"tryParseDecimalInteger",value:function(e,t){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var i=!1,o=0;!this.isEOF();){var a=this.char();if(a>=48&&a<=57)i=!0,o=10*o+(a-48),this.bump();else break}var s=k(n,this.clonePosition());return i?Number.isSafeInteger(o*=r)?{val:o,err:null}:this.error(t,s):this.error(e,s)}},{key:"offset",value:function(){return this.position.offset}},{key:"isEOF",value:function(){return this.offset()===this.message.length}},{key:"clonePosition",value:function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}}},{key:"char",value:function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=this.message.codePointAt(e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t}},{key:"error",value:function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}}},{key:"bump",value:function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}}},{key:"bumpIf",value:function(e){if(this.message.startsWith(e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1}},{key:"bumpUntil",value:function(e){var t=this.offset(),r=this.message.indexOf(e,t);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)}},{key:"bumpTo",value:function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}}},{key:"bumpSpace",value:function(){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()}},{key:"peek",value:function(){if(this.isEOF())return null;var e,t=this.char(),r=this.offset();return null!=(e=this.message.charCodeAt(r+(t>=65536?2:1)))?e:null}}]),e}();function Y(e){return e>=97&&e<=122||e>=65&&e<=90}var z=function(e){function t(e,r,n){var i;return(0,f._)(this,t),(i=(0,c._)(this,t,[e])).code=r,i.originalMessage=n,i}return(0,v._)(t,e),(0,p._)(t,[{key:"toString",value:function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)}}]),t}((0,y._)(Error)),W=function(e){function t(e,r,n,i){return(0,f._)(this,t),(0,c._)(this,t,['Invalid values for "'.concat(e,'": "').concat(r,'". Options are "').concat(Object.keys(n).join('", "'),'"'),"INVALID_VALUE",i])}return(0,v._)(t,e),t}(z),q=function(e){function t(e,r,n){return(0,f._)(this,t),(0,c._)(this,t,['Value for "'.concat(e,'" must be of type ').concat(r),"INVALID_VALUE",n])}return(0,v._)(t,e),t}(z),J=function(e){function t(e,r){return(0,f._)(this,t),(0,c._)(this,t,['The intl str
1ing context variable "'.concat(e,'" was not provided to the string "').concat(r,'"'),"MISSING_VALUE",r])}return(0,v._)(t,e),t}(z);function Q(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}var $=((r=function(){function e(t){var r,o=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.defaultLocale,s=arguments.length>2?arguments[2]:void 0,h=arguments.length>3?arguments[3]:void 0;if((0,f._)(this,e),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=o.formatToParts(e);if(1===t.length)return t[0].value;var r=t.reduce(function(e,t){return e.length&&0===t.type&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return r.length<=1?r[0]||"":r},this.formatToParts=function(e){return function e(t,r,n,i,o,a,s){if(1===t.length&&0===t[0].type)return[{type:0,value:t[0].value}];var h=[],u=!0,c=!1,f=void 0;try{for(var m,p=t[Symbol.iterator]();!(u=(m=p.next()).done);u=!0){var g=m.value;if(0===g.type){h.push({type:0,value:g.value});continue}if(7===g.type){"number"==typeof a&&h.push({type:0,value:n.getNumberFormat(r).format(a)});continue}var v=g.value;if(!(o&&v in o))throw new J(v,s);var E=o[v];if(1===g.type){E&&"string"!=typeof E&&"number"!=typeof E&&(void 0===E?"undefined":(0,l._)(E))!=="bigint"||(E="string"==typeof E||"number"==typeof E||(void 0===E?"undefined":(0,l._)(E))==="bigint"?String(E):""),h.push({type:+("string"!=typeof E),value:E});continue}if(3===g.type){var y="string"==typeof g.style?i.date[g.style]:O(g.style)?g.style.parsedOptions:void 0;h.push({type:0,value:n.getDateTimeFormat(r,y).format(E)});continue}if(4===g.type){var d="string"==typeof g.style?i.time[g.style]:O(g.style)?g.style.parsedOptions:i.time.medium;h.push({type:0,value:n.getDateTimeFormat(r,d).format(E)});continue}if(2===g.type){var H="string"==typeof g.style?i.number[g.style]:R(g.style)?g.style.parsedOptions:void 0;if(H&&H.scale){var B=H.scale||1;if((void 0===E?"undefined":(0,l._)(E))==="bigint"){if(!Number.isInteger(B))throw TypeError("Cannot apply fractional scale ".concat(B," to bigint value. Scale must be an integer when formatting bigint."));E*=BigInt(B)}else E*=B}h.push({type:0,value:n.getNumberFormat(r,H).format(E)});continue}if(8===g.type){var _=g.children,T=g.value,A=o[T];if("function"!=typeof A)throw new q(T,"function",s);var I=A(e(_,r,n,i,o,a).map(function(e){return e.value}));Array.isArray(I)||(I=[I]),h.push.apply(h,(0,b._)(I.map(function(e){return{type:+("string"!=typeof e),value:e}})))}if(5===g.type){var S=E,N=(Object.prototype.hasOwnProperty.call(g.options,S)?g.options[S]:void 0)||g.options.other;if(!N)throw new W(g.value,E,Object.keys(g.options),s);h.push.apply(h,(0,b._)(e(N.value,r,n,i,o)));continue}if(6===g.type){var P="=".concat(E),M=Object.prototype.hasOwnProperty.call(g.options,P)?g.options[P]:void 0;if(!M){if(!Intl.PluralRules)throw new z('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',"MISSING_INTL_API",s);var L=(void 0===E?"undefined":(0,l._)(E))==="bigint"?Number(E):E,w=n.getPluralRules(r,{type:g.pluralType}).select(L-(g.offset||0));M=(Object.prototype.hasOwnProperty.call(g.options,w)?g.options[w]:void 0)||g.options.other}if(!M)throw new W(g.value,E,Object.keys(g.options),s);var F=(void 0===E?"undefined":(0,l._)(E))==="bigint"?Number(E):E;h.push.apply(h,(0,b._)(e(M.value,r,n,i,o,F-(g.offset||0))));continue}}}catch(e){c=!0,f=e}finally{try{u||null==p.return||p.return()}finally{if(c)throw f}}return h.length<2?h:h.reduce(function(e,t){var r=e[e.length-1];return r&&0===r.type&&0===t.type?r.value+=t.value:e.push(t),e},[])}(o.ast,o.locales,o.formatters,o.formats,e,void 0,o.message)},this.resolvedOptions=function(){var e;return{locale:(null==(e=o.resolvedLocale)?void 0:e.toString())||Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},this.locales=a,this.resolvedLocale=e.resolveLocale(a),"string"==typeof t){if(this.message=t,!e.__parse)throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var u=h||{},c=((0,E._)(u),(0,g._)({},u));this.ast=e.__parse(t,(0,i._)((0,n._)({},c),{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=(r=e.formats,s?Object.keys(r).reduce(function(e,t){var i,o;return e[t]=(i=r[t],(o=s[t])?(0,n._)({},i,o,Object.keys(i).reduce(function(e,t){return e[t]=(0,n._)({},i[t],o[t]),e},{})):i),e},(0,n._)({},r)):r),this.formatters=h&&h.formatters||function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{number:{},dateTime:{},pluralRules:{}};return{getNumberFormat:(0,d.memoize)(function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,m._)(Intl.NumberFormat,(0,b._)(t))},{cache:Q(e.number),strategy:d.strategies.variadic}),getDateTimeFormat:(0,d.memoize)(function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,m._)(Intl.DateTimeFormat,(0,b._)(t))},{cache:Q(e.dateTime),strategy:d.strategies.variadic}),getPluralRules:(0,d.memoize)(function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,m._)(Intl.PluralRules,(0,b._)(t))},{cache:Q(e.pluralRules),strategy:d.strategies.variadic})}}(this.formatterCache)}return(0,p._)(e,null,[{key:"defaultLocale",get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale}}]),e}()).memoizedDefaultLocale=null,r.resolveLocale=function(e){if(void 0!==Intl.Locale){var t=Intl.NumberFormat.supportedLocalesOf(e);return new Intl.Locale(t.length>0?t[0]:"string"==typeof e?e:e[0])}},r.__parse=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=new X(e,t=(0,n._)({shouldParseSkeletons:!0,requiresOtherClause:!0},t)).parse();if(r.err){var i=SyntaxError(L[r.err.kind]);throw i.location=r.err.location,i.originalMessage=r.err.message,i}return(null==t?void 0:t.captureLocation)||function e(t){t.forEach(function(t){if(delete t.location,5===t.type||6===t.type)for(var r in t.options)delete t.options[r].location,e(t.options[r].value);else 2===t.type&&R(t.style)||(3===t.type||4===t.type)&&O(t.style)?delete t.style.location:8===t.type&&e(t.children)})}(r.val),r.val},r.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"}}},r);function ee(){for(var e,t,r,h,u,c=arguments.length,f=Array(c),m=0;m<c;m++)f[m]=arguments[m];var p=(0,o._)(f,4),g=(p[0],p[1]),v=p[2],E=p[3];if(Array.isArray(g))throw new s.I(s.a.INVALID_MESSAGE,void 0);if("object"==(void 0===g?"undefined":(0,l._)(g)))throw new s.I(s.a.INSUFFICIENT_PATH,void 0);if("string"==typeof g){var b=v||/'[{}<#|']/.test(g)?void 0:g;if(b)return b}var y=E.cache,d=E.formats,H=E.formatters,B=E.globalFormats,_=E.locale,T=E.timeZone;H.getMessageFormat||(H.getMessageFormat=(0,s.m)(function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return new $(t[0],t[1],t[2],(0,n._)({formatters:H},t[3]))},y.message));try{u=H.getMessageFormat(g,_,(e=$.formats.date,t=$.formats.time,r=(0,n._)({},null==B?void 0:B.dateTime,null==d?void 0:d.dateTime),h={date:(0,n._)({},e,r),time:(0,n._)({},t,r),number:(0,n._)({},null==B?void 0:B.number,null==d?void 0:d.number)},T&&["date","time"].forEach(function(e){var t=h[e],r=!0,i=!1,a=void 0;try{for(var s,u=Object.entries(t)[Symbol.iterator]();!(r=(s=u.next()).done);r=!0){var l=(0,o._)(s.value,2),c=l[0],f=l[1];t[c]=(0,n._)({timeZone:T},f)}}catch(e){i=!0,a=e}finally{try{r||null==u.return||u.return()}finally{if(i)throw a}}}),h),{formatters:(0,i._)((0,n._)({},H),{getDateTimeFormat:function(e,t){var r;return H.getDateTimeFormat(e,(0,i._)((0,n._)({}
1,t),{timeZone:null!=(r=null==t?void 0:t.timeZone)?r:T}))}})})}catch(e){throw new s.I(s.a.INVALID_MESSAGE,void 0)}var A=u.format(v);return(0,a.isValidElement)(A)||Array.isArray(A)||"string"==typeof A?A:String(A)}function et(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter(Boolean).join(".")}function er(e){return et(e.namespace,e.key)}function en(e){console.error(e)}function ei(e,t,r,n){var i=et(n,r);if(!t)throw Error(i);var o=t;return r.split(".").forEach(function(t){var r=o[t];if(null==t||null==r)throw Error(i+" (".concat(e,")"));o=r}),o}ee.raw=!0;var eo={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},ea=e.i(40046),es=(0,a.createContext)(void 0);function eh(){var e=(0,a.useContext)(es);if(!e)throw Error(void 0);return e}var eu=!1,el="u"<typeof window;e.s(["IntlProvider",0,function(e){var t=e.children,r=e.formats,o=e.getMessageFallback,h=e.locale,l=e.messages,c=e.now,f=e.onError,m=e.timeZone,p=(0,a.useContext)(es),g=(0,a.useMemo)(function(){return(null==p?void 0:p.cache)||(0,s.b)()},[h,null==p?void 0:p.cache]),v=(0,a.useMemo)(function(){return(null==p?void 0:p.formatters)||(0,s.c)(g)},[g,null==p?void 0:p.formatters]),E=(0,a.useMemo)(function(){var e,t,a,s,E,b;return(0,i._)((0,n._)({},(t=(e={locale:h,formats:void 0===r?null==p?void 0:p.formats:r,getMessageFallback:o||(null==p?void 0:p.getMessageFallback),messages:void 0===l?null==p?void 0:p.messages:l,now:c||(null==p?void 0:p.now),onError:f||(null==p?void 0:p.onError),timeZone:m||(null==p?void 0:p.timeZone)}).formats,a=e.getMessageFallback,s=e.messages,E=e.onError,b=(0,u._)(e,["formats","getMessageFallback","messages","onError"]),(0,i._)((0,n._)({},b),{formats:t||void 0,messages:s||void 0,onError:E||en,getMessageFallback:a||er}))),{formatters:v,cache:g})},[g,r,v,o,h,l,c,f,p,m]);return(0,ea.jsx)(es.Provider,{value:E,children:t})},"useFormatter",0,function(){var e=eh(),t=e.formats,r=e.formatters,o=e.locale,u=e.now,c=e.onError,f=e.timeZone;return(0,a.useMemo)(function(){return function(e){var t=e._cache,r=void 0===t?(0,s.b)():t,o=e._formatters,a=void 0===o?(0,s.c)(r):o,u=e.formats,c=e.locale,f=e.onError,m=void 0===f?en:f,p=e.timeZone;function g(e){return(null==e?void 0:e.timeZone)||(p?e=(0,i._)((0,n._)({},e),{timeZone:p}):m(new s.I(s.a.ENVIRONMENT_FALLBACK,void 0))),e}function v(e,t,r,i,o){var a;try{a=function(e,t,r){var i;if("string"==typeof t){if(!(i=null==e?void 0:e[t])){var o=new s.I(s.a.MISSING_FORMAT,void 0);throw m(o),o}}else i=t;return r&&(i=(0,n._)({},i,r)),i}(r,e,t)}catch(e){return o()}try{return i(a)}catch(e){return m(new s.I(s.a.FORMATTING_ERROR,e.message)),o()}}function E(e,t,r){return v(t,r,null==u?void 0:u.dateTime,function(t){return t=g(t),a.getDateTimeFormat(c,t).format(e)},function(){return String(e)})}function b(){return e.now?e.now:(m(new s.I(s.a.ENVIRONMENT_FALLBACK,void 0)),new Date)}return{dateTime:E,number:function(e,t,r){return v(t,r,null==u?void 0:u.number,function(t){return a.getNumberFormat(c,t).format(e)},function(){return String(e)})},relativeTime:function(e,t){try{var r,n,i,o,u={};(0,h._)(t,Date)||"number"==typeof t?i=new Date(t):t&&(i=null!=t.now?new Date(t.now):b(),o=t.unit,u.style=t.style,u.numberingSystem=t.numberingSystem),i||(i=b());var l=(new Date(e).getTime()-i.getTime())/1e3;o||(o=(r=Math.abs(l))<60?"second":r<3600?"minute":r<86400?"hour":r<604800?"day":r<2628e3?"week":r<31536e3?"month":"year"),u.numeric="second"===o?"auto":"always";var f=(n=o,Math.round(l/eo[n]));return a.getRelativeTimeFormat(c,u).format(f,o)}catch(t){return m(new s.I(s.a.FORMATTING_ERROR,t.message)),String(e)}},list:function(e,t,r){var n=[],i=new Map,o=0,s=!0,h=!1,f=void 0;try{for(var m,p=e[Symbol.iterator]();!(s=(m=p.next()).done);s=!0){var g=m.value,E=void 0;"object"==(void 0===g?"undefined":(0,l._)(g))?(E=String(o),i.set(E,g)):E=String(g),n.push(E),o++}}catch(e){h=!0,f=e}finally{try{s||null==p.return||p.return()}finally{if(h)throw f}}return v(t,r,null==u?void 0:u.list,function(e){var t=a.getListFormat(c,e).formatToParts(n).map(function(e){return"literal"
1===e.type?e.value:i.get(e.value)||e.value});return i.size>0?t:t.join("")},function(){return String(e)})},dateTimeRange:function(e,t,r,n){return v(r,n,null==u?void 0:u.dateTime,function(r){return r=g(r),a.getDateTimeFormat(c,r).formatRange(e,t)},function(){return[E(e),E(t)].join("âââ")})},displayName:function(e,t,r){return v(t,r,null==u?void 0:u.displayName,function(t){return a.getDisplayNames(c,t).of(e)},function(){return e})}}}({formats:t,locale:o,now:u,onError:c,timeZone:f,_formatters:r})},[t,r,u,o,c,f])},"useLocale",0,function(){return eh().locale},"useTranslations",0,function(e){var t,r,o,u,l,c,f,m,p,g,v,E;return t={"!":eh().messages},r=e?"!.".concat(e):"!",u=(o=eh()).cache,l=o.formats,c=o.formatters,f=o.getMessageFallback,m=o.locale,p=o.onError,g=o.timeZone,v=t["!"],E="!"===r?void 0:r.slice(2),g||eu||!el||(eu=!0,p(new s.I(s.a.ENVIRONMENT_FALLBACK,void 0))),(0,a.useMemo)(function(){var e,t;return t=function(e,t,r){try{if(!t)throw Error(void 0);var n=r?ei(e,t,r):t;if(!n)throw Error(r);return n}catch(e){return new s.I(s.a.MISSING_MESSAGE,e.message)}}((e={cache:u,formatters:c,getMessageFallback:f,messages:v,namespace:E,onError:p,formats:l,locale:m,timeZone:g}).locale,e.messages,e.namespace),function(e){var t=e.cache,r=e.formats,n=e.formatters,i=e.getMessageFallback,o=void 0===i?er:i,u=e.locale,l=e.messagesOrError,c=e.namespace,f=e.onError,m=e.timeZone,p=(0,h._)(l,s.I);function g(e,t,r,n){var i=new s.I(t,r);return f(i),null!=n?n:o({error:i,key:e,namespace:c})}function v(e,i,v,E){var b,y,d;
1if(p){if(!E)return f(l),o({error:l,key:e,namespace:c});b=E}else try{b=ei(u,l,e,c)}catch(t){if(!E)return g(e,s.a.MISSING_MESSAGE,t.message,E);b=E}try{var H,B=et(c,e);return ee(B,b,i?(H={},Object.keys(i).forEach(function(e){var t,r=0,n=i[e];t="function"==typeof n?function(t){var i=n(t);return(0,a.isValidElement)(i)?(0,a.cloneElement)(i,{key:e+r++}):i}:n,H[e]=t}),H):i,{cache:t,formatters:n,globalFormats:r,formats:v,locale:u,timeZone:m})}catch(t){return(0,h._)(t,s.I)?(y=t.code,d=t.originalMessage):(y=s.a.FORMATTING_ERROR,d=t.message),g(e,y,d,E)}}function E(e,t,r,n){var i=v(e,t,r,n);return"string"!=typeof i?g(e,s.a.INVALID_MESSAGE,void 0):i}return E.rich=v,E.markup=function(e,t,r,n){return v(e,t,r,n)},E.raw=function(e){if(p)return f(l),o({error:l,key:e,namespace:c});try{return ei(u,l,e,c)}catch(t){return g(e,s.a.MISSING_MESSAGE,t.message)}},E.has=function(e){if(p)return!1;try{return ei(u,l,e,c),!0}catch(e){return!1}},E}((0,i._)((0,n._)({},e),{messagesOrError:t}))},[u,c,f,v,E,p,l,m,g])}],622192)}]);
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.