function n(e) {
  return e.replace(/([A-Z])/g, "-$1").toLowerCase();
}
function i(e) {
  return Object.keys(e).map((r) => `${n(r)}: ${e[r]};`).join(" ");
}
function a() {
  return window.devicePixelRatio || 1;
}
const c = (e, r) => {
  let t = !1;
  return e.removedNodes.length && (t = Array.from(e.removedNodes).some((o) => r(o))), e.type === "attributes" && r(e.target) && (t = !0), t;
};
export {
  a as getPixelRatio,
  i as getStyleStr,
  c as reRendering,
  n as toLowercaseSeparator
};
