PageSourceSearch

https://aiden.id/_next/static/chunks/999-ed1569fb93300eb1.js

js aiden.id collected 2026-10-09 22:41:56 UTC 129,360 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[999],{2605:function(e,t,n){n.d(t,{Ry:function(){return s}});var r=new WeakMap,o=new WeakMap,i={},a=0,l=function(e){return e&&(e.host||l(e.parentNode))},u=function(e,t,n,u){var s=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=l(e);return n&&t.contains(n)?n:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});i[n]||(i[n]=new WeakMap);var c=i[n],f=[],h=new Set,d=new Set(s),p=function(e){!e||h.has(e)||(h.add(e),p(e.parentNode))};s.forEach(p);var m=function(e){!e||d.has(e)||Array.prototype.forEach.call(e.children,function(e){if(h.has(e))m(e);else try{var t=e.getAttribute(u),i=null!==t&&"false"!==t,a=(r.get(e)||0)+1,l=(c.get(e)||0)+1;r.set(e,a),c.set(e,l),f.push(e),1===a&&i&&o.set(e,!0),1===l&&e.setAttribute(n,"true"),i||e.setAttribute(u,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return m(t),h.clear(),a++,function(){f.forEach(function(e){var t=r.get(e)-1,i=c.get(e)-1;r.set(e,t),c.set(e,i),t||(o.has(e)||e.removeAttribute(u),o.delete(e)),i||e.removeAttribute(n)}),--a||(r=new WeakMap,r=new WeakMap,o=new WeakMap,i={})}},s=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||("undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),u(r,o,n,"aria-hidden")):function(){return null}}},63095:function(e,t,n){n.r(t),n.d(t,{ErrorCode:function(){return d},FormatError:function(){return ed},IntlMessageFormat:function(){return ey},InvalidValueError:function(){return ep},InvalidValueTypeError:function(){return em},MissingValueError:function(){return ev},PART_TYPE:function(){return p},default:function(){return ew},formatToParts:function(){return eE},isFormatXMLElementFn:function(){return eg}});var r,o,i,a,l,u,s,c,f,h,d,p,m=n(14637);function v(e){return e.type===s.literal}function g(e){return e.type===s.number}function E(e){return e.type===s.date}function b(e){return e.type===s.time}function y(e){return e.type===s.select}function w(e){return e.type===s.plural}function T(e){return e.type===s.tag}function _(e){return!!(e&&"object"==typeof e&&e.type===c.number)}function M(e){return!!(e&&"object"==typeof e&&e.type===c.dateTime)}(r=u||(u={}))[r.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",r[r.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",r[r.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",r[r.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",r[r.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",r[r.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",r[r.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",r[r.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",r[r.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",r[r.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",r[r.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",r[r.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",r[r.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",r[r.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",r[r.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",r[r.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",r[r.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",r[r.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",r[r.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",r[r.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",r[r.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",r[r.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",r[r.INVALID_TAG=23]="INVALID_TAG",r[r.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",r[r.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",r[r.UNCLOSED_TAG=27]="UNCLOSED_TAG",(o=s||(s={}))[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",(i=c||(c={}))[i.number=0]="number",i[i.dateTime=1]="dateTime";var A=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,C=/(?:[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,S=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,P=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,I=/^(@+)?(\+|#+)?[rs]?$/g,O=/(\*)(0+)|(#+)(0+)|(0+)/g,R=/^(0+)$/;function L(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(I,function(e,n,r){return"string"!=typeof r?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===r?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"==typeof r?r.length:0)),""}),t}function H(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 N(e){return H(e)||{}}var B={"001":["H","h"],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","hB","h","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","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA
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","hB","h","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"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]},x=new RegExp("^".concat(A.source,"*")),D=new RegExp("".concat(A.source,"*$"));function F(e,t){return{start:e,end:t}}var k=!!String.prototype.startsWith&&"_a".startsWith("a",1),G=!!String.fromCodePoint,U=!!Object.fromEntries,V=!!String.prototype.codePointAt,j=!!String.prototype.trimStart,Z=!!String.prototype.trimEnd,W=Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&9007199254740991>=Math.abs(e)},K=!0;try{var X=ee("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");K=(null===(f=X.exec("a"))||void 0===f?void 0:f[0])==="a"}catch(e){K=!1}var z=k?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},Y=G?String.fromCodePoint:function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r="",o=t.length,i=0;o>i;){if((e=t[i++])>1114111)throw RangeError(e+" is not a valid code point");r+=e<65536?String.fromCharCode(e):String.fromCharCode(((e-=65536)>>10)+55296,e%1024+56320)}return r},$=U?Object.fromEntries:function(e){for(var t={},n=0;n<e.length;n++){var r=e[n],o=r[0],i=r[1];t[o]=i}return t},q=V?function(e,t){return e.codePointAt(t)}:function(e,t){var n,r=e.length;if(!(t<0)&&!(t>=r)){var o=e.charCodeAt(t);return o<55296||o>56319||t+1===r||(n=e.charCodeAt(t+1))<56320||n>57343?o:(o-55296<<10)+(n-56320)+65536}},Q=j?function(e){return e.trimStart()}:function(e){return e.replace(x,"")},J=Z?function(e){return e.trimEnd()}:function(e){return e.replace(D,"")};function ee(e,t){return new RegExp(e,t)}if(K){var et=ee("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");h=function(e,t){var n;return et.lastIndex=t,null!==(n=et.exec(e)[1])&&void 0!==n?n:""}}else h=function(e,t){for(var n=[];;){var r,o=q(e,t);
1if(void 0===o||eo(o)||(r=o)>=33&&r<=35||36===r||r>=37&&r<=39||40===r||41===r||42===r||43===r||44===r||45===r||r>=46&&r<=47||r>=58&&r<=59||r>=60&&r<=62||r>=63&&r<=64||91===r||92===r||93===r||94===r||96===r||123===r||124===r||125===r||126===r||161===r||r>=162&&r<=165||166===r||167===r||169===r||171===r||172===r||174===r||176===r||177===r||182===r||187===r||191===r||215===r||247===r||r>=8208&&r<=8213||r>=8214&&r<=8215||8216===r||8217===r||8218===r||r>=8219&&r<=8220||8221===r||8222===r||8223===r||r>=8224&&r<=8231||r>=8240&&r<=8248||8249===r||8250===r||r>=8251&&r<=8254||r>=8257&&r<=8259||8260===r||8261===r||8262===r||r>=8263&&r<=8273||8274===r||8275===r||r>=8277&&r<=8286||r>=8592&&r<=8596||r>=8597&&r<=8601||r>=8602&&r<=8603||r>=8604&&r<=8607||8608===r||r>=8609&&r<=8610||8611===r||r>=8612&&r<=8613||8614===r||r>=8615&&r<=8621||8622===r||r>=8623&&r<=8653||r>=8654&&r<=8655||r>=8656&&r<=8657||8658===r||8659===r||8660===r||r>=8661&&r<=8691||r>=8692&&r<=8959||r>=8960&&r<=8967||8968===r||8969===r||8970===r||8971===r||r>=8972&&r<=8991||r>=8992&&r<=8993||r>=8994&&r<=9e3||9001===r||9002===r||r>=9003&&r<=9083||9084===r||r>=9085&&r<=9114||r>=9115&&r<=9139||r>=9140&&r<=9179||r>=9180&&r<=9185||r>=9186&&r<=9254||r>=9255&&r<=9279||r>=9280&&r<=9290||r>=9291&&r<=9311||r>=9472&&r<=9654||9655===r||r>=9656&&r<=9664||9665===r||r>=9666&&r<=9719||r>=9720&&r<=9727||r>=9728&&r<=9838||9839===r||r>=9840&&r<=10087||10088===r||10089===r||10090===r||10091===r||10092===r||10093===r||10094===r||10095===r||10096===r||10097===r||10098===r||10099===r||10100===r||10101===r||r>=10132&&r<=10175||r>=10176&&r<=10180||10181===r||10182===r||r>=10183&&r<=10213||10214===r||10215===r||10216===r||10217===r||10218===r||10219===r||10220===r||10221===r||10222===r||10223===r||r>=10224&&r<=10239||r>=10240&&r<=10495||r>=10496&&r<=10626||10627===r||10628===r||10629===r||10630===r||10631===r||10632===r||10633===r||10634===r||10635===r||10636===r||10637===r||10638===r||10639===r||10640===r||10641===r||10642===r||10643===r||10644===r||10645===r||10646===r||10647===r||10648===r||r>=10649&&r<=10711||10712===r||10713===r||10714===r||10715===r||r>=10716&&r<=10747||10748===r||10749===r||r>=10750&&r<=11007||r>=11008&&r<=11055||r>=11056&&r<=11076||r>=11077&&r<=11078||r>=11079&&r<=11084||r>=11085&&r<=11123||r>=11124&&r<=11125||r>=11126&&r<=11157||11158===r||r>=11159&&r<=11263||r>=11776&&r<=11777||11778===r||11779===r||11780===r||11781===r||r>=11782&&r<=11784||11785===r||11786===r||11787===r||11788===r||11789===r||r>=11790&&r<=11798||11799===r||r>=11800&&r<=11801||11802===r||11803===r||11804===r||11805===r||r>=11806&&r<=11807||11808===r||11809===r||11810===r||11811===r||11812===r||11813===r||11814===r||11815===r||11816===r||11817===r||r>=11818&&r<=11822||11823===r||r>=11824&&r<=11833||r>=11834&&r<=11835||r>=11836&&r<=11839||11840===r||11841===r||11842===r||r>=11843&&r<=11855||r>=11856&&r<=11857||11858===r||r>=11859&&r<=11903||r>=12289&&r<=12291||12296===r||12297===r||12298===r||12299===r||12300===r||12301===r||12302===r||12303===r||12304===r||12305===r||r>=12306&&r<=12307||12308===r||12309===r||12310===r||12311===r||12312===r||12313===r||12314===r||12315===r||12316===r||12317===r||r>=12318&&r<=12319||12320===r||12336===r||64830===r||64831===r||r>=65093&&r<=65094)break;n.push(o),t+=o>=65536?2:1}return Y.apply(void 0,n)};var en=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var o=this.char();if(123===o){var i=this.parseArgument(e,n);if(i.err)return i;r.push(i.val)}else if(125===o&&e>0)break;else if(35===o&&("plural"===t||"selectordinal"===t)){var a=this.clonePosition();this.bump(),r.push({type:s.pound,location:F(a,this.clonePosition())})}else if(60!==o||this.ignoreTag||47!==this.peek()){if(60===o&&!this.ignoreTag&&er(this.peek()||0)){var i=this.parseTag(e,t);if(i.err)return i;r.push(i.val)}else{var i=this.parseLiteral(e,t);if(i.err)return i;r.push(i.val)}}else{if(!n)return this.error(u.UNMATCHED_CLOSING_TAG,F(this.clonePosition(),this.clonePosition()));break}}return{val:r,err:null}},e.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:s.literal,value:"<".concat(r,"/>"),location:F(n,this.clonePosition())},err:null};if(!this.bumpIf(">"))return this.error(u.INVALID_TAG,F(n,this.clonePosition()));var o=this.parseMessage(e+1,t,!0);if(o.err)return o;var i=o.val,a=this.clonePosition();if(!this.bumpIf("</"))return this.error(u.UNCLOSED_TAG,F(n,this.clonePosition()));if(this.isEOF()||!er(this.char()))return this.error(u.INVALID_TAG,F(a,this.clonePosition()));var l=this.clonePosition();return r!==this.parseTagName()?this.error(u.UNMATCHED_CLOSING_TAG,F(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">"))?{val:{type:s.tag,value:r,children:i,location:F(n,this.clonePosition())},err:null}:this.error(u.INVALID_TAG,F(a,this.clonePosition()))},e.prototype.parseTagName=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())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var o=this.tryParseQuote(t);if(o){r+=o;continue}var i=this.tryParseUnquoted(e,t);if(i){r+=i;continue}var a=this.tryParseLeftAngleBracket();if(a){r+=a;continue}break}var l=F(n,this.clonePosition());return{val:{type:s.literal,value:r,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){var e;return this.isEOF()||60!==this.char()||!this.ignoreTag&&(er(e=this.peek()||0)||47===e)?null:(this.bump(),"<")},e.prototype.tryParseQuote=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=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39===this.peek())t.push(39),this.bump();else{this.bump();break}}else t.push(n);this.bump()}return Y.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&e>0?null:(this.bump(),Y(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(u.EXPECT_ARGUMENT_CLOSING_BRACE,F(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(u.EMPTY_ARGUMENT,F(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(u.MALFORMED_ARGUMENT,F(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(u.EXPECT_ARGUMENT_CLOSING_BRACE,F(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:s.argument,value:r,location:F(n,this.clonePosition())},err:null};case 44:if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(u.EXPECT_ARGUMENT_CLOSING_BRACE,F(n,this.clonePosition()));return this.parseArgumentOptions(e,t,r,n);default:return this.error(u.MALFORMED_ARGUMENT,F(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=h(this.message,t),r=t+n.length;return this.bumpTo(r),{value:n,location:F(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,r){var o,i=this.clonePosition(),a=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(a){case"":return this.error(u.EXPECT_ARGUMENT_TYPE,F(i,l));case"number":case"date":case"time":this.bumpSpace();var f=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition(),d=this.parseSimpleArgStyleIfPossible();if(d.err)return d;var p=J(d.val);if(0===p.length)return this.error(u.EXPECT_ARGUMENT_STYLE,F(this.clonePosition(),this.clonePosition()));f={style:p,styleLocation:F(h,this.clonePosition())}}var v=this.tryParseArgumentClose(r);if(v.err)return v;var g=F(r,this.clonePosition());if(f&&z(null==f?void 0:f.style,"::",0)){var E,b=Q(f.style.slice(2));if("number"===a){var d=this.parseNumberSkeletonFromString(b,f.styleLocation);if(d.err)return d;return{val:{type:s.number,value:n,location:g,style:d.val},err:null}}if(0===b.length)return this.error(u.EXPECT_DATE_TIME_SKELETON,g);var y=b;this.locale&&(y=function(e,t){for(var n="",r=0;r<e.length;r++){var o=e.charAt(r);if("j"===o){for(var i=0;r+1<e.length&&e.charAt(r+1)===o;)i++,r++;var a=1+(1&i),l=i<2?1:3+(i>>1),u=function(e){var t,n=e.hourCycle;if(void 0===n&&e.hourCycles&&e.hourCycles.length&&(n=e.hourCycles[0]),n)switch(n){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw Error("Invalid hourCycle")}var r=e.language;return"root"!==r&&(t=e.maximize().region),(B[t||""]||B[r||""]||B["".concat(r,"-001")]||B["001"])[0]}(t);for(("H"==u||"k"==u)&&(l=0);l-- >0;)n+="a";for(;a-- >0;)n=u+n}else"J"===o?n+="H":n+=o}return n}(b,this.locale));var p={type:c.dateTime,pattern:y,location:f.styleLocation,parsedOptions:this.shouldParseSkeletons?(E={},y.replace(C,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-4];break;case"c":if(t<4)throw RangeError("`c..ccc` (weekday) patterns are not supported");E.weekday=["short","long","narrow","short"][t-4];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):{}};return{val:{type:"date"===a?s.date:s.time,value:n,location:g,style:p},err:null}}return{val:{type:"number"===a?s.number:"date"===a?s.date:s.time,value:n,location:g,style:null!==(o=null==f?void 0:f.style)&&void 0!==o?o:null},err:null};
1case"plural":case"selectordinal":case"select":var w=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(u.EXPECT_SELECT_ARGUMENT_OPTIONS,F(w,(0,m.pi)({},w)));this.bumpSpace();var T=this.parseIdentifierIfPossible(),_=0;if("select"!==a&&"offset"===T.value){if(!this.bumpIf(":"))return this.error(u.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,F(this.clonePosition(),this.clonePosition()));this.bumpSpace();var d=this.tryParseDecimalInteger(u.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,u.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(d.err)return d;this.bumpSpace(),T=this.parseIdentifierIfPossible(),_=d.val}var M=this.tryParsePluralOrSelectOptions(e,a,t,T);if(M.err)return M;var v=this.tryParseArgumentClose(r);if(v.err)return v;var A=F(r,this.clonePosition());if("select"===a)return{val:{type:s.select,value:n,options:$(M.val),location:A},err:null};return{val:{type:s.plural,value:n,options:$(M.val),offset:_,pluralType:"plural"===a?"cardinal":"ordinal",location:A},err:null};default:return this.error(u.INVALID_ARGUMENT_TYPE,F(i,l))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(u.EXPECT_ARGUMENT_CLOSING_BRACE,F(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(u.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,F(n,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}},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw Error("Number skeleton cannot be empty");for(var t=e.split(S).filter(function(e){return e.length>0}),n=[],r=0;r<t.length;r++){var o=t[r].split("/");if(0===o.length)throw Error("Invalid number skeleton");for(var i=o[0],a=o.slice(1),l=0;l<a.length;l++)if(0===a[l].length)throw Error("Invalid number skeleton");n.push({stem:i,options:a})}return n}(e)}catch(e){return this.error(u.INVALID_NUMBER_SKELETON,t)}return{val:{type:c.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?function(e){for(var t={},n=0;n<e.length;n++){var r=e[n];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=(0,m.pi)((0,m.pi)((0,m.pi)({},t),{notation:"scientific"}),r.options.reduce(function(e,t){return(0,m.pi)((0,m.pi)({},e),H(t)||{})},{}));continue;case"engineering":t=(0,m.pi)((0,m.pi)((0,m.pi)({},t),{notation:"engineering"}),r.options.reduce(function(e,t){return(0,m.pi)((0,m.pi)({},e),H(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(O,function(e,n,r,o,i,a){if(n)t.minimumIntegerDigits=r.length;else if(o&&i)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(R.test(r.stem)){t.minimumIntegerDigits=r.stem.length;continue}if(P.test(r.stem)){if(r.options.length>1)throw RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(P,function(e,n,r,o,i,a){return"*"===r?t.minimumFractionDigits=n.length:o&&"#"===o[0]?t.maximumFractionDigits=o.length:i&&a?(t.minimumFractionDigits=i.length,t.maximumFractionDigits=i.length+a.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),""});var o=r.options[0];"w"===o?t=(0,m.pi)((0,m.pi)({}
1,t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=(0,m.pi)((0,m.pi)({},t),L(o)));continue}if(I.test(r.stem)){t=(0,m.pi)((0,m.pi)({},t),L(r.stem));continue}var i=H(r.stem);i&&(t=(0,m.pi)((0,m.pi)({},t),i));var a=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 n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!R.test(e))throw Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(r.stem);a&&(t=(0,m.pi)((0,m.pi)({},t),a))}return t}(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var o,i=!1,a=[],l=new Set,s=r.value,c=r.location;;){if(0===s.length){var f=this.clonePosition();if("select"!==t&&this.bumpIf("=")){var h=this.tryParseDecimalInteger(u.EXPECT_PLURAL_ARGUMENT_SELECTOR,u.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;c=F(f,this.clonePosition()),s=this.message.slice(f.offset,this.offset())}else break}if(l.has(s))return this.error("select"===t?u.DUPLICATE_SELECT_ARGUMENT_SELECTOR:u.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);"other"===s&&(i=!0),this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?u.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:u.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,F(this.clonePosition(),this.clonePosition()));var p=this.parseMessage(e+1,t,n);if(p.err)return p;var m=this.tryParseArgumentClose(d);if(m.err)return m;a.push([s,{value:p.val,location:F(d,this.clonePosition())}]),l.add(s),this.bumpSpace(),s=(o=this.parseIdentifierIfPossible()).value,c=o.location}return 0===a.length?this.error("select"===t?u.EXPECT_SELECT_ARGUMENT_SELECTOR:u.EXPECT_PLURAL_ARGUMENT_SELECTOR,F(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(u.MISSING_OTHER_CLAUSE,F(this.clonePosition(),this.clonePosition())):{val:a,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,i=0;!this.isEOF();){var a=this.char();if(a>=48&&a<=57)o=!0,i=10*i+(a-48),this.bump();else break}var l=F(r,this.clonePosition());return o?W(i*=n)?{val:i,err:null}:this.error(t,l):this.error(e,l)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=q(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=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)}},e.prototype.bumpIf=function(e){if(z(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),n=this.message.indexOf(e,t);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=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}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&eo(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),n=this.message.charCodeAt(t+(e>=65536?2:1));return null!=n?n:null},e}();function er(e){return e>=97&&e<=122||e>=65&&e<=90}function eo(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function ei(e,t){void 0===t&&(t={});var n=new en(e,t=(0,m.pi)({shouldParseSkeletons:!0,requiresOtherClause:!0},t)).parse();if(n.err){var r=SyntaxError(u[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return(null==t?void 0:t.captureLocation)||function e(t){t.forEach(function(t){if(delete t.location,y(t)||w(t))for(var n in t.options)delete t.options[n].location,e(t.options[n].value);else g(t)&&_(t.style)?delete t.style.location:(E(t)||b(t))&&M(t.style)?delete t.style.location:T(t)&&e(t.children)})}(n.val),n.val}function ea(e,t){var n=t&&t.cache?t.cache:ef,r=t&&t.serializer?t.serializer:es;return(t&&t.strategy?t.strategy:function(e,t){var n,r,o=1===e.length?el:eu;return n=t.cache.create(),r=t.serializer,o.bind(this,e,n,r)})(e,{cache:n,serializer:r})}function el(e,t,n,r){var o=null==r||"number"==typeof r||"boolean"==typeof r?r:n(r),i=t.get(o);return void 0===i&&(i=e.call(this,r),t.set(o,i)),i}function eu(e,t,n){var r=Array.prototype.slice.call(arguments,3),o=n(r),i=t.get(o);return void 0===i&&(i=e.apply(this,r),t.set(o,i)),i}var es=function(){return JSON.stringify(arguments)};function ec(){this.cache=Object.create(null)}ec.prototype.get=function(e){return this.cache[e]},ec.prototype.set=function(e,t){this.cache[e]=t};var ef={create:function(){return new ec}},eh={variadic:function(e,t){var n,r;return n=t.cache.create(),r=t.serializer,eu.bind(this,e,n,r)},monadic:function(e,t){var n,r;return n=t.cache.create(),r=t.serializer,el.bind(this,e,n,r)}};(a=d||(d={})).MISSING_VALUE="MISSING_VALUE",a.INVALID_VALUE="INVALID_VALUE",a.MISSING_INTL_API="MISSING_INTL_API";var ed=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.code=n,o.originalMessage=r,o}return(0,m.ZT)(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),ep=function(e){function t(t,n,r,o){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(n,'". Options are "').concat(Object.keys(r).join('", "'),'"'),d.INVALID_VALUE,o)||this}return(0,m.ZT)(t,e),t}(ed),em=function(e){function t(t,n,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),d.INVALID_VALUE,r)||this}return(0,m.ZT)(t,e),t}(ed),ev=function(e){function t(t,n){return e.call(this,'The intl str
1ing context variable "'.concat(t,'" was not provided to the string "').concat(n,'"'),d.MISSING_VALUE,n)||this}return(0,m.ZT)(t,e),t}(ed);function eg(e){return"function"==typeof e}function eE(e,t,n,r,o,i,a){if(1===e.length&&v(e[0]))return[{type:p.literal,value:e[0].value}];for(var l=[],u=0;u<e.length;u++){var c=e[u];if(v(c)){l.push({type:p.literal,value:c.value});continue}if(c.type===s.pound){"number"==typeof i&&l.push({type:p.literal,value:n.getNumberFormat(t).format(i)});continue}var f=c.value;if(!(o&&f in o))throw new ev(f,a);var h=o[f];if(c.type===s.argument){h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),l.push({type:"string"==typeof h?p.literal:p.object,value:h});continue}if(E(c)){var m="string"==typeof c.style?r.date[c.style]:M(c.style)?c.style.parsedOptions:void 0;l.push({type:p.literal,value:n.getDateTimeFormat(t,m).format(h)});continue}if(b(c)){var m="string"==typeof c.style?r.time[c.style]:M(c.style)?c.style.parsedOptions:r.time.medium;l.push({type:p.literal,value:n.getDateTimeFormat(t,m).format(h)});continue}if(g(c)){var m="string"==typeof c.style?r.number[c.style]:_(c.style)?c.style.parsedOptions:void 0;m&&m.scale&&(h*=m.scale||1),l.push({type:p.literal,value:n.getNumberFormat(t,m).format(h)});continue}if(T(c)){var A=c.children,C=c.value,S=o[C];if(!eg(S))throw new em(C,"function",a);var P=S(eE(A,t,n,r,o,i).map(function(e){return e.value}));Array.isArray(P)||(P=[P]),l.push.apply(l,P.map(function(e){return{type:"string"==typeof e?p.literal:p.object,value:e}}))}if(y(c)){var I=c.options[h]||c.options.other;if(!I)throw new ep(c.value,h,Object.keys(c.options),a);l.push.apply(l,eE(I.value,t,n,r,o));continue}if(w(c)){var I=c.options["=".concat(h)];if(!I){if(!Intl.PluralRules)throw new ed('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',d.MISSING_INTL_API,a);var O=n.getPluralRules(t,{type:c.pluralType}).select(h-(c.offset||0));I=c.options[O]||c.options.other}if(!I)throw new ep(c.value,h,Object.keys(c.options),a);l.push.apply(l,eE(I.value,t,n,r,o,h-(c.offset||0)));continue}}return l.length<2?l:l.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===p.literal&&t.type===p.literal?n.value+=t.value:e.push(t),e},[])}function eb(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}(l=p||(p={}))[l.literal=0]="literal",l[l.object=1]="object";var ey=function(){function e(t,n,r,o){var i,a,l=this;if(void 0===n&&(n=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=l.formatToParts(e);if(1===t.length)return t[0].value;var n=t.reduce(function(e,t){return e.length&&t.type===p.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return n.length<=1?n[0]||"":n},this.formatToParts=function(e){return eE(l.ast,l.locales,l.formatters,l.formats,e,void 0,l.message)},this.resolvedOptions=function(){var e;return{locale:(null===(e=l.resolvedLocale)||void 0===e?void 0:e.toString())||Intl.NumberFormat.supportedLocalesOf(l.locales)[0]}},this.getAst=function(){return l.ast},this.locales=n,this.resolvedLocale=e.resolveLocale(n),"string"==typeof t){if(this.message=t,!e.__parse)throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var u=o||{},s=(u.formatters,(0,m._T)(u,["formatters"]));this.ast=e.__parse(t,(0,m.pi)((0,m.pi)({},s),{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=(i=e.formats,r?Object.keys(i).reduce(function(e,t){var n,o;return e[t]=(n=i[t],(o=r[t])?(0,m.pi)((0,m.pi)((0,m.pi)({},n||{}),o||{}),Object.keys(n).reduce(function(e,t){return e[t]=(0,m.pi)((0,m.pi)({},n[t]),o[t]||{}),e},{})):n),e},(0,m.pi)({},i)):i),this.formatters=o&&o.formatters||(void 0===(a=this.formatterCache)&&(a={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:ea(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,(0,m.ev)([void 0],t,!1)))},{cache:eb(a.number),strategy:eh.variadic}),getDateTimeFormat:ea(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,(0,m.ev)([void 0],t,!1)))},{cache:eb(a.dateTime),strategy:eh.variadic}),getPluralRules:ea(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,(0,m.ev)([void 0],t,!1)))},{cache:eb(a.pluralRules),strategy:eh.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale}
1,enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.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])}},e.__parse=ei,e.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}(),ew=ey},1593:function(e,t){function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}Object.defineProperty(t,"__esModule",{value:!0}),t.extends=n},18513:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(80820),o=n(92797),i=n(2752),a=n(79206);t.useFormatter=r.useFormatter,t.useTranslations=r.useTranslations,t.useLocale=o.default,t.NextIntlClientProvider=i.default,Object.keys(a).forEach(function(e){"default"===e||Object.prototype.hasOwnProperty.call(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}})})},80820:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(79206);function o(e,t){return function(){try{return t(...arguments)}catch(e){throw Error(void 0)}}}let i=o(0,r.useTranslations),a=o(0,r.useFormatter);t.useFormatter=a,t.useTranslations=i,Object.keys(r).forEach(function(e){"default"===e||Object.prototype.hasOwnProperty.call(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})})},92797:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(88779),o=n(37626),i=n(26664);t.default=function(){let e;let t=r.useParams();try{e=o.useLocale()}catch(n){if("string"!=typeof(null==t?void 0:t[i.LOCALE_SEGMENT_NAME]))throw n;e=t[i.LOCALE_SEGMENT_NAME]}return e}},2752:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(1593),o=n(58496),i=n(37233),a=o&&o.__esModule?o:{default:o};t.default=function(e){let{locale:t,...n}=e;if(!t)throw Error(void 0);return a.default.createElement(i.IntlProvider,r.extends({locale:t},n))}},26664:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.COOKIE_LOCALE_NAME="NEXT_LOCALE",t.COOKIE_MAX_AGE=31536e3,t.COOKIE_SAME_SITE="lax",t.HEADER_LOCALE_NAME="X-NEXT-INTL-LOCALE",t.LOCALE_SEGMENT_NAME="locale"},56060:function(e,t,n){n.d(t,{default:function(){return o.a}});var r=n(39915),o=n.n(r)},56788:function(e,t,n){n.r(t),n.d(t,{default:function(){return o.a}});var r=n(69498),o=n.n(r),i={};for(var a in r)"default"!==a&&(i[a]=(function(e){return r[e]}).bind(0,a));n.d(t,i)},88779:function(e,t,n){n.r(t);var r=n(91020),o={};for(var i in r)"default"!==i&&(o[i]=(function(e){return r[e]}).bind(0,i));n.d(t,o)},39915:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return u},getImageProps:function(){return l}});let r=n(86651),o=n(89171),i=n(24663),a=r._(n(63235));function l(e){let{props:t}=(0,o.getImgProps)(e,{defaultLoader:a.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}let u=i.Image},26075:function(e,t,n){n.d(t,{Z:function(){return Y}});var r,o,i,a,l,u,s,c=n(14637),f=n(58496),h="right-scroll-bar-position",d="width-before-scroll-bar";function p(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var m="undefined"!=typeof window?f.useLayoutEffect:f.useEffect,v=ne
1w WeakMap,g=(void 0===r&&(r={}),(void 0===o&&(o=function(e){return e}),i=[],a=!1,l={read:function(){if(a)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return i.length?i[i.length-1]:null},useMedium:function(e){var t=o(e,a);return i.push(t),function(){i=i.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(a=!0;i.length;){var t=i;i=[],t.forEach(e)}i={push:function(t){return e(t)},filter:function(){return i}}},assignMedium:function(e){a=!0;var t=[];if(i.length){var n=i;i=[],n.forEach(e),t=i}var r=function(){var n=t;t=[],n.forEach(e)},o=function(){return Promise.resolve().then(r)};o(),i={push:function(e){t.push(e),o()},filter:function(e){return t=t.filter(e),i}}}}).options=(0,c.pi)({async:!0,ssr:!1},r),l),E=function(){},b=f.forwardRef(function(e,t){var n,r,o,i,a=f.useRef(null),l=f.useState({onScrollCapture:E,onWheelCapture:E,onTouchMoveCapture:E}),u=l[0],s=l[1],h=e.forwardProps,d=e.children,b=e.className,y=e.removeScrollBar,w=e.enabled,T=e.shards,_=e.sideCar,M=e.noIsolation,A=e.inert,C=e.allowPinchZoom,S=e.as,P=(0,c._T)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),I=(n=[a,t],r=function(e){return n.forEach(function(t){return p(t,e)})},(o=(0,f.useState)(function(){return{value:null,callback:r,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=r,i=o.facade,m(function(){var e=v.get(i);if(e){var t=new Set(e),r=new Set(n),o=i.current;t.forEach(function(e){r.has(e)||p(e,null)}),r.forEach(function(e){t.has(e)||p(e,o)})}v.set(i,n)},[n]),i),O=(0,c.pi)((0,c.pi)({},P),u);return f.createElement(f.Fragment,null,w&&f.createElement(_,{sideCar:g,removeScrollBar:y,shards:T,noIsolation:M,inert:A,setCallbacks:s,allowPinchZoom:!!C,lockRef:a}),h?f.cloneElement(f.Children.only(d),(0,c.pi)((0,c.pi)({},O),{ref:I})):f.createElement(void 0===S?"div":S,(0,c.pi)({},O,{className:b,ref:I}),d))});b.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},b.classNames={fullWidth:d,zeroRight:h};var y=function(e){var t=e.sideCar,n=(0,c._T)(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return f.createElement(r,(0,c.pi)({},n))};y.isSideCarExport=!0;var w=function(){var e=0,t=null;return{add:function(r){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=s||n.nc;return t&&e.setAttribute("nonce",t),e}())){var o,i;(o=t).styleSheet?o.styleSheet.cssText=r:o.appendChild(document.createTextNode(r)),i=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(i)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},T=function(){var e=w();return function(t,n){f.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},_=function(){var e=T();return function(t){return e(t.styles,t.dynamic),null}},M={left:0,top:0,right:0,gap:0},A=function(e){return parseInt(e||"",10)||0},C=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[A(n),A(r),A(o)]},S=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return M;var t=C(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},P=_(),I="data-scroll-locked",O=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,l=e.gap;return void 0===n&&(n="margin"),"\n  .".concat("with-scroll-bars-hidden"," {\n   overflow: hidden ").concat(r,";\n   padding-right: ").concat(l,"px ").concat(r,";\n  }\n  body[").concat(I,"] {\n    overflow: hidden ").concat(r,";\n    overscroll-behavior: contain;\n    ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n    padding-left: ".concat(o,"px;\n    padding-top: ").concat(i,"px;\n    padding-right: ").concat(a,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(l,"px ").concat(r,";\n    "),"padding"===n&&"padding-right: ".concat(l,"px ").concat(r,";
1")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(h," {\n    right: ").concat(l,"px ").concat(r,";\n  }\n  \n  .").concat(d," {\n    margin-right: ").concat(l,"px ").concat(r,";\n  }\n  \n  .").concat(h," .").concat(h," {\n    right: 0 ").concat(r,";\n  }\n  \n  .").concat(d," .").concat(d," {\n    margin-right: 0 ").concat(r,";\n  }\n  \n  body[").concat(I,"] {\n    ").concat("--removed-body-scroll-bar-size",": ").concat(l,"px;\n  }\n")},R=function(){var e=parseInt(document.body.getAttribute(I)||"0",10);return isFinite(e)?e:0},L=function(){f.useEffect(function(){return document.body.setAttribute(I,(R()+1).toString()),function(){var e=R()-1;e<=0?document.body.removeAttribute(I):document.body.setAttribute(I,e.toString())}},[])},H=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;L();var i=f.useMemo(function(){return S(o)},[o]);return f.createElement(P,{styles:O(i,!t,o,n?"":"!important")})},N=!1;if("undefined"!=typeof window)try{var B=Object.defineProperty({},"passive",{get:function(){return N=!0,!0}});window.addEventListener("test",B,B),window.removeEventListener("test",B,B)}catch(e){N=!1}var x=!!N&&{passive:!1},D=function(e,t){var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&"TEXTAREA"!==e.tagName&&"visible"===n[t])},F=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),k(e,n)){var r=G(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},k=function(e,t){return"v"===e?D(t,"overflowY"):D(t,"overflowX")},G=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},U=function(e,t,n,r,o){var i,a=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),l=a*r,u=n.target,s=t.contains(u),c=!1,f=l>0,h=0,d=0;do{var p=G(e,u),m=p[0],v=p[1]-p[2]-a*m;(m||v)&&k(e,u)&&(h+=v,d+=m),u=u.parentNode}while(!s&&u!==document.body||s&&(t.contains(u)||t===u));return f&&(o&&0===h||!o&&l>h)?c=!0:!f&&(o&&0===d||!o&&-l>d)&&(c=!0),c},V=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},j=function(e){return[e.deltaX,e.deltaY]},Z=function(e){return e&&"current"in e?e.current:e},W=0,K=[],X=(u=function(e){var t=f.useRef([]),n=f.useRef([0,0]),r=f.useRef(),o=f.useState(W++)[0],i=f.useState(function(){return _()})[0],a=f.useRef(e);f.useEffect(function(){a.current=e},[e]),f.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(0,c.ev)([e.lockRef.current],(e.shards||[]).map(Z),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var l=f.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!a.current.allowPinchZoom;var o,i=V(e),l=n.current,u="deltaX"in e?e.deltaX:l[0]-i[0],s="deltaY"in e?e.deltaY:l[1]-i[1],c=e.target,f=Math.abs(u)>Math.abs(s)?"h":"v";if("touches"in e&&"h"===f&&"range"===c.type)return!1;var h=F(f,c);if(!h)return!0;if(h?o=f:(o="v"===f?"h":"v",h=F(f,c)),!h)return!1;if(!r.current&&"changedTouches"in e&&(u||s)&&(r.current=o),!o)return!0;var d=r.current||o;return U(d,t,e,"h"===d?u:s,!0)},[]),u=f.useCallback(function(e){if(K.length&&K[K.length-1]===i){var n="deltaY"in e?j(e):V(e),r=t.current.filter(function(t){var r;return t.name===e.type&&t.target===e.target&&(r=t.delta)[0]===n[0]&&r[1]===n[1]})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var o=(a.current.shards||[]).map(Z).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?l(e,o[0]):!a.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),s=f.useCallback(function(e,n,r,o){var i={name:e,delta:n,target:r,should:o};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),h=f.useCallback(function(e){n.current=V(e),r.current=void 0},[]),d=f.useCallback(function(t){s(t.type,j(t),t.target,l(t,e.lockRef.current))},[]),p=f.useCallback(function(t){s(t.type,V(t),t.target,l(t,e.lockRef.current))},[]);f.useEffect(function(){return K.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener("wheel",u,x),document.addEventListener("touchmove",u,x),document.addEventListener("touchstart",h,x),function(){K=K.filter(function(e){return e!==i}),document.removeEventListener("wheel",u,x),document.removeEventListener("touchmove",u,x),document.removeEventListener("touchstart",h,x)}},[]);var m=e.removeScrollBar,v=e.inert;return f.createElement(f.Fragment,null,v?f.createElement(i,{styles:"\n  .block-interactivity-".concat(o," {pointer-events: none;}\n  .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,m?f.createElement(H,{gapMode:"margin"}):null)},g.useMedium(u),y),z=f.forwardRef(function(e,t){return f.createElement(b,(0,c.pi)({},e,{ref:t,sideCar:X}))});z.classNames=b.classNames;var Y=z},37233:function(e,t,n){e.exports=n(52302)},37626:function(e,t,n){e.exports=n(64419)},79206:function(e,t,n){e.exports=n(57617)},9568:function(e,t,n){var r=n(58496).createContext(void 0);t.IntlContext=r}
1,52302:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(58496),o=n(16220),i=n(9568),a=r&&r.__esModule?r:{default:r};t.IntlProvider=function(e){let{children:t,defaultTranslationValues:n,formats:l,getMessageFallback:u,locale:s,messages:c,now:f,onError:h,timeZone:d}=e,[p]=r.useState(()=>new Map),m=r.useMemo(()=>({...o.initializeConfig({locale:s,defaultTranslationValues:n,formats:l,getMessageFallback:u,messages:c,now:f,onError:h,timeZone:d}),messageFormatCache:p}),[n,l,u,s,p,c,f,h,d]);return a.default.createElement(i.IntlContext.Provider,{value:m},t)}},19056:function(e,t,n){var r=n(58496),o=n(9568);function i(){let e=r.useContext(o.IntlContext);if(!e)throw Error(void 0);return e}t.useIntlContext=i,t.useLocale=function(){return i().locale}},64419:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(19056);n(58496),n(9568),t.useLocale=r.useLocale},66032:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(8833),o=n(16220);n(63095),n(58496),t.IntlError=r.IntlError,t.IntlErrorCode=r.IntlErrorCode,t.createFormatter=r.createFormatter,t.initializeConfig=o.initializeConfig,t.createTranslator=function(e){let{getMessageFallback:t=o.defaultGetMessageFallback,messages:n,namespace:i,onError:a=o.defaultOnError,...l}=e;return function(e,t){let{getMessageFallback:n,messages:o,namespace:i,onError:a,...l}=e;return o=o["!"],i=r.resolveNamespace(i,"!"),r.createBaseTranslator({...l,onError:a,getMessageFallback:n,messages:o,namespace:i})}({...l,onError:a,getMessageFallback:t,messages:{"!":n},namespace:i?"!.".concat(i):"!"},0)}},8833:function(e,t,n){var r,o=n(63095),i=n(58496),a=n(16220),l=o&&o.__esModule?o:{default:o};function u(e,t,n){var r;return(t="symbol"==typeof(r=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?r:String(r))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}let s=((r={}).MISSING_MESSAGE="MISSING_MESSAGE",r.MISSING_FORMAT="MISSING_FORMAT",r.ENVIRONMENT_FALLBACK="ENVIRONMENT_FALLBACK",r.INSUFFICIENT_PATH="INSUFFICIENT_PATH",r.INVALID_MESSAGE="INVALID_MESSAGE",r.INVALID_KEY="INVALID_KEY",r.FORMATTING_ERROR="FORMATTING_ERROR",r);class c extends Error{constructor(e,t){let n=e;t&&(n+=": "+t),super(n),u(this,"code",void 0),u(this,"originalMessage",void 0),this.code=e,t&&(this.originalMessage=t)}}function f(e,t){return e?Object.keys(e).reduce((n,r)=>(n[r]={timeZone:t,...e[r]},n),{}):e}function h(e,t,n,r){let o=a.joinPath(r,n);if(!t)throw Error(o);let i=t;return n.split(".").forEach(t=>{let n=i[t];if(null==t||null==n)throw Error(o+" (".concat(e,")"));i=n}),i}let d=365/12*86400,p={second:1,seconds:1,minute:60,minutes:60,hour:3600,hours:3600,day:86400,days:86400,week:604800,weeks:604800,month:365/12*86400,months:365/12*86400,quarter:365/12*259200,quarters:365/12*259200,year:31536e3,years:31536e3};t.IntlError=c,t.IntlErrorCode=s,t.createBaseTranslator=function(e){let t=function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:a.defaultOnError;try{if(!t)throw Error(void 0);let r=n?h(e,t,n):t;if(!r)throw Error(n);return r}catch(t){let e=new c(s.MISSING_MESSAGE,t.message);return r(e),e}}(e.locale,e.messages,e.namespace,e.onError);return function(e){let{defaultTranslationValues:t,formats:n,getMessageFallback:r=a.defaultGetMessageFallback,locale:o,messageFormatCache:u,messagesOrError:d,namespace:p,onError:m,timeZone:v}=e;function g(e,t,n){let o=new c(t,n);return m(o),r({error:o,key:e,namespace:p})}function E(e,m,E){let b,y;if(d instanceof c)return r({error:d,key:e,namespace:p});try{b=h(o,d,e,p)}catch(t){return g(e,s.MISSING_MESSAGE,t.message)}let w=a.joinPath(o,p,e,String(b));if(null!=u&&u.has(w))y=u.get(w);else{if("object"==typeof b){let t;return g(e,Array.isArray(b)?s.INVALID_MESSAGE:s.INSUFFICIENT_PATH,t)}let t=function(e,t){if(t)return;let n=e.replace(/'([{}])/gi,"$1");return/<|{/.test(n)?void 0:n}(b,m);if(t)return t;try{y=new l.default(b,o,function(e,t){let n=t?{...e,dateTime:f(e.dateTime,t)}:e,r=l.default.formats.date,o=t?f(r,t):r,i=l.default.formats.time,a=t?f(i,t):i;return{...n,date:{...o,...null==n?void 0:n.dateTime},time:{...a,...null==n?void 0:n.dateTime}}}({...n,...E},v),{formatters:{getNumberFormat:(e,t)=>
1new Intl.NumberFormat(e,t),getDateTimeFormat:(e,t)=>new Intl.DateTimeFormat(e,{timeZone:v,...t}),getPluralRules:(e,t)=>new Intl.PluralRules(e,t)}})}catch(t){return g(e,s.INVALID_MESSAGE,t.message)}null==u||u.set(w,y)}try{let e=y.format(function(e){if(0===Object.keys(e).length)return;let t={};return Object.keys(e).forEach(n=>{let r,o=0,a=e[n];r="function"==typeof a?e=>{let t=a(e);return i.isValidElement(t)?i.cloneElement(t,{key:n+o++}):t}:a,t[n]=r}),t}({...t,...m}));if(null==e)throw Error(void 0);return i.isValidElement(e)||Array.isArray(e)||"string"==typeof e?e:String(e)}catch(t){return g(e,s.FORMATTING_ERROR,t.message)}}function b(e,t,n){let r=E(e,t,n);return"string"!=typeof r?g(e,s.INVALID_MESSAGE,void 0):r}return b.rich=E,b.markup=(e,t,n)=>{let o=E(e,t,n);if("string"!=typeof o){let t=new c(s.FORMATTING_ERROR,void 0);return m(t),r({error:t,key:e,namespace:p})}return o},b.raw=e=>{if(d instanceof c)return r({error:d,key:e,namespace:p});try{return h(o,d,e,p)}catch(t){return g(e,s.MISSING_MESSAGE,t.message)}},b}({...e,messagesOrError:t})},t.createFormatter=function(e){let{formats:t,locale:n,now:r,onError:o=a.defaultOnError,timeZone:i}=e;function l(e){var t;return null!==(t=e)&&void 0!==t&&t.timeZone||(i?e={...e,timeZone:i}:o(new c(s.ENVIRONMENT_FALLBACK,void 0))),e}function u(e,t,n,r){let i;try{i=function(e,t){let n;if("string"==typeof t){if(!(n=null==e?void 0:e[t])){let e=new c(s.MISSING_FORMAT,void 0);throw o(e),e}}else n=t;return n}(t,e)}catch(e){return r()}try{return n(i)}catch(e){return o(new c(s.FORMATTING_ERROR,e.message)),r()}}function f(e,r){return u(r,null==t?void 0:t.dateTime,t=>(t=l(t),new Intl.DateTimeFormat(n,t).format(e)),()=>String(e))}function h(){return r||(o(new c(s.ENVIRONMENT_FALLBACK,void 0)),new Date)}return{dateTime:f,number:function(e,r){return u(r,null==t?void 0:t.number,t=>new Intl.NumberFormat(n,t).format(e),()=>String(e))},relativeTime:function(e,t){try{var r;let o,i;let a={};t instanceof Date||"number"==typeof t?o=new Date(t):t&&(o=null!=t.now?new Date(t.now):h(),i=t.unit,a.style=t.style,a.numberingSystem=t.numberingSystem),o||(o=h());let l=(new Date(e).getTime()-o.getTime())/1e3;i||(i=function(e){let t=Math.abs(e);return t<60?"second":t<3600?"minute":t<86400?"hour":t<604800?"day":t<d?"week":t<31536e3?"month":"year"}(l)),a.numeric="second"===i?"auto":"always";let u=(r=i,Math.round(l/p[r]));return new Intl.RelativeTimeFormat(n,a).format(u,i)}catch(t){return o(new c(s.FORMATTING_ERROR,t.message)),String(e)}},list:function(e,r){let o=[],i=new Map,a=0;for(let t of e){let e;"object"==typeof t?(e=String(a),i.set(e,t)):e=String(t),o.push(e),a++}return u(r,null==t?void 0:t.list,e=>{let t=new Intl.ListFormat(n,e).formatToParts(o).map(e=>"literal"===e.type?e.value:i.get(e.value)||e.value);return i.size>0?t:t.join("")},()=>String(e))},dateTimeRange:function(e,r,o){return u(o,null==t?void 0:t.dateTime,t=>(t=l(t),new Intl.DateTimeFormat(n,t).formatRange(e,r)),()=>[f(e),f(r)].join(" – "))}}},t.resolveNamespace=function(e,t){return e===t?void 0:e.slice((t+".").length)}},57617:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(8833),o=n(66032),i=n(16220),a=n(52302),l=n(97182),u=n(19056);n(63095),n(58496),n(9568),t.IntlError=r.IntlError,t.IntlErrorCode=r.IntlErrorCode,t.createFormatter=r.createFormatter,t.createTranslator=o.createTranslator,t.initializeConfig=i.initializeConfig,t.IntlProvider=a.IntlProvider,t.useFormatter=l.useFormatter,t.useMessages=l.useMessages,t.useNow=l.useNow,t.useTimeZone=l.useTimeZone,t.useTranslations=l.useTranslations,t.useLocale=u.useLocale},16220:function(e,t){function n(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(Boolean).join(".")}function r(e){return n(e.namespace,e.key)}function o(e){console.error(e)}t.defaultGetMessageFallback=r,t.defaultOnError=o,t.initializeConfig=function(e){let{getMessageFallback:t,messages:n,onError:i,...a}=e;return{...a,messages:n,onError:i||o,getMessageFallback:t||r}},t.joinPath=n},97182:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(52302),o=n(19056),i=n(58496),a=n(8833);n(16220),n(9568),n(63095);let l=!1,u="undefined"==typeof window;
1t.IntlProvider=r.IntlProvider,t.useLocale=o.useLocale,t.useFormatter=function(){let{formats:e,locale:t,now:n,onError:r,timeZone:l}=o.useIntlContext();return i.useMemo(()=>a.createFormatter({formats:e,locale:t,now:n,onError:r,timeZone:l}),[e,n,t,r,l])},t.useMessages=function(){let e=o.useIntlContext();if(!e.messages)throw Error(void 0);return e.messages},t.useNow=function(e){let t=null==e?void 0:e.updateInterval,{now:n}=o.useIntlContext(),[r,a]=i.useState(n||new Date);return i.useEffect(()=>{if(!t)return;let e=setInterval(()=>{a(new Date)},t);return()=>{clearInterval(e)}},[n,t]),null==t&&n?n:r},t.useTimeZone=function(){return o.useIntlContext().timeZone},t.useTranslations=function(e){return function(e,t,n){let{defaultTranslationValues:r,formats:s,getMessageFallback:c,locale:f,messageFormatCache:h,onError:d,timeZone:p}=o.useIntlContext();return e=e["!"],t=a.resolveNamespace(t,"!"),p||l||!u||(l=!0,d(new a.IntlError(a.IntlErrorCode.ENVIRONMENT_FALLBACK,void 0))),i.useMemo(()=>a.createBaseTranslator({messageFormatCache:h,getMessageFallback:c,messages:e,defaultTranslationValues:r,namespace:t,onError:d,formats:s,locale:f,timeZone:p}),[h,c,e,t,d,r,s,f,p])}({"!":o.useIntlContext().messages},e?"!.".concat(e):"!",0)}},77363:function(e,t,n){n.d(t,{Z:function(){return r}});function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}},67326:function(e,t,n){n.d(t,{M:function(){return r}});function r(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(null==e||e(r),!1===n||!r.defaultPrevented)return null==t?void 0:t(r)}}},28947:function(e,t,n){n.d(t,{B:function(){return l}});var r=n(58496),o=n(41017),i=n(16612),a=n(93260);function l(e){let t=e+"CollectionProvider",[n,l]=(0,o.b)(t),[u,s]=n(t,{collectionRef:{current:null},itemMap:new Map}),c=e+"CollectionSlot",f=r.forwardRef((e,t)=>{let{scope:n,children:o}=e,l=s(c,n),u=(0,i.e)(t,l.collectionRef);return r.createElement(a.g7,{ref:u},o)}),h=e+"CollectionItemSlot",d="data-radix-collection-item";return[{Provider:e=>{let{scope:t,children:n}=e,o=r.useRef(null),i=r.useRef(new Map).current;return r.createElement(u,{scope:t,itemMap:i,collectionRef:o},n)},Slot:f,ItemSlot:r.forwardRef((e,t)=>{let{scope:n,children:o,...l}=e,u=r.useRef(null),c=(0,i.e)(t,u),f=s(h,n);return r.useEffect(()=>(f.itemMap.set(u,{ref:u,...l}),()=>void f.itemMap.delete(u))),r.createElement(a.g7,{[d]:"",ref:c},o)})},function(t){let n=s(e+"CollectionConsumer",t);return r.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${d}]`));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])},l]}},16612:function(e,t,n){n.d(t,{F:function(){return o},e:function(){return i}});var r=n(58496);function o(...e){return t=>e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}function i(...e){return(0,r.useCallback)(o(...e),e)}},41017:function(e,t,n){n.d(t,{b:function(){return i},k:function(){return o}});var r=n(58496);function o(e,t){let n=(0,r.createContext)(t);function o(e){let{children:t,...o}=e,i=(0,r.useMemo)(()=>o,Object.values(o));return(0,r.createElement)(n.Provider,{value:i},t)}return o.displayName=e+"Provider",[o,function(o){let i=(0,r.useContext)(n);if(i)return i;if(void 0!==t)return t;throw Error(`\`${o}\` must be used within \`${e}\``)}]}function i(e,t=[]){let n=[],o=()=>{let t=n.map(e=>(0,r.createContext)(e));return function(n){let o=(null==n?void 0:n[e])||t;return(0,r.useMemo)(()=>({[`__scope${e}`]:{...n,[e]:o}}),[n,o])}};return o.scopeName=e,[function(t,o){let i=(0,r.createContext)(o),a=n.length;function l(t){let{scope:n,children:o,...l}=t,u=(null==n?void 0:n[e][a])||i,s=(0,r.useMemo)(()=>l,Object.values(l));return(0,r.createElement)(u.Provider,{value:s},o)}return n=[...n,o],l.displayName=t+"Provider",[l,function(n,l){let u=(null==l?void 0:l[e][a])||i,s=(0,r.useContext)(u);if(s)return s;if(void 0!==o)return o;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=n.reduce((t,{useScope:n,scopeName:r})=>{let o=n(e)[`__scope${r}`];return{...t,...o}},{});return(0,r.useMemo)(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}(o,...t)]}},67809:function(e,t,n){n.d(t,{gm:function(){return i}});var r=n(58496);let o=(0,r.createContext)(void 0);function i(e){let t=(0,r.useContext)(o);return e||t||"ltr"}},93996:function(e,t,n){let r;n.d(t,{XB:function(){return h}});var o=n(77363),i=n(58496),a=n(67326),l=n(21547),u=n(16612),s=n(68381
1);let c="dismissableLayer.update",f=(0,i.createContext)({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),h=(0,i.forwardRef)((e,t)=>{var n;let{disableOutsidePointerEvents:h=!1,onEscapeKeyDown:m,onPointerDownOutside:v,onFocusOutside:g,onInteractOutside:E,onDismiss:b,...y}=e,w=(0,i.useContext)(f),[T,_]=(0,i.useState)(null),M=null!==(n=null==T?void 0:T.ownerDocument)&&void 0!==n?n:null==globalThis?void 0:globalThis.document,[,A]=(0,i.useState)({}),C=(0,u.e)(t,e=>_(e)),S=Array.from(w.layers),[P]=[...w.layersWithOutsidePointerEventsDisabled].slice(-1),I=S.indexOf(P),O=T?S.indexOf(T):-1,R=w.layersWithOutsidePointerEventsDisabled.size>0,L=O>=I,H=function(e,t=null==globalThis?void 0:globalThis.document){let n=(0,s.W)(e),r=(0,i.useRef)(!1),o=(0,i.useRef)(()=>{});return(0,i.useEffect)(()=>{let e=e=>{if(e.target&&!r.current){let r={originalEvent:e};function i(){p("dismissableLayer.pointerDownOutside",n,r,{discrete:!0})}"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=i,t.addEventListener("click",o.current,{once:!0})):i()}else t.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}(e=>{let t=e.target,n=[...w.branches].some(e=>e.contains(t));!L||n||(null==v||v(e),null==E||E(e),e.defaultPrevented||null==b||b())},M),N=function(e,t=null==globalThis?void 0:globalThis.document){let n=(0,s.W)(e),r=(0,i.useRef)(!1);return(0,i.useEffect)(()=>{let e=e=>{e.target&&!r.current&&p("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}(e=>{let t=e.target;[...w.branches].some(e=>e.contains(t))||(null==g||g(e),null==E||E(e),e.defaultPrevented||null==b||b())},M);return!function(e,t=null==globalThis?void 0:globalThis.document){let n=(0,s.W)(e);(0,i.useEffect)(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)},[n,t])}(e=>{O!==w.layers.size-1||(null==m||m(e),!e.defaultPrevented&&b&&(e.preventDefault(),b()))},M),(0,i.useEffect)(()=>{if(T)return h&&(0===w.layersWithOutsidePointerEventsDisabled.size&&(r=M.body.style.pointerEvents,M.body.style.pointerEvents="none"),w.layersWithOutsidePointerEventsDisabled.add(T)),w.layers.add(T),d(),()=>{h&&1===w.layersWithOutsidePointerEventsDisabled.size&&(M.body.style.pointerEvents=r)}},[T,M,h,w]),(0,i.useEffect)(()=>()=>{T&&(w.layers.delete(T),w.layersWithOutsidePointerEventsDisabled.delete(T),d())},[T,w]),(0,i.useEffect)(()=>{let e=()=>A({});return document.addEventListener(c,e),()=>document.removeEventListener(c,e)},[]),(0,i.createElement)(l.WV.div,(0,o.Z)({},y,{ref:C,style:{pointerEvents:R?L?"auto":"none":void 0,...e.style},onFocusCapture:(0,a.M)(e.onFocusCapture,N.onFocusCapture),onBlurCapture:(0,a.M)(e.onBlurCapture,N.onBlurCapture),onPointerDownCapture:(0,a.M)(e.onPointerDownCapture,H.onPointerDownCapture)}))});function d(){let e=new CustomEvent(c);document.dispatchEvent(e)}function p(e,t,n,{discrete:r}){let o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?(0,l.jH)(o,i):o.dispatchEvent(i)}},71604:function(e,t,n){n.d(t,{EW:function(){return i}});var r=n(58496);let o=0;function i(){(0,r.useEffect)(()=>{var e,t;let n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:a()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:a()),o++,()=>{1===o&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),o--}},[])}function a(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}},86719:function(e,t,n){let r;n.d(t,{M:function(){return h}});var o=n(77363),i=n(58496),a=n(16612),l=n(21547),u=n(68381);let s="focusScope.autoFocusOnMount",c="focusScope.autoFocusOnUnmount",f={bubbles:!1,cancelable:!0},h=(0,i.forwardRef)((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:h,onUnmountAutoFocus:g,...E}=e,[b,y]=(0,i.useState)(null),w=(0,u.W)(h),T=(0,u.W)(g),_=(0,i.useRef)(null),M=(0,a.e)(t,e=>y(e)),A=(0,i.useRef)({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;(0,i.useEffect)(()=>
1{if(r){function e(e){if(A.paused||!b)return;let t=e.target;b.contains(t)?_.current=t:m(_.current,{select:!0})}function t(e){if(A.paused||!b)return;let t=e.relatedTarget;null===t||b.contains(t)||m(_.current,{select:!0})}document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&m(b)});return b&&n.observe(b,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[r,b,A.paused]),(0,i.useEffect)(()=>{if(b){v.add(A);let e=document.activeElement;if(!b.contains(e)){let t=new CustomEvent(s,f);b.addEventListener(s,w),b.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(m(r,{select:t}),document.activeElement!==n)return}(d(b).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&m(b))}return()=>{b.removeEventListener(s,w),setTimeout(()=>{let t=new CustomEvent(c,f);b.addEventListener(c,T),b.dispatchEvent(t),t.defaultPrevented||m(null!=e?e:document.body,{select:!0}),b.removeEventListener(c,T),v.remove(A)},0)}}},[b,w,T,A]);let C=(0,i.useCallback)(e=>{if(!n&&!r||A.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){let t=e.currentTarget,[r,i]=function(e){let t=d(e);return[p(t,e),p(t.reverse(),e)]}(t);r&&i?e.shiftKey||o!==i?e.shiftKey&&o===r&&(e.preventDefault(),n&&m(i,{select:!0})):(e.preventDefault(),n&&m(r,{select:!0})):o===t&&e.preventDefault()}},[n,r,A.paused]);return(0,i.createElement)(l.WV.div,(0,o.Z)({tabIndex:-1},E,{ref:M,onKeyDown:C}))});function d(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function p(e,t){for(let n of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function m(e,{select:t=!1}={}){if(e&&e.focus){var n;let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}let v=(r=[],{add(e){let t=r[0];e!==t&&(null==t||t.pause()),(r=g(r,e)).unshift(e)},remove(e){var t;null===(t=(r=g(r,e))[0])||void 0===t||t.resume()}});function g(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}},37677:function(e,t,n){n.d(t,{M:function(){return u}});var r,o=n(58496),i=n(77711);let a=(r||(r=n.t(o,2)))["useId".toString()]||(()=>void 0),l=0;function u(e){let[t,n]=o.useState(a());return(0,i.b)(()=>{e||n(e=>null!=e?e:String(l++))},[e]),e||(t?`radix-${t}`:"")}},63456:function(e,t,n){n.d(t,{VY:function(){return t4},ck:function(){return ne},v2:function(){return t9},h_:function(){return t7},fC:function(){return t3},xz:function(){return t5}});var r=n(77363),o=n(58496),i=n(28947),a=n(67809),l=n(67326),u=n(16612),s=n(41017),c=n(37677),f=n(93996),h=n(71604),d=n(86719);let p=["top","right","bottom","left"],m=Math.min,v=Math.max,g=Math.round,E=Math.floor,b=e=>({x:e,y:e}),y={left:"right",right:"left",bottom:"top",top:"bottom"},w={start:"end",end:"start"};function T(e,t){return"function"==typeof e?e(t):e}function _(e){return e.split("-")[0]}function M(e){return e.split("-")[1]}function A(e){return"x"===e?"y":"x"}function C(e){return"y"===e?"height":"width"}function S(e){return["top","bottom"].includes(_(e))?"y":"x"}function P(e){return e.replace(/start|end/g,e=>w[e])}function I(e){return e.replace(/left|right|bottom|top/g,e=>y[e])}function O(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function R(e){let{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function L(e,t,n){let r,{reference:o,floating:i}=e,a=S(t),l=A(S(t)),u=C(l),s=_(t),c="y"===a,f=o.x+o.width/2-i.width/2,h=o.y+o.height/2-i.height/2,d=o[u]/2-i[u]/2;switch(s){case"top":r={x:f,y:o.y-i.height};break;case"bottom":r={x:f,y:o.y+o.height};break;case"right":r={x:o.x+o.width,y:h};break;case"left":r={x:o.x-i.width,y:h};break;default:r={x:o.x,y:o.y}}switch(M(t)){case"start":r[l]-=d*(n&&c?-1:1);break;case"end":r[l]+=d*(n&&c?-1:1)}return r}let H=async(e,t,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}
1=n,l=i.filter(Boolean),u=await (null==a.isRTL?void 0:a.isRTL(t)),s=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:f}=L(s,r,u),h=r,d={},p=0;for(let n=0;n<l.length;n++){let{name:i,fn:m}=l[n],{x:v,y:g,data:E,reset:b}=await m({x:c,y:f,initialPlacement:r,placement:h,strategy:o,middlewareData:d,rects:s,platform:a,elements:{reference:e,floating:t}});c=null!=v?v:c,f=null!=g?g:f,d={...d,[i]:{...d[i],...E}},b&&p<=50&&(p++,"object"==typeof b&&(b.placement&&(h=b.placement),b.rects&&(s=!0===b.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):b.rects),{x:c,y:f}=L(s,h,u)),n=-1)}return{x:c,y:f,placement:h,strategy:o,middlewareData:d}};async function N(e,t){var n;void 0===t&&(t={});let{x:r,y:o,platform:i,rects:a,elements:l,strategy:u}=e,{boundary:s="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=T(t,e),p=O(d),m=l[h?"floating"===f?"reference":"floating":f],v=R(await i.getClippingRect({element:null==(n=await (null==i.isElement?void 0:i.isElement(m)))||n?m:m.contextElement||await (null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:s,rootBoundary:c,strategy:u})),g="floating"===f?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,E=await (null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),b=await (null==i.isElement?void 0:i.isElement(E))&&await (null==i.getScale?void 0:i.getScale(E))||{x:1,y:1},y=R(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:g,offsetParent:E,strategy:u}):g);return{top:(v.top-y.top+p.top)/b.y,bottom:(y.bottom-v.bottom+p.bottom)/b.y,left:(v.left-y.left+p.left)/b.x,right:(y.right-v.right+p.right)/b.x}}function B(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function x(e){return p.some(t=>e[t]>=0)}async function D(e,t){let{placement:n,platform:r,elements:o}=e,i=await (null==r.isRTL?void 0:r.isRTL(o.floating)),a=_(n),l=M(n),u="y"===S(n),s=["left","top"].includes(a)?-1:1,c=i&&u?-1:1,f=T(t,e),{mainAxis:h,crossAxis:d,alignmentAxis:p}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return l&&"number"==typeof p&&(d="end"===l?-1*p:p),u?{x:d*c,y:h*s}:{x:h*s,y:d*c}}function F(e){return U(e)?(e.nodeName||"").toLowerCase():"#document"}function k(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function G(e){var t;return null==(t=(U(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function U(e){return e instanceof Node||e instanceof k(e).Node}function V(e){return e instanceof Element||e instanceof k(e).Element}function j(e){return e instanceof HTMLElement||e instanceof k(e).HTMLElement}function Z(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof k(e).ShadowRoot)}function W(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=Y(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function K(e){let t=X(),n=Y(e);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some(e=>(n.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(n.contain||"").includes(e))}function X(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function z(e){return["html","body","#document"].includes(F(e))}function Y(e){return k(e).getComputedStyle(e)}function $(e){return V(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function q(e){if("html"===F(e))return e;let t=e.assignedSlot||e.parentNode||Z(e)&&e.host||G(e);return Z(t)?t.host:t}function Q(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let o=function e(t){let n=q(t);return z(n)?t.ownerDocument?t.ownerDocument.body:t.body:j(n)&&W(n)?n:e(n)}(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=k(o);
1return i?t.concat(a,a.visualViewport||[],W(o)?o:[],a.frameElement&&n?Q(a.frameElement):[]):t.concat(o,Q(o,[],n))}function J(e){let t=Y(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,o=j(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,l=g(n)!==i||g(r)!==a;return l&&(n=i,r=a),{width:n,height:r,$:l}}function ee(e){return V(e)?e:e.contextElement}function et(e){let t=ee(e);if(!j(t))return b(1);let n=t.getBoundingClientRect(),{width:r,height:o,$:i}=J(t),a=(i?g(n.width):n.width)/r,l=(i?g(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}let en=b(0);function er(e){let t=k(e);return X()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:en}function eo(e,t,n,r){var o;void 0===t&&(t=!1),void 0===n&&(n=!1);let i=e.getBoundingClientRect(),a=ee(e),l=b(1);t&&(r?V(r)&&(l=et(r)):l=et(e));let u=(void 0===(o=n)&&(o=!1),r&&(!o||r===k(a))&&o)?er(a):b(0),s=(i.left+u.x)/l.x,c=(i.top+u.y)/l.y,f=i.width/l.x,h=i.height/l.y;if(a){let e=k(a),t=r&&V(r)?k(r):r,n=e,o=n.frameElement;for(;o&&r&&t!==n;){let e=et(o),t=o.getBoundingClientRect(),r=Y(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;s*=e.x,c*=e.y,f*=e.x,h*=e.y,s+=i,c+=a,o=(n=k(o)).frameElement}}return R({width:f,height:h,x:s,y:c})}let ei=[":popover-open",":modal"];function ea(e){return ei.some(t=>{try{return e.matches(t)}catch(e){return!1}})}function el(e){return eo(G(e)).left+$(e).scrollLeft}function eu(e,t,n){let r;if("viewport"===t)r=function(e,t){let n=k(e),r=G(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,l=0,u=0;if(o){i=o.width,a=o.height;let e=X();(!e||e&&"fixed"===t)&&(l=o.offsetLeft,u=o.offsetTop)}return{width:i,height:a,x:l,y:u}}(e,n);else if("document"===t)r=function(e){let t=G(e),n=$(e),r=e.ownerDocument.body,o=v(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=v(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),a=-n.scrollLeft+el(e),l=-n.scrollTop;return"rtl"===Y(r).direction&&(a+=v(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:l}}(G(e));else if(V(t))r=function(e,t){let n=eo(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=j(e)?et(e):b(1),a=e.clientWidth*i.x;return{width:a,height:e.clientHeight*i.y,x:o*i.x,y:r*i.y}}(t,n);else{let n=er(e);r={...t,x:t.x-n.x,y:t.y-n.y}}return R(r)}function es(e){return"static"===Y(e).position}function ec(e,t){return j(e)&&"fixed"!==Y(e).position?t?t(e):e.offsetParent:null}function ef(e,t){let n=k(e);if(ea(e))return n;if(!j(e)){let t=q(e);for(;t&&!z(t);){if(V(t)&&!es(t))return t;t=q(t)}return n}let r=ec(e,t);for(;r&&["table","td","th"].includes(F(r))&&es(r);)r=ec(r,t);return r&&z(r)&&es(r)&&!K(r)?n:r||function(e){let t=q(e);for(;j(t)&&!z(t);){if(K(t))return t;t=q(t)}return null}(e)||n}let eh=async function(e){let t=this.getOffsetParent||ef,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=j(t),o=G(t),i="fixed"===n,a=eo(e,!0,i,t),l={scrollLeft:0,scrollTop:0},u=b(0);if(r||!r&&!i){if(("body"!==F(t)||W(o))&&(l=$(t)),r){let e=eo(t,!0,i,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else o&&(u.x=el(o))}return{x:a.left+l.scrollLeft-u.x,y:a.top+l.scrollTop-u.y,width:a.width,height:a.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},ed={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e,i="fixed"===o,a=G(r),l=!!t&&ea(t.floating);if(r===a||l&&i)return n;let u={scrollLeft:0,scrollTop:0},s=b(1),c=b(0),f=j(r);if((f||!f&&!i)&&(("body"!==F(r)||W(a))&&(u=$(r)),j(r))){let e=eo(r);s=et(r),c.x=e.x+r.clientLeft,c.y=e.y+r.clientTop}return{width:n.width*s.x,height:n.height*s.y,x:n.x*s.x-u.scrollLeft*s.x+c.x,y:n.y*s.y-u.scrollTop*s.y+c.y}},getDocumentElement:G,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e,i=[..."clippingAncestors"===n?ea(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=Q(e,[],!1).filter(e=>V(e)&&"body"!==F(e)),o=null,i="fixed"===Y(e).position,a=i?q(e):e;for(;V(a)&&!z(a);){let t=Y(a),n=K(a);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&!!o&&["absolute","fixed"].includes(o.position)||W(a)&&!n&&function e(t,n){let r=q(t);return!(r===n||!V(r)||z(r))&&("fixed"===Y(r).position||e(r,n))}(e,a))?r=r.filter(e=>e!==a):o=t,a=q(a)}return t.set(e,r),r}(t,this._c):[].concat(n),r],a=i[0],l=i.reduce((e,n)=>{let r=eu(t,n,o);return e.top=v(r.top,e.top),e.right=m(r.right,e.right),e.bottom=m(r.bottom,e.bottom),e.left=v(r.left,e.left),e},eu(t,a,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:ef,getElementRects:eh,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=J(e);return{width:t,height:n}},getScale:et,isElement:V,isRTL:function(e){return"rtl"===Y(e).direction}}
1,ep=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:o,rects:i,platform:a,elements:l,middlewareData:u}=t,{element:s,padding:c=0}=T(e,t)||{};if(null==s)return{};let f=O(c),h={x:n,y:r},d=A(S(o)),p=C(d),g=await a.getDimensions(s),E="y"===d,b=E?"clientHeight":"clientWidth",y=i.reference[p]+i.reference[d]-h[d]-i.floating[p],w=h[d]-i.reference[d],_=await (null==a.getOffsetParent?void 0:a.getOffsetParent(s)),P=_?_[b]:0;P&&await (null==a.isElement?void 0:a.isElement(_))||(P=l.floating[b]||i.floating[p]);let I=P/2-g[p]/2-1,R=m(f[E?"top":"left"],I),L=m(f[E?"bottom":"right"],I),H=P-g[p]-L,N=P/2-g[p]/2+(y/2-w/2),B=v(R,m(N,H)),x=!u.arrow&&null!=M(o)&&N!==B&&i.reference[p]/2-(N<R?R:L)-g[p]/2<0,D=x?N<R?N-R:N-H:0;return{[d]:h[d]+D,data:{[d]:B,centerOffset:N-B-D,...x&&{alignmentOffset:D}},reset:x}}}),em=(e,t,n)=>{let r=new Map,o={platform:ed,...n},i={...o.platform,_c:r};return H(e,t,{...o,platform:i})};var ev=n(81720),eg="undefined"!=typeof document?o.useLayoutEffect:o.useEffect;function eE(e,t){let n,r,o;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!eE(e[r],t[r]))return!1;return!0}if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){let n=o[r];if(("_owner"!==n||!e.$$typeof)&&!eE(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function eb(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ey(e,t){let n=eb(e);return Math.round(t*n)/n}function ew(e){let t=o.useRef(e);return eg(()=>{t.current=e}),t}let eT=e=>({name:"arrow",options:e,fn(t){let{element:n,padding:r}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?ep({element:n.current,padding:r}).fn(t):{}:n?ep({element:n,padding:r}).fn(t):{}}}),e_=(e,t)=>{var n;return{...(void 0===(n=e)&&(n=0),{name:"offset",options:n,async fn(e){var t,r;let{x:o,y:i,placement:a,middlewareData:l}=e,u=await D(e,n);return a===(null==(t=l.offset)?void 0:t.placement)&&null!=(r=l.arrow)&&r.alignmentOffset?{}:{x:o+u.x,y:i+u.y,data:{...u,placement:a}}}}),options:[e,t]}},eM=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"shift",options:n,async fn(e){let{x:t,y:r,placement:o}=e,{mainAxis:i=!0,crossAxis:a=!1,limiter:l={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...u}=T(n,e),s={x:t,y:r},c=await N(e,u),f=S(_(o)),h=A(f),d=s[h],p=s[f];if(i){let e="y"===h?"top":"left",t="y"===h?"bottom":"right",n=d+c[e],r=d-c[t];d=v(n,m(d,r))}if(a){let e="y"===f?"top":"left",t="y"===f?"bottom":"right",n=p+c[e],r=p-c[t];p=v(n,m(p,r))}let g=l.fn({...e,[h]:d,[f]:p});return{...g,data:{x:g.x-t,y:g.y-r}}}}),options:[e,t]}},eA=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{options:n,fn(e){let{x:t,y:r,placement:o,rects:i,middlewareData:a}=e,{offset:l=0,mainAxis:u=!0,crossAxis:s=!0}=T(n,e),c={x:t,y:r},f=S(o),h=A(f),d=c[h],p=c[f],m=T(l,e),v="number"==typeof m?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(u){let e="y"===h?"height":"width",t=i.reference[h]-i.floating[e]+v.mainAxis,n=i.reference[h]+i.reference[e]-v.mainAxis;d<t?d=t:d>n&&(d=n)}if(s){var g,E;let e="y"===h?"width":"height",t=["top","left"].includes(_(o)),n=i.reference[f]-i.floating[e]+(t&&(null==(g=a.offset)?void 0:g[f])||0)+(t?0:v.crossAxis),r=i.reference[f]+i.reference[e]+(t?0:(null==(E=a.offset)?void 0:E[f])||0)-(t?v.crossAxis:0);p<n?p=n:p>r&&(p=r)}return{[h]:d,[f]:p}}}),options:[e,t]}},eC=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"flip",options:n,async fn(e){var t,r,o,i,a;let{placement:l,middlewareData:u,rects:s,initialPlacement:c,platform:f,elements:h}=e,{mainAxis:d=!0,crossAxis:p=!0,fallbackPlacements:m,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:E=!0,...b}=T(n,e);if(null!=(t=u.arrow)&&t.alignmentOffset)return{};let y=_(l),w=_(c)===c,O=await (null==f.isRTL?void 0:f.isRTL(h.floating)),R=m||(w||!E?[I(c)]:function(e){let t=I(e);return[P(e),t,P(t)]}(c));m||"none"===g||R.push(...function(e,t,n,r){let o=M(e),i=function(e,t,n){let r=["left","right"],o=["right","left"];switch(e){case"top":case"bottom":if(n)return t?o:r;return t?r:o;case"left":case"right":return t?["top","bottom"]:["bottom","top"];default:return[]}}(_(e),"start"===n,r);return o&&(i=i.map(e=>e+"-"+o),t&&(i=i.concat(i.map(P)))),i}(c,E,g,O));let L=[c,...R],H=await N(e,b),B=[],x=(null==(r=u.flip)?void 0:r.overflows)||[];if(d&&B.push(H[y]),p){let e=function(e,t,n){void 0===n&&(n=!1);let r=M(e),o=A(S(e)),i=C(o),a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=I(a)),[a,I(a)]}(l,s,O);B.push(H[e[0]],H[e[1]])}if(x=[...x,{placement:l,overflows:B}],!B.every(e=>e<=0)){let e=((null==(o=u.flip)?void 0:o.index)||0)+1,t=L[e];if(t)return{data:{index:e,overflows:x},reset:{placement:t}};let n=null==(i=x.filter(e=>e.overflows[0]<=0).sort((e,t)=>
1e.overflows[1]-t.overflows[1])[0])?void 0:i.placement;if(!n)switch(v){case"bestFit":{let e=null==(a=x.map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:a[0];e&&(n=e);break}case"initialPlacement":n=c}if(l!==n)return{reset:{placement:n}}}return{}}}),options:[e,t]}},eS=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"size",options:n,async fn(e){let t,r;let{placement:o,rects:i,platform:a,elements:l}=e,{apply:u=()=>{},...s}=T(n,e),c=await N(e,s),f=_(o),h=M(o),d="y"===S(o),{width:p,height:g}=i.floating;"top"===f||"bottom"===f?(t=f,r=h===(await (null==a.isRTL?void 0:a.isRTL(l.floating))?"start":"end")?"left":"right"):(r=f,t="end"===h?"top":"bottom");let E=g-c.top-c.bottom,b=p-c.left-c.right,y=m(g-c[t],E),w=m(p-c[r],b),A=!e.middlewareData.shift,C=y,P=w;if(d?P=h||A?m(w,b):b:C=h||A?m(y,E):E,A&&!h){let e=v(c.left,0),t=v(c.right,0),n=v(c.top,0),r=v(c.bottom,0);d?P=p-2*(0!==e||0!==t?e+t:v(c.left,c.right)):C=g-2*(0!==n||0!==r?n+r:v(c.top,c.bottom))}await u({...e,availableWidth:P,availableHeight:C});let I=await a.getDimensions(l.floating);return p!==I.width||g!==I.height?{reset:{rects:!0}}:{}}}),options:[e,t]}},eP=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"hide",options:n,async fn(e){let{rects:t}=e,{strategy:r="referenceHidden",...o}=T(n,e);switch(r){case"referenceHidden":{let n=B(await N(e,{...o,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:x(n)}}}case"escaped":{let n=B(await N(e,{...o,altBoundary:!0}),t.floating);return{data:{escapedOffsets:n,escaped:x(n)}}}default:return{}}}}),options:[e,t]}},eI=(e,t)=>({...eT(e),options:[e,t]});var eO=n(21547);let eR=(0,o.forwardRef)((e,t)=>{let{children:n,width:i=10,height:a=5,...l}=e;return(0,o.createElement)(eO.WV.svg,(0,r.Z)({},l,{ref:t,width:i,height:a,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:(0,o.createElement)("polygon",{points:"0,0 30,0 15,10"}))});var eL=n(68381),eH=n(77711);let eN="Popper",[eB,ex]=(0,s.b)(eN),[eD,eF]=eB(eN),ek=(0,o.forwardRef)((e,t)=>{let{__scopePopper:n,virtualRef:i,...a}=e,l=eF("PopperAnchor",n),s=(0,o.useRef)(null),c=(0,u.e)(t,s);return(0,o.useEffect)(()=>{l.onAnchorChange((null==i?void 0:i.current)||s.current)}),i?null:(0,o.createElement)(eO.WV.div,(0,r.Z)({},a,{ref:c}))}),eG="PopperContent",[eU,eV]=eB(eG),ej=(0,o.forwardRef)((e,t)=>{var n,i,a,l,s,c,f,h;let{__scopePopper:d,side:p="bottom",sideOffset:g=0,align:b="center",alignOffset:y=0,arrowPadding:w=0,avoidCollisions:T=!0,collisionBoundary:_=[],collisionPadding:M=0,sticky:A="partial",hideWhenDetached:C=!1,updatePositionStrategy:S="optimized",onPlaced:P,...I}=e,O=eF(eG,d),[R,L]=(0,o.useState)(null),H=(0,u.e)(t,e=>L(e)),[N,B]=(0,o.useState)(null),x=function(e){let[t,n]=(0,o.useState)(void 0);return(0,eH.b)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,o;if(!Array.isArray(t)||!t.length)return;let i=t[0];if("borderBoxSize"in i){let e=i.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,o=t.blockSize}else r=e.offsetWidth,o=e.offsetHeight;n({width:r,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}(N),D=null!==(n=null==x?void 0:x.width)&&void 0!==n?n:0,F=null!==(i=null==x?void 0:x.height)&&void 0!==i?i:0,k="number"==typeof M?M:{top:0,right:0,bottom:0,left:0,...M},U=Array.isArray(_)?_:[_],V=U.length>0,j={padding:k,boundary:U.filter(eK),altBoundary:V},{refs:Z,floatingStyles:W,placement:K,isPositioned:X,middlewareData:z}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:a,floating:l}={},transform:u=!0,whileElementsMounted:s,open:c}=e,[f,h]=o.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[d,p]=o.useState(r);eE(d,r)||p(r);let[m,v]=o.useState(null),[g,E]=o.useState(null),b=o.useCallback(e=>{e!==_.current&&(_.current=e,v(e))},[]),y=o.useCallback(e=>{e!==M.current&&(M.current=e,E(e))},[]),w=a||m,T=l||g,_=o.useRef(null),M=o.useRef(null),A=o.useRef(f),C=null!=s,S=ew(s),P=ew(i),I=o.useCallback(()=>
1{if(!_.current||!M.current)return;let e={placement:t,strategy:n,middleware:d};P.current&&(e.platform=P.current),em(_.current,M.current,e).then(e=>{let t={...e,isPositioned:!0};O.current&&!eE(A.current,t)&&(A.current=t,ev.flushSync(()=>{h(t)}))})},[d,t,n,P]);eg(()=>{!1===c&&A.current.isPositioned&&(A.current.isPositioned=!1,h(e=>({...e,isPositioned:!1})))},[c]);let O=o.useRef(!1);eg(()=>(O.current=!0,()=>{O.current=!1}),[]),eg(()=>{if(w&&(_.current=w),T&&(M.current=T),w&&T){if(S.current)return S.current(w,T,I);I()}},[w,T,I,S,C]);let R=o.useMemo(()=>({reference:_,floating:M,setReference:b,setFloating:y}),[b,y]),L=o.useMemo(()=>({reference:w,floating:T}),[w,T]),H=o.useMemo(()=>{let e={position:n,left:0,top:0};if(!L.floating)return e;let t=ey(L.floating,f.x),r=ey(L.floating,f.y);return u?{...e,transform:"translate("+t+"px, "+r+"px)",...eb(L.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,u,L.floating,f.x,f.y]);return o.useMemo(()=>({...f,update:I,refs:R,elements:L,floatingStyles:H}),[f,I,R,L,H])}({strategy:"fixed",placement:p+("center"!==b?"-"+b:""),whileElementsMounted:(...e)=>(function(e,t,n,r){let o;void 0===r&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:s=!1}=r,c=ee(e),f=i||a?[...c?Q(c):[],...Q(t)]:[];f.forEach(e=>{i&&e.addEventListener("scroll",n,{passive:!0}),a&&e.addEventListener("resize",n)});let h=c&&u?function(e,t){let n,r=null,o=G(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function a(l,u){void 0===l&&(l=!1),void 0===u&&(u=1),i();let{left:s,top:c,width:f,height:h}=e.getBoundingClientRect();if(l||t(),!f||!h)return;let d=E(c),p=E(o.clientWidth-(s+f)),g={rootMargin:-d+"px "+-p+"px "+-E(o.clientHeight-(c+h))+"px "+-E(s)+"px",threshold:v(0,m(1,u))||1},b=!0;function y(e){let t=e[0].intersectionRatio;if(t!==u){if(!b)return a();t?a(!1,t):n=setTimeout(()=>{a(!1,1e-7)},1e3)}b=!1}try{r=new IntersectionObserver(y,{...g,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(y,g)}r.observe(e)}(!0),i}(c,n):null,d=-1,p=null;l&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&p&&(p.unobserve(t),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var e;null==(e=p)||e.observe(t)})),n()}),c&&!s&&p.observe(c),p.observe(t));let g=s?eo(e):null;return s&&function t(){let r=eo(e);g&&(r.x!==g.x||r.y!==g.y||r.width!==g.width||r.height!==g.height)&&n(),g=r,o=requestAnimationFrame(t)}(),n(),()=>{var e;f.forEach(e=>{i&&e.removeEventListener("scroll",n),a&&e.removeEventListener("resize",n)}),null==h||h(),null==(e=p)||e.disconnect(),p=null,s&&cancelAnimationFrame(o)}})(...e,{animationFrame:"always"===S}),elements:{reference:O.anchor},middleware:[e_({mainAxis:g+F,alignmentAxis:y}),T&&eM({mainAxis:!0,crossAxis:!1,limiter:"partial"===A?eA():void 0,...j}),T&&eC({...j}),eS({...j,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:o,height:i}=t.reference,a=e.floating.style;a.setProperty("--radix-popper-available-width",`${n}px`),a.setProperty("--radix-popper-available-height",`${r}px`),a.setProperty("--radix-popper-anchor-width",`${o}px`),a.setProperty("--radix-popper-anchor-height",`${i}px`)}}),N&&eI({element:N,padding:w}),eX({arrowWidth:D,arrowHeight:F}),C&&eP({strategy:"referenceHidden",...j})]}),[Y,$]=ez(K),q=(0,eL.W)(P);(0,eH.b)(()=>{X&&(null==q||q())},[X,q]);let J=null===(a=z.arrow)||void 0===a?void 0:a.x,et=null===(l=z.arrow)||void 0===l?void 0:l.y,en=(null===(s=z.arrow)||void 0===s?void 0:s.centerOffset)!==0,[er,ei]=(0,o.useState)();return(0,eH.b)(()=>{R&&ei(window.getComputedStyle(R).zIndex)},[R]),(0,o.createElement)("div",{ref:Z.setFloating,"data-radix-popper-content-wrapper":"",style:{...W,transform:X?W.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:er,"--radix-popper-transform-origin":[null===(c=z.transformOrigin)||void 0===c?void 0:c.x,null===(f=z.transformOrigin)||void 0===f?void 0:f.y].join(" ")},dir:e.dir},(0,o.createElement)(eU,{scope:d,placedSide:Y,onArrowChange:B,arrowX:J,arrowY:et,shouldHideArrow:en},(0,o.createElement)(eO.WV.div,(0,r.Z)({"data-side":Y,"data-align":$},I,{ref:H,style:{...I.style,animation:X?void 0:"none",opacity:null!==(h=z.hide)&&void 0!==h&&h.referenceHidden?0:void 0}}))))}
1),eZ={top:"bottom",right:"left",bottom:"top",left:"right"},eW=(0,o.forwardRef)(function(e,t){let{__scopePopper:n,...i}=e,a=eV("PopperArrow",n),l=eZ[a.placedSide];return(0,o.createElement)("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[l]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0}},(0,o.createElement)(eR,(0,r.Z)({},i,{ref:t,style:{...i.style,display:"block"}})))});function eK(e){return null!==e}let eX=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,a;let{placement:l,rects:u,middlewareData:s}=t,c=(null===(n=s.arrow)||void 0===n?void 0:n.centerOffset)!==0,f=c?0:e.arrowWidth,h=c?0:e.arrowHeight,[d,p]=ez(l),m={start:"0%",center:"50%",end:"100%"}[p],v=(null!==(r=null===(o=s.arrow)||void 0===o?void 0:o.x)&&void 0!==r?r:0)+f/2,g=(null!==(i=null===(a=s.arrow)||void 0===a?void 0:a.y)&&void 0!==i?i:0)+h/2,E="",b="";return"bottom"===d?(E=c?m:`${v}px`,b=`${-h}px`):"top"===d?(E=c?m:`${v}px`,b=`${u.floating.height+h}px`):"right"===d?(E=`${-h}px`,b=c?m:`${g}px`):"left"===d&&(E=`${u.floating.width+h}px`,b=c?m:`${g}px`),{data:{x:E,y:b}}}});function ez(e){let[t,n="center"]=e.split("-");return[t,n]}let eY=e=>{let{__scopePopper:t,children:n}=e,[r,i]=(0,o.useState)(null);return(0,o.createElement)(eD,{scope:t,anchor:r,onAnchorChange:i},n)};var e$=n(30673),eq=n(69388),eQ=n(53156),eJ=n(93260),e0=n(2605),e1=n(26075);let e2=["Enter"," "],e6=["ArrowUp","PageDown","End"],e8=["ArrowDown","PageUp","Home",...e6],e3={ltr:[...e2,"ArrowRight"],rtl:[...e2,"ArrowLeft"]},e9={ltr:["ArrowLeft"],rtl:["ArrowRight"]},e5="Menu",[e7,e4,te]=(0,i.B)(e5),[tt,tn]=(0,s.b)(e5,[te,ex,eQ.Pc]),tr=ex(),to=(0,eQ.Pc)(),[ti,ta]=tt(e5),[tl,tu]=tt(e5),ts=(0,o.forwardRef)((e,t)=>{let{__scopeMenu:n,...i}=e,a=tr(n);return(0,o.createElement)(ek,(0,r.Z)({},a,i,{ref:t}))}),tc="MenuPortal",[tf,th]=tt(tc,{forceMount:void 0}),td="MenuContent",[tp,tm]=tt(td),tv=(0,o.forwardRef)((e,t)=>{let n=th(td,e.__scopeMenu),{forceMount:i=n.forceMount,...a}=e,l=ta(td,e.__scopeMenu),u=tu(td,e.__scopeMenu);return(0,o.createElement)(e7.Provider,{scope:e.__scopeMenu},(0,o.createElement)(eq.z,{present:i||l.open},(0,o.createElement)(e7.Slot,{scope:e.__scopeMenu},u.modal?(0,o.createElement)(tg,(0,r.Z)({},a,{ref:t})):(0,o.createElement)(tE,(0,r.Z)({},a,{ref:t})))))}),tg=(0,o.forwardRef)((e,t)=>{let n=ta(td,e.__scopeMenu),i=(0,o.useRef)(null),a=(0,u.e)(t,i);return(0,o.useEffect)(()=>{let e=i.current;if(e)return(0,e0.Ry)(e)},[]),(0,o.createElement)(tb,(0,r.Z)({},e,{ref:a,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:(0,l.M)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)}))}),tE=(0,o.forwardRef)((e,t)=>{let n=ta(td,e.__scopeMenu);return(0,o.createElement)(tb,(0,r.Z)({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)}))}),tb=(0,o.forwardRef)((e,t)=>{let{__scopeMenu:n,loop:i=!1,trapFocus:a,onOpenAutoFocus:s,onCloseAutoFocus:c,disableOutsidePointerEvents:p,onEntryFocus:m,onEscapeKeyDown:v,onPointerDownOutside:g,onFocusOutside:E,onInteractOutside:b,onDismiss:y,disableOutsideScroll:w,...T}=e,_=ta(td,n),M=tu(td,n),A=tr(n),C=to(n),S=e4(n),[P,I]=(0,o.useState)(null),O=(0,o.useRef)(null),R=(0,u.e)(t,O,_.onContentChange),L=(0,o.useRef)(0),H=(0,o.useRef)(""),N=(0,o.useRef)(0),B=(0,o.useRef)(null),x=(0,o.useRef)("right"),D=(0,o.useRef)(0),F=w?e1.Z:o.Fragment,k=w?{as:eJ.g7,allowPinchZoom:!0}:void 0,G=e=>{var t,n;let r=H.current+e,o=S().filter(e=>!e.disabled),i=document.activeElement,a=null===(t=o.find(e=>e.ref.current===i))||void 0===t?void 0:t.textValue,l=function(e,t,n){var r;let o=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=(r=Math.max(n?e.indexOf(n):-1,0),e.map((t,n)=>e[(r+n)%e.length]));1===o.length&&(i=i.filter(e=>e!==n));let a=i.find(e=>e.toLowerCase().startsWith(o.toLowerCase()));return a!==n?a:void 0}(o.map(e=>e.textValue),r,a),u=null===(n=o.find(e=>e.textValue===l))||void 0===n?void 0:n.ref.current;!function e(t){H.current=t,window.clearTimeout(L.current),""!==t&&(L.current=window.setTimeout(()=>e(""),1e3))}(r),u&&setTimeout(()=>
1u.focus())};(0,o.useEffect)(()=>()=>window.clearTimeout(L.current),[]),(0,h.EW)();let U=(0,o.useCallback)(e=>{var t,n,r;return x.current===(null===(t=B.current)||void 0===t?void 0:t.side)&&!!(r=null===(n=B.current)||void 0===n?void 0:n.area)&&function(e,t){let{x:n,y:r}=e,o=!1;for(let e=0,i=t.length-1;e<t.length;i=e++){let a=t[e].x,l=t[e].y,u=t[i].x,s=t[i].y;l>r!=s>r&&n<(u-a)*(r-l)/(s-l)+a&&(o=!o)}return o}({x:e.clientX,y:e.clientY},r)},[]);return(0,o.createElement)(tp,{scope:n,searchRef:H,onItemEnter:(0,o.useCallback)(e=>{U(e)&&e.preventDefault()},[U]),onItemLeave:(0,o.useCallback)(e=>{var t;U(e)||(null===(t=O.current)||void 0===t||t.focus(),I(null))},[U]),onTriggerLeave:(0,o.useCallback)(e=>{U(e)&&e.preventDefault()},[U]),pointerGraceTimerRef:N,onPointerGraceIntentChange:(0,o.useCallback)(e=>{B.current=e},[])},(0,o.createElement)(F,k,(0,o.createElement)(d.M,{asChild:!0,trapped:a,onMountAutoFocus:(0,l.M)(s,e=>{var t;e.preventDefault(),null===(t=O.current)||void 0===t||t.focus()}),onUnmountAutoFocus:c},(0,o.createElement)(f.XB,{asChild:!0,disableOutsidePointerEvents:p,onEscapeKeyDown:v,onPointerDownOutside:g,onFocusOutside:E,onInteractOutside:b,onDismiss:y},(0,o.createElement)(eQ.fC,(0,r.Z)({asChild:!0},C,{dir:M.dir,orientation:"vertical",loop:i,currentTabStopId:P,onCurrentTabStopIdChange:I,onEntryFocus:(0,l.M)(m,e=>{M.isUsingKeyboardRef.current||e.preventDefault()})}),(0,o.createElement)(ej,(0,r.Z)({role:"menu","aria-orientation":"vertical","data-state":tH(_.open),"data-radix-menu-content":"",dir:M.dir},A,T,{ref:R,style:{outline:"none",...T.style},onKeyDown:(0,l.M)(T.onKeyDown,e=>{let t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,r=1===e.key.length;t&&("Tab"===e.key&&e.preventDefault(),!n&&r&&G(e.key));let o=O.current;if(e.target!==o||!e8.includes(e.key))return;e.preventDefault();let i=S().filter(e=>!e.disabled).map(e=>e.ref.current);e6.includes(e.key)&&i.reverse(),function(e){let t=document.activeElement;for(let n of e)if(n===t||(n.focus(),document.activeElement!==t))return}(i)}),onBlur:(0,l.M)(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(L.current),H.current="")}),onPointerMove:(0,l.M)(e.onPointerMove,tx(e=>{let t=e.target,n=D.current!==e.clientX;if(e.currentTarget.contains(t)&&n){let t=e.clientX>D.current?"right":"left";x.current=t,D.current=e.clientX}}))})))))))}),ty=(0,o.forwardRef)((e,t)=>{let{__scopeMenu:n,...i}=e;return(0,o.createElement)(eO.WV.div,(0,r.Z)({role:"group"},i,{ref:t}))}),tw=((e,t)=>{let{__scopeMenu:n,...i}=e;return(0,o.createElement)(eO.WV.div,(0,r.Z)({},i,{ref:t}))},"MenuItem"),tT="menu.itemSelect",t_=(0,o.forwardRef)((e,t)=>{let{disabled:n=!1,onSelect:i,...a}=e,s=(0,o.useRef)(null),c=tu(tw,e.__scopeMenu),f=tm(tw,e.__scopeMenu),h=(0,u.e)(t,s),d=(0,o.useRef)(!1);return(0,o.createElement)(tM,(0,r.Z)({},a,{ref:h,disabled:n,onClick:(0,l.M)(e.onClick,()=>{let e=s.current;if(!n&&e){let t=new CustomEvent(tT,{bubbles:!0,cancelable:!0});e.addEventListener(tT,e=>null==i?void 0:i(e),{once:!0}),(0,eO.jH)(e,t),t.defaultPrevented?d.current=!1:c.onClose()}}),onPointerDown:t=>{var n;null===(n=e.onPointerDown)||void 0===n||n.call(e,t),d.current=!0},onPointerUp:(0,l.M)(e.onPointerUp,e=>{var t;d.current||null===(t=e.currentTarget)||void 0===t||t.click()}),onKeyDown:(0,l.M)(e.onKeyDown,e=>{let t=""!==f.searchRef.current;!n&&(!t||" "!==e.key)&&e2.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})}))}),tM=(0,o.forwardRef)((e,t)=>{let{__scopeMenu:n,disabled:i=!1,textValue:a,...s}=e,c=tm(tw,n),f=to(n),h=(0,o.useRef)(null),d=(0,u.e)(t,h),[p,m]=(0,o.useState)(!1),[v,g]=(0,o.useState)("");return(0,o.useEffect)(()=>{let e=h.current;if(e){var t;g((null!==(t=e.textContent)&&void 0!==t?t:"").trim())}},[s.children]),(0,o.createElement)(e7.ItemSlot,{scope:n,disabled:i,textValue:null!=a?a:v},(0,o.createElement)(eQ.ck,(0,r.Z)({asChild:!0},f,{focusable:!i}),(0,o.createElement)(eO.WV.div,(0,r.Z)({role:"menuitem","data-highlighted":p?"":void 0,"aria-disabled":i||void 0,"data-disabled":i?"":void 0},s,{ref:d,onPointerMove:(0,l.M)(e.onPointerMove,tx(e=>{i?c.onItemLeave(e):(c.onItemEnter(e),e.defaultPrevented||e.currentTarget.focu
1s())})),onPointerLeave:(0,l.M)(e.onPointerLeave,tx(e=>c.onItemLeave(e))),onFocus:(0,l.M)(e.onFocus,()=>m(!0)),onBlur:(0,l.M)(e.onBlur,()=>m(!1))}))))}),[tA,tC]=((e,t)=>{let{checked:n=!1,onCheckedChange:i,...a}=e;return(0,o.createElement)(tP,{scope:e.__scopeMenu,checked:n},(0,o.createElement)(t_,(0,r.Z)({role:"menuitemcheckbox","aria-checked":tN(n)?"mixed":n},a,{ref:t,"data-state":tB(n),onSelect:(0,l.M)(a.onSelect,()=>null==i?void 0:i(!!tN(n)||!n),{checkForDefaultPrevented:!1})})))},tt("MenuRadioGroup",{value:void 0,onValueChange:()=>{}})),tS=((e,t)=>{let{value:n,onValueChange:i,...a}=e,l=(0,eL.W)(i);return(0,o.createElement)(tA,{scope:e.__scopeMenu,value:n,onValueChange:l},(0,o.createElement)(ty,(0,r.Z)({},a,{ref:t})))},"MenuItemIndicator"),[tP,tI]=tt(tS,{checked:!1}),[tO,tR]=((e,t)=>{let{__scopeMenu:n,forceMount:i,...a}=e,l=tI(tS,n);return(0,o.createElement)(eq.z,{present:i||tN(l.checked)||!0===l.checked},(0,o.createElement)(eO.WV.span,(0,r.Z)({},a,{ref:t,"data-state":tB(l.checked)})))},tt("MenuSub")),tL="MenuSubTrigger";function tH(e){return e?"open":"closed"}function tN(e){return"indeterminate"===e}function tB(e){return tN(e)?"indeterminate":e?"checked":"unchecked"}function tx(e){return t=>"mouse"===t.pointerType?e(t):void 0}(e,t)=>{let n=ta(tL,e.__scopeMenu),i=tu(tL,e.__scopeMenu),a=tR(tL,e.__scopeMenu),s=tm(tL,e.__scopeMenu),c=(0,o.useRef)(null),{pointerGraceTimerRef:f,onPointerGraceIntentChange:h}=s,d={__scopeMenu:e.__scopeMenu},p=(0,o.useCallback)(()=>{c.current&&window.clearTimeout(c.current),c.current=null},[]);return(0,o.useEffect)(()=>p,[p]),(0,o.useEffect)(()=>{let e=f.current;return()=>{window.clearTimeout(e),h(null)}},[f,h]),(0,o.createElement)(ts,(0,r.Z)({asChild:!0},d),(0,o.createElement)(tM,(0,r.Z)({id:a.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":a.contentId,"data-state":tH(n.open)},e,{ref:(0,u.F)(t,a.onTriggerChange),onClick:t=>{var r;null===(r=e.onClick)||void 0===r||r.call(e,t),e.disabled||t.defaultPrevented||(t.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:(0,l.M)(e.onPointerMove,tx(t=>{s.onItemEnter(t),t.defaultPrevented||e.disabled||n.open||c.current||(s.onPointerGraceIntentChange(null),c.current=window.setTimeout(()=>{n.onOpenChange(!0),p()},100))})),onPointerLeave:(0,l.M)(e.onPointerLeave,tx(e=>{var t,r;p();let o=null===(t=n.content)||void 0===t?void 0:t.getBoundingClientRect();if(o){let t=null===(r=n.content)||void 0===r?void 0:r.dataset.side,i="right"===t,a=o[i?"left":"right"],l=o[i?"right":"left"];s.onPointerGraceIntentChange({area:[{x:e.clientX+(i?-5:5),y:e.clientY},{x:a,y:o.top},{x:l,y:o.top},{x:l,y:o.bottom},{x:a,y:o.bottom}],side:t}),window.clearTimeout(f.current),f.current=window.setTimeout(()=>s.onPointerGraceIntentChange(null),300)}else{if(s.onTriggerLeave(e),e.defaultPrevented)return;s.onPointerGraceIntentChange(null)}})),onKeyDown:(0,l.M)(e.onKeyDown,t=>{let r=""!==s.searchRef.current;if(!e.disabled&&(!r||" "!==t.key)&&e3[i.dir].includes(t.key)){var o;n.onOpenChange(!0),null===(o=n.content)||void 0===o||o.focus(),t.preventDefault()}})})))},(e,t)=>{let n=th(td,e.__scopeMenu),{forceMount:i=n.forceMount,...a}=e,s=ta(td,e.__scopeMenu),c=tu(td,e.__scopeMenu),f=tR("MenuSubContent",e.__scopeMenu),h=(0,o.useRef)(null),d=(0,u.e)(t,h);return(0,o.createElement)(e7.Provider,{scope:e.__scopeMenu},(0,o.createElement)(eq.z,{present:i||s.open},(0,o.createElement)(e7.Slot,{scope:e.__scopeMenu},(0,o.createElement)(tb,(0,r.Z)({id:f.contentId,"aria-labelledby":f.triggerId},a,{ref:d,align:"start",side:"rtl"===c.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{var t;c.isUsingKeyboardRef.current&&(null===(t=h.current)||void 0===t||t.focus()),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:(0,l.M)(e.onFocusOutside,e=>{e.target!==f.trigger&&s.onOpenChange(!1)}),onEscapeKeyDown:(0,l.M)(e.onEscapeKeyDown,e=>{c.onClose(),e.preventDefault()}),onKeyDown:(0,l.M)(e.onKeyDown,e=>{let t=e.currentTarget.contains(e.target),n=e9[c.dir].includes(e.key);if(t&&n){var r;s.onOpenChange(!1),null===(r=f.trigger)||void 0===r||r.focus(),e.preventDefault()}})})))))};let tD=e=>{let{__scopeMenu:t,open:n=!1,children:r,dir:i,onOpenChange:l,modal:u=!0}=e,s=tr(t),[c,f]=(0,o.useState)(null),h=(0,o.useRef)(!1),d=(0,eL.W)(l),p=(0,a.gm)(i);return(0,o.useEffect)(()=>{let e=()=>{h.current=!0,document.addEventListener("pointerdown",t,{capture:!0,once:!0}),document.addEventListener("pointermove",t,{capture:!0,once:!0})},t=()=>h.current=!1;return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",t,{capture:!0}),document.removeEventListener("pointermove",t,{capture:!0})}}
1,[]),(0,o.createElement)(eY,s,(0,o.createElement)(ti,{scope:t,open:n,onOpenChange:d,content:c,onContentChange:f},(0,o.createElement)(tl,{scope:t,onClose:(0,o.useCallback)(()=>d(!1),[d]),isUsingKeyboardRef:h,dir:p,modal:u},r)))},tF=e=>{let{__scopeMenu:t,forceMount:n,children:r,container:i}=e,a=ta(tc,t);return(0,o.createElement)(tf,{scope:t,forceMount:n},(0,o.createElement)(eq.z,{present:n||a.open},(0,o.createElement)(e$.h,{asChild:!0,container:i},r)))};var tk=n(53435);let tG="Menubar",[tU,tV,tj]=(0,i.B)(tG),[tZ,tW]=(0,s.b)(tG,[tj,eQ.Pc]),tK=tn(),tX=(0,eQ.Pc)(),[tz,tY]=tZ(tG),t$=(0,o.forwardRef)((e,t)=>{let{__scopeMenubar:n,value:i,onValueChange:l,defaultValue:u,loop:s=!0,dir:c,...f}=e,h=(0,a.gm)(c),d=tX(n),[p="",m]=(0,tk.T)({prop:i,onChange:l,defaultProp:u}),[v,g]=(0,o.useState)(null);return(0,o.createElement)(tz,{scope:n,value:p,onMenuOpen:(0,o.useCallback)(e=>{m(e),g(e)},[m]),onMenuClose:(0,o.useCallback)(()=>m(""),[m]),onMenuToggle:(0,o.useCallback)(e=>{m(t=>t?"":e),g(e)},[m]),dir:h,loop:s},(0,o.createElement)(tU.Provider,{scope:n},(0,o.createElement)(tU.Slot,{scope:n},(0,o.createElement)(eQ.fC,(0,r.Z)({asChild:!0},d,{orientation:"horizontal",loop:s,dir:h,currentTabStopId:v,onCurrentTabStopIdChange:g}),(0,o.createElement)(eO.WV.div,(0,r.Z)({role:"menubar"},f,{ref:t}))))))}),tq="MenubarMenu",[tQ,tJ]=tZ(tq),t0="MenubarTrigger",t1=(0,o.forwardRef)((e,t)=>{let{__scopeMenubar:n,disabled:i=!1,...a}=e,s=tX(n),c=tK(n),f=tY(t0,n),h=tJ(t0,n),d=(0,o.useRef)(null),p=(0,u.e)(t,d,h.triggerRef),[m,v]=(0,o.useState)(!1),g=f.value===h.value;return(0,o.createElement)(tU.ItemSlot,{scope:n,value:h.value,disabled:i},(0,o.createElement)(eQ.ck,(0,r.Z)({asChild:!0},s,{focusable:!i,tabStopId:h.value}),(0,o.createElement)(ts,(0,r.Z)({asChild:!0},c),(0,o.createElement)(eO.WV.button,(0,r.Z)({type:"button",role:"menuitem",id:h.triggerId,"aria-haspopup":"menu","aria-expanded":g,"aria-controls":g?h.contentId:void 0,"data-highlighted":m?"":void 0,"data-state":g?"open":"closed","data-disabled":i?"":void 0,disabled:i},a,{ref:p,onPointerDown:(0,l.M)(e.onPointerDown,e=>{i||0!==e.button||!1!==e.ctrlKey||(f.onMenuOpen(h.value),g||e.preventDefault())}),onPointerEnter:(0,l.M)(e.onPointerEnter,()=>{if(f.value&&!g){var e;f.onMenuOpen(h.value),null===(e=d.current)||void 0===e||e.focus()}}),onKeyDown:(0,l.M)(e.onKeyDown,e=>{!i&&(["Enter"," "].includes(e.key)&&f.onMenuToggle(h.value),"ArrowDown"===e.key&&f.onMenuOpen(h.value),["Enter"," ","ArrowDown"].includes(e.key)&&(h.wasKeyboardTriggerOpenRef.current=!0,e.preventDefault()))}),onFocus:(0,l.M)(e.onFocus,()=>v(!0)),onBlur:(0,l.M)(e.onBlur,()=>v(!1))})))))}),t2="MenubarContent",t6=(0,o.forwardRef)((e,t)=>{let{__scopeMenubar:n,align:i="start",...a}=e,u=tK(n),s=tY(t2,n),c=tJ(t2,n),f=tV(n),h=(0,o.useRef)(!1);return(0,o.createElement)(tv,(0,r.Z)({id:c.contentId,"aria-labelledby":c.triggerId,"data-radix-menubar-content":""},u,a,{ref:t,align:i,onCloseAutoFocus:(0,l.M)(e.onCloseAutoFocus,e=>{if(!s.value&&!h.current){var t;null===(t=c.triggerRef.current)||void 0===t||t.focus()}h.current=!1,e.preventDefault()}),onFocusOutside:(0,l.M)(e.onFocusOutside,e=>{let t=e.target;f().some(e=>{var n;return null===(n=e.ref.current)||void 0===n?void 0:n.contains(t)})&&e.preventDefault()}),onInteractOutside:(0,l.M)(e.onInteractOutside,()=>{h.current=!0}),onEntryFocus:e=>{c.wasKeyboardTriggerOpenRef.current||e.preventDefault()},onKeyDown:(0,l.M)(e.onKeyDown,e=>{if(["ArrowRight","ArrowLeft"].includes(e.key)){var t,n;let r=e.target,o=r.hasAttribute("data-radix-menubar-subtrigger"),i=r.closest("[data-radix-menubar-content]")!==e.currentTarget,a=("rtl"===s.dir?"ArrowRight":"ArrowLeft")===e.key;if(!a&&o||i&&a)return;let l=f().filter(e=>!e.disabled).map(e=>e.value);a&&l.reverse();let u=l.indexOf(c.value),[h]=l=s.loop?(t=l,n=u+1,t.map((e,r)=>t[(n+r)%t.length])):l.slice(u+1);h&&s.onMenuOpen(h)}},{checkForDefaultPrevented:!1}),style:{...e.style,"--radix-menubar-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-menubar-content-available-width":"var(--radix-popper-available-width)","--radix-menubar-content-available-height":"var(--radix-popper-available-height)","--radix-menubar-tr
1igger-width":"var(--radix-popper-anchor-width)","--radix-menubar-trigger-height":"var(--radix-popper-anchor-height)"}}))}),t8=(0,o.forwardRef)((e,t)=>{let{__scopeMenubar:n,...i}=e,a=tK(n);return(0,o.createElement)(t_,(0,r.Z)({},a,i,{ref:t}))}),t3=t$,t9=e=>{let{__scopeMenubar:t,value:n,...i}=e,a=(0,c.M)(),l=n||a||"LEGACY_REACT_AUTO_VALUE",u=tY(tq,t),s=tK(t),f=(0,o.useRef)(null),h=(0,o.useRef)(!1),d=u.value===l;return(0,o.useEffect)(()=>{d||(h.current=!1)},[d]),(0,o.createElement)(tQ,{scope:t,value:l,triggerId:(0,c.M)(),triggerRef:f,contentId:(0,c.M)(),wasKeyboardTriggerOpenRef:h},(0,o.createElement)(tD,(0,r.Z)({},s,{open:d,onOpenChange:e=>{e||u.onMenuClose()},modal:!1,dir:u.dir},i)))},t5=t1,t7=e=>{let{__scopeMenubar:t,...n}=e,i=tK(t);return(0,o.createElement)(tF,(0,r.Z)({},i,n))},t4=t6,ne=t8},30673:function(e,t,n){n.d(t,{h:function(){return l}});var r=n(77363),o=n(58496),i=n(81720),a=n(21547);let l=(0,o.forwardRef)((e,t)=>{var n;let{container:l=null==globalThis?void 0:null===(n=globalThis.document)||void 0===n?void 0:n.body,...u}=e;return l?i.createPortal((0,o.createElement)(a.WV.div,(0,r.Z)({},u,{ref:t})),l):null})},69388:function(e,t,n){n.d(t,{z:function(){return l}});var r=n(58496),o=n(81720),i=n(16612),a=n(77711);let l=e=>{let{present:t,children:n}=e,l=function(e){var t,n;let[i,l]=(0,r.useState)(),s=(0,r.useRef)({}),c=(0,r.useRef)(e),f=(0,r.useRef)("none"),[h,d]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},(0,r.useReducer)((e,t)=>{let r=n[e][t];return null!=r?r:e},t));return(0,r.useEffect)(()=>{let e=u(s.current);f.current="mounted"===h?e:"none"},[h]),(0,a.b)(()=>{let t=s.current,n=c.current;if(n!==e){let r=f.current,o=u(t);e?d("MOUNT"):"none"===o||(null==t?void 0:t.display)==="none"?d("UNMOUNT"):n&&r!==o?d("ANIMATION_OUT"):d("UNMOUNT"),c.current=e}},[e,d]),(0,a.b)(()=>{if(i){let e=e=>{let t=u(s.current).includes(e.animationName);e.target===i&&t&&(0,o.flushSync)(()=>d("ANIMATION_END"))},t=e=>{e.target===i&&(f.current=u(s.current))};return i.addEventListener("animationstart",t),i.addEventListener("animationcancel",e),i.addEventListener("animationend",e),()=>{i.removeEventListener("animationstart",t),i.removeEventListener("animationcancel",e),i.removeEventListener("animationend",e)}}d("ANIMATION_END")},[i,d]),{isPresent:["mounted","unmountSuspended"].includes(h),ref:(0,r.useCallback)(e=>{e&&(s.current=getComputedStyle(e)),l(e)},[])}}(t),s="function"==typeof n?n({present:l.isPresent}):r.Children.only(n),c=(0,i.e)(l.ref,s.ref);return"function"==typeof n||l.isPresent?(0,r.cloneElement)(s,{ref:c}):null};function u(e){return(null==e?void 0:e.animationName)||"none"}l.displayName="Presence"},21547:function(e,t,n){n.d(t,{WV:function(){return l},jH:function(){return u}});var r=n(77363),o=n(58496),i=n(81720),a=n(93260);let l=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let n=(0,o.forwardRef)((e,n)=>{let{asChild:i,...l}=e,u=i?a.g7:t;return(0,o.useEffect)(()=>{window[Symbol.for("radix-ui")]=!0},[]),(0,o.createElement)(u,(0,r.Z)({},l,{ref:n}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function u(e,t){e&&(0,i.flushSync)(()=>
1e.dispatchEvent(t))}},53156:function(e,t,n){n.d(t,{Pc:function(){return w},ck:function(){return O},fC:function(){return I}});var r=n(77363),o=n(58496),i=n(67326),a=n(28947),l=n(16612),u=n(41017),s=n(37677),c=n(21547),f=n(68381),h=n(53435),d=n(67809);let p="rovingFocusGroup.onEntryFocus",m={bubbles:!1,cancelable:!0},v="RovingFocusGroup",[g,E,b]=(0,a.B)(v),[y,w]=(0,u.b)(v,[b]),[T,_]=y(v),M=(0,o.forwardRef)((e,t)=>(0,o.createElement)(g.Provider,{scope:e.__scopeRovingFocusGroup},(0,o.createElement)(g.Slot,{scope:e.__scopeRovingFocusGroup},(0,o.createElement)(A,(0,r.Z)({},e,{ref:t}))))),A=(0,o.forwardRef)((e,t)=>{let{__scopeRovingFocusGroup:n,orientation:a,loop:u=!1,dir:s,currentTabStopId:v,defaultCurrentTabStopId:g,onCurrentTabStopIdChange:b,onEntryFocus:y,...w}=e,_=(0,o.useRef)(null),M=(0,l.e)(t,_),A=(0,d.gm)(s),[C=null,S]=(0,h.T)({prop:v,defaultProp:g,onChange:b}),[I,O]=(0,o.useState)(!1),R=(0,f.W)(y),L=E(n),H=(0,o.useRef)(!1),[N,B]=(0,o.useState)(0);return(0,o.useEffect)(()=>{let e=_.current;if(e)return e.addEventListener(p,R),()=>e.removeEventListener(p,R)},[R]),(0,o.createElement)(T,{scope:n,orientation:a,dir:A,loop:u,currentTabStopId:C,onItemFocus:(0,o.useCallback)(e=>S(e),[S]),onItemShiftTab:(0,o.useCallback)(()=>O(!0),[]),onFocusableItemAdd:(0,o.useCallback)(()=>B(e=>e+1),[]),onFocusableItemRemove:(0,o.useCallback)(()=>B(e=>e-1),[])},(0,o.createElement)(c.WV.div,(0,r.Z)({tabIndex:I||0===N?-1:0,"data-orientation":a},w,{ref:M,style:{outline:"none",...e.style},onMouseDown:(0,i.M)(e.onMouseDown,()=>{H.current=!0}),onFocus:(0,i.M)(e.onFocus,e=>{let t=!H.current;if(e.target===e.currentTarget&&t&&!I){let t=new CustomEvent(p,m);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=L().filter(e=>e.focusable);P([e.find(e=>e.active),e.find(e=>e.id===C),...e].filter(Boolean).map(e=>e.ref.current))}}H.current=!1}),onBlur:(0,i.M)(e.onBlur,()=>O(!1))})))}),C=(0,o.forwardRef)((e,t)=>{let{__scopeRovingFocusGroup:n,focusable:a=!0,active:l=!1,tabStopId:u,...f}=e,h=(0,s.M)(),d=u||h,p=_("RovingFocusGroupItem",n),m=p.currentTabStopId===d,v=E(n),{onFocusableItemAdd:b,onFocusableItemRemove:y}=p;return(0,o.useEffect)(()=>{if(a)return b(),()=>y()},[a,b,y]),(0,o.createElement)(g.ItemSlot,{scope:n,id:d,focusable:a,active:l},(0,o.createElement)(c.WV.span,(0,r.Z)({tabIndex:m?0:-1,"data-orientation":p.orientation},f,{ref:t,onMouseDown:(0,i.M)(e.onMouseDown,e=>{a?p.onItemFocus(d):e.preventDefault()}),onFocus:(0,i.M)(e.onFocus,()=>p.onItemFocus(d)),onKeyDown:(0,i.M)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey){p.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=function(e,t,n){var r;let o=(r=e.key,"rtl"!==n?r:"ArrowLeft"===r?"ArrowRight":"ArrowRight"===r?"ArrowLeft":r);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(o)))return S[o]}(e,p.orientation,p.dir);if(void 0!==t){e.preventDefault();let o=v().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)o.reverse();else if("prev"===t||"next"===t){var n,r;"prev"===t&&o.reverse();let i=o.indexOf(e.currentTarget);o=p.loop?(n=o,r=i+1,n.map((e,t)=>n[(r+t)%n.length])):o.slice(i+1)}setTimeout(()=>P(o))}})})))}),S={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function P(e){let t=document.activeElement;for(let n of e)if(n===t||(n.focus(),document.activeElement!==t))return}let I=M,O=C},93260:function(e,t,n){n.d(t,{g7:function(){return a}});var r=n(77363),o=n(58496),i=n(16612);let a=(0,o.forwardRef)((e,t)=>{let{children:n,...i}=e,a=o.Children.toArray(n),u=a.find(s);if(u){let e=u.props.children,n=a.map(t=>t!==u?t:o.Children.count(e)>1?o.Children.only(null):(0,o.isValidElement)(e)?e.props.children:null);return(0,o.createElement)(l,(0,r.Z)({},i,{ref:t}),(0,o.isValidElement)(e)?(0,o.cloneElement)(e,void 0,n):null)}return(0,o.createElement)(l,(0,r.Z)({},i,{ref:t}),n)});a.displayName="Slot";let l=(0,o.forwardRef)((e,t)=>{let{children:n,...r}=e;return(0,o.isValidElement)(n)?(0,o.cloneElement)(n,{...function(e,t){let n={...t};for(let r in t){let o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{i(...e),o(...e)}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}
1:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props),ref:t?(0,i.F)(t,n.ref):n.ref}):o.Children.count(n)>1?o.Children.only(null):null});l.displayName="SlotClone";let u=({children:e})=>(0,o.createElement)(o.Fragment,null,e);function s(e){return(0,o.isValidElement)(e)&&e.type===u}},68381:function(e,t,n){n.d(t,{W:function(){return o}});var r=n(58496);function o(e){let t=(0,r.useRef)(e);return(0,r.useEffect)(()=>{t.current=e}),(0,r.useMemo)(()=>(...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)},[])}},53435:function(e,t,n){n.d(t,{T:function(){return i}});var r=n(58496),o=n(68381);function i({prop:e,defaultProp:t,onChange:n=()=>{}}){let[i,a]=function({defaultProp:e,onChange:t}){let n=(0,r.useState)(e),[i]=n,a=(0,r.useRef)(i),l=(0,o.W)(t);return(0,r.useEffect)(()=>{a.current!==i&&(l(i),a.current=i)},[i,a,l]),n}({defaultProp:t,onChange:n}),l=void 0!==e,u=l?e:i,s=(0,o.W)(n);return[u,(0,r.useCallback)(t=>{if(l){let n="function"==typeof t?t(e):t;n!==e&&s(n)}else a(t)},[l,e,a,s])]}},77711:function(e,t,n){n.d(t,{b:function(){return o}});var r=n(58496);let o=(null==globalThis?void 0:globalThis.document)?r.useLayoutEffect:()=>{}},96278:function(e,t,n){n.d(t,{w_:function(){return c}});var r=n(58496),o={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},i=r.createContext&&r.createContext(o),a=["attr","size","title"];function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach(function(t){var r,o;r=t,o=n[t],(r=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(r))in e?Object.defineProperty(e,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[r]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function c(e){return t=>r.createElement(f,l({attr:s({},e.attr)},t),function e(t){return t&&t.map((t,n)=>r.createElement(t.tag,s({key:n},t.attr),e(t.child)))}(e.child))}function f(e){var t=t=>{var n,{attr:o,size:i,title:u}=e,c=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),f=i||t.size||"1em";return t.className&&(n=t.className),e.className&&(n=(n?n+" ":"")+e.className),r.createElement("svg",l({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,o,c,{className:n,style:s(s({color:e.color||t.color},t.style),e.style),height:f,width:f,xmlns:"http://www.w3.org/2000/svg"}),u&&r.createElement("title",null,u),e.children)};return void 0!==i?r.createElement(i.Consumer,null,e=>t(e)):t(o)}},14637:function(e,t,n){n.d(t,{ZT:function(){return o},_T:function(){return a},ev:function(){return l},pi:function(){return i}});var r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function l(e,t,n){if(n||2==arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError}}]);

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.