(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3347],{162:(t,e,n)=>{"use strict";n.d(e,{Zs:()=>s});var r=n(12771),i=n(14731);async function a(t){return(await (0,r.aB)("quotes?quoteUrl=".concat(encodeURIComponent(t),"&published=true"))).content}async function s(t){var e;return null!=(e=await (0,r.pY)("showcases/expert-quote?".concat(t)))?e:void 0}async function o(t){let e=await a(t);if(void 0!==e)return(0,i.X)(e)}new(n(73584)).AP(o)},2510:(t,e,n)=>{"use strict";n.d(e,{Eo:()=>o,Z2:()=>r,cf:()=>i,kJ:()=>s,kf:()=>c,s6:()=>a}),n(28131);let r="DEFAULT",i="teg_",a="reg_";function s(t){return t.startsWith(i)}function o(t){return t.slice(i.length)}function c(t){return t.slice(a.length)}},2694:t=>{t.exports={widgetContainer:"satellite-landing_widgetContainer__HA80C"}},3010:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var r=n(37876),i=n(14232),a=n(98477);let s=t=>{let{children:e,id:n="portal-root"}=t,[s,o]=(0,i.useState)(null);return(0,i.useEffect)(()=>{var t,e,r;let i=null==(t=document)?void 0:t.getElementById(n);if(i)o(i);else{let t=null==(e=document)?void 0:e.createElement("div");return null==(r=document)||r.body.appendChild(t),o(t),()=>{var e;null==(e=document)||e.body.removeChild(t)}}},[n]),(0,r.jsx)(r.Fragment,{children:s&&(0,a.createPortal)(e,s)})}},9837:(t,e,n)=>{"use strict";n.d(e,{c:()=>a});var r=n(37876),i=n(27116);function a(t){let{questions:e}=t;return 0===e.length?null:(0,r.jsx)(i.S,{schema:{"@context":"https://schema.org","@type":"FAQPage",mainEntity:e.map(t=>({"@type":"Question",name:t.title,acceptedAnswer:{"@type":"Answer",text:t.plainText}}))}})}},10027:(t,e,n)=>{"use strict";n.d(e,{I:()=>l});var r=n(37876),i=n(77328),a=n.n(i),s=n(89099),o=n(33126),c=n(3187);function l(t){let{title:e,description:n,productId:i}=t,{basePath:l,mainBaseUrl:u}=(0,o.UK)(),{asPath:d}=(0,s.useRouter)(),h=(0,c.m)(d);return(0,r.jsxs)(a(),{children:[(0,r.jsx)("title",{children:e}),(0,r.jsx)("meta",{name:"description",content:n}),(0,r.jsx)("meta",{property:"og:title",content:e}),(0,r.jsx)("meta",{property:"og:description",content:n}),(0,r.jsx)("meta",{property:"og:site_name",content:"Финуслуги"}),(0,r.jsx)("meta",{property:"og:image",content:"".concat(l,"/icons/favicon-32x32.png")}),(0,r.jsx)("meta",{property:"og:type",content:"website"}),(0,r.jsx)("meta",{property:"og:url",content:"".concat(u).concat(h)}),(0,r.jsx)("link",{rel:"icon",href:"".concat(l,"/icons/favicon-32x32.png")}),(0,r.jsx)("link",{rel:"manifest",href:"".concat(l,"/manifest.json"),type:"application/manifest+json"}),(0,r.jsx)("link",{rel:"canonical",href:"".concat(u).concat(h)}),i&&(0,r.jsx)("script",{children:"dataLayer = [{\n            'view_product_id': '".concat(i,"'\n          }];")})]})}l.displayName="HeadMeta"},11361:(t,e,n)=>{"use strict";n.d(e,{p:()=>l});var r=n(37876),i=n(73596),a=n(25904),s=n(15691),o=n.n(s);let c=[{icon:a.Nip,text:"Финуслуги — официальная финансовая платформа, внесенная в реестр ЦБ РФ",link:"https://www.cbr.ru/finm_infrastructure/financial_platform_operators"},{icon:a.bJK,text:"Все наши партнеры имеют лицензию\nБанка России"},{icon:a.nO0,text:"Ваши данные защищены, зашифрованы и\xa0не\xa0передаются третьим лицам"}];function l(t){let{loginWidgetRef:e,title:n,subtitle:a,onButtonClick:s,loginWidgetConfig:l}=t;return(0,r.jsxs)("div",{className:o().container,children:[(0,r.jsxs)("div",{className:o().heading,children:[(0,r.jsx)("h1",{className:o().title,children:n}),(0,r.jsx)("p",{className:o().subtitle,children:a}),(0,r.jsx)("div",{className:o().widgetContainer,ref:e,children:(0,r.jsx)(i.S,{className:o().widget,...l,onAnalyticsEvent:s})})]}),(0,r.jsx)("div",{className:o().infoBlock,children:c.map((t,e)=>{let{icon:n,text:i,link:a}=t;return(0,r.jsxs)("div",{className:o().infoItem,children:[(0,r.jsx)("div",{className:o().iconWrapper,children:(0,r.jsx)(n,{className:o().icon,size:"24"})}),void 0!==a?(0,r.jsx)("a",{href:a,target:"_blank",rel:"noopener noreferrer",className:o().infoText,children:i}):(0,r.jsx)("span",{className:o().infoText,children:i})]},e)})})]})}},12771:(t,e,n)=>{"use strict";n.d(e,{x6:()=>f,zy:()=>l,ZP:()=>c,pY:()=>m,aB:()=>d,nl:()=>h,xy:()=>p,ag:()=>g,QV:()=>u,Cw:()=>o});var r=n(33126);class i{start(){this.startTime=performance.now()}setStatus(t){this.status=t}observe(){if(!this.startTime)throw Error("Prometheus metric of outgoing request is not observed: startTime is not defined");!function(t,e,r,i){try{var a,s;null==(a=n.g.outgoingHTTPRequestHistogram)||a.labels(t,e,void 0!==r?String(r):"unknown").observe((s=i,performance.now()-s))}catch(t){console.warn("Prometheus metric of outgoing request is not observed:",t)}}(this.method,this.url,this.status,this.startTime)}constructor(t,e){this.method=t,this.url=e}}var a=n(3187),s=n(63273);function o(){return"".concat((0,r.zj)().basePath,"/api")}function c(t,e){return f("".concat("".concat((0,r.zj)().creditShowcaseApiUrl,"/api/v1"),"/").concat(t),e)}function l(t,e){return f("".concat("".concat((0,r.zj)().mainApiUrl,"/money_data"),"/").concat(t),e)}function u(t,e){return f("".concat("".concat((0,r.zj)().savingsApiUrl,"/api/v1"),"/").concat(t),e)}function d(t,e){return f("".concat("".concat((0,r.zj)().mpScApiUrl,"/api/v1"),"/").concat(t),e)}function h(t,e){return f("".concat("".concat((0,r.zj)().mpScRedirectsApiUrl,"/api/v1"),"/").concat(t),e)}function p(t,e){return f("".concat("".concat((0,r.zj)().mpScSeoApiUrl,"/api/v2"),"/").concat(t),e)}function g(t,e){return f("".concat("".concat((0,r.zj)().mpScSeoRegionsApiUrl,"/api/v1/sitemap-settings"),"/").concat(t),e)}function m(t,e){return f("".concat(o(),"/").concat(t),e)}async function f(t,e){let n=await v(t,e);try{return JSON.parse(n)}catch(t){throw Error("Failed to parse JSON: ".concat(n),{cause:t})}}async function v(t,e){var n;(0,s.oc)()||console.debug("Fetch data: ".concat(t));let o={},c=(0,r.zj)().apiUsername,l=(0,r.zj)().apiPassword;c&&l&&(o.Authorization="Basic ".concat((0,s.WG)("".concat(c,":").concat(l))));let u=new i(null!=(n=null==e?void 0:e.method)?n:"GET",(0,a.m)(t));try{u.start();let n=await fetch(t,{...e,headers:{...o,...null==e?void 0:e.headers}});if(u.setStatus(n.status),!n.ok)throw Error("Response wasn't OK. The response status code is ".concat(n.status));return await n.text()}catch(e){throw Error("Failed to fetch data: ".concat(t),{cause:e})}finally{u.observe()}}},14731:(t,e,n)=>{"use strict";function r(t){return Array.isArray(t)?t:void 0!==t?[t]:[]}function i(t){let e=Math.floor(Math.random()*t.length);return t[e]}n.d(e,{$:()=>r,X:()=>i})},15691:t=>{t.exports={container:"satellite-landing-heading_container__LIaMB",heading:"satellite-landing-heading_heading__FTHM3",widgetContainer:"satellite-landing-heading_widgetContainer__RqWjy",widget:"satellite-landing-heading_widget__m4Gyz",title:"satellite-landing-heading_title__USjg6",subtitle:"satellite-landing-heading_subtitle__bj30j",infoBlock:"satellite-landing-heading_infoBlock__GO7rn",infoItem:"satellite-landing-heading_infoItem__CNPXo",infoText:"satellite-landing-heading_infoText__4Lv_6",iconWrapper:"satellite-landing-heading_iconWrapper__Blfql",icon:"satellite-landing-heading_icon__yshCA"}},25651:(t,e,n)=>{"use strict";n.d(e,{F:()=>A});var r=n(37876),i=n(14232),a=n(89099),s=n(73596),o=n(10027),c=n(92020),l=n(99388),u=n(33126),d=n(5552),h=n(9837),p=n(48673),g=n(3187),m=n(66460),f=n(162),v=n(61850),x=n(54926),_=n(27116);let y=(0,i.memo)(t=>{let{name:e}=t,n={"@context":"https://schema.org","@type":"Product",name:e,aggregateRating:(0,x.E)({ratingValue:4.8,reviewCount:1587,bestRating:5,worstRating:1})};return(0,r.jsx)(_.S,{schema:n})});y.displayName="SatteliteLandingSchema",n(51040);var w=n(2694),j=n.n(w);function A(t){let{expertQuote:e,questions:n,texts:x,content:_,onNavigate:w,support:A,loginWidgetServerConfig:C,noIndex:b,loginWidgetButtonText:S,loginWidgetEntryPoint:k,seoText:E}=t,{lkBaseUrl:T,assetsBaseUrl:N}=(0,u.UK)(),U=(0,i.useRef)(null),{asPath:R}=(0,a.useRouter)(),[P,L]=(0,i.useState)(!1),[O,z]=(0,i.useState)(null!=e?e:void 0),[I,D]=(0,i.useState)(null!=E?E:void 0),M=(0,d._I)(),B=(0,i.useMemo)(()=>({baseUrl:T,s3AssetsUrl:"".concat(N,"/mp-assets"),serverConfig:C,config:{primaryTextOverride:S,linkTarget:"_self"},isSilent:!0,entryPointId:k,scenarioParams:{targetUri:"".concat(T,"/credits/history")}}),[N,T,C,S,k]),q=(0,g.m)(R);(0,l.eg)(l.ch.Credit);let F=n.map(t=>({...t,plainText:t.text.replace(/<[^>]+>/g,"")}));return(0,p.w5)(()=>{(0,f.Zs)(q).then(z),(0,v.Rz)(q).then(D)},[q]),(0,i.useEffect)(()=>{let t=U.current;if(null===t)throw Error("Dead code branch");let e=new IntersectionObserver(t=>{let[e]=t;L(!e.isIntersecting)},{threshold:.1});return e.observe(t),()=>{e.unobserve(t)}},[]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.I,{title:x.meta.title,description:x.meta.description}),b?(0,r.jsx)(c.W,{}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(m.t,{}),(0,r.jsx)(y,{name:x.title}),(0,r.jsx)(h.c,{questions:F})]}),(0,r.jsx)(_,{texts:x,loginWidgetRef:U,expertQuote:O,questions:n,onSatelliteNavigate:w,support:A,loginWidgetConfig:B,seoText:I}),!M&&P&&(0,r.jsx)("div",{className:j().widgetContainer,children:(0,r.jsx)(s.S,{...B})})]})}},27116:(t,e,n)=>{"use strict";n.d(e,{S:()=>s});var r=n(37876),i=n(77328),a=n.n(i);function s(t){let{schema:e}=t;return(0,r.jsx)(a(),{children:(0,r.jsx)("script",{type:"application/ld+json","data-testid":"schema-script",dangerouslySetInnerHTML:{__html:JSON.stringify(e)}})})}},28131:(t,e,n)=>{"use strict";function r(t){return t instanceof Error?t.message:"Unknown error"}n.d(e,{m_:()=>i,u1:()=>r});class i extends Error{}},37105:(t,e,n)=>{"use strict";n.d(e,{h:()=>r});var r=function(t){return t.POTREBITELSKIE="potrebitelskie_kredity",t.KARTY="kreditnye_karty",t.MICROZAJMY="mikrozajmy",t.AUTOCREDIT="avtokredity",t.IPOTEKA="ipoteka",t.CALCULATOR="kreditniy_kalkulyator",t}({})},47593:(t,e,n)=>{"use strict";n.d(e,{B:()=>s});var r=n(37876),i=n(90557),a=n.n(i);function s(t){let{isSticky:e}=t;return(0,r.jsx)("div",{className:a().disclaimer,style:e?{position:"sticky"}:{position:"fixed",width:"100%"},children:"Оценивайте свои финансовые возможности и риски. Изучите все условия кредита (займа)"})}},48673:(t,e,n)=>{"use strict";n.d(e,{aK:()=>s,qb:()=>a,w5:()=>i});var r=n(14232);let i=(t,e)=>{let n=(0,r.useRef)(!1);(0,r.useEffect)(()=>{n.current?t():n.current=!0},e)};function a(t){let e=(0,r.useRef)(t);return e.current=t,e}let s=r.memo},53718:t=>{t.exports={gray:"container_gray__210_P",dark:"container_dark__OhxN6",ligth:"container_ligth__XYDh1"}},54926:(t,e,n)=>{"use strict";function r(t){let{ratingValue:e,reviewCount:n,bestRating:r,worstRating:i}=t;return{"@type":"AggregateRating",ratingValue:e,reviewCount:n,bestRating:r,worstRating:i}}n.d(e,{E:()=>r})},55330:(t,e,n)=>{"use strict";n.d(e,{m:()=>c});var r=n(37876),i=n(40317),a=n(69241),s=n(53718),o=n.n(s);function c(t){if("theme"in t){let{className:e,children:n,theme:s,...c}=t;return(0,r.jsx)("div",{className:(0,a.A)(e,{[o().gray]:"gray"===s,[o().dark]:"dark"===s,[o().ligth]:"ligth"===s}),children:(0,r.jsx)(i.m,{...c,children:n})})}return(0,r.jsx)(i.m,{...t,children:t.children})}},61850:(t,e,n)=>{"use strict";n.d(e,{Rz:()=>a});var r=n(12771),i=n(73584);async function a(t){try{return await (0,r.pY)("showcases/seo-text?url=".concat(encodeURIComponent(t)))}catch(t){return}}async function s(t){let e=(await (0,r.xy)("seo-texts/by-url?url=".concat(encodeURIComponent(t)))).find(t=>"SEO Текст"===t.type.name);if(void 0!==e)return e.content.filter(t=>void 0!==t.title&&void 0!==t.content).sort(o)[0]}function o(t,e){return t.position-e.position}n(28131),new i.AP(s)},66460:(t,e,n)=>{"use strict";n.d(e,{t:()=>o});var r=n(37876),i=n(14232),a=n(33126),s=n(27116);let o=(0,i.memo)(()=>(0,r.jsx)(s.S,{schema:function(){let{mainBaseUrl:t,basePath:e}=(0,a.UK)();return{"@context":"https://schema.org","@type":"Organization",name:"finuslugi.ru",legalName:"ПАО \xabМосковская Биржа\xbb",url:t,logo:"".concat(t).concat(e,"/images/logo-1200x630.jpg"),sameAs:["https://vk.com/finuslugiru","https://t.me/MoexFinuslugi","https://zen.yandex.ru/finuslugi"],address:{"@type":"PostalAddress",addressLocality:"Москва",streetAddress:"Большой Кисловский переулок, дом 13",postalCode:"125009",addressCountry:"RU"},contactPoint:[{"@type":"ContactPoint",email:"service@finuslugi.ru",telephone:"+74951453232",contactType:"customer service",areaServed:"RU",availableLanguage:"Russian"}]}}()}));o.displayName="OrganizationSchema"},73422:t=>{t.exports={withoutLogo:"footer_withoutLogo__SigHo"}},73584:(t,e,n)=>{"use strict";n.d(e,{AP:()=>i,B4:()=>r,n9:()=>a});class r{getOrUpdate(t){var e;return null!=(e=this.get())?e:this.update(t)}get(){if(this.expires>Date.now())return this.value}update(t){let e=this.getValue(t),n=this.value;return(this.expires=Date.now()+this.duration,void 0!==n)?(e.then(t=>{this.value=Promise.resolve(t)}).catch(()=>{this.expires=Date.now()+this.duration}),n):(e.catch(()=>{this.value=void 0,this.expires=0}),this.value=e,e)}constructor(t,e){this.expires=0,this.getValue=t,this.duration=null!=e?e:3e5}}class i{getOrUpdate(t,e){var n;return null!=(n=this.get(t))?n:this.update(t,e)}get(t){var e;if((null!=(e=this.expires.get(t))?e:0)>Date.now())return this.values.get(t)}update(t,e){let n=this.getValue(e),r=this.values.get(t);return(this.expires.set(t,Date.now()+this.duration),this.clear(),void 0!==r)?(n.then(e=>{this.values.set(t,Promise.resolve(e))}).catch(()=>{this.expires.set(t,Date.now()+this.duration)}),r):(n.catch(()=>{this.values.delete(t),this.expires.delete(t)}),this.values.set(t,n),n)}clear(){let t=Date.now();this.expires.forEach((e,n)=>{e<t&&(this.values.delete(n),this.expires.delete(n))})}constructor(t,e){this.values=new Map,this.expires=new Map,this.getValue=t,this.duration=null!=e?e:3e5}}function a(){let t=new Date;return new Date(t.getFullYear(),t.getMonth(),t.getDate()+1,0,0,0,0).getTime()}},78011:(t,e,n)=>{"use strict";n.d(e,{E:()=>s});var r=n(37876),i=n(21676),a=n(33126);function s(t){let{value:e,className:n}=t,{assetsBaseUrl:s}=(0,a.zj)();return(0,r.jsx)(i.E,{className:n,s3Assets:s,phoneCard:e.phoneCard,appCard:e.appCard})}},81078:(t,e,n)=>{"use strict";n.d(e,{w:()=>l});var r=n(37876),i=n(6e4),a=n(69241),s=n(33126),o=n(73422),c=n.n(o);function l(t){let{className:e,data:n,variant:o,withoutLogo:l}=t,u=(0,s.UK)();return(0,r.jsx)("div",{className:(0,a.A)(e,{[c().withoutLogo]:l}),children:(0,r.jsx)(i.w,{data:n,showcaseUrl:u.mainBaseUrl,variant:o})})}},90557:t=>{t.exports={disclaimer:"advertisement-disclaimer_disclaimer__CoBa3"}},91063:(t,e,n)=>{"use strict";n.d(e,{o:()=>i});var r=n(70728);function i(t){t.eventAction&&(t.eventAction=t.eventAction.toLowerCase().replaceAll(" ","_")),t.eventLabel&&"string"==typeof t.eventLabel&&(t.eventLabel=t.eventLabel.toLowerCase().replaceAll(" ","_")),(0,r.Fj)(t)}},92020:(t,e,n)=>{"use strict";n.d(e,{W:()=>s});var r=n(37876),i=n(77328),a=n.n(i);let s=()=>(0,r.jsx)(a(),{children:(0,r.jsx)("meta",{name:"robots",content:"noindex,nofollow"})})},99388:(t,e,n)=>{"use strict";n.d(e,{ch:()=>u,eg:()=>h});var r=n(14232),i=n(89099),a=n(82065),s=n(83024),o=n(17092),c=n(91063),l=function(t){return t.Source="utm_source",t.Campaign="utm_campaign",t.Medium="utm_medium",t.Term="utm_term",t}(l||{}),u=function(t){return t.Credit="credit",t.CreditCard="credit_card",t.Microloan="micro_loan",t}({});function d(t,e,n,r,i){let a=Object.fromEntries(e);a.product_type=n,a.aggregator_id=r,a.create_date=new Date().toISOString();let l=t[s.je],u=function(t){try{let e=t.cpa_click;if(e)return JSON.parse(e)}catch(t){}return{payload:[]}}(t);u.payload.push(a),(0,o.u)("cpa_click",u,30);let d={event:"data-event",eventCategory:r,eventAction:"CPA_click",eventLabel:window.location.pathname,eventValue:i,utm_source:e.get("utm_source"),utm_campaign:e.get("utm_campaign"),utm_medium:e.get("utm_medium"),customer_id:l};return(0,c.o)(d),!0}function h(t){let{asPath:e}=(0,i.useRouter)(),n=(0,a.l)();(0,r.useEffect)(()=>{var r=n,i=e,a=t;let[,s]=i.split("?"),o=new URLSearchParams(s);(function(t,e,n){var r;let i=e.get("aggregator_id");if(!i)return!1;if("agents"!==i)throw Error('The query parameter "aggregator_id" should be equal to "agents"');let a=null!=(r=e.get("click_id"))?r:void 0;return d(t,e,n,i,a)})(r,o,a)||function(t,e,n){var r;let i=e.get("utm_source");if(!i)return;let a=null!=(r=e.get("utm_term"))?r:void 0;d(t,e,n,i,a)}(r,o,a)},[n,e,t])}}}]);