!function(){"use strict";vart,e,i,o={62:function(t,e,i){varo,s=this&&this.__extends||(o=function(t,e){returno=Object.setPrototypeOf||{__proto__:[]}instanceofArray&&function(t,e){t.__proto__=e}||function(t,e){for(variine)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])},o(t,e)},function(t,e){if("function"!=typeofe&&null!==e)thrownewTypeError("Class extends value "+String(e)+" is not a constructor or null");functioni(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,newi)}),n=this&&this.__assign||function(){returnn=Object.assign||function(t){for(vare,i=1,o=arguments.length;i<o;i++)for(varsine=arguments[i])Object.prototype.hasOwnProperty.call(e,s)&&(t[s]=e[s]);returnt},n.apply(this,arguments)},r=this&&this.__read||function(t,e){vari="function"==typeofSymbol&&t[Symbol.iterator];if(!i)returnt;varo,s,n=i.call(t),r=[];try{for(;(void0===e||e-->0)&&!(o=n.next()).done;)r.push(o.value)}catch(t){s={error:t}}finally{try{o&&!o.done&&(i=n.return)&&i.call(n)}finally{if(s)throws.error}}returnr},a=this&&this.__spreadArray||function(t,e,i){if(i||2===arguments.length)for(varo,s=0,n=e.length;s<n;s++)!o&&sine||(o||(o=Array.prototype.slice.call(e,0,s)),o[s]=e[s]);returnt.concat(o||Array.prototype.slice.call(e))},l=this&&this.__values||function(t){vare="function"==typeofSymbol&&Symbol.iterator,i=e&&t[e],o=0;if(i)returni.call(t);if(t&&"number"==typeoft.length)return{next:function(){returnt&&o>=t.length&&(t=void0),{value:t&&t[o++],done:!t}}};thrownewTypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0}),e.AssistiveMmlHandler=e.AssistiveMmlMathDocumentMixin=e.AssistiveMmlMathItemMixin=e.LimitedMmlVisitor=void0;varp=i(769),c=i(433),u=i(77),h=function(t){functione(){returnnull!==t&&t.apply(this,arguments)||this}returns(e,t),e.prototype.getAttributes=function(e){returnt.prototype.getAttributes.call(this,e).replace(/ ?id=".*?"/,"")},e}(c.SerializedMmlVisitor);functionm(t){returnfunction(t){functione(){returnnull!==t&&t.apply(this,arguments)||this}returns(e,t),e.prototype.assistiveMml=function(t,e){if(void0===e&&(e=!1),!(this.state()>=p.STATE.ASSISTIVEMML)){if(!this.isEscaped&&(t.options.enableAssistiveMml||e)){vari=t.adaptor,o=t.toMML(this.root).replace(/\n */g,"").replace(/<!--.*?-->/g,""),s=i.firstChild(i.body(i.parse(o,"text/html"))),n=i.node("mjx-assistive-mml",{unselectable:"on",display:this.display?"block":"inline"},[s]);i.setAttribute(i.firstChild(this.typesetRoot),"aria-hidden","true"),i.setStyle(this.typesetRoot,"position","relative"),i.append(this.typesetRoot,n)}this.state(p.STATE.ASSISTIVEMML)}},e}(t)}functionM(t){vare;returne=function(t){functione(){for(vare=[],i=0;i<arguments.length;i++)e[i]=arguments[i];varo=t.apply(this,a([],r(e),!1))||this,s=o.constructor,n=s.ProcessBits;returnn.has("assistive-mml")||n.allocate("assistive-mml"),o.visitor=newh(o.mmlFactory),o.options.MathItem=m(o.options.MathItem),"addStyles"ino&&o.addStyles(s.assistiveStyles),o}returns(e,t),e.prototype.toMML=function(t){returnthis.visitor.visitTree(t)},e.prototype.assistiveMml=function(){vart,e;if(!this.processed.isSet("assistive-mml")){try{for(vari=l(this.math),o=i.next();!o.done;o=i.next()){o.value.assistiveMml(this)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=i.return)&&e.call(i)}finally{if(t)throwt.error}}this.processed.set("assistive-mml")}returnthis},e.prototype.state=function(e,i){returnvoid0===i&&(i=!1),t.prototype.state.call(this,e,i),e<p.STATE.ASSISTIVEMML&&this.processed.clear("assistive-mml"),this},e}(t),e.OPTIONS=n(n({},t.OPTIONS),{enableAssistiveMml:!0,renderActions:(0,u.expandable)(n(n({},t.OPTIONS.renderActions),{assistiveMml:[p.STATE.ASSISTIVEMML]}))}),e.assistiveStyles={"mjx-assistive-mml":{position:"absolute !important",top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)",padding:"1px 0px 0px 0px !important",border:"0px !important",display:"block !important",width:"auto !important",overflow:"hidden !important","-webkit-touch-callout":"none","-webkit-user-select":"n