(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3408],{55821:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/potrebitelskie_kredity/[[...segments]]",function(){return n(10514)}])},59455:function(e,t){"use strict";t.Z={src:"/kredity/assets/_next/static/media/gosuslugi.a2f413d0.svg",height:24,width:24,blurWidth:0,blurHeight:0}},77716:function(e,t,n){"use strict";n(98670),n(77019),n(38422),n(53850)},77726:function(e,t,n){"use strict";n.d(t,{T:function(){return l},Z:function(){return p}});var i,l,a=n(85893),r=n(86010),o=n(41664),s=n.n(o),c=n(77679),u=n.n(c);let d={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"}};(i=l||(l={})).blue="blue",i.grey="var(--color-black-300)",i.purple="var(--color-purple-600)";let p=e=>{let{className:t,onLinkClick:n,linkColor:i="blue",startText:l="Регистрируясь через Госуслуги"}=e;return(0,a.jsxs)("div",{style:{"--link-color":i},className:(0,r.Z)(u().agreementBlock,t),children:[l,", вы подписываете своей электронной подписью"," ",(0,a.jsx)(s(),{target:"_blank",className:u().link,href:d.APPLICATION_PLATFORM_RULES.url,onClick:()=>null==n?void 0:n(d.APPLICATION_PLATFORM_RULES),children:"Заявление о присоединении"})," ","к"," ",(0,a.jsx)(s(),{target:"_blank",className:u().link,href:d.PLATFORM_RULES.url,onClick:()=>null==n?void 0:n(d.PLATFORM_RULES),children:"Правилам платформы"})," ","и"," ",(0,a.jsx)(s(),{target:"_blank",className:u().link,href:d.AGREEMENT_PERSONAL_DATA.url,onClick:()=>null==n?void 0:n(d.AGREEMENT_PERSONAL_DATA),children:"Согласие на обработку персональных данных"}),", a также соглашаетесь с"," ",(0,a.jsx)(s(),{target:"_blank",className:u().link,href:d.USER_AGREEMENT.url,onClick:()=>null==n?void 0:n(d.USER_AGREEMENT),children:"Пользовательским соглашением"})]})}},7162:function(e,t,n){"use strict";n.d(t,{K6:function(){return l},hU:function(){return i},jg:function(){return a}});let i=["Каналы погашения","Как я получу свои деньги?","Могу ли я получить предварительное одобрение в одном банке?","Может ли банк в итоге отказать мне в кредите, если предварительно его одобрил?","Как я узнаю, что банк одобрил мне кредит?"],l=["Могу ли я получить предварительное одобрение в одном банке?","Как повысить кредитный рейтинг?"],a=102},74203:function(e,t,n){"use strict";n.d(t,{G:function(){return a},L:function(){return l}});var i=n(57696);let l=n(73897).u.POTREBITELSKIE,a=[{id:1,label:"Условия",name:i.yU.conditions},{id:2,label:"Требования",name:i.yU.requirements},{id:3,label:"Погашения",name:i.yU.redemption},{id:4,label:"Каналы погашения",name:i.yU.repaymentChannels}]},57503:function(e,t,n){"use strict";n.d(t,{G:function(){return d}});var i=n(85893),l=n(67294),a=n(72335),r=n(54663),o=n(57696),s=n(74203),c=n(44727);let u=e=>{let{data:t}=e,n=(0,l.useMemo)(()=>(0,o.gv)(t),[t]),i=(0,l.useMemo)(()=>s.G.filter(e=>n[e.name].some(e=>(0,c.B)(e.value))),[n]);return{tabsContent:n,tabsList:i}},d=(0,l.memo)(e=>{var t,n;let{data:l,bank:o,offerType:s,pageUrl:c,className:d,withoutFullInfoLink:p}=e,{tabsContent:m,tabsList:f}=u({data:l});return(0,i.jsx)(a.z,{className:d,scrollBlockId:r.q6,pageUrl:c,seoText:(null==l?void 0:l.short_description)&&(null==l?void 0:l.short_description.length)>5?null==l?void 0:l.short_description:void 0,title:"О кредите",offerType:s,offerUpdateData:null==l?void 0:l.m_updated_at,bank:{logoMobile:null==o?void 0:o.logo_mob,description:null==o?void 0:o.short_description,url:"/banki/".concat(null==o?void 0:o.url),name:null==o?void 0:o.name,creditRating:null==o?void 0:o.credit_rating,netAssetsPlace:null==o?void 0:null===(t=o.ratings)||void 0===t?void 0:t.net_assets_place,netProfitRating:null==o?void 0:o.net_profit_rating},tabsList:f,tabsContent:m,aboutCompanyLabel:"О банке",site:null!==(n=null==o?void 0:o.site.title)&&void 0!==n?n:void 0,withoutFullInfoLink:p})});d.displayName="CreditAbout"},71942:function(e,t,n){"use strict";n.d(t,{E9:function(){return l}});var i=n(77019);function l(e,t){return e.cards_group.map(e=>{let n=(0,i.b)(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(65709)},10514:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return no},default:function(){return ns}});var i,l,a=n(85893),r=n(44076),o=n(67294);n(77716),n(93188);var s=n(29401);n(98670);var c=n(34588),u=n(25675),d=n.n(u),p=n(41664),m=n.n(p),f=n(44895),_=n(73172),g=n(368),v=n(84444),h=n(19438),b=n(45392),x=n(89504),C=n(7162),k=n(54663),T=n(57503),j={src:"/kredity/assets/_next/static/media/banner-1.6590dcb3.svg",height:230,width:300,blurWidth:0,blurHeight:0},E={src:"/kredity/assets/_next/static/media/banner-2.4e5dff1a.svg",height:208,width:301,blurWidth:0,blurHeight:0},y={src:"/kredity/assets/_next/static/media/banner-7.8a2298b9.svg",height:230,width:301,blurWidth:0,blurHeight:0},N=n(17950),S=n(54228),L=n(26905),A=n.n(L);let P=[{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:E,text:"Привяжите Госуслуги и подтвердите документы через Тинькофф ID или у представителя Финуслуг"},{id:3,image:y,text:"Отправьте заявку на кредит.\xa0Деньги будут переведены банком на кошелёк Финуслуг"},{id:4,image:j,text:"Вывести деньги к себе на счет в любом банке можно без комиссий через СБП"}],I=[{id:1,image:E,text:"Войдите на Финуслуги с помощью своего аккаунта Госуслуг"},{id:2,image:y,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:j,text:"Дождитесь звонка или СМС от банка и выберите офис для получения кредита. Получите кредит"}],M=(0,o.memo)(e=>{let{offerType:t,bankName:n=""}=e,i=(0,S.S0)(),l=t===N.g.PLATFORM?P:I;return(0,a.jsxs)("section",{id:k.Hf,className:A().container,children:[(0,a.jsxs)("h2",{className:A().title,children:[(0,a.jsxs)("span",{children:["Как оформить кредит в ",n]})," ",(0,a.jsx)("span",{className:A().ebaniText,children:"Финуслугах"})]}),(0,a.jsx)("div",{className:A().sliderContainer,children:(0,a.jsx)(c.iR,{navigation:!i,navigationPlacement:"outside",navigationSize:"m",navigationVariant:"primary",options:{slidesPerView:i?1:3,spaceBetween:i?16:32,centeredSlides:i},pagination:!0,children:l.map(e=>(0,a.jsxs)(c.wI,{className:A().bannerCard,children:[(0,a.jsxs)("span",{className:A().badge,children:["Шаг ",e.id]}),(0,a.jsx)("p",{className:A().text,children:e.text}),(0,a.jsx)(d(),{width:300,height:208,alt:"banner"+e.id,src:e.image})]},e.id))})})]})});M.displayName="CreditHowApplyLoanSteps";var R=n(59194),O=n(86010),w=n(77019),B={src:"/kredity/assets/_next/static/media/app-qr-credits-detail.824367b9.svg",height:256,width:256,blurWidth:0,blurHeight:0},F=n(24443),U=n(28644),D=n(26024),K=n(77726),V=n(90999),W=n(72798),H=n(59455),Z=n(73897),z=n(39918),q=n(43500),G=n.n(q);let Q={[N.g.PLATFORM]:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(d(),{src:H.Z,alt:"",className:G().buttonIcon})," Войти через Госуслуги"]}),[N.g.REFERAL]:"Оформить на сайте банка",[N.g.UNPLATFORM]:"Оформить кредит",[N.g.MASS]:"Подобрать кредит"},Y={[N.g.UNPLATFORM]:"Oformit onlayn",[N.g.REFERAL]:"Oformit na sayte banka",[N.g.MASS]:"oformit_online_seo"},J=(0,o.memo)(e=>{let{href:t,offerType:n,creditId:i}=e;return(0,a.jsx)(c.zx,{as:"a",href:t,target:"_blank",className:G().button,onClick:()=>{n!==N.g.PLATFORM&&(0,z.D)({eventCategory:Z.u.POTREBITELSKIE,eventAction:z.i.button,eventActionText:Y[n],eventLabel:i,url:t})},children:Q[n]})});J.displayName="MainButton";var X=n(94466);let $=(e,t,n)=>t&&e<t?"Минимальная сумма - ".concat((0,X.uf)(t)," ₽"):n&&e>n?"Максимальная сумма - ".concat((0,X.uf)(n)," ₽"):void 0;var ee=n(41262),et=n(66566),en=n(6584),ei=n(93478),el=n(97265),ea=n.n(el);let er=e=>{var t,n,i,l,r,s;let{offerType:u,bannerUrl:d,bank:p,credit:m,isMobile:f,calculator:_}=e,[g,v]=(0,o.useState)(!1),{amount:b,periodValue:x,paymentTypeOptions:C,paymentTypeValue:T,setPaymentTypeValue:j,periodMax:E,periodMin:y,tag:S,handleChangePeriod:L,repayment:A,amountMax:P,amountMin:I,url:M}=_,H=(null===(t=T[0])||void 0===t?void 0:t.value)===N.T.differentiated?N.T.differentiated:N.T.annuity,q=(0,ee.S_)(x),G=(0,o.useRef)(null),Q=(0,o.useRef)(null),Y=$(b,I,P),el=(0,o.useMemo)(()=>({values:x,max:E,min:y===E?y-1:y,onChange:e=>{e=null!=e?e:y,y!==E&&L(e)},step:1,ticks:[{label:(0,ee.H3)(y),value:y},{label:(0,ee.H3)(E),value:E}],unit:[en.mp.ONE,en.mp.FEW,en.mp.MANY]}),[L,E,y,x]),er=(0,o.useMemo)(()=>[{id:1,label:q},{id:2,label:"".concat(b||"1 ₽")}],[b,q]),eo=(0,o.useCallback)(()=>{var e;f&&G.current&&(v(!0),(0,z.D)({eventCategory:Z.u.POTREBITELSKIE,eventAction:z.i.popup,eventActionText:"edit_settings"}),setTimeout(()=>{G.current&&(0,ei.l)(G.current,{position:"top"})},300)),f||null===(e=Q.current)||void 0===e||e.focus()},[f]),es=(0,o.useCallback)(e=>{e&&((0,z.D)({eventCategory:Z.u.POTREBITELSKIE,eventAction:z.i.filterCatalog,eventLabel:"Порядок погашения",eventValue:e.label}),j([e]))},[j]),ec=(0,o.useMemo)(()=>{let e=new Date;e.setDate(e.getDate()+3);let t=e.getDate(),n=e.getMonth()+1,i=e.getFullYear();return"Сможете получить до ".concat(t," ").concat((0,et.$)("".concat(n,"-").concat(t,"-").concat(i)))},[]),eu=(0,o.useMemo)(()=>{let e=[],t=m.full_price;if(t){let n=m.interest_rate;e.push({label:"ПСК",value:(0,w.W)(t),description:"ПСК (полная стоимость кредита) — это процентная ставка, отражающая все ваши затраты по кредиту за год. ПСК включает не только проценты, но и сопутствующие платежи.\n    Информация на сайте носит справочный характер. Указанные значения ПСК получены из открытых источников. Актуальная и точная информация будет содержаться в вашем кредитном договоре."},{label:"Процентная ставка",value:(0,X.sz)(Number(n.from),Number(n.to))})}e.push({label:"Срок",value:"".concat((0,ee.S_)(x))});let n=C.length>1?H:null;return n&&e.push({label:"Платеж",value:n===N.T.annuity?"Аннуитетный":"Дифференцированный",description:(0,a.jsx)("div",{className:ea().tooltipContent,children:(0,a.jsx)(D.a,{type:n})})}),e},[C.length,H,m.full_price,m.interest_rate,x]),ed=e=>{let t=u===N.g.MASS||u===N.g.REFERAL?k.VT:k.Hf;(0,z.D)({eventCategory:Z.u.POTREBITELSKIE,eventAction:z.i.button,eventActionText:e}),(0,ei.l)(t,{offset:f?0:-100,position:"top"})},ep=e=>{(0,z.D)({eventCategory:Z.u.POTREBITELSKIE,eventAction:z.i.button,eventActionText:e}),(0,ei.l)(k.dM,{offset:f?0:-100,position:"top"})},em=u===N.g.MASS||u===N.g.REFERAL?"Где оформить кредит":"Как оформить кредит";return(0,a.jsxs)(h.t,{className:(0,O.Z)(ea().container,ea().containerFull),children:[(0,a.jsx)(V.F,{url:m.url,bank:{logoMob:null==p?void 0:p.logo_mob,url:"/banki/".concat(null==p?void 0:p.url),name:null!==(r=null==p?void 0:p.name)&&void 0!==r?r:m.bank_name},pageUrl:Z.u.POTREBITELSKIE,title:"Кредит \xab".concat(m.title,"\xbb от ").concat(null!==(s=null==p?void 0:p.name)&&void 0!==s?s:m.bank_name),isMobile:f,isSmall:l,tagTheme:"purple",className:ea().promo}),(0,a.jsxs)("div",{className:ea().left,children:[(0,a.jsx)(F.y,{isMobile:!!f,title:"Настройки кредита",pageUrl:Z.u.POTREBITELSKIE,infoLink:{isShow:!f,text:"Подробнее о кредите",idScrollBlock:k.q6,offPadding:!0,widthMaxContent:!0},items:[{elements:[{type:"moneyInput",props:{label:"Сумма",value:b,inputRef:Q,onChange:e=>{(0,z.D)({eventCategory:Z.u.POTREBITELSKIE,eventAction:z.i.filterCatalog,eventLabel:"Сумма",eventValue:String(e)})},caption:Y,state:Y?"error":void 0,size:"l"}}]},(null===(n=T[0])||void 0===n?void 0:n.value)?{elements:[{type:"inputRange",props:{label:"Срок погашения",...el}}]}:null,{elements:[{type:"select",isHidden:!T||C.length<=1,desription:(0,a.jsx)(D.a,{className:ea().typeDescription,type:null===(i=_.paymentTypeValue[0])||void 0===i?void 0:i.value}),props:{label:"Порядок погашения",options:C,onChange:es,value:T,size:"l"}}]}],chips:er,isShowChips:f&&!!(null==er?void 0:er.length)&&!g,isExpandSettings:g,onToggleSettings:()=>v(e=>!e)}),(0,a.jsx)(W.S,{qr_image:B,bannerUrl:d,isSmall:!0,className:ea().qrDesc})]}),(0,a.jsxs)("div",{className:ea().right,children:[(0,a.jsx)(U.y,{captionTitle:ec,pageUrl:Z.u.POTREBITELSKIE,onEdit:eo,amount:b,disclaimer:"Предварительные условия. Не оферта",tag:S,repayment:A,footerActions:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(J,{href:M,offerType:u,creditId:m.id}),(0,a.jsx)(c.zx,{variant:"secondary",className:ea().button,onClick:()=>ed(em),children:em}),(0,a.jsx)(c.zx,{variant:"purple",appearance:"ghost",size:"s",label:"Не подходит предложение?",className:ea().adviceLink,iconRight:(0,a.jsx)(R.IconFdsArrowUpRightSmallO,{}),onClick:()=>ep("Не подходит предложение")})]}),agreement:u===N.g.PLATFORM&&(0,a.jsx)(K.Z,{onLinkClick:e=>{let{url:t,text:n}=e;(0,z.D)({eventCategory:Z.u.POTREBITELSKIE,eventAction:z.i.link,eventActionText:n,url:t})}}),valuesList:eu}),(0,a.jsx)(W.S,{qr_image:B,bannerUrl:d,isSmall:!0,className:ea().qrMobile})]})]})};var eo=n(13442),es=n(23056),ec=n(84135),eu=n(74203),ed=n(32244),ep=n(65573),em=n(84053),ef=n(44735),e_=n(94347),eg=n(67999),ev=n.n(eg);let eh=(0,o.memo)(e=>{let{bank:t,banks:n,currentCreditId:i,offers:l,offersFinuslugi:r,className:c}=e,{town:u,region:d}=(0,e_.T)(),[p,m]=(0,o.useState)(),f=(0,o.useCallback)(()=>{m(void 0)},[]),_=(0,o.useCallback)(e=>{(0,z.D)({eventCategory:Z.u.POTREBITELSKIE,eventAction:z.i.link,eventActionText:e.title,eventLabel:e.id,url:e.url})},[]),g=(0,o.useMemo)(()=>{let e=l?l.filter(e=>e.id!==i):[];return(0,ed.$)({productList:e,anotherList:e,count:x.NU})},[l,i]),v=(0,o.useMemo)(()=>{let e=null!=r?r:[];return(0,ed.$)({productList:e,anotherList:e,count:x.wo-g.length})},[g.length,r]),b=(0,o.useMemo)(()=>({bankList:g.map(e=>(0,ep.v)({banks:[t],credit:e,isPlatform:!0})),finuslugiList:v.map(e=>(0,ep.v)({banks:n,credit:e,isPlatform:!0}))}),[t,n,g,v]),C=(0,o.useCallback)(e=>{if(!e)return;let t=[g,v].reduce((e,t)=>[...e,...t],[]).find(t=>t.id===e.id);if(t){var n,i;return{...t,site:{...e.site},bankName:e.bankName,detailUrl:null!==(n=e.detailUrl)&&void 0!==n?n:"",logo:e.logo,url:null!==(i=e.url)&&void 0!==i?i:""}}},[g,v]),T=(0,o.useMemo)(()=>{let e=null;return p&&(e=(0,s.A)(p)),e},[p]),j=(0,o.useCallback)(e=>{m(C(e)),e&&(0,z.D)({eventCategory:Z.u.POTREBITELSKIE,eventAction:z.i.popup,eventActionText:e.title,eventLabel:e.id})},[C]),E=void 0!==d?"/".concat(ef.ON).concat(d.url).concat(void 0!==u?"/".concat(u.url):""):"",y="".concat((0,em.ZR)().mainBaseUrl,"/banki/").concat(t.url,"/potrebitelskie_kredity").concat(E);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("section",{id:k.Tm,className:(0,O.Z)(ev().container,c),children:[(0,a.jsx)("h3",{className:ev().title,children:"Другие кредитные предложения"}),(0,a.jsxs)(h.t,{children:[!!b.bankList.length&&(0,a.jsxs)("section",{className:ev().offersListContainer,children:[(0,a.jsxs)("p",{className:ev().listTitle,children:["Кредиты онлайн от ",t.name]}),b.bankList.map(e=>(0,a.jsx)(o.Fragment,{children:(0,a.jsx)(es.g,{className:ev().listItem,data:e,eventCategory:eu.L,text:"Подать заявку",onDetailInfoClick:j,onClick:_},e.url)},e.id)),(0,a.jsx)(eo.j,{offPadding:!0,text:"Bсе предложения от банка",href:y,target:"_blank",iconColor:"light",mainPageUrl:Z.u.POTREBITELSKIE})]}),!!b.finuslugiList.length&&(0,a.jsxs)("section",{className:ev().offersListContainer,children:[(0,a.jsx)("p",{className:ev().listTitle,children:"Кредиты онлайн на Финуслугах"}),b.finuslugiList.map(e=>(0,a.jsx)(o.Fragment,{children:(0,a.jsx)(es.g,{className:ev().listItem,data:e,eventCategory:eu.L,text:"Подать заявку",onClick:_,onDetailInfoClick:j},e.url)},e.id)),(0,a.jsx)(eo.j,{offPadding:!0,text:"Bсе предложения на Финуслугах",href:"/potrebitelskie_kredity",target:"_blank",iconColor:"light",mainPageUrl:Z.u.POTREBITELSKIE})]})]})]}),(0,a.jsx)(ec.h,{data:p,isOpen:!!p,onClose:f,mainPageUrl:eu.L,offerType:T})]})});eh.displayName="CreditsList";var eb=n(17722),ex=n(94781),eC=n(61043),ek=n(93842),eT=n(7283),ej=n(64062),eE=n(6852),ey=n(52089),eN=n.n(ey);let eS=(0,o.memo)(e=>{let{bannerUrl:t,bankUrl:n,offerType:i,urlGivingCredit:l}=e,r=(0,S.S0)(),s=(0,eE.S)(),{lkBaseUrl:c}=(0,em.ZR)(),u=(0,o.useMemo)(()=>[{id:4,image:ek.Z,text:"Перейдите на сайт банка, чтобы оформить заявку",buttonText:"Оформить на сайте банка",link:n,types:[N.g.REFERAL]},{id:1,image:eb.Z,text:i===N.g.REFERAL?"Этот кредит сейчас нельзя открыть через&#160;Финуслуги":"Этот кредит сейчас нельзя открыть онлайн&#160;на&#160;Финуслугах",buttonText:"Посмотреть кредиты на Финуслугах",link:"/potrebitelskie_kredity",types:[N.g.REFERAL]},{id:6,image:eb.Z,text:"Этот кредит сейчас нельзя открыть онлайн&#160;на&#160;Финуслугах",buttonText:"Подобрать кредит",link:l,types:[N.g.MASS]},{id:2,image:ex.Z,text:"Чтобы оформить кредит, обратитесь&#160;в банк",link:"",types:[N.g.MASS]},{id:3,image:eC.Z,text:"Оформите кредит на сайте <br /> Финуслуг",buttonText:"Оформить через Финуслуги",link:"".concat(c,"/registration?returnTo=%2Fcredits%2Fnew%3FskipName%3Dtrue%26registrationMode%3Dphone"),types:[N.g.PLATFORM,N.g.UNPLATFORM]},{id:5,image:eT.Z,text:"В мобильном приложении <br /> Финуслуг",buttonText:"Скачать приложение",types:[N.g.PLATFORM,N.g.UNPLATFORM],link:t}].filter(e=>e.types.find(e=>e===i)&&!(e.link===t&&s)),[n,t,s,c,i,l]);return(0,a.jsx)("div",{className:eN().container,children:(0,a.jsx)(ej.B,{title:"Где оформить кредит",pageUrl:Z.u.POTREBITELSKIE,id:k.VT,isMobile:r,slides:u,offerType:i})})});eS.displayName="CreditWhereApplyLoanSteps";var eL=n(11163);let eA=(e,t,n)=>{if(!e)return t/n;let i=e/12/100;return i*(1+i)**n/((1+i)**n-1)*t},eP=(e,t,n)=>e?t/n+e/12/100*t:t/n,eI=(e,t,n)=>{if(!e)return{amount:t*n,payment:t};let i=e/12/100;return{amount:t/(i*(1+i)**n/((1+i)**n-1)),payment:t}},eM=(e,t,n)=>{if(!e)return{amount:t*n,payment:t};let i=e/12/100,l=t/(i+1/n);return{amount:l,payment:t/(n*i+1)+l*i}},eR=(e,t,n)=>e*t-n,eO=(e,t,n,i)=>{let l=e/12/100;return(i*l+t-t*l*(n-1)/2)*n-i};var ew=n(82080),eB=n(87994);let eF=e=>{var t,n,i,l,a,r;let s=Number(null!==(l=e.amount.from)&&void 0!==l?l:1),c=e.amount.to?Number(e.amount.to):null,u=Number(null!==(a=e.period.from)&&void 0!==a?a:1),d=Number(null!==(r=e.period.to)&&void 0!==r?r:1),p=e.online_application.commercial_desc,m=(0,o.useRef)(!1),{asPath:f}=(0,eL.useRouter)(),_=+e.interest_rate.from,g=(0,o.useMemo)(()=>{let t=[];return e.repayment_procedure.annuity&&t.push({label:"Аннуитетный",value:N.T.annuity}),e.repayment_procedure.differentiated&&t.push({label:"Дифференцированный",value:N.T.differentiated}),t},[e.repayment_procedure]),[v,h]=(0,o.useState)(s),[b,x]=(0,o.useState)(0),[C,k]=(0,o.useState)(d),[T,j]=(0,o.useState)(0),[E,y]=(0,o.useState)([g[0]]),S=(null===(t=E[0])||void 0===t?void 0:t.value)===N.T.annuity?eR(T,C,v):eO(_,T,C,v),L=(0,eB.J)(e,eB.V.Credit,{amount:String(v),term:C}),A=(null===(n=E[0])||void 0===n?void 0:n.value)===N.T.annuity?eA:eP,P=(null===(i=E[0])||void 0===i?void 0:i.value)===N.T.annuity?eI:eM,I=(0,o.useCallback)(e=>{let t=null!=e?e:0;h(t);let n=A(_,t,C);x(Math.round(n)),j(n)},[A,C,_]),M=(0,o.useCallback)(e=>{k(e);let t=A(_,v,e);x(Math.round(t)),j(t)},[v,A,_]),R=(0,o.useCallback)(e=>{let t=null!=e?e:0;x(t),h(Math.round(P(_,t,C).amount)),j(+t)},[P,C,_]);return(0,o.useEffect)(()=>{if(m.current)return;let t=(0,ew.p)(f,"#"),n=+t.amount,i=+t.period;(!n||isNaN(n))&&(n=3e5),(!i||isNaN(i))&&(i=d),+e.amount.from>n&&(n=+e.amount.from),e.amount.to&&+e.amount.to<n&&(n=+e.amount.to),i>d&&(i=d),i<u&&(i=u),h(n),k(i);let l=A(_,n,i);x(Math.round(l)),j(l),m.current=!0},[v,f,e.amount.from,e.amount.to,I,A,b,d,u,_]),(0,o.useMemo)(()=>({amount:v,payment:b,periodValue:C,setPeriod:k,paymentTypeOptions:g,paymentTypeValue:E,setPaymentTypeValue:y,rate:_,amountMin:s,amountMax:c,periodMin:u,periodMax:d,tag:p,handleChangeAmount:I,handleChangePeriod:M,handleChangePayment:R,finalPayment:T,repayment:S,url:L}),[v,b,C,g,E,_,s,c,u,d,p,I,M,R,T,S,L])};var eU=n(88572),eD=n(65737),eK=n(86605),eV=n(96462),eW=n(51469),eH=n(71276),eZ=n(44215),ez=n(89519),eq=n(76410),eG=n.n(eq);function eQ(e){var t,n;let{offer:i,journal:l,offerType:r,questions:s,description:u,banks:p,refererTag:j,offers:E,offersFinuslugi:y}=e,L=(0,S.S0)(),A=(0,eV.a)(x.tE),P=(0,eK.K)({bannersTitle:[x.su.CREDITS_DETAIL],queryParams:A});(0,eU._B)(eU.kv.Credit);let I=eF(i),R=(0,o.useMemo)(()=>p.find(e=>+e.id==+i.bank_id),[p,i.bank_id]),{region:O,town:w}=(0,e_.T)(),B=null===(t=s.find(e=>e.id===C.jg))||void 0===t?void 0:t.questions.filter(e=>C.hU.includes(e.question)).map(e=>({title:e.question,text:e.answer,plainText:(0,_.MK)(e.answer).trim()})),F="Потребительский кредит \xab".concat(i.title,"\xbb от ").concat(null!==(n=null==R?void 0:R.name_r)&&void 0!==n?n:"");return(0,a.jsxs)("main",{className:eG().page,children:[(0,a.jsx)(v.N,{productId:String(i.id),title:F,description:null!=u?u:""}),(0,a.jsx)(eH.o,{}),(0,a.jsx)(eW.g,{questions:null!=B?B:[]}),(0,a.jsx)("div",{className:eG().navigationWrapper,children:(0,a.jsx)(h.t,{children:(0,a.jsx)(c.Oo,{className:eG().breadcrumbs,items:(()=>{var e;let t=(null==w?void 0:w.name_p)||(null==O?void 0:O.name_p)?" в ".concat((null==w?void 0:w.name_p)||(null==O?void 0:O.name_p)):"",n="".concat((null==O?void 0:O.url)?"/reg_".concat(null==O?void 0:O.url):"").concat((null==w?void 0:w.url)?"/".concat(null==w?void 0:w.url):""),l=[{label:"Главная",href:"/"},{label:"Кредиты".concat(t),href:"/potrebitelskie_kredity".concat(n)}];return j&&l.push({label:"".concat(j.name).concat(t),href:"/potrebitelskie_kredity/teg_".concat(j.url).concat(n)}),l.push({label:"".concat(null!==(e=null==R?void 0:R.name)&&void 0!==e?e:i.bank_name," Кредит ").concat(i.title)}),l})()})})}),(0,a.jsxs)(h.t,{children:[(0,a.jsx)(er,{offerType:r,credit:i,isMobile:L,calculator:I,bank:R,bannerUrl:P[x.su.CREDITS_DETAIL]}),(0,a.jsx)(T.G,{data:i,bank:R,offerType:r,pageUrl:Z.u.POTREBITELSKIE})]}),[N.g.PLATFORM,N.g.UNPLATFORM].includes(r)&&(0,a.jsx)(M,{offerType:r,bankName:null==R?void 0:R.name_p}),(0,a.jsx)(eS,{bannerUrl:P[x.su.CREDITS],bankUrl:i.online_application.url,offerType:r,urlGivingCredit:I.url}),R&&(0,a.jsx)(eh,{bank:R,banks:p,currentCreditId:i.id,offers:E,offersFinuslugi:y}),(0,a.jsx)(b.n,{url:"/master_podbora_kredita",mainPageUrl:eu.L,text:"Войдите на Финуслуги и заполните небольшую анкету, а мы подберем для вас несколько кредитов на выбор"}),(0,a.jsx)(g.S,{posts:l.posts,categories:l.ctgs,pageUrl:Z.u.POTREBITELSKIE}),(0,a.jsxs)("div",{className:eG().supportSection,children:[(0,a.jsx)(ez.O,{idSupport:k.Je,Image:e=>(0,a.jsx)(d(),{...e,width:555,height:344,src:f.Z,alt:"фоновое изображение"}),dataLayerPush:eD.l,eventEmitter:()=>window.supportWidget.craftTalk.open()}),(0,a.jsx)(eZ.B,{isAllExpanded:!0,faqBlockTitle:"",Link:e=>(0,a.jsx)(m(),{...e}),dataLayerPush:eD.l,questions:B,eventCategory:"credits_support_block",href:"".concat((0,em.ZR)().mainBaseUrl,"/help/credits"),checkAllText:"Читать все вопросы про кредиты"})]})]})}var eY=n(38422);n(4475);var eJ=n(53850);n(51138),n(96202);var eX=n(37171);let e$=e=>{let{banks:t,offer:n,offerType:i,journal:l,questions:r,description:o,layout:s,refererTag:c,offers:u,offersFinuslugi:d}=e;return(0,a.jsx)(eX.A,{data:s,children:(0,a.jsx)(eQ,{creditTag:null,offerType:i,questions:r,offer:n,journal:l,description:o,banks:t,refererTag:c,fetchFromNewApi:!1,offers:u,offersFinuslugi:d})})};n(42583),n(10661);var e0=n(64596),e6=n(26644),e1=n.n(e6);let e2=e=>{let{inRegion:t,bestOffers:n}=e;return n.length?(0,a.jsxs)("div",{className:e1().bestOffers,children:[(0,a.jsxs)("h2",{className:e1().title,children:["Лучшие предложения по кредитам ",t]}),(0,a.jsx)("div",{className:e1().content,children:(0,a.jsx)("div",{className:e1().contentInner,children:(0,a.jsx)("div",{className:e1().list,children:n.map(e=>(0,a.jsx)(e3,{...e},e.id))})})})]}):null},e3=e=>{let{url:t,logo:n,topCardAdvantage:i,bottomCardAdvantage:l,bankName:r,id:o,description:s}=e;return(0,a.jsxs)("div",{className:e1().card,children:[(0,a.jsxs)("div",{className:e1().cardHeading,children:[(0,a.jsx)("div",{className:e1().cardIcon,children:(0,a.jsx)(d(),{width:56,height:56,src:n,alt:"logo"})}),(0,a.jsxs)("div",{className:e1().cardHeadingContent,children:[(0,a.jsx)("p",{className:e1().cardHeadingSubtitle,children:r?s:""}),(0,a.jsx)("p",{className:e1().cardHeadingTitle,children:r||s})]})]}),(0,a.jsxs)("div",{className:e1().cardAdvantage,children:[(0,a.jsx)("div",{className:e1().captionWrapper,children:(0,a.jsx)("p",{className:e1().cardAdvantageTitle,children:i.title})}),(0,a.jsx)("p",{className:e1().cardAdvantageValue,children:i.value})]}),(0,a.jsxs)("div",{className:e1().cardAdvantage,children:[(0,a.jsx)("p",{className:e1().cardAdvantageTitle,children:l.title}),(0,a.jsx)("p",{className:e1().cardAdvantageValue,children:l.value})]}),(0,a.jsx)(c.zx,{as:"a",className:e1().cardBtn,href:t,children:"Подробнее"})]},o)};var e4=n(66535),e5=n(58484),e7=n(91646);function e9(){return(e9=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(null,arguments)}var e8=function(e){return o.createElement("svg",e9({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none"},e),i||(i=o.createElement("defs",null,o.createElement("clipPath",{id:"a"},o.createElement("path",{fill:"#fff",fillOpacity:0,d:"M0 0h16v16H0z"})))),l||(l=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"}))))},te=n(56790),tt=n(45117),tn=n(65618),ti=n(26616),tl=n(40741),ta=n(23259),tr=n(86992),to=n(26885),ts=n(59084),tc=n.n(ts);let tu=(0,tn.b)(),td=(0,tn.b)(),tp=e=>{var t,n,i;let{terms:l,filter:r,isMobile:s,banksOptions:u,onChangeFilter:d,onClose:p}=e,m=(0,o.useCallback)(()=>{p(),(0,ei.l)(k.Tm,{offset:s?0:-140,position:"top"})},[p,s]),f=(0,o.useCallback)(e=>{"Enter"===e.key&&m()},[m]),_=(0,o.useCallback)(e=>{let t=void 0!==e&&0!==e?Math.abs(e):void 0;tu(()=>{(0,eD.l)({event:"data-event",eventAction:Z.u.POTREBITELSKIE,eventCategory:"filter_catalog",eventLabel:(0,tl.b)(tt.Wk),eventValue:t})}),d({amount:t})},[d]),g=(0,o.useCallback)(e=>{let t=void 0!==e&&0!==e?Math.abs(e):void 0;td(()=>{(0,eD.l)({event:"data-event",eventAction:Z.u.POTREBITELSKIE,eventCategory:"filter_catalog",eventLabel:(0,tl.b)(tt.MC),eventValue:t})}),d({payment:t})},[d]),v=(e,t)=>n=>{let i=[],l=[];if(Array.isArray(n)){var a;i=null==n?void 0:n.map(e=>{let{value:t}=e;return t}),l=null!==(a=null==n?void 0:n.map(e=>{let{label:t}=e;return t}))&&void 0!==a?a:[]}else i=n.value,l=[n.label];d({[e]:i}),(0,eD.l)({event:"data-event",eventAction:Z.u.POTREBITELSKIE,eventCategory:"filter_catalog",eventLabel:(0,tl.b)(t),eventValue:(0,tl.b)(l.join(","))})},h=e=>{if(r[e])return{value:r[e],label:""}};return(0,a.jsxs)("div",{onKeyDown:f,children:[(0,a.jsxs)("div",{className:tc().fields,children:[(0,a.jsx)(tr.P,{value:r.amount,label:tt.Wk,onChange:_,onKeyDown:e=>(0,ti.u)(e,m)}),(0,a.jsx)(tr.P,{value:r.payment,label:tt.MC,onChange:g,onKeyDown:e=>(0,ti.u)(e,m)}),(0,a.jsx)(c.Ph,{label:"Срок",value:h("period"),options:l,onChange:v("period","Срок")}),(0,a.jsx)(c.Ph,{label:"Цель кредита",value:h("purpose"),onChange:v("purpose","Срок"),options:tt.DW}),(0,a.jsx)(c.Ph,{label:"Категория заемщика",value:(null===(t=r.borrowers)||void 0===t?void 0:t.map(e=>({value:e,label:""})))||[],selectedValue:e=>e.length>1?"Выбрано (".concat(e.length,")"):e[0].label,onChange:v("borrowers","Категория заемщика"),options:tt.g_,multiple:!0}),(0,a.jsx)(c.Ph,{multiple:!0,label:"Подтверждение дохода",value:(null===(n=r.incomeProofs)||void 0===n?void 0:n.map(e=>({value:e,label:""})))||[],selectedValue:e=>e.length>1?"Выбрано (".concat(e.length,")"):e[0].label,onChange:v("incomeProofs","Подтверждение дохода"),options:tt.gB}),(0,a.jsx)(c.Ph,{label:"Гарантия возврата денег",value:h("collateral"),onChange:v("collateral","Гарантия возврата денег"),options:tt.qd}),(0,a.jsx)(c.Ph,{label:"Способ получения",value:h("form"),onChange:v("form","Способ получения"),options:tt.zT}),(0,a.jsx)(c.Ph,{multiple:!0,label:"Банки",value:(null===(i=r.banks)||void 0===i?void 0:i.map(e=>({value:e,label:""})))||[],selectedValue:e=>e.length>1?"Выбрано (".concat(e.length,")"):e[0].label,onChange:v("banks","Банки"),options:u})]}),(0,a.jsx)("div",{className:tc().settings,children:(0,a.jsx)("div",{className:tc().settingsLeftBlock,children:(0,a.jsxs)("div",{children:[(0,a.jsx)("h6",{className:tc().settingsTitle,children:"Сортировать"}),(0,a.jsx)("div",{className:tc().radioGroup,children:tt.$m.map(e=>(0,a.jsx)(c.Y8,{name:e.field,onChange:()=>{d({sort:e.field}),(0,eD.l)({event:"data-event",eventAction:Z.u.POTREBITELSKIE,eventCategory:"filter_catalog",eventLabel:(0,tl.b)("Сортировать"),eventValue:(0,tl.b)(e.label)})},checked:e.field===r.sort,className:tc().radio,value:e.field,label:e.label},e.field))})]})})})]})},tm=e=>{let t=(0,ta.I)();(0,o.useEffect)(()=>{e.isOpen&&(0,eD.l)({event:"data-event",eventAction:"show_pop_up_podbor_kredita",eventCategory:Z.u.POTREBITELSKIE})},[e.isOpen]);let n=(0,o.useCallback)(()=>{e.onClose(),(0,ei.l)(k.Tm,{offset:e.isMobile?0:-140,position:"top"})},[e]),i=e=>{(0,eD.l)({event:"data-event",eventAction:e,eventCategory:Z.u.POTREBITELSKIE})},l=e=>{var t;let n=null!==(t=e.currentTarget.textContent)&&void 0!==t?t:"";i("click_button_".concat((0,tl.b)(n)))},r=(0,a.jsxs)("div",{className:tc().footer,children:[t&&(0,a.jsx)(to.Z,{className:tc().adfox,config:t,params:{pp:"ehod",ps:"foam",p2:"hojk"}}),(0,a.jsxs)("div",{className:tc().buttonActions,children:[(0,a.jsx)(c.zx,{className:tc().button,onClick:t=>{l(t),n(),e.onShow()},children:"Показать"}),(0,a.jsx)(c.zx,{variant:"secondary",className:tc().button,onClick:t=>{l(t),e.onDrop()},children:"Сбросить параметры"})]})]});return(0,a.jsx)(te.h,{children:(0,a.jsx)(c.u_,{className:tc().mobilePopup,open:e.isOpen,onClose:e.onClose,footer:{children:r},header:{title:"Все параметры"},size:"l",children:(0,a.jsx)("div",{className:tc().content,children:(0,a.jsx)(tp,{...e})})})})};var tf=n(78846),t_=n(15729);let tg=(e,t)=>{var n,i;let l=(0,t_.z)().unit,a=[];a.push({id:tf.h.amount,label:e.amount?"".concat(e.amount):"Сумма кредита: от ".concat(e.amount||"1 ".concat(l))}),a.push({id:tf.h.payment,label:e.payment?"До ".concat((0,X.uf)(+e.payment)," ").concat(l," в мес"):"Платеж: не имеет значения"});let r=tt.mD.find(t=>e.period===t.value);if(a.push({id:tf.h.period,label:(null==r?void 0:r.value)?null==r?void 0:r.label:"Срок: не имеет значения"}),e.purpose){let t=tt.DW.find(t=>t.value===e.purpose);t&&a.push({id:tf.h.purpose,label:"".concat(null==t?void 0:t.label)})}if(null===(n=e.borrowers)||void 0===n?void 0:n.length){let t=e.borrowers,n=tt.g_.find(e=>e.value===t[0]),i="";i=1===t.length&&n?"иное"===n.label.toLocaleLowerCase()?"Категория заемщика: "+n.label:n.label:"Категория заемщика: (".concat(t.length,")"),a.push({id:tf.h.borrower,label:i})}if(e.incomeProofs&&e.incomeProofs.length){let t=e.incomeProofs,n=tt.gB.find(e=>e.value===t[0]),i="";i=1===t.length&&n?"не требуется"===n.label.toLocaleLowerCase()?"Подтверждение дохода: "+n.label:n.label:"Подтверждение дохода: (".concat(t.length,")"),a.push({id:tf.h.proofIncome,label:"".concat(i)})}if(e.collateral){let t=tt.qd.find(t=>t.value===e.collateral);t&&a.push({id:tf.h.loan,label:"".concat("Не требуется"===t.label?"Гарантия возврата денег: "+t.label:t.label)})}let o=tt.zT.find(t=>t.value===e.form);if(o&&a.push({id:tf.h.form,label:"".concat(o.label)}),null===(i=e.banks)||void 0===i?void 0:i.length){let n=e.banks,i=t.find(e=>{let{value:t}=e;return String(t)===String(n[0])}),l="";l=1===n.length&&i?": ".concat(i.label):" (".concat(n.length,")"),a.push({id:tf.h.bank,label:"Банки".concat(l)})}return a};var tv=n(38919);let th=["nalichnymi","na_1_god","s_zalogom","refinansirovanie","na_kartu","s_plohoj_kreditnoj_istoriej","pod_zalog_nedvizhimosti","bez_spravok"],tb=e=>{let t=(0,o.useMemo)(()=>{let t=(0,tv.g)(e,"url");return th.reduce((e,n)=>{let i=t[n];return void 0!==i&&e.push(i),e},[])},[e]);return(0,o.useMemo)(()=>t,[t])};var tx=n(42968),tC=n(24178),tk=n(22584),tT=n(62637),tj=n(91886),tE=n(47166),ty=n.n(tE);let tN=(0,tn.b)(),tS=(0,tn.b)(),tL=(0,o.memo)(e=>{let{region:t,heading:n,town:i,filter:l,tag:r,subtitle:s,banksOptions:u,tags:d,isMobile:p,isOpenModal:m,onFilterChange:f,onModalOpen:_,onModalClose:g}=e,v=(0,S.cb)(),h=(0,ta.I)(),{push:b}=(0,eL.useRouter)(),x=tb(d),[C,T]=(0,o.useState)(l),j="".concat((0,em.ZR)().trackerBaseUrl,"/click.php?key=f043af323c732a65e8e5&amount=").concat(C.amount),E=(0,o.useCallback)(e=>{(0,eD.l)({event:"data-event",eventAction:e,eventCategory:Z.u.POTREBITELSKIE})},[]),y=(0,o.useCallback)(e=>{let t=void 0!==e&&0!==e?Math.abs(e):void 0;T(e=>{let n={...e,amount:t};return tN(()=>{(0,eD.l)({event:"data-event",eventAction:Z.u.POTREBITELSKIE,eventCategory:"filter_catalog",eventLabel:(0,tl.b)(tt.Wk),eventValue:t}),f(n)}),n})},[f]),N=(0,o.useCallback)(e=>{let t=void 0!==e&&0!==e?Math.abs(e):void 0;T(e=>{let n={...e,payment:t};return tS(()=>{(0,eD.l)({event:"data-event",eventAction:Z.u.POTREBITELSKIE,eventCategory:"filter_catalog",eventLabel:(0,tl.b)(tt.MC),eventValue:t}),f(n)}),n})},[f]),L=(0,o.useRef)([]),A=(0,o.useCallback)(()=>{(0,ei.l)(k.Tm,{offset:v?-140:0,position:"top"})},[v]),{ref:P,isSticky:I}=(0,tT.A)(),M=(0,o.useCallback)(e=>{f({}),b(e,void 0,{shallow:!0})},[f,b]),R=(0,o.useMemo)(()=>x.map(e=>{let n=e.url_redirect||e.url,l=(null==r?void 0:r.url)===n;return{value:(0,tx.h)(Z.u.POTREBITELSKIE,l?void 0:e,t,i),label:e.name,color:l?"black":"default",onChipClick:M}}),[x,null==r?void 0:r.url,t,i,M]),w=(0,o.useMemo)(()=>{let e=tg(C,u);return L.current.length===e.length&&e.every((e,t)=>e.label===L.current[t].label&&e.id===L.current[t].id)?L.current:e},[C,u]),B=(0,o.useMemo)(()=>w.map(e=>{let{label:t,id:n}=e;return{label:t,value:n,color:"default",onChipClick:_}}),[w,_]),F=(0,o.useCallback)(e=>{T({...C,...e})},[C]),U=(0,o.useCallback)(()=>{f({})},[f]),D=(0,o.useCallback)(()=>{f(C)},[C,f]);return(0,tj.rf)(()=>{T(l)},[l]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{children:[(0,a.jsx)(e5.V,{region:t,town:i,title:n,subtitle:s,mainPageUrl:Z.u.POTREBITELSKIE}),(0,a.jsx)(e7.Z,{config:h,params:tt.P3}),(0,a.jsxs)(e4.W2,{className:ty().container,children:[(0,a.jsxs)("div",{ref:P,className:ty().filter,children:[(0,a.jsxs)("div",{className:ty().fields,children:[(0,a.jsx)(tr.P,{label:tt.Wk,value:C.amount,className:ty().field,onChange:y,onKeyDown:e=>(0,ti.u)(e,A)}),(0,a.jsx)(tr.P,{label:tt.MC,value:C.payment,className:ty().field,onChange:N,onKeyDown:e=>(0,ti.u)(e,A)})]}),!v&&(0,a.jsx)("div",{className:ty().chipsRowMobile,children:(0,a.jsx)(tC.i,{chips:R,onParamsClick:_,useLinkChips:!0})}),(0,a.jsx)(c.zx,{onClick:()=>{E("anketa_click"),window.open(j,"_self")},size:"s",className:ty().fillButton,children:"Заполнить анкету"}),I&&(0,a.jsx)(tk.T,{chips:B,onParamsClick:_})]}),(0,a.jsxs)("div",{className:ty().timeCaption,children:[(0,a.jsx)(e8,{}),"Это займёт не более 5 минут"]}),v&&(0,a.jsx)("div",{className:(0,O.Z)(ty().chipsRow),children:(0,a.jsx)(tC.i,{chips:R,onParamsClick:_,useLinkChips:!0})})]})]}),(0,a.jsx)(tm,{filter:C,isMobile:p,terms:tt.mD,isOpen:m,banksOptions:u,onChangeFilter:F,onClose:g,onDrop:U,onShow:D})]})});tL.displayName="CreditsFilter";var tA=n(48909),tP=n(86676),tI=n(1557);let tM=e=>e.credits_group.map(e=>({id:e.id,bankName:e.bank_title,description:e.title,topCardAdvantage:{title:"Сумма",value:(0,X.dN)({from:Number(e.amount.from),to:Number(e.amount.to)})},bottomCardAdvantage:{title:"Ставка",value:"от ".concat((0,X.D$)(+e.interest_rate.from)," %")},logo:e.logo_mob,url:"".concat(Z.u.POTREBITELSKIE,"/").concat(e.url)}));var tR=n(423),tO=n(61929),tw=n(63781),tB=n(93259),tF=n(29849),tU=n(76063),tD=n(60730),tK=n(68263),tV=n.n(tK);let tW=[{title:"Наименование банка",value:"bankName"},{title:"Ежемесячный платёж",value:"paymentValue"},{title:"Ставка",value:"rateValue"},{title:"ПСК",value:"fullPrice"},{title:"Сумма",value:"amountValue"},{title:"Срок кредита",value:"term"}];function tH(e,t){var n,i,l;switch(t){case"bankName":return e.bankName.toLowerCase();case"paymentValue":return e.payment;case"rateValue":return e.rateFrom;case"fullPrice":return null!==(i=null===(n=e.fullPrice)||void 0===n?void 0:n.from)&&void 0!==i?i:0;case"amountValue":return e.amountTo;case"term":return null===(l=e.periodRange)||void 0===l?void 0:l.from;default:throw Error("Dead code branch")}}function tZ(e){let{offers:t}=e,[n,i]=(0,o.useState)("amountValue"),[l,r]=(0,o.useState)("asc"),s=(0,o.useMemo)(()=>(0,tD.k)(t,n,l,tH),[t,n,l]),c=(0,o.useMemo)(()=>s.map(e=>{let{id:t,bankName:n,rateFrom:i,periodRange:l,logo:a,payment:r,currency:o,amountTo:s,amountFrom:c,fullPrice:u}=e,d=(0,X.dN)({from:c,to:s},{currency:o}),p=null!==u?(0,w.W)(u):"",m=r?"от ".concat((0,X.lb)(r)):"",f=(0,ee.ZI)(l.from,l.to);return{id:t,logo:a,name:n,cells:[m,"".concat(i,"%"),p,d,f]}}),[s]);return(0,a.jsx)(tU.D,{className:tV().offers,columns:tW,rows:c,sort:n,sortOrder:l,onSortChange:(e,t)=>{i(e),r(t)}})}var tz=n(93890),tq=n(84452),tG=n(91500);let tQ=(e,t,n,i)=>e&&i&&i.region_page&&(t||i.region_page.region_content&&i.region_page.region_content.length)&&(!t||i.region_page.town_content&&i.region_page.town_content.length)?(t?i.region_page.town_content:i.region_page.region_content).map(i=>({title:(0,tB.Q)(i.title,e,t,n),text:(0,tB.Q)(i.content.map(tO.Rp).join(""),e,t,n)})):[],tY=(e,t,n,i)=>{let l=(0,tB.Q)(e.title?e.title:e.name),a=5+(e?e.id:0)+(t?t.id:0)+(n?n.id:0),r=!1;return"DEFAULT"===e.name&&(l=l.replace(/DEFAULT/g,"Базовый")),n?e.region_page&&e.region_page.town_titles&&e.region_page.town_titles.length?l=(0,tB.Q)(e.region_page.town_titles[a%e.region_page.town_titles.length],t,n,i):(r=i.indexOf(n.id)>=0,l+=" "+(0,tw.k)(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?l=(0,tB.Q)(e.region_page.region_titles[a%e.region_page.region_titles.length],t,n,i):l+=" "+(0,tw.k)(t.name_p)+" "+t.name_p),l};var tJ=n(77624),tX=n(98216),t$=n(65709);async function t0(e){let t=await (0,t$.$u)("Credits.json?".concat("url","=").concat(encodeURIComponent(e)));if(1!==t.length)throw new eJ.dR("Credits tag not found: ".concat(e));return function(e){let{id:t,url:n,title:i,name:l,tag_name:a,text:r,filter:o,disable_filter:s,default:c,region_page:u,bank_region_page:d}=e,p={id:t,url:n,title:i,name:l,tag_name:a,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:i,proof_income:l,loans:a,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!==i&&i.length>0&&(c.borrowers=i),void 0!==l&&(Array.isArray(l)?l.length>0&&(c.incomeProofs=l):c.incomeProofs=[l]),null!=a&&(c.collateral=a.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:i}=u;p.region_page={region_titles:e,town_titles:t,region_content:n,town_content:i}}return p}(t[0])}new(n(32368)).n(t0);var t6=n(12261),t1=n(46079),t2=n(23652);let t3=(0,o.memo)(e=>{let{name:t,description:n,offersCount:i,offers:l,banks:r}=e,o=function(e,t,n,i,l){let{basePath:a,mainBaseUrl:r}=(0,em.ZR)();if(0===i.length)return;let o=(e,t)=>({"@type":"QuantitativeValue",name:"Срок кредита",minValue:e,maxValue:t}),s=(e,t)=>({"@type":"QuantitativeValue",name:"Процентная ставка",minValue:Number(e),maxValue:Number(t)}),c=(e,t,n)=>({"@type":"MonetaryAmount",name:n,minValue:e,maxValue:t,currency:"RUB"}),u=e=>{var t;let n=e.title,i="/".concat(Z.u.POTREBITELSKIE,"/").concat(e.url),a=l.find(t=>-1===e.bank_id?e.bic===Number(t.bic):e.bank_id===Number(t.id));if(void 0===a)throw Error("There is no bank for the credit");let u="string"==typeof a.legal_entities?JSON.parse(a.legal_entities)[0].legal_address:null===(t=a.legal_entities[0])||void 0===t?void 0:t.address,d=o(Number(e.period.from),Number(e.period.to)),p=s(Number(e.interest_rate.from),Number(e.interest_rate.to)),m=c(Number(e.amount.from),Number(e.amount.to),n),f=u?(0,t1.f)(u):void 0,_="".concat(r).concat(i);return{"@type":"Offer",itemOffered:{"@type":"LoanOrCredit",name:n,url:_,feesAndCommissionsSpecification:_,category:"Потребительские кредиты",loanTerm:d,annualPercentageRate:p,amount:m},priceSpecification:{"@type":"PriceSpecification",price:0,priceCurrency:"RUB",valueAddedTaxIncluded:!0},potentialAction:{"@type":"Action",name:"Оформить",url:(0,eB.J)(e,eB.V.Credit)},broker:{"@type":"BankOrCreditUnion",name:a.name,url:"".concat(r,"/banki/").concat(a.url),image:a.logo_mob,telephone:a.phone,address:f}}},d=()=>i.reduce((e,t)=>{let n=u(t);return e.lowPrice=Math.min(e.lowPrice,Number(n.itemOffered.amount.minValue)),e.highPrice=Math.max(e.highPrice,Number(n.itemOffered.amount.maxValue)),e.offers.push(n),e},{lowPrice:1/0,highPrice:0,offers:[]});return(()=>{let{lowPrice:i,highPrice:l,offers:o}=d();return{"@context":"https://schema.org","@type":"Product",name:e,description:t,image:"".concat(r,"/").concat(a,"/images/logo-1200x630.jpg"),offers:{"@type":"AggregateOffer",url:"".concat(r,"/potrebitelskie_kredity"),highPrice:l,lowPrice:i,priceCurrency:"RUB",offerCount:n,offers:o}}})()}(t,n,i,l,r);return void 0===o?null:(0,a.jsx)(t2.V,{schema:o})});t3.displayName="CreditOffersSchema";var t4=n(27480),t5=n(39741),t7=n(30975),t9=n(38090),t8=n(22518),ne=n(31325),nt=n.n(ne);let nn=[(0,a.jsxs)(o.Fragment,{children:[(0,a.jsx)("span",{children:"Войдите на Финуслуги с помощью"}),(0,a.jsx)(t5.i,{})]},0),(0,a.jsx)(o.Fragment,{children:"Заполните анкету, мы подберем предложения специально для вас"},1),(0,a.jsx)(o.Fragment,{children:"Выберите предложение и отправьте заявку в банк — прямо на Финуслугах"},2),(0,a.jsx)(o.Fragment,{children:"Дождитесь одобрения, банк свяжется c вами и расскажет, как получить деньги"},3)],ni=e=>{let{tag:t,credits:n,creditRegion:i,regions:l,banks:r,townDublicates:s,tags:c,rollup:u,partnerOffer:p,expertQuote:b,defaultFilter:x}=e,C=(0,S.S0)(),{asPath:T,query:j}=(0,eL.useRouter)(),E=(0,ta.I)(),[y,N]=(0,o.useState)([]),[L,A]=(0,o.useState)(b),[P,I]=(0,o.useState)(!1),{region:M,town:R}=(0,e_.T)(),[w,B]=(0,o.useState)(!1),[F,U]=(0,o.useState)(Number(j.page)||1),[D,K]=(0,o.useState)(n),V=D.description||"",W=D.subtitle||"",H=(0,o.useCallback)(()=>{I(!0)},[]),z=(0,o.useCallback)(()=>{I(!1)},[]),q=(0,o.useMemo)(()=>{var e,t;return null!==(t=null===(e=T.split("/").find(e=>e.includes("teg_")))||void 0===e?void 0:e.slice(4))&&void 0!==t?t:"DEFAULT"},[T]),[G,Q]=(0,o.useState)(t),Y=(0,t6.iN)(T);(0,tj.rf)(()=>{(0,t9.r5)(Y).then(A)},[Y]),(0,o.useEffect)(()=>{T.includes("purpose")&&(0,ei.l)(k.Tm,{offset:C?0:-100,position:"top"})},[]),(0,eU._B)(eU.kv.Credit),(0,o.useEffect)(()=>{var e;q!==(null!==(e=null==G?void 0:G.url)&&void 0!==e?e:"DEFAULT")&&(0,t$.m6)("credits/tag?".concat("url","=").concat(q)).then(Q),(0,tX.j)()},[T,null==G?void 0:G.url,q]),(0,o.useEffect)(()=>{(0,e0.W)().then(e=>{let t=e.data||void 0;t&&N(tM(t))})},[]);let J=(()=>{let e={...M},t={...R},n=e.deposits_count,i=t.deposits_count,l=c.find(e=>"DEFAULT"===e.name),a=null==l?void 0:l.min_credits_json,r=new Date,o=r.getDate(),u=r.getMonth()+1,d=r.getFullYear(),p=(0,et.$)("".concat(u,"-").concat(o,"-").concat(d)),m="",f=D.count,_=D.title;if(M){let e=s.indexOf((null==R?void 0:R.id)||0)>=0;m=R?" ".concat((0,tw.k)(R.name_p)," ").concat(R.name_p).concat(e?" (".concat(M.name,")"):""):" ".concat((0,tw.k)(M.name_p)," ").concat(M.name_p),f=i||n||12500}if(_){let e={"{min_credits_rate}":"".concat(a||14),"{credits_count}":"".concat(2*f),"{date}":"".concat(o," ").concat(p," ").concat(d,"г.")};return Object.keys(e).forEach(t=>{_=null==_?void 0:_.replace(new RegExp(t),e[t])}),_}return G?tY(G,null!=M?M:null,null!=R?R:null,s):"Кредиты".concat(m," с максимальной ставкой ").concat(a||14,"% годовых на сегодня ").concat(o," ").concat(p," ").concat(d,"г. ").concat(2*f," aктуальных депозитов – открыть вклад").concat(m," на Финуслуги.ру")})(),{filter:X,setFilter:$}=function(){let{query:e,push:t}=(0,eL.useRouter)(),{amount:n,payment:i,period:l,purpose:a,borrowers:r,incomeProofs:s,collateral:c,form:u,banks:d,sort:p,order:m,...f}=e,_=(0,o.useMemo)(()=>(function(e){let{amount:t,payment:n,period:i,purpose:l,borrowers:a,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 i&&(p.period=Number(i)),"string"==typeof l&&(p.purpose=l),"string"==typeof a&&(p.borrowers=(0,t6.SP)(a)),"string"==typeof r&&(p.incomeProofs=(0,t6.SP)(r)),"string"==typeof o&&(p.collateral=o),"string"==typeof s&&(p.form=s),"string"==typeof c&&(p.banks=(0,t6.SP)(c)),"string"==typeof u&&(p.sort=u),"string"==typeof d&&(p.order=d),p})({amount:n,payment:i,period:l,purpose:a,borrowers:r,incomeProofs:s,collateral:c,form:u,banks:d,sort:p,order:m}),[n,i,l,a,r,s,c,u,d,p,m]),g=(0,o.useRef)(f),v=(0,o.useRef)(_),h=(0,o.useRef)(t);return g.current=f,v.current=_,h.current=t,{filter:_,setFilter:(0,o.useCallback)(e=>{var t,n,i,l,a,r,o,s,c,u,d,p,m;if((t=v.current).amount===e.amount&&t.payment===e.payment&&t.period===e.period&&t.purpose===e.purpose&&(null===(n=t.borrowers)||void 0===n?void 0:n.length)===(null===(i=e.borrowers)||void 0===i?void 0:i.length)&&(null===(l=t.borrowers)||void 0===l?void 0:l.slice().sort().toString())===(null===(a=e.borrowers)||void 0===a?void 0:a.slice().sort().toString())&&(null===(r=t.incomeProofs)||void 0===r?void 0:r.length)===(null===(o=e.incomeProofs)||void 0===o?void 0:o.length)&&(null===(s=t.incomeProofs)||void 0===s?void 0:s.slice().sort().toString())===(null===(c=e.incomeProofs)||void 0===c?void 0:c.slice().sort().toString())&&t.collateral===e.collateral&&t.form===e.form&&(null===(u=t.banks)||void 0===u?void 0:u.length)===(null===(d=e.banks)||void 0===d?void 0:d.length)&&(null===(p=t.banks)||void 0===p?void 0:p.slice().sort().toString())===(null===(m=e.banks)||void 0===m?void 0:m.slice().sort().toString())&&t.sort===e.sort&&t.order===e.order)return!1;let f={...function(e){let{amount:t,payment:n,period:i,purpose:l,borrowers:a,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!==i&&(p.period=String(i)),void 0!==l&&(p.purpose=String(l)),void 0!==a&&(p.borrowers=(0,t6.ln)(a)),void 0!==r&&(p.incomeProofs=(0,t6.ln)(r)),void 0!==o&&(p.collateral=o),void 0!==s&&(p.form=String(s)),void 0!==c&&(p.banks=(0,t6.ln)(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},[])}}(),ee=(0,o.useMemo)(()=>({...x,...G.filter,...X}),[x,G,X]),en=(0,o.useMemo)(()=>(0,tJ.n)(r,ee.banks),[r,ee.banks]),el=(0,o.useMemo)(()=>u.reduce((e,t)=>{let{credits:n}=t;return[...e,...n]},[]),[u]),ea=null==M?void 0:M.url,er=null==R?void 0:R.url,eo=(0,o.useCallback)(async e=>{U(e),B(!0);try{let t=await (0,eY.lQ)({tag:G.url,region:ea,town:er,page:e,pageSize:tt.BM,filter:ee},el);e>1?K(e=>({...e,...t,offers:[...e.offers,...t.offers]})):K(t)}finally{B(!1)}},[G,ea,er,ee,el]);(0,tj.rf)(()=>{eo(1)},[eo]);let{unifiedOffers:es,unifiedPartnerOffers:ec}=(0,o.useMemo)(()=>(0,tP.I)(ee,r,D.offers,p),[ee,r,D,p]),eu=(0,o.useMemo)(()=>(function(e){let{credits:t,creditTags:n,creditRegion:i,regions:l,banks:r,tag:o,region:s,town:c,townDublicates:u=[]}=e,d=Z.u.POTREBITELSKIE,p="Кредиты",m="кредитов",f=[],g=(0,tq.V)({offers:t,getBankKey:e=>e.bankId,getAmount:e=>e.amountTo,getRate:e=>e.rateTo}).slice(0,10);g.length>2&&f.push({title:(0,tB.Q)("Рейтинг ".concat(m," ").concat(s||c?(0,tw.k)(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,a.jsx)(tZ,{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,tB.Q)(e.title,s,c,u),text:(0,a.jsx)(_.Ln,{data:(0,tB.W)(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,tB.Q)(e.title,s,c,u),text:(0,a.jsx)(_.Ln,{data:(0,tB.W)(e,s,c,u,void 0,o).content})})});let v=tQ(s,c,u,o);v&&v.length&&v.forEach(e=>{f.push({title:(0,tB.Q)(e.title,s,c,u),text:(0,a.jsx)(_.Ln,{data:[{type:tO.yB.Html,data:{html:e.text}}]})})}),f.push(...(0,tG.a)(d,l,o,s,c,{nominativeCase:p,genitiveCase:m}));let h=n.reduce((e,t)=>{if(void 0===t.url_redirect){let n=(0,tx.h)(d,t,s,c),i=(0,tz.q9)(n,t.name);e.push(i)}return e},[]);f.push({title:"Виды ".concat(m),text:(0,a.jsx)(tz.oP,{children:h})});let b=(()=>{if(0===r.length)return[];let e=i?i.credit_interest_rates:[],t=r.filter(t=>e.some(e=>(e.fk_id||e.fk_id)===t.id)),n=t.filter(e=>tR.VZ.includes(e.url)),l=t.filter(e=>!tR.VZ.includes(e.url)),a=(0,tF.o)(n,5),u=(0,tF.o)(l,7),d=(e,t)=>{var n;let i=(null===(n=t.region_ids)||void 0===n?void 0:n.length)?[s,c]:[void 0,void 0],l=(0,tx.h)("banki/".concat(t.url),(null==o?void 0:o.bank_region_page)?o:void 0,...i);return"".concat(e).concat(l)};return[...a,...u].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:p," ").concat(e.name_r," ").concat(s&&(null===(t=e.region_ids)||void 0===t?void 0:t.length)?(0,tw.k)(c?c.name:s.name)+" "+(c?c.name_p:s.name_p):""),i=d((0,em.ZR)().mainBaseUrl,e);return(0,tz.XM)(i,n)})})();return b.length>0&&f.push({title:"".concat(p," от банков"),text:(0,a.jsx)(tz.oP,{children:b})}),(()=>{let e=new Set;return f.filter(t=>{let{title:n}=t,i=e.has(n);return i||e.add(n),!i})})()})({credits:es,creditTags:c,creditRegion:i,regions:l,banks:r,tag:G,region:M,town:R,townDublicates:s}),[r,c,es,M,i,l,G,R,s]),ed=(null==R?void 0:R.name_p)||(null==M?void 0:M.name_p)?" в ".concat((null==R?void 0:R.name_p)||(null==M?void 0:M.name_p)):"",{mainBaseUrl:ep}=(0,em.ZR)(),ef=(0,o.useCallback)((e,t)=>{$({...ee,sort:e,order:t})},[$,ee]),eg="DEFAULT"!==G.tag_name?G.name:"Потребительские кредиты",ev=(0,o.useMemo)(()=>null!==p?[...D.offers,p]:D.offers,[D,p]);return(0,a.jsxs)("main",{className:nt().page,children:[(0,a.jsx)(v.N,{title:J,description:V}),(0,a.jsx)(tI.C,{title:eg,tag:G,inRegion:ed,pageUrl:Z.u.POTREBITELSKIE,pageTitle:"Кредиты"}),(0,a.jsx)(eH.o,{}),(0,a.jsx)(t3,{name:eg,description:V,offersCount:D.count,offers:ev,banks:r}),(0,a.jsx)(h.t,{className:nt().filterContainer,children:(0,a.jsx)(tL,{region:M,town:R,heading:eg,subtitle:W,filter:ee,tag:G,tags:c,banksOptions:en,isMobile:C,isOpenModal:P,onFilterChange:$,onModalOpen:H,onModalClose:z})}),(0,a.jsx)(t4.C,{steps:nn}),(0,a.jsx)(tA.K,{pageName:Z.u.POTREBITELSKIE,unifiedOffers:es,unifiedPartnerOffers:ec,sort:ee.sort,sortOrder:ee.order,adFoxConfig:E,subtitle:W,region:M,town:R,credits:D,isLoading:w,page:F,rollup:el,onChangeSort:ef,onChangePage:eo,onFilterModalOpen:H}),(0,a.jsx)("section",{className:(0,O.Z)(nt().sectionWrapper,nt().whiteBackground),children:(0,a.jsx)(h.t,{children:(0,a.jsx)(e2,{bestOffers:y,inRegion:ed})})}),void 0!==L&&(0,a.jsx)(t8.c,{quote:L}),(0,a.jsx)(t7.n,{type:"bank"}),(0,a.jsx)(eZ.B,{isAllExpanded:!0,faqBlockTitle:"",Link:e=>(0,a.jsx)(m(),{...e}),dataLayerPush:eD.l,questions:eu,eventCategory:"credits_support_block",href:"".concat(ep,"/help/credits"),checkAllText:"Читать все вопросы про кредиты"}),i&&(0,a.jsx)("section",{className:(0,O.Z)(nt().sectionWrapper,nt().sectionGray),children:(0,a.jsx)(g.S,{posts:i.posts,pageUrl:Z.u.POTREBITELSKIE,categories:[]})}),(0,a.jsx)(ez.O,{idSupport:k.Je,Image:e=>(0,a.jsx)(d(),{...e,width:555,height:344,src:f.Z,alt:"фоновое изображение"}),dataLayerPush:eD.l,eventEmitter:()=>window.supportWidget.craftTalk.open()})]})};n(92171),n(58712),n(35388),n(27714);let nl=e=>{let{tag:t,banks:n,credits:i,creditRegion:l,tags:r,rollup:o,partnerOffer:s,layout:c,root:u,expertQuote:d,defaultFilter:p}=e;return(0,a.jsx)(eX.A,{data:c,withLocationConfirm:!0,children:(0,a.jsx)(ni,{tag:t,regions:u.regions,banks:n,townDublicates:u.town_dublicates,credits:i,creditRegion:l,tags:r,rollup:o,partnerOffer:s,expertQuote:null!=d?d:void 0,defaultFilter:p})})};var na=n(28254),nr=n(80330),no=!0,ns=(0,o.memo)(function(e){var t,n;return(0,a.jsx)(r.sM,{children:e.isShowcase?(0,a.jsx)(na.p,{region:null!==(t=e.region)&&void 0!==t?t:void 0,town:null!==(n=e.town)&&void 0!==n?n:void 0,children:(0,a.jsx)(nl,{...e})}):(0,a.jsx)(nr.M,{children:(0,a.jsx)(e$,{...e})})})})},77679:function(e){e.exports={agreementBlock:"EsiaAgreement_agreementBlock__5WEss",link:"EsiaAgreement_link__NDpUV"}},31325:function(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"}},26644:function(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"}},47166:function(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"}},59084:function(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"}},76410:function(e){e.exports={page:"CreditsDetail_page__xr76u",breadcrumbs:"CreditsDetail_breadcrumbs__YIK6Z",list:"CreditsDetail_list__GM2Lp",settings:"CreditsDetail_settings__yAHPK",supportSection:"CreditsDetail_supportSection__bW6de",pickerSection:"CreditsDetail_pickerSection__hz_ol"}},26905:function(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"}},97265:function(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"}},43500:function(e){e.exports={button:"MainButton_button__FCI2Y",buttonLink:"MainButton_buttonLink__Xw6WW",buttonIcon:"MainButton_buttonIcon__E_yD6"}},52089:function(e){e.exports={container:"CreditWhereApplyLoanSteps_container__qbNFw"}},67999:function(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"}},68263:function(e){e.exports={offers:"styles_offers__GZ00j"}}},function(e){e.O(0,[5249,2935,6832,9705,1261,7359,3996,4457,5059,386,2047,709,3570,3091,1412,1193,2888,9774,179],function(){return e(e.s=55821)}),_N_E=e.O()}]);