(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2985],{18487:function(e,t,n){Promise.resolve().then(n.bind(n,53417)),Promise.resolve().then(n.bind(n,69767)),Promise.resolve().then(n.t.bind(n,88003,23)),Promise.resolve().then(n.bind(n,15037)),Promise.resolve().then(n.bind(n,27885))},97793:function(e,t,n){"use strict";n.d(t,{Lp:function(){return m},VJ:function(){return _},X4:function(){return s},ID:function(){return u},iT:function(){return o},PT:function(){return l},qB:function(){return p},Cc:function(){return d},vI:function(){return c},rl:function(){return v}});var a=n(77337),i=n(90716);let r=e=>e?Object.keys(e).filter(t=>e[t]).map(t=>"".concat(t,"=").concat(e[t])).join("&"):"",s=e=>{let t=r(e);return(0,i.t9)("/money_data/Deposits.json".concat(t?"?".concat(t):""))},o=async e=>{var t;return null!==(t=(await (0,i.t9)("/api/v1/products/by-product-ids",{method:"POST",body:JSON.stringify(e),headers:{"Content-Type":"application/json"}},{isMpSc:!0},!0)).data)&&void 0!==t?t:[]},l=async e=>{var t;let n=(0,a.xn)("/api/v1/products/tags",e);return null!==(t=(await (0,i.t9)(n,null,{isMpSc:!0},!0)).data)&&void 0!==t?t:[]},c=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"active",t=arguments.length>1?arguments[1]:void 0,n=(0,a.jb)((0,a.xn)("/api/v1/deposits",e),null!=t?t:{});return(0,i.t9)(n,null,{isNewApi:!0})},u=()=>{let e=(0,a.jb)("/api/v2/products/search",{productTypes:"DEPOSIT",filtersExpression:"#contentAttributes?.url != null  and T(java.util.Arrays).asList('REFERAL').contains(#contentAttributes?.integration?.integrationType.name())"});return(0,i.t9)(e,{method:"GET"},{isProdCatApi:!0})},d=e=>{let t=(0,a.jb)("/api/v1/deposits/ids",{ids:e});return(0,i.t9)(t,{method:"GET"},{isNewApi:!0})},m=e=>(0,i.t9)("/api/v1/deposits/top/multi",{method:"POST",body:JSON.stringify(e)},{isNewApi:!0}),p=e=>(0,i.t9)("/api/v1/deposits/no-auth/showcase",{method:"POST",body:JSON.stringify(e),headers:{"Content-Type":"application/json"}},{isNewApi:!0}),_=e=>(0,i.t9)("/api/v1/deposits/active/income",{method:"POST",body:JSON.stringify(e),headers:{"Content-Type":"application/json"}},{isNewApi:!0}),v=async e=>(0,i.t9)("/api/v1/deposits/terms/active",{method:"POST",body:JSON.stringify({customerId:e,useStandartTerms:!0})},{isNewApi:!0})},75609:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var a=n(69589);function i(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],{online_application:n,archive:i,active_to:r}=e,{commercial:s,type:o}=n,l=!r||new Date(r)>=new Date;return(0===i||t)&&l?0===s&&3===o?a.P.isPlatformDeposit:1===s?a.P.isLidgenDeposit:a.P.isNonPlatformDeposit:a.P.isArchiveDeposit}},28819:function(e,t,n){"use strict";n.d(t,{t:function(){return o}});var a=n(57437),i=n(54365),r=n(41315),s=n.n(r);let o=e=>{let{children:t,className:n}=e;return(0,a.jsx)("div",{className:(0,i.Z)(s().mainContainer,n),children:t})};o.displayName="MainContainer"},21301:function(e,t,n){"use strict";n.d(t,{V:function(){return c}});var a=n(57437),i=n(54365),r=n(44587),s=n(11359),o=n(281),l=n.n(o);let c=e=>{let{className:t,text:n,tooltipText:o,theme:c="primary",tipIcon:u,onTooltipOpen:d}=e;return(0,a.jsx)("div",{className:(0,i.Z)(l().tag,{[l().tagPrimary]:"primary"===c,[l().tagSecondary]:"secondary"===c,[l().tagPink]:"pink"===c,[l().tagYellow]:"yellow"===c},t),children:o&&(0,a.jsx)(s.C,{className:l().detail,iconSrc:r.Z,text:o,iconClassName:l().detailIcon,icon:u,onOpen:()=>null==d?void 0:d(n),children:(0,a.jsx)("span",{className:l().text,children:n})})})}},27885:function(e,t,n){"use strict";n.d(t,{ComboDepositDetail:function(){return ef}});var a,i,r=n(57437),s=n(5426),o=n(50666),l=n(2265),c=n(77337),u=n(30754),d=n(3156),m=n(28819),p=n(65716),_=n(69589),v=n(68026),h=n(58580),f=n(39402),g=n(84456),x=n(72151),b=n(14441),j=n(49394),y=n(36204),k=n(57977),N=n(37466),C=n(21891),w=n(69430),D=n(91358),T=n(31365),A=n.n(T),P=n(54365),S=n(92449),I=n(75609),L=n(72096),E=n(13922),O=n(32523),B=n(16161),R=n(34482),$=n(31219),U=n(48034),M=n(19612),Z=n(75109);let H=(e,t,n,a,i,r)=>{let s=!("finuslugiBonusAllowed"in e)||!!e.finuslugiBonusAllowed,o=(0,M.p)({isPlusFiveBonus:r,isOldUser:i,terms:a,finuslugiBonusAllowed:s,currentAmount:n,finuslugiBonusPromotion:e.finuslugiBonusPromotion}),l=i?(0,Z.pW)(e.finuslugiBonusPromotion):t.find(e=>"five_procent"===e.unique_key);return o?l:void 0},z=(e,t)=>e.term_from<=t&&t<=e.term_to?0:t<e.term_from?Math.round(e.term_from-t):Math.round(t-e.term_to),K=(e,t,n)=>n.filter(t=>{var n,a;return e>=(null!==(n=t.amount_from)&&void 0!==n?n:0)&&e<=(null!==(a=t.amount_to)&&void 0!==a?a:1/0)}).sort((e,n)=>z(e,t)-z(n,t))[0];var Y=n(41654),V=n.n(Y),F=n(69393),W=n(70104),Q=n(36578),G=n(55665),X=n.n(G);let q=(0,l.memo)(e=>{let{isAllowed:t,amount:n,term:a,rate:i,num:o,isPrimary:l,onOpen:c}=e;return(0,r.jsxs)(s.W2,{className:X().wrapper,children:[(0,r.jsxs)("div",{className:X().header,children:[(0,r.jsx)("div",{className:X().num,children:"Вклад ".concat(o)}),l&&(0,r.jsx)(s.$,{text:"Откройте этот вклад первым",color:"orange"})]}),(0,r.jsxs)("div",{className:X().content,children:[(0,r.jsxs)("div",{className:X().tags,children:[(0,r.jsx)(s.$,{className:X().tag,text:"Сумма — ".concat((0,W.Y4)(n,2),"\xa0₽")}),(0,r.jsx)(s.$,{className:X().tag,text:"".concat((0,Q.PY)(a.value,F.mB[a.type])," — ").concat((0,W.Y4)(i,2),"%")})]}),(0,r.jsx)(s.zx,{label:"Открыть",disabled:!t,onClick:c,size:"xs"})]})]})});q.displayName="ComboDepositConfirm";var J=n(33145),ee=n(27648),et=n(54328),en=n(38292),ea=n.n(en);let ei=(0,o.env)("NEXT_PUBLIC_BASE_URL"),er=(0,l.memo)(e=>{let{bic:t,bankUrl:n,bankName:a,depositName:i}=e;return(0,r.jsxs)("div",{className:ea().wrapper,children:[(0,r.jsx)(ee.default,{className:ea().link,href:"".concat(ei,"/banki/").concat(n),target:"_self",children:(0,r.jsx)(J.default,{className:ea().logo,src:(0,et.B)(t),width:40,height:40,alt:"логотип банка"})}),(0,r.jsxs)("div",{className:ea().container,children:[(0,r.jsx)("div",{className:ea().depositName,children:i}),(0,r.jsx)("div",{className:ea().bankName,children:a})]})]})});er.displayName="ComboDepositHeader";var es=n(23163),eo=n.n(es);let el=(0,l.memo)(e=>{let{totalAmount:t,averageRate:n,totalProfit:a,maxAmount:i}=e,[o,c]=(0,l.useState)(!1),u=(0,l.useRef)(null),d=(0,l.useRef)(null),m=(0,s._m)("l"),p=[{label:"Сумма",value:"".concat((0,W.Y4)(t,2),"\xa0₽"),id:1},{label:"Средняя ставка",value:"".concat((0,W.Y4)(n,2),"%"),id:2},{label:"Общий доход",value:"".concat((0,W.Y4)(a,2),"\xa0₽"),id:3}];return(0,r.jsxs)("div",{className:eo().wrapper,children:[(0,r.jsxs)(s.W2,{className:eo().paramsContainer,children:[(0,r.jsxs)("div",{className:eo().leftParams,children:[(0,r.jsx)("div",{className:eo().title,children:"Два вклада выгоднее"}),(0,r.jsx)("div",{className:eo().params,children:p.map(e=>{let{label:t,value:n,id:a}=e;return(0,r.jsxs)("div",{className:eo().param,children:[(0,r.jsx)("div",{className:eo().label,children:t}),(0,r.jsx)("div",{className:eo().value,children:n})]},a)})})]}),(0,r.jsxs)("div",{className:(0,P.Z)(eo().rightParams,o&&eo().opened),children:[(0,r.jsxs)("div",{className:eo().title,onClick:()=>{if(m)return;let e=!o,t=u.current;t&&(c(e),d.current&&clearTimeout(d.current),e?t.style.whiteSpace="initial":d.current=setTimeout(()=>{t.style.whiteSpace="nowrap"},300))},children:["Почему два вклада, а не один?",!m&&(0,r.jsx)(s.ax,{className:eo().icon,name:"finkit:down-arrow-finkit"})]}),(0,r.jsx)("div",{ref:u,className:eo().text,children:"Для того чтобы вы получили максимальный доход, мы предлагаем открыть два вклада.\n              У первого — самая выгодная ставка и есть лимит вложений от банка: ".concat((0,W.D$)(i),"\xa0₽.\n              Второй вклад — следующий по выгоде.\n              Если откроете оба, средняя ставка составит ").concat((0,W.Y4)(n,2),"%")})]})]}),(0,r.jsxs)(s.W2,{className:eo().stepsContainer,children:[(0,r.jsx)("div",{className:eo().title,children:"Как работает комбо?"}),(0,r.jsx)("ol",{className:eo().steps,children:["Откройте первым Вклад 1, чтобы получить максимальную ставку","После того как Вклад 1 откроется, отправьте заявку на Вклад 2","Управляйте вкладами в личном кабинете Финуслуг"].map(e=>(0,r.jsx)("li",{className:eo().step,children:e},e.replace(" ","_")))})]})]})});el.displayName="ComboHeader";let ec=null!==(a=(0,o.env)("NEXT_PUBLIC_MOEX_AD_URI"))&&void 0!==a?a:"",eu=(e,t)=>{var n,a,i,r;return{bic:e.bic,bankUrl:null!==(n=t.url)&&void 0!==n?n:"",bankName:null!==(i=null!==(a=t.name)&&void 0!==a?a:e.bank_name)&&void 0!==i?i:"",depositName:null!==(r=e.title)&&void 0!==r?r:""}},ed=(e,t,n,a,i)=>({amount:a,isAllowed:!0,term:n.term,rate:n.rate,onOpen:()=>i(e,t,n)}),em=e=>{let{deposit:t,comboDeposit:n,questions:a,company:i,extraInfo:r,isOldUser:s,isPlusFiveBonus:o,isDesktop:l,eventCategory:c,discount:u,rate:d}=e;return{questions:a,company:i,extraInfo:r,eventCategory:c,isPlusFiveBonus:o,isOldUser:s,discount:u,data:t,isMobile:!l,optionId:null==d?void 0:d.optionId,amount:n.amount,withNewMarkup:!0,isCollapsible:!0,isCombo:!0,isOpened:!l}},ep=e=>{var t,n,a,i;let{deposit:r,extraInfo:o,isDesktop:l,eventCategory:c,sum:u,term:d,isShowDepositTip:m,scrollOffset:p,discount:_,rate:v,calculatedProfit:h,calculatedTotalProfit:f,calculatedEffectiveRate:g,calculatedBonus:x}=e,b=(null===(t=r.interest_capitalization)||void 0===t?void 0:t.has)===1&&0===r.partial_withdrawal.has&&(null===(n=r.refill)||void 0===n?void 0:n.has)===0,j=(0,s.zC)(null==r?void 0:r.currency_id),y=(0,R.Z)(r.interest_payment),k="".concat(u,"_").concat(d,"_").concat(null==v?void 0:v.rate,"%_").concat((0,$.b)(r.title),"_").concat((0,$.b)(r.bank_name),"_").concat(r.id),N=(0,I.Z)(r)||void 0,[C]=L.kJ,[w]=L.k5;return{depositType:N,discount:_,extraInfo:o,isShowDepositTip:m,isCapitalization:b,scrollOffset:p,totalValues:k,eventCategory:c,rate:0,sum:u,term:d,productId:null!==(i=null==v?void 0:null===(a=v.mp)||void 0===a?void 0:a.product_id)&&void 0!==i?i:r.id,isMobile:!l,refillSum:"",percentType:C.value,refillType:w.value,period:(0,E.n)(r).value,unit:j.unit,tags:r.tags,salaryToggle:!1,isHideButtons:!0,paymentFrequency:y,shortChipsList:!1,firstDepositBonusTitle:!1,withChart:!0,hideExternalLinks:!1,withNewMarkup:!0,isEditable:!1,isCombo:!0,calculatedProfit:h,calculatedTotalProfit:f,calculatedEffectiveRate:g,calculatedBonus:x}},e_=e=>{let{opens:t,isAllowed:n,deposits:a,comboDeposits:i,companies:r,extraInfos:s,bonuses:o,questions:c,eventCategory:u,scrollOffset:d,isShowDepositTip:m,isDesktop:p,isOldUser:_,isPlusFiveBonus:v,isAnimationDisabled:h,onOpen:f,onCollapseOpen:x}=e;return(0,l.useMemo)(()=>a&&i&&r?[{className:V().left,confirm:{num:1}},{className:V().right,confirm:{isAllowed:n,num:2}}].map((e,n)=>{var l;let b=a[n],j=r[n],y=i.deposits[n],k=s[n];if(!b||!j||!y||!k)return null;let N=y.amount,C=(0,g.I)(y.term),w=y.bonusRate?H(b,o,N,y.term.value,_,v):void 0,D=K(N,C,b.interest_rate.rates),T=null===(l=b.tags)||void 0===l?void 0:l.find(e=>{let{tag:t}=e;return"disable_promo"===t}),A=y.profit-y.amount,P=y.profit,S=y.rate,I=y.bonusRate;return{...e,id:b.id,header:eu(b,j),confirm:{...ed(n,b,y,N,f),...e.confirm,isPrimary:(!!w||!!T)&&1===e.confirm.num},params:em({deposit:b,comboDeposit:y,questions:c,company:j,extraInfo:k,isOldUser:_,isPlusFiveBonus:v,isDesktop:p,eventCategory:u,discount:w,rate:D}),compute:{...ep({deposit:b,extraInfo:k,isDesktop:p,eventCategory:u,sum:N,term:C,isShowDepositTip:m,scrollOffset:d,discount:w,rate:D,calculatedProfit:A,calculatedTotalProfit:P,calculatedEffectiveRate:S,calculatedBonus:I}),tag:null==D?void 0:D.tag,computeClassName:V().compute},collapse:{className:V().collapse,isMobile:!p,isMoreVisible:!0,isOpen:t[n],isAnimationDisabled:h,onOpen:()=>x(n)}}}).filter(e=>!!e):[],[t,a,r,o,c,s,u,n,p,_,v,h,m,d,i,f,x])},ev=(0,l.memo)(e=>{var t,n,a,i,o;let{companies:c,deposits:u,comboDeposits:d,questions:p,extraInfos:_,eventCategory:v,bonuses:h,isPlusFiveBonus:j,isOldUser:y,isShowDepositTip:k}=e,N=(0,U.Z)(),{asPath:C}=(0,b.P)(),w=(0,s._m)("l"),[D,T]=(0,l.useState)(!1),[A,I]=(0,l.useState)(!0),[L,E]=(0,l.useState)([!0,!0]);(0,l.useEffect)(()=>{E(w?[!0,!0]:[!1,!1]),setTimeout(()=>{I(!1)},100)},[w]);let R=(0,l.useCallback)(e=>{E(()=>{let t=[...L];return t[e]=!t[e],t})},[L,E]),$=(0,l.useCallback)((e,t,n)=>{var a,i;let r=t.id,s=n.amount,o=n.term.value,l=K(s,(0,g.I)(n.term),t.interest_rate.rates),{urlFirst:c,urlSecond:u}=(0,f._)({asPath:C,productId:r,amount:s,durationValue:o,optionId:null==l?void 0:l.optionId,firstBaseUrl:ec,secondBaseUrl:null==l?void 0:null===(a=l.mp)||void 0===a?void 0:a.url,passCombo:!0});window.open(null!==(i=(null==l?void 0:l.optionId)?c:u)&&void 0!==i?i:t.online_application.url),T(!D),(0,x.lQ)({eventCategory:v,eventLabel:"".concat(r,"_").concat(s,"_").concat(null==l?void 0:l.rate),eventAction:"click_vklad".concat(e+1)})},[C,D,v]),M=e_({opens:L,isAllowed:D,deposits:u,comboDeposits:d,companies:c,extraInfos:_,bonuses:h,questions:p,eventCategory:v,scrollOffset:N,isShowDepositTip:k,isDesktop:w,isOldUser:y,isPlusFiveBonus:j,isAnimationDisabled:A,onOpen:$,onCollapseOpen:R});if(!u||!d||!c)return null;let Z=null!==(n=d.averageRate)&&void 0!==n?n:0,H=null!==(a=d.totalProfit)&&void 0!==a?a:0,z=null!==(i=d.deposits.reduce((e,t)=>e+t.amount,0))&&void 0!==i?i:0,Y=null!==(o=null===(t=u.at(0))||void 0===t?void 0:t.amount.to)&&void 0!==o?o:0;return(0,r.jsxs)(m.t,{className:V().wrapper,children:[(0,r.jsx)(el,{averageRate:Z,totalProfit:H,totalAmount:z,maxAmount:Y}),M.map(e=>e&&(0,r.jsxs)("div",{className:(0,P.Z)(V().combo,e.className),children:[(0,r.jsx)(er,{...e.header}),(0,r.jsx)(q,{...e.confirm}),(0,r.jsxs)(S.u,{...e.collapse,children:[(0,r.jsx)(O.n,{...e.compute}),(0,r.jsx)(B.c,{...e.params})]})]},e.id))]})});ev.displayName="ComboDepositCalculator";let eh=null!==(i=(0,o.env)("NEXT_PUBLIC_MOEX_AD_URI"))&&void 0!==i?i:"",ef=e=>{var t;let{stores:n,questions:a,posts:i,postCategories:o,discounts:T,extraInfos:P,eventCategory:S,deposits:I,companies:L,comboDeposits:E,isOldPage:O}=e,{asPath:B}=(0,b.P)(),R=(0,s._m)("l"),{bonuses:$,isPlusFiveBonus:U,isOldUser:M}=(0,j.Z)(T),{region:Z,town:H}=(0,v.k)(),z=(0,k.a)(p.tE),Y=(0,y.K)({bannersTitle:[p.N9.DEPOSITS_DETAIL],queryParams:z,stores:n});(0,l.useEffect)(()=>{(0,x.lQ)({eventCategory:S,eventAction:"view_combo_page"})},[]);let V=(0,l.useMemo)(()=>O?"/".concat(h.a.VKLADY_OLD):"/".concat(h.a.VKLADY),[O]),F="/reg_".concat(null==Z?void 0:Z.url),W="/".concat(null==H?void 0:H.url),Q=(0,c.xn)(V,"".concat((null==Z?void 0:Z.url)?F:"").concat((null==H?void 0:H.url)?W:"")),G=I.at(0),X=null==E?void 0:E.deposits.at(0);if(!G||!X)return null;let q=K(X.amount,(0,g.I)(X.term),G.interest_rate.rates),{urlFirst:J,urlSecond:ee}=(0,f._)({asPath:null!=B?B:"",productId:G.id,amount:X.amount,durationValue:X.term.value,optionId:null==q?void 0:q.optionId,firstBaseUrl:eh,secondBaseUrl:null==q?void 0:null===(t=q.mp)||void 0===t?void 0:t.url}),et=(null==q?void 0:q.optionId)?J:ee;return(0,r.jsxs)("main",{className:A().wrapper,children:[(0,r.jsx)(m.t,{children:(0,r.jsx)(u.Z,{backwardLabel:"Назад",backwardHref:Q})}),(0,r.jsx)(ev,{companies:L,deposits:I,comboDeposits:E,questions:a,extraInfos:P,eventCategory:S,bonuses:$,isPlusFiveBonus:U,isOldUser:M,isShowDepositTip:!M}),!M&&(0,r.jsx)(w.V,{eventCategory:S,productId:String(G.id),withNewMarkup:!0}),!M&&(0,r.jsx)(N.i,{isMobile:!R,pageType:_.P.isPlatformDeposit,bannerUrl:Y[p.N9.DEPOSITS_DETAIL],appUrl:et,bankUrl:G.online_application.url,eventCategory:S,productId:String(G.id)}),(0,r.jsx)(D.k,{productId:String(G.id),eventCategory:S,basePath:V}),(0,r.jsx)(d.S,{posts:i,categories:o,pageUrl:"combo"}),(0,r.jsx)(C.m,{className:A().disclaimer})]})}},72096:function(e,t,n){"use strict";n.d(t,{$k:function(){return i},k5:function(){return r},kJ:function(){return a}});let a=[{label:"Добавлять ко вкладу (капитализация)",value:"add"},{label:"Выплачивать",value:"dont_add"}],i=[{label:"В конце срока",value:"end"},{label:"Ежедневно",value:"daily"},{label:"Раз в месяц",value:"1"},{label:"Раз в квартал",value:"3"},{label:"Раз в полгода",value:"6"},{label:"Раз в год",value:"12"}],r=[{label:"Не предусмотрено",value:"0"},{label:"Раз в месяц",value:"1"},{label:"Раз в 2 месяца",value:"2"},{label:"Раз в квартал",value:"3"},{label:"Раз в 4 месяца",value:"4"},{label:"Раз в полгода",value:"6"},{label:"Раз в год",value:"12"}]},13922:function(e,t,n){"use strict";n.d(t,{n:function(){return i}});var a=n(72096);let i=e=>{var t;let n="end";return e.interest_payment.end&&(n="end"),e.interest_payment.annually&&(n="12"),e.interest_payment.half_year&&(n="6"),e.interest_payment.quarterly&&(n="3"),e.interest_payment.monthly&&(n="1"),e.interest_payment.daily&&(n="daily"),null!==(t=a.$k.find(e=>n===e.value))&&void 0!==t?t:a.$k[0]}},32523:function(e,t,n){"use strict";n.d(t,{n:function(){return W}});var a=n(57437);n(38068);var i=n(66696),r=n(5426),s=n(54365),o=n(2265),l=n(21301),c=n(69589),u=n(14862),d=n(44579),m=n(35563),p=n(32817),_=n.n(p);function v(e){let{loading:t}=e;return(0,a.jsxs)("div",{className:(0,s.Z)(_().skeletonContainer,t&&_().visible),children:[(0,a.jsx)(m.Od,{className:_().skeletonDate}),(0,a.jsx)(m.Od,{className:_().skeletonProfit})]})}var h=n(27648),f=n(11359),g=n(87566),x=n(23e3),b=n.n(x);function j(e){let{rowCount:t,loading:n}=e;return(0,a.jsx)("div",{className:(0,s.Z)(b().skeletonContainer,n&&b().visible),children:Array.from(Array(t).keys()).map(e=>(0,a.jsx)(m.Od,{className:b().skeleton},e))})}var y=n(70104),k=n(72151),N=n(31219),C=n(90297),w=n.n(C);function D(e){var t;let{withNewMarkup:n,rate:i,effectiveRate:s,hideExternalLinks:l,profit:c,unit:u,extraInfo:d,isSavingAccount:m,salaryToggle:p,setSalaryToggle:_,discount:v,bonus:x,firstDepositBonusTitle:b,tipIcon:C,switchRate:D,onSwitchRate:T,isRateSwitched:A,eventCategory:P,productId:S,isCombo:I=!1,isLoading:L}=e,E=(0,o.useCallback)(()=>{T&&(T(!A),(0,k.lQ)({event:"data-event",eventAction:"click_button_perekluchit_stavku",eventCategory:P,eventLabel:S}))},[T,A,P,S]),O=(0,o.useCallback)(e=>()=>{(0,k.lQ)({event:"data-event",eventAction:"click_link_".concat((0,N.b)(e)),eventCategory:P,eventLabel:S})},[P,S]),B=(0,o.useMemo)(()=>{var e;let t=[{label:"Доход от банка",value:"".concat((0,y.Y4)(c,2)," ").concat(u)}];if((null===(e=d.algo)||void 0===e?void 0:e.id)==="mkb-nakop"&&t.push({label:"Открытие дебетовой карты",value:"Да",description:m&&null!=d.karta?d.karta.label:"Открывая счет, Вы соглашаетесь на оформление дебетовой карты банка"},{label:"Действие счета",value:"Бессрочно"},{label:"Зарплата или пенсия на карту МКБ",value:(0,a.jsx)(r.jw,{checked:p,className:w().singleToggle,onChange:()=>null==_?void 0:_(!p)}),description:(0,a.jsx)(a.Fragment,{children:"Процентная ставка применяется при условии зачисления заработной платы от юридических лиц и индивидуальных предпринимателей на картсчет Клиента, открытый в Банке или суммы пенсий от Фонда пенсионного и социального страхования Российской Федерации или иных органов (учреждений) на любой счет Клиента, открытый в Банке, поступивших в течение 60 календарных дней до каждой даты начисления процентов по счету."})}),i&&t.unshift({label:"Ставка",value:"".concat((0,y.Y4)(i,2),"%")}),s&&t.unshift({label:"Эффективная ставка",value:"".concat((0,y.Y4)(s,2),"%"),description:(0,a.jsxs)(a.Fragment,{children:["Иногда у вклада есть особенности — капитализация процентов, возможность пополнения или акция от банка. Дополнительные параметры меняют доход в большую или меньшую сторону, поэтому процент по эффективной ставке отличается от банковской. Он отражает доход корректнее."," ",!l&&(0,a.jsx)(h.default,{className:w().tooltipLink,target:"_self",onClick:O("Подробнее о том, как считать сложный процент"),href:"".concat(g._n,"/navigator/nakopit-i-sohranit/stat_chto_takoe_slozhnyj_procent_po_vkladu_i_kak_ego_poschitat?ysclid=lfmam3zaig67098551%22"),children:"Подробнее о том, как считать сложный процент"})]})}),v&&x){let e=I?"%":" ".concat(u);t.push({label:b?"Бонус за первый вклад":"Бонус от Финуслуг",value:"".concat((0,y.Y4)(x,2)).concat(e),description:null==v?void 0:v.description})}return t},[x,v,s,null===(t=d.algo)||void 0===t?void 0:t.id,d.karta,b,O,l,m,c,i,p,_,u,I]),R=!!D&&(null==D?void 0:D.difference)>0,$=R?"+".concat((0,y.Y4)(D.difference,1),"% к ставке"):null,U=(0,o.useCallback)(e=>{(0,k.lQ)({eventAction:"click_question_".concat((0,N.b)(e)),eventCategory:P,eventLabel:S})},[P,S]);return(0,a.jsxs)("ul",{className:w().values,children:[(0,a.jsx)(j,{loading:L,rowCount:B.length}),B.map(e=>(0,a.jsxs)("li",{className:w().value,children:[(0,a.jsx)("div",{children:e.label}),e.description&&(0,a.jsx)(f.C,{text:e.description,className:w().detail,onOpen:()=>n&&U(e.label),icon:C}),(0,a.jsx)("div",{className:w().valueDash}),(0,a.jsx)("div",{children:e.value})]},e.label)),R&&$&&(0,a.jsxs)("li",{className:w().value,children:[(0,a.jsx)("div",{children:$}),(0,a.jsx)(f.C,{text:"При сумме вклада от ".concat((0,y.Y4)(D.minAmount)," ₽"),className:w().detail,icon:C,onOpen:()=>n&&U($)}),(0,a.jsx)(r.jw,{onChange:E,checked:A,className:w().toggle,size:"small"})]})]})}var T=n(37162);let A=e=>{let{depositType:t,isHideButtons:n,isShowDepositTip:a,isSavingAccount:i}=e,r=t===c.P.isPlatformDeposit?"Как открыть вклад":"Где открыть вклад",s=t===c.P.isPlatformDeposit?"Как открыть накопительный счет":"Где открыть накопительный счет";return{helpButtonLabel:i?s:r,blockId:t===c.P.isPlatformDeposit?T.a6:T.VT,isShowMainButton:!n&&t===c.P.isPlatformDeposit||t===c.P.isLidgenDeposit,isShowHelpButton:t!==c.P.isArchiveDeposit&&a&&!n,isOfferText:t===c.P.isPlatformDeposit||t===c.P.isLidgenDeposit}};var P=n(2674),S=n(53931),I=n(84948),L=n(32443),E=n(50017),O=n(33145),B={src:"/deposits/_next/static/media/edit.c0611721.svg",height:16,width:16,blurWidth:0,blurHeight:0},R=n(45198),$=n(97291),U=n(35041),M=n(56924),Z=n(28734),H=n.n(Z);function z(e){let{term:t,totalProfit:n,withChart:i,isChartOpen:r,isEditable:s=!0,endingDate:l,onEditButtonClick:c,onToggleChart:u}=e,d=(0,y.Y4)(n,2).split(","),m=(0,o.useMemo)(()=>l?(0,$.f)(l):function(e){let t=new Date;return(0,$.f)(R.Z.day(t,e))}(t),[l,t]);return(0,a.jsxs)("div",{className:H().head,children:[(0,a.jsxs)("h4",{className:H().title,children:["Накопите к ",m]}),(0,a.jsxs)("h5",{className:H().result,children:[(0,a.jsxs)("span",{className:H().resultText,children:[d[0],d[1]?(0,a.jsxs)(a.Fragment,{children:[",",(0,a.jsxs)("span",{className:H().resultTextFloat,children:[d[1]," ₽"]})]}):" ₽"]}),s&&(0,a.jsx)("button",{className:H().resultButton,onClick:c,children:(0,a.jsx)(O.default,{className:H().resultIcon,src:B,alt:"edit"})})]}),i&&(0,a.jsx)(U.W,{onClick:u,className:H().chartButton,icon:r?M.d.arrowBack:M.d.chart,alt:"chart"})]})}var K=n(56257),Y=n.n(K);let V=(0,o.memo)(e=>{let{href:t,id:n,pageType:i,eventCategory:s,withNewMarkup:o,eventLabel:l}=e;return(0,a.jsx)(r.zx,{as:"a",className:Y().button,target:"_blank",href:t,size:"s",disabled:!t,onClick:()=>{(0,k.lQ)({event:"data-event",eventLabel:l,eventCategory:s,eventAction:o?"click_button_open_online":"open_in_bank_product",eventValue:null!=n?n:""})},children:i===c.P.isPlatformDeposit?"Открыть онлайн":"Перейти на сайт банка"})});V.displayName="MainButton";let F={highlights:null,title:null,description:null,variant:"secondary",primaryAuthProviders:["ALFA","SBER","TINKOFF","VTB","MTS","SOVCOM","PHONE"],additionalAuthProviders:[],extraAuthProviders:[],primaryTextOverride:"Открыть вклад"},W=(0,o.memo)(e=>{var t,n;let{onEdit:m,isMobile:p,rate:_,sum:h,term:f,tag:g,appUrl:x,discount:b,isRateSwitched:j,onSwitchRate:y,switchRate:C,isCapitalization:w,depositType:T,productId:O,unit:B,tags:R,isSavingAccount:$,extraInfo:U,salaryToggle:M,setSalaryToggle:Z,isShowDepositTip:H,isHideButtons:K=!1,paymentFrequency:W,customActions:Q,shortChipsList:G=!1,firstDepositBonusTitle:X=!1,scrollOffset:q,computeClassName:J,withChart:ee,tipIcon:et,tagIcon:en,customTagTitle:ea,hideExternalLinks:ei=!1,computeHeader:er,computeTag:es,eventCategory:eo,withNewMarkup:el,totalValues:ec,isEditable:eu=!0,isCombo:ed=!1,calculatedProfit:em,calculatedTotalProfit:ep,calculatedEffectiveRate:e_,calculatedBonus:ev,integrationType:eh,calculatedEndingDate:ef,isLoading:eg=!1}=e,[ex,eb]=(0,o.useState)(!1),ej=new Date;ej.setDate(ej.getDate()+f);let{total:ey,bonus:ek,effectiveRate:eN,profit:eC}=(0,I.Z)({depositSum:h,term:f,rate:_,isCapitalization:w,discount:T===c.P.isPlatformDeposit?b:null,period:d.Z.Day,paymentFrequency:W}),ew=em||eC,eD=ep||ey,eT=ev||ek,eA=function(e){let{integrationType:t}=e,{toggles:{FEATURE_TOGGLE_INTERNAL_REFERAL_LOGIN_ENABLED:n}}=(0,P.ND)(),a=(0,o.useMemo)(()=>(0,S.$1)(),[]),i=(null==a?void 0:a["auth.gtm_customer_id"])||null;return n&&"INTERNAL_REFERAL"===t&&!i}({integrationType:eh}),{helpButtonLabel:eP,blockId:eS,isShowMainButton:eI,isShowHelpButton:eL,isOfferText:eE}=A({depositType:T,isHideButtons:K,isShowDepositTip:H,isSavingAccount:$}),eO=(0,o.useCallback)(()=>{(0,k.lQ)({event:"data-event",eventAction:el?"click_button_how_to_open":"click_button_".concat((0,N.b)(eP)),eventCategory:eo,eventLabel:O}),(0,r.ld)(eS,{offset:q,position:"top"})},[eS,eo,eP,O,q,el]),eB=(0,o.useCallback)(()=>{eb(e=>!e),(0,k.lQ)({event:"data-event",eventAction:"click_icon_diagramma",eventCategory:eo,eventLabel:O})},[eo,O]),eR=(0,o.useCallback)(()=>{m&&(m(),(0,k.lQ)({event:"data-event",eventAction:el?"click_pencil":"click_icon_redactirovanie",eventCategory:eo,eventLabel:O}))},[eo,m,O,el]),e$=(0,o.useCallback)(e=>{(0,k.lQ)({eventCategory:eo,eventLabel:O,eventAction:"click_chips_".concat((0,N.b)(e))})},[eo,O]),eU=(0,o.useCallback)(()=>{var e;return g&&g.title?null!==(e=null==es?void 0:es(g))&&void 0!==e?e:(0,a.jsx)(l.V,{className:Y().tag,text:null!=ea?ea:g.title,tooltipText:g.description,tipIcon:en,onTooltipOpen:e=>el&&e$(e)}):null},[es,ea,e$,g,en,el]),{widgetConfig:eM,isWidgetDataLoading:eZ}=(0,L.B)({disabled:!eA}),eH=(0,o.useCallback)(()=>{if(eI)return eA&&(eM||eZ)?(0,a.jsx)(i.U,{entryPointId:"deposit-detail",baseUrl:u.m.LK_URL,s3AssetsUrl:u.m.ASSETS_URL,skeleton:(0,a.jsx)(r.zx,{pending:!0,className:Y().button,size:"s",label:"Открыть вклад",disabled:!0}),className:(0,s.Z)(Y().button,Y().loginWidget),serverConfig:eM?{...eM,consents:[],legalInfo:null}:void 0,config:F,scenarioParams:{targetUri:x},isSilent:!0}):(0,a.jsx)(V,{href:x,id:O,pageType:T,eventCategory:eo,withNewMarkup:el,eventLabel:ec})},[eI,eA,eM,eZ,x,O,T,eo,el,ec]);return(0,a.jsxs)(r.W2,{className:(0,s.Z)(Y().container,ex&&Y().containerChart,J),children:[null!==(n=null==er?void 0:er(eD,eR))&&void 0!==n?n:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(v,{loading:eg}),(0,a.jsx)(z,{term:f,totalProfit:eD,withChart:ee&&!ed,isChartOpen:ex,isEditable:eu,endingDate:ef,onEditButtonClick:eR,onToggleChart:eB})]}),(0,a.jsxs)("div",{className:Y().info,children:[(0,a.jsx)(E.H,{isMobile:p,className:(0,s.Z)(Y().chart,ex&&Y().chartVisible),sum:h,bonus:ek,profit:ew}),(0,a.jsxs)("div",{className:Y().tags,children:[!G&&(null==R?void 0:R.map(e=>{let{title:t,description:n}=e;return(0,a.jsx)(l.V,{className:Y().tag,text:t,tooltipText:n,theme:"pink",onTooltipOpen:e$},t)})),eU(),!G&&(null===(t=U.algo)||void 0===t?void 0:t.id)==="mkb-nakop"&&U.algo.extraTag&&(0,a.jsx)(l.V,{className:Y().tag,...U.algo.extraTag,onTooltipOpen:e$})]}),(0,a.jsx)(D,{withNewMarkup:el,rate:_,effectiveRate:e_||eN,hideExternalLinks:ei,profit:ew,unit:B,extraInfo:U,isSavingAccount:$,salaryToggle:M,setSalaryToggle:Z,discount:b,bonus:eT,firstDepositBonusTitle:X,tipIcon:et,switchRate:C,onSwitchRate:y,isRateSwitched:j,eventCategory:eo,productId:O,isCombo:ed,isLoading:eg}),null==Q?void 0:Q(f),eH(),eL&&(0,a.jsx)(r.zx,{onClick:eO,className:Y().button,size:"s",variant:"secondary",children:eP}),eE&&(0,a.jsx)("h3",{className:Y().disclaimer,children:"Предварительный расчет. Не является офертой"})]})]})});W.displayName="DepositDetailCompute"},68026:function(e,t,n){"use strict";n.d(t,{Z:function(){return u},k:function(){return d}});var a=n(57437),i=n(22711),r=n(5426),s=n(2265);let o=(0,s.createContext)(void 0);function l(){}let c={region:r.A7.getItem("user_region"),town:r.A7.getItem("user_town"),handleToggleModal:l,handleSetRegion:l,handleSetTown:l};function u(e){let{children:t}=e,[n,l]=(0,s.useState)(()=>r.A7.getItem("user_region")),[u,d]=(0,s.useState)(()=>r.A7.getItem("user_town")),[m,p]=(0,s.useState)(c),_=(0,i.u)(),v=(0,s.useCallback)(()=>{_.handleToggleModal(!0)},[_]),h=(0,s.useCallback)(e=>{m.handleSetRegion(e),l(e),_.selectCity(e,r.A7.getItem("user_town"))},[m,_]),f=(0,s.useCallback)(e=>{m.handleSetTown(e),d(e),_.selectCity(r.A7.getItem("user_region"),e)},[m,_]);(0,s.useEffect)(()=>{function e(e){l(e.detail.region),d(e.detail.town)}return document.addEventListener("onRegionChange",e),()=>document.removeEventListener("onRegionChange",e)},[]),(0,s.useEffect)(()=>{p(c),void 0!==c.region&&l(c.region),void 0!==c.town&&d(c.town)},[]);let g=(0,s.useMemo)(()=>({region:n,town:u,handleToggleModal:v,handleSetRegion:h,handleSetTown:f}),[h,f,v,n,u]);return(0,a.jsx)(o.Provider,{value:g,children:t})}function d(){let e=(0,s.useContext)(o);if(!e)throw Error("Out of context");return e}},75217:function(e,t,n){"use strict";var a=n(2265);t.default=(0,a.createContext)(void 0)},60341:function(e,t,n){"use strict";n.d(t,{default:function(){return s}});var a=n(57437),i=n(2265),r=n(75217);function s(e){let{children:t,siteConfig:n}=e,[s]=(0,i.useState)(n);return(0,a.jsx)(r.default.Provider,{value:s,children:t})}},2674:function(e,t,n){"use strict";n.d(t,{ZP:function(){return l.default},ND:function(){return o}}),(a=i||(i={})).Beeline="beeline",a.T2="t2",a.Megafon="megafon",i.Beeline,i.T2,i.Megafon,i.T2,i.Beeline,i.Megafon,i.T2,i.Beeline,i.Megafon;var a,i,r=n(2265),s=n(75217);function o(){let e=(0,r.useContext)(s.default);if(!e)throw Error("Site config was used out of context");return e}var l=n(60341)},58580:function(e,t,n){"use strict";var a,i;n.d(t,{a:function(){return a}}),(i=a||(a={})).VKLADY="vklady",i.VKLADY_OLD="vklady/old",i.DEPOSIT_CALCULATOR="depozitnyj-kalkulyator",i.DEPOSIT_PICKER="depozitnyj-podborshik",i.PARTNERS_SHOWCASE="vklady/partners",i.COMBO="combo",i.OLD_COMBO="old/combo",i.SAVING_ACCOUNTS="saving-accounts"},45198:function(e,t,n){"use strict";var a=n(92668),i=n(44579);let r={[i.Z.Day]:(e,t)=>(0,a.I)(e,{days:t}),[i.Z.Month]:(e,t)=>(0,a.I)(e,{months:t}),[i.Z.Year]:(e,t)=>(0,a.I)(e,{years:t})};t.Z=r},84948:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var a=n(69775),i=n(89981),r=n(92668),s=n(85873),o=n(53970),l=n(52603),c=n(91627),u=n(40309),d=n(44579),m=n(45198);function p(e){let{nPerYear:t,amount:n,rate:a,termInDays:i}=e,r=n*Math.pow(1+a/t,i/365*t)-n;return{profit:r,effectiveRate:(Math.pow(1+r/n,365/i)-1)*100}}function _(e){let{capitalization:t,paymentFrequency:n,dateStart:a,termByYears:i,amount:r,averageRate:s,termInDays:o}=e;if(t){let e=s/100;if(n===u.Z.EveryDay){let t=i.reduce((t,n)=>t*Math.pow(1+e/n.daysInYear,n.daysInInterval),r)-r,n=t/r/o*(0,l.y)(a)*100;return{profit:t,effectiveRate:n}}if(n===u.Z.Weekly)return p({nPerYear:52,daysPerPeriod:365.25/52,termInDays:o,amount:r,rate:e});if(n===u.Z.OnceAMonth||n===u.Z.InTheEnd)return p({nPerYear:12,daysPerPeriod:c.F,termInDays:o,amount:r,rate:e});if(n===u.Z.Quarterly)return p({nPerYear:4,daysPerPeriod:91.3125,termInDays:o,amount:r,rate:e});if(n===u.Z.Semiannually)return p({nPerYear:2,daysPerPeriod:182.625,termInDays:o,amount:r,rate:e});if(n===u.Z.Annually)return p({nPerYear:1,daysPerPeriod:365.25,termInDays:o,amount:r,rate:e})}return{profit:i.reduce((e,t)=>e+s/100*r/t.daysInYear*t.daysInInterval,0),effectiveRate:s}}function v(e){var t;let{depositSum:n,term:c,rate:u,isCapitalization:p=!1,discount:v,period:h,paymentFrequency:f,dateStart:g=new Date}=e,x=m.Z[h](g,c),b=h===d.Z.Day?c:(0,o.w)(x,g),j=function(e,t,n){let c=(0,a.k)({start:e,end:t});return c.reduce((a,u,d)=>{let m=0===d?e:u,p=d===c.length-1?t:(0,i.u)((0,r.I)(m,{days:n}),{start:m,end:(0,r.I)((0,s.w)(u),{days:1})}),_=(0,o.w)(p,m);return 0===_?a:[...a,{daysInYear:(0,l.y)(u),daysInInterval:_}]},[])}(g,x,b),y={amount:n,paymentFrequency:f,dateEnd:x,dateStart:g,capitalization:p,termByYears:j,termInDays:b,averageRate:u},{profit:k,effectiveRate:N}=_(y),{bonus:C,bonusRate:w}=function(e,t){if(!t)return{bonus:0,bonusRate:0};let n=t.rate;if("fixedBonusAmount"in t&&t.fixedBonusAmount)return{bonus:t.fixedBonusAmount,bonusRate:n};let{profit:a}=_({...e,averageRate:n,capitalization:!1});if(a<t.sum)return{bonus:a,bonusRate:n};let i=t.sum/a;return{bonus:t.sum,bonusRate:n*i}}(y,v);return{total:n+k+C,bonus:C,profit:k,effectiveRate:null!==(t=e.effectiveRate)&&void 0!==t?t:N,bonusRate:w}}},19612:function(e,t,n){"use strict";n.d(t,{p:function(){return i}});class a{get hasKeysExistsSome(){return[...this.amountKeys,...this.termsKeys].some(e=>Object.prototype.hasOwnProperty.call(this.promotion,e))}get hasKeysExistsEvery(){return[...this.amountKeys,...this.termsKeys].every(e=>Object.prototype.hasOwnProperty.call(this.promotion,e))}get hasAmountKeys(){return this.amountKeys.some(e=>Object.prototype.hasOwnProperty.call(this.promotion,e))}get hasTermsKeys(){return this.termsKeys.some(e=>Object.prototype.hasOwnProperty.call(this.promotion,e))}checkMinMax(e,t,n){return(!!n||!!t)&&(n&&!t?e<=n:!n&&t?e>=t:e>=t&&e<=n)}getDiscountByAmount(){return this.checkMinMax(this.currentAmount,this.minAmount,this.maxAmount)}getDiscountByTerms(){return this.checkMinMax(this.terms,this.minTermInDays,this.maxTermInDays)}constructor(e,t){var n,a,i,r;this.promotion=e,this.minAmount=null!==(n=e.minAmount)&&void 0!==n?n:0,this.maxAmount=null!==(a=e.maxAmount)&&void 0!==a?a:0,this.minTermInDays=null!==(i=e.minTermInDays)&&void 0!==i?i:0,this.maxTermInDays=null!==(r=e.maxTermInDays)&&void 0!==r?r:0,this.terms=t.terms,this.currentAmount=t.currentAmount,this.amountKeys=["minAmount","maxAmount"],this.termsKeys=["minTermInDays","maxTermInDays"]}}let i=e=>{let{currentAmount:t,finuslugiBonusAllowed:n,isPlusFiveBonus:i,isOldUser:r,terms:s,finuslugiBonusPromotion:o}=e;if(!n)return!1;if(i)return!0;if(!o||!r)return!1;let l=new a(o,{terms:s,currentAmount:+t});return!l.hasAmountKeys&&!l.hasTermsKeys||(l.terms&&l.currentAmount||!l.hasKeysExistsEvery?!!(l.terms&&l.hasKeysExistsSome&&l.getDiscountByTerms())&&!!(l.currentAmount&&l.hasKeysExistsSome&&l.getDiscountByAmount()):l.getDiscountByTerms()&&l.getDiscountByAmount())}},39402:function(e,t,n){"use strict";n.d(t,{_:function(){return i}});var a=n(91220);function i(e){let{asPath:t,firstBaseUrl:n,productId:i,optionId:s,amount:o,durationValue:l,secondBaseUrl:c,passAggregatorId:u=!1,passCombo:d=!1}=e,{utm_campaign:m,utm_medium:p,utm_source:_,utm_term:v,aggregator_id:h}=(0,a.p)(t,"#"),{partner_id:f}=(0,a.p)(t,"?"),g=u?h:f;return{urlFirst:r(new URL("/add-product",n),{aggregatorId:null!=g?g:"moex-mp-new-sc",productId:i,optionId:s,amount:o,durationValue:l,utm_campaign:m,utm_medium:p,utm_source:_,utm_term:v,...d?{from:"combo"}:null}).toString(),urlSecond:c&&r(new URL(c),{amount:o,durationValue:l,utm_campaign:m,utm_medium:p,utm_source:_,utm_term:v,...d?{from:"combo"}:null}).toString()}}function r(e,t){let n=new URL(e);return Object.entries(t).forEach(e=>{let[t,a]=e;if(null!=a){if(Array.isArray(a))return a.forEach(e=>n.searchParams.append(t,String(e)));n.searchParams.set(t,String(a))}}),n}},54328:function(e,t,n){"use strict";n.d(t,{B:function(){return r}});var a=n(77337),i=n(14862);let r=e=>(0,a.xn)(i.m.ASSETS_URL,"mp-assets/images/bank/logo-brandmark-bank-".concat(e,".svg"))},34482:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var a=n(40309);function i(e){let{daily:t,monthly:n}=e;return 1===t?a.Z.EveryDay:1===n?a.Z.OnceAMonth:a.Z.InTheEnd}},89911:function(e,t,n){"use strict";n.d(t,{d:function(){return s}});var a=n(75461),i=n(2265),r=n(2938);function s(e,t,n){let{disabled:s=!1,separateLoaders:o=!1,ssrLoader:l=!1,...c}=null!=n?n:{},u=(0,a.s4)(),d=(0,r.ZP)(s?null:e,t,{revalidateOnFocus:!1,...c}),{isLoading:m,isValidating:p}=d,_=m||!!l&&!u&&!s,v=_||p;return(0,i.useMemo)(()=>({...d,isLoading:o?_:v,isValidating:o?p:v}),[v,_,p,o,d])}},32443:function(e,t,n){"use strict";n.d(t,{B:function(){return s}});var a=n(67356),i=n(14862),r=n(89911);function s(e){let{disabled:t}=null!=e?e:{},{data:n,isLoading:s}=(0,r.d)("login-widget",()=>(0,a.g)(i.m.LK_API),{disabled:t});return{widgetConfig:n,isWidgetDataLoading:s}}},41315:function(e){e.exports={mainContainer:"MainContainer_mainContainer__i0H2X"}},281:function(e){e.exports={tag:"Tag_tag__F7OOH",tagPrimary:"Tag_tagPrimary__avetL",tagSecondary:"Tag_tagSecondary__RMaKP",tagPink:"Tag_tagPink__YGm7U",tagYellow:"Tag_tagYellow__wh7Mz",text:"Tag_text__nOOMV",detail:"Tag_detail__xPW1b",detailIcon:"Tag_detailIcon__LNOTP"}},31365:function(e){e.exports={wrapper:"ComboDepositDetail_wrapper__r9SSq"}},41654:function(e){e.exports={wrapper:"ComboDepositCalculator_wrapper__m5vSQ",combo:"ComboDepositCalculator_combo__8YfsV",left:"ComboDepositCalculator_left__Z6XHD",right:"ComboDepositCalculator_right__uULju",collapse:"ComboDepositCalculator_collapse__ImeUT",compute:"ComboDepositCalculator_compute__oFnck"}},55665:function(e){e.exports={wrapper:"ComboDepositConfirm_wrapper__HCmjE",header:"ComboDepositConfirm_header__LENoU",num:"ComboDepositConfirm_num__p1_E5",content:"ComboDepositConfirm_content__d2Cne",tags:"ComboDepositConfirm_tags__k2in8",tag:"ComboDepositConfirm_tag__j3XXf"}},38292:function(e){e.exports={wrapper:"ComboDepositHeader_wrapper__eP83d",link:"ComboDepositHeader_link__b7pEo",container:"ComboDepositHeader_container__IH2Pe",depositName:"ComboDepositHeader_depositName__ay492",bankName:"ComboDepositHeader_bankName__pGknq"}},23163:function(e){e.exports={wrapper:"ComboHeader_wrapper__hja3J",paramsContainer:"ComboHeader_paramsContainer___nzTE",title:"ComboHeader_title__19shK",text:"ComboHeader_text__BJv6p",leftParams:"ComboHeader_leftParams__qYTIc",params:"ComboHeader_params__VIKpd",param:"ComboHeader_param__Vv9ge",label:"ComboHeader_label__2r1S2",value:"ComboHeader_value__9SQv6",rightParams:"ComboHeader_rightParams__kwWlv",opened:"ComboHeader_opened__qVjz1",icon:"ComboHeader_icon__RivRj",stepsContainer:"ComboHeader_stepsContainer__u7AUI",steps:"ComboHeader_steps__0XqkN",step:"ComboHeader_step__h2_fg"}},56257:function(e){e.exports={container:"DepositDetailCompute_container__wgV0n",containerChart:"DepositDetailCompute_containerChart__QUao0",info:"DepositDetailCompute_info___pqT7",tags:"DepositDetailCompute_tags__Le8d7",tag:"DepositDetailCompute_tag__DV451",button:"DepositDetailCompute_button__qK6jL",loginWidget:"DepositDetailCompute_loginWidget__3hRgV",detailIcon:"DepositDetailCompute_detailIcon__8lmnN",chart:"DepositDetailCompute_chart__S_HP1",chartVisible:"DepositDetailCompute_chartVisible__STX_r",tooltipLink:"DepositDetailCompute_tooltipLink__4gESn",buttonIcon:"DepositDetailCompute_buttonIcon__Zi3GE",disclaimer:"DepositDetailCompute_disclaimer__ZofBY",singleToggle:"DepositDetailCompute_singleToggle__tFiQ1"}},28734:function(e){e.exports={head:"Header_head__lMUs0",title:"Header_title__r4Wa_",result:"Header_result__SKeZv",resultText:"Header_resultText__UbYRQ",resultTextFloat:"Header_resultTextFloat__D5t0r",resultButton:"Header_resultButton__jXHD7",resultIcon:"Header_resultIcon__dJ1wD",chartButton:"Header_chartButton__AmKiY"}},32817:function(e){e.exports={skeletonContainer:"HeaderSkeleton_skeletonContainer___dhhJ",visible:"HeaderSkeleton_visible__arkXP",skeletonProfit:"HeaderSkeleton_skeletonProfit__PGN7g",skeletonDate:"HeaderSkeleton_skeletonDate__QrnJO"}},23e3:function(e){e.exports={skeletonContainer:"ProfitSkeleton_skeletonContainer__33exZ",visible:"ProfitSkeleton_visible__StSgI",skeleton:"ProfitSkeleton_skeleton___lU6r"}},90297:function(e){e.exports={values:"ValueList_values__mGunQ",value:"ValueList_value__RRvlg",valueDash:"ValueList_valueDash__mwitD",detail:"ValueList_detail__6tgWx",toggle:"ValueList_toggle__tin7w"}},44587:function(e,t){"use strict";t.Z={src:"/deposits/_next/static/media/detailed.37f1b990.svg",height:16,width:16,blurWidth:0,blurHeight:0}},52848:function(e,t,n){"use strict";let a;n.d(t,{F:function(){return W}});var i=n(57437),r=n(35563),s=n(54365),o=n(77337),l=n(52074),c=n(75461),u=n(6554),d=n(80684),m=n(2265),p=n(94246);let _=(0,l.g)("footer-contacts-block","sc"),v=Object.freeze({contactsWrapper:`${_}__contacts-wrapper`,gray:`${_}__gray`,phones:`${_}__phones`,contactsButtons:`${_}__contacts-buttons`,vkIcon:`${_}__vk-icon`,tgIcon:`${_}__tg-icon`,dzenIcon:`${_}__dzen-icon`,maxIcon:`${_}__max-icon`,link:`${_}__link`}),h=(0,l.g)("footer","sc"),f=Object.freeze({wrapper:`${h}__wrapper`,section:`${h}__section`,container:`${h}__container`,top:`${h}__top`,main:`${h}__main`,links:`${h}__links`,disclaimer:`${h}__disclaimer`,bottom:`${h}__bottom`,bottomLinks:`${h}__bottom-links`,bottomDisclaimer:`${h}__bottom-disclaimer`,compact:`${h}__wrapper--compact`,white:`${h}__wrapper--white`}),g="finkit-widgets-sc-footer",x=[{title:"8 (800) 505-32-32",url:"tel:88005053232"},{title:"8 (800) 700-64-94",url:"tel:88007006494"},{title:"+7 (495) 145-32-32",url:"tel:+74951453232"},{title:"+7 (495) 787-64-94",url:"tel:+74957876494"}],b=[...x,{title:"Онлайн чат",url:void 0}],j=[{type:"vk",className:v.vkIcon,iconName:"vk"},{type:"telegramChannel",className:v.tgIcon,iconName:"telegram"},{type:"dzen",className:v.dzenIcon,iconName:"dzen"},{type:"max",className:v.maxIcon,iconName:"max"}],y=(0,i.jsxs)("p",{children:["На сайте finuslugi.ru предоставляются услуги оператора финансовой платформы ПАО Московская Биржа, а также услуги ООО \xabМБ Маркетплейс\xbb, организации, не являющейся оператором финансовой платформы в соответствии с Федеральным законом от 20.07.2020 №211-ФЗ \xabО совершении финансовых сделок с использованием финансовой платформы\xbb. Услуги оператора финансовой платформы ПАО Московская Биржа обозначены пометкой \xabОткрытие онлайн на Финуслугах\xbb. Иная информация на сайте www.finuslugi.ru считается размещенной ООО \xabМБ Маркетплейс\xbb, если иное явно не следует из существа размещаемой информации. ООО \xabМБ Маркетплейс\xbb входит в Группу \xabМосковская Биржа\xbb.",(0,i.jsx)("br",{}),(0,i.jsx)("br",{}),"Группа \xabМосковская Биржа\xbb - ПАО Московская Биржа и юридические лица, находящиеся под прямым или косвенным контролем ПАО Московская Биржа."]}),k=({onClick:e,eventActionText:t,eventLabel:n,...a})=>(0,i.jsx)(c.zx,{onClick:a=>{null==e||e(a),(0,u.h)({eventCategory:g,eventActionType:u.D.button,eventActionText:t||"",eventLabel:n})},...a}),N=({onClick:e,eventActionType:t,eventActionText:n,eventLabel:a,chat:r,...s})=>(0,i.jsx)(c.rU,{onClick:i=>{var s,o,l;null==e||e(i),r&&(null==i||i.preventDefault(),null==(l=null==(o=null==(s=null==window?void 0:window.supportWidget)?void 0:s.craftTalk)?void 0:o.open)||l.call(o)),(0,u.h)({eventCategory:g,eventActionType:t||u.D.link,eventActionText:n||"",eventLabel:a})},...s}),C=({minioUrl:e,blogs:t})=>(0,i.jsxs)("div",{className:v.contactsWrapper,children:[(0,i.jsx)(r.xv,{className:v.gray,size:"16",weight:"regular",children:"Звоните или пишите"}),(0,i.jsx)("div",{className:v.phones,children:b.map(({title:e,url:t})=>(0,i.jsx)(N,{href:t,eventActionText:e,chat:!t,children:e},e))}),(0,i.jsx)(r.xv,{className:v.gray,size:"16",weight:"regular",children:"Следите за нами в соцсетях"}),(0,i.jsx)("div",{className:v.contactsButtons,children:j.map(({type:n,className:a,iconName:r})=>(0,i.jsx)(k,{as:"a",href:null==t?void 0:t[n],target:"_blank",className:a,iconRight:(0,i.jsx)("img",{width:24,height:24,src:(0,o.xn)(e,`/widgets/footer/${r}.svg`),alt:n,loading:"lazy"}),shape:"circle-icon",variant:"white",eventActionText:n,eventLabel:null==t?void 0:t[n]},n))}),(0,i.jsx)(r.xv,{className:v.gray,size:"16",weight:"regular",children:"Канал для инвесторов"}),(0,i.jsx)("div",{className:v.contactsButtons,children:(0,i.jsxs)(N,{href:null==t?void 0:t.investTg,target:"_blank",className:v.link,eventActionText:"telegram",eventLabel:null==t?void 0:t.investTg,children:[(0,i.jsx)(k,{className:v.tgIcon,iconRight:(0,i.jsx)("img",{width:24,height:24,src:(0,o.xn)(e,"/widgets/footer/telegram.svg"),alt:"telegram",loading:"lazy"}),shape:"circle-icon",variant:"white",eventActionText:"telegram",eventLabel:null==t?void 0:t.investTg}),"Финуслуги Инвест"]})})]}),w=(0,l.g)("footer-disclaimer","sc"),D=Object.freeze({disclaimer:`${w}`}),T=e=>{let t=e=>{e.target instanceof HTMLAnchorElement&&(0,u.h)({eventCategory:g,eventActionType:u.D.link,eventActionText:e.target.textContent||"",eventLabel:e.target.href})};return e.disclaimer?(0,i.jsx)("div",{className:(0,s.Z)(e.className,D.disclaimer),dangerouslySetInnerHTML:{__html:e.disclaimer||""},onClick:t}):(0,i.jsx)("div",{className:(0,s.Z)(e.className,D.disclaimer),onClick:t,children:e.children})},A=()=>{let e=new URL(window.location.href),t=new URLSearchParams;return e.searchParams.forEach((e,n)=>{/^utm_/i.test(n)&&t.set(n,e)}),t},P=(e="")=>{let[t,n]=(0,m.useState)(e);return(0,m.useEffect)(()=>{let t=A();if(!t||0===t.size)return;let[a,i=""]=e.split("?"),r=new URLSearchParams(i);t.forEach((e,t)=>{r.has(t)||r.set(t,e)});let s=r.toString();n(s?`${a}?${s}`:a)},[e]),t},S=(0,l.g)("footer-modal-body","sc"),I=Object.freeze({wrapper:`${S}__wrapper`,title:`${S}__title`,item:`${S}__item`,label:`${S}__label`,button:`${S}__button`,description:`${S}__description`}),L=({directions:e})=>(0,i.jsxs)("div",{className:I.wrapper,children:[(0,i.jsx)("div",{className:I.title,children:"Направления"}),e.map(e=>(0,i.jsxs)(N,{className:I.item,href:e.url,target:"_blank",eventActionText:e.name,eventLabel:`${e.name}_${e.url}`,children:[(0,i.jsxs)("div",{className:I.label,children:[(0,i.jsx)("span",{children:e.name}),(0,i.jsx)(k,{className:I.button,iconRight:(0,i.jsx)(d.IconFdsArrowUpRightSmallO,{size:28}),shape:"circle-icon",eventActionText:"IconFdsArrowUpRightSmallO"})]}),(0,i.jsx)("p",{className:I.description,children:e.description})]},e.url))]}),E=(0,l.g)("footer-popup","sc"),O=Object.freeze({wrapper:`${E}__wrapper`,button:`${E}__button`,icon:`${E}__icon`,buttonWrapper:`${E}__button-wrapper`}),B=({directions:e})=>{let t=(0,c._m)("l"),[n,a]=(0,m.useState)(!1),r=()=>{a(!1)};return(0,i.jsxs)("div",{className:O.wrapper,children:[(0,i.jsx)("div",{className:O.buttonWrapper,children:(0,i.jsx)(k,{className:O.button,appearance:"ghost",variant:"white",onClick:()=>{a(!0)},label:"Все направления",eventActionText:"Все направления",iconLeft:(0,i.jsx)("div",{className:O.icon,children:[1,2,3,4,5,6,7,8,9].map(e=>(0,i.jsx)("div",{},e))})})}),(0,i.jsxs)(p.P,{children:[!t&&(0,i.jsx)(p.U,{isOpen:n,onClose:r,full:!0,children:(0,i.jsx)(L,{directions:e})}),t&&(0,i.jsx)(p.D,{isOpen:n,onClose:r,width:"804px",children:(0,i.jsx)(L,{directions:e})})]})]})},R=(0,l.g)("footer-left-column","sc"),$=Object.freeze({leftColumn:`${R}__left-column`,logoWrapper:`${R}__logo-wrapper`,banner:`${R}__banner`,mobAppLink:`${R}__mob-app-link`,br:`${R}__br`}),U=({showcaseUrl:e,minioUrl:t,directions:n,mobAppUrl:a})=>{let s=P(a);return(0,i.jsxs)("div",{className:$.leftColumn,children:[(0,i.jsx)(N,{className:$.logoWrapper,href:e,eventActionType:u.D.icon,eventActionText:"finuslugi_logo",eventLabel:`finuslugi_logo_${e}`,children:(0,i.jsx)("img",{src:(0,o.xn)(t,"/widgets/footer/finuslugi_base_logo.svg"),alt:"finuslugi logo",loading:"lazy"})}),(0,i.jsx)(B,{directions:n??[]}),(0,i.jsx)(N,{href:s,target:"_blank",eventActionType:u.D.banner,eventActionText:"Управляйте финансами через приложение Финуслуг",eventLabel:s,className:$.mobAppLink,children:(0,i.jsxs)(r.Zb,{className:$.banner,children:[(0,i.jsxs)(r.xv,{weight:"medium",children:["Управляйте финансами",(0,i.jsx)("br",{}),"через приложение",(0,i.jsx)("br",{className:$.br})," Финуслуг"]}),(0,i.jsx)(k,{iconRight:(0,i.jsx)(d.IconFdsArrowUpRightSmallO,{size:32}),shape:"circle-icon",variant:"white",eventActionText:"IconFdsArrowUpRightSmallO"}),(0,i.jsxs)("picture",{children:[(0,i.jsx)("source",{srcSet:(0,o.xn)(t,"/widgets/footer/apps_d.webp"),media:"(min-width: 1024px)"}),(0,i.jsx)("img",{src:(0,o.xn)(t,"/widgets/footer/apps_m.webp"),alt:"иллюстрация мобильного приложения",loading:"lazy"})]})]})})]})},M=(0,l.g)("footer-logo","sc"),Z=Object.freeze({wrapper:`${M}__wrapper`,link:`${M}__link`,fromMoex:`${M}__from-moex`,logo:`${M}__logo`,white:`${M}__wrapper--white`}),H=({showcaseUrl:e,minioUrl:t,isWhite:n})=>(0,i.jsx)("div",{className:(0,s.Z)(Z.wrapper,{[Z.white]:n}),children:(0,i.jsxs)(N,{className:Z.link,href:e,eventActionType:u.D.icon,eventActionText:"finuslugi_logo",eventLabel:`finuslugi_logo_${e}`,children:[(0,i.jsx)("img",{className:Z.logo,src:`${t}/images/logo-brandmark-common-finuslugi.svg`}),(0,i.jsx)("img",{className:Z.fromMoex,src:`${t}/images/fromMoex.svg`})]})});var z=((a=z||{}).BLACK="black",a.GRAY="gray",a);let K=(0,l.g)("footer-warning","sc"),Y=Object.freeze({reservedSpace:`${K}__reserved-space`,wrapper:`${K}__wrapper`,wrapperGray:`${K}__wrapper--gray`,fixed:`${K}__wrapper--fixed`,container:`${K}__container`,text:`${K}__text`,invisibleText:`${K}__text--invisible`}),V=({text:e,variant:t,fixed:n,isPlaceholder:a})=>(0,i.jsx)("div",{className:(0,s.Z)(Y.wrapper,{[Y.wrapperGray]:"gray"===t,[Y.fixed]:n&&!a}),children:(0,i.jsx)(r.W2,{className:Y.container,children:(0,i.jsx)("div",{className:(0,s.Z)(Y.text,{[Y.invisibleText]:a}),dangerouslySetInnerHTML:{__html:e}})})}),F=({warning:e})=>{let t="string"==typeof e?{text:e}:e,n={text:t.text,fixed:t.fixed??!0,variant:t.variant??z.BLACK};return(0,i.jsxs)("div",{className:Y.reservedSpace,children:[(0,i.jsx)(V,{...n,isPlaceholder:n.fixed}),n.fixed&&(0,i.jsx)(V,{...n,fixed:!0})]})},W=({data:e,showcaseUrl:t="https://finuslugi.ru",minioUrl:n="https://assets.finuslugi.ru/mp-assets",customDisclaimer:a,variant:o="default",className:l})=>{var c,u;let d=!a&&null!=e&&e.disclaimer?e.disclaimer:void 0,m=o.includes("compact"),p=o.includes("white"),_=null==(c=null==e?void 0:e.bottom)?void 0:c.concat(m?x:[]),v=e&&"warning"in e?e.warning:void 0;return e?(0,i.jsx)("footer",{className:(0,s.Z)(f.wrapper,l,{[f.compact]:m,[f.white]:p}),children:(0,i.jsxs)("section",{className:f.section,children:[(0,i.jsxs)(r.W2,{className:f.container,children:[!m&&(0,i.jsx)(U,{showcaseUrl:t,minioUrl:n,directions:null==e?void 0:e.directions,mobAppUrl:null==e?void 0:e.mobAppUrl}),(0,i.jsx)("div",{className:f.wrapper,children:(0,i.jsxs)("div",{className:f.top,children:[(0,i.jsxs)("div",{children:[(0,i.jsxs)("div",{className:f.main,children:[!m&&(0,i.jsx)("div",{className:f.links,children:null==(u=null==e?void 0:e.top)?void 0:u.map(e=>(0,i.jsx)(N,{href:e.url,eventActionText:e.title,eventLabel:e.url,children:e.title},e.url))}),m&&(0,i.jsx)(H,{showcaseUrl:t,minioUrl:n,isWhite:p}),(0,i.jsx)(T,{className:f.disclaimer,disclaimer:d,children:a||y})]}),(0,i.jsxs)("div",{className:f.bottom,children:[(0,i.jsx)("div",{className:f.bottomLinks,children:null==_?void 0:_.map(e=>(0,i.jsx)(N,{href:e.url,eventActionText:e.title,eventLabel:e.url,children:e.title},e.url))}),(0,i.jsx)(T,{className:f.bottomDisclaimer,disclaimer:null==e?void 0:e.bottomDisclaimer})]})]}),!m&&(0,i.jsx)(C,{minioUrl:n,blogs:null==e?void 0:e.blogs})]})})]}),m&&!!v&&(0,i.jsx)(F,{warning:v})]})}):null}},16715:function(e,t,n){"use strict";n.d(t,{z:function(){return u}});var a=n(57437),i=n(2265),r=n(80684),s=n(54365),o=n(55487);let l=(0,n(52074).g)("cookies-plate","sc"),c=Object.freeze({wrapper:"".concat(l,"__wrapper"),contentWrapper:"".concat(l,"__content-wrapper"),visible:"".concat(l,"--visible"),hidden:"".concat(l,"--hidden"),content:"".concat(l,"__content"),text:"".concat(l,"__text"),link:"".concat(l,"__link"),button:"".concat(l,"__button")}),u=e=>{let{className:t,mountDelay:n=3e3,href:l="https://assets.finuslugi.ru/mp-assets/user-agreement.pdf",children:u,closeIcon:d,onMount:m,onLinkClick:p,onClose:_,mountAfterScroll:v=!0}=e,[h,f]=(0,i.useState)(!1),[g,x]=(0,i.useState)(!1),[b,j]=(0,i.useState)(!1);(0,i.useEffect)(()=>{let e=()=>{document.removeEventListener("scroll",e),o.a.getItem("Allow-Cookie")||(j(!0),setTimeout(()=>{f(!0),null==m||m()},n))};return v?document.addEventListener("scroll",e):e(),()=>document.removeEventListener("scroll",e)},[]);let y=(0,i.useCallback)(()=>{o.a.setItem("Allow-Cookie","1"),x(!0),null==_||_(),setTimeout(()=>j(!1),1e3)},[_]);return b?(0,a.jsx)("div",{className:c.wrapper,children:(0,a.jsx)("div",{className:(0,s.Z)(c.contentWrapper,{[c.visible]:h,[c.hidden]:g}),children:(0,a.jsxs)("div",{className:(0,s.Z)(t,c.content),children:[u||(0,a.jsxs)("p",{className:c.text,children:["Мы используем"," ",(0,a.jsx)("a",{className:c.link,href:l,target:"_blank",rel:"noreferrer",onClick:p,children:"cookie"})," ","для лучшей работы сайта"]}),(0,a.jsx)("button",{className:c.button,onClick:y,children:d||(0,a.jsx)(r.IconFdsCloseO,{})})]})})}):(0,a.jsx)(a.Fragment,{})}},30660:function(e,t,n){"use strict";n.d(t,{SV:function(){return s}});var a=n(2265);let i=(0,a.createContext)(null),r={didCatch:!1,error:null};class s extends a.Component{static getDerivedStateFromError(e){return{didCatch:!0,error:e}}resetErrorBoundary(){for(var e,t,n=arguments.length,a=Array(n),i=0;i<n;i++)a[i]=arguments[i];let{error:s}=this.state;null!==s&&(null===(e=(t=this.props).onReset)||void 0===e||e.call(t,{args:a,reason:"imperative-api"}),this.setState(r))}componentDidCatch(e,t){var n,a;null===(n=(a=this.props).onError)||void 0===n||n.call(a,e,t)}componentDidUpdate(e,t){var n,a;let{didCatch:i}=this.state,{resetKeys:s}=this.props;i&&null!==t.error&&function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.length!==t.length||e.some((e,n)=>!Object.is(e,t[n]))}(e.resetKeys,s)&&(null===(n=(a=this.props).onReset)||void 0===n||n.call(a,{next:s,prev:e.resetKeys,reason:"keys"}),this.setState(r))}render(){let{children:e,fallbackRender:t,FallbackComponent:n,fallback:r}=this.props,{didCatch:s,error:o}=this.state,l=e;if(s){let e={error:o,resetErrorBoundary:this.resetErrorBoundary};if("function"==typeof t)l=t(e);else if(n)l=(0,a.createElement)(n,e);else if(void 0!==r)l=r;else throw o}return(0,a.createElement)(i.Provider,{value:{didCatch:s,error:o,resetErrorBoundary:this.resetErrorBoundary}},l)}constructor(e){super(e),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=r}}}},function(e){e.O(0,[97,2877,5291,7011,1576,1573,7024,3558,7393,680,5501,207,5458,3544,9206,7129,5346,6293,666,4900,3145,1648,6138,3921,1792,9319,1196,9174,2971,2117,1744],function(){return e(e.s=18487)}),_N_E=e.O()}]);