!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).RevealNotes=e()}(this,(function(){"use strict";var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t,e,n){return t(n={path:e,exports:{},require:function(t,e){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==e&&n.path)}},n.exports),n.exports}var n=function(t){return t&&t.Math==Math&&t},r=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||function(){return this}()||Function("return this")(),u=function(t){try{return!!t()}catch(t){return!0}},i=!u((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),a={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,l={f:o&&!a.call({1:2},1)?function(t){var e=o(this,t);return!!e&&e.enumerable}:a},s=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},c={}.toString,p=function(t){return c.call(t).slice(8,-1)},d="".split,f=u((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==p(t)?d.call(t,""):Object(t)}:Object,h=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},g=function(t){return f(h(t))},D=function(t){return"object"==typeof t?null!==t:"function"==typeof t},m=function(t,e){if(!D(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!D(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!D(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!D(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")},v={}.hasOwnProperty,y=function(t,e){return v.call(t,e)},k=r.document,A=D(k)&&D(k.createElement),E=function(t){return A?k.createElement(t):{}},b=!i&&!u((function(){return 7!=Object.defineProperty(E("div"),"a",{get:function(){return 7}}).a})),C=Object.getOwnPropertyDescriptor,F={f:i?C:function(t,e){if(t=g(t),e=m(e,!0),b)try{return C(t,e)}catch(t){}if(y(t,e))return s(!l.f.call(t,e),t[e])}},x=function(t){if(!D(t))throw TypeError(String(t)+" is not an object");return t},w=Object.defineProperty,S={f:i?w:function(t,e,n){if(x(t),e=m(e,!0),x(n),b)try{return w(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},B=i?function(t,e,n){return S.f(t,e,s(1,n))}:function(t,e,n){return t[e]=n,t},T=function(t,e){try{B(r,t,e)}catch(n){r[t]=e}return e},_="__core-js_shared__",z=r[_]||T(_,{}),O=Function.toString;"function"!=typeof z.inspectSource&&(z.inspectSource=function(t){return O.call(t)});var I,R,$,P=z.inspectSource,L=r.WeakMap,j="function"==typeof L&&/native code/.test(P(L)),M=e((function(t){(t.exports=function(t,e){return z[t]||(z[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.7.0",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),N=0,q=Math.random(),U=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++N+q).toString(36)},Z=M("keys"),K=function(t){return Z[t]||(Z[t]=U(t))},J={},H=r.WeakMap;if(j){var W=z.state||(z.state=new H),Y=W.get,V=W.has,X=W.set;I=function(t,e){return e.facade=t,X.call(W,t,e),e},R=function(t){return Y.call(W,t)||{}},$=function(t){return V.call(W,t)}}else{var G=K("state");J[G]=!0,I=function(t,e){return e.facade=t,B(t,G,e),e},R=function(t){return y(t,G)?t[G]:{}},$=function(t){return y(t,G)}}var Q={set:I,get:R,has:$,enforce:function(t){return $(t)?R(t):I(t,{})},getterFor:function(t){return function(e){var n;if(!D(e)||(n=R(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}},tt=e((function(t){var e=Q.get,n=Q.enforce,u=String(String).split("String");(t.exports=function(t,e,i,a){var o,l=!!a&&!!a.unsafe,s=!!a&&!!a.enumerable,c=!!a&&!!a.noTargetGet;"function"==typeof i&&("string"!=typeof e||y(i,"name")||B(i,"name",e),(o=n(i)).source||(o.source=u.join("string"==typeof e?e:""))),t!==r?(l?!c&&t[e]&&(s=!0):delete t[e],s?t[e]=i:B(t,e,i)):s?t[e]=i:T(e,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&e(this).source||P(this)}))})),et=r,nt=function(t){return"function"==typeof t?t:void 0},rt=function(t,e){return arguments.length<2?nt(et[t])||nt(r[t]):et[t]&&et[t][e]||r[t]&&r[t][e]},ut=Math.ceil,it=Math.floor,at=function(t){return isNaN(t=+t)?0:(t>0?it:ut)(t)},ot=Math.min,lt=function(t){return t>0?ot(at(t),9007199254740991):0},st=Math.max,ct=Math.min,pt=function(t,e){var n=at(t);return n<0?st(n+e,0):ct(n,e)},dt=function(t){return function(e,n,r){var u,i=g(e),a=lt(i.length),o=pt(r,a);if(t&&n!=n){for(;a>o;)if((u=i[o++])!=u)return!0}else for(;a>o;o++)if((t||o in i)&&i[o]===n)return t||o||0;return!t&&-1}},ft={includes:dt(!0),indexOf:dt(!1)},ht=ft.indexOf,gt=function(t,e){var n,r=g(t),u=0,i=[];for(n in r)!y(J,n)&&y(r,n)&&i.push(n);for(;e.length>u;)y(r,n=e[u++])&&(~ht(i,n)||i.push(n));return i},Dt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],mt=Dt.concat("length","prototype"),vt={f:Object.getOwnPropertyNames||function(t){return gt(t,mt)}},yt={f:Object.getOwnPropertySymbols},kt=rt("Reflect","ownKeys")||function(t){var e=vt.f(x(t)),n=yt.f;return n?e.concat(n(t)):e},At=function(t,e){for(var n=kt(e),r=S.f,u=F.f,i=0;i0&&(!i.multiline||i.multiline&&"\n"!==t[i.lastIndex-1])&&(l="(?: "+l+")",c=" "+c,s++),n=new RegExp("^(?:"+l+")",o)),jt&&(n=new RegExp("^"+l+"$(?!\\s)",o)),Pt&&(e=i.lastIndex),r=It.call(a?n:i,c),a?r?(r.input=r.input.slice(s),r[0]=r[0].slice(s),r.index=i.lastIndex,i.lastIndex+=r[0].length):i.lastIndex=0:Pt&&r&&(i.lastIndex=i.global?r.index+r[0].length:e),jt&&r&&r.length>1&&Rt.call(r[0],n,(function(){for(u=1;u")})),Yt="$0"==="a".replace(/./,"$0"),Vt=Jt("replace"),Xt=!!/./[Vt]&&""===/./[Vt]("a","$0"),Gt=!u((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),Qt=function(t,e,n,r){var i=Jt(t),a=!u((function(){var e={};return e[i]=function(){return 7},7!=""[t](e)})),o=a&&!u((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[Ht]=function(){return n},n.flags="",n[i]=/./[i]),n.exec=function(){return e=!0,null},n[i](""),!e}));if(!a||!o||"replace"===t&&(!Wt||!Yt||Xt)||"split"===t&&!Gt){var l=/./[i],s=n(i,""[t],(function(t,e,n,r,u){return e.exec===Mt?a&&!u?{done:!0,value:l.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),{REPLACE_KEEPS_$0:Yt,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:Xt}),c=s[0],p=s[1];tt(String.prototype,t,c),tt(RegExp.prototype,i,2==e?function(t,e){return p.call(t,this,e)}:function(t){return p.call(t,this)})}r&&B(RegExp.prototype[i],"sham",!0)},te=function(t){return function(e,n){var r,u,i=String(h(e)),a=at(n),o=i.length;return a<0||a>=o?t?"":void 0:(r=i.charCodeAt(a))<55296||r>56319||a+1===o||(u=i.charCodeAt(a+1))<56320||u>57343?t?i.charAt(a):r:t?i.slice(a,a+2):u-56320+(r-55296<<10)+65536}},ee={codeAt:te(!1),charAt:te(!0)}.charAt,ne=function(t,e,n){return e+(n?ee(t,e).length:1)},re=function(t,e){var n=t.exec;if("function"==typeof n){var r=n.call(t,e);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==p(t))throw TypeError("RegExp#exec called on incompatible receiver");return Mt.call(t,e)};Qt("match",1,(function(t,e,n){return[function(e){var n=h(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var r=n(e,t,this);if(r.done)return r.value;var u=x(t),i=String(this);if(!u.global)return re(u,i);var a=u.unicode;u.lastIndex=0;for(var o,l=[],s=0;null!==(o=re(u,i));){var c=String(o[0]);l[s]=c,""===c&&(u.lastIndex=ne(i,lt(u.lastIndex),a)),s++}return 0===s?null:l}]}));var ue=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e};Qt("search",1,(function(t,e,n){return[function(e){var n=h(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var r=n(e,t,this);if(r.done)return r.value;var u=x(t),i=String(this),a=u.lastIndex;ue(a,0)||(u.lastIndex=0);var o=re(u,i);return ue(u.lastIndex,a)||(u.lastIndex=a),null===o?-1:o.index}]}));var ie={};ie[Jt("toStringTag")]="z";var ae="[object z]"===String(ie),oe=Jt("toStringTag"),le="Arguments"==p(function(){return arguments}()),se=ae?p:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),oe))?n:le?p(e):"Object"==(r=p(e))&&"function"==typeof e.callee?"Arguments":r},ce=ae?{}.toString:function(){return"[object "+se(this)+"]"};ae||tt(Object.prototype,"toString",ce,{unsafe:!0});var pe="toString",de=RegExp.prototype,fe=de.toString,he=u((function(){return"/a/b"!=fe.call({source:"a",flags:"b"})})),ge=fe.name!=pe;function De(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function me(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:u}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return a=t.done,t},e:function(t){o=!0,i=t},f:function(){try{a||null==n.return||n.return()}finally{if(o)throw i}}}}(he||ge)&&tt(RegExp.prototype,pe,(function(){var t=x(this),e=String(t.source),n=t.flags;return"/"+e+"/"+String(void 0===n&&t instanceof RegExp&&!("flags"in de)?_t.call(t):n)}),{unsafe:!0});var be,Ce=Object.keys||function(t){return gt(t,Dt)},Fe=i?Object.defineProperties:function(t,e){x(t);for(var n,r=Ce(e),u=r.length,i=0;u>i;)S.f(t,n=r[i++],e[n]);return t},xe=rt("document","documentElement"),we=K("IE_PROTO"),Se=function(){},Be=function(t){return"