(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[726],{8821:function(e,t,a){"use strict";t.Z=function(){for(var e,t,a=0,n="";a<arguments.length;)(e=arguments[a++])&&(t=function e(t){var a,n,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t){if(Array.isArray(t))for(a=0;a<t.length;a++)t[a]&&(n=e(t[a]))&&(i&&(i+=" "),i+=n);else for(a in t)t[a]&&(i&&(i+=" "),i+=a)}return i}(e))&&(n&&(n+=" "),n+=t);return n}},7683:function(e,t,a){"use strict";a.d(t,{Z:function(){return l}});var n=a(7274),i=a(7458),s=a(2895);function l(e,t){(0,s.Z)(2,arguments);var a=(0,i.Z)(e),l=(0,n.Z)(t);if(isNaN(l))return new Date(NaN);if(!l)return a;var o=a.getDate(),r=new Date(a.getTime());return(r.setMonth(a.getMonth()+l+1,0),o>=r.getDate())?r:(a.setFullYear(r.getFullYear(),r.getMonth(),o),a)}},4572:function(e,t,a){"use strict";a.d(t,{Z:function(){return l}});var n=a(7274),i=a(7683),s=a(2895);function l(e,t){(0,s.Z)(2,arguments);var a=(0,n.Z)(t);return(0,i.Z)(e,-a)}},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))},6967:function(e,t,a){"use strict";a.d(t,{c:function(){return d},w:function(){return u}});var n=a(4033),i=a(116),s=a(8102),l=a(7503),o=a(5395),r=a(8774),c=a(3871);function d(e){var t,a,n;let{bond:l,isCountShow:c,count:d=0,amount:u=0,cmsData:m}=e,p=(0,i.useTranslations)();return[{key:p("sc-bonds.detail.calculator.conditions.price.key"),value:(0,s.lb)(l.product.productPrice.total),tooltip:null!==(a=null==m?void 0:m.priceHint)&&void 0!==a?a:p("sc-bonds.detail.calculator.conditions.price.hint")},{key:p("sc-bonds.detail.calculator.conditions.rate-with-ndfl.key"),value:(0,r.Q)({couponType:l.product.couponType,minCouponPaymentSizePercent:l.product.couponEventsData.minCouponPaymentSizePercentAfterNdfl,maxCouponPaymentSizePercent:l.product.couponEventsData.maxCouponPaymentSizePercentAfterNdfl,nearestCouponPaymentSizePercent:null===(t=l.product.nearestCoupon)||void 0===t?void 0:t.paymentSizePercentAfterNdfl}),tooltip:null!==(n=null==m?void 0:m.rateWithNdflHint)&&void 0!==n?n:p("sc-bonds.detail.calculator.conditions.rate-with-ndfl.hint")},{key:p("sc-bonds.detail.calculator.conditions.redemption-date.key"),value:(0,o.t)(l.product.redemptionDate)},c?{key:p("sc-bonds.detail.calculator.conditions.order-sum.key"),value:(0,s.lb)(u)}:{key:p("sc-bonds.detail.calculator.conditions.bonds-count.key"),value:"".concat((0,s.lb)(d,{hasCurrencySymbol:!1,decimalCount:0})," шт")}]}function u(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a=(0,i.useTranslations)(),o=new URLSearchParams((0,n.useSearchParams)().toString()),r={sum:(0,l.a)({bond:e,count:t}),type:"count",amount:t,profit:e.product.couponEventsData.minCouponPaymentSizePercent,date:(0,c.p6)(e.product.redemptionDate),name:e.product.name,code:e.product.issuerCode,label:a("sc-bonds.detail.calculator.registration-state.label")},d=(0,s.If)().setProduct(e=>e.setType("bond").setTitle(r.name).setProvider("bank","",r.code).setLabel(r.label||null).addParam("ставка","".concat((0,s.og)(r.profit))).addParam("сумма","".concat((0,s.lb)(r.sum,{decimalIsWithoutZeros:!0}))).addParam("погашение",r.date)).setContext(r).encode();o.append("context",d);let u="".concat((0,c.SJ)("NEXT_PUBLIC_MARKETPLACE_LK_BASE_URL"),"/investment/bonds/").concat(e.product.productId,"/purchase?").concat(o.toString());return u}},7503:function(e,t,a){"use strict";a.d(t,{U:function(){return i},a:function(){return s}});var n=a(3871);function i(e){let{bond:t,amount:a}=e;if(!a||a<=0)return 0;let{total:i}=t.product.productPrice;return Math.floor((0,n.lt)(a/i))}function s(e){let{bond:t,count:a}=e;if(!a||a<=0)return 0;let{total:i}=t.product.productPrice;return(0,n.lt)(a*i)}},4043:function(e,t,a){"use strict";a.r(t),a.d(t,{Detail:function(){return ef}});var n=a(7437),i=a(4033),s=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),x=a(7241),h=a(3516),b=a.n(h);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:i,footnotes:s}=e;return(0,n.jsxs)(u.T,{className:p().aboutContainer,dataQa:{element:x.xJ.Block,name:"lists"},children:[a&&(0,n.jsx)(u.T,{tag:"p",dataQa:{element:x.xJ.Text,name:"title"},children:a}),i&&(0,n.jsx)(u.T,{className:(0,d.Z)(p().aboutContainer,b().list),tag:"ul",dataQa:{element:x.xJ.List,name:"list"},children:null==i?void 0:i.map((e,t)=>{let{text:a,description:i}=e;return(0,n.jsxs)(u.T,{tag:"li",dataQa:{element:x.xJ.Block,name:"listItem"},children:[a&&(0,n.jsx)("p",{className:b().listTitle,children:a}),i&&(0,n.jsx)("p",{className:p().aboutValueDescription,children:i})]},t)})}),s&&(0,n.jsx)(u.T,{dataQa:{element:x.xJ.Block,name:"footnotes"},children:s.map((e,t)=>(0,n.jsx)("p",{className:p().aboutValueDescription,children:e},t))})]},t)})})}var g=a(3871);function T(e){let{text:t,description:a}=e,i=t?(0,g.Nw)(t):null;return(0,n.jsx)(n.Fragment,{children:(i||a)&&(0,n.jsxs)(u.T,{className:p().aboutContainer,dataQa:{element:x.xJ.Block,name:"textContent"},children:[i&&(0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:i}}),a&&(0,n.jsx)("p",{className:p().aboutValueDescription,children:a})]})})}var v=a(3986),j=a.n(v);function f(e){let{bond:t,cmsData:a}=e,[i,l]=(0,s.useState)(1),o=(0,g.WF)(t.product.productId,a);return(0,n.jsxs)(u.T,{className:j().desktopTabs,dataQa:{element:x.xJ.Block,name:"desktopTabs"},children:[(0,n.jsx)(u.T,{dataQa:{element:x.xJ.Tabs,name:"tabs"},children:(0,n.jsx)(r.mQ,{activeTabId:i,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)(j().desktopTabsTable,{[j().active]:i===t}),children:(0,n.jsx)("tbody",{children:a.map(e=>{let{key:t,value:{text:a,description:i,lists:s}}=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:x.xJ.Text,name:"rowKey"}})}),(0,n.jsx)("td",{children:(0,n.jsxs)("div",{className:j().desktopTabsTableCellGrid,children:[(0,n.jsx)(T,{text:a,description:i}),(0,n.jsx)(_,{lists:s})]})})]},t)})})},t)})]})}var y=a(6454),C=a(629),S=a(2873),w=a.n(S);function N(e){let{bond:t,cmsData:a}=e,[i,l]=(0,s.useState)(!1),[c,m]=(0,s.useState)(1),p=(0,g.WF)(t.product.productId,a);return(0,n.jsxs)(u.T,{className:w().mobileTabs,dataQa:{element:x.xJ.Block,name:"mobileTabs"},children:[(0,n.jsx)("div",{children:p.map((e,t)=>{let{id:a,label:i}=e;return(0,n.jsx)(u.T,{dataQa:{element:x.xJ.Button,name:"openPopupButton"},children:(0,n.jsx)(r.zx,{className:(0,d.Z)(w().mobileTabsButton,t===p.length-1&&w().last),label:i,variant:"white",iconRight:(0,n.jsx)(C.IconFdsChevronRightO,{size:"16"}),stretch:!0,onClick:()=>{m(a),l(!0)}})},a)})}),(0,n.jsx)(y.jr,{className:w().mobileTabsPopup,isOpen:i,full:!0,onClose:()=>l(!1),children:p.map(e=>{let{id:t,label:a,data:i}=e;return(0,n.jsxs)(u.T,{className:(0,d.Z)(w().mobileTab,{[w().active]:c===t}),dataQa:{element:x.xJ.Popup,name:"mobilePopup"},children:[(0,n.jsx)(u.T,{dataQa:{element:x.xJ.Header,name:"title"},children:(0,n.jsx)(o.X6,{type:"h2",tag:"h3",weight:"medium",padding:"none",className:w().mobileTabsPopupTitle,children:a})}),(0,n.jsx)(u.T,{className:w().mobileTabsPopupList,tag:"ul",dataQa:{element:x.xJ.List,name:"mobileTabsPopupList"},children:i.map(e=>{let{key:t,value:{text:a,description:i,lists:s}}=e;return(0,n.jsxs)(u.T,{className:w().mobileTabsPopupItem,tag:"li",dataQa:{element:x.xJ.Block,name:"mobileTabsPopupListItem"},children:[(0,n.jsx)(u.T,{dataQa:{element:x.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:i}),(0,n.jsx)(_,{lists:s})]},t)})})]},t)})})]})}var k=a(4355),A=a.n(k);function P(e){let{bond:t,cmsData:a}=e,i=(0,l.useTranslations)();return(0,n.jsx)(u.T,{tag:"section",dataQa:{element:x.xJ.Block,name:"about"},children:(0,n.jsxs)(c.xu,{className:"pb-2 pb-m-6",children:[(0,n.jsx)(u.T,{dataQa:{element:x.xJ.Header,name:"aboutTitle"},children:(0,n.jsx)(o.X6,{type:"h2",weight:"medium",padding:"none",className:A().aboutTitle,children:i("sc-bonds.detail.about.title")})}),(0,n.jsxs)("div",{className:A().aboutContent,children:[(0,n.jsx)(N,{bond:t,cmsData:a}),(0,n.jsx)(f,{bond:t,cmsData:a})]})]})})}var B=a(8280),Q=a.n(B);function J(e){let{items:t}=e,a=(0,l.useTranslations)();return(0,n.jsx)(u.T,{dataQa:{element:x.xJ.Block,name:"advantages"},children:(0,n.jsxs)(c.xu,{children:[(0,n.jsx)(u.T,{dataQa:{element:x.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:x.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:x.xJ.List,name:"advantagesListItem"},children:[(0,n.jsx)(u.T,{className:Q().bullet,tag:"span",dataQa:{element:x.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:x.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:x.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 L="share-social-list";function M(e){let{className:t}=e,{isin:a}=(0,i.useParams)();if("string"!=typeof a)throw Error('Invalid "isin" type');let[l,o]=(0,s.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:L,tag:"ul",dataQa:{element:x.xJ.List,name:"socialShareList"},children:c.map(e=>(0,n.jsx)(u.T,{tag:"li",dataQa:{element:x.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:x.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":L,iconLeft:l?(0,n.jsx)(C.IconArrowHead,{size:"16"}):(0,n.jsx)(C.IconShare,{size:"16"}),onClick:()=>o(e=>!e)})})]})}var H=a(9182),Z=a(3942),E=a.n(Z);function U(e){let{badges:t,className:a}=e,i=(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:i({element:x.xJ.Badge,name:"detailHeaderBadge"})},t)})})}function V(e){let{bond:t,cmsRate:a,className:i}=e,s=(0,l.useTranslations)(),r=(0,g.zM)({couponType:t.product.couponType,cmsRate:a});return(0,n.jsxs)(u.T,{className:(0,d.Z)(E().header,i),dataQa:{element:x.xJ.Block,name:"detailHeader"},children:[(0,n.jsxs)("div",{className:E().headerTitleWrapper,children:[(0,n.jsxs)("div",{children:[(0,n.jsx)(u.T,{dataQa:{element:x.xJ.Header,name:"detailHeaderBondTitle"},children:(0,n.jsx)(o.X6,{type:"h2",as:"h1",children:t.product.displayName})}),(0,n.jsxs)("div",{className:E().headerSubtitleWrapper,children:[(0,n.jsx)(U,{badges:r,className:E().headerDesktopBadge}),(0,n.jsx)(u.T,{className:E().headerSubtitle,tag:"p",dataQa:{element:x.xJ.Text,name:"detailHeaderBondRating"},children:s("sc-bonds.common.rating.text",{rating:t.product.rating})})]})]}),(0,n.jsx)(c.TR,{src:(0,g.Tl)(t.product.issuerCode),size:48,alt:s("sc-bonds.common.logo.alt",{name:t.product.name})})]}),(0,n.jsxs)("div",{className:E().headerShare,children:[(0,n.jsx)("div",{className:E().headerBadges,children:(0,n.jsx)(U,{badges:r,className:E().headerMobileBadge})}),(0,n.jsx)(M,{className:E().socialShareLinks})]})]})}var R=a(8102),F=a(7503),W=a(2839),O=a.n(W);function Y(e){let{children:t,bond:a,count:i,amount:o,className:c,onCountChange:m,onAmountChange:p,onTabChange:h,onValidityChange:b}=e,_=(0,l.useTranslations)(),[g,T]=(0,s.useState)(I.Tk[0].id),v=g===I.Tk[0].id,{isCountValid:j,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,R._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,R.lb)(this.getMinPrice(),{decimalIsWithoutZeros:!0})),n="до ".concat((0,R.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:x.xJ.Block,name:"calculator"},children:[(0,n.jsx)(u.T,{dataQa:{element:x.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),h(),e===I.Tk[0].id)){let e=(0,F.a)({bond:a,count:i});p(e)}}})}),(0,n.jsx)("div",{children:t}),v?(0,n.jsx)(u.T,{dataQa:{element:x.xJ.Input,name:"countInput"},children:(0,n.jsx)(r.Rn,{value:i,label:_("sc-bonds.detail.calculator.input-count.label"),caption:y(i),unit:"шт",decimals:"never",min:0,state:j(i)?void 0:"error",withoutControls:!0,onChange:function(e){m(e);let t=(0,F.a)({bond:a,count:e});p(t),b(j(e))}})}):(0,n.jsx)(u.T,{dataQa:{element:x.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,F.U)({bond:a,amount:e});m(t),b(f(e))}})})]})}var X=a(115),G=a.n(X);function K(e){var t,a,i;let{bond:s,count:r=0,cmsData:m}=e,p=(0,l.useTranslations)(),h=s.product.productPrice.redemptionIncome*r;return(0,n.jsxs)(u.T,{className:G().container,dataQa:{element:x.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:x.xJ.Text,name:"yieldValue"},children:(0,n.jsx)(o.xv,{weight:"medium",className:(0,d.Z)(G().value,G().yieldValue),children:"+".concat((0,R.lb)(h))})})]}),(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!==(i=null==m?void 0:m.rateHint)&&void 0!==i?i:p("sc-bonds.detail.calculator.rate.tooltip"),gap:10}),(0,n.jsx)(u.T,{dataQa:{element:x.xJ.Text,name:"rateValue"},children:(0,n.jsx)(o.xv,{weight:"medium",className:G().value,children:(0,g.QO)({couponType:s.product.couponType,minCouponPaymentSizePercent:s.product.couponEventsData.minCouponPaymentSizePercent,maxCouponPaymentSizePercent:s.product.couponEventsData.maxCouponPaymentSizePercent,nearestCouponPaymentSizePercent:null===(t=s.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:x.xJ.List,name:"bondConditions"},children:t.map(e=>{let{key:t,value:a,tooltip:i}=e;return(0,n.jsxs)(u.T,{className:$().condition,dataQa:{element:x.xJ.Block,name:"bondCondition"},children:[(0,n.jsx)("dt",{className:$().key,children:(0,n.jsx)(c.zn,{text:t,tooltip:i})}),(0,n.jsx)("dd",{className:$().value,children:a})]},t)})})}var et=a(6967),ea=a(637),en=a(1377),ei=a.n(en);function es(e){var t,a;let{bond:o,count:d,amount:m,cmsData:p,onCountChange:h,onAmountChange:b}=e,_=(0,i.useRouter)(),g=(0,l.useTranslations)(),[T,v]=(0,s.useState)(!0),[j,f]=(0,s.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:x.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:h,onAmountChange:b,onTabChange:function(){let e=T?1:0,t=(0,R.mu)(I.Tk[e].label);(0,ea.T)("invest_bonds__detail","click__tab__".concat(t),{eventLabel:o.product.productId}),v(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:ei().buttons,children:[(0,n.jsx)(u.T,{dataQa:{element:x.xJ.Button,name:"calculatorPurchaseButton"},children:(0,n.jsx)(r.zx,{label:g("sc-bonds.detail.calculator.buy-button.label"),size:"s",disabled:!j,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:x.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,i;let{couponType:s,paymentEvents:r,cmsData:c}=e,d=(0,l.useTranslations)(),m=r.filter(e=>e.paid),p=r.filter(e=>!e.paid),h=s===x.$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:x.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:x.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:x.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:x.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:x.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:x.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:x.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:x.xJ.Text,name:"paidPaymentSize"},children:(0,n.jsx)(o.xv,{size:"16",weight:"medium",children:(0,R.lb)(e.paymentSize)})})}),(0,n.jsx)("td",{children:(0,n.jsx)(u.T,{dataQa:{element:x.xJ.Text,name:"paidPaymentSizePercent"},children:(0,n.jsx)(o.xv,{size:"16",weight:"medium",children:(0,R.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:x.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:x.xJ.Caption,name:"futureCaption"},children:(0,n.jsx)(o.YS,{children:null!==(a=null==c?void 0:c.scheduleTableFutureCaption)&&void 0!==a?a:d(h)})})]})}),p.map(e=>(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:(0,n.jsx)(u.T,{dataQa:{element:x.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:x.xJ.Text,name:"futurePaymentSize"},children:(0,n.jsx)(o.xv,{size:"16",weight:"medium",children:(0,R.lb)(e.paymentSize)})})}),(0,n.jsx)("td",{children:(0,n.jsx)(u.T,{dataQa:{element:x.xJ.Text,name:"futurePaymentSizePercent"},children:(0,n.jsx)(o.xv,{size:"16",weight:"medium",children:(0,R.og)(e.paymentSizePercent)})})})]},e.eventDate))]}):null]})]}),(0,n.jsx)(u.T,{dataQa:{element:x.xJ.Text,name:"scheduleTableDisclaimer"},children:(0,n.jsx)(o.xv,{className:eo().note,size:"12",children:null!==(i=null==c?void 0:c.scheduleTableDisclaimer)&&void 0!==i?i: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:i,couponEvents:d,cmsData:m}=e,p=(0,l.useTranslations)(),h=(0,H.J)(),b=Array.from(new Set(d.map(f))).map(e=>({id:e,label:e})),[_,g]=(0,s.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=i===x.$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")}]}(),v=d.filter(e=>f(e)===_),j=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:x.xJ.Block,name:"paymentSchedule"},children:[(0,n.jsx)(o.X6,{className:"mb-6 mb-m-8",type:"h2",dataQa:h({element:x.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:x.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:x.xJ.Header,name:"paidCouponsText"},children:(0,n.jsx)(o.X6,{type:"h3",children:j})}),(0,n.jsx)(u.T,{className:"mb-5 mb-m-6",dataQa:{element:x.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:x.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:i,paymentEvents:v,cmsData:m})]})]})})}var em=a(6691),ep=a.n(em),ex={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},eh={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)(),i=[{text:a("sc-bonds.detail.purcase-steps.step-1.text"),imageSrc:ex},{text:a("sc-bonds.detail.purcase-steps.step-2.text"),imageSrc:eh},{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:x.xJ.Block,name:"purchaseStepCards"},children:(0,n.jsxs)(o.W2,{children:[(0,n.jsx)(u.T,{dataQa:{element:x.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:x.xJ.List,name:"list"},children:i.map(e=>{let{text:t,imageSrc:a}=e;return(0,n.jsxs)(u.T,{className:eg().card,tag:"li",dataQa:{element:x.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:x.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 ev=a(7218),ej=a.n(ev);function ef(e){var t;let{bond:a,cmsData:c}=e,d=(0,i.useRouter)(),m=(0,i.useSearchParams)(),p=(0,l.useTranslations)(),h=[{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,v]=(0,s.useState)(g),[j,f]=(0,s.useState)(g*a.product.productPrice.total),y=(0,et.w)(a,T);return(0,s.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:x.xJ.Breadcrumbs,name:"detailBreadcrumbs"},children:(0,n.jsx)(r.Oo,{className:"mb-2 mb-l-0 py-4",items:h,onClick:function(e,t){t===I.pY&&(null==e||e.preventDefault(),d.push("/"))}})}),(0,n.jsxs)("div",{className:ej().container,children:[(0,n.jsx)(V,{bond:a,cmsRate:null==b?void 0:b.rate}),(0,n.jsxs)("div",{className:ej().content,children:[(0,n.jsxs)("div",{className:ej().leftColumn,children:[(null==b?void 0:b.advantages)&&(0,n.jsx)(J,{items:null==b?void 0:b.advantages}),(0,n.jsx)(eu,{className:ej().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)(es,{bond:a,count:T,amount:j,cmsData:null==b?void 0:b.calculator,onCountChange:v,onAmountChange:f})]}),(0,n.jsx)(P,{bond:a,cmsData:c})]})]}),(0,n.jsx)(eT,{link:y})]})}},9135:function(e,t,a){"use strict";a.d(t,{T:function(){return s}});var n=a(7437),i=a(9182);function s(e){let{tag:t="div",children:a,dataQa:s,className:l,...o}=e,r=(0,i.J)(),c=r(s),d="string"==typeof t,u={...o,...d?{"data-qa":c}:{dataQa:c}};return(0,n.jsx)(t,{className:l,...u,children:a})}},8022:function(e,t,a){"use strict";a.d(t,{xu:function(){return c},Zb:function(){return b},Sr:function(){return N},TR:function(){return y},zn:function(){return B}});var n,i,s=a(7437),l=a(7042),o=a(5491),r=a.n(o);function c(e){let{className:t,variant:a="primary",children:n}=e;return(0,s.jsx)("div",{className:(0,l.Z)(r().box,{[r()["box--primary"]]:"primary"===a,[r()["box--secondary"]]:"secondary"===a},t),children:n})}(n=i||(i={})).Primary="primary",n.Secondary="secondary";var d=a(6454),u=a(3915),m=a(9135),p=a(7241),x=a(4912),h=a.n(x);function b(e){let{title:t,icon:a,className:n,children:i}=e;return(0,s.jsx)(m.T,{dataQa:{element:p.xJ.Block,name:"card"},children:(0,s.jsxs)(c,{className:(0,l.Z)(h().card,n),children:[(0,s.jsxs)("div",{className:h().titleContainer,children:[a&&(0,s.jsx)(m.T,{dataQa:{element:p.xJ.Icon,name:"cardIcon"},children:(0,s.jsx)(d.xb,{className:h().icon,name:a})}),(0,s.jsx)(m.T,{dataQa:{element:p.xJ.Header,name:"cardTitle"},children:(0,s.jsx)(u.X6,{type:"h3",as:"div",children:t})})]}),i]})})}var _=a(6691),g=a.n(_),T=a(2265),v={src:"/invest/bonds/_next/static/media/no-logo.aee2f188.svg",height:32,width:32,blurWidth:0,blurHeight:0},j=a(4283),f=a.n(j);let y=(0,T.memo)(function(e){let{src:t,alt:a,size:n=46,className:i}=e,[o,r]=(0,T.useState)(!1);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(T.Suspense,{children:(0,s.jsx)(g(),{"data-qa":"logo-image",className:(0,l.Z)(f().logoImage,!o&&f().hidden,i),src:null!=t?t:v,alt:a,width:n,height:n,onLoad:function(e){let{currentTarget:t}=e;t.naturalWidth>0&&r(!0)},unoptimized:!0})}),(0,s.jsx)(g(),{"data-qa":"logo-no-logo-image",className:(0,l.Z)(f().logoImage,o&&f().notDisplayed,i),src:v,alt:"Логотип не загрузился",width:n,height:n})]})});y.displayName="Logo";var C=a(1518),S=a(9063),w=a.n(S);function N(e){let{text:t,expandedText:a,className:n}=e,[i,o]=(0,T.useState)(!1);return(0,s.jsxs)(m.T,{className:(0,l.Z)(w().wrapper,n),dataQa:{element:p.xJ.Block,name:"expandedContent"},children:[(0,s.jsx)(m.T,{tag:"p",dataQa:{element:p.xJ.Text,name:"text"},children:t}),(0,s.jsx)("div",{className:(0,l.Z)(w().grid,{[w().open]:i}),children:(0,s.jsx)(m.T,{className:w().gridInner,tag:"p",dataQa:{element:p.xJ.Text,name:"expandedText"},children:a})}),(0,s.jsx)(m.T,{dataQa:{element:p.xJ.Button,name:"expandButton"},children:(0,s.jsx)(C.rU,{text:i?"Свернуть":"Показать еще",as:"button",type:"button",onClick:function(){o(e=>!e)}})})]})}var k=a(629),A=a(8814),P=a.n(A);function B(e){let{text:t,tooltip:a,gap:n=6,hintSize:i=20,hintColor:o="var(--color-gray-800)",className:r}=e;return(0,s.jsxs)(m.T,{className:(0,l.Z)(P().wrapper,r),style:{gap:"".concat(n,"px")},dataQa:{element:p.xJ.Block,name:"textWithHint"},children:[(0,s.jsx)(m.T,{dataQa:{element:p.xJ.Text,name:"text"},children:t}),a?(0,s.jsx)(m.T,{dataQa:{element:p.xJ.Hint,name:"hint"},children:(0,s.jsx)(C.kW,{className:P().hint,text:a,position:"top",auto:!1,inverted:!0,children:(0,s.jsx)(k.IconFdsQuestionCircleO,{size:i,style:{fontSize:"".concat(i,"px"),color:o}})})}):null]})}},637:function(e,t,a){"use strict";a.d(t,{T:function(){return d}});var n=a(9336),i=a(1490),s=a(2067);let{browserId:l,sessionId:o}=(0,n.Z)(),r=i.Z.get("auth.gtm_customer_id"),c=e=>{(0,s.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"}},5491:function(e){e.exports={box:"Box_box__U3pTk","box--primary":"Box_box--primary__bmk_7","box--secondary":"Box_box--secondary__E8F3g"}},4912:function(e){e.exports={card:"Card_card__S3kD8",titleContainer:"Card_titleContainer__x03lb",icon:"Card_icon__1OSHf"}},9063:function(e){e.exports={wrapper:"ExpandedContent_wrapper__AHH29",grid:"ExpandedContent_grid__gVwbJ",open:"ExpandedContent_open__IA7BE",gridInner:"ExpandedContent_gridInner__wLPJ_"}},4283:function(e){e.exports={logoImage:"Logo_logoImage__k98yw",notDisplayed:"Logo_notDisplayed__wxRml",hidden:"Logo_hidden__EbuIV"}},8814:function(e){e.exports={wrapper:"TextWithHint_wrapper__37Xpq",hint:"TextWithHint_hint__0_S4x"}},2067:function(e,t,a){"use strict";function n(){return typeof window>"u"}function i(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 s(){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 i},zK:function(){return s}})},9336:function(e,t,a){"use strict";let n;a.d(t,{Z:function(){return m}});let i="undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);var s={randomUUID:i};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(s.randomUUID&&!t&&!e)return s.randomUUID();e=e||{};let i=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(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t){a=a||0;for(let e=0;e<16;++e)t[a+e]=i[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]]}(i)},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(),i=sessionStorage.getItem(d)||r();return localStorage.setItem(d,n),sessionStorage.setItem(d,i),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:i}}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 i(e,i,s){if("undefined"!=typeof document){"number"==typeof(s=a({},n,s)).expires&&(s.expires=new Date(Date.now()+864e5*s.expires)),s.expires&&(s.expires=s.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var l="";for(var o in s)s[o]&&(l+="; "+o,!0!==s[o]&&(l+="="+s[o].split(";")[0]));return document.cookie=e+"="+t.write(i,e)+l}}return Object.create({set:i,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var a=document.cookie?document.cookie.split("; "):[],n={},i=0;i<a.length;i++){var s=a[i].split("="),l=s.slice(1).join("=");try{var o=decodeURIComponent(s[0]);if(n[o]=t.read(l,o),e===o)break}catch(e){}}return e?n[e]:n}},remove:function(e,t){i(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,287,971,472,744],function(){return e(e.s=3620)}),_N_E=e.O()}]);