(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1705,9430],{10739:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(63806),a=r(54468),o=r(93960);function i(e,t){var r=t.start,i=t.end;return(0,o.A)(2,arguments),function(e){var t,r;if((0,o.A)(1,arguments),e&&"function"==typeof e.forEach)t=e;else{if("object"!==(0,n.A)(e)||null===e)return new Date(NaN);t=Array.prototype.slice.call(e)}return t.forEach(function(e){var t=(0,a.A)(e);(void 0===r||r>t||isNaN(t.getDate()))&&(r=t)}),r||new Date(NaN)}([function(e){var t,r;if((0,o.A)(1,arguments),e&&"function"==typeof e.forEach)t=e;else{if("object"!==(0,n.A)(e)||null===e)return new Date(NaN);t=Array.prototype.slice.call(e)}return t.forEach(function(e){var t=(0,a.A)(e);(void 0===r||r<t||isNaN(Number(t)))&&(r=t)}),r||new Date(NaN)}([e,r]),i])}},10857:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={DecodeError:function(){return g},MiddlewareNotFoundError:function(){return N},MissingStaticPage:function(){return A},NormalizeError:function(){return v},PageNotFoundError:function(){return y},SP:function(){return h},ST:function(){return m},WEB_VITALS:function(){return a},execOnce:function(){return o},getDisplayName:function(){return c},getLocationOrigin:function(){return u},getURL:function(){return l},isAbsoluteUrl:function(){return s},isResSent:function(){return f},loadGetInitialProps:function(){return p},normalizeRepeatedSlashes:function(){return d},stringifyError:function(){return _}};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 u(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function l(){let{href:e}=window.location,t=u();return e.substring(t.length)}function c(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function f(e){return e.finished||e.headersSent}function d(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&&f(r))return n;if(!n)throw Object.defineProperty(Error(`"${c(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 g extends Error{}class v extends Error{}class y extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class A extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class N extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function _(e){return JSON.stringify({message:e.message,stack:e.stack})}},11856:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(54468),a=r(93960);function o(e){(0,a.A)(1,arguments);var t=(0,n.A)(e);return"Invalid Date"===String(new Date(t))?NaN:!function(e){(0,a.A)(1,arguments);var t=(0,n.A)(e).getFullYear();return t%400==0||t%4==0&&t%100!=0}(t)?365:366}},16277:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(34279),a=r(54468),o=r(93960);function i(e,t){(0,o.A)(2,arguments);var r=(0,a.A)(e),i=(0,n.A)(t);return isNaN(i)?new Date(NaN):(i&&r.setDate(r.getDate()+i),r)}},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 l},urlObjectKeys:function(){return u}};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||"",u=e.query||"",l=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?l=t+e.host:r&&(l=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(l+=":"+e.port)),u&&"object"==typeof u&&(u=String(o.urlQueryToSearchParams(u)));let c=e.search||u&&`?${u}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||i.test(n))&&!1!==l?(l="//"+(l||""),a&&"/"!==a[0]&&(a="/"+a)):l||(l=""),s&&"#"!==s[0]&&(s="#"+s),c&&"?"!==c[0]&&(c="?"+c),a=a.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),`${n}${l}${a}${c}${s}`}let u=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function l(e){return s(e)}},21545:()=>{},26664:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(54468),a=r(93960);function o(e){(0,a.A)(1,arguments);var t=(0,n.A)(e),r=t.getFullYear();return t.setFullYear(r+1,0,0),t.setHours(23,59,59,999),t}},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 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}},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)},40700:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(94911),a=r(54468),o=r(93960);function i(e){(0,o.A)(1,arguments);var t=(0,a.A)(e);return t.setHours(0,0,0,0),t}function s(e,t){(0,o.A)(2,arguments);var r=i(e),a=i(t);return Math.round((r.getTime()-(0,n.A)(r)-(a.getTime()-(0,n.A)(a)))/864e5)}},41705:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ExpertQuote:()=>f}),r(33988);var n=r(95155),a=r(12115),o=r(66216),i=r(63959),s=r(29722);let u=(0,r(7596).g)("expert-quote","sc"),l=Object.freeze({expertQuote:u,wrapper:`${u}__wrapper`,title:`${u}__title`,card:`${u}__card`,content:`${u}__content`,aboutText:`${u}__aboutText`,about:`${u}__about`,img:`${u}__img`,name:`${u}__name`,position:`${u}__position`,text:`${u}__text`}),c=(0,a.memo)(({className:e,quote:t})=>t?(0,n.jsx)("section",{className:(0,s.A)(l.wrapper,e),children:(0,n.jsxs)(o.m,{children:[(0,n.jsx)(i.D,{as:"h2",type:"display",weight:"bold",className:(0,s.A)(l.title,"mb-6"),children:"Мнение эксперта"}),(0,n.jsx)("div",{className:l.card,children:(0,n.jsxs)("div",{className:l.content,children:[(0,n.jsxs)("div",{className:l.about,children:[t.expert.photo&&(0,n.jsx)("a",{href:t.expert.url,children:(0,n.jsx)("div",{className:l.img,style:{backgroundImage:`url(${t.expert.photo})`}})}),(0,n.jsxs)("div",{className:l.aboutText,children:[(0,n.jsx)("a",{href:t.expert.url,className:l.name,children:t.expert.name}),(0,n.jsx)("p",{className:l.position,dangerouslySetInnerHTML:{__html:t.expert.position}})]})]}),(0,n.jsx)("p",{className:l.text,dangerouslySetInnerHTML:{__html:t.content}})]})})]})}):null);c.displayName="ExpertQuote";let f=c},52863:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var n=r(63806),a=r(16277),o=r(34279),i=r(54468),s=r(93960);function u(e,t){if((0,s.A)(2,arguments),!t||"object"!==(0,n.A)(t))return new Date(NaN);var r=t.years?(0,o.A)(t.years):0,u=t.months?(0,o.A)(t.months):0,l=t.weeks?(0,o.A)(t.weeks):0,c=t.days?(0,o.A)(t.days):0,f=t.hours?(0,o.A)(t.hours):0,d=t.minutes?(0,o.A)(t.minutes):0,p=t.seconds?(0,o.A)(t.seconds):0,h=(0,i.A)(e),m=u||r?function(e,t){(0,s.A)(2,arguments);var r=(0,i.A)(e),n=(0,o.A)(t);if(isNaN(n))return new Date(NaN);if(!n)return r;var a=r.getDate(),u=new Date(r.getTime());return(u.setMonth(r.getMonth()+n+1,0),a>=u.getDate())?u:(r.setFullYear(u.getFullYear(),u.getMonth(),a),r)}(h,u+12*r):h;return new Date((c||l?(0,a.A)(m,c+7*l):m).getTime()+1e3*(p+60*(d+60*f)))}},55477:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(54468),a=r(93960);function o(e){(0,a.A)(1,arguments);var t=e||{},r=(0,n.A)(t.start),o=(0,n.A)(t.end).getTime();if(!(r.getTime()<=o))throw RangeError("Invalid interval");var i=[];for(r.setHours(0,0,0,0),r.setMonth(0,1);r.getTime()<=o;)i.push((0,n.A)(r)),r.setFullYear(r.getFullYear()+1);return i}},62804:(e,t,r)=>{"use strict";r.d(t,{C:()=>A});var n=r(95155),a=r(12115),o=r(17294),i=r(76701),s=r(9683),u=r(29722),l=r(62849),c=r(26048),f=r(69679),d=r(56082);r(42879);var p=r(92681),h=r(34337),m=r(83640);r(21545);let g=(e,t,r,n)=>{(0,a.useEffect)(()=>(e.addEventListener(t,r),()=>e.removeEventListener(t,r)),[...n,t,e,r])},v=(0,m.g)("hint"),y=Object.freeze({hint:v,hintDialog:`${v}__dialog`,activator:`${v}__activator`,footer:`${v}__footer`,text:`${v}__text`,close:`${v}__close`,icon:`${v}__icon`,inverted:`${v}--inverted`}),A=(0,a.forwardRef)(({className:e,style:t,isVisible:r,position:m="top",heading:v,footer:A,children:N,text:_,withoutTail:b,inverted:x,dataQa:E,dataId:j,role:w="dialog",...P},T)=>{var $;let S,O=(0,a.useRef)(null),{refs:D,floatingStyles:k,context:C}=(0,i.we)({placement:m,middleware:[(0,o.cY)(12),(0,o.UU)({fallbackAxisSideDirection:"start",crossAxis:!1}),(0,o.BN)(),(0,s.UE)({element:O,padding:8})]}),{value:L,show:R,hide:I,toggle:M}=(0,h.u)(r),F=(S=(0,a.useRef)(null),(0,a.useEffect)(()=>{let e=e=>{var t;(null==(t=S.current)?void 0:t.contains(e.target))||I()};return window.addEventListener("click",e),()=>window.removeEventListener("click",e)},[]),S);if((0,a.useImperativeHandle)(T,()=>null==F?void 0:F.current),"u">typeof window){let e;g(window,"resize",($=()=>C.update(),e=!1,function(...t){e||($(...t),e=!0,setTimeout(()=>{e=!1},300))}),[]),g(window,"keyup",e=>{"Escape"===e.key&&I()},[I])}return(0,n.jsxs)("div",{ref:F,className:(0,u.A)(y.hint,e),style:t,children:[(0,n.jsx)("button",{type:"button",className:y.activator,ref:D.setReference,tabIndex:0,onClick:M,children:"function"==typeof N?N({show:R,hide:I,toggle:M,visible:L}):N}),L&&(0,n.jsxs)("div",{role:w,className:(0,u.A)(y.hintDialog,{[y.inverted]:x}),ref:D.setFloating,style:k,...P,"data-id":j,"data-qa":E,children:[v&&(0,n.jsx)(d.H,{dataQa:(0,p.g)(`${E}-heading`,!!E),className:"mb-3",as:"h6",type:"h6",children:v}),(0,n.jsx)("p",{"data-qa":(0,p.g)(`${E}-text`,!!E),className:(0,u.A)(y.text),children:_}),A&&(0,n.jsx)("div",{"data-qa":(0,p.g)(`${E}-footer`,!!E),className:(0,u.A)(y.footer),children:A}),(0,n.jsx)("button",{type:"button",tabIndex:-1,className:y.close,onClick:I,children:(0,n.jsx)(c.P,{"aria-hidden":"true",className:y.icon,style:{display:"inline-flex",fontSize:16},children:(0,n.jsx)(l.S,{})})}),!b&&(0,n.jsx)(i.ie,{width:16,ref:O,d:f.t,context:C,fill:x?"var(--color-white)":"var(--color-black-500)"})]})]})});A.displayName="Hint"},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}}},98500:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={default:function(){return v},useLinkStatus:function(){return A}};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)),u=r(20091),l=r(22909),c=r(21172),f=r(10857),d=r(70127);r(47284);let p=r(74616),h=r(24972),m=r(69470),g=r(77565);function v(e){var t,n;let a,o,v,[A,N]=(0,s.useOptimistic)(h.IDLE_LINK_STATUS),_=(0,s.useRef)(null),{href:b,as:x,children:E,prefetch:j=null,passHref:w,replace:P,shallow:T,scroll:$,onClick:S,onMouseEnter:O,onTouchStart:D,legacyBehavior:k=!1,onNavigate:C,transitionTypes:L,ref:R,unstable_dynamicOnHover:I,...M}=e;a=E,k&&("string"==typeof a||"number"==typeof a)&&(a=(0,i.jsx)("a",{children:a}));let F=s.default.useContext(l.AppRouterContext),U=!1!==j,B=!1!==j?null===(n=j)||"auto"===n?g.FetchStrategy.PPR:g.FetchStrategy.Full:g.FetchStrategy.PPR,z="string"==typeof(t=x||b)?t:(0,u.formatUrl)(t);if(k){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 H=k?o&&"object"==typeof o&&o.ref:R,Y=s.default.useCallback(e=>(null!==F&&(_.current=(0,h.mountLinkInstance)(e,z,F,B,U,N)),()=>{_.current&&((0,h.unmountLinkForCurrentNavigation)(_.current),_.current=null),(0,h.unmountPrefetchableInstance)(e)}),[U,z,F,B,N]),q={ref:(0,c.useMergedRef)(Y,H),onClick(e){k||"function"!=typeof S||S(e),k&&o.props&&"function"==typeof o.props.onClick&&o.props.onClick(e),!F||e.defaultPrevented||function(e,t,n,a,o,i,u){{let l,{nodeName:c}=e.currentTarget;if("A"===c.toUpperCase()&&((l=e.currentTarget.getAttribute("target"))&&"_self"!==l||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:f}=r(70156);s.default.startTransition(()=>{f(t,a?"replace":"push",!1===o?p.ScrollBehavior.NoScroll:p.ScrollBehavior.Default,n.current,u)})}}(e,z,_,P,$,C,L)},onMouseEnter(e){k||"function"!=typeof O||O(e),k&&o.props&&"function"==typeof o.props.onMouseEnter&&o.props.onMouseEnter(e),F&&U&&(0,h.onNavigationIntent)(e.currentTarget,!0===I)},onTouchStart:function(e){k||"function"!=typeof D||D(e),k&&o.props&&"function"==typeof o.props.onTouchStart&&o.props.onTouchStart(e),F&&U&&(0,h.onNavigationIntent)(e.currentTarget,!0===I)}};return(0,f.isAbsoluteUrl)(z)?q.href=z:k&&!w&&("a"!==o.type||"href"in o.props)||(q.href=(0,d.addBasePath)(z)),v=k?s.default.cloneElement(o,q):(0,i.jsx)("a",{...M,...q,children:a}),(0,i.jsx)(y.Provider,{value:A,children:v})}r(29842);let y=(0,s.createContext)(h.IDLE_LINK_STATUS),A=()=>(0,s.useContext)(y);("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)}}]);