@zklogic/draw.io
Version:
Draw.IO - Graph Editor integration in Angular-cli
1 lines • 350 kB
JavaScript
MathJax.Hub.Config({delayJaxRegistration:!0}),MathJax.Ajax.Preloading("[MathJax]/jax/input/TeX/config.js","[MathJax]/jax/input/MathML/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/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/output/NativeMML/jax.js","[MathJax]/jax/output/HTML-CSS/jax.js","[MathJax]/jax/output/HTML-CSS/autoload/mtable.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({menuSettings:{zoom:"Double-Click",mpContext:!0,mpMouse:!0},errorSettings:{message:["[",["MathError","Math Error"],"]"]},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.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,s=t.getJaxFor(e),n=["[Math]"],r=document.createElement("span",{className:"MathJax_Preview"});"TeX"===s.inputJax&&(s.root.Get("displaystyle")?(n=[(i=a.displayMathDelimiters)[0]+s.originalText+i[1]],a.multilineDisplay&&(n=n[0].split(/\n/))):n=[(i=a.inlineMathDelimiters)[0]+s.originalText.replace(/^\s+/,"").replace(/\s+$/,"")+i[1]]);for(var o=0,l=n.length;o<l;o++)r.appendChild(document.createTextNode(n[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),s=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||s?!s||"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=[],s=this.config;for(this.match={},t=0,e=s.inlineMath.length;t<e;t++)a.push(this.patternQuote(s.inlineMath[t][0])),this.match[s.inlineMath[t][0]]={mode:"",end:s.inlineMath[t][1],pattern:this.endPattern(s.inlineMath[t][1])};for(t=0,e=s.displayMath.length;t<e;t++)a.push(this.patternQuote(s.displayMath[t][0])),this.match[s.displayMath[t][0]]={mode:"; mode=display",end:s.displayMath[t][1],pattern:this.endPattern(s.displayMath[t][1])};a.length&&i.push(a.sort(this.sortLength).join("|")),s.processEnvironments&&i.push("\\\\begin\\{([^}]*)\\}"),s.processEscapes&&i.push("\\\\*\\\\\\$"),s.processRefs&&i.push("\\\\(eq)?ref\\{[^}]*\\}"),this.start=new RegExp(i.join("|"),"g"),this.skipTags=new RegExp("^("+s.skipTags.join("|")+")$","i");var n=[];return MathJax.Hub.config.preRemoveClass&&n.push(MathJax.Hub.config.preRemoveClass),s.ignoreClass&&n.push(s.ignoreClass),this.ignoreClass=n.length?new RegExp("(^| )("+n.join("|")+")( |$)"):/^$/,this.processClass=new RegExp("(^| )("+s.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,s,n,r;t&&t!=e;)"#text"===t.nodeName.toLowerCase()?a||(t=this.scanText(t)):(i=void 0===t.className?"":t.className,s=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(s)||(n=(a||this.ignoreClass.exec(i))&&!r,this.scanElement(t.firstChild,e,n))),t&&(t=t.nextSibling)},scanText:function(t){if(""==t.nodeValue.replace(/\s+/,""))return t;var e,a,i,s=0;for(this.search={start:!0},this.pattern=this.start;t;){for(i=null,this.pattern.lastIndex=s,s=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,s=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,s,n=t[0].substr(0,t[0].length-1);n.length%2==0?(s=[n.replace(/\\\\/g,"\\")],i=1):(s=[n.substr(1).replace(/\\\\/g,"\\"),"$"],i=0),s=MathJax.HTML.Element("span",null,s);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(s,e),e.parentNode.insertBefore(r,s),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,s=this.search,n=s.close;for((n=s.cpos===n.length?n.nextSibling:n.splitText(s.cpos))||(e=n=MathJax.HTML.addText(s.close.parentNode,"")),s.close=n,a=s.opos?s.open.splitText(s.opos):s.open;(i=a.nextSibling)&&i!==n;){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(s.olen,a.nodeValue.length-s.olen-s.clen);return a.parentNode.removeChild(a),"none"!==this.config.preview&&this.createPreview(s.mode,o),a=this.createMathTag(s.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 s=document.namespaces[e];s.urn===this.MMLnamespace&&this.PushMathElements(i,t,s.name+":math")}}catch(t){}else{var n=document.getElementsByTagName("html")[0];if(n)for(e=0,a=n.attributes.length;e<a;e++){var r=n.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 s,n=MathJax.Hub.config.preRemoveClass;if(i){if(!e.getElementsByTagNameNS)return;s=e.getElementsByTagNameNS(i,a)}else s=e.getElementsByTagName(a);for(var r=0,o=s.length;r<o;r++){var l=s[r].parentNode;l&&l.className!==n&&!l.isMathJax&&!s[r].prefix==!i&&t.push(s[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(/ /g," ")),MathJax.HTML.setScript(a,i),e.removeChild(t)}else{var s=MathJax.HTML.Element("span");s.appendChild(t),MathJax.HTML.setScript(a,s.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,s="",n=t;t&&"/MATH"!==t.nodeName;)i=t,t=t.nextSibling,s+=this.NodeHTML(i),i.parentNode.removeChild(i);t&&"/MATH"===t.nodeName&&t.parentNode.removeChild(t),a.text=s+"</math>","none"!==this.config.preview&&this.createPreview(n,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 s=t.attributes[a];if(s.specified&&"_moz-math-"!==s.nodeName.substr(0,10)){e+=" "+s.nodeName.toLowerCase().replace(/xmlns:xmlns/,"xmlns")+"=";var n=s.nodeValue;null==n&&"style"===s.nodeName&&t.style&&(n=t.style.cssText),e+='"'+this.quoteHTML(n)+'"'}}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,"&").replace(/</g,"<").replace(/>/g,">").replace(/\"/g,""")},createPreview:function(t,e){var a=this.config.preview;if("none"!==a){var i=!1,s=MathJax.Hub.config.preRemoveClass;if((e.previousSibling||{}).className!==s){if("mathml"===a&&(i=!0,a=this.MathTagBug?"alttext":t.cloneNode(!0)),"alttext"===a||"altimg"===a){i=!0;var n=this.filterPreview(t.getAttribute("alttext"));if("alttext"===a)a=null!=n?MathJax.HTML.TextNode(n):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:n,style:o})}else a=null}}var l;a&&(i?(l=MathJax.HTML.Element("span",{className:s})).appendChild(a):l=MathJax.HTML.Element("span",{className:s},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="<"/)&&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"),function(t,e,a,i,s,n,r){var o=MathJax.Extension,l=o.MathEvents={version:"2.7.9"},h=t.config.menuSettings,d={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 s=n[i.jaxID];return t||(t=window.event),t.isContextMenu="ContextMenu"===e,s[e]?s[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,d){var m=n[o.jaxID],p=m.getJaxFromMath(o);if((null!=m.config.showMathMenu?m:t).config.showMathMenu&&("MathJax"===h.context||d)){l.msieEventBug&&(e=window.event||e),c.ClearSelection(),u.ClearHoverTimer(),p.hover&&(p.hover.remove&&(clearTimeout(p.hover.remove),delete p.hover.remove),p.hover.nofade=!0);var f,M,g=MathJax.Menu;if(g){if(g.loadingDomain)return c.False(e);if(!(f=s.loadDomain("MathMenu"))){g.jax=p;var b=g.menu.Find("Show Math As").submenu;b.items[0].name=p.sourceMenuTitle,b.items[0].format=p.sourceMenuFormat||"MathML",b.items[1].name=r[p.inputJax].sourceMenuTitle,b.items[5].disabled=!r[p.inputJax].annotationEncoding;var x=b.items[2];x.disabled=!0;var v=x.submenu.items;annotationList=MathJax.Hub.Config.semanticsAnnotations;for(var T=0,E=v.length;T<E;T++){var L=v[T].name[1];p.root&&null!==p.root.getAnnotation(L)?(x.disabled=!1,v[T].hidden=!1):v[T].hidden=!0}return g.menu.Find("Math Settings","MathPlayer").hidden=!("NativeMML"===p.outputJax&&t.Browser.hasMathPlayer),g.menu.Post(e)}g.loadingDomain=!0,M=function(){delete g.loadingDomain}}else{if(a.loadingMathMenu)return c.False(e);a.loadingMathMenu=!0,f=a.Require("[MathJax]/extensions/MathMenu.js"),M=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,M,["ContextMenu",c,y,o,d]),c.False(e)}},AltContextMenu:function(e,a){var i=n[a.jaxID],s=(null!=i.config.showMathMenu?i:t).config.showMathMenu;if(s){if(s=(null!=i.config.showMathMenuMSIE?i:t).config.showMathMenuMSIE,"MathJax"===h.context&&!h.mpContext&&s){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}}},u=l.Hover={Mouseover:function(e,a){if(h.discoverable||"Hover"===h.zoom){var i=e.fromElement||e.relatedTarget,s=e.toElement||e.target;if(i&&s&&(t.isMathJaxNode(i)!==t.isMathJaxNode(s)||t.getJaxFor(i)!==t.getJaxFor(s))){var n=this.getJaxFromMath(a);return n.hover?u.ReHover(n):u.HoverTimer(n,a),c.False(e)}}},Mouseout:function(e,a){if(h.discoverable||"Hover"===h.zoom){var i=e.fromElement||e.relatedTarget,s=e.toElement||e.target;if(i&&s&&(t.isMathJaxNode(i)!==t.isMathJaxNode(s)||t.getJaxFor(i)!==t.getJaxFor(s))){var n=this.getJaxFromMath(a);return n.hover?u.UnHover(n):u.ClearHoverTimer(),c.False(e)}}},Mousemove:function(t,e){if(h.discoverable||"Hover"===h.zoom){var a=this.getJaxFromMath(e);if(a.hover)return;if(u.lastX==t.clientX&&u.lastY==t.clientY)return;return u.lastX=t.clientX,u.lastY=t.clientY,u.HoverTimer(a,e),c.False(t)}},HoverTimer:function(t,e){this.ClearHoverTimer(),this.hoverTimer=setTimeout(i(["Hover",this,t,e]),d.hover)},ClearHoverTimer:function(){this.hoverTimer&&(clearTimeout(this.hoverTimer),delete this.hoverTimer)},Hover:function(a,i){if(!o.MathZoom||!o.MathZoom.Hover({},i)){var s=n[a.outputJax],r=s.getHoverSpan(a,i),h=s.getHoverBBox(a,r,i),c=(null!=s.config.showMathMenu?s:t).config.showMathMenu,u=d.frame.x,m=d.frame.y,p=d.frame.bwidth;l.msieBorderWidthBug&&(p=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-m-p-(h.y||0)),left:this.Px(-u-p+(h.x||0)),width:this.Px(h.w+2*u),height:this.Px(h.h+h.d+2*m),opacity:0,filter:"alpha(opacity=0)"}}]]),M=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:s.id,style:{left:this.Px(h.w+u+p+(h.x||0)+d.button.x),top:this.Px(-h.h-m-p-(h.y||0)-d.button.y),opacity:0,filter:"alpha(opacity=0)"}},[["span",{isMathJax:!0},"▼"]]]]);h.width&&(f.style.width=M.style.width=h.width,f.style.marginRight=M.style.marginRight="-"+h.width,f.firstChild.style.width=h.width,M.firstChild.style.left="",M.firstChild.style.right=this.Px(d.button.wx)),r.parentNode.insertBefore(f,r),c&&r.parentNode.insertBefore(M,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]),d.fadeoutDelay),this.HoverFadeTimer(t,d.fadeinInc)},UnHover:function(t){t.hover.nofade||this.HoverFadeTimer(t,-d.fadeoutInc,d.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||d.fadeDelay))},HoverMenu:function(t){return t||(t=window.event),n[this.jax].ContextMenu(t,this.math,!0)},ClearHover:function(t){t.hover.remove&&clearTimeout(t.hover.remove),t.hover.timer&&clearTimeout(t.hover.timer),u.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=d.button.src)}},m=l.Touch={last:0,delay:500,start:function(t){var e=(new Date).getTime(),a=e-m.last<m.delay&&m.up;m.last=e,m.up=!1,a&&(m.timeout=setTimeout(m.menu,m.delay,t,this),t.preventDefault())},end:function(t){var e=(new Date).getTime();if(m.up=e-m.last<m.delay,m.timeout)return clearTimeout(m.timeout),delete m.timeout,m.last=0,m.up=!1,t.preventDefault(),c.Handler(t.touches[0]||t.touch,"DblClick",this)},menu:function(t,e){return delete m.timeout,m.last=0,m.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=d=t.CombineConfig("MathEvents",d),i.Queue(t.Register.StartupHook("End Config",{}),[function(){var t=d.styles[".MathJax_Hover_Frame"];t.border=d.frame.bwidth+"px solid "+d.frame.bcolor+" ! important",t["box-shadow"]=t["-webkit-box-shadow"]=t["-moz-box-shadow"]=t["-khtml-box-shadow"]="0px 0px "+d.frame.hwidth+" "+d.frame.hcolor}],["getImages",u],["Styles",a,d.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,s){var n,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,n=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 s=MathJax.OutputJax[i.jaxID],h=s.getJaxFromMath(i);h.hover&&r.UnHover(h);var d=this.findContainer(i),c=Math.floor(.85*d.clientWidth),u=Math.max(document.body.clientHeight,document.documentElement.clientHeight);"visible"!==this.getOverflow(d)&&(u=Math.min(d.clientHeight,u)),u=Math.floor(.85*u);var m=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"}}]]]]),p=m.lastChild,f=p.firstChild,M=m.firstChild;i.parentNode.insertBefore(m,i),i.parentNode.insertBefore(i,m),f.addEventListener&&f.addEventListener("mousedown",this.Remove,!0);var g=p.offsetWidth||p.clientWidth;if(c-=g,u-=g,p.style.maxWidth=c+"px",p.style.maxHeight=u+"px",this.msieTrapEventBug){var b=e.Element("span",{id:"MathJax_ZoomEventTrap",onmousedown:this.Remove});m.insertBefore(b,p)}if(this.msieZIndexBug){var x=e.addElement(document.body,"img",{src:"about:blank",id:"MathJax_ZoomTracker",width:0,height:0,style:{width:0,height:0,position:"relative"}});m.style.position="relative",m.style.zIndex=l.styles["#MathJax_ZoomOverlay"]["z-index"],m=x}var v=s.Zoom(h,f,i,c,u);return this.msiePositionBug&&(this.msieSizeBug&&(p.style.height=v.zH+"px",p.style.width=v.zW+"px"),p.offsetHeight>u&&(p.style.height=u+"px",p.style.width=v.zW+this.scrollSize+"px"),p.offsetWidth>c&&(p.style.width=c+"px",p.style.height=v.zH+this.scrollSize+"px")),this.operaPositionBug&&(p.style.width=Math.min(c,v.zW)+"px"),p.offsetWidth>g&&p.offsetWidth-g<c&&p.offsetHeight-g<u&&(p.style.overflow="visible"),this.Position(p,v),this.msieTrapEventBug&&(b.style.height=p.clientHeight+"px",b.style.width=p.clientWidth+"px",b.style.left=parseFloat(p.style.left)+p.clientLeft+"px",b.style.top=parseFloat(p.style.top)+p.clientTop+"px"),p.style.visibility="","Hover"===this.settings.zoom&&(M.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]),n(a)},Position:function(t,e){t.style.display="none";var a=this.Resize(),i=a.x,s=a.y,n=e.mW;t.style.display="";var r=-n-Math.floor((t.offsetWidth-n)/2),o=e.Y;t.style.left=Math.max(r,10-i)+"px",t.style.top=Math.max(o,10-s)+"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),s=h.findContainer(e);if("visible"!==h.getOverflow(s)){a.scroll_parent=s;var n=h.getXY(s);i.x-=n.x,i.y-=n.y,n=h.getBorder(s),i.x-=n.x,i.y-=n.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,s=a.borderTopWidth;return{x:i=e[i]?e[i]:parseInt(i),y:s=e[s]?e[s]:parseInt(s)}},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 s=MathJax.OutputJax[i.previousSibling.jaxID].getJaxFromMath(i.previousSibling);if(t.signal.Post(["math unzoomed",s]),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 n(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,s){var n="2.7.9",r=MathJax.Callback.Signal("menu");MathJax.Extension.MathMenu={version:n,signal:r};var o,l,h,d=function(t){return MathJax.Localization._.apply(MathJax.Localization,[["MathMenu",t]].concat([].slice.call(arguments,1)))},c=MathJax.Object.isArray,u=t.Browser.isPC,m=t.Browser.isMSIE,p=(document.documentMode||0)>8,f=u?null:"5px",M=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:u?"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:u?"2px 2em":"1px 2em",background:"transparent"},".MathJax_MenuArrow":{position:"absolute",right:".5em","padding-top":".25em",color:"#666666","font-family":m?"'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":m?"'Arial unicode MS'":null},".MathJax_MenuCheck.RTL":{right:".7em",left:"auto"},".MathJax_MenuRadioCheck":{position:"absolute",left:u?"1em":".7em"},".MathJax_MenuRadioCheck.RTL":{right:u?"1em":".7em",left:"auto"},".MathJax_MenuLabel":{padding:u?"2px 2em 4px 1.33em":"1px 2em 3px 1.33em","font-style":"italic"},".MathJax_MenuRule":{"border-top":u?"1px solid #CCCCCC":"1px solid #DDDDDD",margin:u?"4px 1px 0px":"4px 3px"},".MathJax_MenuDisabled":{color:"GrayText"},".MathJax_MenuActive":{"background-color":u?"Highlight":"#606872",color:u?"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 g=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){}},{}),b=MathJax.Menu=g.Subclass({version:n,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 s=document.getElementById("MathJax_MenuFrame");s||(s=b.Background(this),delete x.lastItem,delete x.lastMenu,delete b.skipUp,r.Post(["post",b.jax]),b.isRTL="rtl"===MathJax.Localization.fontDirection());var n=e.Element("div",{onmouseup:b.Mouseup,ondblclick:o,ondragstart:o,onselectstart:o,oncontextmenu:o,menuItem:this,className:"MathJax_Menu",onkeydown:b.Keydown,role:"menu"});"contextmenu"!==t.type&&"mouseover"!==t.type||(n.className+=" MathJax_ContextMenu"),i||MathJax.Localization.setCSS(n);for(var l=0,h=this.items.length;l<h;l++)this.items[l].Create(n);b.isMobile&&e.addElement(n,"span",{className:"MathJax_MenuClose",menu:a,ontouchstart:b.Close,ontouchend:o,onmousedown:b.Close,onmouseup:o},[["span",{},"×"]]),s.appendChild(n),this.posted=!0,n.offsetWidth&&(n.style.width=n.offsetWidth+2+"px");var d=t.pageX,c=t.pageY,m=document.body.getBoundingClientRect(),p=window.getComputedStyle?window.getComputedStyle(document.body):{marginLeft:"0px"},f=m.right-Math.min(0,m.left)+parseFloat(p.marginLeft);if(d||c||!("clientX"in t)||(d=t.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,c=t.clientY+document.body.scrollTop+document.documentElement.scrollTop),a){var g="left",v=a.offsetWidth;for(d=b.isMobile?30:v-2,c=0;a&&a!==s;)d+=a.offsetLeft,c+=a.offsetTop,a=a.parentNode;b.isMobile||(b.isRTL&&d-v-n.offsetWidth>this.margin||!b.isRTL&&d+n.offsetWidth>f-this.margin)&&(g="right",d=Math.max(this.margin,d-v-n.offsetWidth+6)),u||(n.style["borderRadiusTop"+g]=0,n.style["WebkitBorderRadiusTop"+g]=0,n.style["MozBorderRadiusTop"+g]=0,n.style["KhtmlBorderRadiusTop"+g]=0)}else{var T=b.CurrentNode()||t.target;if(("keydown"===t.type||!d&&!c)&&T){var E=window.pageXOffset||document.documentElement.scrollLeft,L=window.pageYOffset||document.documentElement.scrollTop,y=T.getBoundingClientRect();d=(y.right+y.left)/2+E,c=(y.bottom+y.top)/2+L}d+n.offsetWidth>f-this.margin&&(d=f-n.offsetWidth-this.margin),b.isMobile&&(d=Math.max(5,d-Math.floor(n.offsetWidth/2)),c-=20),b.skipUp=t.isContextMenu}n.style.left=d+"px",n.style.top=c+"px",document.selection&&document.selection.empty&&document.selection.empty();var C=window.pageXOffset||document.documentElement.scrollLeft,A=window.pageYOffset||document.documentElement.scrollTop;return b.Focus(n),"keydown"===t.type&&(b.skipMouseoverFromKey=!0,setTimeout((function(){delete b.skipMouseoverFromKey}),M.delay)),window.scrollTo(C,A),o(t)},Remove:function(t,e){r.Post(["unpost",b.jax]);var a=document.getElementById("MathJax_MenuFrame");return a&&(a.parentNode.removeChild(a),this.msieFixedPositionBug&&detachEvent("onresize",b.Resize)),b.jax.hover&&(delete b.jax.hover.nofade,l.UnHover(b.jax)),b.Unfocus(e),"mousedown"===t.type&&b.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,s=this.items.length;i<s;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){b.Right(t,e)},Left:function(t,e){b.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:M,Remove:function(t){return b.Event(t,this,"Remove")},Mouseover:function(t){return b.Event(t,this,"Mouseover")},Mouseout:function(t){return b.Event(t,this,"Mouseout")},Mousedown:function(t){return b.Event(t,this,"Mousedown")},Mouseup:function(t){return b.Event(t,this,"Mouseup")},Keydown:function(t){return b.Event(t,this,"Keydown")},Touchstart:function(t){return b.Event(t,this,"Touchstart")},Touchend:function(t){return b.Event(t,this,"Touchend")},Close:function(t){return b.Event(t,this.menu||this.parentNode,this.menu?"Touchend":"Remove")},Event:function(t,e,a,i){if(b.skipMouseover&&"Mouseover"===a&&!i)return o(t);if(b.skipMouseoverFromKey&&"Mouseover"===a)return delete b.skipMouseoverFromKey,o(t);if(b.skipUp){if(a.match(/Mouseup|Touchend/))return delete b.skipUp,o(t);("Touchstart"===a||"Mousedown"===a&&!b.skipMousedown)&&delete b.skipUp}t||(t=window.event);var s=e.menuItem;return s&&s[a]?s[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 b.msieBackgroundBug&&(i.style.backgroundColor="white",i.style.filter="alpha(opacity=0)"),b.msieFixedPositionBug?(a.width=a.height=0,this.Resize(),attachEvent("onresize",this.Resize)):i.style.position="fixed",a},Resize:function(){setTimeout(b.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 b.GetNode(b.jax)},AllNodes:function(){for(var t,e=MathJax.Hub.getAllJax(),a=[],i=0;t=e[i];i++)a.push(b.GetNode(t));return a},ActiveNode:function(){return b.active},FocusNode:function(t){b.active=t,t.focus()},Focus:function(t){b.posted?b.ActiveNode().tabIndex=-1:b.Activate(t),t.tabIndex=0,b.FocusNode(t)},Activate:function(t,e){b.UnsetTabIndex(),b.posted=!0},Unfocus:function(){b.ActiveNode().tabIndex=-1,b.SetTabIndex(),b.FocusNode(b.CurrentNode()),b.posted=!1},MoveHorizontal:function(t,e,a){if(t.shiftKey){var i=b.AllNodes(),s=i.length;if(0!==s){var n=i[b.Mod(a(b.IndexOf(i,b.CurrentNode())),s)];n!==b.CurrentNode()&&(b.menu.Remove(t,e),b.jax=MathJax.Hub.getJaxFor(n),b.FocusNode(n),b.menu.Post(null))}}},Right:function(t,e){b.MoveHorizontal(t,e,(function(t){return t+1}))},Left:function(t,e){b.MoveHorizontal(t,e,(function(t){return t-1}))},UnsetTabIndex:function(){for(var t,e=b.AllNodes(),a=0;t=e[a];a++)t.tabIndex>0&&(t.oldTabIndex=t.tabIndex),t.tabIndex=-1},SetTabIndex:function(){for(var e,a=b.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,s=t.length;i<s;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=g;var x=b.ITEM=g.Subclass({name:"",node:null,menu:null,Attributes:function(e){return t.Insert({onmouseup:b.Mouseup,ondragstart:o,onselectstart:o,onselectend:o,ontouchstart:b.Touchstart,ontouchend:b.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 d(this.name[0],this.name[1])},Mouseover:function(t,e){e.parentNode===b.ActiveNode().parentNode&&this.Deactivate(b.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=x.GetMenuNode(t).childNodes,i=0,s=a.length;i<s;i++){var n=a[i].menuItem;n&&n.submenu&&n.submenu.posted&&n!==t.menuItem&&n.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&&x.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!==x.lastItem&&(x.lastMenu&&b.Event(t,x.lastMenu,"Mouseout"),b.Event(t,e,"Mouseover",!0),x.lastItem=this,x.lastMenu=e),this.nativeTouch?null:(b.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 b.isRTL},rtlClass:function(){return this.isRTL()?" RTL":""}},{GetMenuNode:function(t){return t.parentNode}});b.ENTRY=b.ITEM.Subclass({role:"menuitem",Attributes:function(e){return e=t.Insert({onmouseover:b.Mouseover,onmouseout:b.Mouseout,onmousedown:b.Mousedown,onkeydown:b.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,s=x.GetMenuNode(e),n=[],r=0,o=s.menuItem.items;i=o[r];r++)i.hidden||n.push(i);var l=b.IndexOf(n,this);if(-1!==l){var h=n.length,d=s.childNodes;do{l=b.Mod(a(l),h)}while(n[l].hidden||!d[l].role||"separator"===d[l].role);this.Deactivate(e),n[l].Activate(t,d[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,b.Right,!this.isRTL())},Left:function(t,e){this.MoveHorizontal(t,e,b.Left,this.isRTL())},MoveHorizontal:function(t,e,a,i){var s=x.GetMenuNode(e);if(s.menuItem===b.menu&&t.shiftKey&&a(t,e),!i){s.menuItem!==b.menu&&this.Deactivate(e);for(var n=s.previousSibling.childNodes,r=n.length;r--;){var o=n[r];if(o.menuItem.submenu&&o.menuItem.submenu===s.menuItem){b.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),b.Focus(e)},Deactivate:function(t){t.className=t.className.replace(/ MathJax_MenuActive/,"")}}),b.ITEM.COMMAND=b.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)}}),b.ITEM.SUBMENU=b.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 b.ITEM||(this.With(e),a++),this.submenu=b.apply(b,[].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]),M.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 x.lastItem,delete x.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),b.Focus(e))),o(t)},Activate:function(t,e){this.disabled||(this.Deactivate(e),e.className+=" MathJax_MenuActive"),this.submenu.posted||(this.DeactivateSubmenus(e),b.isMobile||this.Timer(t,e)),b.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 s=x.GetMenuNode(e).nextSibling.childNodes;s.length>0&&this.submenu.items[0].Activate(t,s[0])}else this.Activate(t,e)}else this.SUPER(arguments).MoveHorizontal.apply(this,arguments)}}),b.ITEM.RADIO=b.ENTRY.Subclass({variable:null,marker:u?"●":"✓",role:"menuitemradio",Attributes:function(e){var a=M.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 M.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,s=a.length;i<s;i++){var n=a[i].menuItem;n&&n.variable===this.variable&&(a[i].firstChild.style.display="none")}e.firstChild.display="",M.settings[this.variable]=this.value,b.cookie[this.variable]=M.settings[this.variable],b.saveCookie(),r.Post(["radio button",this])}return this.Remove(t,e),this.action&&!this.disabled&&this.action.call(b,this),o(t)}}),b.ITEM.CHECKBOX=b.ENTRY.Subclass({variable:null,marker:"✓",role:"menuitemcheckbox",Attributes:function(e){var a=M.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 M.settings[this.variable]||(a={style:{display:"none"}}),[["span",a,[this.marker]]," "+this.Name()]},Mouseup:function(t,e){return this.disabled||(e.firstChild.display=M.settings[this.variable]?"none":"",M.settings[this.variable]=!M.settings[this.variable],b.cookie[this.variable]=M.settings[this.variable],b.saveCookie(),r.Post(["checkbox",this])),this.Remove(t,e),this.action&&!this.disabled&&this.action.call(b,this),o(t)}}),b.ITEM.LABEL=b.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),b.Focus(e)},Mouseup:function(t,e){}}),b.ITEM.RULE=b.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}}),b.About=function(a){var i=b.About.GetFont(),s=b.About.GetFormat(),n=["MathJax.js v"+MathJax.fileversion,["br"]];n.push(["div",{style:{"border-top":"groove 2px",margin:".25em 0"}}]),b.About.GetJax(n,MathJax.InputJax,["InputJax","%1 Input Jax v%2"]),b.About.GetJax(n,MathJax.OutputJax,["OutputJax","%1 Output Jax v%2"]),b.About.GetJax(n,MathJax.ElementJax,["ElementJax","%1 Element Jax v%2"]),n.push(["div",{style:{"border-top":"groove 2px",margin:".25em 0"}}]),b.About.GetJax(n,MathJax.Extension,["Extension","%1 Extension v%2"],!0),n.push(["div",{style:{"border-top":"groove 2px",margin:".25em 0"}}],["center",{},[t.Browser+" v"+t.Browser.version+(s?" — "+d(s.replace(/ /g,""),s):"")]]),b.About.div=b.Background(b.About);var r=e.addElement(b.About.div,"div",{id:"MathJax_About",tabIndex:0,onkeydown:b.About.Keydown},[["b",{style:{fontSize:"120%"}},["MathJax"]]," v"+MathJax.version,["br"],d(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},n],["br"],["br"],["a",{href:"http://www.mathjax.org/"},["www.mathjax.org"]],["span",{className:"MathJax_MenuClose",id:"MathJax_AboutClose",onclick:b.About.Remove,onkeydown:b.About.Keydown,tabIndex:0,role:"button","aria-label":d("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;b.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")},b.About.Remove=function(t){b.About.div&&(document.body.removeChild(b.About.div),delete b.About.div)},b.About.Keydown=function(t){t.keyCode!==h.ESCAPE&&("MathJax_AboutClose"!==this.id||t.keyCode!==h.SPACE&&t.keyCode!==h.RETURN)||(b.About.Remove(t),b.CurrentNode().focus(),o(t))},b.About.GetJax=function(t,e,a,i){var s=[];for(var n in e)e.hasOwnProperty(n)&&e[n]&&(i&&e[n].version||e[n].isa&&e[n].isa(e))&&s.push(d(a[0],a[1],e[n].id||n,e[n].version));s.sort();for(var r=0,o=s.length;r<o;r++)t.push(s[r],["br"]);return t},b.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"},b.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"},b.Help=function(t){a.Require("[MathJax]/extensions/HelpDialog.js",(function(){MathJax.Extension.Help.Dialog({type:t.type})}))},b.ShowSource=function(t){t||(t=window.event);var e={screenX:t.screenX,screenY:t.screenY};if(b.jax)if("MathML"===this.format){var s=MathJax.ElementJax.mml;if(s&&void 0!==s.mbase.prototype.toMathML)try{b.ShowSource.Text(b.jax.root.toMathML("",b.jax),t)}catch(t){if(!t.restart)throw t;i.After([this,b.ShowSource,e],t.restart)}else if(!a.loadingToMathML)return a.loadingToMathML=!0,b.ShowSource.Window(t),void i.Queue(a.Require("[MathJax]/extensions/toMathML.js"),(function(){delete a.loadingToMathML,s.mbase.prototype.toMathML||(s.mbase.prototype.toMathML=function(){})}),[this,b.ShowSource,e])}else if("Error"===this.format)b.ShowSource.Text(b.jax.errorText,t);else if(M.semanticsAnnotations[this.format]){var n=b.jax.root.getAnnotation(this.format);n.data[0]&&b.ShowSource.Text(n.data[0].toString())}else{if(null==b.jax.originalText)return void alert(d("NoOriginalForm","No original form available"));b.ShowSource.Text(b.jax.originalText,t)}},b.ShowSource.Window=function(t){if(!b.ShowSource.w){var e=[],a=M.windowSettings;for(var i in a)a.hasOwnProperty(i)&&e.push(i+"="+a[i]);b.ShowSource.w=window.open("","_blank",e.join(","))}return b.ShowSource.w},b.ShowSource.Text=function(t,e){var a=b.ShowSource.Window(e);delete b.ShowSource.w,t=(t=t.replace(/^\s*/,"").replace(/\s*$/,"")).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">");var i=d("EqSource","MathJax Equation Source");if(b.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='"+d("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 s=a.document.body.firstChild;setTimeout((function(){var t,i,n,r=a.outerHeight-a.innerHeight||30,o=a.outerWidth-a.innerWidth||30;o=Math.max(140,Math.min(Math.floor(.5*screen.width),s.offsetWidth+o+25)),r=Math.max(40,Math.min(Math.floor(.5*screen.height),s.offsetHeight+r+25)),b.prototype.msieHeightBug&&(r+=35),a.resizeTo(o,r);try{n=e.screenX}catch(t){}e&&null!=n&&(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)}},b.Scale=function(){var e,a,i=["CommonHTML","HTML-CSS","SVG","NativeMML","PreviewHTML"],n=i.length,r=100;for(e=0;e<n;e++)if(a=s[i[e]]){r=a.config.scale;break}var o=prompt(d("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<n;e++)(a=s[i[e]])&&(a.config.scale=o);b.cookie.scale=t.config.scale=o,b.saveCookie(),t.Queue(["Rerender",t])}}else alert(d("NonZeroScale","The scale should not be zero"));else alert(d("PercentScale","The scale should be a percentage (e.g., 120%%)"))},b.Zoom=function(){MathJax.Extension.MathZoom||a.Require("[MathJax]/extensions/MathZoom.js")},b.Renderer=function(){var a=t.outputJax["jax/mml"];if(a[0]!==M.settings.renderer){var i,s,n=t.Browser,r=b.Renderer.Messages;switch(M.settings.renderer){case"NativeMML":M.settings.warnedMML||(n.isChrome&&"24."!==n.version.substr(0,3)||n.isSafari&&!n.versionAtLeast("5.0")?i=r.MML.WebKit:n.isMSIE?n.hasMathPlayer||(i=r.MML.MSIE):i=n.isEdge?r.MML.WebKit:r.MML[n],s="warnedMML");break;case"SVG":M.settings.warnedSVG||n.isMSIE&&!p&&(i=r.SVG.MSIE)}if(i){if(i=d(i[0],i[1]),i+="\n\n",i+=d("SwitchAnyway","Switch the renderer anyway?\n\n(Press OK to switch, CANCEL to continue with the current renderer)"),b.cookie.renderer=a[0].id,b.saveCookie(),!confirm(i))return b.cookie.renderer=M.settings.renderer=e.Cookie.Get("menu").renderer,void b.saveCookie();s&&(b.cookie.warned=M.settings.warned=!0),b.cookie.renderer=M.settings.renderer,b.saveCookie()}t.Queue(["setRenderer",t,M.settings.renderer,"jax/mml"],["Rerender",t])}},b.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."]}},b.AssistiveMML=function(t,e){var i=MathJax.Extension.AssistiveMML;i?MathJax.Hub.Queue([(M.settings.assistiveMML?"Add":"Remove")+"AssistiveMathML",i]):e||a.Require("[MathJax]/extensions/AssistiveMML.js",["AssistiveMML",b,t,!0])},b.Font=function(){s["HTML-CSS"]&&document.location.reload()},b.Locale=function(){MathJax.Localization.setLocale(M.settings.locale),MathJax.Hub.Queue(["Reprocess",MathJax.Hub])},b.LoadLocale=function(){var t=prompt(d("LoadURL","Load translation data from this URL:"));t&&(t.match(/\.js$/)||alert(d("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(d("BadData","Failed to load translation data from %1",t))})))},b.MPEvents=function(t){var e=M.settings.discoverable,a=b.MPEvents.Messages;if(p)!e&&"Menu Events"===t.name[1]&&M.settings.mpContext&&alert(d.apply(d,a.IE9warning));else{if(M.settings.mpMouse&&!confirm(d.apply(d,a.IE8warning)))return delete b.cookie.mpContext,delete M.settings.mpContext,delete b.cookie.mpMouse,delete M.settings.mpMouse,void b.saveCookie();M.settings.mpContext=M.settings.mpMouse,b.cookie.mpContext=b.cookie.mpMouse=M.settings.mpMouse,b.saveCookie(),MathJax.Hub.Queue(["Rerender",MathJax.Hub])}},b.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;b.Augment({margin:20,msieBackgroundBug:(document.documentMode||0)<9,msieFixedPositionBug:e||!a,msieAboutBug:e,msieHeightBug:(document.documentMode||0)<9}),p&&(delete M.styles["#MathJax_About"].filter,delete M.styles[".MathJax_Menu"].filter)},Firefox:function(t){b.skipMouseover=t.isMobile&&t.versionAtLeast("6.0"),b.skipMousedown=t.isMobile}}),b.isMobile=t.Browser.isMobile,b.noContextMenu=t.Browser.noContextMenu,b.CreateLocaleMenu=function(){if(b.menu){var t=b.menu.Find("Language").submenu,e=t.items,a=[],i=MathJax.Localization.strings;for(var s in i)i.hasOwnProperty(s)&&a.push(s);a=a.sort(),t.items=[];for(var n=0,r=a.length;n<r;n++){var o=i[a[n]].menuTitle;o?o+=" ("+a[n]+")":o=a[n],t.items.push(x.RADIO([a[n],o],"locale",{action:b.Locale}))}t.items.push(e[e.length-2],e[e.length-1])}},b.CreateAnnotationMenu=function(){if(b.menu){var t=b.menu.Find("Show Math As","Annotation").submenu,e=M.semanticsAnnotations;for(var a in e)e.hasOwnProperty(a)&&t.items.push(x.COMMAND([a,a],b.ShowSource,{hidden:!0,nativeTouch:!0,format:a}))}},t.Register.StartupHook("End Config",(function(){var e,a;M.settings=t.config.menuSettings,void 0!==M.settings.showRenderer&&(M.showRenderer=M.settings.showRenderer),void 0!==M.settings.showFontMenu&&(M.showFontMenu=M.settings.showFontMenu),void 0!==M.settings.showContext&&(M.showContext=M.settings.showContext),b.getCookie(),b.menu=b(x.SUBMENU(["Show","Show Math As"],x.COMMAND(["MathMLcode","MathML Code"],b.ShowSource,{nativeTouch:!0,format:"MathML"}),x.COMMAND(["Original","Original Form"],b.ShowSource,{nativeTouch:!0}),x.SUBMENU(["Annotation","Annotation"],{disabled:!0}),x.RULE(),x.CHECKBOX(["texHints","Show TeX hints in MathML"],"texHints"),x.CHECKBOX(["semantics","Add original form as annotation"],"semantics")),x.RULE(),x.SUBMENU(["Settings","Math Settings"],x.SUBMENU(["ZoomTrigger","Zoom Trigger"],x.RADIO(["Hover","Hover"],"zoom",{action:b.Zoom}),x.RADIO(["Click","Click"],"zoom",{action:b.Zoom}),x.RADIO(["DoubleClick","Double-Click"],"zoom",{action:b.Zoom}),x.RADIO(["NoZoom","No Zoom"],"zoom",{value:"None"}),x.RULE(),x.LABEL(["TriggerRequires","Trigger Requires:"]),x.CHECKBOX(t.Browser.isMac?["Option","Option"]:["Alt","Alt"],"ALT"),x.CHECKBOX(["Command","Command"],"CMD",{hidden:!t.Browser.isMac}),x.CHECKBOX(["Control","Control"],"CTRL",{hidden:t.Browser.isMac}),x.CHECKBOX(["Shift","Shift"],"Shift")),x.SUBMENU(["ZoomFactor","Zoom Factor"],x.RADIO("125%","zscale"),x.RADIO("133%","zscale"),x.RADIO("150%","zscale"),x.RADIO("175%","zscale"),x.RADIO("200%","zscale"),x.RADIO("250%","zscale"),x.RADIO("300%","zscale"),x.RADIO("400%","zscale")),x.RULE(),x.SUBMENU(["Renderer","Math Renderer"],{hidden:!M.showRenderer},x.RADIO(["HTML-CSS","HTML-CSS"],"renderer",{action:b.Renderer}),x.RADIO(["CommonHTML","Common HTML"],"renderer",{action:b.Renderer,value:"CommonHTML"}),x.RADIO(["PreviewHTML","Preview HTML"],"renderer",{action:b.Renderer,value:"PreviewHTML"}),x.RADIO(["MathML","MathML"],"renderer",{action:b.Renderer,value:"NativeMML"}),x.RADIO(["SVG","SVG"],"renderer",{action:b.Renderer}),x.RADIO(["PlainSource","Plain Source"],"renderer",{action:b.Renderer,value:"PlainSource"}),x.RULE(),x.CHECKBOX(["FastPreview","Fast Preview"],"FastPreview")),x.SUBMENU("MathPlayer",{hidden:!t.Browser.isMSIE||!M.showMathPlayer,disabled:!t.Browser.hasMathPlayer},x.LABEL(["MPHandles","Let MathPlayer Handle:"]),x.CHECKBOX(["MenuEvents","Menu Events"],"mpContext",{action:b.MPEvents,hidden:!p}),x.CHECKBOX(["MouseEvents","Mouse Events"],"mpMouse",{action:b.MPEvents,hidden:!p}),x.CHECKBOX(["MenuAndMouse","Mouse and Menu Events"],"mpMouse",{action:b.MPEvents,hidden:p})),x.SUBMENU(["FontPrefs","Font Preference"],{hidden:!M.showFontMenu},x.LABEL(["ForHTMLCSS","For HTML-CSS:"]),x.RADIO(["Auto","Auto"],"font",{action:b.Font}),x.RULE(),x.RADIO(["TeXLocal","TeX (local)"],"font",{action:b.Font}),x.RADIO(["TeXWeb","TeX (web)"],"font",{action:b.Font}),x.RADIO(["TeXImage","TeX (image)"],"font",{action:b.Font}),x.RULE(),x.RADIO(["STIXLocal","STIX (local)"],"font",{action:b.Font}),x.RADIO(["STIXWeb","STIX (web)"],"font",{action:b.Font}),x.RULE(),x.RADIO(["AsanaMathWeb","Asana Math (web)"],"font",{action:b.Font}),x.RADIO(["GyrePagellaWeb","Gyre Pagella (web)"],"font",{action:b.Font}),x.RADIO(["GyreTermesWeb","Gyre Termes (web)"],"font",{action:b.Font}),x.RADIO(["LatinModernWeb","Latin Modern (web)"],"font",{action:b.Font}),x.RADIO(["NeoEulerWeb","Neo Euler (web)"],"font",{action:b.Font})),x.SUBMENU(["ContextMenu","Contextual Menu"],{hidden:!M.showContext},x.RADIO(["MathJax","MathJax"],"context"),x.RADIO(["Browser","Browser"],"context")),x.COMMAND(["Scale","Scale All Math ..."],b.Scale),x.RULE().With({hidden:!M.showDiscoverable,name:["","discover_rule"]}),x.CHECKBOX(["Discoverable","Highlight on Hover"],"discoverable",{hidden:!M.showDiscoverable})),x.SUBMENU(["Accessibility","Accessibility"],x.CHECKBOX(["AssistiveMML","Assistive MathML"],"assistiveMML",{action:b.AssistiveMML}),x.CHECKBOX(["InTabOrder","Include in Tab Order"],"inTabOrder")),x.SUBMENU(["Locale","Language"],{hidden:!M.showLocale,ltr:!0},x.RADIO("en","locale",{action:b.Locale}),x.RULE().With({hidden:!M.showLocaleURL,name:["","localURL_rule"]}),x.COMMAND(["LoadLocale","Load from URL ..."],b.LoadLocale,{hidden:!M.showLocaleURL})),x.RULE(),x.COMMAND(["About","About MathJax"],b.About),x.COMMAND(["Help","MathJax Help"],b.Help)),b.isMobile&&(e=M.settings,(a=b.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[) ]/)&&b.ITEM.SUBMENU.Augment({marker:"»"})),b.CreateLocaleMenu(),b.CreateAnnotationMenu()})),b.showRenderer=function(t){b.cookie.showRenderer=M.showRenderer=t,b.saveCookie(),b.menu.Find("Math Settings","Math Renderer").hidden=!t},b.showMathPlayer=function(t){b.cookie.showMathPlayer=M.showMathPlayer=t,b.saveCookie(),b.menu.Find("Math Settings","MathPlayer").hidden=!t},b.showFontMenu=function(t){b.cookie.showFontMenu=M.showFontMenu=t,b.saveCookie(),b.menu.Find("Math Settings","Font Preference").hidden=!t},b.showContext=function(t){b.cookie.showContext=M.showContext=t,b.saveCookie(),b.menu.Find("Math Settings","Contextual Menu").hidden=!t},b.showDiscoverable=function(t){b.cookie.showDiscoverable=M.showDiscoverable=t,b.saveCookie(),b.menu.Find("Math Settings","Highlight on Hover").hidden=!t,b.menu.Find("Math Settings","discover_rule").hidden=!t},b.showLocale=function(t){b.cookie.showLocale=M.showLocale=t,b.saveCookie(),b.menu.Find("Language").hidden=!t},MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",(function(){MathJax.OutputJax["HTML-CSS"].config.imageFont||(b.menu.Find("Math Settings","Font Preference","TeX (image)").disabled=!0)})),i.Queue(t.Register.StartupHook("End Config",{}),["Styles",a,M.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(),s=MathJax.Localization.fontFamily();return e&&(a=a.With(e)),(i||s)&&(a=this.mstyle(a),i&&(a.dir=i),s&&(a.style.fontFamily="font-family: "+s)),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 s=this.Parent();if(s&&null!=s["adjustChild_"+e])return s["adjustChild_"+e](this.childPosition(),a);for(var n=this.inherit,r=n;n;){var o=n[e];if(null==o&&n.attr&&(o=n.attr[e]),n.removedStyles&&n.getRemoved[e]&&null==o&&(o=n.removedStyles[n.getRemoved[e]]),null!=o&&n.noInheritAttribute&&!n.noInheritAttribute[e]){var l=n.noInherit[this.type];if(!l||!l[e])return o}r=n,n=n.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 s=this.data.join(""),n=[this.Get("form"),t.FORM.INFIX,t.FORM.POSTFIX,t.FORM.PREFIX],r=0,o=n.length;r<o;r++){var l=this.OPTABLE[n[r]][s];if(l){i=this.makeDef(l);break}}i||(i=this.CheckRange(s)),!i&&a?i={}:(i||(i=MathJax.Hub.Insert({},this.defaultDef)),this.parent?this.def=i:i=MathJax.Hub.Insert({},i),i.form=n[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,s=this.RANGES.length;i<s&&this.RANGES[i][0]<=a;i++)if(a<=this.RANGES[i][1]){if(this.RANGES[i][3]){var n=t.optableDir+"/"+this.RANGES[i][3]+".js";this.RANGES[i][3]=null,MathJax.Hub.RestartAfter(MathJax.Ajax.Require(n))}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 s=this.data[a].Get("encoding");if(s)for(var n=0,r=e.length;n<r;n++)if(e[n]===s)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 s=t.attributes[a];s.specified&&null!=s.nodeValue&&""!=s.nodeValue&&e.setAttribute(s.nodeName,s.nodeValue),"style"===s.nodeName&&(e.style.cssText=s.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 s=[],n=this.isToken?"":t+(e?"":" "),r=0,o=this.data.length;r<o;r++)this.data[r]?s.push(this.data[r].toMathML(n)):this.isToken||this.isChars||s.push(n+"<mrow />");return this.isToken||this.isChars?t+"<"+a+i+">"+s.join("")+"</"+a+">":e?s.join("\n"):0===s.length||1===s.length&&""===s[0]?t+"<"+a+i+" />":t+"<"+a+i+">\n"+s.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,s=t.copyAttributes,n=[];if("math"!==this.type||this.attr&&"xmlns"in this.attr||n.push('xmlns="http://www.w3.org/1998/Math/MathML"'),!this.attrNames)for(var r in e)i[r]||s[r]||!e.hasOwnProperty(r)||null!=this[r]&&this[r]!==e[r]&&this.Get(r,null,1)!==this[r]&&n.push(r+'="'+this.toMathMLattribute(this[r])+'"');for(var o=0,l=a.length;o<l;o++)(1!==s[a[o]]||e.hasOwnProperty(a[o]))&&(value=(this.attr||{})[a[o]],null==value&&(value=this[a[o]]),null!=value&&n.push(a[o]+'="'+this.toMathMLquote(value)+'"'));return this.toMathMLclass(n),n.length?" "+n.join(" "):""},toMathMLclass:function(a){var i=[];if(this.class&&i.push(this.class),this.isa(t.TeXAtom)&&e.texHints){var s=["ORD","OP","BIN","REL","OPEN","CLOSE","PUNCT","INNER","VCENTER"][this.texClass];s&&(i.push("MJX-TeXAtom-"+s),"OP"!==s||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 s={"&":"&","<":"<",">":">",'"':"""}[t[e]];s&&(t[e]=s)}else if(e+1<a){var n=t[e+1].charCodeAt(0)-56320+(i-55296<<10)+65536;t[e]="&#x"+n.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 s=this.data[0]&&this.data[0].data.length>1,n=this.type,r=this.toMathMLattributes(),o=[],l=t+(i?" "+(s?" ":""):"")+" ",h=0,d=this.data.length;h<d;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"<"+n+r+" />";o.push(l+"<mrow />")}if(i){s&&(o.unshift(t+" <mrow>"),o.push(t+" </mrow>")),o.unshift(t+" <semantics>");var c=a.originalText.replace(/[&<>]/g,(function(t){return{">":">","<":"<","&":"&"}[t]}));o.push(t+' <annotation encoding="'+this.toMathMLquote(i)+'">'+c+"</annotation>"),o.push(t+" </semantics>")}return t+"<"+n+r+">\n"+o.join("\n")+"\n"+t+"</"+n+">"}}),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=[],s=0,n=this.data.length;s<n;s++)this.data[s]&&i.push(this.data[s].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 s=this.toMathMLattributes();delete this.data[0].inferred;for(var n=[],r=0,o=this.data.length;r<o;r++)this.data[r]&&n.push(this.data[r].toMathML(e+" "));return e+"<"+a+s+">\n"+n.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,s,n,r){if(a.disabled)return e.apply(this,arguments);var o=i.message.replace(/\n.*/,"");t.signal.Post(["TeX Jax - parse error",o,s,n,r]);var l=a.inlineDelimiters,h=n||a.multiLine;return n||(s=l[0]+s+l[1]),s=h?s.replace(/ /g," "):s.replace(/\n/g," "),MathJax.ElementJax.mml.merror(s).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/),s=0,n=a.length;s<n;s++)e.addText(t,a[s]),s!==n-1&&e.addElement(t,"br",{isMathJax:!0});var r=e.getHD(t.parentNode),o=e.getW(t.parentNode);if(n>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/),s=0,n=a.length;s<n;s++)e.addText(t,a[s]),s!==n-1&&e.addElement(t,"br",{isMathJax:!0});if(n>1){var r=t.offsetHeight/2;t.style.verticalAlign=r/n-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/),s=0,n=a.length;s<n;s++)t.appendChild(document.createTextNode(a[s])),s!==n-1&&t.appendChild(document.createElement("br"));for(var r in this.multiLine&&(t.style.display="inline-block",n>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/),s=0,n=i.length;s<n;s++)e.addText(t,i[s]),s!==n-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 s=this.data[0].data[0].data.join("").split(/\n/),n=0,r=s.length;n<r;n++)a.addText(t,s[n]),n!==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,s=function(t){return MathJax.Localization._.apply(MathJax.Localization,[["TeX",t]].concat([].slice.call(arguments,1)))},n=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,s;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,(s=!this.data.length||this.Top().checkItem(a))instanceof Array)this.Pop(),this.Push.apply(this,s);else if(s instanceof o)this.Pop(),this.Push(s);else if(s)if(this.data.push(a),a.env){if(!1!==a.copyEnv)for(var n in this.env)this.env.hasOwnProperty(n)&&(a.env[n]=this.env[n]);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 s=i.mfrac(this.num,this.mmlData(!1));return null!=this.thickness&&(s.linethickness=this.thickness),(this.open||this.close)&&(s.texWithDelims=!0,s=t.fixedFence(this.open,s,this.close)),[o.mml(s),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 s=i.mtable.apply(i,this.table).With(this.arraydef);if(4===this.frame.length?s.frame=this.frame.dashed?"dashed":"solid":this.frame.length&&(s.hasFrame=!0,this.arraydef.rowlines&&(this.arraydef.rowlines=this.arraydef.rowlines.replace(/none( none)+$/,"none")),s=i.menclose(s).With({notation:this.frame.join(" "),isFrame:!0}),"none"==(this.arraydef.columnlines||"none")&&"none"==(this.arraydef.rowlines||"none")||(s.padding=0)),a&&(s=i.mstyle(s).With({scriptlevel:a})),(this.open||this.close)&&(s=t.fenced(this.open,s,this.close)),s=o.mml(s),this.requireClose){if("close"===e.type)return s;t.Error(["MissingCloseBrace","Missing close brace"])}return[s,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]||n(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 s in i={},a)a.hasOwnProperty(s)&&(i[s]=a[s]);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){n(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};n(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};n(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};n(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={};n(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,s,n=this.stack.Top();"prime"===n.type?(s=n.data[0],a=n.data[1],this.stack.Pop()):(s=this.stack.Prev())||(s=i.mi("")),s.isEmbellishedWrapper&&(s=s.data[0].data[0]);var r=s.movesupsub,l=s.sup;("msubsup"===s.type&&s.data[s.sup]||"munderover"===s.type&&s.data[s.over]&&!s.subsupOK)&&t.Error(["DoubleExponent","Double exponent: use braces to clarify"]),"msubsup"!==s.type&&(r?(("munderover"!==s.type||s.data[s.over])&&(s.movablelimits&&s.isa(i.mi)&&(s=this.mi2mo(s)),s=i.munderover(s,null,null).With({movesupsub:!0})),l=s.over):l=(s=i.msubsup(s,null,null)).sup),this.Push(o.subsup(s).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,s,n=this.stack.Top();"prime"===n.type?(s=n.data[0],a=n.data[1],this.stack.Pop()):(s=this.stack.Prev())||(s=i.mi("")),s.isEmbellishedWrapper&&(s=s.data[0].data[0]);var r=s.movesupsub,l=s.sub;("msubsup"===s.type&&s.data[s.sub]||"munderover"===s.type&&s.data[s.under]&&!s.subsupOK)&&t.Error(["DoubleSubscripts","Double subscripts: use braces to clarify"]),"msubsup"!==s.type&&(r?(("munderover"!==s.type||s.data[s.under])&&(s.movablelimits&&s.isa(i.mi)&&(s=this.mi2mo(s)),s=i.munderover(s,null,null).With({movesupsub:!0})),l=s.under):l=(s=i.msubsup(s,null,null)).sub),this.Push(o.subsup(s).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 s="";this.i--;do{s+=this.PRIME,this.i++,e=this.GetNext()}while("'"===e||e===this.SMARTQUOTE);s=["","′","″","‴","⁗"][s.length]||s,this.Push(o.prime(a,this.mmlToken(i.mo(s))))},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],n(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 s=this.ParseArg(t);a?this.stack.env.color=a:delete this.stack.env.color,this.Push(i.mstyle(s).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(/ /," ");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 s=this.stack.Prev("nopop");(!s||s.Get("texClass")!==i.TEXCLASS.OP&&null==s.movesupsub)&&t.Error(["MisplacedLimits","%1 is allowed only on operators",e]);var n=this.stack.Top();"munderover"!==s.type||a?"msubsup"===s.type&&a&&(s=n.data[n.data.length-1]=i.munderover.apply(i.underover,s.data)):s=n.data[n.data.length-1]=i.msubsup.apply(i.subsup,s.data),s.movesupsub=!!a,s.Core().movablelimits=!1,s.movablelimits&&(s.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),s=this.GetArgument(e);"\\frac"===s&&(s+="{"+this.GetArgument(s)+"}{"+this.GetArgument(s)+"}");var n=t.Parse(s,this.stack.env).mml();n=a?i.mroot(n,this.parseRoot(a)):i.msqrt.apply(i,n.array()),this.Push(n)},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,s=a.inRoot;a.inRoot=!0;var n=t.Parse(e,a);e=n.mml();var r=n.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=s,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 s=this.ParseArg(t),n={accent:!0};this.stack.env.font&&(n.mathvariant=this.stack.env.font);var r=this.mmlToken(i.mo(i.entity("#x"+e)).With(n));r.stretchy=!!a;var o=s.isEmbellished()?s.CoreMO():s;o.isa(i.mo)&&(o.movablelimits=!1),this.Push(i.TeXAtom(i.munderover(s,null,r).With({accent:!0})))},UnderOver:function(t,e,a,s){var n={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[n],this.mmlToken(i.mo(i.entity("#x"+e)).With({stretchy:!0,accent:!s}))),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 s,n={texClass:a};if(a==i.TEXCLASS.OP){n.movesupsub=n.movablelimits=!0;var r=this.GetArgument(e),l=r.match(/^\s*\\rm\s+([a-zA-Z0-9 ]+)$/);l?(n.mathvariant=i.VARIANT.NORMAL,s=o.fn(this.mmlToken(i.mi(l[1]).With(n)))):s=o.fn(i.TeXAtom(t.Parse(r,this.stack.env).mml()).With(n))}else s=i.TeXAtom(this.ParseArg(e)).With(n);this.Push(s)},MmlToken:function(e){var a,s=this.GetArgument(e),n=this.GetBrackets(e,"").replace(/^\s+/,""),r=this.GetArgument(e),o={attrNames:[]};for(i[s]&&i[s].prototype.isToken||t.Error(["NotMathMLToken","%1 is not a token element",s]);""!==n;){(a=n.match(/^([a-z]+)\s*=\s*('[^']*'|"[^"]*"|[^ ,]*)\s*,?\s*/i))||t.Error(["InvalidMathMLAttr","Invalid MathML attribute: %1",n]),null!=i[s].prototype.defaults[a[1]]||this.MmlTokenAllow[a[1]]||t.Error(["UnknownAttrForElement","%1 is not a recognized attribute for %2",a[1],s]);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])),n=n.substr(a[0].length)}this.Push(this.mmlToken(i[s](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 s=this.ParseArg(t);(e||a)&&(s=i.mpadded(s),a&&(s.height=s.depth=0),e&&(s.width=0)),this.Push(i.TeXAtom(i.mphantom(s)))},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 s=e;e=a,a=s}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),s=this.GetDimen(t),n=i.mspace().With({width:a,height:s,mathbackground:this.stack.env.color||"black"});e&&(n=i.mpadded(n).With({voffset:e}),e.match(/^\-/)?(n.height=e,n.depth="+"+e.substr(1)):n.height="+"+e),this.Push(n)},MakeBig:function(t,e,a){a*=l.p_height,a=String(a).replace(/(\.\d\d\d).+/,"$1")+"em";var s=this.GetDelimiter(t,!0);this.Push(i.mstyle(i.TeXAtom(i.mo(s).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,s,n){(s=t.extensionDir+"/"+s).match(/\.js$/)||(s+=".js"),a.loaded[a.fileURL(s)]||(null!=i&&delete l[n||"macros"][i.replace(/^\\/,"")],e.RestartAfter(a.Require(s)))},Macro:function(e,a,i,s){if(i){var n=[];if(null!=s){var r=this.GetBrackets(e);n.push(null==r?s:r)}for(var o=n.length;o<i;o++)n.push(this.GetArgument(e));a=this.SubstituteArgs(n,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,s,n,r,l,h,d){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 u=o.array().With({requireClose:!0,arraydef:{rowspacing:r||"4pt",columnspacing:n||"1em"}});h&&(u.isCases=!0),d&&(u.isNumbered=!0,u.arraydef.side=d),(a||i)&&(u.open=a,u.close=i),"D"===l&&(u.arraydef.displaystyle=!0),null!=s&&(u.arraydef.columnalign=s),this.Push(u)},Entry:function(e){if(this.Push(o.cell().With({isEntry:!0,name:e})),this.stack.Top().isCases){for(var a=this.string,i=0,s=-1,n=this.i,r=a.length;n<r;){var l=a.charAt(n);"{"===l?(i++,n++):"}"===l?0===i?r=0:(0==--i&&s<0&&(s=n-this.i),n++):"&"===l&&0===i?t.Error(["ExtraAlignTab","Extra alignment tab in \\cases text"]):"\\"===l?a.substr(n).match(/^((\\cr)[^a-zA-Z]|\\\\)/)?r=0:n+=2:n++}var h=a.substr(this.i,n-this.i);h.match(/^\s*\\text[^a-zA-Z]/)&&s===h.replace(/\s+$/,"").length-1||(this.Push.apply(this,this.InternalMath(h,0)),this.i=n)}},Cr:function(t){this.Push(o.cell().With({isCR:!0,name:t}))},CrLaTeX:function(e,a){var s;a||"["!==this.string.charAt(this.i)||(s=this.GetBrackets(e,"").replace(/ /g,"").replace(/,/,"."))&&!this.matchDimen(s)&&t.Error(["BracketMustBeDimension","Bracket argument to %1 must be a dimension",e]),this.Push(o.cell().With({isCR:!0,name:e,linebreak:!0}));var n=this.stack.Top();if(n.isa(o.array)){if(s&&n.arraydef.rowspacing){var r=n.arraydef.rowspacing.split(/ /);for(n.rowspacing||(n.rowspacing=this.dimen2em(r[0]));r.length<n.table.length;)r.push(this.Em(n.rowspacing));r[n.table.length-1]=this.Em(Math.max(0,n.rowspacing+this.dimen2em(s))),n.arraydef.rowspacing=r.join(" ")}}else s&&this.Push(i.mspace().With({depth:s})),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 s=i.arraydef.rowlines?i.arraydef.rowlines.split(/ /):[];s.length<i.table.length;)s.push("none");s[i.table.length-1]=a,i.arraydef.rowlines=s.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 s=this.envFindName(a);s||t.Error(["UnknownEnv","Unknown environment '%1'",a]),n(s)||(s=[s]);var r=n(s[1])?s[1][0]:s[1],l=o.begin().With({name:a,end:r,parse:this});"\\end"===e?l=!i&&n(s[1])&&this[s[1][1]]?this[s[1][1]].apply(this,[l].concat(s.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?"]),s[0]&&this[s[0]]&&(l=this[s[0]].apply(this,[l].concat(s.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,s,n,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 d=o.array().With({arraydef:{columnalign:i,columnspacing:s||"1em",rowspacing:n||"4pt"}});return h.match(/[|:]/)&&(h.charAt(0).match(/[|:]/)&&(d.frame.push("left"),d.frame.dashed=":"===h.charAt(0)),h.charAt(h.length-1).match(/[|:]/)&&d.frame.push("right"),h=h.substr(1,h.length-2),d.arraydef.columnlines=h.split("").join(" ").replace(/[^|: ]/g,"none").replace(/\|/g,"solid").replace(/:/g,"dashed")),e&&(d.open=this.convertDelimiter(e)),a&&(d.close=this.convertDelimiter(a)),"D"===r?d.arraydef.displaystyle=!0:r&&(d.arraydef.displaystyle=!1),"S"===r&&(d.arraydef.scriptlevel=1),l&&(d.arraydef.useHeight=!1),this.Push(t),d},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:(n(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,s=1;this.i<this.string.length;)switch(this.string.charAt(this.i++)){case"\\":this.i++;break;case"{":s++;break;case"}":if(0==--s)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,s=0;this.i<this.string.length;)switch(this.string.charAt(this.i++)){case"{":s++;break;case"\\":this.i++;break;case"}":s--<=0&&t.Error(["ExtraCloseLooking","Extra close brace while looking for %1","']'"]);break;case"]":if(0==s)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,s,n=this.i,r=0;this.i<this.string.length;){switch(i=this.i,s=this.string.charAt(this.i++)){case"\\":s+=this.GetCS();break;case"{":r++;break;case"}":0==r&&t.Error(["ExtraCloseLooking","Extra close brace while looking for %1",a]),r--}if(0==r&&s==a)return this.string.slice(n,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 s,n=this.stack.env.font?{mathvariant:this.stack.env.font}:{},r=[],o=0,l=0,h="",d=0;if(e.match(/\\?[${}\\]|\\\(|\\(eq)?ref\s*\{/)){for(;o<e.length;)if("$"===(s=e.charAt(o++)))"$"===h&&0===d?(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),n)),h="$",l=o);else if("{"===s&&""!==h)d++;else if("}"===s)"}"===h&&0===d?(r.push(i.TeXAtom(t.Parse(e.slice(l,o),{}).mml().With(n))),h="",l=o):""!==h&&d&&d--;else if("\\"===s)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),n)),h="}",l=o-1,o+=c}else"("===(s=e.charAt(o++))&&""===h?(l<o-2&&r.push(this.InternalText(e.slice(l,o-2),n)),h=")",l=o):")"===s&&")"===h&&0===d?(r.push(i.TeXAtom(t.Parse(e.slice(l,o-2),{}).mml())),h="",l=o):s.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),n)),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,s="",n="",r=0;r<a.length;)"\\"===(i=a.charAt(r++))?s+=i+a.charAt(r++):"#"===i?"#"===(i=a.charAt(r++))?s+=i:((!i.match(/[1-9]/)||i>e.length)&&t.Error(["IllegalMacroParam","Illegal macro parameter reference"]),n=this.AddArgs(this.AddArgs(n,s),e[i-1]),s=""):s+=i;return this.AddArgs(n,s)},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 inf"],limsup:["NamedOp","lim 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,s=!1,n=MathJax.HTML.getScript(e),r=null!=e.type.replace(/\n/g," ").match(/(;|\s|\n)mode\s*=\s*display(;|\s|\n|$)/),o={math:n,display:r,script:e},l=this.prefilterHooks.Execute(o);if(l)return l;n=o.math;try{a=t.Parse(n).mml()}catch(t){if(!t.texError)throw t;a=this.formatError(t,n,r,e),s=!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"),s&&(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,s,n){var r=t.message.replace(/\n.*/,"");return e.signal.Post(["TeX Jax - parse error",r,a,s,n]),i.Error(r)},Error:function(t){throw n(t)&&(t=s.apply(s,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 s=i.mrow().With({open:t,close:a,texClass:i.TEXCLASS.INNER});return s.Append(i.mo(t).With({fence:!0,stretchy:!0,symmetric:!0,texClass:i.TEXCLASS.OPEN})),"mrow"===e.type&&e.inferred?s.Append.apply(s,e.data):s.Append(e),s.Append(i.mo(a).With({fence:!0,stretchy:!0,symmetric:!0,texClass:i.TEXCLASS.CLOSE})),s},fixedFence:function(t,e,a){var s=i.mrow().With({open:t,close:a,texClass:i.TEXCLASS.ORD});return t&&s.Append(this.mathPalette(t,"l")),"mrow"===e.type?s.Append.apply(s,e.data):s.Append(e),a&&s.Append(this.mathPalette(a,"r")),s},mathPalette:function(e,a){"{"!==e&&"}"!==e||(e="\\"+e);var i="{\\bigg"+a+" "+e+"}",s="{\\big"+a+" "+e+"}";return t.Parse("\\mathchoice"+i+s+s+s,{}).mml()},combineRelations:function(t){var e,a,s,n;for(e=0,a=t.data.length;e<a;e++)if(t.data[e]){if(t.isa(i.mrow))for(;e+1<a&&(s=t.data[e])&&(n=t.data[e+1])&&s.isa(i.mo)&&n.isa(i.mo)&&s.Get("texClass")===i.TEXCLASS.REL&&n.Get("texClass")===i.TEXCLASS.REL;)s.variantForm!=n.variantForm||s.Get("mathvariant")!=n.Get("mathvariant")||s.style!=n.style||s.class!=n.class||s.id||n.id?(s.rspace=n.lspace="0pt",e++):(s.Append.apply(s,n.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,s=e.Stack.Item,n=e.config.equationNumbers,r=function(t){for(var a=[],i=0,s=t.length;i<s;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 lim"],projlim:["NamedOp","proj 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(),s=this.trimSpaces(this.GetArgument(a)),r=s;i||(s=n.formatTag(s));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(s)).With({id:n.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,s=this.GetArgument(t);""!==s&&(a.refUpdate||(i.label&&e.Error(["MultipleCommand","Multiple %1",t]),i.label=s,(a.labels[s]||a.eqlabels[s])&&e.Error(["MultipleLabel","Label '%1' multiply defined",s]),a.eqlabels[s]={tag:"???",id:""}))},HandleRef:function(e,i){var s=this.GetArgument(e),r=a.labels[s]||a.eqlabels[s];r||(r={tag:"???",id:""},a.badref=!a.refUpdate);var l=r.tag;i&&(l=n.formatTag(l)),this.Push(t.mrow.apply(t,this.InternalMath(l)).With({href:n.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,"")),s=this.GetArgument(a),n=this.GetArgument(a),r=t.mfrac(e.Parse("\\strut\\textstyle{"+s+"}",this.stack.env).mml(),e.Parse("\\strut\\textstyle{"+n+"}",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,s,n,r){null==i&&(i=this.GetDelimiterArg(a)),null==s&&(s=this.GetDelimiterArg(a)),null==n&&(n=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(""!==n&&(h.linethickness=n),(i||s)&&(h=e.fixedFence(i,h.With({texWithDelims:!0}),s)),""!==r){var d=["D","T","S","SS"][r];null==d&&e.Error(["BadMathStyleFor","Bad math style for %1",a]),h=t.mstyle(h),"D"===d?(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(),s.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,n,r){return this.Push(t),i&&this.checkEqnEnv(),n=(n=n.replace(/[^clr]/g,"").split("").join(" ")).replace(/l/g,"left").replace(/r/g,"right").replace(/c/g,"center"),s.AMSarray(t.name,a,i,this.stack).With({arraydef:{displaystyle:!0,rowspacing:".5em",columnalign:n,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 s,n,r="",o=[];for(i||(n=this.GetBrackets("\\begin{"+t.name+"}")),(s=this.GetArgument("\\begin{"+t.name+"}")).match(/[^0-9]/)&&e.Error(["PositiveIntegerArg","Argument to %1 must me a positive integer","\\begin{"+t.name+"}"]);s>0;)r+="rl",o.push("0em 0em"),s--;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,n)},EquationBegin:function(t,e){return this.checkEqnEnv(),this.stack.global.forcetag=e&&"none"!==n.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,s,n){var r={width:"+"+(s+n)+"mu",lspace:s+"mu"},o=this.GetBrackets(a),l=this.ParseArg(a),h=t.mo(t.chars(String.fromCharCode(i))).With({stretchy:!0,texClass:t.TEXCLASS.REL}),d=t.munderover(h);d.SetData(d.over,t.mpadded(l).With(r).With({voffset:".15em"})),o&&(o=e.Parse(o,this.stack.env).mml(),d.SetData(d.under,t.mpadded(o).With(r).With({voffset:"-.24em"}))),this.Push(d.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}}),s.Augment({autoTag:function(){var i=this.global;if(!i.notag){a.number++,i.tagID=n.formatNumber(a.number.toString());var s=e.Parse("\\text{"+n.formatTag(i.tagID)+"}",{}).mml();i.tag=t.mtd(s).With({id:n.formatID(i.tagID)})}},getTag:function(){var t=this.global,e=t.tag;if(t.tagged=!0,t.label&&(n.useLabelIds&&(e.id=n.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,s=0;do{s++,i=e.id+"_"+s}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}}}),s.multline=s.array.Subclass({type:"multline",Init:function(t,e){this.SUPER(arguments).Init.apply(this),this.numbered=t&&"none"!==n.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 s=e===i?t.mlabeledtr:t.mtr;this.table[e]=s.apply(t,this.table[e])}}this.global.notag=this.save.notag}}),s.AMSarray=s.array.Subclass({type:"AMSarray",Init:function(t,e,a,i){this.SUPER(arguments).Init.apply(this),this.numbered=e&&"none"!==n.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}}),s.start.Augment({oldCheckItem:s.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"!==n.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 s.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 s=i.getElementsByTagName("parsererror")[0];if(s&&t.Error(["ParsingError","Error parsing MathML: %1",s.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 n=i.getElementsByTagName("h1")[0];n&&"XML parsing error"===n.textContent&&n.nextSibling&&t.Error(["ParsingError","Error parsing MathML: %1",String(n.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 s,n=String(e.getAttribute("class")||""),r=e.nodeName.toLowerCase().replace(/^[a-z]+:/,""),o=n.match(/(^| )MJX-TeXAtom-([^ ]*)/);if(o)s=this.TeXAtom(o[2],"OP"===o[2]&&!n.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));s=a[r]()}return this.AddAttributes(s,e),this.CheckClass(s,s.class),this.AddChildren(s,e),t.config.useMathMLspacing&&(s.useMMLspacing=8),s},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=[],s=0,n=(e=(e||"").split(/ /)).length;s<n;s++)"MJX-"===e[s].substr(0,4)?"MJX-arrow"===e[s]?t.notation.match("/"+a.NOTATION.UPDIAGONALARROW+"/")||(t.notation+=" "+a.NOTATION.UPDIAGONALARROW):"MJX-variant"===e[s]?(t.variantForm=!0,MathJax.Extension["TeX/AMSsymbols"]||MathJax.Hub.RestartAfter(MathJax.Ajax.Require("[MathJax]/extensions/TeX/AMSsymbols.js"))):"MJX-TeXAtom"!==e[s].substr(0,11)&&(t.mathvariant=e[s].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[s]);i.length?t.class=i.join(" "):delete t.class},AddAttributes:function(t,e){t.attr={},t.attrNames=[];for(var i=0,s=e.attributes.length;i<s;i++){var n=e.attributes[i].name;if("xlink:href"==n&&(n="href"),!n.match(/:/)&&!n.match(/^_moz-math-((column|row)(align|line)|font-style)$/)){var r=e.attributes[i].value;r=this.filterAttribute(n,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[n]&&o[n]!==a.INHERIT&&"math"!==t.type&&"mstyle"!==t.type&&(o[n]!==a.AUTO||null!=t.defaultDef&&"boolean"!=typeof t.defaultDef[n])||(r="true"===l),null!=o[n]||a.copyAttributes[n]?t[n]=r:t.attr[n]=r,t.attrNames.push(n)}}}},filterAttribute:function(t,e){return e},AddChildren:function(e,i){for(var s=0,n=i.childNodes.length;s<n;s++){var r=i.childNodes[s];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],d=e.data[e.data.length-1];"mo"===h.type&&h.Get("fence")&&"mo"===d.type&&d.Get("fence")&&(h.data[0]&&(e.open=h.data.join("")),d.data[0]&&(e.close=d.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(),s=a.match(/^[a-zA-Z](fr|scr|opf)$/);return s&&(i=s[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 s,n,r={script:i};i.firstChild&&"math"===i.firstChild.nodeName.toLowerCase().replace(/^[a-z]+:/,"")?r.math=i.firstChild:(n=MathJax.HTML.getScript(i),e.isMSIE&&(n=n.replace(/( )+$/,"")),r.math=n);var o=this.prefilterHooks.Execute(r);if(o)return o;n=r.math;try{s=t.Parse(n,i).mml}catch(t){if(!t.mathmlError)throw t;s=this.formatError(t,n,i)}return r.math=a(s),this.postfilterHooks.Execute(r)||r.math},prefilterMath:function(t,e){return t},prefilterMathML:function(t,e){return t},formatError:function(t,e,i){var s=t.message.replace(/\n.*/,"");return MathJax.Hub.signal.Post(["MathML Jax - parse error",s,e,i]),a.Error(s)},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,e,a,i){var s,n,r,o,l,h=e.Browser.isMSIE;e.Register.StartupHook("MathZoom Ready",(function(){l=MathJax.Extension.MathZoom}));var d=function(t,e){var a=i.Element("span");t="padding"+t,e&&(a.style.cssText=e.getAttribute("style")||"",""===a.style.padding&&""===(a.style[t]||"")&&(a.style[t]="0px",e.setAttribute("style",a.style.cssText)))},c=function(t,e,a){if(t){var s=i.Element("span");if(s.style.cssText=t.getAttribute("style")||"",""===s.style.padding){var n={paddingLeft:a,paddingTop:e,paddingRight:"0px",paddingBottom:"0px"};for(var r in n)n.hasOwnProperty(r)&&""===(s.style[r]||"")&&(s.style[r]=n[r])}t.setAttribute("style",s.style.cssText)}};t.Augment({config:{styles:{".MathJax_MathML":{"font-style":"normal","font-weight":"normal","line-height":"normal","font-size":"100%","font-size-adjust":"none","text-indent":0,"text-align":"left","text-transform":"none","letter-spacing":"normal","word-spacing":"normal","word-wrap":"normal","white-space":"nowrap",float:"none",direction:"ltr","max-width":"none","max-height":"none","min-width":0,"min-height":0,border:0,padding:0,margin:0},"span.MathJax_MathML":{display:"inline!important"},"div.MathJax_MathML":{display:"block!important"},".MathJax_mmlExBox":{display:"block!important",overflow:"hidden",height:"1px",width:"60ex","min-height":0,"max-height":"none",padding:0,border:0,margin:0}}},handlesVariants:!1,settings:e.config.menuSettings,ex:1,scale:1,adjustWidths:[],Config:function(){if(this.SUPER(arguments).Config.call(this),this.settings.scale&&(this.config.scale=this.settings.scale),"center"!==e.config.displayAlign){var t=e.config.displayAlign,a=e.config.displayIndent,i={"text-align":t+"!important"};i["margin-"+t]=a+"!important",e.Insert(this.config.styles,{"div.MathJax_MathML":i,"div.MathJax_MathML math":{"text-align":t},"div.MathJax_MathContainer > span":{"text-align":t+"!important"}})}this.require||(this.require=[]),this.require.push(MathJax.OutputJax.extensionDir+"/MathEvents.js")},Startup:function(){return n=MathJax.Extension.MathEvents.Event,r=MathJax.Extension.MathEvents.Touch,o=MathJax.Extension.MathEvents.Hover,this.ContextMenu=n.ContextMenu,this.Mousedown=n.AltContextMenu,this.Mouseover=o.Mouseover,this.Mouseout=o.Mouseout,this.Mousemove=o.Mousemove,e.Browser.hasMathPlayer||(this.EmExSpan=i.Element("span",{style:{position:"absolute","font-size-adjust":"none"}},[["div",{className:"MathJax_mmlExBox"}],["span",{className:"MathJax_MathML"}]]),s.math(s.mspace().With({width:"60ex"})).toNativeMML(this.EmExSpan.lastChild)),a.Styles(this.config.styles)},InitializeMML:function(){if(this.initialized=!0,e.Browser.hasMathPlayer)try{if(!e.Browser.mpNamespace){var t=document.createElement("object");t.id="mathplayer",t.classid="clsid:32F66A20-7614-11D4-BD11-00104BD3F987",document.getElementsByTagName("head")[0].appendChild(t),document.namespaces.add("m","http://www.w3.org/1998/Math/MathML"),e.Browser.mpNamespace=!0}e.Browser.mpImported||(document.namespaces.m.doImport("#mathplayer"),e.Browser.mpImported=!0)}catch(t){this.config.noMathPlayerWarning||alert(MathJax.Localization._(["MathML","MathPlayer"],"MathJax was not able to set up MathPlayer.\n\nIf MathPlayer is not installed, you need to install it first.\nOtherwise, your security settings may be preventing ActiveX \ncontrols from running. Use the Internet Options item under\nthe Tools menu and select the Security tab, then press the\nCustom Level button. Check that the settings for\n'Run ActiveX Controls', and 'Binary and script behaviors'\nare enabled.\n\nCurrently you will see error messages rather than\ntypeset mathematics."))}else document.body.appendChild(this.EmExSpan),this.defaultEx=this.EmExSpan.firstChild.offsetWidth/60,this.defaultMEx=this.EmExSpan.lastChild.offsetWidth/60,document.body.removeChild(this.EmExSpan)},preTranslate:function(t){var e,a,s,n,r,o,l,d,c,u,m=t.jax[this.id],p=m.length;for(e=0;e<p;e++)if((a=m[e]).parentNode&&(this.initialized||this.InitializeMML(),(s=a.previousSibling)&&"MathJax_MathML"===s.className&&s.parentNode.removeChild(s),l=a.MathJax.elementJax)){o=l.root,l.NativeMML={};var f="block"===o.Get("display")?"div":"span";n=i.Element(f,{className:"MathJax_MathML",id:l.inputID+"-Frame"},[["span",{className:"MathJax_MathContainer",isMathJax:!0,jaxID:this.id,style:{position:"relative",display:"inline-block","white-space":"nowrap"}},[["span",{isMathJax:!0,style:{display:"inline-block"}}]]]]),a.parentNode.insertBefore(n,a),h||a.parentNode.insertBefore(this.EmExSpan.cloneNode(!0),a)}for(e=0;e<p;e++)(a=m[e]).parentNode&&(l=a.MathJax.elementJax)&&(h?u=100:(d=(r=a.previousSibling).firstChild.offsetWidth/60,c=r.lastChild.offsetWidth/60,0!==d&&"NaN"!==d||(d=this.defaultEx,c=this.defaultMEx),u=this.config.matchFontHeight&&c>1?d/c:1,u=Math.floor(Math.max(this.config.minScaleAdjust/100,u)*this.config.scale),l.NativeMML.ex=d,l.NativeMML.mex=c),l.NativeMML.fontSize=u+"%",l.NativeMML.scale=u/100);if(!h)for(e=0;e<p;e++)(a=m[e]).parentNode&&a.MathJax.elementJax&&a.parentNode.removeChild(a.previousSibling)},Translate:function(t){if(t.parentNode){var a=t.MathJax.elementJax,i=a.root,s=document.getElementById(a.inputID+"-Frame");if(s){var o=s.firstChild,l=o.firstChild;this.ex=a.NativeMML.ex||this.defaultEx,this.scale=a.NativeMML.scale||1,1!==this.scale&&(s.style.fontSize=a.NativeMML.fontSize);try{i.toNativeMML(l,a)}catch(t){if(t.restart)for(;l.firstChild;)l.removeChild(l.firstChild);throw t}if(h)if(o.addEventListener)for(var d in this.MSIE9events)this.MSIE9events.hasOwnProperty(d)&&o.addEventListener(d,this.MSIE9event,!0);else!(null!=this.config.showMathMenuMSIE?this:e).config.showMathMenuMSIE||this.settings.mpContext||this.settings.mpMouse?(o.style.position="",l.firstChild.onmousedown=this.MSIEaltMenu):this.MSIEoverlay(o);else o.oncontextmenu=n.Menu,o.onmouseover=n.Mouseover,o.onmouseout=n.Mouseout,o.onmousedown=n.Mousedown,o.onclick=n.Click,o.ondblclick=n.DblClick,o.onkeydown=n.Keydown,o.tabIndex=e.getTabOrder(a),e.Browser.noContextMenu&&(o.ontouchstart=r.start,o.ontouchend=r.end)}}},postTranslate:function(t){if(this.forceReflow){var e=(document.styleSheets||[])[0]||{};e.disabled=!0,e.disabled=!1}},Remove:function(t){var e=t.SourceElement();e&&(e=e.previousSibling)&&e.className.match(/MathJax_MathML/)&&e.parentNode.removeChild(e)},MMLnamespace:"http://www.w3.org/1998/Math/MathML",isFullWidth:function(t){if(t){var e=t.getAttribute("width")||(String(t.getAttribute("style")).match(/(?:^| )width: *([^; ]*)/)||[])[1];if(e)return!!e.match(/%/);if(t.nodeName.match(/^(semantics|math|mstyle)$/))e=this.isFullWidth(t.firstChild);else if("mrow"===t.nodeName.toLowerCase())for(var a=0,i=t.childNodes.length;a<i&&!e;a++)e=this.isFullWidth(t.childNodes[a]);if(e){var s="width:100%; "+(t.getAttribute("style")||"");t.setAttribute("style",s.replace(/ +$/,""))}return e}},MSIEoverlay:function(t){var a=t.firstChild;"span"===a.nodeName.toLowerCase()&&(a=a.firstChild);var s=this.getHoverBBox(null,a,{});i.addElement(t,"span",{style:{display:"inline-block",width:0,height:0,position:"relative"}},[["span",{isMathJax:!0,className:"MathJax_MathPlayer_Overlay",style:{display:"inline-block",position:"absolute",left:o.Px(-s.w),top:o.Px(-s.h-(s.y||0)-1),width:o.Px(s.w),height:o.Px(s.h+s.d),cursor:"pointer","background-color":"white",filter:"alpha(opacity=0)"}}]]),e.Insert(t,{msieMath:a,onmousedown:this.MSIEevent,oncontextmenu:this.MSIEevent,onclick:this.MSIEevent,onmouseup:this.MSIEevent,onmousemove:this.MSIEevent,ondblclick:this.MSIEevent,onmouseover:this.MSIEevent,onmouseout:this.MSIEevent})},MSIEevents:{mousedown:"Mousedown",contextmenu:"ContextMenu",click:"Click",mouseup:"Mouseup",mousemove:"Mousemove",dblclick:"DblClick",mouseover:"Mouseover",mouseout:"Mouseout"},MSIEevent:function(){var e=window.event,a=t.MSIEevents[e.type];return(!t[a]||!1!==t[a](e,this))&&(!l||!1!==l.HandleEvent(e,a,this))&&("MathJax_MathPlayer_Overlay"===e.srcElement.className&&this.msieMath.fireEvent&&("ContextMenu"!==a&&"Mouseover"!==a&&"Mouseout"!==a||this.msieMath.fireEvent("on"+e.type,e)),n.False(e))},MSIEaltMenu:function(){for(var t=this.parentNode.parentNode;!t.jaxID;)t=t.parentNode;n.AltContextMenu(window.event,t)},MSIE9events:{contextmenu:"Menu",click:"Click",dblclick:"DblClick",mouseup:"False",mouseover:"Mouseover",mouseout:"Mouseout"},MSIE9event:function(e){if("contextmenu"===e.type&&t.settings.mpContext)return!0;if("mouseup"===e.type&&t.settings.mpMouse)return!0;if("click"===e.type&&t.settings.mpContext)return n.AltContextMenu(e,this);var a=t.MSIE9events[e.type];return n[a].call(this,e)},getJaxFromMath:function(t){t=t.parentNode;do{t=t.nextSibling}while(t&&"script"!==t.nodeName.toLowerCase());return e.getJaxFor(t)},getHoverSpan:function(t,e){return e.firstChild},getHoverBBox:function(t,e,a){return n.getBBox(e.parentNode)},Zoom:function(e,a,i,s,r){e.root.toNativeMML(a),this.msieIE8HeightBug&&(a.style.position="absolute"),t.widthBug&&(a.style.width=a.parentNode.style.width=""),a.parentNode.style.width.match(/%$/)&&(a.parentNode.style.minWidth=Math.ceil(3*r/4)+"px");var o=i.offsetWidth||i.scrollWidth,l=i.offsetHeight||i.scrollHeight,h=a.offsetWidth,d=a.offsetHeight;if(t.widthBug||a.style.width.match(/%/)){var c=a.firstChild.firstChild.scrollWidth;c>h&&(h=c,a.parentNode.style.width=a.style.minWidth=h+"px")}return this.msieIE8HeightBug&&(a.style.position=""),{Y:-n.getBBox(a.parentNode).h,mW:o,mH:l,zW:h,zH:d}},NAMEDSPACE:{negativeveryverythinmathspace:"-.0556em",negativeverythinmathspace:"-.1111em",negativethinmathspace:"-.1667em",negativemediummathspace:"-.2222em",negativethickmathspace:"-.2778em",negativeverythickmathspace:"-.3333em",negativeveryverythickmathspace:"-.3889em",veryverythinmathspace:".0556em",verythinmathspace:".1111em",thinmathspace:".1667em",mediummathspace:".2222em",thickmathspace:".2778em",verythickmathspace:".3333em",veryverythickmathspace:".3889em"}}),e.Register.StartupHook("mml Jax Ready",(function(){if((s=MathJax.ElementJax.mml).mbase.Augment({toNativeMML:function(t){var e=this.NativeMMLelement(this.type);this.NativeMMLattributes(e);for(var a=0,i=this.data.length;a<i;a++)this.data[a]?this.data[a].toNativeMML(e):e.appendChild(this.NativeMMLelement("mrow"));t.appendChild(e)},NativeMMLattributes:function(t){var e="mstyle"===this.type?s.math.prototype.defaults:this.defaults,a=this.attrNames||s.copyAttributeNames,i=s.skipAttributes,n=s.copyAttributes;if(!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]&&t.setAttribute(r,this.NativeMMLattribute(this[r]));for(var o=0,l=a.length;o<l;o++)if(1!==n[a[o]]||e.hasOwnProperty(a[o])){var h=(this.attr||{})[a[o]];null==h&&(h=this[a[o]]),null!=h&&t.setAttribute(a[o],this.NativeMMLattribute(h))}this.NativeMMLclass(t)},NativeMMLclass:function(t){var e=[];if(this.class&&e.push(this.class),this.isa(s.TeXAtom)){var a=["ORD","OP","BIN","REL","OPEN","CLOSE","PUNCT","INNER","VCENTER"][this.texClass];a&&(e.push("MJX-TeXAtom-"+a),"OP"!==a||this.movablelimits||e.push("MJX-fixedlimits"))}this.mathvariant&&this.NativeMMLvariants[this.mathvariant]&&e.push("MJX"+this.mathvariant),this.variantForm&&e.push("MJX-variant"),e.length&&t.setAttribute("class",e.join(" "))},NativeMMLattribute:function(e){return e=String(e),t.NAMEDSPACE[e]?e=t.NAMEDSPACE[e]:e.match(/^\s*(([-+])?(\d+(\.\d*)?|\.\d+))\s*mu\s*$/)?e=(RegExp.$2||"")+(1/18*RegExp.$3).toFixed(3).replace(/\.?0+$/,"")+"em":this.NativeMMLvariants[e]&&(e=this.NativeMMLvariants[e]),e},NativeMMLvariants:{"-tex-caligraphic":s.VARIANT.SCRIPT,"-tex-caligraphic-bold":s.VARIANT.BOLDSCRIPT,"-tex-oldstyle":s.VARIANT.NORMAL,"-tex-oldstyle-bold":s.VARIANT.BOLD,"-tex-mathit":s.VARIANT.ITALIC},NativeMMLelement:function(a){var i=e.Browser.mpNamespace?document.createElement("m:"+a):document.createElementNS?document.createElementNS(t.MMLnamespace,a):document.createElement(a);return i.isMathJax=!0,i}}),s.mrow.Augment({toNativeMML:function(e){var a,i;if(this.inferred&&this.parent.inferRow)for(a=0,i=this.data.length;a<i;a++)this.data[a]?this.data[a].toNativeMML(e):e.appendChild(this.NativeMMLelement("mrow"));else if(t.stretchyMoBug&&(this.open||this.close)){var s=this.NativeMMLelement("mfenced");this.NativeMMLattributes(s),a=0,i=this.data.length,this.open&&(s.setAttribute("open",this.open),a++),this.close&&(s.setAttribute("close",this.close),i--);var n=s;for(i-a+1>1&&(n=this.NativeMMLelement("mrow"),e.appendChild(s),e=s);a<i;a++)this.data[a]?this.data[a].toNativeMML(n):n.appendChild(this.NativeMMLelement("mrow"));e.appendChild(n)}else this.SUPER(arguments).toNativeMML.call(this,e)}}),s.msubsup.Augment({toNativeMML:function(t){var e=this.type;null==this.data[this.sup]&&(e="msub"),null==this.data[this.sub]&&(e="msup");var a=this.NativeMMLelement(e);this.NativeMMLattributes(a),this.data[0]&&delete this.data[0].inferred;for(var i=0,s=this.data.length;i<s;i++)this.data[i]&&this.data[i].toNativeMML(a);t.appendChild(a)}}),s.munderover.Augment({toNativeMML:function(t){var e=this.type,a=this.data[this.base];a&&a.isa(s.TeXAtom)&&a.movablelimits&&!a.Get("displaystyle")?(e="msubsup",null==this.data[this.under]&&(e="msup"),null==this.data[this.over]&&(e="msub")):(null==this.data[this.under]&&(e="mover"),null==this.data[this.over]&&(e="munder"));var i=this.NativeMMLelement(e);this.NativeMMLattributes(i),this.data[0]&&delete this.data[0].inferred;for(var n=0,r=this.data.length;n<r;n++)this.data[n]&&this.data[n].toNativeMML(i);t.appendChild(i)}}),!h){var n=e.SplitList;s.mtable.Augment({toNativeMML:function(a){var i,r;if(t.tableSpacingBug){var o=this.getValues("rowspacing","columnspacing");this.nMMLtopPadding=n("0px "+o.rowspacing),this.nMMLleftPadding=n("0px "+o.columnspacing);var l=this.nMMLtopPadding,h=l.length;for(i=0,r=this.data.length;i<r;i++)this.data[i]&&(this.data[i].nMMLtopPadding=l[i<h?i:h-1])}if(t.tableLabelBug)for(i=0,r=this.data.length;i<r;i++)if(this.data[i]&&this.data[i].isa(s.mlabeledtr)){var d=e.config.displayAlign.charAt(0),c=this.Get("side").charAt(0);this.nMMLhasLabels=!0,this.nMMLlaMatch=d===c,this.nMMLforceWidth="c"===d||!!(this.width||"").match("%");break}if(this.width&&this.ffTableWidthBug){var u=(this.style||"").replace(/;\s*$/,"").split(";");""===u[0]&&u.shift(),u.push("width:"+this.width),this.style=u.join(";")}if(this.SUPER(arguments).toNativeMML.call(this,a),this.nMMLhasLabels){var m=a.firstChild;if(this.nMMLforceWidth||"r"!==c){var p=("l"!==d?1:0)+("l"===c?1:0);if(p){var f={columnalign:"left",columnwidth:"auto",columnspacing:"0px",columnlines:"none"};for(var M in f)if(f.hasOwnProperty(M)&&this[M]){var g=[f[M],f[M]].slice(2-p).join(" ")+" ";m.setAttribute(M,g+m.getAttribute(M))}}}!this.nMMLforceWidth&&this.nMMLlaMatch||m.setAttribute("width","100%")}}}),s.mtr.Augment({toNativeMML:function(a){this.SUPER(arguments).toNativeMML.call(this,a);var i=a.lastChild;if(t.tableSpacingBug)for(var s=this.parent.nMMLleftPadding,n=s.length,r=i.firstChild,o=0;r;r=r.nextSibling,o++)c(r,this.nMMLtopPadding,s[o<n?o:n-1]);if(t.tableLabelBug){var l=this.parent.nMMLforceWidth,h=this.parent.Get("side").charAt(0),u=e.config.displayAlign.charAt(0);this.parent.nMMLhasLabels&&i.firstChild&&((l||"r"!==h)&&(d("Left",i.firstChild),"l"!==u&&i.insertBefore(this.NativeMMLelement("mtd"),i.firstChild).setAttribute("style","padding:0"),"l"===h&&i.insertBefore(this.NativeMMLelement("mtd"),i.firstChild).setAttribute("style","padding:0")),(l||"l"!==h)&&d("Right",i.lastChild))}}}),s.mlabeledtr.Augment({toNativeMML:function(a){var i=this.NativeMMLelement("mtr");this.NativeMMLattributes(i);for(var s=1,n=this.data.length;s<n;s++)this.data[s]?this.data[s].toNativeMML(i):i.appendChild(this.NativeMMLelement("mtd"));if(t.tableSpacingBug){var r=this.parent.nMMLleftPadding,o=r.length;s=0;for(var l=i.firstChild;l;l=l.nextSibling,s++)c(l,this.nMMLtopPadding,r[s<o?s:o-1])}if(t.tableLabelBug&&this.data[0]){var h=this.parent.Get("side").charAt(0),u=e.config.displayAlign.charAt(0),m=e.config.displayIndent;this.data[0].toNativeMML(i);var p=i.lastChild,f=p;h===u?(p.setAttribute("style","width:"+m),p.setAttribute("columnalign",e.config.displayAlign)):((f=this.NativeMMLelement("mpadded")).setAttribute("style","width:0"),f.setAttribute("width","0px"),f.appendChild(p.firstChild),p.appendChild(f)),d("",p),i.removeChild(p);var M=100,g=this.parent.nMMLforceWidth;(this.parent.width||"").match(/%/)&&(M-=parseFloat(this.parent.width));var b=M;(g||"r"!==h)&&(d("Left",i.firstChild),"l"!==u&&("c"===u&&(b/=2),M-=b,i.insertBefore(this.NativeMMLelement("mtd"),i.firstChild).setAttribute("style","padding:0;width:"+b+"%")),"l"===h&&i.insertBefore(p,i.firstChild)),(g||"l"!==h)&&(d("Right",i.lastChild),"r"!==u&&i.appendChild(this.NativeMMLelement("mtd")).setAttribute("style","padding:0;width:"+M+"%"),"r"===h&&(h!==u&&f.setAttribute("lspace","-1width"),i.appendChild(p)))}a.appendChild(i)}}),s.mtd.Augment({toNativeMML:function(e){var a=e.appendChild(this.NativeMMLelement(this.type));this.NativeMMLattributes(a),t.mtdWidthBug&&(t.adjustWidths.push(a),a=a.appendChild(this.NativeMMLelement("mrow")));for(var i=0,s=this.data.length;i<s;i++)this.data[i]?this.data[i].toNativeMML(a):a.appendChild(this.NativeMMLelement("mrow"))}}),s.mspace.Augment({toNativeMML:function(e){if(this.SUPER(arguments).toNativeMML.call(this,e),t.spaceWidthBug&&this.width){var a=e.lastChild,i=a.getAttribute("width"),s=(a.getAttribute("style")||"").replace(/;?\s*/,"; ");a.setAttribute("style",s+"width:"+i)}}}),s.mn.Augment({NativeMMLremapMinus:function(t){return t.replace(/^-/,"−")},toNativeMML:function(t){var e=this.NativeMMLelement(this.type);this.NativeMMLattributes(e);for(var a=this.NativeMMLremapMinus,i=0,s=this.data.length;i<s;i++)this.data[i]&&(this.data[i].toNativeMML(e,a),a=null);t.appendChild(e)}});var r=a.fileURL(MathJax.OutputJax.fontDir+"/HTML-CSS/TeX/otf");t.Augment({config:{styles:{'[class="MJX-tex-oldstyle"]':{"font-family":"MathJax_Caligraphic, MathJax_Caligraphic-WEB"},'[class="MJX-tex-oldstyle-bold"]':{"font-family":"MathJax_Caligraphic, MathJax_Caligraphic-WEB","font-weight":"bold"},'[class="MJX-tex-caligraphic"]':{"font-family":"MathJax_Caligraphic, MathJax_Caligraphic-WEB"},'[class="MJX-tex-caligraphic-bold"]':{"font-family":"MathJax_Caligraphic, MathJax_Caligraphic-WEB","font-weight":"bold"},"@font-face /*1*/":{"font-family":"MathJax_Caligraphic-WEB",src:"url('"+r+"/MathJax_Caligraphic-Regular.otf')"},"@font-face /*2*/":{"font-family":"MathJax_Caligraphic-WEB","font-weight":"bold",src:"url('"+r+"/MathJax_Caligraphic-Bold.otf')"}}}}),this.handlesVariants||t.Augment({config:{styles:{'[mathvariant="double-struck"]':{"font-family":"MathJax_AMS, MathJax_AMS-WEB"},'[mathvariant="script"]':{"font-family":"MathJax_Script, MathJax_Script-WEB"},'[mathvariant="fraktur"]':{"font-family":"MathJax_Fraktur, MathJax_Fraktur-WEB"},'[mathvariant="bold-script"]':{"font-family":"MathJax_Script, MathJax_Caligraphic-WEB","font-weight":"bold"},'[mathvariant="bold-fraktur"]':{"font-family":"MathJax_Fraktur, MathJax_Fraktur-WEB","font-weight":"bold"},'[mathvariant="monospace"]':{"font-family":"monospace"},'[mathvariant="sans-serif"]':{"font-family":"sans-serif"},'[mathvariant="bold-sans-serif"]':{"font-family":"sans-serif","font-weight":"bold"},'[mathvariant="sans-serif-italic"]':{"font-family":"sans-serif","font-style":"italic"},'[mathvariant="sans-serif-bold-italic"]':{"font-family":"sans-serif","font-style":"italic","font-weight":"bold"},"@font-face /*3*/":{"font-family":"MathJax_AMS-WEB",src:"url('"+r+"/MathJax_AMS-Regular.otf')"},"@font-face /*4*/":{"font-family":"MathJax_Script-WEB",src:"url('"+r+"/MathJax_Script-Regular.otf')"},"@font-face /*5*/":{"font-family":"MathJax_Fraktur-WEB",src:"url('"+r+"/MathJax_Fraktur-Regular.otf')"},"@font-face /*6*/":{"font-family":"MathJax_Fraktur-WEB","font-weight":"bold",src:"url('"+r+"/MathJax_Fraktur-Bold.otf')"}}}})}s.math.Augment({toNativeMML:function(a,i){var s,n,r=this.NativeMMLelement(this.type),o=r,l=i?MathJax.InputJax[i.inputJax].annotationEncoding:null;if(t.adjustWidths=[],r.setAttribute("xmlns",t.MMLnamespace),this.NativeMMLattributes(r),t.widthBug&&(r=r.appendChild(this.NativeMMLelement("mrow"))),l){(r=r.appendChild(this.NativeMMLelement("semantics"))).appendChild(this.NativeMMLelement("mrow"));var h=r.appendChild(this.NativeMMLelement("annotation"));h.appendChild(document.createTextNode(i.originalText)),h.setAttribute("encoding",l),r=r.firstChild}for(s=0,n=this.data.length;s<n;s++)this.data[s]?this.data[s].toNativeMML(r):r.appendChild(this.NativeMMLelement("mrow"));var d=(this.data[0]||{data:[]}).data[0]||{};d.nMMLhasLabels&&(!d.nMMLforceWidth&&d.nMMLlaMatch||(r.setAttribute("style","width:100%"),l&&r.parentNode.setAttribute("style","width:100%")),d.nMMLlaMatch&&"div"===a.parentNode.parentNode.nodeName.toLowerCase()&&a.parentNode.parentNode.style.setProperty("margin-"+e.config.displayAlign,"0px","important"));var c=t.isFullWidth(o);if(c&&(a.style.width=a.parentNode.style.width="100%"),a.appendChild(o),t.widthBug&&!c&&(a.style.width=(o.firstChild.scrollWidth/t.ex/t.scale).toFixed(3)+"ex",i&&(i.NativeMML.scrollWidth=o.firstChild.scrollWidth)),t.adjustWidths.length){var u=[];for(s=0,n=t.adjustWidths.length;s<n;s++){var m=(r=t.adjustWidths[s]).getAttribute("style")||"";if(!m.match(/(^|;)\s*min-width:/)){var p=r.firstChild.scrollWidth;u.push(p),p=(p/t.ex).toFixed(3)+"ex",m=m.replace(/;?\s*$/,"; "),r.setAttribute("style",m+"min-width:"+p)}}i||(i=e.getJaxFor(a)),i&&(i.NativeMML.mtds=u),o.MathJaxMtds=t.adjustWidths,t.adjustWidths=[]}}}),s.mfenced.Augment({toNativeMML:function(a){if(t.mfencedBug){var i,s,n,r=e.Browser.isOpera,o=this.getValues("open","close","separators");if(o.open=o.open.replace(/^\s+/,"").replace(/\s+$/,""),o.close=o.close.replace(/^\s+/,"").replace(/\s+$/,""),o.separators=o.separators.replace(/\s+/g,"").split(""),0==o.separators.length)o.separators=null;else if(o.separators.length<this.data.length-1){var l=o.separators[o.separators.length-1];for(i=this.data.length-1-o.separators.length;i>0;i--)o.separators.push(l)}var h=this.NativeMMLelement(r?this.type:"mrow");for(this.NativeMMLattributes(h),h.removeAttribute("separators"),r?(h.setAttribute("open",o.open),h.setAttribute("close",o.close),this.data.length>1&&(a.appendChild(h),a=h,h=this.NativeMMLelement("mrow"))):(h.removeAttribute("open"),h.removeAttribute("close")),r||((n=this.NativeMMLelement("mo")).setAttribute("fence","true"),n.textContent=o.open,h.appendChild(n)),i=0,s=this.data.length;i<s;i++)o.separators&&i>0&&((n=this.NativeMMLelement("mo")).setAttribute("separator","true"),n.textContent=o.separators[i-1],h.appendChild(n)),this.data[i]?this.data[i].toNativeMML(h):h.appendChild(this.NativeMMLelement("mrow"));r||((n=this.NativeMMLelement("mo")).setAttribute("fence","true"),n.textContent=o.close,h.appendChild(n)),a.appendChild(h)}else this.SUPER(arguments).toNativeMML.call(this,a)}}),s.TeXAtom.Augment({toNativeMML:function(t){var e=this.NativeMMLelement("mrow");this.NativeMMLattributes(e),this.data[0].toNativeMML(e),t.appendChild(e)}}),s.chars.Augment({toNativeMML:function(t,e){var a=this.toString();e&&(a=e(a)),t.appendChild(document.createTextNode(a))}}),s.entity.Augment({toNativeMML:function(t){t.appendChild(document.createTextNode(this.toString()))}}),s.xml.Augment({toNativeMML:function(t){for(var e=0,a=this.data.length;e<a;e++)t.appendChild(this.data[e].cloneNode(!0))}}),s.mi.Augment({toNativeMML:function(e){if(this.SUPER(arguments).toNativeMML.call(this,e),t.miItalicBug&&this.Get("mathvariant")===s.VARIANT.NORMAL){var a=e.lastChild;a.setAttribute("mathvariant",s.VARIANT.NORMAL)}}}),s.mo.Augment({toNativeMML:function(e){if(this.SUPER(arguments).toNativeMML.call(this,e),t.webkitMoSpacingBug){var a=0,s=0,n=this.parent;if(n&&"mrow"===n.type&&(n.inferred||!n.isEmbellished())){var r=this.getValues("lspace","rspace");a=r.lspace,s=r.rspace,t.NAMEDSPACE[a]&&(a=t.NAMEDSPACE[a]),t.NAMEDSPACE[s]&&(s=t.NAMEDSPACE[s])}var o=e.lastChild,l=i.Element("span");l.style.cssText=o.getAttribute("style")||"",l.style.setProperty("-webkit-margin-start",a),l.style.setProperty("-webkit-margin-end",s),o.setAttribute("style",l.style.cssText)}}}),s.mmultiscripts.Augment({toNativeMML:function(e){if(t.mmultiscriptsBug&&0!==this.data.length){var a=this.NativeMMLelement("mrow");this.NativeMMLattributes(a),this.data[0]?this.data[0].toNativeMML(a):a.appendChild(this.NativeMMLelement("mrow"));var i,s,n=a.removeChild(a.lastChild),r=this.data.length;for(i=1;i<r&&"mprescripts"!==this.data[i].type;i+=2)(s=this.NativeMMLelement("msubsup")).appendChild(n),this.data[i]?this.data[i].toNativeMML(s):s.appendChild(this.NativeMMLelement("mrow")),i+1<r&&this.data[i+1]?this.data[i+1].toNativeMML(s):s.appendChild(this.NativeMMLelement("mrow")),n=s;for(a.appendChild(n),i++;i<r;i+=2)(s=this.NativeMMLelement("msubsup")).appendChild(this.NativeMMLelement("mrow")),this.data[i]?this.data[i].toNativeMML(s):s.appendChild(this.NativeMMLelement("mrow")),i+1<r&&this.data[i+1]?this.data[i+1].toNativeMML(s):s.appendChild(this.NativeMMLelement("mrow")),a.insertBefore(s,n);e.appendChild(a)}else this.SUPER(arguments).toNativeMML.call(this,e)}}),e.Register.StartupHook("TeX mathchoice Ready",(function(){s.TeXmathchoice.Augment({toNativeMML:function(t){this.Core().toNativeMML(t)}})})),setTimeout(MathJax.Callback(["loadComplete",t,"jax.js"]),0)})),e.Browser.Select({MSIE:function(e){var a=document.documentMode||0;t.msieIE8HeightBug=8===a},Opera:function(e){t.stretchyMoBug=!0,t.tableLabelBug=!0,t.mfencedBug=!0,t.miBug=!0,t.mmultiscriptsBug=!0},Firefox:function(e){var a=e.versionAtLeast("29.0");t.ffTableWidthBug=!e.versionAtLeast("13.0"),t.forceReflow=!a,t.widthBug=!a,t.mtdWidthBug=!0,t.handlesVariants=a,t.spaceWidthBug=!e.versionAtLeast("20.0"),t.tableSpacingBug=!e.versionAtLeast("33.0"),t.tableLabelBug=!0,t.mfencedBug=!0},Chrome:function(e){t.tableSpacingBug=!0,t.tableLabelBug=!0,t.mfencedBug=!0},Safari:function(e){t.tableSpacingBug=!0,t.tableLabelBug=!0,t.mfencedBug=!0,t.miItalicBug=!0,t.webkitMoSpacingBug=!0,t.spaceWidthBug=!0,t.mmultiscriptsBug=!0}}),e.Register.StartupHook("End Cookie",(function(){"None"!==e.config.menuSettings.zoom&&a.Require("[MathJax]/extensions/MathZoom.js")}))}(MathJax.OutputJax.NativeMML,MathJax.Hub,MathJax.Ajax,MathJax.HTML),function(t,e,a){var i,s,n,r,o=e.Browser.isMobile,l=MathJax.Object.isArray,h=function(){var t=[].slice.call(arguments,0);return t[0][0]=["HTML-CSS",t[0][0]],MathJax.Message.Set.apply(MathJax.Message,t)},d=MathJax.Object.Subclass({timeout:1e3*(o?15:8),comparisonFont:["sans-serif","monospace","script","Times","Courier","Arial","Helvetica"],testSize:["40px","50px","60px","30px","20px"],FedoraSTIXcheck:{family:"STIXSizeOneSym",testString:"abcABC",noStyleChar:!0},Init:function(){this.div=MathJax.HTML.addElement(document.body,"div",{style:{position:"absolute",width:0,height:0,overflow:"hidden",padding:0,border:0,margin:0}},[["div",{id:"MathJax_Font_Test",style:{position:"absolute",visibility:"hidden",top:0,left:0,width:"auto","min-width":0,"max-width":"none",padding:0,border:0,margin:0,whiteSpace:"nowrap",textAlign:"left",textIndent:0,textTransform:"none",lineHeight:"normal",letterSpacing:"normal",wordSpacing:"normal",fontSize:this.testSize[0],fontWeight:"normal",fontStyle:"normal",fontSizeAdjust:"none"}},[""]]]).firstChild,this.text=this.div.firstChild},findFont:function(t,e){var a=null;if(e&&this.testCollection(e))a=e;else for(var i=0,s=t.length;i<s;i++)if(t[i]!==e&&this.testCollection(t[i])){a=t[i];break}return"STIX"===a&&this.testFont(this.FedoraSTIXcheck)&&(a=null),a},testCollection:function(t){var e={testString:"() {} []"};return e.family={TeX:"MathJax_Size1",STIX:"STIXSizeOneSym"}[t]||t.replace(/-(Math)?/,"")+"MathJax_Size1","STIX"===t&&(e.noStyleChar=!0),this.testFont(e)},testFont:function(t){t.isWebFont&&a.FontFaceBug?this.div.style.fontWeight=this.div.style.fontStyle="normal":(this.div.style.fontWeight=t.weight||"normal",this.div.style.fontStyle=t.style||"normal");var e=t.familyFixed||t.family;t.isWebFont||e.match(/^(STIX|MathJax)|'/)||(e=e.replace(/_/g," ").replace(/([a-z])([A-Z])/g,"$1 $2").replace(/ Jax/,"Jax")+"','"+e+"','"+e+"-",t.weight&&(e+="Bold"),t.style&&(e+="Italic"),t.weight||t.style||(e+="Regular"),t.familyFixed=e="'"+e+"'");var i=this.getComparisonWidths(t.testString,t.noStyleChar),s=null;if(i&&(this.div.style.fontFamily=e+","+this.comparisonFont[0],this.div.offsetWidth==i[0]&&(this.div.style.fontFamily=e+","+this.comparisonFont[i[2]],this.div.offsetWidth==i[1]&&(s=!1)),null===s&&(this.div.offsetWidth!=i[3]||this.div.offsetHeight!=i[4])))if(!t.noStyleChar&&a.FONTDATA&&a.FONTDATA.hasStyleChar)for(var n=0,r=this.testSize.length;n<r;n++)this.testStyleChar(t,this.testSize[n])&&(s=!0,r=0);else s=!0;return a.safariTextNodeBug?this.div.innerHTML="":this.text.nodeValue="",s},styleChar:"",versionChar:"",compChar:"",testStyleChar:function(t,e){var i=3+(t.weight?2:0)+(t.style?4:0),s="",n=0,r=this.div.style.fontSize;this.div.style.fontSize=e,a.msieItalicWidthBug&&"italic"===t.style&&(this.text.nodeValue=s=this.compChar,n=this.div.offsetWidth),a.safariTextNodeBug?this.div.innerHTML=this.compChar+s:this.text.nodeValue=this.compChar+s;var o=this.div.offsetWidth-n;a.safariTextNodeBug?this.div.innerHTML=this.styleChar+s:this.text.nodeValue=this.styleChar+s;var l=Math.floor((this.div.offsetWidth-n)/o+.5);return l===i&&(a.safariTextNodeBug?this.div.innerHTML=this.versionChar+s:this.text.nodeValue=this.versionChar+s,t.version=Math.floor((this.div.offsetWidth-n)/o+1.5)/2),this.div.style.fontSize=r,l===i},getComparisonWidths:function(t,e){a.FONTDATA&&a.FONTDATA.hasStyleChar&&!e&&(t+=this.styleChar+" "+this.compChar),a.safariTextNodeBug?this.div.innerHTML=t:this.text.nodeValue=t,this.div.style.fontFamily=this.comparisonFont[0];var i=this.div.offsetWidth;this.div.style.fontFamily=a.webFontDefault;for(var s=this.div.offsetWidth,n=this.div.offsetHeight,r=1,o=this.comparisonFont.length;r<o;r++)if(this.div.style.fontFamily=this.comparisonFont[r],this.div.offsetWidth!=i)return[i,this.div.offsetWidth,r,s,n];return null},loadWebFont:function(i){e.Startup.signal.Post("HTML-CSS Jax - Web-Font "+a.fontInUse+"/"+i.directory);var s=h(["LoadWebFont","Loading web-font %1",a.fontInUse+"/"+i.directory]),n=MathJax.Callback({}),r=MathJax.Callback(["loadComplete",this,i,s,n]);return t.timer.start(t,[this.checkWebFont,i,r],0,this.timeout),n},loadComplete:function(i,s,n,r){if(MathJax.Message.Clear(s),r===t.STATUS.OK)return this.webFontLoaded=!0,void n();if(this.loadError(i),e.Browser.isFirefox&&a.allowWebFonts){var o=document.location.protocol+"//"+document.location.hostname;""!=document.location.port&&(o+=":"+document.location.port),o+="/",t.fileURL(a.webfontDir).substr(0,o.length)!==o&&this.firefoxFontError(i)}this.webFontLoaded?n():a.loadWebFontError(i,n)},loadError:function(t){h(["CantLoadWebFont","Can't load web font %1",a.fontInUse+"/"+t.directory],null,2e3),e.Startup.signal.Post("HTML-CSS Jax - web font error for "+a.fontInUse+"/"+t.directory)},firefoxFontError:function(t){h(["FirefoxCantLoadWebFont","Firefox can't load web fonts from a remote host"],null,3e3),e.Startup.signal.Post("HTML-CSS Jax - Firefox web fonts on remote host error")},checkWebFont:function(t,e,i){t.time(i)||(a.Font.testFont(e)?i(t.STATUS.OK):setTimeout(t,t.delay))},fontFace:function(e){var i=a.allowWebFonts,s=a.FONTDATA.FONTS[e];a.msieFontCSSBug&&!s.family.match(/-Web$/)&&(s.family+="-Web"),s.isWebFont&&delete s.familyFixed;var n=a.webfontDir+"/"+i,r=t.fileURL(n),o=e.replace(/-b/,"-B").replace(/-i/,"-I").replace(/-Bold-/,"-Bold");o.match(/-/)||(o+="-Regular"),o+="svg"===i?".svg#"+o:"."+i;var l=t.fileRev(n+"/"+o.replace(/#.*/,"")),h={"font-family":s.family,src:"url('"+r+"/"+o+l+"')"};return"otf"===i?(o=o.replace(/otf$/,"woff"),l=t.fileRev(n+"/"+o),h.src+=" format('opentype')",r=t.fileURL(a.webfontDir+"/woff"),h.src="url('"+r+"/"+o+l+"') format('woff'), "+h.src):"eot"!==i&&(h.src+=" format('"+i+"')"),a.FontFaceBug&&s.isWebFont||(e.match(/-bold/)&&(h["font-weight"]="bold"),e.match(/-italic/)&&(h["font-style"]="italic")),h}}),c=MathJax.Hub.Browser.isMSIE&&(document.documentMode||0)<8;a.Augment({config:{styles:{".MathJax":{display:"inline","font-style":"normal","font-weight":"normal","line-height":"normal","font-size":"100%","font-size-adjust":"none","text-indent":0,"text-align":"left","text-transform":"none","letter-spacing":"normal","word-spacing":"normal","word-wrap":"normal","white-space":"nowrap",float:"none",direction:"ltr","max-width":"none","max-height":"none","min-width":0,"min-height":0,border:0,padding:0,margin:0},".MathJax:focus, body :focus .MathJax":{display:"inline-table"},".MathJax_Display":{position:"relative",display:"block!important","text-indent":0,"max-width":"none","max-height":"none","min-width":0,"min-height":0,width:"100%"},".MathJax.MathJax_FullWidth":{"text-align":"center",display:(c?"block":"table-cell")+"!important",width:(c?"100%":"10000em")+"!important"},".MathJax img, .MathJax nobr, .MathJax a":{border:0,padding:0,margin:0,"max-width":"none","max-height":"none","min-width":0,"min-height":0,"vertical-align":0,"line-height":"normal","text-decoration":"none"},"img.MathJax_strut":{border:"0!important",padding:"0!important",margin:"0!important","vertical-align":"0!important"},".MathJax span":{display:"inline",position:"static",border:0,padding:0,margin:0,"vertical-align":0,"line-height":"normal","text-decoration":"none","box-sizing":"content-box"},".MathJax nobr":{"white-space":"nowrap!important"},".MathJax img":{display:"inline!important",float:"none!important"},".MathJax *":{transition:"none","-webkit-transition":"none","-moz-transition":"none","-ms-transition":"none","-o-transition":"none"},".MathJax_Processing":{visibility:"hidden",position:"fixed",width:0,height:0,overflow:"hidden"},".MathJax_Processed":{display:"none!important"},".MathJax_test":{"font-style":"normal","font-weight":"normal","font-size":"100%","font-size-adjust":"none","text-indent":0,"text-transform":"none","letter-spacing":"normal","word-spacing":"normal",overflow:"hidden",height:"1px"},".MathJax_test.mjx-test-display":{display:(c?"block":"table")+"!important"},".MathJax_test.mjx-test-inline":{display:"inline!important","margin-right":"-1px"},".MathJax_test.mjx-test-default":{display:"block!important",clear:"both"},".MathJax_ex_box":{display:"inline-block!important",position:"absolute",overflow:"hidden","min-height":0,"max-height":"none",padding:0,border:0,margin:0,width:"1px",height:"60ex"},".MathJax_em_box":{display:"inline-block!important",position:"absolute",overflow:"hidden","min-height":0,"max-height":"none",padding:0,border:0,margin:0,width:"1px",height:"60em"},".mjx-test-inline .MathJax_left_box":{display:"inline-block",width:0,float:"left"},".mjx-test-inline .MathJax_right_box":{display:"inline-block",width:0,float:"right"},".mjx-test-display .MathJax_right_box":{display:(c?"block":"table-cell")+"!important",width:(c?"100%":"10000em")+"!important","min-width":0,"max-width":"none",padding:0,border:0,margin:0},".MathJax .MathJax_HitBox":{cursor:"text",background:"white",opacity:0,filter:"alpha(opacity=0)"},".MathJax .MathJax_HitBox *":{filter:"none",opacity:1,background:"transparent"},"#MathJax_Tooltip":{position:"absolute",left:0,top:0,width:"auto",height:"auto",display:"none"},"#MathJax_Tooltip *":{filter:"none",opacity:1,background:"transparent"},"@font-face":{"font-family":"MathJax_Blank",src:"url('about:blank')"}}},settings:e.config.menuSettings,Font:null,webFontDefault:"MathJax_Blank",allowWebFonts:"otf",maxStretchyParts:1e3,fontName:{TeXLocal:"TeX",TeXWeb:["","TeX"],TeXImage:["",""],STIXLocal:["STIX","STIX-Web"],STIXWeb:"STIX-Web",AsanaMathWeb:"Asana-Math",GyrePagellaWeb:"Gyre-Pagella",GyreTermesWeb:"Gyre-Termes",LatinModernWeb:"Latin-Modern",NeoEulerWeb:"Neo-Euler"},fontInUse:"generic",FONTDATA:{TeX_factor:1,baselineskip:1.2,lineH:.8,lineD:.2,ffLineH:.8,FONTS:{},VARIANT:{normal:{fonts:[]},"-generic-variant":{},"-largeOp":{},"-smallOp":{}},RANGES:[],DELIMITERS:{},RULECHAR:45,REMAP:{}},Config:function(){this.require||(this.require=[]),this.Font=d(),this.SUPER(arguments).Config.call(this);var t=this.settings,a=this.config,i=t.font;this.adjustAvailableFonts&&this.adjustAvailableFonts(a.availableFonts),t.scale&&(a.scale=t.scale),i&&"Auto"!==i&&this.fontName[i]&&(a.availableFonts=[],delete a.fonts,l(this.fontName[i])?(a.preferredFont=this.fontName[i][0],a.webFont=this.fontName[i][1]):a.preferredFont=a.webFont=this.fontName[i],a.preferredFont&&(a.availableFonts[0]=a.preferredFont)),a.fonts&&(a.availableFonts=a.fonts,a.preferredFont=a.webFont=a.fonts[0],"STIX"===a.webFont&&(a.webFont+="-Web")),!(i=this.Font.findFont(a.availableFonts,a.preferredFont))&&this.allowWebFonts&&(i=a.webFont)&&(this.webFonts=!0),!i&&this.config.imageFont&&(i=a.imageFont,this.imgFonts=!0),i?(this.fontInUse=i,this.fontDir+="/"+i,this.webfontDir+="/"+i,this.require.push(this.fontDir+"/fontdata.js"),this.imgFonts&&(this.require.push(this.directory+"/imageFonts.js"),e.Startup.signal.Post("HTML-CSS Jax - using image fonts"))):(h(["CantFindFontUsing","Can't find a valid font using %1","["+this.config.availableFonts.join(", ")+"]"],null,3e3),e.Startup.signal.Post("HTML-CSS Jax - no valid font")),this.require.push(MathJax.OutputJax.extensionDir+"/MathEvents.js")},Startup:function(){s=MathJax.Extension.MathEvents.Event,n=MathJax.Extension.MathEvents.Touch,r=MathJax.Extension.MathEvents.Hover,this.ContextMenu=s.ContextMenu,this.Mousedown=s.AltContextMenu,this.Mouseover=r.Mouseover,this.Mouseout=r.Mouseout,this.Mousemove=r.Mousemove,this.hiddenDiv=this.Element("div",{style:{visibility:"hidden",overflow:"hidden",position:"absolute",top:0,height:"1px",width:"auto",padding:0,border:0,margin:0,textAlign:"left",textIndent:0,textTransform:"none",lineHeight:"normal",letterSpacing:"normal",wordSpacing:"normal"}}),document.body.firstChild?document.body.insertBefore(this.hiddenDiv,document.body.firstChild):document.body.appendChild(this.hiddenDiv),this.hiddenDiv=this.addElement(this.hiddenDiv,"div",{id:"MathJax_Hidden"});var e=this.addElement(this.hiddenDiv,"div",{style:{width:"5in"}});if(this.pxPerInch=e.offsetWidth/5,this.hiddenDiv.removeChild(e),this.startMarker=this.createStrut(this.Element("span"),10,!0),this.endMarker=this.addText(this.Element("span"),"x").parentNode,this.HDspan=this.Element("span"),this.operaHeightBug&&this.createStrut(this.HDspan,0),this.msieInlineBlockAlignBug){this.HDimg=this.addElement(this.HDspan,"img",{style:{height:"0px",width:"1px"}});try{this.HDimg.src="about:blank"}catch(t){}}else this.HDimg=this.createStrut(this.HDspan,0);return this.TestSpan=this.Element("span",{className:"MathJax_test"},[["span",{className:"MathJax_left_box"}],["span",{className:"MathJax_ex_box"}],["span",{className:"MathJax_em_box"}],["span",{className:"MathJax_right_box"}]]),t.Styles(this.config.styles,["InitializeHTML",this])},removeSTIXfonts:function(t){for(var e=0,a=t.length;e<a;e++)"STIX"===t[e]&&(t.splice(e,1),a--,e--);"STIX"===this.config.preferredFont&&(this.config.preferredFont=t[0])},PreloadWebFonts:function(){if(a.allowWebFonts&&a.config.preloadWebFonts)for(var t=0,e=a.config.preloadWebFonts.length;t<e;t++){var i=a.FONTDATA.FONTS[a.config.preloadWebFonts[t]];i.available||a.Font.testFont(i)}},InitializeHTML:function(){if(this.PreloadWebFonts(),this.getDefaultExEm(),!this.defaultEm){var i=MathJax.Callback();return t.timer.start(t,(function(t){t.time(i)?e.signal.Post(["HTML-CSS Jax - no default em size"]):(a.getDefaultExEm(),a.defaultEm?i():setTimeout(t,t.delay))}),this.defaultEmDelay,this.defaultEmTimeout),i}},defaultEmDelay:100,defaultEmTimeout:1e3,getDefaultExEm:function(){var t=document.body.appendChild(this.TestSpan.cloneNode(!0));t.className+=" mjx-test-inline mjx-test-default",this.defaultEx=t.childNodes[1].offsetHeight/60,this.defaultEm=t.childNodes[2].offsetHeight/60,this.defaultWidth=Math.max(0,t.lastChild.offsetLeft-t.firstChild.offsetLeft-2),document.body.removeChild(t)},preTranslate:function(t){var a,i,r,o,l,h,d,c,u,m,p,f,M,g=t.jax[this.id],b=g.length,x=!1,v=this.config.linebreaks.automatic,T=this.config.linebreaks.width;for(v?((x=null!=T.match(/^\s*(\d+(\.\d*)?%\s*)?container\s*$/))?T=T.replace(/\s*container\s*/,""):f=this.defaultWidth,""===T&&(T="100%")):f=1e5,a=0;a<b;a++)(r=g[a]).parentNode&&((o=r.previousSibling)&&String(o.className).match(/^MathJax(_Display)?( MathJax_Process(ing|ed))?$/)&&o.parentNode.removeChild(o),r.MathJax.preview&&(r.MathJax.preview.style.display="none"),(c=r.MathJax.elementJax)&&(c.HTMLCSS={display:"block"===c.root.Get("display")},l=h=this.Element("span",{className:"MathJax",id:c.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(c)}),e.Browser.noContextMenu&&(l.ontouchstart=n.start,l.ontouchend=n.end),c.HTMLCSS.display?(h=this.Element("div",{className:"MathJax_Display"})).appendChild(l):this.msieDisappearingBug&&(l.style.display="inline-block"),h.className+=" MathJax_Processing",r.parentNode.insertBefore(h,r),c.HTMLCSS.span=l,c.HTMLCSS.div=h,(d=this.TestSpan.cloneNode(!0)).className+=" mjx-test-"+(c.HTMLCSS.display?"display":"inline"),r.parentNode.insertBefore(d,r)));var E=[];for(a=0;a<b;a++)(r=g[a]).parentNode&&(h=(d=r.previousSibling).previousSibling,(c=r.MathJax.elementJax)&&(u=d.childNodes[1].offsetHeight/60,m=d.childNodes[2].offsetHeight/60,M=Math.max(0,c.HTMLCSS.display?d.lastChild.offsetWidth-1:d.lastChild.offsetLeft-d.firstChild.offsetLeft-2),0!==u&&"NaN"!==u||(E.push(h),c.HTMLCSS.isHidden=!0,u=this.defaultEx,m=this.defaultEm,M=this.defaultWidth),0!==M||c.HTMLCSS.display||(M=this.defaultWidth),x&&(f=M),p=this.config.matchFontHeight?u/this.TeX.x_height/m:1,p=Math.floor(Math.max(this.config.minScaleAdjust/100,p)*this.config.scale),c.HTMLCSS.scale=p/100,c.HTMLCSS.fontSize=p+"%",c.HTMLCSS.em=c.HTMLCSS.outerEm=m,this.em=m*p/100,c.HTMLCSS.ex=u,c.HTMLCSS.cwidth=M/this.em,c.HTMLCSS.lineWidth=v?this.length2em(T,1,f/this.em):1e6));for(a=0,i=E.length;a<i;a++)this.hiddenDiv.appendChild(E[a]),this.addElement(this.hiddenDiv,"br");for(a=0;a<b;a++)(r=g[a]).parentNode&&(c=g[a].MathJax.elementJax)&&(r.parentNode.removeChild(r.previousSibling),r.MathJax.preview&&(r.MathJax.preview.style.display=""));t.HTMLCSSeqn=t.HTMLCSSlast=0,t.HTMLCSSi=-1,t.HTMLCSSchunk=this.config.EqnChunk,t.HTMLCSSdelay=!1},PHASE:{I:1,II:2,III:3},Translate:function(t,a){if(t.parentNode){a.HTMLCSSdelay&&(a.HTMLCSSdelay=!1,e.RestartAfter(MathJax.Callback.Delay(this.config.EqnChunkDelay)));var i=t.MathJax.elementJax,s=i.root,n=i.HTMLCSS.div,r=i.HTMLCSS.span;if(document.getElementById(r.id)){this.getMetrics(i),1!==this.scale&&(r.style.fontSize=i.HTMLCSS.fontSize),this.initImg(r),this.initHTML(s,r),this.savePreview(t);try{s.setTeXclass(),s.toHTML(r,n,this.PHASE.I)}catch(e){if(e.restart)for(;r.firstChild;)r.removeChild(r.firstChild);throw this.restorePreview(t),e}return this.restorePreview(t),n.className=n.className.split(/ /)[0]+" MathJax_Processed",e.signal.Post(["New Math Pending",i.inputID]),a.HTMLCSSeqn+=a.i-a.HTMLCSSi,a.HTMLCSSi=a.i,a.HTMLCSSeqn>=a.HTMLCSSlast+a.HTMLCSSchunk&&(this.postTranslate(a,!0),a.HTMLCSSchunk=Math.floor(a.HTMLCSSchunk*this.config.EqnChunkFactor),a.HTMLCSSdelay=!0),!1}}},savePreview:function(t){var e=t.MathJax.preview;e&&(t.MathJax.tmpPreview=document.createElement("span"),e.parentNode.replaceChild(t.MathJax.tmpPreview,e))},restorePreview:function(t){var e=t.MathJax.tmpPreview;e&&(e.parentNode.replaceChild(t.MathJax.preview,e),delete t.MathJax.tmpPreview)},getMetrics:function(t){var e=t.HTMLCSS;this.em=i.mbase.prototype.em=e.em*e.scale,this.outerEm=e.em,this.scale=e.scale,this.cwidth=e.cwidth,this.linebreakWidth=e.lineWidth},postTranslate:function(t,a){var i,s,n,r,o=t.jax[this.id];for(n=t.HTMLCSSlast,r=t.HTMLCSSeqn;n<r;n++)if((i=o[n])&&i.parentNode&&i.MathJax.elementJax){var l=(i.MathJax.elementJax.HTMLCSS||{}).div;l&&(l.className=l.className.split(/ /)[0]),i.MathJax.preview&&(i.MathJax.preview.innerHTML="")}for(n=t.HTMLCSSlast,r=t.HTMLCSSeqn;n<r;n++)(i=o[n])&&i.parentNode&&i.MathJax.elementJax&&(s=i.MathJax.elementJax,this.getMetrics(s),s.HTMLCSS.span&&s.HTMLCSS.div&&s.root.toHTML(s.HTMLCSS.span,s.HTMLCSS.div,this.PHASE.II));for(n=t.HTMLCSSlast,r=t.HTMLCSSeqn;n<r;n++)(i=o[n])&&i.parentNode&&i.MathJax.elementJax&&(s=i.MathJax.elementJax,this.getMetrics(s),s.HTMLCSS.span&&s.HTMLCSS.div&&(s.root.toHTML(s.HTMLCSS.span,s.HTMLCSS.div,this.PHASE.III),s.HTMLCSS.isHidden&&i.parentNode.insertBefore(s.HTMLCSS.div,i),delete s.HTMLCSS.span,delete s.HTMLCSS.div,i.MathJax.state=s.STATE.PROCESSED,e.signal.Post(["New Math",i.MathJax.elementJax.inputID])));if(this.forceReflow){var h=(document.styleSheets||[])[0]||{};h.disabled=!0,h.disabled=!1}t.HTMLCSSlast=t.HTMLCSSeqn},getJaxFromMath:function(t){t.parentNode.className.match(/MathJax_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.HTMLspanElement()},getHoverBBox:function(t,e,a){var i=e.bbox,s=t.HTMLCSS.outerEm,n={w:i.w*s,h:i.h*s,d:i.d*s};return i.width&&(n.width=i.width),n},Zoom:function(t,n,r,o,l){n.className="MathJax",n.style.fontSize=t.HTMLCSS.fontSize;var h=n.appendChild(this.TestSpan.cloneNode(!0)),d=h.childNodes[2].offsetHeight/60;this.em=i.mbase.prototype.em=d,this.outerEm=d/t.HTMLCSS.scale,h.parentNode.removeChild(h),this.scale=t.HTMLCSS.scale,this.linebreakWidth=t.HTMLCSS.lineWidth,this.cwidth=t.HTMLCSS.cwidth,this.zoomScale=parseInt(e.config.menuSettings.zscale)/100,this.idPostfix="-zoom",t.root.toHTML(n,n),this.idPostfix="",this.zoomScale=1;var c=t.root.HTMLspanElement().bbox,u=c.width;if(u){c.tw&&(o=c.tw*d),c.w*d<o&&(o=c.w*d),n.style.width=Math.floor(o-1.5*a.em)+"px",n.style.display="inline-block";for(var m=(t.root.id||"MathJax-Span-"+t.root.spanID)+"-zoom",p=document.getElementById(m).firstChild;p&&p.style.width!==u;)p=p.nextSibling;if(p){var f=p.offsetWidth;p.style.width="100%",f>o&&(n.style.width=f+100+"px")}}p=n.firstChild.firstChild.style,null!=c.H&&c.H>c.h&&(p.marginTop=a.Em(c.H-Math.max(c.h,a.FONTDATA.lineH))),null!=c.D&&c.D>c.d&&(p.marginBottom=a.Em(c.D-Math.max(c.d,a.FONTDATA.lineD))),c.lw<0&&(p.paddingLeft=a.Em(-c.lw)),c.rw>c.w&&(p.marginRight=a.Em(c.rw-c.w)),n.style.position="absolute",u||(r.style.position="absolute");var M=n.offsetWidth,g=n.offsetHeight,b=r.offsetHeight,x=r.offsetWidth;return n.style.position=r.style.position="",{Y:-s.getBBox(n).h,mW:x,mH:b,zW:M,zH:g}},initImg:function(t){},initHTML:function(t,e){},initFont:function(e){var i=a.FONTDATA.FONTS,s=a.config.availableFonts;return s&&s.length&&a.Font.testFont(i[e])?(i[e].available=!0,i[e].familyFixed&&(i[e].family=i[e].familyFixed,delete i[e].familyFixed),null):this.allowWebFonts?(i[e].isWebFont=!0,a.FontFaceBug&&(i[e].family=e,a.msieFontCSSBug&&(i[e].family+="-Web")),t.Styles({"@font-face":this.Font.fontFace(e)})):null},Remove:function(t){var e=document.getElementById(t.inputID+"-Frame");e&&(t.HTMLCSS.display&&(e=e.parentNode),e.parentNode.removeChild(e)),delete t.HTMLCSS},getHD:function(t,e){if(t.bbox&&this.config.noReflows&&!e)return{h:t.bbox.h,d:t.bbox.d};var a=t.style.position;t.style.position="absolute",this.HDimg.style.height="0px",t.appendChild(this.HDspan);var i={h:t.offsetHeight};return this.HDimg.style.height=i.h+"px",i.d=t.offsetHeight-i.h,i.h-=i.d,i.h/=this.em,i.d/=this.em,t.removeChild(this.HDspan),t.style.position=a,i},getW:function(t){var e,a,i=(t.bbox||{}).w,s=t;if(t.bbox&&this.config.noReflows&&!1!==t.bbox.exactW)return t.bbox.exactW||(t.style.paddingLeft&&(i+=this.unEm(t.style.paddingLeft)*(t.scale||1)),t.style.paddingRight&&(i+=this.unEm(t.style.paddingRight)*(t.scale||1))),i;if(t.bbox&&t.bbox.exactW)return i;if(t.bbox&&i>=0&&!this.initialSkipBug&&!this.msieItalicWidthBug||this.negativeBBoxes||!t.firstChild)e=t.offsetWidth,a=t.parentNode.offsetHeight;else if(t.bbox&&i<0&&this.msieNegativeBBoxBug)e=-t.offsetWidth,a=t.parentNode.offsetHeight;else{var n=t.style.position;t.style.position="absolute",s=this.startMarker,t.insertBefore(s,t.firstChild),t.appendChild(this.endMarker),e=this.endMarker.offsetLeft-s.offsetLeft,t.removeChild(this.endMarker),t.removeChild(s),t.style.position=n}return null!=a&&(t.parentNode.HH=a/this.em),e/this.em},Measured:function(t,e){var a=t.bbox;if(null==a.width&&a.w&&!a.isMultiline){var i=this.getW(t);a.rw+=i-a.w,a.w=i,a.exactW=!0}return e||(e=t.parentNode),e.bbox||(e.bbox=a),t},Remeasured:function(t,e){e.bbox=this.Measured(t,e).bbox},MeasureSpans:function(t){var e,a,i,s,n,r,o,l,h=[];for(a=0,i=t.length;a<i;a++)(e=t[a])&&(s=e.bbox,l=this.parentNode(e),s.exactW||s.width||0===s.w||s.isMultiline||this.config.noReflows&&!1!==s.exactW?l.bbox||(l.bbox=s):this.negativeBBoxes||!e.firstChild||s.w>=0&&!this.initialSkipBug||s.w<0&&this.msieNegativeBBoxBug?h.push([e]):this.initialSkipBug?(n=this.startMarker.cloneNode(!0),r=this.endMarker.cloneNode(!0),e.insertBefore(n,e.firstChild),e.appendChild(r),h.push([e,n,r,e.style.position]),e.style.position="absolute"):(r=this.endMarker.cloneNode(!0),e.appendChild(r),h.push([e,null,r])));for(a=0,i=h.length;a<i;a++)s=(e=h[a][0]).bbox,l=this.parentNode(e),s.w>=0&&!this.initialSkipBug||this.negativeBBoxes||!e.firstChild?(o=e.offsetWidth,l.HH=l.offsetHeight/this.em):s.w<0&&this.msieNegativeBBoxBug?(o=-e.offsetWidth,l.HH=l.offsetHeight/this.em):o=h[a][2].offsetLeft-((h[a][1]||{}).offsetLeft||0),o/=this.em,s.rw+=o-s.w,s.w=o,s.exactW=!0,l.bbox||(l.bbox=s);for(a=0,i=h.length;a<i;a++)(e=h[a])[1]&&(e[1].parentNode.removeChild(e[1]),e[0].style.position=e[3]),e[2]&&e[2].parentNode.removeChild(e[2])},Em:function(t){return Math.abs(t)<6e-4?"0em":t.toFixed(3).replace(/\.?0+$/,"")+"em"},EmRounded:function(t){return Math.abs(t)<6e-4?"0em":(t=(Math.round(t*a.em)+.05)/a.em).toFixed(3).replace(/\.?0+$/,"")+"em"},unEm:function(t){return parseFloat(t)},Px:function(t){return((t*=this.em)<0?"-":"")+Math.abs(t).toFixed(1).replace(/\.?0+$/,"")+"px"},unPx:function(t){return parseFloat(t)/this.em},Percent:function(t){return(100*t).toFixed(1).replace(/\.?0+$/,"")+"%"},length2em:function(t,e,s){if("string"!=typeof t&&(t=t.toString()),""===t)return"";if(t===i.SIZE.NORMAL)return 1;if(t===i.SIZE.BIG)return 2;if(t===i.SIZE.SMALL)return.71;if("infinity"===t)return a.BIGDIMEN;var n=this.FONTDATA.TeX_factor,r=(a.zoomScale||1)/a.em;if(t.match(/mathspace$/))return a.MATHSPACE[t]*n;var o=t.match(/^\s*([-+]?(?:\.\d+|\d+(?:\.\d*)?))?(pt|em|ex|mu|px|pc|in|mm|cm|%)?/),l=parseFloat(o[1]||"1"),h=o[2];return null==s&&(s=1),null==e&&(e=1),"em"===h?l*n:"ex"===h?l*a.TeX.x_height*n:"%"===h?l/100*s:"px"===h?l*r:"pt"===h?l/10*n:"pc"===h?1.2*l*n:"in"===h?l*this.pxPerInch*r:"cm"===h?l*this.pxPerInch*r/2.54:"mm"===h?l*this.pxPerInch*r/25.4:"mu"===h?l/18*n*e:l*s},thickness2em:function(t,e){var s=a.TeX.rule_thickness;return t===i.LINETHICKNESS.MEDIUM?s:t===i.LINETHICKNESS.THIN?.67*s:t===i.LINETHICKNESS.THICK?1.67*s:this.length2em(t,e,s)},border2em:function(t,e){return t===i.LINETHICKNESS.THIN&&(t="1px"),t===i.LINETHICKNESS.MEDIUM&&(t="3px"),t===i.LINETHICKNESS.THICK&&(t="5px"),this.length2em(t,e)},getPadding:function(t){var e={top:0,right:0,bottom:0,left:0},a=!1;for(var i in e)if(e.hasOwnProperty(i)){var s=t.style["padding"+i.charAt(0).toUpperCase()+i.substr(1)];s&&(e[i]=this.length2em(s),a=!0)}return!!a&&e},getBorders:function(t){var e={top:0,right:0,bottom:0,left:0},a={},s=!1;for(var n in e)if(e.hasOwnProperty(n)){var r="border"+n.charAt(0).toUpperCase()+n.substr(1);t.style[r+"Style"]&&(s=!0,e[n]=this.border2em(t.style[r+"Width"]||i.LINETHICKNESS.MEDIUM),a[r]=[t.style[r+"Width"],t.style[r+"Style"],t.style[r+"Color"]].join(" "))}return e.css=a,!!s&&e},setBorders:function(t,e){if(e)for(var a in e.css)e.css.hasOwnProperty(a)&&(t.style[a]=e.css[a])},createStrut:function(t,e,a){var i=this.Element("span",{isMathJax:!0,style:{display:"inline-block",overflow:"hidden",height:e+"px",width:"1px",marginRight:"-1px"}});return a?t.insertBefore(i,t.firstChild):t.appendChild(i),i},createBlank:function(t,e,a){var i=this.Element("span",{isMathJax:!0,style:{display:"inline-block",overflow:"hidden",height:"1px",width:this.Em(e)}});return e<0&&(i.style.marginRight=i.style.width,i.style.width=0),a?t.insertBefore(i,t.firstChild):t.appendChild(i),i},createShift:function(t,e,a){var i=this.Element("span",{style:{marginLeft:this.Em(e)},isMathJax:!0});return a?t.insertBefore(i,t.firstChild):t.appendChild(i),i},createSpace:function(t,e,s,n,r,o){e<-s&&(s=-e);var l=this.Em(e+s),h=this.Em(-s);if(this.msieInlineBlockAlignBug&&(h=this.Em(a.getHD(t.parentNode,!0).d-s)),t.isBox||o){var d=null==t.scale?1:t.scale;t.bbox={exactW:!0,h:e*d,d:s*d,w:n*d,rw:n*d,lw:0},t.style.height=l,t.style.verticalAlign=h,t.HH=(e+s)*d}else t=this.addElement(t,"span",{style:{height:l,verticalAlign:h},isMathJax:!0});return n>=0?(t.style.width=this.Em(n),t.style.display="inline-block",t.style.overflow="hidden"):(this.msieNegativeSpaceBug&&(t.style.height=""),t.style.marginLeft=this.Em(n),a.safariNegativeSpaceBug&&t.parentNode.firstChild==t&&this.createBlank(t,0,!0)),r&&r!==i.COLOR.TRANSPARENT&&(t.style.backgroundColor=r,t.style.position="relative"),t},createRule:function(t,e,i,s,n){e<-i&&(i=-e);var r=a.TeX.min_rule_thickness,o=1;s>0&&s*this.em<r&&(s=r/this.em),e+i>0&&(e+i)*this.em<r&&(e*=o=1/(e+i)*(r/this.em),i*=o),n=n?"solid "+n:"solid";var l={display:"inline-block",overflow:"hidden",verticalAlign:this.Em(-i)};s>e+i?(l.borderTop=this.Px(e+i)+" "+n,l.width=this.Em(s),l.height=this.msieRuleBug&&e+i>0?this.Em(e+i):0):(l.borderLeft=this.Px(s)+" "+n,l.width=this.msieRuleBug&&s>0?this.Em(s):0,l.height=this.Em(e+i));var h=this.addElement(t,"span",{style:l,noAdjust:!0,HH:e+i,isMathJax:!0,bbox:{h:e,d:i,w:s,rw:s,lw:0,exactW:!0}});return(t.isBox||"mspace"==t.className)&&(t.bbox=h.bbox,t.HH=e+i),h},createFrame:function(t,e,a,i,s,n){e<-a&&(a=-e);var r=2*s;this.msieFrameSizeBug&&(i<r&&(i=r),e+a<r&&(e=r-a)),this.msieBorderWidthBug&&(r=0);var o=this.Em(e+a-r),l=this.Em(-a-s),h=this.Em(i-r),d=this.Px(s)+" "+n,c=this.addElement(t,"span",{style:{border:d,display:"inline-block",overflow:"hidden",width:h,height:o},bbox:{h:e,d:a,w:i,rw:i,lw:0,exactW:!0},noAdjust:!0,HH:e+a,isMathJax:!0});return l&&(c.style.verticalAlign=l),c},parentNode:function(t){var e=t.parentNode;return"a"===e.nodeName.toLowerCase()&&(e=e.parentNode),e},createStack:function(t,e,a){this.msiePaddingWidthBug&&this.createStrut(t,0);var i=String(a).match(/%$/),s=i||null==a?0:a;return t=this.addElement(t,"span",{noAdjust:!0,HH:0,isMathJax:!0,style:{display:"inline-block",position:"relative",width:i?"100%":this.Em(s),height:0}}),e||(t.parentNode.bbox=t.bbox={exactW:!0,h:-this.BIGDIMEN,d:-this.BIGDIMEN,w:s,lw:this.BIGDIMEN,rw:i||null==a?-this.BIGDIMEN:a},i&&(t.bbox.width=a)),t},createBox:function(t,e){var a=this.addElement(t,"span",{style:{position:"absolute"},isBox:!0,isMathJax:!0});return null!=e&&(a.style.width=e),a},addBox:function(t,e){return e.style.position="absolute",e.isBox=e.isMathJax=!0,t.appendChild(e)},placeBox:function(t,e,i,s){t.isMathJax=!0;var n=a.parentNode(t),r=t.bbox,o=n.bbox;this.msiePlaceBoxBug&&this.addText(t,this.NBSP),this.imgSpaceBug&&this.addText(t,this.imgSpace);var l,h=0;if(null!=t.HH)l=t.HH;else if(r){var d=t.firstChild;l=Math.max(3,3*(d&&d.scale||1),r.h+r.d)}else l=t.offsetHeight/this.em;if(t.noAdjust||(l+=1,l=Math.round(l*this.em)/this.em,this.msieInlineBlockAlignBug?this.addElement(t,"img",{className:"MathJax_strut",border:0,src:"about:blank",isMathJax:!0,style:{width:0,height:this.Em(l)}}):(this.addElement(t,"span",{isMathJax:!0,style:{display:"inline-block",width:0,height:this.Em(l)}}),a.chromeHeightBug&&(l-=(t.lastChild.offsetHeight-Math.round(l*this.em))/this.em))),r&&(this.initialSkipBug&&(r.lw<0&&(h=r.lw,a.createBlank(t,-h,!0)),r.rw>r.w&&a.createBlank(t,r.rw-r.w+.1)),!this.msieClipRectBug&&!r.noclip&&!s)){var c=3/this.em,u=l-(null==r.H?r.h:r.H)-c,m=l+(null==r.D?r.d:r.D)+c,p=r.rw+1e3;t.style.clip="rect("+this.Em(u)+" "+this.Em(p)+" "+this.Em(m)+" "+this.Em(-1e3)+")"}t.style.top=this.Em(-i-l),t.style.left=this.Em(e+h),r&&o&&(null!=r.H&&(null==o.H||r.H+i>o.H)&&(o.H=r.H+i),null!=r.D&&(null==o.D||r.D-i>o.D)&&(o.D=r.D-i),r.h+i>o.h&&(o.h=r.h+i),r.d-i>o.d&&(o.d=r.d-i),null!=o.H&&o.H<=o.h&&delete o.H,null!=o.D&&o.D<=o.d&&delete o.D,r.w+e>o.w&&(o.w=r.w+e,null==o.width&&(n.style.width=this.Em(o.w))),r.rw+e>o.rw&&(o.rw=r.rw+e),r.lw+e<o.lw&&(o.lw=r.lw+e),null==r.width||r.isFixed||(null==o.width&&(n.style.width=o.width="100%",r.minWidth&&(n.style.minWidth=o.minWidth=r.minWidth)),t.style.width=r.width),r.tw&&(o.tw=r.tw))},alignBox:function(t,a,i,s,n){if(null==s&&(s=0),this.placeBox(t,s,i),this.msiePlaceBoxBug){for(var r=t.lastChild;r&&"#text"!==r.nodeName;)r=r.previousSibling;r&&t.removeChild(r)}var o=t.bbox;if(!o.isMultiline||n){var l=null!=o.width&&!o.isFixed,h=0,d=s-o.w/2,c="50%";this.initialSkipBug&&(h=o.w-o.rw-.1,d+=o.lw),d=this.msieMarginScaleBug?d*this.em+"px":this.Em(d),l&&(d=0===s?"":this.Em(s),c=50-parseFloat(o.width)/2+"%"),e.Insert(t.style,{right:{left:"",right:this.Em(h-s)},center:{left:c,marginLeft:d}}[a])}},setStackWidth:function(t,e){if("number"==typeof e){t.style.width=this.Em(Math.max(0,e));var a=t.bbox;a&&(a.w=e,a.exactW=!0),(a=t.parentNode.bbox)&&(a.w=e,a.exactW=!0)}else t.style.width=t.parentNode.style.width="100%",t.bbox&&(t.bbox.width=e),t.parentNode.bbox&&(t.parentNode.bbox.width=e)},createDelimiter:function(a,s,n,r,o){if(!s)return a.bbox={h:0,d:0,w:this.TeX.nulldelimiterspace,lw:0},a.bbox.rw=a.bbox.w,void this.createSpace(a,a.bbox.h,a.bbox.d,a.bbox.w);r||(r=1),n instanceof Array||(n=[n,n]);var l=n[1];n=n[0];for(var h={alias:s};h.alias;)s=h.alias,(h=this.FONTDATA.DELIMITERS[s])||(h={HW:[0,this.FONTDATA.VARIANT[i.VARIANT.NORMAL]]});h.load&&e.RestartAfter(t.Require(this.fontDir+"/fontdata-"+h.load+".js"));for(var d=0,c=h.HW.length;d<c;d++)if(h.HW[d][0]*r>=n-.01||d==c-1&&!h.stretch){h.HW[d][2]&&(r*=h.HW[d][2]),h.HW[d][3]&&(s=h.HW[d][3]);var u=this.addElement(a,"span");return this.createChar(u,[s,h.HW[d][1]],r,o),a.bbox=u.bbox,a.offset=.65*a.bbox.w,void(a.scale=r)}h.stretch&&this["extendDelimiter"+h.dir](a,l,h.stretch,r,o)},extendDelimiterV:function(t,e,a,i,s){var n=this.createStack(t,!0),r=this.createBox(n),o=this.createBox(n);this.createChar(r,a.top||a.ext,i,s),this.createChar(o,a.bot||a.ext,i,s);var l,h={bbox:{w:0,lw:0,rw:0}},d=h,c=r.bbox.h+r.bbox.d+o.bbox.h+o.bbox.d,u=-r.bbox.h;if(this.placeBox(r,0,u,!0),u-=r.bbox.d,a.mid&&(d=this.createBox(n),this.createChar(d,a.mid,i,s),c+=d.bbox.h+d.bbox.d),a.min&&e<c*a.min&&(e=c*a.min),e>c){h=this.Element("span"),this.createChar(h,a.ext,i,s);var m,p,f=h.bbox.h+h.bbox.d,M=f-.05,g=a.mid?2:1;p=m=Math.min(Math.ceil((e-c)/(g*M)),this.maxStretchyParts),a.fullExtenders||(M=(e-c)/(g*m));var b=m/(m+1)*(f-M);for(u+=b+(M=f-b)-h.bbox.h;g-- >0;){for(;m-- >0;)this.msieCloneNodeBug?(l=this.Element("span"),this.createChar(l,a.ext,i,s)):l=h.cloneNode(!0),l.bbox=h.bbox,u-=M,this.placeBox(this.addBox(n,l),0,u,!0);u+=b-h.bbox.d,a.mid&&g&&(this.placeBox(d,0,u-d.bbox.h,!0),m=p,u+=-(d.bbox.h+d.bbox.d)+b+M-h.bbox.h)}}else u+=(c-e)/2,a.mid&&(this.placeBox(d,0,u-d.bbox.h,!0),u+=-(d.bbox.h+d.bbox.d)),u+=(c-e)/2;this.placeBox(o,0,u-o.bbox.h,!0),u-=o.bbox.h+o.bbox.d,t.bbox={w:Math.max(r.bbox.w,h.bbox.w,o.bbox.w,d.bbox.w),lw:Math.min(r.bbox.lw,h.bbox.lw,o.bbox.lw,d.bbox.lw),rw:Math.max(r.bbox.rw,h.bbox.rw,o.bbox.rw,d.bbox.rw),h:0,d:-u,exactW:!0},t.scale=i,t.offset=.55*t.bbox.w,t.isMultiChar=!0,this.setStackWidth(n,t.bbox.w)},extendDelimiterH:function(t,e,a,i,s){var n=this.createStack(t,!0),r=this.createBox(n),o=this.createBox(n);this.createChar(r,a.left||a.rep,i,s),this.createChar(o,a.right||a.rep,i,s);var l=this.Element("span");this.createChar(l,a.rep,i,s);var h,d={bbox:{h:-this.BIGDIMEN,d:-this.BIGDIMEN}};this.placeBox(r,-r.bbox.lw,0,!0);var c,u=r.bbox.rw-r.bbox.lw+(o.bbox.rw-o.bbox.lw)-.05,m=r.bbox.rw-r.bbox.lw-.025;if(a.mid&&(d=this.createBox(n),this.createChar(d,a.mid,i,s),u+=d.bbox.w),a.min&&e<u*a.min&&(e=u*a.min),e>u){var p,f,M=l.bbox.rw-l.bbox.lw,g=M-.05,b=a.mid?2:1;for(f=p=Math.min(Math.ceil((e-u)/(b*g)),this.maxStretchyParts),a.fillExtenders||(g=(e-u)/(b*p)),g=M-(c=p/(p+1)*(M-g)),m-=l.bbox.lw+c;b-- >0;){for(;p-- >0;)this.cloneNodeBug?(h=this.Element("span"),this.createChar(h,a.rep,i,s)):h=l.cloneNode(!0),h.bbox=l.bbox,this.placeBox(this.addBox(n,h),m,0,!0),m+=g;a.mid&&b&&(this.placeBox(d,m,0,!0),m+=d.bbox.w-c,p=f)}}else m-=(u-e)/2,a.mid&&(this.placeBox(d,m,0,!0),m+=d.bbox.w),m-=(u-e)/2;m-=o.bbox.lw,this.placeBox(o,m,0,!0),t.bbox={w:m+o.bbox.rw,lw:0,rw:m+o.bbox.rw,h:Math.max(r.bbox.h,l.bbox.h,o.bbox.h,d.bbox.h),d:Math.max(r.bbox.d,l.bbox.d,o.bbox.d,d.bbox.d),exactW:!0},t.scale=i,t.isMultiChar=!0,this.setStackWidth(n,t.bbox.w)},createChar:function(t,e,a,s){t.isMathJax=!0;var n=t,r="",o={fonts:[e[1]],noRemap:!0};if(s&&s===i.VARIANT.BOLD&&(o.fonts=[e[1]+"-bold",e[1]]),"string"!=typeof e[1]&&(o=e[1]),e[0]instanceof Array)for(var l=0,h=e[0].length;l<h;l++)r+=String.fromCharCode(e[0][l]);else r=String.fromCharCode(e[0]);e[4]&&(a*=e[4]),1!==a||e[3]?(n=this.addElement(t,"span",{style:{fontSize:this.Percent(a)},scale:a,isMathJax:!0}),this.handleVariant(n,o,r),t.bbox=n.bbox):this.handleVariant(t,o,r),e[2]&&(t.style.marginLeft=this.Em(e[2])),e[3]&&(t.firstChild.style.verticalAlign=this.Em(e[3]),t.bbox.h+=e[3],t.bbox.h<0&&(t.bbox.h=0)),e[5]&&(t.bbox.h+=e[5]),e[6]&&(t.bbox.d+=e[6]),this.AccentBug&&0===t.bbox.w&&(n.firstChild.nodeValue+=this.NBSP)},positionDelimiter:function(t,e){e-=t.bbox.h,t.bbox.d-=e,t.bbox.h+=e,e&&(this.safariVerticalAlignBug||this.konquerorVerticalAlignBug||this.operaVerticalAlignBug&&t.isMultiChar?(""===t.firstChild.style.display&&""!==t.style.top&&(t=t.firstChild,e-=a.unEm(t.style.top)),t.style.position="relative",t.style.top=this.Em(-e)):(t.style.verticalAlign=this.Em(e),a.ffVerticalAlignBug&&(a.createRule(t.parentNode,t.bbox.h,0,0),delete t.parentNode.bbox)))},handleVariant:function(t,e,s){var n,r,o,h,d="",c=t,u=!!t.style.fontFamily;if(0!==s.length){t.bbox||(t.bbox={w:0,h:-this.BIGDIMEN,d:-this.BIGDIMEN,rw:-this.BIGDIMEN,lw:this.BIGDIMEN}),e||(e=this.FONTDATA.VARIANT[i.VARIANT.NORMAL]),h=e;for(var m=0,p=s.length;m<p;m++){if(e=h,n=s.charCodeAt(m),s.charAt(m),n>=55296&&n<56319){if(m++,n=(n-55296<<10)+(s.charCodeAt(m)-56320)+65536,this.FONTDATA.RemapPlane1){var f=this.FONTDATA.RemapPlane1(n,e);n=f.n,e=f.variant}}else{var M,g,b=this.FONTDATA.RANGES;for(M=0,g=b.length;M<g;M++)if("alpha"!==b[M].name||!e.noLowerCase){var x=e["offset"+b[M].offset];if(x&&n>=b[M].low&&n<=b[M].high){if(b[M].remap&&b[M].remap[n])n=x+b[M].remap[n];else{if(b[M].remapOnly)break;n=n-b[M].low+x,b[M].add&&(n+=b[M].add)}e["variant"+b[M].offset]&&(e=this.FONTDATA.VARIANT[e["variant"+b[M].offset]]);break}}}if(e.remap&&e.remap[n]?(n=e.remap[n],e.remap.variant&&(e=this.FONTDATA.VARIANT[e.remap.variant])):this.FONTDATA.REMAP[n]&&!e.noRemap&&(n=this.FONTDATA.REMAP[n]),l(n)&&(e=this.FONTDATA.VARIANT[n[1]],n=n[0]),"string"!=typeof n){if(r=(o=this.lookupChar(e,n))[n],u||!this.checkFont(o,c.style)&&!r[5].img){d.length&&(this.addText(c,d),d="");var v=!!c.style.fontFamily||!!t.style.fontStyle||!!t.style.fontWeight||!o.directory||u;u=!1,c!==t&&(v=!this.checkFont(o,t.style),c=t),v&&(c=this.addElement(t,"span",{isMathJax:!0,subSpan:!0})),this.handleFont(c,o,c!==t)}d=this.handleChar(c,o,r,n,d),(r[5]||{}).space||(r[0]/1e3>t.bbox.h&&(t.bbox.h=r[0]/1e3),r[1]/1e3>t.bbox.d&&(t.bbox.d=r[1]/1e3)),t.bbox.w+r[3]/1e3<t.bbox.lw&&(t.bbox.lw=t.bbox.w+r[3]/1e3),t.bbox.w+r[4]/1e3>t.bbox.rw&&(t.bbox.rw=t.bbox.w+r[4]/1e3),t.bbox.w+=r[2]/1e3,(r[5]||{}).isUnknown&&(t.bbox.exactW=!1)}else p=(s=n+s.substr(m+1)).length,m=-1}d.length&&this.addText(c,d),t.scale&&1!==t.scale&&(t.bbox.h*=t.scale,t.bbox.d*=t.scale,t.bbox.w*=t.scale,t.bbox.lw*=t.scale,t.bbox.rw*=t.scale),a.isChar(s)&&o.skew&&o.skew[n]&&(t.bbox.skew=o.skew[n])}},checkFont:function(t,e){var a=e.fontWeight||"normal";return a.match(/^\d+$/)&&(a=parseInt(a)>=600?"bold":"normal"),t.family.replace(/'/g,"")===e.fontFamily.replace(/'/g,"")&&((t.style||"normal")===(e.fontStyle||"normal")&&(t.weight||"normal")===a||this.FontFaceBug&&""!==e.fontFamily)},handleFont:function(t,e,i){if(t.style.fontFamily=e.family,e.directory||(t.style.fontSize=Math.floor(a.config.scale/a.scale+.5)+"%"),!a.FontFaceBug||!e.isWebFont){var s=e.style||"normal",n=e.weight||"normal";("normal"!==s||i)&&(t.style.fontStyle=s),("normal"!==n||i)&&(t.style.fontWeight=n)}},handleChar:function(t,e,i,s,n){var r=i[5];if(r.space)return n.length&&this.addText(t,n),a.createShift(t,i[2]/1e3),"";if(r.img)return this.handleImg(t,e,i,s,n);if(r.isUnknown&&this.FONTDATA.DELIMITERS[s]){n.length&&this.addText(t,n);var o=t.scale;return a.createDelimiter(t,s,0,1,e),"V"===this.FONTDATA.DELIMITERS[s].dir&&(t.style.verticalAlign=this.Em(t.bbox.d),t.bbox.h+=t.bbox.d,t.bbox.d=0),t.scale=o,i[0]=1e3*t.bbox.h,i[1]=1e3*t.bbox.d,i[2]=1e3*t.bbox.w,i[3]=1e3*t.bbox.lw,i[4]=1e3*t.bbox.rw,""}if(null==r.c)if(s<=65535)r.c=String.fromCharCode(s);else{var l=s-65536;r.c=String.fromCharCode(55296+(l>>10))+String.fromCharCode(56320+(1023&l))}return a.ffFontOptimizationBug&&i[4]-i[2]>125&&(t.style.textRendering="optimizeLegibility"),r.rfix?(this.addText(t,n+r.c),a.createShift(t,r.rfix/1e3),""):i[2]||!this.msieAccentBug&&!this.combiningCharBug||n.length?n+r.c:this.combiningCharBug?(a.addElement(t,"span",{style:{marginLeft:a.Em(i[3]/1e3)}},[r.c]),""):(a.createShift(t,i[3]/1e3),a.createShift(t,(i[4]-i[3])/1e3),this.addText(t,r.c),a.createShift(t,-i[4]/1e3),"")},handleImg:function(t,e,a,i,s){return s},lookupChar:function(t,e){var i,s;if(!t.FONTS){var n=this.FONTDATA.FONTS,r=t.fonts||this.FONTDATA.VARIANT.normal.fonts;for(r instanceof Array||(r=[r]),t.fonts!=r&&(t.fonts=r),t.FONTS=[],i=0,s=r.length;i<s;i++)n[r[i]]&&(t.FONTS.push(n[r[i]]),n[r[i]].name=r[i])}for(i=0,s=t.FONTS.length;i<s;i++){var o=t.FONTS[i];if("string"==typeof o&&(delete t.FONTS,this.loadFont(o)),o[e]){if(5===o[e].length&&(o[e][5]={}),!a.allowWebFonts||o.available)return o;this.loadWebFont(o)}else this.findBlock(o,e)}return this.unknownChar(t,e)},unknownChar:function(t,i){var s=t.defaultFont||{family:a.config.undefinedFamily};return t.bold&&(s.weight="bold"),t.italic&&(s.style="italic"),s[i]||(s[i]=[800,200,500,0,500,{isUnknown:!0}]),e.signal.Post(["HTML-CSS Jax - unknown char",i,t]),s},isChar:function(t){if(1===t.length)return!0;if(2!==t.length)return!1;var e=t.charCodeAt(0);return e>=55296&&e<56319},findBlock:function(t,e){if(t.Ranges)for(var a=0,i=t.Ranges.length;a<i;a++){if(e<t.Ranges[a][0])return;if(e<=t.Ranges[a][1]){for(var s=t.Ranges[a][2],n=t.Ranges.length-1;n>=0;n--)t.Ranges[n][2]==s&&t.Ranges.splice(n,1);this.loadFont(t.directory+"/"+s+".js")}}},loadFont:function(i){var s=MathJax.Callback.Queue();s.Push(["Require",t,this.fontDir+"/"+i]),this.imgFonts&&(MathJax.isPacked||(i=i.replace(/\/([^\/]*)$/,a.imgPacked+"/$1")),s.Push(["Require",t,this.webfontDir+"/png/"+i])),e.RestartAfter(s.Push({}))},loadWebFont:function(t){t.available=t.isWebFont=!0,a.FontFaceBug&&(t.family=t.name,a.msieFontCSSBug&&(t.family+="-Web")),e.RestartAfter(this.Font.loadWebFont(t))},loadWebFontError:function(a,i){e.Startup.signal.Post("HTML-CSS Jax - disable web fonts"),a.isWebFont=!1,this.config.imageFont&&this.config.imageFont===this.fontInUse?(this.imgFonts=!0,e.Startup.signal.Post("HTML-CSS Jax - switch to image fonts"),e.Startup.signal.Post("HTML-CSS Jax - using image fonts"),h(["WebFontNotAvailable","Web-Fonts not available -- using image fonts instead"],null,3e3),t.Require(this.directory+"/imageFonts.js",i)):(this.allowWebFonts=!1,i())},Element:MathJax.HTML.Element,addElement:MathJax.HTML.addElement,TextNode:MathJax.HTML.TextNode,addText:MathJax.HTML.addText,ucMatch:MathJax.HTML.ucMatch,BIGDIMEN:1e7,ID:0,idPostfix:"",GetID:function(){return this.ID++,this.ID},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},TeX:{x_height:.430554,quad:1,num1:.676508,num2:.393732,num3:.44373,denom1:.685951,denom2:.344841,sup1:.412892,sup2:.362892,sup3:.288888,sub1:.15,sub2:.247217,sup_drop:.386108,sub_drop:.05,delim1:2.39,delim2:1,axis_height:.25,rule_thickness:.06,big_op_spacing1:.111111,big_op_spacing2:.166666,big_op_spacing3:.2,big_op_spacing4:.6,big_op_spacing5:.1,scriptspace:.1,nulldelimiterspace:.12,delimiterfactor:901,delimitershortfall:.3,min_rule_thickness:1.25},NBSP:" ",rfuzz:0}),MathJax.Hub.Register.StartupHook("mml Jax Ready",(function(){(i=MathJax.ElementJax.mml).mbase.Augment({toHTML:function(t){t=this.HTMLcreateSpan(t),"mrow"!=this.type&&(t=this.HTMLhandleSize(t));for(var e=0,a=this.data.length;e<a;e++)this.data[e]&&this.data[e].toHTML(t);var i,s=this.HTMLcomputeBBox(t),n=t.bbox.h,r=t.bbox.d,o=!1;for(e=0,a=s.length;e<a;e++)i=s[e].HTMLspanElement().bbox,s[e].forceStretch||i.h!==n||i.d!==r?(s[e].HTMLstretchV(t,n,r),o=!0):s[e].needsBBox&&(o=!0);return o&&this.HTMLcomputeBBox(t,!0),this.HTMLlineBreaks(t)&&(t=this.HTMLmultiline(t)),this.HTMLhandleSpace(t),this.HTMLhandleColor(t),1===this.data.length&&this.data[0]&&(i=this.data[0].HTMLspanElement().bbox).skew&&(t.bbox.skew=i.skew),t},HTMLlineBreaks:function(){return!1},HTMLmultiline:function(){i.mbase.HTMLautoloadFile("multiline")},HTMLcomputeBBox:function(t,e,a,i){null==a&&(a=0),null==i&&(i=this.data.length);for(var s=t.bbox={exactW:!0},n=[];a<i;){var r=this.data[a];r&&(!e&&r.HTMLcanStretch("Vertical")&&(n.push(r),r=r.CoreMO()||r,n[n.length-1].needsBBox=r!==this.data[a]),this.HTMLcombineBBoxes(r,s),a++)}return this.HTMLcleanBBox(s),n},HTMLcombineBBoxes:function(t,e){null==e.w&&this.HTMLemptyBBox(e);var i=t.bbox?t:t.HTMLspanElement();if(i&&i.bbox){var s=i.bbox;s.d>e.d&&(e.d=s.d),s.h>e.h&&(e.h=s.h),null!=s.D&&s.D>e.D&&(e.D=s.D),null!=s.H&&s.H>e.H&&(e.H=s.H),i.style.paddingLeft&&(e.w+=a.unEm(i.style.paddingLeft)*(i.scale||1)),e.w+s.lw<e.lw&&(e.lw=e.w+s.lw),e.w+s.rw>e.rw&&(e.rw=e.w+s.rw),e.w+=s.w,i.style.paddingRight&&(e.w+=a.unEm(i.style.paddingRight)*(i.scale||1)),s.width&&(e.width=s.width,e.minWidth=s.minWidth),s.tw&&(e.tw=s.tw),s.ic?e.ic=s.ic:delete e.ic,e.exactW&&!s.exactW&&(e.exactW=s.exactW)}},HTMLemptyBBox:function(t){return t.h=t.d=t.H=t.D=t.rw=-a.BIGDIMEN,t.w=0,t.lw=a.BIGDIMEN,t},HTMLcleanBBox:function(t){t.h===this.BIGDIMEN&&(t.h=t.d=t.H=t.D=t.w=t.rw=t.lw=0),t.D<=t.d&&delete t.D,t.H<=t.h&&delete t.H},HTMLzeroBBox:function(){return{h:0,d:0,w:0,lw:0,rw:0}},HTMLcanStretch:function(t){if(this.isEmbellished()){var e=this.Core();if(e&&e!==this)return e.HTMLcanStretch(t)}return!1},HTMLstretchH:function(t,e){return this.HTMLspanElement()},HTMLstretchV:function(t,e,a){return this.HTMLspanElement()},HTMLnotEmpty:function(t){for(;t;){if("mrow"!==t.type&&"texatom"!==t.type||t.data.length>1)return!0;t=t.data[0]}return!1},HTMLmeasureChild:function(t,e){this.data[t]?a.Measured(this.data[t].toHTML(e),e):e.bbox=this.HTMLzeroBBox()},HTMLboxChild:function(t,e){return this.data[t]||this.SetData(t,i.mrow()),this.data[t].toHTML(e)},HTMLcreateSpan:function(t){if(this.spanID){var e=this.HTMLspanElement();if(e&&(e.parentNode===t||(e.parentNode||{}).parentNode===t)){for(;e.firstChild;)e.removeChild(e.firstChild);return e.bbox=this.HTMLzeroBBox(),e.scale=1,e.isMultChar=e.HH=null,e.style.cssText="",e}}return this.href&&(t=a.addElement(t,"a",{href:this.href,isMathJax:!0})),t=a.addElement(t,"span",{className:this.type,isMathJax:!0}),a.imgHeightBug&&(t.style.display="inline-block"),this.class&&(t.className+=" "+this.class),this.spanID||(this.spanID=a.GetID()),t.id=(this.id||"MathJax-Span-"+this.spanID)+a.idPostfix,t.bbox=this.HTMLzeroBBox(),this.styles={},this.style&&(t.style.cssText=this.style,t.style.fontSize&&(this.mathsize=t.style.fontSize,t.style.fontSize=""),this.styles={border:a.getBorders(t),padding:a.getPadding(t)},this.styles.border&&(t.style.border=""),this.styles.padding&&(t.style.padding="")),this.href&&(t.parentNode.bbox=t.bbox),this.HTMLaddAttributes(t),t},HTMLaddAttributes:function(t){if(this.attrNames)for(var a=this.attrNames,s=i.nocopyAttributes,n=e.config.ignoreMMLattributes,r="mstyle"===this.type?i.math.prototype.defaults:this.defaults,o=0,l=a.length;o<l;o++){var h=a[o];0!=n[h]&&(s[h]||n[h]||null!=r[h]||void 0!==t[h])||t.setAttribute(h,this.attr[h])}},HTMLspanElement:function(){return this.spanID?document.getElementById((this.id||"MathJax-Span-"+this.spanID)+a.idPostfix):null},HTMLhandleVariant:function(t,e,i){a.handleVariant(t,e,i)},HTMLhandleSize:function(t){return t.scale||(t.scale=this.HTMLgetScale(),1!==t.scale&&(t.style.fontSize=a.Percent(t.scale))),t},HTMLhandleDir:function(t){var e=this.Get("dir",!0);return e&&(t.dir=e),t},HTMLhandleColor:function(t){var e=this.getValues("mathcolor","color");this.mathbackground&&(e.mathbackground=this.mathbackground),this.background&&(e.background=this.background),this.style&&t.style.backgroundColor&&(e.mathbackground=t.style.backgroundColor,t.style.backgroundColor="transparent");var s=(this.styles||{}).border,n=(this.styles||{}).padding;if(e.color&&!this.mathcolor&&(e.mathcolor=e.color),e.background&&!this.mathbackground&&(e.mathbackground=e.background),e.mathcolor&&(t.style.color=e.mathcolor),e.mathbackground&&e.mathbackground!==i.COLOR.TRANSPARENT||s||n){var r=t.bbox,o=r.exact?0:1/a.em,l=0,h=0,d=t.style.paddingLeft,c=t.style.paddingRight;this.isToken&&(l=r.lw,h=r.rw-r.w),""!==d&&(l+=a.unEm(d)*(t.scale||1)),""!==c&&(h-=a.unEm(c)*(t.scale||1));var u=a.PaddingWidthBug||r.keepPadding||r.exactW?0:h-l,m=Math.max(0,a.getW(t)+u),p=r.h+r.d,f=-r.d,M=0,g=0;m>0&&(m+=2*o,l-=o),p>0&&(p+=2*o,f-=o),h=-m-l,s&&(h-=s.right,f-=s.bottom,M+=s.left,g+=s.right,r.h+=s.top,r.d+=s.bottom,r.w+=s.left+s.right,r.lw-=s.left,r.rw+=s.right),n&&(p+=n.top+n.bottom,m+=n.left+n.right,h-=n.right,f-=n.bottom,M+=n.left,g+=n.right,r.h+=n.top,r.d+=n.bottom,r.w+=n.left+n.right,r.lw-=n.left,r.rw+=n.right),g&&(t.style.paddingRight=a.Em(g));var b=a.Element("span",{id:"MathJax-Color-"+this.spanID+a.idPostfix,isMathJax:!0,style:{display:"inline-block",backgroundColor:e.mathbackground,width:a.Em(m),height:a.Em(p),verticalAlign:a.Em(f),marginLeft:a.Em(l),marginRight:a.Em(h)}});return a.setBorders(b,s),r.width&&(b.style.width=r.width,b.style.marginRight="-"+r.width),a.msieInlineBlockAlignBug&&(b.style.position="relative",b.style.width=b.style.height=0,b.style.verticalAlign=b.style.marginLeft=b.style.marginRight="",b.style.border=b.style.padding="",s&&a.msieBorderWidthBug&&(p+=s.top+s.bottom,m+=s.left+s.right),b.style.width=a.Em(M+o),a.placeBox(a.addElement(b,"span",{noAdjust:!0,isMathJax:!0,style:{display:"inline-block",position:"absolute",overflow:"hidden",background:e.mathbackground||"transparent",width:a.Em(m),height:a.Em(p)}}),l,r.h+o),a.setBorders(b.firstChild,s)),t.parentNode.insertBefore(b,t),a.msieColorPositionBug&&(t.style.position="relative"),b}return null},HTMLremoveColor:function(){var t=document.getElementById("MathJax-Color-"+this.spanID+a.idPostfix);t&&t.parentNode.removeChild(t)},HTMLhandleSpace:function(t){if(this.hasMMLspacing()){if("mo"!==this.type)return;var e=this.getValues("scriptlevel","lspace","rspace");if(e.scriptlevel<=0||this.hasValue("lspace")||this.hasValue("rspace")){var i=this.HTMLgetMu(t);e.lspace=Math.max(0,a.length2em(e.lspace,i)),e.rspace=Math.max(0,a.length2em(e.rspace,i));for(var s=this,n=this.Parent();n&&n.isEmbellished()&&n.Core()===s;)s=n,n=n.Parent(),t=s.HTMLspanElement();e.lspace&&(t.style.paddingLeft=a.Em(e.lspace)),e.rspace&&(t.style.paddingRight=a.Em(e.rspace))}}else{var r=this.texSpacing();""!==r&&(this.HTMLgetScale(),r=a.length2em(r,this.scale)/(t.scale||1)*this.mscale,t.style.paddingLeft&&(r+=a.unEm(t.style.paddingLeft)),t.style.paddingLeft=a.Em(r))}},HTMLgetScale:function(){if(this.scale)return this.scale*this.mscale;var t=1,e=this.getValues("scriptlevel","fontsize");if(e.mathsize=(this.isToken?this:this.Parent()).Get("mathsize"),this.style){var i=this.HTMLspanElement();""!=i.style.fontSize&&(e.fontsize=i.style.fontSize)}return e.fontsize&&!this.mathsize&&(e.mathsize=e.fontsize),0!==e.scriptlevel&&(e.scriptlevel>2&&(e.scriptlevel=2),t=Math.pow(this.Get("scriptsizemultiplier"),e.scriptlevel),e.scriptminsize=a.length2em(this.Get("scriptminsize")),t<e.scriptminsize&&(t=e.scriptminsize)),this.scale=t,this.mscale=a.length2em(e.mathsize),t*this.mscale},HTMLgetMu:function(t){var e=1,a=this.getValues("scriptlevel","scriptsizemultiplier");return t.scale&&1!==t.scale&&(e=1/t.scale),0!==a.scriptlevel&&(a.scriptlevel>2&&(a.scriptlevel=2),e=Math.sqrt(Math.pow(a.scriptsizemultiplier,a.scriptlevel))),e},HTMLgetVariant:function(){var t=this.getValues("mathvariant","fontfamily","fontweight","fontstyle");if(t.hasVariant=this.Get("mathvariant",!0),t.hasVariant||(t.family=t.fontfamily,t.weight=t.fontweight,t.style=t.fontstyle),this.style){var e=this.HTMLspanElement();!t.family&&e.style.fontFamily&&(t.family=e.style.fontFamily),!t.weight&&e.style.fontWeight&&(t.weight=e.style.fontWeight),!t.style&&e.style.fontStyle&&(t.style=e.style.fontStyle)}t.weight&&t.weight.match(/^\d+$/)&&(t.weight=parseInt(t.weight)>600?"bold":"normal");var s=t.mathvariant;return this.variantForm&&(s="-"+a.fontInUse+"-variant"),t.family&&!t.hasVariant?(!t.weight&&t.mathvariant.match(/bold/)&&(t.weight="bold"),!t.style&&t.mathvariant.match(/italic/)&&(t.style="italic"),{FONTS:[],fonts:[],noRemap:!0,defaultFont:{family:t.family,style:t.style,weight:t.weight}}):("bold"===t.weight?s={normal:i.VARIANT.BOLD,italic:i.VARIANT.BOLDITALIC,fraktur:i.VARIANT.BOLDFRAKTUR,script:i.VARIANT.BOLDSCRIPT,"sans-serif":i.VARIANT.BOLDSANSSERIF,"sans-serif-italic":i.VARIANT.SANSSERIFBOLDITALIC}[s]||s:"normal"===t.weight&&(s={bold:i.VARIANT.normal,"bold-italic":i.VARIANT.ITALIC,"bold-fraktur":i.VARIANT.FRAKTUR,"bold-script":i.VARIANT.SCRIPT,"bold-sans-serif":i.VARIANT.SANSSERIF,"sans-serif-bold-italic":i.VARIANT.SANSSERIFITALIC}[s]||s),"italic"===t.style?s={normal:i.VARIANT.ITALIC,bold:i.VARIANT.BOLDITALIC,"sans-serif":i.VARIANT.SANSSERIFITALIC,"bold-sans-serif":i.VARIANT.SANSSERIFBOLDITALIC}[s]||s:"normal"===t.style&&(s={italic:i.VARIANT.NORMAL,"bold-italic":i.VARIANT.BOLD,"sans-serif-italic":i.VARIANT.SANSSERIF,"sans-serif-bold-italic":i.VARIANT.BOLDSANSSERIF}[s]||s),s in a.FONTDATA.VARIANT||(s="normal"),a.FONTDATA.VARIANT[s])},HTMLdrawBBox:function(t){var e=t.bbox,i=a.Element("span",{style:{"font-size":t.style.fontSize,display:"inline-block",opacity:.25,"margin-left":a.Em(-e.w)}},[["span",{style:{height:a.Em(e.h),width:a.Em(e.w),"background-color":"red",display:"inline-block"}}],["span",{style:{height:a.Em(e.d),width:a.Em(e.w),"margin-left":a.Em(-e.w),"vertical-align":a.Em(-e.d),"background-color":"green",display:"inline-block"}}]]);t.nextSibling?t.parentNode.insertBefore(i,t.nextSibling):t.parentNode.appendChild(i)}},{HTMLautoload:function(){this.constructor.Augment({toHTML:i.mbase.HTMLautoloadFail});var s=a.autoloadDir+"/"+this.type+".js";e.RestartAfter(t.Require(s))},HTMLautoloadFail:function(){throw Error("HTML-CSS can't autoload '"+this.type+"'")},HTMLautoloadList:{},HTMLautoloadFile:function(s){if(i.mbase.HTMLautoloadList.hasOwnProperty(s))throw Error("HTML-CSS can't autoload file '"+s+"'");i.mbase.HTMLautoloadList[s]=!0;var n=a.autoloadDir+"/"+s+".js";e.RestartAfter(t.Require(n))},HTMLstretchH:function(t,e){return this.HTMLremoveColor(),this.toHTML(t,e)},HTMLstretchV:function(t,e,a){return this.HTMLremoveColor(),this.toHTML(t,e,a)}}),i.chars.Augment({toHTML:function(t,e,i,s){var n=this.data.join("").replace(/[\u2061-\u2064]/g,"");if(i&&(n=i(n,s)),e.fontInherit){var r=Math.floor(a.config.scale/a.scale+.5)+"%";a.addElement(t,"span",{style:{"font-size":r}},[n]),e.bold&&(t.lastChild.style.fontWeight="bold"),e.italic&&(t.lastChild.style.fontStyle="italic"),t.bbox=null;var o=a.getHD(t),l=a.getW(t);t.bbox={h:o.h,d:o.d,w:l,lw:0,rw:l,exactW:!0}}else this.HTMLhandleVariant(t,e,n)}}),i.entity.Augment({toHTML:function(t,e,i,s){var n=this.toString().replace(/[\u2061-\u2064]/g,"");if(i&&(n=i(n,s)),e.fontInherit){var r=Math.floor(a.config.scale/a.scale+.5)+"%";a.addElement(t,"span",{style:{"font-size":r}},[n]),e.bold&&(t.lastChild.style.fontWeight="bold"),e.italic&&(t.lastChild.style.fontStyle="italic"),delete t.bbox;var o=a.getHD(t),l=a.getW(t);t.bbox={h:o.h,d:o.d,w:l,lw:0,rw:l,exactW:!0}}else this.HTMLhandleVariant(t,e,n)}}),i.mi.Augment({toHTML:function(t){(t=this.HTMLhandleSize(this.HTMLcreateSpan(t))).bbox=null;for(var e=this.HTMLgetVariant(),i=0,s=this.data.length;i<s;i++)this.data[i]&&this.data[i].toHTML(t,e);t.bbox||(t.bbox=this.HTMLzeroBBox());var n=this.data.join(""),r=t.bbox;return r.skew&&!a.isChar(n)&&delete r.skew,r.rw>r.w&&a.isChar(n)&&!e.noIC&&(r.ic=r.rw-r.w,a.createBlank(t,r.ic/this.mscale),r.w=r.rw),this.HTMLhandleSpace(t),this.HTMLhandleColor(t),this.HTMLhandleDir(t),t}}),i.mn.Augment({HTMLremapMinus:function(t){return t.replace(/^-/,"−")},toHTML:function(t){(t=this.HTMLhandleSize(this.HTMLcreateSpan(t))).bbox=null;for(var e=this.HTMLgetVariant(),i=this.HTMLremapMinus,s=0,n=this.data.length;s<n;s++)this.data[s]&&(this.data[s].toHTML(t,e,i),i=null);return t.bbox||(t.bbox=this.HTMLzeroBBox()),a.isChar(this.data.join(""))||delete t.bbox.skew,this.HTMLhandleSpace(t),this.HTMLhandleColor(t),this.HTMLhandleDir(t),t}}),i.mo.Augment({toHTML:function(t){if(t=this.HTMLhandleSize(this.HTMLcreateSpan(t)),0==this.data.length)return t;t.bbox=null;var e=this.data.join(""),s=this.HTMLgetVariant(),n=this.getValues("largeop","displaystyle");n.largeop&&(s=a.FONTDATA.VARIANT[n.displaystyle?"-largeOp":"-smallOp"]);var r=this.CoreParent(),o=r&&r.isa(i.msubsup)&&this!==r.data[r.base],l=o?this.remapChars:null;if(a.isChar(e)&&r&&r.isa(i.munderover)&&a.isChar(this.CoreText(r.data[r.base]))){var h=r.data[r.over],d=r.data[r.under];h&&this===h.CoreMO()&&r.Get("accent")?l=a.FONTDATA.REMAPACCENT:d&&this===d.CoreMO()&&r.Get("accentunder")&&(l=a.FONTDATA.REMAPACCENTUNDER)}o&&e.match(/['`"\u00B4\u2032-\u2037\u2057]/)&&(s=a.FONTDATA.VARIANT["-"+a.fontInUse+"-variant"]);for(var c=0,u=this.data.length;c<u;c++)this.data[c]&&this.data[c].toHTML(t,s,this.remap,l);if(t.bbox||(t.bbox=this.HTMLzeroBBox()),a.isChar(e)||delete t.bbox.skew,a.AccentBug&&0===t.bbox.w&&a.isChar(e)&&t.firstChild&&(t.firstChild.nodeValue+=a.NBSP,a.createSpace(t,0,0,-t.offsetWidth/a.em)),n.largeop){var m=a.TeX.axis_height*this.scale*this.mscale,p=(t.bbox.h-t.bbox.d)/2-m;a.safariVerticalAlignBug&&"IMG"===t.lastChild.nodeName?t.lastChild.style.verticalAlign=a.Em(a.unEm(t.lastChild.style.verticalAlign||0)/a.em-p/t.scale):a.konquerorVerticalAlignBug&&"IMG"===t.lastChild.nodeName?(t.style.position="relative",t.lastChild.style.position="relative",t.lastChild.style.top=a.Em(p/t.scale)):t.style.verticalAlign=a.Em(-p/t.scale),t.bbox.h-=p,t.bbox.d+=p,t.bbox.rw>t.bbox.w&&(t.bbox.ic=t.bbox.rw-t.bbox.w,a.createBlank(t,t.bbox.ic/this.mscale),t.bbox.w=t.bbox.rw)}return this.HTMLhandleSpace(t),this.HTMLhandleColor(t),this.HTMLhandleDir(t),t},HTMLcanStretch:function(t){if(!this.Get("stretchy"))return!1;var e=this.data.join("");if(e.length>1)return!1;var s=this.CoreParent();if(s&&s.isa(i.munderover)&&a.isChar(this.CoreText(s.data[s.base]))){var n=s.data[s.over],r=s.data[s.under];n&&this===n.CoreMO()&&s.Get("accent")?e=a.FONTDATA.REMAPACCENT[e]||e:r&&this===r.CoreMO()&&s.Get("accentunder")&&(e=a.FONTDATA.REMAPACCENTUNDER[e]||e)}var o=(e=a.FONTDATA.DELIMITERS[e.charCodeAt(0)])&&e.dir===t.substr(0,1);return this.forceStretch=o&&(this.Get("minsize",!0)||this.Get("maxsize",!0)),o},HTMLstretchV:function(t,e,i){this.HTMLremoveColor();var s,n=this.getValues("symmetric","maxsize","minsize"),r=this.HTMLspanElement(),o=this.HTMLgetMu(r),l=this.HTMLgetScale(),h=a.TeX.axis_height*l;return s=n.symmetric?2*Math.max(e-h,i+h):e+i,n.maxsize=a.length2em(n.maxsize,o,r.bbox.h+r.bbox.d),n.minsize=a.length2em(n.minsize,o,r.bbox.h+r.bbox.d),(s=Math.max(n.minsize,Math.min(n.maxsize,s)))!=n.minsize&&(s=[Math.max(s*a.TeX.delimiterfactor/1e3,s-a.TeX.delimitershortfall),s]),r=this.HTMLcreateSpan(t),a.createDelimiter(r,this.data.join("").charCodeAt(0),s,l),s=n.symmetric?(r.bbox.h+r.bbox.d)/2+h:(r.bbox.h+r.bbox.d)*e/(e+i),a.positionDelimiter(r,s),this.HTMLhandleSpace(r),this.HTMLhandleColor(r),r},HTMLstretchH:function(t,e){this.HTMLremoveColor();var s=this.getValues("maxsize","minsize","mathvariant","fontweight");("bold"===s.fontweight||parseInt(s.fontweight)>=600)&&!this.Get("mathvariant",!0)&&(s.mathvariant=i.VARIANT.BOLD);var n=this.HTMLspanElement(),r=this.HTMLgetMu(n),o=n.scale;return s.maxsize=a.length2em(s.maxsize,r,n.bbox.w),s.minsize=a.length2em(s.minsize,r,n.bbox.w),e=Math.max(s.minsize,Math.min(s.maxsize,e)),n=this.HTMLcreateSpan(t),a.createDelimiter(n,this.data.join("").charCodeAt(0),e,o,s.mathvariant),this.HTMLhandleSpace(n),this.HTMLhandleColor(n),n}}),i.mtext.Augment({toHTML:function(t){t=this.HTMLhandleSize(this.HTMLcreateSpan(t));var e=this.HTMLgetVariant();if(a.config.mtextFontInherit||"merror"===this.Parent().type){var i=this.Get("mathvariant");"monospace"===i?t.className+=" MJX-monospace":i.match(/sans-serif/)&&(t.className+=" MJX-sans-serif"),e={bold:e.bold,italic:e.italic,fontInherit:!0}}for(var s=0,n=this.data.length;s<n;s++)this.data[s]&&this.data[s].toHTML(t,e);return t.bbox||(t.bbox=this.HTMLzeroBBox()),a.isChar(this.data.join(""))||delete t.bbox.skew,this.HTMLhandleSpace(t),this.HTMLhandleColor(t),this.HTMLhandleDir(t),t}}),i.merror.Augment({toHTML:function(t){var e=MathJax.HTML.addElement(t,"span",{style:{display:"inline-block"}});t=this.SUPER(arguments).toHTML.call(this,e);var i=a.getHD(e),s=a.getW(e);return e.bbox={h:i.h,d:i.d,w:s,lw:0,rw:s,exactW:!0},e.id=t.id,t.id=null,e}}),i.ms.Augment({toHTML:i.mbase.HTMLautoload}),i.mglyph.Augment({toHTML:i.mbase.HTMLautoload}),i.mspace.Augment({toHTML:function(t){t=this.HTMLcreateSpan(t);var e=this.getValues("height","depth","width"),i=this.HTMLgetMu(t);this.HTMLgetScale(),e.mathbackground=this.mathbackground,this.background&&!this.mathbackground&&(e.mathbackground=this.background);var s=a.length2em(e.height,i)*this.mscale,n=a.length2em(e.depth,i)*this.mscale,r=a.length2em(e.width,i)*this.mscale;return a.createSpace(t,s,n,r,e.mathbackground,!0),t}}),i.mphantom.Augment({toHTML:function(t,e,i){if(t=this.HTMLcreateSpan(t),null!=this.data[0]){var s=this.data[0].toHTML(t);null!=i?a.Remeasured(this.data[0].HTMLstretchV(t,e,i),t):null!=e?a.Remeasured(this.data[0].HTMLstretchH(t,e),t):s=a.Measured(s,t),t.bbox={w:s.bbox.w,h:s.bbox.h,d:s.bbox.d,lw:0,rw:0,exactW:!0};for(var n=0,r=t.childNodes.length;n<r;n++)t.childNodes[n].style.visibility="hidden"}return this.HTMLhandleSpace(t),this.HTMLhandleColor(t),t},HTMLstretchH:i.mbase.HTMLstretchH,HTMLstretchV:i.mbase.HTMLstretchV}),i.mpadded.Augment({toHTML:function(t,e,i){if(t=this.HTMLcreateSpan(t),null!=this.data[0]){var s=a.createStack(t,!0),n=a.createBox(s),r=this.data[0].toHTML(n);null!=i?a.Remeasured(this.data[0].HTMLstretchV(n,e,i),n):null!=e?a.Remeasured(this.data[0].HTMLstretchH(n,e),n):a.Measured(r,n);var o=this.getValues("height","depth","width","lspace","voffset"),l=0,h=0,d=this.HTMLgetMu(t);this.HTMLgetScale(),o.lspace&&(l=this.HTMLlength2em(n,o.lspace,d)),o.voffset&&(h=this.HTMLlength2em(n,o.voffset,d)),a.placeBox(n,l,h),l/=this.mscale,h/=this.mscale,t.bbox={h:n.bbox.h,d:n.bbox.d,w:n.bbox.w,exactW:!0,lw:n.bbox.lw+l,rw:n.bbox.rw+l,H:Math.max(null==n.bbox.H?-a.BIGDIMEN:n.bbox.H+h,n.bbox.h+h),D:Math.max(null==n.bbox.D?-a.BIGDIMEN:n.bbox.D-h,n.bbox.d-h)},""!==o.height&&(t.bbox.h=this.HTMLlength2em(n,o.height,d,"h",0)),""!==o.depth&&(t.bbox.d=this.HTMLlength2em(n,o.depth,d,"d",0)),""!==o.width&&(t.bbox.w=this.HTMLlength2em(n,o.width,d,"w",0)),t.bbox.H<=t.bbox.h&&delete t.bbox.H,t.bbox.D<=t.bbox.d&&delete t.bbox.D;var c=/^\s*(\d+(\.\d*)?|\.\d+)\s*(pt|em|ex|mu|px|pc|in|mm|cm)\s*$/;t.bbox.exact=!!(this.data[0]&&0==this.data[0].data.length||c.exec(o.height)||c.exec(o.width)||c.exec(o.depth)),a.setStackWidth(s,t.bbox.w)}return this.HTMLhandleSpace(t),this.HTMLhandleColor(t),t},HTMLlength2em:function(t,e,i,s,n){null==n&&(n=-a.BIGDIMEN);var r=String(e).match(/width|height|depth/),o=r?t.bbox[r[0].charAt(0)]:s?t.bbox[s]:0,l=a.length2em(e,i,o/this.mscale)*this.mscale;return s&&String(e).match(/^\s*[-+]/)?Math.max(n,t.bbox[s]+l):l},HTMLstretchH:i.mbase.HTMLstretchH,HTMLstretchV:i.mbase.HTMLstretchV}),i.mrow.Augment({HTMLlineBreaks:function(t){return!!this.parent.linebreakContainer&&(a.config.linebreaks.automatic&&t.bbox.w>a.linebreakWidth||this.hasNewline())},HTMLstretchH:function(t,e){this.HTMLremoveColor();var a=this.HTMLspanElement();return this.data[this.core].HTMLstretchH(a,e),this.HTMLcomputeBBox(a,!0),this.HTMLhandleColor(a),a},HTMLstretchV:function(t,e,a){this.HTMLremoveColor();var i=this.HTMLspanElement();return this.data[this.core].HTMLstretchV(i,e,a),this.HTMLcomputeBBox(i,!0),this.HTMLhandleColor(i),i}}),i.mstyle.Augment({toHTML:function(t,e,a){if(t=this.HTMLcreateSpan(t),null!=this.data[0]){var i=this.data[0].toHTML(t);null!=a?this.data[0].HTMLstretchV(t,e,a):null!=e&&this.data[0].HTMLstretchH(t,e),t.bbox=i.bbox}return this.HTMLhandleSpace(t),this.HTMLhandleColor(t),t},HTMLstretchH:i.mbase.HTMLstretchH,HTMLstretchV:i.mbase.HTMLstretchV}),i.mfrac.Augment({toHTML:function(t){t=this.HTMLcreateSpan(t);var e=a.createStack(t),i=a.createBox(e),s=a.createBox(e);a.MeasureSpans([this.HTMLboxChild(0,i),this.HTMLboxChild(1,s)]);var n=this.getValues("displaystyle","linethickness","numalign","denomalign","bevelled"),r=this.HTMLgetScale(),o=n.displaystyle,l=a.TeX.axis_height*r;if(n.bevelled){var h=o?.4:.15,d=Math.max(i.bbox.h+i.bbox.d,s.bbox.h+s.bbox.d)+2*h,c=a.createBox(e);a.createDelimiter(c,47,d),a.placeBox(i,0,(i.bbox.d-i.bbox.h)/2+l+h),a.placeBox(c,i.bbox.w-h/2,(c.bbox.d-c.bbox.h)/2+l),a.placeBox(s,i.bbox.w+c.bbox.w-h,(s.bbox.d-s.bbox.h)/2+l-h)}else{var u,m,p,f,M=Math.max(i.bbox.w,s.bbox.w),g=a.thickness2em(n.linethickness,this.scale)*this.mscale,b=a.TeX.min_rule_thickness/this.em;if(o?(p=a.TeX.num1,f=a.TeX.denom1):(p=0===g?a.TeX.num3:a.TeX.num2,f=a.TeX.denom2),p*=r,f*=r,0===g)u=Math.max((o?7:3)*a.TeX.rule_thickness,2*b),(m=p-i.bbox.d-(s.bbox.h-f))<u&&(p+=(u-m)/2,f+=(u-m)/2);else{u=Math.max((o?2:0)*b+g,g/2+1.5*b),(m=p-i.bbox.d-(l+g/2))<u&&(p+=u-m),(m=l-g/2-(s.bbox.h-f))<u&&(f+=u-m);var x=a.createBox(e);a.createRule(x,g,0,M+2*g),a.placeBox(x,0,l-g/2)}a.alignBox(i,n.numalign,p,0,!0),a.alignBox(s,n.denomalign,-f,0,!0)}return this.HTMLhandleSpace(t),this.HTMLhandleColor(t),t},HTMLcanStretch:function(t){return!1},HTMLhandleSpace:function(t){if(!this.texWithDelims){var e=a.TeX.nulldelimiterspace*this.mscale,i=t.childNodes[a.msiePaddingWidthBug?1:0].style;i.marginLeft=i.marginRight=a.Em(e),t.bbox.w+=2*e,t.bbox.rw+=2*e}this.SUPER(arguments).HTMLhandleSpace.call(this,t)}}),i.msqrt.Augment({toHTML:function(t){t=this.HTMLcreateSpan(t);var e,i,s,n,r=a.createStack(t),o=a.createBox(r),l=a.createBox(r),h=a.createBox(r),d=this.HTMLgetScale(),c=a.TeX.rule_thickness*d;e=this.Get("displaystyle")?a.TeX.x_height*d:c,i=Math.max(c+e/4,1.5*a.TeX.min_rule_thickness/this.em);var u=this.HTMLboxChild(0,o);s=u.bbox.h+u.bbox.d+i+c,a.createDelimiter(h,8730,s,d),a.MeasureSpans([u,h]),n=u.bbox.w;var m=0;(h.isMultiChar||a.AdjustSurd&&a.imgFonts)&&(h.bbox.w*=.95),h.bbox.h+h.bbox.d>s&&(i=(h.bbox.h+h.bbox.d-(s-c))/2);var p=a.FONTDATA.DELIMITERS[a.FONTDATA.RULECHAR];return!p||n<(p.HW[0]||[0])[0]*d||d<.75?(a.createRule(l,0,c,n),l.bbox.h=-c):a.createDelimiter(l,a.FONTDATA.RULECHAR,n,d),i=(s=u.bbox.h+i+c)*a.rfuzz,h.isMultiChar&&(i=a.rfuzz),m=this.HTMLaddRoot(r,h,m,h.bbox.h+h.bbox.d-s,d),a.placeBox(h,m,s-h.bbox.h),a.placeBox(l,m+h.bbox.w,s-l.bbox.h+i),a.placeBox(o,m+h.bbox.w,0),this.HTMLhandleSpace(t),this.HTMLhandleColor(t),t},HTMLaddRoot:function(t,e,a,i,s){return a}}),i.mroot.Augment({toHTML:i.msqrt.prototype.toHTML,HTMLaddRoot:function(t,e,i,s,n){var r=a.createBox(t);if(this.data[1]){var o=this.data[1].toHTML(r);o.style.paddingRight=o.style.paddingLeft="",a.Measured(o,r)}else r.bbox=this.HTMLzeroBBox();var l=this.HTMLrootHeight(e.bbox.h+e.bbox.d,n,r)-s,h=Math.min(r.bbox.w,r.bbox.rw);return i=Math.max(h,e.offset),a.placeBox(r,i-h,l),i-e.offset},HTMLrootHeight:function(t,e,a){return.45*(t-.9*e)+.6*e+Math.max(0,a.bbox.d-.075)}}),i.mfenced.Augment({toHTML:function(t){t=this.HTMLcreateSpan(t),this.data.open&&this.data.open.toHTML(t),null!=this.data[0]&&this.data[0].toHTML(t);for(var e=1,a=this.data.length;e<a;e++)this.data[e]&&(this.data["sep"+e]&&this.data["sep"+e].toHTML(t),this.data[e].toHTML(t));this.data.close&&this.data.close.toHTML(t);var i=this.HTMLcomputeBBox(t),s=t.bbox.h,n=t.bbox.d;for(e=0,a=i.length;e<a;e++)i[e].HTMLstretchV(t,s,n);return i.length&&this.HTMLcomputeBBox(t,!0),this.HTMLhandleSpace(t),this.HTMLhandleColor(t),t},HTMLcomputeBBox:function(t,e){var a=t.bbox={},i=[];this.HTMLcheckStretchy(this.data.open,a,i,e),this.HTMLcheckStretchy(this.data[0],a,i,e);for(var s=1,n=this.data.length;s<n;s++)this.data[s]&&(this.HTMLcheckStretchy(this.data["sep"+s],a,i,e),this.HTMLcheckStretchy(this.data[s],a,i,e));return this.HTMLcheckStretchy(this.data.close,a,i,e),this.HTMLcleanBBox(a),i},HTMLcheckStretchy:function(t,e,a,i){t&&(!i&&t.HTMLcanStretch("Vertical")&&(a.push(t),t=t.CoreMO()||t),this.HTMLcombineBBoxes(t,e))}}),i.menclose.Augment({toHTML:i.mbase.HTMLautoload}),i.maction.Augment({toHTML:i.mbase.HTMLautoload}),i.semantics.Augment({toHTML:function(t,e,a){if(t=this.HTMLcreateSpan(t),null!=this.data[0]){var i=this.data[0].toHTML(t);null!=a?this.data[0].HTMLstretchV(t,e,a):null!=e&&this.data[0].HTMLstretchH(t,e),t.bbox=i.bbox}return this.HTMLhandleSpace(t),t},HTMLstretchH:i.mbase.HTMLstretchH,HTMLstretchV:i.mbase.HTMLstretchV}),i.munderover.Augment({toHTML:function(t,e,s){var n=this.getValues("displaystyle","accent","accentunder","align"),r=this.data[this.base];if(!n.displaystyle&&null!=r&&(r.movablelimits||r.CoreMO().Get("movablelimits")))return i.msubsup.prototype.toHTML.call(this,t);t=this.HTMLcreateSpan(t);var o,l,h,d=this.HTMLgetScale(),c=a.createStack(t),u=[],m=[],p=[];for(l=0,h=this.data.length;l<h;l++)null!=this.data[l]&&(o=u[l]=a.createBox(c),m[l]=this.data[l].toHTML(o),l==this.base?(null!=s?this.data[this.base].HTMLstretchV(o,e,s):null!=e&&this.data[this.base].HTMLstretchH(o,e),p[l]=(null!=s||null==e)&&this.data[l].HTMLcanStretch("Horizontal"),this.data[this.over]&&n.accent&&(m[l].bbox.h=Math.max(m[l].bbox.h,d*a.TeX.x_height))):(p[l]=this.data[l].HTMLcanStretch("Horizontal"),m[l].style.paddingLeft=m[l].style.paddingRight=""));a.MeasureSpans(m);var f=-a.BIGDIMEN,M=f;for(l=0,h=this.data.length;l<h;l++)this.data[l]&&(u[l].bbox.w>M&&(M=u[l].bbox.w),!p[l]&&M>f&&(f=M));for(null==s&&null!=e?f=e:f==-a.BIGDIMEN&&(f=M),l=M=0,h=this.data.length;l<h;l++)this.data[l]&&(o=u[l],p[l]&&(o.bbox=this.data[l].HTMLstretchH(o,f).bbox,l!==this.base&&(m[l].style.paddingLeft=m[l].style.paddingRight="")),o.bbox.w>M&&(M=o.bbox.w));var g,b,x,v,T,E,L=a.TeX.rule_thickness*this.mscale,y=a.FONTDATA.TeX_factor,C=0;for((r=u[this.base]||{bbox:this.HTMLzeroBBox()}).bbox.ic&&(C=1.3*r.bbox.ic+.05),l=0,h=this.data.length;l<h;l++)if(null!=this.data[l]){o=u[l],T=a.TeX.big_op_spacing5*d;var A=l!=this.base&&n[this.ACCENTS[l]];A&&o.bbox.w<=1/a.em+1e-4&&(o.bbox.w=o.bbox.rw-o.bbox.lw,o.bbox.noclip=!0,o.bbox.lw&&o.insertBefore(a.createSpace(o.parentNode,0,0,-o.bbox.lw),o.firstChild),a.createBlank(o,0,0,o.bbox.rw+.1)),g={left:0,center:(M-o.bbox.w)/2,right:M-o.bbox.w}[n.align],b=0,l==this.over?(A?(E=Math.max(L*d*y,2.5/this.em),T=0,r.bbox.skew&&(g+=r.bbox.skew,t.bbox.skew=r.bbox.skew,g+o.bbox.w>M&&(t.bbox.skew+=(M-o.bbox.w-g)/2))):(x=a.TeX.big_op_spacing1*d*y,v=a.TeX.big_op_spacing3*d*y,E=Math.max(x,v-Math.max(0,o.bbox.d))),E=Math.max(E,1.5/this.em),g+=C/2,b=r.bbox.h+o.bbox.d+E,o.bbox.h+=T):l==this.under&&(A?(E=3*L*d*y,T=0):(x=a.TeX.big_op_spacing2*d*y,v=a.TeX.big_op_spacing4*d*y,E=Math.max(x,v-o.bbox.h)),E=Math.max(E,1.5/this.em),g-=C/2,b=-(r.bbox.d+o.bbox.h+E),o.bbox.d+=T),a.placeBox(o,g,b)}return this.HTMLhandleSpace(t),this.HTMLhandleColor(t),t},HTMLstretchH:i.mbase.HTMLstretchH,HTMLstretchV:i.mbase.HTMLstretchV}),i.msubsup.Augment({toHTML:function(t,e,i){t=this.HTMLcreateSpan(t);var s,n=this.HTMLgetScale(),r=this.HTMLgetMu(t),o=a.createStack(t),l=[],h=a.createBox(o);this.data[this.base]?(l.push(this.data[this.base].toHTML(h)),null!=i?this.data[this.base].HTMLstretchV(h,e,i):null!=e&&this.data[this.base].HTMLstretchH(h,e)):h.bbox=this.HTMLzeroBBox();var d,c,u=a.TeX.x_height*n,m=a.TeX.scriptspace*n*.75;this.HTMLnotEmpty(this.data[this.sup])&&(d=a.createBox(o),l.push(this.data[this.sup].toHTML(d))),this.HTMLnotEmpty(this.data[this.sub])&&(c=a.createBox(o),l.push(this.data[this.sub].toHTML(c))),a.MeasureSpans(l),d&&(d.bbox.w+=m,d.bbox.rw=Math.max(d.bbox.w,d.bbox.rw)),c&&(c.bbox.w+=m,c.bbox.rw=Math.max(c.bbox.w,c.bbox.rw)),a.placeBox(h,0,0);var p=n;d?p=this.data[this.sup].HTMLgetScale():c&&(p=this.data[this.sub].HTMLgetScale());var f,M=a.TeX.sup_drop*p,g=a.TeX.sub_drop*p,b=h.bbox.h-M,x=h.bbox.d+g,v=0;h.bbox.ic&&(h.bbox.w-=h.bbox.ic,v=1.3*h.bbox.ic+.05),!this.data[this.base]||null!=e||null!=i||"mi"!==this.data[this.base].type&&"mo"!==this.data[this.base].type||a.isChar(this.data[this.base].data.join(""))&&1===l[0].scale&&!this.data[this.base].Get("largeop")&&(b=x=0);var T=this.getValues("subscriptshift","superscriptshift");if(T.subscriptshift=""===T.subscriptshift?0:a.length2em(T.subscriptshift,r),T.superscriptshift=""===T.superscriptshift?0:a.length2em(T.superscriptshift,r),d)if(c){x=Math.max(x,a.TeX.sub2*n);var E=a.TeX.rule_thickness*n;b-d.bbox.d-(c.bbox.h-x)<3*E&&(x=3*E-b+d.bbox.d+c.bbox.h,(M=.8*u-(b-d.bbox.d))>0&&(b+=M,x-=M)),a.placeBox(d,h.bbox.w+v,Math.max(b,T.superscriptshift)),a.placeBox(c,h.bbox.w,-Math.max(x,T.subscriptshift))}else s=this.getValues("displaystyle","texprimestyle"),f=a.TeX[s.displaystyle?"sup1":s.texprimestyle?"sup3":"sup2"],b=Math.max(b,f*n,d.bbox.d+1/4*u,T.superscriptshift),a.placeBox(d,h.bbox.w+v,b,d.bbox);else c&&(x=Math.max(x,a.TeX.sub1*n,c.bbox.h-.8*u,T.subscriptshift),a.placeBox(c,h.bbox.w,-x,c.bbox));return this.HTMLhandleSpace(t),this.HTMLhandleColor(t),t},HTMLstretchH:i.mbase.HTMLstretchH,HTMLstretchV:i.mbase.HTMLstretchV}),i.mmultiscripts.Augment({toHTML:i.mbase.HTMLautoload}),i.mtable.Augment({toHTML:i.mbase.HTMLautoload}),i["annotation-xml"].Augment({toHTML:i.mbase.HTMLautoload}),i.annotation.Augment({toHTML:function(t){return this.HTMLcreateSpan(t)}}),i.math.Augment({toHTML:function(t,s,n){var r,o,l,h,d=t;if(n&&n!==a.PHASE.I)t=t.firstChild.firstChild,this.href&&(t=t.firstChild),"relative"!==(r=t.firstChild).style.position&&(r=r.nextSibling),l=(o=r.firstChild).firstChild;else{var c=a.addElement(t,"nobr",{isMathJax:!0});t=this.HTMLcreateSpan(c);var u=this.Get("alttext");u&&!t.getAttribute("aria-label")&&t.setAttribute("aria-label",u),r=a.createStack(t),o=a.createBox(r),r.style.fontSize=c.parentNode.style.fontSize,c.parentNode.style.fontSize="",null!=this.data[0]&&(i.mbase.prototype.displayAlign=e.config.displayAlign,i.mbase.prototype.displayIndent=e.config.displayIndent,String(e.config.displayIndent).match(/^0($|[a-z%])/i)&&(i.mbase.prototype.displayIndent="0"),(l=this.data[0].toHTML(o)).bbox.exactW=!1)}if(h=n&&n!==a.PHASE.II?l:a.Measured(l,o),!n||n===a.PHASE.III){a.placeBox(o,0,0);var m=h.bbox.w;m=Math.abs(m)<.006?0:Math.max(0,Math.round(m*this.em)+.25),t.style.width=a.EmRounded(m/a.outerEm),t.style.display="inline-block";var p=1/a.em,f=a.em/a.outerEm;a.em/=f,t.bbox.h*=f,t.bbox.d*=f,t.bbox.w*=f,t.bbox.lw*=f,t.bbox.rw*=f,t.bbox.H&&(t.bbox.H*=f),t.bbox.D&&(t.bbox.D*=f),h&&null!=h.bbox.width&&(t.style.minWidth=h.bbox.minWidth||t.style.width,t.style.width=h.bbox.width,o.style.width=r.style.width="100%",d.className+=" MathJax_FullWidth");var M=this.HTMLhandleColor(t);if(h&&a.createRule(t,(h.bbox.h+p)*f,(h.bbox.d+p)*f,0),!this.isMultiline&&"block"===this.Get("display")&&null==t.bbox.width){var g=this.getValues("indentalignfirst","indentshiftfirst","indentalign","indentshift");g.indentalignfirst!==i.INDENTALIGN.INDENTALIGN&&(g.indentalign=g.indentalignfirst),g.indentalign===i.INDENTALIGN.AUTO&&(g.indentalign=this.displayAlign),g.indentshiftfirst!==i.INDENTSHIFT.INDENTSHIFT&&(g.indentshift=g.indentshiftfirst),"auto"===g.indentshift&&(g.indentshift="0");var b=a.length2em(g.indentshift,1,a.scale*a.cwidth);if("0"!==this.displayIndent){var x=a.length2em(this.displayIndent,1,a.scale*a.cwidth);b+=g.indentalign===i.INDENTALIGN.RIGHT?-x:x}if(d.style.textAlign=s.style.textAlign=g.indentalign,b&&(e.Insert(t.style,{left:{marginLeft:a.Em(b)},right:{marginRight:a.Em(-b)},center:{marginLeft:a.Em(b),marginRight:a.Em(-b)}}[g.indentalign]),M)){var v=parseFloat(M.style.marginLeft||"0")+b,T=parseFloat(M.style.marginRight||"0")-b;M.style.marginLeft=a.Em(v),M.style.marginRight=a.Em(T+("right"===g.indentalign?t.bbox.w+b-t.bbox.w:0)),a.msieColorBug&&"right"===g.indentalign&&(parseFloat(M.style.marginLeft)>0&&(MathJax.HTML.addElement(M.parentNode,"span").style.marginLeft=a.Em(T+Math.min(0,t.bbox.w+b)),M.nextSibling.style.marginRight="0em"),M.nextSibling.style.marginLeft="0em",M.style.marginRight=M.style.marginLeft="0em")}}}return t},HTMLspanElement:i.mbase.prototype.HTMLspanElement}),i.TeXAtom.Augment({toHTML:function(t,e,s){if(t=this.HTMLcreateSpan(t),null!=this.data[0])if(this.texClass===i.TEXCLASS.VCENTER){var n=a.createStack(t),r=a.createBox(n),o=this.data[0].toHTML(r);null!=s?a.Remeasured(this.data[0].HTMLstretchV(r,e,s),r):null!=e?a.Remeasured(this.data[0].HTMLstretchH(r,e),r):a.Measured(o,r);var l=a.TeX.axis_height*this.HTMLgetScale();a.placeBox(r,0,l-(r.bbox.h+r.bbox.d)/2+r.bbox.d)}else{var h=this.data[0].toHTML(t,e,s);null!=s?h=this.data[0].HTMLstretchV(r,e,s):null!=e&&(h=this.data[0].HTMLstretchH(r,e)),t.bbox=h.bbox}return this.HTMLhandleSpace(t),this.HTMLhandleColor(t),t},HTMLstretchH:i.mbase.HTMLstretchH,HTMLstretchV:i.mbase.HTMLstretchV}),e.Register.StartupHook("onLoad",(function(){setTimeout(MathJax.Callback(["loadComplete",a,"jax.js"]),0)}))})),e.Register.StartupHook("End Config",(function(){e.Browser.Select({MSIE:function(t){var e=document.documentMode||0,i=t.versionAtLeast("7.0"),s=t.versionAtLeast("8.0")&&e>7,n="BackCompat"===document.compatMode;e<9&&(a.config.styles[".MathJax .MathJax_HitBox"]["background-color"]="white",a.config.styles[".MathJax .MathJax_HitBox"].opacity=0,a.config.styles[".MathJax .MathJax_HitBox"].filter="alpha(opacity=0)"),a.Augment({PaddingWidthBug:!0,msieAccentBug:!0,msieColorBug:e<8,msieColorPositionBug:!0,msieRelativeWidthBug:n,msieDisappearingBug:e>=8,msieMarginScaleBug:e<8,msiePaddingWidthBug:!0,msieBorderWidthBug:n,msieFrameSizeBug:e<=8,msieInlineBlockAlignBug:!s||n,msiePlaceBoxBug:s&&!n,msieClipRectBug:!s,msieNegativeSpaceBug:n,msieRuleBug:e<7,cloneNodeBug:s&&"8.0"===t.version,msieItalicWidthBug:!0,initialSkipBug:e<8,msieNegativeBBoxBug:e>=8,msieIE6:!i,msieItalicWidthBug:!0,FontFaceBug:e<9,msieFontCSSBug:t.isIE9,allowWebFonts:e>=9?"woff":"eot"})},Firefox:function(t){var i=!1;if(t.versionAtLeast("3.5")){var s=String(document.location).replace(/[^\/]*$/,"");("file:"!==document.location.protocol||e.config.root.match(/^https?:\/\//)||(e.config.root+"/").substr(0,s.length)===s)&&(i="otf")}a.Augment({ffVerticalAlignBug:!t.versionAtLeast("20.0"),AccentBug:!0,allowWebFonts:i,ffFontOptimizationBug:!0})},Safari:function(t){var i=t.versionAtLeast("3.0"),s=t.versionAtLeast("3.1"),n=navigator.appVersion.match(/ Safari\/\d/)&&navigator.appVersion.match(/ Version\/\d/)&&navigator.vendor.match(/Apple/),r=navigator.appVersion.match(/ Android (\d+)\.(\d+)/),o=s&&t.isMobile&&(navigator.platform.match(/iPad|iPod|iPhone/)&&!t.versionAtLeast("5.0")||null!=r&&(r[1]<2||2==r[1]&&r[2]<2));if(a.Augment({config:{styles:{".MathJax img, .MathJax nobr, .MathJax a":{"max-width":"5000em","max-height":"5000em"}}},Em:(t.webkit||0)>=538?a.EmRounded:a.Em,rfuzz:.011,AccentBug:!0,AdjustSurd:!0,negativeBBoxes:!0,safariNegativeSpaceBug:!0,safariVerticalAlignBug:!s,safariTextNodeBug:!i,forceReflow:!0,FontFaceBug:!0,combiningCharBug:parseInt(t.webkit)>=602,allowWebFonts:!(!s||o)&&"otf"}),n&&a.Augment({webFontDefault:t.isMobile?"sans-serif":"serif"}),t.isPC&&a.Augment({adjustAvailableFonts:a.removeSTIXfonts,checkWebFontsTwice:!0}),o){var l=e.config["HTML-CSS"];l?(l.availableFonts=[],l.preferredFont=null):e.config["HTML-CSS"]={availableFonts:[],preferredFont:null}}},Chrome:function(t){a.Augment({Em:a.EmRounded,cloneNodeBug:!0,rfuzz:-.02,AccentBug:!0,AdjustSurd:!0,FontFaceBug:t.versionAtLeast("32.0"),negativeBBoxes:!0,safariNegativeSpaceBug:!0,safariWebFontSerif:[""],forceReflow:!0,allowWebFonts:t.versionAtLeast("4.0")?"otf":"svg"})},Opera:function(t){t.isMini=null!=navigator.appVersion.match("Opera Mini"),a.config.styles[".MathJax .merror"]["vertical-align"]=null,a.config.styles[".MathJax span"]["z-index"]=0,a.Augment({operaHeightBug:!0,operaVerticalAlignBug:!0,operaFontSizeBug:t.versionAtLeast("10.61"),initialSkipBug:!0,FontFaceBug:!0,PaddingWidthBug:!0,allowWebFonts:!(!t.versionAtLeast("10.0")||t.isMini)&&"otf",adjustAvailableFonts:a.removeSTIXfonts})},Konqueror:function(t){a.Augment({konquerorVerticalAlignBug:!0})}})})),MathJax.Hub.Register.StartupHook("End Cookie",(function(){"None"!==e.config.menuSettings.zoom&&t.Require("[MathJax]/extensions/MathZoom.js")}))}(MathJax.Ajax,MathJax.Hub,MathJax.OutputJax["HTML-CSS"]),MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",(function(){var t=MathJax.ElementJax.mml,e=MathJax.OutputJax["HTML-CSS"];t.mtable.Augment({toHTML:function(a){if(a=this.HTMLcreateSpan(a),0===this.data.length)return a;var i,s,n,r,o,l,h,d,c,u=this.getValues("columnalign","rowalign","columnspacing","rowspacing","columnwidth","equalcolumns","equalrows","columnlines","rowlines","frame","framespacing","align","useHeight","width","side","minlabelspacing"),m=u.width.match(/%$/),p=e.createStack(a),f=this.HTMLgetScale(),M=this.HTMLgetMu(a),g=-1,b=[],x=[],v=[],T=[],E=[],L=-1,y=[],C=e.FONTDATA.lineH*f*u.useHeight,A=e.FONTDATA.lineD*f*u.useHeight;for(i=0,n=this.data.length;i<n;i++)for(o="mlabeledtr"===(l=this.data[i]).type?g:0,T[i]=[],b[i]=C,x[i]=A,s=o,r=l.data.length+o;s<r;s++)null==v[s]&&(s>L&&(L=s),E[s]=e.createStack(e.createBox(p)),v[s]=-e.BIGDIMEN),T[i][s]=e.createBox(E[s]),y.push(l.data[s-o].toHTML(T[i][s]));for(e.MeasureSpans(y),i=0,n=this.data.length;i<n;i++)for(s=o="mlabeledtr"===(l=this.data[i]).type?g:0,r=l.data.length+o;s<r;s++){if((h=l.data[s-o]).isMultiline&&(T[i][s].style.width="100%"),h.isEmbellished()){var S=(d=h.CoreMO()).Get("minsize",!0);if(S){var w=d.HTMLspanElement().bbox;d.HTMLcanStretch("Vertical")?(c=w.h+w.d)&&((S=e.length2em(S,M,c))*w.h/c>b[i]&&(b[i]=S*w.h/c),S*w.d/c>x[i]&&(x[i]=S*w.d/c)):d.HTMLcanStretch("Horizontal")&&(S=e.length2em(S,M,w.w))>v[s]&&(v[s]=S)}}T[i][s].bbox.h>b[i]&&(b[i]=T[i][s].bbox.h),T[i][s].bbox.d>x[i]&&(x[i]=T[i][s].bbox.d),T[i][s].bbox.w>v[s]&&(v[s]=T[i][s].bbox.w)}var N=MathJax.Hub.SplitList,H=N(u.columnspacing),I=N(u.rowspacing),R=N(u.columnalign),P=N(u.rowalign),J=N(u.columnlines),k=N(u.rowlines),B=N(u.columnwidth),D=[];for(i=0,n=H.length;i<n;i++)H[i]=e.length2em(H[i],M);for(i=0,n=I.length;i<n;i++)I[i]=e.length2em(I[i],M);for(;H.length<L;)H.push(H[H.length-1]);for(;R.length<=L;)R.push(R[R.length-1]);for(;J.length<L;)J.push(J[J.length-1]);for(;B.length<=L;)B.push(B[B.length-1]);for(;I.length<T.length;)I.push(I[I.length-1]);for(;P.length<=T.length;)P.push(P[P.length-1]);for(;k.length<T.length;)k.push(k[k.length-1]);for(E[g]&&(R[g]="l"===u.side.substr(0,1)?"left":"right",H[g]=-v[g]),i=0,n=T.length;i<n;i++)if(l=this.data[i],D[i]=[],l.rowalign&&(P[i]=l.rowalign),l.columnalign)for(D[i]=N(l.columnalign);D[i].length<=L;)D[i].push(D[i][D[i].length-1]);if(u.equalrows){var O=Math.max.apply(Math,b),F=Math.max.apply(Math,x);for(i=0,n=T.length;i<n;i++)o=(O+F-(b[i]+x[i]))/2,b[i]+=o,x[i]+=o}for(c=b[0]+x[T.length-1],i=0,n=T.length-1;i<n;i++)c+=Math.max(0,x[i]+b[i+1]+I[i]);var X,W=0,G=0,z=c;if("none"!==u.frame||(u.columnlines+u.rowlines).match(/solid|dashed/)){var j=N(u.framespacing);2!=j.length&&(j=N(this.defaults.framespacing)),W=e.length2em(j[0],M),z=c+2*(G=e.length2em(j[1],M))}var V,U,_="";if("string"!=typeof u.align&&(u.align=String(u.align)),u.align.match(/(top|bottom|center|baseline|axis)( +(-?\d+))?/)?(_=RegExp.$3||"",u.align=RegExp.$1):u.align=this.defaults.align,""!==_)for((_=parseInt(_))<0&&(_=T.length+1+_),_<1?_=1:_>T.length&&(_=T.length),V=0,U=-(c+G)+b[0],i=0,n=_-1;i<n;i++){var q=Math.max(0,x[i]+b[i+1]+I[i]);V+=q,U+=q}else V={top:-(b[0]+G),bottom:c+G-b[0],center:c/2-b[0],baseline:c/2-b[0],axis:c/2+e.TeX.axis_height*f-b[0]}[u.align],U={top:-(c+2*G),bottom:0,center:-(c/2+G),baseline:-(c/2+G),axis:e.TeX.axis_height*f-c/2-G}[u.align];var K,$=0,Z=0,Y=0,Q=0,tt=0,et=[],at=[],it=1;if(u.equalcolumns&&"auto"!==u.width)if(m){for(K=(100/(L+1)).toFixed(2).replace(/\.?0+$/,"")+"%",i=0,n=Math.min(L+1,B.length);i<n;i++)B[i]=K;for(K=0,$=1,tt=L+1,i=0,n=Math.min(L+1,H.length);i<n;i++)K+=H[i]}else{for(K=e.length2em(u.width,M),i=0,n=Math.min(L,H.length);i<n;i++)K-=H[i];for(K/=L,i=0,n=Math.min(L+1,B.length);i<n;i++)v[i]=K}else{for(i=0,n=Math.min(L+1,B.length);i<n;i++)"auto"===B[i]?Z+=v[i]:"fit"===B[i]?(at[tt]=i,tt++,Z+=v[i]):B[i].match(/%$/)?(et[Q]=i,Q++,Y+=v[i],$+=e.length2em(B[i],M,1)):(v[i]=e.length2em(B[i],M),Z+=v[i]);if(m){for(K=0,i=0,n=Math.min(L,H.length);i<n;i++)K+=H[i];$>.98&&(it=.98/$,$=.98)}else{if("auto"===u.width)$>.98?(it=Y/(Z+Y),K=Z+Y):K=Z/(1-$);else for(K=e.length2em(u.width,M),i=0,n=Math.min(L,H.length);i<n;i++)K-=H[i];for(i=0,n=et.length;i<n;i++)v[et[i]]=e.length2em(B[et[i]],M,K*it),Z+=v[et[i]];if(Math.abs(K-Z)>.01)if(tt&&K>Z)for(K=(K-Z)/tt,i=0,n=at.length;i<n;i++)v[at[i]]+=K;else for(K/=Z,s=0;s<=L;s++)v[s]*=K;if(u.equalcolumns){var st=Math.max.apply(Math,v);for(s=0;s<=L;s++)v[s]=st}}}var nt,rt,ot,lt,ht=V;for(s=o=E[g]?g:0;s<=L;s++){for(i=0,n=T.length;i<n;i++){if(T[i][s]){if(o="mlabeledtr"===this.data[i].type?g:0,(h=this.data[i].data[s-o]).HTMLcanStretch("Horizontal"))T[i][s].bbox=h.HTMLstretchH(E[s],v[s]).bbox;else if(h.HTMLcanStretch("Vertical")){var dt=(d=h.CoreMO()).symmetric;d.symmetric=!1,T[i][s].bbox=h.HTMLstretchV(E[s],b[i],x[i]).bbox,T[i][s].HH=null,T[i][s].bbox.h>b[i]&&(T[i][s].bbox.H=T[i][s].bbox.h,T[i][s].bbox.h=b[i]),T[i][s].bbox.d>x[i]&&(T[i][s].bbox.D=T[i][s].bbox.d,T[i][s].bbox.d=x[i]),d.symmetric=dt}ot=h.rowalign||this.data[i].rowalign||P[i],nt={top:b[i]-T[i][s].bbox.h,bottom:T[i][s].bbox.d-x[i],center:(b[i]-x[i]-(T[i][s].bbox.h-T[i][s].bbox.d))/2,baseline:0,axis:0}[ot]||0,ot=h.columnalign||D[i][s]||R[s],e.alignBox(T[i][s],ot,ht+nt)}i<T.length-1&&(ht-=Math.max(0,x[i]+b[i+1]+I[i]))}ht=V}if(m){var ct=e.createBox(p);ct.style.left=ct.style.top=0,ct.style.right=e.Em(K+2*W),ct.style.display="inline-block",ct.style.height="0px",e.msieRelativeWidthBug&&((ct=e.createBox(ct)).style.position="relative",ct.style.height="1em",ct.style.width="100%",ct.bbox=p.bbox);var ut,mt,pt=0,ft=W;for(tt?(ut=100*(1-$)/tt,mt=Z/tt):(ut=100*(1-$)/(L+1),mt=Z/(L+1)),s=0;s<=L;s++){e.placeBox(E[s].parentNode,0,0),E[s].style.position="relative",E[s].style.left=e.Em(ft),E[s].style.width="100%",E[s].parentNode.parentNode.removeChild(E[s].parentNode);var Mt=e.createBox(ct);e.addBox(Mt,E[s]),E[s]=Mt;var gt=Mt.style;if(gt.display="inline-block",gt.left=pt+"%",B[s].match(/%$/)){var bt=parseFloat(B[s])*it;0===tt?(gt.width=ut+bt+"%",pt+=ut+bt,Mt=e.createBox(Mt),e.addBox(Mt,E[s].firstChild),Mt.style.left=0,Mt.style.right=e.Em(mt),ft-=mt):(gt.width=bt+"%",pt+=bt)}else"fit"===B[s]||0===tt?(gt.width=ut+"%",Mt=e.createBox(Mt),e.addBox(Mt,E[s].firstChild),Mt.style.left=0,Mt.style.right=e.Em(mt-v[s]),ft+=v[s]-mt,pt+=ut):(gt.width=e.Em(v[s]),ft+=v[s]);e.msieRelativeWidthBug&&(e.addText(Mt.firstChild,e.NBSP),Mt.firstChild.style.position="relative"),ft+=H[s],"none"!==J[s]&&s<L&&s!==g&&((rt=e.createBox(ct)).style.left=pt+"%",(rt=e.createRule(rt,z,0,1.25/e.em)).style.position="absolute",rt.bbox={h:z,d:0,w:0,rw:1.25/e.em,lw:0},rt.parentNode.bbox=p.bbox,e.placeBox(rt,ft-H[s]/2,U,!0),rt.style.borderStyle=J[s])}}else{var xt=W;for(s=0;s<=L;s++)E[s].bbox.width||e.setStackWidth(E[s],v[s]),"auto"!==B[s]&&"fit"!==B[s]&&(E[s].bbox.width=v[s],E[s].bbox.isFixed=!0),e.placeBox(E[s].parentNode,xt,0),xt+=v[s]+H[s],"none"!==J[s]&&s<L&&s!==g&&(rt=e.createRule(p,z,0,1.25/e.em),e.addBox(p,rt),rt.bbox={h:z,d:0,w:0,rw:1.25/e.em,lw:0},e.placeBox(rt,xt-H[s]/2,U,!0),rt.style.borderStyle=J[s])}for(p.bbox.d=-U,p.bbox.h=z+U,e.setStackWidth(p,p.bbox.w+W),X=p.bbox.w,"none"!==u.frame&&(lt=e.createFrame(p,z,0,X,1.25/e.em,u.frame),e.addBox(p,lt),e.placeBox(lt,0,U,!0),m&&(lt.style.width="100%")),ht=V,i=0,n=T.length-1;i<n;i++)nt=Math.max(0,x[i]+b[i+1]+I[i]),k[i]!==t.LINES.NONE&&""!==k[i]&&(rt=e.createRule(p,1.25/e.em,0,X),e.addBox(p,rt),rt.bbox={h:1.25/e.em,d:0,w:X,rw:X,lw:0},e.placeBox(rt,0,ht-x[i]-(nt-x[i]-b[i+1])/2,!0),k[i]===t.LINES.DASHED&&(rt.style.borderTopStyle="dashed"),m&&(rt.style.width="100%")),ht-=nt;if(m&&(a.bbox.width=u.width,p.style.width="100%"),E[g]){var vt=p.bbox.w,Tt=this.getValues("indentalignfirst","indentshiftfirst","indentalign","indentshift");Tt.indentalignfirst!==t.INDENTALIGN.INDENTALIGN&&(Tt.indentalign=Tt.indentalignfirst),Tt.indentalign===t.INDENTALIGN.AUTO&&(Tt.indentalign=this.displayAlign),Tt.indentshiftfirst!==t.INDENTSHIFT.INDENTSHIFT&&(Tt.indentshift=Tt.indentshiftfirst),"auto"===Tt.indentshift&&(Tt.indentshift="0");var Et=e.length2em(Tt.indentshift,M,e.cwidth),Lt=e.length2em(u.minlabelspacing,M,e.cwidth)+E[g].bbox.w,yt=0,Ct=vt,At=e.length2em(this.displayIndent,M,e.cwidth);o=R[g]===t.INDENTALIGN.RIGHT?-1:1,Tt.indentalign===t.INDENTALIGN.CENTER?(Ct+=2*(Lt-o*(Et+At)),Et+=At):R[g]===Tt.indentalign?(At<0&&(yt=o*At,At=0),Lt>o*(Et+=o*At)&&(Et=o*Lt),Ct+=o*(Et+=yt)):(Ct+=Lt-o*Et+At,Et-=o*At);var St=e.createStack(a,!1,"100%");e.addBox(St,p),e.alignBox(p,Tt.indentalign,0,Et),E[g].parentNode.parentNode.removeChild(E[g].parentNode),e.addBox(St,E[g]),e.alignBox(E[g],R[g],0),e.msieRelativeWidthBug&&(p.style.top=E[g].style.top=""),m&&(p.style.width=u.width,a.bbox.width="100%"),E[g].style[1===o?"marginLeft":"marginRight"]=e.Em(o*yt),a.bbox.tw=Ct,a.style.minWidth=a.bbox.minWidth=e.Em(Ct),St.style.minWidth=St.bbox.minWidth=e.Em(Ct/f)}m||this.HTMLhandleSpace(a);var wt=this.HTMLhandleColor(a);return wt&&m&&(lt||(lt=e.createFrame(p,z,0,X,0,"none"),e.addBox(p,lt),e.placeBox(lt,0,U,!0),lt.style.width="100%"),lt.style.backgroundColor=wt.style.backgroundColor,lt.parentNode.insertBefore(lt,lt.parentNode.firstChild),wt.parentNode.removeChild(wt)),a},HTMLhandleSpace:function(t){t.bbox.keepPadding=!0,t.bbox.exact=!0,this.hasFrame||null!=t.bbox.width||(t.firstChild.style.marginLeft=t.firstChild.style.marginRight=e.Em(1/6),t.bbox.w+=1/3,t.bbox.rw+=1/3,t.bbox.lw+=1/6),this.SUPER(arguments).HTMLhandleSpace.call(this,t)}}),t.mtd.Augment({toHTML:function(t,e,a){if(t=this.HTMLcreateSpan(t),this.data[0]){var i=this.data[0].toHTML(t);null!=a?i=this.data[0].HTMLstretchV(t,e,a):null!=e&&(i=this.data[0].HTMLstretchH(t,e)),t.bbox=i.bbox}return this.HTMLhandleSpace(t),this.HTMLhandleColor(t),t},HTMLstretchH:t.mbase.HTMLstretchH,HTMLstretchV:t.mbase.HTMLstretchV}),MathJax.Hub.Startup.signal.Post("HTML-CSS mtable Ready"),MathJax.Ajax.loadComplete(e.autoloadDir+"/mtable.js")})),function(t,e,a,i){var s,n,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 d=1e6,c="V",u="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(){n=MathJax.Extension.MathEvents.Event,r=MathJax.Extension.MathEvents.Touch,o=MathJax.Extension.MathEvents.Hover,this.ContextMenu=n.ContextMenu,this.Mousedown=n.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,s,o,l,h,d,c=t.jax[this.id],u=c.length;for(i=0;i<u;i++)(s=c[i]).parentNode&&((o=s.previousSibling)&&String(o.className).match(/^MathJax(_PHTML)?(_Display)?( MathJax_Process(ing|ed))?$/)&&o.parentNode.removeChild(o),(d=s.MathJax.elementJax)&&(d.PHTML={display:"block"===d.root.Get("display")},l=h=a.Element("span",{className:"MathJax_PHTML",id:d.inputID+"-Frame",isMathJax:!0,jaxID:this.id,oncontextmenu:n.Menu,onmousedown:n.Mousedown,onmouseover:n.Mouseover,onmouseout:n.Mouseout,onmousemove:n.Mousemove,onclick:n.Click,ondblclick:n.DblClick,onkeydown:n.Keydown,tabIndex:e.getTabOrder(d)}),e.Browser.noContextMenu&&(l.ontouchstart=r.start,l.ontouchend=r.end),d.PHTML.display&&(h=a.Element("div",{className:"MathJax_PHTML_Display"})).appendChild(l),h.className+=" MathJax_Processing",s.parentNode.insertBefore(h,s)))},Translate:function(t,e){if(t.parentNode){var a=t.MathJax.elementJax,i=a.root,s=document.getElementById(a.inputID+"-Frame"),n=a.PHTML.display?s.parentNode:s;this.initPHTML(i,s);try{i.toPreviewHTML(s)}catch(t){if(t.restart)for(;s.firstChild;)s.removeChild(s.firstChild);throw t}n.className=n.className.split(/ /)[0],this.hideProcessedMath&&(n.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 s=e[a];if(s&&s.MathJax.elementJax){s.previousSibling.className=s.previousSibling.className.split(/ /)[0];var n=s.MathJax.elementJax.PHTML;n.preview&&(n.preview.innerHTML="",s.MathJax.preview=n.preview,delete n.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,s=t.PHTML.outerEm,n={w:i.w*s,h:i.h*s,d:i.d*s};return i.width&&(n.width=i.width),n},Zoom:function(t,e,a,i,s){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:-n.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:d},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===s.SIZE.NORMAL)return 1;if(t===s.SIZE.BIG)return 2;if(t===s.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"),n=a[2];return null==e&&(e=1),"em"===n?i:"ex"===n?i*this.TeX.x_height:"%"===n?i/100*e:"px"===n?i/this.em:"pt"===n?i/10:"pc"===n?1.2*i:"in"===n?i*this.pxPerInch/this.em:"cm"===n?i*this.pxPerInch/this.em/2.54:"mm"===n?i*this.pxPerInch/this.em/25.4:"mu"===n?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(){(s=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 s=this.data[e];s?(i.childSpans&&(t=a.addElement(t,"span",{className:i.className})),s.toPreviewHTML(t),i.noBBox||(this.PHTML.w+=s.PHTML.w+s.PHTML.l+s.PHTML.r,s.PHTML.h>this.PHTML.h&&(this.PHTML.h=s.PHTML.h),s.PHTML.d>this.PHTML.d&&(this.PHTML.d=s.PHTML.d),s.PHTML.t>this.PHTML.t&&(this.PHTML.t=s.PHTML.t),s.PHTML.b>this.PHTML.b&&(this.PHTML.b=s.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 s=this.PHTML,n=i.PHTML,r=n.w;i.PHTMLstretchV(e,a),s.w+=n.w-r,n.h>s.h&&(s.h=n.h),n.d>s.d&&(s.d=n.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!==s.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 s,n,r=0,o=0,l=0,h=0,d=e.length;h<d;h++){n=e.charCodeAt(h),s=e.charAt(h),n>=55296&&n<56319&&(h++,n=(n-55296<<10)+(e.charCodeAt(h)-56320)+65536);var c=.7,u=.22,m=.5;n<127&&(s.match(/[A-Za-ehik-or-xz0-9]/)&&(u=0),s.match(/[A-HK-Z]/)?m=.67:s.match(/[IJ]/)&&(m=.36),s.match(/[acegm-su-z]/)?c=.45:s.match(/[ij]/)&&(c=.75),s.match(/[ijlt]/)&&(m=.28)),i.DELIMITERS[s]&&(m=i.DELIMITERS[s].w||.4),c>r&&(r=c),u>o&&(o=u),l+=m}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(s.math);)t=t.Parent();return t},CoreText:function(t){if(!t)return"";if(t.isEmbellished())return t.CoreMO().data.join("");for(;(t.isa(s.mrow)||t.isa(s.TeXAtom)||t.isa(s.mstyle)||t.isa(s.mphantom))&&1===t.data.length&&t.data[0];)t=t.data[0];return t.isToken?t.data.join(""):""}}),s.chars.Augment({toPreviewHTML:function(t){var e=this.toString().replace(/[\u2061-\u2064]/g,"");this.PHTMLhandleText(t,e)}}),s.entity.Augment({toPreviewHTML:function(t){var e=this.toString().replace(/[\u2061-\u2064]/g,"");this.PHTMLhandleText(t,e)}}),s.math.Augment({toPreviewHTML:function(t){return t=this.PHTMLdefaultSpan(t),"block"===this.Get("display")&&(t.className+=" MJXp-display"),t}}),s.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 s=a.Element("span",{className:"MJXp-largeop"});s.appendChild(t.firstChild),t.appendChild(s),this.PHTML.h*=1.2,this.PHTML.d*=1.2,"∫"===this.data.join("")&&(s.className+=" MJXp-int")}return t},PHTMLadjustAccent:function(t){var e=this.CoreParent();if(e&&e.isa(s.munderover)&&1===this.CoreText(e.data[e.base]).length){var a,n=e.data[e.over],r=e.data[e.under],o=this.data.join("");n&&this===n.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 s=this.data.join("");if(s.length>1)return!1;var n=(s=i.DELIMITERS[s])&&s.dir===t.substr(0,1);return n&&(n=this.PHTML.h!==e||this.PHTML.d!==a||this.Get("minsize",!0)||this.Get("maxsize",!0)),n},PHTMLstretchV:function(t,e){var s=this.PHTMLspanElement(),n=this.PHTML,r=this.getValues("symmetric","maxsize","minsize");u=r.symmetric?2*Math.max(t-.25,e+.25):t+e,r.maxsize=i.length2em(r.maxsize,n.h+n.d),r.minsize=i.length2em(r.minsize,n.h+n.d);var o=(u=Math.max(r.minsize,Math.min(r.maxsize,u)))/(n.h+n.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(n.w*(h/10-1)+.07),n.w*=o*h/10}l.appendChild(s.firstChild),s.appendChild(l),r.symmetric&&(s.style.verticalAlign=i.Em(.25*(1-o)))}}),s.mspace.Augment({toPreviewHTML:function(t){t=this.PHTMLdefaultSpan(t);var e=this.getValues("height","depth","width"),a=i.length2em(e.width),s=i.length2em(e.height),n=i.length2em(e.depth),r=this.PHTML;return r.w=a,r.h=s,r.d=n,a<0&&(i.lastIsInt||(t.style.marginLeft=i.Em(a)),a=0),t.style.width=i.Em(a),t.style.height=i.Em(s+n),n&&(t.style.verticalAlign=i.Em(-n)),t}}),s.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"),s=this.PHTMLdimen(a.lspace),n=0,r=0,o=s.len,l=-s.len,h=0;return""!==a.width&&((s=this.PHTMLdimen(a.width,"w",0)).pm?l+=s.len:t.style.width=i.Em(s.len)),""!==a.height&&((s=this.PHTMLdimen(a.height,"h",0)).pm||(n+=-this.PHTMLbboxFor(0).h),n+=s.len),""!==a.depth&&((s=this.PHTMLdimen(a.depth,"d",0)).pm||(r+=-this.PHTMLbboxFor(0).d,h+=-s.len),r+=s.len),""!==a.voffset&&(n-=(s=this.PHTMLdimen(a.voffset)).len,r+=s.len,h+=s.len),n&&(e.style.marginTop=i.Em(n)),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=-d);var s=(t=String(t)).match(/width|height|depth/),n=s?this.PHTML[s[0].charAt(0)]:e?this.PHTML[e]:0;return{len:i.length2em(t,n)||0,pm:!!t.match(/^[-+]/)}}}),s.munderover.Augment({toPreviewHTML:function(t){var e=this.getValues("displaystyle","accent","accentunder","align"),n=this.data[this.base];if(!e.displaystyle&&null!=n&&(n.movablelimits||n.CoreMO().Get("movablelimits")))return(t=s.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,d=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!=d&&(r.vec&&(c.firstChild.firstChild.firstChild.style.fontSize="60%",r.h*=.6,r.d*=.6,r.w*=.6),d=d-r.d+.1,null!=l.t&&(d+=l.t-l.h),c.firstChild.firstChild.style.marginBottom=i.Em(d)),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+(d||0))+l.h,h.d=l.d+.8*(o.h+o.d),t}}),s.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],s=this.data[this.sub],n=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(n&&s){var h=a.Element("span",{className:"MJXp-script-box",style:{height:i.Em(r+.8*n.PHTML.h+o+.8*s.PHTML.d),"vertical-align":i.Em(-o-.8*s.PHTML.d)}},[["span",{},[["span",{},[["span",{style:{"margin-bottom":i.Em(-(n.PHTML.d-.05))}}]]]]],["span",{},[["span",{},[["span",{style:{"margin-top":i.Em(-(n.PHTML.h-.05))}}]]]]]]);s.PHTMLhandleScriptlevel(h.firstChild),n.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*n.PHTML.h+r),l.d=Math.max(e.PHTML.d,.8*s.PHTML.d+o),l.w=e.PHTML.w+Math.max(n.PHTML.w,s.PHTML.w)+.07}else n?(t.lastChild.style.verticalAlign=i.Em(r),n.PHTMLhandleScriptlevel(t.lastChild),l.h=Math.max(e.PHTML.h,.8*n.PHTML.h+r),l.d=Math.max(e.PHTML.d,.8*n.PHTML.d-r),l.w=e.PHTML.w+n.PHTML.w+.07):s&&(t.lastChild.style.verticalAlign=i.Em(-o),s.PHTMLhandleScriptlevel(t.lastChild),l.h=Math.max(e.PHTML.h,.8*s.PHTML.h-o),l.d=Math.max(e.PHTML.d,.8*s.PHTML.d+o),l.w=e.PHTML.w+s.PHTML.w+.07);return t}}),s.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 s=a.Element("span",{className:"MJXp-box"},[["span",{className:"MJXp-denom"},[["span",{},[["span",{className:"MJXp-rule",style:{height:"1em"}}]]],["span"]]]]);s.firstChild.lastChild.appendChild(t.lastChild),t.appendChild(s);var n=this.PHTMLbboxFor(0),r=this.PHTMLbboxFor(1),o=this.PHTML;if(o.w=.8*Math.max(n.w,r.w),o.h=n.h+n.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=s.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,s.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 s.style.marginTop="-.7em";return t}}),s.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 s=this.PHTMLbboxFor(0),n=Math.ceil(100*(s.h+s.d+.14)),r=i.Em(14/n),o=a.Element("span",{className:"MJXp-surd"},[["span",{style:{"font-size":n+"%","margin-top":r}},["√"]]]),l=a.Element("span",{className:"MJXp-root"},[["span",{className:"MJXp-rule",style:{"border-top":".08em solid"}}]]),h=1.2/2.2*n/100;if(n>150){var d=Math.ceil(150/n*10);o.firstChild.className="MJXp-right MJXp-scale"+d,o.firstChild.style.marginLeft=i.Em(h*(d/10-1)/n*100),h=h*d/10,l.firstChild.style.borderTopWidth=i.Em(.08/Math.sqrt(d/10))}return l.appendChild(e),t.appendChild(o),t.appendChild(l),this.PHTML.h=s.h+.18,this.PHTML.d=s.d,this.PHTML.w=s.w+h,t}}),s.mroot.Augment({toPreviewHTML:function(t){t=this.PHTMLdefaultSpan(t,{childSpans:!0,className:"MJXp-box",forceChild:!0,noBBox:!0});var e=this.PHTMLbboxFor(1),s=t.removeChild(t.lastChild),n=this.PHTMLlayoutRoot(a.Element("span"),t.firstChild);s.className="MJXp-script";var r=parseInt(n.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),s.style.marginRight=i.Em(l),s.style.verticalAlign=i.Em(o),-l>.8*e.w&&(s.style.marginLeft=i.Em(-l-.8*e.w)),t.appendChild(s),t.appendChild(n),this.PHTML.w+=Math.max(0,.8*e.w+l),this.PHTML.h=Math.max(this.PHTML.h,.8*e.h+o),t},PHTMLlayoutRoot:s.msqrt.prototype.PHTMLlayoutRoot}),s.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,s=this.PHTML.d;for(this.PHTMLstretchChild("open",i,s),e=0,a=this.data.length;e<a;e++)this.PHTMLstretchChild("sep"+e,i,s),this.PHTMLstretchChild(e,i,s);return this.PHTMLstretchChild("close",i,s),t}}),s.mrow.Augment({toPreviewHTML:function(t){t=this.PHTMLdefaultSpan(t);for(var e=this.PHTML.h,a=this.PHTML.d,i=0,s=this.data.length;i<s;i++)this.PHTMLstretchChild(i,e,a);return t}}),s.mstyle.Augment({toPreviewHTML:function(t){return t=this.PHTMLdefaultSpan(t),this.PHTMLhandleScriptlevel(t),t}}),s.TeXAtom.Augment({toPreviewHTML:function(t){return(t=this.PHTMLdefaultSpan(t)).className="MJXp-mrow",t}}),s.mtable.Augment({toPreviewHTML:function(t){t=this.PHTMLdefaultSpan(t,{noBBox:!0});var e,s,n,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),d=l(o.rowspacing),c=l(o.columnalign),u=l(o.rowalign);for(e=0,s=h.length;e<s;e++)h[e]=i.length2em(h[e]);for(e=0,s=d.length;e<s;e++)d[e]=i.length2em(d[e]);for(var m=a.Element("span");t.firstChild;)m.appendChild(t.firstChild);t.appendChild(m);var p=0,f=0;for(e=0,s=this.data.length;e<s;e++){var M=this.data[e];if(M){var g=i.arrayEntry(d,e-1),b=i.arrayEntry(u,e),x=M.PHTML;M.PHTMLspanElement().style.verticalAlign=b;var v="mlabeledtr"===M.type?1:0;for(n=0,r=M.data.length;n<r-v;n++){var T=M.data[n+v];if(T){var E=i.arrayEntry(h,n-1),L=i.arrayEntry(c,n),y=T.PHTMLspanElement();n&&(x.w+=E,y.style.paddingLeft=i.Em(E)),e&&(y.style.paddingTop=i.Em(g)),y.style.textAlign=L}}p+=x.h+x.d,e&&(p+=g),x.w>f&&(f=x.w)}}var C=this.PHTML;return C.w=f,C.h=p/2+.25,C.d=p/2-.25,C.l=C.r=.125,t}}),s.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}}),s.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}}),s.annotation.Augment({toPreviewHTML:function(t){}}),s["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,s=MathJax.OutputJax,n=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,s,n,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(){!n&&r.Active()&&(e=t.processUpdateTime,a=t.processUpdateDelay,s=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(){!n&&o&&(t.processUpdateTime=e,t.processUpdateDelay=a,t.Config({messageStyle:s}),n=!0)}))},Disable:function(){this.enabled=!1},Enable:function(){this.enabled=!0},Active:function(){return i.FastPreview&&this.enabled&&!(s[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=n?"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 s=a.config.menuSettings,n=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!=s.assistiveMML||a.Config({menuSettings:{assistiveMML:!0}}),t.Styles(this.config.styles),a.Register.MessageHook("End Math",(function(t){if(s.assistiveMML)return n.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),s=0,n=i.length;s<n;s++)(e=document.getElementById(i[s].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,s,n,r=t.jax.length,o=MathJax.ElementJax.mml;for(o.copyAttributes.id=1;t.i<r;){if(e=t.jax[t.i],s=document.getElementById(e.inputID+"-Frame"),"NativeMML"!==e.outputJax&&"PlainSource"!==e.outputJax&&s&&!s.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)}s.setAttribute("data-mathml",a),n=i.addElement(s,"span",{isMathJax:!0,unselectable:"on",className:"MJX_Assistive_MathML"+("block"===e.root.Get("display")?" MJX_Assistive_MathML_Block":"")});try{n.innerHTML=a}catch(t){}s.style.position="relative",s.setAttribute("role","presentation"),s.firstChild.setAttribute("aria-hidden","true"),n.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,s=t.config.menuSettings,n=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 s[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===s[i]&&(s[i]=l.defaults[t])}},AddMenu:function(){for(var t,e=Array(this.modules.length),s=0;t=this.modules[s];s++)e[s]=t.placeHolder;var n,r,o=i.FindId("Accessibility");o?(e.unshift(a.RULE()),o.submenu.items.push.apply(o.submenu.items,e)):((n=(i.FindId("Settings","Renderer")||{}).submenu)&&(e.unshift(a.RULE()),e.unshift(n.items.pop()),e.unshift(n.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++)s[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,s){this.option=t,this.name=[e.replace(/ /g,""),e],this.module=a,this.extension=i,this.submenu=s||!1},CreateMenu:function(){var t=n(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/Accessible-full.js");