import { h as e } from "./chunk.BlbRoQQ3.js";
import { a7 as t } from "./use-page-data.Cb2SuuwJ.js";
import "./chunk-LSPN22SI.D75E3zS-.js";
import { c as n } from "./twind.BiM9xcCd.js";
import { b as r } from "./jsx-runtime.DF4K5VCp.js";
import "./chroma-js.Dcir27CH.js";
import "./color-system.Dp99zR0T.js";
import "./react.BZZIbN3T.js";
import "./schema-resolver.p7B_pu36.js";
import { b as i } from "./use-brick-style.DDPl-_C1.js";
import "./use-brick-manifest.Iv9SG-7-.js";
import { b as a } from "./TextContent.B1cB93wj.js";
import { b as o } from "./BrickRoot.DbISziyH.js";
import { b as s } from "./use-brick-props.Db5hMGVc.js";
var c = /* @__PURE__ */ e(r());
function l(e) {
	let { brick: r, editable: l } = e, u = s(e), d = i(r), f = Object.values(d);
	return /* @__PURE__ */ (0, c.jsx)(o, {
		brick: r,
		editable: l,
		manifest: t,
		className: n("flex grow h-full", f),
		children: /* @__PURE__ */ (0, c.jsx)(a, {
			propPath: "content",
			className: n("text-pretty grow"),
			brickId: r.id,
			content: u.content,
			rawContent: r.props.content,
			editable: l
		})
	});
}
export { l as default };

//# sourceMappingURL=text.9y1QkUsw.js.map