(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8231],{2510:(e,t,r)=>{"use strict";r.d(t,{AP:()=>o,Z2:()=>n,cf:()=>s,s6:()=>a}),r(28131);let n="DEFAULT",s="teg_",a="reg_";function o(e){return e.startsWith(s)}},3010:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(37876),s=r(14232),a=r(98477);let o=e=>{let{children:t,id:r="portal-root"}=e,[o,i]=(0,s.useState)(null);return(0,s.useEffect)(()=>{var e,t,n;let s=null==(e=document)?void 0:e.getElementById(r);if(s)i(s);else{let e=null==(t=document)?void 0:t.createElement("div");return null==(n=document)||n.body.appendChild(e),i(e),()=>{var t;null==(t=document)||t.body.removeChild(e)}}},[r]),(0,n.jsx)(n.Fragment,{children:o&&(0,a.createPortal)(t,o)})}},23857:(e,t,r)=>{"use strict";r.d(t,{P:()=>x});var n=r(37876),s=r(61311),a=r(49995),o=r(3010),i=r(47593),l=r(81078),c=r(47855),d=r(33126),u=r(92666);function p(e){var t;let{className:r,data:s}=e,a=(0,d.UK)(),{region:o,town:i}=(0,u.z)(),l=null!=(t=null==i?void 0:i.name)?t:null==o?void 0:o.name;return(0,n.jsx)("div",{className:r,children:(0,n.jsx)(c.H,{data:s,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,n.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,n.jsx)(p,{data:r.header}),t,void 0!==r.footer&&(0,n.jsx)(l.w,{className:m().footer,data:r.footer}),!c&&(0,n.jsx)(i.B,{}),(0,n.jsx)(o.Z,{children:(0,n.jsx)(s.S,{})})]})}},25632:(e,t,r)=>{"use strict";r.d(t,{X:()=>a});var n=r(37397),s=r(28131);async function a(e){let{data:t,error:r}=await (0,n.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 s.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 n=r(37876),s=r(47855),a=r(14232),o=r(92666);function i(e){let{children:t}=e,r=l();return(0,n.jsx)(o.d,{location:r,children:t})}function l(){let{region:e,town:t}=(0,s.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}:{},[e,t])}},37397:(e,t,r)=>{"use strict";r.d(t,{Q:()=>i});var n=r(33126),s=r(12771),a=r(63273),o=r(28131);async function i(e,t){var r;return l("".concat((r=(0,n.zj)().mainApiUrl,(0,a.oc)()&&window.origin!==r?"".concat((0,s.Cw)(),"/proxy").concat("/main"):r)).concat(e),t)}async function l(e,t){try{return{data:await (0,s.x6)(e,t),error:null}}catch(e){return{data:null,error:(0,o.u1)(e)}}}},44837:(e,t,r)=>{"use strict";r.d(t,{B:()=>a});var n=r(73584),s=r(12771);async function a(){return o.getOrUpdate()}let o=new n.B4(i);async function i(){try{let{custom:{redirects:e}}=await (0,s.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:()=>s}),r(25632),r(28131),r(44837),r(84883),r(2510);let n=new Set(["moskva","sankt-peterburg","sevastopol"]);function s(e,t){return e===t&&n.has(t)}},47593:(e,t,r)=>{"use strict";r.d(t,{B:()=>o});var n=r(37876),s=r(90557),a=r.n(s);function o(e){let{isSticky:t}=e;return(0,n.jsx)("div",{className:a().disclaimer,style:t?{position:"sticky"}:{position:"fixed",width:"100%"},children:"Оценивайте свои финансовые возможности и риски. Изучите все условия кредита (займа)"})}},80490:(e,t,r)=>{"use strict";r.d(t,{E:()=>y});var n=r(37876),s=r(25972),a=r(49995),o=r(25904),i=r(20988),l=r(8452),c=r(21827),d=r(14232);let u=(0,c.g)("support","sc"),p=Object.freeze({support:u,title:`${u}__title`,cardsContainer:`${u}__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:s})=>{let a=(0,i.nu)("s");return(0,n.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,n.jsx)(i.$n,{className:x.button,iconLeft:(0,n.jsx)(o.IconFdsArrowUpRightSmallO,{size:24}),shape:"circle-icon",size:"xs"}),(0,n.jsxs)("div",{className:x.textWrapper,children:[(0,n.jsx)("div",{className:x.title,children:e}),!!s&&(0,n.jsx)("div",{className:x.description,children:s})]}),(0,n.jsx)("div",{className:x.imageContainer,children:(0,n.jsxs)("picture",{className:x.imageWrapper,children:[(0,n.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,n.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`})]})})]})},g=(0,c.g)("support-phone-card","sc"),_=Object.freeze({supportPhoneCard:g,contacts:`${g}__contacts`,contactsExtra:`${g}__contacts-extra`,phone:`${g}__phone`,phonesExtra:`${g}__phones-extra`,phoneExtra:`${g}__phone-extra`,chat:`${g}__chat`,text:`${g}__text`,image:`${g}__image`}),f=({phones:e,phonesExtra:t,description:r,s3Assets:s})=>{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,n.jsxs)("div",{className:_.supportPhoneCard,children:[(0,n.jsxs)("div",{className:_.contacts,children:[e.map(e=>(0,n.jsx)("a",{className:_.phone,href:e.href,onClick:()=>o(e.label),children:e.label},e.label)),(0,n.jsx)("span",{className:_.chat,onClick:a,children:"Онлайн чат"})]}),(null==t?void 0:t.length)>0&&(0,n.jsxs)("div",{className:_.contactsExtra,children:[(0,n.jsx)("p",{className:_.text,children:"Дополнительные телефоны"}),(0,n.jsx)("div",{className:_.phonesExtra,children:t.map(e=>(0,n.jsx)("a",{className:_.phoneExtra,href:e.href,onClick:()=>o(e.label),children:e.label},e.label))})]}),(0,n.jsx)("p",{className:_.text,children:r}),(0,n.jsx)("img",{className:_.image,src:`${s}/mp-assets/widgets/SupportBlock/bannerSupportGirl.png`})]})},j=({className:e,phoneCard:t,appCard:r,s3Assets:o})=>(0,n.jsx)("section",{className:(0,a.A)(p.support,e),children:(0,n.jsxs)(s.mc,{children:[(0,n.jsx)(s.DZ,{as:"h2",type:"display",weight:"bold",className:p.title,children:"Поддержка"}),(0,n.jsxs)("div",{className:p.cardsContainer,children:[(0,n.jsx)(f,{s3Assets:o,...t}),(0,n.jsx)(v,{s3Assets:o,...r})]})]})});j.displayName="Support";var w=r(33126);function y(e){let{value:t}=e,{assetsBaseUrl:r}=(0,w.zj)();return(0,n.jsx)(j,{s3Assets:r,phoneCard:t.phoneCard,appCard:t.appCard})}},84883:(e,t,r)=>{"use strict";r.d(t,{I:()=>a});var n=r(37105),s=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,s.zy)("Redirects.json"),r={},a=new Set([n.h.POTREBITELSKIE,n.h.KARTY,n.h.MICROZAJMY,n.h.AUTOCREDIT,n.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 n=r(37876),s=r(14232),a=r(44860);let o=(0,s.createContext)(void 0);function i(e){let{children:t,location:r}=e,{region:i,town:l}=null!=r?r:{},c=(0,s.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,n.jsx)(o.Provider,{value:c,children:t})}function l(){let e=(0,s.useContext)(o);if(!e)throw Error("The context of the location is used outside of the provider");return e}}}]);