!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};e.SENTRY_RELEASE={id:"fb5f0903e703b2ddb94431eacd9f88bace2e1245"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="8634874c-6bce-44d7-aa2c-f15c783183b4",e._sentryDebugIdIdentifier="sentry-dbid-8634874c-6bce-44d7-aa2c-f15c783183b4")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4790],{47585:(e,n,a)=>{Promise.resolve().then(a.bind(a,4558)),Promise.resolve().then(a.bind(a,12696)),Promise.resolve().then(a.bind(a,90183)),Promise.resolve().then(a.bind(a,86290))},84298:()=>{},90183:(e,n,a)=>{"use strict";let s;a.d(n,{FooterV3:()=>Y}),a(84298);var t=a(95155),i=a(42687),r=a(29427),l=a(69511),c=a(13622),o=a(48822),m=a(31117),d=a(65079),h=a(12115),p=a(53294),x=a(6605),_=a(48675),b=a(59092),v=a(10286);let u=(0,m.g)("footer-v3-contacts-block","sc"),f=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`,channels:`${u}__channels`,channelLink:`${u}__channel-link`,channelLinkMax:`${u}__channel-link--max`,channelIcon:`${u}__channel-icon`}),g=(0,m.g)("footer-v3","sc"),j=Object.freeze({wrapper:`${g}__wrapper`,section:`${g}__section`,container:`${g}__container`,content:`${g}__content`,top:`${g}__top`,main:`${g}__main`,links:`${g}__links`,disclaimer:`${g}__disclaimer`,bottom:`${g}__bottom`,bottomLinks:`${g}__bottom-links`,bottomDisclaimer:`${g}__bottom-disclaimer`,compact:`${g}__wrapper--compact`,white:`${g}__wrapper--white`}),N="finkit-widgets-sc-footer-v3",w={title:"Чат с поддержкой",url:void 0},$=[{type:"vk",label:"ВКонтакте",className:f.vkIcon,iconName:"vk"},{type:"telegramChannel",label:"Telegram",className:f.tgIcon,iconName:"telegram"},{type:"dzen",label:"Дзен",className:f.dzenIcon,iconName:"dzen"},{type:"max",label:"MAX",className:f.maxIcon,iconName:"max"}],k=(0,t.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,t.jsx)("br",{}),(0,t.jsx)("br",{}),"Группа \xabМосковская Биржа\xbb - ПАО Московская Биржа и юридические лица, находящиеся под прямым или косвенным контролем ПАО Московская Биржа."]}),y=({onClick:e,eventActionText:n,eventLabel:a,...s})=>(0,t.jsx)(c.$,{onClick:s=>{null==e||e(s),(0,o.h)({eventCategory:N,eventActionType:o.D.button,eventActionText:n||"",eventLabel:a})},...s}),T=e=>(0,t.jsx)(l.F,{eventCategory:N,...e}),A=({minioUrl:e,blogs:n,phones:a})=>{let s=[{network:"Telegram",iconName:"telegram",href:null==n?void 0:n.investTg}];null!=n&&n.investMax&&s.push({network:"MAX",iconName:"max",href:n.investMax});let i=[...a,w];return(0,t.jsxs)("div",{className:f.contactsWrapper,children:[(0,t.jsx)("p",{className:f.gray,children:"Звоните или пишите"}),(0,t.jsx)("div",{className:f.phones,children:i.map(({title:e,url:n})=>(0,t.jsx)(T,{href:n,role:n?void 0:"button",eventActionText:e,chat:!n,children:e},e))}),(0,t.jsx)("p",{className:f.gray,children:"Читайте нас"}),(0,t.jsx)("div",{className:f.contactsButtons,children:$.map(({type:a,label:s,className:i,iconName:r})=>(0,t.jsx)(y,{as:"a",href:null==n?void 0:n[a],target:"_blank",rel:"noreferrer","aria-label":s,className:i,iconRight:(0,t.jsx)(l.a,{minioUrl:e,iconName:r,alt:s}),shape:"circle-icon",variant:"white",eventActionText:a,eventLabel:null==n?void 0:n[a]},a))}),(0,t.jsx)("p",{className:f.gray,children:"Каналы о финансах"}),(0,t.jsx)("div",{className:f.channels,children:s.map(({network:n,iconName:a,href:s})=>(0,t.jsxs)(T,{href:s,target:"_blank",rel:"noreferrer",className:(0,r.A)(f.channelLink,{[f.channelLinkMax]:"MAX"===n}),"aria-label":`Канал для инвесторов в ${n}`,eventActionText:"Канал для инвесторов",eventLabel:s,children:[(0,t.jsx)("span",{className:f.channelIcon,children:(0,t.jsx)(l.a,{minioUrl:e,iconName:a,alt:""})}),"Канал для инвесторов"]},n))})]})},L=(0,m.g)("footer-v3-disclaimer","sc"),C=Object.freeze({disclaimer:`${L}`}),U=e=>{let n=e=>{e.target instanceof HTMLAnchorElement&&(0,o.h)({eventCategory:N,eventActionType:o.D.link,eventActionText:e.target.textContent||"",eventLabel:e.target.href})};return e.disclaimer?(0,t.jsx)("div",{className:(0,r.A)(e.className,C.disclaimer),dangerouslySetInnerHTML:{__html:e.disclaimer||""},onClick:n}):(0,t.jsx)("div",{className:(0,r.A)(e.className,C.disclaimer),onClick:n,children:e.children})},z=(0,m.g)("footer-v3-modal-body","sc"),D=Object.freeze({wrapper:`${z}__wrapper`,title:`${z}__title`,item:`${z}__item`,label:`${z}__label`,button:`${z}__button`,description:`${z}__description`}),I=({directions:e,fontFamily:n})=>(0,t.jsxs)("div",{className:D.wrapper,style:{fontFamily:n},children:[(0,t.jsx)("div",{className:D.title,children:"Направления"}),e.map(e=>(0,t.jsxs)(T,{className:D.item,href:e.url,target:"_blank",eventActionText:e.name,eventLabel:`${e.name}_${e.url}`,children:[(0,t.jsxs)("div",{className:D.label,children:[(0,t.jsx)("span",{children:e.name}),(0,t.jsx)(y,{className:D.button,iconRight:(0,t.jsx)(b.K,{size:28}),shape:"circle-icon",eventActionText:"IconFdsArrowUpRightSmallO"})]}),(0,t.jsx)("p",{className:D.description,children:e.description})]},e.url))]}),S=(0,m.g)("footer-v3-popup","sc"),M=Object.freeze({wrapper:`${S}__wrapper`,button:`${S}__button`,icon:`${S}__icon`,buttonWrapper:`${S}__button-wrapper`}),O=({directions:e})=>{let n=(0,p.qF)("l"),[a,s]=(0,h.useState)(!1),[i,r]=(0,h.useState)(),l=(0,h.useRef)(null),c=()=>{s(!1)};return(0,t.jsxs)("div",{ref:l,className:M.wrapper,children:[(0,t.jsx)("div",{className:M.buttonWrapper,children:(0,t.jsx)(y,{className:M.button,appearance:"ghost",variant:"white",onClick:()=>{l.current&&r(getComputedStyle(l.current).fontFamily),s(!0)},label:"Все направления",eventActionText:"Все направления",iconLeft:(0,t.jsx)("div",{className:M.icon,children:[1,2,3,4,5,6,7,8,9].map(e=>(0,t.jsx)("div",{},e))})})}),(0,t.jsxs)(_.P,{children:[!n&&(0,t.jsx)(_.U,{isOpen:a,onClose:c,full:!0,children:(0,t.jsx)(I,{directions:e,fontFamily:i})}),n&&(0,t.jsx)(x.D,{isOpen:a,onClose:c,width:"804px",children:(0,t.jsx)(I,{directions:e,fontFamily:i})})]})]})},E=({store:e,className:n})=>{let a=((e="")=>{let[n,a]=(0,h.useState)(e);return(0,h.useEffect)(()=>{let n,s,t=(n=new URL(window.location.href),s=new URLSearchParams,n.searchParams.forEach((e,n)=>{/^utm_/i.test(n)&&s.set(n,e)}),s);if(!t||0===t.size)return;let[i,r=""]=e.split("?"),l=new URLSearchParams(r);t.forEach((e,n)=>{l.has(n)||l.set(n,e)});let c=l.toString();a(c?`${i}?${c}`:i)},[e]),n})(e.href),s=(0,v.u)({target:v.b,fallbackHref:a});return(0,t.jsxs)(T,{className:n,href:s.href,target:"_blank",rel:"noreferrer","aria-label":e.iconAlt,eventActionType:o.D.banner,eventActionText:e.label,eventLabel:s.href,onClick:s.onClick,children:[(0,t.jsx)("img",{src:e.iconUrl,width:24,height:24,alt:"","aria-hidden":"true",loading:"lazy"}),(0,t.jsx)("span",{children:e.label})]})},F=(0,m.g)("footer-v3-left-column","sc"),P=Object.freeze({leftColumn:`${F}__left-column`,logoWrapper:`${F}__logo-wrapper`,banner:`${F}__banner`,bannerTitle:`${F}__banner-title`,bannerTitleBreak:`${F}__banner-title-break`,bannerTitleDesktopBreak:`${F}__banner-title-desktop-break`,bannerTitleLink:`${F}__banner-title-link`,stores:`${F}__stores`,storeLink:`${F}__store-link`}),R=({showcaseUrl:e,minioUrl:n,directions:a,appStores:s})=>{let i=(0,v.u)({target:v.c}),r=(0,t.jsxs)(t.Fragment,{children:["Управляйте финансами ",(0,t.jsx)("br",{className:P.bannerTitleBreak}),"через приложение ",(0,t.jsx)("br",{className:P.bannerTitleDesktopBreak}),"Финуслуг"]});return(0,t.jsxs)("div",{className:P.leftColumn,children:[(0,t.jsx)(T,{className:P.logoWrapper,href:e,eventActionType:o.D.icon,eventActionText:"finuslugi_logo",eventLabel:`finuslugi_logo_${e}`,children:(0,t.jsx)("img",{src:(0,d.oq)(n,"/widgets/FooterV3/logo.webp"),alt:"finuslugi logo",loading:"lazy"})}),(0,t.jsx)(O,{directions:a??[]}),(0,t.jsxs)("div",{className:P.banner,children:[(0,t.jsx)("p",{className:P.bannerTitle,children:i.href?(0,t.jsx)(T,{className:P.bannerTitleLink,href:i.href,target:"_blank",rel:"noreferrer",eventActionType:o.D.link,eventActionText:"Управляйте финансами через приложение Финуслуг",eventLabel:i.href,onClick:i.onClick,children:r}):r}),(0,t.jsx)("div",{className:P.stores,children:null==s?void 0:s.map(e=>(0,t.jsx)(E,{store:e,className:P.storeLink},e.href))})]})]})},B=(0,m.g)("footer-v3-logo","sc"),W=Object.freeze({wrapper:`${B}__wrapper`,link:`${B}__link`,fromMoex:`${B}__from-moex`,logo:`${B}__logo`,white:`${B}__wrapper--white`}),H=({showcaseUrl:e,minioUrl:n,isWhite:a})=>(0,t.jsx)("div",{className:(0,r.A)(W.wrapper,{[W.white]:a}),children:(0,t.jsxs)(T,{className:W.link,href:e,eventActionType:o.D.icon,eventActionText:"finuslugi_logo",eventLabel:`finuslugi_logo_${e}`,children:[(0,t.jsx)("img",{className:W.logo,src:`${n}/images/logo-brandmark-common-finuslugi.svg`,loading:"lazy"}),(0,t.jsx)("img",{className:W.fromMoex,src:`${n}/images/fromMoex.svg`,loading:"lazy"})]})});var G=((s=G||{}).BLACK="black",s.GRAY="gray",s);let K=(0,m.g)("footer-v3-warning","sc"),X=Object.freeze({reservedSpace:`${K}__reserved-space`,wrapper:`${K}__wrapper`,wrapperGray:`${K}__wrapper--gray`,fixed:`${K}__wrapper--fixed`,container:`${K}__container`,text:`${K}__text`,invisibleText:`${K}__text--invisible`}),q=({text:e,variant:n,fixed:a,isPlaceholder:s})=>(0,t.jsx)("div",{className:(0,r.A)(X.wrapper,{[X.wrapperGray]:"gray"===n,[X.fixed]:a&&!s}),children:(0,t.jsx)(i.m,{className:X.container,children:(0,t.jsx)("div",{className:(0,r.A)(X.text,{[X.invisibleText]:s}),dangerouslySetInnerHTML:{__html:e}})})}),V=({warning:e})=>{let n="string"==typeof e?{text:e}:e,a={text:n.text,fixed:n.fixed??!0,variant:n.variant??G.BLACK};return(0,t.jsxs)("div",{className:X.reservedSpace,children:[(0,t.jsx)(q,{...a,isPlaceholder:a.fixed}),a.fixed&&(0,t.jsx)(q,{...a,fixed:!0})]})},Y=({data:e,showcaseUrl:n="https://finuslugi.ru",minioUrl:a="https://assets.finuslugi.ru/mp-assets",customDisclaimer:s,variant:l="default",className:c})=>{var o;let m=!s&&null!=e&&e.disclaimer?e.disclaimer:void 0,d=l.includes("compact"),h=l.includes("white");if(!e)return null;let p=d?[...e.bottom,...e.phones]:e.bottom,x="warning"in e?e.warning:void 0;return d?(0,t.jsx)("footer",{className:(0,r.A)(j.wrapper,c,j.compact,{[j.white]:h}),children:(0,t.jsxs)("section",{className:j.section,children:[(0,t.jsx)(i.m,{className:j.container,children:(0,t.jsx)("div",{className:j.wrapper,children:(0,t.jsx)("div",{className:j.top,children:(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:j.main,children:[(0,t.jsx)(H,{showcaseUrl:n,minioUrl:a,isWhite:h}),(0,t.jsx)(U,{className:j.disclaimer,disclaimer:m,children:s||k})]}),(0,t.jsxs)("div",{className:j.bottom,children:[(0,t.jsx)("div",{className:j.bottomLinks,children:null==p?void 0:p.map(e=>(0,t.jsx)(T,{href:e.url,eventActionText:e.title,eventLabel:e.url,children:e.title},e.url))}),(0,t.jsx)(U,{className:j.bottomDisclaimer,disclaimer:e.bottomDisclaimer})]})]})})})}),!!x&&(0,t.jsx)(V,{warning:x})]})}):(0,t.jsx)("footer",{className:(0,r.A)(j.wrapper,c),children:(0,t.jsx)("section",{className:j.section,children:(0,t.jsxs)(i.m,{className:j.container,children:[(0,t.jsx)(R,{showcaseUrl:n,minioUrl:a,directions:e.directions,appStores:e.appStores}),(0,t.jsx)(A,{minioUrl:a,blogs:e.blogs,phones:e.phones}),(0,t.jsxs)("div",{className:j.content,children:[(0,t.jsxs)("div",{className:j.main,children:[(0,t.jsx)("div",{className:j.links,children:null==(o=e.top)?void 0:o.map(e=>(0,t.jsx)(T,{href:e.url,eventActionText:e.title,eventLabel:e.url,children:e.title},e.url))}),(0,t.jsx)(U,{className:j.disclaimer,disclaimer:m,children:s||k})]}),(0,t.jsxs)("div",{className:j.bottom,children:[(0,t.jsx)("div",{className:j.bottomLinks,children:e.bottom.map(e=>(0,t.jsx)(T,{href:e.url,eventActionText:e.title,eventLabel:e.url,children:e.title},e.url))}),(0,t.jsx)(U,{className:j.bottomDisclaimer,disclaimer:e.bottomDisclaimer})]})]})]})})})}}},e=>{e.O(0,[621,9156,4341,6604,720,6290,5449,9793,8441,9423,7358],()=>e(e.s=47585)),_N_E=e.O()}]);
//# debugId=8634874c-6bce-44d7-aa2c-f15c783183b4