(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,12569,e=>{"use strict";e.s(["l",0,{display:"-webkit-box",WebkitBoxOrient:"vertical",overflow:"hidden"}])},60822,e=>{"use strict";var t=e.i(43476),n=e.i(7670);let i=(0,e.i(54061).g)("container"),l=Object.freeze({container:i,states:{narrow:`${i}--narrow`}}),s=({children:e,as:i,fluid:s=!1,className:a="",...r})=>(0,t.jsx)(i||"div",{className:(0,n.default)(l.container,a,{[l.states.narrow]:!s}),...r,children:e});s.displayName="Container",e.s(["Container",0,s])},65019,e=>{"use strict";var t=e.i(43476),n=e.i(7670);let i=(0,e.i(54061).g)("card"),l={card:i,variants:{primary:`${i}--primary`,secondary:`${i}--secondary`}},s=({as:e,className:i,style:s,children:a,variant:r="primary",dataQa:o,dataId:c,...d})=>(0,t.jsx)(e||"div",{className:(0,n.default)(i,l.card,l.variants[r]),style:s,...d,"data-id":c,"data-qa":o,children:a});s.displayName="Card",e.s(["Card",0,s])},8145,13757,e=>{"use strict";var t=e.i(43476),n=e.i(7670),i=e.i(12569);let l=Object.freeze({text:(0,e.i(54061).g)("text")});function s({as:e,className:a,style:r,children:o,size:c,weight:d,lineClamp:u,dataQa:m,dataId:p,...h}){return(0,t.jsx)(e||"span",{className:(0,n.default)(l.text,a),style:{...c&&{fontSize:`var(--font-size-${c})`,lineHeight:`var(--font-line-height-${c})`},...d&&{fontWeight:`var(--font-weight-${d})`},...u&&{WebkitLineClamp:u,lineClamp:u,...i.l},...r},...h,"data-id":p,"data-qa":m,children:o})}s.displayName="Text",e.s([],8145),e.s(["Text",0,s],13757)},23123,e=>{"use strict";var t=e.i(43476),n=e.i(71645),i=e.i(30382),l=e.i(7670),s=e.i(40383),a=e.i(22468),r=e.i(74080);let o=300,c=({opened:e})=>{let[t,i]=(0,n.useState)(!1),l=(0,n.useRef)(null),s=(0,n.useRef)(!1);return(0,n.useEffect)(()=>(e&&!s.current?(s.current=!0,i(!0)):!e&&s.current&&(l.current=setTimeout(()=>{s.current=!1,i(!1)},o)),()=>{l.current&&clearTimeout(l.current)}),[e]),{mounted:t}},d=(0,a.g)("click-outside","sc"),u=Object.freeze({overlay:`${d}__overlay`,open:`${d}--open`,close:`${d}--close`}),m=({onClose:e,onToucheMove:i,isOpen:s,delay:a=o})=>{let r=(0,n.useRef)(null),c=(0,n.useCallback)(()=>{e&&(r.current=setTimeout(()=>{e()},a))},[a,e]),d=(0,n.useCallback)(e=>{"Escape"===e.key&&c()},[c]);return(0,n.useEffect)(()=>(s&&window.addEventListener("keydown",d),()=>{r.current&&clearTimeout(r.current),window.removeEventListener("keydown",d)}),[s,d]),(0,t.jsx)("div",{className:(0,l.default)(u.overlay,{[u.open]:s,[u.close]:!s}),onTouchStart:i,onClick:c})},p=(0,a.g)("mobile-modal-footer","sc"),h=Object.freeze({footer:`${p}__footer`,footerWithoutShadow:`${p}__footer--without-shadow`}),v=({footer:e,isSmallPopup:n=!1,footerClassName:i})=>(0,t.jsx)("div",{className:(0,l.default)(h.footer,n&&h.footerWithoutShadow,i),children:"function"==typeof e?e():e}),f=(0,a.g)("mobile-popup","sc"),x=Object.freeze({mobilePopup:`${f}`,mobilePopupOpen:`${f}--open`,content:`${f}__content`,contentFull:`${f}__content--full`,contentTransition:`${f}__content--transition`,contentTransitionOpen:`${f}__content--transition-open`,contentLine:`${f}__content-line`,contentContainer:`${f}__content-container`,smallContentContainer:`${f}__content-container--small`,min:`${f}__content-container--min`,title:`${f}__title`,closeContainer:`${f}__close-container`,closeButton:`${f}__close-button`}),_=({children:e,footer:a,isOpen:r,isSmallPopup:o,onClose:c,hasCloseButton:d=!0,full:u,touchDistance:p=100,withDisabledScroll:h=!0,contentClassName:f,className:_,title:g,closeButton:j,footerClassName:b})=>{let[w,N]=(0,n.useState)(!1),[$,y]=(0,n.useState)(!1),[k,C]=(0,n.useState)(!0),[T,A]=(0,n.useState)("120%"),L=(0,n.useRef)(null),S=(0,n.useRef)(0),z=(0,n.useRef)(!1),O=e=>{var t,n,i;let l=null==(t=L.current)?void 0:t.offsetTop,s=null==(n=L.current)?void 0:n.offsetHeight;if(z.current=!0,C(!1),l&&s){let t=(null==(i=null==e?void 0:e.touches[0])?void 0:i.clientY)-l,n=0;t>=0&&t<=s+30&&(n=t),t>s+30&&(n=s+30),A(`${n}px`),S.current=n}},P=()=>{z.current&&(S.current>p&&c?null==c||c():A("0"),C(!0),z.current=!1),window.removeEventListener("touchmove",O),window.removeEventListener("touchend",P)};return(0,n.useEffect)(()=>{r&&setTimeout(()=>{N(!0),y(!0),A("0")},100),!r&&$&&(A("120%"),N(!1),y(!1))},[$,r]),(0,s.u)(r&&h),(0,t.jsxs)("div",{"data-portal":!0,className:(0,l.default)(x.mobilePopup,$&&x.mobilePopupOpen,_),children:[(0,t.jsx)(m,{onClose:()=>{r&&(null==c||c())},onToucheMove:()=>{r&&(N(!1),window.addEventListener("touchmove",O),window.addEventListener("touchend",P))},isOpen:r,delay:0}),(0,t.jsxs)("div",{className:(0,l.default)(x.content,u&&x.contentFull,k&&x.contentTransition,k&&w&&x.contentTransitionOpen),ref:L,style:{transform:`translateY(${T})`},children:[(0,t.jsx)("div",{className:x.contentLine}),(0,t.jsxs)("div",{className:(0,l.default)(x.contentContainer,o&&x.smallContentContainer,{[x.min]:!g&&!d},f),children:[!!g&&(0,t.jsx)("div",{className:x.title,children:g}),d?(0,t.jsx)("div",{className:x.closeContainer,children:d?j?"function"==typeof j?j():j:(0,t.jsx)("button",{onClick:c,className:x.closeButton,children:(0,t.jsx)(i.a,{size:24})}):null}):null,e]}),a&&(0,t.jsx)(v,{footerClassName:b,isSmallPopup:o,footer:a})]})]})},g=({children:e,isSmallPopup:n=!1,isOpen:i=!1,...l})=>{let{mounted:s}=c({opened:i});return s?(0,t.jsx)(_,{isSmallPopup:n,isOpen:i,...l,children:e}):null};g.displayName="UiMobilePopup";let j="data-portal-users",b=e=>Number(e.getAttribute(j)??0);e.s(["C",0,m,"P",0,({children:e,id:t="portal-root"})=>{let[i,l]=(0,n.useState)(null);return(0,n.useEffect)(()=>{let e=document.getElementById(t);if(e&&!e.hasAttribute(j))return void l(e);let n=e??document.body.appendChild(document.createElement("div"));return n.id=t,n.setAttribute(j,String(b(n)+1)),l(n),()=>{let e=b(n)-1;n.setAttribute(j,String(e)),e>0||n.remove()}},[t]),i?(0,r.createPortal)(e,i):null},"U",0,g,"u",0,c])},35206,e=>{"use strict";var t=e.i(43476),n=e.i(23123),i=e.i(71645),l=e.i(7670),s=e.i(40383),a=e.i(30382),r=e.i(22468);let o=(0,r.g)("drawer-footer","sc"),c=Object.freeze({footer:`${o}__footer`,hasScroll:`${o}__footer--has-scroll`}),d=({footer:e,hasScroll:n,className:i})=>(0,t.jsx)("div",{className:(0,l.default)(c.footer,{[c.hasScroll]:n},i),children:"function"==typeof e?e():e}),u=(0,r.g)("drawer-content","sc"),m=Object.freeze({container:`${u}__container`,open:`${u}--open`,close:`${u}--close`,header:`${u}__header`,rowHeader:`${u}__header--row`,title:`${u}__title`,center:`${u}__title--center`,left:`${u}__title--left`,right:`${u}__title--right`,controlContainer:`${u}__control-container`,content:`${u}__content`,footer:`${u}__footer`}),p=({onClose:e,onContentClick:n,children:s,title:r,rowTitle:o,titleAlign:c,isCloseable:u,footer:p,closeButton:h,isOpen:v,contentClassName:f,footerClassName:x,contentStyle:_,width:g})=>{let j=(0,i.useRef)(null),b=(0,i.useRef)(null),[w,N]=(0,i.useState)(!1);(0,i.useEffect)(()=>{var e;if(!b.current||!j.current)return;let t=(null==(e=null==b?void 0:b.current)?void 0:e.getBoundingClientRect().top)||0,n=null==j?void 0:j.current,i=()=>{let e=null==b?void 0:b.current;e&&N(()=>e.getBoundingClientRect().top!==t)};return n&&n.addEventListener("scroll",i,!1),()=>{null==n||n.removeEventListener("scroll",i,!1)}},[]);let $=_||g?{width:g,..._||{}}:void 0;return(0,t.jsxs)("div",{ref:j,style:$,className:(0,l.default)(m.container,{[m.open]:v,[m.close]:!v},f),children:[r||u?(0,t.jsxs)("div",{className:(0,l.default)(m.header,{[m.rowHeader]:o}),children:[u?h?"function"==typeof h?h():h:(0,t.jsx)("button",{type:"button",className:m.controlContainer,onClick:e,children:(0,t.jsx)(a.a,{size:24})}):null,r?(0,t.jsx)("h3",{className:(0,l.default)(m.title,{[m[c]]:!0}),children:r}):null]}):null,(0,t.jsx)("div",{ref:b,className:m.content,onClick:n,children:s}),p&&(0,t.jsx)(d,{className:(0,l.default)(m.footer,x),footer:p,hasScroll:w})]})},h=(0,r.g)("drawer-layout","sc"),v=Object.freeze({window:`${h}__window`}),f=({onClose:e,isOpen:a,children:r,withDisabledScroll:o,className:c,...d})=>{let u=(0,i.useCallback)(e=>e.stopPropagation(),[]);return(0,s.u)(a&&o),(0,t.jsxs)("div",{"data-portal":!0,className:(0,l.default)(v.window,c),children:[(0,t.jsx)(n.C,{onClose:e,isOpen:a,delay:0}),(0,t.jsx)(p,{onContentClick:u,onClose:e,isOpen:a,...d,children:r})]})},x=({isOpen:e=!1,children:i,titleAlign:l="center",isCloseable:s=!0,withDisabledScroll:a=!0,...r})=>{let{mounted:o}=(0,n.u)({opened:e});return o?(0,t.jsx)(f,{titleAlign:l,isCloseable:s,isOpen:e,withDisabledScroll:a,...r,children:i}):null};x.displayName="Drawer",e.s(["D",0,x])},71267,e=>{"use strict";let t;var n=e.i(43476),i=e.i(70703),l=e.i(60822),s=e.i(7670);e.i(8145);var a=e.i(13757),r=e.i(85900);e.i(46401);var o=e.i(34986),c=e.i(63687);let d=({minioUrl:e,iconName:t,alt:i})=>(0,n.jsx)("img",{width:24,height:24,src:(0,r.joinURL)(e,`/widgets/footer/${t}.svg`),alt:i,loading:"lazy"}),u=({onClick:e,eventCategory:t,eventActionType:i,eventActionText:l,eventLabel:s,chat:a,onKeyDown:r,...d})=>{let u=()=>{(0,c.h)({eventCategory:t,eventActionType:i||c.D.link,eventActionText:l||"",eventLabel:s})},m=()=>{var e,t,n;return null==(n=null==(t=null==(e=null==window?void 0:window.supportWidget)?void 0:e.craftTalk)?void 0:t.open)?void 0:n.call(t)};return(0,n.jsx)(o.Link,{onClick:t=>{null==e||e(t),a&&(null==t||t.preventDefault(),m()),u()},onKeyDown:e=>{null==r||r(e),!(!a||"Enter"!==e.key&&" "!==e.key)&&(e.preventDefault(),e.repeat||(m(),u()))},...d})};var m=e.i(22468);e.i(34348);var p=e.i(47611),h=e.i(93562),v=e.i(65019),f=e.i(71645),x=e.i(71121),_=e.i(35206),g=e.i(23123);let j=(0,m.g)("footer-contacts-block","sc"),b=Object.freeze({contactsWrapper:`${j}__contacts-wrapper`,gray:`${j}__gray`,phones:`${j}__phones`,contactsButtons:`${j}__contacts-buttons`,vkIcon:`${j}__vk-icon`,tgIcon:`${j}__tg-icon`,dzenIcon:`${j}__dzen-icon`,maxIcon:`${j}__max-icon`,link:`${j}__link`}),w=(0,m.g)("footer","sc"),N=Object.freeze({wrapper:`${w}__wrapper`,section:`${w}__section`,container:`${w}__container`,top:`${w}__top`,main:`${w}__main`,links:`${w}__links`,disclaimer:`${w}__disclaimer`,bottom:`${w}__bottom`,bottomLinks:`${w}__bottom-links`,bottomDisclaimer:`${w}__bottom-disclaimer`,compact:`${w}__wrapper--compact`,white:`${w}__wrapper--white`}),$="finkit-widgets-sc-footer",y=[{title:"8 (800) 505-32-32",url:"tel:88005053232"},{title:"8 (800) 700-64-94",url:"tel:88007006494"},{title:"+7 (495) 145-32-32",url:"tel:+74951453232"},{title:"+7 (495) 787-64-94",url:"tel:+74957876494"}],k=[...y,{title:"Онлайн чат",url:void 0}],C=[{type:"vk",label:"ВКонтакте",className:b.vkIcon,iconName:"vk"},{type:"telegramChannel",label:"Telegram",className:b.tgIcon,iconName:"telegram"},{type:"dzen",label:"Дзен",className:b.dzenIcon,iconName:"dzen"},{type:"max",label:"MAX",className:b.maxIcon,iconName:"max"}],T=(0,n.jsxs)("p",{children:["На сайте finuslugi.ru предоставляются услуги оператора финансовой платформы ПАО Московская Биржа, а также услуги ООО «МБ Маркетплейс», организации, не являющейся оператором финансовой платформы в соответствии с Федеральным законом от 20.07.2020 №211-ФЗ «О совершении финансовых сделок с использованием финансовой платформы». Услуги оператора финансовой платформы ПАО Московская Биржа обозначены пометкой «Открытие онлайн на Финуслугах». Иная информация на сайте www.finuslugi.ru считается размещенной ООО «МБ Маркетплейс», если иное явно не следует из существа размещаемой информации. ООО «МБ Маркетплейс» входит в Группу «Московская Биржа».",(0,n.jsx)("br",{}),(0,n.jsx)("br",{}),"Группа «Московская Биржа» - ПАО Московская Биржа и юридические лица, находящиеся под прямым или косвенным контролем ПАО Московская Биржа."]}),A=({onClick:e,eventActionText:t,eventLabel:i,...l})=>(0,n.jsx)(p.Button,{onClick:n=>{null==e||e(n),(0,c.h)({eventCategory:$,eventActionType:c.D.button,eventActionText:t||"",eventLabel:i})},...l}),L=e=>(0,n.jsx)(u,{eventCategory:$,...e}),S=({minioUrl:e,blogs:t})=>(0,n.jsxs)("div",{className:b.contactsWrapper,children:[(0,n.jsx)(a.Text,{className:b.gray,size:"16",weight:"regular",children:"Звоните или пишите"}),(0,n.jsx)("div",{className:b.phones,children:k.map(({title:e,url:t})=>(0,n.jsx)(L,{href:t,role:t?void 0:"button",eventActionText:e,chat:!t,children:e},e))}),(0,n.jsx)(a.Text,{className:b.gray,size:"16",weight:"regular",children:"Следите за нами в соцсетях"}),(0,n.jsx)("div",{className:b.contactsButtons,children:C.map(({type:i,label:l,className:s,iconName:a})=>(0,n.jsx)(A,{as:"a",href:null==t?void 0:t[i],target:"_blank","aria-label":l,className:s,iconRight:(0,n.jsx)(d,{minioUrl:e,iconName:a,alt:l}),shape:"circle-icon",variant:"white",eventActionText:i,eventLabel:null==t?void 0:t[i]},i))}),(0,n.jsx)(a.Text,{className:b.gray,size:"16",weight:"regular",children:"Канал для инвесторов"}),(0,n.jsx)("div",{className:b.contactsButtons,children:(0,n.jsxs)(L,{href:null==t?void 0:t.investTg,target:"_blank",className:b.link,eventActionText:"telegram",eventLabel:null==t?void 0:t.investTg,children:[(0,n.jsx)(A,{as:"span",tabIndex:-1,"aria-hidden":!0,className:b.tgIcon,iconRight:(0,n.jsx)(d,{minioUrl:e,iconName:"telegram",alt:""}),shape:"circle-icon",variant:"white",eventActionText:"telegram",eventLabel:null==t?void 0:t.investTg}),"Финуслуги Инвест"]})})]}),z=(0,m.g)("footer-disclaimer","sc"),O=Object.freeze({disclaimer:`${z}`}),P=e=>{let t=e=>{e.target instanceof HTMLAnchorElement&&(0,c.h)({eventCategory:$,eventActionType:c.D.link,eventActionText:e.target.textContent||"",eventLabel:e.target.href})};return e.disclaimer?(0,n.jsx)("div",{className:(0,s.default)(e.className,O.disclaimer),dangerouslySetInnerHTML:{__html:e.disclaimer||""},onClick:t}):(0,n.jsx)("div",{className:(0,s.default)(e.className,O.disclaimer),onClick:t,children:e.children})},U=(0,m.g)("footer-modal-body","sc"),R=Object.freeze({wrapper:`${U}__wrapper`,title:`${U}__title`,item:`${U}__item`,label:`${U}__label`,button:`${U}__button`,description:`${U}__description`}),D=({directions:e})=>(0,n.jsxs)("div",{className:R.wrapper,children:[(0,n.jsx)("div",{className:R.title,children:"Направления"}),e.map(e=>(0,n.jsxs)(L,{className:R.item,href:e.url,target:"_blank",eventActionText:e.name,eventLabel:`${e.name}_${e.url}`,children:[(0,n.jsxs)("div",{className:R.label,children:[(0,n.jsx)("span",{children:e.name}),(0,n.jsx)(A,{className:R.button,iconRight:(0,n.jsx)(h.K,{size:28}),shape:"circle-icon",eventActionText:"IconFdsArrowUpRightSmallO"})]}),(0,n.jsx)("p",{className:R.description,children:e.description})]},e.url))]}),E=(0,m.g)("footer-popup","sc"),B=Object.freeze({wrapper:`${E}__wrapper`,button:`${E}__button`,icon:`${E}__icon`,buttonWrapper:`${E}__button-wrapper`}),W=({directions:e})=>{let t=(0,x.useBreakpointUp)("l"),[i,l]=(0,f.useState)(!1),s=()=>{l(!1)};return(0,n.jsxs)("div",{className:B.wrapper,children:[(0,n.jsx)("div",{className:B.buttonWrapper,children:(0,n.jsx)(A,{className:B.button,appearance:"ghost",variant:"white",onClick:()=>{l(!0)},label:"Все направления",eventActionText:"Все направления",iconLeft:(0,n.jsx)("div",{className:B.icon,children:[1,2,3,4,5,6,7,8,9].map(e=>(0,n.jsx)("div",{},e))})})}),(0,n.jsxs)(g.P,{children:[!t&&(0,n.jsx)(g.U,{isOpen:i,onClose:s,full:!0,children:(0,n.jsx)(D,{directions:e})}),t&&(0,n.jsx)(_.D,{isOpen:i,onClose:s,width:"804px",children:(0,n.jsx)(D,{directions:e})})]})]})},I=(0,m.g)("footer-left-column","sc"),M=Object.freeze({leftColumn:`${I}__left-column`,logoWrapper:`${I}__logo-wrapper`,banner:`${I}__banner`,bannerButton:`${I}__banner-button`,mobAppLink:`${I}__mob-app-link`,br:`${I}__br`}),H=({showcaseUrl:e,minioUrl:t,directions:i,mobAppUrl:l})=>{let s=((e="")=>{let[t,n]=(0,f.useState)(e);return(0,f.useEffect)(()=>{let t,i,l=(t=new URL(window.location.href),i=new URLSearchParams,t.searchParams.forEach((e,t)=>{/^utm_/i.test(t)&&i.set(t,e)}),i);if(!l||0===l.size)return;let[s,a=""]=e.split("?"),r=new URLSearchParams(a);l.forEach((e,t)=>{r.has(t)||r.set(t,e)});let o=r.toString();n(o?`${s}?${o}`:s)},[e]),t})(l);return(0,n.jsxs)("div",{className:M.leftColumn,children:[(0,n.jsx)(L,{className:M.logoWrapper,href:e,eventActionType:c.D.icon,eventActionText:"finuslugi_logo",eventLabel:`finuslugi_logo_${e}`,children:(0,n.jsx)("img",{src:(0,r.joinURL)(t,"/widgets/footer/finuslugi_base_logo.svg"),alt:"finuslugi logo",loading:"lazy"})}),(0,n.jsx)(W,{directions:i??[]}),(0,n.jsx)(L,{href:s,target:"_blank",eventActionType:c.D.banner,eventActionText:"Управляйте финансами через приложение Финуслуг",eventLabel:s,className:M.mobAppLink,children:(0,n.jsxs)(v.Card,{className:M.banner,children:[(0,n.jsxs)(a.Text,{weight:"medium",children:["Управляйте финансами",(0,n.jsx)("br",{}),"через приложение",(0,n.jsx)("br",{className:M.br})," Финуслуг"]}),(0,n.jsx)(A,{as:"span",tabIndex:-1,"aria-hidden":!0,className:M.bannerButton,iconRight:(0,n.jsx)(h.K,{size:32}),shape:"circle-icon",variant:"white",eventActionText:"IconFdsArrowUpRightSmallO"}),(0,n.jsxs)("picture",{children:[(0,n.jsx)("source",{srcSet:(0,r.joinURL)(t,"/widgets/footer/apps_d.webp"),media:"(min-width: 1024px)"}),(0,n.jsx)("img",{src:(0,r.joinURL)(t,"/widgets/footer/apps_m.webp"),alt:"иллюстрация мобильного приложения",loading:"lazy"})]})]})})]})},K=(0,m.g)("footer-logo","sc"),G=Object.freeze({wrapper:`${K}__wrapper`,link:`${K}__link`,fromMoex:`${K}__from-moex`,logo:`${K}__logo`,white:`${K}__wrapper--white`}),F=({showcaseUrl:e,minioUrl:t,isWhite:i})=>(0,n.jsx)("div",{className:(0,s.default)(G.wrapper,{[G.white]:i}),children:(0,n.jsxs)(L,{className:G.link,href:e,eventActionType:c.D.icon,eventActionText:"finuslugi_logo",eventLabel:`finuslugi_logo_${e}`,children:[(0,n.jsx)("img",{className:G.logo,src:`${t}/images/logo-brandmark-common-finuslugi.svg`,loading:"lazy"}),(0,n.jsx)("img",{className:G.fromMoex,src:`${t}/images/fromMoex.svg`,loading:"lazy"})]})});var q=((t=q||{}).BLACK="black",t.GRAY="gray",t);let Y=(0,m.g)("footer-warning","sc"),X=Object.freeze({reservedSpace:`${Y}__reserved-space`,wrapper:`${Y}__wrapper`,wrapperGray:`${Y}__wrapper--gray`,fixed:`${Y}__wrapper--fixed`,container:`${Y}__container`,text:`${Y}__text`,invisibleText:`${Y}__text--invisible`}),J=({text:e,variant:t,fixed:i,isPlaceholder:a})=>(0,n.jsx)("div",{className:(0,s.default)(X.wrapper,{[X.wrapperGray]:"gray"===t,[X.fixed]:i&&!a}),children:(0,n.jsx)(l.Container,{className:X.container,children:(0,n.jsx)("div",{className:(0,s.default)(X.text,{[X.invisibleText]:a}),dangerouslySetInnerHTML:{__html:e}})})}),Q=({warning:e})=>{let t="string"==typeof e?{text:e}:e,i={text:t.text,fixed:t.fixed??!0,variant:t.variant??q.BLACK};return(0,n.jsxs)("div",{className:X.reservedSpace,children:[(0,n.jsx)(J,{...i,isPlaceholder:i.fixed}),i.fixed&&(0,n.jsx)(J,{...i,fixed:!0})]})},V=({data:e,showcaseUrl:t="https://finuslugi.ru",minioUrl:i="https://assets.finuslugi.ru/mp-assets",customDisclaimer:a,variant:r="default",className:o})=>{var c,d;let u=!a&&null!=e&&e.disclaimer?e.disclaimer:void 0,m=r.includes("compact"),p=r.includes("white"),h=null==(c=null==e?void 0:e.bottom)?void 0:c.concat(m?y:[]),v=e&&"warning"in e?e.warning:void 0;return e?(0,n.jsx)("footer",{className:(0,s.default)(N.wrapper,o,{[N.compact]:m,[N.white]:p}),children:(0,n.jsxs)("section",{className:N.section,children:[(0,n.jsxs)(l.Container,{className:N.container,children:[!m&&(0,n.jsx)(H,{showcaseUrl:t,minioUrl:i,directions:null==e?void 0:e.directions,mobAppUrl:null==e?void 0:e.mobAppUrl}),(0,n.jsx)("div",{className:N.wrapper,children:(0,n.jsxs)("div",{className:N.top,children:[(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{className:N.main,children:[!m&&(0,n.jsx)("div",{className:N.links,children:null==(d=null==e?void 0:e.top)?void 0:d.map(e=>(0,n.jsx)(L,{href:e.url,eventActionText:e.title,eventLabel:e.url,children:e.title},e.url))}),m&&(0,n.jsx)(F,{showcaseUrl:t,minioUrl:i,isWhite:p}),(0,n.jsx)(P,{className:N.disclaimer,disclaimer:u,children:a||T})]}),(0,n.jsxs)("div",{className:N.bottom,children:[(0,n.jsx)("div",{className:N.bottomLinks,children:null==h?void 0:h.map(e=>(0,n.jsx)(L,{href:e.url,eventActionText:e.title,eventLabel:e.url,children:e.title},e.url))}),(0,n.jsx)(P,{className:N.bottomDisclaimer,disclaimer:null==e?void 0:e.bottomDisclaimer})]})]}),!m&&(0,n.jsx)(S,{minioUrl:i,blogs:null==e?void 0:e.blogs})]})})]}),m&&!!v&&(0,n.jsx)(Q,{warning:v})]})}):null};var Z=e.i(89867);let ee=(0,m.g)("page-layout","sc"),et=Object.freeze({main:`${ee}__main`}),en=(0,i.default)(()=>e.A(56322).then(e=>e.CookiesPlate),{ssr:!1});e.s(["PageLayout",0,function({initialGeo:e,headerData:t,certificatesWarningProduct:i,footerData:l,showStartGeoPopup:s=!1,citySelectProviderProps:a,children:r}){let{region:o,town:c}=e??{},d=(null==a?void 0:a.showcaseUrl)??"";return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(Z.CitySelectProvider,{...a,showcaseUrl:d,showStartGeoPopup:s,initialRegion:o,initialTown:c,children:[t&&(0,n.jsx)(Z.Header,{...t,certificatesWarningProduct:i??t.certificatesWarningProduct}),(0,n.jsx)("main",{className:et.main,children:r}),l&&(0,n.jsx)(V,{...l})]}),(0,n.jsx)(en,{})]})}],71267)},50433,e=>{e.v(t=>Promise.all(["static/chunks/3gv87prfigwmb.js"].map(t=>e.l(t))).then(()=>t(14609)))},9466,e=>{e.v(t=>Promise.all(["static/chunks/0rrex9lk1r2ad.js"].map(t=>e.l(t))).then(()=>t(82214)))},14496,e=>{e.v(t=>Promise.all(["static/chunks/2knvcc9dzd4d4.js","static/chunks/1mehj7uy0gt15.js","static/chunks/1exm8kspp26yc.css","static/chunks/31tio39o0yv3h.css"].map(t=>e.l(t))).then(()=>t(46022)))},64532,e=>{e.v(t=>Promise.all(["static/chunks/43_tohdp6tsbm.js"].map(t=>e.l(t))).then(()=>t(4902)))},67474,e=>{e.v(t=>Promise.all(["static/chunks/3jbu2wptvr8ht.js","static/chunks/1mehj7uy0gt15.js","static/chunks/016h-bnwewpf0.css","static/chunks/0mhvu84syrcaf.css","static/chunks/18o7ywmzdrbbm.css"].map(t=>e.l(t))).then(()=>t(80603)))},59495,e=>{e.v(t=>Promise.all(["static/chunks/2v2k0whw3ut9v.js"].map(t=>e.l(t))).then(()=>t(77897)))},56322,e=>{e.v(t=>Promise.all(["static/chunks/2d4_1j3q-zriu.css","static/chunks/29--hqinhl96s.js"].map(t=>e.l(t))).then(()=>t(32200)))}]);