(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4591],{60041:function(e,t,s){"use strict";var n,r=s(67294);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var n in s)({}).hasOwnProperty.call(s,n)&&(e[n]=s[n])}return e}).apply(null,arguments)}t.Z=function(e){return r.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",width:13.266,height:12,fill:"none",viewBox:"0 0 13.266 12"},e),n||(n=r.createElement("path",{fill:"#000",d:"m6.59 3.29-.94.95-1.69-1.69v8.78H2.63V2.55L.94 4.24 0 3.29 3.29 0zm6.67 5.41L9.96 12l-3.3-3.3.94-.95 1.7 1.69L9.29.66h1.34v8.78l1.69-1.69z"})))}},94781:function(e,t){"use strict";t.Z={src:"/kredity/assets/_next/static/media/banner-2.9368ea40.svg",height:218,width:318,blurWidth:0,blurHeight:0}},45392:function(e,t,s){"use strict";s.d(t,{n:function(){return g}});var n=s(85893),r=s(34588),i=s(25675),l=s.n(i),a=s(41664),c=s.n(a),o=s(67294),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},p=s(54663),_=s(39918),h=s(94020),m=s(12261),v=s(30748),x=s.n(v);let g=(0,o.memo)(e=>{let{url:t,text:s,mainPageUrl:i}=e,a=!(0,h.V)("lg"),o=(0,m.sD)(t);return(0,n.jsx)("section",{id:p.dM,className:x().wrapper,children:(0,n.jsxs)("div",{className:x().container,children:[(0,n.jsxs)("div",{className:x().content,children:[(0,n.jsx)("h3",{className:x().title,children:"Не подходит предложение?"}),(0,n.jsxs)("div",{className:x().textBlock,children:[(0,n.jsx)("p",{className:x().text,children:s}),o?(0,n.jsx)(r.zx,{rel:"nofollow",as:"a",className:x().button,variant:"purple",href:t,target:"_blank",onClick:()=>(0,_.D)({eventCategory:i,eventAction:_.i.button,eventActionText:"Подробнее",eventLabel:t}),children:"Подробнее"}):(0,n.jsx)(c(),{href:t,children:(0,n.jsx)(r.zx,{className:x().button,variant:"purple",onClick:()=>(0,_.D)({eventCategory:i,eventAction:_.i.button,eventActionText:"Подробнее",eventLabel:t}),children:"Подробнее"})})]}),!a&&(0,n.jsx)(l(),{className:x().icon,width:242,height:295,alt:"иконка",src:u})]}),(0,n.jsx)(l(),{className:x().backgroundImage,width:436,height:a?270:468,alt:"иконка",src:d})]})})});g.displayName="RedirectToLogin"},65618:function(e,t,s){"use strict";s.d(t,{b:function(){return n}});let n=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:300,t=null;return s=>{t&&clearInterval(t),t=setTimeout(s,e)}}},63781:function(e,t,s){"use strict";s.d(t,{k:function(){return r}});let n=e=>["а","е","ё","и","о","у","ы","э","ю","я"].indexOf(e)>=0,r=e=>e&&e.length?"в"!==e[0].toLowerCase()&&"ф"!==e[0].toLowerCase()||n(e[1])?"в":"во":""},86605:function(e,t,s){"use strict";s.d(t,{K:function(){return l}});var n=s(67294);let r=()=>{let[e,t]=(0,n.useState)(null);return(0,n.useEffect)(()=>{document.referrer.length&&t(document.referrer)},[]),e};var i=s(54228);function l(e){let{bannersTitle:t,queryParams:s,stores:n}=e,l=(0,i.S0)(),a=r(),c=(a?[...s,"referer=".concat(a)]:s).join("&");return t.reduce((e,t)=>{let s=null==n?void 0:n.find(e=>e.title===t);return s?{...e,[t]:(l?null==s?void 0:s.url_mobile:null==s?void 0:s.url_desktop)+(c.length?"?"+c:"")}:e},{})}},24178:function(e,t,s){"use strict";s.d(t,{i:function(){return k}});var n,r=s(85893),i=s(86010),l=s(67294),a=s(59457),c=s(39918),o=s(40741),d=s(41664),u=s.n(d),p=s(68103),_=s.n(p);function h(e){let{config:t,hidden:s,useLink:n,iconOnly:l}=e,{value:a,label:c,color:o,icon:d,onChipClick:p}=t,h=()=>d?l?(0,r.jsx)(d,{}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(d,{})," ",c]}):c,m=e=>(0,r.jsx)("div",{className:(0,i.Z)(_().button,_()[o],e),onClick:p?()=>p(a):void 0,children:(0,r.jsx)("div",{className:_().label,children:h()})}),v=(0,i.Z)({[_().hidden]:s});return n?(0,r.jsx)(u(),{className:(0,i.Z)(_().link,v),href:a,onClick:e=>e.preventDefault(),children:m()}):m(v)}var m=s(54228);function v(e){let{items:t,visibleCount:s,useLinks:n,iconsOnly:i}=e,l=(0,m.cb)();return(0,r.jsx)(r.Fragment,{children:t.map((e,t)=>{var a;return(0,r.jsx)(h,{config:e,useLink:null!==(a=e.useLink)&&void 0!==a?a:n,iconOnly:!l&&i,hidden:t>s},e.label)})})}let x=e=>{let[t,s]=(0,l.useState)(0),[n,r]=(0,l.useState)(0),i=(0,l.useRef)(null),a=(0,l.useRef)(null);return(0,l.useEffect)(()=>{let e=i.current;if(!e)return;let t=new ResizeObserver(e=>{let t=e[0];if(t){let{width:e}=t.contentRect,l=0,c=0,o=Array.from(t.target.children);for(let t=0;t<o.length;t++){var n,i;if((l+=o[t].offsetWidth+12)<=e-(null!==(i=null===(n=a.current)||void 0===n?void 0:n.offsetWidth)&&void 0!==i?i:0))r(t),c=t;else{s(c);break}}}});return t.observe(e),()=>{t.unobserve(e)}},[t,n,e]),[n,t,i,a,12]};var g=s(41753),f=s.n(g);function b(){return(b=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var n in s)({}).hasOwnProperty.call(s,n)&&(e[n]=s[n])}return e}).apply(null,arguments)}var j=function(e){return l.createElement("svg",b({xmlns:"http://www.w3.org/2000/svg",width:12,height:6,fill:"none",viewBox:"0 0 12 6"},e),n||(n=l.createElement("path",{fill:"currentColor",d:"M11.663.28a1.25 1.25 0 0 0-.802-.28c-.301 0-.59.1-.803.28l-4.086 3.4-4.03-3.4A1.25 1.25 0 0 0 1.139 0C.84 0 .55.1.337.28a1 1 0 0 0-.25.312.83.83 0 0 0 0 .739 1 1 0 0 0 .25.312l4.826 4.073q.161.136.37.21a1.32 1.32 0 0 0 .876 0 1.2 1.2 0 0 0 .37-.21l4.884-4.073a1 1 0 0 0 .25-.312.83.83 0 0 0 0-.74 1 1 0 0 0-.25-.312"})))};function k(e){let{chips:t,useLinkChips:s=!1,iconsOnly:n=!1,onParamsClick:d}=e,u=(0,m.cb)(),[p,_]=(0,l.useState)(!1),h=[{value:"filter",label:"Все фильтры",color:"default",icon:a.Z,useLink:!1,onChipClick:d},...t],g=p?"Свернуть":"Ещё",[b,k,y,N,w]=x(h.length);return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{ref:y,className:(0,i.Z)(f().row,{[f().open]:u&&p}),style:{gap:w},children:[(0,r.jsx)(v,{items:h,visibleCount:u&&!p?b:h.length-1,iconsOnly:n,useLinks:s}),u&&!!k&&k<h.length-1&&(0,r.jsxs)("div",{ref:N,className:(0,i.Z)(f().toggle,{[f().open]:p}),onClick:()=>{(0,c.D)({eventAction:c.i.button,eventActionText:(0,o.b)(g)}),_(e=>!e)},children:[g," ",(0,r.jsx)(j,{})]})]})})}},22584:function(e,t,s){"use strict";s.d(t,{T:function(){return c}});var n=s(85893),r=s(86010),i=s(24178),l=s(19813),a=s.n(l);function c(e){let{chips:t,onParamsClick:s}=e;return(0,n.jsx)("div",{className:(0,r.Z)(a().wrap,a().newLayout),children:(0,n.jsx)("div",{className:a().top_row,children:(0,n.jsx)("div",{className:a().chips_row,children:(0,n.jsx)(i.i,{chips:t,onParamsClick:s,iconsOnly:!0})})})})}c.displayName="SmallFilter"},62637:function(e,t,s){"use strict";s.d(t,{A:function(){return r}});var n=s(67294);function r(){let e=(0,n.useRef)(null),[t,s]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{if(!e.current)return;let t=new IntersectionObserver(e=>{let[t]=e;s(!t.isIntersecting)},{threshold:[.01],rootMargin:"-3px 0px 100% 0px"});return t.observe(e.current),()=>t.disconnect()},[]),{ref:e,isSticky:t}}},84452:function(e,t,s){"use strict";function n(e){let{offers:t,getBankKey:s,getAmount:n,getRate:r}=e,i=new Map;for(let e=0;e<t.length;e++){let l=t[e],a=s(l),c=i.get(a);if(!c){i.set(a,l);continue}let o=n(c),d=n(l);if(d>o){i.set(a,l);continue}if(d<o)continue;let u=r(c);r(l)<u&&i.set(a,l)}return Array.from(i.values())}s.d(t,{V:function(){return n}})},60730:function(e,t,s){"use strict";function n(e,t,s,n){return void 0===t?e:[...e].sort((e,r)=>{let i=n(e,t),l=n(r,t);return void 0===i&&void 0===l?0:void 0===i?1:void 0===l?-1:"number"==typeof i&&"number"==typeof l?"asc"===s?i-l:l-i:"asc"===s?String(i).localeCompare(String(l)):String(l).localeCompare(String(i))})}s.d(t,{k:function(){return n}})},76063:function(e,t,s){"use strict";s.d(t,{D:function(){return o}});var n=s(85893),r=s(59194),i=s(86010),l=s(46463),a=s(72194),c=s.n(a);function o(e){let{rows:t,columns:s,className:a,sort:o,sortOrder:d="asc",onSortChange:u}=e,p=e=>{null==u||u(e,o!==e?"asc":"asc"===d?"desc":"asc")};return(0,n.jsx)("div",{className:(0,i.Z)(c().container,a),children:(0,n.jsxs)("table",{className:c().table,children:[(0,n.jsx)("thead",{children:(0,n.jsx)("tr",{children:s.map(e=>{let t=!!e.value,s=e.value===o;return(0,n.jsx)("th",{children:(0,n.jsxs)("div",{className:c().headerCell,children:[(0,n.jsx)("span",{className:c().headerTitle,children:e.title}),(0,n.jsx)("span",{className:(0,i.Z)(c().sortIcon,s&&"desc"===d&&c().desc),onClick:()=>t&&p(e.value),children:(0,n.jsx)(r.IconFdsArrowDownBigO,{})})]})},e.value)})})}),(0,n.jsx)("tbody",{children:t.map(e=>{let{id:t,logo:s,name:r,cells:i}=e;return(0,n.jsxs)("tr",{children:[(0,n.jsxs)("td",{children:[(0,n.jsx)(l.D,{url:s,size:25,mobileSize:20,alt:r,rounded:!0}),r]}),i.map((e,t)=>(0,n.jsx)("td",{children:e},t))]},t)})})]})})}},38919:function(e,t,s){"use strict";function n(e,t){return e.reduce((e,s)=>(e[s[t]]=s,e),{})}s.d(t,{g:function(){return n}})},30748:function(e){e.exports={content:"RedirectToLogin_content__LP3oF",title:"RedirectToLogin_title__giAmT",wrapper:"RedirectToLogin_wrapper__sp_aL",container:"RedirectToLogin_container__oRs3Q",backgroundImage:"RedirectToLogin_backgroundImage__k5_j2",textBlock:"RedirectToLogin_textBlock__EONov",text:"RedirectToLogin_text__OW6mv",button:"RedirectToLogin_button__jN7fd",icon:"RedirectToLogin_icon__NbFJA"}},83226:function(e){e.exports={title:"RegionTitle_title__ouhKs",link:"RegionTitle_link__r_rJV",titleWrapper:"RegionTitle_titleWrapper__yuBaG",newTitle:"RegionTitle_newTitle__SeVuV",subtitle:"RegionTitle_subtitle__T8Ha1"}},68103:function(e){e.exports={link:"styles_link__IVNhF",button:"styles_button__8Y7Nb",black:"styles_black__AeSKw",label:"styles_label__XyMU_",hidden:"styles_hidden__JUJEp"}},41753:function(e){e.exports={row:"styles_row__foNTI",open:"styles_open__8DaSQ",firstRow:"styles_firstRow__ytbon",toggle:"styles_toggle__3Zn8B",filter_icon:"styles_filter_icon__5eS34"}},19813:function(e){e.exports={wrap:"styles_wrap__At5cj",newLayout:"styles_newLayout__pIG1W",top_row:"styles_top_row__Ua6iT",chips_row:"styles_chips_row__gSGJd",top_row_content:"styles_top_row_content__hy0rr"}},72194:function(e){e.exports={container:"faq-offers_container__na7MQ",table:"faq-offers_table__1Wp3v",headerCell:"faq-offers_headerCell___ER4M",headerTitle:"faq-offers_headerTitle__jdLzc",sortIcon:"faq-offers_sortIcon__Hsc6x",desc:"faq-offers_desc__A_IfI"}},83343:function(e,t,s){"use strict";s.d(t,{c:function(){return o}});var n=s(85893),r=s(66535),i=s(86010),l=s(67294);let a=(0,s(84941).g)("expert-quote","sc"),c=Object.freeze({expertQuote:a,wrapper:`${a}__wrapper`,title:`${a}__title`,card:`${a}__card`,content:`${a}__content`,aboutText:`${a}__aboutText`,about:`${a}__about`,img:`${a}__img`,name:`${a}__name`,position:`${a}__position`,text:`${a}__text`}),o=(0,l.memo)(({className:e,quote:t})=>(0,n.jsx)("section",{className:(0,i.Z)(c.wrapper,e),children:(0,n.jsxs)(r.W2,{children:[(0,n.jsx)(r.X6,{as:"h2",type:"display",weight:"bold",className:(0,i.Z)(c.title,"mb-6"),children:"Мнение эксперта"}),(0,n.jsx)("div",{className:c.card,children:(0,n.jsxs)("div",{className:c.content,children:[(0,n.jsxs)("div",{className:c.about,children:[t.expert.photo&&(0,n.jsx)("a",{href:t.expert.url,children:(0,n.jsx)("div",{className:c.img,style:{backgroundImage:`url(${t.expert.photo})`}})}),(0,n.jsxs)("div",{className:c.aboutText,children:[(0,n.jsx)("a",{href:t.expert.url,className:c.name,children:t.expert.name}),(0,n.jsx)("p",{className:c.position,children:t.expert.position})]})]}),(0,n.jsx)("p",{className:c.text,dangerouslySetInnerHTML:{__html:t.content}})]})})]})}));o.displayName="ExpertQuote"},29329:function(e,t,s){"use strict";s.d(t,{t:function(){return N}});var n=s(85893),r=s(66535),i=s(34588),l=s(86010),a=s(67294),c=s(43803),o=s(81069),d=s(59194),u=s(84941);let p=(0,u.g)("check-all","sc"),_=Object.freeze({wrapper:`${p}__wrapper`,link:`${p}__link`,icon:`${p}__icon`,iconGray:`${p}__icon--gray`}),h=({children:e,className:t,linkClassName:s,iconGrayBackground:r,Link:a,event:c,href:o,dataLayerPush:u})=>{let p=a??i.rU;return(0,n.jsx)("div",{className:(0,l.Z)(_.wrapper,t),onClick:()=>{c&&u(c)},children:(0,n.jsxs)(p,{className:(0,l.Z)(_.link,s),href:o,children:[e,(0,n.jsx)("span",{className:(0,l.Z)(_.icon,{[_.iconGray]:r}),children:(0,n.jsx)(d.IconFdsArrowUpRightSmallO,{size:24})})]})})},m=e=>{if(!e||!/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$/.test(e))return"";let t=new Date(e.replace(" ","T"));if(isNaN(t.getTime()))return"";let s=t.getDate(),n=t.getMonth();return`${s} ${["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"][n]}`},v=e=>!!e&&/^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/.test(e),x=(0,u.g)("subscribe-block","sc"),g=Object.freeze({block:`${x}__block`,title:`${x}__title`,form:`${x}__form`,input:`${x}__input`,button:`${x}__button`,checkbox:`${x}__checkbox`,checkboxLabel:`${x}__checkbox-label`,success:`${x}__success`,error:`${x}__error`}),f=({data:e,eventCategory:t})=>{var s,r,o,d;let[u,p]=(0,a.useState)(!1),[_,h]=(0,a.useState)(!1),[m,x]=(0,a.useState)(""),[f,b]=(0,a.useState)(""),[j,k]=(0,a.useState)(!1),[y,N]=(0,a.useState)(!1),[w,$]=(0,a.useState)(!1),C=(null==e?void 0:e.title)||"Подписка на рассылку",T=(null==(s=null==e?void 0:e.params)?void 0:s.inputPlaceholder)||"Электронная почта",A=!_&&!m;return(0,n.jsxs)("div",{className:(0,l.Z)(g.block),children:[(0,n.jsx)("div",{className:g.title,children:C}),A&&(0,n.jsxs)("div",{className:g.form,children:[(0,n.jsx)(i.MA,{className:g.input,label:T,variant:"secondary",size:"s",value:f,onChange:e=>{j&&k(!(v(e)||!e)),b(e)},onClick:()=>{(0,c.h)({eventCategory:t,eventActionType:c.D.block,eventActionText:T})},state:j?"error":void 0,caption:j?"Неверный e-mail":void 0}),(0,n.jsx)(i.zx,{className:g.button,label:(null==(r=null==e?void 0:e.buttons)?void 0:r.tile)||"Подписаться",style:{background:null==(o=null==e?void 0:e.buttons)?void 0:o.background},size:"xs",onClick:()=>{var s;(0,c.h)({eventCategory:t,eventActionType:c.D.button,eventActionText:(null==(s=null==e?void 0:e.buttons)?void 0:s.tile)||"Подписаться"}),k(!v(f)),$(!y),v(f)&&y&&(p(!0),fetch("https://forms.dashamail.ru/subscribe.php?list_id=56713Embedded",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({merge_:f})}).then(e=>{!e||200===e.status||e.ok?(window.localStorage.setItem("subscribed","1"),h(!0)):x(409===e.status?'Кажется, вы уже подписаны на нашу рассылку. Если письма не приходят, рекомендуем обратиться в поддержу по телефону <span class="nowrap">8\xa0800\xa0505-32-32</span>.':401===e.status?"Неверный формат e-mail адреса":"Возникла ошибка, повторите попытку позднее")}).catch(()=>x("Возникла ошибка, повторите попытку позднее")))},disabled:j,pending:u}),(0,n.jsx)(i.XZ,{className:g.checkbox,checked:y,onChange:e=>{(0,c.d)({eventCategory:t,eventAction:"click_check_box_soglashenie_blok_check_box_soglashenie"}),w&&$(!1),N(e)},state:w?"error":"default",children:(0,n.jsx)("span",{className:g.checkboxLabel,dangerouslySetInnerHTML:{__html:(null==(d=null==e?void 0:e.params)?void 0:d.agreement)||'Я принимаю <a href="https://assets.finuslugi.ru/mp-assets/privacy-policy.pdf">условия политики</a> обработки моих данных и даю <a href="https://assets.finuslugi.ru/mp-assets/privacy-policy.pdf">согласие</a> ПАО Московская биржа на их обработку'},onClick:e=>{let s=e.target;if(!(null!=s&&s.href))return;let n=s.textContent||"";n.includes("условия")&&(n="politiki_obrabotki_personalnyh_dannyh_pao_moskovskaya_birzha"),n.includes("согласие")&&(n="dayu_soglasie_na_obrabotku_pao_moskovskaya_birzha_moih_personalnyh_dannyh"),(0,c.h)({eventCategory:t,eventActionType:c.D.link,eventActionText:n,eventLabel:s.href})}})})]}),_&&(0,n.jsx)("div",{className:g.success,children:"Подтвердите подписку по ссылке, отправленной на указанную электронную почту."}),m&&(0,n.jsx)("div",{className:g.error,dangerouslySetInnerHTML:{__html:m}})]})},b=(0,u.g)("journal","sc"),j=Object.freeze({wrapper:`${b}__wrapper`,title:`${b}__title`,subtitle:`${b}__subtitle`,scrollableWrapper:`${b}__scrollable-wrapper`,chipsWrapper:`${b}__chips-wrapper`,sliderWrapper:`${b}__slider-wrapper`,slider:`${b}__slider`,sliderItem:`${b}__slider-item`,fixed:`${b}__slider-item--fixed`,article:`${b}__article`,imgWrapper:`${b}__img-wrapper`,articleBody:`${b}__article-body`,articleTitle:`${b}__article-title`,articleDate:`${b}__article-date`,checkAllLink:`${b}__check-all-link`}),k="finkit-widgets-sc-journal",y="https://assets.finuslugi.ru/mp-assets/pl-common-blocks-renderer/journal/default_post_image.png",N=({data:e,eventCategory:t=k,className:s})=>{var d;let u=(0,i._m)("xl"),[p,_]=(0,a.useState)(!0),[v,x]=(0,a.useState)(0),g=e.chips||[],b=(null==(d=null==g?void 0:g[Number(v)])?void 0:d.items)||[];if((0,a.useEffect)(()=>{_(!u)},[u]),0===g.length||0===b.length)return null;let N=(e,s)=>()=>{(0,c.h)({eventCategory:t,eventActionType:c.D.block,eventActionText:e||"",eventLabel:s})},w=e=>{e.target.src!==y&&(e.target.src=y)};return(0,n.jsxs)("div",{className:(0,l.Z)(j.wrapper,s),children:[(0,n.jsxs)(r.W2,{children:[(0,n.jsx)("h2",{className:j.title,children:null==e?void 0:e.title}),(0,n.jsx)("div",{className:j.subtitle,children:null==e?void 0:e.description})]}),(0,n.jsx)("div",{className:j.scrollableWrapper,children:(0,n.jsx)(r.W2,{children:(0,n.jsx)("div",{className:j.chipsWrapper,children:g.length>1&&(0,n.jsx)(i.cL,{chips:g,value:v,variant:"secondary",size:p?"m":"l",onChipClick:e=>{var s;let n=(null==(s=g[Number(e)])?void 0:s.label)||"";(0,c.h)({eventCategory:t,eventActionType:c.D.tab,eventActionText:n}),x(e)}})})})}),(0,n.jsxs)(r.W2,{children:[e.subscribeBlock&&(0,n.jsx)("div",{className:j.sliderWrapper,children:(0,n.jsx)(i.wI,{className:(0,l.Z)(j.sliderItem,j.fixed),children:(0,n.jsx)("div",{className:j.article,children:(0,n.jsx)(f,{data:e.subscribeBlock,eventCategory:t})})})}),(0,n.jsxs)(i.iR,{className:j.slider,options:{slidesPerView:"auto",spaceBetween:0,autoplay:{delay:3500,disableOnInteraction:!0},loop:!0},pagination:!0,navigation:!0,navigationVariant:"secondary",navigationSize:"s",children:[b.map(e=>(0,n.jsx)(i.wI,{className:j.sliderItem,children:(0,n.jsxs)("a",{className:j.article,href:e.url,onClick:N(e.title,e.url),children:[(0,n.jsx)("div",{className:j.imgWrapper,children:(0,n.jsx)("img",{src:e.img,alt:`изображение: ${e.title}`,onError:w})}),(0,n.jsxs)("div",{className:j.articleBody,children:[(0,n.jsx)("div",{className:j.articleTitle,children:e.title}),(0,n.jsx)("div",{className:j.articleDate,children:m(e.dt)})]})]})},e.title)),e.subscribeBlock&&p&&(0,n.jsx)(i.wI,{className:j.sliderItem,children:(0,n.jsx)("div",{className:j.article,children:(0,n.jsx)(f,{data:e.subscribeBlock,eventCategory:t})})})]},v),(0,n.jsx)(h,{href:(null==e?void 0:e.url)||"",event:{event:"data-event",eventCategory:t,eventAction:`link_${(0,o.t)((null==e?void 0:e.urlText)||"Показать все статьи")}`,eventLabel:(null==e?void 0:e.url)||""},dataLayerPush:c.d,className:j.checkAllLink,children:(null==e?void 0:e.urlText)||"Показать все статьи"})]})]})}},6024:function(e,t,s){"use strict";s.d(t,{B:function(){return b}});var n=s(85893),r=s(66535),i=s(86010),l=s(59194),a=s(34588),c=s(43803),o=s(84941),d=s(67294);let u=(0,o.g)("support","sc"),p=Object.freeze({support:u,title:`${u}__title`,cardsContainer:`${u}__cards-container`}),_="cb-support",h=(0,o.g)("support-app-card","sc"),m=Object.freeze({supportAppCard:h,textWrapper:`${h}__text-wrapper`,imageContainer:`${h}__image-container`,title:`${h}__title`,description:`${h}__description`,icon:`${h}__icon`,imageWrapper:`${h}__image-wrapper`,image:`${h}__image`}),v=({title:e,linkUrl:t,s3Assets:s,description:r})=>{let i=(0,a.aF)("s");return(0,n.jsxs)("div",{className:m.supportAppCard,onClick:()=>{i&&((0,c.h)({eventCategory:_,eventActionType:c.D.banner,eventActionText:e,eventLabel:t}),window.open(t,"_blank","noreferrer"))},children:[(0,n.jsx)(l.IconFdsArrowUpRightSmallO,{className:m.icon,size:32}),(0,n.jsxs)("div",{className:m.textWrapper,children:[(0,n.jsx)("div",{className:m.title,children:e}),!!r&&(0,n.jsx)("div",{className:m.description,children:r})]}),(0,n.jsx)("div",{className:m.imageContainer,children:(0,n.jsxs)("picture",{className:m.imageWrapper,children:[(0,n.jsx)("source",{media:"(max-width: 767px)",srcSet:`${s}/mp-assets/widgets/SupportBlock/mobile-app.png 1x, ${s}/mp-assets/widgets/SupportBlock/mobile-app@2x.png 2x`}),(0,n.jsx)("img",{className:m.image,loading:"lazy",src:`${s}/mp-assets/widgets/SupportBlock/qr-code-mobile-app.jpg`,srcSet:`${s}/mp-assets/widgets/SupportBlock/qr-code-mobile-app.jpg 1x, ${s}/mp-assets/widgets/SupportBlock/qr-code-mobile-app@2x.jpg 2x`})]})})]})},x=(0,o.g)("support-phone-card","sc"),g=Object.freeze({supportPhoneCard:x,contacts:`${x}__contacts`,phone:`${x}__phone`,chat:`${x}__chat`,info:`${x}__info`,image:`${x}__image`}),f=({phones:e,description:t,s3Assets:s})=>{let r=(0,d.useCallback)(()=>{var e,t,s;null==(s=null==(t=null==(e=null==window?void 0:window.supportWidget)?void 0:e.craftTalk)?void 0:t.open)||s.call(t),(0,c.h)({eventCategory:_,eventActionType:c.D.button,eventActionText:"messenger",eventLabel:"chat"})},[]),i=e=>{let t=e.replace(/[\s-]/g,"");(0,c.h)({eventCategory:_,eventActionType:c.D.link,eventActionText:"phone",eventLabel:t})};return(0,n.jsxs)("div",{className:g.supportPhoneCard,children:[(0,n.jsxs)("div",{className:g.contacts,children:[e.map(e=>(0,n.jsx)("a",{className:g.phone,href:e.href,onClick:()=>i(e.label),children:e.label},e.label)),(0,n.jsx)("span",{className:g.chat,onClick:r,children:"Онлайн чат"})]}),(0,n.jsx)("div",{className:g.info,children:t}),(0,n.jsx)("img",{className:g.image,src:`${s}/mp-assets/widgets/SupportBlock/bannerSupportGirl.png`})]})},b=({className:e,phoneCard:t,appCard:s,s3Assets:l})=>(0,n.jsx)("section",{className:(0,i.Z)(p.support,e),children:(0,n.jsxs)(r.W2,{children:[(0,n.jsx)(r.X6,{as:"h2",type:"display",weight:"bold",className:(0,i.Z)(p.title,"mb-6"),children:"Поддержка"}),(0,n.jsxs)("div",{className:p.cardsContainer,children:[(0,n.jsx)(f,{s3Assets:l,...t}),(0,n.jsx)(v,{s3Assets:l,...s})]})]})});b.displayName="Support"}}]);