(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8052],{10857:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={DecodeError:function(){return _},MiddlewareNotFoundError:function(){return b},MissingStaticPage:function(){return y},NormalizeError:function(){return g},PageNotFoundError:function(){return v},SP:function(){return f},ST:function(){return m},WEB_VITALS:function(){return a},execOnce:function(){return o},getDisplayName:function(){return u},getLocationOrigin:function(){return l},getURL:function(){return c},isAbsoluteUrl:function(){return s},isResSent:function(){return d},loadGetInitialProps:function(){return h},normalizeRepeatedSlashes:function(){return p},stringifyError:function(){return x}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});let a=["CLS","FCP","FID","INP","LCP","TTFB"];function o(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let i=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,s=e=>i.test(e);function l(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function c(){let{href:e}=window.location,t=l();return e.substring(t.length)}function u(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function d(e){return e.finished||e.headersSent}function p(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function h(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await h(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&d(r))return n;if(!n)throw Object.defineProperty(Error(`"${u(e)}.getInitialProps()" should resolve to an object. But found "${n}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return n}let f="u">typeof performance,m=f&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class _ extends Error{}class g extends Error{}class v extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class y extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class b extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function x(e){return JSON.stringify({message:e.message,stack:e.stack})}},17436:(e,t,r)=>{"use strict";r.d(t,{td:()=>n});let n=(e,t,r,n)=>{let a=[t,r,n];return a[e%100>4&&e%100<20?2:[2,0,1,1,1,2][e%10<5?e%10:5]]||a[0]}},20091:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={formatUrl:function(){return s},formatWithValidation:function(){return c},urlObjectKeys:function(){return l}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let o=r(66388)._(r(31393)),i=/https?|ftp|gopher|file/;function s(e){let{auth:t,hostname:r}=e,n=e.protocol||"",a=e.pathname||"",s=e.hash||"",l=e.query||"",c=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?c=t+e.host:r&&(c=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(c+=":"+e.port)),l&&"object"==typeof l&&(l=String(o.urlQueryToSearchParams(l)));let u=e.search||l&&`?${l}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||i.test(n))&&!1!==c?(c="//"+(c||""),a&&"/"!==a[0]&&(a="/"+a)):c||(c=""),s&&"#"!==s[0]&&(s="#"+s),u&&"?"!==u[0]&&(u="?"+u),a=a.replace(/[?#]/g,encodeURIComponent),u=u.replace("#","%23"),`${n}${c}${a}${u}${s}`}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function c(e){return s(e)}},22307:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Support:()=>w}),r(89190);var n=r(95155),a=r(66216),o=r(63959),i=r(29722),s=r(57349),l=r(24691),c=r(17807),u=r(20197),d=r(39670),p=r(7596),h=r(12115);let f=(0,p.g)("support","sc"),m=Object.freeze({support:f,title:`${f}__title`,cardsContainer:`${f}__cards-container`}),_="cb-support",g=(0,p.g)("support-app-card","sc"),v=Object.freeze({supportAppCard:g,textWrapper:`${g}__text-wrapper`,imageContainer:`${g}__image-container`,title:`${g}__title`,description:`${g}__description`,button:`${g}__button`,imageWrapper:`${g}__image-wrapper`,image:`${g}__image`}),y=({title:e,linkUrl:t,s3Assets:r,description:a})=>{let o,i=(0,c.nu)("s"),p=(0,d.u)({target:d.d,fallbackHref:t}),h=(o=(0,d.e)())?(0,d.g)(o,window.location.pathname)??void 0:void 0,f=`${r}/mp-assets/widgets/SupportBlock/qr-code-mobile-app`;return(0,n.jsxs)("div",{className:v.supportAppCard,onClick:()=>{if(!i)return;let r=p.getHref()??t;(0,u.h)({eventCategory:_,eventActionType:u.D.banner,eventActionText:e,eventLabel:r}),window.open(r,"_blank","noreferrer")},children:[(0,n.jsx)(l.$,{className:v.button,iconLeft:(0,n.jsx)(s.K,{size:24}),shape:"circle-icon",size:"xs"}),(0,n.jsxs)("div",{className:v.textWrapper,children:[(0,n.jsx)("div",{className:v.title,children:e}),!!a&&(0,n.jsx)("div",{className:v.description,children:a})]}),(0,n.jsx)("div",{className:v.imageContainer,children:(0,n.jsxs)("picture",{className:v.imageWrapper,children:[(0,n.jsx)("source",{media:"(max-width: 767px)",srcSet:`${r}/mp-assets/widgets/SupportBlock/mobile-app.webp 1x, ${r}/mp-assets/widgets/SupportBlock/mobile-app@2x.webp 2x`}),(0,n.jsx)("img",{className:v.image,loading:"lazy",src:h??`${f}.webp`,srcSet:h?void 0:`${f}.webp 1x, ${f}@2x.webp 2x`})]})})]})},b=(0,p.g)("support-phone-card","sc"),x=Object.freeze({supportPhoneCard:b,contacts:`${b}__contacts`,contactsExtra:`${b}__contacts-extra`,phone:`${b}__phone`,phonesExtra:`${b}__phones-extra`,phoneExtra:`${b}__phone-extra`,chat:`${b}__chat`,text:`${b}__text`,image:`${b}__image`}),$=({phones:e,phonesExtra:t,description:r,s3Assets:a})=>{let o=(0,h.useCallback)(()=>{var e,t,r;null==(r=null==(t=null==(e=null==window?void 0:window.supportWidget)?void 0:e.craftTalk)?void 0:t.open)||r.call(t),(0,u.h)({eventCategory:_,eventActionType:u.D.button,eventActionText:"messenger",eventLabel:"chat"})},[]),i=e=>{let t=e.replace(/[\s-]/g,"");(0,u.h)({eventCategory:_,eventActionType:u.D.link,eventActionText:"phone",eventLabel:t})};return(0,n.jsxs)("div",{className:x.supportPhoneCard,children:[(0,n.jsxs)("div",{className:x.contacts,children:[e.map(e=>(0,n.jsx)("a",{className:x.phone,href:e.href,onClick:()=>i(e.label),children:e.label},e.label)),(0,n.jsx)("span",{className:x.chat,onClick:o,children:"Онлайн чат"})]}),(null==t?void 0:t.length)>0&&(0,n.jsxs)("div",{className:x.contactsExtra,children:[(0,n.jsx)("p",{className:x.text,children:"Дополнительные телефоны"}),(0,n.jsx)("div",{className:x.phonesExtra,children:t.map(e=>(0,n.jsx)("a",{className:x.phoneExtra,href:e.href,onClick:()=>i(e.label),children:e.label},e.label))})]}),(0,n.jsx)("p",{className:x.text,children:r}),(0,n.jsx)("img",{className:x.image,src:`${a}/mp-assets/widgets/SupportBlock/bannerSupportGirl.webp`,loading:"lazy"})]})},j=({className:e,phoneCard:t,appCard:r,s3Assets:s})=>t&&r?(0,n.jsx)("section",{className:(0,i.A)(m.support,e),children:(0,n.jsxs)(a.m,{children:[(0,n.jsx)(o.D,{as:"h2",type:"display",weight:"bold",className:m.title,children:"Поддержка"}),(0,n.jsxs)("div",{className:m.cardsContainer,children:[(0,n.jsx)($,{s3Assets:s,...t}),(0,n.jsx)(y,{s3Assets:s,...r})]})]})}):null;j.displayName="Support";let w=j},25032:(e,t,r)=>{"use strict";r.d(t,{C:()=>u});var n=r(95155),a=r(12115),o=r(29722),i=r(92681),s=r(83640);r(49735);let l=(0,s.g)("chips"),c=Object.freeze({chips:l,chip:`${l}__item`,icon:`${l}__icon`,iconLeft:`${l}__icon-left`,iconRight:`${l}__icon-right`,label:`${l}__label`,variants:{primary:`${l}--primary`,secondary:`${l}--secondary`,tertiary:`${l}--tertiary`},activeVariants:{primary:`${l}--active-primary`,secondary:`${l}--active-secondary`},sizes:{s:`${l}--s`,m:`${l}--m`,l:`${l}--l`},selected:`${l}--selected`,indicator:`${l}__indicator`,indicatorVariant:{red:`${l}__indicator--red`,orange:`${l}__indicator--orange`,green:`${l}__indicator--green`,purple:`${l}__indicator--purple`,purpleSecondary:`${l}__indicator--purple-secondary`,blue:`${l}__indicator--blue`,pink:`${l}__indicator--pink`}}),u=(0,a.forwardRef)(({as:e,chips:t,value:r,variant:s="primary",activeVariant:l="primary",multiple:u,clearable:d,size:p="m",className:h,style:f,dataQa:m,dataId:_,onChipClick:g,...v},y)=>{let[b,x]=(0,a.useState)(u?[]:void 0),$=(0,a.useRef)(null);(0,a.useImperativeHandle)(y,()=>({getRoot:()=>$.current,getSelectedChips:()=>b})),(0,a.useEffect)(()=>{u?x(Array.isArray(r)?r:[]):x(r)},[r,u]);let j=u||d,w=e||"div",N=e=>u&&Array.isArray(b)?b.includes(e):b===e,k=(e,t,r)=>{x(r),null==g||g(e,t,r)},S=(e,t)=>{if(u&&Array.isArray(b))if(N(e)){let r=b.filter(t=>t!==e);k(e,t,r)}else k(e,t,[...b,e]);else{let r=d&&N(e)?void 0:e;k(e,t,r)}};return(0,n.jsx)("div",{ref:$,className:(0,o.A)(h,c.chips),style:f,...v,"data-id":_,"data-qa":m,children:t.map((e,t)=>(({id:e,label:t,href:r,iconLeft:a,iconRight:u,indicator:d},h)=>{let f=N(e),_=void 0!==r;return(0,n.jsxs)(w,{href:r,className:(0,o.A)(c.chip,c.sizes[p],c.activeVariants[l],c.variants[s],[{[c.selected]:f}]),role:_?void 0:j?"checkbox":"radio","aria-checked":_?void 0:f,"aria-label":t,tabIndex:_?void 0:0,"data-qa":(0,i.g)(`${m}-item-${++h}`,!!m),onClick:t=>{S(e,t)},onKeyDown:_?void 0:t=>{("Enter"===t.key||" "===t.key)&&(t.preventDefault(),S(e,t))},children:[a&&(0,n.jsx)("span",{className:(0,o.A)(c.icon,c.iconLeft),"aria-hidden":"true",children:a}),(0,n.jsx)("span",{className:(0,o.A)(c.label),children:t}),d&&(0,n.jsx)("div",{className:(0,o.A)(c.indicator,c.indicatorVariant[d])}),u&&(0,n.jsx)("span",{className:(0,o.A)(c.icon,c.iconRight),"aria-hidden":"true",children:u})]},e)})(e,t))})});u.displayName="Chips"},28210:()=>{},29842:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"errorOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},29939:(e,t,r)=>{"use strict";r.d(t,{f:()=>u}),r(28210);var n=r(95155),a=r(66216),o=r(63959),i=r(29722);let s=(0,r(7596).g)("seo-text","sc"),l=Object.freeze({seoText:s,wrapper:`${s}__wrapper`,title:`${s}__title`,titleWrapper:`${s}__title-wrapper`,blockTitle:`${s}__block-title`,text:`${s}__text`,checkAll:`${s}__check-all`}),c=({blockTitle:e,content:t,sectionTitle:r,className:s})=>(0,n.jsx)("section",{className:(0,i.A)(l.seoText,s),children:(0,n.jsxs)(a.m,{children:[r&&(0,n.jsx)("div",{className:l.titleWrapper,children:(0,n.jsx)(o.D,{as:"h2",type:"hero",className:(0,i.A)(l.title),children:r})}),(0,n.jsxs)("div",{className:l.wrapper,children:[e&&(0,n.jsx)(o.D,{as:"h2",type:"h3",className:(0,i.A)(l.blockTitle),children:e}),(0,n.jsx)("div",{className:l.text,dangerouslySetInnerHTML:{__html:t||""}})]})]})});c.displayName="SeoText";let u=c},31393:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={assign:function(){return s},searchParamsToUrlQuery:function(){return a},urlQueryToSearchParams:function(){return i}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});function a(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function o(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function i(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,o(e));else t.set(r,o(n));return t}function s(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,n]of r.entries())e.append(t,n)}return e}},37940:(e,t,r)=>{"use strict";r.d(t,{ms:()=>n.D,n5:()=>n.g,pm:()=>n.a,uu:()=>n.h});var n=r(59896)},39041:()=>{},39670:(e,t,r)=>{"use strict";r.d(t,{W:()=>l,a:()=>s,d:()=>c,e:()=>x,g:()=>h,s:()=>g,u:()=>$});var n=r(54776),a=r(12115);let o=`screen and (min-width: ${n.LO.l.minWidth}px)`,i=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","agent_id"],s=Object.freeze({placement:"header",type:"link"}),l=(Object.freeze({placement:"footer",type:"link"}),Object.freeze({placement:"footer",type:"button"}),Object.freeze({placement:"footer",type:"banner"})),c=Object.freeze({placement:"support",type:"banner"}),u=(Object.freeze({placement:"support",type:"button"}),/^\{.*\}$/),d=e=>e.split(/[?#]/)[0].split("/").filter(Boolean),p=e=>{let[t]=d(e);return t?"vklady"===t?"vklady":"other":"mainpage"},h=(e,t)=>{var r;return(null==(r=e.qr)?void 0:r[p(t)])||null},f=null,m=new Set,_=()=>f,g=e=>{let t=e??null;t!==f&&(f=t,m.forEach(e=>e()))},v=e=>(m.add(e),()=>{m.delete(e)}),y=()=>()=>{},b=()=>null,x=(e=!0)=>(0,a.useSyncExternalStore)(e?v:y,e?_:b,b),$=({target:e,fallbackHref:t})=>{let r=x(!!e),n=()=>r&&e?(({config:e,target:t,pathname:r,search:n,referrer:a,isDesktop:o})=>{var s;let l,c=null==(s=e.links)?void 0:s[p(r)],h=o?null==c?void 0:c.desktop:null==c?void 0:c.mobile;if(!h)return null;let f=(e=>{try{return new URL(e)}catch{return null}})(h);if(!f)return null;Array.from(f.searchParams.entries()).filter(([,e])=>u.test(e)).map(([e])=>e).forEach(e=>f.searchParams.delete(e));let m=new URLSearchParams(n);return i.forEach(e=>{let t=m.get(e);t&&f.searchParams.set(e,t)}),a&&f.searchParams.set("referer",a),f.searchParams.set("value",`${(l=d(r)).length?l.join("_"):"mainpage"}_${t.placement}_${t.type}`),f.toString()})({config:r,target:e,...{pathname:window.location.pathname,search:window.location.search,referrer:document.referrer,isDesktop:window.matchMedia(o).matches}}):null,a=()=>n()??t;return{href:a(),getHref:a,onClick:e=>{let t=n();t&&e.currentTarget instanceof HTMLAnchorElement&&e.currentTarget.setAttribute("href",t)}}}},49735:()=>{},68990:(e,t,r)=>{"use strict";r.d(t,{a:()=>v});var n=r(95155),a=r(12115),o=r(76701),i=r(29722),s=r(94412),l=r(92681),c=r(83640),u=r(87978),d=r(78012),p=r(62849),h=r(26048);r(39041);let f=(0,c.g)("modal"),m=Object.freeze({modal:f,drawer:`${f}--drawer`,overlay:`${f}__overlay`,overlayDrawer:`${f}__overlay--drawer`,withoutFooter:`${f}--without-footer`,noContent:`${f}--no-content`,open:`${f}--open`,overlayOpen:`${f}__overlay--open`,height:{medium:`${f}--height-medium`,full:`${f}--height-full`},size:{s:`${f}--s`,m:`${f}--m`,l:`${f}--l`,xl:`${f}--xl`},header:`${f}__header`,headerText:`${f}__header-text`,headerTitle:`${f}__header-title`,headerSubtitle:`${f}__header-subtitle`,closeIcon:`${f}__close-icon`,backButton:`${f}__back-button`,backButtonText:`${f}__back-button-text`,headerStates:{centered:`${f}__header--centered`,withLongBtn:`${f}__header--with-long-btn`,defaultHeight:`${f}__header--default-height`},content:`${f}__content`,withoutPadding:`${f}__content--without-padding`,withScroll:`${f}__content--with-scroll`,footer:`${f}__footer`,footerContainer:`${f}__footer-container`,footerBtn:`${f}__footer-btn`,footerDescription:`${f}__footer-description`,divider:`${f}__divider`,dividerTop:`${f}__divider--top`,dividerBottom:`${f}__divider--bottom`}),_=({primaryBtnText:e,onPrimary:t,secondaryBtnText:r,onSecondary:a,thirdBtnText:o,onThird:s,description:c,children:d,noContent:p,dataQa:h})=>(0,n.jsxs)("div",{"data-qa":(0,l.g)(`${h}-footer`,!!h),className:(0,i.A)(m.footer,{[m.noContent]:p}),children:[!p&&(0,n.jsx)("div",{className:(0,i.A)(m.divider,m.dividerTop)}),d||(0,n.jsxs)("div",{className:m.footerContainer,children:[o&&(0,n.jsx)(u.a,{dataQa:(0,l.g)(`${h}-footer-third-btn`,!!h),label:o,variant:"secondary",size:"s",className:m.footerBtn,onClick:s}),r&&(0,n.jsx)(u.a,{dataQa:(0,l.g)(`${h}-footer-secondary-btn`,!!h),label:r,variant:"secondary",size:"s",className:m.footerBtn,onClick:a}),e&&(0,n.jsx)(u.a,{dataQa:(0,l.g)(`${h}-footer-primary-btn`,!!h),label:e,size:"s",className:m.footerBtn,onClick:t})]}),c&&(0,n.jsx)("span",{"data-qa":(0,l.g)(`${h}-footer-description`,!!h),className:m.footerDescription,children:c})]}),g=({text:e,title:t,subtitle:r,align:a="left",backBtnVariant:o,onBack:s,onClose:c,noContent:u,dataQa:f,withoutCloseBtn:_=!1})=>(0,n.jsxs)("div",{"data-qa":(0,l.g)(`${f}-header`,!!f),className:(0,i.A)(m.header,{[m.headerStates.centered]:"center"===a||!!o,[m.headerStates.withLongBtn]:"long"===o,[m.headerStates.defaultHeight]:!e&&!t&&!r}),children:[e&&(0,n.jsx)("span",{"data-qa":(0,l.g)(`${f}-header-text`,!!f),className:m.headerText,children:e}),t&&(0,n.jsx)("span",{"data-qa":(0,l.g)(`${f}-header-title`,!!f),className:m.headerTitle,children:t}),r&&(0,n.jsx)("span",{"data-qa":(0,l.g)(`${f}-header-subtitle`,!!f),className:m.headerSubtitle,children:r}),!_&&(0,n.jsx)("button",{"data-qa":(0,l.g)(`${f}-header-close`,!!f),type:"button",className:m.closeIcon,onClick:c,children:(0,n.jsx)(h.P,{children:(0,n.jsx)(p.S,{})})}),o&&(0,n.jsxs)("button",{"data-qa":(0,l.g)(`${f}-header-back`,!!f),type:"button",className:m.backButton,onClick:s,children:[(0,n.jsx)(h.P,{children:(0,n.jsx)(d.S,{})}),"long"===o&&(0,n.jsx)("span",{className:m.backButtonText,children:"Назад"})]}),!u&&(0,n.jsx)("div",{className:(0,i.A)(m.divider,m.dividerBottom)})]}),v=(0,a.forwardRef)(({header:e,footer:t,open:r=!1,size:c="m",variant:u="modal",noPadding:d=!1,height:p="full",onClose:h,children:f,className:v,style:y,dataQa:b,dataId:x,dismissDisabled:$=!1,...j},w)=>{let[N,k]=(0,a.useState)(!1),[S,C]=(0,a.useState)(!1),[A,T]=(0,a.useState)(null),E=(0,o.SV)([w,T]),P=(0,a.useRef)(null),O=(0,a.useRef)(null),L=(0,a.useCallback)(()=>{null!==P.current&&(cancelAnimationFrame(P.current),P.current=null),null!==O.current&&(clearTimeout(O.current),O.current=null)},[]);(0,a.useEffect)(()=>(L(),r?k(!0):(C(!1),O.current=setTimeout(()=>{O.current=null,k(!1)},300)),L),[r,L]),(0,a.useEffect)(()=>{if(r&&A)return P.current=requestAnimationFrame(()=>{P.current=requestAnimationFrame(()=>{P.current=null,C(!0)})}),()=>{null!==P.current&&(cancelAnimationFrame(P.current),P.current=null)}},[r,A]);let R=()=>{L(),C(!1),O.current=setTimeout(()=>{O.current=null,null==h||h(),k(!1)},300)},{context:z}=(0,o.we)({open:N,onOpenChange:e=>{e||R()}}),B=(0,o.s9)(z,{outsidePressEvent:"mousedown",outsidePress:!$,escapeKey:!$}),D=(0,o.It)(z,{role:"dialog"}),{getFloatingProps:I}=(0,o.bv)([B,D]),[F,M]=(0,a.useState)(!1),U=(0,a.useCallback)(e=>{e&&new ResizeObserver(()=>{M(e.scrollHeight>e.clientHeight)}).observe(e)},[]);return N?(0,n.jsx)(o.XF,{id:"drawer"===u?s.D:s.M,children:(0,n.jsx)(o.zR,{lockScroll:!0,style:{overflow:"hidden"},className:(0,i.A)(m.overlay,{[m.overlayOpen]:S,[m.overlayDrawer]:"drawer"===u}),children:(0,n.jsx)(o.s3,{context:z,children:(0,n.jsxs)("div",{ref:E,className:(0,i.A)(m.modal,m.size[c],m.height[p],{[m.drawer]:"drawer"===u,[m.withoutFooter]:!(null==t?void 0:t.primaryBtnText)&&!(null==t?void 0:t.children),[m.open]:S},v),style:y,...I(),...j,"data-id":x,"data-qa":b,children:[(0,n.jsx)(g,{...e,dataQa:b,noContent:!f,onClose:R}),f&&(0,n.jsx)("div",{"data-qa":(0,l.g)(`${b}-content`,!!b),ref:U,className:(0,i.A)(m.content,{[m.withoutFooter]:!(null==t?void 0:t.primaryBtnText)&&!(null==t?void 0:t.children),[m.withoutPadding]:d,[m.withScroll]:F}),children:f}),((null==t?void 0:t.primaryBtnText)||(null==t?void 0:t.children))&&(0,n.jsx)(_,{...t,dataQa:b,noContent:!f})]})})})},u):null});v.displayName="Modal"},69470:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return o}});let n=r(10857),a=r(48512);function o(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,a.hasBasePath)(r.pathname)}catch(e){return!1}}},89190:()=>{},98500:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={default:function(){return g},useLinkStatus:function(){return y}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let o=r(66388),i=r(95155),s=o._(r(12115)),l=r(20091),c=r(22909),u=r(21172),d=r(10857),p=r(70127);r(47284);let h=r(74616),f=r(24972),m=r(69470),_=r(77565);function g(e){var t,n;let a,o,g,[y,b]=(0,s.useOptimistic)(f.IDLE_LINK_STATUS),x=(0,s.useRef)(null),{href:$,as:j,children:w,prefetch:N=null,passHref:k,replace:S,shallow:C,scroll:A,onClick:T,onMouseEnter:E,onTouchStart:P,legacyBehavior:O=!1,onNavigate:L,transitionTypes:R,ref:z,unstable_dynamicOnHover:B,...D}=e;a=w,O&&("string"==typeof a||"number"==typeof a)&&(a=(0,i.jsx)("a",{children:a}));let I=s.default.useContext(c.AppRouterContext),F=!1!==N,M=!1!==N?null===(n=N)||"auto"===n?_.FetchStrategy.PPR:_.FetchStrategy.Full:_.FetchStrategy.PPR,U="string"==typeof(t=j||$)?t:(0,l.formatUrl)(t);if(O){if(a?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});o=s.default.Children.only(a)}let q=O?o&&"object"==typeof o&&o.ref:z,H=s.default.useCallback(e=>(null!==I&&(x.current=(0,f.mountLinkInstance)(e,U,I,M,F,b)),()=>{x.current&&((0,f.unmountLinkForCurrentNavigation)(x.current),x.current=null),(0,f.unmountPrefetchableInstance)(e)}),[F,U,I,M,b]),W={ref:(0,u.useMergedRef)(H,q),onClick(e){O||"function"!=typeof T||T(e),O&&o.props&&"function"==typeof o.props.onClick&&o.props.onClick(e),!I||e.defaultPrevented||function(e,t,n,a,o,i,l){{let c,{nodeName:u}=e.currentTarget;if("A"===u.toUpperCase()&&((c=e.currentTarget.getAttribute("target"))&&"_self"!==c||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which)||e.currentTarget.hasAttribute("download"))return;if(!(0,m.isLocalURL)(t)){a&&(e.preventDefault(),location.replace(t));return}if(e.preventDefault(),i){let e=!1;if(i({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:d}=r(70156);s.default.startTransition(()=>{d(t,a?"replace":"push",!1===o?h.ScrollBehavior.NoScroll:h.ScrollBehavior.Default,n.current,l)})}}(e,U,x,S,A,L,R)},onMouseEnter(e){O||"function"!=typeof E||E(e),O&&o.props&&"function"==typeof o.props.onMouseEnter&&o.props.onMouseEnter(e),I&&F&&(0,f.onNavigationIntent)(e.currentTarget,!0===B)},onTouchStart:function(e){O||"function"!=typeof P||P(e),O&&o.props&&"function"==typeof o.props.onTouchStart&&o.props.onTouchStart(e),I&&F&&(0,f.onNavigationIntent)(e.currentTarget,!0===B)}};return(0,d.isAbsoluteUrl)(U)?W.href=U:O&&!k&&("a"!==o.type||"href"in o.props)||(W.href=(0,p.addBasePath)(U)),g=O?s.default.cloneElement(o,W):(0,i.jsx)("a",{...D,...W,children:a}),(0,i.jsx)(v.Provider,{value:y,children:g})}r(29842);let v=(0,s.createContext)(f.IDLE_LINK_STATUS),y=()=>(0,s.useContext)(v);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},98731:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(44855);let a=(0,r(79143).Ht)(n.Ay,e=>(t,r,n)=>(n.revalidateOnFocus=!1,n.revalidateIfStale=!1,n.revalidateOnReconnect=!1,n.refreshInterval=0,e(t,r,n)))}}]);