(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2787],{3248:function(e,t,n){Promise.resolve().then(n.bind(n,32534)),Promise.resolve().then(n.bind(n,81418))},33145:function(e,t,n){"use strict";n.d(t,{default:function(){return s.a}});var a=n(48461),s=n.n(a)},99376:function(e,t,n){"use strict";var a=n(35475);n.o(a,"usePathname")&&n.d(t,{usePathname:function(){return a.usePathname}})},48461:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return o},getImageProps:function(){return l}});let a=n(47043),s=n(55346),r=n(65878),i=a._(n(5084));function l(e){let{props:t}=(0,s.getImgProps)(e,{defaultLoader:i.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}let o=r.Image},81418:function(e,t,n){"use strict";n.d(t,{GlossaryDetail:function(){return z}});var a=n(57437),s=n(35563),r=n(75461),i=n(20777),l=n(90422),o=n(46295),c=n(17730),d=n(99376),p=n(54365),u=n(2265);let _=()=>{let e="";for(let t=0;t<36;t++){let n=16*Math.random()|0;[8,13,18,23].includes(t)&&(e+="-"),e+=(14===t?"4":19===t?3&n|8:n).toString(16)}return e};var m=n(49286),h=n.n(m);let v=e=>{let{params:t,children:n,className:s,config:r}=e,[i,l]=(0,u.useState)(!1),[o,c]=(0,u.useState)(""),d=(0,u.useRef)(null),m=(0,u.useRef)("");return(0,u.useEffect)(()=>{m.current&&(null==r?void 0:r.yaContextCb)&&(null==r?void 0:r.Ya)&&r.yaContextCb.push(()=>{r.Ya.adfoxCode.destroy(m.current)}),c(_())},[null==r?void 0:r.Ya,null==r?void 0:r.yaContextCb,t.pp]),(0,u.useEffect)(()=>{if(m.current===o)return;if(!r){l(!0);return}let e=()=>{var e,t;let n=null===(e=d.current)||void 0===e?void 0:e.querySelector("iframe");n?n.style.height="".concat(null===(t=n.contentWindow)||void 0===t?void 0:t.document.body.scrollHeight,"px"):console.warn("ads blocked"),l(!n)};r.yaContextCb&&r.yaContextCb.push(()=>{r.Ya.adfoxCode.create({ownerId:r.ownerId,containerId:"adfox_".concat(o),params:t,onRender:e})}),setTimeout(e,5e3),m.current=o},[o,r,t]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:(0,p.Z)(i&&h().hide,s),ref:d,id:"adfox_".concat(o)},o),i&&n]})},x=()=>{let[e,t]=(0,u.useState)();return(0,u.useEffect)(()=>{window&&window.Ya&&window.yaContextCb&&t({ownerId:406293,Ya:window.Ya,yaContextCb:window.yaContextCb})},[]),e};var g=n(89487),y=n(33145),f={src:"/service-main/_next/static/media/glossary_banner.bc2c832d.png",height:303,width:577,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAECAMAAACEE47CAAAAP1BMVEXUqn/h6/WOjsuuyPfIzuO1z/+nxP/IzNS8zMy1yPWpqamWmrNeacCurqw4S8+NkbW4uLt1e7tmbchKUr2rq6eRKUynAAAAFHRSTlMBGk9GYlBgRlowxXCPixvYkNRGPk0d6HsAAAAJcEhZcwAACxMAAAsTAQCanBgAAAApSURBVHicBcGFAQAgDMCwottw+/9WErQoWID1OhKTIXM3rzHDuKeK4wMRJwD+/NY17gAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:4},j=n(43828),b=n.n(j);let C=()=>(0,a.jsxs)("div",{className:b().content,children:[(0,a.jsx)("h3",{className:b().bannerTitle,children:"Управляйте финансами через приложение Финуслуг"}),(0,a.jsx)(y.default,{src:f,alt:"glossary_banner",className:b().bannerPicture,unoptimized:!0})]});var k=n(80684),N=n(27648),w=n(62268),S=n(34669),A=n.n(S);let T=e=>{let{className:t,data:n}=e;if(!Array.isArray(n))return null;let s=(()=>{let e;let t=[],s=1,r=0;return n.forEach((t,a)=>{"header"==t.type&&(3==++r&&("banner"==n[a-1].type&&(e=n.splice(a-1,1)),"banner"==n[a+1].type&&(e=n.splice(a+1,1))),e&&4==r&&n.splice(a,0,e[0]))}),n.forEach((t,a)=>{"header"==t.type&&(3==++r&&("banner"==n[a-1].type&&(e=n.splice(a-1,1)),"banner"==n[a+1].type&&(e=n.splice(a+1,1))),e&&4==r&&n.splice(a,0,e[0]))}),n.forEach((e,n)=>{var r,i,l,o,c,d,p,u,_,m,h,v,x;switch(e.type){case"header":t.push((0,a.jsx)("h2",{id:"content_header_".concat(s),children:null===(r=e.data)||void 0===r?void 0:r.text},n)),s++;break;case"sub_header":t.push((0,a.jsx)("h3",{children:null===(i=e.data)||void 0===i?void 0:i.text},n));break;case"paragraph":t.push((0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:(null===(l=e.data)||void 0===l?void 0:l.text)||""}},n));break;case"link":t.push((0,a.jsx)("div",{className:A().blockLink,children:(0,a.jsx)("a",{target:"_blank",href:null===(o=e.data)||void 0===o?void 0:o.url,children:null===(c=e.data)||void 0===c?void 0:c.text})},n));break;case"dossier":t.push((0,a.jsxs)("div",{className:A().dossierDateItem,children:[(0,a.jsx)("span",{className:A().date,children:null===(d=e.data)||void 0===d?void 0:d.year}),(0,a.jsx)("div",{className:A().text,dangerouslySetInnerHTML:{__html:(null===(p=e.data)||void 0===p?void 0:p.text)||""}})]},n));break;case"html":t.push((0,a.jsx)("div",{className:A().htmlBlock,dangerouslySetInnerHTML:{__html:(0,w.$)((null===(u=e.data)||void 0===u?void 0:u.html)||"")}},n));break;case"annotation":t.push((0,a.jsx)("div",{className:A().annotation,dangerouslySetInnerHTML:{__html:(0,w.$)((null===(_=e.data)||void 0===_?void 0:_.text)||"")}},n));break;case"company-annotation":t.push((0,a.jsx)("div",{className:A().companyAnnotation,dangerouslySetInnerHTML:{__html:(null===(m=e.data)||void 0===m?void 0:m.text)||""}},n));break;case"keynote":t.push((0,a.jsx)("div",{className:A().keynoteWrapper,children:(0,a.jsx)("p",{className:A().keynote,dangerouslySetInnerHTML:{__html:(null===(h=e.data)||void 0===h?void 0:h.text)||""}})},n));break;case"image":t.push((0,a.jsx)(y.default,{src:(null===(v=e.data)||void 0===v?void 0:v.url)||"",alt:"image"},n));break;case"table":(null===(x=e.data)||void 0===x?void 0:x.html)&&t.push((0,a.jsxs)("div",{className:A().contentTableWrapper,children:[e.data.title?(0,a.jsx)("h4",{children:e.data.title}):"",(0,a.jsx)("div",{className:A().contentTableContent,dangerouslySetInnerHTML:{__html:(0,w.$)(e.data.html||"")}})]},n))}}),t})();return(0,a.jsx)("div",{className:(0,p.Z)(A().contentBlocks,t),children:s})},D=e=>e.replace(/<[^>]*>/g,"");var B=n(71333),L=n.n(B);let W=e=>{let{data:t}=e,[n,i]=(0,u.useState)(!0),[l,o]=(0,u.useState)(!1),c=(0,u.useRef)(null),d=(0,u.useRef)(null);if((0,u.useEffect)(()=>{let e=()=>{c.current&&d.current&&c.current.scrollWidth>d.current.offsetWidth?o(!0):o(!1)};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[]),t.term.content.length>0){var _;let e={html:D((null===(_=t.term.content[0].data)||void 0===_?void 0:_.html)||"")};t.term.content[0].data=e}return(0,a.jsx)("section",{className:L().content,children:(0,a.jsx)(s.W2,{className:L().termContainer,children:(0,a.jsx)("div",{className:L().wrapper,children:(0,a.jsxs)("div",{className:L().termBlock,children:[(0,a.jsxs)("div",{className:L().term,children:[(0,a.jsx)("div",{className:L().title,children:t.term.name}),(0,a.jsx)(T,{className:L().description,data:t.term.content})]}),(0,a.jsxs)("div",{ref:d,className:L().relatedTerms,children:[(0,a.jsx)("label",{children:"Связанные термины"}),(0,a.jsxs)("div",{ref:c,className:(0,p.Z)(L().tags,n&&L().hiddenTags),children:[t.term.similar_terms.map(e=>(0,a.jsx)(N.default,{href:"/glossariy/".concat(e.url),children:e.name},e.id)),l&&(0,a.jsx)("div",{"data-element":"dropdown",className:(0,p.Z)({[L().hiddenLinkedTermsWrapper]:n}),children:(0,a.jsx)(r.zx,{className:L().showMoreButton,variant:"purple",size:"xs",onClick:()=>{i(e=>!e)},label:n?"Еще":"Скрыть",iconLeft:(0,a.jsx)(k.IconArrowHead,{size:20,className:(0,p.Z)(n?L().arrowDown:L().arrowUp,L().showMoreArrow)})})})]})]}),(t.term.prev_term||t.term.next_term)&&(0,a.jsxs)("div",{className:L().linkContainer,children:[(0,a.jsx)("label",{className:L().linkContainerText,children:"Листаем словарь"}),(0,a.jsxs)("div",{className:L().linkContainerButtons,children:[t.term.prev_term?(0,a.jsxs)("div",{className:L().linkContainerButton,children:[(0,a.jsx)(r.zx,{as:"a",className:(0,p.Z)(L().button,L().prev),href:"/glossariy/".concat(t.term.prev_term.url),label:"Предыдущий термин",size:"s",appearance:"ghost",variant:"purple",iconLeft:(0,a.jsx)(k.IconArrowHead,{size:20})}),(0,a.jsx)("div",{className:L().linkContainerTitle,children:t.term.prev_term.name})]}):(0,a.jsx)("div",{}),t.term.next_term?(0,a.jsxs)("div",{className:L().linkContainerButton,children:[(0,a.jsx)(r.zx,{as:"a",className:L().button,href:"/glossariy/".concat(t.term.next_term.url),label:"Следующий термин",size:"s",appearance:"ghost",variant:"purple",iconRight:(0,a.jsx)(k.IconArrowHead,{size:20})}),(0,a.jsx)("div",{className:L().linkContainerTitle,children:t.term.next_term.name})]}):(0,a.jsx)("div",{})]})]})]})})})})},G={};var E=n(65507),I=n.n(E);let z=e=>{var t;let{data:n,bestOffersData:p,supportBlockData:u,navigatorBlockData:_}=e,m=(0,d.usePathname)(),h=(0,o.S)(),y=x(),f=JSON.stringify({"@context":"https://schema.org","@type":"DefinedTerm",name:n.term.name,description:D((null===(t=n.term.content[0].data)||void 0===t?void 0:t.html)||""),termCode:n.term.id,url:"".concat(h.NEXT_PUBLIC_BASE_URL).concat(m)});return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("main",{className:I().page,children:[(0,a.jsx)(s.W2,{children:(0,a.jsx)(r.Oo,{style:{padding:"16px 0"},items:[{href:"/",label:"Главная"},{label:"Финансовый словарь",href:"/glossariy"},{label:n.term.name}]})}),(0,a.jsx)("div",{children:(0,a.jsxs)(s.W2,{className:I().contentWrapper,children:[(0,a.jsx)("div",{className:I().detailSectionWrapper,children:(0,a.jsx)(W,{data:n})}),(0,a.jsxs)("div",{className:I().leftSideBlock,children:[(0,a.jsx)(v,{config:y,params:G,className:I().adFox}),(0,a.jsx)(C,{})]})]})}),p&&(0,a.jsx)(i.MJ,{tabs:p,baseUrl:h.NEXT_PUBLIC_BASE_URL,s3Assets:"".concat(h.NEXT_PUBLIC_S3_ASSETS,"/mp-assets"),dataLayerPush:g.l}),_&&(0,a.jsx)(l.t,{data:_,eventCategory:"glossariy_journal"}),(0,a.jsx)("div",{style:{marginTop:"-32px"}}),u&&(0,a.jsx)(c.B,{...u,s3Assets:h.NEXT_PUBLIC_S3_ASSETS}),(0,a.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:f}})]})})}},62268:function(e,t,n){"use strict";n.d(t,{$:function(){return r}});let a=["finuslugi.ru","inguru.dev","moex.com"],s=e=>e.includes("//")&&!a.find(t=>e&&e.indexOf(t)>=0),r=e=>e?e=e.replace(/href="(.*?)"/gi,(e,t)=>"".concat(e).concat(s(t)?' rel="nofollow"':"")):""},89487:function(e,t,n){"use strict";n.d(t,{l:function(){return r},y:function(){return i}});var a=n(30631);let s=[{path:"banki",category:"service_bank"},{path:"strahovanie_kompanija",category:"service_sk"},{path:"adresa_sk",category:"service_sk"},{path:"adresa_mfo",category:"service_mfo"},{path:"adresa",category:"service_bank"},{path:"mfo",category:"service_mfo"}],r=(e,t)=>{let n=sessionStorage.getItem("pushedEvents"),s=n?JSON.parse(n):[];e.event||(e.event="data-event"),"string"==typeof e.eventAction&&(e.eventAction=e.eventAction.toLowerCase().replaceAll(" ","_")),"string"==typeof e.eventLabel&&(e.eventLabel=e.eventLabel.toLowerCase().replaceAll(" ","_"));let r=s.find(n=>n.eventCategory===e.eventCategory&&n.eventAction===e.eventAction&&n.eventLabel===e.eventLabel&&("all"===t||"url"===t&&window.location.pathname===n.url));if(!t||!r){if(t){let t={...e};t.url=window.location.pathname,s.push(t),sessionStorage.setItem("pushedEvents",JSON.stringify(s))}(0,a.AB)(e)}},i=e=>{s.some(t=>{if(e.includes(t.path)){let n=e.match(/str_(\d+)/),a=(null==n?void 0:n[1])?Number(n[1]):1;return setTimeout(()=>{r({event:"data-event",eventCategory:t.category,eventAction:"stay_15_seconds",eventLabel:e,eventValue:a})},15e3),!0}return!1})}},49286:function(e){e.exports={hide:"YaAdFoxBanner_hide__EEjEP"}},34669:function(e){e.exports={contentBlocks:"ContentBlocks_contentBlocks__7acMS",annotation:"ContentBlocks_annotation__BaHgh",contentTableWrapper:"ContentBlocks_contentTableWrapper__nKjwZ",keynoteWrapper:"ContentBlocks_keynoteWrapper__MMDgN",keynote:"ContentBlocks_keynote__TEf7n",blockLink:"ContentBlocks_blockLink__hVZSu"}},65507:function(e){e.exports={page:"GlossaryDetail_page__i8qFo",contentWrapper:"GlossaryDetail_contentWrapper__1qqD0",detailSectionWrapper:"GlossaryDetail_detailSectionWrapper__FL_vz",leftSideBlock:"GlossaryDetail_leftSideBlock__Jkb_Z",adFox:"GlossaryDetail_adFox__ZVw7z"}},43828:function(e){e.exports={content:"GlossaryDetailBannerSection_content__Zb0z7",bannerTitle:"GlossaryDetailBannerSection_bannerTitle__4hotK",bannerPicture:"GlossaryDetailBannerSection_bannerPicture__PXQGt"}},71333:function(e){e.exports={title:"GlossaryDetailContentSection_title__j8R_z",catalogLinkWrapper:"GlossaryDetailContentSection_catalogLinkWrapper__EfUjR",shareWrapper:"GlossaryDetailContentSection_shareWrapper__Lrov_",relatedTerms:"GlossaryDetailContentSection_relatedTerms__N8F7S",content:"GlossaryDetailContentSection_content__a7lh2",wrapper:"GlossaryDetailContentSection_wrapper__Ombyy",termBlock:"GlossaryDetailContentSection_termBlock__hlaGO",term:"GlossaryDetailContentSection_term__VP_Hg",description:"GlossaryDetailContentSection_description__q4aEi",linkContainer:"GlossaryDetailContentSection_linkContainer__C_xVX",linkContainerText:"GlossaryDetailContentSection_linkContainerText__9Hk1S",linkContainerButtons:"GlossaryDetailContentSection_linkContainerButtons__9VJuD",linkContainerButton:"GlossaryDetailContentSection_linkContainerButton__tw4cn",linkContainerTitle:"GlossaryDetailContentSection_linkContainerTitle__H_FkM",button:"GlossaryDetailContentSection_button__VjeSR",prev:"GlossaryDetailContentSection_prev__i_26_",additional:"GlossaryDetailContentSection_additional__RtdlP",tagsClose:"GlossaryDetailContentSection_tagsClose__znjhT",showMoreButton:"GlossaryDetailContentSection_showMoreButton__f26hc",tags:"GlossaryDetailContentSection_tags__vvY72",hiddenTags:"GlossaryDetailContentSection_hiddenTags__eIQJ9",hiddenLinkedTermsWrapper:"GlossaryDetailContentSection_hiddenLinkedTermsWrapper__iavJd",showMoreArrow:"GlossaryDetailContentSection_showMoreArrow__YHhx9",arrowUp:"GlossaryDetailContentSection_arrowUp__0szb0",arrowDown:"GlossaryDetailContentSection_arrowDown__vdCV0",termContainer:"GlossaryDetailContentSection_termContainer__uPmjt",buttonIcon:"GlossaryDetailContentSection_buttonIcon__og3Ez"}},90422:function(e,t,n){"use strict";n.d(t,{t:function(){return h}});var a=n(57437),s=n(35563),r=n(75461),i=n(54365),l=n(2265),o=n(10992),c=n(31620),d=n(10855);let p=(0,n(52074).g)("journal","sc"),u=Object.freeze({wrapper:"".concat(p,"__wrapper"),title:"".concat(p,"__title"),subtitle:"".concat(p,"__subtitle"),scrollableWrapper:"".concat(p,"__scrollable-wrapper"),chipsWrapper:"".concat(p,"__chips-wrapper"),slider:"".concat(p,"__slider"),sliderItem:"".concat(p,"__slider-item"),article:"".concat(p,"__article"),imgWrapper:"".concat(p,"__img-wrapper"),articleBody:"".concat(p,"__article-body"),articleTitle:"".concat(p,"__article-title"),articleDate:"".concat(p,"__article-date"),checkAllLink:"".concat(p,"__check-all-link")}),_="https://assets.finuslugi.ru/mp-assets/widgets/journal/default_post_image.png",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 n=t.getDate(),a=t.getMonth();return"".concat(n," ").concat(["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"][a])},h=e=>{var t;let{data:n,eventCategory:p="finkit-widgets-sc-journal",className:h}=e,v=(0,r._m)("xl"),[x,g]=(0,l.useState)(!0),[y,f]=(0,l.useState)(0),j=n.chips||[],b=(null==(t=null==j?void 0:j[Number(y)])?void 0:t.items)||[];if((0,l.useEffect)(()=>{g(!v)},[v]),0===j.length||0===b.length)return null;let C=(e,t)=>()=>{(0,o.h)({eventCategory:p,eventActionType:o.D.block,eventActionText:e||"",eventLabel:t})},k=e=>{e.target.src!==_&&(e.target.src=_)};return(0,a.jsxs)("div",{className:(0,i.Z)(u.wrapper,h),children:[(0,a.jsxs)(s.W2,{children:[(0,a.jsx)("h2",{className:u.title,children:null==n?void 0:n.title}),(0,a.jsx)("div",{className:u.subtitle,children:null==n?void 0:n.description})]}),(0,a.jsx)("div",{className:u.scrollableWrapper,children:(0,a.jsx)(s.W2,{children:(0,a.jsx)("div",{className:u.chipsWrapper,children:j.length>1&&(0,a.jsx)(r.cL,{chips:j,value:y,variant:"secondary",size:x?"m":"l",onChipClick:e=>{var t;let n=(null==(t=j[Number(e)])?void 0:t.label)||"";(0,o.h)({eventCategory:p,eventActionType:o.D.tab,eventActionText:n}),f(e)}})})})}),(0,a.jsxs)(s.W2,{children:[(0,a.jsx)(r.iR,{className:u.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,a.jsx)(r.wI,{className:u.sliderItem,children:(0,a.jsxs)("a",{className:u.article,href:e.url,onClick:C(e.title,e.url),children:[(0,a.jsx)("div",{className:u.imgWrapper,children:(0,a.jsx)("img",{src:e.img,alt:"изображение: ".concat(e.title),onError:k})}),(0,a.jsxs)("div",{className:u.articleBody,children:[(0,a.jsx)("div",{className:u.articleTitle,children:e.title}),(0,a.jsx)("div",{className:u.articleDate,children:m(e.dt)})]})]})},e.title))},y),(0,a.jsx)(d.C,{href:(null==n?void 0:n.url)||"",event:{event:"data-event",eventCategory:p,eventAction:"link_".concat((0,c.t)((null==n?void 0:n.urlText)||"Показать все статьи")),eventLabel:(null==n?void 0:n.url)||""},dataLayerPush:o.d,className:u.checkAllLink,children:(null==n?void 0:n.urlText)||"Показать все статьи"})]})]})}},17730:function(e,t,n){"use strict";n.d(t,{B:function(){return f}});var a=n(57437),s=n(35563),r=n(54365),i=n(80684),l=n(75461),o=n(10992),c=n(52074),d=n(2265);let p=(0,c.g)("support","sc"),u=Object.freeze({support:p,title:`${p}__title`,cardsContainer:`${p}__cards-container`}),_="cb-support",m=(0,c.g)("support-app-card","sc"),h=Object.freeze({supportAppCard:m,textWrapper:`${m}__text-wrapper`,imageContainer:`${m}__image-container`,title:`${m}__title`,description:`${m}__description`,icon:`${m}__icon`,imageWrapper:`${m}__image-wrapper`,image:`${m}__image`}),v=({title:e,linkUrl:t,s3Assets:n,description:s})=>{let r=(0,l.aF)("s");return(0,a.jsxs)("div",{className:h.supportAppCard,onClick:()=>{r&&((0,o.h)({eventCategory:_,eventActionType:o.D.banner,eventActionText:e,eventLabel:t}),window.open(t,"_blank","noreferrer"))},children:[(0,a.jsx)(i.IconFdsArrowUpRightSmallO,{className:h.icon,size:32}),(0,a.jsxs)("div",{className:h.textWrapper,children:[(0,a.jsx)("div",{className:h.title,children:e}),!!s&&(0,a.jsx)("div",{className:h.description,children:s})]}),(0,a.jsx)("div",{className:h.imageContainer,children:(0,a.jsxs)("picture",{className:h.imageWrapper,children:[(0,a.jsx)("source",{media:"(max-width: 767px)",srcSet:`${n}/mp-assets/widgets/SupportBlock/mobile-app.png 1x, ${n}/mp-assets/widgets/SupportBlock/mobile-app@2x.png 2x`}),(0,a.jsx)("img",{className:h.image,loading:"lazy",src:`${n}/mp-assets/widgets/SupportBlock/qr-code-mobile-app.jpg`,srcSet:`${n}/mp-assets/widgets/SupportBlock/qr-code-mobile-app.jpg 1x, ${n}/mp-assets/widgets/SupportBlock/qr-code-mobile-app@2x.jpg 2x`})]})})]})},x=(0,c.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`}),y=({phones:e,description:t,s3Assets:n})=>{let s=(0,d.useCallback)(()=>{var e,t,n;null==(n=null==(t=null==(e=null==window?void 0:window.supportWidget)?void 0:e.craftTalk)?void 0:t.open)||n.call(t),(0,o.h)({eventCategory:_,eventActionType:o.D.button,eventActionText:"messenger",eventLabel:"chat"})},[]),r=e=>{let t=e.replace(/[\s-]/g,"");(0,o.h)({eventCategory:_,eventActionType:o.D.link,eventActionText:"phone",eventLabel:t})};return(0,a.jsxs)("div",{className:g.supportPhoneCard,children:[(0,a.jsxs)("div",{className:g.contacts,children:[e.map(e=>(0,a.jsx)("a",{className:g.phone,href:e.href,onClick:()=>r(e.label),children:e.label},e.label)),(0,a.jsx)("span",{className:g.chat,onClick:s,children:"Онлайн чат"})]}),(0,a.jsx)("div",{className:g.info,children:t}),(0,a.jsx)("img",{className:g.image,src:`${n}/mp-assets/widgets/SupportBlock/bannerSupportGirl.png`})]})},f=({className:e,phoneCard:t,appCard:n,s3Assets:i})=>(0,a.jsx)("section",{className:(0,r.Z)(u.support,e),children:(0,a.jsxs)(s.W2,{children:[(0,a.jsx)(s.X6,{as:"h2",type:"display",weight:"bold",className:(0,r.Z)(u.title,"mb-6"),children:"Поддержка"}),(0,a.jsxs)("div",{className:u.cardsContainer,children:[(0,a.jsx)(y,{s3Assets:i,...t}),(0,a.jsx)(v,{s3Assets:i,...n})]})]})});f.displayName="Support"}},function(e){e.O(0,[7681,3544,5501,207,7339,3017,7648,8668,4648,2971,2117,1744],function(){return e(e.s=3248)}),_N_E=e.O()}]);