12345678910111213 |
- /*
- * /MathJax/config/TeX-AMS-MML_SVG-full.js
- *
- * Copyright (c) 2010-2013 The MathJax Consortium
- *
- * Part of the MathJax library.
- * See http://www.mathjax.org for details.
- *
- * Licensed under the Apache License, Version 2.0;
- * you may not use this file except in compliance with the License.
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- */MathJax.Ajax.Preloading("[MathJax]/jax/input/TeX/config.js","[MathJax]/jax/input/MathML/config.js","[MathJax]/jax/output/SVG/config.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/SVG/jax.js","[MathJax]/jax/output/SVG/autoload/mtable.js");MathJax.Hub.Config({"v1.0-compatible":!1});MathJax.InputJax.TeX=MathJax.InputJax({id:"TeX",version:"2.2.1",directory:MathJax.InputJax.directory+"/TeX",extensionDir:MathJax.InputJax.extensionDir+"/TeX",config:{TagSide:"right",TagIndent:"0.8em",MultLineWidth:"85%",equationNumbers:{autoNumber:"none",formatNumber:function(a){return a},formatTag:function(a){return"("+a+")"},formatID:function(a){return"mjx-eqn-"+String(a).replace(/[:"'<>&]/g,"")},formatURL:function(a){return"#"+escape(a)},useLabelIds:!0}}});MathJax.InputJax.TeX.Register("math/tex");MathJax.InputJax.TeX.loadComplete("config.js");MathJax.InputJax.MathML=MathJax.InputJax({id:"MathML",version:"2.2",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.SVG=MathJax.OutputJax({id:"SVG",version:"2.2",directory:MathJax.OutputJax.directory+"/SVG",extensionDir:MathJax.OutputJax.extensionDir+"/SVG",autoloadDir:MathJax.OutputJax.directory+"/SVG/autoload",fontDir:MathJax.OutputJax.directory+"/SVG/fonts",config:{scale:100,minScaleAdjust:50,font:"TeX",blacker:10,mtextFontInherit:!1,undefinedFamily:"STIXGeneral,'Arial Unicode MS',serif",addMMLclasses:!1,EqnChunk:MathJax.Hub.Browser.isMobile?10:50,EqnChunkFactor:1.5,EqnChunkDelay:100,linebreaks:{automatic:!1,width:"container"},styles:{".MathJax_SVG_Display":{"text-align":"center",margin:"1em 0em"},"#MathJax_SVG_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",padding:"3px 4px","z-index":401}}}});MathJax.Hub.config.delayJaxRegistration||MathJax.OutputJax.SVG.Register("jax/mml");MathJax.OutputJax.SVG.loadComplete("config.js");MathJax.Extension.tex2jax={version:"2.2",config:{inlineMath:[["\\(","\\)"]],displayMath:[["$$","$$"],["\\[","\\]"]],balanceBraces:!0,skipTags:"script noscript style textarea pre code".split(" "),ignoreClass:"tex2jax_ignore",processClass:"tex2jax_process",processEscapes:!1,processEnvironments:!0,processRefs:!0,preview:"TeX"},PreProcess:function(a){this.configured||(this.config=MathJax.Hub.CombineConfig("tex2jax",this.config),this.config.Augment&&MathJax.Hub.Insert(this,this.config.Augment),"undefined"===typeof this.config.previewTeX||this.config.previewTeX||(this.config.preview="none"),this.configured=!0);"string"===typeof a&&(a=document.getElementById(a));a||(a=document.body);this.createPatterns()&&this.scanElement(a,a.nextSibling)},createPatterns:function(){var a=[],f=[],e,d,g=this.config;this.match={};e=0;for(d=g.inlineMath.length;e<d;e++)a.push(this.patternQuote(g.inlineMath[e][0])),this.match[g.inlineMath[e][0]]={mode:"",end:g.inlineMath[e][1],pattern:this.endPattern(g.inlineMath[e][1])};e=0;for(d=g.displayMath.length;e<d;e++)a.push(this.patternQuote(g.displayMath[e][0])),this.match[g.displayMath[e][0]]={mode:"; mode\x3ddisplay",end:g.displayMath[e][1],pattern:this.endPattern(g.displayMath[e][1])};a.length&&f.push(a.sort(this.sortLength).join("|"));g.processEnvironments&&f.push("\\\\begin\\{([^}]*)\\}");g.processEscapes&&f.push("\\\\*\\\\\\$");g.processRefs&&f.push("\\\\(eq)?ref\\{[^}]*\\}");this.start=new RegExp(f.join("|"),"g");this.skipTags=new RegExp("^("+g.skipTags.join("|")+")$","i");a=[];MathJax.Hub.config.preRemoveClass&&a.push(MathJax.Hub.config.preRemoveClass);g.ignoreClass&&a.push(g.ignoreClass);this.ignoreClass=a.length?new RegExp("(^| )("+a.join("|")+")( |$)"):/^$/;this.processClass=new RegExp("(^| )("+g.processClass+")( |$)");return 0<f.length},patternQuote:function(a){return a.replace(/([\^$(){}+*?\-|\[\]\:\\])/g,"\\$1")},endPattern:function(a){return new RegExp(this.patternQuote(a)+"|\\\\.|[{}]","g")},sortLength:function(a,f){return a.length!==f.length?f.length-a.length:a==f?0:a<f?-1:1},scanElement:function(a,f,e){for(var d,g,p;a&&a!=f;)"#text"===a.nodeName.toLowerCase()?e||(a=this.scanText(a)):(d="undefined"===typeof a.className?"":a.className,g="undefined"===typeof a.tagName?"":a.tagName,"string"!==typeof d&&(d=String(d)),p=this.processClass.exec(d),!a.firstChild||d.match(/(^| )MathJax/)||!p&&this.skipTags.exec(g)||(d=(e||this.ignoreClass.exec(d))&&!p,this.scanElement(a.firstChild,f,d))),a&&(a=a.nextSibling)},scanText:function(a){if(""==a.nodeValue.replace(/\s+/,""))return a;var f,e;this.search={start:!0};for(this.pattern=this.start;a;){for(this.pattern.lastIndex=0;a&&"#text"===a.nodeName.toLowerCase()&&(f=this.pattern.exec(a.nodeValue));)a=this.search.start?this.startMatch(f,a):this.endMatch(f,a);this.search.matched&&(a=this.encloseMath(a));if(a){do e=a,a=a.nextSibling;while(a&&("br"===a.nodeName.toLowerCase()||"#comment"===a.nodeName.toLowerCase()));if(!a||"#text"!==a.nodeName)return this.search.close?this.prevEndMatch():e}}return a},startMatch:function(a,f){var e=this.match[a[0]];if(null!=e)this.search={end:e.end,mode:e.mode,pcount:0,open:f,olen:a[0].length,opos:this.pattern.lastIndex-a[0].length},this.switchPattern(e.pattern);else if("\\begin"===a[0].substr(0,6))this.search={end:"\\end{"+a[1]+"}",mode:"; mode\x3ddisplay",pcount:0,open:f,olen:0,opos:this.pattern.lastIndex-a[0].length,isBeginEnd:!0},this.switchPattern(this.endPattern(this.search.end));else{if("\\ref"===a[0].substr(0,4)||"\\eqref"===a[0].substr(0,6))return this.search={mode:"",end:"",open:f,pcount:0,olen:0,opos:this.pattern.lastIndex-a[0].length},this.endMatch([""],f);var e=a[0].substr(0,a[0].length-1),d;0===e.length%2?(d=[e.replace(/\\\\/g,"\\")],e=1):(d=[e.substr(1).replace(/\\\\/g,"\\"),"$"],e=0);d=MathJax.HTML.Element("span",null,d);var g=MathJax.HTML.TextNode(f.nodeValue.substr(0,a.index));f.nodeValue=f.nodeValue.substr(a.index+a[0].length-e);f.parentNode.insertBefore(d,f);f.parentNode.insertBefore(g,d);this.pattern.lastIndex=e}return f},endMatch:function(a,f){var e=this.search;a[0]==e.end?(e.close&&0!==e.pcount||(e.close=f,e.cpos=this.pattern.lastIndex,e.clen=e.isBeginEnd?0:a[0].length),0===e.pcount&&(e.matched=!0,f=this.encloseMath(f),this.switchPattern(this.start))):"{"===a[0]?e.pcount++:"}"===a[0]&&e.pcount&&e.pcount--;return f},prevEndMatch:function(){this.search.matched=!0;var a=this.encloseMath(this.search.close);this.switchPattern(this.start);return a},switchPattern:function(a){a.lastIndex=this.pattern.lastIndex;this.pattern=a;this.search.start=a===this.start},encloseMath:function(a){a=this.search;var f=a.close,e,d;(f=a.cpos===f.length?f.nextSibling:f.splitText(a.cpos))||(e=f=MathJax.HTML.addText(a.close.parentNode,""));a.close=f;for(d=a.opos?a.open.splitText(a.opos):a.open;d.nextSibling&&d.nextSibling!==f;)d.nodeValue=null!==d.nextSibling.nodeValue?"#comment"===d.nextSibling.nodeName?d.nodeValue+d.nextSibling.nodeValue.replace(/^\[CDATA\[((.|\n|\r)*)\]\]$/,"$1"):d.nodeValue+d.nextSibling.nodeValue:this.msieNewlineBug?d.nodeValue+("br"===d.nextSibling.nodeName.toLowerCase()?"\n":" "):d.nodeValue+" ",d.parentNode.removeChild(d.nextSibling);f=d.nodeValue.substr(a.olen,d.nodeValue.length-a.olen-a.clen);d.parentNode.removeChild(d);"none"!==this.config.preview&&this.createPreview(a.mode,f);d=this.createMathTag(a.mode,f);this.search={};this.pattern.lastIndex=0;e&&e.parentNode.removeChild(e);return d},insertNode:function(a){var f=this.search;f.close.parentNode.insertBefore(a,f.close)},createPreview:function(a,f){var e=this.config.preview;"none"!==e&&("TeX"===e&&(e=[this.filterPreview(f)]),e&&(e=MathJax.HTML.Element("span",{className:MathJax.Hub.config.preRemoveClass},e),this.insertNode(e)))},createMathTag:function(a,f){var e=document.createElement("script");e.type="math/tex"+a;MathJax.HTML.setScript(e,f);this.insertNode(e);return e},filterPreview:function(a){return a},msieNewlineBug:MathJax.Hub.Browser.isMSIE&&9>document.documentMode};MathJax.Hub.Register.PreProcessor(["PreProcess",MathJax.Extension.tex2jax]);MathJax.Ajax.loadComplete("[MathJax]/extensions/tex2jax.js");MathJax.Extension.mml2jax={version:"2.2",config:{preview:"alttext"},MMLnamespace:"http://www.w3.org/1998/Math/MathML",PreProcess:function(a){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 a&&(a=document.getElementById(a));a||(a=document.body);this.ProcessMathArray(a.getElementsByTagName("math"));a.getElementsByTagNameNS&&this.ProcessMathArray(a.getElementsByTagNameNS(this.MMLnamespace,"math"));var f,e;if("undefined"!==typeof document.namespaces)try{for(f=0,e=document.namespaces.length;f<e;f++){var d=document.namespaces[f];d.urn===this.MMLnamespace&&this.ProcessMathArray(a.getElementsByTagName(d.name+":math"))}}catch(p){}else if(d=document.getElementsByTagName("html")[0])for(f=0,e=d.attributes.length;f<e;f++){var g=d.attributes[f];"xmlns:"===g.nodeName.substr(0,6)&&g.nodeValue===this.MMLnamespace&&this.ProcessMathArray(a.getElementsByTagName(g.nodeName.substr(6)+":math"))}},ProcessMathArray:function(a){var f;if(a.length)if(this.MathTagBug)for(f=a.length-1;0<=f;f--)"MATH"===a[f].nodeName?this.ProcessMathFlattened(a[f]):this.ProcessMath(a[f]);else for(f=a.length-1;0<=f;f--)this.ProcessMath(a[f])},ProcessMath:function(a){var f=a.parentNode,e=document.createElement("script");e.type="math/mml";f.insertBefore(e,a);if(this.AttributeBug){var d=this.OuterHTML(a);this.CleanupHTML&&(d=d.replace(/<\?import .*?>/i,"").replace(/<\?xml:namespace .*?\/>/i,""),d=d.replace(/ /g,"\x26#xA0;"));MathJax.HTML.setScript(e,d);f.removeChild(a)}else f=MathJax.HTML.Element("span"),f.appendChild(a),MathJax.HTML.setScript(e,f.innerHTML);"none"!==this.config.preview&&this.createPreview(a,e)},ProcessMathFlattened:function(a){var f=a.parentNode,e=document.createElement("script");e.type="math/mml";f.insertBefore(e,a);for(var f="",d,g=a;a&&"/MATH"!==a.nodeName;)d=a,a=a.nextSibling,f+=this.NodeHTML(d),d.parentNode.removeChild(d);a&&"/MATH"===a.nodeName&&a.parentNode.removeChild(a);e.text=f+"\x3c/math\x3e";"none"!==this.config.preview&&this.createPreview(g,e)},NodeHTML:function(a){var f,e,d;if("#text"===a.nodeName)f=this.quoteHTML(a.nodeValue);else if("#comment"===a.nodeName)f="\x3c!--"+a.nodeValue+"--\x3e";else{f="\x3c"+a.nodeName.toLowerCase();e=0;for(d=a.attributes.length;e<d;e++){var g=a.attributes[e];if(g.specified){f+=" "+g.nodeName.toLowerCase().replace(/xmlns:xmlns/,"xmlns")+"\x3d";var p=g.nodeValue;null==p&&"style"===g.nodeName&&a.style&&(p=a.style.cssText);f+='"'+this.quoteHTML(p)+'"'}}f+="\x3e";if(null!=a.outerHTML&&a.outerHTML.match(/(.<\/[A-Z]+>|\/>)$/)){e=0;for(d=a.childNodes.length;e<d;e++)f+=this.OuterHTML(a.childNodes[e]);f+="\x3c/"+a.nodeName.toLowerCase()+"\x3e"}}return f},OuterHTML:function(a){if("#"===a.nodeName.charAt(0))return this.NodeHTML(a);if(!this.AttributeBug)return a.outerHTML;for(var f=this.NodeHTML(a),e=0,d=a.childNodes.length;e<d;e++)f+=this.OuterHTML(a.childNodes[e]);return f+="\x3c/"+a.nodeName.toLowerCase()+"\x3e"},quoteHTML:function(a){null==a&&(a="");return a.replace(/&/g,"\x26#x26;").replace(/</g,"\x26lt;").replace(/>/g,"\x26gt;").replace(/\"/g,"\x26quot;")},createPreview:function(a,f){var e=this.config.preview;"none"!==e&&("alttext"===e&&(e=a.getAttribute("alttext"),e=null!=e?[this.filterPreview(e)]:null),e&&(e=MathJax.HTML.Element("span",{className:MathJax.Hub.config.preRemoveClass},e),f.parentNode.insertBefore(e,f)))},filterPreview:function(a){return a},InitBrowser:function(){var a=MathJax.HTML.Element("span",{id:"\x3c",className:"mathjax",innerHTML:"\x3cmath\x3e\x3cmi\x3ex\x3c/mi\x3e\x3cmspace /\x3e\x3c/math\x3e"}),f=a.outerHTML||"";this.AttributeBug=""!==f&&!(f.match(/id="<"/)&&f.match(/class="mathjax"/)&&f.match(/<\/math>/));this.MathTagBug=1<a.childNodes.length;this.CleanupHTML=MathJax.Hub.Browser.isMSIE}};MathJax.Hub.Register.PreProcessor(["PreProcess",MathJax.Extension.mml2jax]);MathJax.Ajax.loadComplete("[MathJax]/extensions/mml2jax.js");(function(a,f,e,d,g,p,n){var l=MathJax.Extension,c=l.MathEvents={version:"2.2"},b=a.config.menuSettings,m={hover:500,frame:{x:3.5,y:5,bwidth:1,bcolor:"#A6D",hwidth:"15px",hcolor:"#83A"},button:{x:-4,y:-3,wx:-2,src:e.fileURL(p.imageDir+"/MenuArrow-15.png")},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_Hover_Arrow":{position:"absolute",width:"15px",height:"11px",cursor:"pointer"}}},t=c.Event={LEFTBUTTON:0,RIGHTBUTTON:2,MENUKEY:"altKey",Mousedown:function(b){return t.Handler(b,"Mousedown",this)},Mouseup:function(b){return t.Handler(b,"Mouseup",this)},Mousemove:function(b){return t.Handler(b,"Mousemove",this)},Mouseover:function(b){return t.Handler(b,"Mouseover",this)},Mouseout:function(b){return t.Handler(b,"Mouseout",this)},Click:function(b){return t.Handler(b,"Click",this)},DblClick:function(b){return t.Handler(b,"DblClick",this)},Menu:function(b){return t.Handler(b,"ContextMenu",this)},Handler:function(b,m,c){if(e.loadingMathMenu)return t.False(b);var d=p[c.jaxID];b||(b=window.event);b.isContextMenu="ContextMenu"===m;if(d[m])return d[m](b,c);if(l.MathZoom)return l.MathZoom.HandleEvent(b,m,c)},False:function(b){b||(b=window.event);b&&(b.preventDefault&&b.preventDefault(),b.stopPropagation&&b.stopPropagation(),b.cancelBubble=!0,b.returnValue=!1);return!1},ContextMenu:function(m,k,r){var f=p[k.jaxID],l=f.getJaxFromMath(k);if((null!=f.config.showMathMenu?f:a).config.showMathMenu&&("MathJax"===b.context||r)){c.msieEventBug&&(m=window.event||m);t.ClearSelection();h.ClearHoverTimer();l.hover&&(l.hover.remove&&(clearTimeout(l.hover.remove),delete l.hover.remove),l.hover.nofade=!0);var x=MathJax.Menu;if(x){if(x.loadingDomain)return t.False(m);f=g.loadDomain("MathMenu");if(!f)return x.jax=l,k=x.menu.Find("Show Math As").menu,k.items[0].name=l.sourceMenuTitle,k.items[0].format=l.sourceMenuFormat||"MathML",k.items[1].name=n[l.inputJax].sourceMenuTitle,x.menu.Find("Math Settings","MathPlayer").hidden=!("NativeMML"===l.outputJax&&a.Browser.hasMathPlayer),x.menu.Post(m);x.loadingDomain=!0;l=function(){delete x.loadingDomain}}else{if(e.loadingMathMenu)return t.False(m);e.loadingMathMenu=!0;f=e.Require("[MathJax]/extensions/MathMenu.js");l=function(){delete e.loadingMathMenu;MathJax.Menu||(MathJax.Menu={})}}d.Queue(f,l,["ContextMenu",t,{pageX:m.pageX,pageY:m.pageY,clientX:m.clientX,clientY:m.clientY},k,r]);return t.False(m)}},AltContextMenu:function(m,d){var h=p[d.jaxID],g=(null!=h.config.showMathMenu?h:a).config.showMathMenu;if(g){g=(null!=h.config.showMathMenuMSIE?h:a).config.showMathMenuMSIE;if("MathJax"===b.context&&!b.mpContext&&g){if(!c.noContextMenuBug||m.button!==t.RIGHTBUTTON)return}else if(!m[t.MENUKEY]||m.button!==t.LEFTBUTTON)return;return h.ContextMenu(m,d,!0)}},ClearSelection:function(){c.safariContextMenuBug&&setTimeout("window.getSelection().empty()",0);document.selection&&setTimeout("document.selection.empty()",0)},getBBox:function(b){b.appendChild(c.topImg);var m=c.topImg.offsetTop,d=b.offsetHeight-m,a=b.offsetWidth;b.removeChild(c.topImg);return{w:a,h:m,d:d}}},h=c.Hover={Mouseover:function(m,c){if(b.discoverable||"Hover"===b.zoom){var d=m.fromElement||m.relatedTarget,g=m.toElement||m.target;if(d&&g&&(d.isMathJax!=g.isMathJax||a.getJaxFor(d)!==a.getJaxFor(g)))return d=this.getJaxFromMath(c),d.hover?h.ReHover(d):h.HoverTimer(d,c),t.False(m)}},Mouseout:function(m,c){if(b.discoverable||"Hover"===b.zoom){var d=m.fromElement||m.relatedTarget,g=m.toElement||m.target;if(d&&g&&(d.isMathJax!=g.isMathJax||a.getJaxFor(d)!==a.getJaxFor(g)))return d=this.getJaxFromMath(c),d.hover?h.UnHover(d):h.ClearHoverTimer(),t.False(m)}},Mousemove:function(m,c){if(b.discoverable||"Hover"===b.zoom){var d=this.getJaxFromMath(c);if(!d.hover&&(h.lastX!=m.clientX||h.lastY!=m.clientY))return h.lastX=m.clientX,h.lastY=m.clientY,h.HoverTimer(d,c),t.False(m)}},HoverTimer:function(b,c){this.ClearHoverTimer();this.hoverTimer=setTimeout(d(["Hover",this,b,c]),m.hover)},ClearHoverTimer:function(){this.hoverTimer&&(clearTimeout(this.hoverTimer),delete this.hoverTimer)},Hover:function(b,d){if(!l.MathZoom||!l.MathZoom.Hover({},d)){var t=p[b.outputJax],h=t.getHoverSpan(b,d),g=t.getHoverBBox(b,h,d),e=(null!=t.config.showMathMenu?t:a).config.showMathMenu,k=m.frame.x,r=m.frame.y,n=m.frame.bwidth;c.msieBorderWidthBug&&(n=0);b.hover={opacity:0,id:b.inputID+"-Hover"};var y=f.Element("span",{id:b.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(-g.h-r-n-(g.y||0)),left:this.Px(-k-n+(g.x||0)),width:this.Px(g.w+2*k),height:this.Px(g.h+g.d+2*r),opacity:0,filter:"alpha(opacity\x3d0)"}}]]),t=f.Element("span",{isMathJax:!0,id:b.hover.id+"Menu",style:{display:"inline-block","z-index":1,width:0,height:0,position:"relative"}},[["img",{className:"MathJax_Hover_Arrow",isMathJax:!0,math:d,src:m.button.src,onclick:this.HoverMenu,jax:t.id,style:{left:this.Px(g.w+k+n+(g.x||0)+m.button.x),top:this.Px(-g.h-r-n-(g.y||0)-m.button.y),opacity:0,filter:"alpha(opacity\x3d0)"}}]]);g.width&&(y.style.width=t.style.width=g.width,y.style.marginRight=t.style.marginRight="-"+g.width,y.firstChild.style.width=g.width,t.firstChild.style.left="",t.firstChild.style.right=this.Px(m.button.wx));h.parentNode.insertBefore(y,h);e&&h.parentNode.insertBefore(t,h);h.style&&(h.style.position="relative");this.ReHover(b)}},ReHover:function(b){b.hover.remove&&clearTimeout(b.hover.remove);b.hover.remove=setTimeout(d(["UnHover",this,b]),m.fadeoutDelay);this.HoverFadeTimer(b,m.fadeinInc)},UnHover:function(b){b.hover.nofade||this.HoverFadeTimer(b,-m.fadeoutInc,m.fadeoutStart)},HoverFade:function(b){delete b.hover.timer;b.hover.opacity=Math.max(0,Math.min(1,b.hover.opacity+b.hover.inc));b.hover.opacity=Math.floor(1E3*b.hover.opacity)/1E3;var m=document.getElementById(b.hover.id),c=document.getElementById(b.hover.id+"Menu");m.firstChild.style.opacity=b.hover.opacity;m.firstChild.style.filter="alpha(opacity\x3d"+Math.floor(100*b.hover.opacity)+")";c&&(c.firstChild.style.opacity=b.hover.opacity,c.firstChild.style.filter=m.style.filter);1!==b.hover.opacity&&(0<b.hover.opacity?this.HoverFadeTimer(b,b.hover.inc):(m.parentNode.removeChild(m),c&&c.parentNode.removeChild(c),b.hover.remove&&clearTimeout(b.hover.remove),delete b.hover))},HoverFadeTimer:function(b,c,a){b.hover.inc=c;b.hover.timer||(b.hover.timer=setTimeout(d(["HoverFade",this,b]),a||m.fadeDelay))},HoverMenu:function(b){b||(b=window.event);return p[this.jax].ContextMenu(b,this.math,!0)},ClearHover:function(b){b.hover.remove&&clearTimeout(b.hover.remove);b.hover.timer&&clearTimeout(b.hover.timer);h.ClearHoverTimer();delete b.hover},Px:function(b){return.006>Math.abs(b)?"0px":b.toFixed(2).replace(/\.?0+$/,"")+"px"},getImages:function(){(new Image).src=m.button.src}},r=c.Touch={last:0,delay:500,start:function(b){var m=(new Date).getTime(),c=m-r.last<r.delay&&r.up;r.last=m;r.up=!1;c&&(r.timeout=setTimeout(r.menu,r.delay,b,this),b.preventDefault())},end:function(b){var m=(new Date).getTime();r.up=m-r.last<r.delay;if(r.timeout)return clearTimeout(r.timeout),delete r.timeout,r.last=0,r.up=!1,b.preventDefault(),t.Handler(b.touches[0]||b.touch,"DblClick",this)},menu:function(b,m){delete r.timeout;r.last=0;r.up=!1;return t.Handler(b.touches[0]||b.touch,"ContextMenu",m)}};if(a.Browser.isMobile){var k=m.styles[".MathJax_Hover_Arrow"];k.width="25px";k.height="18px";m.button.x=-6}a.Browser.Select({MSIE:function(b){var m=document.documentMode||0,d=b.versionAtLeast("8.0");c.msieBorderWidthBug="BackCompat"===document.compatMode;c.msieEventBug=b.isIE9;c.msieAlignBug=!d||8>m;9>m&&(t.LEFTBUTTON=1)},Safari:function(b){c.safariContextMenuBug=!0},Opera:function(b){c.operaPositionBug=!0},Konqueror:function(b){c.noContextMenuBug=!0}});c.topImg=c.msieAlignBug?f.Element("img",{style:{width:0,height:0,position:"relative"},src:"about:blank"}):f.Element("span",{style:{width:0,height:0,display:"inline-block"}});c.operaPositionBug&&(c.topImg.style.border="1px solid");c.config=m=a.CombineConfig("MathEvents",m);d.Queue(a.Register.StartupHook("End Config",{}),[function(){var b=m.styles[".MathJax_Hover_Frame"];b.border=m.frame.bwidth+"px solid "+m.frame.bcolor+" ! important";b["box-shadow"]=b["-webkit-box-shadow"]=b["-moz-box-shadow"]=b["-khtml-box-shadow"]="0px 0px "+m.frame.hwidth+" "+m.frame.hcolor}],["getImages",h],["Styles",e,m.styles],["Post",a.Startup.signal,"MathEvents Ready"],["loadComplete",e,"[MathJax]/extensions/MathEvents.js"])})(MathJax.Hub,MathJax.HTML,MathJax.Ajax,MathJax.Callback,MathJax.Localization,MathJax.OutputJax,MathJax.InputJax);(function(a,f,e,d,g){var p=a.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","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\x3d2, OffY\x3d2, Color\x3d'gray', Positive\x3d'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\x3d0)"},"#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\x3d0)"}}}),n,l,c;MathJax.Hub.Register.StartupHook("MathEvents Ready",function(){c=MathJax.Extension.MathEvents.Event;n=MathJax.Extension.MathEvents.Event.False;l=MathJax.Extension.MathEvents.Hover});var b=MathJax.Extension.MathZoom={version:"2.2",settings:a.config.menuSettings,scrollSize:18,HandleEvent:function(m,c,d){return b.settings.CTRL&&!m.ctrlKey||b.settings.ALT&&!m.altKey||b.settings.CMD&&!m.metaKey||b.settings.Shift&&!m.shiftKey||!b[c]?!0:b[c](m,d)},Click:function(b,c){if("Click"===this.settings.zoom)return this.Zoom(b,c)},DblClick:function(b,c){if("Double-Click"===this.settings.zoom)return this.Zoom(b,c)},Hover:function(b,c){return"Hover"===this.settings.zoom?(this.Zoom(b,c),!0):!1},Zoom:function(b,d){this.Remove();l.ClearHoverTimer();c.ClearSelection();var h=MathJax.OutputJax[d.jaxID],g=h.getJaxFromMath(d);g.hover&&l.UnHover(g);var e=Math.floor(.85*document.body.clientWidth),q=Math.floor(.85*Math.max(document.body.clientHeight,document.documentElement.clientHeight)),A=f.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,"max-width":e+"px","max-height":q+"px"}},[["span",{style:{display:"inline-block","white-space":"nowrap"}}]]]]),u=A.lastChild,w=u.firstChild,v=A.firstChild;d.parentNode.insertBefore(A,d);d.parentNode.insertBefore(d,A);w.addEventListener&&w.addEventListener("mousedown",this.Remove,!0);if(this.msieTrapEventBug){var x=f.Element("span",{id:"MathJax_ZoomEventTrap",onmousedown:this.Remove});A.insertBefore(x,u)}this.msieZIndexBug&&(f.addElement(document.body,"img",{src:"about:blank",id:"MathJax_ZoomTracker",width:0,height:0,style:{width:0,height:0,position:"relative"}}),A.style.position="relative",A.style.zIndex=p.styles["#MathJax_ZoomOverlay"]["z-index"]);h=h.Zoom(g,w,d,e,q);this.msiePositionBug&&(this.msieSizeBug&&(u.style.height=h.zH+"px",u.style.width=h.zW+"px"),u.offsetHeight>q&&(u.style.height=q+"px",u.style.width=h.zW+this.scrollSize+"px"),u.offsetWidth>e&&(u.style.width=e+"px",u.style.height=h.zH+this.scrollSize+"px"));this.operaPositionBug&&(u.style.width=Math.min(e,h.zW)+"px");u.offsetWidth&&u.offsetWidth<e&&u.offsetHeight<q&&(u.style.overflow="visible");this.Position(u,h);this.msieTrapEventBug&&(x.style.height=u.clientHeight+"px",x.style.width=u.clientWidth+"px",x.style.left=parseFloat(u.style.left)+u.clientLeft+"px",x.style.top=parseFloat(u.style.top)+u.clientTop+"px");u.style.visibility="";"Hover"===this.settings.zoom&&(v.onmouseover=this.Remove);window.addEventListener?addEventListener("resize",this.Resize,!1):window.attachEvent?attachEvent("onresize",this.Resize):(this.onresize=window.onresize,window.onresize=this.Resize);a.signal.Post(["math zoomed",g]);return n(b)},Position:function(m,c){var d=this.Resize(),a=d.y,g=c.mW,e=c.Y;m.style.left=Math.max(-g-Math.floor((m.offsetWidth-g)/2),10-d.x)+"px";m.style.top=Math.max(e,10-a)+"px";b.msiePositionBug||b.SetWH()},Resize:function(m){if(b.onresize)b.onresize(m);var c=document.getElementById("MathJax_ZoomFrame");m=document.getElementById("MathJax_ZoomOverlay");for(var d=b.getXY(c),c=c.parentNode,a=b.getOverflow(c);c.parentNode&&c!==document.body&&"visible"===a;)c=c.parentNode,a=b.getOverflow(c);"visible"!==a&&(m.scroll_parent=c,a=b.getXY(c),d.x-=a.x,d.y-=a.y,a=b.getBorder(c),d.x-=a.x,d.y-=a.y);m.style.left=-d.x+"px";m.style.top=-d.y+"px";b.msiePositionBug?setTimeout(b.SetWH,0):b.SetWH();return d},SetWH:function(){var b=document.getElementById("MathJax_ZoomOverlay");b.style.width=b.style.height="1px";var c=b.scroll_parent||document.documentElement||document.body;b.style.width=c.scrollWidth+"px";b.style.height=Math.max(c.clientHeight,c.scrollHeight)+"px"},getOverflow:window.getComputedStyle?function(b){return getComputedStyle(b).overflow}:function(b){return(b.currentStyle||{overflow:"visible"}).overflow},getBorder:function(b){var c={thin:1,medium:2,thick:3},d=window.getComputedStyle?getComputedStyle(b):b.currentStyle||{borderLeftWidth:0,borderTopWidth:0};b=d.borderLeftWidth;d=d.borderTopWidth;b=c[b]?c[b]:parseInt(b);d=c[d]?c[d]:parseInt(d);return{x:b,y:d}},getXY:function(c){var d=0,a=0,g;for(g=c;g.offsetParent;)d+=g.offsetLeft,g=g.offsetParent;b.operaPositionBug&&(c.style.border="1px solid");for(g=c;g.offsetParent;)a+=g.offsetTop,g=g.offsetParent;b.operaPositionBug&&(c.style.border="");return{x:d,y:a}},Remove:function(c){var d=document.getElementById("MathJax_ZoomFrame");if(d){var h=MathJax.OutputJax[d.previousSibling.jaxID].getJaxFromMath(d.previousSibling);a.signal.Post(["math unzoomed",h]);d.parentNode.removeChild(d);(d=document.getElementById("MathJax_ZoomTracker"))&&d.parentNode.removeChild(d);b.operaRefreshBug&&(d=f.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(d));window.removeEventListener?removeEventListener("resize",b.Resize,!1):window.detachEvent?detachEvent("onresize",b.Resize):(window.onresize=b.onresize,delete b.onresize)}return n(c)}};a.Browser.Select({MSIE:function(c){var d=document.documentMode||0,a=9<=d;b.msiePositionBug=!a;b.msieSizeBug=c.versionAtLeast("7.0")&&(!document.documentMode||7===d||8===d);b.msieZIndexBug=7>=d;b.msieInlineBlockAlignBug=7>=d;b.msieTrapEventBug=!window.addEventListener;"BackCompat"===document.compatMode&&(b.scrollSize=52);a&&delete p.styles["#MathJax_Zoom"].filter},Opera:function(c){b.operaPositionBug=!0;b.operaRefreshBug=!0}});b.topImg=b.msieInlineBlockAlignBug?f.Element("img",{style:{width:0,height:0,position:"relative"},src:"about:blank"}):f.Element("span",{style:{width:0,height:0,display:"inline-block"}});if(b.operaPositionBug||b.msieTopBug)b.topImg.style.border="1px solid";MathJax.Callback.Queue(["StartupHook",MathJax.Hub.Register,"Begin Styles",{}],["Styles",e,p.styles],["Post",a.Startup.signal,"MathZoom Ready"],["loadComplete",e,"[MathJax]/extensions/MathZoom.js"])})(MathJax.Hub,MathJax.HTML,MathJax.Ajax,MathJax.OutputJax["HTML-CSS"],MathJax.OutputJax.NativeMML);(function(a,f,e,d,g){var p=MathJax.Callback.Signal("menu");MathJax.Extension.MathMenu={version:"2.2",signal:p};var n=function(b){return MathJax.Localization._.apply(MathJax.Localization,[["MathMenu",b]].concat([].slice.call(arguments,1)))},l=a.Browser.isPC,c=a.Browser.isMSIE,b=8<(document.documentMode||0),m=l?null:"5px",t=a.CombineConfig("MathMenu",{delay:150,closeImg:e.fileURL(g.imageDir+"/CloseX-31.png"),showRenderer:!0,showMathPlayer:!0,showFontMenu:!1,showContext:!1,showDiscoverable:!1,showLocale:!0,showLocaleURL:!1,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\x3d2, OffY\x3d2, Color\x3d'gray', Positive\x3d'true')"},".MathJax_Menu":{position:"absolute","background-color":"white",color:"black",width:"auto",padding:l?"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":m,"-webkit-border-radius":m,"-moz-border-radius":m,"-khtml-border-radius":m,"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\x3d2, OffY\x3d2, Color\x3d'gray', Positive\x3d'true')"},".MathJax_MenuItem":{padding:l?"2px 2em":"1px 2em",background:"transparent"},".MathJax_MenuArrow":{position:"absolute",right:".5em",color:"#666666","font-family":c?"'Arial unicode MS'":null},".MathJax_MenuActive .MathJax_MenuArrow":{color:"white"},".MathJax_MenuCheck":{position:"absolute",left:".7em","font-family":c?"'Arial unicode MS'":null},".MathJax_MenuRadioCheck":{position:"absolute",left:l?"1em":".7em"},".MathJax_MenuLabel":{padding:l?"2px 2em 4px 1.33em":"1px 2em 3px 1.33em","font-style":"italic"},".MathJax_MenuRule":{"border-top":l?"1px solid #CCCCCC":"1px solid #DDDDDD",margin:l?"4px 1px 0px":"4px 3px"},".MathJax_MenuDisabled":{color:"GrayText"},".MathJax_MenuActive":{"background-color":l?"Highlight":"#606872",color:l?"HighlightText":"white"},".MathJax_Menu_Close":{position:"absolute",width:"31px",height:"31px",top:"-15px",left:"-15px"}}}),h,r;a.Register.StartupHook("MathEvents Ready",function(){h=MathJax.Extension.MathEvents.Event.False;r=MathJax.Extension.MathEvents.Hover});var k=MathJax.Menu=MathJax.Object.Subclass({version:"2.2",items:[],posted:!1,title:null,margin:5,Init:function(b){this.items=[].slice.call(arguments,0)},With:function(b){b&&a.Insert(this,b);return this},Post:function(b,c){b||(b=window.event);var m=document.getElementById("MathJax_MenuFrame");m||(m=k.Background(this),delete q.lastItem,delete q.lastMenu,delete k.skipUp,p.Post(["post",k.jax]));var d=f.addElement(m,"div",{onmouseup:k.Mouseup,ondblclick:h,ondragstart:h,onselectstart:h,oncontextmenu:h,menuItem:this,className:"MathJax_Menu"});MathJax.Localization.setCSS(d);for(var a=0,g=this.items.length;a<g;a++)this.items[a].Create(d);k.isMobile&&f.addElement(d,"span",{className:"MathJax_Menu_Close",menu:c,ontouchstart:k.Close,ontouchend:h,onmousedown:k.Close,onmouseup:h},[["img",{src:t.closeImg,style:{width:"100%",height:"100%"}}]]);this.posted=!0;d.style.width=d.offsetWidth+2+"px";a=b.pageX;g=b.pageY;a||g||(a=b.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,g=b.clientY+document.body.scrollTop+document.documentElement.scrollTop);if(c){for(var e="left",r=c.offsetWidth,a=k.isMobile?30:r-2,g=0;c&&c!==m;)a+=c.offsetLeft,g+=c.offsetTop,c=c.parentNode;a+d.offsetWidth>document.body.offsetWidth-this.margin&&!k.isMobile&&(e="right",a=Math.max(this.margin,a-r-d.offsetWidth+6));l||(d.style["borderRadiusTop"+e]=0,d.style["WebkitBorderRadiusTop"+e]=0,d.style["MozBorderRadiusTop"+e]=0,d.style["KhtmlBorderRadiusTop"+e]=0)}else a+d.offsetWidth>document.body.offsetWidth-this.margin&&(a=document.body.offsetWidth-d.offsetWidth-this.margin),k.isMobile&&(a=Math.max(5,a-Math.floor(d.offsetWidth/2)),g-=20),k.skipUp=b.isContextMenu;d.style.left=a+"px";d.style.top=g+"px";document.selection&&document.selection.empty&&document.selection.empty();return h(b)},Remove:function(b,c){p.Post(["unpost",k.jax]);var m=document.getElementById("MathJax_MenuFrame");m&&(m.parentNode.removeChild(m),this.msieFixedPositionBug&&detachEvent("onresize",k.Resize));k.jax.hover&&(delete k.jax.hover.nofade,r.UnHover(k.jax));return h(b)},Find:function(b){return this.FindN(1,b,[].slice.call(arguments,1))},FindId:function(b){return this.FindN(0,b,[].slice.call(arguments,1))},FindN:function(b,c,m){for(var d=0,a=this.items.length;d<a;d++)if(this.items[d].name[b]===c){if(m.length){if(!this.items[d].menu)break;return this.items[d].menu.FindN(b,m[0],m.slice(1))}return this.items[d]}return null},IndexOf:function(b){return this.IndexOfN(1,b)},IndexOfId:function(b){return this.IndexOfN(0,b)},IndexOfN:function(b,c){for(var m=0,d=this.items.length;m<d;m++)if(this.items[m].name[b]===c)return m;return null}},{config:t,div:null,Close:function(b){return k.Event(b,this.menu||this.parentNode,this.menu?"Touchend":"Remove")},Remove:function(b){return k.Event(b,this,"Remove")},Mouseover:function(b){return k.Event(b,this,"Mouseover")},Mouseout:function(b){return k.Event(b,this,"Mouseout")},Mousedown:function(b){return k.Event(b,this,"Mousedown")},Mouseup:function(b){return k.Event(b,this,"Mouseup")},Touchstart:function(b){return k.Event(b,this,"Touchstart")},Touchend:function(b){return k.Event(b,this,"Touchend")},Event:function(b,c,m,d){if(k.skipMouseover&&"Mouseover"===m&&!d)return h(b);if(k.skipUp){if(m.match(/Mouseup|Touchend/))return delete k.skipUp,h(b);("Touchstart"===m||"Mousedown"===m&&!k.skipMousedown)&&delete k.skipUp}b||(b=window.event);return(d=c.menuItem)&&d[m]?d[m](b,c):null},BGSTYLE:{position:"absolute",left:0,top:0,"z-index":200,width:"100%",height:"100%",border:0,padding:0,margin:0},Background:function(b){b=f.addElement(document.body,"div",{style:this.BGSTYLE,id:"MathJax_MenuFrame"},[["div",{style:this.BGSTYLE,menuItem:b,onmousedown:this.Remove}]]);var c=b.firstChild;k.msieBackgroundBug&&(c.style.backgroundColor="white",c.style.filter="alpha(opacity\x3d0)");k.msieFixedPositionBug?(b.width=b.height=0,this.Resize(),attachEvent("onresize",this.Resize)):c.style.position="fixed";return b},Resize:function(){setTimeout(k.SetWH,0)},SetWH:function(){var b=document.getElementById("MathJax_MenuFrame");b&&(b=b.firstChild,b.style.width=b.style.height="1px",b.style.width=document.body.scrollWidth+"px",b.style.height=document.body.scrollHeight+"px")},saveCookie:function(){f.Cookie.Set("menu",this.cookie)},getCookie:function(){this.cookie=f.Cookie.Get("menu")},getImages:function(){k.isMobile&&((new Image).src=t.closeImg)}}),q=k.ITEM=MathJax.Object.Subclass({name:"",Create:function(b){if(!this.hidden){var c={onmouseover:k.Mouseover,onmouseout:k.Mouseout,onmouseup:k.Mouseup,onmousedown:k.Mousedown,ondragstart:h,onselectstart:h,onselectend:h,ontouchstart:k.Touchstart,ontouchend:k.Touchend,className:"MathJax_MenuItem",menuItem:this};this.disabled&&(c.className+=" MathJax_MenuDisabled");f.addElement(b,"div",c,this.Label(c,b))}},Name:function(){return n(this.name[0],this.name[1])},Mouseover:function(b,c){this.disabled||this.Activate(c);if(!this.menu||!this.menu.posted){for(var m=document.getElementById("MathJax_MenuFrame").childNodes,d=c.parentNode.childNodes,a=0,h=d.length;a<h;a++){var t=d[a].menuItem;t&&t.menu&&t.menu.posted&&t.Deactivate(d[a])}for(h=m.length-1;0<=h&&c.parentNode.menuItem!==m[h].menuItem;)m[h].menuItem.posted=!1,m[h].parentNode.removeChild(m[h]),h--;this.Timer&&!k.isMobile&&this.Timer(b,c)}},Mouseout:function(b,c){this.menu&&this.menu.posted||this.Deactivate(c);this.timer&&(clearTimeout(this.timer),delete this.timer)},Mouseup:function(b,c){return this.Remove(b,c)},Touchstart:function(b,c){return this.TouchEvent(b,c,"Mousedown")},Touchend:function(b,c){return this.TouchEvent(b,c,"Mouseup")},TouchEvent:function(b,c,m){this!==q.lastItem&&(q.lastMenu&&k.Event(b,q.lastMenu,"Mouseout"),k.Event(b,c,"Mouseover",!0),q.lastItem=this,q.lastMenu=c);if(this.nativeTouch)return null;k.Event(b,c,m);return!1},Remove:function(b,c){c=c.parentNode.menuItem;return c.Remove(b,c)},Activate:function(b){this.Deactivate(b);b.className+=" MathJax_MenuActive"},Deactivate:function(b){b.className=b.className.replace(/ MathJax_MenuActive/,"")},With:function(b){b&&a.Insert(this,b);return this}});k.ITEM.COMMAND=k.ITEM.Subclass({action:function(){},Init:function(b,c,m){b instanceof Array||(b=[b,b]);this.name=b;this.action=c;this.With(m)},Label:function(b,c){return[this.Name()]},Mouseup:function(b,c){this.disabled||(this.Remove(b,c),p.Post(["command",this]),this.action.call(this,b));return h(b)}});k.ITEM.SUBMENU=k.ITEM.Subclass({menu:null,marker:l&&!a.Browser.isSafari?"\u25b6":"\u25b8",Init:function(b,c){b instanceof Array||(b=[b,b]);this.name=b;var m=1;c instanceof k.ITEM||(this.With(c),m++);this.menu=k.apply(k,[].slice.call(arguments,m))},Label:function(b,c){this.menu.posted=!1;return[this.Name()+" ",["span",{className:"MathJax_MenuArrow"},[this.marker]]]},Timer:function(b,c){this.timer&&clearTimeout(this.timer);b={clientX:b.clientX,clientY:b.clientY};this.timer=setTimeout(d(["Mouseup",this,b,c]),t.delay)},Touchend:function(b,c){var m=this.menu.posted,d=this.SUPER(arguments).Touchend.apply(this,arguments);m&&(this.Deactivate(c),delete q.lastItem,delete q.lastMenu);return d},Mouseup:function(b,c){if(!this.disabled)if(this.menu.posted)for(var m=document.getElementById("MathJax_MenuFrame").childNodes,d=m.length-1;0<=d;){var a=m[d];a.menuItem.posted=!1;a.parentNode.removeChild(a);if(a.menuItem===this.menu)break;d--}else this.timer&&(clearTimeout(this.timer),delete this.timer),this.menu.Post(b,c);return h(b)}});k.ITEM.RADIO=k.ITEM.Subclass({variable:null,marker:l?"\u25cf":"\u2713",Init:function(b,c,m){b instanceof Array||(b=[b,b]);this.name=b;this.variable=c;this.With(m);null==this.value&&(this.value=this.name[0])},Label:function(b,c){var m={className:"MathJax_MenuRadioCheck"};t.settings[this.variable]!==this.value&&(m={style:{display:"none"}});return[["span",m,[this.marker]]," "+this.Name()]},Mouseup:function(b,c){if(!this.disabled){for(var m=c.parentNode.childNodes,d=0,a=m.length;d<a;d++){var g=m[d].menuItem;g&&g.variable===this.variable&&(m[d].firstChild.style.display="none")}c.firstChild.display="";t.settings[this.variable]=this.value;k.cookie[this.variable]=t.settings[this.variable];k.saveCookie();p.Post(["radio button",this])}this.Remove(b,c);this.action&&!this.disabled&&this.action.call(k,this);return h(b)}});k.ITEM.CHECKBOX=k.ITEM.Subclass({variable:null,marker:"\u2713",Init:function(b,c,m){b instanceof Array||(b=[b,b]);this.name=b;this.variable=c;this.With(m)},Label:function(b,c){var m={className:"MathJax_MenuCheck"};t.settings[this.variable]||(m={style:{display:"none"}});return[["span",m,[this.marker]]," "+this.Name()]},Mouseup:function(b,c){this.disabled||(c.firstChild.display=t.settings[this.variable]?"none":"",t.settings[this.variable]=!t.settings[this.variable],k.cookie[this.variable]=t.settings[this.variable],k.saveCookie(),p.Post(["checkbox",this]));this.Remove(b,c);this.action&&!this.disabled&&this.action.call(k,this);return h(b)}});k.ITEM.LABEL=k.ITEM.Subclass({Init:function(b,c){b instanceof Array||(b=[b,b]);this.name=b;this.With(c)},Label:function(b,c){delete b.onmouseover;delete b.onmouseout;delete b.onmousedown;b.className+=" MathJax_MenuLabel";return[this.Name()]}});k.ITEM.RULE=k.ITEM.Subclass({Label:function(b,c){delete b.onmouseover;delete b.onmouseout;delete b.onmousedown;b.className+=" MathJax_MenuRule";return null}});k.About=function(){var b=g["HTML-CSS"]||{},c=(b.imgFonts?"image":b.fontInUse?(b.webFonts?"web":"local")+" "+b.fontInUse:g.SVG?"web SVG":"generic")+" fonts",b=!b.webFonts||b.imgFonts?null:b.allowWebFonts.replace(/otf/,"woff or otf")+" fonts",m=["MathJax.js v"+MathJax.fileversion,["br"]];m.push(["div",{style:{"border-top":"groove 2px",margin:".25em 0"}}]);k.About.GetJax(m,MathJax.InputJax,["InputJax","%1 Input Jax v%2"]);k.About.GetJax(m,MathJax.OutputJax,["OutputJax","%1 Output Jax v%2"]);k.About.GetJax(m,MathJax.ElementJax,["ElementJax","%1 Element Jax v%2"]);m.push(["div",{style:{"border-top":"groove 2px",margin:".25em 0"}}]);k.About.GetJax(m,MathJax.Extension,["Extension","%1 Extension v%2"],!0);m.push(["div",{style:{"border-top":"groove 2px",margin:".25em 0"}}],["center",{},[a.Browser+" v"+a.Browser.version+(b?" \u2014 "+n(b.replace(/ /g,""),b):"")]]);k.About.div=k.Background(k.About);c=f.addElement(k.About.div,"div",{id:"MathJax_About"},[["b",{style:{fontSize:"120%"}},["MathJax"]]," v"+MathJax.version,["br"],n(c.replace(/ /g,""),"using "+c),["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"}},m],["br"],["br"],["a",{href:"http://www.mathjax.org/"},["www.mathjax.org"]],["img",{src:t.closeImg,style:{width:"21px",height:"21px",position:"absolute",top:".2em",right:".2em"},onclick:k.About.Remove}]]);MathJax.Localization.setCSS(c);b=document.documentElement||{};b=window.innerHeight||b.clientHeight||b.scrollHeight||0;k.prototype.msieAboutBug?(c.style.width="20em",c.style.position="absolute",c.style.left=Math.floor((document.documentElement.scrollWidth-c.offsetWidth)/2)+"px",c.style.top=Math.floor((b-c.offsetHeight)/3)+document.body.scrollTop+"px"):(c.style.marginLeft=Math.floor(-c.offsetWidth/2)+"px",c.style.top=Math.floor((b-c.offsetHeight)/3)+"px")};k.About.Remove=function(b){k.About.div&&(document.body.removeChild(k.About.div),delete k.About.div)};k.About.GetJax=function(b,c,m,d){var a=[],h;for(h in c)c.hasOwnProperty(h)&&c[h]&&(d&&c[h].version||c[h].isa&&c[h].isa(c))&&a.push(n(m[0],m[1],c[h].id||h,c[h].version));a.sort();c=0;for(m=a.length;c<m;c++)b.push(a[c],["br"]);return b};k.Help=function(){e.Require("[MathJax]/extensions/HelpDialog.js",function(){MathJax.Extension.Help.Dialog()})};k.ShowSource=function(b){b||(b=window.event);var c={screenX:b.screenX,screenY:b.screenY};if(k.jax)if("MathML"===this.format){var m=MathJax.ElementJax.mml;if(m&&"undefined"!==typeof m.mbase.prototype.toMathML)try{k.ShowSource.Text(k.jax.root.toMathML(),b)}catch(a){if(!a.restart)throw a;d.After([this,k.ShowSource,c],a.restart)}else e.loadingToMathML||(e.loadingToMathML=!0,k.ShowSource.Window(b),d.Queue(e.Require("[MathJax]/extensions/toMathML.js"),function(){delete e.loadingToMathML;m.mbase.prototype.toMathML||(m.mbase.prototype.toMathML=function(){})},[this,k.ShowSource,c]))}else"Error"===this.format?k.ShowSource.Text(k.jax.errorText,b):null==k.jax.originalText?alert(n("NoOriginalForm","No original form available")):k.ShowSource.Text(k.jax.originalText,b)};k.ShowSource.Window=function(b){if(!k.ShowSource.w){b=[];var c=t.windowSettings,m;for(m in c)c.hasOwnProperty(m)&&b.push(m+"\x3d"+c[m]);k.ShowSource.w=window.open("","_blank",b.join(","))}return k.ShowSource.w};k.ShowSource.Text=function(b,c){var m=k.ShowSource.Window(c);delete k.ShowSource.w;b=b.replace(/^\s*/,"").replace(/\s*$/,"");b=b.replace(/&/g,"\x26amp;").replace(/</g,"\x26lt;").replace(/>/g,"\x26gt;");var d=n("EqSource","MathJax Equation Source");if(k.isMobile)m.document.open(),m.document.write("\x3chtml\x3e\x3chead\x3e\x3cmeta name\x3d'viewport' content\x3d'width\x3ddevice-width, initial-scale\x3d1.0' /\x3e\x3ctitle\x3e"+d+"\x3c/title\x3e\x3c/head\x3e\x3cbody style\x3d'font-size:85%'\x3e"),m.document.write("\x3cpre\x3e"+b+"\x3c/pre\x3e"),m.document.write("\x3chr\x3e\x3cinput type\x3d'button' value\x3d'"+n("Close","Close")+"' onclick\x3d'window.close()' /\x3e"),m.document.write("\x3c/body\x3e\x3c/html\x3e"),m.document.close();else{m.document.open();m.document.write("\x3chtml\x3e\x3chead\x3e\x3ctitle\x3e"+d+"\x3c/title\x3e\x3c/head\x3e\x3cbody style\x3d'font-size:85%'\x3e");m.document.write("\x3ctable\x3e\x3ctr\x3e\x3ctd\x3e\x3cpre\x3e"+b+"\x3c/pre\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e");m.document.write("\x3c/body\x3e\x3c/html\x3e");m.document.close();var a=m.document.body.firstChild;setTimeout(function(){var b=m.outerHeight-m.innerHeight||30,d=m.outerWidth-m.innerWidth||30,d=Math.max(100,Math.min(Math.floor(.5*screen.width),a.offsetWidth+d+25)),b=Math.max(40,Math.min(Math.floor(.5*screen.height),a.offsetHeight+b+25));m.resizeTo(d,b);c&&null!=c.screenX&&(d=Math.max(0,Math.min(c.screenX-Math.floor(d/2),screen.width-d-20)),b=Math.max(0,Math.min(c.screenY-Math.floor(b/2),screen.height-b-20)),m.moveTo(d,b))},50)}};k.Scale=function(){var b=g["HTML-CSS"],c=g.NativeMML,m=g.SVG,d=(b||c||m||{config:{scale:100}}).config.scale,h=prompt(n("ScaleMath","Scale all mathematics (compared to surrounding text) by"),d+"%");h&&(h.match(/^\s*\d+(\.\d*)?\s*%?\s*$/)?(h=parseFloat(h))?h!==d&&(b&&(b.config.scale=h),c&&(c.config.scale=h),m&&(m.config.scale=h),k.cookie.scale=h,k.saveCookie(),a.Reprocess()):alert(n("NonZeroScale","The scale should not be zero")):alert(n("PercentScale","The scale should be a percentage (e.g., 120%%)")))};k.Zoom=function(){MathJax.Extension.MathZoom||e.Require("[MathJax]/extensions/MathZoom.js")};k.Renderer=function(){var c=a.outputJax["jax/mml"];if(c[0]!==t.settings.renderer){var m=a.Browser,d,h=k.Renderer.Messages,g;switch(t.settings.renderer){case "NativeMML":t.settings.warnedMML||(m.isChrome&&"24."!==m.version.substr(0,3)?d=h.MML.WebKit:m.isSafari&&!m.versionAtLeast("5.0")?d=h.MML.WebKit:m.isMSIE?m.hasMathPlayer||(d=h.MML.MSIE):d=h.MML[m],g="warnedMML");break;case "SVG":t.settings.warnedSVG||!m.isMSIE||b||(d=h.SVG.MSIE)}if(d){d=n(d[0],d[1]);d=d+"\n\n"+n("SwitchAnyway","Switch the renderer anyway?\n\n(Press OK to switch, CANCEL to continue with the current renderer)");k.cookie.renderer=c[0].id;k.saveCookie();if(!confirm(d)){k.cookie.renderer=t.settings.renderer=f.Cookie.Get("menu").renderer;k.saveCookie();return}g&&(k.cookie.warned=t.settings.warned=!0);k.cookie.renderer=t.settings.renderer;k.saveCookie()}a.Queue(["setRenderer",a,t.settings.renderer,"jax/mml"],["Rerender",a])}};k.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."]}};k.Font=function(){g["HTML-CSS"]&&document.location.reload()};k.Locale=function(){MathJax.Localization.setLocale(t.settings.locale);MathJax.Hub.Queue(["Reprocess",MathJax.Hub])};k.LoadLocale=function(){var b=prompt(n("LoadURL","Load translation data from this URL:"));b&&(b.match(/\.js$/)||alert(n("BadURL","The URL should be for a javascript file that defines MathJax translation data. Javascript file names should end with '.js'")),e.Require(b,function(c){c!=e.STATUS.OK&&alert(n("BadData","Failed to load translation data from %1",b))}))};k.MPEvents=function(c){var m=t.settings.discoverable,d=k.MPEvents.Messages;b?!m&&"Menu Events"===c.name[1]&&t.settings.mpContext&&alert(n.apply(n,d.IE9warning)):t.settings.mpMouse&&!confirm(n.apply(n,d.IE8warning))?(delete k.cookie.mpContext,delete t.settings.mpContext,delete k.cookie.mpMouse,delete t.settings.mpMouse,k.saveCookie()):(t.settings.mpContext=t.settings.mpMouse,k.cookie.mpContext=k.cookie.mpMouse=t.settings.mpMouse,k.saveCookie(),MathJax.Hub.Queue(["Rerender",MathJax.Hub]))};k.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."]};a.Browser.Select({MSIE:function(c){var m="BackCompat"===document.compatMode;c=c.versionAtLeast("8.0")&&7<document.documentMode;k.Augment({margin:20,msieBackgroundBug:9>document.documentMode,msieFixedPositionBug:m||!c,msieAboutBug:m});b&&(delete t.styles["#MathJax_About"].filter,delete t.styles[".MathJax_Menu"].filter)},Firefox:function(b){k.skipMouseover=b.isMobile&&b.versionAtLeast("6.0");k.skipMousedown=b.isMobile}});k.isMobile=a.Browser.isMobile;k.noContextMenu=a.Browser.noContextMenu;k.CreateLocaleMenu=function(){if(k.menu){var b=k.menu.Find("Language").menu,c=b.items,m=[],d=MathJax.Localization.strings,a;for(a in d)d.hasOwnProperty(a)&&m.push(a);m=m.sort();b.items=[];a=0;for(var h=m.length;a<h;a++){var t=d[m[a]].menuTitle,t=t?t+(" ("+m[a]+")"):m[a];b.items.push(q.RADIO([m[a],t],"locale",{action:k.Locale}))}b.items.push(c[c.length-2],c[c.length-1])}};a.Register.StartupHook("End Config",function(){t.settings=a.config.menuSettings;"undefined"!==typeof t.settings.showRenderer&&(t.showRenderer=t.settings.showRenderer);"undefined"!==typeof t.settings.showFontMenu&&(t.showFontMenu=t.settings.showFontMenu);"undefined"!==typeof t.settings.showContext&&(t.showContext=t.settings.showContext);k.getCookie();k.menu=k(q.SUBMENU(["Show","Show Math As"],q.COMMAND(["MathMLcode","MathML Code"],k.ShowSource,{nativeTouch:!0,format:"MathML"}),q.COMMAND(["Original","Original Form"],k.ShowSource,{nativeTouch:!0}),q.RULE(),q.CHECKBOX(["texHints","Show TeX hints in MathML"],"texHints")),q.RULE(),q.SUBMENU(["Settings","Math Settings"],q.SUBMENU(["ZoomTrigger","Zoom Trigger"],q.RADIO(["Hover","Hover"],"zoom",{action:k.Zoom}),q.RADIO(["Click","Click"],"zoom",{action:k.Zoom}),q.RADIO(["DoubleClick","Double-Click"],"zoom",{action:k.Zoom}),q.RADIO(["NoZoom","No Zoom"],"zoom",{value:"None"}),q.RULE(),q.LABEL(["TriggerRequires","Trigger Requires:"]),q.CHECKBOX(a.Browser.isMac?["Option","Option"]:["Alt","Alt"],"ALT"),q.CHECKBOX(["Command","Command"],"CMD",{hidden:!a.Browser.isMac}),q.CHECKBOX(["Control","Control"],"CTRL",{hidden:a.Browser.isMac}),q.CHECKBOX(["Shift","Shift"],"Shift")),q.SUBMENU(["ZoomFactor","Zoom Factor"],q.RADIO("125%","zscale"),q.RADIO("133%","zscale"),q.RADIO("150%","zscale"),q.RADIO("175%","zscale"),q.RADIO("200%","zscale"),q.RADIO("250%","zscale"),q.RADIO("300%","zscale"),q.RADIO("400%","zscale")),q.RULE(),q.SUBMENU(["Renderer","Math Renderer"],{hidden:!t.showRenderer},q.RADIO("HTML-CSS","renderer",{action:k.Renderer}),q.RADIO("MathML","renderer",{action:k.Renderer,value:"NativeMML"}),q.RADIO("SVG","renderer",{action:k.Renderer})),q.SUBMENU("MathPlayer",{hidden:!a.Browser.isMSIE||!t.showMathPlayer,disabled:!a.Browser.hasMathPlayer},q.LABEL(["MPHandles","Let MathPlayer Handle:"]),q.CHECKBOX(["MenuEvents","Menu Events"],"mpContext",{action:k.MPEvents,hidden:!b}),q.CHECKBOX(["MouseEvents","Mouse Events"],"mpMouse",{action:k.MPEvents,hidden:!b}),q.CHECKBOX(["MenuAndMouse","Mouse and Menu Events"],"mpMouse",{action:k.MPEvents,hidden:b})),q.SUBMENU(["FontPrefs","Font Preference"],{hidden:!t.showFontMenu},q.LABEL(["ForHTMLCSS","For HTML-CSS:"]),q.RADIO(["Auto","Auto"],"font",{action:k.Font}),q.RULE(),q.RADIO(["TeXLocal","TeX (local)"],"font",{action:k.Font}),q.RADIO(["TeXWeb","TeX (web)"],"font",{action:k.Font}),q.RADIO(["TeXImage","TeX (image)"],"font",{action:k.Font}),q.RULE(),q.RADIO(["STIXlocal","STIX (local)"],"font",{action:k.Font})),q.SUBMENU(["ContextMenu","Contextual Menu"],{hidden:!t.showContext},q.RADIO("MathJax","context"),q.RADIO(["Browser","Browser"],"context")),q.COMMAND(["Scale","Scale All Math ..."],k.Scale),q.RULE().With({hidden:!t.showDiscoverable,name:["","discover_rule"]}),q.CHECKBOX(["Discoverable","Highlight on Hover"],"discoverable",{hidden:!t.showDiscoverable})),q.SUBMENU(["Locale","Language"],{hidden:!t.showLocale},q.RADIO("en","locale",{action:k.Locale}),q.RULE().With({hidden:!t.showLocaleURL,name:["","localURL_rule"]}),q.COMMAND(["LoadLocale","Load from URL ..."],k.LoadLocale,{hidden:!t.showLocaleURL})),q.RULE(),q.COMMAND(["About","About MathJax"],k.About),q.COMMAND(["Help","MathJax Help"],k.Help));if(k.isMobile){var c=t.settings,m=k.menu.Find("Math Settings","Zoom Trigger").menu;m.items[0].disabled=m.items[1].disabled=!0;if("Hover"===c.zoom||"Click"==c.zoom)c.zoom="None";m.items=m.items.slice(0,4);navigator.appVersion.match(/[ (]Android[) ]/)&&k.ITEM.SUBMENU.Augment({marker:"\u00bb"})}k.CreateLocaleMenu()});k.showRenderer=function(b){k.cookie.showRenderer=t.showRenderer=b;k.saveCookie();k.menu.Find("Math Settings","Math Renderer").hidden=!b};k.showMathPlayer=function(b){k.cookie.showMathPlayer=t.showMathPlayer=b;k.saveCookie();k.menu.Find("Math Settings","MathPlayer").hidden=!b};k.showFontMenu=function(b){k.cookie.showFontMenu=t.showFontMenu=b;k.saveCookie();k.menu.Find("Math Settings","Font Preference").hidden=!b};k.showContext=function(b){k.cookie.showContext=t.showContext=b;k.saveCookie();k.menu.Find("Math Settings","Contextual Menu").hidden=!b};k.showDiscoverable=function(b){k.cookie.showDiscoverable=t.showDiscoverable=b;k.saveCookie();k.menu.Find("Math Settings","Highlight on Hover").hidden=!b;k.menu.Find("Math Settings","discover_rule").hidden=!b};k.showLocale=function(b){k.cookie.showLocale=t.showLocale=b;k.saveCookie();k.menu.Find("Language").hidden=!b};MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",function(){MathJax.OutputJax["HTML-CSS"].config.imageFont||(k.menu.Find("Math Settings","Font Preference","TeX (image)").disabled=!0)});d.Queue(a.Register.StartupHook("End Config",{}),["getImages",k],["Styles",e,t.styles],["Post",a.Startup.signal,"MathMenu Ready"],["loadComplete",e,"[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.2",directory:MathJax.ElementJax.directory+"/mml",extensionDir:MathJax.ElementJax.extensionDir+"/mml",optableDir:MathJax.ElementJax.directory+"/mml/optable"});MathJax.ElementJax.mml.Augment({Init:function(){this.root=1===arguments.length&&"math"===arguments[0].type?arguments[0]:MathJax.ElementJax.mml.math.apply(this,arguments);if(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 a=0,f=this.root.attrNames.length;a<f;a++)if("mode"===this.root.attrNames[a]){this.root.attrNames.splice(a,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:"inital",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",VERTICALSTRIKE:"verticalstrike",HORIZONTALSTRIKE:"horizontalstrike",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".split(" "),copyAttributes:{fontfamily:!0,fontsize:!0,fontweight:!0,fontstyle:!0,color:!0,background:!0,id:!0,"class":!0,href:!0,style:!0},skipAttributes:{texClass:!0,useHeight:!0,texprimestyle:!0},copyAttributeNames:"fontfamily fontsize fontweight fontstyle color background id class href style".split(" ")});(function(a){a.mbase=MathJax.Object.Subclass({type:"base",isToken:!1,defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT},noInherit:{},noInheritAttribute:{texClass:!0},linebreakContainer:!1,Init:function(){this.data=[];!this.inferRow||1===arguments.length&&arguments[0].inferred||this.Append(a.mrow().With({inferred:!0,notParent:!0}));this.Append.apply(this,arguments)},With:function(d){for(var a in d)d.hasOwnProperty(a)&&(this[a]=d[a]);return this},Append:function(){if(this.inferRow&&this.data.length)this.data[0].Append.apply(this.data[0],arguments);else for(var d=0,a=arguments.length;d<a;d++)this.SetData(this.data.length,arguments[d])},SetData:function(d,g){null!=g&&(g instanceof a.mbase||(g=this.isToken?a.chars(g):a.mtext(g)),g.parent=this,g.setInherit(this.inheritFromMe?this:this.inherit));this.data[d]=g},Parent:function(){for(var d=this.parent;d&&d.notParent;)d=d.parent;return d},Get:function(d,g){if(null!=this[d])return this[d];if(this.attr&&null!=this.attr[d])return this.attr[d];var e=this.Parent();if(e&&null!=e["adjustChild_"+d])return e["adjustChild_"+d](this.childPosition(),g);for(var f=e=this.inherit;e;){f=e[d];null==f&&e.attr&&(f=e.attr[d]);if(null!=f&&e.noInheritAttribute&&!e.noInheritAttribute[d]){var l=e.noInherit[this.type];if(!l||!l[d])return f}f=e;e=e.inherit}if(!g){if(this.defaults[d]===a.AUTO)return this.autoDefault(d);if(this.defaults[d]!==a.INHERIT&&null!=this.defaults[d])return this.defaults[d];if(f)return f.defaults[d]}return null},hasValue:function(d){return null!=this.Get(d,!0)},getValues:function(){for(var d={},a=0,e=arguments.length;a<e;a++)d[arguments[a]]=this.Get(arguments[a]);return d},adjustChild_scriptlevel:function(d,a){return this.Get("scriptlevel",a)},adjustChild_displaystyle:function(d,a){return this.Get("displaystyle",a)},adjustChild_texprimestyle:function(d,a){return this.Get("texprimestyle",a)},childPosition:function(){for(var d=this,a=d.parent;a.notParent;)d=a,a=d.parent;for(var e=0,f=a.data.length;e<f;e++)if(a.data[e]===d)return e;return null},setInherit:function(d){if(d!==this.inherit&&null==this.inherit){this.inherit=d;for(var a=0,e=this.data.length;a<e;a++)this.data[a]&&this.data[a].setInherit&&this.data[a].setInherit(d)}},setTeXclass:function(d){this.getPrevClass(d);return"undefined"!==typeof this.texClass?this:d},getPrevClass:function(d){d&&(this.prevClass=d.Get("texClass"),this.prevLevel=d.Get("scriptlevel"))},updateTeXclass:function(d){d&&(this.prevClass=d.prevClass,delete d.prevClass,this.prevLevel=d.prevLevel,delete d.prevLevel,this.texClass=d.Get("texClass"))},texSpacing:function(){var d=null!=this.prevClass?this.prevClass:a.TEXCLASS.NONE,e=this.Get("texClass")||a.TEXCLASS.ORD;if(d===a.TEXCLASS.NONE||e===a.TEXCLASS.NONE)return"";d===a.TEXCLASS.VCENTER&&(d=a.TEXCLASS.ORD);e===a.TEXCLASS.VCENTER&&(e=a.TEXCLASS.ORD);d=this.TEXSPACE[d][e];return 0<this.prevLevel&&0<this.Get("scriptlevel")&&0<=d?"":this.TEXSPACELENGTH[Math.abs(d)]},TEXSPACELENGTH:["",a.LENGTH.THINMATHSPACE,a.LENGTH.MEDIUMMATHSPACE,a.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(d){return""},isSpacelike:function(){return!1},isEmbellished:function(){return!1},Core:function(){return this},CoreMO:function(){return this},hasNewline:function(){if(this.isEmbellished())return this.CoreMO().hasNewline();if(this.isToken||this.linebreakContainer)return!1;for(var d=0,a=this.data.length;d<a;d++)if(this.data[d]&&this.data[d].hasNewline())return!0;return!1},array:function(){return this.inferred?this.data:[this]},toString:function(){return this.type+"("+this.data.join(",")+")"}},{childrenSpacelike:function(){for(var d=0,a=this.data.length;d<a;d++)if(!this.data[d].isSpacelike())return!1;return!0},childEmbellished:function(){return this.data[0]&&this.data[0].isEmbellished()},childCore:function(){return this.data[0]},childCoreMO:function(){return this.data[0]?this.data[0].CoreMO():null},setChildTeXclass:function(d){this.data[0]&&(d=this.data[0].setTeXclass(d),this.updateTeXclass(this.data[0]));return d},setBaseTeXclasses:function(d){this.getPrevClass(d);this.texClass=null;this.data[0]?this.isEmbellished()||this.data[0].isa(a.mi)?(d=this.data[0].setTeXclass(d),this.updateTeXclass(this.Core())):(this.data[0].setTeXclass(),d=this):d=this;for(var e=1,f=this.data.length;e<f;e++)this.data[e]&&this.data[e].setTeXclass();return d},setSeparateTeXclasses:function(d){this.getPrevClass(d);d=0;for(var a=this.data.length;d<a;d++)this.data[d]&&this.data[d].setTeXclass();this.isEmbellished()&&this.updateTeXclass(this.Core());return this}});a.mi=a.mbase.Subclass({type:"mi",isToken:!0,texClass:a.TEXCLASS.ORD,defaults:{mathvariant:a.AUTO,mathsize:a.INHERIT,mathbackground:a.INHERIT,mathcolor:a.INHERIT},autoDefault:function(d){return"mathvariant"===d?(d=(this.data[0]||"").toString(),1===d.length||2===d.length&&55296<=d.charCodeAt(0)&&56320>d.charCodeAt(0)?a.VARIANT.ITALIC:a.VARIANT.NORMAL):""},setTeXclass:function(d){this.getPrevClass(d);d=this.data.join("");1<d.length&&d.match(/^[a-z][a-z0-9]*$/i)&&this.texClass===a.TEXCLASS.ORD&&(this.texClass=a.TEXCLASS.OP,this.autoOP=!0);return this}});a.mn=a.mbase.Subclass({type:"mn",isToken:!0,texClass:a.TEXCLASS.ORD,defaults:{mathvariant:a.INHERIT,mathsize:a.INHERIT,mathbackground:a.INHERIT,mathcolor:a.INHERIT}});a.mo=a.mbase.Subclass({type:"mo",isToken:!0,defaults:{mathvariant:a.INHERIT,mathsize:a.INHERIT,mathbackground:a.INHERIT,mathcolor:a.INHERIT,form:a.AUTO,fence:a.AUTO,separator:a.AUTO,lspace:a.AUTO,rspace:a.AUTO,stretchy:a.AUTO,symmetric:a.AUTO,maxsize:a.AUTO,minsize:a.AUTO,largeop:a.AUTO,movablelimits:a.AUTO,accent:a.AUTO,linebreak:a.LINEBREAK.AUTO,lineleading:a.INHERIT,linebreakstyle:a.AUTO,linebreakmultchar:a.INHERIT,indentalign:a.INHERIT,indentshift:a.INHERIT,indenttarget:a.INHERIT,indentalignfirst:a.INHERIT,indentshiftfirst:a.INHERIT,indentalignlast:a.INHERIT,indentshiftlast:a.INHERIT,texClass:a.AUTO},defaultDef:{form:a.FORM.INFIX,fence:!1,separator:!1,lspace:a.LENGTH.THICKMATHSPACE,rspace:a.LENGTH.THICKMATHSPACE,stretchy:!1,symmetric:!0,maxsize:a.SIZE.INFINITY,minsize:"0em",largeop:!1,movablelimits:!1,accent:!1,linebreak:a.LINEBREAK.AUTO,lineleading:"1ex",linebreakstyle:"before",indentalign:a.INDENTALIGN.AUTO,indentshift:"0",indenttarget:"",indentalignfirst:a.INDENTALIGN.INDENTALIGN,indentshiftfirst:a.INDENTSHIFT.INDENTSHIFT,indentalignlast:a.INDENTALIGN.INDENTALIGN,indentshiftlast:a.INDENTSHIFT.INDENTSHIFT,texClass:a.TEXCLASS.REL},SPACE_ATTR:{lspace:1,rspace:2,form:4},useMMLspacing:7,autoDefault:function(d,e){var f=this.def;if(!f){if("form"===d)return this.useMMLspacing&=~this.SPACE_ATTR.form,this.getForm();for(var n=this.data.join(""),l=[this.Get("form"),a.FORM.INFIX,a.FORM.POSTFIX,a.FORM.PREFIX],c=0,b=l.length;c<b;c++){var m=this.OPTABLE[l[c]][n];if(m){f=this.makeDef(m);break}}f||(f=this.CheckRange(n));!f&&e?f={}:(f||(f=MathJax.Hub.Insert({},this.defaultDef)),f.form=l[0],this.def=f)}this.useMMLspacing&=~(this.SPACE_ATTR[d]||0);return null!=f[d]?f[d]:e?"":this.defaultDef[d]},CheckRange:function(d){var e=d.charCodeAt(0);55296<=e&&56320>e&&(e=(e-55296<<10)+(d.charCodeAt(1)-56320)+65536);for(var f=0,n=this.RANGES.length;f<n&&this.RANGES[f][0]<=e;f++)if(e<=this.RANGES[f][1])return this.RANGES[f][3]&&(e=a.optableDir+"/"+this.RANGES[f][3]+".js",this.RANGES[f][3]=null,MathJax.Hub.RestartAfter(MathJax.Ajax.Require(e))),f=a.TEXCLASSNAMES[this.RANGES[f][2]],f=this.OPTABLE.infix[d]=a.mo.OPTYPES["BIN"===f?"BIN3":f],this.makeDef(f);return null},makeDef:function(d){null==d[2]&&(d[2]=this.defaultDef.texClass);d[3]||(d[3]={});var e=MathJax.Hub.Insert({},d[3]);e.lspace=this.SPACE[d[0]];e.rspace=this.SPACE[d[1]];e.texClass=d[2];e.texClass===a.TEXCLASS.REL&&(this.movablelimits||this.data.join("").match(/^[a-z]+$/i))&&(e.texClass=a.TEXCLASS.OP);return e},getForm:function(){for(var d=this,e=this.parent,f=this.Parent();f&&f.isEmbellished();)d=e,e=f.parent,f=f.Parent();if(e&&"mrow"===e.type&&1!==e.NonSpaceLength()){if(e.FirstNonSpace()===d)return a.FORM.PREFIX;if(e.LastNonSpace()===d)return a.FORM.POSTFIX}return a.FORM.INFIX},isEmbellished:function(){return!0},hasNewline:function(){return this.Get("linebreak")===a.LINEBREAK.NEWLINE},setTeXclass:function(d){this.getValues("lspace","rspace");if(this.useMMLspacing)return this.texClass=a.TEXCLASS.NONE,this;this.texClass=this.Get("texClass");return"\u2061"===this.data.join("")?(d&&(d.texClass=a.TEXCLASS.OP),this.texClass=this.prevClass=a.TEXCLASS.NONE,d):this.adjustTeXclass(d)},adjustTeXclass:function(d){if(this.texClass===a.TEXCLASS.NONE)return d;d?(!d.autoOP||this.texClass!==a.TEXCLASS.BIN&&this.texClass!==a.TEXCLASS.REL||(d.texClass=a.TEXCLASS.ORD),this.prevClass=d.texClass||a.TEXCLASS.ORD,this.prevLevel=d.Get("scriptlevel")):this.prevClass=a.TEXCLASS.NONE;this.texClass!==a.TEXCLASS.BIN||this.prevClass!==a.TEXCLASS.NONE&&this.prevClass!==a.TEXCLASS.BIN&&this.prevClass!==a.TEXCLASS.OP&&this.prevClass!==a.TEXCLASS.REL&&this.prevClass!==a.TEXCLASS.OPEN&&this.prevClass!==a.TEXCLASS.PUNCT?this.prevClass!==a.TEXCLASS.BIN||this.texClass!==a.TEXCLASS.REL&&this.texClass!==a.TEXCLASS.CLOSE&&this.texClass!==a.TEXCLASS.PUNCT||(d.texClass=this.prevClass=a.TEXCLASS.ORD):this.texClass=a.TEXCLASS.ORD;return this}});a.mtext=a.mbase.Subclass({type:"mtext",isToken:!0,isSpacelike:function(){return!0},texClass:a.TEXCLASS.ORD,defaults:{mathvariant:a.INHERIT,mathsize:a.INHERIT,mathbackground:a.INHERIT,mathcolor:a.INHERIT}});a.mspace=a.mbase.Subclass({type:"mspace",isToken:!0,isSpacelike:function(){return!0},defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,width:"0em",height:"0ex",depth:"0ex",linebreak:a.LINEBREAK.AUTO},hasDimAttr:function(){return this.hasValue("width")||this.hasValue("height")||this.hasValue("depth")},hasNewline:function(){return!this.hasDimAttr()&&this.Get("linebreak")===a.LINEBREAK.NEWLINE}});a.ms=a.mbase.Subclass({type:"ms",isToken:!0,texClass:a.TEXCLASS.ORD,defaults:{mathvariant:a.INHERIT,mathsize:a.INHERIT,mathbackground:a.INHERIT,mathcolor:a.INHERIT,lquote:'"',rquote:'"'}});a.mglyph=a.mbase.Subclass({type:"mglyph",isToken:!0,texClass:a.TEXCLASS.ORD,defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,alt:"",src:"",width:a.AUTO,height:a.AUTO,valign:"0em"}});a.mrow=a.mbase.Subclass({type:"mrow",isSpacelike:a.mbase.childrenSpacelike,inferred:!1,notParent:!1,isEmbellished:function(){for(var d=!1,a=0,e=this.data.length;a<e;a++)if(null!=this.data[a])if(this.data[a].isEmbellished()){if(d)return!1;d=!0;this.core=a}else if(!this.data[a].isSpacelike())return!1;return d},NonSpaceLength:function(){for(var d=0,a=0,e=this.data.length;a<e;a++)this.data[a]&&!this.data[a].isSpacelike()&&d++;return d},FirstNonSpace:function(){for(var d=0,a=this.data.length;d<a;d++)if(this.data[d]&&!this.data[d].isSpacelike())return this.data[d];return null},LastNonSpace:function(){for(var d=this.data.length-1;0<=d;d--)if(this.data[0]&&!this.data[d].isSpacelike())return this.data[d];return null},Core:function(){return this.isEmbellished()&&"undefined"!==typeof this.core?this.data[this.core]:this},CoreMO:function(){return this.isEmbellished()&&"undefined"!==typeof this.core?this.data[this.core].CoreMO():this},toString:function(){return this.inferred?"["+this.data.join(",")+"]":this.SUPER(arguments).toString.call(this)},setTeXclass:function(d){for(var a=0,e=this.data.length;a<e;a++)this.data[a]&&(d=this.data[a].setTeXclass(d));this.data[0]&&this.updateTeXclass(this.data[0]);return d}});a.mfrac=a.mbase.Subclass({type:"mfrac",num:0,den:1,linebreakContainer:!0,texClass:a.TEXCLASS.INNER,isEmbellished:a.mbase.childEmbellished,Core:a.mbase.childCore,CoreMO:a.mbase.childCoreMO,defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,linethickness:a.LINETHICKNESS.MEDIUM,numalign:a.ALIGN.CENTER,denomalign:a.ALIGN.CENTER,bevelled:!1},adjustChild_displaystyle:function(d){return!1},adjustChild_scriptlevel:function(d){d=this.Get("scriptlevel");(!this.Get("displaystyle")||0<d)&&d++;return d},adjustChild_texprimestyle:function(d){return d==this.den?!0:this.Get("texprimestyle")},setTeXclass:a.mbase.setSeparateTeXclasses});a.msqrt=a.mbase.Subclass({type:"msqrt",inferRow:!0,linebreakContainer:!0,texClass:a.TEXCLASS.ORD,setTeXclass:a.mbase.setSeparateTeXclasses,adjustChild_texprimestyle:function(d){return!0}});a.mroot=a.mbase.Subclass({type:"mroot",linebreakContainer:!0,texClass:a.TEXCLASS.ORD,adjustChild_displaystyle:function(d){return 1===d?!1:this.Get("displaystyle")},adjustChild_scriptlevel:function(d){var a=this.Get("scriptlevel");1===d&&(a+=2);return a},adjustChild_texprimestyle:function(d){return 0===d?!0:this.Get("texprimestyle")},setTeXclass:a.mbase.setSeparateTeXclasses});a.mstyle=a.mbase.Subclass({type:"mstyle",isSpacelike:a.mbase.childrenSpacelike,isEmbellished:a.mbase.childEmbellished,Core:a.mbase.childCore,CoreMO:a.mbase.childCoreMO,inferRow:!0,defaults:{scriptlevel:a.INHERIT,displaystyle:a.INHERIT,scriptsizemultiplier:Math.sqrt(.5),scriptminsize:"8pt",mathbackground:a.INHERIT,mathcolor:a.INHERIT,infixlinebreakstyle:a.LINEBREAKSTYLE.BEFORE,decimalseparator:"."},adjustChild_scriptlevel:function(d){d=this.scriptlevel;if(null==d)d=this.Get("scriptlevel");else if(String(d).match(/^ *[-+]/)){delete this.scriptlevel;var a=this.Get("scriptlevel");this.scriptlevel=d;d=a+parseInt(d)}return d},inheritFromMe:!0,noInherit:{mpadded:{width:!0,height:!0,depth:!0,lspace:!0,voffset:!0},mtable:{width:!0,height:!0,depth:!0,align:!0}},setTeXclass:a.mbase.setChildTeXclass});a.merror=a.mbase.Subclass({type:"merror",inferRow:!0,linebreakContainer:!0,texClass:a.TEXCLASS.ORD});a.mpadded=a.mbase.Subclass({type:"mpadded",inferRow:!0,isSpacelike:a.mbase.childrenSpacelike,isEmbellished:a.mbase.childEmbellished,Core:a.mbase.childCore,CoreMO:a.mbase.childCoreMO,defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,width:"",height:"",depth:"",lspace:0,voffset:0},setTeXclass:a.mbase.setChildTeXclass});a.mphantom=a.mbase.Subclass({type:"mphantom",texClass:a.TEXCLASS.ORD,inferRow:!0,isSpacelike:a.mbase.childrenSpacelike,isEmbellished:a.mbase.childEmbellished,Core:a.mbase.childCore,CoreMO:a.mbase.childCoreMO,setTeXclass:a.mbase.setChildTeXclass});a.mfenced=a.mbase.Subclass({type:"mfenced",defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,open:"(",close:")",separators:","},texClass:a.TEXCLASS.OPEN,setTeXclass:function(d){this.getPrevClass(d);var e=this.getValues("open","close","separators");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",a.mo(e.open).With({stretchy:!0,texClass:a.TEXCLASS.OPEN})),d=this.data.open.setTeXclass(d));if(""!==e.separators)for(;e.separators.length<this.data.length;)e.separators+=e.separators.charAt(e.separators.length-1);this.data[0]&&(d=this.data[0].setTeXclass(d));for(var f=1,n=this.data.length;f<n;f++)this.data[f]&&(""!==e.separators&&(this.SetData("sep"+f,a.mo(e.separators.charAt(f-1))),d=this.data["sep"+f].setTeXclass(d)),d=this.data[f].setTeXclass(d));""!==e.close&&(this.SetData("close",a.mo(e.close).With({stretchy:!0,texClass:a.TEXCLASS.CLOSE})),d=this.data.close.setTeXclass(d));this.updateTeXclass(this.data.open);return d}});a.menclose=a.mbase.Subclass({type:"menclose",inferRow:!0,linebreakContainer:!0,defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,notation:a.NOTATION.LONGDIV,texClass:a.TEXCLASS.ORD},setTeXclass:a.mbase.setSeparateTeXclasses});a.msubsup=a.mbase.Subclass({type:"msubsup",base:0,sub:1,sup:2,isEmbellished:a.mbase.childEmbellished,Core:a.mbase.childCore,CoreMO:a.mbase.childCoreMO,defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,subscriptshift:"",superscriptshift:"",texClass:a.AUTO},autoDefault:function(d){return"texClass"===d?this.isEmbellished()?this.CoreMO().Get(d):a.TEXCLASS.ORD:0},adjustChild_displaystyle:function(d){return 0<d?!1:this.Get("displaystyle")},adjustChild_scriptlevel:function(d){var a=this.Get("scriptlevel");0<d&&a++;return a},adjustChild_texprimestyle:function(d){return d===this.sub?!0:this.Get("texprimestyle")},setTeXclass:a.mbase.setBaseTeXclasses});a.msub=a.msubsup.Subclass({type:"msub"});a.msup=a.msubsup.Subclass({type:"msup",sub:2,sup:1});a.mmultiscripts=a.msubsup.Subclass({type:"mmultiscripts",adjustChild_texprimestyle:function(d){return 1===d%2?!0:this.Get("texprimestyle")}});a.mprescripts=a.mbase.Subclass({type:"mprescripts"});a.none=a.mbase.Subclass({type:"none"});a.munderover=a.mbase.Subclass({type:"munderover",base:0,under:1,over:2,sub:1,sup:2,ACCENTS:["","accentunder","accent"],linebreakContainer:!0,isEmbellished:a.mbase.childEmbellished,Core:a.mbase.childCore,CoreMO:a.mbase.childCoreMO,defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,accent:a.AUTO,accentunder:a.AUTO,align:a.ALIGN.CENTER,texClass:a.AUTO,subscriptshift:"",superscriptshift:""},autoDefault:function(d){return"texClass"===d?this.isEmbellished()?this.CoreMO().Get(d):a.TEXCLASS.ORD:"accent"===d&&this.data[this.over]?this.data[this.over].CoreMO().Get("accent"):"accentunder"===d&&this.data[this.under]?this.data[this.under].CoreMO().Get("accent"):!1},adjustChild_displaystyle:function(d){return 0<d?!1:this.Get("displaystyle")},adjustChild_scriptlevel:function(d){var a=this.Get("scriptlevel"),e=this.data[this.base]&&!this.Get("displaystyle")&&this.data[this.base].CoreMO().Get("movablelimits");d!=this.under||!e&&this.Get("accentunder")||a++;d!=this.over||!e&&this.Get("accent")||a++;return a},adjustChild_texprimestyle:function(d){return d===this.base&&this.data[this.over]?!0:this.Get("texprimestyle")},setTeXclass:a.mbase.setBaseTeXclasses});a.munder=a.munderover.Subclass({type:"munder"});a.mover=a.munderover.Subclass({type:"mover",over:1,under:2,sup:1,sub:2,ACCENTS:["","accent","accentunder"]});a.mtable=a.mbase.Subclass({type:"mtable",defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,align:a.ALIGN.AXIS,rowalign:a.ALIGN.BASELINE,columnalign:a.ALIGN.CENTER,groupalign:"{left}",alignmentscope:!0,columnwidth:a.WIDTH.AUTO,width:a.WIDTH.AUTO,rowspacing:"1ex",columnspacing:".8em",rowlines:a.LINES.NONE,columnlines:a.LINES.NONE,frame:a.LINES.NONE,framespacing:"0.4em 0.5ex",equalrows:!1,equalcolumns:!1,displaystyle:!1,side:a.SIDE.RIGHT,minlabelspacing:"0.8em",texClass:a.TEXCLASS.ORD,useHeight:1},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,side:!0,minlabelspacing:!0,texClass:!0,useHeight:1}},linebreakContainer:!0,Append:function(){for(var d=0,e=arguments.length;d<e;d++)arguments[d]instanceof a.mtr||arguments[d]instanceof a.mlabeledtr||(arguments[d]=a.mtd(arguments[d]));this.SUPER(arguments).Append.apply(this,arguments)},setTeXclass:a.mbase.setSeparateTeXclasses});a.mtr=a.mbase.Subclass({type:"mtr",defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,rowalign:a.INHERIT,columnalign:a.INHERIT,groupalign:a.INHERIT},inheritFromMe:!0,noInherit:{mrow:{rowalign:!0,columnalign:!0,groupalign:!0},mtable:{rowalign:!0,columnalign:!0,groupalign:!0}},linebreakContainer:!0,Append:function(){for(var d=0,e=arguments.length;d<e;d++)arguments[d]instanceof a.mtd||(arguments[d]=a.mtd(arguments[d]));this.SUPER(arguments).Append.apply(this,arguments)},setTeXclass:a.mbase.setSeparateTeXclasses});a.mtd=a.mbase.Subclass({type:"mtd",inferRow:!0,linebreakContainer:!0,isEmbellished:a.mbase.childEmbellished,Core:a.mbase.childCore,CoreMO:a.mbase.childCoreMO,defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,rowspan:1,columnspan:1,rowalign:a.INHERIT,columnalign:a.INHERIT,groupalign:a.INHERIT},setTeXclass:a.mbase.setSeparateTeXclasses});a.maligngroup=a.mbase.Subclass({type:"malign",isSpacelike:function(){return!0},defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,groupalign:a.INHERIT},inheritFromMe:!0,noInherit:{mrow:{groupalign:!0},mtable:{groupalign:!0}}});a.malignmark=a.mbase.Subclass({type:"malignmark",defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,edge:a.SIDE.LEFT},isSpacelike:function(){return!0}});a.mlabeledtr=a.mtr.Subclass({type:"mlabeledtr"});a.maction=a.mbase.Subclass({type:"maction",defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,actiontype:a.ACTIONTYPE.TOGGLE,selection:1},selected:function(){return this.data[this.Get("selection")-1]||a.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(d){this.Get("actiontype")===a.ACTIONTYPE.TOOLTIP&&this.data[1]&&this.data[1].setTeXclass();return this.selected().setTeXclass(d)}});a.semantics=a.mbase.Subclass({type:"semantics",notParent:!0,isEmbellished:a.mbase.childEmbellished,Core:a.mbase.childCore,CoreMO:a.mbase.childCoreMO,defaults:{definitionURL:null,encoding:null},setTeXclass:a.mbase.setChildTeXclass});a.annotation=a.mbase.Subclass({type:"annotation",isToken:!0,linebreakContainer:!0,defaults:{definitionURL:null,encoding:null,cd:"mathmlkeys",name:"",src:null}});a["annotation-xml"]=a.mbase.Subclass({type:"annotation-xml",linebreakContainer:!0,defaults:{definitionURL:null,encoding:null,cd:"mathmlkeys",name:"",src:null}});a.math=a.mstyle.Subclass({type:"math",defaults:{mathvariant:a.VARIANT.NORMAL,mathsize:a.SIZE.NORMAL,mathcolor:"",mathbackground:a.COLOR.TRANSPARENT,scriptlevel:0,displaystyle:a.AUTO,display:"inline",maxwidth:"",overflow:a.OVERFLOW.LINEBREAK,altimg:"","altimg-width":"","altimg-height":"","altimg-valign":"",alttext:"",cdgroup:"",scriptsizemultiplier:Math.sqrt(.5),scriptminsize:"8px",infixlinebreakstyle:a.LINEBREAKSTYLE.BEFORE,lineleading:"1ex",indentshift:"auto",indentalign:a.INDENTALIGN.AUTO,indentalignfirst:a.INDENTALIGN.INDENTALIGN,indentshiftfirst:a.INDENTSHIFT.INDENTSHIFT,indentalignlast:a.INDENTALIGN.INDENTALIGN,indentshiftlast:a.INDENTSHIFT.INDENTSHIFT,decimalseparator:".",texprimestyle:!1},autoDefault:function(d){return"displaystyle"===d?"block"===this.Get("display"):""},linebreakContainer:!0,setTeXclass:a.mbase.setChildTeXclass});a.chars=a.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("")}});a.entity=a.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 d=this.value();if(65535>=d)return String.fromCharCode(d);d-=65536;return String.fromCharCode((d>>10)+55296)+String.fromCharCode((d&1023)+56320)}});a.xml=a.mbase.Subclass({type:"xml",Init:function(){this.div=document.createElement("div");return this.SUPER(arguments).Init.apply(this,arguments)},Append:function(){for(var d=0,a=arguments.length;d<a;d++){var e=this.Import(arguments[d]);this.data.push(e);this.div.appendChild(e)}},Import:function(d){if(document.importNode)return document.importNode(d,!0);var a,e,f;if(1===d.nodeType){a=document.createElement(d.nodeName);e=0;for(f=d.attributes.length;e<f;e++){var l=d.attributes[e];l.specified&&null!=l.nodeValue&&""!=l.nodeValue&&a.setAttribute(l.nodeName,l.nodeValue);"style"===l.nodeName&&(a.style.cssText=l.nodeValue)}d.className&&(a.className=d.className)}else if(3===d.nodeType||4===d.nodeType)a=document.createTextNode(d.nodeValue);else if(8===d.nodeType)a=document.createComment(d.nodeValue);else return document.createTextNode("");e=0;for(f=d.childNodes.length;e<f;e++)a.appendChild(this.Import(d.childNodes[e]));return a},value:function(){return this.div},toString:function(){return this.div.innerHTML}});a.TeXAtom=a.mbase.Subclass({type:"texatom",inferRow:!0,notParent:!0,texClass:a.TEXCLASS.ORD,Core:a.mbase.childCore,CoreMO:a.mbase.childCoreMO,isEmbellished:a.mbase.childEmbellished,setTeXclass:function(d){this.data[0].setTeXclass();return this.adjustTeXclass(d)},adjustTeXclass:a.mo.prototype.adjustTeXclass});a.NULL=a.mbase().With({type:"null"});var f=a.TEXCLASS,e={ORD:[0,0,f.ORD],ORD11:[1,1,f.ORD],ORD21:[2,1,f.ORD],ORD02:[0,2,f.ORD],ORD55:[5,5,f.ORD],OP:[1,2,f.OP,{largeop:!0,movablelimits:!0,symmetric:!0}],OPFIXED:[1,2,f.OP,{largeop:!0,movablelimits:!0}],INTEGRAL:[0,1,f.OP,{largeop:!0,symmetric:!0}],INTEGRAL2:[1,2,f.OP,{largeop:!0,symmetric:!0}],BIN3:[3,3,f.BIN],BIN4:[4,4,f.BIN],BIN01:[0,1,f.BIN],BIN5:[5,5,f.BIN],TALLBIN:[4,4,f.BIN,{stretchy:!0}],BINOP:[4,4,f.BIN,{largeop:!0,movablelimits:!0}],REL:[5,5,f.REL],REL1:[1,1,f.REL,{stretchy:!0}],REL4:[4,4,f.REL],RELSTRETCH:[5,5,f.REL,{stretchy:!0}],RELACCENT:[5,5,f.REL,{accent:!0}],WIDEREL:[5,5,f.REL,{accent:!0,stretchy:!0}],OPEN:[0,0,f.OPEN,{fence:!0,stretchy:!0,symmetric:!0}],CLOSE:[0,0,f.CLOSE,{fence:!0,stretchy:!0,symmetric:!0}],INNER:[0,0,f.INNER],PUNCT:[0,3,f.PUNCT],ACCENT:[0,0,f.ORD,{accent:!0}],WIDEACCENT:[0,0,f.ORD,{accent:!0,stretchy:!0}]};a.mo.Augment({SPACE:"0em 0.1111em 0.1667em 0.2222em 0.2667em 0.3333em".split(" "),RANGES:[[32,127,f.REL,"BasicLatin"],[160,255,f.ORD,"Latin1Supplement"],[256,383,f.ORD],[384,591,f.ORD],[688,767,f.ORD,"SpacingModLetters"],[768,879,f.ORD,"CombDiacritMarks"],[880,1023,f.ORD,"GreekAndCoptic"],[7680,7935,f.ORD],[8192,8303,f.PUNCT,"GeneralPunctuation"],[8304,8351,f.ORD],[8352,8399,f.ORD],[8400,8447,f.ORD,"CombDiactForSymbols"],[8448,8527,f.ORD,"LetterlikeSymbols"],[8528,8591,f.ORD],[8592,8703,f.REL,"Arrows"],[8704,8959,f.BIN,"MathOperators"],[8960,9215,f.ORD,"MiscTechnical"],[9312,9471,f.ORD],[9472,9631,f.ORD],[9632,9727,f.ORD,"GeometricShapes"],[9984,10175,f.ORD,"Dingbats"],[10176,10223,f.ORD,"MiscMathSymbolsA"],[10224,10239,f.REL,"SupplementalArrowsA"],[10496,10623,f.REL,"SupplementalArrowsB"],[10624,10751,f.ORD,"MiscMathSymbolsB"],[10752,11007,f.BIN,"SuppMathOperators"],[11008,11263,f.ORD,"MiscSymbolsAndArrows"],[119808,120831,f.ORD]],OPTABLE:{prefix:{"\u2200":e.ORD21,"\u2202":e.ORD21,"\u2203":e.ORD21,"\u2207":e.ORD21,"\u220f":e.OP,"\u2210":e.OP,"\u2211":e.OP,"\u2212":e.BIN01,"\u2213":e.BIN01,"\u221a":[1,1,f.ORD,{stretchy:!0}],"\u2220":e.ORD,"\u222b":e.INTEGRAL,"\u222e":e.INTEGRAL,"\u22c0":e.OP,"\u22c1":e.OP,"\u22c2":e.OP,"\u22c3":e.OP,"\u2308":e.OPEN,"\u230a":e.OPEN,"\u27e8":e.OPEN,"\u27ee":e.OPEN,"\u2a00":e.OP,"\u2a01":e.OP,"\u2a02":e.OP,"\u2a04":e.OP,"\u2a06":e.OP,"\u00ac":e.ORD21,"\u00b1":e.BIN01,"(":e.OPEN,"+":e.BIN01,"-":e.BIN01,"[":e.OPEN,"{":e.OPEN,"|":e.OPEN},postfix:{"!":[1,0,f.CLOSE],"\x26":e.ORD,"\u2032":e.ORD02,"\u203e":e.WIDEACCENT,"\u2309":e.CLOSE,"\u230b":e.CLOSE,"\u23de":e.WIDEACCENT,"\u23df":e.WIDEACCENT,"\u266d":e.ORD02,"\u266e":e.ORD02,"\u266f":e.ORD02,"\u27e9":e.CLOSE,"\u27ef":e.CLOSE,"\u02c6":e.WIDEACCENT,"\u02c7":e.WIDEACCENT,"\u02c9":e.WIDEACCENT,"\u02ca":e.ACCENT,"\u02cb":e.ACCENT,"\u02d8":e.ACCENT,"\u02d9":e.ACCENT,"\u02dc":e.WIDEACCENT,"\u0302":e.WIDEACCENT,"\u00a8":e.ACCENT,"\u00af":e.WIDEACCENT,")":e.CLOSE,"]":e.CLOSE,"^":e.WIDEACCENT,_:e.WIDEACCENT,"`":e.ACCENT,"|":e.CLOSE,"}":e.CLOSE,"~":e.WIDEACCENT},infix:{"":e.ORD,"%":[3,3,f.ORD],"\u2022":e.BIN4,"\u2026":e.INNER,"\u2044":e.TALLBIN,"\u2061":e.ORD,"\u2062":e.ORD,"\u2063":[0,0,f.ORD,{linebreakstyle:"after",separator:!0}],"\u2064":e.ORD,"\u2190":e.WIDEREL,"\u2191":e.RELSTRETCH,"\u2192":e.WIDEREL,"\u2193":e.RELSTRETCH,"\u2194":e.WIDEREL,"\u2195":e.RELSTRETCH,"\u2196":e.RELSTRETCH,"\u2197":e.RELSTRETCH,"\u2198":e.RELSTRETCH,"\u2199":e.RELSTRETCH,"\u21a6":e.WIDEREL,"\u21a9":e.WIDEREL,"\u21aa":e.WIDEREL,"\u21bc":e.WIDEREL,"\u21bd":e.WIDEREL,"\u21c0":e.WIDEREL,"\u21c1":e.WIDEREL,"\u21cc":e.WIDEREL,"\u21d0":e.WIDEREL,"\u21d1":e.RELSTRETCH,"\u21d2":e.WIDEREL,"\u21d3":e.RELSTRETCH,"\u21d4":e.WIDEREL,"\u21d5":e.RELSTRETCH,"\u2208":e.REL,"\u2209":e.REL,"\u220b":e.REL,"\u2212":e.BIN4,"\u2213":e.BIN4,"\u2215":e.TALLBIN,"\u2216":e.BIN4,"\u2217":e.BIN4,"\u2218":e.BIN4,"\u2219":e.BIN4,"\u221d":e.REL,"\u2223":e.REL,"\u2225":e.REL,"\u2227":e.BIN4,"\u2228":e.BIN4,"\u2229":e.BIN4,"\u222a":e.BIN4,"\u223c":e.REL,"\u2240":e.BIN4,"\u2243":e.REL,"\u2245":e.REL,"\u2248":e.REL,"\u224d":e.REL,"\u2250":e.REL,"\u2260":e.REL,"\u2261":e.REL,"\u2264":e.REL,"\u2265":e.REL,"\u226a":e.REL,"\u226b":e.REL,"\u227a":e.REL,"\u227b":e.REL,"\u2282":e.REL,"\u2283":e.REL,"\u2286":e.REL,"\u2287":e.REL,"\u228e":e.BIN4,"\u2291":e.REL,"\u2292":e.REL,"\u2293":e.BIN4,"\u2294":e.BIN4,"\u2295":e.BIN4,"\u2296":e.BIN4,"\u2297":e.BIN4,"\u2298":e.BIN4,"\u2299":e.BIN4,"\u22a2":e.REL,"\u22a3":e.REL,"\u22a4":e.ORD55,"\u22a5":e.REL,"\u22a8":e.REL,"\u22c4":e.BIN4,"\u22c5":e.BIN4,"\u22c6":e.BIN4,"\u22c8":e.REL,"\u22ee":e.ORD55,"\u22ef":e.INNER,"\u22f1":[5,5,f.INNER],"\u25b3":e.BIN4,"\u25b5":e.BIN4,"\u25b9":e.BIN4,"\u25bd":e.BIN4,"\u25bf":e.BIN4,"\u25c3":e.BIN4,"\u2758":e.REL,"\u27f5":e.WIDEREL,"\u27f6":e.WIDEREL,"\u27f7":e.WIDEREL,"\u27f8":e.WIDEREL,"\u27f9":e.WIDEREL,"\u27fa":e.WIDEREL,"\u27fc":e.WIDEREL,"\u2a2f":e.BIN4,"\u2a3f":e.BIN4,"\u2aaf":e.REL,"\u2ab0":e.REL,"\u00b1":e.BIN4,"\u00b7":e.BIN4,"\u00d7":e.BIN4,"\u00f7":e.BIN4,"*":e.BIN3,"+":e.BIN4,",":[0,3,f.PUNCT,{linebreakstyle:"after",separator:!0}],"-":e.BIN4,".":[3,3,f.ORD],"/":e.ORD11,":":[1,2,f.REL],";":[0,3,f.PUNCT,{linebreakstyle:"after",separator:!0}],"\x3c":e.REL,"\x3d":e.REL,"\x3e":e.REL,"?":[1,1,f.CLOSE],"\\":e.ORD,"^":e.ORD11,_:e.ORD11,"|":[2,2,f.ORD,{fence:!0,stretchy:!0,symmetric:!0}],"#":e.ORD,$:e.ORD,".":[0,3,f.PUNCT,{separator:!0}],"\u02b9":e.ORD,"\u0300":e.ACCENT,"\u0301":e.ACCENT,"\u0303":e.WIDEACCENT,"\u0304":e.ACCENT,"\u0306":e.ACCENT,"\u0307":e.ACCENT,"\u0308":e.ACCENT,"\u030c":e.ACCENT,"\u0332":e.WIDEACCENT,"\u0338":e.REL4,"\u2015":[0,0,f.ORD,{stretchy:!0}],"\u2017":[0,0,f.ORD,{stretchy:!0}],"\u2020":e.BIN3,"\u2021":e.BIN3,"\u20d7":e.ACCENT,"\u2111":e.ORD,"\u2113":e.ORD,"\u2118":e.ORD,"\u211c":e.ORD,"\u2205":e.ORD,"\u221e":e.ORD,"\u2305":e.BIN3,"\u2306":e.BIN3,"\u2322":e.REL4,"\u2323":e.REL4,"\u2329":e.OPEN,"\u232a":e.CLOSE,"\u23aa":e.ORD,"\u23af":[0,0,f.ORD,{stretchy:!0}],"\u23b0":e.OPEN,"\u23b1":e.CLOSE,"\u2500":e.ORD,"\u25ef":e.BIN3,"\u2660":e.ORD,"\u2661":e.ORD,"\u2662":e.ORD,"\u2663":e.ORD,"\u3008":e.OPEN,"\u3009":e.CLOSE,"\ufe37":e.WIDEACCENT,"\ufe38":e.WIDEACCENT}}},{OPTYPES:e});a.mo.prototype.OPTABLE.infix["^"]=e.WIDEREL;a.mo.prototype.OPTABLE.infix._=e.WIDEREL})(MathJax.ElementJax.mml);MathJax.ElementJax.mml.loadComplete("jax.js");MathJax.Hub.Register.LoadHook("[MathJax]/jax/element/mml/jax.js",function(){var a=MathJax.ElementJax.mml;SETTINGS=MathJax.Hub.config.menuSettings;a.mbase.Augment({toMathML:function(a){var e=this.inferred&&this.parent.inferRow;null==a&&(a="");var d=this.type,g=this.toMathMLattributes();if("mspace"===d)return a+"\x3c"+d+g+" /\x3e";for(var p=[],n=this.isToken?"":a+(e?"":" "),l=0,c=this.data.length;l<c;l++)this.data[l]?p.push(this.data[l].toMathML(n)):this.isToken||p.push(n+"\x3cmrow /\x3e");return this.isToken?a+"\x3c"+d+g+"\x3e"+p.join("")+"\x3c/"+d+"\x3e":e?p.join("\n"):0===p.length||1===p.length&&""===p[0]?a+"\x3c"+d+g+" /\x3e":a+"\x3c"+d+g+"\x3e\n"+p.join("\n")+"\n"+a+"\x3c/"+d+"\x3e"},toMathMLattributes:function(){var f=[],e=this.defaults,d=this.attrNames||a.copyAttributeNames,g=a.skipAttributes;"math"!==this.type||this.attr&&this.attr.xmlns||f.push('xmlns\x3d"http://www.w3.org/1998/Math/MathML"');if(!this.attrNames){"mstyle"===this.type&&(e=a.math.prototype.defaults);for(var p in e)if(!g[p]&&e.hasOwnProperty(p)){var n="open"===p||"close"===p;if(null!=this[p]&&(n||this[p]!==e[p])){var l=this[p];delete this[p];(n||this.Get(p)!==l)&&f.push(p+'\x3d"'+this.toMathMLattribute(l)+'"');this[p]=l}}}e=0;for(g=d.length;e<g;e++)"class"!==d[e]&&(l=(this.attr||{})[d[e]],null==l&&(l=this[d[e]]),null!=l&&f.push(d[e]+'\x3d"'+this.toMathMLquote(l)+'"'));this.toMathMLclass(f);return f.length?" "+f.join(" "):""},toMathMLclass:function(f){var e=[];this["class"]&&e.push(this["class"]);if(this.isa(a.TeXAtom)&&SETTINGS.texHints){var d="ORD OP BIN REL OPEN CLOSE PUNCT INNER VCENTER".split(" ")[this.texClass];d&&e.push("MJX-TeXAtom-"+d)}this.mathvariant&&this.toMathMLvariants[this.mathvariant]&&e.push("MJX"+this.mathvariant);this.arrow&&e.push("MJX-arrow");this.variantForm&&e.push("MJX-variant");e.length&&f.unshift('class\x3d"'+e.join(" ")+'"')},toMathMLattribute:function(a){return"string"===typeof a&&a.replace(/ /g,"").match(/^(([-+])?(\d+(\.\d*)?|\.\d+))mu$/)?RegExp.$2+(1/18*RegExp.$3).toFixed(3).replace(/\.?0+$/,"")+"em":this.toMathMLvariants[a]?this.toMathMLvariants[a]:this.toMathMLquote(a)},toMathMLvariants:{"-tex-caligraphic":a.VARIANT.SCRIPT,"-tex-caligraphic-bold":a.VARIANT.BOLDSCRIPT,"-tex-oldstyle":a.VARIANT.NORMAL,"-tex-oldstyle-bold":a.VARIANT.BOLD,"-tex-mathit":a.VARIANT.ITALIC},toMathMLquote:function(a){a=String(a).split("");for(var e=0,d=a.length;e<d;e++){var g=a[e].charCodeAt(0);if(55295>=g||57344<=g)32>g||126<g?a[e]="\x26#x"+g.toString(16).toUpperCase()+";":(g={"\x26":"\x26amp;","\x3c":"\x26lt;","\x3e":"\x26gt;",'"':"\x26quot;"}[a[e]])&&(a[e]=g);else if(e+1<d){var p=a[e+1].charCodeAt(0);a[e]="\x26#x"+((g-55296<<10)+(p-56320)+65536).toString(16).toUpperCase()+";";a[e+1]="";e++}else a[e]=""}return a.join("")}});a.msubsup.Augment({toMathML:function(a){var e=this.type;null==this.data[this.sup]&&(e="msub");null==this.data[this.sub]&&(e="msup");var d=this.toMathMLattributes();delete this.data[0].inferred;for(var g=[],p=0,n=this.data.length;p<n;p++)this.data[p]&&g.push(this.data[p].toMathML(a+" "));return a+"\x3c"+e+d+"\x3e\n"+g.join("\n")+"\n"+a+"\x3c/"+e+"\x3e"}});a.munderover.Augment({toMathML:function(a){var e=this.type;null==this.data[this.under]&&(e="mover");null==this.data[this.over]&&(e="munder");var d=this.toMathMLattributes();delete this.data[0].inferred;for(var g=[],p=0,n=this.data.length;p<n;p++)this.data[p]&&g.push(this.data[p].toMathML(a+" "));return a+"\x3c"+e+d+"\x3e\n"+g.join("\n")+"\n"+a+"\x3c/"+e+"\x3e"}});a.TeXAtom.Augment({toMathML:function(a){var e=this.toMathMLattributes();return e||1!==this.data[0].data.length?a+"\x3cmrow"+e+"\x3e\n"+this.data[0].toMathML(a+" ")+"\n"+a+"\x3c/mrow\x3e":a.substr(2)+this.data[0].toMathML(a)}});a.chars.Augment({toMathML:function(a){return(a||"")+this.toMathMLquote(this.toString())}});a.entity.Augment({toMathML:function(a){return(a||"")+"\x26"+this.data[0]+";\x3c!-- "+this.toString()+" --\x3e"}});a.xml.Augment({toMathML:function(a){return(a||"")+this.toString()}});MathJax.Hub.Register.StartupHook("TeX mathchoice Ready",function(){a.TeXmathchoice.Augment({toMathML:function(a){return this.Core().toMathML(a)}})});MathJax.Hub.Startup.signal.Post("toMathML Ready")});MathJax.Ajax.loadComplete("[MathJax]/extensions/toMathML.js");(function(a,f){var e=a.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.2",config:e};a.Register.StartupHook("TeX Jax Ready",function(){var d=MathJax.InputJax.TeX.formatError;MathJax.InputJax.TeX.Augment({formatError:function(g,f,n,l){if(e.disabled)return d.apply(this,arguments);var c=g.message.replace(/\n.*/,"");a.signal.Post(["TeX Jax - parse error",c,f,n,l]);var c=e.inlineDelimiters,b=n||e.multiLine;n||(f=c[0]+f+c[1]);f=b?f.replace(/ /g,"\u00a0"):f.replace(/\n/g," ");return MathJax.ElementJax.mml.merror(f).With({isError:!0,multiLine:b})}})});a.Register.StartupHook("HTML-CSS Jax Config",function(){a.Config({"HTML-CSS":{styles:{".MathJax .noError":a.Insert({"vertical-align":a.Browser.isMSIE&&e.multiLine?"-2px":""},e.style)}}})});a.Register.StartupHook("HTML-CSS Jax Ready",function(){var a=MathJax.ElementJax.mml,e=MathJax.OutputJax["HTML-CSS"],f=a.math.prototype.toHTML,n=a.merror.prototype.toHTML;a.math.Augment({toHTML:function(a,c){var b=this.data[0];b&&b.data[0]&&b.data[0].isError?(a.style.fontSize="",a=this.HTMLcreateSpan(a),a.bbox=b.data[0].toHTML(a).bbox):a=f.call(this,a,c);return a}});a.merror.Augment({toHTML:function(a){if(!this.isError)return n.call(this,a);a=this.HTMLcreateSpan(a);a.className="noError";this.multiLine&&(a.style.display="inline-block");for(var c=this.data[0].data[0].data.join("").split(/\n/),b=0,m=c.length;b<m;b++)e.addText(a,c[b]),b!==m-1&&e.addElement(a,"br",{isMathJax:!0});c=e.getHD(a.parentNode);b=e.getW(a.parentNode);if(1<m){var m=(c.h+c.d)/2,d=e.TeX.x_height/2;a.parentNode.style.verticalAlign=e.Em(c.d+(d-m));c.h=d+m;c.d=m-d}a.bbox={h:c.h,d:c.d,w:b,lw:0,rw:b};return a}})});a.Register.StartupHook("SVG Jax Config",function(){a.Config({SVG:{styles:{".MathJax_SVG .noError":a.Insert({"vertical-align":a.Browser.isMSIE&&e.multiLine?"-2px":""},e.style)}}})});a.Register.StartupHook("SVG Jax Ready",function(){var a=MathJax.ElementJax.mml,e=a.math.prototype.toSVG,p=a.merror.prototype.toSVG;a.math.Augment({toSVG:function(a,d){var c=this.data[0];return a=c&&c.data[0]&&c.data[0].isError?c.data[0].toSVG(a):e.call(this,a,d)}});a.merror.Augment({toSVG:function(a){if(!this.isError||"math"!==this.Parent().type)return p.call(this,a);a=f.addElement(a,"span",{className:"noError",isMathJax:!0});this.multiLine&&(a.style.display="inline-block");for(var d=this.data[0].data[0].data.join("").split(/\n/),c=0,b=d.length;c<b;c++)f.addText(a,d[c]),c!==b-1&&f.addElement(a,"br",{isMathJax:!0});1<b&&(d=a.offsetHeight/2,a.style.verticalAlign=-d+d/b+"px");return a}})});a.Register.StartupHook("NativeMML Jax Ready",function(){var a=MathJax.ElementJax.mml,e=MathJax.Extension["TeX/noErrors"].config,f=a.math.prototype.toNativeMML,n=a.merror.prototype.toNativeMML;a.math.Augment({toNativeMML:function(a){var c=this.data[0];return a=c&&c.data[0]&&c.data[0].isError?c.data[0].toNativeMML(a):f.call(this,a)}});a.merror.Augment({toNativeMML:function(a){if(!this.isError)return n.call(this,a);a=a.appendChild(document.createElement("span"));for(var c=this.data[0].data[0].data.join("").split(/\n/),b=0,m=c.length;b<m;b++)a.appendChild(document.createTextNode(c[b])),b!==m-1&&a.appendChild(document.createElement("br"));this.multiLine&&(a.style.display="inline-block",1<m&&(a.style.verticalAlign="middle"));for(var d in e.style)e.style.hasOwnProperty(d)&&(c=d.replace(/-./g,function(b){return b.charAt(1).toUpperCase()}),a.style[c]=e.style[d]);return a}})});a.Startup.signal.Post("TeX noErrors Ready")})(MathJax.Hub,MathJax.HTML);MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/noErrors.js");MathJax.Extension["TeX/noUndefined"]={version:"2.2",config:MathJax.Hub.CombineConfig("TeX.noUndefined",{disabled:!1,attributes:{mathcolor:"red"}})};MathJax.Hub.Register.StartupHook("TeX Jax Ready",function(){var a=MathJax.Extension["TeX/noUndefined"].config,f=MathJax.ElementJax.mml,e=MathJax.InputJax.TeX.Parse.prototype.csUndefined;MathJax.InputJax.TeX.Parse.Augment({csUndefined:function(d){if(a.disabled)return e.apply(this,arguments);MathJax.Hub.signal.Post(["TeX Jax - undefined control sequence",d]);this.Push(f.mtext(d).With(a.attributes))}});MathJax.Hub.Startup.signal.Post("TeX noUndefined Ready")});MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/noUndefined.js");(function(a,f,e){var d,g=function(b){return MathJax.Localization._.apply(MathJax.Localization,[["TeX",b]].concat([].slice.call(arguments,1)))},p=MathJax.Object.Subclass({Init:function(b,c){this.global={isInner:c};this.data=[n.start(this.global)];b&&(this.data[0].env=b);this.env=this.data[0].env},Push:function(){var b,c,a,h;b=0;for(c=arguments.length;b<c;b++)if(a=arguments[b],a instanceof d.mbase&&(a=n.mml(a)),a.global=this.global,h=this.data.length?this.Top().checkItem(a):!0,h instanceof Array)this.Pop(),this.Push.apply(this,h);else if(h instanceof n)this.Pop(),this.Push(h);else if(h)if(this.data.push(a),a.env){for(var e in this.env)this.env.hasOwnProperty(e)&&(a.env[e]=this.env[e]);this.env=a.env}else a.env=this.env},Pop:function(){var b=this.data.pop();b.isOpen||delete b.env;this.env=this.data.length?this.Top().env:{};return b},Top:function(b){null==b&&(b=1);return this.data.length<b?null:this.data[this.data.length-b]},Prev:function(b){var c=this.Top();return b?c.data[c.data.length-1]:c.Pop()},toString:function(){return"stack[\n "+this.data.join("\n ")+"\n]"}}),n=p.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(b,c){null==b&&(b=!0);return 1!==this.data.length||c?d.mrow.apply(d,this.data).With(b?{inferred:!0}:{}):this.data[0]},checkItem:function(b){"over"===b.type&&this.isOpen&&(b.num=this.mmlData(!1),this.data=[]);if("cell"===b.type&&this.isOpen){if(b.linebreak)return!1;a.Error(["Misplaced","Misplaced %1",b.name])}b.isClose&&this[b.type+"Error"]&&a.Error(this[b.type+"Error"]);if(!b.isNotStack)return!0;this.Push(b.data[0]);return!1},With:function(b){for(var c in b)b.hasOwnProperty(c)&&(this[c]=b[c]);return this},toString:function(){return this.type+"["+this.data.join("; ")+"]"}});n.start=n.Subclass({type:"start",isOpen:!0,Init:function(b){this.SUPER(arguments).Init.call(this);this.global=b},checkItem:function(b){return"stop"===b.type?n.mml(this.mmlData()):this.SUPER(arguments).checkItem.call(this,b)}});n.stop=n.Subclass({type:"stop",isClose:!0});n.open=n.Subclass({type:"open",isOpen:!0,stopError:["ExtraOpenMissingClose","Extra open brace or missing close brace"],checkItem:function(b){if("close"===b.type){var c=this.mmlData();return n.mml(d.TeXAtom(c))}return this.SUPER(arguments).checkItem.call(this,b)}});n.close=n.Subclass({type:"close",isClose:!0});n.prime=n.Subclass({type:"prime",checkItem:function(b){if("msubsup"!==this.data[0].type)return[d.msup(this.data[0],this.data[1]),b];this.data[0].SetData(this.data[0].sup,this.data[1]);return[this.data[0],b]}});n.subsup=n.Subclass({type:"subsup",stopError:["MissingScript","Missing superscript or subscript argument"],supError:["MissingOpenForSup","Missing open brace for superscript"],subError:["MissingOpenForSup","Missing open brace for subscript"],checkItem:function(b){if("open"===b.type||"left"===b.type)return!0;if("mml"===b.type)return this.primes&&(2!==this.position?this.data[0].SetData(2,this.primes):b.data[0]=d.mrow(this.primes.With({variantForm:!0}),b.data[0])),this.data[0].SetData(this.position,b.data[0]),n.mml(this.data[0]);this.SUPER(arguments).checkItem.call(this,b)&&a.Error(this[["","subError","supError"][this.position]])},Pop:function(){}});n.over=n.Subclass({type:"over",isClose:!0,name:"\\over",checkItem:function(b,c){"over"===b.type&&a.Error(["AmbiguousUseOf","Ambiguous use of %1",b.name]);if(b.isClose){var e=d.mfrac(this.num,this.mmlData(!1));null!=this.thickness&&(e.linethickness=this.thickness);if(this.open||this.close)e.texClass=d.TEXCLASS.INNER,e.texWithDelims=!0,e=a.fenced(this.open,e,this.close);return[n.mml(e),b]}return this.SUPER(arguments).checkItem.call(this,b)},toString:function(){return"over["+this.num+" / "+this.data.join("; ")+"]"}});n.left=n.Subclass({type:"left",isOpen:!0,delim:"(",stopError:["ExtraLeftMissingRight","Extra \\left or missing \\right"],checkItem:function(b){return"right"===b.type?n.mml(a.fenced(this.delim,this.mmlData(),b.delim)):this.SUPER(arguments).checkItem.call(this,b)}});n.right=n.Subclass({type:"right",isClose:!0,delim:")"});n.begin=n.Subclass({type:"begin",isOpen:!0,checkItem:function(b){if("end"===b.type)return b.name!==this.name&&a.Error(["EnvBadEnd","\\begin{%1} ended with \\end{%2}",this.name,b.name]),this.end?this.parse[this.end].call(this.parse,this,this.data):n.mml(this.mmlData());"stop"===b.type&&a.Error(["EnvMissingEnd","Missing \\end{%1}",this.name]);return this.SUPER(arguments).checkItem.call(this,b)}});n.end=n.Subclass({type:"end",isClose:!0});n.style=n.Subclass({type:"style",checkItem:function(b){if(!b.isClose)return this.SUPER(arguments).checkItem.call(this,b);var c=d.mstyle.apply(d,this.data).With(this.styles);return[n.mml(c),b]}});n.position=n.Subclass({type:"position",checkItem:function(b){b.isClose&&a.Error(["MissingBoxFor","Missing box for %1",name]);if(b.isNotStack){var c=b.mmlData();switch(this.move){case "vertical":return c=d.mpadded(c).With({height:this.dh,depth:this.dd,voffset:this.dh}),[n.mml(c)];case "horizontal":return[n.mml(this.left),b,n.mml(this.right)]}}return this.SUPER(arguments).checkItem.call(this,b)}});n.array=n.Subclass({type:"array",isOpen:!0,arraydef:{},Init:function(){this.table=[];this.row=[];this.env={};this.frame=[];this.SUPER(arguments).Init.apply(this,arguments)},checkItem:function(b){if(b.isClose&&"over"!==b.type){if(b.isEntry)return this.EndEntry(),this.clearEnv(),!1;if(b.isCR)return this.EndEntry(),this.EndRow(),this.clearEnv(),!1;this.EndTable();this.clearEnv();var c=d.mtable.apply(d,this.table).With(this.arraydef);4===this.frame.length?c.frame=this.frame.dashed?"dashed":"solid":this.frame.length&&(c.hasFrame=!0,this.arraydef.rowlines&&(this.arraydef.rowlines=this.arraydef.rowlines.replace(/none( none)+$/,"none")),c=d.menclose(c).With({notation:this.frame.join(" "),isFrame:!0}),"none"!=(this.arraydef.columnlines||"none")||"none"!=(this.arraydef.rowlines||"none"))&&(c.padding=0);if(this.open||this.close)c=a.fenced(this.open,c,this.close);c=n.mml(c);if(this.requireClose){if("close"===b.type)return c;a.Error(["MissingCloseBrace","Missing close brace"])}return[c,b]}return this.SUPER(arguments).checkItem.call(this,b)},EndEntry:function(){this.row.push(d.mtd.apply(d,this.data));this.data=[]},EndRow:function(){this.table.push(d.mtr.apply(d,this.row));this.row=[]},EndTable:function(){if(this.data.length||this.row.length)this.EndEntry(),this.EndRow();this.checkLines()},checkLines:function(){if(this.arraydef.rowlines){var b=this.arraydef.rowlines.split(/ /);b.length===this.table.length?(this.frame.push("bottom"),b.pop(),this.arraydef.rowlines=b.join(" ")):b.length<this.table.length-1&&(this.arraydef.rowlines+=" none")}if(this.rowspacing){for(b=this.arraydef.rowspacing.split(/ /);b.length<this.table.length;)b.push(this.rowspacing+"em");this.arraydef.rowspacing=b.join(" ")}},clearEnv:function(){for(var b in this.env)this.env.hasOwnProperty(b)&&delete this.env[b]}});n.cell=n.Subclass({type:"cell",isClose:!0});n.mml=n.Subclass({type:"mml",isNotStack:!0,Add:function(){this.data.push.apply(this.data,arguments);return this}});n.fn=n.Subclass({type:"fn",checkItem:function(b){if(this.data[0]){if("mml"!==b.type||!b.data[0]||b.data[0].isa(d.mspace))return[this.data[0],b];var c=b.data[0];c.isEmbellished()&&(c=c.CoreMO());return[0,0,1,1,0,1,1,0,0,0][c.Get("texClass")]?[this.data[0],b]:[this.data[0],d.mo(d.entity("#x2061")).With({texClass:d.TEXCLASS.NONE}),b]}return this.SUPER(arguments).checkItem.apply(this,arguments)}});n.not=n.Subclass({type:"not",checkItem:function(b){var c,a;if("open"===b.type||"left"===b.type)return!0;if("mml"===b.type&&b.data[0].type.match(/^(mo|mi|mtext)$/)&&(c=b.data[0],a=c.data.join(""),1===a.length&&!c.movesupsub))return(a=n.not.remap[a.charCodeAt(0)])?c.SetData(0,d.chars(String.fromCharCode(a))):c.Append(d.chars("\u0338")),b;c=d.mpadded(d.mtext("\u29f8")).With({width:0});c=d.TeXAtom(c).With({texClass:d.TEXCLASS.REL});return[c,b]}});n.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};n.dots=n.Subclass({type:"dots",checkItem:function(b){if("open"===b.type||"left"===b.type)return!0;var c=this.ldots;if("mml"===b.type&&b.data[0].isEmbellished()){var a=b.data[0].CoreMO().Get("texClass");if(a===d.TEXCLASS.BIN||a===d.TEXCLASS.REL)c=this.cdots}return[c,b]}});var l={Add:function(b,c,a){c||(c=this);for(var d in b)b.hasOwnProperty(d)&&("object"!==typeof b[d]||b[d]instanceof Array||"object"!==typeof c[d]&&"function"!==typeof c[d]?c[d]&&c[d].isUser&&a||(c[d]=b[d]):this.Add(b[d],c[d],b[d],a));return c}},c=MathJax.Object.Subclass({Init:function(b,c){this.string=b;this.macroCount=this.i=0;var d;if(c){d={};for(var h in c)c.hasOwnProperty(h)&&(d[h]=c[h])}this.stack=a.Stack(d,!!c);this.Parse();this.Push(n.stop())},Parse:function(){for(var b,c;this.i<this.string.length;)if(b=this.string.charAt(this.i++),c=b.charCodeAt(0),55296<=c&&56320>c&&(b+=this.string.charAt(this.i++)),l.special[b])this[l.special[b]](b);else l.letter.test(b)?this.Variable(b):l.digit.test(b)?this.Number(b):this.Other(b)},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(b){return b},ControlSequence:function(b){var c=this.GetCS(),a=this.csFindMacro(c);if(a){a instanceof Array||(a=[a]);var d=a[0];d instanceof Function||(d=this[d]);d.apply(this,[b+c].concat(a.slice(1)))}else l.mathchar0mi[c]?this.csMathchar0mi(c,l.mathchar0mi[c]):l.mathchar0mo[c]?this.csMathchar0mo(c,l.mathchar0mo[c]):l.mathchar7[c]?this.csMathchar7(c,l.mathchar7[c]):null!=l.delimiter["\\"+c]?this.csDelimiter(c,l.delimiter["\\"+c]):this.csUndefined(b+c)},csFindMacro:function(b){return l.macros[b]},csMathchar0mi:function(b,c){var a={mathvariant:d.VARIANT.ITALIC};c instanceof Array&&(a=c[1],c=c[0]);this.Push(this.mmlToken(d.mi(d.entity("#x"+c)).With(a)))},csMathchar0mo:function(b,c){var a={stretchy:!1};c instanceof Array&&(a=c[1],a.stretchy=!1,c=c[0]);this.Push(this.mmlToken(d.mo(d.entity("#x"+c)).With(a)))},csMathchar7:function(b,c){var a={mathvariant:d.VARIANT.NORMAL};c instanceof Array&&(a=c[1],c=c[0]);this.stack.env.font&&(a.mathvariant=this.stack.env.font);this.Push(this.mmlToken(d.mi(d.entity("#x"+c)).With(a)))},csDelimiter:function(b,c){var a={};c instanceof Array&&(a=c[1],c=c[0]);c=4===c.length?d.entity("#x"+c):d.chars(c);this.Push(this.mmlToken(d.mo(c).With({fence:!1,stretchy:!1}).With(a)))},csUndefined:function(b){a.Error(["UndefinedControlSequence","Undefined control sequence %1",b])},Variable:function(b){var c={};this.stack.env.font&&(c.mathvariant=this.stack.env.font);this.Push(this.mmlToken(d.mi(d.chars(b)).With(c)))},Number:function(b){var c=this.string.slice(this.i-1).match(l.number);c?(b=d.mn(c[0].replace(/[{}]/g,"")),this.i+=c[0].length-1):b=d.mo(d.chars(b));this.stack.env.font&&(b.mathvariant=this.stack.env.font);this.Push(this.mmlToken(b))},Open:function(b){this.Push(n.open())},Close:function(b){this.Push(n.close())},Tilde:function(b){this.Push(d.mtext(d.chars("\u00a0")))},Space:function(b){},Superscript:function(b){this.GetNext().match(/\d/)&&(this.string=this.string.substr(0,this.i+1)+" "+this.string.substr(this.i+1));var c,e;c=this.stack.Top();"prime"===c.type?(b=c.data[0],e=c.data[1],this.stack.Pop()):(b=this.stack.Prev())||(b=d.mi(""));b.isEmbellishedWrapper&&(b=b.data[0].data[0]);if("msubsup"===b.type)b.data[b.sup]&&a.Error(["DoubleExponent","Double exponent: use braces to clarify"]),c=b.sup;else if(b.movesupsub){if("munderover"!==b.type||b.data[b.over])b.movablelimits&&b.isa(d.mi)&&(b=this.mi2mo(b)),b=d.munderover(b,null,null).With({movesupsub:!0});c=b.over}else b=d.msubsup(b,null,null),c=b.sup;this.Push(n.subsup(b).With({position:c,primes:e}))},Subscript:function(b){this.GetNext().match(/\d/)&&(this.string=this.string.substr(0,this.i+1)+" "+this.string.substr(this.i+1));var c,e;c=this.stack.Top();"prime"===c.type?(b=c.data[0],e=c.data[1],this.stack.Pop()):(b=this.stack.Prev())||(b=d.mi(""));b.isEmbellishedWrapper&&(b=b.data[0].data[0]);if("msubsup"===b.type)b.data[b.sub]&&a.Error(["DoubleSubscripts","Double subscripts: use braces to clarify"]),c=b.sub;else if(b.movesupsub){if("munderover"!==b.type||b.data[b.under])b.movablelimits&&b.isa(d.mi)&&(b=this.mi2mo(b)),b=d.munderover(b,null,null).With({movesupsub:!0});c=b.under}else b=d.msubsup(b,null,null),c=b.sub;this.Push(n.subsup(b).With({position:c,primes:e}))},PRIME:"\u2032",SMARTQUOTE:"\u2019",Prime:function(b){var c=this.stack.Prev();c||(c=d.mi());"msubsup"===c.type&&c.data[c.sup]&&a.Error(["DoubleExponentPrime","Prime causes double exponent: use braces to clarify"]);var e="";this.i--;do e+=this.PRIME,this.i++,b=this.GetNext();while("'"===b||b===this.SMARTQUOTE);e=["","\u2032","\u2033","\u2034","\u2057"][e.length]||e;this.Push(n.prime(c,this.mmlToken(d.mo(e))))},mi2mo:function(b){var c=d.mo();c.Append.apply(c,b.data);for(var a in c.defaults)c.defaults.hasOwnProperty(a)&&null!=b[a]&&(c[a]=b[a]);for(a in d.copyAttributes)d.copyAttributes.hasOwnProperty(a)&&null!=b[a]&&(c[a]=b[a]);return c},Comment:function(b){for(;this.i<this.string.length&&"\n"!=this.string.charAt(this.i);)this.i++},Hash:function(b){a.Error(["CantUseHash1","You can't use 'macro parameter character #' in math mode"])},Other:function(b){var c={stretchy:!1};this.stack.env.font&&(c.mathvariant=this.stack.env.font);l.remap[b]?(b=l.remap[b],b instanceof Array&&(c=b[1],b=b[0]),b=d.mo(d.entity("#x"+b)).With(c)):b=d.mo(b).With(c);""==b.autoDefault("texClass",!0)&&(b=d.TeXAtom(b));this.Push(this.mmlToken(b))},SetFont:function(b,c){this.stack.env.font=c},SetStyle:function(b,c,a,d){this.stack.env.style=c;this.stack.env.level=d;this.Push(n.style().With({styles:{displaystyle:a,scriptlevel:d}}))},SetSize:function(b,c){this.stack.env.size=c;this.Push(n.style().With({styles:{mathsize:c+"em"}}))},Color:function(b){var c=this.GetArgument(b),a=this.stack.env.color;this.stack.env.color=c;b=this.ParseArg(b);a?this.stack.env.color:delete this.stack.env.color;this.Push(d.mstyle(b).With({mathcolor:c}))},Spacer:function(b,c){this.Push(d.mspace().With({width:c,mathsize:d.SIZE.NORMAL,scriptlevel:0}))},LeftRight:function(b){this.Push(n[b.substr(1)]().With({delim:this.GetDelimiter(b)}))},Middle:function(b){var c=this.GetDelimiter(b);"left"!==this.stack.Top().type&&a.Error(["MisplacedMiddle","%1 must be within \\left and \\right",b]);this.Push(d.mo(c).With({stretchy:!0}))},NamedFn:function(b,c){c||(c=b.substr(1));var a=d.mi(c).With({texClass:d.TEXCLASS.OP});this.Push(n.fn(this.mmlToken(a)))},NamedOp:function(b,c){c||(c=b.substr(1));c=c.replace(/ /,"\u2006");var a=d.mo(c).With({movablelimits:!0,movesupsub:!0,form:d.FORM.PREFIX,texClass:d.TEXCLASS.OP});a.useMMLspacing&=~a.SPACE_ATTR.form;this.Push(this.mmlToken(a))},Limits:function(b,c){var e=this.stack.Prev("nopop");e&&e.texClass===d.TEXCLASS.OP||a.Error(["MisplacedLimits","%1 is allowed only on operators",b]);e.movesupsub=c?!0:!1;e.movablelimits=!1},Over:function(b,c,a){var d=n.over().With({name:b});c||a?(d.open=c,d.close=a):b.match(/withdelims$/)&&(d.open=this.GetDelimiter(b),d.close=this.GetDelimiter(b));if(b.match(/^\\above/))d.thickness=this.GetDimen(b);else if(b.match(/^\\atop/)||c||a)d.thickness=0;this.Push(d)},Frac:function(b){var c=this.ParseArg(b);b=this.ParseArg(b);this.Push(d.mfrac(c,b))},Sqrt:function(b){var c=this.GetBrackets(b);b=this.GetArgument(b);"\\frac"===b&&(b+="{"+this.GetArgument(b)+"}{"+this.GetArgument(b)+"}");b=a.Parse(b,this.stack.env).mml();b=c?d.mroot(b,this.parseRoot(c)):d.msqrt.apply(d,b.array());this.Push(b)},Root:function(b){var c=this.GetUpTo(b,"\\of");b=this.ParseArg(b);this.Push(d.mroot(b,this.parseRoot(c)))},parseRoot:function(b){var c=this.stack.env,e=c.inRoot;c.inRoot=!0;var h=a.Parse(b,c);b=h.mml();h=h.stack.global;if(h.leftRoot||h.upRoot)b=d.mpadded(b),h.leftRoot&&(b.width=h.leftRoot),h.upRoot&&(b.voffset=h.upRoot,b.height=h.upRoot);c.inRoot=e;return b},MoveRoot:function(b,c){this.stack.env.inRoot||a.Error(["MisplacedMoveRoot","%1 can appear only within a root",b]);this.stack.global[c]&&a.Error(["MultipleMoveRoot","Multiple use of %1",b]);var d=this.GetArgument(b);d.match(/-?[0-9]+/)||a.Error(["IntegerArg","The argument to %1 must be an integer",b]);d=d/15+"em";"-"!==d.substr(0,1)&&(d="+"+d);this.stack.global[c]=d},Accent:function(b,c,a){b=this.ParseArg(b);var h={accent:!0};this.stack.env.font&&(h.mathvariant=this.stack.env.font);c=this.mmlToken(d.mo(d.entity("#x"+c)).With(h));c.stretchy=a?!0:!1;this.Push(d.TeXAtom(d.munderover(b,null,c).With({accent:!0})))},UnderOver:function(b,c,a){var h={o:"over",u:"under"}[b.charAt(1)];b=this.ParseArg(b);b.Get("movablelimits")&&(b.movablelimits=!1);b=d.munderover(b,null,null);a&&(b.movesupsub=!0);b.data[b[h]]=this.mmlToken(d.mo(d.entity("#x"+c)).With({stretchy:!0,accent:"under"==h}));this.Push(b)},Overset:function(b){var c=this.ParseArg(b);b=this.ParseArg(b);this.Push(d.mover(b,c))},Underset:function(b){var c=this.ParseArg(b);b=this.ParseArg(b);this.Push(d.munder(b,c))},TeXAtom:function(b,c){var e={texClass:c};if(c==d.TEXCLASS.OP){e.movesupsub=e.movablelimits=!0;var h=this.GetArgument(b),g=h.match(/^\s*\\rm\s+([a-zA-Z0-9 ]+)$/);g?(e.mathvariant=d.VARIANT.NORMAL,e=n.fn(this.mmlToken(d.mi(g[1]).With(e)))):e=n.fn(d.TeXAtom(a.Parse(h,this.stack.env).mml()).With(e))}else e=d.TeXAtom(this.ParseArg(b)).With(e);this.Push(e)},MmlToken:function(b){var c=this.GetArgument(b),e=this.GetBrackets(b,"").replace(/^\s+/,"");b=this.GetArgument(b);var h={attrNames:[]},g;for(d[c]&&d[c].prototype.isToken||a.Error(["NotMathMLToken","%1 is not a token element",c]);""!==e;){(g=e.match(/^([a-z]+)\s*=\s*(\'[^']*'|"[^"]*"|[^ ]*)\s*/i))||a.Error("InvalidMathMLAttr","Invalid MathML attribute: %1",e);d[c].prototype.defaults[g[1]]||this.MmlTokenAllow[g[1]]||a.Error(["UnknownAttrForElement","%1 is not a recognized attribute for %2",g[1],c]);var k=this.MmlFilterAttribute(g[1],g[2].replace(/^(['"])(.*)\1$/,"$2"));k&&("true"===k.toLowerCase()?k=!0:"false"===k.toLowerCase()&&(k=!1),h[g[1]]=k,h.attrNames.push(g[1]));e=e.substr(g[0].length)}this.Push(this.mmlToken(d[c](b).With(h)))},MmlFilterAttribute:function(b,c){return c},MmlTokenAllow:{fontfamily:1,fontsize:1,fontweight:1,fontstyle:1,color:1,background:1,id:1,"class":1,href:1,style:1},Strut:function(b){this.Push(d.mpadded(d.mrow()).With({height:"8.6pt",depth:"3pt",width:0}))},Phantom:function(b,c,a){b=d.mphantom(this.ParseArg(b));if(c||a)b=d.mpadded(b),a&&(b.height=b.depth=0),c&&(b.width=0);this.Push(d.TeXAtom(b))},Smash:function(b){var c=this.trimSpaces(this.GetBrackets(b,""));b=d.mpadded(this.ParseArg(b));switch(c){case "b":b.depth=0;break;case "t":b.height=0;break;default:b.height=b.depth=0}this.Push(d.TeXAtom(b))},Lap:function(b){var c=d.mpadded(this.ParseArg(b)).With({width:0});"\\llap"===b&&(c.lspace="-1 width");this.Push(d.TeXAtom(c))},RaiseLower:function(b){var c=this.GetDimen(b),a=n.position().With({name:b,move:"vertical"});"-"===c.charAt(0)&&(c=c.slice(1),b={raise:"\\lower",lower:"\\raise"}[b.substr(1)]);"\\lower"===b?(a.dh="-"+c,a.dd="+"+c):(a.dh="+"+c,a.dd="-"+c);this.Push(a)},MoveLeftRight:function(b){var c=this.GetDimen(b),a="-"===c.charAt(0)?c.slice(1):"-"+c;if("\\moveleft"===b)var e=c,c=a,a=e;this.Push(n.position().With({name:b,move:"horizontal",left:d.mspace().With({width:c,mathsize:d.SIZE.NORMAL}),right:d.mspace().With({width:a,mathsize:d.SIZE.NORMAL})}))},Hskip:function(b){this.Push(d.mspace().With({width:this.GetDimen(b),mathsize:d.SIZE.NORMAL}))},Rule:function(b,c){var a=this.GetDimen(b),e=this.GetDimen(b),g=this.GetDimen(b),k={width:a,height:e,depth:g};"blank"!==c?(parseFloat(a)&&parseFloat(e)+parseFloat(g)&&(k.mathbackground=this.stack.env.color||"black"),a=d.mpadded(d.mrow()).With(k)):a=d.mspace().With(k);this.Push(a)},MakeBig:function(b,c,a){a*=l.p_height;a=String(a).replace(/(\.\d\d\d).+/,"$1")+"em";b=this.GetDelimiter(b);this.Push(d.TeXAtom(d.mo(b).With({minsize:a,maxsize:a,fence:!0,stretchy:!0,symmetric:!0})).With({texClass:c}))},BuildRel:function(b){var c=this.ParseUpTo(b,"\\over");b=this.ParseArg(b);this.Push(d.TeXAtom(d.munderover(b,null,c)).With({mclass:d.TEXCLASS.REL}))},HBox:function(b,c){this.Push.apply(this,this.InternalMath(this.GetArgument(b),c))},FBox:function(b){this.Push(d.menclose.apply(d,this.InternalMath(this.GetArgument(b))).With({notation:"box"}))},Not:function(b){this.Push(n.not())},Dots:function(b){this.Push(n.dots().With({ldots:this.mmlToken(d.mo(d.entity("#x2026")).With({stretchy:!1})),cdots:this.mmlToken(d.mo(d.entity("#x22EF")).With({stretchy:!1}))}))},Require:function(b){b=this.GetArgument(b).replace(/.*\//,"").replace(/[^a-z0-9_.-]/ig,"");this.Extension(null,b)},Extension:function(b,c,d){c=a.extensionDir+"/"+c;c.match(/\.js$/)||(c+=".js");e.loaded[e.fileURL(c)]||(null!=b&&delete l[d||"macros"][b.replace(/^\\/,"")],f.RestartAfter(e.Require(c)))},Macro:function(b,c,d,e){if(d){var g=[];if(null!=e){var k=this.GetBrackets(b);g.push(null==k?e:k)}for(e=g.length;e<d;e++)g.push(this.GetArgument(b));c=this.SubstituteArgs(g,c)}this.string=this.AddArgs(c,this.string.slice(this.i));this.i=0;++this.macroCount>a.config.MAXMACROS&&a.Error(["MaxMacroSub1","MathJax maximum macro substitution count exceeded; is there a recursive macro call?"])},Matrix:function(b,c,d,e,g,k,f,l){var p=this.GetNext();""===p&&a.Error(["MissingArgFor","Missing argument for %1",b]);"{"===p?this.i++:(this.string=p+"}"+this.string.slice(this.i+1),this.i=0);b=n.array().With({requireClose:!0,arraydef:{rowspacing:k||"4pt",columnspacing:g||"1em"}});l&&(b.isCases=!0);if(c||d)b.open=c,b.close=d;"D"===f&&(b.arraydef.displaystyle=!0);null!=e&&(b.arraydef.columnalign=e);this.Push(b)},Entry:function(b){this.Push(n.cell().With({isEntry:!0,name:b}));if(this.stack.Top().isCases){var c=this.string,d=0;b=this.i;for(var e=c.length;b<e;){var g=c.charAt(b);"{"===g?(d++,b++):"}"===g?0===d?e=0:(d--,b++):"\x26"===g&&0===d?a.Error(["ExtraAlignTab","Extra alignment tab in \\cases text"]):"\\"===g?c.substr(b).match(/^((\\cr)[^a-zA-Z]|\\\\)/)?e=0:b+=2:b++}c=c.substr(this.i,b-this.i);c.match(/^\s*\\text[^a-zA-Z]/)||(this.Push.apply(this,this.InternalMath(c)),this.i=b)}},Cr:function(b){this.Push(n.cell().With({isCR:!0,name:b}))},CrLaTeX:function(b){var c;"["===this.string.charAt(this.i)&&(c=this.GetBrackets(b,"").replace(/ /g,""))&&!c.match(/^((-?(\.\d+|\d+(\.\d*)?))(pt|em|ex|mu|mm|cm|in|pc))$/)&&a.Error(["BracketMustBeDimension","Bracket argument to %1 must be a dimension",b]);this.Push(n.cell().With({isCR:!0,name:b,linebreak:!0}));b=this.stack.Top();if(b.isa(n.array)){if(c&&b.arraydef.rowspacing){var e=b.arraydef.rowspacing.split(/ /);b.rowspacing||(b.rowspacing=this.dimen2em(e[0]));for(;e.length<b.table.length;)e.push(this.Em(b.rowspacing));e[b.table.length-1]=this.Em(Math.max(0,b.rowspacing+this.dimen2em(c)));b.arraydef.rowspacing=e.join(" ")}}else c&&this.Push(d.mspace().With({depth:c})),this.Push(d.mo().With({linebreak:d.LINEBREAK.NEWLINE}))},emPerInch:7.2,dimen2em:function(b){var c=b.match(/^(-?(?:\.\d+|\d+(?:\.\d*)?))(pt|em|ex|mu|pc|in|mm|cm)/);b=parseFloat(c[1]||"1");c=c[2];return"em"===c?b:"ex"===c?.43*b:"pt"===c?b/10:"pc"===c?1.2*b:"in"===c?b*this.emPerInch:"cm"===c?b*this.emPerInch/2.54:"mm"===c?b*this.emPerInch/25.4:"mu"===c?b/18:0},Em:function(b){return 6E-4>Math.abs(b)?"0em":b.toFixed(3).replace(/\.?0+$/,"")+"em"},HLine:function(b,c){null==c&&(c="solid");var d=this.stack.Top();d.isa(n.array)&&!d.data.length||a.Error(["Misplaced","Misplaced %1",b]);if(0==d.table.length)d.frame.push("top");else{for(var e=d.arraydef.rowlines?d.arraydef.rowlines.split(/ /):[];e.length<d.table.length;)e.push("none");e[d.table.length-1]=c;d.arraydef.rowlines=e.join(" ")}},Begin:function(b){var c=this.GetArgument(b);c.match(/[^a-z*]/i)&&a.Error(["InvalidEnv","Invalid environment name '%1'",c]);(b=this.envFindName(c))||a.Error(["UnknownEnv","Unknown environment '%1'",c]);++this.macroCount>a.config.MAXMACROS&&a.Error(["MaxMacroSub2","MathJax maximum substitution count exceeded; is there a recursive latex environment?"]);b instanceof Array||(b=[b]);c=n.begin().With({name:c,end:b[1],parse:this});b[0]&&this[b[0]]&&(c=this[b[0]].apply(this,[c].concat(b.slice(2))));this.Push(c)},End:function(b){this.Push(n.end().With({name:this.GetArgument(b)}))},envFindName:function(b){return l.environment[b]},Equation:function(b,c){return c},ExtensionEnv:function(b,c){this.Extension(b.name,c,"environment")},Array:function(b,c,a,d,e,k,g,f){d||(d=this.GetArgument("\\begin{"+b.name+"}"));var l=("c"+d).replace(/[^clr|:]/g,"").replace(/[^|:]([|:])+/g,"$1");d=d.replace(/[^clr]/g,"").split("").join(" ");d=d.replace(/l/g,"left").replace(/r/g,"right").replace(/c/g,"center");d=n.array().With({arraydef:{columnalign:d,columnspacing:e||"1em",rowspacing:k||"4pt"}});l.match(/[|:]/)&&(l.charAt(0).match(/[|:]/)&&(d.frame.push("left"),d.frame.dashed=":"===l.charAt(0)),l.charAt(l.length-1).match(/[|:]/)&&d.frame.push("right"),l=l.substr(1,l.length-2),d.arraydef.columnlines=l.split("").join(" ").replace(/[^|: ]/g,"none").replace(/\|/g,"solid").replace(/:/g,"dashed"));c&&(d.open=this.convertDelimiter(c));a&&(d.close=this.convertDelimiter(a));"D"===g&&(d.arraydef.displaystyle=!0);"S"===g&&(d.arraydef.scriptlevel=1);f&&(d.arraydef.useHeight=!1);this.Push(b);return d},AlignedArray:function(b){var c=this.GetBrackets("\\begin{"+b.name+"}");return this.setArrayAlign(this.Array.apply(this,arguments),c)},setArrayAlign:function(b,c){c=this.trimSpaces(c||"");"t"===c?b.arraydef.align="baseline 1":"b"===c?b.arraydef.align="baseline -1":"c"===c?b.arraydef.align="center":c&&(b.arraydef.align=c);return b},convertDelimiter:function(b){b&&(b=l.delimiter[b]);if(null==b)return null;b instanceof Array&&(b=b[0]);4===b.length&&(b=String.fromCharCode(parseInt(b,16)));return b},trimSpaces:function(b){return"string"!=typeof b?b:b.replace(/^\s+|\s+$/g,"")},nextIsSpace:function(){return this.string.charAt(this.i).match(/[ \n\r\t]/)},GetNext:function(){for(;this.nextIsSpace();)this.i++;return this.string.charAt(this.i)},GetCS:function(){var b=this.string.slice(this.i).match(/^([a-z]+|.) ?/i);if(b)return this.i+=b[1].length,b[1];this.i++;return" "},GetArgument:function(b,c){switch(this.GetNext()){case "":return c||a.Error(["MissingArgFor","Missing argument for %1",b]),null;case "}":return c||a.Error(["ExtraCloseMissingOpen","Extra close brace or missing open brace"]),null;case "\\":return this.i++,"\\"+this.GetCS();case "{":for(var d=++this.i,e=1;this.i<this.string.length;)switch(this.string.charAt(this.i++)){case "\\":this.i++;break;case "{":e++;break;case "}":if(0==e&&a.Error(["ExtraClose","Extra close brace"]),0==--e)return this.string.slice(d,this.i-1)}a.Error(["MissingCloseBrace","Missing close brace"])}return this.string.charAt(this.i++)},GetBrackets:function(b,c){if("["!=this.GetNext())return c;for(var d=++this.i,e=0;this.i<this.string.length;)switch(this.string.charAt(this.i++)){case "{":e++;break;case "\\":this.i++;break;case "}":0>=e--&&a.Error(["ExtraCloseLooking","Extra close brace while looking for %1","']'"]);break;case "]":if(0==e)return this.string.slice(d,this.i-1)}a.Error(["MissingCloseBracket","Couldn't find closing ']' for argument to %1",b])},GetDelimiter:function(b){for(;this.nextIsSpace();)this.i++;var c=this.string.charAt(this.i);if(this.i<this.string.length&&(this.i++,"\\"==c&&(c+=this.GetCS(b)),null!=l.delimiter[c]))return this.convertDelimiter(c);a.Error(["MissingOrUnrecognizedDelim","Missing or unrecognized delimiter for %1",b])},GetDimen:function(b){var c;this.nextIsSpace()&&this.i++;if("{"==this.string.charAt(this.i)){if(c=this.GetArgument(b),c.match(/^\s*([-+]?(\.\d+|\d+(\.\d*)?))\s*(pt|em|ex|mu|px|mm|cm|in|pc)\s*$/))return c.replace(/ /g,"")}else if(c=this.string.slice(this.i),c=c.match(/^\s*(([-+]?(\.\d+|\d+(\.\d*)?))\s*(pt|em|ex|mu|px|mm|cm|in|pc)) ?/))return this.i+=c[0].length,c[1].replace(/ /g,"");a.Error(["MissingDimOrUnits","Missing dimension or its units for %1",b])},GetUpTo:function(b,c){for(;this.nextIsSpace();)this.i++;for(var d=this.i,e,g,k=0;this.i<this.string.length;){e=this.i;g=this.string.charAt(this.i++);switch(g){case "\\":g+=this.GetCS();break;case "{":k++;break;case "}":0==k&&a.Error(["ExtraCloseLooking","Extra close brace while looking for %1",c]),k--}if(0==k&&g==c)return this.string.slice(d,e)}a.Error(["TokenNotFoundForCommand","Couldn't find %1 for %2",c,b])},ParseArg:function(b){return a.Parse(this.GetArgument(b),this.stack.env).mml()},ParseUpTo:function(b,c){return a.Parse(this.GetUpTo(b,c),this.stack.env).mml()},InternalMath:function(b,c){var e={displaystyle:!1};null!=c&&(e.scriptlevel=c);this.stack.env.font&&(e.mathvariant=this.stack.env.font);if(!b.match(/\\?\$|\\\(|\\(eq)?ref\s*\{/))return[this.InternalText(b,e)];for(var h=0,g=0,k,f="",l=[];h<b.length;)k=b.charAt(h++),"$"===k?"$"===f?(l.push(d.TeXAtom(a.Parse(b.slice(g,h-1),{}).mml().With(e))),f="",g=h):""===f&&(g<h-1&&l.push(this.InternalText(b.slice(g,h-1),e)),f="$",g=h):"}"===k&&"}"===f?(l.push(d.TeXAtom(a.Parse(b.slice(g,h),{}).mml().With(e))),f="",g=h):"\\"===k&&(""===f&&b.substr(h).match(/^(eq)?ref\s*\{/)?(g<h-1&&l.push(this.InternalText(b.slice(g,h-1),e)),f="}",g=h-1):(k=b.charAt(h++),"("===k&&""===f?(g<h-2&&l.push(this.InternalText(b.slice(g,h-2),e)),f=")",g=h):")"===k&&")"===f?(l.push(d.TeXAtom(a.Parse(b.slice(g,h-2),{}).mml().With(e))),f="",g=h):"$"===k&&""===f&&(h--,b=b.substr(0,h-1)+b.substr(h))));""!==f&&a.Error(["MathNotTerminated","Math not terminated in text box"]);g<b.length&&l.push(this.InternalText(b.slice(g),e));return l},InternalText:function(b,c){b=b.replace(/^\s+/,"\u00a0").replace(/\s+$/,"\u00a0");return d.mtext(d.chars(b)).With(c)},SubstituteArgs:function(b,c){for(var d="",e="",g,k=0;k<c.length;)g=c.charAt(k++),"\\"===g?d+=g+c.charAt(k++):"#"===g?(g=c.charAt(k++),"#"===g?d+=g:((!g.match(/[1-9]/)||g>b.length)&&a.Error(["IllegalMacroParam","Illegal macro parameter reference"]),e=this.AddArgs(this.AddArgs(e,d),b[g-1]),d="")):d+=g;return this.AddArgs(e,d)},AddArgs:function(b,c){c.match(/^[a-z]/i)&&b.match(/(^|[^\\])(\\\\)*\\[a-z]+$/i)&&(b+=" ");b.length+c.length>a.config.MAXBUFFER&&a.Error(["MaxBufferSize","MathJax internal buffer size exceeded; is there a recursive macro call?"]);return b+c}});a.Augment({Stack:p,Parse:c,Definitions:l,Startup:function(){d=MathJax.ElementJax.mml;f.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","\x26":"Entry","#":"Hash","\u2019":"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:d.VARIANT.NORMAL}],aleph:["2135",{mathvariant:d.VARIANT.NORMAL}],hbar:["210F",{variantForm:!0}],imath:"0131",jmath:"0237",ell:"2113",wp:["2118",{mathvariant:d.VARIANT.NORMAL}],Re:["211C",{mathvariant:d.VARIANT.NORMAL}],Im:["2111",{mathvariant:d.VARIANT.NORMAL}],partial:["2202",{mathvariant:d.VARIANT.NORMAL}],infty:["221E",{mathvariant:d.VARIANT.NORMAL}],prime:["2032",{mathvariant:d.VARIANT.NORMAL,variantForm:!0}],emptyset:["2205",{mathvariant:d.VARIANT.NORMAL}],nabla:["2207",{mathvariant:d.VARIANT.NORMAL}],top:["22A4",{mathvariant:d.VARIANT.NORMAL}],bot:["22A5",{mathvariant:d.VARIANT.NORMAL}],angle:["2220",{mathvariant:d.VARIANT.NORMAL}],triangle:["25B3",{mathvariant:d.VARIANT.NORMAL}],backslash:["2216",{mathvariant:d.VARIANT.NORMAL,variantForm:!0}],forall:["2200",{mathvariant:d.VARIANT.NORMAL}],exists:["2203",{mathvariant:d.VARIANT.NORMAL}],neg:["00AC",{mathvariant:d.VARIANT.NORMAL}],lnot:["00AC",{mathvariant:d.VARIANT.NORMAL}],flat:["266D",{mathvariant:d.VARIANT.NORMAL}],natural:["266E",{mathvariant:d.VARIANT.NORMAL}],sharp:["266F",{mathvariant:d.VARIANT.NORMAL}],clubsuit:["2663",{mathvariant:d.VARIANT.NORMAL}],diamondsuit:["2662",{mathvariant:d.VARIANT.NORMAL}],heartsuit:["2661",{mathvariant:d.VARIANT.NORMAL}],spadesuit:["2660",{mathvariant:d.VARIANT.NORMAL}]},mathchar0mo:{surd:"221A",coprod:["2210",{texClass:d.TEXCLASS.OP,movesupsub:!0}],bigvee:["22C1",{texClass:d.TEXCLASS.OP,movesupsub:!0}],bigwedge:["22C0",{texClass:d.TEXCLASS.OP,movesupsub:!0}],biguplus:["2A04",{texClass:d.TEXCLASS.OP,movesupsub:!0}],bigcap:["22C2",{texClass:d.TEXCLASS.OP,movesupsub:!0}],bigcup:["22C3",{texClass:d.TEXCLASS.OP,movesupsub:!0}],"int":["222B",{texClass:d.TEXCLASS.OP}],intop:["222B",{texClass:d.TEXCLASS.OP,movesupsub:!0,movablelimits:!0}],iint:["222C",{texClass:d.TEXCLASS.OP}],iiint:["222D",{texClass:d.TEXCLASS.OP}],prod:["220F",{texClass:d.TEXCLASS.OP,movesupsub:!0}],sum:["2211",{texClass:d.TEXCLASS.OP,movesupsub:!0}],bigotimes:["2A02",{texClass:d.TEXCLASS.OP,movesupsub:!0}],bigoplus:["2A01",{texClass:d.TEXCLASS.OP,movesupsub:!0}],bigodot:["2A00",{texClass:d.TEXCLASS.OP,movesupsub:!0}],oint:["222E",{texClass:d.TEXCLASS.OP}],bigsqcup:["2A06",{texClass:d.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:d.TEXCLASS.PUNCT}],cdotp:["22C5",{texClass:d.TEXCLASS.PUNCT}],colon:["003A",{texClass:d.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","\x26":"0026",And:"0026"},delimiter:{"(":"(",")":")","[":"[","]":"]","\x3c":"27E8","\x3e":"27E9","\\lt":"27E8","\\gt":"27E9","/":"/","|":["|",{texClass:d.TEXCLASS.ORD}],".":"","\\\\":"\\","\\lmoustache":"23B0","\\rmoustache":"23B1","\\lgroup":"27EE","\\rgroup":"27EF","\\arrowvert":"23D0","\\Arrowvert":"2016","\\bracevert":"23AA","\\Vert":["2225",{texClass:d.TEXCLASS.ORD}],"\\|":["2225",{texClass:d.TEXCLASS.ORD}],"\\vert":["|",{texClass:d.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",d.VARIANT.NORMAL],mit:["SetFont",d.VARIANT.ITALIC],oldstyle:["SetFont",d.VARIANT.OLDSTYLE],cal:["SetFont",d.VARIANT.CALIGRAPHIC],it:["SetFont","-tex-mathit"],bf:["SetFont",d.VARIANT.BOLD],bbFont:["SetFont",d.VARIANT.DOUBLESTRUCK],scr:["SetFont",d.VARIANT.SCRIPT],frak:["SetFont",d.VARIANT.FRAKTUR],sf:["SetFont",d.VARIANT.SANSSERIF],tt:["SetFont",d.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\x26thinsp;inf"],limsup:["NamedOp","lim\x26thinsp;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"],underline:["UnderOver","005F"],overbrace:["UnderOver","23DE",1],underbrace:["UnderOver","23DF",1],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",d.LENGTH.THINMATHSPACE],":":["Spacer",d.LENGTH.MEDIUMMATHSPACE],"\x3e":["Spacer",d.LENGTH.MEDIUMMATHSPACE],";":["Spacer",d.LENGTH.THICKMATHSPACE],"!":["Spacer",d.LENGTH.NEGATIVETHINMATHSPACE],enspace:["Spacer",".5em"],quad:["Spacer","1em"],qquad:["Spacer","2em"],thinspace:["Spacer",d.LENGTH.THINMATHSPACE],negthinspace:["Spacer",d.LENGTH.NEGATIVETHINMATHSPACE],hskip:"Hskip",hspace:"Hskip",kern:"Hskip",mskip:"Hskip",mspace:"Hskip",mkern:"Hskip",Rule:["Rule"],Space:["Rule","blank"],big:["MakeBig",d.TEXCLASS.ORD,.85],Big:["MakeBig",d.TEXCLASS.ORD,1.15],bigg:["MakeBig",d.TEXCLASS.ORD,1.45],Bigg:["MakeBig",d.TEXCLASS.ORD,1.75],bigl:["MakeBig",d.TEXCLASS.OPEN,.85],Bigl:["MakeBig",d.TEXCLASS.OPEN,1.15],biggl:["MakeBig",d.TEXCLASS.OPEN,1.45],Biggl:["MakeBig",d.TEXCLASS.OPEN,1.75],bigr:["MakeBig",d.TEXCLASS.CLOSE,.85],Bigr:["MakeBig",d.TEXCLASS.CLOSE,1.15],biggr:["MakeBig",d.TEXCLASS.CLOSE,1.45],Biggr:["MakeBig",d.TEXCLASS.CLOSE,1.75],bigm:["MakeBig",d.TEXCLASS.REL,.85],Bigm:["MakeBig",d.TEXCLASS.REL,1.15],biggm:["MakeBig",d.TEXCLASS.REL,1.45],Biggm:["MakeBig",d.TEXCLASS.REL,1.75],mathord:["TeXAtom",d.TEXCLASS.ORD],mathop:["TeXAtom",d.TEXCLASS.OP],mathopen:["TeXAtom",d.TEXCLASS.OPEN],mathclose:["TeXAtom",d.TEXCLASS.CLOSE],mathbin:["TeXAtom",d.TEXCLASS.BIN],mathrel:["TeXAtom",d.TEXCLASS.REL],mathpunct:["TeXAtom",d.TEXCLASS.PUNCT],mathinner:["TeXAtom",d.TEXCLASS.INNER],vcenter:["TeXAtom",d.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",d.LENGTH.THICKMATHSPACE,".5em","D"],displaylines:["Matrix",null,null,"center",null,".5em","D"],cr:"Cr","\\":"CrLaTeX",newline:"Cr",hline:["HLine","solid"],hdashline:["HLine","dashed"],eqalignno:["Matrix",null,null,"right left right",d.LENGTH.THICKMATHSPACE+" 3em",".5em","D"],leqalignno:["Matrix",null,null,"right left right",d.LENGTH.THICKMATHSPACE+" 3em",".5em","D"],bmod:["Macro","\\mathbin{\\mmlToken{mo}{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],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",begin:"Begin",end:"End",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,".1em"],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});if(this.config.Macros){var b=this.config.Macros,c;for(c in b)b.hasOwnProperty(c)&&(l.macros[c]="string"===typeof b[c]?["Macro",b[c]]:["Macro"].concat(b[c]),l.macros[c].isUser=!0)}},config:{MAXMACROS:1E4,MAXBUFFER:5120},sourceMenuTitle:["TeXCommands","TeX Commands"],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(b){var c,e=!1,h=MathJax.HTML.getScript(b),g=null!=b.type.replace(/\n/g," ").match(/(;|\s|\n)mode\s*=\s*display(;|\s|\n|$)/),k={math:h,display:g,script:b};this.prefilterHooks.Execute(k);h=k.math;try{c=a.Parse(h).mml()}catch(f){if(!f.texError)throw f;c=this.formatError(f,h,g,b);e=!0}c=c.inferred?d.apply(MathJax.ElementJax,c.data):d(c);g&&(c.root.display="block");e&&(c.texError=!0);k.math=c;this.postfilterHooks.Execute(k);return k.math},prefilterMath:function(b,c,a){return b},postfilterMath:function(b,c,a){this.combineRelations(b.root);return b},formatError:function(b,c,a,e){b=b.message.replace(/\n.*/,"");f.signal.Post(["TeX Jax - parse error",b,c,a,e]);return d.merror(b)},Error:function(b){b instanceof Array&&(b=g.apply(g,b));throw f.Insert(Error(b),{texError:!0});},Macro:function(b,c,a){l.macros[b]=["Macro"].concat([].slice.call(arguments,1));l.macros[b].isUser=!0},fenced:function(b,c,a){var e=d.mrow();e.open=b;e.close=a;b&&e.Append(d.mo(b).With({fence:!0,stretchy:!0,texClass:d.TEXCLASS.OPEN}));"mrow"===c.type?e.Append.apply(e,c.data):e.Append(c);a&&e.Append(d.mo(a).With({fence:!0,stretchy:!0,texClass:d.TEXCLASS.CLOSE}));return e},combineRelations:function(b){var c,a,e,g;c=0;for(a=b.data.length;c<a;c++)if(b.data[c]){if(b.isa(d.mrow))for(;c+1<a&&(e=b.data[c])&&(g=b.data[c+1])&&e.isa(d.mo)&&g.isa(d.mo)&&e.Get("texClass")===d.TEXCLASS.REL&&g.Get("texClass")===d.TEXCLASS.REL;)e.variantForm!=g.variantForm||e.Get("mathvariant")!=g.Get("mathvariant")||e.style!=g.style||e["class"]!=g["class"]||e.id||g.id?(e.rspace=g.lspace="0pt",c++):(e.Append.apply(e,g.data),b.data.splice(c+1,1),a--);b.data[c].isToken||this.combineRelations(b.data[c])}}});a.prefilterHooks.Add(function(b){b.math=a.prefilterMath(b.math,b.display,b.script)});a.postfilterHooks.Add(function(b){b.math=a.postfilterMath(b.math,b.display,b.script)});a.loadComplete("jax.js")})(MathJax.InputJax.TeX,MathJax.Hub,MathJax.Ajax);MathJax.Extension["TeX/AMSmath"]={version:"2.2",number:0,startNumber:0,labels:{},eqlabels:{},refs:[]};MathJax.Hub.Register.StartupHook("TeX Jax Ready",function(){var a=MathJax.ElementJax.mml,f=MathJax.InputJax.TeX,e=MathJax.Extension["TeX/AMSmath"],d=f.Definitions,g=f.Stack.Item,p=f.config.equationNumbers,n=function(a){for(var c=[],b=0,d=a.length;b<d;b++)c[b]=f.Parse.prototype.Em(a[b]);return c.join(" ")};d.Add({mathchar0mo:{iiiint:["2A0C",{texClass:a.TEXCLASS.OP}]},macros:{mathring:["Accent","2DA"],nobreakspace:"Tilde",negmedspace:["Spacer",a.LENGTH.NEGATIVEMEDIUMMATHSPACE],negthickspace:["Spacer",a.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\x26thinsp;lim"],projlim:["NamedOp","proj\x26thinsp;lim"],varliminf:["Macro","\\mathop{\\underline{\\mmlToken{mi}{lim}}}"],varlimsup:["Macro","\\mathop{\\overline{\\mmlToken{mi}{lim}}}"],varinjlim:["Macro","\\mathop{\\underrightarrow{\\mmlToken{mi}{lim}\\Rule{-1pt}{0pt}{1pt}}\\Rule{0pt}{0pt}{.45em}}"],varprojlim:["Macro","\\mathop{\\underleftarrow{\\mmlToken{mi}{lim}\\Rule{-1pt}{0pt}{1pt}}\\Rule{0pt}{0pt}{.45em}}"],DeclareMathOperator:"HandleDeclareOp",operatorname:"HandleOperatorName",genfrac:"Genfrac",frac:["Genfrac","","","",""],tfrac:["Genfrac","","","",1],dfrac:["Genfrac","","","",0],binom:["Genfrac","(",")","0em",""],tbinom:["Genfrac","(",")","0em",1],dbinom:["Genfrac","(",")","0em",0],cfrac:"CFrac",shoveleft:["HandleShove",a.ALIGN.LEFT],shoveright:["HandleShove",a.ALIGN.RIGHT],xrightarrow:["xArrow",8594,5,6],xleftarrow:["xArrow",8592,7,3]},environment:{align:["AMSarray",null,!0,!0,"rlrlrlrlrlrl",n([5/18,2,5/18,2,5/18,2,5/18,2,5/18,2,5/18])],"align*":["AMSarray",null,!1,!0,"rlrlrlrlrlrl",n([5/18,2,5/18,2,5/18,2,5/18,2,5/18,2,5/18])],multline:["Multline",null,!0],"multline*":["Multline",null,!1],split:["AMSarray",null,!1,!1,"rl",n([5/18])],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:["AlignedArray",null,null,null,"rlrlrlrlrlrl",n([5/18,2,5/18,2,5/18,2,5/18,2,5/18,2,5/18]),".5em","D"],gathered:["AlignedArray",null,null,null,"c",null,".5em","D"],subarray:["Array",null,null,null,null,n([0,0,0,0]),"0.1em","S",1],smallmatrix:["Array",null,null,null,"c",n([1/3]),".2em","S",1],equation:["EquationBegin","Equation",!0],"equation*":["EquationBegin","EquationStar",!1],eqnarray:["AMSarray",null,!0,!0,"rcl",a.LENGTH.THICKMATHSPACE,".5em"],"eqnarray*":["AMSarray",null,!1,!0,"rcl",a.LENGTH.THICKMATHSPACE,".5em"]},delimiter:{"\\lvert":["2223",{texClass:a.TEXCLASS.OPEN}],"\\rvert":["2223",{texClass:a.TEXCLASS.CLOSE}],"\\lVert":["2225",{texClass:a.TEXCLASS.OPEN}],"\\rVert":["2225",{texClass:a.TEXCLASS.CLOSE}]}},null,!0);f.Parse.Augment({HandleTag:function(d){var c=this.GetStar(),b=this.trimSpaces(this.GetArgument(d)),e=b;c||(b=p.formatTag(b));c=this.stack.global;c.tagID=e;c.notags&&f.Error(["CommandNotAllowedInEnv","%1 not allowed in %2 environment",d,c.notags]);c.tag&&f.Error(["MultipleCommand","Multiple %1",d]);c.tag=a.mtd.apply(a,this.InternalMath(b)).With({id:p.formatID(e)})},HandleNoTag:function(a){this.stack.global.tag&&delete this.stack.global.tag;this.stack.global.notag=!0},HandleLabel:function(a){var c=this.stack.global,b=this.GetArgument(a);""===b||e.refUpdate||(c.label&&f.Error(["MultipleCommand","Multiple %1",a]),c.label=b,(e.labels[b]||e.eqlabels[b])&&f.Error(["MultipleLabel","Label '%1' multiply defined",b]),e.eqlabels[b]="???")},HandleRef:function(d,c){var b=this.GetArgument(d),m=e.labels[b]||e.eqlabels[b];m||(m="??",e.badref=!e.refUpdate);var g=m;c&&(g=p.formatTag(g));p.useLabelIds&&(m=b);this.Push(a.mrow.apply(a,this.InternalMath(g)).With({href:p.formatURL(p.formatID(m)),"class":"MathJax_ref"}))},HandleDeclareOp:function(a){var c=this.GetStar()?"\\limits":"",b=this.trimSpaces(this.GetArgument(a));"\\"==b.charAt(0)&&(b=b.substr(1));a=this.GetArgument(a);a=a.replace(/\*/g,"\\text{*}").replace(/-/g,"\\text{-}");f.Definitions.macros[b]=["Macro","\\mathop{\\rm "+a+"}"+c]},HandleOperatorName:function(a){var c=this.GetStar()?"\\limits":"\\nolimits";a=this.trimSpaces(this.GetArgument(a));a=a.replace(/\*/g,"\\text{*}").replace(/-/g,"\\text{-}");this.string="\\mathop{\\rm "+a+"}"+c+" "+this.string.slice(this.i);this.i=0},HandleShove:function(a,c){var b=this.stack.Top();("multline"!==b.type||b.data.length)&&f.Error(["CommandAtTheBeginingOfLine","%1 must come at the beginning of the line",a]);b.data.shove=c},CFrac:function(d){var c=this.trimSpaces(this.GetBrackets(d,"")),b=this.GetArgument(d),e=this.GetArgument(d),b=a.mfrac(f.Parse("\\strut\\textstyle{"+b+"}",this.stack.env).mml(),f.Parse("\\strut\\textstyle{"+e+"}",this.stack.env).mml()),c={l:a.ALIGN.LEFT,r:a.ALIGN.RIGHT,"":""}[c];null==c&&f.Error(["IllegalAlign","Illegal alignment specified in %1",d]);c&&(b.numalign=b.denomalign=c);this.Push(b)},Genfrac:function(d,c,b,e,g){c=null==c?this.GetDelimiterArg(d):this.convertDelimiter(c);b=null==b?this.GetDelimiterArg(d):this.convertDelimiter(b);null==e&&(e=this.GetArgument(d));null==g&&(g=this.trimSpaces(this.GetArgument(d)));var h=this.ParseArg(d),r=this.ParseArg(d),h=a.mfrac(h,r);""!==e&&(h.linethickness=e);if(c||b)h=f.fenced(c,h,b);""!==g&&(c=["D","T","S","SS"][g],null==c&&f.Error(["BadMathStyleFor","Bad math style for %1",d]),h=a.mstyle(h),"D"===c?(h.displaystyle=!0,h.scriptlevel=0):(h.displaystyle=!1,h.scriptlevel=g-1));this.Push(h)},Multline:function(a,c){this.Push(a);this.checkEqnEnv();return g.multline(c,this.stack).With({arraydef:{displaystyle:!0,rowspacing:".5em",width:f.config.MultLineWidth,columnwidth:"100%",side:f.config.TagSide,minlabelspacing:f.config.TagIndent}})},AMSarray:function(a,c,b,d,e){this.Push(a);b&&this.checkEqnEnv();d=d.replace(/[^clr]/g,"").split("").join(" ");d=d.replace(/l/g,"left").replace(/r/g,"right").replace(/c/g,"center");return g.AMSarray(a.name,c,b,this.stack).With({arraydef:{displaystyle:!0,rowspacing:".5em",columnalign:d,columnspacing:e||"1em",rowspacing:"3pt",side:f.config.TagSide,minlabelspacing:f.config.TagIndent}})},AlignAt:function(a,c,b){var d,e,h="",g=[];b||(e=this.GetBrackets("\\begin{"+a.name+"}"));d=this.GetArgument("\\begin{"+a.name+"}");for(d.match(/[^0-9]/)&&f.Error(["PositiveIntegerArg","Argument to %1 must me a positive integer","\\begin{"+a.name+"}"]);0<d;)h+="rl",g.push("0em 0em"),d--;g=g.join(" ");if(b)return this.AMSarray(a,c,b,h,g);a=this.Array.call(this,a,null,null,h,g,".5em","D");return this.setArrayAlign(a,e)},EquationBegin:function(a,c){this.checkEqnEnv();this.stack.global.forcetag=c&&"none"!==p.autoNumber;return a},EquationStar:function(a,c){this.stack.global.tagged=!0;return c},checkEqnEnv:function(){this.stack.global.eqnenv&&f.Error(["ErroneousNestingEq","Erroneous nesting of equation structures"]);this.stack.global.eqnenv=!0},MultiIntegral:function(a,c){var b=this.GetNext();if("\\"===b){var d=this.i,b=this.GetArgument(a);this.i=d;"\\limits"===b&&(c="\\idotsint"===a?"\\!\\!\\mathop{\\,\\,"+c+"}":"\\!\\!\\!\\mathop{\\,\\,\\,"+c+"}")}this.string=c+" "+this.string.slice(this.i);this.i=0},xArrow:function(d,c,b,e){b={width:"+"+(b+e)+"mu",lspace:b+"mu"};e=this.GetBrackets(d);d=this.ParseArg(d);c=a.mo(a.chars(String.fromCharCode(c))).With({stretchy:!0,texClass:a.TEXCLASS.REL});c=a.munderover(c);c.SetData(c.over,a.mpadded(d).With(b).With({voffset:".15em"}));e&&(e=f.Parse(e,this.stack.env).mml(),c.SetData(c.under,a.mpadded(e).With(b).With({voffset:"-.24em"})));this.Push(c)},GetDelimiterArg:function(a){var c=this.trimSpaces(this.GetArgument(a));if(""==c)return null;null==d.delimiter[c]&&f.Error(["MissingOrUnrecognizedDelim","Missing or unrecognized delimiter for %1",a]);return this.convertDelimiter(c)},GetStar:function(){var a="*"===this.GetNext();a&&this.i++;return a}});g.Augment({autoTag:function(){var d=this.global;if(!d.notag){e.number++;d.tagID=p.formatNumber(e.number.toString());var c=f.Parse("\\text{"+p.formatTag(d.tagID)+"}",{}).mml();d.tag=a.mtd(c.With({id:p.formatID(d.tagID)}))}},getTag:function(){var a=this.global,c=a.tag;a.tagged=!0;a.label&&(e.eqlabels[a.label]=a.tagID,p.useLabelIds&&(c.id=p.formatID(a.label)));delete a.tag;delete a.tagID;delete a.label;return c}});g.multline=g.array.Subclass({type:"multline",Init:function(a,c){this.SUPER(arguments).Init.apply(this);this.numbered=a&&"none"!==p.autoNumber;this.save={notag:c.global.notag};c.global.tagged=!a&&!c.global.forcetag},EndEntry:function(){var d=a.mtd.apply(a,this.data);this.data.shove&&(d.columnalign=this.data.shove);this.row.push(d);this.data=[]},EndRow:function(){1!=this.row.length&&f.Error(["MultlineRowsOneCol","The rows within the %1 environment must have exactly one column","multline"]);this.table.push(this.row);this.row=[]},EndTable:function(){this.SUPER(arguments).EndTable.call(this);if(this.table.length){var d=this.table.length-1,c,b=-1;this.table[0][0].columnalign||(this.table[0][0].columnalign=a.ALIGN.LEFT);this.table[d][0].columnalign||(this.table[d][0].columnalign=a.ALIGN.RIGHT);!this.global.tag&&this.numbered&&this.autoTag();this.global.tag&&!this.global.notags&&(b="left"===this.arraydef.side?0:this.table.length-1,this.table[b]=[this.getTag()].concat(this.table[b]));c=0;for(d=this.table.length;c<d;c++)this.table[c]=(c===b?a.mlabeledtr:a.mtr).apply(a,this.table[c])}this.global.notag=this.save.notag}});g.AMSarray=g.array.Subclass({type:"AMSarray",Init:function(a,c,b,d){this.SUPER(arguments).Init.apply(this);this.numbered=c&&"none"!==p.autoNumber;this.save={notags:d.global.notags,notag:d.global.notag};d.global.notags=b?null:a;d.global.tagged=!c&&!d.global.forcetag},EndRow:function(){var d=a.mtr;!this.global.tag&&this.numbered&&this.autoTag();this.global.tag&&!this.global.notags&&(this.row=[this.getTag()].concat(this.row),d=a.mlabeledtr);this.numbered&&delete this.global.notag;this.table.push(d.apply(a,this.row));this.row=[]},EndTable:function(){this.SUPER(arguments).EndTable.call(this);this.global.notags=this.save.notags;this.global.notag=this.save.notag}});g.start.Augment({oldCheckItem:g.start.prototype.checkItem,checkItem:function(d){if("stop"===d.type){d=this.mmlData();var c=this.global;!e.display||c.tag||c.tagged||c.isInner||"all"!==p.autoNumber&&!c.forcetag||this.autoTag();if(c.tag){var c=[this.getTag(),a.mtd(d)],b={side:f.config.TagSide,minlabelspacing:f.config.TagIndent,columnalign:d.displayAlign};d.displayAlign===a.INDENTALIGN.LEFT?(b.width="100%",d.displayIndent&&!String(d.displayIndent).match(/^0+(\.0*)?($|[a-z%])/)&&(b.columnwidth=d.displayIndent+" fit",b.columnspacing="0",c=[c[0],a.mtd(),c[1]])):d.displayAlign===a.INDENTALIGN.RIGHT&&(b.width="100%",d.displayIndent&&!String(d.displayIndent).match(/^0+(\.0*)?($|[a-z%])/)&&(b.columnwidth="fit "+d.displayIndent,b.columnspacing="0",c[2]=a.mtd()));d=a.mtable(a.mlabeledtr.apply(a,c)).With(b)}return g.mml(d)}return this.oldCheckItem.call(this,d)}});f.prefilterHooks.Add(function(a){e.display=a.display;e.number=e.startNumber;e.eqlabels={};e.badref=!1;e.refUpdate&&(e.number=a.script.MathJax.startNumber)});f.postfilterHooks.Add(function(a){a.script.MathJax.startNumber=e.startNumber;e.startNumber=e.number;MathJax.Hub.Insert(e.labels,e.eqlabels);e.badref&&!a.math.texError&&e.refs.push(a.script)});MathJax.Hub.Register.MessageHook("Begin Math Input",function(){e.refs=[];e.refUpdate=!1});MathJax.Hub.Register.MessageHook("End Math Input",function(a){if(e.refs.length){e.refUpdate=!0;a=0;for(var c=e.refs.length;a<c;a++)e.refs[a].MathJax.state=MathJax.ElementJax.STATE.UPDATE;return MathJax.Hub.processInput({scripts:e.refs,start:(new Date).getTime(),i:0,j:0,jax:{},jaxIDs:[]})}return null});f.resetEquationNumbers=function(a,c){e.startNumber=a||0;c||(e.labels={})};MathJax.Hub.Startup.signal.Post("TeX AMSmath Ready")});MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/AMSmath.js");MathJax.Extension["TeX/AMSsymbols"]={version:"2.2"};MathJax.Hub.Register.StartupHook("TeX Jax Ready",function(){var a=MathJax.ElementJax.mml;MathJax.InputJax.TeX.Definitions.Add({mathchar0mi:{digamma:"03DD",varkappa:"03F0",varGamma:["0393",{mathvariant:a.VARIANT.ITALIC}],varDelta:["0394",{mathvariant:a.VARIANT.ITALIC}],varTheta:["0398",{mathvariant:a.VARIANT.ITALIC}],varLambda:["039B",{mathvariant:a.VARIANT.ITALIC}],varXi:["039E",{mathvariant:a.VARIANT.ITALIC}],varPi:["03A0",{mathvariant:a.VARIANT.ITALIC}],varSigma:["03A3",{mathvariant:a.VARIANT.ITALIC}],varUpsilon:["03A5",{mathvariant:a.VARIANT.ITALIC}],varPhi:["03A6",{mathvariant:a.VARIANT.ITALIC}],varPsi:["03A8",{mathvariant:a.VARIANT.ITALIC}],varOmega:["03A9",{mathvariant:a.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:a.VARIANT.NORMAL}],bigstar:"2605",sphericalangle:"2222",measuredangle:"2221",nexists:"2204",complement:"2201",mho:"2127",eth:["00F0",{mathvariant:a.VARIANT.NORMAL}],Finv:"2132",diagup:"2571",Game:"2141",diagdown:"2572",Bbbk:["006B",{mathvariant:a.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",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 f=a.mo.OPTYPES.REL;MathJax.Hub.Insert(a.mo.prototype,{OPTABLE:{infix:{"\u2322":f,"\u2323":f,"\u25b3":f,"\ue006":f,"\ue007":f,"\ue00c":f,"\ue00d":f,"\ue00e":f,"\ue00f":f,"\ue010":f,"\ue011":f,"\ue016":f,"\ue017":f,"\ue018":f,"\ue019":f,"\ue01a":f,"\ue01b":f,"\ue04b":f,"\ue04f":f}}});MathJax.Hub.Startup.signal.Post("TeX AMSsymbols Ready")});MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/AMSsymbols.js");(function(a,f){var e,d=function(a){return MathJax.Localization._.apply(MathJax.Localization,[["MathML",a]].concat([].slice.call(arguments,1)))};a.Parse=MathJax.Object.Subclass({Init:function(a){this.Parse(a)},Parse:function(d){"string"!==typeof d?d=d.parentNode:(d=a.ParseXML(this.preProcessMath.call(this,d)),null==d&&a.Error(["ErrorParsingMathML","Error parsing MathML"]));var e=d.getElementsByTagName("parsererror")[0];e&&a.Error(["ParsingError","Error parsing MathML: %1",e.textContent.replace(/This page.*?errors:|XML Parsing Error: |Below is a rendering of the page.*/g,"")]);1!==d.childNodes.length&&a.Error(["MathMLSingleElement","MathML must be formed by a single element"]);"html"===d.firstChild.nodeName.toLowerCase()&&(e=d.getElementsByTagName("h1")[0])&&"XML parsing error"===e.textContent&&e.nextSibling&&a.Error(["ParsingError","Error parsing MathML: %1",String(e.nextSibling.nodeValue).replace(/fatal parsing error: /,"")]);"math"!==d.firstChild.nodeName.toLowerCase().replace(/^[a-z]+:/,"")&&a.Error(["MathMLRootElement","MathML must be formed by a \x3cmath\x3e element, not %1","\x3c"+d.firstChild.nodeName+"\x3e"]);this.mml=this.MakeMML(d.firstChild)},MakeMML:function(g){var f=String(g.getAttribute("class")||""),n;n=g.nodeName.toLowerCase().replace(/^[a-z]+:/,"");if(f=f.match(/(^| )MJX-TeXAtom-([^ ]*)/))n=this.TeXAtom(f[2]);else if(e[n]&&e[n].isa&&e[n].isa(e.mbase))n=e[n]();else return MathJax.Hub.signal.Post(["MathML Jax - unknown node type",n]),e.merror(d("UnknownNodeType","Unknown node type: %1",n));this.AddAttributes(n,g);this.CheckClass(n,n["class"]);this.AddChildren(n,g);a.config.useMathMLspacing&&(n.useMMLspacing=8);return n},TeXAtom:function(a){a=e.TeXAtom().With({texClass:e.TEXCLASS[a]});a.texClass===e.TEXCLASS.OP&&(a.movesupsub=a.movablelimits=!0);return a},CheckClass:function(a,d){d=(d||"").split(/ /);for(var e=[],f=0,c=d.length;f<c;f++)"MJX-"===d[f].substr(0,4)?"MJX-arrow"===d[f]?a.arrow=!0:"MJX-variant"===d[f]?(a.variantForm=!0,MathJax.Extension["TeX/AMSsymbols"]||MathJax.Hub.RestartAfter(MathJax.Ajax.Require("[MathJax]/extensions/TeX/AMSsymbols.js"))):"MJX-TeXAtom"!==d[f].substr(0,11)&&(a.mathvariant=d[f].substr(3),"-tex-caligraphic-bold"===a.mathvariant||"-tex-oldstyle-bold"===a.mathvariant)&&(MathJax.Extension["TeX/boldsymbol"]||MathJax.Hub.RestartAfter(MathJax.Ajax.Require("[MathJax]/extensions/TeX/boldsymbol.js"))):e.push(d[f]);e.length?a["class"]=e.join(" "):delete a["class"]},AddAttributes:function(a,d){a.attr={};a.attrNames=[];for(var f=0,l=d.attributes.length;f<l;f++){var c=d.attributes[f].name;"xlink:href"==c&&(c="href");if(!c.match(/:/)&&!c.match(/^_moz-math-((column|row)(align|line)|font-style)$/)){var b=d.attributes[f].value,b=this.filterAttribute(c,b);null!=b&&("true"===b.toLowerCase()?b=!0:"false"===b.toLowerCase()&&(b=!1),null!=a.defaults[c]||e.copyAttributes[c]?a[c]=b:a.attr[c]=b,a.attrNames.push(c))}}},filterAttribute:function(a,d){return d},AddChildren:function(d,f){for(var n=0,l=f.childNodes.length;n<l;n++){var c=f.childNodes[n];"#comment"!==c.nodeName&&("#text"===c.nodeName?d.isToken&&!d.mmlSelfClosing?(c=c.nodeValue.replace(/&([a-z][a-z0-9]*);/ig,this.replaceEntity),d.Append(e.chars(this.trimSpace(c)))):c.nodeValue.match(/\S/)&&a.Error(["UnexpectedTextNode","Unexpected text node: %1","'"+c.nodeValue+"'"]):"annotation-xml"===d.type?d.Append(e.xml(c)):(c=this.MakeMML(c),d.Append(c),c.mmlSelfClosing&&c.data.length&&(d.Append.apply(d,c.data),c.data=[])))}"mrow"===d.type&&2<=d.data.length&&(n=d.data[0],l=d.data[d.data.length-1],"mo"===n.type&&n.Get("fence")&&"mo"===l.type&&l.Get("fence")&&(n.data[0]&&(d.open=n.data.join("")),l.data[0]&&(d.close=l.data.join(""))))},preProcessMath:function(a){a.match(/^<[a-z]+:/i)&&!a.match(/^<[^<>]* xmlns:/)&&(a=a.replace(/^<([a-z]+)(:math)/i,'\x3c$1$2 xmlns:$1\x3d"http://www.w3.org/1998/Math/MathML"'));var d=a.match(/^(<math( ('.*?'|".*?"|[^>])+)>)/i);d&&d[2].match(/ (?!xmlns=)[a-z]+=\"http:/i)&&(a=d[1].replace(/ (?!xmlns=)([a-z]+=(['"])http:.*?\2)/ig," xmlns:$1 $1")+a.substr(d[0].length));a.match(/^<math/i)&&!a.match(/^<[^<>]* xmlns=/)&&(a=a.replace(/^<(math)/i,'\x3cmath xmlns\x3d"http://www.w3.org/1998/Math/MathML"'));a=a.replace(/^\s*(?:\/\/)?<!(--)?\[CDATA\[((.|\n)*)(\/\/)?\]\]\1>\s*$/,"$2");return a.replace(/&([a-z][a-z0-9]*);/ig,this.replaceEntity)},trimSpace:function(a){return a.replace(/[\t\n\r]/g," ").replace(/^ +/,"").replace(/ +$/,"").replace(/ +/g," ")},replaceEntity:function(d,e){if(e.match(/^(lt|amp|quot)$/))return d;if(a.Parse.Entity[e])return a.Parse.Entity[e];var f=e.charAt(0).toLowerCase(),l=e.match(/^[a-zA-Z](fr|scr|opf)$/);l&&(f=l[1]);a.Parse.loaded[f]||(a.Parse.loaded[f]=!0,MathJax.Hub.RestartAfter(MathJax.Ajax.Require(a.entityDir+"/"+f+".js")));return d}},{loaded:[]});a.Augment({sourceMenuTitle:["OriginalMathML","Original MathML"],prefilterHooks:MathJax.Callback.Hooks(!0),postfilterHooks:MathJax.Callback.Hooks(!0),Translate:function(d){this.ParseXML||(this.ParseXML=this.createParser());var p,n,l={script:d};d.firstChild&&"math"===d.firstChild.nodeName.toLowerCase().replace(/^[a-z]+:/,"")?l.math=d.firstChild:(n=MathJax.HTML.getScript(d),f.isMSIE&&(n=n.replace(/( )+$/,"")),l.math=n);this.prefilterHooks.Execute(l);n=l.math;try{p=a.Parse(n).mml}catch(c){if(!c.mathmlError)throw c;p=this.formatError(c,n,d)}l.math=e(p);this.postfilterHooks.Execute(l);return l.math},prefilterMath:function(a,d){return a},prefilterMathML:function(a,d){return a},formatError:function(a,d,f){a=a.message.replace(/\n.*/,"");MathJax.Hub.signal.Post(["MathML Jax - parse error",a,d,f]);return e.merror(a)},Error:function(a){a instanceof Array&&(a=d.apply(d,a));throw MathJax.Hub.Insert(Error(a),{mathmlError:!0});},parseDOM:function(a){return this.parser.parseFromString(a,"text/xml")},parseMS:function(a){return this.parser.loadXML(a)?this.parser:null},parseDIV:function(a){this.div.innerHTML=a.replace(/<([a-z]+)([^>]*)\/>/g,"\x3c$1$2\x3e\x3c/$1\x3e");return this.div},parseError:function(a){return null},createMSParser:function(){for(var a=null,d="MSXML2.DOMDocument.6.0 MSXML2.DOMDocument.5.0 MSXML2.DOMDocument.4.0 MSXML2.DOMDocument.3.0 MSXML2.DOMDocument.2.0 Microsoft.XMLDOM".split(" "),e=0,f=d.length;e<f&&!a;e++)try{a=new ActiveXObject(d[e])}catch(c){}return a},createParser:function(){if(window.DOMParser)return this.parser=new DOMParser,this.parseDOM;if(window.ActiveXObject){this.parser=this.createMSParser();if(!this.parser)return MathJax.Localization.Try(this.parserCreationError),this.parseError;this.parser.async=!1;return this.parseMS}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);return this.parseDIV},parserCreationError:function(){alert(d("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(){e=MathJax.ElementJax.mml;e.mspace.Augment({mmlSelfClosing:!0});e.none.Augment({mmlSelfClosing:!0});e.mprescripts.Augment({mmlSelfClosing:!0})}});a.prefilterHooks.Add(function(d){d.math="string"===typeof d.math?a.prefilterMath(d.math,d.script):a.prefilterMathML(d.math,d.script)});a.Parse.Entity={ApplyFunction:"\u2061",Backslash:"\u2216",Because:"\u2235",Breve:"\u02d8",Cap:"\u22d2",CenterDot:"\u00b7",CircleDot:"\u2299",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",Congruent:"\u2261",ContourIntegral:"\u222e",Coproduct:"\u2210",Cross:"\u2a2f",Cup:"\u22d3",CupCap:"\u224d",Dagger:"\u2021",Del:"\u2207",Delta:"\u0394",Diamond:"\u22c4",DifferentialD:"\u2146",DotEqual:"\u2250",DoubleDot:"\u00a8",DoubleRightTee:"\u22a8",DoubleVerticalBar:"\u2225",DownArrow:"\u2193",DownLeftVector:"\u21bd",DownRightVector:"\u21c1",DownTee:"\u22a4",Downarrow:"\u21d3",Element:"\u2208",EqualTilde:"\u2242",Equilibrium:"\u21cc",Exists:"\u2203",ExponentialE:"\u2147",FilledVerySmallSquare:"\u25aa",ForAll:"\u2200",Gamma:"\u0393",Gg:"\u22d9",GreaterEqual:"\u2265",GreaterEqualLess:"\u22db",GreaterFullEqual:"\u2267",GreaterLess:"\u2277",GreaterSlantEqual:"\u2a7e",GreaterTilde:"\u2273",Hacek:"\u02c7",Hat:"^",HumpDownHump:"\u224e",HumpEqual:"\u224f",Im:"\u2111",ImaginaryI:"\u2148",Integral:"\u222b",Intersection:"\u22c2",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",Lambda:"\u039b",Larr:"\u219e",LeftAngleBracket:"\u27e8",LeftArrow:"\u2190",LeftArrowRightArrow:"\u21c6",LeftCeiling:"\u2308",LeftDownVector:"\u21c3",LeftFloor:"\u230a",LeftRightArrow:"\u2194",LeftTee:"\u22a3",LeftTriangle:"\u22b2",LeftTriangleEqual:"\u22b4",LeftUpVector:"\u21bf",LeftVector:"\u21bc",Leftarrow:"\u21d0",Leftrightarrow:"\u21d4",LessEqualGreater:"\u22da",LessFullEqual:"\u2266",LessGreater:"\u2276",LessSlantEqual:"\u2a7d",LessTilde:"\u2272",Ll:"\u22d8",Lleftarrow:"\u21da",LongLeftArrow:"\u27f5",LongLeftRightArrow:"\u27f7",LongRightArrow:"\u27f6",Longleftarrow:"\u27f8",Longleftrightarrow:"\u27fa",Longrightarrow:"\u27f9",Lsh:"\u21b0",MinusPlus:"\u2213",NestedGreaterGreater:"\u226b",NestedLessLess:"\u226a",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotExists:"\u2204",NotGreater:"\u226f",NotGreaterEqual:"\u2271",NotLeftTriangle:"\u22ea",NotLeftTriangleEqual:"\u22ec",NotLess:"\u226e",NotLessEqual:"\u2270",NotPrecedes:"\u2280",NotPrecedesSlantEqual:"\u22e0",NotRightTriangle:"\u22eb",NotRightTriangleEqual:"\u22ed",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsSlantEqual:"\u22e1",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotVerticalBar:"\u2224",Omega:"\u03a9",OverBar:"\u203e",OverBrace:"\u23de",PartialD:"\u2202",Phi:"\u03a6",Pi:"\u03a0",PlusMinus:"\u00b1",Precedes:"\u227a",PrecedesEqual:"\u2aaf",PrecedesSlantEqual:"\u227c",PrecedesTilde:"\u227e",Product:"\u220f",Proportional:"\u221d",Psi:"\u03a8",Rarr:"\u21a0",Re:"\u211c",ReverseEquilibrium:"\u21cb",RightAngleBracket:"\u27e9",RightArrow:"\u2192",RightArrowLeftArrow:"\u21c4",RightCeiling:"\u2309",RightDownVector:"\u21c2",RightFloor:"\u230b",RightTee:"\u22a2",RightTeeArrow:"\u21a6",RightTriangle:"\u22b3",RightTriangleEqual:"\u22b5",RightUpVector:"\u21be",RightVector:"\u21c0",Rightarrow:"\u21d2",Rrightarrow:"\u21db",Rsh:"\u21b1",Sigma:"\u03a3",SmallCircle:"\u2218",Sqrt:"\u221a",Square:"\u25a1",SquareIntersection:"\u2293",SquareSubset:"\u228f",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",Star:"\u22c6",Subset:"\u22d0",SubsetEqual:"\u2286",Succeeds:"\u227b",SucceedsEqual:"\u2ab0",SucceedsSlantEqual:"\u227d",SucceedsTilde:"\u227f",SuchThat:"\u220b",Sum:"\u2211",Superset:"\u2283",SupersetEqual:"\u2287",Supset:"\u22d1",Therefore:"\u2234",Theta:"\u0398",Tilde:"\u223c",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",UnderBar:"_",UnderBrace:"\u23df",Union:"\u22c3",UnionPlus:"\u228e",UpArrow:"\u2191",UpDownArrow:"\u2195",UpTee:"\u22a5",Uparrow:"\u21d1",Updownarrow:"\u21d5",Upsilon:"\u03a5",Vdash:"\u22a9",Vee:"\u22c1",VerticalBar:"\u2223",VerticalTilde:"\u2240",Vvdash:"\u22aa",Wedge:"\u22c0",Xi:"\u039e",acute:"\u00b4",aleph:"\u2135",alpha:"\u03b1",amalg:"\u2a3f",and:"\u2227",ang:"\u2220",angmsd:"\u2221",angsph:"\u2222",ape:"\u224a",backprime:"\u2035",backsim:"\u223d",backsimeq:"\u22cd",beta:"\u03b2",beth:"\u2136",between:"\u226c",bigcirc:"\u25ef",bigodot:"\u2a00",bigoplus:"\u2a01",bigotimes:"\u2a02",bigsqcup:"\u2a06",bigstar:"\u2605",bigtriangledown:"\u25bd",bigtriangleup:"\u25b3",biguplus:"\u2a04",blacklozenge:"\u29eb",blacktriangle:"\u25b4",blacktriangledown:"\u25be",blacktriangleleft:"\u25c2",bowtie:"\u22c8",boxdl:"\u2510",boxdr:"\u250c",boxminus:"\u229f",boxplus:"\u229e",boxtimes:"\u22a0",boxul:"\u2518",boxur:"\u2514",bsol:"\\",bull:"\u2022",cap:"\u2229",check:"\u2713",chi:"\u03c7",circ:"\u02c6",circeq:"\u2257",circlearrowleft:"\u21ba",circlearrowright:"\u21bb",circledR:"\u00ae",circledS:"\u24c8",circledast:"\u229b",circledcirc:"\u229a",circleddash:"\u229d",clubs:"\u2663",colon:":",comp:"\u2201",ctdot:"\u22ef",cuepr:"\u22de",cuesc:"\u22df",cularr:"\u21b6",cup:"\u222a",curarr:"\u21b7",curlyvee:"\u22ce",curlywedge:"\u22cf",dagger:"\u2020",daleth:"\u2138",ddarr:"\u21ca",deg:"\u00b0",delta:"\u03b4",digamma:"\u03dd",div:"\u00f7",divideontimes:"\u22c7",dot:"\u02d9",doteqdot:"\u2251",dotplus:"\u2214",dotsquare:"\u22a1",dtdot:"\u22f1",ecir:"\u2256",efDot:"\u2252",egs:"\u2a96",ell:"\u2113",els:"\u2a95",empty:"\u2205",epsi:"\u03b5",epsiv:"\u03f5",erDot:"\u2253",eta:"\u03b7",eth:"\u00f0",flat:"\u266d",fork:"\u22d4",frown:"\u2322",gEl:"\u2a8c",gamma:"\u03b3",gap:"\u2a86",gimel:"\u2137",gnE:"\u2269",gnap:"\u2a8a",gne:"\u2a88",gnsim:"\u22e7",gt:"\x3e",gtdot:"\u22d7",harrw:"\u21ad",hbar:"\u210f",hellip:"\u2026",hookleftarrow:"\u21a9",hookrightarrow:"\u21aa",imath:"\u0131",infin:"\u221e",intcal:"\u22ba",iota:"\u03b9",jmath:"\u0237",kappa:"\u03ba",kappav:"\u03f0",lEg:"\u2a8b",lambda:"\u03bb",lap:"\u2a85",larrlp:"\u21ab",larrtl:"\u21a2",lbrace:"{",lbrack:"[",le:"\u2264",leftleftarrows:"\u21c7",leftthreetimes:"\u22cb",lessdot:"\u22d6",lmoust:"\u23b0",lnE:"\u2268",lnap:"\u2a89",lne:"\u2a87",lnsim:"\u22e6",longmapsto:"\u27fc",looparrowright:"\u21ac",lowast:"\u2217",loz:"\u25ca",lt:"\x3c",ltimes:"\u22c9",ltri:"\u25c3",macr:"\u00af",malt:"\u2720",mho:"\u2127",mu:"\u03bc",multimap:"\u22b8",nLeftarrow:"\u21cd",nLeftrightarrow:"\u21ce",nRightarrow:"\u21cf",nVDash:"\u22af",nVdash:"\u22ae",natur:"\u266e",nearr:"\u2197",nharr:"\u21ae",nlarr:"\u219a",not:"\u00ac",nrarr:"\u219b",nu:"\u03bd",nvDash:"\u22ad",nvdash:"\u22ac",nwarr:"\u2196",omega:"\u03c9",omicron:"\u03bf",or:"\u2228",osol:"\u2298",period:".",phi:"\u03c6",phiv:"\u03d5",pi:"\u03c0",piv:"\u03d6",prap:"\u2ab7",precnapprox:"\u2ab9",precneqq:"\u2ab5",precnsim:"\u22e8",prime:"\u2032",psi:"\u03c8",rarrtl:"\u21a3",rbrace:"}",rbrack:"]",rho:"\u03c1",rhov:"\u03f1",rightrightarrows:"\u21c9",rightthreetimes:"\u22cc",ring:"\u02da",rmoust:"\u23b1",rtimes:"\u22ca",rtri:"\u25b9",scap:"\u2ab8",scnE:"\u2ab6",scnap:"\u2aba",scnsim:"\u22e9",sdot:"\u22c5",searr:"\u2198",sect:"\u00a7",sharp:"\u266f",sigma:"\u03c3",sigmav:"\u03c2",simne:"\u2246",smile:"\u2323",spades:"\u2660",sub:"\u2282",subE:"\u2ac5",subnE:"\u2acb",subne:"\u228a",supE:"\u2ac6",supnE:"\u2acc",supne:"\u228b",swarr:"\u2199",tau:"\u03c4",theta:"\u03b8",thetav:"\u03d1",tilde:"\u02dc",times:"\u00d7",triangle:"\u25b5",triangleq:"\u225c",upsi:"\u03c5",upuparrows:"\u21c8",veebar:"\u22bb",vellip:"\u22ee",weierp:"\u2118",xi:"\u03be",yen:"\u00a5",zeta:"\u03b6",zigrarr:"\u21dd"};a.loadComplete("jax.js")})(MathJax.InputJax.MathML,MathJax.Hub.Browser);(function(a,f,e,d){var g;d.Augment({config:{styles:{".MathJax_SVG":{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",border:0,padding:0,margin:0},".MathJax_SVG_Display":{position:"relative",display:"block",width:"100%"},".MathJax_SVG *":{transition:"none","-webkit-transition":"none","-moz-transition":"none","-ms-transition":"none","-o-transition":"none"},".mjx-svg-href":{fill:"blue",stroke:"blue"},".MathJax_SVG_Processing":{visibility:"hidden",position:"absolute",top:0,left:0,width:0,height:0,overflow:"hidden",display:"block"},".MathJax_SVG_Processed":{display:"none!important"},".MathJax_SVG_ExBox":{display:"block",overflow:"hidden",width:"1px",height:"60ex"},"#MathJax_SVG_Tooltip":{position:"absolute",left:0,top:0,width:"auto",height:"auto",display:"none"}}},hideProcessedMath:!0,Config:function(){var c=f.config.menuSettings;c.scale&&(this.config.scale=c.scale);this.SUPER(arguments).Config.apply(this,arguments);this.fontInUse=this.config.font;this.fontDir+="/"+this.config.font;this.require||(this.require=[]);this.require.push(this.fontDir+"/fontdata.js");this.require.push(MathJax.OutputJax.extensionDir+"/MathEvents.js")},Startup:function(){EVENT=MathJax.Extension.MathEvents.Event;TOUCH=MathJax.Extension.MathEvents.Touch;HOVER=MathJax.Extension.MathEvents.Hover;this.ContextMenu=EVENT.ContextMenu;this.Mousedown=EVENT.AltContextMenu;this.Mouseover=HOVER.Mouseover;this.Mouseout=HOVER.Mouseout;this.Mousemove=HOVER.Mousemove;this.hiddenDiv=e.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=e.addElement(this.hiddenDiv,"div",{id:"MathJax_SVG_Hidden"});var c=e.addElement(this.hiddenDiv,"div",{style:{width:"5in"}});this.pxPerInch=c.offsetWidth/5;this.hiddenDiv.removeChild(c);this.textSVG=this.Element("svg");l=this.addElement(this.addElement(this.hiddenDiv.parentNode,"svg"),"defs",{id:"MathJax_SVG_glyphs"});n={};this.ExSpan=e.Element("span",{style:{position:"absolute","font-size-adjust":"none"}},[["span",{className:"MathJax_SVG_ExBox"}]]);this.linebreakSpan=e.Element("span",null,[["hr",{style:{width:"auto",size:1,padding:0,border:0,margin:0}}]]);return a.Styles(this.config.styles,["InitializeSVG",this])},InitializeSVG:function(){document.body.appendChild(this.ExSpan);document.body.appendChild(this.linebreakSpan);this.defaultEx=this.ExSpan.firstChild.offsetHeight/60;this.defaultWidth=this.linebreakSpan.firstChild.offsetWidth;document.body.removeChild(this.linebreakSpan);document.body.removeChild(this.ExSpan)},preTranslate:function(c){var b=c.jax[this.id],a,t=b.length,h,g,k,q,n,l,p=!1,v=this.config.linebreaks.automatic,x=this.config.linebreaks.width;v?((p=null!=x.match(/^\s*(\d+(\.\d*)?%\s*)?container\s*$/))?x=x.replace(/\s*container\s*/,""):l=this.defaultWidth,""===x&&(x="100%")):l=1E5;for(a=0;a<t;a++)if(h=b[a],h.parentNode&&((g=h.previousSibling)&&String(g.className).match(/^MathJax(_SVG)?(_Display)?( MathJax(_SVG)?_Processing)?$/)&&g.parentNode.removeChild(g),g=h.MathJax.elementJax))g.SVG={display:"block"===g.root.Get("display")},k=q=e.Element("span",{style:{"font-size":this.config.scale+"%",display:"inline-block"},className:"MathJax_SVG",id:g.inputID+"-Frame",isMathJax:!0,jaxID:this.id,oncontextmenu:EVENT.Menu,onmousedown:EVENT.Mousedown,onmouseover:EVENT.Mouseover,onmouseout:EVENT.Mouseout,onmousemove:EVENT.Mousemove,onclick:EVENT.Click,ondblclick:EVENT.DblClick}),f.Browser.noContextMenu&&(k.ontouchstart=TOUCH.start,k.ontouchend=TOUCH.end),g.SVG.display&&(q=e.Element("div",{className:"MathJax_SVG_Display"}),q.appendChild(k)),q.setAttribute("role","textbox"),q.setAttribute("aria-readonly","true"),q.className+=" MathJax_SVG_Processing",h.parentNode.insertBefore(q,h),h.parentNode.insertBefore(this.ExSpan.cloneNode(!0),h),q.parentNode.insertBefore(this.linebreakSpan.cloneNode(!0),q);for(a=0;a<t;a++)if(h=b[a],h.parentNode&&(n=h.previousSibling,q=n.previousSibling,g=h.MathJax.elementJax)){h=n.firstChild.offsetHeight/60;k=q.previousSibling.firstChild.offsetWidth;p&&(l=k);if(0===h||"NaN"===h)this.hiddenDiv.appendChild(q),g.SVG.isHidden=!0,h=this.defaultEx,k=this.defaultWidth,p&&(l=this.defaultWidth);g.SVG.ex=h;g.SVG.cwidth=k;g.SVG.em=q=h/d.TeX.x_height*1E3;g.SVG.lineWidth=v?this.length2em(x,1,l/q):1E6}for(a=0;a<t;a++)if(h=b[a],h.parentNode&&(n=b[a].previousSibling,k=n.previousSibling,g=b[a].MathJax.elementJax))g.SVG.isHidden||(k=k.previousSibling),k.parentNode.removeChild(k),n.parentNode.removeChild(n);c.SVGeqn=c.SVGlast=0;c.SVGi=-1;c.SVGchunk=this.config.EqnChunk;c.SVGdelay=!1},Translate:function(c,b){if(c.parentNode){b.SVGdelay&&(b.SVGdelay=!1,f.RestartAfter(MathJax.Callback.Delay(this.config.EqnChunkDelay)));var a=c.MathJax.elementJax,d=a.root,e=document.getElementById(a.inputID+"-Frame"),r=a.SVG.display?e.parentNode:e;this.em=g.mbase.prototype.em=a.SVG.em;this.ex=a.SVG.ex;this.linebreakWidth=1E3*a.SVG.lineWidth;this.cwidth=a.SVG.cwidth;this.mathDiv=r;e.appendChild(this.textSVG);this.initSVG(d,e);d.setTeXclass();try{d.toSVG(e,r)}catch(k){if(k.restart)for(;e.firstChild;)e.removeChild(e.firstChild);throw k;}e.removeChild(this.textSVG);a.SVG.isHidden&&c.parentNode.insertBefore(r,c);r.className=r.className.split(/ /)[0];this.hideProcessedMath&&(r.className+=" MathJax_SVG_Processed",c.MathJax.preview&&(a.SVG.preview=c.MathJax.preview,delete c.MathJax.preview),b.SVGeqn+=b.i-b.SVGi,b.SVGi=b.i,b.SVGeqn>=b.SVGlast+b.SVGchunk&&(this.postTranslate(b),b.SVGchunk=Math.floor(b.SVGchunk*this.config.EqnChunkFactor),b.SVGdelay=!0))}},postTranslate:function(c){var b=c.jax[this.id];if(this.hideProcessedMath){for(var a=c.SVGlast,d=c.SVGeqn;a<d;a++){var e=b[a];if(e&&e.MathJax.elementJax){e.previousSibling.className=e.previousSibling.className.split(/ /)[0];var f=e.MathJax.elementJax.SVG;f.preview&&(f.preview.innerHTML="",e.MathJax.preview=f.preview,delete f.preview)}}c.SVGlast=c.SVGeqn}},hashCheck:function(c){if(c&&"g"===c.nodeName){do c=c.parentNode;while(c&&"svg"!==c.firstChild.nodeName)}return c},getJaxFromMath:function(c){"MathJax_SVG_Display"===c.parentNode.className&&(c=c.parentNode);do c=c.nextSibling;while(c&&"script"!==c.nodeName.toLowerCase());return f.getJaxFor(c)},getHoverSpan:function(c,b){b.style.position="relative";return b.firstChild},getHoverBBox:function(c,b,a){c=EVENT.getBBox(b.parentNode);c.h+=2;c.d-=2;return c},Zoom:function(c,b,a,e,h){b.className="MathJax_SVG";e=b.appendChild(this.ExSpan.cloneNode(!0));this.em=g.mbase.prototype.em=e.firstChild.offsetHeight/60/d.TeX.x_height*1E3;this.cwidth=.85*d.defaultWidth;e.parentNode.removeChild(e);b.appendChild(this.textSVG);this.mathDIV=b;this.idPostfix="-zoom";c.root.toSVG(b,b);this.idPostfix="";b.removeChild(this.textSVG);this.operaZoomRefresh&&setTimeout(function(){b.firstChild.style.border="1px solid transparent"},1);b.style.position=a.style.position="absolute";c=b.offsetWidth;e=b.offsetHeight;h=a.offsetHeight;var f=a.offsetWidth;b.style.position=a.style.position="";return{Y:-EVENT.getBBox(b).h,mW:f,mH:h,zW:c,zH:e}},initSVG:function(c,b){},Remove:function(c){var b=document.getElementById(c.inputID+"-Frame");b&&(c.SVG.display&&(b=b.parentNode),b.parentNode.removeChild(b));delete c.SVG},Em:function(c){return 6E-4>Math.abs(c)?"0em":c.toFixed(3).replace(/\.?0+$/,"")+"em"},Ex:function(c){c=Math.round(c/this.TeX.x_height*this.ex)/this.ex;return 6E-4>Math.abs(c)?"0ex":c.toFixed(3).replace(/\.?0+$/,"")+"ex"},Percent:function(c){return(100*c).toFixed(1).replace(/\.?0+$/,"")+"%"},length2em:function(c,b,a){"string"!==typeof c&&(c=c.toString());if(""===c)return"";if(c===g.SIZE.NORMAL)return 1E3;if(c===g.SIZE.BIG)return 2E3;if(c===g.SIZE.SMALL)return 710;if("infinity"===c)return d.BIGDIMEN;if(c.match(/mathspace$/))return 1E3*d.MATHSPACE[c];var e=c.match(/^\s*([-+]?(?:\.\d+|\d+(?:\.\d*)?))?(pt|em|ex|mu|px|pc|in|mm|cm|%)?/);c=1E3*parseFloat(e[1]||"1");e=e[2];null==a&&(a=1E3);null==b&&(b=1);return"em"===e?c:"ex"===e?c*d.TeX.x_height/1E3:"%"===e?c/100*a/1E3:"px"===e?c/d.em:"pt"===e?c/10:"pc"===e?1.2*c:"in"===e?c*this.pxPerInch/d.em:"cm"===e?c*this.pxPerInch/d.em/2.54:"mm"===e?c*this.pxPerInch/d.em/25.4:"mu"===e?c/18*b:c*a/1E3},thickness2em:function(c,b){var a=d.TeX.rule_thickness;return c===g.LINETHICKNESS.MEDIUM?a:c===g.LINETHICKNESS.THIN?.67*a:c===g.LINETHICKNESS.THICK?1.67*a:this.length2em(c,b,a)},getPadding:function(c){var b={top:0,right:0,bottom:0,left:0},a=!1,d;for(d in b)if(b.hasOwnProperty(d)){var e=c.style["padding"+d.charAt(0).toUpperCase()+d.substr(1)];e&&(b[d]=this.length2em(e),a=!0)}return a?b:!1},getBorders:function(c){var b={top:0,right:0,bottom:0,left:0},a=!1,d;for(d in b)if(b.hasOwnProperty(d)){var e="border"+d.charAt(0).toUpperCase()+d.substr(1);c.style[e+"Style"]&&(a=!0,b[d]=this.length2em(c.style[e+"Width"]),b[d+"Style"]=c.style[e+"Style"],b[d+"Color"]=c.style[e+"Color"],"initial"===b[d+"Color"]&&(b[d+"Color"]=""))}return a?b:!1},Element:function(c,b){var a="string"===typeof c?document.createElementNS("http://www.w3.org/2000/svg",c):c;a.isMathJax=!0;if(b)for(var d in b)b.hasOwnProperty(d)&&a.setAttribute(d,b[d].toString());return a},addElement:function(c,b,a){return c.appendChild(this.Element(b,a))},TextNode:e.TextNode,addText:e.addText,ucMatch:e.ucMatch,HandleVariant:function(c,b,a){var e=p.G(),h,r,k,q,n,l,w,v;c||(c=this.FONTDATA.VARIANT[g.VARIANT.NORMAL]);c.forceFamily&&(a=p.TEXT(b,a,c.font),null!=c.h&&(a.h=c.h),null!=c.d&&(a.d=c.d),e.Add(a),a="");q=c;n=0;for(l=a.length;n<l;n++){c=q;h=a.charCodeAt(n);a.charAt(n);if(55296<=h&&56319>h)n++,h=(h-55296<<10)+(a.charCodeAt(n)-56320)+65536,this.FONTDATA.RemapPlane1&&(c=this.FONTDATA.RemapPlane1(h,c),h=c.n,c=c.variant);else for(v=this.FONTDATA.RANGES,k=0,w=v.length;k<w;k++)if(("alpha"!==v[k].name||!c.noLowerCase)&&(r=c["offset"+v[k].offset])&&h>=v[k].low&&h<=v[k].high){v[k].remap&&v[k].remap[h]?h=r+v[k].remap[h]:(h=h-v[k].low+r,v[k].add&&(h+=v[k].add));c["variant"+v[k].offset]&&(c=this.FONTDATA.VARIANT[c["variant"+v[k].offset]]);break}c.remap&&c.remap[h]&&(c.remap[h]instanceof Array?(c=c.remap[h],h=c[0],c=this.FONTDATA.VARIANT[c[1]]):"string"===typeof c.remap[h]?(a=c.remap[h]+a.substr(n+1),n=0,l=a.length,h=a.charCodeAt(0)):(h=c.remap[h],c.remap.variant&&(c=this.FONTDATA.VARIANT[c.remap.variant])));this.FONTDATA.REMAP[h]&&!c.noRemap&&(h=this.FONTDATA.REMAP[h],h instanceof Array&&(c=this.FONTDATA.VARIANT[h[1]],h=h[0]),"string"===typeof h&&(a=h+a.substr(n+1),n=0,l=a.length,h=h.charCodeAt(0)));k=this.lookupChar(c,h);(r=k[h])?r[5]&&r[5].space?e.w+=r[2]:(r=[b,k.id+"-"+h.toString(16).toUpperCase()].concat(r),e.Add(p.GLYPH.apply(p,r),e.w,0)):this.FONTDATA.DELIMITERS[h]?(r=this.createDelimiter(h,0,1,k),e.Add(r,e.w,"V"===this.FONTDATA.DELIMITERS[h].dir?r.d:0)):(65535>=h?r=String.fromCharCode(h):(r=h-65536,r=String.fromCharCode((r>>10)+55296)+String.fromCharCode((r&1023)+56320)),w=p.TEXT(b,r,{"font-family":c.defaultFamily||d.config.undefinedFamily,"font-style":c.italic?"italic":"","font-weight":c.bold?"bold":""}),null!=c.h&&(w.h=c.h),null!=c.d&&(w.d=c.d),r=p.G(),r.Add(w),e.Add(r,e.w,0),f.signal.Post(["SVG Jax - unknown char",h,c]))}1==a.length&&k.skew&&k.skew[h]&&(e.skew=1E3*k.skew[h]);1===e.element.childNodes.length&&(e.element=e.element.firstChild,e.removeable=!1,e.scale=b);return e},lookupChar:function(c,b){var a,d;if(!c.FONTS){var e=this.FONTDATA.FONTS,f=c.fonts||this.FONTDATA.VARIANT.normal.fonts;f instanceof Array||(f=[f]);c.fonts!=f&&(c.fonts=f);c.FONTS=[];a=0;for(d=f.length;a<d;a++)e[f[a]]&&c.FONTS.push(e[f[a]])}a=0;for(d=c.FONTS.length;a<d;a++){e=c.FONTS[a];"string"===typeof e&&(delete c.FONTS,this.loadFont(e));if(e[b])return e;this.findBlock(e,b)}return{id:"unknown"}},findBlock:function(c,b){if(c.Ranges)for(var a=0,d=c.Ranges.length;a<d&&!(b<c.Ranges[a][0]);a++)if(b<=c.Ranges[a][1]){for(var e=c.Ranges[a][2],f=c.Ranges.length-1;0<=f;f--)c.Ranges[f][2]==e&&c.Ranges.splice(f,1);this.loadFont(c.directory+"/"+e+".js")}},loadFont:function(c){f.RestartAfter(a.Require(this.fontDir+"/"+c))},createDelimiter:function(c,b,e,t){e||(e=1);var h=p.G();if(!c)return h.Clean(),delete h.element,h.w=h.r=this.TeX.nulldelimiterspace*e,h;b instanceof Array||(b=[b,b]);var r=b[1];b=b[0];for(var k={alias:c};k.alias;)c=k.alias,(k=this.FONTDATA.DELIMITERS[c])||(k={HW:[0,this.FONTDATA.VARIANT[g.VARIANT.NORMAL]]});k.load&&f.RestartAfter(a.Require(this.fontDir+"/fontdata-"+k.load+".js"));for(var q=0,n=k.HW.length;q<n;q++)if(k.HW[q][0]*e>=b-10-d.config.blacker||q==n-1&&!k.stretch)return k.HW[q][2]&&(e*=k.HW[q][2]),k.HW[q][3]&&(c=k.HW[q][3]),this.createChar(e,[c,k.HW[q][1]],t).With({stretched:!0});if(k.stretch)this["extendDelimiter"+k.dir](h,r,k.stretch,e,t);return h},createChar:function(c,b,a){var d="",e={fonts:[b[1]],noRemap:!0};a&&a===g.VARIANT.BOLD&&(e.fonts=[b[1]+"-bold",b[1]]);"string"!==typeof b[1]&&(e=b[1]);if(b[0]instanceof Array){a=0;for(var f=b[0].length;a<f;a++)d+=String.fromCharCode(b[0][a])}else d=String.fromCharCode(b[0]);b[4]&&(c*=b[4]);c=this.HandleVariant(e,c,d);b[2]&&(c.x=1E3*b[2]);b[3]&&(c.y=1E3*b[3]);b[5]&&(c.h+=1E3*b[5]);b[6]&&(c.d+=1E3*b[6]);return c},extendDelimiterV:function(c,b,a,e,h){var f=this.createChar(e,a.top||a.ext,h),k=this.createChar(e,a.bot||a.ext,h),g=f.h+f.d+k.h+k.d,n=-f.h;c.Add(f,0,n);n-=f.d;if(a.mid)var l=this.createChar(e,a.mid,h),g=g+(l.h+l.d);a.min&&b<g*a.min&&(b=g*a.min);if(b>g)for(h=this.createChar(e,a.ext,h),f=a.mid?2:1,b=(b-g)/f,g=(b+100)/(h.h+h.d);0<f--;){var p=d.Element("g",{transform:"translate("+h.y+","+(n-g*h.h+50+h.y)+") scale(1,"+g+")"});p.appendChild(h.element.cloneNode(!1));c.element.appendChild(p);n-=b;a.mid&&f&&(c.Add(l,0,n-l.h),n-=l.h+l.d)}else a.mid?(n+=(g-b)/2,c.Add(l,0,n-l.h),n+=-(l.h+l.d)+(g-b)/2):n+=g-b;c.Add(k,0,n-k.h);c.Clean();c.scale=e;c.isMultiChar=!0},extendDelimiterH:function(c,b,a,e,h){var f=this.createChar(e,a.left||a.rep,h),k=this.createChar(e,a.right||a.rep,h);c.Add(f,-f.l,0);var g=f.r-f.l+(k.r-k.l),f=f.r-f.l;if(a.mid)var n=this.createChar(e,a.mid,h),g=g+n.w;a.min&&b<g*a.min&&(b=g*a.min);if(b>g){h=this.createChar(e,a.rep,h);var l=a.fuzz||0,p=a.mid?2:1;b=(b-g)/p;for(g=(b+l)/(h.r-h.l);0<p--;){var v=d.Element("g",{transform:"translate("+(f-l/2-g*h.l+h.x)+","+h.y+") scale("+g+",1)"});v.appendChild(h.element.cloneNode(!1));c.element.appendChild(v);f+=b;a.mid&&p&&(c.Add(n,f,0),f+=n.w)}}else a.mid?(f-=(g-b)/2,c.Add(n,f,0),f+=n.w-(g-b)/2):f-=g-b;c.Add(k,f-k.l,0);c.Clean();c.scale=e;c.isMultiChar=!0},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:430.554,quad:1E3,num1:676.508,num2:393.732,num3:443.73,denom1:685.951,denom2:344.841,sup1:412.892,sup2:362.892,sup3:288.888,sub1:150,sub2:247.217,sup_drop:386.108,sub_drop:50,delim1:2390,delim2:1E3,axis_height:250,rule_thickness:60,big_op_spacing1:111.111,big_op_spacing2:166.666,big_op_spacing3:200,big_op_spacing4:600,big_op_spacing5:100,scriptspace:100,nulldelimiterspace:120,delimiterfactor:901,delimitershortfall:100,min_rule_thickness:1.25,min_root_space:1.5},BIGDIMEN:1E7,NBSP:"\u00a0"});var p=d.BBOX=MathJax.Object.Subclass({type:"g",removeable:!0,Init:function(c){this.h=this.d=-d.BIGDIMEN;this.w=this.r=this.H=this.D=0;this.l=d.BIGDIMEN;this.x=this.y=0;this.scale=1;this.n=0;this.type&&(this.element=d.Element(this.type,c))},With:function(c){return f.Insert(this,c)},Add:function(c,b,a,d,e){b&&(c.x+=b);a&&(c.y+=a);if(c.element){c.removeable&&1===c.element.childNodes.length&&1===c.n&&(b=c.element.firstChild,"use"===b.nodeName||"rect"===b.nodeName)&&(c.element=b,c.scale=c.childScale,b=c.childX,a=c.childY,c.x+=b,c.y+=a,c.h-=a,c.d+=a,c.H-=a,c.D+=a,c.w-=b,c.r-=b,c.l+=b,c.removeable=!1);1>Math.abs(c.x)&&1>Math.abs(c.y)?c.remove=c.removeable:"g"===c.element.nodeName?c.element.firstChild?c.element.setAttribute("transform","translate("+Math.floor(c.x)+","+Math.floor(c.y)+")"):c.remove=c.removeable:"line"===c.element.nodeName||"polygon"===c.element.nodeName||"path"===c.element.nodeName||"a"===c.element.nodeName?c.element.setAttribute("transform","translate("+Math.floor(c.x)+","+Math.floor(c.y)+")"):(c.element.setAttribute("x",Math.floor(c.x/c.scale)),c.element.setAttribute("y",Math.floor(c.y/c.scale)));if(c.remove)for(this.n+=c.n;c.element.firstChild;)e&&this.element.firstChild?this.element.insertBefore(c.element.firstChild,this.element.firstChild):this.element.appendChild(c.element.firstChild);else e?this.element.insertBefore(c.element,this.element.firstChild):this.element.appendChild(c.element);delete c.element}c.hasIndent&&(this.hasIndent=c.hasIndent);c.d-c.y>this.d&&(this.d=c.d-c.y,this.d>this.D&&(this.D=this.d));c.y+c.h>this.h&&(this.h=c.y+c.h,this.h>this.H&&(this.H=this.h));c.D-c.y>this.D&&(this.D=c.D-c.y);c.y+c.H>this.H&&(this.H=c.y+c.H);c.x+c.l<this.l&&(this.l=c.x+c.l);c.x+c.r>this.r&&(this.r=c.x+c.r);if(d||c.x+c.w+(c.X||0)>this.w)this.w=c.x+c.w+(c.X||0);this.childScale=c.scale;this.childX=c.x;this.childY=c.y;this.n++;return c},Align:function(c,b,a,d){a={left:a,center:(this.w-c.w)/2,right:this.w-c.w-a}[b]||0;this.Add(c,a,d)},Clean:function(){this.h===-d.BIGDIMEN&&(this.h=this.d=this.l=0);return this}});p.ROW=p.Subclass({Init:function(){this.SUPER(arguments).Init.call(this);this.svg=[];this.sh=this.sd=0},Check:function(c){var b=c.toSVG();this.svg.push(b);c.SVGcanStretch("Vertical")&&(b.mml=c);b.h>this.sh&&(this.sh=b.h);b.d>this.sd&&(this.sd=b.d)},Stretch:function(){for(var c=0,b=this.svg.length;c<b;c++){var a=this.svg[c],d=a.mml;d&&(a=d.SVGstretchV(this.sh,this.sd),d.SVGdata.HW=this.sh,d.SVGdata.D=this.sd);a.ic?this.ic=a.ic:delete this.ic;this.Add(a,this.w,0,!0)}delete this.svg}});p.RECT=p.Subclass({type:"rect",removeable:!1,Init:function(c,b,a,d){null==d&&(d={stroke:"none"});d.width=Math.floor(a);d.height=Math.floor(c+b);this.SUPER(arguments).Init.call(this,d);this.w=this.r=a;this.h=this.H=c+b;this.d=this.D=this.l=0;this.y=-b}});p.FRAME=p.Subclass({type:"rect",removeable:!1,Init:function(c,b,a,e,h,f,k){null==k&&(k={});k.fill="none";k["stroke-width"]=e.toFixed(2).replace(/\.?0+$/,"");k.width=Math.floor(a-e);k.height=Math.floor(c+b-e);k.transform="translate("+Math.floor(e/2)+","+Math.floor(-b+e/2)+")";"dashed"===h&&(k["stroke-dasharray"]=[Math.floor(6*d.em),Math.floor(6*d.em)].join(" "));this.SUPER(arguments).Init.call(this,k);this.w=this.r=a;this.h=this.H=c;this.d=this.D=b;this.l=0}});p.HLINE=p.Subclass({type:"line",removeable:!1,Init:function(c,b,a,d,e){null==e&&(e={});d&&""!==d&&(e.stroke=d);e["stroke-width"]=b.toFixed(2).replace(/\.?0+$/,"");e.x1=0;e.y1=e.y2=b/2;e.x2=Math.floor(c);if("dashed"===a){var f=Math.floor(c/(2*Math.floor(c/(6*b))+1));e["stroke-dasharray"]=f+" "+f}this.SUPER(arguments).Init.call(this,e);this.w=this.r=c;this.l=0;this.h=this.H=b;this.d=this.D=0}});p.VLINE=p.Subclass({type:"line",removeable:!1,Init:function(c,b,a,d,e){null==e&&(e={});d&&""!==d&&(e.stroke=d);e["stroke-width"]=b.toFixed(2).replace(/\.?0+$/,"");e.x1=e.x2=b/2;e.y1=0;e.y2=Math.floor(c);if("dashed"===a){var f=Math.floor(c/(2*Math.floor(c/(6*b))+1));e["stroke-dasharray"]=f+" "+f}this.SUPER(arguments).Init.call(this,e);this.w=this.r=b;this.l=0;this.h=this.H=c;this.d=this.D=0}});p.TEXT=p.Subclass({type:"text",removeable:!1,Init:function(c,b,a){a||(a={});a.stroke="none";this.SUPER(arguments).Init.call(this,a);d.addText(this.element,b);d.textSVG.appendChild(this.element);var e=this.element.getBBox();d.textSVG.removeChild(this.element);c*=1E3/d.em;this.element.setAttribute("transform","scale("+c+") matrix(1 0 0 -1 0 0)");this.w=this.r=e.width*c;this.l=0;this.h=this.H=-e.y*c;this.d=this.D=(e.height+e.y)*c}});p.G=p;p.NULL=p.Subclass({Init:function(){this.SUPER(arguments).Init.apply(this,arguments);this.Clean()}});var n,l;p.GLYPH=p.Subclass({type:"path",removeable:!1,Init:function(c,b,a,e,h,f,k,g){var p,u=d.config.blacker;n[b]||(p={id:b,"stroke-width":u},""!==g&&(p.d="M"+g+"Z"),this.SUPER(arguments).Init.call(this,p),l.appendChild(this.element),n[b]=!0);p={};1!==c&&(p.transform="scale("+c+")");this.element=d.Element("use",p);this.element.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+b);this.h=(a+u)*c;this.d=(e+u)*c;this.w=(h+u/2)*c;this.l=(f+u/2)*c;this.r=(k+u/2)*c;this.H=Math.max(0,this.h);this.D=Math.max(0,this.d);this.x=this.y=0;this.scale=c}});f.Register.StartupHook("mml Jax Ready",function(){g=MathJax.ElementJax.mml;g.mbase.Augment({SVG:p,toSVG:function(){this.SVGgetStyles();var c=this.SVGgetVariant(),b=this.SVG();b.scale=this.SVGgetScale();this.SVGhandleSpace(b);for(var a=0,d=this.data.length;a<d;a++)if(this.data[a]){var e=b.Add(this.data[a].toSVG(c,b.scale),b.w,0,!0);e.skew&&(b.skew=e.skew)}b.Clean();a=this.data.join("");b.skew&&1!==a.length&&delete b.skew;b.r>b.w&&1===a.length&&!c.noIC&&(b.ic=b.r-b.w,b.w=b.r);this.SVGhandleColor(b);this.SVGsaveData(b);return b},SVGchildSVG:function(c){return this.data[c]?this.data[c].toSVG():p()},SVGdataStretched:function(c,b,a){this.SVGdata={HW:b,D:a};return this.data[c]?null!=a?this.data[c].SVGstretchV(b,a):null!=b?this.data[c].SVGstretchH(b):this.data[c].toSVG():p()},SVGsaveData:function(c){this.SVGdata||(this.SVGdata={});this.SVGdata.w=c.w;this.SVGdata.x=c.x;this.SVGdata.h=c.h;this.SVGdata.d=c.d;null!=c.X&&(this.SVGdata.X=c.X);this["class"]&&(c.removeable=!1,d.Element(c.element,{"class":this["class"]}));this.id&&(c.removeable=!1,d.Element(c.element,{id:this.id}));if(this.href){var b=d.Element("a",{"class":"mjx-svg-href"});b.setAttributeNS("http://www.w3.org/1999/xlink","href",this.href);b.onclick=this.SVGlink;d.addElement(b,"rect",{width:c.w,height:c.h+c.d,y:-c.d,fill:"none",stroke:"none","pointer-events":"all"});if("svg"===c.type){for(var a=c.element.firstChild;a.firstChild;)b.appendChild(a.firstChild);a.appendChild(b)}else b.appendChild(c.element),c.element=b;c.removeable=!1}d.config.addMMLclasses&&(this.SVGaddClass(c.element,"mjx-svg-"+this.type),c.removeable=!1);(b=this.style)&&c.element&&(c.element.style.cssText=b,c.element.style.fontSize&&(c.element.style.fontSize=""),c.element.style.border=c.element.style.padding="",c.removeable&&(c.removeable=""===c.element.style.cssText))},SVGaddClass:function(c,b){var a=c.getAttribute("class");c.setAttribute("class",(a?a+" ":"")+b)},SVGlink:function(){var c=this.href.animVal;if("#"===c.charAt(0)){var b=d.hashCheck(document.getElementById(c.substr(1)));b&&b.scrollIntoView&&setTimeout(function(){b.parentNode.scrollIntoView(!0)},1)}document.location=c},SVGgetStyles:function(){if(this.style){var c=e.Element("span");c.style.cssText=this.style;this.styles={border:d.getBorders(c),padding:d.getPadding(c)};c.style.fontSize&&(this.styles.fontSize=c.style.fontSize);c.style.color&&(this.styles.color=c.style.color);c.style.backgroundColor&&(this.styles.background=c.style.backgroundColor);c.style.fontStyle&&(this.styles.fontStyle=c.style.fontStyle);c.style.fontWeight&&(this.styles.fontWeight=c.style.fontWeight);c.style.fontFamily&&(this.styles.fontFamily=c.style.fontFamily);this.styles.fontWeight&&this.styles.fontWeight.match(/^\d+$/)&&(this.styles.fontWeight=600<parseInt(this.styles.fontWeight)?"bold":"normal")}},SVGhandleSpace:function(c){if(this.useMMLspacing){if("mo"===this.type){var b=this.getValues("scriptlevel","lspace","rspace");if(0>=b.scriptlevel||this.hasValue("lspace")||this.hasValue("rspace")){var a=this.SVGgetMu(c);b.lspace=Math.max(0,d.length2em(b.lspace,a));b.rspace=Math.max(0,d.length2em(b.rspace,a));for(var a=this,e=this.Parent();e&&e.isEmbellished()&&e.Core()===a;)a=e,e=e.Parent();b.lspace&&(c.x+=b.lspace);b.rspace&&(c.X=b.rspace)}}}else b=this.texSpacing(),""!==b&&(c.x+=d.length2em(b,this.SVGgetScale())/c.scale)},SVGhandleColor:function(c){var b=this.getValues("mathcolor","color");this.styles&&this.styles.color&&!b.color&&(b.color=this.styles.color);b.color&&!this.mathcolor&&(b.mathcolor=b.color);b.mathcolor&&(d.Element(c.element,{fill:b.mathcolor,stroke:b.mathcolor}),c.removeable=!1);var a=(this.styles||{}).border,e=(this.styles||{}).padding,h=(a||{}).left||0,f=(e||{}).left||0,k;b.background=this.mathbackground||this.background||(this.styles||{}).background||g.COLOR.TRANSPARENT;if(h+f){var n=p();for(k in c)c.hasOwnProperty(k)&&(n[k]=c[k]);n.x=0;n.y=0;c.element=d.Element("g");c.removeable=!0;c.Add(n,h+f,0)}e&&(c.w+=e.right,c.h+=e.top,c.d+=e.bottom);a&&(c.w+=a.right,c.h+=a.top,c.d+=a.bottom);b.background!==g.COLOR.TRANSPARENT&&("g"!==c.element.nodeName&&"svg"!==c.element.nodeName&&(e=d.Element("g"),e.appendChild(c.element),c.element=e,c.removeable=!0),c.Add(p.RECT(c.h,c.d,c.w,{fill:b.background,stroke:"none"}),0,0,!1,!0));if(a)for(k in b={left:["V",c.h+c.d,-5,-c.d],right:["V",c.h+c.d,c.w-a.right+5,-c.d],top:["H",c.w,0,c.h-a.top+5],bottom:["H",c.w,0,-c.d-5]},b)b.hasOwnProperty(k)&&a[k]&&(e=b[k],c.Add((0,p[e[0]+"LINE"])(e[1],a[k],a[k+"Style"],a[k+"Color"]),e[2],e[3]))},SVGhandleVariant:function(c,b,a){return d.HandleVariant(c,b,a)},SVGgetVariant:function(){var c=this.getValues("mathvariant","fontfamily","fontweight","fontstyle"),b=c.mathvariant;this.variantForm&&(b="-TeX-variant");c.hasVariant=this.Get("mathvariant",!0);c.hasVariant||(c.family=c.fontfamily,c.weight=c.fontweight,c.style=c.fontstyle);this.styles&&(!c.style&&this.styles.fontStyle&&(c.style=this.styles.fontStyle),!c.weight&&this.styles.fontWeight&&(c.weight=this.styles.fontWeight),!c.family&&this.styles.fontFamily&&(c.family=this.styles.fontFamily));if(c.family&&!c.hasVariant)return!c.weight&&c.mathvariant.match(/bold/)&&(c.weight="bold"),!c.style&&c.mathvariant.match(/italic/)&&(c.style="italic"),b={forceFamily:!0,font:{"font-family":c.family}},c.style&&(b.font["font-style"]=c.style),c.weight&&(b.font["font-weight"]=c.weight),b;"bold"===c.weight?b={normal:g.VARIANT.BOLD,italic:g.VARIANT.BOLDITALIC,fraktur:g.VARIANT.BOLDFRAKTUR,script:g.VARIANT.BOLDSCRIPT,"sans-serif":g.VARIANT.BOLDSANSSERIF,"sans-serif-italic":g.VARIANT.SANSSERIFBOLDITALIC}[b]||b:"normal"===c.weight&&(b={bold:g.VARIANT.normal,"bold-italic":g.VARIANT.ITALIC,"bold-fraktur":g.VARIANT.FRAKTUR,"bold-script":g.VARIANT.SCRIPT,"bold-sans-serif":g.VARIANT.SANSSERIF,"sans-serif-bold-italic":g.VARIANT.SANSSERIFITALIC}[b]||b);"italic"===c.style?b={normal:g.VARIANT.ITALIC,bold:g.VARIANT.BOLDITALIC,"sans-serif":g.VARIANT.SANSSERIFITALIC,"bold-sans-serif":g.VARIANT.SANSSERIFBOLDITALIC}[b]||b:"normal"===c.style&&(b={italic:g.VARIANT.NORMAL,"bold-italic":g.VARIANT.BOLD,"sans-serif-italic":g.VARIANT.SANSSERIF,"sans-serif-bold-italic":g.VARIANT.BOLDSANSSERIF}[b]||b);b in d.FONTDATA.VARIANT||(b="normal");return d.FONTDATA.VARIANT[b]},SVGgetScale:function(){var c=1,b=this.getValues("mathsize","scriptlevel","fontsize");(this.styles||{}).fontSize&&!b.fontsize&&(b.fontsize=this.styles.fontSize);b.fontsize&&!this.mathsize&&(b.mathsize=b.fontsize);0!==b.scriptlevel&&(2<b.scriptlevel&&(b.scriptlevel=2),c=Math.pow(this.Get("scriptsizemultiplier"),b.scriptlevel),b.scriptminsize=d.length2em(this.Get("scriptminsize"))/1E3,c<b.scriptminsize&&(c=b.scriptminsize));this.isToken&&(c*=d.length2em(b.mathsize)/1E3);return c},SVGgetMu:function(c){var b=1,a=this.getValues("scriptlevel","scriptsizemultiplier");c.scale&&1!==c.scale&&(b=1/c.scale);0!==a.scriptlevel&&(2<a.scriptlevel&&(a.scriptlevel=2),b=Math.sqrt(Math.pow(a.scriptsizemultiplier,a.scriptlevel)));return b},SVGnotEmpty:function(c){for(;c;){if("mrow"!==c.type&&"texatom"!==c.type||1<c.data.length)return!0;c=c.data[0]}return!1},SVGcanStretch:function(c){return this.isEmbellished()?this.Core().SVGcanStretch(c):!1},SVGstretchV:function(c,b){return this.toSVG(c,b)},SVGstretchH:function(c){return this.toSVG(c)},SVGlineBreaks:function(){return!1}},{SVGautoload:function(){f.RestartAfter(a.Require(d.autoloadDir+"/"+this.type+".js"))},SVGautoloadFile:function(c){f.RestartAfter(a.Require(d.autoloadDir+"/"+c+".js"))}});g.chars.Augment({toSVG:function(c,b,a,d){var e=this.data.join("").replace(/[\u2061-\u2064]/g,"");a&&(e=a(e,d));return this.SVGhandleVariant(c,b,e)}});g.entity.Augment({toSVG:function(c,b,a,d){var e=this.toString().replace(/[\u2061-\u2064]/g,"");a&&(e=a(e,d));return this.SVGhandleVariant(c,b,e)}});g.mo.Augment({toSVG:function(c,b){this.SVGgetStyles();var a=this.svg=this.SVG();this.SVGhandleSpace(a);if(0==this.data.length)return a.Clean(),this.SVGsaveData(a),a;if(null!=b)return this.SVGstretchV(c,b);if(null!=c)return this.SVG.strechH(c);var e=this.SVGgetScale(),f=this.SVGgetVariant(),n=this.getValues("largeop","displaystyle");n.largeop&&(f=d.FONTDATA.VARIANT[n.displaystyle?"-largeOp":"-smallOp"]);var k=this.CoreParent(),q=k&&k.isa(g.msubsup)&&this!==k.data[0],l=q?this.SVGremapChars:null;if(1===this.data.join("").length&&k&&k.isa(g.munderover)&&1===this.CoreText(k.data[k.base]).length){var p=k.data[k.over],w=k.data[k.under];p&&this===p.CoreMO()&&k.Get("accent")?l=d.FONTDATA.REMAPACCENT:w&&this===w.CoreMO()&&k.Get("accentunder")&&(l=d.FONTDATA.REMAPACCENTUNDER)}q&&this.data.join("").match(/['`"\u00B4\u2032-\u2037\u2057]/)&&(f=d.FONTDATA.VARIANT["-TeX-variant"]);k=0;for(q=this.data.length;k<q;k++)this.data[k]&&(p=this.data[k].toSVG(f,e,this.SVGremap,l),w=a.w,0===w&&-p.l>10*p.w&&(w+=-p.l),a.Add(p,w,0,!0),p.skew&&(a.skew=p.skew));a.Clean();1!==this.data.join("").length&&delete a.skew;n.largeop&&(a.y=(a.h-a.d)/2/e-d.TeX.axis_height,a.r>a.w&&(a.ic=a.r-a.w,a.w=a.r));this.SVGhandleColor(a);this.SVGsaveData(a);return a},CoreParent:function(){for(var c=this;c&&c.isEmbellished()&&c.CoreMO()===this&&!c.isa(g.math);)c=c.Parent();return c},CoreText:function(c){if(!c)return"";if(c.isEmbellished())return c.CoreMO().data.join("");for(;(c.isa(g.mrow)||c.isa(g.TeXAtom)||c.isa(g.mstyle)||c.isa(g.mphantom))&&1===c.data.length&&c.data[0];)c=c.data[0];return c.isToken?c.data.join(""):""},SVGremapChars:{"*":"\u2217",'"':"\u2033","\u00b0":"\u2218","\u00b2":"2","\u00b3":"3","\u00b4":"\u2032","\u00b9":"1"},SVGremap:function(c,b){c=c.replace(/-/g,"\u2212");b&&(c=c.replace(/'/g,"\u2032").replace(/`/g,"\u2035"),1===c.length&&(c=b[c]||c));return c},SVGcanStretch:function(c){if(!this.Get("stretchy"))return!1;var b=this.data.join("");if(1<b.length)return!1;var a=this.CoreParent();if(a&&a.isa(g.munderover)&&1===this.CoreText(a.data[a.base]).length){var e=a.data[a.over],f=a.data[a.under];e&&this===e.CoreMO()&&a.Get("accent")?b=d.FONTDATA.REMAPACCENT[b]||b:f&&this===f.CoreMO()&&a.Get("accentunder")&&(b=d.FONTDATA.REMAPACCENTUNDER[b]||b)}(c=(b=d.FONTDATA.DELIMITERS[b.charCodeAt(0)])&&b.dir==c.substr(0,1))||delete this.svg;return c},SVGstretchV:function(c,b){var a=this.svg||this.toSVG(),e=this.getValues("symmetric","maxsize","minsize"),f=d.TeX.axis_height,g=this.SVGgetMu(a),k;k=e.symmetric?2*Math.max(c-f,b+f):c+b;e.maxsize=d.length2em(e.maxsize,g,a.h+a.d);e.minsize=d.length2em(e.minsize,g,a.h+a.d);k=Math.max(e.minsize,Math.min(e.maxsize,k));a=d.createDelimiter(this.data.join("").charCodeAt(0),k,a.scale);k=e.symmetric?(a.h+a.d)/2+f:(a.h+a.d)*c/(c+b);a.y=k-a.h;this.SVGhandleSpace(a);this.SVGhandleColor(a);delete this.svg.element;this.SVGsaveData(a);return a},SVGstretchH:function(c){var b=this.svg||this.toSVG(),a=this.SVGgetMu(b),e=this.getValues("maxsize","minsize","mathvariant","fontweight");("bold"===e.fontweight||600<=parseInt(e.fontweight))&&!this.Get("mathvariant",!0)&&(e.mathvariant=g.VARIANT.BOLD);e.maxsize=d.length2em(e.maxsize,a,b.w);e.minsize=d.length2em(e.minsize,a,b.w);c=Math.max(e.minsize,Math.min(e.maxsize,c));b=d.createDelimiter(this.data.join("").charCodeAt(0),c,b.scale,e.mathvariant);this.SVGhandleSpace(b);this.SVGhandleColor(b);delete this.svg.element;this.SVGsaveData(b);return b}});g.mtext.Augment({toSVG:function(){this.SVGgetStyles();var c,b,a=this.SVGgetScale();if("merror"===this.Parent().type)return c=this.SVG(),this.SVGhandleSpace(c),b=p.G(),b.Add(p.TEXT(.9*a,this.data.join(""),{fill:"#C00"})),c.Add(p.RECT(b.h+100,b.d+100,b.w+200,{fill:"#FF8",stroke:"#C00","stroke-width":50}),0,0),c.Add(b,150,0),c.H+=150,c.D+=50,c.Clean(),this.SVGsaveData(c),c;if(d.config.mtextFontInherit){c=this.SVG();this.SVGhandleSpace(c);b=this.SVGgetVariant();var e={};b.bold&&(e["font-weight"]="bold");b.italic&&(e["font-style"]="italic");c.Add(p.TEXT(a,this.data.join(""),e));c.Clean();this.SVGhandleColor(c);this.SVGsaveData(c);return c}return this.SUPER(arguments).toSVG.call(this)}});g.ms.Augment({toSVG:g.mbase.SVGautoload});g.mglyph.Augment({toSVG:g.mbase.SVGautoload});g.mspace.Augment({toSVG:function(){this.SVGgetStyles();var c=this.getValues("height","depth","width");c.mathbackground=this.mathbackground;this.background&&!this.mathbackground&&(c.mathbackground=this.background);var b=this.SVG(),a=this.SVGgetMu(b);b.h=d.length2em(c.height,a)/b.scale;b.d=d.length2em(c.depth,a)/b.scale;b.w=b.r=d.length2em(c.width,a)/b.scale;0>b.w&&(b.x=b.w,b.w=b.r=0);b.h<-b.d&&(b.d=-b.h);b.l=0;b.Clean();this.SVGhandleColor(b);this.SVGsaveData(b);return b}});g.mphantom.Augment({toSVG:function(c,b){this.SVGgetStyles();var a=this.SVG();if(null!=this.data[0])for(this.SVGhandleSpace(a),a.Add(this.SVGdataStretched(0,c,b)),a.Clean();a.element.firstChild;)a.element.removeChild(a.element.firstChild);this.SVGhandleColor(a);this.SVGsaveData(a);a.removeable&&!a.element.firstChild&&delete a.element;return a}});g.mpadded.Augment({toSVG:function(a,b){this.SVGgetStyles();var d=this.SVG();if(null!=this.data[0]){this.SVGhandleSpace(d);var e=this.SVGdataStretched(0,a,b),f=this.SVGgetMu(d),g=this.getValues("height","depth","width","lspace","voffset"),k=0,n=0;g.lspace&&(k=this.SVGlength2em(e,g.lspace,f));g.voffset&&(n=this.SVGlength2em(e,g.voffset,f));var l=e.h,p=e.d,w=e.w;d.Add(e,k,n);d.Clean();d.h=l;d.d=p;d.w=w;d.removeable=!1;""!==g.height&&(d.h=this.SVGlength2em(d,g.height,f,"h",0));""!==g.depth&&(d.d=this.SVGlength2em(d,g.depth,f,"d",0));""!==g.width&&(d.w=this.SVGlength2em(d,g.width,f,"w",0));d.h>d.H&&(d.H=d.h);d.d>d.D&&(d.D=d.d)}this.SVGhandleColor(d);this.SVGsaveData(d);return d},SVGlength2em:function(a,b,e,f,h){null==h&&(h=-d.BIGDIMEN);var g=String(b).match(/width|height|depth/),g=g?a[g[0].charAt(0)]:f?a[f]:0;e=d.length2em(b,e,g);return f&&String(b).match(/^\s*[-+]/)?Math.max(h,a[f]+e):e}});g.mrow.Augment({SVG:p.ROW,toSVG:function(){this.SVGgetStyles();var a=this.SVG();this.SVGhandleSpace(a);for(var b=0,d=this.data.length;b<d;b++)this.data[b]&&a.Check(this.data[b]);a.Stretch();a.Clean();this.SVGlineBreaks(a)&&(a=this.SVGmultiline(a));this.SVGhandleColor(a);this.SVGsaveData(a);return a},SVGlineBreaks:function(a){return this.parent.linebreakContainer?d.config.linebreaks.automatic&&a.w>d.linebreakWidth||this.hasNewline():!1},SVGmultiline:function(a){g.mbase.SVGautoloadFile("multiline")},SVGstretchH:function(a){a=this.data[this.core].SVGstretchH(a);this.SVGhandleColor(a);this.SVGsaveData(a);return a},SVGstretchV:function(a,b){var d=this.data[this.core].SVGstretchV(a,b);this.SVGhandleColor(d);this.SVGsaveData(d);return d}});g.mstyle.Augment({toSVG:function(){this.SVGgetStyles();var a=this.SVG();if(null!=this.data[0]){this.SVGhandleSpace(a);var b=a.Add(this.data[0].toSVG());a.Clean();b.ic&&(a.ic=b.ic);this.SVGhandleColor(a)}this.SVGsaveData(a);return a},SVGstretchH:function(a){return null!=this.data[0]?this.data[0].SVGstretchH(a):p.NULL()},SVGstretchV:function(a,b){return null!=this.data[0]?this.data[0].SVGstretchV(a,b):p.NULL()}});g.mfrac.Augment({toSVG:function(){this.SVGgetStyles();var a=this.SVG();this.SVGhandleSpace(a);var b=this.SVGchildSVG(0),e=this.SVGchildSVG(1),f=this.getValues("displaystyle","linethickness","numalign","denomalign","bevelled"),h=a.scale=this.SVGgetScale(),g=f.displaystyle,k=d.TeX.axis_height*h;if(f.bevelled){var f=g?400:150,n=d.createDelimiter(47,Math.max(b.h+b.d,e.h+e.d)+2*f);a.Add(b,0,(b.d-b.h)/2+k+f);a.Add(n,b.w-f/2,(n.d-n.h)/2+k);a.Add(e,b.w+n.w-f,(e.d-e.h)/2+k-f)}else{var n=Math.max(b.w,e.w),l=d.thickness2em(f.linethickness,h),u,w,v=d.TeX.min_rule_thickness/d.em*1E3;g?(u=d.TeX.num1,w=d.TeX.denom1):(u=0===l?d.TeX.num3:d.TeX.num2,w=d.TeX.denom2);u*=h;w*=h;0===l?(h=Math.max((g?7:3)*d.TeX.rule_thickness,2*v),g=u-b.d-(e.h-w),g<h&&(u+=(h-g)/2,w+=(h-g)/2),a.w=n,l=0):(h=Math.max((g?2:0)*v+l,l/2+1.5*v),g=u-b.d-(k+l/2),g<h&&(u+=h-g),g=k-l/2-(e.h-w),g<h&&(w+=h-g),a.Add(p.RECT(l/2,l/2,n+2*l),0,k));a.Align(b,f.numalign,l,u);a.Align(e,f.denomalign,l,-w)}a.Clean();this.SVGhandleColor(a);this.SVGsaveData(a);return a},SVGcanStretch:function(a){return!1},SVGhandleSpace:function(a){this.texWithDelims||(a.x=(this.useMMLspacing?0:d.length2em(this.texSpacing()||0))+120,a.X=120)}});g.msqrt.Augment({toSVG:function(){this.SVGgetStyles();var a=this.SVG();this.SVGhandleSpace(a);var b=this.SVGchildSVG(0),e,f,h=this.SVGgetScale(),g=d.TeX.rule_thickness*h,k,n,l=0;e=this.Get("displaystyle")?d.TeX.x_height*h:g;k=Math.max(g+e/4,1E3*d.TeX.min_root_space/d.em);n=b.h+b.d+k+g;f=d.createDelimiter(8730,n,h);f.h+f.d>n&&(k=(f.h+f.d-(n-g))/2);e=p.RECT(g,0,b.w);n=b.h+k+g;l=this.SVGaddRoot(a,f,l,f.h+f.d-n,h);a.Add(f,l,n-f.h);a.Add(e,l+f.w,n-e.h);a.Add(b,l+f.w,0);a.Clean();a.h+=g;a.H+=g;this.SVGhandleColor(a);this.SVGsaveData(a);return a},SVGaddRoot:function(a,b,d,e,f){return d}});g.mroot.Augment({toSVG:g.msqrt.prototype.toSVG,SVGaddRoot:function(a,b,d,e,f){var g=(b.isMultiChar?.55:.65)*b.w;if(this.data[1]){var k=this.data[1].toSVG();k.x=0;b=this.SVGrootHeight(b.h+b.d,f,k)-e;e=Math.min(k.w,k.r);d=Math.max(e,g);a.Add(k,d-e,b)}else g=d;return d-g},SVGrootHeight:function(a,b,d){return.45*(a-900*b)+600*b+Math.max(0,d.d-75)}});g.mfenced.Augment({SVG:p.ROW,toSVG:function(){this.SVGgetStyles();var a=this.SVG();this.SVGhandleSpace(a);this.data.open&&a.Check(this.data.open);null!=this.data[0]&&a.Check(this.data[0]);for(var b=1,d=this.data.length;b<d;b++)this.data[b]&&(this.data["sep"+b]&&a.Check(this.data["sep"+b]),a.Check(this.data[b]));this.data.close&&a.Check(this.data.close);a.Stretch();a.Clean();this.SVGhandleColor(a);this.SVGsaveData(a);return a}});g.menclose.Augment({toSVG:g.mbase.SVGautoload});g.maction.Augment({toSVG:g.mbase.SVGautoload});g.semantics.Augment({toSVG:function(){this.SVGgetStyles();var a=this.SVG();null!=this.data[0]&&(this.SVGhandleSpace(a),a.Add(this.data[0].toSVG()));a.Clean();this.SVGsaveData(a);return a},SVGstretchH:function(a){return null!=this.data[0]?this.data[0].SVGstretchH(a):p.NULL()},SVGstretchV:function(a,b){return null!=this.data[0]?this.data[0].SVGstretchV(a,b):p.NULL()}});g.munderover.Augment({toSVG:function(a,b){this.SVGgetStyles();var e=this.getValues("displaystyle","accent","accentunder","align");if(!e.displaystyle&&null!=this.data[this.base]&&this.data[this.base].CoreMO().Get("movablelimits"))return g.msubsup.prototype.toSVG.call(this);var f=this.SVG();this.SVGhandleSpace(f);var h=f.scale=this.SVGgetScale(),n=[],k=[],l,A,u=-d.BIGDIMEN,w=u;l=0;for(A=this.data.length;l<A;l++)null!=this.data[l]&&(l==this.base?(n[l]=this.SVGdataStretched(l,a,b),k[l]=(null!=b||null==a)&&this.data[l].SVGcanStretch("Horizontal")):(n[l]=this.data[l].toSVG(),k[l]=this.data[l].SVGcanStretch("Horizontal")),n[l].w>w&&(w=n[l].w),!k[l]&&w>u&&(u=w));null==b&&null!=a?u=a:u==-d.BIGDIMEN&&(u=w);l=w=0;for(A=this.data.length;l<A;l++)this.data[l]&&(k[l]&&(n[l]=this.data[l].SVGstretchH(u)),n[l].w>w&&(w=n[l].w));var u=d.TeX.rule_thickness,v=n[this.base]||{w:0,h:0,d:0,H:0,D:0,l:0,r:0,scale:h},x,B,z,F,y=0;v.ic&&(y=1.3*v.ic+.05);l=0;for(A=this.data.length;l<A;l++)null!=this.data[l]&&(k=n[l],F=d.TeX.big_op_spacing5*h,(z=l!=this.base&&e[this.ACCENTS[l]])&&1>=k.w&&(k.x=-k.l,n[l]=p.G().With({removeable:!1}),n[l].Add(k),n[l].Clean(),n[l].w=-k.l,k=n[l]),x={left:0,center:(w-k.w)/2,right:w-k.w}[e.align],B=0,l==this.over?(z?(z=u*h,F=0,v.skew&&(x+=v.skew)):(z=d.TeX.big_op_spacing1*h,B=d.TeX.big_op_spacing3*h,z=Math.max(z,B-Math.max(0,k.d))),z=Math.max(z,1500/d.em),x+=y/2,B=v.h+k.d+z,k.h+=F,k.h>k.H&&(k.H=k.h)):l==this.under&&(z?(z=3*u*h,F=0):(z=d.TeX.big_op_spacing2*h,B=d.TeX.big_op_spacing4*h,z=Math.max(z,B-k.h)),z=Math.max(z,1500/d.em),x-=y/2,B=-(v.d+k.h+z),k.d+=F,k.d>k.D&&(k.D=k.d)),f.Add(k,x,B));f.Clean();this.SVGhandleColor(f);this.SVGsaveData(f);return f}});g.msubsup.Augment({toSVG:function(a,b){this.SVGgetStyles();var e=this.SVG();this.SVGhandleSpace(e);var f=e.scale=this.SVGgetScale(),h=this.SVGgetMu(e),g=e.Add(this.SVGdataStretched(this.base,a,b)),k=(this.data[this.sup]||this.data[this.sub]||this).SVGgetScale(),n=d.TeX.x_height*f,l=d.TeX.scriptspace*f,p,w;this.SVGnotEmpty(this.data[this.sup])&&(p=this.data[this.sup].toSVG(),p.w+=l,p.r=Math.max(p.w,p.r));this.SVGnotEmpty(this.data[this.sub])&&(w=this.data[this.sub].toSVG(),w.w+=l,w.r=Math.max(w.w,w.r));var v=d.TeX.sup_drop*k,l=g.h+(g.y||0)-v,x=g.d-(g.y||0)+d.TeX.sub_drop*k,k=0;g.ic&&(g.w-=g.ic,k=1.3*g.ic+.05);!this.data[this.base]||"mi"!==this.data[this.base].type&&"mo"!==this.data[this.base].type||1!==this.data[this.base].data.join("").length||1!==g.scale||g.stretched||this.data[this.base].Get("largeop")||(l=x=0);var B=this.getValues("subscriptshift","superscriptshift");B.subscriptshift=""===B.subscriptshift?0:d.length2em(B.subscriptshift,h);B.superscriptshift=""===B.superscriptshift?0:d.length2em(B.superscriptshift,h);p?w?(x=Math.max(x,d.TeX.sub2*f),f*=d.TeX.rule_thickness,l-p.d-(w.h-x)<3*f&&(x=3*f-l+p.d+w.h,v=.8*n-(l-p.d),0<v&&(l+=v,x-=v)),e.Add(p,g.w+k,Math.max(l,B.superscriptshift)),e.Add(w,g.w,-Math.max(x,B.subscriptshift)),this.data[this.sup].SVGdata.dx=k,this.data[this.sup].SVGdata.dy=Math.max(l,B.superscriptshift),this.data[this.sub].SVGdata.dy=-Math.max(x,B.subscriptshift)):(values=this.getValues("displaystyle","texprimestyle"),w=d.TeX[values.displaystyle?"sup1":values.texprimestyle?"sup3":"sup2"],l=Math.max(l,w*f,p.d+.25*n,B.superscriptshift),e.Add(p,g.w+k,l),this.data[this.sup].SVGdata.dx=k,this.data[this.sup].SVGdata.dy=l):w&&(x=Math.max(x,d.TeX.sub1*f,w.h-.8*n,B.subscriptshift),e.Add(w,g.w,-x),this.data[this.sub].SVGdata.dy=-x);e.Clean();this.SVGhandleColor(e);this.SVGsaveData(e);return e}});g.mmultiscripts.Augment({toSVG:g.mbase.SVGautoload});g.mtable.Augment({toSVG:g.mbase.SVGautoload});g["annotation-xml"].Augment({toSVG:g.mbase.SVGautoload});g.math.Augment({SVG:p.Subclass({type:"svg",removeable:!1}),toSVG:function(a,b){if(this.data[0]){this.SVGgetStyles();g.mbase.prototype.displayAlign=f.config.displayAlign;g.mbase.prototype.displayIndent=f.config.displayIndent;var m=p.G({stroke:"black",fill:"black","stroke-width":0,transform:"matrix(1 0 0 -1 0 0)"}).With({removeable:!1});m.Add(this.data[0].toSVG(),0,0,!0);m.Clean();this.SVGhandleColor(m);var l=this.SVG();l.element.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink");l.Add(m);l.Clean();this.SVGsaveData(l);var h=Math.max(-l.l,0),n=Math.max(l.r-l.w,0),m=l.element.style;m.width=d.Ex(h+l.w+n);m.height=d.Ex(l.H+l.D+2*d.em);m.verticalAlign=d.Ex(-l.D-3*d.em);m.marginLeft=d.Ex(-h);m.marginRight=d.Ex(-n);l.element.setAttribute("viewBox",-h+" "+(-l.H-d.em)+" "+(h+l.w+n)+" "+(l.H+l.D+2*d.em));l.element.style.margin="1px 0px";if(l.H>l.h||l.D>l.d)h=e.Element("span",{style:{display:"inline-block","white-space":"nowrap",padding:"1px 0px"},isMathJax:!0},[["span",{style:{display:"inline-block",position:"relative",isMathJax:!0,width:d.Ex(l.w),height:d.Ex(l.h+l.d),"vertical-align":d.Ex(-l.d)}}]]),h.firstChild.appendChild(l.element),l.element=h,m.verticalAlign=m.margin="",m.position="absolute",m.bottom=d.Ex(l.d-l.D),m.left=0;a.appendChild(l.element);l.element=null;this.isMultiline||"block"!==this.Get("display")||(m=this.getValues("indentalignfirst","indentshiftfirst","indentalign","indentshift"),m.indentalignfirst!==g.INDENTALIGN.INDENTALIGN&&(m.indentalign=m.indentalignfirst),m.indentalign===g.INDENTALIGN.AUTO&&(m.indentalign=this.displayAlign),b.style.textAlign=m.indentalign,m.indentshiftfirst!==g.INDENTSHIFT.INDENTSHIFT&&(m.indentshift=m.indentshiftfirst),"auto"===m.indentshift&&(m.indentshift=this.displayIndent),m.indentshift&&m.indentalign!==g.INDENTALIGN.CENTER&&!l.hasIndent&&(a.style[{left:"marginLeft",right:"marginRight"}[m.indentalign]]=d.Ex(d.length2em(m.indentshift))))}return a}});g.TeXAtom.Augment({toSVG:function(){this.SVGgetStyles();var a=this.SVG();this.SVGhandleSpace(a);if(null!=this.data[0]){var b=this.data[0].toSVG(),e=0;this.texClass===g.TEXCLASS.VCENTER&&(e=d.TeX.axis_height-(b.h+b.d)/2+b.d);a.Add(b,0,e);a.ic=b.ic}this.SVGhandleColor(a);this.SVGsaveData(a);return a}});f.Register.StartupHook("onLoad",function(){setTimeout(MathJax.Callback(["loadComplete",d,"jax.js"]),0)})});f.Browser.Select({Opera:function(a){d.Augment({operaZoomRefresh:!0})}});f.Register.StartupHook("End Cookie",function(){"None"!==f.config.menuSettings.zoom&&a.Require("[MathJax]/extensions/MathZoom.js")});document.createElementNS||(document.namespaces.svg||document.namespaces.add("svg","http://www.w3.org/2000/svg"),d.Augment({Element:function(a,b){var d="string"===typeof a?document.createElement("svg:"+a):a;d.isMathJax=!0;if(b)for(var e in b)b.hasOwnProperty(e)&&d.setAttribute(e,b[e].toString());return d}}))})(MathJax.Ajax,MathJax.Hub,MathJax.HTML,MathJax.OutputJax.SVG);MathJax.Hub.Register.StartupHook("SVG Jax Ready",function(){var a=MathJax.ElementJax.mml,f=MathJax.OutputJax.SVG,e=f.BBOX;a.mtable.Augment({toSVG:function(d){this.SVGgetStyles();d=this.SVG();if(0===this.data.length)return this.SVGsaveData(d),d;var g=this.getValues("columnalign","rowalign","columnspacing","rowspacing","columnwidth","equalcolumns","equalrows","columnlines","rowlines","frame","framespacing","align","useHeight","width","side","minlabelspacing");g.width.match(/%$/)&&(d.width=g.width=Math.floor(f.cwidth*parseFloat(g.width)/100)+"px");var p=this.SVGgetScale(),n=this.SVGgetMu(d),l=[],c=[],b=[],m=[],t=[],h,r,k=-1,q,A,u,w,v,x,B=f.FONTDATA.baselineskip*p*g.useHeight,z=f.FONTDATA.lineH*p,F=f.FONTDATA.lineD*p;h=0;for(q=this.data.length;h<q;h++)for(w=this.data[h],u="mlabeledtr"===w.type?-1:0,m[h]=[],l[h]=c[h]=0,r=u,A=w.data.length+u;r<A;r++){null==b[r]&&(r>k&&(k=r),t[r]=e.G(),b[r]=-f.BIGDIMEN);v=w.data[r-u];m[h][r]=v.toSVG();if(v.isEmbellished()){x=v.CoreMO();var y=x.Get("minsize",!0);if(y)if(x.SVGcanStretch("Vertical")){if(v=x.SVGdata.h+x.SVGdata.d)y=f.length2em(y,n,v),y*x.SVGdata.h/v>l[r]&&(l[r]=y*x.SVGdata.h/v),y*x.SVGdata.d/v>c[r]&&(c[r]=y*x.SVGdata.d/v)}else x.SVGcanStretch("Horizontal")&&(y=f.length2em(y,n,x.SVGdata.w),y>b[r]&&(b[r]=y))}m[h][r].h>l[h]&&(l[h]=m[h][r].h);m[h][r].d>c[h]&&(c[h]=m[h][r].d);m[h][r].w>b[r]&&(b[r]=m[h][r].w)}l[0]+c[0]&&(l[0]=Math.max(l[0],z));l[m.length-1]+c[m.length-1]&&(c[m.length-1]=Math.max(c[m.length-1],F));var E=MathJax.Hub.SplitList,y=E(g.columnspacing),z=E(g.rowspacing);A=E(g.columnalign);var D=E(g.rowalign),J=E(g.columnlines),F=E(g.rowlines);r=E(g.columnwidth);var I=[];h=0;for(q=y.length;h<q;h++)y[h]=f.length2em(y[h],n);h=0;for(q=z.length;h<q;h++)z[h]=f.length2em(z[h],n);for(;y.length<k;)y.push(y[y.length-1]);for(;A.length<=k;)A.push(A[A.length-1]);for(;J.length<k;)J.push(J[J.length-1]);for(;r.length<=k;)r.push(r[r.length-1]);for(;z.length<m.length;)z.push(z[z.length-1]);for(;D.length<=m.length;)D.push(D[D.length-1]);for(;F.length<m.length;)F.push(F[F.length-1]);t[-1]&&(A[-1]="l"===g.side.substr(0,1)?"left":"right",y[-1]=-b[-1]);h=0;for(q=m.length;h<q;h++)if(w=this.data[h],I[h]=[],w.rowalign&&(D[h]=w.rowalign),w.columnalign)for(I[h]=E(w.columnalign);I[h].length<=k;)I[h].push(I[h][I[h].length-1]);if(g.equalrows){w=Math.max.apply(Math,l);var H=Math.max.apply(Math,c);h=0;for(q=m.length;h<q;h++)u=(w+H-(l[h]+c[h]))/2,l[h]+=u,c[h]+=u}v=l[0]+c[m.length-1];h=0;for(q=m.length-1;h<q;h++)v+=Math.max(l[h]+c[h]?B:0,c[h]+l[h+1]+z[h]);h=w=0;H=v;if("none"!==g.frame||(g.columnlines+g.rowlines).match(/solid|dashed/))h=E(g.framespacing),2!=h.length&&(h=E(this.defaults.framespacing)),w=f.length2em(h[0],n),h=f.length2em(h[1],n),H=v+2*h;q="";"string"!==typeof g.align&&(g.align=String(g.align));g.align.match(/(top|bottom|center|baseline|axis)( +(-?\d+))?/)?(q=RegExp.$3,g.align=RegExp.$1):g.align=this.defaults.align;if(""!==q)for(q=parseInt(q),0>q&&(q=m.length+1+q),1>q?q=1:q>m.length&&(q=m.length),E=0,p=-(v+h)+l[0],h=0,--q;h<q;h++)u=Math.max(l[h]+c[h]?B:0,c[h]+l[h+1]+z[h]),E+=u,p+=u;else E={top:-(l[0]+h),bottom:v+h-l[0],center:v/2-l[0],baseline:v/2-l[0],axis:v/2+f.TeX.axis_height*p-l[0]}[g.align],p={top:-(v+2*h),bottom:0,center:-(v/2+h),baseline:-(v/2+h),axis:f.TeX.axis_height*p-v/2-h}[g.align];var C,K=u=C=0,L=0;v=0;x=[];var G=[],M=1;if(g.equalcolumns&&"auto"!==g.width){C=f.length2em(g.width,n);h=0;for(q=Math.min(k+1,y.length);h<q;h++)C-=y[h];C/=k+1;h=0;for(q=Math.min(k+1,r.length);h<q;h++)b[h]=C}else{h=0;for(q=Math.min(k+1,r.length);h<q;h++)"auto"===r[h]?u+=b[h]:"fit"===r[h]?(G[v]=h,v++,u+=b[h]):r[h].match(/%$/)?(x[L]=h,L++,K+=b[h],C+=f.length2em(r[h],n,1)):(b[h]=f.length2em(r[h],n),u+=b[h]);if("auto"===g.width).98<C?(M=K/(u+K),C=u+K):C=u/(1-C);else for(C=f.length2em(g.width,n),h=0,q=Math.min(k+1,y.length);h<q;h++)C-=y[h];h=0;for(q=x.length;h<q;h++)b[x[h]]=f.length2em(r[x[h]],n,C*M),u+=b[x[h]];if(.01<Math.abs(C-u))if(v&&C>u)for(C=(C-u)/v,h=0,q=G.length;h<q;h++)b[G[h]]+=C;else for(C/=u,r=0;r<=k;r++)b[r]*=C;if(g.equalcolumns)for(h=Math.max.apply(Math,b),r=0;r<=k;r++)b[r]=h}G=E;for(r=u=t[-1]?-1:0;r<=k;r++){t[r].w=b[r];h=0;for(q=m.length;h<q;h++)m[h][r]&&(u="mlabeledtr"===this.data[h].type?-1:0,v=this.data[h].data[r-u],v.SVGcanStretch("Horizontal")?m[h][r]=v.SVGstretchH(b[r]):v.SVGcanStretch("Vertical")&&(x=v.CoreMO(),u=x.symmetric,x.symmetric=!1,m[h][r]=v.SVGstretchV(l[h],c[h]),x.symmetric=u),x=v.rowalign||this.data[h].rowalign||D[h],u={top:l[h]-m[h][r].h,bottom:m[h][r].d-c[h],center:(l[h]-c[h]-(m[h][r].h-m[h][r].d))/2,baseline:0,axis:0}[x]||0,x=v.columnalign||I[h][r]||A[r],t[r].Align(m[h][r],x,0,G+u)),h<m.length-1&&(G-=Math.max(l[h]+c[h]?B:0,c[h]+l[h+1]+z[h]));G=E}D=1.5*f.em;h=w-D/2;for(r=0;r<=k;r++)d.Add(t[r],h,0),h+=b[r]+y[r],"none"!==J[r]&&r<k&&-1!==r&&d.Add(e.VLINE(H,D,J[r]),h-y[r]/2,p);d.w+=w;d.d=-p;d.h=H+p;b=d.w;"none"!==g.frame&&(d.Add(e.HLINE(b,D,g.frame),0,p+H-D),d.Add(e.HLINE(b,D,g.frame),0,p),d.Add(e.VLINE(H,D,g.frame),0,p),d.Add(e.VLINE(H,D,g.frame),b-D,p));G=E-D/2;h=0;for(q=m.length-1;h<q;h++)u=Math.max(B,c[h]+l[h+1]+z[h]),"none"!==F[h]&&d.Add(e.HLINE(b,D,F[h]),0,G-c[h]-(u-c[h]-l[h+1])/2),G-=u;d.Clean();this.SVGhandleSpace(d);this.SVGhandleColor(d);t[-1]&&(l=this.getValues("indentalignfirst","indentshiftfirst","indentalign","indentshift"),l.indentalignfirst!==a.INDENTALIGN.INDENTALIGN&&(l.indentalign=l.indentalignfirst),l.indentalign===a.INDENTALIGN.AUTO&&(l.indentalign=this.displayAlign),l.indentshiftfirst!==a.INDENTSHIFT.INDENTSHIFT&&(l.indentshift=l.indentshiftfirst),"auto"===l.indentshift&&(l.indentshift=this.displayIndent),c=l.indentshift?f.length2em(l.indentshift,n):0,g=f.length2em(g.minlabelspacing,n),n=d,d=this.SVG(),l.indentalign===a.INDENTALIGN.CENTER?(d.w=d.r=f.length2em(f.cwidth+"px"),c=0,d.hasIndent=!0):A[-1]!==l.indentalign?(d.w=d.r=f.length2em(f.cwidth+"px")-c-g,c=g=0):(d.w=d.r=n.w+c,d.hasIndent=!0),d.Align(n,l.indentalign,c,0),d.Align(t[-1],A[-1],g,0));this.SVGsaveData(d);return d},SVGhandleSpace:function(a){this.hasFrame||a.width||(a.x=a.X=167);this.SUPER(arguments).SVGhandleSpace.call(this,a)}});a.mtd.Augment({toSVG:function(a,e){var f=this.svg=this.SVG();this.data[0]&&(f.Add(this.SVGdataStretched(0,a,e)),f.Clean());this.SVGhandleColor(f);this.SVGsaveData(f);return f}});MathJax.Hub.Startup.signal.Post("SVG mtable Ready");MathJax.Ajax.loadComplete(f.autoloadDir+"/mtable.js")});MathJax.Ajax.loadComplete("[MathJax]/config/TeX-AMS-MML_SVG-full.js");
|