(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6034],{1360:function(e,t,a){"use strict";function n(e,t){var a=t&&t.cache?t.cache:s,n=t&&t.serializer?t.serializer:i;return(t&&t.strategy?t.strategy:function(e,t){var a,n,i=1===e.length?r:l;return a=t.cache.create(),n=t.serializer,i.bind(this,e,a,n)})(e,{cache:a,serializer:n})}function r(e,t,a,n){var r=null==n||"number"==typeof n||"boolean"==typeof n?n:a(n),l=t.get(r);return void 0===l&&(l=e.call(this,n),t.set(r,l)),l}function l(e,t,a){var n=Array.prototype.slice.call(arguments,3),r=a(n),l=t.get(r);return void 0===l&&(l=e.apply(this,n),t.set(r,l)),l}a.r(t),a.d(t,{memoize:function(){return n},strategies:function(){return c}});var i=function(){return JSON.stringify(arguments)};function o(){this.cache=Object.create(null)}o.prototype.get=function(e){return this.cache[e]},o.prototype.set=function(e,t){this.cache[e]=t};var s={create:function(){return new o}},c={variadic:function(e,t){var a,n;return a=t.cache.create(),n=t.serializer,l.bind(this,e,a,n)},monadic:function(e,t){var a,n;return a=t.cache.create(),n=t.serializer,r.bind(this,e,a,n)}}},63981:function(e,t,a){"use strict";a.r(t),a.d(t,{ErrorCode:function(){return f},FormatError:function(){return eu},IntlMessageFormat:function(){return eb},InvalidValueError:function(){return ed},InvalidValueTypeError:function(){return eh},MissingValueError:function(){return ef},PART_TYPE:function(){return p},default:function(){return ev},formatToParts:function(){return em},isFormatXMLElementFn:function(){return ep}});var n,r,l,i,o,s,c,u,d,h,f,p,m=function(e,t){return(m=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])})(e,t)};function g(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function a(){this.constructor=e}m(e,t),e.prototype=null===t?Object.create(t):(a.prototype=t.prototype,new a)}var b=function(){return(b=Object.assign||function(e){for(var t,a=1,n=arguments.length;a<n;a++)for(var r in t=arguments[a])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function v(e,t,a){if(a||2==arguments.length)for(var n,r=0,l=t.length;r<l;r++)!n&&r in t||(n||(n=Array.prototype.slice.call(t,0,r)),n[r]=t[r]);return e.concat(n||Array.prototype.slice.call(t))}function _(e){return e.type===c.literal}function y(e){return e.type===c.number}function E(e){return e.type===c.date}function x(e){return e.type===c.time}function N(e){return e.type===c.select}function w(e){return e.type===c.plural}function j(e){return e.type===c.tag}function T(e){return!!(e&&"object"==typeof e&&e.type===u.number)}function C(e){return!!(e&&"object"==typeof e&&e.type===u.dateTime)}"function"==typeof SuppressedError&&SuppressedError,(n=s||(s={}))[n.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",n[n.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",n[n.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",n[n.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",n[n.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",n[n.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",n[n.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",n[n.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",n[n.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",n[n.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",n[n.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",n[n.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",n[n.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",n[n.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",n[n.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",n[n.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",n[n.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",n[n.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",n[n.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",n[n.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",n[n.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",n[n.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",n[n.INVALID_TAG=23]="INVALID_TAG",n[n.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",n[n.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",n[n.UNCLOSED_TAG=27]="UNCLOSED_TAG",(r=c||(c={}))[r.literal=0]="literal",r[r.argument=1]="argument",r[r.number=2]="number",r[r.date=3]="date",r[r.time=4]="time",r[r.select=5]="select",r[r.plural=6]="plural",r[r.pound=7]="pound",r[r.tag=8]="tag",(l=u||(u={}))[l.number=0]="number",l[l.dateTime=1]="dateTime";var B=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,k=/(?:[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,H=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,S=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,R=/^(@+)?(\+|#+)?[rs]?$/g,A=/(\*)(0+)|(#+)(0+)|(0+)/g,L=/^(0+)$/;function I(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(R,function(e,a,n){return"string"!=typeof n?(t.minimumSignificantDigits=a.length,t.maximumSignificantDigits=a.length):"+"===n?t.minimumSignificantDigits=a.length:"#"===a[0]?t.maximumSignificantDigits=a.length:(t.minimumSignificantDigits=a.length,t.maximumSignificantDigits=a.length+("string"==typeof n?n.length:0)),""}),t}function M(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 D(e){return M(e)||{}}var P={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]},F=new RegExp("^".concat(B.source,"*")),O=new RegExp("".concat(B.source,"*$"));function Z(e,t){return{start:e,end:t}}var U=!!String.prototype.startsWith&&"_a".startsWith("a",1),G=!!String.fromCodePoint,z=!!Object.fromEntries,Y=!!String.prototype.codePointAt,V=!!String.prototype.trimStart,q=!!String.prototype.trimEnd,K=Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&9007199254740991>=Math.abs(e)},$=!0;try{var X=en("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");$=(null===(d=X.exec("a"))||void 0===d?void 0:d[0])==="a"}catch(e){$=!1}var W=U?function(e,t,a){return e.startsWith(t,a)}:function(e,t,a){return e.slice(a,a+t.length)===t},Q=G?String.fromCodePoint:function(){for(var e,t=[],a=0;a<arguments.length;a++)t[a]=arguments[a];for(var n="",r=t.length,l=0;r>l;){if((e=t[l++])>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},J=z?Object.fromEntries:function(e){for(var t={},a=0;a<e.length;a++){var n=e[a],r=n[0],l=n[1];t[r]=l}return t},ee=Y?function(e,t){return e.codePointAt(t)}:function(e,t){var a,n=e.length;if(!(t<0)&&!(t>=n)){var r=e.charCodeAt(t);return r<55296||r>56319||t+1===n||(a=e.charCodeAt(t+1))<56320||a>57343?r:(r-55296<<10)+(a-56320)+65536}},et=V?function(e){return e.trimStart()}:function(e){return e.replace(F,"")},ea=q?function(e){return e.trimEnd()}:function(e){return e.replace(O,"")};function en(e,t){return new RegExp(e,t)}if($){var er=en("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");h=function(e,t){var a;return er.lastIndex=t,null!==(a=er.exec(e)[1])&&void 0!==a?a:""}}else h=function(e,t){for(var a=[];;){var n,r=ee(e,t);if(void 0===r||eo(r)||(n=r)>=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;a.push(r),t+=r>=65536?2:1}return Q.apply(void 0,a)};var el=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,a){for(var n=[];!this.isEOF();){var r=this.char();if(123===r){var l=this.parseArgument(e,a);if(l.err)return l;n.push(l.val)}else if(125===r&&e>0)break;else if(35===r&&("plural"===t||"selectordinal"===t)){var i=this.clonePosition();this.bump(),n.push({type:c.pound,location:Z(i,this.clonePosition())})}else if(60!==r||this.ignoreTag||47!==this.peek()){if(60===r&&!this.ignoreTag&&ei(this.peek()||0)){var l=this.parseTag(e,t);if(l.err)return l;n.push(l.val)}else{var l=this.parseLiteral(e,t);if(l.err)return l;n.push(l.val)}}else{if(!a)return this.error(s.UNMATCHED_CLOSING_TAG,Z(this.clonePosition(),this.clonePosition()));break}}return{val:n,err:null}},e.prototype.parseTag=function(e,t){var a=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:c.literal,value:"<".concat(n,"/>"),location:Z(a,this.clonePosition())},err:null};if(!this.bumpIf(">"))return this.error(s.INVALID_TAG,Z(a,this.clonePosition()));var r=this.parseMessage(e+1,t,!0);if(r.err)return r;var l=r.val,i=this.clonePosition();if(!this.bumpIf("</"))return this.error(s.UNCLOSED_TAG,Z(a,this.clonePosition()));if(this.isEOF()||!ei(this.char()))return this.error(s.INVALID_TAG,Z(i,this.clonePosition()));var o=this.clonePosition();return n!==this.parseTagName()?this.error(s.UNMATCHED_CLOSING_TAG,Z(o,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">"))?{val:{type:c.tag,value:n,children:l,location:Z(a,this.clonePosition())},err:null}:this.error(s.INVALID_TAG,Z(i,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 a=this.clonePosition(),n="";;){var r=this.tryParseQuote(t);if(r){n+=r;continue}var l=this.tryParseUnquoted(e,t);if(l){n+=l;continue}var i=this.tryParseLeftAngleBracket();if(i){n+=i;continue}break}var o=Z(a,this.clonePosition());return{val:{type:c.literal,value:n,location:o},err:null}},e.prototype.tryParseLeftAngleBracket=function(){var e;return this.isEOF()||60!==this.char()||!this.ignoreTag&&(ei(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 a=this.char();if(39===a){if(39===this.peek())t.push(39),this.bump();else{this.bump();break}}else t.push(a);this.bump()}return Q.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var a=this.char();return 60===a||123===a||35===a&&("plural"===t||"selectordinal"===t)||125===a&&e>0?null:(this.bump(),Q(a))},e.prototype.parseArgument=function(e,t){var a=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(s.EXPECT_ARGUMENT_CLOSING_BRACE,Z(a,this.clonePosition()));if(125===this.char())return this.bump(),this.error(s.EMPTY_ARGUMENT,Z(a,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(s.MALFORMED_ARGUMENT,Z(a,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(s.EXPECT_ARGUMENT_CLOSING_BRACE,Z(a,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:c.argument,value:n,location:Z(a,this.clonePosition())},err:null};case 44:if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(s.EXPECT_ARGUMENT_CLOSING_BRACE,Z(a,this.clonePosition()));return this.parseArgumentOptions(e,t,n,a);default:return this.error(s.MALFORMED_ARGUMENT,Z(a,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),a=h(this.message,t),n=t+a.length;return this.bumpTo(n),{value:a,location:Z(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,a,n){var r,l=this.clonePosition(),i=this.parseIdentifierIfPossible().value,o=this.clonePosition();switch(i){case"":return this.error(s.EXPECT_ARGUMENT_TYPE,Z(l,o));case"number":case"date":case"time":this.bumpSpace();var d=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition(),f=this.parseSimpleArgStyleIfPossible();if(f.err)return f;var p=ea(f.val);if(0===p.length)return this.error(s.EXPECT_ARGUMENT_STYLE,Z(this.clonePosition(),this.clonePosition()));d={style:p,styleLocation:Z(h,this.clonePosition())}}var m=this.tryParseArgumentClose(n);if(m.err)return m;var g=Z(n,this.clonePosition());if(d&&W(null==d?void 0:d.style,"::",0)){var v,_=et(d.style.slice(2));if("number"===i){var f=this.parseNumberSkeletonFromString(_,d.styleLocation);if(f.err)return f;return{val:{type:c.number,value:a,location:g,style:f.val},err:null}}if(0===_.length)return this.error(s.EXPECT_DATE_TIME_SKELETON,g);var y=_;this.locale&&(y=function(e,t){for(var a="",n=0;n<e.length;n++){var r=e.charAt(n);if("j"===r){for(var l=0;n+1<e.length&&e.charAt(n+1)===r;)l++,n++;var i=1+(1&l),o=l<2?1:3+(l>>1),s=function(e){var t,a=e.hourCycle;if(void 0===a&&e.hourCycles&&e.hourCycles.length&&(a=e.hourCycles[0]),a)switch(a){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),(P[t||""]||P[n||""]||P["".concat(n,"-001")]||P["001"])[0]}(t);for(("H"==s||"k"==s)&&(o=0);o-- >0;)a+="a";for(;i-- >0;)a=s+a}else"J"===r?a+="H":a+=r}return a}(_,this.locale));var p={type:u.dateTime,pattern:y,location:d.styleLocation,parsedOptions:this.shouldParseSkeletons?(v={},y.replace(k,function(e){var t=e.length;switch(e[0]){case"G":v.era=4===t?"long":5===t?"narrow":"short";break;case"y":v.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":v.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":v.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":v.weekday=4===t?"long":5===t?"narrow":"short";break;case"e":if(t<4)throw RangeError("`e..eee` (weekday) patterns are not supported");v.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw RangeError("`c..ccc` (weekday) patterns are not supported");v.weekday=["short","long","narrow","short"][t-4];break;case"a":v.hour12=!0;break;case"b":case"B":throw RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":v.hourCycle="h12",v.hour=["numeric","2-digit"][t-1];break;case"H":v.hourCycle="h23",v.hour=["numeric","2-digit"][t-1];break;case"K":v.hourCycle="h11",v.hour=["numeric","2-digit"][t-1];break;case"k":v.hourCycle="h24",v.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":v.minute=["numeric","2-digit"][t-1];break;case"s":v.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":v.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""}),v):{}};return{val:{type:"date"===i?c.date:c.time,value:a,location:g,style:p},err:null}}return{val:{type:"number"===i?c.number:"date"===i?c.date:c.time,value:a,location:g,style:null!==(r=null==d?void 0:d.style)&&void 0!==r?r:null},err:null};case"plural":case"selectordinal":case"select":var E=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(s.EXPECT_SELECT_ARGUMENT_OPTIONS,Z(E,b({},E)));this.bumpSpace();var x=this.parseIdentifierIfPossible(),N=0;if("select"!==i&&"offset"===x.value){if(!this.bumpIf(":"))return this.error(s.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Z(this.clonePosition(),this.clonePosition()));this.bumpSpace();var f=this.tryParseDecimalInteger(s.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,s.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(f.err)return f;this.bumpSpace(),x=this.parseIdentifierIfPossible(),N=f.val}var w=this.tryParsePluralOrSelectOptions(e,i,t,x);if(w.err)return w;var m=this.tryParseArgumentClose(n);if(m.err)return m;var j=Z(n,this.clonePosition());if("select"===i)return{val:{type:c.select,value:a,options:J(w.val),location:j},err:null};return{val:{type:c.plural,value:a,options:J(w.val),offset:N,pluralType:"plural"===i?"cardinal":"ordinal",location:j},err:null};default:return this.error(s.INVALID_ARGUMENT_TYPE,Z(l,o))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(s.EXPECT_ARGUMENT_CLOSING_BRACE,Z(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 a=this.clonePosition();if(!this.bumpUntil("'"))return this.error(s.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Z(a,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 a=[];try{a=function(e){if(0===e.length)throw Error("Number skeleton cannot be empty");for(var t=e.split(H).filter(function(e){return e.length>0}),a=[],n=0;n<t.length;n++){var r=t[n].split("/");if(0===r.length)throw Error("Invalid number skeleton");for(var l=r[0],i=r.slice(1),o=0;o<i.length;o++)if(0===i[o].length)throw Error("Invalid number skeleton");a.push({stem:l,options:i})}return a}(e)}catch(e){return this.error(s.INVALID_NUMBER_SKELETON,t)}return{val:{type:u.number,tokens:a,location:t,parsedOptions:this.shouldParseSkeletons?function(e){for(var t={},a=0;a<e.length;a++){var n=e[a];switch(n.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=n.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=n.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=b(b(b({},t),{notation:"scientific"}),n.options.reduce(function(e,t){return b(b({},e),M(t)||{})},{}));continue;case"engineering":t=b(b(b({},t),{notation:"engineering"}),n.options.reduce(function(e,t){return b(b({},e),M(t)||{})},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(n.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(n.options.length>1)throw RangeError("integer-width stems only accept a single optional option");n.options[0].replace(A,function(e,a,n,r,l,i){if(a)t.minimumIntegerDigits=n.length;else if(r&&l)throw Error("We currently do not support maximum integer digits");else if(i)throw Error("We currently do not support exact integer digits");return""});continue}if(L.test(n.stem)){t.minimumIntegerDigits=n.stem.length;continue}if(S.test(n.stem)){if(n.options.length>1)throw RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(S,function(e,a,n,r,l,i){return"*"===n?t.minimumFractionDigits=a.length:r&&"#"===r[0]?t.maximumFractionDigits=r.length:l&&i?(t.minimumFractionDigits=l.length,t.maximumFractionDigits=l.length+i.length):(t.minimumFractionDigits=a.length,t.maximumFractionDigits=a.length),""});var r=n.options[0];"w"===r?t=b(b({},t),{trailingZeroDisplay:"stripIfInteger"}):r&&(t=b(b({},t),I(r)));continue}if(R.test(n.stem)){t=b(b({},t),I(n.stem));continue}var l=M(n.stem);l&&(t=b(b({},t),l));var i=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 a=e.slice(0,2);if("+!"===a?(t.signDisplay="always",e=e.slice(2)):"+?"===a&&(t.signDisplay="exceptZero",e=e.slice(2)),!L.test(e))throw Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(n.stem);i&&(t=b(b({},t),i))}return t}(a):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,a,n){for(var r,l=!1,i=[],o=new Set,c=n.value,u=n.location;;){if(0===c.length){var d=this.clonePosition();if("select"!==t&&this.bumpIf("=")){var h=this.tryParseDecimalInteger(s.EXPECT_PLURAL_ARGUMENT_SELECTOR,s.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;u=Z(d,this.clonePosition()),c=this.message.slice(d.offset,this.offset())}else break}if(o.has(c))return this.error("select"===t?s.DUPLICATE_SELECT_ARGUMENT_SELECTOR:s.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);"other"===c&&(l=!0),this.bumpSpace();var f=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?s.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:s.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Z(this.clonePosition(),this.clonePosition()));var p=this.parseMessage(e+1,t,a);if(p.err)return p;var m=this.tryParseArgumentClose(f);if(m.err)return m;i.push([c,{value:p.val,location:Z(f,this.clonePosition())}]),o.add(c),this.bumpSpace(),c=(r=this.parseIdentifierIfPossible()).value,u=r.location}return 0===i.length?this.error("select"===t?s.EXPECT_SELECT_ARGUMENT_SELECTOR:s.EXPECT_PLURAL_ARGUMENT_SELECTOR,Z(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!l?this.error(s.MISSING_OTHER_CLAUSE,Z(this.clonePosition(),this.clonePosition())):{val:i,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var a=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(a=-1);for(var r=!1,l=0;!this.isEOF();){var i=this.char();if(i>=48&&i<=57)r=!0,l=10*l+(i-48),this.bump();else break}var o=Z(n,this.clonePosition());return r?K(l*=a)?{val:l,err:null}:this.error(t,o):this.error(e,o)},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=ee(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(W(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),a=this.message.indexOf(e,t);return a>=0?(this.bumpTo(a),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&eo(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),a=this.message.charCodeAt(t+(e>=65536?2:1));return null!=a?a:null},e}();function ei(e){return e>=97&&e<=122||e>=65&&e<=90}function eo(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function es(e,t){void 0===t&&(t={});var a=new el(e,t=b({shouldParseSkeletons:!0,requiresOtherClause:!0},t)).parse();if(a.err){var n=SyntaxError(s[a.err.kind]);throw n.location=a.err.location,n.originalMessage=a.err.message,n}return(null==t?void 0:t.captureLocation)||function e(t){t.forEach(function(t){if(delete t.location,N(t)||w(t))for(var a in t.options)delete t.options[a].location,e(t.options[a].value);else y(t)&&T(t.style)?delete t.style.location:(E(t)||x(t))&&C(t.style)?delete t.style.location:j(t)&&e(t.children)})}(a.val),a.val}var ec=a(1360);(i=f||(f={})).MISSING_VALUE="MISSING_VALUE",i.INVALID_VALUE="INVALID_VALUE",i.MISSING_INTL_API="MISSING_INTL_API";var eu=function(e){function t(t,a,n){var r=e.call(this,t)||this;return r.code=a,r.originalMessage=n,r}return g(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),ed=function(e){function t(t,a,n,r){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(a,'". Options are "').concat(Object.keys(n).join('", "'),'"'),f.INVALID_VALUE,r)||this}return g(t,e),t}(eu),eh=function(e){function t(t,a,n){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(a),f.INVALID_VALUE,n)||this}return g(t,e),t}(eu),ef=function(e){function t(t,a){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(a,'"'),f.MISSING_VALUE,a)||this}return g(t,e),t}(eu);function ep(e){return"function"==typeof e}function em(e,t,a,n,r,l,i){if(1===e.length&&_(e[0]))return[{type:p.literal,value:e[0].value}];for(var o=[],s=0;s<e.length;s++){var u=e[s];if(_(u)){o.push({type:p.literal,value:u.value});continue}if(u.type===c.pound){"number"==typeof l&&o.push({type:p.literal,value:a.getNumberFormat(t).format(l)});continue}var d=u.value;if(!(r&&d in r))throw new ef(d,i);var h=r[d];if(u.type===c.argument){h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),o.push({type:"string"==typeof h?p.literal:p.object,value:h});continue}if(E(u)){var m="string"==typeof u.style?n.date[u.style]:C(u.style)?u.style.parsedOptions:void 0;o.push({type:p.literal,value:a.getDateTimeFormat(t,m).format(h)});continue}if(x(u)){var m="string"==typeof u.style?n.time[u.style]:C(u.style)?u.style.parsedOptions:n.time.medium;o.push({type:p.literal,value:a.getDateTimeFormat(t,m).format(h)});continue}if(y(u)){var m="string"==typeof u.style?n.number[u.style]:T(u.style)?u.style.parsedOptions:void 0;m&&m.scale&&(h*=m.scale||1),o.push({type:p.literal,value:a.getNumberFormat(t,m).format(h)});continue}if(j(u)){var g=u.children,b=u.value,v=r[b];if(!ep(v))throw new eh(b,"function",i);var B=v(em(g,t,a,n,r,l).map(function(e){return e.value}));Array.isArray(B)||(B=[B]),o.push.apply(o,B.map(function(e){return{type:"string"==typeof e?p.literal:p.object,value:e}}))}if(N(u)){var k=u.options[h]||u.options.other;if(!k)throw new ed(u.value,h,Object.keys(u.options),i);o.push.apply(o,em(k.value,t,a,n,r));continue}if(w(u)){var k=u.options["=".concat(h)];if(!k){if(!Intl.PluralRules)throw new eu('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',f.MISSING_INTL_API,i);var H=a.getPluralRules(t,{type:u.pluralType}).select(h-(u.offset||0));k=u.options[H]||u.options.other}if(!k)throw new ed(u.value,h,Object.keys(u.options),i);o.push.apply(o,em(k.value,t,a,n,r,h-(u.offset||0)));continue}}return o.length<2?o:o.reduce(function(e,t){var a=e[e.length-1];return a&&a.type===p.literal&&t.type===p.literal?a.value+=t.value:e.push(t),e},[])}function eg(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,a){e[t]=a}}}}}(o=p||(p={}))[o.literal=0]="literal",o[o.object=1]="object";var eb=function(){function e(t,a,n,r){var l,i,o=this;if(void 0===a&&(a=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=o.formatToParts(e);if(1===t.length)return t[0].value;var a=t.reduce(function(e,t){return e.length&&t.type===p.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return a.length<=1?a[0]||"":a},this.formatToParts=function(e){return em(o.ast,o.locales,o.formatters,o.formats,e,void 0,o.message)},this.resolvedOptions=function(){var e;return{locale:(null===(e=o.resolvedLocale)||void 0===e?void 0:e.toString())||Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},this.locales=a,this.resolvedLocale=e.resolveLocale(a),"string"==typeof t){if(this.message=t,!e.__parse)throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var s=r||{},c=(s.formatters,function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(a[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);r<n.length;r++)0>t.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(a[n[r]]=e[n[r]]);return a}(s,["formatters"]));this.ast=e.__parse(t,b(b({},c),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw TypeError("A message must be provided as a String or AST.");this.formats=(l=e.formats,n?Object.keys(l).reduce(function(e,t){var a,r;return e[t]=(a=l[t],(r=n[t])?b(b(b({},a||{}),r||{}),Object.keys(a).reduce(function(e,t){return e[t]=b(b({},a[t]),r[t]||{}),e},{})):a),e},b({},l)):l),this.formatters=r&&r.formatters||(void 0===(i=this.formatterCache)&&(i={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:(0,ec.memoize)(function(){for(var e,t=[],a=0;a<arguments.length;a++)t[a]=arguments[a];return new((e=Intl.NumberFormat).bind.apply(e,v([void 0],t,!1)))},{cache:eg(i.number),strategy:ec.strategies.variadic}),getDateTimeFormat:(0,ec.memoize)(function(){for(var e,t=[],a=0;a<arguments.length;a++)t[a]=arguments[a];return new((e=Intl.DateTimeFormat).bind.apply(e,v([void 0],t,!1)))},{cache:eg(i.dateTime),strategy:ec.strategies.variadic}),getPluralRules:(0,ec.memoize)(function(){for(var e,t=[],a=0;a<arguments.length;a++)t[a]=arguments[a];return new((e=Intl.PluralRules).bind.apply(e,v([void 0],t,!1)))},{cache:eg(i.pluralRules),strategy:ec.strategies.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){if(void 0!==Intl.Locale){var t=Intl.NumberFormat.supportedLocalesOf(e);return new Intl.Locale(t.length>0?t[0]:"string"==typeof e?e:e[0])}},e.__parse=es,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}(),ev=eb},23442:function(e,t,a){"use strict";let n=a(2265).createContext(void 0);t.IntlContext=n},69362:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a(2265),r=a(47781),l=a(23442);a(1360),a(63981);var i=n&&n.__esModule?n:{default:n};t.IntlProvider=function(e){let{children:t,defaultTranslationValues:a,formats:o,getMessageFallback:s,locale:c,messages:u,now:d,onError:h,timeZone:f}=e,p=n.useMemo(()=>r.createFormatters(),[c]),m=n.useMemo(()=>({...r.initializeConfig({locale:c,defaultTranslationValues:a,formats:o,getMessageFallback:s,messages:u,now:d,onError:h,timeZone:f}),formatters:p}),[a,o,p,s,c,u,d,h,f]);return i.default.createElement(l.IntlContext.Provider,{value:m},t)}},47781:function(e,t,a){"use strict";var n,r=a(1360),l=(n=a(63981))&&n.__esModule?n:{default:n};function i(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];return t.filter(Boolean).join(".")}function o(e){return i(e.namespace,e.key)}function s(e){console.error(e)}function c(e,t){return r.memoize(e,{cache:{create:()=>({get:e=>t[e],set(e,a){t[e]=a}})},strategy:r.strategies.variadic})}function u(e,t){return c(function(){for(var t=arguments.length,a=Array(t),n=0;n<t;n++)a[n]=arguments[n];return new e(...a)},t)}t.createFormatters=function(){let e=u(Intl.DateTimeFormat,{}),t=u(Intl.NumberFormat,{}),a=u(Intl.PluralRules,{}),n=u(Intl.RelativeTimeFormat,{}),r=u(Intl.ListFormat,{}),i=u(Intl.DisplayNames,{}),o=c(function(){return new l.default(arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],{formatters:{getNumberFormat:t,getDateTimeFormat:e,getPluralRules:a},...arguments.length<=3?void 0:arguments[3]})},{});return{getDateTimeFormat:e,getNumberFormat:t,getPluralRules:a,getMessageFormat:o,getRelativeTimeFormat:n,getListFormat:r,getDisplayNames:i}},t.defaultGetMessageFallback=o,t.defaultOnError=s,t.initializeConfig=function(e){let{getMessageFallback:t,messages:a,onError:n,...r}=e;return{...r,messages:a,onError:n||s,getMessageFallback:t||o}},t.joinPath=i},11218:function(){},45657:function(){},40529:function(){},48151:function(){},16067:function(){},95646:function(){},25412:function(){},19722:function(){},44052:function(){},54166:function(){},95870:function(){},11868:function(){},1870:function(){},28648:function(){},23157:function(){},89976:function(){},6319:function(){},34812:function(){},72216:function(){},66085:function(){},33435:function(){},85385:function(){},96504:function(){},41941:function(){},79481:function(){},31610:function(){},34212:function(){},2256:function(){},60035:function(){},1417:function(){},94512:function(){},23978:function(){},45417:function(){},61767:function(e,t,a){"use strict";a.d(t,{C:function(){return p}});var n=a(57437),r=a(2265),l=a(61994),i=a(46201),o=a(99218);a(52586);var s=a(44414),c=a(9497),u=a(14988),d=a(40997);a(48151);let h=(0,d.g)("checkbox"),f=Object.freeze({checkbox:h,input:"".concat(h,"__input"),marker:"".concat(h,"__marker"),wrapper:"".concat(h,"__wrapper"),label:"".concat(h,"__label"),caption:"".concat(h,"__caption"),icon:"".concat(h,"__icon"),iconButton:"".concat(h,"__icon-button"),states:{error:"".concat(h,"--error"),disabled:"".concat(h,"--disabled"),inverted:"".concat(h,"--inverted")},sizes:{xs:"".concat(h,"--xs"),s:"".concat(h,"--s"),m:"".concat(h,"--m")},variants:{primary:"".concat(h,"--primary"),secondary:"".concat(h,"--secondary")}}),p=(0,r.forwardRef)((e,t)=>{let{value:a=!1,variant:d="primary",state:h="default",label:p,disabled:m=!1,caption:g,className:b,icon:v,withIcon:_=!1,size:y="m",style:E,inverted:x=!1,children:N,inputRef:w,dataQa:j,dataId:T,onChange:C,onIconClick:B,...k}=e,[H,S]=(0,s.u)(!1,a),R=(0,r.useId)(),A=N||p;return(0,n.jsxs)("label",{ref:t,htmlFor:R,"data-marker-label":"",className:(0,l.Z)(b,f.checkbox,{[f.states.inverted]:x,[f.states.disabled]:m,[f.states.error]:"error"===h,[f.sizes[y]]:!0,[f.variants[d]]:!0}),style:E,"data-id":T,"data-qa":j,children:[(0,n.jsx)("input",{id:R,ref:w,value:String(H),className:f.input,type:"checkbox","aria-invalid":"error"===h,disabled:m,onChange:e=>{let t="string"==typeof H?!!H:!H;S(t),null==C||C(t,e)},...k}),(0,n.jsx)("span",{className:f.marker,children:(0,n.jsx)(c.C,{type:"checkbox",checked:H,inverted:x,state:h,disabled:m})}),A&&(0,n.jsxs)("span",{className:f.wrapper,children:[(0,n.jsx)("span",{className:(0,l.Z)(f.label),children:A}),g&&(0,n.jsx)(o.C,{className:f.caption,withoutIcon:!0,children:g})]}),_&&(0,n.jsx)("button",{type:"button",className:(0,l.Z)(f.iconButton),onClick:m?void 0:B,children:(0,n.jsx)(u.P,{className:(0,l.Z)(f.icon),children:v?(0,n.jsx)(n.Fragment,{children:v}):(0,n.jsx)(i.S,{})})})]})});p.displayName="Checkbox"},23341:function(e,t,a){"use strict";a(57437),a(61994);var n=a(40997);a(16067);let r=(0,n.g)("col");Object.freeze({col:r,state:{size:(e,t)=>!0===t?`${r}--${e}`:`${r}--${e}-${t}`,offsetLeft:(e,t)=>`${r}--${e}-offset-left-${t}`,offsetRight:(e,t)=>`${r}--${e}-offset-right-${t}`}})},9497:function(e,t,a){"use strict";a.d(t,{C:function(){return f}});var n=a(57437),r=a(61994),l=a(2265),i=a(14988),o=a(40997);function s(e){return l.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M19.836 6.466a1.5 1.5 0 0 1-.051 2.12l-9.45 9a1.5 1.5 0 0 1-2.07 0l-4.05-3.857a1.5 1.5 0 1 1 2.07-2.172L9.3 14.429l8.415-8.015a1.5 1.5 0 0 1 2.121.052Z"}))}function c(e){return l.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("rect",{width:18,height:3,x:3,y:10.5,fill:"currentColor",rx:1.5}))}a(95646);let u=["checkbox"],d=(0,o.g)("common-marker"),h={marker:d,icon:`${d}__icon`,states:{checkbox:`${d}--checkbox`,radio:`${d}--radio`,toggle:`${d}--toggle`,error:`${d}--error`,checked:`${d}--checked`,disabled:`${d}--disabled`,inverted:`${d}--inverted`,indeterminate:`${d}--indeterminate`}},f=({as:e,state:t="default",type:a="checkbox",className:l,checked:o,inverted:d,disabled:f,...p})=>(0,n.jsx)(e||"span",{...p,className:(0,r.Z)(l,h.marker,{[h.states.checkbox]:"checkbox"===a,[h.states.radio]:"radio"===a,[h.states.toggle]:"toggle"===a,[h.states.checked]:!!o,[h.states.indeterminate]:"indeterminate"===o,[h.states.error]:"error"===t,[h.states.inverted]:d,[h.states.disabled]:f}),children:u.includes(a)&&(0,n.jsx)(i.P,{className:(0,r.Z)(h.icon,{[h.states.checked]:o,[h.states.inverted]:d,[h.states.error]:"error"===t,[h.states.disabled]:f}),children:"indeterminate"===o?(0,n.jsx)(c,{}):(0,n.jsx)(s,{})})});f.displayName="CommonMarker"},22195:function(e,t,a){"use strict";a.d(t,{D:function(){return s}});var n=a(57437),r=a(61994),l=a(40997);a(25412);let i=(0,l.g)("divider"),o=Object.freeze({divider:i,content:`${i}__content`}),s=({content:e,className:t,style:a,dataQa:l,dataId:i,...s})=>(0,n.jsx)("div",{className:(0,r.Z)(o.divider,t),style:a,...s,"data-id":i,"data-qa":l,children:e&&(0,n.jsx)("div",{className:o.content,children:e})});s.displayName="Divider"},45544:function(e,t,a){"use strict";a.d(t,{D:function(){return tO},M:function(){return tF},a:function(){return tG},h:function(){return tK},l:function(){return tL}});var n=a(57437),r=a(2265),l=a(41830),i=a(36603),o=a(44969),s=a(52586);a(79619);var c=a(61994),u=a(99218);function d(e){return r.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M7.22 7.22a.743.743 0 0 1 1.06 0L12 10.94l3.72-3.72a.743.743 0 0 1 1.06 0 .742.742 0 0 1 0 1.06L13.061 12l3.72 3.72a.743.743 0 0 1 0 1.06.743.743 0 0 1-1.061 0L12 13.06l-3.72 3.72a.743.743 0 0 1-1.06 0 .743.743 0 0 1 0-1.06L10.94 12 7.22 8.28a.743.743 0 0 1 0-1.06Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}a(57102),a(23341),a(71656),a(22195);var h=a(47300),f=a(80410);a(69127),a(18765),a(31500),a(58613);var p=a(29374),m=a(19945),g=a(17265),b=a(469),v=a(14988),_=a(40997);function y(e){return r.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("defs",null,r.createElement("clipPath",{id:"a"},r.createElement("path",{fill:"#fff",fillOpacity:0,d:"M0 0h24v24H0z"}))),r.createElement("g",{clipPath:"url(#a)"},r.createElement("path",{d:"M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Zm1.5 0a8.5 8.5 0 1 1 17 0 8.5 8.5 0 0 1-17 0Zm12.28-2.72L13.06 12l2.72 2.72a.743.743 0 0 1 0 1.06.742.742 0 0 1-1.06 0L12 13.06l-2.72 2.72a.743.743 0 0 1-1.06 0 .743.743 0 0 1 0-1.06L10.94 12 8.22 9.28a.743.743 0 0 1 0-1.06.743.743 0 0 1 1.06 0L12 10.94l2.72-2.72a.743.743 0 0 1 1.06 0 .743.743 0 0 1 0 1.06Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"})))}function E(e){return r.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10a9.971 9.971 0 0 0 7.071-2.929A9.97 9.97 0 0 0 22 12c0-5.523-4.477-10-10-10ZM3.5 12a8.5 8.5 0 1 1 17 0 8.5 8.5 0 0 1-17 0ZM12 7.5a1 1 0 1 0 .002 2 1 1 0 0 0-.003-2Zm-1.5 4.25a.75.75 0 0 1 .75-.75h1a.75.75 0 0 1 .75.75v4.5a.75.75 0 1 1-1.5 0V12.5h-.25a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}a(11218);let x=(0,_.g)("alert"),N=Object.freeze({alert:x,closeIcon:"".concat(x,"__close-icon"),icon:"".concat(x,"__icon"),label:"".concat(x,"__label"),content:"".concat(x,"__content"),textBlock:"".concat(x,"__text-block"),caption:"".concat(x,"__caption"),link:"".concat(x,"__link"),button:"".concat(x,"__button"),state:{default:"".concat(x,"--default"),success:"".concat(x,"--success"),warning:"".concat(x,"--warning"),error:"".concat(x,"--error"),info:"".concat(x,"--info")},size:{s:"".concat(x,"--s"),m:"".concat(x,"--m")},variant:{primary:"".concat(x,"--primary"),secondary:"".concat(x,"--secondary"),green:"".concat(x,"--green"),verdant:"".concat(x,"--verdant"),avocado:"".concat(x,"--avocado"),yellow:"".concat(x,"--yellow"),orange:"".concat(x,"--orange"),blue:"".concat(x,"--blue"),purple:"".concat(x,"--purple")},fill:"".concat(x,"--fill")}),w=(0,r.forwardRef)((e,t)=>{let{label:a,state:r="default",variant:l="primary",size:i="m",outline:o=!0,caption:s,linkText:h,linkHref:f,onLinkClick:p,withLinkIcon:_=!1,icon:x,withIcon:w=!1,withClose:j=!1,buttonText:T,buttonVariant:C="primary",className:B,style:k,onClose:H,onButtonClick:S,dataQa:R,dataId:A,...L}=e,I={default:(0,n.jsx)(E,{}),success:(0,n.jsx)(u.a,{}),warning:(0,n.jsx)(u.S,{}),error:(0,n.jsx)(y,{}),info:(0,n.jsx)(E,{})};return(0,n.jsxs)("div",{ref:t,className:(0,c.Z)(N.alert,N.variant[l],N.size[i],{[N.state[r]]:o},B),style:k,...L,"data-id":A,"data-qa":R,children:[(0,n.jsxs)("div",{className:N.content,children:[w&&(0,n.jsx)(v.P,{className:(0,c.Z)(N.icon,{[N.state[r]]:!x}),children:x||I[r]}),(0,n.jsxs)("div",{className:N.textBlock,children:[a&&(0,n.jsx)("span",{"data-qa":(0,m.g)("".concat(R,"-label"),!!R),className:N.label,children:a}),s&&(0,n.jsx)(u.C,{dataQa:(0,m.g)("".concat(R,"-caption"),!!R),text:s,lineClamp:3,size:i,className:N.caption}),h&&(0,n.jsx)(b.L,{dataQa:(0,m.g)("".concat(R,"-link"),!!R),href:f,className:N.link,onClick:p,withIcon:_,children:h})]}),j&&(0,n.jsx)("button",{"data-qa":(0,m.g)("".concat(R,"-close"),!!R),type:"button",className:N.closeIcon,onClick:H,children:(0,n.jsx)(v.P,{children:(0,n.jsx)(d,{})})})]}),T&&(0,n.jsx)(g.B,{dataQa:(0,m.g)("".concat(R,"-button"),!!R),label:T,variant:C,size:"xs",className:N.button,onClick:S})]})});w.displayName="Alert";var j=a(10635),T=a(3946);a(45657);let C=(0,_.g)("breadcrumbs"),B={breadcrumbs:C,breadcrumbsEllipsis:"".concat(C,"--ellipsis"),displayOne:"".concat(C,"--display-one"),list:"".concat(C,"__list"),mobileList:"".concat(C,"__list--mobile"),desktopList:"".concat(C,"__list--desktop"),item:"".concat(C,"__item"),customItem:"".concat(C,"__item--custom"),link:"".concat(C,"__link"),linkLabel:"".concat(C,"__link-label"),text:"".concat(C,"__text"),separator:"".concat(C,"__separator"),backIcon:"".concat(C,"__back-icon"),iconMobile:"".concat(C,"__icon--mobile"),iconDesktop:"".concat(C,"__icon--desktop")},k=function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],a=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;return a||n?{label:a||"Назад",href:"object"!=typeof n?n||"#":void 0,customLink:"object"==typeof n?n:void 0}:t.length&&t.length>1?(null==(e=t[t.length-1])?void 0:e.href)?t[t.length-1]:t[t.length-2]:{label:t[0].label||"Назад",href:t[0].href||"#",customLink:t[0].customLink}};function H(e){return r.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M8.22 12.53a.75.75 0 0 1 0-1.06l4.5-4.5a.75.75 0 1 1 1.06 1.06L9.81 12l3.97 3.97a.75.75 0 1 1-1.06 1.06l-4.5-4.5Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}function S(e){return r.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"m11.28 17.03 4.5-4.5a.75.75 0 0 0 0-1.06l-4.5-4.5a.75.75 0 1 0-1.06 1.06L14.19 12l-3.97 3.97a.75.75 0 1 0 1.06 1.06Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}let R=e=>{let{item:t,isBackward:a=!1,isLast:r,dataQa:l,onClick:i}=e;return(0,n.jsx)(n.Fragment,{children:t.href||t.customLink?(0,n.jsxs)(n.Fragment,{children:[t.customLink?(0,n.jsx)(n.Fragment,{children:t.customLink}):(0,n.jsxs)("a",{href:t.href,"data-qa":l,className:B.link,title:t.label,onClick:i?e=>i(e,t.href):void 0,children:[a&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(v.P,{className:(0,c.Z)(B.backIcon,B.iconDesktop),children:(0,n.jsx)(j.S,{})}),(0,n.jsx)(v.P,{className:(0,c.Z)(B.backIcon,B.iconMobile),children:(0,n.jsx)(H,{})})]}),(0,n.jsx)("span",{className:B.linkLabel,children:t.label})]}),!a&&!r&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(v.P,{className:(0,c.Z)(B.separator,B.iconDesktop),children:(0,n.jsx)(T.S,{})}),(0,n.jsx)(v.P,{className:(0,c.Z)(B.separator,B.iconMobile),children:(0,n.jsx)(S,{})})]})]}):(0,n.jsx)("span",{"aria-current":"page","data-qa":l,className:B.text,title:t.label,children:t.label})})};R.displayName="BreadcrumbsLink";let A=e=>{let{items:t=[],dataQa:a,backwardHref:l,backwardLabel:i,onClick:o}=e,s=(0,r.useRef)(null),u=(0,r.useCallback)(e=>{var t;let a=s.current;if(!a)return;let n=(null==e?void 0:e.target).closest("a");if(!n)return;let r=a.getBoundingClientRect(),l=n.getBoundingClientRect();a.scrollTo({left:l.left-r.left-8+(null!==(t=a.scrollLeft)&&void 0!==t?t:0),behavior:"smooth"})},[]),d=k(t,i,l),h=(e,t)=>{u(e),null==o||o(e,t)};return(0,n.jsx)("ul",{ref:s,className:(0,c.Z)(B.list,B.desktopList),"data-qa":(0,m.g)("".concat(a,"-desktop-list"),!!a),children:1===t.length||l||i?(0,n.jsx)("li",{className:(0,c.Z)(B.item),children:(0,n.jsx)(R,{isBackward:!0,dataQa:(0,m.g)("".concat(a,"-link"),!!a),item:d,onClick:h})}):(0,n.jsx)(n.Fragment,{children:t.map((e,r)=>(0,n.jsx)("li",{className:(0,c.Z)(B.item,{[B.customItem]:e.customLink}),children:(0,n.jsx)(R,{item:e,dataQa:(0,m.g)("".concat(a,"-link-").concat(++r),!!a),isLast:r===t.length,onClick:h})},"".concat(e.label,"--").concat(r)))})})};A.displayName="DesktopBreadcrumbs";let L=e=>{let{items:t=[],backwardLabel:a,backwardHref:r,dataQa:l,onClick:i}=e,o=k(t,a,r);return(0,n.jsx)("ul",{className:(0,c.Z)(B.list,B.mobileList),"data-qa":(0,m.g)("".concat(l,"-mobile-list"),!!l),children:(0,n.jsx)("li",{className:(0,c.Z)(B.item),children:(0,n.jsx)(R,{isBackward:!0,dataQa:(0,m.g)("".concat(l,"-link"),!!l),item:o,onClick:i})})})};L.displayName="MobileBreadcrumbs",(0,r.forwardRef)((e,t)=>{let{items:a=[],isMobile:r,onClick:l,backwardLabel:i,backwardHref:o,style:s,className:u,ellipsis:d=!1,isFullView:h=!1,dataQa:f,dataId:p,...m}=e,g=a.length||i||o;return(0,n.jsx)(n.Fragment,{children:g&&(0,n.jsxs)("nav",{ref:t,"aria-label":"breadcrumbs",className:(0,c.Z)(B.breadcrumbs,{[B.displayOne]:void 0===r&&!h,[B.breadcrumbsEllipsis]:d},u),style:s,...m,"data-id":p,"data-qa":f,children:[!0!==r&&(0,n.jsx)(A,{items:a,dataQa:f,backwardLabel:i,backwardHref:o,onClick:l||void 0}),!1!==r&&!h&&(0,n.jsx)(L,{items:a,dataQa:f,backwardLabel:i,backwardHref:o,onClick:l||void 0})]})})}).displayName="Breadcrumbs";var I=a(93608);a(40529);let M=(0,_.g)("calendar"),D=Object.freeze({calendar:M,header:"".concat(M,"__header"),headerText:"".concat(M,"__header-text"),headerButton:"".concat(M,"__header-button"),headerButtonPrev:"".concat(M,"__header-button--prev"),headerButtonNext:"".concat(M,"__header-button--next"),headerButtonDisabled:"".concat(M,"__header-button--disabled"),weekDays:"".concat(M,"__week-days"),weekDay:"".concat(M,"__week-day"),weekDayOff:"".concat(M,"__week-day--off"),content:"".concat(M,"__content"),days:"".concat(M,"__days"),day:"".concat(M,"__day"),currentDay:"".concat(M,"__day--current"),otherDay:"".concat(M,"__day--other"),selectedDay:"".concat(M,"__day--selected"),previewDay:"".concat(M,"__day--preview"),rangeDay:"".concat(M,"__day--range"),startRangeDay:"".concat(M,"__day--start-range"),endRangeDay:"".concat(M,"__day--end-range"),disabledDay:"".concat(M,"__day--disabled"),emptyDay:"".concat(M,"__day--empty"),events:"".concat(M,"__day-events"),event:"".concat(M,"__day-event"),months:"".concat(M,"__months"),month:"".concat(M,"__month"),disabledMonth:"".concat(M,"__month--disabled"),currentMonth:"".concat(M,"__month--current"),selectedMonth:"".concat(M,"__month--selected"),years:"".concat(M,"__years"),year:"".concat(M,"__year"),disabledYear:"".concat(M,"__year--disabled"),currentYear:"".concat(M,"__year--current"),selectedYear:"".concat(M,"__year--selected")}),P=Object.freeze({days:"days",months:"months",years:"years"}),F=["пн","вт","ср","чт","пт","сб","вс"],O=["янв","фев","мар","апр","май","июн","июл","авг","сен","окт","ноя","дек"],Z=e=>{if(e instanceof Date&&!isNaN(e.getTime()))return new Date(e.getFullYear(),e.getMonth(),1);if(Array.isArray(e)&&e.length>0){let t=new Date(e[0]);if(!isNaN(t.getTime()))return new Date(t.getFullYear(),t.getMonth(),1)}return new Date},U=e=>new Date(e.getFullYear(),e.getMonth(),e.getDate()),G=e=>{let t=String(e.getDate()).padStart(2,"0"),a=String(e.getMonth()+1).padStart(2,"0"),n=e.getFullYear();return"".concat(t,".").concat(a,".").concat(n)},z=e=>{let t=e.getFullYear(),a=String(e.getMonth()+1).padStart(2,"0"),n=String(e.getDate()).padStart(2,"0");return"".concat(t,"-").concat(a,"-").concat(n)},Y=(e,t)=>{if(0===e.length)return"";if(t){if(1===e.length)return G(e[0]);let t=[...e].sort((e,t)=>e.getTime()-t.getTime());return"".concat(G(t[0])," - ").concat(G(t[1]))}return e.length>0?G(e[0]):""},V=(e,t,a)=>{if(t.length<2)return!1;let n=a(e),r=a(t[0]),l=a(t[1]);return n>=r&&n<=l},q=(e,t,a,n)=>{if(1!==t.length||!a)return!1;let r=n(e),l=n(t[0]),i=n(a);return r>=(l<i?l:i)&&r<=(l<i?i:l)},K=e=>{let{events:t=[]}=e,a=t.slice(0,6);return(0,n.jsx)("span",{className:D.events,children:a.map(e=>(0,n.jsx)("span",{className:(0,c.Z)(D.event,"".concat(D.event,"--").concat(e))},"calendar--".concat(e)))})},$=()=>(0,n.jsx)("div",{className:D.weekDays,children:F.map((e,t)=>(0,n.jsx)(p.T,{className:(0,c.Z)(D.weekDay,{[D.weekDayOff]:5===t||6===t}),size:"14",children:e},"week-day--".concat(e)))}),X=e=>{let{currentDate:t,today:a,selectedDates:r,hoveredDate:l,minAllowedDate:i,maxAllowedDate:o,multiple:s,showCurrentDay:u,showOutsideDays:d,events:h,onDateSelect:f,onDateHover:p}=e,m=t.getFullYear(),g=t.getMonth(),b=new Date(m,g,1),v=new Date(m,g+1,0),_=b.getDay();_=0===_?6:--_;let y=v.getDate(),E=[];if(d){let e=new Date(m,g,0).getDate();for(let t=0;t<_;t++)E.push(new Date(m,g-1,e-t));E.reverse()}else for(let e=0;e<_;e++)E.push(null);let x=Array.from({length:y},(e,t)=>new Date(m,g,t+1));E.push(...x);let N=42-E.length;if(d)for(let e=1;e<=N;e++)E.push(new Date(m,g+1,e));else for(let e=0;e<N;e++)E.push(null);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)($,{}),(0,n.jsx)("div",{className:(0,c.Z)(D.days,[]),children:E.map(e=>{if(!e)return(0,n.jsx)("div",{className:D.emptyDay},"calendar-empty-".concat((0,I.g)()));let t=U(e),b=U(i),v=U(o),_=d&&(e.getMonth()!==g||e.getFullYear()!==m),y=t<b||t>v,E=r.some(e=>U(e).getTime()===t.getTime()),x=s&&V(e,r,U),N=s&&q(e,r,l,U),w=u&&t.getTime()===U(a).getTime(),j=s&&r.length>=1&&U(r[0]).getTime()===t.getTime(),T=s&&2===r.length&&U(r[1]).getTime()===t.getTime(),C=z(e);return(0,n.jsxs)("button",{type:"button",disabled:y,className:(0,c.Z)(D.day,{[D.otherDay]:_,[D.selectedDay]:E,[D.currentDay]:w,[D.rangeDay]:x,[D.previewDay]:N,[D.startRangeDay]:j,[D.endRangeDay]:T,[D.disabledDay]:y}),onClick:()=>!y&&f(e),onMouseEnter:()=>!y&&p(e),onMouseLeave:()=>p(null),children:[e.getDate(),h[C]&&(0,n.jsx)(K,{events:h[C]})]},"calendar--day--".concat(e.getTime()))})})]})},W=e=>{let{view:t,currentDate:a,canNavigatePrev:r,canNavigateNext:l,onNavigate:i,onViewChange:o}=e;return(0,n.jsxs)("div",{className:D.header,children:[(0,n.jsx)("button",{className:(0,c.Z)(D.headerButton,D.headerButtonPrev,{[D.headerButtonDisabled]:!r}),type:"button",disabled:!r,onClick:()=>i("prev"),children:(0,n.jsx)(v.P,{style:{fontSize:24},children:(0,n.jsx)(j.S,{})})}),(0,n.jsx)("button",{type:"button",className:(0,c.Z)(D.headerButton,D.headerText),onClick:o,children:(()=>{switch(t){case P.days:return a.toLocaleDateString("ru-RU",{month:"long",year:"numeric"});case P.months:return a.getFullYear().toString();case P.years:return"".concat(a.getFullYear()-14," - ").concat(a.getFullYear()+5);default:return""}})()}),(0,n.jsx)("button",{className:(0,c.Z)(D.headerButton,D.headerButtonNext,{[D.headerButtonDisabled]:!l}),type:"button",disabled:!l,onClick:()=>i("next"),children:(0,n.jsx)(v.P,{style:{fontSize:24},children:(0,n.jsx)(T.S,{})})})]})},Q=e=>{let{today:t,currentDate:a,selectedDates:r,minAllowedDate:l,maxAllowedDate:i,showCurrentMonth:o,onMonthSelect:s}=e,u=Array.from({length:12},(e,t)=>new Date(a.getFullYear(),t,1)),d=l.getFullYear(),h=i.getFullYear();return(0,n.jsx)("div",{className:D.months,children:u.map((e,a)=>{let u=U(l),f=U(i),p=new Date(e.getFullYear(),e.getMonth(),1),m=new Date(e.getFullYear(),e.getMonth()+1,0)<u||p>f||e.getFullYear()<d||e.getFullYear()>h,g=o&&e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear(),b=r.some(t=>t.getMonth()===e.getMonth()&&t.getFullYear()===e.getFullYear());return(0,n.jsx)("button",{type:"button",disabled:m,className:(0,c.Z)(D.month,{[D.currentMonth]:g,[D.selectedMonth]:b,[D.disabledMonth]:m}),onClick:()=>{m||s(e)},children:O[a]},"calendar--month--".concat(e.getTime()))})})},J=e=>{let{currentDate:t,today:a,selectedDates:r,minAllowedDate:l,maxAllowedDate:i,showCurrentYear:o,onYearSelect:s}=e,u=t.getFullYear()-14,d=Array.from({length:20},(e,t)=>u+t),h=l.getFullYear(),f=i.getFullYear(),p=r.map(e=>e.getFullYear());return(0,n.jsx)("div",{className:D.years,children:d.map(e=>{let t=new Date(e,0,1),r=new Date(e,11,31),u=U(l),d=U(i),m=r<u||t>d||e<h||e>f,g=o&&e===a.getFullYear(),b=p.includes(e);return(0,n.jsx)("button",{type:"button",disabled:m,className:(0,c.Z)(D.year,{[D.currentYear]:g,[D.selectedYear]:b,[D.disabledYear]:m}),onClick:()=>{m||s(e)},children:e},"calendar--".concat(e))})})};(0,r.forwardRef)((e,t)=>{let{value:a=null,minAllowedDate:l,maxAllowedDate:i,multiple:o=!1,showCurrentDay:s=!0,showCurrentMonth:u=!0,showCurrentYear:d=!0,showOutsideDays:h=!1,events:f={},className:p,style:m,dataId:g,dataQa:b,onChange:v,..._}=e,[y]=(0,r.useState)(()=>{let e=new Date;return new Date(e.getFullYear(),e.getMonth(),e.getDate())}),[E,x]=(0,r.useState)("days"),[N,w]=(0,r.useState)(()=>Z(a)),[j,T]=(0,r.useState)([]),[C,B]=(0,r.useState)(null),k=(0,r.useMemo)(()=>U(l instanceof Date&&!isNaN(l.getTime())?l:new Date(1900,0,1)),[l]),H=(0,r.useMemo)(()=>U(i instanceof Date&&!isNaN(i.getTime())?i:new Date(new Date().setFullYear(new Date().getFullYear()+100))),[i]),S=(0,r.useRef)(!1);(0,r.useEffect)(()=>{if(null===a){T([]);return}if(void 0===a)return;T(Array.isArray(a)?a.map(e=>new Date(e)):[new Date(a)]);let e=null;Array.isArray(a)?a.length>0&&(e=new Date(a[0])):e=new Date(a),e&&!isNaN(e.getTime())&&w(new Date(e.getFullYear(),e.getMonth(),1))},[a]);let R=(0,r.useCallback)(e=>{let t=U(e);if(t<k||t>H)return;let a=[];if(o){if(0===j.length)a=[t];else if(1===j.length){let e=j[0];a=e.getTime()===t.getTime()?[]:[e,t].sort((e,t)=>e.getTime()-t.getTime())}else a=[t];B(null)}else a=j.some(e=>U(e).getTime()===t.getTime())?[]:[t];T(a);let n=null,r="";o?(n=a.length>0?[...a]:null,r=Y(a,o)):(n=a.length>0?a[0]:null,r=a.length>0?G(a[0]):""),S.current&&(null==v||v(n,r))},[o,k,H,j,v]),A=(0,r.useCallback)(e=>{o&&1===j.length&&B(e)},[o,j.length]);(0,r.useEffect)(()=>(S.current=!0,()=>{S.current=!1}),[]);let L=(0,r.useCallback)(e=>{let t=N.getFullYear(),a=N.getMonth();if(E===P.days){let t=new Date(N);t.setDate(1),"prev"===e?t.setMonth(a-1):t.setMonth(a+1);let n=U(new Date(t.getFullYear(),t.getMonth(),1)),r=U(new Date(t.getFullYear(),t.getMonth()+1,0));return n<=H&&r>=k}if(E===P.months){let a=t+("prev"===e?-1:1);return a>=k.getFullYear()&&a<=H.getFullYear()}if(E===P.years){let a=t-t%10+("prev"===e?-10:10);return a<=H.getFullYear()&&a+9>=k.getFullYear()}return!1},[E,N,k,H]),I=(0,r.useCallback)(e=>{w(e),x(P.days)},[]),M=(0,r.useCallback)(e=>{w(new Date(e,0,1)),x(P.months)},[]),F=(0,r.useCallback)(()=>{E===P.days?x(P.months):E===P.months?x(P.years):x(P.days)},[E]);return(0,n.jsxs)("div",{ref:t,className:(0,c.Z)(p,D.calendar),style:m,..._,"data-qa":b,"data-id":g,children:[(0,n.jsx)(W,{view:E,currentDate:N,canNavigatePrev:L("prev"),canNavigateNext:L("next"),onNavigate:e=>{let t=new Date(N);switch(E){case P.days:t.setDate(1),t.setMonth(t.getMonth()+("prev"===e?-1:1));break;case P.months:t.setFullYear(t.getFullYear()+("prev"===e?-1:1));break;case P.years:t.setFullYear(t.getFullYear()+("prev"===e?-12:12))}w(t)},onViewChange:F}),(0,n.jsxs)("div",{className:D.content,children:[E===P.days&&(0,n.jsx)(X,{today:y,currentDate:N,selectedDates:j,hoveredDate:C,minAllowedDate:k,maxAllowedDate:H,multiple:o,showCurrentDay:s,showOutsideDays:h,events:f,onDateSelect:R,onDateHover:A}),E===P.months&&(0,n.jsx)(Q,{currentDate:N,today:y,selectedDates:j,minAllowedDate:k,maxAllowedDate:H,showCurrentMonth:u,onMonthSelect:I}),E===P.years&&(0,n.jsx)(J,{today:y,currentDate:N,selectedDates:j,minAllowedDate:k,maxAllowedDate:H,showCurrentYear:d,onYearSelect:M})]})]})}).displayName="Calendar",a(61767),a(83807),a(9497);var ee=a(14552),et=a(87215);function ea(e){return r.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M18.499 3.75a.75.75 0 0 1 1.5 0v4a.75.75 0 0 1-.75.75h-4.5a.75.75 0 0 1 0-1.5h2.84a7.5 7.5 0 1 0 1.907 4.773.75.75 0 0 1 1.5-.045 9 9 0 1 1-2.497-5.954V3.75Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}a(44052);let en=(0,_.g)("file-item"),er=Object.freeze({root:en,file:"".concat(en,"__file"),preview:"".concat(en,"__preview"),previewImage:"".concat(en,"__preview-image"),previewIcon:"".concat(en,"__preview-icon"),fileInfo:"".concat(en,"__file-info"),fileName:"".concat(en,"__file-name"),fileStatus:"".concat(en,"__file-status"),fileSize:"".concat(en,"__file-size"),progress:"".concat(en,"__progress"),controls:"".concat(en,"__controls"),close:"".concat(en,"__close"),repeat:"".concat(en,"__repeat"),error:"".concat(en,"__error"),states:{success:"".concat(en,"--success"),error:"".concat(en,"--error"),pending:"".concat(en,"--pending"),uploading:"".concat(en,"--uploading"),primary:"".concat(en,"--primary"),secondary:"".concat(en,"--secondary"),s:"".concat(en,"--s"),m:"".concat(en,"--m"),disabled:"".concat(en,"--disabled")}}),el=["B","KB","MB","GB"],ei=[{label:"svg",color:"#F79601",type:"image/svg+xml"},{label:"pdf",color:"#FF0508",type:"application/pdf"},{label:"jpg",color:"#525BBB",type:"image/jpeg"},{label:"zip",color:"#B0864B",type:"application/zip"},{label:"mp4",color:"#000000",type:"video/mp4"},{label:"xls",color:"#117C41",type:"application/vnd.ms-excel"},{label:"docx",color:"#165BBE",type:"application/vnd.openxmlformats-officedocument.wordprocessingml.document"}],eo="#189EF4",es=e=>{if(!e)return{label:"file",color:eo};let t=ei.find(t=>t.type===e);if(t)return{label:t.label,color:t.color};let a=et.extension(e);return a?{label:a,color:eo}:{label:"file",color:eo}},ec=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;if(0===e)return"0 ".concat("B");let a=Math.floor(Math.log(e)/Math.log(1024)),n=parseFloat((e/Math.pow(1024,a)).toFixed(t));return"".concat(n," ").concat(el[a])},eu=(0,r.forwardRef)((e,t)=>{let{file:a,state:r="success",name:l,type:i,fileSize:o,error:s,progress:u=0,size:h="m",variant:f="primary",previewImageUrl:p,className:m,style:g,fileId:b,dataQa:_,dataId:y,onClick:E,onDelete:x,onRepeat:N,...w}=e,j="s"===h,T=(0,ee.i)(u)&&"uploading"===r,C=s&&"error"===r,B=i&&/^image\//.test(i),k=es(i),H=(B&&p?(0,n.jsx)("img",{role:"presentation",className:er.previewImage,src:p,width:40,alt:l}):null)||(0,n.jsx)("div",{className:er.previewIcon,style:{backgroundColor:k.color},children:k.label}),S=T&&"primary"===f?"linear-gradient(90deg, var(--color-gray-400) ".concat(u,"%, var(--color-white) ").concat(u,"%"):"linear-gradient(90deg, var(--color-white) ".concat(u,"%, var(--color-gray-400) ").concat(u,"%"),R=(0,c.Z)(m,er.root,er.states[f],er.states[r],er.states[h]),A=T?{background:S,...g}:g;return(0,n.jsxs)("div",{ref:t,className:R,style:A,onClick:e=>{"success"===r&&(null==E||E(e,b,a))},...w,"data-id":y,"data-qa":_,children:[(0,n.jsxs)("div",{className:er.file,children:[!j&&(0,n.jsx)("div",{className:er.preview,children:H}),(0,n.jsxs)("div",{className:er.fileInfo,children:[(0,n.jsx)("div",{className:er.fileName,children:l}),!j&&o&&(0,n.jsxs)("div",{className:er.fileStatus,children:[(0,n.jsx)("div",{className:er.fileSize,children:"".concat(ec(o))}),T&&(0,n.jsx)("div",{className:er.progress,children:"Загружено ".concat(u,"%")})]})]}),(0,n.jsxs)("div",{className:er.controls,children:[j&&T&&(0,n.jsx)("div",{className:er.progress,children:"".concat(u,"%")}),C&&(0,n.jsx)(v.P,{className:er.repeat,tabIndex:0,role:"button","aria-label":"Повторить загрузку файла ".concat(l),onClick:e=>{e.preventDefault(),e.stopPropagation(),null==N||N(e,b,a)},children:(0,n.jsx)(ea,{})}),(0,n.jsx)(v.P,{className:er.close,tabIndex:0,role:"button","aria-label":"Удалить файл ".concat(l),onClick:e=>{e.preventDefault(),e.stopPropagation(),null==x||x(e,b,a)},children:(0,n.jsx)(d,{})})]})]}),C&&(0,n.jsx)("div",{className:er.error,children:s})]})});eu.displayName="File",a(54166);let ed=Object.freeze({root:(0,_.g)("file-list")}),eh=e=>{let t=new Set;for(let a of e){if(t.has(a))return!0;t.add(a)}return!1};(0,r.forwardRef)((e,t)=>{let{files:a,size:l="m",variant:i="primary",className:o,role:s="list",style:u,dataId:d,dataQa:h,onClick:f,onDelete:p,onRepeat:m,...g}=e;return((0,r.useEffect)(()=>{eh(a.map(e=>e.fileId))&&console.warn("Имеются файлы с одинаковым fileId")},[a]),0===a.length)?null:(0,n.jsx)("div",{ref:t,role:s,"aria-label":"Загруженные файлы",className:(0,c.Z)(o,ed.root),style:u,...g,"data-id":d,"data-qa":h,children:a.map(e=>{var t;return(0,r.createElement)(eu,{...e,role:"listitem","aria-labelledby":"Имя файла - ".concat(e.name,", Размер файла - ").concat(ec(null!==(t=e.fileSize)&&void 0!==t?t:0)),size:l,variant:i,onClick:f,onRepeat:m,onDelete:p,key:e.fileId})})})}).displayName="FileList";var ef=a(53095),ep=a(80987),em=a(98833),eg=a(54387);a(11868);let eb=e=>{let t=(0,r.useRef)(null);return(0,r.useEffect)(()=>{let a=a=>{var n;(null==(n=t.current)?void 0:n.contains(a.target))||e()};return window.addEventListener("click",a),()=>window.removeEventListener("click",a)},[]),t},ev=(e,t,a,n)=>{(0,r.useEffect)(()=>(e.addEventListener(t,a),()=>e.removeEventListener(t,a)),[...n,t,e,a])},e_=(0,_.g)("hint"),ey=Object.freeze({hint:e_,hintDialog:"".concat(e_,"__dialog"),activator:"".concat(e_,"__activator"),footer:"".concat(e_,"__footer"),text:"".concat(e_,"__text"),close:"".concat(e_,"__close"),icon:"".concat(e_,"__icon"),inverted:"".concat(e_,"--inverted")});(0,r.forwardRef)((e,t)=>{let{className:a,style:i,isVisible:o,position:s="top",heading:u,footer:h,children:p,text:g,withoutTail:b,inverted:_,dataQa:y,dataId:E,role:x="dialog",...N}=e,w=(0,r.useRef)(null),{refs:j,floatingStyles:T,context:C}=(0,l.YF)({placement:s,middleware:[(0,ef.cv)(12),(0,ef.RR)({fallbackAxisSideDirection:"start",crossAxis:!1}),(0,ef.uY)(),(0,ep.x7)({element:w,padding:8})]}),{value:B,show:k,hide:H,toggle:S}=(0,eg.u)(o),R=eb(H);if((0,r.useImperativeHandle)(t,()=>null==R?void 0:R.current),"undefined"!=typeof window){var A;let e;ev(window,"resize",(A=()=>C.update(),e=!1,function(){for(var t=arguments.length,a=Array(t),n=0;n<t;n++)a[n]=arguments[n];e||(A(...a),e=!0,setTimeout(()=>{e=!1},300))}),[]),ev(window,"keyup",e=>{"Escape"===e.key&&H()},[H])}return(0,n.jsxs)("div",{ref:R,className:(0,c.Z)(ey.hint,a),style:i,children:[(0,n.jsx)("button",{type:"button",className:ey.activator,ref:j.setReference,tabIndex:0,onClick:S,children:"function"==typeof p?p({show:k,hide:H,toggle:S,visible:B}):p}),B&&(0,n.jsxs)("div",{role:x,className:(0,c.Z)(ey.hintDialog,{[ey.inverted]:_}),ref:j.setFloating,style:T,...N,"data-id":E,"data-qa":y,children:[u&&(0,n.jsx)(f.H,{dataQa:(0,m.g)("".concat(y,"-heading"),!!y),className:"mb-3",as:"h6",type:"h6",children:u}),(0,n.jsx)("p",{"data-qa":(0,m.g)("".concat(y,"-text"),!!y),className:(0,c.Z)(ey.text),children:g}),h&&(0,n.jsx)("div",{"data-qa":(0,m.g)("".concat(y,"-footer"),!!y),className:(0,c.Z)(ey.footer),children:h}),(0,n.jsx)("button",{type:"button",tabIndex:-1,className:ey.close,onClick:H,children:(0,n.jsx)(v.P,{"aria-hidden":"true",className:ey.icon,style:{display:"inline-flex",fontSize:16},children:(0,n.jsx)(d,{})})}),!b&&(0,n.jsx)(l.Y$,{width:16,ref:w,d:em.t,context:C,fill:_?"var(--color-white)":"var(--color-black-500)"})]})]})}).displayName="Hint";var eE=a(5451),ex=a(55773),eN=a(66237),ew=a(31755),ej=a(67603),eT=a(85226);function eC(e){return r.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M4.75 3a.75.75 0 0 0 0 1.5h14.5a.75.75 0 0 0 0-1.5H4.75Zm7.78 3.218a.75.75 0 0 0-1.06 0l-4.25 4.25a.75.75 0 0 0 1.06 1.06l2.97-2.97v11.69a.75.75 0 0 0 1.5 0V8.558l2.97 2.97a.75.75 0 1 0 1.06-1.06l-4.25-4.25Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}a(28648);let eB=(0,_.g)("input-file"),ek={inputFile:eB,input:"".concat(eB,"__input"),uploadArea:"".concat(eB,"__upload-area"),uploadIcon:"".concat(eB,"__upload-icon"),uploadLabel:{default:"".concat(eB,"__upload-label"),purple:"".concat(eB,"__upload-label--purple")},uploadDragged:"".concat(eB,"__upload-dragged"),uploadCaption:"".concat(eB,"__upload-caption"),uploadButton:"".concat(eB,"__upload-button"),uploadWrapper:"".concat(eB,"__upload-wrapper"),selectButton:"".concat(eB,"__select-button"),states:{error:"".concat(eB,"--error"),s:"".concat(eB,"--s"),dragged:"".concat(eB,"--dragged"),disabled:"".concat(eB,"--disabled")}},eH=(e,t)=>{if(e&&t){let a=Array.isArray(t)?t:t.split(","),n=e.name||"",r=e.type||"",l=r.replace(/\/.*$/,"");return a.some(e=>{let t=e.trim();if(/^\*(\/\*)?$/.test(e))return!0;if("."===t.charAt(0)){let e=n.toLowerCase(),a=t.toLowerCase(),r=[a];return(".jpg"===a||".jpeg"===a)&&(r=[".jpg",".jpeg"]),r.some(t=>e.endsWith(t))}return/\/\*$/.test(t)?l===t.replace(/\/.*$/,""):r===t||!!/^\w+$/.test(t)&&(console.error(!1,"Upload takes an invalidate 'accept' type '".concat(t,"'.Skip for check.")),!0)})}return!0};(0,r.forwardRef)((e,t)=>{let{accept:a,maxFileSize:l,disabled:i=!1,multiple:o=!1,capture:s=!1,mode:u="select",size:d="m",style:f,className:m,name:b,dataId:_,dataQa:y,onChange:E,...x}=e,N=(0,r.useId)(),[w,j]=(0,r.useState)(!1),[T,C]=(0,r.useState)(!1),B=(0,r.useRef)(null),k=(0,r.useRef)(null),H=e=>{if(!e)return!0;let t=S(e),a=R(e);return t&&a},S=e=>{if(!l)return!0;for(let t=0;t<e.length;t++)if(e[t].size>1048576*l)return!1;return!0},R=e=>{if(!a)return!0;for(let t=0;t<e.length;t++)if(!eH(e[t],a))return!1;return!0},A=e=>{let t=Object.hasOwn(e,"dataTransfer")?e.dataTransfer.files:e.target.files;if(t){if(!H(t)){j(!0);return}j(!1),null==E||E(t,e)}},L=()=>{var e;null==(e=B.current)||e.click()},I=e=>{i||(e.stopPropagation(),e.preventDefault())},M=e=>{i||(e.stopPropagation(),e.preventDefault(),e.dataTransfer.dropEffect="copy",C(!0))},D=e=>{i||(e.stopPropagation(),e.preventDefault(),C(!1))},P=e=>{if(i)return;e.stopPropagation(),e.preventDefault();let{files:t}=e.dataTransfer;(o||t&&1===t.length)&&A(e),C(!1),e.dataTransfer.clearData()};(0,r.useImperativeHandle)(t,()=>({getInput:()=>B.current,getUploadArea:()=>k.current}));let F=()=>{let e=Array.isArray(a)?a.join(", "):null==a?void 0:a.split(",").join(", ");return(e?"Доступные форматы ".concat(e,". "):"")+(l?"Размер файла не должен превышать ".concat(l," MB."):"")},O=()=>{let e=Array.isArray(a)?a.join(","):a,t={ref:B,type:"file",className:ek.input,multiple:o,accept:e,capture:s,disabled:i,id:N,name:b,onChange:A};return(0,n.jsx)("input",{...t})},Z=()=>{let e={ref:k,className:(0,c.Z)(ek.uploadArea,{[ek.states.error]:w,[ek.states.s]:"s"===d,[ek.states.dragged]:T,[ek.states.disabled]:i}),onDragEnter:I,onDragOver:M,onDragLeave:D,onDrop:P,onClick:L,role:"button",tabIndex:0},t=(0,n.jsx)(v.P,{"aria-hidden":"true",className:(0,c.Z)(ek.uploadIcon,{[ek.states.disabled]:i}),children:(0,n.jsx)(eC,{})}),a=(0,n.jsx)(p.T,{size:"16",weight:"regular",className:(0,c.Z)(ek.uploadDragged,{[ek.states.disabled]:i,[ek.states.dragged]:T,[ek.states.s]:"s"===d}),children:"Перетащите файлы сюда"});if("s"===d){let r=(0,n.jsxs)(p.T,{size:"16",weight:"regular",className:(0,c.Z)(ek.uploadLabel.default,{[ek.states.disabled]:i}),children:[(0,n.jsxs)("span",{className:(0,c.Z)(ek.uploadLabel.purple,{[ek.states.disabled]:i}),children:["Выберите файлы"," "]}),"или перетащите их сюда"]});return(0,n.jsx)(h.F,{caption:F(),hasCaption:!0,children:(0,n.jsxs)("div",{...e,children:[(0,n.jsxs)("div",{className:(0,c.Z)(ek.uploadWrapper,{[ek.states.dragged]:T}),children:[t,r]}),a]})})}let r=(0,n.jsx)(p.T,{size:"16",weight:"regular",className:(0,c.Z)(ek.uploadLabel.default,{[ek.states.disabled]:i}),children:"Выберите файлы или перетащите их сюда"}),l=(0,n.jsx)(p.T,{size:"14",weight:"regular",className:(0,c.Z)(ek.uploadCaption,{[ek.states.disabled]:i}),children:F()}),o=(0,n.jsx)(p.T,{size:"16",weight:"regular",className:(0,c.Z)(ek.uploadButton,{[ek.states.disabled]:i}),children:"Выбрать"});return(0,n.jsxs)("div",{...e,children:[(0,n.jsxs)("div",{className:(0,c.Z)(ek.uploadWrapper,{[ek.states.dragged]:T}),children:[t,r,l,o]}),a]})};return(0,n.jsx)("div",{className:(0,c.Z)(m,ek.inputFile),style:f,...x,"data-id":_,"data-qa":y,children:"select"===u?(()=>{let e=O(),t=F(),a=(0,n.jsx)(g.B,{onClick:L,label:"Выберите файлы",size:"s",stretch:!0,className:(0,c.Z)(ek.selectButton,{disabled:i}),disabled:i});return(0,n.jsxs)(h.F,{caption:t,hasCaption:!0,captionState:w?"error":"default",children:[e,a]})})():(()=>{let e=O(),t=Z();return(0,n.jsxs)(n.Fragment,{children:[t,e]})})()})}).displayName="InputFile",a(23157);let eS=(e,t,a,n)=>{let r=[t,a,n];return r[e%100>4&&e%100<20?2:[2,0,1,1,1,2][e%10<5?e%10:5]]||r[0]},eR=e=>null==e;function eA(e){return r.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M5 12a.75.75 0 0 1 .75-.75h12.5a.75.75 0 0 1 0 1.5H5.75A.75.75 0 0 1 5 12Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}function eL(e){return r.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M12.75 5.75a.75.75 0 0 0-1.5 0v5.5h-5.5a.75.75 0 0 0 0 1.5h5.5v5.5a.75.75 0 0 0 1.5 0v-5.5h5.5a.75.75 0 0 0 0-1.5h-5.5v-5.5Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}let eI=e=>{let{value:t,decimals:a="auto",decimalsCount:n=2}=e;switch(a){case"always":return new Intl.NumberFormat("ru",{minimumFractionDigits:n,useGrouping:"min2"}).format(t);case"never":return new Intl.NumberFormat("ru",{maximumFractionDigits:0,useGrouping:"min2"}).format(t);default:return new Intl.NumberFormat("ru",{useGrouping:"min2"}).format(t)}},eM=e=>RegExp("^-?(?!0{2,})[(\\d\\s?]*[,.]?\\d*$").test(e),eD=(e,t,a)=>(0,ee.i)(t)&&e<t?t:(0,ee.i)(a)&&e>a?a:e,eP=[",","."],eF=(0,_.g)("input-number"),eO={controls:"".concat(eF,"__controls"),icon:"".concat(eF,"__controls-icon"),divider:"".concat(eF,"__controls-divider"),states:{disabled:"".concat(eF,"--disabled")}},eZ=e=>e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),eU=(e,t)=>{let a=eZ(t.join("")),n=RegExp("[^\\d".concat(a,"]"),"gi");return e.replace(n,"")},eG=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"\xa0",a=RegExp(eZ(t),"g");return e.replace(a,"")},ez=(e,t)=>{let a=RegExp("((^|\\D)-\\d)|^(-)").test(e),n=eU(eG(e,"\xa0"),eP).replace(",","."),r=a?"-":"";if(n.includes(".")){let[e,a]=n.split(".");if(a){let n=".".concat(a.slice(0,t));return"".concat(r).concat(e).concat(n)}}return"".concat(r).concat(n)},eY=(e,t)=>{let a=String(e),[n,r]=a.split("."),l=new Intl.NumberFormat("ru",{maximumFractionDigits:0,roundingMode:"trunc",useGrouping:"min2"}).format(parseFloat(a)),i=a.includes(".")||a.includes(",");return"never"===t?l:"".concat(l).concat(i?",":"").concat(null!=r?r:"")},eV=(e,t,a)=>{if(!e||!t)return"";if(Array.isArray(t)){let a=ez(e,2),n=Number((a.startsWith("-")?a.slice(1):a).split(".")[0]),[r,l,i]=t;return eS(n,r,l,i)}return t},eq=e=>{let{selectionStart:t,value:a,lastKeyStroke:n,stateValue:r}=e,l=t,i=a;if(r&&l&&"\xa0"===r[l]&&("Backspace"===n||"Delete"===n)){let e=a.split("");return"Backspace"===n&&(e.splice(l-1,1),l-=1),"Delete"===n&&(e.splice(l,1),l+=1),{modifiedValue:i=e.join(""),cursorPosition:l}}return{modifiedValue:i,cursorPosition:t}},eK=(0,r.forwardRef)((e,t)=>{let{decimals:a="auto",decimalsCount:l=2,value:i,unit:o,step:s=1,min:u,max:d,size:h="m",withoutControls:f,disabled:p,icon:m,shouldRoundOnChange:g=!1,className:b,style:_,dataQa:y,dataId:E,autoFocus:x=!1,onChange:N,onFocus:w,onBlur:j,onKeyDown:T,onIncrement:C,onDecrement:B,...k}=e,H=(0,r.useMemo)(()=>l<10?l:10,[l]),[S,R]=(0,r.useState)((0,ee.i)(i)?eI({value:eD(parseFloat(eY(ez(String(i),H),a)),u,d),decimals:a,decimalsCount:H}):""),[A,L]=(0,r.useState)(!1),[I,M]=(0,r.useState)(0),[D,P]=(0,r.useState)(null),F=(0,r.useRef)(null);(0,r.useImperativeHandle)(t,()=>F.current),(0,r.useEffect)(()=>{A&&"-"!==S&&F.current&&document.activeElement===F.current&&F.current.setSelectionRange(I,I)},[S,I,F,A]);let O=(0,r.useCallback)((e,t)=>{if(L(!0),!eM(e))return{float:S?parseFloat(ez(S,H)):void 0,formatted:S};if(""===e)return{float:void 0,formatted:e};if("-"===e)return M(1),{float:void 0,formatted:e};if("."===e||","===e)return M(2),{float:0,formatted:"never"===a?"0":"0,"};if("-."===e||"-,"===e)return M(3),{float:0,formatted:"never"===a?"-0":"-0,"};let{modifiedValue:n,cursorPosition:r}=eq({selectionStart:t,value:e,lastKeyStroke:D,stateValue:S}),l=ez(n,H),i="never"===a?parseInt(l):parseFloat(l),o=eY(l,a),s=g?eD(i,u,d):i;if(s>Number.MAX_SAFE_INTEGER||s<Number.MIN_SAFE_INTEGER)return{float:parseFloat(ez(S,H)),formatted:S};if(!eR(r)){let t=r+(o.length-e.length);M(t=t<=0?0:t)}return{float:s,formatted:o}},[a,H,D,d,u,g,S]),Z=(0,r.useCallback)((e,t)=>{if(!t)return;let{target:{value:a,selectionStart:n}}=t,r=O(a,n);R(r.formatted),null==N||N(r.float,{...r,event:t})},[O,N]),U=(0,r.useCallback)(e=>{null==w||w(e)},[w]),G=(0,r.useCallback)(e=>{let{target:{value:t}}=e,n=ez(t,H);if(!n||"-"===n){R(""),null==j||j(e);return}let r=parseFloat(n),l=g?r:eD(r,u,d),i=eI({value:l,decimals:a,decimalsCount:H});R(i),g||r===l||null==N||N(l,{float:l,formatted:i}),null==j||j(e)},[a,H,d,u,j,N,g]),z=(0,r.useCallback)(e=>{M(S.length);let t=parseFloat(eR(i)?ez(S,H):String(i).replace(",","."))||0,n=eD("increase"===e?Number((t+s).toFixed(H)):Number((t-s).toFixed(H)),u,d),r=eI({value:n,decimals:a,decimalsCount:H});R(r),null==N||N(n,{float:n,formatted:r})},[S,i,H,s,u,d,a,N]),Y=(0,r.useCallback)(e=>{let{code:t}=e;P(t),("ArrowUp"===t||"ArrowDown"===t)&&(e.preventDefault(),z("ArrowUp"===t?"increase":"decrease")),null==T||T(e)},[z,T]),V=(0,r.useCallback)(e=>{e.preventDefault(),z("decrease"),null==B||B(e)},[z,B]),q=(0,r.useCallback)(e=>{e.preventDefault(),z("increase"),null==C||C(e)},[z,C]),K=(0,r.useCallback)(e=>{let{code:t}=e;P(t),["Space","Enter"].includes(t)&&(e.preventDefault(),z("decrease"),null==B||B(e))},[z,B]),$=(0,r.useCallback)(e=>{let{code:t}=e;P(t),["Space","Enter"].includes(t)&&(e.preventDefault(),z("increase"),null==C||C(e))},[z,C]),X=(0,r.useMemo)(()=>{let e=parseFloat(ez(S,H));return eR(i)||""===String(i)?"":Number(i)===e?S:"-"!==S&&","!==S&&eM(String(i))?eY(ez(String(eD(i,u,d)),H),a):S},[a,H,S,i]),W=(0,r.useMemo)(()=>{let[e,t]=X.split(","),a=X.includes(","),n=eV(X,o);if(a){let a=Array(H-t.length).fill(0).join("");return"".concat(e).concat(",").concat(t).concat(a).concat("\xa0").concat(n)}return"".concat(e).concat("\xa0").concat(n)},[X,o,H]),Q={...k,value:X,maskPlaceholder:W,maskPlaceholderVariant:"accent",size:h,icon:f?m:(0,n.jsxs)("div",{className:(0,c.Z)(eO.controls),children:[(0,n.jsx)(v.P,{onClick:p?void 0:V,onKeyDown:p?void 0:K,className:(0,c.Z)(eO.icon,{[eO.states.disabled]:!!p}),role:"button",tabIndex:p?-1:0,children:(0,n.jsx)(eA,{})}),(0,n.jsx)("div",{className:eO.divider}),(0,n.jsx)(v.P,{onClick:p?void 0:q,onKeyDown:p?void 0:$,className:(0,c.Z)(eO.icon,{[eO.states.disabled]:!!p}),role:"button",tabIndex:p?-1:0,children:(0,n.jsx)(eL,{})})]}),disabled:p,onChange:Z,onBlur:G,onFocus:U,onKeyDown:Y};return(0,n.jsx)(eE.I,{...Q,autoFocus:x,inputMode:"decimal",inputRef:F,dataQa:y,dataId:E,className:b,style:_})});function e$(e){return r.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M12 3C7.069 3 3.702 6.75 2.006 9.226a4.876 4.876 0 0 0 0 5.548C3.702 17.25 7.069 21 12 21s8.297-3.75 9.994-6.226a4.875 4.875 0 0 0 0-5.548C20.297 6.75 16.931 3 12 3Zm-8.757 7.074C4.888 7.673 7.863 4.5 12 4.5s7.112 3.173 8.757 5.574a3.376 3.376 0 0 1 0 3.852C19.112 16.327 16.137 19.5 12 19.5s-7.112-3.173-8.757-5.574a3.376 3.376 0 0 1 0-3.852ZM12 8.004a4 4 0 1 0 0 8 4 4 0 0 0 0-8Zm-2.5 4a2.5 2.5 0 1 1 5 0 2.5 2.5 0 0 1-5 0Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}function eX(e){return r.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M21.78 3.28a.75.75 0 0 0-1.06-1.06l-2.773 2.773C16.33 3.849 14.34 3 12 3 7.069 3 3.703 6.75 2.006 9.226a4.878 4.878 0 0 0 0 5.55c.697 1.015 1.654 2.217 2.866 3.291L2.22 20.72a.75.75 0 1 0 1.06 1.06l6.95-6.95h.001l4.595-4.595.001-.001L21.78 3.28ZM12 4.5c1.862 0 3.486.639 4.869 1.57l-2.623 2.624A4 4 0 0 0 8.69 14.25l-2.755 2.754c-1.125-.983-2.026-2.106-2.691-3.077a3.378 3.378 0 0 1-.001-3.853C4.888 7.673 7.863 4.5 12 4.5Zm8.379 2.673a.75.75 0 1 0-1.111 1.008 17.849 17.849 0 0 1 1.488 1.892 3.378 3.378 0 0 1 .001 3.853C19.112 16.327 16.137 19.5 12 19.5c-1.3 0-2.481-.311-3.544-.814a.75.75 0 0 0-.641 1.357A9.716 9.716 0 0 0 12 21c4.931 0 8.297-3.75 9.994-6.226a4.878 4.878 0 0 0 0-5.55 19.338 19.338 0 0 0-1.615-2.05ZM12 9.503c.416 0 .809.102 1.154.282l-3.372 3.373A2.5 2.5 0 0 1 12 9.504Zm3.988 2.815a.75.75 0 0 0-1.496-.116 2.5 2.5 0 0 1-2.294 2.294.75.75 0 0 0 .117 1.495 4 4 0 0 0 3.673-3.673Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}eK.displayName="InputNumber",a(89976);let eW=(0,_.g)("input-password"),eQ={icon:"".concat(eW,"__icon"),states:{disabled:"".concat(eW,"--disabled")}};(0,r.forwardRef)((e,t)=>{let{disabled:a,autoFocus:l=!1,...i}=e,[o,s]=(0,r.useState)(!1);return(0,n.jsx)(eE.I,{...i,autoFocus:l,ref:t,disabled:a,type:o?"text":"password",icon:(0,n.jsx)(v.P,{onMouseDown:a?void 0:e=>{e.preventDefault(),e.stopPropagation(),s(e=>!e)},onKeyDown:a?void 0:e=>{[" ","Enter"].includes(e.key)&&(e.preventDefault(),s(e=>!e))},className:(0,c.Z)(eQ.icon,{[eQ.states.disabled]:!!a}),role:"button",tabIndex:a?-1:0,children:o?(0,n.jsx)(eX,{}):(0,n.jsx)(e$,{})})})}).displayName="InputPassword";var eJ=a(4847),e0=a(94322),e1=a(8928),e2=a(36482),e5=a(85376);a(96504);let e4=(0,_.g)("range-slider"),e7=Object.freeze({rangeSlider:e4,disabled:"".concat(e4,"--disabled"),control:"".concat(e4,"__control"),thumb:"".concat(e4,"__thumb"),thumbFocus:"".concat(e4,"__thumb--focus"),track:"".concat(e4,"__track"),indicator:"".concat(e4,"__indicator"),ticks:"".concat(e4,"__ticks"),tick:"".concat(e4,"__tick"),legend:"".concat(e4,"__legend"),legendItem:"".concat(e4,"__legend-item"),label:"".concat(e4,"__label"),labelVisible:"".concat(e4,"__label--visible")}),e6=(0,r.forwardRef)((e,t)=>{let{values:a,step:l=1,min:i=0,max:o=100,legend:s,disabled:u,className:d,style:h,dataQa:f,dataId:p,formatValue:g,onChange:b,onFinalChange:v}=e,[_,y]=(0,r.useState)(!1),[E,x]=(0,r.useState)(null),N=(0,r.useRef)([]);N.current.length!==a.length&&(N.current=a.map((e,t)=>{var a;return null!==(a=N.current[t])&&void 0!==a?a:(0,I.g)()}));let w=e=>"number"==typeof e?[e]:[...e],j=null==s?void 0:s.map(e=>"number"==typeof e?{value:e,label:String(e)}:e),T=(0,r.useCallback)((e,t)=>{u||null==b||b(w(e),t)},[u,b]),C=(0,r.useCallback)((e,t)=>{u||null==v||v(w(e),t)},[u,v]),B=(0,r.useCallback)(e=>{u||x(e)},[u]),k=e=>{if(e.value===i)return{left:0,transform:"translateX(0)"};if(e.value===o)return{left:"100%",transform:"translateX(-100%)"};{let t=(e.value-i)/(o-i);return{left:"calc(".concat(12,"px + (100% - ").concat(24,"px) * ").concat(t,")"),transform:"translateX(-50%)"}}};return(0,r.useEffect)(()=>(document.body.style.cursor=_&&!u?"grabbing":"",()=>{document.body.style.cursor=""}),[_,u]),(0,r.useEffect)(()=>{u&&(y(!1),x(null))},[u]),(0,n.jsxs)(eJ.l,{ref:t,className:(0,c.Z)(e7.rangeSlider,{[e7.disabled]:u},d),style:h,value:a,min:i,max:o,step:l,onValueCommitted:C,thumbAlignment:"edge",onValueChange:T,onPointerUp:()=>{y(!1),x(null)},onPointerDown:()=>{u||y(!0)},disabled:u,"data-qa":f,"data-id":p,children:[(0,n.jsx)(e0.z,{className:e7.control,"data-qa":(0,m.g)("".concat(f,"-control"),!!f),children:(0,n.jsxs)(e1.U,{className:e7.track,"data-qa":(0,m.g)("".concat(f,"-track"),!!f),children:[(0,n.jsx)(e2.Q,{className:e7.indicator,"data-qa":(0,m.g)("".concat(f,"-indicator"),!!f)}),a.map((e,t)=>(0,n.jsx)(e5.g,{index:t,className:(0,c.Z)(e7.thumb,{[e7.thumbFocus]:E===t&&!u}),onPointerDown:()=>B(t),onPointerUp:()=>x(null),onFocus:()=>B(t),onBlur:()=>{_||x(null)},"data-qa":(0,m.g)("".concat(f,"-thumb-").concat(t),!!f),children:(0,n.jsx)("div",{className:(0,c.Z)(e7.label,{[e7.labelVisible]:E===t&&!u}),"data-qa":(0,m.g)("".concat(f,"-thumb-label-").concat(t),!!f),children:g?g(e):e})},N.current[t]))]})}),j&&j.length>0&&(0,n.jsx)("ul",{className:e7.legend,"data-qa":(0,m.g)("".concat(f,"-legend"),!!f),children:j.map((e,t)=>void 0!==e.label&&(0,n.jsx)("li",{className:e7.legendItem,style:k(e),"data-qa":(0,m.g)("".concat(f,"-legend-item-").concat(t),!!f),children:e.label},"".concat(e.value,"-").concat(e.label)))})]})});e6.displayName="RangeSlider",a(6319);let e9=(0,_.g)("input-range"),e3=Object.freeze({inputRange:e9,rangeSlider:"".concat(e9,"__range-slider")});function e8(e){return r.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M10.5 2a8.5 8.5 0 1 0 5.456 15.018l4.763 4.762a.75.75 0 0 0 1.06-1.06l-4.762-4.763A8.5 8.5 0 0 0 10.5 2Zm-7 8.5a7 7 0 1 1 14 0 7 7 0 0 1-14 0Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}(0,r.forwardRef)((e,t)=>{let{value:a,defaultValue:l,onChange:i,min:o=0,max:s=100,step:u=1,disabled:d,ticks:h,tooltip:f,onBlur:p,className:g,inputClassname:b,sliderClassname:v,style:_,...y}=e,E=Object.hasOwn(e,"value"),[x,N]=(0,r.useState)(l),w=(0,r.useRef)(null),j=(0,r.useRef)(null),T=(0,r.useRef)(null),C=E?a:x,B="number"==typeof C?eD(C,o,s):o,k=(0,r.useCallback)(e=>{E||N(e),null==i||i(e)},[E,i]),H=(0,r.useCallback)(e=>{k(e)},[k]),S=(0,r.useCallback)(e=>{"number"==typeof C&&k(eD(C,o,s)),null==p||p(e)},[k,s,o,p,C]),R=(0,r.useCallback)(e=>{var t;let[a]=e;k(eD(a,o,s)),null==(t=j.current)||t.focus()},[k,o,s]),A=(0,r.useCallback)(()=>{var e;null==(e=j.current)||e.blur()},[]);(0,r.useImperativeHandle)(t,()=>({rootRef:w.current,inputRef:j.current,sliderRef:T.current}),[]);let{dataQa:L,dataId:I,...M}=y;return(0,n.jsxs)("div",{ref:w,className:(0,c.Z)(e3.inputRange,g),style:_,"data-qa":L,"data-id":I,children:[(0,n.jsx)(eK,{...M,ref:j,min:o,max:s,step:u,disabled:d,withoutControls:!0,value:C,onChange:H,onBlur:S,className:b,dataQa:(0,m.g)("".concat(L,"-input"),!!L),dataId:(0,m.g)("".concat(I,"-input"),!!I)}),(0,n.jsx)(e6,{ref:T,min:o,max:s,step:u,disabled:d,legend:h,formatValue:f,values:[B],onChange:R,onFinalChange:A,className:(0,c.Z)(e3.rangeSlider,v),dataQa:(0,m.g)("".concat(L,"-slider"),!!L),dataId:(0,m.g)("".concat(I,"-slider"),!!I)})]})}).displayName="InputRange",a(34812);let te=(0,_.g)("input-search"),tt={iconSearch:"".concat(te,"__icon-search"),iconClear:"".concat(te,"__icon-clear"),states:{disabled:"".concat(te,"--disabled")}};(0,r.forwardRef)((e,t)=>{let{value:a,disabled:l,onChange:i,...o}=e,[s,u]=(0,r.useState)(a||"");(0,r.useEffect)(()=>{u(a||"")},[a]);let h=(0,r.useCallback)((e,t)=>{u(e||""),null==i||i(e||"",t)},[]);return(0,n.jsx)(eE.I,{...o,value:s,ref:t,disabled:l,icon:s?(0,n.jsx)(v.P,{onMouseDown:l?void 0:e=>{e.preventDefault(),e.stopPropagation(),h()},onKeyDown:l?void 0:e=>{[" ","Enter"].includes(e.key)&&(e.preventDefault(),h())},className:(0,c.Z)(tt.iconClear,{[tt.states.disabled]:l}),role:"button",tabIndex:l?-1:0,children:(0,n.jsx)(d,{})}):(0,n.jsx)(v.P,{className:(0,c.Z)(tt.iconSearch,{[tt.states.disabled]:l}),children:(0,n.jsx)(e8,{})}),onChange:(e,t)=>{h(e,t)}})}).displayName="InputSearch";var ta=a(94196);a(5608),a(89015),a(79481);let tn=(0,_.g)("segmented-control"),tr=Object.freeze({segmentedControl:tn,secondary:"".concat(tn,"--secondary"),tab:"".concat(tn,"__tab"),label:"".concat(tn,"__label"),icon:"".concat(tn,"__icon"),slot:"".concat(tn,"__slot"),states:{stretch:"".concat(tn,"--stretch"),rounded:"".concat(tn,"--rounded"),small:"".concat(tn,"--s"),medium:"".concat(tn,"--m"),weightVariant:"".concat(tn,"--wight-medium"),left:"".concat(tn,"__tab--left"),right:"".concat(tn,"__tab--right"),active:"".concat(tn,"__tab--active"),iconOnly:"".concat(tn,"__tab--icon-only"),disabled:"".concat(tn,"__tab--disabled")}}),tl=Object.freeze({labelKey:"label",disabledKey:"disabled",slotLeftKey:"slotLeft",slotRightKey:"slotRight",iconLeftKey:"iconLeft",iconRightKey:"iconRight"});(0,r.forwardRef)((e,t)=>{var a;let{activeTabId:l,tabs:i,onTabChange:o,variant:s="primary",className:u,style:d,stretch:h=!1,rounded:f=!1,tabSettings:p,weightVariant:g="regular",size:b="m",onTabKeyDown:v,dataQa:_,dataId:y,...E}=e,x=(0,r.useRef)(null),N=(0,r.useMemo)(()=>{let e={...tl,...p};return i.map(t=>{var a;return{sourceTab:t,id:t.id,label:t[e.labelKey],disabled:null!==(a=t[e.disabledKey])&&void 0!==a&&a,slotLeft:t[e.slotLeftKey],slotRight:t[e.slotRightKey],iconLeft:t[e.iconLeftKey],iconRight:t[e.iconRightKey]}})},[p,i]),[w,j]=(0,r.useState)(null!=l?l:null==(a=N[0])?void 0:a.id),T=(0,r.useCallback)(e=>{var t;let a=x.current,n=(null==e?void 0:e.target).closest(".".concat(tr.tab)),r=a.getBoundingClientRect(),l=n.getBoundingClientRect();a.scrollTo({left:l.left-r.left-4+(null!==(t=a.scrollLeft)&&void 0!==t?t:0),behavior:"smooth"})},[]),C=(e,t)=>{j(e),T(t),o(e,t)},B=(e,t)=>{((null==t?void 0:t.key)===" "||(null==t?void 0:t.key)==="Enter")&&(j(e),T(t),null==v||v(e,t))};return(0,r.useEffect)(()=>{null!=l&&j(l)},[l]),(0,r.useImperativeHandle)(t,()=>x),(0,n.jsx)("div",{ref:x,role:"tablist",className:(0,c.Z)(tr.segmentedControl,{[tr.secondary]:"secondary"===s,[tr.states.small]:"s"===b,[tr.states.medium]:"m"===b,[tr.states.weightVariant]:"medium"===g,[tr.states.stretch]:h,[tr.states.rounded]:f},u),style:d,...E,"data-id":y,"data-qa":_,children:N.map((e,t)=>(0,n.jsxs)("button",{type:"button",role:"tab","data-qa":(0,m.g)("".concat(_,"-tab-").concat(++t),!!_),"aria-selected":e.id===w,"aria-disabled":e.disabled?e.disabled:void 0,tabIndex:(null==e?void 0:e.disabled)?-1:0,className:(0,c.Z)(tr.tab,{[tr.states.active]:e.id===w,[tr.states.disabled]:e.disabled,[tr.states.iconOnly]:!e.label&&(e.iconLeft||e.slotLeft),[tr.states.left]:e.label&&(e.iconLeft||e.slotLeft),[tr.states.right]:e.label&&(e.iconRight||e.slotRight)}),onClick:e.disabled?void 0:t=>C(e.id,t),onKeyDown:e.disabled?void 0:t=>B(e.id,t),children:[e.iconLeft&&(0,n.jsx)("span",{className:tr.icon,children:e.iconLeft}),e.slotLeft&&e.label&&(0,n.jsx)("span",{className:tr.slot,children:e.slotLeft}),e.label&&(0,n.jsx)("span",{className:tr.label,children:e.label}),e.label&&(0,n.jsxs)(n.Fragment,{children:[e.slotRight&&(0,n.jsx)("span",{className:tr.slot,children:e.slotRight}),e.iconRight&&(0,n.jsx)("span",{className:tr.icon,children:e.iconRight})]})]},e.id))})}).displayName="SegmentedControl",a(21247),a(34212);let ti=(0,_.g)("snackbar"),to=Object.freeze({snackbar:ti,item:"".concat(ti,"__item"),itemOut:"".concat(ti,"__item--out"),position:{topLeft:"".concat(ti,"--top-left"),topRight:"".concat(ti,"--top-right"),bottomLeft:"".concat(ti,"--bottom-left"),bottomRight:"".concat(ti,"--bottom-right")},alertFill:N.fill}),ts={status:"status",alert:"alert"},tc=(e,t,a)=>e<=t?t:e>=a?a:e,tu=new Map,td=null;(0,r.forwardRef)((e,t)=>{let{quantity:a=3,position:i="topRight",closeAll:o,style:s,className:u,dataQa:d,dataId:h,...f}=e,[p,m]=(0,r.useState)(!1),[g,b]=(0,r.useState)([]),v=(0,r.useRef)(new Map),_=(0,r.useCallback)(e=>{p||e.forEach(e=>{if(e.withoutTimer||v.current.has(e.id))return;let t=setTimeout(()=>{x(e,()=>{var t;E(e.id),null==(t=e.closeByTimer)||t.call(e)})},e.timer?1e3*tc(e.timer,4,10):4e3);v.current.set(e.id,t)})},[p]),y=(0,r.useCallback)(()=>{v.current.forEach(e=>clearTimeout(e)),v.current.clear()},[]);(0,r.useEffect)(()=>(td=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t){let t=[];tu.forEach(e=>{t.push(new Promise(t=>x(e,t)))}),Promise.all(t).then(()=>{null==o||o(),y(),tu.clear(),b(e.slice(0,tc(a,1,5)))})}else b(e.slice(0,tc(a,1,5)))},()=>{td=null}),[o,y,a]),(0,r.useEffect)(()=>{_(g)},[g,_]);let E=e=>{tu.delete(e),v.current.has(e)&&(clearTimeout(v.current.get(e)),v.current.delete(e)),td&&td([...Array.from(tu.values())])},x=(e,t)=>{tu.set(e.id,{...e,isExiting:!0}),td&&td([...Array.from(tu.values())]),setTimeout(()=>{t()},250)},N=()=>{m(!1),_(g)},j=function(e,t){let a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];N(),x(t,()=>{var n,r;E(t.id),a?null==(n=t.onButtonClick)||n.call(t,e):null==(r=t.onClose)||r.call(t,e)})};return(0,n.jsx)(n.Fragment,{children:!!g.length&&(0,n.jsx)(l.ll,{id:ta.S,children:(0,n.jsx)("ul",{ref:t,role:"region",className:(0,c.Z)(to.snackbar,to.position[i],u),style:s,onMouseEnter:()=>{m(!0),y()},onMouseLeave:N,...f,"data-qa":d,"data-id":h,children:g.map(e=>(0,n.jsx)("li",{id:e.id,className:(0,c.Z)(to.item,{[to.itemOut]:e.isExiting}),children:(0,n.jsx)(w,{role:"error"===e.state?ts.alert:ts.status,label:e.label,state:e.state,caption:e.caption,withClose:e.withClose||e.withoutTimer&&!e.buttonText,onClose:t=>{j(t,e)},buttonText:e.buttonText,onButtonClick:t=>{j(t,e,!0)},className:to.alertFill,dataQa:e.dataQa,dataId:e.dataId,buttonVariant:"white",withIcon:!0})},e.id))})})})}).displayName="Snackbar",a(55628),a(60035);let th=(0,_.g)("tabs"),tf=Object.freeze({tabs:th,tabWrapper:"".concat(th,"__tab-wrapper"),tab:"".concat(th,"__tab"),active:"".concat(th,"__tab--active"),activeLine:"".concat(th,"__activeLine")});(0,r.forwardRef)((e,t)=>{var a;let{activeTabId:l,tabs:i,onTabChange:o,style:s,className:u,dataQa:d,dataId:h,...f}=e,[p,g]=(0,r.useState)(null!=l?l:null==(a=i[0])?void 0:a.id),[b,v]=(0,r.useState)(null),[_,y]=(0,r.useState)({width:0,left:0}),E=(0,r.useRef)(null);(0,r.useEffect)(()=>{b&&y({left:b.offsetLeft-2,width:b.offsetWidth+4})},[b]);let x=(0,r.useCallback)(e=>{var t;let a=E.current,n=(null==e?void 0:e.target).closest(".".concat(tf.tab)),r=a.getBoundingClientRect(),l=n.getBoundingClientRect();a.scrollTo({left:l.left-r.left-4+(null!==(t=a.scrollLeft)&&void 0!==t?t:0),behavior:"smooth"})},[]),N=(e,t)=>{x(t),g(e),o(e,t)};return(0,r.useImperativeHandle)(t,()=>E),(0,n.jsxs)("ul",{role:"tablist",ref:E,className:(0,c.Z)(tf.tabs,u),style:s,...f,"data-id":h,"data-qa":d,children:[i.map((e,t)=>{let a=e.id===p;return!e.disabled&&(0,n.jsx)("li",{role:"tab","aria-selected":e.id===p,"data-qa":(0,m.g)("".concat(d,"-tab-").concat(++t),!!d),className:tf.tabWrapper,children:(0,n.jsx)("button",{type:"button",ref:a?v:null,className:(0,c.Z)(tf.tab,{[tf.active]:a}),onClick:t=>N(e.id,t),children:e.label})},e.id)}),(0,n.jsx)("div",{className:(0,c.Z)(tf.activeLine),style:{left:_.left,width:_.width}})]})}).displayName="Tabs",a(25993),a(94512);let tp=(e,t,a)=>{(0,r.useEffect)(()=>{e&&(a&&t?(e.style.height="auto",e.style.height=e.scrollHeight+"px"):e.style.height="")},[a,e,t])},tm=(0,_.g)("textarea"),tg={root:tm,container:"".concat(tm,"__container"),field:"".concat(tm,"__field"),labelWrapper:"".concat(tm,"__label-wrapper"),label:"".concat(tm,"__label"),captionWrapper:"".concat(tm,"__caption-wrapper"),caption:"".concat(tm,"__caption"),counter:"".concat(tm,"__counter"),states:{primary:"".concat(tm,"--primary"),secondary:"".concat(tm,"--secondary"),error:"".concat(tm,"--error"),success:"".concat(tm,"--success"),s:"".concat(tm,"--s"),m:"".concat(tm,"--m"),l:"".concat(tm,"--l"),focused:"".concat(tm,"--focused"),active:"".concat(tm,"--active"),disabled:"".concat(tm,"--disabled"),hasLabel:"".concat(tm,"--has-label"),hasCaption:"".concat(tm,"--has-caption")}};function tb(){return"undefined"==typeof window}(0,r.forwardRef)((e,t)=>{let{disabled:a,state:l,size:i="m",variant:o="primary",label:s,className:u,style:d,value:h="",rows:f=1,maxLength:p,caption:m,counter:g,placeholder:b,autoResize:v=!1,hasCaption:_=!1,dataQa:y,dataId:E,onChange:x,onFocus:N,onBlur:w,...j}=e,{value:T,show:C,hide:B}=(0,eg.u)(),k=(0,r.useRef)(null),H="s"!==i;tp(k.current,h,v);let S=(0,r.useMemo)(()=>!T||h||"s"!==i||b?T?b:"s"===i?s:b:s,[b,h,i,T,s]),R=(0,r.useMemo)(()=>f<1?1:f>5?5:f,[f]),A=(0,r.useMemo)(()=>p&&p>0?p:void 0,[p]),L=(0,r.useMemo)(()=>g&&!!A&&A>0&&"".concat(h.length,"/").concat(A),[g,A,h.length]);return(0,n.jsxs)("div",{className:(0,c.Z)(u,tg.root),style:d,ref:t,"data-qa":y,"data-id":E,children:[(0,n.jsx)("div",{className:(0,c.Z)(tg.container,tg.states[o],tg.states[i],{[tg.states.focused]:T,[tg.states.error]:"error"===l,[tg.states.success]:"success"===l,[tg.states.disabled]:!!a}),children:(0,n.jsxs)("label",{className:tg.labelWrapper,children:[H&&(0,n.jsx)("span",{className:(0,c.Z)(tg.label,{[tg.states.active]:T||!!h||!!b}),children:s}),(0,n.jsx)("textarea",{...j,"aria-disabled":a?"true":void 0,"aria-invalid":"error"===l?"true":void 0,className:(0,c.Z)(tg.field,{[tg.states.hasLabel]:H}),rows:R,maxLength:A,ref:k,value:h,placeholder:S,disabled:a,onFocus:e=>{C(),null==N||N(e)},onBlur:e=>{B(),null==w||w(e)},onChange:e=>{null==x||x(e.target.value||"",e)}})]})}),(_||m||L)&&(0,n.jsxs)("div",{className:tg.captionWrapper,children:[(_||m)&&(0,n.jsx)("div",{className:(0,c.Z)(tg.caption,{[tg.states.error]:"error"===l,[tg.states.success]:"success"===l,[tg.states.disabled]:!!a}),children:m}),L&&(0,n.jsx)("div",{className:tg.counter,children:L})]})]})}).displayName="Textarea",a(85285),a(20888),a(19722);let tv=tb()?r.useLayoutEffect:r.useEffect;function t_(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return tb()?t:window.matchMedia(e).matches}function ty(e){let{minWidth:t}=s.a[e];return function(e){let{defaultValue:t=!1,initializeWithValue:a=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},[n,l]=(0,r.useState)(()=>a?t_(e,t):null!=t&&t);function i(){l(t_(e))}return tv(()=>{let t=window.matchMedia(e);return i(),"function"==typeof t.addListener?t.addListener(i):t.addEventListener("change",i),()=>{"function"==typeof t.removeListener?t.removeListener(i):t.removeEventListener("change",i)}},[e]),n}("screen and (min-width: ".concat(t,"px)"))}Object.freeze({divider:(0,_.g)("dropdown-divider")});let tE=(0,_.g)("dropdown-group");Object.freeze({group:tE,title:"".concat(tE,"__title"),content:"".concat(tE,"__content")});let tx=(0,_.g)("dropdown-option"),tN=Object.freeze({option:tx,slot:"".concat(tx,"__slot"),iconSlot:"".concat(tx,"__slot--icon"),wrapper:"".concat(tx,"__wrapper"),label:"".concat(tx,"__label"),caption:"".concat(tx,"__caption"),states:{danger:"".concat(tx,"--danger"),success:"".concat(tx,"--success"),focused:"".concat(tx,"--focused"),disabled:"".concat(tx,"--disabled")}});function tw(e){let{as:t,label:a,caption:l,iconLeft:i,iconRight:o,prepend:s,append:u,variant:d="default",disabled:h=!1,focused:f=!1,className:p,onClick:m,...g}=e,b=(0,c.Z)(p,tN.option,{[tN.states.focused]:f,[tN.states.success]:"success"===d,[tN.states.danger]:"danger"===d,[tN.states.disabled]:!!h}),v=(0,r.useCallback)(e=>{e.preventDefault(),h||null==m||m(e)},[h,m]);return(0,n.jsxs)(t||"div",{...g,className:b,"aria-disabled":h,onClick:v,children:[s&&(0,n.jsx)("span",{className:tN.slot,children:s}),i&&(0,n.jsx)("span",{className:(0,c.Z)(tN.slot,tN.iconSlot),children:i}),(0,n.jsxs)("div",{className:tN.wrapper,children:[(0,n.jsx)("span",{className:tN.label,children:a}),l&&(0,n.jsx)("span",{className:tN.caption,children:l})]}),o&&(0,n.jsx)("span",{className:(0,c.Z)(tN.slot,tN.iconSlot),children:o}),u&&(0,n.jsx)("span",{className:tN.slot,children:u})]})}let tj=(e,t,a)=>e?"object"!=typeof e?a:"function"==typeof t?t(e):e[t]:void 0,tT=(0,_.g)("input-autocomplete"),tC={input:tT,pending:"".concat(tT,"__pending"),pendingIcon:"".concat(tT,"__pending-icon"),empty:"".concat(tT,"__empty"),emptyText:"".concat(tT,"__empty-text"),emptyDescription:"".concat(tT,"__empty-description"),options:"".concat(tT,"__options"),optionIcon:"".concat(tT,"__option-icon"),button:"".concat(tT,"__button"),states:{selected:"".concat(tT,"--selected")}};function tB(e){return r.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("defs",null,r.createElement("clipPath",{id:"a"},r.createElement("path",{fill:"#fff",fillOpacity:0,d:"M0 0h24v24H0z"}))),r.createElement("g",{clipPath:"url(#a)"},r.createElement("path",{d:"m10.53 16.53 8.25-8.25a.743.743 0 0 0 0-1.06.743.743 0 0 0-1.06 0L10 14.94l-3.72-3.72a.743.743 0 0 0-1.06 0 .743.743 0 0 0 0 1.06l4.25 4.25c.146.147.323.22.53.22a.722.722 0 0 0 .53-.22Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"})))}let tk=e=>{let{items:t,itemSize:a,renderItem:l,overscan:i=2,outerRef:o,itemsContainerClassname:s}=e,[c,u]=(0,r.useState)({start:0,end:0}),d=(0,r.useCallback)(()=>{if(!o.current)return;let e=o.current.clientHeight,n=o.current.scrollTop;u({start:Math.max(0,Math.floor(n/a)-i),end:Math.min(t.length,Math.ceil((n+e)/a)+i)})},[a,t.length,o,i]);(0,r.useLayoutEffect)(()=>{d()},[d]),(0,r.useEffect)(()=>{let e=o.current;if(!e)return;let t=()=>d();e.addEventListener("scroll",t);let a=new ResizeObserver(()=>d());return a.observe(e),()=>{e.removeEventListener("scroll",t),a.disconnect()}},[d,o]);let h=t.length*a+16,f=t.slice(c.start,c.end),p={position:"absolute",top:0,height:f.length*a,transform:"translateY(".concat(c.start*a,"px)"),width:"100%",margin:0};return(0,n.jsx)("div",{style:{position:"relative",height:h,width:"auto",margin:"-8px"},children:(0,n.jsx)("ul",{className:s,style:p,role:"listbox",children:f.map((e,t)=>l(e,c.start+t))},"options")})};function tH(e){let{inputValue:t,mappedOptions:a,pending:l=!1,optionsEmptyText:i="Нет результатов",optionsEmptyDescription:o,contentInnerRef:s,withVirtualize:u=!1,handleOptionClick:d}=e,h=(0,r.useId)();if(l)return(0,n.jsx)("div",{className:tC.pending,children:(0,n.jsx)(v.P,{className:tC.pendingIcon,children:(0,n.jsx)(g.S,{})})});if((null==t?void 0:t.length)&&!a.length)return(0,n.jsxs)("div",{className:tC.empty,children:[(0,n.jsx)("div",{className:tC.emptyText,children:i}),o&&(0,n.jsx)("div",{className:tC.emptyDescription,children:o})]});let f=e=>(0,n.jsx)(tw,{role:"option","aria-selected":e.selected,as:"li",disabled:e.disabled,label:e.label,caption:e.caption,focused:e.active,onClick:()=>d(e),append:(0,n.jsx)(v.P,{className:(0,c.Z)(tC.optionIcon,{[tC.states.selected]:e.selected}),style:{fontSize:24},children:(0,n.jsx)(tB,{})})},JSON.stringify(e.value));return u?(0,n.jsx)(tk,{outerRef:s,items:a,itemSize:40,renderItem:f,itemsContainerClassname:tC.options}):(0,n.jsx)("ul",{className:tC.options,id:h,role:"listbox",children:a.map(f)},"options")}(0,r.forwardRef)((e,t)=>{let{value:a,selectedValue:l,label:i,options:o=[],state:s,icon:c,rightLabel:u,desktopMaxHeight:d,pending:h=!1,buttonLabel:f="Выбрать",optionValue:p="value",optionLabel:b="label",optionCaption:v="caption",optionDisabled:_="disabled",variant:y="primary",size:E="m",disabled:x=!1,caption:N,hasCaption:w=!1,keepFocus:j=!1,optionsEmptyText:T="Нет результатов",optionsEmptyDescription:C,withVirtualize:B,onChange:k,onSelect:H,onFocus:S,onBlur:R,onKeydown:A,dataQa:L,dataId:I,className:M,style:D,...P}=e,[F,O]=(0,r.useState)(!1),[Z,U]=(0,r.useState)(""),G=(0,r.useRef)(null),z=(0,r.useRef)(null),Y=(0,r.useRef)(null),V=(0,r.useRef)(null),q=ty("m");(0,r.useImperativeHandle)(t,()=>z.current);let K=(0,r.useMemo)(()=>q?F&&(o.length>0||!!Z||h):F,[Z,q,F,o.length,h]),$=(0,r.useMemo)(()=>o.map((e,t)=>{let a=tj(e,p,e),n=tj(l,p,l);return{index:t,value:a,label:tj(e,b,e),caption:tj(e,v),disabled:tj(e,_),selected:n===a,original:e}}),[v,_,b,p,o,l]),X=(0,r.useMemo)(()=>$.find(e=>{let{selected:t}=e;return t}),[$]);(0,r.useEffect)(()=>{if(!a&&!l){U("");return}a&&U(a)},[a]),(0,r.useEffect)(()=>{l&&U(tj(l,b,l))},[]),(0,r.useEffect)(()=>{F||(X?W(X.label):Q())},[F]);let W=e=>{U(e),null==k||k(e)},Q=e=>{null==H||H(e)},J=()=>{O(!0)},ee=()=>{O(!1)},et=e=>{null==R||R(e)};return(0,n.jsx)("div",{ref:t,className:tC.input,"data-id":I,"data-qa":L,children:(0,n.jsxs)(tO,{opened:K,onToggle:O,width:"inherit",placement:"bottom",mobileFullHeight:!0,desktopMaxHeight:d,footer:q||!l?void 0:(0,n.jsx)(g.B,{label:f,disabled:!l,className:tC.button,onClick:()=>{ee()}}),heading:q?void 0:(0,n.jsx)(eE.I,{inputRef:Y,className:M,style:D,value:Z,label:i,rightLabel:u,icon:c,state:s,caption:N,hasCaption:w,onChange:W,onBlur:et,...P}),dataQa:(0,m.g)("".concat(L,"-dropdown"),!!L),children:[(0,n.jsx)(tK,{asChild:!0,children:(0,n.jsx)(eE.I,{value:Z,label:i,rightLabel:u,icon:c,size:E,variant:y,state:s,disabled:x,caption:N,hasCaption:w,onClick:void 0,onChange:W,onFocus:e=>{J(),q||(e.preventDefault(),setTimeout(()=>{var e;null==(e=Y.current)||e.focus()},100)),null==S||S(e)},onBlur:et,onKeyDown:e=>{"Tab"===e.key&&ee(),null==A||A(e)},ref:G,inputRef:z,...P,dataQa:(0,m.g)("".concat(L,"-dropdown-input"),!!L)})}),(0,n.jsx)(tG,{contentInnerRef:V,children:(0,n.jsx)(tH,{inputValue:Z,mappedOptions:$,pending:h,optionsEmptyText:T,optionsEmptyDescription:C,handleOptionClick:e=>{var t;if(W(e.label),Q(e.original),q){if(j){null==(t=z.current)||t.focus();return}ee()}},contentInnerRef:V,withVirtualize:B})})]})})}).displayName="InputAutocomplete";let tS="dd.MM.yyyy",tR=(e,t)=>((e<1||e>12)&&console.warn("Месяц должен быть в диапазоне от 1 до 12"),new Date(t,e,0).getDate()),tA=e=>{let[t,a,n]=e.split(".").map(Number),r=tR(a,n||1900);return[(t>r?r:t).toString().padStart(2,"0"),a.toString().padStart(2,"0"),n.toString().padStart(4,"0").substring(0,4)].join(".")};(0,r.forwardRef)((e,t)=>{let{value:a=null,autoFocus:l=!1,onChange:i,onKeyDown:o,...s}=e,[c,u]=(0,r.useState)(""),{ref:d,setValue:h}=(0,ex.Cj)({mask:Date,autofix:!0,pattern:"d.`m.`Y",validate:()=>{},placeholderChar:" ",prepare:e=>!e||e.length<10||e.includes(" ")?e:tA(e),overwrite:!1,blocks:{d:{mask:ex.LV.MaskedRange,from:1,to:31,maxLength:2},m:{mask:ex.LV.MaskedRange,from:1,to:12,maxLength:2},Y:{mask:ex.LV.MaskedRange,from:1900,to:2099,maxLength:4}}},{onAccept:e=>{if(e.length<10||e.includes(" "))null!==a&&(null==i||i(null,""));else{let t=tA(e),a=(0,eN.Z)(t,tS,new Date);if((0,ew.Z)(a)){null==i||i(a,t),u(t);return}}u(e)}});return(0,r.useEffect)(()=>{if(a instanceof Date&&(0,ew.Z)(a)){let e=(0,ej.Z)(a,tS);h(e),u(e)}else"string"==typeof a&&(0,eT.Z)(a,"dd.mm.yyyy")&&(h(a),u(a))},[a,h]),(0,r.useImperativeHandle)(t,()=>d.current),(0,n.jsx)(eE.I,{...s,autoFocus:l,inputRef:d,value:c,inputMode:"numeric",onKeyDown:e=>{("Escape"===e.key||"Esc"===e.key)&&(e.preventDefault(),u(""),h(""),null==i||i(null,"")),null==o||o(e)},maskPlaceholder:"дд.мм.гггг"})}).displayName="InputDate";let tL=(0,r.forwardRef)((e,t)=>{let{maskOpts:a,value:l="",autoFocus:i=!1,onChange:o,onKeyDown:s,...c}=e,[u,d]=(0,r.useState)(""),{ref:h,setValue:f,unmaskedValue:p}=(0,ex.Cj)(a,{onAccept:(e,t)=>{d(e),null==o||o(t.unmaskedValue,e)}});return(0,r.useEffect)(()=>{l!==p&&(f(l),d(l))},[l,f,p]),(0,r.useImperativeHandle)(t,()=>h.current),(0,n.jsx)(eE.I,{...c,autoFocus:i,inputRef:h,value:u,onKeyDown:e=>{("Escape"===e.key||"Esc"===e.key)&&(e.preventDefault(),f(""),d(""),null==o||o("","")),null==s||s(e)}})});tL.displayName="InputMasked",(0,r.forwardRef)((e,t)=>{let{value:a="",autoFocus:l=!1,onChange:i,onKeyDown:o,dataQa:s,dataId:c,...u}=e,[d,h]=(0,r.useState)(""),{ref:f,unmaskedValue:p,setValue:m}=(0,ex.Cj)({mask:"+{7} (000) 000-00-00"},{onAccept:(e,t)=>{h(e),null==i||i(t.unmaskedValue,e)}});return(0,r.useEffect)(()=>{a!==p&&m(a)},[a,m,p]),(0,r.useImperativeHandle)(t,()=>f.current),(0,n.jsx)(eE.I,{...u,autoFocus:l,dataQa:s,dataId:c,inputRef:f,value:d,maskPlaceholder:"+7 (000) 000-00-00",onKeyDown:e=>{("Escape"===e.key||"Esc"===e.key)&&(e.preventDefault(),m(""),h(""),null==i||i("","")),null==o||o(e)}})}).displayName="InputTel";let tI=(0,_.g)("modal"),tM=Object.freeze({modal:tI,overlay:"".concat(tI,"__overlay"),withoutFooter:"".concat(tI,"--without-footer"),noContent:"".concat(tI,"--no-content"),open:"".concat(tI,"--open"),overlayOpen:"".concat(tI,"__overlay--open"),height:{medium:"".concat(tI,"--height-medium"),full:"".concat(tI,"--height-full")},size:{s:"".concat(tI,"--s"),m:"".concat(tI,"--m"),l:"".concat(tI,"--l"),xl:"".concat(tI,"--xl")},header:"".concat(tI,"__header"),headerText:"".concat(tI,"__header-text"),headerTitle:"".concat(tI,"__header-title"),headerSubtitle:"".concat(tI,"__header-subtitle"),closeIcon:"".concat(tI,"__close-icon"),backButton:"".concat(tI,"__back-button"),backButtonText:"".concat(tI,"__back-button-text"),headerStates:{centered:"".concat(tI,"__header--centered"),withLongBtn:"".concat(tI,"__header--with-long-btn"),defaultHeight:"".concat(tI,"__header--default-height")},content:"".concat(tI,"__content"),withoutPadding:"".concat(tI,"__content--without-padding"),withScroll:"".concat(tI,"__content--with-scroll"),footer:"".concat(tI,"__footer"),footerContainer:"".concat(tI,"__footer-container"),footerBtn:"".concat(tI,"__footer-btn"),footerDescription:"".concat(tI,"__footer-description"),divider:"".concat(tI,"__divider"),dividerTop:"".concat(tI,"__divider--top"),dividerBottom:"".concat(tI,"__divider--bottom")}),tD=e=>{let{primaryBtnText:t,onPrimary:a,secondaryBtnText:r,onSecondary:l,thirdBtnText:i,onThird:o,description:s,children:u,noContent:d,dataQa:h}=e;return(0,n.jsxs)("div",{"data-qa":(0,m.g)("".concat(h,"-footer"),!!h),className:(0,c.Z)(tM.footer,{[tM.noContent]:d}),children:[!d&&(0,n.jsx)("div",{className:(0,c.Z)(tM.divider,tM.dividerTop)}),u||(0,n.jsxs)("div",{className:tM.footerContainer,children:[i&&(0,n.jsx)(g.B,{dataQa:(0,m.g)("".concat(h,"-footer-third-btn"),!!h),label:i,variant:"secondary",size:"s",className:tM.footerBtn,onClick:o}),r&&(0,n.jsx)(g.B,{dataQa:(0,m.g)("".concat(h,"-footer-secondary-btn"),!!h),label:r,variant:"secondary",size:"s",className:tM.footerBtn,onClick:l}),t&&(0,n.jsx)(g.B,{dataQa:(0,m.g)("".concat(h,"-footer-primary-btn"),!!h),label:t,size:"s",className:tM.footerBtn,onClick:a})]}),s&&(0,n.jsx)("span",{"data-qa":(0,m.g)("".concat(h,"-footer-description"),!!h),className:tM.footerDescription,children:s})]})},tP=e=>{let{text:t,title:a,subtitle:r,align:l="left",backBtnVariant:i,onBack:o,onClose:s,noContent:u,dataQa:h,withoutCloseBtn:f=!1}=e;return(0,n.jsxs)("div",{"data-qa":(0,m.g)("".concat(h,"-header"),!!h),className:(0,c.Z)(tM.header,{[tM.headerStates.centered]:"center"===l||!!i,[tM.headerStates.withLongBtn]:"long"===i,[tM.headerStates.defaultHeight]:!t&&!a&&!r}),children:[t&&(0,n.jsx)("span",{"data-qa":(0,m.g)("".concat(h,"-header-text"),!!h),className:tM.headerText,children:t}),a&&(0,n.jsx)("span",{"data-qa":(0,m.g)("".concat(h,"-header-title"),!!h),className:tM.headerTitle,children:a}),r&&(0,n.jsx)("span",{"data-qa":(0,m.g)("".concat(h,"-header-subtitle"),!!h),className:tM.headerSubtitle,children:r}),!f&&(0,n.jsx)("button",{"data-qa":(0,m.g)("".concat(h,"-header-close"),!!h),type:"button",className:tM.closeIcon,onClick:s,children:(0,n.jsx)(v.P,{children:(0,n.jsx)(d,{})})}),i&&(0,n.jsxs)("button",{"data-qa":(0,m.g)("".concat(h,"-header-back"),!!h),type:"button",className:tM.backButton,onClick:o,children:[(0,n.jsx)(v.P,{children:(0,n.jsx)(j.S,{})}),"long"===i&&(0,n.jsx)("span",{className:tM.backButtonText,children:"Назад"})]}),!u&&(0,n.jsx)("div",{className:(0,c.Z)(tM.divider,tM.dividerBottom)})]})},tF=(0,r.forwardRef)((e,t)=>{let{header:a,footer:i,open:o=!1,size:s="m",noPadding:u=!1,height:d="full",onClose:h,children:f,className:p,style:g,dataQa:b,dataId:v,dismissDisabled:_=!1,...y}=e,[E,x]=(0,r.useState)(!1),[N,w]=(0,r.useState)(!1),j=(0,r.useRef)(null);(0,r.useEffect)(()=>()=>{j.current&&cancelAnimationFrame(j.current)},[]),(0,r.useEffect)(()=>{if(j.current&&cancelAnimationFrame(j.current),o)return x(!0),j.current=requestAnimationFrame(()=>{requestAnimationFrame(()=>{w(!0)})}),()=>{j.current&&cancelAnimationFrame(j.current)};{w(!1);let e=setTimeout(()=>{x(!1)},300);return()=>{clearTimeout(e),j.current&&cancelAnimationFrame(j.current)}}},[o]);let T=()=>{w(!1);let e=setTimeout(()=>{null==h||h(),x(!1)},300);return()=>clearTimeout(e)},{context:C}=(0,l.YF)({open:E,onOpenChange:e=>{e||T()}}),B=(0,l.bQ)(C,{outsidePressEvent:"mousedown",outsidePress:!_,escapeKey:!_}),k=(0,l.qs)(C,{role:"dialog"}),{getFloatingProps:H}=(0,l.NI)([B,k]),[S,R]=(0,r.useState)(!1),A=(0,r.useCallback)(e=>{e&&new ResizeObserver(()=>{R(e.scrollHeight>e.clientHeight)}).observe(e)},[]);return E?(0,n.jsx)(l.ll,{id:ta.M,children:(0,n.jsx)(l.y0,{lockScroll:!0,className:(0,c.Z)(tM.overlay,{[tM.overlayOpen]:N}),children:(0,n.jsx)(l.wD,{context:C,children:(0,n.jsxs)("div",{ref:t,className:(0,c.Z)(tM.modal,tM.size[s],tM.height[d],{[tM.withoutFooter]:!(null==i?void 0:i.primaryBtnText)&&!(null==i?void 0:i.children),[tM.open]:N},p),style:g,...H(),...y,"data-id":v,"data-qa":b,children:[(0,n.jsx)(tP,{...a,dataQa:b,noContent:!f,onClose:T}),f&&(0,n.jsx)("div",{"data-qa":(0,m.g)("".concat(b,"-content"),!!b),ref:A,className:(0,c.Z)(tM.content,{[tM.withoutFooter]:!(null==i?void 0:i.primaryBtnText)&&!(null==i?void 0:i.children),[tM.withoutPadding]:u,[tM.withScroll]:S}),children:f}),((null==i?void 0:i.primaryBtnText)||(null==i?void 0:i.children))&&(0,n.jsx)(tD,{...i,dataQa:b,noContent:!f})]})})})}):null});tF.displayName="Modal",(0,_.g)("select");let tO=e=>{let{children:t,...a}=e,s=function(){let{placement:e="bottom",width:t="auto",desktopMaxHeight:a,mobileFullHeight:n=!1,title:s,description:c,opened:u,onToggle:d,heading:h,footer:f,dataQa:p,dataId:m}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[g,b]=(0,r.useState)(!1),v=null!=u?u:g,_=null!=d?d:b,y=(0,l.YF)({open:v,onOpenChange:_,placement:e,whileElementsMounted:i.Me,middleware:[(0,o.cv)(8),(0,i.RR)({fallbackAxisSideDirection:"none"}),(0,i.uY)({crossAxis:!1,padding:8})]});return(0,r.useMemo)(()=>({open:v,setOpen:_,...y,width:t,desktopMaxHeight:a,title:s,description:c,heading:h,footer:f,mobileFullHeight:n,dataQa:p,dataId:m}),[v,_,y,t,a,s,c,h,f,n,p,m])}(a);return(0,n.jsx)(tz.Provider,{value:s,children:t})};tO.displayName="Dropdown";let tZ=(0,_.g)("dropdown"),tU=Object.freeze({dropdown:tZ,overlay:"".concat(tZ,"__overlay"),mobileHeading:"".concat(tZ,"__mobile-heading"),heading:"".concat(tZ,"__heading"),title:"".concat(tZ,"__title"),description:"".concat(tZ,"__description"),content:"".concat(tZ,"__content"),contentInner:"".concat(tZ,"__content-inner"),footer:"".concat(tZ,"__footer"),close:"".concat(tZ,"__close"),closeIcon:"".concat(tZ,"__close-icon"),states:{auto:"".concat(tZ,"--auto"),fullHeight:"".concat(tZ,"--full-height")}}),tG=(0,r.forwardRef)((e,t)=>{var a,i;let{style:o,contentInnerRef:s,...u}=e,{open:d,context:h,width:f,floatingStyles:p,refs:g,heading:b,title:v,description:_,footer:y,desktopMaxHeight:E,mobileFullHeight:x,dataQa:N,dataId:w,setOpen:j}=tY(),T=(0,l.qq)([g.setFloating,t]),C=(0,r.useRef)(null),B=ty("s"),{isMounted:k,styles:H}=(0,l.Y_)(h,{initial:{opacity:.2,transform:B?"translate(0, 0)":"translate(0, 100%)"},open:{opacity:1,transform:"translate(0, 0)"},duration:{open:300,close:100}});if((0,r.useEffect)(()=>{let e=e=>{let{target:t}=e;!d||[C.current,g.reference.current].some(e=>e===t||e&&e.contains(t))||j(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[d,g.reference,j]),!k)return null;let S=(0,n.jsxs)("div",{ref:C,className:(0,c.Z)(tU.dropdown,{[tU.states.fullHeight]:x}),role:B?"popup":"dialog","aria-modal":!B,"data-id":w,"data-qa":N,style:H,children:[(0,n.jsx)(tq,{title:v,description:_,heading:b,isDesktop:B,setOpen:j,"data-qa":(0,m.g)("".concat(N,"-header"),!!N)}),(0,n.jsx)("div",{...u,className:tU.content,"data-qa":(0,m.g)("".concat(N,"-content"),!!N),children:(0,n.jsx)("div",{className:tU.contentInner,style:{maxHeight:B?E:void 0},ref:s,children:u.children})}),(0,n.jsx)(tV,{"data-qa":(0,m.g)("".concat(N,"-header"),!!N),footer:y})]});if(B){let e;return"inherit"===f?e=null==(i=null==(a=null==g?void 0:g.reference)?void 0:a.current)?void 0:i.clientWidth:"auto"===f?e=void 0:"number"==typeof f&&(e=f),(0,n.jsx)("div",{className:(0,c.Z)(tU.overlay,{[tU.states.auto]:"auto"===f}),style:{...o,...p,...void 0!==e&&{width:e}},ref:T,children:S})}return(0,n.jsx)(l.ll,{id:ta.D,children:(0,n.jsx)(l.y0,{lockScroll:!0,className:(0,c.Z)(tU.overlay,{[tU.states.auto]:"auto"===f}),style:o,ref:T,children:S})})});tG.displayName="DropdownContent";let tz=(0,r.createContext)(null),tY=()=>{let e=(0,r.useContext)(tz);if(null===e)throw Error("Dropdown components must be wrapped in <Dropdown />");return e},tV=e=>{let{footer:t,...a}=e;return t?(0,n.jsx)("div",{...a,className:tU.footer,children:t}):null};tV.displayName="DropdownFooter";let tq=e=>{let{title:t,description:a,heading:l,isDesktop:i,setOpen:o,...s}=e,c=(0,r.useMemo)(()=>l||(i&&(t||a)?(0,n.jsxs)(n.Fragment,{children:[t&&(0,n.jsx)("div",{className:tU.title,children:t}),a&&(0,n.jsx)("div",{className:tU.description,children:a})]}):null),[a,l,i,t]);return(0,n.jsxs)(n.Fragment,{children:[!i&&(0,n.jsxs)("div",{...s,className:tU.mobileHeading,children:[t&&(0,n.jsx)("div",{className:tU.title,children:t}),a&&(0,n.jsx)("div",{className:tU.description,children:a}),(0,n.jsx)("button",{className:tU.close,type:"button",tabIndex:-1,"aria-label":"Закрыть окно",onClick:()=>o(!1),children:(0,n.jsx)(v.P,{"aria-hidden":"true",className:tU.closeIcon,style:{display:"inline-flex"},children:(0,n.jsx)(d,{})})})]}),c&&(0,n.jsx)("div",{...s,className:tU.heading,children:c})]})};tq.displayName="DropdownHeader";let tK=(0,r.forwardRef)(function(e,t){let{children:a,asChild:i=!1,disabled:o,...s}=e,{refs:c,open:u,setOpen:d}=tY(),h=a.ref,f=(0,l.qq)([c.setReference,t,h]),p=(0,r.useCallback)(()=>{o||d(!u)},[o,u,d]);return i&&(0,r.isValidElement)(a)?(0,r.cloneElement)(a,{ref:f,disabled:o,onClick:p,...s,...a.props}):(0,n.jsx)("button",{ref:f,onClick:p,disabled:o,...s,type:"button",children:a})});tK.displayName="DropdownTrigger"},47300:function(e,t,a){"use strict";a.d(t,{F:function(){return c}});var n=a(57437),r=a(61994),l=a(99218),i=a(40997);a(95870);let o=(0,i.g)("form-field"),s=Object.freeze({formField:o,labelWrapper:`${o}__label-wrapper`,label:`${o}__label`,description:`${o}__description`}),c=({label:e,description:t,caption:a,captionState:i,children:o,hasCaption:c,className:u,style:d,dataQa:h,dataId:f,...p})=>(0,n.jsxs)("div",{className:(0,r.Z)(s.formField,u),style:d,...p,"data-id":f,"data-qa":h,children:[(e||t)&&(0,n.jsxs)("div",{className:s.labelWrapper,children:[(0,n.jsx)("span",{className:s.label,children:e}),(0,n.jsx)("span",{className:s.description,children:t})]}),o,(c||a)&&(0,n.jsx)(l.C,{text:a,state:i})]});c.displayName="FormField"},5451:function(e,t,a){"use strict";a.d(t,{I:function(){return p}});var n=a(57437),r=a(2265),l=a(41830),i=a(61994),o=a(99218);a(52586);var s=a(19945),c=a(54387),u=a(40997);a(1870);let d=function(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];return function(){for(var e=arguments.length,a=Array(e),n=0;n<e;n++)a[n]=arguments[n];t.forEach(e=>{null==e||e(...a)})}},h=(0,u.g)("input-base"),f={wrapper:h,input:"".concat(h,"__input"),container:"".concat(h,"__container"),label:"".concat(h,"__label"),field:"".concat(h,"__field"),rightLabel:"".concat(h,"__right-label"),caption:"".concat(h,"__caption"),placeholder:{visible:"".concat(h,"__placeholder"),hidden:"".concat(h,"__hidden")},states:{primary:"".concat(h,"--primary"),secondary:"".concat(h,"--secondary"),error:"".concat(h,"--error"),success:"".concat(h,"--success"),s:"".concat(h,"--s"),m:"".concat(h,"--m"),l:"".concat(h,"--l"),focused:"".concat(h,"--focused"),disabled:"".concat(h,"--disabled"),active:"".concat(h,"--active"),hasLabel:"".concat(h,"--has-label"),accent:"".concat(h,"--accent")}},p=(0,r.forwardRef)((e,t)=>{let{icon:a,rightLabel:u,disabled:h,state:p,size:m="m",variant:g="primary",label:b,value:v,placeholder:_,maskPlaceholder:y,autoFocus:E=!1,maskPlaceholderVariant:x="default",caption:N,type:w="text",inputMode:j="text",hasCaption:T,className:C,style:B,dataQa:k,dataId:H,inputRef:S,onChange:R,onFocus:A,onBlur:L,onKeyDown:I,...M}=e,D=(0,r.useId)(),{value:P,show:F,hide:O}=(0,c.u)(),Z=(0,r.useRef)(null),U=(0,l.qq)([S,Z]),G=(0,r.useMemo)(()=>P||!!v||!!_,[v,P,_]),z=(0,r.useCallback)(()=>{var e;null==(e=Z.current)||e.focus()},[]),Y=(0,r.useMemo)(()=>{var e;if(!y)return null;let t={hidden:null!=v?v:"",visible:y.substring(null!==(e=null==v?void 0:v.length)&&void 0!==e?e:0)};return y.length===(null==v?void 0:v.length)?null:t},[y,v]);return(0,r.useEffect)(()=>{var e,t,a,n;if(!E)return;let r=null!==(n=null==(e=Z.current)?void 0:e.value.length)&&void 0!==n?n:0;null==(t=Z.current)||t.focus(),null==(a=Z.current)||a.setSelectionRange(r,r)},[E]),(0,n.jsxs)("div",{className:(0,i.Z)(C,f.wrapper),style:B,"data-qa":k,"data-id":H,children:[(0,n.jsxs)("div",{className:(0,i.Z)(f.input,f.states[g],f.states[m],{[f.states.focused]:P,[f.states.error]:"error"===p,[f.states.success]:"success"===p,[f.states.disabled]:!!h,[f.states.hasLabel]:b}),onClick:z,ref:t,children:[(0,n.jsxs)("label",{htmlFor:D,className:f.container,children:[b&&(0,n.jsx)("span",{className:(0,i.Z)(f.label,{[f.states.active]:G,[f.states.s]:"s"===m,[f.states.disabled]:h,[f.states.error]:"error"===p,[f.states.success]:"success"===p}),children:b}),Y&&!!v&&(0,n.jsxs)("div",{className:(0,i.Z)(f.placeholder.visible,{[f.states.accent]:"accent"===x}),children:[Y.hidden&&(0,n.jsx)("span",{className:f.placeholder.hidden,children:Y.hidden}),Y.visible]}),(0,n.jsx)("input",{...M,id:D,ref:U,className:(0,i.Z)(f.field,{[f.states.s]:"s"===m,[f.states.hasLabel]:b,[f.states.disabled]:h}),type:w,inputMode:j,autoComplete:"off",placeholder:_,value:v,disabled:h,onChange:e=>{null==R||R(e.target.value,e)},onFocus:d(F,A),onBlur:d(O,L),onKeyDown:e=>{("Escape"===e.key||"Esc"===e.key)&&(e.preventDefault(),null==R||R("",{target:{value:""}})),null==I||I(e)}})]}),u&&(0,n.jsx)("div",{className:(0,i.Z)(f.rightLabel,{[f.states.disabled]:h}),children:u}),a]}),(T||N)&&(0,n.jsx)(o.C,{dataQa:(0,s.g)("".concat(k,"-caption"),!!k),className:(0,i.Z)(f.caption,{[f.states.disabled]:h}),state:p,withoutIcon:!0,children:N})]})});p.displayName="InputBase"},69127:function(e,t,a){"use strict";a(57437),a(61994);var n=a(40997);a(72216);let r=(0,n.g)("loader");Object.freeze({loader:r,variant:{primary:`${r}--primary`,purple:`${r}--purple`,accent:`${r}--accent`,white:`${r}--white`},size:{s:`${r}--s`,m:`${r}--m`,l:`${r}--l`}})},5608:function(e,t,a){"use strict";a.d(t,{P:function(){return m}});var n=a(57437),r=a(2265),l=a(61994),i=a(10635),o=a(3946),s=a(14988),c=a(40997);function u(e){return r.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M5.997 10.746c-.686 0-1.252.559-1.247 1.254A1.251 1.251 0 0 0 6 13.246c.69 0 1.25-.56 1.25-1.25 0-.692-.564-1.25-1.253-1.25Zm6 0c-.686 0-1.252.559-1.247 1.254A1.251 1.251 0 0 0 12 13.246c.69 0 1.25-.56 1.25-1.25 0-.692-.564-1.25-1.253-1.25ZM16.75 12a1.247 1.247 0 0 1 1.247-1.254c.69 0 1.253.558 1.253 1.25 0 .69-.56 1.25-1.25 1.25A1.252 1.252 0 0 1 16.75 12Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}a(66085);let d=(e,t)=>Array.from({length:t-e+1},(t,a)=>a+e),h=e=>{let{totalCount:t,pageSize:a,siblingCount:n=1,currentPage:l}=e;return(0,r.useMemo)(()=>{let e=Math.ceil(t/a);if(n+5>=e)return d(1,e);let r=Math.max(l-n,1),i=Math.min(l+n,e),o=r>2,s=i<e-1;return!o&&s?[...d(1,2+2*n),"...",e]:o&&!s?[1,"...",...d(e-(2+2*n)+1,e)]:o&&s?[1,"...",...d(r,i),"...",e]:void 0},[t,a,n,l])},f=(0,c.g)("pagination"),p=Object.freeze({pagination:f,bullet:"".concat(f,"--bullet"),dots:"".concat(f,"__dots"),link:"".concat(f,"__link"),active:"".concat(f,"__link--active"),controls:"".concat(f,"__link--controls"),big:"".concat(f,"__link--big"),prev:"".concat(f,"__link--prev"),next:"".concat(f,"__link--next"),disabled:"".concat(f,"__link--disabled")}),m=e=>{let{isControl:t=!1,onPageChange:a,totalCount:c,siblingCount:d=1,currentPage:f,pageSize:m,className:g,style:b,dataId:v,dataQa:_,sizePaginationBtn:y="small",hidePaginationControl:E=!1,renderLinkComponent:x,link:N}=e,w=h({currentPage:f,totalCount:c,siblingCount:d,pageSize:m});if(0===f||(null==w?void 0:w.length)<2)return null;let j=w[(null==w?void 0:w.length)-1],T=null==x?void 0:x(f+1),C=null==x?void 0:x(f-1),B=(0,l.Z)(p.controls,p.prev,{[p.big]:"big"===y,[p.link]:"small"===y,[p.disabled]:1===f}),k=(0,l.Z)(p.controls,p.next,{[p.big]:"big"===y,[p.link]:"small"===y,[p.disabled]:f===+j}),H=e=>(0,l.Z)(p.link,{[p.active]:e===f}),S=(0,n.jsx)(s.P,{style:{fontSize:24},children:(0,n.jsx)(o.S,{})}),R=(0,n.jsx)(s.P,{style:{fontSize:24},children:(0,n.jsx)(i.S,{})});return t?(0,n.jsx)("div",{role:"navigation","aria-label":"Навигация по страницам",className:(0,l.Z)(p.pagination,p.bullet),"data-id":v,"data-qa":_,children:Array.from({length:c/m},(e,t)=>t+1).map((e,t)=>{let l=null==x?void 0:x(+e),i=H(+e);return(0,r.isValidElement)(l)?(0,r.cloneElement)(l,{key:t,className:i}):(0,n.jsx)("a",{className:i,href:N?"".concat(N).concat(+e):"#","aria-current":f===+e?"true":"false","aria-label":"".concat(+e),onClick:t=>{t.preventDefault(),null==a||a(+e)}},t)})}):(0,n.jsxs)("div",{role:"navigation","aria-label":"Навигация по страницам",className:(0,l.Z)(p.pagination,g),style:b,"data-id":v,"data-qa":_,children:[(null==w?void 0:w.length)&&!E?(0,r.isValidElement)(C)?(0,r.cloneElement)(C,{children:R,className:B}):(0,n.jsx)("a",{href:N?"".concat(N).concat(f-1):"#",className:B,onClick:e=>{e.preventDefault(),null==a||a(f-1)},children:R}):null,(null==w?void 0:w.length)&&(null==w?void 0:w.map((e,t)=>{if("..."===e)return(0,n.jsx)("div",{className:(0,l.Z)(p.dots),children:(0,n.jsx)(s.P,{children:(0,n.jsx)(u,{})})},t);let i=null==x?void 0:x(+e),o=H(+e);return(0,r.isValidElement)(i)?(0,r.cloneElement)(i,{children:e,key:t,className:o}):(0,n.jsx)("a",{className:o,"aria-current":f===+e?"true":"false","aria-label":"".concat(+e),href:N?"".concat(N).concat(+e):"#",onClick:t=>{t.preventDefault(),null==a||a(+e)},children:e},t)})),(null==w?void 0:w.length)&&!E?(0,r.isValidElement)(T)?(0,r.cloneElement)(T,{children:S,className:k}):(0,n.jsx)("a",{href:N?"".concat(N).concat(f+1):"#",className:k,onClick:e=>{e.preventDefault(),null==a||a(f+1)},children:S}):null]})};m.displayName="Pagination"},18765:function(e,t,a){"use strict";a(57437);var n=(a(61994),a(40997));a(33435);let r=(0,n.g)("progress-bar");Object.freeze({progressBar:r,rounded:`${r}-rounded`,indicator:`${r}__indicator`,text:`${r}__text`,animationCircle:`${r}__animation-circle`})},89015:function(e,t,a){"use strict";a.d(t,{R:function(){return f}});var n=a(57437),r=a(2265),l=a(61994),i=a(46201),o=a(99218),s=a(9497),c=a(14988),u=a(40997);a(85385);let d=(0,u.g)("radio"),h=Object.freeze({radio:d,input:"".concat(d,"__input"),marker:"".concat(d,"__marker"),wrapper:"".concat(d,"__wrapper"),label:"".concat(d,"__label"),caption:"".concat(d,"__caption"),icon:"".concat(d,"__icon"),iconButton:"".concat(d,"__icon-button"),states:{error:"".concat(d,"--error"),disabled:"".concat(d,"--disabled"),inverted:"".concat(d,"--inverted")},sizes:{xs:"".concat(d,"--xs"),s:"".concat(d,"--s"),m:"".concat(d,"--m")},variants:{primary:"".concat(d,"--primary"),secondary:"".concat(d,"--secondary")}}),f=(0,r.forwardRef)((e,t)=>{let{value:a,variant:u="primary",checked:d=!1,state:f="default",label:p,disabled:m=!1,caption:g,className:b,style:v,icon:_,withIcon:y=!1,size:E="m",inverted:x=!1,children:N,inputRef:w,onChange:j,onIconClick:T,dataQa:C,dataId:B,...k}=e,H=(0,r.useId)(),S=N||p;return(0,n.jsxs)("label",{ref:t,htmlFor:H,"data-marker-label":"",className:(0,l.Z)(b,h.radio,{[h.states.disabled]:m,[h.states.inverted]:x,[h.states.error]:"error"===f,[h.sizes[E]]:!0,[h.variants[u]]:!0}),style:v,"data-id":B,"data-qa":C,children:[(0,n.jsx)("input",{id:H,value:a,checked:d,className:h.input,type:"radio",disabled:m,onChange:e=>{null==j||j(e.target.value,e)},ref:w,...k}),(0,n.jsx)("span",{className:h.marker,children:(0,n.jsx)(s.C,{type:"radio",checked:d,inverted:x,state:f,disabled:m})}),S&&(0,n.jsxs)("span",{className:h.wrapper,children:[(0,n.jsx)("span",{className:h.label,children:S}),g&&(0,n.jsx)(o.C,{className:h.caption,withoutIcon:!0,children:g})]}),y&&(0,n.jsx)("button",{type:"button",className:(0,l.Z)(h.iconButton),onClick:m?void 0:T,children:(0,n.jsx)(c.P,{className:(0,l.Z)(h.icon),children:_?(0,n.jsx)(n.Fragment,{children:_}):(0,n.jsx)(i.S,{})})})]})});f.displayName="Radio"},31500:function(e,t,a){"use strict";a(57437),a(61994);var n=a(40997);a(41941);let r=(0,n.g)("row"),l=(e,t,a)=>`${r}--gutter-${e}-${t}-${a}`;Object.freeze({row:r,state:{reverse:`${r}--reverse`,gutter:(e,t="xs")=>Array.isArray(e)?[l(t,e[0],"h"),l(t,e[1],"v")].join(" "):l(t,e,"h")}})},58613:function(e,t,a){"use strict";a(57437),a(61994);var n=a(40997);a(31610);let r=(0,n.g)("skeleton");Object.freeze({skeleton:r,states:{inline:`${r}--inline`,rounded:`${r}--rounded`,inverted:`${r}--inverted`,suspend:`${r}--suspend`}})},25993:function(e,t,a){"use strict";a.d(t,{T:function(){return c}});var n=a(57437),r=a(2265),l=a(61994),i=a(40997);a(1417);let o=(0,i.g)("tag"),s=Object.freeze({tag:o,label:"".concat(o,"__label"),icon:"".concat(o,"__icon"),rounded:"".concat(o,"--rounded"),variant:{primary:"".concat(o,"--primary"),secondary:"".concat(o,"--secondary"),red:"".concat(o,"--red"),green:"".concat(o,"--green"),orange:"".concat(o,"--orange"),purple:"".concat(o,"--purple"),outline:"".concat(o,"--outline")},size:{s:"".concat(o,"--s"),m:"".concat(o,"--m"),l:"".concat(o,"--l")},iconMargin:{left:"".concat(o,"__icon--left"),right:"".concat(o,"__icon--right")}}),c=(0,r.forwardRef)((e,t)=>{let{label:a,size:r="m",rounded:i,variant:o="primary",iconLeft:c,iconRight:u,onIconLeftClick:d,onIconRightClick:h,className:f,style:p,dataQa:m,dataId:g,...b}=e;return(0,n.jsx)(n.Fragment,{children:a&&(0,n.jsxs)("div",{ref:t,className:(0,l.Z)(s.tag,s.variant[o],s.size[r],{[s.rounded]:i},f),style:p,...b,"data-id":g,"data-qa":m,children:[c&&(0,n.jsx)("button",{type:"button",className:(0,l.Z)(s.icon,s.iconMargin.left,{[s.size.l]:"l"===r}),onClick:e=>null==d?void 0:d(e),disabled:!d,children:c}),(0,n.jsx)("span",{className:(0,l.Z)(s.label,s.size[r]),children:a}),u&&(0,n.jsx)("button",{type:"button",className:(0,l.Z)(s.icon,s.iconMargin.right,{[s.size.l]:"l"===r}),onClick:e=>null==h?void 0:h(e),disabled:!h,children:u})]})})});c.displayName="Tag"},85285:function(e,t,a){"use strict";a.d(t,{T:function(){return d}});var n=a(57437),r=a(2265),l=a(61994);a(52586);var i=a(44414),o=a(9497),s=a(40997);a(23978);let c=(0,s.g)("toggle"),u=Object.freeze({toggle:c,wrapper:"".concat(c,"__wrapper"),secondaryLabel:"".concat(c,"__secondary-label"),input:"".concat(c,"__input"),marker:"".concat(c,"__marker"),label:"".concat(c,"__label"),caption:"".concat(c,"__caption"),states:{disabled:"".concat(c,"--disabled"),inverted:"".concat(c,"--inverted"),flipped:"".concat(c,"--flipped"),checked:"".concat(c,"--checked")}}),d=(0,r.forwardRef)((e,t)=>{let{value:a,onChange:s,label:c,secondaryLabel:d,disabled:h=!1,caption:f,inverted:p=!1,flipped:m=!1,className:g,style:b,inputRef:v,dataQa:_,dataId:y,...E}=e,[x,N]=(0,i.u)(null!=a&&a,a),w=(0,r.useId)();return(0,n.jsxs)("label",{className:(0,l.Z)(g,u.toggle,{[u.states.disabled]:h,[u.states.inverted]:p,[u.states.flipped]:m,[u.states.checked]:x}),style:b,htmlFor:w,"data-marker-label":"",ref:t,"data-id":y,"data-qa":_,children:[(0,n.jsx)("input",{id:w,role:"switch","aria-checked":x,type:"checkbox",className:u.input,checked:x,onChange:e=>{N(e.target.checked),null==s||s(e.target.checked,e)},disabled:h,ref:v,...E}),(0,n.jsx)("span",{className:u.marker,children:(0,n.jsx)(o.C,{type:"toggle",checked:x,inverted:p,disabled:h})}),c&&d&&(0,n.jsx)("span",{className:u.secondaryLabel,children:d}),c&&(0,n.jsxs)("span",{className:u.wrapper,children:[(0,n.jsx)("span",{className:u.label,children:c}),f&&(0,n.jsx)("span",{className:u.caption,children:f})]})]})});d.displayName="Toggle"},20888:function(e,t,a){"use strict";a.d(t,{T:function(){return p}});var n=a(57437),r=a(2265),l=a(41830),i=a(36603),o=a(44969),s=a(80987),c=a(61994),u=a(94196),d=a(19945),h=a(98833);a(45417);let f=e=>{let{children:t,moveToBody:a}=e;return a?(0,n.jsx)(l.ll,{id:u.T,children:t}):(0,n.jsx)(n.Fragment,{children:t})},p=(0,r.forwardRef)((e,t)=>{let{position:a="top",text:u,zIndex:p=1,inverted:m,withoutTail:g,children:b,boundingOffset:v=12,boundaryPadding:_,moveToBody:y=!1,hideWhenOutOfBounds:E=!1,style:x,className:N,dataQa:w,dataId:j,...T}=e,[C,B]=(0,r.useState)(!1),k=(0,r.useRef)(null),{refs:H,floatingStyles:S,context:R,middlewareData:A}=(0,l.YF)({open:C,onOpenChange:B,placement:a,whileElementsMounted:i.Me,middleware:[(0,o.cv)({mainAxis:v}),(0,i.RR)({fallbackAxisSideDirection:"start",crossAxis:!1,...void 0!==_&&{padding:_}}),(0,i.uY)({...void 0!==_&&{padding:_}}),(0,s.x7)({element:k,padding:8}),...E?[(0,i.Cp)({strategy:"escaped",padding:-24})]:[]]}),L=(0,l.XI)(R,{delay:300}),{getReferenceProps:I,getFloatingProps:M}=(0,l.NI)([L]),D=(0,l.Y_)(R,{duration:300});return(0,r.useImperativeHandle)(t,()=>({getActivatorElement:H.reference,getTooltipElement:H.floating})),(0,r.useEffect)(()=>{var e;(null==(e=A.hide)?void 0:e.escaped)&&B(!1)},[A.hide]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{"data-qa":(0,d.g)("".concat(w,"-activator"),!!w),ref:H.setReference,...I,className:h.s.wrapper,children:b}),D.isMounted&&(0,n.jsx)(f,{moveToBody:y,children:(0,n.jsxs)("div",{role:"tooltip",ref:H.setFloating,style:{...S,...D.styles,...x,zIndex:p},className:(0,c.Z)(h.s.tooltip,N,{[h.s.inverted]:m}),...M,...T,"data-qa":w,"data-id":j,children:[(0,n.jsx)("span",{className:(0,c.Z)(h.s.text,{[h.s.inverted]:m}),children:u}),!g&&(0,n.jsx)(l.Y$,{ref:k,context:R,width:16,d:h.t,fill:m?"var(--color-white)":"var(--color-black-500)"})]})})]})});p.displayName="Tooltip"},98833:function(e,t,a){"use strict";a.d(t,{s:function(){return r},t:function(){return l}});let n=(0,a(40997).g)("tooltip"),r=Object.freeze({tooltip:n,text:"".concat(n,"__text"),wrapper:"".concat(n,"__wrapper"),inverted:"".concat(n,"--inverted")}),l="M8 10C6 12.58 3.43 16 0 16L16 16C12.58 16 10 12.58 8 10Z"},3946:function(e,t,a){"use strict";a.d(t,{S:function(){return r}});var n=a(2265);function r(e){return n.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"m10.28 19.03 6.5-6.5a.75.75 0 0 0 0-1.06l-6.5-6.5a.75.75 0 1 0-1.06 1.06L15.19 12l-5.97 5.97a.75.75 0 1 0 1.06 1.06Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}},46201:function(e,t,a){"use strict";a.d(t,{S:function(){return r}});var n=a(2265);function r(e){return n.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M12.004 7.246A1.247 1.247 0 0 1 10.75 6c0-.69.558-1.253 1.25-1.253.69 0 1.25.56 1.25 1.25 0 .688-.559 1.248-1.246 1.25ZM10.75 12c0 .686.559 1.252 1.254 1.247a1.252 1.252 0 0 0 1.246-1.25c0-.69-.56-1.25-1.25-1.25-.692 0-1.25.564-1.25 1.253Zm0 6c0 .686.559 1.253 1.254 1.247a1.252 1.252 0 0 0 1.246-1.25c0-.69-.56-1.25-1.25-1.25-.692 0-1.25.564-1.25 1.253Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}},94196:function(e,t,a){"use strict";a.d(t,{D:function(){return i},M:function(){return n},S:function(){return r},T:function(){return l}});let n="finkit-modals",r="finkit-snackbars",l="finkit-tooltips",i="finkit-dropdown"},44414:function(e,t,a){"use strict";a.d(t,{u:function(){return l}});var n=a(2265),r=a(14552);function l(e,t){let[a,l]=(0,n.useState)(e);return(0,n.useEffect)(()=>{(0,r.i)(t)&&l(t)},[JSON.stringify(t)]),[a,l]}},54387:function(e,t,a){"use strict";a.d(t,{u:function(){return r}});var n=a(2265);let r=(e=!1)=>{let[t,a]=(0,n.useState)(e);return{value:t,show:(0,n.useCallback)(()=>a(!0),[]),hide:(0,n.useCallback)(()=>a(!1),[]),toggle:(0,n.useCallback)(()=>a(e=>!e),[])}}},65686:function(e,t,a){"use strict";a.d(t,{i:function(){return n.D}});var n=a(22195)},15149:function(e,t,a){"use strict";a.d(t,{u:function(){return n.M}});var n=a(45544)}}]);