"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("../util/check-strong.cjs.js"),u=require("../util/encode-character-reference.cjs.js"),g=require("../util/encode-info.cjs.js");h.peek=m;function h(c,l,n,o){const r=C.checkStrong(n),b=n.enter("strong"),t=n.createTracker(o),s=t.move(r+r);let e=t.move(n.containerPhrasing(c,{after:r,before:s,...t.current()}));const i=e.charCodeAt(0),a=g.encodeInfo(o.before.charCodeAt(o.before.length-1),i,r);a.inside&&(e=u.encodeCharacterReference(i)+e.slice(1));const d=e.charCodeAt(e.length-1),f=g.encodeInfo(o.after.charCodeAt(0),d,r);f.inside&&(e=e.slice(0,-1)+u.encodeCharacterReference(d));const k=t.move(r+r);return b(),n.attentionEncodeSurroundingInfo={after:f.outside,before:a.outside},s+e+k}function m(c,l,n){return n.options.strong||"*"}exports.strong=h;
//# sourceMappingURL=strong.cjs.js.map
