(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7598],{432:()=>{},3498:()=>{},5214:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorage",{enumerable:!0,get:function(){return i.workAsyncStorageInstance}});let i=n(17828)},6887:(e,t,n)=>{"use strict";n.d(t,{H:()=>ec,Y9:()=>eT,b:()=>V,p:()=>q,u:()=>en}),n(9056);var i=n(95155),l=n(12115),r=n(37206),o=n(66806);let a={display:"inline-block",lineHeight:0,backfaceVisibility:"hidden"},s={width:"1em",height:"1em",overflowClipMargin:"content-box",overflow:"hidden"},c=e=>l.createElement("svg",{width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("path",{d:"M19.03 10.28l-6.5 6.5a.75.75 0 01-1.06 0l-6.5-6.5a.75.75 0 111.06-1.06L12 15.19l5.97-5.97a.75.75 0 111.06 1.06z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}));function u({className:e,style:t,boxSize:n,size:i,onClick:r}){return l.createElement("span",{className:e,style:{...a,...r&&{cursor:"pointer"},...i&&{fontSize:`${i}px`},...n&&{width:`${n}px`,height:`${n}px`,display:"inline-flex",alignItems:"center",justifyContent:"center"},...t},...r?{role:"button",tabIndex:"0",onClick:r}:{}},l.createElement(c,{viewBox:"0 0 24 24",style:s}))}u.displayName="IconFdsChevronDownO";var d=n(16311);let p={display:"inline-block",lineHeight:0,backfaceVisibility:"hidden"},m={width:"1em",height:"1em",overflowClipMargin:"content-box",overflow:"hidden"},h=e=>l.createElement("svg",{width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("path",{d:"M6.999 7a5 5 0 1110 0 5 5 0 01-10 0zm5-3.5a3.5 3.5 0 100 7 3.5 3.5 0 000-7zM10.012 14h3.974c1.52 0 2.497 0 3.345.337a4.75 4.75 0 011.916 1.402c.579.705.875 1.636 1.335 3.085l.05.159.332 1.04a.75.75 0 11-1.43.455l-.33-1.04c-.53-1.664-.744-2.293-1.117-2.748a3.249 3.249 0 00-1.31-.959c-.547-.217-1.212-.23-2.958-.23h-3.64c-1.746 0-2.41.013-2.957.23a3.249 3.249 0 00-1.311.959c-.373.454-.587 1.084-1.116 2.748l-.331 1.04a.75.75 0 11-1.43-.455l.331-1.04.05-.159c.461-1.449.757-2.38 1.336-3.086a4.752 4.752 0 011.916-1.4C7.515 14 8.492 14 10.012 14z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}));function f({className:e,style:t,boxSize:n,size:i,onClick:r}){return l.createElement("span",{className:e,style:{...p,...r&&{cursor:"pointer"},...i&&{fontSize:`${i}px`},...n&&{width:`${n}px`,height:`${n}px`,display:"inline-flex",alignItems:"center",justifyContent:"center"},...t},...r?{role:"button",tabIndex:"0",onClick:r}:{}},l.createElement(h,{viewBox:"0 0 24 24",style:m}))}f.displayName="IconFdsUserO";var g=n(24691),v=n(66216),w=n(29722),b=n(17806),x=n(19766),_=n(20197),y=n(39670);let j=({web2app:e,href:t,onClick:n,children:l,...r})=>{let o=(0,y.u)({target:e,fallbackHref:t});return(0,i.jsx)("a",{...r,href:o.href,onClick:e=>{o.onClick(e),null==n||n(e)},children:l})};var k=n(7596),$=n(17966),C=n(46089),N=n(56053),O=n(55727),A=n(94344),S=n(17807),I=n(12989),T=n(57349),z=n(45676);let R={display:"inline-block",lineHeight:0,backfaceVisibility:"hidden"},E={width:"1em",height:"1em",overflowClipMargin:"content-box",overflow:"hidden"},L=e=>l.createElement("svg",{width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("defs",null,l.createElement("clipPath",{id:"fds-chat-dots-square-add-o_svg__a"},l.createElement("path",{fill:"#fff",fillOpacity:0,d:"M0 0h24v24.001H0z"}))),l.createElement("g",{clipPath:"url(#fds-chat-dots-square-add-o_svg__a)"},l.createElement("path",{d:"M18.25 5.75V8c0 .42.33.75.75.75s.75-.33.75-.75V5.75H22c.42 0 .75-.33.75-.75s-.33-.75-.75-.75h-2.25V2c0-.42-.33-.75-.75-.75s-.75.33-.75.75v2.25H16c-.42 0-.75.33-.75.75s.33.75.75.75h2.25zm-4.546-2.23c-.259-.014-.827-.02-1.704-.02-.676 0-1.129.002-1.358.007a7.963 7.963 0 00-.779.047 7.246 7.246 0 00-2.328.689 7.204 7.204 0 00-4.028 6.4c-.005.228-.007.68-.007 1.357 0 .671.002 1.121.007 1.349.007.324.023.584.047.778.057.474.158.933.303 1.378v.001a7.17 7.17 0 001.76 2.867 7.169 7.169 0 002.92 1.777 7.436 7.436 0 002.108.341c.228.006.68.009 1.355.009.67 0 1.12-.003 1.346-.009a7.12 7.12 0 00.794-.057c.476-.05.96-.162 1.455-.333a.71.71 0 01.685.102c.662.48 1.32.829 1.976 1.047a4.85 4.85 0 001.482.264c.142.002.278-.004.41-.016a10.758 10.758 0 01-.222-.535c-.45-1.164-.676-2.305-.676-3.423a.74.74 0 01.116-.401 7.211 7.211 0 001.08-3.01c.024-.196.04-.456.047-.78.005-.228.007-.678.007-1.349 0-.214.002-.488.006-.822.003-.22.004-.376.004-.468 0-.42.33-.75.75-.75s.75.33.75.75c0 .098-.001.26-.004.486A70.38 70.38 0 0022 12c0 .682-.003 1.142-.008 1.381a9.337 9.337 0 01-.058.93 8.752 8.752 0 01-.393 1.737 8.757 8.757 0 01-.788 1.7c.026.866.217 1.757.571 2.674a8.847 8.847 0 00.6 1.249c.11.224.136.42.078.587-.057.168-.198.306-.423.416-.139.068-.32.13-.543.189a5 5 0 01-1.316.15 6.336 6.336 0 01-1.94-.34 8.598 8.598 0 01-2.064-1.035c-.471.14-.939.236-1.402.286a8.23 8.23 0 01-.93.067c-.24.006-.701.009-1.384.009-.688 0-1.152-.003-1.392-.009a8.222 8.222 0 01-.937-.067 8.672 8.672 0 01-3.989-1.538 8.707 8.707 0 01-2.077-2.078 8.705 8.705 0 01-1.597-4.927A78.972 78.972 0 012 12c0-.687.003-1.15.008-1.39.008-.376.027-.686.057-.93a8.737 8.737 0 01.832-2.806 8.69 8.69 0 013.977-3.977 8.7 8.7 0 012.803-.831c.246-.03.557-.05.933-.058C10.85 2.003 11.313 2 12 2c.902 0 1.495.007 1.779.021.42.021.732.367.712.787a.743.743 0 01-.787.711zm-5.91 9.19a1 1 0 111.412-1.414 1 1 0 01-1.413 1.415zm3.497-1.412a1 1 0 101.418 1.41 1 1 0 00-1.418-1.41zm3.502 1.413a1 1 0 111.414-1.415 1 1 0 01-1.414 1.415z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"})));function P({className:e,style:t,boxSize:n,size:i,onClick:r}){return l.createElement("span",{className:e,style:{...R,...r&&{cursor:"pointer"},...i&&{fontSize:`${i}px`},...n&&{width:`${n}px`,height:`${n}px`,display:"inline-flex",alignItems:"center",justifyContent:"center"},...t},...r?{role:"button",tabIndex:"0",onClick:r}:{}},l.createElement(L,{viewBox:"0 0 24 24",style:E}))}P.displayName="IconFdsChatDotsSquareAddO";let B={display:"inline-block",lineHeight:0,backfaceVisibility:"hidden"},M={width:"1em",height:"1em",overflowClipMargin:"content-box",overflow:"hidden"},W=e=>l.createElement("svg",{width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("defs",null,l.createElement("clipPath",{id:"fds-menu-skewed-o_svg__a"},l.createElement("path",{fill:"#fff",fillOpacity:0,d:"M0 0h24v24.001H0z"}))),l.createElement("g",{clipPath:"url(#fds-menu-skewed-o_svg__a)"},l.createElement("path",{d:"M7.75 5a.75.75 0 100 1.5h13.5a.75.75 0 100-1.5H7.75zM22 12a.75.75 0 00-.75-.75H2.75a.75.75 0 100 1.5h18.5A.75.75 0 0022 12zm-5.75 5.5a.75.75 0 110 1.5H2.75a.75.75 0 110-1.5h13.5z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"})));function U({className:e,style:t,boxSize:n,size:i,onClick:r}){return l.createElement("span",{className:e,style:{...B,...r&&{cursor:"pointer"},...i&&{fontSize:`${i}px`},...n&&{width:`${n}px`,height:`${n}px`,display:"inline-flex",alignItems:"center",justifyContent:"center"},...t},...r?{role:"button",tabIndex:"0",onClick:r}:{}},l.createElement(W,{viewBox:"0 0 24 24",style:M}))}U.displayName="IconFdsMenuSkewedO";let F=()=>{let e=(0,l.useRef)(null),t=(0,l.useCallback)(()=>{e.current&&(clearTimeout(e.current),e.current=null)},[]),n=(0,l.useCallback)((t,n)=>{e.current&&clearTimeout(e.current),e.current=setTimeout(()=>{e.current=null,t()},n)},[]);return(0,l.useEffect)(()=>t,[t]),{start:n,clear:t,pending:!!e.current}},D=(0,k.g)("certificates-warning-banner","sc"),H=(0,k.g)("certificates-warning-popup","sc"),V=Object.freeze({wrapper:`${D}`,container:`${D}__container`,content:`${D}__content`,info:`${D}__info`,image:`${D}__image`,text:`${D}__text`,title:`${D}__title`,description:`${D}__description`,details:`${D}__details`,buttons:`${D}__buttons`,button:`${D}__button`,closeButton:`${D}__close-button`,mobileActivator:`${D}__mobile-activator`}),q=Object.freeze({modal:`${H}__modal`,desktopCloseButton:`${H}__desktop-close-button`,mobilePopup:`${H}__mobile-popup`,mobileContentContainer:`${H}__mobile-content-container`,mobileCloseButton:`${H}__mobile-close-button`,mobileDialog:`${H}__mobile-dialog`,content:`${H}__content`,image:`${H}__image`,text:`${H}__text`,title:`${H}__title`,description:`${H}__description`,actions:`${H}__actions`,primaryActions:`${H}__primary-actions`,divider:`${H}__divider`,explanation:`${H}__explanation`,button:`${H}__button`,gosuslugiButton:`${H}__gosuslugi-button`,gosuslugiIcon:`${H}__gosuslugi-icon`}),G="fu_certificates_access_confirmed",J="fu_certificates_banner_dismissed",Y="fu_external_link_warning_shown",K=new Map,Z=e=>{if(typeof window>"u")return"1"===K.get(e);try{return"1"===window.localStorage.getItem(e)||"1"===K.get(e)}catch{return"1"===K.get(e)}},X=e=>{if(K.set(e,"1"),!(typeof window>"u"))try{window.localStorage.setItem(e,"1")}catch{}},Q=(e,t)=>{if(!e)return null;try{let n,i,l=new URL(e.toString(),t.href);return"http:"!==l.protocol&&"https:"!==l.protocol||(n=l.hostname,i=t.hostname,n===i||"finuslugi.ru"===n||n.endsWith(".finuslugi.ru"))?null:l}catch{return null}},ee={"uat-mp.beta.moex.com":"//chat-marketplace.beta.moex.com","finuslugi.ru":"//chat.finuslugi.ru","dev-rc.beta.moex.com":"//dev-opbot.tech.finuslugi.ru"},et=(0,l.createContext)({isAuth:!1,isHeaderHidden:!1,isHeaderTransparent:!1,openedBlock:null,setOpenedBlock:()=>null,openedSection:null,setOpenedSection:()=>null,isNavigationOpen:!1,isNavigationMounted:!1,navMenuItemsRef:{current:null},navigationRef:{current:null},ignoreClicks:!1,setIgnoreClicks:()=>null,isChatModalOpen:!1,setIsChatModalOpen:()=>null,isChatLoading:!1,fixedContainerRef:{current:null},headerRef:{current:null}});function en(){return(0,l.useContext)(et)}let ei=e=>{let[t,n]=(0,l.useState)(!1),[r,o]=(0,l.useState)(!1),[a,s]=(0,l.useState)(!!e.isMainBannerPage),{isChatModalOpen:c,setIsChatModalOpen:u,isChatLoading:d}=(()=>{let[e,t]=(0,l.useState)(!1),[n,i]=(0,l.useState)(!1),r=(0,l.useRef)(!1),o=e=>{r.current=e,i(e)};return(0,l.useEffect)(()=>{if(typeof window>"u")return;let e=(()=>{let{hostname:e}=window.location;return Object.prototype.hasOwnProperty.call(ee,e)?ee[e]:ee["finuslugi.ru"]})(),n="webchat_main";window.supportWidget={craftTalk:{isOpened:!1,setConfig:t=>{if(t.host&&(e=t.host),t.channel&&(n=t.channel),t.user){let e="function"==typeof t.user?t.user:()=>({...t.user});window.__WebchatUserCallback=e}},open:()=>new Promise(e=>{e()}),close:()=>null,toggle:()=>null}};let i=null;window.supportWidget&&window.supportWidget.craftTalk&&(window.supportWidget.craftTalk.open=()=>new Promise((l,a)=>{var s,c;let u,d;r.current?a(Error("chat is already opened")):i?(i.openWidget(),t(!1),l()):(o(!0),window.getWebChatCraftTalkExternalControl=e=>{var n;i=e;let r=document.querySelector(".webchat");r&&new MutationObserver(e=>{e.forEach(e=>{if("style"===e.attributeName){let e=document.querySelector(".webchat"),t=!!e&&"none"!==e.style.display;window.supportWidget&&window.supportWidget.craftTalk&&(window.supportWidget.craftTalk.isOpened=t)}})}).observe(r,{attributes:!0,attributeFilter:["style"]}),null!=(n=window.supportWidget)&&n.craftTalk&&(window.supportWidget.craftTalk.close=i.closeWidget),null==i||i.openWidget(),o(!1),t(!1),l()},s=e,c=n,(u=document.createElement("link")).rel="stylesheet",u.type="text/css",u.href=`${s}/assets/css/${c}`,document.head.appendChild(u),(d=document.createElement("script")).src=`${s}/get-bootstrap/${c}`,d.defer=!0,document.body.appendChild(d))}),window.supportWidget.craftTalk.toggle=()=>{var e,t,n,i;null!=(t=null==(e=window.supportWidget)?void 0:e.craftTalk)&&t.isOpened?window.supportWidget.craftTalk.close():null==(i=null==(n=window.supportWidget)?void 0:n.craftTalk)||i.open()})},[]),{isChatModalOpen:e,setIsChatModalOpen:t,isChatLoading:n}})(),[p,m]=(0,l.useState)(null),[h,f]=(0,l.useState)(null),[g,v]=(0,l.useState)(!1),[w,b]=(0,l.useState)(!1),[x,_]=(0,l.useState)(!1),y=(0,l.useRef)(null),j=(0,$.u)(g),k=(0,l.useRef)(null),N=(0,l.useRef)(null),O=(0,l.useRef)(null),A=(0,l.useRef)(null),S=(0,l.useCallback)(()=>{j.current&&j.current.scrollTo({top:0})},[j]),I=(0,l.useCallback)(e=>{f(e),S()},[S]),T=(0,l.useCallback)(e=>{k.current&&clearTimeout(k.current),e&&b(!0),e||(k.current=setTimeout(()=>{b(!1),I(null)},300))},[I]),z=(0,l.useCallback)((e,t,n)=>{if(t&&I(t),!n&&e===p||!e){T(!g),v(!g);return}m(e),T(!0),v(!0)},[p,I,g,T]),R=(0,l.useCallback)(()=>{N.current&&clearTimeout(N.current),_(!0),N.current=setTimeout(()=>{_(!1)},650)},[]);return(0,l.useEffect)(()=>{n(!!document.cookie.includes("auth.gtm_customer_id"));let t=(0,C.s)(o,s,e.isMainBannerPage);return(0,C.i)(),t},[]),(0,i.jsx)("header",{children:(0,i.jsx)(et.Provider,{value:{isAuth:t,isHeaderHidden:r,isHeaderTransparent:a,openedBlock:p,setOpenedBlock:z,openedSection:h,setOpenedSection:I,isNavigationOpen:g,isNavigationMounted:w,navMenuItemsRef:y,navigationRef:j,ignoreClicks:x,setIgnoreClicks:R,isChatModalOpen:c,setIsChatModalOpen:u,isChatLoading:d,fixedContainerRef:O,headerRef:A},children:e.children})})},el=(0,k.g)("city-select","sc"),er=Object.freeze({button:`${el}__button`,minimal:`${el}__minimal`,full:`${el}__full`}),eo=(0,r.default)(()=>Promise.all([n.e(2773),n.e(8044),n.e(3552),n.e(2545),n.e(66),n.e(3044)]).then(n.bind(n,23044)).then(e=>e.CitySelectModal),{loadableGenerated:{webpack:()=>[require.resolveWeak("../chunks/CitySelectModal-C7idy7Zb.mjs")]},ssr:!1}),ea=(0,r.default)(()=>n.e(7357).then(n.bind(n,37357)).then(e=>e.StartChoicePopup),{loadableGenerated:{webpack:()=>[require.resolveWeak("../chunks/StartChoicePopup-DypxD-me.mjs")]},ssr:!1}),es=({initialTown:e})=>{var t;let n=(0,x.u)(),r=(null==(t=n.town)?void 0:t.name)||e||"Вся Россия",{setIsChatModalOpen:o,isChatModalOpen:a}=en(),{startPopupVisible:s,setStartPopupVisible:c,popupVisible:u}=n,d=(0,x.a)(u),p=(0,x.a)(s),m=(0,l.useRef)(void 0);(0,l.useEffect)(()=>{u&&(m.current="popup")},[u]),(0,l.useEffect)(()=>{a&&(m.current="chat")},[a]),(0,l.useEffect)(()=>{s&&(m.current="startPopup")},[s]),(0,l.useEffect)(()=>{m.current&&("chat"===m.current&&s?c(!1):["startPopup","popup"].includes(m.current)&&a&&o(!1))},[u,a,s,c,o]);let h={appearance:"ghost",size:"xs",onClick:()=>n.handleButtonClick(!1),iconLeft:(0,i.jsx)(x.Y,{size:24})};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(g.$,{...h,className:(0,w.A)(er.button,er.full),label:r}),(0,i.jsx)(g.$,{...h,className:(0,w.A)(er.button,er.minimal),shape:"icon"}),d&&(0,i.jsx)(eo,{}),p&&(0,i.jsx)(ea,{})]})},ec=({label:e,onClick:t,eventActionText:n,eventLabel:l,...r})=>(0,i.jsx)(g.$,{label:e,onClick:e=>{null==t||t(e),(0,_.h)({eventCategory:N.H,eventActionType:_.D.button,eventActionText:n||"",eventLabel:l||""})},...r}),eu=({onClick:e,eventActionType:t,eventActionText:n,eventLabel:l,...r})=>(0,i.jsx)(O.N,{onClick:i=>{null==e||e(i),(0,_.h)({eventCategory:N.H,eventActionType:t||_.D.link,eventActionText:n||"",eventLabel:l||""})},...r}),ed={display:"inline-block",lineHeight:0,backfaceVisibility:"hidden"},ep={width:"1em",height:"1em",overflowClipMargin:"content-box",overflow:"hidden"},em=e=>l.createElement("svg",{width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("path",{d:"M7.22 12.53a.75.75 0 010-1.06l6.5-6.5a.75.75 0 111.06 1.06L8.81 12l5.97 5.97a.75.75 0 11-1.06 1.06l-6.5-6.5z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}));function eh({className:e,style:t,boxSize:n,size:i,onClick:r}){return l.createElement("span",{className:e,style:{...ed,...r&&{cursor:"pointer"},...i&&{fontSize:`${i}px`},...n&&{width:`${n}px`,height:`${n}px`,display:"inline-flex",alignItems:"center",justifyContent:"center"},...t},...r?{role:"button",tabIndex:"0",onClick:r}:{}},l.createElement(em,{viewBox:"0 0 24 24",style:ep}))}eh.displayName="IconFdsChevronLeftO";let ef=(0,k.g)("header-chat-modal-body","sc"),eg=Object.freeze({wrapper:`${ef}__wrapper`,cardButton:`${ef}__card-button`,card:`${ef}__card`,cardTitle:`${ef}__card-title`,cardSubtitle:`${ef}__card-subtitle`,button:`${ef}__button`}),ev=()=>{let e=en();return(0,i.jsxs)("div",{className:eg.wrapper,children:[(0,i.jsx)(ec,{className:eg.cardButton,variant:"secondary",pending:e.isChatLoading,onClick:()=>{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)},eventActionText:"Напишите в чат",children:(0,i.jsxs)(I.Z,{className:eg.card,variant:"secondary",children:[(0,i.jsxs)("div",{className:eg.cardTitle,children:[(0,i.jsx)("img",{src:"https://finuslugi.ru/icons/chaticons/new/chat_icon_hover.svg",alt:"chat",width:24,height:24,loading:"lazy"}),"Напишите в чат"]}),(0,i.jsxs)("p",{className:eg.cardSubtitle,children:["Виртуальный ассистент доступен\xa024/7, ",(0,i.jsx)("br",{}),"операторы\xa0—\xa0с\xa06:00 до\xa023:59\xa0мск"]})]})}),!1]})},ew=({data:e,isMobile:t})=>{let n=en();return(0,i.jsx)("div",{className:z.s.contentWrapper,children:e.map(e=>(0,i.jsx)(l.Fragment,{children:e.sections.map(e=>{var l;return(0,i.jsxs)("div",{className:(0,w.A)(z.s.content,{[z.s.hidden]:n.openedSection!==e.id,[z.s.contentOpen]:!!n.openedSection}),children:[(0,i.jsx)("div",{className:z.s.contentHeader,children:(0,i.jsx)("label",{children:e.title})}),null==(l=e.content)?void 0:l.map((n,l)=>{var r,o;return(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{children:(0,i.jsx)("a",{className:(0,w.A)(z.s.contentTitle,{[z.s.removed]:!n.title,[z.s.contentTitleUrl]:!!n.url,[z.s.contentTitleLink]:!!e.isSeeAllLinkAvailable,[z.s.contentTitleNew]:!!n.new}),href:e.isSeeAllLinkAvailable?n.url:void 0,children:(0,i.jsxs)("span",{children:[e.isSeeAllLinkAvailable&&(0,i.jsx)("div",{className:z.s.arrowIcon,children:(0,i.jsx)(T.K,{})}),n.title]})})}),!(null!=(r=n.links)&&r.length)&&(0,i.jsx)(z.N,{items:n.chips||[],maxNumberOfLines:e.content.length<=1?99:t?3:2}),!!(null!=(o=n.links)&&o.length)&&(0,i.jsx)("div",{className:(0,w.A)(z.s.links,{[z.s.linksColumns]:!!n.columns,[z.s.linksTitleless]:!n.title}),children:n.links.map((e,t)=>(0,i.jsxs)(j,{href:e.url,web2app:e.web2app?y.a:void 0,onClick:()=>(0,C.h)(_.D.link,e.title,`${e.title}_${e.url}`),children:[(0,i.jsx)("div",{className:z.s.arrowIcon,children:(0,i.jsx)(T.K,{})}),(0,i.jsxs)("span",{children:[(0,i.jsx)("span",{children:e.title}),!!e.new&&(0,i.jsx)("span",{className:(0,w.A)({[z.s.newInline]:!!e.new})})]})]},`${e.url}_${t}`))})]},`${n.url}_${l}`)})]},e.id)})},e.id))})},eb=(0,k.g)("navigation-section-icon","sc"),ex=Object.freeze({icon:`${eb}`}),e_=()=>n.e(129).then(n.bind(n,129)),ey={IconFdsAcademicCapO:()=>e_().then(({navigationSectionIcons:e})=>e.IconFdsAcademicCapO),IconFdsBankO:()=>e_().then(({navigationSectionIcons:e})=>e.IconFdsBankO),IconFdsBookOpenO:()=>e_().then(({navigationSectionIcons:e})=>e.IconFdsBookOpenO),IconFdsCalculatorO:()=>e_().then(({navigationSectionIcons:e})=>e.IconFdsCalculatorO),IconFdsCardO:()=>e_().then(({navigationSectionIcons:e})=>e.IconFdsCardO),IconFdsChatDotsCircleO:()=>e_().then(({navigationSectionIcons:e})=>e.IconFdsChatDotsCircleO),IconFdsCoinMultipleO:()=>e_().then(({navigationSectionIcons:e})=>e.IconFdsCoinMultipleO),IconFdsDotsHorizontalO:()=>e_().then(({navigationSectionIcons:e})=>e.IconFdsDotsHorizontalO),IconFdsFlashO:()=>e_().then(({navigationSectionIcons:e})=>e.IconFdsFlashO),IconFdsGraphO:()=>e_().then(({navigationSectionIcons:e})=>e.IconFdsGraphO),IconFdsLayoutHorizontalO:()=>e_().then(({navigationSectionIcons:e})=>e.IconFdsLayoutHorizontalO),IconFdsPortfolioO:()=>e_().then(({navigationSectionIcons:e})=>e.IconFdsPortfolioO),IconFdsRubleCircleO:()=>e_().then(({navigationSectionIcons:e})=>e.IconFdsRubleCircleO),IconFdsSafeO:()=>e_().then(({navigationSectionIcons:e})=>e.IconFdsSafeO),IconFdsShieldCheckO:()=>e_().then(({navigationSectionIcons:e})=>e.IconFdsShieldCheckO),IconFdsWalletO:()=>e_().then(({navigationSectionIcons:e})=>e.IconFdsWalletO)},ej=e=>Object.prototype.hasOwnProperty.call(ey,e),ek=({name:e,background:t})=>{let[n,r]=(0,l.useState)(null);if((0,l.useEffect)(()=>{if(!e||!ej(e))return void r(null);let t=!0;return ey[e]().then(n=>{t&&r({name:e,component:n})}).catch(()=>{t&&r(null)}),()=>{t=!1}},[e]),!e||!ej(e))return null;let o=(null==n?void 0:n.name)===e?n.component:null;return(0,i.jsx)("div",{className:ex.icon,style:{background:t},children:o&&(0,i.jsx)(o,{})})},e$=(0,k.g)("navigation","sc"),eC=Object.freeze({navigation:`${e$}`,navigationOpening:`${e$}--opening`,navigationClosing:`${e$}--closing`,wrapper:`${e$}__wrapper`,container:`${e$}__container`,containerOpen:`${e$}__container--open`,sections:`${e$}__sections`,sectionsOpen:`${e$}__sections--open`,citySelectButton:`${e$}__city-select-button`,sectionsTitle:`${e$}__sections-title`,sectionsWrapper:`${e$}__sections-wrapper`,section:`${e$}__section`,sectionArrow:`${e$}__section-arrow`,sectionExtra:`${e$}__section--extra`,sectionActive:`${e$}__section--active`,sectionTitle:`${e$}__section-title`,chatWrapper:`${e$}__chat-wrapper`,chatHeader:`${e$}__chat-header`,backButton:`${e$}__back-button`,useful:`${e$}__useful`,usefulOpen:`${e$}__useful--open`,usefulTitle:`${e$}__useful-title`,usefulGrid:`${e$}__useful-grid`,removed:`${e$}__removed`}),eN=({data:e})=>{var t;let n=en(),r=(0,x.u)(),o=(0,S.nu)("m"),[a,s]=(0,l.useState)(!0);(0,l.useEffect)(()=>{s(o)},[o]);let c=(0,l.useRef)(null),u=(0,l.useCallback)(()=>{c.current&&clearTimeout(c.current),c.current=setTimeout(()=>n.openedSection?n.setOpenedSection(null):n.isNavigationOpen?n.setOpenedBlock(null):void 0,50)},[n]),d=(0,l.useRef)(!1),p=(0,l.useRef)(null),m=(0,l.useCallback)(()=>{a&&(d.current=!0,p.current=window.onpopstate||null,window.onpopstate=function(){window.history.forward(),u()},window.history.pushState(null,"",window.location.href))},[u,a]),h=(0,l.useCallback)(()=>{d.current=!1,window.onpopstate=p.current,window.history.go(-1)},[]),f=(0,l.useRef)(null),b=(0,l.useCallback)(e=>{if(a||!n.navMenuItemsRef.current||!n.navigationRef.current)return;let t=e.target,i=!n.navMenuItemsRef.current.contains(t)&&!n.navigationRef.current.contains(t);if(i&&!f.current){n.setIgnoreClicks(),f.current=setTimeout(()=>n.setOpenedBlock(null),300);return}!i&&f.current&&(clearTimeout(f.current),f.current=null)},[a,n]),y=(0,l.useRef)(null),j=(0,l.useCallback)(e=>{typeof window>"u"||(e?(y.current=b,window.addEventListener("mousemove",y.current)):y.current&&window.removeEventListener("mousemove",y.current))},[b]);(0,l.useEffect)(()=>{j(n.isNavigationOpen),n.isNavigationOpen&&!d.current&&m(),!n.isNavigationOpen&&d.current&&h()},[n.isNavigationOpen]);let k=(e,t)=>()=>{(0,C.h)(_.D.button,t),n.setOpenedSection(e)},{start:$,clear:O}=F(),I=()=>{a||O()};return(0,i.jsx)("div",{ref:n.navigationRef,className:(0,w.A)(eC.navigation,{[eC.removed]:!n.isNavigationMounted,[eC.navigationOpening]:n.isNavigationOpen,[eC.navigationClosing]:!n.isNavigationOpen}),children:(0,i.jsx)("div",{className:eC.wrapper,children:(0,i.jsxs)(v.m,{className:(0,w.A)(eC.container,{[eC.containerOpen]:!!n.openedSection}),children:[(0,i.jsxs)("div",{className:(0,w.A)(eC.sections,{[eC.sectionsOpen]:!!n.openedSection}),children:[(0,i.jsx)(g.$,{className:eC.citySelectButton,variant:"violet",appearance:"ghost",size:"xs",onClick:()=>r.handleButtonClick(!1),iconLeft:(0,i.jsx)(x.Y,{size:24}),label:(null==(t=r.town)?void 0:t.name)||"Вся Россия"}),e.map(e=>(0,i.jsxs)("ul",{className:(0,w.A)(eC.sectionsWrapper,{[eC.removed]:n.openedBlock!==e.id&&!a}),children:[(0,i.jsx)("div",{className:eC.sectionsTitle,children:N.a[e.id]}),e.sections.map(e=>{let t,l;return(0,i.jsxs)("li",{className:(0,w.A)(eC.section,{[eC.sectionExtra]:!!e.extra,[eC.sectionActive]:n.openedSection===e.id}),onClick:k(e.id,e.title),onMouseEnter:(t=e.id,l=e.title,()=>{a||$(k(t,l),150)}),onMouseLeave:I,children:[n.isNavigationMounted&&(0,i.jsx)(ek,{name:e.uikitIcon,background:e.uikitIconBg}),(0,i.jsx)("span",{className:eC.sectionTitle,children:e.title}),(0,i.jsx)("div",{className:eC.sectionArrow,children:(0,i.jsx)(A._,{size:24})})]},e.id)})]},e.id)),(0,i.jsxs)("div",{className:eC.chatWrapper,children:[(0,i.jsx)("div",{className:eC.chatHeader,children:"Нужна помощь?"}),(0,i.jsx)(ev,{})]})]}),(0,i.jsxs)("button",{type:"button",className:(0,w.A)(eC.backButton,{[eC.removed]:!n.openedSection}),onClick:()=>{(0,C.h)(_.D.button,"Назад"),n.setOpenedSection(null)},children:[(0,i.jsx)(eh,{size:24}),(0,i.jsx)("span",{children:"Назад"})]}),(0,i.jsx)(ew,{data:e,isMobile:a}),(0,i.jsxs)("div",{className:(0,w.A)(eC.useful,{[eC.usefulOpen]:!!n.openedSection}),children:[(0,i.jsx)("div",{className:eC.usefulTitle,children:"Полезное на Финуслугах"}),e.map(e=>(0,i.jsx)(l.Fragment,{children:e.sections.map(e=>{var t;return(0,i.jsx)("div",{className:(0,w.A)(eC.usefulGrid,{[eC.removed]:n.openedSection!==e.id}),children:null==(t=e.useful)?void 0:t.map((e,t)=>(0,i.jsxs)("a",{href:e.url,onClick:()=>(0,C.h)(_.D.link,e.title,`${e.title}_${e.url}`),children:[(0,i.jsx)("div",{children:(0,i.jsx)("img",{src:e.icon,srcSet:e.icon2?`${e.icon}, ${e.icon2} 2x`:void 0,alt:e.title,loading:"lazy"})}),(0,i.jsx)("span",{dangerouslySetInnerHTML:{__html:e.title}})]},`${e.title}_${t}`))},e.id)})},e.id))]})]})})})},eO=(0,r.default)(()=>n.e(4262).then(n.bind(n,14262)).then(e=>e.CertificatesWarningBanner),{loadableGenerated:{webpack:()=>[require.resolveWeak("../chunks/CertificatesWarningBanner-BRL_tBdi.mjs")]},ssr:!1}),eA=(0,r.default)(()=>Promise.all([n.e(9164),n.e(9680),n.e(2545),n.e(66),n.e(4898)]).then(n.bind(n,14898)).then(e=>e.CertificatesWarningPopup),{loadableGenerated:{webpack:()=>[require.resolveWeak("../chunks/CertificatesWarningPopup-D7E2JzzU.mjs")]},ssr:!1}),eS=(0,r.default)(()=>n.e(7068).then(n.bind(n,97068)).then(e=>e.HeaderMobileAppBanner),{loadableGenerated:{webpack:()=>[require.resolveWeak("../chunks/HeaderMobileAppBanner-C6MgJm_-.mjs")]},ssr:!1}),eI=({data:e,showcaseUrl:t="https://finuslugi.ru",minioUrl:n="https://assets.finuslugi.ru/mp-assets",lkUrl:r="https://lk.finuslugi.ru/registration",initialTown:a,isMainBannerPage:s,enableAppHeaderBanner:c=!1,enableCertificatesBanner:p=!1,enableExternalLinkWarning:m=!1,certificatesWarningProduct:h,news:j,className:k})=>{var $;let O=en(),A=(0,l.useMemo)(()=>((e,t,n)=>{var i,l,r,o,a,s,c;let u=(null==(l=null==(i=null==e?void 0:e.NAVIGATOR)?void 0:i.findIndex)?void 0:l.call(i,({id:e})=>"news"===e))??-1,d=(null==(o=null==(r=null==e?void 0:e.NAVIGATOR)?void 0:r[u])?void 0:o.content)||[];if(null!=(c=null==(s=null==(a=null==e?void 0:e.NAVIGATOR)?void 0:a[u])?void 0:s.content)&&c[0]&&Array.isArray(n)&&d.length){let i=n.map(({title:e,url:n})=>({title:e,url:(0,b.oq)(t||"",n),new:0}));e.NAVIGATOR[u].content[0].links=i}return[{id:"FINPRODUCTS",sections:Array.isArray(null==e?void 0:e.FINPRODUCTS)?null==e?void 0:e.FINPRODUCTS:[]},{id:"NAVIGATOR",sections:Array.isArray(null==e?void 0:e.NAVIGATOR)?null==e?void 0:e.NAVIGATOR:[]},{id:"ABOUT",sections:Array.isArray(null==e?void 0:e.ABOUT)?null==e?void 0:e.ABOUT:[]}]})(e,t,j),[e,t,j]),S=null==e?void 0:e.config,I=!!e&&p&&!!s,T=(({enableCertificatesBanner:e,enableExternalLinkWarning:t,isMainBannerPage:n})=>{let[i,r]=(0,l.useState)("checking"),[o,a]=(0,l.useState)(!1),[s,c]=(0,l.useState)(!1),[u,d]=(0,l.useState)(!1),[p,m]=(0,l.useState)(!1),h=(0,l.useRef)(void 0),f=(0,l.useRef)(!1),g=(0,l.useRef)(!1),v=(0,l.useRef)(!1);(0,l.useRef)(null);let w=(0,l.useRef)(null),b=(0,l.useRef)(null),x=(0,l.useRef)(null),_=e&&n,y=_||t,j=(0,l.useCallback)(e=>{let t=h.current;t?t.call(window,e,"_blank","noopener,noreferrer"):window.open(e,"_blank","noopener,noreferrer")},[]),k=(0,l.useCallback)(()=>{a(!1),v.current=!1,w.current=null,b.current=null,x.current=null,m(!1)},[]),$=(0,l.useCallback)(e=>{X(Y),g.current=!0,v.current=!1,w.current=e,m("external"===e&&null!==b.current),a(!0)},[]),C=(0,l.useCallback)(()=>!f.current&&("external"===w.current&&!v.current||!g.current),[]),N=(0,l.useCallback)(()=>{"external"!==w.current&&$("external")},[$]);(0,l.useEffect)(()=>{h.current=window.open;let e=window.navigator.userAgent.includes("YaBrowser/");return e&&X(G),f.current=e||Z(G),g.current=Z(Y),d(f.current),c(!0),()=>{b.current=null,x.current=null}},[]),(0,l.useEffect)(()=>{if(s){if(!_)return void r("skipped");r(e=>"shown"===e||"closing"===e||"dismissed"===e?e:u||Z(J)?"skipped":"shown")}},[u,_,s]),(0,l.useEffect)(()=>{},[k,y,s]),(0,l.useEffect)(()=>{if(!s||!t)return;let e=h.current;if(!e)return;let n=!0,i=e=>{if(0!==e.button&&1!==e.button||!(e.target instanceof Element))return;let t=e.target.closest("a[href]");if(!t||e.defaultPrevented)return;let i=Q(t.href,window.location);if(!i||!C())return;e.preventDefault(),null===b.current&&(b.current=i.href,x.current={source:"external_anchor",host:i.hostname});let l=b.current;queueMicrotask(()=>{n&&C()&&b.current===l&&N()})},l=(t,n="_blank",i)=>{let l=Q(t,window.location);return l&&C()?(null===b.current&&(b.current=l.href,x.current={source:"external_window_open",host:l.hostname}),N(),null):e.call(window,t,n,i)};return window.open=l,document.addEventListener("click",i,!0),document.addEventListener("auxclick",i,!0),()=>{n=!1,document.removeEventListener("click",i,!0),document.removeEventListener("auxclick",i,!0),window.open===l&&(window.open=e)}},[t,s,C,N]),(0,l.useEffect)(()=>{var e;t||(b.current=null,(null==(e=x.current)?void 0:e.source)!=="banner"&&(x.current=null),m(!1),"external"===w.current&&k())},[k,t]),(0,l.useEffect)(()=>{_||"banner"===w.current&&k()},[k,_]),(0,l.useEffect)(()=>{y||k()},[k,y]);let O=(0,l.useCallback)(()=>{X(J),r("closing")},[]),A=(0,l.useCallback)(()=>{r("dismissed")},[]),S=(0,l.useCallback)(()=>{b.current=null,x.current={source:"banner"},$("banner")},[$]),I=(0,l.useCallback)(()=>{j("https://www.gosuslugi.ru/crt")},[j]),T=(0,l.useCallback)(()=>{j("https://browser.yandex.ru/")},[j]),z=(0,l.useCallback)(()=>{let e=b.current;e&&(X(Y),g.current=!0,v.current=!0,j(e))},[j]);return{bannerStatus:i,isPopupOpen:o,popupAnalyticsContext:x.current,dismissBanner:O,finishBannerClosing:A,openPopupFromBanner:S,closePopup:k,openCertificatesPage:I,openYandexBrowserPage:T,continueToExternalPage:p?z:void 0}})({enableCertificatesBanner:I,enableExternalLinkWarning:m,isMainBannerPage:!!s}),z="shown"===T.bannerStatus||"closing"===T.bannerStatus,R=!I||"skipped"===T.bannerStatus,E=(0,x.a)(T.isPopupOpen);$=null==S?void 0:S.web2app,(0,l.useEffect)(()=>(0,y.s)($),[$]);let L=(0,l.useMemo)(()=>A.reduce((e,t)=>{var n;return e[t.id]=null==(n=t.sections[0])?void 0:n.id,e},{}),[A]),B=O.isAuth?"Личный кабинет":"Войти",M=s&&O.isHeaderTransparent,W=(e,t,n,i)=>()=>{e!==O.openedBlock?(0,C.h)(_.D.toggle,t,"on"):(0,C.h)(_.D.button,"menu_close","on");let l=n?L[e]:"";O.setOpenedBlock(e,l,!!i)},{start:D,clear:H}=F(),V=e=>()=>{O.ignoreClicks||e()},q=E?(0,i.jsx)(eA,{isOpen:T.isPopupOpen,analyticsContext:T.popupAnalyticsContext,certificatesWarningProduct:h,onClose:T.closePopup,onOpenCertificatesPage:T.openCertificatesPage,onOpenYandexBrowserPage:T.openYandexBrowserPage,onContinue:T.continueToExternalPage}):null;return e?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{ref:O.headerRef,className:(0,w.A)(N.s.header,k,{[N.s.transparent]:M}),children:(0,i.jsxs)("div",{ref:O.fixedContainerRef,className:(0,w.A)(N.s.fixed,{[N.s.hidden]:O.isHeaderHidden,[N.s.navigationOpen]:O.isNavigationOpen}),children:[z&&(0,i.jsx)(eO,{onDismiss:T.dismissBanner,onClosed:T.finishBannerClosing,onOpenDetails:T.openPopupFromBanner,onOpenCertificatesPage:T.openCertificatesPage,onOpenYandexBrowserPage:T.openYandexBrowserPage}),R&&!!(null!=S&&S.appBannerUrl)&&c&&(0,i.jsx)(eS,{mobileAppUrl:S.appBannerUrl,minioUrl:n}),(0,i.jsxs)(v.m,{className:N.s.container,children:[(0,i.jsxs)("div",{className:N.s.leftRow,children:[(0,i.jsx)(eu,{className:N.s.logo,href:t,eventActionType:_.D.icon,eventActionText:"finuslugi_logo",eventLabel:`finuslugi_logo_${t}`,children:(0,i.jsxs)("picture",{children:[(0,i.jsx)("source",{srcSet:(0,b.oq)(n,"/widgets/header/logo/d.webp"),media:"(min-width: 768px)"}),(0,i.jsx)("img",{src:(0,b.oq)(n,"/widgets/header/logo/m.webp"),alt:"Финуслуги",loading:"eager"})]})}),(0,i.jsx)("nav",{ref:O.navMenuItemsRef,className:N.s.menuItems,children:(0,i.jsx)("ul",{children:N.b.map(({id:e,label:t})=>(0,i.jsx)("li",{children:(0,i.jsx)(g.$,{className:(0,w.A)({[N.s.menuItemActive]:O.openedBlock===e&&O.isNavigationOpen}),label:t,variant:"white",size:"xs",onClick:V(W(e,t,!0)),onMouseEnter:()=>{O.isNavigationOpen&&e===O.openedBlock||O.setIgnoreClicks(),D(W(e,t,!0,!0),200)},onMouseLeave:H})},e))})}),(0,i.jsx)(ec,{className:(0,w.A)(N.s.tabletMenuButton,{[N.s.menuItemActive]:O.isNavigationOpen}),eventActionText:"Меню сайта",variant:"white",size:"xs",iconRight:(0,i.jsx)(u,{size:24}),onClick:W("FINPRODUCTS","Меню сайта"),children:"Меню сайта"})]}),(0,i.jsxs)("div",{className:(0,w.A)(N.s.buttonGroup,{[N.s.whiteIcons]:(null==S?void 0:S.iconColorOnMobileMainBanner)==="white"}),children:[(0,i.jsxs)("div",{className:N.s.chips,children:[(0,i.jsx)(ec,{as:"a",href:r,size:"xs",shape:"icon",appearance:"ghost",eventActionText:"profile",eventLabel:`profile_${r}`,iconLeft:(0,i.jsx)(f,{size:20}),"aria-label":B}),(0,i.jsx)(ec,{onClick:()=>{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)},size:"xs",shape:"icon",appearance:"ghost",eventActionText:"IconFdsChatDotsCircleO",iconLeft:(0,i.jsx)(o.G,{size:24}),"aria-label":"Онлайн чат"})]}),(0,i.jsx)(ec,{className:N.s.menuButton,size:"xs",shape:M?"icon":"default",appearance:M?"ghost":"fill",label:"Меню",onClick:W("FINPRODUCTS","Меню"),eventActionText:"Меню",iconLeft:(0,i.jsx)(U,{size:24})}),(0,i.jsxs)("div",{className:N.s.moreButtons,children:[(0,i.jsx)(es,{initialTown:a}),(0,i.jsx)(ec,{onClick:()=>{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)},size:"xs",appearance:"ghost",eventActionText:"IconFdsChatDotsSquareAddO",iconLeft:(0,i.jsx)(P,{size:24}),children:"Онлайн чат"}),(0,i.jsx)(ec,{as:"a",href:r,size:"xs",eventActionText:B,eventLabel:`${B}_${r}`,label:B})]})]}),(0,i.jsxs)(eu,{className:N.s.auth,href:r,eventActionText:B,eventLabel:`${B}_${r}`,children:[(0,i.jsx)(ec,{size:"xs",shape:"circle-icon",iconLeft:(0,i.jsx)(f,{}),eventActionText:B,eventLabel:`${B}_${r}`}),(0,i.jsx)("p",{children:B})]}),(0,i.jsx)("div",{className:N.s.close,children:(0,i.jsx)(ec,{className:N.s.close,size:"xs",variant:"secondary",shape:"circle-icon",iconLeft:(0,i.jsx)(d.a,{}),onClick:()=>O.setOpenedBlock(null),eventActionText:"IconFdsCloseO","aria-label":"Закрыть"})})]})]})}),(0,i.jsx)("div",{className:(0,w.A)(N.s.overlay,{[N.s.removed]:!O.isNavigationMounted,[N.s.overlayOpening]:O.isNavigationOpen,[N.s.overlayClosing]:!O.isNavigationOpen}),onClick:V(()=>O.setOpenedBlock(null))}),(0,i.jsx)(eN,{data:A,minioUrl:n}),q]}):m?q:null},eT=e=>(0,i.jsx)(ei,{isMainBannerPage:e.isMainBannerPage,children:(0,i.jsx)(eI,{...e})})},7596:(e,t,n)=>{"use strict";function i(e,t){return`finkit-widgets-${t}-${e}`}n.d(t,{g:()=>i})},8755:()=>{},9056:()=>{},10620:()=>{},11246:(e,t,n)=>{"use strict";n.d(t,{d:()=>l});var i=n(56853);let l=(e,t)=>{if(typeof window>"u")return;let n=sessionStorage.getItem("pushedEvents"),l=n?JSON.parse(n):[];e.event||(e.event="data-event"),"string"==typeof e.eventAction&&(e.eventAction=e.eventAction.toLowerCase().replaceAll(" ","_")),"string"==typeof e.eventLabel&&(e.eventLabel=e.eventLabel.toLowerCase().replaceAll(" ","_")),e.eventLabel||(e.eventLabel="undefined");let r=l.find(n=>n.eventCategory===e.eventCategory&&n.eventAction===e.eventAction&&n.eventLabel===e.eventLabel&&("all"===t||"url"===t&&window.location.pathname===n.url));if(!t||!r){if(t){let t={...e};t.url=window.location.pathname,l.push(t),sessionStorage.setItem("pushedEvents",JSON.stringify(l))}(0,i.Fj)(e)}}},11412:()=>{},12989:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var i=n(95155),l=n(29722),r=n(83640);n(11412);let o=(0,r.g)("card"),a={card:o,variants:{primary:`${o}--primary`,secondary:`${o}--secondary`}},s=({as:e,className:t,style:n,children:r,variant:o="primary",dataQa:s,dataId:c,...u})=>(0,i.jsx)(e||"div",{className:(0,l.A)(t,a.card,a.variants[o]),style:n,...u,"data-id":c,"data-qa":s,children:r});s.displayName="Card"},16311:(e,t,n)=>{"use strict";n.d(t,{a:()=>a});var i=n(12115);let l={display:"inline-block",lineHeight:0,backfaceVisibility:"hidden"},r={width:"1em",height:"1em",overflowClipMargin:"content-box",overflow:"hidden"},o=e=>i.createElement("svg",{width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M7.22 7.22a.743.743 0 011.06 0L12 10.94l3.72-3.72a.743.743 0 011.06 0 .742.742 0 010 1.06L13.061 12l3.72 3.72a.743.743 0 010 1.06.743.743 0 01-1.061 0L12 13.06l-3.72 3.72a.743.743 0 01-1.06 0 .743.743 0 010-1.06L10.94 12 7.22 8.28a.743.743 0 010-1.06z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}));function a({className:e,style:t,boxSize:n,size:s,onClick:c}){return i.createElement("span",{className:e,style:{...l,...c&&{cursor:"pointer"},...s&&{fontSize:`${s}px`},...n&&{width:`${n}px`,height:`${n}px`,display:"inline-flex",alignItems:"center",justifyContent:"center"},...t},...c?{role:"button",tabIndex:"0",onClick:c}:{}},i.createElement(o,{viewBox:"0 0 24 24",style:r}))}a.displayName="IconFdsCloseO"},17194:(e,t,n)=>{"use strict";n.d(t,{t:()=>l});let i={а:"a",б:"b",в:"v",г:"g",д:"d",е:"e",ё:"yo",ж:"zh",з:"z",и:"i",й:"y",к:"k",л:"l",м:"m",н:"n",о:"o",п:"p",р:"r",с:"s",т:"t",у:"u",ф:"f",х:"h",ц:"c",ч:"ch",ш:"sh",щ:"sch",ъ:"",ы:"y",ь:"",э:"e",ю:"yu",я:"ya"},l=e=>e.replace(/[а-яё]/gi,e=>{let t=e.toLowerCase();return t in i?i[t]:e}).replaceAll(/[ \u00A0]/g,"_")},17806:(e,t,n)=>{"use strict";n.d(t,{VL:()=>C,_b:()=>w,cV:()=>$,oq:()=>N,p2:()=>O});let i=/#/g,l=/&/g,r=/\//g,o=/=/g,a=/\+/g,s=/%5e/gi,c=/%60/gi,u=/%7b/gi,d=/%7c/gi,p=/%7d/gi,m=/%20/gi;function h(e){return encodeURI(""+e).replace(d,"|")}function f(e){return h("string"==typeof e?e:JSON.stringify(e)).replace(a,"%2B").replace(m,"+").replace(i,"%23").replace(l,"%26").replace(c,"`").replace(s,"^").replace(r,"%2F")}function g(e){return f(e).replace(o,"%3D")}function v(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function w(e){return Object.keys(e).filter(t=>void 0!==e[t]).map(t=>{var n;return(("number"==typeof(n=e[t])||"boolean"==typeof n)&&(n=String(n)),n)?Array.isArray(n)?n.map(e=>`${g(t)}=${f(e)}`).join("&"):`${g(t)}=${f(n)}`:g(t)}).filter(Boolean).join("&")}let b=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,x=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,_=/^([/\\]\s*){2,}[^/\\]/,y=/\/$|\/\?|\/#/,j=/^\.?\//;function k(e,t={}){return("boolean"==typeof t&&(t={acceptRelative:t}),t.strict)?b.test(e):x.test(e)||!!t.acceptRelative&&_.test(e)}function $(e,t){var n;if(!(n=t)||"/"===n||k(e))return e;let i=function(e=""){return(!function(e=""){return e.endsWith("/")}(e)?e:e.slice(0,-1))||"/"}(t);if(e.startsWith(i)){let t=e[i.length];if(!t||"/"===t||"?"===t)return e}return N(i,e)}function C(e,t){let n=S(e),i={...function(e=""){let t=Object.create(null);for(let n of("?"===e[0]&&(e=e.slice(1)),e.split("&"))){let e=n.match(/([^=]+)=?(.*)/)||[];if(e.length<2)continue;let i=v(e[1].replace(a," "));if("__proto__"===i||"constructor"===i)continue;let l=v((e[2]||"").replace(a," "));void 0===t[i]?t[i]=l:Array.isArray(t[i])?t[i].push(l):t[i]=[t[i],l]}return t}(n.search),...t};return n.search=w(i),T(n)}function N(e,...t){let n=e||"";for(let e of t.filter(e=>e&&"/"!==e))if(n){let t=e.replace(j,"");n=function(e=""){return e.endsWith("/")?e:e+"/"}(n)+t}else n=e;return n}function O(e,t){if(!t||"#"===t)return e;let n=S(e);return n.hash=""===t?"":"#"+h(t).replace(u,"{").replace(p,"}").replace(s,"^"),T(n)}let A=Symbol.for("ufo:protocolRelative");function S(e="",t){let n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){let[,e,t=""]=n;return{protocol:e.toLowerCase(),pathname:t,href:e+t,auth:"",host:"",search:"",hash:""}}if(!k(e,{acceptRelative:!0}))return t?S(t+e):I(e);let[,i="",l,r=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,o="",a=""]=r.match(/([^#/?]*)(.*)?/)||[];"file:"===i&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));let{pathname:s,search:c,hash:u}=I(a);return{protocol:i.toLowerCase(),auth:l?l.slice(0,Math.max(0,l.length-1)):"",host:o,pathname:s,search:c,hash:u,[A]:!i}}function I(e=""){let[t="",n="",i=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:i}}function T(e){let t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",i=e.hash||"",l=e.auth?e.auth+"@":"",r=e.host||"";return(e.protocol||e[A]?(e.protocol||"")+"//":"")+l+r+t+n+i}},17807:(e,t,n)=>{"use strict";n.d(t,{nu:()=>c,qF:()=>u,qK:()=>d});var i=n(54776),l=n(12115);function r(){return"u"<typeof window}let o=r()?l.useLayoutEffect:l.useEffect;function a(e,t=!1){return r()?t:window.matchMedia(e).matches}function s(e,{defaultValue:t=!1,initializeWithValue:n=!0}={}){let[i,r]=(0,l.useState)(()=>n?a(e,t):t??!1);function c(){r(a(e))}return o(()=>{let t=window.matchMedia(e);return c(),"function"==typeof t.addListener?t.addListener(c):t.addEventListener("change",c),()=>{"function"==typeof t.removeListener?t.removeListener(c):t.removeEventListener("change",c)}},[e]),i}function c(e){let{maxWidth:t}=i.LO[e];return s(`screen and (max-width: ${t}px)`)}function u(e){let{minWidth:t}=i.LO[e];return s(`screen and (min-width: ${t}px)`)}function d(){let[e,t]=(0,l.useState)(!1);return(0,l.useEffect)(()=>t(!0),[]),e}},17828:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorageInstance",{enumerable:!0,get:function(){return i}});let i=(0,n(64054).createAsyncLocalStorage)()},17966:(e,t,n)=>{"use strict";n.d(t,{u:()=>s});var i=n(12115);let l=(e,t)=>{e&&(t?e.setAttribute("data-portal",""):e.removeAttribute("data-portal"))},r=(e,t)=>{t.style.removeProperty("overflow-y"),e.classList.toggle("scroll-disable-windows",!1),e.style.removeProperty("overflow"),e.style.removeProperty("height"),e.style.removeProperty("width"),e.style.removeProperty("top")},o=()=>{void 0!==window.prevScrollPosition&&(window.scrollTo(0,window.prevScrollPosition),window.prevScrollPosition=void 0)},a=()=>document.querySelectorAll("[data-portal]").length>1,s=e=>{let t=(0,i.useRef)(null),n=(0,i.useRef)(!1);return(0,i.useEffect)(()=>{if(n.current===e)return;n.current=e;let i=t.current,s=document.body,c=document.documentElement,u=window.innerWidth-c.clientWidth;if(e&&u>0)s.style.top||(window.prevScrollPosition=window.scrollY),c.style.setProperty("overflow-y","scroll"),s.classList.toggle("scroll-disable-windows",!0),s.style.setProperty("width",`calc(100vw - ${u}px)`),s.style.setProperty("top",`-${window.prevScrollPosition}px`),l(i,!0);else if(e)s.style.setProperty("overflow","hidden"),s.style.setProperty("height","100vh"),l(i,!0);else{let e=!a();e&&r(s,c),e&&o(),l(i,!1)}return()=>{let e=!a();e&&r(s,c),e&&o()}},[e]),t}},19563:()=>{},19766:(e,t,n)=>{"use strict";n.d(t,{C:()=>v,Y:()=>d,a:()=>a,u:()=>g});var i=n(12115),l=n(95155),r=n(20197),o=n(60558);let a=e=>{let[t,n]=(0,i.useState)(e);return(0,i.useEffect)(()=>{e&&n(!0)},[e]),e||t},s={display:"inline-block",lineHeight:0,backfaceVisibility:"hidden"},c={width:"1em",height:"1em",overflowClipMargin:"content-box",overflow:"hidden"},u=e=>i.createElement("svg",{width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M3 9.998a9 9 0 0118 0c0 2.08-.89 4.273-2.029 6.249-1.148 1.991-2.6 3.844-3.826 5.262a4.123 4.123 0 01-6.29 0c-1.227-1.418-2.678-3.271-3.826-5.262C3.889 14.27 3 12.077 3 9.998zm9-7.5a7.5 7.5 0 00-7.5 7.5c0 1.688.737 3.607 1.828 5.5 1.083 1.877 2.468 3.65 3.661 5.029 1.084 1.251 2.938 1.251 4.022 0 1.193-1.379 2.578-3.152 3.66-5.03 1.092-1.893 1.829-3.81 1.829-5.499a7.5 7.5 0 00-7.5-7.5zm-4 7.5a4 4 0 118 0 4 4 0 01-8 0zm4-2.5a2.5 2.5 0 100 5 2.5 2.5 0 000-5z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}));function d({className:e,style:t,boxSize:n,size:l,onClick:r}){return i.createElement("span",{className:e,style:{...s,...r&&{cursor:"pointer"},...l&&{fontSize:`${l}px`},...n&&{width:`${n}px`,height:`${n}px`,display:"inline-flex",alignItems:"center",justifyContent:"center"},...t},...r?{role:"button",tabIndex:"0",onClick:r}:{}},i.createElement(u,{viewBox:"0 0 24 24",style:c}))}d.displayName="IconFdsLocationO";let p=(0,o.g)(),m=(0,o.a)(p),h={regions:p,towns:m,region:null,town:null,startPopupVisible:!1,setStartPopupVisible:()=>null,popupVisible:!1,handleToggleModal:()=>null,selectCity:()=>null,handleButtonClick:()=>null,startRegion:null,startTown:null},f=(0,i.createContext)(h);function g(){return(0,i.useContext)(f)}let v=({children:e,initialRegion:t,initialTown:n,showStartGeoPopup:a=!0,lastRegionsUpdateUnixTimestamp:s,showcaseUrl:c="",dadataUrl:u=(0,o.d)(c,"/backend/money/dadata"),useNewCitiesApi:d=!1})=>{let p=(0,o.e)(d),m=Number((0,o.p)(p.lastRegionsUpdateUnixTimestamp)||0),g=Number(s||0)>m,[v,w]=(0,i.useState)((0,o.g)(d)),b=(0,i.useRef)(v),[{startRegion:x,startTown:_},y]=(0,i.useState)({startRegion:h.startRegion,startTown:h.startTown}),j=t??h.region,k=n??h.town,[{region:$,town:C},N]=(0,i.useState)({region:j,town:k}),[O,A]=(0,i.useState)(h.startPopupVisible),[S,I]=(0,i.useState)(h.popupVisible),T=(0,i.useRef)(""),z=(0,i.useRef)(!1),R=(0,i.useMemo)(()=>(0,o.a)(v),[v]);(0,i.useEffect)(()=>{b.current=v},[v]);let E=(0,i.useCallback)((e,t)=>{window.sessionStorage.setItem("start_popup_opened","1"),window.localStorage.setItem("auto_town",JSON.stringify(t)||""),window.localStorage.setItem("auto_region",JSON.stringify(e)||""),A(!0),y({startRegion:e,startTown:t})},[A,y]),L=(0,i.useCallback)((e,t)=>{window.sessionStorage.getItem("start_popup_opened")||E(e,t)},[E]),P=(0,i.useCallback)(()=>{if(T.current&&!$&&!C){let e=R.find(e=>e.name===T.current)??null;return L(v.find(t=>t.id===(null==e?void 0:e.parentId))??null,e)}L($,C)},[$,C,R,v,L]),B=(0,i.useCallback)(e=>{I(e)},[I]),M=(0,i.useCallback)((e,t)=>{if(!e&&!t){window.localStorage.setItem(p.allRussiaSelected,"1"),window.localStorage.setItem(p.userRegion,""),window.localStorage.setItem(p.userTown,""),(0,o.s)(null,null,d);return}window.localStorage.setItem(p.allRussiaSelected,"0"),window.localStorage.setItem(p.userRegion,JSON.stringify(e)||""),window.localStorage.setItem(p.userTown,JSON.stringify(t)||""),(0,o.s)(e||null,t||null,d)},[p,d]),W=(0,i.useCallback)(e=>{e?(0,o.h)(r.D.icon,"location"):(0,o.h)(r.D.button,(null==C?void 0:C.name)||"Вся Россия"),!a||window.sessionStorage.getItem("start_popup_opened")?B(!0):P()},[a,C,B,P]),U=(0,i.useCallback)((e,t)=>{M(e,t),N({region:e||null,town:t||null}),A(!1),B(!1);let n=new CustomEvent("onRegionChange",{detail:{region:e,town:t}});document.dispatchEvent(n)},[B,M]),F=()=>{let e=(0,o.f)(p.userRegion),t=e??(0,o.p)(p.userRegion),n=(0,o.f)(p.userTown)??(0,o.p)(p.userTown),i=(0,o.b)(b.current,t,n),l=d&&(0,o.j)(t,n);(0,o.k)(e,i.region)&&(0,o.s)(i.region,i.town,d),l&&(z.current=!0),l&&(0,o.c)(i.region,i.town)&&(M(i.region,i.town),z.current=!1),N(i);let r=async({coords:{latitude:e,longitude:t}})=>{let n=`${u}?lat=${e}&lon=${t}`,i=await (0,o.m)(n);null!=i&&i.location&&(T.current=i.location.data.city)};if(!window.localStorage.getItem("dadata")&&navigator.geolocation&&a)try{navigator.geolocation.getCurrentPosition(r,()=>null)}catch{}};return(0,i.useEffect)(()=>{(!(0,o.i)(v,d)||g)&&(0,o.l)({showcaseUrl:c,useNewCitiesApi:d}).then(e=>{e.length<1||w(e)})},[]),(0,i.useEffect)(()=>{let e=(0,o.b)(v,$,C);z.current&&(0,o.c)(e.region,e.town)&&(M(e.region,e.town),z.current=!1),N(e)},[v,$,M,C]),(0,i.useEffect)(()=>{if(window.innerWidth<1024){let e=()=>{F(),window.removeEventListener("scroll",e)};window.addEventListener("scroll",e)}else setTimeout(()=>{F()},0)},[]),(0,l.jsx)(f.Provider,{value:{regions:v,towns:R,region:$,town:C,startPopupVisible:O,setStartPopupVisible:A,popupVisible:S,handleToggleModal:B,selectCity:U,handleButtonClick:W,startRegion:x,startTown:_},children:e})}},20197:(e,t,n)=>{"use strict";let i;n.d(t,{D:()=>o,h:()=>s});var l=n(17194),r=n(11246),o=((i=o||{}).icon="icon",i.chip="chip",i.accordion="accordion",i.button="button",i.checkbox="checkbox",i.radio="radio",i.select="select",i.toggle="toggle",i.tooltip="tooltip",i.link="link",i.banner="banner",i.tag="tag",i.date="date",i.field="field",i.offer="offer",i.tab="tab",i.submitButton="submitButton",i.popup="popup",i.block="block",i.show="show",i.close="close",i);let a={icon:"click_icon_",chip:"click_chip_",accordion:"show_acc_",button:"click_button_",checkbox:"click_check_",radio:"click_radio_",select:"click_sel_",toggle:"click_togg_",tooltip:"click_tip_",link:"click_link_",banner:"click_bnr_",tag:"click_tag_",date:"input_date_",field:"input_field_",offer:"click_offer_",tab:"click_tab_",submitButton:"form_button_",popup:"show_pop_up_",block:"click_block_",show:"show_",close:"close_"},s=({eventCategory:e,eventActionType:t,eventActionText:n="",eventLabel:i})=>{let o={event:"data-event",eventCategory:e,eventAction:a[t]+(0,l.t)(n)};void 0!==i&&(o.eventLabel=(0,l.t)("string"==typeof i?i:i.toString())),(0,r.d)(o)}},21957:(e,t,n)=>{"use strict";function i({moduleIds:e}){return null}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PreloadChunks",{enumerable:!0,get:function(){return i}}),n(95155),n(47650),n(5214),n(2451),n(53887)},24691:(e,t,n)=>{"use strict";n.d(t,{$:()=>i.a});var i=n(87978)},26048:(e,t,n)=>{"use strict";n.d(t,{P:()=>a});var i=n(95155),l=n(29722),r=n(83640);n(27160);let o=Object.freeze({privateIcon:(0,r.g)("private-icon")}),a=({children:e,className:t,style:n,...r})=>(0,i.jsx)("span",{className:(0,l.A)(o.privateIcon,t),style:n,...r,children:e});a.displayName="PrivateIcon"},27160:()=>{},29722:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});let i=function(){for(var e,t,n=0,i="",l=arguments.length;n<l;n++)(e=arguments[n])&&(t=function e(t){var n,i,l="";if("string"==typeof t||"number"==typeof t)l+=t;else if("object"==typeof t)if(Array.isArray(t)){var r=t.length;for(n=0;n<r;n++)t[n]&&(i=e(t[n]))&&(l&&(l+=" "),l+=i)}else for(i in t)t[i]&&(l&&(l+=" "),l+=i);return l}(e))&&(i&&(i+=" "),i+=t);return i}},37206:(e,t,n)=>{"use strict";n.d(t,{default:()=>l.a});var i=n(75707),l=n.n(i)},39670:(e,t,n)=>{"use strict";n.d(t,{W:()=>s,a:()=>a,d:()=>c,e:()=>_,g:()=>m,s:()=>v,u:()=>y});var i=n(54776),l=n(12115);let r=`screen and (min-width: ${i.LO.l.minWidth}px)`,o=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","agent_id"],a=Object.freeze({placement:"header",type:"link"}),s=(Object.freeze({placement:"footer",type:"link"}),Object.freeze({placement:"footer",type:"button"}),Object.freeze({placement:"footer",type:"banner"})),c=Object.freeze({placement:"support",type:"banner"}),u=(Object.freeze({placement:"support",type:"button"}),/^\{.*\}$/),d=e=>e.split(/[?#]/)[0].split("/").filter(Boolean),p=e=>{let[t]=d(e);return t?"vklady"===t?"vklady":"other":"mainpage"},m=(e,t)=>{var n;return(null==(n=e.qr)?void 0:n[p(t)])||null},h=null,f=new Set,g=()=>h,v=e=>{let t=e??null;t!==h&&(h=t,f.forEach(e=>e()))},w=e=>(f.add(e),()=>{f.delete(e)}),b=()=>()=>{},x=()=>null,_=(e=!0)=>(0,l.useSyncExternalStore)(e?w:b,e?g:x,x),y=({target:e,fallbackHref:t})=>{let n=_(!!e),i=()=>n&&e?(({config:e,target:t,pathname:n,search:i,referrer:l,isDesktop:r})=>{var a;let s,c=null==(a=e.links)?void 0:a[p(n)],m=r?null==c?void 0:c.desktop:null==c?void 0:c.mobile;if(!m)return null;let h=(e=>{try{return new URL(e)}catch{return null}})(m);if(!h)return null;Array.from(h.searchParams.entries()).filter(([,e])=>u.test(e)).map(([e])=>e).forEach(e=>h.searchParams.delete(e));let f=new URLSearchParams(i);return o.forEach(e=>{let t=f.get(e);t&&h.searchParams.set(e,t)}),l&&h.searchParams.set("referer",l),h.searchParams.set("value",`${(s=d(n)).length?s.join("_"):"mainpage"}_${t.placement}_${t.type}`),h.toString()})({config:n,target:e,...{pathname:window.location.pathname,search:window.location.search,referrer:document.referrer,isDesktop:window.matchMedia(r).matches}}):null,l=()=>i()??t;return{href:l(),getHref:l,onClick:e=>{let t=i();t&&e.currentTarget instanceof HTMLAnchorElement&&e.currentTarget.setAttribute("href",t)}}}},40842:()=>{},41112:(e,t,n)=>{"use strict";function i({reason:e,children:t}){return t}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BailoutToCSR",{enumerable:!0,get:function(){return i}}),n(1980)},42879:(e,t,n)=>{"use strict";n.d(t,{B:()=>l,a:()=>i,b:()=>r});let i=Object.freeze({xs:Object.freeze({maxWidth:599}),s:Object.freeze({minWidth:600,maxWidth:767}),m:Object.freeze({minWidth:768,maxWidth:1023}),l:Object.freeze({minWidth:1024,maxWidth:1279}),xl:Object.freeze({minWidth:1280,maxWidth:1439}),"2xl":Object.freeze({minWidth:1440,maxWidth:1919}),"3xl":Object.freeze({minWidth:1920})}),l=Object.freeze(Object.keys(i)),r=Object.freeze(l.filter(e=>"xs"!==e));Object.freeze(l.filter(e=>"3xl"!==e))},43780:(e,t,n)=>{"use strict";n.d(t,{E:()=>s});var i=n(95155),l=n(29722),r=n(86253),o=n(83640);n(8755);let a=Object.freeze({text:(0,o.g)("text")});function s({as:e,className:t,style:n,children:o,size:c,weight:u,lineClamp:d,dataQa:p,dataId:m,...h}){return(0,i.jsx)(e||"span",{className:(0,l.A)(a.text,t),style:{...c&&{fontSize:`var(--font-size-${c})`,lineHeight:`var(--font-line-height-${c})`},...u&&{fontWeight:`var(--font-weight-${u})`},...d&&{WebkitLineClamp:d,lineClamp:d,...r.l},...n},...h,"data-id":m,"data-qa":p,children:o})}s.displayName="Text"},45676:(e,t,n)=>{"use strict";n.d(t,{N:()=>b,s:()=>v});var i=n(95155),l=n(12115),r=n(29722),o=n(20197),a=n(46089),s=n(7596),c=n(57349);let u={display:"inline-block",lineHeight:0,backfaceVisibility:"hidden"},d={width:"1em",height:"1em",overflowClipMargin:"content-box",overflow:"hidden"},p=e=>l.createElement("svg",{width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("path",{d:"M12.004 7.246A1.247 1.247 0 0110.75 6a1.25 1.25 0 111.254 1.247zM10.75 12c0 .686.559 1.252 1.254 1.247a1.252 1.252 0 001.246-1.25 1.25 1.25 0 10-2.5.003zm0 6c0 .686.559 1.253 1.254 1.247a1.252 1.252 0 001.246-1.25 1.25 1.25 0 10-2.5.003z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}));function m({className:e,style:t,boxSize:n,size:i,onClick:r}){return l.createElement("span",{className:e,style:{...u,...r&&{cursor:"pointer"},...i&&{fontSize:`${i}px`},...n&&{width:`${n}px`,height:`${n}px`,display:"inline-flex",alignItems:"center",justifyContent:"center"},...t},...r?{role:"button",tabIndex:"0",onClick:r}:{}},l.createElement(p,{viewBox:"0 0 24 24",style:d}))}m.displayName="IconFdsDotsVerticalO";let h=(0,s.g)("navigation-chips","sc"),f=Object.freeze({wrapper:`${h}__wrapper`,gray:`${h}__variantGray`,white:`${h}__variantWhite`,container:`${h}__container`,chip:`${h}__chip`,more:`${h}__chip--more`,active:`${h}__chip--active`,icon:`${h}__icon`,label:`${h}__label`,hidden:`${h}__hidden`}),g=(0,s.g)("navigation-content","sc"),v=Object.freeze({contentWrapper:`${g}__content-wrapper`,content:`${g}__content`,contentOpen:`${g}__content--open`,contentHeader:`${g}__content-header`,contentTitle:`${g}__content-title`,contentTitleUrl:`${g}__content-title--url`,contentTitleLink:`${g}__content-title--link`,contentTitleNew:`${g}__content-title--new`,new:`${g}__new`,newInline:`${g}__new-inline`,vip:`${g}__vip`,arrowIcon:`${g}__arrow-icon`,links:`${g}__links`,linksColumns:`${g}__links--columns`,linksTitleless:`${g}__links--titleless`,removed:`${g}__removed`,hidden:`${g}__content--hidden`}),w=({chip:e,hidden:t,onClick:n,refCallback:l,activeChipId:s})=>{let u=!!n,d=()=>{if(u)return null==n?void 0:n(e.url);(0,a.h)(o.D.chip,e.title,`${e.title}_${e.url}`)},p=(0,i.jsxs)(i.Fragment,{children:[e.icon&&(0,i.jsx)("span",{className:f.icon,"aria-hidden":"true",children:e.icon}),(0,i.jsx)("span",{className:f.label,children:e.title}),e.arrow&&(0,i.jsx)(c.K,{size:24})]}),m=(0,r.A)(f.chip,{[f.hidden]:t,[v.new]:!!e.new,[v.vip]:!!e.vip,[f.active]:e.url===s});return u?(0,i.jsx)("button",{type:"button",className:m,onClick:d,ref:l,children:p}):(0,i.jsx)("a",{href:e.url,className:m,onClick:d,ref:l,children:p})},b=({items:e=[],maxNumberOfLines:t,variant:n,className:s,activeChipId:c,onClick:u,moreButtonOptions:d})=>{let p=(0,l.useRef)(null),h=(0,l.useRef)(null),g=(0,l.useRef)([]),v=(null==d?void 0:d.label)??"Еще",b="Еще",x=(null==d?void 0:d.showIcon)??!0,_=(0,r.A)(f.chip,f.more,null==d?void 0:d.className),[y,j]=(0,l.useState)(!1),[k,$]=(0,l.useState)(e.length),[C,N]=(0,l.useState)(!1),O=(0,l.useCallback)(()=>{let n=p.current;if(!n)return;let i=e=>e?e.getBoundingClientRect().width:0,l=i(n),r=Math.max(Number(t)||0,0),o=()=>{$(e.length),N(!1)};if(y||0===r||l<=0)return void o();let a=(()=>{try{let e=getComputedStyle(n),t=parseFloat(e.columnGap||e.gap||"12");return Number.isNaN(t)?12:t}catch{return 12}})(),s=i(h.current),c=e.map((e,t)=>i(g.current[t]));if(c.some(e=>0===e))return void o();let u=1,d=0,m=0;for(let e of c){let t=u===r?s+a:0,n=0===d?e:d+a+e;if(n+t<=l-.5)d=n,m++;else{if(++u>r)break;d=e,m++}}N(m<e.length),$(m)},[y,e,t]);(0,l.useLayoutEffect)(()=>{let e=p.current;if(!e)return;let t=new ResizeObserver(()=>{requestAnimationFrame(O)});return t.observe(e),requestAnimationFrame(O),()=>{t.disconnect()}},[O]),(0,l.useEffect)(()=>{requestAnimationFrame(O)},[O]);let A=y||(t??0)<=0||!C;return(0,i.jsx)("div",{className:(0,r.A)(s,f.wrapper,{[f.gray]:"gray"===n,[f.white]:"white"===n}),children:(0,i.jsxs)("div",{ref:p,className:f.container,children:[e.map((e,t)=>(0,i.jsx)(w,{chip:e,hidden:!A&&t>=k,activeChipId:c,onClick:u,refCallback:e=>{g.current[t]=e}},`${e.url}_${t}`)),!A&&C&&(0,i.jsxs)("button",{type:"button",ref:h,className:_,"aria-label":b,onClick:()=>{(0,a.h)(o.D.chip,b),j(!0)},children:[x&&(0,i.jsx)(m,{size:20}),(0,i.jsx)("span",{className:f.label,children:v})]}),(A||!C)&&(0,i.jsxs)("button",{type:"button",ref:h,className:(0,r.A)(_,f.hidden),tabIndex:-1,"aria-hidden":"true",children:[x&&(0,i.jsx)(m,{size:20}),(0,i.jsx)("span",{className:f.label,children:v})]})]})})}},46089:(e,t,n)=>{"use strict";n.d(t,{H:()=>r,h:()=>c,i:()=>s,s:()=>o});var i=n(20197),l=n(56053);let r="finuslugi-header-height-change",o=(e,t,n)=>{if(typeof window>"u"||typeof document>"u")return;let i=document.getElementById("mainHomeBanner"),l=!1,o=0,a=0,s=window.innerWidth<768,c=()=>window.scrollY||document.documentElement.scrollTop,u=e=>{document.documentElement.style.setProperty("--new-header-height-desktop",e),document.documentElement.style.setProperty("--new-header-height-mobile",e)},d=()=>{let e=window.innerWidth<768;e!==s&&(s=e,a=0)},p=function(){let r=c(),s=document.getElementById("headerNotice");if((null==s?void 0:s.getAttribute("data-opening"))==="true")return;a||(()=>{let e=document.querySelector(":root");if(e){let t=parseFloat(window.getComputedStyle(e).getPropertyValue("--fixed-header-height"));a=Number.isNaN(t)?0:t,o=c()}})();let d=r<a,p=r<((null==i?void 0:i.clientHeight)||0);if(n&&p||d){l=!1,e(!1),t(!0),u(`${a}px`);return}e(l=r>o),l&&setTimeout(()=>t(!1),50),u(l?"0px":`${a}px`),o=r<=0?0:r},m=()=>{a=0,p()};return window.addEventListener("scroll",p),window.addEventListener("resize",d),window.addEventListener(r,m),()=>{window.removeEventListener("scroll",p),window.removeEventListener("resize",d),window.removeEventListener(r,m)}},a=(e,t,n)=>{let i=new Date;i.setTime(i.getTime()+864e5*n);let l=encodeURIComponent(JSON.stringify(t)),r=`;domain=.${window.location.hostname}`;document.cookie=`${e}=${l};expires=${i.toUTCString()};path=/;SameSite=Lax${r}`},s=()=>{setTimeout(()=>{if(!(typeof document>"u"||"string"!=typeof document.cookie))try{let e;(e=(()=>{let e=new URLSearchParams(window.location.search),t={};for(let[n,i]of Array.from(e.entries()))n.startsWith("utm_")&&(t[n]=i);return Object.keys(t).length>0?t:null})())&&!document.cookie.split(";").some(e=>e.trim().startsWith("utm_params="))&&a("utm_params",e,90),e&&a("utm_last",e,90)}catch(e){console.error("UTM tracking error:",e)}},0)},c=(e,t,n)=>(0,i.h)({eventCategory:l.H,eventActionType:e,eventActionText:t,eventLabel:n})},52886:()=>{},53730:(e,t,n)=>{"use strict";n.d(t,{a:()=>i});let i={getItem:e=>{if(typeof document>"u")return null;let t=document.cookie.split(";").find(t=>t.split("=")[0].trim()===e);return t?t.split("=")[1]??null:null},setItem:(e,t,n={})=>{if(typeof document>"u")return;(n={path:"/",...n}).expires instanceof Date&&(n.expires=n.expires.toUTCString());let i=`${encodeURIComponent(e)}=${encodeURIComponent(t)}`;for(let e in n){if(!n.hasOwnProperty(e))continue;i+=`; ${e}`;let t=n[e];!0!==t&&(i+=`=${t}`)}document.cookie=i},removeItem:e=>{i.setItem(e,"",{"max-age":-1})}}},54776:(e,t,n)=>{"use strict";n.d(t,{LO:()=>i});let i=Object.freeze({xs:Object.freeze({maxWidth:599}),s:Object.freeze({minWidth:600,maxWidth:767}),m:Object.freeze({minWidth:768,maxWidth:1023}),l:Object.freeze({minWidth:1024,maxWidth:1279}),xl:Object.freeze({minWidth:1280,maxWidth:1439}),"2xl":Object.freeze({minWidth:1440,maxWidth:1919}),"3xl":Object.freeze({minWidth:1920})}),l=Object.freeze(Object.keys(i));Object.freeze(l.filter(e=>"xs"!==e)),Object.freeze(l.filter(e=>"3xl"!==e))},55727:(e,t,n)=>{"use strict";n.d(t,{N:()=>d});var i=n(95155),l=n(29722),r=n(12115),o=n(26048),a=n(83640);function s(e){return r.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M10.25 5.75c0 .414.336.75.75.75h5.44L5.22 17.72a.75.75 0 1 0 1.06 1.06L17.5 7.56V13a.75.75 0 0 0 1.5 0V5.75a.75.75 0 0 0-.75-.75H11a.75.75 0 0 0-.75.75Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}n(63914);let c=(0,a.g)("link"),u=Object.freeze({link:c,states:{inverted:`${c}--inverted`,disabled:`${c}--disabled`},content:`${c}__content`,icon:`${c}__icon`,size:{s:`${c}--s`,m:`${c}--m`}});function d({as:e,size:t="m",withIcon:n=!1,children:r,disabled:a,text:c,inverted:p,onClick:m,className:h,style:f,dataQa:g,dataId:v,...w}){let b=(0,l.A)(u.link,{[u.states.inverted]:p,[u.states.disabled]:a},u.size[t],h),x=c||r;return(0,i.jsx)(e||"a",{className:b,disabled:a,style:f,onClick:m,"aria-disabled":a,tabIndex:a?-1:0,...w,"data-id":v,"data-qa":g,children:n?(0,i.jsxs)("span",{className:u.content,children:[x,(0,i.jsx)(o.P,{className:u.icon,children:(0,i.jsx)(s,{})})]}):x})}d.displayName="Link"},56053:(e,t,n)=>{"use strict";n.d(t,{F:()=>u,H:()=>a,U:()=>r,a:()=>c,b:()=>s,c:()=>o,s:()=>l});let i=(0,n(7596).g)("header","sc"),l=Object.freeze({header:`${i}`,fixed:`${i}__fixed`,hidden:`${i}__fixed--hidden`,transparent:`${i}--transparent`,navigationOpen:`${i}__navigation-open`,container:`${i}__container`,leftRow:`${i}__left-row`,logo:`${i}__logo`,menuItems:`${i}__menu-items`,menuItemActive:`${i}__menu-item-active`,tabletMenuButton:`${i}__tablet-menu-button`,buttonGroup:`${i}__button-group`,chips:`${i}__chips`,menuButton:`${i}__menu-button`,moreButtons:`${i}__more-buttons`,auth:`${i}__auth`,whiteIcons:`${i}__white-icons`,close:`${i}__close`,removed:`${i}__removed`,overlay:`${i}__overlay`,overlayOpening:`${i}__overlay--opening`,overlayClosing:`${i}__overlay--closing`}),r="user_region",o="user_town",a="cb-header",s=[{id:"FINPRODUCTS",label:"Финпродукты"},{id:"NAVIGATOR",label:"Журнал"},{id:"ABOUT",label:"О маркетплейсе"}],c=s.reduce((e,t)=>(e[t.id]=t.label,e),{}),u=Object.freeze({mobile:56,desktop:80})},57349:(e,t,n)=>{"use strict";n.d(t,{K:()=>a});var i=n(12115);let l={display:"inline-block",lineHeight:0,backfaceVisibility:"hidden"},r={width:"1em",height:"1em",overflowClipMargin:"content-box",overflow:"hidden"},o=e=>i.createElement("svg",{width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M9 8a.75.75 0 000 1.5h4.44l-5.22 5.22a.75.75 0 101.06 1.06l5.22-5.22v4.445a.75.75 0 101.5 0V8.75a.75.75 0 00-.75-.75H9z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}));function a({className:e,style:t,boxSize:n,size:s,onClick:c}){return i.createElement("span",{className:e,style:{...l,...c&&{cursor:"pointer"},...s&&{fontSize:`${s}px`},...n&&{width:`${n}px`,height:`${n}px`,display:"inline-flex",alignItems:"center",justifyContent:"center"},...t},...c?{role:"button",tabIndex:"0",onClick:c}:{}},i.createElement(o,{viewBox:"0 0 24 24",style:r}))}a.displayName="IconFdsArrowUpRightSmallO"},60558:(e,t,n)=>{"use strict";n.d(t,{a:()=>w,b:()=>j,c:()=>$,d:()=>x,e:()=>s,f:()=>m,g:()=>f,h:()=>S,i:()=>v,j:()=>k,k:()=>d,l:()=>O,m:()=>A,p:()=>h,s:()=>p});var i=n(53730),l=n(20197),r=n(56053);let o={userRegion:r.U,userTown:r.c,allRegions:"all_regions",lastRegionsUpdateUnixTimestamp:"lastRegionsUpdateUnixTimestamp",allRussiaSelected:"all_russia_selected"},a={userRegion:r.U,userTown:r.c,allRegions:"all_regions_new_api",lastRegionsUpdateUnixTimestamp:"lastRegionsUpdateUnixTimestamp_new_api",allRussiaSelected:"all_russia_selected"},s=(e=!1)=>e?a:o,c=(e,t=!1)=>{if(t){window.allRegionsNewApi=e;return}window.allRegions=e},u=e=>Array.isArray(e.towns)?e.towns:[],d=(e,t)=>{if(!e||!t)return!1;if(e.url!==t.url)return!0;let n=u(e);return n.length>1||n.some(({main:e})=>!e)},p=(e,t,n=!1)=>{if(typeof document>"u")return;let l=s(n);if(!e&&!t){i.a.removeItem(l.userRegion),i.a.removeItem(l.userTown);return}i.a.setItem(l.userRegion,JSON.stringify((e=>{if(!e)return null;let t=u(e).find(({main:e})=>!!e);return{...e,towns:t?[t]:[]}})(e))||"",{"max-age":31536e3}),i.a.setItem(l.userTown,JSON.stringify(t)||"",{"max-age":31536e3})},m=e=>{if(typeof document>"u")return null;let t=i.a.getItem(e)??void 0;if(!t||"undefined"===t)return null;try{return JSON.parse(decodeURIComponent(t))}catch{return null}},h=function(e){if(typeof window>"u"||!window.localStorage)return null;let t=window.localStorage.getItem(e);if(!t||"undefined"===t)return null;try{return JSON.parse(t)}catch(t){console.warn(`Invalid object in localStorage for key "${e}": ${t}`)}return null},f=(e=!1)=>{if(typeof window>"u")return[];let t=((e=!1)=>e?window.allRegionsNewApi:window.allRegions)(e);if(Array.isArray(t)&&t.length>0)return t;let n=h(s(e).allRegions)||[];return c(n,e),n},g=e=>e.some(e=>e.towns.some(e=>!!e.newId||!!e.fiasId)),v=(e,t=!1)=>!(e.length<1)&&(!t||g(e)),w=e=>{let t={};return e.map(({id:e,name:n,towns:i})=>(i.forEach(i=>{i.parentId=e,t[i.name]=t[i.name]||{},t[i.name][i.id]=n}),i)).reduce((e,n)=>(n.forEach(e=>{Object.keys(t[e.name]).length>1&&(e.parentName=t[e.name][e.id])}),[...e,...n]),[])},b=(e,t)=>`${e.replace(/\/+$/,"")}${t}`,x=(e,t)=>b(e||"https://finuslugi.ru",t),_=async e=>{try{return await (await fetch(e)).json()}catch(e){console.warn(e)}return null},y=(e,t=!1)=>{if(e.length<1)return;let n=s(t);c(e,t),window.localStorage.setItem(n.allRegions,JSON.stringify(e)),window.localStorage.setItem(n.lastRegionsUpdateUnixTimestamp,JSON.stringify(Date.now()))},j=(e,t,n)=>{let i=null,l=null;return n&&e.some(e=>{let t=e.towns.find(e=>e.id===n.id)??null;return!!t&&(i=e,l=t,!0)}),{region:i??(t?e.find(e=>e.url===t.url)??e.find(e=>e.region_id===t.region_id)??null:null)??t,town:l??n}},k=(e,t)=>(!!e||!!t)&&!(null!=e&&e.newId)&&!(null!=e&&e.fiasId)&&!(null!=t&&t.newId)&&!(null!=t&&t.fiasId),$=(e,t)=>!!(null!=e&&e.newId||null!=e&&e.fiasId||null!=t&&t.newId||null!=t&&t.fiasId),C=async e=>{let t=await _(x(e,"/money_data/Root.json?short=1")),n=Array.isArray(null==t?void 0:t.regions)?t.regions:[];return y(n),n},N=async e=>{let t,n,[i,l]=await Promise.all([_(b(e,"/sc/api/v1/cities?all=true&isActive=true")),_(b(e,"/sc/api/v1/regions?all=true"))]);if(!Array.isArray(null==i?void 0:i.content)||!Array.isArray(null==l?void 0:l.content))return[];let r=i.content,o=(n=(t=l.content.filter(e=>e.isActive).map(e=>({id:e.geoRegionId,name:e.name,name_r:e.nameR,name_p:e.nameP,url:e.url,region_id:e.geoRegionId,enabled:+!!e.isActive,fiasId:e.fiasId,towns:[]}))).reduce((e,t)=>(e[t.id]=t,e),{}),r.forEach(e=>{let t=n[e.geoRegionId];t&&t.towns.push({id:e.legacyId,name:e.name,name_r:e.nameR,name_p:e.nameP,url:e.url,main:+!!e.isRegionalCenter,newId:e.id,fiasId:e.fiasId})}),t);return g(o)?(y(o,!0),o):[]},O=async({showcaseUrl:e="",useNewCitiesApi:t=!1}={})=>t?N(e):C(e),A=async e=>{let t=null;try{t=await (await fetch(`${e}`,{method:"GET"})).json()}catch(e){console.warn(e)}return t||null},S=(e,t,n)=>{(0,l.h)({eventCategory:"finkit-widgets-sc-city-select",eventActionType:e,eventActionText:t,eventLabel:n})}},63114:(e,t,n)=>{"use strict";n.d(t,{C:()=>h,P:()=>k,U:()=>_,u:()=>d});var i=n(95155),l=n(12115),r=n(16311),o=n(29722),a=n(17966),s=n(7596),c=n(47650);let u=300,d=({opened:e})=>{let[t,n]=(0,l.useState)(!1),i=(0,l.useRef)(null),r=(0,l.useRef)(!1);return(0,l.useEffect)(()=>(e&&!r.current?(r.current=!0,n(!0)):!e&&r.current&&(i.current=setTimeout(()=>{r.current=!1,n(!1)},u)),()=>{i.current&&clearTimeout(i.current)}),[e]),{mounted:t}},p=(0,s.g)("click-outside","sc"),m=Object.freeze({overlay:`${p}__overlay`,open:`${p}--open`,close:`${p}--close`}),h=({onClose:e,onToucheMove:t,isOpen:n,delay:r=u})=>{let a=(0,l.useRef)(null),s=(0,l.useCallback)(()=>{e&&(a.current=setTimeout(()=>{e()},r))},[r,e]),c=(0,l.useCallback)(e=>{"Escape"===e.key&&s()},[s]);return(0,l.useEffect)(()=>(n&&window.addEventListener("keydown",c),()=>{a.current&&clearTimeout(a.current),window.removeEventListener("keydown",c)}),[n,c]),(0,i.jsx)("div",{className:(0,o.A)(m.overlay,{[m.open]:n,[m.close]:!n}),onTouchStart:t,onClick:s})},f=(0,s.g)("mobile-modal-footer","sc"),g=Object.freeze({footer:`${f}__footer`,footerWithoutShadow:`${f}__footer--without-shadow`}),v=({footer:e,isSmallPopup:t=!1,footerClassName:n})=>(0,i.jsx)("div",{className:(0,o.A)(g.footer,t&&g.footerWithoutShadow,n),children:"function"==typeof e?e():e}),w=(0,s.g)("mobile-popup","sc"),b=Object.freeze({mobilePopup:`${w}`,mobilePopupOpen:`${w}--open`,content:`${w}__content`,contentFull:`${w}__content--full`,contentTransition:`${w}__content--transition`,contentTransitionOpen:`${w}__content--transition-open`,contentLine:`${w}__content-line`,contentContainer:`${w}__content-container`,smallContentContainer:`${w}__content-container--small`,min:`${w}__content-container--min`,title:`${w}__title`,closeContainer:`${w}__close-container`,closeButton:`${w}__close-button`}),x=({children:e,footer:t,isOpen:n,isSmallPopup:s,onClose:c,hasCloseButton:u=!0,full:d,touchDistance:p=100,withDisabledScroll:m=!0,contentClassName:f,className:g,title:w,closeButton:x,footerClassName:_})=>{let[y,j]=(0,l.useState)(!1),[k,$]=(0,l.useState)(!1),[C,N]=(0,l.useState)(!0),[O,A]=(0,l.useState)("120%"),S=(0,l.useRef)(null),I=(0,l.useRef)(0),T=(0,l.useRef)(!1),z=e=>{var t,n,i;let l=null==(t=S.current)?void 0:t.offsetTop,r=null==(n=S.current)?void 0:n.offsetHeight;if(T.current=!0,N(!1),l&&r){let t=(null==(i=null==e?void 0:e.touches[0])?void 0:i.clientY)-l,n=0;t>=0&&t<=r+30&&(n=t),t>r+30&&(n=r+30),A(`${n}px`),I.current=n}},R=()=>{T.current&&(I.current>p&&c?null==c||c():A("0"),N(!0),T.current=!1),window.removeEventListener("touchmove",z),window.removeEventListener("touchend",R)};return(0,l.useEffect)(()=>{n&&setTimeout(()=>{j(!0),$(!0),A("0")},100),!n&&k&&(A("120%"),j(!1),$(!1))},[k,n]),(0,a.u)(n&&m),(0,i.jsxs)("div",{"data-portal":!0,className:(0,o.A)(b.mobilePopup,k&&b.mobilePopupOpen,g),children:[(0,i.jsx)(h,{onClose:()=>{n&&(null==c||c())},onToucheMove:()=>{n&&(j(!1),window.addEventListener("touchmove",z),window.addEventListener("touchend",R))},isOpen:n,delay:0}),(0,i.jsxs)("div",{className:(0,o.A)(b.content,d&&b.contentFull,C&&b.contentTransition,C&&y&&b.contentTransitionOpen),ref:S,style:{transform:`translateY(${O})`},children:[(0,i.jsx)("div",{className:b.contentLine}),(0,i.jsxs)("div",{className:(0,o.A)(b.contentContainer,s&&b.smallContentContainer,{[b.min]:!w&&!u},f),children:[!!w&&(0,i.jsx)("div",{className:b.title,children:w}),u?(0,i.jsx)("div",{className:b.closeContainer,children:u?x?"function"==typeof x?x():x:(0,i.jsx)("button",{onClick:c,className:b.closeButton,children:(0,i.jsx)(r.a,{size:24})}):null}):null,e]}),t&&(0,i.jsx)(v,{footerClassName:_,isSmallPopup:s,footer:t})]})]})},_=({children:e,isSmallPopup:t=!1,isOpen:n=!1,...l})=>{let{mounted:r}=d({opened:n});return r?(0,i.jsx)(x,{isSmallPopup:t,isOpen:n,...l,children:e}):null};_.displayName="UiMobilePopup";let y="data-portal-users",j=e=>Number(e.getAttribute(y)??0),k=({children:e,id:t="portal-root"})=>{let[n,i]=(0,l.useState)(null);return(0,l.useEffect)(()=>{let e=document.getElementById(t);if(e&&!e.hasAttribute(y))return void i(e);let n=e??document.body.appendChild(document.createElement("div"));return n.id=t,n.setAttribute(y,String(j(n)+1)),i(n),()=>{let e=j(n)-1;n.setAttribute(y,String(e)),e>0||n.remove()}},[t]),n?(0,c.createPortal)(e,n):null}},63914:()=>{},64054:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={bindSnapshot:function(){return s},createAsyncLocalStorage:function(){return a},createSnapshot:function(){return c}};for(var i in n)Object.defineProperty(t,i,{enumerable:!0,get:n[i]});let l=Object.defineProperty(Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,configurable:!0});class r{disable(){throw l}getStore(){}run(){throw l}exit(){throw l}enterWith(){throw l}static bind(e){return e}}let o="u">typeof globalThis&&globalThis.AsyncLocalStorage;function a(){return o?new o:new r}function s(e){return o?o.bind(e):r.bind(e)}function c(){return o?o.snapshot():function(e,...t){return e(...t)}}},66216:(e,t,n)=>{"use strict";n.d(t,{m:()=>s});var i=n(95155),l=n(29722),r=n(83640);n(95179);let o=(0,r.g)("container"),a=Object.freeze({container:o,states:{narrow:`${o}--narrow`}}),s=({children:e,as:t,fluid:n=!1,className:r="",...o})=>(0,i.jsx)(t||"div",{className:(0,l.A)(a.container,r,{[a.states.narrow]:!n}),...o,children:e});s.displayName="Container"},66806:(e,t,n)=>{"use strict";n.d(t,{G:()=>a});var i=n(12115);let l={display:"inline-block",lineHeight:0,backfaceVisibility:"hidden"},r={width:"1em",height:"1em",overflowClipMargin:"content-box",overflow:"hidden"},o=e=>i.createElement("svg",{width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M21.309 22.765a6.932 6.932 0 01-2.016.233c-1.156-.04-2.62-.39-3.927-1.58A9.985 9.985 0 0112 22a9.97 9.97 0 01-7.071-2.929A9.97 9.97 0 012 12C2 6.477 6.477 2 12 2s10 4.477 10 10a9.958 9.958 0 01-1.233 4.814c.07 1.607.354 2.81.617 3.606a7.784 7.784 0 00.424 1.04c.125.248.251.497.15.787-.103.296-.366.44-.65.52zM12 3.5a8.5 8.5 0 103.258 16.353.75.75 0 01.834.178c1.06 1.124 2.278 1.436 3.252 1.469.304.01.584-.007.824-.035a10.45 10.45 0 01-.208-.574c-.317-.96-.641-2.374-.7-4.237a.75.75 0 01.1-.4A8.5 8.5 0 0012 3.5zm-4.209 7.794a1 1 0 10.003-.002l-.003.002zm3.5 0a1 1 0 10.003-.002l-.003.002zm3.502 1.414a1 1 0 01-.002-1.414l.003-.002a1 1 0 110 1.415z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}));function a({className:e,style:t,boxSize:n,size:s,onClick:c}){return i.createElement("span",{className:e,style:{...l,...c&&{cursor:"pointer"},...s&&{fontSize:`${s}px`},...n&&{width:`${n}px`,height:`${n}px`,display:"inline-flex",alignItems:"center",justifyContent:"center"},...t},...c?{role:"button",tabIndex:"0",onClick:c}:{}},i.createElement(o,{viewBox:"0 0 24 24",style:r}))}a.displayName="IconFdsChatDotsCircleO"},68635:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});let i=n(95155),l=n(12115),r=n(41112);function o(e){return{default:e&&"default"in e?e.default:e}}n(21957);let a={loader:()=>Promise.resolve(o(()=>null)),loading:null,ssr:!0},s=function(e){let t={...a,...e},n=(0,l.lazy)(()=>t.loader().then(o)),s=t.loading;function c(e){let o=s?(0,i.jsx)(s,{isLoading:!0,pastDelay:!0,error:null}):null,a=!t.ssr||!!t.loading,c=a?l.Suspense:l.Fragment,u=t.ssr?(0,i.jsxs)(i.Fragment,{children:[null,(0,i.jsx)(n,{...e})]}):(0,i.jsx)(r.BailoutToCSR,{reason:"next/dynamic",children:(0,i.jsx)(n,{...e})});return(0,i.jsx)(c,{...a?{fallback:o}:{},children:u})}return c.displayName="LoadableComponent",c}},72004:(e,t,n)=>{"use strict";n.d(t,{D:()=>b});var i=n(95155),l=n(63114),r=n(12115),o=n(29722),a=n(17966),s=n(16311),c=n(7596);let u=(0,c.g)("drawer-footer","sc"),d=Object.freeze({footer:`${u}__footer`,hasScroll:`${u}__footer--has-scroll`}),p=({footer:e,hasScroll:t,className:n})=>(0,i.jsx)("div",{className:(0,o.A)(d.footer,{[d.hasScroll]:t},n),children:"function"==typeof e?e():e}),m=(0,c.g)("drawer-content","sc"),h=Object.freeze({container:`${m}__container`,open:`${m}--open`,close:`${m}--close`,header:`${m}__header`,rowHeader:`${m}__header--row`,title:`${m}__title`,center:`${m}__title--center`,left:`${m}__title--left`,right:`${m}__title--right`,controlContainer:`${m}__control-container`,content:`${m}__content`,footer:`${m}__footer`}),f=({onClose:e,onContentClick:t,children:n,title:l,rowTitle:a,titleAlign:c,isCloseable:u,footer:d,closeButton:m,isOpen:f,contentClassName:g,footerClassName:v,contentStyle:w,width:b})=>{let x=(0,r.useRef)(null),_=(0,r.useRef)(null),[y,j]=(0,r.useState)(!1);(0,r.useEffect)(()=>{var e;if(!_.current||!x.current)return;let t=(null==(e=null==_?void 0:_.current)?void 0:e.getBoundingClientRect().top)||0,n=null==x?void 0:x.current,i=()=>{let e=null==_?void 0:_.current;e&&j(()=>e.getBoundingClientRect().top!==t)};return n&&n.addEventListener("scroll",i,!1),()=>{null==n||n.removeEventListener("scroll",i,!1)}},[]);let k=w||b?{width:b,...w||{}}:void 0;return(0,i.jsxs)("div",{ref:x,style:k,className:(0,o.A)(h.container,{[h.open]:f,[h.close]:!f},g),children:[l||u?(0,i.jsxs)("div",{className:(0,o.A)(h.header,{[h.rowHeader]:a}),children:[u?m?"function"==typeof m?m():m:(0,i.jsx)("button",{type:"button",className:h.controlContainer,onClick:e,children:(0,i.jsx)(s.a,{size:24})}):null,l?(0,i.jsx)("h3",{className:(0,o.A)(h.title,{[h[c]]:!0}),children:l}):null]}):null,(0,i.jsx)("div",{ref:_,className:h.content,onClick:t,children:n}),d&&(0,i.jsx)(p,{className:(0,o.A)(h.footer,v),footer:d,hasScroll:y})]})},g=(0,c.g)("drawer-layout","sc"),v=Object.freeze({window:`${g}__window`}),w=({onClose:e,isOpen:t,children:n,withDisabledScroll:s,className:c,...u})=>{let d=(0,r.useCallback)(e=>e.stopPropagation(),[]);return(0,a.u)(t&&s),(0,i.jsxs)("div",{"data-portal":!0,className:(0,o.A)(v.window,c),children:[(0,i.jsx)(l.C,{onClose:e,isOpen:t,delay:0}),(0,i.jsx)(f,{onContentClick:d,onClose:e,isOpen:t,...u,children:n})]})},b=({isOpen:e=!1,children:t,titleAlign:n="center",isCloseable:r=!0,withDisabledScroll:o=!0,...a})=>{let{mounted:s}=(0,l.u)({opened:e});return s?(0,i.jsx)(w,{titleAlign:n,isCloseable:r,isOpen:e,withDisabledScroll:o,...a,children:t}):null};b.displayName="Drawer"},75707:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});let i=n(73623)._(n(68635));function l(e,t){let n={};"function"==typeof e&&(n.loader=e);let l={...n,...t};return(0,i.default)({...l,modules:l.loadableGenerated?.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)},77913:(e,t,n)=>{"use strict";let i;n.d(t,{PageLayout:()=>ea}),n(19563);var l=n(95155),r=n(37206);n(3498);var o=n(66216),a=n(29722),s=n(43780),c=n(17806),u=n(55727),d=n(20197);let p=({minioUrl:e,iconName:t,alt:n})=>(0,l.jsx)("img",{width:24,height:24,src:(0,c.oq)(e,`/widgets/footer/${t}.svg`),alt:n,loading:"lazy"}),m=({onClick:e,eventCategory:t,eventActionType:n,eventActionText:i,eventLabel:r,chat:o,onKeyDown:a,...s})=>{let c=()=>{(0,d.h)({eventCategory:t,eventActionType:n||d.D.link,eventActionText:i||"",eventLabel:r})},p=()=>{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,l.jsx)(u.N,{onClick:t=>{null==e||e(t),o&&(null==t||t.preventDefault(),p()),c()},onKeyDown:e=>{null==a||a(e),!(!o||"Enter"!==e.key&&" "!==e.key)&&(e.preventDefault(),e.repeat||(p(),c()))},...s})};var h=n(7596),f=n(24691),g=n(57349),v=n(12989),w=n(39670),b=n(12115),x=n(17807),_=n(72004),y=n(63114);let j=(0,h.g)("footer-contacts-block","sc"),k=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`}),$=(0,h.g)("footer","sc"),C=Object.freeze({wrapper:`${$}__wrapper`,section:`${$}__section`,container:`${$}__container`,top:`${$}__top`,main:`${$}__main`,links:`${$}__links`,disclaimer:`${$}__disclaimer`,bottom:`${$}__bottom`,bottomLinks:`${$}__bottom-links`,bottomDisclaimer:`${$}__bottom-disclaimer`,compact:`${$}__wrapper--compact`,white:`${$}__wrapper--white`}),N="finkit-widgets-sc-footer",O=[{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"}],A=[...O,{title:"Онлайн чат",url:void 0}],S=[{type:"vk",label:"ВКонтакте",className:k.vkIcon,iconName:"vk"},{type:"telegramChannel",label:"Telegram",className:k.tgIcon,iconName:"telegram"},{type:"dzen",label:"Дзен",className:k.dzenIcon,iconName:"dzen"},{type:"max",label:"MAX",className:k.maxIcon,iconName:"max"}],I=(0,l.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,l.jsx)("br",{}),(0,l.jsx)("br",{}),"Группа \xabМосковская Биржа\xbb - ПАО Московская Биржа и юридические лица, находящиеся под прямым или косвенным контролем ПАО Московская Биржа."]}),T=({onClick:e,eventActionText:t,eventLabel:n,...i})=>(0,l.jsx)(f.$,{onClick:i=>{null==e||e(i),(0,d.h)({eventCategory:N,eventActionType:d.D.button,eventActionText:t||"",eventLabel:n})},...i}),z=e=>(0,l.jsx)(m,{eventCategory:N,...e}),R=({minioUrl:e,blogs:t})=>(0,l.jsxs)("div",{className:k.contactsWrapper,children:[(0,l.jsx)(s.E,{className:k.gray,size:"16",weight:"regular",children:"Звоните или пишите"}),(0,l.jsx)("div",{className:k.phones,children:A.map(({title:e,url:t})=>(0,l.jsx)(z,{href:t,role:t?void 0:"button",eventActionText:e,chat:!t,children:e},e))}),(0,l.jsx)(s.E,{className:k.gray,size:"16",weight:"regular",children:"Следите за нами в соцсетях"}),(0,l.jsx)("div",{className:k.contactsButtons,children:S.map(({type:n,label:i,className:r,iconName:o})=>(0,l.jsx)(T,{as:"a",href:null==t?void 0:t[n],target:"_blank","aria-label":i,className:r,iconRight:(0,l.jsx)(p,{minioUrl:e,iconName:o,alt:i}),shape:"circle-icon",variant:"white",eventActionText:n,eventLabel:null==t?void 0:t[n]},n))}),(0,l.jsx)(s.E,{className:k.gray,size:"16",weight:"regular",children:"Канал для инвесторов"}),(0,l.jsx)("div",{className:k.contactsButtons,children:(0,l.jsxs)(z,{href:null==t?void 0:t.investTg,target:"_blank",className:k.link,eventActionText:"telegram",eventLabel:null==t?void 0:t.investTg,children:[(0,l.jsx)(T,{as:"span",tabIndex:-1,"aria-hidden":!0,className:k.tgIcon,iconRight:(0,l.jsx)(p,{minioUrl:e,iconName:"telegram",alt:""}),shape:"circle-icon",variant:"white",eventActionText:"telegram",eventLabel:null==t?void 0:t.investTg}),"Финуслуги Инвест"]})})]}),E=(0,h.g)("footer-disclaimer","sc"),L=Object.freeze({disclaimer:`${E}`}),P=e=>{let t=e=>{e.target instanceof HTMLAnchorElement&&(0,d.h)({eventCategory:N,eventActionType:d.D.link,eventActionText:e.target.textContent||"",eventLabel:e.target.href})};return e.disclaimer?(0,l.jsx)("div",{className:(0,a.A)(e.className,L.disclaimer),dangerouslySetInnerHTML:{__html:e.disclaimer||""},onClick:t}):(0,l.jsx)("div",{className:(0,a.A)(e.className,L.disclaimer),onClick:t,children:e.children})},B=(0,h.g)("footer-modal-body","sc"),M=Object.freeze({wrapper:`${B}__wrapper`,title:`${B}__title`,item:`${B}__item`,label:`${B}__label`,button:`${B}__button`,description:`${B}__description`}),W=({directions:e})=>(0,l.jsxs)("div",{className:M.wrapper,children:[(0,l.jsx)("div",{className:M.title,children:"Направления"}),e.map(e=>(0,l.jsxs)(z,{className:M.item,href:e.url,target:"_blank",eventActionText:e.name,eventLabel:`${e.name}_${e.url}`,children:[(0,l.jsxs)("div",{className:M.label,children:[(0,l.jsx)("span",{children:e.name}),(0,l.jsx)(T,{className:M.button,iconRight:(0,l.jsx)(g.K,{size:28}),shape:"circle-icon",eventActionText:"IconFdsArrowUpRightSmallO"})]}),(0,l.jsx)("p",{className:M.description,children:e.description})]},e.url))]}),U=(0,h.g)("footer-popup","sc"),F=Object.freeze({wrapper:`${U}__wrapper`,button:`${U}__button`,icon:`${U}__icon`,buttonWrapper:`${U}__button-wrapper`}),D=({directions:e})=>{let t=(0,x.qF)("l"),[n,i]=(0,b.useState)(!1),r=()=>{i(!1)};return(0,l.jsxs)("div",{className:F.wrapper,children:[(0,l.jsx)("div",{className:F.buttonWrapper,children:(0,l.jsx)(T,{className:F.button,appearance:"ghost",variant:"white",onClick:()=>{i(!0)},label:"Все направления",eventActionText:"Все направления",iconLeft:(0,l.jsx)("div",{className:F.icon,children:[1,2,3,4,5,6,7,8,9].map(e=>(0,l.jsx)("div",{},e))})})}),(0,l.jsxs)(y.P,{children:[!t&&(0,l.jsx)(y.U,{isOpen:n,onClose:r,full:!0,children:(0,l.jsx)(W,{directions:e})}),t&&(0,l.jsx)(_.D,{isOpen:n,onClose:r,width:"804px",children:(0,l.jsx)(W,{directions:e})})]})]})},H=(0,h.g)("footer-left-column","sc"),V=Object.freeze({leftColumn:`${H}__left-column`,logoWrapper:`${H}__logo-wrapper`,banner:`${H}__banner`,bannerButton:`${H}__banner-button`,mobAppLink:`${H}__mob-app-link`,br:`${H}__br`}),q=({showcaseUrl:e,minioUrl:t,directions:n,mobAppUrl:i})=>{let r=((e="")=>{let[t,n]=(0,b.useState)(e);return(0,b.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[r,o=""]=e.split("?"),a=new URLSearchParams(o);l.forEach((e,t)=>{a.has(t)||a.set(t,e)});let s=a.toString();n(s?`${r}?${s}`:r)},[e]),t})(i),o=(0,w.u)({target:w.W,fallbackHref:r});return(0,l.jsxs)("div",{className:V.leftColumn,children:[(0,l.jsx)(z,{className:V.logoWrapper,href:e,eventActionType:d.D.icon,eventActionText:"finuslugi_logo",eventLabel:`finuslugi_logo_${e}`,children:(0,l.jsx)("img",{src:(0,c.oq)(t,"/widgets/footer/finuslugi_base_logo.svg"),alt:"finuslugi logo",loading:"lazy"})}),(0,l.jsx)(D,{directions:n??[]}),(0,l.jsx)(z,{href:o.href,target:"_blank",eventActionType:d.D.banner,eventActionText:"Управляйте финансами через приложение Финуслуг",eventLabel:o.href,className:V.mobAppLink,onClick:o.onClick,children:(0,l.jsxs)(v.Z,{className:V.banner,children:[(0,l.jsxs)(s.E,{weight:"medium",children:["Управляйте финансами",(0,l.jsx)("br",{}),"через приложение",(0,l.jsx)("br",{className:V.br})," Финуслуг"]}),(0,l.jsx)(T,{as:"span",tabIndex:-1,"aria-hidden":!0,className:V.bannerButton,iconRight:(0,l.jsx)(g.K,{size:32}),shape:"circle-icon",variant:"white",eventActionText:"IconFdsArrowUpRightSmallO"}),(0,l.jsxs)("picture",{children:[(0,l.jsx)("source",{srcSet:(0,c.oq)(t,"/widgets/footer/apps_d.webp"),media:"(min-width: 1024px)"}),(0,l.jsx)("img",{src:(0,c.oq)(t,"/widgets/footer/apps_m.webp"),alt:"иллюстрация мобильного приложения",loading:"lazy"})]})]})})]})},G=(0,h.g)("footer-logo","sc"),J=Object.freeze({wrapper:`${G}__wrapper`,link:`${G}__link`,fromMoex:`${G}__from-moex`,logo:`${G}__logo`,white:`${G}__wrapper--white`}),Y=({showcaseUrl:e,minioUrl:t,isWhite:n})=>(0,l.jsx)("div",{className:(0,a.A)(J.wrapper,{[J.white]:n}),children:(0,l.jsxs)(z,{className:J.link,href:e,eventActionType:d.D.icon,eventActionText:"finuslugi_logo",eventLabel:`finuslugi_logo_${e}`,children:[(0,l.jsx)("img",{className:J.logo,src:`${t}/images/logo-brandmark-common-finuslugi.svg`,loading:"lazy"}),(0,l.jsx)("img",{className:J.fromMoex,src:`${t}/images/fromMoex.svg`,loading:"lazy"})]})});var K=((i=K||{}).BLACK="black",i.GRAY="gray",i);let Z=(0,h.g)("footer-warning","sc"),X=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`}),Q=({text:e,variant:t,fixed:n,isPlaceholder:i})=>(0,l.jsx)("div",{className:(0,a.A)(X.wrapper,{[X.wrapperGray]:"gray"===t,[X.fixed]:n&&!i}),children:(0,l.jsx)(o.m,{className:X.container,children:(0,l.jsx)("div",{className:(0,a.A)(X.text,{[X.invisibleText]:i}),dangerouslySetInnerHTML:{__html:e}})})}),ee=({warning:e})=>{let t="string"==typeof e?{text:e}:e,n={text:t.text,fixed:t.fixed??!0,variant:t.variant??K.BLACK};return(0,l.jsxs)("div",{className:X.reservedSpace,children:[(0,l.jsx)(Q,{...n,isPlaceholder:n.fixed}),n.fixed&&(0,l.jsx)(Q,{...n,fixed:!0})]})},et=({data:e,showcaseUrl:t="https://finuslugi.ru",minioUrl:n="https://assets.finuslugi.ru/mp-assets",customDisclaimer:i,variant:r="default",className:s})=>{var c,u;let d=!i&&null!=e&&e.disclaimer?e.disclaimer:void 0,p=r.includes("compact"),m=r.includes("white"),h=null==(c=null==e?void 0:e.bottom)?void 0:c.concat(p?O:[]),f=e&&"warning"in e?e.warning:void 0;return e?(0,l.jsx)("footer",{className:(0,a.A)(C.wrapper,s,{[C.compact]:p,[C.white]:m}),children:(0,l.jsxs)("section",{className:C.section,children:[(0,l.jsxs)(o.m,{className:C.container,children:[!p&&(0,l.jsx)(q,{showcaseUrl:t,minioUrl:n,directions:null==e?void 0:e.directions,mobAppUrl:null==e?void 0:e.mobAppUrl}),(0,l.jsx)("div",{className:C.wrapper,children:(0,l.jsxs)("div",{className:C.top,children:[(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{className:C.main,children:[!p&&(0,l.jsx)("div",{className:C.links,children:null==(u=null==e?void 0:e.top)?void 0:u.map(e=>(0,l.jsx)(z,{href:e.url,eventActionText:e.title,eventLabel:e.url,children:e.title},e.url))}),p&&(0,l.jsx)(Y,{showcaseUrl:t,minioUrl:n,isWhite:m}),(0,l.jsx)(P,{className:C.disclaimer,disclaimer:d,children:i||I})]}),(0,l.jsxs)("div",{className:C.bottom,children:[(0,l.jsx)("div",{className:C.bottomLinks,children:null==h?void 0:h.map(e=>(0,l.jsx)(z,{href:e.url,eventActionText:e.title,eventLabel:e.url,children:e.title},e.url))}),(0,l.jsx)(P,{className:C.bottomDisclaimer,disclaimer:null==e?void 0:e.bottomDisclaimer})]})]}),!p&&(0,l.jsx)(R,{minioUrl:n,blogs:null==e?void 0:e.blogs})]})})]}),p&&!!f&&(0,l.jsx)(ee,{warning:f})]})}):null};var en=n(6887),ei=n(19766);let el=(0,h.g)("page-layout","sc"),er=Object.freeze({main:`${el}__main`}),eo=(0,r.default)(()=>Promise.all([n.e(8168),n.e(1504)]).then(n.bind(n,41504)).then(e=>e.CookiesPlate),{loadableGenerated:{webpack:()=>[require.resolveWeak("../sc-cookies-plate/index.mjs")]},ssr:!1}),ea=function({initialGeo:e,headerData:t,certificatesWarningProduct:n,footerData:i,showStartGeoPopup:r=!1,citySelectProviderProps:o,children:a}){let{region:s,town:c}=e??{},u=(null==o?void 0:o.showcaseUrl)??"";return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(ei.C,{...o,showcaseUrl:u,showStartGeoPopup:r,initialRegion:s,initialTown:c,children:[t&&(0,l.jsx)(en.Y9,{...t,certificatesWarningProduct:n??t.certificatesWarningProduct}),(0,l.jsx)("main",{className:er.main,children:a}),i&&(0,l.jsx)(et,{...i})]}),(0,l.jsx)(eo,{})]})}},83640:(e,t,n)=>{"use strict";function i(e){return`finkit-modular-${e}`}n.d(t,{g:()=>i})},86253:(e,t,n)=>{"use strict";n.d(t,{l:()=>i});let i={display:"-webkit-box",WebkitBoxOrient:"vertical",overflow:"hidden"}},87978:(e,t,n)=>{"use strict";n.d(t,{a:()=>m});var i=n(95155),l=n(12115),r=n(29722),o=n(26048),a=n(42879),s=n(83640);function c(e){return l.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("path",{d:"M15.827 2.761A10.001 10.001 0 1 0 12 22a.75.75 0 0 0 .75-.75v-.004a.75.75 0 0 0-.75-.75A8.496 8.496 0 1 1 20.496 12c0 .414.336.75.75.75h.004A.75.75 0 0 0 22 12a10 10 0 0 0-6.173-9.239Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}n(52886);let u=["xxs","xs","s","m","l"],d=(0,s.g)("button"),p={button:d,label:`${d}__label`,icon:`${d}__icon`,spinner:`${d}__spinner`,states:{ghost:`${d}--ghost`,outline:`${d}--outline`,stretch:`${d}--stretch`,iconOnly:`${d}--icon-only`,iconLeft:`${d}--icon-left`,iconRight:`${d}--icon-right`,rounded:`${d}--rounded`,disabled:`${d}--disabled`,hidden:`${d}--hidden`}},m=(0,l.forwardRef)(({as:e,appearance:t="fill",children:n,className:s,disabled:d=!1,iconLeft:m,iconRight:h,label:f,pending:g,shape:v="default",size:w="m",stretch:b=!1,variant:x="primary",type:_,dataId:y,dataQa:j,style:k,onClick:$,...C},N)=>{let O=e||"button",A=f||n,S=(0,l.useMemo)(()=>"icon"===v||"circle-icon"===v,[v]),I="string"==typeof w&&u.includes(w),T=(0,l.useMemo)(()=>{let e={};if(w&&!I){let t=w?"string"==typeof w?w.split(" ").map(e=>{if(e.includes("-")){let t=e.indexOf("-");return[e.substring(0,t),e.substring(t+1,e.length)]}return[e]}).reduce((e,[t,n])=>({...e,[t]:void 0===n||n}),{}):w:{};e=a.B.reduce((e,n)=>{let i="xs"===n?`${p.button}--${t[n]}`:`${p.button}--${t[n]}-${n}`;return{...e,[i]:!!t[n]}},{})}return e},[I,w]),z=(0,l.useMemo)(()=>({[p.button]:!0,[`${p.button}--${x}`]:!0,[`${p.button}--${w}`]:I,[p.states.iconOnly]:S,[p.states.stretch]:!0===b,[`${p.states.stretch}:${b}`]:"string"==typeof b,[p.states.ghost]:"ghost"===t,[p.states.outline]:"outline"===t,[p.states.rounded]:"circle-icon"===v,[p.states.iconLeft]:m&&!S,[p.states.iconRight]:h&&!S,[p.states.disabled]:d,...T}),[t,d,m,S,h,I,T,v,w,b,x]),R=(0,l.useMemo)(()=>!!h&&(!S||!m),[m,h,S]),E=(0,l.useCallback)(e=>{d?e.preventDefault():null==$||$(e)},[$,d]);return(0,i.jsxs)(O,{className:(0,r.A)(s,{...z}),ref:N,style:k,type:"button"===O?_||"button":void 0,disabled:"button"===O?d:void 0,"aria-disabled":d||void 0,tabIndex:d?-1:0,onClick:E,...C,"data-qa":j,"data-id":y,children:[m&&(0,i.jsx)("span",{role:"img","aria-hidden":"true",className:(0,r.A)(p.icon,{[p.states.hidden]:g}),children:m}),A&&!S&&(0,i.jsx)("span",{className:(0,r.A)(p.label,{[p.states.hidden]:g}),children:A}),R&&(0,i.jsx)("span",{role:"img","aria-hidden":"true",className:(0,r.A)(p.icon,{[p.states.hidden]:g}),children:h}),g&&(0,i.jsx)("span",{role:"img","aria-hidden":"true",className:p.spinner,children:(0,i.jsx)(o.P,{children:(0,i.jsx)(c,{})})})]})});m.displayName="Button"},94344:(e,t,n)=>{"use strict";n.d(t,{_:()=>a});var i=n(12115);let l={display:"inline-block",lineHeight:0,backfaceVisibility:"hidden"},r={width:"1em",height:"1em",overflowClipMargin:"content-box",overflow:"hidden"},o=e=>i.createElement("svg",{width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M11.28 17.03l4.5-4.5a.75.75 0 000-1.06l-4.5-4.5a.75.75 0 10-1.06 1.06L14.19 12l-3.97 3.97a.75.75 0 101.06 1.06z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}));function a({className:e,style:t,boxSize:n,size:s,onClick:c}){return i.createElement("span",{className:e,style:{...l,...c&&{cursor:"pointer"},...s&&{fontSize:`${s}px`},...n&&{width:`${n}px`,height:`${n}px`,display:"inline-flex",alignItems:"center",justifyContent:"center"},...t},...c?{role:"button",tabIndex:"0",onClick:c}:{}},i.createElement(o,{viewBox:"0 0 24 24",style:r}))}a.displayName="IconFdsChevronRightSmallO"},95179:()=>{}}]);