(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9069],{1611:(e,t,n)=>{"use strict";function l(e,t){return`finkit-widgets-${t}-${e}`}n.d(t,{g:()=>l})},10335:(e,t,n)=>{"use strict";n.d(t,{D:()=>b});var l=n(95155),o=n(60445),i=n(12115),r=n(2821),a=n(61995),c=n(79576),s=n(1611);let d=(0,s.g)("drawer-footer","sc"),u=Object.freeze({footer:`${d}__footer`,hasScroll:`${d}__footer--has-scroll`}),p=({footer:e,hasScroll:t,className:n})=>(0,l.jsx)("div",{className:(0,r.A)(u.footer,{[u.hasScroll]:t},n),children:"function"==typeof e?e():e}),m=(0,s.g)("drawer-content","sc"),h=Object.freeze({container:`${m}__container`,open:`${m}--open`,close:`${m}--close`,header:`${m}__header`,rowHeader:`${m}__header--row`,title:`${m}__title`,center:`${m}__title--center`,left:`${m}__title--left`,right:`${m}__title--right`,controlContainer:`${m}__control-container`,content:`${m}__content`,footer:`${m}__footer`}),v=({onClose:e,onContentClick:t,children:n,title:o,rowTitle:a,titleAlign:s,isCloseable:d,footer:u,closeButton:m,isOpen:v,contentClassName:f,footerClassName:_,contentStyle:g,width:b})=>{let w=(0,i.useRef)(null),x=(0,i.useRef)(null),[j,y]=(0,i.useState)(!1);(0,i.useEffect)(()=>{var e;if(!x.current||!w.current)return;let t=(null==(e=null==x?void 0:x.current)?void 0:e.getBoundingClientRect().top)||0,n=null==w?void 0:w.current,l=()=>{let e=null==x?void 0:x.current;e&&y(()=>e.getBoundingClientRect().top!==t)};return n&&n.addEventListener("scroll",l,!1),()=>{null==n||n.removeEventListener("scroll",l,!1)}},[]);let N=g||b?{width:b,...g||{}}:void 0;return(0,l.jsxs)("div",{ref:w,style:N,className:(0,r.A)(h.container,{[h.open]:v,[h.close]:!v},f),children:[o||d?(0,l.jsxs)("div",{className:(0,r.A)(h.header,{[h.rowHeader]:a}),children:[d?m?"function"==typeof m?m():m:(0,l.jsx)("button",{type:"button",className:h.controlContainer,onClick:e,children:(0,l.jsx)(c.a,{size:24})}):null,o?(0,l.jsx)("h3",{className:(0,r.A)(h.title,{[h[s]]:!0}),children:o}):null]}):null,(0,l.jsx)("div",{ref:x,className:h.content,onClick:t,children:n}),u&&(0,l.jsx)(p,{className:(0,r.A)(h.footer,_),footer:u,hasScroll:j})]})},f=(0,s.g)("drawer-layout","sc"),_=Object.freeze({window:`${f}__window`}),g=({onClose:e,isOpen:t,children:n,withDisabledScroll:c,className:s,...d})=>{let u=(0,i.useCallback)(e=>e.stopPropagation(),[]);return(0,a.u)(t&&c),(0,l.jsxs)("div",{"data-portal":!0,className:(0,r.A)(_.window,s),children:[(0,l.jsx)(o.C,{onClose:e,isOpen:t,delay:0}),(0,l.jsx)(v,{onContentClick:u,onClose:e,isOpen:t,...d,children:n})]})},b=({isOpen:e=!1,children:t,titleAlign:n="center",isCloseable:i=!0,withDisabledScroll:r=!0,...a})=>{let{mounted:c}=(0,o.u)({opened:e});return c?(0,l.jsx)(g,{titleAlign:n,isCloseable:i,isOpen:e,withDisabledScroll:r,...a,children:t}):null};b.displayName="Drawer"},19481:(e,t,n)=>{"use strict";n.d(t,{W:()=>c,a:()=>a,d:()=>s,e:()=>x,g:()=>m,s:()=>_,u:()=>j});var l=n(83639),o=n(12115);let i=`screen and (min-width: ${l.LO.l.minWidth}px)`,r=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","agent_id"],a=Object.freeze({placement:"header",type:"link"}),c=(Object.freeze({placement:"footer",type:"link"}),Object.freeze({placement:"footer",type:"button"}),Object.freeze({placement:"footer",type:"banner"})),s=Object.freeze({placement:"support",type:"banner"}),d=(Object.freeze({placement:"support",type:"button"}),/^\{.*\}$/),u=e=>e.split(/[?#]/)[0].split("/").filter(Boolean),p=e=>{let[t]=u(e);return t?"vklady"===t?"vklady":"other":"mainpage"},m=(e,t)=>{var n;return(null==(n=e.qr)?void 0:n[p(t)])||null},h=null,v=new Set,f=()=>h,_=e=>{let t=e??null;t!==h&&(h=t,v.forEach(e=>e()))},g=e=>(v.add(e),()=>{v.delete(e)}),b=()=>()=>{},w=()=>null,x=(e=!0)=>(0,o.useSyncExternalStore)(e?g:b,e?f:w,w),j=({target:e,fallbackHref:t})=>{let n=x(!!e),l=()=>n&&e?(({config:e,target:t,pathname:n,search:l,referrer:o,isDesktop:i})=>{var a;let c=null==(a=e.links)?void 0:a[p(n)],s=i?null==c?void 0:c.desktop:null==c?void 0:c.mobile;if(!s)return null;let m=(e=>{try{return new URL(e)}catch{return null}})(s);if(!m)return null;(e=>{Array.from(e.searchParams.entries()).filter(([,e])=>d.test(e)).map(([e])=>e).forEach(t=>e.searchParams.delete(t))})(m);let h=new URLSearchParams(l);return r.forEach(e=>{let t=h.get(e);t&&m.searchParams.set(e,t)}),o&&m.searchParams.set("referer",o),m.searchParams.set("value",`${(e=>{let t=u(e);return t.length?t.join("_"):"mainpage"})(n)}_${t.placement}_${t.type}`),m.toString()})({config:n,target:e,...{pathname:window.location.pathname,search:window.location.search,referrer:document.referrer,isDesktop:window.matchMedia(i).matches}}):null,o=()=>l()??t;return{href:o(),getHref:o,onClick:e=>{let t=l();t&&e.currentTarget instanceof HTMLAnchorElement&&e.currentTarget.setAttribute("href",t)}}}},25824:()=>{},33177:()=>{},37489:(e,t,n)=>{"use strict";n.d(t,{d:()=>o});var l=n(10320);let o=(e,t)=>{if(typeof window>"u")return;let n=sessionStorage.getItem("pushedEvents"),o=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 i=o.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||!i){if(t){let t={...e};t.url=window.location.pathname,o.push(t),sessionStorage.setItem("pushedEvents",JSON.stringify(o))}(0,l.Fj)(e)}}},42195:(e,t,n)=>{"use strict";n.d(t,{N:()=>u});var l=n(95155),o=n(2821),i=n(12115),r=n(74763),a=n(58993);function c(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:"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(25824);let s=(0,a.g)("link"),d=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 u(e){let{as:t,size:n="m",withIcon:i=!1,children:a,disabled:s,text:u,inverted:p,onClick:m,className:h,style:v,dataQa:f,dataId:_,...g}=e,b=(0,o.A)(d.link,{[d.states.inverted]:p,[d.states.disabled]:s},d.size[n],h),w=u||a;return(0,l.jsx)(t||"a",{className:b,disabled:s,style:v,onClick:m,"aria-disabled":s,tabIndex:s?-1:0,...g,"data-id":_,"data-qa":f,children:i?(0,l.jsxs)("span",{className:d.content,children:[w,(0,l.jsx)(r.P,{className:d.icon,children:(0,l.jsx)(c,{})})]}):w})}u.displayName="Link"},60445:(e,t,n)=>{"use strict";n.d(t,{C:()=>h,P:()=>N,U:()=>x,u:()=>u});var l=n(95155),o=n(12115),i=n(79576),r=n(2821),a=n(61995),c=n(1611),s=n(47650);let d=300,u=({opened:e})=>{let[t,n]=(0,o.useState)(!1),l=(0,o.useRef)(null),i=(0,o.useRef)(!1);return(0,o.useEffect)(()=>(e&&!i.current?(i.current=!0,n(!0)):!e&&i.current&&(l.current=setTimeout(()=>{i.current=!1,n(!1)},d)),()=>{l.current&&clearTimeout(l.current)}),[e]),{mounted:t}},p=(0,c.g)("click-outside","sc"),m=Object.freeze({overlay:`${p}__overlay`,open:`${p}--open`,close:`${p}--close`}),h=({onClose:e,onToucheMove:t,isOpen:n,delay:i=d})=>{let a=(0,o.useRef)(null),c=(0,o.useCallback)(()=>{e&&(a.current=setTimeout(()=>{e()},i))},[i,e]),s=(0,o.useCallback)(e=>{"Escape"===e.key&&c()},[c]);return(0,o.useEffect)(()=>(n&&window.addEventListener("keydown",s),()=>{a.current&&clearTimeout(a.current),window.removeEventListener("keydown",s)}),[n,s]),(0,l.jsx)("div",{className:(0,r.A)(m.overlay,{[m.open]:n,[m.close]:!n}),onTouchStart:t,onClick:c})},v=(0,c.g)("mobile-modal-footer","sc"),f=Object.freeze({footer:`${v}__footer`,footerWithoutShadow:`${v}__footer--without-shadow`}),_=({footer:e,isSmallPopup:t=!1,footerClassName:n})=>(0,l.jsx)("div",{className:(0,r.A)(f.footer,t&&f.footerWithoutShadow,n),children:"function"==typeof e?e():e}),g=(0,c.g)("mobile-popup","sc"),b=Object.freeze({mobilePopup:`${g}`,mobilePopupOpen:`${g}--open`,content:`${g}__content`,contentFull:`${g}__content--full`,contentTransition:`${g}__content--transition`,contentTransitionOpen:`${g}__content--transition-open`,contentLine:`${g}__content-line`,contentContainer:`${g}__content-container`,smallContentContainer:`${g}__content-container--small`,min:`${g}__content-container--min`,title:`${g}__title`,closeContainer:`${g}__close-container`,closeButton:`${g}__close-button`}),w=({children:e,footer:t,isOpen:n,isSmallPopup:c,onClose:s,hasCloseButton:d=!0,full:u,touchDistance:p=100,withDisabledScroll:m=!0,contentClassName:v,className:f,title:g,closeButton:w,footerClassName:x})=>{let[j,y]=(0,o.useState)(!1),[N,k]=(0,o.useState)(!1),[C,A]=(0,o.useState)(!0),[L,S]=(0,o.useState)("120%"),T=(0,o.useRef)(null),z=(0,o.useRef)(0),$=(0,o.useRef)(!1),E=e=>{var t,n,l;let o=null==(t=T.current)?void 0:t.offsetTop,i=null==(n=T.current)?void 0:n.offsetHeight;if($.current=!0,A(!1),o&&i){let t=(null==(l=null==e?void 0:e.touches[0])?void 0:l.clientY)-o,n=0;t>=0&&t<=i+30&&(n=t),t>i+30&&(n=i+30),S(`${n}px`),z.current=n}},O=()=>{$.current&&(z.current>p&&s?null==s||s():S("0"),A(!0),$.current=!1),window.removeEventListener("touchmove",E),window.removeEventListener("touchend",O)};return(0,o.useEffect)(()=>{n&&setTimeout(()=>{y(!0),k(!0),S("0")},100),!n&&N&&(S("120%"),y(!1),k(!1))},[N,n]),(0,a.u)(n&&m),(0,l.jsxs)("div",{"data-portal":!0,className:(0,r.A)(b.mobilePopup,N&&b.mobilePopupOpen,f),children:[(0,l.jsx)(h,{onClose:()=>{n&&(null==s||s())},onToucheMove:()=>{n&&(y(!1),window.addEventListener("touchmove",E),window.addEventListener("touchend",O))},isOpen:n,delay:0}),(0,l.jsxs)("div",{className:(0,r.A)(b.content,u&&b.contentFull,C&&b.contentTransition,C&&j&&b.contentTransitionOpen),ref:T,style:{transform:`translateY(${L})`},children:[(0,l.jsx)("div",{className:b.contentLine}),(0,l.jsxs)("div",{className:(0,r.A)(b.contentContainer,c&&b.smallContentContainer,{[b.min]:!g&&!d},v),children:[!!g&&(0,l.jsx)("div",{className:b.title,children:g}),d?(0,l.jsx)("div",{className:b.closeContainer,children:d?w?"function"==typeof w?w():w:(0,l.jsx)("button",{onClick:s,className:b.closeButton,children:(0,l.jsx)(i.a,{size:24})}):null}):null,e]}),t&&(0,l.jsx)(_,{footerClassName:x,isSmallPopup:c,footer:t})]})]})},x=({children:e,isSmallPopup:t=!1,isOpen:n=!1,...o})=>{let{mounted:i}=u({opened:n});return i?(0,l.jsx)(w,{isSmallPopup:t,isOpen:n,...o,children:e}):null};x.displayName="UiMobilePopup";let j="data-portal-users",y=e=>Number(e.getAttribute(j)??0),N=({children:e,id:t="portal-root"})=>{let[n,l]=(0,o.useState)(null);return(0,o.useEffect)(()=>{let e=document.getElementById(t);if(e&&!e.hasAttribute(j))return void l(e);let n=e??document.body.appendChild(document.createElement("div"));return n.id=t,n.setAttribute(j,String(y(n)+1)),l(n),()=>{let e=y(n)-1;n.setAttribute(j,String(e)),e>0||n.remove()}},[t]),n?(0,s.createPortal)(e,n):null}},61995:(e,t,n)=>{"use strict";n.d(t,{u:()=>c});var l=n(12115);let o=(e,t)=>{e&&(t?e.setAttribute("data-portal",""):e.removeAttribute("data-portal"))},i=(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")},r=()=>{void 0!==window.prevScrollPosition&&(window.scrollTo(0,window.prevScrollPosition),window.prevScrollPosition=void 0)},a=()=>document.querySelectorAll("[data-portal]").length>1,c=e=>{let t=(0,l.useRef)(null),n=(0,l.useRef)(!1);return(0,l.useEffect)(()=>{if(n.current===e)return;n.current=e;let l=t.current,c=document.body,s=document.documentElement,d=window.innerWidth-s.clientWidth,u=d>0;if(e&&u)c.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 - ${n}px)`),e.style.setProperty("top",`-${window.prevScrollPosition}px`)})(c,s,d),o(l,!0);else if(e)(e=>{e.style.setProperty("overflow","hidden"),e.style.setProperty("height","100vh")})(c),o(l,!0);else{let e=!a();e&&i(c,s),e&&r(),o(l,!1)}return()=>{let e=!a();e&&i(c,s),e&&r()}},[e]),t}},62097:(e,t,n)=>{"use strict";n.d(t,{t:()=>o});let l={а:"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"},o=e=>e.replace(/[а-яё]/gi,e=>{let t=e.toLowerCase();return t in l?l[t]:e}).replaceAll(/[ \u00A0]/g,"_")},79576:(e,t,n)=>{"use strict";n.d(t,{a:()=>a});var l=n(12115);let o={display:"inline-block",lineHeight:0,backfaceVisibility:"hidden"},i={width:"1em",height:"1em",overflowClipMargin:"content-box",overflow:"hidden"},r=e=>l.createElement("svg",{width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.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 a({className:e,style:t,boxSize:n,size:a,onClick:c}){return l.createElement("span",{className:e,style:{...o,...c&&{cursor:"pointer"},...a&&{fontSize:`${a}px`},...n&&{width:`${n}px`,height:`${n}px`,display:"inline-flex",alignItems:"center",justifyContent:"center"},...t},...c?{role:"button",tabIndex:"0",onClick:c}:{}},l.createElement(r,{viewBox:"0 0 24 24",style:i}))}a.displayName="IconFdsCloseO"},89069:(e,t,n)=>{"use strict";n.d(t,{Footer:()=>ee}),n(90608);var l=n(95155),o=n(95633),i=n(2821),r=n(69465),a=n(81637),c=n(42195),s=n(93372);let d=({minioUrl:e,iconName:t,alt:n})=>(0,l.jsx)("img",{width:24,height:24,src:(0,a.oq)(e,`/widgets/footer/${t}.svg`),alt:n,loading:"lazy"}),u=({onClick:e,eventCategory:t,eventActionType:n,eventActionText:o,eventLabel:i,chat:r,onKeyDown:a,...d})=>{let u=()=>{(0,s.h)({eventCategory:t,eventActionType:n||s.D.link,eventActionText:o||"",eventLabel:i})},p=()=>{var e,t,n;return null==(n=null==(t=null==(e=null==window?void 0:window.supportWidget)?void 0:e.craftTalk)?void 0:t.open)?void 0:n.call(t)};return(0,l.jsx)(c.N,{onClick:t=>{null==e||e(t),r&&(null==t||t.preventDefault(),p()),u()},onKeyDown:e=>{null==a||a(e),!(!r||"Enter"!==e.key&&" "!==e.key)&&(e.preventDefault(),e.repeat||(p(),u()))},...d})};var p=n(1611),m=n(53548),h=n(98910),v=n(91482),f=n(19481),_=n(12115),g=n(79264),b=n(10335),w=n(60445);let x=(0,p.g)("footer-contacts-block","sc"),j=Object.freeze({contactsWrapper:"".concat(x,"__contacts-wrapper"),gray:"".concat(x,"__gray"),phones:"".concat(x,"__phones"),contactsButtons:"".concat(x,"__contacts-buttons"),vkIcon:"".concat(x,"__vk-icon"),tgIcon:"".concat(x,"__tg-icon"),dzenIcon:"".concat(x,"__dzen-icon"),maxIcon:"".concat(x,"__max-icon"),link:"".concat(x,"__link")}),y=(0,p.g)("footer","sc"),N=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")}),k="finkit-widgets-sc-footer",C=[{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"}],A=[...C,{title:"Онлайн чат",url:void 0}],L=[{type:"vk",label:"ВКонтакте",className:j.vkIcon,iconName:"vk"},{type:"telegramChannel",label:"Telegram",className:j.tgIcon,iconName:"telegram"},{type:"dzen",label:"Дзен",className:j.dzenIcon,iconName:"dzen"},{type:"max",label:"MAX",className:j.maxIcon,iconName:"max"}],S=(0,l.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,l.jsx)("br",{}),(0,l.jsx)("br",{}),"Группа \xabМосковская Биржа\xbb - ПАО Московская Биржа и юридические лица, находящиеся под прямым или косвенным контролем ПАО Московская Биржа."]}),T=e=>{let{onClick:t,eventActionText:n,eventLabel:o,...i}=e;return(0,l.jsx)(m.Button,{onClick:e=>{null==t||t(e),(0,s.h)({eventCategory:k,eventActionType:s.D.button,eventActionText:n||"",eventLabel:o})},...i})},z=e=>(0,l.jsx)(u,{eventCategory:k,...e}),$=e=>{let{minioUrl:t,blogs:n}=e;return(0,l.jsxs)("div",{className:j.contactsWrapper,children:[(0,l.jsx)(r.E,{className:j.gray,size:"16",weight:"regular",children:"Звоните или пишите"}),(0,l.jsx)("div",{className:j.phones,children:A.map(e=>{let{title:t,url:n}=e;return(0,l.jsx)(z,{href:n,role:n?void 0:"button",eventActionText:t,chat:!n,children:t},t)})}),(0,l.jsx)(r.E,{className:j.gray,size:"16",weight:"regular",children:"Следите за нами в соцсетях"}),(0,l.jsx)("div",{className:j.contactsButtons,children:L.map(e=>{let{type:o,label:i,className:r,iconName:a}=e;return(0,l.jsx)(T,{as:"a",href:null==n?void 0:n[o],target:"_blank","aria-label":i,className:r,iconRight:(0,l.jsx)(d,{minioUrl:t,iconName:a,alt:i}),shape:"circle-icon",variant:"white",eventActionText:o,eventLabel:null==n?void 0:n[o]},o)})}),(0,l.jsx)(r.E,{className:j.gray,size:"16",weight:"regular",children:"Канал для инвесторов"}),(0,l.jsx)("div",{className:j.contactsButtons,children:(0,l.jsxs)(z,{href:null==n?void 0:n.investTg,target:"_blank",className:j.link,eventActionText:"telegram",eventLabel:null==n?void 0:n.investTg,children:[(0,l.jsx)(T,{as:"span",tabIndex:-1,"aria-hidden":!0,className:j.tgIcon,iconRight:(0,l.jsx)(d,{minioUrl:t,iconName:"telegram",alt:""}),shape:"circle-icon",variant:"white",eventActionText:"telegram",eventLabel:null==n?void 0:n.investTg}),"Финуслуги Инвест"]})})]})},E=(0,p.g)("footer-disclaimer","sc"),O=Object.freeze({disclaimer:"".concat(E)}),P=e=>{let t=e=>{e.target instanceof HTMLAnchorElement&&(0,s.h)({eventCategory:k,eventActionType:s.D.link,eventActionText:e.target.textContent||"",eventLabel:e.target.href})};return e.disclaimer?(0,l.jsx)("div",{className:(0,i.A)(e.className,O.disclaimer),dangerouslySetInnerHTML:{__html:e.disclaimer||""},onClick:t}):(0,l.jsx)("div",{className:(0,i.A)(e.className,O.disclaimer),onClick:t,children:e.children})},R=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",[t,n]=(0,_.useState)(e);return(0,_.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[l,o=""]=e.split("?"),i=new URLSearchParams(o);t.forEach((e,t)=>{i.has(t)||i.set(t,e)});let r=i.toString();n(r?"".concat(l,"?").concat(r):l)},[e]),t},U=(0,p.g)("footer-modal-body","sc"),D=Object.freeze({wrapper:"".concat(U,"__wrapper"),title:"".concat(U,"__title"),item:"".concat(U,"__item"),label:"".concat(U,"__label"),button:"".concat(U,"__button"),description:"".concat(U,"__description")}),I=e=>{let{directions:t}=e;return(0,l.jsxs)("div",{className:D.wrapper,children:[(0,l.jsx)("div",{className:D.title,children:"Направления"}),t.map(e=>(0,l.jsxs)(z,{className:D.item,href:e.url,target:"_blank",eventActionText:e.name,eventLabel:"".concat(e.name,"_").concat(e.url),children:[(0,l.jsxs)("div",{className:D.label,children:[(0,l.jsx)("span",{children:e.name}),(0,l.jsx)(T,{className:D.button,iconRight:(0,l.jsx)(h.K,{size:28}),shape:"circle-icon",eventActionText:"IconFdsArrowUpRightSmallO"})]}),(0,l.jsx)("p",{className:D.description,children:e.description})]},e.url))]})},B=(0,p.g)("footer-popup","sc"),M=Object.freeze({wrapper:"".concat(B,"__wrapper"),button:"".concat(B,"__button"),icon:"".concat(B,"__icon"),buttonWrapper:"".concat(B,"__button-wrapper")}),W=e=>{let{directions:t}=e,n=(0,g.qF)("l"),[o,i]=(0,_.useState)(!1),r=()=>{i(!1)};return(0,l.jsxs)("div",{className:M.wrapper,children:[(0,l.jsx)("div",{className:M.buttonWrapper,children:(0,l.jsx)(T,{className:M.button,appearance:"ghost",variant:"white",onClick:()=>{i(!0)},label:"Все направления",eventActionText:"Все направления",iconLeft:(0,l.jsx)("div",{className:M.icon,children:[1,2,3,4,5,6,7,8,9].map(e=>(0,l.jsx)("div",{},e))})})}),(0,l.jsxs)(w.P,{children:[!n&&(0,l.jsx)(w.U,{isOpen:o,onClose:r,full:!0,children:(0,l.jsx)(I,{directions:t})}),n&&(0,l.jsx)(b.D,{isOpen:o,onClose:r,width:"804px",children:(0,l.jsx)(I,{directions:t})})]})]})},H=(0,p.g)("footer-left-column","sc"),F=Object.freeze({leftColumn:"".concat(H,"__left-column"),logoWrapper:"".concat(H,"__logo-wrapper"),banner:"".concat(H,"__banner"),bannerButton:"".concat(H,"__banner-button"),mobAppLink:"".concat(H,"__mob-app-link"),br:"".concat(H,"__br")}),q=e=>{let{showcaseUrl:t,minioUrl:n,directions:o,mobAppUrl:i}=e,c=R(i),d=(0,f.u)({target:f.W,fallbackHref:c});return(0,l.jsxs)("div",{className:F.leftColumn,children:[(0,l.jsx)(z,{className:F.logoWrapper,href:t,eventActionType:s.D.icon,eventActionText:"finuslugi_logo",eventLabel:"finuslugi_logo_".concat(t),children:(0,l.jsx)("img",{src:(0,a.oq)(n,"/widgets/footer/finuslugi_base_logo.svg"),alt:"finuslugi logo",loading:"lazy"})}),(0,l.jsx)(W,{directions:null!=o?o:[]}),(0,l.jsx)(z,{href:d.href,target:"_blank",eventActionType:s.D.banner,eventActionText:"Управляйте финансами через приложение Финуслуг",eventLabel:d.href,className:F.mobAppLink,onClick:d.onClick,children:(0,l.jsxs)(v.Z,{className:F.banner,children:[(0,l.jsxs)(r.E,{weight:"medium",children:["Управляйте финансами",(0,l.jsx)("br",{}),"через приложение",(0,l.jsx)("br",{className:F.br})," Финуслуг"]}),(0,l.jsx)(T,{as:"span",tabIndex:-1,"aria-hidden":!0,className:F.bannerButton,iconRight:(0,l.jsx)(h.K,{size:32}),shape:"circle-icon",variant:"white",eventActionText:"IconFdsArrowUpRightSmallO"}),(0,l.jsxs)("picture",{children:[(0,l.jsx)("source",{srcSet:(0,a.oq)(n,"/widgets/footer/apps_d.webp"),media:"(min-width: 1024px)"}),(0,l.jsx)("img",{src:(0,a.oq)(n,"/widgets/footer/apps_m.webp"),alt:"иллюстрация мобильного приложения",loading:"lazy"})]})]})})]})},K=(0,p.g)("footer-logo","sc"),V=Object.freeze({wrapper:"".concat(K,"__wrapper"),link:"".concat(K,"__link"),fromMoex:"".concat(K,"__from-moex"),logo:"".concat(K,"__logo"),white:"".concat(K,"__wrapper--white")}),Y=e=>{let{showcaseUrl:t,minioUrl:n,isWhite:o}=e;return(0,l.jsx)("div",{className:(0,i.A)(V.wrapper,{[V.white]:o}),children:(0,l.jsxs)(z,{className:V.link,href:t,eventActionType:s.D.icon,eventActionText:"finuslugi_logo",eventLabel:"finuslugi_logo_".concat(t),children:[(0,l.jsx)("img",{className:V.logo,src:"".concat(n,"/images/logo-brandmark-common-finuslugi.svg"),loading:"lazy"}),(0,l.jsx)("img",{className:V.fromMoex,src:"".concat(n,"/images/fromMoex.svg"),loading:"lazy"})]})})};var G=(e=>(e.BLACK="black",e.GRAY="gray",e))(G||{});let J=(0,p.g)("footer-warning","sc"),Z=Object.freeze({reservedSpace:"".concat(J,"__reserved-space"),wrapper:"".concat(J,"__wrapper"),wrapperGray:"".concat(J,"__wrapper--gray"),fixed:"".concat(J,"__wrapper--fixed"),container:"".concat(J,"__container"),text:"".concat(J,"__text"),invisibleText:"".concat(J,"__text--invisible")}),X=e=>{let{text:t,variant:n,fixed:r,isPlaceholder:a}=e;return(0,l.jsx)("div",{className:(0,i.A)(Z.wrapper,{[Z.wrapperGray]:"gray"===n,[Z.fixed]:r&&!a}),children:(0,l.jsx)(o.m,{className:Z.container,children:(0,l.jsx)("div",{className:(0,i.A)(Z.text,{[Z.invisibleText]:a}),dangerouslySetInnerHTML:{__html:t}})})})},Q=e=>{var t,n;let{warning:o}=e,i="string"==typeof o?{text:o}:o,r={text:i.text,fixed:null==(t=i.fixed)||t,variant:null!=(n=i.variant)?n:G.BLACK};return(0,l.jsxs)("div",{className:Z.reservedSpace,children:[(0,l.jsx)(X,{...r,isPlaceholder:r.fixed}),r.fixed&&(0,l.jsx)(X,{...r,fixed:!0})]})},ee=e=>{var t,n;let{data:r,showcaseUrl:a="https://finuslugi.ru",minioUrl:c="https://assets.finuslugi.ru/mp-assets",customDisclaimer:s,variant:d="default",className:u}=e,p=!s&&null!=r&&r.disclaimer?r.disclaimer:void 0,m=d.includes("compact"),h=d.includes("white"),v=null==(t=null==r?void 0:r.bottom)?void 0:t.concat(m?C:[]),f=r&&"warning"in r?r.warning:void 0;return r?(0,l.jsx)("footer",{className:(0,i.A)(N.wrapper,u,{[N.compact]:m,[N.white]:h}),children:(0,l.jsxs)("section",{className:N.section,children:[(0,l.jsxs)(o.m,{className:N.container,children:[!m&&(0,l.jsx)(q,{showcaseUrl:a,minioUrl:c,directions:null==r?void 0:r.directions,mobAppUrl:null==r?void 0:r.mobAppUrl}),(0,l.jsx)("div",{className:N.wrapper,children:(0,l.jsxs)("div",{className:N.top,children:[(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{className:N.main,children:[!m&&(0,l.jsx)("div",{className:N.links,children:null==(n=null==r?void 0:r.top)?void 0:n.map(e=>(0,l.jsx)(z,{href:e.url,eventActionText:e.title,eventLabel:e.url,children:e.title},e.url))}),m&&(0,l.jsx)(Y,{showcaseUrl:a,minioUrl:c,isWhite:h}),(0,l.jsx)(P,{className:N.disclaimer,disclaimer:p,children:s||S})]}),(0,l.jsxs)("div",{className:N.bottom,children:[(0,l.jsx)("div",{className:N.bottomLinks,children:null==v?void 0:v.map(e=>(0,l.jsx)(z,{href:e.url,eventActionText:e.title,eventLabel:e.url,children:e.title},e.url))}),(0,l.jsx)(P,{className:N.bottomDisclaimer,disclaimer:null==r?void 0:r.bottomDisclaimer})]})]}),!m&&(0,l.jsx)($,{minioUrl:c,blogs:null==r?void 0:r.blogs})]})})]}),m&&!!f&&(0,l.jsx)(Q,{warning:f})]})}):null}},90608:()=>{},93372:(e,t,n)=>{"use strict";n.d(t,{D:()=>i,h:()=>a});var l=n(62097),o=n(37489),i=(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))(i||{});let r={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_"},a=({eventCategory:e,eventActionType:t,eventActionText:n="",eventLabel:i})=>{let a={event:"data-event",eventCategory:e,eventAction:r[t]+(0,l.t)(n)};void 0!==i&&(a.eventLabel=(0,l.t)("string"==typeof i?i:i.toString())),(0,o.d)(a)}},95633:(e,t,n)=>{"use strict";n.d(t,{m:()=>c});var l=n(95155),o=n(2821),i=n(58993);n(33177);let r=(0,i.g)("container"),a=Object.freeze({container:r,states:{narrow:`${r}--narrow`}}),c=({children:e,as:t,fluid:n=!1,className:i="",...r})=>(0,l.jsx)(t||"div",{className:(0,o.A)(a.container,i,{[a.states.narrow]:!n}),...r,children:e});c.displayName="Container"},98910:(e,t,n)=>{"use strict";n.d(t,{K:()=>a});var l=n(12115);let o={display:"inline-block",lineHeight:0,backfaceVisibility:"hidden"},i={width:"1em",height:"1em",overflowClipMargin:"content-box",overflow:"hidden"},r=e=>l.createElement("svg",{width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.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 a({className:e,style:t,boxSize:n,size:a,onClick:c}){return l.createElement("span",{className:e,style:{...o,...c&&{cursor:"pointer"},...a&&{fontSize:`${a}px`},...n&&{width:`${n}px`,height:`${n}px`,display:"inline-flex",alignItems:"center",justifyContent:"center"},...t},...c?{role:"button",tabIndex:"0",onClick:c}:{}},l.createElement(r,{viewBox:"0 0 24 24",style:i}))}a.displayName="IconFdsArrowUpRightSmallO"}}]);