import { c } from "react-compiler-runtime";
import React from "react";
//#region src/utilities/form/paymentForm/DisableOverlay.tsx
/**
* DisabledOverlay
*
* @param {*} { message }
* @return {*}
*/
const DisabledOverlay = (t0) => {
	const $ = c(3);
	const { message } = t0;
	let t1;
	if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
		t1 = {
			position: "absolute",
			top: 0,
			left: 0,
			right: 0,
			bottom: 0,
			backgroundColor: "rgba(255, 255, 255, 0.5)",
			display: "flex",
			justifyContent: "center",
			alignItems: "center",
			color: "#7f7f7f",
			fontSize: "1.2rem",
			textAlign: "center",
			padding: "20px",
			zIndex: 1e3
		};
		$[0] = t1;
	} else t1 = $[0];
	let t2;
	if ($[1] !== message) {
		t2 = /* @__PURE__ */ React.createElement("div", { style: t1 }, message);
		$[1] = message;
		$[2] = t2;
	} else t2 = $[2];
	return t2;
};
//#endregion
export { DisabledOverlay };

//# sourceMappingURL=DisableOverlay.mjs.map