(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[312],{1102:(e,t,a)=>{"use strict";a.d(t,{i:()=>h,v:()=>f});var n,r,i=a(37876),o=a(14232),l=a(54587),s=a.n(l),c=a(69241),d=a(37146),u=a.n(d);function m(){return(m=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(null,arguments)}let p=function(e){return o.createElement("svg",m({xmlns:"http://www.w3.org/2000/svg",width:40,height:40,fill:"none"},e),n||(n=o.createElement("rect",{fill:"#f5f5f5"})),r||(r=o.createElement("path",{fill:"#919294",stroke:"#919294",strokeWidth:.1,d:"M10 28h20v2H10zm2-8h2v7h-2zm5 0h2v7h-2zm4 0h2v7h-2zm5 0h2v7h-2zm-16-5 10-5 10 5v4H10zm2 1.23V17h16v-.77l-8-4zm8-.23c-.56 0-1-.45-1-1 0-.56.44-1 1-1 .55 0 1 .44 1 1 0 .55-.45 1-1 1Z"})))};var h=function(e){return e.White="var(--color-white)",e.Gray="var(--color-gray)",e}({});function f(e){let{url:t,size:a,mobileSize:n=a,className:r,alt:o,rounded:l,backgroundColor:s="var(--color-white)"}=e,c=(0,i.jsx)(g,{url:t,size:a,mobileSize:n,className:r,alt:o});return l?(0,i.jsx)("div",{className:u().wrapper,style:{"--wrapper-size":"".concat(Math.trunc(1.625*a),"px"),"--wrapper-mobile-size":"".concat(Math.trunc(1.625*n),"px"),backgroundColor:s},children:c}):c}function g(e){let{url:t,size:a,mobileSize:n,className:r,alt:l}=e,[d,m]=(0,o.useState)(!1),h={"--image-size":"".concat(a,"px"),"--image-mobile-size":"".concat(n,"px")};return void 0===t||d?(0,i.jsx)(p,{className:(0,c.A)(r,u().image),style:h}):(0,i.jsx)(s(),{className:(0,c.A)(r,u().image),width:a,height:a,style:h,src:t,alt:l,onError:()=>m(!0)})}},1404:e=>{e.exports={wrapper:"offer-info-block_wrapper__6BCk7",titleWrapper:"offer-info-block_titleWrapper__JZSTw",title:"offer-info-block_title__axudX",text:"offer-info-block_text__HHa_5"}},4065:(e,t,a)=>{"use strict";a.d(t,{kN:()=>u,kV:()=>d,u_:()=>c});var n=a(12771),r=a(73584),i=a(28131),o=a(91572),l=a(33247),s=a(55511);function c(e){let t=(0,s.lc)(e);return(0,n.pY)("microloans/offers?".concat(t))}let d=48;function u(e){let{tagUrl:t,regionUrl:a,townUrl:n,page:r,pageSize:i,...o}=e;return 1===r&&i===d&&0===Object.values(o).length?m.getOrUpdate("".concat(t).concat(a).concat(n),e):p(e)}let m=new r.AP(p,3e4);async function p(e){let[t,a]=await Promise.all([(0,s.Bz)(e),(0,l.I4)()]);if(void 0!==e.page&&1!==e.page&&0===t.content.length)throw new i.m_("Invalid microloans page: ".concat(e.page));return function(e,t){var a,n;let{subtitle:r,title:i,description:l,total:s,content:c}=e;return{subtitle:r,title:i,description:l,total:s,offers:(a=c,n=t,a.map(e=>(function(e,t){var a,n,r;let i=null!=(a=t.mfosRatings[e.provider.providerId])?a:"4.87",l=null!=(r=null!=(n=e.contentAttributes.approvalProbability)?n:t.microloansApprovalsProbabilities[e.id])?r:o.jr.High;return{...(0,o.pj)(e),rating:i,approvalProbability:l}})(e,n)))}}(t,a)}},4107:()=>{},7455:(e,t,a)=>{"use strict";a.d(t,{K:()=>i});var n=a(12771);async function r(){return await (0,n.aB)("data/page-data?scLayoutName=SupportWidget&scPageUrl=general")}async function i(){return o.getOrUpdate()}let o=new(a(73584)).B4(r)},8626:e=>{e.exports={wrapper:"RedirectToLogin_wrapper__sp_aL",container:"RedirectToLogin_container__oRs3Q",backgroundImage:"RedirectToLogin_backgroundImage__k5_j2",content:"RedirectToLogin_content__LP3oF",title:"RedirectToLogin_title__giAmT",textBlock:"RedirectToLogin_textBlock__EONov",text:"RedirectToLogin_text__OW6mv",button:"RedirectToLogin_button__jN7fd",icon:"RedirectToLogin_icon__NbFJA"}},12720:(e,t,a)=>{"use strict";function n(e){let t=e.from,a=e.to;return{minValue:void 0!==t?Number(t):1e4,maxValue:void 0!==a?Number(a):void 0}}function r(e){let t=e.reduce((e,t)=>{let a=n(t.amount);return e.lowPrice=Math.min(e.lowPrice,a.minValue),void 0!==a.maxValue&&(e.highPrice=Math.max(e.highPrice,a.maxValue)),e},{lowPrice:1/0,highPrice:-1/0});return{...Number.isFinite(t.lowPrice)&&{lowPrice:t.lowPrice},...Number.isFinite(t.highPrice)&&{highPrice:t.highPrice}}}function i(e){let t={"@type":"MonetaryAmount",name:"Сумма займа",minValue:e.minValue,currency:"RUB"};return void 0!==e.maxValue&&(t.maxValue=e.maxValue),t}function o(e,t){let a={"@type":"QuantitativeValue",name:"Срок займа",minValue:Number(e.from),maxValue:Number(e.to)};return void 0!==t&&(a.unitCode=t),a}function l(e,t){let a=t.from,n=t.to;if(void 0!==a||void 0!==n)return void 0!==a&&(e.minValue=Number(a)),void 0!==n&&(e.maxValue=Number(n)),e}function s(e){return l({"@type":"QuantitativeValue",name:"Процентная ставка в день"},e)}function c(e){return l({"@type":"QuantitativeValue",name:"Процентная ставка",unitText:"% в день"},e)}a.d(t,{Jl:()=>n,Oz:()=>r,TQ:()=>c,ji:()=>i,lm:()=>o,w2:()=>s})},14552:e=>{e.exports={container:"MicroloanInfo_container__Nl1Nj",containerFull:"MicroloanInfo_containerFull__FHWGY",promo:"MicroloanInfo_promo__wEsEc",left:"MicroloanInfo_left__Aq9Zm",right:"MicroloanInfo_right__D5tOG",qrDesc:"MicroloanInfo_qrDesc__pKTqc",qrMobile:"MicroloanInfo_qrMobile__bN5Z8",typeDescription:"MicroloanInfo_typeDescription__xRMv_"}},18108:e=>{e.exports={container:"MicroloanListModal_container__4uycu",content:"MicroloanListModal_content__W7GUx",listTitle:"MicroloanListModal_listTitle__dtSVF",list:"MicroloanListModal_list__RMBRt",valueText:"MicroloanListModal_valueText__mY9qV",row:"MicroloanListModal_row__NJuSi",rowLabel:"MicroloanListModal_rowLabel__gczz9",rowValue:"MicroloanListModal_rowValue__H4A77",buttons:"MicroloanListModal_buttons__Blx2m",button:"MicroloanListModal_button__GHi6e"}},21093:()=>{},21921:(e,t,a)=>{"use strict";a.d(t,{$G:()=>n,Pj:()=>r,Zf:()=>o,dt:()=>i});var n=function(e){return e.Header="header",e.SubHeader="sub_header",e.Paragraph="paragraph",e.Link="link",e.Dossier="dossier",e.Html="html",e.Annotation="annotation",e.CompanyAnnotation="company-annotation",e.Keynote="keynote",e.Image="image",e.Table="table",e.Banner="banner",e}({});function r(e){switch(e.type){case"html":case"table":return!0;default:return!1}}function i(e){switch(e.type){case"header":case"sub_header":case"paragraph":case"link":case"dossier":case"annotation":case"company-annotation":case"keynote":return!0;default:return!1}}function o(e){return r(e)?e.data.html:void 0}},23259:(e,t,a)=>{"use strict";a.d(t,{W:()=>r});var n=a(63921);function r(e,t,a){let r=e.commercial||void 0===t.redirect_to?e.targetUrl:t.redirect_to;return(0,n.o)(r,a)}},24284:(e,t,a)=>{"use strict";a.d(t,{w:()=>r});let n=["finuslugi.ru","moex.com"],r=e=>e?e=e.replace(/href="(.*?)"/gi,(e,t)=>"".concat(e).concat((e=>e.includes("//")&&!n.find(t=>e&&e.indexOf(t)>=0))(t)?' rel="nofollow"':"")):""},28346:(e,t,a)=>{"use strict";a.d(t,{m:()=>h});var n=a(37876),r=a(14232),i=a(42036),o=a(50698),l=a(94882),s=a(69241),c=a(43509),d=a(68086);let u=(0,a(9789).g)("tooltip"),m=Object.freeze({tooltip:u,text:"".concat(u,"__text"),wrapper:"".concat(u,"__wrapper"),inverted:"".concat(u,"--inverted")});a(21093);let p=e=>{let{children:t,moveToBody:a}=e;return a?(0,n.jsx)(i.XF,{id:c.T,children:t}):(0,n.jsx)(n.Fragment,{children:t})},h=(0,r.forwardRef)((e,t)=>{let{position:a="top",text:c,zIndex:u=1,inverted:h,withoutTail:f,children:g,boundingOffset:_=12,boundaryPadding:v,moveToBody:x=!1,hideWhenOutOfBounds:b=!1,style:y,className:j,dataQa:k,dataId:M,...N}=e,[w,A]=(0,r.useState)(!1),C=(0,r.useRef)(null),{refs:I,floatingStyles:L,context:T,middlewareData:B}=(0,i.we)({open:w,onOpenChange:A,placement:a,whileElementsMounted:o.ll,middleware:[(0,l.cY)({mainAxis:_}),(0,l.UU)({fallbackAxisSideDirection:"start",crossAxis:!1,...void 0!==v&&{padding:v}}),(0,l.BN)({...void 0!==v&&{padding:v}}),(0,l.UE)({element:C,padding:8}),...b?[(0,l.jD)({strategy:"escaped",padding:-24})]:[]]}),S=(0,i.Mk)(T,{delay:300}),{getReferenceProps:P,getFloatingProps:R}=(0,i.bv)([S]),U=(0,i.DL)(T,{duration:300});return(0,r.useImperativeHandle)(t,()=>({getActivatorElement:I.reference,getTooltipElement:I.floating})),(0,r.useEffect)(()=>{var e;(null==(e=B.hide)?void 0:e.escaped)&&A(!1)},[B.hide]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{"data-qa":(0,d.g)("".concat(k,"-activator"),!!k),ref:I.setReference,...P,className:m.wrapper,children:g}),U.isMounted&&(0,n.jsx)(p,{moveToBody:x,children:(0,n.jsxs)("div",{role:"tooltip",ref:I.setFloating,style:{...L,...U.styles,...y,zIndex:u},className:(0,s.A)(m.tooltip,j,{[m.inverted]:h}),...R,...N,"data-qa":k,"data-id":M,children:[(0,n.jsx)("span",{className:(0,s.A)(m.text,{[m.inverted]:h}),children:c}),!f&&(0,n.jsx)(i.ie,{ref:C,context:T,width:16,d:"M8 10C6 12.58 3.43 16 0 16L16 16C12.58 16 10 12.58 8 10Z",fill:h?"var(--color-white)":"var(--color-black-500)"})]})})]})});h.displayName="Tooltip"},30228:(e,t,a)=>{"use strict";a.d(t,{I:()=>o});var n=a(14232),r=a(89099),i=a(75464);function o(e){let{asPath:t}=(0,r.useRouter)(),a=(0,i.$)(t);return(0,n.useMemo)(()=>{if(t.includes("#")){let a=t.split("?")[1];return a?a.split("&").filter(t=>e.includes(t.split("=")[0])):[]}return e.reduce((e,t)=>a[t]?[...e,"".concat(t,"=").concat(a[t])]:e,[])},[t,a,e])}},31655:(e,t,a)=>{"use strict";a.d(t,{T:()=>x});var n=a(37876),r=a(14232),i=a(54587),o=a.n(i),l=a(48230),s=a.n(l),c=a(13636);let d={src:"/kredity/assets/_next/static/media/background-image.343f2236.svg",height:270,width:435,blurWidth:0,blurHeight:0},u={src:"/kredity/assets/_next/static/media/hand-image.f4773fa4.svg",height:295,width:242,blurWidth:0,blurHeight:0};var m=a(87162),p=a(31257),h=a(20912),f=a(3187),g=a(83024),_=a(8626),v=a.n(_);let x=(0,r.memo)(e=>{let{url:t,text:a,mainPageUrl:r}=e,i=(0,g.fH)(),l=!(0,h.Ke)("lg"),_=(0,f.vh)(t);return(0,n.jsx)("section",{id:m.yB,className:v().wrapper,children:(0,n.jsxs)("div",{className:v().container,children:[(0,n.jsxs)("div",{className:v().content,children:[(0,n.jsx)("h3",{className:v().title,children:"Не подходит предложение?"}),(0,n.jsxs)("div",{className:v().textBlock,children:[(0,n.jsx)("p",{className:v().text,children:a}),_?(0,n.jsx)(c.$,{rel:"nofollow",as:"a",className:v().button,variant:"purple",href:t,target:"_blank",onClick:()=>(0,p._)({customerId:i,eventCategory:r,eventAction:p.y.button,eventActionText:"Подробнее",eventLabel:t}),children:"Подробнее"}):(0,n.jsx)(s(),{href:t,children:(0,n.jsx)(c.$,{className:v().button,variant:"purple",onClick:()=>(0,p._)({customerId:i,eventCategory:r,eventAction:p.y.button,eventActionText:"Подробнее",eventLabel:t}),children:"Подробнее"})})]}),!l&&(0,n.jsx)(o(),{className:v().icon,width:242,height:295,alt:"иконка",src:u})]}),(0,n.jsx)(o(),{className:v().backgroundImage,width:436,height:l?270:468,alt:"иконка",src:d})]})})});x.displayName="RedirectToLogin"},33247:(e,t,a)=>{"use strict";a.d(t,{I4:()=>s});var n=a(73584),r=a(66547),i=a(25334),o=a(9221),l=a(55511);async function s(){var e;return Date.now()>=(null!=(e=c.expires)?e:0)?(c.expires=(0,n.n9)(),c.update()):c.getOrUpdate()}let c=new n.B4(d);async function d(){let e=await (0,l.Bz)({}),t={},a={};return e.content.forEach((e,n)=>{let r=n+1,i=e.id,o=e.provider.providerId;if(void 0===t[o]){let{rating:n,approvalProbability:l}=u(r,e);t[o]=Number(n/100).toFixed(2),a[i]=l}else if(void 0===a[i]){var l;a[i]=null!=(l=e.contentAttributes.approvalProbability)?l:u(r,e).approvalProbability}}),{mfosRatings:t,microloansApprovalsProbabilities:a}}function u(e,t){var a;let{provider:n,contentAttributes:l}=t,s=(0,i.i)(e,!l.commercial),c=(0,o.GD)(n.providerId,s),d=null!=(a=l.approvalProbability)?a:(0,r.z)(s,c);return{rating:c,approvalProbability:d}}},34787:e=>{e.exports={page:"MicroloanDetail_page__fwC3C",breadcrumbs:"MicroloanDetail_breadcrumbs__kJk5w",navigationWrapper:"MicroloanDetail_navigationWrapper__La1jf",about:"MicroloanDetail_about__l4urE",pickerSection:"MicroloanDetail_pickerSection__iS8fN"}},34833:e=>{e.exports={plate:"offer-list-item_plate__1l4Bc","plate--primary":"offer-list-item_plate--primary__JTA5a","plate--secondary":"offer-list-item_plate--secondary__tG_Xe",detailButton:"offer-list-item_detailButton__UE6yU",title:"offer-list-item_title__uXjFN",productName:"offer-list-item_productName__x1VU_",advantagesList:"offer-list-item_advantagesList__3kiVs",advantageItem:"offer-list-item_advantageItem__7UTNI",advantageItemCaption:"offer-list-item_advantageItemCaption__D5yGz",body:"offer-list-item_body__eDWM8",left:"offer-list-item_left__VI40X",right:"offer-list-item_right__83YGn",header:"offer-list-item_header__7bkId",tagsList:"offer-list-item_tagsList__hoJzG",tag:"offer-list-item_tag__97QiO",titleWrapper:"offer-list-item_titleWrapper__FruiX",logoIcon:"offer-list-item_logoIcon__IPZ5v",noneCircle:"offer-list-item_noneCircle__3ViHs",companyName:"offer-list-item_companyName__vt18w",iconClassName:"offer-list-item_iconClassName__ZqeRo",advantageItemTitle:"offer-list-item_advantageItemTitle__5bPNK",longItem:"offer-list-item_longItem__PrDkv",buttonsWrapper:"offer-list-item_buttonsWrapper__fl_EI",block:"offer-list-item_block__cE5xX",dopButtonsBlock:"offer-list-item_dopButtonsBlock__0g3kY",desktopBlock:"offer-list-item_desktopBlock__DXjEK",mobileBlock:"offer-list-item_mobileBlock__4Mkl_",dopButton:"offer-list-item_dopButton__phj42",dopIcon:"offer-list-item_dopIcon__d3Zl9",iconCompare:"offer-list-item_iconCompare__B7tXm",iconButton:"offer-list-item_iconButton__fiB2J",icon:"offer-list-item_icon__iPXC_",detailIcon:"offer-list-item_detailIcon__3Jof8",desktop:"offer-list-item_desktop__A5lI_",mobile:"offer-list-item_mobile__gQ2qP",appButton:"offer-list-item_appButton__yHQ7k",button:"offer-list-item_button__XDet1",footer:"offer-list-item_footer__fMs65",expandButton:"offer-list-item_expandButton__zxW8_",expandIcon:"offer-list-item_expandIcon___N9hv",advertising:"offer-list-item_advertising__muCIZ",noneMargin:"offer-list-item_noneMargin__bt9p6",relative:"offer-list-item_relative__lkN0q",cornerIcon:"offer-list-item_cornerIcon__zbStP"}},37146:e=>{e.exports={wrapper:"styles_wrapper__hwoSg",image:"styles_image__R0ztG"}},37394:(e,t,a)=>{"use strict";a.d(t,{g:()=>n});let n=()=>Date.now().toString()+Math.random().toString(36).slice(2,9)},44694:(e,t,a)=>{"use strict";a.d(t,{M:()=>x});var n=a(37876),r=a(14232),i=a(54587),o=a.n(i),l=a(25904),s=a(13636),c=a(51391),d=a(26027),u=a(69241),m=a(37071),p=a(72278);let h={src:"/kredity/assets/_next/static/media/corner.2e0a9e26.svg",height:40,width:40,blurWidth:0,blurHeight:0},f={src:"/kredity/assets/_next/static/media/detail.05fbe660.svg",height:24,width:24,blurWidth:0,blurHeight:0};var g=function(e){return e.button="button",e.detail="detail",e.compare="compare",e.favorites="favorites",e.share="share",e}({}),_=a(34833),v=a.n(_);let x=e=>{let{icon:t,buttonText:a="Подробнее",buttonUrl:i,companyName:f,productName:_,productUrl:x,advantageAmountFrom:y,advantageBonus:j,advantageAmountTo:k,tags:M,advertising:N,className:w,expandButton:A,onDetailInfoClick:C,onExpandClick:I,onButtonClick:L,variant:T="primary",license:B}=e,S=void 0===B||m.MI.includes(B)?void 0:"Лиц. №".concat(B),P=[y,j,k].filter(e=>"string"==typeof(null==e?void 0:e.text)?null==e?void 0:e.text.length:null==e?void 0:e.text),[R,U]=(0,r.useState)(!1),O=(0,r.useCallback)(e=>{e.preventDefault(),e.stopPropagation(),U(!0),null==I||I()},[I]),D=(0,r.useCallback)(function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return a=>{switch(t&&(a.preventDefault(),a.stopPropagation()),e){case g.detail:return null==C?void 0:C(g.detail);case g.button:return null==L?void 0:L(g.button)}}},[L,C]),z=!!A&&!R,E=!!(null==N?void 0:N.length)&&(0,n.jsx)("div",{className:(0,u.A)(v().advertising,{[v().noneMargin]:!z,[v().relative]:!z}),children:N});return(0,n.jsxs)("div",{className:(0,u.A)(w,v().plate,v()["plate--".concat(T)]),onClick:e=>{e.target instanceof Element&&e.target.closest('a, button, [role="button"]')||window.open(i,"_blank")},children:[(0,n.jsxs)("div",{className:v().body,children:[(0,n.jsxs)("div",{className:v().left,children:[(0,n.jsxs)("div",{className:v().header,children:[(0,n.jsxs)("div",{className:v().titleWrapper,children:[(0,n.jsx)("div",{className:(0,u.A)(v().logoIcon,{[v().noneCircle]:(null==t?void 0:t.type)==="rectangle"}),children:"element"in t?t.element:t}),(0,n.jsxs)("div",{className:v().title,children:[(0,n.jsx)("p",{className:v().productName,title:_,children:(0,n.jsx)(c.N,{href:x,target:"_blank",children:_})}),(0,n.jsx)("p",{className:v().companyName,title:f,children:(0,n.jsx)("span",{children:f})})]})]}),!!(null==P?void 0:P.length)&&(0,n.jsx)("div",{className:v().advantagesList,children:P.map((e,t)=>(0,n.jsx)("div",{className:(0,u.A)(v().advantageItem,{[v().longItem]:P.length<3}),children:(0,n.jsx)(p.U,{caption:e.caption,text:e.text,tooltipText:e.tooltipText})},t))}),(0,n.jsx)(b,{isMobile:!0,handleButtonClick:D})]}),(0,n.jsx)("div",{className:v().tagsList,children:M.map((e,t)=>(0,n.jsx)(d.v,{className:v().tag,label:e.label,variant:e.variant,rounded:!0},t))})]}),(0,n.jsx)("div",{className:v().right,children:(0,n.jsxs)("div",{className:v().buttonsWrapper,children:[(0,n.jsxs)("div",{className:v().block,children:[(0,n.jsx)(b,{isMobile:!1,handleButtonClick:D}),(0,n.jsx)(s.$,{rel:"nofollow sponsored",as:"a",size:"s",href:i,target:"_blank",className:(0,u.A)(v().button,v().appButton),onClick:D(g.button,!1),"data-value":S,children:a})]}),!z&&E]})})]}),(z||!!N)&&(0,n.jsxs)("div",{className:v().footer,children:[E,z&&(0,n.jsxs)("button",{className:v().expandButton,onClick:O,children:[A,(0,n.jsx)(l.$Ys,{})]})]}),z&&(0,n.jsx)(o(),{className:v().cornerIcon,src:h,alt:""})]})},b=e=>{let{isMobile:t,handleButtonClick:a}=e;return(0,n.jsx)("button",{className:(0,u.A)(v().button,v().iconButton,v().detailButton,{[v().mobile]:t,[v().desktop]:!t}),onClick:a(g.detail),children:(0,n.jsx)(o(),{src:f,alt:"иконка",width:"24",height:"24",className:(0,u.A)(v().icon,v().detailIcon)})})}},45535:(e,t,a)=>{"use strict";a.r(t),a.d(t,{MicroloanOfferPage:()=>eJ,getMicroloanOfferPageProps:()=>eZ});var n=a(37876),r=a(62576),i=a(14232),o=a(48230),l=a.n(o),s=a(89099),c=a(84025),d=a(10027),u=a(16891),m=a(31655),p=a(83188),h=a(87162),f=a(5153);let g=[{id:1,label:"Условия",name:f.s1.conditions},{id:2,label:"Требования",name:f.s1.requirements},{id:3,label:"Погашения",name:f.s1.repayment}];var _=a(62728),v=a(3187),x=a(35690);let b=(0,i.memo)(e=>{let{data:t,company:a,pageUrl:r}=e,{tabsContent:o,tabsList:l}=(e=>{let t=(0,i.useMemo)(()=>(0,f.Ux)(e),[e]),a=(0,i.useMemo)(()=>g.filter(e=>t[e.name].some(e=>(0,_.a)(e.value))),[t]);return{tabsContent:t,tabsList:a}})(t);return(0,n.jsx)(p.H,{scrollBlockId:h.uB,pageUrl:r,seoText:t.description,title:"О займе",offerUpdateData:t.actualizedAt,bank:{logoMobile:a.logoUrl,description:a.description,url:"/mfo/".concat(a.url),...a.organizationType===x.eU.Mfo?{registrationNumber:a.registrationNumber,registrationDate:a.registrationDate,registrationUrl:(0,v.Qj)(a.psrn),actualizedAt:a.actualizedAt}:{},legalName:a.name,legalAddress:a.registeredOfficeAddress,inn:a.tin,ogrn:a.psrn},tabsList:l,tabsContent:o,aboutCompanyLabel:"Об организации",site:a.website})});b.displayName="MicroloanAbout";var y=a(66295),j=a(78131);let k={src:"/kredity/assets/_next/static/media/banner-7.5a596896.svg",height:206,width:300,blurWidth:0,blurHeight:0};var M=a(14873),N=a(37105),w=function(e){return e.LEAD="lead",e.MASS="mass",e}({});let A=(0,i.memo)(e=>{let{isMobile:t,offerType:a,url:r}=e,o=(0,i.useMemo)(()=>[{id:1,image:j.A,text:"Чтобы оформить этот заем, перейдите&#160;на сайт организации",buttonText:"Перейти на сайт",link:r,types:[w.LEAD]},{id:2,image:y.A,text:"Чтобы оформить этот заем, обратитесь в организацию",types:[w.MASS]},{id:3,image:k,text:"Посмотрите другие предложения о займах на Финуслугах",buttonText:a===w.LEAD?"Посмотреть другие предложения":"Посмотреть",link:"/".concat(N.h.MICROZAJMY),types:[w.LEAD,w.MASS]}].filter(e=>e.types.find(e=>e===a)),[r,a]);return(0,n.jsx)(M.N,{title:"Где оформить заем",pageUrl:N.h.MICROZAJMY,id:h.ov,isMobile:t,slides:o})});A.displayName="MicroloanApplySteps";var C=a(13636),I=a(69241),L=a(30557);let T={src:"/kredity/assets/_next/static/media/app-qr-microloan-detail.c3b8ee45.svg",height:256,width:256,blurWidth:0,blurHeight:0};var B=a(5219),S=a(52841),P=a(63292),R=a(31257),U=a(23259),O=a(79807),D=a(83024),z=a(53172),E=a(14552),W=a.n(E);let F="Где оформить заем",H="Не подходит предложение?",Z=(0,i.memo)(e=>{let{offer:t,className:a,isMobile:r,offerType:o,company:l,bannerUrl:s,control:c}=e,d=(0,D.fH)(),m=(0,U.W)(t,c,{offerId:String(t.id)}),p=(0,i.useMemo)(()=>{let e=[];return e.push({label:"ПСК",value:(0,L.o)(t.totalCost),description:"ПСК (полная стоимость кредита) — это процентная ставка, отражающая все ваши затраты по кредиту за год. ПСК включает не только проценты, но и сопутствующие платежи.\n    Информация на сайте носит справочный характер. Указанные значения ПСК получены из открытых источников. Актуальная и точная информация будет содержаться в вашем кредитном договоре."},{label:"Процентная ставка",value:(0,O.sP)(t.rate)}),void 0!==t.repaymentProcedure&&e.push({label:"Погашение",value:t.repaymentProcedure.text}),e.push({label:"Срок",value:(0,O.aB)(t.term)}),e},[t]),f=(e,t)=>{(0,R._)({customerId:d,eventCategory:N.h.MICROZAJMY,eventAction:R.y.button,eventActionText:e}),(0,z.e)(t,{offset:r?0:-100,position:"top"})};return(0,n.jsxs)(u.J,{className:(0,I.A)(W().container,W().containerFull,a),children:[(0,n.jsxs)("div",{className:W().left,children:[(0,n.jsx)(S.E,{url:t.url,company:{logoMob:l.logoUrl,url:"/mfo/".concat(l.url),name:l.name},pageUrl:N.h.MICROZAJMY,title:"Заем \xab".concat(t.name,"\xbb от ").concat(l.name),isMobile:r,moreAboutLinkText:"Подробнее о займе",scrollBlockId:h.uB,isSmall:!0,className:W().promo}),(0,n.jsx)(P.P,{qr_image:T,bannerUrl:s,isSmall:!0,className:W().qrDesc})]}),(0,n.jsx)("div",{className:W().right,children:(0,n.jsx)(B.r,{captionTitle:"Получите сегодня",pageUrl:N.h.MICROZAJMY,amount:Number(t.amount.to),disclaimer:"Предварительные условия. Не оферта",tag:t.feature,tagTheme:"yellow",footerActions:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(C.$,{rel:"nofollow",as:"a",variant:"primary",target:"_blank",className:W().button,href:m,onClick:()=>{(0,R._)({customerId:d,eventCategory:N.h.MICROZAJMY,eventAction:R.y.link,eventActionText:"Получить деньги"})},children:"Получить деньги"}),(o===w.LEAD||o===w.MASS)&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(C.$,{as:"a",variant:"secondary",className:W().button,onClick:()=>f(F,h.ov),children:F}),(0,n.jsx)("button",{onClick:()=>f(H,h.yB),className:(0,I.A)(W().button,W().buttonLink),children:H})]})]}),valuesList:p,className:W().computedBlock})})]})});Z.displayName="MicroloanInfo";var J=a(40419),V=a(42195),Y=a(3010),$=a(16196),q=a(90257),G=a(18108),K=a.n(G);let X=e=>{let{offer:t,mfo:a}=e,r=(0,f.At)(t,a);return(0,n.jsxs)("div",{className:K().content,children:[(0,n.jsx)("h3",{className:K().listTitle,children:"Параметры займа"}),(0,n.jsx)("ul",{className:K().list,children:null==r?void 0:r.params.map(e=>(0,n.jsx)(i.Fragment,{children:(0,n.jsx)($.o,{...e})},e.label))}),r&&r.conditions.length>0&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("h3",{className:K().listTitle,children:"Условия"}),(0,n.jsx)("ul",{className:K().list,children:r.conditions.map(e=>(0,n.jsx)(i.Fragment,{children:(0,n.jsx)($.o,{...e})},e.label))})]}),r&&r.company.length>0&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("h3",{className:K().listTitle,children:"Об организации"}),(0,n.jsx)("ul",{className:K().list,children:r.company.map(e=>(0,n.jsx)(i.Fragment,{children:(0,n.jsx)($.o,{...e})},e.label))})]})]})},Q=e=>{let{isOpen:t,mainPageUrl:a,offer:r,mfo:o,control:l,onClose:s}=e,c=(0,U.W)(r,l),d=(0,D.fH)(),u="Все условия по займу",m="Получить деньги",p=e=>{(0,R._)({customerId:d,eventAction:R.y.link,eventActionText:e,eventCategory:a,eventLabel:r.id})};(0,i.useEffect)(()=>{t&&(0,R._)({customerId:d,eventAction:R.y.popup,eventActionText:o.name,eventCategory:a,eventLabel:r.id})},[t,a,r,o,d]);let h=(0,n.jsxs)("div",{className:K().buttons,children:[(0,n.jsx)(C.$,{as:"a",target:"_blank",variant:"secondary",href:"/".concat(N.h.MICROZAJMY,"/").concat(r.url),className:(0,I.A)(K().button),onClick:()=>p(u),children:u}),(0,n.jsx)(C.$,{as:"a",target:"_blank",className:K().button,href:c,onClick:()=>p(m),children:m})]});return(0,n.jsx)(Y.Z,{children:(0,n.jsx)(V.a,{open:t,onClose:s,footer:{children:h},header:{title:o.name},size:"l",children:(0,n.jsxs)("div",{className:K().container,children:[(0,n.jsx)(X,{offer:r,mfo:o}),(0,n.jsx)(q.n,{pageUrl:a,actualizedAt:r.actualizedAt})]})})})};var ee=a(54587),et=a.n(ee),ea=a(91063),en=a(87087),er=a(44694),ei=a(83933),eo=a.n(ei);let el=(0,i.memo)(e=>{let{offer:t,mfo:a,className:r,onDetailInfoClick:o,eventCategory:l,control:s}=e,c=(0,D.fH)(),d=(0,U.W)(t,s),u=(0,i.useMemo)(()=>{let e=[{label:"Заем",variant:"orange"},{label:"Подача заявки на сайте организации",variant:"primary"}];return"Быстрый способ получить деньги"===t.feature?e.push({label:"Деньги мгновенно",variant:"primary"}):"Первый заем бесплатно"===t.feature&&e.push({label:"0% на первый заем",variant:"primary"}),e},[t]),m=(0,i.useRef)(null),p=(0,i.useRef)(!1),h=(0,i.useRef)(null),f=(0,i.useMemo)(()=>({caption:"Сумма",text:"".concat((0,O.Li)(t.amount)," ₽")}),[t]),g=(0,i.useMemo)(()=>({caption:"ПСК",tooltipText:"ПСК (полная стоимость кредита) — это процентная ставка, отражающая все ваши затраты по кредиту за год. ПСК включает не только проценты, но и сопутствующие платежи.\n        Информация на сайте носит справочный характер. Указанные значения ПСК получены из открытых источников. Актуальная и точная информация будет содержаться в вашем договоре займа.",text:(0,L.o)(t.totalCost)}),[t]),_={caption:"Срок",text:(0,O.K7)(t.term)},v=(0,i.useCallback)(()=>{(0,R._)({customerId:c,eventCategory:l,eventAction:R.y.button,eventActionText:"open_modal"}),o(t)},[t,l,o,c]),x=(0,i.useCallback)(e=>{let[a]=e;1===a.intersectionRatio&&!p.current&&((0,ea.o)({event:"data-event",eventAction:"show_in_catalog",eventCategory:l,eventLabel:t.id,customer_id:c}),p.current=!0,m.current&&h.current&&m.current.unobserve(h.current))},[t,l,c]);return(0,i.useEffect)(()=>{m.current&&h.current&&m.current.unobserve(h.current),!p.current&&h.current&&(m.current=new IntersectionObserver(x,{root:null,threshold:[1]}),m.current.observe(h.current))},[x]),(0,n.jsx)("div",{ref:h,className:r,onClick:()=>{var e;return e="click_button_".concat((0,en.y)("Подать заявку")),void((0,ea.o)({event:"data-event",eventAction:e,eventCategory:l,eventLabel:t.id,eventValue:t.commercial?"commercial":"non_commercial",customer_id:c}),(0,R._)({customerId:c,eventCategory:N.h.MICROZAJMY,eventAction:R.y.link,eventActionText:t.name,eventLabel:t.id,url:d}))},children:(0,n.jsx)(er.M,{icon:void 0!==a.logoUrl?(0,n.jsx)("div",{className:eo().logo,children:(0,n.jsx)(et(),{width:56,height:56,src:a.logoUrl,alt:"logo"})}):(0,n.jsx)("div",{className:eo().placeholderLogo}),companyName:a.name,productName:t.name,productUrl:"/".concat(N.h.MICROZAJMY,"/").concat(t.url),buttonUrl:d,tags:u,advantageAmountFrom:f,advantageBonus:g,advantageAmountTo:_,onDetailInfoClick:v,className:eo().plate})})});el.displayName="MicroloanListItem";var es=a(33126),ec=a(64028),ed=a.n(ec);let eu=(0,i.memo)(e=>{let{mfo:t,offers:a,offersFinuslugi:r,className:o,control:l}=e,c=(0,D.fH)(),[d,m]=(0,i.useState)(),[p,f]=(0,i.useState)(),[g,_]=(0,i.useState)(!1),{asPath:v}=(0,s.useRouter)(),b=v.split("?")[0].split("/")[1],y=(0,i.useCallback)(async e=>{(0,R._)({customerId:c,eventCategory:N.h.MICROZAJMY,eventAction:R.y.popup,eventActionText:e.name,eventLabel:e.id});let t=await (0,x.Fk)(e.mfoId);m(e),f(t),_(!0)},[c]),{mainBaseUrl:j}=(0,es.UK)();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("section",{id:h.cA,className:(0,I.A)(ed().container,o),children:[(0,n.jsx)("h3",{className:ed().title,children:"Другие предложения"}),(0,n.jsxs)(u.J,{children:[a.length>0&&(0,n.jsxs)("section",{className:ed().offersListContainer,children:[(0,n.jsxs)("p",{className:ed().listTitle,children:["Займы онлайн от ",t.name]}),a.map(e=>(0,n.jsx)(i.Fragment,{children:(0,n.jsx)(el,{onDetailInfoClick:y,className:ed().listItem,offer:e,mfo:t,control:l,eventCategory:N.h.MICROZAJMY,text:"Подать заявку"},e.url)},e.id)),(0,n.jsx)(J.e,{offPadding:!0,text:"Bсе предложения от организации",href:"".concat(j,"/mfo/").concat(t.url,"/mikrozajmy"),target:"_blank",iconColor:"light",mainPageUrl:N.h.MICROZAJMY})]}),r.length>0&&(0,n.jsxs)("section",{className:ed().offersListContainer,children:[(0,n.jsx)("p",{className:ed().listTitle,children:"Предложения на Финуслугах"}),r.map(e=>(0,n.jsx)(i.Fragment,{children:(0,n.jsx)(el,{onDetailInfoClick:y,className:ed().listItem,offer:e,mfo:t,control:l,eventCategory:N.h.MICROZAJMY,text:"Подать заявку"},e.url)},e.id)),(0,n.jsx)(J.e,{offPadding:!0,text:"Bсе предложения на Финуслугах",href:"/".concat(b),target:"_blank",iconColor:"light",mainPageUrl:N.h.MICROZAJMY})]})]})]}),void 0!==d&&void 0!==p?(0,n.jsx)(Q,{offer:d,mfo:p,isOpen:g,mainPageUrl:N.h.MICROZAJMY,control:l,onClose:()=>{_(!1)}}):null]})});eu.displayName="MicroloansList";var em=a(99388),ep=a(75027),eh=a(30228),ef=a(5552),eg=a(96470),e_=a(9837),ev=a(66146),ex=a(12720),eb=a(27116);let ey={min:1900,max:2599},ej=(0,i.memo)(e=>{let{offer:t,company:a,rating:r,description:i}=e,o=function(e,t,a,n){var r;let{mainBaseUrl:i}=(0,es.UK)(),o="Заем \xab".concat(e.name,"\xbb от ").concat(t.name),l="".concat(i,"/").concat(N.h.MICROZAJMY,"/").concat(e.url),s=()=>{let e={"@type":"FinancialService",name:t.name,url:"".concat(i,"/mfo/").concat(t.url)};return t.organizationType===x.eU.Mfo&&(e.leiCode=t.registrationNumber),e},c={"@context":"https://schema.org","@type":"Product",name:o,description:n,url:l,brand:s(),aggregateRating:{"@type":"AggregateRating",name:"Рейтинг займа ".concat(t.name," ").concat(e.name),ratingValue:Number(a),reviewCount:(r=e.url,ey.min+(0,ev.t)(r)%(ey.max-ey.min+1)),bestRating:5,worstRating:1},offers:{"@type":"Offer",url:l,priceCurrency:"RUB",price:0,valueAddedTaxIncluded:!0,itemOffered:{"@type":"LoanOrCredit",name:o,currency:"RUB",amount:(0,ex.ji)((0,ex.Jl)(e.amount)),loanTerm:(0,ex.lm)(e.term,"DAY"),interestRate:(0,ex.TQ)(e.rate),provider:s()}}};return void 0!==t.logoUrl&&(c.image=t.logoUrl),c}(t,a,r,i);return(0,n.jsx)(eb.S,{schema:o})});ej.displayName="MicroloanDetailSchema";var ek=a(66460),eM=a(63921),eN=a(91403),ew=a(78011),eA=a(92666),eC=a(99275),eI=a(34787),eL=a.n(eI);function eT(e){var t;let{offer:a,posts:o,questions:p,company:h,refererTag:f,offers:g,offersFinuslugi:_,support:v,rating:x,control:y}=e;(0,em.eg)(em.ch.Microloan);let{asPath:j}=(0,s.useRouter)(),{trackerBaseUrl:k}=(0,es.UK)(),M=(0,i.useMemo)(()=>({offerId:String(a.id)}),[a.id]),C=(0,eM.o)(a.targetUrl,M),I=(0,eM.o)("".concat(k,"/click.php?key=904186f18bc17d4be56b"),M),L=a.commercial?w.LEAD:w.MASS,T=(0,ef.sw)(),B=p.map(e=>({title:e.title,text:e.text.map(e=>e.data.html).join(""),plainText:e.text.map(e=>(0,eg.NC)(e.data.html)).join("").trim()})),S=(0,eh.I)(r.Js),P=(0,ep.I)({bannersTitle:[r.BZ.MICROLOAN_DETAIL],queryParams:S}),{region:R,town:U}=(0,eA.z)(),O="Займы в МФО ".concat(h.name,": \xab").concat(a.name,"\xbb - взять и оформить"),D="Займ в ".concat(h.name,": \xab").concat(a.name,"\xbb со ставкой от ").concat(null!=(t=a.rate.from)?t:0,"% онлайн наличными или на карту. Полные условия и информация о МФО ").concat(h.name," - требования и реквизиты онлайн на Финуслугах"),{mainBaseUrl:z}=(0,es.UK)();return(0,n.jsxs)("main",{className:eL().page,children:[(0,n.jsx)(d.I,{title:O,description:D,productId:String(a.id)}),(0,n.jsx)(ek.t,{}),(0,n.jsx)(e_.c,{questions:B}),(0,n.jsx)(ej,{offer:a,company:h,rating:x,description:D}),(0,n.jsx)("div",{className:eL().navigationWrapper,children:(0,n.jsx)(u.J,{children:(0,n.jsx)(c.B,{className:eL().breadcrumbs,items:(()=>{let e=(null==U?void 0:U.name_p)||(null==R?void 0:R.name_p)?" в ".concat((null==U?void 0:U.name_p)||(null==R?void 0:R.name_p)):"",t="".concat((null==R?void 0:R.url)?"/reg_".concat(null==R?void 0:R.url):"").concat((null==U?void 0:U.url)?"/".concat(null==U?void 0:U.url):""),n=j.split("?")[0].split("/")[1],r=[{label:"Главная",href:"/"},{label:"Займы".concat(e),href:"/".concat(n).concat(t)}];return f&&r.push({label:"".concat(f.name).concat(e),href:"/".concat(n,"/teg_").concat(f.url).concat(t)}),r.push({label:"".concat(h.name," Заем ").concat(a.name)}),r})()})})}),(0,n.jsx)(Z,{bannerUrl:P.microload_detail,offerType:L,isMobile:T,className:eL().info,offer:a,company:h,control:y}),(0,n.jsx)(u.J,{className:eL().about,children:(0,n.jsx)(b,{data:a,company:h,pageUrl:N.h.MICROZAJMY})}),(0,n.jsx)(A,{url:C,offerType:L,isMobile:T}),(0,n.jsx)(eu,{mfo:h,offers:g,offersFinuslugi:_,control:y}),(0,n.jsx)(m.T,{url:I,mainPageUrl:N.h.MICROZAJMY,text:"Посмотрите ТОП выгодных предложений по срочным займам с онлайн-заявкой и ставками от 0%"}),o.length>0&&(0,n.jsx)(eN.C,{posts:o,eventCategory:N.h.MICROZAJMY}),(0,n.jsx)(ew.E,{value:v}),(0,n.jsx)(eC.m,{isAllExpanded:!0,faqBlockTitle:"",Link:e=>(0,n.jsx)(l(),{...e}),dataLayerPush:ea.o,questions:B,eventCategory:"credits_support_block",href:"".concat(z,"/help/credits"),checkAllText:"Читать все вопросы про займы"})]})}var eB=a(91572),eS=a(37397);async function eP(){let{data:e,error:t}=await (0,eS.Q)("/money_data/MicroCreditQuestions.json");if(t||null===e)throw Error(null!=t?t:"Ошибка загрузки данных");return e.product_questions}var eR=a(4065),eU=a(33247),eO=a(98473),eD=a(99381),ez=a(81741),eE=a(81787),eW=a(23857),eF=a(7455),eH=a(2510);let eZ=async e=>{var t,a,n;let{resolvedUrl:i,req:o}=e,l=(0,v.TX)(i),s=await (0,eB.dz)(l);if(s.status===eB.hN.Archived)return{redirect:{destination:"/".concat(N.h.MICROZAJMY),permanent:!0}};let c=null==(a=o.headers.referer)||null==(t=a.split("/").find(e=>e.startsWith("teg_")))?void 0:t.slice(4),[d,u,m,p,h,f,g,_,b,y]=await Promise.all([(0,x.TF)(s.mfoId),(0,eR.kN)({banks:[s.mfoId],pageSize:r.gx+1,tagUrl:eH.Z2}).then(e=>e.offers),(0,eR.kN)({commercial:1,pageSize:r.a0+1,tagUrl:eH.Z2}).then(e=>e.offers),void 0!==c?(0,eD.kP)(c):void 0,(0,eE.T)(),(0,eF.K)(),(0,eU.I4)(),(0,eO.F)(),(0,ez.F)(ez.s.Microloans),eP()]),j=u.filter(e=>e.id!==s.id).slice(0,r.gx),k=m.filter(e=>e.id!==s.id).slice(0,r.a0);return{props:{offer:s,posts:b,questions:y,company:d,offers:j,offersFinuslugi:k,layout:h,refererTag:null!=p?p:null,support:f.value,rating:null!=(n=g.mfosRatings[s.mfoId])?n:"4.87",control:_}}};function eJ(e){let{offer:t,posts:a,questions:r,company:i,offers:o,offersFinuslugi:l,layout:s,refererTag:c,support:d,rating:u,control:m}=e;return(0,n.jsx)(eW.P,{data:s,children:(0,n.jsx)(eT,{offer:t,company:i,offers:o,offersFinuslugi:l,posts:a,questions:r,refererTag:c,support:d,rating:u,control:m})})}},49890:()=>{},53172:(e,t,a)=>{"use strict";function n(e){let{offset:t=0,position:a="bottom",delay:n=0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};setTimeout(()=>{let n="string"==typeof e?document.getElementById(e):e;if(!n)return;let r=0;r="top"===a?n.getBoundingClientRect().top+window.scrollY+t:n.getBoundingClientRect().bottom+window.scrollY+t-document.documentElement.clientHeight,window.scrollTo({top:r,behavior:"smooth"})},n)}a.d(t,{e:()=>n})},53718:e=>{e.exports={gray:"container_gray__210_P",dark:"container_dark__OhxN6",ligth:"container_ligth__XYDh1"}},55330:(e,t,a)=>{"use strict";a.d(t,{m:()=>s});var n=a(37876),r=a(40317),i=a(69241),o=a(53718),l=a.n(o);function s(e){if("theme"in e){let{className:t,children:a,theme:o,...s}=e;return(0,n.jsx)("div",{className:(0,i.A)(t,{[l().gray]:"gray"===o,[l().dark]:"dark"===o,[l().ligth]:"ligth"===o}),children:(0,n.jsx)(r.m,{...s,children:a})})}return(0,n.jsx)(r.m,{...e,children:e.children})}},55511:(e,t,a)=>{"use strict";a.d(t,{Bz:()=>i,dO:()=>s,lc:()=>l});var n=a(12771),r=a(3187);async function i(e){let t=l(e);return(0,n.ZP)("microloans?".concat(t))}var o=function(e){return e.Archive="archive",e.Tag="tag",e.Region="region",e.Town="town",e.Amount="amount",e.Form="form",e.Period="period",e.Borrower="borrower",e.Registration="registration",e.Collateral="loan",e.Banks="bank",e.Online="online",e.Sort="sort",e.Order="order",e.Page="page",e.PageSize="limit",e.Commercial="commercial",e}(o||{});function l(e){let{tagUrl:t,regionUrl:a,townUrl:n,amount:i,form:o,period:l,borrower:s,registration:c,collateral:d,banks:u,online:m,sort:p,order:h,page:f,pageSize:g,commercial:_}=e,v=new URLSearchParams({archive:"0",sort:"order",order:"ASC"});return void 0!==t&&v.set("tag",t),void 0!==a&&v.set("region",a),void 0!==n&&v.set("town",n),void 0!==i&&v.set("amount",String(i)),void 0!==o&&v.set("form",o),void 0!==l&&v.set("period",String(l)),void 0!==s&&v.set("borrower",s),void 0!==c&&v.set("registration",c),void 0!==d&&v.set("loan",d),void 0!==u&&v.set("bank",(0,r.t9)(u)),void 0!==m&&v.set("online",m),void 0!==p&&v.set("sort",p),void 0!==h&&v.set("order",h),void 0!==f&&v.set("page",String(f)),void 0!==g&&v.set("limit",String(g)),void 0!==_&&v.set("commercial",String(_)),v}var s=function(e){return e.NotRequired="not_required",e.Pledge="pledge",e.Guarantee="guarantee",e.Full="full",e}({})},57084:(e,t,a)=>{"use strict";a.d(t,{b:()=>r});let n=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0,a=arguments.length>2?arguments[2]:void 0;return(void 0===t&&(t=e,e=0),a||t%1||e%1)?Math.min(e+Math.random()*(t-e+parseFloat("1e-14")),t):(e=Math.ceil(e),Math.floor(Math.random()*((t=Math.floor(t))-e+1))+e)},r=()=>{let e=new Date().getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){let a=(e+n(16))%16|0;return e=Math.floor(e/16),("x"===t?a:3&a|8).toString(16)})}},62728:(e,t,a)=>{"use strict";function n(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=>n(e)):n(e))}a.d(t,{a:()=>r})},64028:e=>{e.exports={container:"MicroloansList_container__EdR8r",title:"MicroloansList_title__wkvYc",offersListContainer:"MicroloansList_offersListContainer__Bm7PI",listTitle:"MicroloansList_listTitle__k43ax",listItem:"MicroloansList_listItem__p1IVR"}},66295:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});let n={src:"/kredity/assets/_next/static/media/banner-2.9368ea40.svg",height:218,width:318,blurWidth:0,blurHeight:0}},68741:(e,t,a)=>{"use strict";a.d(t,{S:()=>r});var n=a(14232);function r(e){return n.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M7.22 12.53a.75.75 0 0 1 0-1.06l6.5-6.5a.75.75 0 1 1 1.06 1.06L8.81 12l5.97 5.97a.75.75 0 1 1-1.06 1.06l-6.5-6.5Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}},72278:(e,t,a)=>{"use strict";a.d(t,{U:()=>c});var n=a(37876),r=a(25904),i=a(28346),o=a(69241),l=a(1404),s=a.n(l);function c(e){let{caption:t,text:a,tooltipText:l,className:c,Icon:d=r.KYF}=e;return(0,n.jsxs)("div",{style:{display:"flex",flexDirection:"column"},className:(0,o.A)(s().wrapper,c),children:[(0,n.jsxs)("div",{className:s().titleWrapper,children:[(0,n.jsx)("span",{className:s().title,children:t}),void 0!==l&&(0,n.jsx)(i.m,{text:l,withoutTail:!0,position:"right",zIndex:200,children:(0,n.jsx)(d,{size:20,onClick:e=>null==e?void 0:e.stopPropagation()})})]}),(0,n.jsx)("span",{className:s().text,children:a})]})}},75027:(e,t,a)=>{"use strict";a.d(t,{I:()=>i});var n=a(14232),r=a(5552);function i(e){let{bannersTitle:t,queryParams:a,stores:i}=e,o=(0,r.sw)(),l=(()=>{let[e,t]=(0,n.useState)(null);return(0,n.useEffect)(()=>{document.referrer.length&&t(document.referrer)},[]),e})(),s=(l?[...a,"referer=".concat(l)]:a).join("&");return t.reduce((e,t)=>{let a=null==i?void 0:i.find(e=>e.title===t);return a?{...e,[t]:(o?null==a?void 0:a.url_mobile:null==a?void 0:a.url_desktop)+(s.length?"?"+s:"")}:e},{})}},75464:(e,t,a)=>{"use strict";a.d(t,{$:()=>n});let n=function(e){var t,a,n;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"?",i=null!=(n=null==(a=e.split(r)[1])||null==(t=a.split("?"===r?"#":"?")[0])?void 0:t.split("&"))?n:[],o={};return i.forEach(e=>{let[t,a]=e.split("="),n=null!=a?a:"";if(t in o){let e=o[t];if(Array.isArray(e)){o[t]=[...e,n];return}if(!Array.isArray(e)&&e){o[t]=[e,n];return}}o[t]=n}),o}},78131:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});let n={src:"/kredity/assets/_next/static/media/banner-6.5d66df25.svg",height:230,width:256,blurWidth:0,blurHeight:0}},81741:(e,t,a)=>{"use strict";a.d(t,{F:()=>l,s:()=>i});var n=a(12771),r=a(73584),i=function(e){return e.Credits="Потребительские кредиты",e.CreditCards="Кредитные карты",e.Microloans="Микрозаймы",e.Mortgages="Ипотека",e.AutoCredits="Автокредиты",e}({});let o=new r.B4(async()=>Object.fromEntries((await (0,n.aB)("tags")).map(e=>{let{id:t,name:a}=e;return[a,t]})));async function l(e){return c.getOrUpdate(e,e)}async function s(e){let t=(await o.getOrUpdate())[e];if(void 0===t)throw Error('Journal tag "'.concat(e,'" was not found'));let a=new URLSearchParams({categoryUrl:"navigator/kredity",tags:t,limit:"6",draft:"false",showPlanned:"false"});return(await (0,n.Op)("posts?".concat(a))).posts.map(e=>({url:e.fullUrl,title:e.title,updateDate:function(e){let t=new Date(e),a=t.getFullYear(),n=String(t.getMonth()+1).padStart(2,"0"),r=String(t.getDate()).padStart(2,"0"),i=String(t.getHours()).padStart(2,"0"),o=String(t.getMinutes()).padStart(2,"0"),l=String(t.getSeconds()).padStart(2,"0");return"".concat(a,"-").concat(n,"-").concat(r," ").concat(i,":").concat(o,":").concat(l)}(e.updatedAt),...void 0!==e.imageUrl&&""!==e.imageUrl&&{imageUrl:e.imageUrl},...void 0!==e.imageVariants&&{imageVariants:function(e){let t={};for(let[a,n]of Object.entries(e))void 0!==n&&""!==n&&(t[a]=n);return t}(e.imageVariants)}}))}let c=new r.AP(s)},83198:e=>{e.exports={contentBlocks:"styles_contentBlocks__8fC8O",annotation:"styles_annotation__pT6EZ",contentTableWrapper:"styles_contentTableWrapper__YVBts",keynoteWrapper:"styles_keynoteWrapper__gc4W6",keynote:"styles_keynote___tmb5",blockLink:"styles_blockLink__h1Biq"}},83933:e=>{e.exports={logo:"MicroloanListItem_logo__N9nzj",placeholderLogo:"MicroloanListItem_placeholderLogo__kEtP1"}},87162:(e,t,a)=>{"use strict";a.d(t,{Dg:()=>l,Z5:()=>c,cA:()=>i,nS:()=>o,ov:()=>r,sn:()=>n,uB:()=>s,yB:()=>d});let n="main",r="place",i="productsList",o="stepsCreditSelection",l="creditSelection",s="aboutProduct",c="creditApplySteps",d="creditLogin"},91403:(e,t,a)=>{"use strict";a.d(t,{C:()=>s});var n=a(37876),r=a(14232),i=a(61443),o=a(33126),l=a(5552);function s(e){let{posts:t,eventCategory:a}=e,{mainBaseUrl:s,assetsBaseUrl:c}=(0,o.UK)(),d=(0,l.sw)(),u=(0,r.useMemo)(()=>({chips:[{id:0,label:"",items:t.map(e=>{var t,a,n,r;let i=null!=(a=null==(t=e.imageVariants)?void 0:t.preview)?a:e.imageUrl;return d&&(i=null!=(r=null==(n=e.imageVariants)?void 0:n.mobilePreview)?r:i),{url:"".concat(s,"/").concat(e.url),title:e.title,img:null!=i?i:"".concat(c,"/mp-assets/widgets/journal/default_post_image.png"),dt:e.updateDate}})}],title:"Журнал Финуслуги",url:"".concat(s,"/navigator/kredity")}),[t,s,c,d]);return(0,n.jsx)("section",{children:(0,n.jsx)(i.C,{data:u,eventCategory:a})})}},92676:(e,t,a)=>{"use strict";a.d(t,{D:()=>d});var n=a(37876),r=a(69241),i=a(34350),o=a(9789);a(49890);let l={display:"h1",hero:"h1",h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6"},s=(0,o.g)("heading"),c=Object.freeze({heading:s,states:Object.freeze({display:"".concat(s,"--display"),hero:"".concat(s,"--hero"),h1:"".concat(s,"--h1"),h2:"".concat(s,"--h2"),h3:"".concat(s,"--h3"),h4:"".concat(s,"--h4"),h5:"".concat(s,"--h5"),h6:"".concat(s,"--h6")})}),d=e=>{var t;let{as:a,children:o,weight:s,type:d,lineClamp:u,className:m,style:p,dataQa:h,dataId:f,...g}=e,_=a||l[d]||"div",v=/^h[1-6]$/.test(_),x=(null==(t=d.match(/\d+/))?void 0:t[0])||1;return(0,n.jsx)(_,{className:(0,r.A)(c.heading,c.states[d],m),style:{...s?{fontWeight:"var(--font-weight-".concat(s,")")}:void 0,...u?{WebkitLineClamp:u,lineClamp:u,...i.l}:void 0,...p},role:v?null:"heading","aria-level":v?null:x,...g,"data-id":f,"data-qa":h,children:o})};d.displayName="Heading"},96470:(e,t,a)=>{"use strict";a.d(t,{NC:()=>m,eW:()=>f,lA:()=>p,t$:()=>h});var n=a(37876),r=a(14232),i=a(54587),o=a.n(i),l=a(69241),s=a(21921),c=a(24284),d=a(83198),u=a.n(d);function m(e){return e.replaceAll("&nbsp;"," ").replace(/<br\s*\/?>/gi,"\n").replace(/<\/p>/gi,"\n").replace(/<li>\s?/gi,"• ").replace(/<[^>]+>/g,"").replace(/[^\n]•/g,"\n•").replace(/([^\s])$/g,"$1 ")}function p(e){let t=[],a=1;return e.forEach((e,r)=>{var i,l,d,m,p,h,f,g;switch(e.type){case s.$G.Header:t.push((0,n.jsx)("h2",{id:"content_header_".concat(a),children:e.data.text},r)),a++;break;case s.$G.SubHeader:t.push((0,n.jsx)("h3",{children:e.data.text},r));break;case s.$G.Paragraph:t.push((0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:null!=(i=e.data.text)?i:""}},r));break;case s.$G.Link:t.push((0,n.jsx)("div",{className:u().blockLink,children:(0,n.jsx)("a",{target:"_blank",href:e.data.url,rel:"noreferrer",children:e.data.text})},r));break;case s.$G.Dossier:t.push((0,n.jsxs)("div",{className:u().dossierDateItem,children:[(0,n.jsx)("span",{className:u().date,children:e.data.year}),(0,n.jsx)("div",{className:u().text,dangerouslySetInnerHTML:{__html:null!=(l=e.data.text)?l:""}})]},r));break;case s.$G.Html:t.push((0,n.jsx)("div",{className:u().htmlBlock,dangerouslySetInnerHTML:{__html:(0,c.w)(null!=(d=e.data.html)?d:"")}},r));break;case s.$G.Annotation:t.push((0,n.jsx)("div",{className:u().annotation,dangerouslySetInnerHTML:{__html:(0,c.w)(null!=(m=e.data.text)?m:"")}},r));break;case s.$G.CompanyAnnotation:t.push((0,n.jsx)("div",{className:u().companyAnnotation,dangerouslySetInnerHTML:{__html:null!=(p=e.data.text)?p:""}},r));break;case s.$G.Keynote:t.push((0,n.jsx)("div",{className:u().keynoteWrapper,children:(0,n.jsx)("p",{className:u().keynote,dangerouslySetInnerHTML:{__html:null!=(h=e.data.text)?h:""}})},r));break;case s.$G.Image:t.push((0,n.jsx)(o(),{src:null!=(f=e.data.url)?f:"",alt:"image"},r));break;case s.$G.Table:t.push((0,n.jsxs)("div",{className:u().contentTableWrapper,children:[e.data.title?(0,n.jsx)("h4",{children:e.data.title}):"",(0,n.jsx)("div",{className:u().contentTableContent,dangerouslySetInnerHTML:{__html:(0,c.w)(null!=(g=e.data.html)?g:"")}})]},r))}}),t}function h(e){let{className:t,children:a}=e;return(0,n.jsx)("div",{className:(0,l.A)(u().contentBlocks,t),children:a})}let f=e=>{let{className:t,data:a}=e,i=(0,r.useMemo)(()=>p(a),[a]);return(0,n.jsx)("div",{className:(0,l.A)(u().contentBlocks,t),children:i})}},99381:(e,t,a)=>{"use strict";a.d(t,{kP:()=>c,r2:()=>s});var n=a(12771),r=a(73584),i=a(84883),o=a(26632),l=a(2510);async function s(){return Array.from((await d.getOrUpdate()).values())}async function c(e){return(await d.getOrUpdate()).get(e)}let d=new r.B4(u);async function u(){var e,t;let[a,r,s]=await Promise.all([(0,n.ZP)("microloan-tags"),(0,o.I)(),(0,i.I)()]),c={...s,...r};return e=a.data,t=c,e.reduce((e,a)=>(a.url!==l.Z2&&e.set(a.url,function(e,t){let{tagName:a,url:n}=e,r={name:a,url:n},i=t[n];return void 0!==i&&(r.url_redirect=i.url),r}(a,t)),e),new Map)}}}]);