1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7877],{42057:function(e,l,t){var o=t(85893),i=t(93717),r=t(55281),n=t(42645),s=t(56060),a=t(63977);l.Z=e=>{let{children:l,isLanding:t,hideFooter:d=!1,isLandingV2:c=!1,bgColor:u="mainBackgroundColor",bg:p="mainBackground",...x}=e;return(0,o.jsxs)(i.k,{w:"full",minH:"100vh",bgColor:t?s.Wb.colors.mainBackgroundColor:u,background:t?s.Wb.colors.mainBackground:p,direction:"column",align:"center",pt:"74px",...x,children:[(0,o.jsx)(i.k,{zIndex:1,w:"full",minH:"100vh",direction:"column",align:"center",borderColor:"mainTextColorAlpha",pb:0,children:l}),c||d?null:t?(0,o.jsxs)(r.K,{bgColor:s.Wb.colors.accentTextColor,borderLeftRadius:"50px",borderRightRadius:"50px",w:"full",spacing:"0",children:[(0,o.jsx)(r.K,{alignItems:"center",direction:{base:"column",md:"row"},px:"8%",py:"8",spacing:2,children:(0,o.jsx)(a.ch,{isBottom:!0})}),(0,o.jsx)(n.Z,{isLanding:t})]}):(0,o.jsx)(n.Z,{isLanding:t})]})}},93036:function(e,l,t){var o=t(85893),i=t(71802),r=t(72177),n=t(48783),s=t(34292),a=t(24880),d=t(71293),c=t(18618),u=t(93717),p=t(57747),x=t(55281),f=t(18498),m=t(67294),h=t(94371),g=t(2103),b=t(14664),v=t(56371),j=t(39665),y=t(56288),C=t(73177),w=t(25802),S=t(34894);let k={},MobileTable=e=>{let{keyName:l,filteredItems:t,columns:i,mobileClickBtnLabel:c,onClick:u}=e;return null==t||t.length,(0,o.jsx)(r.M,{columns:{base:1,md:2},spacing:{base:4,md:4},w:"full",children:null==t?void 0:t.map((e,t)=>{var r;return(0,o.jsxs)(n.g,{w:"full",spacing:"4",border:"1px solid #cccccc",borderRadius:"5",bgColor:"containerContentBackground",justify:"space-between",px:{base:"4",md:"8"},py:"4",children:[(0,o.jsx)(n.g,{w:"full",spacing:"2",children:i.map((l,i)=>{let r=i>0,n=l.value(e,t);return(0,o.jsxs)(s.U,{position:"relative",alignItems:"flex-start",spacing:"0",w:"full",justify:r?"space-between":"center",children:[!r&&!!e._pinLabel&&(0,o.jsx)(a.C,{textTransform:"capitalize",borderRadius:"50px",px:"8px",fontWeight:"normal",bgColor:"mainTextColor",color:"contrastMainTextColor",w:"fit-content",mr:"1",position:"absolute",top:"-10px",left:"-10px",children:e._pinLabel}),(0,o.jsxs)(s.U,{display:r?"inline-flex":"none",children:[l.tooltip?(0,o.jsx)(h.xy,{iconProps:{fontSize:"12px",mr:"1",color:"mainTextColorLight2"},zIndex:"2",message:l.tooltip,size:"small"}):null,(0,o.jsx)(d.x,{children:l.label})]}),(0,o.jsx)(()=>m.cloneElement(n,{minWidth:"0",minW:"0",textAlign:"right",alignItems:"flex-end",_isMobileCase:!0,onClick:r||!u?void 0:l=>u(e,l)},(0,o.jsx)(o.Fragment,{children:n.props.children})),{})]},i)})}),!!u&&(0,o.jsx)(C.fF,{onClick:u?l=>u(e,l):void 0,fontSize:"16px",children:c})]},null!==(r=e[l])&&void 0!==r?r:t)})})},defaultTotalValue=(e,l)=>(0,S.J_)(l.reduce((l,t)=>l+t[e],0),2);l.ZP=e=>{let{columns:l,noDataMessage:t,items:r,keyName:s,defaultSortDir:C="asc",defaultSort:S,alternateBg:T=!0,defaultFilters:z=k,onClick:W,onFilter:L,sortChevronProps:_,colBoxProps:I,enableMobileRender:A=!1,mobileThreshold:R=821,mobileClickBtnLabel:E="View Details",showRowBorder:P=!1,showHeader:B=!0,showTotalRow:F=!1,pinnedItems:M,pinnedLabels:V,unfixedPinnedItems:H=!1,secondarySortFields:Z,...K}=e,{themeStyles:N}=(0,w.V)(),[U,J]=(0,m.useState)(!1),[D]=(0,c.a)("(min-width: ".concat(R,"px)")),[O,X]=(0,m.useState)(null===S?S:S||l[0].field),[$,q]=(0,m.useState)(C),[G,Q]=(0,m.useState)(z),[Y,ee]=(0,m.useState)([]),el=l.filter(e=>e.showFilter||!!e.customSubheader).length>0,[et,eo]=(0,m.useState)(null==r?void 0:r.map(e=>{var l;return{...e,symbol:(null==e?void 0:e.symbol)||(null==e?void 0:null===(l=e.underlying)||void 0===l?void 0:l.symbol)}}));(0,m.useEffect)(()=>{J(!0)},[]),(0,m.useEffect)(()=>{X(null===S?S:S||l[0].field)},[S]),(0,m.useEffect)(()=>{let e=[...et];Object.entries(G).forEach(l=>{let[t,o]=l;if(null===o)return;let i=["true","false"].includes(o);e=e.filter(e=>i?e[t].toString()===o:e[t]===o||e[t].toString()===o.toString())}),ee(e),L&&L(e,G)},[et,G]),(0,m.useEffect)(()=>{if(null===O){eo(r);return}let e=(null==r?void 0:r.map(e=>{var l;return{...e,symbol:(null==e?void 0:e.symbol)||(null==e?void 0:null===(l=e.underlying)||void 0===l?void 0:l.symbol)}}))||[];eo([...e].sort((e,l)=>{let t="asc"===$?-1:1,o=Array.isArray(e[O])?e[O].length:e[O],i=Array.isArray(l[O])?l[O].length:l[O];
1if(o<i)return 1*t;if(o>i)return -1*t;if(Z)for(let o=0;o<Z.length;o++){let i=Z[o],r=Array.isArray(e[i])?e[i].length:e[i],n=Array.isArray(l[i])?l[i].length:l[i];if(r<n)return 1*t;if(r>n)return -1*t}return 0}))},[O,$,r,Z]);let toggleSort=e=>{e.field===O?q("asc"===$?"desc":"asc"):X(e.field)},ei={color:"mainTextColorLight2",w:4,h:4,..._};if((null==M?void 0:M.length)>0&&Y.length>=2&&(null==M||M.forEach((e,l)=>{let t=Y.findIndex(l=>l[s]===e);if(-1!==t){let e=H?Y[t]:Y.splice(t,1)[0];e._isPinned=!H,e._pinLabel=(null==V?void 0:V[l])||"",H||Y.splice(l,0,e)}})),U&&!D&&A)return(0,o.jsx)(MobileTable,{keyName:s,filteredItems:Y,columns:l,mobileClickBtnLabel:E,onClick:W});let er=null==Y?void 0:Y.map((e,t)=>{var i;return(0,o.jsxs)(u.k,{justify:"space-between",align:"center",fontWeight:"semibold",fontSize:"sm",cursor:W?"pointer":void 0,py:2.5,pl:4,pr:4,border:P?"1px solid ".concat(e._pinLabel?N.colors.mainTextColorLightAlpha:N.colors.primary[600]):void 0,minW:"fit-content",w:"full",borderRadius:8,onClick:W?l=>{var t;if(!(l&&(null==l?void 0:null===(t=l.target)||void 0===t?void 0:t.id.startsWith("popover-"))))return W(e,l)}:void 0,_hover:{bgColor:"primary.850"},position:"relative",children:[e._pinLabel&&(0,o.jsx)(a.C,{textTransform:"capitalize",borderRadius:"50px",px:"8px",fontWeight:"normal",bgColor:"mainTextColor",color:"contrastMainTextColor",w:"fit-content",mr:"1",position:"absolute",top:"-10px",left:"-10px",children:e._pinLabel}),l.map((l,i)=>{let{value:r,field:n}=l;return(0,o.jsx)(p.xu,{"data-col":n,children:r(e,t)},i)})]},null!==(i=e[s])&&void 0!==i?i:t)}),en=F?(0,o.jsx)(u.k,{justify:"space-between",align:"center",fontWeight:"semibold",fontSize:"sm",cursor:W?"pointer":void 0,py:2.5,pl:4,pr:4,border:P?"1px solid ".concat(N.colors.primary[600]):void 0,minW:"fit-content",w:"full",borderRadius:8,_hover:{bgColor:"primary.850"},children:l.map((e,l)=>{let{field:t,totalValue:i,totalField:r,value:n}=e;return(0,o.jsx)(p.xu,{"data-col":t,children:i||t!==s?(i||defaultTotalValue)(r||t,Y):(0,o.jsx)(d.x,{children:"Totals"})},l)})}):null,es=0===Y.length&&!!t&&(0,o.jsx)(g.$J,{description:t,alertProps:{w:"full",color:"secondaryTextColor",fontSize:"12px"}});return(0,o.jsxs)(x.K,{w:"full",spacing:1,overflowX:{base:"auto",lg:"visible"},"data-sort-by":O,"data-sort-dir":$,...K,children:[B&&(0,o.jsx)(u.k,{w:"full",fontSize:"11px",fontWeight:"semibold",justify:"space-between",textTransform:"capitalize",pb:P?4:2,pl:4,pr:4,children:l.map((e,t)=>{var r,s;let a=e.header,d=e.filterItemRenderer,c=(0,y.uw)(null==et?void 0:et.map(l=>{var t;let o=null===(t=l[e.field])||void 0===t?void 0:t.toString(),i=(0,v.isAddress)(o)?(0,j.b1)(o):o;return{value:o,label:i||""}}),(e,l)=>e.value===l.value);return(0,o.jsx)(a,{children:(0,o.jsxs)(p.xu,{"data-testid":"".concat(f.z.colHeaderBox,"-").concat(e.field),display:"inline-flex",fontWeight:O===e.field?"bold":"normal",alignItems:"center",color:"primary.300",...I,children:[e.tooltip?(0,o.jsx)(h.xy,{iconProps:{fontSize:"12px",mr:"1",color:"mainTextColorLight2"},zIndex:"2",message:e.tooltip,size:"small"}):null,(0,o.jsxs)(n.g,{alignItems:0===t?"flex-start":t===l.length-1?"flex-end":"center",justifyContent:"flex-start",cursor:"pointer",children:[(0,o.jsxs)(p.xu,{"data-testid":"".concat(f.z.colHeaderText,"-").concat(e.field),onClick:l=>{if(!(l&&l.target.id.startsWith("popover-")))return toggleSort(e)},userSelect:"none",position:"relative",color:"mainTextColorLight2",fontSize:"12px",...e.boxProps,children:[e.label,O===e.field?(0,o.jsx)(p.xu,{position:"absolute",display:"inline-block",right:"-14px",children:"desc"===$?(0,o.jsx)(i.v4,{...ei,color:null===(r=e.boxProps)||void 0===r?void 0:r.color}):(0,o.jsx)(i.g8,{...ei,color:null===(s=e.boxProps)||void 0===s?void 0:s.color})}):null]}),e.showFilter&&(0,o.jsx)(b.F,{color:"secondaryTextColor",list:c,textTransform:"capitalize",w:e.filterWidth,p:"0",allowUnlisted:!1,showChevron:!1,inputProps:{p:"0"},defaultValue:G[e.field],itemRenderer:e.filterItemRenderer?l=>(0,o.jsx)(d,{[e.field]:l}):void 0,onItemSelect:l=>{Q({...G,[e.field]:""===l.value?null:l.value})}}),el&&!e.showFilter&&!e.customSubheader&&(0,o.jsx)(p.xu,{w:"full",cursor:"default",h:"40px",children:"\xa0"}),!!e.customSubheader&&e.customSubheader]})]})},t)})}),P?(0,o.jsxs)(n.g,{mt:P?"0 !important":void 0,w:"full",spacing:P?"4":"0",children:[er,en,es]}):(0,o.jsxs)(o.Fragment,{children:[er,en,es]})]})}}}]);
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.