(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6718],{10857:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={DecodeError:function(){return y},MiddlewareNotFoundError:function(){return b},MissingStaticPage:function(){return _},NormalizeError:function(){return g},PageNotFoundError:function(){return v},SP:function(){return h},ST:function(){return m},WEB_VITALS:function(){return a},execOnce:function(){return s},getDisplayName:function(){return u},getLocationOrigin:function(){return l},getURL:function(){return c},isAbsoluteUrl:function(){return i},isResSent:function(){return d},loadGetInitialProps:function(){return p},normalizeRepeatedSlashes:function(){return f},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 s(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let o=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,i=e=>o.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 f(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function p(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await p(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 h="u">typeof performance,m=h&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class y 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 _ 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 i},formatWithValidation:function(){return c},urlObjectKeys:function(){return l}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let s=r(66388)._(r(31393)),o=/https?|ftp|gopher|file/;function i(e){let{auth:t,hostname:r}=e,n=e.protocol||"",a=e.pathname||"",i=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(s.urlQueryToSearchParams(l)));let u=e.search||l&&`?${l}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||o.test(n))&&!1!==c?(c="//"+(c||""),a&&"/"!==a[0]&&(a="/"+a)):c||(c=""),i&&"#"!==i[0]&&(i="#"+i),u&&"?"!==u[0]&&(u="?"+u),a=a.replace(/[?#]/g,encodeURIComponent),u=u.replace("#","%23"),`${n}${c}${a}${u}${i}`}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function c(e){return i(e)}},21545:()=>{},29842:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"errorOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},31393:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={assign:function(){return i},searchParamsToUrlQuery:function(){return a},urlQueryToSearchParams:function(){return o}};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 s(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function o(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,s(e));else t.set(r,s(n));return t}function i(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}},33988:()=>{},37940:(e,t,r)=>{"use strict";r.d(t,{ms:()=>n.D,n5:()=>n.g,pm:()=>n.a,uu:()=>n.h});var n=r(52708)},41705:(e,t,r)=>{"use strict";r.d(t,{V:()=>d}),r(33988);var n=r(95155),a=r(12115),s=r(66216),o=r(63959),i=r(29722);let l=(0,r(7596).g)("expert-quote","sc"),c=Object.freeze({expertQuote:l,wrapper:`${l}__wrapper`,title:`${l}__title`,card:`${l}__card`,content:`${l}__content`,aboutText:`${l}__aboutText`,about:`${l}__about`,img:`${l}__img`,name:`${l}__name`,position:`${l}__position`,text:`${l}__text`}),u=(0,a.memo)(({className:e,quote:t})=>t?(0,n.jsx)("section",{className:(0,i.A)(c.wrapper,e),children:(0,n.jsxs)(s.m,{children:[(0,n.jsx)(o.D,{as:"h2",type:"display",weight:"bold",className:(0,i.A)(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,dangerouslySetInnerHTML:{__html:t.expert.position}})]})]}),(0,n.jsx)("p",{className:c.text,dangerouslySetInnerHTML:{__html:t.content}})]})})]})}):null);u.displayName="ExpertQuote";let d=u},61320:()=>{},62804:(e,t,r)=>{"use strict";r.d(t,{C:()=>_});var n=r(95155),a=r(12115),s=r(17294),o=r(76701),i=r(9683),l=r(29722),c=r(62849),u=r(26048),d=r(69679),f=r(56082);r(42879);var p=r(92681),h=r(34337),m=r(83640);r(21545);let y=(e,t,r,n)=>{(0,a.useEffect)(()=>(e.addEventListener(t,r),()=>e.removeEventListener(t,r)),[...n,t,e,r])},g=(0,m.g)("hint"),v=Object.freeze({hint:g,hintDialog:`${g}__dialog`,activator:`${g}__activator`,footer:`${g}__footer`,text:`${g}__text`,close:`${g}__close`,icon:`${g}__icon`,inverted:`${g}--inverted`}),_=(0,a.forwardRef)(({className:e,style:t,isVisible:r,position:m="top",heading:g,footer:_,children:b,text:x,withoutTail:$,inverted:j,dataQa:N,dataId:E,role:w="dialog",...P},S)=>{var k;let C,O=(0,a.useRef)(null),{refs:A,floatingStyles:T,context:L}=(0,o.we)({placement:m,middleware:[(0,s.cY)(12),(0,s.UU)({fallbackAxisSideDirection:"start",crossAxis:!1}),(0,s.BN)(),(0,i.UE)({element:O,padding:8})]}),{value:R,show:I,hide:M,toggle:U}=(0,h.u)(r),D=(C=(0,a.useRef)(null),(0,a.useEffect)(()=>{let e=e=>{var t;(null==(t=C.current)?void 0:t.contains(e.target))||M()};return window.addEventListener("click",e),()=>window.removeEventListener("click",e)},[]),C);if((0,a.useImperativeHandle)(S,()=>null==D?void 0:D.current),"u">typeof window){let e;y(window,"resize",(k=()=>L.update(),e=!1,function(...t){e||(k(...t),e=!0,setTimeout(()=>{e=!1},300))}),[]),y(window,"keyup",e=>{"Escape"===e.key&&M()},[M])}return(0,n.jsxs)("div",{ref:D,className:(0,l.A)(v.hint,e),style:t,children:[(0,n.jsx)("button",{type:"button",className:v.activator,ref:A.setReference,tabIndex:0,onClick:U,children:"function"==typeof b?b({show:I,hide:M,toggle:U,visible:R}):b}),R&&(0,n.jsxs)("div",{role:w,className:(0,l.A)(v.hintDialog,{[v.inverted]:j}),ref:A.setFloating,style:T,...P,"data-id":E,"data-qa":N,children:[g&&(0,n.jsx)(f.H,{dataQa:(0,p.g)(`${N}-heading`,!!N),className:"mb-3",as:"h6",type:"h6",children:g}),(0,n.jsx)("p",{"data-qa":(0,p.g)(`${N}-text`,!!N),className:(0,l.A)(v.text),children:x}),_&&(0,n.jsx)("div",{"data-qa":(0,p.g)(`${N}-footer`,!!N),className:(0,l.A)(v.footer),children:_}),(0,n.jsx)("button",{type:"button",tabIndex:-1,className:v.close,onClick:M,children:(0,n.jsx)(u.P,{"aria-hidden":"true",className:v.icon,style:{display:"inline-flex",fontSize:16},children:(0,n.jsx)(c.S,{})})}),!$&&(0,n.jsx)(o.ie,{width:16,ref:O,d:d.t,context:L,fill:j?"var(--color-white)":"var(--color-black-500)"})]})]})});_.displayName="Hint"},69470:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return s}});let n=r(10857),a=r(48512);function s(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}}},75330:(e,t,r)=>{"use strict";r.d(t,{S:()=>h});var n=r(95155),a=r(12115),s=r(29722),o=r(66424),i=r(86969);r(42879);var l=r(68224),c=r(70179),u=r(26048),d=r(83640);r(85713);let f=(0,d.g)("checkbox"),p=Object.freeze({checkbox:f,input:`${f}__input`,marker:`${f}__marker`,wrapper:`${f}__wrapper`,label:`${f}__label`,caption:`${f}__caption`,icon:`${f}__icon`,iconButton:`${f}__icon-button`,states:{error:`${f}--error`,disabled:`${f}--disabled`,inverted:`${f}--inverted`},sizes:{xs:`${f}--xs`,s:`${f}--s`,m:`${f}--m`},variants:{primary:`${f}--primary`,secondary:`${f}--secondary`}}),h=(0,a.forwardRef)(({value:e=!1,variant:t="primary",state:r="default",label:d,disabled:f=!1,caption:h,className:m,icon:y,withIcon:g=!1,size:v="m",style:_,inverted:b=!1,children:x,inputRef:$,dataQa:j,dataId:N,onChange:E,onIconClick:w,...P},S)=>{let[k,C]=function(e,t){let[r,n]=(0,a.useState)(e);return(0,a.useEffect)(()=>{(0,l.i)(t)&&n(t)},[JSON.stringify(t)]),[r,n]}(!1,e),O=(0,a.useId)(),A=x||d;return(0,n.jsxs)("label",{ref:S,htmlFor:O,"data-marker-label":"",className:(0,s.A)(m,p.checkbox,{[p.states.inverted]:b,[p.states.disabled]:f,[p.states.error]:"error"===r,[p.sizes[v]]:!0,[p.variants[t]]:!0}),style:_,"data-id":N,"data-qa":j,children:[(0,n.jsx)("input",{id:O,ref:$,value:String(k),className:p.input,type:"checkbox","aria-invalid":"error"===r,disabled:f,onChange:e=>{let t="string"==typeof k?!!k:!k;C(t),null==E||E(t,e)},...P}),(0,n.jsx)("span",{className:p.marker,children:(0,n.jsx)(c.C,{type:"checkbox",checked:k,inverted:b,state:r,disabled:f})}),A&&(0,n.jsxs)("span",{className:p.wrapper,children:[(0,n.jsx)("span",{className:(0,s.A)(p.label),children:A}),h&&(0,n.jsx)(i.C,{className:p.caption,withoutIcon:!0,children:h})]}),g&&(0,n.jsx)("button",{type:"button",className:(0,s.A)(p.iconButton),onClick:f?void 0:w,children:(0,n.jsx)(u.P,{className:(0,s.A)(p.icon),children:y?(0,n.jsx)(n.Fragment,{children:y}):(0,n.jsx)(o.S,{})})})]})});h.displayName="Checkbox"},85713:()=>{},97037:(e,t,r)=>{"use strict";r.d(t,{T:()=>u});var n=r(95155),a=r(12115),s=r(29722);r(42879);var o=r(34337),i=r(83640);r(61320);let l=(0,i.g)("textarea"),c={root:l,container:`${l}__container`,field:`${l}__field`,labelWrapper:`${l}__label-wrapper`,label:`${l}__label`,captionWrapper:`${l}__caption-wrapper`,caption:`${l}__caption`,counter:`${l}__counter`,states:{primary:`${l}--primary`,secondary:`${l}--secondary`,error:`${l}--error`,success:`${l}--success`,s:`${l}--s`,m:`${l}--m`,l:`${l}--l`,focused:`${l}--focused`,active:`${l}--active`,disabled:`${l}--disabled`,hasLabel:`${l}--has-label`,hasCaption:`${l}--has-caption`}},u=(0,a.forwardRef)(({disabled:e,state:t,size:r="m",variant:i="primary",label:l,className:u,style:d,value:f="",rows:p=1,maxLength:h,caption:m,counter:y,placeholder:g,autoResize:v=!1,hasCaption:_=!1,dataQa:b,dataId:x,onChange:$,onFocus:j,onBlur:N,...E},w)=>{var P;let{value:S,show:k,hide:C}=(0,o.u)(),O=(0,a.useRef)(null),A="s"!==r;P=O.current,(0,a.useEffect)(()=>{P&&(v&&f?(P.style.height="auto",P.style.height=P.scrollHeight+"px"):P.style.height="")},[v,P,f]);let T=(0,a.useMemo)(()=>!S||f||"s"!==r||g?S?g:"s"===r?l:g:l,[g,f,r,S,l]),L=(0,a.useMemo)(()=>p<1?1:p>5?5:p,[p]),R=(0,a.useMemo)(()=>h&&h>0?h:void 0,[h]),I=(0,a.useMemo)(()=>y&&!!R&&R>0&&`${f.length}/${R}`,[y,R,f.length]);return(0,n.jsxs)("div",{className:(0,s.A)(u,c.root),style:d,ref:w,"data-qa":b,"data-id":x,children:[(0,n.jsx)("div",{className:(0,s.A)(c.container,c.states[i],c.states[r],{[c.states.focused]:S,[c.states.error]:"error"===t,[c.states.success]:"success"===t,[c.states.disabled]:!!e}),children:(0,n.jsxs)("label",{className:c.labelWrapper,children:[A&&(0,n.jsx)("span",{className:(0,s.A)(c.label,{[c.states.active]:S||!!f||!!g}),children:l}),(0,n.jsx)("textarea",{...E,"aria-disabled":e?"true":void 0,"aria-invalid":"error"===t?"true":void 0,className:(0,s.A)(c.field,{[c.states.hasLabel]:A}),rows:L,maxLength:R,ref:O,value:f,placeholder:T,disabled:e,onFocus:e=>{k(),null==j||j(e)},onBlur:e=>{C(),null==N||N(e)},onChange:e=>{null==$||$(e.target.value||"",e)}})]})}),(_||m||I)&&(0,n.jsxs)("div",{className:c.captionWrapper,children:[(_||m)&&(0,n.jsx)("div",{className:(0,s.A)(c.caption,{[c.states.error]:"error"===t,[c.states.success]:"success"===t,[c.states.disabled]:!!e}),children:m}),I&&(0,n.jsx)("div",{className:c.counter,children:I})]})]})});u.displayName="Textarea"},98500:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={default:function(){return g},useLinkStatus:function(){return _}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let s=r(66388),o=r(95155),i=s._(r(12115)),l=r(20091),c=r(22909),u=r(21172),d=r(10857),f=r(70127);r(47284);let p=r(74616),h=r(24972),m=r(69470),y=r(77565);function g(e){var t,n;let a,s,g,[_,b]=(0,i.useOptimistic)(h.IDLE_LINK_STATUS),x=(0,i.useRef)(null),{href:$,as:j,children:N,prefetch:E=null,passHref:w,replace:P,shallow:S,scroll:k,onClick:C,onMouseEnter:O,onTouchStart:A,legacyBehavior:T=!1,onNavigate:L,transitionTypes:R,ref:I,unstable_dynamicOnHover:M,...U}=e;a=N,T&&("string"==typeof a||"number"==typeof a)&&(a=(0,o.jsx)("a",{children:a}));let D=i.default.useContext(c.AppRouterContext),F=!1!==E,B=!1!==E?null===(n=E)||"auto"===n?y.FetchStrategy.PPR:y.FetchStrategy.Full:y.FetchStrategy.PPR,z="string"==typeof(t=j||$)?t:(0,l.formatUrl)(t);if(T){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});s=i.default.Children.only(a)}let q=T?s&&"object"==typeof s&&s.ref:I,K=i.default.useCallback(e=>(null!==D&&(x.current=(0,h.mountLinkInstance)(e,z,D,B,F,b)),()=>{x.current&&((0,h.unmountLinkForCurrentNavigation)(x.current),x.current=null),(0,h.unmountPrefetchableInstance)(e)}),[F,z,D,B,b]),W={ref:(0,u.useMergedRef)(K,q),onClick(e){T||"function"!=typeof C||C(e),T&&s.props&&"function"==typeof s.props.onClick&&s.props.onClick(e),!D||e.defaultPrevented||function(e,t,n,a,s,o,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(),o){let e=!1;if(o({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:d}=r(70156);i.default.startTransition(()=>{d(t,a?"replace":"push",!1===s?p.ScrollBehavior.NoScroll:p.ScrollBehavior.Default,n.current,l)})}}(e,z,x,P,k,L,R)},onMouseEnter(e){T||"function"!=typeof O||O(e),T&&s.props&&"function"==typeof s.props.onMouseEnter&&s.props.onMouseEnter(e),D&&F&&(0,h.onNavigationIntent)(e.currentTarget,!0===M)},onTouchStart:function(e){T||"function"!=typeof A||A(e),T&&s.props&&"function"==typeof s.props.onTouchStart&&s.props.onTouchStart(e),D&&F&&(0,h.onNavigationIntent)(e.currentTarget,!0===M)}};return(0,d.isAbsoluteUrl)(z)?W.href=z:T&&!w&&("a"!==s.type||"href"in s.props)||(W.href=(0,f.addBasePath)(z)),g=T?i.default.cloneElement(s,W):(0,o.jsx)("a",{...U,...W,children:a}),(0,o.jsx)(v.Provider,{value:_,children:g})}r(29842);let v=(0,i.createContext)(h.IDLE_LINK_STATUS),_=()=>(0,i.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)}}]);