import { complex as s } from "./index.es.js";
import { floatRegex as i } from "../utils.es.js";
const c = /* @__PURE__ */ new Set(["brightness", "contrast", "saturate", "opacity"]);
function l(t) {
  let [e, n] = t.slice(0, -1).split("(");
  if (e === "drop-shadow")
    return t;
  const [a] = n.match(i) || [];
  if (!a)
    return t;
  const r = n.replace(a, "");
  let o = c.has(e) ? 1 : 0;
  return a !== n && (o *= 100), e + "(" + o + r + ")";
}
const u = /([a-z-]*)\(.*?\)/g, p = Object.assign(Object.assign({}, s), { getAnimatableNone: (t) => {
  const e = t.match(u);
  return e ? e.map(l).join(" ") : t;
} });
export {
  p as filter
};
//# sourceMappingURL=filter.es.js.map
