diff --git a/src/main/resources/freemarker/templates/generated/main.js b/src/main/resources/freemarker/templates/generated/main.js index d91f4249..164bc6e3 100644 --- a/src/main/resources/freemarker/templates/generated/main.js +++ b/src/main/resources/freemarker/templates/generated/main.js @@ -1 +1 @@ -!function(){"use strict";var e={552:function(e,n,r){var i=r(1477),t=r(5741),a=(r(9220),r(4685)),o=r(3457),c=r(3710);function l(e){var n=[];return Object.keys(e.providers).forEach(function(r){var i=e.providers[r].sources;void 0!==i&&Object.keys(i).length>0?Object.keys(i).forEach(function(e){n.push({provider:r,source:e,report:i[e]})}):"trusted-content"!==r&&n.push({provider:r,source:r,report:{}})}),n.sort(function(e,n){return 0===Object.keys(e.report).length&&0===Object.keys(n.report).length?1:Object.keys(n.report).length-Object.keys(e.report).length})}function s(e){var n,r;if(!e||!e.provider)return"unknown";var i=null!==(n=e.provider)&&void 0!==n?n:"unknown";return i===(null!==(r=e.source)&&void 0!==r?r:"unknown")?i:"".concat(e.provider,"/").concat(e.source)}function d(e){var n;return!(!e.remediation||!(e.remediation.fixedIn||null!==(n=e.remediation)&&void 0!==n&&n.trustedContent))}function u(e){var n=[];return e.map(function(e){return{dependencyRef:e.ref,vulnerabilities:e.issues||[]}}).forEach(function(e){var r;null===(r=e.vulnerabilities)||void 0===r||r.forEach(function(r){r.cves&&r.cves.length>0?r.cves.forEach(function(i){n.push({id:i,dependencyRef:e.dependencyRef,vulnerability:r})}):n.push({id:r.id,dependencyRef:e.dependencyRef,vulnerability:r})})}),n.sort(function(e,n){return n.vulnerability.cvssScore-e.vulnerability.cvssScore})}var h=r(9292),g=r(6180),v=r(9341),p=r(3844),x=r(2881),f=r(4900),m=r(3144),j=r(2092),y=r(5767),I=r(4646),A=r(260),C=r(1352),b=r(3571),w=r(2995),N=r(9133),T=r(628),S=r(2972),M=r(8056),O=r(2008),E=r(481),P=["#800000","#FF0000","#FFA500","#5BA352"],D=function(e){var n,r,i,t,a,o=e.summary,c=null!==(n=null===o||void 0===o?void 0:o.critical)&&void 0!==n?n:0,l=null!==(r=null===o||void 0===o?void 0:o.high)&&void 0!==r?r:0,s=null!==(i=null===o||void 0===o?void 0:o.medium)&&void 0!==i?i:0,d=null!==(t=null===o||void 0===o?void 0:o.low)&&void 0!==t?t:0,u=null!==(a=null===o||void 0===o?void 0:o.total)&&void 0!==a?a:0,h=c+l+s+d>0,g=h?P:["#D5F5E3"],v=[{name:"Critical: ".concat(c),symbol:{type:"square",fill:P[0]}},{name:"High: ".concat(l),symbol:{type:"square",fill:P[1]}},{name:"Medium: ".concat(s),symbol:{type:"square",fill:P[2]}},{name:"Low: ".concat(d),symbol:{type:"square",fill:P[3]}}];return(0,E.jsx)("div",{children:(0,E.jsx)(j.b,{style:{paddingBottom:"inherit",padding:"0"},children:(0,E.jsx)(M.a,{children:(0,E.jsx)("div",{style:{height:"230px",width:"350px"},children:(0,E.jsx)(O.H,{constrainToVisibleArea:!0,data:h?[{x:"Critical",y:c},{x:"High",y:l},{x:"Medium",y:s},{x:"Low",y:d}]:[{x:"Empty",y:1e-10}],labels:function(e){var n=e.datum;return h?"".concat(n.x,": ").concat(n.y):"No vulnerabilities"},legendData:v,legendOrientation:"vertical",legendPosition:"right",padding:{left:20,right:140},subTitle:"Unique vulnerabilities",title:"".concat(u),width:350,colorScale:g})})})})})},k="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTJweCIgaGVpZ2h0PSIxM3B4IiB2aWV3Qm94PSIwIDAgMTIgMTMiIGlkPSJTZWN1cml0eUNoZWNrSWNvbiIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4KICAgIDx0aXRsZT5Db21iaW5lZCBTaGFwZTwvdGl0bGU+CiAgICA8ZyBpZD0iTXVsdGktdmVuZG9yIiBzdHJ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FogTTguNTQyNzc4ODMsMy4xMTc4MjY2NyBMNC43OTEyOTYxLDYuODkwODczNTMgTDMuMDM5ODEzMzgsNS4xMjkzMjQ0IEMyLjg4MzYwOSw0Ljk3MjIwNjgzIDIuNjMwMzI4MTIsNC45NzIyMDY4MyAyLjQ3NDEyMzc1LDUuMTI5MzI0NCBMMS45MDg0NDkzOCw1LjY5ODI2NTU2IEMxLjc1MjI0NTAxLDUuODU1MzgzMTIgMS43NTIyNDUwMSw2LjExMDEwNDQ5IDEuOTA4NDQ5MzgsNi4yNjcyMDY3MSBMNC41MDg0NTc5Nyw4Ljg4MjE1OTkxIEM0LjY2NDY0NzA4LDkuMDM5Mjc3NDcgNC45MTc5MTI3LDkuMDM5Mjc3NDcgNS4wNzQxMzIzMyw4Ljg4MjE3NTI1IEw5LjY3NDE0MjgyLDQuMjU1NzA4OTggQzkuODMwMzQ3Miw0LjA5ODU5MTQxIDkuODMwMzQ3MiwzLjg0Mzg3MDA0IDkuNjc0MTQyODIsMy42ODY3Njc4MiBMOS4xMDg0Njg0NiwzLjExNzgyNjY3IEM4Ljk1MjI2NDA4LDIuOTYwNzI0NDQgOC42OTg5ODMyLDIuOTYwNzI0NDQgOC41NDI3Nzg4MywzLjExNzgyNjY3IFoiIGlkPSJDb21iaW5lZC1TaGFwZSI+PC9wYXRoPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICAgICAgICAgICAgICA8L2c+CiAgICAgICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=",F=r(296),L=r(3029),B=r(2901),R="maven",z="https://central.sonatype.com/artifact/",Z="https://pkg.go.dev/",W="https://www.npmjs.com/package/",U="https://pypi.org/project/",V="pkg:",K=/%[0-9A-Fa-f]{2}/,G=function(e){var n="";return e.namespace&&(n=e.type===R?"".concat(e.namespace,":"):"".concat(e.namespace,"/")),n+="".concat(e.name)},Y=function(e,n){var r=re.fromString(e),i=G(r),t=r.version?decodeURIComponent(r.version):"";return n?i+"@".concat(t):i},Q=function(e){var n=re.fromString(e);if(n.qualifiers&&n.qualifiers.has("repository_url")){var r=decodeURIComponent(n.qualifiers.get("repository_url")||"");r.endsWith("/")&&(r=r.substring(0,r.length-1));var i=n.namespace;return i&&(i=i.replace(/\./g,"/")),"".concat(r,"/").concat(i,"/").concat(n.name,"/").concat(n.version)}var t=z;return n.namespace?"".concat(z).concat(n.namespace,"/").concat(n.name,"/").concat(n.version):t},H=function(e){var n=re.fromString(e);switch(n.type){case R:return"".concat(z).concat(n.namespace,"/").concat(n.name,"/").concat(n.version);case"golang":var r=n.version;return null!==r&&void 0!==r&&r.match(/v\d\.\d.\d-\d{14}-\w{12}/)?"".concat(Z).concat(n.namespace,"/").concat(n.name):"".concat(Z).concat(n.namespace,"/").concat(n.name,"@").concat(n.version);case"npm":return n.namespace?"".concat(W).concat(n.namespace,"/").concat(n.name,"/v/").concat(n.version):"".concat(W).concat(n.name,"/v/").concat(n.version);case"pypi":return n.namespace?"".concat(U).concat(n.namespace,"/").concat(n.name,"/").concat(n.version):"".concat(U).concat(n.name,"/").concat(n.version);case"deb":return"".concat("https://sources.debian.org/patches/").concat(n.name,"/").concat(n.version);case"cargo":return"".concat("https://crates.io/crates/").concat(n.name,"/").concat(n.version);default:return n.toString()}},X=function(e){var n=re.fromString(e).version;return n?decodeURIComponent(n):""},q=function(e,n){var r=re.fromString(e),i=encodeURIComponent(G(r));return n.remediationTemplate.replace("__PACKAGE_TYPE__",r.type).replace("__PACKAGE_NAME__",i).replace("__PACKAGE_VERSION__",r.version||"")},J=function(e){return e.toLowerCase().replace(/./,function(e){return e.toUpperCase()})},_=function(e){var n=$(e),r="";if(n.repository_url){var i=n.repository_url.indexOf("/");r+=-1!==i?n.repository_url.substring(i+1):""}else r+="".concat(n.short_name);return n.tag&&(r+=":".concat(n.tag)),r},$=function(e){var n=e.split("?"),r=n[0],i=n[1],t=new URLSearchParams(i),a=t.get("repository_url")||"",o=t.get("tag")||"",c=t.get("arch")||"",l=r.split("@");return{repository_url:a,tag:o,short_name:l[0].substring(l[0].indexOf("/")+1),version:r.substring(r.lastIndexOf("@")).replace("%3A",":"),arch:c}},ee=function(e,n,r,i){var t=l(n),a=i||"";for(var o in t){var c=t[o].report.dependencies;if(c){var s=Object.values(c).find(function(n){var r,i=n.ref,t=decodeURIComponent(i),a=(r=e,K.test(r)?decodeURIComponent(e):e);return re.fromString(t).toString()===re.fromString(a).toString()});if(s&&s.recommendation&&a){var d=decodeURIComponent(s.recommendation);if(void 0!==ne(d,r))return a+_(d)}}}return a},ne=function(e,n){var r=JSON.parse(n).find(function(n){return re.fromString(n.purl).toString()===re.fromString(e).toString()});return null===r||void 0===r?void 0:r.catalogUrl},re=function(){function e(n,r,i,t,a){(0,L.A)(this,e),this.type=void 0,this.namespace=void 0,this.name=void 0,this.version=void 0,this.qualifiers=void 0,this.type=n,this.namespace=r,this.name=i,this.version=t,this.qualifiers=a}return(0,B.A)(e,[{key:"toString",value:function(){var e=this.name;return this.version&&(e+="@".concat(this.version)),this.namespace?"".concat(V).concat(this.type,"/").concat(this.namespace,"/").concat(e):this.qualifiers?"".concat(V).concat(this.type,"/").concat(e,"?").concat(Array.from(this.qualifiers.entries()).map(function(e){var n=(0,F.A)(e,2),r=n[0],i=n[1];return"".concat(r,"=").concat(i)}).join("&")):"".concat(V).concat(this.type,"/").concat(e)}}],[{key:"fromString",value:function(n){var r,i,t=n.replace(V,""),a=t.indexOf("?");-1!==a&&(i=t.substring(a+1),t=t.substring(0,a));var o,c,l=t.substring(0,t.indexOf("/")),s=t.split("/");s.length>2&&(o=s.slice(1,s.length-1).join("/")),-1!==t.indexOf("@")&&(c=t.substring(t.indexOf("@")+1));var d=s[s.length-1];return c&&(d=d.substring(0,d.indexOf("@"))),new e(l,o,d,c,new Map((null===(r=i)||void 0===r?void 0:r.split("&").map(function(e){return e.split("=")}))||[]))}}])}(),ie={PERMISSIVE:"#0066CC",WEAK_COPYLEFT:"#3E8635",STRONG_COPYLEFT:"#F0AB00",UNKNOWN:"#C46100"},te={PERMISSIVE:"Permissive",WEAK_COPYLEFT:"Weak copyleft",STRONG_COPYLEFT:"Strong copyleft",UNKNOWN:"Unknown"};function ae(e){if(!e)return 1;switch(e.toUpperCase().replace(/-/g,"_")){case"PERMISSIVE":return 4;case"WEAK_COPYLEFT":return 3;case"STRONG_COPYLEFT":return 2;default:return 1}}var oe="#F0AB00";function ce(e){var n;if(!e)return te.UNKNOWN;var r=e.toUpperCase().replace(/-/g,"_");return null!==(n=te[r])&&void 0!==n?n:e}function le(e){var n;if(!e)return ie.UNKNOWN;var r=e.toUpperCase().replace(/-/g,"_");return null!==(n=ie[r])&&void 0!==n?n:ie.UNKNOWN}function se(e){var n;if(e){var r=e.toUpperCase().replace(/-/g,"_");n="PERMISSIVE"===r?"blue":"WEAK_COPYLEFT"===r?"green":"STRONG_COPYLEFT"===r?"yellow":"gray"}else n="gray";return n}var de=["PERMISSIVE","WEAK_COPYLEFT","STRONG_COPYLEFT","UNKNOWN"];function ue(e){if(!e)return de.length;var n=e.toUpperCase().replace(/-/g,"_"),r=de.indexOf(n);return r>=0?r:de.length}var he=function(e){var n,r,i,t,a,o=e.summary,c=null!==(n=o.permissive)&&void 0!==n?n:0,l=null!==(r=o.strongCopyleft)&&void 0!==r?r:0,s=null!==(i=o.unknown)&&void 0!==i?i:0,d=null!==(t=o.weakCopyleft)&&void 0!==t?t:0,u=null!==(a=o.total)&&void 0!==a?a:0,h=c+l+s+d>0,g=[{name:"Permissive: ".concat(c),symbol:{type:"square",fill:ie.PERMISSIVE}},{name:"Weak Copyleft: ".concat(d),symbol:{type:"square",fill:ie.WEAK_COPYLEFT}},{name:"Strong Copyleft: ".concat(l),symbol:{type:"square",fill:ie.STRONG_COPYLEFT}},{name:"Unknown: ".concat(s),symbol:{type:"square",fill:ie.UNKNOWN}}];return(0,E.jsx)("div",{children:(0,E.jsx)(j.b,{style:{paddingBottom:"inherit",padding:"0"},children:(0,E.jsx)(M.a,{children:(0,E.jsx)("div",{style:{height:"230px",width:"350px"},children:(0,E.jsx)(O.H,{constrainToVisibleArea:!0,data:h?[{x:"Permissive",y:c},{x:"Weak Copyleft",y:d},{x:"Strong Copyleft",y:l},{x:"Unknown",y:s}]:[{x:"Empty",y:1e-10}],labels:function(e){var n=e.datum;return h?"".concat(n.x,": ").concat(n.y):"No licenses"},legendData:g,legendOrientation:"vertical",legendPosition:"right",padding:{left:0,right:160},subTitle:"Total licenses",title:"".concat(u),width:350,colorScale:Object.values(ie)})})})})})},ge=r(4102),ve={width:"16px",height:"16px",verticalAlign:"middle"},pe="330px";var xe=function(e){var n,r,i=e.report,t=e.isReportMap,a=e.purl,d=Wn(),u=d.brandingConfig||{displayName:"Trustify",exploreUrl:"https://guac.sh/trustify/",exploreTitle:"Learn more about Trustify",exploreDescription:"The Trustify project is a collection of software components that enables you to store and retrieve Software Bill of Materials (SBOMs), and advisory documents.",imageRecommendation:"",imageRecommendationLink:""},M=Boolean(u.exploreTitle.trim().length>0)&&Boolean(u.exploreUrl.trim().length>0)&&Boolean(u.exploreDescription.trim().length>0),O=Boolean(t)&&u.imageRecommendation.trim().length>0&&u.imageRecommendationLink.trim().length>0,P=i.licenses||[],F=(null!==(n=i.licenses)&&void 0!==n?n:[]).filter(function(e){return e.summary.total>0}),L=null===(r=i.licenses)||void 0===r?void 0:r.find(function(e){return"SBOM"===e.status.name}),B=null===L||void 0===L?void 0:L.projectLicense,R=Boolean(B),z=function(){return(0,E.jsx)("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAON0lEQVR4nOxad1xTV/s/mYwQRkBWGCJDFERZgqCvoDhQKuKroghVpK2COIqK9VVrXWhx4oIiIKKoIAilIlgHqFAKssIeIeywQhIIWTfr97nxTX9IwVaI/et9Pp/7ObnPedb33vPc85xzghYIBAg0Gi0BExCPy1UsKytd3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tSOCz3nFSO3ZT2loM9N9SQG5unp2ZnW1Z2r85f4TfKp3E4CGR/wgDagpRQMBHwMNDbDVnTvHOXaFH5rvMf0PqPB1Bod0Nh2Wf3UGD8pcYEHs70cXOwaHoHwXwNj9/xbe7Q3MXuy9J333c/VFZx4GHHxpXZqiIlv1squ+ZQtDQ7WVyau3IA4l7h3nN0nM2eMJLOqUAHBydc6Pj4idVTkx5c/fooUOJuU+ztwYEboucv7bdkDr0dPPf0RvoRoAHZxUACqE+cDcl1Z5IJHZOxv+UAfB4PExYaGh2SfHvy9yWuqUv/ZJG4CDeuX9Mp+EdEuTEY4FEpMi5Gh3jae/o+Gay/v8vAAD//4wb/4wEdbX7AAAAAElFTkSuQmCC",alt:"Trustify Icon",style:ve})},Z=1+(F.length>0?1:0),W=Math.min(12,Math.max(1,Math.floor(12/Z))),U=1+Number(R)+Number(O)+Number(M);4===U&&(U=2);var V=Math.min(12,Math.max(1,Math.floor(12/U)));return(0,E.jsxs)(o.x,{hasGutter:!0,children:[(0,E.jsxs)(h.h,{headingLevel:"h3",size:h.J["2xl"],style:{paddingLeft:"15px"},children:[(0,E.jsx)(g.I,{isInline:!0,status:"info",children:(0,E.jsx)(S.Ay,{style:{fill:"#f0ab00"}})}),"\xa0",u.displayName," overview of security issues"]}),(0,E.jsx)(v.c,{}),(0,E.jsx)(c.E,{md:12,lg:W,children:(0,E.jsxs)(p.Z,{isFlat:!0,isFullHeight:!0,children:[(0,E.jsx)(x.a,{children:(0,E.jsx)(f.Z,{children:(0,E.jsx)(m.X,{style:{fontSize:"large"},children:t?(0,E.jsxs)(E.Fragment,{children:[a?_(a):"No Image name"," - Vendor Issues"]}):(0,E.jsx)(E.Fragment,{children:"Vendor Issues"})})})}),(0,E.jsxs)(j.b,{children:[(0,E.jsx)(y.W,{children:(0,E.jsx)(I.d,{children:(0,E.jsx)(m.X,{children:"Below is a list of dependencies affected with CVE."})})}),(0,E.jsx)(A.B,{isAutoFit:!0,style:{paddingTop:"10px",gridTemplateColumns:"repeat(auto-fit, minmax(min(100%, ".concat(pe,"), 1fr))")},children:l(i).map(function(e,n){return(0,E.jsxs)(y.W,{style:{display:"flex",flexDirection:"column",alignItems:"center",minWidth:0},children:[(0,E.jsx)(m.X,{style:{fontSize:"large"},children:s(e)}),(0,E.jsx)(I.d,{children:(0,E.jsx)(D,{summary:e.report.summary})})]},n)})})]}),(0,E.jsx)(v.c,{})]})}),F.length>0&&(0,E.jsx)(c.E,{md:12,lg:W,children:(0,E.jsxs)(p.Z,{isFlat:!0,isFullHeight:!0,children:[(0,E.jsx)(x.a,{children:(0,E.jsx)(f.Z,{children:(0,E.jsx)(m.X,{style:{fontSize:"large"},children:"License Summary"})})}),(0,E.jsx)(j.b,{children:(0,E.jsx)(A.B,{isAutoFit:!0,style:{paddingTop:"30px",gridTemplateColumns:"repeat(auto-fit, minmax(min(100%, ".concat(pe,"), 1fr))")},children:F.map(function(e,n){return(0,E.jsxs)(y.W,{style:{display:"flex",flexDirection:"column",alignItems:"center",minWidth:0},children:[(0,E.jsx)(m.X,{style:{fontSize:"large"},children:e.status.name||"Unknown"}),(0,E.jsx)(I.d,{children:(0,E.jsx)(he,{summary:e.summary})})]},n)})})})]})}),(0,E.jsxs)(c.E,{md:V,children:[(0,E.jsx)(p.Z,{isFlat:!0,isFullHeight:!0,children:(0,E.jsxs)(y.W,{children:[(0,E.jsx)(f.Z,{component:"h4",children:(0,E.jsxs)(m.X,{style:{fontSize:"large"},children:[z(),"\xa0",u.displayName," Dependency Remediations"]})}),(0,E.jsx)(j.b,{children:(0,E.jsx)(I.d,{children:(0,E.jsx)(C.B8,{isPlain:!0,children:l(i).map(function(e,n){var r=e&&e.source&&e.provider?e.source===e.provider?e.provider:"".concat(e.provider,"/").concat(e.source):"default_value";return Object.keys(e.report).length>0?(0,E.jsxs)(b.c,{children:[(0,E.jsx)(g.I,{isInline:!0,status:"success",children:(0,E.jsx)("img",{src:k,alt:"Security Check Icon"})}),"\xa0",e.report.summary.remediations," remediations are available for ",r]}):(0,E.jsxs)(b.c,{children:[(0,E.jsx)(g.I,{isInline:!0,status:"success",children:(0,E.jsx)("img",{src:k,alt:"Security Check Icon"})}),"\xa0 There are no available remediations for your SBOM at this time for ",e.provider]})})})})})]})}),"\xa0"]}),R&&B&&(0,E.jsxs)(c.E,{md:V,children:[(0,E.jsx)(p.Z,{isFlat:!0,isFullHeight:!0,children:(0,E.jsxs)(y.W,{children:[(0,E.jsx)(f.Z,{component:"h4",children:(0,E.jsxs)(m.X,{style:{fontSize:"large"},children:["Project License ",(0,E.jsx)(w.o,{children:(0,E.jsx)(N.J,{color:se(B.category),children:B.expression||B.name||"\u2014"})})]})}),(0,E.jsx)(j.b,{children:(0,E.jsxs)(I.d,{children:[(0,E.jsx)(y.W,{children:(0,E.jsx)(m.X,{children:"License incompatibilities"})}),(0,E.jsx)(C.B8,{isPlain:!0,children:P.map(function(e,n){var r=function(e,n){for(var r=0,i=ae(n),t=0,a=Object.values(e);t=400||Object.keys(e.warnings).length>0},i=Object.keys(n.providers).map(function(e){return n.providers[e].status}).filter(function(e){return!e.ok||r(e)}),t=function(e){return e.ok&&!r(e)?fe.w.info:e.code>=500?fe.w.danger:fe.w.warning},a=function(e){var n=e.message;return e.ok&&r(e)?"".concat(J(e.name),": ").concat(Object.keys(e.warnings).length," package(s) could not be analyzed"):"".concat(J(e.name),": ").concat(n)};return(0,E.jsx)(E.Fragment,{children:i.map(function(e,n){return(0,E.jsx)(fe.F,{variant:t(e),title:a(e)},n)})})},je=r(6334),ye=r(4248),Ie=r(4471),Ae=r(9379),Ce=r(8380),be=r(1417),we=r(7066),Ne=r(2227),Te=r(99),Se=r(1792),Me=r(3093),Oe=r(297),Ee=r(4072),Pe=r(7172),De=r(8516),ke=r(8579),Fe=r(9205),Le=r(8099),Be=r(4785),Re=r(4224),ze=r(5772),Ze=r(4593),We=r(8480),Ue=r(5458),Ve=r(4546),Ke=function(e){return e[e.SET_PAGE=0]="SET_PAGE",e[e.SET_SORT_BY=1]="SET_SORT_BY",e}(Ke||{}),Ge={changed:!1,currentPage:{page:1,perPage:10},sortBy:void 0},Ye=function(e,n){switch(n.type){case Ke.SET_PAGE:var r=n.payload;return(0,Ae.A)((0,Ae.A)({},e),{},{changed:!0,currentPage:{page:r.page,perPage:r.perPage}});case Ke.SET_SORT_BY:var i=n.payload;return(0,Ae.A)((0,Ae.A)({},e),{},{changed:!0,sortBy:{index:i.index,direction:i.direction}});default:return e}},Qe=r(2514),He=r(3842),Xe=function(e){var n,r=e.count,i=e.params,t=e.isTop,a=e.perPageOptions,o=e.onChange,c=function(){return i.perPage||10};return(0,E.jsx)(Qe.d,{itemCount:r,page:i.page||1,perPage:c(),onPageInput:function(e,n){o({page:n,perPage:c()})},onSetPage:function(e,n){o({page:n,perPage:c()})},onPerPageSelect:function(e,n){o({page:1,perPage:n})},widgetId:"pagination-options-menu",variant:t?Qe.A.top:Qe.A.bottom,perPageOptions:(n=a||[10,20,50,100],n.map(function(e){return{title:String(e),value:e}})),toggleTemplate:function(e){return(0,E.jsx)(He.D,(0,Ae.A)({},e))}})},qe=r(9694),Je=r(6911),_e=r(6464),$e=r(1413),en=function(e){var n=e.numRenderedColumns,r=e.isLoading,i=void 0!==r&&r,t=e.isError,a=void 0!==t&&t,o=e.isNoData,c=void 0!==o&&o,l=e.errorEmptyState,s=void 0===l?null:l,d=e.noDataEmptyState,u=void 0===d?null:d,g=e.children,v=(0,E.jsxs)(Se.p,{variant:Se.s.sm,children:[(0,E.jsx)(Oe.q,{icon:_e.Ay,color:$e.D.value}),(0,E.jsx)(h.h,{headingLevel:"h2",size:"lg",children:"Unable to connect"}),(0,E.jsx)(Ee.h,{children:"There was an error retrieving data. Check your connection and try again."})]}),p=(0,E.jsxs)(Se.p,{variant:Se.s.sm,children:[(0,E.jsx)(Oe.q,{icon:Je.Ay}),(0,E.jsx)(h.h,{headingLevel:"h2",size:"lg",children:"No data available"}),(0,E.jsx)(Ee.h,{children:"No data available to be shown here."})]});return(0,E.jsx)(E.Fragment,{children:i?(0,E.jsx)(Be.N,{children:(0,E.jsx)(Fe.Tr,{children:(0,E.jsx)(Re.Td,{colSpan:n,children:(0,E.jsx)(M.a,{children:(0,E.jsx)(qe.y,{size:"xl"})})})})}):a?(0,E.jsx)(Be.N,{"aria-label":"Table error",children:(0,E.jsx)(Fe.Tr,{children:(0,E.jsx)(Re.Td,{colSpan:n,children:(0,E.jsx)(M.a,{children:s||v})})})}):c?(0,E.jsx)(Be.N,{"aria-label":"Table no data",children:(0,E.jsx)(Fe.Tr,{children:(0,E.jsx)(Re.Td,{colSpan:n,children:(0,E.jsx)(M.a,{children:u||p})})})}):g})};function nn(e){var n=e.name,r=e.items,t=e.getRowKey,a=e.columns,o=e.filterConfig,c=e.compareToByColumn,l=e.filterItem,s=e.renderExpandContent,d=e.ariaLabelPrefix,u=void 0===d?"Table":d,h=e.expandId,g=void 0===h?"compound-expand-table":h,v=e.defaultExpanded,x=void 0===v?{}:v,f=e.initialSortBy,m=(0,i.useState)(""),y=(0,F.A)(m,2),I=y[0],A=y[1],C=function(e){var n=(0,i.useReducer)(Ye,(0,Ae.A)((0,Ae.A)({},Ge),{},{currentPage:e&&e.page?(0,Ae.A)({},e.page):(0,Ae.A)({},Ge.currentPage),sortBy:e&&e.sortBy?(0,Ae.A)({},e.sortBy):Ge.sortBy})),r=(0,F.A)(n,2),t=r[0],a=r[1],o=(0,i.useCallback)(function(e){var n;a({type:Ke.SET_PAGE,payload:{page:e.page>=1?e.page:1,perPage:null!==(n=e.perPage)&&void 0!==n?n:Ge.currentPage.perPage}})},[]),c=(0,i.useCallback)(function(e,n,r,i){a({type:Ke.SET_SORT_BY,payload:{index:n,direction:r}})},[]);return{page:t.currentPage,sortBy:t.sortBy,changePage:o,changeSortBy:c}}(f?{sortBy:f}:void 0),b=C.page,w=C.sortBy,N=C.changePage,T=C.changeSortBy,S=function(e){var n=e.items,r=e.currentSortBy,t=e.currentPage,a=e.filterItem,o=e.compareToByColumn;return(0,i.useMemo)(function(){var e,i=(0,Ue.A)(n||[]).filter(a),c=!1;return e=(0,Ue.A)(i).sort(function(e,n){var i=o(e,n,null===r||void 0===r?void 0:r.index);return 0!==i&&(c=!0),i}),c&&(null===r||void 0===r?void 0:r.direction)===Ve.l.desc&&(e=e.reverse()),{pageItems:e.slice((t.page-1)*t.perPage,t.page*t.perPage),filteredItems:i}},[n,t,r,o,a])}({items:r,currentPage:b,currentSortBy:w,compareToByColumn:c,filterItem:function(e){return l(e,I)}}),M=S.pageItems,O=S.filteredItems,P=(0,i.useState)(x),D=(0,F.A)(P,2),k=D[0],L=D[1],B=function(e,n,r,i){return{isExpanded:k[t(e)]===n,onToggle:function(){return function(e,n){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=t(e),a=(0,Ae.A)({},k);r?a[i]=n:delete a[i],L(a)}(e,n,k[t(e)]!==n)},expandId:g,rowIndex:r,columnIndex:i}},R=a.length;return(0,E.jsx)(p.Z,{children:(0,E.jsx)(j.b,{children:(0,E.jsxs)("div",{style:{backgroundColor:"var(--pf-v5-global--BackgroundColor--100)"},children:[(0,E.jsx)(Ce.M,{children:(0,E.jsxs)(be.P,{children:[(0,E.jsx)(we.h,{toggleIcon:(0,E.jsx)(Ze.Ay,{}),breakpoint:"xl",children:(0,E.jsx)(Ne.T,{variant:"search-filter",children:(0,E.jsx)(Te.D,{id:n+o.idSuffix,style:{width:"250px"},placeholder:o.placeholder,value:I,onChange:function(e,n){return A(n)},onClear:function(){return A("")}})})}),(0,E.jsx)(Ne.T,{variant:Ne.U.pagination,align:{default:"alignRight"},children:(0,E.jsx)(Xe,{isTop:!0,count:O.length,params:b,onChange:N})})]})}),(0,E.jsxs)(Pe.X,{"aria-label":(null!==n&&void 0!==n?n:u)+" table",variant:De.a.compact,children:[(0,E.jsx)(ke.d,{children:(0,E.jsx)(Fe.Tr,{children:a.map(function(e,n){return(0,E.jsx)(Le.Th,{width:e.width,sort:null!=e.sortIndex?{columnIndex:e.sortIndex,sortBy:(0,Ae.A)({},w),onSort:T}:void 0,children:e.header},e.key)})})}),(0,E.jsx)(en,{isNoData:0===O.length,numRenderedColumns:R,noDataEmptyState:(0,E.jsxs)(Se.p,{variant:Se.s.sm,children:[(0,E.jsx)(Me.o,{icon:(0,E.jsx)(Oe.q,{icon:We.Ay}),titleText:"No results found",headingLevel:"h2"}),(0,E.jsx)(Ee.h,{children:"Clear all filters and try again."})]}),children:null===M||void 0===M?void 0:M.map(function(e,n){var r,i=t(e),o=k[i],c=!!o;return(0,E.jsxs)(Be.N,{isExpanded:c,children:[(0,E.jsx)(Fe.Tr,{children:a.map(function(r,i){return(0,E.jsx)(Re.Td,{width:r.width,dataLabel:r.header,component:0===i?"th":void 0,compoundExpand:r.compoundExpand?B(e,r.key,n,i):void 0,children:r.render(e)},r.key)})}),c&&o?(0,E.jsx)(Fe.Tr,{isExpanded:!0,children:(0,E.jsx)(Re.Td,{dataLabel:null===(r=a.find(function(e){return e.key===o}))||void 0===r?void 0:r.header,noPadding:!0,colSpan:R,children:(0,E.jsx)(ze.g,{children:(0,E.jsx)("div",{className:"pf-v5-u-m-md",children:s(e,o)})})})}):null]},i)})})]}),(0,E.jsx)(Xe,{isTop:!1,count:O.length,params:b,onChange:N})]})})})}var rn=function(e){var n=e.name,r=e.showVersion,i=void 0!==r&&r;return(0,E.jsx)(E.Fragment,{children:(0,E.jsx)("a",{href:H(n),target:"_blank",rel:"noreferrer",children:Y(n,i)})})},tn=function(e){var n=e.packageName;e.cves;return(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)(g.I,{isInline:!0,status:"success",children:(0,E.jsx)("img",{src:k,alt:"Security Check Icon"})}),"\xa0",(0,E.jsx)("a",{href:Q(n),target:"_blank",rel:"noreferrer",children:X(n)})]})},an=function(e){var n,r,i,t=e.packageRef,a=e.vulnerability,o=Wn();return(0,E.jsx)(E.Fragment,{children:null===(null===(n=a.remediation)||void 0===n?void 0:n.fixedIn)||0===(null===(r=a.remediation)||void 0===r||null===(i=r.fixedIn)||void 0===i?void 0:i.length)?(0,E.jsx)("p",{}):(0,E.jsx)("a",{href:q(t,o),target:"_blank",rel:"noreferrer",children:a.id})})},on=r(8559),cn=r(7540),ln=r(8762),sn=r(974),dn=function(e){var n,r=e.vulnerability;switch(r.severity){case"CRITICAL":n="bar-critical";break;case"HIGH":n="bar-high";break;case"MEDIUM":n="bar-medium";break;case"LOW":n="bar-low";break;default:n="bar-default"}return(0,E.jsx)(E.Fragment,{children:(0,E.jsx)(on.B,{hasGutter:!0,children:(0,E.jsx)(cn.o,{isFilled:!0,children:(0,E.jsx)(ln.k,{title:"".concat(r.cvssScore,"/10"),"aria-label":"cvss-score",value:r.cvssScore,min:0,max:10,size:ln.j.sm,measureLocation:sn.Ri.none,className:"".concat(n)})})})})},un=function(e){var n,r=e.vulnerability;switch(r.severity){case"CRITICAL":n="#800000";break;case"HIGH":n="#FF0000";break;case"MEDIUM":n="#FFA500";break;case"LOW":n="#5BA352";break;default:n="grey"}return(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)(g.I,{isInline:!0,children:(0,E.jsx)(ge.Ay,{style:{fill:n,height:"13px"}})}),"\xa0",J(r.severity)]})},hn=function(e){var n,r,i=e.id,t=Wn();return(0,E.jsx)("a",{href:(n=i,r=t,r.cveIssueTemplate.replace("__ISSUE_ID__",n)),target:"_blank",rel:"noreferrer",children:i})},gn=r(4486),vn=function(e){var n=e.title,r=i.useState(!1),t=(0,F.A)(r,2),a=t[0],o=t[1];return(0,E.jsx)(gn.Q,{variant:gn.J.truncate,toggleText:a?"Show less":"Show more",onToggle:function(e,n){o(n)},isExpanded:a,children:n||"-"})},pn=function(e){var n,r,i,t,a,o=e.item,c=(e.providerName,e.rowIndex);return a=o.vulnerability.cves&&o.vulnerability.cves.length>0?o.vulnerability.cves:[o.vulnerability.id],(0,E.jsxs)(Fe.Tr,{children:[(0,E.jsx)(Re.Td,{children:a.map(function(e,n){return(0,E.jsx)("p",{children:(0,E.jsx)(hn,{id:e})},n)})}),(0,E.jsx)(Re.Td,{children:(0,E.jsx)(vn,{title:o.vulnerability.title})}),(0,E.jsx)(Re.Td,{noPadding:!0,children:(0,E.jsx)(un,{vulnerability:o.vulnerability})}),(0,E.jsx)(Re.Td,{children:(0,E.jsx)(dn,{vulnerability:o.vulnerability})}),(0,E.jsx)(Re.Td,{children:(0,E.jsx)(rn,{name:o.dependencyRef,showVersion:!0})}),(0,E.jsx)(Re.Td,{children:null!==(n=o.vulnerability.remediation)&&void 0!==n&&n.trustedContent?(0,E.jsx)(tn,{cves:o.vulnerability.cves||[],packageName:null===(r=o.vulnerability.remediation)||void 0===r||null===(i=r.trustedContent)||void 0===i?void 0:i.ref},c):null!==(t=o.vulnerability.remediation)&&void 0!==t&&t.fixedIn?(0,E.jsx)(an,{packageRef:o.dependencyRef,vulnerability:o.vulnerability}):d(o.vulnerability)?null:(0,E.jsx)("span",{})})]},c)},xn=function(e){var n=e.providerName,r=e.transitiveDependencies;return(0,E.jsx)(p.Z,{style:{backgroundColor:"var(--pf-v5-global--BackgroundColor--100)"},children:(0,E.jsxs)(Pe.X,{variant:De.a.compact,"aria-label":(null!==n&&void 0!==n?n:"Default")+" transitive vulnerabilities",children:[(0,E.jsx)(ke.d,{children:(0,E.jsxs)(Fe.Tr,{children:[(0,E.jsx)(Le.Th,{width:15,children:"Vulnerability ID"}),(0,E.jsx)(Le.Th,{width:20,children:"Description"}),(0,E.jsx)(Le.Th,{width:10,children:"Severity"}),(0,E.jsx)(Le.Th,{width:15,children:"CVSS Score"}),(0,E.jsx)(Le.Th,{width:20,children:"Transitive Dependency"}),(0,E.jsx)(Le.Th,{width:20,children:"Remediation"})]})}),(0,E.jsx)(en,{isNoData:0===r.length,numRenderedColumns:7,children:u(r).map(function(e,r){return(0,E.jsx)(Be.N,{children:(0,E.jsx)(pn,{item:e,providerName:n,rowIndex:r})},r)})})]})})},fn=function(e){var n=e.providerName,r=e.dependency,i=e.vulnerabilities;return(0,E.jsx)(p.Z,{style:{backgroundColor:"var(--pf-v5-global--BackgroundColor--100)"},children:(0,E.jsxs)(Pe.X,{variant:De.a.compact,"aria-label":(null!==n&&void 0!==n?n:"Default")+" direct vulnerabilities",children:[(0,E.jsx)(ke.d,{children:(0,E.jsxs)(Fe.Tr,{children:[(0,E.jsx)(Le.Th,{width:15,children:"Vulnerability ID"}),(0,E.jsx)(Le.Th,{width:20,children:"Description"}),(0,E.jsx)(Le.Th,{width:10,children:"Severity"}),(0,E.jsx)(Le.Th,{width:15,children:"CVSS Score"}),(0,E.jsx)(Le.Th,{width:20,children:"Direct Dependency"}),(0,E.jsx)(Le.Th,{width:20,children:"Remediation"})]})}),(0,E.jsx)(en,{isNoData:0===i.length,numRenderedColumns:6,children:null===i||void 0===i?void 0:i.map(function(e,i){var t=[];return e.cves&&e.cves.length>0?e.cves.forEach(function(e){return t.push(e)}):e.unique&&t.push(e.id),(0,E.jsx)(Be.N,{children:t.map(function(t,a){return(0,E.jsx)(pn,{item:{id:e.id,dependencyRef:r.ref,vulnerability:e},providerName:n,rowIndex:i},"".concat(i,"-").concat(a))})},i)})})]})})},mn=r(1640),jn=function(e){var n=e.vulnerabilities,r=void 0===n?[]:n,i=e.transitiveDependencies,t=void 0===i?[]:i,a={CRITICAL:0,HIGH:0,MEDIUM:0,LOW:0};return r.length>0?r.forEach(function(e){var n=e.severity;a.hasOwnProperty(n)&&a[n]++}):null===t||void 0===t||t.forEach(function(e){var n;null===(n=e.issues)||void 0===n||n.forEach(function(e){var n=e.severity;a.hasOwnProperty(n)&&a[n]++})}),(0,E.jsxs)(mn.Z,{children:[a.CRITICAL>0&&(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)(g.I,{isInline:!0,children:(0,E.jsx)(ge.Ay,{style:{fill:"#800000",height:"13px"}})}),"\xa0",a.CRITICAL,"\xa0"]}),a.HIGH>0&&(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)(g.I,{isInline:!0,children:(0,E.jsx)(ge.Ay,{style:{fill:"#FF0000",height:"13px"}})}),"\xa0",a.HIGH,"\xa0"]}),a.MEDIUM>0&&(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)(g.I,{isInline:!0,children:(0,E.jsx)(ge.Ay,{style:{fill:"#FFA500",height:"13px"}})}),"\xa0",a.MEDIUM,"\xa0"]}),a.LOW>0&&(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)(g.I,{isInline:!0,children:(0,E.jsx)(ge.Ay,{style:{fill:"#5BA352",height:"13px"}})}),"\xa0",a.LOW]})]})},yn=function(e){var n,r,i=e.dependency,t=null===(n=i.issues)||void 0===n?void 0:n.some(function(e){return d(e)}),a=(null===(r=i.transitive)||void 0===r?void 0:r.some(function(e){var n;return null===(n=e.issues)||void 0===n?void 0:n.some(function(e){return d(e)})}))||!1;return(0,E.jsx)(E.Fragment,{children:t||a?"Yes":"No"})},In=function(e){var n=e.name,r=e.dependencies,i=[{key:"name",header:"Dependency Name",width:30,sortIndex:1,render:function(e){return(0,E.jsx)(rn,{name:e.ref})}},{key:"version",header:"Current Version",width:15,render:function(e){return X(e.ref)}},{key:"direct",header:"Direct Vulnerabilities",width:15,compoundExpand:!0,render:function(e){var n,r;return null!==(n=e.issues)&&void 0!==n&&n.length?(0,E.jsxs)("div",{style:{display:"flex",alignItems:"center"},children:[(0,E.jsx)("div",{style:{width:"25px"},children:null===(r=e.issues)||void 0===r?void 0:r.length}),(0,E.jsx)(v.c,{orientation:{default:"vertical"},style:{paddingRight:"10px"}}),(0,E.jsx)(jn,{vulnerabilities:e.issues})]}):0}},{key:"transitive",header:"Transitive Vulnerabilities",width:15,compoundExpand:!0,render:function(e){var n;return null!==(n=e.transitive)&&void 0!==n&&n.length?(0,E.jsxs)("div",{style:{display:"flex",alignItems:"center"},children:[(0,E.jsx)("div",{style:{width:"25px"},children:e.transitive.map(function(e){var n;return null===(n=e.issues)||void 0===n?void 0:n.length}).reduce(function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)+(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0)})}),(0,E.jsx)(v.c,{orientation:{default:"vertical"},style:{paddingRight:"10px"}}),(0,E.jsx)(jn,{transitiveDependencies:e.transitive})]}):0}},{key:"rhRemediation",header:"Remediation available",width:15,render:function(e){return(0,E.jsx)(yn,{dependency:e})}}];return(0,E.jsx)(nn,{name:n,items:r,getRowKey:function(e){return e.ref},columns:i,filterConfig:{placeholder:"Filter by Dependency name",idSuffix:"-dependency-filter"},compareToByColumn:function(e,n,r){return 1===r?e.ref.localeCompare(n.ref):0},filterItem:function(e,n){var r,i;return!!(null!==(r=e.issues)&&void 0!==r&&r.length||null!==(i=e.transitive)&&void 0!==i&&i.length)&&(!n||0===n.trim().length||-1!==e.ref.toLowerCase().indexOf(n.toLowerCase()))},renderExpandContent:function(e,r){var i,t;return"direct"===r&&null!==(i=e.issues)&&void 0!==i&&i.length?(0,E.jsx)(fn,{providerName:n,dependency:e,vulnerabilities:e.issues}):"transitive"===r&&null!==(t=e.transitive)&&void 0!==t&&t.length?(0,E.jsx)(xn,{providerName:n,transitiveDependencies:e.transitive}):null},ariaLabelPrefix:"Dependencies",expandId:"compound-expandable-example",defaultExpanded:{"siemur/test-space":"name"}})},An=de;var Cn=function(e){var n=e.evidence,r=void 0===n?[]:n,t=e.countBy,a="identifiers"===(void 0===t?"evidence":t)?function(e){var n={PERMISSIVE:0,WEAK_COPYLEFT:0,STRONG_COPYLEFT:0,UNKNOWN:0};return null===e||void 0===e||e.forEach(function(e){(e.identifiers||[]).forEach(function(e){var r=(e.category||"UNKNOWN").toUpperCase().replace(/-/g,"_");n.hasOwnProperty(r)?n[r]++:n.UNKNOWN++})}),n}(r):function(e){var n={PERMISSIVE:0,WEAK_COPYLEFT:0,STRONG_COPYLEFT:0,UNKNOWN:0};return null===e||void 0===e||e.forEach(function(e){var r=(e.category||"UNKNOWN").toUpperCase().replace(/-/g,"_");n.hasOwnProperty(r)?n[r]++:n.UNKNOWN++}),n}(r);return(0,E.jsx)(mn.Z,{children:An.map(function(e){return a[e]>0&&(0,E.jsxs)(i.Fragment,{children:[(0,E.jsx)(g.I,{isInline:!0,children:(0,E.jsx)(ge.Ay,{style:{fill:ie[e],height:"13px"}})}),"\xa0",a[e],"\xa0"]},e)})})},bn=function(e){var n=e.concluded;return(0,E.jsx)(p.Z,{style:{backgroundColor:"var(--pf-v5-global--BackgroundColor--100)"},children:(0,E.jsxs)(A.B,{children:[(0,E.jsxs)(y.W,{children:[(0,E.jsx)(m.X,{children:"License name"}),(0,E.jsx)(I.d,{children:n.name||"\u2014"})]}),(0,E.jsxs)(y.W,{children:[(0,E.jsx)(m.X,{children:"Expression"}),(0,E.jsx)(I.d,{children:n.expression||"\u2014"})]}),(0,E.jsxs)(y.W,{children:[(0,E.jsx)(m.X,{children:"Category"}),(0,E.jsx)(I.d,{children:n.category?ce(n.category):"\u2014"})]})]})})},wn=r(5435),Nn="Evidence",Tn="Expression",Sn="Identifiers",Mn="Category",On="Status";function En(e){var n,r=e.info,i=null!==(n=null===r||void 0===r?void 0:r.identifiers)&&void 0!==n?n:[],t=i.some(function(e){return!0===e.isDeprecated}),a=i.some(function(e){return!0===e.isOsiApproved}),o=i.some(function(e){return!0===e.isFsfLibre});return t||a||o?(0,E.jsxs)(wn.s,{gap:{default:"gapSm"},alignItems:{default:"alignItemsCenter"},children:[t&&(0,E.jsx)(mn.Z,{children:(0,E.jsx)("span",{title:"Deprecated identifier",children:(0,E.jsx)(g.I,{isInline:!0,children:(0,E.jsx)(ge.Ay,{style:{fill:oe,height:"13px"}})})})}),a&&(0,E.jsx)(mn.Z,{children:(0,E.jsx)("img",{src:"https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/open-source-initiative.svg",alt:"OSI Approved",title:"OSI Approved",style:{height:"1.1em",verticalAlign:"middle"}})}),o&&(0,E.jsx)(mn.Z,{children:(0,E.jsx)("img",{src:"https://www.gnu.org/graphics/fsf-logo-notext-small.png",alt:"FSF Libre",title:"FSF Free/Libre",style:{height:"1.1em",verticalAlign:"middle"}})})]}):(0,E.jsx)(E.Fragment,{children:"\u2014"})}var Pn=function(e){var n=e.evidence,r=void 0===n?[]:n,t=(0,i.useMemo)(function(){return(0,Ue.A)(r).sort(function(e,n){return ue(e.category)-ue(n.category)})},[r]);return(0,E.jsx)(p.Z,{style:{backgroundColor:"var(--pf-v5-global--BackgroundColor--100)"},children:(0,E.jsxs)(Pe.X,{variant:De.a.compact,"aria-label":"Evidence licenses",children:[(0,E.jsx)(ke.d,{children:(0,E.jsxs)(Fe.Tr,{children:[(0,E.jsx)(Le.Th,{width:30,children:Nn}),(0,E.jsx)(Le.Th,{width:20,children:Tn}),(0,E.jsx)(Le.Th,{width:25,children:Sn}),(0,E.jsx)(Le.Th,{width:15,children:Mn}),(0,E.jsx)(Le.Th,{width:10,children:On})]})}),(0,E.jsx)(en,{isNoData:0===t.length,numRenderedColumns:5,children:(0,E.jsx)(Be.N,{children:t.map(function(e,n){var r,i,t,a=e.name||(null===(r=e.identifiers)||void 0===r?void 0:r.map(function(e){return e.name||e.id}).join(", "))||e.expression||"\u2014",o=e.expression||"\u2014",c=null!==(i=null===(t=e.identifiers)||void 0===t?void 0:t.map(function(e){return e.id}))&&void 0!==i?i:[],l=e.category||"\u2014",s=le(e.category);return(0,E.jsxs)(Fe.Tr,{children:[(0,E.jsx)(Re.Td,{dataLabel:Nn,children:a}),(0,E.jsx)(Re.Td,{dataLabel:Tn,children:o}),(0,E.jsx)(Re.Td,{dataLabel:Sn,style:{whiteSpace:"pre-line"},children:c.length?c.join("\n"):"\u2014"}),(0,E.jsx)(Re.Td,{dataLabel:Mn,children:"\u2014"!==l?(0,E.jsxs)("span",{children:[(0,E.jsx)(g.I,{isInline:!0,children:(0,E.jsx)(ge.Ay,{style:{fill:s,height:"13px"}})}),"\xa0",ce(e.category)]}):"\u2014"}),(0,E.jsx)(Re.Td,{dataLabel:On,children:(0,E.jsx)(En,{info:e})})]},n)})})})]})})};var Dn=function(e){var n=e.name,r=function(e){return Object.entries(e||{}).map(function(e){var n=(0,F.A)(e,2),r=n[0],i=n[1];return{ref:r,concluded:i.concluded,evidence:i.evidence||[]}})}(e.dependencies),i=[{key:"name",header:"Dependency Name",width:30,sortIndex:1,render:function(e){return(0,E.jsx)(rn,{name:e.ref})}},{key:"version",header:"Current Version",width:15,render:function(e){return X(e.ref)}},{key:"concluded",header:"Concluded",width:20,sortIndex:2,compoundExpand:!0,render:function(e){var n;if(!e.concluded)return"\u2014";var r=e.concluded.expression||e.concluded.name||"\u2014",i=null===(n=e.concluded.identifiers)||void 0===n?void 0:n.some(function(e){return!0===e.isDeprecated});return(0,E.jsxs)("span",{style:{display:"inline-flex",alignItems:"center",gap:6},children:[i&&(0,E.jsx)(g.I,{isInline:!0,title:"Concluded license is deprecated",children:(0,E.jsx)(ge.Ay,{style:{fill:"#F0AB00",height:"13px"}})}),r]})}},{key:"category",header:"Category",width:15,sortIndex:3,render:function(e){var n;return null!==(n=e.concluded)&&void 0!==n&&n.category?(0,E.jsxs)("span",{children:[(0,E.jsx)(g.I,{isInline:!0,children:(0,E.jsx)(ge.Ay,{style:{fill:le(e.concluded.category),height:"13px"}})}),"\xa0",ce(e.concluded.category)]}):"\u2014"}},{key:"evidences",header:"Evidences",width:25,compoundExpand:!0,render:function(e){var n;return null!==(n=e.evidence)&&void 0!==n&&n.length?(0,E.jsxs)("div",{style:{display:"flex",alignItems:"center"},children:[(0,E.jsx)("div",{style:{width:"25px"},children:e.evidence.length}),(0,E.jsx)(v.c,{orientation:{default:"vertical"},style:{paddingRight:"10px"}}),(0,E.jsx)(Cn,{evidence:e.evidence,countBy:"identifiers"})]}):0}}];return(0,E.jsx)(nn,{name:n,items:r,getRowKey:function(e){return e.ref},columns:i,filterConfig:{placeholder:"Filter by Dependency name",idSuffix:"-license-filter"},compareToByColumn:function(e,n,r){switch(r){case 1:return e.ref.localeCompare(n.ref);case 2:var i,t,a,o,c=(null===(i=e.concluded)||void 0===i?void 0:i.expression)||(null===(t=e.concluded)||void 0===t?void 0:t.name)||"",l=(null===(a=n.concluded)||void 0===a?void 0:a.expression)||(null===(o=n.concluded)||void 0===o?void 0:o.name)||"";return c.localeCompare(l);case 3:var s,d,u=(null===(s=e.concluded)||void 0===s?void 0:s.category)||"",h=(null===(d=n.concluded)||void 0===d?void 0:d.category)||"";return u.localeCompare(h);default:return 0}},filterItem:function(e,n){return!n||0===n.trim().length||-1!==e.ref.toLowerCase().indexOf(n.toLowerCase())},renderExpandContent:function(e,n){var r;return"concluded"===n&&e.concluded?(0,E.jsx)(bn,{concluded:e.concluded}):"evidences"===n&&null!==(r=e.evidence)&&void 0!==r&&r.length?(0,E.jsx)(Pn,{evidence:e.evidence}):null},ariaLabelPrefix:"Licenses",expandId:"evidences-compound-expand",initialSortBy:{index:3,direction:"desc"}})},kn=r(1157),Fn="vulnerabilities",Ln="licenses",Bn=function(e){var n=e.report,r=Wn(),t=l(n),o=t.length>0,c=(0,i.useMemo)(function(){var e;return(null!==(e=n.licenses)&&void 0!==e?e:[]).filter(function(e){return e.summary.total>0})},[n.licenses]),d=c.length>0,u=o?s(t[0]):null,h=d?c[0].status.name:null,g=i.useState(o?Fn:Ln),v=(0,F.A)(g,2),p=v[0],x=v[1],f=i.useState(null!==u&&void 0!==u?u:0),m=(0,F.A)(f,2),j=m[0],y=m[1],I=i.useState(null!==h&&void 0!==h?h:0),A=(0,F.A)(I,2),C=A[0],b=A[1],w=r.writeKey&&""!==r.writeKey.trim()?kn.N.load({writeKey:r.writeKey}):null,N=(0,i.useRef)("");(0,i.useEffect)(function(){w&&null!=r.anonymousId&&w.setAnonymousId(r.anonymousId)},[w,r.anonymousId]),(0,i.useEffect)(function(){d&&null!=h&&(new Set(c.map(function(e){return e.status.name})).has(String(C))||b(h))},[d,h,c,C]);var T=p===Fn?j:C;(0,i.useEffect)(function(){w&&T!==N.current&&(w.track("rhda.exhort.tab",{tabName:T}),N.current=T)},[w,T]);var S=[];return o&&S.push((0,E.jsx)(je.o,{eventKey:Fn,title:(0,E.jsx)(ye.V,{children:"Vulnerabilities"}),"aria-label":"Vulnerabilities",children:(0,E.jsx)(Ie.t,{activeKey:j,onSelect:function(e,n){y(n)},isSecondary:!0,isBox:!0,variant:"light300","aria-label":"Vulnerability providers",role:"region",children:t.map(function(e){var n,r=s(e),i=null===(n=e.report.dependencies)||void 0===n?void 0:n.filter(function(e){return e.highestVulnerability});return(0,E.jsx)(je.o,{eventKey:r,title:(0,E.jsx)(ye.V,{children:r}),"aria-label":"".concat(r," source"),children:(0,E.jsx)(a.d8,{variant:a.zC.default,children:(0,E.jsx)(In,{name:r,dependencies:i})})},r)})})},Fn)),d&&S.push((0,E.jsx)(je.o,{eventKey:Ln,title:(0,E.jsx)(ye.V,{children:"Licenses"}),"aria-label":"Licenses",children:(0,E.jsx)(Ie.t,{activeKey:C,onSelect:function(e,n){b(n)},isSecondary:!0,isBox:!0,variant:"light300","aria-label":"License providers",role:"region",children:c.map(function(e){return(0,E.jsx)(je.o,{eventKey:e.status.name,title:(0,E.jsx)(ye.V,{children:e.status.name}),"aria-label":"".concat(e.status.name," source"),children:(0,E.jsx)(a.d8,{variant:a.zC.default,children:(0,E.jsx)(Dn,{name:e.status.name,dependencies:e.packages})})},e.status.name)})})},Ln)),0===S.length?null:(0,E.jsx)("div",{children:(0,E.jsx)(Ie.t,{activeKey:p,onSelect:function(e,n){x(n)},"aria-label":"Providers",role:"region",variant:"light300",isBox:!0,children:S})})},Rn=function(e){var n=e.report,r=i.useState(Object.keys(n)[0]||""),t=(0,F.A)(r,2),l=t[0],s=t[1],d=i.useState(!0),u=(0,F.A)(d,1)[0],h=Object.entries(n).map(function(e){var n=(0,F.A)(e,2),r=n[0],i=n[1];return(0,E.jsxs)(je.o,{eventKey:r,title:(0,E.jsx)(ye.V,{children:_(r)}),"aria-label":"".concat(r," source"),children:[(0,E.jsx)(me,{report:i}),(0,E.jsx)(a.d8,{variant:a.zC.light,children:(0,E.jsx)(o.x,{hasGutter:!0,children:(0,E.jsx)(c.E,{children:(0,E.jsx)(xe,{report:i,isReportMap:!0,purl:r})})})}),(0,E.jsx)(a.d8,{variant:a.zC.default,children:(0,E.jsx)(Bn,{report:i})})]})});return(0,E.jsx)("div",{children:(0,E.jsx)(Ie.t,{activeKey:l,onSelect:function(e,n){s(n)},"aria-label":"Providers",role:"region",variant:u?"light300":"default",isBox:!0,children:h})})},zn=window.appData,Zn=(0,i.createContext)(zn),Wn=function(){return(0,i.useContext)(Zn)};var Un=function(){return(0,E.jsx)(Zn.Provider,{value:zn,children:(e=zn.report,"object"===typeof e&&null!==e&&Object.keys(e).every(function(n){return"scanned"in e[n]&&"providers"in e[n]&&"object"===typeof e[n].scanned&&"object"===typeof e[n].providers})?(0,E.jsx)(a.d8,{variant:a.zC.default,children:(0,E.jsx)(Rn,{report:zn.report})}):(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)(me,{report:zn.report}),(0,E.jsx)(a.d8,{variant:a.zC.light,children:(0,E.jsx)(o.x,{hasGutter:!0,children:(0,E.jsx)(c.E,{children:(0,E.jsx)(xe,{report:zn.report})})})}),(0,E.jsx)(a.d8,{variant:a.zC.default,children:(0,E.jsx)(Bn,{report:zn.report})})]}))});var e},Vn=function(e){e&&e instanceof Function&&r.e(121).then(r.bind(r,6895)).then(function(n){var r=n.getCLS,i=n.getFID,t=n.getFCP,a=n.getLCP,o=n.getTTFB;r(e),i(e),t(e),a(e),o(e)})};t.createRoot(document.getElementById("root")).render((0,E.jsx)(i.StrictMode,{children:(0,E.jsx)(Un,{})})),Vn()}},n={};function r(i){var t=n[i];if(void 0!==t)return t.exports;var a=n[i]={id:i,loaded:!1,exports:{}};return e[i].call(a.exports,a,a.exports,r),a.loaded=!0,a.exports}r.m=e,function(){var e=[];r.O=function(n,i,t,a){if(!i){var o=1/0;for(d=0;d=a)&&Object.keys(r.O).every(function(e){return r.O[e](i[l])})?i.splice(l--,1):(c=!1,a0&&e[d-1][2]>a;d--)e[d]=e[d-1];e[d]=[i,t,a]}}(),r.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(n,{a:n}),n},function(){var e,n=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__};r.t=function(i,t){if(1&t&&(i=this(i)),8&t)return i;if("object"===typeof i&&i){if(4&t&&i.__esModule)return i;if(16&t&&"function"===typeof i.then)return i}var a=Object.create(null);r.r(a);var o={};e=e||[null,n({}),n([]),n(n)];for(var c=2&t&&i;("object"==typeof c||"function"==typeof c)&&!~e.indexOf(c);c=n(c))Object.getOwnPropertyNames(c).forEach(function(e){o[e]=function(){return i[e]}});return o.default=function(){return i},r.d(a,o),a}}(),r.d=function(e,n){for(var i in n)r.o(n,i)&&!r.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:n[i]})},r.e=function(){return Promise.resolve()},r.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),r.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},r.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},function(){var e={792:0};r.O.j=function(n){return 0===e[n]};var n=function(n,i){var t,a,o=i[0],c=i[1],l=i[2],s=0;if(o.some(function(n){return 0!==e[n]})){for(t in c)r.o(c,t)&&(r.m[t]=c[t]);if(l)var d=l(r)}for(n&&n(i);s0?Object.keys(i).forEach(function(e){n.push({provider:r,source:e,report:i[e]})}):"trusted-content"!==r&&n.push({provider:r,source:r,report:{}})}),n.sort(function(e,n){return 0===Object.keys(e.report).length&&0===Object.keys(n.report).length?1:Object.keys(n.report).length-Object.keys(e.report).length})}function s(e){var n,r;if(!e||!e.provider)return"unknown";var i=null!==(n=e.provider)&&void 0!==n?n:"unknown";return i===(null!==(r=e.source)&&void 0!==r?r:"unknown")?i:"".concat(e.provider,"/").concat(e.source)}function d(e){var n;return!(!e.remediation||!(e.remediation.fixedIn||null!==(n=e.remediation)&&void 0!==n&&n.trustedContent))}function u(e){var n=[];return e.map(function(e){return{dependencyRef:e.ref,vulnerabilities:e.issues||[]}}).forEach(function(e){var r;null===(r=e.vulnerabilities)||void 0===r||r.forEach(function(r){r.cves&&r.cves.length>0?r.cves.forEach(function(i){n.push({id:i,dependencyRef:e.dependencyRef,vulnerability:r})}):n.push({id:r.id,dependencyRef:e.dependencyRef,vulnerability:r})})}),n.sort(function(e,n){return n.vulnerability.cvssScore-e.vulnerability.cvssScore})}var h=r(9292),v=r(6180),g=r(9341),p=r(3844),x=r(2881),f=r(4900),m=r(3144),j=r(2092),y=r(5767),I=r(4646),A=r(260),C=r(1352),b=r(3571),w=r(2995),N=r(9133),T=r(628),S=r(2972),M=r(8056),O=r(2008),E=r(481),P=["#800000","#FF0000","#FFA500","#5BA352"],D=function(e){var n,r,i,t,a,o=e.summary,c=null!==(n=null===o||void 0===o?void 0:o.critical)&&void 0!==n?n:0,l=null!==(r=null===o||void 0===o?void 0:o.high)&&void 0!==r?r:0,s=null!==(i=null===o||void 0===o?void 0:o.medium)&&void 0!==i?i:0,d=null!==(t=null===o||void 0===o?void 0:o.low)&&void 0!==t?t:0,u=null!==(a=null===o||void 0===o?void 0:o.total)&&void 0!==a?a:0,h=c+l+s+d>0,v=h?P:["#D5F5E3"],g=[{name:"Critical: ".concat(c),symbol:{type:"square",fill:P[0]}},{name:"High: ".concat(l),symbol:{type:"square",fill:P[1]}},{name:"Medium: ".concat(s),symbol:{type:"square",fill:P[2]}},{name:"Low: ".concat(d),symbol:{type:"square",fill:P[3]}}];return(0,E.jsx)("div",{children:(0,E.jsx)(j.b,{style:{paddingBottom:"inherit",padding:"0"},children:(0,E.jsx)(M.a,{children:(0,E.jsx)("div",{style:{height:"230px",width:"350px"},children:(0,E.jsx)(O.H,{constrainToVisibleArea:!0,data:h?[{x:"Critical",y:c},{x:"High",y:l},{x:"Medium",y:s},{x:"Low",y:d}]:[{x:"Empty",y:1e-10}],labels:function(e){var n=e.datum;return h?"".concat(n.x,": ").concat(n.y):"No vulnerabilities"},legendData:g,legendOrientation:"vertical",legendPosition:"right",padding:{left:20,right:140},subTitle:"Unique vulnerabilities",title:"".concat(u),width:350,colorScale:v})})})})})},k="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTJweCIgaGVpZ2h0PSIxM3B4IiB2aWV3Qm94PSIwIDAgMTIgMTMiIGlkPSJTZWN1cml0eUNoZWNrSWNvbiIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4KICAgIDx0aXRsZT5Db21iaW5lZCBTaGFwZTwvdGl0bGU+CiAgICA8ZyBpZD0iTXVsdGktdmVuZG9yIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8ZyBpZD0iT3ZlcnZpZXctQ29weSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTEyMDcsIC05OTMpIiBmaWxsPSIjM0U4NjM1Ij4KICAgICAgICAgICAgPGcgaWQ9IkRldGFpbHMtb2YtZGVwZW5kZW5jeS1jb20uZ2l0aHViIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg0MjcsIDgxOSkiPgogICAgICAgICAgICAgICAgPGcgaWQ9IkRlcGVuZGVuY3ktMSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCwgMTQ0KSI+CiAgICAgICAgICAgICAgICAgICAgPGcgaWQ9Ikdyb3VwLTkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDc4MC4xNzI4LCAyNCkiPgogICAgICAgICAgICAgICAgICAgICAgICA8ZyBpZD0iR3JvdXAtNCIgdHJhbnNmb3JtPSJ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xMDg0Njg0NiwzLjExNzgyNjY3IEM4Ljk1MjI2NDA4LDIuOTYwNzI0NDQgOC42OTg5ODMyLDIuOTYwNzI0NDQgOC41NDI3Nzg4MywzLjExNzgyNjY3IFoiIGlkPSJDb21iaW5lZC1TaGFwZSI+PC9wYXRoPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICAgICAgICAgICAgICA8L2c+CiAgICAgICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=",F=r(296),L=r(3029),B=r(2901),R="maven",z="https://central.sonatype.com/artifact/",Z="https://pkg.go.dev/",W="https://www.npmjs.com/package/",U="https://pypi.org/project/",V="pkg:",K=/%[0-9A-Fa-f]{2}/,G=function(e){var n="";return e.namespace&&(n=e.type===R?"".concat(e.namespace,":"):"".concat(e.namespace,"/")),n+="".concat(e.name)},Y=function(e,n){var r=re.fromString(e),i=G(r),t=r.version?decodeURIComponent(r.version):"";return n?i+"@".concat(t):i},Q=function(e){var n=re.fromString(e);if(n.qualifiers&&n.qualifiers.has("repository_url")){var r=decodeURIComponent(n.qualifiers.get("repository_url")||"");r.endsWith("/")&&(r=r.substring(0,r.length-1));var i=n.namespace;return i&&(i=i.replace(/\./g,"/")),"".concat(r,"/").concat(i,"/").concat(n.name,"/").concat(n.version)}var t=z;return n.namespace?"".concat(z).concat(n.namespace,"/").concat(n.name,"/").concat(n.version):t},H=function(e){var n=re.fromString(e);switch(n.type){case R:return"".concat(z).concat(n.namespace,"/").concat(n.name,"/").concat(n.version);case"golang":var r=n.version;return null!==r&&void 0!==r&&r.match(/v\d\.\d.\d-\d{14}-\w{12}/)?"".concat(Z).concat(n.namespace,"/").concat(n.name):"".concat(Z).concat(n.namespace,"/").concat(n.name,"@").concat(n.version);case"npm":return n.namespace?"".concat(W).concat(n.namespace,"/").concat(n.name,"/v/").concat(n.version):"".concat(W).concat(n.name,"/v/").concat(n.version);case"pypi":return n.namespace?"".concat(U).concat(n.namespace,"/").concat(n.name,"/").concat(n.version):"".concat(U).concat(n.name,"/").concat(n.version);case"deb":return"".concat("https://sources.debian.org/patches/").concat(n.name,"/").concat(n.version);case"cargo":return"".concat("https://crates.io/crates/").concat(n.name,"/").concat(n.version);default:return n.toString()}},X=function(e){var n=re.fromString(e).version;return n?decodeURIComponent(n):""},q=function(e,n){var r=re.fromString(e),i=encodeURIComponent(G(r));return n.remediationTemplate.replace("__PACKAGE_TYPE__",r.type).replace("__PACKAGE_NAME__",i).replace("__PACKAGE_VERSION__",r.version||"")},J=function(e){return e.toLowerCase().replace(/./,function(e){return e.toUpperCase()})},_=function(e){var n=$(e),r="";if(n.repository_url){var i=n.repository_url.indexOf("/");r+=-1!==i?n.repository_url.substring(i+1):""}else r+="".concat(n.short_name);return n.tag&&(r+=":".concat(n.tag)),r},$=function(e){var n=e.split("?"),r=n[0],i=n[1],t=new URLSearchParams(i),a=t.get("repository_url")||"",o=t.get("tag")||"",c=t.get("arch")||"",l=r.split("@");return{repository_url:a,tag:o,short_name:l[0].substring(l[0].indexOf("/")+1),version:r.substring(r.lastIndexOf("@")).replace("%3A",":"),arch:c}},ee=function(e,n,r,i){var t=l(n),a=i||"";for(var o in t){var c=t[o].report.dependencies;if(c){var s=Object.values(c).find(function(n){var r,i=n.ref,t=decodeURIComponent(i),a=(r=e,K.test(r)?decodeURIComponent(e):e);return re.fromString(t).toString()===re.fromString(a).toString()});if(s&&s.recommendation&&a){var d=decodeURIComponent(s.recommendation);if(void 0!==ne(d,r))return a+_(d)}}}return a},ne=function(e,n){var r=JSON.parse(n).find(function(n){return re.fromString(n.purl).toString()===re.fromString(e).toString()});return null===r||void 0===r?void 0:r.catalogUrl},re=function(){function e(n,r,i,t,a){(0,L.A)(this,e),this.type=void 0,this.namespace=void 0,this.name=void 0,this.version=void 0,this.qualifiers=void 0,this.type=n,this.namespace=r,this.name=i,this.version=t,this.qualifiers=a}return(0,B.A)(e,[{key:"toString",value:function(){var e=this.name;return this.version&&(e+="@".concat(this.version)),this.namespace?"".concat(V).concat(this.type,"/").concat(this.namespace,"/").concat(e):this.qualifiers?"".concat(V).concat(this.type,"/").concat(e,"?").concat(Array.from(this.qualifiers.entries()).map(function(e){var n=(0,F.A)(e,2),r=n[0],i=n[1];return"".concat(r,"=").concat(i)}).join("&")):"".concat(V).concat(this.type,"/").concat(e)}}],[{key:"fromString",value:function(n){var r,i,t=n.replace(V,""),a=t.indexOf("?");-1!==a&&(i=t.substring(a+1),t=t.substring(0,a));var o,c,l=t.substring(0,t.indexOf("/")),s=t.split("/");s.length>2&&(o=s.slice(1,s.length-1).join("/")),-1!==t.indexOf("@")&&(c=t.substring(t.indexOf("@")+1));var d=s[s.length-1];return c&&(d=d.substring(0,d.indexOf("@"))),new e(l,o,d,c,new Map((null===(r=i)||void 0===r?void 0:r.split("&").map(function(e){return e.split("=")}))||[]))}}])}(),ie={PERMISSIVE:"#0066CC",WEAK_COPYLEFT:"#3E8635",STRONG_COPYLEFT:"#F0AB00",UNKNOWN:"#C46100"},te={PERMISSIVE:"Permissive",WEAK_COPYLEFT:"Weak copyleft",STRONG_COPYLEFT:"Strong copyleft",UNKNOWN:"Unknown"};function ae(e){if(!e)return 1;switch(e.toUpperCase().replace(/-/g,"_")){case"PERMISSIVE":return 4;case"WEAK_COPYLEFT":return 3;case"STRONG_COPYLEFT":return 2;default:return 1}}var oe="#F0AB00";function ce(e){var n;if(!e)return te.UNKNOWN;var r=e.toUpperCase().replace(/-/g,"_");return null!==(n=te[r])&&void 0!==n?n:e}function le(e){var n;if(!e)return ie.UNKNOWN;var r=e.toUpperCase().replace(/-/g,"_");return null!==(n=ie[r])&&void 0!==n?n:ie.UNKNOWN}function se(e){var n;if(e){var r=e.toUpperCase().replace(/-/g,"_");n="PERMISSIVE"===r?"blue":"WEAK_COPYLEFT"===r?"green":"STRONG_COPYLEFT"===r?"yellow":"gray"}else n="gray";return n}var de=["PERMISSIVE","WEAK_COPYLEFT","STRONG_COPYLEFT","UNKNOWN"];function ue(e){if(!e)return de.length;var n=e.toUpperCase().replace(/-/g,"_"),r=de.indexOf(n);return r>=0?r:de.length}var he=function(e){var n,r,i,t,a,o=e.summary,c=null!==(n=o.permissive)&&void 0!==n?n:0,l=null!==(r=o.strongCopyleft)&&void 0!==r?r:0,s=null!==(i=o.unknown)&&void 0!==i?i:0,d=null!==(t=o.weakCopyleft)&&void 0!==t?t:0,u=null!==(a=o.total)&&void 0!==a?a:0,h=c+l+s+d>0,v=[{name:"Permissive: ".concat(c),symbol:{type:"square",fill:ie.PERMISSIVE}},{name:"Weak Copyleft: ".concat(d),symbol:{type:"square",fill:ie.WEAK_COPYLEFT}},{name:"Strong Copyleft: ".concat(l),symbol:{type:"square",fill:ie.STRONG_COPYLEFT}},{name:"Unknown: ".concat(s),symbol:{type:"square",fill:ie.UNKNOWN}}];return(0,E.jsx)("div",{children:(0,E.jsx)(j.b,{style:{paddingBottom:"inherit",padding:"0"},children:(0,E.jsx)(M.a,{children:(0,E.jsx)("div",{style:{height:"230px",width:"350px"},children:(0,E.jsx)(O.H,{constrainToVisibleArea:!0,data:h?[{x:"Permissive",y:c},{x:"Weak Copyleft",y:d},{x:"Strong Copyleft",y:l},{x:"Unknown",y:s}]:[{x:"Empty",y:1e-10}],labels:function(e){var n=e.datum;return h?"".concat(n.x,": ").concat(n.y):"No licenses"},legendData:v,legendOrientation:"vertical",legendPosition:"right",padding:{left:0,right:160},subTitle:"Total licenses",title:"".concat(u),width:350,colorScale:Object.values(ie)})})})})})},ve=r(4102),ge={width:"16px",height:"16px",verticalAlign:"middle"},pe="330px";var xe=function(e){var n,r,i=e.report,t=e.isReportMap,a=e.purl,d=Wn(),u=d.brandingConfig||{displayName:"Trustify",exploreUrl:"https://guac.sh/trustify/",exploreTitle:"Learn more about Trustify",exploreDescription:"The Trustify project is a collection of software components that enables you to store and retrieve Software Bill of Materials (SBOMs), and advisory documents.",imageRecommendation:"",imageRecommendationLink:""},M=Boolean(u.exploreTitle.trim().length>0)&&Boolean(u.exploreUrl.trim().length>0)&&Boolean(u.exploreDescription.trim().length>0),O=Boolean(t)&&u.imageRecommendation.trim().length>0&&u.imageRecommendationLink.trim().length>0,P=i.licenses||[],F=(null!==(n=i.licenses)&&void 0!==n?n:[]).filter(function(e){return e.summary.total>0}),L=null===(r=i.licenses)||void 0===r?void 0:r.find(function(e){return"SBOM"===e.status.name}),B=null===L||void 0===L?void 0:L.projectLicense,R=Boolean(B),z=function(){return(0,E.jsx)("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAON0lEQVR4nOxad1xTV/s/mYwQRkBWGCJDFERZgqCvoDhQKuKroghVpK2COIqK9VVrXWhx4oIiIKKoIAilIlgHqFAKssIeIeywQhIIWTfr97nxTX9IwVaI/et9Pp/7ObnPedb33vPc85xzghYIBAg0Gi0BExCPy1UsKytd3EahWAqFIqy2jnaHo5NznpaWVv9EOslJSbsvn4+8mnAv2d5m7txymLdlw/piFoulnpX7bOZEejCxWCyVQRqNiMFg+Dq6up1oNFoE82urq+119fQ6Ncf4RXh7etaJxWKss4tLrrmFRZW2jna3UCjC9PZQp1dVVjoVFxWtHBkZUR+thEKhoKXLlqfuDgs7pKenRx0bRFdn5/QN3mvqdXT1Ojds8r3aUF8/L+fJkyC/gIALYeGHDo6VF4lEyMz09O1pqSk7yU1N8yQSCQrmKysrM//l7p7lv3XbxcePHn1FNCC2bd0edOkDAD/duHE0NvrmqfGeBgqFEtg5OLxauWr1Q2ubOcUCAVBraCAvfPU8x/u3t69cNQiEvpj4hKWmZmZ1Y3WfPX3qe/qH47e4XC4evl+0eHH6mcjz/srKyrzRcgw6XWv/3j1pVZWViwkEAtVtydJMoqFhAwTxVSvLK1xKfi9aiUAgRBgsFtLV1aWk//LEhsvlKvZQu41nmJo1IiQSCYj7Kea7mOvXz862si78JiTkHCQQq6mrq/dPNzFtgYRIQ9ogx7WLyv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aAnC4BUUb4IvD/7yqGza+xG+JQ58P3rdDQQCVCCG0mxyyxnz66WybsuWpSzd1dIVtrDtF0bfDNma+JarAbZJe4KSgAQzcWgmkT6aOJPRJN+A50dHTMQCITQwNCwZWCkeDGQbhAA0FqFgkH9PDp4qSMkUvLltsDzcLH39vXr1Rba2y/K+rSIYkAfHCTyuNxP2iCeEgD2CFtJUUmJhUKhJByIKj3cEEJw8iIA0cCgfTydadra0iPZISZTi4Cb907GR/93JuDxeCr/GAANgsYwl8PR4PP5WCB5fyiBUQBAWVUMSBXjF3KN9fXSCtTA0KhZdnAhDZwNJzlCpILH0/8xAKZmZrVwW19bO08Jq9ct41stEIHamhqXlPvJH5xa9lCp+jeuRp3G4XCMJR4emQxOzR/ldG8bEhgYGTV97B8DE9Gkk3i+8wLpYiXv5YsNAcEef3z+FvoIAaUaBc6fPRud9/KVj72jw9uB/gG93KfZfjwuVyUi8vx6dQ0NRlXz7W9heWY/AH3tSOCz3nFSO3ZT2loM9N9SQG5unp2ZnW1Z2r85f4TfKp3E4CGR/wgDagpRQMBHwMNDbDVnTvHOXaFH5rvMf0PqPB1Bod0Nh2Wf3UGD8pcYEHs70cXOwaHoHwXwNj9/xbe7Q3MXuy9J333c/VFZx4GHHxpXZqiIlv1squ+ZQtDQ7WVyau3IA4l7h3nN0nM2eMJLOqUAHBydc6Pj4idVTkx5c/fooUOJuU+ztwYEboucv7bdkDr0dPPf0RvoRoAHZxUACqE+cDcl1Z5IJHZOxv+UAfB4PExYaGh2SfHvy9yWuqUv/ZJG4CDeuX9Mp+EdEuTEY4FEpMi5Gh3jae/o+Gay/v8vAAD//4wb/4wEdbX7AAAAAElFTkSuQmCC",alt:"Trustify Icon",style:ge})},Z=1+(F.length>0?1:0),W=Math.min(12,Math.max(1,Math.floor(12/Z))),U=1+Number(R)+Number(O)+Number(M);4===U&&(U=2);var V=Math.min(12,Math.max(1,Math.floor(12/U)));return(0,E.jsxs)(o.x,{hasGutter:!0,children:[(0,E.jsxs)(h.h,{headingLevel:"h3",size:h.J["2xl"],style:{paddingLeft:"15px"},children:[(0,E.jsx)(v.I,{isInline:!0,status:"info",children:(0,E.jsx)(S.Ay,{style:{fill:"#f0ab00"}})}),"\xa0",u.displayName," overview of security issues"]}),(0,E.jsx)(g.c,{}),(0,E.jsx)(c.E,{md:12,lg:W,children:(0,E.jsxs)(p.Z,{isFlat:!0,isFullHeight:!0,children:[(0,E.jsx)(x.a,{children:(0,E.jsx)(f.Z,{children:(0,E.jsx)(m.X,{style:{fontSize:"large"},children:t?(0,E.jsxs)(E.Fragment,{children:[a?_(a):"No Image name"," - Vendor Issues"]}):(0,E.jsx)(E.Fragment,{children:"Vendor Issues"})})})}),(0,E.jsxs)(j.b,{children:[(0,E.jsx)(y.W,{children:(0,E.jsx)(I.d,{children:(0,E.jsx)(m.X,{children:"Below is a list of dependencies affected with CVE."})})}),(0,E.jsx)(A.B,{isAutoFit:!0,style:{paddingTop:"10px",gridTemplateColumns:"repeat(auto-fit, minmax(min(100%, ".concat(pe,"), 1fr))")},children:l(i).map(function(e,n){return(0,E.jsxs)(y.W,{style:{display:"flex",flexDirection:"column",alignItems:"center",minWidth:0},children:[(0,E.jsx)(m.X,{style:{fontSize:"large"},children:s(e)}),(0,E.jsx)(I.d,{children:(0,E.jsx)(D,{summary:e.report.summary})})]},n)})})]}),(0,E.jsx)(g.c,{})]})}),F.length>0&&(0,E.jsx)(c.E,{md:12,lg:W,children:(0,E.jsxs)(p.Z,{isFlat:!0,isFullHeight:!0,children:[(0,E.jsx)(x.a,{children:(0,E.jsx)(f.Z,{children:(0,E.jsx)(m.X,{style:{fontSize:"large"},children:"License Summary"})})}),(0,E.jsx)(j.b,{children:(0,E.jsx)(A.B,{isAutoFit:!0,style:{paddingTop:"30px",gridTemplateColumns:"repeat(auto-fit, minmax(min(100%, ".concat(pe,"), 1fr))")},children:F.map(function(e,n){return(0,E.jsxs)(y.W,{style:{display:"flex",flexDirection:"column",alignItems:"center",minWidth:0},children:[(0,E.jsx)(m.X,{style:{fontSize:"large"},children:e.status.name||"Unknown"}),(0,E.jsx)(I.d,{children:(0,E.jsx)(he,{summary:e.summary})})]},n)})})})]})}),(0,E.jsxs)(c.E,{md:V,children:[(0,E.jsx)(p.Z,{isFlat:!0,isFullHeight:!0,children:(0,E.jsxs)(y.W,{children:[(0,E.jsx)(f.Z,{component:"h4",children:(0,E.jsxs)(m.X,{style:{fontSize:"large"},children:[z(),"\xa0",u.displayName," Dependency Remediations"]})}),(0,E.jsx)(j.b,{children:(0,E.jsx)(I.d,{children:(0,E.jsx)(C.B8,{isPlain:!0,children:l(i).map(function(e,n){var r=e&&e.source&&e.provider?e.source===e.provider?e.provider:"".concat(e.provider,"/").concat(e.source):"default_value";return Object.keys(e.report).length>0?(0,E.jsxs)(b.c,{children:[(0,E.jsx)(v.I,{isInline:!0,status:"success",children:(0,E.jsx)("img",{src:k,alt:"Security Check Icon"})}),"\xa0",e.report.summary.remediations," remediations are available for ",r]}):(0,E.jsxs)(b.c,{children:[(0,E.jsx)(v.I,{isInline:!0,status:"success",children:(0,E.jsx)("img",{src:k,alt:"Security Check Icon"})}),"\xa0 There are no available remediations for your SBOM at this time for ",e.provider]})})})})})]})}),"\xa0"]}),R&&B&&(0,E.jsxs)(c.E,{md:V,children:[(0,E.jsx)(p.Z,{isFlat:!0,isFullHeight:!0,children:(0,E.jsxs)(y.W,{children:[(0,E.jsx)(f.Z,{component:"h4",children:(0,E.jsxs)(m.X,{style:{fontSize:"large"},children:["Project License ",(0,E.jsx)(w.o,{children:(0,E.jsx)(N.J,{color:se(B.category),children:B.expression||B.name||"\u2014"})})]})}),(0,E.jsx)(j.b,{children:(0,E.jsxs)(I.d,{children:[(0,E.jsx)(y.W,{children:(0,E.jsx)(m.X,{children:"License incompatibilities"})}),(0,E.jsx)(C.B8,{isPlain:!0,children:P.map(function(e,n){var r=function(e,n){for(var r=0,i=ae(n),t=0,a=Object.values(e);t=400||Object.keys(e.warnings).length>0},i=Object.keys(n.providers).map(function(e){return n.providers[e].status}).filter(function(e){return!e.ok||r(e)}),t=function(e){return e.ok&&!r(e)?fe.w.info:e.code>=500?fe.w.danger:fe.w.warning},a=function(e){var n=e.message;return e.ok&&r(e)?"".concat(J(e.name),": ").concat(Object.keys(e.warnings).length," package(s) could not be analyzed"):"".concat(J(e.name),": ").concat(n)};return(0,E.jsx)(E.Fragment,{children:i.map(function(e,n){return(0,E.jsx)(fe.F,{variant:t(e),title:a(e)},n)})})},je=r(6334),ye=r(4248),Ie=r(4471),Ae=r(9379),Ce=r(8380),be=r(1417),we=r(7066),Ne=r(2227),Te=r(99),Se=r(1792),Me=r(3093),Oe=r(297),Ee=r(4072),Pe=r(7172),De=r(8516),ke=r(8579),Fe=r(9205),Le=r(8099),Be=r(4785),Re=r(4224),ze=r(5772),Ze=r(4593),We=r(8480),Ue=r(5458),Ve=r(4546),Ke=function(e){return e[e.SET_PAGE=0]="SET_PAGE",e[e.SET_SORT_BY=1]="SET_SORT_BY",e}(Ke||{}),Ge={changed:!1,currentPage:{page:1,perPage:10},sortBy:void 0},Ye=function(e,n){switch(n.type){case Ke.SET_PAGE:var r=n.payload;return(0,Ae.A)((0,Ae.A)({},e),{},{changed:!0,currentPage:{page:r.page,perPage:r.perPage}});case Ke.SET_SORT_BY:var i=n.payload;return(0,Ae.A)((0,Ae.A)({},e),{},{changed:!0,sortBy:{index:i.index,direction:i.direction}});default:return e}},Qe=r(2514),He=r(3842),Xe=function(e){var n,r=e.count,i=e.params,t=e.isTop,a=e.perPageOptions,o=e.onChange,c=function(){return i.perPage||10};return(0,E.jsx)(Qe.d,{itemCount:r,page:i.page||1,perPage:c(),onPageInput:function(e,n){o({page:n,perPage:c()})},onSetPage:function(e,n){o({page:n,perPage:c()})},onPerPageSelect:function(e,n){o({page:1,perPage:n})},widgetId:"pagination-options-menu",variant:t?Qe.A.top:Qe.A.bottom,perPageOptions:(n=a||[10,20,50,100],n.map(function(e){return{title:String(e),value:e}})),toggleTemplate:function(e){return(0,E.jsx)(He.D,(0,Ae.A)({},e))}})},qe=r(9694),Je=r(6911),_e=r(6464),$e=r(1413),en=function(e){var n=e.numRenderedColumns,r=e.isLoading,i=void 0!==r&&r,t=e.isError,a=void 0!==t&&t,o=e.isNoData,c=void 0!==o&&o,l=e.errorEmptyState,s=void 0===l?null:l,d=e.noDataEmptyState,u=void 0===d?null:d,v=e.children,g=(0,E.jsxs)(Se.p,{variant:Se.s.sm,children:[(0,E.jsx)(Oe.q,{icon:_e.Ay,color:$e.D.value}),(0,E.jsx)(h.h,{headingLevel:"h2",size:"lg",children:"Unable to connect"}),(0,E.jsx)(Ee.h,{children:"There was an error retrieving data. Check your connection and try again."})]}),p=(0,E.jsxs)(Se.p,{variant:Se.s.sm,children:[(0,E.jsx)(Oe.q,{icon:Je.Ay}),(0,E.jsx)(h.h,{headingLevel:"h2",size:"lg",children:"No data available"}),(0,E.jsx)(Ee.h,{children:"No data available to be shown here."})]});return(0,E.jsx)(E.Fragment,{children:i?(0,E.jsx)(Be.N,{children:(0,E.jsx)(Fe.Tr,{children:(0,E.jsx)(Re.Td,{colSpan:n,children:(0,E.jsx)(M.a,{children:(0,E.jsx)(qe.y,{size:"xl"})})})})}):a?(0,E.jsx)(Be.N,{"aria-label":"Table error",children:(0,E.jsx)(Fe.Tr,{children:(0,E.jsx)(Re.Td,{colSpan:n,children:(0,E.jsx)(M.a,{children:s||g})})})}):c?(0,E.jsx)(Be.N,{"aria-label":"Table no data",children:(0,E.jsx)(Fe.Tr,{children:(0,E.jsx)(Re.Td,{colSpan:n,children:(0,E.jsx)(M.a,{children:u||p})})})}):v})};function nn(e){var n=e.name,r=e.items,t=e.getRowKey,a=e.columns,o=e.filterConfig,c=e.compareToByColumn,l=e.filterItem,s=e.renderExpandContent,d=e.ariaLabelPrefix,u=void 0===d?"Table":d,h=e.expandId,v=void 0===h?"compound-expand-table":h,g=e.defaultExpanded,x=void 0===g?{}:g,f=e.initialSortBy,m=(0,i.useState)(""),y=(0,F.A)(m,2),I=y[0],A=y[1],C=function(e){var n=(0,i.useReducer)(Ye,(0,Ae.A)((0,Ae.A)({},Ge),{},{currentPage:e&&e.page?(0,Ae.A)({},e.page):(0,Ae.A)({},Ge.currentPage),sortBy:e&&e.sortBy?(0,Ae.A)({},e.sortBy):Ge.sortBy})),r=(0,F.A)(n,2),t=r[0],a=r[1],o=(0,i.useCallback)(function(e){var n;a({type:Ke.SET_PAGE,payload:{page:e.page>=1?e.page:1,perPage:null!==(n=e.perPage)&&void 0!==n?n:Ge.currentPage.perPage}})},[]),c=(0,i.useCallback)(function(e,n,r,i){a({type:Ke.SET_SORT_BY,payload:{index:n,direction:r}})},[]);return{page:t.currentPage,sortBy:t.sortBy,changePage:o,changeSortBy:c}}(f?{sortBy:f}:void 0),b=C.page,w=C.sortBy,N=C.changePage,T=C.changeSortBy,S=function(e){var n=e.items,r=e.currentSortBy,t=e.currentPage,a=e.filterItem,o=e.compareToByColumn;return(0,i.useMemo)(function(){var e,i=(0,Ue.A)(n||[]).filter(a),c=!1;return e=(0,Ue.A)(i).sort(function(e,n){var i=o(e,n,null===r||void 0===r?void 0:r.index);return 0!==i&&(c=!0),i}),c&&(null===r||void 0===r?void 0:r.direction)===Ve.l.desc&&(e=e.reverse()),{pageItems:e.slice((t.page-1)*t.perPage,t.page*t.perPage),filteredItems:i}},[n,t,r,o,a])}({items:r,currentPage:b,currentSortBy:w,compareToByColumn:c,filterItem:function(e){return l(e,I)}}),M=S.pageItems,O=S.filteredItems,P=(0,i.useState)(x),D=(0,F.A)(P,2),k=D[0],L=D[1],B=function(e,n,r,i){return{isExpanded:k[t(e)]===n,onToggle:function(){return function(e,n){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=t(e),a=(0,Ae.A)({},k);r?a[i]=n:delete a[i],L(a)}(e,n,k[t(e)]!==n)},expandId:v,rowIndex:r,columnIndex:i}},R=a.length;return(0,E.jsx)(p.Z,{children:(0,E.jsx)(j.b,{children:(0,E.jsxs)("div",{style:{backgroundColor:"var(--pf-v5-global--BackgroundColor--100)"},children:[(0,E.jsx)(Ce.M,{children:(0,E.jsxs)(be.P,{children:[(0,E.jsx)(we.h,{toggleIcon:(0,E.jsx)(Ze.Ay,{}),breakpoint:"xl",children:(0,E.jsx)(Ne.T,{variant:"search-filter",children:(0,E.jsx)(Te.D,{id:n+o.idSuffix,style:{width:"250px"},placeholder:o.placeholder,value:I,onChange:function(e,n){return A(n)},onClear:function(){return A("")}})})}),(0,E.jsx)(Ne.T,{variant:Ne.U.pagination,align:{default:"alignRight"},children:(0,E.jsx)(Xe,{isTop:!0,count:O.length,params:b,onChange:N})})]})}),(0,E.jsxs)(Pe.X,{"aria-label":(null!==n&&void 0!==n?n:u)+" table",variant:De.a.compact,children:[(0,E.jsx)(ke.d,{children:(0,E.jsx)(Fe.Tr,{children:a.map(function(e,n){return(0,E.jsx)(Le.Th,{width:e.width,sort:null!=e.sortIndex?{columnIndex:e.sortIndex,sortBy:(0,Ae.A)({},w),onSort:T}:void 0,children:e.header},e.key)})})}),(0,E.jsx)(en,{isNoData:0===O.length,numRenderedColumns:R,noDataEmptyState:(0,E.jsxs)(Se.p,{variant:Se.s.sm,children:[(0,E.jsx)(Me.o,{icon:(0,E.jsx)(Oe.q,{icon:We.Ay}),titleText:"No results found",headingLevel:"h2"}),(0,E.jsx)(Ee.h,{children:"Clear all filters and try again."})]}),children:null===M||void 0===M?void 0:M.map(function(e,n){var r,i=t(e),o=k[i],c=!!o;return(0,E.jsxs)(Be.N,{isExpanded:c,children:[(0,E.jsx)(Fe.Tr,{children:a.map(function(r,i){return(0,E.jsx)(Re.Td,{width:r.width,dataLabel:r.header,component:0===i?"th":void 0,compoundExpand:r.compoundExpand?B(e,r.key,n,i):void 0,children:r.render(e)},r.key)})}),c&&o?(0,E.jsx)(Fe.Tr,{isExpanded:!0,children:(0,E.jsx)(Re.Td,{dataLabel:null===(r=a.find(function(e){return e.key===o}))||void 0===r?void 0:r.header,noPadding:!0,colSpan:R,children:(0,E.jsx)(ze.g,{children:(0,E.jsx)("div",{className:"pf-v5-u-m-md",children:s(e,o)})})})}):null]},i)})})]}),(0,E.jsx)(Xe,{isTop:!1,count:O.length,params:b,onChange:N})]})})})}var rn=function(e){var n=e.name,r=e.showVersion,i=void 0!==r&&r;return(0,E.jsx)(E.Fragment,{children:(0,E.jsx)("a",{href:H(n),target:"_blank",rel:"noreferrer",children:Y(n,i)})})},tn=function(e){var n=e.packageName;e.cves;return(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)(v.I,{isInline:!0,status:"success",children:(0,E.jsx)("img",{src:k,alt:"Security Check Icon"})}),"\xa0",(0,E.jsx)("a",{href:Q(n),target:"_blank",rel:"noreferrer",children:X(n)})]})},an=function(e){var n,r,i,t=e.packageRef,a=e.vulnerability,o=Wn();return(0,E.jsx)(E.Fragment,{children:null===(null===(n=a.remediation)||void 0===n?void 0:n.fixedIn)||0===(null===(r=a.remediation)||void 0===r||null===(i=r.fixedIn)||void 0===i?void 0:i.length)?(0,E.jsx)("p",{}):(0,E.jsx)("a",{href:q(t,o),target:"_blank",rel:"noreferrer",children:a.id})})},on=r(8559),cn=r(7540),ln=r(8762),sn=r(974),dn=function(e){var n,r=e.vulnerability;switch(r.severity){case"CRITICAL":n="bar-critical";break;case"HIGH":n="bar-high";break;case"MEDIUM":n="bar-medium";break;case"LOW":n="bar-low";break;default:n="bar-default"}return(0,E.jsx)(E.Fragment,{children:(0,E.jsx)(on.B,{hasGutter:!0,children:(0,E.jsx)(cn.o,{isFilled:!0,children:(0,E.jsx)(ln.k,{title:"".concat(r.cvssScore,"/10"),"aria-label":"cvss-score",value:r.cvssScore,min:0,max:10,size:ln.j.sm,measureLocation:sn.Ri.none,className:"".concat(n)})})})})},un=function(e){var n,r=e.vulnerability;switch(r.severity){case"CRITICAL":n="#800000";break;case"HIGH":n="#FF0000";break;case"MEDIUM":n="#FFA500";break;case"LOW":n="#5BA352";break;default:n="grey"}return(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)(v.I,{isInline:!0,children:(0,E.jsx)(ve.Ay,{style:{fill:n,height:"13px"}})}),"\xa0",J(r.severity)]})},hn=function(e){var n,r,i=e.id,t=Wn();return(0,E.jsx)("a",{href:(n=i,r=t,r.cveIssueTemplate.replace("__ISSUE_ID__",n)),target:"_blank",rel:"noreferrer",children:i})},vn=r(4486),gn=function(e){var n=e.title,r=i.useState(!1),t=(0,F.A)(r,2),a=t[0],o=t[1];return(0,E.jsx)(vn.Q,{variant:vn.J.truncate,toggleText:a?"Show less":"Show more",onToggle:function(e,n){o(n)},isExpanded:a,children:n||"-"})},pn=function(e){var n,r,i,t,a,o=e.item,c=(e.providerName,e.rowIndex);return a=o.vulnerability.cves&&o.vulnerability.cves.length>0?o.vulnerability.cves:[o.vulnerability.id],(0,E.jsxs)(Fe.Tr,{children:[(0,E.jsx)(Re.Td,{children:a.map(function(e,n){return(0,E.jsx)("p",{children:(0,E.jsx)(hn,{id:e})},n)})}),(0,E.jsx)(Re.Td,{children:(0,E.jsx)(gn,{title:o.vulnerability.title})}),(0,E.jsx)(Re.Td,{noPadding:!0,children:(0,E.jsx)(un,{vulnerability:o.vulnerability})}),(0,E.jsx)(Re.Td,{children:(0,E.jsx)(dn,{vulnerability:o.vulnerability})}),(0,E.jsx)(Re.Td,{children:(0,E.jsx)(rn,{name:o.dependencyRef,showVersion:!0})}),(0,E.jsx)(Re.Td,{children:null!==(n=o.vulnerability.remediation)&&void 0!==n&&n.trustedContent?(0,E.jsx)(tn,{cves:o.vulnerability.cves||[],packageName:null===(r=o.vulnerability.remediation)||void 0===r||null===(i=r.trustedContent)||void 0===i?void 0:i.ref},c):null!==(t=o.vulnerability.remediation)&&void 0!==t&&t.fixedIn?(0,E.jsx)(an,{packageRef:o.dependencyRef,vulnerability:o.vulnerability}):d(o.vulnerability)?null:(0,E.jsx)("span",{})})]},c)},xn=function(e){var n=e.providerName,r=e.transitiveDependencies;return(0,E.jsx)(p.Z,{style:{backgroundColor:"var(--pf-v5-global--BackgroundColor--100)"},children:(0,E.jsxs)(Pe.X,{variant:De.a.compact,"aria-label":(null!==n&&void 0!==n?n:"Default")+" transitive vulnerabilities",children:[(0,E.jsx)(ke.d,{children:(0,E.jsxs)(Fe.Tr,{children:[(0,E.jsx)(Le.Th,{width:15,children:"Vulnerability ID"}),(0,E.jsx)(Le.Th,{width:20,children:"Description"}),(0,E.jsx)(Le.Th,{width:10,children:"Severity"}),(0,E.jsx)(Le.Th,{width:15,children:"CVSS Score"}),(0,E.jsx)(Le.Th,{width:20,children:"Transitive Dependency"}),(0,E.jsx)(Le.Th,{width:20,children:"Remediation"})]})}),(0,E.jsx)(en,{isNoData:0===r.length,numRenderedColumns:7,children:u(r).map(function(e,r){return(0,E.jsx)(Be.N,{children:(0,E.jsx)(pn,{item:e,providerName:n,rowIndex:r})},r)})})]})})},fn=function(e){var n=e.providerName,r=e.dependency,i=e.vulnerabilities;return(0,E.jsx)(p.Z,{style:{backgroundColor:"var(--pf-v5-global--BackgroundColor--100)"},children:(0,E.jsxs)(Pe.X,{variant:De.a.compact,"aria-label":(null!==n&&void 0!==n?n:"Default")+" direct vulnerabilities",children:[(0,E.jsx)(ke.d,{children:(0,E.jsxs)(Fe.Tr,{children:[(0,E.jsx)(Le.Th,{width:15,children:"Vulnerability ID"}),(0,E.jsx)(Le.Th,{width:20,children:"Description"}),(0,E.jsx)(Le.Th,{width:10,children:"Severity"}),(0,E.jsx)(Le.Th,{width:15,children:"CVSS Score"}),(0,E.jsx)(Le.Th,{width:20,children:"Direct Dependency"}),(0,E.jsx)(Le.Th,{width:20,children:"Remediation"})]})}),(0,E.jsx)(en,{isNoData:0===i.length,numRenderedColumns:6,children:null===i||void 0===i?void 0:i.map(function(e,i){var t=[];return e.cves&&e.cves.length>0?e.cves.forEach(function(e){return t.push(e)}):e.unique&&t.push(e.id),(0,E.jsx)(Be.N,{children:t.map(function(t,a){return(0,E.jsx)(pn,{item:{id:e.id,dependencyRef:r.ref,vulnerability:e},providerName:n,rowIndex:i},"".concat(i,"-").concat(a))})},i)})})]})})},mn=r(1640),jn=function(e){var n=e.vulnerabilities,r=void 0===n?[]:n,i=e.transitiveDependencies,t=void 0===i?[]:i,a={CRITICAL:0,HIGH:0,MEDIUM:0,LOW:0};return r.length>0?r.forEach(function(e){var n=e.severity;a.hasOwnProperty(n)&&a[n]++}):null===t||void 0===t||t.forEach(function(e){var n;null===(n=e.issues)||void 0===n||n.forEach(function(e){var n=e.severity;a.hasOwnProperty(n)&&a[n]++})}),(0,E.jsxs)(mn.Z,{children:[a.CRITICAL>0&&(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)(v.I,{isInline:!0,children:(0,E.jsx)(ve.Ay,{style:{fill:"#800000",height:"13px"}})}),"\xa0",a.CRITICAL,"\xa0"]}),a.HIGH>0&&(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)(v.I,{isInline:!0,children:(0,E.jsx)(ve.Ay,{style:{fill:"#FF0000",height:"13px"}})}),"\xa0",a.HIGH,"\xa0"]}),a.MEDIUM>0&&(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)(v.I,{isInline:!0,children:(0,E.jsx)(ve.Ay,{style:{fill:"#FFA500",height:"13px"}})}),"\xa0",a.MEDIUM,"\xa0"]}),a.LOW>0&&(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)(v.I,{isInline:!0,children:(0,E.jsx)(ve.Ay,{style:{fill:"#5BA352",height:"13px"}})}),"\xa0",a.LOW]})]})},yn=function(e){var n,r,i=e.dependency,t=null===(n=i.issues)||void 0===n?void 0:n.some(function(e){return d(e)}),a=(null===(r=i.transitive)||void 0===r?void 0:r.some(function(e){var n;return null===(n=e.issues)||void 0===n?void 0:n.some(function(e){return d(e)})}))||!1;return(0,E.jsx)(E.Fragment,{children:t||a?"Yes":"No"})},In=function(e){var n=e.name,r=e.dependencies,i=[{key:"name",header:"Dependency Name",width:30,sortIndex:1,render:function(e){return(0,E.jsx)(rn,{name:e.ref})}},{key:"version",header:"Current Version",width:15,render:function(e){return X(e.ref)}},{key:"direct",header:"Direct Vulnerabilities",width:15,compoundExpand:!0,render:function(e){var n,r;return null!==(n=e.issues)&&void 0!==n&&n.length?(0,E.jsxs)("div",{style:{display:"flex",alignItems:"center"},children:[(0,E.jsx)("div",{style:{width:"25px"},children:null===(r=e.issues)||void 0===r?void 0:r.length}),(0,E.jsx)(g.c,{orientation:{default:"vertical"},style:{paddingRight:"10px"}}),(0,E.jsx)(jn,{vulnerabilities:e.issues})]}):0}},{key:"transitive",header:"Transitive Vulnerabilities",width:15,compoundExpand:!0,render:function(e){var n;return null!==(n=e.transitive)&&void 0!==n&&n.length?(0,E.jsxs)("div",{style:{display:"flex",alignItems:"center"},children:[(0,E.jsx)("div",{style:{width:"25px"},children:e.transitive.map(function(e){var n;return null===(n=e.issues)||void 0===n?void 0:n.length}).reduce(function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)+(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0)})}),(0,E.jsx)(g.c,{orientation:{default:"vertical"},style:{paddingRight:"10px"}}),(0,E.jsx)(jn,{transitiveDependencies:e.transitive})]}):0}},{key:"rhRemediation",header:"Remediation available",width:15,render:function(e){return(0,E.jsx)(yn,{dependency:e})}}];return(0,E.jsx)(nn,{name:n,items:r,getRowKey:function(e){return e.ref},columns:i,filterConfig:{placeholder:"Filter by Dependency name",idSuffix:"-dependency-filter"},compareToByColumn:function(e,n,r){return 1===r?e.ref.localeCompare(n.ref):0},filterItem:function(e,n){var r,i;return!!(null!==(r=e.issues)&&void 0!==r&&r.length||null!==(i=e.transitive)&&void 0!==i&&i.length)&&(!n||0===n.trim().length||-1!==e.ref.toLowerCase().indexOf(n.toLowerCase()))},renderExpandContent:function(e,r){var i,t;return"direct"===r&&null!==(i=e.issues)&&void 0!==i&&i.length?(0,E.jsx)(fn,{providerName:n,dependency:e,vulnerabilities:e.issues}):"transitive"===r&&null!==(t=e.transitive)&&void 0!==t&&t.length?(0,E.jsx)(xn,{providerName:n,transitiveDependencies:e.transitive}):null},ariaLabelPrefix:"Dependencies",expandId:"compound-expandable-example",defaultExpanded:{"siemur/test-space":"name"}})},An=de;var Cn=function(e){var n=e.evidence,r=void 0===n?[]:n,t=e.countBy,a="identifiers"===(void 0===t?"evidence":t)?function(e){var n={PERMISSIVE:0,WEAK_COPYLEFT:0,STRONG_COPYLEFT:0,UNKNOWN:0};return null===e||void 0===e||e.forEach(function(e){(e.identifiers||[]).forEach(function(e){var r=(e.category||"UNKNOWN").toUpperCase().replace(/-/g,"_");n.hasOwnProperty(r)?n[r]++:n.UNKNOWN++})}),n}(r):function(e){var n={PERMISSIVE:0,WEAK_COPYLEFT:0,STRONG_COPYLEFT:0,UNKNOWN:0};return null===e||void 0===e||e.forEach(function(e){var r=(e.category||"UNKNOWN").toUpperCase().replace(/-/g,"_");n.hasOwnProperty(r)?n[r]++:n.UNKNOWN++}),n}(r);return(0,E.jsx)(mn.Z,{children:An.map(function(e){return a[e]>0&&(0,E.jsxs)(i.Fragment,{children:[(0,E.jsx)(v.I,{isInline:!0,children:(0,E.jsx)(ve.Ay,{style:{fill:ie[e],height:"13px"}})}),"\xa0",a[e],"\xa0"]},e)})})},bn=function(e){var n=e.concluded;return(0,E.jsx)(p.Z,{style:{backgroundColor:"var(--pf-v5-global--BackgroundColor--100)"},children:(0,E.jsxs)(A.B,{children:[(0,E.jsxs)(y.W,{children:[(0,E.jsx)(m.X,{children:"License name"}),(0,E.jsx)(I.d,{children:n.name||"\u2014"})]}),(0,E.jsxs)(y.W,{children:[(0,E.jsx)(m.X,{children:"Expression"}),(0,E.jsx)(I.d,{children:n.expression||"\u2014"})]}),(0,E.jsxs)(y.W,{children:[(0,E.jsx)(m.X,{children:"Category"}),(0,E.jsx)(I.d,{children:n.category?ce(n.category):"\u2014"})]})]})})},wn=r(5435),Nn="Evidence",Tn="Expression",Sn="Identifiers",Mn="Category",On="Status";function En(e){var n,r=e.info,i=null!==(n=null===r||void 0===r?void 0:r.identifiers)&&void 0!==n?n:[],t=i.some(function(e){return!0===e.isDeprecated}),a=i.some(function(e){return!0===e.isOsiApproved}),o=i.some(function(e){return!0===e.isFsfLibre});return t||a||o?(0,E.jsxs)(wn.s,{gap:{default:"gapSm"},alignItems:{default:"alignItemsCenter"},children:[t&&(0,E.jsx)(mn.Z,{children:(0,E.jsx)("span",{title:"Deprecated identifier",children:(0,E.jsx)(v.I,{isInline:!0,children:(0,E.jsx)(ve.Ay,{style:{fill:oe,height:"13px"}})})})}),a&&(0,E.jsx)(mn.Z,{children:(0,E.jsx)("img",{src:"https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/open-source-initiative.svg",alt:"OSI Approved",title:"OSI Approved",style:{height:"1.1em",verticalAlign:"middle"}})}),o&&(0,E.jsx)(mn.Z,{children:(0,E.jsx)("img",{src:"https://www.gnu.org/graphics/fsf-logo-notext-small.png",alt:"FSF Libre",title:"FSF Free/Libre",style:{height:"1.1em",verticalAlign:"middle"}})})]}):(0,E.jsx)(E.Fragment,{children:"\u2014"})}var Pn=function(e){var n=e.evidence,r=void 0===n?[]:n,t=(0,i.useMemo)(function(){return(0,Ue.A)(r).sort(function(e,n){return ue(e.category)-ue(n.category)})},[r]);return(0,E.jsx)(p.Z,{style:{backgroundColor:"var(--pf-v5-global--BackgroundColor--100)"},children:(0,E.jsxs)(Pe.X,{variant:De.a.compact,"aria-label":"Evidence licenses",children:[(0,E.jsx)(ke.d,{children:(0,E.jsxs)(Fe.Tr,{children:[(0,E.jsx)(Le.Th,{width:30,children:Nn}),(0,E.jsx)(Le.Th,{width:20,children:Tn}),(0,E.jsx)(Le.Th,{width:25,children:Sn}),(0,E.jsx)(Le.Th,{width:15,children:Mn}),(0,E.jsx)(Le.Th,{width:10,children:On})]})}),(0,E.jsx)(en,{isNoData:0===t.length,numRenderedColumns:5,children:(0,E.jsx)(Be.N,{children:t.map(function(e,n){var r,i,t,a=e.name||(null===(r=e.identifiers)||void 0===r?void 0:r.map(function(e){return e.name||e.id}).join(", "))||e.expression||"\u2014",o=e.expression||"\u2014",c=null!==(i=null===(t=e.identifiers)||void 0===t?void 0:t.map(function(e){return e.id}))&&void 0!==i?i:[],l=e.category||"\u2014",s=le(e.category);return(0,E.jsxs)(Fe.Tr,{children:[(0,E.jsx)(Re.Td,{dataLabel:Nn,children:a}),(0,E.jsx)(Re.Td,{dataLabel:Tn,children:o}),(0,E.jsx)(Re.Td,{dataLabel:Sn,style:{whiteSpace:"pre-line"},children:c.length?c.join("\n"):"\u2014"}),(0,E.jsx)(Re.Td,{dataLabel:Mn,children:"\u2014"!==l?(0,E.jsxs)("span",{children:[(0,E.jsx)(v.I,{isInline:!0,children:(0,E.jsx)(ve.Ay,{style:{fill:s,height:"13px"}})}),"\xa0",ce(e.category)]}):"\u2014"}),(0,E.jsx)(Re.Td,{dataLabel:On,children:(0,E.jsx)(En,{info:e})})]},n)})})})]})})};var Dn=function(e){var n=e.name,r=function(e){return Object.entries(e||{}).map(function(e){var n=(0,F.A)(e,2),r=n[0],i=n[1];return{ref:r,concluded:i.concluded,evidence:i.evidence||[]}})}(e.dependencies),i=[{key:"name",header:"Dependency Name",width:30,sortIndex:1,render:function(e){return(0,E.jsx)(rn,{name:e.ref})}},{key:"version",header:"Current Version",width:15,render:function(e){return X(e.ref)}},{key:"concluded",header:"Concluded",width:20,sortIndex:2,compoundExpand:!0,render:function(e){var n;if(!e.concluded)return"\u2014";var r=e.concluded.expression||e.concluded.name||"\u2014",i=null===(n=e.concluded.identifiers)||void 0===n?void 0:n.some(function(e){return!0===e.isDeprecated});return(0,E.jsxs)("span",{style:{display:"inline-flex",alignItems:"center",gap:6},children:[i&&(0,E.jsx)(v.I,{isInline:!0,title:"Concluded license is deprecated",children:(0,E.jsx)(ve.Ay,{style:{fill:"#F0AB00",height:"13px"}})}),r]})}},{key:"category",header:"Category",width:15,sortIndex:3,render:function(e){var n;return null!==(n=e.concluded)&&void 0!==n&&n.category?(0,E.jsxs)("span",{children:[(0,E.jsx)(v.I,{isInline:!0,children:(0,E.jsx)(ve.Ay,{style:{fill:le(e.concluded.category),height:"13px"}})}),"\xa0",ce(e.concluded.category)]}):"\u2014"}},{key:"evidences",header:"Evidences",width:25,compoundExpand:!0,render:function(e){var n;return null!==(n=e.evidence)&&void 0!==n&&n.length?(0,E.jsxs)("div",{style:{display:"flex",alignItems:"center"},children:[(0,E.jsx)("div",{style:{width:"25px"},children:e.evidence.length}),(0,E.jsx)(g.c,{orientation:{default:"vertical"},style:{paddingRight:"10px"}}),(0,E.jsx)(Cn,{evidence:e.evidence,countBy:"identifiers"})]}):0}}];return(0,E.jsx)(nn,{name:n,items:r,getRowKey:function(e){return e.ref},columns:i,filterConfig:{placeholder:"Filter by Dependency name",idSuffix:"-license-filter"},compareToByColumn:function(e,n,r){switch(r){case 1:return e.ref.localeCompare(n.ref);case 2:var i,t,a,o,c=(null===(i=e.concluded)||void 0===i?void 0:i.expression)||(null===(t=e.concluded)||void 0===t?void 0:t.name)||"",l=(null===(a=n.concluded)||void 0===a?void 0:a.expression)||(null===(o=n.concluded)||void 0===o?void 0:o.name)||"";return c.localeCompare(l);case 3:var s,d,u=(null===(s=e.concluded)||void 0===s?void 0:s.category)||"",h=(null===(d=n.concluded)||void 0===d?void 0:d.category)||"";return u.localeCompare(h);default:return 0}},filterItem:function(e,n){return!n||0===n.trim().length||-1!==e.ref.toLowerCase().indexOf(n.toLowerCase())},renderExpandContent:function(e,n){var r;return"concluded"===n&&e.concluded?(0,E.jsx)(bn,{concluded:e.concluded}):"evidences"===n&&null!==(r=e.evidence)&&void 0!==r&&r.length?(0,E.jsx)(Pn,{evidence:e.evidence}):null},ariaLabelPrefix:"Licenses",expandId:"evidences-compound-expand",initialSortBy:{index:3,direction:"desc"}})},kn=r(1157),Fn="vulnerabilities",Ln="licenses",Bn=function(e){var n=e.report,r=Wn(),t=l(n),o=t.length>0,c=(0,i.useMemo)(function(){var e;return(null!==(e=n.licenses)&&void 0!==e?e:[]).filter(function(e){return e.summary.total>0})},[n.licenses]),d=c.length>0,u=o?s(t[0]):null,h=d?c[0].status.name:null,v=i.useState(o?Fn:Ln),g=(0,F.A)(v,2),p=g[0],x=g[1],f=i.useState(null!==u&&void 0!==u?u:0),m=(0,F.A)(f,2),j=m[0],y=m[1],I=i.useState(null!==h&&void 0!==h?h:0),A=(0,F.A)(I,2),C=A[0],b=A[1],w=r.writeKey&&""!==r.writeKey.trim()?kn.N.load({writeKey:r.writeKey}):null,N=(0,i.useRef)("");(0,i.useEffect)(function(){w&&null!=r.anonymousId&&w.setAnonymousId(r.anonymousId)},[w,r.anonymousId]),(0,i.useEffect)(function(){d&&null!=h&&(new Set(c.map(function(e){return e.status.name})).has(String(C))||b(h))},[d,h,c,C]);var T=p===Fn?j:C;(0,i.useEffect)(function(){w&&T!==N.current&&(w.track("rhda.exhort.tab",{tabName:T}),N.current=T)},[w,T]);var S=[];return o&&S.push((0,E.jsx)(je.o,{eventKey:Fn,title:(0,E.jsx)(ye.V,{children:"Vulnerabilities"}),"aria-label":"Vulnerabilities",children:(0,E.jsx)(Ie.t,{activeKey:j,onSelect:function(e,n){y(n)},isSecondary:!0,isBox:!0,variant:"light300","aria-label":"Vulnerability providers",role:"region",children:t.map(function(e){var n,r=s(e),i=null===(n=e.report.dependencies)||void 0===n?void 0:n.filter(function(e){return e.highestVulnerability});return(0,E.jsx)(je.o,{eventKey:r,title:(0,E.jsx)(ye.V,{children:r}),"aria-label":"".concat(r," source"),children:(0,E.jsx)(a.d8,{variant:a.zC.default,children:(0,E.jsx)(In,{name:r,dependencies:i})})},r)})})},Fn)),d&&S.push((0,E.jsx)(je.o,{eventKey:Ln,title:(0,E.jsx)(ye.V,{children:"Licenses"}),"aria-label":"Licenses",children:(0,E.jsx)(Ie.t,{activeKey:C,onSelect:function(e,n){b(n)},isSecondary:!0,isBox:!0,variant:"light300","aria-label":"License providers",role:"region",children:c.map(function(e){return(0,E.jsx)(je.o,{eventKey:e.status.name,title:(0,E.jsx)(ye.V,{children:e.status.name}),"aria-label":"".concat(e.status.name," source"),children:(0,E.jsx)(a.d8,{variant:a.zC.default,children:(0,E.jsx)(Dn,{name:e.status.name,dependencies:e.packages})})},e.status.name)})})},Ln)),0===S.length?null:(0,E.jsx)("div",{children:(0,E.jsx)(Ie.t,{activeKey:p,onSelect:function(e,n){x(n)},"aria-label":"Providers",role:"region",variant:"light300",isBox:!0,children:S})})},Rn=function(e){var n=e.report,r=i.useState(Object.keys(n)[0]||""),t=(0,F.A)(r,2),l=t[0],s=t[1],d=i.useState(!0),u=(0,F.A)(d,1)[0],h=Object.entries(n).map(function(e){var n=(0,F.A)(e,2),r=n[0],i=n[1];return(0,E.jsxs)(je.o,{eventKey:r,title:(0,E.jsx)(ye.V,{children:_(r)}),"aria-label":"".concat(r," source"),children:[(0,E.jsx)(me,{report:i}),(0,E.jsx)(a.d8,{variant:a.zC.light,children:(0,E.jsx)(o.x,{hasGutter:!0,children:(0,E.jsx)(c.E,{children:(0,E.jsx)(xe,{report:i,isReportMap:!0,purl:r})})})}),(0,E.jsx)(a.d8,{variant:a.zC.default,children:(0,E.jsx)(Bn,{report:i})})]})});return(0,E.jsx)("div",{children:(0,E.jsx)(Ie.t,{activeKey:l,onSelect:function(e,n){s(n)},"aria-label":"Providers",role:"region",variant:u?"light300":"default",isBox:!0,children:h})})},zn=window.appData,Zn=(0,i.createContext)(zn),Wn=function(){return(0,i.useContext)(Zn)};var Un=function(){return(0,E.jsx)(Zn.Provider,{value:zn,children:(e=zn.report,"object"===typeof e&&null!==e&&Object.keys(e).every(function(n){return"scanned"in e[n]&&"providers"in e[n]&&"object"===typeof e[n].scanned&&"object"===typeof e[n].providers})?(0,E.jsx)(a.d8,{variant:a.zC.default,children:(0,E.jsx)(Rn,{report:zn.report})}):(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)(me,{report:zn.report}),(0,E.jsx)(a.d8,{variant:a.zC.light,children:(0,E.jsx)(o.x,{hasGutter:!0,children:(0,E.jsx)(c.E,{children:(0,E.jsx)(xe,{report:zn.report})})})}),(0,E.jsx)(a.d8,{variant:a.zC.default,children:(0,E.jsx)(Bn,{report:zn.report})})]}))});var e},Vn=function(e){e&&e instanceof Function&&r.e(121).then(r.bind(r,6895)).then(function(n){var r=n.getCLS,i=n.getFID,t=n.getFCP,a=n.getLCP,o=n.getTTFB;r(e),i(e),t(e),a(e),o(e)})};t.createRoot(document.getElementById("root")).render((0,E.jsx)(i.StrictMode,{children:(0,E.jsx)(Un,{})})),Vn()}},n={};function r(i){var t=n[i];if(void 0!==t)return t.exports;var a=n[i]={id:i,loaded:!1,exports:{}};return e[i].call(a.exports,a,a.exports,r),a.loaded=!0,a.exports}r.m=e,function(){var e=[];r.O=function(n,i,t,a){if(!i){var o=1/0;for(d=0;d=a)&&Object.keys(r.O).every(function(e){return r.O[e](i[l])})?i.splice(l--,1):(c=!1,a0&&e[d-1][2]>a;d--)e[d]=e[d-1];e[d]=[i,t,a]}}(),r.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(n,{a:n}),n},function(){var e,n=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__};r.t=function(i,t){if(1&t&&(i=this(i)),8&t)return i;if("object"===typeof i&&i){if(4&t&&i.__esModule)return i;if(16&t&&"function"===typeof i.then)return i}var a=Object.create(null);r.r(a);var o={};e=e||[null,n({}),n([]),n(n)];for(var c=2&t&&i;("object"==typeof c||"function"==typeof c)&&!~e.indexOf(c);c=n(c))Object.getOwnPropertyNames(c).forEach(function(e){o[e]=function(){return i[e]}});return o.default=function(){return i},r.d(a,o),a}}(),r.d=function(e,n){for(var i in n)r.o(n,i)&&!r.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:n[i]})},r.e=function(){return Promise.resolve()},r.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),r.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},r.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},function(){var e={792:0};r.O.j=function(n){return 0===e[n]};var n=function(n,i){var t,a,o=i[0],c=i[1],l=i[2],s=0;if(o.some(function(n){return 0!==e[n]})){for(t in c)r.o(c,t)&&(r.m[t]=c[t]);if(l)var d=l(r)}for(n&&n(i);s {