(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),n(22504)},77726:function(e,t,n){"use strict";n.d(t,{T:function(){return i},Z:function(){return p}});var l,i,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"}};(l=i||(i={})).blue="blue",l.grey="var(--color-black-300)",l.purple="var(--color-purple-600)";let p=e=>{let{className:t,onLinkClick:n,linkColor:l="blue",startText:i="Регистрируясь через Госуслуги"}=e;return(0,a.jsxs)("div",{style:{"--link-color":l},className:(0,r.Z)(u().agreementBlock,t),children:[i,", вы подписываете своей электронной подписью"," ",(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 i},hU:function(){return l},jg:function(){return a}});let l=["Каналы погашения","Как я получу свои деньги?","Могу ли я получить предварительное одобрение в одном банке?","Может ли банк в итоге отказать мне в кредите, если предварительно его одобрил?","Как я узнаю, что банк одобрил мне кредит?"],i=["Могу ли я получить предварительное одобрение в одном банке?","Как повысить кредитный рейтинг?"],a=102},74203:function(e,t,n){"use strict";n.d(t,{G:function(){return a},L:function(){return i}});var l=n(57696);let i=n(73897).u.POTREBITELSKIE,a=[{id:1,label:"Условия",name:l.yU.conditions},{id:2,label:"Требования",name:l.yU.requirements},{id:3,label:"Погашения",name:l.yU.redemption},{id:4,label:"Каналы погашения",name:l.yU.repaymentChannels}]},57503:function(e,t,n){"use strict";n.d(t,{G:function(){return d}});var l=n(85893),i=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,i.useMemo)(()=>(0,o.gv)(t),[t]),l=(0,i.useMemo)(()=>s.G.filter(e=>n[e.name].some(e=>(0,c.B)(e.value))),[n]);return{tabsContent:n,tabsList:l}},d=(0,i.memo)(e=>{var t,n;let{data:i,bank:o,offerType:s,pageUrl:c,className:d,withoutFullInfoLink:p}=e,{tabsContent:m,tabsList:f}=u({data:i});return(0,l.jsx)(a.z,{className:d,scrollBlockId:r.q6,pageUrl:c,seoText:(null==i?void 0:i.short_description)&&(null==i?void 0:i.short_description.length)>5?null==i?void 0:i.short_description:void 0,title:"О кредите",offerType:s,offerUpdateData:null==i?void 0:i.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 i}});var l=n(77019);function i(e,t){return e.cards_group.map(e=>{let n=(0,l.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 l,i,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(41664),d=n.n(u),p=n(73172),m=n(84444),f=n(19438),_=n(45392),g=n(89504),v=n(7162),h=n(57503),b=n(25675),x=n.n(b),C=n(54663),k={src:"/kredity/assets/_next/static/media/banner-1.6590dcb3.svg",height:230,width:300,blurWidth:0,blurHeight:0},T={src:"/kredity/assets/_next/static/media/banner-2.4e5dff1a.svg",height:208,width:301,blurWidth:0,blurHeight:0},j={src:"/kredity/assets/_next/static/media/banner-7.8a2298b9.svg",height:230,width:301,blurWidth:0,blurHeight:0},E=n(17950),y=n(54228),N=n(26905),S=n.n(N);let L=[{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:T,text:"Привяжите Госуслуги и подтвердите документы через Тинькофф ID или у представителя Финуслуг"},{id:3,image:j,text:"Отправьте заявку на кредит.\xa0Деньги будут переведены банком на кошелёк Финуслуг"},{id:4,image:k,text:"Вывести деньги к себе на счет в любом банке можно без комиссий через СБП"}],A=[{id:1,image:T,text:"Войдите на Финуслуги с помощью своего аккаунта Госуслуг"},{id:2,image:j,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:"Дождитесь звонка или СМС от банка и выберите офис для получения кредита. Получите кредит"}],P=(0,o.memo)(e=>{let{offerType:t,bankName:n=""}=e,l=(0,y.S0)(),i=t===E.g.PLATFORM?L:A;return(0,a.jsxs)("section",{id:C.Hf,className:S().container,children:[(0,a.jsxs)("h2",{className:S().title,children:[(0,a.jsxs)("span",{children:["Как оформить кредит в ",n]})," ",(0,a.jsx)("span",{className:S().ebaniText,children:"Финуслугах"})]}),(0,a.jsx)("div",{className:S().sliderContainer,children:(0,a.jsx)(c.iR,{navigation:!l,navigationPlacement:"outside",navigationSize:"m",navigationVariant:"primary",options:{slidesPerView:l?1:3,spaceBetween:l?16:32,centeredSlides:l},pagination:!0,children:i.map(e=>(0,a.jsxs)(c.wI,{className:S().bannerCard,children:[(0,a.jsxs)("span",{className:S().badge,children:["Шаг ",e.id]}),(0,a.jsx)("p",{className:S().text,children:e.text}),(0,a.jsx)(x(),{width:300,height:208,alt:"banner"+e.id,src:e.image})]},e.id))})})]})});P.displayName="CreditHowApplyLoanSteps";var R=n(59194),I=n(86010),M=n(77019),O={src:"/kredity/assets/_next/static/media/app-qr-credits-detail.824367b9.svg",height:256,width:256,blurWidth:0,blurHeight:0},w=n(24443),B=n(28644),F=n(26024),D=n(77726),U=n(90999),K=n(72798),V=n(59455),H=n(73897),W=n(39918),Z=n(43500),q=n.n(Z);let z={[E.g.PLATFORM]:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(x(),{src:V.Z,alt:"",className:q().buttonIcon})," Войти через Госуслуги"]}),[E.g.REFERAL]:"Оформить на сайте банка",[E.g.UNPLATFORM]:"Оформить кредит",[E.g.MASS]:"Подобрать кредит"},G={[E.g.UNPLATFORM]:"Oformit onlayn",[E.g.REFERAL]:"Oformit na sayte banka",[E.g.MASS]:"oformit_online_seo"},Q=(0,o.memo)(e=>{let{href:t,offerType:n,creditId:l}=e;return(0,a.jsx)(c.zx,{rel:"nofollow sponsored",as:"a",href:t,target:"_blank",className:q().button,onClick:()=>{n!==E.g.PLATFORM&&(0,W.D)({eventCategory:H.u.POTREBITELSKIE,eventAction:W.i.button,eventActionText:G[n],eventLabel:l,url:t})},children:z[n]})});Q.displayName="MainButton";var Y=n(94466);let X=(e,t,n)=>t&&e<t?"Минимальная сумма - ".concat((0,Y.uf)(t)," ₽"):n&&e>n?"Максимальная сумма - ".concat((0,Y.uf)(n)," ₽"):void 0;var J=n(41262),$=n(66566),ee=n(6584),et=n(79375),en=n(93478),el=n(97265),ei=n.n(el);let ea=e=>{var t,n,l,i,r,s;let{offerType:u,bannerUrl:d,bank:p,credit:m,isMobile:_,calculator:g}=e,[v,h]=(0,o.useState)(!1),{amount:b,periodValue:x,paymentTypeOptions:k,paymentTypeValue:T,setPaymentTypeValue:j,periodMax:y,periodMin:N,tag:S,handleChangePeriod:L,repayment:A,amountMax:P,amountMin:V,url:Z}=g,q=(0,et.h)(Z),z=(null===(t=T[0])||void 0===t?void 0:t.value)===E.T.differentiated?E.T.differentiated:E.T.annuity,G=(0,J.S_)(x),el=(0,o.useRef)(null),ea=(0,o.useRef)(null),er=X(b,V,P),eo=(0,o.useMemo)(()=>({values:x,max:y,min:N===y?N-1:N,onChange:e=>{e=null!=e?e:N,N!==y&&L(e)},step:1,ticks:[{label:(0,J.H3)(N),value:N},{label:(0,J.H3)(y),value:y}],unit:[ee.mp.ONE,ee.mp.FEW,ee.mp.MANY]}),[L,y,N,x]),es=(0,o.useMemo)(()=>[{id:1,label:G},{id:2,label:"".concat(b||"1 ₽")}],[b,G]),ec=(0,o.useCallback)(()=>{var e;_&&el.current&&(h(!0),(0,W.D)({eventCategory:H.u.POTREBITELSKIE,eventAction:W.i.popup,eventActionText:"edit_settings"}),setTimeout(()=>{el.current&&(0,en.l)(el.current,{position:"top"})},300)),_||null===(e=ea.current)||void 0===e||e.focus()},[_]),eu=(0,o.useCallback)(e=>{e&&((0,W.D)({eventCategory:H.u.POTREBITELSKIE,eventAction:W.i.filterCatalog,eventLabel:"Порядок погашения",eventValue:e.label}),j([e]))},[j]),ed=(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,$.$)("".concat(n,"-").concat(t,"-").concat(l)))},[]),ep=(0,o.useMemo)(()=>{let e=[],t=m.full_price;if(t){let n=m.interest_rate;e.push({label:"ПСК",value:(0,M.W)(t),description:"ПСК (полная стоимость кредита) — это процентная ставка, отражающая все ваши затраты по кредиту за год. ПСК включает не только проценты, но и сопутствующие платежи.\n    Информация на сайте носит справочный характер. Указанные значения ПСК получены из открытых источников. Актуальная и точная информация будет содержаться в вашем кредитном договоре."},{label:"Процентная ставка",value:(0,Y.sz)(Number(n.from),Number(n.to))})}e.push({label:"Срок",value:"".concat((0,J.S_)(x))});let n=k.length>1?z:null;return n&&e.push({label:"Платеж",value:n===E.T.annuity?"Аннуитетный":"Дифференцированный",description:(0,a.jsx)("div",{className:ei().tooltipContent,children:(0,a.jsx)(F.a,{type:n})})}),e},[k.length,z,m.full_price,m.interest_rate,x]),em=e=>{let t=u===E.g.MASS||u===E.g.REFERAL?C.VT:C.Hf;(0,W.D)({eventCategory:H.u.POTREBITELSKIE,eventAction:W.i.button,eventActionText:e}),(0,en.l)(t,{offset:_?0:-100,position:"top"})},ef=e=>{(0,W.D)({eventCategory:H.u.POTREBITELSKIE,eventAction:W.i.button,eventActionText:e}),(0,en.l)(C.dM,{offset:_?0:-100,position:"top"})},e_=u===E.g.MASS||u===E.g.REFERAL?"Где оформить кредит":"Как оформить кредит";return(0,a.jsxs)(f.t,{className:(0,I.Z)(ei().container,ei().containerFull),children:[(0,a.jsx)(U.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:H.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:_,isSmall:i,tagTheme:"purple",className:ei().promo}),(0,a.jsxs)("div",{className:ei().left,children:[(0,a.jsx)(w.y,{isMobile:!!_,title:"Настройки кредита",pageUrl:H.u.POTREBITELSKIE,infoLink:{isShow:!_,text:"Подробнее о кредите",idScrollBlock:C.q6,offPadding:!0,widthMaxContent:!0},items:[{elements:[{type:"moneyInput",props:{label:"Сумма",value:b,inputRef:ea,onChange:e=>{(0,W.D)({eventCategory:H.u.POTREBITELSKIE,eventAction:W.i.filterCatalog,eventLabel:"Сумма",eventValue:String(e)})},caption:er,state:er?"error":void 0,size:"l"}}]},(null===(n=T[0])||void 0===n?void 0:n.value)?{elements:[{type:"inputRange",props:{label:"Срок погашения",...eo}}]}:null,{elements:[{type:"select",isHidden:!T||k.length<=1,desription:(0,a.jsx)(F.a,{className:ei().typeDescription,type:null===(l=g.paymentTypeValue[0])||void 0===l?void 0:l.value}),props:{label:"Порядок погашения",options:k,onChange:eu,value:T,size:"l"}}]}],chips:es,isShowChips:_&&!!(null==es?void 0:es.length)&&!v,isExpandSettings:v,onToggleSettings:()=>h(e=>!e)}),(0,a.jsx)(K.S,{qr_image:O,bannerUrl:d,isSmall:!0,className:ei().qrDesc})]}),(0,a.jsxs)("div",{className:ei().right,children:[(0,a.jsx)(B.y,{captionTitle:ed,pageUrl:H.u.POTREBITELSKIE,onEdit:ec,amount:b,disclaimer:"Предварительные условия. Не оферта",tag:S,repayment:A,footerActions:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(Q,{href:q,offerType:u,creditId:m.id}),(0,a.jsx)(c.zx,{variant:"secondary",className:ei().button,onClick:()=>em(e_),children:e_}),(0,a.jsx)(c.zx,{variant:"purple",appearance:"ghost",size:"s",label:"Не подходит предложение?",className:ei().adviceLink,iconRight:(0,a.jsx)(R.IconFdsArrowUpRightSmallO,{}),onClick:()=>ef("Не подходит предложение")})]}),agreement:u===E.g.PLATFORM&&(0,a.jsx)(D.Z,{onLinkClick:e=>{let{url:t,text:n}=e;(0,W.D)({eventCategory:H.u.POTREBITELSKIE,eventAction:W.i.link,eventActionText:n,url:t})}}),valuesList:ep}),(0,a.jsx)(K.S,{qr_image:O,bannerUrl:d,isSmall:!0,className:ei().qrMobile})]})]})};var er=n(13442),eo=n(23056),es=n(84135),ec=n(74203),eu=n(32244),ed=n(65573),ep=n(84053),em=n(44735),ef=n(94347),e_=n(67999),eg=n.n(e_);let ev=(0,o.memo)(e=>{let{bank:t,banks:n,currentCreditId:l,offers:i,offersFinuslugi:r,className:c}=e,{town:u,region:d}=(0,ef.T)(),[p,m]=(0,o.useState)(),_=(0,o.useCallback)(()=>{m(void 0)},[]),v=(0,o.useCallback)(e=>{(0,W.D)({eventCategory:H.u.POTREBITELSKIE,eventAction:W.i.link,eventActionText:e.title,eventLabel:e.id,url:e.url})},[]),h=(0,o.useMemo)(()=>{let e=i?i.filter(e=>e.id!==l):[];return(0,eu.$)({productList:e,anotherList:e,count:g.NU})},[i,l]),b=(0,o.useMemo)(()=>{let e=null!=r?r:[];return(0,eu.$)({productList:e,anotherList:e,count:g.wo-h.length})},[h.length,r]),x=(0,o.useMemo)(()=>({bankList:h.map(e=>(0,ed.v)({banks:[t],credit:e,isPlatform:!0})),finuslugiList:b.map(e=>(0,ed.v)({banks:n,credit:e,isPlatform:!0}))}),[t,n,h,b]),k=(0,o.useCallback)(e=>{if(!e)return;let t=[h,b].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)&&void 0!==n?n:"",logo:e.logo,url:null!==(l=e.url)&&void 0!==l?l:""}}},[h,b]),T=(0,o.useMemo)(()=>{let e=null;return p&&(e=(0,s.A)(p)),e},[p]),j=(0,o.useCallback)(e=>{m(k(e)),e&&(0,W.D)({eventCategory:H.u.POTREBITELSKIE,eventAction:W.i.popup,eventActionText:e.title,eventLabel:e.id})},[k]),E=void 0!==d?"/".concat(em.ON).concat(d.url).concat(void 0!==u?"/".concat(u.url):""):"",y="".concat((0,ep.ZR)().mainBaseUrl,"/banki/").concat(t.url,"/potrebitelskie_kredity").concat(E);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("section",{id:C.Tm,className:(0,I.Z)(eg().container,c),children:[(0,a.jsx)("h3",{className:eg().title,children:"Другие кредитные предложения"}),(0,a.jsxs)(f.t,{children:[!!x.bankList.length&&(0,a.jsxs)("section",{className:eg().offersListContainer,children:[(0,a.jsxs)("p",{className:eg().listTitle,children:["Кредиты онлайн от ",t.name]}),x.bankList.map(e=>(0,a.jsx)(o.Fragment,{children:(0,a.jsx)(eo.g,{className:eg().listItem,data:e,eventCategory:ec.L,text:"Подать заявку",onDetailInfoClick:j,onClick:v},e.url)},e.id)),(0,a.jsx)(er.j,{offPadding:!0,text:"Bсе предложения от банка",href:y,target:"_blank",iconColor:"light",mainPageUrl:H.u.POTREBITELSKIE})]}),!!x.finuslugiList.length&&(0,a.jsxs)("section",{className:eg().offersListContainer,children:[(0,a.jsx)("p",{className:eg().listTitle,children:"Кредиты онлайн на Финуслугах"}),x.finuslugiList.map(e=>(0,a.jsx)(o.Fragment,{children:(0,a.jsx)(eo.g,{className:eg().listItem,data:e,eventCategory:ec.L,text:"Подать заявку",onClick:v,onDetailInfoClick:j},e.url)},e.id)),(0,a.jsx)(er.j,{offPadding:!0,text:"Bсе предложения на Финуслугах",href:"/potrebitelskie_kredity",target:"_blank",iconColor:"light",mainPageUrl:H.u.POTREBITELSKIE})]})]})]}),(0,a.jsx)(es.h,{data:p,isOpen:!!p,onClose:_,mainPageUrl:ec.L,offerType:T})]})});ev.displayName="CreditsList";var eh=n(17722),eb=n(94781),ex=n(61043),eC=n(93842),ek=n(7283),eT=n(64062),ej=n(6852),eE=n(52089),ey=n.n(eE);let eN=(0,o.memo)(e=>{let{bannerUrl:t,bankUrl:n,offerType:l,urlGivingCredit:i}=e,r=(0,y.S0)(),s=(0,ej.S)(),{lkBaseUrl:c}=(0,ep.ZR)(),u=(0,o.useMemo)(()=>[{id:4,image:eC.Z,text:"Перейдите на сайт банка, чтобы оформить заявку",buttonText:"Оформить на сайте банка",link:n,types:[E.g.REFERAL]},{id:1,image:eh.Z,text:l===E.g.REFERAL?"Этот кредит сейчас нельзя открыть через&#160;Финуслуги":"Этот кредит сейчас нельзя открыть онлайн&#160;на&#160;Финуслугах",buttonText:"Посмотреть кредиты на Финуслугах",link:"/potrebitelskie_kredity",types:[E.g.REFERAL]},{id:6,image:eh.Z,text:"Этот кредит сейчас нельзя открыть онлайн&#160;на&#160;Финуслугах",buttonText:"Подобрать кредит",link:i,types:[E.g.MASS]},{id:2,image:eb.Z,text:"Чтобы оформить кредит, обратитесь&#160;в банк",link:"",types:[E.g.MASS]},{id:3,image:ex.Z,text:"Оформите кредит на сайте <br /> Финуслуг",buttonText:"Оформить через Финуслуги",link:"".concat(c,"/registration?returnTo=%2Fcredits%2Fnew%3FskipName%3Dtrue%26registrationMode%3Dphone"),types:[E.g.PLATFORM,E.g.UNPLATFORM]},{id:5,image:ek.Z,text:"В мобильном приложении <br /> Финуслуг",buttonText:"Скачать приложение",types:[E.g.PLATFORM,E.g.UNPLATFORM],link:t}].filter(e=>e.types.find(e=>e===l)&&!(e.link===t&&s)),[n,t,s,c,l,i]);return(0,a.jsx)("div",{className:ey().container,children:(0,a.jsx)(eT.B,{title:"Где оформить кредит",pageUrl:H.u.POTREBITELSKIE,id:C.VT,isMobile:r,slides:u,offerType:l})})});eN.displayName="CreditWhereApplyLoanSteps";var eS=n(11163);let eL=(e,t,n)=>{if(!e)return t/n;let l=e/12/100;return l*(1+l)**n/((1+l)**n-1)*t},eA=(e,t,n)=>e?t/n+e/12/100*t:t/n,eP=(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}},eR=(e,t,n)=>{if(!e)return{amount:t*n,payment:t};let l=e/12/100,i=t/(l+1/n);return{amount:i,payment:t/(n*l+1)+i*l}},eI=(e,t,n)=>e*t-n,eM=(e,t,n,l)=>{let i=e/12/100;return(l*i+t-t*i*(n-1)/2)*n-l};var eO=n(82080),ew=n(87994);let eB=e=>{var t,n,l,i,a,r;let s=Number(null!==(i=e.amount.from)&&void 0!==i?i: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,eS.useRouter)(),_=+e.interest_rate.from,g=(0,o.useMemo)(()=>{let t=[];return e.repayment_procedure.annuity&&t.push({label:"Аннуитетный",value:E.T.annuity}),e.repayment_procedure.differentiated&&t.push({label:"Дифференцированный",value:E.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),[y,N]=(0,o.useState)([g[0]]),S=(null===(t=y[0])||void 0===t?void 0:t.value)===E.T.annuity?eI(T,C,v):eM(_,T,C,v),L=(0,ew.Jf)(e,(0,ew.fn)(),{amount:String(v),term:C}),A=(null===(n=y[0])||void 0===n?void 0:n.value)===E.T.annuity?eL:eA,P=(null===(l=y[0])||void 0===l?void 0:l.value)===E.T.annuity?eP:eR,R=(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,_]),I=(0,o.useCallback)(e=>{k(e);let t=A(_,v,e);x(Math.round(t)),j(t)},[v,A,_]),M=(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,eO.p)(f,"#"),n=+t.amount,l=+t.period;(!n||isNaN(n))&&(n=3e5),(!l||isNaN(l))&&(l=d),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>d&&(l=d),l<u&&(l=u),h(n),k(l);let i=A(_,n,l);x(Math.round(i)),j(i),m.current=!0},[v,f,e.amount.from,e.amount.to,R,A,b,d,u,_]),(0,o.useMemo)(()=>({amount:v,payment:b,periodValue:C,setPeriod:k,paymentTypeOptions:g,paymentTypeValue:y,setPaymentTypeValue:N,rate:_,amountMin:s,amountMax:c,periodMin:u,periodMax:d,tag:p,handleChangeAmount:R,handleChangePeriod:I,handleChangePayment:M,finalPayment:T,repayment:S,url:L}),[v,b,C,g,y,_,s,c,u,d,p,R,I,M,T,S,L])};var eF=n(88572),eD=n(65737),eU=n(86605),eK=n(96462),eV=n(51469),eH=n(71276),eW=n(53487),eZ=n(37502),eq=n(44215),ez=n(76410),eG=n.n(ez);function eQ(e){var t,n;let{offer:l,journal:i,offerType:r,questions:s,description:u,banks:b,refererTag:x,offers:C,offersFinuslugi:k,support:T}=e,j=(0,y.S0)(),N=(0,eK.a)(g.tE),S=(0,eU.K)({bannersTitle:[g.su.CREDITS_DETAIL],queryParams:N});(0,eF._B)(eF.kv.Credit);let L=eB(l),A=(0,o.useMemo)(()=>b.find(e=>+e.id==+l.bank_id),[b,l.bank_id]),{region:R,town:I}=(0,ef.T)(),M=null===(t=s.find(e=>e.id===v.jg))||void 0===t?void 0:t.questions.filter(e=>v.hU.includes(e.question)).map(e=>({title:e.question,text:e.answer,plainText:(0,p.MK)(e.answer).trim()})),O="Потребительский кредит \xab".concat(l.title,"\xbb от ").concat(null!==(n=null==A?void 0:A.name_r)&&void 0!==n?n:"");return(0,a.jsxs)("main",{className:eG().page,children:[(0,a.jsx)(m.N,{productId:String(l.id),title:O,description:null!=u?u:""}),(0,a.jsx)(eH.o,{}),(0,a.jsx)(eV.g,{questions:null!=M?M:[]}),(0,a.jsx)("div",{className:eG().navigationWrapper,children:(0,a.jsx)(f.t,{children:(0,a.jsx)(c.Oo,{className:eG().breadcrumbs,items:(()=>{var e;let t=(null==I?void 0:I.name_p)||(null==R?void 0:R.name_p)?" в ".concat((null==I?void 0:I.name_p)||(null==R?void 0:R.name_p)):"",n="".concat((null==R?void 0:R.url)?"/reg_".concat(null==R?void 0:R.url):"").concat((null==I?void 0:I.url)?"/".concat(null==I?void 0:I.url):""),i=[{label:"Главная",href:"/"},{label:"Кредиты".concat(t),href:"/potrebitelskie_kredity".concat(n)}];return x&&i.push({label:"".concat(x.name).concat(t),href:"/potrebitelskie_kredity/teg_".concat(x.url).concat(n)}),i.push({label:"".concat(null!==(e=null==A?void 0:A.name)&&void 0!==e?e:l.bank_name," Кредит ").concat(l.title)}),i})()})})}),(0,a.jsxs)(f.t,{children:[(0,a.jsx)(ea,{offerType:r,credit:l,isMobile:j,calculator:L,bank:A,bannerUrl:S[g.su.CREDITS_DETAIL]}),(0,a.jsx)(h.G,{data:l,bank:A,offerType:r,pageUrl:H.u.POTREBITELSKIE})]}),[E.g.PLATFORM,E.g.UNPLATFORM].includes(r)&&(0,a.jsx)(P,{offerType:r,bankName:null==A?void 0:A.name_p}),(0,a.jsx)(eN,{bannerUrl:S[g.su.CREDITS],bankUrl:l.online_application.url,offerType:r,urlGivingCredit:L.url}),A&&(0,a.jsx)(ev,{bank:A,banks:b,currentCreditId:l.id,offers:C,offersFinuslugi:k}),(0,a.jsx)(_.n,{url:"/master_podbora_kredita",mainPageUrl:ec.L,text:"Войдите на Финуслуги и заполните небольшую анкету, а мы подберем для вас несколько кредитов на выбор"}),i.posts.length>0&&(0,a.jsx)(eW.t,{posts:i.posts,eventCategory:H.u.POTREBITELSKIE}),(0,a.jsx)("div",{className:eG().supportSection,children:(0,a.jsx)(eZ.B,{value:T})}),(0,a.jsx)("div",{className:eG().faqSection,children:(0,a.jsx)(eq.B,{isAllExpanded:!0,faqBlockTitle:"",Link:e=>(0,a.jsx)(d(),{...e}),dataLayerPush:eD.l,questions:M,eventCategory:"credits_support_block",href:"".concat((0,ep.ZR)().mainBaseUrl,"/help/credits"),checkAllText:"Читать все вопросы про кредиты"})})]})}var eY=n(38422);n(4475);var eX=n(53850);n(51138),n(96202);var eJ=n(37171);n(48206);let e$=e=>{let{banks:t,offer:n,offerType:l,journal:i,questions:r,description:o,layout:s,refererTag:c,offers:u,offersFinuslugi:d,support:p}=e;return(0,a.jsx)(eJ.A,{data:s,children:(0,a.jsx)(eQ,{creditTag:null,offerType:l,questions:r,offer:n,journal:i,description:o,banks:t,refererTag:c,fetchFromNewApi:!1,offers:u,offersFinuslugi:d,support:p})})};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:l,bottomCardAdvantage:i,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)(x(),{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:l.title})}),(0,a.jsx)("p",{className:e1().cardAdvantageValue,children:l.value})]}),(0,a.jsxs)("div",{className:e1().cardAdvantage,children:[(0,a.jsx)("p",{className:e1().cardAdvantageTitle,children:i.title}),(0,a.jsx)("p",{className:e1().cardAdvantageValue,children:i.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 e8(){return(e8=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)}var e9=function(e){return o.createElement("svg",e8({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"})))),i||(i=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),tl=n(26616),ti=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,l;let{terms:i,filter:r,isMobile:s,banksOptions:u,onChangeFilter:d,onClose:p}=e,m=(0,o.useCallback)(()=>{p(),(0,en.l)(C.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:H.u.POTREBITELSKIE,eventCategory:"filter_catalog",eventLabel:(0,ti.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:H.u.POTREBITELSKIE,eventCategory:"filter_catalog",eventLabel:(0,ti.b)(tt.MC),eventValue:t})}),d({payment:t})},[d]),v=(e,t)=>n=>{let l=[],i=[];if(Array.isArray(n)){var a;l=null==n?void 0:n.map(e=>{let{value:t}=e;return t}),i=null!==(a=null==n?void 0:n.map(e=>{let{label:t}=e;return t}))&&void 0!==a?a:[]}else l=n.value,i=[n.label];d({[e]:l}),(0,eD.l)({event:"data-event",eventAction:H.u.POTREBITELSKIE,eventCategory:"filter_catalog",eventLabel:(0,ti.b)(t),eventValue:(0,ti.b)(i.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,tl.u)(e,m)}),(0,a.jsx)(tr.P,{value:r.payment,label:tt.MC,onChange:g,onKeyDown:e=>(0,tl.u)(e,m)}),(0,a.jsx)(c.Ph,{label:"Срок",value:h("period"),options:i,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===(l=r.banks)||void 0===l?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,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:H.u.POTREBITELSKIE,eventCategory:"filter_catalog",eventLabel:(0,ti.b)("Сортировать"),eventValue:(0,ti.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:H.u.POTREBITELSKIE})},[e.isOpen]);let n=(0,o.useCallback)(()=>{e.onClose(),(0,en.l)(C.Tm,{offset:e.isMobile?0:-140,position:"top"})},[e]),l=e=>{(0,eD.l)({event:"data-event",eventAction:e,eventCategory:H.u.POTREBITELSKIE})},i=e=>{var t;let n=null!==(t=e.currentTarget.textContent)&&void 0!==t?t:"";l("click_button_".concat((0,ti.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=>{i(t),n(),e.onShow()},children:"Показать"}),(0,a.jsx)(c.zx,{variant:"secondary",className:tc().button,onClick:t=>{i(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,l;let i=(0,t_.z)().unit,a=[];a.push({id:tf.h.amount,label:e.amount?"".concat(e.amount):"Сумма кредита: от ".concat(e.amount||"1 ".concat(i))}),a.push({id:tf.h.payment,label:e.payment?"До ".concat((0,Y.uf)(+e.payment)," ").concat(i," в мес"):"Платеж: не имеет значения"});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]),l="";l=1===t.length&&n?"иное"===n.label.toLocaleLowerCase()?"Категория заемщика: "+n.label:n.label:"Категория заемщика: (".concat(t.length,")"),a.push({id:tf.h.borrower,label:l})}if(e.incomeProofs&&e.incomeProofs.length){let t=e.incomeProofs,n=tt.gB.find(e=>e.value===t[0]),l="";l=1===t.length&&n?"не требуется"===n.label.toLocaleLowerCase()?"Подтверждение дохода: "+n.label:n.label:"Подтверждение дохода: (".concat(t.length,")"),a.push({id:tf.h.proofIncome,label:"".concat(l)})}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===(l=e.banks)||void 0===l?void 0:l.length){let n=e.banks,l=t.find(e=>{let{value:t}=e;return String(t)===String(n[0])}),i="";i=1===n.length&&l?": ".concat(l.label):" (".concat(n.length,")"),a.push({id:tf.h.bank,label:"Банки".concat(i)})}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 l=t[n];return void 0!==l&&e.push(l),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:l,filter:i,tag:r,subtitle:s,banksOptions:u,tags:d,isMobile:p,isOpenModal:m,onFilterChange:f,onModalOpen:_,onModalClose:g}=e,v=(0,y.cb)(),h=(0,ta.I)(),{push:b}=(0,eS.useRouter)(),x=tb(d),[k,T]=(0,o.useState)(i),j="".concat((0,ep.ZR)().trackerBaseUrl,"/click.php?key=f043af323c732a65e8e5&amount=").concat(k.amount),E=(0,et.h)(j),N=(0,o.useCallback)(e=>{(0,eD.l)({event:"data-event",eventAction:e,eventCategory:H.u.POTREBITELSKIE})},[]),S=(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:H.u.POTREBITELSKIE,eventCategory:"filter_catalog",eventLabel:(0,ti.b)(tt.Wk),eventValue:t}),f(n)}),n})},[f]),L=(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:H.u.POTREBITELSKIE,eventCategory:"filter_catalog",eventLabel:(0,ti.b)(tt.MC),eventValue:t}),f(n)}),n})},[f]),A=(0,o.useRef)([]),P=(0,o.useCallback)(()=>{(0,en.l)(C.Tm,{offset:v?-140:0,position:"top"})},[v]),{ref:R,isSticky:M}=(0,tT.A)(),O=(0,o.useCallback)(e=>{f({}),b(e,void 0,{shallow:!0})},[f,b]),w=(0,o.useMemo)(()=>x.map(e=>{let n=e.url_redirect||e.url,i=(null==r?void 0:r.url)===n;return{value:(0,tx.h)(H.u.POTREBITELSKIE,i?void 0:e,t,l),label:e.name,color:i?"black":"default",onChipClick:O}}),[x,null==r?void 0:r.url,t,l,O]),B=(0,o.useMemo)(()=>{let e=tg(k,u);return A.current.length===e.length&&e.every((e,t)=>e.label===A.current[t].label&&e.id===A.current[t].id)?A.current:e},[k,u]),F=(0,o.useMemo)(()=>B.map(e=>{let{label:t,id:n}=e;return{label:t,value:n,color:"default",onChipClick:_}}),[B,_]),D=(0,o.useCallback)(e=>{T({...k,...e})},[k]),U=(0,o.useCallback)(()=>{f({})},[f]),K=(0,o.useCallback)(()=>{f(k)},[k,f]);return(0,tj.rf)(()=>{T(i)},[i]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{children:[(0,a.jsx)(e5.V,{region:t,town:l,title:n,subtitle:s,mainPageUrl:H.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:R,className:ty().filter,children:[(0,a.jsxs)("div",{className:ty().fields,children:[(0,a.jsx)(tr.P,{label:tt.Wk,value:k.amount,className:ty().field,onChange:S,onKeyDown:e=>(0,tl.u)(e,P)}),(0,a.jsx)(tr.P,{label:tt.MC,value:k.payment,className:ty().field,onChange:L,onKeyDown:e=>(0,tl.u)(e,P)})]}),!v&&(0,a.jsx)("div",{className:ty().chipsRowMobile,children:(0,a.jsx)(tC.i,{chips:w,onParamsClick:_,useLinkChips:!0})}),(0,a.jsx)(c.zx,{onClick:()=>{N("anketa_click"),window.open(E,"_self")},size:"s",className:ty().fillButton,children:"Заполнить анкету"}),M&&(0,a.jsx)(tk.T,{chips:F,onParamsClick:_})]}),(0,a.jsxs)("div",{className:ty().timeCaption,children:[(0,a.jsx)(e9,{}),"Это займёт не более 5 минут"]}),v&&(0,a.jsx)("div",{className:(0,I.Z)(ty().chipsRow),children:(0,a.jsx)(tC.i,{chips:w,onParamsClick:_,useLinkChips:!0})})]})]}),(0,a.jsx)(tm,{filter:k,isMobile:p,terms:tt.mD,isOpen:m,banksOptions:u,onChangeFilter:D,onClose:g,onDrop:U,onShow:K})]})});tL.displayName="CreditsFilter";var tA=n(48909),tP=n(86676),tR=n(1557);let tI=e=>e.credits_group.map(e=>({id:e.id,bankName:e.bank_title,description:e.title,topCardAdvantage:{title:"Сумма",value:(0,Y.dN)({from:Number(e.amount.from),to:Number(e.amount.to)})},bottomCardAdvantage:{title:"Ставка",value:"от ".concat((0,Y.D$)(+e.interest_rate.from)," %")},logo:e.logo_mob,url:"".concat(H.u.POTREBITELSKIE,"/").concat(e.url)}));var tM=n(423),tO=n(61929),tw=n(63781),tB=n(93259),tF=n(29849),tD=n(76063),tU=n(60730),tK=n(68263),tV=n.n(tK);let tH=[{title:"Наименование банка",value:"bankName"},{title:"Ежемесячный платёж",value:"paymentValue"},{title:"Ставка",value:"rateValue"},{title:"ПСК",value:"fullPrice"},{title:"Сумма",value:"amountValue"},{title:"Срок кредита",value:"term"}];function tW(e,t){var n,l,i;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?void 0:n.from)&&void 0!==l?l:0;case"amountValue":return e.amountTo;case"term":return null===(i=e.periodRange)||void 0===i?void 0:i.from;default:throw Error("Dead code branch")}}function tZ(e){let{offers:t}=e,[n,l]=(0,o.useState)("amountValue"),[i,r]=(0,o.useState)("asc"),s=(0,o.useMemo)(()=>(0,tU.k)(t,n,i,tW),[t,n,i]),c=(0,o.useMemo)(()=>s.map(e=>{let{id:t,bankName:n,rateFrom:l,periodRange:i,logo:a,payment:r,currency:o,amountTo:s,amountFrom:c,fullPrice:u}=e,d=(0,Y.dN)({from:c,to:s},{currency:o}),p=null!==u?(0,M.W)(u):"",m=r?"от ".concat((0,Y.lb)(r)):"",f=(0,J.ZI)(i.from,i.to);return{id:t,logo:a,name:n,cells:[m,"".concat(l,"%"),p,d,f]}}),[s]);return(0,a.jsx)(tD.D,{className:tV().offers,columns:tH,rows:c,sort:n,sortOrder:i,onSortChange:(e,t)=>{l(e),r(t)}})}var tq=n(93890),tz=n(84452),tG=n(91500);let tQ=(e,t,n,l)=>e&&l&&l.region_page&&(t||l.region_page.region_content&&l.region_page.region_content.length)&&(!t||l.region_page.town_content&&l.region_page.town_content.length)?(t?l.region_page.town_content:l.region_page.region_content).map(l=>({title:(0,tB.Q)(l.title,e,t,n),text:(0,tB.Q)(l.content.map(tO.Rp).join(""),e,t,n)})):[],tY=(e,t,n,l)=>{let i=(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&&(i=i.replace(/DEFAULT/g,"Базовый")),n?e.region_page&&e.region_page.town_titles&&e.region_page.town_titles.length?i=(0,tB.Q)(e.region_page.town_titles[a%e.region_page.town_titles.length],t,n,l):(r=l.indexOf(n.id)>=0,i+=" "+(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?i=(0,tB.Q)(e.region_page.region_titles[a%e.region_page.region_titles.length],t,n,l):i+=" "+(0,tw.k)(t.name_p)+" "+t.name_p),i};var tX=n(77624),tJ=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 eX.dR("Credits tag not found: ".concat(e));return function(e){let{id:t,url:n,title:l,name:i,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:l,name:i,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:l,proof_income:i,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!==l&&l.length>0&&(c.borrowers=l),void 0!==i&&(Array.isArray(i)?i.length>0&&(c.incomeProofs=i):c.incomeProofs=[i]),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:l}=u;p.region_page={region_titles:e,town_titles:t,region_content:n,town_content:l}}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:l,offers:i,banks:r}=e,o=function(e,t,n,l,i){let{basePath:a,mainBaseUrl:r}=(0,ep.ZR)();if(0===l.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)=>{let n={"@type":"MonetaryAmount",name:t,minValue:e.minValue,currency:"RUB"};return void 0!==e.maxValue&&(n.maxValue=e.maxValue),n},u=(e,t)=>{var n;let l=i.find(t=>-1===e.bank_id?e.bic===Number(t.bic):e.bank_id===Number(t.id));if(void 0===l)throw Error("There is no bank for the credit");let a="string"==typeof l.legal_entities?JSON.parse(l.legal_entities)[0].legal_address:null===(n=l.legal_entities[0])||void 0===n?void 0:n.address,u=e.title,d=o(Number(e.period.from),Number(e.period.to)),p=s(Number(e.interest_rate.from),Number(e.interest_rate.to)),m=c(t,u),f=a?(0,t1.f)(a):void 0,_="".concat(r,"/").concat(H.u.POTREBITELSKIE,"/").concat(e.url);return{"@type":"Offer",itemOffered:{"@type":"LoanOrCredit",name:u,url:_,feesAndCommissionsSpecification:_,category:"Потребительские кредиты",loanTerm:d,annualPercentageRate:p,amount:m},priceSpecification:{"@type":"PriceSpecification",price:0,priceCurrency:"RUB",valueAddedTaxIncluded:!0},potentialAction:{"@type":"Action",name:"Оформить",url:(0,ew.Jf)(e,(0,ew.fn)())},broker:{"@type":"BankOrCreditUnion",name:l.name,url:"".concat(r,"/banki/").concat(l.url),image:l.logo_mob,telephone:l.phone,address:f}}},d=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}},p=()=>l.reduce((e,t)=>{let n=d(t.amount),l=u(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:0,offers:[]});return(()=>{let{lowPrice:l,highPrice:i,offers:o}=p();return{"@context":"https://schema.org","@type":"Product",name:e,description:t,image:"".concat(r).concat(a,"/images/logo-1200x630.jpg"),aggregateRating:{"@type":"AggregateRating",ratingValue:4.8,reviewCount:1130,bestRating:5,worstRating:1},offers:{"@type":"AggregateOffer",url:"".concat(r,"/").concat(H.u.POTREBITELSKIE),highPrice:i,lowPrice:l,priceCurrency:"RUB",offerCount:n,offers:o}}})()}(t,n,l,i,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),t8=n(38090),t9=n(78575),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)],nl=e=>{let{tag:t,credits:n,creditRegion:l,regions:i,banks:r,townDublicates:s,tags:c,rollup:u,partnerOffer:_,expertQuote:g,defaultFilter:v,support:h}=e,b=(0,y.S0)(),{asPath:x,query:k}=(0,eS.useRouter)(),T=(0,ta.I)(),[j,E]=(0,o.useState)([]),[N,S]=(0,o.useState)(g),[L,A]=(0,o.useState)(!1),{region:P,town:R}=(0,ef.T)(),[M,O]=(0,o.useState)(!1),[w,B]=(0,o.useState)(Number(k.page)||1),[F,D]=(0,o.useState)(n),U=F.description||"",K=F.subtitle||"",V=(0,o.useCallback)(()=>{A(!0)},[]),W=(0,o.useCallback)(()=>{A(!1)},[]),Z=(0,o.useMemo)(()=>{var e,t;return null!==(t=null===(e=x.split("/").find(e=>e.includes("teg_")))||void 0===e?void 0:e.slice(4))&&void 0!==t?t:"DEFAULT"},[x]),[q,z]=(0,o.useState)(t),G=(0,t6.iN)(x);(0,tj.rf)(()=>{(0,t8.r5)(G).then(S)},[G]),(0,o.useEffect)(()=>{x.includes("purpose")&&(0,en.l)(C.Tm,{offset:b?0:-100,position:"top"})},[]),(0,eF._B)(eF.kv.Credit),(0,o.useEffect)(()=>{var e;Z!==(null!==(e=null==q?void 0:q.url)&&void 0!==e?e:"DEFAULT")&&(0,t$.m6)("credits/tag?".concat("url","=").concat(Z)).then(z),(0,tJ.j)()},[x,null==q?void 0:q.url,Z]),(0,o.useEffect)(()=>{(0,e0.W)().then(e=>{let t=e.data||void 0;t&&E(tI(t))})},[]);let Q=(()=>{let e={...P},t={...R},n=e.deposits_count,l=t.deposits_count,i=c.find(e=>"DEFAULT"===e.name),a=null==i?void 0:i.min_credits_json,r=new Date,o=r.getDate(),u=r.getMonth()+1,d=r.getFullYear(),p=(0,$.$)("".concat(u,"-").concat(o,"-").concat(d)),m="",f=F.count,_=F.title;if(P){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(P.name,")"):""):" ".concat((0,tw.k)(P.name_p)," ").concat(P.name_p),f=l||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 q?tY(q,null!=P?P:null,null!=R?R:null,s):"Кредиты".concat(m," с максимальной ставкой ").concat(a||14,"% годовых на сегодня ").concat(o," ").concat(p," ").concat(d,"г. ").concat(2*f," aктуальных депозитов – открыть вклад").concat(m," на Финуслуги.ру")})(),{filter:Y,setFilter:X}=function(){let{query:e,push:t}=(0,eS.useRouter)(),{amount:n,payment:l,period:i,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:l,purpose:i,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 l&&(p.period=Number(l)),"string"==typeof i&&(p.purpose=i),"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:l,period:i,purpose:a,borrowers:r,incomeProofs:s,collateral:c,form:u,banks:d,sort:p,order:m}),[n,l,i,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,l,i,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===(l=e.borrowers)||void 0===l?void 0:l.length)&&(null===(i=t.borrowers)||void 0===i?void 0:i.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:l,purpose:i,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!==l&&(p.period=String(l)),void 0!==i&&(p.purpose=String(i)),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},[])}}(),J=(0,o.useMemo)(()=>({...v,...q.filter,...Y}),[v,q,Y]),ee=(0,o.useMemo)(()=>(0,tX.n)(r,J.banks),[r,J.banks]),et=(0,o.useMemo)(()=>u.reduce((e,t)=>{let{credits:n}=t;return[...e,...n]},[]),[u]),el=null==P?void 0:P.url,ei=null==R?void 0:R.url,ea=(0,o.useCallback)(async e=>{B(e),O(!0);try{let t=await (0,eY.lQ)({tag:q.url,region:el,town:ei,page:e,pageSize:tt.BM,filter:J},et);e>1?D(e=>({...e,...t,offers:[...e.offers,...t.offers]})):D(t)}finally{O(!1)}},[q,el,ei,J,et]);(0,tj.rf)(()=>{ea(1)},[ea]);let{unifiedOffers:er,unifiedPartnerOffers:eo}=(0,o.useMemo)(()=>(0,tP.I)(J,r,F.offers,_),[J,r,F,_]),es=(0,o.useMemo)(()=>(function(e){let{credits:t,creditTags:n,creditRegion:l,regions:i,banks:r,tag:o,region:s,town:c,townDublicates:u=[]}=e,d=H.u.POTREBITELSKIE,m="Кредиты",f="кредитов",_=[],g=(0,tz.V)({offers:t,getBankKey:e=>e.bankId,getAmount:e=>e.amountTo,getRate:e=>e.rateTo}).slice(0,10);g.length>2&&_.push({title:(0,tB.Q)("Рейтинг ".concat(f," ").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=>{_.push({title:(0,tB.Q)(e.title,s,c,u),text:(0,a.jsx)(p.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=>{_.push({title:(0,tB.Q)(e.title,s,c,u),text:(0,a.jsx)(p.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=>{_.push({title:(0,tB.Q)(e.title,s,c,u),text:(0,a.jsx)(p.Ln,{data:[{type:tO.yB.Html,data:{html:e.text}}]})})}),_.push(...(0,tG.a)(d,i,o,s,c,{nominativeCase:m,genitiveCase:f}));let h=n.reduce((e,t)=>{if(void 0===t.url_redirect){let n=(0,tx.h)(d,t,s,c),l=(0,tq.q9)(n,t.name);e.push(l)}return e},[]);_.push({title:"Виды ".concat(f),text:(0,a.jsx)(tq.oP,{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=>tM.VZ.includes(e.url)),i=t.filter(e=>!tM.VZ.includes(e.url)),a=(0,tF.o)(n,5),u=(0,tF.o)(i,7),d=(e,t)=>{var n;let l=(null===(n=t.region_ids)||void 0===n?void 0:n.length)?[s,c]:[void 0,void 0],i=(0,tx.h)("banki/".concat(t.url),(null==o?void 0:o.bank_region_page)?o:void 0,...l);return"".concat(e).concat(i)};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:m," ").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):""),l=d((0,ep.ZR)().mainBaseUrl,e);return(0,tq.XM)(l,n)})})();return b.length>0&&_.push({title:"".concat(m," от банков"),text:(0,a.jsx)(tq.oP,{children:b})}),(()=>{let e=new Set;return _.filter(t=>{let{title:n}=t,l=e.has(n);return l||e.add(n),!l})})()})({credits:er,creditTags:c,creditRegion:l,regions:i,banks:r,tag:q,region:P,town:R,townDublicates:s}),[r,c,er,P,l,i,q,R,s]),ec=(null==R?void 0:R.name_p)||(null==P?void 0:P.name_p)?" в ".concat((null==R?void 0:R.name_p)||(null==P?void 0:P.name_p)):"",{mainBaseUrl:eu}=(0,ep.ZR)(),ed=(0,o.useCallback)((e,t)=>{X({...J,sort:e,order:t})},[X,J]),em="DEFAULT"!==q.tag_name?q.name:"Потребительские кредиты",e_=(0,o.useMemo)(()=>null!==_?[...F.offers,_]:F.offers,[F,_]);return(0,a.jsxs)("main",{className:nt().page,children:[(0,a.jsx)(m.N,{title:Q,description:U}),(0,a.jsx)(tR.C,{title:em,tag:q,inRegion:ec,pageUrl:H.u.POTREBITELSKIE,pageTitle:"Кредиты"}),(0,a.jsx)(eH.o,{}),(0,a.jsx)(t3,{name:em,description:U,offersCount:F.count,offers:e_,banks:r}),(0,a.jsx)(f.t,{className:nt().filterContainer,children:(0,a.jsx)(tL,{region:P,town:R,heading:em,subtitle:K,filter:J,tag:q,tags:c,banksOptions:ee,isMobile:b,isOpenModal:L,onFilterChange:X,onModalOpen:V,onModalClose:W})}),(0,a.jsx)(t4.C,{steps:nn}),(0,a.jsx)(tA.K,{pageName:H.u.POTREBITELSKIE,unifiedOffers:er,unifiedPartnerOffers:eo,sort:J.sort,sortOrder:J.order,adFoxConfig:T,subtitle:K,region:P,town:R,credits:F,isLoading:M,page:w,rollup:et,onChangeSort:ed,onChangePage:ea,onFilterModalOpen:V}),(0,a.jsx)("section",{className:(0,I.Z)(nt().sectionWrapper,nt().whiteBackground),children:(0,a.jsx)(f.t,{children:(0,a.jsx)(e2,{bestOffers:j,inRegion:ec})})}),void 0!==N&&(0,a.jsx)(t9.c,{quote:N}),(0,a.jsx)(t7.n,{type:"bank"}),(0,a.jsx)(eq.B,{isAllExpanded:!0,faqBlockTitle:"",Link:e=>(0,a.jsx)(d(),{...e}),dataLayerPush:eD.l,questions:es,eventCategory:"credits_support_block",href:"".concat(eu,"/help/credits"),checkAllText:"Читать все вопросы про кредиты"}),l.posts.length>0&&(0,a.jsx)("section",{className:(0,I.Z)(nt().sectionWrapper,nt().sectionGray),children:(0,a.jsx)(eW.t,{posts:l.posts,eventCategory:H.u.POTREBITELSKIE})}),(0,a.jsx)(eZ.B,{value:h})]})};n(92171),n(58712),n(35388),n(45522);let ni=e=>{let{tag:t,banks:n,credits:l,creditRegion:i,tags:r,rollup:o,partnerOffer:s,layout:c,root:u,expertQuote:d,defaultFilter:p,support:m}=e;return(0,a.jsx)(eJ.A,{data:c,withLocationConfirm:!0,children:(0,a.jsx)(nl,{tag:t,regions:u.regions,banks:n,townDublicates:u.town_dublicates,credits:l,creditRegion:i,tags:r,rollup:o,partnerOffer:s,expertQuote:null!=d?d:void 0,defaultFilter:p,support:m})})};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)(ni,{...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",faqSection:"CreditsDetail_faqSection__cdO8j",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,293,4152,3222,3808,1399,6946,4591,3091,1412,1193,2888,9774,179],function(){return e(e.s=55821)}),_N_E=e.O()}]);