const c = "#25D366", l = [
  {
    includes: ["whatsapp", "waba"],
    color: "#D9FDD3"
  },
  {
    includes: ["telegram"],
    color: "#DAF0FF"
  },
  {
    includes: ["sms"],
    color: "#E6EBF0"
  },
  {
    includes: ["max"],
    color: "#E6D9F2"
  }
];
function n(o, s = null) {
  const r = o == null ? void 0 : o.toLowerCase().trim();
  if (!r)
    return s;
  for (const e of l)
    if (e.includes.some((t) => r.includes(t)))
      return e.color;
  return c;
}
export {
  n as getChannelAccentColor
};
