"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const index = require("../mdast-util-phrasing/lib-index.cjs");
function root(node, _, state, info) {
  const hasPhrasing = node.children.some(function(d) {
    return index.phrasing(d);
  });
  const container = hasPhrasing ? state.containerPhrasing : state.containerFlow;
  return container.call(state, node, info);
}
exports.root = root;
//# sourceMappingURL=lib-handle-root.cjs.map
