import { useReadMetaData } from "../hooks/useReadMetaData.mjs";
import { BioCard } from "../../../UI/surfaces/cards/BioCard.mjs";
import { AddressListItem } from "../../../UI/dataDisplay/address/AddressListItem.mjs";
import { c } from "react-compiler-runtime";
import React from "react";
import { Grid } from "@material-ui/core";
//#region src/componentSystems/pageRenderer/wrappers/BioCardWrapper.jsx
const BioCardWrapper = (props) => {
	const $ = c(7);
	const { id, propsComponent } = props;
	const { columnSize } = useReadMetaData(propsComponent);
	const t0 = columnSize?.xs;
	const t1 = columnSize?.sm;
	const t2 = columnSize?.md;
	let t3;
	if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
		t3 = /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(AddressListItem, null, "123 Fake Street, Encinitas, CA, 92024"), /* @__PURE__ */ React.createElement(AddressListItem, null, " +1.767.815.8957 "), /* @__PURE__ */ React.createElement(AddressListItem, null, " marlene@smith.com "));
		$[0] = t3;
	} else t3 = $[0];
	let t4;
	if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
		t4 = /* @__PURE__ */ React.createElement(BioCard, {
			firstName: "Marlene",
			lastName: "Smith",
			avatar: "http://www.woman-themovie.org/wp-content/uploads/2020/02/AQALLAL_Sofia-W_78-FRANCE_24-FACIES-LVMH-CALLIGARO_Sandra-V1.jpg",
			alt: "Marlene",
			address: t3,
			copy: "Marlene Smith, 123 Fake Street, Encinitas, CA, 92024, +1.767.815.8957, marlene@smith.com  "
		}, /* @__PURE__ */ React.createElement("h1", null, "Marlene Smith"));
		$[1] = t4;
	} else t4 = $[1];
	let t5;
	if ($[2] !== id || $[3] !== t0 || $[4] !== t1 || $[5] !== t2) {
		t5 = /* @__PURE__ */ React.createElement(Grid, {
			item: true,
			xs: t0,
			sm: t1,
			md: t2,
			key: id
		}, t4);
		$[2] = id;
		$[3] = t0;
		$[4] = t1;
		$[5] = t2;
		$[6] = t5;
	} else t5 = $[6];
	return t5;
};
//#endregion
export { BioCardWrapper };

//# sourceMappingURL=BioCardWrapper.mjs.map