/*
* /MathJax/config/TeX-MML-AM_HTMLorMML.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.Hub.Config({delayJaxRegistration:!0});MathJax.Ajax.Preloading("[MathJax]/jax/input/TeX/config.js","[MathJax]/jax/input/MathML/config.js","[MathJax]/jax/input/AsciiMath/config.js","[MathJax]/jax/output/HTML-CSS/config.js","[MathJax]/jax/output/NativeMML/config.js","[MathJax]/config/MMLorHTML.js","[MathJax]/extensions/tex2jax.js","[MathJax]/extensions/mml2jax.js","[MathJax]/extensions/asciimath2jax.js","[MathJax]/extensions/MathEvents.js","[MathJax]/extensions/MathZoom.js","[MathJax]/extensions/MathMenu.js","[MathJax]/jax/element/mml/jax.js","[MathJax]/extensions/toMathML.js","[MathJax]/extensions/TeX/noErrors.js","[MathJax]/extensions/TeX/noUndefined.js","[MathJax]/jax/input/TeX/jax.js","[MathJax]/extensions/TeX/AMSmath.js","[MathJax]/extensions/TeX/AMSsymbols.js","[MathJax]/jax/input/MathML/jax.js","[MathJax]/jax/input/AsciiMath/jax.js");MathJax.Hub.Config({"v1.0-compatible":!1});MathJax.InputJax.TeX=MathJax.InputJax({id:"TeX",version:"2.2.1",directory:MathJax.InputJax.directory+"/TeX",extensionDir:MathJax.InputJax.extensionDir+"/TeX",config:{TagSide:"right",TagIndent:"0.8em",MultLineWidth:"85%",equationNumbers:{autoNumber:"none",formatNumber:function(a){return a},formatTag:function(a){return"("+a+")"},formatID:function(a){return"mjx-eqn-"+String(a).replace(/[:"'<>&]/g,"")},formatURL:function(a){return"#"+escape(a)},useLabelIds:!0}}});MathJax.InputJax.TeX.Register("math/tex");MathJax.InputJax.TeX.loadComplete("config.js");MathJax.InputJax.MathML=MathJax.InputJax({id:"MathML",version:"2.2",directory:MathJax.InputJax.directory+"/MathML",extensionDir:MathJax.InputJax.extensionDir+"/MathML",entityDir:MathJax.InputJax.directory+"/MathML/entities",config:{useMathMLspacing:!1}});MathJax.InputJax.MathML.Register("math/mml");MathJax.InputJax.MathML.loadComplete("config.js");MathJax.InputJax.AsciiMath=MathJax.InputJax({id:"AsciiMath",version:"2.2",directory:MathJax.InputJax.directory+"/AsciiMath",extensionDir:MathJax.InputJax.extensionDir+"/AsciiMath",config:{displaystyle:!0,decimalsign:"."}});MathJax.InputJax.AsciiMath.Register("math/asciimath");MathJax.InputJax.AsciiMath.loadComplete("config.js");MathJax.OutputJax["HTML-CSS"]=MathJax.OutputJax({id:"HTML-CSS",version:"2.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(a,d){var b=a.Insert({minBrowserVersion:{Firefox:3,Opera:9.52,MSIE:6,Chrome:.3,Safari:2,Konqueror:4},inlineMathDelimiters:["$","$"],displayMathDelimiters:["$$","$$"],multilineDisplay:!0,minBrowserTranslate:function(c){var e=a.getJaxFor(c),d=["[Math]"],g=document.createElement("span",{className:"MathJax_Preview"});"TeX"===e.inputJax&&(e.root.Get("displaystyle")?(d=b.displayMathDelimiters,d=[d[0]+e.originalText+d[1]],b.multilineDisplay&&(d=d[0].split(/\n/))):(d=b.inlineMathDelimiters,d=[d[0]+e.originalText.replace(/^\s+/,"").replace(/\s+$/,"")+d[1]]));for(var e=0,k=d.length;edocument.documentMode};MathJax.Hub.Register.PreProcessor(["PreProcess",MathJax.Extension.tex2jax]);MathJax.Ajax.loadComplete("[MathJax]/extensions/tex2jax.js");MathJax.Extension.mml2jax={version:"2.2",config:{preview:"alttext"},MMLnamespace:"http://www.w3.org/1998/Math/MathML",PreProcess:function(a){this.configured||(this.config=MathJax.Hub.CombineConfig("mml2jax",this.config),this.config.Augment&&MathJax.Hub.Insert(this,this.config.Augment),this.InitBrowser(),this.configured=!0);"string"===typeof a&&(a=document.getElementById(a));a||(a=document.body);this.ProcessMathArray(a.getElementsByTagName("math"));a.getElementsByTagNameNS&&this.ProcessMathArray(a.getElementsByTagNameNS(this.MMLnamespace,"math"));var d,b;if("undefined"!==typeof document.namespaces)try{for(d=0,b=document.namespaces.length;d/i,"").replace(/<\?xml:namespace .*?\/>/i,""),c=c.replace(/ /g,"\x26#xA0;"));MathJax.HTML.setScript(b,c);d.removeChild(a)}else d=MathJax.HTML.Element("span"),d.appendChild(a),MathJax.HTML.setScript(b,d.innerHTML);"none"!==this.config.preview&&this.createPreview(a,b)},ProcessMathFlattened:function(a){var d=a.parentNode,b=document.createElement("script");b.type="math/mml";d.insertBefore(b,a);for(var d="",c,e=a;a&&"/MATH"!==a.nodeName;)c=a,a=a.nextSibling,d+=this.NodeHTML(c),c.parentNode.removeChild(c);a&&"/MATH"===a.nodeName&&a.parentNode.removeChild(a);b.text=d+"\x3c/math\x3e";"none"!==this.config.preview&&this.createPreview(e,b)},NodeHTML:function(a){var d,b,c;if("#text"===a.nodeName)d=this.quoteHTML(a.nodeValue);else if("#comment"===a.nodeName)d="\x3c!--"+a.nodeValue+"--\x3e";else{d="\x3c"+a.nodeName.toLowerCase();b=0;for(c=a.attributes.length;b|\/>)$/)){b=0;for(c=a.childNodes.length;b/g,"\x26gt;").replace(/\"/g,"\x26quot;")},createPreview:function(a,d){var b=this.config.preview;"none"!==b&&("alttext"===b&&(b=a.getAttribute("alttext"),b=null!=b?[this.filterPreview(b)]:null),b&&(b=MathJax.HTML.Element("span",{className:MathJax.Hub.config.preRemoveClass},b),d.parentNode.insertBefore(b,d)))},filterPreview:function(a){return a},InitBrowser:function(){var a=MathJax.HTML.Element("span",{id:"\x3c",className:"mathjax",innerHTML:"\x3cmath\x3e\x3cmi\x3ex\x3c/mi\x3e\x3cmspace /\x3e\x3c/math\x3e"}),d=a.outerHTML||"";this.AttributeBug=""!==d&&!(d.match(/id="<"/)&&d.match(/class="mathjax"/)&&d.match(/<\/math>/));this.MathTagBug=1(document.documentMode||0)};MathJax.Hub.Register.PreProcessor(["PreProcess",MathJax.Extension.asciimath2jax]);MathJax.Ajax.loadComplete("[MathJax]/extensions/asciimath2jax.js");(function(a,d,b,c,e,l,g){var k=MathJax.Extension,p=k.MathEvents={version:"2.2"},f=a.config.menuSettings,m={hover:500,frame:{x:3.5,y:5,bwidth:1,bcolor:"#A6D",hwidth:"15px",hcolor:"#83A"},button:{x:-4,y:-3,wx:-2,src:b.fileURL(l.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"}}},n=p.Event={LEFTBUTTON:0,RIGHTBUTTON:2,MENUKEY:"altKey",Mousedown:function(a){return n.Handler(a,"Mousedown",this)},Mouseup:function(a){return n.Handler(a,"Mouseup",this)},Mousemove:function(a){return n.Handler(a,"Mousemove",this)},Mouseover:function(a){return n.Handler(a,"Mouseover",this)},Mouseout:function(a){return n.Handler(a,"Mouseout",this)},Click:function(a){return n.Handler(a,"Click",this)},DblClick:function(a){return n.Handler(a,"DblClick",this)},Menu:function(a){return n.Handler(a,"ContextMenu",this)},Handler:function(a,f,c){if(b.loadingMathMenu)return n.False(a);var m=l[c.jaxID];a||(a=window.event);a.isContextMenu="ContextMenu"===f;if(m[f])return m[f](a,c);if(k.MathZoom)return k.MathZoom.HandleEvent(a,f,c)},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(m,d,k){var h=l[d.jaxID],t=h.getJaxFromMath(d);if((null!=h.config.showMathMenu?h:a).config.showMathMenu&&("MathJax"===f.context||k)){p.msieEventBug&&(m=window.event||m);n.ClearSelection();u.ClearHoverTimer();t.hover&&(t.hover.remove&&(clearTimeout(t.hover.remove),delete t.hover.remove),t.hover.nofade=!0);var w=MathJax.Menu;if(w){if(w.loadingDomain)return n.False(m);h=e.loadDomain("MathMenu");if(!h)return w.jax=t,d=w.menu.Find("Show Math As").menu,d.items[0].name=t.sourceMenuTitle,d.items[0].format=t.sourceMenuFormat||"MathML",d.items[1].name=g[t.inputJax].sourceMenuTitle,w.menu.Find("Math Settings","MathPlayer").hidden=!("NativeMML"===t.outputJax&&a.Browser.hasMathPlayer),w.menu.Post(m);w.loadingDomain=!0;t=function(){delete w.loadingDomain}}else{if(b.loadingMathMenu)return n.False(m);b.loadingMathMenu=!0;h=b.Require("[MathJax]/extensions/MathMenu.js");t=function(){delete b.loadingMathMenu;MathJax.Menu||(MathJax.Menu={})}}c.Queue(h,t,["ContextMenu",n,{pageX:m.pageX,pageY:m.pageY,clientX:m.clientX,clientY:m.clientY},d,k]);return n.False(m)}},AltContextMenu:function(c,m){var b=l[m.jaxID],d=(null!=b.config.showMathMenu?b:a).config.showMathMenu;if(d){d=(null!=b.config.showMathMenuMSIE?b:a).config.showMathMenuMSIE;if("MathJax"===f.context&&!f.mpContext&&d){if(!p.noContextMenuBug||c.button!==n.RIGHTBUTTON)return}else if(!c[n.MENUKEY]||c.button!==n.LEFTBUTTON)return;return b.ContextMenu(c,m,!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 f=p.topImg.offsetTop,c=a.offsetHeight-f,m=a.offsetWidth;a.removeChild(p.topImg);return{w:m,h:f,d:c}}},u=p.Hover={Mouseover:function(c,m){if(f.discoverable||"Hover"===f.zoom){var b=c.fromElement||c.relatedTarget,d=c.toElement||c.target;if(b&&d&&(b.isMathJax!=d.isMathJax||a.getJaxFor(b)!==a.getJaxFor(d)))return b=this.getJaxFromMath(m),b.hover?u.ReHover(b):u.HoverTimer(b,m),n.False(c)}},Mouseout:function(c,m){if(f.discoverable||"Hover"===f.zoom){var b=c.fromElement||c.relatedTarget,d=c.toElement||c.target;if(b&&d&&(b.isMathJax!=d.isMathJax||a.getJaxFor(b)!==a.getJaxFor(d)))return b=this.getJaxFromMath(m),b.hover?u.UnHover(b):u.ClearHoverTimer(),n.False(c)}},Mousemove:function(a,c){if(f.discoverable||"Hover"===f.zoom){var m=this.getJaxFromMath(c);if(!m.hover&&(u.lastX!=a.clientX||u.lastY!=a.clientY))return u.lastX=a.clientX,u.lastY=a.clientY,u.HoverTimer(m,c),n.False(a)}},HoverTimer:function(a,f){this.ClearHoverTimer();this.hoverTimer=setTimeout(c(["Hover",this,a,f]),m.hover)},ClearHoverTimer:function(){this.hoverTimer&&(clearTimeout(this.hoverTimer),delete this.hoverTimer)},Hover:function(f,c){if(!k.MathZoom||!k.MathZoom.Hover({},c)){var b=l[f.outputJax],n=b.getHoverSpan(f,c),e=b.getHoverBBox(f,n,c),u=(null!=b.config.showMathMenu?b:a).config.showMathMenu,h=m.frame.x,g=m.frame.y,t=m.frame.bwidth;p.msieBorderWidthBug&&(t=0);f.hover={opacity:0,id:f.inputID+"-Hover"};var y=d.Element("span",{id:f.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(-e.h-g-t-(e.y||0)),left:this.Px(-h-t+(e.x||0)),width:this.Px(e.w+2*h),height:this.Px(e.h+e.d+2*g),opacity:0,filter:"alpha(opacity\x3d0)"}}]]),b=d.Element("span",{isMathJax:!0,id:f.hover.id+"Menu",style:{display:"inline-block","z-index":1,width:0,height:0,position:"relative"}},[["img",{className:"MathJax_Hover_Arrow",isMathJax:!0,math:c,src:m.button.src,onclick:this.HoverMenu,jax:b.id,style:{left:this.Px(e.w+h+t+(e.x||0)+m.button.x),top:this.Px(-e.h-g-t-(e.y||0)-m.button.y),opacity:0,filter:"alpha(opacity\x3d0)"}}]]);e.width&&(y.style.width=b.style.width=e.width,y.style.marginRight=b.style.marginRight="-"+e.width,y.firstChild.style.width=e.width,b.firstChild.style.left="",b.firstChild.style.right=this.Px(m.button.wx));n.parentNode.insertBefore(y,n);u&&n.parentNode.insertBefore(b,n);n.style&&(n.style.position="relative");this.ReHover(f)}},ReHover:function(a){a.hover.remove&&clearTimeout(a.hover.remove);a.hover.remove=setTimeout(c(["UnHover",this,a]),m.fadeoutDelay);this.HoverFadeTimer(a,m.fadeinInc)},UnHover:function(a){a.hover.nofade||this.HoverFadeTimer(a,-m.fadeoutInc,m.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 f=document.getElementById(a.hover.id),c=document.getElementById(a.hover.id+"Menu");f.firstChild.style.opacity=a.hover.opacity;f.firstChild.style.filter="alpha(opacity\x3d"+Math.floor(100*a.hover.opacity)+")";c&&(c.firstChild.style.opacity=a.hover.opacity,c.firstChild.style.filter=f.style.filter);1!==a.hover.opacity&&(0Math.abs(a)?"0px":a.toFixed(2).replace(/\.?0+$/,"")+"px"},getImages:function(){(new Image).src=m.button.src}},t=p.Touch={last:0,delay:500,start:function(a){var f=(new Date).getTime(),c=f-t.lastf;9>f&&(n.LEFTBUTTON=1)},Safari:function(a){p.safariContextMenuBug=!0},Opera:function(a){p.operaPositionBug=!0},Konqueror:function(a){p.noContextMenuBug=!0}});p.topImg=p.msieAlignBug?d.Element("img",{style:{width:0,height:0,position:"relative"},src:"about:blank"}):d.Element("span",{style:{width:0,height:0,display:"inline-block"}});p.operaPositionBug&&(p.topImg.style.border="1px solid");p.config=m=a.CombineConfig("MathEvents",m);c.Queue(a.Register.StartupHook("End Config",{}),[function(){var a=m.styles[".MathJax_Hover_Frame"];a.border=m.frame.bwidth+"px solid "+m.frame.bcolor+" ! important";a["box-shadow"]=a["-webkit-box-shadow"]=a["-moz-box-shadow"]=a["-khtml-box-shadow"]="0px 0px "+m.frame.hwidth+" "+m.frame.hcolor}],["getImages",u],["Styles",b,m.styles],["Post",a.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(a,d,b,c,e){var l=a.CombineConfig("MathZoom",{styles:{"#MathJax_Zoom":{position:"absolute","background-color":"#F0F0F0",overflow:"auto",display:"block","z-index":301,padding:".5em",border:"1px solid black",margin:0,"font-weight":"normal","font-style":"normal","text-align":"left","text-indent":0,"text-transform":"none","line-height":"normal","letter-spacing":"normal","word-spacing":"normal","word-wrap":"normal","white-space":"nowrap","float":"none","box-shadow":"5px 5px 15px #AAAAAA","-webkit-box-shadow":"5px 5px 15px #AAAAAA","-moz-box-shadow":"5px 5px 15px #AAAAAA","-khtml-box-shadow":"5px 5px 15px #AAAAAA",filter:"progid:DXImageTransform.Microsoft.dropshadow(OffX\x3d2, OffY\x3d2, Color\x3d'gray', Positive\x3d'true')"},"#MathJax_ZoomOverlay":{position:"absolute",left:0,top:0,"z-index":300,display:"inline-block",width:"100%",height:"100%",border:0,padding:0,margin:0,"background-color":"white",opacity:0,filter:"alpha(opacity\x3d0)"},"#MathJax_ZoomFrame":{position:"relative",display:"inline-block",height:0,width:0},"#MathJax_ZoomEventTrap":{position:"absolute",left:0,top:0,"z-index":302,display:"inline-block",border:0,padding:0,margin:0,"background-color":"white",opacity:0,filter:"alpha(opacity\x3d0)"}}}),g,k,p;MathJax.Hub.Register.StartupHook("MathEvents Ready",function(){p=MathJax.Extension.MathEvents.Event;g=MathJax.Extension.MathEvents.Event.False;k=MathJax.Extension.MathEvents.Hover});var f=MathJax.Extension.MathZoom={version:"2.2",settings:a.config.menuSettings,scrollSize:18,HandleEvent:function(a,c,b){return f.settings.CTRL&&!a.ctrlKey||f.settings.ALT&&!a.altKey||f.settings.CMD&&!a.metaKey||f.settings.Shift&&!a.shiftKey||!f[c]?!0:f[c](a,b)},Click:function(a,f){if("Click"===this.settings.zoom)return this.Zoom(a,f)},DblClick:function(a,f){if("Double-Click"===this.settings.zoom)return this.Zoom(a,f)},Hover:function(a,f){return"Hover"===this.settings.zoom?(this.Zoom(a,f),!0):!1},Zoom:function(f,c){this.Remove();k.ClearHoverTimer();p.ClearSelection();var b=MathJax.OutputJax[c.jaxID],e=b.getJaxFromMath(c);e.hover&&k.UnHover(e);var h=Math.floor(.85*document.body.clientWidth),q=Math.floor(.85*Math.max(document.body.clientHeight,document.documentElement.clientHeight)),z=d.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":h+"px","max-height":q+"px"}},[["span",{style:{display:"inline-block","white-space":"nowrap"}}]]]]),r=z.lastChild,A=r.firstChild,C=z.firstChild;c.parentNode.insertBefore(z,c);c.parentNode.insertBefore(c,z);A.addEventListener&&A.addEventListener("mousedown",this.Remove,!0);if(this.msieTrapEventBug){var w=d.Element("span",{id:"MathJax_ZoomEventTrap",onmousedown:this.Remove});z.insertBefore(w,r)}this.msieZIndexBug&&(d.addElement(document.body,"img",{src:"about:blank",id:"MathJax_ZoomTracker",width:0,height:0,style:{width:0,height:0,position:"relative"}}),z.style.position="relative",z.style.zIndex=l.styles["#MathJax_ZoomOverlay"]["z-index"]);b=b.Zoom(e,A,c,h,q);this.msiePositionBug&&(this.msieSizeBug&&(r.style.height=b.zH+"px",r.style.width=b.zW+"px"),r.offsetHeight>q&&(r.style.height=q+"px",r.style.width=b.zW+this.scrollSize+"px"),r.offsetWidth>h&&(r.style.width=h+"px",r.style.height=b.zH+this.scrollSize+"px"));this.operaPositionBug&&(r.style.width=Math.min(h,b.zW)+"px");r.offsetWidth&&r.offsetWidth=c;f.msieInlineBlockAlignBug=7>=c;f.msieTrapEventBug=!window.addEventListener;"BackCompat"===document.compatMode&&(f.scrollSize=52);b&&delete l.styles["#MathJax_Zoom"].filter},Opera:function(a){f.operaPositionBug=!0;f.operaRefreshBug=!0}});f.topImg=f.msieInlineBlockAlignBug?d.Element("img",{style:{width:0,height:0,position:"relative"},src:"about:blank"}):d.Element("span",{style:{width:0,height:0,display:"inline-block"}});if(f.operaPositionBug||f.msieTopBug)f.topImg.style.border="1px solid";MathJax.Callback.Queue(["StartupHook",MathJax.Hub.Register,"Begin Styles",{}],["Styles",b,l.styles],["Post",a.Startup.signal,"MathZoom Ready"],["loadComplete",b,"[MathJax]/extensions/MathZoom.js"])})(MathJax.Hub,MathJax.HTML,MathJax.Ajax,MathJax.OutputJax["HTML-CSS"],MathJax.OutputJax.NativeMML);(function(a,d,b,c,e){var l=MathJax.Callback.Signal("menu");MathJax.Extension.MathMenu={version:"2.2",signal:l};var g=function(a){return MathJax.Localization._.apply(MathJax.Localization,[["MathMenu",a]].concat([].slice.call(arguments,1)))},k=a.Browser.isPC,p=a.Browser.isMSIE,f=8<(document.documentMode||0),m=k?null:"5px",n=a.CombineConfig("MathMenu",{delay:150,closeImg:b.fileURL(e.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:k?"2px":"5px 0px",border:"1px solid #CCCCCC",margin:0,cursor:"default",font:"menu","text-align":"left","text-indent":0,"text-transform":"none","line-height":"normal","letter-spacing":"normal","word-spacing":"normal","word-wrap":"normal","white-space":"nowrap","float":"none","z-index":201,"border-radius":m,"-webkit-border-radius":m,"-moz-border-radius":m,"-khtml-border-radius":m,"box-shadow":"0px 10px 20px #808080","-webkit-box-shadow":"0px 10px 20px #808080","-moz-box-shadow":"0px 10px 20px #808080","-khtml-box-shadow":"0px 10px 20px #808080",filter:"progid:DXImageTransform.Microsoft.dropshadow(OffX\x3d2, OffY\x3d2, Color\x3d'gray', Positive\x3d'true')"},".MathJax_MenuItem":{padding:k?"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:k?"1em":".7em"},".MathJax_MenuLabel":{padding:k?"2px 2em 4px 1.33em":"1px 2em 3px 1.33em","font-style":"italic"},".MathJax_MenuRule":{"border-top":k?"1px solid #CCCCCC":"1px solid #DDDDDD",margin:k?"4px 1px 0px":"4px 3px"},".MathJax_MenuDisabled":{color:"GrayText"},".MathJax_MenuActive":{"background-color":k?"Highlight":"#606872",color:k?"HighlightText":"white"},".MathJax_Menu_Close":{position:"absolute",width:"31px",height:"31px",top:"-15px",left:"-15px"}}}),u,t;a.Register.StartupHook("MathEvents Ready",function(){u=MathJax.Extension.MathEvents.Event.False;t=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(f){f&&a.Insert(this,f);return this},Post:function(a,f){a||(a=window.event);var c=document.getElementById("MathJax_MenuFrame");c||(c=h.Background(this),delete q.lastItem,delete q.lastMenu,delete h.skipUp,l.Post(["post",h.jax]));var b=d.addElement(c,"div",{onmouseup:h.Mouseup,ondblclick:u,ondragstart:u,onselectstart:u,oncontextmenu:u,menuItem:this,className:"MathJax_Menu"});MathJax.Localization.setCSS(b);for(var m=0,e=this.items.length;mdocument.body.offsetWidth-this.margin&&!h.isMobile&&(g="right",m=Math.max(this.margin,m-p-b.offsetWidth+6));k||(b.style["borderRadiusTop"+g]=0,b.style["WebkitBorderRadiusTop"+g]=0,b.style["MozBorderRadiusTop"+g]=0,b.style["KhtmlBorderRadiusTop"+g]=0)}else m+b.offsetWidth>document.body.offsetWidth-this.margin&&(m=document.body.offsetWidth-b.offsetWidth-this.margin),h.isMobile&&(m=Math.max(5,m-Math.floor(b.offsetWidth/2)),e-=20),h.skipUp=a.isContextMenu;b.style.left=m+"px";b.style.top=e+"px";document.selection&&document.selection.empty&&document.selection.empty();return u(a)},Remove:function(a,f){l.Post(["unpost",h.jax]);var c=document.getElementById("MathJax_MenuFrame");c&&(c.parentNode.removeChild(c),this.msieFixedPositionBug&&detachEvent("onresize",h.Resize));h.jax.hover&&(delete h.jax.hover.nofade,t.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,f,c){for(var b=0,m=this.items.length;b/g,"\x26gt;");var b=g("EqSource","MathJax Equation Source");if(h.isMobile)c.document.open(),c.document.write("\x3chtml\x3e\x3chead\x3e\x3cmeta name\x3d'viewport' content\x3d'width\x3ddevice-width, initial-scale\x3d1.0' /\x3e\x3ctitle\x3e"+b+"\x3c/title\x3e\x3c/head\x3e\x3cbody style\x3d'font-size:85%'\x3e"),c.document.write("\x3cpre\x3e"+a+"\x3c/pre\x3e"),c.document.write("\x3chr\x3e\x3cinput type\x3d'button' value\x3d'"+g("Close","Close")+"' onclick\x3d'window.close()' /\x3e"),c.document.write("\x3c/body\x3e\x3c/html\x3e"),c.document.close();else{c.document.open();c.document.write("\x3chtml\x3e\x3chead\x3e\x3ctitle\x3e"+b+"\x3c/title\x3e\x3c/head\x3e\x3cbody style\x3d'font-size:85%'\x3e");c.document.write("\x3ctable\x3e\x3ctr\x3e\x3ctd\x3e\x3cpre\x3e"+a+"\x3c/pre\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e");c.document.write("\x3c/body\x3e\x3c/html\x3e");c.document.close();var m=c.document.body.firstChild;setTimeout(function(){var a=c.outerHeight-c.innerHeight||30,b=c.outerWidth-c.innerWidth||30,b=Math.max(100,Math.min(Math.floor(.5*screen.width),m.offsetWidth+b+25)),a=Math.max(40,Math.min(Math.floor(.5*screen.height),m.offsetHeight+a+25));c.resizeTo(b,a);f&&null!=f.screenX&&(b=Math.max(0,Math.min(f.screenX-Math.floor(b/2),screen.width-b-20)),a=Math.max(0,Math.min(f.screenY-Math.floor(a/2),screen.height-a-20)),c.moveTo(b,a))},50)}};h.Scale=function(){var f=e["HTML-CSS"],c=e.NativeMML,b=e.SVG,m=(f||c||b||{config:{scale:100}}).config.scale,d=prompt(g("ScaleMath","Scale all mathematics (compared to surrounding text) by"),m+"%");d&&(d.match(/^\s*\d+(\.\d*)?\s*%?\s*$/)?(d=parseFloat(d))?d!==m&&(f&&(f.config.scale=d),c&&(c.config.scale=d),b&&(b.config.scale=d),h.cookie.scale=d,h.saveCookie(),a.Reprocess()):alert(g("NonZeroScale","The scale should not be zero")):alert(g("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 c=a.outputJax["jax/mml"];if(c[0]!==n.settings.renderer){var b=a.Browser,m,e=h.Renderer.Messages,k;switch(n.settings.renderer){case "NativeMML":n.settings.warnedMML||(b.isChrome&&"24."!==b.version.substr(0,3)?m=e.MML.WebKit:b.isSafari&&!b.versionAtLeast("5.0")?m=e.MML.WebKit:b.isMSIE?b.hasMathPlayer||(m=e.MML.MSIE):m=e.MML[b],k="warnedMML");break;case "SVG":n.settings.warnedSVG||!b.isMSIE||f||(m=e.SVG.MSIE)}if(m){m=g(m[0],m[1]);m=m+"\n\n"+g("SwitchAnyway","Switch the renderer anyway?\n\n(Press OK to switch, CANCEL to continue with the current renderer)");h.cookie.renderer=c[0].id;h.saveCookie();if(!confirm(m)){h.cookie.renderer=n.settings.renderer=d.Cookie.Get("menu").renderer;h.saveCookie();return}k&&(h.cookie.warned=n.settings.warned=!0);h.cookie.renderer=n.settings.renderer;h.saveCookie()}a.Queue(["setRenderer",a,n.settings.renderer,"jax/mml"],["Rerender",a])}};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(){e["HTML-CSS"]&&document.location.reload()};h.Locale=function(){MathJax.Localization.setLocale(n.settings.locale);MathJax.Hub.Queue(["Reprocess",MathJax.Hub])};h.LoadLocale=function(){var a=prompt(g("LoadURL","Load translation data from this URL:"));a&&(a.match(/\.js$/)||alert(g("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(f){f!=b.STATUS.OK&&alert(g("BadData","Failed to load translation data from %1",a))}))};h.MPEvents=function(a){var c=n.settings.discoverable,b=h.MPEvents.Messages;f?!c&&"Menu Events"===a.name[1]&&n.settings.mpContext&&alert(g.apply(g,b.IE9warning)):n.settings.mpMouse&&!confirm(g.apply(g,b.IE8warning))?(delete h.cookie.mpContext,delete n.settings.mpContext,delete h.cookie.mpMouse,delete n.settings.mpMouse,h.saveCookie()):(n.settings.mpContext=n.settings.mpMouse,h.cookie.mpContext=h.cookie.mpMouse=n.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."]};a.Browser.Select({MSIE:function(a){var c="BackCompat"===document.compatMode;a=a.versionAtLeast("8.0")&&7document.documentMode,msieFixedPositionBug:c||!a,msieAboutBug:c});f&&(delete n.styles["#MathJax_About"].filter,delete n.styles[".MathJax_Menu"].filter)},Firefox:function(a){h.skipMouseover=a.isMobile&&a.versionAtLeast("6.0");h.skipMousedown=a.isMobile}});h.isMobile=a.Browser.isMobile;h.noContextMenu=a.Browser.noContextMenu;h.CreateLocaleMenu=function(){if(h.menu){var a=h.menu.Find("Language").menu,f=a.items,c=[],b=MathJax.Localization.strings,m;for(m in b)b.hasOwnProperty(m)&&c.push(m);c=c.sort();a.items=[];m=0;for(var d=c.length;mc.charCodeAt(0)?a.VARIANT.ITALIC:a.VARIANT.NORMAL):""},setTeXclass:function(c){this.getPrevClass(c);c=this.data.join("");1b&&(b=(b-55296<<10)+(c.charCodeAt(1)-56320)+65536);for(var d=0,g=this.RANGES.length;d=a)return String.fromCharCode(a);a-=65536;return String.fromCharCode((a>>10)+55296)+String.fromCharCode((a&1023)+56320)}});a.xml=a.mbase.Subclass({type:"xml",Init:function(){this.div=document.createElement("div");return this.SUPER(arguments).Init.apply(this,arguments)},Append:function(){for(var a=0,b=arguments.length;a=e||57344<=e)32>e||126b&&(a+=this.string.charAt(this.i++)),k.special[a])this[k.special[a]](a);else k.letter.test(a)?this.Variable(a):k.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 b=this.GetCS(),c=this.csFindMacro(b);if(c){c instanceof Array||(c=[c]);var d=c[0];d instanceof Function||(d=this[d]);d.apply(this,[a+b].concat(c.slice(1)))}else k.mathchar0mi[b]?this.csMathchar0mi(b,k.mathchar0mi[b]):k.mathchar0mo[b]?this.csMathchar0mo(b,k.mathchar0mo[b]):k.mathchar7[b]?this.csMathchar7(b,k.mathchar7[b]):null!=k.delimiter["\\"+b]?this.csDelimiter(b,k.delimiter["\\"+b]):this.csUndefined(a+b)},csFindMacro:function(a){return k.macros[a]},csMathchar0mi:function(a,b){var d={mathvariant:c.VARIANT.ITALIC};b instanceof Array&&(d=b[1],b=b[0]);this.Push(this.mmlToken(c.mi(c.entity("#x"+b)).With(d)))},csMathchar0mo:function(a,b){var d={stretchy:!1};b instanceof Array&&(d=b[1],d.stretchy=!1,b=b[0]);this.Push(this.mmlToken(c.mo(c.entity("#x"+b)).With(d)))},csMathchar7:function(a,b){var d={mathvariant:c.VARIANT.NORMAL};b instanceof Array&&(d=b[1],b=b[0]);this.stack.env.font&&(d.mathvariant=this.stack.env.font);this.Push(this.mmlToken(c.mi(c.entity("#x"+b)).With(d)))},csDelimiter:function(a,b){var d={};b instanceof Array&&(d=b[1],b=b[0]);b=4===b.length?c.entity("#x"+b):c.chars(b);this.Push(this.mmlToken(c.mo(b).With({fence:!1,stretchy:!1}).With(d)))},csUndefined:function(b){a.Error(["UndefinedControlSequence","Undefined control sequence %1",b])},Variable:function(a){var b={};this.stack.env.font&&(b.mathvariant=this.stack.env.font);this.Push(this.mmlToken(c.mi(c.chars(a)).With(b)))},Number:function(a){var b=this.string.slice(this.i-1).match(k.number);b?(a=c.mn(b[0].replace(/[{}]/g,"")),this.i+=b[0].length-1):a=c.mo(c.chars(a));this.stack.env.font&&(a.mathvariant=this.stack.env.font);this.Push(this.mmlToken(a))},Open:function(a){this.Push(g.open())},Close:function(a){this.Push(g.close())},Tilde:function(a){this.Push(c.mtext(c.chars("\u00a0")))},Space:function(a){},Superscript:function(b){this.GetNext().match(/\d/)&&(this.string=this.string.substr(0,this.i+1)+" "+this.string.substr(this.i+1));var d,e;d=this.stack.Top();"prime"===d.type?(b=d.data[0],e=d.data[1],this.stack.Pop()):(b=this.stack.Prev())||(b=c.mi(""));b.isEmbellishedWrapper&&(b=b.data[0].data[0]);if("msubsup"===b.type)b.data[b.sup]&&a.Error(["DoubleExponent","Double exponent: use braces to clarify"]),d=b.sup;else if(b.movesupsub){if("munderover"!==b.type||b.data[b.over])b.movablelimits&&b.isa(c.mi)&&(b=this.mi2mo(b)),b=c.munderover(b,null,null).With({movesupsub:!0});d=b.over}else b=c.msubsup(b,null,null),d=b.sup;this.Push(g.subsup(b).With({position:d,primes:e}))},Subscript:function(b){this.GetNext().match(/\d/)&&(this.string=this.string.substr(0,this.i+1)+" "+this.string.substr(this.i+1));var d,e;d=this.stack.Top();"prime"===d.type?(b=d.data[0],e=d.data[1],this.stack.Pop()):(b=this.stack.Prev())||(b=c.mi(""));b.isEmbellishedWrapper&&(b=b.data[0].data[0]);if("msubsup"===b.type)b.data[b.sub]&&a.Error(["DoubleSubscripts","Double subscripts: use braces to clarify"]),d=b.sub;else if(b.movesupsub){if("munderover"!==b.type||b.data[b.under])b.movablelimits&&b.isa(c.mi)&&(b=this.mi2mo(b)),b=c.munderover(b,null,null).With({movesupsub:!0});d=b.under}else b=c.msubsup(b,null,null),d=b.sub;this.Push(g.subsup(b).With({position:d,primes:e}))},PRIME:"\u2032",SMARTQUOTE:"\u2019",Prime:function(b){var d=this.stack.Prev();d||(d=c.mi());"msubsup"===d.type&&d.data[d.sup]&&a.Error(["DoubleExponentPrime","Prime causes double exponent: use braces to clarify"]);var e="";this.i--;do e+=this.PRIME,this.i++,b=this.GetNext();while("'"===b||b===this.SMARTQUOTE);e=["","\u2032","\u2033","\u2034","\u2057"][e.length]||e;this.Push(g.prime(d,this.mmlToken(c.mo(e))))},mi2mo:function(a){var b=c.mo();b.Append.apply(b,a.data);for(var d in b.defaults)b.defaults.hasOwnProperty(d)&&null!=a[d]&&(b[d]=a[d]);for(d in c.copyAttributes)c.copyAttributes.hasOwnProperty(d)&&null!=a[d]&&(b[d]=a[d]);return b},Comment:function(a){for(;this.ia.config.MAXMACROS&&a.Error(["MaxMacroSub1","MathJax maximum macro substitution count exceeded; is there a recursive macro call?"])},Matrix:function(b,c,d,e,k,h,l,p){var r=this.GetNext();""===r&&a.Error(["MissingArgFor","Missing argument for %1",b]);"{"===r?this.i++:(this.string=r+"}"+this.string.slice(this.i+1),this.i=0);b=g.array().With({requireClose:!0,arraydef:{rowspacing:h||"4pt",columnspacing:k||"1em"}});p&&(b.isCases=!0);if(c||d)b.open=c,b.close=d;"D"===l&&(b.arraydef.displaystyle=!0);null!=e&&(b.arraydef.columnalign=e);this.Push(b)},Entry:function(b){this.Push(g.cell().With({isEntry:!0,name:b}));if(this.stack.Top().isCases){var c=this.string,d=0;b=this.i;for(var e=c.length;bMath.abs(a)?"0em":a.toFixed(3).replace(/\.?0+$/,"")+"em"},HLine:function(b,c){null==c&&(c="solid");var d=this.stack.Top();d.isa(g.array)&&!d.data.length||a.Error(["Misplaced","Misplaced %1",b]);if(0==d.table.length)d.frame.push("top");else{for(var e=d.arraydef.rowlines?d.arraydef.rowlines.split(/ /):[];e.lengtha.config.MAXMACROS&&a.Error(["MaxMacroSub2","MathJax maximum substitution count exceeded; is there a recursive latex environment?"]);b instanceof Array||(b=[b]);c=g.begin().With({name:c,end:b[1],parse:this});b[0]&&this[b[0]]&&(c=this[b[0]].apply(this,[c].concat(b.slice(2))));this.Push(c)},End:function(a){this.Push(g.end().With({name:this.GetArgument(a)}))},envFindName:function(a){return k.environment[a]},Equation:function(a,b){return b},ExtensionEnv:function(a,b){this.Extension(a.name,b,"environment")},Array:function(a,b,c,d,e,k,l,p){d||(d=this.GetArgument("\\begin{"+a.name+"}"));var r=("c"+d).replace(/[^clr|:]/g,"").replace(/[^|:]([|:])+/g,"$1");d=d.replace(/[^clr]/g,"").split("").join(" ");d=d.replace(/l/g,"left").replace(/r/g,"right").replace(/c/g,"center");d=g.array().With({arraydef:{columnalign:d,columnspacing:e||"1em",rowspacing:k||"4pt"}});r.match(/[|:]/)&&(r.charAt(0).match(/[|:]/)&&(d.frame.push("left"),d.frame.dashed=":"===r.charAt(0)),r.charAt(r.length-1).match(/[|:]/)&&d.frame.push("right"),r=r.substr(1,r.length-2),d.arraydef.columnlines=r.split("").join(" ").replace(/[^|: ]/g,"none").replace(/\|/g,"solid").replace(/:/g,"dashed"));b&&(d.open=this.convertDelimiter(b));c&&(d.close=this.convertDelimiter(c));"D"===l&&(d.arraydef.displaystyle=!0);"S"===l&&(d.arraydef.scriptlevel=1);p&&(d.arraydef.useHeight=!1);this.Push(a);return d},AlignedArray:function(a){var b=this.GetBrackets("\\begin{"+a.name+"}");return this.setArrayAlign(this.Array.apply(this,arguments),b)},setArrayAlign:function(a,b){b=this.trimSpaces(b||"");"t"===b?a.arraydef.align="baseline 1":"b"===b?a.arraydef.align="baseline -1":"c"===b?a.arraydef.align="center":b&&(a.arraydef.align=b);return a},convertDelimiter:function(a){a&&(a=k.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(b,c){switch(this.GetNext()){case "":return c||a.Error(["MissingArgFor","Missing argument for %1",b]),null;case "}":return c||a.Error(["ExtraCloseMissingOpen","Extra close brace or missing open brace"]),null;case "\\":return this.i++,"\\"+this.GetCS();case "{":for(var d=++this.i,e=1;this.i=e--&&a.Error(["ExtraCloseLooking","Extra close brace while looking for %1","']'"]);break;case "]":if(0==e)return this.string.slice(d,this.i-1)}a.Error(["MissingCloseBracket","Couldn't find closing ']' for argument to %1",b])},GetDelimiter:function(b){for(;this.nextIsSpace();)this.i++;var c=this.string.charAt(this.i);if(this.ib.length)&&a.Error(["IllegalMacroParam","Illegal macro parameter reference"]),e=this.AddArgs(this.AddArgs(e,d),b[k-1]),d="")):d+=k;return this.AddArgs(e,d)},AddArgs:function(b,c){c.match(/^[a-z]/i)&&b.match(/(^|[^\\])(\\\\)*\\[a-z]+$/i)&&(b+=" ");b.length+c.length>a.config.MAXBUFFER&&a.Error(["MaxBufferSize","MathJax internal buffer size exceeded; is there a recursive macro call?"]);return b+c}});a.Augment({Stack:l,Parse:p,Definitions:k,Startup:function(){c=MathJax.ElementJax.mml;d.Insert(k,{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:c.VARIANT.NORMAL}],aleph:["2135",{mathvariant:c.VARIANT.NORMAL}],hbar:["210F",{variantForm:!0}],imath:"0131",jmath:"0237",ell:"2113",wp:["2118",{mathvariant:c.VARIANT.NORMAL}],Re:["211C",{mathvariant:c.VARIANT.NORMAL}],Im:["2111",{mathvariant:c.VARIANT.NORMAL}],partial:["2202",{mathvariant:c.VARIANT.NORMAL}],infty:["221E",{mathvariant:c.VARIANT.NORMAL}],prime:["2032",{mathvariant:c.VARIANT.NORMAL,variantForm:!0}],emptyset:["2205",{mathvariant:c.VARIANT.NORMAL}],nabla:["2207",{mathvariant:c.VARIANT.NORMAL}],top:["22A4",{mathvariant:c.VARIANT.NORMAL}],bot:["22A5",{mathvariant:c.VARIANT.NORMAL}],angle:["2220",{mathvariant:c.VARIANT.NORMAL}],triangle:["25B3",{mathvariant:c.VARIANT.NORMAL}],backslash:["2216",{mathvariant:c.VARIANT.NORMAL,variantForm:!0}],forall:["2200",{mathvariant:c.VARIANT.NORMAL}],exists:["2203",{mathvariant:c.VARIANT.NORMAL}],neg:["00AC",{mathvariant:c.VARIANT.NORMAL}],lnot:["00AC",{mathvariant:c.VARIANT.NORMAL}],flat:["266D",{mathvariant:c.VARIANT.NORMAL}],natural:["266E",{mathvariant:c.VARIANT.NORMAL}],sharp:["266F",{mathvariant:c.VARIANT.NORMAL}],clubsuit:["2663",{mathvariant:c.VARIANT.NORMAL}],diamondsuit:["2662",{mathvariant:c.VARIANT.NORMAL}],heartsuit:["2661",{mathvariant:c.VARIANT.NORMAL}],spadesuit:["2660",{mathvariant:c.VARIANT.NORMAL}]},mathchar0mo:{surd:"221A",coprod:["2210",{texClass:c.TEXCLASS.OP,movesupsub:!0}],bigvee:["22C1",{texClass:c.TEXCLASS.OP,movesupsub:!0}],bigwedge:["22C0",{texClass:c.TEXCLASS.OP,movesupsub:!0}],biguplus:["2A04",{texClass:c.TEXCLASS.OP,movesupsub:!0}],bigcap:["22C2",{texClass:c.TEXCLASS.OP,movesupsub:!0}],bigcup:["22C3",{texClass:c.TEXCLASS.OP,movesupsub:!0}],"int":["222B",{texClass:c.TEXCLASS.OP}],intop:["222B",{texClass:c.TEXCLASS.OP,movesupsub:!0,movablelimits:!0}],iint:["222C",{texClass:c.TEXCLASS.OP}],iiint:["222D",{texClass:c.TEXCLASS.OP}],prod:["220F",{texClass:c.TEXCLASS.OP,movesupsub:!0}],sum:["2211",{texClass:c.TEXCLASS.OP,movesupsub:!0}],bigotimes:["2A02",{texClass:c.TEXCLASS.OP,movesupsub:!0}],bigoplus:["2A01",{texClass:c.TEXCLASS.OP,movesupsub:!0}],bigodot:["2A00",{texClass:c.TEXCLASS.OP,movesupsub:!0}],oint:["222E",{texClass:c.TEXCLASS.OP}],bigsqcup:["2A06",{texClass:c.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:c.TEXCLASS.PUNCT}],cdotp:["22C5",{texClass:c.TEXCLASS.PUNCT}],colon:["003A",{texClass:c.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:c.TEXCLASS.ORD}],".":"","\\\\":"\\","\\lmoustache":"23B0","\\rmoustache":"23B1","\\lgroup":"27EE","\\rgroup":"27EF","\\arrowvert":"23D0","\\Arrowvert":"2016","\\bracevert":"23AA","\\Vert":["2225",{texClass:c.TEXCLASS.ORD}],"\\|":["2225",{texClass:c.TEXCLASS.ORD}],"\\vert":["|",{texClass:c.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",c.VARIANT.NORMAL],mit:["SetFont",c.VARIANT.ITALIC],oldstyle:["SetFont",c.VARIANT.OLDSTYLE],cal:["SetFont",c.VARIANT.CALIGRAPHIC],it:["SetFont","-tex-mathit"],bf:["SetFont",c.VARIANT.BOLD],bbFont:["SetFont",c.VARIANT.DOUBLESTRUCK],scr:["SetFont",c.VARIANT.SCRIPT],frak:["SetFont",c.VARIANT.FRAKTUR],sf:["SetFont",c.VARIANT.SANSSERIF],tt:["SetFont",c.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",c.LENGTH.THINMATHSPACE],":":["Spacer",c.LENGTH.MEDIUMMATHSPACE],"\x3e":["Spacer",c.LENGTH.MEDIUMMATHSPACE],";":["Spacer",c.LENGTH.THICKMATHSPACE],"!":["Spacer",c.LENGTH.NEGATIVETHINMATHSPACE],enspace:["Spacer",".5em"],quad:["Spacer","1em"],qquad:["Spacer","2em"],thinspace:["Spacer",c.LENGTH.THINMATHSPACE],negthinspace:["Spacer",c.LENGTH.NEGATIVETHINMATHSPACE],hskip:"Hskip",hspace:"Hskip",kern:"Hskip",mskip:"Hskip",mspace:"Hskip",mkern:"Hskip",Rule:["Rule"],Space:["Rule","blank"],big:["MakeBig",c.TEXCLASS.ORD,.85],Big:["MakeBig",c.TEXCLASS.ORD,1.15],bigg:["MakeBig",c.TEXCLASS.ORD,1.45],Bigg:["MakeBig",c.TEXCLASS.ORD,1.75],bigl:["MakeBig",c.TEXCLASS.OPEN,.85],Bigl:["MakeBig",c.TEXCLASS.OPEN,1.15],biggl:["MakeBig",c.TEXCLASS.OPEN,1.45],Biggl:["MakeBig",c.TEXCLASS.OPEN,1.75],bigr:["MakeBig",c.TEXCLASS.CLOSE,.85],Bigr:["MakeBig",c.TEXCLASS.CLOSE,1.15],biggr:["MakeBig",c.TEXCLASS.CLOSE,1.45],Biggr:["MakeBig",c.TEXCLASS.CLOSE,1.75],bigm:["MakeBig",c.TEXCLASS.REL,.85],Bigm:["MakeBig",c.TEXCLASS.REL,1.15],biggm:["MakeBig",c.TEXCLASS.REL,1.45],Biggm:["MakeBig",c.TEXCLASS.REL,1.75],mathord:["TeXAtom",c.TEXCLASS.ORD],mathop:["TeXAtom",c.TEXCLASS.OP],mathopen:["TeXAtom",c.TEXCLASS.OPEN],mathclose:["TeXAtom",c.TEXCLASS.CLOSE],mathbin:["TeXAtom",c.TEXCLASS.BIN],mathrel:["TeXAtom",c.TEXCLASS.REL],mathpunct:["TeXAtom",c.TEXCLASS.PUNCT],mathinner:["TeXAtom",c.TEXCLASS.INNER],vcenter:["TeXAtom",c.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",c.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",c.LENGTH.THICKMATHSPACE+" 3em",".5em","D"],leqalignno:["Matrix",null,null,"right left right",c.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,b;for(b in a)a.hasOwnProperty(b)&&(k.macros[b]="string"===typeof a[b]?["Macro",a[b]]:["Macro"].concat(a[b]),k.macros[b].isUser=!0)}},config:{MAXMACROS:1E4,MAXBUFFER:5120},sourceMenuTitle:["TeXCommands","TeX Commands"],prefilterHooks:MathJax.Callback.Hooks(!0),postfilterHooks:MathJax.Callback.Hooks(!0),Config:function(){this.SUPER(arguments).Config.apply(this,arguments);"none"!==this.config.equationNumbers.autoNumber&&(this.config.extensions||(this.config.extensions=[]),this.config.extensions.push("AMSmath.js"))},Translate:function(b){var d,e=!1,k=MathJax.HTML.getScript(b),g=null!=b.type.replace(/\n/g," ").match(/(;|\s|\n)mode\s*=\s*display(;|\s|\n|$)/),h={math:k,display:g,script:b};this.prefilterHooks.Execute(h);k=h.math;try{d=a.Parse(k).mml()}catch(l){if(!l.texError)throw l;d=this.formatError(l,k,g,b);e=!0}d=d.inferred?c.apply(MathJax.ElementJax,d.data):c(d);g&&(d.root.display="block");e&&(d.texError=!0);h.math=d;this.postfilterHooks.Execute(h);return h.math},prefilterMath:function(a,b,c){return a},postfilterMath:function(a,b,c){this.combineRelations(a.root);return a},formatError:function(a,b,e,k){a=a.message.replace(/\n.*/,"");d.signal.Post(["TeX Jax - parse error",a,b,e,k]);return c.merror(a)},Error:function(a){a instanceof Array&&(a=e.apply(e,a));throw d.Insert(Error(a),{texError:!0});},Macro:function(a,b,c){k.macros[a]=["Macro"].concat([].slice.call(arguments,1));k.macros[a].isUser=!0},fenced:function(a,b,d){var e=c.mrow();e.open=a;e.close=d;a&&e.Append(c.mo(a).With({fence:!0,stretchy:!0,texClass:c.TEXCLASS.OPEN}));"mrow"===b.type?e.Append.apply(e,b.data):e.Append(b);d&&e.Append(c.mo(d).With({fence:!0,stretchy:!0,texClass:c.TEXCLASS.CLOSE}));return e},combineRelations:function(a){var b,d,e,k;b=0;for(d=a.data.length;b]* xmlns:/)&&(a=a.replace(/^<([a-z]+)(:math)/i,'\x3c$1$2 xmlns:$1\x3d"http://www.w3.org/1998/Math/MathML"'));var b=a.match(/^(