(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,[12569,e=>{e.s(["l",0,{display:"-webkit-box",WebkitBoxOrient:"vertical",overflow:"hidden"}])},8145,13757,e=>{var t=e.i(43476),n=e.i(7670),i=e.i(12569);let l=Object.freeze({text:(0,e.i(54061).g)("text")});function o({as:e,className:a,style:s,children:r,size:c,weight:u,lineClamp:d,dataQa:m,dataId:p,...g}){return(0,t.jsx)(e||"span",{className:(0,n.f)(l.text,a),style:{...c&&{fontSize:`var(--font-size-${c})`,lineHeight:`var(--font-line-height-${c})`},...u&&{fontWeight:`var(--font-weight-${u})`},...d&&{WebkitLineClamp:d,lineClamp:d,...i.l},...s},...g,"data-id":p,"data-qa":m,children:r})}o.displayName="Text",e.s([],8145),e.s(["f",0,o],13757)},57029,34650,83657,e=>{var t=e.i(71645),n=e.i(43476),i=e.i(63687),l=e.i(24359);let o=(0,e.i(22468).g)("header","sc"),a=Object.freeze({header:`${o}`,fixed:`${o}__fixed`,hidden:`${o}__fixed--hidden`,transparent:`${o}--transparent`,navigationOpen:`${o}__navigation-open`,container:`${o}__container`,leftRow:`${o}__left-row`,logo:`${o}__logo`,menuItems:`${o}__menu-items`,menuItemActive:`${o}__menu-item-active`,tabletMenuButton:`${o}__tablet-menu-button`,buttonGroup:`${o}__button-group`,chips:`${o}__chips`,menuButton:`${o}__menu-button`,moreButtons:`${o}__more-buttons`,auth:`${o}__auth`,whiteIcons:`${o}__white-icons`,close:`${o}__close`,removed:`${o}__removed`,overlay:`${o}__overlay`,overlayOpening:`${o}__overlay--opening`,overlayClosing:`${o}__overlay--closing`}),s="user_region",r="user_town",c=[{id:"FINPRODUCTS",label:"Финпродукты"},{id:"NAVIGATOR",label:"Журнал"},{id:"ABOUT",label:"О маркетплейсе"}],u=c.reduce((e,t)=>(e[t.id]=t.label,e),{}),d=Object.freeze({mobile:56,desktop:80});e.s(["F",0,d,"H",0,"cb-header","U",0,s,"a",0,u,"b",0,c,"c",0,r,"s",0,a],34650);let m={userRegion:s,userTown:r,allRegions:"all_regions",lastRegionsUpdateUnixTimestamp:"lastRegionsUpdateUnixTimestamp",allRussiaSelected:"all_russia_selected"},p={userRegion:s,userTown:r,allRegions:"all_regions_new_api",lastRegionsUpdateUnixTimestamp:"lastRegionsUpdateUnixTimestamp_new_api",allRussiaSelected:"all_russia_selected"},g=(e=!1)=>e?p:m,f=(e,t=!1)=>{if(t){window.allRegionsNewApi=e;return}window.allRegions=e},h=e=>Array.isArray(e.towns)?e.towns:[],w=(e,t)=>{if(!e||!t)return!1;if(e.url!==t.url)return!0;let n=h(e);return n.length>1||n.some(({main:e})=>!e)},_=(e,t,n=!1)=>{if(typeof document>"u")return;let i=g(n);if(!e&&!t){l.a.removeItem(i.userRegion),l.a.removeItem(i.userTown);return}l.a.setItem(i.userRegion,JSON.stringify((e=>{if(!e)return null;let t=h(e).find(({main:e})=>!!e);return{...e,towns:t?[t]:[]}})(e))||"",{"max-age":31536e3}),l.a.setItem(i.userTown,JSON.stringify(t)||"",{"max-age":31536e3})},v=e=>{if(typeof document>"u")return null;let t=l.a.getItem(e)??void 0;if(!t||"undefined"===t)return null;try{return JSON.parse(decodeURIComponent(t))}catch{return null}},x=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},b=(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=x(g(e).allRegions)||[];return f(n,e),n},j=e=>e.some(e=>e.towns.some(e=>!!e.newId||!!e.fiasId)),y=(e,t=!1)=>!(e.length<1)&&(!t||j(e)),$=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]),[])},N=(e,t)=>`${e.replace(/\/+$/,"")}${t}`,C=(e,t)=>N(e||"https://finuslugi.ru",t),k=async e=>{try{return await (await fetch(e)).json()}catch(e){console.warn(e)}return null},S=(e,t=!1)=>{if(e.length<1)return;let n=g(t);f(e,t),window.localStorage.setItem(n.allRegions,JSON.stringify(e)),window.localStorage.setItem(n.lastRegionsUpdateUnixTimestamp,JSON.stringify(Date.now()))},T=(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}},A=(e,t)=>(!!e||!!t)&&!(null!=e&&e.newId)&&!(null!=e&&e.fiasId)&&!(null!=t&&t.newId)&&!(null!=t&&t.fiasId),R=(e,t)=>!!(null!=e&&e.newId||null!=e&&e.fiasId||null!=t&&t.newId||null!=t&&t.fiasId),I=async e=>{let t=await k(C(e,"/money_data/Root.json?short=1")),n=Array.isArray(null==t?void 0:t.regions)?t.regions:[];return S(n),n},z=async e=>{let t,n,[i,l]=await Promise.all([k(N(e,"/sc/api/v1/cities?all=true&isActive=true")),k(N(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 o=i.content,a=(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),{}),o.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 j(a)?(S(a,!0),a):[]},O=async({showcaseUrl:e="",useNewCitiesApi:t=!1}={})=>t?z(e):I(e),U=async e=>{let t=null;try{t=await (await fetch(`${e}`,{method:"GET"})).json()}catch(e){console.warn(e)}return t||null},E=(e,t,n)=>{(0,i.h)({eventCategory:"finkit-widgets-sc-city-select",eventActionType:e,eventActionText:t,eventLabel:n})};e.s(["a",0,$,"b",0,T,"c",0,R,"d",0,C,"e",0,g,"f",0,v,"g",0,b,"h",0,E,"i",0,y,"j",0,A,"k",0,w,"l",0,O,"m",0,U,"p",0,x,"s",0,_],83657);let L={display:"inline-block",lineHeight:0,backfaceVisibility:"hidden"},P={width:"1em",height:"1em",overflowClipMargin:"content-box",overflow:"hidden"},B=e=>t.createElement("svg",{width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.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:n,boxSize:i,size:l,onClick:o}){return t.default.createElement("span",{className:e,style:{...L,...o&&{cursor:"pointer"},...l&&{fontSize:`${l}px`},...i&&{width:`${i}px`,height:`${i}px`,display:"inline-flex",alignItems:"center",justifyContent:"center"},...n},...o?{role:"button",tabIndex:"0",onClick:o}:{}},t.default.createElement(B,{viewBox:"0 0 24 24",style:P}))}D.displayName="IconFdsLocationO";let M=b(),W=$(M),H={regions:M,towns:W,region:null,town:null,startPopupVisible:!1,setStartPopupVisible:()=>null,popupVisible:!1,handleToggleModal:()=>null,selectCity:()=>null,handleButtonClick:()=>null,startRegion:null,startTown:null},V=(0,t.createContext)(H);e.s(["C",0,({children:e,initialRegion:l,initialTown:o,showStartGeoPopup:a=!0,lastRegionsUpdateUnixTimestamp:s,showcaseUrl:r="",dadataUrl:c=C(r,"/backend/money/dadata"),useNewCitiesApi:u=!1})=>{let d=g(u),m=Number(x(d.lastRegionsUpdateUnixTimestamp)||0),p=Number(s||0)>m,[f,h]=(0,t.useState)(b(u)),j=(0,t.useRef)(f),[{startRegion:N,startTown:k},S]=(0,t.useState)({startRegion:H.startRegion,startTown:H.startTown}),I=l??H.region,z=o??H.town,[{region:L,town:P},B]=(0,t.useState)({region:I,town:z}),[D,M]=(0,t.useState)(H.startPopupVisible),[W,J]=(0,t.useState)(H.popupVisible),K=(0,t.useRef)(""),G=(0,t.useRef)(!1),F=(0,t.useMemo)(()=>$(f),[f]);(0,t.useEffect)(()=>{j.current=f},[f]);let X=(0,t.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)||""),M(!0),S({startRegion:e,startTown:t})},[M,S]),Y=(0,t.useCallback)((e,t)=>{window.sessionStorage.getItem("start_popup_opened")||X(e,t)},[X]),q=(0,t.useCallback)(()=>{if(K.current&&!L&&!P){let e=F.find(e=>e.name===K.current)??null;return Y(f.find(t=>t.id===(null==e?void 0:e.parentId))??null,e)}Y(L,P)},[L,P,F,f,Y]),Q=(0,t.useCallback)(e=>{J(e)},[J]),Z=(0,t.useCallback)((e,t)=>{if(!e&&!t){window.localStorage.setItem(d.allRussiaSelected,"1"),window.localStorage.setItem(d.userRegion,""),window.localStorage.setItem(d.userTown,""),_(null,null,u);return}window.localStorage.setItem(d.allRussiaSelected,"0"),window.localStorage.setItem(d.userRegion,JSON.stringify(e)||""),window.localStorage.setItem(d.userTown,JSON.stringify(t)||""),_(e||null,t||null,u)},[d,u]),ee=(0,t.useCallback)(e=>{e?E(i.D.icon,"location"):E(i.D.button,(null==P?void 0:P.name)||"Вся Россия"),!a||window.sessionStorage.getItem("start_popup_opened")?Q(!0):q()},[a,P,Q,q]),et=(0,t.useCallback)((e,t)=>{Z(e,t),B({region:e||null,town:t||null}),M(!1),Q(!1);let n=new CustomEvent("onRegionChange",{detail:{region:e,town:t}});document.dispatchEvent(n)},[Q,Z]),en=()=>{let e=v(d.userRegion),t=e??x(d.userRegion),n=v(d.userTown)??x(d.userTown),i=T(j.current,t,n),l=u&&A(t,n);w(e,i.region)&&_(i.region,i.town,u),l&&(G.current=!0),l&&R(i.region,i.town)&&(Z(i.region,i.town),G.current=!1),B(i);let o=async({coords:{latitude:e,longitude:t}})=>{let n=`${c}?lat=${e}&lon=${t}`,i=await U(n);null!=i&&i.location&&(K.current=i.location.data.city)};if(!window.localStorage.getItem("dadata")&&navigator.geolocation&&a)try{navigator.geolocation.getCurrentPosition(o,()=>null)}catch{}};return(0,t.useEffect)(()=>{(!y(f,u)||p)&&O({showcaseUrl:r,useNewCitiesApi:u}).then(e=>{e.length<1||h(e)})},[]),(0,t.useEffect)(()=>{let e=T(f,L,P);G.current&&R(e.region,e.town)&&(Z(e.region,e.town),G.current=!1),B(e)},[f,L,Z,P]),(0,t.useEffect)(()=>{if(window.innerWidth<1024){let e=()=>{en(),window.removeEventListener("scroll",e)};window.addEventListener("scroll",e)}else setTimeout(()=>{en()},0)},[]),(0,n.jsx)(V.Provider,{value:{regions:f,towns:F,region:L,town:P,startPopupVisible:D,setStartPopupVisible:M,popupVisible:W,handleToggleModal:Q,selectCity:et,handleButtonClick:ee,startRegion:N,startTown:k},children:e})},"Y",0,D,"a",0,e=>{let[n,i]=(0,t.useState)(e);return(0,t.useEffect)(()=>{e&&i(!0)},[e]),e||n},"u",0,function(){return(0,t.useContext)(V)}],57029)},35206,e=>{var t=e.i(43476),n=e.i(23123),i=e.i(71645),l=e.i(7670),o=e.i(40383),a=e.i(30382),s=e.i(22468);let r=(0,s.g)("drawer-footer","sc"),c=Object.freeze({footer:`${r}__footer`,hasScroll:`${r}__footer--has-scroll`}),u=({footer:e,hasScroll:n,className:i})=>(0,t.jsx)("div",{className:(0,l.f)(c.footer,{[c.hasScroll]:n},i),children:"function"==typeof e?e():e}),d=(0,s.g)("drawer-content","sc"),m=Object.freeze({container:`${d}__container`,open:`${d}--open`,close:`${d}--close`,header:`${d}__header`,rowHeader:`${d}__header--row`,title:`${d}__title`,center:`${d}__title--center`,left:`${d}__title--left`,right:`${d}__title--right`,controlContainer:`${d}__control-container`,content:`${d}__content`,footer:`${d}__footer`}),p=({onClose:e,onContentClick:n,children:o,title:s,rowTitle:r,titleAlign:c,isCloseable:d,footer:p,closeButton:g,isOpen:f,contentClassName:h,footerClassName:w,contentStyle:_,width:v})=>{let x=(0,i.useRef)(null),b=(0,i.useRef)(null),[j,y]=(0,i.useState)(!1);(0,i.useEffect)(()=>{var e;if(!b.current||!x.current)return;let t=(null==(e=null==b?void 0:b.current)?void 0:e.getBoundingClientRect().top)||0,n=null==x?void 0:x.current,i=()=>{let e=null==b?void 0:b.current;e&&y(()=>e.getBoundingClientRect().top!==t)};return n&&n.addEventListener("scroll",i,!1),()=>{null==n||n.removeEventListener("scroll",i,!1)}},[]);let $=_||v?{width:v,..._||{}}:void 0;return(0,t.jsxs)("div",{ref:x,style:$,className:(0,l.f)(m.container,{[m.open]:f,[m.close]:!f},h),children:[s||d?(0,t.jsxs)("div",{className:(0,l.f)(m.header,{[m.rowHeader]:r}),children:[d?g?"function"==typeof g?g():g:(0,t.jsx)("button",{type:"button",className:m.controlContainer,onClick:e,children:(0,t.jsx)(a.a,{size:24})}):null,s?(0,t.jsx)("h3",{className:(0,l.f)(m.title,{[m[c]]:!0}),children:s}):null]}):null,(0,t.jsx)("div",{ref:b,className:m.content,onClick:n,children:o}),p&&(0,t.jsx)(u,{className:(0,l.f)(m.footer,w),footer:p,hasScroll:j})]})},g=(0,s.g)("drawer-layout","sc"),f=Object.freeze({window:`${g}__window`}),h=({onClose:e,isOpen:a,children:s,withDisabledScroll:r,className:c,...u})=>{let d=(0,i.useCallback)(e=>e.stopPropagation(),[]);return(0,o.u)(a&&r),(0,t.jsxs)("div",{"data-portal":!0,className:(0,l.f)(f.window,c),children:[(0,t.jsx)(n.C,{onClose:e,isOpen:a,delay:0}),(0,t.jsx)(p,{onContentClick:d,onClose:e,isOpen:a,...u,children:s})]})},w=({isOpen:e=!1,children:i,titleAlign:l="center",isCloseable:o=!0,withDisabledScroll:a=!0,...s})=>{let{mounted:r}=(0,n.u)({opened:e});return r?(0,t.jsx)(h,{titleAlign:l,isCloseable:o,isOpen:e,withDisabledScroll:a,...s,children:i}):null};w.displayName="Drawer",e.s(["D",0,w])},23123,e=>{var t=e.i(43476),n=e.i(71645),i=e.i(30382),l=e.i(7670),o=e.i(40383),a=e.i(22468),s=e.i(74080);let r=300,c=({opened:e})=>{let[t,i]=(0,n.useState)(!1),l=(0,n.useRef)(null),o=(0,n.useRef)(!1);return(0,n.useEffect)(()=>(e&&!o.current?(o.current=!0,i(!0)):!e&&o.current&&(l.current=setTimeout(()=>{o.current=!1,i(!1)},r)),()=>{l.current&&clearTimeout(l.current)}),[e]),{mounted:t}},u=(0,a.g)("click-outside","sc"),d=Object.freeze({overlay:`${u}__overlay`,open:`${u}--open`,close:`${u}--close`}),m=({onClose:e,onToucheMove:i,isOpen:o,delay:a=r})=>{let s=(0,n.useRef)(null),c=(0,n.useCallback)(()=>{e&&(s.current=setTimeout(()=>{e()},a))},[a,e]),u=(0,n.useCallback)(e=>{"Escape"===e.key&&c()},[c]);return(0,n.useEffect)(()=>(o&&window.addEventListener("keydown",u),()=>{s.current&&clearTimeout(s.current),window.removeEventListener("keydown",u)}),[o,u]),(0,t.jsx)("div",{className:(0,l.f)(d.overlay,{[d.open]:o,[d.close]:!o}),onTouchStart:i,onClick:c})},p=(0,a.g)("mobile-modal-footer","sc"),g=Object.freeze({footer:`${p}__footer`,footerWithoutShadow:`${p}__footer--without-shadow`}),f=({footer:e,isSmallPopup:n=!1,footerClassName:i})=>(0,t.jsx)("div",{className:(0,l.f)(g.footer,n&&g.footerWithoutShadow,i),children:"function"==typeof e?e():e}),h=(0,a.g)("mobile-popup","sc"),w=Object.freeze({mobilePopup:`${h}`,mobilePopupOpen:`${h}--open`,content:`${h}__content`,contentFull:`${h}__content--full`,contentTransition:`${h}__content--transition`,contentTransitionOpen:`${h}__content--transition-open`,contentLine:`${h}__content-line`,contentContainer:`${h}__content-container`,smallContentContainer:`${h}__content-container--small`,min:`${h}__content-container--min`,title:`${h}__title`,closeContainer:`${h}__close-container`,closeButton:`${h}__close-button`}),_=({children:e,footer:a,isOpen:s,isSmallPopup:r,onClose:c,hasCloseButton:u=!0,full:d,touchDistance:p=100,withDisabledScroll:g=!0,contentClassName:h,className:_,title:v,closeButton:x,footerClassName:b})=>{let[j,y]=(0,n.useState)(!1),[$,N]=(0,n.useState)(!1),[C,k]=(0,n.useState)(!0),[S,T]=(0,n.useState)("120%"),A=(0,n.useRef)(null),R=(0,n.useRef)(0),I=(0,n.useRef)(!1),z=e=>{var t,n,i;let l=null==(t=A.current)?void 0:t.offsetTop,o=null==(n=A.current)?void 0:n.offsetHeight;if(I.current=!0,k(!1),l&&o){let t=(null==(i=null==e?void 0:e.touches[0])?void 0:i.clientY)-l,n=0;t>=0&&t<=o+30&&(n=t),t>o+30&&(n=o+30),T(`${n}px`),R.current=n}},O=()=>{I.current&&(R.current>p&&c?null==c||c():T("0"),k(!0),I.current=!1),window.removeEventListener("touchmove",z),window.removeEventListener("touchend",O)};return(0,n.useEffect)(()=>{s&&setTimeout(()=>{y(!0),N(!0),T("0")},100),!s&&$&&(T("120%"),y(!1),N(!1))},[$,s]),(0,o.u)(s&&g),(0,t.jsxs)("div",{"data-portal":!0,className:(0,l.f)(w.mobilePopup,$&&w.mobilePopupOpen,_),children:[(0,t.jsx)(m,{onClose:()=>{s&&(null==c||c())},onToucheMove:()=>{s&&(y(!1),window.addEventListener("touchmove",z),window.addEventListener("touchend",O))},isOpen:s,delay:0}),(0,t.jsxs)("div",{className:(0,l.f)(w.content,d&&w.contentFull,C&&w.contentTransition,C&&j&&w.contentTransitionOpen),ref:A,style:{transform:`translateY(${S})`},children:[(0,t.jsx)("div",{className:w.contentLine}),(0,t.jsxs)("div",{className:(0,l.f)(w.contentContainer,r&&w.smallContentContainer,{[w.min]:!v&&!u},h),children:[!!v&&(0,t.jsx)("div",{className:w.title,children:v}),u?(0,t.jsx)("div",{className:w.closeContainer,children:u?x?"function"==typeof x?x():x:(0,t.jsx)("button",{onClick:c,className:w.closeButton,children:(0,t.jsx)(i.a,{size:24})}):null}):null,e]}),a&&(0,t.jsx)(f,{footerClassName:b,isSmallPopup:r,footer:a})]})]})},v=({children:e,isSmallPopup:n=!1,isOpen:i=!1,...l})=>{let{mounted:o}=c({opened:i});return o?(0,t.jsx)(_,{isSmallPopup:n,isOpen:i,...l,children:e}):null};v.displayName="UiMobilePopup";let x="data-portal-users",b=e=>Number(e.getAttribute(x)??0);e.s(["C",0,m,"P",0,({children:e,id:t="portal-root"})=>{let[i,l]=(0,n.useState)(null);return(0,n.useEffect)(()=>{let e=document.getElementById(t);if(e&&!e.hasAttribute(x))return void l(e);let n=e??document.body.appendChild(document.createElement("div"));return n.id=t,n.setAttribute(x,String(b(n)+1)),l(n),()=>{let e=b(n)-1;n.setAttribute(x,String(e)),e>0||n.remove()}},[t]),i?(0,s.createPortal)(e,i):null},"U",0,v,"u",0,c])},86473,e=>{var t=e.i(71645);let n={display:"inline-block",lineHeight:0,backfaceVisibility:"hidden"},i={width:"1em",height:"1em",overflowClipMargin:"content-box",overflow:"hidden"},l=e=>t.createElement("svg",{width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.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 o({className:e,style:a,boxSize:s,size:r,onClick:c}){return t.default.createElement("span",{className:e,style:{...n,...c&&{cursor:"pointer"},...r&&{fontSize:`${r}px`},...s&&{width:`${s}px`,height:`${s}px`,display:"inline-flex",alignItems:"center",justifyContent:"center"},...a},...c?{role:"button",tabIndex:"0",onClick:c}:{}},t.default.createElement(l,{viewBox:"0 0 24 24",style:i}))}o.displayName="IconFdsChatDotsCircleO",e.s(["G",0,o])},53076,e=>{let t;var n=e.i(43476),i=e.i(60822),l=e.i(7670);e.i(8145);var o=e.i(13757),a=e.i(85900);e.i(46401);var s=e.i(34986),r=e.i(63687);let c=({minioUrl:e,iconName:t,alt:i})=>(0,n.jsx)("img",{width:24,height:24,src:(0,a.W)(e,`/widgets/footer/${t}.svg`),alt:i,loading:"lazy"}),u=({onClick:e,eventCategory:t,eventActionType:i,eventActionText:l,eventLabel:o,chat:a,onKeyDown:c,...u})=>{let d=()=>{(0,r.h)({eventCategory:t,eventActionType:i||r.D.link,eventActionText:l||"",eventLabel:o})},m=()=>{var e,t,n;return null==(n=null==(t=null==(e=null==window?void 0:window.supportWidget)?void 0:e.craftTalk)?void 0:t.open)?void 0:n.call(t)};return(0,n.jsx)(s.f,{onClick:t=>{null==e||e(t),a&&(null==t||t.preventDefault(),m()),d()},onKeyDown:e=>{null==c||c(e),!(!a||"Enter"!==e.key&&" "!==e.key)&&(e.preventDefault(),e.repeat||(m(),d()))},...u})};var d=e.i(22468);e.i(34348);var m=e.i(47611),p=e.i(93562),g=e.i(65019),f=e.i(71645),h=e.i(71121),w=e.i(35206),_=e.i(23123);let v=(0,d.g)("footer-contacts-block","sc"),x=Object.freeze({contactsWrapper:`${v}__contacts-wrapper`,gray:`${v}__gray`,phones:`${v}__phones`,contactsButtons:`${v}__contacts-buttons`,vkIcon:`${v}__vk-icon`,tgIcon:`${v}__tg-icon`,dzenIcon:`${v}__dzen-icon`,maxIcon:`${v}__max-icon`,link:`${v}__link`}),b=(0,d.g)("footer","sc"),j=Object.freeze({wrapper:`${b}__wrapper`,section:`${b}__section`,container:`${b}__container`,top:`${b}__top`,main:`${b}__main`,links:`${b}__links`,disclaimer:`${b}__disclaimer`,bottom:`${b}__bottom`,bottomLinks:`${b}__bottom-links`,bottomDisclaimer:`${b}__bottom-disclaimer`,compact:`${b}__wrapper--compact`,white:`${b}__wrapper--white`}),y="finkit-widgets-sc-footer",$=[{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"}],N=[...$,{title:"Онлайн чат",url:void 0}],C=[{type:"vk",label:"ВКонтакте",className:x.vkIcon,iconName:"vk"},{type:"telegramChannel",label:"Telegram",className:x.tgIcon,iconName:"telegram"},{type:"dzen",label:"Дзен",className:x.dzenIcon,iconName:"dzen"},{type:"max",label:"MAX",className:x.maxIcon,iconName:"max"}],k=(0,n.jsxs)("p",{children:["На сайте finuslugi.ru предоставляются услуги оператора финансовой платформы ПАО Московская Биржа, а также услуги ООО «МБ Маркетплейс», организации, не являющейся оператором финансовой платформы в соответствии с Федеральным законом от 20.07.2020 №211-ФЗ «О совершении финансовых сделок с использованием финансовой платформы». Услуги оператора финансовой платформы ПАО Московская Биржа обозначены пометкой «Открытие онлайн на Финуслугах». Иная информация на сайте www.finuslugi.ru считается размещенной ООО «МБ Маркетплейс», если иное явно не следует из существа размещаемой информации. ООО «МБ Маркетплейс» входит в Группу «Московская Биржа».",(0,n.jsx)("br",{}),(0,n.jsx)("br",{}),"Группа «Московская Биржа» - ПАО Московская Биржа и юридические лица, находящиеся под прямым или косвенным контролем ПАО Московская Биржа."]}),S=({onClick:e,eventActionText:t,eventLabel:i,...l})=>(0,n.jsx)(m.f,{onClick:n=>{null==e||e(n),(0,r.h)({eventCategory:y,eventActionType:r.D.button,eventActionText:t||"",eventLabel:i})},...l}),T=e=>(0,n.jsx)(u,{eventCategory:y,...e}),A=({minioUrl:e,blogs:t})=>(0,n.jsxs)("div",{className:x.contactsWrapper,children:[(0,n.jsx)(o.f,{className:x.gray,size:"16",weight:"regular",children:"Звоните или пишите"}),(0,n.jsx)("div",{className:x.phones,children:N.map(({title:e,url:t})=>(0,n.jsx)(T,{href:t,role:t?void 0:"button",eventActionText:e,chat:!t,children:e},e))}),(0,n.jsx)(o.f,{className:x.gray,size:"16",weight:"regular",children:"Следите за нами в соцсетях"}),(0,n.jsx)("div",{className:x.contactsButtons,children:C.map(({type:i,label:l,className:o,iconName:a})=>(0,n.jsx)(S,{as:"a",href:null==t?void 0:t[i],target:"_blank","aria-label":l,className:o,iconRight:(0,n.jsx)(c,{minioUrl:e,iconName:a,alt:l}),shape:"circle-icon",variant:"white",eventActionText:i,eventLabel:null==t?void 0:t[i]},i))}),(0,n.jsx)(o.f,{className:x.gray,size:"16",weight:"regular",children:"Канал для инвесторов"}),(0,n.jsx)("div",{className:x.contactsButtons,children:(0,n.jsxs)(T,{href:null==t?void 0:t.investTg,target:"_blank",className:x.link,eventActionText:"telegram",eventLabel:null==t?void 0:t.investTg,children:[(0,n.jsx)(S,{as:"span",tabIndex:-1,"aria-hidden":!0,className:x.tgIcon,iconRight:(0,n.jsx)(c,{minioUrl:e,iconName:"telegram",alt:""}),shape:"circle-icon",variant:"white",eventActionText:"telegram",eventLabel:null==t?void 0:t.investTg}),"Финуслуги Инвест"]})})]}),R=(0,d.g)("footer-disclaimer","sc"),I=Object.freeze({disclaimer:`${R}`}),z=e=>{let t=e=>{e.target instanceof HTMLAnchorElement&&(0,r.h)({eventCategory:y,eventActionType:r.D.link,eventActionText:e.target.textContent||"",eventLabel:e.target.href})};return e.disclaimer?(0,n.jsx)("div",{className:(0,l.f)(e.className,I.disclaimer),dangerouslySetInnerHTML:{__html:e.disclaimer||""},onClick:t}):(0,n.jsx)("div",{className:(0,l.f)(e.className,I.disclaimer),onClick:t,children:e.children})},O=(0,d.g)("footer-modal-body","sc"),U=Object.freeze({wrapper:`${O}__wrapper`,title:`${O}__title`,item:`${O}__item`,label:`${O}__label`,button:`${O}__button`,description:`${O}__description`}),E=({directions:e})=>(0,n.jsxs)("div",{className:U.wrapper,children:[(0,n.jsx)("div",{className:U.title,children:"Направления"}),e.map(e=>(0,n.jsxs)(T,{className:U.item,href:e.url,target:"_blank",eventActionText:e.name,eventLabel:`${e.name}_${e.url}`,children:[(0,n.jsxs)("div",{className:U.label,children:[(0,n.jsx)("span",{children:e.name}),(0,n.jsx)(S,{className:U.button,iconRight:(0,n.jsx)(p.K,{size:28}),shape:"circle-icon",eventActionText:"IconFdsArrowUpRightSmallO"})]}),(0,n.jsx)("p",{className:U.description,children:e.description})]},e.url))]}),L=(0,d.g)("footer-popup","sc"),P=Object.freeze({wrapper:`${L}__wrapper`,button:`${L}__button`,icon:`${L}__icon`,buttonWrapper:`${L}__button-wrapper`}),B=({directions:e})=>{let t=(0,h.f)("l"),[i,l]=(0,f.useState)(!1),o=()=>{l(!1)};return(0,n.jsxs)("div",{className:P.wrapper,children:[(0,n.jsx)("div",{className:P.buttonWrapper,children:(0,n.jsx)(S,{className:P.button,appearance:"ghost",variant:"white",onClick:()=>{l(!0)},label:"Все направления",eventActionText:"Все направления",iconLeft:(0,n.jsx)("div",{className:P.icon,children:[1,2,3,4,5,6,7,8,9].map(e=>(0,n.jsx)("div",{},e))})})}),(0,n.jsxs)(_.P,{children:[!t&&(0,n.jsx)(_.U,{isOpen:i,onClose:o,full:!0,children:(0,n.jsx)(E,{directions:e})}),t&&(0,n.jsx)(w.D,{isOpen:i,onClose:o,width:"804px",children:(0,n.jsx)(E,{directions:e})})]})]})},D=(0,d.g)("footer-left-column","sc"),M=Object.freeze({leftColumn:`${D}__left-column`,logoWrapper:`${D}__logo-wrapper`,banner:`${D}__banner`,bannerButton:`${D}__banner-button`,mobAppLink:`${D}__mob-app-link`,br:`${D}__br`}),W=({showcaseUrl:e,minioUrl:t,directions:i,mobAppUrl:l})=>{let s=((e="")=>{let[t,n]=(0,f.useState)(e);return(0,f.useEffect)(()=>{let t,i,l=(t=new URL(window.location.href),i=new URLSearchParams,t.searchParams.forEach((e,t)=>{/^utm_/i.test(t)&&i.set(t,e)}),i);if(!l||0===l.size)return;let[o,a=""]=e.split("?"),s=new URLSearchParams(a);l.forEach((e,t)=>{s.has(t)||s.set(t,e)});let r=s.toString();n(r?`${o}?${r}`:o)},[e]),t})(l);return(0,n.jsxs)("div",{className:M.leftColumn,children:[(0,n.jsx)(T,{className:M.logoWrapper,href:e,eventActionType:r.D.icon,eventActionText:"finuslugi_logo",eventLabel:`finuslugi_logo_${e}`,children:(0,n.jsx)("img",{src:(0,a.W)(t,"/widgets/footer/finuslugi_base_logo.svg"),alt:"finuslugi logo",loading:"lazy"})}),(0,n.jsx)(B,{directions:i??[]}),(0,n.jsx)(T,{href:s,target:"_blank",eventActionType:r.D.banner,eventActionText:"Управляйте финансами через приложение Финуслуг",eventLabel:s,className:M.mobAppLink,children:(0,n.jsxs)(g.f,{className:M.banner,children:[(0,n.jsxs)(o.f,{weight:"medium",children:["Управляйте финансами",(0,n.jsx)("br",{}),"через приложение",(0,n.jsx)("br",{className:M.br})," Финуслуг"]}),(0,n.jsx)(S,{as:"span",tabIndex:-1,"aria-hidden":!0,className:M.bannerButton,iconRight:(0,n.jsx)(p.K,{size:32}),shape:"circle-icon",variant:"white",eventActionText:"IconFdsArrowUpRightSmallO"}),(0,n.jsxs)("picture",{children:[(0,n.jsx)("source",{srcSet:(0,a.W)(t,"/widgets/footer/apps_d.webp"),media:"(min-width: 1024px)"}),(0,n.jsx)("img",{src:(0,a.W)(t,"/widgets/footer/apps_m.webp"),alt:"иллюстрация мобильного приложения",loading:"lazy"})]})]})})]})},H=(0,d.g)("footer-logo","sc"),V=Object.freeze({wrapper:`${H}__wrapper`,link:`${H}__link`,fromMoex:`${H}__from-moex`,logo:`${H}__logo`,white:`${H}__wrapper--white`}),J=({showcaseUrl:e,minioUrl:t,isWhite:i})=>(0,n.jsx)("div",{className:(0,l.f)(V.wrapper,{[V.white]:i}),children:(0,n.jsxs)(T,{className:V.link,href:e,eventActionType:r.D.icon,eventActionText:"finuslugi_logo",eventLabel:`finuslugi_logo_${e}`,children:[(0,n.jsx)("img",{className:V.logo,src:`${t}/images/logo-brandmark-common-finuslugi.svg`,loading:"lazy"}),(0,n.jsx)("img",{className:V.fromMoex,src:`${t}/images/fromMoex.svg`,loading:"lazy"})]})});var K=((t=K||{}).BLACK="black",t.GRAY="gray",t);let G=(0,d.g)("footer-warning","sc"),F=Object.freeze({reservedSpace:`${G}__reserved-space`,wrapper:`${G}__wrapper`,wrapperGray:`${G}__wrapper--gray`,fixed:`${G}__wrapper--fixed`,container:`${G}__container`,text:`${G}__text`,invisibleText:`${G}__text--invisible`}),X=({text:e,variant:t,fixed:o,isPlaceholder:a})=>(0,n.jsx)("div",{className:(0,l.f)(F.wrapper,{[F.wrapperGray]:"gray"===t,[F.fixed]:o&&!a}),children:(0,n.jsx)(i.f,{className:F.container,children:(0,n.jsx)("div",{className:(0,l.f)(F.text,{[F.invisibleText]:a}),dangerouslySetInnerHTML:{__html:e}})})}),Y=({warning:e})=>{let t="string"==typeof e?{text:e}:e,i={text:t.text,fixed:t.fixed??!0,variant:t.variant??K.BLACK};return(0,n.jsxs)("div",{className:F.reservedSpace,children:[(0,n.jsx)(X,{...i,isPlaceholder:i.fixed}),i.fixed&&(0,n.jsx)(X,{...i,fixed:!0})]})};e.s(["f",0,({data:e,showcaseUrl:t="https://finuslugi.ru",minioUrl:o="https://assets.finuslugi.ru/mp-assets",customDisclaimer:a,variant:s="default",className:r})=>{var c,u;let d=!a&&null!=e&&e.disclaimer?e.disclaimer:void 0,m=s.includes("compact"),p=s.includes("white"),g=null==(c=null==e?void 0:e.bottom)?void 0:c.concat(m?$:[]),f=e&&"warning"in e?e.warning:void 0;return e?(0,n.jsx)("footer",{className:(0,l.f)(j.wrapper,r,{[j.compact]:m,[j.white]:p}),children:(0,n.jsxs)("section",{className:j.section,children:[(0,n.jsxs)(i.f,{className:j.container,children:[!m&&(0,n.jsx)(W,{showcaseUrl:t,minioUrl:o,directions:null==e?void 0:e.directions,mobAppUrl:null==e?void 0:e.mobAppUrl}),(0,n.jsx)("div",{className:j.wrapper,children:(0,n.jsxs)("div",{className:j.top,children:[(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{className:j.main,children:[!m&&(0,n.jsx)("div",{className:j.links,children:null==(u=null==e?void 0:e.top)?void 0:u.map(e=>(0,n.jsx)(T,{href:e.url,eventActionText:e.title,eventLabel:e.url,children:e.title},e.url))}),m&&(0,n.jsx)(J,{showcaseUrl:t,minioUrl:o,isWhite:p}),(0,n.jsx)(z,{className:j.disclaimer,disclaimer:d,children:a||k})]}),(0,n.jsxs)("div",{className:j.bottom,children:[(0,n.jsx)("div",{className:j.bottomLinks,children:null==g?void 0:g.map(e=>(0,n.jsx)(T,{href:e.url,eventActionText:e.title,eventLabel:e.url,children:e.title},e.url))}),(0,n.jsx)(z,{className:j.bottomDisclaimer,disclaimer:null==e?void 0:e.bottomDisclaimer})]})]}),!m&&(0,n.jsx)(A,{minioUrl:o,blogs:null==e?void 0:e.blogs})]})})]}),m&&!!f&&(0,n.jsx)(Y,{warning:f})]})}):null}],53076)},76271,e=>{var t=e.i(43476),n=e.i(53076),i=e.i(74100);e.i(29059);var l=e.i(40797);e.s(["LayoutLandingClientPage",0,function({className:e,children:o,header:a,footer:s}){let r=(0,l.f)("NEXT_PUBLIC_SHOWCASE_ORIGIN"),c=(0,l.f)("NEXT_PUBLIC_S3_ASSETS"),u=(0,l.f)("NEXT_PUBLIC_MARKETPLACE_LK_BASE_URL");return(0,t.jsxs)("div",{className:e,children:[a&&(0,t.jsx)(i.i,{data:a.value,showcaseUrl:r,minioUrl:c,lkUrl:u}),(0,t.jsx)("main",{children:o}),s&&(0,t.jsx)(n.f,{data:s.value,showcaseUrl:r,minioUrl:c,variant:"compact-white"})]})}])}],5122,e=>{e.v(t=>Promise.all(["static/chunks/3cglg4zxb3cew.js"].map(t=>e.l(t))).then(()=>t(73067)))},1286,e=>{e.v(t=>Promise.all(["static/chunks/3q0njzi7mybr2.js","static/chunks/15vryzz44ma09.js","static/chunks/1yzhje_gs5li9.css","static/chunks/31tio39o0yv3h.css"].map(t=>e.l(t))).then(()=>t(67316)))},17410,e=>{e.v(t=>Promise.all(["static/chunks/0ytyue4kyt2ek.js","static/chunks/15vryzz44ma09.js","static/chunks/0-k8oavwqttee.css","static/chunks/0_fml0ga0szo4.css"].map(t=>e.l(t))).then(()=>t(51089)))},64532,e=>{e.v(t=>Promise.all(["static/chunks/04z2ca0hg9cg-.js"].map(t=>e.l(t))).then(()=>t(4902)))},32424,e=>{e.v(t=>Promise.all(["static/chunks/07d5r2tradj-w.js"].map(t=>e.l(t))).then(()=>t(78829)))},63747,e=>{e.v(t=>Promise.all(["static/chunks/2j-r_c4h93l_0.js"].map(t=>e.l(t))).then(()=>t(92205)))}]);