import { FluentButton } from "../../../UI/inputs/buttons/FluentButton.mjs";
import { AmbientCard } from "../../../UI/surfaces/cards/AmbientCard/AmbientCard.mjs";
import { FluentMenuListItem } from "../../../UI/navigation/menus/FluentMenuListItem.mjs";
import { c } from "react-compiler-runtime";
import React from "react";
import { Box, Grid } from "@material-ui/core";
import "@fluentui/react-icons";
//#region src/componentSystems/pageRenderer/wrappers/DisplayCardWrapper.jsx
const DisplayCardWrapper = (props) => {
	const $ = c(7);
	const { setSideSheetOpen, sideSheetOpen } = props;
	let t0;
	if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
		t0 = {
			width: "100%",
			minWidth: "100%"
		};
		$[0] = t0;
	} else t0 = $[0];
	let t1;
	let t2;
	let t3;
	if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
		t1 = /* @__PURE__ */ React.createElement(FluentMenuListItem, {
			value: 2,
			label: "Text Issued",
			arrow: false
		});
		t2 = /* @__PURE__ */ React.createElement(FluentMenuListItem, {
			value: 3,
			label: "Date Issued",
			arrow: false
		});
		t3 = /* @__PURE__ */ React.createElement(FluentMenuListItem, {
			value: 4,
			label: "Valid Until",
			arrow: false
		});
		$[1] = t1;
		$[2] = t2;
		$[3] = t3;
	} else {
		t1 = $[1];
		t2 = $[2];
		t3 = $[3];
	}
	let t4;
	if ($[4] !== setSideSheetOpen || $[5] !== sideSheetOpen) {
		t4 = /* @__PURE__ */ React.createElement(Grid, { item: true }, /* @__PURE__ */ React.createElement(Box, {
			mt: 2,
			sx: t0
		}, /* @__PURE__ */ React.createElement(AmbientCard, {
			overrideStatusSuccess: "current",
			overrideStatusError: "expired",
			editEvent: _temp,
			deleteEvent: _temp2,
			fullWidth: true
		}, /* @__PURE__ */ React.createElement("div", null, t1, t2, t3, /* @__PURE__ */ React.createElement(FluentButton, {
			variant: "contained",
			color: "secondary",
			onClick: () => setSideSheetOpen(!sideSheetOpen)
		}, "Test Button")))));
		$[4] = setSideSheetOpen;
		$[5] = sideSheetOpen;
		$[6] = t4;
	} else t4 = $[6];
	return t4;
};
function _temp() {}
function _temp2() {}
//#endregion
export { DisplayCardWrapper };

//# sourceMappingURL=DisplayCardWrapper.mjs.map