"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const patternInScope = require("./lib-util-pattern-in-scope.cjs");
function hardBreak(_, _1, state, info) {
  let index = -1;
  while (++index < state.unsafe.length) {
    if (state.unsafe[index].character === "\n" && patternInScope.patternInScope(state.stack, state.unsafe[index])) {
      return /[ \t]/.test(info.before) ? "" : " ";
    }
  }
  return "\\\n";
}
exports.hardBreak = hardBreak;
//# sourceMappingURL=lib-handle-break.cjs.map
