(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3185],{81149:function(e,t,n){Promise.resolve().then(n.t.bind(n,46153,23)),Promise.resolve().then(n.t.bind(n,27565,23)),Promise.resolve().then(n.t.bind(n,76583,23)),Promise.resolve().then(n.t.bind(n,86034,23)),Promise.resolve().then(n.bind(n,1075)),Promise.resolve().then(n.bind(n,44789)),Promise.resolve().then(n.t.bind(n,1386,23)),Promise.resolve().then(n.bind(n,42029)),Promise.resolve().then(n.t.bind(n,59111,23)),Promise.resolve().then(n.bind(n,45274))},30166:function(e,t,n){"use strict";n.d(t,{default:function(){return r.a}});var c=n(55775),r=n.n(c)},55775:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let c=n(47043);n(57437),n(2265);let r=c._(n(15602));function o(e,t){var n;let c={loading:e=>{let{error:t,isLoading:n,pastDelay:c}=e;return null}};"function"==typeof e&&(c.loader=e);let o={...c,...t};return(0,r.default)({...o,modules:null==(n=o.loadableGenerated)?void 0:n.modules})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},81523:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BailoutToCSR",{enumerable:!0,get:function(){return r}});let c=n(18993);function r(e){let{reason:t,children:n}=e;if("undefined"==typeof window)throw new c.BailoutToCSRError(t);return n}},15602:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});let c=n(57437),r=n(2265),o=n(81523),l=n(70049);function i(e){return{default:e&&"default"in e?e.default:e}}let a={loader:()=>Promise.resolve(i(()=>null)),loading:null,ssr:!0},s=function(e){let t={...a,...e},n=(0,r.lazy)(()=>t.loader().then(i)),s=t.loading;function d(e){let i=s?(0,c.jsx)(s,{isLoading:!0,pastDelay:!0,error:null}):null,a=t.ssr?(0,c.jsxs)(c.Fragment,{children:["undefined"==typeof window?(0,c.jsx)(l.PreloadCss,{moduleIds:t.modules}):null,(0,c.jsx)(n,{...e})]}):(0,c.jsx)(o.BailoutToCSR,{reason:"next/dynamic",children:(0,c.jsx)(n,{...e})});return(0,c.jsx)(r.Suspense,{fallback:i,children:a})}return d.displayName="LoadableComponent",d}},70049:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PreloadCss",{enumerable:!0,get:function(){return o}});let c=n(57437),r=n(20544);function o(e){let{moduleIds:t}=e;if("undefined"!=typeof window)return null;let n=(0,r.getExpectedRequestStore)("next/dynamic css"),o=[];if(n.reactLoadableManifest&&t){let e=n.reactLoadableManifest;for(let n of t){if(!e[n])continue;let t=e[n].files.filter(e=>e.endsWith(".css"));o.push(...t)}}return 0===o.length?null:(0,c.jsx)(c.Fragment,{children:o.map(e=>(0,c.jsx)("link",{precedence:"dynamic",rel:"stylesheet",href:n.assetPrefix+"/_next/"+encodeURI(e),as:"style"},e))})}},42029:function(e,t,n){"use strict";n.d(t,{ClientInitializer:function(){return u}});var c=n(57437),r=n(30166),o=n(30631),l=n(2265),i=n(13466),a=n(55089);let s=(0,r.default)(()=>n.e(697).then(n.bind(n,50697)).then(e=>e.Chat),{loadableGenerated:{webpack:()=>[50697]},ssr:!1}),d=(0,r.default)(()=>n.e(6715).then(n.bind(n,16715)).then(e=>e.CookiesPlate),{loadableGenerated:{webpack:()=>[null]},ssr:!1}),u=()=>{let{env:e}=(0,a.k)();return(0,l.useEffect)(()=>{"dev"!==e.NEXT_PUBLIC_VERSION&&(0,o.zK)()},[e.NEXT_PUBLIC_VERSION]),(0,c.jsxs)(i.h,{children:[(0,c.jsx)(s,{}),(0,c.jsx)(d,{})]})}},13466:function(e,t,n){"use strict";n.d(t,{h:function(){return o}});var c=n(2265),r=n(54887);let o=e=>{let{children:t,id:n="portal-root"}=e,[o,l]=(0,c.useState)(null);return(0,c.useEffect)(()=>{let e=document.getElementById(n);if(e){l(e);return}let t=document.createElement("div");return t.id=n,document.body.appendChild(t),l(t),()=>{document.body.removeChild(t)}},[n]),o?(0,r.createPortal)(t,o):null}},45274:function(e,t,n){"use strict";n.d(t,{EnvProvider:function(){return o},F:function(){return r}});var c=n(57437);let r=(0,n(2265).createContext)(null),o=e=>{let{children:t,env:n}=e;return(0,c.jsx)(r.Provider,{value:{env:n},children:t})}},55089:function(e,t,n){"use strict";n.d(t,{k:function(){return o}});var c=n(45274),r=n(2265);let o=()=>{let e=(0,r.useContext)(c.F);if(!e)throw Error("useEnv должен быть внутри EnvProvider");return e}},76583:function(){},27565:function(){},86034:function(){},46153:function(){},1386:function(){},59111:function(e){e.exports={main:"LayoutClient_main__uIzrm"}},1075:function(e,t,n){"use strict";n.d(t,{Footer:function(){return V}});var c=n(57437),r=n(35563),o=n(61994),l=n(77337),i=n(80684),a=n(52074),s=n(75461),d=n(28153),u=n(2265),m=n(20828);let p=(0,a.g)("footer-contacts-block","sc"),f=Object.freeze({contactsWrapper:"".concat(p,"__contacts-wrapper"),gray:"".concat(p,"__gray"),phones:"".concat(p,"__phones"),contactsButtons:"".concat(p,"__contacts-buttons"),vkIcon:"".concat(p,"__vk-icon"),tgIcon:"".concat(p,"__tg-icon"),dzenIcon:"".concat(p,"__dzen-icon"),ytIcon:"".concat(p,"__yt-icon"),link:"".concat(p,"__link")}),h=(0,a.g)("footer","sc"),v=Object.freeze({wrapper:"".concat(h,"__wrapper"),section:"".concat(h,"__section"),container:"".concat(h,"__container"),top:"".concat(h,"__top"),main:"".concat(h,"__main"),links:"".concat(h,"__links"),disclaimer:"".concat(h,"__disclaimer"),bottom:"".concat(h,"__bottom"),bottomLinks:"".concat(h,"__bottom-links"),bottomDisclaimer:"".concat(h,"__bottom-disclaimer"),compact:"".concat(h,"__wrapper--compact"),white:"".concat(h,"__wrapper--white")}),x="finkit-widgets-sc-footer",_=[{title:"8 (800) 505-32-32",url:"tel:88005053232"},{title:"+7 (495) 145-32-32",url:"tel:+74951453232"}],g=[..._,{title:"Онлайн чат",url:void 0}],b=[{type:"vk",className:f.vkIcon,iconName:"vk"},{type:"dzen",className:f.dzenIcon,iconName:"dzen"},{type:"telegramChannel",className:f.tgIcon,iconName:"telegram"},{type:"yt",className:f.ytIcon,iconName:"",icon:(0,c.jsx)(i.IconFdsYoutubeF,{})}],j=(0,c.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,c.jsx)("br",{}),(0,c.jsx)("br",{}),"Группа \xabМосковская Биржа\xbb - ПАО Московская Биржа и юридические лица, находящиеся под прямым или косвенным контролем ПАО Московская Биржа."]}),w=e=>{let{onClick:t,eventActionText:n,eventLabel:r,...o}=e;return(0,c.jsx)(s.zx,{onClick:e=>{null==t||t(e),(0,d.h)({eventCategory:x,eventActionType:d.D.button,eventActionText:n||"",eventLabel:r||""})},...o})},N=e=>{let{onClick:t,eventActionType:n,eventActionText:r,eventLabel:o,chat:l,...i}=e;return(0,c.jsx)(s.rU,{onClick:e=>{var c,i,a;null==t||t(e),l&&(null==e||e.preventDefault(),null==(a=null==(i=null==(c=null==window?void 0:window.supportWidget)?void 0:c.craftTalk)?void 0:i.open)||a.call(i)),(0,d.h)({eventCategory:x,eventActionType:n||d.D.link,eventActionText:r||"",eventLabel:o||""})},...i})},y=e=>{let{minioUrl:t,blogs:n}=e;return(0,c.jsxs)("div",{className:f.contactsWrapper,children:[(0,c.jsx)(r.xv,{className:f.gray,size:"16",weight:"regular",children:"Звоните или пишите"}),(0,c.jsx)("div",{className:f.phones,children:g.map(e=>{let{title:t,url:n}=e;return(0,c.jsx)(N,{href:n,eventActionText:t,chat:!n,children:t},t)})}),(0,c.jsx)(r.xv,{className:f.gray,size:"16",weight:"regular",children:"Следите за нами в соцсетях"}),(0,c.jsx)("div",{className:f.contactsButtons,children:b.map(e=>{let{type:r,className:o,iconName:i,icon:a}=e;return(0,c.jsx)(w,{as:"a",href:null==n?void 0:n[r],target:"_blank",className:o,iconRight:a||(0,c.jsx)("img",{src:(0,l.xn)(t,"/pl-common-blocks-renderer/footer/".concat(i,".svg")),alt:r,loading:"lazy"}),shape:"circle-icon",variant:"white",eventActionText:r,eventLabel:"".concat(r,"_").concat(null==n?void 0:n[r])},r)})}),(0,c.jsx)(r.xv,{className:f.gray,size:"16",weight:"regular",children:"Канал для инвесторов"}),(0,c.jsx)("div",{className:f.contactsButtons,children:(0,c.jsxs)(N,{href:null==n?void 0:n.investTg,target:"_blank",className:f.link,eventActionText:"telegram",eventLabel:"telegram_".concat(null==n?void 0:n.investTg),children:[(0,c.jsx)(w,{className:f.tgIcon,iconRight:(0,c.jsx)("img",{src:(0,l.xn)(t,"/pl-common-blocks-renderer/footer/telegram.svg"),alt:"telegram",loading:"lazy"}),shape:"circle-icon",variant:"white",eventActionText:"telegram",eventLabel:"telegram_".concat(null==n?void 0:n.investTg)}),"Финуслуги Инвест"]})})]})},k=(0,a.g)("footer-disclaimer","sc"),T=Object.freeze({disclaimer:"".concat(k)}),C=e=>{let t=e=>{e.target instanceof HTMLAnchorElement&&(0,d.h)({eventCategory:x,eventActionType:d.D.link,eventActionText:e.target.textContent||"",eventLabel:"".concat(e.target.textContent,"_").concat(e.target.href)})};return e.disclaimer?(0,c.jsx)("div",{className:(0,o.Z)(e.className,T.disclaimer),dangerouslySetInnerHTML:{__html:e.disclaimer||""},onClick:t}):(0,c.jsx)("div",{className:(0,o.Z)(e.className,T.disclaimer),onClick:t,children:e.children})},P=()=>{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},A=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",[t,n]=(0,u.useState)(e);return(0,u.useEffect)(()=>{let t=P();if(!t||0===t.size)return;let[c,r=""]=e.split("?"),o=new URLSearchParams(r);t.forEach((e,t)=>{o.has(t)||o.set(t,e)});let l=o.toString();n(l?"".concat(c,"?").concat(l):c)},[e]),t},L=(0,a.g)("footer-modal-body","sc"),z=Object.freeze({wrapper:"".concat(L,"__wrapper"),title:"".concat(L,"__title"),item:"".concat(L,"__item"),label:"".concat(L,"__label"),button:"".concat(L,"__button"),description:"".concat(L,"__description")}),O=e=>{let{directions:t}=e;return(0,c.jsxs)("div",{className:z.wrapper,children:[(0,c.jsx)("div",{className:z.title,children:"Направления"}),t.map(e=>(0,c.jsxs)(N,{className:z.item,href:e.url,target:"_blank",eventActionText:e.name,eventLabel:"".concat(e.name,"_").concat(e.url),children:[(0,c.jsxs)("div",{className:z.label,children:[(0,c.jsx)("span",{children:e.name}),(0,c.jsx)(w,{className:z.button,iconRight:(0,c.jsx)(i.IconFdsArrowUpRightSmallO,{size:28}),shape:"circle-icon",eventActionText:"IconFdsArrowUpRightSmallO"})]}),(0,c.jsx)("p",{className:z.description,children:e.description})]},e.url))]})},U=(0,a.g)("footer-popup","sc"),I=Object.freeze({wrapper:"".concat(U,"__wrapper"),button:"".concat(U,"__button"),icon:"".concat(U,"__icon"),buttonWrapper:"".concat(U,"__button-wrapper")}),E=e=>{let{directions:t}=e,n=(0,s._m)("l"),[r,o]=(0,u.useState)(!1),l=()=>{o(!1)};return(0,c.jsxs)("div",{className:I.wrapper,children:[(0,c.jsx)("div",{className:I.buttonWrapper,children:(0,c.jsx)(w,{className:I.button,appearance:"ghost",variant:"white",onClick:()=>{o(!0)},label:"Все направления",eventActionText:"Все направления",iconLeft:(0,c.jsx)("div",{className:I.icon,children:[1,2,3,4,5,6,7,8,9].map(e=>(0,c.jsx)("div",{},e))})})}),(0,c.jsxs)(m.P,{children:[!n&&(0,c.jsx)(m.U,{isOpen:r,onClose:l,full:!0,children:(0,c.jsx)(O,{directions:t})}),n&&(0,c.jsx)(m.D,{isOpen:r,onClose:l,width:"804px",children:(0,c.jsx)(O,{directions:t})})]})]})},S=(0,a.g)("footer-left-column","sc"),R=Object.freeze({leftColumn:"".concat(S,"__left-column"),logoWrapper:"".concat(S,"__logo-wrapper"),banner:"".concat(S,"__banner")}),D=e=>{let{showcaseUrl:t,minioUrl:n,directions:o,mobAppUrl:a}=e,s=A(a);return(0,c.jsxs)("div",{className:R.leftColumn,children:[(0,c.jsx)(N,{className:R.logoWrapper,href:t,eventActionType:d.D.icon,eventActionText:"finuslugi_logo",eventLabel:"finuslugi_logo_".concat(t),children:(0,c.jsx)("img",{src:(0,l.xn)(n,"/pl-common-blocks-renderer/footer/finuslugi_base_logo.svg"),alt:"finuslugi logo",loading:"lazy"})}),(0,c.jsx)(E,{directions:null!=o?o:[]}),(0,c.jsx)(N,{href:s,target:"_blank",eventActionType:d.D.banner,eventActionText:"Управляйте финансами через приложение Финуслуг",eventLabel:"Управляйте финансами через приложение Финуслуг_".concat(s),children:(0,c.jsxs)(r.Zb,{className:R.banner,children:[(0,c.jsxs)(r.xv,{weight:"medium",children:["Управляйте финансами",(0,c.jsx)("br",{}),"через приложение Финуслуг"]}),(0,c.jsx)(w,{iconRight:(0,c.jsx)(i.IconFdsArrowUpRightSmallO,{size:32}),shape:"circle-icon",variant:"white",eventActionText:"IconFdsArrowUpRightSmallO"}),(0,c.jsxs)("picture",{children:[(0,c.jsx)("source",{srcSet:(0,l.xn)(n,"/pl-common-blocks-renderer/footer/apps_d.webp"),media:"(min-width: 1024px)"}),(0,c.jsx)("img",{src:(0,l.xn)(n,"/pl-common-blocks-renderer/footer/apps_m.webp"),alt:"иллюстрация мобильного приложения",loading:"lazy"})]})]})})]})},M=(0,a.g)("footer-logo","sc"),W=Object.freeze({wrapper:"".concat(M,"__wrapper"),link:"".concat(M,"__link"),fromMoex:"".concat(M,"__from-moex"),logo:"".concat(M,"__logo"),white:"".concat(M,"__wrapper--white")}),F=e=>{let{showcaseUrl:t,minioUrl:n,isWhite:r}=e;return(0,c.jsx)("div",{className:(0,o.Z)(W.wrapper,{[W.white]:r}),children:(0,c.jsxs)(N,{className:W.link,href:t,eventActionType:d.D.icon,eventActionText:"finuslugi_logo",eventLabel:"finuslugi_logo_".concat(t),children:[(0,c.jsx)("img",{className:W.logo,src:"".concat(n,"/images/logo-brandmark-common-finuslugi.svg")}),(0,c.jsx)("img",{className:W.fromMoex,src:"".concat(n,"/images/fromMoex.svg")})]})})},B=(0,a.g)("footer-warning","sc"),Z=Object.freeze({reservedSpace:"".concat(B,"__reserved-space"),wrapper:"".concat(B,"__wrapper"),fixed:"".concat(B,"__wrapper--fixed"),container:"".concat(B,"__container")}),G=e=>{let{text:t,fixed:n}=e;return(0,c.jsx)("div",{className:(0,o.Z)(Z.wrapper,{[Z.fixed]:n}),children:(0,c.jsx)(r.W2,{className:Z.container,children:t})})},H=e=>{let{text:t}=e;return(0,c.jsxs)("div",{className:Z.reservedSpace,children:[(0,c.jsx)(G,{text:t}),(0,c.jsx)(G,{text:t,fixed:!0})]})},V=e=>{var t,n;let{data:l,showcaseUrl:i="https://finuslugi.ru",minioUrl:a="https://assets.finuslugi.ru/mp-assets",customDisclaimer:s,variant:d="default"}=e,u=!s&&null!=l&&l.disclaimer?l.disclaimer:void 0,m=d.includes("compact"),p=d.includes("white"),f=null==(t=null==l?void 0:l.bottom)?void 0:t.concat(m?_:[]),h="warning"in l?l.warning:void 0;return(0,c.jsx)("footer",{className:(0,o.Z)(v.wrapper,{[v.compact]:m,[v.white]:p}),children:(0,c.jsxs)("section",{className:v.section,children:[(0,c.jsxs)(r.W2,{className:v.container,children:[!m&&(0,c.jsx)(D,{showcaseUrl:i,minioUrl:a,directions:l.directions,mobAppUrl:l.mobAppUrl}),(0,c.jsx)("div",{className:v.wrapper,children:(0,c.jsxs)("div",{className:v.top,children:[(0,c.jsxs)("div",{children:[(0,c.jsxs)("div",{className:v.main,children:[!m&&(0,c.jsx)("div",{className:v.links,children:null==(n=null==l?void 0:l.top)?void 0:n.map(e=>(0,c.jsx)(N,{href:e.url,eventActionText:e.title,eventLabel:"".concat(e.title,"_").concat(e.url),children:e.title},e.url))}),m&&(0,c.jsx)(F,{showcaseUrl:i,minioUrl:a,isWhite:p}),(0,c.jsx)(C,{className:v.disclaimer,disclaimer:u,children:s||j})]}),(0,c.jsxs)("div",{className:v.bottom,children:[(0,c.jsx)("div",{className:v.bottomLinks,children:null==f?void 0:f.map(e=>(0,c.jsx)(N,{href:e.url,eventActionText:e.title,eventLabel:"".concat(e.title,"_").concat(e.url),children:e.title},e.url))}),(0,c.jsx)(C,{className:v.bottomDisclaimer,disclaimer:null==l?void 0:l.bottomDisclaimer})]})]}),!m&&(0,c.jsx)(y,{minioUrl:a,blogs:l.blogs})]})})]}),m&&!!h&&(0,c.jsx)(H,{text:h})]})})}}},function(e){e.O(0,[2280,729,4570,4875,3419,3544,5501,207,7654,5979,4789,2971,2117,1744],function(){return e(e.s=81149)}),_N_E=e.O()}]);