(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[566],{660:e=>{e.exports={tabsList:"MobileTabs_tabsList__k6Fp5",tabItem:"MobileTabs_tabItem__nNt_M"}},1421:(e,t,i)=>{"use strict";i.d(t,{Q:()=>a});var a=function(e){return e.addToList="addToList",e.like="like",e.share="share",e.chart="chart",e.arrow="arrow",e.arrowBack="arrowBack",e}({})},18578:(e,t,i)=>{"use strict";i.d(t,{T:()=>a});var a=function(e){return e.isPlatformDeposit="isPlatformDeposit",e.isNonPlatformDeposit="isNonPlatformDeposit",e.isLidgenDeposit="isLidgenDeposit",e.isArchiveDeposit="isArchiveDeposit",e}({})},19680:(e,t,i)=>{"use strict";i.d(t,{R:()=>_});var a=i(46828),n=i(88346),l=i(98591),o=i(89910),r=i(73520),s=i(25844),c=i(2748),u=i(44653),d=i(10955);let m={[c.O8.DAY]:a.A.Day,[c.O8.MONTH]:a.A.Month,[c.O8.YEAR]:a.A.Year},_=function(e){var t,i,a;let _=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,p=arguments.length>2?arguments[2]:void 0;if(!e)return[];let{isSavingAccount:v,isNonPlatform:h,type:b,options:f,values:x,comment:D,prolonging:g,restrictions:k}=((e,t)=>{var i;let a="bank_id"in e,o=!!(e.asSavingAccount||a&&e.type.saving_account),d=o?"счет":"вклад",_=null==(i=e.options)?void 0:i.find(e=>e.id===t),p=(e=>{var t;let{data:i,type:a,options:o}=e,d={minAmount:null==o||null==(t=o.additionalReplenishmentRestrictions)?void 0:t.minAmount,replenishmentPeriod:(e=>{if(!(null==e?void 0:e.additionalReplenishmentRestrictions))return;let{minAmount:t,replenishmentPeriod:i}=e.additionalReplenishmentRestrictions;if(!t)return;if(!i)return"Весь период действия вклада";let{value:a,type:l}=i,o=m[l];return"".concat((0,r.Ig)(a,["Первый","Первые","Первые"],n.Ge[o])," после открытия")})(o)};return"bank_id"in i?{...((e,t)=>{var i,a,n,o;let r=(0,l.O)(e.currency_id);return{currency:s.yR[r.unit],partialWithdrawal:e.partial_withdrawal.text,interestPayment:e.interest_payment.text,refill:null!=(n=null==(i=e.refill)?void 0:i.text)?n:"",capitalization:null!=(o=null==(a=e.interest_capitalization)?void 0:a.text)?o:"",preferentialTermination:e.preferential_termination.text,preferentialTerminationDesc:"да"===e.preferential_termination.text.toLowerCase()?"Если вы решите закрыть ".concat(t," раньше, с 366 дня ставка при досрочном расторжении составит <b>8%</b> годовых"):""}})(i,a),...d}:{...((e,t)=>{let i=e.options[0].earlyTermination,a=i===u.A.PreferentialRateForWholeTerm||i===u.A.WithoutRecalculationOfInterest;return{currency:s.yR["₽"],partialWithdrawal:e.options[0].partialWithdrawal?"Да":"Нет",interestPayment:e.options[0].interestPayments[0].periods[0].type===c.MI.END?"В конце срока":"ежемесячно",refill:e.options[0].replenishment?"Возможно":"Нет",capitalization:"CAPITALISATION"===e.options[0].interestPayments[0].method?"Да":"Нет",preferentialTermination:a?"Да":"Нет",preferentialTerminationDesc:a?"Возможность досрочно закрыть ".concat(t,", при этом, не потерять часть накопленных %"):""}})(i,a),...d}})({data:e,type:d,options:_}),v=a&&3!==e.online_application.type,h=v?e.attributesComments:void 0,b=e=>{var t,i,a;return t=h,i=e,null==t||null==(a=t.find(e=>e.field===i))?void 0:a.comment},f=a&&e.prolonging,x=v?b("RESTRICTIONS"):void 0;return{isSavingAccount:o,isNonPlatform:v,type:d,options:_,values:p,comment:b,prolonging:f,restrictions:x}})(e,_),C=[{label:"Пролонгация вклада",value:(0,d.pr)(g),toolltip:"Возможность продления срока действия вклада без предварительного закрытия, зачастую процесс автоматизирован — то есть не требует посещения банка",attributeComment:D("PROLONGING"),excluded:!1}],A=[{label:"Ограничения",value:D("RESTRICTIONS"),isRestriction:!0,excluded:!1}];return[{isComment:!0,label:"",value:null!=(a=null==(t=e.interest_rate)?void 0:t.comment)?a:"",excluded:!(null==(i=e.interest_rate)?void 0:i.comment)||p},{label:"Валюта ".concat(b,"а"),value:x.currency,excluded:!1},{label:"Частичное снятие",value:x.partialWithdrawal,attributeComment:D("PARTIAL_WITHDRAWAL"),excluded:!1},{label:"Выплата процентов",value:x.interestPayment,attributeComment:D("INTEREST_PAYMENTS"),excluded:!1},{label:"Пополнение ".concat(b,"а"),value:x.refill,toolltip:"Возможность вносить денежные средства в период действия ".concat(b,"а."),attributeComment:D("REPLENISHMENT"),excluded:!1},{label:"Капитализация процентов",value:x.capitalization,toolltip:"На выбор клиента"===x.capitalization?"Это причисление процентов к основной сумме вклада с определенной периодичностью — ежедневно, ежемесячно, ежеквартально или ежегодно. <br />С каждой капитализацией сумма вклада увеличивается: на проценты тоже начисляется доход, и это дает накопительный эффект \xabсложного процента\xbb. Капитализация бывает не по всем вкладам. <br />Существуют вклады, где клиент может самостоятельно выбрать: прибавлять начисленные проценты к вкладу или получать доход на отдельный счет.":"Обычно начисление процентов по вкладу происходит один раз, в конце срока действия вклада. <br />У вкладов с капитализацией проценты начисляются в течение срока действия вклада, например, раз в месяц, раз в год и т.п. Начисленные проценты прибавляются к вкладу и общий доход от вклада увеличивается.",attributeComment:D("INTEREST_PAYMENTS_METHOD"),excluded:!1},{label:"Льготное расторжение",value:x.preferentialTermination,toolltip:"счет"===b?"Закрытие счета не в дату выплаты процентов — по ставке, действующей на дату закрытия":"Возможность досрочно закрыть вклад, при этом, не потерять часть накопленных %",valueDescription:x.preferentialTerminationDesc,attributeComment:D("EARLY_TERMINATION"),excluded:!1},{label:"Период пополнения",value:x.replenishmentPeriod,excluded:!(_&&f&&x.replenishmentPeriod)},{label:"Минимальная сумма пополнения",value:x.minAmount&&"".concat((0,o.jq)(x.minAmount)," ₽"),excluded:!(_&&f&&x.minAmount)},...h&&!v?C:[],...k?A:[]].filter(e=>!e.excluded)}},21260:(e,t,i)=>{"use strict";i.d(t,{k:()=>n});var a=i(12115);let n=e=>{let[t,i]=(0,a.useState)(null);return{isBroken:!e||e===t,handleError:()=>i(null!=e?e:null)}}},28822:e=>{e.exports={hidden:"DepositDetailList_hidden__KV_vO",descriptionTitle:"DepositDetailList_descriptionTitle__IAYze",descriptionText:"DepositDetailList_descriptionText__8ipdy",descriptionTextAbout:"DepositDetailList_descriptionTextAbout__i_mOJ",descriptionLink:"DepositDetailList_descriptionLink__wgpdK",descriptionArrow:"DepositDetailList_descriptionArrow__HzBGo",question:"DepositDetailList_question__g3SOB",questionButton:"DepositDetailList_questionButton__CKVDO",questionIcon:"DepositDetailList_questionIcon__XszA8",questionIconOpened:"DepositDetailList_questionIconOpened__ywzhr",questionContent:"DepositDetailList_questionContent__mYW5B",questionContainer:"DepositDetailList_questionContainer__69HGM",questionContainerOpen:"DepositDetailList_questionContainerOpen__PocAN",rowItem:"DepositDetailList_rowItem__XrN6j",links:"DepositDetailList_links__aB_YJ",link:"DepositDetailList_link__p7LjO"}},30051:e=>{e.exports={linkWrapper:"CheckFullInfoLink_linkWrapper__8Ft0B",width:"CheckFullInfoLink_width__UQCKE",padding:"CheckFullInfoLink_padding__igPaU",link:"CheckFullInfoLink_link__VaFXA",icon:"CheckFullInfoLink_icon__n4rol",light:"CheckFullInfoLink_light__XIqI2"}},34106:(e,t,i)=>{"use strict";i.d(t,{e:()=>p});var a,n,l=i(95155),o=i(2821),r=i(52619),s=i.n(r),c=i(12115);function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var a in i)({}).hasOwnProperty.call(i,a)&&(e[a]=i[a])}return e}).apply(null,arguments)}let d=function(e){return c.createElement("svg",u({width:25,height:24,viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),a||(a=c.createElement("rect",{x:.5,width:24,height:24,rx:12,fill:"#F3F4F6"})),n||(n=c.createElement("path",{d:"m15.024 10.152-4.888-1.31a.667.667 0 0 1 .345-1.287l6.44 1.725a.667.667 0 0 1 .471.816l-1.725 6.44a.667.667 0 0 1-1.288-.345l1.31-4.887-6.771 3.914a.666.666 0 0 1-.914-.245.666.666 0 0 1 .245-.914l6.775-3.907Z",fill:"#525BBB"})))};var m=i(30051),_=i.n(m);let p=(0,c.memo)(e=>{let{onClick:t,text:i,href:a,target:n,iconColor:r,offPadding:u,widthMaxContent:m,className:p}=e,v=(0,c.useCallback)(e=>a?(0,l.jsx)(s(),{onClick:e.onClick,href:a,target:n,...e}):(0,l.jsx)("button",{onClick:e.onClick,...e}),[a,n]);return(0,l.jsx)("div",{className:(0,o.A)(_().linkWrapper,{[_().padding]:!u,[_().width]:m},p),"data-testid":"check-full-info-link",children:(0,l.jsxs)(v,{onClick:t,className:_().link,children:[i,(0,l.jsx)(d,{className:(0,o.A)(_().icon,{[_().light]:"light"===r})})]})})});p.displayName="CheckFullInfoLink"},35989:(e,t,i)=>{"use strict";i.d(t,{U:()=>a});let a=e=>{let t=100,i=5e7;switch(e){case 1:t=1e3,i=5e7;break;case 4:i=5e6;break;case 6:i=5e5}return{from:t,to:i}}},48343:e=>{e.exports={wrapper:"DepositDetailChart_wrapper__GOWVj",chart:"DepositDetailChart_chart__Im8_w",chartValues:"DepositDetailChart_chartValues__9FWkP",chartResult:"DepositDetailChart_chartResult__ao17H",legend:"DepositDetailChart_legend__zWzbi",legendItem:"DepositDetailChart_legendItem__RuoKF",legendColor:"DepositDetailChart_legendColor__hd1uZ",legendTitle:"DepositDetailChart_legendTitle__sh_nn",legendValue:"DepositDetailChart_legendValue__ldDYv"}},51741:(e,t,i)=>{"use strict";i.d(t,{D:()=>n,E:()=>a});var a=function(e){return e.conditions="conditions",e.about="about",e.questions="questions",e.tarifs="tarifs",e.offers="offers",e}({});let n=[{id:1,label:"Условия",name:"conditions"},{id:4,label:"Тарифы",name:"tarifs"},{id:2,label:"О банке",name:"about"},{id:3,label:"Вопросы и ответы",name:"questions"},{id:5,label:"Другие предложения",name:"offers"}]},54491:e=>{e.exports={action:"DepositDetailAction_action__uq_W_",icon:"DepositDetailAction_icon__2EZ7d"}},56764:(e,t,i)=>{"use strict";i.d(t,{A:()=>a});let a={src:"/deposits/_next/static/media/chart.daf7390a.svg",height:48,width:48,blurWidth:0,blurHeight:0}},58924:(e,t,i)=>{"use strict";i.d(t,{C1:()=>a,xU:()=>n});let a=i(95704).env.NEXT_PUBLIC_BASE_URL||"https://finuslugi.ru",n=["sberbank","vtb","sovcombank","rosselhozbank","gazprombank","alfabank","promsvyazbank","tbank","mkb","pochta_bank"]},60497:(e,t,i)=>{"use strict";i.d(t,{A:()=>a});let a={src:"/deposits/_next/static/media/like.cbfb0fe7.svg",height:16,width:16,blurWidth:0,blurHeight:0}},63031:e=>{e.exports={container:"TextOverflow_container__5IiXl",containerOverflow:"TextOverflow_containerOverflow__DgbX6",containerOpen:"TextOverflow_containerOpen__kA_JK",button:"TextOverflow_button__y5lCH"}},68551:e=>{e.exports={valueText:"RowItem_valueText__LXpQ7",row:"RowItem_row__vgB3X",listItem:"RowItem_listItem__eNlXk",mediumRow:"RowItem_mediumRow__vU0sj",rowLabel:"RowItem_rowLabel__O_g3i",tooltip:"RowItem_tooltip__A1WaC",iconTooltip:"RowItem_iconTooltip__wiKEA",rowValue:"RowItem_rowValue__5_W1S",linkValue:"RowItem_linkValue__Metgd",labelText:"RowItem_labelText__9zSW4",attributeComment:"RowItem_attributeComment__u_JpF"}},69163:(e,t,i)=>{"use strict";i.d(t,{V:()=>c,z:()=>d});var a=i(1591),n=i(98591),l=i(35989),o=i(89910),r=i(73520);let s=Object.freeze({from:9999,to:9999999999.99}),c=function(e){var t,i;let o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e)return[];let r=(0,n.O)(e.currency_id),s=(0,l.U)(e.currency_id),c=(null!=(i=null==e||null==(t=e.interest_rate)?void 0:t.rates)?i:[]).map(e=>{var t,i;return{from:Math.floor(null!=(t=e.amount_from)?t:s.from),to:Math.floor(null!=(i=e.amount_to)?i:s.to)}}).sort((e,t)=>e.from-t.from);return c.filter((e,t)=>c.findIndex(t=>e.from===t.from)===t).map(t=>{let i=e.interest_rate.rates.filter(e=>e.amount_from===t.from),n=i.sort((e,t)=>(e.term_from||e.term_to)-(t.term_from||t.term_to)),l=Math.max(...i.map(e=>e.rate)),s=n.map((e,t)=>({id:t,value:e.rate,max:l,label:u(e.term_from,e.term_to)})),c=((e,t,i)=>{if(i){let i={preventLargeNumbers:!0,hasCurrencySymbol:!1},n=(0,a.up)(e.from,i);return e.to?"".concat(n," — ").concat((0,a.up)(e.to,i),"\xa0").concat(t.unit):"от ".concat(n,"\xa0").concat(t.unit)}return e.to?"".concat((0,a.up)(e.from,{preventLargeNumbers:!0,hasCurrencySymbol:!1})," — ").concat((0,a.up)(e.to,{preventLargeNumbers:!0,currencyCode:t.code})):"от ".concat((0,a.up)(e.from,{preventLargeNumbers:!0}))})(t,r,o);return{id:t.from,to:t.to,from:t.from,label:c,rates:s}})},u=(e,t)=>{let i=t>e?[e,t]:[e];return"".concat(!t?"от":""," ").concat(i.join(" - ")," ").concat(t?(0,r.td)(i[i.length-1],"день","дня","дней"):(0,r.td)(i[i.length-1],"дня","дней","дней"))},d=e=>{var t;if(!e)return[];let i=(null==(t=e.options)?void 0:t.filter(e=>null==e?void 0:e.active))||[];return(e=>{var t;return null==(t=e[0])?void 0:t.currencies[0].rates.map(e=>{var t,i;return{from:null!=(t=e.minimumAmount)?t:s.from,to:null!=(i=e.maximumAmount)?i:s.to}}).reduce((e,t)=>{let i=e[e.length-1];return(null==i?void 0:i.from)===t.from&&(null==i?void 0:i.to)===t.to?e:[...e,t]},[])})(i).map((e,t)=>({id:t,to:e.to,from:e.from,label:"".concat((0,o.jq)(e.from)," ").concat("— ".concat((0,o.jq)(e.to))," ₽"),rates:i.length>1?((e,t)=>(e.sort((e,i)=>{var a,n,l,o;return(null!=(l=null==(a=e.currencies[0].rates[t].maximumPeriod)?void 0:a.value)?l:0)-(null!=(o=null==(n=i.currencies[0].rates[t].maximumPeriod)?void 0:n.value)?o:0)}),e.map((e,i)=>{var a,n,l;let o="дн.";return(null==(a=e.currencies[0].rates[t].maximumPeriod)?void 0:a.type)==="MONTH"&&(o="мес."),(null==(n=e.currencies[0].rates[t].maximumPeriod)?void 0:n.type)==="YEAR"&&(o="г."),{id:i,value:null!=(l=e.currencies[0].rates[t].maximumRate)?l:"",max:16,label:((e,t,i)=>{var a,n,l,o,r,s,c;return"".concat(null!=(s=null==(a=e.currencies[0].rates[i].minimumPeriod)?void 0:a.value)?s:1," ").concat((null==(n=e.currencies[0].rates[i].minimumPeriod)?void 0:n.value)===(null==(l=e.currencies[0].rates[i].maximumPeriod)?void 0:l.value)||(null==(o=e.currencies[0].rates[i].maximumPeriod)?void 0:o.value)===0?"":" - ".concat(null!=(c=null==(r=e.currencies[0].rates[i].maximumPeriod)?void 0:r.value)?c:"")," ").concat(t)})(e,o,t)}})))(i,t):(e=>{var t;return null==(t=e[0])?void 0:t.currencies[0].rates.map((e,t)=>{var i,a,n;let l="дн.";return(null==(i=e.maximumPeriod)?void 0:i.type)==="MONTH"&&(l="мес."),(null==(a=e.maximumPeriod)?void 0:a.type)==="YEAR"&&(l="г."),{id:t,value:null!=(n=e.maximumRate)?n:"",max:16,label:((e,t)=>{var i,a,n,l,o,r,s;return"".concat(null!=(r=null==(i=e.minimumPeriod)?void 0:i.value)?r:1," ").concat((null==(a=e.minimumPeriod)?void 0:a.value)===(null==(n=e.maximumPeriod)?void 0:n.value)||(null==(l=e.maximumPeriod)?void 0:l.value)===0?"":" - ".concat(null!=(s=null==(o=e.maximumPeriod)?void 0:o.value)?s:"")," ").concat(t)})(e,l)}})})(i)}))}},69597:(e,t,i)=>{"use strict";i.d(t,{d:()=>d});var a=i(95155),n=i(76048),l=i(53548),o=i(2821),r=i(12115),s=i(54319),c=i(75355),u=i.n(c);let d=e=>{let{isOpen:t,className:i,direction:c="vertical",style:d={},scrollTo:m,isMobile:_,isMoreVisible:p=!1,isAnimationDisabled:v=!1,onOpen:h,...b}=e,f=(0,r.useRef)(()=>null),x=(0,r.useRef)(null),[D,g]=(0,r.useState)(t?"auto":0),[k,C]=(0,r.useState)(null),[A,w]=(0,r.useState)(!0);return(0,r.useEffect)(()=>{if(x.current&&clearTimeout(x.current),f.current&&window&&window.removeEventListener("resize",f.current),f.current=()=>{t&&k?(g("vertical"===c?k.scrollHeight:k.scrollWidth),x.current=setTimeout(()=>{w(!1)},300)):t||(w(!0),x.current=setTimeout(()=>{g(0)}))},f.current(),m&&t&&k&&(0,s.e)(k,{offset:64,position:"bottom"}),window)return window.addEventListener("resize",f.current),()=>window.removeEventListener("resize",f.current)},[c,k,t,m]),(0,a.jsxs)("div",{className:(0,o.A)(u().wrapper,v&&u().disableAnimation),children:[(0,a.jsx)("div",{role:"collapse-container",ref:C,className:(0,o.A)(u().container,(A||!t)&&u().containerHidden,i),style:{...d,["vertical"===c?"height":"width"]:!A&&t?"auto":D},"data-testid":"collapse-container",...b}),p&&_&&(0,a.jsx)(l.Button,{className:u().button,label:t?"Свернуть":"Подробнее",onClick:h,size:"xs",variant:"secondary",iconRight:(0,a.jsx)(n.j8g,{className:(0,o.A)(u().icon,t&&u().expanded)}),stretch:!0})]})}},73665:(e,t,i)=>{"use strict";i.d(t,{A:()=>a});let a={src:"/deposits/_next/static/media/share.eccc37fd.svg",height:16,width:16,blurWidth:0,blurHeight:0}},75355:e=>{e.exports={wrapper:"CollapseContainer_wrapper__STKqz",container:"CollapseContainer_container__Em2u9",containerHidden:"CollapseContainer_containerHidden__AFhLa",disableAnimation:"CollapseContainer_disableAnimation__bHHyL",icon:"CollapseContainer_icon__2EAe0",expanded:"CollapseContainer_expanded__qF596",button:"CollapseContainer_button__acaCR"}},75839:(e,t,i)=>{"use strict";i.d(t,{I:()=>a});let a=e=>"number"==typeof e?"".concat(e," место"):""},76608:e=>{e.exports={bankInformation:"BankInfo_bankInformation__ORnx7",bankInformationContent:"BankInfo_bankInformationContent__ycvd6",header:"BankInfo_header__2_UU9",logoWrapper:"BankInfo_logoWrapper__P7Ejz",icon:"BankInfo_icon__9FOay",bankTitle:"BankInfo_bankTitle__5vWcy",bankText:"BankInfo_bankText___Tgya",bankLink:"BankInfo_bankLink__TNXvu"}},76911:e=>{e.exports={container:"DepositDetailParams_container__1sIcd",isCollapsed:"DepositDetailParams_isCollapsed__fpQlx",combo:"DepositDetailParams_combo__K9R6y",title:"DepositDetailParams_title__5NvXj",wrapper:"DepositDetailParams_wrapper__G1SSB",fullWidth:"DepositDetailParams_fullWidth__Win5f",rates:"DepositDetailParams_rates__Ba8PO",disclaimer:"DepositDetailParams_disclaimer__5c3KT",chips:"DepositDetailParams_chips__yOSsp",ratesTitle:"DepositDetailParams_ratesTitle__D4N3F",infographic:"DepositDetailParams_infographic__bKLPO",tabContent:"DepositDetailParams_tabContent__y1Gbk",desktop:"DepositDetailParams_desktop__qtA2T",mobile:"DepositDetailParams_mobile__rsgnB",question:"DepositDetailParams_question__YQHhn",questionButton:"DepositDetailParams_questionButton__1A_ef",questionIcon:"DepositDetailParams_questionIcon__0r7x4",questionIconOpened:"DepositDetailParams_questionIconOpened__NxgSF",questionContent:"DepositDetailParams_questionContent__fFJ50",questionContainer:"DepositDetailParams_questionContainer___raeq",questionContainerOpen:"DepositDetailParams_questionContainerOpen__yWWxi",descriptionTitle:"DepositDetailParams_descriptionTitle__ff22s",descriptionText:"DepositDetailParams_descriptionText__GqlFn",descriptionTextAbout:"DepositDetailParams_descriptionTextAbout__VRaQv",descriptionLink:"DepositDetailParams_descriptionLink__Rwu09",descriptionArrow:"DepositDetailParams_descriptionArrow__Hkxh0",ad:"DepositDetailParams_ad__7i_Kk",inviteFriends:"DepositDetailParams_inviteFriends__HqPwt",list:"DepositDetailParams_list__S7rpZ",hidden:"DepositDetailParams_hidden__DQgId",bankInformation:"DepositDetailParams_bankInformation__veFcw",bankInformationContent:"DepositDetailParams_bankInformationContent__5K4lu",header:"DepositDetailParams_header__Kp1Cm",logoWrapper:"DepositDetailParams_logoWrapper__04Aa1",icon:"DepositDetailParams_icon__iskGi",bankTitle:"DepositDetailParams_bankTitle__zh6TZ",bankText:"DepositDetailParams_bankText__pcW6F",bankLink:"DepositDetailParams_bankLink__5Ei4o",rowItem:"DepositDetailParams_rowItem__F2PAS",collapseButton:"DepositDetailParams_collapseButton__6UK5x",collapseArrow:"DepositDetailParams_collapseArrow__VQ_kb",inverted:"DepositDetailParams_inverted__icISO"}},79131:e=>{e.exports={ratesTable:"DetailCollapseContent_ratesTable__r8VIC",progress:"DetailCollapseContent_progress__dsqce"}},79762:(e,t,i)=>{"use strict";i.d(t,{A:()=>a});let a={src:"/deposits/_next/static/media/add-to-list.4c5b9b95.svg",height:16,width:16,blurWidth:0,blurHeight:0}},84663:(e,t,i)=>{"use strict";i.d(t,{e:()=>ee});var a=i(95155),n=i(95633),l=i(2821),o=i(15239),r=i(12115),s=i(99795),c=i(4678),u=i(1591),d=i(83745),m=i(76720),_=i(69465),p=i(69597),v=i(20447),h=i(94370),b=i(98742),f=i(99508),x=i.n(f);let D=e=>{let{isOpenModal:t,title:i,content:n,onClose:o,isMobile:r,isCombo:s}=e,c={className:x().mobilePopup,contentClassName:(0,l.A)(s&&!r&&x().combo),isOpen:t,onClose:o};return(0,a.jsx)(h.Z,{children:(e=>s&&!r?(0,a.jsx)(b._s,{...c,children:e}):(0,a.jsx)(b.LV,{...c,children:e}))((0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("h3",{className:x().title,children:i}),(0,a.jsx)("div",{children:n})]}))})};var g=i(660),k=i.n(g);let C=(0,r.memo)(e=>{let{tabsList:t,getActiveElementClick:i,iconArrow:n}=e;return(0,a.jsx)("ul",{className:k().tabsList,children:t.map(e=>(0,a.jsxs)("li",{className:k().tabItem,onClick:()=>i(e.id),children:[e.label,(0,a.jsx)(o.default,{src:n,alt:"иконка",width:"16",height:"16",unoptimized:!0})]},e.id))})});C.displayName="MobileTabs";var A=i(51741),w=i(76911),j=i.n(w),T=i(69163),N=i(19559),I=i(40599),L=i(79131),y=i.n(L);function P(e){var t,i;let n,{isMkbNakop:o,isMobile:s,activeTab:c,wrapperClassName:h,tabsList:b,setActiveTab:f,isCollapsed:x,eventCategory:g,data:k,getListContent:w,iconArrow:L,bettingTableTitle:P,amount:E,isOpenQuestion:O,activeQuestionIndex:S,questions:q,isCombo:R,offers:M,eventNameCard:F,eventUrl:H}=e,W=(0,r.useMemo)(()=>(0,T.V)(k),[k]),[B,z]=(0,r.useState)(!1),[V,U]=(0,r.useState)(W[0]),Q=b.filter(e=>e.name!==A.E.offers||(null==M?void 0:M.length));(0,r.useEffect)(()=>{let e=W.find(e=>e.from<=E&&null!==e.to&&e.to>=E);e&&U(e)},[W,E]);let G=(0,r.useCallback)(e=>{let t=W.find(t=>{let{id:i}=t;return i===e});if(t){let e=(0,I.y)(t.label);U(t),(0,N.oA)({event:"data-event",eventAction:"click_chips_parameters_".concat(e),eventCategory:g,eventLabel:k.id})}},[k.id,g,W]),K=e=>{var t;let i=null!=(t=Q.find(t=>t.id===e))?t:Q[0];f(i);let a=(0,I.y)(i.label);(0,N.oA)({event:"data-event",eventAction:"click_tab_parametry-vklady",eventCategory:g,eventLabel:a,eventNameCard:F,eventUrl:H}),(s||R)&&z(!0)},Y=(0,r.useCallback)(()=>{(0,N.oA)({eventAction:"click__icon__close__"+(0,I.y)(c.label),eventCategory:g,eventLabel:k.id}),z(!1)},[c,k.id,g]),{FEATURE_TOGGLE_DEPOSIT_DETAIL_NEW_DESIGN_ENABLED:X}=v.q;return(0,a.jsxs)(p.d,{isOpen:!x,children:[(0,a.jsxs)("div",{className:(0,l.A)(j().wrapper,o&&c.name!==A.E.questions&&j().fullWidth,h),children:[(0,a.jsxs)("div",{className:j().desktop,children:[(0,a.jsx)(m.t,{tabs:Q,activeTabId:c.id,onTabChange:K,className:j().tabsList}),(0,a.jsx)("div",{className:j().tabContent,children:Q.map(e=>{let{name:t}=e;return w(t,M)})})]}),(0,a.jsxs)("div",{className:j().mobile,children:[(0,a.jsx)(C,{tabsList:Q,getActiveElementClick:K,iconArrow:L}),(0,a.jsx)(D,{title:c.label,content:w(c.name,M),isOpenModal:B,isMobile:s,isCombo:R,onClose:Y})]}),(c.name===A.E.conditions||!s)&&(0,a.jsxs)("div",{className:j().rates,children:[!o&&W.length>0&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("h4",{className:j().ratesTitle,children:P}),(0,a.jsx)(d.C,{className:j().chips,chips:W,value:V.id,onChipClick:G,size:X?"s":"m"}),(0,a.jsx)("table",{className:y().ratesTable,children:(0,a.jsx)("tbody",{children:V.rates.map(e=>(0,a.jsxs)("tr",{children:[(0,a.jsxs)("td",{children:[(0,a.jsx)("div",{className:y().progress,style:{width:"".concat(100*Number(e.value)/e.max,"%")}}),(0,a.jsx)(_.E,{weight:"medium",children:(0,u.CE)(e.value)})]}),(0,a.jsx)("td",{children:(0,a.jsx)(_.E,{weight:"medium",children:e.label})})]},e.id))})})]}),!R&&!s&&-1!==S&&(0,a.jsx)("div",{className:(0,l.A)(j().questionContainer,O&&j().questionContainerOpen),children:(n=q[S],(0,a.jsx)("div",{className:j().questionContent,children:n.text.map((e,t)=>({...e,id:t})).map(e=>(0,a.jsx)("span",{dangerouslySetInnerHTML:{__html:e.data.html}},e.id))}))})]})]}),k.m_updated_at&&(0,a.jsxs)("p",{className:j().disclaimer,children:["Информация о вкладе обновлена: ",null==(i=k.m_updated_at.split("-"))||null==(t=i.reverse())?void 0:t.join(".")]})]})}var E=i(42195),O=i(63031),S=i.n(O);let q=e=>{let{maxHeight:t=300,className:i,style:n,children:o,...s}=e,[c,u]=(0,r.useState)(t),[d,m]=(0,r.useState)(!1),_=(0,r.useRef)(null);return(0,r.useEffect)(()=>{let e=()=>{_.current&&_.current.scrollHeight>t&&m(!0)};return e(),window&&window.addEventListener("resize",e),window.removeEventListener("resize",e)},[t]),(0,a.jsxs)("div",{...s,ref:_,className:(0,l.A)(S().container,{[S().containerOverflow]:d,[S().containerOpen]:d&&c===t},i),style:{height:d?c:"auto",...n},children:[o,d&&(0,a.jsx)("button",{className:S().button,onClick:()=>{u(e=>e===t?"auto":t)},children:c===t?"Показать ещё":"Скрыть"})]})};var R=i(41105),M=i(68551),F=i.n(M);let H=e=>{let{text:t,title:i}=e;return(0,a.jsxs)(q,{className:F().valueText,children:[i&&(0,a.jsx)("p",{dangerouslySetInnerHTML:{__html:i}}),t&&(0,a.jsx)("span",{dangerouslySetInnerHTML:{__html:t}})]})},W=e=>{var t,i,n;let{size:o="m",containerClassName:s,onTooltipClick:c,tipIcon:u,...d}=e,m=Array.isArray(d.value)?d.value.filter(e=>"string"==typeof e&&e.length):[],_=d.value?Array.isArray(d.value)?d.value.filter(e=>"object"==typeof e&&e):[d.value].filter(e=>{var t,i;return"object"==typeof e&&e&&((null==(t=e.text)?void 0:t.length)||(null==(i=e.title)?void 0:i.length))}):null;return("string"==typeof d.value?d.value.length:m.length||(null==_?void 0:_.length))?(0,a.jsxs)("li",{className:(0,l.A)(F().row,{[F().mediumRow]:"m"===o},s),children:[(null==(t=d.label)?void 0:t.length)?(0,a.jsx)("div",{className:F().rowLabel,children:(null==(i=d.toolltip)?void 0:i.length)?(0,a.jsx)(R.Y,{text:(0,a.jsx)("span",{dangerouslySetInnerHTML:{__html:d.toolltip}}),iconClassName:F().iconTooltip,tooltipClassName:F().tooltip,className:F().tooltipContent,onOpen:()=>null==c?void 0:c(d.label,d.value),icon:u,children:d.label},d.label):(0,a.jsx)(q,{className:F().valueText,children:(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:d.label.charAt(0).toUpperCase()+d.label.slice(1)}})})}):null,(0,a.jsxs)("div",{className:F().rowValue,children:["string"==typeof d.value&&d.value.length>0&&(0,a.jsx)(q,{className:(0,l.A)(F().valueText,{[F().linkValue]:(e=>!!(e.includes("https://")&&e.includes("</a>")))(d.value)}),children:(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:d.value}})}),m.length&&m.length>1?(0,a.jsx)("ul",{children:m.map(e=>e&&(0,a.jsx)("li",{className:F().listItem,children:(0,a.jsx)(q,{children:(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:e}})})},e))}):(null==(n=m[0])?void 0:n.length)?(0,a.jsx)(q,{className:F().valueText,children:(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:m[0]}})}):null,_&&!!_.length&&(0,a.jsx)("ul",{children:_.map(e=>e&&(0,a.jsx)(r.Fragment,{children:(0,a.jsx)(H,{...e})},e.title||e.text))}),d.attributeComment&&(0,a.jsx)("div",{className:F().attributeComment,dangerouslySetInnerHTML:{__html:d.attributeComment}})]})]},d.text||d.label||JSON.stringify(d.value)):null};var B=i(34106),z=i(89264),V=i(58924),U=i(21260),Q=i(76608),G=i.n(Q);function K(e){var t,i;let{company:n,hideExternalLinks:l,isMobile:r,handleClickLink:s}=e,c=!l&&!!n.url,u=(0,U.k)(n.logo_mob);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:G().bankInformation,children:(0,a.jsxs)("div",{className:G().bankInformationContent,children:[(0,a.jsxs)("div",{className:G().header,children:[!u.isBroken&&(0,a.jsx)("div",{className:G().logoWrapper,children:(0,a.jsx)(o.default,{className:G().icon,src:null!=(t=n.logo_mob)?t:"",width:r?24:32,height:r?24:32,alt:"logo bank",onError:u.handleError})}),(0,a.jsx)("h5",{className:G().bankTitle,children:n.name})]}),(0,a.jsx)("div",{className:G().bankText,dangerouslySetInnerHTML:{__html:null!=(i=n.short_description)?i:""}})]})}),c&&(0,a.jsx)(B.e,{offPadding:!0,className:G().bankLink,text:"Перейти к полному досье",href:"".concat(V.C1,"/banki/").concat(n.url),target:"_self",iconColor:"light",mainPageUrl:z.UZ.VKLADY,onClick:s})]})}var Y=i(28822),X=i.n(Y);function Z(e){var t;let{tabsContent:i,name:n,activeTab:s,activeQuestionIndex:c,isMobile:u,eventCategory:d,handleSetQuestion:m,tipIcon:_,setIsOpenQuestion:p,setActiveQuestionIndex:h,hideExternalLinks:b,company:f,iconArrow:x,isCombo:g,offers:k=[],eventNameCard:C,eventUrl:w}=e,j=(0,r.useCallback)((e,t)=>{e&&"string"==typeof t&&(0,N.oA)({eventCategory:d,eventAction:"click_tooltip",eventLabel:"".concat((0,I.y)(e),"_on"),eventNameCard:C,eventUrl:w})},[d,C,w]),T=(0,r.useCallback)(()=>{(0,N.oA)({eventAction:"click_link_pereyti_k_polnomu_dose",eventCategory:d,eventNameCard:C,eventUrl:w})},[d,C,w]);return A.E.questions===n?(0,a.jsx)("ul",{className:n!==s.name?X().hidden:void 0,children:i.questions.map((e,t)=>{let i=c===t;return(0,a.jsxs)("li",{className:X().question,children:[(0,a.jsxs)("button",{onClick:()=>m(t,e.label),className:X().questionButton,children:[(0,a.jsx)("span",{children:e.label}),(0,a.jsx)(o.default,{className:(0,l.A)(X().questionIcon,i&&X().questionIconOpened),src:x,alt:"arrow"})]}),(u||g)&&Array.isArray(e.value)&&(0,a.jsx)(D,{title:e.label,isCombo:g,isMobile:u,content:(0,a.jsx)("div",{className:X().questionContent,children:e.value.map(e=>"string"==typeof e&&(0,a.jsx)("span",{dangerouslySetInnerHTML:{__html:e}},e))}),isOpenModal:i,onClose:()=>{p(!1),h(-1)}})]},e.label)})},n):A.E.offers===n?(0,a.jsx)("ul",{className:(0,l.A)(X().links,n!==s.name&&X().hidden),children:k.map(e=>(0,a.jsx)("li",{className:X().link,children:(0,a.jsxs)(E.N,{href:"".concat(v.q.BASE_URL,"/vklady/").concat(e.internalUrl),target:"_blank",children:["Вклад \xab",e.name,"\xbb"]})},e.internalUrl))}):(0,a.jsxs)("ul",{className:n!==s.name?X().hidden:void 0,children:[null==(t=i[n])?void 0:t.map((e,t)=>e.value?e.isComment?(0,a.jsx)("div",{className:X().descriptionText,dangerouslySetInnerHTML:{__html:String(e.value)}},"comment-".concat(t)):(0,a.jsx)(W,{size:"l",...e,containerClassName:X().rowItem,onTooltipClick:j,tipIcon:_},e.label):null),s.name===A.E.about&&f&&(0,a.jsx)(K,{hideExternalLinks:b,company:f,isMobile:u,handleClickLink:T})]},n)}var J=i(75839),$=i(19680);let ee=(0,r.memo)(e=>{let{className:t,data:i,questions:u,isMobile:d,company:m,amount:_,extraInfo:p,wrapperClassName:v,isCollapsible:h=!1,optionId:b,title:f="Параметры ".concat(i.type.saving_account?"счета":"вклада"),tipIcon:x,bettingTableTitle:D="Таблица ставок",hideExternalLinks:g=!1,iconArrow:k=s.A,eventCategory:C,isCombo:w,customTabs:T,offers:L,isPlatform:y=!1,eventNameCard:E,eventUrl:O}=e,[S,q]=(0,r.useState)(A.D[0]),[R,M]=(0,r.useState)(!!w),[F,H]=(0,r.useState)(-1),[W,B]=(0,r.useState)(!1),{tabsContent:z,tabsList:V}=(e=>{let{data:t,company:i,questions:a,extraInfo:n,optionId:l,customTabs:o}=e,[s,c]=(0,r.useState)(A.D),u=(0,r.useMemo)(()=>t?o?o.tabsContent:((e,t,i,a,n)=>{var l;return{conditions:(0,$.R)(e,n),about:t&&[{label:"Входит в систему страхования вкладов",value:"Да"},{label:"По объему вкладов",value:(0,J.I)(t.deposit_rating)},{label:"По объему чистых активов",value:t.ratings?"".concat(t.ratings.net_assets_place," место"):"-"},{label:"По объему чистой прибыли",value:(0,J.I)(t.net_profit_rating)},...t.license?[{label:"Лицензия",value:"№ ".concat(t.license)}]:[]]||[],questions:i.map(e=>({id:e.id,label:e.title,value:e.text.map(e=>e.data.html)}))||[],tarifs:null!=(l=a.tarifs)?l:[],offers:[]}})(t,i,a,n,l):{[A.E.conditions]:[],[A.E.about]:[],[A.E.questions]:[],[A.E.tarifs]:[],[A.E.offers]:[]},[t,o,i,a,n,l]);return(0,r.useEffect)(()=>{if(o)return c(o.tabsList);let e=[];i||e.push(A.E.about),n.tarifs||e.push(A.E.tarifs),c(A.D.filter(t=>!e.includes(t.name)))},[u,i,n.tarifs,o]),{tabsContent:u,tabsList:s}})({data:i,company:m,questions:u,extraInfo:p,optionId:b,customTabs:T}),U=(0,r.useCallback)((e,t)=>(e=>{let{activeQuestionIndex:t,eventCategory:i,eventNameCard:a,eventUrl:n,index:l,isMobile:o,label:r,setActiveQuestionIndex:s,setIsOpenQuestion:c}=e,u=t===l;if(r&&(0,N.oA)({eventAction:"click_dropdown_".concat((0,I.y)(r)),eventCategory:i,eventNameCard:a,eventUrl:n,eventLabel:u?"off":"on"}),o){c(!u),s(u?-1:l);return}u?(c(!1),setTimeout(()=>{s(-1)},300)):(s(l),setTimeout(()=>{c(!0)}))})({activeQuestionIndex:F,eventCategory:C,eventNameCard:E,eventUrl:O,index:e,isMobile:d,label:t,setActiveQuestionIndex:H,setIsOpenQuestion:B}),[F,C,E,O,d]);(0,r.useEffect)(()=>{(window.requestIdleCallback||(e=>{let t=Date.now();return setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)}))(()=>q(A.D[0]))},[]),(0,r.useEffect)(()=>{S.name!==A.E.questions&&-1!==F&&U(F)},[F,S,U]);let Q=(0,r.useCallback)((e,t)=>(0,a.jsx)(Z,{name:e,tabsContent:z,activeTab:S,activeQuestionIndex:F,data:i,isMobile:d,eventCategory:C,handleSetQuestion:U,tipIcon:x,setIsOpenQuestion:B,setActiveQuestionIndex:H,company:m,hideExternalLinks:g,iconArrow:k,isCombo:w,offers:t,eventNameCard:E,eventUrl:O},e),[z,S,F,i,d,C,U,x,m,g,k,w,E,O]);return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)(n.m,{className:(0,l.A)(j().container,R&&j().isCollapsed,w&&j().combo,t),id:c.Hr,children:[(0,a.jsxs)("button",{onClick:function(){M(e=>((0,N.oA)({eventAction:"click_dropdown_parametry-vklada",eventCategory:C,eventNameCard:E,eventUrl:O,eventLabel:e?"off":"on"}),!e))},className:j().collapseButton,disabled:!h,children:[(0,a.jsx)("h2",{className:j().title,children:f}),h&&(0,a.jsx)(o.default,{className:(0,l.A)(j().collapseArrow,R&&j().inverted),src:k,alt:"arrow"})]}),(0,a.jsx)(P,{isMkbNakop:i.asSavingAccount&&y,isMobile:d,activeTab:S,wrapperClassName:v,tabsList:V,setActiveTab:q,isCollapsed:R,eventCategory:C,data:i,getListContent:Q,iconArrow:k,bettingTableTitle:D,amount:_,isOpenQuestion:W,activeQuestionIndex:F,questions:u,isCombo:w,offers:L,eventNameCard:E,eventUrl:O})]})})});ee.displayName="DepositDetailParams"},89264:(e,t,i)=>{"use strict";i.d(t,{Js:()=>a,UZ:()=>n});let a=["utm_campaign","utm_term","utm_content","agent_id","utm_medium","utm_source"];var n=function(e){return e.VKLADY="vklady",e.VKLADY_TAGS="vklady_tags",e.DEPOSITS_ADVANTAGES="deposits_advantages",e.DEPOSITS_DETAIL="deposit_detail",e.SAVING_PRODUCT_CONTINUING_PAGE="saving-product-continuing-page",e}({})},91406:(e,t,i)=>{"use strict";i.d(t,{O:()=>f});var a=i(95155),n=i(2821),l=i(15239),o=i(52619),r=i.n(o),s=i(79762),c=i(99795),u=i(97069),d=i(56764),m=i(60497),_=i(73665),p=i(1421);let v={[p.Q.addToList]:s.A,[p.Q.like]:m.A,[p.Q.share]:_.A,[p.Q.chart]:d.A,[p.Q.arrow]:c.A,[p.Q.arrowBack]:u.A};var h=i(54491),b=i.n(h);let f=e=>{let{icon:t,alt:i,iconClassName:o,className:s,href:c,name:u,onClick:d,...m}=e,_=(0,a.jsx)(l.default,{className:(0,n.A)(b().icon,o),src:v[t],alt:i,unoptimized:!0}),p=(0,n.A)(b().action,s),h=()=>null==d?void 0:d(u);return c?(0,a.jsx)(r(),{className:p,href:c,onClick:h,...m,children:_}):(0,a.jsx)("button",{className:p,onClick:h,...m,"data-testid":"deposit-detail-chart-button",children:_})}},93757:(e,t,i)=>{"use strict";i.d(t,{_:()=>o,y:()=>l});var a=i(19559),n=i(40599),l=function(e){return e.link="link",e.button="button",e.popup="popup",e.filterCatalog="filter_catalog",e.utm="utm",e}({});let o=e=>{let{eventCategory:t,eventAction:i,eventActionText:l="",eventLabel:o,eventValue:r,url:s}=e,c="boolean"==typeof r?r?"on":"off":r,u="filter_catalog"!==i?/[а-я]/i.test(l.toLowerCase()):"string"!=typeof o||/[а-я]/i.test(o.toLowerCase()),d="filter_catalog"!==i?{event:"data-event",eventCategory:t,eventAction:({link:"click_link",button:"click_button_",popup:"show_pop_up_",utm:"save_utm"})[i]+(u?l:(0,n.y)(l)),eventLabel:o,eventValue:c,url:s}:{event:"data-event",eventAction:t,eventCategory:i,eventLabel:"string"==typeof o?u?o:(0,n.y)(o):o,eventValue:c,url:s};(0,a.oA)(d)}},97069:(e,t,i)=>{"use strict";i.d(t,{A:()=>a});let a={src:"/deposits/_next/static/media/arrow-back.09de234e.svg",height:24,width:24,blurWidth:0,blurHeight:0}},99508:e=>{e.exports={mobilePopup:"MobileContentModal_mobilePopup__NUFzh",title:"MobileContentModal_title__LHGoo",combo:"MobileContentModal_combo__FXHMV"}},99778:(e,t,i)=>{"use strict";i.d(t,{i:()=>u});var a=i(95155),n=i(2821),l=i(12115),o=i(98742),r=i(89910),s=i(48343),c=i.n(s);let u=(0,l.memo)(e=>{let{className:t,sum:i,profit:l,bonus:s,isMobile:u}=e,d=[{value:i,color:"#FFE576",title:"Сумма вклада"},{value:l,color:"#5BCE95",title:"Доход от банка"}];s>0&&d.push({value:s,color:"#6A80EF",title:"Бонус от Финуслуг"});let m=i+l+s;return(0,a.jsxs)("div",{className:(0,n.A)(c().wrapper,t),children:[(0,a.jsx)("ul",{className:c().legend,children:d.map(e=>{let t=(0,r.jq)(e.value,2);return(0,a.jsxs)("li",{className:c().legendItem,title:"".concat(t," ₽"),children:[(0,a.jsx)("div",{style:{backgroundColor:e.color},className:c().legendColor}),(0,a.jsx)("div",{className:c().legendTitle,children:e.title}),(0,a.jsxs)("div",{className:c().legendValue,children:[t," ₽"]})]},e.color)})}),(0,a.jsxs)("div",{className:c().chart,children:[(0,a.jsx)(o.FS,{stroke:"#fff",strokeWidth:2*!!u,items:d,className:c().chartValues}),(0,a.jsxs)("div",{className:c().chartResult,children:[m>=1e6?(0,r.um)(Math.ceil(m)):(0,r.jq)(m,2)," ₽"]})]})]})});u.displayName="DepositDetailChart"},99795:(e,t,i)=>{"use strict";i.d(t,{A:()=>a});let a={src:"/deposits/_next/static/media/arrow.e5fbf461.svg",height:24,width:24,blurWidth:0,blurHeight:0}}}]);