"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9211],{99376:function(e,t,n){var r=n(35475);n.o(r,"usePathname")&&n.d(t,{usePathname:function(){return r.usePathname}}),n.o(r,"useSearchParams")&&n.d(t,{useSearchParams:function(){return r.useSearchParams}})},12119:function(e,t,n){Object.defineProperty(t,"$",{enumerable:!0,get:function(){return s}});let r=n(83079);function s(e){let{createServerReference:t}=n(6671);return t(e,r.callServer)}},52848:function(e,t,n){let r;n.d(t,{F:function(){return V}});var s=n(57437),i=n(35563),l=n(54365),a=n(77337),o=n(52074),c=n(75461),d=n(6554),m=n(80684),p=n(2265),u=n(94246);let h=(0,o.g)("footer-contacts-block","sc"),v=Object.freeze({contactsWrapper:`${h}__contacts-wrapper`,gray:`${h}__gray`,phones:`${h}__phones`,contactsButtons:`${h}__contacts-buttons`,vkIcon:`${h}__vk-icon`,tgIcon:`${h}__tg-icon`,dzenIcon:`${h}__dzen-icon`,maxIcon:`${h}__max-icon`,link:`${h}__link`}),x=(0,o.g)("footer","sc"),_=Object.freeze({wrapper:`${x}__wrapper`,section:`${x}__section`,container:`${x}__container`,top:`${x}__top`,main:`${x}__main`,links:`${x}__links`,disclaimer:`${x}__disclaimer`,bottom:`${x}__bottom`,bottomLinks:`${x}__bottom-links`,bottomDisclaimer:`${x}__bottom-disclaimer`,compact:`${x}__wrapper--compact`,white:`${x}__wrapper--white`}),g="finkit-widgets-sc-footer",f=[{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"}],b=[...f,{title:"Онлайн чат",url:void 0}],j=[{type:"vk",className:v.vkIcon,iconName:"vk"},{type:"telegramChannel",className:v.tgIcon,iconName:"telegram"},{type:"dzen",className:v.dzenIcon,iconName:"dzen"},{type:"max",className:v.maxIcon,iconName:"max"}],w=(0,s.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,s.jsx)("br",{}),(0,s.jsx)("br",{}),"Группа \xabМосковская Биржа\xbb - ПАО Московская Биржа и юридические лица, находящиеся под прямым или косвенным контролем ПАО Московская Биржа."]}),N=({onClick:e,eventActionText:t,eventLabel:n,...r})=>(0,s.jsx)(c.zx,{onClick:r=>{null==e||e(r),(0,d.h)({eventCategory:g,eventActionType:d.D.button,eventActionText:t||"",eventLabel:n})},...r}),k=({onClick:e,eventActionType:t,eventActionText:n,eventLabel:r,chat:i,...l})=>(0,s.jsx)(c.rU,{onClick:s=>{var l,a,o;null==e||e(s),i&&(null==s||s.preventDefault(),null==(o=null==(a=null==(l=null==window?void 0:window.supportWidget)?void 0:l.craftTalk)?void 0:a.open)||o.call(a)),(0,d.h)({eventCategory:g,eventActionType:t||d.D.link,eventActionText:n||"",eventLabel:r})},...l}),$=({minioUrl:e,blogs:t})=>(0,s.jsxs)("div",{className:v.contactsWrapper,children:[(0,s.jsx)(i.xv,{className:v.gray,size:"16",weight:"regular",children:"Звоните или пишите"}),(0,s.jsx)("div",{className:v.phones,children:b.map(({title:e,url:t})=>(0,s.jsx)(k,{href:t,eventActionText:e,chat:!t,children:e},e))}),(0,s.jsx)(i.xv,{className:v.gray,size:"16",weight:"regular",children:"Следите за нами в соцсетях"}),(0,s.jsx)("div",{className:v.contactsButtons,children:j.map(({type:n,className:r,iconName:i})=>(0,s.jsx)(N,{as:"a",href:null==t?void 0:t[n],target:"_blank",className:r,iconRight:(0,s.jsx)("img",{width:24,height:24,src:(0,a.xn)(e,`/widgets/footer/${i}.svg`),alt:n,loading:"lazy"}),shape:"circle-icon",variant:"white",eventActionText:n,eventLabel:null==t?void 0:t[n]},n))}),(0,s.jsx)(i.xv,{className:v.gray,size:"16",weight:"regular",children:"Канал для инвесторов"}),(0,s.jsx)("div",{className:v.contactsButtons,children:(0,s.jsxs)(k,{href:null==t?void 0:t.investTg,target:"_blank",className:v.link,eventActionText:"telegram",eventLabel:null==t?void 0:t.investTg,children:[(0,s.jsx)(N,{className:v.tgIcon,iconRight:(0,s.jsx)("img",{width:24,height:24,src:(0,a.xn)(e,"/widgets/footer/telegram.svg"),alt:"telegram",loading:"lazy"}),shape:"circle-icon",variant:"white",eventActionText:"telegram",eventLabel:null==t?void 0:t.investTg}),"Финуслуги Инвест"]})})]}),y=(0,o.g)("footer-disclaimer","sc"),A=Object.freeze({disclaimer:`${y}`}),C=e=>{let t=e=>{e.target instanceof HTMLAnchorElement&&(0,d.h)({eventCategory:g,eventActionType:d.D.link,eventActionText:e.target.textContent||"",eventLabel:e.target.href})};return e.disclaimer?(0,s.jsx)("div",{className:(0,l.Z)(e.className,A.disclaimer),dangerouslySetInnerHTML:{__html:e.disclaimer||""},onClick:t}):(0,s.jsx)("div",{className:(0,l.Z)(e.className,A.disclaimer),onClick:t,children:e.children})},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},L=(e="")=>{let[t,n]=(0,p.useState)(e);return(0,p.useEffect)(()=>{let t=T();if(!t||0===t.size)return;let[r,s=""]=e.split("?"),i=new URLSearchParams(s);t.forEach((e,t)=>{i.has(t)||i.set(t,e)});let l=i.toString();n(l?`${r}?${l}`:r)},[e]),t},S=(0,o.g)("footer-modal-body","sc"),z=Object.freeze({wrapper:`${S}__wrapper`,title:`${S}__title`,item:`${S}__item`,label:`${S}__label`,button:`${S}__button`,description:`${S}__description`}),U=({directions:e})=>(0,s.jsxs)("div",{className:z.wrapper,children:[(0,s.jsx)("div",{className:z.title,children:"Направления"}),e.map(e=>(0,s.jsxs)(k,{className:z.item,href:e.url,target:"_blank",eventActionText:e.name,eventLabel:`${e.name}_${e.url}`,children:[(0,s.jsxs)("div",{className:z.label,children:[(0,s.jsx)("span",{children:e.name}),(0,s.jsx)(N,{className:z.button,iconRight:(0,s.jsx)(m.IconFdsArrowUpRightSmallO,{size:28}),shape:"circle-icon",eventActionText:"IconFdsArrowUpRightSmallO"})]}),(0,s.jsx)("p",{className:z.description,children:e.description})]},e.url))]}),E=(0,o.g)("footer-popup","sc"),I=Object.freeze({wrapper:`${E}__wrapper`,button:`${E}__button`,icon:`${E}__icon`,buttonWrapper:`${E}__button-wrapper`}),O=({directions:e})=>{let t=(0,c._m)("l"),[n,r]=(0,p.useState)(!1),i=()=>{r(!1)};return(0,s.jsxs)("div",{className:I.wrapper,children:[(0,s.jsx)("div",{className:I.buttonWrapper,children:(0,s.jsx)(N,{className:I.button,appearance:"ghost",variant:"white",onClick:()=>{r(!0)},label:"Все направления",eventActionText:"Все направления",iconLeft:(0,s.jsx)("div",{className:I.icon,children:[1,2,3,4,5,6,7,8,9].map(e=>(0,s.jsx)("div",{},e))})})}),(0,s.jsxs)(u.P,{children:[!t&&(0,s.jsx)(u.U,{isOpen:n,onClose:i,full:!0,children:(0,s.jsx)(U,{directions:e})}),t&&(0,s.jsx)(u.D,{isOpen:n,onClose:i,width:"804px",children:(0,s.jsx)(U,{directions:e})})]})]})},D=(0,o.g)("footer-left-column","sc"),R=Object.freeze({leftColumn:`${D}__left-column`,logoWrapper:`${D}__logo-wrapper`,banner:`${D}__banner`,mobAppLink:`${D}__mob-app-link`,br:`${D}__br`}),P=({showcaseUrl:e,minioUrl:t,directions:n,mobAppUrl:r})=>{let l=L(r);return(0,s.jsxs)("div",{className:R.leftColumn,children:[(0,s.jsx)(k,{className:R.logoWrapper,href:e,eventActionType:d.D.icon,eventActionText:"finuslugi_logo",eventLabel:`finuslugi_logo_${e}`,children:(0,s.jsx)("img",{src:(0,a.xn)(t,"/widgets/footer/finuslugi_base_logo.svg"),alt:"finuslugi logo",loading:"lazy"})}),(0,s.jsx)(O,{directions:n??[]}),(0,s.jsx)(k,{href:l,target:"_blank",eventActionType:d.D.banner,eventActionText:"Управляйте финансами через приложение Финуслуг",eventLabel:l,className:R.mobAppLink,children:(0,s.jsxs)(i.Zb,{className:R.banner,children:[(0,s.jsxs)(i.xv,{weight:"medium",children:["Управляйте финансами",(0,s.jsx)("br",{}),"через приложение",(0,s.jsx)("br",{className:R.br})," Финуслуг"]}),(0,s.jsx)(N,{iconRight:(0,s.jsx)(m.IconFdsArrowUpRightSmallO,{size:32}),shape:"circle-icon",variant:"white",eventActionText:"IconFdsArrowUpRightSmallO"}),(0,s.jsxs)("picture",{children:[(0,s.jsx)("source",{srcSet:(0,a.xn)(t,"/widgets/footer/apps_d.webp"),media:"(min-width: 1024px)"}),(0,s.jsx)("img",{src:(0,a.xn)(t,"/widgets/footer/apps_m.webp"),alt:"иллюстрация мобильного приложения",loading:"lazy"})]})]})})]})},W=(0,o.g)("footer-logo","sc"),B=Object.freeze({wrapper:`${W}__wrapper`,link:`${W}__link`,fromMoex:`${W}__from-moex`,logo:`${W}__logo`,white:`${W}__wrapper--white`}),F=({showcaseUrl:e,minioUrl:t,isWhite:n})=>(0,s.jsx)("div",{className:(0,l.Z)(B.wrapper,{[B.white]:n}),children:(0,s.jsxs)(k,{className:B.link,href:e,eventActionType:d.D.icon,eventActionText:"finuslugi_logo",eventLabel:`finuslugi_logo_${e}`,children:[(0,s.jsx)("img",{className:B.logo,src:`${t}/images/logo-brandmark-common-finuslugi.svg`}),(0,s.jsx)("img",{className:B.fromMoex,src:`${t}/images/fromMoex.svg`})]})});var Z=((r=Z||{}).BLACK="black",r.GRAY="gray",r);let M=(0,o.g)("footer-warning","sc"),K=Object.freeze({reservedSpace:`${M}__reserved-space`,wrapper:`${M}__wrapper`,wrapperGray:`${M}__wrapper--gray`,fixed:`${M}__wrapper--fixed`,container:`${M}__container`,text:`${M}__text`,invisibleText:`${M}__text--invisible`}),G=({text:e,variant:t,fixed:n,isPlaceholder:r})=>(0,s.jsx)("div",{className:(0,l.Z)(K.wrapper,{[K.wrapperGray]:"gray"===t,[K.fixed]:n&&!r}),children:(0,s.jsx)(i.W2,{className:K.container,children:(0,s.jsx)("div",{className:(0,l.Z)(K.text,{[K.invisibleText]:r}),dangerouslySetInnerHTML:{__html:e}})})}),H=({warning:e})=>{let t="string"==typeof e?{text:e}:e,n={text:t.text,fixed:t.fixed??!0,variant:t.variant??Z.BLACK};return(0,s.jsxs)("div",{className:K.reservedSpace,children:[(0,s.jsx)(G,{...n,isPlaceholder:n.fixed}),n.fixed&&(0,s.jsx)(G,{...n,fixed:!0})]})},V=({data:e,showcaseUrl:t="https://finuslugi.ru",minioUrl:n="https://assets.finuslugi.ru/mp-assets",customDisclaimer:r,variant:a="default",className:o})=>{var c,d;let m=!r&&null!=e&&e.disclaimer?e.disclaimer:void 0,p=a.includes("compact"),u=a.includes("white"),h=null==(c=null==e?void 0:e.bottom)?void 0:c.concat(p?f:[]),v=e&&"warning"in e?e.warning:void 0;return e?(0,s.jsx)("footer",{className:(0,l.Z)(_.wrapper,o,{[_.compact]:p,[_.white]:u}),children:(0,s.jsxs)("section",{className:_.section,children:[(0,s.jsxs)(i.W2,{className:_.container,children:[!p&&(0,s.jsx)(P,{showcaseUrl:t,minioUrl:n,directions:null==e?void 0:e.directions,mobAppUrl:null==e?void 0:e.mobAppUrl}),(0,s.jsx)("div",{className:_.wrapper,children:(0,s.jsxs)("div",{className:_.top,children:[(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:_.main,children:[!p&&(0,s.jsx)("div",{className:_.links,children:null==(d=null==e?void 0:e.top)?void 0:d.map(e=>(0,s.jsx)(k,{href:e.url,eventActionText:e.title,eventLabel:e.url,children:e.title},e.url))}),p&&(0,s.jsx)(F,{showcaseUrl:t,minioUrl:n,isWhite:u}),(0,s.jsx)(C,{className:_.disclaimer,disclaimer:m,children:r||w})]}),(0,s.jsxs)("div",{className:_.bottom,children:[(0,s.jsx)("div",{className:_.bottomLinks,children:null==h?void 0:h.map(e=>(0,s.jsx)(k,{href:e.url,eventActionText:e.title,eventLabel:e.url,children:e.title},e.url))}),(0,s.jsx)(C,{className:_.bottomDisclaimer,disclaimer:null==e?void 0:e.bottomDisclaimer})]})]}),!p&&(0,s.jsx)($,{minioUrl:n,blogs:null==e?void 0:e.blogs})]})})]}),p&&!!v&&(0,s.jsx)(H,{warning:v})]})}):null}},16715:function(e,t,n){n.d(t,{z:function(){return d}});var r=n(57437),s=n(2265),i=n(80684),l=n(54365),a=n(55487);let o=(0,n(52074).g)("cookies-plate","sc"),c=Object.freeze({wrapper:"".concat(o,"__wrapper"),contentWrapper:"".concat(o,"__content-wrapper"),visible:"".concat(o,"--visible"),hidden:"".concat(o,"--hidden"),content:"".concat(o,"__content"),text:"".concat(o,"__text"),link:"".concat(o,"__link"),button:"".concat(o,"__button")}),d=e=>{let{className:t,mountDelay:n=3e3,href:o="https://assets.finuslugi.ru/mp-assets/user-agreement.pdf",children:d,closeIcon:m,onMount:p,onLinkClick:u,onClose:h,mountAfterScroll:v=!0}=e,[x,_]=(0,s.useState)(!1),[g,f]=(0,s.useState)(!1),[b,j]=(0,s.useState)(!1);(0,s.useEffect)(()=>{let e=()=>{document.removeEventListener("scroll",e),a.a.getItem("Allow-Cookie")||(j(!0),setTimeout(()=>{_(!0),null==p||p()},n))};return v?document.addEventListener("scroll",e):e(),()=>document.removeEventListener("scroll",e)},[]);let w=(0,s.useCallback)(()=>{a.a.setItem("Allow-Cookie","1"),f(!0),null==h||h(),setTimeout(()=>j(!1),1e3)},[h]);return b?(0,r.jsx)("div",{className:c.wrapper,children:(0,r.jsx)("div",{className:(0,l.Z)(c.contentWrapper,{[c.visible]:x,[c.hidden]:g}),children:(0,r.jsxs)("div",{className:(0,l.Z)(t,c.content),children:[d||(0,r.jsxs)("p",{className:c.text,children:["Мы используем"," ",(0,r.jsx)("a",{className:c.link,href:o,target:"_blank",rel:"noreferrer",onClick:u,children:"cookie"})," ","для лучшей работы сайта"]}),(0,r.jsx)("button",{className:c.button,onClick:w,children:m||(0,r.jsx)(i.IconFdsCloseO,{})})]})})}):(0,r.jsx)(r.Fragment,{})}},30660:function(e,t,n){n.d(t,{SV:function(){return l}});var r=n(2265);let s=(0,r.createContext)(null),i={didCatch:!1,error:null};class l extends r.Component{static getDerivedStateFromError(e){return{didCatch:!0,error:e}}resetErrorBoundary(){for(var e,t,n=arguments.length,r=Array(n),s=0;s<n;s++)r[s]=arguments[s];let{error:l}=this.state;null!==l&&(null===(e=(t=this.props).onReset)||void 0===e||e.call(t,{args:r,reason:"imperative-api"}),this.setState(i))}componentDidCatch(e,t){var n,r;null===(n=(r=this.props).onError)||void 0===n||n.call(r,e,t)}componentDidUpdate(e,t){var n,r;let{didCatch:s}=this.state,{resetKeys:l}=this.props;s&&null!==t.error&&function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.length!==t.length||e.some((e,n)=>!Object.is(e,t[n]))}(e.resetKeys,l)&&(null===(n=(r=this.props).onReset)||void 0===n||n.call(r,{next:l,prev:e.resetKeys,reason:"keys"}),this.setState(i))}render(){let{children:e,fallbackRender:t,FallbackComponent:n,fallback:i}=this.props,{didCatch:l,error:a}=this.state,o=e;if(l){let e={error:a,resetErrorBoundary:this.resetErrorBoundary};if("function"==typeof t)o=t(e);else if(n)o=(0,r.createElement)(n,e);else if(void 0!==i)o=i;else throw a}return(0,r.createElement)(s.Provider,{value:{didCatch:l,error:a,resetErrorBoundary:this.resetErrorBoundary}},o)}constructor(e){super(e),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=i}}}}]);