1const o=[{key:"concept_design",label:"Design",raw:["concept","design"]},{key:"implementation",label:"Implementation",raw:["implementation"]},{key:"evaluation",label:"Evaluation",raw:["evaluation"]}],i={concept_design:"Design",implementation:"Impl",evaluation:"Eval"},r={concept_design:"hsl(var(--chart-3))",implementation:"hsl(var(--chart-2))",evaluation:"hsl(var(--chart-1))"};function l(t){for(const e of o)if(e.raw.includes(t))return e.key;return"implementation"}function s(t){return o.find(e=>e.key===t)?.label??t}function u(t){return i[t]}function p(t){return o.some(e=>e.key===t)?t:l(t)}function y(t){const e=new Map;for(const n of o)e.set(n.key,{display_key:n.key,label:n.label,contract_count:0,total_value:0,supplier_count:0});for(const n of t??[]){const c=l(n.functional_category),a=e.get(c);a&&(a.contract_count+=n.contract_count??0,a.total_value+=n.total_value??0,a.supplier_count+=n.supplier_count??0)}return[...e.values()]}export{o as D,r as a,u as b,s as d,y as m,l as r,p as t}; 2//# sourceMappingURL=functionalCategoryDisplay-D7rn7XDb.js.map
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.