(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3834],{40280:function(e,t,n){Promise.resolve().then(n.bind(n,53417)),Promise.resolve().then(n.bind(n,69767)),Promise.resolve().then(n.bind(n,76005)),Promise.resolve().then(n.bind(n,75294))},75294:function(e,t,n){"use strict";n.d(t,{OffersDetailClientPage:function(){return y}});var r=n(57437),i=n(99376),a=n(98456),o=n(35563),l=n(75461),c=n(42586),s=n(96369),u=n(30811),d=n(42170),f=n.n(d);function m(e){let{description:t}=e,n=(0,s.J)(),i=(0,c.useTranslations)(),a="aboutOffer";return(0,r.jsxs)(o.Zb,{dataQa:n({element:u.x.Block,name:a}),className:f().wrapper,children:[(0,r.jsx)(o.X6,{dataQa:n({element:u.x.Header,name:"".concat(a,"Title")}),type:"h2",children:i("sc-fund.offer.about-portfolio.title")}),(0,r.jsx)(o.xv,{dataQa:n({element:u.x.Text,name:"".concat(a,"Description")}),className:f().description,children:t})]})}var p=n(4799),_=n(34057),h=n(44830),g=n.n(h);function v(e){let{title:t,caption:n,securities:i}=e,a=(0,s.J)();return(0,r.jsxs)(o.Zb,{dataQa:a({element:_.xJ.Block,name:"offersHeader"}),className:g().wrapper,children:[(0,r.jsxs)("div",{className:g().content,children:[(0,r.jsx)(o.X6,{dataQa:a({element:_.xJ.Header,name:"offerName"}),type:"h2",children:t}),(0,r.jsx)(o.xv,{dataQa:a({element:_.xJ.Text,name:"offerCaption"}),className:g().caption,children:n})]}),(0,r.jsx)(p.i,{securities:i,dataQa:"offersLogos",className:g().logos,resizable:!0})]})}var b=n(1883),x=n(93398),E=n(90917),S=n(49090),I=n(74026),N=n.n(I);function C(e){let{threshold:t,description:n,shortDisclaimer:i,fullDisclaimer:u}=e,d=(0,s.J)(),f=(0,c.useTranslations)(),{value:m,text:p}=t,h="".concat(p," ").concat((0,S.lb)(m,{decimalIsWithoutZeros:!0}));return(0,r.jsxs)(o.Zb,{dataQa:d({element:_.xJ.Block,name:"offerInfo"}),className:N().wrapper,children:[(0,r.jsx)(o.X6,{dataQa:d({element:_.xJ.Header,name:"offerInfo"}),type:"h2",children:f("sc-fund.offer.full-information.title")}),(0,r.jsxs)(l.UQ,{dataQa:d({element:_.xJ.Collapse,name:"offerInfo"}),multiple:!0,children:[(0,r.jsx)(l.Qd,{dataQa:d({element:_.xJ.Block,name:"disclaimer"}),id:"disclaimer",title:i,children:(0,r.jsx)(o.YS,{dataQa:d({element:_.xJ.Caption,name:"threshold"}),size:"m",className:N().disclaimer,children:u})}),(0,r.jsx)(l.Qd,{dataQa:d({element:_.xJ.Block,name:"threshold"}),id:"threshold",title:h,children:(0,r.jsx)(o.YS,{dataQa:d({element:_.xJ.Caption,name:"threshold"}),size:"m",children:(0,r.jsx)(a.Bm,{markdown:n})})})]})]})}var A=n(81154),T=n.n(A);function y(e){let{offer:t,cmsData:n,widgetSlot:c}=e,d=(0,s.J)(),f=(0,i.useRouter)(),p=(0,i.useParams)(),_=null==p?void 0:p.offerId,h=[{label:"Главная",href:"/"},{label:"Готовые подборки",href:"".concat(x.pY,"/offers")},{label:"О подборке"}],g=Object.values(t.historicalYield).some(e=>null!==e);return(0,r.jsxs)(o.W2,{children:[(0,r.jsx)(l.Oo,{dataQa:d({element:u.x.Breadcrumbs,name:"breadcrumbs"}),className:"pt-4 mb-4",items:h}),(0,r.jsx)(v,{title:t.name,caption:t.subtitle,securities:t.securities}),(0,r.jsxs)("div",{className:T().grid,children:[(0,r.jsxs)("div",{className:T().leftSection,children:[(0,r.jsx)(m,{description:t.description}),g&&(0,r.jsx)(a.Dp,{historicalYield:t.historicalYield})]}),(0,r.jsxs)("div",{className:T().rightSection,children:[(0,r.jsx)(a.tw,{dataQa:"offers-block",title:t.portfolioSubtitle,subtitle:t.portfolioNote,items:t.securities,s3MinioUrl:(0,E.SJ)("NEXT_PUBLIC_S3_MINIO_BASE_URL"),onItemClick:function(e){(0,b._)("portfolio_detail_unauth","fund_card_click",{eventLabel:e.name}),f.push("/offers/".concat(_,"/").concat(e.id))},clickable:!0}),c]}),(0,r.jsx)("div",{className:T().offerInfo,children:(0,r.jsx)(C,{threshold:t.threshold,description:n.modalWindowDescription,shortDisclaimer:n.shortDisclaimer,fullDisclaimer:n.fullDisclaimer})})]})]})}},5083:function(e,t,n){"use strict";n.d(t,{T:function(){return a}});var r=n(57437),i=n(96369);let a=e=>{let{tag:t="div",children:n,dataQa:a,className:o,...l}=e,c=(0,i.J)()(a),s="string"==typeof t,u={...l,...s?{"data-qa":c}:{dataQa:c}};return(0,r.jsx)(t,{className:o,...u,children:n})}},76005:function(e,t,n){"use strict";n.d(t,{BuyButton:function(){return l}});var r=n(57437),i=n(57513),a=n(1883),o=n(90917);function l(e){let{entryPointId:t,url:n,config:l,serverConfig:c,analytics:s,className:u}=e,d=(0,o.SJ)("NEXT_PUBLIC_MARKETPLACE_LK_BASE_URL"),f="true"===(0,o.SJ)("NEXT_PUBLIC_FAKE_ESIA_ENABLED");return(0,r.jsx)(i.U,{className:u,serverConfig:null!=c?c:{},baseUrl:d,s3AssetsUrl:(0,o.SJ)("NEXT_PUBLIC_S3_ASSETS"),scenarioParams:{targetUri:n},query:{...f&&{uat:!0}},entryPointId:t,config:l,isSilent:!0,onAnalyticsEvent:e=>{let{eventCategory:t,eventAction:n,eventLabel:r}=e;(0,a._)(null!=t?t:"login-widget.click_button_login",n,{eventLabel:r}),s&&"click_button_login"===n&&(0,a._)(s.eventCategory,s.eventAction,{eventLabel:s.eventLabel})}})}},4799:function(e,t,n){"use strict";n.d(t,{i:function(){return d}});var r=n(57437),i=n(98456),a=n(61994),o=n(5083),l=n(34057),c=n(90917),s=n(59607),u=n.n(s);function d(e){let{securities:t,dataQa:n,className:s,resizable:d=!1}=e;return(0,r.jsx)(o.T,{dataQa:{element:l.xJ.Block,name:n},className:s,children:t.map((e,n)=>{let{id:o,logoKey:l,name:s}=e;return(0,r.jsx)("div",{style:{marginLeft:0===n?0:-12,zIndex:t.length-n},className:u().logoWrapper,children:(0,r.jsx)(i.G2,{className:(0,a.Z)(d?u().resizable:u().logo),logoKey:l,alt:"логотип ".concat(s),s3MinioUrl:(0,c.SJ)("NEXT_PUBLIC_S3_ASSETS")})},o)})})}},96369:function(e,t,n){"use strict";n.d(t,{J:function(){return l}});var r=n(2265),i=n(99376),a=n(42798),o=n.n(a);function l(){let e=(0,i.useParams)(),t=(0,i.usePathname)();return(0,r.useCallback)(n=>{let{prefix:r,element:i,name:a,index:l}=n;if(!t||!e)return"";let c=t.split("/").filter(e=>e).map(t=>{var n;return null!==(n=Object.keys(e).find(n=>e[n]===t))&&void 0!==n?n:t});c.unshift("funds");let s=c.join("-"),u=o()(a),d=void 0!==l?"-".concat(function(e){if(Number.isNaN(e)||e<0)throw Error("Incorrect value '".concat(e,"' for the property 'index'. Must be a number and >= 0}"));return e}(l)):"";return"".concat(r?"".concat(r,"-"):"").concat(s,"-").concat(i,"-").concat(u).concat(d)},[e,t])}},1883:function(e,t,n){"use strict";n.d(t,{_:function(){return o}});var r=n(30631);let i=n(64131).Z.get("auth.gtm_customer_id"),a=e=>{(0,r.AB)(e)};function o(e,t,n){a({event:"data_event",customer_id:i,eventCategory:e,eventAction:t,eventLabel:null==n?void 0:n.eventLabel,eventValue:null==n?void 0:n.eventValue})}},30811:function(e,t,n){"use strict";var r,i;n.d(t,{x:function(){return r}}),(i=r||(r={})).Form="form",i.Link="link",i.Header="header",i.Breadcrumbs="breadcrumbs",i.Image="image",i.Button="button",i.Dropdown="dropdown",i.Slider="slider",i.Switcher="switcher",i.Banner="banner",i.Checkbox="checkbox",i.Radiobutton="radiobutton",i.Text="text",i.List="list",i.Block="block",i.Collapse="collapse",i.Chart="chart",i.Modal="modal",i.Table="table",i.Icon="icon",i.Chips="chips",i.Tile="tile",i.Caption="caption",i.Input="input",i.Tabs="tabs",i.Tag="tag",i.Toggle="toggle",i.Drawer="drawer",i.Select="select",i.Hint="hint",i.Label="label",i.ProgressBar="progressbar"},34057:function(e,t,n){"use strict";n.d(t,{xJ:function(){return T.x},nC:function(){return x},al:function(){return E},K7:function(){return I},jV:function(){return b},sM:function(){return _},gQ:function(){return h},X_:function(){return g},xl:function(){return S},Cp:function(){return v}}),(p=_||(_={})).OneMonth="ONE_MONTH",p.ThreeMonths="THREE_MONTHS",p.SixMonth="SIX_MONTH",p.OneYear="ONE_YEAR",p.ThreeYears="THREE_YEARS",p.FiveYears="FIVE_YEARS";var r,i,a,o,l,c,s,u,d,f,m,p,_,h,g,v,b,x,E,S,I,N,C,A,T=n(30811);(r=h||(h={})).High="HIGH",r.Medium="MEDIUM",r.Low="LOW",(i=g||(g={})).Asc="ASC",i.Desc="DESC",(a=v||(v={})).YieldMonth="YIELD_MONTH",a.YieldQuarter="YIELD_QUARTER",a.YieldHalfYear="YIELD_HALF_YEAR",a.YieldYear="YIELD_YEAR",a.YieldThreeYear="YIELD_THREE_YEAR",a.YieldFiveYear="YIELD_FIVE_YEAR",a.YieldAll="YIELD_ALL",(o=b||(b={})).Sca="NET_ASSET_VALUE",o.MinimalPurchaseAmount="MINIMAL_PURCHASE_AMOUNT",(l=x||(x={}))[l.MinValue=100]="MinValue",l[l.IsAuthorFund=1]="IsAuthorFund",(c=E||(E={})).Mixed="MIXED",c.Bond="BOND",c.Stock="STOCK",c.Metal="METAL",c.Money="MONEY",c.Realty="REALTY",c.None="NONE",(s=S||(S={})).Extended="extended",s.Quick="quick",(u=I||(I={}))[u.Yield=0]="Yield",u[u.ManagementCompanies=1]="ManagementCompanies",u[u.Risks=2]="Risks",u[u.Category=3]="Category",(d=N||(N={})).View="view",d.Buy="buy",(f=C||(C={})).Rational="Оптимальный",f.Aggressive="Активный рост",f.Conservative="Минимальный риск",(m=A||(A={})).Archived="ARCHIVED",m.Demo="DEMO",m.Draft="DRAFT",m.Published="PUBLISHED"},93398:function(e,t,n){"use strict";n.d(t,{tC:function(){return r},pY:function(){return i}});let r=45,i="/invest/funds"},90917:function(e,t,n){"use strict";n.d(t,{E0:function(){return _},p6:function(){return v},JC:function(){return x},NM:function(){return E},Rz:function(){return p},SJ:function(){return o},kj:function(){return S},j0:function(){return I},ow:function(){return A},ld:function(){return T},lt:function(){return y}});var r=n(1883),i=n(93398),a=n(50666);function o(e){return(0,a.env)(e)}let l=e=>/^https:\/\//gi.test(e),c=e=>["",...e.replace(/^http(s)?:\/\//gi,"").replace(/\/$/,"").split(".").slice(-2)].join("."),s=()=>window.location.host.indexOf("localhost")>=0,u=e=>('"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)),d=e=>encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent),f=e=>encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[(]/g,"%28").replace(/[)]/g,"%29"),m=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:365,r=o("NEXT_PUBLIC_SHOWCASE_ORIGIN"),i=s()?"":"; domain=".concat(c(r)),a=new Date(new Date().getTime()+864e5*n).toUTCString();document.cookie="".concat(f(e),"=").concat(d("string"==typeof t?t:JSON.stringify(t)),"; SameSite=None").concat(l(r)?"; Secure":"").concat(i,"; expires=").concat(a,"; path=/;")},p=(e,t,n)=>{if(null==e?void 0:e.aggregator_id){let o={...e,...n&&{platformProductId:n},create_date:new Date().toISOString()},l={payload:[]};try{var a;l=JSON.parse((null===(a=function(){if("undefined"!=typeof document&&document.cookie)return Object.fromEntries(document.cookie.split("; ").map(e=>e.split("=")).map(e=>e.map(e=>u(e))))}())||void 0===a?void 0:a.cpa_click)||"{}")}catch(e){return}l.payload||(l.payload=[]),l.payload.push(o),t[e.aggregator_id]&&(m("cpa_click",l,i.tC),(0,r._)(e.aggregator_id,"CPA_click",{eventLabel:window.location.pathname,eventValue:e.utm_term||e.click_id,utm_source:e.utm_source,utm_campaign:e.utm_campaign,utm_medium:e.utm_medium}))}};function _(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"primary";return e.filter(e=>{var t;return null===(t=e.params)||void 0===t?void 0:t.visible}).map(e=>{var n,r;return{...e,params:{visible:e.params.visible,variant:null!==(n=e.params.variant)&&void 0!==n?n:t,priority:null!==(r=e.params.priority)&&void 0!==r?r:Number.MAX_SAFE_INTEGER}}}).toSorted((e,t)=>e.params.priority-t.params.priority).map(e=>({label:e.displayName,variant:e.params.variant,dataQa:e.code,hint:e.description}))}var h=n(67603),g=n(50692);function v(e,t){let{format:n="dd.MM.yy"}=null!=t?t:{};try{if("string"==typeof e)return(0,h.Z)(new Date(e),n,{locale:g.Z});return(0,h.Z)(e,n,{locale:g.Z})}catch(t){return e}}var b=n(49090);function x(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],{length:n}=String(Math.floor(e)),r=t?"\xa0₽":"";return n>7&&n<10?"".concat(String(+(e/1e6).toFixed(2)).replace(".",","),"\xa0млн").concat(r):n>=10&&n<13?"".concat(String(+(e/1e9).toFixed(2)).replace(".",","),"\xa0млрд").concat(r):n>=13?"".concat(String(+(e/1e12).toFixed(2)).replace(".",","),"\xa0трлн").concat(r):(0,b.lb)(e,{decimalCount:2,hasCurrencySymbol:t,decimalIsWithoutZeros:!0})}function E(e){if(null===e)return"—";if(0===e)return"0%";let t=e>0?"+":"";return"".concat(t).concat((0,b.lb)(e,{decimalCount:2,hasCurrencySymbol:!1}),"%")}function S(e){let t=o("NEXT_PUBLIC_SHOWCASE_ORIGIN");return{title:"Журнал Финуслуги",description:"Рассказываем о финансах, разбираем новые законы и даем лайфхаки, как приумножить доход",chips:[{id:1,label:"Инвестиции",items:e.articles.map(e=>{let{title:n,url:r,img:i,public_date:a}=e;return{title:n,dt:a,url:"".concat(t,"/").concat(r),img:"".concat(t,"/img/posts/big/").concat(null==i?void 0:i.file)}})}],url:"".concat(t,"/navigator")}}function I(e,t,n){if(e<1||!n.length)return null;let r=Math.min(e-1,n.length);return[...n.slice(0,r),t,...n.slice(r)]}var N=n(59918),C=n(30702);function A(e,t,n){let r="string"==typeof e?(0,N.Z)(e):e,i="string"==typeof t?(0,N.Z)(t):t,a="string"==typeof n?(0,N.Z)(n):n;return(0,C.Z)(r,{start:i,end:a})}function T(e){var t;return null!==(t=null==e?void 0:e.replace(/\sstyle=["\\]+[a-z0-9-:; !\s]*[\\"]+/gm,""))&&void 0!==t?t:""}function y(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return+e.toFixed(t)}},42170:function(e){e.exports={wrapper:"AboutPortfolio_wrapper__gS5aR",description:"AboutPortfolio_description__W6CJi"}},74026:function(e){e.exports={wrapper:"OfferInformation_wrapper__lYTVx",disclaimer:"OfferInformation_disclaimer__iBJY8"}},81154:function(e){e.exports={grid:"OffersDetail_grid__rAIu9",leftSection:"OffersDetail_leftSection__Leguw",rightSection:"OffersDetail_rightSection__uz1qz",offerInfo:"OffersDetail_offerInfo__OT0zc"}},44830:function(e){e.exports={wrapper:"OffersDetailHeader_wrapper__PZNAW",content:"OffersDetailHeader_content__6RhcO",caption:"OffersDetailHeader_caption__l3sRf",logos:"OffersDetailHeader_logos__K5p6k"}},59607:function(e){e.exports={logoWrapper:"MultiLogo_logoWrapper__8PupY",logo:"MultiLogo_logo__hh0Of",resizable:"MultiLogo_resizable__GPh3q"}}},function(e){e.O(0,[2293,187,6421,7514,1640,3544,5591,1866,3937,7002,3633,5878,5166,1366,5039,9362,6535,365,2971,2117,1744],function(){return e(e.s=40280)}),_N_E=e.O()}]);