"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[341],{15176:function(e,t,n){n.d(t,{c0:function(){return o},Ht:function(){return r},J$:function(){return u},I_:function(){return l},WY:function(){return i},_5:function(){return a},Z2:function(){return c},du:function(){return d}});let r=[{id:1,label:"Пай"},{id:2,label:"СЧА"}],o={grid:{horzLines:{visible:!0,color:"#e3e7ec"},vertLines:{visible:!1}}},a={priceLineVisible:!1,color:"#525bbb",lineWidth:2},i={borderColor:"#e3e7ec",borderVisible:!1},c={borderColor:"#e3e7ec"},u=["#63b1f3","#49c55d","#f7d762","#fa7c07","#ed7ce1","#6a80ef","#a2cb11","#89c7fc","#ffe576","#ffbef8","#a4aaf2","#c8df77","#ff696b"],l="#e3e7ec",d=[{id:1,label:"Обзор"},{id:2,label:"Инсайты"}]},36148:function(e,t,n){function r(e,t){return e.map(e=>{let n=new Date(e.date);return{time:{year:n.getFullYear(),month:n.getMonth()+1,day:n.getDate()},value:1===t?e.pay:e.sca}})}n.d(t,{um:function(){return g},q:function(){return m},W$:function(){return r},Uf:function(){return i},Wl:function(){return d}});var o=n(49623),a=n(71885);function i(e,t){let n=new Date(t.date);return{from:(0,o.p6)((0,a.Z)(n,e),{format:"yyyy-MM-dd"}),to:(0,o.p6)(n,{format:"yyyy-MM-dd"})}}var c=n(57437),u=n(26094),l=n(7690);function d(e){let t="".concat((0,o.SJ)("NEXT_PUBLIC_SHOWCASE_ORIGIN")).concat(l.pY,"/").concat(e);return[{icon:(0,c.jsx)(u.IconFdsVkontakteF,{}),url:"https://vk.com/share.php?url=".concat(t),name:"ВКонтакте",style:{color:"rgb(74, 118, 168)"}},{icon:(0,c.jsx)(u.IconFdsOdnoklassnikiF,{}),url:"https://connect.ok.ru/offer?url=".concat(t),name:"Одноклассники",style:{color:"rgb(255, 136, 0)"}},{icon:(0,c.jsx)(u.IconFdsTelegramF,{}),url:"https://telegram.me/share/url?url=".concat(t),name:"Telegram",style:{color:"rgb(0, 151, 255)",paddingRight:"2px"}}]}var s=n(39018),f=n.n(s),p=n(15176);function m(e,t){return{...e,value:e.percent,color:function(e,t){if(!f()(t))return p.I_;let n=e-p.J$.length*Math.floor(e/p.J$.length);return p.J$[n]}(t,e.percent),hasValue:f()(e.percent)}}function g(e){return{1:{url:"/".concat(e)},2:{url:"/".concat(e,"/posts")}}}},21585:function(e,t,n){n.d(t,{T:function(){return a}});var r=n(57437),o=n(14307);let a=e=>{let{tag:t="div",children:n,dataQa:a,className:i,...c}=e,u=(0,o.J)()(a),l="string"==typeof t,d={...c,...l?{"data-qa":u}:{dataQa:u}};return(0,r.jsx)(t,{className:i,...d,children:n})}},14307:function(e,t,n){n.d(t,{J:function(){return c}});var r=n(47907),o=n(8278),a=n.n(o),i=n(2265);function c(){let e=(0,r.useParams)(),t=(0,r.usePathname)();return(0,i.useCallback)(n=>{let{prefix:r,element:o,name:i,index:c}=n,u=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});u.unshift("funds");let l=u.join("-"),d=a()(i),s=void 0!==c?"-".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}(c)):"";return"".concat(r?"".concat(r,"-"):"").concat(l,"-").concat(o,"-").concat(d).concat(s)},[e,t])}},21741:function(e,t,n){n.d(t,{_:function(){return d}});var r=n(72773),o=n(98955),a=n(60915);let{browserId:i,sessionId:c}=(0,r.Z)(),u=o.Z.get("auth.gtm_customer_id"),l=e=>{(0,a.AB)(e)};function d(e,t,n){l({event:"data_event",browser_id:i,session_id:c,customer_id:u,eventCategory:e,eventAction:t,eventLabel:null==n?void 0:n.eventLabel,eventValue:null==n?void 0:n.eventValue})}},53238:function(e,t,n){var r,o;n.d(t,{x:function(){return r}}),(o=r||(r={})).Form="form",o.Link="link",o.Header="header",o.Breadcrumbs="breadcrumbs",o.Image="image",o.Button="button",o.Dropdown="dropdown",o.Slider="slider",o.Switcher="switcher",o.Banner="banner",o.Checkbox="checkbox",o.Radiobutton="radiobutton",o.Text="text",o.List="list",o.Block="block",o.Collapse="collapse",o.Chart="chart",o.Modal="modal",o.Table="table",o.Icon="icon",o.Chips="chips",o.Tile="tile",o.Caption="caption",o.Input="input",o.Tabs="tabs",o.Tag="tag",o.Toggle="toggle",o.Drawer="drawer",o.Select="select",o.Hint="hint",o.Label="label",o.ProgressBar="progressbar"},1789:function(e,t,n){n.d(t,{xJ:function(){return N.x},nC:function(){return y},al:function(){return C},K7:function(){return M},jV:function(){return E},ce:function(){return S},sM:function(){return h},gQ:function(){return v},X_:function(){return b},xl:function(){return I},Cp:function(){return _}}),(g=h||(h={})).OneMonth="ONE_MONTH",g.ThreeMonths="THREE_MONTHS",g.SixMonth="SIX_MONTH",g.OneYear="ONE_YEAR",g.ThreeYears="THREE_YEARS",g.FiveYears="FIVE_YEARS";var r,o,a,i,c,u,l,d,s,f,p,m,g,h,v,b,_,E,y,C,I,M,S,Y,A,T,N=n(53238);(r=v||(v={})).High="HIGH",r.Medium="MEDIUM",r.Low="LOW",(o=b||(b={})).Asc="ASC",o.Desc="DESC",(a=_||(_={})).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",(i=E||(E={})).Sca="NET_ASSET_VALUE",i.MinimalPurchaseAmount="MINIMAL_PURCHASE_AMOUNT",(c=y||(y={}))[c.MinValue=100]="MinValue",c[c.IsAuthorFund=1]="IsAuthorFund",(u=C||(C={})).Mixed="MIXED",u.Bond="BOND",u.Stock="STOCK",u.Metal="METAL",u.Money="MONEY",u.Realty="REALTY",u.None="NONE",(l=I||(I={})).Extended="extended",l.Quick="quick",(d=M||(M={}))[d.Yield=0]="Yield",d[d.ManagementCompanies=1]="ManagementCompanies",d[d.Risks=2]="Risks",d[d.Category=3]="Category",(s=S||(S={})).View="view",s.Buy="buy",(f=Y||(Y={})).Rational="Оптимальный",f.Aggressive="Активный рост",f.Conservative="Минимальный риск",(p=A||(A={})).Archived="ARCHIVED",p.Demo="DEMO",p.Draft="DRAFT",p.Published="PUBLISHED",(m=T||(T={})).Header="header",m.Journal="journal",m.Support="support",m.Faq="faq",m.Search="search",m.Footer="footer"},7690:function(e,t,n){n.d(t,{tC:function(){return o},pY:function(){return r}});let r="/invest/funds",o=45},49623:function(e,t,n){n.d(t,{E0:function(){return Y},p6:function(){return u},JC:function(){return o},NM:function(){return A},Rz:function(){return E},SJ:function(){return d},j0:function(){return y},ow:function(){return S},ld:function(){return C},lt:function(){return a}});var r=n(28443);function o(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],{length:n}=String(Math.floor(e)),o=t?"\xa0₽":"";return n>7&&n<10?"".concat(String(+(e/1e6).toFixed(2)).replace(".",","),"\xa0млн").concat(o):n>=10&&n<13?"".concat(String(+(e/1e9).toFixed(2)).replace(".",","),"\xa0млрд").concat(o):n>=13?"".concat(String(+(e/1e12).toFixed(2)).replace(".",","),"\xa0трлн").concat(o):(0,r.lb)(e,{decimalCount:2,hasCurrencySymbol:t,decimalIsWithoutZeros:!0})}function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return+e.toFixed(t)}var i=n(68947),c=n(50309);function u(e,t){let{format:n="dd.MM.yy"}=null!=t?t:{};try{if("string"==typeof e)return(0,i.Z)(new Date(e),n,{locale:c.Z});return(0,i.Z)(e,n,{locale:c.Z})}catch(t){return e}}var l=n(20564);function d(e){return(0,l.env)(e)}var s=n(21741),f=n(7690);let p=e=>/^https:\/\//gi.test(e),m=e=>["",...e.replace(/^http(s)?:\/\//gi,"").replace(/\/$/,"").split(".").slice(-2)].join("."),g=()=>window.location.host.indexOf("localhost")>=0,h=e=>('"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)),v=e=>encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent),b=e=>encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[(]/g,"%28").replace(/[)]/g,"%29"),_=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:365,r=d("NEXT_PUBLIC_SHOWCASE_ORIGIN"),o=g()?"":"; domain=".concat(m(r)),a=new Date(new Date().getTime()+864e5*n).toUTCString();document.cookie="".concat(b(e),"=").concat(v("string"==typeof t?t:JSON.stringify(t)),"; SameSite=None").concat(p(r)?"; Secure":"").concat(o,"; expires=").concat(a,"; path=/;")},E=(e,t,n)=>{if(null==e?void 0:e.aggregator_id){let o={...e,...n&&{platformProductId:n},create_date:new Date().toISOString()},a={payload:[]};try{var r;a=JSON.parse((null===(r=function(){if("undefined"!=typeof document&&document.cookie)return Object.fromEntries(document.cookie.split("; ").map(e=>e.split("=")).map(e=>e.map(e=>h(e))))}())||void 0===r?void 0:r.cpa_click)||"{}")}catch(e){return}a.payload||(a.payload=[]),a.payload.push(o),t[e.aggregator_id]&&(_("cpa_click",a,f.tC),(0,s._)(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 y(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)]}function C(e){var t;return null!==(t=null==e?void 0:e.replace(/\sstyle=["\\]+[a-z0-9-:; !\s]*[\\"]+/gm,""))&&void 0!==t?t:""}var I=n(50492),M=n(94624);function S(e,t,n){let r="string"==typeof e?(0,I.Z)(e):e,o="string"==typeof t?(0,I.Z)(t):t,a="string"==typeof n?(0,I.Z)(n):n;return(0,M.Z)(r,{start:o,end:a})}function Y(){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}))}function A(e){if(null===e)return"—";if(0===e)return"0%";let t=e>0?"+":"";return"".concat(t).concat((0,r.lb)(e,{decimalCount:2,hasCurrencySymbol:!1}),"%")}}}]);