/* * /MathJax/config/TeX-AMS-MML_SVG.js * * Copyright (c) 2010-2013 The MathJax Consortium * * Part of the MathJax library. * See http://www.mathjax.org for details. * * Licensed under the Apache License, Version 2.0; * you may not use this file except in compliance with the License. * * http://www.apache.org/licenses/LICENSE-2.0 */MathJax.Ajax.Preloading("[MathJax]/jax/input/TeX/config.js","[MathJax]/jax/input/MathML/config.js","[MathJax]/jax/output/SVG/config.js","[MathJax]/extensions/tex2jax.js","[MathJax]/extensions/mml2jax.js","[MathJax]/extensions/MathEvents.js","[MathJax]/extensions/MathZoom.js","[MathJax]/extensions/MathMenu.js","[MathJax]/jax/element/mml/jax.js","[MathJax]/extensions/toMathML.js","[MathJax]/extensions/TeX/noErrors.js","[MathJax]/extensions/TeX/noUndefined.js","[MathJax]/jax/input/TeX/jax.js","[MathJax]/extensions/TeX/AMSmath.js","[MathJax]/extensions/TeX/AMSsymbols.js","[MathJax]/jax/input/MathML/jax.js");MathJax.Hub.Config({"v1.0-compatible":!1});MathJax.InputJax.TeX=MathJax.InputJax({id:"TeX",version:"2.2.1",directory:MathJax.InputJax.directory+"/TeX",extensionDir:MathJax.InputJax.extensionDir+"/TeX",config:{TagSide:"right",TagIndent:"0.8em",MultLineWidth:"85%",equationNumbers:{autoNumber:"none",formatNumber:function(a){return a},formatTag:function(a){return"("+a+")"},formatID:function(a){return"mjx-eqn-"+String(a).replace(/[:"'<>&]/g,"")},formatURL:function(a){return"#"+escape(a)},useLabelIds:!0}}});MathJax.InputJax.TeX.Register("math/tex");MathJax.InputJax.TeX.loadComplete("config.js");MathJax.InputJax.MathML=MathJax.InputJax({id:"MathML",version:"2.2",directory:MathJax.InputJax.directory+"/MathML",extensionDir:MathJax.InputJax.extensionDir+"/MathML",entityDir:MathJax.InputJax.directory+"/MathML/entities",config:{useMathMLspacing:!1}});MathJax.InputJax.MathML.Register("math/mml");MathJax.InputJax.MathML.loadComplete("config.js");MathJax.OutputJax.SVG=MathJax.OutputJax({id:"SVG",version:"2.2",directory:MathJax.OutputJax.directory+"/SVG",extensionDir:MathJax.OutputJax.extensionDir+"/SVG",autoloadDir:MathJax.OutputJax.directory+"/SVG/autoload",fontDir:MathJax.OutputJax.directory+"/SVG/fonts",config:{scale:100,minScaleAdjust:50,font:"TeX",blacker:10,mtextFontInherit:!1,undefinedFamily:"STIXGeneral,'Arial Unicode MS',serif",addMMLclasses:!1,EqnChunk:MathJax.Hub.Browser.isMobile?10:50,EqnChunkFactor:1.5,EqnChunkDelay:100,linebreaks:{automatic:!1,width:"container"},styles:{".MathJax_SVG_Display":{"text-align":"center",margin:"1em 0em"},"#MathJax_SVG_Tooltip":{"background-color":"InfoBackground",color:"InfoText",border:"1px solid black","box-shadow":"2px 2px 5px #AAAAAA","-webkit-box-shadow":"2px 2px 5px #AAAAAA","-moz-box-shadow":"2px 2px 5px #AAAAAA","-khtml-box-shadow":"2px 2px 5px #AAAAAA",padding:"3px 4px","z-index":401}}}});MathJax.Hub.config.delayJaxRegistration||MathJax.OutputJax.SVG.Register("jax/mml");MathJax.OutputJax.SVG.loadComplete("config.js");MathJax.Extension.tex2jax={version:"2.2",config:{inlineMath:[["\\(","\\)"]],displayMath:[["$$","$$"],["\\[","\\]"]],balanceBraces:!0,skipTags:"script noscript style textarea pre code".split(" "),ignoreClass:"tex2jax_ignore",processClass:"tex2jax_process",processEscapes:!1,processEnvironments:!0,processRefs:!0,preview:"TeX"},PreProcess:function(a){this.configured||(this.config=MathJax.Hub.CombineConfig("tex2jax",this.config),this.config.Augment&&MathJax.Hub.Insert(this,this.config.Augment),"undefined"===typeof this.config.previewTeX||this.config.previewTeX||(this.config.preview="none"),this.configured=!0);"string"===typeof a&&(a=document.getElementById(a));a||(a=document.body);this.createPatterns()&&this.scanElement(a,a.nextSibling)},createPatterns:function(){var a=[],d=[],b,c,e=this.config;this.match={};b=0;for(c=e.inlineMath.length;bdocument.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=1Math.abs(a)?"0px":a.toFixed(2).replace(/\.?0+$/,"")+"px"},getImages:function(){(new Image).src=l.button.src}},r=p.Touch={last:0,delay:500,start:function(a){var f=(new Date).getTime(),c=f-r.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=l=a.CombineConfig("MathEvents",l);c.Queue(a.Register.StartupHook("End Config",{}),[function(){var a=l.styles[".MathJax_Hover_Frame"];a.border=l.frame.bwidth+"px solid "+l.frame.bcolor+" ! important";a["box-shadow"]=a["-webkit-box-shadow"]=a["-moz-box-shadow"]=a["-khtml-box-shadow"]="0px 0px "+l.frame.hwidth+" "+l.frame.hcolor}],["getImages",t],["Styles",b,l.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 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)"}}}),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)),w=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"}}]]]]),u=w.lastChild,y=u.firstChild,z=w.firstChild;c.parentNode.insertBefore(w,c);c.parentNode.insertBefore(c,w);y.addEventListener&&y.addEventListener("mousedown",this.Remove,!0);if(this.msieTrapEventBug){var v=d.Element("span",{id:"MathJax_ZoomEventTrap",onmousedown:this.Remove});w.insertBefore(v,u)}this.msieZIndexBug&&(d.addElement(document.body,"img",{src:"about:blank",id:"MathJax_ZoomTracker",width:0,height:0,style:{width:0,height:0,position:"relative"}}),w.style.position="relative",w.style.zIndex=m.styles["#MathJax_ZoomOverlay"]["z-index"]);b=b.Zoom(e,y,c,h,q);this.msiePositionBug&&(this.msieSizeBug&&(u.style.height=b.zH+"px",u.style.width=b.zW+"px"),u.offsetHeight>q&&(u.style.height=q+"px",u.style.width=b.zW+this.scrollSize+"px"),u.offsetWidth>h&&(u.style.width=h+"px",u.style.height=b.zH+this.scrollSize+"px"));this.operaPositionBug&&(u.style.width=Math.min(h,b.zW)+"px");u.offsetWidth&&u.offsetWidth=c;f.msieInlineBlockAlignBug=7>=c;f.msieTrapEventBug=!window.addEventListener;"BackCompat"===document.compatMode&&(f.scrollSize=52);b&&delete m.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,m.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 m=MathJax.Callback.Signal("menu");MathJax.Extension.MathMenu={version:"2.2",signal:m};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),l=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":l,"-webkit-border-radius":l,"-moz-border-radius":l,"-khtml-border-radius":l,"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"}}}),t,r;a.Register.StartupHook("MathEvents Ready",function(){t=MathJax.Extension.MathEvents.Event.False;r=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,m.Post(["post",h.jax]));var b=d.addElement(c,"div",{onmouseup:h.Mouseup,ondblclick:t,ondragstart:t,onselectstart:t,oncontextmenu:t,menuItem:this,className:"MathJax_Menu"});MathJax.Localization.setCSS(b);for(var l=0,e=this.items.length;ldocument.body.offsetWidth-this.margin&&!h.isMobile&&(g="right",l=Math.max(this.margin,l-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 l+b.offsetWidth>document.body.offsetWidth-this.margin&&(l=document.body.offsetWidth-b.offsetWidth-this.margin),h.isMobile&&(l=Math.max(5,l-Math.floor(b.offsetWidth/2)),e-=20),h.skipUp=a.isContextMenu;b.style.left=l+"px";b.style.top=e+"px";document.selection&&document.selection.empty&&document.selection.empty();return t(a)},Remove:function(a,f){m.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,r.UnHover(h.jax));return t(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,l=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 l=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),l.offsetWidth+b+25)),a=Math.max(40,Math.min(Math.floor(.5*screen.height),l.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,l=(f||c||b||{config:{scale:100}}).config.scale,n=prompt(g("ScaleMath","Scale all mathematics (compared to surrounding text) by"),l+"%");n&&(n.match(/^\s*\d+(\.\d*)?\s*%?\s*$/)?(n=parseFloat(n))?n!==l&&(f&&(f.config.scale=n),c&&(c.config.scale=n),b&&(b.config.scale=n),h.cookie.scale=n,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,l,e=h.Renderer.Messages,k;switch(n.settings.renderer){case "NativeMML":n.settings.warnedMML||(b.isChrome&&"24."!==b.version.substr(0,3)?l=e.MML.WebKit:b.isSafari&&!b.versionAtLeast("5.0")?l=e.MML.WebKit:b.isMSIE?b.hasMathPlayer||(l=e.MML.MSIE):l=e.MML[b],k="warnedMML");break;case "SVG":n.settings.warnedSVG||!b.isMSIE||f||(l=e.SVG.MSIE)}if(l){l=g(l[0],l[1]);l=l+"\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(l)){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,l;for(l in b)b.hasOwnProperty(l)&&c.push(l);c=c.sort();a.items=[];l=0;for(var e=c.length;lc.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 l,d;l=this.stack.Top();"prime"===l.type?(b=l.data[0],d=l.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"]),l=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});l=b.over}else b=c.msubsup(b,null,null),l=b.sup;this.Push(g.subsup(b).With({position:l,primes:d}))},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,p,m){var u=this.GetNext();""===u&&a.Error(["MissingArgFor","Missing argument for %1",b]);"{"===u?this.i++:(this.string=u+"}"+this.string.slice(this.i+1),this.i=0);b=g.array().With({requireClose:!0,arraydef:{rowspacing:h||"4pt",columnspacing:k||"1em"}});m&&(b.isCases=!0);if(c||d)b.open=c,b.close=d;"D"===p&&(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,p,m){d||(d=this.GetArgument("\\begin{"+a.name+"}"));var u=("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"}});u.match(/[|:]/)&&(u.charAt(0).match(/[|:]/)&&(d.frame.push("left"),d.frame.dashed=":"===u.charAt(0)),u.charAt(u.length-1).match(/[|:]/)&&d.frame.push("right"),u=u.substr(1,u.length-2),d.arraydef.columnlines=u.split("").join(" ").replace(/[^|: ]/g,"none").replace(/\|/g,"solid").replace(/:/g,"dashed"));b&&(d.open=this.convertDelimiter(b));c&&(d.close=this.convertDelimiter(c));"D"===p&&(d.arraydef.displaystyle=!0);"S"===p&&(d.arraydef.scriptlevel=1);m&&(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:m,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(p){if(!p.texError)throw p;d=this.formatError(p,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(/^(])+)>)/i);b&&b[2].match(/ (?!xmlns=)[a-z]+=\"http:/i)&&(a=b[1].replace(/ (?!xmlns=)([a-z]+=(['"])http:.*?\2)/ig," xmlns:$1 $1")+a.substr(b[0].length));a.match(/^]* xmlns=/)&&(a=a.replace(/^<(math)/i,'\x3cmath xmlns\x3d"http://www.w3.org/1998/Math/MathML"'));a=a.replace(/^\s*(?:\/\/)?\s*$/,"$2");return a.replace(/&([a-z][a-z0-9]*);/ig,this.replaceEntity)},trimSpace:function(a){return a.replace(/[\t\n\r]/g," ").replace(/^ +/,"").replace(/ +$/,"").replace(/ +/g," ")},replaceEntity:function(b,c){if(c.match(/^(lt|amp|quot)$/))return b;if(a.Parse.Entity[c])return a.Parse.Entity[c];var d=c.charAt(0).toLowerCase(),k=c.match(/^[a-zA-Z](fr|scr|opf)$/);k&&(d=k[1]);a.Parse.loaded[d]||(a.Parse.loaded[d]=!0,MathJax.Hub.RestartAfter(MathJax.Ajax.Require(a.entityDir+"/"+d+".js")));return b}},{loaded:[]});a.Augment({sourceMenuTitle:["OriginalMathML","Original MathML"],prefilterHooks:MathJax.Callback.Hooks(!0),postfilterHooks:MathJax.Callback.Hooks(!0),Translate:function(c){this.ParseXML||(this.ParseXML=this.createParser());var m,g,k={script:c};c.firstChild&&"math"===c.firstChild.nodeName.toLowerCase().replace(/^[a-z]+:/,"")?k.math=c.firstChild:(g=MathJax.HTML.getScript(c),d.isMSIE&&(g=g.replace(/( )+$/,"")),k.math=g);this.prefilterHooks.Execute(k);g=k.math;try{m=a.Parse(g).mml}catch(p){if(!p.mathmlError)throw p;m=this.formatError(p,g,c)}k.math=b(m);this.postfilterHooks.Execute(k);return k.math},prefilterMath:function(a,b){return a},prefilterMathML:function(a,b){return a},formatError:function(a,c,d){a=a.message.replace(/\n.*/,"");MathJax.Hub.signal.Post(["MathML Jax - parse error",a,c,d]);return b.merror(a)},Error:function(a){a instanceof Array&&(a=c.apply(c,a));throw MathJax.Hub.Insert(Error(a),{mathmlError:!0});},parseDOM:function(a){return this.parser.parseFromString(a,"text/xml")},parseMS:function(a){return this.parser.loadXML(a)?this.parser:null},parseDIV:function(a){this.div.innerHTML=a.replace(/<([a-z]+)([^>]*)\/>/g,"\x3c$1$2\x3e\x3c/$1\x3e");return this.div},parseError:function(a){return null},createMSParser:function(){for(var a=null,b="MSXML2.DOMDocument.6.0 MSXML2.DOMDocument.5.0 MSXML2.DOMDocument.4.0 MSXML2.DOMDocument.3.0 MSXML2.DOMDocument.2.0 Microsoft.XMLDOM".split(" "),c=0,d=b.length;c