12345678910111213 |
- /*
- * /MathJax/config/TeX-AMS_HTML-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/output/HTML-CSS/config.js","[MathJax]/extensions/tex2jax.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/output/HTML-CSS/jax.js","[MathJax]/jax/output/HTML-CSS/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(c){return c},formatTag:function(c){return"("+c+")"},formatID:function(c){return"mjx-eqn-"+String(c).replace(/[:"'<>&]/g,"")},formatURL:function(c){return"#"+escape(c)},useLabelIds:!0}}});MathJax.InputJax.TeX.Register("math/tex");MathJax.InputJax.TeX.loadComplete("config.js");MathJax.OutputJax["HTML-CSS"]=MathJax.OutputJax({id:"HTML-CSS",version:"2.2",directory:MathJax.OutputJax.directory+"/HTML-CSS",extensionDir:MathJax.OutputJax.extensionDir+"/HTML-CSS",autoloadDir:MathJax.OutputJax.directory+"/HTML-CSS/autoload",fontDir:MathJax.OutputJax.directory+"/HTML-CSS/fonts",webfontDir:MathJax.OutputJax.fontDir+"/HTML-CSS",config:{scale:100,minScaleAdjust:50,availableFonts:["STIX","TeX"],preferredFont:"TeX",webFont:"TeX",imageFont:"TeX",undefinedFamily:"STIXGeneral,'Arial Unicode MS',serif",mtextFontInherit:!1,EqnChunk:MathJax.Hub.Browser.isMobile?10:50,EqnChunkFactor:1.5,EqnChunkDelay:100,linebreaks:{automatic:!1,width:"container"},styles:{".MathJax_Display":{"text-align":"center",margin:"1em 0em"},".MathJax .merror":{"background-color":"#FFFF88",color:"#CC0000",border:"1px solid #CC0000",padding:"1px 3px","font-style":"normal","font-size":"90%"},"#MathJax_Tooltip":{"background-color":"InfoBackground",color:"InfoText",border:"1px solid black","box-shadow":"2px 2px 5px #AAAAAA","-webkit-box-shadow":"2px 2px 5px #AAAAAA","-moz-box-shadow":"2px 2px 5px #AAAAAA","-khtml-box-shadow":"2px 2px 5px #AAAAAA",filter:"progid:DXImageTransform.Microsoft.dropshadow(OffX\x3d2, OffY\x3d2, Color\x3d'gray', Positive\x3d'true')",padding:"3px 4px","z-index":401}}}});MathJax.Hub.Browser.isMSIE&&9<=document.documentMode&&delete MathJax.OutputJax["HTML-CSS"].config.styles["#MathJax_Tooltip"].filter;MathJax.Hub.config.delayJaxRegistration||MathJax.OutputJax["HTML-CSS"].Register("jax/mml");MathJax.Hub.Register.StartupHook("End Config",[function(c,g){var b=c.Insert({minBrowserVersion:{Firefox:3,Opera:9.52,MSIE:6,Chrome:.3,Safari:2,Konqueror:4},inlineMathDelimiters:["$","$"],displayMathDelimiters:["$$","$$"],multilineDisplay:!0,minBrowserTranslate:function(d){var g=c.getJaxFor(d),m=["[Math]"],l=document.createElement("span",{className:"MathJax_Preview"});"TeX"===g.inputJax&&(g.root.Get("displaystyle")?(m=b.displayMathDelimiters,m=[m[0]+g.originalText+m[1]],b.multilineDisplay&&(m=m[0].split(/\n/))):(m=b.inlineMathDelimiters,m=[m[0]+g.originalText.replace(/^\s+/,"").replace(/\s+$/,"")+m[1]]));for(var g=0,n=m.length;g<n;g++)l.appendChild(document.createTextNode(m[g])),g<n-1&&l.appendChild(document.createElement("br"));d.parentNode.insertBefore(l,d)}},c.config["HTML-CSS"]||{});"0.0"===c.Browser.version||c.Browser.versionAtLeast(b.minBrowserVersion[c.Browser]||0)||(g.Translate=b.minBrowserTranslate,c.Config({showProcessingMessages:!1}),MathJax.Message.Set(["MathJaxNotSupported","Your browser does not support MathJax"],null,4E3),c.Startup.signal.Post("MathJax not supported"))},MathJax.Hub,MathJax.OutputJax["HTML-CSS"]]);MathJax.OutputJax["HTML-CSS"].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(c){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 c&&(c=document.getElementById(c));c||(c=document.body);this.createPatterns()&&this.scanElement(c,c.nextSibling)},createPatterns:function(){var c=[],g=[],b,d,q=this.config;this.match={};b=0;for(d=q.inlineMath.length;b<d;b++)c.push(this.patternQuote(q.inlineMath[b][0])),this.match[q.inlineMath[b][0]]={mode:"",end:q.inlineMath[b][1],pattern:this.endPattern(q.inlineMath[b][1])};b=0;for(d=q.displayMath.length;b<d;b++)c.push(this.patternQuote(q.displayMath[b][0])),this.match[q.displayMath[b][0]]={mode:"; mode\x3ddisplay",end:q.displayMath[b][1],pattern:this.endPattern(q.displayMath[b][1])};c.length&&g.push(c.sort(this.sortLength).join("|"));q.processEnvironments&&g.push("\\\\begin\\{([^}]*)\\}");q.processEscapes&&g.push("\\\\*\\\\\\$");q.processRefs&&g.push("\\\\(eq)?ref\\{[^}]*\\}");this.start=new RegExp(g.join("|"),"g");this.skipTags=new RegExp("^("+q.skipTags.join("|")+")$","i");c=[];MathJax.Hub.config.preRemoveClass&&c.push(MathJax.Hub.config.preRemoveClass);q.ignoreClass&&c.push(q.ignoreClass);this.ignoreClass=c.length?new RegExp("(^| )("+c.join("|")+")( |$)"):/^$/;this.processClass=new RegExp("(^| )("+q.processClass+")( |$)");return 0<g.length},patternQuote:function(c){return c.replace(/([\^$(){}+*?\-|\[\]\:\\])/g,"\\$1")},endPattern:function(c){return new RegExp(this.patternQuote(c)+"|\\\\.|[{}]","g")},sortLength:function(c,g){return c.length!==g.length?g.length-c.length:c==g?0:c<g?-1:1},scanElement:function(c,g,b){for(var d,q,m;c&&c!=g;)"#text"===c.nodeName.toLowerCase()?b||(c=this.scanText(c)):(d="undefined"===typeof c.className?"":c.className,q="undefined"===typeof c.tagName?"":c.tagName,"string"!==typeof d&&(d=String(d)),m=this.processClass.exec(d),!c.firstChild||d.match(/(^| )MathJax/)||!m&&this.skipTags.exec(q)||(d=(b||this.ignoreClass.exec(d))&&!m,this.scanElement(c.firstChild,g,d))),c&&(c=c.nextSibling)},scanText:function(c){if(""==c.nodeValue.replace(/\s+/,""))return c;var g,b;this.search={start:!0};for(this.pattern=this.start;c;){for(this.pattern.lastIndex=0;c&&"#text"===c.nodeName.toLowerCase()&&(g=this.pattern.exec(c.nodeValue));)c=this.search.start?this.startMatch(g,c):this.endMatch(g,c);this.search.matched&&(c=this.encloseMath(c));if(c){do b=c,c=c.nextSibling;while(c&&("br"===c.nodeName.toLowerCase()||"#comment"===c.nodeName.toLowerCase()));if(!c||"#text"!==c.nodeName)return this.search.close?this.prevEndMatch():b}}return c},startMatch:function(c,g){var b=this.match[c[0]];if(null!=b)this.search={end:b.end,mode:b.mode,pcount:0,open:g,olen:c[0].length,opos:this.pattern.lastIndex-c[0].length},this.switchPattern(b.pattern);else if("\\begin"===c[0].substr(0,6))this.search={end:"\\end{"+c[1]+"}",mode:"; mode\x3ddisplay",pcount:0,open:g,olen:0,opos:this.pattern.lastIndex-c[0].length,isBeginEnd:!0},this.switchPattern(this.endPattern(this.search.end));else{if("\\ref"===c[0].substr(0,4)||"\\eqref"===c[0].substr(0,6))return this.search={mode:"",end:"",open:g,pcount:0,olen:0,opos:this.pattern.lastIndex-c[0].length},this.endMatch([""],g);var b=c[0].substr(0,c[0].length-1),d;0===b.length%2?(d=[b.replace(/\\\\/g,"\\")],b=1):(d=[b.substr(1).replace(/\\\\/g,"\\"),"$"],b=0);d=MathJax.HTML.Element("span",null,d);var q=MathJax.HTML.TextNode(g.nodeValue.substr(0,c.index));g.nodeValue=g.nodeValue.substr(c.index+c[0].length-b);g.parentNode.insertBefore(d,g);g.parentNode.insertBefore(q,d);this.pattern.lastIndex=b}return g},endMatch:function(c,g){var b=this.search;c[0]==b.end?(b.close&&0!==b.pcount||(b.close=g,b.cpos=this.pattern.lastIndex,b.clen=b.isBeginEnd?0:c[0].length),0===b.pcount&&(b.matched=!0,g=this.encloseMath(g),this.switchPattern(this.start))):"{"===c[0]?b.pcount++:"}"===c[0]&&b.pcount&&b.pcount--;return g},prevEndMatch:function(){this.search.matched=!0;var c=this.encloseMath(this.search.close);this.switchPattern(this.start);return c},switchPattern:function(c){c.lastIndex=this.pattern.lastIndex;this.pattern=c;this.search.start=c===this.start},encloseMath:function(c){c=this.search;var g=c.close,b,d;(g=c.cpos===g.length?g.nextSibling:g.splitText(c.cpos))||(b=g=MathJax.HTML.addText(c.close.parentNode,""));c.close=g;for(d=c.opos?c.open.splitText(c.opos):c.open;d.nextSibling&&d.nextSibling!==g;)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);g=d.nodeValue.substr(c.olen,d.nodeValue.length-c.olen-c.clen);d.parentNode.removeChild(d);"none"!==this.config.preview&&this.createPreview(c.mode,g);d=this.createMathTag(c.mode,g);this.search={};this.pattern.lastIndex=0;b&&b.parentNode.removeChild(b);return d},insertNode:function(c){var g=this.search;g.close.parentNode.insertBefore(c,g.close)},createPreview:function(c,g){var b=this.config.preview;"none"!==b&&("TeX"===b&&(b=[this.filterPreview(g)]),b&&(b=MathJax.HTML.Element("span",{className:MathJax.Hub.config.preRemoveClass},b),this.insertNode(b)))},createMathTag:function(c,g){var b=document.createElement("script");b.type="math/tex"+c;MathJax.HTML.setScript(b,g);this.insertNode(b);return b},filterPreview:function(c){return c},msieNewlineBug:MathJax.Hub.Browser.isMSIE&&9>document.documentMode};MathJax.Hub.Register.PreProcessor(["PreProcess",MathJax.Extension.tex2jax]);MathJax.Ajax.loadComplete("[MathJax]/extensions/tex2jax.js");(function(c,g,b,d,q,m,l){var n=MathJax.Extension,p=n.MathEvents={version:"2.2"},a=c.config.menuSettings,e={hover:500,frame:{x:3.5,y:5,bwidth:1,bcolor:"#A6D",hwidth:"15px",hcolor:"#83A"},button:{x:-4,y:-3,wx:-2,src:b.fileURL(m.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"}}},k=p.Event={LEFTBUTTON:0,RIGHTBUTTON:2,MENUKEY:"altKey",Mousedown:function(a){return k.Handler(a,"Mousedown",this)},Mouseup:function(a){return k.Handler(a,"Mouseup",this)},Mousemove:function(a){return k.Handler(a,"Mousemove",this)},Mouseover:function(a){return k.Handler(a,"Mouseover",this)},Mouseout:function(a){return k.Handler(a,"Mouseout",this)},Click:function(a){return k.Handler(a,"Click",this)},DblClick:function(a){return k.Handler(a,"DblClick",this)},Menu:function(a){return k.Handler(a,"ContextMenu",this)},Handler:function(a,e,d){if(b.loadingMathMenu)return k.False(a);var f=m[d.jaxID];a||(a=window.event);a.isContextMenu="ContextMenu"===e;if(f[e])return f[e](a,d);if(n.MathZoom)return n.MathZoom.HandleEvent(a,e,d)},False:function(a){a||(a=window.event);a&&(a.preventDefault&&a.preventDefault(),a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0,a.returnValue=!1);return!1},ContextMenu:function(e,f,h){var g=m[f.jaxID],n=g.getJaxFromMath(f);if((null!=g.config.showMathMenu?g:c).config.showMathMenu&&("MathJax"===a.context||h)){p.msieEventBug&&(e=window.event||e);k.ClearSelection();u.ClearHoverTimer();n.hover&&(n.hover.remove&&(clearTimeout(n.hover.remove),delete n.hover.remove),n.hover.nofade=!0);var x=MathJax.Menu;if(x){if(x.loadingDomain)return k.False(e);g=q.loadDomain("MathMenu");if(!g)return x.jax=n,f=x.menu.Find("Show Math As").menu,f.items[0].name=n.sourceMenuTitle,f.items[0].format=n.sourceMenuFormat||"MathML",f.items[1].name=l[n.inputJax].sourceMenuTitle,x.menu.Find("Math Settings","MathPlayer").hidden=!("NativeMML"===n.outputJax&&c.Browser.hasMathPlayer),x.menu.Post(e);x.loadingDomain=!0;n=function(){delete x.loadingDomain}}else{if(b.loadingMathMenu)return k.False(e);b.loadingMathMenu=!0;g=b.Require("[MathJax]/extensions/MathMenu.js");n=function(){delete b.loadingMathMenu;MathJax.Menu||(MathJax.Menu={})}}d.Queue(g,n,["ContextMenu",k,{pageX:e.pageX,pageY:e.pageY,clientX:e.clientX,clientY:e.clientY},f,h]);return k.False(e)}},AltContextMenu:function(e,d){var f=m[d.jaxID],b=(null!=f.config.showMathMenu?f:c).config.showMathMenu;if(b){b=(null!=f.config.showMathMenuMSIE?f:c).config.showMathMenuMSIE;if("MathJax"===a.context&&!a.mpContext&&b){if(!p.noContextMenuBug||e.button!==k.RIGHTBUTTON)return}else if(!e[k.MENUKEY]||e.button!==k.LEFTBUTTON)return;return f.ContextMenu(e,d,!0)}},ClearSelection:function(){p.safariContextMenuBug&&setTimeout("window.getSelection().empty()",0);document.selection&&setTimeout("document.selection.empty()",0)},getBBox:function(a){a.appendChild(p.topImg);var e=p.topImg.offsetTop,k=a.offsetHeight-e,d=a.offsetWidth;a.removeChild(p.topImg);return{w:d,h:e,d:k}}},u=p.Hover={Mouseover:function(e,d){if(a.discoverable||"Hover"===a.zoom){var f=e.fromElement||e.relatedTarget,b=e.toElement||e.target;if(f&&b&&(f.isMathJax!=b.isMathJax||c.getJaxFor(f)!==c.getJaxFor(b)))return f=this.getJaxFromMath(d),f.hover?u.ReHover(f):u.HoverTimer(f,d),k.False(e)}},Mouseout:function(e,d){if(a.discoverable||"Hover"===a.zoom){var f=e.fromElement||e.relatedTarget,b=e.toElement||e.target;if(f&&b&&(f.isMathJax!=b.isMathJax||c.getJaxFor(f)!==c.getJaxFor(b)))return f=this.getJaxFromMath(d),f.hover?u.UnHover(f):u.ClearHoverTimer(),k.False(e)}},Mousemove:function(e,f){if(a.discoverable||"Hover"===a.zoom){var d=this.getJaxFromMath(f);if(!d.hover&&(u.lastX!=e.clientX||u.lastY!=e.clientY))return u.lastX=e.clientX,u.lastY=e.clientY,u.HoverTimer(d,f),k.False(e)}},HoverTimer:function(a,k){this.ClearHoverTimer();this.hoverTimer=setTimeout(d(["Hover",this,a,k]),e.hover)},ClearHoverTimer:function(){this.hoverTimer&&(clearTimeout(this.hoverTimer),delete this.hoverTimer)},Hover:function(a,k){if(!n.MathZoom||!n.MathZoom.Hover({},k)){var f=m[a.outputJax],d=f.getHoverSpan(a,k),b=f.getHoverBBox(a,d,k),h=(null!=f.config.showMathMenu?f:c).config.showMathMenu,u=e.frame.x,q=e.frame.y,l=e.frame.bwidth;p.msieBorderWidthBug&&(l=0);a.hover={opacity:0,id:a.inputID+"-Hover"};var B=g.Element("span",{id:a.hover.id,isMathJax:!0,style:{display:"inline-block",width:0,height:0,position:"relative"}},[["span",{className:"MathJax_Hover_Frame",isMathJax:!0,style:{display:"inline-block",position:"absolute",top:this.Px(-b.h-q-l-(b.y||0)),left:this.Px(-u-l+(b.x||0)),width:this.Px(b.w+2*u),height:this.Px(b.h+b.d+2*q),opacity:0,filter:"alpha(opacity\x3d0)"}}]]),f=g.Element("span",{isMathJax:!0,id:a.hover.id+"Menu",style:{display:"inline-block","z-index":1,width:0,height:0,position:"relative"}},[["img",{className:"MathJax_Hover_Arrow",isMathJax:!0,math:k,src:e.button.src,onclick:this.HoverMenu,jax:f.id,style:{left:this.Px(b.w+u+l+(b.x||0)+e.button.x),top:this.Px(-b.h-q-l-(b.y||0)-e.button.y),opacity:0,filter:"alpha(opacity\x3d0)"}}]]);b.width&&(B.style.width=f.style.width=b.width,B.style.marginRight=f.style.marginRight="-"+b.width,B.firstChild.style.width=b.width,f.firstChild.style.left="",f.firstChild.style.right=this.Px(e.button.wx));d.parentNode.insertBefore(B,d);h&&d.parentNode.insertBefore(f,d);d.style&&(d.style.position="relative");this.ReHover(a)}},ReHover:function(a){a.hover.remove&&clearTimeout(a.hover.remove);a.hover.remove=setTimeout(d(["UnHover",this,a]),e.fadeoutDelay);this.HoverFadeTimer(a,e.fadeinInc)},UnHover:function(a){a.hover.nofade||this.HoverFadeTimer(a,-e.fadeoutInc,e.fadeoutStart)},HoverFade:function(a){delete a.hover.timer;a.hover.opacity=Math.max(0,Math.min(1,a.hover.opacity+a.hover.inc));a.hover.opacity=Math.floor(1E3*a.hover.opacity)/1E3;var e=document.getElementById(a.hover.id),k=document.getElementById(a.hover.id+"Menu");e.firstChild.style.opacity=a.hover.opacity;e.firstChild.style.filter="alpha(opacity\x3d"+Math.floor(100*a.hover.opacity)+")";k&&(k.firstChild.style.opacity=a.hover.opacity,k.firstChild.style.filter=e.style.filter);1!==a.hover.opacity&&(0<a.hover.opacity?this.HoverFadeTimer(a,a.hover.inc):(e.parentNode.removeChild(e),k&&k.parentNode.removeChild(k),a.hover.remove&&clearTimeout(a.hover.remove),delete a.hover))},HoverFadeTimer:function(a,k,f){a.hover.inc=k;a.hover.timer||(a.hover.timer=setTimeout(d(["HoverFade",this,a]),f||e.fadeDelay))},HoverMenu:function(a){a||(a=window.event);return m[this.jax].ContextMenu(a,this.math,!0)},ClearHover:function(a){a.hover.remove&&clearTimeout(a.hover.remove);a.hover.timer&&clearTimeout(a.hover.timer);u.ClearHoverTimer();delete a.hover},Px:function(a){return.006>Math.abs(a)?"0px":a.toFixed(2).replace(/\.?0+$/,"")+"px"},getImages:function(){(new Image).src=e.button.src}},f=p.Touch={last:0,delay:500,start:function(a){var e=(new Date).getTime(),k=e-f.last<f.delay&&f.up;f.last=e;f.up=!1;k&&(f.timeout=setTimeout(f.menu,f.delay,a,this),a.preventDefault())},end:function(a){var e=(new Date).getTime();f.up=e-f.last<f.delay;if(f.timeout)return clearTimeout(f.timeout),delete f.timeout,f.last=0,f.up=!1,a.preventDefault(),k.Handler(a.touches[0]||a.touch,"DblClick",this)},menu:function(a,e){delete f.timeout;f.last=0;f.up=!1;return k.Handler(a.touches[0]||a.touch,"ContextMenu",e)}};if(c.Browser.isMobile){var h=e.styles[".MathJax_Hover_Arrow"];h.width="25px";h.height="18px";e.button.x=-6}c.Browser.Select({MSIE:function(a){var e=document.documentMode||0,f=a.versionAtLeast("8.0");p.msieBorderWidthBug="BackCompat"===document.compatMode;p.msieEventBug=a.isIE9;p.msieAlignBug=!f||8>e;9>e&&(k.LEFTBUTTON=1)},Safari:function(a){p.safariContextMenuBug=!0},Opera:function(a){p.operaPositionBug=!0},Konqueror:function(a){p.noContextMenuBug=!0}});p.topImg=p.msieAlignBug?g.Element("img",{style:{width:0,height:0,position:"relative"},src:"about:blank"}):g.Element("span",{style:{width:0,height:0,display:"inline-block"}});p.operaPositionBug&&(p.topImg.style.border="1px solid");p.config=e=c.CombineConfig("MathEvents",e);d.Queue(c.Register.StartupHook("End Config",{}),[function(){var a=e.styles[".MathJax_Hover_Frame"];a.border=e.frame.bwidth+"px solid "+e.frame.bcolor+" ! important";a["box-shadow"]=a["-webkit-box-shadow"]=a["-moz-box-shadow"]=a["-khtml-box-shadow"]="0px 0px "+e.frame.hwidth+" "+e.frame.hcolor}],["getImages",u],["Styles",b,e.styles],["Post",c.Startup.signal,"MathEvents Ready"],["loadComplete",b,"[MathJax]/extensions/MathEvents.js"])})(MathJax.Hub,MathJax.HTML,MathJax.Ajax,MathJax.Callback,MathJax.Localization,MathJax.OutputJax,MathJax.InputJax);(function(c,g,b,d,q){var m=c.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)"}}}),l,n,p;MathJax.Hub.Register.StartupHook("MathEvents Ready",function(){p=MathJax.Extension.MathEvents.Event;l=MathJax.Extension.MathEvents.Event.False;n=MathJax.Extension.MathEvents.Hover});var a=MathJax.Extension.MathZoom={version:"2.2",settings:c.config.menuSettings,scrollSize:18,HandleEvent:function(e,k,d){return a.settings.CTRL&&!e.ctrlKey||a.settings.ALT&&!e.altKey||a.settings.CMD&&!e.metaKey||a.settings.Shift&&!e.shiftKey||!a[k]?!0:a[k](e,d)},Click:function(a,k){if("Click"===this.settings.zoom)return this.Zoom(a,k)},DblClick:function(a,k){if("Double-Click"===this.settings.zoom)return this.Zoom(a,k)},Hover:function(a,k){return"Hover"===this.settings.zoom?(this.Zoom(a,k),!0):!1},Zoom:function(a,k){this.Remove();n.ClearHoverTimer();p.ClearSelection();var d=MathJax.OutputJax[k.jaxID],f=d.getJaxFromMath(k);f.hover&&n.UnHover(f);var b=Math.floor(.85*document.body.clientWidth),r=Math.floor(.85*Math.max(document.body.clientHeight,document.documentElement.clientHeight)),w=g.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":b+"px","max-height":r+"px"}},[["span",{style:{display:"inline-block","white-space":"nowrap"}}]]]]),v=w.lastChild,t=v.firstChild,q=w.firstChild;k.parentNode.insertBefore(w,k);k.parentNode.insertBefore(k,w);t.addEventListener&&t.addEventListener("mousedown",this.Remove,!0);if(this.msieTrapEventBug){var x=g.Element("span",{id:"MathJax_ZoomEventTrap",onmousedown:this.Remove});w.insertBefore(x,v)}this.msieZIndexBug&&(g.addElement(document.body,"img",{src:"about:blank",id:"MathJax_ZoomTracker",width:0,height:0,style:{width:0,height:0,position:"relative"}}),w.style.position="relative",w.style.zIndex=m.styles["#MathJax_ZoomOverlay"]["z-index"]);d=d.Zoom(f,t,k,b,r);this.msiePositionBug&&(this.msieSizeBug&&(v.style.height=d.zH+"px",v.style.width=d.zW+"px"),v.offsetHeight>r&&(v.style.height=r+"px",v.style.width=d.zW+this.scrollSize+"px"),v.offsetWidth>b&&(v.style.width=b+"px",v.style.height=d.zH+this.scrollSize+"px"));this.operaPositionBug&&(v.style.width=Math.min(b,d.zW)+"px");v.offsetWidth&&v.offsetWidth<b&&v.offsetHeight<r&&(v.style.overflow="visible");this.Position(v,d);this.msieTrapEventBug&&(x.style.height=v.clientHeight+"px",x.style.width=v.clientWidth+"px",x.style.left=parseFloat(v.style.left)+v.clientLeft+"px",x.style.top=parseFloat(v.style.top)+v.clientTop+"px");v.style.visibility="";"Hover"===this.settings.zoom&&(q.onmouseover=this.Remove);window.addEventListener?addEventListener("resize",this.Resize,!1):window.attachEvent?attachEvent("onresize",this.Resize):(this.onresize=window.onresize,window.onresize=this.Resize);c.signal.Post(["math zoomed",f]);return l(a)},Position:function(e,k){var d=this.Resize(),f=d.y,b=k.mW,c=k.Y;e.style.left=Math.max(-b-Math.floor((e.offsetWidth-b)/2),10-d.x)+"px";e.style.top=Math.max(c,10-f)+"px";a.msiePositionBug||a.SetWH()},Resize:function(e){if(a.onresize)a.onresize(e);var k=document.getElementById("MathJax_ZoomFrame");e=document.getElementById("MathJax_ZoomOverlay");for(var d=a.getXY(k),k=k.parentNode,f=a.getOverflow(k);k.parentNode&&k!==document.body&&"visible"===f;)k=k.parentNode,f=a.getOverflow(k);"visible"!==f&&(e.scroll_parent=k,f=a.getXY(k),d.x-=f.x,d.y-=f.y,f=a.getBorder(k),d.x-=f.x,d.y-=f.y);e.style.left=-d.x+"px";e.style.top=-d.y+"px";a.msiePositionBug?setTimeout(a.SetWH,0):a.SetWH();return d},SetWH:function(){var a=document.getElementById("MathJax_ZoomOverlay");a.style.width=a.style.height="1px";var k=a.scroll_parent||document.documentElement||document.body;a.style.width=k.scrollWidth+"px";a.style.height=Math.max(k.clientHeight,k.scrollHeight)+"px"},getOverflow:window.getComputedStyle?function(a){return getComputedStyle(a).overflow}:function(a){return(a.currentStyle||{overflow:"visible"}).overflow},getBorder:function(a){var k={thin:1,medium:2,thick:3},d=window.getComputedStyle?getComputedStyle(a):a.currentStyle||{borderLeftWidth:0,borderTopWidth:0};a=d.borderLeftWidth;d=d.borderTopWidth;a=k[a]?k[a]:parseInt(a);d=k[d]?k[d]:parseInt(d);return{x:a,y:d}},getXY:function(e){var k=0,d=0,f;for(f=e;f.offsetParent;)k+=f.offsetLeft,f=f.offsetParent;a.operaPositionBug&&(e.style.border="1px solid");for(f=e;f.offsetParent;)d+=f.offsetTop,f=f.offsetParent;a.operaPositionBug&&(e.style.border="");return{x:k,y:d}},Remove:function(e){var k=document.getElementById("MathJax_ZoomFrame");if(k){var d=MathJax.OutputJax[k.previousSibling.jaxID].getJaxFromMath(k.previousSibling);c.signal.Post(["math unzoomed",d]);k.parentNode.removeChild(k);(k=document.getElementById("MathJax_ZoomTracker"))&&k.parentNode.removeChild(k);a.operaRefreshBug&&(k=g.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(k));window.removeEventListener?removeEventListener("resize",a.Resize,!1):window.detachEvent?detachEvent("onresize",a.Resize):(window.onresize=a.onresize,delete a.onresize)}return l(e)}};c.Browser.Select({MSIE:function(e){var k=document.documentMode||0,d=9<=k;a.msiePositionBug=!d;a.msieSizeBug=e.versionAtLeast("7.0")&&(!document.documentMode||7===k||8===k);a.msieZIndexBug=7>=k;a.msieInlineBlockAlignBug=7>=k;a.msieTrapEventBug=!window.addEventListener;"BackCompat"===document.compatMode&&(a.scrollSize=52);d&&delete m.styles["#MathJax_Zoom"].filter},Opera:function(e){a.operaPositionBug=!0;a.operaRefreshBug=!0}});a.topImg=a.msieInlineBlockAlignBug?g.Element("img",{style:{width:0,height:0,position:"relative"},src:"about:blank"}):g.Element("span",{style:{width:0,height:0,display:"inline-block"}});if(a.operaPositionBug||a.msieTopBug)a.topImg.style.border="1px solid";MathJax.Callback.Queue(["StartupHook",MathJax.Hub.Register,"Begin Styles",{}],["Styles",b,m.styles],["Post",c.Startup.signal,"MathZoom Ready"],["loadComplete",b,"[MathJax]/extensions/MathZoom.js"])})(MathJax.Hub,MathJax.HTML,MathJax.Ajax,MathJax.OutputJax["HTML-CSS"],MathJax.OutputJax.NativeMML);(function(c,g,b,d,q){var m=MathJax.Callback.Signal("menu");MathJax.Extension.MathMenu={version:"2.2",signal:m};var l=function(a){return MathJax.Localization._.apply(MathJax.Localization,[["MathMenu",a]].concat([].slice.call(arguments,1)))},n=c.Browser.isPC,p=c.Browser.isMSIE,a=8<(document.documentMode||0),e=n?null:"5px",k=c.CombineConfig("MathMenu",{delay:150,closeImg:b.fileURL(q.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:n?"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":e,"-webkit-border-radius":e,"-moz-border-radius":e,"-khtml-border-radius":e,"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:n?"2px 2em":"1px 2em",background:"transparent"},".MathJax_MenuArrow":{position:"absolute",right:".5em",color:"#666666","font-family":p?"'Arial unicode MS'":null},".MathJax_MenuActive .MathJax_MenuArrow":{color:"white"},".MathJax_MenuCheck":{position:"absolute",left:".7em","font-family":p?"'Arial unicode MS'":null},".MathJax_MenuRadioCheck":{position:"absolute",left:n?"1em":".7em"},".MathJax_MenuLabel":{padding:n?"2px 2em 4px 1.33em":"1px 2em 3px 1.33em","font-style":"italic"},".MathJax_MenuRule":{"border-top":n?"1px solid #CCCCCC":"1px solid #DDDDDD",margin:n?"4px 1px 0px":"4px 3px"},".MathJax_MenuDisabled":{color:"GrayText"},".MathJax_MenuActive":{"background-color":n?"Highlight":"#606872",color:n?"HighlightText":"white"},".MathJax_Menu_Close":{position:"absolute",width:"31px",height:"31px",top:"-15px",left:"-15px"}}}),u,f;c.Register.StartupHook("MathEvents Ready",function(){u=MathJax.Extension.MathEvents.Event.False;f=MathJax.Extension.MathEvents.Hover});var h=MathJax.Menu=MathJax.Object.Subclass({version:"2.2",items:[],posted:!1,title:null,margin:5,Init:function(a){this.items=[].slice.call(arguments,0)},With:function(a){a&&c.Insert(this,a);return this},Post:function(a,e){a||(a=window.event);var d=document.getElementById("MathJax_MenuFrame");d||(d=h.Background(this),delete r.lastItem,delete r.lastMenu,delete h.skipUp,m.Post(["post",h.jax]));var f=g.addElement(d,"div",{onmouseup:h.Mouseup,ondblclick:u,ondragstart:u,onselectstart:u,oncontextmenu:u,menuItem:this,className:"MathJax_Menu"});MathJax.Localization.setCSS(f);for(var b=0,c=this.items.length;b<c;b++)this.items[b].Create(f);h.isMobile&&g.addElement(f,"span",{className:"MathJax_Menu_Close",menu:e,ontouchstart:h.Close,ontouchend:u,onmousedown:h.Close,onmouseup:u},[["img",{src:k.closeImg,style:{width:"100%",height:"100%"}}]]);this.posted=!0;f.style.width=f.offsetWidth+2+"px";b=a.pageX;c=a.pageY;b||c||(b=a.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,c=a.clientY+document.body.scrollTop+document.documentElement.scrollTop);if(e){for(var q="left",p=e.offsetWidth,b=h.isMobile?30:p-2,c=0;e&&e!==d;)b+=e.offsetLeft,c+=e.offsetTop,e=e.parentNode;b+f.offsetWidth>document.body.offsetWidth-this.margin&&!h.isMobile&&(q="right",b=Math.max(this.margin,b-p-f.offsetWidth+6));n||(f.style["borderRadiusTop"+q]=0,f.style["WebkitBorderRadiusTop"+q]=0,f.style["MozBorderRadiusTop"+q]=0,f.style["KhtmlBorderRadiusTop"+q]=0)}else b+f.offsetWidth>document.body.offsetWidth-this.margin&&(b=document.body.offsetWidth-f.offsetWidth-this.margin),h.isMobile&&(b=Math.max(5,b-Math.floor(f.offsetWidth/2)),c-=20),h.skipUp=a.isContextMenu;f.style.left=b+"px";f.style.top=c+"px";document.selection&&document.selection.empty&&document.selection.empty();return u(a)},Remove:function(a,e){m.Post(["unpost",h.jax]);var k=document.getElementById("MathJax_MenuFrame");k&&(k.parentNode.removeChild(k),this.msieFixedPositionBug&&detachEvent("onresize",h.Resize));h.jax.hover&&(delete h.jax.hover.nofade,f.UnHover(h.jax));return u(a)},Find:function(a){return this.FindN(1,a,[].slice.call(arguments,1))},FindId:function(a){return this.FindN(0,a,[].slice.call(arguments,1))},FindN:function(a,e,k){for(var d=0,f=this.items.length;d<f;d++)if(this.items[d].name[a]===e){if(k.length){if(!this.items[d].menu)break;return this.items[d].menu.FindN(a,k[0],k.slice(1))}return this.items[d]}return null},IndexOf:function(a){return this.IndexOfN(1,a)},IndexOfId:function(a){return this.IndexOfN(0,a)},IndexOfN:function(a,e){for(var k=0,d=this.items.length;k<d;k++)if(this.items[k].name[a]===e)return k;return null}},{config:k,div:null,Close:function(a){return h.Event(a,this.menu||this.parentNode,this.menu?"Touchend":"Remove")},Remove:function(a){return h.Event(a,this,"Remove")},Mouseover:function(a){return h.Event(a,this,"Mouseover")},Mouseout:function(a){return h.Event(a,this,"Mouseout")},Mousedown:function(a){return h.Event(a,this,"Mousedown")},Mouseup:function(a){return h.Event(a,this,"Mouseup")},Touchstart:function(a){return h.Event(a,this,"Touchstart")},Touchend:function(a){return h.Event(a,this,"Touchend")},Event:function(a,e,k,d){if(h.skipMouseover&&"Mouseover"===k&&!d)return u(a);if(h.skipUp){if(k.match(/Mouseup|Touchend/))return delete h.skipUp,u(a);("Touchstart"===k||"Mousedown"===k&&!h.skipMousedown)&&delete h.skipUp}a||(a=window.event);return(d=e.menuItem)&&d[k]?d[k](a,e):null},BGSTYLE:{position:"absolute",left:0,top:0,"z-index":200,width:"100%",height:"100%",border:0,padding:0,margin:0},Background:function(a){a=g.addElement(document.body,"div",{style:this.BGSTYLE,id:"MathJax_MenuFrame"},[["div",{style:this.BGSTYLE,menuItem:a,onmousedown:this.Remove}]]);var e=a.firstChild;h.msieBackgroundBug&&(e.style.backgroundColor="white",e.style.filter="alpha(opacity\x3d0)");h.msieFixedPositionBug?(a.width=a.height=0,this.Resize(),attachEvent("onresize",this.Resize)):e.style.position="fixed";return a},Resize:function(){setTimeout(h.SetWH,0)},SetWH:function(){var a=document.getElementById("MathJax_MenuFrame");a&&(a=a.firstChild,a.style.width=a.style.height="1px",a.style.width=document.body.scrollWidth+"px",a.style.height=document.body.scrollHeight+"px")},saveCookie:function(){g.Cookie.Set("menu",this.cookie)},getCookie:function(){this.cookie=g.Cookie.Get("menu")},getImages:function(){h.isMobile&&((new Image).src=k.closeImg)}}),r=h.ITEM=MathJax.Object.Subclass({name:"",Create:function(a){if(!this.hidden){var e={onmouseover:h.Mouseover,onmouseout:h.Mouseout,onmouseup:h.Mouseup,onmousedown:h.Mousedown,ondragstart:u,onselectstart:u,onselectend:u,ontouchstart:h.Touchstart,ontouchend:h.Touchend,className:"MathJax_MenuItem",menuItem:this};this.disabled&&(e.className+=" MathJax_MenuDisabled");g.addElement(a,"div",e,this.Label(e,a))}},Name:function(){return l(this.name[0],this.name[1])},Mouseover:function(a,e){this.disabled||this.Activate(e);if(!this.menu||!this.menu.posted){for(var k=document.getElementById("MathJax_MenuFrame").childNodes,d=e.parentNode.childNodes,f=0,b=d.length;f<b;f++){var c=d[f].menuItem;c&&c.menu&&c.menu.posted&&c.Deactivate(d[f])}for(b=k.length-1;0<=b&&e.parentNode.menuItem!==k[b].menuItem;)k[b].menuItem.posted=!1,k[b].parentNode.removeChild(k[b]),b--;this.Timer&&!h.isMobile&&this.Timer(a,e)}},Mouseout:function(a,e){this.menu&&this.menu.posted||this.Deactivate(e);this.timer&&(clearTimeout(this.timer),delete this.timer)},Mouseup:function(a,e){return this.Remove(a,e)},Touchstart:function(a,e){return this.TouchEvent(a,e,"Mousedown")},Touchend:function(a,e){return this.TouchEvent(a,e,"Mouseup")},TouchEvent:function(a,e,k){this!==r.lastItem&&(r.lastMenu&&h.Event(a,r.lastMenu,"Mouseout"),h.Event(a,e,"Mouseover",!0),r.lastItem=this,r.lastMenu=e);if(this.nativeTouch)return null;h.Event(a,e,k);return!1},Remove:function(a,e){e=e.parentNode.menuItem;return e.Remove(a,e)},Activate:function(a){this.Deactivate(a);a.className+=" MathJax_MenuActive"},Deactivate:function(a){a.className=a.className.replace(/ MathJax_MenuActive/,"")},With:function(a){a&&c.Insert(this,a);return this}});h.ITEM.COMMAND=h.ITEM.Subclass({action:function(){},Init:function(a,e,k){a instanceof Array||(a=[a,a]);this.name=a;this.action=e;this.With(k)},Label:function(a,e){return[this.Name()]},Mouseup:function(a,e){this.disabled||(this.Remove(a,e),m.Post(["command",this]),this.action.call(this,a));return u(a)}});h.ITEM.SUBMENU=h.ITEM.Subclass({menu:null,marker:n&&!c.Browser.isSafari?"\u25b6":"\u25b8",Init:function(a,e){a instanceof Array||(a=[a,a]);this.name=a;var k=1;e instanceof h.ITEM||(this.With(e),k++);this.menu=h.apply(h,[].slice.call(arguments,k))},Label:function(a,e){this.menu.posted=!1;return[this.Name()+" ",["span",{className:"MathJax_MenuArrow"},[this.marker]]]},Timer:function(a,e){this.timer&&clearTimeout(this.timer);a={clientX:a.clientX,clientY:a.clientY};this.timer=setTimeout(d(["Mouseup",this,a,e]),k.delay)},Touchend:function(a,e){var k=this.menu.posted,d=this.SUPER(arguments).Touchend.apply(this,arguments);k&&(this.Deactivate(e),delete r.lastItem,delete r.lastMenu);return d},Mouseup:function(a,e){if(!this.disabled)if(this.menu.posted)for(var k=document.getElementById("MathJax_MenuFrame").childNodes,d=k.length-1;0<=d;){var f=k[d];f.menuItem.posted=!1;f.parentNode.removeChild(f);if(f.menuItem===this.menu)break;d--}else this.timer&&(clearTimeout(this.timer),delete this.timer),this.menu.Post(a,e);return u(a)}});h.ITEM.RADIO=h.ITEM.Subclass({variable:null,marker:n?"\u25cf":"\u2713",Init:function(a,e,k){a instanceof Array||(a=[a,a]);this.name=a;this.variable=e;this.With(k);null==this.value&&(this.value=this.name[0])},Label:function(a,e){var d={className:"MathJax_MenuRadioCheck"};k.settings[this.variable]!==this.value&&(d={style:{display:"none"}});return[["span",d,[this.marker]]," "+this.Name()]},Mouseup:function(a,e){if(!this.disabled){for(var d=e.parentNode.childNodes,f=0,b=d.length;f<b;f++){var c=d[f].menuItem;c&&c.variable===this.variable&&(d[f].firstChild.style.display="none")}e.firstChild.display="";k.settings[this.variable]=this.value;h.cookie[this.variable]=k.settings[this.variable];h.saveCookie();m.Post(["radio button",this])}this.Remove(a,e);this.action&&!this.disabled&&this.action.call(h,this);return u(a)}});h.ITEM.CHECKBOX=h.ITEM.Subclass({variable:null,marker:"\u2713",Init:function(a,e,k){a instanceof Array||(a=[a,a]);this.name=a;this.variable=e;this.With(k)},Label:function(a,e){var d={className:"MathJax_MenuCheck"};k.settings[this.variable]||(d={style:{display:"none"}});return[["span",d,[this.marker]]," "+this.Name()]},Mouseup:function(a,e){this.disabled||(e.firstChild.display=k.settings[this.variable]?"none":"",k.settings[this.variable]=!k.settings[this.variable],h.cookie[this.variable]=k.settings[this.variable],h.saveCookie(),m.Post(["checkbox",this]));this.Remove(a,e);this.action&&!this.disabled&&this.action.call(h,this);return u(a)}});h.ITEM.LABEL=h.ITEM.Subclass({Init:function(a,e){a instanceof Array||(a=[a,a]);this.name=a;this.With(e)},Label:function(a,e){delete a.onmouseover;delete a.onmouseout;delete a.onmousedown;a.className+=" MathJax_MenuLabel";return[this.Name()]}});h.ITEM.RULE=h.ITEM.Subclass({Label:function(a,e){delete a.onmouseover;delete a.onmouseout;delete a.onmousedown;a.className+=" MathJax_MenuRule";return null}});h.About=function(){var a=q["HTML-CSS"]||{},e=(a.imgFonts?"image":a.fontInUse?(a.webFonts?"web":"local")+" "+a.fontInUse:q.SVG?"web SVG":"generic")+" fonts",a=!a.webFonts||a.imgFonts?null:a.allowWebFonts.replace(/otf/,"woff or otf")+" fonts",d=["MathJax.js v"+MathJax.fileversion,["br"]];d.push(["div",{style:{"border-top":"groove 2px",margin:".25em 0"}}]);h.About.GetJax(d,MathJax.InputJax,["InputJax","%1 Input Jax v%2"]);h.About.GetJax(d,MathJax.OutputJax,["OutputJax","%1 Output Jax v%2"]);h.About.GetJax(d,MathJax.ElementJax,["ElementJax","%1 Element Jax v%2"]);d.push(["div",{style:{"border-top":"groove 2px",margin:".25em 0"}}]);h.About.GetJax(d,MathJax.Extension,["Extension","%1 Extension v%2"],!0);d.push(["div",{style:{"border-top":"groove 2px",margin:".25em 0"}}],["center",{},[c.Browser+" v"+c.Browser.version+(a?" \u2014 "+l(a.replace(/ /g,""),a):"")]]);h.About.div=h.Background(h.About);e=g.addElement(h.About.div,"div",{id:"MathJax_About"},[["b",{style:{fontSize:"120%"}},["MathJax"]]," v"+MathJax.version,["br"],l(e.replace(/ /g,""),"using "+e),["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"}},d],["br"],["br"],["a",{href:"http://www.mathjax.org/"},["www.mathjax.org"]],["img",{src:k.closeImg,style:{width:"21px",height:"21px",position:"absolute",top:".2em",right:".2em"},onclick:h.About.Remove}]]);MathJax.Localization.setCSS(e);a=document.documentElement||{};a=window.innerHeight||a.clientHeight||a.scrollHeight||0;h.prototype.msieAboutBug?(e.style.width="20em",e.style.position="absolute",e.style.left=Math.floor((document.documentElement.scrollWidth-e.offsetWidth)/2)+"px",e.style.top=Math.floor((a-e.offsetHeight)/3)+document.body.scrollTop+"px"):(e.style.marginLeft=Math.floor(-e.offsetWidth/2)+"px",e.style.top=Math.floor((a-e.offsetHeight)/3)+"px")};h.About.Remove=function(a){h.About.div&&(document.body.removeChild(h.About.div),delete h.About.div)};h.About.GetJax=function(a,e,k,d){var f=[],b;for(b in e)e.hasOwnProperty(b)&&e[b]&&(d&&e[b].version||e[b].isa&&e[b].isa(e))&&f.push(l(k[0],k[1],e[b].id||b,e[b].version));f.sort();e=0;for(k=f.length;e<k;e++)a.push(f[e],["br"]);return a};h.Help=function(){b.Require("[MathJax]/extensions/HelpDialog.js",function(){MathJax.Extension.Help.Dialog()})};h.ShowSource=function(a){a||(a=window.event);var e={screenX:a.screenX,screenY:a.screenY};if(h.jax)if("MathML"===this.format){var k=MathJax.ElementJax.mml;if(k&&"undefined"!==typeof k.mbase.prototype.toMathML)try{h.ShowSource.Text(h.jax.root.toMathML(),a)}catch(f){if(!f.restart)throw f;d.After([this,h.ShowSource,e],f.restart)}else b.loadingToMathML||(b.loadingToMathML=!0,h.ShowSource.Window(a),d.Queue(b.Require("[MathJax]/extensions/toMathML.js"),function(){delete b.loadingToMathML;k.mbase.prototype.toMathML||(k.mbase.prototype.toMathML=function(){})},[this,h.ShowSource,e]))}else"Error"===this.format?h.ShowSource.Text(h.jax.errorText,a):null==h.jax.originalText?alert(l("NoOriginalForm","No original form available")):h.ShowSource.Text(h.jax.originalText,a)};h.ShowSource.Window=function(a){if(!h.ShowSource.w){a=[];var e=k.windowSettings,d;for(d in e)e.hasOwnProperty(d)&&a.push(d+"\x3d"+e[d]);h.ShowSource.w=window.open("","_blank",a.join(","))}return h.ShowSource.w};h.ShowSource.Text=function(a,e){var k=h.ShowSource.Window(e);delete h.ShowSource.w;a=a.replace(/^\s*/,"").replace(/\s*$/,"");a=a.replace(/&/g,"\x26amp;").replace(/</g,"\x26lt;").replace(/>/g,"\x26gt;");var d=l("EqSource","MathJax Equation Source");if(h.isMobile)k.document.open(),k.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"),k.document.write("\x3cpre\x3e"+a+"\x3c/pre\x3e"),k.document.write("\x3chr\x3e\x3cinput type\x3d'button' value\x3d'"+l("Close","Close")+"' onclick\x3d'window.close()' /\x3e"),k.document.write("\x3c/body\x3e\x3c/html\x3e"),k.document.close();else{k.document.open();k.document.write("\x3chtml\x3e\x3chead\x3e\x3ctitle\x3e"+d+"\x3c/title\x3e\x3c/head\x3e\x3cbody style\x3d'font-size:85%'\x3e");k.document.write("\x3ctable\x3e\x3ctr\x3e\x3ctd\x3e\x3cpre\x3e"+a+"\x3c/pre\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e");k.document.write("\x3c/body\x3e\x3c/html\x3e");k.document.close();var f=k.document.body.firstChild;setTimeout(function(){var a=k.outerHeight-k.innerHeight||30,d=k.outerWidth-k.innerWidth||30,d=Math.max(100,Math.min(Math.floor(.5*screen.width),f.offsetWidth+d+25)),a=Math.max(40,Math.min(Math.floor(.5*screen.height),f.offsetHeight+a+25));k.resizeTo(d,a);e&&null!=e.screenX&&(d=Math.max(0,Math.min(e.screenX-Math.floor(d/2),screen.width-d-20)),a=Math.max(0,Math.min(e.screenY-Math.floor(a/2),screen.height-a-20)),k.moveTo(d,a))},50)}};h.Scale=function(){var a=q["HTML-CSS"],e=q.NativeMML,k=q.SVG,d=(a||e||k||{config:{scale:100}}).config.scale,f=prompt(l("ScaleMath","Scale all mathematics (compared to surrounding text) by"),d+"%");f&&(f.match(/^\s*\d+(\.\d*)?\s*%?\s*$/)?(f=parseFloat(f))?f!==d&&(a&&(a.config.scale=f),e&&(e.config.scale=f),k&&(k.config.scale=f),h.cookie.scale=f,h.saveCookie(),c.Reprocess()):alert(l("NonZeroScale","The scale should not be zero")):alert(l("PercentScale","The scale should be a percentage (e.g., 120%%)")))};h.Zoom=function(){MathJax.Extension.MathZoom||b.Require("[MathJax]/extensions/MathZoom.js")};h.Renderer=function(){var e=c.outputJax["jax/mml"];if(e[0]!==k.settings.renderer){var d=c.Browser,f,b=h.Renderer.Messages,u;switch(k.settings.renderer){case "NativeMML":k.settings.warnedMML||(d.isChrome&&"24."!==d.version.substr(0,3)?f=b.MML.WebKit:d.isSafari&&!d.versionAtLeast("5.0")?f=b.MML.WebKit:d.isMSIE?d.hasMathPlayer||(f=b.MML.MSIE):f=b.MML[d],u="warnedMML");break;case "SVG":k.settings.warnedSVG||!d.isMSIE||a||(f=b.SVG.MSIE)}if(f){f=l(f[0],f[1]);f=f+"\n\n"+l("SwitchAnyway","Switch the renderer anyway?\n\n(Press OK to switch, CANCEL to continue with the current renderer)");h.cookie.renderer=e[0].id;h.saveCookie();if(!confirm(f)){h.cookie.renderer=k.settings.renderer=g.Cookie.Get("menu").renderer;h.saveCookie();return}u&&(h.cookie.warned=k.settings.warned=!0);h.cookie.renderer=k.settings.renderer;h.saveCookie()}c.Queue(["setRenderer",c,k.settings.renderer,"jax/mml"],["Rerender",c])}};h.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."]}};h.Font=function(){q["HTML-CSS"]&&document.location.reload()};h.Locale=function(){MathJax.Localization.setLocale(k.settings.locale);MathJax.Hub.Queue(["Reprocess",MathJax.Hub])};h.LoadLocale=function(){var a=prompt(l("LoadURL","Load translation data from this URL:"));a&&(a.match(/\.js$/)||alert(l("BadURL","The URL should be for a javascript file that defines MathJax translation data. Javascript file names should end with '.js'")),b.Require(a,function(e){e!=b.STATUS.OK&&alert(l("BadData","Failed to load translation data from %1",a))}))};h.MPEvents=function(e){var d=k.settings.discoverable,f=h.MPEvents.Messages;a?!d&&"Menu Events"===e.name[1]&&k.settings.mpContext&&alert(l.apply(l,f.IE9warning)):k.settings.mpMouse&&!confirm(l.apply(l,f.IE8warning))?(delete h.cookie.mpContext,delete k.settings.mpContext,delete h.cookie.mpMouse,delete k.settings.mpMouse,h.saveCookie()):(k.settings.mpContext=k.settings.mpMouse,h.cookie.mpContext=h.cookie.mpMouse=k.settings.mpMouse,h.saveCookie(),MathJax.Hub.Queue(["Rerender",MathJax.Hub]))};h.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."]};c.Browser.Select({MSIE:function(e){var d="BackCompat"===document.compatMode;e=e.versionAtLeast("8.0")&&7<document.documentMode;h.Augment({margin:20,msieBackgroundBug:9>document.documentMode,msieFixedPositionBug:d||!e,msieAboutBug:d});a&&(delete k.styles["#MathJax_About"].filter,delete k.styles[".MathJax_Menu"].filter)},Firefox:function(a){h.skipMouseover=a.isMobile&&a.versionAtLeast("6.0");h.skipMousedown=a.isMobile}});h.isMobile=c.Browser.isMobile;h.noContextMenu=c.Browser.noContextMenu;h.CreateLocaleMenu=function(){if(h.menu){var a=h.menu.Find("Language").menu,e=a.items,k=[],d=MathJax.Localization.strings,f;for(f in d)d.hasOwnProperty(f)&&k.push(f);k=k.sort();a.items=[];f=0;for(var b=k.length;f<b;f++){var c=d[k[f]].menuTitle,c=c?c+(" ("+k[f]+")"):k[f];a.items.push(r.RADIO([k[f],c],"locale",{action:h.Locale}))}a.items.push(e[e.length-2],e[e.length-1])}};c.Register.StartupHook("End Config",function(){k.settings=c.config.menuSettings;"undefined"!==typeof k.settings.showRenderer&&(k.showRenderer=k.settings.showRenderer);"undefined"!==typeof k.settings.showFontMenu&&(k.showFontMenu=k.settings.showFontMenu);"undefined"!==typeof k.settings.showContext&&(k.showContext=k.settings.showContext);h.getCookie();h.menu=h(r.SUBMENU(["Show","Show Math As"],r.COMMAND(["MathMLcode","MathML Code"],h.ShowSource,{nativeTouch:!0,format:"MathML"}),r.COMMAND(["Original","Original Form"],h.ShowSource,{nativeTouch:!0}),r.RULE(),r.CHECKBOX(["texHints","Show TeX hints in MathML"],"texHints")),r.RULE(),r.SUBMENU(["Settings","Math Settings"],r.SUBMENU(["ZoomTrigger","Zoom Trigger"],r.RADIO(["Hover","Hover"],"zoom",{action:h.Zoom}),r.RADIO(["Click","Click"],"zoom",{action:h.Zoom}),r.RADIO(["DoubleClick","Double-Click"],"zoom",{action:h.Zoom}),r.RADIO(["NoZoom","No Zoom"],"zoom",{value:"None"}),r.RULE(),r.LABEL(["TriggerRequires","Trigger Requires:"]),r.CHECKBOX(c.Browser.isMac?["Option","Option"]:["Alt","Alt"],"ALT"),r.CHECKBOX(["Command","Command"],"CMD",{hidden:!c.Browser.isMac}),r.CHECKBOX(["Control","Control"],"CTRL",{hidden:c.Browser.isMac}),r.CHECKBOX(["Shift","Shift"],"Shift")),r.SUBMENU(["ZoomFactor","Zoom Factor"],r.RADIO("125%","zscale"),r.RADIO("133%","zscale"),r.RADIO("150%","zscale"),r.RADIO("175%","zscale"),r.RADIO("200%","zscale"),r.RADIO("250%","zscale"),r.RADIO("300%","zscale"),r.RADIO("400%","zscale")),r.RULE(),r.SUBMENU(["Renderer","Math Renderer"],{hidden:!k.showRenderer},r.RADIO("HTML-CSS","renderer",{action:h.Renderer}),r.RADIO("MathML","renderer",{action:h.Renderer,value:"NativeMML"}),r.RADIO("SVG","renderer",{action:h.Renderer})),r.SUBMENU("MathPlayer",{hidden:!c.Browser.isMSIE||!k.showMathPlayer,disabled:!c.Browser.hasMathPlayer},r.LABEL(["MPHandles","Let MathPlayer Handle:"]),r.CHECKBOX(["MenuEvents","Menu Events"],"mpContext",{action:h.MPEvents,hidden:!a}),r.CHECKBOX(["MouseEvents","Mouse Events"],"mpMouse",{action:h.MPEvents,hidden:!a}),r.CHECKBOX(["MenuAndMouse","Mouse and Menu Events"],"mpMouse",{action:h.MPEvents,hidden:a})),r.SUBMENU(["FontPrefs","Font Preference"],{hidden:!k.showFontMenu},r.LABEL(["ForHTMLCSS","For HTML-CSS:"]),r.RADIO(["Auto","Auto"],"font",{action:h.Font}),r.RULE(),r.RADIO(["TeXLocal","TeX (local)"],"font",{action:h.Font}),r.RADIO(["TeXWeb","TeX (web)"],"font",{action:h.Font}),r.RADIO(["TeXImage","TeX (image)"],"font",{action:h.Font}),r.RULE(),r.RADIO(["STIXlocal","STIX (local)"],"font",{action:h.Font})),r.SUBMENU(["ContextMenu","Contextual Menu"],{hidden:!k.showContext},r.RADIO("MathJax","context"),r.RADIO(["Browser","Browser"],"context")),r.COMMAND(["Scale","Scale All Math ..."],h.Scale),r.RULE().With({hidden:!k.showDiscoverable,name:["","discover_rule"]}),r.CHECKBOX(["Discoverable","Highlight on Hover"],"discoverable",{hidden:!k.showDiscoverable})),r.SUBMENU(["Locale","Language"],{hidden:!k.showLocale},r.RADIO("en","locale",{action:h.Locale}),r.RULE().With({hidden:!k.showLocaleURL,name:["","localURL_rule"]}),r.COMMAND(["LoadLocale","Load from URL ..."],h.LoadLocale,{hidden:!k.showLocaleURL})),r.RULE(),r.COMMAND(["About","About MathJax"],h.About),r.COMMAND(["Help","MathJax Help"],h.Help));if(h.isMobile){var e=k.settings,d=h.menu.Find("Math Settings","Zoom Trigger").menu;d.items[0].disabled=d.items[1].disabled=!0;if("Hover"===e.zoom||"Click"==e.zoom)e.zoom="None";d.items=d.items.slice(0,4);navigator.appVersion.match(/[ (]Android[) ]/)&&h.ITEM.SUBMENU.Augment({marker:"\u00bb"})}h.CreateLocaleMenu()});h.showRenderer=function(a){h.cookie.showRenderer=k.showRenderer=a;h.saveCookie();h.menu.Find("Math Settings","Math Renderer").hidden=!a};h.showMathPlayer=function(a){h.cookie.showMathPlayer=k.showMathPlayer=a;h.saveCookie();h.menu.Find("Math Settings","MathPlayer").hidden=!a};h.showFontMenu=function(a){h.cookie.showFontMenu=k.showFontMenu=a;h.saveCookie();h.menu.Find("Math Settings","Font Preference").hidden=!a};h.showContext=function(a){h.cookie.showContext=k.showContext=a;h.saveCookie();h.menu.Find("Math Settings","Contextual Menu").hidden=!a};h.showDiscoverable=function(a){h.cookie.showDiscoverable=k.showDiscoverable=a;h.saveCookie();h.menu.Find("Math Settings","Highlight on Hover").hidden=!a;h.menu.Find("Math Settings","discover_rule").hidden=!a};h.showLocale=function(a){h.cookie.showLocale=k.showLocale=a;h.saveCookie();h.menu.Find("Language").hidden=!a};MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",function(){MathJax.OutputJax["HTML-CSS"].config.imageFont||(h.menu.Find("Math Settings","Font Preference","TeX (image)").disabled=!0)});d.Queue(c.Register.StartupHook("End Config",{}),["getImages",h],["Styles",b,k.styles],["Post",c.Startup.signal,"MathMenu Ready"],["loadComplete",b,"[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 c=0,g=this.root.attrNames.length;c<g;c++)if("mode"===this.root.attrNames[c]){this.root.attrNames.splice(c,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(c){c.mbase=MathJax.Object.Subclass({type:"base",isToken:!1,defaults:{mathbackground:c.INHERIT,mathcolor:c.INHERIT},noInherit:{},noInheritAttribute:{texClass:!0},linebreakContainer:!1,Init:function(){this.data=[];!this.inferRow||1===arguments.length&&arguments[0].inferred||this.Append(c.mrow().With({inferred:!0,notParent:!0}));this.Append.apply(this,arguments)},With:function(d){for(var b in d)d.hasOwnProperty(b)&&(this[b]=d[b]);return this},Append:function(){if(this.inferRow&&this.data.length)this.data[0].Append.apply(this.data[0],arguments);else for(var d=0,b=arguments.length;d<b;d++)this.SetData(this.data.length,arguments[d])},SetData:function(d,b){null!=b&&(b instanceof c.mbase||(b=this.isToken?c.chars(b):c.mtext(b)),b.parent=this,b.setInherit(this.inheritFromMe?this:this.inherit));this.data[d]=b},Parent:function(){for(var d=this.parent;d&&d.notParent;)d=d.parent;return d},Get:function(d,b){if(null!=this[d])return this[d];if(this.attr&&null!=this.attr[d])return this.attr[d];var g=this.Parent();if(g&&null!=g["adjustChild_"+d])return g["adjustChild_"+d](this.childPosition(),b);for(var l=g=this.inherit;g;){l=g[d];null==l&&g.attr&&(l=g.attr[d]);if(null!=l&&g.noInheritAttribute&&!g.noInheritAttribute[d]){var n=g.noInherit[this.type];if(!n||!n[d])return l}l=g;g=g.inherit}if(!b){if(this.defaults[d]===c.AUTO)return this.autoDefault(d);if(this.defaults[d]!==c.INHERIT&&null!=this.defaults[d])return this.defaults[d];if(l)return l.defaults[d]}return null},hasValue:function(d){return null!=this.Get(d,!0)},getValues:function(){for(var d={},b=0,c=arguments.length;b<c;b++)d[arguments[b]]=this.Get(arguments[b]);return d},adjustChild_scriptlevel:function(d,b){return this.Get("scriptlevel",b)},adjustChild_displaystyle:function(d,b){return this.Get("displaystyle",b)},adjustChild_texprimestyle:function(d,b){return this.Get("texprimestyle",b)},childPosition:function(){for(var d=this,b=d.parent;b.notParent;)d=b,b=d.parent;for(var c=0,g=b.data.length;c<g;c++)if(b.data[c]===d)return c;return null},setInherit:function(d){if(d!==this.inherit&&null==this.inherit){this.inherit=d;for(var b=0,c=this.data.length;b<c;b++)this.data[b]&&this.data[b].setInherit&&this.data[b].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:c.TEXCLASS.NONE,b=this.Get("texClass")||c.TEXCLASS.ORD;if(d===c.TEXCLASS.NONE||b===c.TEXCLASS.NONE)return"";d===c.TEXCLASS.VCENTER&&(d=c.TEXCLASS.ORD);b===c.TEXCLASS.VCENTER&&(b=c.TEXCLASS.ORD);d=this.TEXSPACE[d][b];return 0<this.prevLevel&&0<this.Get("scriptlevel")&&0<=d?"":this.TEXSPACELENGTH[Math.abs(d)]},TEXSPACELENGTH:["",c.LENGTH.THINMATHSPACE,c.LENGTH.MEDIUMMATHSPACE,c.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,b=this.data.length;d<b;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,b=this.data.length;d<b;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(c.mi)?(d=this.data[0].setTeXclass(d),this.updateTeXclass(this.Core())):(this.data[0].setTeXclass(),d=this):d=this;for(var b=1,g=this.data.length;b<g;b++)this.data[b]&&this.data[b].setTeXclass();return d},setSeparateTeXclasses:function(d){this.getPrevClass(d);d=0;for(var b=this.data.length;d<b;d++)this.data[d]&&this.data[d].setTeXclass();this.isEmbellished()&&this.updateTeXclass(this.Core());return this}});c.mi=c.mbase.Subclass({type:"mi",isToken:!0,texClass:c.TEXCLASS.ORD,defaults:{mathvariant:c.AUTO,mathsize:c.INHERIT,mathbackground:c.INHERIT,mathcolor:c.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)?c.VARIANT.ITALIC:c.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===c.TEXCLASS.ORD&&(this.texClass=c.TEXCLASS.OP,this.autoOP=!0);return this}});c.mn=c.mbase.Subclass({type:"mn",isToken:!0,texClass:c.TEXCLASS.ORD,defaults:{mathvariant:c.INHERIT,mathsize:c.INHERIT,mathbackground:c.INHERIT,mathcolor:c.INHERIT}});c.mo=c.mbase.Subclass({type:"mo",isToken:!0,defaults:{mathvariant:c.INHERIT,mathsize:c.INHERIT,mathbackground:c.INHERIT,mathcolor:c.INHERIT,form:c.AUTO,fence:c.AUTO,separator:c.AUTO,lspace:c.AUTO,rspace:c.AUTO,stretchy:c.AUTO,symmetric:c.AUTO,maxsize:c.AUTO,minsize:c.AUTO,largeop:c.AUTO,movablelimits:c.AUTO,accent:c.AUTO,linebreak:c.LINEBREAK.AUTO,lineleading:c.INHERIT,linebreakstyle:c.AUTO,linebreakmultchar:c.INHERIT,indentalign:c.INHERIT,indentshift:c.INHERIT,indenttarget:c.INHERIT,indentalignfirst:c.INHERIT,indentshiftfirst:c.INHERIT,indentalignlast:c.INHERIT,indentshiftlast:c.INHERIT,texClass:c.AUTO},defaultDef:{form:c.FORM.INFIX,fence:!1,separator:!1,lspace:c.LENGTH.THICKMATHSPACE,rspace:c.LENGTH.THICKMATHSPACE,stretchy:!1,symmetric:!0,maxsize:c.SIZE.INFINITY,minsize:"0em",largeop:!1,movablelimits:!1,accent:!1,linebreak:c.LINEBREAK.AUTO,lineleading:"1ex",linebreakstyle:"before",indentalign:c.INDENTALIGN.AUTO,indentshift:"0",indenttarget:"",indentalignfirst:c.INDENTALIGN.INDENTALIGN,indentshiftfirst:c.INDENTSHIFT.INDENTSHIFT,indentalignlast:c.INDENTALIGN.INDENTALIGN,indentshiftlast:c.INDENTSHIFT.INDENTSHIFT,texClass:c.TEXCLASS.REL},SPACE_ATTR:{lspace:1,rspace:2,form:4},useMMLspacing:7,autoDefault:function(d,b){var g=this.def;if(!g){if("form"===d)return this.useMMLspacing&=~this.SPACE_ATTR.form,this.getForm();for(var l=this.data.join(""),n=[this.Get("form"),c.FORM.INFIX,c.FORM.POSTFIX,c.FORM.PREFIX],p=0,a=n.length;p<a;p++){var e=this.OPTABLE[n[p]][l];if(e){g=this.makeDef(e);break}}g||(g=this.CheckRange(l));!g&&b?g={}:(g||(g=MathJax.Hub.Insert({},this.defaultDef)),g.form=n[0],this.def=g)}this.useMMLspacing&=~(this.SPACE_ATTR[d]||0);return null!=g[d]?g[d]:b?"":this.defaultDef[d]},CheckRange:function(d){var b=d.charCodeAt(0);55296<=b&&56320>b&&(b=(b-55296<<10)+(d.charCodeAt(1)-56320)+65536);for(var g=0,l=this.RANGES.length;g<l&&this.RANGES[g][0]<=b;g++)if(b<=this.RANGES[g][1])return this.RANGES[g][3]&&(b=c.optableDir+"/"+this.RANGES[g][3]+".js",this.RANGES[g][3]=null,MathJax.Hub.RestartAfter(MathJax.Ajax.Require(b))),g=c.TEXCLASSNAMES[this.RANGES[g][2]],g=this.OPTABLE.infix[d]=c.mo.OPTYPES["BIN"===g?"BIN3":g],this.makeDef(g);return null},makeDef:function(d){null==d[2]&&(d[2]=this.defaultDef.texClass);d[3]||(d[3]={});var b=MathJax.Hub.Insert({},d[3]);b.lspace=this.SPACE[d[0]];b.rspace=this.SPACE[d[1]];b.texClass=d[2];b.texClass===c.TEXCLASS.REL&&(this.movablelimits||this.data.join("").match(/^[a-z]+$/i))&&(b.texClass=c.TEXCLASS.OP);return b},getForm:function(){for(var d=this,b=this.parent,g=this.Parent();g&&g.isEmbellished();)d=b,b=g.parent,g=g.Parent();if(b&&"mrow"===b.type&&1!==b.NonSpaceLength()){if(b.FirstNonSpace()===d)return c.FORM.PREFIX;if(b.LastNonSpace()===d)return c.FORM.POSTFIX}return c.FORM.INFIX},isEmbellished:function(){return!0},hasNewline:function(){return this.Get("linebreak")===c.LINEBREAK.NEWLINE},setTeXclass:function(d){this.getValues("lspace","rspace");if(this.useMMLspacing)return this.texClass=c.TEXCLASS.NONE,this;this.texClass=this.Get("texClass");return"\u2061"===this.data.join("")?(d&&(d.texClass=c.TEXCLASS.OP),this.texClass=this.prevClass=c.TEXCLASS.NONE,d):this.adjustTeXclass(d)},adjustTeXclass:function(d){if(this.texClass===c.TEXCLASS.NONE)return d;d?(!d.autoOP||this.texClass!==c.TEXCLASS.BIN&&this.texClass!==c.TEXCLASS.REL||(d.texClass=c.TEXCLASS.ORD),this.prevClass=d.texClass||c.TEXCLASS.ORD,this.prevLevel=d.Get("scriptlevel")):this.prevClass=c.TEXCLASS.NONE;this.texClass!==c.TEXCLASS.BIN||this.prevClass!==c.TEXCLASS.NONE&&this.prevClass!==c.TEXCLASS.BIN&&this.prevClass!==c.TEXCLASS.OP&&this.prevClass!==c.TEXCLASS.REL&&this.prevClass!==c.TEXCLASS.OPEN&&this.prevClass!==c.TEXCLASS.PUNCT?this.prevClass!==c.TEXCLASS.BIN||this.texClass!==c.TEXCLASS.REL&&this.texClass!==c.TEXCLASS.CLOSE&&this.texClass!==c.TEXCLASS.PUNCT||(d.texClass=this.prevClass=c.TEXCLASS.ORD):this.texClass=c.TEXCLASS.ORD;return this}});c.mtext=c.mbase.Subclass({type:"mtext",isToken:!0,isSpacelike:function(){return!0},texClass:c.TEXCLASS.ORD,defaults:{mathvariant:c.INHERIT,mathsize:c.INHERIT,mathbackground:c.INHERIT,mathcolor:c.INHERIT}});c.mspace=c.mbase.Subclass({type:"mspace",isToken:!0,isSpacelike:function(){return!0},defaults:{mathbackground:c.INHERIT,mathcolor:c.INHERIT,width:"0em",height:"0ex",depth:"0ex",linebreak:c.LINEBREAK.AUTO},hasDimAttr:function(){return this.hasValue("width")||this.hasValue("height")||this.hasValue("depth")},hasNewline:function(){return!this.hasDimAttr()&&this.Get("linebreak")===c.LINEBREAK.NEWLINE}});c.ms=c.mbase.Subclass({type:"ms",isToken:!0,texClass:c.TEXCLASS.ORD,defaults:{mathvariant:c.INHERIT,mathsize:c.INHERIT,mathbackground:c.INHERIT,mathcolor:c.INHERIT,lquote:'"',rquote:'"'}});c.mglyph=c.mbase.Subclass({type:"mglyph",isToken:!0,texClass:c.TEXCLASS.ORD,defaults:{mathbackground:c.INHERIT,mathcolor:c.INHERIT,alt:"",src:"",width:c.AUTO,height:c.AUTO,valign:"0em"}});c.mrow=c.mbase.Subclass({type:"mrow",isSpacelike:c.mbase.childrenSpacelike,inferred:!1,notParent:!1,isEmbellished:function(){for(var d=!1,b=0,c=this.data.length;b<c;b++)if(null!=this.data[b])if(this.data[b].isEmbellished()){if(d)return!1;d=!0;this.core=b}else if(!this.data[b].isSpacelike())return!1;return d},NonSpaceLength:function(){for(var b=0,c=0,g=this.data.length;c<g;c++)this.data[c]&&!this.data[c].isSpacelike()&&b++;return b},FirstNonSpace:function(){for(var b=0,c=this.data.length;b<c;b++)if(this.data[b]&&!this.data[b].isSpacelike())return this.data[b];return null},LastNonSpace:function(){for(var b=this.data.length-1;0<=b;b--)if(this.data[0]&&!this.data[b].isSpacelike())return this.data[b];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(b){for(var c=0,g=this.data.length;c<g;c++)this.data[c]&&(b=this.data[c].setTeXclass(b));this.data[0]&&this.updateTeXclass(this.data[0]);return b}});c.mfrac=c.mbase.Subclass({type:"mfrac",num:0,den:1,linebreakContainer:!0,texClass:c.TEXCLASS.INNER,isEmbellished:c.mbase.childEmbellished,Core:c.mbase.childCore,CoreMO:c.mbase.childCoreMO,defaults:{mathbackground:c.INHERIT,mathcolor:c.INHERIT,linethickness:c.LINETHICKNESS.MEDIUM,numalign:c.ALIGN.CENTER,denomalign:c.ALIGN.CENTER,bevelled:!1},adjustChild_displaystyle:function(b){return!1},adjustChild_scriptlevel:function(b){b=this.Get("scriptlevel");(!this.Get("displaystyle")||0<b)&&b++;return b},adjustChild_texprimestyle:function(b){return b==this.den?!0:this.Get("texprimestyle")},setTeXclass:c.mbase.setSeparateTeXclasses});c.msqrt=c.mbase.Subclass({type:"msqrt",inferRow:!0,linebreakContainer:!0,texClass:c.TEXCLASS.ORD,setTeXclass:c.mbase.setSeparateTeXclasses,adjustChild_texprimestyle:function(b){return!0}});c.mroot=c.mbase.Subclass({type:"mroot",linebreakContainer:!0,texClass:c.TEXCLASS.ORD,adjustChild_displaystyle:function(b){return 1===b?!1:this.Get("displaystyle")},adjustChild_scriptlevel:function(b){var c=this.Get("scriptlevel");1===b&&(c+=2);return c},adjustChild_texprimestyle:function(b){return 0===b?!0:this.Get("texprimestyle")},setTeXclass:c.mbase.setSeparateTeXclasses});c.mstyle=c.mbase.Subclass({type:"mstyle",isSpacelike:c.mbase.childrenSpacelike,isEmbellished:c.mbase.childEmbellished,Core:c.mbase.childCore,CoreMO:c.mbase.childCoreMO,inferRow:!0,defaults:{scriptlevel:c.INHERIT,displaystyle:c.INHERIT,scriptsizemultiplier:Math.sqrt(.5),scriptminsize:"8pt",mathbackground:c.INHERIT,mathcolor:c.INHERIT,infixlinebreakstyle:c.LINEBREAKSTYLE.BEFORE,decimalseparator:"."},adjustChild_scriptlevel:function(b){b=this.scriptlevel;if(null==b)b=this.Get("scriptlevel");else if(String(b).match(/^ *[-+]/)){delete this.scriptlevel;var c=this.Get("scriptlevel");this.scriptlevel=b;b=c+parseInt(b)}return b},inheritFromMe:!0,noInherit:{mpadded:{width:!0,height:!0,depth:!0,lspace:!0,voffset:!0},mtable:{width:!0,height:!0,depth:!0,align:!0}},setTeXclass:c.mbase.setChildTeXclass});c.merror=c.mbase.Subclass({type:"merror",inferRow:!0,linebreakContainer:!0,texClass:c.TEXCLASS.ORD});c.mpadded=c.mbase.Subclass({type:"mpadded",inferRow:!0,isSpacelike:c.mbase.childrenSpacelike,isEmbellished:c.mbase.childEmbellished,Core:c.mbase.childCore,CoreMO:c.mbase.childCoreMO,defaults:{mathbackground:c.INHERIT,mathcolor:c.INHERIT,width:"",height:"",depth:"",lspace:0,voffset:0},setTeXclass:c.mbase.setChildTeXclass});c.mphantom=c.mbase.Subclass({type:"mphantom",texClass:c.TEXCLASS.ORD,inferRow:!0,isSpacelike:c.mbase.childrenSpacelike,isEmbellished:c.mbase.childEmbellished,Core:c.mbase.childCore,CoreMO:c.mbase.childCoreMO,setTeXclass:c.mbase.setChildTeXclass});c.mfenced=c.mbase.Subclass({type:"mfenced",defaults:{mathbackground:c.INHERIT,mathcolor:c.INHERIT,open:"(",close:")",separators:","},texClass:c.TEXCLASS.OPEN,setTeXclass:function(b){this.getPrevClass(b);var g=this.getValues("open","close","separators");g.open=g.open.replace(/[ \t\n\r]/g,"");g.close=g.close.replace(/[ \t\n\r]/g,"");g.separators=g.separators.replace(/[ \t\n\r]/g,"");""!==g.open&&(this.SetData("open",c.mo(g.open).With({stretchy:!0,texClass:c.TEXCLASS.OPEN})),b=this.data.open.setTeXclass(b));if(""!==g.separators)for(;g.separators.length<this.data.length;)g.separators+=g.separators.charAt(g.separators.length-1);this.data[0]&&(b=this.data[0].setTeXclass(b));for(var m=1,l=this.data.length;m<l;m++)this.data[m]&&(""!==g.separators&&(this.SetData("sep"+m,c.mo(g.separators.charAt(m-1))),b=this.data["sep"+m].setTeXclass(b)),b=this.data[m].setTeXclass(b));""!==g.close&&(this.SetData("close",c.mo(g.close).With({stretchy:!0,texClass:c.TEXCLASS.CLOSE})),b=this.data.close.setTeXclass(b));this.updateTeXclass(this.data.open);return b}});c.menclose=c.mbase.Subclass({type:"menclose",inferRow:!0,linebreakContainer:!0,defaults:{mathbackground:c.INHERIT,mathcolor:c.INHERIT,notation:c.NOTATION.LONGDIV,texClass:c.TEXCLASS.ORD},setTeXclass:c.mbase.setSeparateTeXclasses});c.msubsup=c.mbase.Subclass({type:"msubsup",base:0,sub:1,sup:2,isEmbellished:c.mbase.childEmbellished,Core:c.mbase.childCore,CoreMO:c.mbase.childCoreMO,defaults:{mathbackground:c.INHERIT,mathcolor:c.INHERIT,subscriptshift:"",superscriptshift:"",texClass:c.AUTO},autoDefault:function(b){return"texClass"===b?this.isEmbellished()?this.CoreMO().Get(b):c.TEXCLASS.ORD:0},adjustChild_displaystyle:function(b){return 0<b?!1:this.Get("displaystyle")},adjustChild_scriptlevel:function(b){var c=this.Get("scriptlevel");0<b&&c++;return c},adjustChild_texprimestyle:function(b){return b===this.sub?!0:this.Get("texprimestyle")},setTeXclass:c.mbase.setBaseTeXclasses});c.msub=c.msubsup.Subclass({type:"msub"});c.msup=c.msubsup.Subclass({type:"msup",sub:2,sup:1});c.mmultiscripts=c.msubsup.Subclass({type:"mmultiscripts",adjustChild_texprimestyle:function(b){return 1===b%2?!0:this.Get("texprimestyle")}});c.mprescripts=c.mbase.Subclass({type:"mprescripts"});c.none=c.mbase.Subclass({type:"none"});c.munderover=c.mbase.Subclass({type:"munderover",base:0,under:1,over:2,sub:1,sup:2,ACCENTS:["","accentunder","accent"],linebreakContainer:!0,isEmbellished:c.mbase.childEmbellished,Core:c.mbase.childCore,CoreMO:c.mbase.childCoreMO,defaults:{mathbackground:c.INHERIT,mathcolor:c.INHERIT,accent:c.AUTO,accentunder:c.AUTO,align:c.ALIGN.CENTER,texClass:c.AUTO,subscriptshift:"",superscriptshift:""},autoDefault:function(b){return"texClass"===b?this.isEmbellished()?this.CoreMO().Get(b):c.TEXCLASS.ORD:"accent"===b&&this.data[this.over]?this.data[this.over].CoreMO().Get("accent"):"accentunder"===b&&this.data[this.under]?this.data[this.under].CoreMO().Get("accent"):!1},adjustChild_displaystyle:function(b){return 0<b?!1:this.Get("displaystyle")},adjustChild_scriptlevel:function(b){var c=this.Get("scriptlevel"),g=this.data[this.base]&&!this.Get("displaystyle")&&this.data[this.base].CoreMO().Get("movablelimits");b!=this.under||!g&&this.Get("accentunder")||c++;b!=this.over||!g&&this.Get("accent")||c++;return c},adjustChild_texprimestyle:function(b){return b===this.base&&this.data[this.over]?!0:this.Get("texprimestyle")},setTeXclass:c.mbase.setBaseTeXclasses});c.munder=c.munderover.Subclass({type:"munder"});c.mover=c.munderover.Subclass({type:"mover",over:1,under:2,sup:1,sub:2,ACCENTS:["","accent","accentunder"]});c.mtable=c.mbase.Subclass({type:"mtable",defaults:{mathbackground:c.INHERIT,mathcolor:c.INHERIT,align:c.ALIGN.AXIS,rowalign:c.ALIGN.BASELINE,columnalign:c.ALIGN.CENTER,groupalign:"{left}",alignmentscope:!0,columnwidth:c.WIDTH.AUTO,width:c.WIDTH.AUTO,rowspacing:"1ex",columnspacing:".8em",rowlines:c.LINES.NONE,columnlines:c.LINES.NONE,frame:c.LINES.NONE,framespacing:"0.4em 0.5ex",equalrows:!1,equalcolumns:!1,displaystyle:!1,side:c.SIDE.RIGHT,minlabelspacing:"0.8em",texClass:c.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 b=0,g=arguments.length;b<g;b++)arguments[b]instanceof c.mtr||arguments[b]instanceof c.mlabeledtr||(arguments[b]=c.mtd(arguments[b]));this.SUPER(arguments).Append.apply(this,arguments)},setTeXclass:c.mbase.setSeparateTeXclasses});c.mtr=c.mbase.Subclass({type:"mtr",defaults:{mathbackground:c.INHERIT,mathcolor:c.INHERIT,rowalign:c.INHERIT,columnalign:c.INHERIT,groupalign:c.INHERIT},inheritFromMe:!0,noInherit:{mrow:{rowalign:!0,columnalign:!0,groupalign:!0},mtable:{rowalign:!0,columnalign:!0,groupalign:!0}},linebreakContainer:!0,Append:function(){for(var b=0,g=arguments.length;b<g;b++)arguments[b]instanceof c.mtd||(arguments[b]=c.mtd(arguments[b]));this.SUPER(arguments).Append.apply(this,arguments)},setTeXclass:c.mbase.setSeparateTeXclasses});c.mtd=c.mbase.Subclass({type:"mtd",inferRow:!0,linebreakContainer:!0,isEmbellished:c.mbase.childEmbellished,Core:c.mbase.childCore,CoreMO:c.mbase.childCoreMO,defaults:{mathbackground:c.INHERIT,mathcolor:c.INHERIT,rowspan:1,columnspan:1,rowalign:c.INHERIT,columnalign:c.INHERIT,groupalign:c.INHERIT},setTeXclass:c.mbase.setSeparateTeXclasses});c.maligngroup=c.mbase.Subclass({type:"malign",isSpacelike:function(){return!0},defaults:{mathbackground:c.INHERIT,mathcolor:c.INHERIT,groupalign:c.INHERIT},inheritFromMe:!0,noInherit:{mrow:{groupalign:!0},mtable:{groupalign:!0}}});c.malignmark=c.mbase.Subclass({type:"malignmark",defaults:{mathbackground:c.INHERIT,mathcolor:c.INHERIT,edge:c.SIDE.LEFT},isSpacelike:function(){return!0}});c.mlabeledtr=c.mtr.Subclass({type:"mlabeledtr"});c.maction=c.mbase.Subclass({type:"maction",defaults:{mathbackground:c.INHERIT,mathcolor:c.INHERIT,actiontype:c.ACTIONTYPE.TOGGLE,selection:1},selected:function(){return this.data[this.Get("selection")-1]||c.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(b){this.Get("actiontype")===c.ACTIONTYPE.TOOLTIP&&this.data[1]&&this.data[1].setTeXclass();return this.selected().setTeXclass(b)}});c.semantics=c.mbase.Subclass({type:"semantics",notParent:!0,isEmbellished:c.mbase.childEmbellished,Core:c.mbase.childCore,CoreMO:c.mbase.childCoreMO,defaults:{definitionURL:null,encoding:null},setTeXclass:c.mbase.setChildTeXclass});c.annotation=c.mbase.Subclass({type:"annotation",isToken:!0,linebreakContainer:!0,defaults:{definitionURL:null,encoding:null,cd:"mathmlkeys",name:"",src:null}});c["annotation-xml"]=c.mbase.Subclass({type:"annotation-xml",linebreakContainer:!0,defaults:{definitionURL:null,encoding:null,cd:"mathmlkeys",name:"",src:null}});c.math=c.mstyle.Subclass({type:"math",defaults:{mathvariant:c.VARIANT.NORMAL,mathsize:c.SIZE.NORMAL,mathcolor:"",mathbackground:c.COLOR.TRANSPARENT,scriptlevel:0,displaystyle:c.AUTO,display:"inline",maxwidth:"",overflow:c.OVERFLOW.LINEBREAK,altimg:"","altimg-width":"","altimg-height":"","altimg-valign":"",alttext:"",cdgroup:"",scriptsizemultiplier:Math.sqrt(.5),scriptminsize:"8px",infixlinebreakstyle:c.LINEBREAKSTYLE.BEFORE,lineleading:"1ex",indentshift:"auto",indentalign:c.INDENTALIGN.AUTO,indentalignfirst:c.INDENTALIGN.INDENTALIGN,indentshiftfirst:c.INDENTSHIFT.INDENTSHIFT,indentalignlast:c.INDENTALIGN.INDENTALIGN,indentshiftlast:c.INDENTSHIFT.INDENTSHIFT,decimalseparator:".",texprimestyle:!1},autoDefault:function(b){return"displaystyle"===b?"block"===this.Get("display"):""},linebreakContainer:!0,setTeXclass:c.mbase.setChildTeXclass});c.chars=c.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("")}});c.entity=c.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 b=this.value();if(65535>=b)return String.fromCharCode(b);b-=65536;return String.fromCharCode((b>>10)+55296)+String.fromCharCode((b&1023)+56320)}});c.xml=c.mbase.Subclass({type:"xml",Init:function(){this.div=document.createElement("div");return this.SUPER(arguments).Init.apply(this,arguments)},Append:function(){for(var b=0,c=arguments.length;b<c;b++){var g=this.Import(arguments[b]);this.data.push(g);this.div.appendChild(g)}},Import:function(b){if(document.importNode)return document.importNode(b,!0);var c,g,l;if(1===b.nodeType){c=document.createElement(b.nodeName);g=0;for(l=b.attributes.length;g<l;g++){var n=b.attributes[g];n.specified&&null!=n.nodeValue&&""!=n.nodeValue&&c.setAttribute(n.nodeName,n.nodeValue);"style"===n.nodeName&&(c.style.cssText=n.nodeValue)}b.className&&(c.className=b.className)}else if(3===b.nodeType||4===b.nodeType)c=document.createTextNode(b.nodeValue);else if(8===b.nodeType)c=document.createComment(b.nodeValue);else return document.createTextNode("");g=0;for(l=b.childNodes.length;g<l;g++)c.appendChild(this.Import(b.childNodes[g]));return c},value:function(){return this.div},toString:function(){return this.div.innerHTML}});c.TeXAtom=c.mbase.Subclass({type:"texatom",inferRow:!0,notParent:!0,texClass:c.TEXCLASS.ORD,Core:c.mbase.childCore,CoreMO:c.mbase.childCoreMO,isEmbellished:c.mbase.childEmbellished,setTeXclass:function(b){this.data[0].setTeXclass();return this.adjustTeXclass(b)},adjustTeXclass:c.mo.prototype.adjustTeXclass});c.NULL=c.mbase().With({type:"null"});var g=c.TEXCLASS,b={ORD:[0,0,g.ORD],ORD11:[1,1,g.ORD],ORD21:[2,1,g.ORD],ORD02:[0,2,g.ORD],ORD55:[5,5,g.ORD],OP:[1,2,g.OP,{largeop:!0,movablelimits:!0,symmetric:!0}],OPFIXED:[1,2,g.OP,{largeop:!0,movablelimits:!0}],INTEGRAL:[0,1,g.OP,{largeop:!0,symmetric:!0}],INTEGRAL2:[1,2,g.OP,{largeop:!0,symmetric:!0}],BIN3:[3,3,g.BIN],BIN4:[4,4,g.BIN],BIN01:[0,1,g.BIN],BIN5:[5,5,g.BIN],TALLBIN:[4,4,g.BIN,{stretchy:!0}],BINOP:[4,4,g.BIN,{largeop:!0,movablelimits:!0}],REL:[5,5,g.REL],REL1:[1,1,g.REL,{stretchy:!0}],REL4:[4,4,g.REL],RELSTRETCH:[5,5,g.REL,{stretchy:!0}],RELACCENT:[5,5,g.REL,{accent:!0}],WIDEREL:[5,5,g.REL,{accent:!0,stretchy:!0}],OPEN:[0,0,g.OPEN,{fence:!0,stretchy:!0,symmetric:!0}],CLOSE:[0,0,g.CLOSE,{fence:!0,stretchy:!0,symmetric:!0}],INNER:[0,0,g.INNER],PUNCT:[0,3,g.PUNCT],ACCENT:[0,0,g.ORD,{accent:!0}],WIDEACCENT:[0,0,g.ORD,{accent:!0,stretchy:!0}]};c.mo.Augment({SPACE:"0em 0.1111em 0.1667em 0.2222em 0.2667em 0.3333em".split(" "),RANGES:[[32,127,g.REL,"BasicLatin"],[160,255,g.ORD,"Latin1Supplement"],[256,383,g.ORD],[384,591,g.ORD],[688,767,g.ORD,"SpacingModLetters"],[768,879,g.ORD,"CombDiacritMarks"],[880,1023,g.ORD,"GreekAndCoptic"],[7680,7935,g.ORD],[8192,8303,g.PUNCT,"GeneralPunctuation"],[8304,8351,g.ORD],[8352,8399,g.ORD],[8400,8447,g.ORD,"CombDiactForSymbols"],[8448,8527,g.ORD,"LetterlikeSymbols"],[8528,8591,g.ORD],[8592,8703,g.REL,"Arrows"],[8704,8959,g.BIN,"MathOperators"],[8960,9215,g.ORD,"MiscTechnical"],[9312,9471,g.ORD],[9472,9631,g.ORD],[9632,9727,g.ORD,"GeometricShapes"],[9984,10175,g.ORD,"Dingbats"],[10176,10223,g.ORD,"MiscMathSymbolsA"],[10224,10239,g.REL,"SupplementalArrowsA"],[10496,10623,g.REL,"SupplementalArrowsB"],[10624,10751,g.ORD,"MiscMathSymbolsB"],[10752,11007,g.BIN,"SuppMathOperators"],[11008,11263,g.ORD,"MiscSymbolsAndArrows"],[119808,120831,g.ORD]],OPTABLE:{prefix:{"\u2200":b.ORD21,"\u2202":b.ORD21,"\u2203":b.ORD21,"\u2207":b.ORD21,"\u220f":b.OP,"\u2210":b.OP,"\u2211":b.OP,"\u2212":b.BIN01,"\u2213":b.BIN01,"\u221a":[1,1,g.ORD,{stretchy:!0}],"\u2220":b.ORD,"\u222b":b.INTEGRAL,"\u222e":b.INTEGRAL,"\u22c0":b.OP,"\u22c1":b.OP,"\u22c2":b.OP,"\u22c3":b.OP,"\u2308":b.OPEN,"\u230a":b.OPEN,"\u27e8":b.OPEN,"\u27ee":b.OPEN,"\u2a00":b.OP,"\u2a01":b.OP,"\u2a02":b.OP,"\u2a04":b.OP,"\u2a06":b.OP,"\u00ac":b.ORD21,"\u00b1":b.BIN01,"(":b.OPEN,"+":b.BIN01,"-":b.BIN01,"[":b.OPEN,"{":b.OPEN,"|":b.OPEN},postfix:{"!":[1,0,g.CLOSE],"\x26":b.ORD,"\u2032":b.ORD02,"\u203e":b.WIDEACCENT,"\u2309":b.CLOSE,"\u230b":b.CLOSE,"\u23de":b.WIDEACCENT,"\u23df":b.WIDEACCENT,"\u266d":b.ORD02,"\u266e":b.ORD02,"\u266f":b.ORD02,"\u27e9":b.CLOSE,"\u27ef":b.CLOSE,"\u02c6":b.WIDEACCENT,"\u02c7":b.WIDEACCENT,"\u02c9":b.WIDEACCENT,"\u02ca":b.ACCENT,"\u02cb":b.ACCENT,"\u02d8":b.ACCENT,"\u02d9":b.ACCENT,"\u02dc":b.WIDEACCENT,"\u0302":b.WIDEACCENT,"\u00a8":b.ACCENT,"\u00af":b.WIDEACCENT,")":b.CLOSE,"]":b.CLOSE,"^":b.WIDEACCENT,_:b.WIDEACCENT,"`":b.ACCENT,"|":b.CLOSE,"}":b.CLOSE,"~":b.WIDEACCENT},infix:{"":b.ORD,"%":[3,3,g.ORD],"\u2022":b.BIN4,"\u2026":b.INNER,"\u2044":b.TALLBIN,"\u2061":b.ORD,"\u2062":b.ORD,"\u2063":[0,0,g.ORD,{linebreakstyle:"after",separator:!0}],"\u2064":b.ORD,"\u2190":b.WIDEREL,"\u2191":b.RELSTRETCH,"\u2192":b.WIDEREL,"\u2193":b.RELSTRETCH,"\u2194":b.WIDEREL,"\u2195":b.RELSTRETCH,"\u2196":b.RELSTRETCH,"\u2197":b.RELSTRETCH,"\u2198":b.RELSTRETCH,"\u2199":b.RELSTRETCH,"\u21a6":b.WIDEREL,"\u21a9":b.WIDEREL,"\u21aa":b.WIDEREL,"\u21bc":b.WIDEREL,"\u21bd":b.WIDEREL,"\u21c0":b.WIDEREL,"\u21c1":b.WIDEREL,"\u21cc":b.WIDEREL,"\u21d0":b.WIDEREL,"\u21d1":b.RELSTRETCH,"\u21d2":b.WIDEREL,"\u21d3":b.RELSTRETCH,"\u21d4":b.WIDEREL,"\u21d5":b.RELSTRETCH,"\u2208":b.REL,"\u2209":b.REL,"\u220b":b.REL,"\u2212":b.BIN4,"\u2213":b.BIN4,"\u2215":b.TALLBIN,"\u2216":b.BIN4,"\u2217":b.BIN4,"\u2218":b.BIN4,"\u2219":b.BIN4,"\u221d":b.REL,"\u2223":b.REL,"\u2225":b.REL,"\u2227":b.BIN4,"\u2228":b.BIN4,"\u2229":b.BIN4,"\u222a":b.BIN4,"\u223c":b.REL,"\u2240":b.BIN4,"\u2243":b.REL,"\u2245":b.REL,"\u2248":b.REL,"\u224d":b.REL,"\u2250":b.REL,"\u2260":b.REL,"\u2261":b.REL,"\u2264":b.REL,"\u2265":b.REL,"\u226a":b.REL,"\u226b":b.REL,"\u227a":b.REL,"\u227b":b.REL,"\u2282":b.REL,"\u2283":b.REL,"\u2286":b.REL,"\u2287":b.REL,"\u228e":b.BIN4,"\u2291":b.REL,"\u2292":b.REL,"\u2293":b.BIN4,"\u2294":b.BIN4,"\u2295":b.BIN4,"\u2296":b.BIN4,"\u2297":b.BIN4,"\u2298":b.BIN4,"\u2299":b.BIN4,"\u22a2":b.REL,"\u22a3":b.REL,"\u22a4":b.ORD55,"\u22a5":b.REL,"\u22a8":b.REL,"\u22c4":b.BIN4,"\u22c5":b.BIN4,"\u22c6":b.BIN4,"\u22c8":b.REL,"\u22ee":b.ORD55,"\u22ef":b.INNER,"\u22f1":[5,5,g.INNER],"\u25b3":b.BIN4,"\u25b5":b.BIN4,"\u25b9":b.BIN4,"\u25bd":b.BIN4,"\u25bf":b.BIN4,"\u25c3":b.BIN4,"\u2758":b.REL,"\u27f5":b.WIDEREL,"\u27f6":b.WIDEREL,"\u27f7":b.WIDEREL,"\u27f8":b.WIDEREL,"\u27f9":b.WIDEREL,"\u27fa":b.WIDEREL,"\u27fc":b.WIDEREL,"\u2a2f":b.BIN4,"\u2a3f":b.BIN4,"\u2aaf":b.REL,"\u2ab0":b.REL,"\u00b1":b.BIN4,"\u00b7":b.BIN4,"\u00d7":b.BIN4,"\u00f7":b.BIN4,"*":b.BIN3,"+":b.BIN4,",":[0,3,g.PUNCT,{linebreakstyle:"after",separator:!0}],"-":b.BIN4,".":[3,3,g.ORD],"/":b.ORD11,":":[1,2,g.REL],";":[0,3,g.PUNCT,{linebreakstyle:"after",separator:!0}],"\x3c":b.REL,"\x3d":b.REL,"\x3e":b.REL,"?":[1,1,g.CLOSE],"\\":b.ORD,"^":b.ORD11,_:b.ORD11,"|":[2,2,g.ORD,{fence:!0,stretchy:!0,symmetric:!0}],"#":b.ORD,$:b.ORD,".":[0,3,g.PUNCT,{separator:!0}],"\u02b9":b.ORD,"\u0300":b.ACCENT,"\u0301":b.ACCENT,"\u0303":b.WIDEACCENT,"\u0304":b.ACCENT,"\u0306":b.ACCENT,"\u0307":b.ACCENT,"\u0308":b.ACCENT,"\u030c":b.ACCENT,"\u0332":b.WIDEACCENT,"\u0338":b.REL4,"\u2015":[0,0,g.ORD,{stretchy:!0}],"\u2017":[0,0,g.ORD,{stretchy:!0}],"\u2020":b.BIN3,"\u2021":b.BIN3,"\u20d7":b.ACCENT,"\u2111":b.ORD,"\u2113":b.ORD,"\u2118":b.ORD,"\u211c":b.ORD,"\u2205":b.ORD,"\u221e":b.ORD,"\u2305":b.BIN3,"\u2306":b.BIN3,"\u2322":b.REL4,"\u2323":b.REL4,"\u2329":b.OPEN,"\u232a":b.CLOSE,"\u23aa":b.ORD,"\u23af":[0,0,g.ORD,{stretchy:!0}],"\u23b0":b.OPEN,"\u23b1":b.CLOSE,"\u2500":b.ORD,"\u25ef":b.BIN3,"\u2660":b.ORD,"\u2661":b.ORD,"\u2662":b.ORD,"\u2663":b.ORD,"\u3008":b.OPEN,"\u3009":b.CLOSE,"\ufe37":b.WIDEACCENT,"\ufe38":b.WIDEACCENT}}},{OPTYPES:b});c.mo.prototype.OPTABLE.infix["^"]=b.WIDEREL;c.mo.prototype.OPTABLE.infix._=b.WIDEREL})(MathJax.ElementJax.mml);MathJax.ElementJax.mml.loadComplete("jax.js");MathJax.Hub.Register.LoadHook("[MathJax]/jax/element/mml/jax.js",function(){var c=MathJax.ElementJax.mml;SETTINGS=MathJax.Hub.config.menuSettings;c.mbase.Augment({toMathML:function(c){var b=this.inferred&&this.parent.inferRow;null==c&&(c="");var d=this.type,q=this.toMathMLattributes();if("mspace"===d)return c+"\x3c"+d+q+" /\x3e";for(var m=[],l=this.isToken?"":c+(b?"":" "),n=0,p=this.data.length;n<p;n++)this.data[n]?m.push(this.data[n].toMathML(l)):this.isToken||m.push(l+"\x3cmrow /\x3e");return this.isToken?c+"\x3c"+d+q+"\x3e"+m.join("")+"\x3c/"+d+"\x3e":b?m.join("\n"):0===m.length||1===m.length&&""===m[0]?c+"\x3c"+d+q+" /\x3e":c+"\x3c"+d+q+"\x3e\n"+m.join("\n")+"\n"+c+"\x3c/"+d+"\x3e"},toMathMLattributes:function(){var g=[],b=this.defaults,d=this.attrNames||c.copyAttributeNames,q=c.skipAttributes;"math"!==this.type||this.attr&&this.attr.xmlns||g.push('xmlns\x3d"http://www.w3.org/1998/Math/MathML"');if(!this.attrNames){"mstyle"===this.type&&(b=c.math.prototype.defaults);for(var m in b)if(!q[m]&&b.hasOwnProperty(m)){var l="open"===m||"close"===m;if(null!=this[m]&&(l||this[m]!==b[m])){var n=this[m];delete this[m];(l||this.Get(m)!==n)&&g.push(m+'\x3d"'+this.toMathMLattribute(n)+'"');this[m]=n}}}b=0;for(q=d.length;b<q;b++)"class"!==d[b]&&(n=(this.attr||{})[d[b]],null==n&&(n=this[d[b]]),null!=n&&g.push(d[b]+'\x3d"'+this.toMathMLquote(n)+'"'));this.toMathMLclass(g);return g.length?" "+g.join(" "):""},toMathMLclass:function(g){var b=[];this["class"]&&b.push(this["class"]);if(this.isa(c.TeXAtom)&&SETTINGS.texHints){var d="ORD OP BIN REL OPEN CLOSE PUNCT INNER VCENTER".split(" ")[this.texClass];d&&b.push("MJX-TeXAtom-"+d)}this.mathvariant&&this.toMathMLvariants[this.mathvariant]&&b.push("MJX"+this.mathvariant);this.arrow&&b.push("MJX-arrow");this.variantForm&&b.push("MJX-variant");b.length&&g.unshift('class\x3d"'+b.join(" ")+'"')},toMathMLattribute:function(c){return"string"===typeof c&&c.replace(/ /g,"").match(/^(([-+])?(\d+(\.\d*)?|\.\d+))mu$/)?RegExp.$2+(1/18*RegExp.$3).toFixed(3).replace(/\.?0+$/,"")+"em":this.toMathMLvariants[c]?this.toMathMLvariants[c]:this.toMathMLquote(c)},toMathMLvariants:{"-tex-caligraphic":c.VARIANT.SCRIPT,"-tex-caligraphic-bold":c.VARIANT.BOLDSCRIPT,"-tex-oldstyle":c.VARIANT.NORMAL,"-tex-oldstyle-bold":c.VARIANT.BOLD,"-tex-mathit":c.VARIANT.ITALIC},toMathMLquote:function(c){c=String(c).split("");for(var b=0,d=c.length;b<d;b++){var q=c[b].charCodeAt(0);if(55295>=q||57344<=q)32>q||126<q?c[b]="\x26#x"+q.toString(16).toUpperCase()+";":(q={"\x26":"\x26amp;","\x3c":"\x26lt;","\x3e":"\x26gt;",'"':"\x26quot;"}[c[b]])&&(c[b]=q);else if(b+1<d){var m=c[b+1].charCodeAt(0);c[b]="\x26#x"+((q-55296<<10)+(m-56320)+65536).toString(16).toUpperCase()+";";c[b+1]="";b++}else c[b]=""}return c.join("")}});c.msubsup.Augment({toMathML:function(c){var b=this.type;null==this.data[this.sup]&&(b="msub");null==this.data[this.sub]&&(b="msup");var d=this.toMathMLattributes();delete this.data[0].inferred;for(var q=[],m=0,l=this.data.length;m<l;m++)this.data[m]&&q.push(this.data[m].toMathML(c+" "));return c+"\x3c"+b+d+"\x3e\n"+q.join("\n")+"\n"+c+"\x3c/"+b+"\x3e"}});c.munderover.Augment({toMathML:function(c){var b=this.type;null==this.data[this.under]&&(b="mover");null==this.data[this.over]&&(b="munder");var d=this.toMathMLattributes();delete this.data[0].inferred;for(var q=[],m=0,l=this.data.length;m<l;m++)this.data[m]&&q.push(this.data[m].toMathML(c+" "));return c+"\x3c"+b+d+"\x3e\n"+q.join("\n")+"\n"+c+"\x3c/"+b+"\x3e"}});c.TeXAtom.Augment({toMathML:function(c){var b=this.toMathMLattributes();return b||1!==this.data[0].data.length?c+"\x3cmrow"+b+"\x3e\n"+this.data[0].toMathML(c+" ")+"\n"+c+"\x3c/mrow\x3e":c.substr(2)+this.data[0].toMathML(c)}});c.chars.Augment({toMathML:function(c){return(c||"")+this.toMathMLquote(this.toString())}});c.entity.Augment({toMathML:function(c){return(c||"")+"\x26"+this.data[0]+";\x3c!-- "+this.toString()+" --\x3e"}});c.xml.Augment({toMathML:function(c){return(c||"")+this.toString()}});MathJax.Hub.Register.StartupHook("TeX mathchoice Ready",function(){c.TeXmathchoice.Augment({toMathML:function(c){return this.Core().toMathML(c)}})});MathJax.Hub.Startup.signal.Post("toMathML Ready")});MathJax.Ajax.loadComplete("[MathJax]/extensions/toMathML.js");(function(c,g){var b=c.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:b};c.Register.StartupHook("TeX Jax Ready",function(){var d=MathJax.InputJax.TeX.formatError;MathJax.InputJax.TeX.Augment({formatError:function(g,m,l,n){if(b.disabled)return d.apply(this,arguments);var p=g.message.replace(/\n.*/,"");c.signal.Post(["TeX Jax - parse error",p,m,l,n]);var p=b.inlineDelimiters,a=l||b.multiLine;l||(m=p[0]+m+p[1]);m=a?m.replace(/ /g,"\u00a0"):m.replace(/\n/g," ");return MathJax.ElementJax.mml.merror(m).With({isError:!0,multiLine:a})}})});c.Register.StartupHook("HTML-CSS Jax Config",function(){c.Config({"HTML-CSS":{styles:{".MathJax .noError":c.Insert({"vertical-align":c.Browser.isMSIE&&b.multiLine?"-2px":""},b.style)}}})});c.Register.StartupHook("HTML-CSS Jax Ready",function(){var b=MathJax.ElementJax.mml,c=MathJax.OutputJax["HTML-CSS"],g=b.math.prototype.toHTML,l=b.merror.prototype.toHTML;b.math.Augment({toHTML:function(b,c){var a=this.data[0];a&&a.data[0]&&a.data[0].isError?(b.style.fontSize="",b=this.HTMLcreateSpan(b),b.bbox=a.data[0].toHTML(b).bbox):b=g.call(this,b,c);return b}});b.merror.Augment({toHTML:function(b){if(!this.isError)return l.call(this,b);b=this.HTMLcreateSpan(b);b.className="noError";this.multiLine&&(b.style.display="inline-block");for(var d=this.data[0].data[0].data.join("").split(/\n/),a=0,e=d.length;a<e;a++)c.addText(b,d[a]),a!==e-1&&c.addElement(b,"br",{isMathJax:!0});d=c.getHD(b.parentNode);a=c.getW(b.parentNode);if(1<e){var e=(d.h+d.d)/2,k=c.TeX.x_height/2;b.parentNode.style.verticalAlign=c.Em(d.d+(k-e));d.h=k+e;d.d=e-k}b.bbox={h:d.h,d:d.d,w:a,lw:0,rw:a};return b}})});c.Register.StartupHook("SVG Jax Config",function(){c.Config({SVG:{styles:{".MathJax_SVG .noError":c.Insert({"vertical-align":c.Browser.isMSIE&&b.multiLine?"-2px":""},b.style)}}})});c.Register.StartupHook("SVG Jax Ready",function(){var b=MathJax.ElementJax.mml,c=b.math.prototype.toSVG,m=b.merror.prototype.toSVG;b.math.Augment({toSVG:function(b,d){var g=this.data[0];return b=g&&g.data[0]&&g.data[0].isError?g.data[0].toSVG(b):c.call(this,b,d)}});b.merror.Augment({toSVG:function(b){if(!this.isError||"math"!==this.Parent().type)return m.call(this,b);b=g.addElement(b,"span",{className:"noError",isMathJax:!0});this.multiLine&&(b.style.display="inline-block");for(var c=this.data[0].data[0].data.join("").split(/\n/),d=0,a=c.length;d<a;d++)g.addText(b,c[d]),d!==a-1&&g.addElement(b,"br",{isMathJax:!0});1<a&&(c=b.offsetHeight/2,b.style.verticalAlign=-c+c/a+"px");return b}})});c.Register.StartupHook("NativeMML Jax Ready",function(){var b=MathJax.ElementJax.mml,c=MathJax.Extension["TeX/noErrors"].config,g=b.math.prototype.toNativeMML,l=b.merror.prototype.toNativeMML;b.math.Augment({toNativeMML:function(b){var c=this.data[0];return b=c&&c.data[0]&&c.data[0].isError?c.data[0].toNativeMML(b):g.call(this,b)}});b.merror.Augment({toNativeMML:function(b){if(!this.isError)return l.call(this,b);b=b.appendChild(document.createElement("span"));for(var d=this.data[0].data[0].data.join("").split(/\n/),a=0,e=d.length;a<e;a++)b.appendChild(document.createTextNode(d[a])),a!==e-1&&b.appendChild(document.createElement("br"));this.multiLine&&(b.style.display="inline-block",1<e&&(b.style.verticalAlign="middle"));for(var k in c.style)c.style.hasOwnProperty(k)&&(d=k.replace(/-./g,function(a){return a.charAt(1).toUpperCase()}),b.style[d]=c.style[k]);return b}})});c.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 c=MathJax.Extension["TeX/noUndefined"].config,g=MathJax.ElementJax.mml,b=MathJax.InputJax.TeX.Parse.prototype.csUndefined;MathJax.InputJax.TeX.Parse.Augment({csUndefined:function(d){if(c.disabled)return b.apply(this,arguments);MathJax.Hub.signal.Post(["TeX Jax - undefined control sequence",d]);this.Push(g.mtext(d).With(c.attributes))}});MathJax.Hub.Startup.signal.Post("TeX noUndefined Ready")});MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/noUndefined.js");(function(c,g,b){var d,q=function(a){return MathJax.Localization._.apply(MathJax.Localization,[["TeX",a]].concat([].slice.call(arguments,1)))},m=MathJax.Object.Subclass({Init:function(a,e){this.global={isInner:e};this.data=[l.start(this.global)];a&&(this.data[0].env=a);this.env=this.data[0].env},Push:function(){var a,e,k,b;a=0;for(e=arguments.length;a<e;a++)if(k=arguments[a],k instanceof d.mbase&&(k=l.mml(k)),k.global=this.global,b=this.data.length?this.Top().checkItem(k):!0,b instanceof Array)this.Pop(),this.Push.apply(this,b);else if(b instanceof l)this.Pop(),this.Push(b);else if(b)if(this.data.push(k),k.env){for(var f in this.env)this.env.hasOwnProperty(f)&&(k.env[f]=this.env[f]);this.env=k.env}else k.env=this.env},Pop:function(){var a=this.data.pop();a.isOpen||delete a.env;this.env=this.data.length?this.Top().env:{};return a},Top:function(a){null==a&&(a=1);return this.data.length<a?null:this.data[this.data.length-a]},Prev:function(a){var e=this.Top();return a?e.data[e.data.length-1]:e.Pop()},toString:function(){return"stack[\n "+this.data.join("\n ")+"\n]"}}),l=m.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(a,e){null==a&&(a=!0);return 1!==this.data.length||e?d.mrow.apply(d,this.data).With(a?{inferred:!0}:{}):this.data[0]},checkItem:function(a){"over"===a.type&&this.isOpen&&(a.num=this.mmlData(!1),this.data=[]);if("cell"===a.type&&this.isOpen){if(a.linebreak)return!1;c.Error(["Misplaced","Misplaced %1",a.name])}a.isClose&&this[a.type+"Error"]&&c.Error(this[a.type+"Error"]);if(!a.isNotStack)return!0;this.Push(a.data[0]);return!1},With:function(a){for(var e in a)a.hasOwnProperty(e)&&(this[e]=a[e]);return this},toString:function(){return this.type+"["+this.data.join("; ")+"]"}});l.start=l.Subclass({type:"start",isOpen:!0,Init:function(a){this.SUPER(arguments).Init.call(this);this.global=a},checkItem:function(a){return"stop"===a.type?l.mml(this.mmlData()):this.SUPER(arguments).checkItem.call(this,a)}});l.stop=l.Subclass({type:"stop",isClose:!0});l.open=l.Subclass({type:"open",isOpen:!0,stopError:["ExtraOpenMissingClose","Extra open brace or missing close brace"],checkItem:function(a){if("close"===a.type){var e=this.mmlData();return l.mml(d.TeXAtom(e))}return this.SUPER(arguments).checkItem.call(this,a)}});l.close=l.Subclass({type:"close",isClose:!0});l.prime=l.Subclass({type:"prime",checkItem:function(a){if("msubsup"!==this.data[0].type)return[d.msup(this.data[0],this.data[1]),a];this.data[0].SetData(this.data[0].sup,this.data[1]);return[this.data[0],a]}});l.subsup=l.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(a){if("open"===a.type||"left"===a.type)return!0;if("mml"===a.type)return this.primes&&(2!==this.position?this.data[0].SetData(2,this.primes):a.data[0]=d.mrow(this.primes.With({variantForm:!0}),a.data[0])),this.data[0].SetData(this.position,a.data[0]),l.mml(this.data[0]);this.SUPER(arguments).checkItem.call(this,a)&&c.Error(this[["","subError","supError"][this.position]])},Pop:function(){}});l.over=l.Subclass({type:"over",isClose:!0,name:"\\over",checkItem:function(a,e){"over"===a.type&&c.Error(["AmbiguousUseOf","Ambiguous use of %1",a.name]);if(a.isClose){var k=d.mfrac(this.num,this.mmlData(!1));null!=this.thickness&&(k.linethickness=this.thickness);if(this.open||this.close)k.texClass=d.TEXCLASS.INNER,k.texWithDelims=!0,k=c.fenced(this.open,k,this.close);return[l.mml(k),a]}return this.SUPER(arguments).checkItem.call(this,a)},toString:function(){return"over["+this.num+" / "+this.data.join("; ")+"]"}});l.left=l.Subclass({type:"left",isOpen:!0,delim:"(",stopError:["ExtraLeftMissingRight","Extra \\left or missing \\right"],checkItem:function(a){return"right"===a.type?l.mml(c.fenced(this.delim,this.mmlData(),a.delim)):this.SUPER(arguments).checkItem.call(this,a)}});l.right=l.Subclass({type:"right",isClose:!0,delim:")"});l.begin=l.Subclass({type:"begin",isOpen:!0,checkItem:function(a){if("end"===a.type)return a.name!==this.name&&c.Error(["EnvBadEnd","\\begin{%1} ended with \\end{%2}",this.name,a.name]),this.end?this.parse[this.end].call(this.parse,this,this.data):l.mml(this.mmlData());"stop"===a.type&&c.Error(["EnvMissingEnd","Missing \\end{%1}",this.name]);return this.SUPER(arguments).checkItem.call(this,a)}});l.end=l.Subclass({type:"end",isClose:!0});l.style=l.Subclass({type:"style",checkItem:function(a){if(!a.isClose)return this.SUPER(arguments).checkItem.call(this,a);var e=d.mstyle.apply(d,this.data).With(this.styles);return[l.mml(e),a]}});l.position=l.Subclass({type:"position",checkItem:function(a){a.isClose&&c.Error(["MissingBoxFor","Missing box for %1",name]);if(a.isNotStack){var e=a.mmlData();switch(this.move){case "vertical":return e=d.mpadded(e).With({height:this.dh,depth:this.dd,voffset:this.dh}),[l.mml(e)];case "horizontal":return[l.mml(this.left),a,l.mml(this.right)]}}return this.SUPER(arguments).checkItem.call(this,a)}});l.array=l.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(a){if(a.isClose&&"over"!==a.type){if(a.isEntry)return this.EndEntry(),this.clearEnv(),!1;if(a.isCR)return this.EndEntry(),this.EndRow(),this.clearEnv(),!1;this.EndTable();this.clearEnv();var e=d.mtable.apply(d,this.table).With(this.arraydef);4===this.frame.length?e.frame=this.frame.dashed?"dashed":"solid":this.frame.length&&(e.hasFrame=!0,this.arraydef.rowlines&&(this.arraydef.rowlines=this.arraydef.rowlines.replace(/none( none)+$/,"none")),e=d.menclose(e).With({notation:this.frame.join(" "),isFrame:!0}),"none"!=(this.arraydef.columnlines||"none")||"none"!=(this.arraydef.rowlines||"none"))&&(e.padding=0);if(this.open||this.close)e=c.fenced(this.open,e,this.close);e=l.mml(e);if(this.requireClose){if("close"===a.type)return e;c.Error(["MissingCloseBrace","Missing close brace"])}return[e,a]}return this.SUPER(arguments).checkItem.call(this,a)},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 a=this.arraydef.rowlines.split(/ /);a.length===this.table.length?(this.frame.push("bottom"),a.pop(),this.arraydef.rowlines=a.join(" ")):a.length<this.table.length-1&&(this.arraydef.rowlines+=" none")}if(this.rowspacing){for(a=this.arraydef.rowspacing.split(/ /);a.length<this.table.length;)a.push(this.rowspacing+"em");this.arraydef.rowspacing=a.join(" ")}},clearEnv:function(){for(var a in this.env)this.env.hasOwnProperty(a)&&delete this.env[a]}});l.cell=l.Subclass({type:"cell",isClose:!0});l.mml=l.Subclass({type:"mml",isNotStack:!0,Add:function(){this.data.push.apply(this.data,arguments);return this}});l.fn=l.Subclass({type:"fn",checkItem:function(a){if(this.data[0]){if("mml"!==a.type||!a.data[0]||a.data[0].isa(d.mspace))return[this.data[0],a];var e=a.data[0];e.isEmbellished()&&(e=e.CoreMO());return[0,0,1,1,0,1,1,0,0,0][e.Get("texClass")]?[this.data[0],a]:[this.data[0],d.mo(d.entity("#x2061")).With({texClass:d.TEXCLASS.NONE}),a]}return this.SUPER(arguments).checkItem.apply(this,arguments)}});l.not=l.Subclass({type:"not",checkItem:function(a){var e,k;if("open"===a.type||"left"===a.type)return!0;if("mml"===a.type&&a.data[0].type.match(/^(mo|mi|mtext)$/)&&(e=a.data[0],k=e.data.join(""),1===k.length&&!e.movesupsub))return(k=l.not.remap[k.charCodeAt(0)])?e.SetData(0,d.chars(String.fromCharCode(k))):e.Append(d.chars("\u0338")),a;e=d.mpadded(d.mtext("\u29f8")).With({width:0});e=d.TeXAtom(e).With({texClass:d.TEXCLASS.REL});return[e,a]}});l.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};l.dots=l.Subclass({type:"dots",checkItem:function(a){if("open"===a.type||"left"===a.type)return!0;var e=this.ldots;if("mml"===a.type&&a.data[0].isEmbellished()){var k=a.data[0].CoreMO().Get("texClass");if(k===d.TEXCLASS.BIN||k===d.TEXCLASS.REL)e=this.cdots}return[e,a]}});var n={Add:function(a,e,k){e||(e=this);for(var b in a)a.hasOwnProperty(b)&&("object"!==typeof a[b]||a[b]instanceof Array||"object"!==typeof e[b]&&"function"!==typeof e[b]?e[b]&&e[b].isUser&&k||(e[b]=a[b]):this.Add(a[b],e[b],a[b],k));return e}},p=MathJax.Object.Subclass({Init:function(a,e){this.string=a;this.macroCount=this.i=0;var k;if(e){k={};for(var b in e)e.hasOwnProperty(b)&&(k[b]=e[b])}this.stack=c.Stack(k,!!e);this.Parse();this.Push(l.stop())},Parse:function(){for(var a,e;this.i<this.string.length;)if(a=this.string.charAt(this.i++),e=a.charCodeAt(0),55296<=e&&56320>e&&(a+=this.string.charAt(this.i++)),n.special[a])this[n.special[a]](a);else n.letter.test(a)?this.Variable(a):n.digit.test(a)?this.Number(a):this.Other(a)},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(a){return a},ControlSequence:function(a){var e=this.GetCS(),k=this.csFindMacro(e);if(k){k instanceof Array||(k=[k]);var b=k[0];b instanceof Function||(b=this[b]);b.apply(this,[a+e].concat(k.slice(1)))}else n.mathchar0mi[e]?this.csMathchar0mi(e,n.mathchar0mi[e]):n.mathchar0mo[e]?this.csMathchar0mo(e,n.mathchar0mo[e]):n.mathchar7[e]?this.csMathchar7(e,n.mathchar7[e]):null!=n.delimiter["\\"+e]?this.csDelimiter(e,n.delimiter["\\"+e]):this.csUndefined(a+e)},csFindMacro:function(a){return n.macros[a]},csMathchar0mi:function(a,e){var b={mathvariant:d.VARIANT.ITALIC};e instanceof Array&&(b=e[1],e=e[0]);this.Push(this.mmlToken(d.mi(d.entity("#x"+e)).With(b)))},csMathchar0mo:function(a,e){var b={stretchy:!1};e instanceof Array&&(b=e[1],b.stretchy=!1,e=e[0]);this.Push(this.mmlToken(d.mo(d.entity("#x"+e)).With(b)))},csMathchar7:function(a,e){var b={mathvariant:d.VARIANT.NORMAL};e instanceof Array&&(b=e[1],e=e[0]);this.stack.env.font&&(b.mathvariant=this.stack.env.font);this.Push(this.mmlToken(d.mi(d.entity("#x"+e)).With(b)))},csDelimiter:function(a,e){var b={};e instanceof Array&&(b=e[1],e=e[0]);e=4===e.length?d.entity("#x"+e):d.chars(e);this.Push(this.mmlToken(d.mo(e).With({fence:!1,stretchy:!1}).With(b)))},csUndefined:function(a){c.Error(["UndefinedControlSequence","Undefined control sequence %1",a])},Variable:function(a){var e={};this.stack.env.font&&(e.mathvariant=this.stack.env.font);this.Push(this.mmlToken(d.mi(d.chars(a)).With(e)))},Number:function(a){var e=this.string.slice(this.i-1).match(n.number);e?(a=d.mn(e[0].replace(/[{}]/g,"")),this.i+=e[0].length-1):a=d.mo(d.chars(a));this.stack.env.font&&(a.mathvariant=this.stack.env.font);this.Push(this.mmlToken(a))},Open:function(a){this.Push(l.open())},Close:function(a){this.Push(l.close())},Tilde:function(a){this.Push(d.mtext(d.chars("\u00a0")))},Space:function(a){},Superscript:function(a){this.GetNext().match(/\d/)&&(this.string=this.string.substr(0,this.i+1)+" "+this.string.substr(this.i+1));var e,b;e=this.stack.Top();"prime"===e.type?(a=e.data[0],b=e.data[1],this.stack.Pop()):(a=this.stack.Prev())||(a=d.mi(""));a.isEmbellishedWrapper&&(a=a.data[0].data[0]);if("msubsup"===a.type)a.data[a.sup]&&c.Error(["DoubleExponent","Double exponent: use braces to clarify"]),e=a.sup;else if(a.movesupsub){if("munderover"!==a.type||a.data[a.over])a.movablelimits&&a.isa(d.mi)&&(a=this.mi2mo(a)),a=d.munderover(a,null,null).With({movesupsub:!0});e=a.over}else a=d.msubsup(a,null,null),e=a.sup;this.Push(l.subsup(a).With({position:e,primes:b}))},Subscript:function(a){this.GetNext().match(/\d/)&&(this.string=this.string.substr(0,this.i+1)+" "+this.string.substr(this.i+1));var e,b;e=this.stack.Top();"prime"===e.type?(a=e.data[0],b=e.data[1],this.stack.Pop()):(a=this.stack.Prev())||(a=d.mi(""));a.isEmbellishedWrapper&&(a=a.data[0].data[0]);if("msubsup"===a.type)a.data[a.sub]&&c.Error(["DoubleSubscripts","Double subscripts: use braces to clarify"]),e=a.sub;else if(a.movesupsub){if("munderover"!==a.type||a.data[a.under])a.movablelimits&&a.isa(d.mi)&&(a=this.mi2mo(a)),a=d.munderover(a,null,null).With({movesupsub:!0});e=a.under}else a=d.msubsup(a,null,null),e=a.sub;this.Push(l.subsup(a).With({position:e,primes:b}))},PRIME:"\u2032",SMARTQUOTE:"\u2019",Prime:function(a){var e=this.stack.Prev();e||(e=d.mi());"msubsup"===e.type&&e.data[e.sup]&&c.Error(["DoubleExponentPrime","Prime causes double exponent: use braces to clarify"]);var b="";this.i--;do b+=this.PRIME,this.i++,a=this.GetNext();while("'"===a||a===this.SMARTQUOTE);b=["","\u2032","\u2033","\u2034","\u2057"][b.length]||b;this.Push(l.prime(e,this.mmlToken(d.mo(b))))},mi2mo:function(a){var e=d.mo();e.Append.apply(e,a.data);for(var b in e.defaults)e.defaults.hasOwnProperty(b)&&null!=a[b]&&(e[b]=a[b]);for(b in d.copyAttributes)d.copyAttributes.hasOwnProperty(b)&&null!=a[b]&&(e[b]=a[b]);return e},Comment:function(a){for(;this.i<this.string.length&&"\n"!=this.string.charAt(this.i);)this.i++},Hash:function(a){c.Error(["CantUseHash1","You can't use 'macro parameter character #' in math mode"])},Other:function(a){var e={stretchy:!1};this.stack.env.font&&(e.mathvariant=this.stack.env.font);n.remap[a]?(a=n.remap[a],a instanceof Array&&(e=a[1],a=a[0]),a=d.mo(d.entity("#x"+a)).With(e)):a=d.mo(a).With(e);""==a.autoDefault("texClass",!0)&&(a=d.TeXAtom(a));this.Push(this.mmlToken(a))},SetFont:function(a,e){this.stack.env.font=e},SetStyle:function(a,e,b,c){this.stack.env.style=e;this.stack.env.level=c;this.Push(l.style().With({styles:{displaystyle:b,scriptlevel:c}}))},SetSize:function(a,e){this.stack.env.size=e;this.Push(l.style().With({styles:{mathsize:e+"em"}}))},Color:function(a){var e=this.GetArgument(a),b=this.stack.env.color;this.stack.env.color=e;a=this.ParseArg(a);b?this.stack.env.color:delete this.stack.env.color;this.Push(d.mstyle(a).With({mathcolor:e}))},Spacer:function(a,e){this.Push(d.mspace().With({width:e,mathsize:d.SIZE.NORMAL,scriptlevel:0}))},LeftRight:function(a){this.Push(l[a.substr(1)]().With({delim:this.GetDelimiter(a)}))},Middle:function(a){var e=this.GetDelimiter(a);"left"!==this.stack.Top().type&&c.Error(["MisplacedMiddle","%1 must be within \\left and \\right",a]);this.Push(d.mo(e).With({stretchy:!0}))},NamedFn:function(a,e){e||(e=a.substr(1));var b=d.mi(e).With({texClass:d.TEXCLASS.OP});this.Push(l.fn(this.mmlToken(b)))},NamedOp:function(a,e){e||(e=a.substr(1));e=e.replace(/ /,"\u2006");var b=d.mo(e).With({movablelimits:!0,movesupsub:!0,form:d.FORM.PREFIX,texClass:d.TEXCLASS.OP});b.useMMLspacing&=~b.SPACE_ATTR.form;this.Push(this.mmlToken(b))},Limits:function(a,e){var b=this.stack.Prev("nopop");b&&b.texClass===d.TEXCLASS.OP||c.Error(["MisplacedLimits","%1 is allowed only on operators",a]);b.movesupsub=e?!0:!1;b.movablelimits=!1},Over:function(a,e,b){var c=l.over().With({name:a});e||b?(c.open=e,c.close=b):a.match(/withdelims$/)&&(c.open=this.GetDelimiter(a),c.close=this.GetDelimiter(a));if(a.match(/^\\above/))c.thickness=this.GetDimen(a);else if(a.match(/^\\atop/)||e||b)c.thickness=0;this.Push(c)},Frac:function(a){var e=this.ParseArg(a);a=this.ParseArg(a);this.Push(d.mfrac(e,a))},Sqrt:function(a){var e=this.GetBrackets(a);a=this.GetArgument(a);"\\frac"===a&&(a+="{"+this.GetArgument(a)+"}{"+this.GetArgument(a)+"}");a=c.Parse(a,this.stack.env).mml();a=e?d.mroot(a,this.parseRoot(e)):d.msqrt.apply(d,a.array());this.Push(a)},Root:function(a){var e=this.GetUpTo(a,"\\of");a=this.ParseArg(a);this.Push(d.mroot(a,this.parseRoot(e)))},parseRoot:function(a){var e=this.stack.env,b=e.inRoot;e.inRoot=!0;var u=c.Parse(a,e);a=u.mml();u=u.stack.global;if(u.leftRoot||u.upRoot)a=d.mpadded(a),u.leftRoot&&(a.width=u.leftRoot),u.upRoot&&(a.voffset=u.upRoot,a.height=u.upRoot);e.inRoot=b;return a},MoveRoot:function(a,e){this.stack.env.inRoot||c.Error(["MisplacedMoveRoot","%1 can appear only within a root",a]);this.stack.global[e]&&c.Error(["MultipleMoveRoot","Multiple use of %1",a]);var b=this.GetArgument(a);b.match(/-?[0-9]+/)||c.Error(["IntegerArg","The argument to %1 must be an integer",a]);b=b/15+"em";"-"!==b.substr(0,1)&&(b="+"+b);this.stack.global[e]=b},Accent:function(a,e,b){a=this.ParseArg(a);var c={accent:!0};this.stack.env.font&&(c.mathvariant=this.stack.env.font);e=this.mmlToken(d.mo(d.entity("#x"+e)).With(c));e.stretchy=b?!0:!1;this.Push(d.TeXAtom(d.munderover(a,null,e).With({accent:!0})))},UnderOver:function(a,e,b){var c={o:"over",u:"under"}[a.charAt(1)];a=this.ParseArg(a);a.Get("movablelimits")&&(a.movablelimits=!1);a=d.munderover(a,null,null);b&&(a.movesupsub=!0);a.data[a[c]]=this.mmlToken(d.mo(d.entity("#x"+e)).With({stretchy:!0,accent:"under"==c}));this.Push(a)},Overset:function(a){var e=this.ParseArg(a);a=this.ParseArg(a);this.Push(d.mover(a,e))},Underset:function(a){var e=this.ParseArg(a);a=this.ParseArg(a);this.Push(d.munder(a,e))},TeXAtom:function(a,e){var b={texClass:e};if(e==d.TEXCLASS.OP){b.movesupsub=b.movablelimits=!0;var u=this.GetArgument(a),f=u.match(/^\s*\\rm\s+([a-zA-Z0-9 ]+)$/);f?(b.mathvariant=d.VARIANT.NORMAL,b=l.fn(this.mmlToken(d.mi(f[1]).With(b)))):b=l.fn(d.TeXAtom(c.Parse(u,this.stack.env).mml()).With(b))}else b=d.TeXAtom(this.ParseArg(a)).With(b);this.Push(b)},MmlToken:function(a){var e=this.GetArgument(a),b=this.GetBrackets(a,"").replace(/^\s+/,"");a=this.GetArgument(a);var u={attrNames:[]},f;for(d[e]&&d[e].prototype.isToken||c.Error(["NotMathMLToken","%1 is not a token element",e]);""!==b;){(f=b.match(/^([a-z]+)\s*=\s*(\'[^']*'|"[^"]*"|[^ ]*)\s*/i))||c.Error("InvalidMathMLAttr","Invalid MathML attribute: %1",b);d[e].prototype.defaults[f[1]]||this.MmlTokenAllow[f[1]]||c.Error(["UnknownAttrForElement","%1 is not a recognized attribute for %2",f[1],e]);var h=this.MmlFilterAttribute(f[1],f[2].replace(/^(['"])(.*)\1$/,"$2"));h&&("true"===h.toLowerCase()?h=!0:"false"===h.toLowerCase()&&(h=!1),u[f[1]]=h,u.attrNames.push(f[1]));b=b.substr(f[0].length)}this.Push(this.mmlToken(d[e](a).With(u)))},MmlFilterAttribute:function(a,e){return e},MmlTokenAllow:{fontfamily:1,fontsize:1,fontweight:1,fontstyle:1,color:1,background:1,id:1,"class":1,href:1,style:1},Strut:function(a){this.Push(d.mpadded(d.mrow()).With({height:"8.6pt",depth:"3pt",width:0}))},Phantom:function(a,e,b){a=d.mphantom(this.ParseArg(a));if(e||b)a=d.mpadded(a),b&&(a.height=a.depth=0),e&&(a.width=0);this.Push(d.TeXAtom(a))},Smash:function(a){var e=this.trimSpaces(this.GetBrackets(a,""));a=d.mpadded(this.ParseArg(a));switch(e){case "b":a.depth=0;break;case "t":a.height=0;break;default:a.height=a.depth=0}this.Push(d.TeXAtom(a))},Lap:function(a){var e=d.mpadded(this.ParseArg(a)).With({width:0});"\\llap"===a&&(e.lspace="-1 width");this.Push(d.TeXAtom(e))},RaiseLower:function(a){var e=this.GetDimen(a),b=l.position().With({name:a,move:"vertical"});"-"===e.charAt(0)&&(e=e.slice(1),a={raise:"\\lower",lower:"\\raise"}[a.substr(1)]);"\\lower"===a?(b.dh="-"+e,b.dd="+"+e):(b.dh="+"+e,b.dd="-"+e);this.Push(b)},MoveLeftRight:function(a){var e=this.GetDimen(a),b="-"===e.charAt(0)?e.slice(1):"-"+e;if("\\moveleft"===a)var c=e,e=b,b=c;this.Push(l.position().With({name:a,move:"horizontal",left:d.mspace().With({width:e,mathsize:d.SIZE.NORMAL}),right:d.mspace().With({width:b,mathsize:d.SIZE.NORMAL})}))},Hskip:function(a){this.Push(d.mspace().With({width:this.GetDimen(a),mathsize:d.SIZE.NORMAL}))},Rule:function(a,e){var b=this.GetDimen(a),c=this.GetDimen(a),f=this.GetDimen(a),h={width:b,height:c,depth:f};"blank"!==e?(parseFloat(b)&&parseFloat(c)+parseFloat(f)&&(h.mathbackground=this.stack.env.color||"black"),b=d.mpadded(d.mrow()).With(h)):b=d.mspace().With(h);this.Push(b)},MakeBig:function(a,e,b){b*=n.p_height;b=String(b).replace(/(\.\d\d\d).+/,"$1")+"em";a=this.GetDelimiter(a);this.Push(d.TeXAtom(d.mo(a).With({minsize:b,maxsize:b,fence:!0,stretchy:!0,symmetric:!0})).With({texClass:e}))},BuildRel:function(a){var e=this.ParseUpTo(a,"\\over");a=this.ParseArg(a);this.Push(d.TeXAtom(d.munderover(a,null,e)).With({mclass:d.TEXCLASS.REL}))},HBox:function(a,e){this.Push.apply(this,this.InternalMath(this.GetArgument(a),e))},FBox:function(a){this.Push(d.menclose.apply(d,this.InternalMath(this.GetArgument(a))).With({notation:"box"}))},Not:function(a){this.Push(l.not())},Dots:function(a){this.Push(l.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(a){a=this.GetArgument(a).replace(/.*\//,"").replace(/[^a-z0-9_.-]/ig,"");this.Extension(null,a)},Extension:function(a,e,k){e=c.extensionDir+"/"+e;e.match(/\.js$/)||(e+=".js");b.loaded[b.fileURL(e)]||(null!=a&&delete n[k||"macros"][a.replace(/^\\/,"")],g.RestartAfter(b.Require(e)))},Macro:function(a,e,b,d){if(b){var f=[];if(null!=d){var h=this.GetBrackets(a);f.push(null==h?d:h)}for(d=f.length;d<b;d++)f.push(this.GetArgument(a));e=this.SubstituteArgs(f,e)}this.string=this.AddArgs(e,this.string.slice(this.i));this.i=0;++this.macroCount>c.config.MAXMACROS&&c.Error(["MaxMacroSub1","MathJax maximum macro substitution count exceeded; is there a recursive macro call?"])},Matrix:function(a,e,b,d,f,h,g,n){var p=this.GetNext();""===p&&c.Error(["MissingArgFor","Missing argument for %1",a]);"{"===p?this.i++:(this.string=p+"}"+this.string.slice(this.i+1),this.i=0);a=l.array().With({requireClose:!0,arraydef:{rowspacing:h||"4pt",columnspacing:f||"1em"}});n&&(a.isCases=!0);if(e||b)a.open=e,a.close=b;"D"===g&&(a.arraydef.displaystyle=!0);null!=d&&(a.arraydef.columnalign=d);this.Push(a)},Entry:function(a){this.Push(l.cell().With({isEntry:!0,name:a}));if(this.stack.Top().isCases){var e=this.string,b=0;a=this.i;for(var d=e.length;a<d;){var f=e.charAt(a);"{"===f?(b++,a++):"}"===f?0===b?d=0:(b--,a++):"\x26"===f&&0===b?c.Error(["ExtraAlignTab","Extra alignment tab in \\cases text"]):"\\"===f?e.substr(a).match(/^((\\cr)[^a-zA-Z]|\\\\)/)?d=0:a+=2:a++}e=e.substr(this.i,a-this.i);e.match(/^\s*\\text[^a-zA-Z]/)||(this.Push.apply(this,this.InternalMath(e)),this.i=a)}},Cr:function(a){this.Push(l.cell().With({isCR:!0,name:a}))},CrLaTeX:function(a){var e;"["===this.string.charAt(this.i)&&(e=this.GetBrackets(a,"").replace(/ /g,""))&&!e.match(/^((-?(\.\d+|\d+(\.\d*)?))(pt|em|ex|mu|mm|cm|in|pc))$/)&&c.Error(["BracketMustBeDimension","Bracket argument to %1 must be a dimension",a]);this.Push(l.cell().With({isCR:!0,name:a,linebreak:!0}));a=this.stack.Top();if(a.isa(l.array)){if(e&&a.arraydef.rowspacing){var b=a.arraydef.rowspacing.split(/ /);a.rowspacing||(a.rowspacing=this.dimen2em(b[0]));for(;b.length<a.table.length;)b.push(this.Em(a.rowspacing));b[a.table.length-1]=this.Em(Math.max(0,a.rowspacing+this.dimen2em(e)));a.arraydef.rowspacing=b.join(" ")}}else e&&this.Push(d.mspace().With({depth:e})),this.Push(d.mo().With({linebreak:d.LINEBREAK.NEWLINE}))},emPerInch:7.2,dimen2em:function(a){var e=a.match(/^(-?(?:\.\d+|\d+(?:\.\d*)?))(pt|em|ex|mu|pc|in|mm|cm)/);a=parseFloat(e[1]||"1");e=e[2];return"em"===e?a:"ex"===e?.43*a:"pt"===e?a/10:"pc"===e?1.2*a:"in"===e?a*this.emPerInch:"cm"===e?a*this.emPerInch/2.54:"mm"===e?a*this.emPerInch/25.4:"mu"===e?a/18:0},Em:function(a){return 6E-4>Math.abs(a)?"0em":a.toFixed(3).replace(/\.?0+$/,"")+"em"},HLine:function(a,e){null==e&&(e="solid");var b=this.stack.Top();b.isa(l.array)&&!b.data.length||c.Error(["Misplaced","Misplaced %1",a]);if(0==b.table.length)b.frame.push("top");else{for(var d=b.arraydef.rowlines?b.arraydef.rowlines.split(/ /):[];d.length<b.table.length;)d.push("none");d[b.table.length-1]=e;b.arraydef.rowlines=d.join(" ")}},Begin:function(a){var e=this.GetArgument(a);e.match(/[^a-z*]/i)&&c.Error(["InvalidEnv","Invalid environment name '%1'",e]);(a=this.envFindName(e))||c.Error(["UnknownEnv","Unknown environment '%1'",e]);++this.macroCount>c.config.MAXMACROS&&c.Error(["MaxMacroSub2","MathJax maximum substitution count exceeded; is there a recursive latex environment?"]);a instanceof Array||(a=[a]);e=l.begin().With({name:e,end:a[1],parse:this});a[0]&&this[a[0]]&&(e=this[a[0]].apply(this,[e].concat(a.slice(2))));this.Push(e)},End:function(a){this.Push(l.end().With({name:this.GetArgument(a)}))},envFindName:function(a){return n.environment[a]},Equation:function(a,e){return e},ExtensionEnv:function(a,e){this.Extension(a.name,e,"environment")},Array:function(a,e,b,c,f,d,g,n){c||(c=this.GetArgument("\\begin{"+a.name+"}"));var p=("c"+c).replace(/[^clr|:]/g,"").replace(/[^|:]([|:])+/g,"$1");c=c.replace(/[^clr]/g,"").split("").join(" ");c=c.replace(/l/g,"left").replace(/r/g,"right").replace(/c/g,"center");c=l.array().With({arraydef:{columnalign:c,columnspacing:f||"1em",rowspacing:d||"4pt"}});p.match(/[|:]/)&&(p.charAt(0).match(/[|:]/)&&(c.frame.push("left"),c.frame.dashed=":"===p.charAt(0)),p.charAt(p.length-1).match(/[|:]/)&&c.frame.push("right"),p=p.substr(1,p.length-2),c.arraydef.columnlines=p.split("").join(" ").replace(/[^|: ]/g,"none").replace(/\|/g,"solid").replace(/:/g,"dashed"));e&&(c.open=this.convertDelimiter(e));b&&(c.close=this.convertDelimiter(b));"D"===g&&(c.arraydef.displaystyle=!0);"S"===g&&(c.arraydef.scriptlevel=1);n&&(c.arraydef.useHeight=!1);this.Push(a);return c},AlignedArray:function(a){var e=this.GetBrackets("\\begin{"+a.name+"}");return this.setArrayAlign(this.Array.apply(this,arguments),e)},setArrayAlign:function(a,e){e=this.trimSpaces(e||"");"t"===e?a.arraydef.align="baseline 1":"b"===e?a.arraydef.align="baseline -1":"c"===e?a.arraydef.align="center":e&&(a.arraydef.align=e);return a},convertDelimiter:function(a){a&&(a=n.delimiter[a]);if(null==a)return null;a instanceof Array&&(a=a[0]);4===a.length&&(a=String.fromCharCode(parseInt(a,16)));return a},trimSpaces:function(a){return"string"!=typeof a?a:a.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 a=this.string.slice(this.i).match(/^([a-z]+|.) ?/i);if(a)return this.i+=a[1].length,a[1];this.i++;return" "},GetArgument:function(a,e){switch(this.GetNext()){case "":return e||c.Error(["MissingArgFor","Missing argument for %1",a]),null;case "}":return e||c.Error(["ExtraCloseMissingOpen","Extra close brace or missing open brace"]),null;case "\\":return this.i++,"\\"+this.GetCS();case "{":for(var b=++this.i,d=1;this.i<this.string.length;)switch(this.string.charAt(this.i++)){case "\\":this.i++;break;case "{":d++;break;case "}":if(0==d&&c.Error(["ExtraClose","Extra close brace"]),0==--d)return this.string.slice(b,this.i-1)}c.Error(["MissingCloseBrace","Missing close brace"])}return this.string.charAt(this.i++)},GetBrackets:function(a,e){if("["!=this.GetNext())return e;for(var b=++this.i,d=0;this.i<this.string.length;)switch(this.string.charAt(this.i++)){case "{":d++;break;case "\\":this.i++;break;case "}":0>=d--&&c.Error(["ExtraCloseLooking","Extra close brace while looking for %1","']'"]);break;case "]":if(0==d)return this.string.slice(b,this.i-1)}c.Error(["MissingCloseBracket","Couldn't find closing ']' for argument to %1",a])},GetDelimiter:function(a){for(;this.nextIsSpace();)this.i++;var e=this.string.charAt(this.i);if(this.i<this.string.length&&(this.i++,"\\"==e&&(e+=this.GetCS(a)),null!=n.delimiter[e]))return this.convertDelimiter(e);c.Error(["MissingOrUnrecognizedDelim","Missing or unrecognized delimiter for %1",a])},GetDimen:function(a){var e;this.nextIsSpace()&&this.i++;if("{"==this.string.charAt(this.i)){if(e=this.GetArgument(a),e.match(/^\s*([-+]?(\.\d+|\d+(\.\d*)?))\s*(pt|em|ex|mu|px|mm|cm|in|pc)\s*$/))return e.replace(/ /g,"")}else if(e=this.string.slice(this.i),e=e.match(/^\s*(([-+]?(\.\d+|\d+(\.\d*)?))\s*(pt|em|ex|mu|px|mm|cm|in|pc)) ?/))return this.i+=e[0].length,e[1].replace(/ /g,"");c.Error(["MissingDimOrUnits","Missing dimension or its units for %1",a])},GetUpTo:function(a,e){for(;this.nextIsSpace();)this.i++;for(var b=this.i,d,f,h=0;this.i<this.string.length;){d=this.i;f=this.string.charAt(this.i++);switch(f){case "\\":f+=this.GetCS();break;case "{":h++;break;case "}":0==h&&c.Error(["ExtraCloseLooking","Extra close brace while looking for %1",e]),h--}if(0==h&&f==e)return this.string.slice(b,d)}c.Error(["TokenNotFoundForCommand","Couldn't find %1 for %2",e,a])},ParseArg:function(a){return c.Parse(this.GetArgument(a),this.stack.env).mml()},ParseUpTo:function(a,e){return c.Parse(this.GetUpTo(a,e),this.stack.env).mml()},InternalMath:function(a,e){var b={displaystyle:!1};null!=e&&(b.scriptlevel=e);this.stack.env.font&&(b.mathvariant=this.stack.env.font);if(!a.match(/\\?\$|\\\(|\\(eq)?ref\s*\{/))return[this.InternalText(a,b)];for(var u=0,f=0,h,g="",n=[];u<a.length;)h=a.charAt(u++),"$"===h?"$"===g?(n.push(d.TeXAtom(c.Parse(a.slice(f,u-1),{}).mml().With(b))),g="",f=u):""===g&&(f<u-1&&n.push(this.InternalText(a.slice(f,u-1),b)),g="$",f=u):"}"===h&&"}"===g?(n.push(d.TeXAtom(c.Parse(a.slice(f,u),{}).mml().With(b))),g="",f=u):"\\"===h&&(""===g&&a.substr(u).match(/^(eq)?ref\s*\{/)?(f<u-1&&n.push(this.InternalText(a.slice(f,u-1),b)),g="}",f=u-1):(h=a.charAt(u++),"("===h&&""===g?(f<u-2&&n.push(this.InternalText(a.slice(f,u-2),b)),g=")",f=u):")"===h&&")"===g?(n.push(d.TeXAtom(c.Parse(a.slice(f,u-2),{}).mml().With(b))),g="",f=u):"$"===h&&""===g&&(u--,a=a.substr(0,u-1)+a.substr(u))));""!==g&&c.Error(["MathNotTerminated","Math not terminated in text box"]);f<a.length&&n.push(this.InternalText(a.slice(f),b));return n},InternalText:function(a,e){a=a.replace(/^\s+/,"\u00a0").replace(/\s+$/,"\u00a0");return d.mtext(d.chars(a)).With(e)},SubstituteArgs:function(a,e){for(var b="",d="",f,h=0;h<e.length;)f=e.charAt(h++),"\\"===f?b+=f+e.charAt(h++):"#"===f?(f=e.charAt(h++),"#"===f?b+=f:((!f.match(/[1-9]/)||f>a.length)&&c.Error(["IllegalMacroParam","Illegal macro parameter reference"]),d=this.AddArgs(this.AddArgs(d,b),a[f-1]),b="")):b+=f;return this.AddArgs(d,b)},AddArgs:function(a,e){e.match(/^[a-z]/i)&&a.match(/(^|[^\\])(\\\\)*\\[a-z]+$/i)&&(a+=" ");a.length+e.length>c.config.MAXBUFFER&&c.Error(["MaxBufferSize","MathJax internal buffer size exceeded; is there a recursive macro call?"]);return a+e}});c.Augment({Stack:m,Parse:p,Definitions:n,Startup:function(){d=MathJax.ElementJax.mml;g.Insert(n,{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 a=this.config.Macros,e;for(e in a)a.hasOwnProperty(e)&&(n.macros[e]="string"===typeof a[e]?["Macro",a[e]]:["Macro"].concat(a[e]),n.macros[e].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(a){var e,b=!1,u=MathJax.HTML.getScript(a),f=null!=a.type.replace(/\n/g," ").match(/(;|\s|\n)mode\s*=\s*display(;|\s|\n|$)/),h={math:u,display:f,script:a};this.prefilterHooks.Execute(h);u=h.math;try{e=c.Parse(u).mml()}catch(g){if(!g.texError)throw g;e=this.formatError(g,u,f,a);b=!0}e=e.inferred?d.apply(MathJax.ElementJax,e.data):d(e);f&&(e.root.display="block");b&&(e.texError=!0);h.math=e;this.postfilterHooks.Execute(h);return h.math},prefilterMath:function(a,e,b){return a},postfilterMath:function(a,e,b){this.combineRelations(a.root);return a},formatError:function(a,e,b,c){a=a.message.replace(/\n.*/,"");g.signal.Post(["TeX Jax - parse error",a,e,b,c]);return d.merror(a)},Error:function(a){a instanceof Array&&(a=q.apply(q,a));throw g.Insert(Error(a),{texError:!0});},Macro:function(a,e,b){n.macros[a]=["Macro"].concat([].slice.call(arguments,1));n.macros[a].isUser=!0},fenced:function(a,e,b){var c=d.mrow();c.open=a;c.close=b;a&&c.Append(d.mo(a).With({fence:!0,stretchy:!0,texClass:d.TEXCLASS.OPEN}));"mrow"===e.type?c.Append.apply(c,e.data):c.Append(e);b&&c.Append(d.mo(b).With({fence:!0,stretchy:!0,texClass:d.TEXCLASS.CLOSE}));return c},combineRelations:function(a){var e,b,c,f;e=0;for(b=a.data.length;e<b;e++)if(a.data[e]){if(a.isa(d.mrow))for(;e+1<b&&(c=a.data[e])&&(f=a.data[e+1])&&c.isa(d.mo)&&f.isa(d.mo)&&c.Get("texClass")===d.TEXCLASS.REL&&f.Get("texClass")===d.TEXCLASS.REL;)c.variantForm!=f.variantForm||c.Get("mathvariant")!=f.Get("mathvariant")||c.style!=f.style||c["class"]!=f["class"]||c.id||f.id?(c.rspace=f.lspace="0pt",e++):(c.Append.apply(c,f.data),a.data.splice(e+1,1),b--);a.data[e].isToken||this.combineRelations(a.data[e])}}});c.prefilterHooks.Add(function(a){a.math=c.prefilterMath(a.math,a.display,a.script)});c.postfilterHooks.Add(function(a){a.math=c.postfilterMath(a.math,a.display,a.script)});c.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 c=MathJax.ElementJax.mml,g=MathJax.InputJax.TeX,b=MathJax.Extension["TeX/AMSmath"],d=g.Definitions,q=g.Stack.Item,m=g.config.equationNumbers,l=function(b){for(var c=[],a=0,e=b.length;a<e;a++)c[a]=g.Parse.prototype.Em(b[a]);return c.join(" ")};d.Add({mathchar0mo:{iiiint:["2A0C",{texClass:c.TEXCLASS.OP}]},macros:{mathring:["Accent","2DA"],nobreakspace:"Tilde",negmedspace:["Spacer",c.LENGTH.NEGATIVEMEDIUMMATHSPACE],negthickspace:["Spacer",c.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",c.ALIGN.LEFT],shoveright:["HandleShove",c.ALIGN.RIGHT],xrightarrow:["xArrow",8594,5,6],xleftarrow:["xArrow",8592,7,3]},environment:{align:["AMSarray",null,!0,!0,"rlrlrlrlrlrl",l([5/18,2,5/18,2,5/18,2,5/18,2,5/18,2,5/18])],"align*":["AMSarray",null,!1,!0,"rlrlrlrlrlrl",l([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",l([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",l([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,l([0,0,0,0]),"0.1em","S",1],smallmatrix:["Array",null,null,null,"c",l([1/3]),".2em","S",1],equation:["EquationBegin","Equation",!0],"equation*":["EquationBegin","EquationStar",!1],eqnarray:["AMSarray",null,!0,!0,"rcl",c.LENGTH.THICKMATHSPACE,".5em"],"eqnarray*":["AMSarray",null,!1,!0,"rcl",c.LENGTH.THICKMATHSPACE,".5em"]},delimiter:{"\\lvert":["2223",{texClass:c.TEXCLASS.OPEN}],"\\rvert":["2223",{texClass:c.TEXCLASS.CLOSE}],"\\lVert":["2225",{texClass:c.TEXCLASS.OPEN}],"\\rVert":["2225",{texClass:c.TEXCLASS.CLOSE}]}},null,!0);g.Parse.Augment({HandleTag:function(b){var d=this.GetStar(),a=this.trimSpaces(this.GetArgument(b)),e=a;d||(a=m.formatTag(a));d=this.stack.global;d.tagID=e;d.notags&&g.Error(["CommandNotAllowedInEnv","%1 not allowed in %2 environment",b,d.notags]);d.tag&&g.Error(["MultipleCommand","Multiple %1",b]);d.tag=c.mtd.apply(c,this.InternalMath(a)).With({id:m.formatID(e)})},HandleNoTag:function(b){this.stack.global.tag&&delete this.stack.global.tag;this.stack.global.notag=!0},HandleLabel:function(c){var d=this.stack.global,a=this.GetArgument(c);""===a||b.refUpdate||(d.label&&g.Error(["MultipleCommand","Multiple %1",c]),d.label=a,(b.labels[a]||b.eqlabels[a])&&g.Error(["MultipleLabel","Label '%1' multiply defined",a]),b.eqlabels[a]="???")},HandleRef:function(d,g){var a=this.GetArgument(d),e=b.labels[a]||b.eqlabels[a];e||(e="??",b.badref=!b.refUpdate);var k=e;g&&(k=m.formatTag(k));m.useLabelIds&&(e=a);this.Push(c.mrow.apply(c,this.InternalMath(k)).With({href:m.formatURL(m.formatID(e)),"class":"MathJax_ref"}))},HandleDeclareOp:function(b){var c=this.GetStar()?"\\limits":"",a=this.trimSpaces(this.GetArgument(b));"\\"==a.charAt(0)&&(a=a.substr(1));b=this.GetArgument(b);b=b.replace(/\*/g,"\\text{*}").replace(/-/g,"\\text{-}");g.Definitions.macros[a]=["Macro","\\mathop{\\rm "+b+"}"+c]},HandleOperatorName:function(b){var c=this.GetStar()?"\\limits":"\\nolimits";b=this.trimSpaces(this.GetArgument(b));b=b.replace(/\*/g,"\\text{*}").replace(/-/g,"\\text{-}");this.string="\\mathop{\\rm "+b+"}"+c+" "+this.string.slice(this.i);this.i=0},HandleShove:function(b,c){var a=this.stack.Top();("multline"!==a.type||a.data.length)&&g.Error(["CommandAtTheBeginingOfLine","%1 must come at the beginning of the line",b]);a.data.shove=c},CFrac:function(b){var d=this.trimSpaces(this.GetBrackets(b,"")),a=this.GetArgument(b),e=this.GetArgument(b),a=c.mfrac(g.Parse("\\strut\\textstyle{"+a+"}",this.stack.env).mml(),g.Parse("\\strut\\textstyle{"+e+"}",this.stack.env).mml()),d={l:c.ALIGN.LEFT,r:c.ALIGN.RIGHT,"":""}[d];null==d&&g.Error(["IllegalAlign","Illegal alignment specified in %1",b]);d&&(a.numalign=a.denomalign=d);this.Push(a)},Genfrac:function(b,d,a,e,k){d=null==d?this.GetDelimiterArg(b):this.convertDelimiter(d);a=null==a?this.GetDelimiterArg(b):this.convertDelimiter(a);null==e&&(e=this.GetArgument(b));null==k&&(k=this.trimSpaces(this.GetArgument(b)));var u=this.ParseArg(b),f=this.ParseArg(b),u=c.mfrac(u,f);""!==e&&(u.linethickness=e);if(d||a)u=g.fenced(d,u,a);""!==k&&(d=["D","T","S","SS"][k],null==d&&g.Error(["BadMathStyleFor","Bad math style for %1",b]),u=c.mstyle(u),"D"===d?(u.displaystyle=!0,u.scriptlevel=0):(u.displaystyle=!1,u.scriptlevel=k-1));this.Push(u)},Multline:function(b,c){this.Push(b);this.checkEqnEnv();return q.multline(c,this.stack).With({arraydef:{displaystyle:!0,rowspacing:".5em",width:g.config.MultLineWidth,columnwidth:"100%",side:g.config.TagSide,minlabelspacing:g.config.TagIndent}})},AMSarray:function(b,c,a,e,k){this.Push(b);a&&this.checkEqnEnv();e=e.replace(/[^clr]/g,"").split("").join(" ");e=e.replace(/l/g,"left").replace(/r/g,"right").replace(/c/g,"center");return q.AMSarray(b.name,c,a,this.stack).With({arraydef:{displaystyle:!0,rowspacing:".5em",columnalign:e,columnspacing:k||"1em",rowspacing:"3pt",side:g.config.TagSide,minlabelspacing:g.config.TagIndent}})},AlignAt:function(b,c,a){var e,k,d="",f=[];a||(k=this.GetBrackets("\\begin{"+b.name+"}"));e=this.GetArgument("\\begin{"+b.name+"}");for(e.match(/[^0-9]/)&&g.Error(["PositiveIntegerArg","Argument to %1 must me a positive integer","\\begin{"+b.name+"}"]);0<e;)d+="rl",f.push("0em 0em"),e--;f=f.join(" ");if(a)return this.AMSarray(b,c,a,d,f);b=this.Array.call(this,b,null,null,d,f,".5em","D");return this.setArrayAlign(b,k)},EquationBegin:function(b,c){this.checkEqnEnv();this.stack.global.forcetag=c&&"none"!==m.autoNumber;return b},EquationStar:function(b,c){this.stack.global.tagged=!0;return c},checkEqnEnv:function(){this.stack.global.eqnenv&&g.Error(["ErroneousNestingEq","Erroneous nesting of equation structures"]);this.stack.global.eqnenv=!0},MultiIntegral:function(b,c){var a=this.GetNext();if("\\"===a){var e=this.i,a=this.GetArgument(b);this.i=e;"\\limits"===a&&(c="\\idotsint"===b?"\\!\\!\\mathop{\\,\\,"+c+"}":"\\!\\!\\!\\mathop{\\,\\,\\,"+c+"}")}this.string=c+" "+this.string.slice(this.i);this.i=0},xArrow:function(b,d,a,e){a={width:"+"+(a+e)+"mu",lspace:a+"mu"};e=this.GetBrackets(b);b=this.ParseArg(b);d=c.mo(c.chars(String.fromCharCode(d))).With({stretchy:!0,texClass:c.TEXCLASS.REL});d=c.munderover(d);d.SetData(d.over,c.mpadded(b).With(a).With({voffset:".15em"}));e&&(e=g.Parse(e,this.stack.env).mml(),d.SetData(d.under,c.mpadded(e).With(a).With({voffset:"-.24em"})));this.Push(d)},GetDelimiterArg:function(b){var c=this.trimSpaces(this.GetArgument(b));if(""==c)return null;null==d.delimiter[c]&&g.Error(["MissingOrUnrecognizedDelim","Missing or unrecognized delimiter for %1",b]);return this.convertDelimiter(c)},GetStar:function(){var b="*"===this.GetNext();b&&this.i++;return b}});q.Augment({autoTag:function(){var d=this.global;if(!d.notag){b.number++;d.tagID=m.formatNumber(b.number.toString());var l=g.Parse("\\text{"+m.formatTag(d.tagID)+"}",{}).mml();d.tag=c.mtd(l.With({id:m.formatID(d.tagID)}))}},getTag:function(){var c=this.global,d=c.tag;c.tagged=!0;c.label&&(b.eqlabels[c.label]=c.tagID,m.useLabelIds&&(d.id=m.formatID(c.label)));delete c.tag;delete c.tagID;delete c.label;return d}});q.multline=q.array.Subclass({type:"multline",Init:function(b,c){this.SUPER(arguments).Init.apply(this);this.numbered=b&&"none"!==m.autoNumber;this.save={notag:c.global.notag};c.global.tagged=!b&&!c.global.forcetag},EndEntry:function(){var b=c.mtd.apply(c,this.data);this.data.shove&&(b.columnalign=this.data.shove);this.row.push(b);this.data=[]},EndRow:function(){1!=this.row.length&&g.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 b=this.table.length-1,d,a=-1;this.table[0][0].columnalign||(this.table[0][0].columnalign=c.ALIGN.LEFT);this.table[b][0].columnalign||(this.table[b][0].columnalign=c.ALIGN.RIGHT);!this.global.tag&&this.numbered&&this.autoTag();this.global.tag&&!this.global.notags&&(a="left"===this.arraydef.side?0:this.table.length-1,this.table[a]=[this.getTag()].concat(this.table[a]));d=0;for(b=this.table.length;d<b;d++)this.table[d]=(d===a?c.mlabeledtr:c.mtr).apply(c,this.table[d])}this.global.notag=this.save.notag}});q.AMSarray=q.array.Subclass({type:"AMSarray",Init:function(b,c,a,e){this.SUPER(arguments).Init.apply(this);this.numbered=c&&"none"!==m.autoNumber;this.save={notags:e.global.notags,notag:e.global.notag};e.global.notags=a?null:b;e.global.tagged=!c&&!e.global.forcetag},EndRow:function(){var b=c.mtr;!this.global.tag&&this.numbered&&this.autoTag();this.global.tag&&!this.global.notags&&(this.row=[this.getTag()].concat(this.row),b=c.mlabeledtr);this.numbered&&delete this.global.notag;this.table.push(b.apply(c,this.row));this.row=[]},EndTable:function(){this.SUPER(arguments).EndTable.call(this);this.global.notags=this.save.notags;this.global.notag=this.save.notag}});q.start.Augment({oldCheckItem:q.start.prototype.checkItem,checkItem:function(d){if("stop"===d.type){d=this.mmlData();var l=this.global;!b.display||l.tag||l.tagged||l.isInner||"all"!==m.autoNumber&&!l.forcetag||this.autoTag();if(l.tag){var l=[this.getTag(),c.mtd(d)],a={side:g.config.TagSide,minlabelspacing:g.config.TagIndent,columnalign:d.displayAlign};d.displayAlign===c.INDENTALIGN.LEFT?(a.width="100%",d.displayIndent&&!String(d.displayIndent).match(/^0+(\.0*)?($|[a-z%])/)&&(a.columnwidth=d.displayIndent+" fit",a.columnspacing="0",l=[l[0],c.mtd(),l[1]])):d.displayAlign===c.INDENTALIGN.RIGHT&&(a.width="100%",d.displayIndent&&!String(d.displayIndent).match(/^0+(\.0*)?($|[a-z%])/)&&(a.columnwidth="fit "+d.displayIndent,a.columnspacing="0",l[2]=c.mtd()));d=c.mtable(c.mlabeledtr.apply(c,l)).With(a)}return q.mml(d)}return this.oldCheckItem.call(this,d)}});g.prefilterHooks.Add(function(c){b.display=c.display;b.number=b.startNumber;b.eqlabels={};b.badref=!1;b.refUpdate&&(b.number=c.script.MathJax.startNumber)});g.postfilterHooks.Add(function(c){c.script.MathJax.startNumber=b.startNumber;b.startNumber=b.number;MathJax.Hub.Insert(b.labels,b.eqlabels);b.badref&&!c.math.texError&&b.refs.push(c.script)});MathJax.Hub.Register.MessageHook("Begin Math Input",function(){b.refs=[];b.refUpdate=!1});MathJax.Hub.Register.MessageHook("End Math Input",function(c){if(b.refs.length){b.refUpdate=!0;c=0;for(var d=b.refs.length;c<d;c++)b.refs[c].MathJax.state=MathJax.ElementJax.STATE.UPDATE;return MathJax.Hub.processInput({scripts:b.refs,start:(new Date).getTime(),i:0,j:0,jax:{},jaxIDs:[]})}return null});g.resetEquationNumbers=function(c,d){b.startNumber=c||0;d||(b.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 c=MathJax.ElementJax.mml;MathJax.InputJax.TeX.Definitions.Add({mathchar0mi:{digamma:"03DD",varkappa:"03F0",varGamma:["0393",{mathvariant:c.VARIANT.ITALIC}],varDelta:["0394",{mathvariant:c.VARIANT.ITALIC}],varTheta:["0398",{mathvariant:c.VARIANT.ITALIC}],varLambda:["039B",{mathvariant:c.VARIANT.ITALIC}],varXi:["039E",{mathvariant:c.VARIANT.ITALIC}],varPi:["03A0",{mathvariant:c.VARIANT.ITALIC}],varSigma:["03A3",{mathvariant:c.VARIANT.ITALIC}],varUpsilon:["03A5",{mathvariant:c.VARIANT.ITALIC}],varPhi:["03A6",{mathvariant:c.VARIANT.ITALIC}],varPsi:["03A8",{mathvariant:c.VARIANT.ITALIC}],varOmega:["03A9",{mathvariant:c.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:c.VARIANT.NORMAL}],bigstar:"2605",sphericalangle:"2222",measuredangle:"2221",nexists:"2204",complement:"2201",mho:"2127",eth:["00F0",{mathvariant:c.VARIANT.NORMAL}],Finv:"2132",diagup:"2571",Game:"2141",diagdown:"2572",Bbbk:["006B",{mathvariant:c.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 g=c.mo.OPTYPES.REL;MathJax.Hub.Insert(c.mo.prototype,{OPTABLE:{infix:{"\u2322":g,"\u2323":g,"\u25b3":g,"\ue006":g,"\ue007":g,"\ue00c":g,"\ue00d":g,"\ue00e":g,"\ue00f":g,"\ue010":g,"\ue011":g,"\ue016":g,"\ue017":g,"\ue018":g,"\ue019":g,"\ue01a":g,"\ue01b":g,"\ue04b":g,"\ue04f":g}}});MathJax.Hub.Startup.signal.Post("TeX AMSsymbols Ready")});MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/AMSsymbols.js");(function(c,g,b){var d,q=function(){var a=[].slice.call(arguments,0);a[0][0]=["HTML-CSS",a[0][0]];return MathJax.Message.Set.apply(MathJax.Message,a)},m=MathJax.Object.Subclass({timeout:1E3*(g.Browser.isMobile?15:8),FontInfo:{STIX:{family:"STIXSizeOneSym",testString:"() {} []"},TeX:{family:"MathJax_Size1",testString:"() {} []"}},comparisonFont:"sans-serif monospace script Times Courier Arial Helvetica".split(" "),testSize:["40px","50px","60px","30px","20px"],Init:function(){this.div=MathJax.HTML.addElement(document.body,"div",{id:"MathJax_Font_Test",style:{position:"absolute",visibility:"hidden",top:0,left:0,width:"auto",padding:0,border:0,margin:0,whiteSpace:"nowrap",textAlign:"left",textIndent:0,textTransform:"none",lineHeight:"normal",letterSpacing:"normal",wordSpacing:"normal",fontSize:this.testSize[0],fontWeight:"normal",fontStyle:"normal",fontSizeAdjust:"none"}},[""]);this.text=this.div.firstChild},findFont:function(a,e){if(e&&this.testCollection(e))return e;for(var b=0,c=a.length;b<c;b++)if(a[b]!==e&&this.testCollection(a[b]))return a[b];return null},testCollection:function(a){return this.testFont(this.FontInfo[a])},testFont:function(a){a.isWebFont&&b.FontFaceBug?this.div.style.fontWeight=this.div.style.fontStyle="normal":(this.div.style.fontWeight=a.weight||"normal",this.div.style.fontStyle=a.style||"normal");var e=this.getComparisonWidths(a.testString,a.noStyleChar);if(e){this.div.style.fontFamily="'"+a.family+"',"+this.comparisonFont[0];if(this.div.offsetWidth==e[0]&&(this.div.style.fontFamily="'"+a.family+"',"+this.comparisonFont[e[2]],this.div.offsetWidth==e[1]))return!1;if(this.div.offsetWidth!=e[3]||this.div.offsetHeight!=e[4]){if(a.noStyleChar||!b.FONTDATA||!b.FONTDATA.hasStyleChar)return!0;for(var e=0,c=this.testSize.length;e<c;e++)if(this.testStyleChar(a,this.testSize[e]))return!0}}return!1},styleChar:"\ueffd",versionChar:"\ueffe",compChar:"\uefff",testStyleChar:function(a,e){var c=3+(a.weight?2:0)+(a.style?4:0),d="",f=0,h=this.div.style.fontSize;this.div.style.fontSize=e;b.msieItalicWidthBug&&"italic"===a.style&&(this.text.nodeValue=d=this.compChar,f=this.div.offsetWidth);b.safariTextNodeBug?this.div.innerHTML=this.compChar+d:this.text.nodeValue=this.compChar+d;var g=this.div.offsetWidth-f;b.safariTextNodeBug?this.div.innerHTML=this.styleChar+d:this.text.nodeValue=this.styleChar+d;var l=Math.floor((this.div.offsetWidth-f)/g+.5);l===c&&(b.safariTextNodeBug?this.div.innerHTML=this.versionChar+d:this.text.nodeValue=this.versionChar+d,a.version=Math.floor((this.div.offsetWidth-f)/g+1.5)/2);this.div.style.fontSize=h;return l===c},getComparisonWidths:function(a,e){b.FONTDATA&&b.FONTDATA.hasStyleChar&&!e&&(a+=this.styleChar+" "+this.compChar);b.safariTextNodeBug?this.div.innerHTML=a:this.text.nodeValue=a;this.div.style.fontFamily=this.comparisonFont[0];var c=this.div.offsetWidth;this.div.style.fontFamily=b.webFontDefault;for(var d=this.div.offsetWidth,f=this.div.offsetHeight,h=1,g=this.comparisonFont.length;h<g;h++)if(this.div.style.fontFamily=this.comparisonFont[h],this.div.offsetWidth!=c)return[c,this.div.offsetWidth,h,d,f];return null},loadWebFont:function(a){g.Startup.signal.Post("HTML-CSS Jax - Web-Font "+b.fontInUse+"/"+a.directory);var e=q(["LoadWebFont","Loading web-font %1",b.fontInUse+"/"+a.directory]),k=MathJax.Callback({}),e=MathJax.Callback(["loadComplete",this,a,e,k]);c.timer.start(c,[this.checkWebFont,a,e],0,this.timeout);return k},loadComplete:function(a,e,k,d){MathJax.Message.Clear(e);d===c.STATUS.OK?(this.webFontLoaded=!0,k()):(this.loadError(a),g.Browser.isFirefox&&b.allowWebFonts&&(e=document.location.protocol+"//"+document.location.hostname,""!=document.location.port&&(e+=":"+document.location.port),e+="/",c.fileURL(b.webfontDir).substr(0,e.length)!==e&&this.firefoxFontError(a)),this.webFontLoaded?k():b.loadWebFontError(a,k))},loadError:function(a){q(["CantLoadWebFont","Can't load web font %1",b.fontInUse+"/"+a.directory],null,2E3);g.Startup.signal.Post(["HTML-CSS Jax - web font error",b.fontInUse+"/"+a.directory,a])},firefoxFontError:function(a){q(["FirefoxCantLoadWebFont","Firefox can't load web fonts from a remote host"],null,3E3);g.Startup.signal.Post("HTML-CSS Jax - Firefox web fonts on remote host error")},checkWebFont:function(a,e,c){a.time(c)||(b.Font.testFont(e)?c(a.STATUS.OK):setTimeout(a,a.delay))},fontFace:function(a){var e=b.allowWebFonts,k=b.FONTDATA.FONTS[a];b.msieFontCSSBug&&!k.family.match(/-Web$/)&&(k.family+="-Web");var d=c.fileURL(b.webfontDir+"/"+e),f=a.replace(/-b/,"-B").replace(/-i/,"-I").replace(/-Bold-/,"-Bold");f.match(/-/)||(f+="-Regular");var f="svg"===e?f+(".svg#"+f):f+("."+e),h={"font-family":k.family,src:"url('"+d+"/"+f+"')"};"otf"===e?(h.src+=" format('opentype')",d=c.fileURL(b.webfontDir+"/woff"),h.src="url('"+d+"/"+f.replace(/otf$/,"woff")+"') format('woff'), "+h.src):"eot"!==e&&(h.src+=" format('"+e+"')");b.FontFaceBug&&k.isWebFont||(a.match(/-bold/)&&(h["font-weight"]="bold"),a.match(/-italic/)&&(h["font-style"]="italic"));return h}}),l,n,p;b.Augment({config:{styles:{".MathJax":{display:"inline","font-style":"normal","font-weight":"normal","line-height":"normal","font-size":"100%","font-size-adjust":"none","text-indent":0,"text-align":"left","text-transform":"none","letter-spacing":"normal","word-spacing":"normal","word-wrap":"normal","white-space":"nowrap","float":"none",direction:"ltr",border:0,padding:0,margin:0},".MathJax_Display":{position:"relative",display:"block",width:"100%"},".MathJax img, .MathJax nobr, .MathJax a":{border:0,padding:0,margin:0,"max-width":"none","max-height":"none","vertical-align":0,"line-height":"normal","text-decoration":"none"},"img.MathJax_strut":{border:"0 !important",padding:"0 !important",margin:"0 !important","vertical-align":"0 !important"},".MathJax span":{display:"inline",position:"static",border:0,padding:0,margin:0,"vertical-align":0,"line-height":"normal","text-decoration":"none"},".MathJax nobr":{"white-space":"nowrap ! important"},".MathJax img":{display:"inline ! important","float":"none ! important"},".MathJax *":{transition:"none","-webkit-transition":"none","-moz-transition":"none","-ms-transition":"none","-o-transition":"none"},".MathJax_Processing":{visibility:"hidden",position:"fixed",width:0,height:0,overflow:"hidden"},".MathJax_Processed":{display:"none!important"},".MathJax_ExBox":{display:"block",overflow:"hidden",width:"1px",height:"60ex"},".MathJax .MathJax_EmBox":{display:"block",overflow:"hidden",width:"1px",height:"60em"},".MathJax .MathJax_HitBox":{cursor:"text",background:"white",opacity:0,filter:"alpha(opacity\x3d0)"},".MathJax .MathJax_HitBox *":{filter:"none",opacity:1,background:"transparent"},"#MathJax_Tooltip":{position:"absolute",left:0,top:0,width:"auto",height:"auto",display:"none"},"#MathJax_Tooltip *":{filter:"none",opacity:1,background:"transparent"},"@font-face":{"font-family":"MathJax_Blank",src:"url('about:blank')"}}},settings:g.config.menuSettings,hideProcessedMath:!0,Font:null,webFontDefault:"MathJax_Blank",allowWebFonts:"otf",maxStretchyParts:1E3,Config:function(){this.require||(this.require=[]);this.Font=m();this.SUPER(arguments).Config.call(this);var a=this.settings;this.adjustAvailableFonts&&this.adjustAvailableFonts(this.config.availableFonts);a.scale&&(this.config.scale=a.scale);a.font&&"Auto"!==a.font&&("TeX (local)"===a.font?(this.config.availableFonts=["TeX"],this.config.preferredFont=this.config.webFont="TeX"):"STIX (local)"===a.font?(this.config.availableFonts=["STIX"],this.config.preferredFont="STIX",this.config.webFont="TeX"):"TeX (web)"===a.font?(this.config.availableFonts=[],this.config.preferredFont="",this.config.webFont="TeX"):"TeX (image)"===a.font&&(this.config.availableFonts=[],this.config.preferredFont=this.config.webFont=""));a=this.Font.findFont(this.config.availableFonts,this.config.preferredFont);!a&&this.allowWebFonts&&(a=this.config.webFont)&&(this.webFonts=!0);!a&&this.config.imageFont&&(a=this.config.imageFont,this.imgFonts=!0);a?(this.fontInUse=a,this.fontDir+="/"+a,this.webfontDir+="/"+a,this.require.push(this.fontDir+"/fontdata.js"),this.imgFonts&&(this.require.push(this.directory+"/imageFonts.js"),g.Startup.signal.Post("HTML-CSS Jax - using image fonts"))):(q(["CantFindFontUsing","Can't find a valid font using %1","["+this.config.availableFonts.join(", ")+"]"],null,3E3),this.fontInUse="generic",this.FONTDATA={TeX_factor:1,baselineskip:1.2,lineH:.8,lineD:.2,ffLineH:.8,FONTS:{},VARIANT:{normal:{fonts:[]},"-generic-variant":{fonts:[]},"-largeOp":{fonts:[]},"-smallOp":{fonts:[]}},RANGES:[],DELIMITERS:{},RULECHAR:45,REMAP:{}},g.Startup.signal.Post("HTML-CSS Jax - no valid font"));this.require.push(MathJax.OutputJax.extensionDir+"/MathEvents.js")},Startup:function(){l=MathJax.Extension.MathEvents.Event;n=MathJax.Extension.MathEvents.Touch;p=MathJax.Extension.MathEvents.Hover;this.ContextMenu=l.ContextMenu;this.Mousedown=l.AltContextMenu;this.Mouseover=p.Mouseover;this.Mouseout=p.Mouseout;this.Mousemove=p.Mousemove;this.hiddenDiv=this.Element("div",{style:{visibility:"hidden",overflow:"hidden",position:"absolute",top:0,height:"1px",width:"auto",padding:0,border:0,margin:0,textAlign:"left",textIndent:0,textTransform:"none",lineHeight:"normal",letterSpacing:"normal",wordSpacing:"normal"}});document.body.firstChild?document.body.insertBefore(this.hiddenDiv,document.body.firstChild):document.body.appendChild(this.hiddenDiv);this.hiddenDiv=this.addElement(this.hiddenDiv,"div",{id:"MathJax_Hidden"});var a=this.addElement(this.hiddenDiv,"div",{style:{width:"5in"}});this.pxPerInch=a.offsetWidth/5;this.hiddenDiv.removeChild(a);this.startMarker=this.createStrut(this.Element("span"),10,!0);this.endMarker=this.addText(this.Element("span"),"x").parentNode;this.HDspan=this.Element("span");this.operaHeightBug&&this.createStrut(this.HDspan,0);if(this.msieInlineBlockAlignBug){this.HDimg=this.addElement(this.HDspan,"img",{style:{height:"0px",width:"1px"}});try{this.HDimg.src="about:blank"}catch(e){}}else this.HDimg=this.createStrut(this.HDspan,0);this.EmExSpan=this.Element("span",{style:{position:"absolute","font-size-adjust":"none"}},[["span",{className:"MathJax_ExBox"}],["span",{className:"MathJax"},[["span",{className:"MathJax_EmBox"}]]]]);this.linebreakSpan=this.Element("span",null,[["hr",{style:{width:"100%",size:1,padding:0,border:0,margin:0}}]]);return c.Styles(this.config.styles,["InitializeHTML",this])},removeSTIXfonts:function(a){for(var e=0,b=a.length;e<b;e++)"STIX"===a[e]&&(a.splice(e,1),b--,e--);"STIX"===this.config.preferredFont&&(this.config.preferredFont=a[0])},PreloadWebFonts:function(){if(b.allowWebFonts&&b.config.preloadWebFonts)for(var a=0,e=b.config.preloadWebFonts.length;a<e;a++){var c=b.FONTDATA.FONTS[b.config.preloadWebFonts[a]];c.available||b.Font.testFont(c)}},InitializeHTML:function(){this.PreloadWebFonts();document.body.appendChild(this.EmExSpan);document.body.appendChild(this.linebreakSpan);this.defaultEx=this.EmExSpan.firstChild.offsetHeight/60;this.defaultEm=this.EmExSpan.lastChild.firstChild.offsetHeight/60;this.defaultWidth=this.linebreakSpan.firstChild.offsetWidth;document.body.removeChild(this.linebreakSpan);document.body.removeChild(this.EmExSpan)},preTranslate:function(a){var e=a.jax[this.id],b,c=e.length,d,h,r,w,v,t,m=!1,x=this.config.linebreaks.automatic,q=this.config.linebreaks.width;x?((m=null!=q.match(/^\s*(\d+(\.\d*)?%\s*)?container\s*$/))?q=q.replace(/\s*container\s*/,""):t=this.defaultWidth,""===q&&(q="100%")):t=1E5;for(b=0;b<c;b++)if(d=e[b],d.parentNode&&((h=d.previousSibling)&&String(h.className).match(/^MathJax(_Display)?( MathJax_Processing)?$/)&&h.parentNode.removeChild(h),h=d.MathJax.elementJax))h.HTMLCSS={display:"block"===h.root.Get("display")},r=w=this.Element("span",{className:"MathJax",id:h.inputID+"-Frame",isMathJax:!0,jaxID:this.id,oncontextmenu:l.Menu,onmousedown:l.Mousedown,onmouseover:l.Mouseover,onmouseout:l.Mouseout,onmousemove:l.Mousemove,onclick:l.Click,ondblclick:l.DblClick}),g.Browser.noContextMenu&&(r.ontouchstart=n.start,r.ontouchend=n.end),h.HTMLCSS.display?(w=this.Element("div",{className:"MathJax_Display"}),w.appendChild(r)):this.msieDisappearingBug&&(r.style.display="inline-block"),w.setAttribute("role","textbox"),w.setAttribute("aria-readonly","true"),w.className+=" MathJax_Processing",d.parentNode.insertBefore(w,d),d.parentNode.insertBefore(this.EmExSpan.cloneNode(!0),d),m&&w.parentNode.insertBefore(this.linebreakSpan.cloneNode(!0),w);for(b=0;b<c;b++)if(d=e[b],d.parentNode&&(v=d.previousSibling,w=v.previousSibling,h=d.MathJax.elementJax)){d=v.firstChild.offsetHeight/60;v=v.lastChild.firstChild.offsetHeight/60;m&&(t=w.previousSibling.firstChild.offsetWidth);if(0===d||"NaN"===d)this.hiddenDiv.appendChild(w),h.HTMLCSS.isHidden=!0,d=this.defaultEx,v=this.defaultEm,m&&(t=this.defaultWidth);w=Math.floor(Math.max(this.config.minScaleAdjust/100,d/this.TeX.x_height/v)*this.config.scale);h.HTMLCSS.scale=w/100;h.HTMLCSS.fontSize=w+"%";h.HTMLCSS.em=h.HTMLCSS.outerEm=v;this.em=v*w/100;h.HTMLCSS.ex=d;h.HTMLCSS.lineWidth=x?this.length2em(q,1,t/this.em):1E6}for(b=0;b<c;b++)if(d=e[b],d.parentNode&&(v=e[b].previousSibling,h=e[b].MathJax.elementJax))m&&(r=v.previousSibling,h.HTMLCSS.isHidden||(r=r.previousSibling),r.parentNode.removeChild(r)),v.parentNode.removeChild(v);a.HTMLCSSeqn=a.HTMLCSSlast=0;a.HTMLCSSi=-1;a.HTMLCSSchunk=this.config.EqnChunk;a.HTMLCSSdelay=!1},Translate:function(a,e){if(a.parentNode){e.HTMLCSSdelay&&(e.HTMLCSSdelay=!1,g.RestartAfter(MathJax.Callback.Delay(this.config.EqnChunkDelay)));var b=a.MathJax.elementJax,c=b.root,f=document.getElementById(b.inputID+"-Frame"),h=b.HTMLCSS.display?f.parentNode:f;this.em=d.mbase.prototype.em=b.HTMLCSS.em*b.HTMLCSS.scale;this.outerEm=b.HTMLCSS.em;this.scale=b.HTMLCSS.scale;this.linebreakWidth=b.HTMLCSS.lineWidth;f.style.fontSize=b.HTMLCSS.fontSize;this.initImg(f);this.initHTML(c,f);c.setTeXclass();try{c.toHTML(f,h)}catch(r){if(r.restart)for(;f.firstChild;)f.removeChild(f.firstChild);throw r;}b.HTMLCSS.isHidden&&a.parentNode.insertBefore(h,a);h.className=h.className.split(/ /)[0];this.hideProcessedMath&&(h.className+=" MathJax_Processed",a.MathJax.preview&&(b.HTMLCSS.preview=a.MathJax.preview,delete a.MathJax.preview),e.HTMLCSSeqn+=e.i-e.HTMLCSSi,e.HTMLCSSi=e.i,e.HTMLCSSeqn>=e.HTMLCSSlast+e.HTMLCSSchunk&&(this.postTranslate(e),e.HTMLCSSchunk=Math.floor(e.HTMLCSSchunk*this.config.EqnChunkFactor),e.HTMLCSSdelay=!0))}},postTranslate:function(a){var e=a.jax[this.id];if(this.hideProcessedMath){for(var b=a.HTMLCSSlast,c=a.HTMLCSSeqn;b<c;b++){var d=e[b];if(d&&d.MathJax.elementJax){d.previousSibling.className=d.previousSibling.className.split(/ /)[0];var h=d.MathJax.elementJax.HTMLCSS;h.preview&&(h.preview.innerHTML="",d.MathJax.preview=h.preview,delete h.preview)}}this.forceReflow&&(e=(document.styleSheets||[])[0]||{},e.disabled=!0,e.disabled=!1);a.HTMLCSSlast=a.HTMLCSSeqn}},getJaxFromMath:function(a){"MathJax_Display"===a.parentNode.className&&(a=a.parentNode);do a=a.nextSibling;while(a&&"script"!==a.nodeName.toLowerCase());return g.getJaxFor(a)},getHoverSpan:function(a,e){return a.root.HTMLspanElement()},getHoverBBox:function(a,e,b){e=e.bbox;a=a.HTMLCSS.outerEm;a={w:e.w*a,h:e.h*a,d:e.d*a};e.width&&(a.width=e.width);return a},Zoom:function(a,e,c,g,f){e.className="MathJax";e.style.fontSize=a.HTMLCSS.fontSize;f=e.appendChild(this.EmExSpan.cloneNode(!0));var h=f.lastChild.firstChild.offsetHeight/60;this.em=d.mbase.prototype.em=h;this.outerEm=h/a.HTMLCSS.scale;f.parentNode.removeChild(f);this.idPostfix="-zoom";a.root.toHTML(e,e);this.idPostfix="";if(f=a.root.HTMLspanElement().bbox.width){e.style.width=Math.floor(g-1.5*b.em)+"px";e.style.display="inline-block";for(a=document.getElementById((a.root.id||"MathJax-Span-"+a.root.spanID)+"-zoom").firstChild;a&&a.style.width!==f;)a=a.nextSibling;a&&(a.style.width="100%")}e.style.position="absolute";f||(c.style.position="absolute");a=e.offsetWidth;g=e.offsetHeight;f=c.offsetHeight;h=c.offsetWidth;0===h&&(h=c.parentNode.offsetWidth);e.style.position=c.style.position="";return{Y:-l.getBBox(e).h,mW:h,mH:f,zW:a,zH:g}},initImg:function(a){},initHTML:function(a,e){},initFont:function(a){var e=b.FONTDATA.FONTS,d=b.config.availableFonts;if(d&&d.length&&b.Font.testFont(e[a]))return e[a].available=!0,null;if(!this.allowWebFonts)return null;e[a].isWebFont=!0;b.FontFaceBug&&(e[a].family=a,b.msieFontCSSBug&&(e[a].family+="-Web"));return c.Styles({"@font-face":this.Font.fontFace(a)})},Remove:function(a){var e=document.getElementById(a.inputID+"-Frame");e&&(a.HTMLCSS.display&&(e=e.parentNode),e.parentNode.removeChild(e));delete a.HTMLCSS},getHD:function(a){var e=a.style.position;a.style.position="absolute";this.HDimg.style.height="0px";a.appendChild(this.HDspan);var b={h:a.offsetHeight};this.HDimg.style.height=b.h+"px";b.d=a.offsetHeight-b.h;b.h-=b.d;b.h/=this.em;b.d/=this.em;a.removeChild(this.HDspan);a.style.position=e;return b},getW:function(a){var e,b;e=(a.bbox||{}).w;var c=a;if(a.bbox&&a.bbox.exactW)return e;if(a.bbox&&0<=e&&!this.initialSkipBug||this.negativeBBoxes||!a.firstChild)e=a.offsetWidth,b=a.parentNode.offsetHeight;else if(a.bbox&&0>e&&this.msieNegativeBBoxBug)e=-a.offsetWidth,b=a.parentNode.offsetHeight;else{if(this.initialSkipBug){var d=a.style.position;a.style.position="absolute";c=this.startMarker;a.insertBefore(c,a.firstChild)}a.appendChild(this.endMarker);e=this.endMarker.offsetLeft-c.offsetLeft;a.removeChild(this.endMarker);this.initialSkipBug&&(a.removeChild(c),a.style.position=d)}null!=b&&(a.parentNode.HH=b/this.em);return e/this.em},Measured:function(a,e){var b=a.bbox;if(null==b.width&&b.w&&!b.isMultiline){var c=this.getW(a);b.rw+=c-b.w;b.w=c;b.exactW=!0}e||(e=a.parentNode);e.bbox||(e.bbox=b);return a},Remeasured:function(a,e){e.bbox=this.Measured(a,e).bbox},MeasureSpans:function(a){var e=[],b,c,d,h,g;c=0;for(d=a.length;c<d;c++)if(b=a[c])h=b.bbox,g=this.parentNode(b),h.exactW||h.width||0===h.w||h.isMultiline?g.bbox||(g.bbox=h):this.negativeBBoxes||!b.firstChild||0<=h.w&&!this.initialSkipBug||0>h.w&&this.msieNegativeBBoxBug?e.push([b]):this.initialSkipBug?(h=this.startMarker.cloneNode(!0),g=this.endMarker.cloneNode(!0),b.insertBefore(h,b.firstChild),b.appendChild(g),e.push([b,h,g,b.style.position]),b.style.position="absolute"):(g=this.endMarker.cloneNode(!0),b.appendChild(g),e.push([b,null,g]));c=0;for(d=e.length;c<d;c++)b=e[c][0],h=b.bbox,g=this.parentNode(b),0<=h.w&&!this.initialSkipBug||this.negativeBBoxes||!b.firstChild?(a=b.offsetWidth,g.HH=g.offsetHeight/this.em):0>h.w&&this.msieNegativeBBoxBug?(a=-b.offsetWidth,g.HH=g.offsetHeight/this.em):a=e[c][2].offsetLeft-((e[c][1]||{}).offsetLeft||0),a/=this.em,h.rw+=a-h.w,h.w=a,h.exactW=!0,g.bbox||(g.bbox=h);c=0;for(d=e.length;c<d;c++)b=e[c],b[1]&&(b[1].parentNode.removeChild(b[1]),b[0].style.position=b[3]),b[2]&&b[2].parentNode.removeChild(b[2])},Em:function(a){return 6E-4>Math.abs(a)?"0em":a.toFixed(3).replace(/\.?0+$/,"")+"em"},EmRounded:function(a){a=(Math.round(a*b.em)+.05)/b.em;return 6E-4>Math.abs(a)?"0em":a.toFixed(3).replace(/\.?0+$/,"")+"em"},unEm:function(a){return parseFloat(a)},Px:function(a){a*=this.em;return(0>a?"-":"")+Math.abs(a).toFixed(1).replace(/\.?0+$/,"")+"px"},unPx:function(a){return parseFloat(a)/this.em},Percent:function(a){return(100*a).toFixed(1).replace(/\.?0+$/,"")+"%"},length2em:function(a,e,c){"string"!==typeof a&&(a=a.toString());if(""===a)return"";if(a===d.SIZE.NORMAL)return 1;if(a===d.SIZE.BIG)return 2;if(a===d.SIZE.SMALL)return.71;if("infinity"===a)return b.BIGDIMEN;var g=this.FONTDATA.TeX_factor;if(a.match(/mathspace$/))return b.MATHSPACE[a]*g;var f=a.match(/^\s*([-+]?(?:\.\d+|\d+(?:\.\d*)?))?(pt|em|ex|mu|px|pc|in|mm|cm|%)?/);a=parseFloat(f[1]||"1");f=f[2];null==c&&(c=1);null==e&&(e=1);return"em"===f?a*g:"ex"===f?a*b.TeX.x_height*g:"%"===f?a/100*c:"px"===f?a/b.em:"pt"===f?a/10*g:"pc"===f?1.2*a*g:"in"===f?a*this.pxPerInch/b.em:"cm"===f?a*this.pxPerInch/b.em/2.54:"mm"===f?a*this.pxPerInch/b.em/25.4:"mu"===f?a/18*g*e:a*g*c},thickness2em:function(a,e){var c=b.TeX.rule_thickness;return a===d.LINETHICKNESS.MEDIUM?c:a===d.LINETHICKNESS.THIN?.67*c:a===d.LINETHICKNESS.THICK?1.67*c:this.length2em(a,e,c)},getPadding:function(a){var b={top:0,right:0,bottom:0,left:0},c=!1,d;for(d in b)if(b.hasOwnProperty(d)){var f=a.style["padding"+d.charAt(0).toUpperCase()+d.substr(1)];f&&(b[d]=this.length2em(f),c=!0)}return c?b:!1},getBorders:function(a){var b={top:0,right:0,bottom:0,left:0},c={},d=!1,f;for(f in b)if(b.hasOwnProperty(f)){var h="border"+f.charAt(0).toUpperCase()+f.substr(1);a.style[h+"Style"]&&(d=!0,b[f]=this.length2em(a.style[h+"Width"]),c[h]=[a.style[h+"Width"],a.style[h+"Style"],a.style[h+"Color"]].join(" "))}b.css=c;return d?b:!1},setBorders:function(a,b){if(b)for(var c in b.css)b.css.hasOwnProperty(c)&&(a.style[c]=b.css[c])},createStrut:function(a,b,c){b=this.Element("span",{isMathJax:!0,style:{display:"inline-block",overflow:"hidden",height:b+"px",width:"1px",marginRight:"-1px"}});c?a.insertBefore(b,a.firstChild):a.appendChild(b);return b},createBlank:function(a,b,c){b=this.Element("span",{isMathJax:!0,style:{display:"inline-block",overflow:"hidden",height:"1px",width:this.Em(b)}});c?a.insertBefore(b,a.firstChild):a.appendChild(b);return b},createShift:function(a,b,c){b=this.Element("span",{style:{marginLeft:this.Em(b)},isMathJax:!0});c?a.insertBefore(b,a.firstChild):a.appendChild(b);return b},createSpace:function(a,e,c,g,f,h){e<-c&&(c=-e);var r=this.Em(e+c),l=this.Em(-c);this.msieInlineBlockAlignBug&&(l=this.Em(b.getHD(a.parentNode).d-c));a.isBox||h?(h=null==a.scale?1:a.scale,a.bbox={exactW:!0,h:e*h,d:c*h,w:g*h,rw:g*h,lw:0},a.style.height=r,a.style.verticalAlign=l,a.HH=(e+c)*h):a=this.addElement(a,"span",{style:{height:r,verticalAlign:l},isMathJax:!0});0<=g?(a.style.width=this.Em(g),a.style.display="inline-block",a.style.overflow="hidden"):(this.msieNegativeSpaceBug&&(a.style.height=""),a.style.marginLeft=this.Em(g),b.safariNegativeSpaceBug&&a.parentNode.firstChild==a&&this.createBlank(a,0,!0));f&&f!==d.COLOR.TRANSPARENT&&(a.style.backgroundColor=f,a.style.position="relative");return a},createRule:function(a,e,c,d,f){e<-c&&(c=-e);var h=b.TeX.min_rule_thickness,g=1;0<d&&d*this.em<h&&(d=h/this.em);0<e+c&&(e+c)*this.em<h&&(g=1/(e+c)*(h/this.em),e*=g,c*=g);f=f?"solid "+f:"solid";f=this.Em(d)+" "+f;h=1===g?this.Em(e+c):h+"px";g=this.Em(-c);f=this.addElement(a,"span",{style:{borderLeft:f,display:"inline-block",overflow:"hidden",width:0,height:h,verticalAlign:g},bbox:{h:e,d:c,w:d,rw:d,lw:0,exactW:!0},noAdjust:!0,HH:e+c,isMathJax:!0});0<d&&0==f.offsetWidth&&(f.style.width=this.Em(d));if(a.isBox||"mspace"==a.className)a.bbox=f.bbox,a.HH=e+c;return f},createFrame:function(a,b,c,d,f,h){b<-c&&(c=-b);var g=2*f;this.msieFrameSizeBug&&(d<g&&(d=g),b+c<g&&(b=g-c));this.msieBorderWidthBug&&(g=0);var l=this.Em(b+c-g),v=this.Em(-c-f),g=this.Em(d-g);f=this.Em(f)+" "+h;a=this.addElement(a,"span",{style:{border:f,display:"inline-block",overflow:"hidden",width:g,height:l},bbox:{h:b,d:c,w:d,rw:d,lw:0,exactW:!0},noAdjust:!0,HH:b+c,isMathJax:!0});v&&(a.style.verticalAlign=v);return a},parentNode:function(a){a=a.parentNode;"a"===a.nodeName.toLowerCase()&&(a=a.parentNode);return a},createStack:function(a,b,c){this.msiePaddingWidthBug&&this.createStrut(a,0);var d=String(c).match(/%$/),f=d||null==c?0:c;a=this.addElement(a,"span",{noAdjust:!0,HH:0,isMathJax:!0,style:{display:"inline-block",position:"relative",width:d?"100%":this.Em(f),height:0}});b||(a.parentNode.bbox=a.bbox={exactW:!0,h:-this.BIGDIMEN,d:-this.BIGDIMEN,w:f,lw:this.BIGDIMEN,rw:d||null==c?-this.BIGDIMEN:c},d&&(a.bbox.width=c));return a},createBox:function(a,b){var c=this.addElement(a,"span",{style:{position:"absolute"},isBox:!0,isMathJax:!0});null!=b&&(c.style.width=b);return c},addBox:function(a,b){b.style.position="absolute";b.isBox=b.isMathJax=!0;return a.appendChild(b)},placeBox:function(a,e,c,d){a.isMathJax=!0;var f=b.parentNode(a),h=a.bbox,g=f.bbox;this.msiePlaceBoxBug&&this.addText(a,this.NBSP);this.imgSpaceBug&&this.addText(a,this.imgSpace);var l,v=0;l=null!=a.HH?a.HH:h?Math.max(3,h.h+h.d):a.offsetHeight/this.em;a.noAdjust||(l=Math.round((l+1)*this.em)/this.em,this.msieInlineBlockAlignBug?this.addElement(a,"img",{className:"MathJax_strut",border:0,src:"about:blank",isMathJax:!0,style:{width:0,height:this.Em(l)}}):(this.addElement(a,"span",{isMathJax:!0,style:{display:"inline-block",width:0,height:this.Em(l)}}),b.chromeHeightBug&&(l-=(a.lastChild.offsetHeight-Math.round(l*this.em))/this.em)));if(h&&(this.initialSkipBug&&(0>h.lw&&(v=h.lw,b.createBlank(a,-v,!0)),h.rw>h.w&&b.createBlank(a,h.rw-h.w+.1)),!this.msieClipRectBug&&!h.noclip&&!d)){d=3/this.em;var t=null==h.H?h.h:h.H,m=l+(null==h.D?h.d:h.D)+d,n=h.lw-3*d,q=1E3;this.initialSkipBug&&0>h.lw&&(n=-3*d);h.isFixed&&(q=h.width-n);a.style.clip="rect("+this.Em(l-t-d)+" "+this.Em(q)+" "+this.Em(m)+" "+this.Em(n)+")"}a.style.top=this.Em(-c-l);a.style.left=this.Em(e+v);h&&g&&(null!=h.H&&(null==g.H||h.H+c>g.H)&&(g.H=h.H+c),null!=h.D&&(null==g.D||h.D-c>g.D)&&(g.D=h.D-c),h.h+c>g.h&&(g.h=h.h+c),h.d-c>g.d&&(g.d=h.d-c),null!=g.H&&g.H<=g.h&&delete g.H,null!=g.D&&g.D<=g.d&&delete g.D,h.w+e>g.w&&(g.w=h.w+e,null==g.width&&(f.style.width=this.Em(g.w))),h.rw+e>g.rw&&(g.rw=h.rw+e),h.lw+e<g.lw&&(g.lw=h.lw+e),null==h.width||h.isFixed||(null==g.width&&(f.style.width=g.width="100%",h.minWidth&&(f.style.minWidth=g.minWidth=h.minWidth)),a.style.width=h.width))},alignBox:function(a,b,c){this.placeBox(a,0,c);c=a.bbox;if(!c.isMultiline){var d=null!=c.width&&!c.isFixed,f=0,h=-c.w/2,r="50%";this.initialSkipBug&&(f=c.w-c.rw-.1,h+=c.lw);h=this.msieMarginScaleBug?h*this.em+"px":this.Em(h);d&&(h="",r=50-parseFloat(c.width)/2+"%");g.Insert(a.style,{right:{left:"",right:this.Em(f)},center:{left:r,marginLeft:h}}[b])}},setStackWidth:function(a,b){if("number"===typeof b){a.style.width=this.Em(Math.max(0,b));var c=a.bbox;c&&(c.w=b,c.exactW=!0);if(c=a.parentNode.bbox)c.w=b,c.exactW=!0}else a.style.width=a.parentNode.style.width="100%",a.bbox&&(a.bbox.width=b),a.parentNode.bbox&&(a.parentNode.bbox.width=b)},createDelimiter:function(a,b,k,u,f){if(b){u||(u=1);k instanceof Array||(k=[k,k]);var h=k[1];k=k[0];for(var r={alias:b};r.alias;)b=r.alias,(r=this.FONTDATA.DELIMITERS[b])||(r={HW:[0,this.FONTDATA.VARIANT[d.VARIANT.NORMAL]]});r.load&&g.RestartAfter(c.Require(this.fontDir+"/fontdata-"+r.load+".js"));for(var l=0,v=r.HW.length;l<v;l++)if(r.HW[l][0]*u>=k-.01||l==v-1&&!r.stretch){r.HW[l][2]&&(u*=r.HW[l][2]);r.HW[l][3]&&(b=r.HW[l][3]);k=this.addElement(a,"span");this.createChar(k,[b,r.HW[l][1]],u,f);a.bbox=k.bbox;a.offset=.65*a.bbox.w;a.scale=u;return}if(r.stretch)this["extendDelimiter"+r.dir](a,h,r.stretch,u,f)}else a.bbox={h:0,d:0,w:this.TeX.nulldelimiterspace,lw:0},a.bbox.rw=a.bbox.w,this.createSpace(a,a.bbox.h,a.bbox.d,a.bbox.w)},extendDelimiterV:function(a,b,c,d,f){var h=this.createStack(a,!0),g=this.createBox(h),l=this.createBox(h);this.createChar(g,c.top||c.ext,d,f);this.createChar(l,c.bot||c.ext,d,f);var v={bbox:{w:0,lw:0,rw:0}},t=v,m,n=g.bbox.h+g.bbox.d+l.bbox.h+l.bbox.d,q=-g.bbox.h;this.placeBox(g,0,q,!0);q-=g.bbox.d;c.mid&&(t=this.createBox(h),this.createChar(t,c.mid,d,f),n+=t.bbox.h+t.bbox.d);c.min&&b<n*c.min&&(b=n*c.min);if(b>n){v=this.Element("span");this.createChar(v,c.ext,d,f);m=v.bbox.h+v.bbox.d;var p=m-.05,C,B,E=c.mid?2:1;B=C=Math.min(Math.ceil((b-n)/(E*p)),this.maxStretchyParts);c.fullExtenders||(p=(b-n)/(E*C));b=C/(C+1)*(m-p);p=m-b;for(q+=b+p-v.bbox.h;0<E--;){for(;0<C--;)this.msieCloneNodeBug?(m=this.Element("span"),this.createChar(m,c.ext,d,f)):m=v.cloneNode(!0),m.bbox=v.bbox,q-=p,this.placeBox(this.addBox(h,m),0,q,!0);q+=b-v.bbox.d;c.mid&&E&&(this.placeBox(t,0,q-t.bbox.h,!0),C=B,q+=-(t.bbox.h+t.bbox.d)+b+p-v.bbox.h)}}else q+=(n-b)/2,c.mid&&(this.placeBox(t,0,q-t.bbox.h,!0),q+=-(t.bbox.h+t.bbox.d)),q+=(n-b)/2;this.placeBox(l,0,q-l.bbox.h,!0);q-=l.bbox.h+l.bbox.d;a.bbox={w:Math.max(g.bbox.w,v.bbox.w,l.bbox.w,t.bbox.w),lw:Math.min(g.bbox.lw,v.bbox.lw,l.bbox.lw,t.bbox.lw),rw:Math.max(g.bbox.rw,v.bbox.rw,l.bbox.rw,t.bbox.rw),h:0,d:-q,exactW:!0};a.scale=d;a.offset=.55*a.bbox.w;a.isMultiChar=!0;this.setStackWidth(h,a.bbox.w)},extendDelimiterH:function(a,b,c,d,f){var h=this.createStack(a,!0),g=this.createBox(h),l=this.createBox(h);this.createChar(g,c.left||c.rep,d,f);this.createChar(l,c.right||c.rep,d,f);var m=this.Element("span");this.createChar(m,c.rep,d,f);var t={bbox:{h:-this.BIGDIMEN,d:-this.BIGDIMEN}},n;this.placeBox(g,-g.bbox.lw,0,!0);var q=g.bbox.rw-g.bbox.lw+(l.bbox.rw-l.bbox.lw)-.05,p=g.bbox.rw-g.bbox.lw-.025;c.mid&&(t=this.createBox(h),this.createChar(t,c.mid,d,f),q+=t.bbox.w);c.min&&b<q*c.min&&(b=q*c.min);if(b>q){n=m.bbox.rw-m.bbox.lw;var y=n-.05,C,B,E=c.mid?2:1;B=C=Math.min(Math.ceil((b-q)/(E*y)),this.maxStretchyParts);c.fillExtenders||(y=(b-q)/(E*C));b=C/(C+1)*(n-y);y=n-b;for(p-=m.bbox.lw+b;0<E--;){for(;0<C--;)this.cloneNodeBug?(n=this.Element("span"),this.createChar(n,c.rep,d,f)):n=m.cloneNode(!0),n.bbox=m.bbox,this.placeBox(this.addBox(h,n),p,0,!0),p+=y;c.mid&&E&&(this.placeBox(t,p,0,!0),p+=t.bbox.w-b,C=B)}}else p-=(q-b)/2,c.mid&&(this.placeBox(t,p,0,!0),p+=t.bbox.w),p-=(q-b)/2;this.placeBox(l,p,0,!0);a.bbox={w:p+l.bbox.rw,lw:0,rw:p+l.bbox.rw,H:Math.max(g.bbox.h,m.bbox.h,l.bbox.h,t.bbox.h),D:Math.max(g.bbox.d,m.bbox.d,l.bbox.d,t.bbox.d),h:m.bbox.h,d:m.bbox.d,exactW:!0};a.scale=d;a.isMultiChar=!0;this.setStackWidth(h,a.bbox.w)},createChar:function(a,b,c,g){a.isMathJax=!0;var f=a,h="",l={fonts:[b[1]],noRemap:!0};g&&g===d.VARIANT.BOLD&&(l.fonts=[b[1]+"-bold",b[1]]);"string"!==typeof b[1]&&(l=b[1]);if(b[0]instanceof Array){g=0;for(var m=b[0].length;g<m;g++)h+=String.fromCharCode(b[0][g])}else h=String.fromCharCode(b[0]);b[4]&&(c*=b[4]);1!==c||b[3]?(f=this.addElement(a,"span",{style:{fontSize:this.Percent(c)},scale:c,isMathJax:!0}),this.handleVariant(f,l,h),a.bbox=f.bbox):this.handleVariant(a,l,h);b[2]&&(a.style.marginLeft=this.Em(b[2]));b[3]&&(a.firstChild.style.verticalAlign=this.Em(b[3]),a.bbox.h+=b[3],0>a.bbox.h&&(a.bbox.h=0));b[5]&&(a.bbox.h+=b[5]);b[6]&&(a.bbox.d+=b[6]);this.AccentBug&&0===a.bbox.w&&(f.firstChild.nodeValue+=this.NBSP)},positionDelimiter:function(a,e){e-=a.bbox.h;a.bbox.d-=e;a.bbox.h+=e;e&&(this.safariVerticalAlignBug||this.konquerorVerticalAlignBug||this.operaVerticalAlignBug&&a.isMultiChar?(""===a.firstChild.style.display&&""!==a.style.top&&(a=a.firstChild,e-=b.unEm(a.style.top)),a.style.position="relative",a.style.top=this.Em(-e)):(a.style.verticalAlign=this.Em(e),b.ffVerticalAlignBug&&b.createRule(a.parentNode,a.bbox.h,0,0)))},handleVariant:function(a,b,c){var g="",f,h,l,m=a,n=!!a.style.fontFamily;if(0!==c.length){a.bbox||(a.bbox={w:0,h:-this.BIGDIMEN,d:-this.BIGDIMEN,rw:-this.BIGDIMEN,lw:this.BIGDIMEN});b||(b=this.FONTDATA.VARIANT[d.VARIANT.NORMAL]);l=b;for(var t=0,q=c.length;t<q;t++){b=l;f=c.charCodeAt(t);c.charAt(t);if(55296<=f&&56319>f)t++,f=(f-55296<<10)+(c.charCodeAt(t)-56320)+65536,this.FONTDATA.RemapPlane1&&(b=this.FONTDATA.RemapPlane1(f,b),f=b.n,b=b.variant);else{var p,A=this.FONTDATA.RANGES;h=0;for(p=A.length;h<p;h++)if("alpha"!==A[h].name||!b.noLowerCase){var y=b["offset"+A[h].offset];if(y&&f>=A[h].low&&f<=A[h].high){A[h].remap&&A[h].remap[f]?f=y+A[h].remap[f]:(f=f-A[h].low+y,A[h].add&&(f+=A[h].add));b["variant"+A[h].offset]&&(b=this.FONTDATA.VARIANT[b["variant"+A[h].offset]]);break}}}b.remap&&b.remap[f]&&(b.remap[f]instanceof Array?(b=b.remap[f],f=b[0],b=this.FONTDATA.VARIANT[b[1]]):"string"===typeof b.remap[f]?(c=b.remap[f]+c.substr(t+1),t=0,q=c.length,f=c.charCodeAt(0)):(f=b.remap[f],b.remap.variant&&(b=this.FONTDATA.VARIANT[b.remap.variant])));this.FONTDATA.REMAP[f]&&!b.noRemap&&(f=this.FONTDATA.REMAP[f],f instanceof Array&&(b=this.FONTDATA.VARIANT[f[1]],f=f[0]),"string"===typeof f&&(c=f+c.substr(t+1),t=0,q=c.length,f=f.charCodeAt(0)));h=this.lookupChar(b,f);b=h[f];if(n||!this.checkFont(h,m.style)&&!b[5].img)g.length&&(this.addText(m,g),g=""),p=!!m.style.fontFamily||!!a.style.fontStyle||!!a.style.fontWeight||!h.directory||n,n=!1,m!==a&&(p=!this.checkFont(h,a.style),m=a),p&&(m=this.addElement(a,"span",{isMathJax:!0,subSpan:!0})),this.handleFont(m,h,m!==a);g=this.handleChar(m,h,b,f,g);(b[5]||{}).space||(b[0]/1E3>a.bbox.h&&(a.bbox.h=b[0]/1E3),b[1]/1E3>a.bbox.d&&(a.bbox.d=b[1]/1E3));a.bbox.w+b[3]/1E3<a.bbox.lw&&(a.bbox.lw=a.bbox.w+b[3]/1E3);a.bbox.w+b[4]/1E3>a.bbox.rw&&(a.bbox.rw=a.bbox.w+b[4]/1E3);a.bbox.w+=b[2]/1E3}g.length&&this.addText(m,g);a.scale&&1!==a.scale&&(a.bbox.h*=a.scale,a.bbox.d*=a.scale,a.bbox.w*=a.scale,a.bbox.lw*=a.scale,a.bbox.rw*=a.scale);1==c.length&&h.skew&&h.skew[f]&&(a.bbox.skew=h.skew[f])}},checkFont:function(a,b){var c=b.fontWeight||"normal";c.match(/^\d+$/)&&(c=600<=parseInt(c)?"bold":"normal");return a.family.replace(/'/g,"")===b.fontFamily.replace(/'/g,"")&&(a.style||"normal")===(b.fontStyle||"normal")&&(a.weight||"normal")===c},handleFont:function(a,e,c){a.style.fontFamily=e.family;e.directory||(a.style.fontSize=Math.floor(100/b.scale+.5)+"%");if(!b.FontFaceBug||!e.isWebFont){var d=e.style||"normal";e=e.weight||"normal";if("normal"!==d||c)a.style.fontStyle=d;if("normal"!==e||c)a.style.fontWeight=e}},handleChar:function(a,e,c,d,f){var h=c[5];if(h.space)return f.length&&this.addText(a,f),b.createShift(a,c[2]/1E3),"";if(h.img)return this.handleImg(a,e,c,d,f);if(h.isUnknown&&this.FONTDATA.DELIMITERS[d])return f.length&&this.addText(a,f),f=a.scale,b.createDelimiter(a,d,0,1,e),"V"===this.FONTDATA.DELIMITERS[d].dir&&(a.style.verticalAlign=this.Em(a.bbox.d),a.bbox.h+=a.bbox.d,a.bbox.d=0),a.scale=f,c[0]=1E3*a.bbox.h,c[1]=1E3*a.bbox.d,c[2]=1E3*a.bbox.w,c[3]=1E3*a.bbox.lw,c[4]=1E3*a.bbox.rw,"";null==h.c&&(65535>=d?h.c=String.fromCharCode(d):(e=d-65536,h.c=String.fromCharCode((e>>10)+55296)+String.fromCharCode((e&1023)+56320)));if(h.rfix)return this.addText(a,f+h.c),b.createShift(a,h.rfix/1E3),"";if(c[2]||!this.msieAccentBug||f.length)return f+h.c;b.createShift(a,c[3]/1E3);b.createShift(a,(c[4]-c[3])/1E3);this.addText(a,h.c);b.createShift(a,-c[4]/1E3);return""},handleImg:function(a,b,c,d,f){return f},lookupChar:function(a,e){var c,d;if(!a.FONTS){var f=this.FONTDATA.FONTS,h=a.fonts||this.FONTDATA.VARIANT.normal.fonts;h instanceof Array||(h=[h]);a.fonts!=h&&(a.fonts=h);a.FONTS=[];c=0;for(d=h.length;c<d;c++)f[h[c]]&&(a.FONTS.push(f[h[c]]),f[h[c]].name=h[c])}c=0;for(d=a.FONTS.length;c<d;c++)if(f=a.FONTS[c],"string"===typeof f&&(delete a.FONTS,this.loadFont(f)),f[e])if(5===f[e].length&&(f[e][5]={}),b.allowWebFonts&&!f.available)this.loadWebFont(f);else return f;else this.findBlock(f,e);return this.unknownChar(a,e)},unknownChar:function(a,e){var c=a.defaultFont||{family:b.config.undefinedFamily};a.bold&&(c.weight="bold");a.italic&&(c.style="italic");c[e]||(c[e]=[800,200,500,0,500,{isUnknown:!0}]);g.signal.Post(["HTML-CSS Jax - unknown char",e,a]);return c},findBlock:function(a,b){if(a.Ranges)for(var c=0,d=a.Ranges.length;c<d&&!(b<a.Ranges[c][0]);c++)if(b<=a.Ranges[c][1]){for(var f=a.Ranges[c][2],h=a.Ranges.length-1;0<=h;h--)a.Ranges[h][2]==f&&a.Ranges.splice(h,1);this.loadFont(a.directory+"/"+f+".js")}},loadFont:function(a){var e=MathJax.Callback.Queue();e.Push(["Require",c,this.fontDir+"/"+a]);this.imgFonts&&(MathJax.isPacked||(a=a.replace(/\/([^\/]*)$/,b.imgPacked+"/$1")),e.Push(["Require",c,this.webfontDir+"/png/"+a]));g.RestartAfter(e.Push({}))},loadWebFont:function(a){a.available=a.isWebFont=!0;b.FontFaceBug&&(a.family=a.name,b.msieFontCSSBug&&(a.family+="-Web"));g.RestartAfter(this.Font.loadWebFont(a))},loadWebFontError:function(a,b){g.Startup.signal.Post("HTML-CSS Jax - disable web fonts");a.isWebFont=!1;this.config.imageFont&&this.config.imageFont===this.fontInUse?(this.imgFonts=!0,g.Startup.signal.Post("HTML-CSS Jax - switch to image fonts"),g.Startup.signal.Post("HTML-CSS Jax - using image fonts"),q(["WebFontNotAvailable","Web-Fonts not available -- using image fonts instead"],null,3E3),c.Require(this.directory+"/imageFonts.js",b)):(this.allowWebFonts=!1,b())},Element:MathJax.HTML.Element,addElement:MathJax.HTML.addElement,TextNode:MathJax.HTML.TextNode,addText:MathJax.HTML.addText,ucMatch:MathJax.HTML.ucMatch,BIGDIMEN:1E7,ID:0,idPostfix:"",GetID:function(){this.ID++;return this.ID},MATHSPACE:{veryverythinmathspace:1/18,verythinmathspace:2/18,thinmathspace:3/18,mediummathspace:4/18,thickmathspace:5/18,verythickmathspace:6/18,veryverythickmathspace:7/18,negativeveryverythinmathspace:-1/18,negativeverythinmathspace:-2/18,negativethinmathspace:-3/18,negativemediummathspace:-4/18,negativethickmathspace:-5/18,negativeverythickmathspace:-6/18,negativeveryverythickmathspace:-7/18},TeX:{x_height:.430554,quad:1,num1:.676508,num2:.393732,num3:.44373,denom1:.685951,denom2:.344841,sup1:.412892,sup2:.362892,sup3:.288888,sub1:.15,sub2:.247217,sup_drop:.386108,sub_drop:.05,delim1:2.39,delim2:1,axis_height:.25,rule_thickness:.06,big_op_spacing1:.111111,big_op_spacing2:.166666,big_op_spacing3:.2,big_op_spacing4:.6,big_op_spacing5:.1,scriptspace:.1,nulldelimiterspace:.12,delimiterfactor:901,delimitershortfall:.1,min_rule_thickness:1.25},NBSP:"\u00a0",rfuzz:0});MathJax.Hub.Register.StartupHook("mml Jax Ready",function(){d=MathJax.ElementJax.mml;d.mbase.Augment({toHTML:function(a){a=this.HTMLcreateSpan(a);"mrow"!=this.type&&(a=this.HTMLhandleSize(a));for(var b=0,c=this.data.length;b<c;b++)this.data[b]&&this.data[b].toHTML(a);for(var d=this.HTMLcomputeBBox(a),f=a.bbox.h,h=a.bbox.d,b=0,c=d.length;b<c;b++)d[b].HTMLstretchV(a,f,h);d.length&&this.HTMLcomputeBBox(a,!0);this.HTMLlineBreaks(a)&&(a=this.HTMLmultiline(a));this.HTMLhandleSpace(a);this.HTMLhandleColor(a);return a},HTMLlineBreaks:function(){return!1},HTMLmultiline:function(){d.mbase.HTMLautoloadFile("multiline")},HTMLcomputeBBox:function(a,b,c,d){null==c&&(c=0);null==d&&(d=this.data.length);a=a.bbox={exactW:!0};for(var f=[];c<d;){var h=this.data[c];h&&(!b&&h.HTMLcanStretch("Vertical")&&(f.push(h),h=h.CoreMO()||h),this.HTMLcombineBBoxes(h,a),c++)}this.HTMLcleanBBox(a);return f},HTMLcombineBBoxes:function(a,e){null==e.w&&this.HTMLemptyBBox(e);var c=a.bbox?a:a.HTMLspanElement();if(c&&c.bbox){var d=c.bbox;d.d>e.d&&(e.d=d.d);d.h>e.h&&(e.h=d.h);null!=d.D&&d.D>e.D&&(e.D=d.D);null!=d.H&&d.H>e.H&&(e.H=d.H);c.style.paddingLeft&&(e.w+=b.unEm(c.style.paddingLeft)*(c.scale||1));e.w+d.lw<e.lw&&(e.lw=e.w+d.lw);e.w+d.rw>e.rw&&(e.rw=e.w+d.rw);e.w+=d.w;c.style.paddingRight&&(e.w+=b.unEm(c.style.paddingRight)*(c.scale||1));d.width&&(e.width=d.width,e.minWidth=d.minWidth);d.ic?e.ic=d.ic:delete e.ic;e.exactW&&!d.exactW&&delete e.exactW}},HTMLemptyBBox:function(a){a.h=a.d=a.H=a.D=a.rw=-b.BIGDIMEN;a.w=0;a.lw=b.BIGDIMEN;return a},HTMLcleanBBox:function(a){a.h===this.BIGDIMEN&&(a.h=a.d=a.H=a.D=a.w=a.rw=a.lw=0);a.D<=a.d&&delete a.D;a.H<=a.h&&delete a.H},HTMLzeroBBox:function(){return{h:0,d:0,w:0,lw:0,rw:0}},HTMLcanStretch:function(a){if(this.isEmbellished()){var b=this.Core();if(b&&b!==this)return b.HTMLcanStretch(a)}return!1},HTMLstretchH:function(a,b){return this.HTMLspanElement()},HTMLstretchV:function(a,b,c){return this.HTMLspanElement()},HTMLnotEmpty:function(a){for(;a;){if("mrow"!==a.type&&"texatom"!==a.type||1<a.data.length)return!0;a=a.data[0]}return!1},HTMLmeasureChild:function(a,e){this.data[a]?b.Measured(this.data[a].toHTML(e),e):e.bbox=this.HTMLzeroBBox()},HTMLboxChild:function(a,b){this.data[a]||this.SetData(a,d.mrow());return this.data[a].toHTML(b)},HTMLcreateSpan:function(a){if(this.spanID){var e=this.HTMLspanElement();if(e&&(e.parentNode===a||(e.parentNode||{}).parentNode===a)){for(;e.firstChild;)e.removeChild(e.firstChild);e.bbox=this.HTMLzeroBBox();e.scale=1;e.isMultChar=e.HH=null;e.style.cssText="";return e}}this.href&&(a=b.addElement(a,"a",{href:this.href,isMathJax:!0}));a=b.addElement(a,"span",{className:this.type,isMathJax:!0});b.imgHeightBug&&(a.style.display="inline-block");this["class"]&&(a.className+=" "+this["class"]);this.spanID||(this.spanID=b.GetID());a.id=(this.id||"MathJax-Span-"+this.spanID)+b.idPostfix;a.bbox=this.HTMLzeroBBox();this.styles={};this.style&&(a.style.cssText=this.style,a.style.fontSize&&(this.mathsize=a.style.fontSize,a.style.fontSize=""),this.styles={border:b.getBorders(a),padding:b.getPadding(a)},this.styles.border&&(a.style.border=""),this.styles.padding&&(a.style.padding=""));this.href&&(a.parentNode.bbox=a.bbox);return a},HTMLspanElement:function(){return this.spanID?document.getElementById((this.id||"MathJax-Span-"+this.spanID)+b.idPostfix):null},HTMLhandleVariant:function(a,e,c){b.handleVariant(a,e,c)},HTMLhandleSize:function(a){a.scale||(a.scale=this.HTMLgetScale(),1!==a.scale&&(a.style.fontSize=b.Percent(a.scale)));return a},HTMLhandleColor:function(a){var e=this.getValues("mathcolor","color");this.mathbackground&&(e.mathbackground=this.mathbackground);this.background&&(e.background=this.background);this.style&&a.style.backgroundColor&&(e.mathbackground=a.style.backgroundColor,a.style.backgroundColor="transparent");var c=(this.styles||{}).border,g=(this.styles||{}).padding;e.color&&!this.mathcolor&&(e.mathcolor=e.color);e.background&&!this.mathbackground&&(e.mathbackground=e.background);e.mathcolor&&(a.style.color=e.mathcolor);if(e.mathbackground&&e.mathbackground!==d.COLOR.TRANSPARENT||c||g){var f=a.bbox,h=f.exact?0:1/b.em,l=0,m=0,n=a.style.paddingLeft,t=a.style.paddingRight;this.isToken&&(l=f.lw,m=f.rw-f.w);""!==n&&(l+=b.unEm(n)*(a.scale||1));""!==t&&(m-=b.unEm(t)*(a.scale||1));var m=b.PaddingWidthBug||f.keepPadding||f.exactW?0:m-l,n=Math.max(0,b.getW(a)+m),t=f.h+f.d,q=-f.d,p=0,A=0;0<n&&(n+=2*h,l-=h);0<t&&(t+=2*h,q-=h);m=-n-l;c&&(m-=c.right,q-=c.bottom,p+=c.left,A+=c.right,f.h+=c.top,f.d+=c.bottom,f.w+=c.left+c.right,f.lw-=c.left,f.rw+=c.right);g&&(t+=g.top+g.bottom,n+=g.left+g.right,m-=g.right,q-=g.bottom,p+=g.left,A+=g.right,f.h+=g.top,f.d+=g.bottom,f.w+=g.left+g.right,f.lw-=g.left,f.rw+=g.right);A&&(a.style.paddingRight=b.Em(A));g=b.Element("span",{id:"MathJax-Color-"+this.spanID+b.idPostfix,isMathJax:!0,style:{display:"inline-block",backgroundColor:e.mathbackground,width:b.Em(n),height:b.Em(t),verticalAlign:b.Em(q),marginLeft:b.Em(l),marginRight:b.Em(m)}});b.setBorders(g,c);f.width&&(g.style.width=f.width,g.style.marginRight="-"+f.width);b.msieInlineBlockAlignBug&&(g.style.position="relative",g.style.width=g.style.height=0,g.style.verticalAlign=g.style.marginLeft=g.style.marginRight="",g.style.border=g.style.padding="",c&&b.msieBorderWidthBug&&(t+=c.top+c.bottom,n+=c.left+c.right),g.style.width=b.Em(p+h),b.placeBox(b.addElement(g,"span",{noAdjust:!0,isMathJax:!0,style:{display:"inline-block",position:"absolute",overflow:"hidden",background:e.mathbackground||"transparent",width:b.Em(n),height:b.Em(t)}}),l,f.h+h),b.setBorders(g.firstChild,c));a.parentNode.insertBefore(g,a);b.msieColorPositionBug&&(a.style.position="relative");return g}return null},HTMLremoveColor:function(){var a=document.getElementById("MathJax-Color-"+this.spanID+b.idPostfix);a&&a.parentNode.removeChild(a)},HTMLhandleSpace:function(a){if(this.useMMLspacing){if("mo"===this.type){var e=this.getValues("scriptlevel","lspace","rspace");if(0>=e.scriptlevel||this.hasValue("lspace")||this.hasValue("rspace")){var c=this.HTMLgetMu(a);e.lspace=Math.max(0,b.length2em(e.lspace,c));e.rspace=Math.max(0,b.length2em(e.rspace,c));for(var c=this,d=this.Parent();d&&d.isEmbellished()&&d.Core()===c;)c=d,d=d.Parent(),a=c.HTMLspanElement();e.lspace&&(a.style.paddingLeft=b.Em(e.lspace));e.rspace&&(a.style.paddingRight=b.Em(e.rspace))}}}else e=this.texSpacing(),""!==e&&(e=b.length2em(e,this.HTMLgetScale())/(a.scale||1),a.style.paddingLeft&&(e+=b.unEm(a.style.paddingLeft)),a.style.paddingLeft=b.Em(e))},HTMLgetScale:function(){var a=1,e=this.getValues("mathsize","scriptlevel","fontsize");if(this.style){var c=this.HTMLspanElement();""!=c.style.fontSize&&(e.fontsize=c.style.fontSize)}e.fontsize&&!this.mathsize&&(e.mathsize=e.fontsize);0!==e.scriptlevel&&(2<e.scriptlevel&&(e.scriptlevel=2),a=Math.pow(this.Get("scriptsizemultiplier"),e.scriptlevel),e.scriptminsize=b.length2em(this.Get("scriptminsize")),a<e.scriptminsize&&(a=e.scriptminsize));this.isToken&&(a*=b.length2em(e.mathsize));return a},HTMLgetMu:function(a){var b=1,c=this.getValues("scriptlevel","scriptsizemultiplier");a.scale&&1!==a.scale&&(b=1/a.scale);0!==c.scriptlevel&&(2<c.scriptlevel&&(c.scriptlevel=2),b=Math.sqrt(Math.pow(c.scriptsizemultiplier,c.scriptlevel)));return b},HTMLgetVariant:function(){var a=this.getValues("mathvariant","fontfamily","fontweight","fontstyle");a.hasVariant=this.Get("mathvariant",!0);a.hasVariant||(a.family=a.fontfamily,a.weight=a.fontweight,a.style=a.fontstyle);if(this.style){var e=this.HTMLspanElement();!a.family&&e.style.fontFamily&&(a.family=e.style.fontFamily);!a.weight&&e.style.fontWeight&&(a.weight=e.style.fontWeight);!a.style&&e.style.fontStyle&&(a.style=e.style.fontStyle)}a.weight&&a.weight.match(/^\d+$/)&&(a.weight=600<parseInt(a.weight)?"bold":"normal");e=a.mathvariant;this.variantForm&&(e="-"+b.fontInUse+"-variant");if(a.family&&!a.hasVariant)return!a.weight&&a.mathvariant.match(/bold/)&&(a.weight="bold"),!a.style&&a.mathvariant.match(/italic/)&&(a.style="italic"),{FONTS:[],fonts:[],noRemap:!0,defaultFont:{family:a.family,style:a.style,weight:a.weight}};"bold"===a.weight?e={normal:d.VARIANT.BOLD,italic:d.VARIANT.BOLDITALIC,fraktur:d.VARIANT.BOLDFRAKTUR,script:d.VARIANT.BOLDSCRIPT,"sans-serif":d.VARIANT.BOLDSANSSERIF,"sans-serif-italic":d.VARIANT.SANSSERIFBOLDITALIC}[e]||e:"normal"===a.weight&&(e={bold:d.VARIANT.normal,"bold-italic":d.VARIANT.ITALIC,"bold-fraktur":d.VARIANT.FRAKTUR,"bold-script":d.VARIANT.SCRIPT,"bold-sans-serif":d.VARIANT.SANSSERIF,"sans-serif-bold-italic":d.VARIANT.SANSSERIFITALIC}[e]||e);"italic"===a.style?e={normal:d.VARIANT.ITALIC,bold:d.VARIANT.BOLDITALIC,"sans-serif":d.VARIANT.SANSSERIFITALIC,"bold-sans-serif":d.VARIANT.SANSSERIFBOLDITALIC}[e]||e:"normal"===a.style&&(e={italic:d.VARIANT.NORMAL,"bold-italic":d.VARIANT.BOLD,"sans-serif-italic":d.VARIANT.SANSSERIF,"sans-serif-bold-italic":d.VARIANT.BOLDSANSSERIF}[e]||e);e in b.FONTDATA.VARIANT||(e="normal");return b.FONTDATA.VARIANT[e]}},{HTMLautoload:function(){g.RestartAfter(c.Require(b.autoloadDir+"/"+this.type+".js"))},HTMLautoloadFile:function(a){g.RestartAfter(c.Require(b.autoloadDir+"/"+a+".js"))},HTMLstretchH:function(a,b){this.HTMLremoveColor();return this.toHTML(a,b)},HTMLstretchV:function(a,b,c){this.HTMLremoveColor();return this.toHTML(a,b,c)}});d.chars.Augment({toHTML:function(a,c,d,g){var f=this.data.join("").replace(/[\u2061-\u2064]/g,"");d&&(f=d(f,g));c.fontInherit?(b.addElement(a,"span",{style:{"font-size":Math.floor(100/b.scale+.5)+"%"}},[f]),c.bold&&(a.lastChild.style.fontWeight="bold"),c.italic&&(a.lastChild.style.fontStyle="italic"),c=b.getHD(a),d=b.getW(a),a.bbox={h:c.h,d:c.d,w:d,lw:0,rw:d,exactW:!0}):this.HTMLhandleVariant(a,c,f)}});d.entity.Augment({toHTML:function(a,c,d,g){var f=this.toString().replace(/[\u2061-\u2064]/g,"");d&&(f=d(f,g));c.fontInherit?(b.addElement(a,"span",{style:{"font-size":Math.floor(100/b.scale+.5)+"%"}},[f]),c.bold&&(a.lastChild.style.fontWeight="bold"),c.italic&&(a.lastChild.style.fontStyle="italic"),c=b.getHD(a),d=b.getW(a),a.bbox={h:c.h,d:c.d,w:d,lw:0,rw:d,exactW:!0}):this.HTMLhandleVariant(a,c,f)}});d.mi.Augment({toHTML:function(a){a=this.HTMLhandleSize(this.HTMLcreateSpan(a));a.bbox=null;for(var c=this.HTMLgetVariant(),d=0,g=this.data.length;d<g;d++)this.data[d]&&this.data[d].toHTML(a,c);a.bbox||(a.bbox=this.HTMLzeroBBox());d=this.data.join("");g=a.bbox;g.skew&&1!==d.length&&delete g.skew;g.rw>g.w&&1===d.length&&!c.noIC&&(g.ic=g.rw-g.w,b.createBlank(a,g.ic),g.w=g.rw);this.HTMLhandleSpace(a);this.HTMLhandleColor(a);return a}});d.mn.Augment({toHTML:function(a){a=this.HTMLhandleSize(this.HTMLcreateSpan(a));a.bbox=null;for(var b=this.HTMLgetVariant(),c=0,d=this.data.length;c<d;c++)this.data[c]&&this.data[c].toHTML(a,b);a.bbox||(a.bbox=this.HTMLzeroBBox());1!==this.data.join("").length&&delete a.bbox.skew;this.HTMLhandleSpace(a);this.HTMLhandleColor(a);return a}});d.mo.Augment({toHTML:function(a){a=this.HTMLhandleSize(this.HTMLcreateSpan(a));if(0==this.data.length)return a;a.bbox=null;var c=this.data.join(""),g=this.HTMLgetVariant(),l=this.getValues("largeop","displaystyle");l.largeop&&(g=b.FONTDATA.VARIANT[l.displaystyle?"-largeOp":"-smallOp"]);var f=this.CoreParent(),h=f&&f.isa(d.msubsup)&&this!==f.data[f.base],r=h?this.HTMLremapChars:null;if(1===c.length&&f&&f.isa(d.munderover)&&1===this.CoreText(f.data[f.base]).length){var m=f.data[f.over],n=f.data[f.under];m&&this===m.CoreMO()&&f.Get("accent")?r=b.FONTDATA.REMAPACCENT:n&&this===n.CoreMO()&&f.Get("accentunder")&&(r=b.FONTDATA.REMAPACCENTUNDER)}h&&c.match(/['`"\u00B4\u2032-\u2037\u2057]/)&&(g=b.FONTDATA.VARIANT["-"+b.fontInUse+"-variant"]);f=0;for(h=this.data.length;f<h;f++)this.data[f]&&this.data[f].toHTML(a,g,this.HTMLremap,r);a.bbox||(a.bbox=this.HTMLzeroBBox());1!==c.length&&delete a.bbox.skew;b.AccentBug&&0===a.bbox.w&&1===c.length&&a.firstChild&&(a.firstChild.nodeValue+=b.NBSP,b.createSpace(a,0,0,-a.offsetWidth/b.em));l.largeop&&(c=(a.bbox.h-a.bbox.d)/2-b.TeX.axis_height*a.scale,b.safariVerticalAlignBug&&"IMG"===a.lastChild.nodeName?a.lastChild.style.verticalAlign=b.Em(b.unEm(a.lastChild.style.verticalAlign||0)/b.em-c/a.scale):b.konquerorVerticalAlignBug&&"IMG"===a.lastChild.nodeName?(a.style.position="relative",a.lastChild.style.position="relative",a.lastChild.style.top=b.Em(c/a.scale)):a.style.verticalAlign=b.Em(-c/a.scale),a.bbox.h-=c,a.bbox.d+=c,a.bbox.rw>a.bbox.w&&(a.bbox.ic=a.bbox.rw-a.bbox.w,b.createBlank(a,a.bbox.ic),a.bbox.w=a.bbox.rw));this.HTMLhandleSpace(a);this.HTMLhandleColor(a);return a},CoreParent:function(){for(var a=this;a&&a.isEmbellished()&&a.CoreMO()===this&&!a.isa(d.math);)a=a.Parent();return a},CoreText:function(a){if(!a)return"";if(a.isEmbellished())return a.CoreMO().data.join("");for(;(a.isa(d.mrow)||a.isa(d.TeXAtom)||a.isa(d.mstyle)||a.isa(d.mphantom))&&1===a.data.length&&a.data[0];)a=a.data[0];return a.isToken?a.data.join(""):""},HTMLremapChars:{"*":"\u2217",'"':"\u2033","\u00b0":"\u2218","\u00b2":"2","\u00b3":"3","\u00b4":"\u2032","\u00b9":"1"},HTMLremap:function(a,b){a=a.replace(/-/g,"\u2212");b&&(a=a.replace(/'/g,"\u2032").replace(/`/g,"\u2035"),1===a.length&&(a=b[a]||a));return a},HTMLcanStretch:function(a){if(!this.Get("stretchy"))return!1;var c=this.data.join("");if(1<c.length)return!1;var g=this.CoreParent();if(g&&g.isa(d.munderover)&&1===this.CoreText(g.data[g.base]).length){var l=g.data[g.over],f=g.data[g.under];l&&this===l.CoreMO()&&g.Get("accent")?c=b.FONTDATA.REMAPACCENT[c]||c:f&&this===f.CoreMO()&&g.Get("accentunder")&&(c=b.FONTDATA.REMAPACCENTUNDER[c]||c)}return(c=b.FONTDATA.DELIMITERS[c.charCodeAt(0)])&&c.dir==a.substr(0,1)},HTMLstretchV:function(a,c,d){this.HTMLremoveColor();var g=this.getValues("symmetric","maxsize","minsize"),f=this.HTMLspanElement(),h=this.HTMLgetMu(f),l,m=b.TeX.axis_height,n=f.scale;l=g.symmetric?2*Math.max(c-m,d+m):c+d;g.maxsize=b.length2em(g.maxsize,h,f.bbox.h+f.bbox.d);g.minsize=b.length2em(g.minsize,h,f.bbox.h+f.bbox.d);l=Math.max(g.minsize,Math.min(g.maxsize,l));f=this.HTMLcreateSpan(a);b.createDelimiter(f,this.data.join("").charCodeAt(0),l,n);l=g.symmetric?(f.bbox.h+f.bbox.d)/2+m:(f.bbox.h+f.bbox.d)*c/(c+d);b.positionDelimiter(f,l);this.HTMLhandleSpace(f);this.HTMLhandleColor(f);return f},HTMLstretchH:function(a,c){this.HTMLremoveColor();var g=this.getValues("maxsize","minsize","mathvariant","fontweight");("bold"===g.fontweight||600<=parseInt(g.fontweight))&&!this.Get("mathvariant",!0)&&(g.mathvariant=d.VARIANT.BOLD);var l=this.HTMLspanElement(),f=this.HTMLgetMu(l),h=l.scale;g.maxsize=b.length2em(g.maxsize,f,l.bbox.w);g.minsize=b.length2em(g.minsize,f,l.bbox.w);c=Math.max(g.minsize,Math.min(g.maxsize,c));l=this.HTMLcreateSpan(a);b.createDelimiter(l,this.data.join("").charCodeAt(0),c,h,g.mathvariant);this.HTMLhandleSpace(l);this.HTMLhandleColor(l);return l}});d.mtext.Augment({toHTML:function(a){a=this.HTMLhandleSize(this.HTMLcreateSpan(a));var c=this.HTMLgetVariant();if(b.config.mtextFontInherit||"merror"===this.Parent().type)c={bold:c.bold,italic:c.italic,fontInherit:!0};for(var d=0,g=this.data.length;d<g;d++)this.data[d]&&this.data[d].toHTML(a,c);a.bbox||(a.bbox=this.HTMLzeroBBox());1!==this.data.join("").length&&delete a.bbox.skew;this.HTMLhandleSpace(a);this.HTMLhandleColor(a);return a}});d.merror.Augment({toHTML:function(a){var c=MathJax.HTML.addElement(a,"span",{style:{display:"inline-block"}});a=this.SUPER(arguments).toHTML.call(this,c);var d=b.getHD(c),g=b.getW(c);c.bbox={h:d.h,d:d.d,w:g,lw:0,rw:g,exactW:!0};c.id=a.id;a.id=null;return c}});d.ms.Augment({toHTML:d.mbase.HTMLautoload});d.mglyph.Augment({toHTML:d.mbase.HTMLautoload});d.mspace.Augment({toHTML:function(a){a=this.HTMLcreateSpan(a);var c=this.getValues("height","depth","width"),d=this.HTMLgetMu(a);c.mathbackground=this.mathbackground;this.background&&!this.mathbackground&&(c.mathbackground=this.background);var g=b.length2em(c.height,d),f=b.length2em(c.depth,d),d=b.length2em(c.width,d);b.createSpace(a,g,f,d,c.mathbackground,!0);return a}});d.mphantom.Augment({toHTML:function(a,c,d){a=this.HTMLcreateSpan(a);if(null!=this.data[0]){var g=this.data[0].toHTML(a);null!=d?b.Remeasured(this.data[0].HTMLstretchV(a,c,d),a):null!=c?b.Remeasured(this.data[0].HTMLstretchH(a,c),a):g=b.Measured(g,a);a.bbox={w:g.bbox.w,h:g.bbox.h,d:g.bbox.d,lw:0,rw:0,exactW:!0};c=0;for(d=a.childNodes.length;c<d;c++)a.childNodes[c].style.visibility="hidden"}this.HTMLhandleSpace(a);this.HTMLhandleColor(a);return a},HTMLstretchH:d.mbase.HTMLstretchH,HTMLstretchV:d.mbase.HTMLstretchV});d.mpadded.Augment({toHTML:function(a,c,d){a=this.HTMLcreateSpan(a);if(null!=this.data[0]){var g=b.createStack(a,!0),f=b.createBox(g),h=this.data[0].toHTML(f);null!=d?b.Remeasured(this.data[0].HTMLstretchV(f,c,d),f):null!=c?b.Remeasured(this.data[0].HTMLstretchH(f,c),f):b.Measured(h,f);c=this.getValues("height","depth","width","lspace","voffset");var h=d=0,l=this.HTMLgetMu(a);c.lspace&&(d=this.HTMLlength2em(f,c.lspace,l));c.voffset&&(h=this.HTMLlength2em(f,c.voffset,l));b.placeBox(f,d,h);a.bbox={h:f.bbox.h,d:f.bbox.d,w:f.bbox.w,exactW:!0,lw:Math.min(0,f.bbox.lw+d),rw:Math.max(f.bbox.w,f.bbox.rw+d),H:Math.max(null==f.bbox.H?-b.BIGDIMEN:f.bbox.H,f.bbox.h+h),D:Math.max(null==f.bbox.D?-b.BIGDIMEN:f.bbox.D,f.bbox.d-h)};""!==c.height&&(a.bbox.h=this.HTMLlength2em(f,c.height,l,"h",0));""!==c.depth&&(a.bbox.d=this.HTMLlength2em(f,c.depth,l,"d",0));""!==c.width&&(a.bbox.w=this.HTMLlength2em(f,c.width,l,"w",0));a.bbox.H<=a.bbox.h&&delete a.bbox.H;a.bbox.D<=a.bbox.d&&delete a.bbox.D;f=/^\s*(\d+(\.\d*)?|\.\d+)\s*(pt|em|ex|mu|px|pc|in|mm|cm)\s*$/;a.bbox.exact=!!(this.data[0]&&0==this.data[0].data.length||f.exec(c.height)||f.exec(c.width)||f.exec(c.depth));b.setStackWidth(g,a.bbox.w)}this.HTMLhandleSpace(a);this.HTMLhandleColor(a);return a},HTMLlength2em:function(a,c,d,g,f){null==f&&(f=-b.BIGDIMEN);var h=String(c).match(/width|height|depth/),h=h?a.bbox[h[0].charAt(0)]:g?a.bbox[g]:0;d=b.length2em(c,d,h);return g&&String(c).match(/^\s*[-+]/)?Math.max(f,a.bbox[g]+d):d},HTMLstretchH:d.mbase.HTMLstretchH,HTMLstretchV:d.mbase.HTMLstretchV});d.mrow.Augment({HTMLlineBreaks:function(a){return this.parent.linebreakContainer?b.config.linebreaks.automatic&&a.bbox.w>b.linebreakWidth||this.hasNewline():!1},HTMLstretchH:function(a,b){this.HTMLremoveColor();var c=this.HTMLspanElement();this.data[this.core].HTMLstretchH(c,b);this.HTMLcomputeBBox(c,!0);this.HTMLhandleColor(c);return c},HTMLstretchV:function(a,b,c){this.HTMLremoveColor();a=this.HTMLspanElement();this.data[this.core].HTMLstretchV(a,b,c);this.HTMLcomputeBBox(a,!0);this.HTMLhandleColor(a);return a}});d.mstyle.Augment({toHTML:function(a,b,c){a=this.HTMLcreateSpan(a);if(null!=this.data[0]){var d=this.data[0].toHTML(a);null!=c?this.data[0].HTMLstretchV(a,b,c):null!=b&&this.data[0].HTMLstretchH(a,b);a.bbox=d.bbox}this.HTMLhandleSpace(a);this.HTMLhandleColor(a);return a},HTMLstretchH:d.mbase.HTMLstretchH,HTMLstretchV:d.mbase.HTMLstretchV});d.mfrac.Augment({toHTML:function(a){a=this.HTMLcreateSpan(a);var c=b.createStack(a),d=b.createBox(c),g=b.createBox(c);b.MeasureSpans([this.HTMLboxChild(0,d),this.HTMLboxChild(1,g)]);var f=this.getValues("displaystyle","linethickness","numalign","denomalign","bevelled"),h=this.HTMLgetScale(),l=f.displaystyle,m=b.TeX.axis_height*h;if(f.bevelled){var f=l?.4:.15,n=Math.max(d.bbox.h+d.bbox.d,g.bbox.h+g.bbox.d)+2*f,c=b.createBox(c);b.createDelimiter(c,47,n);b.placeBox(d,0,(d.bbox.d-d.bbox.h)/2+m+f);b.placeBox(c,d.bbox.w-f/2,(c.bbox.d-c.bbox.h)/2+m);b.placeBox(g,d.bbox.w+c.bbox.w-f,(g.bbox.d-g.bbox.h)/2+m-f)}else{var n=Math.max(d.bbox.w,g.bbox.w),t=b.thickness2em(f.linethickness,h),q,p,A=b.TeX.min_rule_thickness/this.em;l?(q=b.TeX.num1,p=b.TeX.denom1):(q=0===t?b.TeX.num3:b.TeX.num2,p=b.TeX.denom2);q*=h;p*=h;0===t?(h=Math.max((l?7:3)*b.TeX.rule_thickness,2*A),l=q-d.bbox.d-(g.bbox.h-p),l<h&&(q+=(h-l)/2,p+=(h-l)/2)):(h=Math.max((l?2:0)*A+t,t/2+1.5*A),l=q-d.bbox.d-(m+t/2),l<h&&(q+=h-l),l=m-t/2-(g.bbox.h-p),l<h&&(p+=h-l),c=b.createBox(c),b.createRule(c,t,0,n+2*t),b.placeBox(c,0,m-t/2));b.alignBox(d,f.numalign,q);b.alignBox(g,f.denomalign,-p)}this.HTMLhandleSpace(a);this.HTMLhandleColor(a);return a},HTMLcanStretch:function(a){return!1},HTMLhandleSpace:function(a){if(!this.texWithDelims){var c=(this.useMMLspacing?0:b.length2em(this.texSpacing()||0))+.12;a.style.paddingLeft=b.Em(c);a.style.paddingRight=b.Em(.12)}}});d.msqrt.Augment({toHTML:function(a){a=this.HTMLcreateSpan(a);var c=b.createStack(a),d=b.createBox(c),g=b.createBox(c),f=b.createBox(c),h=this.HTMLgetScale(),l=b.TeX.rule_thickness*h,m,n,t;m=this.Get("displaystyle")?b.TeX.x_height*h:l;m=Math.max(l+m/4,1.5*b.TeX.min_rule_thickness/this.em);var q=this.HTMLboxChild(0,d);n=q.bbox.h+q.bbox.d+m+l;b.createDelimiter(f,8730,n,h);b.MeasureSpans([q,f]);t=q.bbox.w;var p=0;if(f.isMultiChar||b.AdjustSurd&&b.imgFonts)f.bbox.w*=.95;f.bbox.h+f.bbox.d>n&&(m=(f.bbox.h+f.bbox.d-(n-l))/2);n=b.FONTDATA.DELIMITERS[b.FONTDATA.RULECHAR];!n||t<n.HW[0][0]*h||.75>h?b.createRule(g,0,l,t):b.createDelimiter(g,b.FONTDATA.RULECHAR,t,h);n=q.bbox.h+m+l;m=n*b.rfuzz;f.isMultiChar&&(m=b.rfuzz);p=this.HTMLaddRoot(c,f,p,f.bbox.h+f.bbox.d-n,h);b.placeBox(f,p,n-f.bbox.h);b.placeBox(g,p+f.bbox.w,n-g.bbox.h+m);b.placeBox(d,p+f.bbox.w,0);this.HTMLhandleSpace(a);this.HTMLhandleColor(a);return a},HTMLaddRoot:function(a,b,c,d,f){return c}});d.mroot.Augment({toHTML:d.msqrt.prototype.toHTML,HTMLaddRoot:function(a,c,d,g,f){a=b.createBox(a);this.data[1]?(d=this.data[1].toHTML(a),d.style.paddingRight=d.style.paddingLeft="",b.Measured(d,a)):a.bbox=this.HTMLzeroBBox();g=this.HTMLrootHeight(c.bbox.h+c.bbox.d,f,a)-g;f=Math.min(a.bbox.w,a.bbox.rw);d=Math.max(f,c.offset);b.placeBox(a,d-f,g);return d-c.offset},HTMLrootHeight:function(a,b,c){return.45*(a-.9*b)+.6*b+Math.max(0,c.bbox.d-.075)}});d.mfenced.Augment({toHTML:function(a){a=this.HTMLcreateSpan(a);this.data.open&&this.data.open.toHTML(a);null!=this.data[0]&&this.data[0].toHTML(a);for(var b=1,c=this.data.length;b<c;b++)this.data[b]&&(this.data["sep"+b]&&this.data["sep"+b].toHTML(a),this.data[b].toHTML(a));this.data.close&&this.data.close.toHTML(a);for(var d=this.HTMLcomputeBBox(a),f=a.bbox.h,g=a.bbox.d,b=0,c=d.length;b<c;b++)d[b].HTMLstretchV(a,f,g);d.length&&this.HTMLcomputeBBox(a,!0);this.HTMLhandleSpace(a);this.HTMLhandleColor(a);return a},HTMLcomputeBBox:function(a,b){var c=a.bbox={},d=[];this.HTMLcheckStretchy(this.data.open,c,d,b);this.HTMLcheckStretchy(this.data[0],c,d,b);for(var f=1,g=this.data.length;f<g;f++)this.data[f]&&(this.HTMLcheckStretchy(this.data["sep"+f],c,d,b),this.HTMLcheckStretchy(this.data[f],c,d,b));this.HTMLcheckStretchy(this.data.close,c,d,b);this.HTMLcleanBBox(c);return d},HTMLcheckStretchy:function(a,b,c,d){a&&(!d&&a.HTMLcanStretch("Vertical")&&(c.push(a),a=a.CoreMO()||a),this.HTMLcombineBBoxes(a,b))}});d.menclose.Augment({toHTML:d.mbase.HTMLautoload});d.maction.Augment({toHTML:d.mbase.HTMLautoload});d.semantics.Augment({toHTML:function(a,b,c){a=this.HTMLcreateSpan(a);if(null!=this.data[0]){var d=this.data[0].toHTML(a);null!=c?this.data[0].HTMLstretchV(a,b,c):null!=b&&this.data[0].HTMLstretchH(a,b);a.bbox=d.bbox}this.HTMLhandleSpace(a);return a},HTMLstretchH:d.mbase.HTMLstretchH,HTMLstretchV:d.mbase.HTMLstretchV});d.munderover.Augment({toHTML:function(a,c,g){var l=this.getValues("displaystyle","accent","accentunder","align");if(!l.displaystyle&&null!=this.data[this.base]&&this.data[this.base].CoreMO().Get("movablelimits"))return d.msubsup.prototype.toHTML.call(this,a);a=this.HTMLcreateSpan(a);var f=this.HTMLgetScale(),h=b.createStack(a),m=[],n=[],q=[],t,p,x;p=0;for(x=this.data.length;p<x;p++)null!=this.data[p]&&(t=m[p]=b.createBox(h),n[p]=this.data[p].toHTML(t),p==this.base?(null!=g?this.data[this.base].HTMLstretchV(t,c,g):null!=c&&this.data[this.base].HTMLstretchH(t,c),q[p]=null==g&&null!=c?!1:this.data[p].HTMLcanStretch("Horizontal")):q[p]=this.data[p].HTMLcanStretch("Horizontal"));b.MeasureSpans(n);h=n=-b.BIGDIMEN;p=0;for(x=this.data.length;p<x;p++)this.data[p]&&(m[p].bbox.w>h&&(h=m[p].bbox.w),!q[p]&&h>n&&(n=h));null==g&&null!=c?n=c:n==-b.BIGDIMEN&&(n=h);p=h=0;for(x=this.data.length;p<x;p++)this.data[p]&&(t=m[p],q[p]&&(t.bbox=this.data[p].HTMLstretchH(t,n).bbox),t.bbox.w>h&&(h=t.bbox.w));c=b.TeX.rule_thickness;g=b.FONTDATA.TeX_factor;var q=m[this.base]||{bbox:this.HTMLzeroBBox()},A,y,C,B=0;q.bbox.ic&&(B=1.3*q.bbox.ic+.05);p=0;for(x=this.data.length;p<x;p++)null!=this.data[p]&&(t=m[p],n=b.TeX.big_op_spacing5*f,(C=p!=this.base&&l[this.ACCENTS[p]])&&t.bbox.w<=1/b.em+1E-4&&(t.bbox.w=t.bbox.rw-t.bbox.lw,t.bbox.noclip=!0,t.bbox.lw&&t.insertBefore(b.createSpace(t.parentNode,0,0,-t.bbox.lw),t.firstChild),b.createBlank(t,0,0,t.bbox.rw+.1)),A={left:0,center:(h-t.bbox.w)/2,right:h-t.bbox.w}[l.align],y=0,p==this.over?(C?(C=Math.max(c*f*g,2.5/this.em),n=0,q.bbox.skew&&(A+=q.bbox.skew)):(C=b.TeX.big_op_spacing1*f*g,y=b.TeX.big_op_spacing3*f*g,C=Math.max(C,y-Math.max(0,t.bbox.d))),C=Math.max(C,1.5/this.em),A+=B/2,y=q.bbox.h+t.bbox.d+C,t.bbox.h+=n):p==this.under&&(C?(C=3*c*f*g,n=0):(C=b.TeX.big_op_spacing2*f*g,y=b.TeX.big_op_spacing4*f*g,C=Math.max(C,y-t.bbox.h)),C=Math.max(C,1.5/this.em),A-=B/2,y=-(q.bbox.d+t.bbox.h+C),t.bbox.d+=n),b.placeBox(t,A,y));this.HTMLhandleSpace(a);this.HTMLhandleColor(a);return a},HTMLstretchH:d.mbase.HTMLstretchH,HTMLstretchV:d.mbase.HTMLstretchV});d.msubsup.Augment({toHTML:function(a,c,d){a=this.HTMLcreateSpan(a);var g=this.HTMLgetScale(),f=this.HTMLgetMu(a),h=b.createStack(a),l,m=[],n=b.createBox(h);this.data[this.base]?(m.push(this.data[this.base].toHTML(n)),null!=d?this.data[this.base].HTMLstretchV(n,c,d):null!=c&&this.data[this.base].HTMLstretchH(n,c)):n.bbox=this.HTMLzeroBBox();c=b.TeX.x_height*g;d=b.TeX.scriptspace*g*.75;var p;this.HTMLnotEmpty(this.data[this.sup])&&(p=b.createBox(h),m.push(this.data[this.sup].toHTML(p)));this.HTMLnotEmpty(this.data[this.sub])&&(l=b.createBox(h),m.push(this.data[this.sub].toHTML(l)));b.MeasureSpans(m);p&&(p.bbox.w+=d,p.bbox.rw=Math.max(p.bbox.w,p.bbox.rw));l&&(l.bbox.w+=d,l.bbox.rw=Math.max(l.bbox.w,l.bbox.rw));b.placeBox(n,0,0);var m=p?this.data[this.sup].HTMLgetScale():l?this.data[this.sub].HTMLgetScale():this.HTMLgetScale(),q=b.TeX.sup_drop*m,h=n.bbox.h-q,x=n.bbox.d+b.TeX.sub_drop*m,m=0;n.bbox.ic&&(n.bbox.w-=n.bbox.ic,m=1.3*n.bbox.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!==n.bbox.scale||this.data[this.base].Get("largeop")||(h=x=0);d=this.getValues("subscriptshift","superscriptshift");d.subscriptshift=""===d.subscriptshift?0:b.length2em(d.subscriptshift,f);d.superscriptshift=""===d.superscriptshift?0:b.length2em(d.superscriptshift,f);p?l?(x=Math.max(x,b.TeX.sub2*g),g*=b.TeX.rule_thickness,h-p.bbox.d-(l.bbox.h-x)<3*g&&(x=3*g-h+p.bbox.d+l.bbox.h,q=.8*c-(h-p.bbox.d),0<q&&(h+=q,x-=q)),b.placeBox(p,n.bbox.w+m,Math.max(h,d.superscriptshift)),b.placeBox(l,n.bbox.w,-Math.max(x,d.subscriptshift))):(l=this.getValues("displaystyle","texprimestyle"),l=b.TeX[l.displaystyle?"sup1":l.texprimestyle?"sup3":"sup2"],h=Math.max(h,l*g,p.bbox.d+.25*c,d.superscriptshift),b.placeBox(p,n.bbox.w+m,h,p.bbox)):l&&(x=Math.max(x,b.TeX.sub1*g,l.bbox.h-.8*c,d.subscriptshift),b.placeBox(l,n.bbox.w,-x,l.bbox));this.HTMLhandleSpace(a);this.HTMLhandleColor(a);return a},HTMLstretchH:d.mbase.HTMLstretchH,HTMLstretchV:d.mbase.HTMLstretchV});d.mmultiscripts.Augment({toHTML:d.mbase.HTMLautoload});d.mtable.Augment({toHTML:d.mbase.HTMLautoload});d["annotation-xml"].Augment({toHTML:d.mbase.HTMLautoload});d.math.Augment({toHTML:function(a,c){var k=this.Get("alttext");k&&""!==k&&c.setAttribute("aria-label",k);var l=b.addElement(a,"nobr",{isMathJax:!0});a=this.HTMLcreateSpan(l);var k=b.createStack(a),f=b.createBox(k),h;k.style.fontSize=l.parentNode.style.fontSize;l.parentNode.style.fontSize="";null!=this.data[0]&&(b.msieColorBug&&(this.background&&(this.data[0].background=this.background,delete this.background),this.mathbackground&&(this.data[0].mathbackground=this.mathbackground,delete this.mathbackground)),d.mbase.prototype.displayAlign=g.config.displayAlign,d.mbase.prototype.displayIndent=g.config.displayIndent,h=this.data[0].toHTML(f),h.bbox.exactW=!1,h=b.Measured(h,f));b.placeBox(f,0,0);a.style.width=b.Em((Math.round(h.bbox.w*this.em)+.25)/b.outerEm);a.style.display="inline-block";var l=1/b.em,m=b.em/b.outerEm;b.em/=m;a.bbox.h*=m;a.bbox.d*=m;a.bbox.w*=m;a.bbox.lw*=m;a.bbox.rw*=m;h&&null!=h.bbox.width&&(a.style.minWidth=h.bbox.minWidth||a.style.width,a.style.width=k.style.width=h.bbox.width,f.style.width="100%");this.HTMLhandleColor(a);h&&b.createRule(a,(h.bbox.h+l)*m,(h.bbox.d+l)*m,0);this.isMultiline||"block"!==this.Get("display")||null!=a.bbox.width||(k=this.getValues("indentalignfirst","indentshiftfirst","indentalign","indentshift"),k.indentalignfirst!==d.INDENTALIGN.INDENTALIGN&&(k.indentalign=k.indentalignfirst),k.indentalign===d.INDENTALIGN.AUTO&&(k.indentalign=this.displayAlign),c.style.textAlign=k.indentalign,k.indentshiftfirst!==d.INDENTSHIFT.INDENTSHIFT&&(k.indentshift=k.indentshiftfirst),"auto"===k.indentshift&&(k.indentshift=this.displayIndent),k.indentshift&&k.indentalign!==d.INDENTALIGN.CENTER&&(a.style[{left:"marginLeft",right:"marginRight"}[k.indentalign]]=b.Em(b.length2em(k.indentshift))));return a},HTMLspanElement:d.mbase.prototype.HTMLspanElement});d.TeXAtom.Augment({toHTML:function(a){a=this.HTMLcreateSpan(a);if(null!=this.data[0])if(this.texClass===d.TEXCLASS.VCENTER){var c=b.createStack(a),c=b.createBox(c);b.Measured(this.data[0].toHTML(c),c);b.placeBox(c,0,b.TeX.axis_height-(c.bbox.h+c.bbox.d)/2+c.bbox.d)}else a.bbox=this.data[0].toHTML(a).bbox;this.HTMLhandleSpace(a);this.HTMLhandleColor(a);return a}});MathJax.Hub.Register.StartupHook("onLoad",function(){setTimeout(MathJax.Callback(["loadComplete",b,"jax.js"]),0)})});g.Register.StartupHook("End Config",function(){g.Browser.Select({MSIE:function(a){var c=document.documentMode||0,d=a.versionAtLeast("7.0"),g=a.versionAtLeast("8.0")&&7<c,f="BackCompat"===document.compatMode;9>c&&(b.config.styles[".MathJax .MathJax_HitBox"]["background-color"]="white",b.config.styles[".MathJax .MathJax_HitBox"].opacity=0,b.config.styles[".MathJax .MathJax_HitBox"].filter="alpha(opacity\x3d0)");b.Augment({PaddingWidthBug:!0,msieAccentBug:!0,msieColorBug:!0,msieColorPositionBug:!0,msieRelativeWidthBug:f,msieDisappearingBug:8<=c,msieMarginScaleBug:8>c,msiePaddingWidthBug:!0,msieBorderWidthBug:f,msieFrameSizeBug:8>=c,msieInlineBlockAlignBug:!g||f,msiePlaceBoxBug:g&&!f,msieClipRectBug:!g,msieNegativeSpaceBug:f,cloneNodeBug:g&&"8.0"===a.version,initialSkipBug:8>c,msieNegativeBBoxBug:8<=c,msieIE6:!d,msieItalicWidthBug:!0,FontFaceBug:!0,msieFontCSSBug:a.isIE9,allowWebFonts:9<=c?"woff":"eot"})},Firefox:function(a){var c=!1;a.versionAtLeast("3.5")&&(a=String(document.location).replace(/[^\/]*$/,""),"file:"!==document.location.protocol||g.config.root.match(/^https?:\/\//)||(g.config.root+"/").substr(0,a.length)===a)&&(c="otf");b.Augment({ffVerticalAlignBug:!0,AccentBug:!0,allowWebFonts:c})},Safari:function(a){var c=a.versionAtLeast("3.0"),d=a.versionAtLeast("3.1"),l=navigator.appVersion.match(/ Safari\/\d/)&&navigator.appVersion.match(/ Version\/\d/)&&navigator.vendor.match(/Apple/),f=navigator.appVersion.match(/ Android (\d+)\.(\d+)/),f=d&&a.isMobile&&(navigator.platform.match(/iPad|iPod|iPhone/)&&!a.versionAtLeast("5.0")||null!=f&&(2>f[1]||2==f[1]&&2>f[2]));b.Augment({config:{styles:{".MathJax img, .MathJax nobr, .MathJax a":{"max-width":"5000em","max-height":"5000em"}}},rfuzz:.011,AccentBug:!0,AdjustSurd:!0,negativeBBoxes:!0,safariNegativeSpaceBug:!0,safariVerticalAlignBug:!d,safariTextNodeBug:!c,forceReflow:!0,allowWebFonts:d&&!f?"otf":!1});l&&b.Augment({webFontDefault:a.isMobile?"sans-serif":"serif"});a.isPC&&b.Augment({adjustAvailableFonts:b.removeSTIXfonts,checkWebFontsTwice:!0});f&&((a=g.config["HTML-CSS"])?(a.availableFonts=[],a.preferredFont=null):g.config["HTML-CSS"]={availableFonts:[],preferredFont:null})},Chrome:function(a){b.Augment({Em:b.EmRounded,cloneNodeBug:!0,rfuzz:.011,AccentBug:!0,AdjustSurd:!0,negativeBBoxes:!0,safariNegativeSpaceBug:!0,safariWebFontSerif:[""],forceReflow:!0,allowWebFonts:a.versionAtLeast("4.0")?"otf":"svg"})},Opera:function(a){a.isMini=null!=navigator.appVersion.match("Opera Mini");b.config.styles[".MathJax .merror"]["vertical-align"]=null;b.config.styles[".MathJax span"]["z-index"]=0;b.Augment({operaHeightBug:!0,operaVerticalAlignBug:!0,operaFontSizeBug:a.versionAtLeast("10.61"),initialSkipBug:!0,FontFaceBug:!0,PaddingWidthBug:!0,allowWebFonts:a.versionAtLeast("10.0")&&!a.isMini?"otf":!1,adjustAvailableFonts:b.removeSTIXfonts})},Konqueror:function(a){b.Augment({konquerorVerticalAlignBug:!0})}})});MathJax.Hub.Register.StartupHook("End Cookie",function(){"None"!==g.config.menuSettings.zoom&&c.Require("[MathJax]/extensions/MathZoom.js")})})(MathJax.Ajax,MathJax.Hub,MathJax.OutputJax["HTML-CSS"]);MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",function(){var c=MathJax.ElementJax.mml,g=MathJax.OutputJax["HTML-CSS"];c.mtable.Augment({toHTML:function(b){b=this.HTMLcreateSpan(b);if(0===this.data.length)return b;var d=this.getValues("columnalign","rowalign","columnspacing","rowspacing","columnwidth","equalcolumns","equalrows","columnlines","rowlines","frame","framespacing","align","useHeight","width","side","minlabelspacing"),q=d.width.match(/%$/),m=g.createStack(b),l=this.HTMLgetScale(),n=this.HTMLgetMu(b),p=[],a=[],e=[],k=[],u=[],f,h,r=-1,w,v,t,D,x,A,y=[],C=g.FONTDATA.baselineskip*l*d.useHeight,B,E=g.FONTDATA.lineH*l,N=g.FONTDATA.lineD*l;f=0;for(w=this.data.length;f<w;f++)for(D=this.data[f],t="mlabeledtr"===D.type?-1:0,k[f]=[],p[f]=a[f]=0,h=t,v=D.data.length+t;h<v;h++)null==e[h]&&(h>r&&(r=h),u[h]=g.createStack(g.createBox(m)),e[h]=-g.BIGDIMEN),k[f][h]=g.createBox(u[h]),y.push(D.data[h-t].toHTML(k[f][h]));g.MeasureSpans(y);f=0;for(w=this.data.length;f<w;f++)for(D=this.data[f],h=t="mlabeledtr"===D.type?-1:0,v=D.data.length+t;h<v;h++){x=D.data[h-t];x.isMultiline&&(k[f][h].style.width="100%");if(x.isEmbellished()&&(A=x.CoreMO(),y=A.Get("minsize",!0))){var I=A.HTMLspanElement().bbox;if(A.HTMLcanStretch("Vertical")){if(B=I.h+I.d)y=g.length2em(y,n,B),y*I.h/B>p[f]&&(p[f]=y*I.h/B),y*I.d/B>a[f]&&(a[f]=y*I.d/B)}else A.HTMLcanStretch("Horizontal")&&(y=g.length2em(y,n,I.w),y>e[h]&&(e[h]=y))}k[f][h].bbox.h>p[f]&&(p[f]=k[f][h].bbox.h);k[f][h].bbox.d>a[f]&&(a[f]=k[f][h].bbox.d);k[f][h].bbox.w>e[h]&&(e[h]=k[f][h].bbox.w)}p[0]+a[0]&&(p[0]=Math.max(p[0],E));p[k.length-1]+a[k.length-1]&&(a[k.length-1]=Math.max(a[k.length-1],N));var J=MathJax.Hub.SplitList,y=J(d.columnspacing),E=J(d.rowspacing);v=J(d.columnalign);var z=J(d.rowalign),I=J(d.columnlines),N=J(d.rowlines),G=J(d.columnwidth),L=[];f=0;for(w=y.length;f<w;f++)y[f]=g.length2em(y[f],n);f=0;for(w=E.length;f<w;f++)E[f]=g.length2em(E[f],n);for(;y.length<r;)y.push(y[y.length-1]);for(;v.length<=r;)v.push(v[v.length-1]);for(;I.length<r;)I.push(I[I.length-1]);for(;G.length<=r;)G.push(G[G.length-1]);for(;E.length<k.length;)E.push(E[E.length-1]);for(;z.length<=k.length;)z.push(z[z.length-1]);for(;N.length<k.length;)N.push(N[N.length-1]);u[-1]&&(v[-1]="l"===d.side.substr(0,1)?"left":"right",y[-1]=-e[-1]);f=0;for(w=k.length;f<w;f++)if(D=this.data[f],L[f]=[],D.rowalign&&(z[f]=D.rowalign),D.columnalign)for(L[f]=J(D.columnalign);L[f].length<=r;)L[f].push(L[f][L[f].length-1]);if(d.equalrows){D=Math.max.apply(Math,p);var O=Math.max.apply(Math,a);f=0;for(w=k.length;f<w;f++)t=(D+O-(p[f]+a[f]))/2,p[f]+=t,a[f]+=t}B=p[0]+a[k.length-1];f=0;for(w=k.length-1;f<w;f++)B+=Math.max(p[f]+a[f]?C:0,a[f]+p[f+1]+E[f]);f=O=0;D=B;if("none"!==d.frame||(d.columnlines+d.rowlines).match(/solid|dashed/))D=J(d.framespacing),2!=D.length&&(D=J(this.defaults.framespacing)),O=g.length2em(D[0],n),f=g.length2em(D[1],n),D=B+2*f;h="";"string"!==typeof d.align&&(d.align=String(d.align));d.align.match(/(top|bottom|center|baseline|axis)( +(-?\d+))?/)?(h=RegExp.$3,d.align=RegExp.$1):d.align=this.defaults.align;if(""!==h)for(h=parseInt(h),0>h&&(h=k.length+1+h),1>h?h=1:h>k.length&&(h=k.length),J=0,l=-(B+f)+p[0],f=0,w=h-1;f<w;f++)h=Math.max(p[f]+a[f]?C:0,a[f]+p[f+1]+E[f]),J+=h,l+=h;else J={top:-(p[0]+f),bottom:B+f-p[0],center:B/2-p[0],baseline:B/2-p[0],axis:B/2+g.TeX.axis_height*l-p[0]}[d.align],l={top:-(B+2*f),bottom:0,center:-(B/2+f),baseline:-(B/2+f),axis:g.TeX.axis_height*l-B/2-f}[d.align];var F,K=0,H=0;B=A=x=0;h=[];t=[];var Q=1;if(d.equalcolumns&&"auto"!==d.width)if(q){F=(100/(r+1)).toFixed(2).replace(/\.?0+$/,"")+"%";f=0;for(w=Math.min(r+1,G.length);f<w;f++)G[f]=F;F=0;K=1;B=r+1;f=0;for(w=Math.min(r+1,y.length);f<w;f++)F+=y[f]}else{F=g.length2em(d.width,n);f=0;for(w=Math.min(r+1,y.length);f<w;f++)F-=y[f];F/=r+1;f=0;for(w=Math.min(r+1,G.length);f<w;f++)e[f]=F}else{f=0;for(w=Math.min(r+1,G.length);f<w;f++)"auto"===G[f]?H+=e[f]:"fit"===G[f]?(t[B]=f,B++,H+=e[f]):G[f].match(/%$/)?(h[A]=f,A++,x+=e[f],K+=g.length2em(G[f],n,1)):(e[f]=g.length2em(G[f],n),H+=e[f]);if(q){f=F=0;for(w=Math.min(r,y.length);f<w;f++)F+=y[f];.98<K&&(Q=.98/K,K=.98)}else{if("auto"===d.width).98<K?(Q=x/(H+x),F=H+x):F=H/(1-K);else for(F=g.length2em(d.width,n),f=0,w=Math.min(r+1,y.length);f<w;f++)F-=y[f];f=0;for(w=h.length;f<w;f++)e[h[f]]=g.length2em(G[h[f]],n,F*Q),H+=e[h[f]];if(.01<Math.abs(F-H))if(B&&F>H)for(F=(F-H)/B,f=0,w=t.length;f<w;f++)e[t[f]]+=F;else for(F/=H,h=0;h<=r;h++)e[h]*=F;if(d.equalcolumns)for(f=Math.max.apply(Math,e),h=0;h<=r;h++)e[h]=f}}var P=J;for(h=t=u[-1]?-1:0;h<=r;h++){f=0;for(w=k.length;f<w;f++)k[f][h]&&(t="mlabeledtr"===this.data[f].type?-1:0,x=this.data[f].data[h-t],x.HTMLcanStretch("Horizontal")?k[f][h].bbox=x.HTMLstretchH(u[h],e[h]).bbox:x.HTMLcanStretch("Vertical")&&(A=x.CoreMO(),t=A.symmetric,A.symmetric=!1,k[f][h].bbox=x.HTMLstretchV(u[h],p[f],a[f]).bbox,k[f][h].HH=null,A.symmetric=t),A=x.rowalign||this.data[f].rowalign||z[f],t={top:p[f]-k[f][h].bbox.h,bottom:k[f][h].bbox.d-a[f],center:(p[f]-a[f]-(k[f][h].bbox.h-k[f][h].bbox.d))/2,baseline:0,axis:0}[A]||0,A=x.columnalign||L[f][h]||v[h],g.alignBox(k[f][h],A,P+t)),f<k.length-1&&(P-=Math.max(p[f]+a[f]?C:0,a[f]+p[f+1]+E[f]));P=J}if(q)for(f=g.createBox(m),f.style.left=f.style.top=0,f.style.right=g.Em(F+2*O),f.style.display="inline-block",f.style.height="0px",g.msieRelativeWidthBug&&(f=g.createBox(f),f.style.position="relative",f.style.height="1em",f.style.width="100%",f.bbox=m.bbox),w=0,L=O,B?(t=100*(1-K)/B,H/=B):(t=100*(1-K)/(r+1),H/=r+1),h=0;h<=r;h++)g.placeBox(u[h].parentNode,0,0),u[h].style.position="relative",u[h].style.left=g.Em(L),u[h].style.width="100%",u[h].parentNode.parentNode.removeChild(u[h].parentNode),z=g.createBox(f),g.addBox(z,u[h]),u[h]=z,K=z.style,K.display="inline-block",K.left=w+"%",G[h].match(/%$/)?(x=parseFloat(G[h])*Q,0===B?(K.width=t+x+"%",w+=t+x,z=g.createBox(z),g.addBox(z,u[h].firstChild),z.style.left=0,z.style.right=g.Em(H),L-=H):(K.width=x+"%",w+=x)):"fit"===G[h]||0===B?(K.width=t+"%",z=g.createBox(z),g.addBox(z,u[h].firstChild),z.style.left=0,z.style.right=g.Em(H-e[h]),L+=e[h]-H,w+=t):(K.width=g.Em(e[h]),L+=e[h]),g.msieRelativeWidthBug&&(g.addText(z.firstChild,g.NBSP),z.firstChild.style.position="relative"),L+=y[h],"none"!==I[h]&&h<r&&-1!==h&&(z=g.createBox(f),z.style.left=w+"%",z=g.createRule(z,D,0,1.25/g.em),z.style.position="absolute",z.bbox={h:D,d:0,w:0,rw:1.25/g.em,lw:0},z.parentNode.bbox=m.bbox,g.placeBox(z,L-y[h]/2,l,!0),z.style.borderStyle=I[h]);else for(f=O,h=0;h<=r;h++)u[h].bbox.width||g.setStackWidth(u[h],e[h]),"auto"!==G[h]&&"fit"!==G[h]&&(u[h].bbox.width=e[h],u[h].bbox.isFixed=!0),g.placeBox(u[h].parentNode,f,0),f+=e[h]+y[h],"none"!==I[h]&&h<r&&-1!==h&&(z=g.createRule(m,D,0,1.25/g.em),g.addBox(m,z),z.bbox={h:D,d:0,w:0,rw:1.25/g.em,lw:0},g.placeBox(z,f-y[h]/2,l,!0),z.style.borderStyle=I[h]);m.bbox.d=-l;m.bbox.h=D+l;g.setStackWidth(m,m.bbox.w+O);var e=m.bbox.w,M;"none"!==d.frame&&(M=g.createFrame(m,D,0,e,1.25/g.em,d.frame),g.addBox(m,M),g.placeBox(M,0,l,!0),q&&(M.style.width="100%"));P=J;f=0;for(w=k.length-1;f<w;f++)t=Math.max(C,a[f]+p[f+1]+E[f]),"none"!==N[f]&&(z=g.createRule(m,1.25/g.em,0,e),g.addBox(m,z),z.bbox={h:1.25/g.em,d:0,w:e,rw:e,lw:0},g.placeBox(z,0,P-a[f]-(t-a[f]-p[f+1])/2,!0),"dashed"===N[f]||q)&&(z.style.borderTop=z.style.height+" "+N[f],z.style.height=0,z.style.width=z.style.borderLeftWidth,z.style.borderLeft="",q&&(z.style.width="100%")),P-=t;q&&(b.bbox.width=d.width,m.style.width="100%");u[-1]&&(p=m.bbox.w,k=this.getValues("indentalignfirst","indentshiftfirst","indentalign","indentshift"),k.indentalignfirst!==c.INDENTALIGN.INDENTALIGN&&(k.indentalign=k.indentalignfirst),k.indentalign===c.INDENTALIGN.AUTO&&(k.indentalign=this.displayAlign),k.indentshiftfirst!==c.INDENTSHIFT.INDENTSHIFT&&(k.indentshift=k.indentshiftfirst),"auto"===k.indentshift&&(k.indentshift=this.displayIndent),C=g.createStack(b,!1,"100%"),g.addBox(C,m),g.alignBox(m,k.indentalign,0),k.indentshift&&k.indentalign!==c.INDENTALIGN.CENTER&&(a=g.length2em(k.indentshift,n),p+=a,m.style[k.indentalign]=g.Em(a)),u[-1].parentNode.parentNode.removeChild(u[-1].parentNode),g.addBox(C,u[-1]),g.alignBox(u[-1],v[-1],0),g.msieRelativeWidthBug&&(m.style.top=u[-1].style.top=""),q&&(m.style.width=d.width,b.bbox.width="100%"),a=g.length2em(d.minlabelspacing,n),u[-1].style.marginRight=u[-1].style.marginLeft=g.Em(a),k.indentalign===c.INDENTALIGN.CENTER?p+=4*a+2*u[-1].bbox.w:k.indentalign!==v[-1]&&(p+=2*a+u[-1].bbox.w),b.style.minWidth=b.bbox.minWidth=C.style.minWidth=C.bbox.minWidth=g.Em(p));q||this.HTMLhandleSpace(b);(d=this.HTMLhandleColor(b))&&q&&(M||(M=g.createFrame(m,D,0,e,0,"none"),g.addBox(m,M),g.placeBox(M,0,l,!0),M.style.width="100%"),M.style.backgroundColor=d.style.backgroundColor,M.parentNode.insertBefore(M,M.parentNode.firstChild),d.parentNode.removeChild(d));return b},HTMLhandleSpace:function(b){b.bbox.keepPadding=!0;b.bbox.exact=!0;this.hasFrame||null!=b.bbox.width||(b.style.paddingLeft=b.style.paddingRight=g.Em(1/6));this.SUPER(arguments).HTMLhandleSpace.call(this,b)}});c.mtd.Augment({toHTML:function(b,c,g){b=this.HTMLcreateSpan(b);if(this.data[0]){var m=this.data[0].toHTML(b);null!=g?m=this.data[0].HTMLstretchV(b,c,g):null!=c&&(m=this.data[0].HTMLstretchH(b,c));b.bbox=m.bbox}this.HTMLhandleSpace(b);this.HTMLhandleColor(b);return b},HTMLstretchH:c.mbase.HTMLstretchH,HTMLstretchV:c.mbase.HTMLstretchV});MathJax.Hub.Startup.signal.Post("HTML-CSS mtable Ready");MathJax.Ajax.loadComplete(g.autoloadDir+"/mtable.js")});MathJax.Ajax.loadComplete("[MathJax]/config/TeX-AMS_HTML-full.js");
|