import { __exports as r } from "../../../../../../../../../_virtual/cleanJSXElementLiteralChild.js";
import { __require as d } from "../../builders/generated/index.js";
var a;
function g() {
  if (a)
    return r;
  a = 1, Object.defineProperty(r, "__esModule", {
    value: !0
  }), r.default = o;
  var s = d();
  function o(f, u) {
    const i = f.value.split(/\r\n|\n|\r/);
    let l = 0;
    for (let e = 0; e < i.length; e++)
      i[e].match(/[^ \t]/) && (l = e);
    let n = "";
    for (let e = 0; e < i.length; e++) {
      const c = i[e], m = e === 0, p = e === i.length - 1, L = e === l;
      let t = c.replace(/\t/g, " ");
      m || (t = t.replace(/^[ ]+/, "")), p || (t = t.replace(/[ ]+$/, "")), t && (L || (t += " "), n += t);
    }
    n && u.push((0, s.stringLiteral)(n));
  }
  return r;
}
export {
  g as __require
};
//# sourceMappingURL=cleanJSXElementLiteralChild.js.map
