(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9967],{9789:(e,t,n)=>{"use strict";function o(e){return"".concat("finkit-modular","-").concat(e)}n.d(t,{g:()=>o})},10157:(e,t,n)=>{"use strict";n.d(t,{t:()=>i});let o={а:"a",б:"b",в:"v",г:"g",д:"d",е:"e",ё:"yo",ж:"zh",з:"z",и:"i",й:"y",к:"k",л:"l",м:"m",н:"n",о:"o",п:"p",р:"r",с:"s",т:"t",у:"u",ф:"f",х:"h",ц:"c",ч:"ch",ш:"sh",щ:"sch",ъ:"",ы:"y",ь:"",э:"e",ю:"yu",я:"ya"},i=e=>e.replace(/[а-яё]/gi,e=>{let t=e.toLowerCase();return t in o?o[t]:e}).replaceAll(/[ \u00A0]/g,"_")},13636:(e,t,n)=>{"use strict";n.d(t,{$:()=>o.a});var o=n(83815)},14595:(e,t,n)=>{"use strict";n.d(t,{P:()=>c});var o=n(37876),i=n(69241),r=n(9789);n(83314);let l=Object.freeze({privateIcon:(0,r.g)("private-icon")}),c=e=>{let{children:t,className:n,style:r,...c}=e;return(0,o.jsx)("span",{className:(0,i.A)(l.privateIcon,n),style:r,...c,children:t})};c.displayName="PrivateIcon"},19130:(e,t,n)=>{"use strict";n.d(t,{AO:()=>L,Kr:()=>A});var o='input:not([inert]):not([inert] *),select:not([inert]):not([inert] *),textarea:not([inert]):not([inert] *),a[href]:not([inert]):not([inert] *),area[href]:not([inert]):not([inert] *),button:not([inert]):not([inert] *),[tabindex]:not(slot):not([inert]):not([inert] *),audio[controls]:not([inert]):not([inert] *),video[controls]:not([inert]):not([inert] *),[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *),details>summary:first-of-type:not([inert]):not([inert] *),details:not([inert]):not([inert] *)',i="undefined"==typeof Element,r=i?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,l=!i&&Element.prototype.getRootNode?function(e){var t;return null==e||null==(t=e.getRootNode)?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},c=function(e,t){void 0===t&&(t=!0);var n,o=null==e||null==(n=e.getAttribute)?void 0:n.call(e,"inert");return""===o||"true"===o||t&&e&&("function"==typeof e.closest?e.closest("[inert]"):c(e.parentNode))},a=function(e){var t,n=null==e||null==(t=e.getAttribute)?void 0:t.call(e,"contenteditable");return""===n||"true"===n},s=function(e,t,n){if(c(e))return[];var i=Array.prototype.slice.apply(e.querySelectorAll(o));return t&&r.call(e,o)&&i.unshift(e),i=i.filter(n)},u=function(e,t,n){for(var i=[],l=Array.from(e);l.length;){var a=l.shift();if(!c(a,!1))if("SLOT"===a.tagName){var s=a.assignedElements(),d=u(s.length?s:a.children,!0,n);n.flatten?i.push.apply(i,d):i.push({scopeParent:a,candidates:d})}else{r.call(a,o)&&n.filter(a)&&(t||!e.includes(a))&&i.push(a);var f=a.shadowRoot||"function"==typeof n.getShadowRoot&&n.getShadowRoot(a),p=!c(f,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(a));if(f&&p){var h=u(!0===f?a.children:f.children,!0,n);n.flatten?i.push.apply(i,h):i.push({scopeParent:a,candidates:h})}else l.unshift.apply(l,a.children)}}return i},d=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},f=function(e){if(!e)throw Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||a(e))&&!d(e)?0:e.tabIndex},p=function(e,t){var n=f(e);return n<0&&t&&!d(e)?0:n},h=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},m=function(e){return"INPUT"===e.tagName},v=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]},g=function(e){if(!e.name)return!0;var t,n=e.form||l(e),o=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=o(window.CSS.escape(e.name));else try{t=o(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var i=v(t,e.form);return!i||i===e},w=function(e){return m(e)&&"radio"===e.type&&!g(e)},b=function(e){var t,n,o,i,r,c,a,s=e&&l(e),u=null==(t=s)?void 0:t.host,d=!1;if(s&&s!==e)for(d=!!(null!=(n=u)&&null!=(o=n.ownerDocument)&&o.contains(u)||null!=e&&null!=(i=e.ownerDocument)&&i.contains(e));!d&&u;)d=!!(null!=(c=u=null==(r=s=l(u))?void 0:r.host)&&null!=(a=c.ownerDocument)&&a.contains(u));return d},x=function(e){var t=e.getBoundingClientRect(),n=t.width,o=t.height;return 0===n&&0===o},y=function(e,t){var n=t.displayCheck,o=t.getShadowRoot;if("full-native"===n&&"checkVisibility"in e)return!e.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});var i=getComputedStyle(e).visibility;if("hidden"===i||"collapse"===i)return!0;var c=r.call(e,"details>summary:first-of-type")?e.parentElement:e;if(r.call(c,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"full-native"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return x(e)}else{if("function"==typeof o){for(var a=e;e;){var s=e.parentElement,u=l(e);if(s&&!s.shadowRoot&&!0===o(s))return x(e);e=e.assignedSlot?e.assignedSlot:s||u===e.ownerDocument?s:u.host}e=a}if(b(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1},_=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var o=t.children.item(n);if("LEGEND"===o.tagName)return!!r.call(t,"fieldset[disabled] *")||!o.contains(e)}return!0}t=t.parentElement}return!1},j=function(e,t){return!(t.disabled||m(t)&&"hidden"===t.type||y(t,e)||"DETAILS"===t.tagName&&Array.prototype.slice.apply(t.children).some(function(e){return"SUMMARY"===e.tagName})||_(t))},N=function(e,t){return!(w(t)||0>f(t))&&!!j(e,t)},k=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!isNaN(t)||!!(t>=0)},C=function(e){var t=[],n=[];return e.forEach(function(e,o){var i=!!e.scopeParent,r=i?e.scopeParent:e,l=p(r,i),c=i?C(e.candidates):r;0===l?i?t.push.apply(t,c):t.push(r):n.push({documentOrder:o,tabIndex:l,item:e,isScope:i,content:c})}),n.sort(h).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(t)},A=function(e,t){return C((t=t||{}).getShadowRoot?u([e],t.includeContainer,{filter:N.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:k}):s(e,t.includeContainer,N.bind(null,t)))},L=function(e,t){if(t=t||{},!e)throw Error("No node provided");return!1!==r.call(e,o)&&N(t,e)}},20134:()=>{},31557:(e,t,n)=>{"use strict";n.d(t,{d:()=>i});var o=n(70728);let i=(e,t)=>{let n=sessionStorage.getItem("pushedEvents"),i=n?JSON.parse(n):[];e.event||(e.event="data-event"),"string"==typeof e.eventAction&&(e.eventAction=e.eventAction.toLowerCase().replaceAll(" ","_")),"string"==typeof e.eventLabel&&(e.eventLabel=e.eventLabel.toLowerCase().replaceAll(" ","_")),e.eventLabel||(e.eventLabel="undefined");let r=i.find(n=>n.eventCategory===e.eventCategory&&n.eventAction===e.eventAction&&n.eventLabel===e.eventLabel&&("all"===t||"url"===t&&window.location.pathname===n.url));if(!t||!r){if(t){let t={...e};t.url=window.location.pathname,i.push(t),sessionStorage.setItem("pushedEvents",JSON.stringify(i))}(0,o.Fj)(e)}}},34350:(e,t,n)=>{"use strict";n.d(t,{l:()=>o});let o={display:"-webkit-box",WebkitBoxOrient:"vertical",overflow:"hidden"}},40317:(e,t,n)=>{"use strict";n.d(t,{m:()=>a});var o=n(37876),i=n(69241),r=n(9789);n(76637);let l=(0,r.g)("container"),c=Object.freeze({container:l,states:{narrow:"".concat(l,"--narrow")}}),a=e=>{let{children:t,as:n,fluid:r=!1,className:l="",...a}=e;return(0,o.jsx)(n||"div",{className:(0,i.A)(c.container,l,{[c.states.narrow]:!r}),...a,children:t})};a.displayName="Container"},44373:()=>{},44500:(e,t,n)=>{"use strict";n.d(t,{D:()=>r,h:()=>c});var o=n(10157),i=n(31557),r=(e=>(e.icon="icon",e.chip="chip",e.accordion="accordion",e.button="button",e.checkbox="checkbox",e.radio="radio",e.select="select",e.toggle="toggle",e.tooltip="tooltip",e.link="link",e.banner="banner",e.tag="tag",e.date="date",e.field="field",e.offer="offer",e.tab="tab",e.submitButton="submitButton",e.popup="popup",e.block="block",e.show="show",e.close="close",e))(r||{});let l={icon:"click_icon_",chip:"click_chip_",accordion:"show_acc_",button:"click_button_",checkbox:"click_check_",radio:"click_radio_",select:"click_sel_",toggle:"click_togg_",tooltip:"click_tip_",link:"click_link_",banner:"click_bnr_",tag:"click_tag_",date:"input_date_",field:"input_field_",offer:"click_offer_",tab:"click_tab_",submitButton:"form_button_",popup:"show_pop_up_",block:"click_block_",show:"show_",close:"close_"},c=e=>{let{eventCategory:t,eventActionType:n,eventActionText:r="",eventLabel:c}=e,a={event:"data-event",eventCategory:t,eventAction:l[n]+(0,o.t)(r)};void 0!==c&&(a.eventLabel=(0,o.t)("string"==typeof c?c:c.toString())),(0,i.d)(a)}},50698:(e,t,n)=>{"use strict";n.d(t,{UE:()=>Q,ll:()=>Y,rD:()=>X,UU:()=>J,jD:()=>K,cY:()=>Z,BN:()=>G});let o=["top","right","bottom","left"],i=Math.min,r=Math.max,l=Math.round,c=Math.floor,a=e=>({x:e,y:e}),s={left:"right",right:"left",bottom:"top",top:"bottom"};function u(e,t){return"function"==typeof e?e(t):e}function d(e){return e.split("-")[0]}function f(e){return e.split("-")[1]}function p(e){return"x"===e?"y":"x"}function h(e){return"y"===e?"height":"width"}function m(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function v(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let g=["left","right"],w=["right","left"],b=["top","bottom"],x=["bottom","top"];function y(e){let t=d(e);return s[t]+e.slice(t.length)}function _(e){var t,n,o,i;return"number"!=typeof e?{top:null!=(t=e.top)?t:0,right:null!=(n=e.right)?n:0,bottom:null!=(o=e.bottom)?o:0,left:null!=(i=e.left)?i:0}:{top:e,right:e,bottom:e,left:e}}function j(e){let{x:t,y:n,width:o,height:i}=e;return{width:o,height:i,top:n,left:t,right:t+o,bottom:n+i,x:t,y:n}}function N(e,t,n){let o,{reference:i,floating:r}=e,l=m(t),c=p(m(t)),a=h(c),s=d(t),u=i.x+i.width/2-r.width/2,v=i.y+i.height/2-r.height/2,g=i[a]/2-r[a]/2;switch(s){case"top":o={x:u,y:i.y-r.height};break;case"bottom":o={x:u,y:i.y+i.height};break;case"right":o={x:i.x+i.width,y:v};break;case"left":o={x:i.x-r.width,y:v};break;default:o={x:i.x,y:i.y}}let w=f(t);return w&&(o[c]+=g*("end"===w?1:-1)*(n&&"y"===l?-1:1)),o}async function k(e,t){var n;void 0===t&&(t={});let{x:o,y:i,platform:r,rects:l,elements:c,strategy:a}=e,{boundary:s="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:p=!1,padding:h=0}=u(t,e),m=_(h),v=c[p?"floating"===f?"reference":"floating":f],g=j(await r.getClippingRect({element:null==(n=await (null==r.isElement?void 0:r.isElement(v)))||n?v:v.contextElement||await (null==r.getDocumentElement?void 0:r.getDocumentElement(c.floating)),boundary:s,rootBoundary:d,strategy:a})),w="floating"===f?{x:o,y:i,width:l.floating.width,height:l.floating.height}:l.reference,b=await (null==r.getOffsetParent?void 0:r.getOffsetParent(c.floating)),x=await (null==r.isElement?void 0:r.isElement(b))&&await (null==r.getScale?void 0:r.getScale(b))||{x:1,y:1},y=j(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:w,offsetParent:b,strategy:a}):w);return{top:(g.top-y.top+m.top)/x.y,bottom:(y.bottom-g.bottom+m.bottom)/x.y,left:(g.left-y.left+m.left)/x.x,right:(y.right-g.right+m.right)/x.x}}let C=async(e,t,n)=>{let{placement:o="bottom",strategy:i="absolute",middleware:r=[],platform:l}=n,c=l.detectOverflow?l:{...l,detectOverflow:k},a=await (null==l.isRTL?void 0:l.isRTL(t)),s=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=N(s,o,a),f=o,p=0,h={};for(let n=0;n<r.length;n++){let m=r[n];if(!m)continue;let{name:v,fn:g}=m,{x:w,y:b,data:x,reset:y}=await g({x:u,y:d,initialPlacement:o,placement:f,strategy:i,middlewareData:h,rects:s,platform:c,elements:{reference:e,floating:t}});u=null!=w?w:u,d=null!=b?b:d,h[v]={...h[v],...x},y&&p<50&&(p++,"object"==typeof y&&(y.placement&&(f=y.placement),y.rects&&(s=!0===y.rects?await l.getElementRects({reference:e,floating:t,strategy:i}):y.rects),{x:u,y:d}=N(s,f,a)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:h}};function A(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function L(e){return o.some(t=>e[t]>=0)}let S=new Set(["left","top"]);async function O(e,t){let{placement:n,platform:o,elements:i}=e,r=await (null==o.isRTL?void 0:o.isRTL(i.floating)),l=d(n),c=f(n),a="y"===m(n),s=S.has(l)?-1:1,p=r&&a?-1:1,h=u(t,e),{mainAxis:v,crossAxis:g,alignmentAxis:w}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return c&&"number"==typeof w&&(g="end"===c?-1*w:w),a?{x:g*p,y:v*s}:{x:v*s,y:g*p}}var R=n(84974);function E(e){let t=(0,R.L9)(e),n=parseFloat(t.width)||0,o=parseFloat(t.height)||0,i=(0,R.sb)(e),r=i?e.offsetWidth:n,c=i?e.offsetHeight:o,a=l(n)!==r||l(o)!==c;return a&&(n=r,o=c),{width:n,height:o,$:a}}function T(e){return(0,R.vq)(e)?e:e.contextElement}function z(e){let t=T(e);if(!(0,R.sb)(t))return a(1);let n=t.getBoundingClientRect(),{width:o,height:i,$:r}=E(t),c=(r?l(n.width):n.width)/o,s=(r?l(n.height):n.height)/i;return c&&Number.isFinite(c)||(c=1),s&&Number.isFinite(s)||(s=1),{x:c,y:s}}let P=a(0);function I(e){let t=(0,R.zk)(e);return(0,R.Tc)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:P}function D(e,t,n,o){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let r=e.getBoundingClientRect(),l=T(e),c=a(1);t&&(o?(0,R.vq)(o)&&(c=z(o)):c=z(e));let s=(void 0===(i=n)&&(i=!1),o&&i&&o===(0,R.zk)(l))?I(l):a(0),u=(r.left+s.x)/c.x,d=(r.top+s.y)/c.y,f=r.width/c.x,p=r.height/c.y;if(l&&o){let e=(0,R.zk)(l),t=(0,R.vq)(o)?(0,R.zk)(o):o,n=e,i=(0,R._m)(n);for(;i&&t!==n;){let e=z(i),t=i.getBoundingClientRect(),o=(0,R.L9)(i),r=t.left+(i.clientLeft+parseFloat(o.paddingLeft))*e.x,l=t.top+(i.clientTop+parseFloat(o.paddingTop))*e.y;u*=e.x,d*=e.y,f*=e.x,p*=e.y,u+=r,d+=l,n=(0,R.zk)(i),i=(0,R._m)(n)}}return j({width:f,height:p,x:u,y:d})}function W(e,t){let n=(0,R.CP)(e).scrollLeft;return t?t.left+n:D((0,R.ep)(e)).left+n}function M(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-W(e,n),y:n.top+t.scrollTop}}function U(e,t,n){let o;if("viewport"===t||"layoutViewport"===t)o=function(e,t,n){void 0===n&&(n="viewport");let o="layoutViewport"===n,i=(0,R.zk)(e),r=(0,R.ep)(e),l=i.visualViewport,c=r.clientWidth,a=r.clientHeight,s=0,u=0;if(l){let e=!(0,R.Tc)()||"fixed"===t;o?e||(s=-l.offsetLeft,u=-l.offsetTop):(c=l.width,a=l.height,e&&(s=l.offsetLeft,u=l.offsetTop))}if(0>=W(r)){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),o="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,i=Math.abs(r.clientWidth-t.clientWidth-o),l="stable both-edges"===getComputedStyle(r).scrollbarGutter?i/2:i;l<=25&&(c-=l)}return{width:c,height:a,x:s,y:u}}(e,n,t);else if("document"===t)o=function(e){let t=(0,R.CP)(e),n=e.ownerDocument.body,o=r(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=r(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),l=-t.scrollLeft+W(e),c=-t.scrollTop;return"rtl"===(0,R.L9)(n).direction&&(l+=r(e.clientWidth,n.clientWidth)-o),{width:o,height:i,x:l,y:c}}((0,R.ep)(e));else if((0,R.vq)(t))o=function(e,t){let n=D(e,!0,"fixed"===t),o=n.top+e.clientTop,i=n.left+e.clientLeft,r=z(e),l=e.clientWidth*r.x,c=e.clientHeight*r.y;return{width:l,height:c,x:i*r.x,y:o*r.y}}(t,n);else{let n=I(e);o={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return j(o)}function B(e){return"static"===(0,R.L9)(e).position}function F(e,t){if(!(0,R.sb)(e)||"fixed"===(0,R.L9)(e).position)return null;if(t)return t(e);let n=e.offsetParent;return(0,R.ep)(e)===n&&(n=n.ownerDocument.body),n}function q(e,t){let n=(0,R.zk)(e);if((0,R.Tf)(e))return n;if(!(0,R.sb)(e)){let t=(0,R.$4)(e);for(;t&&!(0,R.eu)(t);){if((0,R.vq)(t)&&!B(t))return t;t=(0,R.$4)(t)}return n}let o=F(e,t);for(;o&&(0,R.Lv)(o)&&B(o);)o=F(o,t);return o&&(0,R.eu)(o)&&B(o)&&!(0,R.sQ)(o)?n:o||(0,R.gJ)(e)||n}let H=async function(e){let t=this.getOffsetParent||q,n=this.getDimensions,o=await n(e.floating);return{reference:function(e,t,n){let o=(0,R.sb)(t),i=(0,R.ep)(t),r="fixed"===n,l=D(e,!0,r,t),c={scrollLeft:0,scrollTop:0},s=a(0);if((o||!r)&&(("body"!==(0,R.mq)(t)||(0,R.ZU)(i))&&(c=(0,R.CP)(t)),o)){let e=D(t,!0,r,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}!o&&i&&(s.x=W(i));let u=!i||o||r?a(0):M(i,c);return{x:l.left+c.scrollLeft-s.x-u.x,y:l.top+c.scrollTop-s.y-u.y,width:l.width,height:l.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},V={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:o,strategy:i}=e,r="fixed"===i,l=(0,R.ep)(o),c=!!t&&(0,R.Tf)(t.floating);if(o===l||c&&r)return n;let s={scrollLeft:0,scrollTop:0},u=a(1),d=a(0),f=(0,R.sb)(o);if((f||!r)&&(("body"!==(0,R.mq)(o)||(0,R.ZU)(l))&&(s=(0,R.CP)(o)),f)){let e=D(o);u=z(o),d.x=e.x+o.clientLeft,d.y=e.y+o.clientTop}let p=!l||f||r?a(0):M(l,s);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-s.scrollLeft*u.x+d.x+p.x,y:n.y*u.y-s.scrollTop*u.y+d.y+p.y}},getDocumentElement:R.ep,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:l}=e,c=[..."clippingAncestors"===n?(0,R.Tf)(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let o=(0,R.v9)(e,[],!1).filter(e=>(0,R.vq)(e)&&"body"!==(0,R.mq)(e)),i=null,r="fixed"===(0,R.L9)(e).position,l=r?(0,R.$4)(e):e;for(;(0,R.vq)(l)&&!(0,R.eu)(l);){let e=(0,R.L9)(l),t=(0,R.sQ)(l),n=i?i.position:r?"fixed":"";t||"fixed"!==n&&("absolute"!==n||"static"!==e.position)?i=e:o=o.filter(e=>e!==l),l=(0,R.$4)(l)}return t.set(e,o),o}(t,this._c):[].concat(n),o],a=U(t,c[0],l),s=a.top,u=a.right,d=a.bottom,f=a.left;for(let e=1;e<c.length;e++){let n=U(t,c[e],l);s=r(n.top,s),u=i(n.right,u),d=i(n.bottom,d),f=r(n.left,f)}return{width:u-f,height:d-s,x:f,y:s}},getOffsetParent:q,getElementRects:H,getClientRects:function(e){return e.getClientRects?Array.from(e.getClientRects()):[]},getDimensions:function(e){let{width:t,height:n}=E(e);return{width:t,height:n}},getScale:z,isElement:R.vq,isRTL:function(e){return"rtl"===(0,R.L9)(e).direction}};function $(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Y(e,t,n,o){let l;void 0===o&&(o={});let{ancestorScroll:a=!0,ancestorResize:s=!0,elementResize:u="function"==typeof ResizeObserver,layoutShift:d="function"==typeof IntersectionObserver,animationFrame:f=!1}=o,p=T(e),h=a||s?[...p?(0,R.v9)(p):[],...t?(0,R.v9)(t):[]]:[];h.forEach(e=>{a&&e.addEventListener("scroll",n),s&&e.addEventListener("resize",n)});let m=p&&d?function(e,t,n){let o,l=null,a=(0,R.ep)(e);function s(){var e;clearTimeout(o),null==(e=l)||e.disconnect(),l=null}function u(n,d){void 0===n&&(n=!1),void 0===d&&(d=1),s();let f=e.getBoundingClientRect(),{left:p,top:h,width:m,height:v}=f;if(n||t(),!m||!v)return;let g=c(h),w=c(a.clientWidth-(p+m)),b={rootMargin:-g+"px "+-w+"px "+-c(a.clientHeight-(h+v))+"px "+-c(p)+"px",threshold:r(0,i(1,d))||1},x=!0;function y(t){let n=t[0].intersectionRatio;if(!$(f,e.getBoundingClientRect()))return u();if(n!==d){if(!x)return u();n?u(!1,n):o=setTimeout(()=>{u(!1,1e-7)},1e3)}x=!1}try{l=new IntersectionObserver(y,{...b,root:a.ownerDocument})}catch(e){l=new IntersectionObserver(y,b)}l.observe(e)}let d=(0,R.zk)(e),f=()=>u(n);return d.addEventListener("resize",f),u(!0),()=>{d.removeEventListener("resize",f),s()}}(p,n,s):null,v=-1,g=null;u&&(g=new ResizeObserver(e=>{let[o]=e;o&&o.target===p&&g&&t&&(g.unobserve(t),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var e;null==(e=g)||e.observe(t)})),n()}),p&&!f&&g.observe(p),t&&g.observe(t));let w=f?D(e):null;return f&&function t(){let o=D(e);w&&!$(w,o)&&n(),w=o,l=requestAnimationFrame(t)}(),n(),()=>{var e;h.forEach(e=>{a&&e.removeEventListener("scroll",n),s&&e.removeEventListener("resize",n)}),null==m||m(),null==(e=g)||e.disconnect(),g=null,f&&cancelAnimationFrame(l)}}let Z=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,o;let{x:i,y:r,placement:l,middlewareData:c}=t,a=await O(t,e);return l===(null==(n=c.offset)?void 0:n.placement)&&null!=(o=c.arrow)&&o.alignmentOffset?{}:{x:i+a.x,y:r+a.y,data:{...a,placement:l}}}}},G=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:o,placement:l,platform:c}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:d={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...f}=u(e,t),h={x:n,y:o},v=await c.detectOverflow(t,f),g=m(l),w=p(g),b=h[w],x=h[g],y=(e,t)=>r(t+v["y"===e?"top":"left"],i(t,t-v["y"===e?"bottom":"right"]));a&&(b=y(w,b)),s&&(x=y(g,x));let _=d.fn({...t,[w]:b,[g]:x});return{..._,data:{x:_.x-n,y:_.y-o,enabled:{[w]:a,[g]:s}}}}}},J=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,o,i,r,l;let{placement:c,middlewareData:a,rects:s,initialPlacement:_,platform:j,elements:N}=t,{mainAxis:k=!0,crossAxis:C=!0,fallbackPlacements:A,fallbackStrategy:L="bestFit",fallbackAxisSideDirection:S="none",flipAlignment:O=!0,...R}=u(e,t);if(null!=(n=a.arrow)&&n.alignmentOffset)return{};let E=d(c),T=m(_),z=d(_)===_,P=await (null==j.isRTL?void 0:j.isRTL(N.floating)),I=A||(z||!O?[y(_)]:function(e){let t=y(e);return[v(e),t,v(t)]}(_)),D="none"!==S;!A&&D&&I.push(...function(e,t,n,o){let i=f(e),r=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?w:g;return t?g:w;case"left":case"right":return t?b:x;default:return[]}}(d(e),"start"===n,o);return i&&(r=r.map(e=>e+"-"+i),t&&(r=r.concat(r.map(v)))),r}(_,O,S,P));let W=[_,...I],M=await j.detectOverflow(t,R),U=[],B=(null==(o=a.flip)?void 0:o.overflows)||[];if(k&&U.push(M[E]),C){let e=function(e,t,n){void 0===n&&(n=!1);let o=f(e),i=p(m(e)),r=h(i),l="x"===i?o===(n?"end":"start")?"right":"left":"start"===o?"bottom":"top";return t.reference[r]>t.floating[r]&&(l=y(l)),[l,y(l)]}(c,s,P);U.push(M[e[0]],M[e[1]])}if(B=[...B,{placement:c,overflows:U}],!U.every(e=>e<=0)){let e=((null==(i=a.flip)?void 0:i.index)||0)+1,t=W[e];if(t&&("alignment"!==C||T===m(t)||B.every(e=>m(e.placement)!==T||e.overflows[0]>0)))return{data:{index:e,overflows:B},reset:{placement:t}};let n=null==(r=B.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:r.placement;if(!n)switch(L){case"bestFit":{let e=null==(l=B.filter(e=>{if(D){let t=m(e.placement);return t===T||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:l[0];e&&(n=e);break}case"initialPlacement":n=_}if(c!==n)return{reset:{placement:n}}}return{}}}},K=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n,platform:o}=t,{strategy:i="referenceHidden",...r}=u(e,t);switch(i){case"referenceHidden":{let e=A(await o.detectOverflow(t,{...r,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:L(e)}}}case"escaped":{let e=A(await o.detectOverflow(t,{...r,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:L(e)}}}default:return{}}}}},Q=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:o,placement:l,rects:c,platform:a,elements:s,middlewareData:d}=t,{element:v,padding:g=0}=u(e,t)||{};if(null==v)return{};let w=_(g),b={x:n,y:o},x=p(m(l)),y=h(x),j=await a.getDimensions(v),N="y"===x,k=N?"clientHeight":"clientWidth",C=c.reference[y]+c.reference[x]-b[x]-c.floating[y],A=b[x]-c.reference[x],L=await (null==a.getOffsetParent?void 0:a.getOffsetParent(v)),S=L?L[k]:0;S&&await (null==a.isElement?void 0:a.isElement(L))||(S=s.floating[k]||c.floating[y]);let O=S/2-j[y]/2-1,R=i(w[N?"top":"left"],O),E=i(w[N?"bottom":"right"],O),T=S-j[y]-E,z=S/2-j[y]/2+(C/2-A/2),P=r(R,i(z,T)),I=!d.arrow&&null!=f(l)&&z!==P&&c.reference[y]/2-(z<R?R:E)-j[y]/2<0,D=I?z<R?z-R:z-T:0;return{[x]:b[x]+D,data:{[x]:P,centerOffset:z-P-D,...I&&{alignmentOffset:D}},reset:I}}}),X=(e,t,n)=>{let o=new Map,i=null!=n?n:{},r={...V,...i.platform,_c:o};return C(e,t,{...i,platform:r})}},51391:(e,t,n)=>{"use strict";n.d(t,{N:()=>d});var o=n(37876),i=n(69241),r=n(14232),l=n(14595),c=n(9789);function a(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.25 5.75c0 .414.336.75.75.75h5.44L5.22 17.72a.75.75 0 1 0 1.06 1.06L17.5 7.56V13a.75.75 0 0 0 1.5 0V5.75a.75.75 0 0 0-.75-.75H11a.75.75 0 0 0-.75.75Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}n(75552);let s=(0,c.g)("link"),u=Object.freeze({link:s,states:{inverted:"".concat(s,"--inverted"),disabled:"".concat(s,"--disabled")},content:"".concat(s,"__content"),icon:"".concat(s,"__icon"),size:{s:"".concat(s,"--s"),m:"".concat(s,"--m")}});function d(e){let{as:t,size:n="m",withIcon:r=!1,children:c,disabled:s,text:d,inverted:f,onClick:p,className:h,style:m,dataQa:v,dataId:g,...w}=e,b=(0,i.A)(u.link,{[u.states.inverted]:f,[u.states.disabled]:s},u.size[n],h),x=d||c;return(0,o.jsx)(t||"a",{className:b,disabled:s,style:m,onClick:p,"aria-disabled":s,tabIndex:s?-1:0,...w,"data-id":g,"data-qa":v,children:r?(0,o.jsxs)("span",{className:u.content,children:[x,(0,o.jsx)(l.P,{className:u.icon,children:(0,o.jsx)(a,{})})]}):x})}d.displayName="Link"},52426:(e,t,n)=>{"use strict";n.d(t,{nu:()=>s,qF:()=>u});let o=Object.freeze({xs:Object.freeze({maxWidth:599}),s:Object.freeze({minWidth:600,maxWidth:767}),m:Object.freeze({minWidth:768,maxWidth:1023}),l:Object.freeze({minWidth:1024,maxWidth:1279}),xl:Object.freeze({minWidth:1280,maxWidth:1439}),"2xl":Object.freeze({minWidth:1440,maxWidth:1919}),"3xl":Object.freeze({minWidth:1920})}),i=Object.freeze(Object.keys(o));Object.freeze(i.filter(e=>"xs"!==e)),Object.freeze(i.filter(e=>"3xl"!==e));var r=n(14232);let l=r.useEffect;function c(e){return arguments.length>1&&void 0!==arguments[1]&&arguments[1],window.matchMedia(e).matches}function a(e){let{defaultValue:t=!1,initializeWithValue:n=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},[o,i]=(0,r.useState)(()=>n?c(e,t):null!=t&&t);function a(){i(c(e))}return l(()=>{let t=window.matchMedia(e);return a(),"function"==typeof t.addListener?t.addListener(a):t.addEventListener("change",a),()=>{"function"==typeof t.removeListener?t.removeListener(a):t.removeEventListener("change",a)}},[e]),o}function s(e){let{maxWidth:t}=o[e];return a("screen and (max-width: ".concat(t,"px)"))}function u(e){let{minWidth:t}=o[e];return a("screen and (min-width: ".concat(t,"px)"))}},57539:(e,t,n)=>{"use strict";function o(e,t){return"".concat("finkit-widgets","-").concat(t,"-").concat(e)}n.d(t,{g:()=>o})},6e4:(e,t,n)=>{"use strict";n.d(t,{w:()=>el}),n(75152);var o=n(37876),i=n(40317),r=n(69241),l=n(34350),c=n(9789);n(44373);let a=Object.freeze({text:(0,c.g)("text")});function s(e){let{as:t,className:n,style:i,children:c,size:s,weight:u,lineClamp:d,dataQa:f,dataId:p,...h}=e;return(0,o.jsx)(t||"span",{className:(0,r.A)(a.text,n),style:{...s&&{fontSize:"var(--font-size-".concat(s,")"),lineHeight:"var(--font-line-height-".concat(s,")")},...u&&{fontWeight:"var(--font-weight-".concat(u,")")},...d&&{WebkitLineClamp:d,lineClamp:d,...l.l},...i},...h,"data-id":p,"data-qa":f,children:c})}s.displayName="Text";var u=n(91273),d=n(57539),f=n(13636),p=n(44500),h=n(51391),m=n(14232),v=n(82662),g=n(52426),w=n(90807);let b=(0,d.g)("footer-contacts-block","sc"),x=Object.freeze({contactsWrapper:"".concat(b,"__contacts-wrapper"),gray:"".concat(b,"__gray"),phones:"".concat(b,"__phones"),contactsButtons:"".concat(b,"__contacts-buttons"),vkIcon:"".concat(b,"__vk-icon"),tgIcon:"".concat(b,"__tg-icon"),dzenIcon:"".concat(b,"__dzen-icon"),maxIcon:"".concat(b,"__max-icon"),link:"".concat(b,"__link")}),y=(0,d.g)("footer","sc"),_=Object.freeze({wrapper:"".concat(y,"__wrapper"),section:"".concat(y,"__section"),container:"".concat(y,"__container"),top:"".concat(y,"__top"),main:"".concat(y,"__main"),links:"".concat(y,"__links"),disclaimer:"".concat(y,"__disclaimer"),bottom:"".concat(y,"__bottom"),bottomLinks:"".concat(y,"__bottom-links"),bottomDisclaimer:"".concat(y,"__bottom-disclaimer"),compact:"".concat(y,"__wrapper--compact"),white:"".concat(y,"__wrapper--white")}),j="finkit-widgets-sc-footer",N=[{title:"8 (800) 505-32-32",url:"tel:88005053232"},{title:"8 (800) 700-64-94",url:"tel:88007006494"},{title:"+7 (495) 145-32-32",url:"tel:+74951453232"},{title:"+7 (495) 787-64-94",url:"tel:+74957876494"}],k=[...N,{title:"Онлайн чат",url:void 0}],C=[{type:"vk",className:x.vkIcon,iconName:"vk"},{type:"telegramChannel",className:x.tgIcon,iconName:"telegram"},{type:"dzen",className:x.dzenIcon,iconName:"dzen"},{type:"max",className:x.maxIcon,iconName:"max"}],A=(0,o.jsxs)("p",{children:["На сайте finuslugi.ru предоставляются услуги оператора финансовой платформы ПАО Московская Биржа, а также услуги ООО \xabМБ Маркетплейс\xbb, организации, не являющейся оператором финансовой платформы в соответствии с Федеральным законом от 20.07.2020 №211-ФЗ \xabО совершении финансовых сделок с использованием финансовой платформы\xbb. Услуги оператора финансовой платформы ПАО Московская Биржа обозначены пометкой \xabОткрытие онлайн на Финуслугах\xbb. Иная информация на сайте www.finuslugi.ru считается размещенной ООО \xabМБ Маркетплейс\xbb, если иное явно не следует из существа размещаемой информации. ООО \xabМБ Маркетплейс\xbb входит в Группу \xabМосковская Биржа\xbb.",(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),"Группа \xabМосковская Биржа\xbb - ПАО Московская Биржа и юридические лица, находящиеся под прямым или косвенным контролем ПАО Московская Биржа."]}),L=e=>{let{onClick:t,eventActionText:n,eventLabel:i,...r}=e;return(0,o.jsx)(f.$,{onClick:e=>{null==t||t(e),(0,p.h)({eventCategory:j,eventActionType:p.D.button,eventActionText:n||"",eventLabel:i})},...r})},S=e=>{let{onClick:t,eventActionType:n,eventActionText:i,eventLabel:r,chat:l,...c}=e;return(0,o.jsx)(h.N,{onClick:e=>{var o,c,a;null==t||t(e),l&&(null==e||e.preventDefault(),null==(a=null==(c=null==(o=null==window?void 0:window.supportWidget)?void 0:o.craftTalk)?void 0:c.open)||a.call(c)),(0,p.h)({eventCategory:j,eventActionType:n||p.D.link,eventActionText:i||"",eventLabel:r})},...c})},O=e=>{let{minioUrl:t,blogs:n}=e;return(0,o.jsxs)("div",{className:x.contactsWrapper,children:[(0,o.jsx)(s,{className:x.gray,size:"16",weight:"regular",children:"Звоните или пишите"}),(0,o.jsx)("div",{className:x.phones,children:k.map(e=>{let{title:t,url:n}=e;return(0,o.jsx)(S,{href:n,eventActionText:t,chat:!n,children:t},t)})}),(0,o.jsx)(s,{className:x.gray,size:"16",weight:"regular",children:"Следите за нами в соцсетях"}),(0,o.jsx)("div",{className:x.contactsButtons,children:C.map(e=>{let{type:i,className:r,iconName:l}=e;return(0,o.jsx)(L,{as:"a",href:null==n?void 0:n[i],target:"_blank",className:r,iconRight:(0,o.jsx)("img",{width:24,height:24,src:(0,u.oq)(t,"/widgets/footer/".concat(l,".svg")),alt:i,loading:"lazy"}),shape:"circle-icon",variant:"white",eventActionText:i,eventLabel:null==n?void 0:n[i]},i)})}),(0,o.jsx)(s,{className:x.gray,size:"16",weight:"regular",children:"Канал для инвесторов"}),(0,o.jsx)("div",{className:x.contactsButtons,children:(0,o.jsxs)(S,{href:null==n?void 0:n.investTg,target:"_blank",className:x.link,eventActionText:"telegram",eventLabel:null==n?void 0:n.investTg,children:[(0,o.jsx)(L,{className:x.tgIcon,iconRight:(0,o.jsx)("img",{width:24,height:24,src:(0,u.oq)(t,"/widgets/footer/telegram.svg"),alt:"telegram",loading:"lazy"}),shape:"circle-icon",variant:"white",eventActionText:"telegram",eventLabel:null==n?void 0:n.investTg}),"Финуслуги Инвест"]})})]})},R=(0,d.g)("footer-disclaimer","sc"),E=Object.freeze({disclaimer:"".concat(R)}),T=e=>{let t=e=>{e.target instanceof HTMLAnchorElement&&(0,p.h)({eventCategory:j,eventActionType:p.D.link,eventActionText:e.target.textContent||"",eventLabel:e.target.href})};return e.disclaimer?(0,o.jsx)("div",{className:(0,r.A)(e.className,E.disclaimer),dangerouslySetInnerHTML:{__html:e.disclaimer||""},onClick:t}):(0,o.jsx)("div",{className:(0,r.A)(e.className,E.disclaimer),onClick:t,children:e.children})},z={display:"inline-block",lineHeight:0,backfaceVisibility:"hidden"},P={width:"1em",height:"1em",overflowClipMargin:"content-box",overflow:"hidden"},I=e=>m.createElement("svg",{width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},m.createElement("path",{d:"M9 8a.75.75 0 000 1.5h4.44l-5.22 5.22a.75.75 0 101.06 1.06l5.22-5.22v4.445a.75.75 0 101.5 0V8.75a.75.75 0 00-.75-.75H9z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}));function D(e){let{className:t,style:n,boxSize:o,size:i,onClick:r}=e;return m.createElement("span",{className:t,style:{...z,...r&&{cursor:"pointer"},...i&&{fontSize:"".concat(i,"px")},...o&&{width:"".concat(o,"px"),height:"".concat(o,"px"),display:"inline-flex",alignItems:"center",justifyContent:"center"},...n},...r?{role:"button",tabIndex:"0",onClick:r}:{}},m.createElement(I,{viewBox:"0 0 24 24",style:P}))}D.displayName="IconFdsArrowUpRightSmallO";let W=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",[t,n]=(0,m.useState)(e);return(0,m.useEffect)(()=>{let t=(()=>{let e=new URL(window.location.href),t=new URLSearchParams;return e.searchParams.forEach((e,n)=>{/^utm_/i.test(n)&&t.set(n,e)}),t})();if(!t||0===t.size)return;let[o,i=""]=e.split("?"),r=new URLSearchParams(i);t.forEach((e,t)=>{r.has(t)||r.set(t,e)});let l=r.toString();n(l?"".concat(o,"?").concat(l):o)},[e]),t},M={display:"inline-block",lineHeight:0,backfaceVisibility:"hidden"},U={width:"1em",height:"1em",overflowClipMargin:"content-box",overflow:"hidden"},B=e=>m.createElement("svg",{width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},m.createElement("path",{d:"M9 8a.75.75 0 000 1.5h4.44l-5.22 5.22a.75.75 0 101.06 1.06l5.22-5.22v4.445a.75.75 0 101.5 0V8.75a.75.75 0 00-.75-.75H9z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}));function F(e){let{className:t,style:n,boxSize:o,size:i,onClick:r}=e;return m.createElement("span",{className:t,style:{...M,...r&&{cursor:"pointer"},...i&&{fontSize:"".concat(i,"px")},...o&&{width:"".concat(o,"px"),height:"".concat(o,"px"),display:"inline-flex",alignItems:"center",justifyContent:"center"},...n},...r?{role:"button",tabIndex:"0",onClick:r}:{}},m.createElement(B,{viewBox:"0 0 24 24",style:U}))}F.displayName="IconFdsArrowUpRightSmallO";let q=(0,d.g)("footer-modal-body","sc"),H=Object.freeze({wrapper:"".concat(q,"__wrapper"),title:"".concat(q,"__title"),item:"".concat(q,"__item"),label:"".concat(q,"__label"),button:"".concat(q,"__button"),description:"".concat(q,"__description")}),V=e=>{let{directions:t}=e;return(0,o.jsxs)("div",{className:H.wrapper,children:[(0,o.jsx)("div",{className:H.title,children:"Направления"}),t.map(e=>(0,o.jsxs)(S,{className:H.item,href:e.url,target:"_blank",eventActionText:e.name,eventLabel:"".concat(e.name,"_").concat(e.url),children:[(0,o.jsxs)("div",{className:H.label,children:[(0,o.jsx)("span",{children:e.name}),(0,o.jsx)(L,{className:H.button,iconRight:(0,o.jsx)(F,{size:28}),shape:"circle-icon",eventActionText:"IconFdsArrowUpRightSmallO"})]}),(0,o.jsx)("p",{className:H.description,children:e.description})]},e.url))]})},$=(0,d.g)("footer-popup","sc"),Y=Object.freeze({wrapper:"".concat($,"__wrapper"),button:"".concat($,"__button"),icon:"".concat($,"__icon"),buttonWrapper:"".concat($,"__button-wrapper")}),Z=e=>{let{directions:t}=e,n=(0,g.qF)("l"),[i,r]=(0,m.useState)(!1),l=()=>{r(!1)};return(0,o.jsxs)("div",{className:Y.wrapper,children:[(0,o.jsx)("div",{className:Y.buttonWrapper,children:(0,o.jsx)(L,{className:Y.button,appearance:"ghost",variant:"white",onClick:()=>{r(!0)},label:"Все направления",eventActionText:"Все направления",iconLeft:(0,o.jsx)("div",{className:Y.icon,children:[1,2,3,4,5,6,7,8,9].map(e=>(0,o.jsx)("div",{},e))})})}),(0,o.jsxs)(w.P,{children:[!n&&(0,o.jsx)(w.U,{isOpen:i,onClose:l,full:!0,children:(0,o.jsx)(V,{directions:t})}),n&&(0,o.jsx)(w.D,{isOpen:i,onClose:l,width:"804px",children:(0,o.jsx)(V,{directions:t})})]})]})},G=(0,d.g)("footer-left-column","sc"),J=Object.freeze({leftColumn:"".concat(G,"__left-column"),logoWrapper:"".concat(G,"__logo-wrapper"),banner:"".concat(G,"__banner"),mobAppLink:"".concat(G,"__mob-app-link"),br:"".concat(G,"__br")}),K=e=>{let{showcaseUrl:t,minioUrl:n,directions:i,mobAppUrl:r}=e,l=W(r);return(0,o.jsxs)("div",{className:J.leftColumn,children:[(0,o.jsx)(S,{className:J.logoWrapper,href:t,eventActionType:p.D.icon,eventActionText:"finuslugi_logo",eventLabel:"finuslugi_logo_".concat(t),children:(0,o.jsx)("img",{src:(0,u.oq)(n,"/widgets/footer/finuslugi_base_logo.svg"),alt:"finuslugi logo",loading:"lazy"})}),(0,o.jsx)(Z,{directions:null!=i?i:[]}),(0,o.jsx)(S,{href:l,target:"_blank",eventActionType:p.D.banner,eventActionText:"Управляйте финансами через приложение Финуслуг",eventLabel:l,className:J.mobAppLink,children:(0,o.jsxs)(v.Z,{className:J.banner,children:[(0,o.jsxs)(s,{weight:"medium",children:["Управляйте финансами",(0,o.jsx)("br",{}),"через приложение",(0,o.jsx)("br",{className:J.br})," Финуслуг"]}),(0,o.jsx)(L,{iconRight:(0,o.jsx)(D,{size:32}),shape:"circle-icon",variant:"white",eventActionText:"IconFdsArrowUpRightSmallO"}),(0,o.jsxs)("picture",{children:[(0,o.jsx)("source",{srcSet:(0,u.oq)(n,"/widgets/footer/apps_d.webp"),media:"(min-width: 1024px)"}),(0,o.jsx)("img",{src:(0,u.oq)(n,"/widgets/footer/apps_m.webp"),alt:"иллюстрация мобильного приложения",loading:"lazy"})]})]})})]})},Q=(0,d.g)("footer-logo","sc"),X=Object.freeze({wrapper:"".concat(Q,"__wrapper"),link:"".concat(Q,"__link"),fromMoex:"".concat(Q,"__from-moex"),logo:"".concat(Q,"__logo"),white:"".concat(Q,"__wrapper--white")}),ee=e=>{let{showcaseUrl:t,minioUrl:n,isWhite:i}=e;return(0,o.jsx)("div",{className:(0,r.A)(X.wrapper,{[X.white]:i}),children:(0,o.jsxs)(S,{className:X.link,href:t,eventActionType:p.D.icon,eventActionText:"finuslugi_logo",eventLabel:"finuslugi_logo_".concat(t),children:[(0,o.jsx)("img",{className:X.logo,src:"".concat(n,"/images/logo-brandmark-common-finuslugi.svg"),loading:"lazy"}),(0,o.jsx)("img",{className:X.fromMoex,src:"".concat(n,"/images/fromMoex.svg"),loading:"lazy"})]})})};var et=(e=>(e.BLACK="black",e.GRAY="gray",e))(et||{});let en=(0,d.g)("footer-warning","sc"),eo=Object.freeze({reservedSpace:"".concat(en,"__reserved-space"),wrapper:"".concat(en,"__wrapper"),wrapperGray:"".concat(en,"__wrapper--gray"),fixed:"".concat(en,"__wrapper--fixed"),container:"".concat(en,"__container"),text:"".concat(en,"__text"),invisibleText:"".concat(en,"__text--invisible")}),ei=e=>{let{text:t,variant:n,fixed:l,isPlaceholder:c}=e;return(0,o.jsx)("div",{className:(0,r.A)(eo.wrapper,{[eo.wrapperGray]:"gray"===n,[eo.fixed]:l&&!c}),children:(0,o.jsx)(i.m,{className:eo.container,children:(0,o.jsx)("div",{className:(0,r.A)(eo.text,{[eo.invisibleText]:c}),dangerouslySetInnerHTML:{__html:t}})})})},er=e=>{var t,n;let{warning:i}=e,r="string"==typeof i?{text:i}:i,l={text:r.text,fixed:null==(t=r.fixed)||t,variant:null!=(n=r.variant)?n:et.BLACK};return(0,o.jsxs)("div",{className:eo.reservedSpace,children:[(0,o.jsx)(ei,{...l,isPlaceholder:l.fixed}),l.fixed&&(0,o.jsx)(ei,{...l,fixed:!0})]})},el=e=>{var t,n;let{data:l,showcaseUrl:c="https://finuslugi.ru",minioUrl:a="https://assets.finuslugi.ru/mp-assets",customDisclaimer:s,variant:u="default",className:d}=e,f=!s&&null!=l&&l.disclaimer?l.disclaimer:void 0,p=u.includes("compact"),h=u.includes("white"),m=null==(t=null==l?void 0:l.bottom)?void 0:t.concat(p?N:[]),v=l&&"warning"in l?l.warning:void 0;return l?(0,o.jsx)("footer",{className:(0,r.A)(_.wrapper,d,{[_.compact]:p,[_.white]:h}),children:(0,o.jsxs)("section",{className:_.section,children:[(0,o.jsxs)(i.m,{className:_.container,children:[!p&&(0,o.jsx)(K,{showcaseUrl:c,minioUrl:a,directions:null==l?void 0:l.directions,mobAppUrl:null==l?void 0:l.mobAppUrl}),(0,o.jsx)("div",{className:_.wrapper,children:(0,o.jsxs)("div",{className:_.top,children:[(0,o.jsxs)("div",{children:[(0,o.jsxs)("div",{className:_.main,children:[!p&&(0,o.jsx)("div",{className:_.links,children:null==(n=null==l?void 0:l.top)?void 0:n.map(e=>(0,o.jsx)(S,{href:e.url,eventActionText:e.title,eventLabel:e.url,children:e.title},e.url))}),p&&(0,o.jsx)(ee,{showcaseUrl:c,minioUrl:a,isWhite:h}),(0,o.jsx)(T,{className:_.disclaimer,disclaimer:f,children:s||A})]}),(0,o.jsxs)("div",{className:_.bottom,children:[(0,o.jsx)("div",{className:_.bottomLinks,children:null==m?void 0:m.map(e=>(0,o.jsx)(S,{href:e.url,eventActionText:e.title,eventLabel:e.url,children:e.title},e.url))}),(0,o.jsx)(T,{className:_.bottomDisclaimer,disclaimer:null==l?void 0:l.bottomDisclaimer})]})]}),!p&&(0,o.jsx)(O,{minioUrl:a,blogs:null==l?void 0:l.blogs})]})})]}),p&&!!v&&(0,o.jsx)(er,{warning:v})]})}):null}},68086:(e,t,n)=>{"use strict";n.d(t,{g:()=>o});let o=function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return t?e:void 0}},69241:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});let o=function(){for(var e,t,n=0,o="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=function e(t){var n,o,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t)if(Array.isArray(t)){var r=t.length;for(n=0;n<r;n++)t[n]&&(o=e(t[n]))&&(i&&(i+=" "),i+=o)}else for(o in t)t[o]&&(i&&(i+=" "),i+=o);return i}(e))&&(o&&(o+=" "),o+=t);return o}},70728:(e,t,n)=>{"use strict";function o(e){Array.isArray(window.dataLayer)?window.dataLayer.push({event:"data_event",...window.browserId?{browser_id:window.browserId}:{},...window.sessionId?{session_id:window.browserSessionId}:{},...window.customerId?{customer_id:window.customerId}:{},...e}):console.log("window.dataLayer does not exist"),Array.isArray(window._mtm)?window._mtm.push(e):console.log("window._mtm does not exist")}n.d(t,{Fj:()=>o})},73044:(e,t,n)=>{"use strict";n.d(t,{B:()=>i,a:()=>o,b:()=>r});let o=Object.freeze({xs:Object.freeze({maxWidth:599}),s:Object.freeze({minWidth:600,maxWidth:767}),m:Object.freeze({minWidth:768,maxWidth:1023}),l:Object.freeze({minWidth:1024,maxWidth:1279}),xl:Object.freeze({minWidth:1280,maxWidth:1439}),"2xl":Object.freeze({minWidth:1440,maxWidth:1919}),"3xl":Object.freeze({minWidth:1920})}),i=Object.freeze(Object.keys(o)),r=Object.freeze(i.filter(e=>"xs"!==e));Object.freeze(i.filter(e=>"3xl"!==e))},75152:()=>{},75552:()=>{},76637:()=>{},82662:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(37876),i=n(69241),r=n(9789);n(20134);let l=(0,r.g)("card"),c={card:l,variants:{primary:"".concat(l,"--primary"),secondary:"".concat(l,"--secondary")}},a=e=>{let{as:t,className:n,style:r,children:l,variant:a="primary",dataQa:s,dataId:u,...d}=e;return(0,o.jsx)(t||"div",{className:(0,i.A)(n,c.card,c.variants[a]),style:r,...d,"data-id":u,"data-qa":s,children:l})};a.displayName="Card"},83314:()=>{},83815:(e,t,n)=>{"use strict";n.d(t,{a:()=>p});var o=n(37876),i=n(14232),r=n(69241),l=n(14595),c=n(73044),a=n(9789);function s(e){return i.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M15.827 2.761A10.001 10.001 0 1 0 12 22a.75.75 0 0 0 .75-.75v-.004a.75.75 0 0 0-.75-.75A8.496 8.496 0 1 1 20.496 12c0 .414.336.75.75.75h.004A.75.75 0 0 0 22 12a10 10 0 0 0-6.173-9.239Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}n(98224);let u=["xxs","xs","s","m","l"],d=(0,a.g)("button"),f={button:d,label:"".concat(d,"__label"),icon:"".concat(d,"__icon"),spinner:"".concat(d,"__spinner"),states:{ghost:"".concat(d,"--ghost"),outline:"".concat(d,"--outline"),stretch:"".concat(d,"--stretch"),iconOnly:"".concat(d,"--icon-only"),iconLeft:"".concat(d,"--icon-left"),iconRight:"".concat(d,"--icon-right"),rounded:"".concat(d,"--rounded"),disabled:"".concat(d,"--disabled"),hidden:"".concat(d,"--hidden")}},p=(0,i.forwardRef)((e,t)=>{let{as:n,appearance:a="fill",children:d,className:p,disabled:h=!1,iconLeft:m,iconRight:v,label:g,pending:w,shape:b="default",size:x="m",stretch:y=!1,variant:_="primary",type:j,dataId:N,dataQa:k,style:C,onClick:A,...L}=e,S=n||"button",O=g||d,R=(0,i.useMemo)(()=>"icon"===b||"circle-icon"===b,[b]),E="string"==typeof x&&u.includes(x),T=(0,i.useMemo)(()=>{let e={};if(x&&!E){let t=(e=>e?"string"==typeof e?e.split(" ").map(e=>{if(e.includes("-")){let t=e.indexOf("-");return[e.substring(0,t),e.substring(t+1,e.length)]}return[e]}).reduce((e,t)=>{let[n,o]=t;return{...e,[n]:void 0===o||o}},{}):e:{})(x);e=c.B.reduce((e,n)=>{let o="xs"===n?"".concat(f.button,"--").concat(t[n]):"".concat(f.button,"--").concat(t[n],"-").concat(n);return{...e,[o]:!!t[n]}},{})}return e},[E,x]),z=(0,i.useMemo)(()=>({[f.button]:!0,["".concat(f.button,"--").concat(_)]:!0,["".concat(f.button,"--").concat(x)]:E,[f.states.iconOnly]:R,[f.states.stretch]:!0===y,["".concat(f.states.stretch,":").concat(y)]:"string"==typeof y,[f.states.ghost]:"ghost"===a,[f.states.outline]:"outline"===a,[f.states.rounded]:"circle-icon"===b,[f.states.iconLeft]:m&&!R,[f.states.iconRight]:v&&!R,[f.states.disabled]:h,...T}),[a,h,m,R,v,E,T,b,x,y,_]),P=(0,i.useMemo)(()=>!!v&&(!R||!m),[m,v,R]),I=(0,i.useCallback)(e=>{if(h)return void e.preventDefault();null==A||A(e)},[A,h]);return(0,o.jsxs)(S,{className:(0,r.A)(p,{...z}),ref:t,style:C,type:"button"===S?j||"button":void 0,disabled:"button"===S?h:void 0,"aria-disabled":h||void 0,tabIndex:h?-1:0,onClick:I,...L,"data-qa":k,"data-id":N,children:[m&&(0,o.jsx)("span",{role:"img","aria-hidden":"true",className:(0,r.A)(f.icon,{[f.states.hidden]:w}),children:m}),O&&!R&&(0,o.jsx)("span",{className:(0,r.A)(f.label,{[f.states.hidden]:w}),children:O}),P&&(0,o.jsx)("span",{role:"img","aria-hidden":"true",className:(0,r.A)(f.icon,{[f.states.hidden]:w}),children:v}),w&&(0,o.jsx)("span",{role:"img","aria-hidden":"true",className:f.spinner,children:(0,o.jsx)(l.P,{children:(0,o.jsx)(s,{})})})]})});p.displayName="Button"},84974:(e,t,n)=>{"use strict";let o;function i(){return"undefined"!=typeof window}function r(e){return a(e)?(e.nodeName||"").toLowerCase():"#document"}function l(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function c(e){var t;return null==(t=(a(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function a(e){return!!i()&&(e instanceof Node||e instanceof l(e).Node)}function s(e){return!!i()&&(e instanceof Element||e instanceof l(e).Element)}function u(e){return!!i()&&(e instanceof HTMLElement||e instanceof l(e).HTMLElement)}function d(e){return!!i()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof l(e).ShadowRoot)}function f(e){let{overflow:t,overflowX:n,overflowY:o,display:i}=_(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&"inline"!==i&&"contents"!==i}function p(e){return/^(table|td|th)$/.test(r(e))}function h(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}n.d(t,{$4:()=>N,CP:()=>j,L9:()=>_,Lv:()=>p,Ng:()=>d,Tc:()=>x,Tf:()=>h,ZU:()=>f,_m:()=>k,ep:()=>c,eu:()=>y,gJ:()=>b,mq:()=>r,sQ:()=>w,sb:()=>u,v9:()=>function e(t,n,o){var i;void 0===n&&(n=[]),void 0===o&&(o=!0);let r=function e(t){let n=N(t);return y(n)?(t.ownerDocument||t).body:u(n)&&f(n)?n:e(n)}(t),c=r===(null==(i=t.ownerDocument)?void 0:i.body),a=l(r);if(!c)return n.concat(r,e(r,[],o));{let t=k(a);return n.concat(a,a.visualViewport||[],f(r)?r:[],t&&o?e(t):[])}},vq:()=>s,zk:()=>l});let m=/transform|translate|scale|rotate|perspective|filter/,v=/paint|layout|strict|content/,g=e=>!!e&&"none"!==e;function w(e){let t=s(e)?_(e):e;return g(t.transform)||g(t.translate)||g(t.scale)||g(t.rotate)||g(t.perspective)||!x()&&(g(t.backdropFilter)||g(t.filter))||m.test(t.willChange||"")||v.test(t.contain||"")}function b(e){let t=N(e);for(;u(t)&&!y(t);){if(w(t))return t;if(h(t))break;t=N(t)}return null}function x(){return null==o&&(o="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),o}function y(e){return/^(html|body|#document)$/.test(r(e))}function _(e){return l(e).getComputedStyle(e)}function j(e){return s(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function N(e){if("html"===r(e))return e;let t=e.assignedSlot||e.parentNode||d(e)&&e.host||c(e);return d(t)?t.host:t}function k(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}},88913:(e,t,n)=>{"use strict";n.d(t,{EW:()=>g,F2:()=>v,Go:()=>f,O_:()=>p,Pg:()=>s,RS:()=>i,WZ:()=>b,YE:()=>m,YF:()=>a,gR:()=>r,jo:()=>w,nr:()=>u,tZ:()=>h,uo:()=>l});var o=n(84974);function i(e){let t=e.activeElement;for(;(null==(n=t)||null==(n=n.shadowRoot)?void 0:n.activeElement)!=null;){var n;t=t.shadowRoot.activeElement}return t}function r(e,t){if(!e||!t)return!1;let n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&(0,o.Ng)(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function l(){let e=navigator.userAgentData;return null!=e&&e.platform?e.platform:navigator.platform}function c(){let e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(e=>{let{brand:t,version:n}=e;return t+"/"+n}).join(" "):navigator.userAgent}function a(e){return 0===e.mozInputSource&&!!e.isTrusted||(d()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function s(e){return!c().includes("jsdom/")&&(!d()&&0===e.width&&0===e.height||d()&&1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType||e.width<1&&e.height<1&&0===e.pressure&&0===e.detail&&"touch"===e.pointerType)}function u(){return/apple/i.test(navigator.vendor)}function d(){let e=/android/i;return e.test(l())||e.test(c())}function f(e,t){let n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}function p(e){return"nativeEvent"in e}function h(e){return e.matches("html,body")}function m(e){return(null==e?void 0:e.ownerDocument)||document}function v(e,t){return null!=t&&("composedPath"in e?e.composedPath().includes(t):null!=e.target&&t.contains(e.target))}function g(e){return"composedPath"in e?e.composedPath()[0]:e.target}function w(e){e.preventDefault(),e.stopPropagation()}function b(e){return!!e&&"combobox"===e.getAttribute("role")&&(0,o.sb)(e)&&e.matches("input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])")}},90807:(e,t,n)=>{"use strict";n.d(t,{D:()=>O,P:()=>F,U:()=>B,u:()=>v});var o=n(37876),i=n(14232),r=n(69241),l=n(57539),c=n(98477);let a=e=>{let{opened:t}=e,[n,o]=(0,i.useState)(!1),r=(0,i.useRef)(null),l=(0,i.useRef)(!1);return(0,i.useEffect)(()=>(t&&!l.current?(l.current=!0,o(!0)):!t&&l.current&&(r.current=setTimeout(()=>{l.current=!1,o(!1)},300)),()=>{r.current&&clearTimeout(r.current)}),[t]),{mounted:n}},s=(0,l.g)("click-outside","sc"),u=Object.freeze({overlay:"".concat(s,"__overlay"),open:"".concat(s,"--open"),close:"".concat(s,"--close")}),d=e=>{let{onClose:t,onToucheMove:n,isOpen:l,delay:c=300}=e,a=(0,i.useRef)(null),s=(0,i.useCallback)(()=>{t&&(a.current=setTimeout(()=>{t()},c))},[c,t]),d=(0,i.useCallback)(e=>{"Escape"===e.key&&s()},[s]);return(0,i.useEffect)(()=>(l&&window.addEventListener("keydown",d),()=>{a.current&&clearTimeout(a.current),window.removeEventListener("keydown",d)}),[l,d]),(0,o.jsx)("div",{className:(0,r.A)(u.overlay,{[u.open]:l,[u.close]:!l}),onTouchStart:n,onClick:s})},f=(e,t)=>{e&&(t?e.setAttribute("data-portal",""):e.removeAttribute("data-portal"))},p=(e,t)=>{t.style.removeProperty("overflow-y"),e.classList.toggle("scroll-disable-windows",!1),e.style.removeProperty("overflow"),e.style.removeProperty("height"),e.style.removeProperty("width"),e.style.removeProperty("top")},h=()=>{void 0!==window.prevScrollPosition&&(window.scrollTo(0,window.prevScrollPosition),window.prevScrollPosition=void 0)},m=()=>document.querySelectorAll("[data-portal]").length>1,v=e=>{let t=(0,i.useRef)(null),n=(0,i.useRef)(!1);return(0,i.useEffect)(()=>{if(n.current===e)return;n.current=e;let o=t.current,i=document.body,r=document.documentElement,l=window.innerWidth-r.clientWidth,c=l>0;if(e&&c)i.style.top||(window.prevScrollPosition=window.scrollY),((e,t,n)=>{t.style.setProperty("overflow-y","scroll"),e.classList.toggle("scroll-disable-windows",!0),e.style.setProperty("width","calc(100vw - ".concat(n,"px)")),e.style.setProperty("top","-".concat(window.prevScrollPosition,"px"))})(i,r,l),f(o,!0);else if(e)(e=>{e.style.setProperty("overflow","hidden"),e.style.setProperty("height","100vh")})(i),f(o,!0);else{let e=!m();e&&p(i,r),e&&h(),f(o,!1)}return()=>{let e=!m();e&&p(i,r),e&&h()}},[e]),t},g={display:"inline-block",lineHeight:0,backfaceVisibility:"hidden"},w={width:"1em",height:"1em",overflowClipMargin:"content-box",overflow:"hidden"},b=e=>i.createElement("svg",{width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M7.22 7.22a.743.743 0 011.06 0L12 10.94l3.72-3.72a.743.743 0 011.06 0 .742.742 0 010 1.06L13.061 12l3.72 3.72a.743.743 0 010 1.06.743.743 0 01-1.061 0L12 13.06l-3.72 3.72a.743.743 0 01-1.06 0 .743.743 0 010-1.06L10.94 12 7.22 8.28a.743.743 0 010-1.06z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}));function x(e){let{className:t,style:n,boxSize:o,size:r,onClick:l}=e;return i.createElement("span",{className:t,style:{...g,...l&&{cursor:"pointer"},...r&&{fontSize:"".concat(r,"px")},...o&&{width:"".concat(o,"px"),height:"".concat(o,"px"),display:"inline-flex",alignItems:"center",justifyContent:"center"},...n},...l?{role:"button",tabIndex:"0",onClick:l}:{}},i.createElement(b,{viewBox:"0 0 24 24",style:w}))}x.displayName="IconFdsCloseO";let y=(0,l.g)("drawer-footer","sc"),_=Object.freeze({footer:"".concat(y,"__footer"),hasScroll:"".concat(y,"__footer--has-scroll")}),j=e=>{let{footer:t,hasScroll:n,className:i}=e;return(0,o.jsx)("div",{className:(0,r.A)(_.footer,{[_.hasScroll]:n},i),children:"function"==typeof t?t():t})},N=(0,l.g)("drawer-content","sc"),k=Object.freeze({container:"".concat(N,"__container"),open:"".concat(N,"--open"),close:"".concat(N,"--close"),header:"".concat(N,"__header"),rowHeader:"".concat(N,"__header--row"),title:"".concat(N,"__title"),center:"".concat(N,"__title--center"),left:"".concat(N,"__title--left"),right:"".concat(N,"__title--right"),controlContainer:"".concat(N,"__control-container"),content:"".concat(N,"__content"),footer:"".concat(N,"__footer")}),C=e=>{let{onClose:t,onContentClick:n,children:l,title:c,rowTitle:a,titleAlign:s,isCloseable:u,footer:d,closeButton:f,isOpen:p,contentClassName:h,footerClassName:m,contentStyle:v,width:g}=e,w=(0,i.useRef)(null),b=(0,i.useRef)(null),[y,_]=(0,i.useState)(!1);(0,i.useEffect)(()=>{var e;if(!b.current||!w.current)return;let t=(null==(e=null==b?void 0:b.current)?void 0:e.getBoundingClientRect().top)||0,n=null==w?void 0:w.current,o=()=>{let e=null==b?void 0:b.current;e&&_(()=>e.getBoundingClientRect().top!==t)};return n&&n.addEventListener("scroll",o,!1),()=>{null==n||n.removeEventListener("scroll",o,!1)}},[]);let N=v||g?{width:g,...v||{}}:void 0;return(0,o.jsxs)("div",{ref:w,style:N,className:(0,r.A)(k.container,{[k.open]:p,[k.close]:!p},h),children:[c||u?(0,o.jsxs)("div",{className:(0,r.A)(k.header,{[k.rowHeader]:a}),children:[u?f?"function"==typeof f?f():f:(0,o.jsx)("button",{type:"button",className:k.controlContainer,onClick:t,children:(0,o.jsx)(x,{size:24})}):null,c?(0,o.jsx)("h3",{className:(0,r.A)(k.title,{[k[s]]:!0}),children:c}):null]}):null,(0,o.jsx)("div",{ref:b,className:k.content,onClick:n,children:l}),d&&(0,o.jsx)(j,{className:(0,r.A)(k.footer,m),footer:d,hasScroll:y})]})},A=(0,l.g)("drawer-layout","sc"),L=Object.freeze({window:"".concat(A,"__window")}),S=e=>{let{onClose:t,isOpen:n,children:l,withDisabledScroll:c,className:a,...s}=e,u=(0,i.useCallback)(e=>e.stopPropagation(),[]);return v(n&&c),(0,o.jsxs)("div",{"data-portal":!0,className:(0,r.A)(L.window,a),children:[(0,o.jsx)(d,{onClose:t,isOpen:n,delay:0}),(0,o.jsx)(C,{onContentClick:u,onClose:t,isOpen:n,...s,children:l})]})},O=e=>{let{isOpen:t=!1,children:n,titleAlign:i="center",isCloseable:r=!0,withDisabledScroll:l=!0,...c}=e,{mounted:s}=a({opened:t});return s?(0,o.jsx)(S,{titleAlign:i,isCloseable:r,isOpen:t,withDisabledScroll:l,...c,children:n}):null};O.displayName="Drawer";let R={display:"inline-block",lineHeight:0,backfaceVisibility:"hidden"},E={width:"1em",height:"1em",overflowClipMargin:"content-box",overflow:"hidden"},T=e=>i.createElement("svg",{width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M7.22 7.22a.743.743 0 011.06 0L12 10.94l3.72-3.72a.743.743 0 011.06 0 .742.742 0 010 1.06L13.061 12l3.72 3.72a.743.743 0 010 1.06.743.743 0 01-1.061 0L12 13.06l-3.72 3.72a.743.743 0 01-1.06 0 .743.743 0 010-1.06L10.94 12 7.22 8.28a.743.743 0 010-1.06z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}));function z(e){let{className:t,style:n,boxSize:o,size:r,onClick:l}=e;return i.createElement("span",{className:t,style:{...R,...l&&{cursor:"pointer"},...r&&{fontSize:"".concat(r,"px")},...o&&{width:"".concat(o,"px"),height:"".concat(o,"px"),display:"inline-flex",alignItems:"center",justifyContent:"center"},...n},...l?{role:"button",tabIndex:"0",onClick:l}:{}},i.createElement(T,{viewBox:"0 0 24 24",style:E}))}z.displayName="IconFdsCloseO";let P=(0,l.g)("mobile-modal-footer","sc"),I=Object.freeze({footer:"".concat(P,"__footer"),footerWithoutShadow:"".concat(P,"__footer--without-shadow")}),D=e=>{let{footer:t,isSmallPopup:n=!1,footerClassName:i}=e;return(0,o.jsx)("div",{className:(0,r.A)(I.footer,n&&I.footerWithoutShadow,i),children:"function"==typeof t?t():t})},W=(0,l.g)("mobile-popup","sc"),M=Object.freeze({mobilePopup:"".concat(W),mobilePopupOpen:"".concat(W,"--open"),content:"".concat(W,"__content"),contentFull:"".concat(W,"__content--full"),contentTransition:"".concat(W,"__content--transition"),contentTransitionOpen:"".concat(W,"__content--transition-open"),contentLine:"".concat(W,"__content-line"),contentContainer:"".concat(W,"__content-container"),smallContentContainer:"".concat(W,"__content-container--small"),min:"".concat(W,"__content-container--min"),title:"".concat(W,"__title"),closeContainer:"".concat(W,"__close-container"),closeButton:"".concat(W,"__close-button")}),U=e=>{let{children:t,footer:n,isOpen:l,isSmallPopup:c,onClose:a,hasCloseButton:s=!0,full:u,touchDistance:f=100,withDisabledScroll:p=!0,contentClassName:h,className:m,title:g,closeButton:w,footerClassName:b}=e,[x,y]=(0,i.useState)(!1),[_,j]=(0,i.useState)(!1),[N,k]=(0,i.useState)(!0),[C,A]=(0,i.useState)("120%"),L=(0,i.useRef)(null),S=(0,i.useRef)(0),O=(0,i.useRef)(!1),R=e=>{var t,n,o;let i=null==(t=L.current)?void 0:t.offsetTop,r=null==(n=L.current)?void 0:n.offsetHeight;if(O.current=!0,k(!1),i&&r){let t=(null==(o=null==e?void 0:e.touches[0])?void 0:o.clientY)-i,n=0;t>=0&&t<=r+30&&(n=t),t>r+30&&(n=r+30),A("".concat(n,"px")),S.current=n}},E=()=>{O.current&&(S.current>f&&a?null==a||a():A("0"),k(!0),O.current=!1),window.removeEventListener("touchmove",R),window.removeEventListener("touchend",E)};return(0,i.useEffect)(()=>{l&&setTimeout(()=>{y(!0),j(!0),A("0")},100),!l&&_&&(A("120%"),y(!1),j(!1))},[_,l]),v(l&&p),(0,o.jsxs)("div",{"data-portal":!0,className:(0,r.A)(M.mobilePopup,_&&M.mobilePopupOpen,m),children:[(0,o.jsx)(d,{onClose:()=>{l&&(null==a||a())},onToucheMove:()=>{l&&(y(!1),window.addEventListener("touchmove",R),window.addEventListener("touchend",E))},isOpen:l,delay:0}),(0,o.jsxs)("div",{className:(0,r.A)(M.content,u&&M.contentFull,N&&M.contentTransition,N&&x&&M.contentTransitionOpen),ref:L,style:{transform:"translateY(".concat(C,")")},children:[(0,o.jsx)("div",{className:M.contentLine}),(0,o.jsxs)("div",{className:(0,r.A)(M.contentContainer,c&&M.smallContentContainer,{[M.min]:!g&&!s},h),children:[!!g&&(0,o.jsx)("div",{className:M.title,children:g}),s?(0,o.jsx)("div",{className:M.closeContainer,children:s?w?"function"==typeof w?w():w:(0,o.jsx)("button",{onClick:a,className:M.closeButton,children:(0,o.jsx)(z,{size:24})}):null}):null,t]}),n&&(0,o.jsx)(D,{footerClassName:b,isSmallPopup:c,footer:n})]})]})},B=e=>{let{children:t,isSmallPopup:n=!1,isOpen:i=!1,...r}=e,{mounted:l}=a({opened:i});return l?(0,o.jsx)(U,{isSmallPopup:n,isOpen:i,...r,children:t}):null};B.displayName="UiMobilePopup";let F=e=>{let{children:t,id:n="portal-root"}=e,[o,r]=(0,i.useState)(null);return(0,i.useEffect)(()=>{let e=document.getElementById(n);if(e)return void r(e);let t=document.createElement("div");return t.id=n,document.body.appendChild(t),r(t),()=>{document.body.removeChild(t)}},[n]),o?(0,c.createPortal)(t,o):null}},91273:(e,t,n)=>{"use strict";n.d(t,{VL:()=>b,oq:()=>x});let o=/#/g,i=/&/g,r=/\//g,l=/=/g,c=/\+/g,a=/%5e/gi,s=/%60/gi,u=/%7c/gi,d=/%20/gi;function f(e){return encodeURI(""+("string"==typeof e?e:JSON.stringify(e))).replace(u,"|").replace(c,"%2B").replace(d,"+").replace(o,"%23").replace(i,"%26").replace(s,"`").replace(a,"^").replace(r,"%2F")}function p(e){return f(e).replace(l,"%3D")}function h(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}let m=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,v=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,g=/^([/\\]\s*){2,}[^/\\]/,w=/^\.?\//;function b(e,t){let n=function e(t="",n){let o=t.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(o){let[,e,t=""]=o;return{protocol:e.toLowerCase(),pathname:t,href:e+t,auth:"",host:"",search:"",hash:""}}if(!function(e,t={}){return("boolean"==typeof t&&(t={acceptRelative:t}),t.strict)?m.test(e):v.test(e)||!!t.acceptRelative&&g.test(e)}(t,{acceptRelative:!0}))return n?e(n+t):_(t);let[,i="",r,l=""]=t.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,c="",a=""]=l.match(/([^#/?]*)(.*)?/)||[];"file:"===i&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));let{pathname:s,search:u,hash:d}=_(a);return{protocol:i.toLowerCase(),auth:r?r.slice(0,Math.max(0,r.length-1)):"",host:c,pathname:s,search:u,hash:d,[y]:!i}}(e),o={...function(e=""){let t=Object.create(null);for(let n of("?"===e[0]&&(e=e.slice(1)),e.split("&"))){let e=n.match(/([^=]+)=?(.*)/)||[];if(e.length<2)continue;let o=h(e[1].replace(c," "));if("__proto__"===o||"constructor"===o)continue;let i=h((e[2]||"").replace(c," "));void 0===t[o]?t[o]=i:Array.isArray(t[o])?t[o].push(i):t[o]=[t[o],i]}return t}(n.search),...t};return n.search=Object.keys(o).filter(e=>void 0!==o[e]).map(e=>{var t;return(("number"==typeof(t=o[e])||"boolean"==typeof t)&&(t=String(t)),t)?Array.isArray(t)?t.map(t=>`${p(e)}=${f(t)}`).join("&"):`${p(e)}=${f(t)}`:p(e)}).filter(Boolean).join("&"),function(e){let t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",o=e.hash||"",i=e.auth?e.auth+"@":"",r=e.host||"";return(e.protocol||e[y]?(e.protocol||"")+"//":"")+i+r+t+n+o}(n)}function x(e,...t){let n=e||"";for(let e of t.filter(e=>e&&"/"!==e))if(n){let t=e.replace(w,"");n=function(e="",t){return e.endsWith("/")?e:e+"/"}(n)+t}else n=e;return n}let y=Symbol.for("ufo:protocolRelative");function _(e=""){let[t="",n="",o=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:o}}},94882:(e,t,n)=>{"use strict";n.d(t,{BN:()=>p,UE:()=>v,UU:()=>h,cY:()=>f,jD:()=>m,we:()=>d});var o=n(50698),i=n(14232),r=n(98477),l="undefined"!=typeof document?i.useLayoutEffect:function(){};function c(e,t){let n,o,i;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(o=n;0!=o--;)if(!c(e[o],t[o]))return!1;return!0}if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(o=n;0!=o--;)if(!({}).hasOwnProperty.call(t,i[o]))return!1;for(o=n;0!=o--;){let n=i[o];if(("_owner"!==n||!e.$$typeof)&&!c(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function a(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function s(e,t){let n=a(e);return Math.round(t*n)/n}function u(e){let t=i.useRef(e);return l(()=>{t.current=e}),t}function d(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:d=[],platform:f,elements:{reference:p,floating:h}={},transform:m=!0,whileElementsMounted:v,open:g}=e,[w,b]=i.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[x,y]=i.useState(d);c(x,d)||y(d);let[_,j]=i.useState(null),[N,k]=i.useState(null),C=i.useCallback(e=>{e!==O.current&&(O.current=e,j(e))},[]),A=i.useCallback(e=>{e!==R.current&&(R.current=e,k(e))},[]),L=p||_,S=h||N,O=i.useRef(null),R=i.useRef(null),E=i.useRef(w),T=null!=v,z=u(v),P=u(f),I=u(g),D=i.useCallback(()=>{if(!O.current||!R.current)return;let e={placement:t,strategy:n,middleware:x};P.current&&(e.platform=P.current),(0,o.rD)(O.current,R.current,e).then(e=>{let t={...e,isPositioned:!1!==I.current};W.current&&!c(E.current,t)&&(E.current=t,r.flushSync(()=>{b(t)}))})},[x,t,n,P,I]);l(()=>{!1===g&&E.current.isPositioned&&(E.current.isPositioned=!1,b(e=>({...e,isPositioned:!1})))},[g]);let W=i.useRef(!1);l(()=>(W.current=!0,()=>{W.current=!1}),[]),l(()=>{if(L&&(O.current=L),S&&(R.current=S),L&&S){if(z.current)return z.current(L,S,D);D()}},[L,S,D,z,T]);let M=i.useMemo(()=>({reference:O,floating:R,setReference:C,setFloating:A}),[C,A]),U=i.useMemo(()=>({reference:L,floating:S}),[L,S]),B=i.useMemo(()=>{let e={position:n,left:0,top:0};if(!U.floating)return e;let t=s(U.floating,w.x),o=s(U.floating,w.y);return m?{...e,transform:"translate("+t+"px, "+o+"px)",...a(U.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:o}},[n,m,U.floating,w.x,w.y]);return i.useMemo(()=>({...w,update:D,refs:M,elements:U,floatingStyles:B}),[w,D,M,U,B])}let f=(e,t)=>{let n=(0,o.cY)(e);return{name:n.name,fn:n.fn,options:[e,t]}},p=(e,t)=>{let n=(0,o.BN)(e);return{name:n.name,fn:n.fn,options:[e,t]}},h=(e,t)=>{let n=(0,o.UU)(e);return{name:n.name,fn:n.fn,options:[e,t]}},m=(e,t)=>{let n=(0,o.jD)(e);return{name:n.name,fn:n.fn,options:[e,t]}},v=(e,t)=>{let n=(e=>({name:"arrow",options:e,fn(t){let{element:n,padding:i}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?(0,o.UE)({element:n.current,padding:i}).fn(t):{}:n?(0,o.UE)({element:n,padding:i}).fn(t):{}}}))(e);return{name:n.name,fn:n.fn,options:[e,t]}}},98224:()=>{}}]);