(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9319],{7006:function(t,e,n){"use strict";n.d(e,{M:function(){return o}});var r=n(90716);let o=t=>(0,r.t9)("/api/v1/customer/personalization/features/".concat(t),null,{isNewApi:!0})},90716:function(t,e,n){"use strict";n.d(e,{t9:function(){return i}});var r=n(14862),o=n(40257);let i=async(t,e,n,i)=>{let{isNewApi:a=!1,isLKApi:u=!1,returningType:l="json",isCommonBlocksApi:c=!1,isMpScApi:s=!1,isProdCatApi:d=!1,isProductTagsApi:_=!1,isHeadlessCMS:m=!1,isSeoApi:p=!1,isMpSc:f=!1,isPageContent:v=!1,isMpScRedirects:E=!1}=null!=n?n:{},h=function(t,e){let{isNewApi:n,isLKApi:o,isCommonBlocksApi:i,isMpScApi:a,isProductTagsApi:u,isHeadlessCMS:l,isSeoApi:c,isMpSc:s,isPageContent:d,isMpScRedirects:_}=t;return i?r.m.COMMON_BLOCKS_API:o?r.m.LK_API:l?r.m.HEADLESS_CMS_API:d?r.m.PAGE_CONTENT_API:e?c?r.m.SEO_API:a?r.m.MP_SC_API:s?r.m.MP_SC_API_DIRECT:u?r.m.PRODUCT_TAGS_API:_?r.m.REDIRECTS_API:n?r.m.BFF_SHOWCASE_API:r.m.BACKEND_API:function(t){let{isMpScApi:e,isSeoApi:n,isNewApi:r,isProdCatApi:o,isProductTagsApi:i}=t;return"/deposits/api/proxy/".concat(e?"mpsc":r?"new":o?"prod-cat":n?"seo":i?"product-tags":"")}(t)}({isNewApi:a,isLKApi:u,isCommonBlocksApi:c,isMpScApi:s,isProdCatApi:d,isProductTagsApi:_,isHeadlessCMS:m,isSeoApi:p,isMpSc:f,isPageContent:v,isMpScRedirects:E},i),A=null,T=null,P=0,g="";try{P=performance.now();let n=await fetch("".concat(h).concat(t),{method:"GET",next:{revalidate:0},...e});if(g=n.status,!n.ok)throw Error("Network response was not ok: ".concat(g));A=await n[l]()}catch(e){console.log("".concat(h).concat(t),e),T=e instanceof Error?e.message:"error"}finally{var S;null===(S=o.outgoingHTTPRequestHistogram)||void 0===S||S.labels((null==e?void 0:e.method)||"GET",t,String(g)).observe(Number(performance.now()-P))}return{data:A,error:T}}},38050:function(t,e,n){"use strict";n.d(e,{h:function(){return i}});var r=n(2265),o=n(54887);let i=t=>{let{children:e}=t,[n,i]=(0,r.useState)(null);return(0,r.useEffect)(()=>{var t;let e=null===(t=document)||void 0===t?void 0:t.getElementById("portal-root");e&&i(e)},[]),n&&(0,o.createPortal)(e,n)}},11359:function(t,e,n){"use strict";n.d(e,{C:function(){return A}});var r=n(57437),o=n(5426),i=n(54365),a=n(33145),u=n(2265),l={src:"/deposits/_next/static/media/detailed-large.fea212bb.svg",height:24,width:24,blurWidth:0,blurHeight:0},c=n(38050),s=n(54887);let d=t=>{let{children:e}=t,[n]=(0,u.useState)(()=>document.createElement("div"));return((0,u.useEffect)(()=>(document.body.appendChild(n),()=>{document.body.removeChild(n)})),e)?(0,r.jsx)(r.Fragment,{children:(0,s.createPortal)(e,n)}):null};var _=n(84860),m=n.n(_);let p=t=>{let e=t.bottom,n="bottom";return Object.entries(t).forEach(t=>{let[r,o]=t;o>e&&(e=o,n=r)}),n};var f=t=>{let{anchorElement:e,positioningElement:n,offset:r=0,selectSide:o=null}=t,i={top:"unset",right:"unset",left:"unset",bottom:"unset"},a=e.getBoundingClientRect(),u=n.getBoundingClientRect(),l=u.width,c=u.height,s=window.innerHeight,d=window.innerWidth,_=a.top,m=s-a.bottom,f=d-a.right,v=a.left,E=a.bottom,h=a.right,A=v+a.width/2,T=_+a.height/2,P=A-l/2,g=T-c/2,S=P<-r||P+l-r-10>d?f>v?0-r:d-l+r-16:P,C=g<-r||g+c-r-10>s?_<m?0-r:s-c+r-10:g,I=[{side:"bottom",priority:2,isFreeSpace:m>=c-r,position:{...i,top:"".concat(E,"px"),left:"".concat(S,"px")}},{side:"top",priority:3,isFreeSpace:_>=c-r,position:{...i,top:"".concat(_-c,"px"),left:"".concat(S,"px")}},{side:"right",priority:4,isFreeSpace:f>=l-r,position:{...i,left:"".concat(h,"px"),top:"".concat(C,"px")}},{side:"left",priority:5,isFreeSpace:v>=l-r,position:{...i,left:"".concat(v-l,"px"),top:"".concat(C,"px")}}];if(o){let t=I.find(t=>t.side===o);t&&(t.priority=1)}I.sort((t,e)=>t.priority-e.priority);let N=I.find(t=>t.isFreeSpace);if(N)i={...i,...N.position};else{let t=p({top:_-c,bottom:m-c,right:f-l,left:v-l}),e=I.find(e=>e.side===t);e&&(i={...i,...e.position})}return i};let v=t=>{let{children:e,text:n,offset:o=10,trigger:a="hover",tooltipClassName:l,selectSide:c,disabled:s}=t,[_,p]=(0,u.useState)(null),[v,E]=(0,u.useState)(null),[h,A]=(0,u.useState)(!0),T=(0,u.useRef)(null),P=(0,u.useRef)(null),g="click"===a,S=(0,u.useCallback)(()=>{A(!0),P.current=setTimeout(()=>{E(null)},200),window.removeEventListener("scroll",S,!1)},[]);(0,u.useEffect)(()=>{if(!n)return;let t=T.current;if(v&&t)return p(f({anchorElement:v,positioningElement:t,offset:o,selectSide:c})),()=>{E(null),P.current&&clearTimeout(P.current),window.removeEventListener("scroll",S,!1)}},[v,n,S,o,h,c]);let C=t=>({onMouseEnter:e=>{(null==t?void 0:t.onMouseEnter)&&t.onMouseEnter(e),g||s||(A(!1),E(e.currentTarget),window.addEventListener("scroll",S,!1))},onClick:e=>{(null==t?void 0:t.onClick)&&t.onClick(e),g&&!s&&(A(!1),E(e.currentTarget),window.addEventListener("scroll",S,!1))}}),I=()=>{A(!0),P.current=setTimeout(()=>{E(null)},300)},N="string"!=typeof e&&"number"!=typeof e?(0,u.createElement)(e.type,{...e.props,...C(e.props)}):(0,u.createElement)("span",{children:e,...C()}),y=t=>{var e;v===t.target||(null==v?void 0:v.contains(t.target))||t.target===T.current||(null===(e=T.current)||void 0===e?void 0:e.contains(t.target))||I()};return(0,u.useEffect)(()=>(g||(h?window.removeEventListener("mousemove",y):window.addEventListener("mousemove",y)),()=>{window.removeEventListener("mousemove",y)}),[v,y,h]),(0,r.jsxs)(r.Fragment,{children:[v&&n?(0,r.jsx)(d,{children:(0,r.jsx)("div",{className:(0,i.Z)(m().tooltipWrapper,{[m().clickedTooltip]:g}),onClick:()=>{g&&I()},children:(0,r.jsx)("div",{ref:T,className:(0,i.Z)(m().tooltipWrapperForPadding,{[m().open]:v,[m().close]:h}),style:{padding:o,..._},children:(0,r.jsx)("div",{className:(0,i.Z)(m().tooltip,l),children:n})})})}):null,N]})};v.displayName="Tooltip";var E=n(45519),h=n.n(E);let A=(0,u.memo)(t=>{let{text:e,className:n,tooltipClassName:s,iconSrc:d=l,iconClassName:_,children:m,withDisabledScroll:p,trigger:f="click",icon:E,iconPlacement:A="right",asTrigger:T,onOpen:P,onClose:g}=t,[S,C]=(0,u.useState)(!1),I=null!=T?T:"button",N=(0,u.useCallback)(()=>{C(t=>(t||null==P||P(),!t))},[P]),y=(0,u.useCallback)(()=>{C(!1),null==g||g()},[g]),L=null!=E?E:d&&(0,r.jsx)(a.default,{unoptimized:!0,className:(0,i.Z)(h().icon,_),src:d,alt:"detailed"}),R="left"===A;return(0,r.jsxs)("div",{"data-testid":"tip-component",children:[(0,r.jsx)(v,{trigger:f,tooltipClassName:s,selectSide:"bottom",text:"string"==typeof e?(0,r.jsx)("span",{className:h().content,dangerouslySetInnerHTML:{__html:e}}):(0,r.jsx)("span",{className:h().content,children:e}),children:(0,r.jsxs)(I,{"data-testid":"button-tip-click-on-open",className:(0,i.Z)(h().button,n),onClick:P,children:[R&&L," ",m," ",!R&&L]})}),(0,r.jsxs)(I,{"data-testid":"button-tip-click-toggle-modal",onClick:N,className:(0,i.Z)(h().buttonMobile,n),children:[R&&L," ",m," ",!R&&L]}),(0,r.jsx)(c.h,{children:(0,r.jsx)(o.jr,{withDisabledScroll:p,className:h().popup,isOpen:S,onClose:y,children:"string"==typeof e?(0,r.jsx)("div",{dangerouslySetInnerHTML:{__html:e}}):e})})]})});A.displayName="Tip"},91627:function(t,e,n){"use strict";n.d(e,{F:function(){return r}});let r=30.416},59687:function(t,e,n){"use strict";n.d(e,{Mf:function(){return r},rO:function(){return o}});let r={$:"Доллары","€":"Евро","\xa5":"Юани","₣":"Франки","\xa3":"Фунты","₽":"Рубли"},o="₽"},26876:function(t,e,n){"use strict";var r;n.d(e,{n:function(){return r}}),(r||(r={})).SHOW_ADDITIONAL_PERCENT_BONUS="SHOW_ADDITIONAL_PERCENT_BONUS"},87566:function(t,e,n){"use strict";n.d(e,{HA:function(){return o},Yw:function(){return i},_n:function(){return r}});let r=n(40257).env.NEXT_PUBLIC_BASE_URL||"https://finuslugi.ru",o=["sberbank","vtb","sovcombank","rosselhozbank","gazprombank","alfabank","promsvyazbank","tbank","mkb","pochta_bank"],i="/deposits/new/savings-product-continuing-scenario"},37162:function(t,e,n){"use strict";n.d(e,{Mb:function(){return c},TM:function(){return i},VT:function(){return o},Yf:function(){return l},a6:function(){return r},p6:function(){return a},uz:function(){return u}});let r="steps",o="place",i="depositsList",a="depositsParametrs",u="downloadAppBanner",l="depositGuide",c="anotherDeposits"},14862:function(t,e,n){"use strict";n.d(e,{m:function(){return u}});var r=n(50666),o=n(64900);let i=()=>o.ZP.enum(["true","false"]).optional().transform(t=>"true"===t),a=o.ZP.object({ASSETS_URL:o.ZP.string().url(),BACKEND_API:o.ZP.string().url(),BASE_URL:o.ZP.string().url(),BFF_SHOWCASE_API:o.ZP.string().url(),COMMON_BLOCKS_API:o.ZP.string().url(),HEADLESS_CMS_API:o.ZP.string().url(),LK_API:o.ZP.string().url(),LK_URL:o.ZP.string().url(),MP_SC_API_DIRECT:o.ZP.string().url(),MP_SC_API:o.ZP.string().url(),PAGE_CONTENT_API:o.ZP.string().url(),PROD_CAT_API:o.ZP.string().url(),PRODUCT_TAGS_API:o.ZP.string().url(),SEO_API:o.ZP.string().url(),REDIRECTS_API:o.ZP.string().url(),FEATURE_TOGGLE_USE_GLOBAL_SUSPENSE:i(),FEATURE_TOGGLE_CUSTOM_TERMS_ENABLED:i(),FEATURE_TOGGLE_WIDGET_REDIRECTS_TO_SPCS:i()}),u=function(){let t={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"),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")},e=a.safeParse(t);return e.success?e.data:(console.error("Invalid public env config:",e.error.format()),t)}()},74552:function(t,e,n){"use strict";n.d(e,{M:function(){return r},w:function(){return o}});let r=80,o=56},40309:function(t,e){"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",e.Z=n},44579:function(t,e){"use strict";var n,r;(r=n||(n={})).Day="day",r.Month="month",r.Year="year",e.Z=n},92807:function(t,e,n){"use strict";n.d(e,{Ft:function(){return u},If:function(){return m},Ln:function(){return l},OO:function(){return d},P1:function(){return T},P8:function(){return E},Po:function(){return f},TT:function(){return s},Ud:function(){return h},Xf:function(){return c},ZT:function(){return A},Zw:function(){return a},_S:function(){return p},lr:function(){return v},ly:function(){return i},t2:function(){return _}});var r=n(40309),o=n(44579);let i=[{value:o.Z.Day,label:"День"},{value:o.Z.Month,label:"Месяц"},{value:o.Z.Year,label:"Год"}],a=[{value:r.Z.OnceAMonth,label:"Раз в месяц"},{value:r.Z.EveryDay,label:"Каждый день"},{value:r.Z.InTheEnd,label:"В конце срока"}],u={[o.Z.Day]:[{id:31,label:"31 день"},{id:91,label:"91 день"},{id:181,label:"181 день"},{id:365,label:"365 дней"}],[o.Z.Month]:[{id:1,label:"1 мес."},{id:3,label:"3 мес."},{id:6,label:"6 мес."},{id:12,label:"12 мес."}],[o.Z.Year]:[{id:1,label:"1 год"},{id:2,label:"2 года"},{id:3,label:"3 года"}]},l=3e5,c="₽",s=o.Z.Month,d={[o.Z.Day]:31,[o.Z.Month]:3,[o.Z.Year]:1},_=d[s],m=r.Z.OnceAMonth,p=16,f=1e3,v=999999999,E={[o.Z.Day]:3700,[o.Z.Month]:120,[o.Z.Year]:10},h={[o.Z.Day]:["день","дня","дней"],[o.Z.Month]:["месяц","месяца","месяцев"],[o.Z.Year]:["год","года","лет"]},A=1,T=100},91586:function(t,e,n){"use strict";var r,o,i,a,u,l,c,s,d,_;n.d(e,{D1:function(){return a},Lg:function(){return r},e4:function(){return i},zs:function(){return o}}),(l=r||(r={})).END="IN_THE_END",l.MONTH="MONTHLY",(c=o||(o={})).DAY="DAY",c.MONTH="MONTH",c.YEAR="YEAR",(s=i||(i={})).FIXED="FIXED",s.FLOATING="FLOATING",(d=a||(a={})).SALARY_OR_PENSION="SALARY_OR_PENSION",d.SPENDING="SPENDING",(_=u||(u={})).ANY="ANY",_.NEW="NEW",_.OLD="OLD"},15329:function(t,e){"use strict";var n,r;(r=n||(n={})).PreferentialRateForWholeTerm="PREFERENTIAL_RATE_FOR_WHOLE_TERM",r.WithoutRecalculationOfInterest="WITHOUT_RECALCULATION_OF_INTEREST",e.Z=n},53931:function(t,e,n){"use strict";n.d(e,{$1:function(){return s},LM:function(){return d}});var r=n(50666);let o=t=>/^https:\/\//gi.test(t),i=t=>["",...t.replace(/^http(s)?:\/\//gi,"").replace(/\/$/,"").split(".").slice(-2)].join("."),a=()=>window.location.host.indexOf("localhost")>=0,u=t=>('"'===t[0]&&(t=t.slice(1,-1)),t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)),l=t=>encodeURIComponent(t).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent),c=t=>encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[(]/g,"%28").replace(/[)]/g,"%29"),s=()=>{if("undefined"!=typeof document&&document.cookie)return Object.fromEntries(document.cookie.split("; ").map(t=>t.split("=")).map(t=>t.map(t=>u(t))))},d=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:365,u=(0,r.env)("NEXT_PUBLIC_BASE_URL");if(!u)throw Error("Не определена переменная окружения NEXT_PUBLIC_BASE_URL");let s=a()?"":"; domain=".concat(i(u)),d=new Date(new Date().getTime()+864e5*n).toUTCString();document.cookie="".concat(c(t),"=").concat(l("string"==typeof e?e:JSON.stringify(e)),"; SameSite=Strict").concat(o(u)?"; Secure":"").concat(s,"; expires=").concat(d,"; path=/;")}},94441:function(t,e,n){"use strict";n.d(e,{HP:function(){return l},I7:function(){return A},MP:function(){return T},Nx:function(){return v},UD:function(){return E},VV:function(){return f},bh:function(){return d},f1:function(){return m},u0:function(){return p},vc:function(){return s},vf:function(){return _},xV:function(){return c},yK:function(){return h}});var r=n(15329),o=n(84456);let i=(t,e)=>Math.min(t,e.minimumPeriod?(0,o.I)(e.minimumPeriod):0),a=(t,e)=>Math.max(t,e.maximumPeriod?(0,o.I)(e.maximumPeriod):0),u=(t,e,n)=>{var r,i,a,u,l,c;e.push({from:null,to:null,term:null,amount:null,term_from:n.minimumPeriod?(0,o.I)(n.minimumPeriod):0,term_to:n.maximumPeriod?(0,o.I)(n.maximumPeriod):0,rate:n.maximumRate,amount_from:null!==(l=n.minimumAmount)&&void 0!==l?l: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===(a=n.tags)||void 0===a?void 0:a.deepLink)||"",url:(null==n?void 0:null===(u=n.tags)||void 0===u?void 0:u.url)||""},optionId:t.id})},l=(t,e)=>{let n=[],r=1/0,o=0,l=1/0,c=0;for(let p of t)if(null==p?void 0:p.active){if(e){var s,d,_,m;let t=null!==(_=null===(s=p.duration)||void 0===s?void 0:s.minimum)&&void 0!==_?_:0,e=null!==(m=null===(d=p.duration)||void 0===d?void 0:d.maximum)&&void 0!==m?m:0;l=Math.min(l,t),c=Math.max(c,e)}for(let t of p.currencies||[])for(let s of t.rates||[])u(p,n,s),r=Math.min(r,s.minimumAmount),o=Math.max(o,s.maximumAmount),e||(l=i(l,s),c=a(c,s))}return{rates:n,amountFrom:r,amountTo:o,termFrom:l,termTo:c}},c=t=>{var e;return(null==t?void 0:null===(e=t.interestPayments)||void 0===e?void 0:e.some(t=>(null==t?void 0:t.method)==="CAPITALISATION"))?1:0},s=t=>c(t)?"Да":"Нет",d=t=>{var e;let{hasCapitalization:n,hasCurrentAccount:r}=(null!==(e=null==t?void 0:t.interestPayments)&&void 0!==e?e:[]).reduce((t,e)=>({hasCapitalization:t.hasCapitalization||"CAPITALISATION"===e.method,hasCurrentAccount:t.hasCurrentAccount||"TO_CURRENT_BANK_CUSTOMER_ACCOUNT"===e.method}),{hasCapitalization:!1,hasCurrentAccount:!1});return n&&r?"На выбор клиента":n?"Да":"Нет"},_=t=>(null==t?void 0:t.earlyTermination)===r.Z.PreferentialRateForWholeTerm||(null==t?void 0:t.earlyTermination)===r.Z.WithoutRecalculationOfInterest?1:0,m=t=>_(t)?"Да":"Нет",p=t=>{var e,n;return(null==t?void 0:null===(n=t.replenishment)||void 0===n?void 0:null===(e=n[0])||void 0===e?void 0:e.type)?1:0},f=t=>p(t)?"Возможно":"Невозможно",v=t=>{var e,n;return(null==t?void 0:null===(n=t.partialWithdrawal)||void 0===n?void 0:null===(e=n[0])||void 0===e?void 0:e.type)?1:0},E=t=>v(t)?"Возможно":"Невозможно",h=t=>t?"Да":"Нет",A=t=>{try{var e,n;if(!t)return"";let r=t.legal_entities;if("string"==typeof r){let t=JSON.parse(r);return Array.isArray(t)&&(null===(n=t[0])||void 0===n?void 0:n.name)?t[0].name:""}if(Array.isArray(r))return(null===(e=r[0])||void 0===e?void 0:e.name)||"";return""}catch(t){return""}},T=t=>({status_custom:null,currency_id:1,fin_exclusive:0,active_to:"",archive:0,bank_id:0,bank_name:"",bank_url:"",logo_mob:"",asSavingAccount:t,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,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:t?1:0,child:0,pension:0,salary:0,insurance:0,investment:0,multicurrency:0,martgage:0}})},96742:function(t,e,n){"use strict";n.d(e,{z:function(){return r}});let r=t=>{switch(t){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(t,e,n){"use strict";n.d(e,{f:function(){return r}});let r=t=>isNaN(t.getTime())?"":new Intl.DateTimeFormat("ru-RU",{day:"numeric",month:"long",year:"numeric"}).format(t)},75109:function(t,e,n){"use strict";n.d(e,{D:function(){return o},pW:function(){return r},qL:function(){return i}});let r=t=>t&&{fixedBonusAmount:t.fixedBonusAmount,sum:t.maxBonusAmount,rate:t.annualPercentBonusValue,description:t.productsBonusTooltip,terms:t.productDetailBonusTooltip,link:t.helpfulLink},o=(t,e,n)=>t?r(e):n;function i(t,e){return!e}},84456:function(t,e,n){"use strict";n.d(e,{I:function(){return o}});var r=n(91627);let o=t=>{let e=t.value;switch(t.type){case"MONTH":e=t.value*r.F;break;case"YEAR":e=365.25*t.value}return Math.round(e)}},91220:function(t,e,n){"use strict";n.d(e,{p:function(){return r}});let r=function(t){var e,n,r,o;let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"?",a=null!==(o=null===(r=t.split(i))||void 0===r?void 0:null===(n=r[1])||void 0===n?void 0:null===(e=n.split("?"===i?"#":"?")[0])||void 0===e?void 0:e.split("&"))&&void 0!==o?o:[],u={};return a.forEach(t=>{let[e,n]=t.split("="),r=null!=n?n:"";if(e in u){let t=u[e];if(Array.isArray(t)){u[e]=[...t,r];return}if(!Array.isArray(t)&&t){u[e]=[t,r];return}}u[e]=r}),u}},70104:function(t,e,n){"use strict";n.d(e,{$1:function(){return i},D$:function(){return u},Y4:function(){return o},ZM:function(){return a},og:function(){return l},zd:function(){return r}});let r=(t,e)=>{var n;return e>0&&!Number.isInteger(t)&&!Number.isNaN(t)&&(null===(n=String(t).split(".")[1])||void 0===n?void 0:n.length)>e&&(t=+t.toFixed(e)),t},o=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;return t=r(t,e),new Intl.NumberFormat("ru-RU",{useGrouping:"min2"}).format(t)},i=t=>t?t.toString().replace(".",","):0,a=t=>Math.round(100*t)/100,u=t=>{let e=String(t);if(e.includes("."))return o(t);if(e.length>6)e="".concat(o(t/1e6)," млн");else if(e.length>3){let n=t/1e3;e=e.length-String(n).length<2?o(t):"".concat(o(n)," тыс")}return e},l=t=>o(t)+"%"},36578:function(t,e,n){"use strict";n.d(e,{PY:function(){return o},_6:function(){return r},on:function(){return i}});let r=(t,e,n,r)=>{if(1!=Math.floor((t=Math.abs(t))/10)%10){if(1==(t%=10))return e;if(t>=2&&t<=4)return n}return r},o=(t,e)=>{let[n,o,i]=e;return"".concat(t," ").concat(r(t,n,o,i))},i=(t,e,n)=>t>1?"".concat(r(t,...e)," ").concat(t," ").concat(r(t,...n)):"".concat(r(t,...e)," ").concat(r(t,...n))},72151:function(t,e,n){"use strict";n.d(e,{lQ:function(){return i},yr:function(){return a}});var r=n(30631);let o=[{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=(t,e)=>{let n=sessionStorage.getItem("pushedEvents"),o=n?JSON.parse(n):[];t.event=t.event?t.event:"data-event",t.eventValue=t.eventValue?t.eventValue:null,t.eventAction=t.eventAction&&"string"==typeof t.eventAction?t.eventAction.toLowerCase().replaceAll(/[ \xa0]/g,"_"):"",t.eventLabel=t.eventLabel&&"string"==typeof t.eventLabel?t.eventLabel.toLowerCase().replaceAll(/[ \xa0]/g,"_"):"";let i=o.find(n=>n.eventCategory===t.eventCategory&&n.eventAction===t.eventAction&&n.eventLabel===t.eventLabel&&("all"===e||"url"===e&&window.location.pathname===n.url));if(!e||!i){if(e){let e={...t};e.url=window.location.pathname,o.push(e),sessionStorage.setItem("pushedEvents",JSON.stringify(o))}(0,r.AB)(t)}},a=t=>{for(let e of o)if(t.indexOf(e.path)>=0){let n=t.match(/str_(\d+)/),r=Array.isArray(n)&&n[1]?Number(n[1]):1;setTimeout(()=>{i({event:"data-event",eventCategory:e.category,eventAction:"stay_15_seconds",eventLabel:t,eventValue:r})},15e3);return}}},31219:function(t,e,n){"use strict";n.d(e,{b:function(){return o}});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"},o=t=>t.replace(/[а-яё]/gi,t=>{let e=t.toLowerCase();if(e in r){let n=r[e];return e===t?n:n.charAt(0).toUpperCase()+n.slice(1)}return t})},14441:function(t,e,n){"use strict";n.d(e,{P:function(){return a}});var r=n(99376),o=n(2265),i=n(91220);function a(){let t=(0,r.usePathname)(),e=(0,r.useSearchParams)(),n=(0,o.useMemo)(()=>{if(!t)return"";let n=location.hash,r=null==e?void 0:e.toString();return(null==r?void 0:r.length)?t+"?"+r+n:t+n},[e,t]),a=(0,o.useMemo)(()=>(0,i.p)(n,"?"),[n]),u=(0,o.useMemo)(()=>(0,i.p)(n,"#"),[n]),l=(0,o.useCallback)(t=>{history.pushState({url:t},"",t)},[]),c=(0,o.useCallback)(t=>{history.replaceState({url:t},"",t)},[]);return(0,o.useMemo)(()=>({asPath:n,query:a,hash:u,push:l,replace:c}),[u,n,l,a,c])}},34039:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(2265),o=n(53931),i=n(91220);let a=t=>(0,i.p)(t);var u=n(72151);let l=(t,e)=>{let n=a(t);if(n&&n.aggregator_id){let t={...n,create_date:new Date().toISOString()},i={payload:[]};try{var r;i=JSON.parse((null===(r=(0,o.$1)())||void 0===r?void 0:r.cpa_click)||"{}")}catch(t){return}i.payload||(i.payload=[]),i.payload.push(t);let a={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)};e[String(n.aggregator_id)]&&((0,o.LM)("cpa_click",i,30),(0,u.lQ)(a))}};var c=n(14441);function s(t){let{asPath:e}=(0,c.P)();(0,r.useEffect)(()=>{(0,u.yr)(e),l(e,t)},[t,e])}},48034:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(5426),o=n(74552);function i(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=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"),a=(0,r._m)("l");return n?i?-(o.M+(a?t:e)):-(o.w+e):a?-t:-e}},45519:function(t){t.exports={popup:"Tip_popup__8fMO9",button:"Tip_button__g5mPA",icon:"Tip_icon__zTERB",buttonMobile:"Tip_buttonMobile__OTn9W",content:"Tip_content__ab_0d"}},84860:function(t){t.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"}}}]);