(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[516],{4354:function(e,t){"use strict";t.Z={src:"/service-navigator/_next/static/media/eye2.02693028.svg",height:24,width:24,blurWidth:0,blurHeight:0}},3844:function(e,t){"use strict";t.Z={src:"/service-navigator/_next/static/media/thumb-up.8520bb14.svg",height:24,width:24,blurWidth:0,blurHeight:0}},1265:function(e,t,n){"use strict";var i,r=n(3454);let o="/service-navigator",a=["/kasko/stat_:path*","/osago/stat_:path*","/kalkulyator_kasko/stat_:path*","/kalkulyator_osago/stat_:path*","/kalkulyator_tourism/stat_:path*","/strahovanie_reitingi/stat_:path*","/kreditnye_karty/stat_:path*","/potrebitelskie_kredity/stat_:path*","/ipoteka/stat_:path*","/avtokredity/stat_:path*","/mikrozajmy/stat_:path*","/vklady/stat_:path*","/debetovye_karty/stat_:path*"],s=a.map(e=>e+"/app"),l=[...a,...s],c=l.map(e=>({source:e,destination:"/navigator/:path*"})),u={PORT:r.env.PORT||3e3,HOSTNAME:r.env.HOSTNAME||"localhost",APP_VERSION:null!==(i=r.env.APP_VERSION)&&void 0!==i?i:String(Math.random()).slice(2),REDIS_PORT:r.env.REDIS_PORT,REDIS_HOST:r.env.REDIS_HOST,REDIS_PASSWORD:r.env.REDIS_PASSWORD,CACHE_TTL:r.env.REDIS_TTL||300};e.exports={APP_PREFIX:o,WHITELIST:["/_next/static","".concat(o,"/_next/static"),"".concat(o,"/videos"),"".concat(o,"/api"),"".concat(o,"/health"),"/videos","/api/proxy","/api/proxybff","/api/metrics","/api/report","/metrics","/report","/favicon.ico"],SERVER_CONFIG:u,PAGES_PRELOADING:["/navigator","/navigator/news","/navigator/nakopit-i-sohranit","/navigator/investirovat","/navigator/zastrahovat","/navigator/kredity","/navigator/nalogi","/navigator/kak-ehto-rabotaet","/navigator/analitika","/navigator/razvlecheniya"],NavigatorDetailsPaths:a,NavigatorDetailRewrites:c}},2853:function(e,t,n){"use strict";n.d(t,{pW:function(){return a},Jx:function(){return s}});var i=n(4981),r=n(2288);let o=e=>e?Object.keys(e).filter(t=>e[t]).map(t=>"".concat(t,"=").concat(e[t])).join("&"):"",a=(e,t,n,a,s,l,c,u)=>{let d={limit:t||"0",offset:n,page:a&&a>1?a:void 0,tag_url:s!==r.Vf?s:void 0,best:l,author:c,popularLimit:u};return(0,i.t)({env:e,url:"/money_data/Navigator.json?".concat(o(d))})},s=(e,t,n,r)=>(0,i.t)({env:e,url:"/money_data/News.json?".concat(o({select:"all",limit:t,offset:n,page:r&&r>1?r:void 0}))})},4981:function(e,t,n){"use strict";n.d(t,{t:function(){return c},L:function(){return s}});var i=n(1265);let r=e=>{let t="true"===e.SKIP_PROXY;return!t};var o=n(1876).Buffer,a=n(3454);let s=(e,t)=>{let{isNew:n,isBFF:o,isCommonBlocks:a,isHeadlessCMS:s}=t,l="production"===e.NODE_ENV?i.APP_PREFIX:"",c=o?"bff":"";return(n&&(c="new"),r(e))?"".concat(l,"/api/proxy").concat(c):a?e.NEXT_PUBLIC_COMMON_BLOCKS_SERVICE_URL:o?e.NEXT_PUBLIC_BFF_API_URL:s?e.NEXT_PUBLIC_HEADLESS_CMS:n?e.NEXT_PUBLIC_NEW_API_URL:e.NEXT_PUBLIC_BASE_URL},l=(e,t)=>{let{isCommonBlocks:n,isNew:i,isHeadlessCMS:r}=t,a=n||r?e.COMMON_BLOCKS_SERVICE_USER_NAME:i?e.NEXT_PUBLIC_NEW_USER_NAME:e.NEXT_PUBLIC_USER_NAME,s=n||r?e.COMMON_BLOCKS_SERVICE_USER_PASSWORD:i?e.NEXT_PUBLIC_NEW_PASSWORD:e.NEXT_PUBLIC_PASSWORD;return"Basic ".concat(o.from("".concat(a,":").concat(s)).toString("base64"))},c=async e=>{let{env:t,url:n,options:i={},config:r}=e,{isNew:o,isCommonBlocks:c}=i,u=s(t,i),d={...null==r?void 0:r.headers,Authorization:l(t,i),...o?{"X-Gravitee-Api-Key":t.NEXT_PUBLIC_NEW_API_KEY||""}:{}},_=0,v="";try{_=performance.now();let e=await fetch("".concat(u).concat(n),{method:"GET",...r,headers:d});if(v=e.status,!e.ok)throw Error("Network response was not ok: ".concat(v,", url: ").concat(e.url));let t=c?await e.text():await e.json();return console.log("Запрос ".concat(u).concat(n)),{data:t,error:null}}catch(e){return console.error("Ошибка запроса","".concat(e,": ").concat(u).concat(n)),{data:null,error:e instanceof Error?e.message:"Unknown error"}}finally{var p;null===(p=a.outgoingHTTPRequestHistogram)||void 0===p||p.labels((null==r?void 0:r.method)||"GET",n,String(v)).observe(Number(performance.now()-_))}}},4341:function(e,t,n){"use strict";n.d(t,{j:function(){return g}});var i=n(5893),r=n(6010),o=n(7294);let a=e=>{let t=(0,o.useRef)(null);return(0,o.useEffect)(()=>{let n=t.current,i=window.innerWidth-document.documentElement.clientWidth;e&&i&&!document.body.style.top&&(window.prevScrollPosition=window.scrollY||window.pageYOffset),e&&i&&(document.documentElement.style.setProperty("overflow-y","scroll"),document.body.classList.toggle("scroll-disable-windows",!0),document.body.style.setProperty("width","calc(100vw - ".concat(i,"px)")),document.body.style.setProperty("top","-".concat(window.prevScrollPosition,"px"))),e&&!i&&(document.body.style.setProperty("overflow","hidden"),document.body.style.setProperty("height","100vw")),e&&n&&n.setAttribute("data-portal","");let r=document.querySelectorAll("[data-portal]").length>1;e||r||(document.body.classList.toggle("scroll-disable-windows",!1),document.body.style.removeProperty("overflow"),document.body.style.removeProperty("height"),document.body.style.removeProperty("width"),document.body.style.removeProperty("top")),e||r||void 0===window.prevScrollPosition||(window.scrollTo(0,window.prevScrollPosition),window.prevScrollPosition=void 0),!e&&n&&n.removeAttribute("data-portal")},[e]),t},s=e=>{let{opened:t}=e,[n,i]=(0,o.useState)(!1),r=(0,o.useRef)(null),a=(0,o.useRef)(!1);return(0,o.useEffect)(()=>(t&&!a.current?(a.current=!0,i(!0)):!t&&a.current&&(r.current=setTimeout(()=>{a.current=!1,i(!1)},300)),()=>{r.current&&clearTimeout(r.current)}),[t]),{mounted:n}};var l=n(5331),c=n.n(l);let u=e=>{let{onClose:t,onToucheMove:n,isOpen:a,delay:s=300}=e,l=(0,o.useRef)(null),u=(0,o.useCallback)(()=>{t&&(l.current=setTimeout(()=>{t()},s))},[s,t]),d=(0,o.useCallback)(e=>{"Escape"===e.key&&u()},[u]);return(0,o.useEffect)(()=>(a&&window.addEventListener("keydown",d),()=>{l.current&&clearTimeout(l.current),window.removeEventListener("keydown",d)}),[a,d]),(0,i.jsx)("div",{className:(0,r.Z)(c().overlay,{[c().open]:a,[c().close]:!a}),onTouchStart:n,onClick:u})};var d=n(2278),_=n.n(d);let v=e=>{let{footer:t,isSmallPopup:n=!1,footerClassName:o}=e;return(0,i.jsx)("div",{className:(0,r.Z)(_().footer,n&&_().footerWithoutShadow,o),children:"function"==typeof t?t():t})};var p=n(331),h=n.n(p);let m=e=>{let{children:t,footer:n,isOpen:s,isSmallPopup:l,onClose:c,hasCloseButton:d=!0,full:_,touchDistance:p=100,withDisabledScroll:m=!0,contentClassName:g,className:f,title:x,closeButton:b,footerClassName:k}=e,[y,w]=(0,o.useState)(!1),[S,E]=(0,o.useState)(!1),[N,j]=(0,o.useState)(!0),[T,C]=(0,o.useState)("120%"),L=(0,o.useRef)(null),A=(0,o.useRef)(0),P=(0,o.useRef)(!1),I=e=>{var t,n,i;let r=null===(t=L.current)||void 0===t?void 0:t.offsetTop,o=null===(n=L.current)||void 0===n?void 0:n.offsetHeight;if(P.current=!0,j(!1),r&&o){let t=(null==e?void 0:null===(i=e.touches[0])||void 0===i?void 0:i.clientY)-r,n=0;t>=0&&t<=o+30&&(n=t),t>o+30&&(n=o+30),C("".concat(n,"px")),A.current=n}},R=()=>{P.current&&(A.current>p&&c?null==c||c():C("0"),j(!0),P.current=!1),window.removeEventListener("touchmove",I),window.removeEventListener("touchend",R)};return(0,o.useEffect)(()=>{s&&setTimeout(()=>{w(!0),E(!0),C("0")},100),!s&&S&&(C("120%"),w(!1),E(!1))},[S,s]),a(s&&m),(0,i.jsxs)("div",{"data-portal":!0,className:(0,r.Z)(h().mobilePopup,S&&h().mobilePopupOpen,f),children:[(0,i.jsx)(u,{onClose:()=>{s&&(null==c||c())},onToucheMove:()=>{s&&(w(!1),window.addEventListener("touchmove",I),window.addEventListener("touchend",R))},isOpen:s,delay:0}),(0,i.jsxs)("div",{className:(0,r.Z)(h().content,_&&h().contentFull,N&&h().contentTransition,N&&y&&h().contentTransitionOpen),ref:L,style:{transform:"translateY(".concat(T,")")},children:[(0,i.jsx)("div",{className:h().contentLine}),(0,i.jsxs)("div",{className:(0,r.Z)(h().contentContainer,l&&h().smallContentContainer,{[h().min]:!x&&!d},g),children:[!!x&&(0,i.jsx)("div",{className:h().title,children:x}),d?(0,i.jsxs)("div",{className:h().closeContainer,children:[b?"function"==typeof b?b():b:null,b?null:(0,i.jsx)("button",{onClick:c,className:h().closeButton,children:(0,i.jsx)("img",{src:"https://assets.finuslugi.ru/mp-assets/images/sc/close_gray.svg",alt:"close",loading:"lazy"})})]}):null,t]}),n&&(0,i.jsx)(v,{footerClassName:k,isSmallPopup:l,footer:n})]})]})},g=e=>{let{children:t,isSmallPopup:n=!1,isOpen:r=!1,...o}=e,{mounted:a}=s({opened:r});return a?(0,i.jsx)(m,{isSmallPopup:n,isOpen:r,...o,children:t}):null};g.displayName="UiMobilePopup"},5352:function(e,t,n){"use strict";n.d(t,{N:function(){return l}});var i=n(5893),r=n(9008),o=n.n(r),a=n(4298),s=n.n(a);let l=e=>{let{env:t,title:n,description:r,path:a,noindex:l,disableChat:c,image:u,isDetailPage:d}=e,_=!c&&!t.NEXT_PUBLIC_REACT_HEADER;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(o(),{children:[(0,i.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),(0,i.jsx)("link",{rel:"icon",href:"https://finuslugi.ru/icons/favicon/favicon-32x32.png"}),(0,i.jsx)("link",{rel:"canonical",href:"".concat(t.NEXT_PUBLIC_BASE_URL).concat(a.split("?")[0].split("#")[0].replace(/\/app$/,""))},"canonical"),(0,i.jsx)("title",{children:n},"title"),(0,i.jsx)("meta",{property:"og:title",content:n}),(0,i.jsx)("meta",{name:"description",content:r},"description"),(0,i.jsx)("meta",{property:"og:description",content:r}),(0,i.jsx)("meta",{property:"og:locale",content:"ru_RU"}),(0,i.jsx)("meta",{property:"og:site_name",content:"Финуслуги | Журнал"}),(0,i.jsx)("meta",{property:"og:type",content:"article"}),(0,i.jsx)("meta",{property:"og:url",content:"".concat(t.NEXT_PUBLIC_BASE_URL).concat(a.split("?")[0].split("#")[0])}),(0,i.jsx)("meta",{property:"og:image",content:"https://finuslugi.ru/".concat(u||"icons/1200x630-logo.jpg")}),(0,i.jsx)("meta",{property:"og:image:width",content:"1200"}),(0,i.jsx)("meta",{property:"og:image:height",content:u?"675":"630"}),(0,i.jsx)("meta",{property:"og:image:alt",content:n}),(0,i.jsx)("meta",{property:"og:image:type",content:"image/jpeg"}),d&&(0,i.jsx)("meta",{name:"robots",content:"max-image-preview:large"}),l?(0,i.jsx)("meta",{name:"robots",content:"noindex, follow"}):null,_&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("link",{crossOrigin:"use-credentials",rel:"preload",href:"".concat(t.ASSETS_BASE_URL,"/mp-assets/widgets/support/index-BuAapbJQ.css"),as:"style"}),(0,i.jsx)("link",{crossOrigin:"use-credentials",rel:"stylesheet",href:"".concat(t.ASSETS_BASE_URL,"/mp-assets/widgets/support/index-BuAapbJQ.css")})]})]}),_&&(0,i.jsx)(s(),{type:"module",crossOrigin:"use-credentials",src:"".concat(t.ASSETS_BASE_URL,"/mp-assets/widgets/support/index-D2xclPDV.js")})]})}},9546:function(e,t,n){"use strict";n.d(t,{h:function(){return a}});var i=n(5893),r=n(7294),o=n(3935);let a=e=>{let{children:t,id:n="portal-root"}=e,[a,s]=(0,r.useState)(null);return(0,r.useEffect)(()=>{var e,t,i;let r=null===(e=document)||void 0===e?void 0:e.getElementById(n);if(r)s(r);else{let e=null===(t=document)||void 0===t?void 0:t.createElement("div");return null===(i=document)||void 0===i||i.body.appendChild(e),s(e),()=>{var t;null===(t=document)||void 0===t||t.body.removeChild(e)}}},[]),(0,i.jsx)(i.Fragment,{children:a&&(0,o.createPortal)(t,a)})}},5619:function(e,t,n){"use strict";n.d(t,{F:function(){return d}});var i=n(5893),r=n(9194),o=n(6010),a=n(7294);let s=function(e,t){for(var n=arguments.length,i=Array(n>2?n-2:0),r=2;r<n;r++)i[r-2]=arguments[r];let o=t.ref,s=(null==e?void 0:e.ref)||e.props.innerRef;return null===s||null===o||"function"!=typeof s?a.cloneElement(e,t,...i):e.props.innerRef?a.cloneElement(e,{...t,innerRef:e=>{o(e),s(e)},ref:null},...i):a.cloneElement(e,{...t,ref:e=>{o(e),s(e)}},...i)};var l=n(1581),c=n.n(l);let u=e=>{let{shiftSlide:t,resetCallback:n,changeSelectedIndex:i,isInfiniteSlider:r,time:o,currentIndex:s,maxIndex:l,countVisibleSlide:c,startDelay:u}=e,[d,_]=(0,a.useState)(!0),v=(0,a.useRef)(null),p=l+1<=c,h=(0,a.useRef)(!1),m=(0,a.useCallback)(()=>{v.current&&clearInterval(v.current),v.current=setInterval(()=>{if(r){t();return}if(s===l){n();return}l-s>=c?t():i()},o+300)},[i,c,s,r,l,n,t,o]);return(0,a.useEffect)(()=>{if(!p&&o){if(d){v.current&&clearInterval(v.current);return}return window.onblur=()=>{h.current=!0,_(!0)},window.onfocus=()=>{h.current&&(_(!1),h.current=!1)},m(),()=>{v.current&&clearInterval(v.current)}}},[t,n,i,o,r,l,s,c,d,p,m]),(0,a.useEffect)(()=>{setTimeout(()=>_(!1),u)},[u]),{isPauseAutoSwipe:d,setPauseAutoSwipe:_}},d=(0,a.memo)(e=>{let{infiniteSlider:t=!1,overflowVisible:n=!1,hideNavigationControl:l=!1,hidePaginationControl:d=!1,autoPlayTime:_=0,sliderPerView:v=1,spaceBetween:p=0,startDelay:h=0,width:m,height:g,classSliderWrapper:f,classSlider:x,classSlide:b,classSliderList:k,classNavigationLeftButton:y,classNavigationRightButton:w,children:S,onLeftButtonClick:E,onRightButtonClick:N,onChange:j}=e,T=(0,a.useMemo)(()=>S.length,[S.length]),C=T>v,L=v>S.length?v:S.length>5?5:S.length,A=(0,a.useMemo)(()=>m/2,[m]),P=(0,a.useMemo)(()=>t?-(m+p)*L-p:0-p,[t,m,p,L]),I=(0,a.useMemo)(()=>({maxTime:500,minTime:60,maxDistance:m,minDistance:m/100*10}),[m]),[R,B]=(0,a.useState)(),[F,W]=(0,a.useState)(0),[O,M]=(0,a.useState)(!h),[H,U]=(0,a.useState)("0px"),X=(0,a.useRef)(!0),D=(0,a.useRef)(0),Z=(0,a.useRef)(0),z=(0,a.useRef)(null),Y=(0,a.useRef)(!1),G=(0,a.useRef)(!0),V=S.length-(v-1);(0,a.useEffect)(()=>{Y.current&&(null==j||j(F)),Y.current=!0},[F,j]),(0,a.useEffect)(()=>{if(!z.current||!O)return;D.current=0,Z.current=0,W(0);let e=z.current;B(e),e.style.left=P+"px",e.style.width=(T+2*L)*(m+p)+"px",e.style.height=g+"px";let t=0;if(0!==m){let t=e.getElementsByClassName("slide");for(let e=0;e<t.length;e++)t[e].style.width=m+"px",t[e].style.minWidth=m+"px",t[e].style.maxWidth=m+"px"}if(t!==g){let n=e.getElementsByClassName("slide");for(let e=0;e<n.length;e++)n[e].style.height=g+"px",n[e].style.minHeight=g+"px",n[e].style.maxHeight=g+"px";t=g}},[m,g,t,p,z,L,T,P,O]);let J=(0,a.useCallback)(e=>{O||M(!0),R&&(G.current=!0,U(P-(m+p)*e+"px"),W(()=>e<0?T+e:e),Z.current=e)},[m,p,R,P,T]),Q=(0,a.useCallback)(e=>{O||M(!0),R&&(G.current=!0,X.current&&(D.current=R.offsetLeft,1===e?(U(D.current-(m+p)+"px"),Z.current++,W(e=>e===T-1?0:e+1)):-1===e&&(U(D.current+(m+p)+"px"),Z.current--,W(e=>0===e?T-1:e-1))),X.current=!1)},[m,p,T,R]),q=(0,a.useCallback)(()=>{if(R){if(t){if(Z.current<=-v){let e=Z.current<-v?T-Math.abs(Z.current):T-v;U(P-(m+p)*e+"px"),G.current=!1,Z.current=e,W(e),setTimeout(()=>{G.current=!0},300)}Z.current>=T&&(U(P+"px"),G.current=!1,Z.current=0,W(0),setTimeout(()=>{G.current=!0},300))}X.current=!0}},[m,t,v,p,T,P,R]);(0,a.useEffect)(()=>{null!==F&&setTimeout(()=>{q()},500)},[q,F]);let K=(0,a.useCallback)(()=>{W(e=>e+1),Z.current+=1},[]),{isPauseAutoSwipe:$,setPauseAutoSwipe:ee}=u({shiftSlide:()=>Q(1),resetCallback:()=>J(0),changeSelectedIndex:()=>K(),isInfiniteSlider:t,time:_,currentIndex:Z.current,maxIndex:T-1,countVisibleSlide:v,startDelay:h}),et=(0,a.useRef)(!1),en=(0,a.useRef)(m);return(0,a.useEffect)(()=>{en.current!==m&&(en.current=m)},[m]),(0,a.useEffect)(()=>{let e,n,i,r,o;if(!R||!O)return;let a=0,s=0,l=e=>{G.current=!1,e=e||window.event,D.current=R.offsetLeft,"touchstart"===e.type?(a=e.touches[0].clientX,n=e.timeStamp,r=a):(a=e.clientX,n=e.timeStamp,r=a,document.onmouseup=u,document.onmousemove=c)},c=e=>{"touchmove"===(e=e||window.event).type?(s=a-e.touches[0].clientX,a=e.touches[0].clientX):(s=a-e.clientX,a=e.clientX),U(R.offsetLeft-s+"px")},u=a=>{G.current=!1,i=a.timeStamp,e=R.offsetLeft,o="touchend"===a.type?a.changedTouches[0].clientX:a.clientX;let{minTime:s,maxTime:l,minDistance:c,maxDistance:u}=I,d=Math.round(-e/(m+p))-L,_=Math.round(-e/(m+p)),h=Math.round(D.current/(m+p))*(m+p)-p+"px",g=Math.abs(Math.abs(r)-Math.abs(o)),f=Math.abs(n-i);if(f>s&&f<l&&g>c&&g<u){if(e-D.current<-c){if(t){let e=d>T?T:d,t=d===T&&F<T?T:e+1;J(t)}else{let e=_>=T-v?T-v:_+1;J(e)}}else e-D.current>c?t?J(d-1):J(_<=0?0:_-1):(G.current=!0,U(h))}else if(e-D.current<-A){if(t){let e=d>T?T:d,t=d===T&&F<T?T:e;J(t)}else{let e=_>T-v?T-v:_;J(e)}}else e-D.current>A?t?J(d):J(_<=0?0:_):(G.current=!0,U(h));document.onmouseup=null,document.onmousemove=null};return C&&!et.current&&(et.current=!0,R.addEventListener("touchstart",function(e){return l(e)}),R.addEventListener("touchmove",function(e){return c(e)})),C&&(R.removeEventListener("mousedown",function(e){return l(e)}),R.onmousedown=l,R.removeEventListener("touchstart",function(e){return l(e)}),R.addEventListener("touchstart",function(e){return l(e)}),R.addEventListener("touchend",u)),()=>{R.removeEventListener("mousedown",function(e){return l(e)}),R.removeEventListener("touchstart",function(e){return l(e)}),R.removeEventListener("touchmove",function(e){return c(e)}),R.addEventListener("touchend",u)}},[p,m,t,v,T,R,A,C,L,F,P,I,Q,J,O]),(0,a.useEffect)(()=>{O||setTimeout(()=>M(!0),h)},[O]),(0,i.jsxs)("div",{className:(0,o.Z)(c().sliderWrapper,f),children:[(0,i.jsxs)("div",{className:(0,o.Z)(c().slider,{[c().visiblePagination]:C&&!d},x),style:{width:v*m+(v-1)*p+"px",minHeight:g+"px"},onMouseEnter:()=>!!_&&ee(!0),onMouseLeave:()=>!!_&&ee(!1),onTouchStart:()=>!!_&&ee(!0),onTouchEnd:()=>!!_&&ee(!1),children:[(0,i.jsx)("div",{className:c().wrapper,style:{overflow:n?"unset":"hidden"},children:(0,i.jsxs)("div",{ref:z,style:{left:H},className:(0,o.Z)(c().slides,{[c().shifting]:G.current},k),children:[t&&S.slice(S.length-L-1,S.length-1).map(e=>(0,i.jsx)("div",{style:{width:m+"px",minWidth:m+"px",maxWidth:m+"px",height:g+"px",minHeight:g+"px",maxHeight:g+"px",marginLeft:p+"px"},className:(0,o.Z)("slide",c().slide,{[c().slideIsPointer]:C},b),children:s(e,{style:{...e.props.style,width:"100%",height:"100%"}})},"prev"+e.key)),S.map(e=>(0,i.jsx)("div",{style:{width:m+"px",minWidth:m+"px",maxWidth:m+"px",height:g+"px",minHeight:g+"px",maxHeight:g+"px",marginLeft:p+"px"},className:(0,o.Z)("slide",c().slide,{[c().slideIsPointer]:C},b),children:s(e,{style:{...e.props.style,width:"100%",height:"100%"}})},e.key)),t&&S.slice(0,L).map(e=>(0,i.jsx)("div",{style:{width:m+"px",minWidth:m+"px",maxWidth:m+"px",height:g+"px",minHeight:g+"px",maxHeight:g+"px",marginLeft:p+"px"},className:(0,o.Z)("slide",c().slide,{[c().slideIsPointer]:C},b),children:s(e,{style:{...e.props.style,width:"100%",height:"100%"}})},"next"+e.key))]})}),!l&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("button",{onClick:()=>{null==E||E(),Q(-1)},className:(0,o.Z)(c().control,c().prev,y),style:{display:(t||0!==Z.current)&&C?"unset":"none"},children:(0,i.jsx)(r.IconFdsChevronLeftO,{size:24})}),(0,i.jsx)("button",{onClick:()=>{null==N||N(),Q(1)},className:(0,o.Z)(c().control,c().next,w),style:{display:(t||!(Z.current>=T-v))&&C?"unset":"none"},children:(0,i.jsx)(r.IconFdsChevronRightO,{size:24})})]})]}),C&&!d&&(0,i.jsx)("div",{className:c().pagination,children:(0,i.jsx)("ul",{className:c().paginationList,children:S.slice(0,V).map((e,t)=>(0,i.jsx)("li",{className:(0,o.Z)({[c().selected]:t===F}),onClick:()=>J(t),children:!$&&!!_&&(0,i.jsx)("div",{className:c().animationLine,style:{animationDuration:_+"ms"}})},e.key))})})]})});d.displayName="UiSlider"},7701:function(e,t,n){"use strict";n.d(t,{n:function(){return u}});var i=n(5893),r=n(9194),o=n(6010),a=n(4386);let s=(e,t,n)=>{let i="";switch(e){case"tg":i="https://telegram.me/share/url?text="+n+"&url="+t;break;case"ok":i="https://connect.ok.ru/offer?url="+t+"&title="+n;break;case"vk":i="https://vk.com/share.php?url="+t+"&title="+n}window.open(i,"","toolbar=0,status=0,scrollbars=1,resizable=1,width=500,height=300")};var l=n(9134),c=n.n(l);let u=e=>{let{className:t,title:n,url:l}=e,u=e=>{let t=e.currentTarget,i=t.getAttribute("data-alt");s(i,"".concat(a._n).concat(l),n)};return(0,i.jsxs)("div",{className:(0,o.Z)(c().soc,t),children:[(0,i.jsx)("div",{"data-alt":"tg",onClick:u,children:(0,i.jsx)(r.IconFdsTelegramF,{className:c().icon,size:16})}),(0,i.jsx)("div",{"data-alt":"ok",onClick:u,children:(0,i.jsx)(r.IconFdsOdnoklassnikiF,{className:c().icon,size:18})}),(0,i.jsx)("div",{"data-alt":"vk",onClick:u,children:(0,i.jsx)(r.IconFdsVkontakteF,{className:c().icon,size:18})})]})}},4386:function(e,t,n){"use strict";n.d(t,{LK:function(){return o},_n:function(){return r},qt:function(){return s},wF:function(){return l},x9:function(){return a}});var i=n(3454);let r=i.env.NEXT_PUBLIC_BASE_URL||"https://finuslugi.ru",o="https://lk.finuslugi.ru/registration/",a="".concat(r,"/osago"),s="".concat(r,"/kasko"),l="editors@finuslugi.ru"},8059:function(e,t,n){"use strict";n.d(t,{M:function(){return r}});var i=n(7294);let r=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.5,n=(0,i.useRef)(null);return(0,i.useEffect)(()=>{if(n.current&&e){let i=n.current,r=()=>{if(!i||!n.current)return;let o=n.current.getBoundingClientRect(),a=o.top+window.scrollY,s=o.bottom+window.scrollY,l=a+n.current.offsetHeight*t,c=window.scrollY+window.innerHeight>=l,u=window.scrollY>=s;c&&!u&&(e(),document.removeEventListener("scroll",r))};return document.addEventListener("scroll",r),r(),()=>{i&&document.removeEventListener("scroll",r)}}},[]),n}},938:function(e,t,n){"use strict";n.d(t,{G:function(){return o}});var i=n(7294);let r={xl:"screen and (max-width: 1440px)",lg:"screen and (max-width: 1200px)",md:"screen and (max-width: 900px)",sm:"screen and (max-width: 600px)"},o=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"lg",t=(0,i.useRef)(null),[n,o]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{var n,i;!t.current&&window&&(t.current=null===(i=window)||void 0===i?void 0:i.matchMedia(r[e]||e));let a=()=>{o(!!t.current&&t.current.matches)};return a(),null===(n=t.current)||void 0===n||n.addEventListener("change",a),()=>{var e;return null===(e=t.current)||void 0===e?void 0:e.removeEventListener("change",a)}},[e]),n}},4556:function(e,t,n){"use strict";n.d(t,{y:function(){return r}});var i=n(7294);function r(e,t){let n=function(e){let t=(0,i.useRef)(e);return(0,i.useEffect)(()=>{t.current=e},[e]),t}(t);(0,i.useEffect)(()=>{let t=e.current;if(!t)return;let i=new ResizeObserver(function(){for(var e=arguments.length,t=Array(e),i=0;i<e;i++)t[i]=arguments[i];n.current(...t)});return i.observe(t),()=>i.disconnect()},[])}},7071:function(e,t,n){"use strict";n.d(t,{Q:function(){return r}});var i=n(7294);let r=()=>{let[e,t]=(0,i.useState)(!1),[n,r]=(0,i.useState)(!1),o=(0,i.useRef)({x:0,y:0}),a=(0,i.useCallback)(e=>{r(!0),o.current={x:e.screenX,y:e.screenY},o.current&&o.current.x===e.screenX&&o.current.y===e.screenY&&t(!1)},[]),s=(0,i.useCallback)(e=>{o.current&&o.current.x===e.screenX&&o.current.y===e.screenY||(t(!0),o.current={x:e.screenX,y:e.screenY})},[]),l=(0,i.useCallback)(()=>{t(!1),r(!1)},[]);return{isDragged:e,isTouched:n,onMouseDown:a,onMouseMove:s,resetState:l}}},1014:function(e,t,n){"use strict";n.d(t,{d:function(){return f},n:function(){return y}});var i=n(5893),r=n(6010),o=n(5675),a=n.n(o),s=n(7294),l={src:"/service-navigator/_next/static/media/clock2.2faa8e1e.svg",height:24,width:24,blurWidth:0,blurHeight:0},c=n(4354),u={src:"/service-navigator/_next/static/media/tack.08d43349.svg",height:24,width:24,blurWidth:0,blurHeight:0},d=n(3844),_=n(8059),v=n(1997),p=n(6129),h=n(9741),m=n(4494),g=n.n(m);let f=e=>{let{env:t,articles:n,pinned:r,onReach:o,onArticleClick:a,loading:s}=e,l=(0,_.M)(o,.3),c=Array.from({length:9},(e,t)=>t+1);return(0,i.jsxs)("div",{ref:l,className:g().wrapper,children:[!!r&&(0,i.jsx)(b,{env:t,data:r}),n.map((e,n)=>(0,i.jsx)(x,{env:t,data:e,onClick:e=>null==a?void 0:a(e,n)},e.id)),s&&c.map((e,n)=>(0,i.jsx)(x,{env:t},n))]})},x=e=>{var t,n,o;let{env:s,data:l,onClick:u}=e,_=y(null==l?void 0:l.url,null==l?void 0:l.likes),h=s.NEXT_PUBLIC_BASE_URL,m=(null==l?void 0:null===(t=l.img)||void 0===t?void 0:t.file)&&(null==l?void 0:null===(n=l.img)||void 0===n?void 0:n.file)!==".";return(0,i.jsxs)("a",{onClick:()=>{null==u||u(l)},className:(0,r.Z)(g().card,{[g().skeleton]:!l}),href:"/".concat(null==l?void 0:l.url),target:"_self",children:[(0,i.jsx)("div",{className:g().image,style:m?{backgroundImage:"url(".concat(h,"/img/posts/small/").concat(null==l?void 0:null===(o=l.img)||void 0===o?void 0:o.file,")")}:{}}),(0,i.jsxs)("div",{className:g().container,children:[(0,i.jsx)("div",{className:g().title,children:null==l?void 0:l.title}),(0,i.jsxs)("div",{className:g().icons,children:[(0,i.jsxs)("div",{className:g().left,children:[!!_&&(0,i.jsxs)("div",{className:g().unit,children:[(0,i.jsx)(a(),{src:d.Z,alt:"likes",unoptimized:!0}),(0,i.jsx)("span",{children:_})]}),(0,i.jsxs)("div",{className:g().unit,children:[(0,i.jsx)(a(),{src:c.Z,alt:"views",unoptimized:!0}),(0,i.jsx)("span",{suppressHydrationWarning:!0,children:(0,p.V)((null==l?void 0:l.url)||"",(null==l?void 0:l.views)||0,0)})]})]}),(0,i.jsx)("div",{className:g().unit,children:(0,i.jsx)("span",{children:(0,v.p6)(String((null==l?void 0:l.public_date)||(null==l?void 0:l.update_time)||(null==l?void 0:l.publ_time)),!0)})})]})]})]})},b=e=>{var t,n,o,s;let{env:_,data:h}=e,m=y(null==h?void 0:h.url,null==h?void 0:h.likes),f=_.NEXT_PUBLIC_BASE_URL,x=(null==h?void 0:null===(t=h.img)||void 0===t?void 0:t.file)&&(null==h?void 0:null===(n=h.img)||void 0===n?void 0:n.file)!==".";return(0,i.jsxs)("a",{className:g().pinnedCard,href:"/".concat(h.url),target:"_self",children:[(0,i.jsx)("div",{className:(0,r.Z)(g().image,"desktopOnly"),style:x?{backgroundImage:"url(".concat(f,"/img/posts/small/").concat(null===(o=h.img)||void 0===o?void 0:o.file,")")}:{}}),(0,i.jsxs)("div",{className:g().container,children:[(0,i.jsxs)("div",{className:g().top,children:[(0,i.jsx)("div",{className:g().unit,children:(0,v.p6)(String(h.public_date||h.update_time||h.publ_time),!0)}),(0,i.jsx)("div",{className:g().tack,children:(0,i.jsx)(a(),{src:u,alt:"tack",unoptimized:!0})})]}),(0,i.jsx)("div",{className:g().title,children:h.title}),(0,i.jsx)("div",{className:(0,r.Z)(g().image,"mobileOnly"),style:x?{backgroundImage:"url(".concat(f,"/img/posts/small/").concat(null===(s=h.img)||void 0===s?void 0:s.file,")")}:{}}),(0,i.jsxs)("div",{className:g().icons,children:[!!m&&(0,i.jsxs)("div",{className:g().unit,children:[(0,i.jsx)(a(),{src:d.Z,alt:"likes",unoptimized:!0}),(0,i.jsx)("span",{children:m})]}),(0,i.jsxs)("div",{className:g().unit,children:[(0,i.jsx)(a(),{src:c.Z,alt:"views",unoptimized:!0}),(0,i.jsx)("span",{suppressHydrationWarning:!0,children:(0,p.V)(h.url||"",h.views||0,0)})]}),!!h.read_time&&(0,i.jsxs)("div",{className:g().unit,children:[(0,i.jsx)(a(),{src:l,alt:"clock",unoptimized:!0}),h.read_time," мин"]})]})]})]})},k=(e,t)=>{if(!e)return 0;let n="liked"===(0,h.M)(e||"");return Number(t)+(n?1:0)},y=(e,t)=>{let[n,i]=(0,s.useState)(t||0);return(0,s.useEffect)(()=>{i(k(e,t))},[e,t]),n}},4800:function(e,t,n){"use strict";n.d(t,{F:function(){return _}});var i=n(5893),r=n(5131),o=n(6010),a=n(7294),s=n(1439),l=n.n(s);let c=e=>{let{children:t,className:n}=e,[r,s]=(0,a.useState)(!1),[c,u]=(0,a.useState)(!0),[d,_]=(0,a.useState)(0),v=((0,a.useRef)(0),(0,a.useRef)(null)),p=(0,a.useRef)(null);return(0,a.useEffect)(()=>{let e=()=>{};return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[c]),(0,i.jsxs)("div",{ref:v,className:(0,o.Z)(l().wrapper,l().newSidebar,n),children:[!r&&!c&&(0,i.jsx)("div",{className:l().filler}),(0,i.jsx)("div",{ref:p,style:r?{top:"".concat(d,"px")}:{},className:(0,o.Z)(l().content,{[l().transitioning]:r,[l().stuckToTop]:c&&!r}),children:t})]})};var u=n(1176),d=n.n(u);let _=e=>{let{env:t,tags:n,selectedTag:o}=e;return(0,i.jsx)(c,{className:d().stickySidebar,children:(0,i.jsx)(r.v5,{env:t,isMobile:!1,tags:n,selectedTag:o})})}},5131:function(e,t,n){"use strict";n.d(t,{Yx:function(){return N},v5:function(){return y},Rj:function(){return k}});var i=n(5893),r=n(9194),o=n(6010),a=n(5675),s=n.n(a),l=n(7294),c={src:"/service-navigator/_next/static/media/arrow.e5fbf461.svg",height:24,width:24,blurWidth:0,blurHeight:0},u={src:"/service-navigator/_next/static/media/Chart square.b1b76e82.svg",height:24,width:24,blurWidth:0,blurHeight:0},d={src:"/service-navigator/_next/static/media/Compass.a44b319a.svg",height:24,width:24,blurWidth:0,blurHeight:0},_={src:"/service-navigator/_next/static/media/Safe square.f07d1b2c.svg",height:24,width:24,blurWidth:0,blurHeight:0},v={src:"/service-navigator/_next/static/media/Shield checkmark.77c905f0.svg",height:24,width:24,blurWidth:0,blurHeight:0},p=n(9546),h=n(4341),m=n(2864),g=n(7771),f=n(2288),x=n(5844),b=n.n(x);let k={id:42,name:"Новости",title:"Новости",modal_title:null,modal_description:null,modal_title_success:null,modal_description_success:null,h1:"Новости",url:"navigator/news"},y=e=>{let{env:t,isMobile:n,tags:r=[],selectedTag:a,maxHeight:u}=e,[d,..._]=r,v=[d,k,..._],[p,h]=(0,l.useState)(!1),f=e=>{(0,m.I)({eventCategory:(0,g.b)("журнал ".concat(location.pathname)),eventActionType:m.i.popup,eventActionText:e?"open":"close"}),h(e)};return(0,i.jsxs)("div",{style:u?{maxHeight:u}:void 0,className:(0,o.Z)(b().container,{[b().mobile]:n}),children:[(0,i.jsxs)("div",{className:b().top,onClick:()=>n&&f(!0),children:[(0,i.jsxs)("div",{className:b().tagTitle,children:[(0,i.jsx)(S,{icon:"top"}),"Что хотите почитать?"]}),(0,i.jsx)(s(),{className:b().arrow,src:c,alt:"arrow",unoptimized:!0})]}),(0,i.jsx)(w,{isMobile:n,isOpen:p,onClose:()=>f(!1),children:(0,i.jsx)("div",{className:b().tags,children:v.map((e,n)=>(0,i.jsx)(N,{env:t,tag:e,isSelected:(null==e?void 0:e.url)===a,cn:b().tag},n))})})]})},w=e=>{let{isMobile:t,isOpen:n,onClose:a,children:s}=e,c=(0,l.useRef)(null),u=(0,l.useRef)(null),[d,_]=(0,l.useState)(!0),[v,f]=(0,l.useState)(!1);return((0,l.useEffect)(()=>{var e,t;let n=(null===(e=c.current)||void 0===e?void 0:e.getBoundingClientRect().height)||0,i=(null===(t=u.current)||void 0===t?void 0:t.getBoundingClientRect().height)||0;f(n<i)},[]),t)?(0,i.jsx)(p.h,{children:(0,i.jsx)(h.j,{className:b().popup,contentClassName:b().popupContent,isOpen:n,onClose:a,title:"Что хотите почитать?",children:s})}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:b().lineWrapper,children:(0,i.jsx)("div",{className:b().line})}),(0,i.jsx)("div",{ref:c,className:(0,o.Z)(b().outerTagsWrapper,{[b().collapsed]:d}),children:(0,i.jsx)("div",{ref:u,className:b().tagsWrapper,children:s})}),v&&(0,i.jsx)("div",{className:b().controls,onClick:()=>_(!d),children:(0,i.jsxs)("div",{className:b().more,onClick:()=>{c.current&&c.current.scrollTo({top:0}),_(e=>!e),(0,m.I)({eventCategory:"".concat((0,g.b)("журнал"),"_").concat(location.pathname),eventActionType:m.i.navigator,eventActionText:"link_".concat((0,g.b)("показать ещё")),eventLabel:""})},children:[d?"Показать еще":"Свернуть",(0,i.jsx)("span",{className:(0,o.Z)(b().moreIcon,{[b().invert]:!d}),children:(0,i.jsx)(r.IconFdsChevronDownO,{})})]})})]})},S=e=>{var t,n;let{icon:r}=e;return(0,i.jsx)("div",{className:b().icon,style:{background:null===(t=E[r])||void 0===t?void 0:t.color},children:(0,i.jsx)(s(),{src:null===(n=E[r])||void 0===n?void 0:n.icon,alt:r,unoptimized:!0})})},E={top:{icon:d,color:"#ECF7FF"},navigator:{icon:{src:"/service-navigator/_next/static/media/Home.3353e744.svg",height:24,width:24,blurWidth:0,blurHeight:0},color:"#F6F7F0"},"navigator/news":{icon:{src:"/service-navigator/_next/static/media/Newspaper.928308ad.svg",height:24,width:24,blurWidth:0,blurHeight:0},color:"#ECF7FF"},"navigator/nakopit-i-sohranit":{icon:_,color:"#FEF1FE"},"navigator/nakopleniya":{icon:_,color:"#FEF1FE"},"navigator/investirovat":{icon:u,color:"#E7F9F6"},"navigator/investicii":{icon:u,color:"#E7F9F6"},"navigator/zastrahovat":{icon:v,color:"#FFF4E0"},"navigator/strahovanie":{icon:v,color:"#FFF4E0"},"navigator/kredity":{icon:{src:"/service-navigator/_next/static/media/Wallet.e84b9a47.svg",height:24,width:24,blurWidth:0,blurHeight:0},color:"#EEF6FF"},"navigator/nalogi":{icon:{src:"/service-navigator/_next/static/media/Coins percent.68bf89af.svg",height:24,width:24,blurWidth:0,blurHeight:0},color:"#DFFAFF"},"navigator/kak-ehto-rabotaet":{icon:{src:"/service-navigator/_next/static/media/Question square.05cf2b11.svg",height:24,width:24,blurWidth:0,blurHeight:0},color:"#EBFCD7"},"navigator/analitika":{icon:{src:"/service-navigator/_next/static/media/Bar chart vertical.393f1c5d.svg",height:24,width:24,blurWidth:0,blurHeight:0},color:"#F9F5FF"},"navigator/ehkspertnoe-mnenie":{icon:d,color:"#ECF7FF"},"navigator/video":{icon:{src:"/service-navigator/_next/static/media/Play square.84d059ba.svg",height:24,width:24,blurWidth:0,blurHeight:0},color:"#EEF6FF"},"navigator/pro":{icon:{src:"/service-navigator/_next/static/media/Star.7370b9c0.svg",height:24,width:24,blurWidth:0,blurHeight:0},color:"#F6F7F0"},"navigator/razvlecheniya":{icon:{src:"/service-navigator/_next/static/media/TetraStar.42d38de1.svg",height:24,width:24,blurWidth:0,blurHeight:0},color:"#FEF1FE"}},N=e=>{let{tag:t,isSelected:n,cn:r}=e;return t?(0,i.jsx)("a",{className:(0,o.Z)(b().tagTitleWrapper,{[b().selected]:n},r),href:"/".concat(t.url),target:"_self",onClick:()=>{(0,m.I)({eventCategory:(0,g.b)("журнал ".concat(null==t?void 0:t.url)),eventActionType:m.i.navigator,eventActionText:(0,g.b)("link_".concat((null==t?void 0:t.url)===f.Vf?"главная журнала":null==t?void 0:t.name)),eventLabel:""})},children:(0,i.jsxs)("div",{className:b().tagTitle,children:[(0,i.jsx)(S,{icon:t.url}),t.url===f.Vf?"Главная Журнала":t.name]})},t.id):null}},9741:function(e,t,n){"use strict";n.d(t,{t:function(){return v},M:function(){return p}});var i=n(5893),r=n(9194),o=n(6010),a=n(7294),s=n(7701),l=n(2864),c=n(136),u=n(7771),d=n(7746),_=n.n(d);let v=e=>{let{socProps:t,comments:n,focusCommentsInput:c,likes:d,submitLike:v}=e,[m,g]=(0,a.useState)(!1),[f,x]=(0,a.useState)(!1),b=t.url.slice(1);return(0,a.useEffect)(()=>{"liked"===p(b)&&x(!0)},[b]),(0,i.jsx)("div",{className:(0,o.Z)(_().wrapper,"disableContentBlocksStyles"),children:(0,i.jsxs)("div",{className:_().icons,children:[(0,i.jsxs)("div",{className:_().unit,onClick:()=>{p(b)||v(),h(b),x(!f)},children:[f?(0,i.jsx)(r.IconFdsThumbUpF,{size:24}):(0,i.jsx)(r.IconFdsThumbUpO,{size:24}),Number(d)+(f?1:0)]}),(0,i.jsxs)("div",{className:_().unit,onClick:c,children:[(0,i.jsx)(r.IconFdsChatDotsSquareO,{size:24}),n]}),(0,i.jsxs)("div",{className:_().shareWrapper,children:[(0,i.jsxs)("div",{className:_().unit,onClick:()=>{(0,l.I)({eventCategory:"".concat((0,u.b)("журнал"),"_").concat(location.pathname),eventActionType:l.i.button,eventActionText:(0,u.b)("поделиться"),eventLabel:""}),g(e=>!e)},children:[(0,i.jsx)(r.IconFdsArrowForwardO,{size:24}),"Поделиться"]}),(0,i.jsx)(s.n,{className:(0,o.Z)(_().soc,{[_().show]:m}),...t})]})]})})},p=e=>{let t=c.A.getItem("navigatorLikes")||{};return t[e]||null},h=e=>{let t=c.A.getItem("navigatorLikes")||{};t[e]="liked"===t[e]?"unliked":"liked",c.A.setItem("navigatorLikes",JSON.stringify(t))}},2039:function(e,t,n){"use strict";n.d(t,{b:function(){return i}});let i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:300,t=null;return n=>{t&&clearInterval(t),t=setTimeout(n,e)}}},1997:function(e,t,n){"use strict";n.d(t,{Nx:function(){return l},oX:function(){return s},p6:function(){return a}});var i=n(6535);let r={DAY:["день","дня","дней"],YEAR:["год","года","лет"]},o={DAY:1,MONTH:31,YEAR:365,TERMLESS:1/0},a=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=new Date(e),i=n.getDate();if("number"==typeof i&&!isNaN(i)){let e=String(i),r=String(n.getMonth()+1).padStart(2,"0"),o=String(n.getFullYear()).slice(t?0:-2);return"".concat(e,".").concat(r,".").concat(o)}let r=/(\d{4})-(\d{2})-(\d{2})/.exec(e);if(!r)return"";let[,o,a,s]=r,l=a.padStart(2,"0"),c=o.slice(t?0:-2);return"".concat(s,".").concat(l,".").concat(c)},s=(e,t)=>{switch(e){case"TERMLESS":return"бессрочно";case"DAY":{if(t<31)return"".concat(t," ").concat((0,i._6)(t,...r.DAY));let e=Math.round(t/31);return"".concat(e," мес.")}case"MONTH":return"".concat(t," мес.");case"YEAR":return"".concat(t," ").concat((0,i._6)(t,...r.YEAR));default:return String(t)}},l=e=>o[e.type]*e.value},2027:function(e,t,n){"use strict";n.d(t,{z:function(){return i}});let i=e=>{if(!(null==e?void 0:e.length))return"";let t={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:e.map((e,t)=>{let{href:n,label:i}=e;return{"@type":"ListItem",position:t+1,name:i,...n&&{item:{"@id":n}}}})};return JSON.stringify(t)}},3627:function(e,t,n){"use strict";n.d(t,{z:function(){return o}});var i=n(8853);let r=(e,t)=>{if(!t)return;let n=t.replace(/^\//,"");return n?"".concat(e,"/").concat(n):e},o=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,i.d)(),{includeBase:n=!0,baseLabel:o,tag:a,current:s}=e,l=[];return n&&l.push({href:r(t.NEXT_PUBLIC_BASE_URL,"/"),label:"Главная"},{href:a||s?r(t.NEXT_PUBLIC_BASE_URL,"/navigator"):void 0,label:o||"Журнал Финуслуги"}),a&&l.push({href:r(t.NEXT_PUBLIC_BASE_URL,a.href),label:a.label}),s&&l.push({href:r(t.NEXT_PUBLIC_BASE_URL,s.href),label:s.label}),l}},6129:function(e,t,n){"use strict";n.d(t,{V:function(){return r}});var i=n(136);let r=(e,t,n)=>{let r=i.A.getItem("navigatorViews")||{},o=Number(r[e]),a=(o>t?o:t)+n;return o!==a&&(r[e]=String(a),i.A.setItem("navigatorViews",JSON.stringify(r))),a}},2864:function(e,t,n){"use strict";n.d(t,{I:function(){return s},i:function(){return r}});var i,r,o=n(5621),a=n(7771);(i=r||(r={})).icon="icon",i.chip="chip",i.accordion="accordion",i.button="button",i.slider="slider",i.card="card",i.stat="stat",i.checkbox="checkbox",i.radio="radio",i.select="select",i.toggle="toggle",i.tooltip="tooltip",i.link="link",i.navigator="navigator",i.banner="banner",i.tag="tag",i.date="date",i.field="field",i.click_field="click_field",i.offer="offer",i.tab="tab",i.submit_button="submit_button",i.popup="popup",i.element="element",i.list="list",i.view_element="view_element";let s=e=>{let{eventCategory:t,eventActionType:n,eventActionText:i="",eventLabel:r}=e,s={event:"data-event",eventCategory:t,eventAction:{icon:"click_icon_",chip:"click_chip_",accordion:"show_acc_",button:"click_button_",card:"click_card_",stat:"click_stat_",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_",click_field:"click_field_",offer:"click_offer_",tab:"click_tab_",submit_button:"form_button_",popup:"show_pop_up_",slider:"click_slider_",navigator:"click_navigator_",element:"click_element_",list:"click_list_",view_element:"view_element_"}[n]+(0,a.b)(i)};void 0!==r&&(s.eventLabel=(0,a.b)("string"==typeof r?r:r.toString())),(0,o.l)(s)}},5621:function(e,t,n){"use strict";n.d(t,{l:function(){return o},y:function(){return a}});var i=n(7607);let r=[{path:"banki",category:"service_bank"},{path:"strahovanie_kompanija",category:"service_sk"},{path:"adresa_sk",category:"service_sk"},{path:"adresa_mfo",category:"service_mfo"},{path:"adresa",category:"service_bank"},{path:"mfo",category:"service_mfo"},{path:"navigator",category:"service_navigator"},{path:"stat_",category:"service_navigator"}],o=(e,t)=>{let n=sessionStorage.getItem("pushedEvents"),r=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(" ","_"));let o=r.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||!o){if(t){let t={...e};t.url=window.location.pathname,r.push(t),sessionStorage.setItem("pushedEvents",JSON.stringify(r))}(0,i.AB)(e)}},a=e=>{for(let t of r)if(e.indexOf(t.path)>=0){let n=e.match(/str_(\d+)/),i=Array.isArray(n)&&n[1]?Number(n[1]):1;setTimeout(()=>{o({event:"data-event",eventCategory:t.category,eventAction:"stay_15_seconds",eventLabel:e,eventValue:i})},15e3);return}}},136:function(e,t,n){"use strict";n.d(t,{A:function(){return i}});let i={setItem:(e,t)=>{try{window.localStorage.setItem(e,t)}catch(e){return console.error(e),!1}return!0},getItemRaw:e=>{try{return window.localStorage.getItem(e)}catch(e){return console.error(e),null}},getItem:e=>{let t=i.getItemRaw(e);if(t&&"undefined"!==t)try{return JSON.parse(t)}catch(t){console.warn("invalid object in localStorage by key: ".concat(e))}return null},removeItem:e=>{try{window.localStorage.removeItem(e)}catch(e){console.error(e)}}}},7771:function(e,t,n){"use strict";n.d(t,{b:function(){return r}});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"},r=e=>e.replace(/[а-яё]/gi,e=>{let t=e.toLowerCase();return t in i?i[t]:e}).replaceAll(" ","_")},5331:function(e){e.exports={overlay:"ClickOutside_overlay___2Sjp",open:"ClickOutside_open__jk_n_",fade:"ClickOutside_fade__rEbST",close:"ClickOutside_close__yXcIJ","fade-out":"ClickOutside_fade-out__O_KmR",shine:"ClickOutside_shine__4xF87"}},331:function(e){e.exports={mobilePopup:"MobilePopup_mobilePopup__1ChJX",content:"MobilePopup_content__q4Uy0",contentFull:"MobilePopup_contentFull__G4SZI",contentLine:"MobilePopup_contentLine___ZAWF",contentContainer:"MobilePopup_contentContainer__CPn4c",min:"MobilePopup_min__Hr8uT",contentTransition:"MobilePopup_contentTransition__cEQsO",contentTransitionOpen:"MobilePopup_contentTransitionOpen__qBKfr",title:"MobilePopup_title__eyvil",closeContainer:"MobilePopup_closeContainer__Yziwx",closeButton:"MobilePopup_closeButton__RGZyc",smallContentContainer:"MobilePopup_smallContentContainer__MYVzx",shine:"MobilePopup_shine__KJf9N"}},2278:function(e){e.exports={footer:"MobileModalFooter_footer__7tuQo",footerWithoutShadow:"MobileModalFooter_footerWithoutShadow__zrZro",shine:"MobileModalFooter_shine__mRIKk"}},1581:function(e){e.exports={sliderWrapper:"Slider_sliderWrapper__AJHqL",slider:"Slider_slider__Dn5F0",visiblePagination:"Slider_visiblePagination__WdLYn",wrapper:"Slider_wrapper__SKQ9_",slides:"Slider_slides__ZHLIN",shifting:"Slider_shifting__0iMbR",slide:"Slider_slide__TxHv7",slideIsPointer:"Slider_slideIsPointer__mFLli",paginationList:"Slider_paginationList__hzVQf",selected:"Slider_selected___8THy",animationLine:"Slider_animationLine__Syfth",control:"Slider_control__qMRlk",prev:"Slider_prev__Aw6il",next:"Slider_next__rvHgb",shine:"Slider_shine__YBykr"}},9134:function(e){e.exports={soc:"SocShareButtons_soc__Sm2fC",icon:"SocShareButtons_icon___Tbi0",shine:"SocShareButtons_shine__xcQQW"}},4494:function(e){e.exports={card:"ArticleGrid_card__tgeSL",wrapper:"ArticleGrid_wrapper__xdSxO",skeleton:"ArticleGrid_skeleton__doSRA",title:"ArticleGrid_title__aHRpY",image:"ArticleGrid_image__dD9XE",unit:"ArticleGrid_unit__d56X_",shine:"ArticleGrid_shine__CfZDI",container:"ArticleGrid_container__bXQgz",icons:"ArticleGrid_icons__U8iNj",left:"ArticleGrid_left__z0_TQ",pinnedCard:"ArticleGrid_pinnedCard__yN_M4",top:"ArticleGrid_top__KjgAJ",tack:"ArticleGrid_tack__8Nafc"}},1176:function(e){e.exports={stickySidebar:"NavigatorSidebar_stickySidebar__ochOk",shine:"NavigatorSidebar_shine__qvrBr"}},5844:function(e){e.exports={top:"NavigatorTagsBlock_top__pHCVn",tagTitle:"NavigatorTagsBlock_tagTitle__U84os",popupTitle:"NavigatorTagsBlock_popupTitle__zYIT1",container:"NavigatorTagsBlock_container__PSwiI",mobile:"NavigatorTagsBlock_mobile__dBujx",lineWrapper:"NavigatorTagsBlock_lineWrapper__twGmP",line:"NavigatorTagsBlock_line__9LwDl",outerTagsWrapper:"NavigatorTagsBlock_outerTagsWrapper__VVPm_",collapsed:"NavigatorTagsBlock_collapsed__WvoIS",tagsWrapper:"NavigatorTagsBlock_tagsWrapper__GG11A",controls:"NavigatorTagsBlock_controls__kkXR6",more:"NavigatorTagsBlock_more__DqsD0",moreIcon:"NavigatorTagsBlock_moreIcon__ubw_W",invert:"NavigatorTagsBlock_invert__JwspM",popup:"NavigatorTagsBlock_popup__RQwax",popupContent:"NavigatorTagsBlock_popupContent__uWMoY",arrow:"NavigatorTagsBlock_arrow__oCE_G",icon:"NavigatorTagsBlock_icon__4X4uu",close:"NavigatorTagsBlock_close__v1xbf",tags:"NavigatorTagsBlock_tags__G__Yy",tagTitleWrapper:"NavigatorTagsBlock_tagTitleWrapper__2OVBk",tag:"NavigatorTagsBlock_tag__5_xdQ",selected:"NavigatorTagsBlock_selected__PUC84",shine:"NavigatorTagsBlock_shine__WJuYJ"}},7746:function(e){e.exports={wrapper:"PostActions_wrapper__6uvv5",links:"PostActions_links__DQmIB",chip:"PostActions_chip__Ctwms",icons:"PostActions_icons__HAnk6",shareWrapper:"PostActions_shareWrapper__1tQZT",soc:"PostActions_soc__QFnsm",show:"PostActions_show__ECc_w",unit:"PostActions_unit__jgqAF",shine:"PostActions_shine__M761w"}},1439:function(e){e.exports={wrapper:"StickySidebar_wrapper__lJ7Ss",filler:"StickySidebar_filler__QxtZk",content:"StickySidebar_content__lv3lb",transitioning:"StickySidebar_transitioning__WyJVq",stuckToTop:"StickySidebar_stuckToTop__TykKB",newSidebar:"StickySidebar_newSidebar__9DoE2",shine:"StickySidebar_shine__f1rDL"}}}]);