;
{
  try {
    let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
    n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "c89f0074-9485-4939-9be5-9a53e26e6e3b", e._sentryDebugIdIdentifier = "sentry-dbid-c89f0074-9485-4939-9be5-9a53e26e6e3b");
  } catch (e) {
  }
}
;
import { aD as keysOf } from "./StoreProvider-CqQrndhS.js";
const isEmpty = (obj, ignoreEmptyProperties = true) => {
  if (obj === null || obj === void 0) return true;
  if (Array.isArray(obj)) return obj.length === 0;
  if (typeof obj !== "object") return false;
  return keysOf(obj).every(
    (key) => !Object.hasOwn(obj, key) || // if it's an inherited property, we don't care
    ignoreEmptyProperties && isEmpty(obj[key], true)
    // or if the property is itself empty
  );
};
export {
  isEmpty as i
};
