import { __exports as r } from "../../../../../../../../_virtual/toBlock.js";
import "../validators/generated/index.js";
import { __require as n } from "../builders/generated/index.js";
import { __exports as m } from "../../../../../../../../_virtual/index35.js";
var o;
function p() {
  if (o)
    return r;
  o = 1, Object.defineProperty(r, "__esModule", {
    value: !0
  }), r.default = s;
  var t = m, i = n();
  function s(e, u) {
    if ((0, t.isBlockStatement)(e))
      return e;
    let a = [];
    return (0, t.isEmptyStatement)(e) ? a = [] : ((0, t.isStatement)(e) || ((0, t.isFunction)(u) ? e = (0, i.returnStatement)(e) : e = (0, i.expressionStatement)(e)), a = [e]), (0, i.blockStatement)(a);
  }
  return r;
}
export {
  p as __require
};
//# sourceMappingURL=toBlock.js.map
