(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 l.a}});var r=n(55775),l=n.n(r)},55775:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});let r=n(47043);n(57437),n(2265);let l=r._(n(15602));function i(e,t){var n;let r={loading:e=>{let{error:t,isLoading:n,pastDelay:r}=e;return null}};"function"==typeof e&&(r.loader=e);let i={...r,...t};return(0,l.default)({...i,modules:null==(n=i.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 l}});let r=n(18993);function l(e){let{reason:t,children:n}=e;if("undefined"==typeof window)throw new r.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 a}});let r=n(57437),l=n(2265),i=n(81523),o=n(70049);function c(e){return{default:e&&"default"in e?e.default:e}}let s={loader:()=>Promise.resolve(c(()=>null)),loading:null,ssr:!0},a=function(e){let t={...s,...e},n=(0,l.lazy)(()=>t.loader().then(c)),a=t.loading;function d(e){let c=a?(0,r.jsx)(a,{isLoading:!0,pastDelay:!0,error:null}):null,s=t.ssr?(0,r.jsxs)(r.Fragment,{children:["undefined"==typeof window?(0,r.jsx)(o.PreloadCss,{moduleIds:t.modules}):null,(0,r.jsx)(n,{...e})]}):(0,r.jsx)(i.BailoutToCSR,{reason:"next/dynamic",children:(0,r.jsx)(n,{...e})});return(0,r.jsx)(l.Suspense,{fallback:c,children:s})}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 i}});let r=n(57437),l=n(20544);function i(e){let{moduleIds:t}=e;if("undefined"!=typeof window)return null;let n=(0,l.getExpectedRequestStore)("next/dynamic css"),i=[];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"));i.push(...t)}}return 0===i.length?null:(0,r.jsx)(r.Fragment,{children:i.map(e=>(0,r.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 r=n(57437),l=n(30166),i=n(30631),o=n(2265),c=n(13466),s=n(55089);let a=(0,l.default)(()=>n.e(697).then(n.bind(n,50697)).then(e=>e.Chat),{loadableGenerated:{webpack:()=>[50697]},ssr:!1}),d=(0,l.default)(()=>n.e(6715).then(n.bind(n,16715)).then(e=>e.CookiesPlate),{loadableGenerated:{webpack:()=>[null]},ssr:!1}),u=()=>{let{env:e}=(0,s.k)();return(0,o.useEffect)(()=>{"dev"!==e.NEXT_PUBLIC_VERSION&&(0,i.zK)()},[e.NEXT_PUBLIC_VERSION]),(0,r.jsxs)(c.h,{children:[(0,r.jsx)(a,{}),(0,r.jsx)(d,{})]})}},13466:function(e,t,n){"use strict";n.d(t,{h:function(){return i}});var r=n(2265),l=n(54887);let i=e=>{let{children:t,id:n="portal-root"}=e,[i,o]=(0,r.useState)(null);return(0,r.useEffect)(()=>{let e=document.getElementById(n);if(e){o(e);return}let t=document.createElement("div");return t.id=n,document.body.appendChild(t),o(t),()=>{document.body.removeChild(t)}},[n]),i?(0,l.createPortal)(t,i):null}},45274:function(e,t,n){"use strict";n.d(t,{EnvProvider:function(){return i},F:function(){return l}});var r=n(57437);let l=(0,n(2265).createContext)(null),i=e=>{let{children:t,env:n}=e;return(0,r.jsx)(l.Provider,{value:{env:n},children:t})}},55089:function(e,t,n){"use strict";n.d(t,{k:function(){return i}});var r=n(45274),l=n(2265);let i=()=>{let e=(0,l.useContext)(r.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 r=n(57437),l=n(35563),i=n(61994),o=n(77337),c=n(80684),s=n(52074),a=n(75461),d=n(10992),u=n(2265),m=n(20828);let p=(0,s.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,s.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,r.jsx)(c.IconFdsYoutubeF,{})}],j=(0,r.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,r.jsx)("br",{}),(0,r.jsx)("br",{}),"Группа \xabМосковская Биржа\xbb - ПАО Московская Биржа и юридические лица, находящиеся под прямым или косвенным контролем ПАО Московская Биржа."]}),w=e=>{let{onClick:t,eventActionText:n,eventLabel:l,...i}=e;return(0,r.jsx)(a.zx,{onClick:e=>{null==t||t(e),(0,d.h)({eventCategory:x,eventActionType:d.D.button,eventActionText:n||"",eventLabel:l})},...i})},N=e=>{let{onClick:t,eventActionType:n,eventActionText:l,eventLabel:i,chat:o,...c}=e;return(0,r.jsx)(a.rU,{onClick:e=>{var r,c,s;null==t||t(e),o&&(null==e||e.preventDefault(),null==(s=null==(c=null==(r=null==window?void 0:window.supportWidget)?void 0:r.craftTalk)?void 0:c.open)||s.call(c)),(0,d.h)({eventCategory:x,eventActionType:n||d.D.link,eventActionText:l||"",eventLabel:i})},...c})},y=e=>{let{minioUrl:t,blogs:n}=e;return(0,r.jsxs)("div",{className:f.contactsWrapper,children:[(0,r.jsx)(l.xv,{className:f.gray,size:"16",weight:"regular",children:"Звоните или пишите"}),(0,r.jsx)("div",{className:f.phones,children:g.map(e=>{let{title:t,url:n}=e;return(0,r.jsx)(N,{href:n,eventActionText:t,chat:!n,children:t},t)})}),(0,r.jsx)(l.xv,{className:f.gray,size:"16",weight:"regular",children:"Следите за нами в соцсетях"}),(0,r.jsx)("div",{className:f.contactsButtons,children:b.map(e=>{let{type:l,className:i,iconName:c,icon:s}=e;return(0,r.jsx)(w,{as:"a",href:null==n?void 0:n[l],target:"_blank",className:i,iconRight:s||(0,r.jsx)("img",{src:(0,o.xn)(t,"/pl-common-blocks-renderer/footer/".concat(c,".svg")),alt:l,loading:"lazy"}),shape:"circle-icon",variant:"white",eventActionText:l,eventLabel:null==n?void 0:n[l]},l)})}),(0,r.jsx)(l.xv,{className:f.gray,size:"16",weight:"regular",children:"Канал для инвесторов"}),(0,r.jsx)("div",{className:f.contactsButtons,children:(0,r.jsxs)(N,{href:null==n?void 0:n.investTg,target:"_blank",className:f.link,eventActionText:"telegram",eventLabel:null==n?void 0:n.investTg,children:[(0,r.jsx)(w,{className:f.tgIcon,iconRight:(0,r.jsx)("img",{src:(0,o.xn)(t,"/pl-common-blocks-renderer/footer/telegram.svg"),alt:"telegram",loading:"lazy"}),shape:"circle-icon",variant:"white",eventActionText:"telegram",eventLabel:null==n?void 0:n.investTg}),"Финуслуги Инвест"]})})]})},k=(0,s.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:e.target.href})};return e.disclaimer?(0,r.jsx)("div",{className:(0,i.Z)(e.className,T.disclaimer),dangerouslySetInnerHTML:{__html:e.disclaimer||""},onClick:t}):(0,r.jsx)("div",{className:(0,i.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[r,l=""]=e.split("?"),i=new URLSearchParams(l);t.forEach((e,t)=>{i.has(t)||i.set(t,e)});let o=i.toString();n(o?"".concat(r,"?").concat(o):r)},[e]),t},L=(0,s.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,r.jsxs)("div",{className:z.wrapper,children:[(0,r.jsx)("div",{className:z.title,children:"Направления"}),t.map(e=>(0,r.jsxs)(N,{className:z.item,href:e.url,target:"_blank",eventActionText:e.name,eventLabel:"".concat(e.name,"_").concat(e.url),children:[(0,r.jsxs)("div",{className:z.label,children:[(0,r.jsx)("span",{children:e.name}),(0,r.jsx)(w,{className:z.button,iconRight:(0,r.jsx)(c.IconFdsArrowUpRightSmallO,{size:28}),shape:"circle-icon",eventActionText:"IconFdsArrowUpRightSmallO"})]}),(0,r.jsx)("p",{className:z.description,children:e.description})]},e.url))]})},U=(0,s.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,a._m)("l"),[l,i]=(0,u.useState)(!1),o=()=>{i(!1)};return(0,r.jsxs)("div",{className:I.wrapper,children:[(0,r.jsx)("div",{className:I.buttonWrapper,children:(0,r.jsx)(w,{className:I.button,appearance:"ghost",variant:"white",onClick:()=>{i(!0)},label:"Все направления",eventActionText:"Все направления",iconLeft:(0,r.jsx)("div",{className:I.icon,children:[1,2,3,4,5,6,7,8,9].map(e=>(0,r.jsx)("div",{},e))})})}),(0,r.jsxs)(m.P,{children:[!n&&(0,r.jsx)(m.U,{isOpen:l,onClose:o,full:!0,children:(0,r.jsx)(O,{directions:t})}),n&&(0,r.jsx)(m.D,{isOpen:l,onClose:o,width:"804px",children:(0,r.jsx)(O,{directions:t})})]})]})},S=(0,s.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:i,mobAppUrl:s}=e,a=A(s);return(0,r.jsxs)("div",{className:R.leftColumn,children:[(0,r.jsx)(N,{className:R.logoWrapper,href:t,eventActionType:d.D.icon,eventActionText:"finuslugi_logo",eventLabel:"finuslugi_logo_".concat(t),children:(0,r.jsx)("img",{src:(0,o.xn)(n,"/pl-common-blocks-renderer/footer/finuslugi_base_logo.svg"),alt:"finuslugi logo",loading:"lazy"})}),(0,r.jsx)(E,{directions:null!=i?i:[]}),(0,r.jsx)(N,{href:a,target:"_blank",eventActionType:d.D.banner,eventActionText:"Управляйте финансами через приложение Финуслуг",eventLabel:a,children:(0,r.jsxs)(l.Zb,{className:R.banner,children:[(0,r.jsxs)(l.xv,{weight:"medium",children:["Управляйте финансами",(0,r.jsx)("br",{}),"через приложение Финуслуг"]}),(0,r.jsx)(w,{iconRight:(0,r.jsx)(c.IconFdsArrowUpRightSmallO,{size:32}),shape:"circle-icon",variant:"white",eventActionText:"IconFdsArrowUpRightSmallO"}),(0,r.jsxs)("picture",{children:[(0,r.jsx)("source",{srcSet:(0,o.xn)(n,"/pl-common-blocks-renderer/footer/apps_d.webp"),media:"(min-width: 1024px)"}),(0,r.jsx)("img",{src:(0,o.xn)(n,"/pl-common-blocks-renderer/footer/apps_m.webp"),alt:"иллюстрация мобильного приложения",loading:"lazy"})]})]})})]})},M=(0,s.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:l}=e;return(0,r.jsx)("div",{className:(0,i.Z)(W.wrapper,{[W.white]:l}),children:(0,r.jsxs)(N,{className:W.link,href:t,eventActionType:d.D.icon,eventActionText:"finuslugi_logo",eventLabel:"finuslugi_logo_".concat(t),children:[(0,r.jsx)("img",{className:W.logo,src:"".concat(n,"/images/logo-brandmark-common-finuslugi.svg")}),(0,r.jsx)("img",{className:W.fromMoex,src:"".concat(n,"/images/fromMoex.svg")})]})})},B=(0,s.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,r.jsx)("div",{className:(0,i.Z)(Z.wrapper,{[Z.fixed]:n}),children:(0,r.jsx)(l.W2,{className:Z.container,children:t})})},H=e=>{let{text:t}=e;return(0,r.jsxs)("div",{className:Z.reservedSpace,children:[(0,r.jsx)(G,{text:t}),(0,r.jsx)(G,{text:t,fixed:!0})]})},V=e=>{var t,n;let{data:o,showcaseUrl:c="https://finuslugi.ru",minioUrl:s="https://assets.finuslugi.ru/mp-assets",customDisclaimer:a,variant:d="default"}=e,u=!a&&null!=o&&o.disclaimer?o.disclaimer:void 0,m=d.includes("compact"),p=d.includes("white"),f=null==(t=null==o?void 0:o.bottom)?void 0:t.concat(m?_:[]),h="warning"in o?o.warning:void 0;return(0,r.jsx)("footer",{className:(0,i.Z)(v.wrapper,{[v.compact]:m,[v.white]:p}),children:(0,r.jsxs)("section",{className:v.section,children:[(0,r.jsxs)(l.W2,{className:v.container,children:[!m&&(0,r.jsx)(D,{showcaseUrl:c,minioUrl:s,directions:o.directions,mobAppUrl:o.mobAppUrl}),(0,r.jsx)("div",{className:v.wrapper,children:(0,r.jsxs)("div",{className:v.top,children:[(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{className:v.main,children:[!m&&(0,r.jsx)("div",{className:v.links,children:null==(n=null==o?void 0:o.top)?void 0:n.map(e=>(0,r.jsx)(N,{href:e.url,eventActionText:e.title,eventLabel:e.url,children:e.title},e.url))}),m&&(0,r.jsx)(F,{showcaseUrl:c,minioUrl:s,isWhite:p}),(0,r.jsx)(C,{className:v.disclaimer,disclaimer:u,children:a||j})]}),(0,r.jsxs)("div",{className:v.bottom,children:[(0,r.jsx)("div",{className:v.bottomLinks,children:null==f?void 0:f.map(e=>(0,r.jsx)(N,{href:e.url,eventActionText:e.title,eventLabel:e.url,children:e.title},e.url))}),(0,r.jsx)(C,{className:v.bottomDisclaimer,disclaimer:null==o?void 0:o.bottomDisclaimer})]})]}),!m&&(0,r.jsx)(y,{minioUrl:s,blogs:o.blogs})]})})]}),m&&!!h&&(0,r.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()}]);