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