1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[173],{85071:function(e,t,a){a.d(t,{Z:function(){return R}});var s=a(63366),r=a(87462),c=a(67294),l=a(90512),n=a(94780),i=a(2101),o=a(98216),d=a(90948),x=a(14136),h=a(49299),C=a(74423),g=a(47739),m=a(1588),f=a(34867);function getSwitchBaseUtilityClass(e){return(0,f.ZP)("PrivateSwitchBase",e)}(0,m.Z)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);var p=a(85893);let u=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],useUtilityClasses=e=>{let{classes:t,checked:a,disabled:s,edge:r}=e,c={root:["root",a&&"checked",s&&"disabled",r&&`edge${(0,o.Z)(r)}`],input:["input"]};return(0,n.Z)(c,getSwitchBaseUtilityClass,t)},b=(0,d.ZP)(g.Z)(({ownerState:e})=>(0,r.Z)({padding:9,borderRadius:"50%"},"start"===e.edge&&{marginLeft:"small"===e.size?-3:-12},"end"===e.edge&&{marginRight:"small"===e.size?-3:-12})),w=(0,d.ZP)("input",{shouldForwardProp:x.Z})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),k=c.forwardRef(function(e,t){let{autoFocus:a,checked:c,checkedIcon:n,className:i,defaultChecked:o,disabled:d,disableFocusRipple:x=!1,edge:g=!1,icon:m,id:f,inputProps:k,inputRef:y,name:j,onBlur:N,onChange:v,onFocus:S,readOnly:P,required:B=!1,tabIndex:Z,type:M,value:L}=e,E=(0,s.Z)(e,u),[D,R]=(0,h.Z)({controlled:c,default:!!o,name:"SwitchBase",state:"checked"}),Y=(0,C.Z)(),H=d;Y&&void 0===H&&(H=Y.disabled);let F="checkbox"===M||"radio"===M,_=(0,r.Z)({},e,{checked:D,disabled:H,disableFocusRipple:x,edge:g}),V=useUtilityClasses(_);return(0,p.jsxs)(b,(0,r.Z)({component:"span",className:(0,l.Z)(V.root,i),centerRipple:!0,focusRipple:!x,disabled:H,tabIndex:null,role:void 0,onFocus:e=>{S&&S(e),Y&&Y.onFocus&&Y.onFocus(e)},onBlur:e=>{N&&N(e),Y&&Y.onBlur&&Y.onBlur(e)},ownerState:_,ref:t},E,{children:[(0,p.jsx)(w,(0,r.Z)({autoFocus:a,checked:c,defaultChecked:o,className:V.input,disabled:H,id:F?f:void 0,name:j,onChange:e=>{if(e.nativeEvent.defaultPrevented)return;let t=e.target.checked;R(t),v&&v(e,t)},readOnly:P,ref:y,required:B,ownerState:_,tabIndex:Z,type:M},"checkbox"===M&&void 0===L?{}:{value:L},k)),D?n:m]}))});var y=a(82066),j=(0,y.Z)((0,p.jsx)("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),N=(0,y.Z)((0,p.jsx)("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),v=(0,y.Z)((0,p.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox"),S=a(28628);function getCheckboxUtilityClass(e){return(0,f.ZP)("MuiCheckbox",e)}let P=(0,m.Z)("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),B=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],Checkbox_useUtilityClasses=e=>{let{classes:t,indeterminate:a,color:s,size:c}=e,l={root:["root",a&&"indeterminate",`color${(0,o.Z)(s)}`,`size${(0,o.Z)(c)}`]},i=(0,n.Z)(l,getCheckboxUtilityClass,t);return(0,r.Z)({},t,i)},Z=(0,d.ZP)(k,{shouldForwardProp:e=>(0,x.Z)(e)||"classes"===e,name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:a}=e;return[t.root,a.indeterminate&&t.indeterminate,t[`size${(0,o.Z)(a.size)}`],"default"!==a.color&&t[`color${(0,o.Z)(a.color)}`]]}})(({theme:e,ownerState:t})=>(0,r.Z)({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${"default"===t.color?e.vars.palette.action.activeChannel:e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,i.Fq)("default"===t.color?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${P.checked}, &.${P.indeterminate}`]:{color:(e.vars||e).palette[t.color].main},[`&.${P.disabled}`]:{color:(e.vars||e).palette.action.disabled}})),M=(0,p.jsx)(N,{}),L=(0,p.jsx)(j,{}),E=(0,p.jsx)(v,{}),D=c.forwardRef(function(e,t){var a,n;let i=(0,S.i)({props:e,name:"MuiCheckbox"}),{checkedIcon:o=M,color:d="primary",icon:x=L,indeterminate:h=!1,indeterminateIcon:C=E,inputProps:g,size:m="medium",className:f}=i,u=(0,s.Z)(i,B),b=h?C:x,w=h?C:o,k=(0,r.Z)({},i,{color:d,indeterminate:h,size:m}),y=Checkbox_useUtilityClasses(k);return(0,p.jsx)(Z,(0,r.Z)({type:"checkbox",inputProps:(0,r.Z)({"data-indeterminate":h},g),icon:c.cloneElement(b,{fontSize:null!=(a=b.props.fontSize)?a:m}),checkedIcon:c.cloneElement(w,{fontSize:null!=(n=w.props.fontSize)?n:m}),ownerState:k,ref:t,className:(0,l.Z)(y.root,f)},u,{classes:y}))});var R=D},39827:function(e,t,a){a.d(t,{ib:function(){return handleSelectAll},j4:function(){return handleSelectOne},yv:function(){return getLoginRedirectUrl}});var s=a(248),r=a(43563),handleSelectAll=function(e,t,a){t(e.target.checked?a.map(function(e){return e.Sym||e.sym||e.image_sym}):[])},handleSelectOne=function(e,t){t(function(t){return t.includes(e)?t.filter(function(t){return t!==e}):(0,s._)(t).concat([e])})};function getLoginRedirectUrl(){return/Android|iPhone|iPad|iPod|Opera Mini|IEMobile|Mobile/i.test(navigator.userAgent)?(0,r.kL)("https://login.dhan.co/?location=DH_WEB&refer=DHAN_MSITE"):"https://login.dhan.co/?location=DH_WEB&refer=DHAN_WEBSITE"}},80173:function(e,t,a){a.r(t);var s=a(24043),r=a(248),c=a(85893),l=a(67294),n=a(93424),i=a(75319),o=a(4880),d=a(43563),x=a(39827),h=a(85071),TableRow=function(e){var t=e.item,a=e.isFirst,s=e.selected,r=e.setSelected;return(0,c.jsxs)("tr",{className:"group xl:hover:!bg-[#fff] ".concat(a?"text-right font-CircularRegular text-[#666] text-sm !sticky md:top-[42px] top-[38px]":""," relative"),children:[(0,c.jsx)("td",{className:"px-3 ".concat(a?"!bg-[#fafafa]":""),children:(0,c.jsxs)("div",{className:"flex gap-x-3 items-center",children:[(0,c.jsx)(h.Z,{icon:(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("div",{className:"hidden md:block",children:(0,c.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 17 17",fill:"none",children:(0,c.jsx)("path",{d:"M2.78571 0.5H14.2143C14.8205 0.5 15.4019 0.740816 15.8305 1.16947C16.2592 1.59812 16.5 2.17951 16.5 2.78571V14.2143C16.5 14.8205 16.2592 15.4019 15.8305 15.8305C15.4019 16.2592 14.8205 16.5 14.2143 16.5H2.78571C2.17951 16.5 1.59812 16.2592 1.16947 15.8305C0.740816 15.4019 0.5 14.8205 0.5 14.2143V2.78571C0.5 2.17951 0.740816 1.59812 1.16947 1.16947C1.59812 0.740816 2.17951 0.5 2.78571 0.5Z",stroke:"#F1F1F1","stroke-linecap":"round","stroke-linejoin":"round"})})}),(0,c.jsx)("div",{className:"md:hidden block",children:(0,c.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",children:(0,c.jsx)("path",{d:"M2.22896 0.398438H11.3718C11.8568 0.398438 12.3219 0.59109 12.6648 0.934014C13.0077 1.27694 13.2004 1.74204 13.2004 2.22701V11.3699C13.2004 11.8548 13.0077 12.3199 12.6648 12.6629C12.3219 13.0058 11.8568 13.1984 11.3718 13.1984H2.22896C1.74399 13.1984 1.27889 13.0058 0.935967 12.6629C0.593043 12.3199 0.400391 11.8548 0.400391 11.3699V2.22701C0.400391 1.74204 0.593043 1.27694 0.935967 0.934014C1.27889 0.59109 1.74399 0.398438 2.22896 0.398438Z",stroke:"#F1F1F1","stroke-width":"0.8","stroke-linecap":"round","stroke-linejoin":"round"})})})]}),checkedIcon:(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("div",{className:"hidden md:block",children:(0,c.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:[(0,c.jsx)("path",{d:"M3.42857 0C2.51926 0 1.64719
10.361224 1.00421 1.00421C0.361224 1.64719 0 2.51926 0 3.42857V12.5714C0 13.4807 0.361224 14.3528 1.00421 14.9958C1.64719 15.6388 2.51926 16 3.42857 16H12.5714C13.4807 16 14.3528 15.6388 14.9958 14.9958C15.6388 14.3528 16 13.4807 16 12.5714V3.42857C16 2.51926 15.6388 1.64719 14.9958 1.00421C14.3528 0.361224 13.4807 0 12.5714 0H3.42857ZM12.4046 5.54743L6.69029 11.2617C6.63721 11.3149 6.57415 11.3572 6.50472 11.386C6.4353 11.4148 6.36088 11.4296 6.28571 11.4296C6.21055 11.4296 6.13613 11.4148 6.06671 11.386C5.99728 11.3572 5.93422 11.3149 5.88114 11.2617L3.59543 8.976C3.48813 8.8687 3.42785 8.72317 3.42785 8.57143C3.42785 8.41969 3.48813 8.27416 3.59543 8.16686C3.70273 8.05956 3.84826 7.99928 4 7.99928C4.15174 7.99928 4.29727 8.05956 4.40457 8.16686L6.28571 10.0491L11.5954 4.73829C11.6486 4.68516 11.7116 4.64301 11.781 4.61426C11.8505 4.58551 11.9249 4.57071 12 4.57071C12.0751 4.57071 12.1495 4.58551 12.219 4.61426C12.2884 4.64301 12.3514 4.68516 12.4046 4.73829C12.4577 4.79141 12.4998 4.85449 12.5286 4.9239C12.5574 4.99332 12.5722 5.06772 12.5722 5.14286C12.5722 5.21799 12.5574 5.29239 12.5286 5.36181C12.4998 5.43123 12.4577 5.4943 12.4046 5.54743Z",fill:"#05B878"}),(0,c.jsx)("path",{d:"M3.42857 0C2.51926 0 1.64719 0.361224 1.00421 1.00421C0.361224 1.64719 0 2.51926 0 3.42857V12.5714C0 13.4807 0.361224 14.3528 1.00421 14.9958C1.64719 15.6388 2.51926 16 3.42857 16H12.5714C13.4807 16 14.3528 15.6388 14.9958 14.9958C15.6388 14.3528 16 13.4807 16 12.5714V3.42857C16 2.51926 15.6388 1.64719 14.9958 1.00421C14.3528 0.361224 13.4807 0 12.5714 0H3.42857ZM12.4046 5.54743L6.69029 11.2617C6.63721 11.3149 6.57415 11.3572 6.50472 11.386C6.4353 11.4148 6.36088 11.4296 6.28571 11.4296C6.21055 11.4296 6.13613 11.4148 6.06671 11.386C5.99728 11.3572 5.93422 11.3149 5.88114 11.2617L3.59543 8.976C3.48813 8.8687 3.42785 8.72317 3.42785 8.57143C3.42785 8.41969 3.48813 8.27416 3.59543 8.16686C3.70273 8.05956 3.84826 7.99928 4 7.99928C4.15174 7.99928 4.29727 8.05956 4.40457 8.16686L6.28571 10.0491L11.5954 4.73829C11.6486 4.68516 11.7116 4.64301 11.781 4.61426C11.8505 4.58551 11.9249 4.57071 12 4.57071C12.0751 4.57071 12.1495 4.58551 12.219 4.61426C12.2884 4.64301 12.3514 4.68516 12.4046 4.73829C12.4577 4.79141 12.4998 4.85449 12.5286 4.9239C12.5574 4.99332 12.5722 5.06772 12.5722 5.14286C12.5722 5.21799 12.5574 5.29239 12.5286 5.36181C12.4998 5.43123 12.4577 5.4943 12.4046 5.54743Z",fill:"#EF9309"})]})}),(0,c.jsx)("div",{className:"md:hidden block",children:(0,c.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 13 13",fill:"none",children:[(0,c.jsx)("path",{d:"M2.74286 0C2.01541 0 1.31775 0.288979 0.803364 0.803364C0.288979 1.31775 0 2.01541 0 2.74286V10.0571C0 10.7846 0.288979 11.4823 0.803364 11.9966C1.31775 12.511 2.01541 12.8 2.74286 12.8H10.0571C10.7846 12.8 11.4823 12.511 11.9966 11.9966C12.511 11.4823 12.8 10.7846 12.8 10.0571V2.74286C12.8 2.01541 12.511 1.31775 11.9966 0.803364C11.4823 0.288979 10.7846 0 10.0571 0H2.74286ZM9.92366 4.43794L5.35223 9.00937C5.30976 9.05194 5.25932 9.08572 5.20378 9.10877C5.14824 9.13181 5.0887 9.14367 5.02857 9.14367C4.96844 9.14367 4.9089 9.13181 4.85336 9.10877C4.79783 9.08572 4.74738 9.05194 4.70491 9.00937L2.87634 7.1808C2.7905 7.09496 2.74228 6.97854 2.74228 6.85714C2.74228 6.73575 2.7905 6.61932 2.87634 6.53349C2.96218 6.44765 3.0786 6.39942 3.2 6.39942C3.32139 6.39942 3.43782 6.44765 3.52366 6.53349L5.02857 8.03931L9.27634 3.79063C9.31885 3.74813 9.3693 3.71441 9.42484 3.69141C9.48037 3.6684 9.53989 3.65657 9.6 3.65657C9.66011 3.65657 9.71963 3.6684 9.77516 3.69141C9.8307 3.71441 9.88115 3.74813 9.92366 3.79063C9.96616 3.83313 9.99988 3.88359 10.0229 3.93912C10.0459 3.99466 10.0577 4.05418 10.0577 4.11429C10.0577 4.17439 10.0459 4.23391 10.0229 4.28945C9.99988 4.34498 9.96616 4.39544 9.92366 4.43794Z",fill:"#05B878"}),(0,c.jsx)("path",{d:"M2.74286 0C2.01541 0 1.31775 0.288979 0.803364 0.803364C0.288979 1.31775 0 2.01541 0 2.74286V10.0571C0 10.7846 0.288979 11.4823 0.803364 11.9966C1.31775 12.511 2.01541 12.8 2.74286 12.8H10.0571C10.7846 12.8 11.4823 12.511 11.9966 11.9966C12.511 11.4823 12.8 10.7846 12.8 10.0571V2.74286C12.8 2.01541 12.511 1.31775 11.9966 0.803364C11.4823 0.288979 10.7846 0 10.0571 0H2.74286ZM9.92366 4.43794L5.35223 9.00937C5.30976 9.05194 5.25932 9.08572 5.20378 9.10877C5.14824 9.13181 5.0887 9.14367 5.02857 9.14367C4.96844 9.14367 4.9089 9.13181 4.85336 9.10877C4.79783 9.08572 4.74738 9.05194 4.70491 9.00937L2.87634 7.1808C2.7905 7.09496 2.74228 6.97854 2.74228 6.85714C2.74228 6.73575 2.7905 6.61932 2.87634 6.53349C2.96218 6.44765 3.0786 6.39942 3.2 6.39942C3.32139 6.39942 3.43782 6.44765 3.52366 6.53349L5.02857 8.03931L9.27634 3.79063C9.31885 3.74813 9.3693 3.71441 9.42484 3.69141C9.48037 3.6684 9.53989 3.65657 9.6 3.65657C9.66011 3.65657 9.71963 3.6684 9.77516 3.69141C9.8307 3.71441 9.88115 3.74813 9.92366 3.79063C9.96616 3.83313 9.99988 3.88359 10.0229 3.93912C10.0459 3.99466 10.0577 4.05418 10.0577 4.11429C10.0577 4.17439 10.0459 4.23391 10.0229 4.28945C9.99988 4.34498 9.96616 4.39544 9.92366 4.43794Z",fill:"#EF9309"})]})})]}),sx:{"&.MuiCheckbox-root":{padding:"0px"}},checked:s.includes(t.Sym),onChange:function(){return(0,x.j4)(t.Sym,r)}}),(0,c.jsxs)("a",{href:"/stocks/".concat(t.Seosym,"-share-price/"),className:"".concat(a?"ml-0":"ml-0 inline-"," flex items-center gap-1.5 md:gap-[10px]"),children:[(0,c.jsxs)("div",{className:"relative",children:[(0,c.jsx)("img",{width:24,height:24,src:"https://images.dhan.co/symbol/".concat(t.Sym,".png"),className:"w-6 h-6 rounded-full absolute z-10 border border-[#f1f1f1] bg-white",alt:t.DispSym,loading:"lazy",decoding:"async",onError:function(e){e.target.style.display="none"}},t.Sym),(0,c.jsx)("p",{className:"text-[#4f4f4f] bg-[#dadada] rounded-full w-6 h-6 text-center pt-0.5 text-sm font-CircularBook",children:t.DispSym.toString()[0]})]}),(0,c.jsx)("p",{className:"truncate w-24 md:w-28 lg:!w-44 font-CircularBook text-[#4f4f4f] lg:text-sm text-xs hover:text-[#ea9324] ".concat(a?"text-left":""),children:t.DispSym})]})]})}),(0,c.jsxs)("td",{className:"font-CircularBook py-3 px-2 text-right text-[#666666] lg:text-sm text-xs relative ".concat(a?"!bg-[#fafafa]":""),children:[(0,c.jsx)("p",{className:"block lg:group-hover:hidden",children:t.Ltp?(0,n.Y4)(t.Ltp):"-"}),(0,c.jsx)("div",{className:"hidden lg:hidden lg:group-hover:inline-block absolute right-2 top-3",children:(0,c.jsx)("div",{className:"flex gap-2 justify-end",children:(0,c.jsx)(o.Z,{Linkto:d.sm,btntext:"Invest",btncss:"px-2 py-0.5 bg-[#5CA81D] btn-down font-CircularRegular box-btn lg:text-sm text-[13px] text-white rounded-[4px] mb-1",which:"stocks"})})})]}),(0,c.jsx)("td",{className:"font-CircularBook py-3 px-2 text-right ".concat(t.PPerchange<0?"text-[#E07575]":"text-[#5CA81D]"," lg:text-sm text-xs ").concat(a?"!bg-[#fafafa]":""),children:t.PPerchange?"".concat((0,n.Y4)(t.PPerchange),"%"):"-"}),(0,c.jsx)("td",{className:"font-CircularBook py-3 px-2 text-right text-[#666666] lg:text-sm text-xs ".concat(a?"!bg-[#fafafa]":""),children:t.Volume?(0,n.YY)(t.Volume):"-"}),(0,c.jsxs)("td",{className:"font-CircularBook py-3 px-2 text-right text-[#666666] lg:text-sm text-xs ".concat(a?"!bg-[#fafafa]":""),children:["â¹ ",t.Mcap?(0,n.YY)(t.Mcap):"-"]}),(0,c.jsx)("td",{className:"font-CircularBook py-3 px-2 text-right text-[#666666] lg:text-sm text-xs ".concat(a?"!bg-[#fafafa]":""),children:t.Pe?(0,n.Y4)(t.Pe):"-"}),(0,c.jsx)("td",{className:"font-CircularBook py-3 px-2 text-right text-[#666666] lg:text-sm text-xs ".concat(a?"!bg-[#fafafa]":""),children:t.Ind_Pe?(0,n.Y4)(t.Ind_Pe):"-"}),(0,c.jsx)("td",{className:"font-CircularBook py-3 px-2 text-right text-[#666666] lg:text-sm text-xs ".concat(a?"!bg-[#fafafa]":""),children:t.High1Yr?(0,n.Y4)(t.High1Yr):"-"}),(0,c.jsx)("td",{className:"font-CircularBook py-3 px-2 text-right text-[#666666] lg:text-sm text-xs ".concat(a?"!bg-[#fafafa]":""),children:t.Low1Yr?(0,n.Y4)(t.Low1Yr):"-"}),(0,c.jsx)("td",{className:"font-CircularBook py-3 px-2 text-right ".concat(t.PricePerchng1mon<0?"text-[#E07575]":"text-[#5CA81D]"," lg:text-sm text-xs ").concat(a?"!bg-[#fafafa]":""),children:t.PricePerchng1mon?"".concat((0,n.Y4)(t.PricePerchng1mon),"%"):"-"}),(0,c.jsx)("td",{className:"font-CircularBook py-3 px-2 text-right ".concat(t.PricePerchng3mon<0?"text-[#E07575]":"text-[#5CA81D]"," lg:text-sm text-xs ").concat(a?"!bg-[#fafafa]":""),children:t.PricePerchng3mon?"".concat((0,n.Y4)(t.PricePerchng3mon),"%"):"-"}),(0,c.jsx)("td",{className:"font-CircularBook py-3 px-2 text-right ".concat(t.PricePerchng1year<0?"text-[#E07575]":"text-[#5CA81D]"," lg:text-sm text-xs ").concat(a?"!bg-[#fafafa]":""),children:t.PricePerchng1year?"".concat((0,n.Y4)(t.PricePerchng1year),"%"):"-"}),(0,c.jsx)("td",{className:"font-CircularBook py-3 px-2 text-right ".concat(t.PricePerchng3year<0?"text-[#E07575]":"text-[#5CA81D]"," lg:text-sm text-xs ").concat(a?"!bg-[#fafafa]":""),children:t.PricePerchng3year?"".concat((0,n.Y4)(t.PricePerchng3year),"%"):"-"}),(0,c.jsx)("td",{className:"font-CircularBook py-3 px-2 text-right ".concat(t.PricePerchng5year<0?"text-[#E07575]":"text-[#5CA81D]"," lg:text-sm text-xs ").concat(a?"!bg-[#fafafa]":""),children:t.PricePerchng5year?"".concat((0,n.Y4)(t.PricePerchng5year),"%"):"-"}),(0,c.jsx)("td",{className:"font-CircularBook py-3 px-2 text-right text-[#666666] lg:text-sm text-xs ".concat(a?"!bg-[#fafafa]":""),children:t.Pb?(0,n.Y4)(t.Pb):"-"}),(0,c.jsx)("td",{className:"font-CircularBook py-3 px-2 text-right text-[#666666] lg:text-sm text-xs ".concat(a?"!bg-[#fafafa]":""),children:t.DivYeild?"".concat((0,n.Y4)(t.DivYeild),"%"):"-"}),(0,c.jsx)("td",{className:"font-CircularBook py-3 px-2 text-right ".concat(t.Roe<0?"text-[#E07575]":"text-[#5CA81D]"," lg:text-sm text-xs ").concat(a?"!bg-[#fafafa]":""),children:t.Roe?"".concat((0,n.Y4)(t.Roe),"%"):"-"}),(0,c.jsx)("td",{className:"font-CircularBook py-3 px-2 text-right ".concat(t.ROCE<0?"text-[#E07575]":"text-[#5CA81D]"," lg:text-sm text-xs ").concat(a?"!bg-[#fafafa]":""),children:t.ROCE?"".concat((0,n.Y4)(t.ROCE),"%"):"-"}),(0,c.jsx)("td",{className:"font-CircularBook py-3 px-2 text-right text-[#666666] lg:text-sm text-xs ".concat(a?"!bg-[#fafafa]":""),children:t.Eps?(0,n.Y4)(t.Eps):"-"}),(0,c.jsx)("td",{className:"font-CircularBook py-3 px-2 text-right text-[#666666] lg:text-sm text-xs ".concat(a?"!bg-[#fafafa]":""),children:t.DaySMA50CurrentCandle?(0,n.Y4)(t.DaySMA50CurrentCandle):"-"}),(0,c.jsx)("td",{className:"font-CircularBook py-3 px-2 text-right text-[#666666] lg:text-sm text-xs ".concat(a?"!bg-[#fafafa]":""),children:t.DaySMA200CurrentCandle?(0,n.Y4)(t.DaySMA200CurrentCandle):"-"}),(0,c.jsx)("td",{className:"font-CircularBook py-3 px-2 text-right text-[#666666] lg:text-sm text-xs ".concat(a?"!bg-[#fafafa]":""),children:t.DayRSI14CurrentCandle?(0,n.Y4)(t.DayRSI14CurrentCandle):"-"})]})},TableHeader=function(e){var t=e.sortConfig,a=e.onSort,s=e.displayData,r=e.selected,l=e.setSelected,SortIcon=function(e){var a=e.columnKey;return t.key!==a?null:(0,c.jsx)("span",{className:"text-[#D38C02] ".concat("asc"===t.order?"rotate-180":""),children:(0,c.jsx)("img",{src:"https://stock-logos.dh
1an.co/static-new-images/table_arrow.svg",className:"w-3 h-3",alt:"arrow"})})};return(0,c.jsx)("thead",{className:"sticky top-0 !z-10",children:(0,c.jsx)("tr",{className:"bg-[#FFFBF8] text-left md:text-sm text-xs font-CircularBook",children:[{key:"DispSym",label:"Name",className:"w-44 md:w-52 lg:!w-72 py-2.5 px-3"},{key:"Ltp",label:"LTP",className:"!text-right w-24 lg:!w-28"},{key:"PPerchange",label:"Change %",className:"!text-right w-24 lg:!w-28"},{key:"Volume",label:"Volume",className:"!text-right w-24 lg:!w-28"},{key:"Mcap",label:"Market Cap (Cr.)",className:"!text-right w-36 lg:!w-40"},{key:"Pe",label:"PE Ratio",className:"!text-right w-24 lg:!w-28"},{key:"Ind_Pe",label:"Industry PE",className:"!text-right w-28 lg:!w-32"},{key:"High1Yr",label:"52W High",className:"!text-right w-24 lg:!w-28"},{key:"Low1Yr",label:"52W Low",className:"!text-right w-24 lg:!w-28"},{key:"PricePerchng1mon",label:"1M Returns",className:"!text-right w-28 lg:!w-32"},{key:"PricePerchng3mon",label:"3M Returns",className:"!text-right w-28 lg:!w-32"},{key:"PricePerchng1year",label:"1 Yr Returns",className:"!text-right w-28 lg:!w-32"},{key:"PricePerchng3year",label:"3 Yr Returns",className:"!text-right w-28 lg:!w-32"},{key:"PricePerchng5year",label:"5 Yr Returns",className:"!text-right w-28 lg:!w-32"},{key:"Pb",label:"PB Ratio",className:"!text-right w-24 lg:!w-28"},{key:"DivYeild",label:"Dividend Yield",className:"!text-right w-32 lg:!w-36"},{key:"Roe",label:"ROE",className:"!text-right w-24 lg:!w-20"},{key:"ROCE",label:"ROCE",className:"text-right w-24 lg:!w-20"},{key:"Eps",label:"EPS",className:"text-right w-24 lg:!w-20"},{key:"DaySMA50CurrentCandle",label:"50 DMA",className:"text-right w-24 lg:!w-28"},{key:"DaySMA200CurrentCandle",label:"200 DMA",className:"text-right w-24 lg:!w-28"},{key:"DayRSI14CurrentCandle",label:"RSI",className:"text-right w-24 lg:!w-24"}].map(function(e){var n=e.key,i=e.label,o=e.className;return(0,c.jsx)("th",{className:"cursor-pointer px-3 ".concat(t.key===n?"text-[#ea9324]":"text-[#817e7e]"," ").concat(o),children:(0,c.jsxs)("div",{className:"flex gap-x-3 ".concat("Name"===i?"justify-start":"justify-end"," items-center"),children:["Name"===i&&(0,c.jsx)(h.Z,{icon:(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("div",{className:"hidden md:block",children:(0,c.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 17 17",fill:"none",children:(0,c.jsx)("path",{d:"M2.78571 0.5H14.2143C14.8205 0.5 15.4019 0.740816 15.8305 1.16947C16.2592 1.59812 16.5 2.17951 16.5 2.78571V14.2143C16.5 14.8205 16.2592 15.4019 15.8305 15.8305C15.4019 16.2592 14.8205 16.5 14.2143 16.5H2.78571C2.17951 16.5 1.59812 16.2592 1.16947 15.8305C0.740816 15.4019 0.5 14.8205 0.5 14.2143V2.78571C0.5 2.17951 0.740816 1.59812 1.16947 1.16947C1.59812 0.740816 2.17951 0.5 2.78571 0.5Z",stroke:"#FFEAD9","stroke-linecap":"round","stroke-linejoin":"round"})})}),(0,c.jsx)("div",{className:"md:hidden block",children:(0,c.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",children:(0,c.jsx)("path",{d:"M2.22896 0.398438H11.3718C11.8568 0.398438 12.3219 0.59109 12.6648 0.934014C13.0077 1.27694 13.2004 1.74204 13.2004 2.22701V11.3699C13.2004 11.8548 13.0077 12.3199 12.6648 12.6629C12.3219 13.0058 11.8568 13.1984 11.3718 13.1984H2.22896C1.74399 13.1984 1.27889 13.0058 0.935967 12.6629C0.593043 12.3199 0.400391 11.8548 0.400391 11.3699V2.22701C0.400391 1.74204 0.593043 1.27694 0.935967 0.934014C1.27889 0.59109 1.74399 0.398438 2.22896 0.398438Z",stroke:"#FFEAD9","stroke-width":"0.8","stroke-linecap":"round","stroke-linejoin":"round"})})})]}),checkedIcon:(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("div",{className:"hidden md:block",children:(0,c.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:[(0,c.jsx)("path",{d:"M3.42857 0C2.51926 0 1.64719 0.361224 1.00421 1.00421C0.361224 1.64719 0 2.51926 0 3.42857V12.5714C0 13.4807 0.361224 14.3528 1.00421 14.9958C1.64719 15.6388 2.51926 16 3.42857 16H12.5714C13.4807 16 14.3528 15.6388 14.9958 14.9958C15.6388 14.3528 16 13.4807 16 12.5714V3.42857C16 2.51926 15.6388 1.64719 14.9958 1.00421C14.3528 0.361224 13.4807 0 12.5714 0H3.42857ZM12.4046 5.54743L6.69029 11.2617C6.63721 11.3149 6.57415 11.3572 6.50472 11.386C6.4353 11.4148 6.36088 11.4296 6.28571 11.4296C6.21055 11.4296 6.13613 11.4148 6.06671 11.386C5.99728 11.3572 5.93422 11.3149 5.88114 11.2617L3.59543 8.976C3.48813 8.8687 3.42785 8.72317 3.42785 8.57143C3.42785 8.41969 3.48813 8.27416 3.59543 8.16686C3.70273 8.05956 3.84826 7.99928 4 7.99928C4.15174 7.99928 4.29727 8.05956 4.40457 8.16686L6.28571 10.0491L11.5954 4.73829C11.6486 4.68516 11.7116 4.64301 11.781 4.61426C11.8505 4.58551 11.9249 4.57071 12 4.57071C12.0751 4.57071 12.1495 4.58551 12.219 4.61426C12.2884 4.64301 12.3514 4.68516 12.4046 4.73829C12.4577 4.79141 12.4998 4.85449 12.5286 4.9239C12.5574 4.99332 12.5722 5.06772 12.5722 5.14286C12.5722 5.21799 12.5574 5.29239 12.5286 5.36181C12.4998 5.43123 12.4577 5.4943 12.4046 5.54743Z",fill:"#05B878"}
1),(0,c.jsx)("path",{d:"M3.42857 0C2.51926 0 1.64719 0.361224 1.00421 1.00421C0.361224 1.64719 0 2.51926 0 3.42857V12.5714C0 13.4807 0.361224 14.3528 1.00421 14.9958C1.64719 15.6388 2.51926 16 3.42857 16H12.5714C13.4807 16 14.3528 15.6388 14.9958 14.9958C15.6388 14.3528 16 13.4807 16 12.5714V3.42857C16 2.51926 15.6388 1.64719 14.9958 1.00421C14.3528 0.361224 13.4807 0 12.5714 0H3.42857ZM12.4046 5.54743L6.69029 11.2617C6.63721 11.3149 6.57415 11.3572 6.50472 11.386C6.4353 11.4148 6.36088 11.4296 6.28571 11.4296C6.21055 11.4296 6.13613 11.4148 6.06671 11.386C5.99728 11.3572 5.93422 11.3149 5.88114 11.2617L3.59543 8.976C3.48813 8.8687 3.42785 8.72317 3.42785 8.57143C3.42785 8.41969 3.48813 8.27416 3.59543 8.16686C3.70273 8.05956 3.84826 7.99928 4 7.99928C4.15174 7.99928 4.29727 8.05956 4.40457 8.16686L6.28571 10.0491L11.5954 4.73829C11.6486 4.68516 11.7116 4.64301 11.781 4.61426C11.8505 4.58551 11.9249 4.57071 12 4.57071C12.0751 4.57071 12.1495 4.58551 12.219 4.61426C12.2884 4.64301 12.3514 4.68516 12.4046 4.73829C12.4577 4.79141 12.4998 4.85449 12.5286 4.9239C12.5574 4.99332 12.5722 5.06772 12.5722 5.14286C12.5722 5.21799 12.5574 5.29239 12.5286 5.36181C12.4998 5.43123 12.4577 5.4943 12.4046 5.54743Z",fill:"#EF9309"})]})}),(0,c.jsx)("div",{className:"md:hidden block",children:(0,c.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 13 13",fill:"none",children:[(0,c.jsx)("path",{d:"M2.74286 0C2.01541 0 1.31775 0.288979 0.803364 0.803364C0.288979 1.31775 0 2.01541 0 2.74286V10.0571C0 10.7846 0.288979 11.4823 0.803364 11.9966C1.31775 12.511 2.01541 12.8 2.74286 12.8H10.0571C10.7846 12.8 11.4823 12.511 11.9966 11.9966C12.511 11.4823 12.8 10.7846 12.8 10.0571V2.74286C12.8 2.01541 12.511 1.31775 11.9966 0.803364C11.4823 0.288979 10.7846 0 10.0571 0H2.74286ZM9.92366 4.43794L5.35223 9.00937C5.30976 9.05194 5.25932 9.08572 5.20378 9.10877C5.14824 9.13181 5.0887 9.14367 5.02857 9.14367C4.96844 9.14367 4.9089 9.13181 4.85336 9.10877C4.79783 9.08572 4.74738 9.05194 4.70491 9.00937L2.87634 7.1808C2.7905 7.09496 2.74228 6.97854 2.74228 6.85714C2.74228 6.73575 2.7905 6.61932 2.87634 6.53349C2.96218 6.44765 3.0786 6.39942 3.2 6.39942C3.32139 6.39942 3.43782 6.44765 3.52366 6.53349L5.02857 8.03931L9.27634 3.79063C9.31885 3.74813 9.3693 3.71441 9.42484 3.69141C9.48037 3.6684 9.53989 3.65657 9.6 3.65657C9.66011 3.65657 9.71963 3.6684 9.77516 3.69141C9.8307 3.71441 9.88115 3.74813 9.92366 3.79063C9.96616 3.83313 9.99988 3.88359 10.0229 3.93912C10.0459 3.99466 10.0577 4.05418 10.0577 4.11429C10.0577 4.17439 10.0459 4.23391 10.0229 4.28945C9.99988 4.34498 9.96616 4.39544 9.92366 4.43794Z",fill:"#05B878"}),(0,c.jsx)("path",{d:"M2.74286 0C2.01541 0 1.31775 0.288979 0.803364 0.803364C0.288979 1.31775 0 2.01541 0 2.74286V10.0571C0 10.7846 0.288979 11.4823 0.803364 11.9966C1.31775 12.511 2.01541 12.8 2.74286 12.8H10.0571C10.7846 12.8 11.4823 12.511 11.9966 11.9966C12.511 11.4823 12.8 10.7846 12.8 10.0571V2.74286C12.8 2.01541 12.511 1.31775 11.9966 0.803364C11.4823 0.288979 10.7846 0 10.0571 0H2.74286ZM9.92366 4.43794L5.35223 9.00937C5.30976 9.05194 5.25932 9.08572 5.20378 9.10877C5.14824 9.13181 5.0887 9.14367 5.02857 9.14367C4.96844 9.14367 4.9089 9.13181 4.85336 9.10877C4.79783 9.08572 4.74738 9.05194 4.70491 9.00937L2.87634 7.1808C2.7905 7.09496 2.74228 6.97854 2.74228 6.85714C2.74228 6.73575 2.7905 6.61932 2.87634 6.53349C2.96218 6.44765 3.0786 6.39942 3.2 6.39942C3.32139 6.39942 3.43782 6.44765 3.52366 6.53349L5.02857 8.03931L9.27634 3.79063C9.31885 3.74813 9.3693 3.71441 9.42484 3.69141C9.48037 3.6684 9.53989 3.65657 9.6 3.65657C9.66011 3.65657 9.71963 3.6684 9.77516 3.69141C9.8307 3.71441 9.88115 3.74813 9.92366 3.79063C9.96616 3.83313 9.99988 3.88359 10.0229 3.93912C10.0459 3.99466 10.0577 4.05418 10.0577 4.11429C10.0577 4.17439 10.0459 4.23391 10.0229 4.28945C9.99988 4.34498 9.96616 4.39544 9.92366 4.43794Z",fill:"#EF9309"})]})})]}),sx:{"&.MuiCheckbox-root":{padding:"0px"}},checked:r.length===s.length,onChange:function(){return(0,x.ib)(event,l,s)}}),(0,c.jsxs)("div",{onClick:function(){return a(n)},className:"flex gap-1 items-center",children:[i,(0,c.jsx)(SortIcon,{columnKey:n})]})]})},n)})})})},NoData=function(){return(0,c.jsxs)("div",{className:"flex flex-col justify-center items-center gap-2 border border-[#f1f1f1] rounded",children:[(0,c.jsx)("img",{src:i.Z.No_data.src,className:"w-20",alt:"No Data",loading:"lazy"}),(0,c.jsx)("p",{className:"font-CircularRegular text-[#817E7Ecc] mb-5 pt-2 text-center text-sm lg:text-base",children:"Sorry, No Data Available at this Moment!"})]})};t.default=function(e){var t=e.type,a=e.stockData,o=e.similarStkData,d=e.scripData,h=e.redirectTo,C=e.count,g=(0,s._)((0,l.useState)({key:"Mcap",order:"desc"}),2),m=g[0],f=g[1],p=(0,s._)((0,l.useState)(o),2),u=p[0];p[1];var b=(0,s._)((0,l.useState)([]),2),w=b[0],k=b[1],y=(0,s._)((0,l.useState)(o.filter(function(e){return e.Seosym===a.CSM_SEO_SYMBOL})[0]),2),j=y[0];y[1];var N=u&&0!==u.length?(0,r._)(u).filter(function(e){return e.Seosym!==a.CSM_SEO_SYMBOL}).sort(function(e,t){return(Number(t.Mcap)||0)-(Number(e.Mcap)||0)}).slice(0,C):[],v=0===N.length?[]:(0,r._)(N).sort(function(e,t){var a=e[m.key]||0,s=t[m.key]||0;return"asc"===m.order?a>s?1:-1:a<s?1:-1});return"Cards"===t?(0,c.jsxs)("div",{className:"bg-[#fafafa] border border-[#f1f1f1] rounded-[8px] overflow-hidden flex flex-col",children:[(0,c.jsxs)("div",{className:"bg-white shadow-[0px_0px_5px_0px_rgba(129,126,126,0.14)] flex flex-col flex-1",children:[(0,c.jsx)("div",{className:"px-4 pt-4 pb-[14px]",children:(0,c.jsxs)("h2",{id:"Peers-section",className:"text-[#4f4f4f] font-CircularBook text-lg md:text-xl leading-[26px] tracking-[-0.41px]",children:[a.SYMBOL," Similar Stocks"]})}),(0,c.jsx)("div",{className:"overflow-x-auto noscrollbar-x",children:(0,c.jsxs)("table",{className:"table w-full table-bodsp",children:[(0,c.jsx)("thead",{children:(0,c.jsxs)("tr",{className:"bg-[#FFFBF8] border-y border-[#FFEAD9] text-[#817e7e] text-xs md:text-sm font-CircularBook",children:[(0,c.jsx)("th",{className:"!px-4 !py-2.5 text-left",children:"Stock Name"}),(0,c.jsx)("th",{className:"!px-4 !py-2.5 text-right",children:"Price"})]})}),(0,c.jsx)("tbody",{children:v.length>0?v.slice(0,5).map(function(e,t){if(e.Seosym===a.CSM_SEO_SYMBOL)return null;var s,r=e.PPerchange<0;return(0,c.jsxs)("tr",{className:"border-b border-[#f1f1f1] last:border-b-0",children:[(0,c.jsx)("td",{className:"!px-4 !py-3",children:(0,c.jsxs)("a",{href:"/stocks/".concat(e.Seosym,"-share-price/"),className:"flex items-center gap-3",children:[(0,c.jsxs)("div",{className:"relative flex-shrink-0",children:[(0,c.jsx)("img",{width:24,height:24,src:"https://images.dhan.co/symbol/".concat(e.Sym,".png"),className:"w-6 h-6 rounded-full border border-[#f1f1f1] bg-white absolute z-10",alt:e.DispSym,loading:"lazy",decoding:"async",onError:function(e){e.target.style.display="none"}}),(0,c.jsx)("p",{className:"text-[#4f4f4f] bg-[#dadada] rounded-full w-6 h-6 text-center pt-0.5 text-sm font-CircularBook",children:e.Sym.toString()[0]})]}),(0,c.jsx)("p",{className:"font-CircularBook text-[#666] text-sm tracking-[-0.408px] md:w-full w-28 truncate",children:e.DispSym})]})}),(0,c.jsx)("td",{className:"!px-4 !py-3 text-right",children:(0,c.jsxs)("a",{href:"/stocks/".concat(e.Seosym,"-share-price/"),className:"flex items-center justify-end gap-2",children:[(0,c.jsx)("span",{className:"font-CircularBook text-[#666] text-sm tracking-[-0.408px]",children:(0,n.Y4)(e.Ltp)}),(0,c.jsxs)("span",{className:"font-CircularBook text-sm tracking-[-0.408px] ".concat(r?"text-[#E15858]":"text-[#5CA81D]"),children:[r?"":"+",(0,n.Y4)(null!==(s=e.PPerchange)&&void 0!==s?s:0),"%"]}),r?(0,c.jsx)("img",{width:16,height:16,src:i.Z.Loss.src,alt:"loss",className:"w-2.5 h-2.5"}):(0,c.jsx)("img",{width:16,height:16,src:i.Z.Profit.src,alt:"profit",className:"w-2.5 h-2.5 relative top-[1px]"})]})})]},"".concat(e.Sym,"-").concat(t))}):(0,c.jsx)("tr",{children:(0,c.jsx)("td",{colSpan:2,className:"!px-4 !py-10 text-center",children:(0,c.jsx)("p",{className:"font-CircularRegular text-[#817E7Ecc] text-sm",children:"No similar stocks available."})})})})]})})]}),(0,c.jsx)("div",{className:"border-t border-[#f1f1f1] px-4 py-[10px] flex justify-end items-center gap-2",children:(0,c.jsxs)("a",{href:"/stocks/".concat(a.CSM_SEO_SYMBOL,"-peer-comparison/"),className:"flex items-center gap-1.5 border border-[#e4e4e4] rounded-md px-2.5 py-1 bg-white whitespace-nowrap",children:[(0,c.jsx)("span",{className:"text-[#666] text-xs font-CircularRegular leading-[14px] tracking-[-0.41px]",children:"View All"}),(0,c.jsx)("img",{src:i.Z.ArrowUpRight.src,alt:"arrow",className:"w-2.5 h-2.5"})]})})]}):(0,c.jsxs)("div",{className:"bg-[#fafafa] border border-[#f1f1f1] rounded-[8px] overflow-hidden",children:[(0,c.jsxs)("div",{className:"bg-white shadow-[0px_0px_5px_0px_rgba(129,126,126,0.14)] flex flex-col",children:[(0,c.jsxs)("div",{className:"px-4 pt-4 pb-[14px] flex justify-between items-center",children:[h?(0,c.jsxs)("h2",{id:"Peers-section",className:"text-[#4f4f4f] font-CircularBook text-lg md:text-xl leading-[26px] tracking-[-0.41px]",children:[a.SYMBOL," Similar Stocks"]}):(0,c.jsxs)("h2",{className:"text-[#4f4f4f] font-CircularBook text-[20px] leading-[26px] tracking-[-0.41px]",children:["Top 10 Peers of ",a.SYMBOL]}),w.length>0&&(0,c.jsxs)("a",{href:(0,x.yv)(),className:"border border-[#f1f1f1] px-2 py-1 rounded-md flex gap-1.5 items-center h-[28px]",children:[(0,c.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",children:(0,c.jsx)("path",{d:"M10.3845 6.39048H6.39048V10.3845C6.39048 10.5964 6.30632 10.7996 6.15651 10.9494C6.0067 11.0992 5.80352 11.1833 5.59167 11.1833C5.37981 11.1833 5.17663 11.0992 5.02682 10.9494C4.87702 10.7996 4.79286 10.5964 4.79286 10.3845V6.39048H0.79881C0.586952 6.39048 0.383772 6.30632 0.233966 6.15651C0.0841602 6.0067 0 5.80352 0 5.59167C0 5.37981 0.0841602 5.17663 0.233966 5.02682C0.383772 4.87702 0.586952 4.79286 0.79881 4.79286H4.79286V0.79881C4.79286 0.586952 4.87702 0.383772 5.02682 0.233966C5.17663 0.0841598 5.37981 0 5.59167 0C5.80352 0 6.0067 0.0841598 6.15651 0.233966C6.30632 0.383772 6.39048 0.586952 6.39048 0.79881V4.79286H10.3845C10.5964 4.79286 10.7996 4.87702 10.9494 5.02682C11.0992 5.17663 11.1833 5.37981 11.1833 5.59167C11.1833 5.80352 11.0992 6.0067 10.9494 6.15651C10.7996 6.30632 10.5964 6.39048 10.3845 6.39048Z",fill:"#EF9309"})}),(0,c.jsx)("div",{className:"text-[#4f4f4f] md:text-sm text-xs font-CircularBook",children:"Add to Basket"})]})]}),(0,c.jsx)("div",{className:"overflow-x-auto noscrollbar-x",children:v.length>0?(0,c.jsxs)("table",{className:"table table-fixed table-bodsp overflow-x-auto table-bod-stk-mrkt",children:[(0,c.jsx)(TableHeader,{sortConfig:m,onSort:function(e){f(function(t){return{key:e,order:t.key===e&&"asc"===t.order?"desc":"asc"}})},displayData:v,selected:w,setSelected:k}),(0,c.jsxs)("tbody",{children:[j&&(0,c.jsx)(TableRow,{item:j,isFirst:!0,selected:w,setSelected:k}),v.map(function(e,t){return(0,c.jsx)(TableRow,{item:e,isFirst:!1,selected:w,setSelected:k},"".concat(e.Sym,"-").concat(t))})]})]}):(0,c.jsx)("div",{className:"px-4 pb-4",children:(0,c.jsx)(NoData,{})})})]}),d&&(0,c.jsx)("div",{className:"border-t border-[#f1f1f1] px-4 py-[10px] flex justify-end items-center",children:(0,c.jsxs)("a",{href:h?"/stocks/".concat(d,"-peer-comparison/"):"/stocks/sector/".concat(d,"/"),className:"flex items-center gap-1.5 border border-[#e4e4e4] rounded-md px-2.5 py-1 bg-white whitespace-nowrap",children:[(0,c.jsx)("span",{className:"text-[#666] text-xs font-CircularRegular leading-[14px] tracking-[-0.41px]",children:"View All"}),(0,c.jsx)("img",{src:i.Z.ArrowUpRight.src,alt:"arrow",className:"w-2.5 h-2.5"})]})})]})}}}]);
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.