u.peek = a;
function u(c, v, e, l) {
  const f = c.referenceType, k = e.enter("linkReference");
  let o = e.enter("label");
  const n = e.createTracker(l);
  let r = n.move("[");
  const t = e.containerPhrasing(c, {
    before: r,
    after: "]",
    ...n.current()
  });
  r += n.move(t + "]["), o();
  const s = e.stack;
  e.stack = [], o = e.enter("reference");
  const i = e.safe(e.associationId(c), {
    before: r,
    after: "]",
    ...n.current()
  });
  return o(), e.stack = s, k(), f === "full" || !t || t !== i ? r += n.move(i + "]") : f === "shortcut" ? r = r.slice(0, -1) : r += n.move("]"), r;
}
function a() {
  return "[";
}
export {
  u as linkReference
};
//# sourceMappingURL=link-reference.es.js.map
