"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const labelEnd = require("./lib-label-end.cjs");
const labelStartLink = {
  name: "labelStartLink",
  resolveAll: labelEnd.labelEnd.resolveAll,
  tokenize: tokenizeLabelStartLink
};
function tokenizeLabelStartLink(effects, ok, nok) {
  const self = this;
  return start;
  function start(code) {
    effects.enter("labelLink");
    effects.enter("labelMarker");
    effects.consume(code);
    effects.exit("labelMarker");
    effects.exit("labelLink");
    return after;
  }
  function after(code) {
    return code === 94 && "_hiddenFootnoteSupport" in self.parser.constructs ? nok(code) : ok(code);
  }
}
exports.labelStartLink = labelStartLink;
//# sourceMappingURL=lib-label-start-link.cjs.map
