(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2158],{9219:(e,a,t)=>{"use strict";t.d(a,{Q:()=>p});var l=t(37876),c=t(14232),n=t(69241),r=t(68086),s=t(12509),i=t(13758),o=t(9789);t(31127);let d=(0,o.g)("input-range"),u=Object.freeze({inputRange:d,rangeSlider:"".concat(d,"__range-slider")}),p=(0,c.forwardRef)((e,a)=>{let{value:t,defaultValue:o,onChange:d,min:p=0,max:m=100,step:h=1,disabled:g,ticks:_,tooltip:v,onBlur:b,className:x,inputClassname:f,sliderClassname:j,style:N,...y}=e,k=Object.hasOwn(e,"value"),[w,C]=(0,c.useState)(o),A=(0,c.useRef)(null),R=(0,c.useRef)(null),z=(0,c.useRef)(null),T=k?t:w,I="number"==typeof T?(0,s.r)(T,p,m):p,S=(0,c.useCallback)(e=>{k||C(e),null==d||d(e)},[k,d]),L=(0,c.useCallback)(e=>{S(e)},[S]),E=(0,c.useCallback)(e=>{"number"==typeof T&&S((0,s.r)(T,p,m)),null==b||b(e)},[S,m,p,b,T]),O=(0,c.useCallback)(e=>{var a;let[t]=e;S((0,s.r)(t,p,m)),null==(a=R.current)||a.focus()},[S,p,m]),B=(0,c.useCallback)(()=>{var e;null==(e=R.current)||e.blur()},[]);(0,c.useImperativeHandle)(a,()=>({rootRef:A.current,inputRef:R.current,sliderRef:z.current}),[]);let{dataQa:M,dataId:q,...W}=y;return(0,l.jsxs)("div",{ref:A,className:(0,n.A)(u.inputRange,x),style:N,"data-qa":M,"data-id":q,children:[(0,l.jsx)(s.I,{...W,ref:R,min:p,max:m,step:h,disabled:g,withoutControls:!0,value:T,onChange:L,onBlur:E,className:f,dataQa:(0,r.g)("".concat(M,"-input"),!!M),dataId:(0,r.g)("".concat(q,"-input"),!!q)}),(0,l.jsx)(i.R,{ref:z,min:p,max:m,step:h,disabled:g,legend:_,formatValue:v,values:[I],onChange:O,onFinalChange:B,className:(0,n.A)(u.rangeSlider,j),dataQa:(0,r.g)("".concat(M,"-slider"),!!M),dataId:(0,r.g)("".concat(q,"-slider"),!!q)})]})});p.displayName="InputRange"},13152:()=>{},25620:(e,a,t)=>{"use strict";t.d(a,{C:()=>w}),t(86912);var l=t(37876),c=t(14232),n=t(29589),r=t(40317),s=t(89287),i=t(52426),o=t(69241),d=t(44500),u=t(31557),p=t(10157),m=t(51391),h=t(57539);let g={display:"inline-block",lineHeight:0,backfaceVisibility:"hidden"},_={width:"1em",height:"1em",overflowClipMargin:"content-box",overflow:"hidden"},v=e=>c.createElement("svg",{width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.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 b(e){let{className:a,style:t,boxSize:l,size:n,onClick:r}=e;return c.createElement("span",{className:a,style:{...g,...r&&{cursor:"pointer"},...n&&{fontSize:"".concat(n,"px")},...l&&{width:"".concat(l,"px"),height:"".concat(l,"px"),display:"inline-flex",alignItems:"center",justifyContent:"center"},...t},...r?{role:"button",tabIndex:"0",onClick:r}:{}},c.createElement(v,{viewBox:"0 0 24 24",style:_}))}b.displayName="IconFdsArrowUpRightSmallO";let x=(0,h.g)("check-all","sc"),f=Object.freeze({wrapper:"".concat(x,"__wrapper"),link:"".concat(x,"__link"),icon:"".concat(x,"__icon"),iconGray:"".concat(x,"__icon--gray")}),j=e=>{let{children:a,className:t,linkClassName:c,iconGrayBackground:n,Link:r,event:s,href:i,dataLayerPush:d}=e,u=null!=r?r:m.N;return(0,l.jsx)("div",{className:(0,o.A)(f.wrapper,t),onClick:()=>{s&&d(s)},children:(0,l.jsxs)(u,{className:(0,o.A)(f.link,c),href:i,children:[a,(0,l.jsx)("span",{className:(0,o.A)(f.icon,{[f.iconGray]:n}),children:(0,l.jsx)(b,{size:24})})]})})},N=(0,h.g)("journal","sc"),y=Object.freeze({wrapper:"".concat(N,"__wrapper"),title:"".concat(N,"__title"),subtitle:"".concat(N,"__subtitle"),scrollableWrapper:"".concat(N,"__scrollable-wrapper"),chipsWrapper:"".concat(N,"__chips-wrapper"),slider:"".concat(N,"__slider"),sliderItem:"".concat(N,"__slider-item"),article:"".concat(N,"__article"),imgWrapper:"".concat(N,"__img-wrapper"),articleBody:"".concat(N,"__article-body"),articleTitle:"".concat(N,"__article-title"),articleDate:"".concat(N,"__article-date"),checkAllLink:"".concat(N,"__check-all-link")}),k="https://assets.finuslugi.ru/mp-assets/widgets/journal/default_post_image.png",w=e=>{var a;let{data:t,eventCategory:m="finkit-widgets-sc-journal",className:h}=e,g=(0,i.qF)("xl"),[_,v]=(0,c.useState)(!0),[b,x]=(0,c.useState)(0),f=Array.isArray(null==t?void 0:t.chips)?t.chips.filter(e=>{let{items:a}=e;return!!(null!=a&&a.length)}):[],N=f.some(e=>{let{id:a}=e;return a===b})?b:null==(a=f[0])?void 0:a.id,w=f.find(e=>{let{id:a}=e;return a===N}),C=(null==w?void 0:w.items)||[];if((0,c.useEffect)(()=>{v(!g)},[g]),!f.length)return null;let A=e=>{e.target.src!==k&&(e.target.src=k)};return(0,l.jsxs)("div",{className:(0,o.A)(y.wrapper,h),children:[(0,l.jsxs)(r.m,{children:[(0,l.jsx)("h2",{className:y.title,children:null==t?void 0:t.title}),(0,l.jsx)("div",{className:y.subtitle,children:null==t?void 0:t.description})]}),(0,l.jsx)("div",{className:y.scrollableWrapper,children:(0,l.jsx)(r.m,{children:(0,l.jsx)("div",{className:y.chipsWrapper,children:f.length>1&&(0,l.jsx)(n.C,{chips:f,value:N,variant:"secondary",size:_?"m":"l",onChipClick:e=>{var a;let t=(null==(a=f.find(a=>{let{id:t}=a;return t===e}))?void 0:a.label)||"";(0,d.h)({eventCategory:m,eventActionType:d.D.tab,eventActionText:t}),x(e)}})})})}),(0,l.jsxs)(r.m,{children:[(0,l.jsx)(s.A,{className:y.slider,options:{slidesPerView:"auto",spaceBetween:0,autoplay:{delay:3500,disableOnInteraction:!0},loop:!0},pagination:!0,navigation:!0,navigationVariant:"secondary",navigationSize:"s",children:C.map(e=>{let a,t;return(0,l.jsx)(s.D,{className:y.sliderItem,children:(0,l.jsxs)("a",{className:y.article,href:e.url,onClick:(a=e.title,t=e.url,()=>{(0,d.h)({eventCategory:m,eventActionType:d.D.block,eventActionText:a||"",eventLabel:t})}),children:[(0,l.jsx)("div",{className:y.imgWrapper,children:(0,l.jsx)("img",{src:e.img,alt:"изображение: ".concat(e.title),loading:"lazy",onError:A})}),(0,l.jsxs)("div",{className:y.articleBody,children:[(0,l.jsx)("div",{className:y.articleTitle,children:e.title}),(0,l.jsx)("div",{className:y.articleDate,children:(e=>{if(!e||!/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$/.test(e))return"";let a=new Date(e.replace(" ","T"));if(isNaN(a.getTime()))return"";let t=a.getDate(),l=a.getMonth();return"".concat(t," ").concat(["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"][l])})(e.dt)})]})]})},e.title)})},N),(0,l.jsx)(j,{href:(null==t?void 0:t.url)||"",event:{event:"data-event",eventCategory:m,eventAction:"link_".concat((0,p.t)((null==t?void 0:t.urlText)||"Показать все статьи")),eventLabel:(null==t?void 0:t.url)||""},dataLayerPush:u.d,className:y.checkAllLink,children:(null==t?void 0:t.urlText)||"Показать все статьи"})]})]})}},26027:(e,a,t)=>{"use strict";t.d(a,{v:()=>o});var l=t(37876),c=t(14232),n=t(69241),r=t(9789);t(85424);let s=(0,r.g)("tag"),i=Object.freeze({tag:s,label:"".concat(s,"__label"),icon:"".concat(s,"__icon"),rounded:"".concat(s,"--rounded"),variant:{primary:"".concat(s,"--primary"),secondary:"".concat(s,"--secondary"),outline:"".concat(s,"--outline"),tertiary:"".concat(s,"--tertiary"),pink:"".concat(s,"--pink"),red:"".concat(s,"--red"),green:"".concat(s,"--green"),blue:"".concat(s,"--blue"),orange:"".concat(s,"--orange"),purple:"".concat(s,"--purple"),violet:"".concat(s,"--violet"),blur:"".concat(s,"--blur")},size:{s:"".concat(s,"--s"),m:"".concat(s,"--m"),l:"".concat(s,"--l")},iconMargin:{left:"".concat(s,"__icon--left"),right:"".concat(s,"__icon--right")}}),o=(0,c.forwardRef)((e,a)=>{let{label:t,size:c="m",rounded:r,variant:s="primary",iconLeft:o,iconRight:d,onIconLeftClick:u,onIconRightClick:p,className:m,style:h,dataQa:g,dataId:_,...v}=e;return(0,l.jsx)(l.Fragment,{children:t&&(0,l.jsxs)("div",{ref:a,className:(0,n.A)(i.tag,i.variant[s],i.size[c],{[i.rounded]:r},m),style:h,...v,"data-id":_,"data-qa":g,children:[o&&(0,l.jsx)("button",{type:"button",className:(0,n.A)(i.icon,i.iconMargin.left,{[i.size.l]:"l"===c}),onClick:e=>null==u?void 0:u(e),disabled:!u,children:o}),(0,l.jsx)("span",{className:(0,n.A)(i.label,i.size[c]),children:t}),d&&(0,l.jsx)("button",{type:"button",className:(0,n.A)(i.icon,i.iconMargin.right,{[i.size.l]:"l"===c}),onClick:e=>null==p?void 0:p(e),disabled:!p,children:d})]})})});o.displayName="Tag"},31127:()=>{},36596:()=>{},45190:(e,a,t)=>{"use strict";t.d(a,{u:()=>n});var l=t(14232),c=t(21831);function n(e,a){let[t,n]=(0,l.useState)(e);return(0,l.useEffect)(()=>{(0,c.i)(a)&&n(a)},[JSON.stringify(a)]),[t,n]}},52286:()=>{},56386:(e,a,t)=>{"use strict";t.d(a,{l:()=>u});var l=t(37876),c=t(14232),n=t(69241);t(73044);var r=t(45190),s=t(24878),i=t(9789);t(13152);let o=(0,i.g)("toggle"),d=Object.freeze({toggle:o,wrapper:"".concat(o,"__wrapper"),secondaryLabel:"".concat(o,"__secondary-label"),input:"".concat(o,"__input"),marker:"".concat(o,"__marker"),label:"".concat(o,"__label"),caption:"".concat(o,"__caption"),states:{disabled:"".concat(o,"--disabled"),inverted:"".concat(o,"--inverted"),flipped:"".concat(o,"--flipped"),checked:"".concat(o,"--checked")}}),u=(0,c.forwardRef)((e,a)=>{let{value:t,onChange:i,label:o,secondaryLabel:u,disabled:p=!1,caption:m,inverted:h=!1,flipped:g=!1,className:_,style:v,inputRef:b,dataQa:x,dataId:f,...j}=e,[N,y]=(0,r.u)(null!=t&&t,t),k=(0,c.useId)();return(0,l.jsxs)("label",{className:(0,n.A)(_,d.toggle,{[d.states.disabled]:p,[d.states.inverted]:h,[d.states.flipped]:g,[d.states.checked]:N}),style:v,htmlFor:k,"data-marker-label":"",ref:a,"data-id":f,"data-qa":x,children:[(0,l.jsx)("input",{id:k,role:"switch","aria-checked":N,type:"checkbox",className:d.input,checked:N,onChange:e=>{y(e.target.checked),null==i||i(e.target.checked,e)},disabled:p,ref:b,...j}),(0,l.jsx)("span",{className:d.marker,children:(0,l.jsx)(s.C,{type:"toggle",checked:N,inverted:h,disabled:p})}),o&&u&&(0,l.jsx)("span",{className:d.secondaryLabel,children:u}),o&&(0,l.jsxs)("span",{className:d.wrapper,children:[(0,l.jsx)("span",{className:d.label,children:o}),m&&(0,l.jsx)("span",{className:d.caption,children:m})]})]})});u.displayName="Toggle"},62064:(e,a,t)=>{"use strict";t.d(a,{t:()=>d});var l=t(37876),c=t(14232),n=t(69241),r=t(68086),s=t(9789);t(36596);let i=(0,s.g)("tabs"),o=Object.freeze({tabs:i,tabWrapper:"".concat(i,"__tab-wrapper"),tab:"".concat(i,"__tab"),active:"".concat(i,"__tab--active"),activeLine:"".concat(i,"__activeLine")}),d=(0,c.forwardRef)((e,a)=>{var t;let{activeTabId:s,tabs:i,onTabChange:d,style:u,className:p,dataQa:m,dataId:h,...g}=e,[_,v]=(0,c.useState)(null!=s?s:null==(t=i[0])?void 0:t.id),[b,x]=(0,c.useState)(null),[f,j]=(0,c.useState)({width:0,left:0}),N=(0,c.useRef)(null);(0,c.useEffect)(()=>{b&&j({left:b.offsetLeft-2,width:b.offsetWidth+4})},[b]);let y=(0,c.useCallback)(e=>{var a;let t=N.current,l=(null==e?void 0:e.target).closest(".".concat(o.tab)),c=t.getBoundingClientRect(),n=l.getBoundingClientRect();t.scrollTo({left:n.left-c.left-4+(null!=(a=t.scrollLeft)?a:0),behavior:"smooth"})},[]);return(0,c.useImperativeHandle)(a,()=>N),(0,l.jsxs)("ul",{role:"tablist",ref:N,className:(0,n.A)(o.tabs,p),style:u,...g,"data-id":h,"data-qa":m,children:[i.map((e,a)=>{let t=e.id===_;return!e.disabled&&(0,l.jsx)("li",{role:"tab","aria-selected":e.id===_,"data-qa":(0,r.g)("".concat(m,"-tab-").concat(++a),!!m),className:o.tabWrapper,children:(0,l.jsx)("button",{type:"button",ref:t?x:null,className:(0,n.A)(o.tab,{[o.active]:t}),onClick:a=>((e,a)=>{y(a),v(e),d(e,a)})(e.id,a),children:e.label})},e.id)}),(0,l.jsx)("div",{className:(0,n.A)(o.activeLine),style:{left:f.left,width:f.width}})]})});d.displayName="Tabs"},74029:()=>{},85424:()=>{},86912:()=>{},86933:(e,a,t)=>{"use strict";t.d(a,{s:()=>m});var l=t(37876),c=t(14232),n=t(69241),r=t(97179),s=t(86346),i=t(24878),o=t(14595),d=t(9789);t(74029);let u=(0,d.g)("radio"),p=Object.freeze({radio:u,input:"".concat(u,"__input"),marker:"".concat(u,"__marker"),wrapper:"".concat(u,"__wrapper"),label:"".concat(u,"__label"),caption:"".concat(u,"__caption"),icon:"".concat(u,"__icon"),iconButton:"".concat(u,"__icon-button"),states:{error:"".concat(u,"--error"),disabled:"".concat(u,"--disabled"),inverted:"".concat(u,"--inverted")},sizes:{xs:"".concat(u,"--xs"),s:"".concat(u,"--s"),m:"".concat(u,"--m")},variants:{primary:"".concat(u,"--primary"),secondary:"".concat(u,"--secondary")}}),m=(0,c.forwardRef)((e,a)=>{let{value:t,variant:d="primary",checked:u=!1,state:m="default",label:h,disabled:g=!1,caption:_,className:v,style:b,icon:x,withIcon:f=!1,size:j="m",inverted:N=!1,children:y,inputRef:k,onChange:w,onIconClick:C,dataQa:A,dataId:R,...z}=e,T=(0,c.useId)(),I=y||h;return(0,l.jsxs)("label",{ref:a,htmlFor:T,"data-marker-label":"",className:(0,n.A)(v,p.radio,{[p.states.disabled]:g,[p.states.inverted]:N,[p.states.error]:"error"===m,[p.sizes[j]]:!0,[p.variants[d]]:!0}),style:b,"data-id":R,"data-qa":A,children:[(0,l.jsx)("input",{id:T,value:t,checked:u,className:p.input,type:"radio",disabled:g,onChange:e=>{null==w||w(e.target.value,e)},ref:k,...z}),(0,l.jsx)("span",{className:p.marker,children:(0,l.jsx)(i.C,{type:"radio",checked:u,inverted:N,state:m,disabled:g})}),I&&(0,l.jsxs)("span",{className:p.wrapper,children:[(0,l.jsx)("span",{className:p.label,children:I}),_&&(0,l.jsx)(s.C,{className:p.caption,withoutIcon:!0,children:_})]}),f&&(0,l.jsx)("button",{type:"button",className:(0,n.A)(p.iconButton),onClick:g?void 0:C,children:(0,l.jsx)(o.P,{className:(0,n.A)(p.icon),children:x?(0,l.jsx)(l.Fragment,{children:x}):(0,l.jsx)(r.S,{})})})]})});m.displayName="Radio"},93292:(e,a,t)=>{"use strict";t.d(a,{V:()=>u}),t(52286);var l=t(37876),c=t(14232),n=t(40317),r=t(92676),s=t(69241);let i=(0,t(57539).g)("expert-quote","sc"),o=Object.freeze({expertQuote:i,wrapper:"".concat(i,"__wrapper"),title:"".concat(i,"__title"),card:"".concat(i,"__card"),content:"".concat(i,"__content"),aboutText:"".concat(i,"__aboutText"),about:"".concat(i,"__about"),img:"".concat(i,"__img"),name:"".concat(i,"__name"),position:"".concat(i,"__position"),text:"".concat(i,"__text")}),d=(0,c.memo)(e=>{let{className:a,quote:t}=e;return t?(0,l.jsx)("section",{className:(0,s.A)(o.wrapper,a),children:(0,l.jsxs)(n.m,{children:[(0,l.jsx)(r.D,{as:"h2",type:"display",weight:"bold",className:(0,s.A)(o.title,"mb-6"),children:"Мнение эксперта"}),(0,l.jsx)("div",{className:o.card,children:(0,l.jsxs)("div",{className:o.content,children:[(0,l.jsxs)("div",{className:o.about,children:[t.expert.photo&&(0,l.jsx)("a",{href:t.expert.url,children:(0,l.jsx)("div",{className:o.img,style:{backgroundImage:"url(".concat(t.expert.photo,")")}})}),(0,l.jsxs)("div",{className:o.aboutText,children:[(0,l.jsx)("a",{href:t.expert.url,className:o.name,children:t.expert.name}),(0,l.jsx)("p",{className:o.position,dangerouslySetInnerHTML:{__html:t.expert.position}})]})]}),(0,l.jsx)("p",{className:o.text,dangerouslySetInnerHTML:{__html:t.content}})]})})]})}):null});d.displayName="ExpertQuote";let u=d},97179:(e,a,t)=>{"use strict";t.d(a,{S:()=>c});var l=t(14232);function c(e){return l.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("path",{d:"M12.004 7.246A1.247 1.247 0 0 1 10.75 6c0-.69.558-1.253 1.25-1.253.69 0 1.25.56 1.25 1.25 0 .688-.559 1.248-1.246 1.25ZM10.75 12c0 .686.559 1.252 1.254 1.247a1.252 1.252 0 0 0 1.246-1.25c0-.69-.56-1.25-1.25-1.25-.692 0-1.25.564-1.25 1.253Zm0 6c0 .686.559 1.253 1.254 1.247a1.252 1.252 0 0 0 1.246-1.25c0-.69-.56-1.25-1.25-1.25-.692 0-1.25.564-1.25 1.253Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}}}]);