import { factorySpace as e } from "../../../micromark-factory-space/index.js";
import { blankLine as t } from "../../../micromark-core-commonmark/lib/blank-line.js";
import { content as n } from "../../../micromark-core-commonmark/lib/content.js";
//#region ../../node_modules/micromark/lib/initialize/flow.js
var r = { tokenize: i };
function i(r) {
	let i = this, a = r.attempt(t, o, r.attempt(this.parser.constructs.flowInitial, s, e(r, r.attempt(this.parser.constructs.flow, s, r.attempt(n, s)), "linePrefix")));
	return a;
	function o(e) {
		if (e === null) {
			r.consume(e);
			return;
		}
		return r.enter("lineEndingBlank"), r.consume(e), r.exit("lineEndingBlank"), i.currentConstruct = void 0, a;
	}
	function s(e) {
		if (e === null) {
			r.consume(e);
			return;
		}
		return r.enter("lineEnding"), r.consume(e), r.exit("lineEnding"), i.currentConstruct = void 0, a;
	}
}
//#endregion
export { r as flow };
