!function(t,e){"object"==typeofexports&&"undefined"!=typeofmodule?module.exports=e():"function"==typeofdefine&&define.amd?define(e):(t=t||self).RevealNotes=e()}(this,(function(){"use strict";vart=function(t,e){returnt(e={exports:{}},e.exports),e.exports}((function(t){functione(){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,tokenizer:null,xhtml:!1}}t.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,tokenizer:null,xhtml:!1},getDefaults:e,changeDefaults:function(e){t.exports.defaults=e}}}));t.defaults,t.getDefaults,t.changeDefaults;conste=/[&<>"']/,n=/[&<>"']/g,i=/[<>"']|&(?!#?\w+;)/,s=/[<>"']|&(?!#?\w+;)/g,r={"&":"&","<":"<",">":">",'"':""","'":"'"},a=t=>r[t];constl=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;functiono(t){returnt.replace(l,(t,e)=>"colon"===(e=e.toLowerCase())?":":"#"===e.charAt(0)?"x"===e.charAt(1)?String.fromCharCode(parseInt(e.substring(2),16)):String.fromCharCode(+e.substring(1)):"")}constc=/(^|[^\[])\^/g;constd=/[^\w:]/g,u=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;constp={},h=/^[^:]+:\/*[^/]*$/,g=/^([^:]+:)[\s\S]*$/,m=/^([^:]+:\/*[^/]*)[\s\S]*$/;functionf(t,e){p[" "+t]||(h.test(t)?p[" "+t]=t+"/":p[" "+t]=k(t,"/",!0));constn=-1===(t=p[" "+t]).indexOf(":");return"//"===e.substring(0,2)?n?e:t.replace(g,"$1")+e:"/"===e.charAt(0)?n?e:t.replace(m,"$1")+e:t+e}functionk(t,e,n){consti=t.length;if(0===i)return"";lets=0;for(;s<i;){constr=t.charAt(i-s-1);if(r!==e||n){if(r===e||!n)break;s++}elses++}returnt.substr(0,i-s)}varb={escape:function(t,r){if(r){if(e.test(t))returnt.replace(n,a)}elseif(i.test(t))returnt.replace(s,a);returnt},unescape:o,edit:function(t,e){t=t.source||t,e=e||"";constn={replace:(e,i)=>(i=(i=i.source||i).replace(c,"$1"),t=t.replace(e,i),n),getRegex:()=>newRegExp(t,e)};returnn},cleanUrl:function(t,e,n){if(t){lett;try{t=decodeURIComponent(o(n)).replace(d,"").toLowerCase()}catch(t){returnnull}if(0===t.indexOf("javascript:")||0===t.indexOf("vbscript:")||0===t.indexOf("data:"))returnnull}e&&!u.test(n)&&(n=f(e,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(t){returnnull}returnn},resolveUrl:f,noopTest:{exec:function(){}},merge:function(t){lete,n,i=1;for(;i<arguments.length;i++)for(nine=arguments[i],e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);returnt},splitCells:function(t,e){constn=t.replace(/\|/g,(t,e,n)=>{leti=!1,s=e;for(;--s>=0&&"\\"===n[s];)i=!i;returni?"|":" |"}).split(/ \|/);leti=0;if(n.length>e)n.splice(e);elsefor(;n.length<e;)n.push("");for(;i<n.length;i++)n[i]=n[i].trim().replace(/\\\|/g,"|");returnn},rtrim:k,findClosingBracket:function(t,e){if(-1===t.indexOf(e[1]))return-1;constn=t.length;leti=0,s=0;for(;s<n;s++)if("\\"===t[s])s++;elseif(t[s]===e[0])i++;elseif(t[s]===e[1]&&(i--,i<0))returns;return-1},checkSanitizeDeprecation:function(t){t&&t.sanitize&&!t.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")}};const{defaults:y}=t,{rtrim:w,splitCells:x,escape:v,findClosingBracket:S}=b;functionz(t,e,n){consti=e.href,s=e.title?v(e.title):null;return"!"!==t[0].charAt(0)?{type:"link",raw:n,href:i,title:s,text:t[1]}:{type:"image",raw:n,text:v(t[1]),href:i,title:s}}varT=class{constructor(t){this.options=t||y}space(t){conste=this.rules.block.newline.exec(t);if(e)returne[0].length>1?{type:"space",raw:e[0]}:{raw:"\n"}}code(t,e){constn=this.rules.block.code.exec(t);if(n){constt=e[e.length-1];if(t&&"paragraph"===t.type)returne.pop(),t.text+="\n"+n[0].trimRight(),t.raw+="\n"+n[0],t;{constt=n[0].replace(/^ {4}/gm,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?t:w(t,"\n")}}}}fences(t){conste=this.