(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2164],{2515:e=>{e.exports={button:"MainButton_button__FCI2Y",buttonLink:"MainButton_buttonLink__Xw6WW",buttonIcon:"MainButton_buttonIcon__E_yD6"}},18345:(e,t,n)=>{"use strict";n.d(t,{l:()=>u});var l=n(37876),a=n(14232),i=n(83188),r=n(87162),o=n(5153),s=n(40946),c=n(62728);let u=(0,a.memo)(e=>{var t,n,u;let{data:d,bank:p,pageUrl:m,className:_,withoutFullInfoLink:f}=e,g={logoMobile:null==p?void 0:p.logo_mob,description:null==p?void 0:p.short_description,url:"/banki/".concat(null==p?void 0:p.url),name:null==p?void 0:p.name,creditRating:null==p?void 0:p.credit_rating,netAssetsPlace:null==p||null==(t=p.ratings)?void 0:t.net_assets_place,netProfitRating:null==p?void 0:p.net_profit_rating,license:null==p?void 0:p.license,licenseDate:null!=(n=null==p?void 0:p.license_date)?n:void 0},{tabsContent:v,tabsList:h}=(e=>{let{data:t}=e,n=(0,a.useMemo)(()=>(0,o.pS)(t),[t]),l=(0,a.useMemo)(()=>s.D.filter(e=>n[e.name].some(e=>(0,c.a)(e.value))),[n]);return{tabsContent:n,tabsList:l}})({data:d});return(0,l.jsx)(i.H,{className:_,scrollBlockId:r.uB,pageUrl:m,seoText:(null==d?void 0:d.short_description)&&(null==d?void 0:d.short_description.length)>5?null==d?void 0:d.short_description:void 0,title:"О кредите",offerUpdateData:null==d?void 0:d.m_updated_at,bank:g,tabsList:h,tabsContent:v,aboutCompanyLabel:"О банке",site:null!=(u=null==p?void 0:p.site.title)?u:void 0,withoutFullInfoLink:f})});u.displayName="CreditAbout"},31339:e=>{e.exports={page:"CreditsDetail_page__xr76u",breadcrumbs:"CreditsDetail_breadcrumbs__YIK6Z",list:"CreditsDetail_list__GM2Lp",settings:"CreditsDetail_settings__yAHPK",faqSection:"CreditsDetail_faqSection__cdO8j",supportSection:"CreditsDetail_supportSection__bW6de",pickerSection:"CreditsDetail_pickerSection__hz_ol"}},32272:e=>{e.exports={title:"CreditHowApplyLoanSteps_title__2Pj7q",container:"CreditHowApplyLoanSteps_container__WOS_3",ebaniText:"CreditHowApplyLoanSteps_ebaniText__wbY2K",sliderContainer:"CreditHowApplyLoanSteps_sliderContainer__QD7FO",bannerCard:"CreditHowApplyLoanSteps_bannerCard__tec9j",badge:"CreditHowApplyLoanSteps_badge__JJpHU",text:"CreditHowApplyLoanSteps_text__F5ALs"}},32436:(e,t,n)=>{"use strict";n.d(t,{D:()=>d,Y:()=>u});var l=n(37876),a=n(49995),i=n(48230),r=n.n(i),o=n(36622),s=n.n(o);let c={PLATFORM_RULES:{url:"https://assets.finuslugi.ru/mp-assets/application-platform-rules.pdf",text:"pravilam_platformy"},APPLICATION_PLATFORM_RULES:{url:"https://assets.finuslugi.ru/mp-assets/platform-rules.pdf",text:"zayavlenie_o_prisoedinenii"},USER_AGREEMENT:{url:"https://assets.finuslugi.ru/mp-assets/user-agreement.pdf",text:"polzovatelskim_soglasheniem"},AGREEMENT_PERSONAL_DATA:{url:"https://assets.finuslugi.ru/mp-assets/agreement-personal-data.pdf",text:"soglasie_na_obrabotku_personalnyh_dannyh"}};var u=function(e){return e.blue="blue",e.grey="var(--color-black-300)",e.purple="var(--color-purple-600)",e}({});let d=e=>{let{className:t,onLinkClick:n,linkColor:i="blue",startText:o="Регистрируясь через Госуслуги"}=e;return(0,l.jsxs)("div",{style:{"--link-color":i},className:(0,a.A)(s().agreementBlock,t),children:[o,", вы подписываете своей электронной подписью"," ",(0,l.jsx)(r(),{target:"_blank",className:s().link,href:c.APPLICATION_PLATFORM_RULES.url,onClick:()=>null==n?void 0:n(c.APPLICATION_PLATFORM_RULES),children:"Заявление о присоединении"})," ","к"," ",(0,l.jsx)(r(),{target:"_blank",className:s().link,href:c.PLATFORM_RULES.url,onClick:()=>null==n?void 0:n(c.PLATFORM_RULES),children:"Правилам платформы"})," ","и"," ",(0,l.jsx)(r(),{target:"_blank",className:s().link,href:c.AGREEMENT_PERSONAL_DATA.url,onClick:()=>null==n?void 0:n(c.AGREEMENT_PERSONAL_DATA),children:"Согласие на обработку персональных данных"}),", a также соглашаетесь с"," ",(0,l.jsx)(r(),{target:"_blank",className:s().link,href:c.USER_AGREEMENT.url,onClick:()=>null==n?void 0:n(c.USER_AGREEMENT),children:"Пользовательским соглашением"})]})}},36622:e=>{e.exports={agreementBlock:"EsiaAgreement_agreementBlock__5WEss",link:"EsiaAgreement_link__NDpUV"}},39798:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__N_SSP:()=>t4,default:()=>ne});var l,a,i=n(37876),r=n(5138),o=n(14232);n(81136),n(62862);var s=n(81202);n(37397);var c=n(20988),u=n(48230),d=n.n(u),p=n(97563),m=n(10027),_=n(16891),f=n(31655),g=n(62576),v=n(47266),h=n(18345),b=n(54587),x=n.n(b),C=n(87162);let k={src:"/kredity/assets/_next/static/media/banner-1.6590dcb3.svg",height:230,width:300,blurWidth:0,blurHeight:0},y={src:"/kredity/assets/_next/static/media/banner-2.4e5dff1a.svg",height:208,width:301,blurWidth:0,blurHeight:0},E={src:"/kredity/assets/_next/static/media/banner-7.8a2298b9.svg",height:230,width:301,blurWidth:0,blurHeight:0};var j=n(5552),T=n(32272),A=n.n(T);let N=[{id:1,image:{src:"/kredity/assets/_next/static/media/banner-3.adc4440a.svg",height:208,width:300,blurWidth:0,blurHeight:0},text:"Выберите кредит на витрине Финуслуг и нажмите \xabВойти через Госуслуги\xbb"},{id:2,image:y,text:"Привяжите Госуслуги и подтвердите документы через Тинькофф ID или у представителя Финуслуг"},{id:3,image:E,text:"Отправьте заявку на кредит.\xa0Деньги будут переведены банком на кошелёк Финуслуг"},{id:4,image:k,text:"Вывести деньги к себе на счет в любом банке можно без комиссий через СБП"}],S=[{id:1,image:y,text:"Войдите на Финуслуги с помощью своего аккаунта Госуслуг"},{id:2,image:E,text:"Заполните кредитную заявку и введите промокод FIN23 в поле для промокода"},{id:3,image:{src:"/kredity/assets/_next/static/media/banner-6.ecb80fa6.svg",height:208,width:301,blurWidth:0,blurHeight:0},text:"Отправьте одну заявку в разные банки, чтобы получить несколько предложений и выбрать выгодное"},{id:4,image:k,text:"Дождитесь звонка или СМС от банка и выберите офис для получения кредита. Получите кредит"}],L=(0,o.memo)(e=>{let{offerType:t,bankName:n=""}=e,l=(0,j.sw)(),a=t===s._.PLATFORM?N:S;return(0,i.jsxs)("section",{id:C.Z5,className:A().container,children:[(0,i.jsxs)("h2",{className:A().title,children:[(0,i.jsxs)("span",{children:["Как оформить кредит в ",n]})," ",(0,i.jsx)("span",{className:A().ebaniText,children:"Финуслугах"})]}),(0,i.jsx)("div",{className:A().sliderContainer,children:(0,i.jsx)(c.Ap,{navigation:!l,navigationPlacement:"outside",navigationSize:"m",navigationVariant:"primary",options:{slidesPerView:l?1:3,spaceBetween:l?16:32,centeredSlides:l},pagination:!0,children:a.map(e=>(0,i.jsxs)(c.DQ,{className:A().bannerCard,children:[(0,i.jsxs)("span",{className:A().badge,children:["Шаг ",e.id]}),(0,i.jsx)("p",{className:A().text,children:e.text}),(0,i.jsx)(x(),{width:300,height:208,alt:"banner"+e.id,src:e.image})]},e.id))})})]})});L.displayName="CreditHowApplyLoanSteps";var w=n(25904),P=n(49995),I=n(30557);let O={src:"/kredity/assets/_next/static/media/app-qr-credits-detail.824367b9.svg",height:256,width:256,blurWidth:0,blurHeight:0};var M=n(14082),R=n(5219),B=n(53244),F=n(32436),U=n(52841),K=n(63292),D=n(95655),V=n(37105),H=n(31257),q=n(2515),W=n.n(q);let z={[s._.PLATFORM]:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(x(),{src:D.A,alt:"",className:W().buttonIcon})," Войти через Госуслуги"]}),[s._.REFERAL]:"Оформить на сайте банка",[s._.UNPLATFORM]:"Оформить кредит",[s._.MASS]:"Подобрать кредит"},Z={[s._.UNPLATFORM]:"Oformit onlayn",[s._.REFERAL]:"Oformit na sayte banka",[s._.MASS]:"oformit_online_seo"},G=(0,o.memo)(e=>{let{href:t,offerType:n,creditId:l}=e;return(0,i.jsx)(c.$n,{rel:"nofollow sponsored",as:"a",href:t,target:"_blank",className:W().button,onClick:()=>{n!==s._.PLATFORM&&(0,H._)({eventCategory:V.h.POTREBITELSKIE,eventAction:H.y.button,eventActionText:Z[n],eventLabel:l,url:t})},children:z[n]})});G.displayName="MainButton";var Y=n(79807),$=n(35415),J=n(21754),Q=n(89064),X=n(63921),ee=n(53172),et=n(92568),en=n.n(et);let el=e=>{var t,n,l;let{offerType:a,bannerUrl:r,bank:u,credit:d,isMobile:p,calculator:m}=e,[f,g]=(0,o.useState)(!1),{amount:v,periodValue:h,paymentTypeOptions:b,paymentTypeValue:x,setPaymentTypeValue:k,periodMax:y,periodMin:E,tag:j,handleChangePeriod:T,repayment:A,amountMax:N,amountMin:S,url:L}=m,D=(0,X.o)(L),q=(null==(t=x[0])?void 0:t.value)===s.w.differentiated?s.w.differentiated:s.w.annuity,W=(0,$.l5)(h),z=(0,o.useRef)(null),Z=(0,o.useRef)(null),et=((e,t,n)=>t&&e<t?"Минимальная сумма - ".concat((0,Y.ZV)(t)," ₽"):n&&e>n?"Максимальная сумма - ".concat((0,Y.ZV)(n)," ₽"):void 0)(v,S,N),el=(0,o.useMemo)(()=>({values:h,max:y,min:E===y?E-1:E,onChange:e=>{e=null!=e?e:E,E!==y&&T(e)},step:1,ticks:[{label:(0,$.Hb)(E),value:E},{label:(0,$.Hb)(y),value:y}],unit:[Q.U9.ONE,Q.U9.FEW,Q.U9.MANY]}),[T,y,E,h]),ea=(0,o.useMemo)(()=>[{id:1,label:W},{id:2,label:"".concat(v||"1 ₽")}],[v,W]),ei=(0,o.useCallback)(()=>{var e;p&&z.current&&(g(!0),(0,H._)({eventCategory:V.h.POTREBITELSKIE,eventAction:H.y.popup,eventActionText:"edit_settings"}),setTimeout(()=>{z.current&&(0,ee.e)(z.current,{position:"top"})},300)),p||null==(e=Z.current)||e.focus()},[p]),er=(0,o.useCallback)(e=>{e&&((0,H._)({eventCategory:V.h.POTREBITELSKIE,eventAction:H.y.filterCatalog,eventLabel:"Порядок погашения",eventValue:e.label}),k([e]))},[k]),eo=(0,o.useMemo)(()=>{let e=new Date;e.setDate(e.getDate()+3);let t=e.getDate(),n=e.getMonth()+1,l=e.getFullYear();return"Сможете получить до ".concat(t," ").concat((0,J.F)("".concat(n,"-").concat(t,"-").concat(l)))},[]),es=(0,o.useMemo)(()=>{let e=[],t=d.full_price;if(t){let n=d.interest_rate;e.push({label:"ПСК",value:(0,I.o)(t),description:"ПСК (полная стоимость кредита) — это процентная ставка, отражающая все ваши затраты по кредиту за год. ПСК включает не только проценты, но и сопутствующие платежи.\n    Информация на сайте носит справочный характер. Указанные значения ПСК получены из открытых источников. Актуальная и точная информация будет содержаться в вашем кредитном договоре."},{label:"Процентная ставка",value:(0,Y.sP)(Number(n.from),Number(n.to))})}e.push({label:"Срок",value:"".concat((0,$.l5)(h))});let n=b.length>1?q:null;return n&&e.push({label:"Платеж",value:n===s.w.annuity?"Аннуитетный":"Дифференцированный",description:(0,i.jsx)("div",{className:en().tooltipContent,children:(0,i.jsx)(B.q,{type:n})})}),e},[b.length,q,d.full_price,d.interest_rate,h]),ec=a===s._.MASS||a===s._.REFERAL?"Где оформить кредит":"Как оформить кредит";return(0,i.jsxs)(_.J,{className:(0,P.A)(en().container,en().containerFull),children:[(e=>{var t,n;return(0,i.jsx)(U.E,{url:d.url,bank:{logoMob:null==u?void 0:u.logo_mob,url:"/banki/".concat(null==u?void 0:u.url),name:null!=(t=null==u?void 0:u.name)?t:d.bank_name},pageUrl:V.h.POTREBITELSKIE,title:"Кредит \xab".concat(d.title,"\xbb от ").concat(null!=(n=null==u?void 0:u.name)?n:d.bank_name),isMobile:p,isSmall:e,tagTheme:"purple",className:en().promo})})(),(0,i.jsxs)("div",{className:en().left,children:[(0,i.jsx)(M.t,{isMobile:!!p,title:"Настройки кредита",pageUrl:V.h.POTREBITELSKIE,infoLink:{isShow:!p,text:"Подробнее о кредите",idScrollBlock:C.uB,offPadding:!0,widthMaxContent:!0},items:[{elements:[{type:"moneyInput",props:{label:"Сумма",value:v,inputRef:Z,onChange:e=>{(0,H._)({eventCategory:V.h.POTREBITELSKIE,eventAction:H.y.filterCatalog,eventLabel:"Сумма",eventValue:String(e)})},caption:et,state:et?"error":void 0,size:"l"}}]},(null==(n=x[0])?void 0:n.value)?{elements:[{type:"inputRange",props:{label:"Срок погашения",...el}}]}:null,{elements:[{type:"select",isHidden:!x||b.length<=1,desription:(0,i.jsx)(B.q,{className:en().typeDescription,type:null==(l=m.paymentTypeValue[0])?void 0:l.value}),props:{label:"Порядок погашения",options:b,onChange:er,value:x,size:"l"}}]}],chips:ea,isShowChips:p&&!!(null==ea?void 0:ea.length)&&!f,isExpandSettings:f,onToggleSettings:()=>g(e=>!e)}),(0,i.jsx)(K.P,{qr_image:O,bannerUrl:r,isSmall:!0,className:en().qrDesc})]}),(0,i.jsxs)("div",{className:en().right,children:[(0,i.jsx)(R.r,{captionTitle:eo,pageUrl:V.h.POTREBITELSKIE,onEdit:ei,amount:v,disclaimer:"Предварительные условия. Не оферта",tag:j,repayment:A,footerActions:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(G,{href:D,offerType:a,creditId:d.id}),(0,i.jsx)(c.$n,{variant:"secondary",className:en().button,onClick:()=>(e=>{let t=a===s._.MASS||a===s._.REFERAL?C.ov:C.Z5;(0,H._)({eventCategory:V.h.POTREBITELSKIE,eventAction:H.y.button,eventActionText:e}),(0,ee.e)(t,{offset:p?0:-100,position:"top"})})(ec),children:ec}),(0,i.jsx)(c.$n,{variant:"purple",appearance:"ghost",size:"s",label:"Не подходит предложение?",className:en().adviceLink,iconRight:(0,i.jsx)(w.IconFdsArrowUpRightSmallO,{}),onClick:()=>{(0,H._)({eventCategory:V.h.POTREBITELSKIE,eventAction:H.y.button,eventActionText:"Не подходит предложение"}),(0,ee.e)(C.yB,{offset:p?0:-100,position:"top"})}})]}),agreement:a===s._.PLATFORM&&(0,i.jsx)(F.D,{onLinkClick:e=>{let{url:t,text:n}=e;(0,H._)({eventCategory:V.h.POTREBITELSKIE,eventAction:H.y.link,eventActionText:n,url:t})}}),valuesList:es}),(0,i.jsx)(K.P,{qr_image:O,bannerUrl:r,isSmall:!0,className:en().qrMobile})]})]})};var ea=n(40419),ei=n(19419),er=n(13394),eo=n(40946),es=n(96759),ec=n(51451),eu=n(33126),ed=n(2510),ep=n(92666),em=n(71348),e_=n.n(em);let ef=(0,o.memo)(e=>{let{bank:t,banks:n,currentCreditId:l,offers:a,offersFinuslugi:r,className:s}=e,{town:c,region:u}=(0,ep.z)(),[d,p]=(0,o.useState)(),m=(0,o.useCallback)(()=>{p(void 0)},[]),f=(0,o.useCallback)(e=>{(0,H._)({eventCategory:V.h.POTREBITELSKIE,eventAction:H.y.link,eventActionText:e.title,eventLabel:e.id,url:e.url})},[]),v=(0,o.useMemo)(()=>{let e=a?a.filter(e=>e.id!==l):[];return(0,es.q)({productList:e,anotherList:e,count:g.gx})},[a,l]),h=(0,o.useMemo)(()=>{let e=null!=r?r:[];return(0,es.q)({productList:e,anotherList:e,count:g.a0-v.length})},[v.length,r]),b=(0,o.useMemo)(()=>({bankList:v.map(e=>(0,ec.q)({banks:[t],credit:e,isPlatform:!0})),finuslugiList:h.map(e=>(0,ec.q)({banks:n,credit:e,isPlatform:!0}))}),[t,n,v,h]),x=(0,o.useCallback)(e=>{if(!e)return;let t=[v,h].reduce((e,t)=>[...e,...t],[]).find(t=>t.id===e.id);if(t){var n,l;return{...t,site:{...e.site},bankName:e.bankName,detailUrl:null!=(n=e.detailUrl)?n:"",logo:e.logo,url:null!=(l=e.url)?l:""}}},[v,h]),k=(0,o.useCallback)(e=>{p(x(e)),e&&(0,H._)({eventCategory:V.h.POTREBITELSKIE,eventAction:H.y.popup,eventActionText:e.title,eventLabel:e.id})},[x]),y=void 0!==u?"/".concat(ed.s6).concat(u.url).concat(void 0!==c?"/".concat(c.url):""):"",E="".concat((0,eu.UK)().mainBaseUrl,"/banki/").concat(t.url,"/potrebitelskie_kredity").concat(y);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("section",{id:C.cA,className:(0,P.A)(e_().container,s),children:[(0,i.jsx)("h3",{className:e_().title,children:"Другие кредитные предложения"}),(0,i.jsxs)(_.J,{children:[!!b.bankList.length&&(0,i.jsxs)("section",{className:e_().offersListContainer,children:[(0,i.jsxs)("p",{className:e_().listTitle,children:["Кредиты онлайн от ",t.name]}),b.bankList.map(e=>(0,i.jsx)(o.Fragment,{children:(0,i.jsx)(ei.G,{className:e_().listItem,data:e,eventCategory:eo.M,text:"Подать заявку",onDetailInfoClick:k,onClick:f},e.url)},e.id)),(0,i.jsx)(ea.e,{offPadding:!0,text:"Bсе предложения от банка",href:E,target:"_blank",iconColor:"light",mainPageUrl:V.h.POTREBITELSKIE})]}),!!b.finuslugiList.length&&(0,i.jsxs)("section",{className:e_().offersListContainer,children:[(0,i.jsx)("p",{className:e_().listTitle,children:"Кредиты онлайн на Финуслугах"}),b.finuslugiList.map(e=>(0,i.jsx)(o.Fragment,{children:(0,i.jsx)(ei.G,{className:e_().listItem,data:e,eventCategory:eo.M,text:"Подать заявку",onClick:f,onDetailInfoClick:k},e.url)},e.id)),(0,i.jsx)(ea.e,{offPadding:!0,text:"Bсе предложения на Финуслугах",href:"/potrebitelskie_kredity",target:"_blank",iconColor:"light",mainPageUrl:V.h.POTREBITELSKIE})]})]})]}),(0,i.jsx)(er.u,{data:d,isOpen:!!d,onClose:m,mainPageUrl:eo.M})]})});ef.displayName="CreditsList";var eg=n(26700),ev=n(66295),eh=n(12814),eb=n(99689),ex=n(92152),eC=n(14873),ek=n(39954),ey=n(98560),eE=n.n(ey);let ej=(0,o.memo)(e=>{let{bannerUrl:t,bankUrl:n,offerType:l,urlGivingCredit:a}=e,r=(0,j.sw)(),c=(0,ek.P)(),{lkBaseUrl:u}=(0,eu.UK)(),d=(0,o.useMemo)(()=>[{id:4,image:eb.A,text:"Перейдите на сайт банка, чтобы оформить заявку",buttonText:"Оформить на сайте банка",link:n,types:[s._.REFERAL]},{id:1,image:eg.A,text:l===s._.REFERAL?"Этот кредит сейчас нельзя открыть через&#160;Финуслуги":"Этот кредит сейчас нельзя открыть онлайн&#160;на&#160;Финуслугах",buttonText:"Посмотреть кредиты на Финуслугах",link:"/potrebitelskie_kredity",types:[s._.REFERAL]},{id:6,image:eg.A,text:"Этот кредит сейчас нельзя открыть онлайн&#160;на&#160;Финуслугах",buttonText:"Подобрать кредит",link:a,types:[s._.MASS]},{id:2,image:ev.A,text:"Чтобы оформить кредит, обратитесь&#160;в банк",link:"",types:[s._.MASS]},{id:3,image:eh.A,text:"Оформите кредит на сайте <br /> Финуслуг",buttonText:"Оформить через Финуслуги",link:"".concat(u,"/registration?returnTo=%2Fcredits%2Fnew%3FskipName%3Dtrue%26registrationMode%3Dphone"),types:[s._.PLATFORM,s._.UNPLATFORM]},{id:5,image:ex.A,text:"В мобильном приложении <br /> Финуслуг",buttonText:"Скачать приложение",types:[s._.PLATFORM,s._.UNPLATFORM],link:t}].filter(e=>e.types.find(e=>e===l)&&!(e.link===t&&c)),[n,t,c,u,l,a]);return(0,i.jsx)("div",{className:eE().container,children:(0,i.jsx)(eC.N,{title:"Где оформить кредит",pageUrl:V.h.POTREBITELSKIE,id:C.ov,isMobile:r,slides:d,offerType:l})})});ej.displayName="CreditWhereApplyLoanSteps";var eT=n(89099);let eA=(e,t,n)=>{if(!e)return t/n;let l=e/12/100;return l*(1+l)**n/((1+l)**n-1)*t},eN=(e,t,n)=>e?t/n+e/12/100*t:t/n,eS=(e,t,n)=>{if(!e)return{amount:t*n,payment:t};let l=e/12/100;return{amount:t/(l*(1+l)**n/((1+l)**n-1)),payment:t}},eL=(e,t,n)=>{if(!e)return{amount:t*n,payment:t};let l=e/12/100,a=t/(l+1/n);return{amount:a,payment:t/(n*l+1)+a*l}};var ew=n(75464),eP=n(37264),eI=n(99388),eO=n(91063),eM=n(75027),eR=n(30228),eB=n(9837),eF=n(66460),eU=n(6980),eK=n(80490),eD=n(99275),eV=n(31339),eH=n.n(eV);function eq(e){var t,n;let{offer:l,journal:a,offerType:r,questions:u,description:b,banks:x,refererTag:C,offers:k,offersFinuslugi:y,support:E}=e,T=(0,j.sw)(),A=(0,eR.I)(g.Js),N=(0,eM.I)({bannersTitle:[g.BZ.CREDITS_DETAIL],queryParams:A});(0,eI.eg)(eI.ch.Credit);let S=(e=>{var t,n,l,a,i,r;let c=Number(null!=(a=e.amount.from)?a:1),u=e.amount.to?Number(e.amount.to):null,d=Number(null!=(i=e.period.from)?i:1),p=Number(null!=(r=e.period.to)?r:1),m=e.online_application.commercial_desc,_=(0,o.useRef)(!1),{asPath:f}=(0,eT.useRouter)(),g=+e.interest_rate.from,v=(0,o.useMemo)(()=>{let t=[];return e.repayment_procedure.annuity&&t.push({label:"Аннуитетный",value:s.w.annuity}),e.repayment_procedure.differentiated&&t.push({label:"Дифференцированный",value:s.w.differentiated}),t},[e.repayment_procedure]),[h,b]=(0,o.useState)(c),[x,C]=(0,o.useState)(0),[k,y]=(0,o.useState)(p),[E,j]=(0,o.useState)(0),[T,A]=(0,o.useState)([v[0]]),N=(null==(t=T[0])?void 0:t.value)===s.w.annuity?E*k-h:((e,t,n,l)=>{let a=e/12/100;return(l*a+t-t*a*(n-1)/2)*n-l})(g,E,k,h),S=(0,eP.Ws)(e,(0,eP.WU)(),{amount:String(h),term:k}),L=(null==(n=T[0])?void 0:n.value)===s.w.annuity?eA:eN,w=(null==(l=T[0])?void 0:l.value)===s.w.annuity?eS:eL,P=(0,o.useCallback)(e=>{let t=null!=e?e:0;b(t);let n=L(g,t,k);C(Math.round(n)),j(n)},[L,k,g]),I=(0,o.useCallback)(e=>{y(e);let t=L(g,h,e);C(Math.round(t)),j(t)},[h,L,g]),O=(0,o.useCallback)(e=>{let t=null!=e?e:0;C(t),b(Math.round(w(g,t,k).amount)),j(+t)},[w,k,g]);return(0,o.useEffect)(()=>{if(_.current)return;let t=(0,ew.$)(f,"#"),n=+t.amount,l=+t.period;(!n||isNaN(n))&&(n=3e5),(!l||isNaN(l))&&(l=p),void 0!==e.amount.from&&+e.amount.from>n&&(n=+e.amount.from),e.amount.to&&+e.amount.to<n&&(n=+e.amount.to),l>p&&(l=p),l<d&&(l=d),b(n),y(l);let a=L(g,n,l);C(Math.round(a)),j(a),_.current=!0},[h,f,e.amount.from,e.amount.to,P,L,x,p,d,g]),(0,o.useMemo)(()=>({amount:h,payment:x,periodValue:k,setPeriod:y,paymentTypeOptions:v,paymentTypeValue:T,setPaymentTypeValue:A,rate:g,amountMin:c,amountMax:u,periodMin:d,periodMax:p,tag:m,handleChangeAmount:P,handleChangePeriod:I,handleChangePayment:O,finalPayment:E,repayment:N,url:S}),[h,x,k,v,T,g,c,u,d,p,m,P,I,O,E,N,S])})(l),w=(0,o.useMemo)(()=>x.find(e=>+e.id==+l.bank_id),[x,l.bank_id]),{region:P,town:I}=(0,ep.z)(),O=null==(t=u.find(e=>e.id===v.j5))?void 0:t.questions.filter(e=>v.e5.includes(e.question)).map(e=>({title:e.question,text:e.answer,plainText:(0,p.NC)(e.answer).trim()})),M="Потребительский кредит \xab".concat(l.title,"\xbb от ").concat(null!=(n=null==w?void 0:w.name_r)?n:"");return(0,i.jsxs)("main",{className:eH().page,children:[(0,i.jsx)(m.I,{productId:String(l.id),title:M,description:null!=b?b:""}),(0,i.jsx)(eF.t,{}),(0,i.jsx)(eB.c,{questions:null!=O?O:[]}),(0,i.jsx)("div",{className:eH().navigationWrapper,children:(0,i.jsx)(_.J,{children:(0,i.jsx)(c.BI,{className:eH().breadcrumbs,items:(()=>{var e;let t=(null==I?void 0:I.name_p)||(null==P?void 0:P.name_p)?" в ".concat((null==I?void 0:I.name_p)||(null==P?void 0:P.name_p)):"",n="".concat((null==P?void 0:P.url)?"/reg_".concat(null==P?void 0:P.url):"").concat((null==I?void 0:I.url)?"/".concat(null==I?void 0:I.url):""),a=[{label:"Главная",href:"/"},{label:"Кредиты".concat(t),href:"/potrebitelskie_kredity".concat(n)}];return C&&a.push({label:"".concat(C.name).concat(t),href:"/potrebitelskie_kredity/teg_".concat(C.url).concat(n)}),a.push({label:"".concat(null!=(e=null==w?void 0:w.name)?e:l.bank_name," Кредит ").concat(l.title)}),a})()})})}),(0,i.jsxs)(_.J,{children:[(0,i.jsx)(el,{offerType:r,credit:l,isMobile:T,calculator:S,bank:w,bannerUrl:N[g.BZ.CREDITS_DETAIL]}),(0,i.jsx)(h.l,{data:l,bank:w,pageUrl:V.h.POTREBITELSKIE})]}),[s._.PLATFORM,s._.UNPLATFORM].includes(r)&&(0,i.jsx)(L,{offerType:r,bankName:null==w?void 0:w.name_p}),(0,i.jsx)(ej,{bannerUrl:N[g.BZ.CREDITS],bankUrl:l.online_application.url,offerType:r,urlGivingCredit:S.url}),w&&(0,i.jsx)(ef,{bank:w,banks:x,currentCreditId:l.id,offers:k,offersFinuslugi:y}),(0,i.jsx)(f.T,{url:"/master_podbora_kredita",mainPageUrl:eo.M,text:"Войдите на Финуслуги и заполните небольшую анкету, а мы подберем для вас несколько кредитов на выбор"}),a.posts.length>0&&(0,i.jsx)(eU.C,{posts:a.posts,eventCategory:V.h.POTREBITELSKIE}),(0,i.jsx)("div",{className:eH().supportSection,children:(0,i.jsx)(eK.E,{value:E})}),(0,i.jsx)("div",{className:eH().faqSection,children:(0,i.jsx)(eD.m,{isAllExpanded:!0,faqBlockTitle:"",Link:e=>(0,i.jsx)(d(),{...e}),dataLayerPush:eO.o,questions:O,eventCategory:"credits_support_block",href:"".concat((0,eu.UK)().mainBaseUrl,"/help/credits"),checkAllText:"Читать все вопросы про кредиты"})})]})}var eW=n(80505);n(34711);var ez=n(28131);n(37071),n(81787);var eZ=n(23857);n(7455);let eG=e=>{let{banks:t,offer:n,offerType:l,journal:a,questions:r,description:o,layout:s,refererTag:c,offers:u,offersFinuslugi:d,support:p}=e;return(0,i.jsx)(eZ.P,{data:s,children:(0,i.jsx)(eq,{creditTag:null,offerType:l,questions:r,offer:n,journal:a,description:o,banks:t,refererTag:c,fetchFromNewApi:!1,offers:u,offersFinuslugi:d,support:p})})};n(17154),n(13126);var eY=n(84266),e$=n(74153),eJ=n.n(e$);let eQ=e=>{let{inRegion:t,bestOffers:n}=e;return n.length?(0,i.jsxs)("div",{className:eJ().bestOffers,children:[(0,i.jsxs)("h2",{className:eJ().title,children:["Лучшие предложения по кредитам ",t]}),(0,i.jsx)("div",{className:eJ().content,children:(0,i.jsx)("div",{className:eJ().contentInner,children:(0,i.jsx)("div",{className:eJ().list,children:n.map(e=>(0,i.jsx)(eX,{...e},e.id))})})})]}):null},eX=e=>{let{url:t,logo:n,topCardAdvantage:l,bottomCardAdvantage:a,bankName:r,id:o,description:s}=e;return(0,i.jsxs)("div",{className:eJ().card,children:[(0,i.jsxs)("div",{className:eJ().cardHeading,children:[(0,i.jsx)("div",{className:eJ().cardIcon,children:(0,i.jsx)(x(),{width:56,height:56,src:n,alt:"logo"})}),(0,i.jsxs)("div",{className:eJ().cardHeadingContent,children:[(0,i.jsx)("p",{className:eJ().cardHeadingSubtitle,children:r?s:""}),(0,i.jsx)("p",{className:eJ().cardHeadingTitle,children:r||s})]})]}),(0,i.jsxs)("div",{className:eJ().cardAdvantage,children:[(0,i.jsx)("div",{className:eJ().captionWrapper,children:(0,i.jsx)("p",{className:eJ().cardAdvantageTitle,children:l.title})}),(0,i.jsx)("p",{className:eJ().cardAdvantageValue,children:l.value})]}),(0,i.jsxs)("div",{className:eJ().cardAdvantage,children:[(0,i.jsx)("p",{className:eJ().cardAdvantageTitle,children:a.title}),(0,i.jsx)("p",{className:eJ().cardAdvantageValue,children:a.value})]}),(0,i.jsx)(c.$n,{as:"a",className:eJ().cardBtn,href:t,children:"Подробнее"})]},o)};var e0=n(25972),e1=n(9507),e6=n(62835);function e2(){return(e2=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var l in n)({}).hasOwnProperty.call(n,l)&&(e[l]=n[l])}return e}).apply(null,arguments)}let e3=function(e){return o.createElement("svg",e2({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none"},e),l||(l=o.createElement("defs",null,o.createElement("clipPath",{id:"a"},o.createElement("path",{fill:"#fff",fillOpacity:0,d:"M0 0h16v16H0z"})))),a||(a=o.createElement("g",{clipPath:"url(#a)"},o.createElement("path",{fill:"#4C5058",d:"M8 14.66A6.66 6.66 0 0 1 1.33 8c0-3.69 2.98-6.67 6.67-6.67A6.66 6.66 0 0 1 14.66 8c0 3.68-2.98 6.66-6.66 6.66m0-1.33a5.335 5.335 0 1 0-.01-10.67A5.335 5.335 0 0 0 8 13.33M8.66 8h2.67v1.33h-4V4.66h1.33z"}))))};var e5=n(87768),e7=n(3010),e8=n(40818),e9=n(24523),e4=n(25167),te=n(87087),tt=n(47052),tn=n(87057),tl=n(86601),ta=n(75289),ti=n.n(ta);let tr=(0,e9.O)(),to=(0,e9.O)(),ts=e=>{var t,n,l;let{terms:a,filter:r,isMobile:s,banksOptions:u,onChangeFilter:d,onClose:p}=e,m=(0,o.useCallback)(()=>{p(),(0,ee.e)(C.cA,{offset:s?0:-140,position:"top"})},[p,s]),_=(0,o.useCallback)(e=>{"Enter"===e.key&&m()},[m]),f=(0,o.useCallback)(e=>{let t=void 0!==e&&0!==e?Math.abs(e):void 0;tr(()=>{(0,eO.o)({event:"data-event",eventAction:V.h.POTREBITELSKIE,eventCategory:"filter_catalog",eventLabel:(0,te.y)(e8.Be),eventValue:t})}),d({amount:t})},[d]),g=(0,o.useCallback)(e=>{let t=void 0!==e&&0!==e?Math.abs(e):void 0;to(()=>{(0,eO.o)({event:"data-event",eventAction:V.h.POTREBITELSKIE,eventCategory:"filter_catalog",eventLabel:(0,te.y)(e8.So),eventValue:t})}),d({payment:t})},[d]),v=(e,t)=>n=>{let l=[],a=[];if(Array.isArray(n)){var i;l=null==n?void 0:n.map(e=>{let{value:t}=e;return t}),a=null!=(i=null==n?void 0:n.map(e=>{let{label:t}=e;return t}))?i:[]}else l=n.value,a=[n.label];d({[e]:l}),(0,eO.o)({event:"data-event",eventAction:V.h.POTREBITELSKIE,eventCategory:"filter_catalog",eventLabel:(0,te.y)(t),eventValue:(0,te.y)(a.join(","))})},h=e=>{if(r[e])return{value:r[e],label:""}};return(0,i.jsxs)("div",{onKeyDown:_,children:[(0,i.jsxs)("div",{className:ti().fields,children:[(0,i.jsx)(tn.F,{value:r.amount,label:e8.Be,onChange:f,onKeyDown:e=>(0,e4.K)(e,m)}),(0,i.jsx)(tn.F,{value:r.payment,label:e8.So,onChange:g,onKeyDown:e=>(0,e4.K)(e,m)}),(0,i.jsx)(c.l6,{label:"Срок",value:h("period"),options:a,onChange:v("period","Срок")}),(0,i.jsx)(c.l6,{label:"Цель кредита",value:h("purpose"),onChange:v("purpose","Срок"),options:e8.l5}),(0,i.jsx)(c.l6,{label:"Категория заемщика",value:(null==(t=r.borrowers)?void 0:t.map(e=>({value:e,label:""})))||[],selectedValue:e=>e.length>1?"Выбрано (".concat(e.length,")"):e[0].label,onChange:v("borrowers","Категория заемщика"),options:e8.PA,multiple:!0}),(0,i.jsx)(c.l6,{multiple:!0,label:"Подтверждение дохода",value:(null==(n=r.incomeProofs)?void 0:n.map(e=>({value:e,label:""})))||[],selectedValue:e=>e.length>1?"Выбрано (".concat(e.length,")"):e[0].label,onChange:v("incomeProofs","Подтверждение дохода"),options:e8.eb}),(0,i.jsx)(c.l6,{label:"Гарантия возврата денег",value:h("collateral"),onChange:v("collateral","Гарантия возврата денег"),options:e8.ni}),(0,i.jsx)(c.l6,{label:"Способ получения",value:h("form"),onChange:v("form","Способ получения"),options:e8.fy}),(0,i.jsx)(c.l6,{multiple:!0,label:"Банки",value:(null==(l=r.banks)?void 0:l.map(e=>({value:e,label:""})))||[],selectedValue:e=>e.length>1?"Выбрано (".concat(e.length,")"):e[0].label,onChange:v("banks","Банки"),options:u})]}),(0,i.jsx)("div",{className:ti().settings,children:(0,i.jsx)("div",{className:ti().settingsLeftBlock,children:(0,i.jsxs)("div",{children:[(0,i.jsx)("h6",{className:ti().settingsTitle,children:"Сортировать"}),(0,i.jsx)("div",{className:ti().radioGroup,children:e8.s.map(e=>(0,i.jsx)(c.sx,{name:e.field,onChange:()=>{d({sort:e.field}),(0,eO.o)({event:"data-event",eventAction:V.h.POTREBITELSKIE,eventCategory:"filter_catalog",eventLabel:(0,te.y)("Сортировать"),eventValue:(0,te.y)(e.label)})},checked:e.field===r.sort,className:ti().radio,value:e.field,label:e.label},e.field))})]})})})]})},tc=e=>{let t=(0,tt.Y)();(0,o.useEffect)(()=>{e.isOpen&&(0,eO.o)({event:"data-event",eventAction:"show_pop_up_podbor_kredita",eventCategory:V.h.POTREBITELSKIE})},[e.isOpen]);let n=(0,o.useCallback)(()=>{e.onClose(),(0,ee.e)(C.cA,{offset:e.isMobile?0:-140,position:"top"})},[e]);return(0,i.jsx)(e7.Z,{children:(0,i.jsx)(e5.K,{isMobile:e.isMobile,isOpen:e.isOpen,onClose:n,onClickReset:()=>e.onDrop(),footerContent:t&&(0,i.jsx)(tl.$,{className:ti().adfox,config:t,params:{pp:"ehod",ps:"foam",p2:"hojk"}}),onCLickShow:()=>{n(),e.onShow()},pageUrl:V.h.POTREBITELSKIE,title:"Все параметры",count:e.offersCount,children:(0,i.jsx)("div",{className:ti().content,children:(0,i.jsx)(ts,{...e})})})})};var tu=n(47691),td=n(54767),tp=n(4149);let tm=["nalichnymi","na_1_god","s_zalogom","refinansirovanie","na_kartu","s_plohoj_kreditnoj_istoriej","pod_zalog_nedvizhimosti","bez_spravok"];var t_=n(72080),tf=n(75972),tg=n(69932),tv=n(41771),th=n(48673),tb=n(58885),tx=n.n(tb);let tC=(0,e9.O)(),tk=(0,e9.O)(),ty=(0,e9.O)(),tE=(0,o.memo)(e=>{let{region:t,heading:n,town:l,filter:a,tag:r,subtitle:s,banksOptions:u,tags:d,isMobile:p,isOpenModal:m,offersCount:_,onFilterChange:f,onFilterApply:g,onModalOpen:v,onModalClose:h}=e,b=(0,j._I)(),x=(0,tt.Y)(),{push:k}=(0,eT.useRouter)(),y=(e=>{let t=(0,o.useMemo)(()=>{let t=(0,tp.$)(e,"url");return tm.reduce((e,n)=>{let l=t[n];return void 0!==l&&e.push(l),e},[])},[e]);return(0,o.useMemo)(()=>t,[t])})(d),[E,T]=(0,o.useState)(a),A="".concat((0,eu.UK)().trackerBaseUrl,"/click.php?key=f043af323c732a65e8e5&amount=").concat(E.amount),N=(0,X.o)(A),S=(0,o.useCallback)(e=>{(0,eO.o)({event:"data-event",eventAction:e,eventCategory:V.h.POTREBITELSKIE})},[]),L=(0,o.useCallback)(e=>{let t=void 0!==e&&0!==e?Math.abs(e):void 0;T(e=>{let n={...e,amount:t};return tC(()=>{(0,eO.o)({event:"data-event",eventAction:V.h.POTREBITELSKIE,eventCategory:"filter_catalog",eventLabel:(0,te.y)(e8.Be),eventValue:t}),g(n)}),n})},[g]),w=(0,o.useCallback)(e=>{let t=void 0!==e&&0!==e?Math.abs(e):void 0;T(e=>{let n={...e,payment:t};return tk(()=>{(0,eO.o)({event:"data-event",eventAction:V.h.POTREBITELSKIE,eventCategory:"filter_catalog",eventLabel:(0,te.y)(e8.So),eventValue:t}),g(n)}),n})},[g]),I=(0,o.useRef)([]),O=(0,o.useCallback)(()=>{(0,ee.e)(C.cA,{offset:b?-140:0,position:"top"})},[b]),{ref:M,isSticky:R}=(0,tv.x)(),B=(0,o.useCallback)(e=>{g({}),k(e,void 0,{shallow:!0})},[g,k]),F=(0,o.useMemo)(()=>y.map(e=>{let n=e.url_redirect||e.url,a=(null==r?void 0:r.url)===n;return{value:(0,t_.b)(V.h.POTREBITELSKIE,a?void 0:e,t,l),label:e.name,color:a?"black":"default",onChipClick:B}}),[y,null==r?void 0:r.url,t,l,B]),U=(0,o.useMemo)(()=>{let e=((e,t)=>{var n,l;let a=(0,td.O)().unit,i=[];i.push({id:tu.u.amount,label:e.amount?"".concat(e.amount):"Сумма кредита: от ".concat(e.amount||"1 ".concat(a))}),i.push({id:tu.u.payment,label:e.payment?"До ".concat((0,Y.ZV)(+e.payment)," ").concat(a," в мес"):"Платеж: не имеет значения"});let r=e8.mr.find(t=>e.period===t.value);if(i.push({id:tu.u.period,label:(null==r?void 0:r.value)?null==r?void 0:r.label:"Срок: не имеет значения"}),e.purpose){let t=e8.l5.find(t=>t.value===e.purpose);t&&i.push({id:tu.u.purpose,label:"".concat(null==t?void 0:t.label)})}if(null==(n=e.borrowers)?void 0:n.length){let t=e.borrowers,n=e8.PA.find(e=>e.value===t[0]),l="";l=1===t.length&&n?"иное"===n.label.toLocaleLowerCase()?"Категория заемщика: "+n.label:n.label:"Категория заемщика: (".concat(t.length,")"),i.push({id:tu.u.borrower,label:l})}if(e.incomeProofs&&e.incomeProofs.length){let t=e.incomeProofs,n=e8.eb.find(e=>e.value===t[0]),l="";l=1===t.length&&n?"не требуется"===n.label.toLocaleLowerCase()?"Подтверждение дохода: "+n.label:n.label:"Подтверждение дохода: (".concat(t.length,")"),i.push({id:tu.u.proofIncome,label:"".concat(l)})}if(e.collateral){let t=e8.ni.find(t=>t.value===e.collateral);t&&i.push({id:tu.u.loan,label:"".concat("Не требуется"===t.label?"Гарантия возврата денег: "+t.label:t.label)})}let o=e8.fy.find(t=>t.value===e.form);if(o&&i.push({id:tu.u.form,label:"".concat(o.label)}),null==(l=e.banks)?void 0:l.length){let n=e.banks,l=t.find(e=>{let{value:t}=e;return String(t)===String(n[0])}),a="";a=1===n.length&&l?": ".concat(l.label):" (".concat(n.length,")"),i.push({id:tu.u.bank,label:"Банки".concat(a)})}return i})(E,u);return I.current.length===e.length&&e.every((e,t)=>e.label===I.current[t].label&&e.id===I.current[t].id)?I.current:e},[E,u]),K=(0,o.useMemo)(()=>U.map(e=>{let{label:t,id:n}=e;return{label:t,value:n,color:"default",onChipClick:v}}),[U,v]),D=(0,o.useCallback)(e=>{T(t=>{let n={...t,...e};return ty(()=>{f(n)}),n})},[f]),H=(0,o.useCallback)(()=>{T({}),g({}),f({})},[g,f]),q=(0,o.useCallback)(()=>{g(E)},[E,g]);return(0,th.w5)(()=>{T(a)},[a]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{children:[(0,i.jsx)(e1.F,{region:t,town:l,title:n,subtitle:s,mainPageUrl:V.h.POTREBITELSKIE}),(0,i.jsx)(e6.L,{config:x,params:e8.ZA}),(0,i.jsxs)(e0.mc,{className:tx().container,children:[(0,i.jsxs)("div",{ref:M,className:tx().filter,children:[(0,i.jsxs)("div",{className:tx().fields,children:[(0,i.jsx)(tn.F,{label:e8.Be,value:E.amount,className:tx().field,onChange:L,onKeyDown:e=>(0,e4.K)(e,O)}),(0,i.jsx)(tn.F,{label:e8.So,value:E.payment,className:tx().field,onChange:w,onKeyDown:e=>(0,e4.K)(e,O)})]}),!b&&(0,i.jsx)("div",{className:tx().chipsRowMobile,children:(0,i.jsx)(tf.P,{chips:F,onParamsClick:v,useLinkChips:!0})}),(0,i.jsx)(c.$n,{onClick:()=>{S("anketa_click"),window.open(N,"_self")},size:"s",className:tx().fillButton,children:"Заполнить анкету"}),R&&(0,i.jsx)(tg.W,{chips:K,onParamsClick:v})]}),(0,i.jsxs)("div",{className:tx().timeCaption,children:[(0,i.jsx)(e3,{}),"Это займёт не более 5 минут"]}),b&&(0,i.jsx)("div",{className:(0,P.A)(tx().chipsRow),children:(0,i.jsx)(tf.P,{chips:F,onParamsClick:v,useLinkChips:!0})})]})]}),(0,i.jsx)(tc,{filter:E,isMobile:p,terms:e8.mr,isOpen:m,banksOptions:u,offersCount:_,onChangeFilter:D,onClose:h,onDrop:H,onShow:q})]})});tE.displayName="CreditsFilter";var tj=n(68290),tT=n(78475),tA=n(41925),tN=n(8868),tS=n(21921),tL=n(28036),tw=n(50261),tP=n(58979),tI=n(70590),tO=n(68082),tM=n(48900),tR=n.n(tM);let tB=[{title:"Наименование банка",value:"bankName"},{title:"Ежемесячный платёж",value:"paymentValue"},{title:"Ставка",value:"rateValue"},{title:"ПСК",value:"fullPrice"},{title:"Сумма",value:"amountValue"},{title:"Срок кредита",value:"term"}];function tF(e,t){var n,l,a;switch(t){case"bankName":return e.bankName.toLowerCase();case"paymentValue":return e.payment;case"rateValue":return e.rateFrom;case"fullPrice":return null!=(l=null==(n=e.fullPrice)?void 0:n.from)?l:0;case"amountValue":return e.amountTo;case"term":return null==(a=e.periodRange)?void 0:a.from;default:throw Error("Dead code branch")}}function tU(e){let{offers:t}=e,[n,l]=(0,o.useState)("amountValue"),[a,r]=(0,o.useState)("asc"),s=(0,o.useMemo)(()=>(0,tO.Q)(t,n,a,tF),[t,n,a]),c=(0,o.useMemo)(()=>s.map(e=>{let{id:t,bankName:n,rateFrom:l,periodRange:a,logo:i,payment:r,currency:o,amountTo:s,amountFrom:c,fullPrice:u}=e,d=(0,Y.ej)({from:c,to:s},{currency:o}),p=null!==u?(0,I.o)(u):"",m=r?"от ".concat((0,Y.up)(r)):"",_=(0,$.if)(a.from,a.to);return{id:t,logo:i,name:n,cells:[m,"".concat(l,"%"),p,d,_]}}),[s]);return(0,i.jsx)(tI.A,{caption:"Онлайн-платформа Финуслуги позволяет подобрать кредит из представленных на сервисе предложений по кредитам. Окончательные условия определяются кредитным договором. ООО \xabМБ Маркетплейс\xbb и ПАО Московская Биржа не осуществляют банковские операции. Все предложения, отображенные в рейтинге, являются лучшими исключительно по мнению экспертов Финуслуги.ру.",className:tR().offers,columns:tB,rows:c,sort:n,sortOrder:a,onSortChange:(e,t)=>{l(e),r(t)}})}var tK=n(36012),tD=n(17137),tV=n(18258),tH=n(82596),tq=n(83156),tW=n(12771);async function tz(e){let t=await (0,tW.zy)("Credits.json?".concat("url","=").concat(encodeURIComponent(e)));if(1!==t.length)throw new ez.m_("Credits tag not found: ".concat(e));return function(e){let{id:t,url:n,title:l,name:a,tag_name:i,text:r,filter:o,disable_filter:s,default:c,region_page:u,bank_region_page:d}=e,p={id:t,url:n,title:l,name:a,tag_name:i,text:r,default:c,bank_region_page:void 0!==d};if(null===o||s||c||(p.filter=function(e){let{amount:t,period:n,borrower:l,proof_income:a,loans:i,form:r,purpose:o,bank_ids:s}=e,c={};if(void 0!==t){let e=Number(t);isNaN(e)?console.warn("Invalid amount of credit tag filter: ".concat(t)):c.amount=e}if(void 0!==n){let e=Number(n);isNaN(e)?console.warn("Invalid period of credit tag filter: ".concat(n)):c.period=e}return void 0!==l&&l.length>0&&(c.borrowers=l),void 0!==a&&(Array.isArray(a)?a.length>0&&(c.incomeProofs=a):c.incomeProofs=[a]),null!=i&&(c.collateral=i.join()),null!=r&&(c.form=r),null!=o&&(c.purpose="any"!==o?o:"other"),s.length>0&&(c.banks=s.map(String)),c}(o)),null!==u){let{region_titles:e,town_titles:t,region_content:n,town_content:l}=u;p.region_page={region_titles:e,town_titles:t,region_content:n,town_content:l}}return p}(t[0])}new(n(73584)).A(tz);var tZ=n(3187),tG=n(35954),tY=n(27116);let t$=(0,o.memo)(e=>{let{name:t,description:n,offersCount:l,offers:a,banks:r}=e,o=function(e,t,n,l,a){let{basePath:i,mainBaseUrl:r}=(0,eu.UK)();if(0===l.length)return;let{lowPrice:o,highPrice:s,offers:c}=(()=>{let e=l.reduce((e,t)=>{let n=(e=>{let t=e.from,n=e.to;return{minValue:void 0!==t&&""!==t?Number(t):1e4,maxValue:void 0!==n&&""!==n?Number(n):void 0}})(t.amount),l=((e,t)=>{var n;let l,i,o=a.find(t=>-1===e.bank_id?e.bic===Number(t.bic):e.bank_id===Number(t.id));if(void 0===o)throw Error("There is no bank for the credit");let s="string"==typeof o.legal_entities?JSON.parse(o.legal_entities)[0].legal_address:null==(n=o.legal_entities[0])?void 0:n.address,c=e.title,u={"@type":"QuantitativeValue",name:"Срок кредита",minValue:Number(e.period.from),maxValue:Number(e.period.to)},d=(l=Number(e.interest_rate.from),i=Number(e.interest_rate.to),{"@type":"QuantitativeValue",name:"Процентная ставка",minValue:Number(l),maxValue:Number(i)}),p=((e,t)=>{let n={"@type":"MonetaryAmount",name:t,minValue:e.minValue,currency:"RUB"};return void 0!==e.maxValue&&(n.maxValue=e.maxValue),n})(t,c),m=s?(0,tG.O)(s):void 0,_="".concat(r,"/").concat(V.h.POTREBITELSKIE,"/").concat(e.url);return{"@type":"Offer",itemOffered:{"@type":"LoanOrCredit",name:c,url:_,feesAndCommissionsSpecification:_,category:"Потребительские кредиты",loanTerm:u,annualPercentageRate:d,amount:p},priceSpecification:{"@type":"PriceSpecification",price:0,priceCurrency:"RUB",valueAddedTaxIncluded:!0},potentialAction:{"@type":"Action",name:"Оформить",url:(0,eP.Ws)(e,(0,eP.WU)())},broker:{"@type":"BankOrCreditUnion",name:o.name,url:"".concat(r,"/banki/").concat(o.url),image:o.logo_mob,telephone:o.phone,address:m}}})(t,n);return e.lowPrice=Math.min(e.lowPrice,n.minValue),void 0!==n.maxValue&&(e.highPrice=Math.max(e.highPrice,n.maxValue)),e.offers.push(l),e},{lowPrice:1/0,highPrice:-1/0,offers:[]});return{offers:e.offers,...Number.isFinite(e.lowPrice)&&{lowPrice:e.lowPrice},...Number.isFinite(e.highPrice)&&{highPrice:e.highPrice}}})();return{"@context":"https://schema.org","@type":"Product",name:e,description:t,image:"".concat(r).concat(i,"/images/logo-1200x630.jpg"),aggregateRating:{"@type":"AggregateRating",ratingValue:4.8,reviewCount:1130,bestRating:5,worstRating:1},offers:{"@type":"AggregateOffer",url:"".concat(r,"/").concat(V.h.POTREBITELSKIE),highPrice:s,lowPrice:o,priceCurrency:"RUB",offerCount:n,offers:c}}}(t,n,l,a,r);return void 0===o?null:(0,i.jsx)(tY.S,{schema:o})});t$.displayName="CreditOffersSchema";var tJ=n(24323),tQ=n(57325),tX=n(58699),t0=n(162),t1=n(64998),t6=n(69619),t2=n.n(t6);let t3=[(0,i.jsxs)(o.Fragment,{children:[(0,i.jsx)("span",{children:"Войдите на Финуслуги с помощью"}),(0,i.jsx)(tQ.e,{})]},0),(0,i.jsx)(o.Fragment,{children:"Заполните анкету, мы подберем предложения специально для вас"},1),(0,i.jsx)(o.Fragment,{children:"Выберите предложение и отправьте заявку в банк — прямо на Финуслугах"},2),(0,i.jsx)(o.Fragment,{children:"Дождитесь одобрения, банк свяжется c вами и расскажет, как получить деньги"},3)],t5=e=>{let{tag:t,credits:n,creditRegion:l,regions:a,banks:r,townDublicates:s,tags:c,rollup:u,partnerOffer:f,expertQuote:g,defaultFilter:v,support:h}=e,b=(0,j.sw)(),{asPath:x,query:k}=(0,eT.useRouter)(),y=(0,tt.Y)(),[E,T]=(0,o.useState)([]),[A,N]=(0,o.useState)(g),[S,L]=(0,o.useState)(),[w,I]=(0,o.useState)(!1),{region:O,town:M}=(0,ep.z)(),[R,B]=(0,o.useState)(!1),[F,U]=(0,o.useState)(Number(k.page)||1),[K,D]=(0,o.useState)(n),H=K.description||"",q=K.subtitle||"",W=(0,o.useCallback)(()=>{I(!0)},[]),z=(0,o.useCallback)(()=>{I(!1)},[]),Z=(0,o.useMemo)(()=>{var e,t;return null!=(t=null==(e=x.split("/").find(e=>e.includes("teg_")))?void 0:e.slice(4))?t:"DEFAULT"},[x]),[G,$]=(0,o.useState)(t),Q=(0,tZ.m)(x);(0,th.w5)(()=>{(0,t0.Zs)(Q).then(N)},[Q]),(0,o.useEffect)(()=>{x.includes("purpose")&&(0,ee.e)(C.cA,{offset:b?0:-100,position:"top"})},[]),(0,eI.eg)(eI.ch.Credit),(0,o.useEffect)(()=>{var e;Z!==(null!=(e=null==G?void 0:G.url)?e:"DEFAULT")&&(0,tW.pY)("credits/tag?".concat("url","=").concat(Z)).then($),(0,tq.g)()},[x,null==G?void 0:G.url,Z]),(0,o.useEffect)(()=>{(0,eY.q)().then(e=>{let t=e.data||void 0;t&&T(t.credits_group.map(e=>({id:e.id,bankName:e.bank_title,description:e.title,topCardAdvantage:{title:"Сумма",value:(0,Y.ej)({from:Number(e.amount.from),to:Number(e.amount.to)})},bottomCardAdvantage:{title:"Ставка",value:"от ".concat((0,Y.um)(+e.interest_rate.from)," %")},logo:e.logo_mob,url:"".concat(V.h.POTREBITELSKIE,"/").concat(e.url)})))})},[]);let X=(()=>{let e={...O},t={...M},n=e.deposits_count,l=t.deposits_count,a=c.find(e=>"DEFAULT"===e.name),i=null==a?void 0:a.min_credits_json,r=new Date,o=r.getDate(),u=r.getMonth()+1,d=r.getFullYear(),p=(0,J.F)("".concat(u,"-").concat(o,"-").concat(d)),m="",_=K.count,f=K.title;if(O){let e=s.indexOf((null==M?void 0:M.id)||0)>=0;m=M?" ".concat((0,tL.c)(M.name_p)," ").concat(M.name_p).concat(e?" (".concat(O.name,")"):""):" ".concat((0,tL.c)(O.name_p)," ").concat(O.name_p),_=l||n||12500}if(f){let e={"{min_credits_rate}":"".concat(i||14),"{credits_count}":"".concat(2*_),"{date}":"".concat(o," ").concat(p," ").concat(d,"г.")};return Object.keys(e).forEach(t=>{f=null==f?void 0:f.replace(new RegExp(t),e[t])}),f}return G?((e,t,n,l)=>{let a=(0,tw.w)(e.title?e.title:e.name),i=5+(e?e.id:0)+(t?t.id:0)+(n?n.id:0),r=!1;return"DEFAULT"===e.name&&(a=a.replace(/DEFAULT/g,"Базовый")),n?e.region_page&&e.region_page.town_titles&&e.region_page.town_titles.length?a=(0,tw.w)(e.region_page.town_titles[i%e.region_page.town_titles.length],t,n,l):(r=l.indexOf(n.id)>=0,a+=" "+(0,tL.c)(n.name_p)+" "+n.name_p+(r?" ("+(null==t?void 0:t.name)+")":"")):t&&(e.region_page&&e.region_page.region_titles&&e.region_page.region_titles.length?a=(0,tw.w)(e.region_page.region_titles[i%e.region_page.region_titles.length],t,n,l):a+=" "+(0,tL.c)(t.name_p)+" "+t.name_p),a})(G,null!=O?O:null,null!=M?M:null,s):"Кредиты".concat(m," с максимальной ставкой ").concat(i||14,"% годовых на сегодня ").concat(o," ").concat(p," ").concat(d,"г. ").concat(2*_," aктуальных депозитов – открыть вклад").concat(m," на Финуслуги.ру")})(),{filter:et,setFilter:en}=function(){let{query:e,push:t}=(0,eT.useRouter)(),{amount:n,payment:l,period:a,purpose:i,borrowers:r,incomeProofs:s,collateral:c,form:u,banks:d,sort:p,order:m,..._}=e,f=(0,o.useMemo)(()=>(function(e){let{amount:t,payment:n,period:l,purpose:a,borrowers:i,incomeProofs:r,collateral:o,form:s,banks:c,sort:u,order:d}=e,p={};return"string"==typeof t&&(p.amount=Number(t)),"string"==typeof n&&(p.payment=Number(n)),"string"==typeof l&&(p.period=Number(l)),"string"==typeof a&&(p.purpose=a),"string"==typeof i&&(p.borrowers=(0,tZ.pi)(i)),"string"==typeof r&&(p.incomeProofs=(0,tZ.pi)(r)),"string"==typeof o&&(p.collateral=o),"string"==typeof s&&(p.form=s),"string"==typeof c&&(p.banks=(0,tZ.pi)(c)),"string"==typeof u&&(p.sort=u),"string"==typeof d&&(p.order=d),p})({amount:n,payment:l,period:a,purpose:i,borrowers:r,incomeProofs:s,collateral:c,form:u,banks:d,sort:p,order:m}),[n,l,a,i,r,s,c,u,d,p,m]),g=(0,o.useRef)(_),v=(0,o.useRef)(f),h=(0,o.useRef)(t);return g.current=_,v.current=f,h.current=t,{filter:f,setFilter:(0,o.useCallback)(e=>{var t,n,l,a,i,r,o,s,c,u,d,p,m,_;if(t=v.current,n=e,t.amount===n.amount&&t.payment===n.payment&&t.period===n.period&&t.purpose===n.purpose&&(null==(l=t.borrowers)?void 0:l.length)===(null==(a=n.borrowers)?void 0:a.length)&&(null==(i=t.borrowers)?void 0:i.slice().sort().toString())===(null==(r=n.borrowers)?void 0:r.slice().sort().toString())&&(null==(o=t.incomeProofs)?void 0:o.length)===(null==(s=n.incomeProofs)?void 0:s.length)&&(null==(c=t.incomeProofs)?void 0:c.slice().sort().toString())===(null==(u=n.incomeProofs)?void 0:u.slice().sort().toString())&&t.collateral===n.collateral&&t.form===n.form&&(null==(d=t.banks)?void 0:d.length)===(null==(p=n.banks)?void 0:p.length)&&(null==(m=t.banks)?void 0:m.slice().sort().toString())===(null==(_=n.banks)?void 0:_.slice().sort().toString())&&t.sort===n.sort&&t.order===n.order)return!1;let f={...function(e){let{amount:t,payment:n,period:l,purpose:a,borrowers:i,incomeProofs:r,collateral:o,form:s,banks:c,sort:u,order:d}=e,p={};return void 0!==t&&(p.amount=String(t)),void 0!==n&&(p.payment=String(n)),void 0!==l&&(p.period=String(l)),void 0!==a&&(p.purpose=String(a)),void 0!==i&&(p.borrowers=(0,tZ.t9)(i)),void 0!==r&&(p.incomeProofs=(0,tZ.t9)(r)),void 0!==o&&(p.collateral=o),void 0!==s&&(p.form=String(s)),void 0!==c&&(p.banks=(0,tZ.t9)(c)),void 0!==u&&(p.sort=u),void 0!==d&&(p.order=d),p}(e),...g.current};return h.current({query:f},void 0,{shallow:!0}),!0},[])}}(),el=(0,o.useMemo)(()=>({...v,...G.filter,...et}),[v,G,et]),ea=(0,o.useMemo)(()=>(0,tH.H)(r,el.banks),[r,el.banks]),ei=(0,o.useMemo)(()=>u.reduce((e,t)=>{let{credits:n}=t;return[...e,...n]},[]),[u]),er=null==O?void 0:O.url,eo=null==M?void 0:M.url,es=(0,o.useCallback)(async e=>{U(e),B(!0);try{let t=await (0,eW.fo)({tag:G.url,region:er,town:eo,page:e,pageSize:e8.v_,filter:el},ei);e>1?D(e=>({...e,...t,offers:[...e.offers,...t.offers]})):(D(t),L(void 0))}finally{B(!1)}},[G,er,eo,el,ei]),ec=(0,o.useCallback)(async e=>{let{sort:t,order:n,...l}=e;L((await (0,eW.fo)({tag:G.url,region:er,town:eo,filter:l,pageSize:0},ei)).count)},[G.url,er,eo,ei]);(0,th.w5)(()=>{es(1)},[es]);let{unifiedOffers:ed,unifiedPartnerOffers:em}=(0,o.useMemo)(()=>(0,tT.L)(el,r,K.offers,f),[el,r,K,f]),e_=(0,o.useMemo)(()=>(function(e){let{credits:t,creditTags:n,creditRegion:l,regions:a,banks:r,tag:o,region:s,town:c,townDublicates:u=[]}=e,d=V.h.POTREBITELSKIE,m="Кредиты",_="кредитов",f=[],g=(0,tD.$)({offers:t,getBankKey:e=>e.bankId,getAmount:e=>e.amountTo,getRate:e=>e.rateTo}).slice(0,10);g.length>2&&f.push({title:(0,tw.w)("Рейтинг ".concat(_," ").concat(s||c?(0,tL.c)(c?c.name:null==s?void 0:s.name)+" "+(c?c.name_p:null==s?void 0:s.name_p):""," в {year} году"),s,c,u),text:(0,i.jsx)(tU,{offers:g})}),!s&&(null==o?void 0:o.default)!==1&&(null==o?void 0:o.text)&&Array.isArray(o.text)&&o.text.forEach(e=>{f.push({title:(0,tw.w)(e.title,s,c,u),text:(0,i.jsx)(p.eW,{data:(0,tw.j)(e,s,c,u,void 0,o).content})})}),(null==o?void 0:o.default)===1&&(null==o?void 0:o.text)&&Array.isArray(o.text)&&o.text.forEach(e=>{f.push({title:(0,tw.w)(e.title,s,c,u),text:(0,i.jsx)(p.eW,{data:(0,tw.j)(e,s,c,u,void 0,o).content})})});let v=s&&o&&o.region_page&&(c||o.region_page.region_content&&o.region_page.region_content.length)&&(!c||o.region_page.town_content&&o.region_page.town_content.length)?(c?o.region_page.town_content:o.region_page.region_content).map(e=>({title:(0,tw.w)(e.title,s,c,u),text:(0,tw.w)(e.content.map(tS.Zf).join(""),s,c,u)})):[];v&&v.length&&v.forEach(e=>{f.push({title:(0,tw.w)(e.title,s,c,u),text:(0,i.jsx)(p.eW,{data:[{type:tS.$G.Html,data:{html:e.text}}]})})}),f.push(...(0,tV.N)(d,a,o,s,c,{nominativeCase:m,genitiveCase:_}));let h=n.reduce((e,t)=>{if(void 0===t.url_redirect){let n=(0,t_.b)(d,t,s,c),l=(0,tK.AP)(n,t.name);e.push(l)}return e},[]);f.push({title:"Виды ".concat(_),text:(0,i.jsx)(tK.oL,{children:h})});let b=(()=>{if(0===r.length)return[];let e=l?l.credit_interest_rates:[],t=r.filter(t=>e.some(e=>(e.fk_id||e.fk_id)===t.id)),n=t.filter(e=>tN.MH.includes(e.url)),a=t.filter(e=>!tN.MH.includes(e.url)),i=(0,tP.s)(n,5);return[...i,...(0,tP.s)(a,7)].map(e=>{var t;let n="".concat(o&&(null==o?void 0:o.default)!==1&&(null==o?void 0:o.bank_region_page)?o.name:m," ").concat(e.name_r," ").concat(s&&(null==(t=e.region_ids)?void 0:t.length)?(0,tL.c)(c?c.name:s.name)+" "+(c?c.name_p:s.name_p):""),l=((e,t)=>{var n;let l=(null==(n=t.region_ids)?void 0:n.length)?[s,c]:[void 0,void 0],a=(0,t_.b)("banki/".concat(t.url),(null==o?void 0:o.bank_region_page)?o:void 0,...l);return"".concat(e).concat(a)})((0,eu.UK)().mainBaseUrl,e);return(0,tK.mZ)(l,n)})})();return b.length>0&&f.push({title:"".concat(m," от банков"),text:(0,i.jsx)(tK.oL,{children:b})}),(()=>{let e=new Set;return f.filter(t=>{let{title:n}=t,l=e.has(n);return l||e.add(n),!l})})()})({credits:ed,creditTags:c,creditRegion:l,regions:a,banks:r,tag:G,region:O,town:M,townDublicates:s}),[r,c,ed,O,l,a,G,M,s]),ef=(null==M?void 0:M.name_p)||(null==O?void 0:O.name_p)?" в ".concat((null==M?void 0:M.name_p)||(null==O?void 0:O.name_p)):"",{mainBaseUrl:eg}=(0,eu.UK)(),ev=(0,o.useCallback)((e,t)=>{en({...el,sort:e,order:t})},[en,el]),eh="DEFAULT"!==G.tag_name?G.name:"Потребительские кредиты",eb=(0,o.useMemo)(()=>null!==f?[...K.offers,f]:K.offers,[K,f]);return(0,i.jsxs)("main",{className:t2().page,children:[(0,i.jsx)(m.I,{title:X,description:H}),(0,i.jsx)(tA.A,{title:eh,tag:G,inRegion:ef,pageUrl:V.h.POTREBITELSKIE,pageTitle:"Кредиты"}),(0,i.jsx)(eF.t,{}),(0,i.jsx)(t$,{name:eh,description:H,offersCount:K.count,offers:eb,banks:r}),(0,i.jsx)(_.J,{className:t2().filterContainer,children:(0,i.jsx)(tE,{region:O,town:M,heading:eh,subtitle:q,filter:el,tag:G,tags:c,banksOptions:ea,isMobile:b,isOpenModal:w,offersCount:null!=S?S:K.count,onFilterChange:ec,onFilterApply:en,onModalOpen:W,onModalClose:z})}),(0,i.jsx)(tJ.I,{steps:t3}),(0,i.jsx)(tj.H,{pageName:V.h.POTREBITELSKIE,unifiedOffers:ed,unifiedPartnerOffers:em,sort:el.sort,sortOrder:el.order,adFoxConfig:y,subtitle:q,region:O,town:M,credits:K,isLoading:R,page:F,rollup:ei,onChangeSort:ev,onChangePage:es,onFilterModalOpen:W}),(0,i.jsx)("section",{className:(0,P.A)(t2().sectionWrapper,t2().whiteBackground),children:(0,i.jsx)(_.J,{children:(0,i.jsx)(eQ,{bestOffers:E,inRegion:ef})})}),void 0!==A&&(0,i.jsx)(t1.V,{quote:A}),(0,i.jsx)(tX.f,{type:"bank"}),(0,i.jsx)(eD.m,{isAllExpanded:!0,faqBlockTitle:"",Link:e=>(0,i.jsx)(d(),{...e}),dataLayerPush:eO.o,questions:e_,eventCategory:"credits_support_block",href:"".concat(eg,"/help/credits"),checkAllText:"Читать все вопросы про кредиты"}),l.posts.length>0&&(0,i.jsx)("section",{className:(0,P.A)(t2().sectionWrapper,t2().sectionGray),children:(0,i.jsx)(eU.C,{posts:l.posts,eventCategory:V.h.POTREBITELSKIE})}),(0,i.jsx)(eK.E,{value:h})]})};n(51649),n(54267),n(46215),n(7705);let t7=e=>{let{tag:t,banks:n,credits:l,creditRegion:a,tags:r,rollup:o,partnerOffer:s,layout:c,root:u,expertQuote:d,defaultFilter:p,support:m}=e;return(0,i.jsx)(eZ.P,{data:c,withLocationConfirm:!0,children:(0,i.jsx)(t5,{tag:t,regions:u.regions,banks:n,townDublicates:u.town_dublicates,credits:l,creditRegion:a,tags:r,rollup:o,partnerOffer:s,expertQuote:null!=d?d:void 0,defaultFilter:p,support:m})})};var t8=n(48523),t9=n(36612),t4=!0;let ne=(0,o.memo)(function(e){var t,n;return(0,i.jsx)(r.C,{children:e.isShowcase?(0,i.jsx)(t8.N,{region:null!=(t=e.region)?t:void 0,town:null!=(n=e.town)?n:void 0,children:(0,i.jsx)(t7,{...e})}):(0,i.jsx)(t9.K,{children:(0,i.jsx)(eG,{...e})})})})},40946:(e,t,n)=>{"use strict";n.d(t,{D:()=>i,M:()=>a});var l=n(5153);let a=n(37105).h.POTREBITELSKIE,i=[{id:1,label:"Условия",name:l.c$.conditions},{id:2,label:"Требования",name:l.c$.requirements},{id:3,label:"Погашения",name:l.c$.redemption},{id:4,label:"Каналы погашения",name:l.c$.repaymentChannels}]},47266:(e,t,n)=>{"use strict";n.d(t,{e5:()=>l,j5:()=>i,lD:()=>a});let l=["Каналы погашения","Как я получу свои деньги?","Могу ли я получить предварительное одобрение в одном банке?","Может ли банк в итоге отказать мне в кредите, если предварительно его одобрил?","Как я узнаю, что банк одобрил мне кредит?"],a=["Могу ли я получить предварительное одобрение в одном банке?","Как повысить кредитный рейтинг?"],i=102},48900:e=>{e.exports={offers:"styles_offers__GZ00j"}},58885:e=>{e.exports={title:"CreditsFilter_title__9Ol8f",link:"CreditsFilter_link__gmP1H",fillButton:"CreditsFilter_fillButton__JxaM7",chipsRow:"CreditsFilter_chipsRow__rN6kQ",timeCaption:"CreditsFilter_timeCaption__XrSVm",chipsRowMobile:"CreditsFilter_chipsRowMobile__889cC",container:"CreditsFilter_container__P7uXx",filter:"CreditsFilter_filter__AK2Z3",fields:"CreditsFilter_fields__axlbQ",field:"CreditsFilter_field__3VPC1"}},69619:e=>{e.exports={page:"Credits_page__EsDKz",breadcrumbs:"Credits_breadcrumbs__86tqr",newBannerBreadcrumbs:"Credits_newBannerBreadcrumbs__mYH_T",filterContainer:"Credits_filterContainer__O3Wzt",adFox:"Credits_adFox__oF6nZ",sectionWrapper:"Credits_sectionWrapper__vxuOI",sectionGray:"Credits_sectionGray__4dQPk",personalSelection:"Credits_personalSelection__mxkIY",subtitle:"Credits_subtitle__wMgL_",background:"Credits_background__0PrN1"}},71348:e=>{e.exports={title:"CreditsList_title__dWfk4",offersListContainer:"CreditsList_offersListContainer__YS0P_",listTitle:"CreditsList_listTitle__ZZTKF",container:"CreditsList_container__8EN_f",listItem:"CreditsList_listItem__wR_07"}},74153:e=>{e.exports={bestOffers:"BestOffers_bestOffers__3xKOA",title:"BestOffers_title__6zPe_",content:"BestOffers_content__zgY2P","content-inner":"BestOffers_content-inner__pEGnI",list:"BestOffers_list__d40hB",card:"BestOffers_card__UZOM_",captionWrapper:"BestOffers_captionWrapper__Uk340",cardHeading:"BestOffers_cardHeading__8nf7d",cardIcon:"BestOffers_cardIcon__YnTcZ",cardBtn:"BestOffers_cardBtn__W4pcb",cardHeadingSubtitle:"BestOffers_cardHeadingSubtitle__H67AC",cardHeadingTitle:"BestOffers_cardHeadingTitle__CcZts",cardAdvantage:"BestOffers_cardAdvantage__tFs7H",cardAdvantageTitle:"BestOffers_cardAdvantageTitle__oXTSw",cardAdvantageValue:"BestOffers_cardAdvantageValue__o7NB9",btnMore:"BestOffers_btnMore__EHXWg",btnMoreText:"BestOffers_btnMoreText__zBTej",btnMoreIcon:"BestOffers_btnMoreIcon__eJuUy",tooltipIcon:"BestOffers_tooltipIcon__wISwt"}},74195:(e,t,n)=>{"use strict";n.d(t,{i2:()=>a});var l=n(30557);function a(e,t){return e.cards_group.map(e=>{let n=(0,l.j)(e.full_price);return{...e,full_price:n,online_application:{...e.online_application,...function(e,t){let n=new RegExp("\\b/?".concat(t,"(_(\\d+))?\\b"));for(let t of e){let e=t.description.match(n);if(null!==e)return{url:t.url,order:void 0!==e[2]?Number(e[2]):1/0}}}(e.online_application.links,t)},interest_rate_from:+e.interest_rate.from,interest_rate_to:+e.interest_rate.to,credit_limit_from:+e.credit_limit.from,credit_limit_to:+e.credit_limit.to,bank_name:e.bank_title}})}n(12771)},75289:e=>{e.exports={content:"CreditsFilterModal_content__yX_bx",fields:"CreditsFilterModal_fields__uVaO6",settings:"CreditsFilterModal_settings__yHhdO",settingsLeftBlock:"CreditsFilterModal_settingsLeftBlock__nI29m",settingsTitle:"CreditsFilterModal_settingsTitle__INN9S",tooltip:"CreditsFilterModal_tooltip__BMlBe",iconTooltip:"CreditsFilterModal_iconTooltip__RvsdK",radioGroup:"CreditsFilterModal_radioGroup__jG3cb",radio:"CreditsFilterModal_radio__gJxyi",buttonActions:"CreditsFilterModal_buttonActions__o7buq",button:"CreditsFilterModal_button__empTP",mobilePopup:"CreditsFilterModal_mobilePopup__WCsfT",adfox:"CreditsFilterModal_adfox__gqmkU"}},81136:(e,t,n)=>{"use strict";n(37397),n(30557),n(80505),n(28131),n(3067)},87696:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/potrebitelskie_kredity/[[...segments]]",function(){return n(39798)}])},92568:e=>{e.exports={container:"CreditInfo_container__R0626",containerFull:"CreditInfo_containerFull__egD3t",promo:"CreditInfo_promo__SU8xG",left:"CreditInfo_left__4FXSu",right:"CreditInfo_right__MILUZ",qrDesc:"CreditInfo_qrDesc__6mkj5",qrMobile:"CreditInfo_qrMobile__cxqGH",typeDescription:"CreditInfo_typeDescription__utgna",adviceLink:"CreditInfo_adviceLink__f5_hU"}},95655:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});let l={src:"/kredity/assets/_next/static/media/gosuslugi.a2f413d0.svg",height:24,width:24,blurWidth:0,blurHeight:0}},98560:e=>{e.exports={container:"CreditWhereApplyLoanSteps_container__qbNFw"}}},e=>{e.O(0,[7492,2224,8325,2970,4587,1758,5695,7586,4743,9544,9903,6322,7279,2496,7525,636,6593,8792],()=>e(e.s=87696)),_N_E=e.O()}]);