(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[726],{3620:function(e,t,a){Promise.resolve().then(a.bind(a,9315)),Promise.resolve().then(a.bind(a,4476)),Promise.resolve().then(a.bind(a,4043))},4043:function(e,t,a){"use strict";a.r(t),a.d(t,{Detail:function(){return ef}});var n=a(7437),s=a(4033),i=a(2265),l=a(116),o=a(3915),r=a(1518),c=a(8022),d=a(7042),u=a(9135),m=a(2084),p=a.n(m),h=a(8173),x=a(3516),b=a.n(x);function _(e){let{lists:t}=e;return(0,n.jsx)(n.Fragment,{children:null==t?void 0:t.map((e,t)=>{let{title:a,items:s,footnotes:i}=e;return(0,n.jsxs)(u.T,{className:p().aboutContainer,dataQa:{element:h.xJ.Block,name:"lists"},children:[a&&(0,n.jsx)(u.T,{tag:"p",dataQa:{element:h.xJ.Text,name:"title"},children:a}),s&&(0,n.jsx)(u.T,{className:(0,d.Z)(p().aboutContainer,b().list),tag:"ul",dataQa:{element:h.xJ.List,name:"list"},children:null==s?void 0:s.map((e,t)=>{let{text:a,description:s}=e;return(0,n.jsxs)(u.T,{tag:"li",dataQa:{element:h.xJ.Block,name:"listItem"},children:[a&&(0,n.jsx)("p",{className:b().listTitle,children:a}),s&&(0,n.jsx)("p",{className:p().aboutValueDescription,children:s})]},t)})}),i&&(0,n.jsx)(u.T,{dataQa:{element:h.xJ.Block,name:"footnotes"},children:i.map((e,t)=>(0,n.jsx)("p",{className:p().aboutValueDescription,children:e},t))})]},t)})})}var g=a(8697);function T(e){let{text:t,description:a}=e,s=t?(0,g.Nw)(t):null;return(0,n.jsx)(n.Fragment,{children:(s||a)&&(0,n.jsxs)(u.T,{className:p().aboutContainer,dataQa:{element:h.xJ.Block,name:"textContent"},children:[s&&(0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:s}}),a&&(0,n.jsx)("p",{className:p().aboutValueDescription,children:a})]})})}var j=a(3986),v=a.n(j);function f(e){let{bond:t,cmsData:a}=e,[s,l]=(0,i.useState)(1),o=(0,g.WF)(t.product.productId,a);return(0,n.jsxs)(u.T,{className:v().desktopTabs,dataQa:{element:h.xJ.Block,name:"desktopTabs"},children:[(0,n.jsx)(u.T,{dataQa:{element:h.xJ.Tabs,name:"tabs"},children:(0,n.jsx)(r.mQ,{activeTabId:s,tabs:o,onTabChange:function(e){l(e)}})}),o.map(e=>{let{id:t,data:a}=e;return(0,n.jsx)("table",{className:(0,d.Z)(v().desktopTabsTable,{[v().active]:s===t}),children:(0,n.jsx)("tbody",{children:a.map(e=>{let{key:t,value:{text:a,description:s,lists:i}}=e;return(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:(0,n.jsx)(u.T,{dangerouslySetInnerHTML:{__html:(0,g.Nw)(t)},tag:"p",dataQa:{element:h.xJ.Text,name:"rowKey"}})}),(0,n.jsx)("td",{children:(0,n.jsxs)("div",{className:v().desktopTabsTableCellGrid,children:[(0,n.jsx)(T,{text:a,description:s}),(0,n.jsx)(_,{lists:i})]})})]},t)})})},t)})]})}var y=a(6454),C=a(629),S=a(2873),A=a.n(S);function w(e){let{bond:t,cmsData:a}=e,[s,l]=(0,i.useState)(!1),[c,m]=(0,i.useState)(1),p=(0,g.WF)(t.product.productId,a);return(0,n.jsxs)(u.T,{className:A().mobileTabs,dataQa:{element:h.xJ.Block,name:"mobileTabs"},children:[(0,n.jsx)("div",{children:p.map((e,t)=>{let{id:a,label:s}=e;return(0,n.jsx)(u.T,{dataQa:{element:h.xJ.Button,name:"openPopupButton"},children:(0,n.jsx)(r.zx,{className:(0,d.Z)(A().mobileTabsButton,t===p.length-1&&A().last),label:s,variant:"white",iconRight:(0,n.jsx)(C.IconFdsChevronRightO,{size:"16"}),stretch:!0,onClick:()=>{m(a),l(!0)}})},a)})}),(0,n.jsx)(y.jr,{className:A().mobileTabsPopup,isOpen:s,full:!0,onClose:()=>l(!1),children:p.map(e=>{let{id:t,label:a,data:s}=e;return(0,n.jsxs)(u.T,{className:(0,d.Z)(A().mobileTab,{[A().active]:c===t}),dataQa:{element:h.xJ.Popup,name:"mobilePopup"},children:[(0,n.jsx)(u.T,{dataQa:{element:h.xJ.Header,name:"title"},children:(0,n.jsx)(o.X6,{type:"h2",tag:"h3",weight:"medium",padding:"none",className:A().mobileTabsPopupTitle,children:a})}),(0,n.jsx)(u.T,{className:A().mobileTabsPopupList,tag:"ul",dataQa:{element:h.xJ.List,name:"mobileTabsPopupList"},children:s.map(e=>{let{key:t,value:{text:a,description:s,lists:i}}=e;return(0,n.jsxs)(u.T,{className:A().mobileTabsPopupItem,tag:"li",dataQa:{element:h.xJ.Block,name:"mobileTabsPopupListItem"},children:[(0,n.jsx)(u.T,{dataQa:{element:h.xJ.Text,name:"listItemKey"},children:(0,n.jsx)(o.xv,{weight:"medium",as:"div",children:(0,n.jsx)("p",{dangerouslySetInnerHTML:{__html:(0,g.Nw)(t)}})})}),(0,n.jsx)(T,{text:a,description:s}),(0,n.jsx)(_,{lists:i})]},t)})})]},t)})})]})}var N=a(4355),k=a.n(N);function B(e){let{bond:t,cmsData:a}=e,s=(0,l.useTranslations)();return(0,n.jsx)(u.T,{tag:"section",dataQa:{element:h.xJ.Block,name:"about"},children:(0,n.jsxs)(c.xu,{className:"pb-2 pb-m-6",children:[(0,n.jsx)(u.T,{dataQa:{element:h.xJ.Header,name:"aboutTitle"},children:(0,n.jsx)(o.X6,{type:"h2",weight:"medium",padding:"none",className:k().aboutTitle,children:s("sc-bonds.detail.about.title")})}),(0,n.jsxs)("div",{className:k().aboutContent,children:[(0,n.jsx)(w,{bond:t,cmsData:a}),(0,n.jsx)(f,{bond:t,cmsData:a})]})]})})}var P=a(8280),Q=a.n(P);function J(e){let{items:t}=e,a=(0,l.useTranslations)();return(0,n.jsx)(u.T,{dataQa:{element:h.xJ.Block,name:"advantages"},children:(0,n.jsxs)(c.xu,{children:[(0,n.jsx)(u.T,{dataQa:{element:h.xJ.Header,name:"advantagesTitle"},children:(0,n.jsx)(o.X6,{type:"h2",className:"mb-6 mb-m-8",children:a("sc-bonds.detail.advantages.title")})}),(0,n.jsx)(u.T,{className:Q().list,tag:"ul",dataQa:{element:h.xJ.List,name:"advantagesList"},children:null==t?void 0:t.map(e=>{let{title:t,text:a}=e;return(0,n.jsxs)(u.T,{className:Q().listItem,tag:"li",dataQa:{element:h.xJ.List,name:"advantagesListItem"},children:[(0,n.jsx)(u.T,{className:Q().bullet,tag:"span",dataQa:{element:h.xJ.Icon,name:"listItemIcon"},children:(0,n.jsx)(C.IconFdsCheckO,{size:"24",className:Q().icon})}),(0,n.jsxs)("div",{children:[(0,n.jsx)(u.T,{dataQa:{element:h.xJ.Text,name:"listItemText"},children:(0,n.jsx)(o.xv,{className:Q().title,fontFamily:"primary",weight:"medium",as:"div",children:(0,n.jsx)("p",{dangerouslySetInnerHTML:{__html:(0,g.Nw)(t)}})})}),(0,n.jsx)(u.T,{dataQa:{element:h.xJ.Caption,name:"listItemCaption"},children:(0,n.jsx)(o.YS,{children:a})})]})]},t)})})]})})}var I=a(1322),D=a(8474),z=a.n(D);let M="share-social-list";function L(e){let{className:t}=e,{isin:a}=(0,s.useParams)();if("string"!=typeof a)throw Error('Invalid "isin" type');let[l,o]=(0,i.useState)(!1),c=function(e){let t="".concat((0,g.SJ)("NEXT_PUBLIC_SHOWCASE_ORIGIN")).concat(I.pY,"/").concat(e);return[{icon:(0,n.jsx)(C.IconFdsVkontakteF,{}),url:"https://vk.com/share.php?url=".concat(t),name:"ВКонтакте",style:{color:"rgb(74, 118, 168)"}},{icon:(0,n.jsx)(C.IconFdsOdnoklassnikiF,{}),url:"https://connect.ok.ru/offer?url=".concat(t),name:"Одноклассники",style:{color:"rgb(255, 136, 0)"}},{icon:(0,n.jsx)(C.IconFdsTelegramF,{}),url:"https://telegram.me/share/url?url=".concat(t),name:"Telegram",style:{color:"rgb(0, 151, 255)",paddingRight:"2px"}}]}(a);return(0,n.jsxs)("div",{className:(0,d.Z)(z().shareWrapper,t),children:[(0,n.jsx)(u.T,{className:(0,d.Z)(z().shareSocialList,{[z().open]:l}),id:M,tag:"ul",dataQa:{element:h.xJ.List,name:"socialShareList"},children:c.map(e=>(0,n.jsx)(u.T,{tag:"li",dataQa:{element:h.xJ.Block,name:"socialShareListItem"},children:(0,n.jsx)("button",{className:z().shareSocialButton,style:e.style,type:"button","aria-label":e.name,onClick:()=>{window.open(e.url,"","toolbar=0,status=0,scrollbars=1,resizable=1,width=500,height=300")},children:e.icon})},e.name))}),(0,n.jsx)(u.T,{dataQa:{element:h.xJ.Button,name:"socialShareButton"},children:(0,n.jsx)(r.zx,{className:(0,d.Z)(z().shareButton,{[z().shareButtonOpen]:l}),shape:"circle-icon",size:"xs",variant:"secondary",appearance:l?"ghost":"fill","aria-label":"Поделиться в соцсетях","aria-expanded":l?"true":"false","aria-controls":M,iconLeft:l?(0,n.jsx)(C.IconArrowHead,{size:"16"}):(0,n.jsx)(C.IconShare,{size:"16"}),onClick:()=>o(e=>!e)})})]})}var H=a(9182),U=a(3942),V=a.n(U);function R(e){let{badges:t,className:a}=e,s=(0,H.J)();return(0,n.jsx)(n.Fragment,{children:t.map(e=>{let{text:t}=e;return(0,n.jsx)(r.Vp,{className:a,label:t,size:"m",variant:"secondary",dataQa:s({element:h.xJ.Badge,name:"detailHeaderBadge"})},t)})})}function F(e){let{bond:t,cmsRate:a,className:s}=e,i=(0,l.useTranslations)(),r=(0,g.zM)({couponType:t.product.couponType,cmsRate:a});return(0,n.jsxs)(u.T,{className:(0,d.Z)(V().header,s),dataQa:{element:h.xJ.Block,name:"detailHeader"},children:[(0,n.jsxs)("div",{className:V().headerTitleWrapper,children:[(0,n.jsxs)("div",{children:[(0,n.jsx)(u.T,{dataQa:{element:h.xJ.Header,name:"detailHeaderBondTitle"},children:(0,n.jsx)(o.X6,{type:"h2",as:"h1",children:t.product.displayName})}),(0,n.jsxs)("div",{className:V().headerSubtitleWrapper,children:[(0,n.jsx)(R,{badges:r,className:V().headerDesktopBadge}),(0,n.jsx)(u.T,{className:V().headerSubtitle,tag:"p",dataQa:{element:h.xJ.Text,name:"detailHeaderBondRating"},children:i("sc-bonds.common.rating.text",{rating:t.product.rating})})]})]}),(0,n.jsx)(c.TR,{src:(0,g.Tl)(t.product.issuerCode),size:48,alt:i("sc-bonds.common.logo.alt",{name:t.product.name})})]}),(0,n.jsxs)("div",{className:V().headerShare,children:[(0,n.jsx)("div",{className:V().headerBadges,children:(0,n.jsx)(R,{badges:r,className:V().headerMobileBadge})}),(0,n.jsx)(L,{className:V().socialShareLinks})]})]})}var E=a(8102),Z=a(7503),W=a(2839),O=a.n(W);function Y(e){let{children:t,bond:a,count:s,amount:o,className:c,onCountChange:m,onAmountChange:p,onTabChange:x,onValidityChange:b}=e,_=(0,l.useTranslations)(),[g,T]=(0,i.useState)(I.Tk[0].id),j=g===I.Tk[0].id,{isCountValid:v,isAmountValid:f,getCountNoteMessage:y,getAmountNoteMessage:C}=function(e){let t=e.limits.showMaxCount,a={min:e.limits.minProductCount,max:e.limits.maxProductCount,noBondMessage:"Нет облигаций, доступных к покупке",getNoteMessage(e,t){let a="Можно купить от";return!1===t?"".concat(a," ").concat((0,E._6)(this.min,["штуки","штук","штук"])):"".concat(a," ").concat(this.min," ").concat(e?"до ".concat(e," "):"","штук")}},n={min:e.limits.minProductAmount,max:e.limits.maxProductAmount,noBondMessage:"Нет облигаций, доступных к покупке",getMinPrice(){return this.min},getMaxPrice(){return this.max},getNoteMessage(e,t){let a="Можно купить от ".concat((0,E.lb)(this.getMinPrice(),{decimalIsWithoutZeros:!0})),n="до ".concat((0,E.lb)(e,{decimalIsWithoutZeros:!0}));return!1===t?a:e?"".concat(a," ").concat(n):a}};return{isCountValid:function(e){return 0!==a.max&&null!==a.max&&!!e&&e>=a.min&&e<=a.max},isAmountValid:function(e){return 0!==n.getMaxPrice()&&null!==n.getMaxPrice()&&!!e&&e>=n.getMinPrice()&&e<=n.getMaxPrice()},getCountNoteMessage:function(e){return null===a.max||0===a.max?a.noBondMessage:e&&e>a.max?a.getNoteMessage(a.max):a.getNoteMessage(a.max,t)},getAmountNoteMessage:function(e){return null===n.getMaxPrice()||0===n.getMaxPrice()?n.noBondMessage:e&&e>n.getMaxPrice()?n.getNoteMessage(n.getMaxPrice()):n.getNoteMessage(n.getMaxPrice(),t)}}}(a);return(0,n.jsxs)(u.T,{className:(0,d.Z)(O().container,c),dataQa:{element:h.xJ.Block,name:"calculator"},children:[(0,n.jsx)(u.T,{dataQa:{element:h.xJ.Chips,name:"calculatorChips"},children:(0,n.jsx)(r.cL,{size:"l",value:g,chips:I.Tk,onChipClick:function(e){if(g!==e&&(T(e),x(),e===I.Tk[0].id)){let e=(0,Z.a)({bond:a,count:s});p(e)}}})}),(0,n.jsx)("div",{children:t}),j?(0,n.jsx)(u.T,{dataQa:{element:h.xJ.Input,name:"countInput"},children:(0,n.jsx)(r.Rn,{value:s,label:_("sc-bonds.detail.calculator.input-count.label"),caption:y(s),unit:"шт",decimals:"never",min:0,state:v(s)?void 0:"error",withoutControls:!0,onChange:function(e){m(e);let t=(0,Z.a)({bond:a,count:e});p(t),b(v(e))}})}):(0,n.jsx)(u.T,{dataQa:{element:h.xJ.Input,name:"amountInput"},children:(0,n.jsx)(r.Rn,{value:o,label:_("sc-bonds.detail.calculator.input-amount.label"),caption:C(o),unit:"₽",min:0,state:f(o)?void 0:"error",withoutControls:!0,onChange:function(e){p(e);let t=(0,Z.U)({bond:a,amount:e});m(t),b(f(e))}})})]})}var X=a(115),G=a.n(X);function K(e){var t,a,s;let{bond:i,count:r=0,cmsData:m}=e,p=(0,l.useTranslations)(),x=i.product.productPrice.redemptionIncome*r;return(0,n.jsxs)(u.T,{className:G().container,dataQa:{element:h.xJ.Block,name:"calculatorLabels"},children:[(0,n.jsxs)("div",{children:[(0,n.jsx)(c.zn,{className:"mb-2 mb-m-3",text:(0,n.jsx)(o.xv,{size:"18",children:p("sc-bonds.detail.calculator.yield.text")}),tooltip:null!==(a=null==m?void 0:m.yieldHint)&&void 0!==a?a:p("sc-bonds.detail.calculator.yield.tooltip"),gap:10}),(0,n.jsx)(u.T,{dataQa:{element:h.xJ.Text,name:"yieldValue"},children:(0,n.jsx)(o.xv,{weight:"medium",className:(0,d.Z)(G().value,G().yieldValue),children:"+".concat((0,E.lb)(x))})})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)(c.zn,{className:"mb-2 mb-m-3",text:(0,n.jsx)(o.xv,{size:"18",children:p("sc-bonds.detail.calculator.rate.text")}),tooltip:null!==(s=null==m?void 0:m.rateHint)&&void 0!==s?s:p("sc-bonds.detail.calculator.rate.tooltip"),gap:10}),(0,n.jsx)(u.T,{dataQa:{element:h.xJ.Text,name:"rateValue"},children:(0,n.jsx)(o.xv,{weight:"medium",className:G().value,children:(0,g.QO)({couponType:i.product.couponType,minCouponPaymentSizePercent:i.product.couponEventsData.minCouponPaymentSizePercent,maxCouponPaymentSizePercent:i.product.couponEventsData.maxCouponPaymentSizePercent,nearestCouponPaymentSizePercent:null===(t=i.product.nearestCoupon)||void 0===t?void 0:t.paymentSizePercent})})})]})]})}var q=a(3647),$=a.n(q);function ee(e){let{conditions:t,className:a}=e;return(0,n.jsx)(u.T,{className:(0,d.Z)($().container,a),tag:"dl",dataQa:{element:h.xJ.List,name:"bondConditions"},children:t.map(e=>{let{key:t,value:a,tooltip:s}=e;return(0,n.jsxs)(u.T,{className:$().condition,dataQa:{element:h.xJ.Block,name:"bondCondition"},children:[(0,n.jsx)("dt",{className:$().key,children:(0,n.jsx)(c.zn,{text:t,tooltip:s})}),(0,n.jsx)("dd",{className:$().value,children:a})]},t)})})}var et=a(6967),ea=a(637),en=a(1377),es=a.n(en);function ei(e){var t,a;let{bond:o,count:d,amount:m,cmsData:p,onCountChange:x,onAmountChange:b}=e,_=(0,s.useRouter)(),g=(0,l.useTranslations)(),[T,j]=(0,i.useState)(!0),[v,f]=(0,i.useState)(!0),y=(0,et.c)({bond:o,isCountShow:T,count:d,amount:m,cmsData:p}),C=(0,et.w)(o,d);return(0,n.jsx)(u.T,{dataQa:{element:h.xJ.Block,name:"bondDetailCalculator"},children:(0,n.jsxs)(c.xu,{children:[(0,n.jsx)(Y,{className:"mb-6 mb-m-8",bond:o,count:d,amount:m,onCountChange:x,onAmountChange:b,onTabChange:function(){let e=T?1:0,t=(0,E.mu)(I.Tk[e].label);(0,ea.T)("invest_bonds__detail","click__tab__".concat(t),{eventLabel:o.product.productId}),j(e=>!e)},onValidityChange:f,children:(0,n.jsx)(K,{bond:o,count:d,cmsData:p})}),(0,n.jsx)(ee,{className:"mb-5 mb-l-6",conditions:y}),(0,n.jsx)(c.Sr,{className:"mb-6 mb-l-8",text:null!==(t=null==p?void 0:p.disclaimerText)&&void 0!==t?t:g("sc-bonds.detail.calculator.disclaimer.text"),expandedText:null!==(a=null==p?void 0:p.disclaimerExpandedText)&&void 0!==a?a:g("sc-bonds.detail.calculator.disclaimer.expanded-text")}),(0,n.jsxs)("div",{className:es().buttons,children:[(0,n.jsx)(u.T,{dataQa:{element:h.xJ.Button,name:"calculatorPurchaseButton"},children:(0,n.jsx)(r.zx,{label:g("sc-bonds.detail.calculator.buy-button.label"),size:"s",disabled:!v,role:"link",stretch:!0,onClick:function(){(0,ea.T)("invest_bonds__detail","click__button__buy",{eventLabel:o.product.productId}),setTimeout(()=>{_.push(C)},500)}})}),(0,n.jsx)(u.T,{dataQa:{element:h.xJ.Link,name:"calculatorHowToBuyBondsLink"},onClick:()=>(0,ea.T)("invest_bonds__detail","click__link__how_to_buy_bonds",{eventLabel:o.product.productId}),children:(0,n.jsx)(r.zx,{label:g("sc-bonds.detail.calculator.how-to-buy-button.label"),variant:"secondary",size:"s",as:"a",href:"#how-to-buy-bonds",stretch:!0})})]})]})})}var el=a(4942),eo=a.n(el);function er(e){var t,a,s;let{couponType:i,paymentEvents:r,cmsData:c}=e,d=(0,l.useTranslations)(),m=r.filter(e=>e.paid),p=r.filter(e=>!e.paid),x=i===h.$i.Fix?"sc-bonds.detail.calculator.schedule-payment.table.future.caption.fix":"sc-bonds.detail.calculator.schedule-payment.table.future.caption.var";return(0,n.jsxs)(u.T,{dataQa:{element:h.xJ.Table,name:"paymentScheduleTable"},children:[(0,n.jsxs)("table",{className:eo().table,"aria-label":d("sc-bonds.detail.calculator.schedule-payment.title"),children:[(0,n.jsx)("thead",{children:(0,n.jsxs)("tr",{children:[(0,n.jsx)("th",{children:(0,n.jsx)(u.T,{dataQa:{element:h.xJ.Text,name:"date"},children:(0,n.jsx)(o.xv,{size:"16",weight:"medium",children:d("sc-bonds.detail.calculator.schedule-payment.table.date")})})}),(0,n.jsx)("th",{children:(0,n.jsx)(u.T,{dataQa:{element:h.xJ.Text,name:"coupon"},children:(0,n.jsx)(o.xv,{size:"16",weight:"medium",children:d("sc-bonds.detail.calculator.schedule-payment.table.coupon")})})}),(0,n.jsx)("th",{children:(0,n.jsx)(u.T,{dataQa:{element:h.xJ.Text,name:"rate"},children:(0,n.jsx)(o.xv,{size:"16",weight:"medium",children:d("sc-bonds.detail.calculator.schedule-payment.table.rate")})})})]})}),(0,n.jsxs)("tbody",{children:[m.length?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("tr",{children:(0,n.jsxs)("td",{colSpan:3,children:[(0,n.jsx)(u.T,{dataQa:{element:h.xJ.Text,name:"paidTitle"},children:(0,n.jsx)(o.xv,{size:"16",weight:"medium",children:d("sc-bonds.detail.calculator.schedule-payment.table.paid.title")})}),(0,n.jsx)(u.T,{className:"mt-1",dataQa:{element:h.xJ.Caption,name:"paidCaption"},children:(0,n.jsx)(o.YS,{children:null!==(t=null==c?void 0:c.scheduleTablePaidCaption)&&void 0!==t?t:d("sc-bonds.detail.calculator.schedule-payment.table.paid.caption")})})]})}),m.map(e=>(0,n.jsxs)("tr",{children:[(0,n.jsxs)("td",{className:eo().paid,children:[(0,n.jsx)(u.T,{tag:"span",dataQa:{element:h.xJ.Text,name:"paidEventDate"},children:(0,n.jsx)(o.xv,{size:"16",weight:"medium",children:(0,g.tm)(e.eventDate)})}),(0,n.jsx)(C.IconFdsCheckCircleO,{className:eo().icon,size:"20"})]}),(0,n.jsx)("td",{children:(0,n.jsx)(u.T,{dataQa:{element:h.xJ.Text,name:"paidPaymentSize"},children:(0,n.jsx)(o.xv,{size:"16",weight:"medium",children:(0,E.lb)(e.paymentSize)})})}),(0,n.jsx)("td",{children:(0,n.jsx)(u.T,{dataQa:{element:h.xJ.Text,name:"paidPaymentSizePercent"},children:(0,n.jsx)(o.xv,{size:"16",weight:"medium",children:(0,E.og)(e.paymentSizePercent)})})})]},e.eventDate))]}):null,p.length?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("tr",{children:(0,n.jsxs)("td",{colSpan:3,children:[(0,n.jsx)(u.T,{dataQa:{element:h.xJ.Text,name:"futureTitle"},children:(0,n.jsx)(o.xv,{size:"16",weight:"medium",children:d("sc-bonds.detail.calculator.schedule-payment.table.future.title")})}),(0,n.jsx)(u.T,{className:"mt-1",dataQa:{element:h.xJ.Caption,name:"futureCaption"},children:(0,n.jsx)(o.YS,{children:null!==(a=null==c?void 0:c.scheduleTableFutureCaption)&&void 0!==a?a:d(x)})})]})}),p.map(e=>(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:(0,n.jsx)(u.T,{dataQa:{element:h.xJ.Text,name:"futureEventDate"},children:(0,n.jsx)(o.xv,{size:"16",weight:"medium",children:(0,g.tm)(e.eventDate)})})}),(0,n.jsx)("td",{children:(0,n.jsx)(u.T,{dataQa:{element:h.xJ.Text,name:"futurePaymentSize"},children:(0,n.jsx)(o.xv,{size:"16",weight:"medium",children:(0,E.lb)(e.paymentSize)})})}),(0,n.jsx)("td",{children:(0,n.jsx)(u.T,{dataQa:{element:h.xJ.Text,name:"futurePaymentSizePercent"},children:(0,n.jsx)(o.xv,{size:"16",weight:"medium",children:(0,E.og)(e.paymentSizePercent)})})})]},e.eventDate))]}):null]})]}),(0,n.jsx)(u.T,{dataQa:{element:h.xJ.Text,name:"scheduleTableDisclaimer"},children:(0,n.jsx)(o.xv,{className:eo().note,size:"12",children:null!==(s=null==c?void 0:c.scheduleTableDisclaimer)&&void 0!==s?s:d("sc-bonds.detail.calculator.schedule-payment.table.disclaimer")})})]})}var ec=a(4420),ed=a.n(ec);function eu(e){var t;let{className:a,couponType:s,couponEvents:d,cmsData:m}=e,p=(0,l.useTranslations)(),x=(0,H.J)(),b=Array.from(new Set(d.map(f))).map(e=>({id:e,label:e})),[_,g]=(0,i.useState)(function(e){var t;let a=new Date().getFullYear().toString(),n=e.find(e=>e.id===a);return null!==(t=null==n?void 0:n.id)&&void 0!==t?t:e[0].id}(b)),T=function(){var e,t;let a=s===h.$i.Var;return[{key:p("sc-bonds.detail.calculator.schedule-payment.frequency.key"),value:null!==(e=null==m?void 0:m.schedulePaymentFrequency)&&void 0!==e?e:p("sc-bonds.detail.calculator.schedule-payment.frequency.value")},{key:p("sc-bonds.detail.calculator.schedule-payment.coupon-type.key"),value:null!==(t=null==m?void 0:m.scheduleCouponType)&&void 0!==t?t:p(a?"sc-bonds.common.coupon-type.var":"sc-bonds.common.coupon-type.fix")}]}(),j=d.filter(e=>f(e)===_),v=function(e){let t=e.filter(e=>e.paid).length,a=e.length;return p("sc-bonds.detail.calculator.schedule-payment.paid.title",{paidCount:t,count:a})}(d);function f(e){return new Date(e.eventDate).getFullYear().toString()}return(0,n.jsx)(c.xu,{className:a,children:(0,n.jsxs)(u.T,{dataQa:{element:h.xJ.Block,name:"paymentSchedule"},children:[(0,n.jsx)(o.X6,{className:"mb-6 mb-m-8",type:"h2",dataQa:x({element:h.xJ.Header,name:"paymentSchedule"}),children:p("sc-bonds.detail.calculator.schedule-payment.title")}),(0,n.jsxs)("div",{children:[(0,n.jsx)(u.T,{className:ed().description,tag:"p",dataQa:{element:h.xJ.Text,name:"paymentScheduleDescription"},children:p("sc-bonds.detail.calculator.schedule-payment.description")}),(0,n.jsx)(ee,{className:"mb-6 mb-m-8",conditions:T}),(0,n.jsx)(u.T,{className:"mb-1",dataQa:{element:h.xJ.Header,name:"paidCouponsText"},children:(0,n.jsx)(o.X6,{type:"h3",children:v})}),(0,n.jsx)(u.T,{className:"mb-5 mb-m-6",dataQa:{element:h.xJ.Caption,name:"schedulePaymentCaption"},children:(0,n.jsx)(o.YS,{children:null!==(t=null==m?void 0:m.scheduleCaption)&&void 0!==t?t:p("sc-bonds.detail.calculator.schedule-payment.caption")})}),(0,n.jsx)(u.T,{className:"mb-4",dataQa:{element:h.xJ.Chips,name:"schedulePaymentChips"},children:(0,n.jsx)(r.cL,{size:"m",value:_,chips:b,onChipClick:function(e){g(e)}})}),(0,n.jsx)(er,{couponType:s,paymentEvents:j,cmsData:m})]})]})})}var em=a(6691),ep=a.n(em),eh={src:"/invest/bonds/_next/static/media/purchase-step-1.08d752f8.png",height:400,width:600,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAYAAAB4ka1VAAAAjElEQVR42mMAgSZlM1aG1ikaE/Ydi9p//koYSOzouUvMDHBgESQ5fd6q9x+WrPz/bNeB+zDhUxcvMTL837efiYGBgW1RQ8e1DTXN/3s7e79s2LJp0vlz54IZQKBm3iKwgtDqep/6iZNerFi18v/Bgwf/nDlzpowBHVw4sF/x3LlzySkZmXwg/v///xkBfLw+MwWCgNAAAAAASUVORK5CYII=",blurWidth:8,blurHeight:5},ex={src:"/invest/bonds/_next/static/media/purchase-step-2.f2e9c79a.png",height:400,width:600,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAYAAAB4ka1VAAAAmElEQVR42mN4fuYiIwMQHPr/n+nF5x/GtlkTqhgYylUZgGBiVxYzw9l3P5kYgODxwxeTH99/+v/oyatni1uam/7/Z+BmgIFdDAxBrw4cOfXu6s3/j04s/X92i9T///f5JzLAwBIhdemt5k7Nd0/dV/l6jXvOq9MM//8/4vVjAIHPDO6MDCDAzsAGVc/54aKsMgMQ/P8vzQgAww4/WZ7rpUQAAAAASUVORK5CYII=",blurWidth:8,blurHeight:5},eb={src:"/invest/bonds/_next/static/media/purchase-step-3.e003d541.png",height:400,width:600,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAYAAAB4ka1VAAAAkUlEQVR42mMAgeXT5wi25NWaMTC4MzKAwP//jM+TMlkZYKCqcbJJtU/qz60MqjduMEidOsrAMPklA4MiXMGWwHSpuQwMEa/9A3f8mDjp/99Jk/7/j49vhiv4b2fn/L+h4ff/7u4f/6dN+/9/6tT//4qLl8IV/DUwVAEK9PwtLW38ExdX8zczs/1TTEwQAwMDAwAJLzv+bdl1bAAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:5},e_=a(3124),eg=a.n(e_);function eT(e){let{link:t}=e,a=(0,l.useTranslations)(),s=[{text:a("sc-bonds.detail.purcase-steps.step-1.text"),imageSrc:eh},{text:a("sc-bonds.detail.purcase-steps.step-2.text"),imageSrc:ex},{text:a("sc-bonds.detail.purcase-steps.step-3.text"),imageSrc:eb}];return(0,n.jsx)(u.T,{id:"how-to-buy-bonds",className:eg().section,tag:"section",dataQa:{element:h.xJ.Block,name:"purchaseStepCards"},children:(0,n.jsxs)(o.W2,{children:[(0,n.jsx)(u.T,{dataQa:{element:h.xJ.Header,name:"title"},children:(0,n.jsx)(o.X6,{type:"display",as:"h2",className:eg().heading,children:a("sc-bonds.detail.purcase-steps.title")})}),(0,n.jsx)(u.T,{className:eg().cards,tag:"ul",dataQa:{element:h.xJ.List,name:"list"},children:s.map(e=>{let{text:t,imageSrc:a}=e;return(0,n.jsxs)(u.T,{className:eg().card,tag:"li",dataQa:{element:h.xJ.Block,name:"listItem"},children:[(0,n.jsx)(o.xv,{className:eg().cardText,size:"16",weight:"medium",as:"p",children:t}),(0,n.jsx)(ep(),{src:a,width:"300",height:"200",alt:""})]},t)})}),(0,n.jsx)(u.T,{dataQa:{element:h.xJ.Link,name:"purchaseLink"},children:(0,n.jsx)(r.zx,{className:eg().buyButton,label:a("sc-bonds.detail.purcase-steps.buy-button.label"),variant:"purple",size:"m",as:"a",href:t,stretch:!0})})]})})}var ej=a(7218),ev=a.n(ej);function ef(e){var t;let{bond:a,cmsData:c}=e,d=(0,s.useRouter)(),m=(0,s.useSearchParams)(),p=(0,l.useTranslations)(),x=[{href:"/",label:p("sc-bonds.common.breadcrumbs.path.main")},{href:I.pY,label:p("sc-bonds.common.breadcrumbs.path.app")},{label:a.product.displayName}],b=null==c?void 0:null===(t=c.details)||void 0===t?void 0:t[a.product.productId],_=Number(m.get("count")),g=Number.isFinite(_)&&Number.isInteger(_)&&_>0?_:a.limits.minProductCount,[T,j]=(0,i.useState)(g),[v,f]=(0,i.useState)(g*a.product.productPrice.total),y=(0,et.w)(a,T);return(0,i.useEffect)(()=>{(0,ea.T)("invest_bonds__detail","page_view__detail",{eventLabel:a.product.productId})},[]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(o.W2,{children:[(0,n.jsx)(u.T,{dataQa:{element:h.xJ.Breadcrumbs,name:"detailBreadcrumbs"},children:(0,n.jsx)(r.Oo,{className:"mb-2 mb-l-0 py-4",items:x,onClick:function(e,t){t===I.pY&&(null==e||e.preventDefault(),d.push("/"))}})}),(0,n.jsxs)("div",{className:ev().container,children:[(0,n.jsx)(F,{bond:a,cmsRate:null==b?void 0:b.rate}),(0,n.jsxs)("div",{className:ev().content,children:[(0,n.jsxs)("div",{className:ev().leftColumn,children:[(null==b?void 0:b.advantages)&&(0,n.jsx)(J,{items:null==b?void 0:b.advantages}),(0,n.jsx)(eu,{className:ev().paymentSchedule,couponType:a.product.couponType,couponEvents:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e.map(e=>({...e,paymentSize:e.paymentSize*t}))}(a.product.couponEventsData.events,T),cmsData:null==b?void 0:b.calculator})]}),(0,n.jsx)(ei,{bond:a,count:T,amount:v,cmsData:null==b?void 0:b.calculator,onCountChange:j,onAmountChange:f})]}),(0,n.jsx)(B,{bond:a,cmsData:c})]})]}),(0,n.jsx)(eT,{link:y})]})}},637:function(e,t,a){"use strict";a.d(t,{T:function(){return d}});var n=a(9336),s=a(1490),i=a(2067);let{browserId:l,sessionId:o}=(0,n.Z)(),r=s.Z.get("auth.gtm_customer_id"),c=e=>{(0,i.AB)(e)};function d(e,t,a){c({event:"data_event",browser_id:l,session_id:o,customer_id:r,eventCategory:e,eventAction:t,eventLabel:null==a?void 0:a.eventLabel,eventValue:null==a?void 0:a.eventValue})}},4355:function(e){e.exports={aboutTitle:"About_aboutTitle__pBrY6",aboutContent:"About_aboutContent__BFZBF"}},3986:function(e){e.exports={desktopTabs:"DesktopTabs_desktopTabs__4Z0Y_",desktopTabsTable:"DesktopTabs_desktopTabsTable__oBYvr",active:"DesktopTabs_active__U23bf",desktopTabsTableCellGrid:"DesktopTabs_desktopTabsTableCellGrid__Y8Xge"}},3516:function(e){e.exports={list:"Lists_list__jHwK3",listTitle:"Lists_listTitle__VwcHf"}},2873:function(e){e.exports={mobileTabs:"MobileTabs_mobileTabs__uAHdg",mobileTabsButton:"MobileTabs_mobileTabsButton__aQBCc",last:"MobileTabs_last__RWfiH",mobileTabsPopup:"MobileTabs_mobileTabsPopup__UpS3J",mobileTab:"MobileTabs_mobileTab__2XcmB",active:"MobileTabs_active__RBKXj",mobileTabsPopupTitle:"MobileTabs_mobileTabsPopupTitle__ZI2c7",mobileTabsPopupList:"MobileTabs_mobileTabsPopupList__hRKhk",mobileTabsPopupItem:"MobileTabs_mobileTabsPopupItem__3mxG6"}},8280:function(e){e.exports={list:"Advantages_list__PIwgX",listItem:"Advantages_listItem__GCBvA",bullet:"Advantages_bullet__Cy_8X",icon:"Advantages_icon__eX0gp",title:"Advantages_title__GHvNL"}},3647:function(e){e.exports={container:"BondConditions_container__cYeUv",condition:"BondConditions_condition__D1bbI",key:"BondConditions_key__22GDM",value:"BondConditions_value__KXNEZ",hintButton:"BondConditions_hintButton__HJrp_"}},1377:function(e){e.exports={buttons:"BondDetailCalculator_buttons__BqJRA"}},2839:function(e){e.exports={container:"Calculator_container__nW8iy"}},115:function(e){e.exports={container:"CalculatorLabels_container__TWZ1X",value:"CalculatorLabels_value__2a_Uy",yieldValue:"CalculatorLabels_yieldValue__MFrlr"}},7218:function(e){e.exports={container:"Detail_container__EmmmD",content:"Detail_content__2ZoKw",leftColumn:"Detail_leftColumn__5N4dS",paymentSchedule:"Detail_paymentSchedule__mbxsR"}},2084:function(e){e.exports={aboutContainer:"common_aboutContainer__4Rs7X",aboutValueDescription:"common_aboutValueDescription__Bs6Lq"}},3942:function(e){e.exports={header:"DetailHeader_header__geU5v",headerTitleWrapper:"DetailHeader_headerTitleWrapper__ZwuwQ",headerSubtitleWrapper:"DetailHeader_headerSubtitleWrapper__HPTpu",headerSubtitle:"DetailHeader_headerSubtitle__GueRG",headerShare:"DetailHeader_headerShare__mGfBg",headerBadges:"DetailHeader_headerBadges__9WiPr",headerMobileBadge:"DetailHeader_headerMobileBadge__FOwjD",headerDesktopBadge:"DetailHeader_headerDesktopBadge__A7T7Q",socialShareLinks:"DetailHeader_socialShareLinks__Yv50V"}},4420:function(e){e.exports={description:"PaymentSchedule_description__WVpOE"}},4942:function(e){e.exports={table:"PaymentScheduleTable_table__QO_NP",paid:"PaymentScheduleTable_paid___W38h",icon:"PaymentScheduleTable_icon__znZLm",note:"PaymentScheduleTable_note__ggP7p"}},3124:function(e){e.exports={section:"PurchaseStepCards_section__4XdIA",heading:"PurchaseStepCards_heading__xwx0H",cards:"PurchaseStepCards_cards__b6MD9",card:"PurchaseStepCards_card__CZKp2",cardText:"PurchaseStepCards_cardText__uVsvU",buyButton:"PurchaseStepCards_buyButton__eZkjQ"}},8474:function(e){e.exports={shareWrapper:"SocialShareLinks_shareWrapper__zS7TV",shareButton:"SocialShareLinks_shareButton__DlK8_",shareButtonOpen:"SocialShareLinks_shareButtonOpen__iSVBq",shareSocialList:"SocialShareLinks_shareSocialList__oFkNy",open:"SocialShareLinks_open__zikGU",visible:"SocialShareLinks_visible__Lk9xg",shareSocialButton:"SocialShareLinks_shareSocialButton__cUPTN"}},2067:function(e,t,a){"use strict";function n(){return typeof window>"u"}function s(e){n()||(Array.isArray(window.dataLayer)?window.dataLayer.push(e):console.log("window.dataLayer does not exist"),Array.isArray(window._mtm)?window._mtm.push(e):console.log("window._mtm does not exist"))}function i(){if(n()){console.warn("Cant initialize tag manager on server side");return}"function"!=typeof window._init_gtm?console.warn("Cant init GTM, please check if GTM script exists"):window._init_gtm(),"function"!=typeof window._init_mtm?console.warn("Cant init MTM, please check if MTM script exists"):window._init_mtm()}a.d(t,{AB:function(){return s},zK:function(){return i}})},9336:function(e,t,a){"use strict";let n;a.d(t,{Z:function(){return m}});let s="undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);var i={randomUUID:s};let l=new Uint8Array(16),o=[];for(let e=0;e<256;++e)o.push((e+256).toString(16).slice(1));var r=function(e,t,a){if(i.randomUUID&&!t&&!e)return i.randomUUID();e=e||{};let s=e.random||(e.rng||function(){if(!n&&!(n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(l)})();if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,t){a=a||0;for(let e=0;e<16;++e)t[a+e]=s[e];return t}return function(e,t=0){return o[e[t+0]]+o[e[t+1]]+o[e[t+2]]+o[e[t+3]]+"-"+o[e[t+4]]+o[e[t+5]]+"-"+o[e[t+6]]+o[e[t+7]]+"-"+o[e[t+8]]+o[e[t+9]]+"-"+o[e[t+10]]+o[e[t+11]]+o[e[t+12]]+o[e[t+13]]+o[e[t+14]]+o[e[t+15]]}(s)},c=a(1490);let d="browserId",u={expires:365,domain:void 0,debug:!1};function m(e=u){try{var t,a;let n=localStorage.getItem(d)||c.Z.get(d)||r(),s=sessionStorage.getItem(d)||r();return localStorage.setItem(d,n),sessionStorage.setItem(d,s),c.Z.set(d,n,{...u,secure:(t=e.domain||location.origin,/^https:\/\//gi.test(t)),sameSite:"strict",domain:(a=e.domain||location.hostname,["",...a.replace(/^http(s)?:\/\//gi,"").replace(/\/$/,"").split(".").slice(-2)].join("."))}),{browserId:n,sessionId:s}}catch{return{browserId:null,sessionId:null}}}},1490:function(e,t){"use strict";/*! js-cookie v3.0.1 | MIT */function a(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)e[n]=a[n]}return e}var n=function e(t,n){function s(e,s,i){if("undefined"!=typeof document){"number"==typeof(i=a({},n,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var l="";for(var o in i)i[o]&&(l+="; "+o,!0!==i[o]&&(l+="="+i[o].split(";")[0]));return document.cookie=e+"="+t.write(s,e)+l}}return Object.create({set:s,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var a=document.cookie?document.cookie.split("; "):[],n={},s=0;s<a.length;s++){var i=a[s].split("="),l=i.slice(1).join("=");try{var o=decodeURIComponent(i[0]);if(n[o]=t.read(l,o),e===o)break}catch(e){}}return e?n[e]:n}},remove:function(e,t){s(e,"",a({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,a({},this.attributes,t))},withConverter:function(t){return e(a({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});t.Z=n}},function(e){e.O(0,[207,544,501,458,139,413,923,986,697,52,971,472,744],function(){return e(e.s=3620)}),_N_E=e.O()}]);