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