import { LOG_DEBUG_NAMESPACE as i, FEATURE_FLAGS as l } from "../constants.mjs";
import { storage as n } from "./storage.mjs";
function o(s) {
  const t = n.local.get(i);
  return (t ? t.split(",").map((e) => e.trim()) : []).includes(s.trim());
}
function p(s) {
  const t = n.local.get(i);
  return (t ? t.split(",").map((e) => e.trim()) : []).filter((e) => e.trim().startsWith(s)).some((e) => e.trim().endsWith("GROUP"));
}
function u(s, t = l) {
  const a = n.local.get(t);
  return (a ? a.split(",").map((r) => r.trim()) : []).includes(s.trim());
}
export {
  o as isDebuggerEnable,
  p as isDebuggerGrouped,
  u as isFeatureFlagEnabled
};
//# sourceMappingURL=debug.mjs.map
