/*
* /MathJax/config/TeX-MML-AM_HTMLorMML-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.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]/jax/output/NativeMML/jax.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(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,e){var c=a.Insert({minBrowserVersion:{Firefox:3,Opera:9.52,MSIE:6,Chrome:.3,Safari:2,Konqueror:4},inlineMathDelimiters:["$","$"],displayMathDelimiters:["$$","$$"],multilineDisplay:!0,minBrowserTranslate:function(d){var e=a.getJaxFor(d),m=["[Math]"],l=document.createElement("span",{className:"MathJax_Preview"});"TeX"===e.inputJax&&(e.root.Get("displaystyle")?(m=c.displayMathDelimiters,m=[m[0]+e.originalText+m[1]],c.multilineDisplay&&(m=m[0].split(/\n/))):(m=c.inlineMathDelimiters,m=[m[0]+e.originalText.replace(/^\s+/,"").replace(/\s+$/,"")+m[1]]));for(var e=0,p=m.length;e
document.documentMode};MathJax.Hub.Register.PreProcessor(["PreProcess",MathJax.Extension.tex2jax]);MathJax.Ajax.loadComplete("[MathJax]/extensions/tex2jax.js");MathJax.Extension.mml2jax={version:"2.2",config:{preview:"alttext"},MMLnamespace:"http://www.w3.org/1998/Math/MathML",PreProcess:function(a){this.configured||(this.config=MathJax.Hub.CombineConfig("mml2jax",this.config),this.config.Augment&&MathJax.Hub.Insert(this,this.config.Augment),this.InitBrowser(),this.configured=!0);"string"===typeof a&&(a=document.getElementById(a));a||(a=document.body);this.ProcessMathArray(a.getElementsByTagName("math"));a.getElementsByTagNameNS&&this.ProcessMathArray(a.getElementsByTagNameNS(this.MMLnamespace,"math"));var e,c;if("undefined"!==typeof document.namespaces)try{for(e=0,c=document.namespaces.length;e/i,"").replace(/<\?xml:namespace .*?\/>/i,""),d=d.replace(/ /g,"\x26#xA0;"));MathJax.HTML.setScript(c,d);e.removeChild(a)}else e=MathJax.HTML.Element("span"),e.appendChild(a),MathJax.HTML.setScript(c,e.innerHTML);"none"!==this.config.preview&&this.createPreview(a,c)},ProcessMathFlattened:function(a){var e=a.parentNode,c=document.createElement("script");c.type="math/mml";e.insertBefore(c,a);for(var e="",d,n=a;a&&"/MATH"!==a.nodeName;)d=a,a=a.nextSibling,e+=this.NodeHTML(d),d.parentNode.removeChild(d);a&&"/MATH"===a.nodeName&&a.parentNode.removeChild(a);c.text=e+"\x3c/math\x3e";"none"!==this.config.preview&&this.createPreview(n,c)},NodeHTML:function(a){var e,c,d;if("#text"===a.nodeName)e=this.quoteHTML(a.nodeValue);else if("#comment"===a.nodeName)e="\x3c!--"+a.nodeValue+"--\x3e";else{e="\x3c"+a.nodeName.toLowerCase();c=0;for(d=a.attributes.length;c|\/>)$/)){c=0;for(d=a.childNodes.length;c/g,"\x26gt;").replace(/\"/g,"\x26quot;")},createPreview:function(a,e){var c=this.config.preview;"none"!==c&&("alttext"===c&&(c=a.getAttribute("alttext"),c=null!=c?[this.filterPreview(c)]:null),c&&(c=MathJax.HTML.Element("span",{className:MathJax.Hub.config.preRemoveClass},c),e.parentNode.insertBefore(c,e)))},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"}),e=a.outerHTML||"";this.AttributeBug=""!==e&&!(e.match(/id="<"/)&&e.match(/class="mathjax"/)&&e.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,e,c,d,n,m,l){var p=MathJax.Extension,q=p.MathEvents={version:"2.2"},b=a.config.menuSettings,f={hover:500,frame:{x:3.5,y:5,bwidth:1,bcolor:"#A6D",hwidth:"15px",hcolor:"#83A"},button:{x:-4,y:-3,wx:-2,src:c.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=q.Event={LEFTBUTTON:0,RIGHTBUTTON:2,MENUKEY:"altKey",Mousedown:function(b){return k.Handler(b,"Mousedown",this)},Mouseup:function(b){return k.Handler(b,"Mouseup",this)},Mousemove:function(b){return k.Handler(b,"Mousemove",this)},Mouseover:function(b){return k.Handler(b,"Mouseover",this)},Mouseout:function(b){return k.Handler(b,"Mouseout",this)},Click:function(b){return k.Handler(b,"Click",this)},DblClick:function(b){return k.Handler(b,"DblClick",this)},Menu:function(b){return k.Handler(b,"ContextMenu",this)},Handler:function(b,f,a){if(c.loadingMathMenu)return k.False(b);var d=m[a.jaxID];b||(b=window.event);b.isContextMenu="ContextMenu"===f;if(d[f])return d[f](b,a);if(p.MathZoom)return p.MathZoom.HandleEvent(b,f,a)},False:function(b){b||(b=window.event);b&&(b.preventDefault&&b.preventDefault(),b.stopPropagation&&b.stopPropagation(),b.cancelBubble=!0,b.returnValue=!1);return!1},ContextMenu:function(f,g,h){var e=m[g.jaxID],p=e.getJaxFromMath(g);if((null!=e.config.showMathMenu?e:a).config.showMathMenu&&("MathJax"===b.context||h)){q.msieEventBug&&(f=window.event||f);k.ClearSelection();r.ClearHoverTimer();p.hover&&(p.hover.remove&&(clearTimeout(p.hover.remove),delete p.hover.remove),p.hover.nofade=!0);var u=MathJax.Menu;if(u){if(u.loadingDomain)return k.False(f);e=n.loadDomain("MathMenu");if(!e)return u.jax=p,g=u.menu.Find("Show Math As").menu,g.items[0].name=p.sourceMenuTitle,g.items[0].format=p.sourceMenuFormat||"MathML",g.items[1].name=l[p.inputJax].sourceMenuTitle,u.menu.Find("Math Settings","MathPlayer").hidden=!("NativeMML"===p.outputJax&&a.Browser.hasMathPlayer),u.menu.Post(f);u.loadingDomain=!0;p=function(){delete u.loadingDomain}}else{if(c.loadingMathMenu)return k.False(f);c.loadingMathMenu=!0;e=c.Require("[MathJax]/extensions/MathMenu.js");p=function(){delete c.loadingMathMenu;MathJax.Menu||(MathJax.Menu={})}}d.Queue(e,p,["ContextMenu",k,{pageX:f.pageX,pageY:f.pageY,clientX:f.clientX,clientY:f.clientY},g,h]);return k.False(f)}},AltContextMenu:function(f,c){var d=m[c.jaxID],g=(null!=d.config.showMathMenu?d:a).config.showMathMenu;if(g){g=(null!=d.config.showMathMenuMSIE?d:a).config.showMathMenuMSIE;if("MathJax"===b.context&&!b.mpContext&&g){if(!q.noContextMenuBug||f.button!==k.RIGHTBUTTON)return}else if(!f[k.MENUKEY]||f.button!==k.LEFTBUTTON)return;return d.ContextMenu(f,c,!0)}},ClearSelection:function(){q.safariContextMenuBug&&setTimeout("window.getSelection().empty()",0);document.selection&&setTimeout("document.selection.empty()",0)},getBBox:function(b){b.appendChild(q.topImg);var f=q.topImg.offsetTop,k=b.offsetHeight-f,a=b.offsetWidth;b.removeChild(q.topImg);return{w:a,h:f,d:k}}},r=q.Hover={Mouseover:function(f,c){if(b.discoverable||"Hover"===b.zoom){var d=f.fromElement||f.relatedTarget,g=f.toElement||f.target;if(d&&g&&(d.isMathJax!=g.isMathJax||a.getJaxFor(d)!==a.getJaxFor(g)))return d=this.getJaxFromMath(c),d.hover?r.ReHover(d):r.HoverTimer(d,c),k.False(f)}},Mouseout:function(f,c){if(b.discoverable||"Hover"===b.zoom){var d=f.fromElement||f.relatedTarget,g=f.toElement||f.target;if(d&&g&&(d.isMathJax!=g.isMathJax||a.getJaxFor(d)!==a.getJaxFor(g)))return d=this.getJaxFromMath(c),d.hover?r.UnHover(d):r.ClearHoverTimer(),k.False(f)}},Mousemove:function(f,a){if(b.discoverable||"Hover"===b.zoom){var c=this.getJaxFromMath(a);if(!c.hover&&(r.lastX!=f.clientX||r.lastY!=f.clientY))return r.lastX=f.clientX,r.lastY=f.clientY,r.HoverTimer(c,a),k.False(f)}},HoverTimer:function(b,k){this.ClearHoverTimer();this.hoverTimer=setTimeout(d(["Hover",this,b,k]),f.hover)},ClearHoverTimer:function(){this.hoverTimer&&(clearTimeout(this.hoverTimer),delete this.hoverTimer)},Hover:function(b,k){if(!p.MathZoom||!p.MathZoom.Hover({},k)){var c=m[b.outputJax],d=c.getHoverSpan(b,k),g=c.getHoverBBox(b,d,k),h=(null!=c.config.showMathMenu?c:a).config.showMathMenu,r=f.frame.x,n=f.frame.y,l=f.frame.bwidth;q.msieBorderWidthBug&&(l=0);b.hover={opacity:0,id:b.inputID+"-Hover"};var B=e.Element("span",{id:b.hover.id,isMathJax:!0,style:{display:"inline-block",width:0,height:0,position:"relative"}},[["span",{className:"MathJax_Hover_Frame",isMathJax:!0,style:{display:"inline-block",position:"absolute",top:this.Px(-g.h-n-l-(g.y||0)),left:this.Px(-r-l+(g.x||0)),width:this.Px(g.w+2*r),height:this.Px(g.h+g.d+2*n),opacity:0,filter:"alpha(opacity\x3d0)"}}]]),c=e.Element("span",{isMathJax:!0,id:b.hover.id+"Menu",style:{display:"inline-block","z-index":1,width:0,height:0,position:"relative"}},[["img",{className:"MathJax_Hover_Arrow",isMathJax:!0,math:k,src:f.button.src,onclick:this.HoverMenu,jax:c.id,style:{left:this.Px(g.w+r+l+(g.x||0)+f.button.x),top:this.Px(-g.h-n-l-(g.y||0)-f.button.y),opacity:0,filter:"alpha(opacity\x3d0)"}}]]);g.width&&(B.style.width=c.style.width=g.width,B.style.marginRight=c.style.marginRight="-"+g.width,B.firstChild.style.width=g.width,c.firstChild.style.left="",c.firstChild.style.right=this.Px(f.button.wx));d.parentNode.insertBefore(B,d);h&&d.parentNode.insertBefore(c,d);d.style&&(d.style.position="relative");this.ReHover(b)}},ReHover:function(b){b.hover.remove&&clearTimeout(b.hover.remove);b.hover.remove=setTimeout(d(["UnHover",this,b]),f.fadeoutDelay);this.HoverFadeTimer(b,f.fadeinInc)},UnHover:function(b){b.hover.nofade||this.HoverFadeTimer(b,-f.fadeoutInc,f.fadeoutStart)},HoverFade:function(b){delete b.hover.timer;b.hover.opacity=Math.max(0,Math.min(1,b.hover.opacity+b.hover.inc));b.hover.opacity=Math.floor(1E3*b.hover.opacity)/1E3;var f=document.getElementById(b.hover.id),k=document.getElementById(b.hover.id+"Menu");f.firstChild.style.opacity=b.hover.opacity;f.firstChild.style.filter="alpha(opacity\x3d"+Math.floor(100*b.hover.opacity)+")";k&&(k.firstChild.style.opacity=b.hover.opacity,k.firstChild.style.filter=f.style.filter);1!==b.hover.opacity&&(0Math.abs(b)?"0px":b.toFixed(2).replace(/\.?0+$/,"")+"px"},getImages:function(){(new Image).src=f.button.src}},g=q.Touch={last:0,delay:500,start:function(b){var f=(new Date).getTime(),k=f-g.lastf;9>f&&(k.LEFTBUTTON=1)},Safari:function(b){q.safariContextMenuBug=!0},Opera:function(b){q.operaPositionBug=!0},Konqueror:function(b){q.noContextMenuBug=!0}});q.topImg=q.msieAlignBug?e.Element("img",{style:{width:0,height:0,position:"relative"},src:"about:blank"}):e.Element("span",{style:{width:0,height:0,display:"inline-block"}});q.operaPositionBug&&(q.topImg.style.border="1px solid");q.config=f=a.CombineConfig("MathEvents",f);d.Queue(a.Register.StartupHook("End Config",{}),[function(){var b=f.styles[".MathJax_Hover_Frame"];b.border=f.frame.bwidth+"px solid "+f.frame.bcolor+" ! important";b["box-shadow"]=b["-webkit-box-shadow"]=b["-moz-box-shadow"]=b["-khtml-box-shadow"]="0px 0px "+f.frame.hwidth+" "+f.frame.hcolor}],["getImages",r],["Styles",c,f.styles],["Post",a.Startup.signal,"MathEvents Ready"],["loadComplete",c,"[MathJax]/extensions/MathEvents.js"])})(MathJax.Hub,MathJax.HTML,MathJax.Ajax,MathJax.Callback,MathJax.Localization,MathJax.OutputJax,MathJax.InputJax);(function(a,e,c,d,n){var m=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)"}}}),l,p,q;MathJax.Hub.Register.StartupHook("MathEvents Ready",function(){q=MathJax.Extension.MathEvents.Event;l=MathJax.Extension.MathEvents.Event.False;p=MathJax.Extension.MathEvents.Hover});var b=MathJax.Extension.MathZoom={version:"2.2",settings:a.config.menuSettings,scrollSize:18,HandleEvent:function(f,k,a){return b.settings.CTRL&&!f.ctrlKey||b.settings.ALT&&!f.altKey||b.settings.CMD&&!f.metaKey||b.settings.Shift&&!f.shiftKey||!b[k]?!0:b[k](f,a)},Click:function(b,k){if("Click"===this.settings.zoom)return this.Zoom(b,k)},DblClick:function(b,k){if("Double-Click"===this.settings.zoom)return this.Zoom(b,k)},Hover:function(b,k){return"Hover"===this.settings.zoom?(this.Zoom(b,k),!0):!1},Zoom:function(b,k){this.Remove();p.ClearHoverTimer();q.ClearSelection();var c=MathJax.OutputJax[k.jaxID],d=c.getJaxFromMath(k);d.hover&&p.UnHover(d);var h=Math.floor(.85*document.body.clientWidth),t=Math.floor(.85*Math.max(document.body.clientHeight,document.documentElement.clientHeight)),z=e.Element("span",{id:"MathJax_ZoomFrame"},[["span",{id:"MathJax_ZoomOverlay",onmousedown:this.Remove}],["span",{id:"MathJax_Zoom",onclick:this.Remove,style:{visibility:"hidden",fontSize:this.settings.zscale,"max-width":h+"px","max-height":t+"px"}},[["span",{style:{display:"inline-block","white-space":"nowrap"}}]]]]),n=z.lastChild,y=n.firstChild,w=z.firstChild;k.parentNode.insertBefore(z,k);k.parentNode.insertBefore(k,z);y.addEventListener&&y.addEventListener("mousedown",this.Remove,!0);if(this.msieTrapEventBug){var u=e.Element("span",{id:"MathJax_ZoomEventTrap",onmousedown:this.Remove});z.insertBefore(u,n)}this.msieZIndexBug&&(e.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=m.styles["#MathJax_ZoomOverlay"]["z-index"]);c=c.Zoom(d,y,k,h,t);this.msiePositionBug&&(this.msieSizeBug&&(n.style.height=c.zH+"px",n.style.width=c.zW+"px"),n.offsetHeight>t&&(n.style.height=t+"px",n.style.width=c.zW+this.scrollSize+"px"),n.offsetWidth>h&&(n.style.width=h+"px",n.style.height=c.zH+this.scrollSize+"px"));this.operaPositionBug&&(n.style.width=Math.min(h,c.zW)+"px");n.offsetWidth&&n.offsetWidth=k;b.msieInlineBlockAlignBug=7>=k;b.msieTrapEventBug=!window.addEventListener;"BackCompat"===document.compatMode&&(b.scrollSize=52);a&&delete m.styles["#MathJax_Zoom"].filter},Opera:function(f){b.operaPositionBug=!0;b.operaRefreshBug=!0}});b.topImg=b.msieInlineBlockAlignBug?e.Element("img",{style:{width:0,height:0,position:"relative"},src:"about:blank"}):e.Element("span",{style:{width:0,height:0,display:"inline-block"}});if(b.operaPositionBug||b.msieTopBug)b.topImg.style.border="1px solid";MathJax.Callback.Queue(["StartupHook",MathJax.Hub.Register,"Begin Styles",{}],["Styles",c,m.styles],["Post",a.Startup.signal,"MathZoom Ready"],["loadComplete",c,"[MathJax]/extensions/MathZoom.js"])})(MathJax.Hub,MathJax.HTML,MathJax.Ajax,MathJax.OutputJax["HTML-CSS"],MathJax.OutputJax.NativeMML);(function(a,e,c,d,n){var m=MathJax.Callback.Signal("menu");MathJax.Extension.MathMenu={version:"2.2",signal:m};var l=function(b){return MathJax.Localization._.apply(MathJax.Localization,[["MathMenu",b]].concat([].slice.call(arguments,1)))},p=a.Browser.isPC,q=a.Browser.isMSIE,b=8<(document.documentMode||0),f=p?null:"5px",k=a.CombineConfig("MathMenu",{delay:150,closeImg:c.fileURL(n.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:p?"2px":"5px 0px",border:"1px solid #CCCCCC",margin:0,cursor:"default",font:"menu","text-align":"left","text-indent":0,"text-transform":"none","line-height":"normal","letter-spacing":"normal","word-spacing":"normal","word-wrap":"normal","white-space":"nowrap","float":"none","z-index":201,"border-radius":f,"-webkit-border-radius":f,"-moz-border-radius":f,"-khtml-border-radius":f,"box-shadow":"0px 10px 20px #808080","-webkit-box-shadow":"0px 10px 20px #808080","-moz-box-shadow":"0px 10px 20px #808080","-khtml-box-shadow":"0px 10px 20px #808080",filter:"progid:DXImageTransform.Microsoft.dropshadow(OffX\x3d2, OffY\x3d2, Color\x3d'gray', Positive\x3d'true')"},".MathJax_MenuItem":{padding:p?"2px 2em":"1px 2em",background:"transparent"},".MathJax_MenuArrow":{position:"absolute",right:".5em",color:"#666666","font-family":q?"'Arial unicode MS'":null},".MathJax_MenuActive .MathJax_MenuArrow":{color:"white"},".MathJax_MenuCheck":{position:"absolute",left:".7em","font-family":q?"'Arial unicode MS'":null},".MathJax_MenuRadioCheck":{position:"absolute",left:p?"1em":".7em"},".MathJax_MenuLabel":{padding:p?"2px 2em 4px 1.33em":"1px 2em 3px 1.33em","font-style":"italic"},".MathJax_MenuRule":{"border-top":p?"1px solid #CCCCCC":"1px solid #DDDDDD",margin:p?"4px 1px 0px":"4px 3px"},".MathJax_MenuDisabled":{color:"GrayText"},".MathJax_MenuActive":{"background-color":p?"Highlight":"#606872",color:p?"HighlightText":"white"},".MathJax_Menu_Close":{position:"absolute",width:"31px",height:"31px",top:"-15px",left:"-15px"}}}),r,g;a.Register.StartupHook("MathEvents Ready",function(){r=MathJax.Extension.MathEvents.Event.False;g=MathJax.Extension.MathEvents.Hover});var h=MathJax.Menu=MathJax.Object.Subclass({version:"2.2",items:[],posted:!1,title:null,margin:5,Init:function(b){this.items=[].slice.call(arguments,0)},With:function(b){b&&a.Insert(this,b);return this},Post:function(b,f){b||(b=window.event);var a=document.getElementById("MathJax_MenuFrame");a||(a=h.Background(this),delete t.lastItem,delete t.lastMenu,delete h.skipUp,m.Post(["post",h.jax]));var c=e.addElement(a,"div",{onmouseup:h.Mouseup,ondblclick:r,ondragstart:r,onselectstart:r,oncontextmenu:r,menuItem:this,className:"MathJax_Menu"});MathJax.Localization.setCSS(c);for(var d=0,g=this.items.length;ddocument.body.offsetWidth-this.margin&&!h.isMobile&&(n="right",d=Math.max(this.margin,d-l-c.offsetWidth+6));p||(c.style["borderRadiusTop"+n]=0,c.style["WebkitBorderRadiusTop"+n]=0,c.style["MozBorderRadiusTop"+n]=0,c.style["KhtmlBorderRadiusTop"+n]=0)}else d+c.offsetWidth>document.body.offsetWidth-this.margin&&(d=document.body.offsetWidth-c.offsetWidth-this.margin),h.isMobile&&(d=Math.max(5,d-Math.floor(c.offsetWidth/2)),g-=20),h.skipUp=b.isContextMenu;c.style.left=d+"px";c.style.top=g+"px";document.selection&&document.selection.empty&&document.selection.empty();return r(b)},Remove:function(b,f){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,g.UnHover(h.jax));return r(b)},Find:function(b){return this.FindN(1,b,[].slice.call(arguments,1))},FindId:function(b){return this.FindN(0,b,[].slice.call(arguments,1))},FindN:function(b,f,k){for(var a=0,c=this.items.length;a/g,"\x26gt;");var a=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"+a+"\x3c/title\x3e\x3c/head\x3e\x3cbody style\x3d'font-size:85%'\x3e"),k.document.write("\x3cpre\x3e"+b+"\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"+a+"\x3c/title\x3e\x3c/head\x3e\x3cbody style\x3d'font-size:85%'\x3e");k.document.write("\x3ctable\x3e\x3ctr\x3e\x3ctd\x3e\x3cpre\x3e"+b+"\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 c=k.document.body.firstChild;setTimeout(function(){var b=k.outerHeight-k.innerHeight||30,a=k.outerWidth-k.innerWidth||30,a=Math.max(100,Math.min(Math.floor(.5*screen.width),c.offsetWidth+a+25)),b=Math.max(40,Math.min(Math.floor(.5*screen.height),c.offsetHeight+b+25));k.resizeTo(a,b);f&&null!=f.screenX&&(a=Math.max(0,Math.min(f.screenX-Math.floor(a/2),screen.width-a-20)),b=Math.max(0,Math.min(f.screenY-Math.floor(b/2),screen.height-b-20)),k.moveTo(a,b))},50)}};h.Scale=function(){var b=n["HTML-CSS"],f=n.NativeMML,k=n.SVG,c=(b||f||k||{config:{scale:100}}).config.scale,d=prompt(l("ScaleMath","Scale all mathematics (compared to surrounding text) by"),c+"%");d&&(d.match(/^\s*\d+(\.\d*)?\s*%?\s*$/)?(d=parseFloat(d))?d!==c&&(b&&(b.config.scale=d),f&&(f.config.scale=d),k&&(k.config.scale=d),h.cookie.scale=d,h.saveCookie(),a.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||c.Require("[MathJax]/extensions/MathZoom.js")};h.Renderer=function(){var f=a.outputJax["jax/mml"];if(f[0]!==k.settings.renderer){var c=a.Browser,d,g=h.Renderer.Messages,r;switch(k.settings.renderer){case "NativeMML":k.settings.warnedMML||(c.isChrome&&"24."!==c.version.substr(0,3)?d=g.MML.WebKit:c.isSafari&&!c.versionAtLeast("5.0")?d=g.MML.WebKit:c.isMSIE?c.hasMathPlayer||(d=g.MML.MSIE):d=g.MML[c],r="warnedMML");break;case "SVG":k.settings.warnedSVG||!c.isMSIE||b||(d=g.SVG.MSIE)}if(d){d=l(d[0],d[1]);d=d+"\n\n"+l("SwitchAnyway","Switch the renderer anyway?\n\n(Press OK to switch, CANCEL to continue with the current renderer)");h.cookie.renderer=f[0].id;h.saveCookie();if(!confirm(d)){h.cookie.renderer=k.settings.renderer=e.Cookie.Get("menu").renderer;h.saveCookie();return}r&&(h.cookie.warned=k.settings.warned=!0);h.cookie.renderer=k.settings.renderer;h.saveCookie()}a.Queue(["setRenderer",a,k.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(){n["HTML-CSS"]&&document.location.reload()};h.Locale=function(){MathJax.Localization.setLocale(k.settings.locale);MathJax.Hub.Queue(["Reprocess",MathJax.Hub])};h.LoadLocale=function(){var b=prompt(l("LoadURL","Load translation data from this URL:"));b&&(b.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'")),c.Require(b,function(f){f!=c.STATUS.OK&&alert(l("BadData","Failed to load translation data from %1",b))}))};h.MPEvents=function(f){var a=k.settings.discoverable,c=h.MPEvents.Messages;b?!a&&"Menu Events"===f.name[1]&&k.settings.mpContext&&alert(l.apply(l,c.IE9warning)):k.settings.mpMouse&&!confirm(l.apply(l,c.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."]};a.Browser.Select({MSIE:function(f){var a="BackCompat"===document.compatMode;f=f.versionAtLeast("8.0")&&7document.documentMode,msieFixedPositionBug:a||!f,msieAboutBug:a});b&&(delete k.styles["#MathJax_About"].filter,delete k.styles[".MathJax_Menu"].filter)},Firefox:function(b){h.skipMouseover=b.isMobile&&b.versionAtLeast("6.0");h.skipMousedown=b.isMobile}});h.isMobile=a.Browser.isMobile;h.noContextMenu=a.Browser.noContextMenu;h.CreateLocaleMenu=function(){if(h.menu){var b=h.menu.Find("Language").menu,f=b.items,k=[],a=MathJax.Localization.strings,c;for(c in a)a.hasOwnProperty(c)&&k.push(c);k=k.sort();b.items=[];c=0;for(var d=k.length;cc.charCodeAt(0)?a.VARIANT.ITALIC:a.VARIANT.NORMAL):""},setTeXclass:function(c){this.getPrevClass(c);c=this.data.join("");1e&&(e=(e-55296<<10)+(c.charCodeAt(1)-56320)+65536);for(var m=0,l=this.RANGES.length;m=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,c=arguments.length;a=n||57344<=n)32>n||126f&&(b+=this.string.charAt(this.i++)),p.special[b])this[p.special[b]](b);else p.letter.test(b)?this.Variable(b):p.digit.test(b)?this.Number(b):this.Other(b)},Push:function(){this.stack.Push.apply(this.stack,arguments)},mml:function(){return"mml"!==this.stack.Top().type?null:this.stack.Top().data[0]},mmlToken:function(b){return b},ControlSequence:function(b){var f=this.GetCS(),a=this.csFindMacro(f);if(a){a instanceof Array||(a=[a]);var c=a[0];c instanceof Function||(c=this[c]);c.apply(this,[b+f].concat(a.slice(1)))}else p.mathchar0mi[f]?this.csMathchar0mi(f,p.mathchar0mi[f]):p.mathchar0mo[f]?this.csMathchar0mo(f,p.mathchar0mo[f]):p.mathchar7[f]?this.csMathchar7(f,p.mathchar7[f]):null!=p.delimiter["\\"+f]?this.csDelimiter(f,p.delimiter["\\"+f]):this.csUndefined(b+f)},csFindMacro:function(b){return p.macros[b]},csMathchar0mi:function(b,f){var a={mathvariant:d.VARIANT.ITALIC};f instanceof Array&&(a=f[1],f=f[0]);this.Push(this.mmlToken(d.mi(d.entity("#x"+f)).With(a)))},csMathchar0mo:function(b,f){var a={stretchy:!1};f instanceof Array&&(a=f[1],a.stretchy=!1,f=f[0]);this.Push(this.mmlToken(d.mo(d.entity("#x"+f)).With(a)))},csMathchar7:function(b,f){var a={mathvariant:d.VARIANT.NORMAL};f instanceof Array&&(a=f[1],f=f[0]);this.stack.env.font&&(a.mathvariant=this.stack.env.font);this.Push(this.mmlToken(d.mi(d.entity("#x"+f)).With(a)))},csDelimiter:function(b,f){var a={};f instanceof Array&&(a=f[1],f=f[0]);f=4===f.length?d.entity("#x"+f):d.chars(f);this.Push(this.mmlToken(d.mo(f).With({fence:!1,stretchy:!1}).With(a)))},csUndefined:function(b){a.Error(["UndefinedControlSequence","Undefined control sequence %1",b])},Variable:function(b){var f={};this.stack.env.font&&(f.mathvariant=this.stack.env.font);this.Push(this.mmlToken(d.mi(d.chars(b)).With(f)))},Number:function(b){var f=this.string.slice(this.i-1).match(p.number);f?(b=d.mn(f[0].replace(/[{}]/g,"")),this.i+=f[0].length-1):b=d.mo(d.chars(b));this.stack.env.font&&(b.mathvariant=this.stack.env.font);this.Push(this.mmlToken(b))},Open:function(b){this.Push(l.open())},Close:function(b){this.Push(l.close())},Tilde:function(b){this.Push(d.mtext(d.chars("\u00a0")))},Space:function(b){},Superscript:function(b){this.GetNext().match(/\d/)&&(this.string=this.string.substr(0,this.i+1)+" "+this.string.substr(this.i+1));var f,c;f=this.stack.Top();"prime"===f.type?(b=f.data[0],c=f.data[1],this.stack.Pop()):(b=this.stack.Prev())||(b=d.mi(""));b.isEmbellishedWrapper&&(b=b.data[0].data[0]);if("msubsup"===b.type)b.data[b.sup]&&a.Error(["DoubleExponent","Double exponent: use braces to clarify"]),f=b.sup;else if(b.movesupsub){if("munderover"!==b.type||b.data[b.over])b.movablelimits&&b.isa(d.mi)&&(b=this.mi2mo(b)),b=d.munderover(b,null,null).With({movesupsub:!0});f=b.over}else b=d.msubsup(b,null,null),f=b.sup;this.Push(l.subsup(b).With({position:f,primes:c}))},Subscript:function(b){this.GetNext().match(/\d/)&&(this.string=this.string.substr(0,this.i+1)+" "+this.string.substr(this.i+1));var f,c;f=this.stack.Top();"prime"===f.type?(b=f.data[0],c=f.data[1],this.stack.Pop()):(b=this.stack.Prev())||(b=d.mi(""));b.isEmbellishedWrapper&&(b=b.data[0].data[0]);if("msubsup"===b.type)b.data[b.sub]&&a.Error(["DoubleSubscripts","Double subscripts: use braces to clarify"]),f=b.sub;else if(b.movesupsub){if("munderover"!==b.type||b.data[b.under])b.movablelimits&&b.isa(d.mi)&&(b=this.mi2mo(b)),b=d.munderover(b,null,null).With({movesupsub:!0});f=b.under}else b=d.msubsup(b,null,null),f=b.sub;this.Push(l.subsup(b).With({position:f,primes:c}))},PRIME:"\u2032",SMARTQUOTE:"\u2019",Prime:function(b){var f=this.stack.Prev();f||(f=d.mi());"msubsup"===f.type&&f.data[f.sup]&&a.Error(["DoubleExponentPrime","Prime causes double exponent: use braces to clarify"]);var c="";this.i--;do c+=this.PRIME,this.i++,b=this.GetNext();while("'"===b||b===this.SMARTQUOTE);c=["","\u2032","\u2033","\u2034","\u2057"][c.length]||c;this.Push(l.prime(f,this.mmlToken(d.mo(c))))},mi2mo:function(b){var f=d.mo();f.Append.apply(f,b.data);for(var a in f.defaults)f.defaults.hasOwnProperty(a)&&null!=b[a]&&(f[a]=b[a]);for(a in d.copyAttributes)d.copyAttributes.hasOwnProperty(a)&&null!=b[a]&&(f[a]=b[a]);return f},Comment:function(b){for(;this.ia.config.MAXMACROS&&a.Error(["MaxMacroSub1","MathJax maximum macro substitution count exceeded; is there a recursive macro call?"])},Matrix:function(b,f,c,d,g,h,e,z){var n=this.GetNext();""===n&&a.Error(["MissingArgFor","Missing argument for %1",b]);"{"===n?this.i++:(this.string=n+"}"+this.string.slice(this.i+1),this.i=0);b=l.array().With({requireClose:!0,arraydef:{rowspacing:h||"4pt",columnspacing:g||"1em"}});z&&(b.isCases=!0);if(f||c)b.open=f,b.close=c;"D"===e&&(b.arraydef.displaystyle=!0);null!=d&&(b.arraydef.columnalign=d);this.Push(b)},Entry:function(b){this.Push(l.cell().With({isEntry:!0,name:b}));if(this.stack.Top().isCases){var f=this.string,c=0;b=this.i;for(var d=f.length;bMath.abs(b)?"0em":b.toFixed(3).replace(/\.?0+$/,"")+"em"},HLine:function(b,f){null==f&&(f="solid");var c=this.stack.Top();c.isa(l.array)&&!c.data.length||a.Error(["Misplaced","Misplaced %1",b]);if(0==c.table.length)c.frame.push("top");else{for(var d=c.arraydef.rowlines?c.arraydef.rowlines.split(/ /):[];d.lengtha.config.MAXMACROS&&a.Error(["MaxMacroSub2","MathJax maximum substitution count exceeded; is there a recursive latex environment?"]);b instanceof Array||(b=[b]);f=l.begin().With({name:f,end:b[1],parse:this});b[0]&&this[b[0]]&&(f=this[b[0]].apply(this,[f].concat(b.slice(2))));this.Push(f)},End:function(b){this.Push(l.end().With({name:this.GetArgument(b)}))},envFindName:function(b){return p.environment[b]},Equation:function(b,f){return f},ExtensionEnv:function(b,f){this.Extension(b.name,f,"environment")},Array:function(b,f,a,c,g,h,d,e){c||(c=this.GetArgument("\\begin{"+b.name+"}"));var n=("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:g||"1em",rowspacing:h||"4pt"}});n.match(/[|:]/)&&(n.charAt(0).match(/[|:]/)&&(c.frame.push("left"),c.frame.dashed=":"===n.charAt(0)),n.charAt(n.length-1).match(/[|:]/)&&c.frame.push("right"),n=n.substr(1,n.length-2),c.arraydef.columnlines=n.split("").join(" ").replace(/[^|: ]/g,"none").replace(/\|/g,"solid").replace(/:/g,"dashed"));f&&(c.open=this.convertDelimiter(f));a&&(c.close=this.convertDelimiter(a));"D"===d&&(c.arraydef.displaystyle=!0);"S"===d&&(c.arraydef.scriptlevel=1);e&&(c.arraydef.useHeight=!1);this.Push(b);return c},AlignedArray:function(b){var f=this.GetBrackets("\\begin{"+b.name+"}");return this.setArrayAlign(this.Array.apply(this,arguments),f)},setArrayAlign:function(b,f){f=this.trimSpaces(f||"");"t"===f?b.arraydef.align="baseline 1":"b"===f?b.arraydef.align="baseline -1":"c"===f?b.arraydef.align="center":f&&(b.arraydef.align=f);return b},convertDelimiter:function(b){b&&(b=p.delimiter[b]);if(null==b)return null;b instanceof Array&&(b=b[0]);4===b.length&&(b=String.fromCharCode(parseInt(b,16)));return b},trimSpaces:function(b){return"string"!=typeof b?b:b.replace(/^\s+|\s+$/g,"")},nextIsSpace:function(){return this.string.charAt(this.i).match(/[ \n\r\t]/)},GetNext:function(){for(;this.nextIsSpace();)this.i++;return this.string.charAt(this.i)},GetCS:function(){var b=this.string.slice(this.i).match(/^([a-z]+|.) ?/i);if(b)return this.i+=b[1].length,b[1];this.i++;return" "},GetArgument:function(b,f){switch(this.GetNext()){case "":return f||a.Error(["MissingArgFor","Missing argument for %1",b]),null;case "}":return f||a.Error(["ExtraCloseMissingOpen","Extra close brace or missing open brace"]),null;case "\\":return this.i++,"\\"+this.GetCS();case "{":for(var c=++this.i,d=1;this.i=d--&&a.Error(["ExtraCloseLooking","Extra close brace while looking for %1","']'"]);break;case "]":if(0==d)return this.string.slice(c,this.i-1)}a.Error(["MissingCloseBracket","Couldn't find closing ']' for argument to %1",b])},GetDelimiter:function(b){for(;this.nextIsSpace();)this.i++;var f=this.string.charAt(this.i);if(this.ib.length)&&a.Error(["IllegalMacroParam","Illegal macro parameter reference"]),d=this.AddArgs(this.AddArgs(d,c),b[g-1]),c="")):c+=g;return this.AddArgs(d,c)},AddArgs:function(b,f){f.match(/^[a-z]/i)&&b.match(/(^|[^\\])(\\\\)*\\[a-z]+$/i)&&(b+=" ");b.length+f.length>a.config.MAXBUFFER&&a.Error(["MaxBufferSize","MathJax internal buffer size exceeded; is there a recursive macro call?"]);return b+f}});a.Augment({Stack:m,Parse:q,Definitions:p,Startup:function(){d=MathJax.ElementJax.mml;e.Insert(p,{letter:/[a-z]/i,digit:/[0-9.]/,number:/^(?:[0-9]+(?:\{,\}[0-9]{3})*(?:\.[0-9]*)*|\.[0-9]+)/,special:{"\\":"ControlSequence","{":"Open","}":"Close","~":"Tilde","^":"Superscript",_:"Subscript"," ":"Space","\t":"Space","\r":"Space","\n":"Space","'":"Prime","%":"Comment","\x26":"Entry","#":"Hash","\u2019":"Prime"},remap:{"-":"2212","*":"2217","`":"2018"},mathchar0mi:{alpha:"03B1",beta:"03B2",gamma:"03B3",delta:"03B4",epsilon:"03F5",zeta:"03B6",eta:"03B7",theta:"03B8",iota:"03B9",kappa:"03BA",lambda:"03BB",mu:"03BC",nu:"03BD",xi:"03BE",omicron:"03BF",pi:"03C0",rho:"03C1",sigma:"03C3",tau:"03C4",upsilon:"03C5",phi:"03D5",chi:"03C7",psi:"03C8",omega:"03C9",varepsilon:"03B5",vartheta:"03D1",varpi:"03D6",varrho:"03F1",varsigma:"03C2",varphi:"03C6",S:["00A7",{mathvariant:d.VARIANT.NORMAL}],aleph:["2135",{mathvariant:d.VARIANT.NORMAL}],hbar:["210F",{variantForm:!0}],imath:"0131",jmath:"0237",ell:"2113",wp:["2118",{mathvariant:d.VARIANT.NORMAL}],Re:["211C",{mathvariant:d.VARIANT.NORMAL}],Im:["2111",{mathvariant:d.VARIANT.NORMAL}],partial:["2202",{mathvariant:d.VARIANT.NORMAL}],infty:["221E",{mathvariant:d.VARIANT.NORMAL}],prime:["2032",{mathvariant:d.VARIANT.NORMAL,variantForm:!0}],emptyset:["2205",{mathvariant:d.VARIANT.NORMAL}],nabla:["2207",{mathvariant:d.VARIANT.NORMAL}],top:["22A4",{mathvariant:d.VARIANT.NORMAL}],bot:["22A5",{mathvariant:d.VARIANT.NORMAL}],angle:["2220",{mathvariant:d.VARIANT.NORMAL}],triangle:["25B3",{mathvariant:d.VARIANT.NORMAL}],backslash:["2216",{mathvariant:d.VARIANT.NORMAL,variantForm:!0}],forall:["2200",{mathvariant:d.VARIANT.NORMAL}],exists:["2203",{mathvariant:d.VARIANT.NORMAL}],neg:["00AC",{mathvariant:d.VARIANT.NORMAL}],lnot:["00AC",{mathvariant:d.VARIANT.NORMAL}],flat:["266D",{mathvariant:d.VARIANT.NORMAL}],natural:["266E",{mathvariant:d.VARIANT.NORMAL}],sharp:["266F",{mathvariant:d.VARIANT.NORMAL}],clubsuit:["2663",{mathvariant:d.VARIANT.NORMAL}],diamondsuit:["2662",{mathvariant:d.VARIANT.NORMAL}],heartsuit:["2661",{mathvariant:d.VARIANT.NORMAL}],spadesuit:["2660",{mathvariant:d.VARIANT.NORMAL}]},mathchar0mo:{surd:"221A",coprod:["2210",{texClass:d.TEXCLASS.OP,movesupsub:!0}],bigvee:["22C1",{texClass:d.TEXCLASS.OP,movesupsub:!0}],bigwedge:["22C0",{texClass:d.TEXCLASS.OP,movesupsub:!0}],biguplus:["2A04",{texClass:d.TEXCLASS.OP,movesupsub:!0}],bigcap:["22C2",{texClass:d.TEXCLASS.OP,movesupsub:!0}],bigcup:["22C3",{texClass:d.TEXCLASS.OP,movesupsub:!0}],"int":["222B",{texClass:d.TEXCLASS.OP}],intop:["222B",{texClass:d.TEXCLASS.OP,movesupsub:!0,movablelimits:!0}],iint:["222C",{texClass:d.TEXCLASS.OP}],iiint:["222D",{texClass:d.TEXCLASS.OP}],prod:["220F",{texClass:d.TEXCLASS.OP,movesupsub:!0}],sum:["2211",{texClass:d.TEXCLASS.OP,movesupsub:!0}],bigotimes:["2A02",{texClass:d.TEXCLASS.OP,movesupsub:!0}],bigoplus:["2A01",{texClass:d.TEXCLASS.OP,movesupsub:!0}],bigodot:["2A00",{texClass:d.TEXCLASS.OP,movesupsub:!0}],oint:["222E",{texClass:d.TEXCLASS.OP}],bigsqcup:["2A06",{texClass:d.TEXCLASS.OP,movesupsub:!0}],smallint:["222B",{largeop:!1}],triangleleft:"25C3",triangleright:"25B9",bigtriangleup:"25B3",bigtriangledown:"25BD",wedge:"2227",land:"2227",vee:"2228",lor:"2228",cap:"2229",cup:"222A",ddagger:"2021",dagger:"2020",sqcap:"2293",sqcup:"2294",uplus:"228E",amalg:"2A3F",diamond:"22C4",bullet:"2219",wr:"2240",div:"00F7",odot:["2299",{largeop:!1}],oslash:["2298",{largeop:!1}],otimes:["2297",{largeop:!1}],ominus:["2296",{largeop:!1}],oplus:["2295",{largeop:!1}],mp:"2213",pm:"00B1",circ:"2218",bigcirc:"25EF",setminus:["2216",{variantForm:!0}],cdot:"22C5",ast:"2217",times:"00D7",star:"22C6",propto:"221D",sqsubseteq:"2291",sqsupseteq:"2292",parallel:"2225",mid:"2223",dashv:"22A3",vdash:"22A2",leq:"2264",le:"2264",geq:"2265",ge:"2265",lt:"003C",gt:"003E",succ:"227B",prec:"227A",approx:"2248",succeq:"2AB0",preceq:"2AAF",supset:"2283",subset:"2282",supseteq:"2287",subseteq:"2286","in":"2208",ni:"220B",notin:"2209",owns:"220B",gg:"226B",ll:"226A",sim:"223C",simeq:"2243",perp:"22A5",equiv:"2261",asymp:"224D",smile:"2323",frown:"2322",ne:"2260",neq:"2260",cong:"2245",doteq:"2250",bowtie:"22C8",models:"22A8",notChar:"29F8",Leftrightarrow:"21D4",Leftarrow:"21D0",Rightarrow:"21D2",leftrightarrow:"2194",leftarrow:"2190",gets:"2190",rightarrow:"2192",to:"2192",mapsto:"21A6",leftharpoonup:"21BC",leftharpoondown:"21BD",rightharpoonup:"21C0",rightharpoondown:"21C1",nearrow:"2197",searrow:"2198",nwarrow:"2196",swarrow:"2199",rightleftharpoons:"21CC",hookrightarrow:"21AA",hookleftarrow:"21A9",longleftarrow:"27F5",Longleftarrow:"27F8",longrightarrow:"27F6",Longrightarrow:"27F9",Longleftrightarrow:"27FA",longleftrightarrow:"27F7",longmapsto:"27FC",ldots:"2026",cdots:"22EF",vdots:"22EE",ddots:"22F1",dotsc:"2026",dotsb:"22EF",dotsm:"22EF",dotsi:"22EF",dotso:"2026",ldotp:["002E",{texClass:d.TEXCLASS.PUNCT}],cdotp:["22C5",{texClass:d.TEXCLASS.PUNCT}],colon:["003A",{texClass:d.TEXCLASS.PUNCT}]},mathchar7:{Gamma:"0393",Delta:"0394",Theta:"0398",Lambda:"039B",Xi:"039E",Pi:"03A0",Sigma:"03A3",Upsilon:"03A5",Phi:"03A6",Psi:"03A8",Omega:"03A9",_:"005F","#":"0023",$:"0024","%":"0025","\x26":"0026",And:"0026"},delimiter:{"(":"(",")":")","[":"[","]":"]","\x3c":"27E8","\x3e":"27E9","\\lt":"27E8","\\gt":"27E9","/":"/","|":["|",{texClass:d.TEXCLASS.ORD}],".":"","\\\\":"\\","\\lmoustache":"23B0","\\rmoustache":"23B1","\\lgroup":"27EE","\\rgroup":"27EF","\\arrowvert":"23D0","\\Arrowvert":"2016","\\bracevert":"23AA","\\Vert":["2225",{texClass:d.TEXCLASS.ORD}],"\\|":["2225",{texClass:d.TEXCLASS.ORD}],"\\vert":["|",{texClass:d.TEXCLASS.ORD}],"\\uparrow":"2191","\\downarrow":"2193","\\updownarrow":"2195","\\Uparrow":"21D1","\\Downarrow":"21D3","\\Updownarrow":"21D5","\\backslash":"\\","\\rangle":"27E9","\\langle":"27E8","\\rbrace":"}","\\lbrace":"{","\\}":"}","\\{":"{","\\rceil":"2309","\\lceil":"2308","\\rfloor":"230B","\\lfloor":"230A","\\lbrack":"[","\\rbrack":"]"},macros:{displaystyle:["SetStyle","D",!0,0],textstyle:["SetStyle","T",!1,0],scriptstyle:["SetStyle","S",!1,1],scriptscriptstyle:["SetStyle","SS",!1,2],rm:["SetFont",d.VARIANT.NORMAL],mit:["SetFont",d.VARIANT.ITALIC],oldstyle:["SetFont",d.VARIANT.OLDSTYLE],cal:["SetFont",d.VARIANT.CALIGRAPHIC],it:["SetFont","-tex-mathit"],bf:["SetFont",d.VARIANT.BOLD],bbFont:["SetFont",d.VARIANT.DOUBLESTRUCK],scr:["SetFont",d.VARIANT.SCRIPT],frak:["SetFont",d.VARIANT.FRAKTUR],sf:["SetFont",d.VARIANT.SANSSERIF],tt:["SetFont",d.VARIANT.MONOSPACE],tiny:["SetSize",.5],Tiny:["SetSize",.6],scriptsize:["SetSize",.7],small:["SetSize",.85],normalsize:["SetSize",1],large:["SetSize",1.2],Large:["SetSize",1.44],LARGE:["SetSize",1.73],huge:["SetSize",2.07],Huge:["SetSize",2.49],arcsin:["NamedFn"],arccos:["NamedFn"],arctan:["NamedFn"],arg:["NamedFn"],cos:["NamedFn"],cosh:["NamedFn"],cot:["NamedFn"],coth:["NamedFn"],csc:["NamedFn"],deg:["NamedFn"],det:"NamedOp",dim:["NamedFn"],exp:["NamedFn"],gcd:"NamedOp",hom:["NamedFn"],inf:"NamedOp",ker:["NamedFn"],lg:["NamedFn"],lim:"NamedOp",liminf:["NamedOp","lim\x26thinsp;inf"],limsup:["NamedOp","lim\x26thinsp;sup"],ln:["NamedFn"],log:["NamedFn"],max:"NamedOp",min:"NamedOp",Pr:"NamedOp",sec:["NamedFn"],sin:["NamedFn"],sinh:["NamedFn"],sup:"NamedOp",tan:["NamedFn"],tanh:["NamedFn"],limits:["Limits",1],nolimits:["Limits",0],overline:["UnderOver","00AF"],underline:["UnderOver","005F"],overbrace:["UnderOver","23DE",1],underbrace:["UnderOver","23DF",1],overrightarrow:["UnderOver","2192"],underrightarrow:["UnderOver","2192"],overleftarrow:["UnderOver","2190"],underleftarrow:["UnderOver","2190"],overleftrightarrow:["UnderOver","2194"],underleftrightarrow:["UnderOver","2194"],overset:"Overset",underset:"Underset",stackrel:["Macro","\\mathrel{\\mathop{#2}\\limits^{#1}}",2],over:"Over",overwithdelims:"Over",atop:"Over",atopwithdelims:"Over",above:"Over",abovewithdelims:"Over",brace:["Over","{","}"],brack:["Over","[","]"],choose:["Over","(",")"],frac:"Frac",sqrt:"Sqrt",root:"Root",uproot:["MoveRoot","upRoot"],leftroot:["MoveRoot","leftRoot"],left:"LeftRight",right:"LeftRight",middle:"Middle",llap:"Lap",rlap:"Lap",raise:"RaiseLower",lower:"RaiseLower",moveleft:"MoveLeftRight",moveright:"MoveLeftRight",",":["Spacer",d.LENGTH.THINMATHSPACE],":":["Spacer",d.LENGTH.MEDIUMMATHSPACE],"\x3e":["Spacer",d.LENGTH.MEDIUMMATHSPACE],";":["Spacer",d.LENGTH.THICKMATHSPACE],"!":["Spacer",d.LENGTH.NEGATIVETHINMATHSPACE],enspace:["Spacer",".5em"],quad:["Spacer","1em"],qquad:["Spacer","2em"],thinspace:["Spacer",d.LENGTH.THINMATHSPACE],negthinspace:["Spacer",d.LENGTH.NEGATIVETHINMATHSPACE],hskip:"Hskip",hspace:"Hskip",kern:"Hskip",mskip:"Hskip",mspace:"Hskip",mkern:"Hskip",Rule:["Rule"],Space:["Rule","blank"],big:["MakeBig",d.TEXCLASS.ORD,.85],Big:["MakeBig",d.TEXCLASS.ORD,1.15],bigg:["MakeBig",d.TEXCLASS.ORD,1.45],Bigg:["MakeBig",d.TEXCLASS.ORD,1.75],bigl:["MakeBig",d.TEXCLASS.OPEN,.85],Bigl:["MakeBig",d.TEXCLASS.OPEN,1.15],biggl:["MakeBig",d.TEXCLASS.OPEN,1.45],Biggl:["MakeBig",d.TEXCLASS.OPEN,1.75],bigr:["MakeBig",d.TEXCLASS.CLOSE,.85],Bigr:["MakeBig",d.TEXCLASS.CLOSE,1.15],biggr:["MakeBig",d.TEXCLASS.CLOSE,1.45],Biggr:["MakeBig",d.TEXCLASS.CLOSE,1.75],bigm:["MakeBig",d.TEXCLASS.REL,.85],Bigm:["MakeBig",d.TEXCLASS.REL,1.15],biggm:["MakeBig",d.TEXCLASS.REL,1.45],Biggm:["MakeBig",d.TEXCLASS.REL,1.75],mathord:["TeXAtom",d.TEXCLASS.ORD],mathop:["TeXAtom",d.TEXCLASS.OP],mathopen:["TeXAtom",d.TEXCLASS.OPEN],mathclose:["TeXAtom",d.TEXCLASS.CLOSE],mathbin:["TeXAtom",d.TEXCLASS.BIN],mathrel:["TeXAtom",d.TEXCLASS.REL],mathpunct:["TeXAtom",d.TEXCLASS.PUNCT],mathinner:["TeXAtom",d.TEXCLASS.INNER],vcenter:["TeXAtom",d.TEXCLASS.VCENTER],mathchoice:["Extension","mathchoice"],buildrel:"BuildRel",hbox:["HBox",0],text:"HBox",mbox:["HBox",0],fbox:"FBox",strut:"Strut",mathstrut:["Macro","\\vphantom{(}"],phantom:"Phantom",vphantom:["Phantom",1,0],hphantom:["Phantom",0,1],smash:"Smash",acute:["Accent","00B4"],grave:["Accent","0060"],ddot:["Accent","00A8"],tilde:["Accent","007E"],bar:["Accent","00AF"],breve:["Accent","02D8"],check:["Accent","02C7"],hat:["Accent","005E"],vec:["Accent","2192"],dot:["Accent","02D9"],widetilde:["Accent","007E",1],widehat:["Accent","005E",1],matrix:"Matrix",array:"Matrix",pmatrix:["Matrix","(",")"],cases:["Matrix","{","","left left",null,".1em",null,!0],eqalign:["Matrix",null,null,"right left",d.LENGTH.THICKMATHSPACE,".5em","D"],displaylines:["Matrix",null,null,"center",null,".5em","D"],cr:"Cr","\\":"CrLaTeX",newline:"Cr",hline:["HLine","solid"],hdashline:["HLine","dashed"],eqalignno:["Matrix",null,null,"right left right",d.LENGTH.THICKMATHSPACE+" 3em",".5em","D"],leqalignno:["Matrix",null,null,"right left right",d.LENGTH.THICKMATHSPACE+" 3em",".5em","D"],bmod:["Macro","\\mathbin{\\mmlToken{mo}{mod}}"],pmod:["Macro","\\pod{\\mmlToken{mi}{mod}\\kern 6mu #1}",1],mod:["Macro","\\mathchoice{\\kern18mu}{\\kern12mu}{\\kern12mu}{\\kern12mu}\\mmlToken{mi}{mod}\\,\\,#1",1],pod:["Macro","\\mathchoice{\\kern18mu}{\\kern8mu}{\\kern8mu}{\\kern8mu}(#1)",1],iff:["Macro","\\;\\Longleftrightarrow\\;"],skew:["Macro","{{#2{#3\\mkern#1mu}\\mkern-#1mu}{}}",3],mathcal:["Macro","{\\cal #1}",1],mathscr:["Macro","{\\scr #1}",1],mathrm:["Macro","{\\rm #1}",1],mathbf:["Macro","{\\bf #1}",1],mathbb:["Macro","{\\bbFont #1}",1],Bbb:["Macro","{\\bbFont #1}",1],mathit:["Macro","{\\it #1}",1],mathfrak:["Macro","{\\frak #1}",1],mathsf:["Macro","{\\sf #1}",1],mathtt:["Macro","{\\tt #1}",1],textrm:["Macro","\\mathord{\\rm\\text{#1}}",1],textit:["Macro","\\mathord{\\it{\\text{#1}}}",1],textbf:["Macro","\\mathord{\\bf{\\text{#1}}}",1],pmb:["Macro","\\rlap{#1}\\kern1px{#1}",1],TeX:["Macro","T\\kern-.14em\\lower.5ex{E}\\kern-.115em X"],LaTeX:["Macro","L\\kern-.325em\\raise.21em{\\scriptstyle{A}}\\kern-.17em\\TeX"]," ":["Macro","\\text{ }"],not:"Not",dots:"Dots",space:"Tilde",begin:"Begin",end:"End",newcommand:["Extension","newcommand"],renewcommand:["Extension","newcommand"],newenvironment:["Extension","newcommand"],renewenvironment:["Extension","newcommand"],def:["Extension","newcommand"],let:["Extension","newcommand"],verb:["Extension","verb"],boldsymbol:["Extension","boldsymbol"],tag:["Extension","AMSmath"],notag:["Extension","AMSmath"],label:["Extension","AMSmath"],ref:["Extension","AMSmath"],eqref:["Extension","AMSmath"],nonumber:["Macro","\\notag"],unicode:["Extension","unicode"],color:"Color",href:["Extension","HTML"],"class":["Extension","HTML"],style:["Extension","HTML"],cssId:["Extension","HTML"],bbox:["Extension","bbox"],mmlToken:"MmlToken",require:"Require"},environment:{array:["AlignedArray"],matrix:["Array",null,null,null,"c"],pmatrix:["Array",null,"(",")","c"],bmatrix:["Array",null,"[","]","c"],Bmatrix:["Array",null,"\\{","\\}","c"],vmatrix:["Array",null,"\\vert","\\vert","c"],Vmatrix:["Array",null,"\\Vert","\\Vert","c"],cases:["Array",null,"\\{",".","ll",null,".1em"],equation:[null,"Equation"],"equation*":[null,"Equation"],eqnarray:["ExtensionEnv",null,"AMSmath"],"eqnarray*":["ExtensionEnv",null,"AMSmath"],align:["ExtensionEnv",null,"AMSmath"],"align*":["ExtensionEnv",null,"AMSmath"],aligned:["ExtensionEnv",null,"AMSmath"],multline:["ExtensionEnv",null,"AMSmath"],"multline*":["ExtensionEnv",null,"AMSmath"],split:["ExtensionEnv",null,"AMSmath"],gather:["ExtensionEnv",null,"AMSmath"],"gather*":["ExtensionEnv",null,"AMSmath"],gathered:["ExtensionEnv",null,"AMSmath"],alignat:["ExtensionEnv",null,"AMSmath"],"alignat*":["ExtensionEnv",null,"AMSmath"],alignedat:["ExtensionEnv",null,"AMSmath"]},p_height:1.2/.85});if(this.config.Macros){var b=this.config.Macros,f;for(f in b)b.hasOwnProperty(f)&&(p.macros[f]="string"===typeof b[f]?["Macro",b[f]]:["Macro"].concat(b[f]),p.macros[f].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 f,c=!1,e=MathJax.HTML.getScript(b),g=null!=b.type.replace(/\n/g," ").match(/(;|\s|\n)mode\s*=\s*display(;|\s|\n|$)/),h={math:e,display:g,script:b};this.prefilterHooks.Execute(h);e=h.math;try{f=a.Parse(e).mml()}catch(t){if(!t.texError)throw t;f=this.formatError(t,e,g,b);c=!0}f=f.inferred?d.apply(MathJax.ElementJax,f.data):d(f);g&&(f.root.display="block");c&&(f.texError=!0);h.math=f;this.postfilterHooks.Execute(h);return h.math},prefilterMath:function(b,f,a){return b},postfilterMath:function(b,f,a){this.combineRelations(b.root);return b},formatError:function(b,f,a,c){b=b.message.replace(/\n.*/,"");e.signal.Post(["TeX Jax - parse error",b,f,a,c]);return d.merror(b)},Error:function(b){b instanceof Array&&(b=n.apply(n,b));throw e.Insert(Error(b),{texError:!0});},Macro:function(b,f,a){p.macros[b]=["Macro"].concat([].slice.call(arguments,1));p.macros[b].isUser=!0},fenced:function(b,f,a){var c=d.mrow();c.open=b;c.close=a;b&&c.Append(d.mo(b).With({fence:!0,stretchy:!0,texClass:d.TEXCLASS.OPEN}));"mrow"===f.type?c.Append.apply(c,f.data):c.Append(f);a&&c.Append(d.mo(a).With({fence:!0,stretchy:!0,texClass:d.TEXCLASS.CLOSE}));return c},combineRelations:function(b){var f,a,c,g;f=0;for(a=b.data.length;f]* xmlns:/)&&(a=a.replace(/^<([a-z]+)(:math)/i,'\x3c$1$2 xmlns:$1\x3d"http://www.w3.org/1998/Math/MathML"'));var c=a.match(/^(