fossasia-22-renode/plugin/notes/notes.js

2 lines
102 KiB
JavaScript
Raw Normal View History

!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:{},e=function(t){return t&&t.Math==Math&&t},n=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof t&&t)||function(){return this}()||Function("return this")(),r={},i=function(t){try{return!!t()}catch(t){return!0}},u=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),a={},o={}.propertyIsEnumerable,s=Object.getOwnPropertyDescriptor,l=s&&!o.call({1:2},1);a.f=l?function(t){var e=s(this,t);return!!e&&e.enumerable}:o;var c=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},p={}.toString,d=function(t){return p.call(t).slice(8,-1)},f=d,h="".split,g=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==f(t)?h.call(t,""):Object(t)}:Object,D=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},m=g,v=D,y=function(t){return m(v(t))},k=function(t){return"object"==typeof t?null!==t:"function"==typeof t},E=k,x=function(t,e){if(!E(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!E(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!E(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!E(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")},A=D,b=function(t){return Object(A(t))},w=b,C={}.hasOwnProperty,F=function(t,e){return C.call(w(t),e)},S=k,B=n.document,T=S(B)&&S(B.createElement),_=function(t){return T?B.createElement(t):{}},z=_,R=!u&&!i((function(){return 7!=Object.defineProperty(z("div"),"a",{get:function(){return 7}}).a})),I=u,L=a,O=c,$=y,P=x,M=F,j=R,N=Object.getOwnPropertyDescriptor;r.f=I?N:function(t,e){if(t=$(t),e=P(e,!0),j)try{return N(t,e)}catch(t){}if(M(t,e))return O(!L.f.call(t,e),t[e])};var U={},q=k,Z=function(t){if(!q(t))throw TypeError(String(t)+" is not an object");return t},H=u,J=R,K=Z,V=x,Q=Object.defineProperty;U.f=H?Q:function(t,e,n){if(K(t),e=V(e,!0),K(n),J)try{return Q(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};var W=U,G=c,Y=u?function(t,e,n){return W.f(t,e,G(1,n))}:function(t,e,n){return t[e]=n,t},X={exports:{}},tt=n,et=Y,nt=function(t,e){try{et(tt,t,e)}catch(n){tt[t]=e}return e},rt=nt,it="__core-js_shared__",ut=n[it]||rt(it,{}),at=ut,ot=Function.toString;"function"!=typeof at.inspectSource&&(at.inspectSource=function(t){return ot.call(t)});var st=at.inspectSource,lt=st,ct=n.WeakMap,pt="function"==typeof ct&&/native code/.test(lt(ct)),dt={exports:{}},ft=ut;(dt.exports=function(t,e){return ft[t]||(ft[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.12.1",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"});var ht,gt,Dt,mt=0,vt=Math.random(),yt=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++mt+vt).toString(36)},kt=dt.exports,Et=yt,xt=kt("keys"),At=function(t){return xt[t]||(xt[t]=Et(t))},bt={},wt=pt,Ct=k,Ft=Y,St=F,Bt=ut,Tt=At,_t=bt,zt="Object already initialized",Rt=n.WeakMap;if(wt||Bt.state){var It=Bt.state||(Bt.state=new Rt),Lt=It.get,Ot=It.has,$t=It.set;ht=function(t,e){if(Ot.call(It,t))throw new TypeError(zt);return e.facade=t,$t.call(It,t,e),e},gt=function(t){return Lt.call(It,t)||{}},Dt=function(t){return Ot.call(It,t)}}else{var Pt=Tt("state");_t[Pt]=!0,ht=function(t,e){if(St(t,Pt))throw new TypeError(zt);return e.facade=t,Ft(t,Pt,e),e},gt=function(t){return St(t,Pt)?t[Pt]:{}},Dt=function(t){return St(t,Pt)}}var Mt={set:ht,get:gt,has:Dt,enforce:function(t){return Dt(t)?gt(t):ht(t,{})},getterFor:function(t){return function(e){var n;if(!Ct(e)||(n=gt(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}},jt=n,Nt=Y,Ut=F,qt=nt,Zt=st,Ht=Mt.get,Jt=Mt