!function(o){var r={};function n(t){if(r[t])return r[t].exports;var e=r[t]={i:t,l:!1,exports:{}};return o[t].call(e.exports,e,e.exports,n),e.l=!0,e.exports}n.m=o,n.c=r,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=8)}([function(t,e,o){"use strict";var s=this&&this.__read||function(t,e){var o="function"==typeof Symbol&&t[Symbol.iterator];if(!o)return t;var r,n,i=o.call(t),a=[];try{for(;(void 0===e||0=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0});var r=(n.stopEvent=function(t){t.preventDefault?t.preventDefault():t.returnValue=!1,t.stopImmediatePropagation?t.stopImmediatePropagation():t.stopPropagation&&t.stopPropagation(),t.cancelBubble=!0},n.create=function(t,e,o){for(var r=[],n=3;n=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},c=this&&this.__read||function(t,e){var o="function"==typeof Symbol&&t[Symbol.iterator];if(!o)return t;var r,n,i=o.call(t),a=[];try{for(;(void 0===e||0=l.STATE.EXPLORER)){var e=this.typesetRoot,o=r(this.root);this.savedId&&(this.typesetRoot.setAttribute("sre-explorer-id",this.savedId),this.savedId=null),this.explorers=function(t,e,o){var r,n,i={};try{for(var a=h(Object.keys(x)),s=a.next();!s.done;s=a.next()){var l=s.value;i[l]=x[l](t,e,o)}}catch(t){r={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return i}(t,e,o),this.attachExplorers(t),this.state(l.STATE.EXPLORER)}},e.prototype.attachExplorers=function(t){var e,o;this.attached=[];try{for(var r=h(Object.keys(this.explorers)),n=r.next();!n.done;n=r.next()){var i=n.value,a=this.explorers[i];t.options.a11y[i]?(a.Attach(),this.attached.push(a)):a.Detach()}}catch(t){e={error:t}}finally{try{n&&!n.done&&(o=r.return)&&o.call(r)}finally{if(e)throw e.error}}this.addExplorers(this.attached)},e.prototype.rerender=function(t,e){var o,r;void 0===e&&(e=l.STATE.RERENDER),this.savedId=this.typesetRoot.getAttribute("sre-explorer-id"),this.refocus=window.document.activeElement===this.typesetRoot;try{for(var n=h(this.attached),i=n.next();!i.done;i=n.next()){var a=i.value;a.active&&(this.restart=!0,a.Stop())}}catch(t){o={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(o)throw o.error}}s.prototype.rerender.call(this,t,e)},e.prototype.updateDocument=function(t){s.prototype.updateDocument.call(this,t),this.refocus&&this.typesetRoot.focus(),this.restart&&this.attached.forEach(function(t){return t.Start()}),this.refocus=this.restart=!1},e.prototype.addExplorers=function(t){var e,o;if(!(t.length<=1)){var r=null;try{for(var n=h(this.attached),i=n.next();!i.done;i=n.next()){var a=i.value;a instanceof f.AbstractKeyExplorer&&(a.stoppable=!1,r=a)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(o=n.return)&&o.call(n)}finally{if(e)throw e.error}}r&&(r.stoppable=!0)}},e;function e(){var t=null!==s&&s.apply(this,arguments)||this;return t.explorers={},t.attached=[],t.restart=!1,t.refocus=!1,t.savedId=null,t}var s}function b(t){var e,i;return n(o,i=t),o.prototype.explorable=function(){var e,t;if(!this.processed.isSet("explorer")){try{for(var o=h(this.math),r=o.next();!r.done;r=o.next())r.value.explorable(this)}catch(t){e={error:t}}finally{try{r&&!r.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}this.processed.set("explorer")}return this},o.prototype.state=function(t,e){return void 0===e&&(e=!1),i.prototype.state.call(this,t,e),t=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0});var r=(Object.defineProperty(n.prototype,"cssText",{get:function(){return this.getStyleString()},enumerable:!0,configurable:!0}),n.prototype.addStyles=function(t){var e,o;if(t)try{for(var r=h(Object.keys(t)),n=r.next();!n.done;n=r.next()){var i=n.value;this.styles[i]||(this.styles[i]={}),Object.assign(this.styles[i],t[i])}}catch(t){e={error:t}}finally{try{n&&!n.done&&(o=r.return)&&o.call(r)}finally{if(e)throw e.error}}},n.prototype.removeStyles=function(){for(var e,t,o=[],r=0;r