(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7695],{7695:function(e,t,n){Promise.resolve().then(n.bind(n,53417)),Promise.resolve().then(n.bind(n,69767)),Promise.resolve().then(n.t.bind(n,88003,23)),Promise.resolve().then(n.bind(n,15037)),Promise.resolve().then(n.bind(n,99070))},93810:function(e){e.exports=function(){}},13591:function(e,t,n){"use strict";n.d(t,{N:function(){return l}});var i=n(57437),a=n(50666);let l=(0,n(2265).memo)(e=>{let{title:t,description:n,productId:l,path:o,noIndex:r}=e,s=o;o.includes("?")&&(o=o.split("?")[0]),(0===o.indexOf("/debetovye_karty")||0===o.indexOf("/vklady")||0===o.indexOf("/depozitnyj-kalkulyator")||0===o.indexOf("/banki"))&&(s=o.split("&")[0]);let u=(0,a.env)("NEXT_PUBLIC_BASE_URL");return(0,i.jsxs)("head",{children:[(0,i.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1"},"viewport"),(0,i.jsx)("link",{rel:"icon",href:"".concat(u,"/icons/favicon/favicon-32x32.png")},"icon"),t&&(0,i.jsx)("title",{children:t},"title"),n&&(0,i.jsx)("meta",{name:"description",content:n},"description"),l&&(0,i.jsx)("script",{dangerouslySetInnerHTML:{__html:"dataLayer = [{'view_product_id': '".concat(l,"'}];")}},"viewProduct"),r&&(0,i.jsx)("meta",{name:"robots",content:"noindex,nofollow"}),(0,i.jsx)("meta",{property:"og:url",content:"".concat(u).concat(o||"")},"og:url"),(0,i.jsx)("meta",{property:"og:title",content:t},"og:title"),(0,i.jsx)("meta",{property:"og:description",content:n},"og:description"),(0,i.jsx)("meta",{property:"og:site_name",content:"Финуслуги"},"og:site_name"),(0,i.jsx)("meta",{property:"og:image",content:"".concat(u,"/icons/favicon/favicon-32x32.png")},"og:image"),(0,i.jsx)("meta",{property:"og:type",content:"website"},"og:type"),(0,i.jsx)("link",{rel:"canonical",href:"".concat(u).concat(s)},"canonical"),(0,i.jsx)("link",{rel:"preload",href:"data:image/svg+xml;base64,PD94bWwgdmVyc2lv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wNDA2OTljLTEuNDkyMDA0NCwwLTIuMTgwOTk5OC0xLjExODk5OTUtMi4xODA5OTk4LTIuNTYzNDk5NQ0KCXMwLjY5NDk5OTctMi41NjIwOTk1LDIuMTgwOTk5OC0yLjU2MjA5OTVjMS40ODY5OTk1LDAsMi4xODA5OTk4LDEuMTE3NTk5NSwyLjE4MDk5OTgsMi41NjIwOTk1DQoJcy0wLjY5NDAwMDIsMi41NTgxMDE3LTIuMTgwOTk5OCwyLjU1ODEwMTdWMzguMDQwNjk5eiBNMTA5LjY5MDAwMjQsMzEuNjQwMTk5Nw0KCWMtMi4yMzc5OTksMC0zLjU0MDAwMDksMS41NDM1MDA5LTMuNTQwMDAwOSwzLjgwODU5OTVjMCwyLjI2NDk5OTQsMS4zMDIwMDIsMy44NjY4MDIyLDMuNTQwMDAwOSwzLjg2NjgwMjINCglzMy41NDAwMDA5LTEuNjAwNDAyOCwzLjU0MDAwMDktMy44NjY4MDIyYzAtMi4yNjY0OTg2LTEuMzAyMDAyLTMuODEzOTk5Mi0zLjU0MDAwMDktMy44MTM5OTkyVjMxLjY0MDE5OTd6IE0xMTkuODYyOTk5LDM5LjEzMTE5ODkNCgloMS40MTYwMDA0bDEuNTg1OTk4NS0yLjg4ODk5OTlsMS43MDAwMDQ2LDIuODg4OTk5OWgxLjQxMDk5NTVsLTIuMjY2OTk4My0zLjgyODg5OTRsMi4xMjQwMDA1LTMuNDgzMDk5aC0xLjQxNjAwMDQNCglsLTEuNDkxOTk2OCwyLjYwNTUwMTJsLTEuNTE0OTk5NC0yLjYwNTUwMTJIMTIwbDIuMDMzOTk2NiwzLjQ0MUwxMTkuODYyOTk5LDM5LjEzMTE5ODl6Ii8+DQo8L3N2Zz4NCg==",as:"image",type:"image/svg+xml"},"logoPreload")]})});l.displayName="HeadMeta"},38412:function(e,t,n){"use strict";n.d(t,{O:function(){return s}});var i=n(57437),a=n(54365),l=n(2265),o=n(33998),r=n.n(o);let s=(0,l.memo)(e=>{let{className:t}=e;return(0,i.jsx)("div",{className:(0,a.Z)(r().skeleton,t)})});s.displayName="Skeleton"},92388:function(e,t,n){"use strict";n.d(t,{$:function(){return s}});var i=n(57437),a=n(35563),l=n(54365),o=n(73727),r=n.n(o);function s(e){return(0,i.jsx)(a.xv,{...e,className:(0,l.Z)(r().caption,e.className)})}},99070:function(e,t,n){"use strict";n.d(t,{default:function(){return tp}});var i,a=n(57437),l=n(80684),o=n(35563),r=n(75461),s=n(54365),u=n(2265),c=n(80691),d=n(30754),M=n(21659),D=n(13591),N=n(28819);function T(e){var t;return!(null===(t=e.attributes)||void 0===t?void 0:t.asSavingAccount)&&"saving_account"!==e.productType}n(65621);var p=n(587),m=n(87306),j=n(70104),v=n(36578),w=n(72151),g=n(31219),x=n(14441),_=n(57044),L=n(77337),y=n(87566),f=n(58580),O=n(74381),C=(0,u.memo)(function(e){let{regs:t,bankUrl:n}=e,i=(0,L.xn)(y._n,"vklady","banki",n,f.a.BANK_DEPOSIT_CALCULATOR),l=JSON.stringify({"@context":"https://schema.org","@type":"QAPage",mainEntity:{"@type":"Question",name:"Почему выгодно открыть вклад через Финуслуги?",answerCount:4,acceptedAnswer:{"@type":"Answer",text:(0,O.c)("✅ До #BET# годовых по вкладам в {bank}.",t)},suggestedAnswer:[{"@type":"Answer",text:"\uD83D\uDCF1 Оформление полностью онлайн — без похода в отделение."},{"@type":"Answer",text:"\uD83D\uDD25 Удобный подбор вкладов с прозрачными условиями."},{"@type":"Answer",text:(0,O.c)("\uD83D\uDCB0 Срок размещения от {min_deposits_days}.",t),url:i}]}});return(0,a.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:l}})}),h=n(36378),A=n(11359);let k=e=>({event:"data-event",eventCategory:e,eventValue:""}),z=(e,t,n)=>({...k(n),eventAction:"input__form__".concat(e),eventLabel:String(t)}),b=(e,t)=>({...k(t),eventAction:"click__tooltip__form",eventLabel:e}),E=(e,t,n)=>({...k(n),eventAction:"click__toggle__form__".concat(t?"(on)":"(off)"),eventLabel:e}),I=(e,t,n)=>({...k(e),eventAction:"click__button__form__".concat(t),eventLabel:n||""});var S=n(40780),Q=n(48034),Y=n(92807),U=n(55934),R=n(56942),F=n(97654),P=n(40309),Z=n(44579),B=n(45198),W=n(64082),G=n(25795),J={amount:function(e,t,n){return!n||n<e?"Минимальное значение 1000 ".concat(Y.Xf):n>t?"Максимальное значение 999 999 999".concat(Y.Xf):void 0},term:function(e,t,n,i){let a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return!i||i<e?a?"Минимум ".concat(e," ").concat((0,v._6)(e,...Y.Ud[n])):"Минимальное значение ".concat(e," ").concat((0,v._6)(e,...Y.Ud[n])):i>t?a?"Максимум ".concat(t," ").concat((0,v._6)(t,...Y.Ud[n])):"Максимальное значение ".concat(t," ").concat((0,v._6)(t,...Y.Ud[n])):void 0},floatingRateStartDay:function(e,t,n){return!n||n<e?"Минимальное значение ".concat(e," день"):n>t?"Максимальное значение ".concat(t," день"):void 0},rate:function(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!n||n<e||n>t)return i?"Диапазон ".concat(e,"% - ").concat(t,"%"):"Ставка должна быть в диапазоне от ".concat(e,"% до ").concat(t,"%")},existedStartDay:function(e,t,n){if(!n)return;let i=e.findIndex(e=>e.startDay===n);if(i>=0&&i!==t)return"Нельзя задать один и тот же день"}};let V=Y.t2,H=new Date,q=Y.TT,K=B.Z[q](H,V),X=(0,U.w)(K,H),$=f.a.DEPOSIT_CALCULATOR,ee={amount:Y.Ln,dateStart:H,dateEnd:K,period:q,term:V,termInDays:X,pageUrl:$,paymentFrequency:Y.If,rate:Y._S,floatingRate:!1,floatingRateData:[],capitalization:!1},et=(0,u.createContext)(void 0),en=(0,u.createContext)(void 0),ei=[P.Z.EveryDay,P.Z.OnceAMonth,P.Z.InTheEnd],ea=["amount","term","period","paymentFrequency","rate","floatingRate","capitalization"];function el(e,t){return"boolean"==typeof e?e:t}function eo(e){var t,n,i,l,o,r,s,c;let{children:d,pageUrl:M,deferOfferFiltering:D=!1}=e,{params:N,setParams:T}=(0,G.Z)(),p=ea.some(e=>{let t=N[e];return!(null==t||0===t.length||Array.isArray(t))&&("amount"===e||"term"===e||"rate"===e?Number.isFinite(Number(t)):"period"===e?Object.values(Z.Z).includes(t):"paymentFrequency"===e?ei.includes(t):"true"===t||"false"===t)}),m=Object.entries(N).reduce((e,t)=>{let[n,i]=t;return null==i||0===i.length?e:Array.isArray(i)?{...e,[n]:i.map(W.w)}:{...e,[n]:(0,W.w)(i)}},{}),j=(s=null!==(t=m.period)&&void 0!==t?t:ee.period,Object.values(Z.Z).includes(s)?s:ee.period),v=(c=null!==(n=m.paymentFrequency)&&void 0!==n?n:ee.paymentFrequency,ei.includes(c)?c:ee.paymentFrequency),x=el(m.floatingRate,ee.floatingRate),_=el(m.capitalization,ee.capitalization),[L,y]=(0,u.useState)(null!==(i=m.amount)&&void 0!==i?i:ee.amount),[f,O]=(0,u.useState)(ee.dateStart),[C,h]=(0,u.useState)(j),[A,k]=(0,u.useState)(null!==(l=m.term)&&void 0!==l?l:ee.term),[z,b]=(0,u.useState)(v),[E,S]=(0,u.useState)(null!==(o=m.rate)&&void 0!==o?o:ee.rate),[Q,P]=(0,u.useState)(x),[V,H]=(0,u.useState)(x?[{startDay:1,rate:null!==(r=m.rate)&&void 0!==r?r:ee.rate}]:ee.floatingRateData),[q,K]=(0,u.useState)(_),X=(0,u.useMemo)(()=>B.Z[C](f,A),[f,C,A]),$=(0,u.useMemo)(()=>(0,U.w)(X,f),[X,f]),eo=function(e){let{amount:t,term:n,period:i,rate:a,floatingRate:l,floatingRateData:o,termInDays:r}=e;return!![t,n,a,r].every(Number.isFinite)&&void 0===J.amount(Y.Po,Y.lr,t)&&void 0===J.rate(Y.ZT,Y.P1,a)&&void 0===J.term(1,Y.P8[i],i,n)&&(!l||o.every((e,t)=>Number.isFinite(e.startDay)&&Number.isFinite(e.rate)&&void 0===J.floatingRateStartDay(1,r-1,e.startDay)&&void 0===J.existedStartDay(o,t,e.startDay)&&void 0===J.rate(Y.ZT,Y.P1,e.rate)))}({amount:L,term:A,period:C,rate:E,floatingRate:Q,floatingRateData:V,termInDays:$}),[er,es]=(0,u.useState)(p),[eu,ec]=(0,u.useState)(!D),ed=(0,u.useMemo)(()=>({amount:L,dateStart:f,dateEnd:X,period:C,term:A,termInDays:$,paymentFrequency:z,rate:E,floatingRate:Q,floatingRateData:V,capitalization:q,pageUrl:M}),[L,q,X,f,Q,V,M,z,C,E,A,$]),[eM,eD]=(0,u.useState)(()=>eo?ed:{...ee,pageUrl:M});(0,u.useEffect)(()=>{eo&&(eD({...ed}),er&&ec(!0))},[ed,er,eo]);let eN=(0,u.useCallback)(()=>{es(!0)},[]),eT=(0,u.useCallback)(e=>{T(t=>({...t,...e}))},[T]),ep=(0,u.useCallback)(e=>{e!==L&&(eN(),y(null!=e?e:0))},[L,eN]),em=(0,u.useCallback)(e=>{e&&+(0,R.b)(e)!=+(0,R.b)(f)&&(eN(),O(e))},[f,eN]),ej=(0,u.useCallback)(e=>{e!==A&&(eN(),k(null!=e?e:0))},[eN,A]),ev=(0,u.useCallback)(e=>{if(e!==C){eN();let t=Y.OO[e];h(e),k(t)}},[eN,C]),ew=(0,u.useCallback)(e=>{e!==z&&(eN(),b(e))},[eN,z]),eg=(0,u.useCallback)(e=>{e!==E&&(eN(),S(null!=e?e:0))},[eN,E]),ex=(0,u.useCallback)(e=>{eN(),P(e)},[eN]),e_=(0,u.useCallback)(e=>{eN(),H(e)},[eN]),eL=(0,u.useCallback)(e=>{eN(),K(e)},[eN]),ey=(0,u.useCallback)(()=>{eN();let e=V.reduce((e,t,n,i)=>"".concat(e,"floatingrate").concat(n+1,"_").concat(t.startDay,"_").concat(t.rate).concat(i.length-1!==n?"__":""),""),t=["".concat((0,F.WU)(f,"dd.MM.yyyy")),"".concat(L),"".concat(A,"_").concat(C),"".concat(E),"".concat(z),"floatingrate".concat(Q?"(on)":"(off)"),"capitalization".concat(q?"(on)":"(off)"),"".concat(e)].join("__");(0,w.lQ)({...I(M,(0,g.b)("Рассчитать"),t)}),eT({amount:L,period:C,term:A,paymentFrequency:z,rate:E,floatingRate:Q,capitalization:q})},[L,q,f,Q,V,eT,eN,M,z,C,E,A]),ef=(0,u.useMemo)(()=>({amount:L,dateStart:f,dateEnd:X,period:C,term:A,termInDays:$,paymentFrequency:z,rate:E,floatingRate:Q,floatingRateData:V,capitalization:q,isValid:eo,isOfferFilterApplied:eu,pageUrl:M,onChangeAmount:ep,onChangeDateStart:em,onChangePeriod:ev,onChangeTerm:ej,onChangePaymentFrequency:ew,onChangeRate:eg,onChangeFloatingRate:ex,onChangeFloatingRateData:e_,onChangeCapitalization:eL,onRecalculate:ey}),[L,q,X,f,Q,V,ep,eL,em,ex,e_,ew,ev,eg,ej,ey,eo,eu,M,z,C,E,A,$]);return(0,a.jsx)(et.Provider,{value:ef,children:(0,a.jsx)(en.Provider,{value:eM,children:d})})}function er(){let e=(0,u.useContext)(en);if(!e)throw Error("Out of context");return e}function es(){let e=(0,u.useContext)(et);if(!e)throw Error("Out of context");return e}let eu=e=>e<10?"0"+e:e.toString(),ec=(e,t)=>{if(!e)return"";let n=new Date(e).getDate(),i=new Date(e).getMonth()+1,a=new Date(e).getFullYear(),l=t?"":"".concat(eu(n),".").concat(eu(i),".").concat(a);return((null==t?void 0:t.hasDay)&&(l="".concat(eu(n))),(null==t?void 0:t.hasMonth)&&(l="".concat(l.length?l+".":"").concat(eu(i))),null==t?void 0:t.hasYear)?"".concat(l.length?l+".":"").concat(a):l};var ed=n(99193),eM=n(84213),eD=n(26523),eN=n(38412),eT=n(91627),ep=n(14862),em=n(83802),ej=n(25765),ev=n(77454),ew=n(41506),eg=n(2833),ex=n(75460),e_=n.n(ex);let eL="#list",ey="Смотреть еще предложения";function ef(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Z.Z.Month;return"".concat(e," ").concat((0,v._6)(e,...Y.Ud[t]))}function eO(e){var t,n,i;let{pageUrl:l,questions:o,onChangeIsDiscount:s,isBankDepositCalculator:c=!1}=e,{anotherDeposits:d,platformDeposits:M,advantagesDepositLists:D,depositLists:T,isOldUser:p,isHiddenPromo:m,isLoading:j,banks:x,isPlusFiveBonus:_,onChangeAdvantagesDepositsList:L}=(0,eg.BH)(),{amount:y,period:f,termInDays:O}=er(),{isOfferFilterApplied:C}=es(),{depositData:h,openModal:A,handleOpen:k,handleClose:z}=(0,ew.j)({banks:x,anotherDeposits:d,platformDeposits:M,newPlatformDeposits:[]}),[b,E]=(0,u.useState)(),I=(0,u.useCallback)(e=>{if(!(e.isPlatform?M.some(t=>t.internalUrl===e.depositItem.url):d.some(t=>t.url===e.depositItem.url))){window.location.assign(e.href);return}E(e.depositItem),k(e)},[d,k,M]),Y=(0,r._m)("l"),{isLoading:U,renderedAdvantagesDepositsCount:R,showMore:F}=(0,ev.Z)({pageOffset:10,advantagesDepositLists:D,depositLists:T,onChangeAdvantagesDepositsList:L,onChangeIsDiscount:s}),P=(0,u.useMemo)(()=>T.another.filter(e=>!m||!e.promo),[T.another,m]),B=(0,u.useMemo)(()=>D.filter(e=>!m||!e.promo),[D,m]),W=B.length>0||c&&P.length>0,G=U||j&&!W,J=!G&&!j&&!W,V=(0,Q.Z)(100,10),H=(0,u.useMemo)(()=>Math.round(O/eT.F),[O]),q=f===Z.Z.Day,K=c&&!C,X=K?b:void 0,$=null!==(i=null!==(n=null==X?void 0:X.rateAmount)&&void 0!==n?n:null==X?void 0:X.amount)&&void 0!==i?i:y,ee=null==X?void 0:null===(t=X.computeData)||void 0===t?void 0:t.termDays,et=null!=ee?ee:q?O:void 0,en=void 0===ee?H:Math.round(ee/eT.F),ei=void 0===ee?ef(H):ef(ee,Z.Z.Day);function ea(e,t){var n;let i=q||K&&(null===(n=e.computeData)||void 0===n?void 0:n.termDays)!==void 0;return ep.publicConfig.FEATURE_TOGGLE_DEPOSIT_CARD_NEW_DESIGN_ENABLED?(0,a.jsx)(ej.B,{isPlatform:t,onOpenDetailModal:I,className:e_().listItem,data:e,events:{eventCategory:l},isTermInDays:i,isFullFilter:!0,useDepositCurrency:c},e.url+e.id):(0,a.jsx)(em.B,{isPlatform:t,onOpenDetailModal:I,className:e_().listItem,isOldUser:p,data:e,events:{eventCategory:l},isTermInDays:i,useExactTerm:K},e.url+e.id)}let el="deposits_details_".concat(l,"_popup");return(0,a.jsx)("section",{id:eL,className:e_().container,children:J?(0,a.jsx)(eD.p,{onChangeParams:function(){(0,S.l)(e2,{offset:V,position:"top"})},dataQa:"calculator-not-found"}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(N.t,{children:(0,a.jsxs)("p",{className:e_().title,children:[(0,a.jsxs)("span",{children:["Найдено ",T.currentLength,Y&&" "+(0,v._6)(T.currentLength,"предложение","предложения","предложений")]}),T.allLength>0&&(0,a.jsxs)("span",{className:e_().countLabel,children:[" из ",T.allLength]})]})}),(0,a.jsxs)(N.t,{children:[(0,a.jsxs)("div",{className:e_().content,children:[!G&&B.slice(0,R).map(e=>(0,a.jsx)(u.Fragment,{children:(0,a.jsx)("div",{"data-qa":"platform",children:ea(e,!0)})},e.url)),!G&&B.length>R&&(0,a.jsx)(r.zx,{size:"s",onClick:function(){(0,w.lQ)({event:"data-event",eventCategory:l,eventAction:"click__button__other__offers",eventLabel:(0,g.b)(ey)}),F()},className:e_().button,variant:"secondary",children:ey}),!G&&c&&P.map(e=>(0,a.jsx)(u.Fragment,{children:(0,a.jsx)("div",{"data-qa":"nonplatform",children:ea(e,!1)})},e.url)),G&&Array.from({length:4},(e,t)=>(0,a.jsx)(eN.O,{className:e_().listItem},t))]}),h&&(0,a.jsx)(eM.Z,{data:h,isOldUser:p,isOpen:A,onClose:z,isPlusFiveBonus:_,questions:o,depositTerm:ei,depositSumm:String($),initialAmount:$,initialIsCapitalization:null==b?void 0:b.isCapitalization,initialOptionId:null==b?void 0:b.optionId,initialPaymentFrequency:null==b?void 0:b.paymentFrequency,initialTermInDays:et,initialTermInMonths:en,useExactTermInDetailsLink:void 0!==ee,useDepositCurrency:c,eventCategory:el})]})]})})}var eC=n(91380),eh=n.n(eC);function eA(e){let{profit:t}=e,{amount:n}=er(),i=n+t,l=Math.min(97,Math.max(Math.round(100*n/i),3));return(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:eh().chartContainer,children:[(0,a.jsx)("div",{className:(0,s.Z)(eh().element,eh().deposit),style:{width:"".concat(l,"%")},"data-testid":"calculator-amount-chart"}),(0,a.jsx)("div",{className:(0,s.Z)(eh().element,eh().profit),style:{width:"".concat(100-l,"%")},"data-testid":"calculator-profit-chart"})]}),(0,a.jsxs)("div",{className:eh().descriptionContainer,children:[(0,a.jsxs)("div",{className:eh().decriptionRow,children:[(0,a.jsx)("div",{className:(0,s.Z)(eh().descriptionMark,eh().deposit)}),(0,a.jsx)("p",{className:eh().descriptionLabel,children:"Сумма вклада"}),(0,a.jsxs)("p",{className:eh().descriptionValue,children:[(0,j.Y4)(n,1)," ",Y.Xf]})]}),(0,a.jsxs)("div",{className:eh().decriptionRow,children:[(0,a.jsx)("div",{className:(0,s.Z)(eh().descriptionMark,eh().profit)}),(0,a.jsx)("p",{className:eh().descriptionLabel,children:"Доход"}),(0,a.jsxs)("p",{className:eh().descriptionValue,children:[(0,j.Y4)(t,1)," ",Y.Xf]})]})]})]})}var ek=n(17579),ez=n.n(ek),eb=n(84948);function eE(e){let{amount:t,rate:n,paymentFrequency:i,capitalization:a,termInDays:l,floatingRate:o,floatingRateData:r,dateEnd:s,dateStart:c,period:d,term:M}=er(),D=(0,u.useMemo)(()=>[...r].sort((e,t)=>{var n,i;return(null!==(n=e.startDay)&&void 0!==n?n:0)-(null!==(i=t.startDay)&&void 0!==i?i:0)}),[r]),N=(0,u.useMemo)(()=>o?D.reduce((e,t,n,i)=>{var a;let{startDay:o,rate:r}=t;return o&&r?e+r*((n===i.length-1?l+1:null!==(a=i[n+1].startDay)&&void 0!==a?a:0)-o):e},0)/l:n,[o,n,D,l]),T=null!=e?e:i,{profit:p,effectiveRate:m}=(0,u.useMemo)(()=>(0,eb.Z)({depositSum:t,term:M,rate:N,period:d,paymentFrequency:T,dateStart:c,isCapitalization:a}),[t,N,T,a,c,d,M]),j=100*p/t;return{profit:p,profitPercent:j,effectiveRate:m,dateEnd:s}}let eI="#result",eS="Показать предложения",eQ="Прирост капитала",eY="Эффективная ставка";function eU(e){let{pageUrl:t}=e,{profit:n,profitPercent:i,effectiveRate:o,dateEnd:s}=eE(),{amount:c}=er(),d=(0,Q.Z)(),M=(0,u.useRef)(null);(0,ed.Z)({itemRef:M,eventCategory:t,eventAction:"show__offer__calculate",eventLabel:"".concat((0,F.WU)(s,"dd.MM.yyyy"),"__").concat(c,"__").concat(o,"__").concat(n.toFixed())});let D=(0,u.useMemo)(()=>({event:"data-event",eventAction:"click__tooltip__offer__calculate",eventCategory:t}),[t]),N=(0,u.useCallback)(()=>{(0,w.lQ)({...D,eventLabel:(0,g.b)((0,g.b)(eQ)),eventValue:""})},[D]),T=(0,u.useCallback)(()=>{(0,w.lQ)({...D,eventLabel:(0,g.b)(eY),eventValue:""})},[D]);return(0,a.jsxs)("section",{id:eI,className:ez().container,ref:M,children:[(0,a.jsx)("h2",{className:ez().title,children:"Ваш доход"}),(0,a.jsxs)("div",{className:ez().profitRow,children:[(0,a.jsxs)("div",{className:ez().profitLabelRow,children:[(0,a.jsx)("p",{className:ez().profitLabel,children:(0,j.Y4)(n,1)}),(0,a.jsx)("p",{className:ez().profitUnit,children:Y.Xf})]}),(0,a.jsxs)("div",{className:ez().profitPercent,children:[(0,a.jsxs)("p",{children:["+",(0,j.Y4)(i,1),"%"]}),(0,a.jsx)(A.C,{className:ez().tip,text:eQ,onOpen:N,icon:(0,a.jsx)(l.IconFdsQuestionCircleO,{className:ez().tipIcon})})]})]}),(0,a.jsx)(eA,{profit:n}),(0,a.jsx)("hr",{className:ez().divider}),(0,a.jsxs)("div",{className:ez().labelContainer,children:[(0,a.jsx)("p",{className:ez().label,children:eY}),(0,a.jsx)(A.C,{className:ez().effectiveRateTip,text:"Реальная доходность по вкладам с учетом капитализации процентов за весь период",onOpen:T}),(0,a.jsxs)("p",{className:ez().value,children:[(0,j.Y4)(o,2),"%"]})]}),(0,a.jsxs)("div",{className:ez().labelContainer,children:[(0,a.jsx)("p",{className:ez().label,children:"Дата окончания"}),(0,a.jsx)("p",{className:ez().value,children:ec(s)})]}),(0,a.jsx)(r.zx,{onClick:function(){(0,w.lQ)({event:"data-event",eventAction:"click__button__offer__calculate",eventCategory:t,eventLabel:(0,g.b)((0,g.b)(eS)),eventValue:""}),(0,S.l)(eL,{offset:d,position:"top"})},className:ez().showDepositsButton,children:eS})]})}var eR=n(94746);function eF(){return(eF=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(null,arguments)}var eP=function(e){return eR.createElement("svg",eF({width:25,height:25,viewBox:"0 0 25 25",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),i||(i=eR.createElement("path",{d:"M8.229 1.246a.962.962 0 0 0-.561.909.91.91 0 0 0 .32.725c.308.278.106.266 4.262.266s3.954.012 4.262-.266a.91.91 0 0 0 .32-.725.962.962 0 0 0-.561-.909c-.159-.074-.354-.078-4.021-.078s-3.862.004-4.021.078M2.227 4.849c-.367.171-.561.479-.559.889.001.294.1.528.31.731.25.244.425.281 1.317.281h.78l.026.427c.015.235.148 3.352.296 6.927.186 4.464.288 6.585.328 6.771.263 1.225 1.215 2.21 2.483 2.569.256.073.534.077 5.042.077 5.264 0 4.909.016 5.56-.258.78-.328 1.558-1.146 1.836-1.93.171-.479.183-.674.456-7.229.149-3.575.282-6.692.297-6.927l.026-.427h.78c.892 0 1.067-.037 1.317-.281a.965.965 0 0 0 .31-.731c.002-.41-.192-.718-.559-.889l-.21-.098H2.438l-.211.098m16.122 1.994c.034.054-.027 1.839-.235 6.821-.262 6.294-.286 6.764-.365 6.976a1.43 1.43 0 0 1-.957.856c-.139.036-1.338.046-4.646.037l-4.458-.012-.238-.117a1.513 1.513 0 0 1-.697-.761c-.08-.212-.104-.66-.357-6.718-.149-3.57-.271-6.622-.271-6.783 0-.172.021-.313.05-.342.039-.039 1.427-.048 6.089-.04 5.69.01 6.042.015 6.085.083M9.532 9.598a.992.992 0 0 0-.654.739c-.071.331-.061 7.373.01 7.649.24.922 1.474 1.016 1.878.142.087-.189.088-.226.1-3.815.009-2.503-.001-3.708-.033-3.892-.086-.501-.429-.828-.906-.863a1.034 1.034 0 0 0-.395.04m4.833-.017c-.373.12-.627.425-.698.84-.032.184-.042 1.389-.033 3.892.012 3.589.013 3.626.1 3.815.404.874 1.638.78 1.878-.142.072-.279.081-7.318.009-7.652a1.056 1.056 0 0 0-.489-.661c-.194-.107-.577-.153-.767-.092",fillRule:"evenodd"})))},eZ=n(26687),eB=n.n(eZ);let eW="Плавающая ставка",eG="Ставка",eJ="Добавить день или ставку";function eV(){let{floatingRate:e,floatingRateData:t,rate:n,termInDays:i,onChangeFloatingRateData:o,onChangeFloatingRate:c,pageUrl:d}=es(),M=(0,r._m)("xl"),D=(0,u.useRef)(!1);function N(){let e=t.length>=1?Math.max(...t.map(e=>{var t;return null!==(t=e.startDay)&&void 0!==t?t:0})):0;o([...t,{rate:n,startDay:e+1}]),(0,w.lQ)({...I(d,(0,g.b)(eJ))})}i<=1&&e&&(c(!1),D.current=!0),i>1&&D.current&&(D.current=!1,c(!0));let T=(0,u.useCallback)(e=>{(0,w.lQ)({...z((0,g.b)("День с которого действует ставка"),Number(e),d)})},[d]),p=(0,u.useCallback)(e=>{(0,w.lQ)({...z((0,g.b)(eG),Number(e),d)})},[d]),m=(0,u.useCallback)(()=>{(0,w.lQ)({...b((0,g.b)(eW),d)})},[d]);return(0,a.jsxs)("div",{className:eB().container,children:[(0,a.jsxs)("div",{className:eB().header,children:[(0,a.jsxs)("div",{className:eB().labelContainer,children:[(0,a.jsx)("p",{className:eB().label,children:eW}),(0,a.jsx)(A.C,{onOpen:m,text:(0,a.jsx)(eH,{})})]}),(0,a.jsx)(r.ZD,{value:e,onChange:function(e){c(e),(0,w.lQ)({...E((0,g.b)(eW),e,d)}),e&&0===t.length&&N()},disabled:i<=1,"data-testid":"calculator-floating-rate-toggle"})]}),e&&(0,a.jsxs)("div",{className:eB().dataContainer,children:[t.map((e,n,l)=>{let u=J.floatingRateStartDay(1,i-1,e.startDay),c=J.rate(Y.ZT,Y.P1,e.rate,!0),D=J.existedStartDay(l,n,e.startDay),N=u||D;return(0,a.jsxs)("div",{className:(0,s.Z)(eB().dataRow,N||c?eB().hasError:void 0),children:[!M&&(0,a.jsxs)("h3",{className:eB().rateLabel,children:["Ставка ",n+1]}),(0,a.jsxs)("div",{className:(0,s.Z)(eB().fieldGroup,N?eB().hasError:void 0),children:[(0,a.jsx)(r.Rn,{value:e.startDay,label:"День, с которого действует ставка",onChange:e=>(function(e,n){let i=[...t],a={...i[e],startDay:n};i.splice(e,1,a),o(i)})(n,e),onBlur:()=>T(e.startDay),withoutControls:!0,state:N?"error":void 0,disabled:0===n,decimalsCount:0,decimals:"never",variant:M?"primary":"secondary"}),N&&(0,a.jsx)("p",{className:eB().message,children:null!=u?u:D})]}),(0,a.jsxs)("div",{className:(0,s.Z)(eB().fieldGroup,c?eB().hasError:void 0),children:[(0,a.jsx)(r.Rn,{value:e.rate,label:eG,rightLabel:"%",onChange:e=>(function(e,n){let i=[...t],a={...i[e],rate:n};i.splice(e,1,a),o(i)})(n,e),onBlur:()=>p(e.rate),withoutControls:!0,state:c?"error":void 0,decimalsCount:2,variant:M?"primary":"secondary"}),c&&(0,a.jsx)("p",{className:eB().message,children:c})]}),(0,a.jsx)(r.zx,{className:eB().deleteButton,onClick:()=>(function(e){let n=[...t],[{startDay:i,rate:a}]=n.splice(e,1);0===e&&(n[0].startDay=1),o(n),(0,w.lQ)({...k(d),eventLabel:"".concat(i,"_").concat(a),eventAction:"click__icon__delete__form"})})(n),disabled:1===l.length,iconLeft:(0,a.jsx)(eP,{}),appearance:"ghost",shape:"icon",size:"s","data-testid":"calculator-floating-rate-delete-button"})]},n)}),(0,a.jsx)(r.zx,{onClick:N,disabled:t.length>=5,className:eB().button,iconLeft:(0,a.jsx)(l.IconFdsPlusO,{}),appearance:"ghost",children:eJ})]})]})}function eH(){return(0,a.jsxs)(a.Fragment,{children:["Фиксированная — не меняется в течение всего периода вклада.",(0,a.jsx)("br",{}),"Плавающая — может меняться и зависит от срока"]})}var eq=n(60684),eK=n.n(eq);let eX="Сумма вклада",e$="Срок",e0="Период",e4="Ставка",e1="Капитализация",e5="Периодичность выплат",e2="#calculator-form";function e3(){var e,t;let{amount:n,dateStart:i,term:l,period:o,paymentFrequency:s,rate:c,capitalization:d,isValid:M,onChangeDateStart:D,onChangeAmount:N,onChangeTerm:T,onChangePeriod:p,onChangePaymentFrequency:m,onChangeRate:j,onChangeCapitalization:v,onRecalculate:x,pageUrl:_}=es(),L=(0,r._m)("l"),y=null!==(e=Y.ly.find(e=>{let{value:t}=e;return t===o}))&&void 0!==e?e:Y.ly[0],f=null!==(t=Y.Zw.find(e=>{let{value:t}=e;return t===s}))&&void 0!==t?t:Y.Zw[0],O=(0,u.useCallback)(e=>{var t;let n=null!==(t=Y.Ft[o].find(t=>{let{id:n}=t;return e===n}))&&void 0!==t?t:Y.Ft[o][0];(0,w.lQ)({...z((0,g.b)(n.label),n.id,_)}),T(Number(e))},[T,_,o]),C=J.amount(Y.Po,Y.lr,n),k=J.term(1,Y.P8[o],o,l,!L),I=J.rate(Y.ZT,Y.P1,c),U=(0,Q.Z)(100,10);function R(){(0,S.l)(eI,{offset:U,position:"top",delay:100})}function F(e){"Enter"===e.key&&M&&(e.currentTarget.blur(),x(),R())}let P=(0,u.useCallback)(()=>{(0,w.lQ)({...z((0,g.b)(eX),n,_)})},[n,_]),Z=(0,u.useCallback)(()=>{(0,w.lQ)({...z((0,g.b)(e$),l,_)})},[l,_]),B=(0,u.useCallback)(()=>{(0,w.lQ)({...z((0,g.b)(e0),(0,g.b)(y.label),_)})},[y,_]),W=(0,u.useCallback)(()=>{(0,w.lQ)({...z((0,g.b)(e4),c,_)})},[c,_]),G=(0,u.useCallback)(()=>{(0,w.lQ)({...b((0,g.b)(e1),_)})},[_]),V=(0,u.useCallback)(e=>{(0,w.lQ)({...E((0,g.b)(e1),e,_)}),v(e)},[v,_]),H=(0,u.useCallback)(()=>{(0,w.lQ)({...z((0,g.b)(e5),f.label,_)})},[_,f]);return(0,a.jsxs)("section",{id:e2,className:eK().container,children:[(0,a.jsx)("h2",{className:eK().title,children:"Укажите параметры"}),(0,a.jsxs)("div",{className:eK().row,children:[(0,a.jsxs)("div",{className:eK().fieldGroup,children:[(0,a.jsx)(r.Rn,{label:eX,onKeyDown:F,value:n,onChange:N,withoutControls:!0,onBlur:P,unit:Y.Xf,state:C?"error":void 0,decimalsCount:0,decimals:"never"}),C&&(0,a.jsx)("p",{className:eK().message,children:C})]}),(0,a.jsx)(h.M,{value:i,onChange:D})]}),(0,a.jsxs)("div",{className:eK().period,children:[(0,a.jsxs)("div",{className:eK().periodRow,children:[(0,a.jsxs)("div",{className:eK().fieldGroup,children:[(0,a.jsx)(r.Rn,{label:e$,onKeyDown:F,value:l,onChange:T,onBlur:Z,withoutControls:!0,state:k?"error":void 0,decimalsCount:0,decimals:"never"}),k&&(0,a.jsx)("p",{className:eK().message,children:k})]}),(0,a.jsx)(r.Ph,{options:Y.ly,label:e0,onChange:function(e){let t=null==e?void 0:e.value;void 0!==t&&t!==o&&p(t)},onBlur:B,value:y,size:"m"})]}),(0,a.jsx)("div",{className:eK().periodChips,children:(0,a.jsx)(r.cL,{chips:Y.Ft[o],value:l,onChipClick:O})})]}),(0,a.jsx)(r.Ph,{value:f,options:Y.Zw,onChange:function(e){let t=null==e?void 0:e.value;void 0!==t&&t!==s&&m(t)},onBlur:H,size:"m",label:e5}),(0,a.jsxs)("div",{className:eK().fieldGroup,children:[(0,a.jsx)(r.Rn,{label:e4,onKeyDown:F,value:c,onChange:j,onBlur:W,withoutControls:!0,unit:"%",state:I?"error":void 0,decimalsCount:2}),I&&(0,a.jsx)("p",{className:eK().message,children:I})]}),(0,a.jsx)(eV,{}),(0,a.jsxs)("div",{className:eK().capitalizationRow,children:[(0,a.jsxs)("div",{className:eK().capitalizationLabelContainer,children:[(0,a.jsx)("p",{className:eK().capitalizationLabel,children:"Капитализация"}),(0,a.jsx)(A.C,{text:"Капитализация — начисленные проценты добавляются к телу вклада. Сумма вклада растет c каждой выплатой",onOpen:G})]}),(0,a.jsx)(r.ZD,{value:d,onChange:V,"data-testid":"calculator-capitalization-toggle"})]}),(0,a.jsx)(r.zx,{variant:"secondary",className:eK().calculateButton,disabled:!M,onClick:function(){x(),R()},children:"Рассчитать"})]})}var e6=n(33600),e9=n(65868),e7=n(49394),e8=n(73514),te=n(27648),tt=n(50666),tn=n(19312),ti=n(69430),ta=n(47492),tl=n(66005),to=n(84131),tr=n(32046);let ts=e=>{let{data:t=[],tags:n,tag:i,region:l=null,town:o=null}=e;return[...t.map(e=>({question:e.question,text:(0,a.jsx)(tl.r,{data:[{type:"html",data:{html:e.answer}}]}),answer:(0,a.jsx)(tl.r,{data:[{type:"html",data:{html:e.answer}}]})})),tc({tags:n,tag:i,region:l,town:o})].filter(Boolean)},tu=e=>{let{tags:t,region:n,town:i}=e;return t.filter(e=>{let{display_in_links_block:t}=e;return"1"===t}).sort((e,t)=>Number(e.position)-Number(t.position)).map(e=>({id:e.id,name:(0,tr.L)(e)?"Все вклады":e.name,url:(0,ta.C)("deposits",e,n,i),disableLink:!1}))},tc=e=>{let{tags:t,region:n,town:i}=e,l=tu({tags:t.length&&t||[],region:n,town:i});return{question:"Виды вкладов",answer:(0,a.jsx)(to.a,{data:l})}},td=e=>(0,a.jsx)(te.default,{...e});function tM(e){var t,n,i,l;let{supportData:o,pageUrl:s,faqData:c,tags:d,region:M,town:D}=e,N=(0,r._m)("l"),T=(0,u.useMemo)(()=>(null==c?void 0:c.faqs)?ts({data:c.faqs,tags:d,region:M,town:D}):[],[null==c?void 0:c.faqs,M,d,D]),p=(null===(i=c.readAllText)||void 0===i?void 0:i.text)?null===(l=c.readAllText)||void 0===l?void 0:l.text:N?"Читать все вопросы про вклады":"Все вопросы про вклады",m=(null===(t=c.readAllText)||void 0===t?void 0:t.link)?null===(n=c.readAllText)||void 0===n?void 0:n.link:"".concat((0,tt.env)("NEXT_PUBLIC_BASE_URL"),"/help");return(0,a.jsxs)("section",{children:[(0,a.jsx)(ti.V,{isSavingAccount:!1,eventCategory:s,productId:"",withNewMarkup:!0}),(0,a.jsx)(tn.y,{supportData:o}),(0,a.jsx)(e8.C,{sectionTitle:"",Link:td,dataLayerPush:w.lQ,questions:T,eventCategory:"deposit_calculator_support_block",href:m,checkAllText:p})]})}function tD(e){let{discounts:t,banks:n,initialAnotherDeposits:i,initialPlatformDeposits:l,platformProducts:o,nonPlatformProducts:r,tagPlatformDeposits:s,tagAnotherDeposits:c,initialAllDepositsLength:d,initialCurrentDepositsLength:M,bounds:D,bankTowns:N,pageUrl:T,questions:p,supportData:m,faqData:j,depositTags:v,allExtraInfo:w}=e,{amount:g,term:x,period:_,termInDays:L,dateStart:y,rate:f,floatingRate:O,capitalization:C}=er(),{isOfferFilterApplied:h}=es(),{effectiveRate:A}=eE(P.Z.OnceAMonth),{bonuses:k,isHiddenPromo:z,isPlusFiveBonus:b,isOldUser:E}=(0,e7.Z)(t),[I,S]=(0,u.useState)(b||E),Q=(0,u.useCallback)(e=>{S(e)},[]),Y=e9.A.getItem("user_region"),U=e9.A.getItem("user_town");return(0,a.jsxs)(eg.JZ,{banks:n,isCalculatorOfferFilter:!0,useInitialDataAsErrorFallback:!0,deferOfferFiltering:!!e.bank&&!h,isBankDepositCalculator:!!e.bank,initialAnotherDeposits:i,initialPlatformDeposits:l,platformProducts:o,nonPlatformProducts:r,tagPlatformDeposits:s,tagAnotherDeposits:c,initialAllDepositsLength:d,initialCurrentDepositsLength:M,allExtraInfo:w,bounds:D,bankTowns:N,discounts:k,isDiscount:I,isHiddenPromo:z,isOldUser:E,isPlusFiveBonus:b,amount:g,term:x,period:_,termInDays:L,dateStart:y,rate:A,inputRate:f,floatingRate:O,withCapitalization:C,withRefill:!1,increaseSort:!1,initialSort:!0,sortType:e6.ER.RatePlusBonus,partnerId:null,children:[(0,a.jsx)(eO,{pageUrl:T,questions:p,onChangeIsDiscount:Q,isBankDepositCalculator:!!e.bank}),(0,a.jsx)(tM,{supportData:m,pageUrl:T,faqData:j,tags:v,region:Y,town:U})]})}var tN=n(75459),tT=n.n(tN);function tp(e){let{depositsTitle:t,depositsDescription:n,pageUrl:i,h1:L,subtitle:y,faqData:f,bank:O,initialAnotherDeposits:h,initialPlatformDeposits:A,tagData:k}=e,{asPath:z,push:b}=(0,x.P)(),E=(0,r._m)("l"),[I,S]=(0,u.useState)(E),Q=e=>[{label:"Вклады",href:"/vklady"},{label:"Банки",href:"/banki"},{label:e.name,href:"/banki/".concat(e.url)},{label:"Калькулятор вкладов"}],Y=(0,u.useMemo)(()=>O?Q(O):[{label:"Калькулятор вкладов"}],[O]),U=(0,u.useCallback)((e,t)=>{var n;let a=(null==e?void 0:null===(n=e.currentTarget)||void 0===n?void 0:n.textContent)?(0,g.b)(e.currentTarget.textContent):"glavnaya";(0,w.lQ)({event:"data-event",eventAction:"click_link_".concat(a),eventCategory:i}),t&&b(t)},[i,b]),R=[...h,...A],F=k?function(e){var t,n,i,a,l,o,r,s;let u=null===(t=e.stats)||void 0===t?void 0:t.platform,c=null===(n=e.stats)||void 0===n?void 0:n.nonPlatform,d=null!==(i=null==u?void 0:u.platformProducts.filter(e=>!e.asSavingAccount).length)&&void 0!==i?i:0,M=null!==(a=null==c?void 0:c.nonPlatformProducts.filter(T).length)&&void 0!==a?a:0;return{bet:Math.max(null!==(l=null==u?void 0:u.bet)&&void 0!==l?l:0,null!==(o=null==c?void 0:c.bet)&&void 0!==o?o:0),minTermPeriod:null!==(s=null!==(r=null==u?void 0:u.length)&&void 0!==r?r:null==c?void 0:c.length)&&void 0!==s?s:0,offersCount:d+M}}(k):void 0;return(0,a.jsxs)("main",{className:tT().page,children:[(0,a.jsx)(D.N,{title:t,description:n,path:z}),O?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(c.g,{bank:O,regionUrl:"",tag:null}),(0,a.jsx)(C,{regs:function(e,t,n){var i,a,l,o,r;let s=(0,p.r)(t),u=null!==(i=null==n?void 0:n.bet)&&void 0!==i?i:s.high,c=null!==(a=null==n?void 0:n.minTermPeriod)&&void 0!==a?a:s.minTermPeriod,d=null!==(l=null==n?void 0:n.offersCount)&&void 0!==l?l:t.length;return{"#PROP#":"".concat(d),"#PROP-FULL#":"".concat((0,v.PY)(d,["предложение","предложения","предложений"])),"#BEcurrencyT#":"".concat((0,j.Y4)(u,2),"%"),"#BET#":"".concat((0,j.Y4)(u,2),"%"),"#DATE#":"".concat(new Date().getFullYear()),"#DATE-TD#":(0,m.U)(),"#FULL-DATE#":(0,m.U)(),"#LENGTH#":"".concat(c),"{year}":"".concat(new Date().getFullYear()),"{deposits_count}":"".concat(d),"{min_deposits_rate}":"".concat((0,j.Y4)(s.low,2),"%"),"{max_deposits_rate}":"".concat((0,j.Y4)(u,2),"%"),"{min_deposits_days}":"".concat((0,v.PY)(c,["дня","дней","дней"])),"{max_deposits_days}":"".concat((0,v.PY)(s.maxTermPeriod,["дня","дней","дней"])),"{min_deposit_amount}":"".concat(s.minDepositAmount),"{max_deposit_amount}":"".concat(s.maxDepositAmount),"{bank}":e.name,"{bank_r}":null!==(o=e.name_r)&&void 0!==o?o:e.name,"{bank_p}":null!==(r=e.name_p)&&void 0!==r?r:e.name,"#DEPOSIT-PROP-FULL#":"".concat((0,v.PY)(d,["вклад","вклада","вкладов"]))}}(O,R,F),bankUrl:O.url})]}):(0,a.jsx)(c.g,{regionUrl:"",tag:null,secondCrumbName:"⭐ Калькулятор вкладов",initUrl:"depozitnyj-kalkulyator"}),(0,a.jsx)(_.M,{textList:f.faqs}),(0,a.jsxs)(N.t,{children:[(0,a.jsx)(d.Z,{onClick:U,isMobile:!E,items:Y}),(0,a.jsxs)("div",{className:tT().headingText,children:[(0,a.jsxs)(o.X6,{type:"h1",className:tT().title,onClick:()=>{E||S(!I)},children:[L,(0,a.jsx)(l.IconFdsChevronDownO,{className:(0,s.Z)(tT().icon,I&&tT().opened)})]}),(0,a.jsx)(o.xv,{className:(0,s.Z)(tT().subtitle,I&&tT().opened),size:"14",children:y})]})]}),(0,a.jsxs)(eo,{pageUrl:i,deferOfferFiltering:!!O,children:[(0,a.jsx)("div",{className:tT().row,children:(0,a.jsx)(N.t,{children:(0,a.jsxs)("div",{className:tT().calculatorContainer,children:[(0,a.jsx)(e3,{}),(0,a.jsxs)("div",{children:[(0,a.jsx)(eU,{pageUrl:i}),(0,a.jsx)(M.Z,{className:tT().banner,eventCategory:i})]})]})})}),(0,a.jsx)(tD,{...e})]})]})}},69430:function(e,t,n){"use strict";n.d(t,{V:function(){return v}});var i=n(57437),a=n(75461),l=n(33145),o=n(2265),r=n(37162),s=n(93033),u=n(72151),c=n(99193),d=n(97807),M=n(79142),D=n.n(M),N={src:"/deposits/_next/static/media/banner-2.b6d16a7d.svg",height:208,width:300,blurWidth:0,blurHeight:0},T={src:"/deposits/_next/static/media/banner-3.adc4440a.svg",height:208,width:300,blurWidth:0,blurHeight:0},p={src:"/deposits/_next/static/media/banner-6.ecb80fa6.svg",height:208,width:301,blurWidth:0,blurHeight:0},m={src:"/deposits/_next/static/media/banner-7.8a2298b9.svg",height:230,width:301,blurWidth:0,blurHeight:0};let j=e=>{let{item:t,eventCategory:n,eventLabel:a,withNewMarkup:r}=e,s=(0,o.useRef)(null);(0,c.Z)({itemRef:s,eventAction:"show_steps_to_open_step_".concat(t.id),eventCategory:n,eventLabel:a,disabled:!r});let{isDragged:M,isTouched:N,onMouseDown:T,onMouseMove:p,resetState:m}=(0,d.Q)(),j=()=>{(0,u.lQ)({eventCategory:n,eventLabel:a,eventAction:"click_steps_to_open_step_".concat(t.id)})};return(0,i.jsxs)("div",{className:D().bannerCard,ref:s,onMouseDown:T,onMouseMove:p,onMouseLeave:m,onMouseUp:m,onMouseUpCapture:()=>!(M&&N)&&j(),children:[(0,i.jsxs)("span",{className:D().badge,children:["Шаг ",t.id]}),(0,i.jsx)("p",{className:D().text,children:t.text}),(0,i.jsx)(l.default,{width:300,height:208,alt:"banner"+t.id,src:t.image})]})},v=e=>{let{isSavingAccount:t,eventCategory:n,productId:l,withNewMarkup:o}=e,u=(0,a._m)("l"),c=[{id:1,image:T,text:"Выберите ".concat(t?"накопительный счёт":"вклад"," на витрине Финуслуг и нажмите \xabОткрыть онлайн\xbb")},{image:N,id:2,text:"Привяжите Госуслуги и подтвердите документы через Тинькофф ID/Alfa ID или у представителя Финуслуг"},{image:m,id:3,text:"Отправьте заявку на ".concat(t?"накопительный счет":"вклад",". Пополните вклад через личный кабинет на Финуслугах")},{image:p,id:4,text:"Управляйте ".concat(t?"накопительным счетом":"вкладом"," в личном кабинете ").concat(t?"банка":"Финуслуг")}];return(0,i.jsxs)("section",{id:r.a6,className:D().container,children:[(0,i.jsxs)("h2",{className:D().title,children:["Как открыть ",t?"счет":"вклад"," на Финуслугах"]}),(0,i.jsx)("div",{className:D().sliderContainer,children:(0,i.jsx)(s.Fp,{width:u?342:300,height:u?384:380,spaceBetween:u?40:16,sliderPerView:u?3:1,hideNavigationControl:!u,overflowVisible:!u,classSliderWrapper:D().sliderWrapper,startDelay:1e4,isDependsOnWidth:!1,children:c.map(e=>(0,i.jsx)(j,{item:e,eventCategory:n,eventLabel:l,withNewMarkup:o},e.id))})})]})}},25765:function(e,t,n){"use strict";n.d(t,{B:function(){return G}});var i=n(57437),a=n(80684),l=n(35563),o=n(75461),r=n(2265),s=n(49090),u=n(54365),c=n(93810),d=n.n(c),M=n(33145),D=n(92388),N=n(69393),T=n(12606),p=n(54328),m=n(29827),j=n.n(m);let v={$:"USD","€":"EUR","\xa5":"JPY","₣":"CHF","\xa3":"GBP","₽":"RUB"};function w(e){let{children:t,...n}=e,a=(0,r.useCallback)(e=>{e.target instanceof HTMLElement&&"a"===e.target.tagName.toLowerCase()||e.preventDefault()},[]);return(0,i.jsx)("div",{onClick:a,...n,children:t})}function g(e){let{bic:t,bankName:n,name:a,className:o}=e;return(0,i.jsxs)("div",{className:(0,u.Z)(j().header,o),children:[t?(0,i.jsx)(M.default,{unoptimized:!0,src:(0,p.B)(t),alt:null!=n?n:"Логотип банка",className:j().logo,width:30,height:30,"data-qa":"bank-logo"}):(0,i.jsx)("div",{className:j().logoPlaceholder}),(0,i.jsxs)("div",{className:j().nameWrapper,children:[(0,i.jsx)(l.xv,{className:(0,u.Z)(j().text,j().bankName),weight:"medium",dataQa:"bank-name",children:n}),(0,i.jsx)(D.$,{className:(0,u.Z)(j().text,j().name),dataQa:"deposit-name",children:a})]})]})}function x(e){let{rate:t,bonusRate:n,rateTip:r,isFloatingRate:c,rateLink:d,rateLinkLabel:M}=e,N=n?"Ставка\xa0+\xa0бонус\xa0Финуслуг":"Ставка";return(0,i.jsxs)("div",{className:j().columnValue,children:[t&&(0,i.jsxs)(l.xv,{weight:"medium",dataQa:"rate",className:j().label,children:[c?"до ":"",(0,s.og)(t.toFixed(2)),n?"\xa0+\xa0".concat((0,s.og)(n.toFixed(2))):""]}),r?(0,i.jsxs)(w,{children:[(0,i.jsx)(o.kW,{className:j().hint,text:(0,i.jsx)("div",{dangerouslySetInnerHTML:{__html:r}}),dataQa:"rate-hint",footer:d&&M&&(0,i.jsx)("a",{href:d,target:"_blank",children:M}),children:(0,i.jsxs)(D.$,{className:(0,u.Z)(j().aligned,j().caption),dataQa:"rate-caption",children:[N,(0,i.jsx)(a.IconFdsQuestionCircleO,{className:"ml-1"})]})})," "]}):(0,i.jsx)(D.$,{className:(0,u.Z)(j().aligned,j().caption),dataQa:"rate-caption",children:N})]})}function _(e){let{profit:t,profitTerm:n,bonusProfit:o,currencyUnit:r,minAmount:c,fixedAmount:d}=e,M=r?v[r]:void 0,T=M?{currencyCode:M}:void 0;if(!t&&!c&&!d)return null;if(t){let e=n?"за ".concat(n.value,"\xa0").concat((0,l._6)(n.value,...N.mB[n.type])):"";return(0,i.jsxs)("div",{className:j().columnValue,children:[(0,i.jsxs)(l.xv,{weight:"medium",className:(0,u.Z)(j().aligned,j().green,j().label),dataQa:"amount",children:[(0,i.jsx)(a.IconFdsArrowUpBigO,{}),"\xa0",(0,s.lb)(t+(null!=o?o:0),T)]}),(0,i.jsxs)(D.$,{className:j().caption,dataQa:"amount-caption",children:["Доход ",o?"с бонусом":""," ",e]})]})}let p=d?(0,s.lb)(d,T):"от ".concat((0,s.lb)(null!=c?c:0,T));return(0,i.jsxs)("div",{className:j().columnValue,children:[(0,i.jsx)(l.xv,{weight:"medium",dataQa:"amount",className:j().label,children:p}),(0,i.jsx)(D.$,{className:j().caption,dataQa:"amount-caption",children:"Сумма"})]})}function L(e){let{minTerm:t,className:n,isMobile:a,isFixedTerm:o}=e;if(!t)return null;let{termString:r}=(0,T.K)(t,{form:o?"nominative":"genitive",prefix:o?void 0:"от",isLadderDeposit:e.isLadderDeposit});return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:(0,u.Z)(j().termValue,j().margined,n),children:[(0,i.jsx)(D.$,{className:j().termCaption,dataQa:"term-caption",children:"Срок"}),(0,i.jsx)(l.xv,{weight:"medium",className:j().termTitle,dataQa:"term",children:r})]}),a&&(0,i.jsx)(l.iz,{className:(0,u.Z)(j().divider,n)})]})}function y(e){let{onButtonClick:t,onInfoClick:n,className:l}=e;return(0,i.jsxs)("div",{className:(0,u.Z)(j().buttons,l),children:[(0,i.jsx)(o.zx,{stretch:!0,size:"s",onClick:t,dataQa:"detail-button",children:"Подробнее"}),(0,i.jsx)(w,{children:(0,i.jsx)(o.zx,{size:"s",appearance:"outline",shape:"icon",iconLeft:(0,i.jsx)(a.IconFdsInfoCircleO,{}),onClick:n,dataQa:"info-button"})})]})}var f=(0,r.memo)(function(e){let{tags:t,href:n,className:a,dataQa:r,onCardClick:s}=e,c=[!!e.profit||!!e.minAmount||!!e.fixedAmount,!!e.rate,!!e.minTerm].filter(Boolean).length;return(0,i.jsxs)(l.Zb,{className:(0,u.Z)(j().depositCard,a),onClick:s,dataQa:r,as:"a",href:null!=n?n:"",children:[(0,i.jsx)(g,{...e,className:j().mobile}),(0,i.jsxs)("div",{className:j().content,children:[(0,i.jsxs)("div",{className:(0,u.Z)(j().row,2===c&&j()["cols-2"]),children:[(0,i.jsx)(g,{...e,className:j().desktop}),(0,i.jsx)(x,{...e}),(0,i.jsx)(_,{...e}),(0,i.jsx)(L,{...e,className:j().tablet}),(0,i.jsx)(y,{...e,className:j().desktop})]}),(0,i.jsx)(l.iz,{className:j().divider}),(0,i.jsx)(L,{...e,className:j()["mobile-tablet"],isMobile:!0})]}),t&&(0,i.jsx)("div",{className:j().tags,children:t.map(e=>{let t="left"===e.position?{iconLeft:e.icon}:{iconRight:e.icon},n=0===e.text.trim().length;return(0,i.jsx)(o.Vp,{className:(0,u.Z)(j().tag,e.backGround&&j()[e.backGround]),label:e.text,onIconRightClick:n?d():void 0,rounded:!0,dataQa:"tag",...t},e.text)})}),(0,i.jsx)(y,{...e,className:j().mobile})]})}),O=n(10330),C=n(6164);let h=(e,t,n)=>{if(t){if(n){var i;return{profit:null===(i=e.computeData)||void 0===i?void 0:i.profit,minAmount:e.rateAmount,fixedAmount:0}}return{profit:0,minAmount:0,fixedAmount:e.rateAmount}}return e.isNotAmount?{profit:0,minAmount:e.rateAmount,fixedAmount:0}:{profit:0,minAmount:0,fixedAmount:0}},A=(e,t)=>{if(t){var n,i;return{profitTerm:{value:null!==(i=null===(n=e.computeData)||void 0===n?void 0:n.termDays)&&void 0!==i?i:0,type:C.e.DAY},minTerm:null,isFixedTerm:!1}}return e.isTermEmpty?{profitTerm:null,minTerm:{value:0,type:C.e.TERMLESS},isFixedTerm:!1}:{profitTerm:null,minTerm:null,isFixedTerm:!1}},k=e=>{var t,n;return{profitTerm:null,minTerm:{value:null!==(n=null===(t=e.computeData)||void 0===t?void 0:t.termDays)&&void 0!==n?n:e.term?Number(e.term):0,type:C.e.DAY},isFixedTerm:!0}},z=e=>{var t,n;return{profitTerm:null,minTerm:{value:null!==(n=null===(t=e.computeData)||void 0===t?void 0:t.termDays)&&void 0!==n?n:0,type:C.e.DAY},isFixedTerm:!0}},b=(e,t,n)=>{var i,a;if(n)return A(e,t);if(e.isLadderDeposit)return k(e);if(e.isFixedTerm)return z(e);let l={value:null!==(a=null===(i=e.computeData)||void 0===i?void 0:i.termDays)&&void 0!==a?a:0,type:C.e.DAY};return t?{profitTerm:l,minTerm:null,isFixedTerm:!1}:e.isTermEmpty?{profitTerm:null,minTerm:l,isFixedTerm:!1}:{profitTerm:null,minTerm:null,isFixedTerm:!1}};var E=n(33600),I=n(98532),S=n(13425),Q=n(58864),Y=n(37514),U=n(37328),R=n(99193),F=n(37500),P=n.n(F);let Z=(e,t,n)=>{(0,Y.L)(e,t,"click_name_deposit__".concat(n))},B=(e,t,n)=>{(0,Y.L)(e,t,n)},W=e=>{var t,n,s,u,c,d;let{baseUrl:M="/vklady",className:D,data:N,events:T={},isPlatform:p=!1,isTermInDays:m=!1,params:j,paramsType:v="hash",isFullFilter:w,showOnlyNonPromo:g=!1,useDepositCurrency:x=!1,onOpenDetailModal:_}=e,L=p?"offers":"lidgen",{clickItemAction:y="click__card__".concat(L),clickMoreButtonAction:C,eventCategory:A="deposits_vklady",showItemAction:k="show__card__".concat(L)}=T,z=(0,r.useRef)(null),F=(0,U.z)(N,p,g);(0,R.Z)({eventAction:k,eventCategory:A,eventLabel:String(N.id),itemRef:z});let W=(0,r.useMemo)(()=>{var e,t;return(0,O.Z)({amount:null!==(t=N.rateAmount)&&void 0!==t?t:N.amount,baseUrl:M,depositUrl:N.url,isBound:N.isBound,isTermInDays:m,params:j,paramsType:v,term:(0,Q.Am)(m,null===(e=N.computeData)||void 0===e?void 0:e.termDays,N.term)})},[M,N.amount,null===(t=N.computeData)||void 0===t?void 0:t.termDays,N.isBound,N.rateAmount,N.term,N.url,m,j,v]),G=(0,r.useCallback)(()=>{B(N.id,A,y)},[y,N.id,A]),J=(0,r.useCallback)(()=>(Z(N.id,A,L),null==_?void 0:_({isPlatform:p,href:W,depositItem:N})),[N,A,W,p,_,L]),V=(0,r.useCallback)(()=>(0,Y.L)(N.id,A,null!=C?C:""),[C,N.id,A]),H=(0,r.useMemo)(()=>(0,S.Z)({data:N,isPlatform:p,renderTip:e=>(0,i.jsx)(o.u,{text:e.description,style:{whiteSpace:"pre-wrap"},dataQa:"tag-tip",hideWhenOutOfBounds:!0,children:(0,i.jsxs)(l.xv,{className:P().detail,children:[e.title,(0,i.jsx)(a.IconFdsQuestionCircleO,{size:16})]})}),newDesign:!0}),[N,p]),q=!!N.asSavingAccount||N.type===E.kv.SavingAccount,K=(0,r.useMemo)(()=>h(N,w,p),[N,w,p]),X=(0,r.useMemo)(()=>b(N,w,q),[N,w,q]),$=(0,r.useMemo)(()=>{var e,t,n;return(0,I.b)({profit:null===(e=N.computeData)||void 0===e?void 0:e.profit,bonusProfit:null===(t=N.computeData)||void 0===t?void 0:t.bonus,terms:null==F?void 0:F.terms,isPlatform:p,isCapitalization:null!==(n=N.isCapitalization)&&void 0!==n&&n,isSavingAccount:N.type===E.kv.SavingAccount})},[null===(n=N.computeData)||void 0===n?void 0:n.bonus,null===(s=N.computeData)||void 0===s?void 0:s.profit,N.isCapitalization,N.type,null==F?void 0:F.terms,p]);return(0,i.jsx)("div",{"data-testid":"deposits-item",className:D,ref:z,children:(0,i.jsx)(f,{bankName:N.bankName,bic:N.bic,bonusProfit:null===(u=N.computeData)||void 0===u?void 0:u.bonus,bonusRate:null===(c=N.computeData)||void 0===c?void 0:c.bonusRate,className:D,currencyUnit:x?N.currencyUnit:void 0,dataQa:"deposits-item",href:W,id:N.id,isFloatingRate:"MAX"===N.rateType||q||N.isFloating,name:N.name,rate:null===(d=N.computeData)||void 0===d?void 0:d.effectiveRate,rateTip:$,rateLink:null==F?void 0:F.link,rateLinkLabel:null==F?void 0:F.linkLabel,isLadderDeposit:N.isLadderDeposit,tags:H,...K,...X,onButtonClick:V,onInfoClick:J,onCardClick:G})})};W.displayName="DepositsItem";var G=(0,r.memo)(W)},57044:function(e,t,n){"use strict";n.d(t,{M:function(){return s}});var i=n(57437),a=n(2265),l=n(90498),o=n.n(l);function r(e){return o()(e,{allowedTags:[],allowedAttributes:{}})}let s=e=>{let{textList:t,regionId:n,townId:l}=e,o=(0,a.useMemo)(()=>{if(!t)return"";let e=Array.isArray(t)&&t.length>0&&"content"in t[0]?t.filter(e=>{var t;let i=null!==(t=e.regions)&&void 0!==t?t:[];return n&&l?i.some(e=>{var t,i;return 0===e.regionId||e.regionId===n&&((null===(t=e.cities)||void 0===t?void 0:t.length)===0||(null===(i=e.cities)||void 0===i?void 0:i.some(e=>e===l)))}):n&&!l?i.some(e=>e.regionId===n):!n&&!l&&0===i.length}):t;if(!e.length)return"";let i=e.filter(e=>!!e.displayInMicrodata).map(e=>{if("content"in e){var t;return{"@type":"Question",name:e.title,acceptedAnswer:{"@type":"Answer",text:Array.isArray(t=e.content)?t.map(e=>{var t;return(null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.html)||""}).map(r).filter(Boolean).join(" "):""}}}return"question"in e&&"answer"in e?{"@type":"Question",name:e.question,acceptedAnswer:{"@type":"Answer",text:r(e.answer)}}:null}).filter(Boolean);return i.length?JSON.stringify({"@context":"https://schema.org","@type":"FAQPage",mainEntity:i}):""},[t,n,l]);return o?(0,i.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:o}}):null}},2833:function(e,t,n){"use strict";n.d(t,{JZ:function(){return N},_M:function(){return D},BH:function(){return T}});var i=n(57437),a=n(2265),l=n(44579),o=n(34200),r=n(98351),s=n(92807),u=n(33600);let c=(0,a.createContext)(void 0),d={},M=[];function D(e){return!!e.isNotAmount||!!e.isTermEmpty||!!e.computeData}function N(e){let{children:t,banks:n,bankTowns:D,initialAnotherDeposits:N,initialPlatformDeposits:T,isCalculatorOfferFilter:p=!1,useInitialDataAsErrorFallback:m=!1,deferOfferFiltering:j=!1,isBankDepositCalculator:v=!1,platformProducts:w,nonPlatformProducts:g,tagPlatformDeposits:x,tagAnotherDeposits:_,initialAllDepositsLength:L,initialCurrentDepositsLength:y,allExtraInfo:f,bounds:O,discounts:C,amount:h,period:A,term:k,termInDays:z,dateStart:b,rate:E,inputRate:I,paymentFrequency:S,floatingRate:Q,isDiscount:Y,isHiddenPromo:U,isPlusFiveBonus:R,isOldUser:F,increaseSort:P,sortType:Z,initialSort:B,withRefill:W,withCapitalization:G,activeBanks:J,partnerId:V,specialDeposits:H,facetKey:q,withLeadGenDeposits:K,withAnotherDeposits:X}=e,$=null!=f?f:d,ee=void 0!==_||void 0!==g,et=(0,a.useMemo)(()=>{var e;return v&&(w||g)?[...null!==(e=null==w?void 0:w.map(String))&&void 0!==e?e:[],...null!=g?g:[]]:M},[v,g,w]),en=(0,a.useMemo)(()=>{let e=A===l.Z.Day?{term:null!=z?z:k,termUnit:"DAY"}:A===l.Z.Month?{term:k,termUnit:"MONTH"}:{term:12*k,termUnit:"MONTH"};return{amount:String(h),dateStart:b,isCalculatorOfferFilter:p,currency:s.Xf,withRefill:W,filterAdditionalSettings:[o.a.deposits],importantDeposits:et,initialSort:B,order:P?u.mr.Desc:u.mr.Asc,sortType:Z,isDiscount:Y,rate:E,inputRate:I,paymentFrequency:S,floatingRate:Q,...e,withCapitalization:G,activeBanks:J}},[h,J,b,Q,et,I,P,B,Y,p,S,A,E,Z,k,z,G,W]),ei=(0,a.useMemo)(()=>{let e=v&&{platformProducts:w,nonPlatformProducts:g,tagPlatformDeposits:x,tagAnotherDeposits:_,initialAllDepositsLength:L,initialCurrentDepositsLength:y};return{initialAnotherDeposits:N,initialPlatformDeposits:T,bounds:O,isPlusFiveBonus:R,isOldUser:F,filter:en,banks:n,bankTowns:D,allExtraInfo:v?$:d,anotherDepositsInCount:v,discounts:C,specialDeposits:H,facetKey:q,withLeadGenDeposits:K,withAnotherDeposits:v&&(null!=X?X:ee),useInitialDataAsErrorFallback:m,deferOfferFiltering:j,...e}},[$,D,n,O,C,q,en,L,N,y,T,v,ee,F,R,g,w,H,_,x,m,j,X,K]),{platformDeposits:ea,anotherDeposits:el,depositLists:eo,advantagesDepositLists:er,isLoading:es,handleChangeAdvantagesDepositsList:eu}=(0,r.Q)(ei),ec=(0,a.useMemo)(()=>({platformDeposits:ea,anotherDeposits:el,depositLists:eo,advantagesDepositLists:er,isHiddenPromo:U,isOldUser:F,discounts:C,banks:n,isPlusFiveBonus:R,onChangeAdvantagesDepositsList:eu,partnerId:V,isLoading:es}),[er,el,n,eo,C,eu,U,es,F,R,V,ea]);return(0,i.jsx)(c.Provider,{value:ec,children:t})}function T(){let e=(0,a.useContext)(c);if(!e)throw Error("Out of context");return e}},98532:function(e,t,n){"use strict";n.d(t,{b:function(){return a}});var i=n(49090);let a=e=>{let{profit:t,bonusProfit:n,terms:a,isPlatform:l,isCapitalization:o,isSavingAccount:r}=e;if(!l)return o&&!r?"Иногда у вклада есть особенности — капитализация процентов, возможность пополнения или акция от банка.\nДополнительные параметры меняют доход в большую или меньшую сторону, поэтому процент по эффективной ставке отличается от банковской. Он отражает доход корректнее.":null;if(!a)return;if(!t||!n)return a;let s=(0,i.lb)(t),u=(0,i.lb)(n);return"• доход от банка: ".concat(s,"\n• бонус от Финуслуг: ").concat(u,"\n\n").concat(a)}},65621:function(e,t,n){"use strict";n.d(t,{p:function(){return d}});var i=n(94441);let a=e=>{var t,n,i,a,l,o,r,s;let u=(null===(n=e.contentAttributes)||void 0===n?void 0:null===(t=n.integration)||void 0===t?void 0:t.integrationType)==="REFERAL"||(null===(a=e.contentAttributes)||void 0===a?void 0:null===(i=a.integration)||void 0===i?void 0:i.integrationType)==="INTERNAL_REFERAL";return{type:u?1:0,url:null!==(s=null===(o=e.contentAttributes)||void 0===o?void 0:null===(l=o.integration)||void 0===l?void 0:l.url)&&void 0!==s?s:"",commercial:u?1:0,order:null===(r=e.contentAttributes)||void 0===r?void 0:r.order}},l=(e,t,n)=>{var i,a,l,o;return{...null==e?void 0:e.interest_rate,rates:t.length?t:null!==(l=null===(i=e.interest_rate)||void 0===i?void 0:i.rates)&&void 0!==l?l:[],comment:null!==(o=null===(a=n.contentAttributes)||void 0===a?void 0:a.ratesComment)&&void 0!==o?o:""}},o=(e,t)=>{var n,i,a;let l=null!==(a=null==t?void 0:null===(i=t.interestPayments)||void 0===i?void 0:null===(n=i[0])||void 0===n?void 0:n.periods)&&void 0!==a?a:[],o=l.map(e=>e.type),s=l.map(e=>r(e)).join("<br/>");return{...e.interest_payment,text:s,daily:o.includes("DAILY")?1:0,weekly:o.includes("WEEKLY")?1:0,monthly:o.includes("MONTHLY")?1:0,quarterly:o.includes("QUARTERLY")?1:0,half_year:o.includes("SEMIANNUALLY")?1:0,annually:o.includes("ANNUALLY")?1:0,end:o.includes("IN_THE_END")?1:0,specified_period_in_days:o.includes("SPECIFIED_PERIOD_IN_DAYS")?1:0}},r=e=>{var t;return"DAILY"===e.type?"Ежедневно":"WEEKLY"===e.type?"Еженедельно":"MONTHLY"===e.type?"Ежемесячно":"QUARTERLY"===e.type?"Ежеквартально":"SEMIANNUALLY"===e.type?"Каждые пол года":"ANNUALLY"===e.type?"Ежегодно":"IN_THE_END"===e.type?"В конце срока":"SPECIFIED_PERIOD_IN_DAYS"===e.type?"Каждый ".concat(null!==(t=e.value)&&void 0!==t?t:0,"-й день"):""},s=(e,t)=>{var n,i;let a=null!==(i=null===(n=e.attributes)||void 0===n?void 0:n.asSavingAccount)&&void 0!==i?i:"saving_account"===e.productType;return{charitable:"charitable"===e.productType?1:0,child:"child"===e.productType?1:0,insurance:"insurance"===e.productType?1:0,investment:"investment"===e.productType?1:0,martgage:"mortgage"===e.productType?1:0,multicurrency:(null==t?void 0:t.currencies.length)>1?1:0,pension:"pension"===e.productType?1:0,salary:"salary"===e.productType?1:0,saving_account:a?1:0,seasonal:"seasonal"===e.productType?1:0}},u=e=>e?String(e).padStart(9,"0"):"",c=e=>e,d=e=>{var t,n,r,d,M,D,N,T,p,m,j,v,w,g,x,_,L,y,f,O,C,h,A,k,z,b,E,I;let{deposit:S,bank:Q,oldDeposit:Y}=e,U=null!=Y?Y:(0,i.MP)(!!(null==S?void 0:null===(t=S.attributes)||void 0===t?void 0:t.asSavingAccount)),R=null===(r=S.attributes)||void 0===r?void 0:null===(n=r.options)||void 0===n?void 0:n[0],F=(0,i.I7)(Q),{rates:P,amountFrom:Z,amountTo:B,termFrom:W,termTo:G}=(0,i.HP)(null!==(O=null===(d=S.attributes)||void 0===d?void 0:d.options)&&void 0!==O?O:[],null==S?void 0:null===(M=S.attributes)||void 0===M?void 0:M.isLadderDeposit);return{...U,...S,id:S.id,url:null!==(C=null==S?void 0:null===(D=S.contentAttributes)||void 0===D?void 0:D.url)&&void 0!==C?C:"",title:S.name,active_to:S.visibleTo,active_from:S.visibleFrom,archive:(null===(N=S.contentAttributes)||void 0===N?void 0:N.archive)?1:0,m_updated_at:null!==(h=null===(p=S.contentAttributes)||void 0===p?void 0:null===(T=p.updatedAt)||void 0===T?void 0:T.slice(0,10))&&void 0!==h?h:"",bank_id:Number(null==Q?void 0:Q.id),bank_name:null!==(A=null==Q?void 0:Q.name)&&void 0!==A?A:"",bank_url:null!==(k=null==Q?void 0:Q.url)&&void 0!==k?k:"",legal_name:F,currency_id:Number(null===(w=S.attributes.options)||void 0===w?void 0:null===(v=w[0])||void 0===v?void 0:null===(j=v.currencies)||void 0===j?void 0:null===(m=j[0])||void 0===m?void 0:m.currency),online_application:a(S),interest_rate:l(U,P,S),amount:{...U.amount,from:Z,to:B},term:{...U.term,from:W,to:G},efficientRate:S.attributes.efficientRate,partial_withdrawal:{...U.partial_withdrawal,has:(0,i.Nx)(R),text:(0,i.UD)(R)},interest_payment:o(U,R),productFeature:null===(g=S.attributes)||void 0===g?void 0:g.productFeature,refill:{comment:"",...U.refill,has:(0,i.u0)(R),text:(0,i.VV)(R)},interest_capitalization:{comment:"",...U.interest_capitalization,has:(0,i.xV)(R),text:(0,i.bh)(R)},preferential_termination:{...U.preferential_termination,has:(0,i.vf)(R),text:(0,i.f1)(R)},type:s(S,R),prolongation:{text:(null==R?void 0:R.prolongations)?"Предусмотрена":"Не предусмотрена"},all_russia:(null===(x=S.contentAttributes)||void 0===x?void 0:x.availableAllRussia)?1:0,custom_regions:null!==(z=null===(_=S.attributes)||void 0===_?void 0:_.regionsData)&&void 0!==z?z:[],multicurrency:(null==R?void 0:R.currencies.length)>1?1:0,finuslugiBonusPromotion:{},fin_exclusive:S.attributes.exclusive?1:0,asSavingAccount:null!==(b=S.attributes.asSavingAccount)&&void 0!==b&&b,promo:!1,floatingRateInformations:S.floatingRateInformations,external:{integrationType:null===(y=S.contentAttributes)||void 0===y?void 0:null===(L=y.integration)||void 0===L?void 0:L.integrationType},options:c(S.attributes.options),attributesComments:null!==(E=null==R?void 0:R.attributesComments)&&void 0!==E?E:[],prolonging:null!==(I=S.attributes.prolonging)&&void 0!==I&&I,bic:u(null===(f=S.contentAttributes)||void 0===f?void 0:f.bic),isLadderDeposit:S.attributes.isLadderDeposit}}},32046:function(e,t,n){"use strict";n.d(t,{L:function(){return i}});let i=e=>!e||(null==e?void 0:e.id)==="DEFAULT"||(null==e?void 0:e.id)==="vse_vkladi"||(null==e?void 0:e.url)==="DEFAULT"||(null==e?void 0:e.url)==="vse_vkladi"},64082:function(e,t,n){"use strict";function i(e){if("true"===e)return!0;if("false"===e)return!1;let t=Number(e);return isNaN(t)?e:t}n.d(t,{w:function(){return i}})},98351:function(e,t,n){"use strict";n.d(t,{_:function(){return w},Q:function(){return g}});var i=n(2265),a=n(2674),l=n(97793),o=n(90716);let r=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,o.t9)("/api/v1/deposit-facets/filtered",{method:"POST",body:JSON.stringify({name:e}),headers:{"Content-Type":"application/json"}},{isProductTagsApi:!0},t)};var s=n(65621);async function u(e,t){let{products:n,boundaryValues:{totalPages:i}}=e,a=Array.from({length:i-1},(e,t)=>(0,l.vI)("active",{page:t+1})),o=[...n,...(await Promise.all(a)).flatMap(e=>{var t,n;return null!==(n=null===(t=e.data)||void 0===t?void 0:t.products)&&void 0!==n?n:[]})];return t?o:o.filter(e=>!e.asSavingAccount)}async function c(e){var t,n;if(!e)return null;let{data:i}=await r(e);return(null==i?void 0:i.content.length)&&null!==(n=null===(t=(await r(e)).data)||void 0===t?void 0:t.content[0])&&void 0!==n?n:null}async function d(e){if(!(null==e?void 0:e.length))return[];let t=(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,n=[];for(let i=0;i<e.length;i+=t)n.push(e.slice(i,i+t));return n})(e).map(e=>(0,l.Cc)(e));return(await Promise.all(t)).flatMap(e=>{var t,n;return null!==(n=null===(t=e.data)||void 0===t?void 0:t.products)&&void 0!==n?n:[]})}async function M(e,t){if(null==t?void 0:t.length)return await d(t);let n=await (0,l.vI)();return(null==n?void 0:n.data)?await u(n.data,e):[]}async function D(e){var t,n;let i=null!==(n=null===(t=(await (0,l.ID)()).data)||void 0===t?void 0:t.content)&&void 0!==n?n:[];return e?i.filter(t=>e.includes(t.id)):i}async function N(e,t,n){var i;let a=[];if(n&&!t&&(a=await (0,l.PT)(String(n))),!n&&(null==t?void 0:t.length)&&(a=await (0,l.iT)(t)),!(null==a?void 0:a.length))return[];let o=new Map;return null==e||e.forEach(e=>o.set(+e.bic,e)),null!==(i=null==a?void 0:a.map(e=>{var t;return(0,s.p)({deposit:e,bank:(null==e?void 0:null===(t=e.contentAttributes)||void 0===t?void 0:t.bic)?o.get(e.contentAttributes.bic):void 0})}))&&void 0!==i?i:[]}async function T(e){let{withPlatformDeposits:t=!0,withSavingAccounts:n=!1,withAnotherDeposits:i=!0,withLeadGenDeposits:a=!1,facetKey:o,banks:r,nonPlatformProducts:s,platformProducts:u,tagId:d}=null!=e?e:{},T=await c(o),p=[],m=[];if(u||s||d){let[e,t]=await Promise.all([i?N(r,s,d):[],a?D():[]]);p=(()=>{if(!s)return e;let t=new Map;return e.forEach(e=>{(null==e?void 0:e.id)!==void 0&&t.set(e.id,e)}),s.map(e=>t.get(e)).filter(Boolean)})(),m=t}else{var j,v;let e=i?await (0,l.X4)({oa_type:"1,2"}):{data:{deposits:null}};m=a?await D(null==T?void 0:T.productsIds):[],p=null!==(v=null==e?void 0:null===(j=e.data)||void 0===j?void 0:j.deposits)&&void 0!==v?v:[]}let w=(null==u?void 0:u.length)?u:null==T?void 0:T.depositsIds;return{platform:t?await M(n,w):[],another:p,leadGen:m}}var p=n(36639),m=n(33600),j=n(34200);let v={initialSort:!0,sortType:m.ER.RatePlusBonus,isDiscount:!1,order:m.mr.Asc,currency:"",withRefill:!1,withCapitalization:!1,term:0,isCalculatorOfferFilter:!0,useProductAmountForBonus:!0,filterAdditionalSettings:[j.a.deposits]};function w(e){return!!e.isNotAmount||!!e.isTermEmpty||!!e.computeData}function g(e){let t=(0,i.useRef)(e),{toggles:n}=(0,a.ND)(),{filter:l,withAnotherDeposits:o=!0,withSavingAccounts:r=!1,facetKey:s,withLeadGenDeposits:u=!1,banks:c,tagPlatformDeposits:d,tagAnotherDeposits:M,tagNewPlatformDeposits:D,skipClientFetch:N=!1,useInitialDataAsErrorFallback:m=!1,deferOfferFiltering:j=!1}=e,g=(0,i.useMemo)(()=>j?{...v,importantDeposits:l.importantDeposits,activeBanks:l.activeBanks}:l,[j,l]);t.current={...e,filter:g};let x=void 0!==d||void 0!==M||void 0!==D,[_,L]=(0,i.useState)(null!=d?d:[]),[y,f]=(0,i.useState)(null!=M?M:[]),[O,C]=(0,i.useState)(null!=D?D:[]),[h,A]=(0,i.useState)([]),[k,z]=(0,i.useState)(j||!x),[b,E]=(0,i.useState)(!x&&!N),I=(0,i.useMemo)(()=>({...e,filter:g,platformDeposits:_,anotherDeposits:y,newPlatformDeposits:O,getOnlyInitialData:k,leadGenDeposits:h}),[e,g,_,y,O,k,h]),[S,Q]=(0,i.useState)(()=>(0,p.O)(I)),[Y,U]=(0,i.useState)(S.platform.filter(e=>w(e)));return(0,i.useEffect)(()=>{Q((0,p.O)(I))},[I]),(0,i.useEffect)(()=>{if(x||N){E(!1);return}let e=!0;return E(!0),T({withAnotherDeposits:o,withSavingAccounts:r,facetKey:s,withLeadGenDeposits:u,banks:c}).then(n=>{let{platform:i,another:a,leadGen:l}=n;if(!e)return;let o=(0,p.O)({...t.current,platformDeposits:i,anotherDeposits:a,newPlatformDeposits:O,getOnlyInitialData:!1,leadGenDeposits:l});L(i),f(a),A(l),Q(o),U(o.platform.filter(e=>w(e))),z(!1),E(!1)}).catch(()=>{e&&m&&E(!1)}),()=>{e=!1}},[s,x,N,o,u,r,c,n,m]),(0,i.useEffect)(()=>{x&&(L(null!=d?d:[]),f(null!=M?M:[]),C(null!=D?D:[]),z(!1))},[x,M,D,d]),{platformDeposits:_,anotherDeposits:y,depositLists:S,advantagesDepositLists:Y,isLoading:b,handleChangeAdvantagesDepositsList:(0,i.useCallback)(e=>{U(e)},[])}}},77454:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var i=n(2265),a=n(2833),l=n(50702);function o(e){let{advantagesDepositLists:t,pageOffset:n,depositLists:o,isCombinedList:r=!1,onChangeAdvantagesDepositsList:s,onChangeIsDiscount:u}=e,[c,d]=(0,i.useState)(n?Math.min(t.length,n):t.length),{isLoading:M}=(0,l.r)(),D=(0,i.useRef)(null);return(0,i.useEffect)(()=>{let e=o.platform.filter(e=>(0,a._M)(e)),t=o.leadGen.filter(e=>(0,a._M)(e)),i=r?[...e,...t]:e;s(i),d(n?Math.min(n,i.length):i.length);let l=i.some(e=>e.hasDiscount);D.current!==l&&(D.current=l,u(l))},[o,r,s,u,n]),{isLoading:M,renderedAdvantagesDepositsCount:c,showMore:(0,i.useCallback)(()=>{d(e=>e+n)},[n])}}},49394:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var i=n(2265),a=n(7006),l=n(26876),o=n(53931);function r(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],r=(0,o.$1)(),s=(null==r?void 0:r["auth.gtm_customer_id"])||null,[u]=(0,i.useState)(n&&null!=e?e:[]),[c,d]=(0,i.useState)(!1),[M,D]=(0,i.useState)(!0),[N,T]=(0,i.useState)(!1),[p,m]=(0,i.useState)(t&&!!s);return(0,i.useEffect)(()=>{s&&n&&(m(!0),(0,a.M)(s).then(e=>{let{data:t}=e;(!t||(null==t?void 0:t.features))&&t&&!t.features.includes(l.n.SHOW_ADDITIONAL_PERCENT_BONUS)&&(D(!1),T(!0),d(!0))}).finally(()=>{m(!1)}))},[s,n]),{customerId:s,isOldUser:N,isPlusFiveBonus:M,isHiddenPromo:c,isDiscountsLoading:p,bonuses:u}}},25795:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var i=n(85605),a=n.n(i),l=n(2265),o=n(91220),r=n(14441);function s(e){if(null==e)return"";let t=Object.fromEntries(Object.entries(e).filter(e=>void 0!==e[1]));return a().stringify(t)}function u(e,t,n){let i=t.indexOf(n);return(i>=0?t.substring(0,i):t)+n+s(e)}function c(e){let{defaultValue:t,searchSign:n="?"}=null!=e?e:{},{asPath:i,replace:a}=(0,r.P)(),c=(0,l.useMemo)(()=>(0,o.p)(i,n),[i,n]),d=(0,l.useRef)(!1),M=(0,l.useRef)();(0,l.useEffect)(()=>{d.current||(d.current=!0)},[]),(0,l.useEffect)(()=>{d.current&&JSON.stringify(M.current)!==JSON.stringify(t)&&(M.current=t,a(u(null==t?c:Object.entries(t).reduce((e,t)=>{let[n,i]=t;return null!=e[n]?e:{...e,[n]:i}},c),i,n)))},[i,t,M,c,a,n]);let D=(0,l.useCallback)(e=>{let t=e(c);s(c)!==s(t)&&a(u(t,i,n))},[i,c,a,n]);return{params:c,setParams:D}}},97807:function(e,t,n){"use strict";n.d(t,{Q:function(){return a}});var i=n(2265);let a=()=>{let[e,t]=(0,i.useState)(!1),[n,a]=(0,i.useState)(!1),l=(0,i.useRef)({x:0,y:0});return{isDragged:e,isTouched:n,onMouseDown:(0,i.useCallback)(e=>{a(!0),l.current={x:e.screenX,y:e.screenY},l.current&&l.current.x===e.screenX&&l.current.y===e.screenY&&t(!1)},[]),onMouseMove:(0,i.useCallback)(e=>{l.current&&l.current.x===e.screenX&&l.current.y===e.screenY||(t(!0),l.current={x:e.screenX,y:e.screenY})},[]),resetState:(0,i.useCallback)(()=>{t(!1),a(!1)},[])}}},29827:function(e){e.exports={depositCard:"DepositCard_depositCard__BSk6a",tag:"DepositCard_tag__kGJab",white:"DepositCard_white__DvXfN",header:"DepositCard_header__M8Gz5",nameWrapper:"DepositCard_nameWrapper__nrzkX",logo:"DepositCard_logo__u8YGh",logoPlaceholder:"DepositCard_logoPlaceholder__cs5Kl",text:"DepositCard_text__C4cvk",bankName:"DepositCard_bankName__Trjsx",name:"DepositCard_name__Yy7_2",content:"DepositCard_content__61z5G",row:"DepositCard_row__e7_Oe","cols-2":"DepositCard_cols-2__oE7wD",divider:"DepositCard_divider__UPE0W",columnValue:"DepositCard_columnValue__WqSFy",termValue:"DepositCard_termValue__1jktz",margined:"DepositCard_margined__ONtRE",termTitle:"DepositCard_termTitle__baOgb",termCaption:"DepositCard_termCaption__6YAU1",label:"DepositCard_label__3LcRI",caption:"DepositCard_caption__xsq1B",buttons:"DepositCard_buttons__uOQdR",tags:"DepositCard_tags__k2ffG",red:"DepositCard_red__pqGB1",green:"DepositCard_green__C_yJ5",orange:"DepositCard_orange__6bvpI",purple:"DepositCard_purple__HYuGL",blue:"DepositCard_blue__gS0cj",hint:"DepositCard_hint__medrL",desktop:"DepositCard_desktop__u2ZgC",tablet:"DepositCard_tablet__BQYl1","mobile-tablet":"DepositCard_mobile-tablet__1_Zxz",mobile:"DepositCard_mobile__eIDxe",aligned:"DepositCard_aligned__vBy0J"}},33998:function(e){e.exports={skeleton:"Skeleton_skeleton__QIS3q",move:"Skeleton_move__TZqyh"}},73727:function(e){e.exports={caption:"TextCaption_caption__TOL53"}},75459:function(e){e.exports={page:"DepositCalculator_page__w7k1A",headingText:"DepositCalculator_headingText__AxXM6",title:"DepositCalculator_title__ABexT",calculatorContainer:"DepositCalculator_calculatorContainer__3j8_0",subtitle:"DepositCalculator_subtitle__L4J7S",opened:"DepositCalculator_opened__9oYeb",icon:"DepositCalculator_icon__yazp_",banner:"DepositCalculator_banner__IubMu"}},60684:function(e){e.exports={container:"DepositCalculator_container__RFlV8",title:"DepositCalculator_title__4NVmh",row:"DepositCalculator_row__NQF6t",period:"DepositCalculator_period__enjB2",periodRow:"DepositCalculator_periodRow__gv_kR",periodChips:"DepositCalculator_periodChips__ofm9w",input:"DepositCalculator_input__wtbnz",fieldGroup:"DepositCalculator_fieldGroup__KRbMY",message:"DepositCalculator_message__sj_Te",capitalizationRow:"DepositCalculator_capitalizationRow__YjiBW",capitalizationLabel:"DepositCalculator_capitalizationLabel__L6u1w",capitalizationLabelContainer:"DepositCalculator_capitalizationLabelContainer__zT9_r",calculateButton:"DepositCalculator_calculateButton__3V57i"}},26687:function(e){e.exports={container:"FloatingRateFields_container__luKnK",header:"FloatingRateFields_header___f5YE",label:"FloatingRateFields_label__uDTLX",labelContainer:"FloatingRateFields_labelContainer__asJeb",dataContainer:"FloatingRateFields_dataContainer__PNuQs",dataRow:"FloatingRateFields_dataRow__WlJGv",deleteButton:"FloatingRateFields_deleteButton__Z26HR",rateLabel:"FloatingRateFields_rateLabel__uMDJ4",hasError:"FloatingRateFields_hasError__RqJvA",buttonLabelContainer:"FloatingRateFields_buttonLabelContainer__8yT0D",button:"FloatingRateFields_button__cbZVJ",fieldGroup:"FloatingRateFields_fieldGroup__Yqsa5",message:"FloatingRateFields_message__Rq1qI"}},17579:function(e){e.exports={container:"DepositCalculator_container__OVf6X",title:"DepositCalculator_title__aEfEC",profitRow:"DepositCalculator_profitRow__2Bnma",profitLabelRow:"DepositCalculator_profitLabelRow__WZCw0",profitLabel:"DepositCalculator_profitLabel__pom8i",profitUnit:"DepositCalculator_profitUnit__j5pqq",profitPercent:"DepositCalculator_profitPercent__rZ4RI",tip:"DepositCalculator_tip__D0_oP",tipIcon:"DepositCalculator_tipIcon__Jq0Uq",divider:"DepositCalculator_divider__JIAq0",labelContainer:"DepositCalculator_labelContainer__N0fII",label:"DepositCalculator_label__Q83Ut",value:"DepositCalculator_value__z16eC",effectiveRateTip:"DepositCalculator_effectiveRateTip__EdGoK",showDepositsButton:"DepositCalculator_showDepositsButton__MAHIg"}},91380:function(e){e.exports={chartContainer:"ProfitChart_chartContainer__yFUuB",element:"ProfitChart_element__lr9Yj",deposit:"ProfitChart_deposit__I5C8G",profit:"ProfitChart_profit__ZDnh2",descriptionContainer:"ProfitChart_descriptionContainer__9JbHu",decriptionRow:"ProfitChart_decriptionRow__DyF9u",descriptionMark:"ProfitChart_descriptionMark__ws9zL",descriptionLabel:"ProfitChart_descriptionLabel__xYa9T",descriptionValue:"ProfitChart_descriptionValue__9KJ9h"}},75460:function(e){e.exports={container:"DepositList_container__SnVES",content:"DepositList_content__6I5Gn",title:"DepositList_title__oU_hN",button:"DepositList_button__hYNY5",countLabel:"DepositList_countLabel__dlCNr"}},79142:function(e){e.exports={container:"DepositDetailSteps_container__uD6OU",title:"DepositDetailSteps_title__uTNGG",sliderContainer:"DepositDetailSteps_sliderContainer__9J2T_",sliderWrapper:"DepositDetailSteps_sliderWrapper__KCsL4",bannerCard:"DepositDetailSteps_bannerCard__p0QUJ",badge:"DepositDetailSteps_badge__0I3_m",text:"DepositDetailSteps_text__PXCdW"}},37500:function(e){e.exports={detailIcon:"DepositsItem_detailIcon__PzEOA",detail:"DepositsItem_detail__eDvqi"}}}]);