(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8231],{2510:(e,t,r)=>{"use strict";r.d(t,{AP:()=>o,Z2:()=>s,cf:()=>n,s6:()=>a}),r(28131);let s="DEFAULT",n="teg_",a="reg_";function o(e){return e.startsWith(n)}},3010:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var s=r(37876),n=r(14232),a=r(98477);let o=e=>{let{children:t,id:r="portal-root"}=e,[o,i]=(0,n.useState)(null);return(0,n.useEffect)(()=>{var e,t,s;let n=null==(e=document)?void 0:e.getElementById(r);if(n)i(n);else{let e=null==(t=document)?void 0:t.createElement("div");return null==(s=document)||s.body.appendChild(e),i(e),()=>{var t;null==(t=document)||t.body.removeChild(e)}}},[r]),(0,s.jsx)(s.Fragment,{children:o&&(0,a.createPortal)(t,o)})}},23857:(e,t,r)=>{"use strict";r.d(t,{P:()=>x});var s=r(37876),n=r(61311),a=r(49995),o=r(3010),i=r(47593),l=r(81078),c=r(3207),d=r(33126),p=r(92666);function u(e){var t;let{className:r,data:n}=e,a=(0,d.UK)(),{region:o,town:i}=(0,p.z)(),l=null!=(t=null==i?void 0:i.name)?t:null==o?void 0:o.name;return(0,s.jsx)("div",{className:r,children:(0,s.jsx)(c.H,{data:n,showcaseUrl:a.mainBaseUrl,lkUrl:a.lkBaseUrl,initialTown:l})})}var h=r(33965),m=r.n(h);function x(e){let{children:t,data:r,withoutDisclaimer:c=!1}=e;return(0,s.jsxs)("div",{className:(0,a.A)(m().layout,{[m().layoutPaddingTop]:void 0===r.header,[m().noPadding]:void 0!==r.header}),children:[void 0!==r.header&&(0,s.jsx)(u,{data:r.header}),t,void 0!==r.footer&&(0,s.jsx)(l.w,{className:m().footer,data:r.footer}),!c&&(0,s.jsx)(i.B,{}),(0,s.jsx)(o.Z,{children:(0,s.jsx)(n.S,{})})]})}},25632:(e,t,r)=>{"use strict";r.d(t,{X:()=>a});var s=r(37397),n=r(28131);async function a(e){let{data:t,error:r}=await (0,s.Q)("/money_data/Root.json?short=1&region_url=".concat(encodeURIComponent(e)));if(r)throw Error(r);if((null==t?void 0:t.regions.length)!==1)throw new n.m_("Region not found: ".concat(e));return t.regions[0]}},33965:e=>{e.exports={layout:"layout_layout__iXzDO",layoutPaddingTop:"layout_layoutPaddingTop__JFFLK",noPadding:"layout_noPadding__tZ4w4",mobileNavigation:"layout_mobileNavigation__CR6bw",footer:"layout_footer__3IlnK"}},36612:(e,t,r)=>{"use strict";r.d(t,{K:()=>i,k:()=>l});var s=r(37876),n=r(3207),a=r(14232),o=r(92666);function i(e){let{children:t}=e,r=l();return(0,s.jsx)(o.d,{location:r,children:t})}function l(){let{region:e,town:t}=(0,n.u)();return function(e,t){let r=(0,a.useRef)(!1);return(0,a.useMemo)(()=>{if(r.current)return e();r.current=!0},t)}(()=>null!==e?{region:e,town:null!=t?t:void 0}:{},[null==e?void 0:e.url,null==t?void 0:t.url])}},44837:(e,t,r)=>{"use strict";r.d(t,{B:()=>a});var s=r(73584),n=r(12771);async function a(){return o.getOrUpdate()}let o=new s.B4(i);async function i(){try{let{custom:{redirects:e}}=await (0,n.aB)("sc-page/".concat("redirects-credits"));for(let[t,r]of Object.entries(e))t.startsWith("/")&&(e[t.slice(1)]=r,delete e[t]);return e}catch(e){return}}},44860:(e,t,r)=>{"use strict";r.d(t,{On:()=>n}),r(25632),r(28131),r(44837),r(84883),r(2510);let s=new Set(["moskva","sankt-peterburg","sevastopol"]);function n(e,t){return e===t&&s.has(t)}},47593:(e,t,r)=>{"use strict";r.d(t,{B:()=>o});var s=r(37876),n=r(90557),a=r.n(n);function o(e){let{isSticky:t}=e;return(0,s.jsx)("div",{className:a().disclaimer,style:t?{position:"sticky"}:{position:"fixed",width:"100%"},children:"Оценивайте свои финансовые возможности и риски. Изучите все условия кредита (займа)"})}},80490:(e,t,r)=>{"use strict";r.d(t,{E:()=>b});var s=r(37876),n=r(25972),a=r(49995),o=r(25904),i=r(20988),l=r(8452),c=r(21827),d=r(14232);let p=(0,c.g)("support","sc"),u=Object.freeze({support:p,title:`${p}__title`,cardsContainer:`${p}__cards-container`}),h="cb-support",m=(0,c.g)("support-app-card","sc"),x=Object.freeze({supportAppCard:m,textWrapper:`${m}__text-wrapper`,imageContainer:`${m}__image-container`,title:`${m}__title`,description:`${m}__description`,button:`${m}__button`,imageWrapper:`${m}__image-wrapper`,image:`${m}__image`}),v=({title:e,linkUrl:t,s3Assets:r,description:n})=>{let a=(0,i.nu)("s");return(0,s.jsxs)("div",{className:x.supportAppCard,onClick:()=>{a&&((0,l.h)({eventCategory:h,eventActionType:l.D.banner,eventActionText:e,eventLabel:t}),window.open(t,"_blank","noreferrer"))},children:[(0,s.jsx)(i.$n,{className:x.button,iconLeft:(0,s.jsx)(o.IconFdsArrowUpRightSmallO,{size:24}),shape:"circle-icon",size:"xs"}),(0,s.jsxs)("div",{className:x.textWrapper,children:[(0,s.jsx)("div",{className:x.title,children:e}),!!n&&(0,s.jsx)("div",{className:x.description,children:n})]}),(0,s.jsx)("div",{className:x.imageContainer,children:(0,s.jsxs)("picture",{className:x.imageWrapper,children:[(0,s.jsx)("source",{media:"(max-width: 767px)",srcSet:`${r}/mp-assets/widgets/SupportBlock/mobile-app.png 1x, ${r}/mp-assets/widgets/SupportBlock/mobile-app@2x.png 2x`}),(0,s.jsx)("img",{className:x.image,loading:"lazy",src:`${r}/mp-assets/widgets/SupportBlock/qr-code-mobile-app.jpg`,srcSet:`${r}/mp-assets/widgets/SupportBlock/qr-code-mobile-app.jpg 1x, ${r}/mp-assets/widgets/SupportBlock/qr-code-mobile-app@2x.jpg 2x`})]})})]})},_=(0,c.g)("support-phone-card","sc"),g=Object.freeze({supportPhoneCard:_,contacts:`${_}__contacts`,contactsExtra:`${_}__contacts-extra`,phone:`${_}__phone`,phonesExtra:`${_}__phones-extra`,phoneExtra:`${_}__phone-extra`,chat:`${_}__chat`,text:`${_}__text`,image:`${_}__image`}),f=({phones:e,phonesExtra:t,description:r,s3Assets:n})=>{let a=(0,d.useCallback)(()=>{var e,t,r;null==(r=null==(t=null==(e=null==window?void 0:window.supportWidget)?void 0:e.craftTalk)?void 0:t.open)||r.call(t),(0,l.h)({eventCategory:h,eventActionType:l.D.button,eventActionText:"messenger",eventLabel:"chat"})},[]),o=e=>{let t=e.replace(/[\s-]/g,"");(0,l.h)({eventCategory:h,eventActionType:l.D.link,eventActionText:"phone",eventLabel:t})};return(0,s.jsxs)("div",{className:g.supportPhoneCard,children:[(0,s.jsxs)("div",{className:g.contacts,children:[e.map(e=>(0,s.jsx)("a",{className:g.phone,href:e.href,onClick:()=>o(e.label),children:e.label},e.label)),(0,s.jsx)("span",{className:g.chat,onClick:a,children:"Онлайн чат"})]}),(null==t?void 0:t.length)>0&&(0,s.jsxs)("div",{className:g.contactsExtra,children:[(0,s.jsx)("p",{className:g.text,children:"Дополнительные телефоны"}),(0,s.jsx)("div",{className:g.phonesExtra,children:t.map(e=>(0,s.jsx)("a",{className:g.phoneExtra,href:e.href,onClick:()=>o(e.label),children:e.label},e.label))})]}),(0,s.jsx)("p",{className:g.text,children:r}),(0,s.jsx)("img",{className:g.image,src:`${n}/mp-assets/widgets/SupportBlock/bannerSupportGirl.png`})]})},j=({className:e,phoneCard:t,appCard:r,s3Assets:o})=>(0,s.jsx)("section",{className:(0,a.A)(u.support,e),children:(0,s.jsxs)(n.mc,{children:[(0,s.jsx)(n.DZ,{as:"h2",type:"display",weight:"bold",className:u.title,children:"Поддержка"}),(0,s.jsxs)("div",{className:u.cardsContainer,children:[(0,s.jsx)(f,{s3Assets:o,...t}),(0,s.jsx)(v,{s3Assets:o,...r})]})]})});j.displayName="Support";var w=r(33126);function b(e){let{value:t}=e,{assetsBaseUrl:r}=(0,w.zj)();return(0,s.jsx)(j,{s3Assets:r,phoneCard:t.phoneCard,appCard:t.appCard})}},84883:(e,t,r)=>{"use strict";r.d(t,{I:()=>a});var s=r(37105),n=r(12771);async function a(){return o.getOrUpdate()}let o=new(r(73584)).B4(i);async function i(){let{redirects:{urlRedirects:e,regionRedirects:t}}=await (0,n.zy)("Redirects.json"),r={},a=new Set([s.h.POTREBITELSKIE,s.h.KARTY,s.h.MICROZAJMY,s.h.AUTOCREDIT,s.h.IPOTEKA]);return e.forEach(e=>{let t=e.url.slice(0,e.url.indexOf("/"));a.has(t)&&(r[e.url]=e.redirect)}),t.forEach(e=>{r[e.url]=e.redirect}),r}},90557:e=>{e.exports={disclaimer:"advertisement-disclaimer_disclaimer__CoBa3"}},92666:(e,t,r)=>{"use strict";r.d(t,{d:()=>i,z:()=>l});var s=r(37876),n=r(14232),a=r(44860);let o=(0,n.createContext)(void 0);function i(e){let{children:t,location:r}=e,{region:i,town:l}=null!=r?r:{},c=(0,n.useMemo)(()=>void 0!==i?{region:i,town:(null==l?void 0:l.url)===void 0||(0,a.On)(i.url,l.url)?void 0:l}:{},[null==i?void 0:i.url,null==l?void 0:l.url]);return(0,s.jsx)(o.Provider,{value:c,children:t})}function l(){let e=(0,n.useContext)(o);if(!e)throw Error("The context of the location is used outside of the provider");return e}}}]);