!function(e,t){"object"==typeofexports&&"undefined"!=typeofmodule?module.exports=t():"function"==typeofdefine&&define.amd?define(t):(e="undefined"!=typeofglobalThis?globalThis:e||self).RevealMarkdown=t()}(this,(function(){"use strict";functione(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}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}functionu(e,t,n){returntine?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}functioni(e,t){if(null==e)return{};varn,r,u=function(e,t){if(null==e)return{};varn,r,u={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(u[n]=e[n]);returnu}(e,t);if(Object.getOwnPropertySymbols){vari=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(u[n]=e[n])}returnu}functiono(e,t){returnfunction(e){if(Array.isArray(e))returne}(e)||function(e,t){varn=e&&("undefined"!=typeofSymbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==n)return;varr,u,i=[],o=!0,a=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);o=!0);}catch(e){a=!0,u=e}finally{try{o||null==n.return||n.return()}finally{if(a)throwu}}returni}(e,t)||a(e,t)||function(){thrownewTypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}functiona(e,t){if(e){if("string"==typeofe)returnl(e,t);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)?l(e,t):void0}}functionl(e,t){(null==t||t>e.length)&&(t=e.length);for(varn=0,r=newArray(t);n<t;n++)r[n]=e[n];returnr}functions(e,t){varn="undefined"!=typeofSymbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=a(e))||t&&e&&"number"==typeofe.length){n&&(e=n);varr=0,u=function(){};return{s:u,n:function(){returnr>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throwe},f:u}}thrownewTypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}vari,o=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){vare=n.next();returno=e.done,e},e:function(e){l=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(l)throwi}}}}varc="undefined"!=typeofglobalThis?globalThis:"undefined"!=typeofwindow?window:"undefined"!=typeofglobal?global:"undefined"!=typeofself?self:{},f=function(e){returne&&e.Math==Math&&e},p=f("object"==typeofglobalThis&&globalThis)||f("object"==typeofwindow&&window)||f("object"==typeofself&&self)||f("object"==typeofc&&c)||function(){returnthis}()||Function("return this")(),h={},D=function(e){try{return!!e()}catch(e){return!0}},g=!D((function(){return7!=Object.defineProperty({},1,{get:function(){return7}})[1]})),d={},v={}.propertyIsEnumerable,A=Object.getOwnPropertyDescriptor,y=A&&!v.call({1:2},1);d.f=y?function(e){vart=A(this,e);return!!t&&t.enumerable}:v;varE=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},m={}.toString,k=function(e){returnm.call(e).slice(8,-1)},b=k,F="".split,C=D((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==b(e)?F.call(e,""):Object(e)}:Object,x=function(e){if(null==e)throwTypeError("Can't call method on "+e);returne},w=C,B=x,S=function(e){returnw(B(e))},_=function(e){return"object"==typeofe?null!==e:"function"==typeofe},T=_,O=function(e,t){if(!T(e))returne;varn,r;if(t&&"function"==typeof(n=e.