"use client";
import * as e from "react";
const t = /* @__PURE__ */ e.createContext(void 0);
process.env.NODE_ENV !== "production" && (t.displayName = "CSPContext");
const a = {
  disableStyleElements: !1
};
function r() {
  return e.useContext(t) ?? a;
}
function u(n, o = Number.MIN_SAFE_INTEGER, s = Number.MAX_SAFE_INTEGER) {
  return Math.max(o, Math.min(n, s));
}
export {
  u as c,
  r as u
};
