bpm-presentation/plugin/math/math.js
2022-01-19 21:19:28 -05:00

2 lines
34 KiB
JavaScript

!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).RevealMath=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={},o=function(t){try{return!!t()}catch(t){return!0}},i=!o((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),a=!o((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),c=a,u=Function.prototype.call,f=c?u.bind(u):function(){return u.apply(u,arguments)},s={},l={}.propertyIsEnumerable,p=Object.getOwnPropertyDescriptor,h=p&&!l.call({1:2},1);s.f=h?function(t){var e=p(this,t);return!!e&&e.enumerable}:l;var v,d,y=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},m=a,g=Function.prototype,b=g.bind,w=g.call,j=m&&b.bind(w,w),x=m?function(t){return t&&j(t)}:function(t){return t&&function(){return w.apply(t,arguments)}},O=x,E=O({}.toString),S=O("".slice),P=function(t){return S(E(t),8,-1)},T=x,L=o,k=P,M=n.Object,_=T("".split),R=L((function(){return!M("z").propertyIsEnumerable(0)}))?function(t){return"String"==k(t)?_(t,""):M(t)}:M,A=n.TypeError,I=function(t){if(null==t)throw A("Can't call method on "+t);return t},F=R,C=I,N=function(t){return F(C(t))},D=function(t){return"function"==typeof t},G=D,J=function(t){return"object"==typeof t?null!==t:G(t)},$=n,H=D,z=function(t){return H(t)?t:void 0},U=function(t,e){return arguments.length<2?z($[t]):$[t]&&$[t][e]},W=x({}.isPrototypeOf),q=U("navigator","userAgent")||"",X=n,B=q,K=X.process,Q=X.Deno,Y=K&&K.versions||Q&&Q.version,V=Y&&Y.v8;V&&(d=(v=V.split("."))[0]>0&&v[0]<4?1:+(v[0]+v[1])),!d&&B&&(!(v=B.match(/Edge\/(\d+)/))||v[1]>=74)&&(v=B.match(/Chrome\/(\d+)/))&&(d=+v[1]);var Z=d,tt=Z,et=o,nt=!!Object.getOwnPropertySymbols&&!et((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&tt&&tt<41})),rt=nt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ot=U,it=D,at=W,ct=rt,ut=n.Object,ft=ct?function(t){return"symbol"==typeof t}:function(t){var e=ot("Symbol");return it(e)&&at(e.prototype,ut(t))},st=n.String,lt=function(t){try{return st(t)}catch(t){return"Object"}},pt=D,ht=lt,vt=n.TypeError,dt=function(t){if(pt(t))return t;throw vt(ht(t)+" is not a function")},yt=dt,mt=function(t,e){var n=t[e];return null==n?void 0:yt(n)},gt=f,bt=D,wt=J,jt=n.TypeError,xt={exports:{}},Ot=n,Et=Object.defineProperty,St=function(t,e){try{Et(Ot,t,{value:e,configurable:!0,writable:!0})}catch(n){Ot[t]=e}return e},Pt=St,Tt="__core-js_shared__",Lt=n[Tt]||Pt(Tt,{}),kt=Lt;(xt.exports=function(t,e){return kt[t]||(kt[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.20.3",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.20.3/LICENSE",source:"https://github.com/zloirock/core-js"});var Mt=I,_t=n.Object,Rt=function(t){return _t(Mt(t))},At=Rt,It=x({}.hasOwnProperty),Ft=Object.hasOwn||function(t,e){return It(At(t),e)},Ct=x,Nt=0,Dt=Math.random(),Gt=Ct(1..toString),Jt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+Gt(++Nt+Dt,36)},$t=n,Ht=xt.exports,zt=Ft,Ut=Jt,Wt=nt,qt=rt,Xt=Ht("wks"),Bt=$t.Symbol,Kt=Bt&&Bt.for,Qt=qt?Bt:Bt&&Bt.withoutSetter||Ut,Yt=function(t){if(!zt(Xt,t)||!Wt&&"string"!=typeof Xt[t]){var e="Symbol."+t;Wt&&zt(Bt,t)?Xt[t]=Bt[t]:Xt[t]=qt&&Kt?Kt(e):Qt(e)}return Xt[t]},Vt=f,Zt=J,te=ft,ee=mt,ne=function(t,e){var n,r;if("string"===e&&bt(n=t.toString)&&!wt(r=gt(n,t)))return r;if(bt(n=t.valueOf)&&!wt(r=gt(n,t)))return r;if("string"!==e&&bt(n=t.toString)&&!wt(r=gt(n,t)))return r;throw jt("Can't convert object to primitive value")},re=Yt,oe=n.TypeError,ie=re("toPrimitive"),ae=function(t,e){if(!Zt(t)||te(t))return t;var n,r=ee(t,ie);if(r){if(void 0===e&&(e="default"),n=Vt(r,t,e),!Zt(n)||te(n))return n;throw oe("Can't convert object to primitive value")}return void 0===e&&(e="number"),ne(t,e)},ce=ft,ue=function(t){var e=ae(t,"string");return ce(e)?e:e+""},fe=J,se=n.document,le=fe(se)&&fe(se.createElement),pe=function(t){return le?se.createElement(t):{}},he=pe,ve=!i&&!o((function(){return 7!=Object.defineProperty(he("div"),"a",{get:function(){return 7}}).a})),de=i,ye=f,me=s,ge=y,be=N,we=ue,je=Ft,xe=ve,Oe=Object.getOwnPropertyDescriptor;r.f=de?Oe:function(t,e){if(t=be(t),e=we(e),xe)try{return Oe(t,e)}catch(t){}if(je(t,e))return ge(!ye(me.f,t,e),t[e])};var Ee={},Se=i&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Pe=n,Te=J,Le=Pe.String,ke=Pe.TypeError,Me=function(t){if(Te(t))return t;throw ke(Le(t)+" is not an object")},_e=i,Re=ve,Ae=Se,Ie=Me,Fe=ue,Ce=n.TypeError,Ne=Object.defineProperty,De=Object.getOwnPropertyDescriptor,Ge="enumerable",Je="configurable",$e="writable";Ee.f=_e?Ae?function(t,e,n){if(Ie(t),e=Fe(e),Ie(n),"function"==typeof t&&"prototype"===e&&"value"in n&&$e in n&&!n.writable){var r=De(t,e);r&&r.writable&&(t[e]=n.value,n={configurable:Je in n?n.configurable:r.configurable,enumerable:Ge in n?n.enumerable:r.enumerable,writable:!1})}return Ne(t,e,n)}:Ne:function(t,e,n){if(Ie(t),e=Fe(e),Ie(n),Re)try{return Ne(t,e,n)}catch(t){}if("get"in n||"set"in n)throw Ce("Accessors not supported");return"value"in n&&(t[e]=n.value),t};var He=Ee,ze=y,Ue=i?function(t,e,n){return He.f(t,e,ze(1,n))}:function(t,e,n){return t[e]=n,t},We={exports:{}},qe=D,Xe=Lt,Be=x(Function.toString);qe(Xe.inspectSource)||(Xe.inspectSource=function(t){return Be(t)});var Ke,Qe,Ye,Ve=Xe.inspectSource,Ze=D,tn=Ve,en=n.WeakMap,nn=Ze(en)&&/native code/.test(tn(en)),rn=xt.exports,on=Jt,an=rn("keys"),cn=function(t){return an[t]||(an[t]=on(t))},un={},fn=nn,sn=n,ln=x,pn=J,hn=Ue,vn=Ft,dn=Lt,yn=cn,mn=un,gn="Object already initialized",bn=sn.TypeError,wn=sn.WeakMap;if(fn||dn.state){var jn=dn.state||(dn.state=new wn),xn=ln(jn.get),On=ln(jn.has),En=ln(jn.set);Ke=function(t,e){if(On(jn,t))throw new bn(gn);return e.facade=t,En(jn,t,e),e},Qe=function(t){return xn(jn,t)||{}},Ye=function(t){return On(jn,t)}}else{var Sn=yn("state");mn[Sn]=!0,Ke=function(t,e){if(vn(t,Sn))throw new bn(gn);return e.facade=t,hn(t,Sn,e),e},Qe=function(t){return vn(t,Sn)?t[Sn]:{}},Ye=function(t){return vn(t,Sn)}}var Pn={set:Ke,get:Qe,has:Ye,enforce:function(t){return Ye(t)?Qe(t):Ke(t,{})},getterFor:function(t){return function(e){var n;if(!pn(e)||(n=Qe(e)).type!==t)throw bn("Incompatible receiver, "+t+" required");return n}}},Tn=i,Ln=Ft,kn=Function.prototype,Mn=Tn&&Object.getOwnPropertyDescriptor,_n=Ln(kn,"name"),Rn=_n&&"something"===function(){}.name,An=_n&&(!Tn||Tn&&Mn(kn,"name").configurable),In=n,Fn=D,Cn=Ft,Nn=Ue,Dn=St,Gn=Ve,Jn={EXISTS:_n,PROPER:Rn,CONFIGURABLE:An}.CONFIGURABLE,$n=Pn.get,Hn=Pn.enforce,zn=String(String).split("String");(We.exports=function(t,e,n,r){var o,i=!!r&&!!r.unsafe,a=!!r&&!!r.enumerable,c=!!r&&!!r.noTargetGet,u=r&&void 0!==r.name?r.name:e;Fn(n)&&("Symbol("===String(u).slice(0,7)&&(u="["+String(u).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Cn(n,"name")||Jn&&n.name!==u)&&Nn(n,"name",u),(o=Hn(n)).source||(o.source=zn.join("string"==typeof u?u:""))),t!==In?(i?!c&&t[e]&&(a=!0):delete t[e],a?t[e]=n:Nn(t,e,n)):a?t[e]=n:Dn(e,n)})(Function.prototype,"toString",(function(){return Fn(this)&&$n(this).source||Gn(this)}));var Un={},Wn=Math.ceil,qn=Math.floor,Xn=function(t){var e=+t;return e!=e||0===e?0:(e>0?qn:Wn)(e)},Bn=Xn,Kn=Math.max,Qn=Math.min,Yn=Xn,Vn=Math.min,Zn=function(t){return t>0?Vn(Yn(t),9007199254740991):0},tr=function(t){return Zn(t.length)},er=N,nr=function(t,e){var n=Bn(t);return n<0?Kn(n+e,0):Qn(n,e)},rr=tr,or=function(t){return function(e,n,r){var o,i=er(e),a=rr(i),c=nr(r,a);if(t&&n!=n){for(;a>c;)if((o=i[c++])!=o)return!0}else for(;a>c;c++)if((t||c in i)&&i[c]===n)return t||c||0;return!t&&-1}},ir={includes:or(!0),indexOf:or(!1)},ar=Ft,cr=N,ur=ir.indexOf,fr=un,sr=x([].push),lr=function(t,e){var n,r=cr(t),o=0,i=[];for(n in r)!ar(fr,n)&&ar(r,n)&&sr(i,n);for(;e.length>o;)ar(r,n=e[o++])&&(~ur(i,n)||sr(i,n));return i},pr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],hr=lr,vr=pr.concat("length","prototype");Un.f=Object.getOwnPropertyNames||function(t){return hr(t,vr)};var dr={};dr.f=Object.getOwnPropertySymbols;var yr=U,mr=Un,gr=dr,br=Me,wr=x([].concat),jr=yr("Reflect","ownKeys")||function(t){var e=mr.f(br(t)),n=gr.f;return n?wr(e,n(t)):e},xr=Ft,Or=jr,Er=r,Sr=Ee,Pr=o,Tr=D,Lr=/#|\.prototype\./,kr=function(t,e){var n=_r[Mr(t)];return n==Ar||n!=Rr&&(Tr(e)?Pr(e):!!e)},Mr=kr.normalize=function(t){return String(t).replace(Lr,".").toLowerCase()},_r=kr.data={},Rr=kr.NATIVE="N",Ar=kr.POLYFILL="P",Ir=kr,Fr=n,Cr=r.f,Nr=Ue,Dr=We.exports,Gr=St,Jr=function(t,e,n){for(var r=Or(e),o=Sr.f,i=Er.f,a=0;a<r.length;a++){var c=r[a];xr(t,c)||n&&xr(n,c)||o(t,c,i(e,c))}},$r=Ir,Hr=function(t,e){var n,r,o,i,a,c=t.target,u=t.global,f=t.stat;if(n=u?Fr:f?Fr[c]||Gr(c,{}):(Fr[c]||{}).prototype)for(r in e){if(i=e[r],o=t.noTargetGet?(a=Cr(n,r))&&a.value:n[r],!$r(u?r:c+(f?".":"#")+r,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;Jr(i,o)}(t.sham||o&&o.sham)&&Nr(i,"sham",!0),Dr(n,r,i,t)}},zr=lr,Ur=pr,Wr=Object.keys||function(t){return zr(t,Ur)},qr=i,Xr=x,Br=f,Kr=o,Qr=Wr,Yr=dr,Vr=s,Zr=Rt,to=R,eo=Object.assign,no=Object.defineProperty,ro=Xr([].concat),oo=!eo||Kr((function(){if(qr&&1!==eo({b:1},eo(no({},"a",{enumerable:!0,get:function(){no(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=eo({},t)[n]||Qr(eo({},e)).join("")!=r}))?function(t,e){for(var n=Zr(t),r=arguments.length,o=1,i=Yr.f,a=Vr.f;r>o;)for(var c,u=to(arguments[o++]),f=i?ro(Qr(u),i(u)):Qr(u),s=f.length,l=0;s>l;)c=f[l++],qr&&!Br(a,u,c)||(n[c]=u[c]);return n}:eo,io=oo;function ao(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function co(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ao(Object(n),!0).forEach((function(e){so(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ao(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function uo(t,e,n,r,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void n(t)}c.done?e(u):Promise.resolve(u).then(r,o)}function fo(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){uo(i,r,o,a,c,"next",t)}function c(t){uo(i,r,o,a,c,"throw",t)}a(void 0)}))}}function so(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function lo(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function po(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function ho(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return po(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?po(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}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,c=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw i}}}}Hr({target:"Object",stat:!0,forced:Object.assign!==io},{assign:io});!function(t){var e=function(t){var e,n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,n){return t[e]=n}}function f(t,e,n,r){var o=e&&e.prototype instanceof y?e:y,i=Object.create(o.prototype),a=new L(r||[]);return i._invoke=function(t,e,n){var r=l;return function(o,i){if(r===h)throw new Error("Generator is already running");if(r===v){if("throw"===o)throw i;return M()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=S(a,n);if(c){if(c===d)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===l)throw r=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=h;var u=s(t,e,n);if("normal"===u.type){if(r=n.done?v:p,u.arg===d)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=v,n.method="throw",n.arg=u.arg)}}}(t,n,a),i}function s(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=f;var l="suspendedStart",p="suspendedYield",h="executing",v="completed",d={};function y(){}function m(){}function g(){}var b={};u(b,i,(function(){return this}));var w=Object.getPrototypeOf,j=w&&w(w(k([])));j&&j!==n&&r.call(j,i)&&(b=j);var x=g.prototype=y.prototype=Object.create(b);function O(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function n(o,i,a,c){var u=s(t[o],t,i);if("throw"!==u.type){var f=u.arg,l=f.value;return l&&"object"==typeof l&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,c)}),(function(t){n("throw",t,a,c)})):e.resolve(l).then((function(t){f.value=t,a(f)}),(function(t){return n("throw",t,a,c)}))}c(u.arg)}var o;this._invoke=function(t,r){function i(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(i,i):i()}}function S(t,n){var r=t.iterator[n.method];if(r===e){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=e,S(t,n),"throw"===n.method))return d;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var o=s(r,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,d;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,d):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function k(t){if(t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function n(){for(;++o<t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}return{next:M}}function M(){return{value:e,done:!0}}return m.prototype=g,u(x,"constructor",g),u(g,"constructor",m),m.displayName=u(g,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,u(t,c,"GeneratorFunction")),t.prototype=Object.create(x),t},t.awrap=function(t){return{__await:t}},O(E.prototype),u(E.prototype,a,(function(){return this})),t.AsyncIterator=E,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new E(f(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},O(x),u(x,c,"Generator"),u(x,i,(function(){return this})),u(x,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=k,L.prototype={constructor:L,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(T),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return c.type="throw",c.arg=t,n.next=r,o&&(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=r.call(a,"catchLoc"),f=r.call(a,"finallyLoc");if(u&&f){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!f)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),T(n),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;T(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:k(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),d}},t}(t.exports);try{regeneratorRuntime=e}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}}({exports:{}});var vo={};vo[Yt("toStringTag")]="z";var yo="[object z]"===String(vo),mo=n,go=yo,bo=D,wo=P,jo=Yt("toStringTag"),xo=mo.Object,Oo="Arguments"==wo(function(){return arguments}()),Eo=go?wo: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=xo(t),jo))?n:Oo?wo(e):"Object"==(r=wo(e))&&bo(e.callee)?"Arguments":r},So=Eo,Po=yo?{}.toString:function(){return"[object "+So(this)+"]"},To=yo,Lo=We.exports,ko=Po;To||Lo(Object.prototype,"toString",ko,{unsafe:!0});var Mo=n.Promise,_o=We.exports,Ro=n,Ao=D,Io=Ro.String,Fo=Ro.TypeError,Co=x,No=Me,Do=function(t){if("object"==typeof t||Ao(t))return t;throw Fo("Can't set "+Io(t)+" as a prototype")},Go=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Co(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return No(n),Do(r),e?t(n,r):n.__proto__=r,n}}():void 0),Jo=Ee.f,$o=Ft,Ho=Yt("toStringTag"),zo=U,Uo=Ee,Wo=i,qo=Yt("species"),Xo=W,Bo=n.TypeError,Ko=dt,Qo=a,Yo=x(x.bind),Vo=function(t,e){return Ko(t),void 0===e?t:Qo?Yo(t,e):function(){return t.apply(e,arguments)}},Zo={},ti=Zo,ei=Yt("iterator"),ni=Array.prototype,ri=Eo,oi=mt,ii=Zo,ai=Yt("iterator"),ci=function(t){if(null!=t)return oi(t,ai)||oi(t,"@@iterator")||ii[ri(t)]},ui=f,fi=dt,si=Me,li=lt,pi=ci,hi=n.TypeError,vi=f,di=Me,yi=mt,mi=Vo,gi=f,bi=Me,wi=lt,ji=function(t){return void 0!==t&&(ti.Array===t||ni[ei]===t)},xi=tr,Oi=W,Ei=function(t,e){var n=arguments.length<2?pi(t):e;if(fi(n))return si(ui(n,t));throw hi(li(t)+" is not iterable")},Si=ci,Pi=function(t,e,n){var r,o;di(t);try{if(!(r=yi(t,"return"))){if("throw"===e)throw n;return n}r=vi(r,t)}catch(t){o=!0,r=t}if("throw"===e)throw n;if(o)throw r;return di(r),n},Ti=n.TypeError,Li=function(t,e){this.stopped=t,this.result=e},ki=Li.prototype,Mi=Yt("iterator"),_i=!1;try{var Ri=0,Ai={next:function(){return{done:!!Ri++}},return:function(){_i=!0}};Ai[Mi]=function(){return this},Array.from(Ai,(function(){throw 2}))}catch(t){}var Ii=x,Fi=o,Ci=D,Ni=Eo,Di=Ve,Gi=function(){},Ji=[],$i=U("Reflect","construct"),Hi=/^\s*(?:class|function)\b/,zi=Ii(Hi.exec),Ui=!Hi.exec(Gi),Wi=function(t){if(!Ci(t))return!1;try{return $i(Gi,Ji,t),!0}catch(t){return!1}},qi=function(t){if(!Ci(t))return!1;switch(Ni(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Ui||!!zi(Hi,Di(t))}catch(t){return!0}};qi.sham=!0;var Xi,Bi,Ki,Qi,Yi=!$i||Fi((function(){var t;return Wi(Wi.call)||!Wi(Object)||!Wi((function(){t=!0}))||t}))?qi:Wi,Vi=Yi,Zi=lt,ta=n.TypeError,ea=Me,na=function(t){if(Vi(t))return t;throw ta(Zi(t)+" is not a constructor")},ra=Yt("species"),oa=a,ia=Function.prototype,aa=ia.apply,ca=ia.call,ua="object"==typeof Reflect&&Reflect.apply||(oa?ca.bind(aa):function(){return ca.apply(aa,arguments)}),fa=U("document","documentElement"),sa=x([].slice),la=/(?:ipad|iphone|ipod).*applewebkit/i.test(q),pa="process"==P(n.process),ha=n,va=ua,da=Vo,ya=D,ma=Ft,ga=o,ba=fa,wa=sa,ja=pe,xa=la,Oa=pa,Ea=ha.setImmediate,Sa=ha.clearImmediate,Pa=ha.process,Ta=ha.Dispatch,La=ha.Function,ka=ha.MessageChannel,Ma=ha.String,_a=0,Ra={},Aa="onreadystatechange";try{Xi=ha.location}catch(t){}var Ia=function(t){if(ma(Ra,t)){var e=Ra[t];delete Ra[t],e()}},Fa=function(t){return function(){Ia(t)}},Ca=function(t){Ia(t.data)},Na=function(t){ha.postMessage(Ma(t),Xi.protocol+"//"+Xi.host)};Ea&&Sa||(Ea=function(t){var e=wa(arguments,1);return Ra[++_a]=function(){va(ya(t)?t:La(t),void 0,e)},Bi(_a),_a},Sa=function(t){delete Ra[t]},Oa?Bi=function(t){Pa.nextTick(Fa(t))}:Ta&&Ta.now?Bi=function(t){Ta.now(Fa(t))}:ka&&!xa?(Qi=(Ki=new ka).port2,Ki.port1.onmessage=Ca,Bi=da(Qi.postMessage,Qi)):ha.addEventListener&&ya(ha.postMessage)&&!ha.importScripts&&Xi&&"file:"!==Xi.protocol&&!ga(Na)?(Bi=Na,ha.addEventListener("message",Ca,!1)):Bi=Aa in ja("script")?function(t){ba.appendChild(ja("script")).onreadystatechange=function(){ba.removeChild(this),Ia(t)}}:function(t){setTimeout(Fa(t),0)});var Da,Ga,Ja,$a,Ha,za,Ua,Wa,qa={set:Ea,clear:Sa},Xa=n,Ba=/ipad|iphone|ipod/i.test(q)&&void 0!==Xa.Pebble,Ka=/web0s(?!.*chrome)/i.test(q),Qa=n,Ya=Vo,Va=r.f,Za=qa.set,tc=la,ec=Ba,nc=Ka,rc=pa,oc=Qa.MutationObserver||Qa.WebKitMutationObserver,ic=Qa.document,ac=Qa.process,cc=Qa.Promise,uc=Va(Qa,"queueMicrotask"),fc=uc&&uc.value;fc||(Da=function(){var t,e;for(rc&&(t=ac.domain)&&t.exit();Ga;){e=Ga.fn,Ga=Ga.next;try{e()}catch(t){throw Ga?$a():Ja=void 0,t}}Ja=void 0,t&&t.enter()},tc||rc||nc||!oc||!ic?!ec&&cc&&cc.resolve?((Ua=cc.resolve(void 0)).constructor=cc,Wa=Ya(Ua.then,Ua),$a=function(){Wa(Da)}):rc?$a=function(){ac.nextTick(Da)}:(Za=Ya(Za,Qa),$a=function(){Za(Da)}):(Ha=!0,za=ic.createTextNode(""),new oc(Da).observe(za,{characterData:!0}),$a=function(){za.data=Ha=!Ha}));var sc=fc||function(t){var e={fn:t,next:void 0};Ja&&(Ja.next=e),Ga||(Ga=e,$a()),Ja=e},lc={},pc=dt,hc=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=pc(e),this.reject=pc(n)};lc.f=function(t){return new hc(t)};var vc=Me,dc=J,yc=lc,mc=n,gc=function(){this.head=null,this.tail=null};gc.prototype={add:function(t){var e={item:t,next:null};this.head?this.tail.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return this.head=t.next,this.tail===t&&(this.tail=null),t.item}};var bc,wc,jc,xc,Oc=gc,Ec="object"==typeof window,Sc=Hr,Pc=n,Tc=U,Lc=f,kc=Mo,Mc=We.exports,_c=function(t,e,n){for(var r in e)_o(t,r,e[r],n);return t},Rc=Go,Ac=function(t,e,n){t&&!n&&(t=t.prototype),t&&!$o(t,Ho)&&Jo(t,Ho,{configurable:!0,value:e})},Ic=function(t){var e=zo(t),n=Uo.f;Wo&&e&&!e[qo]&&n(e,qo,{configurable:!0,get:function(){return this}})},Fc=dt,Cc=D,Nc=J,Dc=function(t,e){if(Xo(e,t))return t;throw Bo("Incorrect invocation")},Gc=Ve,Jc=function(t,e,n){var r,o,i,a,c,u,f,s=n&&n.that,l=!(!n||!n.AS_ENTRIES),p=!(!n||!n.IS_ITERATOR),h=!(!n||!n.INTERRUPTED),v=mi(e,s),d=function(t){return r&&Pi(r,"normal",t),new Li(!0,t)},y=function(t){return l?(bi(t),h?v(t[0],t[1],d):v(t[0],t[1])):h?v(t,d):v(t)};if(p)r=t;else{if(!(o=Si(t)))throw Ti(wi(t)+" is not iterable");if(ji(o)){for(i=0,a=xi(t);a>i;i++)if((c=y(t[i]))&&Oi(ki,c))return c;return new Li(!1)}r=Ei(t,o)}for(u=r.next;!(f=gi(u,r)).done;){try{c=y(f.value)}catch(t){Pi(r,"throw",t)}if("object"==typeof c&&c&&Oi(ki,c))return c}return new Li(!1)},$c=function(t,e){if(!e&&!_i)return!1;var n=!1;try{var r={};r[Mi]=function(){return{next:function(){return{done:n=!0}}}},t(r)}catch(t){}return n},Hc=function(t,e){var n,r=ea(t).constructor;return void 0===r||null==(n=ea(r)[ra])?e:na(n)},zc=qa.set,Uc=sc,Wc=function(t,e){if(vc(t),dc(e)&&e.constructor===t)return e;var n=yc.f(t);return(0,n.resolve)(e),n.promise},qc=function(t,e){var n=mc.console;n&&n.error&&(1==arguments.length?n.error(t):n.error(t,e))},Xc=lc,Bc=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},Kc=Oc,Qc=Pn,Yc=Ir,Vc=Ec,Zc=pa,tu=Z,eu=Yt("species"),nu="Promise",ru=Qc.getterFor(nu),ou=Qc.set,iu=Qc.getterFor(nu),au=kc&&kc.prototype,cu=kc,uu=au,fu=Pc.TypeError,su=Pc.document,lu=Pc.process,pu=Xc.f,hu=pu,vu=!!(su&&su.createEvent&&Pc.dispatchEvent),du=Cc(Pc.PromiseRejectionEvent),yu="unhandledrejection",mu=!1,gu=Yc(nu,(function(){var t=Gc(cu),e=t!==String(cu);if(!e&&66===tu)return!0;if(tu>=51&&/native code/.test(t))return!1;var n=new cu((function(t){t(1)})),r=function(t){t((function(){}),(function(){}))};return(n.constructor={})[eu]=r,!(mu=n.then((function(){}))instanceof r)||!e&&Vc&&!du})),bu=gu||!$c((function(t){cu.all(t).catch((function(){}))})),wu=function(t){var e;return!(!Nc(t)||!Cc(e=t.then))&&e},ju=function(t,e){var n,r,o,i=e.value,a=1==e.state,c=a?t.ok:t.fail,u=t.resolve,f=t.reject,s=t.domain;try{c?(a||(2===e.rejection&&Pu(e),e.rejection=1),!0===c?n=i:(s&&s.enter(),n=c(i),s&&(s.exit(),o=!0)),n===t.promise?f(fu("Promise-chain cycle")):(r=wu(n))?Lc(r,n,u,f):u(n)):f(i)}catch(t){s&&!o&&s.exit(),f(t)}},xu=function(t,e){t.notified||(t.notified=!0,Uc((function(){for(var n,r=t.reactions;n=r.get();)ju(n,t);t.notified=!1,e&&!t.rejection&&Eu(t)})))},Ou=function(t,e,n){var r,o;vu?((r=su.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),Pc.dispatchEvent(r)):r={promise:e,reason:n},!du&&(o=Pc["on"+t])?o(r):t===yu&&qc("Unhandled promise rejection",n)},Eu=function(t){Lc(zc,Pc,(function(){var e,n=t.facade,r=t.value;if(Su(t)&&(e=Bc((function(){Zc?lu.emit("unhandledRejection",r,n):Ou(yu,n,r)})),t.rejection=Zc||Su(t)?2:1,e.error))throw e.value}))},Su=function(t){return 1!==t.rejection&&!t.parent},Pu=function(t){Lc(zc,Pc,(function(){var e=t.facade;Zc?lu.emit("rejectionHandled",e):Ou("rejectionhandled",e,t.value)}))},Tu=function(t,e,n){return function(r){t(e,r,n)}},Lu=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,xu(t,!0))},ku=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw fu("Promise can't be resolved itself");var r=wu(e);r?Uc((function(){var n={done:!1};try{Lc(r,e,Tu(ku,n,t),Tu(Lu,n,t))}catch(e){Lu(n,e,t)}})):(t.value=e,t.state=1,xu(t,!1))}catch(e){Lu({done:!1},e,t)}}};if(gu&&(uu=(cu=function(t){Dc(this,uu),Fc(t),Lc(bc,this);var e=ru(this);try{t(Tu(ku,e),Tu(Lu,e))}catch(t){Lu(e,t)}}).prototype,(bc=function(t){ou(this,{type:nu,done:!1,notified:!1,parent:!1,reactions:new Kc,rejection:!1,state:0,value:void 0})}).prototype=_c(uu,{then:function(t,e){var n=iu(this),r=pu(Hc(this,cu));return n.parent=!0,r.ok=!Cc(t)||t,r.fail=Cc(e)&&e,r.domain=Zc?lu.domain:void 0,0==n.state?n.reactions.add(r):Uc((function(){ju(r,n)})),r.promise},catch:function(t){return this.then(void 0,t)}}),wc=function(){var t=new bc,e=ru(t);this.promise=t,this.resolve=Tu(ku,e),this.reject=Tu(Lu,e)},Xc.f=pu=function(t){return t===cu||t===jc?new wc(t):hu(t)},Cc(kc)&&au!==Object.prototype)){xc=au.then,mu||(Mc(au,"then",(function(t,e){var n=this;return new cu((function(t,e){Lc(xc,n,t,e)})).then(t,e)}),{unsafe:!0}),Mc(au,"catch",uu.catch,{unsafe:!0}));try{delete au.constructor}catch(t){}Rc&&Rc(au,uu)}Sc({global:!0,wrap:!0,forced:gu},{Promise:cu}),Ac(cu,nu,!1),Ic(nu),jc=Tc(nu),Sc({target:nu,stat:!0,forced:gu},{reject:function(t){var e=pu(this);return Lc(e.reject,void 0,t),e.promise}}),Sc({target:nu,stat:!0,forced:gu},{resolve:function(t){return Wc(this,t)}}),Sc({target:nu,stat:!0,forced:bu},{all:function(t){var e=this,n=pu(e),r=n.resolve,o=n.reject,i=Bc((function(){var n=Fc(e.resolve),i=[],a=0,c=1;Jc(t,(function(t){var u=a++,f=!1;c++,Lc(n,e,t).then((function(t){f||(f=!0,i[u]=t,--c||r(i))}),o)})),--c||r(i)}));return i.error&&o(i.value),n.promise},race:function(t){var e=this,n=pu(e),r=n.reject,o=Bc((function(){var o=Fc(e.resolve);Jc(t,(function(t){Lc(o,e,t).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}});var Mu={},_u=i,Ru=Se,Au=Ee,Iu=Me,Fu=N,Cu=Wr;Mu.f=_u&&!Ru?Object.defineProperties:function(t,e){Iu(t);for(var n,r=Fu(e),o=Cu(e),i=o.length,a=0;i>a;)Au.f(t,n=o[a++],r[n]);return t};var Nu,Du=Me,Gu=Mu,Ju=pr,$u=un,Hu=fa,zu=pe,Uu=cn("IE_PROTO"),Wu=function(){},qu=function(t){return"<script>"+t+"</"+"script>"},Xu=function(t){t.write(qu("")),t.close();var e=t.parentWindow.Object;return t=null,e},Bu=function(){try{Nu=new ActiveXObject("htmlfile")}catch(t){}var t,e;Bu="undefined"!=typeof document?document.domain&&Nu?Xu(Nu):((e=zu("iframe")).style.display="none",Hu.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(qu("document.F=Object")),t.close(),t.F):Xu(Nu);for(var n=Ju.length;n--;)delete Bu.prototype[Ju[n]];return Bu()};$u[Uu]=!0;var Ku=Object.create||function(t,e){var n;return null!==t?(Wu.prototype=Du(t),n=new Wu,Wu.prototype=null,n[Uu]=t):n=Bu(),void 0===e?n:Gu.f(n,e)},Qu=Ee,Yu=Yt("unscopables"),Vu=Array.prototype;null==Vu[Yu]&&Qu.f(Vu,Yu,{configurable:!0,value:Ku(null)});var Zu=ir.includes,tf=function(t){Vu[Yu][t]=!0};Hr({target:"Array",proto:!0},{includes:function(t){return Zu(this,t,arguments.length>1?arguments[1]:void 0)}}),tf("includes");var ef=J,nf=P,rf=Yt("match"),of=function(t){var e;return ef(t)&&(void 0!==(e=t[rf])?!!e:"RegExp"==nf(t))},af=n.TypeError,cf=Eo,uf=n.String,ff=Yt("match"),sf=Hr,lf=function(t){if(of(t))throw af("The method doesn't accept regular expressions");return t},pf=I,hf=function(t){if("Symbol"===cf(t))throw TypeError("Cannot convert a Symbol value to a string");return uf(t)},vf=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[ff]=!1,"/./"[t](e)}catch(t){}}return!1},df=x("".indexOf);sf({target:"String",proto:!0,forced:!vf("includes")},{includes:function(t){return!!~df(hf(pf(this)),hf(lf(t)),arguments.length>1?arguments[1]:void 0)}});var yf=["local","version","extensions"],mf=function(){var t,e={messageStyle:"none",tex2jax:{inlineMath:[["$","$"],["\\(","\\)"]],skipTags:["script","noscript","style","textarea","pre"]},skipStartupTypeset:!0};return{id:"mathjax2",init:function(n){var r=(t=n).getConfig().mathjax2||t.getConfig().math||{},o=co(co({},e),r),i=(o.mathjax||"https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js")+"?config="+(o.config||"TeX-AMS_HTML-full");o.tex2jax=co(co({},e.tex2jax),r.tex2jax),o.mathjax=o.config=null,function(t,e){var n=this,r=document.querySelector("head"),o=document.createElement("script");o.type="text/javascript",o.src=t;var i=function(){"function"==typeof e&&(e.call(),e=null)};o.onload=i,o.onreadystatechange=function(){"loaded"===n.readyState&&i()},r.appendChild(o)}(i,(function(){MathJax.Hub.Config(o),MathJax.Hub.Queue(["Typeset",MathJax.Hub,t.getRevealElement()]),MathJax.Hub.Queue(t.layout),t.on("slidechanged",(function(t){MathJax.Hub.Queue(["Typeset",MathJax.Hub,t.currentSlide])}))}))}}},gf=mf,bf=Plugin=Object.assign(gf(),{KaTeX:function(){var t,e={version:"latest",delimiters:[{left:"$$",right:"$$",display:!0},{left:"$",right:"$",display:!1},{left:"\\(",right:"\\)",display:!1},{left:"\\[",right:"\\]",display:!0}],ignoredTags:["script","noscript","style","textarea","pre"]},n=function(t){return new Promise((function(e,n){var r=document.createElement("script");r.type="text/javascript",r.onload=e,r.onerror=n,r.src=t,document.head.append(r)}))};function r(){return(r=fo(regeneratorRuntime.mark((function t(e){var r,o,i;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=ho(e),t.prev=1,r.s();case 3:if((o=r.n()).done){t.next=9;break}return i=o.value,t.next=7,n(i);case 7:t.next=3;break;case 9:t.next=14;break;case 11:t.prev=11,t.t0=t.catch(1),r.e(t.t0);case 14:return t.prev=14,r.f(),t.finish(14);case 17:case"end":return t.stop()}}),t,null,[[1,11,14,17]])})))).apply(this,arguments)}return{id:"katex",init:function(n){var o=this,i=(t=n).getConfig().katex||{},a=co(co({},e),i);a.local,a.version,a.extensions;var c=lo(a,yf),u=a.local||"https://cdn.jsdelivr.net/npm/katex",f=a.local?"":"@"+a.version,s=u+f+"/dist/katex.min.css",l=u+f+"/dist/contrib/mhchem.min.js",p=u+f+"/dist/contrib/auto-render.min.js",h=[u+f+"/dist/katex.min.js"];a.extensions&&a.extensions.includes("mhchem")&&h.push(l),h.push(p);var v,d,y=function(){renderMathInElement(n.getSlidesElement(),c),t.layout()};v=s,(d=document.createElement("link")).rel="stylesheet",d.href=v,document.head.appendChild(d),function(t){return r.apply(this,arguments)}(h).then((function(){t.isReady()?y():t.on("ready",y.bind(o))}))}}},MathJax2:mf,MathJax3:function(){var t={tex:{inlineMath:[["$","$"],["\\(","\\)"]]},options:{skipHtmlTags:["script","noscript","style","textarea","pre"]},startup:{ready:function(){MathJax.startup.defaultReady(),MathJax.startup.promise.then((function(){Reveal.layout()}))}}};return{id:"mathjax3",init:function(e){var n=e.getConfig().mathjax3||{},r=co(co({},t),n);r.tex=co(co({},t.tex),n.tex),r.options=co(co({},r.options),t.options),r.startup=co(co({},t.startup),n.startup);var o=r.mathjax||"https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js";r.mathjax=null,window.MathJax=r,function(t,e){var n=document.createElement("script");n.type="text/javascript",n.id="MathJax-script",n.src=t,n.async=!0,n.onload=function(){"function"==typeof e&&(e.call(),e=null)},document.head.appendChild(n)}(o,(function(){Reveal.addEventListener("slidechanged",(function(t){MathJax.typeset()}))}))}}}});return bf}));