"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7391],{1535:(e,t,r)=>{function n(e,t){var r=t&&t.cache?t.cache:s,n=t&&t.serializer?t.serializer:a;return(t&&t.strategy?t.strategy:function(e,t){var r,n,a=1===e.length?o:i;return r=t.cache.create(),n=t.serializer,a.bind(this,e,r,n)})(e,{cache:r,serializer:n})}function o(e,t,r,n){var o=null==n||"number"==typeof n||"boolean"==typeof n?n:r(n),i=t.get(o);return void 0===i&&(i=e.call(this,n),t.set(o,i)),i}function i(e,t,r){var n=Array.prototype.slice.call(arguments,3),o=r(n),i=t.get(o);return void 0===i&&(i=e.apply(this,n),t.set(o,i)),i}r.r(t),r.d(t,{memoize:()=>n,strategies:()=>u});var a=function(){return JSON.stringify(arguments)},l=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(e){return this.cache[e]},e.prototype.set=function(e,t){this.cache[e]=t},e}(),s={create:function(){return new l}},u={variadic:function(e,t){var r,n;return r=t.cache.create(),n=t.serializer,i.bind(this,e,r,n)},monadic:function(e,t){var r,n;return r=t.cache.create(),n=t.serializer,o.bind(this,e,r,n)}}},2886:(e,t,r)=>{r.r(t),r.d(t,{ErrorCode:()=>s,FormatError:()=>er,IntlMessageFormat:()=>eu,InvalidValueError:()=>en,InvalidValueTypeError:()=>eo,MissingValueError:()=>ei,PART_TYPE:()=>u,default:()=>ec,formatToParts:()=>el,isFormatXMLElementFn:()=>ea});var n,o,i,a,l,s,u,c=r(6476),f=r(1535);function d(e){return e.type===o.literal}function h(e){return e.type===o.number}function p(e){return e.type===o.date}function m(e){return e.type===o.time}function v(e){return e.type===o.select}function g(e){return e.type===o.plural}function b(e){return e.type===o.tag}function y(e){return!!(e&&"object"==typeof e&&e.type===i.number)}function E(e){return!!(e&&"object"==typeof e&&e.type===i.dateTime)}!function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(n||(n={})),function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"}(o||(o={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(i||(i={}));var w=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,x=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g,T=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,P=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,C=/^(@+)?(\+|#+)?[rs]?$/g,A=/(\*)(0+)|(#+)(0+)|(0+)/g,S=/^(0+)$/;function _(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(C,function(e,r,n){return"string"!=typeof n?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):"+"===n?t.minimumSignificantDigits=r.length:"#"===r[0]?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+("string"==typeof n?n.length:0)),""}),t}function L(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 L(e)||{}}var R={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],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:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"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"]},I=new RegExp("^".concat(w.source,"*")),H=new RegExp("".concat(w.source,"*$"));function B(e,t){return{start:e,end:t}}var M=!!String.prototype.startsWith&&"_a".startsWith("a",1),O=!!String.fromCodePoint,k=!!Object.fromEntries,D=!!String.prototype.codePointAt,F=!!String.prototype.trimStart,j=!!String.prototype.trimEnd,G=Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&0x1fffffffffffff>=Math.abs(e)},U=!0;try{var z=q("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");U=(null===(a=z.exec("a"))||void 0===a?void 0:a[0])==="a"}catch(e){U=!1}var Y=M?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},V=O?String.fromCodePoint:function(){for(var e,t=[],r=0;ri;){if((e=t[i++])>1114111)throw RangeError(e+" is not a valid code point");n+=e<65536?String.fromCharCode(e):String.fromCharCode(((e-=65536)>>10)+55296,e%1024+56320)}return n},X=k?Object.fromEntries:function(e){for(var t={},r=0;r=n)){var o=e.charCodeAt(t);return o<55296||o>56319||t+1===n||(r=e.charCodeAt(t+1))<56320||r>57343?o:(o-55296<<10)+(r-56320)+65536}},K=F?function(e){return e.trimStart()}:function(e){return e.replace(I,"")},Z=j?function(e){return e.trimEnd()}:function(e){return e.replace(H,"")};function q(e,t){return new RegExp(e,t)}if(U){var J=q("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");l=function(e,t){var r;return J.lastIndex=t,null!==(r=J.exec(e)[1])&&void 0!==r?r:""}}else l=function(e,t){for(var r=[];;){var n,o=W(e,t);if(void 0===o||ee(o)||(n=o)>=33&&n<=35||36===n||n>=37&&n<=39||40===n||41===n||42===n||43===n||44===n||45===n||n>=46&&n<=47||n>=58&&n<=59||n>=60&&n<=62||n>=63&&n<=64||91===n||92===n||93===n||94===n||96===n||123===n||124===n||125===n||126===n||161===n||n>=162&&n<=165||166===n||167===n||169===n||171===n||172===n||174===n||176===n||177===n||182===n||187===n||191===n||215===n||247===n||n>=8208&&n<=8213||n>=8214&&n<=8215||8216===n||8217===n||8218===n||n>=8219&&n<=8220||8221===n||8222===n||8223===n||n>=8224&&n<=8231||n>=8240&&n<=8248||8249===n||8250===n||n>=8251&&n<=8254||n>=8257&&n<=8259||8260===n||8261===n||8262===n||n>=8263&&n<=8273||8274===n||8275===n||n>=8277&&n<=8286||n>=8592&&n<=8596||n>=8597&&n<=8601||n>=8602&&n<=8603||n>=8604&&n<=8607||8608===n||n>=8609&&n<=8610||8611===n||n>=8612&&n<=8613||8614===n||n>=8615&&n<=8621||8622===n||n>=8623&&n<=8653||n>=8654&&n<=8655||n>=8656&&n<=8657||8658===n||8659===n||8660===n||n>=8661&&n<=8691||n>=8692&&n<=8959||n>=8960&&n<=8967||8968===n||8969===n||8970===n||8971===n||n>=8972&&n<=8991||n>=8992&&n<=8993||n>=8994&&n<=9e3||9001===n||9002===n||n>=9003&&n<=9083||9084===n||n>=9085&&n<=9114||n>=9115&&n<=9139||n>=9140&&n<=9179||n>=9180&&n<=9185||n>=9186&&n<=9254||n>=9255&&n<=9279||n>=9280&&n<=9290||n>=9291&&n<=9311||n>=9472&&n<=9654||9655===n||n>=9656&&n<=9664||9665===n||n>=9666&&n<=9719||n>=9720&&n<=9727||n>=9728&&n<=9838||9839===n||n>=9840&&n<=10087||10088===n||10089===n||10090===n||10091===n||10092===n||10093===n||10094===n||10095===n||10096===n||10097===n||10098===n||10099===n||10100===n||10101===n||n>=10132&&n<=10175||n>=10176&&n<=10180||10181===n||10182===n||n>=10183&&n<=10213||10214===n||10215===n||10216===n||10217===n||10218===n||10219===n||10220===n||10221===n||10222===n||10223===n||n>=10224&&n<=10239||n>=10240&&n<=10495||n>=10496&&n<=10626||10627===n||10628===n||10629===n||10630===n||10631===n||10632===n||10633===n||10634===n||10635===n||10636===n||10637===n||10638===n||10639===n||10640===n||10641===n||10642===n||10643===n||10644===n||10645===n||10646===n||10647===n||10648===n||n>=10649&&n<=10711||10712===n||10713===n||10714===n||10715===n||n>=10716&&n<=10747||10748===n||10749===n||n>=10750&&n<=11007||n>=11008&&n<=11055||n>=11056&&n<=11076||n>=11077&&n<=11078||n>=11079&&n<=11084||n>=11085&&n<=11123||n>=11124&&n<=11125||n>=11126&&n<=11157||11158===n||n>=11159&&n<=11263||n>=11776&&n<=11777||11778===n||11779===n||11780===n||11781===n||n>=11782&&n<=11784||11785===n||11786===n||11787===n||11788===n||11789===n||n>=11790&&n<=11798||11799===n||n>=11800&&n<=11801||11802===n||11803===n||11804===n||11805===n||n>=11806&&n<=11807||11808===n||11809===n||11810===n||11811===n||11812===n||11813===n||11814===n||11815===n||11816===n||11817===n||n>=11818&&n<=11822||11823===n||n>=11824&&n<=11833||n>=11834&&n<=11835||n>=11836&&n<=11839||11840===n||11841===n||11842===n||n>=11843&&n<=11855||n>=11856&&n<=11857||11858===n||n>=11859&&n<=11903||n>=12289&&n<=12291||12296===n||12297===n||12298===n||12299===n||12300===n||12301===n||12302===n||12303===n||12304===n||12305===n||n>=12306&&n<=12307||12308===n||12309===n||12310===n||12311===n||12312===n||12313===n||12314===n||12315===n||12316===n||12317===n||n>=12318&&n<=12319||12320===n||12336===n||64830===n||64831===n||n>=65093&&n<=65094)break;r.push(o),t+=o>=65536?2:1}return V.apply(void 0,r)};var $=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,r){for(var i=[];!this.isEOF();){var a=this.char();if(123===a){var l=this.parseArgument(e,r);if(l.err)return l;i.push(l.val)}else if(125===a&&e>0)break;else if(35===a&&("plural"===t||"selectordinal"===t)){var s=this.clonePosition();this.bump(),i.push({type:o.pound,location:B(s,this.clonePosition())})}else if(60!==a||this.ignoreTag||47!==this.peek()){if(60===a&&!this.ignoreTag&&Q(this.peek()||0)){var l=this.parseTag(e,t);if(l.err)return l;i.push(l.val)}else{var l=this.parseLiteral(e,t);if(l.err)return l;i.push(l.val)}}else{if(!r)return this.error(n.UNMATCHED_CLOSING_TAG,B(this.clonePosition(),this.clonePosition()));break}}return{val:i,err:null}},e.prototype.parseTag=function(e,t){var r=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:o.literal,value:"<".concat(i,"/>"),location:B(r,this.clonePosition())},err:null};if(!this.bumpIf(">"))return this.error(n.INVALID_TAG,B(r,this.clonePosition()));var a=this.parseMessage(e+1,t,!0);if(a.err)return a;var l=a.val,s=this.clonePosition();if(!this.bumpIf(""))?{val:{type:o.tag,value:i,children:l,location:B(r,this.clonePosition())},err:null}:this.error(n.INVALID_TAG,B(s,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 r=this.clonePosition(),n="";;){var i=this.tryParseQuote(t);if(i){n+=i;continue}var a=this.tryParseUnquoted(e,t);if(a){n+=a;continue}var l=this.tryParseLeftAngleBracket();if(l){n+=l;continue}break}var s=B(r,this.clonePosition());return{val:{type:o.literal,value:n,location:s},err:null}},e.prototype.tryParseLeftAngleBracket=function(){var e;return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Q(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(),"'";case 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 r=this.char();if(39===r){if(39===this.peek())t.push(39),this.bump();else{this.bump();break}}else t.push(r);this.bump()}return V.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&e>0?null:(this.bump(),V(r))},e.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(n.EXPECT_ARGUMENT_CLOSING_BRACE,B(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(n.EMPTY_ARGUMENT,B(r,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(n.MALFORMED_ARGUMENT,B(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(n.EXPECT_ARGUMENT_CLOSING_BRACE,B(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:o.argument,value:i,location:B(r,this.clonePosition())},err:null};case 44:if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(n.EXPECT_ARGUMENT_CLOSING_BRACE,B(r,this.clonePosition()));return this.parseArgumentOptions(e,t,i,r);default:return this.error(n.MALFORMED_ARGUMENT,B(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=l(this.message,t),n=t+r.length;return this.bumpTo(n),{value:r,location:B(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,r,a){var l,s=this.clonePosition(),u=this.parseIdentifierIfPossible().value,f=this.clonePosition();switch(u){case"":return this.error(n.EXPECT_ARGUMENT_TYPE,B(s,f));case"number":case"date":case"time":this.bumpSpace();var d=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition(),p=this.parseSimpleArgStyleIfPossible();if(p.err)return p;var m=Z(p.val);if(0===m.length)return this.error(n.EXPECT_ARGUMENT_STYLE,B(this.clonePosition(),this.clonePosition()));d={style:m,styleLocation:B(h,this.clonePosition())}}var v=this.tryParseArgumentClose(a);if(v.err)return v;var g=B(a,this.clonePosition());if(d&&Y(null==d?void 0:d.style,"::",0)){var b,y=K(d.style.slice(2));if("number"===u){var p=this.parseNumberSkeletonFromString(y,d.styleLocation);if(p.err)return p;return{val:{type:o.number,value:r,location:g,style:p.val},err:null}}if(0===y.length)return this.error(n.EXPECT_DATE_TIME_SKELETON,g);var E=y;this.locale&&(E=function(e,t){for(var r="",n=0;n>1),s=function(e){var t,r=e.hourCycle;if(void 0===r&&e.hourCycles&&e.hourCycles.length&&(r=e.hourCycles[0]),r)switch(r){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw Error("Invalid hourCycle")}var n=e.language;return"root"!==n&&(t=e.maximize().region),(R[t||""]||R[n||""]||R["".concat(n,"-001")]||R["001"])[0]}(t);for(("H"==s||"k"==s)&&(l=0);l-- >0;)r+="a";for(;a-- >0;)r=s+r}else"J"===o?r+="H":r+=o}return r}(y,this.locale));var m={type:i.dateTime,pattern:E,location:d.styleLocation,parsedOptions:this.shouldParseSkeletons?(b={},E.replace(x,function(e){var t=e.length;switch(e[0]){case"G":b.era=4===t?"long":5===t?"narrow":"short";break;case"y":b.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":b.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":b.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":b.weekday=4===t?"long":5===t?"narrow":"short";break;case"e":if(t<4)throw RangeError("`e..eee` (weekday) patterns are not supported");b.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw RangeError("`c..ccc` (weekday) patterns are not supported");b.weekday=["short","long","narrow","short"][t-4];break;case"a":b.hour12=!0;break;case"b":case"B":throw RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":b.hourCycle="h12",b.hour=["numeric","2-digit"][t-1];break;case"H":b.hourCycle="h23",b.hour=["numeric","2-digit"][t-1];break;case"K":b.hourCycle="h11",b.hour=["numeric","2-digit"][t-1];break;case"k":b.hourCycle="h24",b.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":b.minute=["numeric","2-digit"][t-1];break;case"s":b.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":b.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""}),b):{}};return{val:{type:"date"===u?o.date:o.time,value:r,location:g,style:m},err:null}}return{val:{type:"number"===u?o.number:"date"===u?o.date:o.time,value:r,location:g,style:null!==(l=null==d?void 0:d.style)&&void 0!==l?l:null},err:null};case"plural":case"selectordinal":case"select":var w=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(n.EXPECT_SELECT_ARGUMENT_OPTIONS,B(w,(0,c.Cl)({},w)));this.bumpSpace();var T=this.parseIdentifierIfPossible(),P=0;if("select"!==u&&"offset"===T.value){if(!this.bumpIf(":"))return this.error(n.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,B(this.clonePosition(),this.clonePosition()));this.bumpSpace();var p=this.tryParseDecimalInteger(n.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,n.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(p.err)return p;this.bumpSpace(),T=this.parseIdentifierIfPossible(),P=p.val}var C=this.tryParsePluralOrSelectOptions(e,u,t,T);if(C.err)return C;var v=this.tryParseArgumentClose(a);if(v.err)return v;var A=B(a,this.clonePosition());if("select"===u)return{val:{type:o.select,value:r,options:X(C.val),location:A},err:null};return{val:{type:o.plural,value:r,options:X(C.val),offset:P,pluralType:"plural"===u?"cardinal":"ordinal",location:A},err:null};default:return this.error(n.INVALID_ARGUMENT_TYPE,B(s,f))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(n.EXPECT_ARGUMENT_CLOSING_BRACE,B(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 r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(n.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,B(r,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw Error("Number skeleton cannot be empty");for(var t=e.split(T).filter(function(e){return e.length>0}),r=[],n=0;n1)throw RangeError("integer-width stems only accept a single optional option");n.options[0].replace(A,function(e,r,n,o,i,a){if(r)t.minimumIntegerDigits=n.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(S.test(n.stem)){t.minimumIntegerDigits=n.stem.length;continue}if(P.test(n.stem)){if(n.options.length>1)throw RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(P,function(e,r,n,o,i,a){return"*"===n?t.minimumFractionDigits=r.length:o&&"#"===o[0]?t.maximumFractionDigits=o.length:i&&a?(t.minimumFractionDigits=i.length,t.maximumFractionDigits=i.length+a.length):(t.minimumFractionDigits=r.length,t.maximumFractionDigits=r.length),""});var o=n.options[0];"w"===o?t=(0,c.Cl)((0,c.Cl)({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=(0,c.Cl)((0,c.Cl)({},t),_(o)));continue}if(C.test(n.stem)){t=(0,c.Cl)((0,c.Cl)({},t),_(n.stem));continue}var i=L(n.stem);i&&(t=(0,c.Cl)((0,c.Cl)({},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 r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!S.test(e))throw Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(n.stem);a&&(t=(0,c.Cl)((0,c.Cl)({},t),a))}return t}(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,r,o){for(var i,a=!1,l=[],s=new Set,u=o.value,c=o.location;;){if(0===u.length){var f=this.clonePosition();if("select"!==t&&this.bumpIf("=")){var d=this.tryParseDecimalInteger(n.EXPECT_PLURAL_ARGUMENT_SELECTOR,n.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;c=B(f,this.clonePosition()),u=this.message.slice(f.offset,this.offset())}else break}if(s.has(u))return this.error("select"===t?n.DUPLICATE_SELECT_ARGUMENT_SELECTOR:n.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);"other"===u&&(a=!0),this.bumpSpace();var h=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?n.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:n.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,B(this.clonePosition(),this.clonePosition()));var p=this.parseMessage(e+1,t,r);if(p.err)return p;var m=this.tryParseArgumentClose(h);if(m.err)return m;l.push([u,{value:p.val,location:B(h,this.clonePosition())}]),s.add(u),this.bumpSpace(),u=(i=this.parseIdentifierIfPossible()).value,c=i.location}return 0===l.length?this.error("select"===t?n.EXPECT_SELECT_ARGUMENT_SELECTOR:n.EXPECT_PLURAL_ARGUMENT_SELECTOR,B(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(n.MISSING_OTHER_CLAUSE,B(this.clonePosition(),this.clonePosition())):{val:l,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-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=B(n,this.clonePosition());return o?G(i*=r)?{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=W(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(Y(this.message,e,this.offset())){for(var t=0;t=0?(this.bumpTo(r),!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()&&ee(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),r=this.message.charCodeAt(t+(e>=65536?2:1));return null!=r?r:null},e}();function Q(e){return e>=97&&e<=122||e>=65&&e<=90}function ee(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function et(e,t){void 0===t&&(t={});var r=new $(e,t=(0,c.Cl)({shouldParseSkeletons:!0,requiresOtherClause:!0},t)).parse();if(r.err){var o=SyntaxError(n[r.err.kind]);throw o.location=r.err.location,o.originalMessage=r.err.message,o}return(null==t?void 0:t.captureLocation)||function e(t){t.forEach(function(t){if(delete t.location,v(t)||g(t))for(var r in t.options)delete t.options[r].location,e(t.options[r].value);else h(t)&&y(t.style)?delete t.style.location:(p(t)||m(t))&&E(t.style)?delete t.style.location:b(t)&&e(t.children)})}(r.val),r.val}!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(s||(s={}));var er=function(e){function t(t,r,n){var o=e.call(this,t)||this;return o.code=r,o.originalMessage=n,o}return(0,c.C6)(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),en=function(e){function t(t,r,n,o){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(r,'". Options are "').concat(Object.keys(n).join('", "'),'"'),s.INVALID_VALUE,o)||this}return(0,c.C6)(t,e),t}(er),eo=function(e){function t(t,r,n){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(r),s.INVALID_VALUE,n)||this}return(0,c.C6)(t,e),t}(er),ei=function(e){function t(t,r){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(r,'"'),s.MISSING_VALUE,r)||this}return(0,c.C6)(t,e),t}(er);function ea(e){return"function"==typeof e}function el(e,t,r,n,i,a,l){if(1===e.length&&d(e[0]))return[{type:u.literal,value:e[0].value}];for(var c=[],f=0;f0?t[0]:"string"==typeof e?e:e[0])}},e.__parse=et,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}();let ec=eu},8175:(e,t)=>{function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t{Object.defineProperty(t,"__esModule",{value:!0});var n=r(407),o=r(7430),i=r(4773),a=r(9735);t.useFormatter=n.useFormatter,t.useTranslations=n.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]}})})},1182:(e,t,r)=>{var n=r(3142),o=r(1662),i=r(796);n.default,o.default,t.xp=i.default},477:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n=r(8175),o=r(2115),i=r(7430),a=r(1070),l=r(9472),s=function(e){return e&&e.__esModule?e:{default:e}}(o);let u=o.forwardRef(function(e,t){let{locale:r,localePrefix:o,...u}=e,c=i.default(),f=r||c,d=a.getLocalePrefix(f,o);return s.default.createElement(l.default,n.extends({ref:t,locale:f,localePrefixMode:o.mode,prefix:d},u))});u.displayName="ClientLink",t.default=u},1662:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n=r(8175),o=r(2115),i=r(7430),a=r(9860),l=r(5923),s=r(477),u=r(5559),c=r(532),f=r(897),d=function(e){return e&&e.__esModule?e:{default:e}}(o);t.default=function(e){let t=a.receiveRoutingConfig(e),r=a.receiveLocaleCookie(e.localeCookie);function h(){let e=i.default();if(!t.locales.includes(e))throw Error(void 0);return e}let p=o.forwardRef(function(e,o){let{href:i,locale:a,...u}=e,c=h(),f=a||c;return d.default.createElement(s.default,n.extends({ref:o,href:l.compileLocalizedPathname({locale:f,pathname:i,params:"object"==typeof i?i.params:void 0,pathnames:t.pathnames}),locale:a,localeCookie:r,localePrefix:t.localePrefix},u))});function m(e){let{href:r,locale:n}=e;return l.compileLocalizedPathname({...l.normalizeNameOrNameWithParams(r),locale:n,pathnames:t.pathnames})}return p.displayName="Link",{Link:p,redirect:function(e){let r=m({href:e,locale:h()});for(var n=arguments.length,o=Array(n>1?n-1:0),i=1;i1?n-1:0),i=1;ie?l.getRoute(r,e,t.pathnames):e,[r,e])},useRouter:function(){let e=f.default(t.localePrefix,r),n=h();return o.useMemo(()=>({...e,push(t){for(var r,o=arguments.length,i=Array(o>1?o-1:0),a=1;a1?o-1:0),a=1;a1?o-1:0),a=1;a{Object.defineProperty(t,"__esModule",{value:!0});var n=r(6046),o=r(2115),i=r(7430),a=r(4126),l=r(7657),s=r(5923),u=r(532);t.default=function(e){function t(){return i.default()}let{Link:r,config:c,getPathname:f,...d}=a.default(t,e);return{...d,Link:r,usePathname:function(){let e=u.default(c),r=t();return o.useMemo(()=>e&&c.pathnames?s.getRoute(r,e,c.pathnames):e,[r,e])},useRouter:function(){let e=n.useRouter(),r=t(),i=n.usePathname();return o.useMemo(()=>{function t(e){return function(t,n){let{locale:o,...a}=n||{},s=[f({href:t,locale:o||r,domain:window.location.host})];Object.keys(a).length>0&&s.push(a),e(...s),l.default(c.localeCookie,i,r,o)}}return{...e,push:t(e.push),replace:t(e.replace),prefetch:t(e.prefetch)}},[r,i,e])},getPathname:f}}},3142:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n=r(8175),o=r(2115),i=r(9860),a=r(477),l=r(5559),s=r(532),u=r(897),c=function(e){return e&&e.__esModule?e:{default:e}}(o);t.default=function(e){let t=i.receiveLocalePrefixConfig(null==e?void 0:e.localePrefix),r=i.receiveLocaleCookie(null==e?void 0:e.localeCookie),f=o.forwardRef(function(e,o){return c.default.createElement(a.default,n.extends({ref:o,localeCookie:r,localePrefix:t},e))});return f.displayName="Link",{Link:f,redirect:function(e){for(var r=arguments.length,n=Array(r>1?r-1:0),o=1;o1?r-1:0),o=1;o{Object.defineProperty(t,"__esModule",{value:!0});var n=r(7430),o=r(4487);function i(e){return function(t){let r;try{r=n.default()}catch(e){throw e}for(var o=arguments.length,i=Array(o>1?o-1:0),a=1;a{Object.defineProperty(t,"__esModule",{value:!0});var n=r(6046),o=r(2115),i=r(7430),a=r(1070);t.default=function(e){let t=n.usePathname(),r=i.default();return o.useMemo(()=>{if(!t)return t;let n=t,o=a.getLocalePrefix(r,e.localePrefix);if(a.hasPathnamePrefixed(o,t))n=a.unprefixPathname(t,o);else if("as-needed"===e.localePrefix.mode&&e.localePrefix.prefixes){let e=a.getLocaleAsPrefix(r);a.hasPathnamePrefixed(e,t)&&(n=a.unprefixPathname(t,e))}return n},[e.localePrefix,r,t])}},897:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n=r(6046),o=r(2115),i=r(7430),a=r(1070),l=r(7657),s=r(5923);t.default=function(e,t){let r=n.useRouter(),u=i.default(),c=n.usePathname();return o.useMemo(()=>{function n(r){return function(n,o){let{locale:i,...f}=o||{};l.default(t,c,u,i);let d=[function(t,r){let n=window.location.pathname,o=s.getBasePath(c);o&&(n=n.replace(o,""));let i=r||u,l=a.getLocalePrefix(i,e);return a.localizeHref(t,i,u,n,l)}(n,i)];return Object.keys(f).length>0&&d.push(f),r(...d)}}return{...r,push:n(r.push),replace:n(r.replace),prefetch:n(r.prefetch)}},[u,t,e,c,r])}},4095:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n=r(8175),o=r(8173),i=r(6046),a=r(2115),l=r(7430),s=r(7657);function u(e){return e&&e.__esModule?e:{default:e}}var c=u(o),f=u(a),d=a.forwardRef(function(e,t){let{defaultLocale:r,href:o,locale:u,localeCookie:d,onClick:h,prefetch:p,unprefixed:m,...v}=e,g=l.default(),b=null!=u&&u!==g,y=u||g,E=function(){let[e,t]=a.useState();return a.useEffect(()=>{t(window.location.host)},[]),e}(),w=E&&m&&(m.domains[E]===y||!Object.keys(m.domains).includes(E)&&g===r&&!u)?m.pathname:o,x=i.usePathname();return b&&(p=!1),f.default.createElement(c.default,n.extends({ref:t,href:w,hrefLang:b?u:void 0,onClick:function(e){s.default(d,x,g,u),h&&h(e)},prefetch:p},v))});t.default=d},9472:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n=r(8175),o=r(6046),i=r(2115),a=r(7430),l=r(1070),s=r(4095),u=function(e){return e&&e.__esModule?e:{default:e}}(i);let c=i.forwardRef(function(e,t){let{href:r,locale:c,localeCookie:f,localePrefixMode:d,prefix:h,...p}=e,m=o.usePathname(),v=a.default(),g=c!==v,[b,y]=i.useState(()=>l.isLocalizableHref(r)&&("never"!==d||g)?l.prefixHref(r,h):r);return i.useEffect(()=>{m&&y(l.localizeHref(r,c,v,m,h))},[v,r,c,m,h]),u.default.createElement(s.default,n.extends({ref:t,href:b,locale:c,localeCookie:f},p))});c.displayName="ClientLink",t.default=c},4126:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n=r(8175),o=r(6046),i=r(2115),a=r(9860),l=r(1070),s=r(4095),u=r(5923),c=function(e){return e&&e.__esModule?e:{default:e}}(i);t.default=function(e,t){let r=a.receiveRoutingConfig(t||{}),f=r.pathnames,d="as-needed"===r.localePrefix.mode&&r.domains||void 0,h=i.forwardRef(function(t,o){let a,u,{href:h,locale:m,...v}=t;"object"==typeof h?(a=h.pathname,u=h.params):a=h;let g=l.isLocalizableHref(h),b=e(),y=b instanceof Promise?i.use(b):b,E=g?p({locale:m||y,href:null==f?a:{pathname:a,params:u}},null!=m||d||void 0):a;return c.default.createElement(s.default,n.extends({ref:o,defaultLocale:r.defaultLocale,href:"object"==typeof h?{...h,pathname:E}:E,locale:m,localeCookie:r.localeCookie,unprefixed:d&&g?{domains:r.domains.reduce((e,t)=>(e[t.domain]=t.defaultLocale,e),{}),pathname:p({locale:y,href:null==f?a:{pathname:a,params:u}},!1)}:void 0},v))});function p(e,t){let n;let{href:o,locale:i}=e;return null==f?"object"==typeof o?(n=o.pathname,o.query&&(n+=u.serializeSearchParams(o.query))):n=o:n=u.compileLocalizedPathname({locale:i,...u.normalizeNameOrNameWithParams(o),pathnames:r.pathnames}),u.applyPathnamePrefix(n,i,r,e.domain,t)}function m(e){return function(t){for(var r=arguments.length,n=Array(r>1?r-1:0),o=1;o{Object.defineProperty(t,"__esModule",{value:!0});var n=r(6046),o=r(1070);function i(e){return function(t){let r=o.getLocalePrefix(t.locale,t.localePrefix),n="never"!==t.localePrefix.mode&&o.isLocalizableHref(t.pathname)?o.prefixPathname(r,t.pathname):t.pathname;for(var i=arguments.length,a=Array(i>1?i-1:0),l=1;l{Object.defineProperty(t,"__esModule",{value:!0});var n=r(5923);t.default=function(e,t,r,o){if(!e||!(o!==r&&null!=o)||!t)return;let i=n.getBasePath(t),{name:a,...l}=e;l.path||(l.path=""!==i?i:"/");let s="".concat(a,"=").concat(o,";");for(let[e,t]of Object.entries(l))s+="".concat("maxAge"===e?"max-age":e),"boolean"!=typeof t&&(s+="="+t),s+=";";document.cookie=s}},5923:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n=r(1070);function o(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))Array.isArray(n)?n.forEach(e=>{t.append(r,String(e))}):t.set(r,String(n));return"?"+t.toString()}t.applyPathnamePrefix=function(e,t,r,o,i){let a;let{mode:l}=r.localePrefix;if(void 0!==i)a=i;else if(n.isLocalizableHref(e)){if("always"===l)a=!0;else if("as-needed"===l){let e=r.defaultLocale;if(r.domains){let t=r.domains.find(e=>e.domain===o);t&&(e=t.defaultLocale)}a=e!==t}}return a?n.prefixPathname(n.getLocalePrefix(t,r.localePrefix),e):e},t.compileLocalizedPathname=function(e){let{pathname:t,locale:r,params:i,pathnames:a,query:l}=e;function s(e){let t=a[e];return t||(t=e),t}function u(e){let t="string"==typeof e?e:e[r];return i&&Object.entries(i).forEach(e=>{let r,n,[o,i]=e;Array.isArray(i)?(r="(\\[)?\\[...".concat(o,"\\](\\])?"),n=i.map(e=>String(e)).join("/")):(r="\\[".concat(o,"\\]"),n=String(i)),t=t.replace(RegExp(r,"g"),n)}),t=t.replace(/\[\[\.\.\..+\]\]/g,""),t=n.normalizeTrailingSlash(t),l&&(t+=o(l)),t}if("string"==typeof t)return u(s(t));{let{pathname:e,...r}=t;return{...r,pathname:u(s(e))}}},t.getBasePath=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.location.pathname;return"/"===e?t:t.replace(e,"")},t.getRoute=function(e,t,r){let o=n.getSortedPathnames(Object.keys(r)),i=decodeURI(t);for(let t of o){let o=r[t];if("string"==typeof o){if(n.matchesPathname(o,i))return t}else if(n.matchesPathname(o[e],i))return t}return t},t.normalizeNameOrNameWithParams=function(e){return"string"==typeof e?{pathname:e}:e},t.serializeSearchParams=o},407:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n=r(9735);function o(e,t){return function(){try{return t(...arguments)}catch(e){throw Error(void 0)}}}let i=o(0,n.useTranslations),a=o(0,n.useFormatter);t.useFormatter=a,t.useTranslations=i,Object.keys(n).forEach(function(e){"default"===e||Object.prototype.hasOwnProperty.call(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}})})},7430:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n=r(6046),o=r(2343),i=r(3582);t.default=function(){let e;let t=n.useParams();try{e=o.useLocale()}catch(r){if("string"!=typeof(null==t?void 0:t[i.LOCALE_SEGMENT_NAME]))throw r;e=t[i.LOCALE_SEGMENT_NAME]}return e}},5433:(e,t,r)=>{var n=r(7645);t.o=n.default},9860:(e,t)=>{function r(e){return!(null!=e&&!e)&&{name:"NEXT_LOCALE",maxAge:31536e3,sameSite:"lax",..."object"==typeof e&&e}}function n(e){return"object"==typeof e?e:{mode:e||"always"}}Object.defineProperty(t,"__esModule",{value:!0}),t.receiveLocaleCookie=r,t.receiveLocalePrefixConfig=n,t.receiveRoutingConfig=function(e){var t,o;return{...e,localePrefix:n(e.localePrefix),localeCookie:r(e.localeCookie),localeDetection:null===(t=e.localeDetection)||void 0===t||t,alternateLinks:null===(o=e.alternateLinks)||void 0===o||o}}},7645:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e}},4773:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n=r(8175),o=r(2115),i=r(4496),a=function(e){return e&&e.__esModule?e:{default:e}}(o);t.default=function(e){let{locale:t,...r}=e;if(!t)throw Error(void 0);return a.default.createElement(i.IntlProvider,n.extends({locale:t},r))}},3582:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.HEADER_LOCALE_NAME="X-NEXT-INTL-LOCALE",t.LOCALE_SEGMENT_NAME="locale"},1070:(e,t,r)=>{var n=r(2818);function o(e){return("object"==typeof e?null==e.host&&null==e.hostname:!/^[a-z]+:/i.test(e))&&!function(e){let t="object"==typeof e?e.pathname:e;return null!=t&&!t.startsWith("/")}(e)}function i(e,t){let r;return"string"==typeof e?r=a(t,e):(r={...e},e.pathname&&(r.pathname=a(t,e.pathname))),r}function a(e,t){let r=e;return/^\/(\?.*)?$/.test(t)&&(t=t.slice(1)),r+=t}function l(e,t){return t===e||t.startsWith("".concat(e,"/"))}function s(e){let t=function(){try{return"true"===n.env._next_intl_trailing_slash}catch(e){return!1}}();if("/"!==e){let r=e.endsWith("/");t&&!r?e+="/":!t&&r&&(e=e.slice(0,-1))}return e}function u(e){return"/"+e}function c(e){let t=e.replace(/\[\[(\.\.\.[^\]]+)\]\]/g,"?(.*)").replace(/\[(\.\.\.[^\]]+)\]/g,"(.+)").replace(/\[([^\]]+)\]/g,"([^/]+)");return new RegExp("^".concat(t,"$"))}function f(e){return e.includes("[[...")}function d(e){return e.includes("[...")}function h(e){return e.includes("[")}function p(e,t){let r=e.split("/"),n=t.split("/"),o=Math.max(r.length,n.length);for(let e=0;e2&&void 0!==arguments[2]?arguments[2]:t,n=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0;if(!o(e))return e;let s=l(a,n);return(t!==r||s)&&null!=a?i(e,a):e},t.matchesPathname=function(e,t){let r=s(e),n=s(t);return c(r).test(n)},t.normalizeTrailingSlash=s,t.prefixHref=i,t.prefixPathname=a,t.templateToRegex=c,t.unprefixPathname=function(e,t){return e.replace(new RegExp("^".concat(t)),"")||"/"}},4496:(e,t,r)=>{e.exports=r(7878)},2343:(e,t,r)=>{e.exports=r(985)},9735:(e,t,r)=>{e.exports=r(4281)},7878:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n=r(2115),o=r(3398),i=r(3351);r(1535);var a=function(e){return e&&e.__esModule?e:{default:e}}(n);t.IntlProvider=function(e){let{children:t,defaultTranslationValues:r,formats:l,getMessageFallback:s,locale:u,messages:c,now:f,onError:d,timeZone:h}=e,p=n.useMemo(()=>o.createCache(),[u]),m=n.useMemo(()=>o.createIntlFormatters(p),[p]),v=n.useMemo(()=>({...o.initializeConfig({locale:u,defaultTranslationValues:r,formats:l,getMessageFallback:s,messages:c,now:f,onError:d,timeZone:h}),formatters:m,cache:p}),[p,r,l,m,s,u,c,f,d,h]);return a.default.createElement(i.IntlContext.Provider,{value:v},t)}},7392:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n=r(7646),o=r(3398);r(2886),r(2115),r(1535),t.IntlError=n.IntlError,t.IntlErrorCode=n.IntlErrorCode,t.createFormatter=n.createFormatter,t._createCache=o.createCache,t._createIntlFormatters=o.createIntlFormatters,t.initializeConfig=o.initializeConfig,t.createTranslator=function(e){let{_cache:t=o.createCache(),_formatters:r=o.createIntlFormatters(t),getMessageFallback:i=o.defaultGetMessageFallback,messages:a,namespace:l,onError:s=o.defaultOnError,...u}=e;return function(e,t){let{messages:r,namespace:o,...i}=e;return r=r["!"],o=n.resolveNamespace(o,"!"),n.createBaseTranslator({...i,messages:r,namespace:o})}({...u,onError:s,cache:t,formatters:r,getMessageFallback:i,messages:{"!":a},namespace:l?"!.".concat(l):"!"},0)}},7646:(e,t,r)=>{var n=r(2886),o=r(2115),i=r(3398),a=function(e){return e&&e.__esModule?e:{default:e}}(n);function l(e,t,r){var n;return(t="symbol"==typeof(n=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let s=function(e){return e.MISSING_MESSAGE="MISSING_MESSAGE",e.MISSING_FORMAT="MISSING_FORMAT",e.ENVIRONMENT_FALLBACK="ENVIRONMENT_FALLBACK",e.INSUFFICIENT_PATH="INSUFFICIENT_PATH",e.INVALID_MESSAGE="INVALID_MESSAGE",e.INVALID_KEY="INVALID_KEY",e.FORMATTING_ERROR="FORMATTING_ERROR",e}({});class u extends Error{constructor(e,t){let r=e;t&&(r+=": "+t),super(r),l(this,"code",void 0),l(this,"originalMessage",void 0),this.code=e,t&&(this.originalMessage=t)}}function c(e,t){return e?Object.keys(e).reduce((r,n)=>(r[n]={timeZone:t,...e[n]},r),{}):e}function f(e,t,r,n){let o=i.joinPath(n,r);if(!t)throw Error(o);let a=t;return r.split(".").forEach(t=>{let r=a[t];if(null==t||null==r)throw Error(o+" (".concat(e,")"));a=r}),a}let d=365/12*86400,h={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=u,t.IntlErrorCode=s,t.createBaseTranslator=function(e){let t=function(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:i.defaultOnError;try{if(!t)throw Error(void 0);let n=r?f(e,t,r):t;if(!n)throw Error(r);return n}catch(t){let e=new u(s.MISSING_MESSAGE,t.message);return n(e),e}}(e.locale,e.messages,e.namespace,e.onError);return function(e){let{cache:t,defaultTranslationValues:r,formats:n,formatters:l,getMessageFallback:d=i.defaultGetMessageFallback,locale:h,messagesOrError:p,namespace:m,onError:v,timeZone:g}=e,b=p instanceof u;function y(e,t,r){let n=new u(t,r);return v(n),d({error:n,key:e,namespace:m})}function E(e,u,v){let E,w;if(b)return d({error:p,key:e,namespace:m});try{E=f(h,p,e,m)}catch(t){return y(e,s.MISSING_MESSAGE,t.message)}if("object"==typeof E){let t;return y(e,Array.isArray(E)?s.INVALID_MESSAGE:s.INSUFFICIENT_PATH,t)}let x=function(e,t){if(t)return;let r=e.replace(/'([{}])/gi,"$1");return/<|{/.test(r)?void 0:r}(E,u);if(x)return x;l.getMessageFormat||(l.getMessageFormat=i.memoFn(function(){return new a.default(arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],{formatters:l,...arguments.length<=3?void 0:arguments[3]})},t.message));try{w=l.getMessageFormat(E,h,function(e,t){let r=t?{...e,dateTime:c(e.dateTime,t)}:e,n=a.default.formats.date,o=t?c(n,t):n,i=a.default.formats.time,l=t?c(i,t):i;return{...r,date:{...o,...r.dateTime},time:{...l,...r.dateTime}}}({...n,...v},g),{formatters:{...l,getDateTimeFormat:(e,t)=>l.getDateTimeFormat(e,{timeZone:g,...t})}})}catch(t){return y(e,s.INVALID_MESSAGE,t.message)}try{let e=w.format(function(e){if(0===Object.keys(e).length)return;let t={};return Object.keys(e).forEach(r=>{let n,i=0,a=e[r];n="function"==typeof a?e=>{let t=a(e);return o.isValidElement(t)?o.cloneElement(t,{key:r+i++}):t}:a,t[r]=n}),t}({...r,...u}));if(null==e)throw Error(void 0);return o.isValidElement(e)||Array.isArray(e)||"string"==typeof e?e:String(e)}catch(t){return y(e,s.FORMATTING_ERROR,t.message)}}function w(e,t,r){let n=E(e,t,r);return"string"!=typeof n?y(e,s.INVALID_MESSAGE,void 0):n}return w.rich=E,w.markup=(e,t,r)=>{let n=E(e,t,r);if("string"!=typeof n){let t=new u(s.FORMATTING_ERROR,void 0);return v(t),d({error:t,key:e,namespace:m})}return n},w.raw=e=>{if(b)return d({error:p,key:e,namespace:m});try{return f(h,p,e,m)}catch(t){return y(e,s.MISSING_MESSAGE,t.message)}},w.has=e=>{if(b)return!1;try{return f(h,p,e,m),!0}catch(e){return!1}},w}({...e,messagesOrError:t})},t.createFormatter=function(e){let{_cache:t=i.createCache(),_formatters:r=i.createIntlFormatters(t),formats:n,locale:o,now:a,onError:l=i.defaultOnError,timeZone:c}=e;function f(e){var t;return null!==(t=e)&&void 0!==t&&t.timeZone||(c?e={...e,timeZone:c}:l(new u(s.ENVIRONMENT_FALLBACK,void 0))),e}function p(e,t,r,n){let o;try{o=function(e,t){let r;if("string"==typeof t){if(!(r=null==e?void 0:e[t])){let e=new u(s.MISSING_FORMAT,void 0);throw l(e),e}}else r=t;return r}(t,e)}catch(e){return n()}try{return r(o)}catch(e){return l(new u(s.FORMATTING_ERROR,e.message)),n()}}function m(e,t){return p(t,null==n?void 0:n.dateTime,t=>(t=f(t),r.getDateTimeFormat(o,t).format(e)),()=>String(e))}function v(){return a||(l(new u(s.ENVIRONMENT_FALLBACK,void 0)),new Date)}return{dateTime:m,number:function(e,t){return p(t,null==n?void 0:n.number,t=>r.getNumberFormat(o,t).format(e),()=>String(e))},relativeTime:function(e,t){try{var n;let i,a;let l={};t instanceof Date||"number"==typeof t?i=new Date(t):t&&(i=null!=t.now?new Date(t.now):v(),a=t.unit,l.style=t.style,l.numberingSystem=t.numberingSystem),i||(i=v());let s=(new Date(e).getTime()-i.getTime())/1e3;a||(a=function(e){let t=Math.abs(e);return t<60?"second":t<3600?"minute":t<86400?"hour":t<604800?"day":t{let t=r.getListFormat(o,e).formatToParts(i).map(e=>"literal"===e.type?e.value:a.get(e.value)||e.value);return a.size>0?t:t.join("")},()=>String(e))},dateTimeRange:function(e,t,i){return p(i,null==n?void 0:n.dateTime,n=>(n=f(n),r.getDateTimeFormat(o,n).formatRange(e,t)),()=>[m(e),m(t)].join(" – "))}}},t.resolveNamespace=function(e,t){return e===t?void 0:e.slice((t+".").length)}},4281:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n=r(7646),o=r(7392),i=r(3398),a=r(7878),l=r(5613),s=r(310);r(2886),r(2115),r(1535),r(3351),t.IntlError=n.IntlError,t.IntlErrorCode=n.IntlErrorCode,t.createFormatter=n.createFormatter,t.createTranslator=o.createTranslator,t._createCache=i.createCache,t._createIntlFormatters=i.createIntlFormatters,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=s.useLocale},3398:(e,t,r)=>{var n=r(1535);function o(){for(var e=arguments.length,t=Array(e),r=0;r({get:e=>t[e],set(e,r){t[e]=r}})},strategy:n.strategies.variadic})}function s(e,t){return l(function(){for(var t=arguments.length,r=Array(t),n=0;n{Object.defineProperty(t,"__esModule",{value:!0});var n=r(7878),o=r(310),i=r(2115),a=r(7646);r(3398),r(1535),r(3351),r(2886);let l=!1,s="undefined"==typeof window;t.IntlProvider=n.IntlProvider,t.useLocale=o.useLocale,t.useFormatter=function(){let{formats:e,formatters:t,locale:r,now:n,onError:l,timeZone:s}=o.useIntlContext();return i.useMemo(()=>a.createFormatter({formats:e,locale:r,now:n,onError:l,timeZone:s,_formatters:t}),[e,t,n,r,l,s])},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:r}=o.useIntlContext(),[n,a]=i.useState(r||new Date);return i.useEffect(()=>{if(!t)return;let e=setInterval(()=>{a(new Date)},t);return()=>{clearInterval(e)}},[r,t]),null==t&&r?r:n},t.useTimeZone=function(){return o.useIntlContext().timeZone},t.useTranslations=function(e){return function(e,t,r){let{cache:n,defaultTranslationValues:u,formats:c,formatters:f,getMessageFallback:d,locale:h,onError:p,timeZone:m}=o.useIntlContext(),v=e["!"],g=a.resolveNamespace(t,"!");return m||l||!s||(l=!0,p(new a.IntlError(a.IntlErrorCode.ENVIRONMENT_FALLBACK,void 0))),i.useMemo(()=>a.createBaseTranslator({cache:n,formatters:f,getMessageFallback:d,messages:v,defaultTranslationValues:u,namespace:g,onError:p,formats:c,locale:h,timeZone:m}),[n,f,d,v,u,g,p,c,h,m])}({"!":o.useIntlContext().messages},e?"!.".concat(e):"!",0)}},3727:(e,t,r)=>{r.d(t,{UE:()=>X,ll:()=>G,rD:()=>Z,UU:()=>Y,mG:()=>W,ER:()=>K,cY:()=>U,BN:()=>z,Ej:()=>V});let n=Math.min,o=Math.max,i=Math.round,a=Math.floor,l=e=>({x:e,y:e}),s={left:"right",right:"left",bottom:"top",top:"bottom"},u={start:"end",end:"start"};function c(e,t){return"function"==typeof e?e(t):e}function f(e){return e.split("-")[0]}function d(e){return e.split("-")[1]}function h(e){return"x"===e?"y":"x"}function p(e){return"y"===e?"height":"width"}function m(e){return["top","bottom"].includes(f(e))?"y":"x"}function v(e){return e.replace(/start|end/g,e=>u[e])}function g(e){return e.replace(/left|right|bottom|top/g,e=>s[e])}function b(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function y(e){let{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function E(e,t,r){let n,{reference:o,floating:i}=e,a=m(t),l=h(m(t)),s=p(l),u=f(t),c="y"===a,v=o.x+o.width/2-i.width/2,g=o.y+o.height/2-i.height/2,b=o[s]/2-i[s]/2;switch(u){case"top":n={x:v,y:o.y-i.height};break;case"bottom":n={x:v,y:o.y+o.height};break;case"right":n={x:o.x+o.width,y:g};break;case"left":n={x:o.x-i.width,y:g};break;default:n={x:o.x,y:o.y}}switch(d(t)){case"start":n[l]-=b*(r&&c?-1:1);break;case"end":n[l]+=b*(r&&c?-1:1)}return n}let w=async(e,t,r)=>{let{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:a}=r,l=i.filter(Boolean),s=await (null==a.isRTL?void 0:a.isRTL(t)),u=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:f}=E(u,n,s),d=n,h={},p=0;for(let r=0;re.left)),r=n(...e.map(e=>e.top));return{x:t,y:r,width:o(...e.map(e=>e.right))-t,height:o(...e.map(e=>e.bottom))-r}}async function P(e,t){let{placement:r,platform:n,elements:o}=e,i=await (null==n.isRTL?void 0:n.isRTL(o.floating)),a=f(r),l=d(r),s="y"===m(r),u=["left","top"].includes(a)?-1:1,h=i&&s?-1:1,p=c(t,e),{mainAxis:v,crossAxis:g,alignmentAxis:b}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return l&&"number"==typeof b&&(g="end"===l?-1*b:b),s?{x:g*h,y:v*u}:{x:v*u,y:g*h}}var C=r(5640);function A(e){let t=(0,C.L9)(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,o=(0,C.sb)(e),a=o?e.offsetWidth:r,l=o?e.offsetHeight:n,s=i(r)!==a||i(n)!==l;return s&&(r=a,n=l),{width:r,height:n,$:s}}function S(e){return(0,C.vq)(e)?e:e.contextElement}function _(e){let t=S(e);if(!(0,C.sb)(t))return l(1);let r=t.getBoundingClientRect(),{width:n,height:o,$:a}=A(t),s=(a?i(r.width):r.width)/n,u=(a?i(r.height):r.height)/o;return s&&Number.isFinite(s)||(s=1),u&&Number.isFinite(u)||(u=1),{x:s,y:u}}let L=l(0);function N(e){let t=(0,C.zk)(e);return(0,C.Tc)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:L}function R(e,t,r,n){var o;void 0===t&&(t=!1),void 0===r&&(r=!1);let i=e.getBoundingClientRect(),a=S(e),s=l(1);t&&(n?(0,C.vq)(n)&&(s=_(n)):s=_(e));let u=(void 0===(o=r)&&(o=!1),n&&(!o||n===(0,C.zk)(a))&&o)?N(a):l(0),c=(i.left+u.x)/s.x,f=(i.top+u.y)/s.y,d=i.width/s.x,h=i.height/s.y;if(a){let e=(0,C.zk)(a),t=n&&(0,C.vq)(n)?(0,C.zk)(n):n,r=e,o=(0,C._m)(r);for(;o&&n&&t!==r;){let e=_(o),t=o.getBoundingClientRect(),n=(0,C.L9)(o),i=t.left+(o.clientLeft+parseFloat(n.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(n.paddingTop))*e.y;c*=e.x,f*=e.y,d*=e.x,h*=e.y,c+=i,f+=a,r=(0,C.zk)(o),o=(0,C._m)(r)}}return y({width:d,height:h,x:c,y:f})}function I(e,t){let r=(0,C.CP)(e).scrollLeft;return t?t.left+r:R((0,C.ep)(e)).left+r}function H(e,t,r){void 0===r&&(r=!1);let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-(r?0:I(e,n)),y:n.top+t.scrollTop}}function B(e,t,r){let n;if("viewport"===t)n=function(e,t){let r=(0,C.zk)(e),n=(0,C.ep)(e),o=r.visualViewport,i=n.clientWidth,a=n.clientHeight,l=0,s=0;if(o){i=o.width,a=o.height;let e=(0,C.Tc)();(!e||e&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:i,height:a,x:l,y:s}}(e,r);else if("document"===t)n=function(e){let t=(0,C.ep)(e),r=(0,C.CP)(e),n=e.ownerDocument.body,i=o(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),a=o(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),l=-r.scrollLeft+I(e),s=-r.scrollTop;return"rtl"===(0,C.L9)(n).direction&&(l+=o(t.clientWidth,n.clientWidth)-i),{width:i,height:a,x:l,y:s}}((0,C.ep)(e));else if((0,C.vq)(t))n=function(e,t){let r=R(e,!0,"fixed"===t),n=r.top+e.clientTop,o=r.left+e.clientLeft,i=(0,C.sb)(e)?_(e):l(1),a=e.clientWidth*i.x;return{width:a,height:e.clientHeight*i.y,x:o*i.x,y:n*i.y}}(t,r);else{let r=N(e);n={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return y(n)}function M(e){return"static"===(0,C.L9)(e).position}function O(e,t){if(!(0,C.sb)(e)||"fixed"===(0,C.L9)(e).position)return null;if(t)return t(e);let r=e.offsetParent;return(0,C.ep)(e)===r&&(r=r.ownerDocument.body),r}function k(e,t){let r=(0,C.zk)(e);if((0,C.Tf)(e))return r;if(!(0,C.sb)(e)){let t=(0,C.$4)(e);for(;t&&!(0,C.eu)(t);){if((0,C.vq)(t)&&!M(t))return t;t=(0,C.$4)(t)}return r}let n=O(e,t);for(;n&&(0,C.Lv)(n)&&M(n);)n=O(n,t);return n&&(0,C.eu)(n)&&M(n)&&!(0,C.sQ)(n)?r:n||(0,C.gJ)(e)||r}let D=async function(e){let t=this.getOffsetParent||k,r=this.getDimensions,n=await r(e.floating);return{reference:function(e,t,r){let n=(0,C.sb)(t),o=(0,C.ep)(t),i="fixed"===r,a=R(e,!0,i,t),s={scrollLeft:0,scrollTop:0},u=l(0);if(n||!n&&!i){if(("body"!==(0,C.mq)(t)||(0,C.ZU)(o))&&(s=(0,C.CP)(t)),n){let e=R(t,!0,i,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else o&&(u.x=I(o))}let c=!o||n||i?l(0):H(o,s);return{x:a.left+s.scrollLeft-u.x-c.x,y:a.top+s.scrollTop-u.y-c.y,width:a.width,height:a.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},F={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e,i="fixed"===o,a=(0,C.ep)(n),s=!!t&&(0,C.Tf)(t.floating);if(n===a||s&&i)return r;let u={scrollLeft:0,scrollTop:0},c=l(1),f=l(0),d=(0,C.sb)(n);if((d||!d&&!i)&&(("body"!==(0,C.mq)(n)||(0,C.ZU)(a))&&(u=(0,C.CP)(n)),(0,C.sb)(n))){let e=R(n);c=_(n),f.x=e.x+n.clientLeft,f.y=e.y+n.clientTop}let h=!a||d||i?l(0):H(a,u,!0);return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-u.scrollLeft*c.x+f.x+h.x,y:r.y*c.y-u.scrollTop*c.y+f.y+h.y}},getDocumentElement:C.ep,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:i,strategy:a}=e,l=[..."clippingAncestors"===r?(0,C.Tf)(t)?[]:function(e,t){let r=t.get(e);if(r)return r;let n=(0,C.v9)(e,[],!1).filter(e=>(0,C.vq)(e)&&"body"!==(0,C.mq)(e)),o=null,i="fixed"===(0,C.L9)(e).position,a=i?(0,C.$4)(e):e;for(;(0,C.vq)(a)&&!(0,C.eu)(a);){let t=(0,C.L9)(a),r=(0,C.sQ)(a);r||"fixed"!==t.position||(o=null),(i?!r&&!o:!r&&"static"===t.position&&!!o&&["absolute","fixed"].includes(o.position)||(0,C.ZU)(a)&&!r&&function e(t,r){let n=(0,C.$4)(t);return!(n===r||!(0,C.vq)(n)||(0,C.eu)(n))&&("fixed"===(0,C.L9)(n).position||e(n,r))}(e,a))?n=n.filter(e=>e!==a):o=t,a=(0,C.$4)(a)}return t.set(e,n),n}(t,this._c):[].concat(r),i],s=l[0],u=l.reduce((e,r)=>{let i=B(t,r,a);return e.top=o(i.top,e.top),e.right=n(i.right,e.right),e.bottom=n(i.bottom,e.bottom),e.left=o(i.left,e.left),e},B(t,s,a));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},getOffsetParent:k,getElementRects:D,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:r}=A(e);return{width:t,height:r}},getScale:_,isElement:C.vq,isRTL:function(e){return"rtl"===(0,C.L9)(e).direction}};function j(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function G(e,t,r,i){let l;void 0===i&&(i={});let{ancestorScroll:s=!0,ancestorResize:u=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:f="function"==typeof IntersectionObserver,animationFrame:d=!1}=i,h=S(e),p=s||u?[...h?(0,C.v9)(h):[],...(0,C.v9)(t)]:[];p.forEach(e=>{s&&e.addEventListener("scroll",r,{passive:!0}),u&&e.addEventListener("resize",r)});let m=h&&f?function(e,t){let r,i=null,l=(0,C.ep)(e);function s(){var e;clearTimeout(r),null==(e=i)||e.disconnect(),i=null}return!function u(c,f){void 0===c&&(c=!1),void 0===f&&(f=1),s();let d=e.getBoundingClientRect(),{left:h,top:p,width:m,height:v}=d;if(c||t(),!m||!v)return;let g=a(p),b=a(l.clientWidth-(h+m)),y={rootMargin:-g+"px "+-b+"px "+-a(l.clientHeight-(p+v))+"px "+-a(h)+"px",threshold:o(0,n(1,f))||1},E=!0;function w(t){let n=t[0].intersectionRatio;if(n!==f){if(!E)return u();n?u(!1,n):r=setTimeout(()=>{u(!1,1e-7)},1e3)}1!==n||j(d,e.getBoundingClientRect())||u(),E=!1}try{i=new IntersectionObserver(w,{...y,root:l.ownerDocument})}catch(e){i=new IntersectionObserver(w,y)}i.observe(e)}(!0),s}(h,r):null,v=-1,g=null;c&&(g=new ResizeObserver(e=>{let[n]=e;n&&n.target===h&&g&&(g.unobserve(t),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var e;null==(e=g)||e.observe(t)})),r()}),h&&!d&&g.observe(h),g.observe(t));let b=d?R(e):null;return d&&function t(){let n=R(e);b&&!j(b,n)&&r(),b=n,l=requestAnimationFrame(t)}(),r(),()=>{var e;p.forEach(e=>{s&&e.removeEventListener("scroll",r),u&&e.removeEventListener("resize",r)}),null==m||m(),null==(e=g)||e.disconnect(),g=null,d&&cancelAnimationFrame(l)}}let U=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var r,n;let{x:o,y:i,placement:a,middlewareData:l}=t,s=await P(t,e);return a===(null==(r=l.offset)?void 0:r.placement)&&null!=(n=l.arrow)&&n.alignmentOffset?{}:{x:o+s.x,y:i+s.y,data:{...s,placement:a}}}}},z=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:i,placement:a}=t,{mainAxis:l=!0,crossAxis:s=!1,limiter:u={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...d}=c(e,t),p={x:r,y:i},v=await x(t,d),g=m(f(a)),b=h(g),y=p[b],E=p[g];if(l){let e="y"===b?"top":"left",t="y"===b?"bottom":"right",r=y+v[e],i=y-v[t];y=o(r,n(y,i))}if(s){let e="y"===g?"top":"left",t="y"===g?"bottom":"right",r=E+v[e],i=E-v[t];E=o(r,n(E,i))}let w=u.fn({...t,[b]:y,[g]:E});return{...w,data:{x:w.x-r,y:w.y-i,enabled:{[b]:l,[g]:s}}}}}},Y=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r,n,o,i,a;let{placement:l,middlewareData:s,rects:u,initialPlacement:b,platform:y,elements:E}=t,{mainAxis:w=!0,crossAxis:T=!0,fallbackPlacements:P,fallbackStrategy:C="bestFit",fallbackAxisSideDirection:A="none",flipAlignment:S=!0,..._}=c(e,t);if(null!=(r=s.arrow)&&r.alignmentOffset)return{};let L=f(l),N=m(b),R=f(b)===b,I=await (null==y.isRTL?void 0:y.isRTL(E.floating)),H=P||(R||!S?[g(b)]:function(e){let t=g(e);return[v(e),t,v(t)]}(b)),B="none"!==A;!P&&B&&H.push(...function(e,t,r,n){let o=d(e),i=function(e,t,r){let n=["left","right"],o=["right","left"];switch(e){case"top":case"bottom":if(r)return t?o:n;return t?n:o;case"left":case"right":return t?["top","bottom"]:["bottom","top"];default:return[]}}(f(e),"start"===r,n);return o&&(i=i.map(e=>e+"-"+o),t&&(i=i.concat(i.map(v)))),i}(b,S,A,I));let M=[b,...H],O=await x(t,_),k=[],D=(null==(n=s.flip)?void 0:n.overflows)||[];if(w&&k.push(O[L]),T){let e=function(e,t,r){void 0===r&&(r=!1);let n=d(e),o=h(m(e)),i=p(o),a="x"===o?n===(r?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=g(a)),[a,g(a)]}(l,u,I);k.push(O[e[0]],O[e[1]])}if(D=[...D,{placement:l,overflows:k}],!k.every(e=>e<=0)){let e=((null==(o=s.flip)?void 0:o.index)||0)+1,t=M[e];if(t)return{data:{index:e,overflows:D},reset:{placement:t}};let r=null==(i=D.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:i.placement;if(!r)switch(C){case"bestFit":{let e=null==(a=D.filter(e=>{if(B){let t=m(e.placement);return t===N||"y"===t}return!0}).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&&(r=e);break}case"initialPlacement":r=b}if(l!==r)return{reset:{placement:r}}}return{}}}},V=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var r,i;let a,l;let{placement:s,rects:u,platform:h,elements:p}=t,{apply:v=()=>{},...g}=c(e,t),b=await x(t,g),y=f(s),E=d(s),w="y"===m(s),{width:T,height:P}=u.floating;"top"===y||"bottom"===y?(a=y,l=E===(await (null==h.isRTL?void 0:h.isRTL(p.floating))?"start":"end")?"left":"right"):(l=y,a="end"===E?"top":"bottom");let C=P-b.top-b.bottom,A=T-b.left-b.right,S=n(P-b[a],C),_=n(T-b[l],A),L=!t.middlewareData.shift,N=S,R=_;if(null!=(r=t.middlewareData.shift)&&r.enabled.x&&(R=A),null!=(i=t.middlewareData.shift)&&i.enabled.y&&(N=C),L&&!E){let e=o(b.left,0),t=o(b.right,0),r=o(b.top,0),n=o(b.bottom,0);w?R=T-2*(0!==e||0!==t?e+t:o(b.left,b.right)):N=P-2*(0!==r||0!==n?r+n:o(b.top,b.bottom))}await v({...t,availableWidth:R,availableHeight:N});let I=await h.getDimensions(p.floating);return T!==I.width||P!==I.height?{reset:{rects:!0}}:{}}}},X=e=>({name:"arrow",options:e,async fn(t){let{x:r,y:i,placement:a,rects:l,platform:s,elements:u,middlewareData:f}=t,{element:v,padding:g=0}=c(e,t)||{};if(null==v)return{};let y=b(g),E={x:r,y:i},w=h(m(a)),x=p(w),T=await s.getDimensions(v),P="y"===w,C=P?"clientHeight":"clientWidth",A=l.reference[x]+l.reference[w]-E[w]-l.floating[x],S=E[w]-l.reference[w],_=await (null==s.getOffsetParent?void 0:s.getOffsetParent(v)),L=_?_[C]:0;L&&await (null==s.isElement?void 0:s.isElement(_))||(L=u.floating[C]||l.floating[x]);let N=L/2-T[x]/2-1,R=n(y[P?"top":"left"],N),I=n(y[P?"bottom":"right"],N),H=L-T[x]-I,B=L/2-T[x]/2+(A/2-S/2),M=o(R,n(B,H)),O=!f.arrow&&null!=d(a)&&B!==M&&l.reference[x]/2-(Be.y-t.y),r=[],n=null;for(let e=0;en.height/2?r.push([o]):r[r.length-1].push(o),n=o}return r.map(e=>y(T(e)))}(p),g=y(T(p)),E=b(u),w=await l.getElementRects({reference:{getBoundingClientRect:function(){if(2===v.length&&v[0].left>v[1].right&&null!=d&&null!=h)return v.find(e=>d>e.left-E.left&&de.top-E.top&&h=2){if("y"===m(r)){let e=v[0],t=v[v.length-1],n="top"===f(r),o=e.top,i=t.bottom,a=n?e.left:t.left,l=n?e.right:t.right;return{top:o,bottom:i,left:a,right:l,width:l-a,height:i-o,x:a,y:o}}let e="left"===f(r),t=o(...v.map(e=>e.right)),i=n(...v.map(e=>e.left)),a=v.filter(r=>e?r.left===i:r.right===t),l=a[0].top,s=a[a.length-1].bottom;return{top:l,bottom:s,left:i,right:t,width:t-i,height:s-l,x:i,y:l}}return g}},floating:i.floating,strategy:s});return a.reference.x!==w.reference.x||a.reference.y!==w.reference.y||a.reference.width!==w.reference.width||a.reference.height!==w.reference.height?{reset:{rects:w}}:{}}}},K=function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:r,y:n,placement:o,rects:i,middlewareData:a}=t,{offset:l=0,mainAxis:s=!0,crossAxis:u=!0}=c(e,t),d={x:r,y:n},p=m(o),v=h(p),g=d[v],b=d[p],y=c(l,t),E="number"==typeof y?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(s){let e="y"===v?"height":"width",t=i.reference[v]-i.floating[e]+E.mainAxis,r=i.reference[v]+i.reference[e]-E.mainAxis;gr&&(g=r)}if(u){var w,x;let e="y"===v?"width":"height",t=["top","left"].includes(f(o)),r=i.reference[p]-i.floating[e]+(t&&(null==(w=a.offset)?void 0:w[p])||0)+(t?0:E.crossAxis),n=i.reference[p]+i.reference[e]+(t?0:(null==(x=a.offset)?void 0:x[p])||0)-(t?E.crossAxis:0);bn&&(b=n)}return{[v]:g,[p]:b}}}},Z=(e,t,r)=>{let n=new Map,o={platform:F,...r},i={...o.platform,_c:n};return w(e,t,{...o,platform:i})}},6932:(e,t,r)=>{r.d(t,{BN:()=>p,ER:()=>m,Ej:()=>g,UE:()=>y,UU:()=>v,cY:()=>h,mG:()=>b,we:()=>f});var n=r(3727),o=r(2115),i=r(7650),a="undefined"!=typeof document?o.useLayoutEffect:o.useEffect;function l(e,t){let r,n,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((r=e.length)!==t.length)return!1;for(n=r;0!=n--;)if(!l(e[n],t[n]))return!1;return!0}if((r=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(n=r;0!=n--;)if(!({}).hasOwnProperty.call(t,o[n]))return!1;for(n=r;0!=n--;){let r=o[n];if(("_owner"!==r||!e.$$typeof)&&!l(e[r],t[r]))return!1}return!0}return e!=e&&t!=t}function s(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function u(e,t){let r=s(e);return Math.round(t*r)/r}function c(e){let t=o.useRef(e);return a(()=>{t.current=e}),t}function f(e){void 0===e&&(e={});let{placement:t="bottom",strategy:r="absolute",middleware:f=[],platform:d,elements:{reference:h,floating:p}={},transform:m=!0,whileElementsMounted:v,open:g}=e,[b,y]=o.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[E,w]=o.useState(f);l(E,f)||w(f);let[x,T]=o.useState(null),[P,C]=o.useState(null),A=o.useCallback(e=>{e!==N.current&&(N.current=e,T(e))},[]),S=o.useCallback(e=>{e!==R.current&&(R.current=e,C(e))},[]),_=h||x,L=p||P,N=o.useRef(null),R=o.useRef(null),I=o.useRef(b),H=null!=v,B=c(v),M=c(d),O=c(g),k=o.useCallback(()=>{if(!N.current||!R.current)return;let e={placement:t,strategy:r,middleware:E};M.current&&(e.platform=M.current),(0,n.rD)(N.current,R.current,e).then(e=>{let t={...e,isPositioned:!1!==O.current};D.current&&!l(I.current,t)&&(I.current=t,i.flushSync(()=>{y(t)}))})},[E,t,r,M,O]);a(()=>{!1===g&&I.current.isPositioned&&(I.current.isPositioned=!1,y(e=>({...e,isPositioned:!1})))},[g]);let D=o.useRef(!1);a(()=>(D.current=!0,()=>{D.current=!1}),[]),a(()=>{if(_&&(N.current=_),L&&(R.current=L),_&&L){if(B.current)return B.current(_,L,k);k()}},[_,L,k,B,H]);let F=o.useMemo(()=>({reference:N,floating:R,setReference:A,setFloating:S}),[A,S]),j=o.useMemo(()=>({reference:_,floating:L}),[_,L]),G=o.useMemo(()=>{let e={position:r,left:0,top:0};if(!j.floating)return e;let t=u(j.floating,b.x),n=u(j.floating,b.y);return m?{...e,transform:"translate("+t+"px, "+n+"px)",...s(j.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,m,j.floating,b.x,b.y]);return o.useMemo(()=>({...b,update:k,refs:F,elements:j,floatingStyles:G}),[b,k,F,j,G])}let d=e=>({name:"arrow",options:e,fn(t){let{element:r,padding:o}="function"==typeof e?e(t):e;return r&&({}).hasOwnProperty.call(r,"current")?null!=r.current?(0,n.UE)({element:r.current,padding:o}).fn(t):{}:r?(0,n.UE)({element:r,padding:o}).fn(t):{}}}),h=(e,t)=>({...(0,n.cY)(e),options:[e,t]}),p=(e,t)=>({...(0,n.BN)(e),options:[e,t]}),m=(e,t)=>({...(0,n.ER)(e),options:[e,t]}),v=(e,t)=>({...(0,n.UU)(e),options:[e,t]}),g=(e,t)=>({...(0,n.Ej)(e),options:[e,t]}),b=(e,t)=>({...(0,n.mG)(e),options:[e,t]}),y=(e,t)=>({...d(e),options:[e,t]})},5640:(e,t,r)=>{function n(){return"undefined"!=typeof window}function o(e){return l(e)?(e.nodeName||"").toLowerCase():"#document"}function i(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function a(e){var t;return null==(t=(l(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function l(e){return!!n()&&(e instanceof Node||e instanceof i(e).Node)}function s(e){return!!n()&&(e instanceof Element||e instanceof i(e).Element)}function u(e){return!!n()&&(e instanceof HTMLElement||e instanceof i(e).HTMLElement)}function c(e){return!!n()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof i(e).ShadowRoot)}function f(e){let{overflow:t,overflowX:r,overflowY:n,display:o}=b(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(o)}function d(e){return["table","td","th"].includes(o(e))}function h(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch(e){return!1}})}function p(e){let t=v(),r=s(e)?b(e):e;return["transform","translate","scale","rotate","perspective"].some(e=>!!r[e]&&"none"!==r[e])||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||["transform","translate","scale","rotate","perspective","filter"].some(e=>(r.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(r.contain||"").includes(e))}function m(e){let t=E(e);for(;u(t)&&!g(t);){if(p(t))return t;if(h(t))break;t=E(t)}return null}function v(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function g(e){return["html","body","#document"].includes(o(e))}function b(e){return i(e).getComputedStyle(e)}function y(e){return s(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function E(e){if("html"===o(e))return e;let t=e.assignedSlot||e.parentNode||c(e)&&e.host||a(e);return c(t)?t.host:t}function w(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}r.d(t,{$4:()=>E,CP:()=>y,L9:()=>b,Lv:()=>d,Tc:()=>v,Tf:()=>h,ZU:()=>f,_m:()=>w,ep:()=>a,eu:()=>g,gJ:()=>m,mq:()=>o,sQ:()=>p,sb:()=>u,v9:()=>function e(t,r,n){var o;void 0===r&&(r=[]),void 0===n&&(n=!0);let a=function e(t){let r=E(t);return g(r)?t.ownerDocument?t.ownerDocument.body:t.body:u(r)&&f(r)?r:e(r)}(t),l=a===(null==(o=t.ownerDocument)?void 0:o.body),s=i(a);if(l){let t=w(s);return r.concat(s,s.visualViewport||[],f(a)?a:[],t&&n?e(t):[])}return r.concat(a,e(a,[],n))},vq:()=>s,zk:()=>i})},4608:(e,t,r)=>{r.d(t,{G:()=>eI});var n,o,i=r(5155),a=r(2115),l=r(4065),s=r(4456),u=r(6407),c=r(1902),f=r(6788),d=r(6707);let[h,p]=(0,r(3981).F)("AppShell was not found in tree");var m={root:"m_89ab340",navbar:"m_45252eee",aside:"m_9cdde9a",header:"m_3b16f56b",main:"m_8983817",footer:"m_3840c879",section:"m_6dcfc7c7"};let v={},g=(0,d.P9)((e,t)=>{let{classNames:r,className:n,style:o,styles:a,unstyled:l,vars:s,withBorder:c,zIndex:d,mod:h,...m}=(0,u.Y)("AppShellAside",v,e),g=p();return g.disabled?null:(0,i.jsx)(f.a,{component:"aside",ref:t,mod:[{"with-border":null!=c?c:g.withBorder},h],...g.getStyles("aside",{className:n,classNames:r,styles:a,style:o}),...m,__vars:{"--app-shell-aside-z-index":"calc(".concat(null!=d?d:g.zIndex," + 1)")}})});g.classes=m,g.displayName="@mantine/core/AppShellAside";var b=r(3463),y=r(6476),E="right-scroll-bar-position",w="width-before-scroll-bar";function x(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var T="undefined"!=typeof window?a.useLayoutEffect:a.useEffect,P=new WeakMap;function C(e){return e}var A=function(e){void 0===e&&(e={});var t,r,n,o=(void 0===t&&(t=C),r=[],n=!1,{read:function(){if(n)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:null},useMedium:function(e){var o=t(e,n);return r.push(o),function(){r=r.filter(function(e){return e!==o})}},assignSyncMedium:function(e){for(n=!0;r.length;){var t=r;r=[],t.forEach(e)}r={push:function(t){return e(t)},filter:function(){return r}}},assignMedium:function(e){n=!0;var t=[];if(r.length){var o=r;r=[],o.forEach(e),t=r}var i=function(){var r=t;t=[],r.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),r={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),r}}}});return o.options=(0,y.Cl)({async:!0,ssr:!1},e),o}(),S=function(){},_=a.forwardRef(function(e,t){var r,n,o,i,l=a.useRef(null),s=a.useState({onScrollCapture:S,onWheelCapture:S,onTouchMoveCapture:S}),u=s[0],c=s[1],f=e.forwardProps,d=e.children,h=e.className,p=e.removeScrollBar,m=e.enabled,v=e.shards,g=e.sideCar,b=e.noIsolation,E=e.inert,w=e.allowPinchZoom,C=e.as,_=e.gapMode,L=(0,y.Tt)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),N=(r=[l,t],n=function(e){return r.forEach(function(t){return x(t,e)})},(o=(0,a.useState)(function(){return{value:null,callback:n,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=n,i=o.facade,T(function(){var e=P.get(i);if(e){var t=new Set(e),n=new Set(r),o=i.current;t.forEach(function(e){n.has(e)||x(e,null)}),n.forEach(function(e){t.has(e)||x(e,o)})}P.set(i,r)},[r]),i),R=(0,y.Cl)((0,y.Cl)({},L),u);return a.createElement(a.Fragment,null,m&&a.createElement(g,{sideCar:A,removeScrollBar:p,shards:v,noIsolation:b,inert:E,setCallbacks:c,allowPinchZoom:!!w,lockRef:l,gapMode:_}),f?a.cloneElement(a.Children.only(d),(0,y.Cl)((0,y.Cl)({},R),{ref:N})):a.createElement(void 0===C?"div":C,(0,y.Cl)({},R,{className:h,ref:N}),d))});_.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},_.classNames={fullWidth:w,zeroRight:E};var L=function(e){var t=e.sideCar,r=(0,y.Tt)(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw Error("Sidecar medium not found");return a.createElement(n,(0,y.Cl)({},r))};L.isSideCarExport=!0;var N=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=o||r.nc;return t&&e.setAttribute("nonce",t),e}())){var i,a;(i=t).styleSheet?i.styleSheet.cssText=n:i.appendChild(document.createTextNode(n)),a=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(a)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},R=function(){var e=N();return function(t,r){a.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},I=function(){var e=R();return function(t){return e(t.styles,t.dynamic),null}},H={left:0,top:0,right:0,gap:0},B=function(e){return parseInt(e||"",10)||0},M=function(e){var t=window.getComputedStyle(document.body),r=t["padding"===e?"paddingLeft":"marginLeft"],n=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[B(r),B(n),B(o)]},O=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return H;var t=M(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},k=I(),D="data-scroll-locked",F=function(e,t,r,n){var o=e.left,i=e.top,a=e.right,l=e.gap;return void 0===r&&(r="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(n,";\n padding-right: ").concat(l,"px ").concat(n,";\n }\n body[").concat(D,"] {\n overflow: hidden ").concat(n,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(n,";"),"margin"===r&&"\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(n,";\n "),"padding"===r&&"padding-right: ".concat(l,"px ").concat(n,";")].filter(Boolean).join(""),"\n }\n \n .").concat(E," {\n right: ").concat(l,"px ").concat(n,";\n }\n \n .").concat(w," {\n margin-right: ").concat(l,"px ").concat(n,";\n }\n \n .").concat(E," .").concat(E," {\n right: 0 ").concat(n,";\n }\n \n .").concat(w," .").concat(w," {\n margin-right: 0 ").concat(n,";\n }\n \n body[").concat(D,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(l,"px;\n }\n")},j=function(){var e=parseInt(document.body.getAttribute(D)||"0",10);return isFinite(e)?e:0},G=function(){a.useEffect(function(){return document.body.setAttribute(D,(j()+1).toString()),function(){var e=j()-1;e<=0?document.body.removeAttribute(D):document.body.setAttribute(D,e.toString())}},[])},U=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,o=void 0===n?"margin":n;G();var i=a.useMemo(function(){return O(o)},[o]);return a.createElement(k,{styles:F(i,!t,o,r?"":"!important")})},z=!1;if("undefined"!=typeof window)try{var Y=Object.defineProperty({},"passive",{get:function(){return z=!0,!0}});window.addEventListener("test",Y,Y),window.removeEventListener("test",Y,Y)}catch(e){z=!1}var V=!!z&&{passive:!1},X=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return"hidden"!==r[t]&&!(r.overflowY===r.overflowX&&"TEXTAREA"!==e.tagName&&"visible"===r[t])},W=function(e,t){var r=t.ownerDocument,n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),K(e,n)){var o=Z(e,n);if(o[1]>o[2])return!0}n=n.parentNode}while(n&&n!==r.body);return!1},K=function(e,t){return"v"===e?X(t,"overflowY"):X(t,"overflowX")},Z=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},q=function(e,t,r,n,o){var i,a=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),l=a*n,s=r.target,u=t.contains(s),c=!1,f=l>0,d=0,h=0;do{var p=Z(e,s),m=p[0],v=p[1]-p[2]-a*m;(m||v)&&K(e,s)&&(d+=v,h+=m),s instanceof ShadowRoot?s=s.host:s=s.parentNode}while(!u&&s!==document.body||u&&(t.contains(s)||t===s));return f&&(o&&1>Math.abs(d)||!o&&l>d)?c=!0:!f&&(o&&1>Math.abs(h)||!o&&-l>h)&&(c=!0),c},J=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},$=function(e){return[e.deltaX,e.deltaY]},Q=function(e){return e&&"current"in e?e.current:e},ee=0,et=[];let er=(n=function(e){var t=a.useRef([]),r=a.useRef([0,0]),n=a.useRef(),o=a.useState(ee++)[0],i=a.useState(I)[0],l=a.useRef(e);a.useEffect(function(){l.current=e},[e]),a.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(0,y.fX)([e.lockRef.current],(e.shards||[]).map(Q),!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 s=a.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!l.current.allowPinchZoom;var o,i=J(e),a=r.current,s="deltaX"in e?e.deltaX:a[0]-i[0],u="deltaY"in e?e.deltaY:a[1]-i[1],c=e.target,f=Math.abs(s)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===f&&"range"===c.type)return!1;var d=W(f,c);if(!d)return!0;if(d?o=f:(o="v"===f?"h":"v",d=W(f,c)),!d)return!1;if(!n.current&&"changedTouches"in e&&(s||u)&&(n.current=o),!o)return!0;var h=n.current||o;return q(h,t,e,"h"===h?s:u,!0)},[]),u=a.useCallback(function(e){if(et.length&&et[et.length-1]===i){var r="deltaY"in e?$(e):J(e),n=t.current.filter(function(t){var n;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(n=t.delta)[0]===r[0]&&n[1]===r[1]})[0];if(n&&n.should){e.cancelable&&e.preventDefault();return}if(!n){var o=(l.current.shards||[]).map(Q).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?s(e,o[0]):!l.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),c=a.useCallback(function(e,r,n,o){var i={name:e,delta:r,target:n,should:o,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(n)};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),f=a.useCallback(function(e){r.current=J(e),n.current=void 0},[]),d=a.useCallback(function(t){c(t.type,$(t),t.target,s(t,e.lockRef.current))},[]),h=a.useCallback(function(t){c(t.type,J(t),t.target,s(t,e.lockRef.current))},[]);a.useEffect(function(){return et.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:h}),document.addEventListener("wheel",u,V),document.addEventListener("touchmove",u,V),document.addEventListener("touchstart",f,V),function(){et=et.filter(function(e){return e!==i}),document.removeEventListener("wheel",u,V),document.removeEventListener("touchmove",u,V),document.removeEventListener("touchstart",f,V)}},[]);var p=e.removeScrollBar,m=e.inert;return a.createElement(a.Fragment,null,m?a.createElement(i,{styles:"\n .block-interactivity-".concat(o," {pointer-events: none;}\n .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,p?a.createElement(U,{gapMode:e.gapMode}):null)},A.useMedium(n),L);var en=a.forwardRef(function(e,t){return a.createElement(_,(0,y.Cl)({},e,{ref:t,sideCar:er}))});en.classNames=_.classNames;let eo={},ei=(0,d.P9)((e,t)=>{var r;let{classNames:n,className:o,style:a,styles:l,unstyled:s,vars:c,withBorder:d,zIndex:h,mod:m,...v}=(0,u.Y)("AppShellFooter",eo,e),g=p();return g.disabled?null:(0,i.jsx)(f.a,{component:"footer",ref:t,mod:[{"with-border":null!=d?d:g.withBorder},m],...g.getStyles("footer",{className:(0,b.A)({[en.classNames.zeroRight]:g.offsetScrollbars},o),classNames:n,styles:l,style:a}),...v,__vars:{"--app-shell-footer-z-index":null===(r=null!=h?h:g.zIndex)||void 0===r?void 0:r.toString()}})});ei.classes=m,ei.displayName="@mantine/core/AppShellFooter";let ea={},el=(0,d.P9)((e,t)=>{var r;let{classNames:n,className:o,style:a,styles:l,unstyled:s,vars:c,withBorder:d,zIndex:h,mod:m,...v}=(0,u.Y)("AppShellHeader",ea,e),g=p();return g.disabled?null:(0,i.jsx)(f.a,{component:"header",ref:t,mod:[{"with-border":null!=d?d:g.withBorder},m],...g.getStyles("header",{className:(0,b.A)({[en.classNames.zeroRight]:g.offsetScrollbars},o),classNames:n,styles:l,style:a}),...v,__vars:{"--app-shell-header-z-index":null===(r=null!=h?h:g.zIndex)||void 0===r?void 0:r.toString()}})});el.classes=m,el.displayName="@mantine/core/AppShellHeader";let es={},eu=(0,d.P9)((e,t)=>{let{classNames:r,className:n,style:o,styles:a,vars:l,...s}=(0,u.Y)("AppShellMain",es,e),c=p();return(0,i.jsx)(f.a,{component:"main",ref:t,...c.getStyles("main",{className:n,style:o,classNames:r,styles:a}),...s})});eu.classes=m,eu.displayName="@mantine/core/AppShellMain";var ec=r(431),ef=r(8770),ed=r(7768),eh=r(8643),ep=r(7518),em=r(4581),ev=r(2311);function eg(e){return"object"==typeof e?e.base:e}function eb(e){let t="object"==typeof e&&null!==e&&void 0!==e.base&&1===Object.keys(e).length;return"number"==typeof e||"string"==typeof e||t}function ey(e){return"object"==typeof e&&null!==e&&(1!==Object.keys(e).length||!("base"in e))}var eE=r(4987);function ew(e){return 0===Number(e)?"0px":(0,eE.GY)(e)}function ex(e){let{navbar:t,header:r,aside:n,footer:o,padding:a}=e,l=(0,ef.xd)(),s=(0,ec.jD)(),{media:u,baseStyles:c}=function(e){let{navbar:t,header:r,footer:n,aside:o,padding:i,theme:a}=e,l={},s={},u={};return!function(e){var t,r,n;let{baseStyles:o,minMediaStyles:i,maxMediaStyles:a,navbar:l,theme:s}=e,u=null==l?void 0:l.width,c="translateX(calc(var(--app-shell-navbar-width) * -1))",f="translateX(var(--app-shell-navbar-width))";if(null==l||!l.breakpoint||(null==l?void 0:null===(t=l.collapsed)||void 0===t?void 0:t.mobile)||(a[null==l?void 0:l.breakpoint]=a[null==l?void 0:l.breakpoint]||{},a[null==l?void 0:l.breakpoint]["--app-shell-navbar-width"]="100%",a[null==l?void 0:l.breakpoint]["--app-shell-navbar-offset"]="0px"),eb(u)){let e=(0,ep.D)(eg(u));o["--app-shell-navbar-width"]=e,o["--app-shell-navbar-offset"]=e}if(ey(u)&&(void 0!==u.base&&(o["--app-shell-navbar-width"]=(0,ep.D)(u.base),o["--app-shell-navbar-offset"]=(0,ep.D)(u.base)),(0,eh.H)(u).forEach(e=>{"base"!==e&&(i[e]=i[e]||{},i[e]["--app-shell-navbar-width"]=(0,ep.D)(u[e]),i[e]["--app-shell-navbar-offset"]=(0,ep.D)(u[e]))})),null==l?void 0:null===(r=l.collapsed)||void 0===r?void 0:r.desktop){let e=l.breakpoint;i[e]=i[e]||{},i[e]["--app-shell-navbar-transform"]=c,i[e]["--app-shell-navbar-transform-rtl"]=f,i[e]["--app-shell-navbar-offset"]="0px !important"}if(null==l?void 0:null===(n=l.collapsed)||void 0===n?void 0:n.mobile){let e=(0,ev.r)(l.breakpoint,s.breakpoints)-.1;a[e]=a[e]||{},a[e]["--app-shell-navbar-width"]="100%",a[e]["--app-shell-navbar-offset"]="0px",a[e]["--app-shell-navbar-transform"]=c,a[e]["--app-shell-navbar-transform-rtl"]=f}}({baseStyles:u,minMediaStyles:l,maxMediaStyles:s,navbar:t,theme:a}),function(e){var t,r,n;let{baseStyles:o,minMediaStyles:i,maxMediaStyles:a,aside:l,theme:s}=e,u=null==l?void 0:l.width,c="translateX(var(--app-shell-aside-width))",f="translateX(calc(var(--app-shell-aside-width) * -1))";if(null==l||!l.breakpoint||(null==l?void 0:null===(t=l.collapsed)||void 0===t?void 0:t.mobile)||(a[null==l?void 0:l.breakpoint]=a[null==l?void 0:l.breakpoint]||{},a[null==l?void 0:l.breakpoint]["--app-shell-aside-width"]="100%",a[null==l?void 0:l.breakpoint]["--app-shell-aside-offset"]="0px"),eb(u)){let e=(0,ep.D)(eg(u));o["--app-shell-aside-width"]=e,o["--app-shell-aside-offset"]=e}if(ey(u)&&(void 0!==u.base&&(o["--app-shell-aside-width"]=(0,ep.D)(u.base),o["--app-shell-aside-offset"]=(0,ep.D)(u.base)),(0,eh.H)(u).forEach(e=>{"base"!==e&&(i[e]=i[e]||{},i[e]["--app-shell-aside-width"]=(0,ep.D)(u[e]),i[e]["--app-shell-aside-offset"]=(0,ep.D)(u[e]))})),null==l?void 0:null===(r=l.collapsed)||void 0===r?void 0:r.desktop){let e=l.breakpoint;i[e]=i[e]||{},i[e]["--app-shell-aside-transform"]=c,i[e]["--app-shell-aside-transform-rtl"]=f,i[e]["--app-shell-aside-offset"]="0px !important"}if(null==l?void 0:null===(n=l.collapsed)||void 0===n?void 0:n.mobile){let e=(0,ev.r)(l.breakpoint,s.breakpoints)-.1;a[e]=a[e]||{},a[e]["--app-shell-aside-width"]="100%",a[e]["--app-shell-aside-offset"]="0px",a[e]["--app-shell-aside-transform"]=c,a[e]["--app-shell-aside-transform-rtl"]=f}}({baseStyles:u,minMediaStyles:l,maxMediaStyles:s,aside:o,theme:a}),function(e){var t;let{baseStyles:r,minMediaStyles:n,header:o}=e,i=null==o?void 0:o.height,a=null===(t=null==o?void 0:o.offset)||void 0===t||t;if(eb(i)){let e=(0,ep.D)(eg(i));r["--app-shell-header-height"]=e,a&&(r["--app-shell-header-offset"]=e)}ey(i)&&(void 0!==i.base&&(r["--app-shell-header-height"]=(0,ep.D)(i.base),a&&(r["--app-shell-header-offset"]=(0,ep.D)(i.base))),(0,eh.H)(i).forEach(e=>{"base"!==e&&(n[e]=n[e]||{},n[e]["--app-shell-header-height"]=(0,ep.D)(i[e]),a&&(n[e]["--app-shell-header-offset"]=(0,ep.D)(i[e])))})),(null==o?void 0:o.collapsed)&&(r["--app-shell-header-transform"]="translateY(calc(var(--app-shell-header-height) * -1))",r["--app-shell-header-offset"]="0px !important")}({baseStyles:u,minMediaStyles:l,header:r}),function(e){var t;let{baseStyles:r,minMediaStyles:n,footer:o}=e,i=null==o?void 0:o.height,a=null===(t=null==o?void 0:o.offset)||void 0===t||t;if(eb(i)){let e=(0,ep.D)(eg(i));r["--app-shell-footer-height"]=e,a&&(r["--app-shell-footer-offset"]=e)}ey(i)&&(void 0!==i.base&&(r["--app-shell-footer-height"]=(0,ep.D)(i.base),a&&(r["--app-shell-footer-offset"]=(0,ep.D)(i.base))),(0,eh.H)(i).forEach(e=>{"base"!==e&&(n[e]=n[e]||{},n[e]["--app-shell-footer-height"]=(0,ep.D)(i[e]),a&&(n[e]["--app-shell-footer-offset"]=(0,ep.D)(i[e])))})),(null==o?void 0:o.collapsed)&&(r["--app-shell-footer-transform"]="translateY(var(--app-shell-footer-height))",r["--app-shell-footer-offset"]="0px !important")}({baseStyles:u,minMediaStyles:l,footer:n}),function(e){let{padding:t,baseStyles:r,minMediaStyles:n}=e;eb(t)&&(r["--app-shell-padding"]=ew(eg(t))),ey(t)&&(t.base&&(r["--app-shell-padding"]=ew(t.base)),(0,eh.H)(t).forEach(e=>{"base"!==e&&(n[e]=n[e]||{},n[e]["--app-shell-padding"]=ew(t[e]))}))}({baseStyles:u,minMediaStyles:l,padding:i}),{baseStyles:u,media:[...(0,em.q)((0,eh.H)(l),a.breakpoints).map(e=>({query:"(min-width: ".concat((0,ep.em)(e.px),")"),styles:l[e.value]})),...(0,em.q)((0,eh.H)(s),a.breakpoints).map(e=>({query:"(max-width: ".concat((0,ep.em)(e.px),")"),styles:s[e.value]}))]}}({navbar:t,header:r,footer:o,aside:n,padding:a,theme:l});return(0,i.jsx)(ed.K,{media:u,styles:c,selector:s.cssVariablesSelector})}let eT={},eP=(0,d.P9)((e,t)=>{let{classNames:r,className:n,style:o,styles:a,unstyled:l,vars:s,withBorder:c,zIndex:d,mod:h,...m}=(0,u.Y)("AppShellNavbar",eT,e),v=p();return v.disabled?null:(0,i.jsx)(f.a,{component:"nav",ref:t,mod:[{"with-border":null!=c?c:v.withBorder},h],...v.getStyles("navbar",{className:n,classNames:r,styles:a,style:o}),...m,__vars:{"--app-shell-navbar-z-index":"calc(".concat(null!=d?d:v.zIndex," + 1)")}})});eP.classes=m,eP.displayName="@mantine/core/AppShellNavbar";var eC=r(668);let eA={},eS=(0,eC.v)((e,t)=>{let{classNames:r,className:n,style:o,styles:a,vars:l,grow:s,mod:c,...d}=(0,u.Y)("AppShellSection",eA,e),h=p();return(0,i.jsx)(f.a,{ref:t,mod:[{grow:s},c],...h.getStyles("section",{className:n,style:o,classNames:r,styles:a}),...d})});eS.classes=m,eS.displayName="@mantine/core/AppShellSection";var e_=r(3010),eL=r(4058);let eN={withBorder:!0,padding:0,transitionDuration:200,transitionTimingFunction:"ease",zIndex:(0,l.I)("app")},eR=(0,s.V)((e,t)=>{let{transitionDuration:r,transitionTimingFunction:n}=t;return{root:{"--app-shell-transition-duration":"".concat(r,"ms"),"--app-shell-transition-timing-function":n}}}),eI=(0,d.P9)((e,t)=>{let r=(0,u.Y)("AppShell",eN,e),{classNames:n,className:o,style:l,styles:s,unstyled:d,vars:p,navbar:v,withBorder:g,padding:b,transitionDuration:y,transitionTimingFunction:E,header:w,zIndex:x,layout:T,disabled:P,aside:C,footer:A,offsetScrollbars:S="alt"!==T,mod:_,...L}=r,N=(0,c.I)({name:"AppShell",classes:m,props:r,className:o,style:l,classNames:n,styles:s,unstyled:d,vars:p,varsResolver:eR}),R=function(e){let{transitionDuration:t,disabled:r}=e,[n,o]=(0,a.useState)(!0),i=(0,a.useRef)(-1),l=(0,a.useRef)(-1);return(0,e_.M)("resize",()=>{o(!0),clearTimeout(i.current),i.current=window.setTimeout(()=>(0,a.startTransition)(()=>{o(!1)}),200)}),(0,eL.o)(()=>{o(!0),clearTimeout(l.current),l.current=window.setTimeout(()=>(0,a.startTransition)(()=>{o(!1)}),t||0)},[r,t]),n}({disabled:P,transitionDuration:y});return(0,i.jsxs)(h,{value:{getStyles:N,withBorder:g,zIndex:x,disabled:P,offsetScrollbars:S},children:[(0,i.jsx)(ex,{navbar:v,header:w,aside:C,footer:A,padding:b}),(0,i.jsx)(f.a,{ref:t,...N("root"),mod:[{resizing:R,layout:T,disabled:P},_],...L})]})});eI.classes=m,eI.displayName="@mantine/core/AppShell",eI.Navbar=eP,eI.Header=el,eI.Main=eu,eI.Aside=g,eI.Footer=ei,eI.Section=eS},9547:(e,t,r)=>{r.d(t,{w:()=>v});var n=r(5155),o=r(7518);r(2115);var i=r(4987),a=r(4456),l=r(7151),s=r(6407),u=r(1902),c=r(6788),f=r(6707),d=r(5950),h={root:"m_fea6bf1a",burger:"m_d4fb9cad"};let p={},m=(0,a.V)((e,t)=>{let{color:r,size:n,lineSize:a,transitionDuration:s,transitionTimingFunction:u}=t;return{root:{"--burger-color":r?(0,l.r)(r,e):void 0,"--burger-size":(0,i.YC)(n,"burger-size"),"--burger-line-size":a?(0,o.D)(a):void 0,"--burger-transition-duration":void 0===s?void 0:"".concat(s,"ms"),"--burger-transition-timing-function":u}}}),v=(0,f.P9)((e,t)=>{let r=(0,s.Y)("Burger",p,e),{classNames:o,className:i,style:a,styles:l,unstyled:f,vars:v,opened:g,children:b,transitionDuration:y,transitionTimingFunction:E,lineSize:w,...x}=r,T=(0,u.I)({name:"Burger",classes:h,props:r,className:i,style:a,classNames:o,styles:l,unstyled:f,vars:v,varsResolver:m});return(0,n.jsxs)(d.N,{...T("root"),ref:t,...x,children:[(0,n.jsx)(c.a,{mod:["reduce-motion",{opened:g}],...T("burger")}),b]})});v.classes=h,v.displayName="@mantine/core/Burger"},6694:(e,t,r)=>{r.d(t,{S:()=>i});var n=r(5155),o=r(7518);function i(e){let{size:t,style:r,...i}=e,a=void 0!==t?{width:(0,o.D)(t),height:(0,o.D)(t),...r}:r;return(0,n.jsx)("svg",{viewBox:"0 0 10 7",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:a,"aria-hidden":!0,...i,children:(0,n.jsx)("path",{d:"M4 4.586L1.707 2.293A1 1 0 1 0 .293 3.707l3 3a.997.997 0 0 0 1.414 0l5-5A1 1 0 1 0 8.293.293L4 4.586z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}r(2115)},4304:(e,t,r)=>{r.d(t,{G:()=>eJ});var n=r(5155),o=r(7518),i=r(2115),a=r(4987),l=r(4456),s=r(6407),u=r(1902),c=r(3468);let f=["mousedown","touchstart"];var d=r(4065),h=r(8201),p=r(7339),m=r(1673),v=r(6788),g=r(668),b={root:"m_9814e45f"};let y={zIndex:(0,d.I)("modal")},E=(0,l.V)((e,t)=>{let{gradient:r,color:n,backgroundOpacity:i,blur:l,radius:s,zIndex:u}=t;return{root:{"--overlay-bg":r||(void 0!==n||void 0!==i)&&(0,m.B)(n||"#000",null!=i?i:.6)||void 0,"--overlay-filter":l?"blur(".concat((0,o.D)(l),")"):void 0,"--overlay-radius":void 0===s?void 0:(0,a.nJ)(s),"--overlay-z-index":null==u?void 0:u.toString()}}}),w=(0,g.v)((e,t)=>{let r=(0,s.Y)("Overlay",y,e),{classNames:o,className:i,style:a,styles:l,unstyled:c,vars:f,fixed:d,center:h,children:p,radius:m,zIndex:g,gradient:w,blur:x,color:T,backgroundOpacity:P,mod:C,...A}=r,S=(0,u.I)({name:"Overlay",props:r,classes:b,className:i,style:a,classNames:o,styles:l,unstyled:c,vars:f,varsResolver:E});return(0,n.jsx)(v.a,{ref:t,...S("root"),mod:[{center:h,fixed:d},C],...A,children:p})});w.classes=b,w.displayName="@mantine/core/Overlay";var x=r(7650),T=r(4058),P=r(136);let C={},A=(0,i.forwardRef)((e,t)=>{let{children:r,target:o,...a}=(0,s.Y)("Portal",C,e),[l,u]=(0,i.useState)(!1),c=(0,i.useRef)(null);return((0,T.o)(()=>(u(!0),c.current=o?"string"==typeof o?document.querySelector(o):o:function(e){let t=document.createElement("div");return t.setAttribute("data-portal","true"),"string"==typeof e.className&&t.classList.add(...e.className.split(" ").filter(Boolean)),"object"==typeof e.style&&Object.assign(t.style,e.style),"string"==typeof e.id&&t.setAttribute("id",e.id),t}(a),(0,P.bl)(t,c.current),!o&&c.current&&document.body.appendChild(c.current),()=>{!o&&c.current&&document.body.removeChild(c.current)}),[o]),l&&c.current)?(0,x.createPortal)((0,n.jsx)(n.Fragment,{children:r}),c.current):null});function S(e){let{withinPortal:t=!0,children:r,...o}=e;return t?(0,n.jsx)(A,{...o,children:r}):(0,n.jsx)(n.Fragment,{children:r})}A.displayName="@mantine/core/Portal",S.displayName="@mantine/core/OptionalPortal";let _=e=>({in:{opacity:1,transform:"scale(1)"},out:{opacity:0,transform:"scale(.9) translateY(".concat("bottom"===e?10:-10,"px)")},transitionProperty:"transform, opacity"}),L={fade:{in:{opacity:1},out:{opacity:0},transitionProperty:"opacity"},"fade-up":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(30px)"},transitionProperty:"opacity, transform"},"fade-down":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(-30px)"},transitionProperty:"opacity, transform"},"fade-left":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(30px)"},transitionProperty:"opacity, transform"},"fade-right":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(-30px)"},transitionProperty:"opacity, transform"},scale:{in:{opacity:1,transform:"scale(1)"},out:{opacity:0,transform:"scale(0)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"scale-y":{in:{opacity:1,transform:"scaleY(1)"},out:{opacity:0,transform:"scaleY(0)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"scale-x":{in:{opacity:1,transform:"scaleX(1)"},out:{opacity:0,transform:"scaleX(0)"},common:{transformOrigin:"left"},transitionProperty:"transform, opacity"},"skew-up":{in:{opacity:1,transform:"translateY(0) skew(0deg, 0deg)"},out:{opacity:0,transform:"translateY(-20px) skew(-10deg, -5deg)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"skew-down":{in:{opacity:1,transform:"translateY(0) skew(0deg, 0deg)"},out:{opacity:0,transform:"translateY(20px) skew(-10deg, -5deg)"},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"rotate-left":{in:{opacity:1,transform:"translateY(0) rotate(0deg)"},out:{opacity:0,transform:"translateY(20px) rotate(-5deg)"},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"rotate-right":{in:{opacity:1,transform:"translateY(0) rotate(0deg)"},out:{opacity:0,transform:"translateY(20px) rotate(5deg)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"slide-down":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(-100%)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"slide-up":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(100%)"},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"slide-left":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(100%)"},common:{transformOrigin:"left"},transitionProperty:"transform, opacity"},"slide-right":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(-100%)"},common:{transformOrigin:"right"},transitionProperty:"transform, opacity"},pop:{..._("bottom"),common:{transformOrigin:"center center"}},"pop-bottom-left":{..._("bottom"),common:{transformOrigin:"bottom left"}},"pop-bottom-right":{..._("bottom"),common:{transformOrigin:"bottom right"}},"pop-top-left":{..._("top"),common:{transformOrigin:"top left"}},"pop-top-right":{..._("top"),common:{transformOrigin:"top right"}}},N={entering:"in",entered:"in",exiting:"out",exited:"out","pre-exiting":"out","pre-entering":"out"};var R=r(6850);function I(e,t){let r=(0,i.useRef)(!1);(0,i.useEffect)(()=>()=>{r.current=!1},[]),(0,i.useEffect)(()=>{if(r.current)return e();r.current=!0},t)}var H=r(8770);function B(e){let{keepMounted:t,transition:r="fade",duration:o=250,exitDuration:a=o,mounted:l,children:s,timingFunction:u="ease",onExit:c,onEntered:f,onEnter:d,onExited:h,enterDelay:p,exitDelay:m}=e,{transitionDuration:v,transitionStatus:g,transitionTimingFunction:b}=function(e){let{duration:t,exitDuration:r,timingFunction:n,mounted:o,onEnter:a,onExit:l,onEntered:s,onExited:u,enterDelay:c,exitDelay:f}=e,d=(0,H.xd)(),h=(0,R.U)("(prefers-reduced-motion: reduce)",void 0,void 0),p=!!d.respectReducedMotion&&h,[m,v]=(0,i.useState)(p?0:t),[g,b]=(0,i.useState)(o?"entered":"exited"),y=(0,i.useRef)(-1),E=(0,i.useRef)(-1),w=(0,i.useRef)(-1),T=e=>{let n=e?a:l,o=e?s:u;window.clearTimeout(y.current);let i=p?0:e?t:r;v(i),0===i?("function"==typeof n&&n(),"function"==typeof o&&o(),b(e?"entered":"exited")):w.current=requestAnimationFrame(()=>{x.flushSync(()=>{b(e?"pre-entering":"pre-exiting")}),w.current=requestAnimationFrame(()=>{"function"==typeof n&&n(),b(e?"entering":"exiting"),y.current=window.setTimeout(()=>{"function"==typeof o&&o(),b(e?"entered":"exited")},i)})})},P=e=>{if(window.clearTimeout(E.current),"number"!=typeof(e?c:f)){T(e);return}E.current=window.setTimeout(()=>{T(e)},e?c:f)};return I(()=>{P(o)},[o]),(0,i.useEffect)(()=>()=>{window.clearTimeout(y.current),cancelAnimationFrame(w.current)},[]),{transitionDuration:m,transitionStatus:g,transitionTimingFunction:n||"ease"}}({mounted:l,exitDuration:a,duration:o,timingFunction:u,onExit:c,onEntered:f,onEnter:d,onExited:h,enterDelay:p,exitDelay:m});return 0===v?l?(0,n.jsx)(n.Fragment,{children:s({})}):t?s({display:"none"}):null:"exited"===g?t?s({display:"none"}):null:(0,n.jsx)(n.Fragment,{children:s(function(e){let{transition:t,state:r,duration:n,timingFunction:o}=e,i={transitionDuration:"".concat(n,"ms"),transitionTimingFunction:o};return"string"==typeof t?t in L?{transitionProperty:L[t].transitionProperty,...i,...L[t].common,...L[t][N[r]]}:{}:{transitionProperty:t.transitionProperty,...i,...t.common,...t[N[r]]}}({transition:r,duration:v,state:g,timingFunction:b}))})}B.displayName="@mantine/core/Transition";var M=r(3981);let[O,k]=(0,M.F)("Popover component was not found in the tree"),D=()=>{};var F=r(6707);function j(e,t,r,n){return"center"===e||"center"===n?{top:t}:"end"===e?{bottom:r}:"start"===e?{top:r}:{}}function G(e,t,r,n,o){return"center"===e||"center"===n?{left:t}:"end"===e?{["ltr"===o?"right":"left"]:r}:"start"===e?{["ltr"===o?"left":"right"]:r}:{}}let U={bottom:"borderTopLeftRadius",left:"borderTopRightRadius",right:"borderBottomLeftRadius",top:"borderBottomRightRadius"},z=(0,i.forwardRef)((e,t)=>{let{position:r,arrowSize:o,arrowOffset:i,arrowRadius:a,arrowPosition:l,visible:s,arrowX:u,arrowY:c,style:f,...d}=e,{dir:h}=(0,p.jH)();return s?(0,n.jsx)("div",{...d,ref:t,style:{...f,...function(e){let{position:t,arrowSize:r,arrowOffset:n,arrowRadius:o,arrowPosition:i,arrowX:a,arrowY:l,dir:s}=e,[u,c="center"]=t.split("-"),f={width:r,height:r,transform:"rotate(45deg)",position:"absolute",[U[u]]:o},d=-r/2;return"left"===u?{...f,...j(c,l,n,i),right:d,borderLeftColor:"transparent",borderBottomColor:"transparent",clipPath:"polygon(100% 0, 0 0, 100% 100%)"}:"right"===u?{...f,...j(c,l,n,i),left:d,borderRightColor:"transparent",borderTopColor:"transparent",clipPath:"polygon(0 100%, 0 0, 100% 100%)"}:"top"===u?{...f,...G(c,a,n,i,s),bottom:d,borderTopColor:"transparent",borderLeftColor:"transparent",clipPath:"polygon(0 100%, 100% 100%, 100% 0)"}:"bottom"===u?{...f,...G(c,a,n,i,s),top:d,borderBottomColor:"transparent",borderRightColor:"transparent",clipPath:"polygon(0 100%, 0 0, 100% 0)"}:{}}({position:r,arrowSize:o,arrowOffset:i,arrowRadius:a,arrowPosition:l,dir:h,arrowX:u,arrowY:c})}}):null});z.displayName="@mantine/core/FloatingArrow";let Y=/input|select|textarea|button|object/,V="a, input, select, textarea, button, object, [tabindex]";function X(e){let t=e.getAttribute("tabindex");return null===t&&(t=void 0),parseInt(t,10)}function W(e){let t=e.nodeName.toLowerCase(),r=!Number.isNaN(X(e));return(Y.test(t)&&!e.disabled||e instanceof HTMLAnchorElement&&e.href||r)&&function(e){if(e.getAttribute("aria-hidden")||e.getAttribute("hidden")||"hidden"===e.getAttribute("type"))return!1;let t=e;for(;t&&t!==document.body&&11!==t.nodeType;){if("none"===t.style.display)return!1;t=t.parentNode}return!0}(e)}function K(e){let t=X(e);return(Number.isNaN(t)||t>=0)&&W(e)}function Z(e){return!Array.isArray(e)&&null!==e&&"object"==typeof e&&e.type!==i.Fragment}var q={root:"m_515a97f8"};let J={},$=(0,F.P9)((e,t)=>{let r=(0,s.Y)("VisuallyHidden",J,e),{classNames:o,className:i,style:a,styles:l,unstyled:c,vars:f,...d}=r,h=(0,u.I)({name:"VisuallyHidden",classes:q,props:r,className:i,style:a,classNames:o,styles:l,unstyled:c});return(0,n.jsx)(v.a,{component:"span",ref:t,...h("root"),...d})});function Q(e){let{children:t,active:r=!0,refProp:n="ref",innerRef:o}=e,a=function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=(0,i.useRef)(null),r=e=>{let t=e.querySelector("[data-autofocus]");if(!t){let r=Array.from(e.querySelectorAll(V));!(t=r.find(K)||r.find(W)||null)&&W(e)&&(t=e)}t&&t.focus({preventScroll:!0})},n=(0,i.useCallback)(n=>{e&&null!==n&&t.current!==n&&(n?(setTimeout(()=>{n.getRootNode()&&r(n)}),t.current=n):t.current=null)},[e]);return(0,i.useEffect)(()=>{if(!e)return;t.current&&setTimeout(()=>r(t.current));let n=e=>{"Tab"===e.key&&t.current&&function(e,t){let r=Array.from(e.querySelectorAll(V)).filter(K);if(!r.length){t.preventDefault();return}let n=r[t.shiftKey?0:r.length-1],o=e.getRootNode(),i=n===o.activeElement||e===o.activeElement,a=o.activeElement;if("INPUT"===a.tagName&&"radio"===a.getAttribute("type")&&(i=r.filter(e=>"radio"===e.getAttribute("type")&&e.getAttribute("name")===a.getAttribute("name")).includes(n)),!i)return;t.preventDefault();let l=r[t.shiftKey?r.length-1:0];l&&l.focus()}(t.current,e)};return document.addEventListener("keydown",n),()=>document.removeEventListener("keydown",n)},[e]),n}(r),l=(0,P.pc)(a,o);return Z(t)?(0,i.cloneElement)(t,{[n]:l}):t}function ee(e){return(0,n.jsx)($,{tabIndex:-1,"data-autofocus":!0,...e})}$.classes=q,$.displayName="@mantine/core/VisuallyHidden",Q.displayName="@mantine/core/FocusTrap",ee.displayName="@mantine/core/FocusTrapInitialFocus",Q.InitialFocus=ee;var et={dropdown:"m_38a85659",arrow:"m_a31dc6c1",overlay:"m_3d7bc908"};let er={},en=(0,F.P9)((e,t)=>{var r,a,l,u,c;let f=(0,s.Y)("PopoverDropdown",er,e),{className:d,style:h,vars:p,children:m,onKeyDownCapture:g,variant:b,classNames:y,styles:E,...w}=f,x=k(),T=function(e){let{opened:t,shouldReturnFocus:r=!0}=e,n=(0,i.useRef)(null),o=()=>{if(n.current&&"focus"in n.current&&"function"==typeof n.current.focus){var e;null===(e=n.current)||void 0===e||e.focus({preventScroll:!0})}};return I(()=>{let e=-1,i=t=>{"Tab"===t.key&&window.clearTimeout(e)};return document.addEventListener("keydown",i),t?n.current=document.activeElement:r&&(e=window.setTimeout(o,10)),()=>{window.clearTimeout(e),document.removeEventListener("keydown",i)}},[t,r]),o}({opened:x.opened,shouldReturnFocus:x.returnFocus}),C=x.withRoles?{"aria-labelledby":x.getTargetId(),id:x.getDropdownId(),role:"dialog",tabIndex:-1}:{},A=(0,P.pc)(t,x.floating);return x.disabled?null:(0,n.jsx)(S,{...x.portalProps,withinPortal:x.withinPortal,children:(0,n.jsx)(B,{mounted:x.opened,...x.transitionProps,transition:(null===(r=x.transitionProps)||void 0===r?void 0:r.transition)||"fade",duration:null!==(c=null===(a=x.transitionProps)||void 0===a?void 0:a.duration)&&void 0!==c?c:150,keepMounted:x.keepMounted,exitDuration:"number"==typeof(null===(l=x.transitionProps)||void 0===l?void 0:l.exitDuration)?x.transitionProps.exitDuration:null===(u=x.transitionProps)||void 0===u?void 0:u.duration,children:e=>{var t,r;return(0,n.jsx)(Q,{active:x.trapFocus&&x.opened,innerRef:A,children:(0,n.jsxs)(v.a,{...C,...w,variant:b,onKeyDownCapture:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{active:!0};return"function"==typeof e&&t.active?r=>{if("Escape"===r.key){var n;e(r),null===(n=t.onTrigger)||void 0===n||n.call(t)}}:t.onKeyDown||D}(x.onClose,{active:x.closeOnEscape,onTrigger:T,onKeyDown:g}),"data-position":x.placement,"data-fixed":"fixed"===x.floatingStrategy||void 0,...x.getStyles("dropdown",{className:d,props:f,classNames:y,styles:E,style:[{...e,zIndex:x.zIndex,top:null!==(t=x.y)&&void 0!==t?t:0,left:null!==(r=x.x)&&void 0!==r?r:0,width:"target"===x.width?void 0:(0,o.D)(x.width)},x.resolvedStyles.dropdown,null==E?void 0:E.dropdown,h]}),children:[m,(0,n.jsx)(z,{ref:x.arrowRef,arrowX:x.arrowX,arrowY:x.arrowY,visible:x.withArrow,position:x.placement,arrowSize:x.arrowSize,arrowRadius:x.arrowRadius,arrowOffset:x.arrowOffset,arrowPosition:x.arrowPosition,...x.getStyles("arrow",{props:f,classNames:y,styles:E})})]})})}})})});en.classes=et,en.displayName="@mantine/core/PopoverDropdown";var eo=r(3463);function ei(e){var t;let r=i.version;return"string"!=typeof i.version||r.startsWith("18.")?null==e?void 0:e.ref:null==e?void 0:null===(t=e.props)||void 0===t?void 0:t.ref}let ea={refProp:"ref",popupType:"dialog"},el=(0,F.P9)((e,t)=>{let{children:r,refProp:n,popupType:o,...a}=(0,s.Y)("PopoverTarget",ea,e);if(!Z(r))throw Error("Popover.Target component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported");let l=k(),u=(0,P.pc)(l.reference,ei(r),t),c=l.withRoles?{"aria-haspopup":o,"aria-expanded":l.opened,"aria-controls":l.getDropdownId(),id:l.getTargetId()}:{};return(0,i.cloneElement)(r,{...a,...c,...l.targetProps,className:(0,eo.A)(l.targetProps.className,a.className,r.props.className),[n]:u,...l.controlled?null:{onClick:l.onToggle}})});el.displayName="@mantine/core/PopoverTarget";var es=r(6932),eu=r(4462),ec=r(7994),ef=r(3727);let ed={position:"bottom",offset:8,positionDependencies:[],transitionProps:{transition:"fade",duration:150},middlewares:{flip:!0,shift:!0,inline:!1},arrowSize:7,arrowOffset:5,arrowRadius:0,arrowPosition:"side",closeOnClickOutside:!0,withinPortal:!0,closeOnEscape:!0,trapFocus:!1,withRoles:!0,returnFocus:!1,withOverlay:!1,clickOutsideEvents:["mousedown","touchstart"],zIndex:(0,d.I)("popover"),__staticSelector:"Popover",width:"max-content"},eh=(0,l.V)((e,t)=>{let{radius:r,shadow:n}=t;return{dropdown:{"--popover-radius":void 0===r?void 0:(0,a.nJ)(r),"--popover-shadow":(0,a.dh)(n)}}});function ep(e){var t,r,o,a,l,d;let m=(0,s.Y)("Popover",ed,e),{children:v,position:g,offset:b,onPositionChange:y,positionDependencies:E,opened:x,transitionProps:T,onExitTransitionEnd:P,onEnterTransitionEnd:C,width:A,middlewares:_,withArrow:L,arrowSize:N,arrowOffset:R,arrowRadius:H,arrowPosition:M,unstyled:k,classNames:D,styles:F,closeOnClickOutside:j,withinPortal:G,portalProps:U,closeOnEscape:z,clickOutsideEvents:Y,trapFocus:V,onClose:X,onOpen:W,onChange:K,zIndex:Z,radius:q,shadow:J,id:$,defaultOpened:Q,__staticSelector:ee,withRoles:er,disabled:en,returnFocus:eo,variant:ei,keepMounted:ea,vars:el,floatingStrategy:ep,withOverlay:em,overlayProps:ev,...eg}=m,eb=(0,u.I)({name:ee,props:m,classes:et,classNames:D,styles:F,unstyled:k,rootSelector:"dropdown",vars:el,varsResolver:eh}),{resolvedStyles:ey}=(0,h.Y)({classNames:D,styles:F,props:m}),eE=(0,i.useRef)(null),[ew,ex]=(0,i.useState)(null),[eT,eP]=(0,i.useState)(null),{dir:eC}=(0,p.jH)(),eA=(0,c.B)($),eS=function(e){let[t,r]=(0,ec.Z)({value:e.opened,defaultValue:e.defaultOpened,finalValue:!1,onChange:e.onChange}),n=(0,i.useRef)(t),o=(0,eu.we)({strategy:e.strategy,placement:e.position,middleware:function(e,t){let r=function(e){if(void 0===e)return{shift:!0,flip:!0};let t={...e};return void 0===e.shift&&(t.shift=!0),void 0===e.flip&&(t.flip=!0),t}(e.middlewares),n=[(0,es.cY)(e.offset)];return r.shift&&n.push((0,es.BN)("boolean"==typeof r.shift?{limiter:(0,es.ER)(),padding:5}:{limiter:(0,es.ER)(),padding:5,...r.shift})),r.flip&&n.push("boolean"==typeof r.flip?(0,es.UU)():(0,es.UU)(r.flip)),r.inline&&n.push("boolean"==typeof r.inline?(0,es.mG)():(0,es.mG)(r.inline)),n.push((0,es.UE)({element:e.arrowRef,padding:e.arrowOffset})),(r.size||"target"===e.width)&&n.push((0,es.Ej)({..."boolean"==typeof r.size?{}:r.size,apply(n){var o,i;let{rects:a,availableWidth:l,availableHeight:s,...u}=n,c=null!==(i=null===(o=t().refs.floating.current)||void 0===o?void 0:o.style)&&void 0!==i?i:{};r.size&&("object"==typeof r.size&&r.size.apply?r.size.apply({rects:a,availableWidth:l,availableHeight:s,...u}):Object.assign(c,{maxWidth:"".concat(l,"px"),maxHeight:"".concat(s,"px")})),"target"===e.width&&Object.assign(c,{width:"".concat(a.reference.width,"px")})}})),n}(e,()=>o)});return!function(e){let{opened:t,floating:r,position:n,positionDependencies:o}=e,[a,l]=(0,i.useState)(0);(0,i.useEffect)(()=>{if(r.refs.reference.current&&r.refs.floating.current&&t)return(0,ef.ll)(r.refs.reference.current,r.refs.floating.current,r.update)},[r.refs.reference.current,r.refs.floating.current,t,a,n]),I(()=>{r.update()},o),I(()=>{l(e=>e+1)},[t])}({opened:t,position:e.position,positionDependencies:e.positionDependencies||[],floating:o}),I(()=>{var t;null===(t=e.onPositionChange)||void 0===t||t.call(e,o.placement)},[o.placement]),I(()=>{if(t!==n.current){var r,o;t?null===(o=e.onOpen)||void 0===o||o.call(e):null===(r=e.onClose)||void 0===r||r.call(e)}n.current=t},[t,e.onClose,e.onOpen]),{floating:o,controlled:"boolean"==typeof e.opened,opened:t,onClose:()=>{t&&r(!1)},onToggle:()=>r(!t)}}({middlewares:_,width:A,position:function(e,t){if("rtl"===e&&(t.includes("right")||t.includes("left"))){let[e,r]=t.split("-"),n="right"===e?"left":"right";return void 0===r?n:"".concat(n,"-").concat(r)}return t}(eC,g),offset:"number"==typeof b?b+(L?N/2:0):b,arrowRef:eE,arrowOffset:R,onPositionChange:y,positionDependencies:E,opened:x,defaultOpened:Q,onChange:K,onOpen:W,onClose:X,strategy:ep});!function(e,t,r){let n=(0,i.useRef)(null);(0,i.useEffect)(()=>{let o=t=>{let{target:o}=null!=t?t:{};if(Array.isArray(r)){let n=(null==o?void 0:o.hasAttribute("data-ignore-outside-clicks"))||!document.body.contains(o)&&"HTML"!==o.tagName;r.every(e=>!!e&&!t.composedPath().includes(e))&&!n&&e()}else n.current&&!n.current.contains(o)&&e()};return(t||f).forEach(e=>document.addEventListener(e,o)),()=>{(t||f).forEach(e=>document.removeEventListener(e,o))}},[n,e,r])}(()=>j&&eS.onClose(),Y,[ew,eT]);let e_=(0,i.useCallback)(e=>{ex(e),eS.floating.refs.setReference(e)},[eS.floating.refs.setReference]),eL=(0,i.useCallback)(e=>{eP(e),eS.floating.refs.setFloating(e)},[eS.floating.refs.setFloating]),eN=(0,i.useCallback)(()=>{var e;null==T||null===(e=T.onExited)||void 0===e||e.call(T),null==P||P()},[null==T?void 0:T.onExited,P]),eR=(0,i.useCallback)(()=>{var e;null==T||null===(e=T.onEntered)||void 0===e||e.call(T),null==C||C()},[null==T?void 0:T.onEntered,C]);return(0,n.jsxs)(O,{value:{returnFocus:eo,disabled:en,controlled:eS.controlled,reference:e_,floating:eL,x:eS.floating.x,y:eS.floating.y,arrowX:null===(o=eS.floating)||void 0===o?void 0:null===(r=o.middlewareData)||void 0===r?void 0:null===(t=r.arrow)||void 0===t?void 0:t.x,arrowY:null===(d=eS.floating)||void 0===d?void 0:null===(l=d.middlewareData)||void 0===l?void 0:null===(a=l.arrow)||void 0===a?void 0:a.y,opened:eS.opened,arrowRef:eE,transitionProps:{...T,onExited:eN,onEntered:eR},width:A,withArrow:L,arrowSize:N,arrowOffset:R,arrowRadius:H,arrowPosition:M,placement:eS.floating.placement,trapFocus:V,withinPortal:G,portalProps:U,zIndex:Z,radius:q,shadow:J,closeOnEscape:z,onClose:eS.onClose,onToggle:eS.onToggle,getTargetId:()=>"".concat(eA,"-target"),getDropdownId:()=>"".concat(eA,"-dropdown"),withRoles:er,targetProps:eg,__staticSelector:ee,classNames:D,styles:F,unstyled:k,variant:ei,keepMounted:ea,getStyles:eb,resolvedStyles:ey,floatingStrategy:ep},children:[v,em&&(0,n.jsx)(B,{transition:"fade",mounted:eS.opened,duration:(null==T?void 0:T.duration)||250,exitDuration:(null==T?void 0:T.exitDuration)||250,children:e=>(0,n.jsx)(S,{withinPortal:G,children:(0,n.jsx)(w,{...ev,...eb("overlay",{className:null==ev?void 0:ev.className,style:[e,null==ev?void 0:ev.style]})})})})]})}ep.Target=el,ep.Dropdown=en,ep.displayName="@mantine/core/Popover",ep.extend=e=>e;let[em,ev]=(0,M.F)("Combobox component was not found in tree");var eg=r(7151),eb=r(2481);let ey={error:null},eE=(0,l.V)((e,t)=>{let{size:r,color:n}=t;return{chevron:{"--combobox-chevron-size":(0,a.YC)(r,"combobox-chevron-size"),"--combobox-chevron-color":n?(0,eg.r)(n,e):void 0}}}),ew=(0,F.P9)((e,t)=>{let r=(0,s.Y)("ComboboxChevron",ey,e),{size:o,error:i,style:a,className:l,classNames:c,styles:f,unstyled:d,vars:h,mod:p,...m}=r,g=(0,u.I)({name:"ComboboxChevron",classes:eb.A,props:r,style:a,className:l,classNames:c,styles:f,unstyled:d,vars:h,varsResolver:eE,rootSelector:"chevron"});return(0,n.jsx)(v.a,{component:"svg",...m,...g("chevron"),size:o,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",mod:["combobox-chevron",{error:i},p],ref:t,children:(0,n.jsx)("path",{d:"M4.93179 5.43179C4.75605 5.60753 4.75605 5.89245 4.93179 6.06819C5.10753 6.24392 5.39245 6.24392 5.56819 6.06819L7.49999 4.13638L9.43179 6.06819C9.60753 6.24392 9.89245 6.24392 10.0682 6.06819C10.2439 5.89245 10.2439 5.60753 10.0682 5.43179L7.81819 3.18179C7.73379 3.0974 7.61933 3.04999 7.49999 3.04999C7.38064 3.04999 7.26618 3.0974 7.18179 3.18179L4.93179 5.43179ZM10.0682 9.56819C10.2439 9.39245 10.2439 9.10753 10.0682 8.93179C9.89245 8.75606 9.60753 8.75606 9.43179 8.93179L7.49999 10.8636L5.56819 8.93179C5.39245 8.75606 5.10753 8.75606 4.93179 8.93179C4.75605 9.10753 4.75605 9.39245 4.93179 9.56819L7.18179 11.8182C7.35753 11.9939 7.64245 11.9939 7.81819 11.8182L10.0682 9.56819Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})});ew.classes=eb.A,ew.displayName="@mantine/core/ComboboxChevron";var ex=r(3307);let eT=(0,i.forwardRef)((e,t)=>{let{size:r,onMouseDown:o,onClick:i,onClear:a,...l}=e;return(0,n.jsx)(ex.p.ClearButton,{ref:t,tabIndex:-1,"aria-hidden":!0,...l,onMouseDown:e=>{e.preventDefault(),null==o||o(e)},onClick:e=>{a(),null==i||i(e)}})});eT.displayName="@mantine/core/ComboboxClearButton";let eP={},eC=(0,F.P9)((e,t)=>{let{classNames:r,styles:o,className:i,style:a,hidden:l,...u}=(0,s.Y)("ComboboxDropdown",eP,e),c=ev();return(0,n.jsx)(ep.Dropdown,{...u,ref:t,role:"presentation","data-hidden":l||void 0,...c.getStyles("dropdown",{className:i,style:a,classNames:r,styles:o})})});eC.classes=eb.A,eC.displayName="@mantine/core/ComboboxDropdown";let eA={refProp:"ref"},eS=(0,F.P9)((e,t)=>{let{children:r,refProp:o}=(0,s.Y)("ComboboxDropdownTarget",eA,e);if(ev(),!Z(r))throw Error("Combobox.DropdownTarget component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported");return(0,n.jsx)(ep.Target,{ref:t,refProp:o,children:r})});eS.displayName="@mantine/core/ComboboxDropdownTarget";let e_={},eL=(0,F.P9)((e,t)=>{let{classNames:r,className:o,style:i,styles:a,vars:l,...u}=(0,s.Y)("ComboboxEmpty",e_,e),c=ev();return(0,n.jsx)(v.a,{ref:t,...c.getStyles("empty",{className:o,classNames:r,styles:a,style:i}),...u})});function eN(e){let{onKeyDown:t,withKeyboardNavigation:r,withAriaAttributes:n,withExpandedAttribute:o,targetType:a,autoComplete:l}=e,s=ev(),[u,c]=(0,i.useState)(null);return{...n?{"aria-haspopup":"listbox","aria-expanded":o&&!!(s.store.listId&&s.store.dropdownOpened)||void 0,"aria-controls":s.store.dropdownOpened?s.store.listId:void 0,"aria-activedescendant":s.store.dropdownOpened&&u||void 0,autoComplete:l,"data-expanded":s.store.dropdownOpened||void 0,"data-mantine-stop-propagation":s.store.dropdownOpened||void 0}:{},onKeyDown:e=>{if(null==t||t(e),!s.readOnly&&r&&!e.nativeEvent.isComposing){if("ArrowDown"===e.nativeEvent.code&&(e.preventDefault(),s.store.dropdownOpened?c(s.store.selectNextOption()):(s.store.openDropdown("keyboard"),c(s.store.selectActiveOption()),s.store.updateSelectedOptionIndex("selected",{scrollIntoView:!0}))),"ArrowUp"===e.nativeEvent.code&&(e.preventDefault(),s.store.dropdownOpened?c(s.store.selectPreviousOption()):(s.store.openDropdown("keyboard"),c(s.store.selectActiveOption()),s.store.updateSelectedOptionIndex("selected",{scrollIntoView:!0}))),"Enter"===e.nativeEvent.code||"NumpadEnter"===e.nativeEvent.code){if(229===e.nativeEvent.keyCode)return;let t=s.store.getSelectedOptionIndex();s.store.dropdownOpened&&-1!==t?(e.preventDefault(),s.store.clickSelectedOption()):"button"===a&&(e.preventDefault(),s.store.openDropdown("keyboard"))}"Escape"===e.key&&s.store.closeDropdown("keyboard"),"Space"===e.nativeEvent.code&&"button"===a&&(e.preventDefault(),s.store.toggleDropdown("keyboard"))}}}}eL.classes=eb.A,eL.displayName="@mantine/core/ComboboxEmpty";let eR={refProp:"ref",targetType:"input",withKeyboardNavigation:!0,withAriaAttributes:!0,withExpandedAttribute:!1,autoComplete:"off"},eI=(0,F.P9)((e,t)=>{let{children:r,refProp:n,withKeyboardNavigation:o,withAriaAttributes:a,withExpandedAttribute:l,targetType:u,autoComplete:c,...f}=(0,s.Y)("ComboboxEventsTarget",eR,e);if(!Z(r))throw Error("Combobox.EventsTarget component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported");let d=ev(),h=eN({targetType:u,withAriaAttributes:a,withKeyboardNavigation:o,withExpandedAttribute:l,onKeyDown:r.props.onKeyDown,autoComplete:c});return(0,i.cloneElement)(r,{...h,...f,[n]:(0,P.pc)(t,d.store.targetRef,ei(r))})});eI.displayName="@mantine/core/ComboboxEventsTarget";let eH={},eB=(0,F.P9)((e,t)=>{let{classNames:r,className:o,style:i,styles:a,vars:l,...u}=(0,s.Y)("ComboboxFooter",eH,e),c=ev();return(0,n.jsx)(v.a,{ref:t,...c.getStyles("footer",{className:o,classNames:r,style:i,styles:a}),...u,onMouseDown:e=>{e.preventDefault()}})});eB.classes=eb.A,eB.displayName="@mantine/core/ComboboxFooter";let eM={},eO=(0,F.P9)((e,t)=>{let{classNames:r,className:o,style:i,styles:a,vars:l,children:u,label:c,...f}=(0,s.Y)("ComboboxGroup",eM,e),d=ev();return(0,n.jsxs)(v.a,{ref:t,...d.getStyles("group",{className:o,classNames:r,style:i,styles:a}),...f,children:[c&&(0,n.jsx)("div",{...d.getStyles("groupLabel",{classNames:r,styles:a}),children:c}),u]})});eO.classes=eb.A,eO.displayName="@mantine/core/ComboboxGroup";let ek={},eD=(0,F.P9)((e,t)=>{let{classNames:r,className:o,style:i,styles:a,vars:l,...u}=(0,s.Y)("ComboboxHeader",ek,e),c=ev();return(0,n.jsx)(v.a,{ref:t,...c.getStyles("header",{className:o,classNames:r,style:i,styles:a}),...u,onMouseDown:e=>{e.preventDefault()}})});function eF(e){let{value:t,valuesDivider:r=",",...o}=e;return(0,n.jsx)("input",{type:"hidden",value:Array.isArray(t)?t.join(r):t||"",...o})}eD.classes=eb.A,eD.displayName="@mantine/core/ComboboxHeader",eF.displayName="@mantine/core/ComboboxHiddenInput";let ej={},eG=(0,F.P9)((e,t)=>{let r=(0,s.Y)("ComboboxOption",ej,e),{classNames:o,className:a,style:l,styles:u,vars:c,onClick:f,id:d,active:h,onMouseDown:p,onMouseOver:m,disabled:g,selected:b,mod:y,...E}=r,w=ev(),x=(0,i.useId)();return(0,n.jsx)(v.a,{...w.getStyles("option",{className:a,classNames:o,styles:u,style:l}),...E,ref:t,id:d||x,mod:["combobox-option",{"combobox-active":h,"combobox-disabled":g,"combobox-selected":b},y],role:"option",onClick:e=>{if(g)e.preventDefault();else{var t;null===(t=w.onOptionSubmit)||void 0===t||t.call(w,r.value,r),null==f||f(e)}},onMouseDown:e=>{e.preventDefault(),null==p||p(e)},onMouseOver:e=>{w.resetSelectionOnOptionHover&&w.store.resetSelectedOption(),null==m||m(e)}})});eG.classes=eb.A,eG.displayName="@mantine/core/ComboboxOption";let eU={},ez=(0,F.P9)((e,t)=>{let{classNames:r,className:o,style:a,styles:l,id:u,onMouseDown:f,labelledBy:d,...h}=(0,s.Y)("ComboboxOptions",eU,e),p=ev(),m=(0,c.B)(u);return(0,i.useEffect)(()=>{p.store.setListId(m)},[m]),(0,n.jsx)(v.a,{ref:t,...p.getStyles("options",{className:o,style:a,classNames:r,styles:l}),...h,id:m,role:"listbox","aria-labelledby":d,onMouseDown:e=>{e.preventDefault(),null==f||f(e)}})});ez.classes=eb.A,ez.displayName="@mantine/core/ComboboxOptions";let eY={withAriaAttributes:!0,withKeyboardNavigation:!0},eV=(0,F.P9)((e,t)=>{let{classNames:r,styles:o,unstyled:i,vars:a,withAriaAttributes:l,onKeyDown:u,withKeyboardNavigation:c,size:f,...d}=(0,s.Y)("ComboboxSearch",eY,e),h=ev(),p=h.getStyles("search"),m=eN({targetType:"input",withAriaAttributes:l,withKeyboardNavigation:c,withExpandedAttribute:!1,onKeyDown:u,autoComplete:"off"});return(0,n.jsx)(ex.p,{ref:(0,P.pc)(t,h.store.searchRef),classNames:[{input:p.className},r],styles:[{input:p.style},o],size:f||h.size,...m,...d,__staticSelector:"Combobox"})});eV.classes=eb.A,eV.displayName="@mantine/core/ComboboxSearch";let eX={refProp:"ref",targetType:"input",withKeyboardNavigation:!0,withAriaAttributes:!0,withExpandedAttribute:!1,autoComplete:"off"},eW=(0,F.P9)((e,t)=>{let{children:r,refProp:o,withKeyboardNavigation:a,withAriaAttributes:l,withExpandedAttribute:u,targetType:c,autoComplete:f,...d}=(0,s.Y)("ComboboxTarget",eX,e);if(!Z(r))throw Error("Combobox.Target component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported");let h=ev(),p=eN({targetType:c,withAriaAttributes:l,withKeyboardNavigation:a,withExpandedAttribute:u,onKeyDown:r.props.onKeyDown,autoComplete:f}),m=(0,i.cloneElement)(r,{...p,...d});return(0,n.jsx)(ep.Target,{ref:(0,P.pc)(t,h.store.targetRef),children:m})});eW.displayName="@mantine/core/ComboboxTarget";var eK=r(1498);let eZ={keepMounted:!0,withinPortal:!0,resetSelectionOnOptionHover:!1,width:"target",transitionProps:{transition:"fade",duration:0}},eq=(0,l.V)((e,t)=>{let{size:r,dropdownPadding:n}=t;return{options:{"--combobox-option-fz":(0,a.ny)(r),"--combobox-option-padding":(0,a.YC)(r,"combobox-option-padding")},dropdown:{"--combobox-padding":void 0===n?void 0:(0,o.D)(n),"--combobox-option-fz":(0,a.ny)(r),"--combobox-option-padding":(0,a.YC)(r,"combobox-option-padding")}}});function eJ(e){let t=(0,s.Y)("Combobox",eZ,e),{classNames:r,styles:o,unstyled:i,children:a,store:l,vars:c,onOptionSubmit:f,onClose:d,size:h,dropdownPadding:p,resetSelectionOnOptionHover:m,__staticSelector:v,readOnly:g,...b}=t,y=(0,eK.B)(),E=l||y,w=(0,u.I)({name:v||"Combobox",classes:eb.A,props:t,classNames:r,styles:o,unstyled:i,vars:c,varsResolver:eq}),x=()=>{null==d||d(),E.closeDropdown()};return(0,n.jsx)(em,{value:{getStyles:w,store:E,onOptionSubmit:f,size:h,resetSelectionOnOptionHover:m,readOnly:g},children:(0,n.jsx)(ep,{opened:E.dropdownOpened,...b,onChange:e=>!e&&x(),withRoles:!1,unstyled:i,children:a})})}eJ.extend=e=>e,eJ.classes=eb.A,eJ.displayName="@mantine/core/Combobox",eJ.Target=eW,eJ.Dropdown=eC,eJ.Options=ez,eJ.Option=eG,eJ.Search=eV,eJ.Empty=eL,eJ.Chevron=ew,eJ.Footer=eB,eJ.Header=eD,eJ.EventsTarget=eI,eJ.DropdownTarget=eS,eJ.Group=eO,eJ.ClearButton=eT,eJ.HiddenInput=eF},2481:(e,t,r)=>{r.d(t,{A:()=>n});var n={dropdown:"m_88b62a41",search:"m_985517d8",options:"m_b2821a6e",option:"m_92253aa5",empty:"m_2530cd1d",header:"m_858f94bd",footer:"m_82b967cb",group:"m_254f3e4f",groupLabel:"m_2bb2e9e5",chevron:"m_2943220b",optionsDropdownOption:"m_390b5f4",optionsDropdownCheckIcon:"m_8ee53fc2"}},1498:(e,t,r)=>{r.d(t,{B:()=>i});var n=r(2115),o=r(7994);function i(){let{defaultOpened:e,opened:t,onOpenedChange:r,onDropdownClose:i,onDropdownOpen:a,loop:l=!0,scrollBehavior:s="instant"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[u,c]=(0,o.Z)({value:t,defaultValue:e,finalValue:!1,onChange:r}),f=(0,n.useRef)(null),d=(0,n.useRef)(-1),h=(0,n.useRef)(null),p=(0,n.useRef)(null),m=(0,n.useRef)(-1),v=(0,n.useRef)(-1),g=(0,n.useRef)(-1),b=(0,n.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"unknown";u||(c(!0),null==a||a(e))},[c,a,u]),y=(0,n.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"unknown";u&&(c(!1),null==i||i(e))},[c,i,u]),E=(0,n.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"unknown";u?y(e):b(e)},[y,b,u]),w=(0,n.useCallback)(()=>{let e=document.querySelector("#".concat(f.current," [data-combobox-selected]"));null==e||e.removeAttribute("data-combobox-selected"),null==e||e.removeAttribute("aria-selected")},[]),x=(0,n.useCallback)(e=>{let t=document.getElementById(f.current),r=null==t?void 0:t.querySelectorAll("[data-combobox-option]");if(!r)return null;let n=e>=r.length?0:e<0?r.length-1:e;return(d.current=n,(null==r?void 0:r[n])&&!r[n].hasAttribute("data-combobox-disabled"))?(w(),r[n].setAttribute("data-combobox-selected","true"),r[n].setAttribute("aria-selected","true"),r[n].scrollIntoView({block:"nearest",behavior:s}),r[n].id):null},[s,w]),T=(0,n.useCallback)(()=>{let e=document.querySelector("#".concat(f.current," [data-combobox-active]"));return e?x(Array.from(document.querySelectorAll("#".concat(f.current," [data-combobox-option]"))).findIndex(t=>t===e)):x(0)},[x]),P=(0,n.useCallback)(()=>x(function(e,t,r){for(let r=e+1;rx(function(e,t,r){for(let r=e-1;r>=0;r-=1)if(!t[r].hasAttribute("data-combobox-disabled"))return r;if(r){for(let e=t.length-1;e>-1;e-=1)if(!t[e].hasAttribute("data-combobox-disabled"))return e}return e}(d.current,document.querySelectorAll("#".concat(f.current," [data-combobox-option]")),l)),[x,l]),A=(0,n.useCallback)(()=>x(function(e){for(let t=0;t0&&void 0!==arguments[0]?arguments[0]:"selected",t=arguments.length>1?arguments[1]:void 0;g.current=window.setTimeout(()=>{let r=document.querySelectorAll("#".concat(f.current," [data-combobox-option]")),n=Array.from(r).findIndex(t=>t.hasAttribute("data-combobox-".concat(e)));if(d.current=n,null==t?void 0:t.scrollIntoView){var o;null===(o=r[n])||void 0===o||o.scrollIntoView({block:"nearest",behavior:s})}},0)},[]),_=(0,n.useCallback)(()=>{d.current=-1,w()},[w]),L=(0,n.useCallback)(()=>{let e=document.querySelectorAll("#".concat(f.current," [data-combobox-option]")),t=null==e?void 0:e[d.current];null==t||t.click()},[]),N=(0,n.useCallback)(e=>{f.current=e},[]),R=(0,n.useCallback)(()=>{m.current=window.setTimeout(()=>h.current.focus(),0)},[]),I=(0,n.useCallback)(()=>{v.current=window.setTimeout(()=>p.current.focus(),0)},[]),H=(0,n.useCallback)(()=>d.current,[]);return(0,n.useEffect)(()=>()=>{window.clearTimeout(m.current),window.clearTimeout(v.current),window.clearTimeout(g.current)},[]),{dropdownOpened:u,openDropdown:b,closeDropdown:y,toggleDropdown:E,selectedOptionIndex:d.current,getSelectedOptionIndex:H,selectOption:x,selectFirstOption:A,selectActiveOption:T,selectNextOption:P,selectPreviousOption:C,resetSelectedOption:_,updateSelectedOptionIndex:S,listId:f.current,setListId:N,clickSelectedOption:L,searchRef:h,focusSearchInput:R,targetRef:p,focusTarget:I}}},2994:(e,t,r)=>{r.d(t,{m:()=>h});var n=r(5155);r(2115);var o=r(4987),i=r(4456),a=r(6407),l=r(1902),s=r(6788),u=r(6707),c={root:"m_7485cace"};let f={},d=(0,i.V)((e,t)=>{let{size:r,fluid:n}=t;return{root:{"--container-size":n?void 0:(0,o.YC)(r,"container-size")}}}),h=(0,u.P9)((e,t)=>{let r=(0,a.Y)("Container",f,e),{classNames:o,className:i,style:u,styles:h,unstyled:p,vars:m,fluid:v,mod:g,...b}=r,y=(0,l.I)({name:"Container",classes:c,props:r,className:i,style:u,classNames:o,styles:h,unstyled:p,vars:m,varsResolver:d});return(0,n.jsx)(s.a,{ref:t,mod:[{fluid:v},g],...y("root"),...b})});h.classes=c,h.displayName="@mantine/core/Container"},3307:(e,t,r)=>{r.d(t,{p:()=>X});var n=r(5155),o=r(7518),i=r(2115),a=r(4987),l=r(4456),s=r(6407),u=r(1902),c=r(3642),f=r(6788),d=r(668);function h(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=(0,i.createContext)(e);return[e=>{let{children:r,value:o}=e;return(0,n.jsx)(t.Provider,{value:o,children:r})},()=>(0,i.useContext)(t)]}let[p,m]=h({size:"sm"});var v=r(8201),g=r(6707),b=r(5950);let y=(0,i.forwardRef)((e,t)=>{let{size:r="var(--cb-icon-size, 70%)",style:o,...i}=e;return(0,n.jsx)("svg",{viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{...o,width:r,height:r},ref:t,...i,children:(0,n.jsx)("path",{d:"M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})});y.displayName="@mantine/core/CloseIcon";var E={root:"m_86a44da5","root--subtle":"m_220c80f2"};let w={variant:"subtle"},x=(0,l.V)((e,t)=>{let{size:r,radius:n,iconSize:i}=t;return{root:{"--cb-size":(0,a.YC)(r,"cb-size"),"--cb-radius":void 0===n?void 0:(0,a.nJ)(n),"--cb-icon-size":(0,o.D)(i)}}}),T=(0,d.v)((e,t)=>{let r=(0,s.Y)("CloseButton",w,e),{iconSize:o,children:i,vars:a,radius:l,className:c,classNames:f,style:d,styles:h,unstyled:p,"data-disabled":m,disabled:v,variant:g,icon:T,mod:P,__staticSelector:C,...A}=r,S=(0,u.I)({name:C||"CloseButton",props:r,className:c,style:d,classes:E,classNames:f,styles:h,unstyled:p,vars:a,varsResolver:x});return(0,n.jsxs)(b.N,{ref:t,...A,unstyled:p,variant:g,disabled:v,mod:[{disabled:v||m},P],...S("root",{variant:g,active:!v&&!m}),children:[T||(0,n.jsx)(y,{}),i]})});T.classes=E,T.displayName="@mantine/core/CloseButton";let P={},C=(0,g.P9)((e,t)=>{let r=(0,s.Y)("InputClearButton",P,e),{size:o,variant:i,vars:a,classNames:l,styles:u,...c}=r,f=m(),{resolvedClassNames:d,resolvedStyles:h}=(0,v.Y)({classNames:l,styles:u,props:r});return(0,n.jsx)(T,{variant:i||"transparent",ref:t,size:o||(null==f?void 0:f.size)||"sm",classNames:d,styles:h,__staticSelector:"InputClearButton",...c})});C.displayName="@mantine/core/InputClearButton";let[A,S]=h({offsetBottom:!1,offsetTop:!1,describedBy:void 0,getStyles:null,inputId:void 0,labelId:void 0});var _={wrapper:"m_6c018570",input:"m_8fb7ebe7",section:"m_82577fc2",placeholder:"m_88bacfd0",root:"m_46b77525",label:"m_8fdc1311",required:"m_78a94662",error:"m_8f816625",description:"m_fe47ce59"};let L={},N=(0,l.V)((e,t)=>{let{size:r}=t;return{description:{"--input-description-size":void 0===r?void 0:"calc(".concat((0,a.ny)(r)," - ").concat((0,o.D)(2),")")}}}),R=(0,g.P9)((e,t)=>{let r=(0,s.Y)("InputDescription",L,e),{classNames:o,className:i,style:a,styles:l,unstyled:c,vars:d,size:h,__staticSelector:p,__inheritStyles:m=!0,variant:v,...g}=(0,s.Y)("InputDescription",L,r),b=S(),y=(0,u.I)({name:["InputWrapper",p],props:r,classes:_,className:i,style:a,classNames:o,styles:l,unstyled:c,rootSelector:"description",vars:d,varsResolver:N}),E=m&&(null==b?void 0:b.getStyles)||y;return(0,n.jsx)(f.a,{component:"p",ref:t,variant:v,size:h,...E("description",(null==b?void 0:b.getStyles)?{className:i,style:a}:void 0),...g})});R.classes=_,R.displayName="@mantine/core/InputDescription";let I={},H=(0,l.V)((e,t)=>{let{size:r}=t;return{error:{"--input-error-size":void 0===r?void 0:"calc(".concat((0,a.ny)(r)," - ").concat((0,o.D)(2),")")}}}),B=(0,g.P9)((e,t)=>{let r=(0,s.Y)("InputError",I,e),{classNames:o,className:i,style:a,styles:l,unstyled:c,vars:d,size:h,__staticSelector:p,__inheritStyles:m=!0,variant:v,...g}=r,b=(0,u.I)({name:["InputWrapper",p],props:r,classes:_,className:i,style:a,classNames:o,styles:l,unstyled:c,rootSelector:"error",vars:d,varsResolver:H}),y=S(),E=m&&(null==y?void 0:y.getStyles)||b;return(0,n.jsx)(f.a,{component:"p",ref:t,variant:v,size:h,...E("error",(null==y?void 0:y.getStyles)?{className:i,style:a}:void 0),...g})});B.classes=_,B.displayName="@mantine/core/InputError";let M={labelElement:"label"},O=(0,l.V)((e,t)=>{let{size:r}=t;return{label:{"--input-label-size":(0,a.ny)(r),"--input-asterisk-color":void 0}}}),k=(0,g.P9)((e,t)=>{let r=(0,s.Y)("InputLabel",M,e),{classNames:o,className:i,style:a,styles:l,unstyled:c,vars:d,labelElement:h,size:p,required:m,htmlFor:v,onMouseDown:g,children:b,__staticSelector:y,variant:E,mod:w,...x}=(0,s.Y)("InputLabel",M,r),T=(0,u.I)({name:["InputWrapper",y],props:r,classes:_,className:i,style:a,classNames:o,styles:l,unstyled:c,rootSelector:"label",vars:d,varsResolver:O}),P=S(),C=(null==P?void 0:P.getStyles)||T;return(0,n.jsxs)(f.a,{...C("label",(null==P?void 0:P.getStyles)?{className:i,style:a}:void 0),component:h,variant:E,size:p,ref:t,htmlFor:"label"===h?v:void 0,mod:[{required:m},w],onMouseDown:e=>{null==g||g(e),!e.defaultPrevented&&e.detail>1&&e.preventDefault()},...x,children:[b,m&&(0,n.jsx)("span",{...C("required"),"aria-hidden":!0,children:" *"})]})});k.classes=_,k.displayName="@mantine/core/InputLabel";let D={},F=(0,g.P9)((e,t)=>{let r=(0,s.Y)("InputPlaceholder",D,e),{classNames:o,className:i,style:a,styles:l,unstyled:c,vars:d,__staticSelector:h,variant:p,error:m,mod:v,...g}=(0,s.Y)("InputPlaceholder",D,r),b=(0,u.I)({name:["InputPlaceholder",h],props:r,classes:_,className:i,style:a,classNames:o,styles:l,unstyled:c,rootSelector:"placeholder"});return(0,n.jsx)(f.a,{...b("placeholder"),mod:[{error:!!m},v],component:"span",variant:p,ref:t,...g})});F.classes=_,F.displayName="@mantine/core/InputPlaceholder";var j=r(3468);let G={labelElement:"label",inputContainer:e=>e,inputWrapperOrder:["label","description","input","error"]},U=(0,l.V)((e,t)=>{let{size:r}=t;return{label:{"--input-label-size":(0,a.ny)(r),"--input-asterisk-color":void 0},error:{"--input-error-size":void 0===r?void 0:"calc(".concat((0,a.ny)(r)," - ").concat((0,o.D)(2),")")},description:{"--input-description-size":void 0===r?void 0:"calc(".concat((0,a.ny)(r)," - ").concat((0,o.D)(2),")")}}}),z=(0,g.P9)((e,t)=>{let r=(0,s.Y)("InputWrapper",G,e),{classNames:o,className:a,style:l,styles:c,unstyled:d,vars:h,size:p,variant:m,__staticSelector:v,inputContainer:g,inputWrapperOrder:b,label:y,error:E,description:w,labelProps:x,descriptionProps:T,errorProps:P,labelElement:C,children:S,withAsterisk:L,id:N,required:I,__stylesApiProps:H,mod:M,...O}=r,D=(0,u.I)({name:["InputWrapper",v],props:H||r,classes:_,className:a,style:l,classNames:o,styles:c,unstyled:d,vars:h,varsResolver:U}),F={size:p,variant:m,__staticSelector:v},z=(0,j.B)(N),Y=(null==P?void 0:P.id)||"".concat(z,"-error"),V=(null==T?void 0:T.id)||"".concat(z,"-description"),X=!!E&&"boolean"!=typeof E,W=!!w,K="".concat(X?Y:""," ").concat(W?V:""),Z=K.trim().length>0?K.trim():void 0,q=(null==x?void 0:x.id)||"".concat(z,"-label"),J=y&&(0,n.jsx)(k,{labelElement:C,id:q,htmlFor:z,required:"boolean"==typeof L?L:I,...F,...x,children:y},"label"),$=W&&(0,n.jsx)(R,{...T,...F,size:(null==T?void 0:T.size)||F.size,id:(null==T?void 0:T.id)||V,children:w},"description"),Q=(0,n.jsx)(i.Fragment,{children:g(S)},"input"),ee=X&&(0,i.createElement)(B,{...P,...F,size:(null==P?void 0:P.size)||F.size,key:"error",id:(null==P?void 0:P.id)||Y},E),et=b.map(e=>{switch(e){case"label":return J;case"input":return Q;case"description":return $;case"error":return ee;default:return null}});return(0,n.jsx)(A,{value:{getStyles:D,describedBy:Z,inputId:z,labelId:q,...function(e,t){let{hasDescription:r,hasError:n}=t,o=e.findIndex(e=>"input"===e),i=e.slice(0,o),a=e.slice(o+1),l=r&&i.includes("description")||n&&i.includes("error");return{offsetBottom:r&&a.includes("description")||n&&a.includes("error"),offsetTop:l}}(b,{hasDescription:W,hasError:X})},children:(0,n.jsx)(f.a,{ref:t,variant:m,size:p,mod:[{error:!!E},M],...D("root"),...O,children:et})})});z.classes=_,z.displayName="@mantine/core/InputWrapper";let Y={variant:"default",leftSectionPointerEvents:"none",rightSectionPointerEvents:"none",withAria:!0,withErrorStyles:!0},V=(0,l.V)((e,t,r)=>({wrapper:{"--input-margin-top":r.offsetTop?"calc(var(--mantine-spacing-xs) / 2)":void 0,"--input-margin-bottom":r.offsetBottom?"calc(var(--mantine-spacing-xs) / 2)":void 0,"--input-height":(0,a.YC)(t.size,"input-height"),"--input-fz":(0,a.ny)(t.size),"--input-radius":void 0===t.radius?void 0:(0,a.nJ)(t.radius),"--input-left-section-width":void 0!==t.leftSectionWidth?(0,o.D)(t.leftSectionWidth):void 0,"--input-right-section-width":void 0!==t.rightSectionWidth?(0,o.D)(t.rightSectionWidth):void 0,"--input-padding-y":t.multiline?(0,a.YC)(t.size,"input-padding-y"):void 0,"--input-left-section-pointer-events":t.leftSectionPointerEvents,"--input-right-section-pointer-events":t.rightSectionPointerEvents}})),X=(0,d.v)((e,t)=>{let r=(0,s.Y)("Input",Y,e),{classNames:o,className:i,style:a,styles:l,unstyled:d,required:h,__staticSelector:m,__stylesApiProps:v,size:g,wrapperProps:b,error:y,disabled:E,leftSection:w,leftSectionProps:x,leftSectionWidth:T,rightSection:P,rightSectionProps:C,rightSectionWidth:A,rightSectionPointerEvents:L,leftSectionPointerEvents:N,variant:R,vars:I,pointer:H,multiline:B,radius:M,id:O,withAria:k,withErrorStyles:D,mod:F,inputSize:j,__clearSection:G,__clearable:U,__defaultRightSection:z,...X}=r,{styleProps:W,rest:K}=(0,c.j)(X),Z=S(),q={offsetBottom:null==Z?void 0:Z.offsetBottom,offsetTop:null==Z?void 0:Z.offsetTop},J=(0,u.I)({name:["Input",m],props:v||r,classes:_,className:i,style:a,classNames:o,styles:l,unstyled:d,stylesCtx:q,rootSelector:"wrapper",vars:I,varsResolver:V}),$=k?{required:h,disabled:E,"aria-invalid":!!y,"aria-describedby":null==Z?void 0:Z.describedBy,id:(null==Z?void 0:Z.inputId)||O}:{},Q=P||U&&G||z;return(0,n.jsx)(p,{value:{size:g||"sm"},children:(0,n.jsxs)(f.a,{...J("wrapper"),...W,...b,mod:[{error:!!y&&D,pointer:H,disabled:E,multiline:B,"data-with-right-section":!!P,"data-with-left-section":!!w},F],variant:R,size:g,children:[w&&(0,n.jsx)("div",{...x,"data-position":"left",...J("section",{className:null==x?void 0:x.className,style:null==x?void 0:x.style}),children:w}),(0,n.jsx)(f.a,{component:"input",...K,...$,ref:t,required:h,mod:{disabled:E,error:!!y&&D},variant:R,__size:j,...J("input")}),Q&&(0,n.jsx)("div",{...C,"data-position":"right",...J("section",{className:null==C?void 0:C.className,style:null==C?void 0:C.style}),children:Q})]})})});X.classes=_,X.Wrapper=z,X.Label=k,X.Error=B,X.Description=R,X.Placeholder=F,X.ClearButton=C,X.displayName="@mantine/core/Input"},6182:(e,t,r)=>{r.d(t,{$:()=>s});var n=r(5155);r(2115);var o=r(6407),i=r(6788),a=r(6707);let l={},s=(0,a.P9)((e,t)=>{let{w:r,h:a,miw:s,mih:u,...c}=(0,o.Y)("Space",l,e);return(0,n.jsx)(i.a,{ref:t,...c,w:r,miw:null!=s?s:r,h:a,mih:null!=u?u:a})});s.displayName="@mantine/core/Space"},1650:(e,t,r)=>{r.d(t,{B:()=>h});var n=r(5155);r(2115);var o=r(4987),i=r(4456),a=r(6407),l=r(1902),s=r(6788),u=r(6707),c={root:"m_6d731127"};let f={gap:"md",align:"stretch",justify:"flex-start"},d=(0,i.V)((e,t)=>{let{gap:r,align:n,justify:i}=t;return{root:{"--stack-gap":(0,o.GY)(r),"--stack-align":n,"--stack-justify":i}}}),h=(0,u.P9)((e,t)=>{let r=(0,a.Y)("Stack",f,e),{classNames:o,className:i,style:u,styles:h,unstyled:p,vars:m,align:v,justify:g,gap:b,variant:y,...E}=r,w=(0,l.I)({name:"Stack",props:r,classes:c,className:i,style:u,classNames:o,styles:h,unstyled:p,vars:m,varsResolver:d});return(0,n.jsx)(s.a,{ref:t,...w("root"),variant:y,...E})});h.classes=c,h.displayName="@mantine/core/Stack"},9371:(e,t,r)=>{r.d(t,{E:()=>m});var n=r(5155);r(2115);var o=r(4987),i=r(4456),a=r(7151),l=r(2463),s=r(6407),u=r(1902),c=r(6788),f=r(668),d={root:"m_b6d8b162"};let h={inherit:!1},p=(0,i.V)((e,t)=>{let{variant:r,lineClamp:n,gradient:i,size:s,color:u}=t;return{root:{"--text-fz":(0,o.ny)(s),"--text-lh":(0,o.ks)(s),"--text-gradient":"gradient"===r?(0,l.v)(i,e):void 0,"--text-line-clamp":"number"==typeof n?n.toString():void 0,"--text-color":u?(0,a.r)(u,e):void 0}}}),m=(0,f.v)((e,t)=>{let r=(0,s.Y)("Text",h,e),{lineClamp:o,truncate:i,inline:a,inherit:l,gradient:f,span:m,__staticSelector:v,vars:g,className:b,style:y,classNames:E,styles:w,unstyled:x,variant:T,mod:P,size:C,...A}=r,S=(0,u.I)({name:["Text",v],props:r,classes:d,className:b,style:y,classNames:E,styles:w,unstyled:x,vars:g,varsResolver:p});return(0,n.jsx)(c.a,{...S("root",{focusable:!0}),ref:t,component:m?"span":"p",variant:T,mod:[{"data-truncate":function(e){return"start"===e?"start":"end"===e||e?"end":void 0}(i),"data-line-clamp":"number"==typeof o,"data-inline":a,"data-inherit":l},P],size:C,...A})});m.classes=d,m.displayName="@mantine/core/Text"},7691:(e,t,r)=>{r.d(t,{h:()=>m});var n=r(5155);r(2115);var o=r(4456),i=r(6407),a=r(1902),l=r(6788),s=r(6707),u=r(7518);let c=["h1","h2","h3","h4","h5","h6"],f=["xs","sm","md","lg","xl"];var d={root:"m_8a5d1357"};let h={order:1},p=(0,o.V)((e,t)=>{let{order:r,size:n,lineClamp:o,textWrap:i}=t,a=function(e,t){let r=void 0!==t?t:"h".concat(e);return c.includes(r)?{fontSize:"var(--mantine-".concat(r,"-font-size)"),fontWeight:"var(--mantine-".concat(r,"-font-weight)"),lineHeight:"var(--mantine-".concat(r,"-line-height)")}:f.includes(r)?{fontSize:"var(--mantine-font-size-".concat(r,")"),fontWeight:"var(--mantine-h".concat(e,"-font-weight)"),lineHeight:"var(--mantine-h".concat(e,"-line-height)")}:{fontSize:(0,u.D)(r),fontWeight:"var(--mantine-h".concat(e,"-font-weight)"),lineHeight:"var(--mantine-h".concat(e,"-line-height)")}}(r,n);return{root:{"--title-fw":a.fontWeight,"--title-lh":a.lineHeight,"--title-fz":a.fontSize,"--title-line-clamp":"number"==typeof o?o.toString():void 0,"--title-text-wrap":i}}}),m=(0,s.P9)((e,t)=>{let r=(0,i.Y)("Title",h,e),{classNames:o,className:s,style:u,styles:c,unstyled:f,order:m,vars:v,size:g,variant:b,lineClamp:y,textWrap:E,mod:w,...x}=r,T=(0,a.I)({name:"Title",props:r,classes:d,className:s,style:u,classNames:o,styles:c,unstyled:f,vars:v,varsResolver:p});return[1,2,3,4,5,6].includes(m)?(0,n.jsx)(l.a,{...T("root"),component:"h".concat(m),variant:b,ref:t,mod:[{order:m,"data-line-clamp":"number"==typeof y},w],size:g,...x}):null});m.classes=d,m.displayName="@mantine/core/Title"},5950:(e,t,r)=>{r.d(t,{N:()=>c});var n=r(5155);r(2115);var o=r(6407),i=r(1902),a=r(6788),l=r(668),s={root:"m_87cf2631"};let u={__staticSelector:"UnstyledButton"},c=(0,l.v)((e,t)=>{let r=(0,o.Y)("UnstyledButton",u,e),{className:l,component:c="button",__staticSelector:f,unstyled:d,classNames:h,styles:p,style:m,...v}=r,g=(0,i.I)({name:f,props:r,classes:s,className:l,style:m,classNames:h,styles:p,unstyled:d});return(0,n.jsx)(a.a,{...g("root",{focusable:!0}),component:c,ref:t,type:"button"===c?"button":void 0,...v})});c.classes=s,c.displayName="@mantine/core/UnstyledButton"},7339:(e,t,r)=>{r.d(t,{jH:()=>i}),r(5155);var n=r(2115);let o=(0,n.createContext)({dir:"ltr",toggleDirection:()=>{},setDirection:()=>{}});function i(){return(0,n.useContext)(o)}},668:(e,t,r)=>{r.d(t,{v:()=>a});var n=r(5155),o=r(2115),i=r(6707);function a(e){let t=(0,o.forwardRef)(e);return t.withProps=e=>{let r=(0,o.forwardRef)((r,o)=>(0,n.jsx)(t,{...e,...r,ref:o}));return r.extend=t.extend,r.displayName="WithProps(".concat(t.displayName,")"),r},t.extend=i.D_,t}},8201:(e,t,r)=>{r.d(t,{Y:()=>a}),r(2115),r(5155);var n=r(8770),o=r(2246),i=r(5723);function a(e){let{classNames:t,styles:r,props:a,stylesCtx:l}=e,s=(0,n.xd)();return{resolvedClassNames:(0,o.J)({theme:s,classNames:t,props:a,stylesCtx:l||void 0}),resolvedStyles:(0,i.N)({theme:s,styles:r,props:a,stylesCtx:l||void 0})}}},3981:(e,t,r)=>{r.d(t,{F:()=>i});var n=r(5155),o=r(2115);function i(e){let t=(0,o.createContext)(null);return[e=>{let{children:r,value:o}=e;return(0,n.jsx)(t.Provider,{value:o,children:r})},()=>{let r=(0,o.useContext)(t);if(null===r)throw Error(e);return r}]}},2311:(e,t,r)=>{r.d(t,{r:()=>o});var n=r(3884);function o(e,t){return e in t?(0,n.px)(t[e]):(0,n.px)(e)}},4065:(e,t,r)=>{r.d(t,{I:()=>o});let n={app:100,modal:200,popover:300,overlay:400,max:9999};function o(e){return n[e]}},4581:(e,t,r)=>{r.d(t,{q:()=>o});var n=r(2311);function o(e,t){let r=e.map(e=>({value:e,px:(0,n.r)(e,t)}));return r.sort((e,t)=>e.px-t.px),r}},3884:(e,t,r)=>{r.d(t,{px:()=>n});function n(e){var t;let r="string"==typeof e&&e.includes("var(--mantine-scale)")?null===(t=e.match(/^calc\((.*?)\)$/))||void 0===t?void 0:t[1].split("*")[0].trim():e;return"number"==typeof r?r:"string"==typeof r?r.includes("calc")||r.includes("var")?r:r.includes("px")?Number(r.replace("px","")):r.includes("rem")?16*Number(r.replace("rem","")):r.includes("em")?16*Number(r.replace("em","")):Number(r):NaN}},5786:(e,t,r)=>{r.d(t,{j:()=>o});var n=r(2115);function o(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0,{onOpen:r,onClose:o}=t||{},[i,a]=(0,n.useState)(e),l=(0,n.useCallback)(()=>{a(e=>e||(null==r||r(),!0))},[r]),s=(0,n.useCallback)(()=>{a(e=>e?(null==o||o(),!1):e)},[o]),u=(0,n.useCallback)(()=>{i?s():l()},[s,l,i]);return[i,{open:l,close:s,toggle:u}]}},3709:(e,t,r)=>{r.d(t,{XH:()=>f});var n=r(2115),o=r(4058),i=r(3010);function a(){return"undefined"!=typeof window?{x:window.pageXOffset,y:window.pageYOffset}:{x:0,y:0}}function l(e){let{x:t,y:r}=e;if("undefined"!=typeof window){let e={behavior:"smooth"};"number"==typeof t&&(e.left=t),"number"==typeof r&&(e.top=r),window.scrollTo(e)}}let s=(e,t)=>e<=t,u=(e,t,r,n,o,i)=>{let a=s(e,t);a&&!r.current?(r.current=!0,null==o||o()):a||!n||r.current?!a&&r.current&&(r.current=!1,null==i||i()):(r.current=!0,null==o||o())},c=()=>{let[e,t]=(0,n.useState)(0),[r,o]=(0,n.useState)(!1),[i,a]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{let r;let n=()=>{a(!0),clearTimeout(r),r=setTimeout(()=>{a(!1)},300)},l=()=>{if(i)return;let r=window.pageYOffset||document.documentElement.scrollTop;o(r{window.removeEventListener("scroll",l),window.removeEventListener("resize",n)}},[e,i]),r};function f(){let{fixedAt:e=0,onPin:t,onFix:r,onRelease:f}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},d=(0,n.useRef)(!1),h=c(),[{y:p}]=function(){let[e,t]=(0,n.useState)({x:0,y:0});return(0,i.M)("scroll",()=>t(a())),(0,i.M)("resize",()=>t(a())),(0,n.useEffect)(()=>{t(a())},[]),[e,l]}();return(0,o.o)(()=>{u(p,e,d,h,t,f)},[p]),(0,o.o)(()=>{s(p,e)&&(null==r||r())},[p,e,r]),!!s(p,e)||!!h}},3468:(e,t,r)=>{r.d(t,{B:()=>a});var n=r(2115),o=r(4058);let i=n["useId".toString()]||(()=>void 0);function a(e){let t=function(){let e=i();return e?"mantine-".concat(e.replace(/:/g,"")):""}(),[r,a]=(0,n.useState)(t);return((0,o.o)(()=>{a(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"mantine-";return"".concat(e).concat(Math.random().toString(36).slice(2,11))}())},[]),"string"==typeof e)?e:"undefined"==typeof window?t:r}},4058:(e,t,r)=>{r.d(t,{o:()=>o});var n=r(2115);let o="undefined"!=typeof document?n.useLayoutEffect:n.useEffect},6850:(e,t,r)=>{r.d(t,{U:()=>o});var n=r(2115);function o(e,t){let{getInitialValueInEffect:r}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{getInitialValueInEffect:!0},[o,i]=(0,n.useState)(r?t:!!("undefined"!=typeof window&&"matchMedia"in window)&&window.matchMedia(e).matches),a=(0,n.useRef)(null);return(0,n.useEffect)(()=>{if("matchMedia"in window)return a.current=window.matchMedia(e),i(a.current.matches),function(e,t){try{return e.addEventListener("change",t),()=>e.removeEventListener("change",t)}catch(r){return e.addListener(t),()=>e.removeListener(t)}}(a.current,e=>i(e.matches))},[e]),o}},136:(e,t,r)=>{r.d(t,{bl:()=>o,pc:()=>i});var n=r(2115);function o(e,t){if("function"==typeof e)return e(t);"object"==typeof e&&null!==e&&"current"in e&&(e.current=t)}function i(){for(var e=arguments.length,t=Array(e),r=0;r{if(t.forEach(t=>{let r=o(t,e);r&&n.set(t,r)}),n.size>0)return()=>{t.forEach(e=>{let t=n.get(e);t?t():o(e,null)}),n.clear()}}}(...t),t)}},7994:(e,t,r)=>{r.d(t,{Z:()=>o});var n=r(2115);function o(e){let{value:t,defaultValue:r,finalValue:o,onChange:i=()=>{}}=e,[a,l]=(0,n.useState)(void 0!==r?r:o);return void 0!==t?[t,i,!0]:[a,function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n{r.d(t,{M:()=>o});var n=r(2115);function o(e,t,r){(0,n.useEffect)(()=>(window.addEventListener(e,t,r),()=>window.removeEventListener(e,t,r)),[e,t])}},775:(e,t,r)=>{r.d(t,{A:()=>i});var n=r(2115),o={outline:{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},filled:{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",stroke:"none"}};let i=(e,t,r,i)=>{let a=(0,n.forwardRef)((r,a)=>{let{color:l="currentColor",size:s=24,stroke:u=2,title:c,className:f,children:d,...h}=r;return(0,n.createElement)("svg",{ref:a,...o[e],width:s,height:s,className:["tabler-icon","tabler-icon-".concat(t),f].join(" "),..."filled"===e?{fill:l}:{strokeWidth:u,stroke:l},...h},[c&&(0,n.createElement)("title",{key:"svg-title"},c),...i.map(e=>{let[t,r]=e;return(0,n.createElement)(t,r)}),...Array.isArray(d)?d:[d]])});return a.displayName="".concat(r),a}},156:(e,t,r)=>{r.d(t,{A:()=>n});var n=(0,r(775).A)("outline","language","IconLanguage",[["path",{d:"M4 5h7",key:"svg-0"}],["path",{d:"M9 3v2c0 4.418 -2.239 8 -5 8",key:"svg-1"}],["path",{d:"M5 9c0 2.144 2.952 3.908 6.7 4",key:"svg-2"}],["path",{d:"M12 20l4 -9l4 9",key:"svg-3"}],["path",{d:"M19.1 18h-6.2",key:"svg-4"}]])},6476:(e,t,r)=>{r.d(t,{C6:()=>o,Cl:()=>i,Tt:()=>a,fX:()=>l});var n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(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 r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var i=function(){return(i=Object.assign||function(e){for(var t,r=1,n=arguments.length;rt.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}function l(e,t,r){if(r||2==arguments.length)for(var n,o=0,i=t.length;o