const i = function(o, e) {
  e = e.replace(/\[(\w+)\]/g, ".$1"), e = e.replace(/^\./, "");
  let t = o;
  const r = e.split(".");
  for (let n = 0, l = r.length; n < l; ++n) {
    const c = r[n];
    if (c in t)
      t = t[c];
    else
      return o.action.active;
  }
  return t;
};
export {
  i as getPaletteColor
};
