PageSourceSearch

https://static.snapchat.com/sc-com/_next/static/chunks/1wm2ljmpghcob.js

js snapchat.com collected 2026-09-24 09:04:37 UTC 49,024 bytes, 25 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="b1ad1ba5-4674-61f2-2670-cde0e0348114")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,301005,373077,880131,e=>{"use strict";var t,r,i,n,s,o,a,h,l,u=e.i(271645);function c(e,t){let r=t&&t.cache?t.cache:E,i=t&&t.serializer?t.serializer:p;return(t&&t.strategy?t.strategy:function(e,t){var r,i;let n=1===e.length?m:f;return r=t.cache.create(),i=t.serializer,n.bind(this,e,r,i)})(e,{cache:r,serializer:i})}function m(e,t,r,i){let n=null==i||"number"==typeof i||"boolean"==typeof i?i:r(i),s=t.get(n);return void 0===s&&(s=e.call(this,i),t.set(n,s)),s}function f(e,t,r){let i=Array.prototype.slice.call(arguments,3),n=r(i),s=t.get(n);return void 0===s&&(s=e.apply(this,i),t.set(n,s)),s}e.i(247167);let p=function(){return JSON.stringify(arguments)};var g=class{constructor(){this.cache=Object.create(null)}get(e){return this.cache[e]}set(e,t){this.cache[e]=t}};let E={create:function(){return new g}},d={variadic:function(e,t){var r,i;return r=t.cache.create(),i=t.serializer,f.bind(this,e,r,i)},monadic:function(e,t){var r,i;return r=t.cache.create(),i=t.serializer,m.bind(this,e,r,i)}},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=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,y=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,H=/^(@+)?(\+|#+)?[rs]?$/g,B=/(\*)(0+)|(#+)(0+)|(0+)/g,A=/^(0+)$/;function _(e){let t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(H,function(e,r,i){return"string"!=typeof i?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):"+"===i?t.minimumSignificantDigits=r.length:"#"===r[0]?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+("string"==typeof i?i.length:0)),""}),t}function N(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 I(e){let t=N(e);return t||{}}let S=((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_NUMBER_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),L=((r={})[r.literal=0]="literal",r[r.argument=1]="argument",r[r.number=2]="number",r[r.date=3]="date",r[r.time=4]="time",r[r.select=5]="select",r[r.plural=6]="plural",r[r.pound=7]="pound",r[r.tag=8]="tag",r),P=((i={})[i.number=0]="number",i[i.dateTime=1]="dateTime",i);function R(e){return e.type===L.literal}function M(e){return e.type===L.number}function C(e){return e.type===L.date}function O(e){return e.type===L.time}function D(e){return e.type===L.select}function v(e){return e.type===L.plural}function F(e){return e.type===L.tag}function U(e){return!!(e&&"object"==typeof e&&e.type===P.number)}function G(e){return!!(e&&"object"==typeof e&&e.type===P.dateTime)}let w=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,k={"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
2:["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"]},x=RegExp(`^${w.source}*`),j=RegExp(`${w.source}*$`);function V(e,t){return{start:e,end:t}}let $=!!Object.fromEntries,X=!!String.prototype.trimStart,K=!!String.prototype.trimEnd,Z=$?Object.fromEntries:function(e){let t={};for(let[r,i]of e)t[r]=i;return t},Y=X?function(e){return e.trimStart()}:function(e){return e.replace(x,"")},W=K?function(e){return e.trimEnd()}:function(e){return e.replace(j,"")},z=RegExp("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");var q=class{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}parse(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)}parseMessage(e,t,r){let i=[];for(;!this.isEOF();){let n=this.char();if(123===n){let t=this.parseArgument(e,r);if(t.err)return t;i.push(t.val)}else if(125===n&&e>0)break;else if(35===n&&("plural"===t||"selectordinal"===t)){let e=this.clonePosition();this.bump(),i.push({type:L.pound,location:V(e,this.clonePosition())})}else if(60!==n||this.ignoreTag||47!==this.peek())if(60===n&&!this.ignoreTag&&J(this.peek()||0)){let r=this.parseTag(e,t);if(r.err)return r;i.push(r.val)}else{let r=this.parseLiteral(e,t);if(r.err)return r;i.push(r.val)}else if(!r)return this.error(S.UNMATCHED_CLOSING_TAG,V(this.clonePosition(),this.clonePosition()));else break}return{val:i,err:null}}parseTag(e,t){let r=this.clonePosition();this.bump();let i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:L.literal,value:`<${i}/>`,location:V(r,this.clonePosition())},err:null};if(!this.bumpIf(">"))return this.error(S.INVALID_TAG,V(r,this.clonePosition()));{let n=this.parseMessage(e+1,t,!0);if(n.err)return n;let s=n.val,o=this.clonePosition();if(!this.bumpIf("</"))return this.error(S.UNCLOSED_TAG,V(r,this.clonePosition()));{if(this.isEOF()||!J(this.char()))return this.error(S.INVALID_TAG,V(o,this.clonePosition()));let e=this.clonePosition();return i!==this.parseTagName()?this.error(S.UNMATCHED_CLOSING_TAG,V(e,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">"))?{val:{type:L.tag,value:i,children:s,location:V(r,this.clonePosition())},err:null}:this.error(S.INVALID_TAG,V(o,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(),i="";for(;;){let r=this.tryParseQuote(t);if(r){i+=r;
2continue}let n=this.tryParseUnquoted(e,t);if(n){i+=n;continue}let s=this.tryParseLeftAngleBracket();if(s){i+=s;continue}break}let n=V(r,this.clonePosition());return{val:{type:L.literal,value:i,location:n},err:null}}tryParseLeftAngleBracket(){var e;return this.isEOF()||60!==this.char()||!this.ignoreTag&&(J(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(S.EXPECT_ARGUMENT_CLOSING_BRACE,V(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(S.EMPTY_ARGUMENT,V(r,this.clonePosition()));let i=this.parseIdentifierIfPossible().value;if(!i)return this.error(S.MALFORMED_ARGUMENT,V(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE,V(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:L.argument,value:i,location:V(r,this.clonePosition())},err:null};case 44:if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE,V(r,this.clonePosition()));return this.parseArgumentOptions(e,t,i,r);default:return this.error(S.MALFORMED_ARGUMENT,V(r,this.clonePosition()))}}parseIdentifierIfPossible(){var e;let t=this.clonePosition(),r=this.offset(),i=(e=this.message,z.lastIndex=r,z.exec(e)[1]??""),n=r+i.length;return this.bumpTo(n),{value:i,location:V(t,this.clonePosition())}}parseArgumentOptions(e,t,r,i){let n=this.clonePosition(),s=this.parseIdentifierIfPossible().value,o=this.clonePosition();switch(s){case"":return this.error(S.EXPECT_ARGUMENT_TYPE,V(n,o));case"number":case"date":case"time":{this.bumpSpace();let e=null;if(this.bumpIf(",")){this.bumpSpace();let t=this.clonePosition(),r=this.parseSimpleArgStyleIfPossible();if(r.err)return r;let i=W(r.val);if(0===i.length)return this.error(S.EXPECT_ARGUMENT_STYLE,V(this.clonePosition(),this.clonePosition()));e={style:i,styleLocation:V(t,this.clonePosition())}}let t=this.tryParseArgumentClose(i);if(t.err)return t;let n=V(i,this.clonePosition());if(e&&e.style.startsWith("::")){let t=Y(e.style.slice(2));if("number"===s){let i=this.parseNumberSkeletonFromString(t,e.styleLocation);if(i.err)return i;return{val:{type:L.number,value:r,location:n,style:i.val},err:null}}{let i;if(0===t.length)return this.error(S.EXPECT_DATE_TIME_SKELETON,n);let o=t;this.locale&&(o=function(e,t){let r="";for(let i=0;i<e.length;i++){let n=e.charAt(i);if("j"===n){let s=0;for(;i+1<e.length&&e.charAt(i+1)===n;)s++,i++;let o=1+(1&s),a=s<2?1:3+(s>>1),h=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 i=e.language;return"root"!==i&&(t=e.maximize().region),(k[t||""]||k[i||""]||k[`${i}-001`]||k["001"])[0]}(t);for(("H"==h||"k"==h)&&(a=0);a-- >0;)r+="a";for(;o-- >0;)r=h+r}else"J"===n?r+="H":r+=n}return r}(t,this.locale));let a={type:P.dateTime,pattern:o,location:e.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},o.replace(b,e=>{let t=e.length;switch(e[0]){case"G":i.era=4===t?"long":5===t?"narrow":"short";break;case"y":i.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":i.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":i.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":i.weekday=4===t?"long":5===t?"narrow":"short";break;case"e":if(t<4)throw RangeError("`e..eee` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw RangeError("`c..ccc` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"a":i.hour12=!0;break;case"b":case"B":throw RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":i.hourCycle="h12",i.hour=["numeric","2-digit"][t-1];break;case"H":i.hourCycle="h23",i.hour=["numeric","2-digit"][t-1];break;case"K":i.hourCycle="h11",i.hour=["numeric","2-digit"][t-1];break;case"k":i.hourCycle="h24",i.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":i.minute=["numeric","2-digit"][t-1];break;case"s":i.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":i.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""}),i):{}};return{val:{type:"date"===s?L.date:L.time,value:r,location:n,style:a},err:null}}}return{val:{type:"number"===s?L.number:"date"===s?L.date:L.time,value:r,location:n,style:e?.style??null},err:null}}
2case"plural":case"selectordinal":case"select":{let n=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS,V(n,{...n}));this.bumpSpace();let o=this.parseIdentifierIfPossible(),a=0;if("select"!==s&&"offset"===o.value){if(!this.bumpIf(":"))return this.error(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,V(this.clonePosition(),this.clonePosition()));this.bumpSpace();let e=this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,S.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(e.err)return e;this.bumpSpace(),o=this.parseIdentifierIfPossible(),a=e.val}let h=this.tryParsePluralOrSelectOptions(e,s,t,o);if(h.err)return h;let l=this.tryParseArgumentClose(i);if(l.err)return l;let u=V(i,this.clonePosition());if("select"===s)return{val:{type:L.select,value:r,options:Z(h.val),location:u},err:null};return{val:{type:L.plural,value:r,options:Z(h.val),offset:a,pluralType:"plural"===s?"cardinal":"ordinal",location:u},err:null}}default:return this.error(S.INVALID_ARGUMENT_TYPE,V(n,o))}}tryParseArgumentClose(e){return this.isEOF()||125!==this.char()?this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE,V(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(S.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,V(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(T).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[i,...n]=t;for(let e of n)if(0===e.length)throw Error("Invalid number skeleton");r.push({stem:i,options:n})}return r}(e)}catch{return this.error(S.INVALID_NUMBER_SKELETON,t)}return{val:{type:P.number,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,...I(t)}),{})};continue;case"engineering":t={...t,notation:"engineering",...r.options.reduce((e,t)=>({...e,...I(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(B,function(e,r,i,n,s,o){if(r)t.minimumIntegerDigits=i.length;else if(n&&s)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(A.test(r.stem)){t.minimumIntegerDigits=r.stem.length;continue}if(y.test(r.stem)){if(r.options.length>1)throw RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(y,function(e,r,i,n,s,o){return"*"===i?t.minimumFractionDigits=r.length:n&&"#"===n[0]?t.maximumFractionDigits=n.length:s&&o?(t.minimumFractionDigits=s.length,t.maximumFractionDigits=s.length+o.length):(t.minimumFractionDigits=r.length,t.maximumFractionDigits=r.length),""});let e=r.options[0];
2"w"===e?t={...t,trailingZeroDisplay:"stripIfInteger"}:e&&(t={...t,..._(e)});continue}if(H.test(r.stem)){t={...t,..._(r.stem)};continue}let e=N(r.stem);e&&(t={...t,...e});let i=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)),!A.test(e))throw Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(r.stem);i&&(t={...t,...i})}return t}(r):{}},err:null}}tryParsePluralOrSelectOptions(e,t,r,i){let n=!1,s=[],o=new Set,{value:a,location:h}=i;for(;;){if(0===a.length){let e=this.clonePosition();if("select"!==t&&this.bumpIf("=")){let t=this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_SELECTOR,S.INVALID_PLURAL_ARGUMENT_SELECTOR);if(t.err)return t;h=V(e,this.clonePosition()),a=this.message.slice(e.offset,this.offset())}else break}if(o.has(a))return this.error("select"===t?S.DUPLICATE_SELECT_ARGUMENT_SELECTOR:S.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);"other"===a&&(n=!0),this.bumpSpace();let i=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?S.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:S.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,V(this.clonePosition(),this.clonePosition()));let l=this.parseMessage(e+1,t,r);if(l.err)return l;let u=this.tryParseArgumentClose(i);if(u.err)return u;s.push([a,{value:l.val,location:V(i,this.clonePosition())}]),o.add(a),this.bumpSpace(),{value:a,location:h}=this.parseIdentifierIfPossible()}return 0===s.length?this.error("select"===t?S.EXPECT_SELECT_ARGUMENT_SELECTOR:S.EXPECT_PLURAL_ARGUMENT_SELECTOR,V(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!n?this.error(S.MISSING_OTHER_CLAUSE,V(this.clonePosition(),this.clonePosition())):{val:s,err:null}}tryParseDecimalInteger(e,t){let r=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);let n=!1,s=0;for(;!this.isEOF();){let e=this.char();if(e>=48&&e<=57)n=!0,s=10*s+(e-48),this.bump();else break}let o=V(i,this.clonePosition());return n?Number.isSafeInteger(s*=r)?{val:s,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(void 0===t)throw Error(`Offset ${e} is at invalid UTF-16 code unit boundary`);return t}error(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}}bump(){if(this.isEOF())return;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 ${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(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(){if(this.isEOF())return null;let e=this.char(),t=this.offset();return this.message.charCodeAt(t+(e>=65536?2:1))??null}};function J(e){return e>=97&&e<=122||e>=65&&e<=90}function Q(e,t={}){let r=new q(e,t={shouldParseSkeletons:!0,requiresOtherClause:!0,...t}).parse();if(r.err){let e=SyntaxError(S[r.err.kind]);throw e.location=r.err.location,e.originalMessage=r.err.message,e}return t?.captureLocation||function e(t){t.forEach(t=>{if(delete t.location,D(t)||v(t))for(let r in t.options)delete t.options[r].location,e(t.options[r].value);
2else M(t)&&U(t.style)||(C(t)||O(t))&&G(t.style)?delete t.style.location:F(t)&&e(t.children)})}(r.val),r.val}let ee=((n={}).MISSING_VALUE="MISSING_VALUE",n.INVALID_VALUE="INVALID_VALUE",n.MISSING_INTL_API="MISSING_INTL_API",n);var et=class extends Error{constructor(e,t,r){super(e),this.code=t,this.originalMessage=r}toString(){return`[formatjs Error: ${this.code}] ${this.message}`}},er=class extends et{constructor(e,t,r,i){super(`Invalid values for "${e}": "${t}". Options are "${Object.keys(r).join('", "')}"`,ee.INVALID_VALUE,i)}},ei=class extends et{constructor(e,t,r){super(`Value for "${e}" must be of type ${t}`,ee.INVALID_VALUE,r)}},en=class extends et{constructor(e,t){super(`The intl string context variable "${e}" was not provided to the string "${t}"`,ee.MISSING_VALUE,t)}};let es=((s={})[s.literal=0]="literal",s[s.object=1]="object",s);function eo(e){return"function"==typeof e}function ea(e){return{create:()=>({get:t=>e[t],set(t,r){e[t]=r}})}}var eh=class e{constructor(t,r=e.defaultLocale,i,n){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&&t.type===es.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e),[]);return r.length<=1?r[0]||"":r},this.formatToParts=e=>(function e(t,r,i,n,s,o,a){if(1===t.length&&R(t[0]))return[{type:es.literal,value:t[0].value}];let h=[];for(let l of t){if(R(l)){h.push({type:es.literal,value:l.value});continue}if(l.type===L.pound){"number"==typeof o&&h.push({type:es.literal,value:i.getNumberFormat(r).format(o)});continue}let{value:t}=l;if(!(s&&t in s))throw new en(t,a);let u=s[t];if(l.type===L.argument){u&&"string"!=typeof u&&"number"!=typeof u&&"bigint"!=typeof u||(u="string"==typeof u||"number"==typeof u||"bigint"==typeof u?String(u):""),h.push({type:"string"==typeof u?es.literal:es.object,value:u});continue}if(C(l)){let e="string"==typeof l.style?n.date[l.style]:G(l.style)?l.style.parsedOptions:void 0;h.push({type:es.literal,value:i.getDateTimeFormat(r,e).format(u)});continue}if(O(l)){let e="string"==typeof l.style?n.time[l.style]:G(l.style)?l.style.parsedOptions:n.time.medium;h.push({type:es.literal,value:i.getDateTimeFormat(r,e).format(u)});continue}if(M(l)){let e="string"==typeof l.style?n.number[l.style]:U(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 ${t} to bigint value. Scale must be an integer when formatting bigint.`);u*=BigInt(t)}else u*=t}h.push({type:es.literal,value:i.getNumberFormat(r,e).format(u)});continue}if(F(l)){let{children:t,value:u}=l,c=s[u];if(!eo(c))throw new ei(u,"function",a);let m=c(e(t,r,i,n,s,o).map(e=>e.value));Array.isArray(m)||(m=[m]),h.push(...m.map(e=>({type:"string"==typeof e?es.literal:es.object,value:e})))}if(D(l)){let t=u,o=(Object.prototype.hasOwnProperty.call(l.options,t)?l.options[t]:void 0)||l.options.other;if(!o)throw new er(l.value,u,Object.keys(l.options),a);h.push(...e(o.value,r,i,n,s));continue}if(v(l)){let t=`=${u}`,o=Object.prototype.hasOwnProperty.call(l.options,t)?l.options[t]:void 0;if(!o){if(!Intl.PluralRules)throw new et(`Intl.PluralRules is not available in this environment.
3Try polyfilling it using "@formatjs/intl-pluralrules"
4`,ee.MISSING_INTL_API,a);let e="bigint"==typeof u?Number(u):u,t=i.getPluralRules(r,{type:l.pluralType}).select(e-(l.offset||0));o=(Object.prototype.hasOwnProperty.call(l.options,t)?l.options[t]:void 0)||l.options.other}if(!o)throw new er(l.value,u,Object.keys(l.options),a);let c="bigint"==typeof u?Number(u):u;h.push(...e(o.value,r,i,n,s,c-(l.offset||0)));continue}}return h.length<2?h:h.reduce((e,t)=>{let r=e[e.length-1];return r&&r.type===es.literal&&t.type===es.literal?r.value+=t.value:e.push(t),e},[])})(this.ast,this.locales,this.formatters,this.formats,e,void 0,this.message),this.resolvedOptions=()=>({locale:this.resolvedLocale?.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`");const{...r}=n||{};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,i)=>{var n,s;return r[i]=(n=e[i],(s=t[i])?{...n,...s,...Object.keys(n).reduce((e,t)=>
4(e[t]={...n[t],...s[t]},e),{})}:n),r},{...e}):e}(e.formats,i),this.formatters=n&&n.formatters||function(e={number:{},dateTime:{},pluralRules:{}}){return{getNumberFormat:c((...e)=>new Intl.NumberFormat(...e),{cache:ea(e.number),strategy:d.variadic}),getDateTimeFormat:c((...e)=>new Intl.DateTimeFormat(...e),{cache:ea(e.dateTime),strategy:d.variadic}),getPluralRules:c((...e)=>new Intl.PluralRules(...e),{cache:ea(e.pluralRules),strategy:d.variadic})}}(this.formatterCache)}static{this.memoizedDefaultLocale=null}static get defaultLocale(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale}static{this.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])}}static{this.__parse=Q}static{this.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}}}};e.s(["ErrorCode",0,ee,"FormatError",0,et,"IntlMessageFormat",0,eh,"isFormatXMLElementFn",0,eo],373077);let el=((o={})[o.literal=0]="literal",o[o.argument=1]="argument",o[o.number=2]="number",o[o.date=3]="date",o[o.time=4]="time",o[o.select=5]="select",o[o.plural=6]="plural",o[o.pound=7]="pound",o[o.tag=8]="tag",o),eu=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/;RegExp(`^${eu.source}*`),RegExp(`${eu.source}*$`);String.prototype.trimStart,String.prototype.trimEnd;let ec=((a={}).FORMAT_ERROR="FORMAT_ERROR",a.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",a.INVALID_CONFIG="INVALID_CONFIG",a.MISSING_DATA="MISSING_DATA",a.MISSING_TRANSLATION="MISSING_TRANSLATION",a);var em=class e extends Error{constructor(t,r,i){const n=i?i instanceof Error?i:Error(String(i)):void 0;super(`[@formatjs/intl Error ${t}] ${r}
5${n?`
6${n.message}
7${n.stack}`:""}`),this.code=t,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,e)}},ef=class extends em{constructor(e,t){super(ec.UNSUPPORTED_FORMATTER,e,t)}},ep=class extends em{constructor(e,t){super(ec.INVALID_CONFIG,e,t)}},eg=class extends em{constructor(e,t){super(ec.MISSING_DATA,e,t)}},eE=class extends em{constructor(e,t,r){super(ec.FORMAT_ERROR,`${e}
8Locale: ${t}
9`,r),this.locale=t}}
9,ed=class extends eE{constructor(e,t,r,i){super(`${e}
10MessageID: ${r?.id}
11Default Message: ${r?.defaultMessage}
12Description: ${r?.description}
13`,t,i),this.descriptor=r,this.locale=t}},eb=class extends em{constructor(e,t){super(ec.MISSING_TRANSLATION,`Missing message: "${e.id}" for locale "${t}", using ${e.defaultMessage?`default message (${"string"==typeof e.defaultMessage?e.defaultMessage:e.defaultMessage.map(e=>e.value??JSON.stringify(e)).join()})`:"id"} as fallback.`),this.descriptor=e}};function eT(e,t,r={}){return t.reduce((t,i)=>(i in e?t[i]=e[i]:i in r&&(t[i]=r[i]),t),{})}let ey={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:e=>{},onWarn:e=>{}};function eH(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function eB(e){return{create:()=>({get:t=>e[t],set(t,r){e[t]=r}})}}function eA(e,t,r,i){let n,s=e&&e[t];if(s&&(n=s[r]),n)return n;i(new ef(`No ${t} format named: ${r}`))}function e_(e,t){return Object.keys(e).reduce((r,i)=>(r[i]={timeZone:t,...e[i]},r),{})}function eN(e,t){return Object.keys({...e,...t}).reduce((r,i)=>(r[i]={...e[i],...t[i]},r),{})}function eI(e,t){if(!t)return e;let r=eh.formats;return{...r,...e,date:eN(e_(r.date,t),e_(e.date||{},t)),time:eN(e_(r.time,t),e_(e.time||{},t))}}let eS=({locale:e,formats:t,messages:r,defaultLocale:i,defaultFormats:n,fallbackOnEmptyString:s,onError:o,timeZone:a,defaultRichTextElements:h},l,u={id:""},c,m)=>{let{id:f,defaultMessage:p}=u;!function(e,t,r=Error){if(!e)throw new r(t)}(!!f,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.github.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.github.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.github.io/docs/tooling/linter#enforce-id)\nto autofix this issue");let g=String(f),E=r&&Object.prototype.hasOwnProperty.call(r,g)&&r[g];if(Array.isArray(E)&&1===E.length&&E[0].type===el.literal)return E[0].value;if(c={...h,...c},t=eI(t,a),n=eI(n,a),!E){if(!1===s&&""===E)return E;if((!p||e&&e.toLowerCase()!==i.toLowerCase())&&o(new eb(u,e)),p)try{return l.getMessageFormat(p,i,n,m).format(c)}catch(t){return o(new ed(`Error formatting default message for: "${g}", rendering default message verbatim`,e,u,t)),"string"==typeof p?p:g}return g}try{return l.getMessageFormat(E,e,t,{formatters:l,...m}).format(c)}catch(t){o(new ed(`Error formatting message: "${g}", using ${p?"default message":"id"} as fallback.`,e,u,t))}if(p)try{return l.getMessageFormat(p,i,n,m).format(c)}catch(t){o(new ed(`Error formatting the default message for: "${g}", rendering message verbatim`,e,u,t))}return"string"==typeof E?E:"string"==typeof p?p:g},eL=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function eP({locale:e,formats:t,onError:r,timeZone:i},n,s,o={}){let{format:a}=o,h=eT(o,eL,{...i&&{timeZone:i},...a&&eA(t,n,a,r)});return"time"!==n||h.hour||h.minute||h.second||h.timeStyle||h.dateStyle||(h={...h,hour:"numeric",minute:"numeric"}),s(e,h)}function eR(e,t,r,i={}){let n="string"==typeof r?new Date(r||0):r;try{return eP(e,"date",t,i).format(n)}catch(t){e.onError(new eE("Error formatting date.",e.locale,t))}return String(n)}function eM(e,t,r,i={}){let n="string"==typeof r?new Date(r||0):r;try{return eP(e,"time",t,i).format(n)}catch(t){e.onError(new eE("Error formatting time.",e.locale,t))}return String(n)}function eC(e,t,r,i,n={}){let s="string"==typeof r?new Date(r||0):r,o="string"==typeof i?new Date(i||0):i;try{return eP(e,"dateTimeRange",t,n).formatRange(s,o)}catch(t){e.onError(new eE("Error formatting date time range.",e.locale,t))}return String(s)}function eO(e,t,r,i={}){let n="string"==typeof r?new Date(r||0):r;try{return eP(e,"date",t,i).formatToParts(n)}catch(t){e.onError(new eE("Error formatting date.",e.locale,t))}return[]}function eD(e,t,r,i={}){let n="string"==typeof r?new Date(r||0):r;try{return eP(e,"time",t,i).formatToParts(n)}catch(t){e.onError(new eE("Error formatting time.",e.locale,t))}return[]}let ev=["style","type","fallback","languageDisplay"];function eF({locale:e,onError:t},r,i,n){Intl.DisplayNames||t(new et(`Intl.DisplayNames is not available in this environment.
14Try polyfilling it using "@formatjs/intl-displaynames"
15`,ee.MISSING_INTL_API));let s=eT(n,ev);try{return r(e,s).of(i)}catch(r){t(new eE("Error formatting display name.",e,r))}}let eU=["type","style"],eG=Date.now();function ew(e,t,r,i={}){let n=ek(e,t,r,i).reduce((e,t)=>
15{let r=t.value;return"string"!=typeof r?e.push(r):"string"==typeof e[e.length-1]?e[e.length-1]+=r:e.push(r),e},[]);return 1===n.length?n[0]:0===n.length?"":n}function ek({locale:e,onError:t},r,i,n={}){Intl.ListFormat||t(new et(`Intl.ListFormat is not available in this environment.
16Try polyfilling it using "@formatjs/intl-listformat"
17`,ee.MISSING_INTL_API));let s=eT(n,eU);try{let t={},n=Array.from(i).map((e,r)=>{if("object"==typeof e&&null!==e){let i=`${eG}_${r}_${eG}`;return t[i]=e,i}return String(e)});return r(e,s).formatToParts(n).map(e=>"literal"===e.type?e:{...e,value:t[e.value]||e.value})}catch(r){t(new eE("Error formatting list.",e,r))}return i}let ex=["type"];function ej({locale:e,onError:t},r,i,n={}){Intl.PluralRules||t(new et(`Intl.PluralRules is not available in this environment.
18Try polyfilling it using "@formatjs/intl-pluralrules"
19`,ee.MISSING_INTL_API));let s=eT(n,ex);try{return r(e,s).select(i)}catch(r){t(new eE("Error formatting plural.",e,r))}return"other"}let eV=["numeric","style"];function e$(e,t,r,i,n={}){i||(i="second"),Intl.RelativeTimeFormat||e.onError(new et(`Intl.RelativeTimeFormat is not available in this environment.
20Try polyfilling it using "@formatjs/intl-relativetimeformat"
21`,ee.MISSING_INTL_API));try{return(function({locale:e,formats:t,onError:r},i,n={}){let{format:s}=n;return i(e,eT(n,eV,!!s&&eA(t,"relative",s,r)||{}))})(e,t,n).format(r,i)}catch(t){e.onError(new eE("Error formatting relative time.",e.locale,t))}return String(r)}let eX=["style","currency","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem","trailingZeroDisplay","roundingPriority","roundingIncrement","roundingMode"];function eK({locale:e,formats:t,onError:r},i,n={}){let{format:s}=n;return i(e,eT(n,eX,s&&eA(t,"number",s,r)||{}))}function eZ(e,t,r,i={}){try{return eK(e,t,i).format(r)}catch(t){e.onError(new eE("Error formatting number.",e.locale,t))}return String(r)}function eY(e,t,r,i={}){try{return eK(e,t,i).formatToParts(r)}catch(t){e.onError(new eE("Error formatting number.",e.locale,t))}return[]}function eW(e,t){var r;let i=function(e=eH()){let t=Intl.RelativeTimeFormat,r=Intl.ListFormat,i=Intl.DisplayNames,n=c((...e)=>new Intl.DateTimeFormat(...e),{cache:eB(e.dateTime),strategy:d.variadic}),s=c((...e)=>new Intl.NumberFormat(...e),{cache:eB(e.number),strategy:d.variadic}),o=c((...e)=>new Intl.PluralRules(...e),{cache:eB(e.pluralRules),strategy:d.variadic});return{getDateTimeFormat:n,getNumberFormat:s,getMessageFormat:c((e,t,r,i)=>new eh(e,t,r,{formatters:{getNumberFormat:s,getDateTimeFormat:n,getPluralRules:o},...i}),{cache:eB(e.message),strategy:d.variadic}),getRelativeTimeFormat:c((...e)=>new t(...e),{cache:eB(e.relativeTime),strategy:d.variadic}),getPluralRules:o,getListFormat:c((...e)=>new r(...e),{cache:eB(e.list),strategy:d.variadic}),getDisplayNames:c((...e)=>new i(...e),{cache:eB(e.displayNames),strategy:d.variadic})}}(t),n={...ey,...e},{locale:s,defaultLocale:o,onError:a}=n;return s?!Intl.NumberFormat.supportedLocalesOf(s).length&&a?a(new eg(`Missing locale data for locale: "${s}" in Intl.NumberFormat. Using default locale: "${o}" as fallback. See https://formatjs.github.io/docs/react-intl#runtime-requirements for more details`)):!Intl.DateTimeFormat.supportedLocalesOf(s).length&&a&&a(new eg(`Missing locale data for locale: "${s}" in Intl.DateTimeFormat. Using default locale: "${o}" as fallback. See https://formatjs.github.io/docs/react-intl#runtime-requirements for more details`)):(a&&a(new ep(`"locale" was not configured, using "${o}" as fallback. See https://formatjs.github.io/docs/react-intl/api#intlshape for more details`)),n.locale=n.defaultLocale||"en"),n.onWarn&&n.defaultRichTextElements&&"string"==typeof(r=n.messages||{})[Object.keys(r)[0]]&&n.onWarn(`[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled. 
22Please consider using "@formatjs/cli" to pre-compile your messages for performance.
23For more details see https://formatjs.github.io/docs/getting-started/message-distribution`),{...n,formatters:i,formatNumber:eZ.bind(null,n,i.getNumberFormat),formatNumberToParts:eY.bind(null,n,i.getNumberFormat),formatRelativeTime:e$.bind(null,n,i.getRelativeTimeFormat),formatDate:eR.bind(null,n,i.getDateTimeFormat),formatDateToParts:eO.bind(null,n,i.getDateTimeFormat),formatTime:eM.bind(null,n,i.getDateTimeFormat),formatDateTimeRange:eC.bind(null,n,i.getDateTimeFormat),formatTimeToParts:eD.bind(null,n,i.getDateTimeFormat),formatPlural
23:ej.bind(null,n,i.getPluralRules),formatMessage:eS.bind(null,n,i),$t:eS.bind(null,n,i),formatList:ew.bind(null,n,i.getListFormat),formatListToParts:ek.bind(null,n,i.getListFormat),formatDisplayName:eF.bind(null,n,i.getDisplayNames)}}e.s(["DEFAULT_INTL_CONFIG",0,ey,"IntlError",0,em,"IntlErrorCode",0,ec,"InvalidConfigError",0,ep,"MessageFormatError",0,ed,"MissingDataError",0,eg,"MissingTranslationError",0,eb,"UnsupportedFormatterError",0,ef,"createIntl",0,eW,"createIntlCache",0,eH,"formatMessage",0,eS],880131);var ez=e.i(843476);function eq(e){!function(e,t,r=Error){if(!e)throw new r(t)}(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}let eJ={...ey,textComponent:u.Fragment},eQ=e=>u.Children.toArray(e).map((e,t)=>u.isValidElement(e)?(0,ez.jsx)(u.Fragment,{children:e},t):e);function e0(e,t){if(e===t)return!0;if(!e||!t)return!1;var r=Object.keys(e),i=Object.keys(t),n=r.length;if(i.length!==n)return!1;for(var s=0;s<n;s++){var o=r[s];if(e[o]!==t[o]||!Object.prototype.hasOwnProperty.call(t,o))return!1}return!0}let e1=u.createContext(null),e2=e1.Provider;function e5(){let e=u.useContext(e1);return eq(e),e}var e3=((h=e3||{}).formatDate="FormattedDate",h.formatTime="FormattedTime",h.formatNumber="FormattedNumber",h.formatList="FormattedList",h.formatDisplayName="FormattedDisplayName",h),e4=((l=e4||{}).formatDate="FormattedDateParts",l.formatTime="FormattedTimeParts",l.formatNumber="FormattedNumberParts",l.formatList="FormattedListParts",l);let e6=e=>{let t=e5(),{value:r,children:i,...n}=e;return i(t.formatNumberToParts(r,n))};function e8(e){let t=t=>{let r=e5(),{value:i,children:n,...s}=t,o="string"==typeof i?new Date(i||0):i;return n("formatDate"===e?r.formatDateToParts(o,s):r.formatTimeToParts(o,s))};return t.displayName=e4[e],t}function e9(e){let t=t=>{let r=e5(),{value:i,children:n,...s}=t,o=r[e](i,s);return"function"==typeof n?n(o):(0,ez.jsx)(r.textComponent||u.Fragment,{children:o})};return t.displayName=e3[e],t}function e7(e){return e?Object.keys(e).reduce((t,r)=>{let i=e[r];return t[r]=eo(i)?function(e){return i(eQ(e))}:i,t},{}):e}e6.displayName="FormattedNumberParts",e6.displayName="FormattedNumberParts";let te=(e,t,r,i,...n)=>{let s=eS(e,t,r,e7(i),...n);return Array.isArray(s)?eQ(s):s};function tt(e){let{formatMessage:t,textComponent:r=u.Fragment}=e5(),{id:i,description:n,defaultMessage:s,values:o,children:a,tagName:h=r,ignoreTag:l}=e,c=t({id:i,description:n,defaultMessage:s},o,{ignoreTag:l});return"function"==typeof a?a(Array.isArray(c)?c:[c]):h?(0,ez.jsx)(h,{children:c}):(0,ez.jsx)(ez.Fragment,{children:c})}tt.displayName="FormattedMessage";let tr=u.memo(tt,function(e,t){let{values:r,...i}=e,{values:n,...s}=t;return e0(n,r)&&e0(i,s)});function ti(e){var t;let r=u.useRef(eH()),i=u.useRef(void 0),n=u.useRef(void 0),s={};for(let t in e)void 0!==e[t]&&(s[t]=e[t]);let o={locale:(t={...eJ,...s}).locale,timeZone:t.timeZone,fallbackOnEmptyString:t.fallbackOnEmptyString,formats:t.formats,textComponent:t.textComponent,messages:t.messages,defaultLocale:t.defaultLocale,defaultFormats:t.defaultFormats,onError:t.onError,onWarn:t.onWarn,wrapRichTextChunksInFragment:t.wrapRichTextChunksInFragment,defaultRichTextElements:t.defaultRichTextElements};return i.current&&e0(i.current,o)||(i.current=o,n.current=(({defaultRichTextElements:e,...t},r)=>{let i=e7(e),n=eW({...eJ,...t,defaultRichTextElements:i},r),s={locale:n.locale,timeZone:n.timeZone,fallbackOnEmptyString:n.fallbackOnEmptyString,formats:n.formats,defaultLocale:n.defaultLocale,defaultFormats:n.defaultFormats,messages:n.messages,onError:n.onError,defaultRichTextElements:i};return{...n,formatMessage:te.bind(null,s,n.formatters),$t:te.bind(null,s,n.formatters)}})(o,r.current)),eq(n.current),(0,ez.jsx)(e2,{value:n.current,children:e.children})}tr.displayName="MemoizedFormattedMessage",ti.displayName="IntlProvider";let tn=e9("formatDate");e9("formatTime"),e9("formatNumber"),e9("formatList"),e9("formatDisplayName"),e8("formatDate"),e8("formatTime"),e.s(["FormattedDate",0,tn,"FormattedMessage",0,tr,"IntlProvider",0,ti,"defineMessage",0,function(e){return e},"defineMessages",0,function(e){return e},"useIntl",0,e5],301005)}]);
24
25//# debugId=b1ad1ba5-4674-61f2-2670-cde0e0348114

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.