function a(r, n, ...i) {
  if (t() && n === void 0)
    throw new Error("invariant requires an error message argument");
  if (!r) {
    let e;
    if (n === void 0)
      e = new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");
    else {
      let o = 0;
      e = new Error(n.replace(/%s/g, function() {
        return i[o++];
      })), e.name = "Invariant Violation";
    }
    throw e.framesToPop = 1, e;
  }
}
function t() {
  return typeof process < "u" && process.env.NODE_ENV === "production";
}
export {
  a as invariant
};
//# sourceMappingURL=index.es.js.map
