!function(e,t){"object"==typeofexports&&"undefined"!=typeofmodule?module.exports=t():"function"==typeofdefine&&define.amd?define(t):(e="undefined"!=typeofglobalThis?globalThis:e||self).marked=t()}(this,(function(){"use strict";functione(e,t){for(varu=0;u<t.length;u++){varn=t[u];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"inn&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}functiont(e,t){(null==t||t>e.length)&&(t=e.length);for(varu=0,n=newArray(t);u<t;u++)n[u]=e[u];returnn}functionu(e,u){varn="undefined"!=typeofSymbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,u){if(e){if("string"==typeofe)returnt(e,u);varn=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?t(e,u):void0}}(e))||u&&e&&"number"==typeofe.length){n&&(e=n);varr=0;returnfunction(){returnr>=e.length?{done:!0}:{done:!1,value:e[r++]}}}thrownewTypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}varn={exports:{}};functionr(){return{baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}n.exports={defaults:{baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1},getDefaults:r,changeDefaults:function(e){n.exports.defaults=e}};vari=/[&<>"']/,s=/[&<>"']/g,l=/[<>"']|&(?!#?\w+;)/,a=/[<>"']|&(?!#?\w+;)/g,o={"&":"&","<":"<",">":">",'"':""","'":"'"},D=function(e){returno[e]};varc=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;functionh(e){returne.replace(c,(function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""}))}varp=/(^|[^\[])\^/g;varf=/[^\w:]/g,g=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;varF={},A=/^[^:]+:\/*[^/]*$/,d=/^([^:]+:)[\s\S]*$/,C=/^([^:]+:\/*[^/]*)[\s\S]*$/;functionk(e,t){F[" "+e]||(A.test(e)?F[" "+e]=e+"/":F[" "+e]=E(e,"/",!0));varu=-1===(e=F[" "+e]).indexOf(":");return"//"===t.substring(0,2)?u?t:e.replace(d,"$1")+t:"/"===t.charAt(0)?u?t:e.replace(C,"$1")+t:e+t}functionE(e,t,u){varn=e.length;if(0===n)return"";for(varr=0;r<n;){vari=e.charAt(n-r-1);if(i!==t||u){if(i===t||!u)break;r++}elser++}returne.substr(0,n-r)}varx=function(e,t){if(t){if(i.test(e))returne.replace(s,D)}elseif(l.test(e))returne.replace(a,D);returne},m=h,b=function(e,t){e=e.source||e,t=t||"";varu={replace:function(t,n){returnn=(n=n.source||n).replace(p,"$1"),e=e.replace(t,n),u},getRegex:function(){returnnewRegExp(e,t)}};returnu},B=function(e,t,u){if(e){varn;try{n=decodeURIComponent(h(u)).replace(f,"").toLowerCase()}catch(e){returnnull}if(0===n.indexOf("javascript:")||0===n.indexOf("vbscript:")||0===n.indexOf("data:"))returnnull}t&&!g.test(u)&&(u=k(t,u));try{u=encodeURI(u).replace(/%25/g,"%")}catch(e){returnnull}returnu},w={exec:function(){}},v=function(e){for(vart,u,n=1;n<arguments.length;n++)for(uint=arguments[n])Object.prototype.hasOwnProperty.call(t,u)&&(e[u]=t[u]);returne},y=function(e,t){varu=e.replace(/\|/g,(function(e,t,u){for(varn=!1,r=t;--r>=0&&"\\"===u[r];)n=!n;returnn?"|":" |"})).split(/ \|/),n=0;if(u[0].trim()||u.shift(),u[u.length-1].trim()||u.pop(),u.length>t)u.splice(t);elsefor(;u.length<t;)u.push("");for(;n<u.length;n++)u[n]=u[n].trim().replace(/\\\|/g,"|");returnu},_=E,z=function(e,t){if(-1===e.indexOf(t[1]))return-1;for(varu=e.length,n=0,r=0;r<u;r++)if("\\"===e[r])r++;elseif(e[r]===t[0])n++;elseif(e[r]===t[1]&&--n<0)returnr;return-1},$=function(e){e&&e.sanitize