!function(e,t){"object"==typeofexports&&"undefined"!=typeofmodule?module.exports=t():"function"==typeofdefine&&define.amd?define(t):(e=e||self).RevealMarkdown=t()}(this,(function(){"use strict";functione(t){return(e="function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?function(e){returntypeofe}:function(e){returne&&"function"==typeofSymbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeofe})(t)}functiont(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}functionn(e,t){for(varn=0;n<t.length;n++){varr=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"inr&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}functionr(e,t,r){returnt&&n(e.prototype,t),r&&n(e,r),e}functions(e,t,n){returntine?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}functioni(e,t){varn=Object.keys(e);if(Object.getOwnPropertySymbols){varr=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){returnObject.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}returnn}vara=function(e,t){returne(t={exports:{}},t.exports),t.exports}((function(e){functiont(){return{baseUrl:null,breaks:!1,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,xhtml:!1}}e.exports={defaults:{baseUrl:null,breaks:!1,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,xhtml:!1},getDefaults:t,changeDefaults:function(t){e.exports.defaults=t}}})),l=(a.defaults,a.getDefaults,a.changeDefaults,/[&<>"']/),o=/[&<>"']/g,c=/[<>"']|&(?!#?\w+;)/,u=/[<>"']|&(?!#?\w+;)/g,h={"&":"&","<":"<",">":">",'"':""","'":"'"},p=function(e){returnh[e]};varg=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;functionf(e){returne.replace(g,(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)):""}))}vard=/(^|[^\[])\^/g;varb=/[^\w:]/g,k=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;varm={},x=/^[^:]+:\/*[^/]*$/,y=/^([^:]+:)[\s\S]*$/,v=/^([^:]+:\/*[^/]*)[\s\S]*$/;functionw(e,t){m[" "+e]||(x.test(e)?m[" "+e]=e+"/":m[" "+e]=_(e,"/",!0));varn=-1===(e=m[" "+e]).indexOf(":");return"//"===t.substring(0,2)?n?t:e.replace(y,"$1")+t:"/"===t.charAt(0)?n?t:e.replace(v,"$1")+t:e+t}function_(e,t,n){varr=e.length;if(0===r)return"";for(vars=0;s<r;){vari=e.charAt(r-s-1);if(i!==t||n){if(i===t||!n)break;s++}elses++}returne.substr(0,r-s)}varS=function(e,t){if(t){if(l.test(e))returne.replace(o,p)}elseif(c.test(e))returne.replace(u,p);returne},A=f,$=function(e,t,n){if(e){varr;try{r=decodeURIComponent(f(n)).replace(b,"").toLowerCase()}catch(e){returnnull}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))returnnull}t&&!k.test(n)&&(n=w(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(e){returnnull}returnn},R=function(e){for(vart,n,r=1;r<arguments.length;r++)for(nint=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);returne},z=function(e,t){varn=e.replace(/\|/g,(function(e,t,n){for(varr=!1,s=t;--s>=0&&"\\"===n[s];)r=!r;returnr?"|":" |"})).split(/ \|/),r=0;if(n.length>t)n.splice(t);elsefor(;n.length<t;)n.push("");for(;r<n.length;r++)n[r]=n[r].trim().replace(/\\\|/g,"|");returnn},T=_,O=function(e,t){if(-1===e.indexOf(t[1]))return-1;for(varn=e.length,r=0,s=0;s<n;s++)if("\\"===e[s])s++;elseif(e[s]===t[0])r++;elseif(e[s]===t[1]&&--r<0)returns;return-1},E=function(e){e&&e.sanitize&&!e.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")},P={exec:function(){}},L=function(e,t){e=e.source||e,t=t||"";varn={replace:function(t,r){returnr=(r=r.source||r).replace(d,"$1"),e=e.replace(t,r),n},get