-`}tablecell(ie){const ae=this.parser.parseInline(ie.tokens),oe=ie.header?"th":"td";return(ie.align?`<${oe} align="${ie.align}">`:`<${oe}>`)+ae+`${oe}>
-`}strong({tokens:ie}){return`${this.parser.parseInline(ie)}`}em({tokens:ie}){return`${this.parser.parseInline(ie)}`}codespan({text:ie}){return`${ie}`}br(ie){return" "}del({tokens:ie}){return`${this.parser.parseInline(ie)}`}link({href:ie,title:ae,tokens:oe}){const ue=this.parser.parseInline(oe),de=cleanUrl$1(ie);if(de===null)return ue;ie=de;let pe='"+ue+"",pe}image({href:ie,title:ae,text:oe}){const ue=cleanUrl$1(ie);if(ue===null)return oe;ie=ue;let de=`",de}text(ie){return"tokens"in ie&&ie.tokens?this.parser.parseInline(ie.tokens):ie.text}},_TextRenderer$1=class{strong({text:ie}){return ie}em({text:ie}){return ie}codespan({text:ie}){return ie}del({text:ie}){return ie}html({text:ie}){return ie}text({text:ie}){return ie}link({text:ie}){return""+ie}image({text:ie}){return""+ie}br(){return""}},_Parser$1=class bg{constructor(ie){Hu(this,"options");Hu(this,"renderer");Hu(this,"textRenderer");this.options=ie||_defaults$1,this.options.renderer=this.options.renderer||new _Renderer$1,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new _TextRenderer$1}static parse(ie,ae){return new bg(ae).parse(ie)}static parseInline(ie,ae){return new bg(ae).parseInline(ie)}parse(ie,ae=!0){let oe="";for(let ue=0;ue{const Ne=_e[Ce].flat(1/0);oe=oe.concat(this.walkTokens(Ne,ae))}):_e.tokens&&(oe=oe.concat(this.walkTokens(_e.tokens,ae)))}}return oe}use(...ie){const ae=this.defaults.extensions||{renderers:{},childTokens:{}};return ie.forEach(oe=>{const ue={...oe};if(ue.async=this.defaults.async||ue.async||!1,oe.extensions&&(oe.extensions.forEach(de=>{if(!de.name)throw new Error("extension name required");if("renderer"in de){const pe=ae.renderers[de.name];pe?ae.renderers[de.name]=function(..._e){let Ce=de.renderer.apply(this,_e);return Ce===!1&&(Ce=pe.apply(this,_e)),Ce}:ae.renderers[de.name]=de.renderer}if("tokenizer"in de){if(!de.level||de.level!=="block"&&de.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const pe=ae[de.level];pe?pe.unshift(de.tokenizer):ae[de.level]=[de.tokenizer],de.start&&(de.level==="block"?ae.startBlock?ae.startBlock.push(de.start):ae.startBlock=[de.start]:de.level==="inline"&&(ae.startInline?ae.startInline.push(de.start):ae.startInline=[de.start]))}"childTokens"in de&&de.childTokens&&(ae.childTokens[de.name]=de.childTokens)}),ue.extensions=ae),oe.renderer){const de=this.defaults.renderer||new _Renderer$1(this.defaults);for(const pe in oe.renderer){if(!(pe in de))throw new Error(`renderer '${pe}' does not exist`);if(["options","parser"].includes(pe))continue;const _e=pe,Ce=oe.renderer[_e],Ne=de[_e];de[_e]=(...Oe)=>{let Ie=Ce.apply(de,Oe);return Ie===!1&&(Ie=Ne.apply(de,Oe)),Ie||""}}ue.renderer=de}if(oe.tokenizer){const de=this.defaults.tokenizer||new _Tokenizer$1(this.defaults);for(const pe in oe.tokenizer){if(!(pe in de))throw new Error(`tokenizer '${pe}' does not exist`);if(["options","rules","lexer"].includes(pe))continue;const _e=pe,Ce=oe.tokenizer[_e],Ne=de[_e];de[_e]=(...Oe)=>{let Ie=Ce.apply(de,Oe);return Ie===!1&&(Ie=Ne.apply(de,Oe)),Ie}}ue.tokenizer=de}if(oe.hooks){const de=this.defaults.hooks||new _Hooks$1;for(const pe in oe.hooks){if(!(pe in de))throw new Error(`hook '${pe}' does not exist`);if(["options","block"].includes(pe))continue;const _e=pe,Ce=oe.hooks[_e],Ne=de[_e];_Hooks$1.passThroughHooks.has(pe)?de[_e]=Oe=>{if(this.defaults.async)return Promise.resolve(Ce.call(de,Oe)).then(Fe=>Ne.call(de,Fe));const Ie=Ce.call(de,Oe);return Ne.call(de,Ie)}:de[_e]=(...Oe)=>{let Ie=Ce.apply(de,Oe);return Ie===!1&&(Ie=Ne.apply(de,Oe)),Ie}}ue.hooks=de}if(oe.walkTokens){const de=this.defaults.walkTokens,pe=oe.walkTokens;ue.walkTokens=function(_e){let Ce=[];return Ce.push(pe.call(this,_e)),de&&(Ce=Ce.concat(de.call(this,_e))),Ce}}this.defaults={...this.defaults,...ue}}),this}setOptions(ie){return this.defaults={...this.defaults,...ie},this}lexer(ie,ae){return _Lexer$1.lex(ie,ae??this.defaults)}parser(ie,ae){return _Parser$1.parse(ie,ae??this.defaults)}parseMarkdown(ie){return(oe,ue)=>{const de={...ue},pe={...this.defaults,...de},_e=this.onError(!!pe.silent,!!pe.async);if(this.defaults.async===!0&&de.async===!1)return _e(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof oe>"u"||oe===null)return _e(new Error("marked(): input parameter is undefined or null"));if(typeof oe!="string")return _e(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(oe)+", string expected"));pe.hooks&&(pe.hooks.options=pe,pe.hooks.block=ie);const Ce=pe.hooks?pe.hooks.provideLexer():ie?_Lexer$1.lex:_Lexer$1.lexInline,Ne=pe.hooks?pe.hooks.provideParser():ie?_Parser$1.parse:_Parser$1.parseInline;if(pe.async)return Promise.resolve(pe.hooks?pe.hooks.preprocess(oe):oe).then(Oe=>Ce(Oe,pe)).then(Oe=>pe.hooks?pe.hooks.processAllTokens(Oe):Oe).then(Oe=>pe.walkTokens?Promise.all(this.walkTokens(Oe,pe.walkTokens)).then(()=>Oe):Oe).then(Oe=>Ne(Oe,pe)).then(Oe=>pe.hooks?pe.hooks.postprocess(Oe):Oe).catch(_e);try{pe.hooks&&(oe=pe.hooks.preprocess(oe));let Oe=Ce(oe,pe);pe.hooks&&(Oe=pe.hooks.processAllTokens(Oe)),pe.walkTokens&&this.walkTokens(Oe,pe.walkTokens);let Ie=Ne(Oe,pe);return pe.hooks&&(Ie=pe.hooks.postprocess(Ie)),Ie}catch(Oe){return _e(Oe)}}}onError(ie,ae){return oe=>{if(oe.message+=`
-Please report this to https://github.com/markedjs/marked.`,ie){const ue="
+`}tablecell(qa){const Ja=this.parser.parseInline(qa.tokens),ed=qa.header?"th":"td";return(qa.align?`<${ed} align="${qa.align}">`:`<${ed}>`)+Ja+`${ed}>
+`}strong({tokens:qa}){return`${this.parser.parseInline(qa)}`}em({tokens:qa}){return`${this.parser.parseInline(qa)}`}codespan({text:qa}){return`${qa}`}br(qa){return" "}del({tokens:qa}){return`${this.parser.parseInline(qa)}`}link({href:qa,title:Ja,tokens:ed}){const td=this.parser.parseInline(ed),rd=cleanUrl$1(qa);if(rd===null)return td;qa=rd;let od='"+td+"",od}image({href:qa,title:Ja,text:ed}){const td=cleanUrl$1(qa);if(td===null)return ed;qa=td;let rd=`",rd}text(qa){return"tokens"in qa&&qa.tokens?this.parser.parseInline(qa.tokens):qa.text}},_TextRenderer$1=class{strong({text:qa}){return qa}em({text:qa}){return qa}codespan({text:qa}){return qa}del({text:qa}){return qa}html({text:qa}){return qa}text({text:qa}){return qa}link({text:qa}){return""+qa}image({text:qa}){return""+qa}br(){return""}},_Parser$1=class gS{constructor(qa){t1(this,"options");t1(this,"renderer");t1(this,"textRenderer");this.options=qa||_defaults$1,this.options.renderer=this.options.renderer||new _Renderer$1,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new _TextRenderer$1}static parse(qa,Ja){return new gS(Ja).parse(qa)}static parseInline(qa,Ja){return new gS(Ja).parseInline(qa)}parse(qa,Ja=!0){let ed="";for(let td=0;td{const cd=sd[ld].flat(1/0);ed=ed.concat(this.walkTokens(cd,Ja))}):sd.tokens&&(ed=ed.concat(this.walkTokens(sd.tokens,Ja)))}}return ed}use(...qa){const Ja=this.defaults.extensions||{renderers:{},childTokens:{}};return qa.forEach(ed=>{const td={...ed};if(td.async=this.defaults.async||td.async||!1,ed.extensions&&(ed.extensions.forEach(rd=>{if(!rd.name)throw new Error("extension name required");if("renderer"in rd){const od=Ja.renderers[rd.name];od?Ja.renderers[rd.name]=function(...sd){let ld=rd.renderer.apply(this,sd);return ld===!1&&(ld=od.apply(this,sd)),ld}:Ja.renderers[rd.name]=rd.renderer}if("tokenizer"in rd){if(!rd.level||rd.level!=="block"&&rd.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const od=Ja[rd.level];od?od.unshift(rd.tokenizer):Ja[rd.level]=[rd.tokenizer],rd.start&&(rd.level==="block"?Ja.startBlock?Ja.startBlock.push(rd.start):Ja.startBlock=[rd.start]:rd.level==="inline"&&(Ja.startInline?Ja.startInline.push(rd.start):Ja.startInline=[rd.start]))}"childTokens"in rd&&rd.childTokens&&(Ja.childTokens[rd.name]=rd.childTokens)}),td.extensions=Ja),ed.renderer){const rd=this.defaults.renderer||new _Renderer$1(this.defaults);for(const od in ed.renderer){if(!(od in rd))throw new Error(`renderer '${od}' does not exist`);if(["options","parser"].includes(od))continue;const sd=od,ld=ed.renderer[sd],cd=rd[sd];rd[sd]=(...ud)=>{let gd=ld.apply(rd,ud);return gd===!1&&(gd=cd.apply(rd,ud)),gd||""}}td.renderer=rd}if(ed.tokenizer){const rd=this.defaults.tokenizer||new _Tokenizer$1(this.defaults);for(const od in ed.tokenizer){if(!(od in rd))throw new Error(`tokenizer '${od}' does not exist`);if(["options","rules","lexer"].includes(od))continue;const sd=od,ld=ed.tokenizer[sd],cd=rd[sd];rd[sd]=(...ud)=>{let gd=ld.apply(rd,ud);return gd===!1&&(gd=cd.apply(rd,ud)),gd}}td.tokenizer=rd}if(ed.hooks){const rd=this.defaults.hooks||new _Hooks$1;for(const od in ed.hooks){if(!(od in rd))throw new Error(`hook '${od}' does not exist`);if(["options","block"].includes(od))continue;const sd=od,ld=ed.hooks[sd],cd=rd[sd];_Hooks$1.passThroughHooks.has(od)?rd[sd]=ud=>{if(this.defaults.async)return Promise.resolve(ld.call(rd,ud)).then(_d=>cd.call(rd,_d));const gd=ld.call(rd,ud);return cd.call(rd,gd)}:rd[sd]=(...ud)=>{let gd=ld.apply(rd,ud);return gd===!1&&(gd=cd.apply(rd,ud)),gd}}td.hooks=rd}if(ed.walkTokens){const rd=this.defaults.walkTokens,od=ed.walkTokens;td.walkTokens=function(sd){let ld=[];return ld.push(od.call(this,sd)),rd&&(ld=ld.concat(rd.call(this,sd))),ld}}this.defaults={...this.defaults,...td}}),this}setOptions(qa){return this.defaults={...this.defaults,...qa},this}lexer(qa,Ja){return _Lexer$1.lex(qa,Ja??this.defaults)}parser(qa,Ja){return _Parser$1.parse(qa,Ja??this.defaults)}parseMarkdown(qa){return(ed,td)=>{const rd={...td},od={...this.defaults,...rd},sd=this.onError(!!od.silent,!!od.async);if(this.defaults.async===!0&&rd.async===!1)return sd(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof ed>"u"||ed===null)return sd(new Error("marked(): input parameter is undefined or null"));if(typeof ed!="string")return sd(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(ed)+", string expected"));od.hooks&&(od.hooks.options=od,od.hooks.block=qa);const ld=od.hooks?od.hooks.provideLexer():qa?_Lexer$1.lex:_Lexer$1.lexInline,cd=od.hooks?od.hooks.provideParser():qa?_Parser$1.parse:_Parser$1.parseInline;if(od.async)return Promise.resolve(od.hooks?od.hooks.preprocess(ed):ed).then(ud=>ld(ud,od)).then(ud=>od.hooks?od.hooks.processAllTokens(ud):ud).then(ud=>od.walkTokens?Promise.all(this.walkTokens(ud,od.walkTokens)).then(()=>ud):ud).then(ud=>cd(ud,od)).then(ud=>od.hooks?od.hooks.postprocess(ud):ud).catch(sd);try{od.hooks&&(ed=od.hooks.preprocess(ed));let ud=ld(ed,od);od.hooks&&(ud=od.hooks.processAllTokens(ud)),od.walkTokens&&this.walkTokens(ud,od.walkTokens);let gd=cd(ud,od);return od.hooks&&(gd=od.hooks.postprocess(gd)),gd}catch(ud){return sd(ud)}}}onError(qa,Ja){return ed=>{if(ed.message+=`
+Please report this to https://github.com/markedjs/marked.`,qa){const td="