import { __esm } from "../../../../../../_virtual/rolldown_runtime.mjs";

//#region ../../node_modules/samlify/node_modules/uuid/dist/esm-browser/rng.js
function rng() {
	if (!getRandomValues) {
		getRandomValues = typeof crypto !== "undefined" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto !== "undefined" && typeof msCrypto.getRandomValues === "function" && msCrypto.getRandomValues.bind(msCrypto);
		if (!getRandomValues) throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
	}
	return getRandomValues(rnds8);
}
var getRandomValues, rnds8;
var init_rng = __esm({ "../../node_modules/samlify/node_modules/uuid/dist/esm-browser/rng.js": (() => {
	;
	rnds8 = new Uint8Array(16);
}) });

//#endregion
init_rng();
export { rng as default, init_rng };
//# sourceMappingURL=rng.mjs.map