UNPKG

@zklogic/draw.io

Version:

Draw.IO - Graph Editor integration in Angular-cli

1 lines 271 kB
MathJax.Hub.Config({delayJaxRegistration:!0}),MathJax.Ajax.Preloading("[MathJax]/jax/input/TeX/config.js","[MathJax]/jax/input/MathML/config.js","[MathJax]/jax/input/AsciiMath/config.js","[MathJax]/jax/output/HTML-CSS/config.js","[MathJax]/jax/output/NativeMML/config.js","[MathJax]/jax/output/PreviewHTML/config.js","[MathJax]/config/MMLorHTML.js","[MathJax]/extensions/tex2jax.js","[MathJax]/extensions/mml2jax.js","[MathJax]/extensions/asciimath2jax.js","[MathJax]/extensions/MathEvents.js","[MathJax]/extensions/MathZoom.js","[MathJax]/extensions/MathMenu.js","[MathJax]/jax/element/mml/jax.js","[MathJax]/extensions/toMathML.js","[MathJax]/extensions/TeX/noErrors.js","[MathJax]/extensions/TeX/noUndefined.js","[MathJax]/jax/input/TeX/jax.js","[MathJax]/extensions/TeX/AMSmath.js","[MathJax]/extensions/TeX/AMSsymbols.js","[MathJax]/jax/input/MathML/jax.js","[MathJax]/jax/input/AsciiMath/jax.js","[MathJax]/jax/output/PreviewHTML/jax.js","[MathJax]/extensions/fast-preview.js","[MathJax]/extensions/AssistiveMML.js","[MathJax]/extensions/a11y/accessibility-menu.js"),MathJax.Hub.Config({extensions:["[a11y]/accessibility-menu.js"]}),MathJax.InputJax.TeX=MathJax.InputJax({id:"TeX",version:"2.7.9",directory:MathJax.InputJax.directory+"/TeX",extensionDir:MathJax.InputJax.extensionDir+"/TeX",config:{TagSide:"right",TagIndent:"0.8em",MultLineWidth:"85%",equationNumbers:{autoNumber:"none",formatNumber:function(t){return t},formatTag:function(t){return"("+t+")"},formatID:function(t){return"mjx-eqn-"+String(t).replace(/\s/g,"_")},formatURL:function(t,e){return e+"#"+encodeURIComponent(t)},useLabelIds:!0}},resetEquationNumbers:function(){}}),MathJax.InputJax.TeX.Register("math/tex"),MathJax.InputJax.TeX.loadComplete("config.js"),MathJax.InputJax.MathML=MathJax.InputJax({id:"MathML",version:"2.7.9",directory:MathJax.InputJax.directory+"/MathML",extensionDir:MathJax.InputJax.extensionDir+"/MathML",entityDir:MathJax.InputJax.directory+"/MathML/entities",config:{useMathMLspacing:!1}}),MathJax.InputJax.MathML.Register("math/mml"),MathJax.InputJax.MathML.loadComplete("config.js"),MathJax.InputJax.AsciiMath=MathJax.InputJax({id:"AsciiMath",version:"2.7.9",directory:MathJax.InputJax.directory+"/AsciiMath",extensionDir:MathJax.InputJax.extensionDir+"/AsciiMath",config:{fixphi:!0,useMathMLspacing:!0,displaystyle:!0,decimalsign:"."}}),MathJax.InputJax.AsciiMath.Register("math/asciimath"),MathJax.InputJax.AsciiMath.loadComplete("config.js"),MathJax.OutputJax["HTML-CSS"]=MathJax.OutputJax({id:"HTML-CSS",version:"2.7.9",directory:MathJax.OutputJax.directory+"/HTML-CSS",extensionDir:MathJax.OutputJax.extensionDir+"/HTML-CSS",autoloadDir:MathJax.OutputJax.directory+"/HTML-CSS/autoload",fontDir:MathJax.OutputJax.directory+"/HTML-CSS/fonts",webfontDir:MathJax.OutputJax.fontDir+"/HTML-CSS",config:{noReflows:!0,matchFontHeight:!0,scale:100,minScaleAdjust:50,availableFonts:["STIX","TeX"],preferredFont:"TeX",webFont:"TeX",imageFont:"TeX",undefinedFamily:"STIXGeneral,'Arial Unicode MS',serif",mtextFontInherit:!1,EqnChunk:MathJax.Hub.Browser.isMobile?10:50,EqnChunkFactor:1.5,EqnChunkDelay:100,linebreaks:{automatic:!1,width:"container"},styles:{".MathJax_Display":{"text-align":"center",margin:"1em 0em"},".MathJax .merror":{"background-color":"#FFFF88",color:"#CC0000",border:"1px solid #CC0000",padding:"1px 3px","font-style":"normal","font-size":"90%"},".MathJax .MJX-monospace":{"font-family":"monospace"},".MathJax .MJX-sans-serif":{"font-family":"sans-serif"},"#MathJax_Tooltip":{"background-color":"InfoBackground",color:"InfoText",border:"1px solid black","box-shadow":"2px 2px 5px #AAAAAA","-webkit-box-shadow":"2px 2px 5px #AAAAAA","-moz-box-shadow":"2px 2px 5px #AAAAAA","-khtml-box-shadow":"2px 2px 5px #AAAAAA",filter:"progid:DXImageTransform.Microsoft.dropshadow(OffX=2, OffY=2, Color='gray', Positive='true')",padding:"3px 4px","z-index":401}}}}),MathJax.Hub.Browser.isMSIE&&document.documentMode>=9&&delete MathJax.OutputJax["HTML-CSS"].config.styles["#MathJax_Tooltip"].filter,MathJax.Hub.config.delayJaxRegistration||MathJax.OutputJax["HTML-CSS"].Register("jax/mml"),MathJax.Hub.Register.StartupHook("End Config",[function(t,e){var a=t.Insert({minBrowserVersion:{Firefox:3,Opera:9.52,MSIE:6,Chrome:.3,Safari:2,Konqueror:4},inlineMathDelimiters:["$","$"],displayMathDelimiters:["$$","$$"],multilineDisplay:!0,minBrowserTranslate:function(e){var i,n=t.getJaxFor(e),s=["[Math]"],r=document.createElement("span",{className:"MathJax_Preview"});"TeX"===n.inputJax&&(n.root.Get("displaystyle")?(s=[(i=a.displayMathDelimiters)[0]+n.originalText+i[1]],a.multilineDisplay&&(s=s[0].split(/\n/))):s=[(i=a.inlineMathDelimiters)[0]+n.originalText.replace(/^\s+/,"").replace(/\s+$/,"")+i[1]]);for(var o=0,l=s.length;o<l;o++)r.appendChild(document.createTextNode(s[o])),o<l-1&&r.appendChild(document.createElement("br"));e.parentNode.insertBefore(r,e)}},t.config["HTML-CSS"]||{});"0.0"===t.Browser.version||t.Browser.versionAtLeast(a.minBrowserVersion[t.Browser]||0)||(e.Translate=a.minBrowserTranslate,t.Config({showProcessingMessages:!1}),MathJax.Message.Set(["MathJaxNotSupported","Your browser does not support MathJax"],null,4e3),t.Startup.signal.Post("MathJax not supported"))},MathJax.Hub,MathJax.OutputJax["HTML-CSS"]]),MathJax.OutputJax["HTML-CSS"].loadComplete("config.js"),MathJax.OutputJax.NativeMML=MathJax.OutputJax({id:"NativeMML",version:"2.7.9",directory:MathJax.OutputJax.directory+"/NativeMML",extensionDir:MathJax.OutputJax.extensionDir+"/NativeMML",config:{matchFontHeight:!0,scale:100,minScaleAdjust:50,styles:{"div.MathJax_MathML":{"text-align":"center",margin:".75em 0px"}}}}),MathJax.Hub.config.delayJaxRegistration||MathJax.OutputJax.NativeMML.Register("jax/mml"),MathJax.OutputJax.NativeMML.loadComplete("config.js"),MathJax.OutputJax.PreviewHTML=MathJax.OutputJax({id:"PreviewHTML",version:"2.7.9",directory:MathJax.OutputJax.directory+"/PreviewHTML",extensionDir:MathJax.OutputJax.extensionDir+"/PreviewHTML",noFastPreview:!0,config:{scale:100,minScaleAdjust:50,mtextFontInherit:!1,linebreaks:{automatic:!1,width:"container"}}}),MathJax.Hub.config.delayJaxRegistration||MathJax.OutputJax.PreviewHTML.Register("jax/mml"),MathJax.OutputJax.PreviewHTML.loadComplete("config.js"),function(t,e){var a=MathJax.Hub.CombineConfig("MMLorHTML",{prefer:{MSIE:"MML",Firefox:"HTML",Opera:"HTML",Chrome:"HTML",Safari:"HTML",other:"HTML"}}),i="0.0"===e.version||e.versionAtLeast({Firefox:3,Opera:9.52,MSIE:6,Chrome:.3,Safari:2,Konqueror:4}[e]||0),n=e.isFirefox&&e.versionAtLeast("1.5")||e.isMSIE&&e.hasMathPlayer||e.isSafari&&e.versionAtLeast("5.0")||e.isOpera&&e.versionAtLeast("9.52");t.Register.StartupHook("End Config",(function(){var e=a.prefer&&"object"==typeof a.prefer?a.prefer[MathJax.Hub.Browser]||a.prefer.other||"HTML":a.prefer;i||n?!n||"MML"!==e&&i?(MathJax.OutputJax["HTML-CSS"]?MathJax.OutputJax["HTML-CSS"].Register("jax/mml"):t.config.jax.unshift("output/HTML-CSS"),t.Startup.signal.Post("HTML-CSS output selected")):(MathJax.OutputJax.NativeMML?MathJax.OutputJax.NativeMML.Register("jax/mml"):t.config.jax.unshift("output/NativeMML"),t.Startup.signal.Post("NativeMML output selected")):(t.PreProcess.disabled=!0,t.prepareScripts.disabled=!0,MathJax.Message.Set(["MathJaxNotSupported","Your browser does not support MathJax"],null,4e3),t.Startup.signal.Post("MathJax not supported"))}))}(MathJax.Hub,MathJax.Hub.Browser),MathJax.Ajax.loadComplete("[MathJax]/config/MMLorHTML.js"),MathJax.Extension.tex2jax={version:"2.7.9",config:{inlineMath:[["\\(","\\)"]],displayMath:[["$$","$$"],["\\[","\\]"]],skipTags:["script","noscript","style","textarea","pre","code","annotation","annotation-xml"],ignoreClass:"tex2jax_ignore",processClass:"tex2jax_process",processEscapes:!1,processEnvironments:!0,processRefs:!0,preview:"TeX"},ignoreTags:{br:MathJax.Hub.Browser.isMSIE&&document.documentMode<9?"\n":" ",wbr:"","#comment":""},PreProcess:function(t){this.configured||(this.config=MathJax.Hub.CombineConfig("tex2jax",this.config),this.config.Augment&&MathJax.Hub.Insert(this,this.config.Augment),void 0===this.config.previewTeX||this.config.previewTeX||(this.config.preview="none"),this.configured=!0),"string"==typeof t&&(t=document.getElementById(t)),t||(t=document.body),this.createPatterns()&&this.scanElement(t,t.nextSibling)},createPatterns:function(){var t,e,a=[],i=[],n=this.config;for(this.match={},t=0,e=n.inlineMath.length;t<e;t++)a.push(this.patternQuote(n.inlineMath[t][0])),this.match[n.inlineMath[t][0]]={mode:"",end:n.inlineMath[t][1],pattern:this.endPattern(n.inlineMath[t][1])};for(t=0,e=n.displayMath.length;t<e;t++)a.push(this.patternQuote(n.displayMath[t][0])),this.match[n.displayMath[t][0]]={mode:"; mode=display",end:n.displayMath[t][1],pattern:this.endPattern(n.displayMath[t][1])};a.length&&i.push(a.sort(this.sortLength).join("|")),n.processEnvironments&&i.push("\\\\begin\\{([^}]*)\\}"),n.processEscapes&&i.push("\\\\*\\\\\\$"),n.processRefs&&i.push("\\\\(eq)?ref\\{[^}]*\\}"),this.start=new RegExp(i.join("|"),"g"),this.skipTags=new RegExp("^("+n.skipTags.join("|")+")$","i");var s=[];return MathJax.Hub.config.preRemoveClass&&s.push(MathJax.Hub.config.preRemoveClass),n.ignoreClass&&s.push(n.ignoreClass),this.ignoreClass=s.length?new RegExp("(^| )("+s.join("|")+")( |$)"):/^$/,this.processClass=new RegExp("(^| )("+n.processClass+")( |$)"),i.length>0},patternQuote:function(t){return t.replace(/([\^$(){}+*?\-|\[\]\:\\])/g,"\\$1")},endPattern:function(t){return new RegExp(this.patternQuote(t)+"|\\\\.|[{}]","g")},sortLength:function(t,e){return t.length!==e.length?e.length-t.length:t==e?0:t<e?-1:1},scanElement:function(t,e,a){for(var i,n,s,r;t&&t!=e;)"#text"===t.nodeName.toLowerCase()?a||(t=this.scanText(t)):(i=void 0===t.className?"":t.className,n=void 0===t.tagName?"":t.tagName,"string"!=typeof i&&(i=String(i)),r=this.processClass.exec(i),!t.firstChild||i.match(/(^| )MathJax/)||!r&&this.skipTags.exec(n)||(s=(a||this.ignoreClass.exec(i))&&!r,this.scanElement(t.firstChild,e,s))),t&&(t=t.nextSibling)},scanText:function(t){if(""==t.nodeValue.replace(/\s+/,""))return t;var e,a,i,n=0;for(this.search={start:!0},this.pattern=this.start;t;){for(i=null,this.pattern.lastIndex=n,n=0;t&&"#text"===t.nodeName.toLowerCase()&&(e=this.pattern.exec(t.nodeValue));)t=this.search.start?this.startMatch(e,t):this.endMatch(e,t);if(this.search.matched?t=this.encloseMath(t):this.search.start||this.search.close||(i=this.search),t){do{a=t,t=t.nextSibling}while(t&&null!=this.ignoreTags[t.nodeName.toLowerCase()]);if(!t||"#text"!==t.nodeName){if(!i)return this.search.close?this.prevEndMatch():a;t=i.open,n=i.opos+i.olen+(i.blen||0),this.search={start:!0},this.pattern=this.start}}}return t},startMatch:function(t,e){var a=this.match[t[0]];if(null!=a)this.search={end:a.end,mode:a.mode,pcount:0,open:e,olen:t[0].length,opos:this.pattern.lastIndex-t[0].length},this.switchPattern(a.pattern);else if("\\begin"===t[0].substr(0,6))this.search={end:"\\end{"+t[1]+"}",mode:"; mode=display",pcount:0,open:e,olen:0,opos:this.pattern.lastIndex-t[0].length,blen:t[1].length+3,isBeginEnd:!0},this.switchPattern(this.endPattern(this.search.end));else{if("\\ref"===t[0].substr(0,4)||"\\eqref"===t[0].substr(0,6))return this.search={mode:"",end:"",open:e,pcount:0,olen:0,opos:this.pattern.lastIndex-t[0].length},this.endMatch([""],e);var i,n,s=t[0].substr(0,t[0].length-1);s.length%2==0?(n=[s.replace(/\\\\/g,"\\")],i=1):(n=[s.substr(1).replace(/\\\\/g,"\\"),"$"],i=0),n=MathJax.HTML.Element("span",null,n);var r=MathJax.HTML.TextNode(e.nodeValue.substr(0,t.index));e.nodeValue=e.nodeValue.substr(t.index+t[0].length-i),e.parentNode.insertBefore(n,e),e.parentNode.insertBefore(r,n),this.pattern.lastIndex=i}return e},endMatch:function(t,e){var a=this.search;return t[0]==a.end&&(a.close&&0!==a.pcount||(a.close=e,a.cpos=this.pattern.lastIndex,a.clen=a.isBeginEnd?0:t[0].length),0===a.pcount&&(a.matched=!0,e=this.encloseMath(e),this.switchPattern(this.start))),"{"===t[0]?a.pcount++:"}"===t[0]&&a.pcount&&a.pcount--,e},prevEndMatch:function(){this.search.matched=!0;var t=this.encloseMath(this.search.close);return this.switchPattern(this.start),t},switchPattern:function(t){t.lastIndex=this.pattern.lastIndex,this.pattern=t,this.search.start=t===this.start},encloseMath:function(t){var e,a,i,n=this.search,s=n.close;for((s=n.cpos===s.length?s.nextSibling:s.splitText(n.cpos))||(e=s=MathJax.HTML.addText(n.close.parentNode,"")),n.close=s,a=n.opos?n.open.splitText(n.opos):n.open;(i=a.nextSibling)&&i!==s;){if(null!==i.nodeValue)"#comment"===i.nodeName?a.nodeValue+=i.nodeValue.replace(/^\[CDATA\[((.|\n|\r)*)\]\]$/,"$1"):a.nodeValue+=i.nodeValue;else{var r=this.ignoreTags[i.nodeName.toLowerCase()];a.nodeValue+=null==r?" ":r}a.parentNode.removeChild(i)}var o=a.nodeValue.substr(n.olen,a.nodeValue.length-n.olen-n.clen);return a.parentNode.removeChild(a),"none"!==this.config.preview&&this.createPreview(n.mode,o),a=this.createMathTag(n.mode,o),this.search={},this.pattern.lastIndex=0,e&&e.parentNode.removeChild(e),a},insertNode:function(t){var e=this.search;e.close.parentNode.insertBefore(t,e.close)},createPreview:function(t,e){var a=MathJax.Hub.config.preRemoveClass,i=this.config.preview;"none"!==i&&(this.search.close.previousSibling||{}).className!==a&&("TeX"===i&&(i=[this.filterPreview(e)]),i&&(i=MathJax.HTML.Element("span",{className:a},i),this.insertNode(i)))},createMathTag:function(t,e){var a=document.createElement("script");return a.type="math/tex"+t,MathJax.HTML.setScript(a,e),this.insertNode(a),a},filterPreview:function(t){return t}},MathJax.Hub.Register.PreProcessor(["PreProcess",MathJax.Extension.tex2jax]),MathJax.Ajax.loadComplete("[MathJax]/extensions/tex2jax.js"),MathJax.Extension.mml2jax={version:"2.7.9",config:{preview:"mathml"},MMLnamespace:"http://www.w3.org/1998/Math/MathML",PreProcess:function(t){this.configured||(this.config=MathJax.Hub.CombineConfig("mml2jax",this.config),this.config.Augment&&MathJax.Hub.Insert(this,this.config.Augment),this.InitBrowser(),this.configured=!0),"string"==typeof t&&(t=document.getElementById(t)),t||(t=document.body);var e,a,i=[];if(this.PushMathElements(i,t,"math"),this.PushMathElements(i,t,"math",this.MMLnamespace),void 0!==document.namespaces)try{for(e=0,a=document.namespaces.length;e<a;e++){var n=document.namespaces[e];n.urn===this.MMLnamespace&&this.PushMathElements(i,t,n.name+":math")}}catch(t){}else{var s=document.getElementsByTagName("html")[0];if(s)for(e=0,a=s.attributes.length;e<a;e++){var r=s.attributes[e];"xmlns:"===r.nodeName.substr(0,6)&&r.nodeValue===this.MMLnamespace&&this.PushMathElements(i,t,r.nodeName.substr(6)+":math")}}this.ProcessMathArray(i)},PushMathElements:function(t,e,a,i){var n,s=MathJax.Hub.config.preRemoveClass;if(i){if(!e.getElementsByTagNameNS)return;n=e.getElementsByTagNameNS(i,a)}else n=e.getElementsByTagName(a);for(var r=0,o=n.length;r<o;r++){var l=n[r].parentNode;l&&l.className!==s&&!l.isMathJax&&!n[r].prefix==!i&&t.push(n[r])}},ProcessMathArray:function(t){var e,a=t.length;if(a)if(this.MathTagBug)for(e=0;e<a;e++)"MATH"===t[e].nodeName?this.ProcessMathFlattened(t[e]):this.ProcessMath(t[e]);else for(e=0;e<a;e++)this.ProcessMath(t[e])},ProcessMath:function(t){var e=t.parentNode;if(e&&e.className!==MathJax.Hub.config.preRemoveClass){var a=document.createElement("script");if(a.type="math/mml",e.insertBefore(a,t),this.AttributeBug){var i=this.OuterHTML(t);this.CleanupHTML&&(i=(i=i.replace(/<\?import .*?>/i,"").replace(/<\?xml:namespace .*?\/>/i,"")).replace(/&nbsp;/g,"&#xA0;")),MathJax.HTML.setScript(a,i),e.removeChild(t)}else{var n=MathJax.HTML.Element("span");n.appendChild(t),MathJax.HTML.setScript(a,n.innerHTML)}"none"!==this.config.preview&&this.createPreview(t,a)}},ProcessMathFlattened:function(t){var e=t.parentNode;if(e&&e.className!==MathJax.Hub.config.preRemoveClass){var a=document.createElement("script");a.type="math/mml",e.insertBefore(a,t);for(var i,n="",s=t;t&&"/MATH"!==t.nodeName;)i=t,t=t.nextSibling,n+=this.NodeHTML(i),i.parentNode.removeChild(i);t&&"/MATH"===t.nodeName&&t.parentNode.removeChild(t),a.text=n+"</math>","none"!==this.config.preview&&this.createPreview(s,a)}},NodeHTML:function(t){var e,a,i;if("#text"===t.nodeName)e=this.quoteHTML(t.nodeValue);else if("#comment"===t.nodeName)e="\x3c!--"+t.nodeValue+"--\x3e";else{for(e="<"+t.nodeName.toLowerCase(),a=0,i=t.attributes.length;a<i;a++){var n=t.attributes[a];if(n.specified&&"_moz-math-"!==n.nodeName.substr(0,10)){e+=" "+n.nodeName.toLowerCase().replace(/xmlns:xmlns/,"xmlns")+"=";var s=n.nodeValue;null==s&&"style"===n.nodeName&&t.style&&(s=t.style.cssText),e+='"'+this.quoteHTML(s)+'"'}}if(e+=">",null!=t.outerHTML&&t.outerHTML.match(/(.<\/[A-Z]+>|\/>)$/)){for(a=0,i=t.childNodes.length;a<i;a++)e+=this.OuterHTML(t.childNodes[a]);e+="</"+t.nodeName.toLowerCase()+">"}}return e},OuterHTML:function(t){if("#"===t.nodeName.charAt(0))return this.NodeHTML(t);if(!this.AttributeBug)return t.outerHTML;for(var e=this.NodeHTML(t),a=0,i=t.childNodes.length;a<i;a++)e+=this.OuterHTML(t.childNodes[a]);return e+"</"+t.nodeName.toLowerCase()+">"},quoteHTML:function(t){return null==t&&(t=""),t.replace(/&/g,"&#x26;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\"/g,"&quot;")},createPreview:function(t,e){var a=this.config.preview;if("none"!==a){var i=!1,n=MathJax.Hub.config.preRemoveClass;if((e.previousSibling||{}).className!==n){if("mathml"===a&&(i=!0,a=this.MathTagBug?"alttext":t.cloneNode(!0)),"alttext"===a||"altimg"===a){i=!0;var s=this.filterPreview(t.getAttribute("alttext"));if("alttext"===a)a=null!=s?MathJax.HTML.TextNode(s):null;else{var r=t.getAttribute("altimg");if(null!=r){var o={width:t.getAttribute("altimg-width"),height:t.getAttribute("altimg-height")};a=MathJax.HTML.Element("img",{src:r,alt:s,style:o})}else a=null}}var l;a&&(i?(l=MathJax.HTML.Element("span",{className:n})).appendChild(a):l=MathJax.HTML.Element("span",{className:n},a),e.parentNode.insertBefore(l,e))}}},filterPreview:function(t){return t},InitBrowser:function(){var t=MathJax.HTML.Element("span",{id:"<",className:"mathjax",innerHTML:"<math><mi>x</mi><mspace /></math>"}),e=t.outerHTML||"";this.AttributeBug=""!==e&&!(e.match(/id="&lt;"/)&&e.match(/class="mathjax"/)&&e.match(/<\/math>/)),this.MathTagBug=t.childNodes.length>1,this.CleanupHTML=MathJax.Hub.Browser.isMSIE}},MathJax.Hub.Register.PreProcessor(["PreProcess",MathJax.Extension.mml2jax],5),MathJax.Ajax.loadComplete("[MathJax]/extensions/mml2jax.js"),MathJax.Extension.asciimath2jax={version:"2.7.9",config:{delimiters:[["`","`"]],skipTags:["script","noscript","style","textarea","pre","code","annotation","annotation-xml"],ignoreClass:"asciimath2jax_ignore",processClass:"asciimath2jax_process",preview:"AsciiMath"},ignoreTags:{br:MathJax.Hub.Browser.isMSIE&&document.documentMode<9?"\n":" ",wbr:"","#comment":""},PreProcess:function(t){this.configured||(this.config=MathJax.Hub.CombineConfig("asciimath2jax",this.config),this.config.Augment&&MathJax.Hub.Insert(this,this.config.Augment),this.configured=!0),"string"==typeof t&&(t=document.getElementById(t)),t||(t=document.body),this.createPatterns()&&this.scanElement(t,t.nextSibling)},createPatterns:function(){var t,e,a=[],i=this.config;if(this.match={},0===i.delimiters.length)return!1;for(t=0,e=i.delimiters.length;t<e;t++)a.push(this.patternQuote(i.delimiters[t][0])),this.match[i.delimiters[t][0]]={mode:"",end:i.delimiters[t][1],pattern:this.endPattern(i.delimiters[t][1])};this.start=new RegExp(a.sort(this.sortLength).join("|"),"g"),this.skipTags=new RegExp("^("+i.skipTags.join("|")+")$","i");var n=[];return MathJax.Hub.config.preRemoveClass&&n.push(MathJax.Hub.config.preRemoveClass),i.ignoreClass&&n.push(i.ignoreClass),this.ignoreClass=n.length?new RegExp("(^| )("+n.join("|")+")( |$)"):/^$/,this.processClass=new RegExp("(^| )("+i.processClass+")( |$)"),!0},patternQuote:function(t){return t.replace(/([\^$(){}+*?\-|\[\]\:\\])/g,"\\$1")},endPattern:function(t){return new RegExp(this.patternQuote(t)+"|\\\\.","g")},sortLength:function(t,e){return t.length!==e.length?e.length-t.length:t==e?0:t<e?-1:1},scanElement:function(t,e,a){for(var i,n,s,r;t&&t!=e;)"#text"===t.nodeName.toLowerCase()?a||(t=this.scanText(t)):(i=void 0===t.className?"":t.className,n=void 0===t.tagName?"":t.tagName,"string"!=typeof i&&(i=String(i)),r=this.processClass.exec(i),!t.firstChild||i.match(/(^| )MathJax/)||!r&&this.skipTags.exec(n)||(s=(a||this.ignoreClass.exec(i))&&!r,this.scanElement(t.firstChild,e,s))),t&&(t=t.nextSibling)},scanText:function(t){if(""==t.nodeValue.replace(/\s+/,""))return t;var e,a,i,n=0;for(this.search={start:!0},this.pattern=this.start;t;){for(i=null,this.pattern.lastIndex=n||0,n=0;t&&"#text"===t.nodeName.toLowerCase()&&(e=this.pattern.exec(t.nodeValue));)t=this.search.start?this.startMatch(e,t):this.endMatch(e,t);if(this.search.matched?t=this.encloseMath(t):this.search.start||(i=this.search),t){do{a=t,t=t.nextSibling}while(t&&null!=this.ignoreTags[t.nodeName.toLowerCase()]);if(!t||"#text"!==t.nodeName){if(!i)return a;t=i.open,n=i.opos+i.olen,this.search={start:!0},this.pattern=this.start}}}return t},startMatch:function(t,e){var a=this.match[t[0]];return null!=a&&(this.search={end:a.end,mode:a.mode,open:e,olen:t[0].length,opos:this.pattern.lastIndex-t[0].length},this.switchPattern(a.pattern)),e},endMatch:function(t,e){return t[0]==this.search.end&&(this.search.close=e,this.search.cpos=this.pattern.lastIndex,this.search.clen=this.search.isBeginEnd?0:t[0].length,this.search.matched=!0,e=this.encloseMath(e),this.switchPattern(this.start)),e},switchPattern:function(t){t.lastIndex=this.pattern.lastIndex,this.pattern=t,this.search.start=t===this.start},encloseMath:function(t){var e,a,i,n=this.search,s=n.close;for((s=n.cpos===s.length?s.nextSibling:s.splitText(n.cpos))||(e=s=MathJax.HTML.addText(n.close.parentNode,"")),n.close=s,a=n.opos?n.open.splitText(n.opos):n.open;(i=a.nextSibling)&&i!==s;){if(null!==i.nodeValue)"#comment"===i.nodeName?a.nodeValue+=i.nodeValue.replace(/^\[CDATA\[((.|\n|\r)*)\]\]$/,"$1"):a.nodeValue+=a.nextSibling.nodeValue;else{var r=this.ignoreTags[i.nodeName.toLowerCase()];a.nodeValue+=null==r?" ":r}a.parentNode.removeChild(i)}var o=a.nodeValue.substr(n.olen,a.nodeValue.length-n.olen-n.clen);return a.parentNode.removeChild(a),"none"!==this.config.preview&&this.createPreview(n.mode,o),a=this.createMathTag(n.mode,o),this.search={},this.pattern.lastIndex=0,e&&e.parentNode.removeChild(e),a},insertNode:function(t){var e=this.search;e.close.parentNode.insertBefore(t,e.close)},createPreview:function(t,e){var a=MathJax.Hub.config.preRemoveClass,i=this.config.preview;"none"!==i&&(this.search.close.previousSibling||{}).className!==a&&("AsciiMath"===i&&(i=[this.filterPreview(e)]),i&&(i=MathJax.HTML.Element("span",{className:a},i),this.insertNode(i)))},createMathTag:function(t,e){var a=document.createElement("script");return a.type="math/asciimath"+t,MathJax.HTML.setScript(a,e),this.insertNode(a),a},filterPreview:function(t){return t}},MathJax.Hub.Register.PreProcessor(["PreProcess",MathJax.Extension.asciimath2jax]),MathJax.Ajax.loadComplete("[MathJax]/extensions/asciimath2jax.js"),function(t,e,a,i,n,s,r){var o=MathJax.Extension,l=o.MathEvents={version:"2.7.9"},h=t.config.menuSettings,u={hover:500,frame:{x:3.5,y:5,bwidth:1,bcolor:"#A6D",hwidth:"15px",hcolor:"#83A"},button:{x:-6,y:-3,wx:-2},fadeinInc:.2,fadeoutInc:.05,fadeDelay:50,fadeoutStart:400,fadeoutDelay:15e3,styles:{".MathJax_Hover_Frame":{"border-radius":".25em","-webkit-border-radius":".25em","-moz-border-radius":".25em","-khtml-border-radius":".25em","box-shadow":"0px 0px 15px #83A","-webkit-box-shadow":"0px 0px 15px #83A","-moz-box-shadow":"0px 0px 15px #83A","-khtml-box-shadow":"0px 0px 15px #83A",border:"1px solid #A6D ! important",display:"inline-block",position:"absolute"},".MathJax_Menu_Button .MathJax_Hover_Arrow":{position:"absolute",cursor:"pointer",display:"inline-block",border:"2px solid #AAA","border-radius":"4px","-webkit-border-radius":"4px","-moz-border-radius":"4px","-khtml-border-radius":"4px","font-family":"'Courier New',Courier","font-size":"9px",color:"#F0F0F0"},".MathJax_Menu_Button .MathJax_Hover_Arrow span":{display:"block","background-color":"#AAA",border:"1px solid","border-radius":"3px","line-height":0,padding:"4px"},".MathJax_Hover_Arrow:hover":{color:"white!important",border:"2px solid #CCC!important"},".MathJax_Hover_Arrow:hover span":{"background-color":"#CCC!important"}}},c=l.Event={LEFTBUTTON:0,RIGHTBUTTON:2,MENUKEY:"altKey",KEY:{RETURN:13,ESCAPE:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40,LESS:188,GREATER:190,DASH:189},Mousedown:function(t){return c.Handler(t,"Mousedown",this)},Mouseup:function(t){return c.Handler(t,"Mouseup",this)},Mousemove:function(t){return c.Handler(t,"Mousemove",this)},Mouseover:function(t){return c.Handler(t,"Mouseover",this)},Mouseout:function(t){return c.Handler(t,"Mouseout",this)},Click:function(t){return c.Handler(t,"Click",this)},DblClick:function(t){return c.Handler(t,"DblClick",this)},Menu:function(t){return c.Handler(t,"ContextMenu",this)},Handler:function(t,e,i){if(a.loadingMathMenu)return c.False(t);var n=s[i.jaxID];return t||(t=window.event),t.isContextMenu="ContextMenu"===e,n[e]?n[e](t,i):o.MathZoom?o.MathZoom.HandleEvent(t,e,i):void 0},False:function(t){return t||(t=window.event),t&&(t.preventDefault?t.preventDefault():t.returnValue=!1,t.stopPropagation&&t.stopPropagation(),t.cancelBubble=!0),!1},Keydown:function(t,e){t||(t=window.event),t.keyCode===c.KEY.SPACE&&c.ContextMenu(t,this)},ContextMenu:function(e,o,u){var p=s[o.jaxID],d=p.getJaxFromMath(o);if((null!=p.config.showMathMenu?p:t).config.showMathMenu&&("MathJax"===h.context||u)){l.msieEventBug&&(e=window.event||e),c.ClearSelection(),m.ClearHoverTimer(),d.hover&&(d.hover.remove&&(clearTimeout(d.hover.remove),delete d.hover.remove),d.hover.nofade=!0);var f,g,M=MathJax.Menu;if(M){if(M.loadingDomain)return c.False(e);if(!(f=n.loadDomain("MathMenu"))){M.jax=d;var x=M.menu.Find("Show Math As").submenu;x.items[0].name=d.sourceMenuTitle,x.items[0].format=d.sourceMenuFormat||"MathML",x.items[1].name=r[d.inputJax].sourceMenuTitle,x.items[5].disabled=!r[d.inputJax].annotationEncoding;var v=x.items[2];v.disabled=!0;var b=v.submenu.items;annotationList=MathJax.Hub.Config.semanticsAnnotations;for(var E=0,T=b.length;E<T;E++){var C=b[E].name[1];d.root&&null!==d.root.getAnnotation(C)?(v.disabled=!1,b[E].hidden=!1):b[E].hidden=!0}return M.menu.Find("Math Settings","MathPlayer").hidden=!("NativeMML"===d.outputJax&&t.Browser.hasMathPlayer),M.menu.Post(e)}M.loadingDomain=!0,g=function(){delete M.loadingDomain}}else{if(a.loadingMathMenu)return c.False(e);a.loadingMathMenu=!0,f=a.Require("[MathJax]/extensions/MathMenu.js"),g=function(){delete a.loadingMathMenu,MathJax.Menu||(MathJax.Menu={})}}var y={pageX:e.pageX,pageY:e.pageY,clientX:e.clientX,clientY:e.clientY};return i.Queue(f,g,["ContextMenu",c,y,o,u]),c.False(e)}},AltContextMenu:function(e,a){var i=s[a.jaxID],n=(null!=i.config.showMathMenu?i:t).config.showMathMenu;if(n){if(n=(null!=i.config.showMathMenuMSIE?i:t).config.showMathMenuMSIE,"MathJax"===h.context&&!h.mpContext&&n){if(!l.noContextMenuBug||e.button!==c.RIGHTBUTTON)return}else if(!e[c.MENUKEY]||e.button!==c.LEFTBUTTON)return;return i.ContextMenu(e,a,!0)}},ClearSelection:function(){l.safariContextMenuBug&&setTimeout("window.getSelection().empty()",0),document.selection&&setTimeout("document.selection.empty()",0)},getBBox:function(t){t.appendChild(l.topImg);var e=l.topImg.offsetTop,a=t.offsetHeight-e,i=t.offsetWidth;return t.removeChild(l.topImg),{w:i,h:e,d:a}}},m=l.Hover={Mouseover:function(e,a){if(h.discoverable||"Hover"===h.zoom){var i=e.fromElement||e.relatedTarget,n=e.toElement||e.target;if(i&&n&&(t.isMathJaxNode(i)!==t.isMathJaxNode(n)||t.getJaxFor(i)!==t.getJaxFor(n))){var s=this.getJaxFromMath(a);return s.hover?m.ReHover(s):m.HoverTimer(s,a),c.False(e)}}},Mouseout:function(e,a){if(h.discoverable||"Hover"===h.zoom){var i=e.fromElement||e.relatedTarget,n=e.toElement||e.target;if(i&&n&&(t.isMathJaxNode(i)!==t.isMathJaxNode(n)||t.getJaxFor(i)!==t.getJaxFor(n))){var s=this.getJaxFromMath(a);return s.hover?m.UnHover(s):m.ClearHoverTimer(),c.False(e)}}},Mousemove:function(t,e){if(h.discoverable||"Hover"===h.zoom){var a=this.getJaxFromMath(e);if(a.hover)return;if(m.lastX==t.clientX&&m.lastY==t.clientY)return;return m.lastX=t.clientX,m.lastY=t.clientY,m.HoverTimer(a,e),c.False(t)}},HoverTimer:function(t,e){this.ClearHoverTimer(),this.hoverTimer=setTimeout(i(["Hover",this,t,e]),u.hover)},ClearHoverTimer:function(){this.hoverTimer&&(clearTimeout(this.hoverTimer),delete this.hoverTimer)},Hover:function(a,i){if(!o.MathZoom||!o.MathZoom.Hover({},i)){var n=s[a.outputJax],r=n.getHoverSpan(a,i),h=n.getHoverBBox(a,r,i),c=(null!=n.config.showMathMenu?n:t).config.showMathMenu,m=u.frame.x,p=u.frame.y,d=u.frame.bwidth;l.msieBorderWidthBug&&(d=0),a.hover={opacity:0,id:a.inputID+"-Hover"};var f=e.Element("span",{id:a.hover.id,isMathJax:!0,style:{display:"inline-block",width:0,height:0,position:"relative"}},[["span",{className:"MathJax_Hover_Frame",isMathJax:!0,style:{display:"inline-block",position:"absolute",top:this.Px(-h.h-p-d-(h.y||0)),left:this.Px(-m-d+(h.x||0)),width:this.Px(h.w+2*m),height:this.Px(h.h+h.d+2*p),opacity:0,filter:"alpha(opacity=0)"}}]]),g=e.Element("span",{isMathJax:!0,id:a.hover.id+"Menu",className:"MathJax_Menu_Button",style:{display:"inline-block","z-index":1,width:0,height:0,position:"relative"}},[["span",{className:"MathJax_Hover_Arrow",isMathJax:!0,math:i,onclick:this.HoverMenu,jax:n.id,style:{left:this.Px(h.w+m+d+(h.x||0)+u.button.x),top:this.Px(-h.h-p-d-(h.y||0)-u.button.y),opacity:0,filter:"alpha(opacity=0)"}},[["span",{isMathJax:!0},"▼"]]]]);h.width&&(f.style.width=g.style.width=h.width,f.style.marginRight=g.style.marginRight="-"+h.width,f.firstChild.style.width=h.width,g.firstChild.style.left="",g.firstChild.style.right=this.Px(u.button.wx)),r.parentNode.insertBefore(f,r),c&&r.parentNode.insertBefore(g,r),r.style&&(r.style.position="relative"),this.ReHover(a)}},ReHover:function(t){t.hover.remove&&clearTimeout(t.hover.remove),t.hover.remove=setTimeout(i(["UnHover",this,t]),u.fadeoutDelay),this.HoverFadeTimer(t,u.fadeinInc)},UnHover:function(t){t.hover.nofade||this.HoverFadeTimer(t,-u.fadeoutInc,u.fadeoutStart)},HoverFade:function(t){delete t.hover.timer,t.hover.opacity=Math.max(0,Math.min(1,t.hover.opacity+t.hover.inc)),t.hover.opacity=Math.floor(1e3*t.hover.opacity)/1e3;var e=document.getElementById(t.hover.id),a=document.getElementById(t.hover.id+"Menu");e.firstChild.style.opacity=t.hover.opacity,e.firstChild.style.filter="alpha(opacity="+Math.floor(100*t.hover.opacity)+")",a&&(a.firstChild.style.opacity=t.hover.opacity,a.firstChild.style.filter=e.style.filter),1!==t.hover.opacity&&(t.hover.opacity>0?this.HoverFadeTimer(t,t.hover.inc):(e.parentNode.removeChild(e),a&&a.parentNode.removeChild(a),t.hover.remove&&clearTimeout(t.hover.remove),delete t.hover))},HoverFadeTimer:function(t,e,a){t.hover.inc=e,t.hover.timer||(t.hover.timer=setTimeout(i(["HoverFade",this,t]),a||u.fadeDelay))},HoverMenu:function(t){return t||(t=window.event),s[this.jax].ContextMenu(t,this.math,!0)},ClearHover:function(t){t.hover.remove&&clearTimeout(t.hover.remove),t.hover.timer&&clearTimeout(t.hover.timer),m.ClearHoverTimer(),delete t.hover},Px:function(t){return Math.abs(t)<.006?"0px":t.toFixed(2).replace(/\.?0+$/,"")+"px"},getImages:function(){h.discoverable&&((new Image).src=u.button.src)}},p=l.Touch={last:0,delay:500,start:function(t){var e=(new Date).getTime(),a=e-p.last<p.delay&&p.up;p.last=e,p.up=!1,a&&(p.timeout=setTimeout(p.menu,p.delay,t,this),t.preventDefault())},end:function(t){var e=(new Date).getTime();if(p.up=e-p.last<p.delay,p.timeout)return clearTimeout(p.timeout),delete p.timeout,p.last=0,p.up=!1,t.preventDefault(),c.Handler(t.touches[0]||t.touch,"DblClick",this)},menu:function(t,e){return delete p.timeout,p.last=0,p.up=!1,c.Handler(t.touches[0]||t.touch,"ContextMenu",e)}};t.Browser.Select({MSIE:function(t){var e=document.documentMode||0,a=t.versionAtLeast("8.0");l.msieBorderWidthBug="BackCompat"===document.compatMode,l.msieEventBug=t.isIE9,l.msieAlignBug=!a||e<8,e<9&&(c.LEFTBUTTON=1)},Safari:function(t){l.safariContextMenuBug=!0},Opera:function(t){l.operaPositionBug=!0},Konqueror:function(t){l.noContextMenuBug=!0}}),l.topImg=l.msieAlignBug?e.Element("img",{style:{width:0,height:0,position:"relative"},src:"about:blank"}):e.Element("span",{style:{width:0,height:0,display:"inline-block"}}),l.operaPositionBug&&(l.topImg.style.border="1px solid"),l.config=u=t.CombineConfig("MathEvents",u),i.Queue(t.Register.StartupHook("End Config",{}),[function(){var t=u.styles[".MathJax_Hover_Frame"];t.border=u.frame.bwidth+"px solid "+u.frame.bcolor+" ! important",t["box-shadow"]=t["-webkit-box-shadow"]=t["-moz-box-shadow"]=t["-khtml-box-shadow"]="0px 0px "+u.frame.hwidth+" "+u.frame.hcolor}],["getImages",m],["Styles",a,u.styles],["Post",t.Startup.signal,"MathEvents Ready"],["loadComplete",a,"[MathJax]/extensions/MathEvents.js"])}(MathJax.Hub,MathJax.HTML,MathJax.Ajax,MathJax.Callback,MathJax.Localization,MathJax.OutputJax,MathJax.InputJax),function(t,e,a,i,n){var s,r,o,l=t.CombineConfig("MathZoom",{styles:{"#MathJax_Zoom":{position:"absolute","background-color":"#F0F0F0",overflow:"auto",display:"block","z-index":301,padding:".5em",border:"1px solid black",margin:0,"font-weight":"normal","font-style":"normal","text-align":"left","text-indent":0,"text-transform":"none","line-height":"normal","letter-spacing":"normal","word-spacing":"normal","word-wrap":"normal","white-space":"nowrap",float:"none","-webkit-box-sizing":"content-box","-moz-box-sizing":"content-box","box-sizing":"content-box","box-shadow":"5px 5px 15px #AAAAAA","-webkit-box-shadow":"5px 5px 15px #AAAAAA","-moz-box-shadow":"5px 5px 15px #AAAAAA","-khtml-box-shadow":"5px 5px 15px #AAAAAA",filter:"progid:DXImageTransform.Microsoft.dropshadow(OffX=2, OffY=2, Color='gray', Positive='true')"},"#MathJax_ZoomOverlay":{position:"absolute",left:0,top:0,"z-index":300,display:"inline-block",width:"100%",height:"100%",border:0,padding:0,margin:0,"background-color":"white",opacity:0,filter:"alpha(opacity=0)"},"#MathJax_ZoomFrame":{position:"relative",display:"inline-block",height:0,width:0},"#MathJax_ZoomEventTrap":{position:"absolute",left:0,top:0,"z-index":302,display:"inline-block",border:0,padding:0,margin:0,"background-color":"white",opacity:0,filter:"alpha(opacity=0)"}}});MathJax.Hub.Register.StartupHook("MathEvents Ready",(function(){o=MathJax.Extension.MathEvents.Event,s=MathJax.Extension.MathEvents.Event.False,r=MathJax.Extension.MathEvents.Hover}));var h=MathJax.Extension.MathZoom={version:"2.7.9",settings:t.config.menuSettings,scrollSize:18,HandleEvent:function(t,e,a){return!(!h.settings.CTRL||t.ctrlKey)||!(!h.settings.ALT||t.altKey)||!(!h.settings.CMD||t.metaKey)||!(!h.settings.Shift||t.shiftKey)||!h[e]||h[e](t,a)},Click:function(t,e){if("Click"===this.settings.zoom)return this.Zoom(t,e)},DblClick:function(t,e){if("Double-Click"===this.settings.zoom||"DoubleClick"===this.settings.zoom)return this.Zoom(t,e)},Hover:function(t,e){return"Hover"===this.settings.zoom&&(this.Zoom(t,e),!0)},Zoom:function(a,i){this.Remove(),r.ClearHoverTimer(),o.ClearSelection();var n=MathJax.OutputJax[i.jaxID],h=n.getJaxFromMath(i);h.hover&&r.UnHover(h);var u=this.findContainer(i),c=Math.floor(.85*u.clientWidth),m=Math.max(document.body.clientHeight,document.documentElement.clientHeight);"visible"!==this.getOverflow(u)&&(m=Math.min(u.clientHeight,m)),m=Math.floor(.85*m);var p=e.Element("span",{id:"MathJax_ZoomFrame"},[["span",{id:"MathJax_ZoomOverlay",onmousedown:this.Remove}],["span",{id:"MathJax_Zoom",onclick:this.Remove,style:{visibility:"hidden",fontSize:this.settings.zscale}},[["span",{style:{display:"inline-block","white-space":"nowrap"}}]]]]),d=p.lastChild,f=d.firstChild,g=p.firstChild;i.parentNode.insertBefore(p,i),i.parentNode.insertBefore(i,p),f.addEventListener&&f.addEventListener("mousedown",this.Remove,!0);var M=d.offsetWidth||d.clientWidth;if(c-=M,m-=M,d.style.maxWidth=c+"px",d.style.maxHeight=m+"px",this.msieTrapEventBug){var x=e.Element("span",{id:"MathJax_ZoomEventTrap",onmousedown:this.Remove});p.insertBefore(x,d)}if(this.msieZIndexBug){var v=e.addElement(document.body,"img",{src:"about:blank",id:"MathJax_ZoomTracker",width:0,height:0,style:{width:0,height:0,position:"relative"}});p.style.position="relative",p.style.zIndex=l.styles["#MathJax_ZoomOverlay"]["z-index"],p=v}var b=n.Zoom(h,f,i,c,m);return this.msiePositionBug&&(this.msieSizeBug&&(d.style.height=b.zH+"px",d.style.width=b.zW+"px"),d.offsetHeight>m&&(d.style.height=m+"px",d.style.width=b.zW+this.scrollSize+"px"),d.offsetWidth>c&&(d.style.width=c+"px",d.style.height=b.zH+this.scrollSize+"px")),this.operaPositionBug&&(d.style.width=Math.min(c,b.zW)+"px"),d.offsetWidth>M&&d.offsetWidth-M<c&&d.offsetHeight-M<m&&(d.style.overflow="visible"),this.Position(d,b),this.msieTrapEventBug&&(x.style.height=d.clientHeight+"px",x.style.width=d.clientWidth+"px",x.style.left=parseFloat(d.style.left)+d.clientLeft+"px",x.style.top=parseFloat(d.style.top)+d.clientTop+"px"),d.style.visibility="","Hover"===this.settings.zoom&&(g.onmouseover=this.Remove),window.addEventListener?addEventListener("resize",this.Resize,!1):window.attachEvent?attachEvent("onresize",this.Resize):(this.onresize=window.onresize,window.onresize=this.Resize),t.signal.Post(["math zoomed",h]),s(a)},Position:function(t,e){t.style.display="none";var a=this.Resize(),i=a.x,n=a.y,s=e.mW;t.style.display="";var r=-s-Math.floor((t.offsetWidth-s)/2),o=e.Y;t.style.left=Math.max(r,10-i)+"px",t.style.top=Math.max(o,10-n)+"px",h.msiePositionBug||h.SetWH()},Resize:function(t){h.onresize&&h.onresize(t);var e=document.getElementById("MathJax_ZoomFrame"),a=document.getElementById("MathJax_ZoomOverlay"),i=h.getXY(e),n=h.findContainer(e);if("visible"!==h.getOverflow(n)){a.scroll_parent=n;var s=h.getXY(n);i.x-=s.x,i.y-=s.y,s=h.getBorder(n),i.x-=s.x,i.y-=s.y}return a.style.left=-i.x+"px",a.style.top=-i.y+"px",h.msiePositionBug?setTimeout(h.SetWH,0):h.SetWH(),i},SetWH:function(){var t=document.getElementById("MathJax_ZoomOverlay");if(t){t.style.display="none";var e=t.scroll_parent||document.documentElement||document.body;t.style.width=e.scrollWidth+"px",t.style.height=Math.max(e.clientHeight,e.scrollHeight)+"px",t.style.display=""}},findContainer:function(t){for(t=t.parentNode;t.parentNode&&t!==document.body&&"visible"===h.getOverflow(t);)t=t.parentNode;return t},getOverflow:window.getComputedStyle?function(t){return getComputedStyle(t).overflow}:function(t){return(t.currentStyle||{overflow:"visible"}).overflow},getBorder:function(t){var e={thin:1,medium:2,thick:3},a=window.getComputedStyle?getComputedStyle(t):t.currentStyle||{borderLeftWidth:0,borderTopWidth:0},i=a.borderLeftWidth,n=a.borderTopWidth;return{x:i=e[i]?e[i]:parseInt(i),y:n=e[n]?e[n]:parseInt(n)}},getXY:function(t){var e,a=0,i=0;for(e=t;e.offsetParent;)a+=e.offsetLeft,e=e.offsetParent;for(h.operaPositionBug&&(t.style.border="1px solid"),e=t;e.offsetParent;)i+=e.offsetTop,e=e.offsetParent;return h.operaPositionBug&&(t.style.border=""),{x:a,y:i}},Remove:function(a){var i=document.getElementById("MathJax_ZoomFrame");if(i){var n=MathJax.OutputJax[i.previousSibling.jaxID].getJaxFromMath(i.previousSibling);if(t.signal.Post(["math unzoomed",n]),i.parentNode.removeChild(i),(i=document.getElementById("MathJax_ZoomTracker"))&&i.parentNode.removeChild(i),h.operaRefreshBug){var r=e.addElement(document.body,"div",{style:{position:"fixed",left:0,top:0,width:"100%",height:"100%",backgroundColor:"white",opacity:0},id:"MathJax_OperaDiv"});document.body.removeChild(r)}window.removeEventListener?removeEventListener("resize",h.Resize,!1):window.detachEvent?detachEvent("onresize",h.Resize):(window.onresize=h.onresize,delete h.onresize)}return s(a)}};t.Browser.Select({MSIE:function(t){var e=document.documentMode||0,a=e>=9;h.msiePositionBug=!a,h.msieSizeBug=t.versionAtLeast("7.0")&&(!document.documentMode||7===e||8===e),h.msieZIndexBug=e<=7,h.msieInlineBlockAlignBug=e<=7,h.msieTrapEventBug=!window.addEventListener,"BackCompat"===document.compatMode&&(h.scrollSize=52),a&&delete l.styles["#MathJax_Zoom"].filter},Opera:function(t){h.operaPositionBug=!0,h.operaRefreshBug=!0}}),h.topImg=h.msieInlineBlockAlignBug?e.Element("img",{style:{width:0,height:0,position:"relative"},src:"about:blank"}):e.Element("span",{style:{width:0,height:0,display:"inline-block"}}),(h.operaPositionBug||h.msieTopBug)&&(h.topImg.style.border="1px solid"),MathJax.Callback.Queue(["StartupHook",MathJax.Hub.Register,"Begin Styles",{}],["Styles",a,l.styles],["Post",t.Startup.signal,"MathZoom Ready"],["loadComplete",a,"[MathJax]/extensions/MathZoom.js"])}(MathJax.Hub,MathJax.HTML,MathJax.Ajax,MathJax.OutputJax["HTML-CSS"],MathJax.OutputJax.NativeMML),function(t,e,a,i,n){var s="2.7.9",r=MathJax.Callback.Signal("menu");MathJax.Extension.MathMenu={version:s,signal:r};var o,l,h,u=function(t){return MathJax.Localization._.apply(MathJax.Localization,[["MathMenu",t]].concat([].slice.call(arguments,1)))},c=MathJax.Object.isArray,m=t.Browser.isPC,p=t.Browser.isMSIE,d=(document.documentMode||0)>8,f=m?null:"5px",g=t.CombineConfig("MathMenu",{delay:150,showRenderer:!0,showMathPlayer:!0,showFontMenu:!1,showContext:!1,showDiscoverable:!1,showLocale:!0,showLocaleURL:!1,semanticsAnnotations:{TeX:["TeX","LaTeX","application/x-tex"],StarMath:["StarMath 5.0"],Maple:["Maple"],ContentMathML:["MathML-Content","application/mathml-content+xml"],OpenMath:["OpenMath"]},windowSettings:{status:"no",toolbar:"no",locationbar:"no",menubar:"no",directories:"no",personalbar:"no",resizable:"yes",scrollbars:"yes",width:400,height:300,left:Math.round((screen.width-400)/2),top:Math.round((screen.height-300)/3)},styles:{"#MathJax_About":{position:"fixed",left:"50%",width:"auto","text-align":"center",border:"3px outset",padding:"1em 2em","background-color":"#DDDDDD",color:"black",cursor:"default","font-family":"message-box","font-size":"120%","font-style":"normal","text-indent":0,"text-transform":"none","line-height":"normal","letter-spacing":"normal","word-spacing":"normal","word-wrap":"normal","white-space":"nowrap",float:"none","z-index":201,"border-radius":"15px","-webkit-border-radius":"15px","-moz-border-radius":"15px","-khtml-border-radius":"15px","box-shadow":"0px 10px 20px #808080","-webkit-box-shadow":"0px 10px 20px #808080","-moz-box-shadow":"0px 10px 20px #808080","-khtml-box-shadow":"0px 10px 20px #808080",filter:"progid:DXImageTransform.Microsoft.dropshadow(OffX=2, OffY=2, Color='gray', Positive='true')"},"#MathJax_About.MathJax_MousePost":{outline:"none"},".MathJax_Menu":{position:"absolute","background-color":"white",color:"black",width:"auto",padding:m?"2px":"5px 0px",border:"1px solid #CCCCCC",margin:0,cursor:"default",font:"menu","text-align":"left","text-indent":0,"text-transform":"none","line-height":"normal","letter-spacing":"normal","word-spacing":"normal","word-wrap":"normal","white-space":"nowrap",float:"none","z-index":201,"border-radius":f,"-webkit-border-radius":f,"-moz-border-radius":f,"-khtml-border-radius":f,"box-shadow":"0px 10px 20px #808080","-webkit-box-shadow":"0px 10px 20px #808080","-moz-box-shadow":"0px 10px 20px #808080","-khtml-box-shadow":"0px 10px 20px #808080",filter:"progid:DXImageTransform.Microsoft.dropshadow(OffX=2, OffY=2, Color='gray', Positive='true')"},".MathJax_MenuItem":{padding:m?"2px 2em":"1px 2em",background:"transparent"},".MathJax_MenuArrow":{position:"absolute",right:".5em","padding-top":".25em",color:"#666666","font-family":p?"'Arial unicode MS'":null,"font-size":".75em"},".MathJax_MenuActive .MathJax_MenuArrow":{color:"white"},".MathJax_MenuArrow.RTL":{left:".5em",right:"auto"},".MathJax_MenuCheck":{position:"absolute",left:".7em","font-family":p?"'Arial unicode MS'":null},".MathJax_MenuCheck.RTL":{right:".7em",left:"auto"},".MathJax_MenuRadioCheck":{position:"absolute",left:m?"1em":".7em"},".MathJax_MenuRadioCheck.RTL":{right:m?"1em":".7em",left:"auto"},".MathJax_MenuLabel":{padding:m?"2px 2em 4px 1.33em":"1px 2em 3px 1.33em","font-style":"italic"},".MathJax_MenuRule":{"border-top":m?"1px solid #CCCCCC":"1px solid #DDDDDD",margin:m?"4px 1px 0px":"4px 3px"},".MathJax_MenuDisabled":{color:"GrayText"},".MathJax_MenuActive":{"background-color":m?"Highlight":"#606872",color:m?"HighlightText":"white"},".MathJax_MenuDisabled:focus, .MathJax_MenuLabel:focus":{"background-color":"#E8E8E8"},".MathJax_ContextMenu:focus":{outline:"none"},".MathJax_ContextMenu .MathJax_MenuItem:focus":{outline:"none"},"#MathJax_AboutClose":{top:".2em",right:".2em"},".MathJax_Menu .MathJax_MenuClose":{top:"-10px",left:"-10px"},".MathJax_MenuClose":{position:"absolute",cursor:"pointer",display:"inline-block",border:"2px solid #AAA","border-radius":"18px","-webkit-border-radius":"18px","-moz-border-radius":"18px","-khtml-border-radius":"18px","font-family":"'Courier New',Courier","font-size":"24px",color:"#F0F0F0"},".MathJax_MenuClose span":{display:"block","background-color":"#AAA",border:"1.5px solid","border-radius":"18px","-webkit-border-radius":"18px","-moz-border-radius":"18px","-khtml-border-radius":"18px","line-height":0,padding:"8px 0 6px"},".MathJax_MenuClose:hover":{color:"white!important",border:"2px solid #CCC!important"},".MathJax_MenuClose:hover span":{"background-color":"#CCC!important"},".MathJax_MenuClose:hover:focus":{outline:"none"}}});t.Register.StartupHook("MathEvents Ready",(function(){o=MathJax.Extension.MathEvents.Event.False,l=MathJax.Extension.MathEvents.Hover,h=MathJax.Extension.MathEvents.Event.KEY}));var M=MathJax.Object.Subclass({Keydown:function(t,e){switch(t.keyCode){case h.ESCAPE:this.Remove(t,e);break;case h.RIGHT:this.Right(t,e);break;case h.LEFT:this.Left(t,e);break;case h.UP:this.Up(t,e);break;case h.DOWN:this.Down(t,e);break;case h.RETURN:case h.SPACE:this.Space(t,e);break;default:return}return o(t)},Escape:function(t,e){},Right:function(t,e){},Left:function(t,e){},Up:function(t,e){},Down:function(t,e){},Space:function(t,e){}},{}),x=MathJax.Menu=M.Subclass({version:s,items:[],posted:!1,title:null,margin:5,Init:function(t){this.items=[].slice.call(arguments,0)},With:function(e){return e&&t.Insert(this,e),this},Post:function(t,a,i){t||(t=window.event||{});var n=document.getElementById("MathJax_MenuFrame");n||(n=x.Background(this),delete v.lastItem,delete v.lastMenu,delete x.skipUp,r.Post(["post",x.jax]),x.isRTL="rtl"===MathJax.Localization.fontDirection());var s=e.Element("div",{onmouseup:x.Mouseup,ondblclick:o,ondragstart:o,onselectstart:o,oncontextmenu:o,menuItem:this,className:"MathJax_Menu",onkeydown:x.Keydown,role:"menu"});"contextmenu"!==t.type&&"mouseover"!==t.type||(s.className+=" MathJax_ContextMenu"),i||MathJax.Localization.setCSS(s);for(var l=0,h=this.items.length;l<h;l++)this.items[l].Create(s);x.isMobile&&e.addElement(s,"span",{className:"MathJax_MenuClose",menu:a,ontouchstart:x.Close,ontouchend:o,onmousedown:x.Close,onmouseup:o},[["span",{},"×"]]),n.appendChild(s),this.posted=!0,s.offsetWidth&&(s.style.width=s.offsetWidth+2+"px");var u=t.pageX,c=t.pageY,p=document.body.getBoundingClientRect(),d=window.getComputedStyle?window.getComputedStyle(document.body):{marginLeft:"0px"},f=p.right-Math.min(0,p.left)+parseFloat(d.marginLeft);if(u||c||!("clientX"in t)||(u=t.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,c=t.clientY+document.body.scrollTop+document.documentElement.scrollTop),a){var M="left",b=a.offsetWidth;for(u=x.isMobile?30:b-2,c=0;a&&a!==n;)u+=a.offsetLeft,c+=a.offsetTop,a=a.parentNode;x.isMobile||(x.isRTL&&u-b-s.offsetWidth>this.margin||!x.isRTL&&u+s.offsetWidth>f-this.margin)&&(M="right",u=Math.max(this.margin,u-b-s.offsetWidth+6)),m||(s.style["borderRadiusTop"+M]=0,s.style["WebkitBorderRadiusTop"+M]=0,s.style["MozBorderRadiusTop"+M]=0,s.style["KhtmlBorderRadiusTop"+M]=0)}else{var E=x.CurrentNode()||t.target;if(("keydown"===t.type||!u&&!c)&&E){var T=window.pageXOffset||document.documentElement.scrollLeft,C=window.pageYOffset||document.documentElement.scrollTop,y=E.getBoundingClientRect();u=(y.right+y.left)/2+T,c=(y.bottom+y.top)/2+C}u+s.offsetWidth>f-this.margin&&(u=f-s.offsetWidth-this.margin),x.isMobile&&(u=Math.max(5,u-Math.floor(s.offsetWidth/2)),c-=20),x.skipUp=t.isContextMenu}s.style.left=u+"px",s.style.top=c+"px",document.selection&&document.selection.empty&&document.selection.empty();var A=window.pageXOffset||document.documentElement.scrollLeft,S=window.pageYOffset||document.documentElement.scrollTop;return x.Focus(s),"keydown"===t.type&&(x.skipMouseoverFromKey=!0,setTimeout((function(){delete x.skipMouseoverFromKey}),g.delay)),window.scrollTo(A,S),o(t)},Remove:function(t,e){r.Post(["unpost",x.jax]);var a=document.getElementById("MathJax_MenuFrame");return a&&(a.parentNode.removeChild(a),this.msieFixedPositionBug&&detachEvent("onresize",x.Resize)),x.jax.hover&&(delete x.jax.hover.nofade,l.UnHover(x.jax)),x.Unfocus(e),"mousedown"===t.type&&x.CurrentNode().blur(),o(t)},Find:function(t){return this.FindN(1,t,[].slice.call(arguments,1))},FindId:function(t){return this.FindN(0,t,[].slice.call(arguments,1))},FindN:function(t,e,a){for(var i=0,n=this.items.length;i<n;i++)if(this.items[i].name[t]===e)return a.length?this.items[i].submenu?this.items[i].submenu.FindN(t,a[0],a.slice(1)):null:this.items[i];return null},IndexOf:function(t){return this.IndexOfN(1,t)},IndexOfId:function(t){return this.IndexOfN(0,t)},IndexOfN:function(t,e){for(var a=0,i=this.items.length;a<i;a++)if(this.items[a].name[t]===e)return a;return null},Right:function(t,e){x.Right(t,e)},Left:function(t,e){x.Left(t,e)},Up:function(t,e){var a=e.lastChild;a.menuItem.Activate(t,a)},Down:function(t,e){var a=e.firstChild;a.menuItem.Activate(t,a)},Space:function(t,e){this.Remove(t,e)}},{config:g,Remove:function(t){return x.Event(t,this,"Remove")},Mouseover:function(t){return x.Event(t,this,"Mouseover")},Mouseout:function(t){return x.Event(t,this,"Mouseout")},Mousedown:function(t){return x.Event(t,this,"Mousedown")},Mouseup:function(t){return x.Event(t,this,"Mouseup")},Keydown:function(t){return x.Event(t,this,"Keydown")},Touchstart:function(t){return x.Event(t,this,"Touchstart")},Touchend:function(t){return x.Event(t,this,"Touchend")},Close:function(t){return x.Event(t,this.menu||this.parentNode,this.menu?"Touchend":"Remove")},Event:function(t,e,a,i){if(x.skipMouseover&&"Mouseover"===a&&!i)return o(t);if(x.skipMouseoverFromKey&&"Mouseover"===a)return delete x.skipMouseoverFromKey,o(t);if(x.skipUp){if(a.match(/Mouseup|Touchend/))return delete x.skipUp,o(t);("Touchstart"===a||"Mousedown"===a&&!x.skipMousedown)&&delete x.skipUp}t||(t=window.event);var n=e.menuItem;return n&&n[a]?n[a](t,e):null},BGSTYLE:{position:"absolute",left:0,top:0,"z-index":200,width:"100%",height:"100%",border:0,padding:0,margin:0},Background:function(t){var a=e.addElement(document.body,"div",{style:this.BGSTYLE,id:"MathJax_MenuFrame"},[["div",{style:this.BGSTYLE,menuItem:t,onmousedown:this.Remove}]]),i=a.firstChild;return x.msieBackgroundBug&&(i.style.backgroundColor="white",i.style.filter="alpha(opacity=0)"),x.msieFixedPositionBug?(a.width=a.height=0,this.Resize(),attachEvent("onresize",this.Resize)):i.style.position="fixed",a},Resize:function(){setTimeout(x.SetWH,0)},SetWH:function(){var t=document.getElementById("MathJax_MenuFrame");t&&((t=t.firstChild).style.width=t.style.height="1px",t.style.width=document.body.scrollWidth+"px",t.style.height=document.body.scrollHeight+"px")},posted:!1,active:null,GetNode:function(t){var e=document.getElementById(t.inputID+"-Frame");return e.isMathJax?e:e.firstChild},CurrentNode:function(){return x.GetNode(x.jax)},AllNodes:function(){for(var t,e=MathJax.Hub.getAllJax(),a=[],i=0;t=e[i];i++)a.push(x.GetNode(t));return a},ActiveNode:function(){return x.active},FocusNode:function(t){x.active=t,t.focus()},Focus:function(t){x.posted?x.ActiveNode().tabIndex=-1:x.Activate(t),t.tabIndex=0,x.FocusNode(t)},Activate:function(t,e){x.UnsetTabIndex(),x.posted=!0},Unfocus:function(){x.ActiveNode().tabIndex=-1,x.SetTabIndex(),x.FocusNode(x.CurrentNode()),x.posted=!1},MoveHorizontal:function(t,e,a){if(t.shiftKey){var i=x.AllNodes(),n=i.length;if(0!==n){var s=i[x.Mod(a(x.IndexOf(i,x.CurrentNode())),n)];s!==x.CurrentNode()&&(x.menu.Remove(t,e),x.jax=MathJax.Hub.getJaxFor(s),x.FocusNode(s),x.menu.Post(null))}}},Right:function(t,e){x.MoveHorizontal(t,e,(function(t){return t+1}))},Left:function(t,e){x.MoveHorizontal(t,e,(function(t){return t-1}))},UnsetTabIndex:function(){for(var t,e=x.AllNodes(),a=0;t=e[a];a++)t.tabIndex>0&&(t.oldTabIndex=t.tabIndex),t.tabIndex=-1},SetTabIndex:function(){for(var e,a=x.AllNodes(),i=0;e=a[i];i++)void 0!==e.oldTabIndex?(e.tabIndex=e.oldTabIndex,delete e.oldTabIndex):e.tabIndex=t.getTabOrder(e)},Mod:function(t,e){return(t%e+e)%e},IndexOf:Array.prototype.indexOf?function(t,e,a){return t.indexOf(e,a)}:function(t,e,a){for(var i=a||0,n=t.length;i<n;i++)if(e===t[i])return i;return-1},saveCookie:function(){e.Cookie.Set("menu",this.cookie)},getCookie:function(){this.cookie=e.Cookie.Get("menu")}});MathJax.Menu.NAV=M;var v=x.ITEM=M.Subclass({name:"",node:null,menu:null,Attributes:function(e){return t.Insert({onmouseup:x.Mouseup,ondragstart:o,onselectstart:o,onselectend:o,ontouchstart:x.Touchstart,ontouchend:x.Touchend,className:"MathJax_MenuItem",role:this.role,menuItem:this},e)},Create:function(t){if(!this.hidden){var a=this.Attributes(),i=this.Label(a,t);e.addElement(t,"div",a,i)}},Name:function(){return u(this.name[0],this.name[1])},Mouseover:function(t,e){e.parentNode===x.ActiveNode().parentNode&&this.Deactivate(x.ActiveNode()),this.Activate(t,e)},Mouseout:function(t,e){this.Deactivate(e)},Mouseup:function(t,e){return this.Remove(t,e)},DeactivateSubmenus:function(t){for(var e=document.getElementById("MathJax_MenuFrame").childNodes,a=v.GetMenuNode(t).childNodes,i=0,n=a.length;i<n;i++){var s=a[i].menuItem;s&&s.submenu&&s.submenu.posted&&s!==t.menuItem&&s.Deactivate(a[i])}this.RemoveSubmenus(t,e)},RemoveSubmenus:function(t,e){for(var a=(e=e||document.getElementById("MathJax_MenuFrame").childNodes).length-1;a>=0&&v.GetMenuNode(t).menuItem!==e[a].menuItem;)e[a].menuItem.posted=!1,e[a].parentNode.removeChild(e[a]),a--},Touchstart:function(t,e){return this.TouchEvent(t,e,"Mousedown")},Touchend:function(t,e){return this.TouchEvent(t,e,"Mouseup")},TouchEvent:function(t,e,a){return this!==v.lastItem&&(v.lastMenu&&x.Event(t,v.lastMenu,"Mouseout"),x.Event(t,e,"Mouseover",!0),v.lastItem=this,v.lastMenu=e),this.nativeTouch?null:(x.Event(t,e,a),!1)},Remove:function(t,e){return(e=e.parentNode.menuItem).Remove(t,e)},With:function(e){return e&&t.Insert(this,e),this},isRTL:function(){return x.isRTL},rtlClass:function(){return this.isRTL()?" RTL":""}},{GetMenuNode:function(t){return t.parentNode}});x.ENTRY=x.ITEM.Subclass({role:"menuitem",Attributes:function(e){return e=t.Insert({onmouseover:x.Mouseover,onmouseout:x.Mouseout,onmousedown:x.Mousedown,onkeydown:x.Keydown,"aria-disabled":!!this.disabled},e),e=this.SUPER(arguments).Attributes.call(this,e),this.disabled&&(e.className+=" MathJax_MenuDisabled"),e},MoveVertical:function(t,e,a){for(var i,n=v.GetMenuNode(e),s=[],r=0,o=n.menuItem.items;i=o[r];r++)i.hidden||s.push(i);var l=x.IndexOf(s,this);if(-1!==l){var h=s.length,u=n.childNodes;do{l=x.Mod(a(l),h)}while(s[l].hidden||!u[l].role||"separator"===u[l].role);this.Deactivate(e),s[l].Activate(t,u[l])}},Up:function(t,e){this.MoveVertical(t,e,(function(t){return t-1}))},Down:function(t,e){this.MoveVertical(t,e,(function(t){return t+1}))},Right:function(t,e){this.MoveHorizontal(t,e,x.Right,!this.isRTL())},Left:function(t,e){this.MoveHorizontal(t,e,x.Left,this.isRTL())},MoveHorizontal:function(t,e,a,i){var n=v.GetMenuNode(e);if(n.menuItem===x.menu&&t.shiftKey&&a(t,e),!i){n.menuItem!==x.menu&&this.Deactivate(e);for(var s=n.previousSibling.childNodes,r=s.length;r--;){var o=s[r];if(o.menuItem.submenu&&o.menuItem.submenu===n.menuItem){x.Focus(o);break}}this.RemoveSubmenus(e)}},Space:function(t,e){this.Mouseup(t,e)},Activate:function(t,e){this.Deactivate(e),this.disabled||(e.className+=" MathJax_MenuActive"),this.DeactivateSubmenus(e),x.Focus(e)},Deactivate:function(t){t.className=t.className.replace(/ MathJax_MenuActive/,"")}}),x.ITEM.COMMAND=x.ENTRY.Subclass({action:function(){},Init:function(t,e,a){c(t)||(t=[t,t]),this.name=t,this.action=e,this.With(a)},Label:function(t,e){return[this.Name()]},Mouseup:function(t,e){return this.disabled||(this.Remove(t,e),r.Post(["command",this]),this.action.call(this,t)),o(t)}}),x.ITEM.SUBMENU=x.ENTRY.Subclass({submenu:null,marker:"►",markerRTL:"◄",Attributes:function(e){return e=t.Insert({"aria-haspopup":"true"},e),this.SUPER(arguments).Attributes.call(this,e)},Init:function(t,e){c(t)||(t=[t,t]),this.name=t;var a=1;e instanceof x.ITEM||(this.With(e),a++),this.submenu=x.apply(x,[].slice.call(arguments,a))},Label:function(t,e){return this.submenu.posted=!1,[this.Name()+" ",["span",{className:"MathJax_MenuArrow"+this.rtlClass()},[this.isRTL()?this.markerRTL:this.marker]]]},Timer:function(t,e){this.ClearTimer(),t={type:t.type,clientX:t.clientX,clientY:t.clientY},this.timer=setTimeout(i(["Mouseup",this,t,e]),g.delay)},ClearTimer:function(){this.timer&&clearTimeout(this.timer)},Touchend:function(t,e){var a=this.submenu.posted,i=this.SUPER(arguments).Touchend.apply(this,arguments);return a&&(this.Deactivate(e),delete v.lastItem,delete v.lastMenu),i},Mouseout:function(t,e){this.submenu.posted||this.Deactivate(e),this.ClearTimer()},Mouseover:function(t,e){this.Activate(t,e)},Mouseup:function(t,e){return this.disabled||(this.submenu.posted?this.DeactivateSubmenus(e):(this.ClearTimer(),this.submenu.Post(t,e,this.ltr),x.Focus(e))),o(t)},Activate:function(t,e){this.disabled||(this.Deactivate(e),e.className+=" MathJax_MenuActive"),this.submenu.posted||(this.DeactivateSubmenus(e),x.isMobile||this.Timer(t,e)),x.Focus(e)},MoveVertical:function(t,e,a){this.ClearTimer(),this.SUPER(arguments).MoveVertical.apply(this,arguments)},MoveHorizontal:function(t,e,a,i){if(i){if(!this.disabled)if(this.submenu.posted){var n=v.GetMenuNode(e).nextSibling.childNodes;n.length>0&&this.submenu.items[0].Activate(t,n[0])}else this.Activate(t,e)}else this.SUPER(arguments).MoveHorizontal.apply(this,arguments)}}),x.ITEM.RADIO=x.ENTRY.Subclass({variable:null,marker:m?"●":"✓",role:"menuitemradio",Attributes:function(e){var a=g.settings[this.variable]===this.value?"true":"false";return e=t.Insert({"aria-checked":a},e),this.SUPER(arguments).Attributes.call(this,e)},Init:function(t,e,a){c(t)||(t=[t,t]),this.name=t,this.variable=e,this.With(a),null==this.value&&(this.value=this.name[0])},Label:function(t,e){var a={className:"MathJax_MenuRadioCheck"+this.rtlClass()};return g.settings[this.variable]!==this.value&&(a={style:{display:"none"}}),[["span",a,[this.marker]]," "+this.Name()]},Mouseup:function(t,e){if(!this.disabled){for(var a=e.parentNode.childNodes,i=0,n=a.length;i<n;i++){var s=a[i].menuItem;s&&s.variable===this.variable&&(a[i].firstChild.style.display="none")}e.firstChild.display="",g.settings[this.variable]=this.value,x.cookie[this.variable]=g.settings[this.variable],x.saveCookie(),r.Post(["radio button",this])}return this.Remove(t,e),this.action&&!this.disabled&&this.action.call(x,this),o(t)}}),x.ITEM.CHECKBOX=x.ENTRY.Subclass({variable:null,marker:"✓",role:"menuitemcheckbox",Attributes:function(e){var a=g.settings[this.variable]?"true":"false";return e=t.Insert({"aria-checked":a},e),this.SUPER(arguments).Attributes.call(this,e)},Init:function(t,e,a){c(t)||(t=[t,t]),this.name=t,this.variable=e,this.With(a)},Label:function(t,e){var a={className:"MathJax_MenuCheck"+this.rtlClass()};return g.settings[this.variable]||(a={style:{display:"none"}}),[["span",a,[this.marker]]," "+this.Name()]},Mouseup:function(t,e){return this.disabled||(e.firstChild.display=g.settings[this.variable]?"none":"",g.settings[this.variable]=!g.settings[this.variable],x.cookie[this.variable]=g.settings[this.variable],x.saveCookie(),r.Post(["checkbox",this])),this.Remove(t,e),this.action&&!this.disabled&&this.action.call(x,this),o(t)}}),x.ITEM.LABEL=x.ENTRY.Subclass({role:"menuitem",Init:function(t,e){c(t)||(t=[t,t]),this.name=t,this.With(e)},Label:function(t,e){return t.className+=" MathJax_MenuLabel",[this.Name()]},Activate:function(t,e){this.Deactivate(e),x.Focus(e)},Mouseup:function(t,e){}}),x.ITEM.RULE=x.ITEM.Subclass({role:"separator",Attributes:function(e){return e=t.Insert({"aria-orientation":"vertical"},e),this.SUPER(arguments).Attributes.call(this,e)},Label:function(t,e){return t.className+=" MathJax_MenuRule",null}}),x.About=function(a){var i=x.About.GetFont(),n=x.About.GetFormat(),s=["MathJax.js v"+MathJax.fileversion,["br"]];s.push(["div",{style:{"border-top":"groove 2px",margin:".25em 0"}}]),x.About.GetJax(s,MathJax.InputJax,["InputJax","%1 Input Jax v%2"]),x.About.GetJax(s,MathJax.OutputJax,["OutputJax","%1 Output Jax v%2"]),x.About.GetJax(s,MathJax.ElementJax,["ElementJax","%1 Element Jax v%2"]),s.push(["div",{style:{"border-top":"groove 2px",margin:".25em 0"}}]),x.About.GetJax(s,MathJax.Extension,["Extension","%1 Extension v%2"],!0),s.push(["div",{style:{"border-top":"groove 2px",margin:".25em 0"}}],["center",{},[t.Browser+" v"+t.Browser.version+(n?" — "+u(n.replace(/ /g,""),n):"")]]),x.About.div=x.Background(x.About);var r=e.addElement(x.About.div,"div",{id:"MathJax_About",tabIndex:0,onkeydown:x.About.Keydown},[["b",{style:{fontSize:"120%"}},["MathJax"]]," v"+MathJax.version,["br"],u(i.replace(/ /g,""),"using "+i),["br"],["br"],["span",{style:{display:"inline-block","text-align":"left","font-size":"80%","max-height":"20em",overflow:"auto","background-color":"#E4E4E4",padding:".4em .6em",border:"1px inset"},tabIndex:0},s],["br"],["br"],["a",{href:"http://www.mathjax.org/"},["www.mathjax.org"]],["span",{className:"MathJax_MenuClose",id:"MathJax_AboutClose",onclick:x.About.Remove,onkeydown:x.About.Keydown,tabIndex:0,role:"button","aria-label":u("CloseAboutDialog","Close about MathJax dialog")},[["span",{},"×"]]]]);"mouseup"===a.type&&(r.className+=" MathJax_MousePost"),r.focus(),MathJax.Localization.setCSS(r);var o=document.documentElement||{},l=window.innerHeight||o.clientHeight||o.scrollHeight||0;x.prototype.msieAboutBug?(r.style.width="20em",r.style.position="absolute",r.style.left=Math.floor((document.documentElement.scrollWidth-r.offsetWidth)/2)+"px",r.style.top=Math.floor((l-r.offsetHeight)/3)+document.body.scrollTop+"px"):(r.style.marginLeft=Math.floor(-r.offsetWidth/2)+"px",r.style.top=Math.floor((l-r.offsetHeight)/3)+"px")},x.About.Remove=function(t){x.About.div&&(document.body.removeChild(x.About.div),delete x.About.div)},x.About.Keydown=function(t){t.keyCode!==h.ESCAPE&&("MathJax_AboutClose"!==this.id||t.keyCode!==h.SPACE&&t.keyCode!==h.RETURN)||(x.About.Remove(t),x.CurrentNode().focus(),o(t))},x.About.GetJax=function(t,e,a,i){var n=[];for(var s in e)e.hasOwnProperty(s)&&e[s]&&(i&&e[s].version||e[s].isa&&e[s].isa(e))&&n.push(u(a[0],a[1],e[s].id||s,e[s].version));n.sort();for(var r=0,o=n.length;r<o;r++)t.push(n[r],["br"]);return t},x.About.GetFont=function(){var t=MathJax.Hub.outputJax["jax/mml"][0]||{};return({SVG:"web SVG",CommonHTML:"web TeX","HTML-CSS":t.imgFonts?"image":(t.webFonts?"web":"local")+" "+t.fontInUse}[t.id]||"generic")+" fonts"},x.About.GetFormat=function(){var t=MathJax.Hub.outputJax["jax/mml"][0]||{};if("HTML-CSS"===t.id&&t.webFonts&&!t.imgFonts)return t.allowWebFonts.replace(/otf/,"woff or otf")+" fonts"},x.Help=function(t){a.Require("[MathJax]/extensions/HelpDialog.js",(function(){MathJax.Extension.Help.Dialog({type:t.type})}))},x.ShowSource=function(t){t||(t=window.event);var e={screenX:t.screenX,screenY:t.screenY};if(x.jax)if("MathML"===this.format){var n=MathJax.ElementJax.mml;if(n&&void 0!==n.mbase.prototype.toMathML)try{x.ShowSource.Text(x.jax.root.toMathML("",x.jax),t)}catch(t){if(!t.restart)throw t;i.After([this,x.ShowSource,e],t.restart)}else if(!a.loadingToMathML)return a.loadingToMathML=!0,x.ShowSource.Window(t),void i.Queue(a.Require("[MathJax]/extensions/toMathML.js"),(function(){delete a.loadingToMathML,n.mbase.prototype.toMathML||(n.mbase.prototype.toMathML=function(){})}),[this,x.ShowSource,e])}else if("Error"===this.format)x.ShowSource.Text(x.jax.errorText,t);else if(g.semanticsAnnotations[this.format]){var s=x.jax.root.getAnnotation(this.format);s.data[0]&&x.ShowSource.Text(s.data[0].toString())}else{if(null==x.jax.originalText)return void alert(u("NoOriginalForm","No original form available"));x.ShowSource.Text(x.jax.originalText,t)}},x.ShowSource.Window=function(t){if(!x.ShowSource.w){var e=[],a=g.windowSettings;for(var i in a)a.hasOwnProperty(i)&&e.push(i+"="+a[i]);x.ShowSource.w=window.open("","_blank",e.join(","))}return x.ShowSource.w},x.ShowSource.Text=function(t,e){var a=x.ShowSource.Window(e);delete x.ShowSource.w,t=(t=t.replace(/^\s*/,"").replace(/\s*$/,"")).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;");var i=u("EqSource","MathJax Equation Source");if(x.isMobile)a.document.open(),a.document.write("<html><head><meta name='viewport' content='width=device-width, initial-scale=1.0' /><title>"+i+"</title></head><body style='font-size:85%'>"),a.document.write("<pre>"+t+"</pre>"),a.document.write("<hr><input type='button' value='"+u("Close","Close")+"' onclick='window.close()' />"),a.document.write("</body></html>"),a.document.close();else{a.document.open(),a.document.write("<html><head><title>"+i+"</title></head><body style='font-size:85%'>"),a.document.write("<table><tr><td><pre>"+t+"</pre></td></tr></table>"),a.document.write("</body></html>"),a.document.close();var n=a.document.body.firstChild;setTimeout((function(){var t,i,s,r=a.outerHeight-a.innerHeight||30,o=a.outerWidth-a.innerWidth||30;o=Math.max(140,Math.min(Math.floor(.5*screen.width),n.offsetWidth+o+25)),r=Math.max(40,Math.min(Math.floor(.5*screen.height),n.offsetHeight+r+25)),x.prototype.msieHeightBug&&(r+=35),a.resizeTo(o,r);try{s=e.screenX}catch(t){}e&&null!=s&&(t=Math.max(0,Math.min(e.screenX-Math.floor(o/2),screen.width-o-20)),i=Math.max(0,Math.min(e.screenY-Math.floor(r/2),screen.height-r-20)),a.moveTo(t,i))}),50)}},x.Scale=function(){var e,a,i=["CommonHTML","HTML-CSS","SVG","NativeMML","PreviewHTML"],s=i.length,r=100;for(e=0;e<s;e++)if(a=n[i[e]]){r=a.config.scale;break}var o=prompt(u("ScaleMath","Scale all mathematics (compared to surrounding text) by"),r+"%");if(o)if(o.match(/^\s*\d+(\.\d*)?\s*%?\s*$/))if(o=parseFloat(o)){if(o!==r){for(e=0;e<s;e++)(a=n[i[e]])&&(a.config.scale=o);x.cookie.scale=t.config.scale=o,x.saveCookie(),t.Queue(["Rerender",t])}}else alert(u("NonZeroScale","The scale should not be zero"));else alert(u("PercentScale","The scale should be a percentage (e.g., 120%%)"))},x.Zoom=function(){MathJax.Extension.MathZoom||a.Require("[MathJax]/extensions/MathZoom.js")},x.Renderer=function(){var a=t.outputJax["jax/mml"];if(a[0]!==g.settings.renderer){var i,n,s=t.Browser,r=x.Renderer.Messages;switch(g.settings.renderer){case"NativeMML":g.settings.warnedMML||(s.isChrome&&"24."!==s.version.substr(0,3)||s.isSafari&&!s.versionAtLeast("5.0")?i=r.MML.WebKit:s.isMSIE?s.hasMathPlayer||(i=r.MML.MSIE):i=s.isEdge?r.MML.WebKit:r.MML[s],n="warnedMML");break;case"SVG":g.settings.warnedSVG||s.isMSIE&&!d&&(i=r.SVG.MSIE)}if(i){if(i=u(i[0],i[1]),i+="\n\n",i+=u("SwitchAnyway","Switch the renderer anyway?\n\n(Press OK to switch, CANCEL to continue with the current renderer)"),x.cookie.renderer=a[0].id,x.saveCookie(),!confirm(i))return x.cookie.renderer=g.settings.renderer=e.Cookie.Get("menu").renderer,void x.saveCookie();n&&(x.cookie.warned=g.settings.warned=!0),x.cookie.renderer=g.settings.renderer,x.saveCookie()}t.Queue(["setRenderer",t,g.settings.renderer,"jax/mml"],["Rerender",t])}},x.Renderer.Messages={MML:{WebKit:["WebkitNativeMMLWarning","Your browser doesn't seem to support MathML natively, so switching to MathML output may cause the mathematics on the page to become unreadable."],MSIE:["MSIENativeMMLWarning","Internet Explorer requires the MathPlayer plugin in order to process MathML output."],Opera:["OperaNativeMMLWarning","Opera's support for MathML is limited, so switching to MathML output may cause some expressions to render poorly."],Safari:["SafariNativeMMLWarning","Your browser's native MathML does not implement all the features used by MathJax, so some expressions may not render properly."],Firefox:["FirefoxNativeMMLWarning","Your browser's native MathML does not implement all the features used by MathJax, so some expressions may not render properly."]},SVG:{MSIE:["MSIESVGWarning","SVG is not implemented in Internet Explorer prior to IE9 or when it is emulating IE8 or below. Switching to SVG output will cause the mathematics to not display properly."]}},x.AssistiveMML=function(t,e){var i=MathJax.Extension.AssistiveMML;i?MathJax.Hub.Queue([(g.settings.assistiveMML?"Add":"Remove")+"AssistiveMathML",i]):e||a.Require("[MathJax]/extensions/AssistiveMML.js",["AssistiveMML",x,t,!0])},x.Font=function(){n["HTML-CSS"]&&document.location.reload()},x.Locale=function(){MathJax.Localization.setLocale(g.settings.locale),MathJax.Hub.Queue(["Reprocess",MathJax.Hub])},x.LoadLocale=function(){var t=prompt(u("LoadURL","Load translation data from this URL:"));t&&(t.match(/\.js$/)||alert(u("BadURL","The URL should be for a javascript file that defines MathJax translation data.  Javascript file names should end with '.js'")),a.Require(t,(function(e){e!=a.STATUS.OK&&alert(u("BadData","Failed to load translation data from %1",t))})))},x.MPEvents=function(t){var e=g.settings.discoverable,a=x.MPEvents.Messages;if(d)!e&&"Menu Events"===t.name[1]&&g.settings.mpContext&&alert(u.apply(u,a.IE9warning));else{if(g.settings.mpMouse&&!confirm(u.apply(u,a.IE8warning)))return delete x.cookie.mpContext,delete g.settings.mpContext,delete x.cookie.mpMouse,delete g.settings.mpMouse,void x.saveCookie();g.settings.mpContext=g.settings.mpMouse,x.cookie.mpContext=x.cookie.mpMouse=g.settings.mpMouse,x.saveCookie(),MathJax.Hub.Queue(["Rerender",MathJax.Hub])}},x.MPEvents.Messages={IE8warning:["IE8warning","This will disable the MathJax menu and zoom features, but you can Alt-Click on an expression to obtain the MathJax menu instead.\n\nReally change the MathPlayer settings?"],IE9warning:["IE9warning","The MathJax contextual menu will be disabled, but you can Alt-Click on an expression to obtain the MathJax menu instead."]},t.Browser.Select({MSIE:function(t){var e="BackCompat"===document.compatMode,a=t.versionAtLeast("8.0")&&document.documentMode>7;x.Augment({margin:20,msieBackgroundBug:(document.documentMode||0)<9,msieFixedPositionBug:e||!a,msieAboutBug:e,msieHeightBug:(document.documentMode||0)<9}),d&&(delete g.styles["#MathJax_About"].filter,delete g.styles[".MathJax_Menu"].filter)},Firefox:function(t){x.skipMouseover=t.isMobile&&t.versionAtLeast("6.0"),x.skipMousedown=t.isMobile}}),x.isMobile=t.Browser.isMobile,x.noContextMenu=t.Browser.noContextMenu,x.CreateLocaleMenu=function(){if(x.menu){var t=x.menu.Find("Language").submenu,e=t.items,a=[],i=MathJax.Localization.strings;for(var n in i)i.hasOwnProperty(n)&&a.push(n);a=a.sort(),t.items=[];for(var s=0,r=a.length;s<r;s++){var o=i[a[s]].menuTitle;o?o+=" ("+a[s]+")":o=a[s],t.items.push(v.RADIO([a[s],o],"locale",{action:x.Locale}))}t.items.push(e[e.length-2],e[e.length-1])}},x.CreateAnnotationMenu=function(){if(x.menu){var t=x.menu.Find("Show Math As","Annotation").submenu,e=g.semanticsAnnotations;for(var a in e)e.hasOwnProperty(a)&&t.items.push(v.COMMAND([a,a],x.ShowSource,{hidden:!0,nativeTouch:!0,format:a}))}},t.Register.StartupHook("End Config",(function(){var e,a;g.settings=t.config.menuSettings,void 0!==g.settings.showRenderer&&(g.showRenderer=g.settings.showRenderer),void 0!==g.settings.showFontMenu&&(g.showFontMenu=g.settings.showFontMenu),void 0!==g.settings.showContext&&(g.showContext=g.settings.showContext),x.getCookie(),x.menu=x(v.SUBMENU(["Show","Show Math As"],v.COMMAND(["MathMLcode","MathML Code"],x.ShowSource,{nativeTouch:!0,format:"MathML"}),v.COMMAND(["Original","Original Form"],x.ShowSource,{nativeTouch:!0}),v.SUBMENU(["Annotation","Annotation"],{disabled:!0}),v.RULE(),v.CHECKBOX(["texHints","Show TeX hints in MathML"],"texHints"),v.CHECKBOX(["semantics","Add original form as annotation"],"semantics")),v.RULE(),v.SUBMENU(["Settings","Math Settings"],v.SUBMENU(["ZoomTrigger","Zoom Trigger"],v.RADIO(["Hover","Hover"],"zoom",{action:x.Zoom}),v.RADIO(["Click","Click"],"zoom",{action:x.Zoom}),v.RADIO(["DoubleClick","Double-Click"],"zoom",{action:x.Zoom}),v.RADIO(["NoZoom","No Zoom"],"zoom",{value:"None"}),v.RULE(),v.LABEL(["TriggerRequires","Trigger Requires:"]),v.CHECKBOX(t.Browser.isMac?["Option","Option"]:["Alt","Alt"],"ALT"),v.CHECKBOX(["Command","Command"],"CMD",{hidden:!t.Browser.isMac}),v.CHECKBOX(["Control","Control"],"CTRL",{hidden:t.Browser.isMac}),v.CHECKBOX(["Shift","Shift"],"Shift")),v.SUBMENU(["ZoomFactor","Zoom Factor"],v.RADIO("125%","zscale"),v.RADIO("133%","zscale"),v.RADIO("150%","zscale"),v.RADIO("175%","zscale"),v.RADIO("200%","zscale"),v.RADIO("250%","zscale"),v.RADIO("300%","zscale"),v.RADIO("400%","zscale")),v.RULE(),v.SUBMENU(["Renderer","Math Renderer"],{hidden:!g.showRenderer},v.RADIO(["HTML-CSS","HTML-CSS"],"renderer",{action:x.Renderer}),v.RADIO(["CommonHTML","Common HTML"],"renderer",{action:x.Renderer,value:"CommonHTML"}),v.RADIO(["PreviewHTML","Preview HTML"],"renderer",{action:x.Renderer,value:"PreviewHTML"}),v.RADIO(["MathML","MathML"],"renderer",{action:x.Renderer,value:"NativeMML"}),v.RADIO(["SVG","SVG"],"renderer",{action:x.Renderer}),v.RADIO(["PlainSource","Plain Source"],"renderer",{action:x.Renderer,value:"PlainSource"}),v.RULE(),v.CHECKBOX(["FastPreview","Fast Preview"],"FastPreview")),v.SUBMENU("MathPlayer",{hidden:!t.Browser.isMSIE||!g.showMathPlayer,disabled:!t.Browser.hasMathPlayer},v.LABEL(["MPHandles","Let MathPlayer Handle:"]),v.CHECKBOX(["MenuEvents","Menu Events"],"mpContext",{action:x.MPEvents,hidden:!d}),v.CHECKBOX(["MouseEvents","Mouse Events"],"mpMouse",{action:x.MPEvents,hidden:!d}),v.CHECKBOX(["MenuAndMouse","Mouse and Menu Events"],"mpMouse",{action:x.MPEvents,hidden:d})),v.SUBMENU(["FontPrefs","Font Preference"],{hidden:!g.showFontMenu},v.LABEL(["ForHTMLCSS","For HTML-CSS:"]),v.RADIO(["Auto","Auto"],"font",{action:x.Font}),v.RULE(),v.RADIO(["TeXLocal","TeX (local)"],"font",{action:x.Font}),v.RADIO(["TeXWeb","TeX (web)"],"font",{action:x.Font}),v.RADIO(["TeXImage","TeX (image)"],"font",{action:x.Font}),v.RULE(),v.RADIO(["STIXLocal","STIX (local)"],"font",{action:x.Font}),v.RADIO(["STIXWeb","STIX (web)"],"font",{action:x.Font}),v.RULE(),v.RADIO(["AsanaMathWeb","Asana Math (web)"],"font",{action:x.Font}),v.RADIO(["GyrePagellaWeb","Gyre Pagella (web)"],"font",{action:x.Font}),v.RADIO(["GyreTermesWeb","Gyre Termes (web)"],"font",{action:x.Font}),v.RADIO(["LatinModernWeb","Latin Modern (web)"],"font",{action:x.Font}),v.RADIO(["NeoEulerWeb","Neo Euler (web)"],"font",{action:x.Font})),v.SUBMENU(["ContextMenu","Contextual Menu"],{hidden:!g.showContext},v.RADIO(["MathJax","MathJax"],"context"),v.RADIO(["Browser","Browser"],"context")),v.COMMAND(["Scale","Scale All Math ..."],x.Scale),v.RULE().With({hidden:!g.showDiscoverable,name:["","discover_rule"]}),v.CHECKBOX(["Discoverable","Highlight on Hover"],"discoverable",{hidden:!g.showDiscoverable})),v.SUBMENU(["Accessibility","Accessibility"],v.CHECKBOX(["AssistiveMML","Assistive MathML"],"assistiveMML",{action:x.AssistiveMML}),v.CHECKBOX(["InTabOrder","Include in Tab Order"],"inTabOrder")),v.SUBMENU(["Locale","Language"],{hidden:!g.showLocale,ltr:!0},v.RADIO("en","locale",{action:x.Locale}),v.RULE().With({hidden:!g.showLocaleURL,name:["","localURL_rule"]}),v.COMMAND(["LoadLocale","Load from URL ..."],x.LoadLocale,{hidden:!g.showLocaleURL})),v.RULE(),v.COMMAND(["About","About MathJax"],x.About),v.COMMAND(["Help","MathJax Help"],x.Help)),x.isMobile&&(e=g.settings,(a=x.menu.Find("Math Settings","Zoom Trigger").submenu).items[0].disabled=a.items[1].disabled=!0,"Hover"!==e.zoom&&"Click"!=e.zoom||(e.zoom="None"),a.items=a.items.slice(0,4),navigator.appVersion.match(/[ (]Android[) ]/)&&x.ITEM.SUBMENU.Augment({marker:"»"})),x.CreateLocaleMenu(),x.CreateAnnotationMenu()})),x.showRenderer=function(t){x.cookie.showRenderer=g.showRenderer=t,x.saveCookie(),x.menu.Find("Math Settings","Math Renderer").hidden=!t},x.showMathPlayer=function(t){x.cookie.showMathPlayer=g.showMathPlayer=t,x.saveCookie(),x.menu.Find("Math Settings","MathPlayer").hidden=!t},x.showFontMenu=function(t){x.cookie.showFontMenu=g.showFontMenu=t,x.saveCookie(),x.menu.Find("Math Settings","Font Preference").hidden=!t},x.showContext=function(t){x.cookie.showContext=g.showContext=t,x.saveCookie(),x.menu.Find("Math Settings","Contextual Menu").hidden=!t},x.showDiscoverable=function(t){x.cookie.showDiscoverable=g.showDiscoverable=t,x.saveCookie(),x.menu.Find("Math Settings","Highlight on Hover").hidden=!t,x.menu.Find("Math Settings","discover_rule").hidden=!t},x.showLocale=function(t){x.cookie.showLocale=g.showLocale=t,x.saveCookie(),x.menu.Find("Language").hidden=!t},MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",(function(){MathJax.OutputJax["HTML-CSS"].config.imageFont||(x.menu.Find("Math Settings","Font Preference","TeX (image)").disabled=!0)})),i.Queue(t.Register.StartupHook("End Config",{}),["Styles",a,g.styles],["Post",t.Startup.signal,"MathMenu Ready"],["loadComplete",a,"[MathJax]/extensions/MathMenu.js"])}(MathJax.Hub,MathJax.HTML,MathJax.Ajax,MathJax.CallBack,MathJax.OutputJax),MathJax.ElementJax.mml=MathJax.ElementJax({mimeType:"jax/mml"},{id:"mml",version:"2.7.9",directory:MathJax.ElementJax.directory+"/mml",extensionDir:MathJax.ElementJax.extensionDir+"/mml",optableDir:MathJax.ElementJax.directory+"/mml/optable"}),MathJax.ElementJax.mml.Augment({Init:function(){if(1===arguments.length&&"math"===arguments[0].type?this.root=arguments[0]:this.root=MathJax.ElementJax.mml.math.apply(this,arguments),this.root.attr&&this.root.attr.mode){this.root.display||"display"!==this.root.attr.mode||(this.root.display="block",this.root.attrNames.push("display")),delete this.root.attr.mode;for(var t=0,e=this.root.attrNames.length;t<e;t++)if("mode"===this.root.attrNames[t]){this.root.attrNames.splice(t,1);break}}}},{INHERIT:"_inherit_",AUTO:"_auto_",SIZE:{INFINITY:"infinity",SMALL:"small",NORMAL:"normal",BIG:"big"},COLOR:{TRANSPARENT:"transparent"},VARIANT:{NORMAL:"normal",BOLD:"bold",ITALIC:"italic",BOLDITALIC:"bold-italic",DOUBLESTRUCK:"double-struck",FRAKTUR:"fraktur",BOLDFRAKTUR:"bold-fraktur",SCRIPT:"script",BOLDSCRIPT:"bold-script",SANSSERIF:"sans-serif",BOLDSANSSERIF:"bold-sans-serif",SANSSERIFITALIC:"sans-serif-italic",SANSSERIFBOLDITALIC:"sans-serif-bold-italic",MONOSPACE:"monospace",INITIAL:"initial",TAILED:"tailed",LOOPED:"looped",STRETCHED:"stretched",CALIGRAPHIC:"-tex-caligraphic",OLDSTYLE:"-tex-oldstyle"},FORM:{PREFIX:"prefix",INFIX:"infix",POSTFIX:"postfix"},LINEBREAK:{AUTO:"auto",NEWLINE:"newline",NOBREAK:"nobreak",GOODBREAK:"goodbreak",BADBREAK:"badbreak"},LINEBREAKSTYLE:{BEFORE:"before",AFTER:"after",DUPLICATE:"duplicate",INFIXLINBREAKSTYLE:"infixlinebreakstyle"},INDENTALIGN:{LEFT:"left",CENTER:"center",RIGHT:"right",AUTO:"auto",ID:"id",INDENTALIGN:"indentalign"},INDENTSHIFT:{INDENTSHIFT:"indentshift"},LINETHICKNESS:{THIN:"thin",MEDIUM:"medium",THICK:"thick"},NOTATION:{LONGDIV:"longdiv",ACTUARIAL:"actuarial",RADICAL:"radical",BOX:"box",ROUNDEDBOX:"roundedbox",CIRCLE:"circle",LEFT:"left",RIGHT:"right",TOP:"top",BOTTOM:"bottom",UPDIAGONALSTRIKE:"updiagonalstrike",DOWNDIAGONALSTRIKE:"downdiagonalstrike",UPDIAGONALARROW:"updiagonalarrow",VERTICALSTRIKE:"verticalstrike",HORIZONTALSTRIKE:"horizontalstrike",PHASORANGLE:"phasorangle",MADRUWB:"madruwb"},ALIGN:{TOP:"top",BOTTOM:"bottom",CENTER:"center",BASELINE:"baseline",AXIS:"axis",LEFT:"left",RIGHT:"right"},LINES:{NONE:"none",SOLID:"solid",DASHED:"dashed"},SIDE:{LEFT:"left",RIGHT:"right",LEFTOVERLAP:"leftoverlap",RIGHTOVERLAP:"rightoverlap"},WIDTH:{AUTO:"auto",FIT:"fit"},ACTIONTYPE:{TOGGLE:"toggle",STATUSLINE:"statusline",TOOLTIP:"tooltip",INPUT:"input"},LENGTH:{VERYVERYTHINMATHSPACE:"veryverythinmathspace",VERYTHINMATHSPACE:"verythinmathspace",THINMATHSPACE:"thinmathspace",MEDIUMMATHSPACE:"mediummathspace",THICKMATHSPACE:"thickmathspace",VERYTHICKMATHSPACE:"verythickmathspace",VERYVERYTHICKMATHSPACE:"veryverythickmathspace",NEGATIVEVERYVERYTHINMATHSPACE:"negativeveryverythinmathspace",NEGATIVEVERYTHINMATHSPACE:"negativeverythinmathspace",NEGATIVETHINMATHSPACE:"negativethinmathspace",NEGATIVEMEDIUMMATHSPACE:"negativemediummathspace",NEGATIVETHICKMATHSPACE:"negativethickmathspace",NEGATIVEVERYTHICKMATHSPACE:"negativeverythickmathspace",NEGATIVEVERYVERYTHICKMATHSPACE:"negativeveryverythickmathspace"},OVERFLOW:{LINBREAK:"linebreak",SCROLL:"scroll",ELIDE:"elide",TRUNCATE:"truncate",SCALE:"scale"},UNIT:{EM:"em",EX:"ex",PX:"px",IN:"in",CM:"cm",MM:"mm",PT:"pt",PC:"pc"},TEXCLASS:{ORD:0,OP:1,BIN:2,REL:3,OPEN:4,CLOSE:5,PUNCT:6,INNER:7,VCENTER:8,NONE:-1},TEXCLASSNAMES:["ORD","OP","BIN","REL","OPEN","CLOSE","PUNCT","INNER","VCENTER"],skipAttributes:{texClass:!0,useHeight:!0,texprimestyle:!0},copyAttributes:{displaystyle:1,scriptlevel:1,open:1,close:1,form:1,actiontype:1,fontfamily:!0,fontsize:!0,fontweight:!0,fontstyle:!0,color:!0,background:!0,id:!0,class:1,href:!0,style:!0},copyAttributeNames:["displaystyle","scriptlevel","open","close","form","actiontype","fontfamily","fontsize","fontweight","fontstyle","color","background","id","class","href","style"],nocopyAttributes:{fontfamily:!0,fontsize:!0,fontweight:!0,fontstyle:!0,color:!0,background:!0,id:!0,class:!0,href:!0,style:!0,xmlns:!0},Error:function(t,e){var a=this.merror(t),i=MathJax.Localization.fontDirection(),n=MathJax.Localization.fontFamily();return e&&(a=a.With(e)),(i||n)&&(a=this.mstyle(a),i&&(a.dir=i),n&&(a.style.fontFamily="font-family: "+n)),a}}),function(t){t.mbase=MathJax.Object.Subclass({type:"base",isToken:!1,defaults:{mathbackground:t.INHERIT,mathcolor:t.INHERIT,dir:t.INHERIT},noInherit:{},noInheritAttribute:{texClass:!0},getRemoved:{},linebreakContainer:!1,Init:function(){this.data=[],!this.inferRow||1===arguments.length&&arguments[0].inferred||this.Append(t.mrow().With({inferred:!0,notParent:!0})),this.Append.apply(this,arguments)},With:function(t){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);return this},Append:function(){if(this.inferRow&&this.data.length)this.data[0].Append.apply(this.data[0],arguments);else for(var t=0,e=arguments.length;t<e;t++)this.SetData(this.data.length,arguments[t])},SetData:function(e,a){null!=a&&(a instanceof t.mbase||(a=this.isToken||this.isChars?t.chars(a):t.mtext(a)),a.parent=this,a.setInherit(this.inheritFromMe?this:this.inherit)),this.data[e]=a},Parent:function(){for(var t=this.parent;t&&t.notParent;)t=t.parent;return t},Get:function(e,a,i){if(!i){if(null!=this[e])return this[e];if(this.attr&&null!=this.attr[e])return this.attr[e]}var n=this.Parent();if(n&&null!=n["adjustChild_"+e])return n["adjustChild_"+e](this.childPosition(),a);for(var s=this.inherit,r=s;s;){var o=s[e];if(null==o&&s.attr&&(o=s.attr[e]),s.removedStyles&&s.getRemoved[e]&&null==o&&(o=s.removedStyles[s.getRemoved[e]]),null!=o&&s.noInheritAttribute&&!s.noInheritAttribute[e]){var l=s.noInherit[this.type];if(!l||!l[e])return o}r=s,s=s.inherit}if(!a){if(this.defaults[e]===t.AUTO)return this.autoDefault(e);if(this.defaults[e]!==t.INHERIT&&null!=this.defaults[e])return this.defaults[e];if(r)return r.defaults[e]}return null},hasValue:function(t){return null!=this.Get(t,!0)},getValues:function(){for(var t={},e=0,a=arguments.length;e<a;e++)t[arguments[e]]=this.Get(arguments[e]);return t},adjustChild_scriptlevel:function(t,e){return this.Get("scriptlevel",e)},adjustChild_displaystyle:function(t,e){return this.Get("displaystyle",e)},adjustChild_texprimestyle:function(t,e){return this.Get("texprimestyle",e)},hasMMLspacing:function(){return!1},childPosition:function(){for(var t=this,e=t.parent;e.notParent;)e=(t=e).parent;for(var a=0,i=e.data.length;a<i;a++)if(e.data[a]===t)return a;return null},setInherit:function(t){if(t!==this.inherit&&null==this.inherit){this.inherit=t;for(var e=0,a=this.data.length;e<a;e++)this.data[e]&&this.data[e].setInherit&&this.data[e].setInherit(t)}},setTeXclass:function(t){return this.getPrevClass(t),void 0!==this.texClass?this:t},getPrevClass:function(t){t&&(this.prevClass=t.Get("texClass"),this.prevLevel=t.Get("scriptlevel"))},updateTeXclass:function(t){t&&(this.prevClass=t.prevClass,delete t.prevClass,this.prevLevel=t.prevLevel,delete t.prevLevel,this.texClass=t.Get("texClass"))},texSpacing:function(){var e=null!=this.prevClass?this.prevClass:t.TEXCLASS.NONE,a=this.Get("texClass")||t.TEXCLASS.ORD;if(e===t.TEXCLASS.NONE||a===t.TEXCLASS.NONE)return"";e===t.TEXCLASS.VCENTER&&(e=t.TEXCLASS.ORD),a===t.TEXCLASS.VCENTER&&(a=t.TEXCLASS.ORD);var i=this.TEXSPACE[e][a];return(this.prevLevel>0||this.Get("scriptlevel")>0)&&i>=0?"":this.TEXSPACELENGTH[Math.abs(i)]},TEXSPACELENGTH:["",t.LENGTH.THINMATHSPACE,t.LENGTH.MEDIUMMATHSPACE,t.LENGTH.THICKMATHSPACE],TEXSPACE:[[0,-1,2,3,0,0,0,1],[-1,-1,0,3,0,0,0,1],[2,2,0,0,2,0,0,2],[3,3,0,0,3,0,0,3],[0,0,0,0,0,0,0,0],[0,-1,2,3,0,0,0,1],[1,1,0,1,1,1,1,1],[1,-1,2,3,1,0,1,1]],autoDefault:function(t){return""},isSpacelike:function(){return!1},isEmbellished:function(){return!1},Core:function(){return this},CoreMO:function(){return this},childIndex:function(t){if(null!=t)for(var e=0,a=this.data.length;e<a;e++)if(t===this.data[e])return e},CoreIndex:function(){return(this.inferRow&&this.data[0]||this).childIndex(this.Core())},hasNewline:function(){if(this.isEmbellished())return this.CoreMO().hasNewline();if(this.isToken||this.linebreakContainer)return!1;for(var t=0,e=this.data.length;t<e;t++)if(this.data[t]&&this.data[t].hasNewline())return!0;return!1},array:function(){return this.inferred?this.data:[this]},toString:function(){return this.type+"("+this.data.join(",")+")"},getAnnotation:function(){return null}},{childrenSpacelike:function(){for(var t=0,e=this.data.length;t<e;t++)if(!this.data[t].isSpacelike())return!1;return!0},childEmbellished:function(){return this.data[0]&&this.data[0].isEmbellished()},childCore:function(){return this.inferRow&&this.data[0]?this.data[0].Core():this.data[0]},childCoreMO:function(){return this.data[0]?this.data[0].CoreMO():null},setChildTeXclass:function(t){return this.data[0]&&(t=this.data[0].setTeXclass(t),this.updateTeXclass(this.data[0])),t},setBaseTeXclasses:function(e){this.getPrevClass(e),this.texClass=null,this.data[0]?this.isEmbellished()||this.data[0].isa(t.mi)?(e=this.data[0].setTeXclass(e),this.updateTeXclass(this.Core())):(this.data[0].setTeXclass(),e=this):e=this;for(var a=1,i=this.data.length;a<i;a++)this.data[a]&&this.data[a].setTeXclass();return e},setSeparateTeXclasses:function(t){this.getPrevClass(t);for(var e=0,a=this.data.length;e<a;e++)this.data[e]&&this.data[e].setTeXclass();return this.isEmbellished()&&this.updateTeXclass(this.Core()),this}}),t.mi=t.mbase.Subclass({type:"mi",isToken:!0,texClass:t.TEXCLASS.ORD,defaults:{mathvariant:t.AUTO,mathsize:t.INHERIT,mathbackground:t.INHERIT,mathcolor:t.INHERIT,dir:t.INHERIT},autoDefault:function(e){if("mathvariant"===e){var a=(this.data[0]||"").toString();return 1===a.length||2===a.length&&a.charCodeAt(0)>=55296&&a.charCodeAt(0)<56320?t.VARIANT.ITALIC:t.VARIANT.NORMAL}return""},setTeXclass:function(e){this.getPrevClass(e);var a=this.data.join("");return a.length>1&&a.match(/^[a-z][a-z0-9]*$/i)&&this.texClass===t.TEXCLASS.ORD&&(this.texClass=t.TEXCLASS.OP,this.autoOP=!0),this}}),t.mn=t.mbase.Subclass({type:"mn",isToken:!0,texClass:t.TEXCLASS.ORD,defaults:{mathvariant:t.INHERIT,mathsize:t.INHERIT,mathbackground:t.INHERIT,mathcolor:t.INHERIT,dir:t.INHERIT}}),t.mo=t.mbase.Subclass({type:"mo",isToken:!0,defaults:{mathvariant:t.INHERIT,mathsize:t.INHERIT,mathbackground:t.INHERIT,mathcolor:t.INHERIT,dir:t.INHERIT,form:t.AUTO,fence:t.AUTO,separator:t.AUTO,lspace:t.AUTO,rspace:t.AUTO,stretchy:t.AUTO,symmetric:t.AUTO,maxsize:t.AUTO,minsize:t.AUTO,largeop:t.AUTO,movablelimits:t.AUTO,accent:t.AUTO,linebreak:t.LINEBREAK.AUTO,lineleading:t.INHERIT,linebreakstyle:t.AUTO,linebreakmultchar:t.INHERIT,indentalign:t.INHERIT,indentshift:t.INHERIT,indenttarget:t.INHERIT,indentalignfirst:t.INHERIT,indentshiftfirst:t.INHERIT,indentalignlast:t.INHERIT,indentshiftlast:t.INHERIT,texClass:t.AUTO},defaultDef:{form:t.FORM.INFIX,fence:!1,separator:!1,lspace:t.LENGTH.THICKMATHSPACE,rspace:t.LENGTH.THICKMATHSPACE,stretchy:!1,symmetric:!1,maxsize:t.SIZE.INFINITY,minsize:"0em",largeop:!1,movablelimits:!1,accent:!1,linebreak:t.LINEBREAK.AUTO,lineleading:"1ex",linebreakstyle:"before",indentalign:t.INDENTALIGN.AUTO,indentshift:"0",indenttarget:"",indentalignfirst:t.INDENTALIGN.INDENTALIGN,indentshiftfirst:t.INDENTSHIFT.INDENTSHIFT,indentalignlast:t.INDENTALIGN.INDENTALIGN,indentshiftlast:t.INDENTSHIFT.INDENTSHIFT,texClass:t.TEXCLASS.REL},SPACE_ATTR:{lspace:1,rspace:2},useMMLspacing:3,hasMMLspacing:function(){return!!this.useMMLspacing||this.form&&(this.OPTABLE[this.form]||{})[this.data.join("")]},autoDefault:function(e,a){var i=this.def;if(!i){if("form"===e)return this.getForm();for(var n=this.data.join(""),s=[this.Get("form"),t.FORM.INFIX,t.FORM.POSTFIX,t.FORM.PREFIX],r=0,o=s.length;r<o;r++){var l=this.OPTABLE[s[r]][n];if(l){i=this.makeDef(l);break}}i||(i=this.CheckRange(n)),!i&&a?i={}:(i||(i=MathJax.Hub.Insert({},this.defaultDef)),this.parent?this.def=i:i=MathJax.Hub.Insert({},i),i.form=s[0])}return this.useMMLspacing&=~(this.SPACE_ATTR[e]||0),null!=i[e]?i[e]:a?"":this.defaultDef[e]},CheckRange:function(e){var a=e.charCodeAt(0);a>=55296&&a<56320&&(a=(a-55296<<10)+(e.charCodeAt(1)-56320)+65536);for(var i=0,n=this.RANGES.length;i<n&&this.RANGES[i][0]<=a;i++)if(a<=this.RANGES[i][1]){if(this.RANGES[i][3]){var s=t.optableDir+"/"+this.RANGES[i][3]+".js";this.RANGES[i][3]=null,MathJax.Hub.RestartAfter(MathJax.Ajax.Require(s))}var r=t.TEXCLASSNAMES[this.RANGES[i][2]];return r=this.OPTABLE.infix[e]=t.mo.OPTYPES["BIN"===r?"BIN3":r],this.makeDef(r)}return null},makeDef:function(e){null==e[2]&&(e[2]=this.defaultDef.texClass),e[3]||(e[3]={});var a=MathJax.Hub.Insert({},e[3]);return a.lspace=this.SPACE[e[0]],a.rspace=this.SPACE[e[1]],a.texClass=e[2],a.texClass===t.TEXCLASS.REL&&(this.movablelimits||this.data.join("").match(/^[a-z]+$/i))&&(a.texClass=t.TEXCLASS.OP),a},getForm:function(){for(var e=this,a=this.parent,i=this.Parent();i&&i.isEmbellished();)e=a,a=i.parent,i=i.Parent();if(a&&"mrow"===a.type&&1!==a.NonSpaceLength()){if(a.FirstNonSpace()===e)return t.FORM.PREFIX;if(a.LastNonSpace()===e)return t.FORM.POSTFIX}return t.FORM.INFIX},isEmbellished:function(){return!0},hasNewline:function(){return this.Get("linebreak")===t.LINEBREAK.NEWLINE},CoreParent:function(){for(var e=this;e&&e.isEmbellished()&&e.CoreMO()===this&&!e.isa(t.math);)e=e.Parent();return e},CoreText:function(e){if(!e)return"";if(e.isEmbellished())return e.CoreMO().data.join("");for(;((e.isa(t.mrow)||e.isa(t.TeXAtom)||e.isa(t.mstyle)||e.isa(t.mphantom))&&1===e.data.length||e.isa(t.munderover))&&e.data[0];)e=e.data[0];return e.isToken?e.data.join(""):""},remapChars:{"*":"∗",'"':"″","°":"∘","²":"2","³":"3","´":"′","¹":"1"},remap:function(t,e){return t=t.replace(/-/g,"−"),e&&1===(t=t.replace(/'/g,"′").replace(/`/g,"‵")).length&&(t=e[t]||t),t},setTeXclass:function(e){var a=this.getValues("form","lspace","rspace","fence");return this.hasMMLspacing()?(this.texClass=t.TEXCLASS.NONE,this):(a.fence&&!this.texClass&&(a.form===t.FORM.PREFIX&&(this.texClass=t.TEXCLASS.OPEN),a.form===t.FORM.POSTFIX&&(this.texClass=t.TEXCLASS.CLOSE)),this.texClass=this.Get("texClass"),"⁡"===this.data.join("")?(e&&(e.texClass=t.TEXCLASS.OP,e.fnOP=!0),this.texClass=this.prevClass=t.TEXCLASS.NONE,e):this.adjustTeXclass(e))},adjustTeXclass:function(e){if(this.texClass===t.TEXCLASS.NONE)return e;if(e?(!e.autoOP||this.texClass!==t.TEXCLASS.BIN&&this.texClass!==t.TEXCLASS.REL||(e.texClass=t.TEXCLASS.ORD),this.prevClass=e.texClass||t.TEXCLASS.ORD,this.prevLevel=e.Get("scriptlevel")):this.prevClass=t.TEXCLASS.NONE,this.texClass!==t.TEXCLASS.BIN||this.prevClass!==t.TEXCLASS.NONE&&this.prevClass!==t.TEXCLASS.BIN&&this.prevClass!==t.TEXCLASS.OP&&this.prevClass!==t.TEXCLASS.REL&&this.prevClass!==t.TEXCLASS.OPEN&&this.prevClass!==t.TEXCLASS.PUNCT)if(this.prevClass!==t.TEXCLASS.BIN||this.texClass!==t.TEXCLASS.REL&&this.texClass!==t.TEXCLASS.CLOSE&&this.texClass!==t.TEXCLASS.PUNCT){if(this.texClass===t.TEXCLASS.BIN){for(var a=this,i=this.parent;i&&i.parent&&i.isEmbellished()&&(1===i.data.length||"mrow"!==i.type&&i.Core()===a);)a=i,i=i.parent;i.data[i.data.length-1]===a&&(this.texClass=t.TEXCLASS.ORD)}}else e.texClass=this.prevClass=t.TEXCLASS.ORD;else this.texClass=t.TEXCLASS.ORD;return this}}),t.mtext=t.mbase.Subclass({type:"mtext",isToken:!0,isSpacelike:function(){return!0},texClass:t.TEXCLASS.ORD,defaults:{mathvariant:t.INHERIT,mathsize:t.INHERIT,mathbackground:t.INHERIT,mathcolor:t.INHERIT,dir:t.INHERIT}}),t.mspace=t.mbase.Subclass({type:"mspace",isToken:!0,isSpacelike:function(){return!0},defaults:{mathbackground:t.INHERIT,mathcolor:t.INHERIT,width:"0em",height:"0ex",depth:"0ex",linebreak:t.LINEBREAK.AUTO},hasDimAttr:function(){return this.hasValue("width")||this.hasValue("height")||this.hasValue("depth")},hasNewline:function(){return!this.hasDimAttr()&&this.Get("linebreak")===t.LINEBREAK.NEWLINE}}),t.ms=t.mbase.Subclass({type:"ms",isToken:!0,texClass:t.TEXCLASS.ORD,defaults:{mathvariant:t.INHERIT,mathsize:t.INHERIT,mathbackground:t.INHERIT,mathcolor:t.INHERIT,dir:t.INHERIT,lquote:'"',rquote:'"'}}),t.mglyph=t.mbase.Subclass({type:"mglyph",isToken:!0,texClass:t.TEXCLASS.ORD,defaults:{mathbackground:t.INHERIT,mathcolor:t.INHERIT,alt:"",src:"",width:t.AUTO,height:t.AUTO,valign:"0em"}}),t.mrow=t.mbase.Subclass({type:"mrow",isSpacelike:t.mbase.childrenSpacelike,inferred:!1,notParent:!1,isEmbellished:function(){for(var t=!1,e=0,a=this.data.length;e<a;e++)if(null!=this.data[e])if(this.data[e].isEmbellished()){if(t)return!1;t=!0,this.core=e}else if(!this.data[e].isSpacelike())return!1;return t},NonSpaceLength:function(){for(var t=0,e=0,a=this.data.length;e<a;e++)this.data[e]&&!this.data[e].isSpacelike()&&t++;return t},FirstNonSpace:function(){for(var t=0,e=this.data.length;t<e;t++)if(this.data[t]&&!this.data[t].isSpacelike())return this.data[t];return null},LastNonSpace:function(){for(var t=this.data.length-1;t>=0;t--)if(this.data[0]&&!this.data[t].isSpacelike())return this.data[t];return null},Core:function(){return this.isEmbellished()&&void 0!==this.core?this.data[this.core]:this},CoreMO:function(){return this.isEmbellished()&&void 0!==this.core?this.data[this.core].CoreMO():this},toString:function(){return this.inferred?"["+this.data.join(",")+"]":this.SUPER(arguments).toString.call(this)},setTeXclass:function(e){var a,i=this.data.length;if(!this.open&&!this.close||e&&e.fnOP){for(a=0;a<i;a++)this.data[a]&&(e=this.data[a].setTeXclass(e));return this.data[0]&&this.updateTeXclass(this.data[0]),e}for(this.getPrevClass(e),e=null,a=0;a<i;a++)this.data[a]&&(e=this.data[a].setTeXclass(e));return this.hasOwnProperty("texClass")||(this.texClass=t.TEXCLASS.INNER),this},getAnnotation:function(t){return 1!=this.data.length?null:this.data[0].getAnnotation(t)}}),t.mfrac=t.mbase.Subclass({type:"mfrac",num:0,den:1,linebreakContainer:!0,isEmbellished:t.mbase.childEmbellished,Core:t.mbase.childCore,CoreMO:t.mbase.childCoreMO,defaults:{mathbackground:t.INHERIT,mathcolor:t.INHERIT,linethickness:t.LINETHICKNESS.MEDIUM,numalign:t.ALIGN.CENTER,denomalign:t.ALIGN.CENTER,bevelled:!1},adjustChild_displaystyle:function(t){return!1},adjustChild_scriptlevel:function(t){var e=this.Get("scriptlevel");return(!this.Get("displaystyle")||e>0)&&e++,e},adjustChild_texprimestyle:function(t){return t==this.den||this.Get("texprimestyle")},setTeXclass:t.mbase.setSeparateTeXclasses}),t.msqrt=t.mbase.Subclass({type:"msqrt",inferRow:!0,linebreakContainer:!0,texClass:t.TEXCLASS.ORD,setTeXclass:t.mbase.setSeparateTeXclasses,adjustChild_texprimestyle:function(t){return!0}}),t.mroot=t.mbase.Subclass({type:"mroot",linebreakContainer:!0,texClass:t.TEXCLASS.ORD,adjustChild_displaystyle:function(t){return 1!==t&&this.Get("displaystyle")},adjustChild_scriptlevel:function(t){var e=this.Get("scriptlevel");return 1===t&&(e+=2),e},adjustChild_texprimestyle:function(t){return 0===t||this.Get("texprimestyle")},setTeXclass:t.mbase.setSeparateTeXclasses}),t.mstyle=t.mbase.Subclass({type:"mstyle",isSpacelike:t.mbase.childrenSpacelike,isEmbellished:t.mbase.childEmbellished,Core:t.mbase.childCore,CoreMO:t.mbase.childCoreMO,inferRow:!0,defaults:{scriptlevel:t.INHERIT,displaystyle:t.INHERIT,scriptsizemultiplier:Math.sqrt(.5),scriptminsize:"8pt",mathbackground:t.INHERIT,mathcolor:t.INHERIT,dir:t.INHERIT,infixlinebreakstyle:t.LINEBREAKSTYLE.BEFORE,decimalseparator:"."},adjustChild_scriptlevel:function(t){var e=this.scriptlevel;return null==e?e=this.Get("scriptlevel"):String(e).match(/^ *[-+]/)&&(e=this.Get("scriptlevel",null,!0)+parseInt(e)),e},inheritFromMe:!0,noInherit:{mpadded:{width:!0,height:!0,depth:!0,lspace:!0,voffset:!0},mtable:{width:!0,height:!0,depth:!0,align:!0}},getRemoved:{fontfamily:"fontFamily",fontweight:"fontWeight",fontstyle:"fontStyle",fontsize:"fontSize"},setTeXclass:t.mbase.setChildTeXclass}),t.merror=t.mbase.Subclass({type:"merror",inferRow:!0,linebreakContainer:!0,texClass:t.TEXCLASS.ORD}),t.mpadded=t.mbase.Subclass({type:"mpadded",inferRow:!0,isSpacelike:t.mbase.childrenSpacelike,isEmbellished:t.mbase.childEmbellished,Core:t.mbase.childCore,CoreMO:t.mbase.childCoreMO,defaults:{mathbackground:t.INHERIT,mathcolor:t.INHERIT,width:"",height:"",depth:"",lspace:0,voffset:0},setTeXclass:t.mbase.setChildTeXclass}),t.mphantom=t.mbase.Subclass({type:"mphantom",texClass:t.TEXCLASS.ORD,inferRow:!0,isSpacelike:t.mbase.childrenSpacelike,isEmbellished:t.mbase.childEmbellished,Core:t.mbase.childCore,CoreMO:t.mbase.childCoreMO,setTeXclass:t.mbase.setChildTeXclass}),t.mfenced=t.mbase.Subclass({type:"mfenced",defaults:{mathbackground:t.INHERIT,mathcolor:t.INHERIT,open:"(",close:")",separators:","},addFakeNodes:function(){var e=this.getValues("open","close","separators");if(e.open=e.open.replace(/[ \t\n\r]/g,""),e.close=e.close.replace(/[ \t\n\r]/g,""),e.separators=e.separators.replace(/[ \t\n\r]/g,""),""!==e.open&&this.SetData("open",t.mo(e.open).With({fence:!0,form:t.FORM.PREFIX,texClass:t.TEXCLASS.OPEN})),""!==e.separators){for(;e.separators.length<this.data.length;)e.separators+=e.separators.charAt(e.separators.length-1);for(var a=1,i=this.data.length;a<i;a++)this.data[a]&&this.SetData("sep"+a,t.mo(e.separators.charAt(a-1)).With({separator:!0}))}""!==e.close&&this.SetData("close",t.mo(e.close).With({fence:!0,form:t.FORM.POSTFIX,texClass:t.TEXCLASS.CLOSE}))},texClass:t.TEXCLASS.OPEN,setTeXclass:function(e){this.addFakeNodes(),this.getPrevClass(e),this.data.open&&(e=this.data.open.setTeXclass(e)),this.data[0]&&(e=this.data[0].setTeXclass(e));for(var a=1,i=this.data.length;a<i;a++)this.data["sep"+a]&&(e=this.data["sep"+a].setTeXclass(e)),this.data[a]&&(e=this.data[a].setTeXclass(e));return this.data.close&&(e=this.data.close.setTeXclass(e)),this.updateTeXclass(this.data.open),this.texClass=t.TEXCLASS.INNER,e}}),t.menclose=t.mbase.Subclass({type:"menclose",inferRow:!0,linebreakContainer:!0,defaults:{mathbackground:t.INHERIT,mathcolor:t.INHERIT,notation:t.NOTATION.LONGDIV,texClass:t.TEXCLASS.ORD},setTeXclass:t.mbase.setSeparateTeXclasses}),t.msubsup=t.mbase.Subclass({type:"msubsup",base:0,sub:1,sup:2,isEmbellished:t.mbase.childEmbellished,Core:t.mbase.childCore,CoreMO:t.mbase.childCoreMO,defaults:{mathbackground:t.INHERIT,mathcolor:t.INHERIT,subscriptshift:"",superscriptshift:"",texClass:t.AUTO},autoDefault:function(e){return"texClass"===e?this.isEmbellished()?this.CoreMO().Get(e):t.TEXCLASS.ORD:0},adjustChild_displaystyle:function(t){return!(t>0)&&this.Get("displaystyle")},adjustChild_scriptlevel:function(t){var e=this.Get("scriptlevel");return t>0&&e++,e},adjustChild_texprimestyle:function(t){return t===this.sub||this.Get("texprimestyle")},setTeXclass:t.mbase.setBaseTeXclasses}),t.msub=t.msubsup.Subclass({type:"msub"}),t.msup=t.msubsup.Subclass({type:"msup",sub:2,sup:1}),t.mmultiscripts=t.msubsup.Subclass({type:"mmultiscripts",adjustChild_texprimestyle:function(t){return t%2==1||this.Get("texprimestyle")}}),t.mprescripts=t.mbase.Subclass({type:"mprescripts"}),t.none=t.mbase.Subclass({type:"none"}),t.munderover=t.mbase.Subclass({type:"munderover",base:0,under:1,over:2,sub:1,sup:2,ACCENTS:["","accentunder","accent"],linebreakContainer:!0,isEmbellished:t.mbase.childEmbellished,Core:t.mbase.childCore,CoreMO:t.mbase.childCoreMO,defaults:{mathbackground:t.INHERIT,mathcolor:t.INHERIT,accent:t.AUTO,accentunder:t.AUTO,align:t.ALIGN.CENTER,texClass:t.AUTO,subscriptshift:"",superscriptshift:""},autoDefault:function(e){return"texClass"===e?this.isEmbellished()?this.CoreMO().Get(e):t.TEXCLASS.ORD:"accent"===e&&this.data[this.over]?this.data[this.over].CoreMO().Get("accent"):!("accentunder"!==e||!this.data[this.under])&&this.data[this.under].CoreMO().Get("accent")},adjustChild_displaystyle:function(t){return!(t>0)&&this.Get("displaystyle")},adjustChild_scriptlevel:function(t){var e=this.Get("scriptlevel"),a=this.data[this.base]&&!this.Get("displaystyle")&&this.data[this.base].CoreMO().Get("movablelimits");return t!=this.under||!a&&this.Get("accentunder")||e++,t!=this.over||!a&&this.Get("accent")||e++,e},adjustChild_texprimestyle:function(t){return!(t!==this.base||!this.data[this.over])||this.Get("texprimestyle")},setTeXclass:t.mbase.setBaseTeXclasses}),t.munder=t.munderover.Subclass({type:"munder"}),t.mover=t.munderover.Subclass({type:"mover",over:1,under:2,sup:1,sub:2,ACCENTS:["","accent","accentunder"]}),t.mtable=t.mbase.Subclass({type:"mtable",defaults:{mathbackground:t.INHERIT,mathcolor:t.INHERIT,align:t.ALIGN.AXIS,rowalign:t.ALIGN.BASELINE,columnalign:t.ALIGN.CENTER,groupalign:"{left}",alignmentscope:!0,columnwidth:t.WIDTH.AUTO,width:t.WIDTH.AUTO,rowspacing:"1ex",columnspacing:".8em",rowlines:t.LINES.NONE,columnlines:t.LINES.NONE,frame:t.LINES.NONE,framespacing:"0.4em 0.5ex",equalrows:!1,equalcolumns:!1,displaystyle:!1,side:t.SIDE.RIGHT,minlabelspacing:"0.8em",texClass:t.TEXCLASS.ORD,useHeight:1},adjustChild_displaystyle:function(){return null!=this.displaystyle?this.displaystyle:this.defaults.displaystyle},inheritFromMe:!0,noInherit:{mover:{align:!0},munder:{align:!0},munderover:{align:!0},mtable:{align:!0,rowalign:!0,columnalign:!0,groupalign:!0,alignmentscope:!0,columnwidth:!0,width:!0,rowspacing:!0,columnspacing:!0,rowlines:!0,columnlines:!0,frame:!0,framespacing:!0,equalrows:!0,equalcolumns:!0,displaystyle:!0,side:!0,minlabelspacing:!0,texClass:!0,useHeight:1}},linebreakContainer:!0,Append:function(){for(var e=0,a=arguments.length;e<a;e++)arguments[e]instanceof t.mtr||arguments[e]instanceof t.mlabeledtr||(arguments[e]=t.mtr(arguments[e]));this.SUPER(arguments).Append.apply(this,arguments)},setTeXclass:t.mbase.setSeparateTeXclasses}),t.mtr=t.mbase.Subclass({type:"mtr",defaults:{mathbackground:t.INHERIT,mathcolor:t.INHERIT,rowalign:t.INHERIT,columnalign:t.INHERIT,groupalign:t.INHERIT},inheritFromMe:!0,noInherit:{mrow:{rowalign:!0,columnalign:!0,groupalign:!0},mtable:{rowalign:!0,columnalign:!0,groupalign:!0}},linebreakContainer:!0,Append:function(){for(var e=0,a=arguments.length;e<a;e++)arguments[e]instanceof t.mtd||(arguments[e]=t.mtd(arguments[e]));this.SUPER(arguments).Append.apply(this,arguments)},setTeXclass:t.mbase.setSeparateTeXclasses}),t.mtd=t.mbase.Subclass({type:"mtd",inferRow:!0,linebreakContainer:!0,isEmbellished:t.mbase.childEmbellished,Core:t.mbase.childCore,CoreMO:t.mbase.childCoreMO,defaults:{mathbackground:t.INHERIT,mathcolor:t.INHERIT,rowspan:1,columnspan:1,rowalign:t.INHERIT,columnalign:t.INHERIT,groupalign:t.INHERIT},setTeXclass:t.mbase.setSeparateTeXclasses}),t.maligngroup=t.mbase.Subclass({type:"maligngroup",isSpacelike:function(){return!0},defaults:{mathbackground:t.INHERIT,mathcolor:t.INHERIT,groupalign:t.INHERIT},inheritFromMe:!0,noInherit:{mrow:{groupalign:!0},mtable:{groupalign:!0}}}),t.malignmark=t.mbase.Subclass({type:"malignmark",defaults:{mathbackground:t.INHERIT,mathcolor:t.INHERIT,edge:t.SIDE.LEFT},isSpacelike:function(){return!0}}),t.mlabeledtr=t.mtr.Subclass({type:"mlabeledtr"}),t.maction=t.mbase.Subclass({type:"maction",defaults:{mathbackground:t.INHERIT,mathcolor:t.INHERIT,actiontype:t.ACTIONTYPE.TOGGLE,selection:1},selected:function(){return this.data[this.Get("selection")-1]||t.NULL},isEmbellished:function(){return this.selected().isEmbellished()},isSpacelike:function(){return this.selected().isSpacelike()},Core:function(){return this.selected().Core()},CoreMO:function(){return this.selected().CoreMO()},setTeXclass:function(e){this.Get("actiontype")===t.ACTIONTYPE.TOOLTIP&&this.data[1]&&this.data[1].setTeXclass();var a=this.selected();return e=a.setTeXclass(e),this.updateTeXclass(a),e}}),t.semantics=t.mbase.Subclass({type:"semantics",notParent:!0,isEmbellished:t.mbase.childEmbellished,Core:t.mbase.childCore,CoreMO:t.mbase.childCoreMO,defaults:{definitionURL:null,encoding:null},setTeXclass:t.mbase.setChildTeXclass,getAnnotation:function(t){var e=MathJax.Hub.config.MathMenu.semanticsAnnotations[t];if(e)for(var a=0,i=this.data.length;a<i;a++){var n=this.data[a].Get("encoding");if(n)for(var s=0,r=e.length;s<r;s++)if(e[s]===n)return this.data[a]}return null}}),t.annotation=t.mbase.Subclass({type:"annotation",isChars:!0,linebreakContainer:!0,defaults:{definitionURL:null,encoding:null,cd:"mathmlkeys",name:"",src:null}}),t["annotation-xml"]=t.mbase.Subclass({type:"annotation-xml",linebreakContainer:!0,defaults:{definitionURL:null,encoding:null,cd:"mathmlkeys",name:"",src:null}}),t.math=t.mstyle.Subclass({type:"math",defaults:{mathvariant:t.VARIANT.NORMAL,mathsize:t.SIZE.NORMAL,mathcolor:"",mathbackground:t.COLOR.TRANSPARENT,dir:"ltr",scriptlevel:0,displaystyle:t.AUTO,display:"inline",maxwidth:"",overflow:t.OVERFLOW.LINEBREAK,altimg:"","altimg-width":"","altimg-height":"","altimg-valign":"",alttext:"",cdgroup:"",scriptsizemultiplier:Math.sqrt(.5),scriptminsize:"8px",infixlinebreakstyle:t.LINEBREAKSTYLE.BEFORE,lineleading:"1ex",indentshift:"auto",indentalign:t.INDENTALIGN.AUTO,indentalignfirst:t.INDENTALIGN.INDENTALIGN,indentshiftfirst:t.INDENTSHIFT.INDENTSHIFT,indentalignlast:t.INDENTALIGN.INDENTALIGN,indentshiftlast:t.INDENTSHIFT.INDENTSHIFT,decimalseparator:".",texprimestyle:!1},autoDefault:function(t){return"displaystyle"===t?"block"===this.Get("display"):""},linebreakContainer:!0,setTeXclass:t.mbase.setChildTeXclass,getAnnotation:function(t){return 1!=this.data.length?null:this.data[0].getAnnotation(t)}}),t.chars=t.mbase.Subclass({type:"chars",Append:function(){this.data.push.apply(this.data,arguments)},value:function(){return this.data.join("")},toString:function(){return this.data.join("")}}),t.entity=t.mbase.Subclass({type:"entity",Append:function(){this.data.push.apply(this.data,arguments)},value:function(){return"#x"===this.data[0].substr(0,2)?parseInt(this.data[0].substr(2),16):"#"===this.data[0].substr(0,1)?parseInt(this.data[0].substr(1)):0},toString:function(){var t=this.value();return t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode(55296+(t>>10))+String.fromCharCode(56320+(1023&t)))}}),t.xml=t.mbase.Subclass({type:"xml",Init:function(){return this.div=document.createElement("div"),this.SUPER(arguments).Init.apply(this,arguments)},Append:function(){for(var t=0,e=arguments.length;t<e;t++){var a=this.Import(arguments[t]);this.data.push(a),this.div.appendChild(a)}},Import:function(t){if(document.importNode)return document.importNode(t,!0);var e,a,i;if(1===t.nodeType){for(e=document.createElement(t.nodeName),a=0,i=t.attributes.length;a<i;a++){var n=t.attributes[a];n.specified&&null!=n.nodeValue&&""!=n.nodeValue&&e.setAttribute(n.nodeName,n.nodeValue),"style"===n.nodeName&&(e.style.cssText=n.nodeValue)}t.className&&(e.className=t.className)}else if(3===t.nodeType||4===t.nodeType)e=document.createTextNode(t.nodeValue);else{if(8!==t.nodeType)return document.createTextNode("");e=document.createComment(t.nodeValue)}for(a=0,i=t.childNodes.length;a<i;a++)e.appendChild(this.Import(t.childNodes[a]));return e},value:function(){return this.div},toString:function(){return this.div.innerHTML}}),t.TeXAtom=t.mbase.Subclass({type:"texatom",linebreakContainer:!0,inferRow:!0,notParent:!0,texClass:t.TEXCLASS.ORD,Core:t.mbase.childCore,CoreMO:t.mbase.childCoreMO,isEmbellished:t.mbase.childEmbellished,setTeXclass:function(t){return this.data[0].setTeXclass(),this.adjustTeXclass(t)},adjustTeXclass:t.mo.prototype.adjustTeXclass}),t.NULL=t.mbase().With({type:"null"});var e=t.TEXCLASS,a={ORD:[0,0,e.ORD],ORD11:[1,1,e.ORD],ORD21:[2,1,e.ORD],ORD02:[0,2,e.ORD],ORD55:[5,5,e.ORD],OP:[1,2,e.OP,{largeop:!0,movablelimits:!0,symmetric:!0}],OPFIXED:[1,2,e.OP,{largeop:!0,movablelimits:!0}],INTEGRAL:[0,1,e.OP,{largeop:!0,symmetric:!0}],INTEGRAL2:[1,2,e.OP,{largeop:!0,symmetric:!0}],BIN3:[3,3,e.BIN],BIN4:[4,4,e.BIN],BIN01:[0,1,e.BIN],BIN5:[5,5,e.BIN],TALLBIN:[4,4,e.BIN,{stretchy:!0}],BINOP:[4,4,e.BIN,{largeop:!0,movablelimits:!0}],REL:[5,5,e.REL],REL1:[1,1,e.REL,{stretchy:!0}],REL4:[4,4,e.REL],RELSTRETCH:[5,5,e.REL,{stretchy:!0}],RELACCENT:[5,5,e.REL,{accent:!0}],WIDEREL:[5,5,e.REL,{accent:!0,stretchy:!0}],OPEN:[0,0,e.OPEN,{fence:!0,stretchy:!0,symmetric:!0}],CLOSE:[0,0,e.CLOSE,{fence:!0,stretchy:!0,symmetric:!0}],INNER:[0,0,e.INNER],PUNCT:[0,3,e.PUNCT],ACCENT:[0,0,e.ORD,{accent:!0}],WIDEACCENT:[0,0,e.ORD,{accent:!0,stretchy:!0}]};t.mo.Augment({SPACE:["0em","0.1111em","0.1667em","0.2222em","0.2667em","0.3333em"],RANGES:[[32,127,e.REL,"BasicLatin"],[160,255,e.ORD,"Latin1Supplement"],[256,383,e.ORD],[384,591,e.ORD],[688,767,e.ORD,"SpacingModLetters"],[768,879,e.ORD,"CombDiacritMarks"],[880,1023,e.ORD,"GreekAndCoptic"],[7680,7935,e.ORD],[8192,8303,e.PUNCT,"GeneralPunctuation"],[8304,8351,e.ORD],[8352,8399,e.ORD],[8400,8447,e.ORD,"CombDiactForSymbols"],[8448,8527,e.ORD,"LetterlikeSymbols"],[8528,8591,e.ORD],[8592,8703,e.REL,"Arrows"],[8704,8959,e.BIN,"MathOperators"],[8960,9215,e.ORD,"MiscTechnical"],[9312,9471,e.ORD],[9472,9631,e.ORD],[9632,9727,e.ORD,"GeometricShapes"],[9984,10175,e.ORD,"Dingbats"],[10176,10223,e.ORD,"MiscMathSymbolsA"],[10224,10239,e.REL,"SupplementalArrowsA"],[10496,10623,e.REL,"SupplementalArrowsB"],[10624,10751,e.ORD,"MiscMathSymbolsB"],[10752,11007,e.BIN,"SuppMathOperators"],[11008,11263,e.ORD,"MiscSymbolsAndArrows"],[119808,120831,e.ORD]],OPTABLE:{prefix:{"∀":a.ORD21,"∂":a.ORD21,"∃":a.ORD21,"∇":a.ORD21,"∏":a.OP,"∐":a.OP,"∑":a.OP,"−":a.BIN01,"∓":a.BIN01,"√":[1,1,e.ORD,{stretchy:!0}],"∠":a.ORD,"∫":a.INTEGRAL,"∮":a.INTEGRAL,"⋀":a.OP,"⋁":a.OP,"⋂":a.OP,"⋃":a.OP,"⌈":a.OPEN,"⌊":a.OPEN,"⟨":a.OPEN,"⟮":a.OPEN,"⨀":a.OP,"⨁":a.OP,"⨂":a.OP,"⨄":a.OP,"⨆":a.OP,"¬":a.ORD21,"±":a.BIN01,"(":a.OPEN,"+":a.BIN01,"-":a.BIN01,"[":a.OPEN,"{":a.OPEN,"|":a.OPEN},postfix:{"!":[1,0,e.CLOSE],"&":a.ORD,"′":a.ORD02,"‾":a.WIDEACCENT,"⌉":a.CLOSE,"⌋":a.CLOSE,"⏞":a.WIDEACCENT,"⏟":a.WIDEACCENT,"♭":a.ORD02,"♮":a.ORD02,"♯":a.ORD02,"⟩":a.CLOSE,"⟯":a.CLOSE,ˆ:a.WIDEACCENT,ˇ:a.WIDEACCENT,ˉ:a.WIDEACCENT,ˊ:a.ACCENT,ˋ:a.ACCENT,"˘":a.ACCENT,"˙":a.ACCENT,"˜":a.WIDEACCENT,"̂":a.WIDEACCENT,"¨":a.ACCENT,"¯":a.WIDEACCENT,")":a.CLOSE,"]":a.CLOSE,"^":a.WIDEACCENT,_:a.WIDEACCENT,"`":a.ACCENT,"|":a.CLOSE,"}":a.CLOSE,"~":a.WIDEACCENT},infix:{"":a.ORD,"%":[3,3,e.ORD],"•":a.BIN4,"…":a.INNER,"⁄":a.TALLBIN,"⁡":a.ORD,"⁢":a.ORD,"⁣":[0,0,e.ORD,{linebreakstyle:"after",separator:!0}],"⁤":a.ORD,"←":a.WIDEREL,"↑":a.RELSTRETCH,"→":a.WIDEREL,"↓":a.RELSTRETCH,"↔":a.WIDEREL,"↕":a.RELSTRETCH,"↖":a.RELSTRETCH,"↗":a.RELSTRETCH,"↘":a.RELSTRETCH,"↙":a.RELSTRETCH,"↦":a.WIDEREL,"↩":a.WIDEREL,"↪":a.WIDEREL,"↼":a.WIDEREL,"↽":a.WIDEREL,"⇀":a.WIDEREL,"⇁":a.WIDEREL,"⇌":a.WIDEREL,"⇐":a.WIDEREL,"⇑":a.RELSTRETCH,"⇒":a.WIDEREL,"⇓":a.RELSTRETCH,"⇔":a.WIDEREL,"⇕":a.RELSTRETCH,"∈":a.REL,"∉":a.REL,"∋":a.REL,"−":a.BIN4,"∓":a.BIN4,"∕":a.TALLBIN,"∖":a.BIN4,"∗":a.BIN4,"∘":a.BIN4,"∙":a.BIN4,"∝":a.REL,"∣":a.REL,"∥":a.REL,"∧":a.BIN4,"∨":a.BIN4,"∩":a.BIN4,"∪":a.BIN4,"∼":a.REL,"≀":a.BIN4,"≃":a.REL,"≅":a.REL,"≈":a.REL,"≍":a.REL,"≐":a.REL,"≠":a.REL,"≡":a.REL,"≤":a.REL,"≥":a.REL,"≪":a.REL,"≫":a.REL,"≺":a.REL,"≻":a.REL,"⊂":a.REL,"⊃":a.REL,"⊆":a.REL,"⊇":a.REL,"⊎":a.BIN4,"⊑":a.REL,"⊒":a.REL,"⊓":a.BIN4,"⊔":a.BIN4,"⊕":a.BIN4,"⊖":a.BIN4,"⊗":a.BIN4,"⊘":a.BIN4,"⊙":a.BIN4,"⊢":a.REL,"⊣":a.REL,"⊤":a.ORD55,"⊥":a.REL,"⊨":a.REL,"⋄":a.BIN4,"⋅":a.BIN4,"⋆":a.BIN4,"⋈":a.REL,"⋮":a.ORD55,"⋯":a.INNER,"⋱":[5,5,e.INNER],"△":a.BIN4,"▵":a.BIN4,"▹":a.BIN4,"▽":a.BIN4,"▿":a.BIN4,"◃":a.BIN4,"❘":a.REL,"⟵":a.WIDEREL,"⟶":a.WIDEREL,"⟷":a.WIDEREL,"⟸":a.WIDEREL,"⟹":a.WIDEREL,"⟺":a.WIDEREL,"⟼":a.WIDEREL,"⨯":a.BIN4,"⨿":a.BIN4,"⪯":a.REL,"⪰":a.REL,"±":a.BIN4,"·":a.BIN4,"×":a.BIN4,"÷":a.BIN4,"*":a.BIN3,"+":a.BIN4,",":[0,3,e.PUNCT,{linebreakstyle:"after",separator:!0}],"-":a.BIN4,".":[3,3,e.ORD],"/":a.ORD11,":":[1,2,e.REL],";":[0,3,e.PUNCT,{linebreakstyle:"after",separator:!0}],"<":a.REL,"=":a.REL,">":a.REL,"?":[1,1,e.CLOSE],"\\":a.ORD,"^":a.ORD11,_:a.ORD11,"|":[2,2,e.ORD,{fence:!0,stretchy:!0,symmetric:!0}],"#":a.ORD,$:a.ORD,".":[0,3,e.PUNCT,{separator:!0}],ʹ:a.ORD,"̀":a.ACCENT,"́":a.ACCENT,"̃":a.WIDEACCENT,"̄":a.ACCENT,"̆":a.ACCENT,"̇":a.ACCENT,"̈":a.ACCENT,"̌":a.ACCENT,"̲":a.WIDEACCENT,"̸":a.REL4,"―":[0,0,e.ORD,{stretchy:!0}],"‗":[0,0,e.ORD,{stretchy:!0}],"†":a.BIN3,"‡":a.BIN3,"⃗":a.ACCENT,ℑ:a.ORD,ℓ:a.ORD,℘:a.ORD,ℜ:a.ORD,"∅":a.ORD,"∞":a.ORD,"⌅":a.BIN3,"⌆":a.BIN3,"⌢":a.REL4,"⌣":a.REL4,"〈":a.OPEN,"〉":a.CLOSE,"⎪":a.ORD,"⎯":[0,0,e.ORD,{stretchy:!0}],"⎰":a.OPEN,"⎱":a.CLOSE,"─":a.ORD,"◯":a.BIN3,"♠":a.ORD,"♡":a.ORD,"♢":a.ORD,"♣":a.ORD,"〈":a.OPEN,"〉":a.CLOSE,"︷":a.WIDEACCENT,"︸":a.WIDEACCENT}}},{OPTYPES:a});var i=t.mo.prototype.OPTABLE;i.infix["^"]=a.WIDEREL,i.infix._=a.WIDEREL,i.prefix["∣"]=a.OPEN,i.prefix["∥"]=a.OPEN,i.postfix["∣"]=a.CLOSE,i.postfix["∥"]=a.CLOSE}(MathJax.ElementJax.mml),MathJax.ElementJax.mml.loadComplete("jax.js"),MathJax.Hub.Register.LoadHook("[MathJax]/jax/element/mml/jax.js",(function(){var t=MathJax.ElementJax.mml,e=MathJax.Hub.config.menuSettings;t.mbase.Augment({toMathML:function(t){var e=this.inferred&&this.parent.inferRow;null==t&&(t="");var a=this.type,i=this.toMathMLattributes();if("mspace"===a)return t+"<"+a+i+" />";for(var n=[],s=this.isToken?"":t+(e?"":"  "),r=0,o=this.data.length;r<o;r++)this.data[r]?n.push(this.data[r].toMathML(s)):this.isToken||this.isChars||n.push(s+"<mrow />");return this.isToken||this.isChars?t+"<"+a+i+">"+n.join("")+"</"+a+">":e?n.join("\n"):0===n.length||1===n.length&&""===n[0]?t+"<"+a+i+" />":t+"<"+a+i+">\n"+n.join("\n")+"\n"+t+"</"+a+">"},toMathMLattributes:function(){var e="mstyle"===this.type?t.math.prototype.defaults:this.defaults,a=this.attrNames||t.copyAttributeNames,i=t.skipAttributes,n=t.copyAttributes,s=[];if("math"!==this.type||this.attr&&"xmlns"in this.attr||s.push('xmlns="http://www.w3.org/1998/Math/MathML"'),!this.attrNames)for(var r in e)i[r]||n[r]||!e.hasOwnProperty(r)||null!=this[r]&&this[r]!==e[r]&&this.Get(r,null,1)!==this[r]&&s.push(r+'="'+this.toMathMLattribute(this[r])+'"');for(var o=0,l=a.length;o<l;o++)(1!==n[a[o]]||e.hasOwnProperty(a[o]))&&(value=(this.attr||{})[a[o]],null==value&&(value=this[a[o]]),null!=value&&s.push(a[o]+'="'+this.toMathMLquote(value)+'"'));return this.toMathMLclass(s),s.length?" "+s.join(" "):""},toMathMLclass:function(a){var i=[];if(this.class&&i.push(this.class),this.isa(t.TeXAtom)&&e.texHints){var n=["ORD","OP","BIN","REL","OPEN","CLOSE","PUNCT","INNER","VCENTER"][this.texClass];n&&(i.push("MJX-TeXAtom-"+n),"OP"!==n||this.movablelimits||i.push("MJX-fixedlimits"))}this.mathvariant&&this.toMathMLvariants[this.mathvariant]&&i.push("MJX"+this.mathvariant),this.variantForm&&i.push("MJX-variant"),i.length&&a.unshift('class="'+this.toMathMLquote(i.join(" "))+'"')},toMathMLattribute:function(t){return"string"==typeof t&&t.replace(/ /g,"").match(/^(([-+])?(\d+(\.\d*)?|\.\d+))mu$/)?(RegExp.$2||"")+(1/18*RegExp.$3).toFixed(3).replace(/\.?0+$/,"")+"em":this.toMathMLvariants[t]?this.toMathMLvariants[t]:this.toMathMLquote(t)},toMathMLvariants:{"-tex-caligraphic":t.VARIANT.SCRIPT,"-tex-caligraphic-bold":t.VARIANT.BOLDSCRIPT,"-tex-oldstyle":t.VARIANT.NORMAL,"-tex-oldstyle-bold":t.VARIANT.BOLD,"-tex-mathit":t.VARIANT.ITALIC},toMathMLquote:function(t){for(var e=0,a=(t=String(t).split("")).length;e<a;e++){var i=t[e].charCodeAt(0);if(i<=55295||57344<=i)if(i>126||i<32&&10!==i&&13!==i&&9!==i)t[e]="&#x"+i.toString(16).toUpperCase()+";";else{var n={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"}[t[e]];n&&(t[e]=n)}else if(e+1<a){var s=t[e+1].charCodeAt(0)-56320+(i-55296<<10)+65536;t[e]="&#x"+s.toString(16).toUpperCase()+";",t[e+1]="",e++}else t[e]=""}return t.join("")}}),t.math.Augment({toMathML:function(t,a){var i;null==t&&(t=""),a&&a.originalText&&e.semantics&&(i=MathJax.InputJax[a.inputJax].annotationEncoding);for(var n=this.data[0]&&this.data[0].data.length>1,s=this.type,r=this.toMathMLattributes(),o=[],l=t+(i?"  "+(n?"  ":""):"")+"  ",h=0,u=this.data.length;h<u;h++)this.data[h]?o.push(this.data[h].toMathML(l)):o.push(l+"<mrow />");if(0===o.length||1===o.length&&""===o[0]){if(!i)return"<"+s+r+" />";o.push(l+"<mrow />")}if(i){n&&(o.unshift(t+"    <mrow>"),o.push(t+"    </mrow>")),o.unshift(t+"  <semantics>");var c=a.originalText.replace(/[&<>]/g,(function(t){return{">":"&gt;","<":"&lt;","&":"&amp;"}[t]}));o.push(t+'    <annotation encoding="'+this.toMathMLquote(i)+'">'+c+"</annotation>"),o.push(t+"  </semantics>")}return t+"<"+s+r+">\n"+o.join("\n")+"\n"+t+"</"+s+">"}}),t.msubsup.Augment({toMathML:function(t){var e=this.type;null==this.data[this.sup]&&(e="msub"),null==this.data[this.sub]&&(e="msup");var a=this.toMathMLattributes();delete this.data[0].inferred;for(var i=[],n=0,s=this.data.length;n<s;n++)this.data[n]&&i.push(this.data[n].toMathML(t+"  "));return t+"<"+e+a+">\n"+i.join("\n")+"\n"+t+"</"+e+">"}}),t.munderover.Augment({toMathML:function(e){var a=this.type,i=this.data[this.base];i&&i.isa(t.TeXAtom)&&i.movablelimits&&!i.Get("displaystyle")?(type="msubsup",null==this.data[this.under]&&(a="msup"),null==this.data[this.over]&&(a="msub")):(null==this.data[this.under]&&(a="mover"),null==this.data[this.over]&&(a="munder"));var n=this.toMathMLattributes();delete this.data[0].inferred;for(var s=[],r=0,o=this.data.length;r<o;r++)this.data[r]&&s.push(this.data[r].toMathML(e+"  "));return e+"<"+a+n+">\n"+s.join("\n")+"\n"+e+"</"+a+">"}}),t.TeXAtom.Augment({toMathML:function(t){var e=this.toMathMLattributes();return e||1!==this.data[0].data.length?t+"<mrow"+e+">\n"+this.data[0].toMathML(t+"  ")+"\n"+t+"</mrow>":t.substr(2)+this.data[0].toMathML(t)}}),t.chars.Augment({toMathML:function(t){return(t||"")+this.toMathMLquote(this.toString())}}),t.entity.Augment({toMathML:function(t){return(t||"")+"&"+this.toMathMLquote(this.data[0])+";\x3c!-- "+this.toString()+" --\x3e"}}),t.xml.Augment({toMathML:function(t){return(t||"")+this.toString()}}),MathJax.Hub.Register.StartupHook("TeX mathchoice Ready",(function(){t.TeXmathchoice.Augment({toMathML:function(t){return this.Core().toMathML(t)}})})),MathJax.Hub.Startup.signal.Post("toMathML Ready")})),MathJax.Ajax.loadComplete("[MathJax]/extensions/toMathML.js"),function(t,e){var a=t.CombineConfig("TeX.noErrors",{disabled:!1,multiLine:!0,inlineDelimiters:["",""],style:{"font-size":"90%","text-align":"left",color:"black",padding:"1px 3px",border:"1px solid"}});MathJax.Extension["TeX/noErrors"]={version:"2.7.9",config:a},t.Register.StartupHook("TeX Jax Ready",(function(){var e=MathJax.InputJax.TeX.formatError;MathJax.InputJax.TeX.Augment({formatError:function(i,n,s,r){if(a.disabled)return e.apply(this,arguments);var o=i.message.replace(/\n.*/,"");t.signal.Post(["TeX Jax - parse error",o,n,s,r]);var l=a.inlineDelimiters,h=s||a.multiLine;return s||(n=l[0]+n+l[1]),n=h?n.replace(/ /g," "):n.replace(/\n/g," "),MathJax.ElementJax.mml.merror(n).With({isError:!0,multiLine:h})}})})),t.Register.StartupHook("HTML-CSS Jax Config",(function(){t.Config({"HTML-CSS":{styles:{".MathJax .noError":t.Insert({"vertical-align":t.Browser.isMSIE&&a.multiLine?"-2px":""},a.style)}}})})),t.Register.StartupHook("HTML-CSS Jax Ready",(function(){var t=MathJax.ElementJax.mml,e=MathJax.OutputJax["HTML-CSS"],a=t.math.prototype.toHTML,i=t.merror.prototype.toHTML;t.math.Augment({toHTML:function(t,e){var i=this.data[0];return i&&i.data[0]&&i.data[0].isError?(t.style.fontSize="",(t=this.HTMLcreateSpan(t)).bbox=i.data[0].toHTML(t).bbox):t=a.apply(this,arguments),t}}),t.merror.Augment({toHTML:function(t){if(!this.isError)return i.apply(this,arguments);(t=this.HTMLcreateSpan(t)).className="noError",this.multiLine&&(t.style.display="inline-block");for(var a=this.data[0].data[0].data.join("").split(/\n/),n=0,s=a.length;n<s;n++)e.addText(t,a[n]),n!==s-1&&e.addElement(t,"br",{isMathJax:!0});var r=e.getHD(t.parentNode),o=e.getW(t.parentNode);if(s>1){var l=(r.h+r.d)/2,h=e.TeX.x_height/2;t.parentNode.style.verticalAlign=e.Em(r.d+(h-l)),r.h=h+l,r.d=l-h}return t.bbox={h:r.h,d:r.d,w:o,lw:0,rw:o},t}})})),t.Register.StartupHook("SVG Jax Config",(function(){t.Config({SVG:{styles:{".MathJax_SVG .noError":t.Insert({"vertical-align":t.Browser.isMSIE&&a.multiLine?"-2px":""},a.style)}}})})),t.Register.StartupHook("SVG Jax Ready",(function(){var t=MathJax.ElementJax.mml,a=t.math.prototype.toSVG,i=t.merror.prototype.toSVG;t.math.Augment({toSVG:function(t,e){var i=this.data[0];return i&&i.data[0]&&i.data[0].isError?i.data[0].toSVG(t):a.apply(this,arguments)}}),t.merror.Augment({toSVG:function(t){if(!this.isError||"math"!==this.Parent().type)return i.apply(this,arguments);t=e.addElement(t,"span",{className:"noError",isMathJax:!0}),this.multiLine&&(t.style.display="inline-block");for(var a=this.data[0].data[0].data.join("").split(/\n/),n=0,s=a.length;n<s;n++)e.addText(t,a[n]),n!==s-1&&e.addElement(t,"br",{isMathJax:!0});if(s>1){var r=t.offsetHeight/2;t.style.verticalAlign=r/s-r+"px"}return t}})})),t.Register.StartupHook("NativeMML Jax Ready",(function(){var t=MathJax.ElementJax.mml,e=MathJax.Extension["TeX/noErrors"].config,a=t.math.prototype.toNativeMML,i=t.merror.prototype.toNativeMML;t.math.Augment({toNativeMML:function(t){var e=this.data[0];return e&&e.data[0]&&e.data[0].isError?e.data[0].toNativeMML(t):a.apply(this,arguments)}}),t.merror.Augment({toNativeMML:function(t){if(!this.isError)return i.apply(this,arguments);t=t.appendChild(document.createElement("span"));for(var a=this.data[0].data[0].data.join("").split(/\n/),n=0,s=a.length;n<s;n++)t.appendChild(document.createTextNode(a[n])),n!==s-1&&t.appendChild(document.createElement("br"));for(var r in this.multiLine&&(t.style.display="inline-block",s>1&&(t.style.verticalAlign="middle")),e.style)if(e.style.hasOwnProperty(r)){var o=r.replace(/-./g,(function(t){return t.charAt(1).toUpperCase()}));t.style[o]=e.style[r]}return t}})})),t.Register.StartupHook("PreviewHTML Jax Config",(function(){t.Config({PreviewHTML:{styles:{".MathJax_PHTML .noError":t.Insert({"vertical-align":t.Browser.isMSIE&&a.multiLine?"-2px":""},a.style)}}})})),t.Register.StartupHook("PreviewHTML Jax Ready",(function(){var t=MathJax.ElementJax.mml,e=MathJax.HTML,a=t.merror.prototype.toPreviewHTML;t.merror.Augment({toPreviewHTML:function(t){if(!this.isError)return a.apply(this,arguments);(t=this.PHTMLcreateSpan(t)).className="noError",this.multiLine&&(t.style.display="inline-block");for(var i=this.data[0].data[0].data.join("").split(/\n/),n=0,s=i.length;n<s;n++)e.addText(t,i[n]),n!==s-1&&e.addElement(t,"br",{isMathJax:!0});return t}})})),t.Register.StartupHook("CommonHTML Jax Config",(function(){t.Config({CommonHTML:{styles:{".mjx-chtml .mjx-noError":t.Insert({"line-height":1.2,"vertical-align":t.Browser.isMSIE&&a.multiLine?"-2px":""},a.style)}}})})),t.Register.StartupHook("CommonHTML Jax Ready",(function(){var t=MathJax.ElementJax.mml,e=MathJax.OutputJax.CommonHTML,a=MathJax.HTML,i=t.merror.prototype.toCommonHTML;t.merror.Augment({toCommonHTML:function(t){if(!this.isError)return i.apply(this,arguments);t=e.addElement(t,"mjx-noError");for(var n=this.data[0].data[0].data.join("").split(/\n/),s=0,r=n.length;s<r;s++)a.addText(t,n[s]),s!==r-1&&e.addElement(t,"br",{isMathJax:!0});var o=this.CHTML=e.BBOX.zero();if(o.w=t.offsetWidth/e.em,r>1){var l=1.2*r/2;o.h=l+.25,o.d=l-.25,t.style.verticalAlign=e.Em(.45-l)}else o.h=1,o.d=.2+2/e.em;return t}})})),t.Startup.signal.Post("TeX noErrors Ready")}(MathJax.Hub,MathJax.HTML),MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/noErrors.js"),MathJax.Extension["TeX/noUndefined"]={version:"2.7.9",config:MathJax.Hub.CombineConfig("TeX.noUndefined",{disabled:!1,attributes:{mathcolor:"red"}})},MathJax.Hub.Register.StartupHook("TeX Jax Ready",(function(){var t=MathJax.Extension["TeX/noUndefined"].config,e=MathJax.ElementJax.mml,a=MathJax.InputJax.TeX.Parse.prototype.csUndefined;MathJax.InputJax.TeX.Parse.Augment({csUndefined:function(i){if(t.disabled)return a.apply(this,arguments);MathJax.Hub.signal.Post(["TeX Jax - undefined control sequence",i]),this.Push(e.mtext(i).With(t.attributes))}}),MathJax.Hub.Startup.signal.Post("TeX noUndefined Ready")})),MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/noUndefined.js"),function(t,e,a){var i,n=function(t){return MathJax.Localization._.apply(MathJax.Localization,[["TeX",t]].concat([].slice.call(arguments,1)))},s=MathJax.Object.isArray,r=MathJax.Object.Subclass({Init:function(t,e){this.global={isInner:e},this.data=[o.start(this.global)],t&&(this.data[0].env=t),this.env=this.data[0].env},Push:function(){var t,e,a,n;for(t=0,e=arguments.length;t<e;t++)if(a=arguments[t])if(a instanceof i.mbase&&(a=o.mml(a)),a.global=this.global,(n=!this.data.length||this.Top().checkItem(a))instanceof Array)this.Pop(),this.Push.apply(this,n);else if(n instanceof o)this.Pop(),this.Push(n);else if(n)if(this.data.push(a),a.env){if(!1!==a.copyEnv)for(var s in this.env)this.env.hasOwnProperty(s)&&(a.env[s]=this.env[s]);this.env=a.env}else a.env=this.env},Pop:function(){var t=this.data.pop();return t.isOpen||delete t.env,this.env=this.data.length?this.Top().env:{},t},Top:function(t){return null==t&&(t=1),this.data.length<t?null:this.data[this.data.length-t]},Prev:function(t){var e=this.Top();return t?e.data[e.data.length-1]:e.Pop()},toString:function(){return"stack[\n  "+this.data.join("\n  ")+"\n]"}}),o=r.Item=MathJax.Object.Subclass({type:"base",endError:["ExtraOpenMissingClose","Extra open brace or missing close brace"],closeError:["ExtraCloseMissingOpen","Extra close brace or missing open brace"],rightError:["MissingLeftExtraRight","Missing \\left or extra \\right"],Init:function(){this.isOpen&&(this.env={}),this.data=[],this.Push.apply(this,arguments)},Push:function(){this.data.push.apply(this.data,arguments)},Pop:function(){return this.data.pop()},mmlData:function(t,e){return null==t&&(t=!0),1!==this.data.length||e?i.mrow.apply(i,this.data).With(t?{inferred:!0}:{}):this.data[0]},checkItem:function(e){if("over"===e.type&&this.isOpen&&(e.num=this.mmlData(!1),this.data=[]),"cell"===e.type&&this.isOpen){if(e.linebreak)return!1;t.Error(["Misplaced","Misplaced %1",e.name])}return e.isClose&&this[e.type+"Error"]&&t.Error(this[e.type+"Error"]),!e.isNotStack||(this.Push(e.data[0]),!1)},With:function(t){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);return this},toString:function(){return this.type+"["+this.data.join("; ")+"]"}});o.start=o.Subclass({type:"start",isOpen:!0,Init:function(t){this.SUPER(arguments).Init.call(this),this.global=t},checkItem:function(t){return"stop"===t.type?o.mml(this.mmlData()):this.SUPER(arguments).checkItem.call(this,t)}}),o.stop=o.Subclass({type:"stop",isClose:!0}),o.open=o.Subclass({type:"open",isOpen:!0,stopError:["ExtraOpenMissingClose","Extra open brace or missing close brace"],checkItem:function(t){if("close"===t.type){var e=this.mmlData();return o.mml(i.TeXAtom(e))}return this.SUPER(arguments).checkItem.call(this,t)}}),o.close=o.Subclass({type:"close",isClose:!0}),o.prime=o.Subclass({type:"prime",checkItem:function(t){return"msubsup"!==this.data[0].type?[i.msup(this.data[0],this.data[1]),t]:(this.data[0].SetData(this.data[0].sup,this.data[1]),[this.data[0],t])}}),o.subsup=o.Subclass({type:"subsup",stopError:["MissingScript","Missing superscript or subscript argument"],supError:["MissingOpenForSup","Missing open brace for superscript"],subError:["MissingOpenForSub","Missing open brace for subscript"],checkItem:function(e){return"open"===e.type||"left"===e.type||("mml"===e.type?(this.primes&&(2!==this.position?this.data[0].SetData(2,this.primes):e.data[0]=i.mrow(this.primes.With({variantForm:!0}),e.data[0])),this.data[0].SetData(this.position,e.data[0]),null!=this.movesupsub&&(this.data[0].movesupsub=this.movesupsub),o.mml(this.data[0])):void(this.SUPER(arguments).checkItem.call(this,e)&&t.Error(this[["","subError","supError"][this.position]])))},Pop:function(){}}),o.over=o.Subclass({type:"over",isClose:!0,name:"\\over",checkItem:function(e,a){if("over"===e.type&&t.Error(["AmbiguousUseOf","Ambiguous use of %1",e.name]),e.isClose){var n=i.mfrac(this.num,this.mmlData(!1));return null!=this.thickness&&(n.linethickness=this.thickness),(this.open||this.close)&&(n.texWithDelims=!0,n=t.fixedFence(this.open,n,this.close)),[o.mml(n),e]}return this.SUPER(arguments).checkItem.call(this,e)},toString:function(){return"over["+this.num+" / "+this.data.join("; ")+"]"}}),o.left=o.Subclass({type:"left",isOpen:!0,delim:"(",stopError:["ExtraLeftMissingRight","Extra \\left or missing \\right"],checkItem:function(e){return"right"===e.type?o.mml(t.fenced(this.delim,this.mmlData(),e.delim)):this.SUPER(arguments).checkItem.call(this,e)}}),o.right=o.Subclass({type:"right",isClose:!0,delim:")"}),o.begin=o.Subclass({type:"begin",isOpen:!0,checkItem:function(e){return"end"===e.type?(e.name!==this.name&&t.Error(["EnvBadEnd","\\begin{%1} ended with \\end{%2}",this.name,e.name]),this.end?this.parse[this.end].call(this.parse,this,this.data):o.mml(this.mmlData())):("stop"===e.type&&t.Error(["EnvMissingEnd","Missing \\end{%1}",this.name]),this.SUPER(arguments).checkItem.call(this,e))}}),o.end=o.Subclass({type:"end",isClose:!0}),o.style=o.Subclass({type:"style",checkItem:function(t){if(!t.isClose)return this.SUPER(arguments).checkItem.call(this,t);var e=i.mstyle.apply(i,this.data).With(this.styles);return[o.mml(e),t]}}),o.position=o.Subclass({type:"position",checkItem:function(e){if(e.isClose&&t.Error(["MissingBoxFor","Missing box for %1",this.name]),e.isNotStack){var a=e.mmlData();switch(this.move){case"vertical":return a=i.mpadded(a).With({height:this.dh,depth:this.dd,voffset:this.dh}),[o.mml(a)];case"horizontal":return[o.mml(this.left),e,o.mml(this.right)]}}return this.SUPER(arguments).checkItem.call(this,e)}}),o.array=o.Subclass({type:"array",isOpen:!0,copyEnv:!1,arraydef:{},Init:function(){this.table=[],this.row=[],this.frame=[],this.hfill=[],this.SUPER(arguments).Init.apply(this,arguments)},checkItem:function(e){if(e.isClose&&"over"!==e.type){if(e.isEntry)return this.EndEntry(),this.clearEnv(),!1;if(e.isCR)return this.EndEntry(),this.EndRow(),this.clearEnv(),!1;this.EndTable(),this.clearEnv();var a=this.arraydef.scriptlevel;delete this.arraydef.scriptlevel;var n=i.mtable.apply(i,this.table).With(this.arraydef);if(4===this.frame.length?n.frame=this.frame.dashed?"dashed":"solid":this.frame.length&&(n.hasFrame=!0,this.arraydef.rowlines&&(this.arraydef.rowlines=this.arraydef.rowlines.replace(/none( none)+$/,"none")),n=i.menclose(n).With({notation:this.frame.join(" "),isFrame:!0}),"none"==(this.arraydef.columnlines||"none")&&"none"==(this.arraydef.rowlines||"none")||(n.padding=0)),a&&(n=i.mstyle(n).With({scriptlevel:a})),(this.open||this.close)&&(n=t.fenced(this.open,n,this.close)),n=o.mml(n),this.requireClose){if("close"===e.type)return n;t.Error(["MissingCloseBrace","Missing close brace"])}return[n,e]}return this.SUPER(arguments).checkItem.call(this,e)},EndEntry:function(){var t=i.mtd.apply(i,this.data);this.hfill.length&&(0===this.hfill[0]&&(t.columnalign="right"),this.hfill[this.hfill.length-1]===this.data.length&&(t.columnalign=t.columnalign?"center":"left")),this.row.push(t),this.data=[],this.hfill=[]},EndRow:function(){var t=i.mtr;this.isNumbered&&3===this.row.length&&(this.row.unshift(this.row.pop()),t=i.mlabeledtr),this.table.push(t.apply(i,this.row)),this.row=[]},EndTable:function(){(this.data.length||this.row.length)&&(this.EndEntry(),this.EndRow()),this.checkLines()},checkLines:function(){if(this.arraydef.rowlines){var t=this.arraydef.rowlines.split(/ /);t.length===this.table.length?(this.frame.push("bottom"),t.pop(),this.arraydef.rowlines=t.join(" ")):t.length<this.table.length-1&&(this.arraydef.rowlines+=" none")}if(this.rowspacing){for(var e=this.arraydef.rowspacing.split(/ /);e.length<this.table.length;)e.push(this.rowspacing+"em");this.arraydef.rowspacing=e.join(" ")}},clearEnv:function(){for(var t in this.env)this.env.hasOwnProperty(t)&&delete this.env[t]}}),o.cell=o.Subclass({type:"cell",isClose:!0}),o.mml=o.Subclass({type:"mml",isNotStack:!0,Add:function(){return this.data.push.apply(this.data,arguments),this}}),o.fn=o.Subclass({type:"fn",checkItem:function(t){if(this.data[0]){if(t.isOpen)return!0;if("fn"!==t.type){if("mml"!==t.type||!t.data[0])return[this.data[0],t];if(t.data[0].isa(i.mspace))return[this.data[0],t];var e=t.data[0];if(e.isEmbellished()&&(e=e.CoreMO()),[0,0,1,1,0,1,1,0,0,0][e.Get("texClass")])return[this.data[0],t]}return[this.data[0],i.mo(i.entity("#x2061")).With({texClass:i.TEXCLASS.NONE}),t]}return this.SUPER(arguments).checkItem.apply(this,arguments)}}),o.not=o.Subclass({type:"not",checkItem:function(t){var e,a;return"open"===t.type||"left"===t.type||("mml"===t.type&&t.data[0].type.match(/^(mo|mi|mtext)$/)&&1===(a=(e=t.data[0]).data.join("")).length&&!e.movesupsub&&1===e.data.length?((a=o.not.remap[a.charCodeAt(0)])?e.SetData(0,i.chars(String.fromCharCode(a))):e.Append(i.chars("̸")),t):(e=i.mpadded(i.mtext("⧸")).With({width:0}),[e=i.TeXAtom(e).With({texClass:i.TEXCLASS.REL}),t]))}}),o.not.remap={8592:8602,8594:8603,8596:8622,8656:8653,8658:8655,8660:8654,8712:8713,8715:8716,8739:8740,8741:8742,8764:8769,126:8769,8771:8772,8773:8775,8776:8777,8781:8813,61:8800,8801:8802,60:8814,62:8815,8804:8816,8805:8817,8818:8820,8819:8821,8822:8824,8823:8825,8826:8832,8827:8833,8834:8836,8835:8837,8838:8840,8839:8841,8866:8876,8872:8877,8873:8878,8875:8879,8828:8928,8829:8929,8849:8930,8850:8931,8882:8938,8883:8939,8884:8940,8885:8941,8707:8708},o.dots=o.Subclass({type:"dots",checkItem:function(t){if("open"===t.type||"left"===t.type)return!0;var e=this.ldots;if("mml"===t.type&&t.data[0].isEmbellished()){var a=t.data[0].CoreMO().Get("texClass");a!==i.TEXCLASS.BIN&&a!==i.TEXCLASS.REL||(e=this.cdots)}return[e,t]}});var l={Add:function(t,e,a){for(var i in e||(e=this),t)t.hasOwnProperty(i)&&("object"!=typeof t[i]||s(t[i])||"object"!=typeof e[i]&&"function"!=typeof e[i]?e[i]&&e[i].isUser&&a||(e[i]=t[i]):this.Add(t[i],e[i],t[i],a));return e}},h=MathJax.Object.Subclass({Init:function(e,a){var i;if(this.string=e,this.i=0,this.macroCount=0,a)for(var n in i={},a)a.hasOwnProperty(n)&&(i[n]=a[n]);this.stack=t.Stack(i,!!a),this.Parse(),this.Push(o.stop())},Parse:function(){for(var t,e;this.i<this.string.length;)(e=(t=this.string.charAt(this.i++)).charCodeAt(0))>=55296&&e<56320&&(t+=this.string.charAt(this.i++)),l.special.hasOwnProperty(t)?this[l.special[t]](t):l.letter.test(t)?this.Variable(t):l.digit.test(t)?this.Number(t):this.Other(t)},Push:function(){this.stack.Push.apply(this.stack,arguments)},mml:function(){return"mml"!==this.stack.Top().type?null:this.stack.Top().data[0]},mmlToken:function(t){return t},ControlSequence:function(t){var e=this.GetCS(),a=this.csFindMacro(e);if(a){s(a)||(a=[a]);var i=a[0];i instanceof Function||(i=this[i]),i.apply(this,[t+e].concat(a.slice(1)))}else l.mathchar0mi.hasOwnProperty(e)?this.csMathchar0mi(e,l.mathchar0mi[e]):l.mathchar0mo.hasOwnProperty(e)?this.csMathchar0mo(e,l.mathchar0mo[e]):l.mathchar7.hasOwnProperty(e)?this.csMathchar7(e,l.mathchar7[e]):l.delimiter.hasOwnProperty("\\"+e)?this.csDelimiter(e,l.delimiter["\\"+e]):this.csUndefined(t+e)},csFindMacro:function(t){return l.macros.hasOwnProperty(t)?l.macros[t]:null},csMathchar0mi:function(t,e){var a={mathvariant:i.VARIANT.ITALIC};s(e)&&(a=e[1],e=e[0]),this.Push(this.mmlToken(i.mi(i.entity("#x"+e)).With(a)))},csMathchar0mo:function(t,e){var a={stretchy:!1};s(e)&&((a=e[1]).stretchy=!1,e=e[0]),this.Push(this.mmlToken(i.mo(i.entity("#x"+e)).With(a)))},csMathchar7:function(t,e){var a={mathvariant:i.VARIANT.NORMAL};s(e)&&(a=e[1],e=e[0]),this.stack.env.font&&(a.mathvariant=this.stack.env.font),this.Push(this.mmlToken(i.mi(i.entity("#x"+e)).With(a)))},csDelimiter:function(t,e){var a={};s(e)&&(a=e[1],e=e[0]),e=4===e.length?i.entity("#x"+e):i.chars(e),this.Push(this.mmlToken(i.mo(e).With({fence:!1,stretchy:!1}).With(a)))},csUndefined:function(e){t.Error(["UndefinedControlSequence","Undefined control sequence %1",e])},Variable:function(t){var e={};this.stack.env.font&&(e.mathvariant=this.stack.env.font),this.Push(this.mmlToken(i.mi(i.chars(t)).With(e)))},Number:function(t){var e,a=this.string.slice(this.i-1).match(l.number);a?(e=i.mn(a[0].replace(/[{}]/g,"")),this.i+=a[0].length-1):e=i.mo(i.chars(t)),this.stack.env.font&&(e.mathvariant=this.stack.env.font),this.Push(this.mmlToken(e))},Open:function(t){this.Push(o.open())},Close:function(t){this.Push(o.close())},Tilde:function(t){this.Push(i.mtext(i.chars(" ")))},Space:function(t){},Superscript:function(e){this.GetNext().match(/\d/)&&(this.string=this.string.substr(0,this.i+1)+" "+this.string.substr(this.i+1));var a,n,s=this.stack.Top();"prime"===s.type?(n=s.data[0],a=s.data[1],this.stack.Pop()):(n=this.stack.Prev())||(n=i.mi("")),n.isEmbellishedWrapper&&(n=n.data[0].data[0]);var r=n.movesupsub,l=n.sup;("msubsup"===n.type&&n.data[n.sup]||"munderover"===n.type&&n.data[n.over]&&!n.subsupOK)&&t.Error(["DoubleExponent","Double exponent: use braces to clarify"]),"msubsup"!==n.type&&(r?(("munderover"!==n.type||n.data[n.over])&&(n.movablelimits&&n.isa(i.mi)&&(n=this.mi2mo(n)),n=i.munderover(n,null,null).With({movesupsub:!0})),l=n.over):l=(n=i.msubsup(n,null,null)).sup),this.Push(o.subsup(n).With({position:l,primes:a,movesupsub:r}))},Subscript:function(e){this.GetNext().match(/\d/)&&(this.string=this.string.substr(0,this.i+1)+" "+this.string.substr(this.i+1));var a,n,s=this.stack.Top();"prime"===s.type?(n=s.data[0],a=s.data[1],this.stack.Pop()):(n=this.stack.Prev())||(n=i.mi("")),n.isEmbellishedWrapper&&(n=n.data[0].data[0]);var r=n.movesupsub,l=n.sub;("msubsup"===n.type&&n.data[n.sub]||"munderover"===n.type&&n.data[n.under]&&!n.subsupOK)&&t.Error(["DoubleSubscripts","Double subscripts: use braces to clarify"]),"msubsup"!==n.type&&(r?(("munderover"!==n.type||n.data[n.under])&&(n.movablelimits&&n.isa(i.mi)&&(n=this.mi2mo(n)),n=i.munderover(n,null,null).With({movesupsub:!0})),l=n.under):l=(n=i.msubsup(n,null,null)).sub),this.Push(o.subsup(n).With({position:l,primes:a,movesupsub:r}))},PRIME:"′",SMARTQUOTE:"’",Prime:function(e){var a=this.stack.Prev();a||(a=i.mi()),"msubsup"===a.type&&a.data[a.sup]&&t.Error(["DoubleExponentPrime","Prime causes double exponent: use braces to clarify"]);var n="";this.i--;do{n+=this.PRIME,this.i++,e=this.GetNext()}while("'"===e||e===this.SMARTQUOTE);n=["","′","″","‴","⁗"][n.length]||n,this.Push(o.prime(a,this.mmlToken(i.mo(n))))},mi2mo:function(t){var e,a=i.mo();for(e in a.Append.apply(a,t.data),a.defaults)a.defaults.hasOwnProperty(e)&&null!=t[e]&&(a[e]=t[e]);for(e in i.copyAttributes)i.copyAttributes.hasOwnProperty(e)&&null!=t[e]&&(a[e]=t[e]);return a.lspace=a.rspace="0",a.useMMLspacing&=~(a.SPACE_ATTR.lspace|a.SPACE_ATTR.rspace),a},Comment:function(t){for(;this.i<this.string.length&&"\n"!=this.string.charAt(this.i);)this.i++},Hash:function(e){t.Error(["CantUseHash1","You can't use 'macro parameter character #' in math mode"])},Other:function(t){var e,a;this.stack.env.font&&(e={mathvariant:this.stack.env.font}),l.remap.hasOwnProperty(t)?(t=l.remap[t],s(t)&&(e=t[1],t=t[0]),a=i.mo(i.entity("#x"+t)).With(e)):a=i.mo(t).With(e),a.autoDefault("stretchy",!0)&&(a.stretchy=!1),""==a.autoDefault("texClass",!0)&&(a=i.TeXAtom(a)),this.Push(this.mmlToken(a))},SetFont:function(t,e){this.stack.env.font=e},SetStyle:function(t,e,a,i){this.stack.env.style=e,this.stack.env.level=i,this.Push(o.style().With({styles:{displaystyle:a,scriptlevel:i}}))},SetSize:function(t,e){this.stack.env.size=e,this.Push(o.style().With({styles:{mathsize:e+"em"}}))},Color:function(t){var e=this.GetArgument(t),a=this.stack.env.color;this.stack.env.color=e;var n=this.ParseArg(t);a?this.stack.env.color=a:delete this.stack.env.color,this.Push(i.mstyle(n).With({mathcolor:e}))},Spacer:function(t,e){this.Push(i.mspace().With({width:e,mathsize:i.SIZE.NORMAL,scriptlevel:0}))},LeftRight:function(t){this.Push(o[t.substr(1)]().With({delim:this.GetDelimiter(t)}))},Middle:function(e){var a=this.GetDelimiter(e);this.Push(i.TeXAtom().With({texClass:i.TEXCLASS.CLOSE})),"left"!==this.stack.Top().type&&t.Error(["MisplacedMiddle","%1 must be within \\left and \\right",e]),this.Push(i.mo(a).With({stretchy:!0})),this.Push(i.TeXAtom().With({texClass:i.TEXCLASS.OPEN}))},NamedFn:function(t,e){e||(e=t.substr(1));var a=i.mi(e).With({texClass:i.TEXCLASS.OP});this.Push(o.fn(this.mmlToken(a)))},NamedOp:function(t,e){e||(e=t.substr(1)),e=e.replace(/&thinsp;/," ");var a=i.mo(e).With({movablelimits:!0,movesupsub:!0,form:i.FORM.PREFIX,texClass:i.TEXCLASS.OP});this.Push(this.mmlToken(a))},Limits:function(e,a){var n=this.stack.Prev("nopop");(!n||n.Get("texClass")!==i.TEXCLASS.OP&&null==n.movesupsub)&&t.Error(["MisplacedLimits","%1 is allowed only on operators",e]);var s=this.stack.Top();"munderover"!==n.type||a?"msubsup"===n.type&&a&&(n=s.data[s.data.length-1]=i.munderover.apply(i.underover,n.data)):n=s.data[s.data.length-1]=i.msubsup.apply(i.subsup,n.data),n.movesupsub=!!a,n.Core().movablelimits=!1,n.movablelimits&&(n.movablelimits=!1)},Over:function(t,e,a){var i=o.over().With({name:t});e||a?(i.open=e,i.close=a):t.match(/withdelims$/)&&(i.open=this.GetDelimiter(t),i.close=this.GetDelimiter(t)),t.match(/^\\above/)?i.thickness=this.GetDimen(t):(t.match(/^\\atop/)||e||a)&&(i.thickness=0),this.Push(i)},Frac:function(t){var e=this.ParseArg(t),a=this.ParseArg(t);this.Push(i.mfrac(e,a))},Sqrt:function(e){var a=this.GetBrackets(e),n=this.GetArgument(e);"\\frac"===n&&(n+="{"+this.GetArgument(n)+"}{"+this.GetArgument(n)+"}");var s=t.Parse(n,this.stack.env).mml();s=a?i.mroot(s,this.parseRoot(a)):i.msqrt.apply(i,s.array()),this.Push(s)},Root:function(t){var e=this.GetUpTo(t,"\\of"),a=this.ParseArg(t);this.Push(i.mroot(a,this.parseRoot(e)))},parseRoot:function(e){var a=this.stack.env,n=a.inRoot;a.inRoot=!0;var s=t.Parse(e,a);e=s.mml();var r=s.stack.global;return(r.leftRoot||r.upRoot)&&(e=i.mpadded(e),r.leftRoot&&(e.width=r.leftRoot),r.upRoot&&(e.voffset=r.upRoot,e.height=r.upRoot)),a.inRoot=n,e},MoveRoot:function(e,a){this.stack.env.inRoot||t.Error(["MisplacedMoveRoot","%1 can appear only within a root",e]),this.stack.global[a]&&t.Error(["MultipleMoveRoot","Multiple use of %1",e]);var i=this.GetArgument(e);i.match(/-?[0-9]+/)||t.Error(["IntegerArg","The argument to %1 must be an integer",e]),"-"!==(i=i/15+"em").substr(0,1)&&(i="+"+i),this.stack.global[a]=i},Accent:function(t,e,a){var n=this.ParseArg(t),s={accent:!0};this.stack.env.font&&(s.mathvariant=this.stack.env.font);var r=this.mmlToken(i.mo(i.entity("#x"+e)).With(s));r.stretchy=!!a;var o=n.isEmbellished()?n.CoreMO():n;o.isa(i.mo)&&(o.movablelimits=!1),this.Push(i.TeXAtom(i.munderover(n,null,r).With({accent:!0})))},UnderOver:function(t,e,a,n){var s={o:"over",u:"under"}[t.charAt(1)],r=this.ParseArg(t);r.Get("movablelimits")&&(r.movablelimits=!1),r.isa(i.munderover)&&r.isEmbellished()&&(r.Core().With({lspace:0,rspace:0}),r=i.mrow(i.mo().With({rspace:0}),r));var o=i.munderover(r,null,null);o.SetData(o[s],this.mmlToken(i.mo(i.entity("#x"+e)).With({stretchy:!0,accent:!n}))),a&&(o=i.TeXAtom(o).With({texClass:i.TEXCLASS.OP,movesupsub:!0})),this.Push(o.With({subsupOK:!0}))},Overset:function(t){var e=this.ParseArg(t),a=this.ParseArg(t);a.movablelimits=!1,this.Push(i.mover(a,e))},Underset:function(t){var e=this.ParseArg(t),a=this.ParseArg(t);a.movablelimits=!1,this.Push(i.munder(a,e))},TeXAtom:function(e,a){var n,s={texClass:a};if(a==i.TEXCLASS.OP){s.movesupsub=s.movablelimits=!0;var r=this.GetArgument(e),l=r.match(/^\s*\\rm\s+([a-zA-Z0-9 ]+)$/);l?(s.mathvariant=i.VARIANT.NORMAL,n=o.fn(this.mmlToken(i.mi(l[1]).With(s)))):n=o.fn(i.TeXAtom(t.Parse(r,this.stack.env).mml()).With(s))}else n=i.TeXAtom(this.ParseArg(e)).With(s);this.Push(n)},MmlToken:function(e){var a,n=this.GetArgument(e),s=this.GetBrackets(e,"").replace(/^\s+/,""),r=this.GetArgument(e),o={attrNames:[]};for(i[n]&&i[n].prototype.isToken||t.Error(["NotMathMLToken","%1 is not a token element",n]);""!==s;){(a=s.match(/^([a-z]+)\s*=\s*('[^']*'|"[^"]*"|[^ ,]*)\s*,?\s*/i))||t.Error(["InvalidMathMLAttr","Invalid MathML attribute: %1",s]),null!=i[n].prototype.defaults[a[1]]||this.MmlTokenAllow[a[1]]||t.Error(["UnknownAttrForElement","%1 is not a recognized attribute for %2",a[1],n]);var l=this.MmlFilterAttribute(a[1],a[2].replace(/^(['"])(.*)\1$/,"$2"));l&&("true"===l.toLowerCase()?l=!0:"false"===l.toLowerCase()&&(l=!1),o[a[1]]=l,o.attrNames.push(a[1])),s=s.substr(a[0].length)}this.Push(this.mmlToken(i[n](r).With(o)))},MmlFilterAttribute:function(t,e){return e},MmlTokenAllow:{fontfamily:1,fontsize:1,fontweight:1,fontstyle:1,color:1,background:1,id:1,class:1,href:1,style:1},Strut:function(t){this.Push(i.mpadded(i.mrow()).With({height:"8.6pt",depth:"3pt",width:0}))},Phantom:function(t,e,a){var n=this.ParseArg(t);(e||a)&&(n=i.mpadded(n),a&&(n.height=n.depth=0),e&&(n.width=0)),this.Push(i.TeXAtom(i.mphantom(n)))},Smash:function(t){var e=this.trimSpaces(this.GetBrackets(t,"")),a=i.mpadded(this.ParseArg(t));switch(e){case"b":a.depth=0;break;case"t":a.height=0;break;default:a.height=a.depth=0}this.Push(i.TeXAtom(a))},Lap:function(t){var e=i.mpadded(this.ParseArg(t)).With({width:0});"\\llap"===t&&(e.lspace="-1width"),this.Push(i.TeXAtom(e))},RaiseLower:function(t){var e=this.GetDimen(t),a=o.position().With({name:t,move:"vertical"});"-"===e.charAt(0)&&(e=e.slice(1),t={raise:"\\lower",lower:"\\raise"}[t.substr(1)]),"\\lower"===t?(a.dh="-"+e,a.dd="+"+e):(a.dh="+"+e,a.dd="-"+e),this.Push(a)},MoveLeftRight:function(t){var e=this.GetDimen(t),a="-"===e.charAt(0)?e.slice(1):"-"+e;if("\\moveleft"===t){var n=e;e=a,a=n}this.Push(o.position().With({name:t,move:"horizontal",left:i.mspace().With({width:e,mathsize:i.SIZE.NORMAL}),right:i.mspace().With({width:a,mathsize:i.SIZE.NORMAL})}))},Hskip:function(t){this.Push(i.mspace().With({width:this.GetDimen(t),mathsize:i.SIZE.NORMAL}))},Rule:function(t,e){var a={width:this.GetDimen(t),height:this.GetDimen(t),depth:this.GetDimen(t)};"blank"!==e&&(a.mathbackground=this.stack.env.color||"black"),this.Push(i.mspace().With(a))},rule:function(t){var e=this.GetBrackets(t),a=this.GetDimen(t),n=this.GetDimen(t),s=i.mspace().With({width:a,height:n,mathbackground:this.stack.env.color||"black"});e&&(s=i.mpadded(s).With({voffset:e}),e.match(/^\-/)?(s.height=e,s.depth="+"+e.substr(1)):s.height="+"+e),this.Push(s)},MakeBig:function(t,e,a){a*=l.p_height,a=String(a).replace(/(\.\d\d\d).+/,"$1")+"em";var n=this.GetDelimiter(t,!0);this.Push(i.mstyle(i.TeXAtom(i.mo(n).With({minsize:a,maxsize:a,fence:!0,stretchy:!0,symmetric:!0})).With({texClass:e})).With({scriptlevel:0}))},BuildRel:function(t){var e=this.ParseUpTo(t,"\\over"),a=this.ParseArg(t);this.Push(i.TeXAtom(i.munderover(a,null,e)).With({texClass:i.TEXCLASS.REL}))},HBox:function(t,e){this.Push.apply(this,this.InternalMath(this.GetArgument(t),e))},FBox:function(t){this.Push(i.menclose.apply(i,this.InternalMath(this.GetArgument(t))).With({notation:"box"}))},Not:function(t){this.Push(o.not())},Dots:function(t){this.Push(o.dots().With({ldots:this.mmlToken(i.mo(i.entity("#x2026")).With({stretchy:!1})),cdots:this.mmlToken(i.mo(i.entity("#x22EF")).With({stretchy:!1}))}))},Require:function(t){var e=this.GetArgument(t).replace(/.*\//,"").replace(/[^a-z0-9_.-]/gi,"");this.Extension(null,e)},Extension:function(i,n,s){(n=t.extensionDir+"/"+n).match(/\.js$/)||(n+=".js"),a.loaded[a.fileURL(n)]||(null!=i&&delete l[s||"macros"][i.replace(/^\\/,"")],e.RestartAfter(a.Require(n)))},Macro:function(e,a,i,n){if(i){var s=[];if(null!=n){var r=this.GetBrackets(e);s.push(null==r?n:r)}for(var o=s.length;o<i;o++)s.push(this.GetArgument(e));a=this.SubstituteArgs(s,a)}this.string=this.AddArgs(a,this.string.slice(this.i)),this.i=0,++this.macroCount>t.config.MAXMACROS&&t.Error(["MaxMacroSub1","MathJax maximum macro substitution count exceeded; is there a recursive macro call?"])},Matrix:function(e,a,i,n,s,r,l,h,u){var c=this.GetNext();""===c&&t.Error(["MissingArgFor","Missing argument for %1",e]),"{"===c?this.i++:(this.string=c+"}"+this.string.slice(this.i+1),this.i=0);var m=o.array().With({requireClose:!0,arraydef:{rowspacing:r||"4pt",columnspacing:s||"1em"}});h&&(m.isCases=!0),u&&(m.isNumbered=!0,m.arraydef.side=u),(a||i)&&(m.open=a,m.close=i),"D"===l&&(m.arraydef.displaystyle=!0),null!=n&&(m.arraydef.columnalign=n),this.Push(m)},Entry:function(e){if(this.Push(o.cell().With({isEntry:!0,name:e})),this.stack.Top().isCases){for(var a=this.string,i=0,n=-1,s=this.i,r=a.length;s<r;){var l=a.charAt(s);"{"===l?(i++,s++):"}"===l?0===i?r=0:(0==--i&&n<0&&(n=s-this.i),s++):"&"===l&&0===i?t.Error(["ExtraAlignTab","Extra alignment tab in \\cases text"]):"\\"===l?a.substr(s).match(/^((\\cr)[^a-zA-Z]|\\\\)/)?r=0:s+=2:s++}var h=a.substr(this.i,s-this.i);h.match(/^\s*\\text[^a-zA-Z]/)&&n===h.replace(/\s+$/,"").length-1||(this.Push.apply(this,this.InternalMath(h,0)),this.i=s)}},Cr:function(t){this.Push(o.cell().With({isCR:!0,name:t}))},CrLaTeX:function(e,a){var n;a||"["!==this.string.charAt(this.i)||(n=this.GetBrackets(e,"").replace(/ /g,"").replace(/,/,"."))&&!this.matchDimen(n)&&t.Error(["BracketMustBeDimension","Bracket argument to %1 must be a dimension",e]),this.Push(o.cell().With({isCR:!0,name:e,linebreak:!0}));var s=this.stack.Top();if(s.isa(o.array)){if(n&&s.arraydef.rowspacing){var r=s.arraydef.rowspacing.split(/ /);for(s.rowspacing||(s.rowspacing=this.dimen2em(r[0]));r.length<s.table.length;)r.push(this.Em(s.rowspacing));r[s.table.length-1]=this.Em(Math.max(0,s.rowspacing+this.dimen2em(n))),s.arraydef.rowspacing=r.join(" ")}}else n&&this.Push(i.mspace().With({depth:n})),this.Push(i.mspace().With({linebreak:i.LINEBREAK.NEWLINE}))},emPerInch:7.2,pxPerInch:72,matchDimen:function(t){return t.match(/^(-?(?:\.\d+|\d+(?:\.\d*)?))(px|pt|em|ex|mu|pc|in|mm|cm)$/)},dimen2em:function(t){var e=this.matchDimen(t),a=parseFloat(e[1]||"1"),i=e[2];return"em"===i?a:"ex"===i?.43*a:"pt"===i?a/10:"pc"===i?1.2*a:"px"===i?a*this.emPerInch/this.pxPerInch:"in"===i?a*this.emPerInch:"cm"===i?a*this.emPerInch/2.54:"mm"===i?a*this.emPerInch/25.4:"mu"===i?a/18:0},Em:function(t){return Math.abs(t)<6e-4?"0em":t.toFixed(3).replace(/\.?0+$/,"")+"em"},HLine:function(e,a){null==a&&(a="solid");var i=this.stack.Top();if(i.isa(o.array)&&!i.data.length||t.Error(["Misplaced","Misplaced %1",e]),0==i.table.length)i.frame.push("top");else{for(var n=i.arraydef.rowlines?i.arraydef.rowlines.split(/ /):[];n.length<i.table.length;)n.push("none");n[i.table.length-1]=a,i.arraydef.rowlines=n.join(" ")}},HFill:function(e){var a=this.stack.Top();a.isa(o.array)?a.hfill.push(a.data.length):t.Error(["UnsupportedHFill","Unsupported use of %1",e])},BeginEnd:function(e){var a=this.GetArgument(e),i=!1;a.match(/^\\end\\/)&&(i=!0,a=a.substr(5)),a.match(/\\/i)&&t.Error(["InvalidEnv","Invalid environment name '%1'",a]);var n=this.envFindName(a);n||t.Error(["UnknownEnv","Unknown environment '%1'",a]),s(n)||(n=[n]);var r=s(n[1])?n[1][0]:n[1],l=o.begin().With({name:a,end:r,parse:this});"\\end"===e?l=!i&&s(n[1])&&this[n[1][1]]?this[n[1][1]].apply(this,[l].concat(n.slice(2))):o.end().With({name:a}):(++this.macroCount>t.config.MAXMACROS&&t.Error(["MaxMacroSub2","MathJax maximum substitution count exceeded; is there a recursive latex environment?"]),n[0]&&this[n[0]]&&(l=this[n[0]].apply(this,[l].concat(n.slice(2))))),this.Push(l)},envFindName:function(t){return l.environment.hasOwnProperty(t)?l.environment[t]:null},Equation:function(t,e){return e},ExtensionEnv:function(t,e){this.Extension(t.name,e,"environment")},Array:function(t,e,a,i,n,s,r,l){i||(i=this.GetArgument("\\begin{"+t.name+"}"));var h=("c"+i).replace(/[^clr|:]/g,"").replace(/[^|:]([|:])+/g,"$1");i=(i=i.replace(/[^clr]/g,"").split("").join(" ")).replace(/l/g,"left").replace(/r/g,"right").replace(/c/g,"center");var u=o.array().With({arraydef:{columnalign:i,columnspacing:n||"1em",rowspacing:s||"4pt"}});return h.match(/[|:]/)&&(h.charAt(0).match(/[|:]/)&&(u.frame.push("left"),u.frame.dashed=":"===h.charAt(0)),h.charAt(h.length-1).match(/[|:]/)&&u.frame.push("right"),h=h.substr(1,h.length-2),u.arraydef.columnlines=h.split("").join(" ").replace(/[^|: ]/g,"none").replace(/\|/g,"solid").replace(/:/g,"dashed")),e&&(u.open=this.convertDelimiter(e)),a&&(u.close=this.convertDelimiter(a)),"D"===r?u.arraydef.displaystyle=!0:r&&(u.arraydef.displaystyle=!1),"S"===r&&(u.arraydef.scriptlevel=1),l&&(u.arraydef.useHeight=!1),this.Push(t),u},AlignedArray:function(t){var e=this.GetBrackets("\\begin{"+t.name+"}");return this.setArrayAlign(this.Array.apply(this,arguments),e)},setArrayAlign:function(t,e){return"t"===(e=this.trimSpaces(e||""))?t.arraydef.align="baseline 1":"b"===e?t.arraydef.align="baseline -1":"c"===e?t.arraydef.align="center":e&&(t.arraydef.align=e),t},convertDelimiter:function(t){return t&&(t=l.delimiter.hasOwnProperty(t)?l.delimiter[t]:null),null==t?null:(s(t)&&(t=t[0]),4===t.length&&(t=String.fromCharCode(parseInt(t,16))),t)},trimSpaces:function(t){if("string"!=typeof t)return t;var e=t.replace(/^\s+|\s+$/g,"");return e.match(/\\$/)&&t.match(/ $/)&&(e+=" "),e},nextIsSpace:function(){return this.string.charAt(this.i).match(/\s/)},GetNext:function(){for(;this.nextIsSpace();)this.i++;return this.string.charAt(this.i)},GetCS:function(){var t=this.string.slice(this.i).match(/^([a-z]+|.) ?/i);return t?(this.i+=t[1].length,t[1]):(this.i++," ")},GetArgument:function(e,a){switch(this.GetNext()){case"":return a||t.Error(["MissingArgFor","Missing argument for %1",e]),null;case"}":return a||t.Error(["ExtraCloseMissingOpen","Extra close brace or missing open brace"]),null;case"\\":return this.i++,"\\"+this.GetCS();case"{":for(var i=++this.i,n=1;this.i<this.string.length;)switch(this.string.charAt(this.i++)){case"\\":this.i++;break;case"{":n++;break;case"}":if(0==--n)return this.string.slice(i,this.i-1)}t.Error(["MissingCloseBrace","Missing close brace"])}return this.string.charAt(this.i++)},GetBrackets:function(e,a){if("["!=this.GetNext())return a;for(var i=++this.i,n=0;this.i<this.string.length;)switch(this.string.charAt(this.i++)){case"{":n++;break;case"\\":this.i++;break;case"}":n--<=0&&t.Error(["ExtraCloseLooking","Extra close brace while looking for %1","']'"]);break;case"]":if(0==n)return this.string.slice(i,this.i-1)}t.Error(["MissingCloseBracket","Couldn't find closing ']' for argument to %1",e])},GetDelimiter:function(e,a){for(;this.nextIsSpace();)this.i++;var i=this.string.charAt(this.i);if(this.i++,this.i<=this.string.length&&("\\"==i?i+=this.GetCS(e):"{"===i&&a&&(this.i--,i=this.GetArgument(e).replace(/^\s+/,"").replace(/\s+$/,"")),l.delimiter.hasOwnProperty(i)))return this.convertDelimiter(i);t.Error(["MissingOrUnrecognizedDelim","Missing or unrecognized delimiter for %1",e])},GetDimen:function(e){var a;if(this.nextIsSpace()&&this.i++,"{"==this.string.charAt(this.i)){if((a=this.GetArgument(e)).match(/^\s*([-+]?([.,]\d+|\d+([.,]\d*)?))\s*(pt|em|ex|mu|px|mm|cm|in|pc)\s*$/))return a.replace(/ /g,"").replace(/,/,".")}else{var i=(a=this.string.slice(this.i)).match(/^\s*(([-+]?([.,]\d+|\d+([.,]\d*)?))\s*(pt|em|ex|mu|px|mm|cm|in|pc)) ?/);if(i)return this.i+=i[0].length,i[1].replace(/ /g,"").replace(/,/,".")}t.Error(["MissingDimOrUnits","Missing dimension or its units for %1",e])},GetUpTo:function(e,a){for(;this.nextIsSpace();)this.i++;for(var i,n,s=this.i,r=0;this.i<this.string.length;){switch(i=this.i,n=this.string.charAt(this.i++)){case"\\":n+=this.GetCS();break;case"{":r++;break;case"}":0==r&&t.Error(["ExtraCloseLooking","Extra close brace while looking for %1",a]),r--}if(0==r&&n==a)return this.string.slice(s,i)}t.Error(["TokenNotFoundForCommand","Couldn't find %1 for %2",a,e])},ParseArg:function(e){return t.Parse(this.GetArgument(e),this.stack.env).mml()},ParseUpTo:function(e,a){return t.Parse(this.GetUpTo(e,a),this.stack.env).mml()},InternalMath:function(e,a){var n,s=this.stack.env.font?{mathvariant:this.stack.env.font}:{},r=[],o=0,l=0,h="",u=0;if(e.match(/\\?[${}\\]|\\\(|\\(eq)?ref\s*\{/)){for(;o<e.length;)if("$"===(n=e.charAt(o++)))"$"===h&&0===u?(r.push(i.TeXAtom(t.Parse(e.slice(l,o-1),{}).mml())),h="",l=o):""===h&&(l<o-1&&r.push(this.InternalText(e.slice(l,o-1),s)),h="$",l=o);else if("{"===n&&""!==h)u++;else if("}"===n)"}"===h&&0===u?(r.push(i.TeXAtom(t.Parse(e.slice(l,o),{}).mml().With(s))),h="",l=o):""!==h&&u&&u--;else if("\\"===n)if(""===h&&e.substr(o).match(/^(eq)?ref\s*\{/)){var c=RegExp["$&"].length;l<o-1&&r.push(this.InternalText(e.slice(l,o-1),s)),h="}",l=o-1,o+=c}else"("===(n=e.charAt(o++))&&""===h?(l<o-2&&r.push(this.InternalText(e.slice(l,o-2),s)),h=")",l=o):")"===n&&")"===h&&0===u?(r.push(i.TeXAtom(t.Parse(e.slice(l,o-2),{}).mml())),h="",l=o):n.match(/[${}\\]/)&&""===h&&(o--,e=e.substr(0,o-1)+e.substr(o));""!==h&&t.Error(["MathNotTerminated","Math not terminated in text box"])}return l<e.length&&r.push(this.InternalText(e.slice(l),s)),null!=a?r=[i.mstyle.apply(i,r).With({displaystyle:!1,scriptlevel:a})]:r.length>1&&(r=[i.mrow.apply(i,r)]),r},InternalText:function(t,e){return t=t.replace(/^\s+/," ").replace(/\s+$/," "),i.mtext(i.chars(t)).With(e)},setDef:function(t,e){e.isUser=!0,l.macros[t]=e},setEnv:function(t,e){e.isUser=!0,l.environment[t]=e},SubstituteArgs:function(e,a){for(var i,n="",s="",r=0;r<a.length;)"\\"===(i=a.charAt(r++))?n+=i+a.charAt(r++):"#"===i?"#"===(i=a.charAt(r++))?n+=i:((!i.match(/[1-9]/)||i>e.length)&&t.Error(["IllegalMacroParam","Illegal macro parameter reference"]),s=this.AddArgs(this.AddArgs(s,n),e[i-1]),n=""):n+=i;return this.AddArgs(s,n)},AddArgs:function(e,a){return a.match(/^[a-z]/i)&&e.match(/(^|[^\\])(\\\\)*\\[a-z]+$/i)&&(e+=" "),e.length+a.length>t.config.MAXBUFFER&&t.Error(["MaxBufferSize","MathJax internal buffer size exceeded; is there a recursive macro call?"]),e+a}});t.Augment({Stack:r,Parse:h,Definitions:l,Startup:function(){if(i=MathJax.ElementJax.mml,e.Insert(l,{letter:/[a-z]/i,digit:/[0-9.]/,number:/^(?:[0-9]+(?:\{,\}[0-9]{3})*(?:\.[0-9]*)*|\.[0-9]+)/,special:{"\\":"ControlSequence","{":"Open","}":"Close","~":"Tilde","^":"Superscript",_:"Subscript"," ":"Space","\t":"Space","\r":"Space","\n":"Space","'":"Prime","%":"Comment","&":"Entry","#":"Hash"," ":"Space","’":"Prime"},remap:{"-":"2212","*":"2217","`":"2018"},mathchar0mi:{alpha:"03B1",beta:"03B2",gamma:"03B3",delta:"03B4",epsilon:"03F5",zeta:"03B6",eta:"03B7",theta:"03B8",iota:"03B9",kappa:"03BA",lambda:"03BB",mu:"03BC",nu:"03BD",xi:"03BE",omicron:"03BF",pi:"03C0",rho:"03C1",sigma:"03C3",tau:"03C4",upsilon:"03C5",phi:"03D5",chi:"03C7",psi:"03C8",omega:"03C9",varepsilon:"03B5",vartheta:"03D1",varpi:"03D6",varrho:"03F1",varsigma:"03C2",varphi:"03C6",S:["00A7",{mathvariant:i.VARIANT.NORMAL}],aleph:["2135",{mathvariant:i.VARIANT.NORMAL}],hbar:["210F",{variantForm:!0}],imath:"0131",jmath:"0237",ell:"2113",wp:["2118",{mathvariant:i.VARIANT.NORMAL}],Re:["211C",{mathvariant:i.VARIANT.NORMAL}],Im:["2111",{mathvariant:i.VARIANT.NORMAL}],partial:["2202",{mathvariant:i.VARIANT.NORMAL}],infty:["221E",{mathvariant:i.VARIANT.NORMAL}],prime:["2032",{mathvariant:i.VARIANT.NORMAL,variantForm:!0}],emptyset:["2205",{mathvariant:i.VARIANT.NORMAL}],nabla:["2207",{mathvariant:i.VARIANT.NORMAL}],top:["22A4",{mathvariant:i.VARIANT.NORMAL}],bot:["22A5",{mathvariant:i.VARIANT.NORMAL}],angle:["2220",{mathvariant:i.VARIANT.NORMAL}],triangle:["25B3",{mathvariant:i.VARIANT.NORMAL}],backslash:["2216",{mathvariant:i.VARIANT.NORMAL,variantForm:!0}],forall:["2200",{mathvariant:i.VARIANT.NORMAL}],exists:["2203",{mathvariant:i.VARIANT.NORMAL}],neg:["00AC",{mathvariant:i.VARIANT.NORMAL}],lnot:["00AC",{mathvariant:i.VARIANT.NORMAL}],flat:["266D",{mathvariant:i.VARIANT.NORMAL}],natural:["266E",{mathvariant:i.VARIANT.NORMAL}],sharp:["266F",{mathvariant:i.VARIANT.NORMAL}],clubsuit:["2663",{mathvariant:i.VARIANT.NORMAL}],diamondsuit:["2662",{mathvariant:i.VARIANT.NORMAL}],heartsuit:["2661",{mathvariant:i.VARIANT.NORMAL}],spadesuit:["2660",{mathvariant:i.VARIANT.NORMAL}]},mathchar0mo:{surd:"221A",coprod:["2210",{texClass:i.TEXCLASS.OP,movesupsub:!0}],bigvee:["22C1",{texClass:i.TEXCLASS.OP,movesupsub:!0}],bigwedge:["22C0",{texClass:i.TEXCLASS.OP,movesupsub:!0}],biguplus:["2A04",{texClass:i.TEXCLASS.OP,movesupsub:!0}],bigcap:["22C2",{texClass:i.TEXCLASS.OP,movesupsub:!0}],bigcup:["22C3",{texClass:i.TEXCLASS.OP,movesupsub:!0}],int:["222B",{texClass:i.TEXCLASS.OP}],intop:["222B",{texClass:i.TEXCLASS.OP,movesupsub:!0,movablelimits:!0}],iint:["222C",{texClass:i.TEXCLASS.OP}],iiint:["222D",{texClass:i.TEXCLASS.OP}],prod:["220F",{texClass:i.TEXCLASS.OP,movesupsub:!0}],sum:["2211",{texClass:i.TEXCLASS.OP,movesupsub:!0}],bigotimes:["2A02",{texClass:i.TEXCLASS.OP,movesupsub:!0}],bigoplus:["2A01",{texClass:i.TEXCLASS.OP,movesupsub:!0}],bigodot:["2A00",{texClass:i.TEXCLASS.OP,movesupsub:!0}],oint:["222E",{texClass:i.TEXCLASS.OP}],bigsqcup:["2A06",{texClass:i.TEXCLASS.OP,movesupsub:!0}],smallint:["222B",{largeop:!1}],triangleleft:"25C3",triangleright:"25B9",bigtriangleup:"25B3",bigtriangledown:"25BD",wedge:"2227",land:"2227",vee:"2228",lor:"2228",cap:"2229",cup:"222A",ddagger:"2021",dagger:"2020",sqcap:"2293",sqcup:"2294",uplus:"228E",amalg:"2A3F",diamond:"22C4",bullet:"2219",wr:"2240",div:"00F7",odot:["2299",{largeop:!1}],oslash:["2298",{largeop:!1}],otimes:["2297",{largeop:!1}],ominus:["2296",{largeop:!1}],oplus:["2295",{largeop:!1}],mp:"2213",pm:"00B1",circ:"2218",bigcirc:"25EF",setminus:["2216",{variantForm:!0}],cdot:"22C5",ast:"2217",times:"00D7",star:"22C6",propto:"221D",sqsubseteq:"2291",sqsupseteq:"2292",parallel:"2225",mid:"2223",dashv:"22A3",vdash:"22A2",leq:"2264",le:"2264",geq:"2265",ge:"2265",lt:"003C",gt:"003E",succ:"227B",prec:"227A",approx:"2248",succeq:"2AB0",preceq:"2AAF",supset:"2283",subset:"2282",supseteq:"2287",subseteq:"2286",in:"2208",ni:"220B",notin:"2209",owns:"220B",gg:"226B",ll:"226A",sim:"223C",simeq:"2243",perp:"22A5",equiv:"2261",asymp:"224D",smile:"2323",frown:"2322",ne:"2260",neq:"2260",cong:"2245",doteq:"2250",bowtie:"22C8",models:"22A8",notChar:"29F8",Leftrightarrow:"21D4",Leftarrow:"21D0",Rightarrow:"21D2",leftrightarrow:"2194",leftarrow:"2190",gets:"2190",rightarrow:"2192",to:"2192",mapsto:"21A6",leftharpoonup:"21BC",leftharpoondown:"21BD",rightharpoonup:"21C0",rightharpoondown:"21C1",nearrow:"2197",searrow:"2198",nwarrow:"2196",swarrow:"2199",rightleftharpoons:"21CC",hookrightarrow:"21AA",hookleftarrow:"21A9",longleftarrow:"27F5",Longleftarrow:"27F8",longrightarrow:"27F6",Longrightarrow:"27F9",Longleftrightarrow:"27FA",longleftrightarrow:"27F7",longmapsto:"27FC",ldots:"2026",cdots:"22EF",vdots:"22EE",ddots:"22F1",dotsc:"2026",dotsb:"22EF",dotsm:"22EF",dotsi:"22EF",dotso:"2026",ldotp:["002E",{texClass:i.TEXCLASS.PUNCT}],cdotp:["22C5",{texClass:i.TEXCLASS.PUNCT}],colon:["003A",{texClass:i.TEXCLASS.PUNCT}]},mathchar7:{Gamma:"0393",Delta:"0394",Theta:"0398",Lambda:"039B",Xi:"039E",Pi:"03A0",Sigma:"03A3",Upsilon:"03A5",Phi:"03A6",Psi:"03A8",Omega:"03A9",_:"005F","#":"0023",$:"0024","%":"0025","&":"0026",And:"0026"},delimiter:{"(":"(",")":")","[":"[","]":"]","<":"27E8",">":"27E9","\\lt":"27E8","\\gt":"27E9","/":"/","|":["|",{texClass:i.TEXCLASS.ORD}],".":"","\\\\":"\\","\\lmoustache":"23B0","\\rmoustache":"23B1","\\lgroup":"27EE","\\rgroup":"27EF","\\arrowvert":"23D0","\\Arrowvert":"2016","\\bracevert":"23AA","\\Vert":["2016",{texClass:i.TEXCLASS.ORD}],"\\|":["2016",{texClass:i.TEXCLASS.ORD}],"\\vert":["|",{texClass:i.TEXCLASS.ORD}],"\\uparrow":"2191","\\downarrow":"2193","\\updownarrow":"2195","\\Uparrow":"21D1","\\Downarrow":"21D3","\\Updownarrow":"21D5","\\backslash":"\\","\\rangle":"27E9","\\langle":"27E8","\\rbrace":"}","\\lbrace":"{","\\}":"}","\\{":"{","\\rceil":"2309","\\lceil":"2308","\\rfloor":"230B","\\lfloor":"230A","\\lbrack":"[","\\rbrack":"]"},macros:{displaystyle:["SetStyle","D",!0,0],textstyle:["SetStyle","T",!1,0],scriptstyle:["SetStyle","S",!1,1],scriptscriptstyle:["SetStyle","SS",!1,2],rm:["SetFont",i.VARIANT.NORMAL],mit:["SetFont",i.VARIANT.ITALIC],oldstyle:["SetFont",i.VARIANT.OLDSTYLE],cal:["SetFont",i.VARIANT.CALIGRAPHIC],it:["SetFont","-tex-mathit"],bf:["SetFont",i.VARIANT.BOLD],bbFont:["SetFont",i.VARIANT.DOUBLESTRUCK],scr:["SetFont",i.VARIANT.SCRIPT],frak:["SetFont",i.VARIANT.FRAKTUR],sf:["SetFont",i.VARIANT.SANSSERIF],tt:["SetFont",i.VARIANT.MONOSPACE],tiny:["SetSize",.5],Tiny:["SetSize",.6],scriptsize:["SetSize",.7],small:["SetSize",.85],normalsize:["SetSize",1],large:["SetSize",1.2],Large:["SetSize",1.44],LARGE:["SetSize",1.73],huge:["SetSize",2.07],Huge:["SetSize",2.49],arcsin:["NamedFn"],arccos:["NamedFn"],arctan:["NamedFn"],arg:["NamedFn"],cos:["NamedFn"],cosh:["NamedFn"],cot:["NamedFn"],coth:["NamedFn"],csc:["NamedFn"],deg:["NamedFn"],det:"NamedOp",dim:["NamedFn"],exp:["NamedFn"],gcd:"NamedOp",hom:["NamedFn"],inf:"NamedOp",ker:["NamedFn"],lg:["NamedFn"],lim:"NamedOp",liminf:["NamedOp","lim&thinsp;inf"],limsup:["NamedOp","lim&thinsp;sup"],ln:["NamedFn"],log:["NamedFn"],max:"NamedOp",min:"NamedOp",Pr:"NamedOp",sec:["NamedFn"],sin:["NamedFn"],sinh:["NamedFn"],sup:"NamedOp",tan:["NamedFn"],tanh:["NamedFn"],limits:["Limits",1],nolimits:["Limits",0],overline:["UnderOver","00AF",null,1],underline:["UnderOver","005F"],overbrace:["UnderOver","23DE",1],underbrace:["UnderOver","23DF",1],overparen:["UnderOver","23DC"],underparen:["UnderOver","23DD"],overrightarrow:["UnderOver","2192"],underrightarrow:["UnderOver","2192"],overleftarrow:["UnderOver","2190"],underleftarrow:["UnderOver","2190"],overleftrightarrow:["UnderOver","2194"],underleftrightarrow:["UnderOver","2194"],overset:"Overset",underset:"Underset",stackrel:["Macro","\\mathrel{\\mathop{#2}\\limits^{#1}}",2],over:"Over",overwithdelims:"Over",atop:"Over",atopwithdelims:"Over",above:"Over",abovewithdelims:"Over",brace:["Over","{","}"],brack:["Over","[","]"],choose:["Over","(",")"],frac:"Frac",sqrt:"Sqrt",root:"Root",uproot:["MoveRoot","upRoot"],leftroot:["MoveRoot","leftRoot"],left:"LeftRight",right:"LeftRight",middle:"Middle",llap:"Lap",rlap:"Lap",raise:"RaiseLower",lower:"RaiseLower",moveleft:"MoveLeftRight",moveright:"MoveLeftRight",",":["Spacer",i.LENGTH.THINMATHSPACE],":":["Spacer",i.LENGTH.MEDIUMMATHSPACE],">":["Spacer",i.LENGTH.MEDIUMMATHSPACE],";":["Spacer",i.LENGTH.THICKMATHSPACE],"!":["Spacer",i.LENGTH.NEGATIVETHINMATHSPACE],enspace:["Spacer",".5em"],quad:["Spacer","1em"],qquad:["Spacer","2em"],thinspace:["Spacer",i.LENGTH.THINMATHSPACE],negthinspace:["Spacer",i.LENGTH.NEGATIVETHINMATHSPACE],hskip:"Hskip",hspace:"Hskip",kern:"Hskip",mskip:"Hskip",mspace:"Hskip",mkern:"Hskip",rule:"rule",Rule:["Rule"],Space:["Rule","blank"],big:["MakeBig",i.TEXCLASS.ORD,.85],Big:["MakeBig",i.TEXCLASS.ORD,1.15],bigg:["MakeBig",i.TEXCLASS.ORD,1.45],Bigg:["MakeBig",i.TEXCLASS.ORD,1.75],bigl:["MakeBig",i.TEXCLASS.OPEN,.85],Bigl:["MakeBig",i.TEXCLASS.OPEN,1.15],biggl:["MakeBig",i.TEXCLASS.OPEN,1.45],Biggl:["MakeBig",i.TEXCLASS.OPEN,1.75],bigr:["MakeBig",i.TEXCLASS.CLOSE,.85],Bigr:["MakeBig",i.TEXCLASS.CLOSE,1.15],biggr:["MakeBig",i.TEXCLASS.CLOSE,1.45],Biggr:["MakeBig",i.TEXCLASS.CLOSE,1.75],bigm:["MakeBig",i.TEXCLASS.REL,.85],Bigm:["MakeBig",i.TEXCLASS.REL,1.15],biggm:["MakeBig",i.TEXCLASS.REL,1.45],Biggm:["MakeBig",i.TEXCLASS.REL,1.75],mathord:["TeXAtom",i.TEXCLASS.ORD],mathop:["TeXAtom",i.TEXCLASS.OP],mathopen:["TeXAtom",i.TEXCLASS.OPEN],mathclose:["TeXAtom",i.TEXCLASS.CLOSE],mathbin:["TeXAtom",i.TEXCLASS.BIN],mathrel:["TeXAtom",i.TEXCLASS.REL],mathpunct:["TeXAtom",i.TEXCLASS.PUNCT],mathinner:["TeXAtom",i.TEXCLASS.INNER],vcenter:["TeXAtom",i.TEXCLASS.VCENTER],mathchoice:["Extension","mathchoice"],buildrel:"BuildRel",hbox:["HBox",0],text:"HBox",mbox:["HBox",0],fbox:"FBox",strut:"Strut",mathstrut:["Macro","\\vphantom{(}"],phantom:"Phantom",vphantom:["Phantom",1,0],hphantom:["Phantom",0,1],smash:"Smash",acute:["Accent","00B4"],grave:["Accent","0060"],ddot:["Accent","00A8"],tilde:["Accent","007E"],bar:["Accent","00AF"],breve:["Accent","02D8"],check:["Accent","02C7"],hat:["Accent","005E"],vec:["Accent","2192"],dot:["Accent","02D9"],widetilde:["Accent","007E",1],widehat:["Accent","005E",1],matrix:"Matrix",array:"Matrix",pmatrix:["Matrix","(",")"],cases:["Matrix","{","","left left",null,".1em",null,!0],eqalign:["Matrix",null,null,"right left",i.LENGTH.THICKMATHSPACE,".5em","D"],displaylines:["Matrix",null,null,"center",null,".5em","D"],cr:"Cr","\\":"CrLaTeX",newline:["CrLaTeX",!0],hline:["HLine","solid"],hdashline:["HLine","dashed"],eqalignno:["Matrix",null,null,"right left",i.LENGTH.THICKMATHSPACE,".5em","D",null,"right"],leqalignno:["Matrix",null,null,"right left",i.LENGTH.THICKMATHSPACE,".5em","D",null,"left"],hfill:"HFill",hfil:"HFill",hfilll:"HFill",bmod:["Macro",'\\mmlToken{mo}[lspace="thickmathspace" rspace="thickmathspace"]{mod}'],pmod:["Macro","\\pod{\\mmlToken{mi}{mod}\\kern 6mu #1}",1],mod:["Macro","\\mathchoice{\\kern18mu}{\\kern12mu}{\\kern12mu}{\\kern12mu}\\mmlToken{mi}{mod}\\,\\,#1",1],pod:["Macro","\\mathchoice{\\kern18mu}{\\kern8mu}{\\kern8mu}{\\kern8mu}(#1)",1],iff:["Macro","\\;\\Longleftrightarrow\\;"],skew:["Macro","{{#2{#3\\mkern#1mu}\\mkern-#1mu}{}}",3],mathcal:["Macro","{\\cal #1}",1],mathscr:["Macro","{\\scr #1}",1],mathrm:["Macro","{\\rm #1}",1],mathbf:["Macro","{\\bf #1}",1],mathbb:["Macro","{\\bbFont #1}",1],Bbb:["Macro","{\\bbFont #1}",1],mathit:["Macro","{\\it #1}",1],mathfrak:["Macro","{\\frak #1}",1],mathsf:["Macro","{\\sf #1}",1],mathtt:["Macro","{\\tt #1}",1],textrm:["Macro","\\mathord{\\rm\\text{#1}}",1],textit:["Macro","\\mathord{\\it\\text{#1}}",1],textbf:["Macro","\\mathord{\\bf\\text{#1}}",1],textsf:["Macro","\\mathord{\\sf\\text{#1}}",1],texttt:["Macro","\\mathord{\\tt\\text{#1}}",1],pmb:["Macro","\\rlap{#1}\\kern1px{#1}",1],TeX:["Macro","T\\kern-.14em\\lower.5ex{E}\\kern-.115em X"],LaTeX:["Macro","L\\kern-.325em\\raise.21em{\\scriptstyle{A}}\\kern-.17em\\TeX"]," ":["Macro","\\text{ }"],not:"Not",dots:"Dots",space:"Tilde"," ":"Tilde",begin:"BeginEnd",end:"BeginEnd",newcommand:["Extension","newcommand"],renewcommand:["Extension","newcommand"],newenvironment:["Extension","newcommand"],renewenvironment:["Extension","newcommand"],def:["Extension","newcommand"],let:["Extension","newcommand"],verb:["Extension","verb"],boldsymbol:["Extension","boldsymbol"],tag:["Extension","AMSmath"],notag:["Extension","AMSmath"],label:["Extension","AMSmath"],ref:["Extension","AMSmath"],eqref:["Extension","AMSmath"],nonumber:["Macro","\\notag"],unicode:["Extension","unicode"],color:"Color",href:["Extension","HTML"],class:["Extension","HTML"],style:["Extension","HTML"],cssId:["Extension","HTML"],bbox:["Extension","bbox"],mmlToken:"MmlToken",require:"Require"},environment:{array:["AlignedArray"],matrix:["Array",null,null,null,"c"],pmatrix:["Array",null,"(",")","c"],bmatrix:["Array",null,"[","]","c"],Bmatrix:["Array",null,"\\{","\\}","c"],vmatrix:["Array",null,"\\vert","\\vert","c"],Vmatrix:["Array",null,"\\Vert","\\Vert","c"],cases:["Array",null,"\\{",".","ll",null,".2em","T"],equation:[null,"Equation"],"equation*":[null,"Equation"],eqnarray:["ExtensionEnv",null,"AMSmath"],"eqnarray*":["ExtensionEnv",null,"AMSmath"],align:["ExtensionEnv",null,"AMSmath"],"align*":["ExtensionEnv",null,"AMSmath"],aligned:["ExtensionEnv",null,"AMSmath"],multline:["ExtensionEnv",null,"AMSmath"],"multline*":["ExtensionEnv",null,"AMSmath"],split:["ExtensionEnv",null,"AMSmath"],gather:["ExtensionEnv",null,"AMSmath"],"gather*":["ExtensionEnv",null,"AMSmath"],gathered:["ExtensionEnv",null,"AMSmath"],alignat:["ExtensionEnv",null,"AMSmath"],"alignat*":["ExtensionEnv",null,"AMSmath"],alignedat:["ExtensionEnv",null,"AMSmath"]},p_height:1.2/.85}),this.config.Macros){var t=this.config.Macros;for(var a in t)t.hasOwnProperty(a)&&("string"==typeof t[a]?l.macros[a]=["Macro",t[a]]:l.macros[a]=["Macro"].concat(t[a]),l.macros[a].isUser=!0)}},config:{MAXMACROS:1e4,MAXBUFFER:5120},sourceMenuTitle:["TeXCommands","TeX Commands"],annotationEncoding:"application/x-tex",prefilterHooks:MathJax.Callback.Hooks(!0),postfilterHooks:MathJax.Callback.Hooks(!0),Config:function(){this.SUPER(arguments).Config.apply(this,arguments),"none"!==this.config.equationNumbers.autoNumber&&(this.config.extensions||(this.config.extensions=[]),this.config.extensions.push("AMSmath.js"))},Translate:function(e){var a,n=!1,s=MathJax.HTML.getScript(e),r=null!=e.type.replace(/\n/g," ").match(/(;|\s|\n)mode\s*=\s*display(;|\s|\n|$)/),o={math:s,display:r,script:e},l=this.prefilterHooks.Execute(o);if(l)return l;s=o.math;try{a=t.Parse(s).mml()}catch(t){if(!t.texError)throw t;a=this.formatError(t,s,r,e),n=!0}return a.isa(i.mtable)&&"inherit"===a.displaystyle&&(a.displaystyle=r),a=a.inferred?i.apply(MathJax.ElementJax,a.data):i(a),r&&(a.root.display="block"),n&&(a.texError=!0),o.math=a,this.postfilterHooks.Execute(o)||o.math},prefilterMath:function(t,e,a){return t},postfilterMath:function(t,e,a){return this.combineRelations(t.root),t},formatError:function(t,a,n,s){var r=t.message.replace(/\n.*/,"");return e.signal.Post(["TeX Jax - parse error",r,a,n,s]),i.Error(r)},Error:function(t){throw s(t)&&(t=n.apply(n,t)),e.Insert(Error(t),{texError:!0})},Macro:function(t,e,a){l.macros[t]=["Macro"].concat([].slice.call(arguments,1)),l.macros[t].isUser=!0},fenced:function(t,e,a){var n=i.mrow().With({open:t,close:a,texClass:i.TEXCLASS.INNER});return n.Append(i.mo(t).With({fence:!0,stretchy:!0,symmetric:!0,texClass:i.TEXCLASS.OPEN})),"mrow"===e.type&&e.inferred?n.Append.apply(n,e.data):n.Append(e),n.Append(i.mo(a).With({fence:!0,stretchy:!0,symmetric:!0,texClass:i.TEXCLASS.CLOSE})),n},fixedFence:function(t,e,a){var n=i.mrow().With({open:t,close:a,texClass:i.TEXCLASS.ORD});return t&&n.Append(this.mathPalette(t,"l")),"mrow"===e.type?n.Append.apply(n,e.data):n.Append(e),a&&n.Append(this.mathPalette(a,"r")),n},mathPalette:function(e,a){"{"!==e&&"}"!==e||(e="\\"+e);var i="{\\bigg"+a+" "+e+"}",n="{\\big"+a+" "+e+"}";return t.Parse("\\mathchoice"+i+n+n+n,{}).mml()},combineRelations:function(t){var e,a,n,s;for(e=0,a=t.data.length;e<a;e++)if(t.data[e]){if(t.isa(i.mrow))for(;e+1<a&&(n=t.data[e])&&(s=t.data[e+1])&&n.isa(i.mo)&&s.isa(i.mo)&&n.Get("texClass")===i.TEXCLASS.REL&&s.Get("texClass")===i.TEXCLASS.REL;)n.variantForm!=s.variantForm||n.Get("mathvariant")!=s.Get("mathvariant")||n.style!=s.style||n.class!=s.class||n.id||s.id?(n.rspace=s.lspace="0pt",e++):(n.Append.apply(n,s.data),t.data.splice(e+1,1),a--);t.data[e].isToken||this.combineRelations(t.data[e])}}}),t.prefilterHooks.Add((function(e){e.math=t.prefilterMath(e.math,e.display,e.script)})),t.postfilterHooks.Add((function(e){e.math=t.postfilterMath(e.math,e.display,e.script)})),t.loadComplete("jax.js")}(MathJax.InputJax.TeX,MathJax.Hub,MathJax.Ajax),MathJax.Extension["TeX/AMSmath"]={version:"2.7.9",number:0,startNumber:0,IDs:{},eqIDs:{},labels:{},eqlabels:{},refs:[]},MathJax.Hub.Register.StartupHook("TeX Jax Ready",(function(){var t=MathJax.ElementJax.mml,e=MathJax.InputJax.TeX,a=MathJax.Extension["TeX/AMSmath"],i=e.Definitions,n=e.Stack.Item,s=e.config.equationNumbers,r=function(t){for(var a=[],i=0,n=t.length;i<n;i++)a[i]=e.Parse.prototype.Em(t[i]);return a.join(" ")},o=0===document.getElementsByTagName("base").length?"":String(document.location).replace(/#.*$/,"");i.Add({mathchar0mo:{iiiint:["2A0C",{texClass:t.TEXCLASS.OP}]},macros:{mathring:["Accent","2DA"],nobreakspace:"Tilde",negmedspace:["Spacer",t.LENGTH.NEGATIVEMEDIUMMATHSPACE],negthickspace:["Spacer",t.LENGTH.NEGATIVETHICKMATHSPACE],idotsint:["MultiIntegral","\\int\\cdots\\int"],dddot:["Accent","20DB"],ddddot:["Accent","20DC"],sideset:["Macro","\\mathop{\\mathop{\\rlap{\\phantom{#3}}}\\nolimits#1\\!\\mathop{#3}\\nolimits#2}",3],boxed:["Macro","\\fbox{$\\displaystyle{#1}$}",1],tag:"HandleTag",notag:"HandleNoTag",label:"HandleLabel",ref:"HandleRef",eqref:["HandleRef",!0],substack:["Macro","\\begin{subarray}{c}#1\\end{subarray}",1],injlim:["NamedOp","inj&thinsp;lim"],projlim:["NamedOp","proj&thinsp;lim"],varliminf:["Macro","\\mathop{\\underline{\\mmlToken{mi}{lim}}}"],varlimsup:["Macro","\\mathop{\\overline{\\mmlToken{mi}{lim}}}"],varinjlim:["Macro","\\mathop{\\underrightarrow{\\mmlToken{mi}{lim}}}"],varprojlim:["Macro","\\mathop{\\underleftarrow{\\mmlToken{mi}{lim}}}"],DeclareMathOperator:"HandleDeclareOp",operatorname:"HandleOperatorName",SkipLimits:"SkipLimits",genfrac:"Genfrac",frac:["Genfrac","","","",""],tfrac:["Genfrac","","","",1],dfrac:["Genfrac","","","",0],binom:["Genfrac","(",")","0",""],tbinom:["Genfrac","(",")","0",1],dbinom:["Genfrac","(",")","0",0],cfrac:"CFrac",shoveleft:["HandleShove",t.ALIGN.LEFT],shoveright:["HandleShove",t.ALIGN.RIGHT],xrightarrow:["xArrow",8594,5,6],xleftarrow:["xArrow",8592,7,3]},environment:{align:["AMSarray",null,!0,!0,"rlrlrlrlrlrl",r([0,2,0,2,0,2,0,2,0,2,0])],"align*":["AMSarray",null,!1,!0,"rlrlrlrlrlrl",r([0,2,0,2,0,2,0,2,0,2,0])],multline:["Multline",null,!0],"multline*":["Multline",null,!1],split:["AMSarray",null,!1,!1,"rl",r([0])],gather:["AMSarray",null,!0,!0,"c"],"gather*":["AMSarray",null,!1,!0,"c"],alignat:["AlignAt",null,!0,!0],"alignat*":["AlignAt",null,!1,!0],alignedat:["AlignAt",null,!1,!1],aligned:["AlignedAMSArray",null,null,null,"rlrlrlrlrlrl",r([0,2,0,2,0,2,0,2,0,2,0]),".5em","D"],gathered:["AlignedAMSArray",null,null,null,"c",null,".5em","D"],subarray:["Array",null,null,null,null,r([0]),"0.1em","S",1],smallmatrix:["Array",null,null,null,"c",r([1/3]),".2em","S",1],equation:["EquationBegin","Equation",!0],"equation*":["EquationBegin","EquationStar",!1],eqnarray:["AMSarray",null,!0,!0,"rcl","0 "+t.LENGTH.THICKMATHSPACE,".5em"],"eqnarray*":["AMSarray",null,!1,!0,"rcl","0 "+t.LENGTH.THICKMATHSPACE,".5em"]},delimiter:{"\\lvert":["007C",{texClass:t.TEXCLASS.OPEN}],"\\rvert":["007C",{texClass:t.TEXCLASS.CLOSE}],"\\lVert":["2016",{texClass:t.TEXCLASS.OPEN}],"\\rVert":["2016",{texClass:t.TEXCLASS.CLOSE}]}},null,!0),e.Parse.Augment({HandleTag:function(a){var i=this.GetStar(),n=this.trimSpaces(this.GetArgument(a)),r=n;i||(n=s.formatTag(n));var o=this.stack.global;o.tagID=r,o.notags&&e.Error(["CommandNotAllowedInEnv","%1 not allowed in %2 environment",a,o.notags]),o.tag&&e.Error(["MultipleCommand","Multiple %1",a]),o.tag=t.mtd.apply(t,this.InternalMath(n)).With({id:s.formatID(r)})},HandleNoTag:function(t){this.stack.global.tag&&delete this.stack.global.tag,this.stack.global.notag=!0},HandleLabel:function(t){var i=this.stack.global,n=this.GetArgument(t);""!==n&&(a.refUpdate||(i.label&&e.Error(["MultipleCommand","Multiple %1",t]),i.label=n,(a.labels[n]||a.eqlabels[n])&&e.Error(["MultipleLabel","Label '%1' multiply defined",n]),a.eqlabels[n]={tag:"???",id:""}))},HandleRef:function(e,i){var n=this.GetArgument(e),r=a.labels[n]||a.eqlabels[n];r||(r={tag:"???",id:""},a.badref=!a.refUpdate);var l=r.tag;i&&(l=s.formatTag(l)),this.Push(t.mrow.apply(t,this.InternalMath(l)).With({href:s.formatURL(r.id,o),class:"MathJax_ref"}))},HandleDeclareOp:function(t){var e=this.GetStar()?"":"\\nolimits\\SkipLimits",a=this.trimSpaces(this.GetArgument(t));"\\"==a.charAt(0)&&(a=a.substr(1));var i=this.GetArgument(t);i.match(/\\text/)||(i=i.replace(/\*/g,"\\text{*}").replace(/-/g,"\\text{-}")),this.setDef(a,["Macro","\\mathop{\\rm "+i+"}"+e])},HandleOperatorName:function(t){var e=this.GetStar()?"":"\\nolimits\\SkipLimits",a=this.trimSpaces(this.GetArgument(t));a.match(/\\text/)||(a=a.replace(/\*/g,"\\text{*}").replace(/-/g,"\\text{-}")),this.string="\\mathop{\\rm "+a+"}"+e+" "+this.string.slice(this.i),this.i=0},SkipLimits:function(t){var e=this.GetNext(),a=this.i;"\\"===e&&++this.i&&"limits"!==this.GetCS()&&(this.i=a)},HandleShove:function(t,a){var i=this.stack.Top();"multline"!==i.type&&e.Error(["CommandInMultline","%1 can only appear within the multline environment",t]),i.data.length&&e.Error(["CommandAtTheBeginingOfLine","%1 must come at the beginning of the line",t]),i.data.shove=a},CFrac:function(a){var i=this.trimSpaces(this.GetBrackets(a,"")),n=this.GetArgument(a),s=this.GetArgument(a),r=t.mfrac(e.Parse("\\strut\\textstyle{"+n+"}",this.stack.env).mml(),e.Parse("\\strut\\textstyle{"+s+"}",this.stack.env).mml());null==(i={l:t.ALIGN.LEFT,r:t.ALIGN.RIGHT,"":""}[i])&&e.Error(["IllegalAlign","Illegal alignment specified in %1",a]),i&&(r.numalign=r.denomalign=i),this.Push(r)},Genfrac:function(a,i,n,s,r){null==i&&(i=this.GetDelimiterArg(a)),null==n&&(n=this.GetDelimiterArg(a)),null==s&&(s=this.GetArgument(a)),null==r&&(r=this.trimSpaces(this.GetArgument(a)));var o=this.ParseArg(a),l=this.ParseArg(a),h=t.mfrac(o,l);if(""!==s&&(h.linethickness=s),(i||n)&&(h=e.fixedFence(i,h.With({texWithDelims:!0}),n)),""!==r){var u=["D","T","S","SS"][r];null==u&&e.Error(["BadMathStyleFor","Bad math style for %1",a]),h=t.mstyle(h),"D"===u?(h.displaystyle=!0,h.scriptlevel=0):(h.displaystyle=!1,h.scriptlevel=r-1)}this.Push(h)},Multline:function(t,a){return this.Push(t),this.checkEqnEnv(),n.multline(a,this.stack).With({arraydef:{displaystyle:!0,rowspacing:".5em",width:e.config.MultLineWidth,columnwidth:"100%",side:e.config.TagSide,minlabelspacing:e.config.TagIndent}})},AMSarray:function(t,a,i,s,r){return this.Push(t),i&&this.checkEqnEnv(),s=(s=s.replace(/[^clr]/g,"").split("").join(" ")).replace(/l/g,"left").replace(/r/g,"right").replace(/c/g,"center"),n.AMSarray(t.name,a,i,this.stack).With({arraydef:{displaystyle:!0,rowspacing:".5em",columnalign:s,columnspacing:r||"1em",rowspacing:"3pt",side:e.config.TagSide,minlabelspacing:e.config.TagIndent}})},AlignedAMSArray:function(t){var e=this.GetBrackets("\\begin{"+t.name+"}");return this.setArrayAlign(this.AMSarray.apply(this,arguments),e)},AlignAt:function(t,a,i){var n,s,r="",o=[];for(i||(s=this.GetBrackets("\\begin{"+t.name+"}")),(n=this.GetArgument("\\begin{"+t.name+"}")).match(/[^0-9]/)&&e.Error(["PositiveIntegerArg","Argument to %1 must me a positive integer","\\begin{"+t.name+"}"]);n>0;)r+="rl",o.push("0em 0em"),n--;if(o=o.join(" "),i)return this.AMSarray(t,a,i,r,o);var l=this.AMSarray(t,a,i,r,o);return this.setArrayAlign(l,s)},EquationBegin:function(t,e){return this.checkEqnEnv(),this.stack.global.forcetag=e&&"none"!==s.autoNumber,t},EquationStar:function(t,e){return this.stack.global.tagged=!0,e},checkEqnEnv:function(){this.stack.global.eqnenv&&e.Error(["ErroneousNestingEq","Erroneous nesting of equation structures"]),this.stack.global.eqnenv=!0},MultiIntegral:function(t,e){var a=this.GetNext();if("\\"===a){var i=this.i;a=this.GetArgument(t),this.i=i,"\\limits"===a&&(e="\\idotsint"===t?"\\!\\!\\mathop{\\,\\,"+e+"}":"\\!\\!\\!\\mathop{\\,\\,\\,"+e+"}")}this.string=e+" "+this.string.slice(this.i),this.i=0},xArrow:function(a,i,n,s){var r={width:"+"+(n+s)+"mu",lspace:n+"mu"},o=this.GetBrackets(a),l=this.ParseArg(a),h=t.mo(t.chars(String.fromCharCode(i))).With({stretchy:!0,texClass:t.TEXCLASS.REL}),u=t.munderover(h);u.SetData(u.over,t.mpadded(l).With(r).With({voffset:".15em"})),o&&(o=e.Parse(o,this.stack.env).mml(),u.SetData(u.under,t.mpadded(o).With(r).With({voffset:"-.24em"}))),this.Push(u.With({subsupOK:!0}))},GetDelimiterArg:function(t){var a=this.trimSpaces(this.GetArgument(t));return""==a?null:a in i.delimiter?a:void e.Error(["MissingOrUnrecognizedDelim","Missing or unrecognized delimiter for %1",t])},GetStar:function(){var t="*"===this.GetNext();return t&&this.i++,t}}),n.Augment({autoTag:function(){var i=this.global;if(!i.notag){a.number++,i.tagID=s.formatNumber(a.number.toString());var n=e.Parse("\\text{"+s.formatTag(i.tagID)+"}",{}).mml();i.tag=t.mtd(n).With({id:s.formatID(i.tagID)})}},getTag:function(){var t=this.global,e=t.tag;if(t.tagged=!0,t.label&&(s.useLabelIds&&(e.id=s.formatID(t.label)),a.eqlabels[t.label]={tag:t.tagID,id:e.id}),document.getElementById(e.id)||a.IDs[e.id]||a.eqIDs[e.id]){var i,n=0;do{n++,i=e.id+"_"+n}while(document.getElementById(i)||a.IDs[i]||a.eqIDs[i]);e.id=i,t.label&&(a.eqlabels[t.label].id=i)}return a.eqIDs[e.id]=1,this.clearTag(),e},clearTag:function(){var t=this.global;delete t.tag,delete t.tagID,delete t.label},fixInitialMO:function(e){for(var a=0,i=e.length;a<i;a++)if(e[a]&&"mspace"!==e[a].type&&("texatom"!==e[a].type||e[a].data[0]&&e[a].data[0].data.length)){(e[a].isEmbellished()||"texatom"===e[a].type&&e[a].texClass===t.TEXCLASS.REL)&&e.unshift(t.mi());break}}}),n.multline=n.array.Subclass({type:"multline",Init:function(t,e){this.SUPER(arguments).Init.apply(this),this.numbered=t&&"none"!==s.autoNumber,this.save={notag:e.global.notag},e.global.tagged=!t&&!e.global.forcetag},EndEntry:function(){this.table.length&&this.fixInitialMO(this.data);var e=t.mtd.apply(t,this.data);this.data.shove&&(e.columnalign=this.data.shove),this.row.push(e),this.data=[]},EndRow:function(){1!=this.row.length&&e.Error(["MultlineRowsOneCol","The rows within the %1 environment must have exactly one column","multline"]),this.table.push(this.row),this.row=[]},EndTable:function(){if(this.SUPER(arguments).EndTable.call(this),this.table.length){var e,a=this.table.length-1,i=-1;for(this.table[0][0].columnalign||(this.table[0][0].columnalign=t.ALIGN.LEFT),this.table[a][0].columnalign||(this.table[a][0].columnalign=t.ALIGN.RIGHT),!this.global.tag&&this.numbered&&this.autoTag(),this.global.tag&&!this.global.notags&&(i="left"===this.arraydef.side?0:this.table.length-1,this.table[i]=[this.getTag()].concat(this.table[i])),e=0,a=this.table.length;e<a;e++){var n=e===i?t.mlabeledtr:t.mtr;this.table[e]=n.apply(t,this.table[e])}}this.global.notag=this.save.notag}}),n.AMSarray=n.array.Subclass({type:"AMSarray",Init:function(t,e,a,i){this.SUPER(arguments).Init.apply(this),this.numbered=e&&"none"!==s.autoNumber,this.save={notags:i.global.notags,notag:i.global.notag},i.global.notags=a?null:t,i.global.tagged=!e&&a&&!i.global.forcetag},EndEntry:function(){this.row.length%2==1&&this.fixInitialMO(this.data),this.row.push(t.mtd.apply(t,this.data)),this.data=[]},EndRow:function(){var e=t.mtr;!this.global.tag&&this.numbered&&this.autoTag(),this.global.notags||(this.global.tag?(this.row=[this.getTag()].concat(this.row),e=t.mlabeledtr):this.clearTag()),this.numbered&&delete this.global.notag,this.table.push(e.apply(t,this.row)),this.row=[]},EndTable:function(){this.SUPER(arguments).EndTable.call(this),this.global.notags=this.save.notags,this.global.notag=this.save.notag}}),n.start.Augment({oldCheckItem:n.start.prototype.checkItem,checkItem:function(i){if("stop"===i.type){var r=this.mmlData(),o=this.global;if(!a.display||o.tag||o.tagged||o.isInner||"all"!==s.autoNumber&&!o.forcetag||this.autoTag(),o.tag){var l=[this.getTag(),t.mtd(r)],h={side:e.config.TagSide,minlabelspacing:e.config.TagIndent,displaystyle:"inherit"};r=t.mtable(t.mlabeledtr.apply(t,l)).With(h)}return n.mml(r)}return this.oldCheckItem.call(this,i)}}),e.prefilterHooks.Add((function(t){a.display=t.display,a.number=a.startNumber,a.eqlabels={},a.eqIDs={},a.badref=!1,a.refUpdate&&(a.number=t.script.MathJax.startNumber)})),e.postfilterHooks.Add((function(t){t.script.MathJax.startNumber=a.startNumber,a.startNumber=a.number,MathJax.Hub.Insert(a.IDs,a.eqIDs),MathJax.Hub.Insert(a.labels,a.eqlabels),a.badref&&!t.math.texError&&a.refs.push(t.script)}),100),MathJax.Hub.Register.MessageHook("Begin Math Input",(function(){a.refs=[],a.refUpdate=!1})),MathJax.Hub.Register.MessageHook("End Math Input",(function(t){if(a.refs.length){a.refUpdate=!0;for(var e=0,i=a.refs.length;e<i;e++)a.refs[e].MathJax.state=MathJax.ElementJax.STATE.UPDATE;return MathJax.Hub.processInput({scripts:a.refs,start:(new Date).getTime(),i:0,j:0,jax:{},jaxIDs:[]})}return null})),e.resetEquationNumbers=function(t,e){a.startNumber=t||0,e||(a.labels={},a.IDs={})},MathJax.Hub.Startup.signal.Post("TeX AMSmath Ready")})),MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/AMSmath.js"),MathJax.Extension["TeX/AMSsymbols"]={version:"2.7.9"},MathJax.Hub.Register.StartupHook("TeX Jax Ready",(function(){var t=MathJax.ElementJax.mml;MathJax.InputJax.TeX.Definitions.Add({mathchar0mi:{digamma:"03DD",varkappa:"03F0",varGamma:["0393",{mathvariant:t.VARIANT.ITALIC}],varDelta:["0394",{mathvariant:t.VARIANT.ITALIC}],varTheta:["0398",{mathvariant:t.VARIANT.ITALIC}],varLambda:["039B",{mathvariant:t.VARIANT.ITALIC}],varXi:["039E",{mathvariant:t.VARIANT.ITALIC}],varPi:["03A0",{mathvariant:t.VARIANT.ITALIC}],varSigma:["03A3",{mathvariant:t.VARIANT.ITALIC}],varUpsilon:["03A5",{mathvariant:t.VARIANT.ITALIC}],varPhi:["03A6",{mathvariant:t.VARIANT.ITALIC}],varPsi:["03A8",{mathvariant:t.VARIANT.ITALIC}],varOmega:["03A9",{mathvariant:t.VARIANT.ITALIC}],beth:"2136",gimel:"2137",daleth:"2138",backprime:["2035",{variantForm:!0}],hslash:"210F",varnothing:["2205",{variantForm:!0}],blacktriangle:"25B4",triangledown:["25BD",{variantForm:!0}],blacktriangledown:"25BE",square:"25FB",Box:"25FB",blacksquare:"25FC",lozenge:"25CA",Diamond:"25CA",blacklozenge:"29EB",circledS:["24C8",{mathvariant:t.VARIANT.NORMAL}],bigstar:"2605",sphericalangle:"2222",measuredangle:"2221",nexists:"2204",complement:"2201",mho:"2127",eth:["00F0",{mathvariant:t.VARIANT.NORMAL}],Finv:"2132",diagup:"2571",Game:"2141",diagdown:"2572",Bbbk:["006B",{mathvariant:t.VARIANT.DOUBLESTRUCK}],yen:"00A5",circledR:"00AE",checkmark:"2713",maltese:"2720"},mathchar0mo:{dotplus:"2214",ltimes:"22C9",smallsetminus:"2216",rtimes:"22CA",Cap:"22D2",doublecap:"22D2",leftthreetimes:"22CB",Cup:"22D3",doublecup:"22D3",rightthreetimes:"22CC",barwedge:"22BC",curlywedge:"22CF",veebar:"22BB",curlyvee:"22CE",doublebarwedge:"2A5E",boxminus:"229F",circleddash:"229D",boxtimes:"22A0",circledast:"229B",boxdot:"22A1",circledcirc:"229A",boxplus:"229E",centerdot:["22C5",{variantForm:!0}],divideontimes:"22C7",intercal:"22BA",leqq:"2266",geqq:"2267",leqslant:"2A7D",geqslant:"2A7E",eqslantless:"2A95",eqslantgtr:"2A96",lesssim:"2272",gtrsim:"2273",lessapprox:"2A85",gtrapprox:"2A86",approxeq:"224A",lessdot:"22D6",gtrdot:"22D7",lll:"22D8",llless:"22D8",ggg:"22D9",gggtr:"22D9",lessgtr:"2276",gtrless:"2277",lesseqgtr:"22DA",gtreqless:"22DB",lesseqqgtr:"2A8B",gtreqqless:"2A8C",doteqdot:"2251",Doteq:"2251",eqcirc:"2256",risingdotseq:"2253",circeq:"2257",fallingdotseq:"2252",triangleq:"225C",backsim:"223D",thicksim:["223C",{variantForm:!0}],backsimeq:"22CD",thickapprox:["2248",{variantForm:!0}],subseteqq:"2AC5",supseteqq:"2AC6",Subset:"22D0",Supset:"22D1",sqsubset:"228F",sqsupset:"2290",preccurlyeq:"227C",succcurlyeq:"227D",curlyeqprec:"22DE",curlyeqsucc:"22DF",precsim:"227E",succsim:"227F",precapprox:"2AB7",succapprox:"2AB8",vartriangleleft:"22B2",lhd:"22B2",vartriangleright:"22B3",rhd:"22B3",trianglelefteq:"22B4",unlhd:"22B4",trianglerighteq:"22B5",unrhd:"22B5",vDash:"22A8",Vdash:"22A9",Vvdash:"22AA",smallsmile:["2323",{variantForm:!0}],shortmid:["2223",{variantForm:!0}],smallfrown:["2322",{variantForm:!0}],shortparallel:["2225",{variantForm:!0}],bumpeq:"224F",between:"226C",Bumpeq:"224E",pitchfork:"22D4",varpropto:"221D",backepsilon:"220D",blacktriangleleft:"25C2",blacktriangleright:"25B8",therefore:"2234",because:"2235",eqsim:"2242",vartriangle:["25B3",{variantForm:!0}],Join:"22C8",nless:"226E",ngtr:"226F",nleq:"2270",ngeq:"2271",nleqslant:["2A87",{variantForm:!0}],ngeqslant:["2A88",{variantForm:!0}],nleqq:["2270",{variantForm:!0}],ngeqq:["2271",{variantForm:!0}],lneq:"2A87",gneq:"2A88",lneqq:"2268",gneqq:"2269",lvertneqq:["2268",{variantForm:!0}],gvertneqq:["2269",{variantForm:!0}],lnsim:"22E6",gnsim:"22E7",lnapprox:"2A89",gnapprox:"2A8A",nprec:"2280",nsucc:"2281",npreceq:["22E0",{variantForm:!0}],nsucceq:["22E1",{variantForm:!0}],precneqq:"2AB5",succneqq:"2AB6",precnsim:"22E8",succnsim:"22E9",precnapprox:"2AB9",succnapprox:"2ABA",nsim:"2241",ncong:"2246",nshortmid:["2224",{variantForm:!0}],nshortparallel:["2226",{variantForm:!0}],nmid:"2224",nparallel:"2226",nvdash:"22AC",nvDash:"22AD",nVdash:"22AE",nVDash:"22AF",ntriangleleft:"22EA",ntriangleright:"22EB",ntrianglelefteq:"22EC",ntrianglerighteq:"22ED",nsubseteq:"2288",nsupseteq:"2289",nsubseteqq:["2288",{variantForm:!0}],nsupseteqq:["2289",{variantForm:!0}],subsetneq:"228A",supsetneq:"228B",varsubsetneq:["228A",{variantForm:!0}],varsupsetneq:["228B",{variantForm:!0}],subsetneqq:"2ACB",supsetneqq:"2ACC",varsubsetneqq:["2ACB",{variantForm:!0}],varsupsetneqq:["2ACC",{variantForm:!0}],leftleftarrows:"21C7",rightrightarrows:"21C9",leftrightarrows:"21C6",rightleftarrows:"21C4",Lleftarrow:"21DA",Rrightarrow:"21DB",twoheadleftarrow:"219E",twoheadrightarrow:"21A0",leftarrowtail:"21A2",rightarrowtail:"21A3",looparrowleft:"21AB",looparrowright:"21AC",leftrightharpoons:"21CB",rightleftharpoons:["21CC",{variantForm:!0}],curvearrowleft:"21B6",curvearrowright:"21B7",circlearrowleft:"21BA",circlearrowright:"21BB",Lsh:"21B0",Rsh:"21B1",upuparrows:"21C8",downdownarrows:"21CA",upharpoonleft:"21BF",upharpoonright:"21BE",downharpoonleft:"21C3",restriction:"21BE",multimap:"22B8",downharpoonright:"21C2",leftrightsquigarrow:"21AD",rightsquigarrow:"21DD",leadsto:"21DD",dashrightarrow:"21E2",dashleftarrow:"21E0",nleftarrow:"219A",nrightarrow:"219B",nLeftarrow:"21CD",nRightarrow:"21CF",nleftrightarrow:"21AE",nLeftrightarrow:"21CE"},delimiter:{"\\ulcorner":"231C","\\urcorner":"231D","\\llcorner":"231E","\\lrcorner":"231F"},macros:{implies:["Macro","\\;\\Longrightarrow\\;"],impliedby:["Macro","\\;\\Longleftarrow\\;"]}},null,!0);var e=t.mo.OPTYPES.REL;MathJax.Hub.Insert(t.mo.prototype,{OPTABLE:{infix:{"⌢":e,"⌣":e,"△":e,"":e,"":e,"":e,"":e,"":e,"":e,"":e,"":e,"":e,"":e,"":e,"":e,"":e,"":e,"":e,"":e}}}),MathJax.Hub.Startup.signal.Post("TeX AMSsymbols Ready")})),MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/AMSsymbols.js"),function(t,e){var a,i=function(t){return MathJax.Localization._.apply(MathJax.Localization,[["MathML",t]].concat([].slice.call(arguments,1)))};t.Parse=MathJax.Object.Subclass({Init:function(t,e){this.Parse(t,e)},Parse:function(e,a){var i;"string"!=typeof e?i=e.parentNode:null==(i=t.ParseXML(this.preProcessMath.call(this,e)))&&t.Error(["ErrorParsingMathML","Error parsing MathML"]);var n=i.getElementsByTagName("parsererror")[0];if(n&&t.Error(["ParsingError","Error parsing MathML: %1",n.textContent.replace(/This page.*?errors:|XML Parsing Error: |Below is a rendering of the page.*/g,"")]),1!==i.childNodes.length&&t.Error(["MathMLSingleElement","MathML must be formed by a single element"]),"html"===i.firstChild.nodeName.toLowerCase()){var s=i.getElementsByTagName("h1")[0];s&&"XML parsing error"===s.textContent&&s.nextSibling&&t.Error(["ParsingError","Error parsing MathML: %1",String(s.nextSibling.nodeValue).replace(/fatal parsing error: /,"")])}"math"!==i.firstChild.nodeName.toLowerCase().replace(/^[a-z]+:/,"")&&t.Error(["MathMLRootElement","MathML must be formed by a <math> element, not %1","<"+i.firstChild.nodeName+">"]);var r={math:i.firstChild,script:a};t.DOMfilterHooks.Execute(r),this.mml=this.MakeMML(r.math)},MakeMML:function(e){var n,s=String(e.getAttribute("class")||""),r=e.nodeName.toLowerCase().replace(/^[a-z]+:/,""),o=s.match(/(^| )MJX-TeXAtom-([^ ]*)/);if(o)n=this.TeXAtom(o[2],"OP"===o[2]&&!s.match(/MJX-fixedlimits/));else{if(!(a[r]&&a[r].isa&&a[r].isa(a.mbase)))return MathJax.Hub.signal.Post(["MathML Jax - unknown node type",r]),a.Error(i("UnknownNodeType","Unknown node type: %1",r));n=a[r]()}return this.AddAttributes(n,e),this.CheckClass(n,n.class),this.AddChildren(n,e),t.config.useMathMLspacing&&(n.useMMLspacing=8),n},TeXAtom:function(t,e){var i=a.TeXAtom().With({texClass:a.TEXCLASS[t]});return e&&(i.movesupsub=i.movablelimits=!0),i},CheckClass:function(t,e){for(var i=[],n=0,s=(e=(e||"").split(/ /)).length;n<s;n++)"MJX-"===e[n].substr(0,4)?"MJX-arrow"===e[n]?t.notation.match("/"+a.NOTATION.UPDIAGONALARROW+"/")||(t.notation+=" "+a.NOTATION.UPDIAGONALARROW):"MJX-variant"===e[n]?(t.variantForm=!0,MathJax.Extension["TeX/AMSsymbols"]||MathJax.Hub.RestartAfter(MathJax.Ajax.Require("[MathJax]/extensions/TeX/AMSsymbols.js"))):"MJX-TeXAtom"!==e[n].substr(0,11)&&(t.mathvariant=e[n].substr(3),"-tex-caligraphic-bold"!==t.mathvariant&&"-tex-oldstyle-bold"!==t.mathvariant||MathJax.Extension["TeX/boldsymbol"]||MathJax.Hub.RestartAfter(MathJax.Ajax.Require("[MathJax]/extensions/TeX/boldsymbol.js"))):i.push(e[n]);i.length?t.class=i.join(" "):delete t.class},AddAttributes:function(t,e){t.attr={},t.attrNames=[];for(var i=0,n=e.attributes.length;i<n;i++){var s=e.attributes[i].name;if("xlink:href"==s&&(s="href"),!s.match(/:/)&&!s.match(/^_moz-math-((column|row)(align|line)|font-style)$/)){var r=e.attributes[i].value;r=this.filterAttribute(s,r);var o="mstyle"===t.type?a.math.prototype.defaults:t.defaults;if(null!=r){var l=r.toLowerCase();"true"!==l&&"false"!==l||"boolean"!=typeof o[s]&&o[s]!==a.INHERIT&&"math"!==t.type&&"mstyle"!==t.type&&(o[s]!==a.AUTO||null!=t.defaultDef&&"boolean"!=typeof t.defaultDef[s])||(r="true"===l),null!=o[s]||a.copyAttributes[s]?t[s]=r:t.attr[s]=r,t.attrNames.push(s)}}}},filterAttribute:function(t,e){return e},AddChildren:function(e,i){for(var n=0,s=i.childNodes.length;n<s;n++){var r=i.childNodes[n];if("#comment"!==r.nodeName)if("#text"===r.nodeName)if(!e.isToken&&!e.isChars||e.mmlSelfClosing)r.nodeValue.match(/\S/)&&t.Error(["UnexpectedTextNode","Unexpected text node: %1","'"+r.nodeValue+"'"]);else{var o=r.nodeValue;e.isToken&&(o=o.replace(/&([a-z][a-z0-9]*);/gi,this.replaceEntity),o=this.trimSpace(o)),e.Append(a.chars(o))}else if("annotation-xml"===e.type)e.Append(a.xml(r));else{var l=this.MakeMML(r);e.Append(l),l.mmlSelfClosing&&l.data.length&&(e.Append.apply(e,l.data),l.data=[])}}if("mrow"===e.type&&e.data.length>=2){var h=e.data[0],u=e.data[e.data.length-1];"mo"===h.type&&h.Get("fence")&&"mo"===u.type&&u.Get("fence")&&(h.data[0]&&(e.open=h.data.join("")),u.data[0]&&(e.close=u.data.join("")))}},preProcessMath:function(t){t.match(/^<[a-z]+:/i)&&!t.match(/^<[^<>]* xmlns:/)&&(t=t.replace(/^<([a-z]+)(:math)/i,'<$1$2 xmlns:$1="http://www.w3.org/1998/Math/MathML"'));var e=t.match(/^(<math( ('.*?'|".*?"|[^>])+)>)/i);return e&&e[2].match(/ (?!xmlns=)[a-z]+=\"http:/i)&&(t=e[1].replace(/ (?!xmlns=)([a-z]+=(['"])http:.*?\2)/gi," xmlns:$1 $1")+t.substr(e[0].length)),t.match(/^<math[ >]/i)&&!t.match(/^<[^<>]* xmlns=/)&&(t=t.replace(/^<(math)/i,'<math xmlns="http://www.w3.org/1998/Math/MathML"')),(t=t.replace(/^\s*(?:\/\/)?<!(--)?\[CDATA\[((.|\n)*)(\/\/)?\]\]\1>\s*$/,"$2")).replace(/&([a-z][a-z0-9]*);/gi,this.replaceEntity)},trimSpace:function(t){return t.replace(/[\t\n\r]/g," ").replace(/^ +/,"").replace(/ +$/,"").replace(/  +/g," ")},replaceEntity:function(e,a){if(a.match(/^(lt|amp|quot)$/))return e;if(t.Parse.Entity[a])return t.Parse.Entity[a];var i=a.charAt(0).toLowerCase(),n=a.match(/^[a-zA-Z](fr|scr|opf)$/);return n&&(i=n[1]),t.Parse.loaded[i]||(t.Parse.loaded[i]=!0,MathJax.Hub.RestartAfter(MathJax.Ajax.Require(t.entityDir+"/"+i+".js"))),e}},{loaded:[]}),t.Augment({sourceMenuTitle:["OriginalMathML","Original MathML"],prefilterHooks:MathJax.Callback.Hooks(!0),DOMfilterHooks:MathJax.Callback.Hooks(!0),postfilterHooks:MathJax.Callback.Hooks(!0),Translate:function(i){this.ParseXML||(this.ParseXML=this.createParser());var n,s,r={script:i};i.firstChild&&"math"===i.firstChild.nodeName.toLowerCase().replace(/^[a-z]+:/,"")?r.math=i.firstChild:(s=MathJax.HTML.getScript(i),e.isMSIE&&(s=s.replace(/(&nbsp;)+$/,"")),r.math=s);var o=this.prefilterHooks.Execute(r);if(o)return o;s=r.math;try{n=t.Parse(s,i).mml}catch(t){if(!t.mathmlError)throw t;n=this.formatError(t,s,i)}return r.math=a(n),this.postfilterHooks.Execute(r)||r.math},prefilterMath:function(t,e){return t},prefilterMathML:function(t,e){return t},formatError:function(t,e,i){var n=t.message.replace(/\n.*/,"");return MathJax.Hub.signal.Post(["MathML Jax - parse error",n,e,i]),a.Error(n)},Error:function(t){throw MathJax.Object.isArray(t)&&(t=i.apply(i,t)),MathJax.Hub.Insert(Error(t),{mathmlError:!0})},parseDOM:function(t){return this.parser.parseFromString(t,"text/xml")},parseMS:function(t){return this.parser.loadXML(t)?this.parser:null},parseDIV:function(t){this.div.innerHTML="<div>"+t.replace(/<([a-z]+)([^>]*)\/>/g,"<$1$2></$1>")+"</div>";var e=this.div.firstChild;return this.div.innerHTML="",e},parseError:function(t){return null},createMSParser:function(){for(var t=null,e=["MSXML2.DOMDocument.6.0","MSXML2.DOMDocument.5.0","MSXML2.DOMDocument.4.0","MSXML2.DOMDocument.3.0","MSXML2.DOMDocument.2.0","Microsoft.XMLDOM"],a=0,i=e.length;a<i&&!t;a++)try{t=new ActiveXObject(e[a])}catch(t){}return t},createParser:function(){return window.DOMParser?(this.parser=new DOMParser,this.parseDOM):window.ActiveXObject?(this.parser=this.createMSParser(),this.parser?(this.parser.async=!1,this.parseMS):(MathJax.Localization.Try(this.parserCreationError),this.parseError)):(this.div=MathJax.Hub.Insert(document.createElement("div"),{style:{visibility:"hidden",overflow:"hidden",height:"1px",position:"absolute",top:0}}),document.body.firstChild?document.body.insertBefore(this.div,document.body.firstChild):document.body.appendChild(this.div),this.parseDIV)},parserCreationError:function(){alert(i("CantCreateXMLParser","MathJax can't create an XML parser for MathML.  Check that\nthe 'Script ActiveX controls marked safe for scripting' security\nsetting is enabled (use the Internet Options item in the Tools\nmenu, and select the Security panel, then press the Custom Level\nbutton to check this).\n\nMathML equations will not be able to be processed by MathJax."))},Startup:function(){(a=MathJax.ElementJax.mml).mspace.Augment({mmlSelfClosing:!0}),a.none.Augment({mmlSelfClosing:!0}),a.mprescripts.Augment({mmlSelfClosing:!0}),a.maligngroup.Augment({mmlSelfClosing:!0}),a.malignmark.Augment({mmlSelfClosing:!0})}}),t.prefilterHooks.Add((function(e){e.math="string"==typeof e.math?t.prefilterMath(e.math,e.script):t.prefilterMathML(e.math,e.script)})),t.Parse.Entity={ApplyFunction:"⁡",Backslash:"∖",Because:"∵",Breve:"˘",Cap:"⋒",CenterDot:"·",CircleDot:"⊙",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",Congruent:"≡",ContourIntegral:"∮",Coproduct:"∐",Cross:"⨯",Cup:"⋓",CupCap:"≍",Dagger:"‡",Del:"∇",Delta:"Δ",Diamond:"⋄",DifferentialD:"ⅆ",DotEqual:"≐",DoubleDot:"¨",DoubleRightTee:"⊨",DoubleVerticalBar:"∥",DownArrow:"↓",DownLeftVector:"↽",DownRightVector:"⇁",DownTee:"⊤",Downarrow:"⇓",Element:"∈",EqualTilde:"≂",Equilibrium:"⇌",Exists:"∃",ExponentialE:"ⅇ",FilledVerySmallSquare:"▪",ForAll:"∀",Gamma:"Γ",Gg:"⋙",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Hacek:"ˇ",Hat:"^",HumpDownHump:"≎",HumpEqual:"≏",Im:"ℑ",ImaginaryI:"ⅈ",Integral:"∫",Intersection:"⋂",InvisibleComma:"⁣",InvisibleTimes:"⁢",Lambda:"Λ",Larr:"↞",LeftAngleBracket:"⟨",LeftArrow:"←",LeftArrowRightArrow:"⇆",LeftCeiling:"⌈",LeftDownVector:"⇃",LeftFloor:"⌊",LeftRightArrow:"↔",LeftTee:"⊣",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpVector:"↿",LeftVector:"↼",Leftarrow:"⇐",Leftrightarrow:"⇔",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",LessSlantEqual:"⩽",LessTilde:"≲",Ll:"⋘",Lleftarrow:"⇚",LongLeftArrow:"⟵",LongLeftRightArrow:"⟷",LongRightArrow:"⟶",Longleftarrow:"⟸",Longleftrightarrow:"⟺",Longrightarrow:"⟹",Lsh:"↰",MinusPlus:"∓",NestedGreaterGreater:"≫",NestedLessLess:"≪",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotPrecedes:"⊀",NotPrecedesSlantEqual:"⋠",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsSlantEqual:"⋡",NotSupersetEqual:"⊉",NotTilde:"≁",NotVerticalBar:"∤",Omega:"Ω",OverBar:"‾",OverBrace:"⏞",PartialD:"∂",Phi:"Φ",Pi:"Π",PlusMinus:"±",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",Product:"∏",Proportional:"∝",Psi:"Ψ",Rarr:"↠",Re:"ℜ",ReverseEquilibrium:"⇋",RightAngleBracket:"⟩",RightArrow:"→",RightArrowLeftArrow:"⇄",RightCeiling:"⌉",RightDownVector:"⇂",RightFloor:"⌋",RightTee:"⊢",RightTeeArrow:"↦",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpVector:"↾",RightVector:"⇀",Rightarrow:"⇒",Rrightarrow:"⇛",Rsh:"↱",Sigma:"Σ",SmallCircle:"∘",Sqrt:"√",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",Star:"⋆",Subset:"⋐",SubsetEqual:"⊆",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",SuchThat:"∋",Sum:"∑",Superset:"⊃",SupersetEqual:"⊇",Supset:"⋑",Therefore:"∴",Theta:"Θ",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",UnderBar:"_",UnderBrace:"⏟",Union:"⋃",UnionPlus:"⊎",UpArrow:"↑",UpDownArrow:"↕",UpTee:"⊥",Uparrow:"⇑",Updownarrow:"⇕",Upsilon:"Υ",Vdash:"⊩",Vee:"⋁",VerticalBar:"∣",VerticalTilde:"≀",Vvdash:"⊪",Wedge:"⋀",Xi:"Ξ",acute:"´",aleph:"ℵ",alpha:"α",amalg:"⨿",and:"∧",ang:"∠",angmsd:"∡",angsph:"∢",ape:"≊",backprime:"‵",backsim:"∽",backsimeq:"⋍",beta:"β",beth:"ℶ",between:"≬",bigcirc:"◯",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",blacklozenge:"⧫",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",bowtie:"⋈",boxdl:"┐",boxdr:"┌",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxur:"└",bsol:"\\",bull:"•",cap:"∩",check:"✓",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledR:"®",circledS:"Ⓢ",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",clubs:"♣",colon:":",comp:"∁",ctdot:"⋯",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cup:"∪",curarr:"↷",curlyvee:"⋎",curlywedge:"⋏",dagger:"†",daleth:"ℸ",ddarr:"⇊",deg:"°",delta:"δ",digamma:"ϝ",div:"÷",divideontimes:"⋇",dot:"˙",doteqdot:"≑",dotplus:"∔",dotsquare:"⊡",dtdot:"⋱",ecir:"≖",efDot:"≒",egs:"⪖",ell:"ℓ",els:"⪕",empty:"∅",epsi:"ε",epsiv:"ϵ",erDot:"≓",eta:"η",eth:"ð",flat:"♭",fork:"⋔",frown:"⌢",gEl:"⪌",gamma:"γ",gap:"⪆",gimel:"ℷ",gnE:"≩",gnap:"⪊",gne:"⪈",gnsim:"⋧",gt:">",gtdot:"⋗",harrw:"↭",hbar:"ℏ",hellip:"…",hookleftarrow:"↩",hookrightarrow:"↪",imath:"ı",infin:"∞",intcal:"⊺",iota:"ι",jmath:"ȷ",kappa:"κ",kappav:"ϰ",lEg:"⪋",lambda:"λ",lap:"⪅",larrlp:"↫",larrtl:"↢",lbrace:"{",lbrack:"[",le:"≤",leftleftarrows:"⇇",leftthreetimes:"⋋",lessdot:"⋖",lmoust:"⎰",lnE:"≨",lnap:"⪉",lne:"⪇",lnsim:"⋦",longmapsto:"⟼",looparrowright:"↬",lowast:"∗",loz:"◊",lt:"<",ltimes:"⋉",ltri:"◃",macr:"¯",malt:"✠",mho:"℧",mu:"μ",multimap:"⊸",nLeftarrow:"⇍",nLeftrightarrow:"⇎",nRightarrow:"⇏",nVDash:"⊯",nVdash:"⊮",natur:"♮",nearr:"↗",nharr:"↮",nlarr:"↚",not:"¬",nrarr:"↛",nu:"ν",nvDash:"⊭",nvdash:"⊬",nwarr:"↖",omega:"ω",omicron:"ο",or:"∨",osol:"⊘",period:".",phi:"φ",phiv:"ϕ",pi:"π",piv:"ϖ",prap:"⪷",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",prime:"′",psi:"ψ",rarrtl:"↣",rbrace:"}",rbrack:"]",rho:"ρ",rhov:"ϱ",rightrightarrows:"⇉",rightthreetimes:"⋌",ring:"˚",rmoust:"⎱",rtimes:"⋊",rtri:"▹",scap:"⪸",scnE:"⪶",scnap:"⪺",scnsim:"⋩",sdot:"⋅",searr:"↘",sect:"§",sharp:"♯",sigma:"σ",sigmav:"ς",simne:"≆",smile:"⌣",spades:"♠",sub:"⊂",subE:"⫅",subnE:"⫋",subne:"⊊",supE:"⫆",supnE:"⫌",supne:"⊋",swarr:"↙",tau:"τ",theta:"θ",thetav:"ϑ",tilde:"˜",times:"×",triangle:"▵",triangleq:"≜",upsi:"υ",upuparrows:"⇈",veebar:"⊻",vellip:"⋮",weierp:"℘",xi:"ξ",yen:"¥",zeta:"ζ",zigrarr:"⇝"},t.loadComplete("jax.js")}(MathJax.InputJax.MathML,MathJax.Hub.Browser),function(t){var e,a=MathJax.Object.Subclass({firstChild:null,lastChild:null,Init:function(){this.childNodes=[]},appendChild:function(t){return t.parent&&t.parent.removeChild(t),this.lastChild&&(this.lastChild.nextSibling=t),this.firstChild||(this.firstChild=t),this.childNodes.push(t),t.parent=this,this.lastChild=t,t},removeChild:function(t){for(var e=0,a=this.childNodes.length;e<a&&this.childNodes[e]!==t;e++);if(e!==a)return this.childNodes.splice(e,1),t===this.firstChild&&(this.firstChild=t.nextSibling),t===this.lastChild&&(this.childNodes.length?this.lastChild=this.childNodes[this.childNodes.length-1]:this.lastChild=null),e&&(this.childNodes[e-1].nextSibling=t.nextSibling),t.nextSibling=t.parent=null,t},replaceChild:function(t,e){for(var a=0,i=this.childNodes.length;a<i&&this.childNodes[a]!==e;a++);return a?this.childNodes[a-1].nextSibling=t:this.firstChild=t,a>=i-1&&(this.lastChild=t),this.childNodes[a]=t,t.nextSibling=e.nextSibling,e.nextSibling=e.parent=null,e},hasChildNodes:function(t){return this.childNodes.length>0},toString:function(){return"{"+this.childNodes.join("")+"}"}}),i={getElementById:!0,createElementNS:function(a,i){var n=e[i]();return"mo"===i&&t.config.useMathMLspacing&&(n.useMMLspacing=128),n},createTextNode:function(t){return e.chars(t).With({nodeValue:t})},createDocumentFragment:function(){return a()}},n="blue",s=!0,r=!0,o=".",l="Microsoft"=="MathJax".slice(0,9);function h(t){return l?i.createElement(t):i.createElementNS("http://www.w3.org/1999/xhtml",t)}var u="http://www.w3.org/1998/Math/MathML";function c(t){return l?i.createElement("m:"+t):i.createElementNS(u,t)}function m(t,e){var a;return a=l?i.createElement("m:"+t):i.createElementNS(u,t),e&&a.appendChild(e),a}var p=["𝒜","ℬ","𝒞","𝒟","ℰ","ℱ","𝒢","ℋ","ℐ","𝒥","𝒦","ℒ","ℳ","𝒩","𝒪","𝒫","𝒬","ℛ","𝒮","𝒯","𝒰","𝒱","𝒲","𝒳","𝒴","𝒵","𝒶","𝒷","𝒸","𝒹","ℯ","𝒻","ℊ","𝒽","𝒾","𝒿","𝓀","𝓁","𝓂","𝓃","ℴ","𝓅","𝓆","𝓇","𝓈","𝓉","𝓊","𝓋","𝓌","𝓍","𝓎","𝓏"],d=["𝔄","𝔅","ℭ","𝔇","𝔈","𝔉","𝔊","ℌ","ℑ","𝔍","𝔎","𝔏","𝔐","𝔑","𝔒","𝔓","𝔔","ℜ","𝔖","𝔗","𝔘","𝔙","𝔚","𝔛","𝔜","ℨ","𝔞","𝔟","𝔠","𝔡","𝔢","𝔣","𝔤","𝔥","𝔦","𝔧","𝔨","𝔩","𝔪","𝔫","𝔬","𝔭","𝔮","𝔯","𝔰","𝔱","𝔲","𝔳","𝔴","𝔵","𝔶","𝔷"],f=["𝔸","𝔹","ℂ","𝔻","𝔼","𝔽","𝔾","ℍ","𝕀","𝕁","𝕂","𝕃","𝕄","ℕ","𝕆","ℙ","ℚ","ℝ","𝕊","𝕋","𝕌","𝕍","𝕎","𝕏","𝕐","ℤ","𝕒","𝕓","𝕔","𝕕","𝕖","𝕗","𝕘","𝕙","𝕚","𝕛","𝕜","𝕝","𝕞","𝕟","𝕠","𝕡","𝕢","𝕣","𝕤","𝕥","𝕦","𝕧","𝕨","𝕩","𝕪","𝕫"],g={input:'"',tag:"mtext",output:"mbox",tex:null,ttype:10},M=[{input:"alpha",tag:"mi",output:"α",tex:null,ttype:0},{input:"beta",tag:"mi",output:"β",tex:null,ttype:0},{input:"chi",tag:"mi",output:"χ",tex:null,ttype:0},{input:"delta",tag:"mi",output:"δ",tex:null,ttype:0},{input:"Delta",tag:"mo",output:"Δ",tex:null,ttype:0},{input:"epsi",tag:"mi",output:"ε",tex:"epsilon",ttype:0},{input:"varepsilon",tag:"mi",output:"ɛ",tex:null,ttype:0},{input:"eta",tag:"mi",output:"η",tex:null,ttype:0},{input:"gamma",tag:"mi",output:"γ",tex:null,ttype:0},{input:"Gamma",tag:"mo",output:"Γ",tex:null,ttype:0},{input:"iota",tag:"mi",output:"ι",tex:null,ttype:0},{input:"kappa",tag:"mi",output:"κ",tex:null,ttype:0},{input:"lambda",tag:"mi",output:"λ",tex:null,ttype:0},{input:"Lambda",tag:"mo",output:"Λ",tex:null,ttype:0},{input:"lamda",tag:"mi",output:"λ",tex:null,ttype:0},{input:"Lamda",tag:"mo",output:"Λ",tex:null,ttype:0},{input:"mu",tag:"mi",output:"μ",tex:null,ttype:0},{input:"nu",tag:"mi",output:"ν",tex:null,ttype:0},{input:"omega",tag:"mi",output:"ω",tex:null,ttype:0},{input:"Omega",tag:"mo",output:"Ω",tex:null,ttype:0},{input:"phi",tag:"mi",output:"ϕ",tex:null,ttype:0},{input:"varphi",tag:"mi",output:"φ",tex:null,ttype:0},{input:"Phi",tag:"mo",output:"Φ",tex:null,ttype:0},{input:"pi",tag:"mi",output:"π",tex:null,ttype:0},{input:"Pi",tag:"mo",output:"Π",tex:null,ttype:0},{input:"psi",tag:"mi",output:"ψ",tex:null,ttype:0},{input:"Psi",tag:"mi",output:"Ψ",tex:null,ttype:0},{input:"rho",tag:"mi",output:"ρ",tex:null,ttype:0},{input:"sigma",tag:"mi",output:"σ",tex:null,ttype:0},{input:"Sigma",tag:"mo",output:"Σ",tex:null,ttype:0},{input:"tau",tag:"mi",output:"τ",tex:null,ttype:0},{input:"theta",tag:"mi",output:"θ",tex:null,ttype:0},{input:"vartheta",tag:"mi",output:"ϑ",tex:null,ttype:0},{input:"Theta",tag:"mo",output:"Θ",tex:null,ttype:0},{input:"upsilon",tag:"mi",output:"υ",tex:null,ttype:0},{input:"xi",tag:"mi",output:"ξ",tex:null,ttype:0},{input:"Xi",tag:"mo",output:"Ξ",tex:null,ttype:0},{input:"zeta",tag:"mi",output:"ζ",tex:null,ttype:0},{input:"*",tag:"mo",output:"⋅",tex:"cdot",ttype:0},{input:"**",tag:"mo",output:"∗",tex:"ast",ttype:0},{input:"***",tag:"mo",output:"⋆",tex:"star",ttype:0},{input:"//",tag:"mo",output:"/",tex:null,ttype:0},{input:"\\\\",tag:"mo",output:"\\",tex:"backslash",ttype:0},{input:"setminus",tag:"mo",output:"\\",tex:null,ttype:0},{input:"xx",tag:"mo",output:"×",tex:"times",ttype:0},{input:"|><",tag:"mo",output:"⋉",tex:"ltimes",ttype:0},{input:"><|",tag:"mo",output:"⋊",tex:"rtimes",ttype:0},{input:"|><|",tag:"mo",output:"⋈",tex:"bowtie",ttype:0},{input:"-:",tag:"mo",output:"÷",tex:"div",ttype:0},{input:"divide",tag:"mo",output:"-:",tex:null,ttype:8},{input:"@",tag:"mo",output:"∘",tex:"circ",ttype:0},{input:"o+",tag:"mo",output:"⊕",tex:"oplus",ttype:0},{input:"ox",tag:"mo",output:"⊗",tex:"otimes",ttype:0},{input:"o.",tag:"mo",output:"⊙",tex:"odot",ttype:0},{input:"sum",tag:"mo",output:"∑",tex:null,ttype:7},{input:"prod",tag:"mo",output:"∏",tex:null,ttype:7},{input:"^^",tag:"mo",output:"∧",tex:"wedge",ttype:0},{input:"^^^",tag:"mo",output:"⋀",tex:"bigwedge",ttype:7},{input:"vv",tag:"mo",output:"∨",tex:"vee",ttype:0},{input:"vvv",tag:"mo",output:"⋁",tex:"bigvee",ttype:7},{input:"nn",tag:"mo",output:"∩",tex:"cap",ttype:0},{input:"nnn",tag:"mo",output:"⋂",tex:"bigcap",ttype:7},{input:"uu",tag:"mo",output:"∪",tex:"cup",ttype:0},{input:"uuu",tag:"mo",output:"⋃",tex:"bigcup",ttype:7},{input:"!=",tag:"mo",output:"≠",tex:"ne",ttype:0},{input:":=",tag:"mo",output:":=",tex:null,ttype:0},{input:"lt",tag:"mo",output:"<",tex:null,ttype:0},{input:"<=",tag:"mo",output:"≤",tex:"le",ttype:0},{input:"lt=",tag:"mo",output:"≤",tex:"leq",ttype:0},{input:"gt",tag:"mo",output:">",tex:null,ttype:0},{input:">=",tag:"mo",output:"≥",tex:"ge",ttype:0},{input:"gt=",tag:"mo",output:"≥",tex:"geq",ttype:0},{input:"-<",tag:"mo",output:"≺",tex:"prec",ttype:0},{input:"-lt",tag:"mo",output:"≺",tex:null,ttype:0},{input:">-",tag:"mo",output:"≻",tex:"succ",ttype:0},{input:"-<=",tag:"mo",output:"⪯",tex:"preceq",ttype:0},{input:">-=",tag:"mo",output:"⪰",tex:"succeq",ttype:0},{input:"in",tag:"mo",output:"∈",tex:null,ttype:0},{input:"!in",tag:"mo",output:"∉",tex:"notin",ttype:0},{input:"sub",tag:"mo",output:"⊂",tex:"subset",ttype:0},{input:"sup",tag:"mo",output:"⊃",tex:"supset",ttype:0},{input:"sube",tag:"mo",output:"⊆",tex:"subseteq",ttype:0},{input:"supe",tag:"mo",output:"⊇",tex:"supseteq",ttype:0},{input:"-=",tag:"mo",output:"≡",tex:"equiv",ttype:0},{input:"~=",tag:"mo",output:"≅",tex:"cong",ttype:0},{input:"~~",tag:"mo",output:"≈",tex:"approx",ttype:0},{input:"prop",tag:"mo",output:"∝",tex:"propto",ttype:0},{input:"and",tag:"mtext",output:"and",tex:null,ttype:6},{input:"or",tag:"mtext",output:"or",tex:null,ttype:6},{input:"not",tag:"mo",output:"¬",tex:"neg",ttype:0},{input:"=>",tag:"mo",output:"⇒",tex:"implies",ttype:0},{input:"if",tag:"mo",output:"if",tex:null,ttype:6},{input:"<=>",tag:"mo",output:"⇔",tex:"iff",ttype:0},{input:"AA",tag:"mo",output:"∀",tex:"forall",ttype:0},{input:"EE",tag:"mo",output:"∃",tex:"exists",ttype:0},{input:"_|_",tag:"mo",output:"⊥",tex:"bot",ttype:0},{input:"TT",tag:"mo",output:"⊤",tex:"top",ttype:0},{input:"|--",tag:"mo",output:"⊢",tex:"vdash",ttype:0},{input:"|==",tag:"mo",output:"⊨",tex:"models",ttype:0},{input:"(",tag:"mo",output:"(",tex:"left(",ttype:4},{input:")",tag:"mo",output:")",tex:"right)",ttype:5},{input:"[",tag:"mo",output:"[",tex:"left[",ttype:4},{input:"]",tag:"mo",output:"]",tex:"right]",ttype:5},{input:"{",tag:"mo",output:"{",tex:null,ttype:4},{input:"}",tag:"mo",output:"}",tex:null,ttype:5},{input:"|",tag:"mo",output:"|",tex:null,ttype:9},{input:":|:",tag:"mo",output:"|",tex:null,ttype:0},{input:"|:",tag:"mo",output:"|",tex:null,ttype:4},{input:":|",tag:"mo",output:"|",tex:null,ttype:5},{input:"(:",tag:"mo",output:"〈",tex:"langle",ttype:4},{input:":)",tag:"mo",output:"〉",tex:"rangle",ttype:5},{input:"<<",tag:"mo",output:"〈",tex:null,ttype:4},{input:">>",tag:"mo",output:"〉",tex:null,ttype:5},{input:"{:",tag:"mo",output:"{:",tex:null,ttype:4,invisible:!0},{input:":}",tag:"mo",output:":}",tex:null,ttype:5,invisible:!0},{input:"int",tag:"mo",output:"∫",tex:null,ttype:0},{input:"dx",tag:"mi",output:"{:d x:}",tex:null,ttype:8},{input:"dy",tag:"mi",output:"{:d y:}",tex:null,ttype:8},{input:"dz",tag:"mi",output:"{:d z:}",tex:null,ttype:8},{input:"dt",tag:"mi",output:"{:d t:}",tex:null,ttype:8},{input:"oint",tag:"mo",output:"∮",tex:null,ttype:0},{input:"del",tag:"mo",output:"∂",tex:"partial",ttype:0},{input:"grad",tag:"mo",output:"∇",tex:"nabla",ttype:0},{input:"+-",tag:"mo",output:"±",tex:"pm",ttype:0},{input:"O/",tag:"mo",output:"∅",tex:"emptyset",ttype:0},{input:"oo",tag:"mo",output:"∞",tex:"infty",ttype:0},{input:"aleph",tag:"mo",output:"ℵ",tex:null,ttype:0},{input:"...",tag:"mo",output:"...",tex:"ldots",ttype:0},{input:":.",tag:"mo",output:"∴",tex:"therefore",ttype:0},{input:":'",tag:"mo",output:"∵",tex:"because",ttype:0},{input:"/_",tag:"mo",output:"∠",tex:"angle",ttype:0},{input:"/_\\",tag:"mo",output:"△",tex:"triangle",ttype:0},{input:"'",tag:"mo",output:"′",tex:"prime",ttype:0},{input:"tilde",tag:"mover",output:"~",tex:null,ttype:1,acc:!0},{input:"\\ ",tag:"mo",output:" ",tex:null,ttype:0},{input:"frown",tag:"mo",output:"⌢",tex:null,ttype:0},{input:"quad",tag:"mo",output:"  ",tex:null,ttype:0},{input:"qquad",tag:"mo",output:"    ",tex:null,ttype:0},{input:"cdots",tag:"mo",output:"⋯",tex:null,ttype:0},{input:"vdots",tag:"mo",output:"⋮",tex:null,ttype:0},{input:"ddots",tag:"mo",output:"⋱",tex:null,ttype:0},{input:"diamond",tag:"mo",output:"⋄",tex:null,ttype:0},{input:"square",tag:"mo",output:"□",tex:null,ttype:0},{input:"|__",tag:"mo",output:"⌊",tex:"lfloor",ttype:0},{input:"__|",tag:"mo",output:"⌋",tex:"rfloor",ttype:0},{input:"|~",tag:"mo",output:"⌈",tex:"lceiling",ttype:0},{input:"~|",tag:"mo",output:"⌉",tex:"rceiling",ttype:0},{input:"CC",tag:"mo",output:"ℂ",tex:null,ttype:0},{input:"NN",tag:"mo",output:"ℕ",tex:null,ttype:0},{input:"QQ",tag:"mo",output:"ℚ",tex:null,ttype:0},{input:"RR",tag:"mo",output:"ℝ",tex:null,ttype:0},{input:"ZZ",tag:"mo",output:"ℤ",tex:null,ttype:0},{input:"f",tag:"mi",output:"f",tex:null,ttype:1,func:!0},{input:"g",tag:"mi",output:"g",tex:null,ttype:1,func:!0},{input:"lim",tag:"mo",output:"lim",tex:null,ttype:7},{input:"Lim",tag:"mo",output:"Lim",tex:null,ttype:7},{input:"sin",tag:"mo",output:"sin",tex:null,ttype:1,func:!0},{input:"cos",tag:"mo",output:"cos",tex:null,ttype:1,func:!0},{input:"tan",tag:"mo",output:"tan",tex:null,ttype:1,func:!0},{input:"sinh",tag:"mo",output:"sinh",tex:null,ttype:1,func:!0},{input:"cosh",tag:"mo",output:"cosh",tex:null,ttype:1,func:!0},{input:"tanh",tag:"mo",output:"tanh",tex:null,ttype:1,func:!0},{input:"cot",tag:"mo",output:"cot",tex:null,ttype:1,func:!0},{input:"sec",tag:"mo",output:"sec",tex:null,ttype:1,func:!0},{input:"csc",tag:"mo",output:"csc",tex:null,ttype:1,func:!0},{input:"arcsin",tag:"mo",output:"arcsin",tex:null,ttype:1,func:!0},{input:"arccos",tag:"mo",output:"arccos",tex:null,ttype:1,func:!0},{input:"arctan",tag:"mo",output:"arctan",tex:null,ttype:1,func:!0},{input:"coth",tag:"mo",output:"coth",tex:null,ttype:1,func:!0},{input:"sech",tag:"mo",output:"sech",tex:null,ttype:1,func:!0},{input:"csch",tag:"mo",output:"csch",tex:null,ttype:1,func:!0},{input:"exp",tag:"mo",output:"exp",tex:null,ttype:1,func:!0},{input:"abs",tag:"mo",output:"abs",tex:null,ttype:1,rewriteleftright:["|","|"]},{input:"norm",tag:"mo",output:"norm",tex:null,ttype:1,rewriteleftright:["∥","∥"]},{input:"floor",tag:"mo",output:"floor",tex:null,ttype:1,rewriteleftright:["⌊","⌋"]},{input:"ceil",tag:"mo",output:"ceil",tex:null,ttype:1,rewriteleftright:["⌈","⌉"]},{input:"log",tag:"mo",output:"log",tex:null,ttype:1,func:!0},{input:"ln",tag:"mo",output:"ln",tex:null,ttype:1,func:!0},{input:"det",tag:"mo",output:"det",tex:null,ttype:1,func:!0},{input:"dim",tag:"mo",output:"dim",tex:null,ttype:0},{input:"mod",tag:"mo",output:"mod",tex:null,ttype:0},{input:"gcd",tag:"mo",output:"gcd",tex:null,ttype:1,func:!0},{input:"lcm",tag:"mo",output:"lcm",tex:null,ttype:1,func:!0},{input:"lub",tag:"mo",output:"lub",tex:null,ttype:0},{input:"glb",tag:"mo",output:"glb",tex:null,ttype:0},{input:"min",tag:"mo",output:"min",tex:null,ttype:7},{input:"max",tag:"mo",output:"max",tex:null,ttype:7},{input:"Sin",tag:"mo",output:"Sin",tex:null,ttype:1,func:!0},{input:"Cos",tag:"mo",output:"Cos",tex:null,ttype:1,func:!0},{input:"Tan",tag:"mo",output:"Tan",tex:null,ttype:1,func:!0},{input:"Arcsin",tag:"mo",output:"Arcsin",tex:null,ttype:1,func:!0},{input:"Arccos",tag:"mo",output:"Arccos",tex:null,ttype:1,func:!0},{input:"Arctan",tag:"mo",output:"Arctan",tex:null,ttype:1,func:!0},{input:"Sinh",tag:"mo",output:"Sinh",tex:null,ttype:1,func:!0},{input:"Cosh",tag:"mo",output:"Cosh",tex:null,ttype:1,func:!0},{input:"Tanh",tag:"mo",output:"Tanh",tex:null,ttype:1,func:!0},{input:"Cot",tag:"mo",output:"Cot",tex:null,ttype:1,func:!0},{input:"Sec",tag:"mo",output:"Sec",tex:null,ttype:1,func:!0},{input:"Csc",tag:"mo",output:"Csc",tex:null,ttype:1,func:!0},{input:"Log",tag:"mo",output:"Log",tex:null,ttype:1,func:!0},{input:"Ln",tag:"mo",output:"Ln",tex:null,ttype:1,func:!0},{input:"Abs",tag:"mo",output:"abs",tex:null,ttype:1,notexcopy:!0,rewriteleftright:["|","|"]},{input:"uarr",tag:"mo",output:"↑",tex:"uparrow",ttype:0},{input:"darr",tag:"mo",output:"↓",tex:"downarrow",ttype:0},{input:"rarr",tag:"mo",output:"→",tex:"rightarrow",ttype:0},{input:"->",tag:"mo",output:"→",tex:"to",ttype:0},{input:">->",tag:"mo",output:"↣",tex:"rightarrowtail",ttype:0},{input:"->>",tag:"mo",output:"↠",tex:"twoheadrightarrow",ttype:0},{input:">->>",tag:"mo",output:"⤖",tex:"twoheadrightarrowtail",ttype:0},{input:"|->",tag:"mo",output:"↦",tex:"mapsto",ttype:0},{input:"larr",tag:"mo",output:"←",tex:"leftarrow",ttype:0},{input:"harr",tag:"mo",output:"↔",tex:"leftrightarrow",ttype:0},{input:"rArr",tag:"mo",output:"⇒",tex:"Rightarrow",ttype:0},{input:"lArr",tag:"mo",output:"⇐",tex:"Leftarrow",ttype:0},{input:"hArr",tag:"mo",output:"⇔",tex:"Leftrightarrow",ttype:0},{input:"sqrt",tag:"msqrt",output:"sqrt",tex:null,ttype:1},{input:"root",tag:"mroot",output:"root",tex:null,ttype:2},{input:"frac",tag:"mfrac",output:"/",tex:null,ttype:2},{input:"/",tag:"mfrac",output:"/",tex:null,ttype:3},{input:"stackrel",tag:"mover",output:"stackrel",tex:null,ttype:2},{input:"overset",tag:"mover",output:"stackrel",tex:null,ttype:2},{input:"underset",tag:"munder",output:"stackrel",tex:null,ttype:2},{input:"_",tag:"msub",output:"_",tex:null,ttype:3},{input:"^",tag:"msup",output:"^",tex:null,ttype:3},{input:"hat",tag:"mover",output:"^",tex:null,ttype:1,acc:!0},{input:"bar",tag:"mover",output:"¯",tex:"overline",ttype:1,acc:!0},{input:"vec",tag:"mover",output:"→",tex:null,ttype:1,acc:!0},{input:"dot",tag:"mover",output:".",tex:null,ttype:1,acc:!0},{input:"ddot",tag:"mover",output:"..",tex:null,ttype:1,acc:!0},{input:"overarc",tag:"mover",output:"⏜",tex:"overparen",ttype:1,acc:!0},{input:"ul",tag:"munder",output:"̲",tex:"underline",ttype:1,acc:!0},{input:"ubrace",tag:"munder",output:"⏟",tex:"underbrace",ttype:15,acc:!0},{input:"obrace",tag:"mover",output:"⏞",tex:"overbrace",ttype:15,acc:!0},{input:"text",tag:"mtext",output:"text",tex:null,ttype:10},{input:"mbox",tag:"mtext",output:"mbox",tex:null,ttype:10},{input:"color",tag:"mstyle",ttype:2},{input:"id",tag:"mrow",ttype:2},{input:"class",tag:"mrow",ttype:2},{input:"cancel",tag:"menclose",output:"cancel",tex:null,ttype:1},g,{input:"bb",tag:"mstyle",atname:"mathvariant",atval:"bold",output:"bb",tex:null,ttype:1},{input:"mathbf",tag:"mstyle",atname:"mathvariant",atval:"bold",output:"mathbf",tex:null,ttype:1},{input:"sf",tag:"mstyle",atname:"mathvariant",atval:"sans-serif",output:"sf",tex:null,ttype:1},{input:"mathsf",tag:"mstyle",atname:"mathvariant",atval:"sans-serif",output:"mathsf",tex:null,ttype:1},{input:"bbb",tag:"mstyle",atname:"mathvariant",atval:"double-struck",output:"bbb",tex:null,ttype:1,codes:f},{input:"mathbb",tag:"mstyle",atname:"mathvariant",atval:"double-struck",output:"mathbb",tex:null,ttype:1,codes:f},{input:"cc",tag:"mstyle",atname:"mathvariant",atval:"script",output:"cc",tex:null,ttype:1,codes:p},{input:"mathcal",tag:"mstyle",atname:"mathvariant",atval:"script",output:"mathcal",tex:null,ttype:1,codes:p},{input:"tt",tag:"mstyle",atname:"mathvariant",atval:"monospace",output:"tt",tex:null,ttype:1},{input:"mathtt",tag:"mstyle",atname:"mathvariant",atval:"monospace",output:"mathtt",tex:null,ttype:1},{input:"fr",tag:"mstyle",atname:"mathvariant",atval:"fraktur",output:"fr",tex:null,ttype:1,codes:d},{input:"mathfrak",tag:"mstyle",atname:"mathvariant",atval:"fraktur",output:"mathfrak",tex:null,ttype:1,codes:d}];function x(t,e){return t.input>e.input?1:-1}var v,b,E,T=[];function C(){var t,e=M.length;for(t=0;t<e;t++)M[t].tex&&M.push({input:M[t].tex,tag:M[t].tag,output:M[t].output,ttype:M[t].ttype,acc:M[t].acc||!1});y()}function y(){var t;for(M.sort(x),t=0;t<M.length;t++)T[t]=M[t].input}function A(t,e){var a;a="\\"==t.charAt(e)&&"\\"!=t.charAt(e+1)&&" "!=t.charAt(e+1)?t.slice(e+1):t.slice(e);for(var i=0;i<a.length&&a.charCodeAt(i)<=32;i+=1);return a.slice(i)}function S(t,e,a){if(0==a){var i,n;for(a=-1,i=t.length;a+1<i;)t[n=a+i>>1]<e?a=n:i=n;return i}for(var s=a;s<t.length&&t[s]<e;s++);return s}function L(t){for(var e,a,i,n=0,s="",r=!0,l=1;l<=t.length&&r;l++)a=t.slice(0,l),(n=S(T,a,n))<T.length&&t.slice(0,T[n].length)==T[n]&&(e=n,l=(s=T[n]).length),r=n<T.length&&t.slice(0,T[n].length)>=T[n];if(b=E,""!=s)return E=M[e].ttype,M[e];E=0,n=1,a=t.slice(0,1);for(var h=!0;"0"<=a&&a<="9"&&n<=t.length;)a=t.slice(n,n+1),n++;if(a==o&&"0"<=(a=t.slice(n,n+1))&&a<="9")for(h=!1,n++;"0"<=a&&a<="9"&&n<=t.length;)a=t.slice(n,n+1),n++;return h&&n>1||n>2?(a=t.slice(0,n-1),i="mn"):(n=2,i=("A">(a=t.slice(0,1))||a>"Z")&&("a">a||a>"z")?"mo":"mi"),"-"==a&&3==b?(E=3,{input:a,tag:i,output:a,ttype:1,func:!0}):{input:a,tag:i,output:a,ttype:0}}function N(t){var e;t.hasChildNodes()&&(!t.firstChild.hasChildNodes()||"mrow"!=t.nodeName&&"M:MROW"!=t.nodeName||"("!=(e=t.firstChild.firstChild.nodeValue)&&"["!=e&&"{"!=e||t.removeChild(t.firstChild),!t.lastChild.hasChildNodes()||"mrow"!=t.nodeName&&"M:MROW"!=t.nodeName||")"!=(e=t.lastChild.firstChild.nodeValue)&&"]"!=e&&"}"!=e||t.removeChild(t.lastChild))}function w(t){var e,a,n,s,r,o=i.createDocumentFragment();if(null==(e=L(t=A(t,0)))||5==e.ttype&&v>0)return[null,t];switch(8==e.ttype&&(e=L(t=e.output+A(t,e.input.length))),e.ttype){case 7:case 0:default:return t=A(t,e.input.length),[m(e.tag,i.createTextNode(e.output)),t];case 4:return v++,n=R(t=A(t,e.input.length),!0),v--,"boolean"==typeof e.invisible&&e.invisible?a=m("mrow",n[0]):(a=m("mo",i.createTextNode(e.output)),(a=m("mrow",a)).appendChild(n[0])),[a,n[1]];case 10:return e!=g&&(t=A(t,e.input.length)),-1==(s="{"==t.charAt(0)?t.indexOf("}"):"("==t.charAt(0)?t.indexOf(")"):"["==t.charAt(0)?t.indexOf("]"):e==g?t.slice(1).indexOf('"')+1:0)&&(s=t.length)," "==(r=t.slice(1,s)).charAt(0)&&((a=m("mspace")).setAttribute("width","1ex"),o.appendChild(a)),o.appendChild(m(e.tag,i.createTextNode(r)))," "==r.charAt(r.length-1)&&((a=m("mspace")).setAttribute("width","1ex"),o.appendChild(a)),t=A(t,s+1),[m("mrow",o),t];case 15:case 1:if(null==(n=w(t=A(t,e.input.length)))[0])return[m(e.tag,i.createTextNode(e.output)),t];if("boolean"==typeof e.func&&e.func)return"^"==(r=t.charAt(0))||"_"==r||"/"==r||"|"==r||","==r||1==e.input.length&&e.input.match(/\w/)&&"("!=r?[m(e.tag,i.createTextNode(e.output)),t]:((a=m("mrow",m(e.tag,i.createTextNode(e.output)))).appendChild(n[0]),[a,n[1]]);if(N(n[0]),"sqrt"==e.input)return[m(e.tag,n[0]),n[1]];if(void 0!==e.rewriteleftright)return(a=m("mrow",m("mo",i.createTextNode(e.rewriteleftright[0])))).appendChild(n[0]),a.appendChild(m("mo",i.createTextNode(e.rewriteleftright[1]))),[a,n[1]];if("cancel"==e.input)return(a=m(e.tag,n[0])).setAttribute("notation","updiagonalstrike"),[a,n[1]];if("boolean"==typeof e.acc&&e.acc){a=m(e.tag,n[0]);var h=m("mo",i.createTextNode(e.output));return"vec"==e.input&&("mrow"==n[0].nodeName&&1==n[0].childNodes.length&&null!==n[0].firstChild.firstChild.nodeValue&&1==n[0].firstChild.firstChild.nodeValue.length||null!==n[0].firstChild.nodeValue&&1==n[0].firstChild.nodeValue.length)&&h.setAttribute("stretchy",!1),a.appendChild(h),[a,n[1]]}if(!l&&void 0!==e.codes)for(s=0;s<n[0].childNodes.length;s++)if("mi"==n[0].childNodes[s].nodeName||"mi"==n[0].nodeName){r="mi"==n[0].nodeName?n[0].firstChild.nodeValue:n[0].childNodes[s].firstChild.nodeValue;for(var u=[],c=0;c<r.length;c++)r.charCodeAt(c)>64&&r.charCodeAt(c)<91?u+=e.codes[r.charCodeAt(c)-65]:r.charCodeAt(c)>96&&r.charCodeAt(c)<123?u+=e.codes[r.charCodeAt(c)-71]:u+=r.charAt(c);"mi"==n[0].nodeName?n[0]=m("mo").appendChild(i.createTextNode(u)):n[0].replaceChild(m("mo").appendChild(i.createTextNode(u)),n[0].childNodes[s])}return(a=m(e.tag,n[0])).setAttribute(e.atname,e.atval),[a,n[1]];case 2:if(null==(n=w(t=A(t,e.input.length)))[0])return[m("mo",i.createTextNode(e.input)),t];N(n[0]);var p=w(n[1]);return null==p[0]?[m("mo",i.createTextNode(e.input)),t]:(N(p[0]),["color","class","id"].indexOf(e.input)>=0?("{"==t.charAt(0)?s=t.indexOf("}"):"("==t.charAt(0)?s=t.indexOf(")"):"["==t.charAt(0)&&(s=t.indexOf("]")),r=t.slice(1,s),a=m(e.tag,p[0]),"color"===e.input?a.setAttribute("mathcolor",r):"class"===e.input?a.setAttribute("class",r):"id"===e.input&&a.setAttribute("id",r),[a,p[1]]):("root"!=e.input&&"stackrel"!=e.output||o.appendChild(p[0]),o.appendChild(n[0]),"frac"==e.input&&o.appendChild(p[0]),[m(e.tag,o),p[1]]));case 3:return t=A(t,e.input.length),[m("mo",i.createTextNode(e.output)),t];case 6:return t=A(t,e.input.length),(a=m("mspace")).setAttribute("width","1ex"),o.appendChild(a),o.appendChild(m(e.tag,i.createTextNode(e.output))),(a=m("mspace")).setAttribute("width","1ex"),o.appendChild(a),[m("mrow",o),t];case 9:return v++,n=R(t=A(t,e.input.length),!1),v--,r="",null!=n[0].lastChild&&(r=n[0].lastChild.firstChild.nodeValue),"|"==r&&","!==t.charAt(0)?(a=m("mo",i.createTextNode(e.output)),(a=m("mrow",a)).appendChild(n[0]),[a,n[1]]):(a=m("mo",i.createTextNode("∣")),[a=m("mrow",a),t])}}function I(t){var e,a,n,s,r,o;if(a=L(t=A(t,0)),s=(r=w(t))[0],3==(e=L(t=r[1])).ttype&&"/"!=e.input){if(null==(r=w(t=A(t,e.input.length)))[0]?r[0]=m("mo",i.createTextNode("□")):N(r[0]),t=r[1],o=7==a.ttype||15==a.ttype,"_"==e.input)if("^"==(n=L(t)).input){var l=w(t=A(t,n.input.length));N(l[0]),t=l[1],(s=m(o?"munderover":"msubsup",s)).appendChild(r[0]),s.appendChild(l[0]),s=m("mrow",s)}else(s=m(o?"munder":"msub",s)).appendChild(r[0]);else"^"==e.input&&o?(s=m("mover",s)).appendChild(r[0]):(s=m(e.tag,s)).appendChild(r[0]);void 0!==a.func&&a.func&&3!=(n=L(t)).ttype&&5!=n.ttype&&(a.input.length>1||4==n.ttype)&&(r=I(t),(s=m("mrow",s)).appendChild(r[0]),t=r[1])}return[s,t]}function R(t,e){var a,n,s,r,o=i.createDocumentFragment();do{n=(s=I(t=A(t,0)))[0],3==(a=L(t=s[1])).ttype&&"/"==a.input?(null==(s=I(t=A(t,a.input.length)))[0]?s[0]=m("mo",i.createTextNode("□")):N(s[0]),t=s[1],N(n),(n=m(a.tag,n)).appendChild(s[0]),o.appendChild(n),a=L(t)):null!=n&&o.appendChild(n)}while((5!=a.ttype&&(9!=a.ttype||e)||0==v)&&null!=a&&""!=a.output);if(5==a.ttype||9==a.ttype){var l=o.childNodes.length;if(l>0&&"mrow"==o.childNodes[l-1].nodeName&&o.childNodes[l-1].lastChild&&o.childNodes[l-1].lastChild.firstChild){var h=o.childNodes[l-1].lastChild.firstChild.nodeValue;if(")"==h||"]"==h){var u=o.childNodes[l-1].firstChild.firstChild.nodeValue;if("("==u&&")"==h&&"}"!=a.output||"["==u&&"]"==h){var c=[],p=!0,d=o.childNodes.length;for(r=0;p&&r<d;r+=2){if(c[r]=[],n=o.childNodes[r],p&&(p="mrow"==n.nodeName&&(r==d-1||"mo"==n.nextSibling.nodeName&&","==n.nextSibling.firstChild.nodeValue)&&n.firstChild.firstChild.nodeValue==u&&n.lastChild.firstChild.nodeValue==h),p)for(var f=0;f<n.childNodes.length;f++)","==n.childNodes[f].firstChild.nodeValue&&(c[r][c[r].length]=f);p&&r>1&&(p=c[r].length==c[r-2].length)}var g=[];if(p=p&&(c.length>1||c[0].length>0)){var M,x,b,E,T=i.createDocumentFragment();for(r=0;r<d;r+=2){for(M=i.createDocumentFragment(),x=i.createDocumentFragment(),b=(n=o.firstChild).childNodes.length,E=0,n.removeChild(n.firstChild),f=1;f<b-1;f++)void 0!==c[r][E]&&f==c[r][E]?(n.removeChild(n.firstChild),"mrow"==n.firstChild.nodeName&&1==n.firstChild.childNodes.length&&"∣"==n.firstChild.firstChild.firstChild.nodeValue?(0==r&&g.push("solid"),n.removeChild(n.firstChild),n.removeChild(n.firstChild),f+=2,E++):0==r&&g.push("none"),M.appendChild(m("mtd",x)),E++):x.appendChild(n.firstChild);M.appendChild(m("mtd",x)),0==r&&g.push("none"),o.childNodes.length>2&&(o.removeChild(o.firstChild),o.removeChild(o.firstChild)),T.appendChild(m("mtr",M))}(n=m("mtable",T)).setAttribute("columnlines",g.join(" ")),"boolean"==typeof a.invisible&&a.invisible&&n.setAttribute("columnalign","left"),o.replaceChild(n,o.firstChild)}}}}t=A(t,a.input.length),"boolean"==typeof a.invisible&&a.invisible||(n=m("mo",i.createTextNode(a.output)),o.appendChild(n))}return[o,t]}function H(t,e){var a;return v=0,a=m("mstyle",R((t=(t=(t=t.replace(/&nbsp;/g,"")).replace(/&gt;/g,">")).replace(/&lt;/g,"<")).replace(/^\s+/g,""),!1)[0]),""!=n&&a.setAttribute("mathcolor",n),""!=mathfontsize&&(a.setAttribute("fontsize",mathfontsize),a.setAttribute("mathsize",mathfontsize)),""!=mathfontfamily&&(a.setAttribute("fontfamily",mathfontfamily),a.setAttribute("mathvariant",mathfontfamily)),s&&a.setAttribute("displaystyle","true"),a=m("math",a),r&&a.setAttribute("title",t.replace(/\s+/g," ")),a}r=!1,mathfontfamily="",n="",mathfontsize="",function(){for(var t=0,e=M.length;t<e;t++)M[t].codes&&delete M[t].codes,M[t].func&&(M[t].tag="mi")}(),t.Augment({AM:{Init:function(){if(s=t.config.displaystyle,o=t.config.decimal||t.config.decimalsign,!t.config.fixphi)for(var i=0,n=M.length;i<n;i++)"phi"===M[i].input&&(M[i].output="φ"),"varphi"===M[i].input&&(M[i].output="ϕ",i=n);!function(){var t=(e=MathJax.ElementJax.mml).mbase.prototype.Init;e.mbase.Augment({firstChild:null,lastChild:null,nodeValue:null,nextSibling:null,Init:function(){var e=t.apply(this,arguments)||this;return e.childNodes=e.data,e.nodeName=e.type,e},appendChild:function(t){t.parent&&t.parent.removeChild(t);var e=arguments;t.isa(a)&&(e=t.childNodes,t.data=t.childNodes=[],t.firstChild=t.lastChild=null);for(var i=0,n=e.length;i<n;i++)t=e[i],this.lastChild&&(this.lastChild.nextSibling=t),this.firstChild||(this.firstChild=t),this.Append(t),this.lastChild=t;return t},removeChild:function(t){for(var e=0,a=this.childNodes.length;e<a&&this.childNodes[e]!==t;e++);if(e!==a)return this.childNodes.splice(e,1),t===this.firstChild&&(this.firstChild=t.nextSibling),t===this.lastChild&&(this.childNodes.length?this.lastChild=this.childNodes[this.childNodes.length-1]:this.lastChild=null),e&&(this.childNodes[e-1].nextSibling=t.nextSibling),t.nextSibling=t.parent=null,t},replaceChild:function(t,e){for(var a=0,i=this.childNodes.length;a<i&&this.childNodes[a]!==e;a++);return a?this.childNodes[a-1].nextSibling=t:this.firstChild=t,a>=i-1&&(this.lastChild=t),this.SetData(a,t),t.nextSibling=e.nextSibling,e.nextSibling=e.parent=null,e},hasChildNodes:function(t){return this.childNodes.length>0},setAttribute:function(t,e){this[t]=e}})}(),C()},Augment:function(t){for(var e in t)if(t.hasOwnProperty(e)){switch(e){case"displaystyle":s=t[e];break;case"decimal":decimal=t[e];break;case"parseMath":H=t[e];break;case"parseExpr":R=t[e];break;case"parseIexpr":I=t[e];break;case"parseSexpr":w=t[e];break;case"removeBrackets":N=t[e];break;case"getSymbol":L=t[e];break;case"position":S=t[e];break;case"removeCharsAndBlanks":A=t[e];break;case"createMmlNode":m=t[e];break;case"createElementMathML":c=t[e];break;case"createElementXHTML":h=t[e];break;case"initSymbols":C=t[e];break;case"refreshSymbols":y=t[e];break;case"compareNames":x=t[e]}this[e]=t[e]}},parseMath:H,parseExpr:R,parseIexpr:I,parseSexr:w,removeBrackets:N,getSymbol:L,position:S,removeCharsAndBlanks:A,createMmlNode:m,createElementMathML:c,createElementXHTML:h,initSymbols:C,refreshSymbols:y,compareNames:x,createDocumentFragment:a,document:i,define:function(t,e){M.push({input:t,tag:"mo",output:e,tex:null,ttype:8}),y()},newcommand:function(t,e){M.push({input:t,tag:"mo",output:e,tex:null,ttype:8}),y()},newsymbol:function(t){M.push(t),y()},symbols:M,names:T,TOKEN:{CONST:0,UNARY:1,BINARY:2,INFIX:3,LEFTBRACKET:4,RIGHTBRACKET:5,SPACE:6,UNDEROVER:7,DEFINITION:8,LEFTRIGHT:9,TEXT:10,UNARYUNDEROVER:15}}})}(MathJax.InputJax.AsciiMath),function(t){var e;t.Augment({sourceMenuTitle:["AsciiMathInput","AsciiMath Input"],annotationEncoding:"text/x-asciimath",prefilterHooks:MathJax.Callback.Hooks(!0),postfilterHooks:MathJax.Callback.Hooks(!0),Translate:function(t){var a,i=MathJax.HTML.getScript(t),n={math:i,script:t},s=this.prefilterHooks.Execute(n);if(s)return s;i=n.math;try{a=this.AM.parseMath(i)}catch(t){if(!t.asciimathError)throw t;a=this.formatError(t,i)}return n.math=e(a),this.postfilterHooks.Execute(n),this.postfilterHooks.Execute(n)||n.math},formatError:function(t,a,i){var n=t.message.replace(/\n.*/,"");return MathJax.Hub.signal.Post(["AsciiMath Jax - parse error",n,a,i]),e.Error(n)},Error:function(t){throw MathJax.Hub.Insert(Error(t),{asciimathError:!0})},Startup:function(){e=MathJax.ElementJax.mml,this.AM.Init()}}),t.loadComplete("jax.js")}(MathJax.InputJax.AsciiMath),function(t,e,a,i){var n,s,r,o,l="'Times New Roman',Times,STIXGeneral,serif",h={".MJXp-script":{"font-size":".8em"},".MJXp-right":{"-webkit-transform-origin":"right","-moz-transform-origin":"right","-ms-transform-origin":"right","-o-transform-origin":"right","transform-origin":"right"},".MJXp-bold":{"font-weight":"bold"},".MJXp-italic":{"font-style":"italic"},".MJXp-scr":{"font-family":"MathJax_Script,"+l},".MJXp-frak":{"font-family":"MathJax_Fraktur,"+l},".MJXp-sf":{"font-family":"MathJax_SansSerif,"+l},".MJXp-cal":{"font-family":"MathJax_Caligraphic,"+l},".MJXp-mono":{"font-family":"MathJax_Typewriter,"+l},".MJXp-largeop":{"font-size":"150%"},".MJXp-largeop.MJXp-int":{"vertical-align":"-.2em"},".MJXp-math":{display:"inline-block","line-height":"1.2","text-indent":"0","font-family":l,"white-space":"nowrap","border-collapse":"collapse"},".MJXp-display":{display:"block","text-align":"center",margin:"1em 0"},".MJXp-math span":{display:"inline-block"},".MJXp-box":{display:"block!important","text-align":"center"},".MJXp-box:after":{content:'" "'},".MJXp-rule":{display:"block!important","margin-top":".1em"},".MJXp-char":{display:"block!important"},".MJXp-mo":{margin:"0 .15em"},".MJXp-mfrac":{margin:"0 .125em","vertical-align":".25em"},".MJXp-denom":{display:"inline-table!important",width:"100%"},".MJXp-denom > *":{display:"table-row!important"},".MJXp-surd":{"vertical-align":"top"},".MJXp-surd > *":{display:"block!important"},".MJXp-script-box > * ":{display:"table!important",height:"50%"},".MJXp-script-box > * > *":{display:"table-cell!important","vertical-align":"top"},".MJXp-script-box > *:last-child > *":{"vertical-align":"bottom"},".MJXp-script-box > * > * > *":{display:"block!important"},".MJXp-mphantom":{visibility:"hidden"},".MJXp-munderover, .MJXp-munder":{display:"inline-table!important"},".MJXp-over":{display:"inline-block!important","text-align":"center"},".MJXp-over > *":{display:"block!important"},".MJXp-munderover > *, .MJXp-munder > *":{display:"table-row!important"},".MJXp-mtable":{"vertical-align":".25em",margin:"0 .125em"},".MJXp-mtable > *":{display:"inline-table!important","vertical-align":"middle"},".MJXp-mtr":{display:"table-row!important"},".MJXp-mtd":{display:"table-cell!important","text-align":"center",padding:".5em 0 0 .5em"},".MJXp-mtr > .MJXp-mtd:first-child":{"padding-left":0},".MJXp-mtr:first-child > .MJXp-mtd":{"padding-top":0},".MJXp-mlabeledtr":{display:"table-row!important"},".MJXp-mlabeledtr > .MJXp-mtd:first-child":{"padding-left":0},".MJXp-mlabeledtr:first-child > .MJXp-mtd":{"padding-top":0},".MJXp-merror":{"background-color":"#FFFF88",color:"#CC0000",border:"1px solid #CC0000",padding:"1px 3px","font-style":"normal","font-size":"90%"}};!function(){for(var t=0;t<10;t++){var e="scaleX(."+t+")";h[".MJXp-scale"+t]={"-webkit-transform":e,"-moz-transform":e,"-ms-transform":e,"-o-transform":e,transform:e}}}();var u=1e6,c="V",m="H";i.Augment({settings:e.config.menuSettings,config:{styles:h},hideProcessedMath:!1,maxStretchyParts:1e3,Config:function(){this.require||(this.require=[]),this.SUPER(arguments).Config.call(this);var t=this.settings;t.scale&&(this.config.scale=t.scale),this.require.push(MathJax.OutputJax.extensionDir+"/MathEvents.js")},Startup:function(){s=MathJax.Extension.MathEvents.Event,r=MathJax.Extension.MathEvents.Touch,o=MathJax.Extension.MathEvents.Hover,this.ContextMenu=s.ContextMenu,this.Mousedown=s.AltContextMenu,this.Mouseover=o.Mouseover,this.Mouseout=o.Mouseout,this.Mousemove=o.Mousemove;var e=a.addElement(document.body,"div",{style:{width:"5in"}});return this.pxPerInch=e.offsetWidth/5,e.parentNode.removeChild(e),t.Styles(this.config.styles,["InitializePHTML",this])},InitializePHTML:function(){},preTranslate:function(t){var i,n,o,l,h,u,c=t.jax[this.id],m=c.length;for(i=0;i<m;i++)(n=c[i]).parentNode&&((o=n.previousSibling)&&String(o.className).match(/^MathJax(_PHTML)?(_Display)?( MathJax_Process(ing|ed))?$/)&&o.parentNode.removeChild(o),(u=n.MathJax.elementJax)&&(u.PHTML={display:"block"===u.root.Get("display")},l=h=a.Element("span",{className:"MathJax_PHTML",id:u.inputID+"-Frame",isMathJax:!0,jaxID:this.id,oncontextmenu:s.Menu,onmousedown:s.Mousedown,onmouseover:s.Mouseover,onmouseout:s.Mouseout,onmousemove:s.Mousemove,onclick:s.Click,ondblclick:s.DblClick,onkeydown:s.Keydown,tabIndex:e.getTabOrder(u)}),e.Browser.noContextMenu&&(l.ontouchstart=r.start,l.ontouchend=r.end),u.PHTML.display&&(h=a.Element("div",{className:"MathJax_PHTML_Display"})).appendChild(l),h.className+=" MathJax_Processing",n.parentNode.insertBefore(h,n)))},Translate:function(t,e){if(t.parentNode){var a=t.MathJax.elementJax,i=a.root,n=document.getElementById(a.inputID+"-Frame"),s=a.PHTML.display?n.parentNode:n;this.initPHTML(i,n);try{i.toPreviewHTML(n)}catch(t){if(t.restart)for(;n.firstChild;)n.removeChild(n.firstChild);throw t}s.className=s.className.split(/ /)[0],this.hideProcessedMath&&(s.className+=" MathJax_Processed",t.MathJax.preview&&(a.PHTML.preview=t.MathJax.preview,delete t.MathJax.preview))}},postTranslate:function(t){var e=t.jax[this.id];if(this.hideProcessedMath)for(var a=0,i=e.length;a<i;a++){var n=e[a];if(n&&n.MathJax.elementJax){n.previousSibling.className=n.previousSibling.className.split(/ /)[0];var s=n.MathJax.elementJax.PHTML;s.preview&&(s.preview.innerHTML="",n.MathJax.preview=s.preview,delete s.preview)}}},getJaxFromMath:function(t){t.parentNode.className.match(/MathJax_PHTML_Display/)&&(t=t.parentNode);do{t=t.nextSibling}while(t&&"script"!==t.nodeName.toLowerCase());return e.getJaxFor(t)},getHoverSpan:function(t,e){return t.root.PHTMLspanElement()},getHoverBBox:function(t,e,a){var i=t.root.PHTML,n=t.PHTML.outerEm,s={w:i.w*n,h:i.h*n,d:i.d*n};return i.width&&(s.width=i.width),s},Zoom:function(t,e,a,i,n){e.className="MathJax",this.idPostfix="-zoom",t.root.toPHTML(e,e),this.idPostfix="",e.style.position="absolute",width||(a.style.position="absolute");var r=e.offsetWidth,o=e.offsetHeight,l=a.offsetHeight,h=a.offsetWidth;return 0===h&&(h=a.parentNode.offsetWidth),e.style.position=a.style.position="",{Y:-s.getBBox(e).h,mW:h,mH:l,zW:r,zH:o}},initPHTML:function(t,e){},Remove:function(t){var e=document.getElementById(t.inputID+"-Frame");e&&(t.PHTML.display&&(e=e.parentNode),e.parentNode.removeChild(e)),delete t.PHTML},ID:0,idPostfix:"",GetID:function(){return this.ID++,this.ID},VARIANT:{bold:"MJXp-bold",italic:"MJXp-italic","bold-italic":"MJXp-bold MJXp-italic",script:"MJXp-scr","bold-script":"MJXp-scr MJXp-bold",fraktur:"MJXp-frak","bold-fraktur":"MJXp-frak MJXp-bold",monospace:"MJXp-mono","sans-serif":"MJXp-sf","-tex-caligraphic":"MJXp-cal"},MATHSPACE:{veryverythinmathspace:1/18,verythinmathspace:2/18,thinmathspace:3/18,mediummathspace:4/18,thickmathspace:5/18,verythickmathspace:6/18,veryverythickmathspace:7/18,negativeveryverythinmathspace:-1/18,negativeverythinmathspace:-2/18,negativethinmathspace:-3/18,negativemediummathspace:-4/18,negativethickmathspace:-5/18,negativeverythickmathspace:-6/18,negativeveryverythickmathspace:-7/18,thin:.08,medium:.1,thick:.15,infinity:u},TeX:{x_height:.430554},pxPerInch:72,em:16,DELIMITERS:{"(":{dir:c},"{":{dir:c,w:.58},"[":{dir:c},"|":{dir:c,w:.275},")":{dir:c},"}":{dir:c,w:.58},"]":{dir:c},"/":{dir:c},"\\":{dir:c},"∣":{dir:c,w:.275},"∥":{dir:c,w:.55},"⌊":{dir:c,w:.5},"⌋":{dir:c,w:.5},"⌈":{dir:c,w:.5},"⌉":{dir:c,w:.5},"⟨":{dir:c,w:.5},"⟩":{dir:c,w:.5},"↑":{dir:c,w:.65},"↓":{dir:c,w:.65},"⇑":{dir:c,w:.75},"⇓":{dir:c,w:.75},"↕":{dir:c,w:.65},"⇕":{dir:c,w:.75},"⟮":{dir:c,w:.275},"⟯":{dir:c,w:.275},"⎰":{dir:c,w:.6},"⎱":{dir:c,w:.6}},REMAPACCENT:{"⃗":"→","'":"ˋ","`":"ˊ",".":"˙","^":"ˆ","-":"ˉ","~":"˜","¯":"ˉ","°":"˚","´":"ˊ","̀":"ˋ","́":"ˊ","̂":"ˆ","̃":"˜","̄":"ˉ","̅":"ˉ","̆":"˘","̇":"˙","̈":"¨","̌":"ˇ"},REMAPACCENTUNDER:{},length2em:function(t,e){if("string"!=typeof t&&(t=t.toString()),""===t)return"";if(t===n.SIZE.NORMAL)return 1;if(t===n.SIZE.BIG)return 2;if(t===n.SIZE.SMALL)return.71;if(this.MATHSPACE[t])return this.MATHSPACE[t];var a=t.match(/^\s*([-+]?(?:\.\d+|\d+(?:\.\d*)?))?(pt|em|ex|mu|px|pc|in|mm|cm|%)?/),i=parseFloat(a[1]||"1"),s=a[2];return null==e&&(e=1),"em"===s?i:"ex"===s?i*this.TeX.x_height:"%"===s?i/100*e:"px"===s?i/this.em:"pt"===s?i/10:"pc"===s?1.2*i:"in"===s?i*this.pxPerInch/this.em:"cm"===s?i*this.pxPerInch/this.em/2.54:"mm"===s?i*this.pxPerInch/this.em/25.4:"mu"===s?i/18:i*e},Em:function(t){return Math.abs(t)<.001?"0em":t.toFixed(3).replace(/\.?0+$/,"")+"em"},arrayEntry:function(t,e){return t[Math.max(0,Math.min(e,t.length-1))]}}),MathJax.Hub.Register.StartupHook("mml Jax Ready",(function(){(n=MathJax.ElementJax.mml).mbase.Augment({toPreviewHTML:function(t,e){return this.PHTMLdefaultSpan(t,e)},PHTMLdefaultSpan:function(t,e){e||(e={}),t=this.PHTMLcreateSpan(t),this.PHTMLhandleStyle(t),this.PHTMLhandleColor(t),this.isToken&&this.PHTMLhandleToken(t);for(var a=0,i=this.data.length;a<i;a++)this.PHTMLaddChild(t,a,e);return t},PHTMLaddChild:function(t,e,i){var n=this.data[e];n?(i.childSpans&&(t=a.addElement(t,"span",{className:i.className})),n.toPreviewHTML(t),i.noBBox||(this.PHTML.w+=n.PHTML.w+n.PHTML.l+n.PHTML.r,n.PHTML.h>this.PHTML.h&&(this.PHTML.h=n.PHTML.h),n.PHTML.d>this.PHTML.d&&(this.PHTML.d=n.PHTML.d),n.PHTML.t>this.PHTML.t&&(this.PHTML.t=n.PHTML.t),n.PHTML.b>this.PHTML.b&&(this.PHTML.b=n.PHTML.b))):i.forceChild&&a.addElement(t,"span")},PHTMLstretchChild:function(t,e,a){var i=this.data[t];if(i&&i.PHTMLcanStretch("Vertical",e,a)){var n=this.PHTML,s=i.PHTML,r=s.w;i.PHTMLstretchV(e,a),n.w+=s.w-r,s.h>n.h&&(n.h=s.h),s.d>n.d&&(n.d=s.d)}},PHTMLcreateSpan:function(t){if(this.PHTML||(this.PHTML={}),this.PHTML={w:0,h:0,d:0,l:0,r:0,t:0,b:0},this.inferred)return t;"mo"===this.type&&"∫"===this.data.join("")?i.lastIsInt=!0:"mspace"===this.type&&"negativethinmathspace"===this.width||(i.lastIsInt=!1),this.PHTMLspanID||(this.PHTMLspanID=i.GetID());var e=this.id||"MJXp-Span-"+this.PHTMLspanID;return a.addElement(t,"span",{className:"MJXp-"+this.type,id:e})},PHTMLspanElement:function(){return this.PHTMLspanID?document.getElementById(this.id||"MJXp-Span-"+this.PHTMLspanID):null},PHTMLhandleToken:function(t){var e=this.getValues("mathvariant");e.mathvariant!==n.VARIANT.NORMAL&&(t.className+=" "+i.VARIANT[e.mathvariant])},PHTMLhandleStyle:function(t){this.style&&(t.style.cssText=this.style)},PHTMLhandleColor:function(t){this.mathcolor&&(t.style.color=this.mathcolor),this.mathbackground&&(t.style.backgroundColor=this.mathbackground)},PHTMLhandleScriptlevel:function(t){this.Get("scriptlevel")&&(t.className+=" MJXp-script")},PHTMLhandleText:function(t,e){for(var n,s,r=0,o=0,l=0,h=0,u=e.length;h<u;h++){s=e.charCodeAt(h),n=e.charAt(h),s>=55296&&s<56319&&(h++,s=(s-55296<<10)+(e.charCodeAt(h)-56320)+65536);var c=.7,m=.22,p=.5;s<127&&(n.match(/[A-Za-ehik-or-xz0-9]/)&&(m=0),n.match(/[A-HK-Z]/)?p=.67:n.match(/[IJ]/)&&(p=.36),n.match(/[acegm-su-z]/)?c=.45:n.match(/[ij]/)&&(c=.75),n.match(/[ijlt]/)&&(p=.28)),i.DELIMITERS[n]&&(p=i.DELIMITERS[n].w||.4),c>r&&(r=c),m>o&&(o=m),l+=p}this.CHML||(this.PHTML={}),this.PHTML={h:.9,d:.3,w:l,l:0,r:0,t:r,b:o},a.addText(t,e)},PHTMLbboxFor:function(t){return this.data[t]&&this.data[t].PHTML?this.data[t].PHTML:{w:0,h:0,d:0,l:0,r:0,t:0,b:0}},PHTMLcanStretch:function(t,e,a){if(this.isEmbellished()){var i=this.Core();if(i&&i!==this)return i.PHTMLcanStretch(t,e,a)}return!1},PHTMLstretchV:function(t,e){},PHTMLstretchH:function(t){},CoreParent:function(){for(var t=this;t&&t.isEmbellished()&&t.CoreMO()===this&&!t.isa(n.math);)t=t.Parent();return t},CoreText:function(t){if(!t)return"";if(t.isEmbellished())return t.CoreMO().data.join("");for(;(t.isa(n.mrow)||t.isa(n.TeXAtom)||t.isa(n.mstyle)||t.isa(n.mphantom))&&1===t.data.length&&t.data[0];)t=t.data[0];return t.isToken?t.data.join(""):""}}),n.chars.Augment({toPreviewHTML:function(t){var e=this.toString().replace(/[\u2061-\u2064]/g,"");this.PHTMLhandleText(t,e)}}),n.entity.Augment({toPreviewHTML:function(t){var e=this.toString().replace(/[\u2061-\u2064]/g,"");this.PHTMLhandleText(t,e)}}),n.math.Augment({toPreviewHTML:function(t){return t=this.PHTMLdefaultSpan(t),"block"===this.Get("display")&&(t.className+=" MJXp-display"),t}}),n.mo.Augment({toPreviewHTML:function(t){t=this.PHTMLdefaultSpan(t),this.PHTMLadjustAccent(t);var e=this.getValues("lspace","rspace","scriptlevel","displaystyle","largeop");if(0===e.scriptlevel?(this.PHTML.l=i.length2em(e.lspace),this.PHTML.r=i.length2em(e.rspace),t.style.marginLeft=i.Em(this.PHTML.l),t.style.marginRight=i.Em(this.PHTML.r)):(this.PHTML.l=.15,this.PHTML.r=.1),e.displaystyle&&e.largeop){var n=a.Element("span",{className:"MJXp-largeop"});n.appendChild(t.firstChild),t.appendChild(n),this.PHTML.h*=1.2,this.PHTML.d*=1.2,"∫"===this.data.join("")&&(n.className+=" MJXp-int")}return t},PHTMLadjustAccent:function(t){var e=this.CoreParent();if(e&&e.isa(n.munderover)&&1===this.CoreText(e.data[e.base]).length){var a,s=e.data[e.over],r=e.data[e.under],o=this.data.join("");s&&this===s.CoreMO()&&e.Get("accent")?a=i.REMAPACCENT[o]:r&&this===r.CoreMO()&&e.Get("accentunder")&&(a=i.REMAPACCENTUNDER[o]),a&&(o=t.innerHTML=a),o.match(/[\u02C6-\u02DC\u00A8]/)?this.PHTML.acc=-.52:"→"===o&&(this.PHTML.acc=-.15,this.PHTML.vec=!0)}},PHTMLcanStretch:function(t,e,a){if(!this.Get("stretchy"))return!1;var n=this.data.join("");if(n.length>1)return!1;var s=(n=i.DELIMITERS[n])&&n.dir===t.substr(0,1);return s&&(s=this.PHTML.h!==e||this.PHTML.d!==a||this.Get("minsize",!0)||this.Get("maxsize",!0)),s},PHTMLstretchV:function(t,e){var n=this.PHTMLspanElement(),s=this.PHTML,r=this.getValues("symmetric","maxsize","minsize");m=r.symmetric?2*Math.max(t-.25,e+.25):t+e,r.maxsize=i.length2em(r.maxsize,s.h+s.d),r.minsize=i.length2em(r.minsize,s.h+s.d);var o=(m=Math.max(r.minsize,Math.min(r.maxsize,m)))/(s.h+s.d-.3),l=a.Element("span",{style:{"font-size":i.Em(o)}});if(o>1.25){var h=Math.ceil(1.25/o*10);l.className="MJXp-right MJXp-scale"+h,l.style.marginLeft=i.Em(s.w*(h/10-1)+.07),s.w*=o*h/10}l.appendChild(n.firstChild),n.appendChild(l),r.symmetric&&(n.style.verticalAlign=i.Em(.25*(1-o)))}}),n.mspace.Augment({toPreviewHTML:function(t){t=this.PHTMLdefaultSpan(t);var e=this.getValues("height","depth","width"),a=i.length2em(e.width),n=i.length2em(e.height),s=i.length2em(e.depth),r=this.PHTML;return r.w=a,r.h=n,r.d=s,a<0&&(i.lastIsInt||(t.style.marginLeft=i.Em(a)),a=0),t.style.width=i.Em(a),t.style.height=i.Em(n+s),s&&(t.style.verticalAlign=i.Em(-s)),t}}),n.mpadded.Augment({toPreviewHTML:function(t){var e=(t=this.PHTMLdefaultSpan(t,{childSpans:!0,className:"MJXp-box",forceChild:!0})).firstChild,a=this.getValues("width","height","depth","lspace","voffset"),n=this.PHTMLdimen(a.lspace),s=0,r=0,o=n.len,l=-n.len,h=0;return""!==a.width&&((n=this.PHTMLdimen(a.width,"w",0)).pm?l+=n.len:t.style.width=i.Em(n.len)),""!==a.height&&((n=this.PHTMLdimen(a.height,"h",0)).pm||(s+=-this.PHTMLbboxFor(0).h),s+=n.len),""!==a.depth&&((n=this.PHTMLdimen(a.depth,"d",0)).pm||(r+=-this.PHTMLbboxFor(0).d,h+=-n.len),r+=n.len),""!==a.voffset&&(s-=(n=this.PHTMLdimen(a.voffset)).len,r+=n.len,h+=n.len),s&&(e.style.marginTop=i.Em(s)),r&&(e.style.marginBottom=i.Em(r)),o&&(e.style.marginLeft=i.Em(o)),l&&(e.style.marginRight=i.Em(l)),h&&(t.style.verticalAlign=i.Em(h)),t},PHTMLdimen:function(t,e,a){null==a&&(a=-u);var n=(t=String(t)).match(/width|height|depth/),s=n?this.PHTML[n[0].charAt(0)]:e?this.PHTML[e]:0;return{len:i.length2em(t,s)||0,pm:!!t.match(/^[-+]/)}}}),n.munderover.Augment({toPreviewHTML:function(t){var e=this.getValues("displaystyle","accent","accentunder","align"),s=this.data[this.base];if(!e.displaystyle&&null!=s&&(s.movablelimits||s.CoreMO().Get("movablelimits")))return(t=n.msubsup.prototype.toPreviewHTML.call(this,t)).className=t.className.replace(/munderover/,"msubsup"),t;t=this.PHTMLdefaultSpan(t,{childSpans:!0,className:"",noBBox:!0});var r=this.PHTMLbboxFor(this.over),o=this.PHTMLbboxFor(this.under),l=this.PHTMLbboxFor(this.base),h=this.PHTML,u=r.acc;if(this.data[this.over]){t.lastChild.firstChild&&(t.lastChild.firstChild.style.marginLeft=r.l=t.lastChild.firstChild.style.marginRight=r.r=0);var c=a.Element("span",{},[["span",{className:"MJXp-over"}]]);c.firstChild.appendChild(t.lastChild),t.childNodes.length>(this.data[this.under]?1:0)&&c.firstChild.appendChild(t.firstChild),this.data[this.over].PHTMLhandleScriptlevel(c.firstChild.firstChild),null!=u&&(r.vec&&(c.firstChild.firstChild.firstChild.style.fontSize="60%",r.h*=.6,r.d*=.6,r.w*=.6),u=u-r.d+.1,null!=l.t&&(u+=l.t-l.h),c.firstChild.firstChild.style.marginBottom=i.Em(u)),t.firstChild?t.insertBefore(c,t.firstChild):t.appendChild(c)}return this.data[this.under]&&(t.lastChild.firstChild&&(t.lastChild.firstChild.style.marginLeft=o.l=t.lastChild.firstChild.marginRight=o.r=0),this.data[this.under].PHTMLhandleScriptlevel(t.lastChild)),h.w=Math.max(.8*r.w,.8*o.w,l.w),h.h=.8*(r.h+r.d+(u||0))+l.h,h.d=l.d+.8*(o.h+o.d),t}}),n.msubsup.Augment({toPreviewHTML:function(t){t=this.PHTMLdefaultSpan(t,{noBBox:!0}),this.data[this.base]||(t.firstChild?t.insertBefore(a.Element("span"),t.firstChild):t.appendChild(a.Element("span")));var e=this.data[this.base],n=this.data[this.sub],s=this.data[this.sup];e||(e={bbox:{h:.8,d:.2}}),t.firstChild.style.marginRight=".05em";var r=Math.max(.4,e.PHTML.h-.4),o=Math.max(.2,e.PHTML.d+.1),l=this.PHTML;if(s&&n){var h=a.Element("span",{className:"MJXp-script-box",style:{height:i.Em(r+.8*s.PHTML.h+o+.8*n.PHTML.d),"vertical-align":i.Em(-o-.8*n.PHTML.d)}},[["span",{},[["span",{},[["span",{style:{"margin-bottom":i.Em(-(s.PHTML.d-.05))}}]]]]],["span",{},[["span",{},[["span",{style:{"margin-top":i.Em(-(s.PHTML.h-.05))}}]]]]]]);n.PHTMLhandleScriptlevel(h.firstChild),s.PHTMLhandleScriptlevel(h.lastChild),h.firstChild.firstChild.firstChild.appendChild(t.lastChild),h.lastChild.firstChild.firstChild.appendChild(t.lastChild),t.appendChild(h),l.h=Math.max(e.PHTML.h,.8*s.PHTML.h+r),l.d=Math.max(e.PHTML.d,.8*n.PHTML.d+o),l.w=e.PHTML.w+Math.max(s.PHTML.w,n.PHTML.w)+.07}else s?(t.lastChild.style.verticalAlign=i.Em(r),s.PHTMLhandleScriptlevel(t.lastChild),l.h=Math.max(e.PHTML.h,.8*s.PHTML.h+r),l.d=Math.max(e.PHTML.d,.8*s.PHTML.d-r),l.w=e.PHTML.w+s.PHTML.w+.07):n&&(t.lastChild.style.verticalAlign=i.Em(-o),n.PHTMLhandleScriptlevel(t.lastChild),l.h=Math.max(e.PHTML.h,.8*n.PHTML.h-o),l.d=Math.max(e.PHTML.d,.8*n.PHTML.d+o),l.w=e.PHTML.w+n.PHTML.w+.07);return t}}),n.mfrac.Augment({toPreviewHTML:function(t){t=this.PHTMLdefaultSpan(t,{childSpans:!0,className:"MJXp-box",forceChild:!0,noBBox:!0});var e=this.getValues("linethickness","displaystyle");e.displaystyle||(this.data[0]&&this.data[0].PHTMLhandleScriptlevel(t.firstChild),this.data[1]&&this.data[1].PHTMLhandleScriptlevel(t.lastChild));var n=a.Element("span",{className:"MJXp-box"},[["span",{className:"MJXp-denom"},[["span",{},[["span",{className:"MJXp-rule",style:{height:"1em"}}]]],["span"]]]]);n.firstChild.lastChild.appendChild(t.lastChild),t.appendChild(n);var s=this.PHTMLbboxFor(0),r=this.PHTMLbboxFor(1),o=this.PHTML;if(o.w=.8*Math.max(s.w,r.w),o.h=s.h+s.d+.1+.25,o.d=r.h+r.d-.25,o.l=o.r=.125,e.linethickness=Math.max(0,i.length2em(e.linethickness||"0",0)),e.linethickness){var l=n.firstChild.firstChild.firstChild,h=i.Em(e.linethickness);l.style.borderTop="none",l.style.borderBottom=(e.linethickness<.15?"1px":h)+" solid",l.style.margin=h+" 0",h=e.linethickness,n.style.marginTop=i.Em(3*h-1.2),t.style.verticalAlign=i.Em(1.5*h+.1),o.h+=1.5*h-.1,o.d+=1.5*h}else n.style.marginTop="-.7em";return t}}),n.msqrt.Augment({toPreviewHTML:function(t){return t=this.PHTMLdefaultSpan(t,{childSpans:!0,className:"MJXp-box",forceChild:!0,noBBox:!0}),this.PHTMLlayoutRoot(t,t.firstChild),t},PHTMLlayoutRoot:function(t,e){var n=this.PHTMLbboxFor(0),s=Math.ceil(100*(n.h+n.d+.14)),r=i.Em(14/s),o=a.Element("span",{className:"MJXp-surd"},[["span",{style:{"font-size":s+"%","margin-top":r}},["√"]]]),l=a.Element("span",{className:"MJXp-root"},[["span",{className:"MJXp-rule",style:{"border-top":".08em solid"}}]]),h=1.2/2.2*s/100;if(s>150){var u=Math.ceil(150/s*10);o.firstChild.className="MJXp-right MJXp-scale"+u,o.firstChild.style.marginLeft=i.Em(h*(u/10-1)/s*100),h=h*u/10,l.firstChild.style.borderTopWidth=i.Em(.08/Math.sqrt(u/10))}return l.appendChild(e),t.appendChild(o),t.appendChild(l),this.PHTML.h=n.h+.18,this.PHTML.d=n.d,this.PHTML.w=n.w+h,t}}),n.mroot.Augment({toPreviewHTML:function(t){t=this.PHTMLdefaultSpan(t,{childSpans:!0,className:"MJXp-box",forceChild:!0,noBBox:!0});var e=this.PHTMLbboxFor(1),n=t.removeChild(t.lastChild),s=this.PHTMLlayoutRoot(a.Element("span"),t.firstChild);n.className="MJXp-script";var r=parseInt(s.firstChild.firstChild.style.fontSize),o=r/120*.55+.8*e.d,l=r/120*-.6;return r>150&&(l*=.95*Math.ceil(150/r*10)/10),n.style.marginRight=i.Em(l),n.style.verticalAlign=i.Em(o),-l>.8*e.w&&(n.style.marginLeft=i.Em(-l-.8*e.w)),t.appendChild(n),t.appendChild(s),this.PHTML.w+=Math.max(0,.8*e.w+l),this.PHTML.h=Math.max(this.PHTML.h,.8*e.h+o),t},PHTMLlayoutRoot:n.msqrt.prototype.PHTMLlayoutRoot}),n.mfenced.Augment({toPreviewHTML:function(t){t=this.PHTMLcreateSpan(t),this.PHTMLhandleStyle(t),this.PHTMLhandleColor(t),this.addFakeNodes(),this.PHTMLaddChild(t,"open",{});for(var e=0,a=this.data.length;e<a;e++)this.PHTMLaddChild(t,"sep"+e,{}),this.PHTMLaddChild(t,e,{});this.PHTMLaddChild(t,"close",{});var i=this.PHTML.h,n=this.PHTML.d;for(this.PHTMLstretchChild("open",i,n),e=0,a=this.data.length;e<a;e++)this.PHTMLstretchChild("sep"+e,i,n),this.PHTMLstretchChild(e,i,n);return this.PHTMLstretchChild("close",i,n),t}}),n.mrow.Augment({toPreviewHTML:function(t){t=this.PHTMLdefaultSpan(t);for(var e=this.PHTML.h,a=this.PHTML.d,i=0,n=this.data.length;i<n;i++)this.PHTMLstretchChild(i,e,a);return t}}),n.mstyle.Augment({toPreviewHTML:function(t){return t=this.PHTMLdefaultSpan(t),this.PHTMLhandleScriptlevel(t),t}}),n.TeXAtom.Augment({toPreviewHTML:function(t){return(t=this.PHTMLdefaultSpan(t)).className="MJXp-mrow",t}}),n.mtable.Augment({toPreviewHTML:function(t){t=this.PHTMLdefaultSpan(t,{noBBox:!0});var e,n,s,r,o=this.getValues("columnalign","rowalign","columnspacing","rowspacing","columnwidth","equalcolumns","equalrows","columnlines","rowlines","frame","framespacing","align","width"),l=MathJax.Hub.SplitList,h=l(o.columnspacing),u=l(o.rowspacing),c=l(o.columnalign),m=l(o.rowalign);for(e=0,n=h.length;e<n;e++)h[e]=i.length2em(h[e]);for(e=0,n=u.length;e<n;e++)u[e]=i.length2em(u[e]);for(var p=a.Element("span");t.firstChild;)p.appendChild(t.firstChild);t.appendChild(p);var d=0,f=0;for(e=0,n=this.data.length;e<n;e++){var g=this.data[e];if(g){var M=i.arrayEntry(u,e-1),x=i.arrayEntry(m,e),v=g.PHTML;g.PHTMLspanElement().style.verticalAlign=x;var b="mlabeledtr"===g.type?1:0;for(s=0,r=g.data.length;s<r-b;s++){var E=g.data[s+b];if(E){var T=i.arrayEntry(h,s-1),C=i.arrayEntry(c,s),y=E.PHTMLspanElement();s&&(v.w+=T,y.style.paddingLeft=i.Em(T)),e&&(y.style.paddingTop=i.Em(M)),y.style.textAlign=C}}d+=v.h+v.d,e&&(d+=M),v.w>f&&(f=v.w)}}var A=this.PHTML;return A.w=f,A.h=d/2+.25,A.d=d/2-.25,A.l=A.r=.125,t}}),n.mlabeledtr.Augment({PHTMLdefaultSpan:function(t,e){e||(e={}),t=this.PHTMLcreateSpan(t),this.PHTMLhandleStyle(t),this.PHTMLhandleColor(t),this.isToken&&this.PHTMLhandleToken(t);for(var a=1,i=this.data.length;a<i;a++)this.PHTMLaddChild(t,a,e);return t}}),n.semantics.Augment({toPreviewHTML:function(t){return t=this.PHTMLcreateSpan(t),this.data[0]&&(this.data[0].toPreviewHTML(t),MathJax.Hub.Insert(this.data[0].PHTML||{},this.PHTML)),t}}),n.annotation.Augment({toPreviewHTML:function(t){}}),n["annotation-xml"].Augment({toPreviewHTML:function(t){}}),MathJax.Hub.Register.StartupHook("onLoad",(function(){setTimeout(MathJax.Callback(["loadComplete",i,"jax.js"]),0)}))})),MathJax.Hub.Register.StartupHook("End Cookie",(function(){"None"!==e.config.menuSettings.zoom&&t.Require("[MathJax]/extensions/MathZoom.js")}))}(MathJax.Ajax,MathJax.Hub,MathJax.HTML,MathJax.OutputJax.PreviewHTML),function(t,e,a){var i=t.config.menuSettings,n=MathJax.OutputJax,s=a.isMSIE&&(document.documentMode||0)<8,r=MathJax.Extension["fast-preview"]={version:"2.7.9",enabled:!0,config:t.CombineConfig("fast-preview",{Chunks:{EqnChunk:1e4,EqnChunkFactor:1,EqnChunkDelay:0},color:"inherit!important",updateTime:30,updateDelay:6,messageStyle:"none",disabled:a.isMSIE&&!a.versionAtLeast("8.0")}),Config:function(){var e,a,n,s,o;t.config["CHTML-preview"]&&MathJax.Hub.Config({"fast-preview":t.config["CHTML-preview"]});var l=this.config;l.disabled||null!=i.FastPreview||t.Config({menuSettings:{FastPreview:!0}}),i.FastPreview&&(MathJax.Ajax.Styles({".MathJax_Preview .MJXf-math":{color:l.color}}),t.Config({"HTML-CSS":l.Chunks,CommonHTML:l.Chunks,SVG:l.Chunks})),t.Register.MessageHook("Begin Math Output",(function(){!s&&r.Active()&&(e=t.processUpdateTime,a=t.processUpdateDelay,n=t.config.messageStyle,t.processUpdateTime=l.updateTime,t.processUpdateDelay=l.updateDelay,t.Config({messageStyle:l.messageStyle}),MathJax.Message.Clear(0,0),o=!0)})),t.Register.MessageHook("End Math Output",(function(){!s&&o&&(t.processUpdateTime=e,t.processUpdateDelay=a,t.Config({messageStyle:n}),s=!0)}))},Disable:function(){this.enabled=!1},Enable:function(){this.enabled=!0},Active:function(){return i.FastPreview&&this.enabled&&!(n[i.renderer]||{}).noFastPreview},Preview:function(t){if(this.Active()&&t.script.parentNode){var a=t.script.MathJax.preview||t.script.previousSibling;return a&&a.className===MathJax.Hub.config.preRemoveClass||(a=e.Element("span",{className:MathJax.Hub.config.preRemoveClass}),t.script.parentNode.insertBefore(a,t.script),t.script.MathJax.preview=a),a.innerHTML="",a.style.color=s?"black":"inherit",this.postFilter(a,t)}},postFilter:function(e,a){if(!a.math.root.toPreviewHTML){var i=MathJax.Callback.Queue();i.Push(["Require",MathJax.Ajax,"[MathJax]/jax/output/PreviewHTML/config.js"],["Require",MathJax.Ajax,"[MathJax]/jax/output/PreviewHTML/jax.js"]),t.RestartAfter(i.Push({}))}a.math.root.toPreviewHTML(e)},Register:function(e){t.Register.StartupHook(e+" Jax Require",(function(){MathJax.InputJax[e].postfilterHooks.Add(["Preview",MathJax.Extension["fast-preview"]],50)}))}};r.Register("TeX"),r.Register("MathML"),r.Register("AsciiMath"),t.Register.StartupHook("End Config",["Config",r]),t.Startup.signal.Post("fast-preview Ready")}(MathJax.Hub,MathJax.HTML,MathJax.Hub.Browser),MathJax.Ajax.loadComplete("[MathJax]/extensions/fast-preview.js"),function(t,e,a,i){var n=a.config.menuSettings,s=MathJax.Extension.AssistiveMML={version:"2.7.9",config:a.CombineConfig("AssistiveMML",{disabled:!1,styles:{".MJX_Assistive_MathML":{position:"absolute!important",top:0,left:0,clip:a.Browser.isMSIE&&(document.documentMode||0)<8?"rect(1px 1px 1px 1px)":"rect(1px, 1px, 1px, 1px)",padding:"1px 0 0 0!important",border:"0!important",height:"1px!important",width:"1px!important",overflow:"hidden!important",display:"block!important","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none"},".MJX_Assistive_MathML.MJX_Assistive_MathML_Block":{width:"100%!important"}}}),Config:function(){this.config.disabled||null!=n.assistiveMML||a.Config({menuSettings:{assistiveMML:!0}}),t.Styles(this.config.styles),a.Register.MessageHook("End Math",(function(t){if(n.assistiveMML)return s.AddAssistiveMathML(t[1])}))},AddAssistiveMathML:function(t){var e={jax:a.getAllJax(t),i:0,callback:MathJax.Callback({})};return this.HandleMML(e),e.callback},RemoveAssistiveMathML:function(t){for(var e,i=a.getAllJax(t),n=0,s=i.length;n<s;n++)(e=document.getElementById(i[n].inputID+"-Frame"))&&e.getAttribute("data-mathml")&&(e.removeAttribute("data-mathml"),e.lastChild&&e.lastChild.className.match(/MJX_Assistive_MathML/)&&e.removeChild(e.lastChild))},HandleMML:function(t){var e,a,n,s,r=t.jax.length,o=MathJax.ElementJax.mml;for(o.copyAttributes.id=1;t.i<r;){if(e=t.jax[t.i],n=document.getElementById(e.inputID+"-Frame"),"NativeMML"!==e.outputJax&&"PlainSource"!==e.outputJax&&n&&!n.getAttribute("data-mathml")){try{a=e.root.toMathML("").replace(/\n */g,"").replace(/<!--.*?-->/g,"")}catch(e){if(o.copyAttributes.id=!0,!e.restart)throw e;return MathJax.Callback.After(["HandleMML",this,t],e.restart)}n.setAttribute("data-mathml",a),s=i.addElement(n,"span",{isMathJax:!0,unselectable:"on",className:"MJX_Assistive_MathML"+("block"===e.root.Get("display")?" MJX_Assistive_MathML_Block":"")});try{s.innerHTML=a}catch(t){}n.style.position="relative",n.setAttribute("role","presentation"),n.firstChild.setAttribute("aria-hidden","true"),s.setAttribute("role","presentation")}t.i++}o.copyAttributes.id=!0,t.callback()}};a.Startup.signal.Post("AssistiveMML Ready")}(MathJax.Ajax,MathJax.Callback,MathJax.Hub,MathJax.HTML),MathJax.Callback.Queue(["Require",MathJax.Ajax,"[MathJax]/extensions/toMathML.js"],["loadComplete",MathJax.Ajax,"[MathJax]/extensions/AssistiveMML.js"],(function(){MathJax.Hub.Register.StartupHook("End Config",["Config",MathJax.Extension.AssistiveMML])})),function(t,e){var a,i,n=t.config.menuSettings,s=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){return function(){t.apply(e,arguments)}},r=Object.keys||function(t){var e=[];for(var a in t)t.hasOwnProperty(a)&&e.push(a);return e},o=MathJax.Ajax.config.path;o.a11y||(o.a11y=t.config.root+"/extensions/a11y");var l=e["accessibility-menu"]={version:"1.6.0",prefix:"",defaults:{},modules:[],MakeOption:function(t){return l.prefix+t},GetOption:function(t){return n[l.MakeOption(t)]},AddDefaults:function(){for(var t,e=r(l.defaults),a=0;t=e[a];a++){var i=l.MakeOption(t);void 0===n[i]&&(n[i]=l.defaults[t])}},AddMenu:function(){for(var t,e=Array(this.modules.length),n=0;t=this.modules[n];n++)e[n]=t.placeHolder;var s,r,o=i.FindId("Accessibility");o?(e.unshift(a.RULE()),o.submenu.items.push.apply(o.submenu.items,e)):((s=(i.FindId("Settings","Renderer")||{}).submenu)&&(e.unshift(a.RULE()),e.unshift(s.items.pop()),e.unshift(s.items.pop())),e.unshift("Accessibility"),o=a.SUBMENU.apply(a.SUBMENU,e),(r=i.IndexOfId("Locale"))?i.items.splice(r,0,o):i.items.push(a.RULE(),o))},Register:function(t){l.defaults[t.option]=!1,l.modules.push(t)},Startup:function(){a=MathJax.Menu.ITEM,i=MathJax.Menu.menu;for(var t,e=0;t=this.modules[e];e++)t.CreateMenu();this.AddMenu()},LoadExtensions:function(){for(var e,a=[],i=0;e=this.modules[i];i++)n[e.option]&&a.push(e.module);return a.length?t.Startup.loadArray(a):null}},h=MathJax.Extension.ModuleLoader=MathJax.Object.Subclass({option:"",name:["",""],module:"",placeHolder:null,submenu:!1,extension:null,Init:function(t,e,a,i,n){this.option=t,this.name=[e.replace(/ /g,""),e],this.module=a,this.extension=i,this.submenu=n||!1},CreateMenu:function(){var t=s(this.Load,this);this.submenu?this.placeHolder=a.SUBMENU(this.name,a.CHECKBOX(["Activate","Activate"],l.MakeOption(this.option),{action:t}),a.RULE(),a.COMMAND(["OptionsWhenActive","(Options when Active)"],null,{disabled:!0})):this.placeHolder=a.CHECKBOX(this.name,l.MakeOption(this.option),{action:t})},Load:function(){t.Queue(["Require",MathJax.Ajax,this.module,["Enable",this]])},Enable:function(t){var e=MathJax.Extension[this.extension];e&&(e.Enable(!0,!0),MathJax.Menu.saveCookie())}});l.Register(h("collapsible","Collapsible Math","[a11y]/collapsible.js","collapsible")),l.Register(h("autocollapse","Auto Collapse","[a11y]/auto-collapse.js","auto-collapse")),l.Register(h("explorer","Explorer","[a11y]/explorer.js","explorer",!0)),l.AddDefaults(),t.Register.StartupHook("End Extensions",(function(){t.Register.StartupHook("MathMenu Ready",(function(){l.Startup(),t.Startup.signal.Post("Accessibility Menu Ready")}),5)}),5),MathJax.Hub.Register.StartupHook("End Cookie",(function(){MathJax.Callback.Queue(["LoadExtensions",l],["loadComplete",MathJax.Ajax,"[a11y]/accessibility-menu.js"])}))}(MathJax.Hub,MathJax.Extension),MathJax.Ajax.loadComplete("[MathJax]/config/TeX-MML-AM_HTMLorMML.js");