(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4681],{27964:(e,t,a)=>{"use strict";function l(e){let{name:t,description:a,image:l,aggregateRating:r,offers:i}=e;return{"@context":"https://schema.org","@type":"Product",name:t,description:a,image:l,aggregateRating:r,offers:i}}a.d(t,{Z:()=>l})},40818:(e,t,a)=>{"use strict";a.d(t,{Be:()=>r,PA:()=>u,So:()=>l,ZA:()=>o,eb:()=>_,fy:()=>p,l5:()=>c,mr:()=>n,ni:()=>d,s:()=>s,v_:()=>i});let l="Ежемесячный платеж до",r="Сумма кредита",i=20,n=[{value:0,label:"Не имеет значения"},{value:1,label:"1 месяц"},{value:2,label:"2 месяца"},{value:3,label:"3 месяца"},{value:4,label:"4 месяца"},{value:5,label:"5 месяцев"},{value:6,label:"6 месяцев"},{value:9,label:"9 месяцев"},{value:12,label:"1 год"},{value:18,label:"1,5 года"},{value:24,label:"2 года"},{value:36,label:"3 года"},{value:48,label:"4 года"},{value:60,label:"5 лет"}],o={pp:"edzc",ps:"foam",p2:"hojk"},s=[{label:"По популярности",field:"order"},{label:"По ставке",field:"rate"},{label:"По платежу",field:"payment"}],c=[{value:"null",label:"Не имеет значения"},{value:"refinancing",label:"Рефинансирование"},{value:"education",label:"На образование"},{value:"treatment",label:"На лечение"},{value:"travels",label:"На путешествия"},{value:"repairs",label:"На ремонт"},{value:"other",label:"Просто деньги"}],u=[{value:"employee_for_hire",label:"Работник по найму"},{value:"soldier",label:"Военнослужащий"},{value:"pensioner",label:"Пенсионер"},{value:"individual_entrepreneur",label:"Индивидуальный предприниматель"},{value:"civil_servant",label:"Госслужащий"},{value:"student",label:"Студент"},{value:"budgetary",label:"Бюджетник"},{value:"personal_farm_owner",label:"Владелец личного подсобного хозяйства"},{value:"nothing",label:"Иное"}],d=[{value:"not_required",label:"Не требуется"},{value:"pledge",label:"Залог"},{value:"guarantee",label:"Поручительство"},{value:"full",label:"Залог и поручительство"}],p=[{value:"to_account",label:"На счет в вашем банке"},{value:"to_custom_account",label:"На счет в стороннем банке"},{value:"to_card",label:"На карту"},{value:"cash",label:"Наличными"}],_=[{value:"not_required",label:"Не требуется"},{value:"ndfl",label:"Справка 2-НДФЛ"},{value:"bank_form",label:"Справка по форме банка"},{value:"custom_form",label:"Альтернативные формы"}]},41329:(e,t,a)=>{"use strict";function l(e){let{url:t,priceCurrency:a,offers:l,getLowPrice:r,getHighPrice:i,offerCount:n}=e,{lowPrice:o,highPrice:s}=function(e,t,a){let l=e.reduce((e,l)=>{e.lowPrice=Math.min(e.lowPrice,t(l));let r=a(l);return void 0!==r&&(e.highPrice=Math.max(e.highPrice,r)),e},{lowPrice:1/0,highPrice:-1/0});return{...Number.isFinite(l.lowPrice)&&{lowPrice:l.lowPrice},...Number.isFinite(l.highPrice)&&{highPrice:l.highPrice}}}(l,r,i);return{"@type":"AggregateOffer",url:t,priceCurrency:a,lowPrice:o,highPrice:s,offerCount:n}}a.d(t,{l:()=>l})},43736:e=>{e.exports={sortTypeContainer:"SortRadios_sortTypeContainer__8lU5M",newSortRadioSortTypeContainer:"SortRadios_newSortRadioSortTypeContainer__xY7lM",divider:"SortRadios_divider__P8JRR",sortType:"SortRadios_sortType__Ad5sp",sortTypeRadio:"SortRadios_sortTypeRadio__jVmAH",sortTypeTooltip:"SortRadios_sortTypeTooltip__JJNbc",sortTypeTrigger:"SortRadios_sortTypeTrigger__BgRzq",sortTypeHead:"SortRadios_sortTypeHead__VdaJc",newSortRadioSortTypeHead:"SortRadios_newSortRadioSortTypeHead__xKHHj",sortTypeButton:"SortRadios_sortTypeButton__UY3Mp",newSortRadioSortTypeButton:"SortRadios_newSortRadioSortTypeButton__wpRlC"}},53244:(e,t,a)=>{"use strict";a.d(t,{q:()=>p});var l=a(37876),r=a(49995),i=a(48230),n=a.n(i),o=a(14232),s=a(81202),c=a(33126),u=a(55754),d=a.n(u);let p=(0,o.memo)(e=>{let{type:t,className:a}=e;return({[s.w.annuity]:(0,l.jsxs)("p",{className:(0,r.A)(d().typeDescription,a),children:["Тип погашения, при котором ваш обязательный платеж банку остается неизменным в течение всего срока кредита. Подробнее о типах платежей"," ",(0,l.jsx)(n(),{target:"_blank",href:"".concat((0,c.UK)().mainBaseUrl,"/navigator/kredity/stat_chto_vybrat_annuitetnye_ili_differencirovannye_platezhi?ysclid=lm0hhclslg385431421"),children:"написали здесь"})]}),[s.w.differentiated]:(0,l.jsxs)("p",{className:(0,r.A)(d().typeDescription,a),children:["Тип погашения, при котором ваш обязательный платеж банку остается неизменным в течение всего срока кредита. Подробнее о типах платежей"," ",(0,l.jsx)(n(),{target:"_blank",href:"".concat((0,c.UK)().mainBaseUrl,"/navigator/kredity/stat_chto_vybrat_annuitetnye_ili_differencirovannye_platezhi?ysclid=lm0hhclslg385431421"),children:"написали здесь"})]})})[t]});p.displayName="CreditPaymentDescription"},54926:(e,t,a)=>{"use strict";function l(e){let{ratingValue:t,reviewCount:a,bestRating:l,worstRating:r}=e;return{"@type":"AggregateRating",ratingValue:t,reviewCount:a,bestRating:l,worstRating:r}}a.d(t,{E:()=>l})},55754:e=>{e.exports={typeDescription:"CreditPaymentDescription_typeDescription__ksshX"}},56420:(e,t,a)=>{"use strict";a.d(t,{v:()=>l});let l=e=>{let t=Number(e.split(" ")[0]);return e&&!Number.isNaN(t)?t:0}},62728:(e,t,a)=>{"use strict";function l(e){return"object"==typeof e&&null!==e?!!(e.comment||e.text):!!e}function r(e){return"number"==typeof e||(Array.isArray(e)?e.some(e=>l(e)):l(e))}a.d(t,{a:()=>r})},63396:e=>{e.exports={filter:"ListFilter_filter__VuF60",newSortRadiosFilter:"ListFilter_newSortRadiosFilter__kKfmj",sortTypeDesktop:"ListFilter_sortTypeDesktop__5LQyN",container:"ListFilter_container__nvtCN",modal:"ListFilter_modal__3ZmvQ",newSortRadioModal:"ListFilter_newSortRadioModal__vNMpD",modalButton:"ListFilter_modalButton__d5V_n",chipsContainer:"ListFilter_chipsContainer__tfgri",actionsWrapper:"ListFilter_actionsWrapper__m04h1",action:"ListFilter_action__WggMr",actionText:"ListFilter_actionText__11VOZ",iconButton:"ListFilter_iconButton__9o3Q7",actionButton:"ListFilter_actionButton__I4ohH",icon:"ListFilter_icon__RsoyT",iconInverted:"ListFilter_iconInverted__1MkEe",stuck:"ListFilter_stuck___Ya2T",mainContainer:"ListFilter_mainContainer__Lb5um",chipsContainerClosed:"ListFilter_chipsContainerClosed__TNa0t"}},67221:(e,t,a)=>{"use strict";a.d(t,{e:()=>i,s:()=>r});var l=a(14232);let r=(e,t,a)=>{(0,l.useEffect)(()=>{let t=setTimeout(()=>{e()},a);return()=>{clearTimeout(t)}},t)},i=function(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,[r,i]=(0,l.useState)(a),[n,o]=(0,l.useState)(!1),[s,c]=(0,l.useState)(null);return(0,l.useEffect)(()=>{o(!0),e().then(i).catch(c).then(()=>{o(!1)})},t),[r,n,s]}},80010:(e,t,a)=>{"use strict";a.d(t,{r:()=>l});let l=(e,t)=>(t>0&&!Number.isInteger(e)&&!Number.isNaN(e)&&String(e).split(".")[1].length>t&&(e=+e.toFixed(t)),e)},82734:e=>{e.exports={wrap:"Dropdown_wrap__22_5K",newSortRadioWrap:"Dropdown_newSortRadioWrap__N83gl",content:"Dropdown_content__zkeB8"}},88508:(e,t,a)=>{"use strict";a.d(t,{x:()=>T});var l,r,i=a(37876),n=a(20988),o=a(49995),s=a(14232),c=a(19497);function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)({}).hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e}).apply(null,arguments)}let d=function(e){return s.createElement("svg",u({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},e),l||(l=s.createElement("path",{fill:"#1F242E",fillRule:"evenodd",d:"M2 5a1 1 0 0 1 1-1h18a1 1 0 1 1 0 2H3a1 1 0 0 1-1-1M2 12c0-.552.482-1 1.077-1h11.846c.595 0 1.077.448 1.077 1s-.482 1-1.077 1H3.077C2.482 13 2 12.552 2 12M2 19c0-.552.5-1 1-1h6c.5 0 1 .448 1 1s-.352 1-1 1H3c-.5 0-1-.448-1-1",clipRule:"evenodd"})))};var p=a(82734),_=a.n(p);let v=e=>{let{content:t,children:a,disabled:l,isNewSortRadios:r}=e,[n,c]=(0,s.useState)(!1),u=(0,s.useCallback)(()=>c(!0),[c]),d=(0,s.useCallback)(()=>c(!1),[c]);return(0,i.jsxs)("div",{className:(0,o.A)(_().wrap,r&&_().newSortRadioWrap),onClick:u,ref:(e=>{let t=(0,s.useRef)(null);return(0,s.useEffect)(()=>{let a=a=>{var l;let{target:r}=a;r instanceof HTMLElement&&!(null==(l=t.current)?void 0:l.contains(r))&&e()};return window.addEventListener("click",a),()=>{window.removeEventListener("click",a)}},[e]),t})(d),children:[a,n&&!l&&(0,i.jsx)("div",{className:_().content,children:t})]})};function h(){return(h=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)({}).hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e}).apply(null,arguments)}let m=function(e){return s.createElement("svg",h({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},e),r||(r=s.createElement("path",{fill:"#000",d:"M12 11a1 1 0 0 0-1 1v4a1 1 0 0 0 2 0v-4a1 1 0 0 0-1-1m.38-3.92a1 1 0 0 0-.76 0 1 1 0 0 0-.33.21 1.2 1.2 0 0 0-.21.33 1 1 0 0 0 .21 1.09q.147.133.33.21A1 1 0 0 0 13 8a1.05 1.05 0 0 0-.29-.71 1 1 0 0 0-.33-.21M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20m0 18a8 8 0 1 1 0-16.001A8 8 0 0 1 12 20"})))};var b=a(43736),y=a.n(b);let g=e=>{let{isNewSortRadios:t,isMobile:a,onChangeSort:l,isIncreaseSort:r}=e;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("p",{className:(0,o.A)(y().sortTypeHead,t&&y().newSortRadioSortTypeHead),children:[(0,i.jsx)("button",{style:{marginLeft:"0px",marginRight:a?"0px":"8px"},className:(0,o.A)(y().sortTypeButton,t&&y().newSortRadioSortTypeButton),onClick:l,children:(0,i.jsx)(d,{className:(0,o.A)(!r&&y().iconInverted)})}),"Сортировать"]}),t&&(0,i.jsx)("div",{className:y().divider})]})},f=(0,s.memo)(e=>{let{isMobile:t,onChangeSort:a,isIncreaseSort:l,onChangeSortType:r,sortTypeItems:s,sortTypeValue:c,isNewSortRadios:u}=e;return(0,i.jsxs)(i.Fragment,{children:[!u&&t&&(0,i.jsx)(g,{onChangeSort:a,isMobile:t,isIncreaseSort:l,isNewSortRadios:u}),(0,i.jsxs)("div",{className:(0,o.A)(y().sortTypeContainer,u&&y().newSortRadioSortTypeContainer),onClick:e=>e.stopPropagation(),children:[u&&(0,i.jsx)(g,{onChangeSort:a,isMobile:t,isIncreaseSort:l,isNewSortRadios:u}),s.map(e=>(0,i.jsxs)("div",{"data-qa":"".concat(e.value,"_radio"),className:y().sortType,children:[u?(0,i.jsx)(n.sx,{name:e.value,value:c,checked:e.value===c,label:e.label,onChange:()=>r(e.value)}):(0,i.jsx)(n.sx,{name:e.value,label:e.label,checked:e.value===c,className:y().sortTypeRadio,value:e.value,onChange:()=>r(e.value)}),e.description&&(0,i.jsx)(n.m_,{text:e.description,className:(0,o.A)(y().sortTypeButton,u&&y().newSortRadioSortTypeButton),children:(0,i.jsx)(m,{})})]},e.value))]})]})});f.displayName="SortRadios";var x=a(16891),w=a(63396),S=a.n(w);let T=(0,s.memo)(e=>{let{chips:t,onClickParams:a,isIncreaseSort:l,onChangeIncreaseSort:r,sortTypeItems:u,sortTypeValue:p,onChangeSortType:_,isMobile:h,isFixed:m,portalId:b,onClickChip:y,className:g,onClickSortType:w,isNewSortRadios:T}=e,N=(0,s.useCallback)(()=>null==r?void 0:r(!l),[l,r]),R=(0,i.jsx)("div",{style:{padding:"8px",borderRadius:T?"20px":"8px",background:"white"},className:(0,o.A)(!h&&T&&S().sortTypeDesktop),children:(0,i.jsx)(f,{isMobile:h,isIncreaseSort:l,onChangeSort:N,onChangeSortType:_,sortTypeItems:u,sortTypeValue:p,isNewSortRadios:T,portalId:b})}),j=u.find(e=>e.value===p);return(0,i.jsx)("div",{className:(0,o.A)(S().filter,T&&S().newSortRadiosFilter,m&&S().stuck,g),children:(0,i.jsx)(x.J,{className:S().mainContainer,children:(0,i.jsxs)("div",{className:S().container,children:[(0,i.jsx)(n.C4,{className:S().chipsContainer,chips:t,value:t.map(e=>e.id),multiple:!0,activeVariant:"secondary",onChipClick:y}),(0,i.jsxs)("div",{className:S().actionsWrapper,children:[(0,i.jsxs)("button",{className:(0,o.A)(S().action,S().actionButton),onClick:a,children:[(0,i.jsx)(c.A,{className:S().icon}),(0,i.jsx)("span",{className:S().actionText,children:"Все параметры"})]}),(0,i.jsxs)("div",{className:S().action,children:[(0,i.jsx)("button",{className:(0,o.A)(S().icon,S().iconButton,!l&&S().iconInverted),onClick:N,children:(0,i.jsx)(d,{})}),(0,i.jsx)(v,{content:R,disabled:h,isNewSortRadios:T,children:(0,i.jsx)("button",{onClick:w,className:(0,o.A)(S().actionText,S().actionButton),"data-qa":"".concat(p,"_order"),children:(null==j?void 0:j.shortLabel)||(null==j?void 0:j.label)||"Сортировка"})})]})]})]})})})});T.displayName="ListFilter"}}]);