(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2806],{96326:function(e,s,i){"use strict";var t,n;i.d(s,{e:function(){return t}}),(n=t||(t={})).DAY="DAY",n.MONTH="MONTH",n.TERMLESS="TERMLESS",n.YEAR="YEAR"},33641:function(e,s,i){"use strict";i.d(s,{S:function(){return m}});var t=i(57437),n=i(79976),a=i(14073),r=i(7301),o=i(20703),l=i(2265),c=i(53881),d=i(57486),p=i(27401),_=i.n(p);let u=(0,l.memo)(e=>{let{pageUrl:s,posts:i,categories:n}=e,p=(0,r._m)("l"),{isDragged:u,isTouched:m,onMouseDown:f,onMouseMove:h,resetState:v}=(0,d.Q)(),x=(e,i,t)=>{(0,c.D)({eventCategory:s,eventAction:c.i.link,eventActionText:t,eventLabel:i,url:e}),window.open(e,"_self")},j=e=>()=>!(u&&m)&&x("".concat(a._n,"/").concat(e.url),e.id,e.title),T=(0,l.useMemo)(()=>p?348:300,[p]);return(0,t.jsx)(r.Fp,{width:T,height:p?316:280,spaceBetween:p?32:16,sliderPerView:p?3:1,hideNavigationControl:!p,overflowVisible:!p,startDelay:1e4,classSliderWrapper:_().sliderWrapper,autoPlayTime:5e3,isDependsOnWidth:!1,children:i.map(e=>{var s,i;let r=null==n?void 0:null===(s=n.find(s=>s.id===(null==e?void 0:e.ctg_id)))||void 0===s?void 0:s.name;return(0,t.jsx)("a",{href:"".concat(a._n,"/").concat(e.url),className:_().bannerCardLink,children:(0,t.jsxs)("div",{className:_().bannerCard,onMouseDown:f,onMouseMove:h,onMouseLeave:v,onMouseUp:v,onMouseUpCapture:j(e),children:[(0,t.jsx)("div",{className:_().cardHead,children:(0,t.jsx)(o.default,{unoptimized:!0,className:_().image,width:T,height:p?168:140,alt:"иконка",src:"".concat(a._n,"/img/posts/small/").concat(null===(i=e.img)||void 0===i?void 0:i.file)})}),(0,t.jsxs)("div",{className:_().cardBody,children:[r&&(0,t.jsxs)("div",{className:_().status,children:[r," ",e.publ_date?"• ".concat(e.publ_date.slice(8,10),".").concat(e.publ_date.slice(5,7)):""]}),(0,t.jsx)("p",{className:_().text,children:e.title})]})]})},e.id)})})});u.displayName="Slider";let m=e=>{let{posts:s,categories:i,pageUrl:r}=e;return s.length?(0,t.jsxs)("section",{className:_().container,children:[(0,t.jsx)("h2",{className:_().title,children:"Журнал Финуслуги"}),(0,t.jsx)("div",{className:_().sliderContainer,children:(0,t.jsx)(u,{posts:s,categories:i,pageUrl:r})}),(0,t.jsx)(n.j,{offPadding:!0,text:"Смотреть все статьи",href:"".concat(a._n,"/navigator/nakopit-i-sohranit"),mainPageUrl:r})]}):null}},82331:function(e,s,i){"use strict";i.d(s,{m:function(){return n},v:function(){return a}});var t=i(96326);let n=Object.freeze({[t.e.DAY]:["день","дня","дней"],[t.e.MONTH]:["мес","мес","мес"],[t.e.YEAR]:["год","года","лет"],[t.e.TERMLESS]:["Бессрочно","Бессрочно","Бессрочно"]}),a=Object.freeze({[t.e.DAY]:["дня","дней","дней"],[t.e.MONTH]:["мес","мес","мес"],[t.e.YEAR]:["года","лет","лет"],[t.e.TERMLESS]:["Бессрочно","Бессрочно","Бессрочно"]})},42065:function(e,s,i){"use strict";i.d(s,{m:function(){return l}});var t=i(57437),n=i(32833),a=i(34734),r=i(73391),o=i.n(r);let l=e=>{let{className:s}=e;return(0,t.jsx)("div",{className:(0,a.Z)(o().disclaimer,s),children:(0,t.jsx)(n.W2,{children:"В соответствии с Федеральным законом от 20.07.2020 №211-ФЗ \xabО совершении финансовых сделок с использованием финансовой платформы\xbb на сайте www.finuslugi.ru предоставляются услуги оператора финансовой платформы, а также размещаются рекламно-информационные материалы, предоставленные партнерами ПАО Московская Биржа. Оператором платформы является ПАО Московская Биржа. Услуги, предоставляемые ПАО Московская Биржа, выступающей в качестве оператора финансовой платформы обозначены отметкой \xabОткрыть онлайн\xbb. Рекламно-информационные материалы на сайте www.finuslugi.ru размещаются ПАО Московская Биржа и ООО \xabМБ Маркетплейс\xbb. ООО \xabМБ Маркетплейс\xbb входит в Группу \xabМосковская Биржа\xbb. Группа \xabМосковская Биржа\xbb - ПАО Московская Биржа и юридические лица, находящиеся под прямым или косвенным контролем ПАО Московская Биржа."})})}},69282:function(e,s,i){"use strict";i.d(s,{k:function(){return C}});var t=i(57437),n=i(7301),a=i(34734),r=i(20703),o=i(2265),l=i(79976),c=i(34426),d=i(10414),p=i(14073),_=i(15774),u=i(16243),m=i(93880),f=i(64502),h=i(57486),v={src:"/deposits/_next/static/media/info-circle.ae5ee46d.svg",height:14,width:14,blurWidth:0,blurHeight:0},x=i(36816),j=i(76049),T=i.n(j);let D=(0,o.memo)(e=>{let{terms:s,name:i}=e,[l,c]=(0,o.useState)(!1),d=(0,o.useCallback)(()=>{c(e=>!e)},[]);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{onClick:d,className:(0,a.Z)(T().caption,{[T().isBounusText]:i}),children:["ставка",s.length?" + бонус":null,!!s.length&&(0,t.jsx)(r.default,{width:16,height:16,alt:"иконка",src:v})]}),(0,t.jsx)(x.h,{children:(0,t.jsx)(n.jr,{className:T().popup,isOpen:l,onClose:d,children:s.length?(0,t.jsx)("span",{className:T().content,dangerouslySetInnerHTML:{__html:s}}):(0,t.jsx)("span",{className:T().content,children:i})})})]})});D.displayName="BonusBottomSheet";let N=(0,o.memo)(e=>{let{terms:s,name:i}=e;return(0,t.jsx)(n.u,{text:s.length?s:i,children:(0,t.jsxs)("div",{className:(0,a.Z)(T().caption,{[T().isBounusText]:i}),children:["ставка",s.length?" + бонус":null,!!s.length&&(0,t.jsx)(r.default,{width:16,height:16,alt:"иконка",src:v})]})})});N.displayName="BonusToolitp";let O=(e,s,i,t)=>36500*Math.min(s/100*e*(t/365),i)/t/e,g=e=>{var s,i,n,l;let{item:c,discount:v,productId:x,eventCategory:j,isDesktop:g}=e,C=(0,o.useRef)(null),{isDragged:b,isTouched:M,onMouseDown:k,onMouseMove:y,resetState:w}=(0,h.Q)(),S=e=>{window.open(e,"_self")},F=null===(i=c.interest_rate.rates.find(e=>e.amount_from===c.amount.from))||void 0===i?void 0:null===(s=i.tag)||void 0===s?void 0:s.title,W=c.parent_url?c.parent_url:c.url,L=c.term.from/d.F,A=L>12?Math.ceil(L/12):L,{finuslugiBonusAllowed:B}=c,E=B&&v?O(c.amount.from,null==v?void 0:v.rate,null==v?void 0:v.sum,c.term.from):0,Y=(0,_.T)(c.amount.from),I="".concat((0,_.Y4)(c.rate)).concat(E?" + "+(0,_.Y4)(E):""),H="".concat(Y,"_").concat(I,"_").concat((0,m.b)(c.bank_title),"_").concat(x);(0,f.Z)({itemRef:C,eventAction:"show_best_offers",eventCategory:j,eventLabel:H});let R=()=>{(0,u.lQ)({eventAction:"click_best_offers",eventCategory:j,eventLabel:H})};return(0,t.jsxs)("div",{className:T().bannerCard,onMouseDown:k,onMouseMove:y,onMouseLeave:w,onMouseUp:w,ref:C,children:[(0,t.jsx)("a",{href:"".concat(p._n,"/vklady/").concat(W,"#amount=").concat(c.amount.from,"&period=").concat(A),className:T().bannerCardLink}),(0,t.jsx)("div",{className:T().redirect,onMouseUpCapture:()=>{b&&M||(R(),S("/vklady/".concat(W,"#amount=").concat(c.amount.from,"&period=").concat(A)))}}),(0,t.jsxs)("div",{className:T().cardHead,children:[(0,t.jsx)("div",{className:T().imageWrapper,children:c.logo_mob&&(0,t.jsx)(r.default,{width:40,height:40,alt:c.bank_title,src:c.logo_mob})}),(0,t.jsxs)("div",{className:T().cardTitleWrapper,children:[(0,t.jsx)("p",{className:T().cardTitle,children:c.bank_title}),(0,t.jsx)("span",{className:T().caption,children:c.title})]})]}),(0,t.jsxs)("div",{className:T().cardBody,children:[(0,t.jsxs)("div",{className:T().depositConditions,children:[(0,t.jsxs)("div",{className:T().itemCondition,children:[(0,t.jsxs)("div",{className:T().text,children:[Y," ₽"]}),(0,t.jsx)("div",{className:T().caption,children:"сумма вклада от"})]}),(0,t.jsxs)("div",{className:T().itemCondition,children:[(0,t.jsxs)("div",{className:T().text,children:[I,"%"]}),!!E&&v&&(g?(0,t.jsx)(N,{terms:v.terms,name:null!==(n=null==v?void 0:v.name)&&void 0!==n?n:""}):(0,t.jsx)(D,{terms:v.terms,name:null!==(l=null==v?void 0:v.name)&&void 0!==l?l:""}))]})]}),(0,t.jsxs)("div",{className:T().chipsList,children:[!!F&&(0,t.jsx)("div",{className:(0,a.Z)(T().chips,T().first),children:F}),!!E&&!!v&&(0,t.jsx)("div",{className:(0,a.Z)(T().chips,T().second),children:"+Бонус"}),3===c.online_application.type&&(0,t.jsx)("div",{className:(0,a.Z)(T().chips,T().threed),children:"Открытие онлайн на Финуслугах"})]})]}),!!c.bank_official_name&&(0,t.jsxs)("div",{className:T().cardFooter,children:["реклама ",c.bank_official_name]})]})},C=e=>{let{data:s,discount:i,productId:a,eventCategory:r}=e,o=(0,n._m)("l"),d=s.sort((e,s)=>s.rate-e.rate);return(0,t.jsxs)("section",{className:T().container,children:[(0,t.jsx)("h2",{className:T().title,children:"Топ предложений"}),(0,t.jsx)("div",{className:T().sliderWrapper,children:(0,t.jsx)(n.Fp,{width:o?349:328,height:254,spaceBetween:32,sliderPerView:o?3:1,overflowVisible:!o,hideNavigationControl:!o,infiniteSlider:!0,startDelay:1e4,autoPlayTime:5e3,isDependsOnWidth:!1,children:d.map(e=>(0,t.jsx)(g,{item:e,eventCategory:r,productId:a,isDesktop:o,discount:i},e.id))})}),(0,t.jsx)(l.j,{iconColor:"light",onClick:()=>{(0,u.lQ)({eventAction:"click_see_all_offers",eventCategory:r,eventLabel:a})},text:"Смотреть все предложения",href:"".concat(p._n,"/vklady"),mainPageUrl:c.N9.VKLADY,isCustomMarkup:!0})]})}},47337:function(e,s,i){"use strict";i.d(s,{k:function(){return g}});var t=i(57437),n=i(32833),a=i(61810),r=i(7301),o=i(20703),l=i(2265),c=i(79976),d=i(34426),p=i(14073),_=i(92534),u=i(45951),m=i(16243),f=i(93880),h=i(36398),v=i(64502),x=i(57486),j=i(54674),T=i.n(j);let D=e=>{let{item:s,eventCategory:i}=e,{productId:n,minimumAmount:r,minimumTerm:c,providerName:d,providerBic:h,rate:j,name:D}=s,{totalMonths:N,termString:O}=(0,_.K)(c,{prefix:"от",form:"genitive"}),g=(0,l.useRef)(null),{isDragged:C,isTouched:b,onMouseDown:M,onMouseMove:k,resetState:y}=(0,x.Q)(),w=e=>{window.open(e,"_self")},S="".concat(r,"_").concat(j,"_").concat((0,f.b)(d),"_").concat(n),F=(0,u.B)(h);(0,v.Z)({itemRef:g,eventAction:"show_best_offers",eventCategory:i,eventLabel:S});let W=()=>{C&&b||((0,m.lQ)({eventAction:"click_best_offers",eventCategory:i,eventLabel:S}),w("/vklady/".concat(n,"#amount=").concat(r,"&period=").concat(N)))};return(0,t.jsxs)("div",{className:T().bannerCard,onMouseDown:M,onMouseMove:k,onMouseLeave:y,onMouseUp:y,ref:g,children:[(0,t.jsx)("a",{href:"".concat(p._n,"/vklady/").concat(n,"#amount=").concat(r,"&period=").concat(N),className:T().bannerCardLink}),(0,t.jsx)("div",{className:T().redirect,onMouseUpCapture:W}),(0,t.jsxs)("div",{className:T().cardHead,children:[(0,t.jsx)("div",{className:T().imageWrapper,children:F&&(0,t.jsx)(o.default,{width:56,height:56,alt:d,src:F})}),(0,t.jsxs)("div",{className:T().cardTitleWrapper,children:[(0,t.jsx)("p",{className:T().caption,children:d}),(0,t.jsx)("span",{className:T().cardTitle,children:D})]})]}),(0,t.jsxs)("div",{className:T().cardBody,children:[(0,t.jsxs)("div",{className:T().depositConditions,children:[(0,t.jsxs)("div",{className:T().row,children:[(0,t.jsxs)("div",{className:T().itemCondition,children:[(0,t.jsx)("div",{className:T().caption,children:"Сумма"}),(0,t.jsxs)("div",{className:T().text,children:[r,"\xa0","₽"]})]}),(0,t.jsxs)("div",{className:T().itemCondition,children:[(0,t.jsx)("div",{className:T().caption,children:"Ставка"}),(0,t.jsxs)("div",{className:T().text,children:[j,"%"]})]})]}),(0,t.jsxs)("div",{className:T().itemCondition,children:[(0,t.jsx)("div",{className:T().caption,children:"Срок"}),(0,t.jsx)("div",{className:T().text,children:O})]})]}),(0,t.jsx)(a.zx,{size:"xs",stretch:!0,onClick:W,children:"Подробнее"})]})]})},N=()=>(0,t.jsxs)("div",{className:T().skeletonWrapper,children:[(0,t.jsx)(n.Od,{className:T().skeleton}),(0,t.jsx)(n.Od,{className:T().skeleton}),(0,t.jsx)(n.Od,{className:T().skeleton}),(0,t.jsx)(n.Od,{className:T().skeleton})]}),O=(e,s)=>s?4:e?3:1,g=e=>{let{productId:s,eventCategory:i}=e,n=(0,r._m)("l"),a=(0,r._m)("2xl"),{bestOffers:o,isLoading:l}=(0,h.e)();return l||o.length?(0,t.jsxs)("section",{className:T().container,children:[(0,t.jsx)("h2",{className:T().title,children:"Топ предложений"}),(0,t.jsx)("div",{className:T().sliderWrapper,children:l?(0,t.jsx)(N,{}):(0,t.jsx)(r.Fp,{width:n?336:328,height:294,spaceBetween:24,sliderPerView:O(n,a),overflowVisible:!n,hideNavigationControl:!n,hidePaginationControl:!0,autoPlayTime:5e3,isDependsOnWidth:!1,children:o.map(e=>(0,t.jsx)(D,{item:e,eventCategory:i,isDesktop:n},e.productId))})}),(0,t.jsx)(c.j,{iconColor:"light",onClick:()=>{(0,m.lQ)({eventAction:"click_see_all_offers",eventCategory:i,eventLabel:s})},text:"Показать все предложения",href:"".concat(p._n,"/vklady"),mainPageUrl:d.N9.VKLADY,isCustomMarkup:!0})]}):null}},92534:function(e,s,i){"use strict";i.d(s,{K:function(){return l}});var t=i(96326),n=i(10414),a=i(82331),r=i(55961);let o=Object.freeze({nominative:a.m,genitive:a.v}),l=(e,s)=>{let{type:i,value:a}=e,{prefix:l,form:c="genitive"}=null!=s?s:{};if(i===t.e.TERMLESS)return{totalMonths:0,termString:"Бессрочно"};let d=i===t.e.DAY?a:i===t.e.MONTH?Math.round(a*n.F):i===t.e.YEAR?Math.round(365*a):30,p=Math.floor(d/365),_=Math.max(Math.round(d%365/n.F),p>0?0:1),u=[l],m=o[c];return p&&u.push((0,r.PY)(p,m.YEAR)),_&&u.push((0,r.PY)(_,m.MONTH)),{termString:u.filter(Boolean).join(" "),totalMonths:Math.max(1,Math.round(d/n.F))}}},36398:function(e,s,i){"use strict";i.d(s,{e:function(){return l}});var t=i(2265),n=i(90199),a=i(77693),r=i(62470);let o=Object.freeze([{minimumInDays:0,maximumInDays:74},{minimumInDays:75,maximumInDays:164},{minimumInDays:165,maximumInDays:284},{minimumInDays:285,maximumInDays:375},{minimumInDays:376,maximumInDays:1825}]);function l(e){var s;let{termConditions:i,...l}=null!=e?e:{},{isLoading:c,customerId:d}=(0,r.O)(l),{data:p,isLoading:_}=(0,a.d)(["best-deposits",null!=i?i:o],()=>(0,n.Lp)({customerId:null!=d?d:void 0,termConditions:null!=i?i:o}),{disabled:c||l.disabled});return(0,t.useMemo)(()=>{var e,s,i;return{isLoading:_||c,bestOffers:null!==(i=null==p?void 0:null===(s=p.data)||void 0===s?void 0:null===(e=s.topList)||void 0===e?void 0:e.filter(e=>!!e.topDeposit).map(e=>e.topDeposit))&&void 0!==i?i:[]}},[null==p?void 0:null===(s=p.data)||void 0===s?void 0:s.topList,c,_])}},62470:function(e,s,i){"use strict";i.d(s,{O:function(){return l}});var t=i(2265),n=i(33730),a=i(92638),r=i(21822),o=i(77693);function l(e){var s;let{disabled:i=!1,...l}=null!=e?e:{},c=(0,t.useMemo)(()=>(0,r.$1)(),[]),d=null!==(s=null==c?void 0:c["auth.gtm_customer_id"])&&void 0!==s?s:null,[p,_]=(0,t.useState)(!1),{data:u,isLoading:m}=(0,o.d)(["customer",d],()=>(0,n.M)(d),{...l,disabled:!d||i});return(0,t.useEffect)(()=>{if(i||m||!u)return;let{data:e,error:s}=u,{features:t}=null!=e?e:{};s||(null==t?void 0:t.includes(a.n.SHOW_ADDITIONAL_PERCENT_BONUS))||_(!0)},[u,i,m]),(0,t.useMemo)(()=>({isLoading:m,isOldUser:p,customerId:d}),[d,m,p])}},27401:function(e){e.exports={title:"FinancialServicesJournal_title__06JFD",container:"FinancialServicesJournal_container__YbC9_",tabsFilter:"FinancialServicesJournal_tabsFilter__7RIml",sliderContainer:"FinancialServicesJournal_sliderContainer__iyYI1",sliderWrapper:"FinancialServicesJournal_sliderWrapper__5pk_7",bannerCard:"FinancialServicesJournal_bannerCard__fHClX",cardHead:"FinancialServicesJournal_cardHead__CBVF0",image:"FinancialServicesJournal_image__tSm_t",cardBody:"FinancialServicesJournal_cardBody__58L6K",status:"FinancialServicesJournal_status__c7dMf",text:"FinancialServicesJournal_text__cKF2w",bannerCardLink:"FinancialServicesJournal_bannerCardLink__EXzn0"}},73391:function(e){e.exports={disclaimer:"DepositDetailDisclaimer_disclaimer__WOd5G"}},76049:function(e){e.exports={title:"DepositTopOffers_title__L2u78",container:"DepositTopOffers_container__wdKYe",sliderWrapper:"DepositTopOffers_sliderWrapper__r0uC0",popup:"DepositTopOffers_popup__Scy0Z",bannerCard:"DepositTopOffers_bannerCard__5f6Sv",redirect:"DepositTopOffers_redirect__IEyeH",cardHead:"DepositTopOffers_cardHead__MzZbT",imageWrapper:"DepositTopOffers_imageWrapper__Apcr2",cardTitleWrapper:"DepositTopOffers_cardTitleWrapper___Nnco",cardTitle:"DepositTopOffers_cardTitle__FCz76",caption:"DepositTopOffers_caption___TxQA",cardBody:"DepositTopOffers_cardBody__8MRtV",depositConditions:"DepositTopOffers_depositConditions__ZjzAx",itemCondition:"DepositTopOffers_itemCondition__eR_ds",text:"DepositTopOffers_text__lLZ8U",isBounusText:"DepositTopOffers_isBounusText__TDRx6",chipsList:"DepositTopOffers_chipsList__eMCH5",chips:"DepositTopOffers_chips__iAi2R",first:"DepositTopOffers_first__yX9u5",second:"DepositTopOffers_second__zznHu",threed:"DepositTopOffers_threed__kV4Yp",cardFooter:"DepositTopOffers_cardFooter__yVmrY"}},54674:function(e){e.exports={title:"DepositTopOffers_title__PDRlD",container:"DepositTopOffers_container__aF_hZ",sliderWrapper:"DepositTopOffers_sliderWrapper__eetYb",popup:"DepositTopOffers_popup__8KxGt",bannerCard:"DepositTopOffers_bannerCard__7bGht",redirect:"DepositTopOffers_redirect__2R6zK",cardHead:"DepositTopOffers_cardHead__VpVIc",imageWrapper:"DepositTopOffers_imageWrapper__Y4mWI",cardTitleWrapper:"DepositTopOffers_cardTitleWrapper__2S1IZ",cardTitle:"DepositTopOffers_cardTitle__zlKck",caption:"DepositTopOffers_caption__Yo_IW",cardBody:"DepositTopOffers_cardBody__k_lTA",depositConditions:"DepositTopOffers_depositConditions__abF82",row:"DepositTopOffers_row__7Vpac",itemCondition:"DepositTopOffers_itemCondition__igF2a",text:"DepositTopOffers_text__wbP3f",isBounusText:"DepositTopOffers_isBounusText__Fa3lv",chipsList:"DepositTopOffers_chipsList__XSW9x",chips:"DepositTopOffers_chips__GEzFs",first:"DepositTopOffers_first__6gFny",second:"DepositTopOffers_second__sfAzD",threed:"DepositTopOffers_threed__8JJsJ",cardFooter:"DepositTopOffers_cardFooter__KXj3s",skeletonWrapper:"DepositTopOffers_skeletonWrapper__VZE6q",skeleton:"DepositTopOffers_skeleton__49G2o"}}}]);