import{hexColors as o}from"../../../lib/hexColors.js";import{BaseColors as r}from"../../../lib/constants.js";import{sumNumericArray as s}from"../../../lib/utils.js";const t=(s,t)=>s.map(((s,l)=>{const i=l<t.length?t[l]:r.Gray,n=o[null!=i?i:r.Gray];return Object.assign(Object.assign({},s),{color:i,fill:n})})),l=(o,r,t,l)=>o||r(((o,r)=>s(o.map((o=>o[r]))))(t,l));export{t as parseData,l as parseLabelInput};
