(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7586],{16891:(e,n,t)=>{"use strict";t.d(n,{J:()=>i});var r=t(37876),o=t(69241),a=t(53934),l=t.n(a);let i=e=>{let{children:n,className:t}=e;return(0,r.jsx)("div",{className:(0,o.A)(l().mainContainer,t),children:n})}},17207:e=>{e.exports={faqBlock:"FAQBlock_faqBlock__cWLG2",title:"FAQBlock_title__ZHM6E",accordion:"FAQBlock_accordion__Q0LXh","accordion--default":"FAQBlock_accordion--default__wR261","accordion--secondary":"FAQBlock_accordion--secondary__vpWgf",content:"FAQBlock_content__bfX78",link:"FAQBlock_link___SWxz"}},23857:(e,n,t)=>{"use strict";t.d(n,{P:()=>v});var r=t(37876),o=t(30783),a=t(69241),l=t(3010),i=t(47593),c=t(81078),s=t(78511),d=t(33126),u=t(92666);function _(e){var n;let{className:t,data:o}=e,a=(0,d.UK)(),{region:l,town:i}=(0,u.z)(),c=null!=(n=null==i?void 0:i.name)?n:null==l?void 0:l.name;return(0,r.jsx)("div",{className:t,children:(0,r.jsx)(s.Y9,{data:o,showcaseUrl:a.mainBaseUrl,lkUrl:a.lkBaseUrl,initialTown:c,enableExternalLinkWarning:a.isExternalLinkWarningEnabled})})}var h=t(33965),p=t.n(h);function v(e){let{children:n,data:t,withoutDisclaimer:s=!1}=e;return(0,r.jsxs)("div",{className:(0,a.A)(p().layout,{[p().layoutPaddingTop]:void 0===t.header,[p().noPadding]:void 0!==t.header}),children:[void 0!==t.header&&(0,r.jsx)(_,{data:t.header}),n,void 0!==t.footer&&(0,r.jsx)(c.w,{className:p().footer,data:t.footer}),!s&&(0,r.jsx)(i.B,{}),(0,r.jsx)(l.Z,{children:(0,r.jsx)(o.S,{})})]})}},25632:(e,n,t)=>{"use strict";t.d(n,{X:()=>a});var r=t(37397),o=t(28131);async function a(e){let{data:n,error:t}=await (0,r.Q)("/money_data/Root.json?short=1&region_url=".concat(encodeURIComponent(e)));if(t)throw Error(t);if((null==n?void 0:n.regions.length)!==1)throw new o.m_("Region not found: ".concat(e));return n.regions[0]}},26632:(e,n,t)=>{"use strict";t.d(n,{I:()=>o});var r=t(12771);async function o(){return a.getOrUpdate()}let a=new(t(73584)).B4(l);async function l(){let e=await (0,r.nl)("redirects?categoryKey=credits"),n={};return Object.entries(e).forEach(e=>{let[t,r]=e;n[t.startsWith("/")?t.slice(1):t]={url:r.urlTo,statusCode:r.httpResponseCode}}),n}},33528:e=>{e.exports={accordion:"Accordion_accordion__jiZSo",body:"Accordion_body__UCEKf",opened:"Accordion_opened___mIgV",arrow:"Accordion_arrow__MxD3n",wrapper:"Accordion_wrapper__wl1jd",heading:"Accordion_heading__c1Nty",text:"Accordion_text__ytimm",title:"Accordion_title__TW0s9",icon:"Accordion_icon__4ER_k",hidden:"Accordion_hidden__waLzM",content:"Accordion_content__cvCsV",caption:"Accordion_caption__AHtDb",uiCaption:"Accordion_uiCaption__yK3dA",error:"Accordion_error__lDkkc"}},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,n,t)=>{"use strict";t.d(n,{K:()=>i,k:()=>c});var r=t(37876),o=t(78511),a=t(14232),l=t(92666);function i(e){let{children:n}=e,t=c();return(0,r.jsx)(l.d,{location:t,children:n})}function c(){let{region:e,town:n}=(0,o.om)();return function(e,n){let t=(0,a.useRef)(!1);return(0,a.useMemo)(()=>{if(t.current)return e();t.current=!0},n)}(()=>null!==e?{region:e,town:null!=n?n:void 0}:{},[e,n])}},37397:(e,n,t)=>{"use strict";t.d(n,{Q:()=>i});var r=t(33126),o=t(12771),a=t(63273),l=t(28131);async function i(e,n){var t;return c("".concat((t=(0,r.zj)().mainApiUrl,(0,a.oc)()&&window.origin!==t?"".concat((0,o.Cw)(),"/proxy").concat("/main"):t)).concat(e),n)}async function c(e,n){try{return{data:await (0,o.x6)(e,n),error:null}}catch(e){return{data:null,error:(0,l.u1)(e)}}}},40087:e=>{e.exports={checkAllWrapper:"CheckAllLink_checkAllWrapper__5qaKf",link:"CheckAllLink_link___9cvw",icon:"CheckAllLink_icon__rFVbv"}},44860:(e,n,t)=>{"use strict";t.d(n,{On:()=>o}),t(25632),t(28131),t(84883),t(26632),t(2510);let r=new Set(["moskva","sankt-peterburg","sevastopol"]);function o(e,n){return e===n&&r.has(n)}},53934:e=>{e.exports={mainContainer:"MainContainer_mainContainer__i0H2X"}},75428:(e,n,t)=>{"use strict";t.d(n,{A:()=>i});var r,o,a=t(14232);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}).apply(null,arguments)}let i=function(e){return a.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:25,height:24,fill:"none",viewBox:"0 0 25 24"},e),r||(r=a.createElement("rect",{width:24,height:24,x:.5,fill:"#F3F4F6",rx:12})),o||(o=a.createElement("path",{fill:"#525BBB",d:"m15.024 10.152-4.888-1.31a.667.667 0 0 1 .345-1.287l6.44 1.725a.667.667 0 0 1 .471.816l-1.725 6.44a.667.667 0 0 1-1.288-.345l1.31-4.887-6.771 3.914a.666.666 0 0 1-.914-.245.666.666 0 0 1 .245-.914z"})))}},82883:(e,n,t)=>{"use strict";t.d(n,{T:()=>a});var r=t(37876),o=t(69241);let a=e=>{let{children:n,className:t,style:a,...l}=e;return(0,r.jsx)("span",{className:(0,o.A)(t,"private-icon"),style:a,...l,children:n})};a.displayName="PrivateIcon"},84883:(e,n,t)=>{"use strict";t.d(n,{I:()=>a});var r=t(37105),o=t(12771);async function a(){return l.getOrUpdate()}let l=new(t(73584)).B4(i);async function i(){let{redirects:{urlRedirects:e,regionRedirects:n}}=await (0,o.zy)("Redirects.json"),t={},a=new Set([r.h.POTREBITELSKIE,r.h.KARTY,r.h.MICROZAJMY,r.h.AUTOCREDIT,r.h.IPOTEKA]);return e.forEach(e=>{let n=e.url.slice(0,e.url.indexOf("/"));a.has(n)&&(t[e.url]={url:e.redirect,statusCode:308})}),n.forEach(e=>{t[e.url]={url:e.redirect,statusCode:308}}),t}},92666:(e,n,t)=>{"use strict";t.d(n,{d:()=>i,z:()=>c});var r=t(37876),o=t(14232),a=t(44860);let l=(0,o.createContext)(void 0);function i(e){let{children:n,location:t}=e,{region:i,town:c}=null!=t?t:{},s=(0,o.useMemo)(()=>void 0!==i?{region:i,town:(null==c?void 0:c.url)===void 0||(0,a.On)(i.url,c.url)?void 0:c}:{},[null==i?void 0:i.url,null==c?void 0:c.url]);return(0,r.jsx)(l.Provider,{value:s,children:n})}function c(){let e=(0,o.useContext)(l);if(!e)throw Error("The context of the location is used outside of the provider");return e}},93915:e=>{e.exports={supportSection:"FAQBlock_supportSection__nBh6q",noPadding:"FAQBlock_noPadding__G1pWN","supportSection--default":"FAQBlock_supportSection--default__OsjCA",title:"FAQBlock_title__GDPgx","supportSection--secondary":"FAQBlock_supportSection--secondary__pvSti"}},99275:(e,n,t)=>{"use strict";t.d(n,{m:()=>C});var r,o=t(37876),a=t(14232),l=t(69241),i=t(16891),c=t(55330),s=t(83024),d=t(82883),u=t(33528),_=t.n(u);function h(){return(h=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}).apply(null,arguments)}let p=function(e){return a.createElement("svg",h({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e),r||(r=a.createElement("path",{fill:"#1F242E",d:"M7.466 19.551A1.48 1.48 0 0 1 7 18.481c0-.401.167-.786.466-1.07l5.667-5.449L7.466 6.59A1.48 1.48 0 0 1 7 5.52c0-.401.167-.786.466-1.07.148-.142.325-.255.52-.332a1.68 1.68 0 0 1 1.232 0c.195.077.372.19.52.332l6.788 6.435c.15.141.27.31.35.494a1.45 1.45 0 0 1 0 1.168c-.08.185-.2.353-.35.494L9.74 19.55a1.6 1.6 0 0 1-.521.332 1.68 1.68 0 0 1-1.232 0 1.6 1.6 0 0 1-.52-.332"})))},v=e=>{let{className:n,opened:t=!1,onChange:r=()=>null,title:i="",children:c,caption:s="",icon:u,state:h,message:v=""}=e,f=(0,a.useRef)(null),m=t&&f.current?{height:"".concat(f.current.scrollHeight,"px")}:{};return(0,o.jsxs)("div",{className:(0,l.A)(_().accordion,n),children:[(0,o.jsxs)("div",{className:(0,l.A)(_().body,{[_().opened]:t}),children:[(0,o.jsxs)("div",{role:"button",tabIndex:0,className:_().heading,onClick:r,children:[u&&(0,o.jsx)("span",{className:_().icon,children:(0,o.jsx)(d.T,{children:u})}),(0,o.jsxs)("span",{className:_().text,children:[(0,o.jsx)("h3",{className:_().title,children:i}),(0,o.jsx)("span",{className:_().caption,children:s})]}),(0,o.jsx)(d.T,{className:_().arrow,children:(0,o.jsx)(p,{className:_().icon})})]}),(0,o.jsx)("div",{ref:f,role:"region",className:(0,l.A)(_().wrapper,{[_().hidden]:!t}),style:m,children:(0,o.jsx)("div",{className:_().content,children:c})})]}),v&&(0,o.jsx)("div",{className:_().uiCaption,children:(0,o.jsx)("div",{className:(0,l.A)({[_().error]:"error"===h}),children:v})})]})};v.displayName="UiAccordion";let f=e=>{let{className:n,children:t,values:r,onChange:i}=e;return(0,o.jsx)("div",{className:(0,l.A)(n),children:a.Children.map(t,e=>{let n=e.props.value,t=r.includes(n);return(0,a.cloneElement)(e,{opened:t,onChange:()=>{i({values:t?r.filter(e=>e!==n):[...r,n],value:n,opened:t})}})})})};var m=t(40087),x=t.n(m),A=t(75428);let k=e=>{let{children:n,className:t,event:r,Link:a,href:i,dataLayerPush:c}=e;return(0,o.jsx)("div",{className:(0,l.A)(x().checkAllWrapper,t),onClick:()=>{r&&c(r)},children:(0,o.jsxs)(a,{className:x().link,href:i,children:[n,(0,o.jsx)(d.T,{className:x().icon,children:(0,o.jsx)(A.A,{})})]})})};k.displayName="CheckAllLink";var g=t(17207),j=t.n(g);let y=e=>{let{questions:n=[],eventCategory:t="common",checkAllText:r,dataLayerPush:i,Link:c,href:d,sectionTitle:u,isExpanded:_=!1,isAllExpanded:h=!1,variant:p="default",expandedQuantity:m=0}=e,x=(0,s.fH)(),A=(0,a.useCallback)(()=>{if(h)return n.map(e=>e.title);if(_){var e;return[null==(e=n[0])?void 0:e.title]}return m>0?n.slice(0,m).map(e=>e.title):[]},[h,_,m,n]),[g,y]=(0,a.useState)(A);return((0,a.useEffect)(()=>{y(A())},[A]),n.length)?(0,o.jsxs)("div",{className:j().faqBlock,children:[u&&(0,o.jsx)("h2",{className:j().title,children:u}),(0,o.jsx)(f,{values:g,onChange:e=>{let{values:n,value:r,opened:o}=e;i({event:"data-event",eventCategory:t,eventAction:"click_on_faq_question_".concat(o?"collapse":"expand"),eventLabel:"faq_block",eventValue:r,customer_id:x}),y(n)},children:n.map(e=>{let{title:n,text:t}=e;return(0,o.jsx)(v,{className:(0,l.A)(j().accordion,j()["accordion--".concat(p)]),title:n,value:n,children:"string"==typeof t?(0,o.jsx)("div",{className:j().content,dangerouslySetInnerHTML:{__html:t}}):(0,o.jsx)("div",{className:j().content,children:t})},n)})}),c&&d&&r&&(0,o.jsx)(k,{className:j().link,href:d,event:{event:"data-event",eventCategory:t,eventAction:"click_on_read_all_questions_button",eventLabel:"faq_block",customer_id:x},dataLayerPush:i,Link:c,children:r||"Читать все вопросы"})]}):null};var w=t(93915),N=t.n(w);let C=(0,a.memo)(e=>{let{newContainer:n=!1,sectionTitle:t="Частые вопросы",faqBlockTitle:r="Частые вопросы",idFAQBlock:a,questions:s=[],dataLayerPush:d,eventCategory:u,checkAllText:_,Link:h,href:p,isExpanded:v,isAllExpanded:f,variant:m="default",className:x,expandedQuantity:A}=e,k=n?c.m:i.J;return(0,o.jsx)("section",{className:(0,l.A)(N().supportSection,N()["supportSection--".concat(m)],x),id:a,children:(0,o.jsxs)(k,{className:n?void 0:N().noPadding,children:[t&&(0,o.jsx)("h2",{className:N().title,children:t}),(0,o.jsx)(y,{sectionTitle:r,questions:s,eventCategory:u,checkAllText:_,dataLayerPush:d,Link:h,href:p,isExpanded:v,isAllExpanded:f,variant:m,expandedQuantity:A})]})})});C.displayName="UiFAQBlock"}}]);