import { jsx as e } from "react/jsx-runtime";
import { b as i } from "./use-section-style.CqWLdjop.js";
import { bq as m } from "./use-page-data.BYLN5MSa.js";
import { T as p } from "./TextContent.i83ueo1A.js";
import { a as s } from "./twind.Cg2g8xBZ.js";
import { B as f } from "./BrickRoot.CQgjTuOI.js";
import { u as l } from "./use-brick-props.C-zGB4NN.js";
function w(o) {
  const { brick: t, editable: r } = o, n = l(o), a = i(t), c = Object.values(a);
  return /* @__PURE__ */ e(
    f,
    {
      brick: t,
      editable: r,
      manifest: m,
      className: s("flex grow h-full", c),
      children: /* @__PURE__ */ e(
        p,
        {
          propPath: "content",
          className: s("text-pretty grow prose"),
          brickId: t.id,
          content: n.content,
          rawContent: t.props.content,
          editable: r
        }
      )
    }
  );
}
export {
  w as default
};
