1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2810,2636,9424,2585,6181,9514,8475,7678,1455,1412],{8902:function(e,t,n){"use strict";var i,r,l=n(67294),o=["title","titleId"];function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(null,arguments)}t.Z=function(e){var t=e.title,n=e.titleId,d=function(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n={};for(var i in e)if(({}).hasOwnProperty.call(e,i)){if(t.includes(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(i=0;i<l.length;i++)n=l[i],t.includes(n)||({}).propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,o);return l.createElement("svg",a({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n},d),t?l.createElement("title",{id:n},t):null,i||(i=l.createElement("path",{d:"M6.584 6.584c.866-.866 2.134-1.167 3.666-1.167h1.167a.75.75 0 010 1.5H10.25c-1.384 0-2.158.281-2.605.728-.447.447-.728 1.22-.728 2.605v3.5c0 1.384.281 2.158.728 2.605.447.447 1.22.728 2.605.728h3.5c1.384 0 2.158-.281 2.605-.728.447-.447.728-1.22.728-2.605v-1.167a.75.75 0 111.5 0v1.167c0 1.532-.301 2.8-1.167 3.666-.866.865-2.134 1.167-3.666 1.167h-3.5c-1.532 0-2.8-.302-3.666-1.167-.865-.866-1.167-2.134-1.167-3.666v-3.5c0-1.532.302-2.8 1.167-3.666z",fill:"#AAAABA"})),r||(r=l.createElement("path",{d:"M17.083 7.977v.99a.75.75 0 001.5 0v-2.8a.75.75 0 00-.75-.75h-2.8a.75.75 0 000 1.5h.99l-3.97 3.97a.75.75 0 001.06 1.06l3.97-3.97z",fill:"#AAAABA"})))}},50004:function(e,t,n){"use strict";var i,r,l,o,a=n(67294),d=["title","titleId"];function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(null,arguments)}t.Z=function(e){var t=e.title,n=e.titleId,c=function(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n={};for(var i in e)if(({}).hasOwnProperty.call(e,i)){if(t.includes(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(i=0;i<l.length;i++)n=l[i],t.includes(n)||({}).propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,d);return a.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",width:18,height:18,viewBox:"0 0 18 18",fill:"none","aria-labelledby":n},c),t?a.createElement("title",{id:n},t):null,i||(i=a.createElement("mask",{id:"falling-icon_svg__a",fill:"#fff"},a.createElement("path",{d:"M12.377 11.438a.556.556 0 01-.397-.165L9.317 8.61 8.5 9.84a.55.55 0 01-.413.248.547.547 0 01-.45-.165l-2.4-2.4a.566.566 0 010-.795.566.566 0 01.795 0L7.945 8.64l.817-1.23a.581.581 0 01.413-.247.547.547 0 01.45.165l3.15 3.15a.566.566 0 010 .795.556.556 0 01-.398.165z"}))),r||(r=a.createElement("path",{d:"M11.98 11.273l-.955.954.955-.954zM9.317 8.61l.955-.955L9.106 6.49l-.913 1.374 1.124.747zM8.5 9.84l-1.124-.747-.01.013-.008.013L8.5 9.84zm-.413.248l.117 1.345.006-.001-.123-1.344zm-.45-.165l.985-.924-.015-.016-.015-.015-.955.955zm-2.4-2.4l-.954.954.954-.954zm.795-.795l-.954.954.954-.954zM7.945 8.64l-.955.955 1.166 1.166.913-1.374-1.124-.747zm.817-1.23L7.64 6.661l-.001.002 1.124.747zm.413-.247l-.117-1.345-.029.002L9 5.824l.175 1.339zm.45.165l-.985.923.015.016.015.015.955-.954zm3.15 3.15l.954-.955-.954.955zm-.398.96v-1.35c.197 0 .403.076.557.23l-.954.955-.955.954c.38.38.871.56 1.352.56v-1.35zm-.397-.165l.954-.955-2.662-2.663-.955.955-.954.955 2.662 2.662.955-.954zM9.317 8.61l-1.124-.747-.817 1.23L8.5 9.84l1.124.747.818-1.23-1.125-.747zM8.5 9.84l-1.142-.72a.801.801 0 01.607-.377l.122 1.345.123 1.344a1.899 1.899 0 001.431-.871L8.5 9.841zm-.413.248L7.97 8.743a.804.804 0 01.652.256l-.985.924-.985.923c.416.443.997.635 1.552.586l-.117-1.344zm-.45-.165l.955-.955-2.4-2.4-.955.955-.954.954 2.4 2.4.954-.954zm-2.4-2.4l.955-.955c.31.31.31.804 0 1.114l-.955-.954-.954-.955a1.916 1.916 0 000 2.704l.954-.954zm0-.795l.955.954a.784.784 0 01-1.114 0l.954-.954.955-.955a1.916 1.916 0 00-2.704 0l.954.955zm.795 0l-.954.954L6.99 9.595l.955-.955.954-.955-1.9
112-1.912-.955.955zM7.945 8.64l1.124.747.818-1.23-1.125-.747-1.124-.747-.817 1.23 1.124.747zm.817-1.23l1.124.749a.77.77 0 01-.537.342l-.174-1.338L9 5.823a1.93 1.93 0 00-1.36.838l1.122.75zm.413-.247l.117 1.345a.804.804 0 01-.652-.257l.985-.923.985-.924a1.897 1.897 0 00-1.552-.586l.117 1.345zm.45.165l-.955.954 3.15 3.15.955-.954.954-.955-3.15-3.15-.954.955zm3.15 3.15l-.955.954a.784.784 0 010-1.114l.955.955.954.954a1.916 1.916 0 000-2.704l-.954.955zm0 .795l-.955-.955a.794.794 0 01.557-.23v2.7c.482 0 .973-.182 1.352-.56l-.954-.955z",fill:"#FF3B30",mask:"url(#falling-icon_svg__a)"})),l||(l=a.createElement("path",{d:"M12.375 11.438h-1.5a.567.567 0 01-.563-.563c0-.307.256-.563.563-.563h.938v-.937c0-.307.255-.563.562-.563.307 0 .563.256.563.563v1.5a.567.567 0 01-.563.563z",fill:"#FF3B30"})),o||(o=a.createElement("path",{d:"M11.25 17.063h-4.5c-4.072 0-5.813-1.74-5.813-5.813v-4.5C.938 2.678 2.678.937 6.75.937h4.5c4.072 0 5.813 1.74 5.813 5.813v4.5c0 4.072-1.74 5.813-5.813 5.813zm-4.5-15c-3.458 0-4.688 1.23-4.688 4.687v4.5c0 3.457 1.23 4.688 4.688 4.688h4.5c3.457 0 4.688-1.23 4.688-4.688v-4.5c0-3.458-1.23-4.688-4.688-4.688h-4.5z",fill:"#FF3B30"})))}},85166:function(e,t,n){"use strict";var i,r,l,o,a=n(67294),d=["title","titleId"];function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(null,arguments)}t.Z=function(e){var t=e.title,n=e.titleId,c=function(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n={};for(var i in e)if(({}).hasOwnProperty.call(e,i)){if(t.includes(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(i=0;i<l.length;i++)n=l[i],t.includes(n)||({}).propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,d);return a.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",width:18,height:18,viewBox:"0 0 18 18",fill:"none","aria-labelledby":n},c),t?a.createElement("title",{id:n},t):null,i||(i=a.createElement("mask",{id:"growing-icon_svg__a",fill:"#fff"},a.createElement("path",{d:"M5.623 11.438a.556.556 0 01-.397-.165.566.566 0 010-.795l2.4-2.4a.556.556 0 01.862.082l.818 1.23 2.662-2.662a.566.566 0 01.795 0 .566.566 0 010 .795l-3.15 3.15a.556.556 0 01-.862-.083l-.818-1.23-1.912 1.913a.556.556 0 01-.398.165z"}))),r||(r=a.createElement("path",{d:"M5.226 10.478l-.955-.955.955.955zm2.4-2.4l.954.954-.954-.954zm.45-.165l.122-1.345h-.005l-.117 1.345zm.412.247l1.124-.747-.005-.008-.005-.007-1.114.762zm.818 1.23l-1.125.747.913 1.374 1.166-1.166-.954-.955zm2.662-2.662l.955.954-.955-.954zm.795.795l.955.954-.955-.954zm-3.15 3.15l-.954-.955.954.955zm-.45.165l-.122 1.344h.005l.117-1.344zm-.412-.248l-1.125.747.005.008.005.007 1.115-.762zm-.818-1.23l1.124-.747-.912-1.374-1.166 1.166.954.955zm-1.912 1.913l.954.954-.954-.954zm-.398.165v-1.35c.196 0 .403.076.557.23l-.954.955-.955.954c.38.38.87.56 1.352.56v-1.35zm-.397-.165l.954-.955c.31.31.31.805 0 1.114l-.954-.954-.955-.955a1.916 1.916 0 000 2.704l.955-.954zm0-.795l.954.954 2.4-2.4-.954-.954-.955-.955-2.4 2.4.955.955zm2.4-2.4l.954.954a.795.795 0 01-.621.226l.117-1.345.117-1.345c-.58-.05-1.128.16-1.522.555l.955.955zm.45-.165l-.123 1.344a.788.788 0 01-.579-.335l1.114-.762 1.114-.762a1.912 1.912 0 00-1.404-.83l-.122 1.345zm.412.247l-1.124.747.817 1.23 1.125-.747 1.124-.747-.818-1.23-1.124.747zm.818 1.23l.954.955 2.663-2.663-.955-.954-.954-.955L8.35 8.435l.955.955zm2.662-2.662l.955.954a.784.784 0 01-1.114 0l.954-.954.955-.955a1.916 1.916 0 00-2.704 0l.954.955zm.795 0l-.954.954a.784.784 0 010-1.114l.954.955.955.954a1.916 1.916 0 000-2.704l-.955.955zm0 .795l-.954-.955-3.15 3.15.954.955.955.954 3.15-3.15-.955-.954zm-3.15 3.15l-.954-.955a.795.795 0 01.621-.225l-.117 1.345-.117 1.345c.58.05 1.127-.161 1.522-.556l-.955-.954zm-.45.165l.122-1.345c.255.023.461.161.58.335l-1.114.762-1.115.762c.314.459.82.777 1.405.83l.122-1.344zm-.412-.248l1.124-.747-.818-1.23-1.124.747-1.124.747.817 1.23 1.125-.747zm-.818-1.23l-.954-.955-1.9
113 1.913.955.955.954.954 1.913-1.912-.955-.955zm-1.912 1.913l-.955-.955a.794.794 0 01.557-.23v2.7c.481 0 .973-.182 1.352-.56l-.954-.955z",fill:"#34C759",mask:"url(#growing-icon_svg__a)"})),l||(l=a.createElement("path",{d:"M12.375 9.188a.567.567 0 01-.563-.563v-.938h-.937a.567.567 0 01-.563-.562c0-.308.256-.563.563-.563h1.5c.307 0 .563.255.563.563v1.5a.567.567 0 01-.563.563z",fill:"#34C759"})),o||(o=a.createElement("path",{d:"M11.25 17.063h-4.5c-4.072 0-5.813-1.74-5.813-5.813v-4.5C.938 2.678 2.678.937 6.75.937h4.5c4.072 0 5.813 1.74 5.813 5.813v4.5c0 4.072-1.74 5.813-5.813 5.813zm-4.5-15c-3.458 0-4.688 1.23-4.688 4.687v4.5c0 3.457 1.23 4.688 4.688 4.688h4.5c3.457 0 4.688-1.23 4.688-4.688v-4.5c0-3.458-1.23-4.688-4.688-4.688h-4.5z",fill:"#34C759"})))}},71575:function(e,t,n){"use strict";var i,r,l,o=n(67294),a=["title","titleId"];function d(){return(d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(null,arguments)}t.Z=function(e){var t=e.title,n=e.titleId,s=function(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n={};for(var i in e)if(({}).hasOwnProperty.call(e,i)){if(t.includes(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(i=0;i<l.length;i++)n=l[i],t.includes(n)||({}).propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,a);return o.createElement("svg",d({width:51,height:51,viewBox:"0 0 51 51",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n},s),t?o.createElement("title",{id:n},t):null,i||(i=o.createElement("g",{filter:"url(#playVideo_svg__filter0_b_6042_159675)"},o.createElement("rect",{x:.682,y:.358,width:50,height:50,rx:25,fill:"#2B2B2B",fillOpacity:.1}))),r||(r=o.createElement("path",{d:"M20.682 32.546c0 .798.87 1.29 1.553.88l11.981-7.189a1.026 1.026 0 000-1.759l-11.98-7.188a1.026 1.026 0 00-1.554.88v14.376z",fill:"#fff"})),l||(l=o.createElement("defs",null,o.createElement("filter",{id:"playVideo_svg__filter0_b_6042_159675",x:-9.575,y:-9.898,width:70.513,height:70.513,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},o.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),o.createElement("feGaussianBlur",{in:"BackgroundImageFix",stdDeviation:5.128}),o.createElement("feComposite",{in2:"SourceAlpha",operator:"in",result:"effect1_backgroundBlur_6042_159675"}),o.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_backgroundBlur_6042_159675",result:"shape"})))))}},76190:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/market/dashboard/crypto",function(){return n(43613)}])},43613:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return Z},default:function(){return U}});var i=n(85893),r=n(28677),l=n(69441),o=n(42377),a=n(67294),d=n(64),s=n(69126),c=n(11847),u=n(9615),p=n(76181),f=n(12636),h=n(48458),m=n(11787),x=n(81744);let g=e=>[{name:e("crypto.screener.name"),description:e("crypto.screener.description"),link:m.ns.screener.replace("[instrumentType]","crypto"),image:"/dashboard/screenerImg.png",style:{width:"133px",height:"133px",aspectRatio:"1/1",right:"0px",bottom:"0px",borderRadius:"0px"}},{name:e("crypto.calculator.name"),description:e("crypto.calculator.description"),link:"",image:"/dashboard/calculatorImg.png",comingSoon:!0,style:{width:"133px",height:"133px",aspectRatio:"1/1",right:"0px",bottom:"0px",borderRadius:"0px"}},{name:e("crypto.telegram.name"),description:e("crypto.telegram.description"),link:"https://telegram.me/investiruy_ru",isTelegramLink:!0,image:"/dashboard/cryptoImg.png",style:{width:"125px",height:"125px",aspectRatio:"1/1",right:"0px",bottom:"0px",borderRadius:"0px"}}];var v=n(33535),y=n(38475),b=n(62585),w=n(39424),j=n(13675),C=n(54335);let k=C.default.div.withConfig({componentId:"sc-6a12cd4c-0"})(["display:flex;align-items:flex-start;gap:20px;align-self:stretch;margin-bottom:16px;@media (min-width:961px) and (max-width:1080px){flex-direction:column;gap:12px;}@media (max-width:768px){flex-direction:column;gap:12px;}"]),_=(0,C.default)(o.Card).withConfig({componentId:"sc-6a12cd4c-1"})(["display:flex;width:100%;padding:16px;flex-direction:column;align-items:flex-start;gap:8px;position:relative;align-self:stretch;margin-bottom:0;border-radius:24px;@media (max-width:600px){max-width:100%;}"]),I=C.default.div.withConfig({componentId:"sc-6a12cd4c-2"})(["display:flex;align-items:flex-start;gap:10px;align-self:stretch;"]),S=C.default.div.withConfig({componentId:"sc-6a12cd4c-3"})(["display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:6px;flex:1 0 0;h4{color:",";}svg{path{fill:",";}}"],e=>e.theme.text.fourth,e=>e.theme.icons.fourth),T=(0,C.default)(o.WidgetTitle).withConfig({componentId:"sc-6a12cd4c-4"})(["margin-bottom:0;align-items:flex-start;width:100%;h4{font-size:15px;font-weight:500;line-height:20px;}"]);C.default.div.withConfig({componentId:"sc-6a12cd4c-5"})(["display:flex;align-items:flex-start;gap:20px;align-self:stretch;@media (max-width:600px){gap:8px;}"]),C.default.div.withConfig({componentId:"sc-6a12cd4c-6"})(["display:flex;padding-bottom:10px;flex-direction:column;align-items:flex-start;gap:12px;flex:1 0 0;align-self:stretch;"]);let M=C.default.div.withConfig({componentId:"sc-6a12cd4c-7"})(["display:flex;padding:4px 12px 5px 12px;flex-direction:column;justify-content:center;align-items:center;gap:8px;border-radius:100px;background:",";cursor:pointer;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;"],e=>e.theme.background.accentSecondaryTint),F=C.default.div.withConfig({componentId:"sc-6a12cd4c-8"})(["display:flex;align-items:flex-start;gap:8px;align-self:stretch;width:100%;"]),A=C.default.div.withConfig({componentId:"sc-6a12cd4c-9"})(["&&{flex:1;display:flex;min-width:100%;> div:first-child{width:100%;min-width:100%;> div:first-child{width:100%;min-width:100%;> canvas{width:100% !important;height:42px !important;min-width:0 !important;}}}}"]);var O=n(15304),B=n(53407),D=e=>{let{data:t,percentageChange:n,tooltipLabel:r,isForeignSite:l=!1}=e,o=(0,C.useTheme)(),d=(0,a.useMemo)(()=>
1{if(!t||0===t.length)return{};let e=Date.now(),i=t.map((n,i)=>[e-(t.length-i)*36e5,n]),a=Math.min(...t),d=Math.max(...t),s=(d-a)*.15||1,c=null!==n&&n>=0;return{grid:{left:0,right:0,top:5,bottom:5},xAxis:{type:"time",show:!1},yAxis:{type:"value",show:!1,min:a-s,max:d+s},series:[{data:i,type:"line",smooth:!0,symbol:"none",lineStyle:{color:c?o.text.positive:o.text.negative,width:1.3},areaStyle:{color:new O.Q.o(0,0,0,1,[{offset:0,color:(c?"#34C7591A":"#FF3B301A").replace("1A","80")},{offset:1,color:o.background.content+"00"}])}}],tooltip:{trigger:"axis",confine:!0,width:"200px",formatter:e=>{var n,i;let o=t[null!==(i=null===(n=e[0])||void 0===n?void 0:n.dataIndex)&&void 0!==i?i:0];return'\n <div style="font-size:12px; line-height:16px;">\n <div>'.concat(r,": <b>").concat((0,j.u)(o,void 0,l),"</b></div>\n </div>\n ")}}}},[t,n,o,r,l]);return(0,i.jsx)(B.$,{option:d,doResize:!0,style:{height:"42px",width:"100%",minWidth:"auto"}})};let P=e=>{let{widgetKey:t,title:n,data:l,link:d,isPercent:s}=e,{t:c}=(0,r.$G)(x.d.DASHBOARDS_CRYPTO_MINI_WIDGETS),{isForeignSite:u}=(0,o.useLocalization)(),p=c("noData"),f=(0,a.useMemo)(()=>l?Object.keys(l).filter(e=>l[e]&&l[e].length>0):[],[l]),[h,m]=(0,a.useState)(f.length>0?f[0]:"1d"),g=null==l?void 0:l[h],v=null==g?void 0:g[g.length-1],y=(e=>{if(!e||e.length<2)return null;let t=e[e.length-1],n=e[e.length-2];return(t-n)/n*100})(g),b=f.length>1,w=v?(0,j.u)(v,void 0,u):p;return(0,i.jsxs)(_,{children:[(0,i.jsxs)(I,{children:[(0,i.jsxs)(S,{children:[(0,i.jsx)(T,{text:n,link:d}),(0,i.jsxs)(F,{children:[(0,i.jsx)(o.Typography,{variant:"text-Bold",colorName:"primary",children:s?"".concat(w,"%"):"$ ".concat(w)}),null!==y&&(0,i.jsx)(o.Typography,{variant:"text-Bold",colorName:null==y?"primary":y>=0?"positive":"negative",children:null===y?p:"".concat(y>=0?"+":"").concat(y.toFixed(2),"%")})]})]}),b&&(0,i.jsx)(o.Tooltip,{isHover:!0,width:"135px",padding:"10px",targetElement:(0,i.jsx)(M,{onClick:()=>{if(f.length<=1)return;let e=(f.indexOf(h)+1)%f.length;m(f[e])},children:(0,i.jsx)(o.Typography,{variant:"text-Bold",colorName:"accent",children:c("period.".concat(h))})}),children:(0,i.jsx)(o.Typography,{variant:"caption-SemiBold",colorName:"primary",children:c("changePeriod")})})]}),(0,i.jsx)(A,{children:g&&(0,i.jsx)(D,{data:g,percentageChange:y,widgetKey:t,tooltipLabel:c("dominance"===t?"tooltip.bitcoin":"cap"===t?"tooltip.cap":"tooltip.volume"),isForeignSite:u})})]})},E=C.default.div.withConfig({componentId:"sc-663a0891-0"})(["display:flex;align-items:flex-start;gap:20px;align-self:stretch;margin-bottom:16px;"]),z=C.default.div.withConfig({componentId:"sc-663a0891-1"})(["background:#fff;height:120px;max-width:374px;width:100%;border-radius:16px;padding:16px;"]),R=()=>(0,i.jsxs)(E,{children:[(0,i.jsxs)(z,{children:[(0,i.jsx)(o.Skeleton,{height:24,maxWidth:250,bottom:10,radius:100}),(0,i.jsx)(o.Skeleton,{height:24,maxWidth:170,bottom:10,radius:100}),(0,i.jsx)(o.Skeleton,{height:24,maxWidth:70,bottom:10,radius:100})]}),(0,i.jsxs)(z,{children:[(0,i.jsx)(o.Skeleton,{height:24,maxWidth:250,bottom:10,radius:100}),(0,i.jsx)(o.Skeleton,{height:24,maxWidth:170,bottom:10,radius:100}),(0,i.jsx)(o.Skeleton,{height:24,maxWidth:70,bottom:10,radius:100})]}),(0,i.jsxs)(z,{children:[(0,i.jsx)(o.Skeleton,{height:24,maxWidth:250,bottom:10,radius:100}),(0,i.jsx)(o.Skeleton,{height:24,maxWidth:170,bottom:10,radius:100}),(0,i.jsx)(o.Skeleton,{height:24,maxWidth:70,bottom:10,radius:100})]})]}),L=e=>{let{isLoading:t,widgetData:n}=e,l=(0,o.useMediaQuery)(o.breakpoint.down(960)),a=(0,o.useMediaQuery)(o.breakpoint.down(768)),{t:d}=(0,r.$G)(x.d.DASHBOARDS_CRYPTO_MINI_WIDGETS),{isForeignSite:s}=(0,o.useLocalization)();return t?(0,i.jsx)(R,{}):n?(0,i.jsxs)(k,{children:[(0,i.jsx)(P,{widgetKey:"cap",title:d(l&&!a?"capShort":"capLong"),data:null==n?void 0:n.cap_crypto,link:m.ns.dashboards.cryptoCapitalization}),(0,i.jsx)(P,{widgetKey:"volume",title:d("volume"),data:null==n?void 0:n.volume_crypto}),(0,i.jsx)(P,{widgetKey:"dominance",title:d("dominance"),data:null==n?void 0:n.domination_btc,link:m.ns.dashboards.cryproDominance,isPercent:!0})]}):void 0};var N=n(39514),q=n(57678),W=n(25246);let $=()=>{let{currentDashboard:e}=(0,a.useContext)(l.a),{t}=(0,r.$G)(x.d.DASHBOARD),{isForeignSite:n}=(0,o.useLocalization)(),{t:j}=(0,r.$G)(x.d.COMMON),{t:C}=(0,r.$G)(x.d.DASHBOARDS_TELEGRAM_WIDGET),k=(0,a.useMemo)(()=>g(C),[C]),{data:_,isLoading:I}=(0,W.l)({types:["cap_crypto","volume_crypto","domination_btc","big_holders","index10","top100","crypto_airdrop","crypto_ipo","crypto_mood","alt_season"]});return(0,i.jsxs)("div",{children:[(0,i.jsx)(c.w,{name:t("cryptoReview"),description:t("cryptoDashboardText")}),!n&&(0,i.jsx)(o.Banner,{rootStyles:{marginBottom:16},bannerCode:m.Cc.dashboard_crypto}),(0,i.jsx)(L,{widgetData:_,isLoading:I}),(0,i.jsx)(w.CryptoMarketReview,{}
1),(0,i.jsx)(p.default,{alt_season:null==_?void 0:_.alt_season,crypto_mood:null==_?void 0:_.crypto_mood}),(0,i.jsx)(f.LeadersWidget,{defaultCountry:h.fY.crypto.defaultCountry,hintCode:"dashbord_crypto_leaders_growth&decline",url:h.fY.crypto.urlFullPage}),(0,i.jsxs)(v.V,{children:[(0,i.jsx)(N.CryptoTenIndex,{widgetData:null==_?void 0:_.index10,isLoading:I}),(0,i.jsx)(y.CryptoBigHolders,{widgetData:null==_?void 0:_.big_holders,isLoading:I})]}),(0,i.jsx)(u.Selections,{name:j("selections_crypto"),dashboard:e,hintCode:"dashboard_USAstock_podborki"}),(0,i.jsx)(q.CryptoTopHundred,{widgetData:null==_?void 0:_.top100,isLoading:I}),(0,i.jsx)(b.CryptoHeatMap,{title:t("heat_map.crypto_title"),titleLink:m.ns.heatmap+"?tab=crypto",selectedIndex:"CRYPTO"}),(0,i.jsx)(d.Jf,{widgets:k}),(0,i.jsx)(d.Sq,{name:t("news.crypto"),hintCode:"dashbord_news",dashboard:e,splitNewsBlock:!0,hideFilter:!0}),!n&&(0,i.jsx)(s.N,{code:"crypto"})]})};var G=n(95294);let H=()=>{let{t:e}=(0,r.$G)(x.d.DASHBOARD);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(G.j,{title:e("meta.crypto.title"),description:e("meta.crypto.description")}),(0,i.jsx)($,{})]})};H.getLayout=function(e){return(0,i.jsx)(l.Z,{children:e})};var Z=!0,U=H},33084:function(e,t,n){"use strict";n.d(t,{M:function(){return u}});var i=n(85893),r=n(37252),l=n(13891),o=n(11163),a=n(67294),d=n(11787),s=n(34265);let c=[d.ns.screener,...Object.values(d.ns.portfolios.public),...Object.values(d.ns.portfolios.private),...Object.values(d.ns.method.private),"/method/screener/[instrumentType]","/method/screener/[instrumentType]/ai",d.ns.screenerAi,...Object.values(d.ns.idv.investSimulator),"/idv/search-investments/[instrumentType]"];function u(e,t,n,u,p){return function(f){var h,m;let x=(0,o.useRouter)(),g=(0,l.CG)(r.Wu),v=(null==g?void 0:null===(h=g.rights)||void 0===h?void 0:h.ext)===1,y=(null==g?void 0:null===(m=g.rights)||void 0===m?void 0:m.std)===1,b=null==g?void 0:g.authorized,w=y&&c.includes(x.pathname),j=0===e||1===e&&b||2===e&&b&&v||w;return(u&&(j=!j),(0,a.useEffect)(()=>{(()=>{if(g&&!j){let e=(p?(0,s.Fl)(x.query.redirect):void 0)||(u||n!==d.ns.login.login?n:(0,s.Nv)(n,x.asPath));u||n!==d.ns.login.login||(0,s.bg)(x.asPath),x.replace(e)}})()},[f,j,g,x]),g&&j&&t)?(0,i.jsx)(t,{...f}):null}}},4237:function(e,t,n){"use strict";n.d(t,{VX:function(){return c},F:function(){return S},wo:function(){return _},sr:function(){return D},L0:function(){return f},Vm:function(){return Z},bq:function(){return z},DR:function(){return $},nF:function(){return G},aE:function(){return q},Yw:function(){return b},O:function(){return w},fw:function(){return C},T6:function(){return m},qp:function(){return H},gh:function(){return k},AM:function(){return O},zf:function(){return x},yN:function(){return N},qC:function(){return u},hm:function(){return g},Ex:function(){return R},cj:function(){return P},B7:function(){return M},eI:function(){return B},o9:function(){return p},wP:function(){return v},nB:function(){return F},uS:function(){return I},UO:function(){return y}});var i=n(82003),r=n(84898),l=n(29393);let o=e=>"object"==typeof e&&null!==e,a=e=>{if(!o(e))return null;let t="string"==typeof e.tiker&&e.tiker||"string"==typeof e.ticker&&e.ticker||null,n="string"==typeof e.code&&e.code?e.code:null;if(!t&&!n)return null;let i=e.price,r="number"==typeof i?i:"string"==typeof i&&""!==i?Number(i):null;return{tiker:t,code:n,name:"string"==typeof e.name&&e.name||"string"==typeof e.description&&e.description||null,description:"string"==typeof e.description&&e.description?e.description:null,maturity_date:"string"==typeof e.maturity_date?e.maturity_date:null,price:null==r||Number.isNaN(r)?null:r}},d=e=>(Array.isArray(e)?e:o(e)&&Array.isArray(e.data)?e.data:[]).map(a).filter(e=>null!==e);var s=n(22063);let c=r.M.injectEndpoints({endpoints:e=>({getInstrument:e.query({query:e=>({url:"/company",params:{code:e.code},ssrToken:e.ssrToken}),serializeQueryArgs:e=>{let{queryArgs:t}=e,n={...t};return n.ssrToken&&delete n.ssrToken,n},transformResponse:e=>(0,s.S)((0,s.w)(e))}),getBondInfoBySecid:e.query({query:e=>{let{slug:t,ssrToken:n}=e;return{url:"/screener/getBondInfoBySecid/".concat(encodeURIComponent(t)),ssrToken:n}},serializeQueryArgs:e=>{let{queryArgs:t}=e,{slug:n}=t;return{slug:n}}}),getReport:e.query({query:e=>({url:"/report",params:e})}),getCompanyEarnings:e.query({query:e=>({url:"/backend-node/earnings/".concat(e.companyId)}),transformResponse:e=>{let{data:t}=e;return t},providesTags:[l.hB]}),getInstrumentEvaluation:e.query({query:e=>({url:"/price_prediction/full",params:{instrument_id:e.instrumentId}})}),getInstrumentDividends:e.query({query:e=>({url:"/dividend/instrument",params:{instrument_id:e.instrumentId}}),transformResponse:e=>{let{data:t}=e;return t}}),getLegendInfo:e.query({query:e=>({url:"/report/legend",params:e})}),getSavedFiltersJSON:e.query({query:e=>({url:"/backend-node/filters",params:e}),transformResponse:e=>{let{data:t}=e;return(null==t?void 0:t.fields)?JSON.parse(null==t?void 0:t.fields):{}},providesTags:[l.nR]}),setSavedFiltersJSON:e.mutation({query:e=>({url:"/backend-node/filters",data:e,method:"POST"}),async onQueryStarted(e,t){let{fields:n,key:i}=e,{dispatch:r,queryFulfilled:l}=t,o=r(c.util.updateQueryData("getSavedFiltersJSON",{key:i},()=>JSON.parse(n||"")));try{await l}catch(e){o.undo()}}}),getForecastTableData:e.query({query:e=>({url:"/estimate/".concat(e.assetId)}),transformResponse:e=>{let{data:t}=e;return t}}),getForecastChartData:e.query({query:e=>({url:"/estimate/graph/".concat(e.assetId)}),transformResponse:e=>{let{data:t}=e;return t}}),getCandles:e.query({query:e=>({url:"/backend-node/getCandles",params:e}),transformResponse:e=>{let{data:t}=e;return t}}),getHistoryCandlesTable:e.query({query:e=>({url:"/backend-node/getHistoryCandlesTable",params:e}),transformResponse:e=>{let{data:t}=e;return t}}),getInstrumentPriceAlerts:e.query({query:e=>({url:"/alerts",params:e,baseURL:i.e.priceAlertApi}),transformResponse:e=>e.alerts}),addPriceAlert:e.mutation({query:e=>({url:"/alerts",data:e,method:"POST",baseURL:i.e.priceAlertApi}),async onQueryStarted(e,t){let{alert_price:n,comment:i,instrument_id:r}=e,{dispatch:l,queryFulfilled:o}=t,{data:a}=await o;l(c.util.updateQueryData("getInstrumentPriceAlerts",{instrument_id:r},e=>{let t={alert_price:Number(n),comment:i,id:a.alert_id};return(null==e?void 0:e.length)?(e.push(t),e):[t]}))}}),editPriceAlert:e.mutation({query:e=>({url:"/alerts/".concat(e.alertId,"/comment"),data:{comment:e.comment},method:"POST",baseURL:i.e.priceAlertApi}
1),async onQueryStarted(e,t){let{comment:n,alertId:i,instrument_id:r}=e,{dispatch:l,queryFulfilled:o}=t,a=l(c.util.updateQueryData("getInstrumentPriceAlerts",{instrument_id:r},e=>e.map(e=>e.id===i?{...e,comment:n}:e)));try{await o}catch(e){a.undo()}}}),removePriceAlert:e.mutation({query:e=>({url:"/alerts/".concat(e.alertId),data:e,method:"DELETE",baseURL:i.e.priceAlertApi}),async onQueryStarted(e,t){let{alertId:n,instrument_id:i}=e,{dispatch:r,queryFulfilled:l}=t,o=r(c.util.updateQueryData("getInstrumentPriceAlerts",{instrument_id:i},e=>e.filter(e=>e.id!==n)));try{await l}catch(e){o.undo()}}}),getInstrumentCompareData:e.query({query:e=>({url:"/backend-node/compare",params:e})}),getFundamentCompare:e.query({query:e=>({url:"/quotes/getFundamental",method:"POST",data:e})}),getVisitingInfo:e.query({query:e=>({url:"/user_company",params:e})}),getCryptoInfo:e.query({query:e=>({url:"/quotes/cryptoInfo/".concat(e.instrumentId)})}),getCryptoMood:e.query({query:()=>({url:"/markets/getCryptoMood",method:"POST"})}),getQualityInfo:e.query({query:e=>({url:"report/quality",params:e})}),getEtfComposition:e.query({query:e=>({url:"/screener/getFundComposition",data:e,method:"POST"}),providesTags:[l._y]}),getCurrencyPairs:e.query({query:e=>({url:"quotes/currencyPairs",params:e,method:"GET"}),providesTags:[l._y]}),getDfaDocs:e.query({query:e=>({url:"/company/dfa_docs",params:{instrument_id:e.instrumentId}})}),getInstrumentIndexSets:e.query({query:()=>({url:"/web/instrument/index-sets"}),transformResponse:e=>{var t;return Array.isArray(e)?e:null!==(t=null==e?void 0:e.data)&&void 0!==t?t:[]}}),getCompanyFutures:e.query({query:e=>{let{companyId:t,closed:n}=e;return{url:"/company/futures",params:{company_id:t,...n?{closed:1}:{}}}},transformResponse:e=>d(e)})})}),{useGetReportQuery:u,useLazyGetReportQuery:p,useGetCompanyEarningsQuery:f,useGetInstrumentEvaluationQuery:h,useGetInstrumentDividendsQuery:m,useGetLegendInfoQuery:x,useGetSavedFiltersJSONQuery:g,useLazyGetSavedFiltersJSONQuery:v,useSetSavedFiltersJSONMutation:y,useGetForecastChartDataQuery:b,useGetForecastTableDataQuery:w,useGetCandlesQuery:j,useGetHistoryCandlesTableQuery:C,useGetInstrumentPriceAlertsQuery:k,useEditPriceAlertMutation:_,useRemovePriceAlertMutation:I,useAddPriceAlertMutation:S,useGetInstrumentCompareDataQuery:T,useLazyGetInstrumentCompareDataQuery:M,usePrefetch:F,useGetFundamentCompareQuery:A,useGetInstrumentQuery:O,useLazyGetInstrumentQuery:B,useGetBondInfoBySecidQuery:D,useLazyGetBondInfoBySecidQuery:P,util:{getRunningQueriesThunk:E},useGetCryptoInfoQuery:z,useGetVisitingInfoQuery:R,useLazyGetQualityInfoQuery:L,useGetQualityInfoQuery:N,useGetEtfCompositionQuery:q,useGetCryptoMoodQuery:W,useGetCurrencyPairsQuery:$,useGetDfaDocsQuery:G,useGetInstrumentIndexSetsQuery:H,useGetCompanyFuturesQuery:Z}=c,{getInstrument:U,getBondInfoBySecid:Y}=c.endpoints},5349:function(e,t,n){"use strict";n.d(t,{c:function(){return a}});var i=n(85893),r=n(42377);n(67294);var l=n(54335);let o=l.default.div.withConfig({componentId:"sc-255f032c-0"})(["position:absolute;top:50%;transform:translateY(-50%);left:32px;z-index:10;",";"],e=>{let{isRight:t}=e;return t&&(0,l.css)(["left:auto;right:32px;"])}),a=e=>{let{prevBtnDisabled:t,nextBtnDisabled:n,onPrevButtonClick:l,onNextButtonClick:a}=e;return(0,r.useMediaQuery)(r.breakpoint.down(600))?null:(0,i.jsxs)(i.Fragment,{children:[!t&&(0,i.jsx)(o,{className:"arrow-left",children:(0,i.jsx)(r.ArrowButton,{size:"L",onClick:l})}),!n&&(0,i.jsx)(o,{isRight:!0,className:"arrow-right",children:(0,i.jsx)(r.ArrowButton,{direction:"right",size:"L",onClick:a})})]})}},9980:function(e,t,n){"use strict";n.d(t,{$_:function(){return w},Ee:function(){return x},HF:function(){return j},JO:function(){return u},PR:function(){return b},Qf:function(){return f},VY:function(){return g},d8:function(){return m},eQ:function(){return y},hh:function(){return s},kS:function(){return p},mJ:function(){return h},o5:function(){return a},oB:function(){return c},zC:function(){return v},zx:function(){return d}});var i=n(42377),r=n(54335),l=n(71575),o=n(34265);let a=r.default.div.withConfig({componentId:"sc-3ebdcd9f-0"})(["min-width:352px;@media (max-width:960px){&:first-of-type{margin-left:18px;}&:last-of-type{margin-right:18px;}max-width:calc(100% - 36px);}"]),d=r.default.div.withConfig({componentId:"sc-3ebdcd9f-1"}
1)(["height:100%;max-width:352px;"]),s=(0,r.default)(i.Card).withConfig({componentId:"sc-3ebdcd9f-2"})(["height:100%;padding:12px 16px 16px;border-radius:20px;position:relative;display:flex;flex-direction:column;align-items:center;gap:12px;margin:0;box-shadow:none;&:hover{box-shadow:none;}"]),c=(0,r.default)("div").withConfig({componentId:"sc-3ebdcd9f-3"})(["width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;"]),u=(0,r.default)("div").withConfig({componentId:"sc-3ebdcd9f-4"})(["width:36px;height:36px;border-radius:36px;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;&::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background:",";opacity:0.4;border-radius:36px;z-index:1;}> *{position:relative;z-index:2;}"],e=>{let{color:t}=e;return t}),p=(0,r.default)("div").withConfig({componentId:"sc-3ebdcd9f-5"})(["display:flex;flex-direction:column;justify-content:center;align-items:flex-start;flex:1 0 0;"]),f=r.default.div.withConfig({componentId:"sc-3ebdcd9f-6"})(["display:flex;align-items:center;"]),h=r.default.span.withConfig({componentId:"sc-3ebdcd9f-7"})(["margin:0 6px;color:",";font-size:12px;line-height:16px;"],e=>{let{theme:t}=e;return t.text.fourth}),m=(0,r.default)(l.Z).withConfig({componentId:"sc-3ebdcd9f-8"})(["position:absolute;top:50%;left:50%;z-index:5;width:40px;height:40px;transform:translate(-50%,-50%);background:",";backdrop-filter:blur(5.128204822540283px);border-radius:50%;"],e=>e.theme.other.gray),x=(0,r.default)("div").withConfig({componentId:"sc-3ebdcd9f-9"})(["height:157px;background-image:",";background-size:cover;background-position:bottom;border-radius:16px;width:100%;flex-shrink:0;position:relative;"],e=>{let{cardImage:t,cardUrl:n}=e;return"url(".concat((0,o.zo)(n||String(t),"_"),")")}),g=(0,r.default)("div").withConfig({componentId:"sc-3ebdcd9f-10"})(["height:100%;width:100%;display:flex;flex-direction:column;justify-content:space-between;gap:6px;"]),v=(0,r.default)("div").withConfig({componentId:"sc-3ebdcd9f-11"})(["display:flex;flex-direction:column;gap:6px;"]),y=(0,r.default)(i.Typography).withConfig({componentId:"sc-3ebdcd9f-12"})(["-webkit-line-clamp:",";display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;"],e=>{let{lines:t}=e;return t}),b=(0,r.default)(i.TextButton).withConfig({componentId:"sc-3ebdcd9f-13"})(["span{font-size:14px;font-weight:400;line-height:18px;}"]),w=(0,r.default)("div").withConfig({componentId:"sc-3ebdcd9f-14"})(["display:flex;align-items:center;justify-content:space-between;gap:4px;margin-top:12px;"]),j=(0,r.default)("div").withConfig({componentId:"sc-3ebdcd9f-15"})(["display:flex;align-items:center;gap:8px;"])},3500:function(e,t,n){"use strict";n.d(t,{l:function(){return h}});var i=n(85893),r=n(28677),l=n(11163),o=n(42377),a=n(67294),d=n(10040),s=n(29396),c=n(11787),u=n(86671),p=n(81744),f=n(9980);let h=e=>{var t;let{news:n,clubMenuData:h}=e,[m,x]=(0,a.useState)(!0),[g,v]=(0,a.useState)(!1),{hasAccess:y}=(0,s.eS)(),{t:b}=(0,r.$G)(p.d.CLUB),{push:w}=(0,l.useRouter)(),j=Array.isArray(n.linked_news)&&n.linked_news.length>0,C=(0,a.useMemo)(()=>{for(let e of n.tags){let t=h.find(t=>t.news_section_id===e);if(t)return{name:t.name,extra_icon:t.extra_icon,code:t.code,color:t.color}}return{name:null,extra_icon:null,code:null,color:null}},[n,h]),k=null==n?void 0:null===(t=n.txt)||void 0===t?void 0:t.find(e=>"video_k"===e.type),_=(0,a.useRef)(null);(0,a.useEffect)(()=>{if(_.current){let e=parseFloat(getComputedStyle(_.current).lineHeight);x(_.current.offsetHeight<=e)}},[null==n?void 0:n.title]);let I=(0,a.useMemo)(()=>m?3:2,[m]),S=(0,u.X2)()(n.date_utc||n.date),T=()=>{w({pathname:c.ns.club.updateDetails,query:{updatesSectionCode:C.code,updateId:null==n?void 0:n.news_id}})},{dataNews:M,handleFav:F,handleLike:A}=(0,u.pJ)(n,!0,null==n?void 0:n.news_id),{count_like:O,count_seens:B,is_like:D,is_fav:P,comment_count:E}=M||{},z=e=>{e.stopPropagation(),w({pathname:c.ns.club.updatesSection,query:{updatesSectionCode:C.code}})};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(f.zx,{onClick:T,children:(0,i.jsxs)(f.hh,{isHover:!0,children:[(0,i.jsxs)(f.oB,{onClick:e=>z(e),children:[(0,i.jsx)(f.JO,{color:C.color,children:(0,i.jsx)(o.Avatar,{link:C.extra_icon,size:"36px"})}),(0,i.jsxs)(f.kS,{children:[(0,i.jsx)(o.Typography,{variant:"description-SemiBold",colorName:"primary",children:C.name}),(0,i.jsxs)(f.Qf,{children:[j&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o.Typography,{variant:"caption-Medium",colorName:"fourth",tag:"span",children:b("home.new_publications.podcast_label")}
1),(0,i.jsx)(f.mJ,{"aria-hidden":!0,children:"â¢"})]}),(0,i.jsx)(o.Typography,{variant:"caption-Medium",colorName:"fourth",tag:"span",children:S})]})]}),(0,i.jsx)(o.FavouriteButton,{isActive:P,handleFav:F})]}),(0,i.jsx)(f.Ee,{cardImage:null==n?void 0:n.photo,cardUrl:null==n?void 0:n.photo_url,children:!!k&&(0,i.jsx)(f.d8,{})}),(0,i.jsxs)(f.VY,{children:[(0,i.jsxs)(f.zC,{children:[(0,i.jsx)("div",{ref:_,children:(0,i.jsx)(o.HiddenText,{lines:2,mode:"multiline",children:(0,i.jsx)(o.Typography,{variant:"header6-SemiBold",colorName:"primary",children:null==n?void 0:n.title})})}),(0,i.jsxs)("div",{children:[(0,i.jsx)(f.eQ,{variant:"description-Regular",colorName:"fourth",lines:I,children:null==n?void 0:n.short_txt}),(null==n?void 0:n.short_txt)&&(0,i.jsx)(f.PR,{text:"ÐодÑобнее",onClick:T})]})]}),(0,i.jsxs)(f.$_,{children:[(0,i.jsxs)(f.HF,{children:[(0,i.jsx)(o.Like,{type:"content",isActive:D,amount:O,onClick:e=>{e.stopPropagation(),A()}}),(0,i.jsx)(o.Comment,{type:"content",amount:E||0,onClick:e=>{e.stopPropagation(),y?w({pathname:c.ns.club.updateDetails,query:{updatesSectionCode:C.code,updateId:null==n?void 0:n.news_id,commentClicked:!0}}):v(!0)}})]}),(0,i.jsx)(o.Views,{amount:B,isViewed:!1})]})]})]})}),g&&(0,i.jsx)(d._,{isOpen:g,handleClose:()=>v(!1)})]})}},7640:function(e,t,n){"use strict";n.d(t,{h:function(){return o}});var i=n(85893),r=n(42377);n(67294);let l=n(54335).default.div.withConfig({componentId:"sc-269a86f3-0"})(["display:flex;align-items:center;gap:20px;max-width:100%;overflow:hidden;& > div{min-width:297px;}@media (max-width:960px){& > div{&:first-of-type{margin-left:18px;}}}"]),o=()=>(0,i.jsxs)(l,{children:[(0,i.jsx)(r.Skeleton,{height:390,bottom:0,radius:20,maxWidth:297}),(0,i.jsx)(r.Skeleton,{height:390,bottom:0,radius:20,maxWidth:297}),(0,i.jsx)(r.Skeleton,{height:390,bottom:0,radius:20,maxWidth:297}),(0,i.jsx)(r.Skeleton,{height:390,bottom:0,radius:20,maxWidth:297})]})},21122:function(e,t,n){"use strict";n.d(t,{V:function(){return f}});var i,r=n(85893),l=n(42377),o=n(67294),a=["title","titleId"];function d(){return(d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(null,arguments)}var s=function(e){var t=e.title,n=e.titleId,r=function(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n={};for(var i in e)if(({}).hasOwnProperty.call(e,i)){if(t.includes(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(i=0;i<l.length;i++)n=l[i],t.includes(n)||({}).propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,a);return o.createElement("svg",d({width:68,height:68,viewBox:"0 0 68 68",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n},r),t?o.createElement("title",{id:n},t):null,i||(i=o.createElement("g",{stroke:"#fff",strokeWidth:3,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"},o.createElement("path",{d:"M40.885 16.805l17.198 17.198-17.198 17.198M9.917 34h47.685"}))))},c=n(54335);let u=(0,c.default)("div").withConfig({componentId:"sc-bf9fbfef-0"})(["display:flex;width:170px;flex-direction:column;justify-content:center;align-items:center;gap:20px;align-self:stretch;white-space:nowrap;"]),p=(0,c.default)("button").withConfig({componentId:"sc-bf9fbfef-1"})(["display:flex;width:82px;height:82px;padding:7px;justify-content:center;align-items:center;border-radius:100px;background:",";"],e=>e.theme.interactiveButtons.neutralBackground),f=e=>{let{text:t,onClick:n}=e;return(0,r.jsxs)(u,{onClick:n,children:[(0,r.jsx)(p,{children:(0,r.jsx)(s,{})}),(0,r.jsx)(l.Typography,{variant:"header5-SemiBold",colorName:"primary",children:t})]})}},69126:function(e,t,n){"use strict";n.d(t,{N:function(){return S}});var i=n(85893),r=n(3644),l=n(61670),o=n(28677),a=n(42377),d=n(67294),s=n(5349),c=n(3500),u=n(7640),p=n(21122),f=n(78453),h=n(85500),m=n(11787),x=n(82608),g=n(81744),v=n(34265),y=n(54335);let b=(0,y.css)(["&::after{content:'';position:absolute;top:0;right:-1px;width:399px;height:100%;pointer-events:none;z-index:2;background:",";@media (max-width:600px){display:none;}}"],e=>e.$isLight?"linear-gradient(90deg, rgba(244, 244, 249, 0) 83%, #f4f4f9 100%)":"linear-gradient(90deg, rgba(24, 24, 24, 0.00) 83%, #181818 100%)"),w=(0,y.css)(["&::before{content:'';position:absolute;top:0;left:-1px;width:399px;
1height:100%;pointer-events:none;z-index:2;transform:rotate(180deg);background:",";@media (max-width:600px){display:none;}}"],e=>e.$isLight?"linear-gradient(90deg, rgba(244, 244, 249, 0.00) 83%, #F4F4F9 100%)":"linear-gradient(90deg, rgba(24, 24, 24, 0.00) 83%, #181818 100%)"),j=y.default.div.withConfig({componentId:"sc-4062e9bd-0"})(["width:100%;position:relative;overflow:hidden;"]),C=(0,y.default)(a.WidgetTitle).withConfig({componentId:"sc-4062e9bd-1"})(["@media (max-width:960px){margin-left:18px;margin-right:18px;}"]),k=y.default.div.withConfig({componentId:"sc-4062e9bd-2"})(["overflow:hidden;position:relative;"," ",""],e=>{let{$hasShade:t}=e;return t&&b},e=>{let{$hasShadeLeft:t}=e;return t&&w}),_=y.default.div.withConfig({componentId:"sc-4062e9bd-3"})(["display:flex;gap:20px;@media (max-width:600px){gap:8px;}"]),I=y.default.div.withConfig({componentId:"sc-4062e9bd-4"})(["min-width:352px;@media (max-width:960px){&:first-of-type{margin-left:18px;}&:last-of-type{margin-right:18px;}max-width:calc(100% - 36px);}"]),S=e=>{let{code:t,combinedSectionCodes:n}=e,{t:y}=(0,o.$G)(g.d.DASHBOARD),{data:b,isLoading:w}=(0,f.sA)({},{skip:m.wD}),S=(0,d.useMemo)(()=>{var e,i;if(!(null==b?void 0:null===(e=b.data)||void 0===e?void 0:e.length))return null;if(null==n?void 0:n.length){let e=n.map(e=>{var t;return null===(t=b.data.find(t=>t.code===e))||void 0===t?void 0:t.news_section_id}).filter(e=>null!=e);return e.length?e.join(","):null}let r=b.data.find(e=>e.code===t);return(null==r?void 0:null===(i=r.news_section_id)||void 0===i?void 0:i.toString())||null},[null==b?void 0:b.data,t,n]),T=(0,d.useMemo)(()=>(0,v.DD)({date_to:(0,r.Z)(new Date,"yyyy-MM-dd"),operator:"or",mod:"list",q_section:S,limit:9,ustate:0,v:2,full:!0}),[S]),{data:M,isLoading:F}=(0,h.J8)(T,{skip:m.wD||!S}),A=(0,a.useMediaQuery)(a.breakpoint.down(600)),O=(0,a.useMediaQuery)(a.breakpoint.down(960)),{emblaRef:B,prevBtnDisabled:D,nextBtnDisabled:P,onPrevButtonClick:E,onNextButtonClick:z}=(0,x.q)({slidesToScroll:A?1:O?2:3}),{mode:R}=(0,a.useMode)(),L=(0,d.useMemo)(()=>{if(!M)return[];let e=new Date;return null==M?void 0:M.data.filter(t=>(0,l.Z)(new Date(t.date),e))},[M]),N=y("club_materials.title"),q=n?m.ns.club.feed:m.ns.club.updatesSection.replace("[updatesSectionCode]",t),W=n?m.ns.club.feed:"".concat(m.ns.club.updatesSection,"?updatesSectionCode=").concat(t);return m.wD?null:w||F?(0,i.jsxs)(j,{children:[(0,i.jsx)(C,{text:N,link:W}),(0,i.jsx)(u.h,{})]}):(null==L?void 0:L.length)?(0,i.jsxs)(j,{children:[(0,i.jsx)(C,{text:N,link:W}),(0,i.jsx)(s.c,{prevBtnDisabled:D,nextBtnDisabled:P,onPrevButtonClick:E,onNextButtonClick:z}),(0,i.jsx)(k,{ref:B,$hasShade:!P,$hasShadeLeft:!D,$isLight:"light"===R,children:(0,i.jsxs)(_,{children:[L.map((e,t)=>(0,i.jsx)(I,{children:(0,i.jsx)(c.l,{news:e,clubMenuData:null==b?void 0:b.data},null==e?void 0:e.news_id)},t)),(0,i.jsx)(p.V,{text:y("club_materials.view_all"),onClick:()=>window.open(q,"_self")})]})})]}):null}},69441:function(e,t,n){"use strict";n.d(t,{a:function(){return p}});var i=n(85893),r=n(11163),l=n(42377),o=n(67294),a=n(40374),d=n(33519),s=n(33084),c=n(89616),u=n(11787);let p=o.createContext({currentDashboard:null,allDashboardsData:null});t.Z=(0,s.M)(1,e=>{let{children:t}=e,n=(0,r.useRouter)(),o=Object.keys(d.DX).filter(e=>n.pathname.startsWith(e)).sort((e,t)=>t.length-e.length)[0],{currentDashboard:s,allDashboardsData:u}=(0,a.O)(d.DX[o]);return(0,i.jsx)(l.LayoutSideMenuV2,{maxWidthContent:1440,asideContent:(0,i.jsx)(c.Z,{category:"investment",isWithoutBanners:!0}),children:(0,i.jsx)(p.Provider,{value:{currentDashboard:s,allDashboardsData:u},children:(0,i.jsx)("div",{children:t})})})},u.ns.login.login)},49796:function(e,t,n){"use strict";n.d(t,{P:function(){return c}});var i=n(85893),r=n(28677),l=n(42377);n(67294);var o=n(8902),a=n(11787),d=n(81744);let s=n(54335).default.button.withConfig({componentId:"sc-ad5d395f-0"})(["& path{transition:fill 0.3s ",";fill:",";}&:hover{& path{fill:",";}}"],l.AnimationFunctions.animation_1,e=>e.$isActive?e.theme.icons.fourth:e.theme.icons.secondary,e=>e.theme.icons.accent),c=e=>{let{code:t,isActive:n}=e,{t:c}=(0,r.$G)(d.d.DASHBOARD);return(0,i.jsx)(l.Hint,{text:c("actions.more_about_asset"),children:(0,i.jsx)(s,{onClick:e=>{e.stopPropagation(),window.open("".concat(a.ns.instrument.indexPage,"/").concat(t),"_blank")},$isActive:n,children:(0,i.jsx)(o.Z,{})})})}},72330:function(e,t,n){"use strict";n.d(t,{S:function(){return d}});var i=n(85893),r=n(42377);n(67294);var l=n(83675),o=n(11787);let a=n(54335).default.div.withConfig({componentId:"sc-f02fe027-0"})(["width:100%;display:flex;align-items:center;gap:8px;overflow:hidden;text-overflow:ellipsis;"]),d=e=>{let{logo:t,description:n,status:d,withoutLogo:s=!1,code:c,tiker:u}=e;return(0,i.jsxs)(a,{children:[(0,i.jsx)(r.Hint,{text:null==d?void 0:d.label,isClickMobile:!0,children:(0,i.jsx)(l.qb,{style:{background:null==d?void 0:d.boxColor},onClick:e=>e.stopPropagation(),children:(0,i.jsx)("div",{style:{background:null==d?void 0:d.color}})})}),(0,i.jsx)(r.CompanyInfo,{withoutLogo:s,logo:t,firstLine:n,secondLine:u||null,link:c?"".concat(o.ns.instrument.indexPage,"/").concat(c):null})]})}},83675:function(e,t,n){"use strict";n.d(t,{EY:function(){return d},OJ:function(){return o},_I:function(){return a},qb:function(){return l}});var i=n(42377),r=n(54335);let l=r.default.div.withConfig({componentId:"sc-bf530a40-0"})(["min-width:16px;width:16px;height:16px;display:flex;align-items:center;justify-content:center;border-radius:25px;background:",";div{width:6px;height:6px;border-radius:50%;background:",";}"],e=>e.theme.background.positiveTint,e=>e.theme.text.positive),o=r.default.div.withConfig({componentId:"sc-bf530a40-1"})(["display:flex;align-items:center;max-width:100%;overflow:auto;",""],i.NotVisibleScroll),a=r.default.button.withConfig({componentId:"sc-bf530a40-2"})(["min-width:140px;border:none;width:fit-content;min-height:60px;max-height:60px;display:flex;justify-content:space-between;align-items:center;flex:0 0 auto;cursor:pointer;border-radius:16px;padding:4px 8px;margin-right:12px;gap:12px;overflow:hidden;background:",";"],e=>{let{theme:t,$isActive:n}=e;return n?t.interactiveControls.accent:t.background.secondary}),d=r.default.div.withConfig({componentId:"sc-bf530a40-3"})(["display:flex;flex-direction:column;align-items:flex-end;"])},33535:function(e,t,n){"use strict";n.d(t,{V:function(){return i}});let i=n(54335).default.div.withConfig({componentId:"sc-4f8691ac-0"})(["display:flex;align-items:stretch;gap:20px;align-self:stretch;& > *{flex:1 1 0;width:50%;min-width:0;}@media (max-width:1200px){flex-direction:column;gap:4px;& > *{width:100%;min-width:0;}}"])},95650:function(e,t,n){"use strict";n.d(t,{FU:function(){return l},I:function(){return i},M5:function(){return r},MR:function(){return a},l0:function(){return o},wx:function(){return d}});let i=e=>[{title:e("name"),key:"name",hint:"dashboard_USAstock_index",maxWidth:"130px"},{title:e("value"),key:"value",alignment:"right",maxWidth:"80px",width:"80px"},{title:e("dayDynamics"),key:"dynamic",alignment:"right",hint:"dashboard_USAstock_dynamics",maxWidth:"112px",width:"112px"},{title:"",key:"icon",alignment:"center",maxWidth:"48px",width:"48px"}],r=e=>[{key:"company",title:"#\xa0\xa0\xa0".concat(e("table.company")),alignment:"left"},{key:"count",title:e("table.totalBitcoins"),alignment:"right"},{key:"percent",title:e("table.percentOfTotalSupplyBtc"),alignment:"right"}],l=e=>[{key:"company",title:"#\xa0\xa0\xa0".concat(e("table.company")),alignment:"left"},{key:"type",title:e("table.type"),alignment:"left"},{key:"activity",title:e("table.activity30d"),alignment:"right"},{key:"count",title:e("table.totalBitcoins"),alignment:"right"},{key:"price",title:e("table.value"),alignment:"right"},{key:"percent",title:e("table.percentOfTotalSupplyBtc"),alignment:"right"}],o=e=>[{key:"index",title:e("table.indexCoin"),alignment:"left",maxWidth:"208px",width:"208px"},{key:"market_cap",title:e("table.marketCap"),alignment:"right",maxWidth:"170px",width:"170px"},{key:"percent",title:e("table.capPercent"),alignment:"right",maxWidth:"160px",width:"160px"}],a=e=>[{key:"index",title:e("table.indexCoin"),alignment:"left",width:"250px"},{key:"price",title:e("table.currentPrice"),alignment:"right",maxWidth:"170px",width:"170px"},{key:"change_percent",title:e("table.change24h"),alignment:"right",maxWidth:"170px",width:"170px"},{key:"market_cap",title:e("table.marketCap"),alignment:"right",maxWidth:"170px",width:"170px"},{key:"percent",title:e("table.capPercentFull"),alignment:"right",maxWidth:"170px",width:"170px"}
1,{key:"last_week",title:e("table.last7days"),alignment:"right",maxWidth:"170px",width:"170px"}],d=e=>[{key:"name",title:e("table.coin"),alignment:"left",maxWidth:"250px",width:"250px"},{key:"price",title:e("table.currentPrice"),alignment:"right"},{key:"change_percent",title:e("table.change24h"),alignment:"right"},{key:"volume",title:e("table.volume24h"),alignment:"right",width:"160px"},{key:"market_cap",title:e("table.marketCap"),alignment:"right",width:"160px"},{key:"circulation",title:e("table.circulation"),alignment:"right",width:"156px"},{key:"rating",title:e("table.rating"),alignment:"right",width:"174px"}]},38475:function(e,t,n){"use strict";n.r(t),n.d(t,{CryptoBigHolders:function(){return y}});var i=n(85893),r=n(41522),l=n(13891),o=n(28677),a=n(42377);n(67294);var d=n(11787),s=n(81744),c=n(54335);let u=c.default.div.withConfig({componentId:"sc-bda83e34-0"})(["display:flex;justify-content:space-between;margin-bottom:16px;width:fit-content;align-items:center;gap:8px;"]),p=c.default.div.withConfig({componentId:"sc-bda83e34-1"})(["display:flex;align-items:center;gap:8px;p{display:flex;}"]),f=(0,c.default)(a.WidgetTitle).withConfig({componentId:"sc-bda83e34-2"})(["margin-bottom:0;a h4{font-size:18px;font-weight:700;line-height:22px;}"]),h=c.default.div.withConfig({componentId:"sc-bda83e34-3"})(["display:flex;align-items:center;gap:16px;"]);var m=n(95650),x=n(73680);let g=e=>{let{columnKey:t,data:n,index:r}=e;return"company"===t?(0,i.jsxs)(h,{children:[(0,i.jsxs)(a.TCellText,{children:[r+1," "]}),(0,i.jsx)(a.TCellText,{hiddenText:{mode:"multiline",lines:3},children:n.company})]}):"count"===t?(0,i.jsxs)(a.TCellText,{children:[(0,x.j)(n.total_bitcoin,!0,2)," BTC"]}):"percent"===t?(0,i.jsxs)(a.TCellText,{children:[(0,x.j)(n.percent_supply,!0,2),"%"]}):null},v=e=>{let{data:t,isLoading:n}=e,{t:r}=(0,o.$G)(s.d.DASHBOARDS_CRYPTO_BIG_HOLDERS);return(0,i.jsx)(a.Table,{data:t||[],columns:(0,m.M5)(r),loadingAmountRow:10,stickyFirstColumn:!0,isLoading:n,tCellRenderer:e=>{let{rowData:t,columnKey:n,cellRowIndex:r}=e;return(0,i.jsx)(g,{data:t,columnKey:n,index:r})}})},y=e=>{let{widgetData:t,isLoading:n}=e,c=(0,l.CG)(r.ZL),{t:h}=(0,o.$G)(s.d.DASHBOARDS_CRYPTO_BIG_HOLDERS);return(0,i.jsx)(a.Card,{headerCustom:(0,i.jsxs)(u,{children:[(0,i.jsx)(p,{children:(0,i.jsx)(f,{text:h("title"),link:d.ns.dashboards.cryptoBigHolders})}),(0,i.jsx)(a.Popup,{content:c["dashbord_crypto_ bitcoinholders"],isText:!0})]}),children:(0,i.jsx)(v,{data:t,isLoading:n})})}},62585:function(e,t,n){"use strict";n.r(t),n.d(t,{CryptoHeatMap:function(){return y}});var i=n(85893),r=n(41522),l=n(13891),o=n(28677),a=n(42377),d=n(67294),s=n(26159),c=n(98910),u=n(11787),p=n(81744),f=n(54335);let h=f.default.div.withConfig({componentId:"sc-1f86ff3d-0"})(["width:100%;margin-bottom:16px;display:flex;justify-content:space-between;align-self:center;gap:12px;@media (max-width:1120px){flex-direction:column;width:100%;.checkbox-container{order:2;}}"]),m=f.default.div.withConfig({componentId:"sc-1f86ff3d-1"})(["display:flex;width:fit-content;align-items:center;gap:8px;"]),x=(0,f.default)(a.WidgetTitle).withConfig({componentId:"sc-1f86ff3d-2"})(["margin-bottom:0;a h4{font-size:18px;font-weight:700;line-height:22px;}"]),g=f.default.div.withConfig({componentId:"sc-1f86ff3d-3"})(["display:flex;gap:24px;.checkbox-text{white-space:nowrap;}@media (max-width:600px){flex-direction:column-reverse;width:100%;gap:12px;.checkbox-container{order:2;}}"]),v=f.default.div.withConfig({componentId:"sc-1f86ff3d-4"})(["width:100%;height:","px;@media (max-width:625px){margin-bottom:5px;}"],e=>e.$height||419),y=(0,d.memo)(e=>{let{title:t,titleLink:n,selectedIndex:f,height:y}=e,{t:b}=(0,o.$G)(p.d.HEATMAP),w=(0,d.useMemo)(()=>s.zk.map(e=>({...e,label:b("periods_short.".concat(e.value))})),[b]),[j,C]=(0,d.useState)(!1),[k,_]=(0,d.useState)(s.zk[0].value),I=(0,l.CG)(r.ZL);return(0,i.jsxs)(a.Card,{children:[(0,i.jsxs)(h,{children:[(0,i.jsxs)(m,{children:[(0,i.jsx)(x,{text:t,link:n||u.ns.heatmap}),(0,i.jsx)(a.Popup,{content:I.dashbord_crypto_heatmap,isText:!0})]}),(0,i.jsxs)(g,{children:[(0,i.jsx)(a.Checkbox,{text:b("filters.zoom"),value:"zoom",checked:j,onChange:C}),(0,i.jsx)(a.SegmentControl,{options:w,onChange:e=>{e!==k&&_(e)},selectedValue:k,size:"S",type:"content"})]})]}),(0,i.jsx)(v,{$height:y,children:(0,i.jsx)(c.ZP,{filters:{country:f,type:k},isZoomEnabled:j,isSmallText:!0})})]})})},39424:function(e,t,n){"use strict";n.r(t),n.d(t,{CryptoMarketReview:function(){return M}});var i=n(85893),r=n(41522),l=n(13891),o=n(28677),a=n(42377),d=n(67294),s=n(72330),c=n(76300),u=n(81744),p=n(73680),f=n(56827),h=n(83675);let m=e=>{let{data:t,selectCoin:n}=e,{t:r}=(0,o.$G)(u.d.COMMON),l=(0,d.useMemo)(()=>(0,f.Z)(r),[r]);return(0,i.jsx)(h.OJ,{children:t.map(e=>{let t="".concat(e.instrument_id,"_info"),r=e.instrument_id,o="market_status_".concat(e.instrument_id);return(0,i.jsx)(h._I,{$isActive:e.isActive,onClick:()=>n(e.instrument_id),children:(0,i.jsx)(c.ew,{quotes:[t,r,o],children:(t,n)=>{let d=l[t[o]],c=t[r],u=n[r],f=u/(c-u);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.S,{status:d,logo:e.logo}),(0,i.jsxs)(h.EY,{children:[(0,i.jsx)(a.Typography,{variant:"caption-Medium",tag:"span",colorName:"primary",children:e.tiker}),(0,i.jsx)(a.Typography,{variant:"caption2-SemiBold",tag:"span",colorName:"tertiary",children:(0,p.j)(c)}),(0,i.jsxs)(a.Typography,{variant:"caption2-SemiBold",tag:"span",valueNumber:f,children:[(0,p.j)(f,!0,3),"%"]})]})]})}})},e.instrument_id)})})};var x=n(20815),g=n(27227),v=n(11787),y=n(54335);let b=y.default.div.withConfig({componentId:"sc-39602e3-0"})(["display:flex;justify-content:space-between;margin-bottom:16px;"]),w=y.default.div.withConfig({componentId:"sc-39602e3-1"})(["display:flex;align-items:center;gap:8px;p{display:flex;}"]),j=(0,y.default)(a.WidgetTitle).withConfig({componentId:"sc-39602e3-2"})(["margin-bottom:0;a h4{font-size:18px;font-weight:700;line-height:22px;}"]),C=y.default.div.withConfig({componentId:"sc-39602e3-3"})(["display:flex;gap:15px;max-height:500px;& .review-chart{width:100%;height:500px;}@media (max-width:1200px){flex-direction:column;max-height:none;}"]);var k=n(95650),_=n(49796);let I=e=>{let{columnKey:t,data:n}=e,{currentPrice:r,diff:l,status:o}=(0,d.useContext)(S);return"name"===t?(0,i.jsx)(s.S,{logo:n.logo,description:n.description,status:o,tiker:n.tiker}):"value"===t?(0,i.jsx)(a.TCellText,{children:(0,p.j)(r,!0,2)}):"dynamic"===t?(0,i.jsxs)(a.TCellText,{valueNumber:l,children:[(0,p.j)(l,!0,2),"%"]}):"icon"===t?(0,i.jsx)(_.P,{code:n.code,isActive:n.isActive}):null},S=d.createContext({currentPrice:0,diff:0,status:null}),T=d.memo(e=>{let{data:t,selectCoin:n,selectedIndex:r}=e,{t:l}=(0,o.$G)(u.d.COMMON),s=(0,d.useMemo)(()=>(0,f.Z)(l),[l]),p=(0,k.I)(l);return(0,i.jsx)("div",{style:{minWidth:"50%"},children:(0,i.jsx)(a.Table,{tableHeight:500,stickyHeader:!0,isScrollWithButton:!0,columns:p,data:t,onClickRow:e=>{r===e.instrument_id&&window.open("".concat(v.ns.instrument.indexPage,"/").concat(e.code),"_blank"),setTimeout(()=>n(e.instrument_id),0)},onDoubleClickRow:e=>{window.open("".concat(v.ns.instrument.indexPage,"/").concat(e.code),"_blank")},RowWrapper:e=>{let{data:t}=e,n="".concat(t.instrument_id,"_info"),r=t.instrument_id,l="market_status_".concat(t.instrument_id);return(0,i.jsx)(c.ew,{quotes:[n,r,l],children:n=>{let o=n[r],a=s[n[l]],c=(o-t.prices[0])/t.prices[0]*100;return(0,i.jsx)(S.Provider,{value:{currentPrice:o||(null==t?void 0:t.currentPrice),diff:c||(null==t?void 0:t.dynamic),status:a},children:(0,i.jsx)(d.Fragment,{children:e.children})})}})},tCellRenderer:e=>{let{rowData:t,columnKey:n}=e;return(0,i.jsx)(I,{data:t,columnKey:n})}})})}),M=()=>{var e,t;let[n,s]=(0,d.useState)(null),{t:c}=(0,o.$G)(u.d.DASHBOARD),{data:p}=(0,x.KT)({type:"crypto"}),f=(null==p?void 0:null===(t=p[0])||void 0===t?void 0:null===(e=t.instruments)||void 0===e?void 0:e.slice(0,10))||[],h=f.map((e,t)=>({...e,isActive:n?e.instrument_id===n:0===t})),y=(0,l.CG)(r.ZL),{mode:k}=(0,a.useMode)(),{locale:_,isForeignSite:I}=(0,a.useLocalization)(),S=(0,a.useMediaQuery)(a.breakpoint.down(1200)),M=I?"":"".concat(v.ns.screener,"?instrumentType=crypto");return(0,i.jsx)(a.Card,{headerCustom:(0,i.jsx)(b,{children:(0,i.jsxs)(w,{children:[(0,i.jsx)(j,{text:c("cryptoReview"),link:M}),(0,i.jsx)(a.Popup,{content:y.dashboard_crypto,isText:!0})]})}),children:(0,i.jsxs)(C,{children:[S?(0,i.jsx)(m,{selectCoin:s,data:h}):(0,i.jsx)(T,{data:h,selectCoin:s,selectedIndex:n}),(null==f?void 0:f.length)&&(0,i.jsx)(g.q,{symbol:n||f[0].instrument_id,isID:!0,theme:k,className:"review-chart",locale:_})]})})}},39514:function(e,t,n){"use strict";n.r(t),n.d(t,{CryptoTenIndex:function(){return S}});var i=n(85893),r=n(41522),l=n(13891),o=n(28677),a=n(42377),d=n(67294),s=n(11787),c=n(81744),u=n(54335);let p=(0,u.default)(a.Card).withConfig({componentId:"sc-cbd2b591-0"})(["div > table{thead th:first-child{padding-left:33px;min-width:170px;}thead th:nth-child(2){min-width:170px;}thead th:nth-child(3){min-width:160px;}thead tr{&:first-child{padding:0;th:nth-child(3){padding-left:0;}}}tbody tr{td:nth-child(3){padding-left:0;}td:first-child{padding-left:0;}}}"]),f=u.default.div.withConfig({componentId:"sc-cbd2b591-1"})(["display:flex;justify-content:space-between;margin-bottom:16px;width:fit-content;align-items:center;gap:8px;"]),h=u.default.div.withConfig({componentId:"sc-cbd2b591-2"})(["display:flex;align-items:center;gap:8px;p{display:flex;}"]),m=(0,u.default)(a.WidgetTitle).withConfig({componentId:"sc-cbd2b591-3"})(["margin-bottom:0;a h4{font-size:18px;font-weight:700;line-height:22px;}"]);var x=n(95650),g=n(70857),v=n(62686),y=n(88932),b=n(73680);let w=u.default.button.withConfig({componentId:"sc-9d53b3fc-0"})(["display:grid;place-items:center;& path{transition:stroke 0.3s ",";fill:transparent;stroke:",";}& svg{path{","}}&:hover path{stroke:",";}"],a.AnimationFunctions.animation_1,e=>e.theme.icons.tertiary,e=>{let{isActive:t}=e;return t&&(0,u.css)(["fill:",";stroke:",";"],e=>e.theme.icons.warring,e=>e.theme.icons.warring)},e=>e.theme.icons.warring),j=u.default.div.withConfig({componentId:"sc-9d53b3fc-1"})(["display:flex;padding:5.5px 8px 6px 8px;justify-content:space-between;gap:12px;max-width:24px;"]),C=u.default.div.withConfig({componentId:"sc-9d53b3fc-2"})(["display:flex;align-items:center;"]),k=u.default.div.withConfig({componentId:"sc-9d53b3fc-3"})(["display:flex;width:28px;height:24px;justify-content:center;align-items:center;"]),_=e=>{let{columnKey:t,data:n,index:r,t:o,isForeignSite:s}=e,[c,u]=d.useState(null),{allSavedInstruments:p}=(0,l.CG)(e=>e.favorites),f=null==p?void 0:p.includes(null==n?void 0:n.instrumentId),h=(e,t)=>{e.stopPropagation(),e.preventDefault(),u(t)},m=(null==o?void 0:o("favorites.addToFavorites"))||"ÐобавиÑÑ Ð² избÑанное",x=(null==o?void 0:o("favorites.removeFromFavorites"))||"УбÑаÑÑ Ð¸Ð· избÑанного";return"index"===t?(0,i.jsxs)(C,{children:[(0,i.jsxs)(j,{children:[(0,i.jsx)(a.Hint,{text:f?x:m,children:(0,i.jsx)(w,{isActive:f,onClick:e=>h(e,null==n?void 0:n.instrumentId),children:(0,i.jsx)(y.Z,{})})}),(0,i.jsx)(g.Pc,{open:!!c,onClose:()=>u(null),instrumentId:c})]}),(0,i.jsx)(k,{children:(0,i.jsx)(a.TCellText,{children:r+1})}),(0,i.jsx)(a.TCellText,{children:(0,i.jsxs)(v.Z,{href:"/market/instrument/"+n.code,target:"_blank",children:[" ",(0,i.jsx)(a.CompanyInfo,{logo:n.logo,firstLine:n.ticker,secondLine:n.description})]})})]}):"market_cap"===t?(0,i.jsxs)(a.TCellText,{children:[(0,b.j)(n.marketCap,!0,2)," $"]}):"percent"===t?(0,i.jsxs)(a.TCellText,{children:[(0,b.j)(n.percent,!0,2),"%"]}):null},I=e=>
1{let{data:t,isLoading:n,t:o,isForeignSite:s}=e,c=(0,l.CG)(r.ZL),u=(0,d.useMemo)(()=>(0,x.l0)(o),[o]);return(0,i.jsx)(a.Table,{data:t||[],columns:u,isLoading:n,loadingAmountRow:10,stickyFirstColumn:!0,hints:c,tCellRenderer:e=>{let{rowData:t,columnKey:n,cellRowIndex:r}=e;return(0,i.jsx)(_,{data:t,columnKey:n,index:r,t:o,isForeignSite:s})}})},S=e=>{let{widgetData:t,isLoading:n}=e,d=(0,l.CG)(r.ZL),{t:u}=(0,o.$G)(c.d.DASHBOARDS_CRYPTO_TEN_INDEX),{isForeignSite:x}=(0,a.useLocalization)();return(0,i.jsx)(p,{headerCustom:(0,i.jsxs)(f,{children:[(0,i.jsx)(h,{children:(0,i.jsx)(m,{text:u("title"),link:s.ns.dashboards.cryptoIndex})}),(0,i.jsx)(a.Popup,{content:d.dashbord_crypto_indexcrypto10,isText:!0})]}),children:(0,i.jsx)(I,{data:t,isLoading:n,t:u,isForeignSite:x})})}},57678:function(e,t,n){"use strict";n.r(t),n.d(t,{CryptoTopHundred:function(){return x}});var i=n(85893),r=n(41522),l=n(13891),o=n(28677),a=n(42377);n(67294);var d=n(11787),s=n(81744),c=n(51412),u=n(54335);let p=(0,u.default)(a.Card).withConfig({componentId:"sc-18b76c35-0"})(["div > table{thead tr{&:first-child{padding:0;th:nth-child(3){padding-left:0;}}}tbody tr{td:nth-child(3){padding-left:0;}}}"]),f=u.default.div.withConfig({componentId:"sc-18b76c35-1"})(["display:flex;justify-content:space-between;margin-bottom:16px;width:fit-content;align-items:center;gap:8px;"]),h=u.default.div.withConfig({componentId:"sc-18b76c35-2"})(["display:flex;align-items:center;gap:8px;p{display:flex;}"]),m=(0,u.default)(a.WidgetTitle).withConfig({componentId:"sc-18b76c35-3"})(["margin-bottom:0;a h4{font-size:18px;font-weight:700;line-height:22px;}"]),x=e=>{let{widgetData:t,isLoading:n}=e,u=(0,l.CG)(r.ZL),{t:x}=(0,o.$G)(s.d.DASHBOARDS_CRYPTO_TOP_HUNDRED),{isForeignSite:g}=(0,a.useLocalization)();return(0,i.jsx)(p,{headerCustom:(0,i.jsxs)(f,{children:[(0,i.jsx)(h,{children:(0,i.jsx)(m,{text:x("title"),link:d.ns.dashboards.cryptoHundred})}),(0,i.jsx)(a.Popup,{content:u.dashbord_crypto_top100volume,isText:!0})]}),children:(0,i.jsx)(c.I,{data:null==t?void 0:t.slice(0,10),isLoading:n,t:x,isForeignSite:g})})}},51412:function(e,t,n){"use strict";n.d(t,{I:function(){return L}});var i,r,l,o=n(85893),a=n(41522),d=n(13891),s=n(42377),c=n(67294),u=n(95650),p=n(54335),f=n(13675),h=n(70857),m=n(62686),x=n(76300),g=["title","titleId"];function v(){return(v=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(null,arguments)}var y=function(e){var t=e.title,n=e.titleId,l=function(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n={};for(var i in e)if(({}).hasOwnProperty.call(e,i)){if(t.includes(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(i=0;i<l.length;i++)n=l[i],t.includes(n)||({}).propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,g);return c.createElement("svg",v({width:8,height:8,viewBox:"0 0 8 8",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n},l),t?c.createElement("title",{id:n},t):null,i||(i=c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.848 7.828l-.004.004a.502.502 0 01-.694 0L4.266 5.018a.392.392 0 00-.545 0L.837 7.832a.502.502 0 01-.694 0 .473.473 0 010-.677L3.027 4.34a1.396 1.396 0 011.933 0l2.884 2.814a.47.47 0 01.004.673z",fill:"#299E47"})),r||(r=c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.86 3.876l-.004.004a.502.502 0 01-.694 0L4.278 1.066a.392.392 0 00-.545 0L.85 3.88a.502.502 0 01-.694 0 .473.473 0 010-.677L3.039.389a1.396 1.396 0 011.933 0l2.884 2.814a.47.47 0 01.004.673z",fill:"#299E47"})))},b=["title","titleId"];function w(){return(w=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(null,arguments)}var j=function(e){var t=e.title,n=e.titleId,i=function(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n={};for(var i in e)if(({}).hasOwnProperty.call(e,i)){if(t.includes(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(i=0;i<l.length;i++)n=l[i],t.includes(n)||({}).propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,b);return c.createElement("svg",w({width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n},i),t?c.createElement("title",{id:n},t):null,l||(l=c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.873 9.922l-.004.004a.495.495 0 01-.697 0L8.274 7.028a.387.387 0 00-.547 0L4.829 9.926a.495.495 0 01-.697 0 .495.495 0 010-.697L7.03 6.33a1.378 1.378 0 011.941 0l2.898 2.898a.49.49 0 01.004.693z",fill:"#299E47"})))},C=n(88932),k=n(12382),_=n(73680);let I=p.default.button.withConfig({componentId:"sc-6117353e-0"})(["display:grid;place-items:center;& path{transition:stroke 0.3s ",";fill:transparent;stroke:",";}& svg{path{","}}&:hover path{stroke:",";}"],s.AnimationFunctions.animation_1,e=>e.theme.icons.tertiary,e=>{let{isActive:t}=e;return t&&(0,p.css)(["fill:",";stroke:",";"],e=>e.theme.icons.warring,e=>e.theme.icons.warring)},e=>e.theme.icons.warring),S=p.default.div.withConfig({componentId:"sc-6117353e-1"})(["display:flex;justify-content:space-between;gap:12px;"]);(0,p.default)(s.Card).withConfig({componentId:"sc-6117353e-2"})(["table{thead th:first-child{padding-left:33px;min-width:170px;}tbody td:first-child{padding-left:5px;}tbody tr{td:nth-child(n + 4){min-width:120px;}}}"]);let T=p.default.div.withConfig({componentId:"sc-6117353e-3"})(["display:flex;align-items:center;justify-content:flex-start;gap:16px;width:100%;@media (max-width:600px){gap:8px;}"]),M=p.default.div.withConfig({componentId:"sc-6117353e-4"})(["display:flex;padding:4px 4px 4px 8px;justify-content:center;align-items:center;gap:4px;border-radius:6px;background:",";"],e=>{let{$bgColor:t}=e;return t}),F=p.default.div.withConfig({componentId:"sc-6117353e-5"})(["display:flex;align-items:center;justify-content:center;
1"," & svg path{fill:",";}"],e=>{let{$rotate:t}=e;return t&&(0,p.css)(["transform:rotate(180deg);"])},e=>{let{$color:t}=e;return t}),A=p.default.div.withConfig({componentId:"sc-6117353e-6"})(["display:flex;flex-direction:column;justify-content:center;align-items:flex-end;gap:10px;"]),O=p.default.div.withConfig({componentId:"sc-dc7f524f-0"})(["width:132px;height:4px;border-radius:20px;background:",";position:relative;"],e=>e.theme.stroke.tertiary),B=p.default.div.withConfig({componentId:"sc-dc7f524f-1"})(["position:absolute;top:0;left:0;width:",";height:4px;border-radius:20px;background:",";"],e=>{let{$percent:t}=e;return"".concat(t,"%")},e=>e.theme.icons.secondary),D=p.default.div.withConfig({componentId:"sc-dc7f524f-2"})(["width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:8px;align-self:stretch;"]),P=p.default.div.withConfig({componentId:"sc-dc7f524f-3"})(["display:flex;justify-content:space-between;align-items:center;align-self:stretch;"]),E=p.default.div.withConfig({componentId:"sc-dc7f524f-4"})(["width:100%;height:4px;border-radius:20px;background:",";position:relative;margin-bottom:3px;"],e=>e.theme.stroke.tertiary),z=e=>{let{circulatingSupply:t,totalSupply:n,currentCrypto:i,t:r,isForeignSite:l}=e,a=(0,c.useMemo)(()=>t&&n?Number((t/n*100).toFixed(1)):0,[t,n]),d=(null==r?void 0:r("percentLine.percent"))||"ÐÑоÑенÑ",u=(null==r?void 0:r("percentLine.circulatingSupply"))||"ÐбоÑоÑное пÑедложение",p=(null==r?void 0:r("percentLine.maxSupply"))||"ÐакÑ. колиÑеÑÑво";return(0,o.jsx)(s.Tooltip,{width:"260px",borderRadius:"12px",padding:"12px",isHover:!0,showArrow:!1,placement:"bottom-end",targetElement:(0,o.jsx)(O,{children:(0,o.jsx)(B,{$percent:a})}),children:(0,o.jsxs)(D,{children:[(0,o.jsxs)(P,{children:[(0,o.jsx)(s.Typography,{variant:"caption-Medium",colorName:"secondary",children:d}),(0,o.jsxs)(s.Typography,{variant:"description-Medium",colorName:"primary",children:[a,"%"]})]}),(0,o.jsx)(E,{children:(0,o.jsx)(B,{$percent:a})}),(0,o.jsxs)(P,{children:[(0,o.jsx)(s.Typography,{variant:"description-Regular",colorName:"secondary",width:100,children:u}),(0,o.jsxs)(s.Typography,{variant:"description-Medium",colorName:"primary",children:[(0,f.u)(t,void 0,l)," ",i]})]}),(0,o.jsxs)(P,{children:[(0,o.jsx)(s.Typography,{variant:"caption-Medium",colorName:"secondary",children:p}),(0,o.jsxs)(s.Typography,{variant:"description-Medium",colorName:"primary",children:[(0,f.u)(n,void 0,l)," ",i]})]})]})})},R=e=>{let{columnKey:t,data:n,t:i,isForeignSite:r}=e,[l,a]=c.useState(null),{allSavedInstruments:u}=(0,d.CG)(e=>e.favorites),g=null==u?void 0:u.includes(null==n?void 0:n.instrument_id),v=(e,t)=>
1{e.stopPropagation(),e.preventDefault(),a(t)},b=(0,p.useTheme)(),w=(0,k.jK)(n.currency_code),O=(0,c.useMemo)(()=>(null==n?void 0:n.code)?n.code.startsWith("USD")?n.code.slice(0,4):n.code.slice(0,3):null,[null==n?void 0:n.code]),B=(null==i?void 0:i("favorites.addToFavorites"))||"ÐобавиÑÑ Ð² избÑанное",D=(null==i?void 0:i("favorites.removeFromFavorites"))||"УбÑаÑÑ Ð¸Ð· избÑанного",P=e=>{let t=(e[1]+2)/4;return 0===t?{text:(null==i?void 0:i("ratings.strongSell"))||"ÐкÑивно пÑодаваÑÑ",color:b.interactiveButtons.criticalText,bgColor:b.interactiveButtons.criticalBackground,icon:(0,o.jsx)(y,{}),rotate:!0}:.25===t?{text:(null==i?void 0:i("ratings.sell"))||"ÐÑодаваÑÑ",color:b.interactiveButtons.criticalText,bgColor:b.interactiveButtons.criticalBackground,icon:(0,o.jsx)(j,{}),rotate:!0}:.5===t?{text:(null==i?void 0:i("ratings.neutral"))||"ÐейÑÑалÑно",color:b.icons.fourth,bgColor:b.background.secondaryAlpha,icon:null,rotate:null}:.75===t?{text:(null==i?void 0:i("ratings.buy"))||"ÐокÑпаÑÑ",color:b.interactiveButtons.successText,bgColor:b.interactiveButtons.successBackground,icon:(0,o.jsx)(j,{}),rotate:!1}:1===t?{text:(null==i?void 0:i("ratings.strongBuy"))||"ÐкÑивно покÑпаÑÑ",color:b.interactiveButtons.successText,bgColor:b.interactiveButtons.successBackground,icon:(0,o.jsx)(y,{}),rotate:!1}:null};return"name"===t?(0,o.jsxs)(T,{children:[(0,o.jsxs)(S,{children:[(0,o.jsx)(s.Hint,{text:g?D:B,children:(0,o.jsx)(I,{isActive:g,onClick:e=>v(e,null==n?void 0:n.instrument_id),children:(0,o.jsx)(C.Z,{})})}),(0,o.jsx)(h.Pc,{open:!!l,onClose:()=>a(null),instrumentId:l})]}),(0,o.jsx)(s.TCellText,{hiddenText:{mode:"ellipsis"},children:(0,o.jsx)(m.Z,{href:"/market/instrument/"+n.code,target:"_blank",children:(0,o.jsx)(s.CompanyInfo,{logo:n.logo,firstLine:n.description,secondLine:n.tiker})})})]}):"price"===t?(0,o.jsx)(x.ew,{quotes:[null==n?void 0:n.instrument_id],children:e=>{let t=e[null==n?void 0:n.instrument_id];return(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)(s.Typography,{variant:"caption-Medium",tag:"span",colorName:"primary",textAlign:"right",display:"block",whiteSpace:"nowrap",children:[t?(0,_.j)(t,!0,2):(0,_.j)(null==n?void 0:n.currentPrice,!0,2)," ",w]})})}}):"change_percent"===t?(0,o.jsx)(x.ew,{quotes:[null==n?void 0:n.instrument_id],children:(e,t)=>{let i=e[null==n?void 0:n.instrument_id],r=t[null==n?void 0:n.instrument_id],l=r/(i-r)*100||(null==n?void 0:n.dynamic);return(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)(s.Typography,{variant:"caption-Medium",tag:"span",textAlign:"right",display:"block",valueNumber:l,children:[l>0?"+":"",(0,_.j)(l,!0),"%"]})})}}):"volume"===t?(0,o.jsxs)(s.TCellText,{nowrap:!0,children:[(0,_.j)(n.volume,!0,2)," ",w]}):"market_cap"===t?(0,o.jsxs)(s.TCellText,{nowrap:!0,children:[(0,_.j)(n.market_cap,!0,2)," ",w]}):"circulation"===t?(0,o.jsxs)(A,{children:[(0,o.jsxs)(s.TCellText,{children:[(0,f.u)(n.circulating_supply,void 0,r)," ",O]}),(0,o.jsx)(z,{circulatingSupply:n.circulating_supply,totalSupply:n.total_supply,currentCrypto:O,t:i,isForeignSite:r})]}):"rating"===t?(0,o.jsx)(x.ew,{quotes:["".concat(null==n?void 0:n.instrument_id,"_short")],children:e=>{let t=e["".concat(null==n?void 0:n.instrument_id,"_short")]?e["".concat(null==n?void 0:n.instrument_id,"_short")][0]:[],i=null==t?void 0:t.find(e=>"1month"===e[0]);if(i){let e=P(i);return(0,o.jsxs)(M,{$bgColor:e.bgColor,children:[(0,o.jsx)(s.Typography,{variant:"caption-Medium",color:e.color,whiteSpace:"nowrap",children:e.text}),(0,o.jsx)(F,{$rotate:e.rotate,$color:e.color,children:e.icon})]})}return(0,o.jsx)(s.TCellText,{children:"-"})}}):null},L=e=>{let{data:t,isLoading:n,t:i,isForeignSite:r}=e,l=(0,d.CG)(a.ZL),p=(0,c.useMemo)(()=>(0,u.wx)(i),[i]);return(0,o.jsx)(s.Table,{data:t||[],columns:p,isLoading:n,loadingAmountRow:10,stickyFirstColumn:!0,hints:l,tCellRenderer:e=>{let{rowData:t,columnKey:n}=e;return(0,o.jsx)(R,{data:t,columnKey:n,t:i,isForeignSite:r})}})}},65609:function(e,t,n){"use strict";var i=n(85893),r=n(41522),l=n(13891),o=n(28677),a=n(11163),d=n(42377);n(67294);var s=n(11799),c=n(57805),u=n(86556),p=n(85986),f=n(11787),h=n(81744);t.Z=e=>{let{alt_season:t,isInPage:n}=e,{push:m}=(0,a.useRouter)(),{t:x}=(0,o.$G)(h.d.DASHBOARDS_MOOD_AND_ALTSEASON),g=(0,l.CG)(r.ZL);if("number"!=typeof t)return(0,i.jsx)(d.Skeleton,{height:239});let v=(0,s.H)(t);return(0,i.jsxs)(c.rg,{$isInPage:n,children:[(0,i.jsxs)(c.YA,{children:[(0,i.jsxs)(c.p2,{onClick:()=>{n||m(f.ns.dashboards.altSeason)},children:[(0,i.jsxs)(d.Typography,{variant:"header5-Bold",colorName:"primary",tag:n?"div":"p",children:[x("altSeason.title")," "]})," ",!n&&(0,i.jsx)(u.Z,{})]}),!n&&(0,i.jsx)(d.Popup,{content:g.dashbord_crypto_altseasonindex,isText:!0})]}),(0,i.jsxs)(c.K3,{children:[(0,i.jsxs)(d.Typography,{variant:"header3-Bold",colorName:"primary",whiteSpace:"nowrap",children:[t,(0,i.jsxs)(d.Typography,{variant:"text-Medium",colorName:"secondary",tag:"span",children:["/ 100"," "]})]}),(0,i.jsx)(d.Typography,{variant:"text-Medium",textAlign:"right",color:v.color,children:x("altSeason.seasonText.".concat(v.key))})]}),(0,i.jsxs)(c.ig,{children:[(0,i.jsx)(c.CS,{children:(0,i.jsx)(c.AW,{$left:"".concat(t,"%"),children:(0,i.jsx)(p.Z,{})})}),(0,i.jsxs)(c.K3,{children:[(0,i.jsxs)(d.Typography,{variant:"description-Medium",colorName:"secondary",children:[x("altSeason.seasons.bitcoin")," "]})," ",(0,i.jsxs)(d.Typography,{variant:"description-Medium",colorName:"secondary",children:[x("altSeason.seasons.altcoin")," "]})]})]})]})}},73694:function(e,t,n){"use strict";var i=n(85893),r=n(41522),l=n(13891),o=n(28677),a=n(11163),d=n(42377);n(67294);var s=n(71645),c=n(11799),u=n(86556),p=n(85986),f=n(11787),h=n(81744),m=n(57805);t.Z=e=>{let t,{value:n,isInPage:x}=e,{push:g}=(0,a.useRouter)(),{t:v}=(0,o.$G)(h.d.DASHBOARDS_MOOD_AND_ALTSEASON),y=(0,l.CG)(r.ZL);if("number"!=typeof n)return(0,i.jsx)(d.Skeleton,{height:239});let b=(0,c.D)(n);return(0,i.jsxs)(m.rg,{$isInPage:x,children:[(0,i.jsxs)(m.YA,{children:[(0,i.jsxs)(m.p2,{onClick:()=>{x||g(f.ns.dashboards.cryptoMood)},children:[(0,i.jsx)(d.Typography,{variant:"header5-Bold",colorName:"primary",tag:
1x?"div":"p",children:v(x?"mood.titleIndex":"mood.title")})," ",!x&&(0,i.jsx)(u.Z,{})]}),!x&&(0,i.jsx)(d.Popup,{content:y.dashbord_crypto_marketmood,isText:!0})]}),(0,i.jsx)(m.hC,{onClick:()=>g(f.ns.dashboards.cryptoMood),children:(0,i.jsxs)(m.to,{children:[(0,i.jsx)(s.Z,{type:b.value}),(0,i.jsxs)(m.G3,{children:[(0,i.jsx)(d.Typography,{variant:"header3-Bold",colorName:"primary",children:n})," ",(0,i.jsxs)(d.Typography,{variant:"text-Medium",colorName:"secondary",marginBottom:"7px",children:[v("mood.moodType.".concat(b.labelKey))," "]})," "]})," ",(0,i.jsx)(m.gb,{style:{...(t=0,n>50?t=(n-50)*100/50*.9:n<50&&(t=-((50-n)*100/50*.9)),{transform:"rotate(".concat(t,"deg) translate(-50%, -50%)")}),...(e=>{let t=135;e>10&&e<15?t=140:e>=15&&(t=163);let n=e>80?85:95,i=(180-e/100*180)*Math.PI/180,r=t-n*Math.sin(i);return{left:"".concat(163+n*Math.cos(i),"px"),top:"".concat(r,"px")}})(n)},children:(0,i.jsx)(p.Z,{})})]})})]})}},76181:function(e,t,n){"use strict";n.r(t);var i=n(85893),r=n(65609),l=n(73694),o=n(57805);t.default=e=>{let{alt_season:t,crypto_mood:n}=e;return(0,i.jsxs)(o.ji,{children:[(0,i.jsx)(l.Z,{value:n}),(0,i.jsx)(r.Z,{alt_season:t})]})}},57805:function(e,t,n){"use strict";n.d(t,{AW:function(){return x},CS:function(){return m},FE:function(){return g},G3:function(){return u},Jc:function(){return w},K3:function(){return f},UK:function(){return M},Uk:function(){return b},WX:function(){return C},XB:function(){return k},YA:function(){return a},YL:function(){return _},_9:function(){return j},aO:function(){return y},dg:function(){return T},fd:function(){return I},gb:function(){return p},hC:function(){return s},ig:function(){return h},ji:function(){return l},kQ:function(){return v},p2:function(){return d},rg:function(){return o},to:function(){return c},ue:function(){return S},xU:function(){return F}});var i=n(42377),r=n(54335);let l=r.default.div.withConfig({componentId:"sc-5b4aa40-0"})(["display:flex;gap:20px;margin-bottom:16px;@media (max-width:800px){flex-direction:column;gap:16px;}"]),o=(0,r.default)(i.Card).withConfig({componentId:"sc-5b4aa40-1"})(["display:flex;flex-direction:column;gap:16px;justify-content:space-between;margin-bottom:0;min-height:228px;",""],e=>{let{$isInPage:t}=e;return!t&&(0,r.css)(["max-height:239px;min-height:239px;cursor:pointer;"])}),a=r.default.div.withConfig({componentId:"sc-5b4aa40-2"})(["display:flex;justify-content:space-between;width:fit-content;align-items:center;gap:8px;"]),d=r.default.div.withConfig({componentId:"sc-5b4aa40-3"})(["display:flex;align-items:center;cursor:pointer;svg{path{fill:",";}}&:hover{p{color:",";}svg{path{fill:",";}}}"],e=>e.theme.icons.primary,e=>e.theme.text.accent,e=>e.theme.text.accent),s=r.default.div.withConfig({componentId:"sc-5b4aa40-4"})(["display:flex;justify-content:center;"]),c=r.default.div.withConfig({componentId:"sc-5b4aa40-5"})(["position:relative;display:flex;justify-content:center;align-items:end;max-width:327px;min-width:327px;height:160px;background-position:center;background-size:cover;background-repeat:no-repeat;"]),u=r.default.div.withConfig({componentId:"sc-5b4aa40-6"})(["display:flex;position:absolute;flex-direction:column;align-items:center;justify-content:center;"]),p=r.default.div.withConfig({componentId:"sc-5b4aa40-7"})(["position:absolute;display:flex;align-items:start;justify-content:center;svg{path{fill:",";}}"],e=>e.theme.icons.primary),f=r.default.div.withConfig({componentId:"sc-5b4aa40-8"})(["display:flex;align-items:center;justify-content:space-between;"]),h=r.default.div.withConfig({componentId:"sc-5b4aa40-9"})(["display:flex;margin-top:auto;flex-direction:column;gap:12px;"]),m=r.default.div.withConfig({componentId:"sc-5b4aa40-10"})(["position:relative;background:linear-gradient( 90deg,#ff8000 0%,#ffdb9f 35.99%,#ffe7e8 50.16%,#c6bfff 67.03%,#6553f5 100% );height:20px;border-radius:20px;"]),x=r.default.div.withConfig({componentId:"sc-5b4aa40-11"})(["position:absolute;top:-22px;left:",";display:flex;align-items:center;justify-content:center;transform:rotate(180deg) translateX(50%);svg{path{fill:",";}}"],e=>{let{$left:t}=e;return t},e=>e.theme.icons.primary),g=r.default.div.withConfig({componentId:"sc-5b4aa40-12"})(["display:flex;flex-direction:column;gap:8px;"]),v=r.default.div.withConfig({componentId:"sc-5b4aa40-13"})(["display:flex;flex-direction:column;gap:8px;@media (max-width:600px){padding:0 16px;}"]),y=r.default.div.withConfig({componentId:"sc-5b4aa40-14"})(["display:flex;gap:20px;margin:24px 0 12px;@media (max-width:1200px){flex-direction:column;}@media (max-width:960px){flex-direction:row;}
1@media (max-width:900px){margin:20px 0 12px;flex-direction:column;}"]),b=(0,r.default)(i.Card).withConfig({componentId:"sc-5b4aa40-15"})(["display:flex;flex-direction:column;gap:12px;margin-bottom:0;"]),w=r.default.div.withConfig({componentId:"sc-5b4aa40-16"})(["display:flex;justify-content:space-between;align-items:center;gap:4px;"]),j=r.default.div.withConfig({componentId:"sc-5b4aa40-17"})(["display:flex;flex-direction:column;width:100%;gap:6px;"]),C=r.default.div.withConfig({componentId:"sc-5b4aa40-18"})(["display:flex;width:100%;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px;"]),k=r.default.div.withConfig({componentId:"sc-5b4aa40-19"})(["position:relative;display:flex;align-items:center;justify-content:center;max-width:32px;min-width:32px;height:32px;border-radius:20px;&::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;border-radius:20px;background-color:",";opacity:0.36;z-index:0;}> *{position:relative;z-index:1;}"],e=>{let{$bgColor:t}=e;return t||"transparent"}),_=r.default.div.withConfig({componentId:"sc-5b4aa40-20"})(["display:flex;gap:12px;"]),I=r.default.div.withConfig({componentId:"sc-5b4aa40-21"})(["display:flex;width:100%;padding:12px;flex-direction:column;justify-content:center;align-items:flex-start;gap:16px;border-radius:16px;background:",";"],e=>{let{theme:t}=e;return t.background.secondary}),S=r.default.div.withConfig({componentId:"sc-5b4aa40-22"})(["display:flex;flex-direction:column;gap:8px;"]),T=r.default.div.withConfig({componentId:"sc-5b4aa40-23"})(["display:flex;justify-content:space-between;align-items:center;gap:12px;& p{z-index:100;}@media (max-width:600px){flex-direction:column;align-items:start;}"]),M=(0,r.default)(i.Card).withConfig({componentId:"sc-5b4aa40-24"})(["position:relative;"]),F=(0,r.default)(i.SegmentControl).withConfig({componentId:"sc-5b4aa40-25"})(["z-index:100;"])},25246:function(e,t,n){"use strict";n.d(t,{l:function(){return d}});var i=n(28677),r=n(67294),l=n(20815),o=n(62674),a=n(81744);let d=e=>{let{types:t}=e,{t:n}=(0,i.$G)(a.d.DASHBOARD),[d,s]=(0,r.useState)(null),[c,u]=(0,r.useState)(!0),[p,{isLoading:f}]=(0,l.Og)();return(0,r.useEffect)(()=>((async()=>{if(0!==t.length)try{u(!0);let e=await p({type:t}).unwrap();s(e),u(!1)}catch(e){(0,o.h)(n("errors.loadCryptoWidgets"),"error"),u(!1)}})(),()=>{}),[]),{data:d,isLoading:c||f,isFetching:f}}},84672:function(e,t,n){"use strict";n.d(t,{VY:function(){return o},YA:function(){return c},Zn:function(){return d},ig:function(){return l},ll:function(){return p},wY:function(){return s},x$:function(){return a},zh:function(){return u}});var i=n(42377),r=n(54335);let l=(0,r.default)(i.Card).withConfig({componentId:"sc-5d83e61c-0"})(["height:100%;"]),o=r.default.div.withConfig({componentId:"sc-5d83e61c-1"})(["display:flex;flex-direction:column;"]),a=r.default.div.withConfig({componentId:"sc-5d83e61c-2"})(["display:flex;justify-content:flex-end;align-items:center;gap:16px;& .select-container{width:220px;}@media (max-width:1100px){& .select-container{width:100%;margin-bottom:20px;}}"]),d=r.default.div.withConfig({componentId:"sc-5d83e61c-3"})(["display:flex;justify-content:flex-end;align-items:center;gap:16px;margin-bottom:16px;& .select-container{width:170px;}@media (max-width:600px){& .select-container{width:100%;}}"]),s=r.default.div.withConfig({componentId:"sc-5d83e61c-4"})(["display:flex;gap:20px;flex:1;overflow:hidden;margin-bottom:16px;@media (max-width:600px){gap:8px;flex-direction:column;}"]),c=r.default.div.withConfig({componentId:"sc-5d83e61c-5"})(["display:flex;justify-content:space-between;margin-bottom:12px;"]),u=r.default.div.withConfig({componentId:"sc-5d83e61c-6"})(["display:flex;align-items:center;gap:8px;margin-right:12px;p{display:flex;}"]),p=(0,r.default)(i.WidgetTitle).withConfig({componentId:"sc-5d83e61c-7"})(["margin-bottom:0;a h4{font-size:18px;}"])},12636:function(e,t,n){"use strict";n.r(t),n.d(t,{LeadersWidget:function(){return v}});var i=n(85893),r=n(41522),l=n(13891),o=n(28677),a=n(11163),d=n(42377),s=n(67294),c=n(48458),u=n(29359),p=n(38274),f=n(55346),h=n(96365),m=n(11787),x=n(81744),g=n(84672);let v=(0,s.memo)(e=>
1{let{defaultCountry:t,hintCode:n,url:v}=e,{t:y}=(0,o.$G)(x.d.DASHBOARDS_LEADERS),b=(0,a.useRouter)(),w=(0,l.CG)(r.ZL),j=(0,s.useMemo)(()=>t||(b.pathname===m.ns.dashboards.main?c.uZ.MOEX:void 0),[t,b.pathname]),{country:C,setCountry:k,period:_,setPeriod:I,instrumentCurrency:S,LEADERS_PERIOD:T,LEADERS_MARKETS:M,isFetching:F,isLoading:A,positive:O,negative:B,isMobile:D}=(0,u.L)({defaultCountry:j}),P=(0,s.useMemo)(()=>v||c.SB[C],[v,C]);return(0,i.jsx)(g.ig,{headerCustom:(0,i.jsxs)(g.YA,{children:[(0,i.jsxs)(g.zh,{children:[(0,i.jsx)(g.ll,{text:y("title"),link:P}),(0,i.jsx)(d.Popup,{content:w[n],isText:!0})]}),(0,i.jsxs)(g.x$,{children:[!D&&(0,i.jsx)(h._,{defaultCountry:t,country:C,setCountry:k,period:_,setPeriod:I,LEADERS_PERIOD:T,LEADERS_MARKETS:M}),(0,i.jsx)(p.x,{instrumentCurrency:S,country:C})]})]}),children:(0,i.jsxs)(g.VY,{children:[(0,i.jsx)(g.x$,{children:D&&(0,i.jsx)(h._,{defaultCountry:t,country:C,setCountry:k,period:_,setPeriod:I,LEADERS_PERIOD:T,LEADERS_MARKETS:M})}),(0,i.jsxs)(g.wY,{children:[(0,i.jsx)(f.U,{isLoading:A,isFetching:F,isWidget:!0,type:"positive",period:_,data:O}),(0,i.jsx)(f.U,{isLoading:A,isFetching:F,isWidget:!0,type:"negative",period:_,data:B})]})]})})})},48458:function(e,t,n){"use strict";n.d(t,{F:function(){return c},SB:function(){return s},XC:function(){return p},cZ:function(){return u},fY:function(){return d},rv:function(){return f},uZ:function(){return l}});var i,r,l,o,a=n(11787);(i=l||(l={})).MOEX="MOEX",i.US="US",i.EUROPE="EUROPE",i.ASIA="ASIA",i.CRYPTO="CRYPTO";let d={rusStocks:{urlFullPage:a.ns.dashboardsModules.leaders["rus-stocks"],defaultCountry:"MOEX",hintCode:"dashboard_RFstock_leaders",metaTitle:"metaTitle",metaDescription:"metaDescription"},usaStocks:{urlFullPage:a.ns.dashboardsModules.leaders["usa-stocks"],defaultCountry:"US",hintCode:"dashboard_USAstock_leaders",metaTitle:"metaTitle",metaDescription:"metaDescription"},europe:{urlFullPage:a.ns.dashboardsModules.leaders.europe,defaultCountry:"EUROPE",hintCode:"dashbord_market_leaders",metaTitle:"metaTitle",metaDescription:"metaDescription"},asia:{urlFullPage:a.ns.dashboardsModules.leaders.asia,defaultCountry:"ASIA",hintCode:"dashbord_market_leaders",metaTitle:"metaTitle",metaDescription:"metaDescription"},crypto:{urlFullPage:a.ns.dashboardsModules.leaders.crypto,defaultCountry:"CRYPTO",hintCode:"dashbord_market_leaders",metaTitle:"metaTitle",metaDescription:"metaDescription"}},s={MOEX:a.ns.dashboardsModules.leaders["rus-stocks"],US:a.ns.dashboardsModules.leaders["usa-stocks"],EUROPE:a.ns.dashboardsModules.leaders.europe,ASIA:a.ns.dashboardsModules.leaders.asia,CRYPTO:a.ns.dashboardsModules.leaders.crypto},c=e=>[{label:e("markets.moex"),value:"MOEX",currency:"RUB"},{label:e("markets.usa"),value:"US",currency:"USD"},{label:e("markets.europe"),value:"EUROPE",currency:"USD"},{label:e("markets.asia"),value:"ASIA",currency:"USD"},{label:e("markets.crypto"),value:"CRYPTO",currency:"USD"}],u=e=>[{label:e("periods.1d"),value:"1d"},{label:e("periods.7d"),value:"7d"},{label:e("periods.30d"),value:"30d"},{label:e("periods.ytd"),value:"ytd"},{label:e("periods.90d"),value:"90d"},{label:e("periods.180d"),value:"180d"},{label:e("periods.365d"),value:"365d"},{label:e("periods.5y"),value:"5y"},{label:e("periods.10y"),value:"10y"}];(r=o||(o={})).Minimal="minimal",r.Small="small",r.Medium="mid",r.Large="large",r.Mega="mega";let p=1e9,f=e=>[{value:"minimal",label:e("capitalization.micro"),additionalText:e("capitalization.micro_range")},{value:"small",label:e("capitalization.small"),additionalText:e("capitalization.small_range")},{value:"mid",label:e("capitalization.medium"),additionalText:e("capitalization.medium_range")},{value:"large",label:e("capitalization.large"),additionalText:e("capitalization.large_range")},{value:"mega",label:e("capitalization.mega"),additionalText:e("capitalization.mega_range")}]},29359:function(e,t,n){"use strict";n.d(t,{L:function(){return x}});var i=n(28677),r=n(42377),l=n(67294),o=n(48458),a=n(13891),d=n(20815),s=n(18456),c=n(4237),u=n(62674),p=n(11787),f=n(70091);let h=e=>{let{country:t,instrumentCurrency:n,period:i}=e,[r,h]=(0,l.useState)([]),[m,x]=(0,l.useState)([]),[g,v]=(0,l.useState)(!0),y=(0,f.LT)(t),{data:b,isLoading:w,isFetching:j}=(0,c.hm)({key:y}),[C,{isLoading:k}]=(0,d.oi)(),_=(0,l.useMemo)(()=>null!=b?b:{},[b]),{allSavedInstruments:I,loadingStatus:S}=(0,a.CG)(e=>e.favorites);return(0,l.useEffect)(()=>{let e=async()=>
1{if(!w&&!j&&S===p.y2.SUCCESS)try{let e=t===o.uZ.MOEX,r=(0,s.yY)((null==_?void 0:_.cap)||[],e),l=_.customMaxCap?parseFloat(_.customMaxCap)*o.XC:null,a=_.customMinCap?parseFloat(_.customMinCap)*o.XC:null,d=await C({country:t,period:(0,s.wT)(i),cap:r,currency:n,customMaxCap:l,customMinCap:a,filterByIds:(null==_?void 0:_.isFavorite)?I.length>0?I:[]:null,fromPortfolio:null==_?void 0:_.fromPortfolio,page:1,limit:20}).unwrap();h(d.positive||[]),x(d.negative||[]),v(!1)}catch(e){(0,u.h)("ЧÑо-Ñо поÑло не Ñак. ÐопÑобÑйÑе позже.","error")}},r=setInterval(()=>{e()},6e4);return e(),()=>{clearInterval(r)}},[I,t,null==_?void 0:_.cap,_.customMaxCap,_.customMinCap,null==_?void 0:_.fromPortfolio,null==_?void 0:_.isFavorite,n,j,w,S,i]),{positive:r,negative:m,isLoading:g,isFetching:k}};var m=n(81744);let x=e=>{let{defaultCountry:t}=e,{t:n}=(0,i.$G)(m.d.DASHBOARDS_LEADERS),a=(0,l.useMemo)(()=>(0,o.F)(n),[n]),d=(0,l.useMemo)(()=>(0,o.cZ)(n),[n]),[s,c]=(0,l.useState)(t||o.uZ.US),[u,p]=(0,l.useState)(d[0].value),f=(0,r.useMediaQuery)(r.breakpoint.down(1100)),x=(0,l.useMemo)(()=>{var e;return(null===(e=a.find(e=>e.value===s))||void 0===e?void 0:e.currency)||null},[s]),{positive:g,negative:v,isLoading:y,isFetching:b}=h({country:s,period:u,instrumentCurrency:x});return{isMobile:f,country:s,setCountry:c,period:u,setPeriod:p,instrumentCurrency:x,LEADERS_PERIOD:d,LEADERS_MARKETS:a,isLoading:y,isFetching:b,positive:g,negative:v}}},70091:function(e,t,n){"use strict";n.d(t,{LT:function(){return o},dH:function(){return l}});var i=n(48458);let r={diff:"periods.1d",diff7:"periods.7d",diff30:"periods.30d",diffYLD:"periods.ytd",diffYtd:"periods.ytd",diff90:"periods.90d",diff180:"periods.180d",diff365:"periods.365d",diff1825:"periods.5y",diff3650:"periods.10y"},l=(e,t)=>{var n;let l=null===(n=(0,i.cZ)(t).find(t=>t.value===e))||void 0===n?void 0:n.label;if(l)return l;let o=r[e];return o?t(o):""},o=e=>"widget_leaders.".concat(e)},38274:function(e,t,n){"use strict";n.d(t,{x:function(){return C}});var i=n(85893),r=n(28677),l=n(42377),o=n(67294),a=n(63334),d=n(48458),s=n(70091),c=n(4237),u=n(81744),p=n(34265),f=n(12382),h=n(54335);let m=(0,h.default)("div").withConfig({componentId:"sc-2debe278-0"})(["display:flex;justify-content:space-between;align-items:center;padding:8px;padding-bottom:4px;"]),x=(0,h.default)(l.TextButton).withConfig({componentId:"sc-2debe278-1"})(["& span{font-size:14px;line-height:18px;}"]),g=(0,h.default)("div").withConfig({componentId:"sc-2debe278-2"})(["margin:8px -8px;border-bottom:1px solid ",";"],e=>{let{theme:t}=e;return t.stroke.tertiary}),v=(0,h.default)("div").withConfig({componentId:"sc-2debe278-3"})(["display:flex;gap:8px;padding-bottom:16px;padding-top:12px;margin:0 8px;& input{padding-left:30px;}& span{border-left:",";}"],e=>{let{theme:t}=e;return"1px dashed ".concat(t.stroke.secondary)}),y=(0,h.default)("div").withConfig({componentId:"sc-2debe278-4"})(["position:relative;"]),b=(0,h.default)("label").withConfig({componentId:"sc-2debe278-5"})(["position:absolute;bottom:10px;left:10px;color:",";"],e=>{let{theme:t}=e;return t.text.tertiary}),w=(0,h.default)("div").withConfig({componentId:"sc-2debe278-6"})(["display:flex;flex-direction:column;user-select:none;gap:4px;& label{padding:8px;border-radius:8px;&:hover{background:",";}&:active{background:",";}}"],e=>{let{theme:t}=e;return t.interactiveControls.accent},e=>{let{theme:t}=e;return t.interactiveControls.supportive}),j=(0,h.default)("div").withConfig({componentId:"sc-2debe278-7"})(["margin-left:4px;display:flex;"]),C=e=>{var t;let{instrumentCurrency:n,country:h}=e,C=(0,o.useRef)(null),{t:k}=(0,r.$G)(u.d.DASHBOARDS_LEADERS),_=(0,s.LT)(h),I=(0,o.useMemo)(()=>(0,d.rv)(k),[k]),{data:S}=(0,c.hm)({key:_}),[T]=(0,c.UO)(),M=(0,o.useMemo)(()=>null!=S?S:{},[S]),F=(0,o.useMemo)(()=>(0,p.Ds)((e,t)=>{T({key:_,fields:JSON.stringify({...M,[e]:t,cap:[]})})},500),[M,T,_]),A=e=>{var t;let n=e.target.value,i=null==M?void 0:null===(t=M.cap)||void 0===t?void 0:t.includes(n),r=(null==M?void 0:M.cap)||[],l=i?null==r?void 0:r.filter(e=>e!==n):[...r,n];T({key:_,fields:JSON.stringify({...M,cap:n?l:[],customMinCap:n?null:M.customMinCap,customMaxCap:n?null:M.customMaxCap})})},O=(0,o.useMemo)(()=>{var e;let t=(null==M?void 0:null===(e=M.cap)||void 0===e?void 0:e.length)||0;return(null==M?void 0:M.fromPortfolio)&&(t+=1),(null==M?void 0:M.isFavorite)&&(t+=1),t},[null==M?void 0:null===(t=M.cap)||void 0===t?void 0:t.length,null==M?void 0:M.fromPortfolio,null==M?void 0:M.isFavorite]);
1return(0,i.jsx)(a.L,{activeElements:O,isShowFavourite:!0,isShowPortfolio:!0,refFilter:C,isPortfolio:M.fromPortfolio,isFavourite:M.isFavorite,filterWidthDrop:307,toggleFavourite:()=>T({key:_,fields:JSON.stringify({...M,isFavorite:!(null==M?void 0:M.isFavorite)})}),togglePortfolio:()=>T({key:_,fields:JSON.stringify({...M,fromPortfolio:!(null==M?void 0:M.fromPortfolio)})}),children:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(m,{children:[(0,i.jsx)(l.Typography,{variant:"text-Bold",colorName:"fourth",children:k("filters.title")}),(0,i.jsx)(x,{text:k("filters.hide"),onClick:()=>{var e;return null==C?void 0:null===(e=C.current)||void 0===e?void 0:e.handleClose()}})]}),(0,i.jsx)(g,{}),(0,i.jsxs)(l.Typography,{variant:"text-Medium",fontWeight:600,colorName:"primary",marginLeft:8,children:[k("filters.market_cap"),", ",(0,f.jK)(n)]}),(0,i.jsxs)(v,{children:[(0,i.jsxs)(y,{children:[(0,i.jsx)(l.InputNumber,{value:M.customMinCap||"",onChange:e=>F("customMinCap",e),rightText:k("filters.billion_short"),name:"searchFrom",isFloat:!0}),(0,i.jsx)(b,{children:k("filters.from")})]}),(0,i.jsxs)(y,{children:[(0,i.jsx)(l.InputNumber,{value:M.customMaxCap||"",onChange:e=>F("customMaxCap",e),rightText:k("filters.billion_short"),name:"searchTo",isFloat:!0}),(0,i.jsxs)(b,{children:[" ",k("filters.to")]})]})]}),(0,i.jsx)(w,{children:null==I?void 0:I.map((e,t)=>{var n;return(0,i.jsx)(l.Checkbox,{size:"M",verticalAlign:"start",htmlText:(0,i.jsxs)(j,{children:[(0,i.jsxs)(l.Typography,{variant:"controls-Regular",colorName:"primary",children:[e.label,"\xa0"]}),(0,i.jsx)(l.Typography,{tag:"span",variant:"controls-Regular",colorName:"secondary",children:e.additionalText})]}),value:e.value,checked:null==M?void 0:null===(n=M.cap)||void 0===n?void 0:n.includes(e.value),onChange:(e,t)=>
1A(t)},t)})})]})})}},78569:function(e,t,n){"use strict";n.d(t,{W2:function(){return o},b5:function(){return a},ck:function(){return l}});var i=n(42377),r=n(54335);let l=r.default.div.withConfig({componentId:"sc-b941dd0f-0"})(["width:100%;cursor:pointer;transition:opacity 0.3s ",";opacity:",";&:nth-child(n + 3){border-top:1px dashed ",";}&:hover + &{border-top:1px solid transparent;}"],i.AnimationFunctions.animation_1,e=>e.$isFetching?.5:1,e=>{let{theme:t}=e;return t.stroke.tertiary}),o=r.default.div.withConfig({componentId:"sc-b941dd0f-1"})(["display:flex;padding:5.5px 12px 6px 12px;justify-content:space-between;gap:12px;"]),a=r.default.button.withConfig({componentId:"sc-b941dd0f-2"})(["display:grid;place-items:center;& path{transition:stroke 0.3s ",";fill:transparent;stroke:",";}& svg{path{","}}&:hover path{stroke:",";}"],i.AnimationFunctions.animation_1,e=>e.theme.icons.tertiary,e=>{let{isActive:t}=e;return t&&(0,r.css)(["fill:",";stroke:",";"],e=>e.theme.icons.warring,e=>e.theme.icons.warring)},e=>e.theme.icons.warring);r.default.div.withConfig({componentId:"sc-b941dd0f-3"})(["display:flex;align-items:center;align-self:stretch;& > *:nth-child(1){width:170px;}& > *:nth-child(2){width:143px;}"])},55346:function(e,t,n){"use strict";n.d(t,{U:function(){return S}});var i=n(85893),r=n(28677),l=n(42377),o=n(67294),a=n(70091),d=n(33549),s=n(50004),c=n(85166),u=n(81744),p=n(54335);let f=p.default.div.withConfig({componentId:"sc-9fb24319-0"})(["display:flex;align-items:center;gap:8px;flex:1 0 0;"]),h=p.default.div.withConfig({componentId:"sc-9fb24319-1"})(["width:50%;height:100%;overflow:hidden;@media (max-width:600px){width:100%;}"]),m=p.default.div.withConfig({componentId:"sc-9fb24319-2"})(["position:relative;overflow:hidden;height:100%;table thead tr th{&:first-child{padding:0 0 0 44px;}}table tbody tr td{&:first-child{padding:0;}}table thead tr{display:none;}"]);p.default.div.withConfig({componentId:"sc-9fb24319-3"})(["display:flex;height:44px;padding:18px 12px;align-items:center;gap:4px;flex:1 0 0;background:",";border-radius:8px;margin-bottom:12px;:nth-child(2){display:flex;height:44px;padding:18px 4px 18px 0;align-items:center;gap:4px;flex:1 0 0;}"],e=>e.theme.background.secondaryAlpha);let x=p.default.div.withConfig({componentId:"sc-9fb24319-4"})(["display:flex;padding:4px;align-items:center;gap:10px;border-radius:6px;background:",";"],e=>e.$isGrowing?e.theme.interactiveButtons.successBackground:e.theme.interactiveButtons.criticalBackground);var g=n(13891),v=n(70857),y=n(62686),b=n(76300),w=n(88932),j=n(73680),C=n(12382),k=n(78569);let _=e=>{let{rowData:t,columnKey:n,isFetching:r}=e,a=t[2],d=null==a?void 0:a.instrument_id,s=null==a?void 0:a.diff,{allSavedInstruments:c}=(0,g.CG)(e=>e.favorites),u=null==c?void 0:c.includes(null==a?void 0:a.instrument_id),[p,f]=o.useState(null),h=(e,t)=>{e.stopPropagation(),e.preventDefault(),f(t)};return(0,i.jsxs)(i.Fragment,{children:[(()=>{switch(n){case"":default:return null;case"ticker_name":return(0,i.jsx)(k.ck,{$isFetching:r,children:a?(0,i.jsx)(y.Z,{href:"/market/instrument/"+a.code,target:"_blank",children:(0,i.jsxs)(k.W2,{children:[(0,i.jsx)(l.Hint,{text:u?"УбÑаÑÑ Ð¸Ð· избÑанного":"ÐобавиÑÑ Ð² избÑанное",children:(0,i.jsx)(k.b5,{isActive:u,onClick:e=>h(e,a.instrument_id),children:(0,i.jsx)(w.Z,{})})}),(0,i.jsx)(l.CompanyInfo,{logo:a.logo,firstLine:a.tiker,secondLine:a.description})]})}):null});case"price":return(0,i.jsx)(l.Typography,{variant:"caption-Medium",tag:"span",colorName:"primary",textAlign:"right",display:"block",children:(0,i.jsx)(b.ew,{quotes:[d],children:e=>{let t=e[d];return a?(0,i.jsxs)(i.Fragment,{children:[t?(0,j.j)(t,!0,(null==a?void 0:a.precision)||2):(0,j.j)(null==a?void 0:a.currentPrice,!0,(null==a?void 0:a.precision)||2),(0,C.jK)(a.currency_code)]}):null}})});case"change_percent":return(0,i.jsxs)(l.Typography,{variant:"caption-Medium",tag:"span",textAlign:"right",display:"block",valueNumber:s,children:[s>0?"+":"",(0,j.j)(100*s,!0),"%"]})}})(),(0,i.jsx)(v.Pc,{open:!!p,onClose:()=>f(null),instrumentId:p})]})},I=[{key:"ticker_name",title:"ÐнÑÑÑÑменÑ",maxWidth:"282px"},{key:"price",title:"Цена",alignment:"right"},{key:"change_percent",title:"Ðзменение %",alignment:"right"}],S=e=>{let{data:t,isLoading:n,isFetching:p,type:g,period:v,isWidget:y=!1}=e,{t:b}=(0,r.$G)(u.d.DASHBOARDS_LEADERS),w=(0,l.useMediaQuery)(l.breakpoint.down(900)),j=(0,o.useMemo)(()=>y?t.slice(0,w?5:10):t,[t,w,y]),C=(0,o.useMemo)(()=>{let e=(0,a.dH)(v,b).toLowerCase();return"positive"===g?"".concat(b("grow_title")," ").concat(e):"".concat(b("fall_title")," ").concat(e)},[b,g,v]);return(0,i.jsxs)(h,{children:[(0,i.jsxs)(f,{children:[(0,i.jsx)(x,{$isGrowing:"positive"===g,children:"positive"===g?(0,i.jsx)(c.Z,{}):(0,i.jsx)(s.Z,{})}),(0,i.jsx)(l.Typography,{variant:"header6-SemiBold",tag:"span",colorName:"primary",children:C})]}),n?(0,i.jsx)(d.e,{}):(0,i.jsx)(m,{children:(0,i.jsx)(l.Table,{stickyFirstColumn:!0,columns:I,data:j,tCellRenderer:e=>{let{rowData:t,columnKey:n,cellRowIndex:r}=e;return(0,i.jsx)(_,{rowData:t,columnKey:n,index:r,isFetching:p})}})})]})}},96365:function(e,t,n){"use strict";n.d(t,{_:function(){return l}});var i=n(85893),r=n(42377);n(67294);let l=e=>{let{defaultCountry:t,country:n,setCountry:l,period:o,setPeriod:a,LEADERS_PERIOD:d,LEADERS_MARKETS:s}=e;return(0,i.jsxs)(i.Fragment,{children:[!t&&(0,i.jsx)(r.SelectInput,{isSearchable:!1,options:s,name:"country",value:n,onChange:l}),(0,i.jsx)(r.SelectInput,{isSearchable:!1,options:d,name:"period",value:o,onChange:a})]})}},33549:function(e,t,n){"use strict";n.d(t,{e:function(){return o}});var i=n(85893),r=n(42377);n(67294);var l=n(78569);let o=()=>{let e=Array.from({length:(0,r.useMediaQuery)(r.breakpoint.down(900))?5:10});return(0,i.jsx)(i.Fragment,{children:e.map((e,t)=>(0,i.jsx)(l.ck,{$isFetching:!1,children:(0,i.jsxs)(l.W2,{children:[(0,i.jsx)(r.CompanyInfo,{isLoading:!0}),(0,i.jsxs)("div",{style:{minWidth:"60px",display:"flex",flexDirection:"column",alignItems:"flex-end"},children:[(0,i.jsx)(r.Skeleton,{height:14,bottom:4}),(0,i.jsx)(r.Skeleton,{height:14,bottom:0,maxWidth:40})]})]})},t))})}},26159:function(e,t,n){"use strict";n.d(t,{_M:function(){return i},VM:function(){return o},yg:function(){return r},mw:function(){return a},zk:function(){return l},lx:function(){return d},PR:function(){return f}});let i={RUS:"MOEX",USA:"US",IMOEX:"11340",SP500:"11355",Nasdaq_100:"11375",Dow_Jones:"11337",RTSI:"33464",Russel:"11359",CAC40:"11338",UK_100:"11357"},r=[{label:"P/E",value:"pe"},{label:"P/S",value:"ps"},{label:"P/B",value:"pb"},{label:"ÐÐ¸Ð²Ð¸Ð´ÐµÐ½Ð´Ð½Ð°Ñ Ð´Ð¾Ñ
одноÑÑÑ",value:"div"}],l=[{label:"24Ñ",value:"diff"},{label:"7д",value:"diff7"},{label:"30д",value:"diff30"},{label:"3м",value:"diff90"},{label:"6м",value:"diff180"},{label:"1г",value:"diff365"}],o={default:[{color:"#991F29",label:"-3%"},{color:"#F23645",label:"-2%"},{color:"#F77C80",label:"-1%"},{color:"#B5B1D0",label:"0%"},{color:"#42BD7F",label:"1%"},{color:"#089950",label:"2%"},{color:"#056636",label:"3%"}],div:[{color:"#991F29",label:"-3%"},{color:"#F23645",label:"-2%"},{color:"#F77C80",label:"-1%"},{color:"#B5B1D0",label:"0%"},{color:"#42BD7F",label:"1%"},{color:"#089950",label:"2%"},{color:"#056636",label:"3%"}],pe:[{color:"#991F29",label:"30"},{color:"#F23645",label:"25"},{color:"#F77C80",label:"20"},{color:"#B5B1D0",label:"15"},{color:"#42BD7F",label:"10"},{color:"#089950",label:"5"},{color:"#056636",label:"0"}],pb:[{color:"#991F29",label:"5"},{color:"#F23645",label:"4.2"},{color:"#F77C80",label:"3.3"},{color:"#B5B1D0",label:"2.5"},{color:"#42BD7F",label:"1.7"},{color:"#089950",label:"0.8"},{color:"#056636",label:"0"}],ps:[{color:"#991F29",label:"5"},{color:"#F23645",label:"4.2"},{color:"#F77C80",label:"3.3"},{color:"#B5B1D0",label:"2.5"},{color:"#42BD7F",label:"1.7"},{color:"#089950",label:"0.8"},{color:"#056636",label:"0"}]},a={x1:{title:"-3% до 3%",value:"x1",labels:[{color:"#991F29",label:"-3%"},{color:"#F23645",label:"-2%"},{color:"#F77C80",label:"-1%"},{color:"#B5B1D0",label:"0%"},{color:"#42BD7F",label:"1%"},{color:"#089950",label:"2%"},{color:"#056636",label:"3%"}]}
1,x2:{title:"-6% до 6%",value:"x2",labels:[{color:"#991F29",label:"-6%"},{color:"#F23645",label:"-4%"},{color:"#F77C80",label:"-2%"},{color:"#B5B1D0",label:"0%"},{color:"#42BD7F",label:"2%"},{color:"#089950",label:"4%"},{color:"#056636",label:"6%"}]},x3:{title:"-9% до 9%",value:"x3",labels:[{color:"#991F29",label:"-9%"},{color:"#F23645",label:"-6%"},{color:"#F77C80",label:"-3%"},{color:"#B5B1D0",label:"0%"},{color:"#42BD7F",label:"3%"},{color:"#089950",label:"6%"},{color:"#056636",label:"9%"}]},x5:{title:"-15% до 15%",value:"x5",labels:[{color:"#991F29",label:"-15%"},{color:"#F23645",label:"-10%"},{color:"#F77C80",label:"-5%"},{color:"#B5B1D0",label:"0%"},{color:"#42BD7F",label:"5%"},{color:"#089950",label:"10%"},{color:"#056636",label:"15%"}]},x10:{title:"-30% до 30%",value:"x10",labels:[{color:"#991F29",label:"-30%"},{color:"#F23645",label:"-20%"},{color:"#F77C80",label:"-10%"},{color:"#B5B1D0",label:"0%"},{color:"#42BD7F",label:"10%"},{color:"#089950",label:"20%"},{color:"#056636",label:"30%"}]}},d=[{value:"capitalization",label:"ÐапиÑализаÑиÑ"},{value:"monosize",label:"ÐоноÑазмеÑ"}];var s=n(41522),c=n(13891),u=n(11163),p=n(67294);let f=()=>{let{query:e,pathname:t,push:n}=(0,u.useRouter)(),i=(0,c.CG)((0,s.T)("super:heatmap_indexes")),l=(0,p.useMemo)(()=>e.index?String(e.index):(null==i?void 0:i.length)?i[0][1]:"",[e.index,i]),o=(0,p.useMemo)(()=>e.period?String(e.period):"diff",[e.period]),a=(0,p.useMemo)(()=>e.multiplierRange?String(e.multiplierRange):null,[e.multiplierRange]),d=(0,p.useMemo)(()=>r.map(e=>e.value),[]);return{selectedIndex:l,changeFilter:(i,r,l)=>{let o=e.field,a=d.includes(String(r));if(o!==r||l){if(a){n({pathname:t,query:{...e,[i]:r,multiplierRange:null}});return}n({pathname:t,query:{...e,[i]:r}})}},selectedPeriod:o,resetFilters:()=>{let{tab:i}=e;n({pathname:t,query:i?{tab:i}:{}},void 0,{shallow:!0})},selectedMultiplierRange:a,isMultiplierSelected:(0,p.useMemo)(()=>d.includes(String(e.period)),[d,e.period])}}},13675:function(e,t,n){"use strict";n.d(t,{u:function(){return r}});var i=n(12382);let r=(e,t,n)=>{if(!e)return"-";{let r=Math.floor(Math.log10(Math.abs(e))/3),l=n?["","thousand","million","billion","trillion"][r]:["","ÑÑÑ.","млн","млÑд","ÑÑлн"][r],o=(e/Math.pow(10,3*r)).toFixed(2).replace(/\.00$/,"");return t?"".concat((0,i.jK)(t)," ").concat(o," ").concat(l):"".concat(o," ").concat(l)}}},56827:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});let i=e=>({not_market:{label:e("market_status.market_closed"),color:"rgb(248, 71, 8)",boxColor:"#FFF1EC"},pre_market:{label:e("market_status.pre_market"),color:"rgb(255, 173, 48)",boxColor:"#FFFAF3",hint:"stock_premarket"},post_market:{label:e("market_status.post_market"),color:"rgb(255, 173, 48)",boxColor:"#FFFAF3",hint:"stock_postmarket"},online:{label:e("market_status.market_open"),color:"rgb(51, 201, 39)",boxColor:"#EFFBEE"}})}},function(e){e.O(0,[7603,9510,6132,2678,4885,9382,6310,5304,4117,8817,4969,4206,8787,815,4119,5209,857,2647,5706,1474,9954,3648,7227,7224,7347,1682,2888,9774,179],function(){return e(e.s=76190)}),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.