1import{r as e}from"./rolldown-runtime-QTnfLwEv.js";import{t}from"./react-Bwi6qxiV.js";import{t as n}from"./jsx-runtime-By8HlURe.js";import{t as r}from"./hoist-non-react-statics.cjs-j8zvEcVY.js";function i(e,t){let n=t&&t.cache?t.cache:ne,r=t&&t.serializer?t.serializer:ee;return(t&&t.strategy?t.strategy:l)(e,{cache:n,serializer:r})}function a(e){return e==null||typeof e==`number`||typeof e==`boolean`}function o(e,t,n,r){let i=a(r)?r:n(r),o=t.get(i);return o===void 0&&(o=e.call(this,r),t.set(i,o)),o}function s(e,t,n){let r=Array.prototype.slice.call(arguments,3),i=n(r),a=t.get(i);return a===void 0&&(a=e.apply(this,r),t.set(i,a)),a}function c(e,t,n,r,i){return n.bind(t,e,r,i)}function l(e,t){let n=e.length===1?o:s;return c(e,this,n,t.cache.create(),t.serializer)}function u(e,t){return c(e,this,s,t.cache.create(),t.serializer)}function d(e,t){return c(e,this,o,t.cache.create(),t.serializer)}var ee=function(){return JSON.stringify(arguments)},te=class{cache;constructor(){this.cache=Object.create(null)}get(e){return this.cache[e]}set(e,t){this.cache[e]=t}},ne={create:function(){return new te}},f={variadic:u,monadic:d},re=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function ie(e){let t={};return e.replace(re,e=>{let n=e.length;switch(e[0]){case`G`:t.era=n===4?`long`:n===5?`narrow`:`short`;break;case`y`:t.year=n===2?`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`][n-1];break;case`w`:case`W`:throw RangeError("`w/W` (week) patterns are not supported");case`d`:t.day=[`numeric`,`2-digit`][n-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=n===4?`long`:n===5?`narrow`:`short`;break;case`e`:if(n<4)throw RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=[`short`,`long`,`narrow`,`short`][n-4];break;case`c`:if(n<4)throw RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=[`short`,`long`,`narrow`,`short`][n-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`][n-1];break;case`H`:t.hourCycle=`h23`,t.hour=[`numeric`,`2-digit`][n-1];break;case`K`:t.hourCycle=`h11`,t.hour=[`numeric`,`2-digit`][n-1];break;case`k`:t.hourCycle=`h24`,t.hour=[`numeric`,`2-digit`][n-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`][n-1];break;case`s`:t.second=[`numeric`,`2-digit`][n-1];break;case`S`:case`A`:throw RangeError("`S/A` (second) patterns are not supported, use `s` instead");case`z`:t.timeZoneName=n<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}var ae=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function oe(e){if(e.length===0)throw Error(`Number skeleton cannot be empty`);let t=e.split(ae).filter(e=>e.length>0),n=[];for(let e of t){let t=e.split(`/`);if(t.length===0)throw Error(`Invalid number skeleton`);let[r,...i]=t;for(let e of i)if(e.length===0)throw Error(`Invalid number skeleton`);n.push({stem:r,options:i})}return n}function se(e){return e.replace(/^(.*?)-/,``)}var p=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,m=/^(@+)?(\+|#+)?[rs]?$/g,ce=/(\*)(0+)|(#+)(0+)|(0+)/g,h=/^(0+)$/;function g(e){let t={};return e[e.length-1]===`r`?t.roundingPriority=`morePrecision`:e[e.length-1]===`s`&&(t.roundingPriority=`lessPrecision`),e.replace(m,function(e,n,r){return typeof r==`string`?r===`+`?t.minimumSignificantDigits=n.length:n[0]===`#`?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+(typeof r==`string`?r.length:0)):(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length),``}),t}function le(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 ue(e){let t;if(e[0]===`E`&&e[1]===`E`?(t={notation:`engineering`},e=e.slice(2)):e[0]===`E`&&(t={notation:`scientific`},e=e.slice(1)),t){let n=e.slice(0,2);if(n===`+!`?(t.signDisplay=`always`,e=e.slice(2)):n===`+?`&&(t.signDisplay=`exceptZero`,e=e.slice(2)),!h.test(e))throw Error(`Malformed concise eng/scientific notation`);t.minimumIntegerDigits=e.length}return t}function _(e){return le(e)||{}}function de(e){let t={};for(let n of e){switch(n.stem){case`percent`:case`%`:t.style=`percent`;continue;case`%x100`:t.style=`percent`,t.scale=100;continue;case`currency`:t.style=`currency`,t.currency=n.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=se(n.options[0]);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`,...n.options.reduce((e,t)=>
1({...e,..._(t)}),{})};continue;case`engineering`:t={...t,notation:`engineering`,...n.options.reduce((e,t)=>({...e,..._(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(n.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(n.options.length>1)throw RangeError(`integer-width stems only accept a single optional option`);n.options[0].replace(ce,function(e,n,r,i,a,o){if(n)t.minimumIntegerDigits=r.length;else if(i&&a)throw Error(`We currently do not support maximum integer digits`);else if(o)throw Error(`We currently do not support exact integer digits`);return``});continue}if(h.test(n.stem)){t.minimumIntegerDigits=n.stem.length;continue}if(p.test(n.stem)){if(n.options.length>1)throw RangeError(`Fraction-precision stems only accept a single optional option`);n.stem.replace(p,function(e,n,r,i,a,o){return r===`*`?t.minimumFractionDigits=n.length:i&&i[0]===`#`?t.maximumFractionDigits=i.length:a&&o?(t.minimumFractionDigits=a.length,t.maximumFractionDigits=a.length+o.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),``});let e=n.options[0];e===`w`?t={...t,trailingZeroDisplay:`stripIfInteger`}:e&&(t={...t,...g(e)});continue}if(m.test(n.stem)){t={...t,...g(n.stem)};continue}let e=le(n.stem);e&&(t={...t,...e});let r=ue(n.stem);r&&(t={...t,...r})}return t}var v=function(e){return e[e.literal=0]=`literal`,e[e.argument=1]=`argument`,e[e.number=2]=`number`,e[e.date=3]=`date`,e[e.time=4]=`time`,e[e.select=5]=`select`,e[e.plural=6]=`plural`,e[e.pound=7]=`pound`,e[e.tag=8]=`tag`,e}({}),y=function(e){return e[e.number=0]=`number`,e[e.dateTime=1]=`dateTime`,e}({});function b(e){return e.type===v.literal}function fe(e){return e.type===v.argument}function x(e){return e.type===v.number}function S(e){return e.type===v.date}function C(e){return e.type===v.time}function w(e){return e.type===v.select}function T(e){return e.type===v.plural}function pe(e){return e.type===v.pound}function E(e){return e.type===v.tag}function D(e){return!!(e&&typeof e==`object`&&e.type===y.number)}function O(e){return!!(e&&typeof e==`object`&&e.type===y.dateTime)}var k=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}({}),A=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,j={"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`],A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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`]};function me(e,t){let n=``;for(let r=0;r<e.length;r++){let i=e.charAt(r);if(i===`j`){let a=0;for(;r+1<e.length&&e.charAt(r+1)===i;)a++,r++;let o=1+(a&1),s=a<2?1:3+(a>>1),c=he(t);for((c==`H`||c==`k`)&&(s=0);s-->0;)n+=`a`;for(;o-->0;)n=c+n}else i===`J`?n+=`H`:n+=i}return n}function he(e){let t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case`h24`:return`k`;case`h23`:return`H`;case`h12`:return`h`;case`h11`:return`K`;default:throw Error(`Invalid hourCycle`)}let n=e.language,r;return n!==`root`&&(r=e.maximize().region),(j[r||``]||j[n||``]||j[`${n}-001`]||j[`001`])[0]}var ge=RegExp(`^${A.source}*`),_e=RegExp(`${A.source}*$`);function M(e,t){return{start:e,end:t}}var ve=!!Object.fromEntries,ye=!!String.prototype.trimStart,be=!!String.prototype.trimEnd,N=ve?Object.fromEntries:function(e){let t={};for(let[n,r]of e)t[n]=r;return t},xe=ye?function(e){return e.trimStart()}:function(e){return e.replace(ge,``)},Se=be?function(e){return e.trimEnd()}:function(e){return e.replace(_e,``)},P=RegExp(`([^\\p{White_Space}\\p{Pattern_Syntax}]*)`,`yu`);function Ce(e,t){return P.lastIndex=t,P.exec(e)[1]??``}var we=class{message;position;locale;ignoreTag;requiresOtherClause;shouldParseSkeletons;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}
1parse(){if(this.offset()!==0)throw Error(`parser can only be used once`);return this.parseMessage(0,``,!1)}parseMessage(e,t,n){let r=[];for(;!this.isEOF();){let i=this.char();if(i===123){let t=this.parseArgument(e,n);if(t.err)return t;r.push(t.val)}else if(i===125&&e>0)break;else if(i===35&&(t===`plural`||t===`selectordinal`)){let e=this.clonePosition();this.bump(),r.push({type:v.pound,location:M(e,this.clonePosition())})}else if(i===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(k.UNMATCHED_CLOSING_TAG,M(this.clonePosition(),this.clonePosition()))}else if(i===60&&!this.ignoreTag&&F(this.peek()||0)){let n=this.parseTag(e,t);if(n.err)return n;r.push(n.val)}else{let n=this.parseLiteral(e,t);if(n.err)return n;r.push(n.val)}}return{val:r,err:null}}parseTag(e,t){let n=this.clonePosition();this.bump();let r=this.parseTagName();if(this.bumpSpace(),this.bumpIf(`/>`))return{val:{type:v.literal,value:`<${r}/>`,location:M(n,this.clonePosition())},err:null};if(this.bumpIf(`>`)){let i=this.parseMessage(e+1,t,!0);if(i.err)return i;let a=i.val,o=this.clonePosition();if(this.bumpIf(`</`)){if(this.isEOF()||!F(this.char()))return this.error(k.INVALID_TAG,M(o,this.clonePosition()));let e=this.clonePosition();return r===this.parseTagName()?(this.bumpSpace(),this.bumpIf(`>`)?{val:{type:v.tag,value:r,children:a,location:M(n,this.clonePosition())},err:null}:this.error(k.INVALID_TAG,M(o,this.clonePosition()))):this.error(k.UNMATCHED_CLOSING_TAG,M(e,this.clonePosition()))}else return this.error(k.UNCLOSED_TAG,M(n,this.clonePosition()))}else return this.error(k.INVALID_TAG,M(n,this.clonePosition()))}parseTagName(){let e=this.offset();for(this.bump();!this.isEOF()&&Ee(this.char());)this.bump();return this.message.slice(e,this.offset())}parseLiteral(e,t){let n=this.clonePosition(),r=``;for(;;){let n=this.tryParseQuote(t);if(n){r+=n;continue}let i=this.tryParseUnquoted(e,t);if(i){r+=i;continue}let a=this.tryParseLeftAngleBracket();if(a){r+=a;continue}break}let i=M(n,this.clonePosition());return{val:{type:v.literal,value:r,location:i},err:null}}tryParseLeftAngleBracket(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Te(this.peek()||0))?(this.bump(),`<`):null}tryParseQuote(e){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),`'`;case 123:case 60:case 62:case 125:break;case 35:if(e===`plural`||e===`selectordinal`)break;return null;default:return null}this.bump();let t=[this.char()];for(this.bump();!this.isEOF();){let e=this.char();if(e===39)if(this.peek()===39)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 n=this.char();return n===60||n===123||n===35&&(t===`plural`||t===`selectordinal`)||n===125&&e>0?null:(this.bump(),String.fromCodePoint(n))}parseArgument(e,t){let n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(k.EXPECT_ARGUMENT_CLOSING_BRACE,M(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(k.EMPTY_ARGUMENT,M(n,this.clonePosition()));let r=this.parseIdentifierIfPossible().value;if(!r)return this.error(k.MALFORMED_ARGUMENT,M(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(k.EXPECT_ARGUMENT_CLOSING_BRACE,M(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:v.argument,value:r,location:M(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(k.EXPECT_ARGUMENT_CLOSING_BRACE,M(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(k.MALFORMED_ARGUMENT,M(n,this.clonePosition()))}}parseIdentifierIfPossible(){let e=this.clonePosition(),t=this.offset(),n=Ce(this.message,t),r=t+n.length;return this.bumpTo(r),{value:n,location:M(e,this.clonePosition())}}parseArgumentOptions(e,t,n,r){let i=this.clonePosition(),a=this.parseIdentifierIfPossible().value,o=this.clonePosition();switch(a){case``:return this.error(k.EXPECT_ARGUMENT_TYPE,M(i,o));case`number`:case`date`:case`time`:{this.bumpSpace();let e=null;if(this.bumpIf(`,`)){this.bumpSpace();let t=this.clonePosition(),n=this.parseSimpleArgStyleIfPossible();if(n.err)return n;let r=Se(n.val);if(r.length===0)return this.error(k.EXPECT_ARGUMENT_STYLE,M(this.clonePosition(),this.clonePosition()));e={style:r,styleLocation:M(t,this.clonePosition())}}let t=this.tryParseArgumentClose(r);if(t.err)return t;let i=M(r,this.clonePosition());if(e&&e.style.startsWith(`::`)){let t=xe(e.style.slice(2));if(a===`number`){let r=this.parseNumberSkeletonFromString(t,e.styleLocation);return r.err?r:{val:{type:v.number,value:n,location:i,style:r.val},err:null}}else{if(t.length===0)return this.error(k.EXPECT_DATE_TIME_SKELETON,i);let r=t;this.locale&&(r=me(t,this.locale));let o={type:y.dateTime,pattern:r,location:e.styleLocation,parsedOptions:this.shouldParseSkeletons?ie(r):{}};return{val:{type:a===`date`?v.date:v.time,value:n,location:i,style:o},err:null}}}return{val:{type:a===`number`?v.number:a===`date`?v.date:v.time,value:n,location:i,style:e?.style??null},err:null}}case`plural`:case`selectordinal`:case`select`:{let i=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(`,`))return this.error(k.EXPECT_SELECT_ARGUMENT_OPTIONS,M(i,{...i}));this.bumpSpace();let o=this.parseIdentifierIfPossible(),s=0;if(a!==`select`&&o.value===`offset`){if(!this.bumpIf(`:`))return this.error(k.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,M(this.clonePosition(),this.clonePosition()));this.bumpSpace();let e=this.tryParseDecimalInteger(k.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,k.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(e.err)return e;this.bumpSpace(),o=this.parseIdentifierIfPossible(),s=e.val}let c=this.tryParsePluralOrSelectOptions(e,a,t,o);if(c.err)return c;let l=this.tryParseArgumentClose(r);if(l.err)return l;let u=M(r,this.clonePosition());return a===`select`?{val:{type:v.select,value:n,options:N(c.val),location:u},err:null}:{val:{type:v.plural,value:n,options:N(c.val),offset:s,pluralType:a===`plural`?`cardinal`:`ordinal`,location:u},err:null}}default:return this.error(k.INVALID_ARGUMENT_TYPE,M(i,o))}}tryParseArgumentClose(e){return this.isEOF()||this.char()!==125?this.error(k.EXPECT_ARGUMENT_CLOSING_BRACE,M(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(k.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,M(e,this.clonePosition()));this.bump();break}case 123:e+=1,this.bump();break;case 125:if(e>0)--e;else return{val:this.message.slice(t.offset,this.offset()),err:null};break;default:this.bump();break}return{val:this.message.slice(t.offset,this.offset()),err:null}}parseNumberSkeletonFromString(e,t){let n=[];try{n=oe(e)}
1catch{return this.error(k.INVALID_NUMBER_SKELETON,t)}return{val:{type:y.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?de(n):{}},err:null}}tryParsePluralOrSelectOptions(e,t,n,r){let i=!1,a=[],o=new Set,{value:s,location:c}=r;for(;;){if(s.length===0){let e=this.clonePosition();if(t!==`select`&&this.bumpIf(`=`)){let t=this.tryParseDecimalInteger(k.EXPECT_PLURAL_ARGUMENT_SELECTOR,k.INVALID_PLURAL_ARGUMENT_SELECTOR);if(t.err)return t;c=M(e,this.clonePosition()),s=this.message.slice(e.offset,this.offset())}else break}if(o.has(s))return this.error(t===`select`?k.DUPLICATE_SELECT_ARGUMENT_SELECTOR:k.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);s===`other`&&(i=!0),this.bumpSpace();let r=this.clonePosition();if(!this.bumpIf(`{`))return this.error(t===`select`?k.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:k.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,M(this.clonePosition(),this.clonePosition()));let l=this.parseMessage(e+1,t,n);if(l.err)return l;let u=this.tryParseArgumentClose(r);if(u.err)return u;a.push([s,{value:l.val,location:M(r,this.clonePosition())}]),o.add(s),this.bumpSpace(),{value:s,location:c}=this.parseIdentifierIfPossible()}return a.length===0?this.error(t===`select`?k.EXPECT_SELECT_ARGUMENT_SELECTOR:k.EXPECT_PLURAL_ARGUMENT_SELECTOR,M(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(k.MISSING_OTHER_CLAUSE,M(this.clonePosition(),this.clonePosition())):{val:a,err:null}}tryParseDecimalInteger(e,t){let n=1,r=this.clonePosition();this.bumpIf(`+`)||this.bumpIf(`-`)&&(n=-1);let i=!1,a=0;for(;!this.isEOF();){let e=this.char();if(e>=48&&e<=57)i=!0,a=a*10+(e-48),this.bump();else break}let o=M(r,this.clonePosition());return i?(a*=n,Number.isSafeInteger(a)?{val:a,err:null}:this.error(t,o)):this.error(e,o)}offset(){return this.position.offset}isEOF(){return this.offset()===this.message.length}clonePosition(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}}char(){let e=this.position.offset;if(e>=this.message.length)throw Error(`out of bound`);let t=this.message.codePointAt(e);if(t===void 0)throw Error(`Offset ${e} is at invalid UTF-16 code unit boundary`);return t}error(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}}bump(){if(this.isEOF())return;let e=this.char();e===10?(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(),n=this.message.indexOf(e,t);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)}bumpTo(e){if(this.offset()>e)throw Error(`targetOffset ${e} must be greater than or equal to the current offset ${this.offset()}`);for(e=Math.min(e,this.message.length);;){let t=this.offset();if(t===e)break;if(t>e)throw Error(`targetOffset ${e} is at invalid UTF-16 code unit boundary`);if(this.bump(),this.isEOF())break}}bumpSpace(){for(;!this.isEOF()&&De(this.char());)this.bump()}peek(){if(this.isEOF())return null;let e=this.char(),t=this.offset();return this.message.charCodeAt(t+(e>=65536?2:1))??null}};function F(e){return e>=97&&e<=122||e>=65&&e<=90}function Te(e){return F(e)||e===47}function Ee(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||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}function De(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function I(e){e.forEach(e=>{if(delete e.location,w(e)||T(e))for(let t in e.options)delete e.options[t].location,I(e.options[t].value);else x(e)&&D(e.style)||(S(e)||C(e))&&O(e.style)?delete e.style.location:E(e)&&I(e.children)})}function Oe(e,t={}){t={shouldParseSkeletons:!0,requiresOtherClause:!0,...t};let n=new we(e,t).parse();if(n.err){let e=SyntaxError(k[n.err.kind]);throw e.location=n.err.location,e.originalMessage=n.err.message,e}return t?.captureLocation||I(n.val),n.val}var L=function(e){return e.MISSING_VALUE=`MISSING_VALUE`,e.INVALID_VALUE=`INVALID_VALUE`,e.MISSING_INTL_API=`MISSING_INTL_API`,e}({}
1),R=class extends Error{code;originalMessage;constructor(e,t,n){super(e),this.code=t,this.originalMessage=n}toString(){return`[formatjs Error: ${this.code}] ${this.message}`}},z=class extends R{constructor(e,t,n,r){super(`Invalid values for "${e}": "${t}". Options are "${Object.keys(n).join(`", "`)}"`,L.INVALID_VALUE,r)}},ke=class extends R{constructor(e,t,n){super(`Value for "${e}" must be of type ${t}`,L.INVALID_VALUE,n)}},Ae=class extends R{constructor(e,t){super(`The intl string context variable "${e}" was not provided to the string "${t}"`,L.MISSING_VALUE,t)}},B=function(e){return e[e.literal=0]=`literal`,e[e.object=1]=`object`,e}({});function je(e){return e.length<2?e:e.reduce((e,t)=>{let n=e[e.length-1];return!n||n.type!==B.literal||t.type!==B.literal?e.push(t):n.value+=t.value,e},[])}function V(e){return typeof e==`function`}function H(e,t,n,r,i,a,o){if(e.length===1&&b(e[0]))return[{type:B.literal,value:e[0].value}];let s=[];for(let c of e){if(b(c)){s.push({type:B.literal,value:c.value});continue}if(pe(c)){typeof a==`number`&&s.push({type:B.literal,value:n.getNumberFormat(t).format(a)});continue}let{value:e}=c;if(!(i&&e in i))throw new Ae(e,o);let l=i[e];if(fe(c)){(!l||typeof l==`string`||typeof l==`number`||typeof l==`bigint`)&&(l=typeof l==`string`||typeof l==`number`||typeof l==`bigint`?String(l):``),s.push({type:typeof l==`string`?B.literal:B.object,value:l});continue}if(S(c)){let e=typeof c.style==`string`?r.date[c.style]:O(c.style)?c.style.parsedOptions:void 0;s.push({type:B.literal,value:n.getDateTimeFormat(t,e).format(l)});continue}if(C(c)){let e=typeof c.style==`string`?r.time[c.style]:O(c.style)?c.style.parsedOptions:r.time.medium;s.push({type:B.literal,value:n.getDateTimeFormat(t,e).format(l)});continue}if(x(c)){let e=typeof c.style==`string`?r.number[c.style]:D(c.style)?c.style.parsedOptions:void 0;if(e&&e.scale){let t=e.scale||1;if(typeof l==`bigint`){if(!Number.isInteger(t))throw TypeError(`Cannot apply fractional scale ${t} to bigint value. Scale must be an integer when formatting bigint.`);l*=BigInt(t)}else l*=t}s.push({type:B.literal,value:n.getNumberFormat(t,e).format(l)});continue}if(E(c)){let{children:e,value:l}=c,u=i[l];if(!V(u))throw new ke(l,`function`,o);let d=u(H(e,t,n,r,i,a).map(e=>e.value));Array.isArray(d)||(d=[d]),s.push(...d.map(e=>({type:typeof e==`string`?B.literal:B.object,value:e})))}if(w(c)){let e=l,a=(Object.prototype.hasOwnProperty.call(c.options,e)?c.options[e]:void 0)||c.options.other;if(!a)throw new z(c.value,l,Object.keys(c.options),o);s.push(...H(a.value,t,n,r,i));continue}if(T(c)){let e=`=${l}`,a=Object.prototype.hasOwnProperty.call(c.options,e)?c.options[e]:void 0;if(!a){if(!Intl.PluralRules)throw new R(`Intl.PluralRules is not available in this environment. 2Try polyfilling it using "@formatjs/intl-pluralrules" 3`,L.MISSING_INTL_API,o);let e=typeof l==`bigint`?Number(l):l,r=n.getPluralRules(t,{type:c.pluralType}).select(e-(c.offset||0));a=(Object.prototype.hasOwnProperty.call(c.options,r)?c.options[r]:void 0)||c.options.other}if(!a)throw new z(c.value,l,Object.keys(c.options),o);let u=typeof l==`bigint`?Number(l):l;s.push(...H(a.value,t,n,r,i,u-(c.offset||0)));continue}}return je(s)}function Me(e,t){return t?{...e,...t,...Object.keys(e).reduce((n,r)=>(n[r]={...e[r],...t[r]},n),{})}:e}function Ne(e,t){return t?Object.keys(e).reduce((n,r)=>(n[r]=Me(e[r],t[r]),n),{...e}):e}function U(e){return{create(){return{get(t){return e[t]},set(t,n){e[t]=n}}}}}function Pe(e={number:{},dateTime:{},pluralRules:{}}){return{getNumberFormat:i((...e)=>new Intl.NumberFormat(...e),{cache:U(e.number),strategy:f.variadic}),getDateTimeFormat:i((...e)=>new Intl.DateTimeFormat(...e),{cache:U(e.dateTime),strategy:f.variadic}),getPluralRules:i((...e)=>new Intl.PluralRules(...e),{cache:U(e.pluralRules),strategy:f.variadic})}}var W=class e{ast;locales;resolvedLocale;formatters;formats;message;formatterCache={number:{},dateTime:{},pluralRules:{}};constructor(t,n=e.defaultLocale,r,i){if(this.locales=n,this.resolvedLocale=e.resolveLocale(n),typeof t==`string`){if(this.message=t,!e.__parse)throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");let{...n}=i||{};this.ast=e.__parse(t,{...n,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=Ne(e.formats,r),this.formatters=i&&i.formatters||Pe(this.formatterCache)}format=e=>{let t=this.formatToParts(e);if(t.length===1)return t[0].value;let n=t.reduce((e,t)=>
3(!e.length||t.type!==B.literal||typeof e[e.length-1]!=`string`?e.push(t.value):e[e.length-1]+=t.value,e),[]);return n.length<=1?n[0]||``:n};formatToParts=e=>H(this.ast,this.locales,this.formatters,this.formats,e,void 0,this.message);resolvedOptions=()=>({locale:this.resolvedLocale?.toString()||Intl.NumberFormat.supportedLocalesOf(this.locales)[0]});getAst=()=>this.ast;static memoizedDefaultLocale=null;static get defaultLocale(){return e.memoizedDefaultLocale||=new Intl.NumberFormat().resolvedOptions().locale,e.memoizedDefaultLocale}static resolveLocale=e=>{if(Intl.Locale===void 0)return;let t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale(typeof e==`string`?e:e[0])};static __parse=Oe;static formats={number:{integer:{maximumFractionDigits:0},currency:{style:`currency`},percent:{style:`percent`}},date:{short:{month:`numeric`,day:`numeric`,year:`2-digit`},medium:{month:`short`,day:`numeric`,year:`numeric`},long:{month:`long`,day:`numeric`,year:`numeric`},full:{weekday:`long`,month:`long`,day:`numeric`,year:`numeric`}},time:{short:{hour:`numeric`,minute:`numeric`},medium:{hour:`numeric`,minute:`numeric`,second:`numeric`},long:{hour:`numeric`,minute:`numeric`,second:`numeric`,timeZoneName:`short`},full:{hour:`numeric`,minute:`numeric`,second:`numeric`,timeZoneName:`short`}}}},G=e(t()),Fe=e=>e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase(),Ie=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase()),Le=e=>{let t=Ie(e);return t.charAt(0).toUpperCase()+t.slice(1)},K=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),Re=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0},ze={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:2,strokeLinecap:`round`,strokeLinejoin:`round`},Be=(0,G.forwardRef)(({color:e=`currentColor`,size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:i=``,children:a,iconNode:o,...s},c)=>(0,G.createElement)(`svg`,{ref:c,...ze,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:K(`lucide`,i),...!a&&!Re(s)&&{"aria-hidden":`true`},...s},[...o.map(([e,t])=>(0,G.createElement)(e,t)),...Array.isArray(a)?a:[a]])),q=(e,t)=>{let n=(0,G.forwardRef)(({className:n,...r},i)=>(0,G.createElement)(Be,{ref:i,iconNode:t,className:K(`lucide-${Fe(Le(e))}`,`lucide-${e}`,n),...r}));return n.displayName=Le(e),n},Ve=q(`loader-circle`,[[`path`,{d:`M21 12a9 9 0 1 1-6.219-8.56`,key:`13zald`}]]),J=function(e){return e.FORMAT_ERROR=`FORMAT_ERROR`,e.UNSUPPORTED_FORMATTER=`UNSUPPORTED_FORMATTER`,e.INVALID_CONFIG=`INVALID_CONFIG`,e.MISSING_DATA=`MISSING_DATA`,e.MISSING_TRANSLATION=`MISSING_TRANSLATION`,e}({}),Y=class e extends Error{code;constructor(t,n,r){let i=r?r instanceof Error?r:Error(String(r)):void 0;super(`[@formatjs/intl Error ${t}] ${n} 4${i?`\n${i.message}\n${i.stack}`:``}`),this.code=t,typeof Error.captureStackTrace==`function`&&Error.captureStackTrace(this,e)}},He=class extends Y{constructor(e,t){super(J.UNSUPPORTED_FORMATTER,e,t)}},Ue=class extends Y{constructor(e,t){super(J.INVALID_CONFIG,e,t)}},We=class extends Y{constructor(e,t){super(J.MISSING_DATA,e,t)}},X=class extends Y{descriptor;locale;constructor(e,t,n){super(J.FORMAT_ERROR,`${e} 5Locale: ${t} 6`,n),this.locale=t}},Ge=class extends X{descriptor;locale;constructor(e,t,n,r){super(`${e} 7MessageID: ${n?.id} 8Default Message: ${n?.defaultMessage} 9Description: ${n?.description} 10`,t,r),this.descriptor=n,this.locale=t}},Ke=class extends Y{descriptor;constructor(e,t){super(J.MISSING_TRANSLATION,`Missing message: "${e.id}" for locale "${t}", using ${e.defaultMessage?`default message (${typeof e.defaultMessage==`string`?e.defaultMessage:e.defaultMessage.map(e=>e.value??JSON.stringify(e)).join()})`:`id`} as fallback.`),this.descriptor=e}};function qe(e,t,n=Error){if(!e)throw new n(t)}function Je(e,t,n={}){return t.reduce((t,r)=>(r in e?t[r]=e[r]:r in n&&(t[r]=n[r]),t),{})}var Ye={formats:{},messages:{},timeZone:void 0,defaultLocale:`en`,defaultFormats:{},fallbackOnEmptyString:!0,onError:e=>{},onWarn:e=>{}};function Xe(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function Z(e){return{create(){return{get(t){return e[t]},set(t,n){e[t]=n}}}}}function Ze(e=Xe()){let t=Intl.RelativeTimeFormat,n=Intl.ListFormat,r=Intl.DisplayNames,a=i((...e)=>new Intl.DateTimeFormat(...e),{cache:Z(e.dateTime),strategy:f.variadic}),o=i((...e)=>new Intl.NumberFormat(...e),{cache:Z(e.number),strategy:f.variadic}),s=i((...e)=>new Intl.PluralRules(...e),{cache:Z(e.pluralRules),strategy:f.variadic});return{getDateTimeFormat:a,getNumberFormat:o,getMessageFormat:i((e,t,n,r)=>new W(e,t,n,{formatters:{getNumberFormat:o,getDateTimeFormat:a,getPluralRules:s},...r}),{cache:Z(e.message),strategy:f.variadic}),getRelativeTimeFormat:i((...e)=>new t(...e),{cache:Z(e.relativeTime),strategy:f.variadic}),getPluralRules:s,getListFormat:i((...e)=>new n(...e),{cache:Z(e.list),strategy:f.variadic}),getDisplayNames:i((...e)=>new r(...e),{cache:Z(e.displayNames),strategy:f.variadic})}}function Qe(e,t,n,r){let i=e&&e[t],a;if(i&&(a=i[n]),a)return a;r(new He(`No ${t} format named: ${n}`))}var $e=n();function et(e,t,n=Error){if(!e)throw new n(t)}function tt(e){et(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var nt={...Ye,textComponent:G.Fragment},rt=e=>G.Children.toArray(e).map((e,t)=>G.isValidElement(e)?(0,$e.jsx)(G.Fragment,{children:e},t):e);function it(e){return function(t){return e(rt(t))}}function at(e,t){if(e===t)return!0;
10if(!e||!t)return!1;var n=Object.keys(e),r=Object.keys(t),i=n.length;if(r.length!==i)return!1;for(var a=0;a<i;a++){var o=n[a];if(e[o]!==t[o]||!Object.prototype.hasOwnProperty.call(t,o))return!1}return!0}e(r(),1).default;var ot=typeof window<`u`&&!window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__?window.__REACT_INTL_CONTEXT__||(window.__REACT_INTL_CONTEXT__=G.createContext(null)):G.createContext(null),{Consumer:st,Provider:ct}=ot,lt=ct,ut=ot;function Q(){let e=G.useContext(ut);return tt(e),e}var dt=function(e){return e.formatDate=`FormattedDate`,e.formatTime=`FormattedTime`,e.formatNumber=`FormattedNumber`,e.formatList=`FormattedList`,e.formatDisplayName=`FormattedDisplayName`,e}(dt||{}),ft=function(e){return e.formatDate=`FormattedDateParts`,e.formatTime=`FormattedTimeParts`,e.formatNumber=`FormattedNumberParts`,e.formatList=`FormattedListParts`,e}(ft||{}),pt=e=>{let t=Q(),{value:n,children:r,...i}=e;return r(t.formatNumberToParts(n,i))};pt.displayName=`FormattedNumberParts`,pt.displayName=`FormattedNumberParts`;function mt(e){let t=t=>{let n=Q(),{value:r,children:i,...a}=t,o=typeof r==`string`?new Date(r||0):r;return i(e===`formatDate`?n.formatDateToParts(o,a):n.formatTimeToParts(o,a))};return t.displayName=ft[e],t}function $(e){let t=t=>{let n=Q(),{value:r,children:i,...a}=t,o=n[e](r,a);return typeof i==`function`?i(o):(0,$e.jsx)(n.textComponent||G.Fragment,{children:o})};return t.displayName=dt[e],t}function ht(e){return e}$(`formatDate`),$(`formatTime`),$(`formatNumber`),$(`formatList`),$(`formatDisplayName`),mt(`formatDate`),mt(`formatTime`);export{V as C,v as E,W as S,R as T,Ge as _,it as a,Ve as b,rt as c,Xe as d,Je as f,Ue as g,X as h,nt as i,Ye as l,qe as m,Q as n,tt as o,Qe as p,lt as r,at as s,ht as t,Ze as u,We as v,L as w,q as x,Ke as y}; 11//# sourceMappingURL=react-intl-DUbUBmou.js.map
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.