function o(n, r, f) {
  if (n instanceof EventTarget)
    return [n];
  if (typeof n == "string") {
    let i = document;
    const u = (f == null ? void 0 : f[n]) ?? i.querySelectorAll(n);
    return u ? Array.from(u) : [];
  }
  return Array.from(n);
}
export {
  o as resolveElements
};
//# sourceMappingURL=resolve-elements.es.js.map
