(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1062,2261],{4107:()=>{},4319:()=>{},21676:(e,t,a)=>{"use strict";a.d(t,{E:()=>y}),a(80692);var n=a(37876),c=a(40317),o=a(92676),s=a(69241),l=a(14232),r=a(13636),i=a(52426),d=a(44500),h=a(57539);let p={display:"inline-block",lineHeight:0,backfaceVisibility:"hidden"},u={width:"1em",height:"1em",overflowClipMargin:"content-box",overflow:"hidden"},m=e=>l.createElement("svg",{width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("path",{d:"M9 8a.75.75 0 000 1.5h4.44l-5.22 5.22a.75.75 0 101.06 1.06l5.22-5.22v4.445a.75.75 0 101.5 0V8.75a.75.75 0 00-.75-.75H9z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}));function x(e){let{className:t,style:a,boxSize:n,size:c,onClick:o}=e;return l.createElement("span",{className:t,style:{...p,...o&&{cursor:"pointer"},...c&&{fontSize:"".concat(c,"px")},...n&&{width:"".concat(n,"px"),height:"".concat(n,"px"),display:"inline-flex",alignItems:"center",justifyContent:"center"},...a},...o?{role:"button",tabIndex:"0",onClick:o}:{}},l.createElement(m,{viewBox:"0 0 24 24",style:u}))}x.displayName="IconFdsArrowUpRightSmallO";let g=(0,h.g)("support","sc"),v=Object.freeze({support:g,title:"".concat(g,"__title"),cardsContainer:"".concat(g,"__cards-container")}),_="cb-support",f=(0,h.g)("support-app-card","sc"),b=Object.freeze({supportAppCard:f,textWrapper:"".concat(f,"__text-wrapper"),imageContainer:"".concat(f,"__image-container"),title:"".concat(f,"__title"),description:"".concat(f,"__description"),button:"".concat(f,"__button"),imageWrapper:"".concat(f,"__image-wrapper"),image:"".concat(f,"__image")}),j=e=>{let{title:t,linkUrl:a,s3Assets:c,description:o}=e,s=(0,i.nu)("s");return(0,n.jsxs)("div",{className:b.supportAppCard,onClick:()=>{s&&((0,d.h)({eventCategory:_,eventActionType:d.D.banner,eventActionText:t,eventLabel:a}),window.open(a,"_blank","noreferrer"))},children:[(0,n.jsx)(r.$,{className:b.button,iconLeft:(0,n.jsx)(x,{size:24}),shape:"circle-icon",size:"xs"}),(0,n.jsxs)("div",{className:b.textWrapper,children:[(0,n.jsx)("div",{className:b.title,children:t}),!!o&&(0,n.jsx)("div",{className:b.description,children:o})]}),(0,n.jsx)("div",{className:b.imageContainer,children:(0,n.jsxs)("picture",{className:b.imageWrapper,children:[(0,n.jsx)("source",{media:"(max-width: 767px)",srcSet:"".concat(c,"/mp-assets/widgets/SupportBlock/mobile-app.png 1x, ").concat(c,"/mp-assets/widgets/SupportBlock/mobile-app@2x.png 2x")}),(0,n.jsx)("img",{className:b.image,loading:"lazy",src:"".concat(c,"/mp-assets/widgets/SupportBlock/qr-code-mobile-app.jpg"),srcSet:"".concat(c,"/mp-assets/widgets/SupportBlock/qr-code-mobile-app.jpg 1x, ").concat(c,"/mp-assets/widgets/SupportBlock/qr-code-mobile-app@2x.jpg 2x")})]})})]})},w=(0,h.g)("support-phone-card","sc"),N=Object.freeze({supportPhoneCard:w,contacts:"".concat(w,"__contacts"),contactsExtra:"".concat(w,"__contacts-extra"),phone:"".concat(w,"__phone"),phonesExtra:"".concat(w,"__phones-extra"),phoneExtra:"".concat(w,"__phone-extra"),chat:"".concat(w,"__chat"),text:"".concat(w,"__text"),image:"".concat(w,"__image")}),C=e=>{let{phones:t,phonesExtra:a,description:c,s3Assets:o}=e,s=(0,l.useCallback)(()=>{var e,t,a;null==(a=null==(t=null==(e=null==window?void 0:window.supportWidget)?void 0:e.craftTalk)?void 0:t.open)||a.call(t),(0,d.h)({eventCategory:_,eventActionType:d.D.button,eventActionText:"messenger",eventLabel:"chat"})},[]),r=e=>{let t=e.replace(/[\s-]/g,"");(0,d.h)({eventCategory:_,eventActionType:d.D.link,eventActionText:"phone",eventLabel:t})};return(0,n.jsxs)("div",{className:N.supportPhoneCard,children:[(0,n.jsxs)("div",{className:N.contacts,children:[t.map(e=>(0,n.jsx)("a",{className:N.phone,href:e.href,onClick:()=>r(e.label),children:e.label},e.label)),(0,n.jsx)("span",{className:N.chat,onClick:s,children:"Онлайн чат"})]}),(null==a?void 0:a.length)>0&&(0,n.jsxs)("div",{className:N.contactsExtra,children:[(0,n.jsx)("p",{className:N.text,children:"Дополнительные телефоны"}),(0,n.jsx)("div",{className:N.phonesExtra,children:a.map(e=>(0,n.jsx)("a",{className:N.phoneExtra,href:e.href,onClick:()=>r(e.label),children:e.label},e.label))})]}),(0,n.jsx)("p",{className:N.text,children:c}),(0,n.jsx)("img",{className:N.image,src:"".concat(o,"/mp-assets/widgets/SupportBlock/bannerSupportGirl.png"),loading:"lazy"})]})},k=e=>{let{className:t,phoneCard:a,appCard:l,s3Assets:r}=e;return a&&l?(0,n.jsx)("section",{className:(0,s.A)(v.support,t),children:(0,n.jsxs)(c.m,{children:[(0,n.jsx)(o.D,{as:"h2",type:"display",weight:"bold",className:v.title,children:"Поддержка"}),(0,n.jsxs)("div",{className:v.cardsContainer,children:[(0,n.jsx)(C,{s3Assets:r,...a}),(0,n.jsx)(j,{s3Assets:r,...l})]})]})}):null};k.displayName="Support";let y=k},37394:(e,t,a)=>{"use strict";a.d(t,{g:()=>n});let n=()=>Date.now().toString()+Math.random().toString(36).slice(2,9)},42195:(e,t,a)=>{"use strict";a.d(t,{a:()=>_});var n=a(37876),c=a(14232),o=a(42036),s=a(69241),l=a(43509),r=a(68086),i=a(9789),d=a(83815),h=a(68741),p=a(68990),u=a(14595);a(4319);let m=(0,i.g)("modal"),x=Object.freeze({modal:m,overlay:"".concat(m,"__overlay"),withoutFooter:"".concat(m,"--without-footer"),noContent:"".concat(m,"--no-content"),open:"".concat(m,"--open"),overlayOpen:"".concat(m,"__overlay--open"),height:{medium:"".concat(m,"--height-medium"),full:"".concat(m,"--height-full")},size:{s:"".concat(m,"--s"),m:"".concat(m,"--m"),l:"".concat(m,"--l"),xl:"".concat(m,"--xl")},header:"".concat(m,"__header"),headerText:"".concat(m,"__header-text"),headerTitle:"".concat(m,"__header-title"),headerSubtitle:"".concat(m,"__header-subtitle"),closeIcon:"".concat(m,"__close-icon"),backButton:"".concat(m,"__back-button"),backButtonText:"".concat(m,"__back-button-text"),headerStates:{centered:"".concat(m,"__header--centered"),withLongBtn:"".concat(m,"__header--with-long-btn"),defaultHeight:"".concat(m,"__header--default-height")},content:"".concat(m,"__content"),withoutPadding:"".concat(m,"__content--without-padding"),withScroll:"".concat(m,"__content--with-scroll"),footer:"".concat(m,"__footer"),footerContainer:"".concat(m,"__footer-container"),footerBtn:"".concat(m,"__footer-btn"),footerDescription:"".concat(m,"__footer-description"),divider:"".concat(m,"__divider"),dividerTop:"".concat(m,"__divider--top"),dividerBottom:"".concat(m,"__divider--bottom")}),g=e=>{let{primaryBtnText:t,onPrimary:a,secondaryBtnText:c,onSecondary:o,thirdBtnText:l,onThird:i,description:h,children:p,noContent:u,dataQa:m}=e;return(0,n.jsxs)("div",{"data-qa":(0,r.g)("".concat(m,"-footer"),!!m),className:(0,s.A)(x.footer,{[x.noContent]:u}),children:[!u&&(0,n.jsx)("div",{className:(0,s.A)(x.divider,x.dividerTop)}),p||(0,n.jsxs)("div",{className:x.footerContainer,children:[l&&(0,n.jsx)(d.a,{dataQa:(0,r.g)("".concat(m,"-footer-third-btn"),!!m),label:l,variant:"secondary",size:"s",className:x.footerBtn,onClick:i}),c&&(0,n.jsx)(d.a,{dataQa:(0,r.g)("".concat(m,"-footer-secondary-btn"),!!m),label:c,variant:"secondary",size:"s",className:x.footerBtn,onClick:o}),t&&(0,n.jsx)(d.a,{dataQa:(0,r.g)("".concat(m,"-footer-primary-btn"),!!m),label:t,size:"s",className:x.footerBtn,onClick:a})]}),h&&(0,n.jsx)("span",{"data-qa":(0,r.g)("".concat(m,"-footer-description"),!!m),className:x.footerDescription,children:h})]})},v=e=>{let{text:t,title:a,subtitle:c,align:o="left",backBtnVariant:l,onBack:i,onClose:d,noContent:m,dataQa:g,withoutCloseBtn:v=!1}=e;return(0,n.jsxs)("div",{"data-qa":(0,r.g)("".concat(g,"-header"),!!g),className:(0,s.A)(x.header,{[x.headerStates.centered]:"center"===o||!!l,[x.headerStates.withLongBtn]:"long"===l,[x.headerStates.defaultHeight]:!t&&!a&&!c}),children:[t&&(0,n.jsx)("span",{"data-qa":(0,r.g)("".concat(g,"-header-text"),!!g),className:x.headerText,children:t}),a&&(0,n.jsx)("span",{"data-qa":(0,r.g)("".concat(g,"-header-title"),!!g),className:x.headerTitle,children:a}),c&&(0,n.jsx)("span",{"data-qa":(0,r.g)("".concat(g,"-header-subtitle"),!!g),className:x.headerSubtitle,children:c}),!v&&(0,n.jsx)("button",{"data-qa":(0,r.g)("".concat(g,"-header-close"),!!g),type:"button",className:x.closeIcon,onClick:d,children:(0,n.jsx)(u.P,{children:(0,n.jsx)(p.S,{})})}),l&&(0,n.jsxs)("button",{"data-qa":(0,r.g)("".concat(g,"-header-back"),!!g),type:"button",className:x.backButton,onClick:i,children:[(0,n.jsx)(u.P,{children:(0,n.jsx)(h.S,{})}),"long"===l&&(0,n.jsx)("span",{className:x.backButtonText,children:"Назад"})]}),!m&&(0,n.jsx)("div",{className:(0,s.A)(x.divider,x.dividerBottom)})]})},_=(0,c.forwardRef)((e,t)=>{let{header:a,footer:i,open:d=!1,size:h="m",noPadding:p=!1,height:u="full",onClose:m,children:_,className:f,style:b,dataQa:j,dataId:w,dismissDisabled:N=!1,...C}=e,[k,y]=(0,c.useState)(!1),[S,A]=(0,c.useState)(!1),B=(0,c.useRef)(null);(0,c.useEffect)(()=>()=>{B.current&&cancelAnimationFrame(B.current)},[]),(0,c.useEffect)(()=>{if(B.current&&cancelAnimationFrame(B.current),d)return y(!0),B.current=requestAnimationFrame(()=>{requestAnimationFrame(()=>{A(!0)})}),()=>{B.current&&cancelAnimationFrame(B.current)};{A(!1);let e=setTimeout(()=>{y(!1)},300);return()=>{clearTimeout(e),B.current&&cancelAnimationFrame(B.current)}}},[d]);let T=()=>{A(!1);let e=setTimeout(()=>{null==m||m(),y(!1)},300);return()=>clearTimeout(e)},{context:z}=(0,o.we)({open:k,onOpenChange:e=>{e||T()}}),E=(0,o.s9)(z,{outsidePressEvent:"mousedown",outsidePress:!N,escapeKey:!N}),q=(0,o.It)(z,{role:"dialog"}),{getFloatingProps:L}=(0,o.bv)([E,q]),[F,O]=(0,c.useState)(!1),R=(0,c.useCallback)(e=>{e&&new ResizeObserver(()=>{O(e.scrollHeight>e.clientHeight)}).observe(e)},[]);return k?(0,n.jsx)(o.XF,{id:l.M,children:(0,n.jsx)(o.zR,{lockScroll:!0,className:(0,s.A)(x.overlay,{[x.overlayOpen]:S}),children:(0,n.jsx)(o.s3,{context:z,children:(0,n.jsxs)("div",{ref:t,className:(0,s.A)(x.modal,x.size[h],x.height[u],{[x.withoutFooter]:!(null==i?void 0:i.primaryBtnText)&&!(null==i?void 0:i.children),[x.open]:S},f),style:b,...L(),...C,"data-id":w,"data-qa":j,children:[(0,n.jsx)(v,{...a,dataQa:j,noContent:!_,onClose:T}),_&&(0,n.jsx)("div",{"data-qa":(0,r.g)("".concat(j,"-content"),!!j),ref:R,className:(0,s.A)(x.content,{[x.withoutFooter]:!(null==i?void 0:i.primaryBtnText)&&!(null==i?void 0:i.children),[x.withoutPadding]:p,[x.withScroll]:F}),children:_}),((null==i?void 0:i.primaryBtnText)||(null==i?void 0:i.children))&&(0,n.jsx)(g,{...i,dataQa:j,noContent:!_})]})})})}):null});_.displayName="Modal"},43509:(e,t,a)=>{"use strict";a.d(t,{D:()=>o,M:()=>n,T:()=>c});let n="finkit-modals",c="finkit-tooltips",o="finkit-dropdown"},49890:()=>{},51040:()=>{},68741:(e,t,a)=>{"use strict";a.d(t,{S:()=>c});var n=a(14232);function c(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"}))}},68990:(e,t,a)=>{"use strict";a.d(t,{S:()=>c});var n=a(14232);function c(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 7.22a.743.743 0 0 1 1.06 0L12 10.94l3.72-3.72a.743.743 0 0 1 1.06 0 .742.742 0 0 1 0 1.06L13.061 12l3.72 3.72a.743.743 0 0 1 0 1.06.743.743 0 0 1-1.061 0L12 13.06l-3.72 3.72a.743.743 0 0 1-1.06 0 .743.743 0 0 1 0-1.06L10.94 12 7.22 8.28a.743.743 0 0 1 0-1.06Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}},80692:()=>{},92676:(e,t,a)=>{"use strict";a.d(t,{D:()=>d});var n=a(37876),c=a(69241),o=a(34350),s=a(9789);a(49890);let l={display:"h1",hero:"h1",h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6"},r=(0,s.g)("heading"),i=Object.freeze({heading:r,states:Object.freeze({display:"".concat(r,"--display"),hero:"".concat(r,"--hero"),h1:"".concat(r,"--h1"),h2:"".concat(r,"--h2"),h3:"".concat(r,"--h3"),h4:"".concat(r,"--h4"),h5:"".concat(r,"--h5"),h6:"".concat(r,"--h6")})}),d=e=>{var t;let{as:a,children:s,weight:r,type:d,lineClamp:h,className:p,style:u,dataQa:m,dataId:x,...g}=e,v=a||l[d]||"div",_=/^h[1-6]$/.test(v),f=(null==(t=d.match(/\d+/))?void 0:t[0])||1;return(0,n.jsx)(v,{className:(0,c.A)(i.heading,i.states[d],p),style:{...r?{fontWeight:"var(--font-weight-".concat(r,")")}:void 0,...h?{WebkitLineClamp:h,lineClamp:h,...o.l}:void 0,...u},role:_?null:"heading","aria-level":_?null:f,...g,"data-id":x,"data-qa":m,children:s})};d.displayName="Heading"}}]);