1"use strict";(self.webpackChunkuwazi=self.webpackChunkuwazi||[]).push([[8411],{13304(e,t,s){s.r(t);var l=s(96540),a=s(71468),r=s(5556),n=s.n(r),c=s(9404),o=s.n(c),i=s(75807),u=s.n(i),f=s(500),p=s(55373),d=s(50979),m=s(67406),b=s(26101),g=s(78716);const h=e=>{const{excludeZero:t,property:s,data:a,classname:r,context:n,scatter:c,colors:o}=e,i=o.split(",");let g=l.createElement(d.a,null);if(a){const r=m.XC.sortValues(m.XC.formatDataForChart(a,s,{excludeZero:Boolean(t),context:n,scatter:c}));let o={filters:{}};if(e.baseUrl){const{q:t}=p.parse(e.baseUrl.substring(e.baseUrl.indexOf("?")),{ignoreQueryPrefix:!0});o=(0,f.Jc)(t),o.filters=o.filters||{}}g=l.createElement("ul",null,r.map((t,a)=>{const r=l.createElement("div",null,l.createElement("div",{className:"list-bullet",style:{backgroundColor:i[a%i.length]}},l.createElement("span",null,t.results)),l.createElement("span",{className:"list-label"},c?`${t.parent} - ${t.label}`:t.label));return o.filters[s]={values:[t.id]},l.createElement("li",{key:t.id},e.baseUrl&&l.createElement(b._,{url:`/library/?q=${u().encode(o)}`,classname:"list-link"},r),!e.baseUrl&&r)}))}return l.createElement("div",{className:`ListChart ${r}`},g)};h.defaultProps={context:"System",excludeZero:!1,scatter:!1,classname:"",colors:"#ffcc00,#ffd633,#ffe066,#ffeb99,#fff5cc",data:null,baseUrl:null},h.propTypes={property:n().string.isRequired,context:n().string,scatter:n().oneOfType([n().string,n().bool]),classname:n().string,colors:n().string,data:n().instanceOf(o().List),baseUrl:n().string,excludeZero:n().oneOfType([n().string,n().bool])};const x=(e,t)=>({data:g.A.getAggregations(e,t),thesauris:e.thesauris}),y=(0,a.Ng)(x)(h),C=y;s.d(t,["ListChart",0,y,"ListChartComponent",0,h,"default",0,C,"mapStateToProps",0,x])}}]);
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.