(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1088],{7006:function(e,t,n){"use strict";n.d(t,{M:function(){return l}});var r=n(90716);let l=e=>(0,r.t9)("/api/v1/customer/personalization/features/".concat(e),null,{isNewApi:!0})},90716:function(e,t,n){"use strict";n.d(t,{t9:function(){return i}});var r=n(14862),l=n(40257);let i=async(e,t,n,i)=>{let{isNewApi:o=!1,isLKApi:a=!1,returningType:s="json",isCommonBlocksApi:c=!1,isMpScApi:u=!1,isProdCatApi:d=!1,isProductTagsApi:p=!1,isHeadlessCMS:_=!1,isSeoApi:m=!1,isMpSc:f=!1,isPageContent:v=!1,isMpScRedirects:h=!1}=null!=n?n:{},g=function(e,t){let{isNewApi:n,isLKApi:l,isCommonBlocksApi:i,isMpScApi:o,isProductTagsApi:a,isHeadlessCMS:s,isSeoApi:c,isMpSc:u,isPageContent:d,isMpScRedirects:p}=e;return i?r.publicConfig.COMMON_BLOCKS_API:l?r.publicConfig.LK_API:s?r.publicConfig.HEADLESS_CMS_API:d?r.publicConfig.PAGE_CONTENT_API:t?c?r.publicConfig.SEO_API:o?r.publicConfig.MP_SC_API:u?r.publicConfig.MP_SC_API_DIRECT:a?r.publicConfig.PRODUCT_TAGS_API:p?r.publicConfig.REDIRECTS_API:n?r.publicConfig.BFF_SHOWCASE_API:r.publicConfig.BACKEND_API:function(e){let{isMpScApi:t,isSeoApi:n,isNewApi:r,isProdCatApi:l,isProductTagsApi:i}=e;return"/deposits/api/proxy/".concat(t?"mpsc":r?"new":l?"prod-cat":n?"seo":i?"product-tags":"")}(e)}({isNewApi:o,isLKApi:a,isCommonBlocksApi:c,isMpScApi:u,isProdCatApi:d,isProductTagsApi:p,isHeadlessCMS:_,isSeoApi:m,isMpSc:f,isPageContent:v,isMpScRedirects:h},i),b=null,y=null,E=0,N="";try{E=performance.now();let n=await fetch("".concat(g).concat(e),{method:"GET",next:{revalidate:0},...t});if(N=n.status,!n.ok)throw Error("Network response was not ok: ".concat(N));b=await n[s]()}catch(t){console.log("".concat(g).concat(e),t),y=t instanceof Error?t.message:"error"}finally{var x;null===(x=l.outgoingHTTPRequestHistogram)||void 0===x||x.labels((null==t?void 0:t.method)||"GET",e,String(N)).observe(Number(performance.now()-E))}return{data:b,error:y}}},36378:function(e,t,n){"use strict";n.d(t,{M:function(){return c}});var r=n(57437),l=n(75461),i=n(2265),o=n(4646),a=n.n(o);function s(e){let{children:t,disabled:n,onClose:r}=e,l=(0,i.useRef)(null);return(0,i.useEffect)(()=>{if(!l.current||n)return;let e=e=>{var t;!e.target||(null===(t=l.current)||void 0===t?void 0:t.contains(e.target))||r()};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[n,r]),(0,i.cloneElement)(t,{ref:l})}function c(e){let{value:t,multiple:n=!1,minAllowedDate:o,maxAllowedDate:c,label:u="Дата",state:d,caption:p,allowClear:_=!1,onChange:m}=e,[f,v]=(0,i.useState)(!1),h=(0,i.useCallback)(e=>{var t,n;if(!e)return m(null);m(new Date(Math.min(Math.max(e.getTime(),null!==(t=null==o?void 0:o.getTime())&&void 0!==t?t:0),null!==(n=null==c?void 0:c.getTime())&&void 0!==n?n:1/0)))},[c,o,m]),g=(0,i.useCallback)(e=>{(e||_)&&m(e),v(!1)},[_,m]);return(0,r.jsx)(s,{onClose:()=>v(!1),disabled:!f,children:(0,r.jsxs)("div",{className:a().datePicker,children:[(0,r.jsx)(l.U7,{label:u,value:t,onChange:h,onFocus:()=>v(!0),state:d,caption:p}),f&&(0,r.jsx)(l.f,{className:a().calendar,value:t,onChange:g,multiple:n,minAllowedDate:o,maxAllowedDate:c})]})})}},28819:function(e,t,n){"use strict";n.d(t,{t:function(){return a}});var r=n(57437),l=n(54365),i=n(41315),o=n.n(i);let a=e=>{let{as:t="div",children:n,className:i,...a}=e;return(0,r.jsx)(t,{className:(0,l.Z)(o().mainContainer,i),...a,children:n})};a.displayName="MainContainer"},38050:function(e,t,n){"use strict";n.d(t,{h:function(){return i}});var r=n(2265),l=n(54887);let i=e=>{let{children:t,id:n="portal-root"}=e,[i,o]=(0,r.useState)(null);return(0,r.useEffect)(()=>{var e,t,r;let l=null===(e=document)||void 0===e?void 0:e.getElementById(n);if(l)o(l);else{let e=null===(t=document)||void 0===t?void 0:t.createElement("div");return null===(r=document)||void 0===r||r.body.appendChild(e),o(e),()=>{var t;null===(t=document)||void 0===t||t.body.removeChild(e)}}},[n]),i&&(0,l.createPortal)(t,i)}},11359:function(e,t,n){"use strict";n.d(t,{C:function(){return b}});var r=n(57437),l=n(54365),i=n(33145),o=n(2265),a={src:"/deposits/_next/static/media/detailed-large.fea212bb.svg",height:24,width:24,blurWidth:0,blurHeight:0},s=n(38050),c=n(93033),u=n(54887);let d=e=>{let{children:t}=e,[n]=(0,o.useState)(()=>document.createElement("div"));return((0,o.useEffect)(()=>(document.body.appendChild(n),()=>{document.body.removeChild(n)})),t)?(0,r.jsx)(r.Fragment,{children:(0,u.createPortal)(t,n)}):null};var p=n(84860),_=n.n(p);let m=e=>{let t=e.bottom,n="bottom";return Object.entries(e).forEach(e=>{let[r,l]=e;l>t&&(t=l,n=r)}),n};var f=e=>{let{anchorElement:t,positioningElement:n,offset:r=0,selectSide:l=null}=e,i={top:"unset",right:"unset",left:"unset",bottom:"unset"},o=t.getBoundingClientRect(),a=n.getBoundingClientRect(),s=a.width,c=a.height,u=window.innerHeight,d=window.innerWidth,p=o.top,_=u-o.bottom,f=d-o.right,v=o.left,h=o.bottom,g=o.right,b=v+o.width/2,y=p+o.height/2,E=b-s/2,N=y-c/2,x=E<-r||E+s-r-10>d?f>v?0-r:d-s+r-16:E,C=N<-r||N+c-r-10>u?p<_?0-r:u-c+r-10:N,S=[{side:"bottom",priority:2,isFreeSpace:_>=c-r,position:{...i,top:"".concat(h,"px"),left:"".concat(x,"px")}},{side:"top",priority:3,isFreeSpace:p>=c-r,position:{...i,top:"".concat(p-c,"px"),left:"".concat(x,"px")}},{side:"right",priority:4,isFreeSpace:f>=s-r,position:{...i,left:"".concat(g,"px"),top:"".concat(C,"px")}},{side:"left",priority:5,isFreeSpace:v>=s-r,position:{...i,left:"".concat(v-s,"px"),top:"".concat(C,"px")}}];if(l){let e=S.find(e=>e.side===l);e&&(e.priority=1)}S.sort((e,t)=>e.priority-t.priority);let T=S.find(e=>e.isFreeSpace);if(T)i={...i,...T.position};else{let e=m({top:p-c,bottom:_-c,right:f-s,left:v-s}),t=S.find(t=>t.side===e);t&&(i={...i,...t.position})}return i};let v=e=>{let{children:t,text:n,offset:i=10,trigger:a="hover",tooltipClassName:s,selectSide:c,disabled:u}=e,[p,m]=(0,o.useState)(null),[v,h]=(0,o.useState)(null),[g,b]=(0,o.useState)(!0),y=(0,o.useRef)(null),E=(0,o.useRef)(null),N="click"===a,x=(0,o.useCallback)(()=>{b(!0),E.current=setTimeout(()=>{h(null)},200),window.removeEventListener("scroll",x,!1)},[]);(0,o.useEffect)(()=>{if(!n)return;let e=y.current;if(v&&e)return m(f({anchorElement:v,positioningElement:e,offset:i,selectSide:c})),()=>{h(null),E.current&&clearTimeout(E.current),window.removeEventListener("scroll",x,!1)}},[v,n,x,i,g,c]);let C=e=>({onMouseEnter:t=>{(null==e?void 0:e.onMouseEnter)&&e.onMouseEnter(t),N||u||(b(!1),h(t.currentTarget),window.addEventListener("scroll",x,!1))},onClick:t=>{(null==e?void 0:e.onClick)&&e.onClick(t),N&&!u&&(b(!1),h(t.currentTarget),window.addEventListener("scroll",x,!1))}}),S=()=>{b(!0),E.current=setTimeout(()=>{h(null)},300)},T="string"!=typeof t&&"number"!=typeof t?(0,o.createElement)(t.type,{...t.props,...C(t.props)}):(0,o.createElement)("span",{children:t,...C()}),w=e=>{var t;v===e.target||(null==v?void 0:v.contains(e.target))||e.target===y.current||(null===(t=y.current)||void 0===t?void 0:t.contains(e.target))||S()};return(0,o.useEffect)(()=>(N||(g?window.removeEventListener("mousemove",w):window.addEventListener("mousemove",w)),()=>{window.removeEventListener("mousemove",w)}),[v,w,g]),(0,r.jsxs)(r.Fragment,{children:[v&&n?(0,r.jsx)(d,{children:(0,r.jsx)("div",{className:(0,l.Z)(_().tooltipWrapper,{[_().clickedTooltip]:N}),onClick:()=>{N&&S()},children:(0,r.jsx)("div",{ref:y,className:(0,l.Z)(_().tooltipWrapperForPadding,{[_().open]:v,[_().close]:g}),style:{padding:i,...p},children:(0,r.jsx)("div",{className:(0,l.Z)(_().tooltip,s),children:n})})})}):null,T]})};v.displayName="Tooltip";var h=n(45519),g=n.n(h);let b=(0,o.memo)(e=>{let{text:t,className:n,tooltipClassName:u,iconSrc:d=a,iconClassName:p,children:_,withDisabledScroll:m,trigger:f="click",icon:h,iconPlacement:b="right",asTrigger:y,onOpen:E,onClose:N}=e,[x,C]=(0,o.useState)(!1),S=null!=y?y:"button",T=(0,o.useCallback)(()=>{C(e=>(e||null==E||E(),!e))},[E]),w=(0,o.useCallback)(()=>{C(!1),null==N||N()},[N]),L=null!=h?h:d&&(0,r.jsx)(i.default,{unoptimized:!0,className:(0,l.Z)(g().icon,p),src:d,alt:"detailed"}),k="left"===b;return(0,r.jsxs)("div",{"data-testid":"tip-component",children:[(0,r.jsx)(v,{trigger:f,tooltipClassName:u,selectSide:"bottom",text:"string"==typeof t?(0,r.jsx)("span",{className:g().content,dangerouslySetInnerHTML:{__html:t}}):(0,r.jsx)("span",{className:g().content,children:t}),children:(0,r.jsxs)(S,{"data-testid":"button-tip-click-on-open",className:(0,l.Z)(g().button,n),onClick:E,children:[k&&L," ",_," ",!k&&L]})}),(0,r.jsxs)(S,{"data-testid":"button-tip-click-toggle-modal",onClick:T,className:(0,l.Z)(g().buttonMobile,n),children:[k&&L," ",_," ",!k&&L]}),(0,r.jsx)(s.h,{children:(0,r.jsx)(c.jr,{withDisabledScroll:m,className:g().popup,isOpen:x,onClose:w,children:"string"==typeof t?(0,r.jsx)("div",{dangerouslySetInnerHTML:{__html:t}}):t})})]})});b.displayName="Tip"},91627:function(e,t,n){"use strict";n.d(t,{F:function(){return r}});let r=30.416},59687:function(e,t,n){"use strict";n.d(t,{Mf:function(){return r},rO:function(){return l}});let r={$:"Доллары","€":"Евро","\xa5":"Юани","₣":"Франки","\xa3":"Фунты","₽":"Рубли"},l="₽"},26876:function(e,t,n){"use strict";var r;n.d(t,{n:function(){return r}}),(r||(r={})).SHOW_ADDITIONAL_PERCENT_BONUS="SHOW_ADDITIONAL_PERCENT_BONUS"},87566:function(e,t,n){"use strict";n.d(t,{HA:function(){return l},Yw:function(){return i},_n:function(){return r}});let r=n(40257).env.NEXT_PUBLIC_BASE_URL||"https://finuslugi.ru",l=["sberbank","vtb","sovcombank","rosselhozbank","gazprombank","alfabank","promsvyazbank","tbank","mkb","pochta_bank"],i="/deposits/new/savings-product-continuing-scenario"},37162:function(e,t,n){"use strict";n.d(t,{Mb:function(){return c},TM:function(){return i},VT:function(){return l},Yf:function(){return s},a6:function(){return r},p6:function(){return o},uz:function(){return a}});let r="steps",l="place",i="depositsList",o="depositsParametrs",a="downloadAppBanner",s="depositGuide",c="anotherDeposits"},14862:function(e,t,n){"use strict";n.d(t,{publicConfig:function(){return a}});var r=n(50666),l=n(64900);let i=()=>l.ZP.union([l.ZP.enum(["true","false"]),l.ZP.boolean()]).optional().transform(e=>"boolean"==typeof e?e:"true"===e),o=l.ZP.object({ASSETS_URL:l.ZP.string().url(),BACKEND_API:l.ZP.string().url(),BASE_URL:l.ZP.string().url(),BFF_SHOWCASE_API:l.ZP.string().url(),COMMON_BLOCKS_API:l.ZP.string().url(),HEADLESS_CMS_API:l.ZP.string().url(),LK_API:l.ZP.string().url(),LK_URL:l.ZP.string().url(),MP_SC_API_DIRECT:l.ZP.string().url(),MP_SC_API:l.ZP.string().url(),PAGE_CONTENT_API:l.ZP.string().url(),PROD_CAT_API:l.ZP.string().url(),PRODUCT_TAGS_API:l.ZP.string().url(),SEO_API:l.ZP.string().url(),REDIRECTS_API:l.ZP.string().url(),ENABLE_EXTERNAL_LINK_WARNING:i(),FEATURE_TOGGLE_USE_GLOBAL_SUSPENSE:i(),FEATURE_TOGGLE_CUSTOM_TERMS_ENABLED:i(),FEATURE_TOGGLE_WIDGET_REDIRECTS_TO_SPCS:i(),FEATURE_TOGGLE_DEPOSIT_CARD_NEW_DESIGN_ENABLED:i(),FEATURE_TOGGLE_DEPOSIT_FILTER_NEW_DESIGN_ENABLED:i(),FEATURE_TOGGLE_NEW_BONUS_API_ENABLED:i(),FEATURE_TOGGLE_LOGIN_WIDGET_ENABLED:i(),FEATURE_TOGGLE_DEPOSIT_DETAIL_NEW_DESIGN_ENABLED:i(),FEATURE_TOGGLE_AGGREGATORS_NEW_API_ENABLED:i()}),a=function(){let e={ASSETS_URL:(0,r.env)("NEXT_PUBLIC_ASSETS_BASE_URL"),BACKEND_API:(0,r.env)("NEXT_PUBLIC_API_URL"),BASE_URL:(0,r.env)("NEXT_PUBLIC_BASE_URL"),BFF_SHOWCASE_API:(0,r.env)("NEXT_PUBLIC_NEW_API_URL"),COMMON_BLOCKS_API:(0,r.env)("NEXT_PUBLIC_COMMON_BLOCKS_URL"),HEADLESS_CMS_API:(0,r.env)("NEXT_PUBLIC_HEADLESS_CMS_API_URL"),LK_API:(0,r.env)("NEXT_PUBLIC_LK_API_URL"),LK_URL:(0,r.env)("NEXT_PUBLIC_MOEX_AD_URI"),MP_SC_API_DIRECT:(0,r.env)("NEXT_PUBLIC_MP_SC_URL"),MP_SC_API:(0,r.env)("NEXT_PUBLIC_MP_SC_API_URL"),PAGE_CONTENT_API:(0,r.env)("NEXT_PUBLIC_PAGE_CONTENT_API"),PROD_CAT_API:(0,r.env)("NEXT_PUBLIC_PROD_CAT_CORE_API_URL"),PRODUCT_TAGS_API:(0,r.env)("NEXT_PUBLIC_PRODUCT_TAGS_API_URL"),SEO_API:(0,r.env)("NEXT_PUBLIC_SEO_API_URL"),REDIRECTS_API:(0,r.env)("NEXT_PUBLIC_MP_SC_REDIRECTS_API"),ENABLE_EXTERNAL_LINK_WARNING:(0,r.env)("NEXT_PUBLIC_ENABLE_EXTERNAL_LINK_WARNING"),FEATURE_TOGGLE_USE_GLOBAL_SUSPENSE:(0,r.env)("NEXT_PUBLIC_FEATURE_TOGGLE_USE_GLOBAL_SUSPENSE"),FEATURE_TOGGLE_CUSTOM_TERMS_ENABLED:(0,r.env)("NEXT_PUBLIC_FEATURE_TOGGLE_CUSTOM_TERMS_ENABLED"),FEATURE_TOGGLE_WIDGET_REDIRECTS_TO_SPCS:(0,r.env)("NEXT_PUBLIC_FEATURE_TOGGLE_WIDGET_REDIRECTS_TO_SPCS"),FEATURE_TOGGLE_DEPOSIT_CARD_NEW_DESIGN_ENABLED:(0,r.env)("NEXT_PUBLIC_FEATURE_TOGGLE_DEPOSIT_CARD_NEW_DESIGN_ENABLED"),FEATURE_TOGGLE_DEPOSIT_FILTER_NEW_DESIGN_ENABLED:(0,r.env)("NEXT_PUBLIC_FEATURE_TOGGLE_DEPOSIT_FILTER_NEW_DESIGN_ENABLED"),FEATURE_TOGGLE_NEW_BONUS_API_ENABLED:(0,r.env)("NEXT_PUBLIC_FEATURE_TOGGLE_NEW_BONUS_API_ENABLED"),FEATURE_TOGGLE_LOGIN_WIDGET_ENABLED:(0,r.env)("NEXT_PUBLIC_FEATURE_TOGGLE_LOGIN_WIDGET_ENABLED"),FEATURE_TOGGLE_DEPOSIT_DETAIL_NEW_DESIGN_ENABLED:(0,r.env)("NEXT_PUBLIC_FEATURE_TOGGLE_DEPOSIT_DETAIL_NEW_DESIGN_ENABLED"),FEATURE_TOGGLE_AGGREGATORS_NEW_API_ENABLED:(0,r.env)("NEXT_PUBLIC_FEATURE_TOGGLE_NEW_AGGREGATORS_API_ENABLED")},t=o.safeParse(e);return t.success?t.data:(console.error("Invalid public env config:",t.error.format()),e)}()},74552:function(e,t,n){"use strict";n.d(t,{M:function(){return r},w:function(){return l}});let r=80,l=56},40309:function(e,t){"use strict";var n,r;(r=n||(n={})).EveryDay="everyDay",r.Weekly="weekly",r.OnceAMonth="onceAMonth",r.Quarterly="quarterly",r.Semiannually="semiannually",r.Annually="annually",r.InTheEnd="inTheEnd",r.SpecifiedPeriodInDays="specifiedPeriodInDays",t.Z=n},44579:function(e,t){"use strict";var n,r;(r=n||(n={})).Day="day",r.Month="month",r.Year="year",t.Z=n},28553:function(e,t,n){"use strict";n.d(t,{j:function(){return _}});var r=n(57437),l=n(80684),i=n(54365),o=n(2265),a=n(97489),s=n.n(a);let c=e=>{let{footer:t,footerClassName:n,isSmallPopup:l}=e;return(0,r.jsx)("div",{className:(0,i.Z)(s().footer,l&&s().footerWithoutShadow,n),children:"function"==typeof t?t():t})},u=e=>{let[t,n]=(0,o.useState)(!1),r=(0,o.useRef)(null),l=(0,o.useRef)(!1);return(0,o.useEffect)(()=>(e&&!l.current?(l.current=!0,n(!0)):!e&&l.current&&(r.current=setTimeout(()=>{l.current=!1,n(!1)},300)),()=>{r.current&&clearTimeout(r.current)}),[e]),t},d=e=>{(0,o.useEffect)(()=>{let t=document.querySelectorAll("[data-portal]").length>1,n=document.body,r=()=>{n.style.overflow="",n.style.height=""};return e&&(n.style.overflow="hidden",n.style.height="100vw"),e||t||r(),()=>{t||r()}},[e])},p=e=>{let{children:t,footer:n,isOpen:a,isSmallPopup:u,onClose:p,hasCloseButton:_=!0,full:m,touchDistance:f=100,withDisabledScroll:v=!0,contentClassName:h,className:g,title:b,closeButton:y,footerClassName:E}=e,[N,x]=(0,o.useState)(!1),[C,S]=(0,o.useState)(!1),[T,w]=(0,o.useState)(!0),[L,k]=(0,o.useState)("120%"),P=(0,o.useRef)(null),I=(0,o.useRef)(0),A=(0,o.useRef)(!1),j=(0,o.useRef)(null),R=(0,o.useCallback)(()=>{a&&(j.current=setTimeout(()=>{null==p||p()},0))},[a,p]),O=(0,o.useCallback)(e=>{var t,n,r;let l=null===(t=P.current)||void 0===t?void 0:t.offsetTop,i=null===(n=P.current)||void 0===n?void 0:n.offsetHeight;if(A.current=!0,w(!1),l&&i&&e instanceof TouchEvent){let t=(null===(r=e.touches[0])||void 0===r?void 0:r.clientY)-l,n=0;t>=0&&t<=i+30&&(n=t),t>i+30&&(n=i+30),k("".concat(n,"px")),I.current=n}},[]),M=(0,o.useCallback)(()=>{A.current&&(I.current>f&&p?p():k("0"),w(!0),A.current=!1),window.removeEventListener("touchmove",O),window.removeEventListener("touchend",M)},[O,p,f]),D=(0,o.useCallback)(()=>{a&&(x(!1),window.addEventListener("touchmove",O),window.addEventListener("touchend",M))},[M,O,a]),B=(0,o.useCallback)(e=>{"Escape"===e.key&&R()},[R]);return(0,o.useEffect)(()=>(a&&window.addEventListener("keydown",B),()=>{j.current&&clearTimeout(j.current),window.removeEventListener("keydown",B),window.removeEventListener("touchmove",O),window.removeEventListener("touchend",M)}),[B,M,O,a]),(0,o.useEffect)(()=>{a&&setTimeout(()=>{x(!0),S(!0),k("0")},100),!a&&C&&(k("120%"),x(!1),S(!1))},[C,a]),d(a&&v),(0,r.jsxs)("div",{"data-portal":!0,className:(0,i.Z)(s().mobilePopup,C&&s().mobilePopupOpen,g),children:[(0,r.jsx)("button",{type:"button",className:(0,i.Z)(s().overlay,{[s().open]:a,[s().close]:!a}),onTouchStart:D,onClick:R,"aria-label":"Закрыть"}),(0,r.jsxs)("div",{className:(0,i.Z)(s().content,m&&s().contentFull,T&&s().contentTransition,T&&N&&s().contentTransitionOpen),ref:P,style:{transform:"translateY(".concat(L,")")},children:[(0,r.jsx)("div",{className:s().contentLine}),(0,r.jsxs)("div",{className:(0,i.Z)(s().contentContainer,u&&s().smallContentContainer,{[s().min]:!b&&!_},h),children:[!!b&&(0,r.jsx)("div",{className:s().title,children:b}),_?(0,r.jsxs)("div",{className:s().closeContainer,children:[y?"function"==typeof y?y():y:null,y?null:(0,r.jsx)("button",{onClick:p,className:s().closeButton,type:"button","aria-label":"Закрыть",children:(0,r.jsx)(l.IconFdsCloseO,{size:24})})]}):null,t]}),n&&(0,r.jsx)(c,{footerClassName:E,isSmallPopup:u,footer:n})]})]})},_=e=>{let{children:t,isSmallPopup:n=!1,isOpen:l=!1,...i}=e;return u(l)?(0,r.jsx)(p,{isSmallPopup:n,isOpen:l,...i,children:t}):null};_.displayName="UiMobilePopup"},5746:function(e,t,n){"use strict";n.d(t,{J:function(){return i}});var r=n(2265),l=n(64671);let i=e=>{let{length:t,isActive:n=!0,gap:i=12,rows:o=1}=e,[a,s]=(0,r.useState)(!1),c=(0,r.useRef)([]),u=(0,r.useRef)(null),d=(0,r.useRef)(null),p=(0,r.useRef)(()=>null),_=(0,r.useRef)(0),[m,f]=(0,r.useState)(t),v=(0,r.useRef)((0,l.b)(700)),h=(0,r.useCallback)(()=>{s(!1),setTimeout(()=>{var e,n;let r=null!==(n=null===(e=d.current)||void 0===e?void 0:e.getBoundingClientRect().width)&&void 0!==n?n:0,l=1,a=0,u=0;for(let e=0;e<=c.current.length;e++){let t=c.current[e];if(!t)continue;let n=t.getBoundingClientRect().width+i;if(n>=r&&(n=r),(a+=n)>=r*l){if(l>=o){a-=n;break}a>r*l&&(a+=r*l-(a-n)),l++}u++}s(t>u),f(u),_.current=a})},[i,t,o]);return(0,r.useEffect)(()=>{if(window.removeEventListener("resize",p.current),n)return p.current=()=>v.current(h),p.current(),window.addEventListener("resize",p.current),()=>window.removeEventListener("resize",p.current)},[h,n]),(0,r.useEffect)(()=>{if(a){var e,t,n,r;let l=(null!==(n=null===(e=d.current)||void 0===e?void 0:e.getBoundingClientRect().width)&&void 0!==n?n:0)*o,a=(null!==(r=null===(t=u.current)||void 0===t?void 0:t.getBoundingClientRect().width)&&void 0!==r?r:0)+_.current-l;a>0&&f(e=>{let t=0;for(let n=e;n>=0;n--){let e=c.current[n],r=null==e?void 0:e.getBoundingClientRect().width;if(e&&r&&(t++,(a-=r+i)<=0))break}return e-t})}},[i,a,o]),{isOverflow:a,minLength:m,chipsRef:c,buttonRef:u,containerRef:d,handleCompute:h}}},93033:function(e,t,n){"use strict";n.d(t,{dy:function(){return H},p:function(){return e_},P_:function(){return eC},Xz:function(){return b},HB:function(){return k},jr:function(){return er.j},HE:function(){return tI},Ph:function(){return tO},HU:function(){return eZ},Fp:function(){return tZ}});var r,l,i,o,a,s,c,u,d,p,_,m,f,v,h,g,b,y,E,N,x,C=n(57437),S=n(2265),T=n(17017),w=n.n(T);let L=(e,t,n)=>{let r=(e-90)*Math.PI/180;return{x:n+t*Math.cos(r),y:n+t*Math.sin(r)}},k=(0,S.memo)(e=>{let{items:t,className:n,innerRadius:r=10,size:l=400,strokeWidth:i,stroke:o,animated:a=!1}=e,s=(0,S.useRef)(null);(0,S.useEffect)(()=>{a&&s&&s.current&&(s.current.style.transform="rotate(-180deg)",s.current.style.transition="")},[s,t,a]);let c=t.reduce((e,t)=>e+t.value,0),u=l/2,d=0,p=t.map(e=>{let t=e.value/c*360,n=t>180?1:0,l=d+t,a=L(d,u,u),s=L(l,u,u),p=L(d,r,u),_=L(l,r,u),m="M ".concat(a.x," ").concat(a.y," \n        A ").concat(u," ").concat(u," 0 ").concat(n," 1 ").concat(s.x," ").concat(s.y," \n        L ").concat(_.x," ").concat(_.y," \n        A ").concat(r," ").concat(r," 0 ").concat(n," 0 ").concat(p.x," ").concat(p.y," \n        Z");return d=l,(0,C.jsx)("path",{fill:e.color,d:m,stroke:o,strokeWidth:i,className:w().circle},e.color)}),_=()=>{s&&s.current&&(s.current.style.transform="rotate(0deg)",s.current.style.transition="all 1s")};return(0,S.useEffect)(()=>{if(a){let e=setTimeout(_,1);return()=>clearTimeout(e)}},[p,t,a]),(0,C.jsx)("svg",{ref:s,className:n,viewBox:"0 0 ".concat(l," ").concat(l),height:l,width:l,children:p})});k.displayName="UiCircleChart";var P=n(54365);let I=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:300,n=(0,S.useRef)(null),r=(0,S.useRef)(null),l=(0,S.useRef)(null);return(0,S.useEffect)(()=>{let i=()=>{n.current&&clearTimeout(n.current),l.current&&(window.removeEventListener("keydown",l.current.keyDown),document.removeEventListener("mousedown",l.current.clickOutside))};return i(),l.current={keyDown(l){"Escape"===l.key&&(n.current=setTimeout(()=>{e(r)},t))},clickOutside(t){0===t.button&&r.current&&t.target instanceof Node&&!r.current.contains(t.target)&&e(r)}},window.addEventListener("keydown",l.current.keyDown),document.addEventListener("mousedown",l.current.clickOutside),i},[e,t]),r};var A=n(80684),j=n(814),R=n.n(j);let O=e=>{let{footer:t,hasScroll:n,className:r}=e;return(0,C.jsx)("div",{className:(0,P.Z)(R().footer,{[R().hasScroll]:n},r),children:"function"==typeof t?t():t})};var M=n(54982),D=n.n(M);let B=(0,S.forwardRef)((e,t)=>{let{onClose:n,onContentClick:r,children:l,title:i,rowTitle:o,titleAlign:a,isCloseable:s,footer:c,closeButton:u,isOpen:d,contentClassName:p,footerClassName:_,contentStyle:m,width:f}=e,v=(0,S.useRef)(null),h=(0,S.useRef)(null),[g,b]=(0,S.useState)(!1);(0,S.useImperativeHandle)(t,()=>v.current),(0,S.useEffect)(()=>{if(!h.current||!v.current)return;let e=h.current.getBoundingClientRect().top||0,t=v.current,n=()=>{let t=h.current;t&&b(t.getBoundingClientRect().top!==e)};return t.addEventListener("scroll",n,!1),()=>{t.removeEventListener("scroll",n,!1)}},[]);let y=m||f?{width:f,...m||{}}:void 0;return(0,C.jsxs)("div",{ref:v,style:y,className:(0,P.Z)(D().container,{[D().open]:d,[D().close]:!d},p),children:[i||s?(0,C.jsxs)("div",{className:(0,P.Z)(D().header,{[D().rowHeader]:o}),children:[s&&!u?(0,C.jsx)("button",{className:D().controlContainer,onClick:n,type:"button",children:(0,C.jsx)(A.IconFdsCloseO,{size:24})}):null,s&&u?"function"==typeof u?u():u:null,i?(0,C.jsx)("h3",{className:(0,P.Z)(D().title,{[D().center]:"center"===a,[D().left]:"left"===a,[D().right]:"right"===a}),children:i}):null]}):null,(0,C.jsx)("div",{ref:h,className:D().content,onClick:r,children:l}),c&&(0,C.jsx)(O,{className:(0,P.Z)(D().footer,_),footer:c,hasScroll:g})]})});B.displayName="DrawerContent";var F=n(58250),U=n.n(F);let Z=e=>{(0,S.useEffect)(()=>{let t=document.querySelectorAll("[data-portal]").length>1,n=document.body,r=()=>{n.style.overflow="",n.style.height=""};return e&&(n.style.overflow="hidden",n.style.height="100vw"),e||t||r(),()=>{t||r()}},[e])},G=e=>{let{onClose:t,isOpen:n,children:r,withDisabledScroll:l,className:i,...o}=e,a=(0,S.useCallback)(e=>e.stopPropagation(),[]),s=I(()=>t(),0);return Z(n&&l),(0,C.jsx)("div",{"data-portal":!0,className:(0,P.Z)(U().window,i),children:(0,C.jsx)(B,{ref:s,onContentClick:a,onClose:t,isOpen:n,...o,children:r})})},W=e=>{let[t,n]=(0,S.useState)(!1),r=(0,S.useRef)(null),l=(0,S.useRef)(!1);return(0,S.useEffect)(()=>(e&&!l.current?(l.current=!0,n(!0)):!e&&l.current&&(r.current=setTimeout(()=>{l.current=!1,n(!1)},300)),()=>{r.current&&clearTimeout(r.current)}),[e]),t},H=e=>{let{isOpen:t=!1,children:n,titleAlign:r="center",isCloseable:l=!0,withDisabledScroll:i=!0,...o}=e;return W(t)?(0,C.jsx)(G,{titleAlign:r,isCloseable:l,isOpen:t,withDisabledScroll:i,...o,children:n}):null};H.displayName="Drawer";var X=n(5746),z=n(94746);function Y(){return(Y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}var V=function(e){return z.createElement("svg",Y({width:14,height:14,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),a||(a=z.createElement("path",{d:"m1 1 12 12m0-12L1 13",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round"})))};n(72052);let K=e=>{let{children:t,className:n,style:r,...l}=e;return(0,C.jsx)("span",{className:(0,P.Z)(n,"private-icon"),style:r,...l,children:t})};K.displayName="PrivateIcon";var q=n(78646),Q=n.n(q);let J="Обязательное поле",$=(0,S.memo)(e=>{let{onChange:t=()=>null,onFocus:n=()=>null,onBlur:r=()=>null,onKeyDown:l=()=>null,inputClear:i=()=>null,label:o,allowClear:a=!1,addonBefore:s,addonAfter:c,status:u,appearance:d="gray",inputType:p,required:_=!1,infoMessage:m,message:f,innerRef:v=null,disabled:h,id:g,placeholder:b,autoFocus:y=!1,value:E,readOnly:N,className:x,onlyRange:T,size:w="small",maskPlaceholder:L,...k}=e,[I,A]=(0,S.useState)(y),j=(0,S.useRef)(null);(0,S.useEffect)(()=>A(y),[y]);let R=!_||(E||"error"!==u)&&u?f:J,O=(null==m?void 0:m.length)&&!_||(null==m?void 0:m.length)&&E?m:J;return(0,C.jsxs)("div",{className:(0,P.Z)(Q().inputRoot,x),children:[(0,C.jsxs)("label",{htmlFor:g,className:(0,P.Z)(Q().wrapperInput,Q()[d],Q()[w],{[Q().isFocused]:I&&!h,[Q().hasValue]:I||!!E||!!b||L,[Q().disabled]:h,[Q().success]:"success"===u,[Q().error]:"error"===u,[Q().readOnly]:N}),children:[s&&(0,C.jsx)("div",{className:(0,P.Z)(Q().controlContainer,Q().addoneBefore),children:s}),(0,C.jsxs)("div",{className:(0,P.Z)(Q().inputContainer,{[Q().cover]:"button"===p}),children:[L&&(0,C.jsxs)("div",{className:(0,P.Z)(Q().maskPlaceholder,!b&&!o&&Q().maskPlaceholderCenter),children:[E&&(0,C.jsx)("span",{className:Q().maskPlaceholderHide,children:E}),L.slice(String(null!=E?E:"").length)]}),(0,C.jsx)("input",{id:g,ref:e=>{j.current=e,v&&e&&(v.current=e)},value:null!=E?E:"",disabled:h||T,autoFocus:"button"!==p&&I,readOnly:N,onFocus:e=>{I||(A(!0),n(e))},onBlur:e=>{I&&(A(!1),r(e))},onChange:t,onKeyDown:l,className:(0,P.Z)(Q().input,!o&&Q().inputCenter),placeholder:L?void 0:b,...k}),(null==o?void 0:o.length)?(0,C.jsx)("span",{className:Q().label,children:o}):null]}),a&&(!!E||"string"==typeof E&&!!E.trim().length)&&(0,C.jsx)("button",{type:"button",className:(0,P.Z)(Q().controlContainer,Q().buttonClear),onClick:e=>{e.preventDefault(),j.current&&(j.current.value="","input"===p&&j.current.focus()),i()},children:(0,C.jsx)(K,{className:Q().deleteIcon,children:(0,C.jsx)(V,{})})}),c&&(0,C.jsx)("div",{className:(0,P.Z)(Q().controlContainer,Q().addoneAfter),children:c})]}),(!!(null==f?void 0:f.length)&&u||_||!!(null==m?void 0:m.length))&&(0,C.jsx)("div",{className:(0,P.Z)(Q().message,{[Q().successMessage]:"success"===u,[Q().errorMessage]:"error"===u,[Q().defaultMessage]:_&&!u||!_&&!u&&!!(null==m?void 0:m.length)}),children:u?R:O})]})});$.displayName="UiInput";var ee=n(75461),et=n(28819),en=n(38050),er=n(28553),el=n(69388),ei=n.n(el);let eo=e=>{let{content:t,children:n,disabled:r}=e,[l,i]=(0,S.useState)(!1),o=(0,S.useRef)(null);return(0,S.useEffect)(()=>{let e=e=>{o.current&&e.target instanceof Node&&!o.current.contains(e.target)&&i(!1)};return document.addEventListener("click",e),()=>document.removeEventListener("click",e)},[]),(0,C.jsxs)("div",{className:(0,P.Z)(ei().wrap,ei().newSortRadioWrap),onClick:()=>i(!0),ref:o,children:[n,l&&!r&&(0,C.jsx)("div",{className:ei().content,children:t})]})};var ea=n(85376),es=n.n(ea);let ec=e=>{let{isMobile:t,onChangeSort:n,isIncreaseSort:r}=e;return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsxs)("p",{className:(0,P.Z)(es().sortTypeHead,es().newSortRadioSortTypeHead),children:[(0,C.jsx)("button",{style:{marginLeft:"0px",marginRight:t?"0px":"8px"},className:(0,P.Z)(es().sortTypeButton,es().newSortRadioSortTypeButton),onClick:n,type:"button",children:(0,C.jsx)(A.IconFdsListO,{className:(0,P.Z)(!r&&es().iconInverted)})}),"Сортировать"]}),(0,C.jsx)("div",{className:es().divider})]})},eu=(0,S.memo)(e=>{let{isMobile:t,onChangeSort:n,isIncreaseSort:r,onChangeSortType:l,sortTypeItems:i,sortTypeValue:o}=e;return(0,C.jsx)(C.Fragment,{children:(0,C.jsxs)("div",{className:(0,P.Z)(es().sortTypeContainer,es().newSortRadioSortTypeContainer),onClick:e=>e.stopPropagation(),children:[(0,C.jsx)(ec,{onChangeSort:n,isMobile:t,isIncreaseSort:r}),i.map(e=>(0,C.jsxs)("div",{"data-qa":"".concat(e.value,"_radio"),className:es().sortType,children:[(0,C.jsx)(ee.XZ,{onChange:()=>{l(e.value)},value:e.value===o,label:e.label}),e.description&&(0,C.jsx)(ee.u,{text:e.description,className:(0,P.Z)(es().sortTypeButton,es().newSortRadioSortTypeButton),children:(0,C.jsx)(A.IconInfo,{})})]},e.value))]})})});eu.displayName="SortRadios";var ed=n(66079),ep=n.n(ed);let e_=(0,S.memo)(e=>{let{isClose:t,chips:n,onClickParams:r,isIncreaseSort:l,onChangeIncreaseSort:i,sortTypeItems:o,sortTypeValue:a,onChangeSortType:s,isMobile:c,isFixed:u,portalId:d,onClickChip:p,className:_,onClickSortType:m}=e,{buttonRef:f,chipsRef:v,containerRef:h,isOverflow:g,minLength:b,handleCompute:y}=(0,X.J)({length:n.length,isActive:!c}),[E,N]=(0,S.useState)(!1),x=c?4:b,T=c?E:g,[w,L]=(0,S.useState)(!1),[k,I]=(0,S.useState)(!1),[j,R]=(0,S.useState)(!1),O=n.length-x,M=(0,S.useMemo)(()=>({id:"overflow",label:"".concat(w?"Скрыть":"Ещё"," ").concat(O)}),[w,O]),D=e=>t=>{v.current[e]=t},B=(0,S.useCallback)(()=>{if(c){I(e=>!e);return}L(e=>!e)},[c]),F=(0,S.useRef)(void 0);(0,S.useEffect)(()=>{let e=F.current;if(void 0===t)return;let n=c?k:w;if(!n||e===t){F.current=t;return}(e!==t||n)&&(B(),F.current=t)},[B,t,c,k,w]);let U=(0,S.useCallback)(()=>{I(!1),setTimeout(()=>null==r?void 0:r(),300)},[r]),Z=()=>R(e=>!e),G=(0,S.useCallback)(()=>null==i?void 0:i(!l),[l,i]);(0,S.useEffect)(()=>{c&&(N(!1),N(n.length>4))},[n.length,c]),(0,S.useEffect)(()=>{y()},[y,u]);let W=(0,C.jsx)("div",{style:{padding:"8px",borderRadius:"20px",background:"white"},className:(0,P.Z)(!c&&ep().sortTypeDesktop),children:(0,C.jsx)(eu,{isMobile:c,isIncreaseSort:l,onChangeSort:G,onChangeSortType:s,sortTypeItems:o,sortTypeValue:a,portalId:d})}),H=o.find(e=>e.value===a);return(0,C.jsxs)("div",{className:(0,P.Z)(ep().filter,ep().newSortRadiosFilter,u&&ep().stuck,_),children:[(0,C.jsx)(et.t,{className:ep().mainContainer,children:(0,C.jsxs)("div",{className:ep().container,children:[(0,C.jsxs)("div",{className:(0,P.Z)(ep().chipsContainer,!w&&ep().chipsContainerClosed),ref:h,children:[n.slice(0,w||!T?n.length:x).map((e,t)=>(0,C.jsx)("div",{onClick:()=>null==p?void 0:p(e),children:(0,C.jsx)(ee.Vp,{className:ep().chip,label:e.label,ref:D(t),variant:"purple",rounded:!0})},e.id)),g&&O>0&&(0,C.jsx)("div",{onClick:B,children:(0,C.jsx)(ee.Vp,{className:ep().chip,label:M.label,ref:f,variant:"purple",rounded:!0})})]}),(0,C.jsxs)("div",{className:ep().actionsWrapper,children:[(0,C.jsxs)("button",{className:(0,P.Z)(ep().action,ep().actionButton),onClick:r,type:"button",children:[(0,C.jsx)(A.IconFilter,{className:ep().icon,size:24}),(0,C.jsx)("span",{className:ep().actionText,children:"Все параметры"})]}),(0,C.jsxs)("div",{className:ep().action,children:[(0,C.jsx)("button",{className:(0,P.Z)(ep().icon,ep().iconButton,!l&&ep().iconInverted),onClick:c&&u?Z:G,type:"button",children:(0,C.jsx)(A.IconFdsSortDescendingO,{size:24})}),(0,C.jsx)(eo,{content:W,disabled:c,children:(0,C.jsx)("button",{onClick:c?Z:m,className:(0,P.Z)(ep().actionText,ep().actionButton),"data-qa":"".concat(a,"_order"),type:"button",children:(null==H?void 0:H.shortLabel)||(null==H?void 0:H.label)||"Сортировка"})})]})]})]})}),(0,C.jsxs)(en.h,{id:d,children:[(0,C.jsx)(er.j,{footer:(0,C.jsx)(ee.zx,{className:ep().modalButton,onClick:U,label:"Изменить параметры"}),className:(0,P.Z)(ep().modal,ep().newSortRadioModal),isOpen:k,onClose:B,children:(0,C.jsx)("div",{className:ep().chipsContainerModal,children:n.map(e=>(0,C.jsx)("div",{onClick:U,children:(0,C.jsx)(ee.Vp,{className:ep().chip,label:e.label,variant:"secondary",rounded:!0})},e.id))})}),(0,C.jsx)(er.j,{className:(0,P.Z)(ep().modal,ep().newSortRadioModal),isSmallPopup:!0,onClose:Z,isOpen:!!(j&&c),footer:(0,C.jsx)(ee.zx,{size:"s",className:ep().modalButton,label:"Применить",onClick:Z}),children:W})]})]})});function em(){return(em=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}e_.displayName="ListFilter";var ef=function(e){return z.createElement("svg",em({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),s||(s=z.createElement("path",{fill:"currentColor",d:"M4.575 4.575a1.5 1.5 0 0 0 0 2.121L9.879 12l-5.304 5.304a1.5 1.5 0 0 0 2.121 2.121L12 14.121l5.304 5.304a1.5 1.5 0 0 0 2.121-2.121L14.121 12l5.304-5.304a1.5 1.5 0 0 0-2.121-2.121L12 9.879 6.696 4.575a1.5 1.5 0 0 0-2.121 0Z"})))};function ev(){return(ev=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}function eh(){return(eh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}function eg(){return(eg=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}function eb(){return(eb=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}function ey(){return(ey=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let eE={time:{color:"var(--color-gray-600)",icon:function(e){return z.createElement("svg",eb({width:25,height:24,viewBox:"0 0 25 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),_||(_=z.createElement("path",{d:"M11.375 2.069c-.656.099-1.22.212-1.562.313-3.551 1.04-6.164 3.739-7.015 7.245-.231.95-.277 1.348-.276 2.352.002.969.042 1.368.212 2.146.249 1.132.801 2.438 1.426 3.375a9.88 9.88 0 0 0 3.882 3.433c.988.49 2.012.814 3.064.968.695.102 2.113.103 2.769.002 2.887-.443 5.373-2.006 6.939-4.361a10.074 10.074 0 0 0 1.673-5.209 10.027 10.027 0 0 0-2.904-7.377c-1.541-1.551-3.775-2.641-5.883-2.87-.374-.041-2.087-.053-2.325-.017m1.75 1.974a7.698 7.698 0 0 1 2.962.835 7.88 7.88 0 0 1 4.308 5.958c.083.583.082 1.759-.002 2.324a7.962 7.962 0 0 1-6.19 6.647c-2.465.547-5.067-.132-7.003-1.827-1.829-1.602-2.867-4.155-2.665-6.553a8.13 8.13 0 0 1 1.328-3.864 7.851 7.851 0 0 1 5.012-3.372c.923-.186 1.437-.22 2.25-.148m-.86 1.996c-.268.065-.584.324-.689.565-.042.098-.057.727-.067 2.862l-.013 2.736.105.209c.143.282.285.39 1.261.965 1.338.788 1.888 1.078 2.097 1.107.398.054.822-.184 1.016-.573.145-.292.143-.534-.006-.83-.139-.273-.355-.43-1.552-1.123a26.244 26.244 0 0 1-.852-.505c-.023-.02-.051-.996-.069-2.358-.018-1.476-.045-2.375-.074-2.466-.122-.385-.727-.693-1.157-.589",fillRule:"evenodd"})))}},info:{color:"var(--color-purple-500)",icon:function(e){return z.createElement("svg",eh({width:25,height:24,viewBox:"0 0 25 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),u||(u=z.createElement("path",{d:"M11.375 2.069c-.656.099-1.22.212-1.562.313-3.551 1.04-6.164 3.739-7.015 7.245-.231.95-.277 1.348-.276 2.352.002.969.042 1.368.212 2.146.249 1.132.801 2.438 1.426 3.375a9.88 9.88 0 0 0 3.882 3.433c.988.49 2.012.814 3.064.968.695.102 2.113.103 2.769.002 2.887-.443 5.373-2.006 6.939-4.361a10.074 10.074 0 0 0 1.673-5.209 10.027 10.027 0 0 0-2.904-7.377c-1.541-1.551-3.775-2.641-5.883-2.87-.374-.041-2.087-.053-2.325-.017m1.75 1.974a7.698 7.698 0 0 1 2.962.835 7.88 7.88 0 0 1 4.308 5.958c.083.583.082 1.759-.002 2.324a7.962 7.962 0 0 1-6.19 6.647c-2.465.547-5.067-.132-7.003-1.827-1.829-1.602-2.867-4.155-2.665-6.553a8.13 8.13 0 0 1 1.328-3.864 7.851 7.851 0 0 1 5.012-3.372c.923-.186 1.437-.22 2.25-.148m-.833 2.999a.969.969 0 0 0-.728.661c-.161.472.037.947.493 1.18.368.188.929.07 1.193-.25.599-.727-.024-1.762-.958-1.591m-.027 3.997c-.313.076-.654.392-.711.658-.044.207-.043 4.402.001 4.609.045.216.31.495.58.611.367.158.745.075 1.051-.231.309-.309.293-.163.293-2.623 0-1.215-.015-2.28-.033-2.366-.088-.416-.722-.769-1.181-.658",fillRule:"evenodd"})))}},success:{color:"var(--color-green-500)",icon:function(e){return z.createElement("svg",eg({width:25,height:24,viewBox:"0 0 25 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),d||(d=z.createElement("path",{d:"M12.5 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm0 18a8 8 0 1 1 0-16.001A8 8 0 0 1 12.5 20Z"})),p||(p=z.createElement("path",{d:"M10.714 14.794a1.002 1.002 0 0 0 1.42 0l4.08-4.08a1.004 1.004 0 0 0-1.42-1.42l-3.37 3.38-1.21-1.22a1.004 1.004 0 0 0-1.42 1.42l1.92 1.92Z"})))}},warning:{color:"var(--color-orange-500)",icon:function(e){return z.createElement("svg",ev({width:25,height:24,viewBox:"0 0 25 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),c||(c=z.createElement("path",{d:"M11.292 2.128c-1.005.069-2.335.487-3.458 1.087C4.947 4.756 3.1 7.399 2.598 10.708c-.1.66-.101 1.933-.001 2.584.238 1.555.773 2.993 1.542 4.146 1.058 1.586 2.533 2.855 4.194 3.607 1.286.581 2.308.839 3.618.91 1.845.1 3.468-.261 5.195-1.158.999-.518 1.56-.933 2.411-1.783a9.995 9.995 0 0 0 2.864-5.935c.061-.557.024-2.046-.065-2.6-.391-2.438-1.599-4.563-3.481-6.125-1.205-1-2.864-1.804-4.345-2.106-.719-.147-2.098-.198-3.238-.12m2.375 2.02c2.281.279 4.494 1.773 5.724 3.862.695 1.181 1.023 2.443 1.025 3.936.001 1.401-.263 2.547-.856 3.702-1.132 2.209-3.11 3.69-5.602 4.192-.42.085-.599.097-1.458.097-1.117 0-1.526-.06-2.419-.353-1.915-.629-3.387-1.803-4.409-3.519-.431-.724-.795-1.623-.938-2.322-.169-.822-.209-2.088-.092-2.91C4.904 8.993 5.9 7.163 7.271 6a8.427 8.427 0 0 1 3.689-1.814c.699-.144 1.723-.158 2.707-.038m-1.646 3.014c-.235.146-.393.351-.439.569-.059.277-.101 2.887-.062 3.863l.031.782.184.205c.101.112.269.245.372.296.395.191.924.028 1.204-.371l.127-.18V7.674l-.126-.179c-.189-.268-.491-.412-.869-.412-.218.001-.33.021-.422.079m.167 7.922c-.335.104-.656.557-.661.934-.006.395.323.798.754.924.197.057.241.057.439 0 .871-.253 1.013-1.397.219-1.77-.217-.102-.573-.144-.751-.088",fillRule:"evenodd"})))}},danger:{color:"var(--color-red-500)",icon:function(e){return z.createElement("svg",ey({width:25,height:24,viewBox:"0 0 25 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),m||(m=z.createElement("path",{d:"M11.521 1.922a10.11 10.11 0 0 0-7.497 4.474c-.749 1.121-1.354 2.743-1.571 4.209-.078.522-.063 2.204.024 2.708.397 2.319 1.317 4.106 2.961 5.749 1.257 1.258 2.46 2.015 4.04 2.543a9.927 9.927 0 0 0 8.668-1.168 8.737 8.737 0 0 0 1.453-1.178c1.563-1.537 2.505-3.36 2.906-5.623.117-.659.127-2.253.018-2.948-.273-1.757-1.032-3.487-2.123-4.839-.407-.505-1.437-1.517-1.896-1.863-1.052-.793-2.26-1.402-3.39-1.711-1.218-.334-2.489-.458-3.593-.353m2.585 2.261c3.176.671 5.59 3.107 6.227 6.284.541 2.695-.403 5.573-2.437 7.435-3.331 3.048-8.583 2.724-11.466-.708a8.039 8.039 0 0 1-1.704-7.006c.651-2.839 2.879-5.142 5.706-5.897.817-.218 1.109-.248 2.193-.23.85.014 1.045.03 1.481.122M9.225 8.046c-.346.08-.664.466-.711.863-.052.439-.045.449 1.333 1.832l1.257 1.262-1.148 1.134c-.631.624-1.211 1.226-1.288 1.339-.27.394-.216.856.142 1.214.357.357.821.412 1.211.143.11-.076.714-.655 1.34-1.288l1.139-1.149 1.136 1.147c.624.631 1.227 1.211 1.34 1.288.377.259.827.217 1.192-.111a.99.99 0 0 0 .332-.771c0-.316-.09-.429-1.365-1.709l-1.237-1.241 1.234-1.239c.678-.681 1.254-1.279 1.279-1.329.074-.144.102-.521.052-.706-.052-.192-.327-.529-.507-.622-.14-.072-.684-.083-.86-.017-.064.024-.675.6-1.356 1.28l-1.239 1.236-1.261-1.255c-.949-.945-1.292-1.26-1.386-1.278-.287-.053-.468-.06-.629-.023",fillRule:"evenodd"})))}}};var eN=n(70143),ex=n.n(eN);let eC=e=>{let{isLight:t,size:n="XS",status:r="time",onClose:l,title:i,link:o,description:a,caption:s,isClose:c}=e,u=eE[r],d=u.icon;return(0,C.jsxs)("div",{className:(0,P.Z)(ex().wrapper,{[ex().light]:t},ex()[r],ex()[n]),children:[(0,C.jsx)("div",{children:(0,C.jsx)(K,{className:ex().icons,children:(0,C.jsx)(d,{fill:u.color})})}),(0,C.jsxs)("div",{className:(0,P.Z)(ex().container),children:[i&&(0,C.jsx)("div",{className:ex().title,children:i}),s&&(0,C.jsx)("div",{className:ex().caption,children:s}),a&&(0,C.jsx)("div",{className:ex().description,children:a}),o&&(0,C.jsx)("a",{href:o,className:ex().link,children:"Подробнее"})]}),c&&(0,C.jsx)("div",{role:"button",tabIndex:0,onClick:l||void 0,className:ex().close,children:(0,C.jsx)(K,{className:ex().icons,children:(0,C.jsx)(ef,{})})})]})};function eS(){return(eS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}eC.displayName="Notification";var eT=function(e){return z.createElement("svg",eS({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),f||(f=z.createElement("path",{d:"M7.466 19.551A1.478 1.478 0 0 1 7 18.481c0-.401.167-.786.466-1.07l5.667-5.449L7.466 6.59A1.479 1.479 0 0 1 7 5.52c0-.401.167-.786.466-1.07.148-.142.325-.255.52-.332a1.677 1.677 0 0 1 1.232 0c.195.077.372.19.52.332l6.788 6.435c.15.141.27.31.35.494a1.45 1.45 0 0 1 0 1.168c-.08.185-.2.353-.35.494L9.74 19.55a1.609 1.609 0 0 1-.521.332 1.678 1.678 0 0 1-1.232 0 1.609 1.609 0 0 1-.52-.332Z",fill:"currentColor"})))};function ew(){return(ew=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}var eL=function(e){return z.createElement("svg",ew({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),v||(v=z.createElement("path",{d:"m4 12 6 6L20 6",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))};function ek(){return(ek=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}var eP=function(e){return z.createElement("svg",ek({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},e),h||(h=z.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.29 15.606a6.44 6.44 0 1 1 1.316-1.316l3.736 3.736a.93.93 0 0 1-1.316 1.316l-3.737-3.736Zm.445-5.165a4.294 4.294 0 1 1-8.588 0 4.294 4.294 0 0 1 8.588 0Z",fill:"currentColor"})))};let eI=e=>{let{isOpenPopup:t,multiple:n,optionsList:r,defaultPointedIndex:l,onTogglePopup:i,onSelectedItem:o,onClearCallBack:a}=e,[s,c]=(0,S.useState)({index:l,trigger:"key"}),{index:u,trigger:d}=s,p=(0,S.useRef)(r.length);(0,S.useEffect)(()=>{t||null===l||n||(c({index:l,trigger:"key"}),p.current=r.length),p.current!==r.length&&t&&(p.current=r.length,c({index:0,trigger:"key"}))},[r.length,t,l,n]);let _=(0,S.useCallback)(()=>{if(!t){i();return}null!==u&&(o(r[u]),a())},[t,r,u,o,a,i]),m=(0,S.useCallback)(()=>{t&&i(!0)},[t,i]),f=(0,S.useCallback)(()=>{t&&r.length&&(c(e=>{let{index:t}=e;return null===t?{trigger:"key",index:0}:t+1<r.length?{trigger:"key",index:t+1}:t+1===r.length?{trigger:"key",index:0}:{trigger:"key",index:t}}),a())},[t,a,r.length]),v=(0,S.useCallback)(()=>{t&&r.length&&(c(e=>{let{index:t}=e;return null===t?{trigger:"key",index:0}:t+1>r.length?{trigger:"key",index:t-1}:0===t?{trigger:"key",index:r.length-1}:t+1<=r.length?{trigger:"key",index:t-1}:{trigger:"key",index:t}}),a())},[t,a,r.length]);return{pointedItemIndex:u,pointedTrigger:d,setPointedItem:c,handleKeyNavigation:e=>{e.stopPropagation();let t=e||window.event;switch(e.key){case"Escape":m();break;case"Enter":_();break;case"ArrowDown":t.preventDefault(),f();break;case"ArrowUp":t.preventDefault(),v();break;default:return}}}},eA=e=>{let{isOpenPopup:t,isMobile:n=!1,multiple:r,scrollValue:l,selectedItemIndex:i,pointedItemIndex:o,pointedTrigger:a,container:s,element:c}=e,u=(0,S.useCallback)(e=>{s&&e>=0&&c.current&&null!==c.current&&c.current.scrollIntoView({block:"nearest",inline:"nearest"})},[s,c]);return(0,S.useEffect)(()=>{let e;!r&&t&&e!==i&&"number"==typeof i&&(e=i,u(i))},[s,c,t,r,u,i]),(0,S.useEffect)(()=>{let e;!n&&t&&e!==o&&"number"==typeof o&&"key"===a&&(e=o,u(o))},[n,s,c,t,o,a,u]),(0,S.useEffect)(()=>{let e;r&&t&&s.current&&e!==l&&(e=l,s.current.scrollTo({top:l}))},[s,t,r,l]),null};var ej=n(60205),eR=n.n(ej);let eO="calc(100% + ".concat(8,"px)"),eM=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20,t=null;return n=>{t&&clearInterval(t),t=setTimeout(n,e)}}(),eD=(0,S.memo)(e=>{let{onSearch:t,onChange:n=()=>null,options:r,optionsEmptyText:l,multiple:i=!1,search:o=!1,defaultOpen:a=!1,autoFocus:s=!1,value:c,popupHeight:u=312,className:d,removeLineHeight:p,onClose:_,onOpen:m,...f}=e,v=(0,S.useRef)(!1),[h,g]=(0,S.useState)(()=>null!=c?c:null),[b,y]=(0,S.useState)(""),[E,N]=(0,S.useState)(s||a),[x,T]=(0,S.useState)(!1),[w,L]=(0,S.useState)(null),[k,j]=(0,S.useState)(()=>h?r.filter(e=>h.find(t=>String(t.value)===String(e.value))):null),[R,O]=(0,S.useState)(0),[M,D]=(0,S.useState)({mouseX:void 0,mouseY:void 0,isDisplaced:!0}),B=E&&!!r.length,F=(0,S.useCallback)(e=>{x||(y(""),N(!1),null==_||_()),(null==e?void 0:e.current)&&i&&B&&O(e.current.scrollTop)},[x,B,i,_]),U=(0,S.useRef)(null),Z=(0,S.useRef)(null),G=(0,S.useRef)(null),W=I(F),H=(0,S.useMemo)(()=>o&&E?eP:eT,[E,o]),X=(0,S.useMemo)(()=>o&&b&&""!==b?r.filter(e=>-1!==String(e.label).toLocaleLowerCase().indexOf(b.toLocaleLowerCase())):r,[b,r,o]),z=(0,S.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(D({mouseX:void 0,mouseY:void 0,isDisplaced:!0}),N(t=>!e&&!t),T(t=>!e&&!t),e){var t;null===(t=U.current)||void 0===t||t.blur()}(null==W?void 0:W.current)&&i&&B&&O(W.current.scrollTop),e&&(null==_||_())},[W,i,B,_]),Y=(0,S.useCallback)(e=>{if(i)j(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(!t)return[e];let r=t.findIndex(t=>String(t.label).toLocaleLowerCase()===String(e.label).toLocaleLowerCase());if(r>=0){let e=[...t.slice(0,r),...t.slice(r+1)];return e.length||(g(null),L(null),j(null),n(null)),e}return[...t,e]});else{let t=[],l=r.find(t=>String(t.value).trim().toLocaleLowerCase()===String(e.value).trim().toLocaleLowerCase());t=l?[l]:[];let i=r.findIndex(e=>{var n;return e.label.toLocaleLowerCase()===(null===(n=t[0])||void 0===n?void 0:n.label.toLocaleLowerCase())});L(i>=0?i:null),g([e]),j([e]),n(c&&e.value===c[0].value?null:t),z(!0),y("")}},[z,i,n,r,c]),V=(0,S.useCallback)(()=>{n(k),z(!0)},[z,n,k]),q=e=>{e.preventDefault(),et(e=>({...e,trigger:"mouse"})),D(t=>{let n=void 0===t.mouseX&&void 0===t.mouseY||!(t.mouseX===e.screenX&&t.mouseY===e.screenY);return{...t,mouseX:e.screenX,mouseY:e.screenY,isDisplaced:n}})},{pointedItemIndex:Q,pointedTrigger:J,setPointedItem:et,handleKeyNavigation:en}=eI({isOpenPopup:B,multiple:i,optionsList:X,defaultPointedIndex:w,onTogglePopup:z,onSelectedItem:Y,onClearCallBack:()=>D(e=>({...e,isDisplaced:!1}))}),er=(0,S.useCallback)(()=>{g(null),L(null),et({index:null,trigger:"key"}),O(0),j(null),z(!0),n(null)},[z,n,et]);eA({isOpenPopup:B,multiple:i,scrollValue:R,selectedItemIndex:w,pointedItemIndex:Q,pointedTrigger:J,container:W,element:G});let el=(0,S.useMemo)(()=>(null==k?void 0:k.length)&&!B?i?"":k[0].label:b,[k,b,i,B]),ei=(0,S.useMemo)(()=>{if(!(null==k?void 0:k.length))return b;let e=k.length;return i?1===e?k[0].label:"Выбрано (".concat(e,")"):B&&!b.length?k[0].label:b},[B,i,b,k]),eo={readOnly:!o,addonAfter:(0,C.jsx)(K,{className:(0,P.Z)(eR().icon,{[eR().iconRotate]:!o&&E}),children:(0,C.jsx)(H,{})}),onChange:e=>{y(e.currentTarget.value)},autoFocus:E,inputType:"select",inputClear:()=>i?y(""):er(),value:el,placeholder:ei,onFocus:()=>o&&N(!0),onClick:()=>{o?E||N(!0):N(e=>!e)},autoComplete:"off",innerRef:U,...f};(0,S.useEffect)(()=>{v.current?(g(c),j(c?r.filter(e=>c.find(t=>String(t.value)===String(e.value))):null)):v.current=!0},[r,c]);let[ea,es]=(0,S.useState)(0),[ec,eu]=(0,S.useState)(null),ed=(0,S.useRef)(null);(0,S.useEffect)(()=>{let e=()=>{eM(()=>es(window.scrollY))};return B?window.addEventListener("scroll",e,!1):window.removeEventListener("scroll",e,!1),()=>window.removeEventListener("scroll",e,!1)},[B]),(0,S.useEffect)(()=>{if(!ed.current||!U.current)return;let e=U.current.getBoundingClientRect(),t=ed.current.getBoundingClientRect(),n=window.innerHeight,r={top:"unset",right:"0",left:"0",bottom:"unset"},l=n-(null==e?void 0:e.top)-8-e.height;!(document.querySelectorAll("[data-portal]").length>0)&&(n<(t.height+8)*2+e.height?(null==e?void 0:e.top)>l:l<t.height)?r.bottom="70px":r.top=eO,eu(r)},[B,ea]);let ep=ec||{top:eO,left:"0",right:"0"};return(0,S.useEffect)(()=>{B&&(null==m||m())},[B,m]),(0,S.useEffect)(()=>{null==t||t(b)},[b]),(0,C.jsxs)("div",{className:(0,P.Z)(eR().select,d),onMouseEnter:()=>T(!0),onMouseLeave:()=>T(!1),onKeyDown:e=>en(e),children:[(0,C.jsx)("div",{className:eR().inputcontainer,children:(0,C.jsx)($,{...eo})}),B&&(0,C.jsxs)("div",{className:eR().popup,ref:ed,style:{maxHeight:u+"px",...ep},children:[(0,C.jsxs)("div",{ref:W,className:eR().popupContent,style:{maxHeight:u-(i?100:20)+"px"},children:[0===X.length&&(0,C.jsx)("div",{className:eR().emptyList,children:l||"Нет совпадений"}),X.length>0&&(0,C.jsx)("ul",{className:eR().optionsList,ref:Z,children:X.map((e,t)=>{let n=!1;if(i)n=!!(null==k?void 0:k.find(t=>String(t.value)===String(e.value)));else if(h){var r;n=String(null===(r=h[0])||void 0===r?void 0:r.value)===String(e.value)}return(0,C.jsx)("li",{onMouseLeave:q,onMouseEnter:e=>{e.stopPropagation(),M.isDisplaced&&et({index:t,trigger:"mouse"})},ref:Q===t?G:void 0,className:(0,P.Z)(eR().optionsItem,{[eR().targetOptionsItem]:Q===t,[eR().selectedOptionsItem]:n,[eR().removeLineHeight]:p}),children:(0,C.jsxs)("button",{onClick:()=>Y(e),children:[i&&(0,C.jsx)("span",{className:(0,P.Z)(eR().checkbox,{[eR().active]:n}),children:n&&(0,C.jsx)(K,{className:eR().marker,children:(0,C.jsx)(eL,{})})}),e.label]})},e.value)})})]}),i&&!!(null==k?void 0:k.length)&&(0,C.jsxs)("div",{className:eR().popupActions,children:[(0,C.jsx)(ee.zx,{size:"xs",iconLeft:(0,C.jsx)(A.IconTrash,{}),shape:"icon",variant:"secondary",onClick:er}),(0,C.jsx)(ee.zx,{size:"xs",onClick:V,label:"Применить (".concat(k.length,")")})]})]})]})});eD.displayName="Desktop";var eB=n(83138),eF=n.n(eB);let eU=(0,S.memo)(e=>{let{onSearch:t,onChange:n=()=>null,options:r,optionsEmptyText:l,multiple:i=!1,search:o=!1,defaultOpen:a=!1,autoFocus:s=!1,value:c,className:u,removeLineHeight:d,onClose:p,onOpen:_,...m}=e,f=(0,S.useRef)(!1),[v,h]=(0,S.useState)(()=>null!=c?c:null),[g,b]=(0,S.useState)(""),[y,E]=(0,S.useState)(!1),[N,x]=(0,S.useState)(s||a),[T,w]=(0,S.useState)(a),[L,k]=(0,S.useState)(null),[I,j]=(0,S.useState)(()=>v?r.filter(e=>v.find(t=>String(t.value)===String(e.value))):null),[R,O]=(0,S.useState)(0),M=(0,S.useRef)(null),D=(0,S.useRef)(null),B=(0,S.useRef)(null),F=(0,S.useMemo)(()=>N&&!!r.length,[N,r.length]),U=(0,S.useMemo)(()=>o&&g&&""!==g?r.filter(e=>-1!==String(e.label).toLocaleLowerCase().indexOf(g.toLocaleLowerCase())):r,[g,r,o]),Z=(0,S.useCallback)(e=>{setTimeout(()=>x(t=>!e&&!t),300),E(t=>!e&&!t),w(t=>!e&&!t),T||(E(!1),x(!1),b("")),(null==B?void 0:B.current)&&i&&F&&O(B.current.scrollTop),e&&(null==p||p())},[T,i,F,p]),G=(0,S.useCallback)(()=>{setTimeout(()=>E(!0),600),x(!0),w(!0)},[]),W=(0,S.useCallback)(e=>{if(i)j(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(!t)return[e];let r=t.findIndex(t=>String(t.label).toLocaleLowerCase()===String(e.label).toLocaleLowerCase());return r>=0?([...t.slice(0,r),...t.slice(r+1)].length||(h(null),k(null),j(null),n(null)),[...t.slice(0,r),...t.slice(r+1)]):[...t,e]});else{let t=[],l=r.find(t=>String(t.value).trim().toLocaleLowerCase()===String(e.value).trim().toLocaleLowerCase());t=l?[l]:[];let i=r.findIndex(e=>{var n;return e.label.toLocaleLowerCase()===(null===(n=t[0])||void 0===n?void 0:n.label.toLocaleLowerCase())});k(i>=0?i:null),h([e]),j([e]),n(c&&e.value===c[0].value?null:t),b(""),setTimeout(()=>Z(!0),300)}},[Z,i,n,r,c]),H=(0,S.useCallback)(()=>{n(I),Z(!0)},[Z,n,I]),X=(0,S.useCallback)(()=>{h(null),k(null),O(0),j(null),Z(!0),n(null)},[Z,n]);eA({isMobile:!0,isOpenPopup:F,multiple:i,scrollValue:R,selectedItemIndex:L,container:B,element:D});let z=(0,S.useMemo)(()=>(null==I?void 0:I.length)&&!F?i?"":I[0].label:g,[I,g,i,F]),Y=(0,S.useMemo)(()=>(null==I?void 0:I.length)?1===I.length?I[0].label:i?"Выбрано (".concat(I.length,")"):"":"",[i,I]),V=(0,S.useMemo)(()=>{if(!(null==I?void 0:I.length))return g;let e=I.length;return 1===e?I[0].label:i?"Выбрано (".concat(e,")"):F&&!g.length?I[0].label:g},[F,i,g,I]);return(0,S.useEffect)(()=>{f.current?(h(c),j(c?r.filter(e=>c.find(t=>String(t.value)===String(e.value))):null)):f.current=!0},[r,c]),(0,S.useEffect)(()=>{F&&(null==_||_())},[F,_]),(0,S.useEffect)(()=>{null==t||t(g)},[g]),(0,C.jsxs)("div",{className:(0,P.Z)(eF().select,u),children:[(0,C.jsx)("div",{className:(0,P.Z)(eF().inputcontainer,eF().inputButton),children:(0,C.jsx)($,{readOnly:!o,addonAfter:(0,C.jsx)(K,{className:eF().icon,children:(0,C.jsx)(eT,{})}),inputType:"button",inputClear:X,value:Y,onClick:G,autoComplete:"off",type:"button",...m})}),F&&(0,C.jsx)(en.h,{children:(0,C.jsx)(er.j,{full:!0,className:eF().popup,isOpen:T,onClose:()=>Z(!0),children:(0,C.jsxs)("div",{className:eF().window,children:[(0,C.jsx)("div",{className:eF().safeAreaLine}),(0,C.jsx)("div",{className:(0,P.Z)(eF().inputcontainer,eF().inputPopup),children:(0,C.jsx)($,{readOnly:!o,addonAfter:(0,C.jsx)(K,{className:(0,P.Z)({[eF().iconRotate]:!o}),children:o?(0,C.jsx)(eP,{}):(0,C.jsx)(eT,{})}),onChange:e=>b(e.currentTarget.value),autoFocus:y,inputType:"select",inputClear:()=>b(""),value:z,placeholder:V,onFocus:()=>E(!0),onClick:()=>!y&&E(!0),autoComplete:"off",...m})}),(0,C.jsxs)("div",{ref:B,className:eF().content,children:[0===U.length&&(0,C.jsx)("div",{className:eF().empty,children:l||"Нет совпадений"}),U.length>0&&(0,C.jsx)("ul",{className:(0,P.Z)(eF().optionsList,{[eF().multipleList]:i}),ref:M,children:U.map((e,t)=>{let n=!1;if(i)n=!!(null==I?void 0:I.find(t=>String(t.value)===String(e.value)));else if(v){var r;n=String(null===(r=v[0])||void 0===r?void 0:r.value)===String(e.value)}return(0,C.jsx)("li",{ref:L===t?D:void 0,className:(0,P.Z)(eF().optionsItem,{[eF().selectedOptionsItem]:n,[eF().removeLineHeight]:d}),children:(0,C.jsxs)("button",{onClick:()=>W(e),children:[i&&(0,C.jsx)("span",{className:(0,P.Z)(eF().checkbox,{[eF().active]:n}),children:n&&(0,C.jsx)(K,{className:eF().marker,children:(0,C.jsx)(eL,{})})}),e.label]})},e.value)})})]}),i&&!!(null==I?void 0:I.length)&&(0,C.jsxs)("div",{className:eF().popupActions,children:[(0,C.jsx)(ee.zx,{iconLeft:(0,C.jsx)(A.IconTrash,{}),shape:"icon",variant:"secondary",onClick:X}),(0,C.jsx)(ee.zx,{onClick:H,label:"Применить (".concat(I.length,")")})]})]})})})]})});eU.displayName="Mobile";let eZ=(0,S.memo)(e=>{let{isMobile:t,...n}=e;return t?(0,C.jsx)(eU,{...n}):(0,C.jsx)(eD,{...n})});eZ.displayName="UiSelect";var eG=n(36578),eW=n(36378),eH=n(70104);let eX=e=>"string"==typeof e.value,ez=e=>"options"in e,eY=e=>"setDate"in e,eV=e=>{var t,n;let{data:r,state:l,isTransport:i,transportType:o,className:a}=e,{label:s,multi:c}=r,u={};return i&&(u={mask:"car"===o?"carNumber":"bikeNumber",maxLength:"car"===o?12:10,maskPlaceholder:"car"===o?"A 000 AA 00":"0000 AA 00"}),(0,C.jsxs)(C.Fragment,{children:[eX(l)&&(0,C.jsx)($,{size:"middle",label:s,className:a,value:l.isFocused?l.value:l.formattedValue,status:l.error?"error":void 0,message:null!==(t=l.error)&&void 0!==t?t:"",addonAfter:"number"==typeof l.percentValue?"".concat((0,eH.zd)(Number(l.percentValue),1),"%").replace(".",","):void 0,...l.events,...u}),ez(l)&&(0,C.jsx)(eZ,{size:"middle",label:s,className:a,options:l.options,value:l.value,onChange:l.set,search:c,multiple:c}),eY(l)&&(0,C.jsx)(eW.M,{label:s,onChange:l.setDate,value:null!==(n=l.value)&&void 0!==n?n:void 0})]})};var eK=n(52093),eq=n.n(eK);let eQ=(0,S.memo)(e=>{let{list:t,className:n,isMobile:r,allLength:l}=e,i=r?t.slice(0,3):t;return(0,C.jsxs)("div",{className:(0,P.Z)(eq().container,n),children:[i.map(e=>(0,C.jsx)("picture",{className:eq().item,children:(0,C.jsx)("img",{className:eq().img,src:e.src,alt:e.name,width:48,height:48})},e.id)),(0,C.jsxs)("div",{className:(0,P.Z)(eq().item,eq().itemNum),children:["+",l-t.length]})]})});function eJ(){return(eJ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}eQ.displayName="LogosList";var e$=function(e){return z.createElement("svg",eJ({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},e),g||(g=z.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.233 3.455A1 1 0 0 1 20 4.43v7.45a9 9 0 0 1-3.77 7.33l-3.65 2.6a1 1 0 0 1-1.16 0l-3.65-2.6A9 9 0 0 1 4 11.88V4.43a1 1 0 0 1 1.21-.98 8 8 0 0 0 6.22-1.27 1 1 0 0 1 1.14 0 8 8 0 0 0 6.22 1.27 1 1 0 0 1 .443.005ZM10.85 12.29l2.69-2.7.04-.01A1.004 1.004 0 1 1 15 11l-3.44 3.41a1.001 1.001 0 0 1-1.42 0l-1.6-1.6a1.004 1.004 0 0 1 1.42-1.42l.89.9Z",fill:"currentColor"})))},e0=n(66178),e1=n.n(e0);let e2=(0,S.memo)(e=>{let{text:t,className:n}=e;return(0,C.jsxs)("div",{className:(0,P.Z)(e1().wrapper,n),children:[(0,C.jsx)(K,{className:e1().icon,children:(0,C.jsx)(e$,{})}),(0,C.jsx)("p",{className:e1().text,children:t})]})});e2.displayName="ProductNote",(r=b||(b={})).deposits="deposits",r.credits="credits",r.microloans="microloans",r.autoCredits="autoCredits",r.mortgage="mortgage",r.creditCards="creditCards",r.mortgageInsurance="mortgageInsurance",r.osago="osago",r["casсo"]="casсo",r.savingsAccounts="savingsAccounts",r.debitCards="debitCards",(l=y||(y={})).amount="amount",l.firstPayment="firstPayment",l.limit="limit",l.gracePeriod="gracePeriod",l.creditBalance="creditBalance",l.license="license",(i=E||(E={})).period="period",i.periodDays="periodDays",i.propertyType="propertyType",i.region="region",i.realEstateMarket="realEstateMarket",i.bankUrl="bankUrl",i.bankId="bankId",i.discounts="discounts",i.cardType="cardType",i.transportType="transportType",(N||(N={})).birthDate="birthDate",(o=x||(x={}))[o.bike=0]="bike",o[o.auto=1]="auto";var e3=n(71238),e4=n.n(e3);let e5=e=>e in b,e6=(0,S.memo)(e=>{let{className:t,active:n,onChange:r,isMobile:l,chips:i,searchTags:o,mainProducts:a}=e,[s,c]=(0,S.useState)(!1),[u,d]=(0,S.useState)(!1),p=(0,S.useMemo)(()=>[{id:"search",label:"Поиск"},...i],[i]),_=!!((null==a?void 0:a.length)&&p.length>1),{buttonRef:m,chipsRef:f,containerRef:v,isOverflow:h,minLength:g}=(0,X.J)({length:p.length,gap:l?12:16,rows:l?3:1,isActive:!(null==a?void 0:a.length)}),b=_&&a?a.length+1:g,y=p.length-b,E=e=>t=>{t&&(f.current[e]=t)},N=(0,S.useCallback)(()=>{d(e=>!e)},[]),x=(0,S.useCallback)(()=>{c(e=>!e)},[]);return(0,C.jsxs)(C.Fragment,{children:[(!s||l)&&(0,C.jsxs)("div",{className:(0,P.Z)(e4().chipsContainer,!u&&e4().chipsContainerClosed,t),ref:v,children:[p.slice(0,!u&&(h||_)?b:p.length).map((e,t)=>{let{id:i}=e;return e5(i)?(0,C.jsx)("button",{className:e4().chipButtonElement,onClick:()=>r(i),ref:E(t),type:"button",children:(0,C.jsx)(ee.Vp,{className:e4().chip,label:e.label,variant:n===e.id?"primary":"secondary",size:l?"m":"l",rounded:!0})},i):(0,C.jsx)("button",{className:(0,P.Z)(e4().chipButtonElement,e4().chipSearch),onClick:x,ref:E(t),type:"button",children:(0,C.jsx)(ee.Vp,{className:e4().chip,label:e.label,variant:"secondary",size:l?"m":"l",rounded:!0})},i)}),(h||_)&&y>0&&(0,C.jsx)("div",{ref:m,children:(0,C.jsx)("button",{className:e4().chipButtonElement,onClick:N,type:"button",children:(0,C.jsx)(ee.Vp,{className:(0,P.Z)(e4().chip,e4().chipButton),label:u?"Скрыть":"Ещё",variant:"secondary",size:l?"m":"l",rounded:!0})})})]}),s&&!!(null==o?void 0:o.length)&&(0,C.jsx)("div",{className:(0,P.Z)(e4().search,t),children:null==o?void 0:o.map(e=>(0,C.jsx)("a",{className:e4().searchLink,href:e.data.url,children:e.data.text},"".concat(e.type,"-").concat(e.data.url)))})]})});e6.displayName="ProductsChips";var e7=n(61863),e8=n.n(e7);let e9=(0,S.memo)(e=>{let{className:t}=e;return(0,C.jsxs)("p",{className:(0,P.Z)(e8().transportText,t),children:["У меня"," ",(0,C.jsx)("a",{className:e8().transportTextLink,target:"_self",href:"https://osago.finuslugi.ru/kalkulyator_osago_first",rel:"noreferrer",children:"нет номера"})]})});e9.displayName="TransportText";let te={[b.deposits]:{url:"/vklady/api/deposits/info?archive=1",key:["currentLength"]},[b.savingsAccounts]:{url:"/vklady/api/deposits/info?refill=1&archive=1",key:["currentLength"]},[b.debitCards]:{url:"/vklady/api/debitCards/info?archive=1",key:["currentLength"]},[b.credits]:{url:"/kredity/api/credits/info?archive=1",key:["currentLength"]},[b.microloans]:{url:"/kredity/api/microloans/info?archive=1",key:["currentLength"]},[b.autoCredits]:{url:"/kredity/api/autoCredits/info?archive=1",key:["currentLength"]},[b.creditCards]:{url:"/kredity/api/creditCards/info?archive=1",key:["currentLength"]},[b.mortgage]:{url:"/kredity/api/mortgages/info?archive=1",key:["currentLength"]}},tt=[{value:"car",label:"Автомобиль"},{value:"bike",label:"Мотоцикл"}],tn=[{value:"",label:"Не имеет значения"},{value:1,label:"1 месяц"},{value:2,label:"2 месяца"},{value:3,label:"3 месяца"},{value:4,label:"4 месяца"},{value:5,label:"5 месяцев"},{value:6,label:"6 месяцев"},{value:9,label:"9 месяцев"},{value:12,label:"1 год"},{value:18,label:"1,5 года"},{value:24,label:"2 года"},{value:36,label:"3 года"},{value:48,label:"4 года"},{value:60,label:"5 лет"}],tr=[{value:"flat",label:"Квартира"},{value:"townhouse",label:"Таунхаус"},{value:"cottage",label:"Загородный дом или коттедж"},{value:"room",label:"Комната или доля"},{value:"apartment",label:"Апартаменты"},{value:"commercial",label:"Коммерческая недвижимость"},{value:"garage",label:"Гараж"},{value:"custom",label:"Другое"}],tl=[{value:"primary",label:"Первичный"},{value:"secondary",label:"Вторичный"}],ti=[{value:"travels",label:"Путешествия"},{value:"refuellings",label:"Заправки"},{value:"trade_networks",label:"Торговые сети"},{value:"charity",label:"Благотворительность"},{value:"discount_program",label:"Дисконтная программа"},{value:"custom",label:"Другое"}],to=[{id:b.deposits,label:"Вклады",buttons:[{type:"length",href:"/vklady",paramsType:"query"}],fields:[{id:y.amount,label:"Сумма",paramsName:"amount"},{id:E.period,label:"Срок",paramsName:"term"}]},{id:b.credits,label:"Кредиты",buttons:[{type:"length",href:"/potrebitelskie_kredity",paramsType:"query"}],fields:[{id:y.amount,label:"Сумма",paramsName:"amount"},{id:E.period,label:"Срок",paramsName:"period"}]},{id:b.microloans,label:"Займы",company:"mfo",buttons:[{type:"length",href:"/mikrozajmy",paramsType:"hash"}],fields:[{id:y.amount,label:"Сумма",paramsName:"amount"},{id:E.periodDays,label:"Срок",paramsName:"period"}]},{id:b.autoCredits,label:"Автокредиты",buttons:[{type:"length",href:"/avtokredity",paramsType:"query"}],fields:[{id:y.amount,label:"Сумма",paramsName:"amount"},{id:y.firstPayment,label:"Первый взнос",paramsName:"first_payment"},{id:E.period,label:"Срок",paramsName:"period"}]},{id:b.mortgage,label:"Ипотека",buttons:[{type:"length",href:"/ipoteka",paramsType:"hash"}],fields:[{id:y.amount,label:"Сумма кредита от",paramsName:"amount"},{id:y.firstPayment,label:"Первый взнос",paramsName:"first_payment"},{id:E.period,label:"Срок",paramsName:"period"},{id:E.propertyType,label:"Тип недвижимости",paramsName:"property_type",multi:!0},{id:E.region,label:"Мое местоположение",paramsName:"region"},{id:E.realEstateMarket,label:"Рынок недвижимости",paramsName:"real_estate_market",multi:!0}]},{id:b.creditCards,label:"Кредитные карты",buttons:[{type:"length",href:"/kreditnye_karty",paramsType:"query"}],fields:[{id:y.limit,label:"Кредитный лимит не менее",paramsName:"card_limit"},{id:y.gracePeriod,paramsName:"grace_period",label:"Льготный период не менее"}]},{id:b.mortgageInsurance,label:"Страхование ипотеки",note:"Что можно застраховать: недвижимость, жизнь и здоровье, либо всё сразу.",buttons:[{type:"default",text:"Рассчитать",href:"https://mortgage.finuslugi.ru/?from=promo&promo_code=finuslugi",paramsType:"query"}],fields:[{id:E.bankUrl,label:"Ваш банк-кредитор",paramsName:"promo_bankCode"},{id:N.birthDate,paramsName:"promo_birthDate",label:"Ваша дата рождения"},{id:y.creditBalance,label:"Остаток кредита",paramsName:"promo_creditSum"}]},{id:b.osago,title:"Онлайн калькулятор ОСАГО",label:"ОСАГО",buttons:[{type:"default",text:"Рассчитать",href:"https://osago.finuslugi.ru/kalkulyator_osago_first",paramsType:"hash"}],fields:[{id:y.license,paramsName:"license"}]},{id:b.casсo,title:"Онлайн калькулятор КАСКО",label:"КАСКО",buttons:[{type:"default",text:"Рассчитать",href:"https://kasko.finuslugi.ru/auto-parameters",paramsType:"query"}],fields:[{id:y.license,paramsName:"license"}]},{id:b.savingsAccounts,label:"Накопительные счета",buttons:[{type:"length",href:"/vklady/teg_nakopitelnye",paramsType:"query"}],fields:[{id:y.amount,label:"Сумма",paramsName:"amount"},{id:E.period,label:"Срок",paramsName:"term"}]},{id:b.debitCards,label:"Дебетовые карты",buttons:[{type:"length",href:"/debetovye_karty",paramsType:"hash"}],fields:[{id:E.discounts,label:"Скидки и бонусы",paramsName:"discounts"},{id:E.cardType,label:"Тип карты",paramsName:"card_type"},{id:E.bankId,paramsName:"bank",label:"Банки",multi:!0},{id:E.region,paramsName:"region",label:"Мое местоположение"}]}],ta=e=>e in y,ts=e=>e in E,tc=e=>e in N,tu=(e,t)=>{let n="?";e.includes("#")&&(!e.includes("?")||e.indexOf("#")<e.indexOf("?"))&&(n="#");let[r,l]=e.split(n),i=["".concat(r).concat(t?"/reg_".concat(t):"")];return l&&i.push(l),i.join(n)},td=["sberbank","vtb","gazprombank","alfabank","mkb","rosselhozbank","sovcombank","rossijskij_kapital","rosbank","yandeks_bank"],tp=e=>{let{url:t}=e;return td.includes(t)},t_=e=>{let{url:t,logo_mob:n,logo:r,name:l}=e,i=n||r;return(null==i?void 0:i.includes("http"))?{id:t,src:i,name:l}:null},tm=e=>{let t=[],n=[];return[...e].sort(()=>.5-Math.random()).forEach(e=>{let r=t_(e);if(!r)return;let l=tp(e);l&&t.length<4&&t.push(r),!l&&n.length<6&&n.push(r)}),n=n.slice(0,6-t.length),[...t,...n].sort(()=>.5-Math.random())};var tf=n(90716),tv=n(64671);let th=(e,t)=>({...e,buttons:e.buttons.map(e=>{if(!e.paramsType||!e.href)return e;let n="hash"===e.paramsType?"#":"?",r=t?"".concat(e.href).concat(e.href.includes(n)?"&":n).concat(t):e.href;return{...e,href:r}})}),tg=function(e,t,n,r){let l=!(arguments.length>4)||void 0===arguments[4]||arguments[4];return e.fields.map(e=>{var i,o,a,s,c,u;let d="";if(ta(e.id)&&(d=null!==(i=t[e.id].percentValue)&&void 0!==i?i:t[e.id].value),ts(e.id)&&e.id!==E.region&&(d=null!==(a=null===(o=n[e.id].value)||void 0===o?void 0:o.map(e=>e.value).join(","))&&void 0!==a?a:null),e.id===E.region&&l){let t=[],[r,l]=String(null!==(c=null===(s=n[e.id].value)||void 0===s?void 0:s[0].value)&&void 0!==c?c:"").split("/");return r&&t.push("region=".concat(r)),l&&t.push("town=".concat(l)),t.join("&")}if(tc(e.id)){let t=r[e.id].value;d=t&&t.toLocaleDateString("ru-RU")}return d?"".concat(null!==(u=e.paramsName)&&void 0!==u?u:e.id,"=").concat(d):null}).filter(e=>e).join("&")},tb=()=>{let[e,t]=(0,S.useState)(),n=(0,S.useCallback)(()=>{t(null)},[]);return[{[N.birthDate]:{setDate:t,value:e}},n]};var ty=n(50487);let tE=()=>{let e=(0,ty.G)({format:"currency",maxLength:20,type:"int",unit:"₽"}),t=(0,ty.G)({format:"currency",maxLength:20,type:"int",unit:"₽"}),n=e.value?Number(t.value)/(Number(e.value)/100):0;Number.isInteger(n)||(n=Number(n.toFixed(5)));let r=(0,ty.G)({format:"currency",maxLength:20,type:"int",unit:"₽"}),l=(0,ty.G)({format:"currency",maxLength:20,type:"int",unit:"day"}),i=(0,ty.G)({format:"currency",maxLength:20,type:"int",unit:"₽"}),o=(0,ty.G)(),a=(0,S.useCallback)(()=>{e.handleChange(""),t.handleChange(""),r.handleChange(""),l.handleChange(""),i.handleChange(""),o.handleChange("")},[]);return[{[y.amount]:e,[y.firstPayment]:{...t,percentValue:n,error:n>100?"Указали больше чем запрашиваете кредитных денег":null},[y.limit]:r,[y.gracePeriod]:l,[y.creditBalance]:i,[y.license]:o},a]},tN=["moskva","sankt-peterburg","novosibirsk","ekaterinburg","nizhniy_novgorod"],tx=e=>{let t=e.reduce((e,t)=>{if(e.some(e=>e.value===t.url))return e;let n=t.towns.map(e=>({label:e.name,value:"".concat(t.url,"/").concat(e.url)}));return[...e,{label:t.name,value:t.url},...n]},[]),n=[],r=[];return t.forEach(e=>{let t=tN.findIndex(t=>String(e.value).includes(t));t>-1?n[t]=e:r.push(e)}),[{label:"Вся Россия",value:""},...n.filter(Boolean),...r]},tC=e=>{let{regions:t,banks:n,cardTypes:r}=e,[l,i]=(0,S.useState)(null),[o,a]=(0,S.useState)(null),[s,c]=(0,S.useState)(null),[u,d]=(0,S.useState)(null),[p,_]=(0,S.useState)(null),[m,f]=(0,S.useState)(null),[v,h]=(0,S.useState)(null),[g,b]=(0,S.useState)(null),[y,N]=(0,S.useState)([tt[0]]),[x,C]=(0,S.useState)(null),T=(0,S.useMemo)(()=>tx(t),[t]),w=(0,S.useMemo)(()=>n.map(e=>({label:e.name,value:e.url})),[n]),L=(0,S.useMemo)(()=>n.map(e=>({label:e.name,value:e.url})),[n]),k=tn.map(e=>({label:e.label,value:"number"==typeof e.value?30*e.value:e.value})),P=(0,S.useMemo)(()=>r.map(e=>({label:e.title,value:e.id})),[r]),I=(0,S.useCallback)(()=>{i(null),a(null),c(null),d(null),_(null),f(null),h(null),b(null),N([tt[0]]),C(null)},[]);return[{[E.period]:{value:l,set:i,options:tn},[E.bankUrl]:{value:o,set:a,options:w},[E.bankId]:{value:s,set:c,options:L},[E.cardType]:{value:u,set:d,options:P},[E.discounts]:{value:p,set:_,options:ti},[E.propertyType]:{value:g,set:b,options:tr},[E.realEstateMarket]:{value:m,set:f,options:tl},[E.region]:{value:v,set:h,options:T},[E.transportType]:{value:y,set:N,options:tt},[E.periodDays]:{options:k,value:x,set:C}},I]},tS=(0,tv.b)(),tT=e=>!!e,tw=(e,t)=>{let n=t.reduce((e,t)=>"object"==typeof e&&null!==e&&t in e?e[t]:null,e);return"number"==typeof n||"string"==typeof n?Number(n):0},tL=e=>{let{regions:t,hideProducts:n,banks:r,apiConfig:l,mainProducts:i,cardTypes:o,products:a,defaultIndex:s=0}=e,c=(0,S.useRef)(null),u=(0,S.useMemo)(()=>{var e;return[...null!==(e=null==i?void 0:i.map(e=>a.find(t=>t.id===e)).filter(tT))&&void 0!==e?e:[],...a.filter(e=>!(null==i?void 0:i.includes(e.id)))].filter(e=>!(null==n?void 0:n.includes(e.id)))},[a,n,i]),[d,p]=(0,S.useState)(u[s]),[_,m]=tE(),[f,v]=tC({regions:t,banks:r,cardTypes:o}),[h,g]=tb(),[b,y]=(0,S.useState)(!1),[E,N]=(0,S.useState)(0),x=tg(d,_,f,h),C=tg(d,_,f,h,!1),T=(0,S.useMemo)(()=>th(d,C),[d,C]),w=(0,S.useCallback)(()=>{m(),v(),g()},[g,m,v]);return(0,S.useEffect)(()=>{var e;null===(e=c.current)||void 0===e||e.abort(),c.current=new AbortController,tS(async()=>{var e,t,n,r,i,o,a;y(!0),N(0);let s=null!==(i=null===(e=l[d.id])||void 0===e?void 0:e.url)&&void 0!==i?i:null===(t=te[d.id])||void 0===t?void 0:t.url,u=null!==(o=null===(n=l[d.id])||void 0===n?void 0:n.key)&&void 0!==o?o:null===(r=te[d.id])||void 0===r?void 0:r.key;if(s&&u){let{data:e}=await (0,tf.t9)("".concat(s).concat(s.includes("?")?"&":"?").concat(x),{signal:null===(a=c.current)||void 0===a?void 0:a.signal},void 0),t=tw(e,u);t&&!Number.isNaN(t)&&N(t)}y(!1)})},[d.id,l,x]),{inputs:_,selects:f,dates:h,reset:w,isLoading:b,products:u,activeProduct:T,setActiveProduct:p,length:E,hrefParams:C}};var tk=n(88599),tP=n.n(tk);let tI=(0,S.memo)(e=>{var t,n,r;let{className:l,isMobile:i,banks:o,mfo:a,hideProducts:s,carImg:c,bikeImg:u,searchTags:d,regions:p,apiConfig:_=te,mainProducts:m,cardTypes:f,baseUrl:v="https://finuslugi.ru",updatedProducts:h,defaultIndex:g,isLookOffersButtonTitle:b=!1}=e,{inputs:E,selects:N,dates:x,reset:T,isLoading:w,length:L,activeProduct:k,products:I,setActiveProduct:A,hrefParams:j}=tL({regions:p,hideProducts:s,banks:o,apiConfig:_,mainProducts:m,cardTypes:f,products:(0,S.useMemo)(()=>to.map(e=>{var t;let n=null!==(t=null==h?void 0:h.find(t=>t.id===e.id))&&void 0!==t?t:{};return{...e,...n}}),[h]),defaultIndex:g}),R=null===(t=N.transportType.value)||void 0===t?void 0:t[0],O=(0,S.useMemo)(()=>k.fields.some(e=>e.id===y.license),[k.fields]),M=(0,S.useCallback)(e=>{var t;let n=null!==(t=I.find(t=>t.id===e))&&void 0!==t?t:I[0];T(),A(n)},[I,T,A]),D=(0,S.useMemo)(()=>tm(o),[o]),B=(0,S.useMemo)(()=>tm(a),[a]),F="mfo"===k.company?B:D,U="mfo"===k.company?a.length:o.length,Z=e=>"length"===e.type?b?"Показать ".concat(L):"Смотреть ".concat(L," ").concat((0,eG._6)(L,"предложение","предложения","предложений")):"text"in e?e.text:"";return(0,C.jsxs)("div",{className:(0,P.Z)(tP().container,l),children:[(0,C.jsx)("h2",{className:tP().title,children:"Подборщик предложений"}),(0,C.jsx)(e6,{isMobile:i,className:tP().chips,active:k.id,onChange:M,chips:I,searchTags:d,mainProducts:m}),(0,C.jsxs)("div",{className:(0,P.Z)(tP().form,O&&tP().formTransport),children:[O&&(0,C.jsx)("picture",{className:tP().imgWrapper,children:(0,C.jsx)("img",{width:308,height:176,className:tP().img,src:(null==R?void 0:R.value)==="car"?c:u,alt:null!==(n=null==R?void 0:R.label)&&void 0!==n?n:""})}),(0,C.jsxs)("div",{className:(0,P.Z)(tP().formHead,k.note&&tP().formHeadNote),children:[(0,C.jsx)("p",{className:tP().productName,children:null!==(r=k.title)&&void 0!==r?r:k.label}),(0,C.jsx)(eQ,{className:tP().banksMob,allLength:U,list:F,isMobile:!0}),k.note&&(0,C.jsx)(e2,{className:tP().note,text:k.note})]}),(0,C.jsxs)("div",{className:(0,P.Z)(tP().formFields,{[tP().formFieldsTwo]:2===k.fields.length,[tP().formFieldsThree]:3===k.fields.length||k.fields.length>4,[tP().formFieldsFour]:4===k.fields.length,[tP().formFieldsTransport]:O}),children:[O&&(0,C.jsx)(eZ,{size:"middle",label:"Тип транспорта",className:tP().field,options:N.transportType.options,value:N.transportType.value,onChange:N.transportType.set}),k.fields.map(e=>{var t;let n=null;return ta(e.id)&&(n=E[e.id]),tc(e.id)&&(n=x[e.id]),ts(e.id)&&(n=N[e.id]),n&&(0,C.jsx)(eV,{data:e,isMobile:i,isTransport:O,transportType:String(null!==(t=null==R?void 0:R.value)&&void 0!==t?t:""),state:n},e.id)}),O&&(0,C.jsx)(e9,{className:tP().transportText})]}),(0,C.jsxs)("div",{className:tP().formFoot,children:[(0,C.jsx)("div",{className:tP().buttonWrapper,children:k.buttons.map(e=>{var t,n,r;let l=(null===(t=e.href)||void 0===t?void 0:t[0])==="/"?"".concat(v).concat(e.href):e.href;return(0,C.jsx)(ee.zx,{as:"a",size:"s",href:l&&tu(l,String(null!==(r=null===(n=N.region.value)||void 0===n?void 0:n[0].value)&&void 0!==r?r:"")),pending:"length"===e.type&&w,className:tP().button,variant:e.theme,label:Z(e),onClick:()=>{var t;return null===(t=e.onClick)||void 0===t?void 0:t.call(e,j)}},l)})},k.id),(0,C.jsx)(eQ,{className:tP().banks,allLength:U,list:F})]})]})]})});tI.displayName="UiOfferPicker";var tA=n(28341),tj=n.n(tA);let tR=e=>{let{children:t,...n}=e;return(0,C.jsx)("a",{...n,children:t})},tO=(0,S.memo)(e=>{let{Link:t=tR,text:n="Управляйте финансами через приложение Финуслуг",className:r,BgImage:l,QrImage:i,isSmall:o,href:a="https://promo.finuslugi.ru/mobapp/",hideButtons:s}=e;return(0,C.jsxs)(t,{className:(0,P.Z)(tj().container,r),target:"_blank",href:a,children:[(0,C.jsx)("div",{className:(0,P.Z)(tj().title,o&&tj().titleSmall),dangerouslySetInnerHTML:{__html:n}}),(0,C.jsxs)("div",{className:tj().right,children:[i&&(0,C.jsx)("div",{className:tj().qrContainer,children:(0,C.jsx)(i,{className:tj().qr})}),!s&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)("div",{className:tj().button,children:"Отсканируйте QR"}),(0,C.jsx)("div",{className:(0,P.Z)(tj().button,tj().buttonMobile),children:"Подробнее"})]}),l&&(0,C.jsx)(l,{className:tj().bgImage})]})]})});tO.displayName="UiQrAd";let tM=e=>{let{shiftSlide:t,resetCallback:n,changeSelectedIndex:r,isInfiniteSlider:l,time:i,currentIndex:o,maxIndex:a,countVisibleSlide:s,startDelay:c}=e,[u,d]=(0,S.useState)(!0),p=(0,S.useRef)(null),_=a+1<=s,m=(0,S.useRef)(!1),f=(0,S.useCallback)(()=>{p.current&&clearInterval(p.current),p.current=setInterval(()=>{if(l){t();return}if(o===a){n();return}if(a-o>=s){t();return}r()},i+300)},[r,s,o,l,a,n,t,i]);return(0,S.useEffect)(()=>{if(!_&&i){if(u){p.current&&clearInterval(p.current);return}return window.onblur=()=>{m.current=!0,d(!0)},window.onfocus=()=>{m.current&&(d(!1),m.current=!1)},f(),()=>{p.current&&clearInterval(p.current)}}},[t,n,r,i,l,a,o,s,u,_,f]),(0,S.useEffect)(()=>{let e=setTimeout(()=>d(!1),c);return()=>clearTimeout(e)},[c]),{isPauseAutoSwipe:u,setPauseAutoSwipe:d}};var tD=n(17427),tB=n.n(tD);let tF=(e,t,n)=>({width:e+"px",minWidth:e+"px",maxWidth:e+"px",height:t+"px",minHeight:t+"px",maxHeight:t+"px",marginLeft:n+"px"}),tU=e=>(0,S.cloneElement)(e,{style:{...e.props.style,width:"100%",height:"100%"}}),tZ=(0,S.memo)(e=>{let{infiniteSlider:t=!1,overflowVisible:n=!1,hideNavigationControl:r=!1,hidePaginationControl:l=!1,autoPlayTime:i=0,sliderPerView:o=1,spaceBetween:a=0,startDelay:s=0,width:c,height:u,classSliderWrapper:d,classSlider:p,classSlide:_,classSliderList:m,classNavigationLeftButton:f,classNavigationRightButton:v,children:h,onChange:g,isDependsOnWidth:b=!0}=e,y=(0,ee._m)("l"),E=(0,S.useMemo)(()=>h.length,[h.length]),N=E>o,x=o>h.length?o:h.length>5?5:h.length,T=(0,S.useMemo)(()=>c/2,[c]),w=(0,S.useMemo)(()=>t?-(c+a)*x-a:0-a,[t,c,a,x]),L=(0,S.useMemo)(()=>({maxTime:500,minTime:60,maxDistance:c,minDistance:c/100*10}),[c]),[k,I]=(0,S.useState)(),[A,j]=(0,S.useState)(0),[R,O]=(0,S.useState)(!0),[M,D]=(0,S.useState)(!s),B=(0,S.useRef)(!0),F=(0,S.useRef)(0),U=(0,S.useRef)(0),Z=(0,S.useRef)(null),G=(0,S.useRef)(!1),W=(0,S.useRef)(0),H=(0,S.useRef)(0),X=(0,S.useRef)(0);(0,S.useEffect)(()=>{G.current&&(null==g||g(A)),G.current=!0},[A,g]),(0,S.useEffect)(()=>{if(!Z.current||!M)return;F.current=0,U.current=0,j(0);let e=Z.current;I(e),e.style.left=w+"px",e.style.width=(E+2*x)*(c+a)+"px",e.style.height=u+"px";let t=e.getElementsByClassName("slide");for(let e=0;e<t.length;e++){let n=t.item(e);n instanceof HTMLElement&&(n.style.width=c+"px",n.style.minWidth=c+"px",n.style.maxWidth=c+"px",n.style.height=u+"px",n.style.minHeight=u+"px",n.style.maxHeight=u+"px")}},[c,u,t,a,Z,x,E,w,M]);let z=(0,S.useCallback)(e=>{M||D(!0),k&&(O(!1),O(!0),setTimeout(()=>{k.style.left=w-(c+a)*e+"px"}),j(()=>e<0?E+e:e),U.current=e)},[c,a,k,w,E,M]),Y=(0,S.useCallback)((e,t)=>{M||D(!0),k&&(O(!0),B.current&&(t||(F.current=k.offsetLeft),1===e?(k.style.left=F.current-(c+a)+"px",U.current++,j(e=>e===E-1?0:e+1)):(k.style.left=F.current+(c+a)+"px",U.current--,j(e=>0===e?E-1:e-1))),B.current=!1)},[c,a,E,k,M]),V=(0,S.useCallback)(()=>{if(k){if(t){if(U.current<=-o){let e=U.current<-o?E-Math.abs(U.current):E-o;k.style.left=w-(c+a)*e+"px",O(!1),U.current=e,j(e),setTimeout(()=>O(!0),300)}U.current>=E&&(k.style.left=w+"px",O(!1),U.current=0,j(0),setTimeout(()=>O(!0),300))}B.current=!0}},[c,t,o,a,E,w,k]);(0,S.useEffect)(()=>{let e=setTimeout(V,500);return()=>clearTimeout(e)},[V,A]);let q=(0,S.useCallback)(()=>{j(e=>e+1),U.current+=1},[]),{isPauseAutoSwipe:Q,setPauseAutoSwipe:J}=tM({shiftSlide:()=>Y(1),resetCallback:()=>z(0),changeSelectedIndex:()=>b?q():z(0),isInfiniteSlider:t,time:i,currentIndex:U.current,maxIndex:E-1,countVisibleSlide:o,startDelay:s}),$=(0,S.useCallback)(e=>{if(!k)return;let t=W.current-e;W.current=e,k.style.left=k.offsetLeft-t+"px"},[k]),et=(0,S.useCallback)((e,n)=>{if(!k)return;O(!1);let r=k.offsetLeft,{minTime:l,maxTime:i,minDistance:s,maxDistance:u}=L,d=Math.round(-r/(c+a))-x,p=Math.round(F.current/(c+a))*(c+a)-a+"px",_=Math.abs(Math.abs(X.current)-Math.abs(e)),m=Math.abs(H.current-n);if(m>l&&m<i&&_>s&&_<u){let e=r<=F.current?Math.floor(-r/(c+a)):Math.ceil(-r/(c+a));if(r-F.current<-s){if(t){let e=d>E?E:d;z(d===E&&A<E?E:e+1)}else z(e>=E-o?E-o:e+1)}else r-F.current>s?t?z(d-1):z(e<=0?0:e-1):(O(!0),k.style.left=p);return}let f=Math.round(-r/(c+a));if(r-F.current<-T){if(t){let e=d>E?E:d;z(d===E&&A<E?E:e)}else z(f>E-o?E-o:f)}else r-F.current>T?t?z(d):z(f<=0?0:f):(O(!0),k.style.left=p)},[k,L,c,a,x,t,E,z,A,o,T]),en=(0,S.useCallback)(e=>$(e.clientX),[$]),er=(0,S.useCallback)(e=>{et(e.clientX,e.timeStamp),document.removeEventListener("mousemove",en),document.removeEventListener("mouseup",er)},[et,en]),el=(0,S.useCallback)(e=>{k&&N&&(O(!1),F.current=k.offsetLeft,W.current=e.clientX,H.current=e.timeStamp,X.current=e.clientX,document.addEventListener("mousemove",en),document.addEventListener("mouseup",er))},[en,er,N,k]),ei=(0,S.useCallback)(e=>{if(!k||!N)return;let t=e.touches.item(0);t&&(O(!1),F.current=k.offsetLeft,W.current=t.clientX,H.current=e.timeStamp,X.current=t.clientX)},[N,k]),eo=(0,S.useCallback)(e=>{if(!N)return;let t=e.touches.item(0);t&&$(t.clientX)},[$,N]),ea=(0,S.useCallback)(e=>{if(!N)return;let t=e.changedTouches.item(0);t&&et(t.clientX,e.timeStamp)},[et,N]);return(0,S.useEffect)(()=>{if(M)return;let e=setTimeout(()=>D(!0),s);return()=>clearTimeout(e)},[M,s]),(0,C.jsxs)("div",{className:(0,P.Z)(tB().sliderWrapper,d),children:[(0,C.jsxs)("div",{className:(0,P.Z)(tB().slider,{[tB().visiblePagination]:N&&!l},p),style:{width:o*c+(o-1)*a+"px",minHeight:u+"px"},onMouseEnter:()=>!!i&&J(!0),onMouseLeave:()=>!!i&&J(!1),onTouchStart:()=>!!i&&J(!0),onTouchEnd:()=>!!i&&J(!1),children:[(0,C.jsx)("div",{className:tB().wrapper,style:{overflow:n?"unset":"hidden"},children:(0,C.jsxs)("div",{ref:Z,className:(0,P.Z)(tB().slides,{[tB().shifting]:R},m),onMouseDown:el,onTouchStart:ei,onTouchMove:eo,onTouchEnd:ea,children:[t&&h.slice(h.length-x-1,h.length-1).map(e=>(0,C.jsx)("div",{style:tF(c,u,a),className:(0,P.Z)("slide",tB().slide,{[tB().slideIsPointer]:N},_),children:tU(e)},"prev"+e.key)),h.map(e=>(0,C.jsx)("div",{style:tF(c,u,a),className:(0,P.Z)("slide",tB().slide,{[tB().slideIsPointer]:N},_),children:tU(e)},e.key)),t&&h.slice(0,x).map(e=>(0,C.jsx)("div",{style:tF(c,u,a),className:(0,P.Z)("slide",tB().slide,{[tB().slideIsPointer]:N},_),children:tU(e)},"next"+e.key))]})}),!r&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)("button",{onClick:()=>Y(-1),className:(0,P.Z)(tB().control,tB().prev,f),style:{display:(t||0!==U.current)&&N?"unset":"none"},type:"button",children:(0,C.jsx)(K,{className:tB().controlIcon,children:(0,C.jsx)(eT,{})})}),(0,C.jsx)("button",{onClick:()=>Y(1),className:(0,P.Z)(tB().control,tB().next,v),style:{display:(t||!(U.current>=E-o))&&N?"unset":"none"},type:"button",children:(0,C.jsx)(K,{className:tB().controlIcon,children:(0,C.jsx)(eT,{})})})]})]}),N&&!l&&(0,C.jsx)("div",{className:tB().pagination,children:(0,C.jsx)("ul",{className:tB().paginationList,children:h.slice(0,b?y?-1:-2:E-o+1).map((e,t)=>(0,C.jsx)("li",{className:(0,P.Z)({[tB().selected]:t===A}),onClick:()=>z(t),children:!Q&&!!i&&(0,C.jsx)("div",{className:tB().animationLine,style:{animationDuration:i+"ms"}})},e.key))})})]})});tZ.displayName="UiSlider"},92807:function(e,t,n){"use strict";n.d(t,{Ft:function(){return a},If:function(){return _},Ln:function(){return s},OO:function(){return d},P1:function(){return y},P8:function(){return h},Po:function(){return f},TT:function(){return u},Ud:function(){return g},Xf:function(){return c},ZT:function(){return b},Zw:function(){return o},_S:function(){return m},lr:function(){return v},ly:function(){return i},t2:function(){return p}});var r=n(40309),l=n(44579);let i=[{value:l.Z.Day,label:"День"},{value:l.Z.Month,label:"Месяц"},{value:l.Z.Year,label:"Год"}],o=[{value:r.Z.OnceAMonth,label:"Раз в месяц"},{value:r.Z.EveryDay,label:"Каждый день"},{value:r.Z.InTheEnd,label:"В конце срока"}],a={[l.Z.Day]:[{id:31,label:"31 день"},{id:91,label:"91 день"},{id:181,label:"181 день"},{id:365,label:"365 дней"}],[l.Z.Month]:[{id:1,label:"1 мес."},{id:3,label:"3 мес."},{id:6,label:"6 мес."},{id:12,label:"12 мес."}],[l.Z.Year]:[{id:1,label:"1 год"},{id:2,label:"2 года"},{id:3,label:"3 года"}]},s=3e5,c="₽",u=l.Z.Month,d={[l.Z.Day]:31,[l.Z.Month]:3,[l.Z.Year]:1},p=d[u],_=r.Z.OnceAMonth,m=16,f=1e3,v=999999999,h={[l.Z.Day]:3700,[l.Z.Month]:120,[l.Z.Year]:10},g={[l.Z.Day]:["день","дня","дней"],[l.Z.Month]:["месяц","месяца","месяцев"],[l.Z.Year]:["год","года","лет"]},b=1,y=100},91586:function(e,t,n){"use strict";var r,l,i,o,a,s,c,u,d,p;n.d(t,{D1:function(){return o},Lg:function(){return r},e4:function(){return i},zs:function(){return l}}),(s=r||(r={})).END="IN_THE_END",s.MONTH="MONTHLY",(c=l||(l={})).DAY="DAY",c.MONTH="MONTH",c.YEAR="YEAR",(u=i||(i={})).FIXED="FIXED",u.FLOATING="FLOATING",(d=o||(o={})).SALARY_OR_PENSION="SALARY_OR_PENSION",d.SPENDING="SPENDING",(p=a||(a={})).ANY="ANY",p.NEW="NEW",p.OLD="OLD"},15329:function(e,t){"use strict";var n,r;(r=n||(n={})).PreferentialRateForWholeTerm="PREFERENTIAL_RATE_FOR_WHOLE_TERM",r.WithoutRecalculationOfInterest="WITHOUT_RECALCULATION_OF_INTEREST",t.Z=n},53931:function(e,t,n){"use strict";n.d(t,{$1:function(){return u},LM:function(){return d}});var r=n(50666);let l=e=>/^https:\/\//gi.test(e),i=e=>["",...e.replace(/^http(s)?:\/\//gi,"").replace(/\/$/,"").split(".").slice(-2)].join("."),o=()=>window.location.host.indexOf("localhost")>=0,a=e=>('"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)),s=e=>encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent),c=e=>encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[(]/g,"%28").replace(/[)]/g,"%29"),u=()=>{if("undefined"!=typeof document&&document.cookie)return Object.fromEntries(document.cookie.split("; ").map(e=>e.split("=")).map(e=>e.map(e=>a(e))))},d=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:365,a=(0,r.env)("NEXT_PUBLIC_BASE_URL");if(!a)throw Error("Не определена переменная окружения NEXT_PUBLIC_BASE_URL");let u=o()?"":"; domain=".concat(i(a)),d=new Date(new Date().getTime()+864e5*n).toUTCString();document.cookie="".concat(c(e),"=").concat(s("string"==typeof t?t:JSON.stringify(t)),"; SameSite=Strict").concat(l(a)?"; Secure":"").concat(u,"; expires=").concat(d,"; path=/;")}},64671:function(e,t,n){"use strict";n.d(t,{b:function(){return r}});let r=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:300,t=null;return n=>{t&&clearInterval(t),t=setTimeout(n,e)}}},94441:function(e,t,n){"use strict";n.d(t,{HP:function(){return s},I7:function(){return b},MP:function(){return y},Nx:function(){return v},UD:function(){return h},VV:function(){return f},bh:function(){return d},f1:function(){return _},u0:function(){return m},vc:function(){return u},vf:function(){return p},xV:function(){return c},yK:function(){return g}});var r=n(15329),l=n(84456);let i=(e,t)=>Math.min(e,t.minimumPeriod?(0,l.I)(t.minimumPeriod):0),o=(e,t)=>Math.max(e,t.maximumPeriod?(0,l.I)(t.maximumPeriod):0),a=(e,t,n)=>{var r,i,o,a,s,c;t.push({from:null,to:null,term:null,amount:null,term_from:n.minimumPeriod?(0,l.I)(n.minimumPeriod):0,term_to:n.maximumPeriod?(0,l.I)(n.maximumPeriod):0,rate:n.maximumRate,amount_from:null!==(s=n.minimumAmount)&&void 0!==s?s:null,amount_to:null!==(c=n.maximumAmount)&&void 0!==c?c:null,diff:n.topRateDelta||0,tag:{title:(null==n?void 0:null===(r=n.tags)||void 0===r?void 0:r.title)||"",description:(null==n?void 0:null===(i=n.tags)||void 0===i?void 0:i.description)||"",deeplink:(null==n?void 0:null===(o=n.tags)||void 0===o?void 0:o.deepLink)||"",url:(null==n?void 0:null===(a=n.tags)||void 0===a?void 0:a.url)||""},optionId:e.id})},s=(e,t)=>{let n=[],r=1/0,l=0,s=1/0,c=0;for(let m of e)if(null==m?void 0:m.active){if(t){var u,d,p,_;let e=null!==(p=null===(u=m.duration)||void 0===u?void 0:u.minimum)&&void 0!==p?p:0,t=null!==(_=null===(d=m.duration)||void 0===d?void 0:d.maximum)&&void 0!==_?_:0;s=Math.min(s,e),c=Math.max(c,t)}for(let e of m.currencies||[])for(let u of e.rates||[])a(m,n,u),r=Math.min(r,u.minimumAmount),l=Math.max(l,u.maximumAmount),t||(s=i(s,u),c=o(c,u))}return{rates:n,amountFrom:r,amountTo:l,termFrom:s,termTo:c}},c=e=>{var t;return(null==e?void 0:null===(t=e.interestPayments)||void 0===t?void 0:t.some(e=>(null==e?void 0:e.method)==="CAPITALISATION"))?1:0},u=e=>c(e)?"Да":"Нет",d=e=>{var t;let{hasCapitalization:n,hasCurrentAccount:r}=(null!==(t=null==e?void 0:e.interestPayments)&&void 0!==t?t:[]).reduce((e,t)=>({hasCapitalization:e.hasCapitalization||"CAPITALISATION"===t.method,hasCurrentAccount:e.hasCurrentAccount||"TO_CURRENT_BANK_CUSTOMER_ACCOUNT"===t.method}),{hasCapitalization:!1,hasCurrentAccount:!1});return n&&r?"На выбор клиента":n?"Да":"Нет"},p=e=>(null==e?void 0:e.earlyTermination)===r.Z.PreferentialRateForWholeTerm||(null==e?void 0:e.earlyTermination)===r.Z.WithoutRecalculationOfInterest?1:0,_=e=>p(e)?"Да":"Нет",m=e=>{var t,n;return(null==e?void 0:null===(n=e.replenishment)||void 0===n?void 0:null===(t=n[0])||void 0===t?void 0:t.type)?1:0},f=e=>m(e)?"Возможно":"Невозможно",v=e=>{var t,n;return(null==e?void 0:null===(n=e.partialWithdrawal)||void 0===n?void 0:null===(t=n[0])||void 0===t?void 0:t.type)?1:0},h=e=>v(e)?"Возможно":"Невозможно",g=e=>e?"Да":"Нет",b=e=>{try{var t,n;if(!e)return"";let r=e.legal_entities;if("string"==typeof r){let e=JSON.parse(r);return Array.isArray(e)&&(null===(n=e[0])||void 0===n?void 0:n.name)?e[0].name:""}if(Array.isArray(r))return(null===(t=r[0])||void 0===t?void 0:t.name)||"";return""}catch(e){return""}},y=e=>({status_custom:null,currency_id:1,fin_exclusive:0,active_to:"",archive:0,bank_id:0,bank_name:"",bank_url:"",logo_mob:"",asSavingAccount:e,interest_rate:{comment:"",rates:[]},multicurrency:0,partial_withdrawal:{comment:"",comp:"",text:"",has:0},interest_payment:{comment:"",comp:"",text:"",daily:0,weekly:0,monthly:0,quarterly:0,half_year:0,annually:0,specified_period_in_days:0,end:0},refill:{comment:"",comp:"",text:"",has:0},interest_capitalization:{comment:"",comp:"",has:0,text:""},preferential_termination:{comment:"",comp:"",text:"",has:0},amount:{from:null,to:null},term:{from:0,to:"",ladder_rates:0},online_application:{type:3,url:"",commercial:0,commercial_desc:"",order:null},m_updated_at:null,promo:!1,type:{seasonal:0,charitable:0,saving_account:e?1:0,child:0,pension:0,salary:0,insurance:0,investment:0,multicurrency:0,martgage:0}})},96742:function(e,t,n){"use strict";n.d(t,{z:function(){return r}});let r=e=>{switch(e){case 2:case"2":case 840:case"USD":return{shortName:"долл.",unit:"$",name:"долларах",code:"USD",locale:"en",num:2};case 3:case"3":case 978:case"EUR":return{shortName:"евро",unit:"€",name:"евро",code:"EUR",locale:"en",num:3};case 4:case"4":case 156:case"CNY":return{shortName:"юань",unit:"\xa5",name:"юанях",code:"CNY",locale:"zh-CN",num:4};case 5:case"5":case 756:case"CHF":return{shortName:"франк",unit:"₣",name:"франках",code:"CHF",locale:"en",num:5};case 6:case"6":case 826:case"GBP":return{shortName:"фунт",unit:"\xa3",name:"фунтах",code:"GBP",locale:"en",num:6};case 7:case"7":case 392:case"JPY":return{shortName:"иена",unit:"\xa5",name:"иенах",code:"JPY",locale:"ja-JP",num:7};default:return{shortName:"руб.",unit:"₽",name:"рублях",code:"RUB",locale:"ru",num:1}}}},97291:function(e,t,n){"use strict";n.d(t,{f:function(){return r}});let r=e=>isNaN(e.getTime())?"":new Intl.DateTimeFormat("ru-RU",{day:"numeric",month:"long",year:"numeric"}).format(e)},84456:function(e,t,n){"use strict";n.d(t,{I:function(){return l}});var r=n(91627);let l=e=>{let t=e.value;switch(e.type){case"MONTH":t=e.value*r.F;break;case"YEAR":t=365.25*e.value}return Math.round(t)}},91220:function(e,t,n){"use strict";n.d(t,{p:function(){return r}});let r=function(e){var t,n,r,l;let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"?",o=null!==(l=null===(r=e.split(i))||void 0===r?void 0:null===(n=r[1])||void 0===n?void 0:null===(t=n.split("?"===i?"#":"?")[0])||void 0===t?void 0:t.split("&"))&&void 0!==l?l:[],a={};return o.forEach(e=>{let[t,n]=e.split("="),r=null!=n?n:"";if(t in a){let e=a[t];if(Array.isArray(e)){a[t]=[...e,r];return}if(!Array.isArray(e)&&e){a[t]=[e,r];return}}a[t]=r}),a}},70104:function(e,t,n){"use strict";n.d(t,{$1:function(){return i},D$:function(){return a},Y4:function(){return l},ZM:function(){return o},og:function(){return s},zd:function(){return r}});let r=(e,t)=>{var n;return t>0&&!Number.isInteger(e)&&!Number.isNaN(e)&&(null===(n=String(e).split(".")[1])||void 0===n?void 0:n.length)>t&&(e=+e.toFixed(t)),e},l=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;return e=r(e,t),new Intl.NumberFormat("ru-RU",{useGrouping:"min2"}).format(e)},i=e=>e?e.toString().replace(".",","):0,o=e=>Math.round(100*e)/100,a=e=>{let t=String(e);if(t.includes("."))return l(e);if(t.length>6)t="".concat(l(e/1e6)," млн");else if(t.length>3){let n=e/1e3;t=t.length-String(n).length<2?l(e):"".concat(l(n)," тыс")}return t},s=e=>l(e)+"%"},36578:function(e,t,n){"use strict";n.d(t,{PY:function(){return l},_6:function(){return r},on:function(){return i}});let r=(e,t,n,r)=>{if(1!=Math.floor((e=Math.abs(e))/10)%10){if(1==(e%=10))return t;if(e>=2&&e<=4)return n}return r},l=(e,t)=>{let[n,l,i]=t;return"".concat(e," ").concat(r(e,n,l,i))},i=(e,t,n)=>e>1?"".concat(r(e,...t)," ").concat(e," ").concat(r(e,...n)):"".concat(r(e,...t)," ").concat(r(e,...n))},72151:function(e,t,n){"use strict";n.d(t,{lQ:function(){return i},yr:function(){return o}});var r=n(30631);let l=[{path:"banki",category:"service_bank"},{path:"strahovanie_kompanija",category:"service_sk"},{path:"adresa_sk",category:"service_sk"},{path:"adresa_mfo",category:"service_mfo"},{path:"adresa",category:"service_bank"},{path:"mfo",category:"service_mfo"},{path:"navigator",category:"service_navigator"},{path:"stat_",category:"service_navigator"}],i=(e,t)=>{let n=sessionStorage.getItem("pushedEvents"),l=n?JSON.parse(n):[];e.event=e.event?e.event:"data-event",e.eventValue=e.eventValue?e.eventValue:null,e.eventAction=e.eventAction&&"string"==typeof e.eventAction?e.eventAction.toLowerCase().replaceAll(/[ \xa0]/g,"_"):"",e.eventLabel=e.eventLabel&&"string"==typeof e.eventLabel?e.eventLabel.toLowerCase().replaceAll(/[ \xa0]/g,"_"):"";let i=l.find(n=>n.eventCategory===e.eventCategory&&n.eventAction===e.eventAction&&n.eventLabel===e.eventLabel&&("all"===t||"url"===t&&window.location.pathname===n.url));if(!t||!i){if(t){let t={...e};t.url=window.location.pathname,l.push(t),sessionStorage.setItem("pushedEvents",JSON.stringify(l))}(0,r.AB)(e)}},o=e=>{for(let t of l)if(e.indexOf(t.path)>=0){let n=e.match(/str_(\d+)/),r=Array.isArray(n)&&n[1]?Number(n[1]):1;setTimeout(()=>{i({event:"data-event",eventCategory:t.category,eventAction:"stay_15_seconds",eventLabel:e,eventValue:r})},15e3);return}}},40780:function(e,t,n){"use strict";n.d(t,{l:function(){return r}});let r=function(e){let{offset:t=0,position:n="bottom",delay:r=0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};setTimeout(()=>{let r="string"==typeof e?document.getElementById(e):e;if(!r)return;let l=0;l="top"===n?r.getBoundingClientRect().top+window.scrollY+t:r.getBoundingClientRect().bottom+window.scrollY+t-document.documentElement.clientHeight,window.scrollTo({top:l,behavior:"smooth"})},r)}},31219:function(e,t,n){"use strict";n.d(t,{b:function(){return l}});let r={а:"a",б:"b",в:"v",г:"g",д:"d",е:"e",ё:"yo",ж:"zh",з:"z",и:"i",й:"y",к:"k",л:"l",м:"m",н:"n",о:"o",п:"p",р:"r",с:"s",т:"t",у:"u",ф:"f",х:"h",ц:"c",ч:"ch",ш:"sh",щ:"sch",ъ:"",ы:"y",ь:"",э:"e",ю:"yu",я:"ya"},l=e=>e.replace(/[а-яё]/gi,e=>{let t=e.toLowerCase();if(t in r){let n=r[t];return t===e?n:n.charAt(0).toUpperCase()+n.slice(1)}return e})},14441:function(e,t,n){"use strict";n.d(t,{P:function(){return o}});var r=n(99376),l=n(2265),i=n(91220);function o(){let e=(0,r.usePathname)(),t=(0,r.useSearchParams)(),n=(0,l.useMemo)(()=>{if(!e)return"";let n=location.hash,r=null==t?void 0:t.toString();return(null==r?void 0:r.length)?e+"?"+r+n:e+n},[t,e]),o=(0,l.useMemo)(()=>(0,i.p)(n,"?"),[n]),a=(0,l.useMemo)(()=>(0,i.p)(n,"#"),[n]),s=(0,l.useCallback)(e=>{history.pushState({url:e},"",e)},[]),c=(0,l.useCallback)(e=>{history.replaceState({url:e},"",e)},[]);return(0,l.useMemo)(()=>({asPath:n,query:o,hash:a,push:s,replace:c}),[a,n,s,o,c])}},34039:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(2265),l=n(53931),i=n(91220);let o=e=>(0,i.p)(e);var a=n(72151);let s=(e,t)=>{let n=o(e);if(n&&n.aggregator_id){let e={...n,create_date:new Date().toISOString()},i={payload:[]};try{var r;i=JSON.parse((null===(r=(0,l.$1)())||void 0===r?void 0:r.cpa_click)||"{}")}catch(e){return}i.payload||(i.payload=[]),i.payload.push(e);let o={event:"data-event",eventCategory:String(n.aggregator_id),eventAction:"CPA_click",eventLabel:window.location.pathname,eventValue:String(n.utm_term||n.click_id),utm_source:String(n.utm_source),utm_campaign:String(n.utm_campaign),utm_medium:String(n.utm_medium)};t[String(n.aggregator_id)]&&((0,l.LM)("cpa_click",i,30),(0,a.lQ)(o))}};var c=n(14441);function u(e){let{asPath:t}=(0,c.P)();(0,r.useEffect)(()=>{(0,a.yr)(t),s(t,e)},[e,t])}},50487:function(e,t,n){"use strict";n.d(t,{G:function(){return o}});var r=n(2265),l=n(70104),i=n(36578);let o=function(){let{type:e="text",unit:t,format:n,defaultValue:o="",maxLength:a=-1,maxFractionalLength:s=-1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[c,u]=(0,r.useState)(o),d=(0,r.useRef)(c),[p,_]=(0,r.useState)(!1),m=(0,r.useCallback)((t,n)=>{"function"==typeof t&&(t=t(d.current));let r=String(t);if(!(a>-1)||!(r.length>a)){if(["int","float"].includes(e)){var l;if(isNaN(+t)||"int"===e&&r.includes(".")||"0"===r||r.includes(" ")||s>-1&&(null===(l=r.split(".")[1])||void 0===l?void 0:l.length)>s)return}d.current=r,u(r),null==n||n(r)}},[s,a,e]),f=(0,r.useMemo)(()=>({onChange:e=>m(e.currentTarget.value),onFocus:()=>_(!0),onBlur:()=>_(!1)}),[m]),v=(0,r.useMemo)(()=>{let r=c;"currency"===n&&["int","float"].includes(e)&&""!==c&&(r=(0,l.Y4)(+c));let o=(()=>{if(""===r)return"";switch(t){case"year":return(0,i._6)(+c,"год","года","лет");case"day":return(0,i._6)(+c,"день","дня","дней");default:return t||""}})();return o&&["int","float"].includes(e)?"".concat(r," ").concat(o):r},[n,e,t,c]);return(0,r.useMemo)(()=>({events:f,value:c,formattedValue:v,isFocused:p,handleChange:m}),[f,v,m,p,c])}},48034:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(75461),l=n(74552);function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],i=(0,r._m)("m"),o=(0,r._m)("l");return n?i?-(l.M+(o?e:t)):-(l.w+t):o?-e:-t}},72052:function(){},4646:function(e){e.exports={datePicker:"DatePicker_datePicker__i0QAq",calendar:"DatePicker_calendar__OgqPe"}},41315:function(e){e.exports={mainContainer:"MainContainer_mainContainer__i0H2X"}},45519:function(e){e.exports={popup:"Tip_popup__8fMO9",button:"Tip_button__g5mPA",icon:"Tip_icon__zTERB",buttonMobile:"Tip_buttonMobile__OTn9W",content:"Tip_content__ab_0d"}},84860:function(e){e.exports={tooltipWrapper:"DeprecatedTooltip_tooltipWrapper__efWsY",clickedTooltip:"DeprecatedTooltip_clickedTooltip__dqSIp",tooltip:"DeprecatedTooltip_tooltip__c_Ytv",tooltipWrapperForPadding:"DeprecatedTooltip_tooltipWrapperForPadding__EfwrY",open:"DeprecatedTooltip_open__R9eNb",fade:"DeprecatedTooltip_fade__wSmny",close:"DeprecatedTooltip_close__8_fcP","fade-out":"DeprecatedTooltip_fade-out__pUhDp"}},17017:function(e){e.exports={circle:"CircleChart_circle__upkpr"}},54982:function(e){e.exports={container:"DrawerContent_container__E7_6w",open:"DrawerContent_open__TUrb1","slide-up":"DrawerContent_slide-up__2p_ZF",close:"DrawerContent_close__qT4s7","slide-out":"DrawerContent_slide-out__teW_v",header:"DrawerContent_header__wfOXH",rowHeader:"DrawerContent_rowHeader__Qcjaz",title:"DrawerContent_title__EyTsu",center:"DrawerContent_center__yJsEH",right:"DrawerContent_right__XjXG0",left:"DrawerContent_left__qlaYw",controlContainer:"DrawerContent_controlContainer__it5KA",content:"DrawerContent_content__NsaVi",footer:"DrawerContent_footer__RequL"}},814:function(e){e.exports={footer:"DrawerFooter_footer__m6jFo",hasScroll:"DrawerFooter_hasScroll__bkIin"}},58250:function(e){e.exports={window:"DrawerLayout_window__4vdv1"}},78646:function(e){e.exports={inputRoot:"Input_inputRoot__eY6TI",wrapperInput:"Input_wrapperInput__lZ3Jn",big:"Input_big__ROUVY",middle:"Input_middle__bMrkJ",hasValue:"Input_hasValue__5F0GR",label:"Input_label__R8Jeu",addoneAfter:"Input_addoneAfter__YhMrL",addoneBefore:"Input_addoneBefore__BZz8b",gray:"Input_gray__IrCK2",white:"Input_white__5OUi5",error:"Input_error__fvAaJ",success:"Input_success__ulm5v",isFocused:"Input_isFocused__bnuTe",disabled:"Input_disabled__SQ9wl",readOnly:"Input_readOnly__JvNlB",inputContainer:"Input_inputContainer__D4yMA",cover:"Input_cover__DLWwX",input:"Input_input__qAWvo",inputCenter:"Input_inputCenter__iSBBa",maskPlaceholder:"Input_maskPlaceholder__kkbxx",maskPlaceholderCenter:"Input_maskPlaceholderCenter__htRJm",maskPlaceholderHide:"Input_maskPlaceholderHide__ZwZUZ",controlContainer:"Input_controlContainer__JanaX",buttonClear:"Input_buttonClear__Jms3r",deleteIcon:"Input_deleteIcon__WF3A_",message:"Input_message__p1olx",successMessage:"Input_successMessage__MVHSk",errorMessage:"Input_errorMessage__vEK6s",defaultMessage:"Input_defaultMessage___4koH"}},66079:function(e){e.exports={filter:"ListFilter_filter__wG9Yk",newSortRadiosFilter:"ListFilter_newSortRadiosFilter__aVeAQ",sortTypeDesktop:"ListFilter_sortTypeDesktop__Udi0F",container:"ListFilter_container__Zql7K",modal:"ListFilter_modal__n5nXL",newSortRadioModal:"ListFilter_newSortRadioModal__n5RIt",modalButton:"ListFilter_modalButton___vaKN",chipsContainerModal:"ListFilter_chipsContainerModal__vj2jm",chipsContainer:"ListFilter_chipsContainer__xVwcA",chipsContainerClosed:"ListFilter_chipsContainerClosed__B9DQc",chip:"ListFilter_chip__UqNNc",actionsWrapper:"ListFilter_actionsWrapper__nop9B",action:"ListFilter_action__SE0lQ",actionText:"ListFilter_actionText__Emjt2",iconButton:"ListFilter_iconButton__m9o1I",actionButton:"ListFilter_actionButton__W_WRq",icon:"ListFilter_icon__xKXho",iconInverted:"ListFilter_iconInverted__NToIz",stuck:"ListFilter_stuck__Whein",mainContainer:"ListFilter_mainContainer__ZnTFN"}},69388:function(e){e.exports={wrap:"Dropdown_wrap__9odPy",newSortRadioWrap:"Dropdown_newSortRadioWrap__l_cRQ",content:"Dropdown_content__LuEzF"}},85376:function(e){e.exports={sortTypeContainer:"SortRadios_sortTypeContainer__2ezn2",newSortRadioSortTypeContainer:"SortRadios_newSortRadioSortTypeContainer__XOy5y",divider:"SortRadios_divider__nxBXa",sortType:"SortRadios_sortType__RRbGy",sortTypeRadio:"SortRadios_sortTypeRadio___7Xfl",sortTypeTooltip:"SortRadios_sortTypeTooltip__AvCKd",sortTypeTrigger:"SortRadios_sortTypeTrigger__h86Ce",sortTypeHead:"SortRadios_sortTypeHead__l3cqJ",newSortRadioSortTypeHead:"SortRadios_newSortRadioSortTypeHead__KKh8m",sortTypeButton:"SortRadios_sortTypeButton__PYIUi",newSortRadioSortTypeButton:"SortRadios_newSortRadioSortTypeButton__RcYVE",iconInverted:"SortRadios_iconInverted__Qn847"}},97489:function(e){e.exports={mobilePopup:"MobilePopup_mobilePopup__wzHBK",overlay:"MobilePopup_overlay__pGKmO",open:"MobilePopup_open__L3zBp",fade:"MobilePopup_fade__rYES7",close:"MobilePopup_close__Fdi8R","fade-out":"MobilePopup_fade-out__o_A_f",content:"MobilePopup_content__K3UFY",contentFull:"MobilePopup_contentFull__4MWFn",contentLine:"MobilePopup_contentLine__badEw",contentContainer:"MobilePopup_contentContainer__8VjYs",min:"MobilePopup_min__fnQq7",contentTransition:"MobilePopup_contentTransition__LQDtY",contentTransitionOpen:"MobilePopup_contentTransitionOpen__odtk2",title:"MobilePopup_title__oYmDg",closeContainer:"MobilePopup_closeContainer__bvgxg",closeButton:"MobilePopup_closeButton__UBph4",smallContentContainer:"MobilePopup_smallContentContainer__Qr71v",footer:"MobilePopup_footer__NQF0Y",footerWithoutShadow:"MobilePopup_footerWithoutShadow__CqgP1"}},70143:function(e){e.exports={wrapper:"Notification_wrapper__xVzWl",light:"Notification_light__M1pz_",container:"Notification_container__Ygmh5",XS:"Notification_XS__Hltc3",description:"Notification_description__BkFhx",XL:"Notification_XL__F9ozQ",icons:"Notification_icons__7s_C7",title:"Notification_title__Ht7gB",caption:"Notification_caption___MPpo",link:"Notification_link__3deBI",time:"Notification_time__2E_rR",info:"Notification_info__7n4u2",success:"Notification_success__FzDM7",warning:"Notification_warning__6zLiR",danger:"Notification_danger__2pYhR",close:"Notification_close__t0_Hw"}},88599:function(e){e.exports={container:"OfferPicker_container__S5wGA",title:"OfferPicker_title__bwNmC",chips:"OfferPicker_chips__Fuj7X",form:"OfferPicker_form__G5tUS",formTransport:"OfferPicker_formTransport__qK0pB",banks:"OfferPicker_banks__Q8_Ra",banksMob:"OfferPicker_banksMob__Q453D",button:"OfferPicker_button___3xzQ",imgWrapper:"OfferPicker_imgWrapper__49EwB",img:"OfferPicker_img__qBc9O",buttonWrapper:"OfferPicker_buttonWrapper__RUKEW",formHead:"OfferPicker_formHead__1Siel",productName:"OfferPicker_productName__BdGU9",note:"OfferPicker_note__NRh9W",formFields:"OfferPicker_formFields__5dlnC",formFieldsTwo:"OfferPicker_formFieldsTwo__3Vepx",formFieldsThree:"OfferPicker_formFieldsThree__sScjP",formFieldsFour:"OfferPicker_formFieldsFour__5zPb5",formFieldsTransport:"OfferPicker_formFieldsTransport__ETV_X",formFoot:"OfferPicker_formFoot__oUKE2",transportText:"OfferPicker_transportText__cGyvw"}},52093:function(e){e.exports={container:"LogosList_container__bc2rP",item:"LogosList_item__vooW3",itemNum:"LogosList_itemNum__rMoss",img:"LogosList_img___jWns"}},66178:function(e){e.exports={wrapper:"ProductNote_wrapper__hBrlo",icon:"ProductNote_icon___PV3D",text:"ProductNote_text__V1zk0"}},71238:function(e){e.exports={chipsContainer:"ProductsChips_chipsContainer__AEjRu",chipsContainerClosed:"ProductsChips_chipsContainerClosed__QgNFG",chip:"ProductsChips_chip___iDHM",chipArrow:"ProductsChips_chipArrow__SdU_d",chipButton:"ProductsChips_chipButton__Dw7MF",chipSearch:"ProductsChips_chipSearch__GifVT",chipButtonElement:"ProductsChips_chipButtonElement__Ue38s",search:"ProductsChips_search__zeKMP",searchLink:"ProductsChips_searchLink__tFf6p"}},61863:function(e){e.exports={transportText:"TransportText_transportText__6qCkA",transportTextLink:"TransportText_transportTextLink__mjsqu"}},28341:function(e){e.exports={container:"QrAd_container__yLnEu",title:"QrAd_title__S3p2q",titleSmall:"QrAd_titleSmall__fGZXO",right:"QrAd_right__52NGY",qrContainer:"QrAd_qrContainer__0QpkH",qr:"QrAd_qr__ZFMC6",button:"QrAd_button__ZHLy8",buttonMobile:"QrAd_buttonMobile__iOJYy",bgImage:"QrAd_bgImage__Q4PUa"}},60205:function(e){e.exports={select:"Select_select__qHl78",inputcontainer:"Select_inputcontainer__8qpYj",popup:"Select_popup__sKMm4",popupContent:"Select_popupContent__RX0ta",emptyList:"Select_emptyList__ZkMQz",optionsList:"Select_optionsList__rbK2g",optionsItem:"Select_optionsItem__DY7Ep",removeLineHeight:"Select_removeLineHeight__X1U_v",checkbox:"Select_checkbox__6Fbj0",active:"Select_active__APdCS",marker:"Select_marker__admU_",targetOptionsItem:"Select_targetOptionsItem__CxeQ9",selectedOptionsItem:"Select_selectedOptionsItem__SS_wE",icon:"Select_icon__TR1CN",iconRotate:"Select_iconRotate__yacvg",popupActions:"Select_popupActions__k1ZBr"}},83138:function(e){e.exports={select:"Select_select__9T1_o",popup:"Select_popup__b5Kka",window:"Select_window__q72XU",safeAreaLine:"Select_safeAreaLine__Cppmh",inputcontainer:"Select_inputcontainer__XTmeE",inputPopup:"Select_inputPopup__4nXH_",inputButton:"Select_inputButton__wD_JC",content:"Select_content__gnEux",empty:"Select_empty__G5J5b",optionsList:"Select_optionsList__vDx8d",optionsItem:"Select_optionsItem__fNmxJ",checkbox:"Select_checkbox__fdzi4",active:"Select_active__bpFTp",marker:"Select_marker__AaNev",multipleList:"Select_multipleList__ugPD2",selectedOptionsItem:"Select_selectedOptionsItem__KV2t_",icon:"Select_icon__wF0vy",iconRotate:"Select_iconRotate__HyGKo",popupActions:"Select_popupActions__EhoLd"}},17427:function(e){e.exports={sliderWrapper:"Slider_sliderWrapper__0eFfK",slider:"Slider_slider__Wsstr",visiblePagination:"Slider_visiblePagination__jXr_S",wrapper:"Slider_wrapper__HNT3W",slides:"Slider_slides__n2K4x",shifting:"Slider_shifting__VLidY",slide:"Slider_slide__SWtr4",slideIsPointer:"Slider_slideIsPointer__KYQSu",paginationList:"Slider_paginationList__1nFBy",selected:"Slider_selected__vNunt",animationLine:"Slider_animationLine__dbV65",control:"Slider_control__UICqP",prev:"Slider_prev__0PSRA",next:"Slider_next__7ocyI",controlIcon:"Slider_controlIcon__l6pJU"}}}]);