63 lines
196 KiB
JavaScript
63 lines
196 KiB
JavaScript
/*
|
|
* /MathJax/config/TeX-AMS_HTML-full.js
|
|
*
|
|
* Copyright (c) 2010-11 Design Science, Inc.
|
|
*
|
|
* Part of the MathJax library.
|
|
* See http://www.mathjax.org for details.
|
|
*
|
|
* Licensed under the Apache License, Version 2.0;
|
|
* you may not use this file except in compliance with the License.
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*/
|
|
|
|
MathJax.Ajax.Preloading(
|
|
"[MathJax]/jax/input/TeX/config.js",
|
|
"[MathJax]/jax/output/HTML-CSS/config.js",
|
|
"[MathJax]/extensions/tex2jax.js",
|
|
"[MathJax]/extensions/MathZoom.js",
|
|
"[MathJax]/extensions/MathMenu.js",
|
|
"[MathJax]/jax/element/mml/jax.js",
|
|
"[MathJax]/extensions/toMathML.js",
|
|
"[MathJax]/extensions/TeX/noErrors.js",
|
|
"[MathJax]/extensions/TeX/noUndefined.js",
|
|
"[MathJax]/jax/input/TeX/jax.js",
|
|
"[MathJax]/extensions/TeX/AMSmath.js",
|
|
"[MathJax]/extensions/TeX/AMSsymbols.js",
|
|
"[MathJax]/jax/output/HTML-CSS/jax.js",
|
|
"[MathJax]/jax/output/HTML-CSS/autoload/mtable.js"
|
|
);
|
|
|
|
MathJax.Hub.Config({"v1.0-compatible":false});
|
|
|
|
MathJax.InputJax.TeX=MathJax.InputJax({id:"TeX",version:"1.1.2",directory:MathJax.InputJax.directory+"/TeX",extensionDir:MathJax.InputJax.extensionDir+"/TeX",config:{TagSide:"right",TagIndent:"0.8em",MultLineWidth:"85%"}});MathJax.InputJax.TeX.Register("math/tex");MathJax.InputJax.TeX.loadComplete("config.js");
|
|
|
|
MathJax.OutputJax["HTML-CSS"]=MathJax.OutputJax({id:"HTML-CSS",version:"1.1.13",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",styles:{".MathJax_Display":{"text-align":"center",margin:"1em 0em"},".MathJax .merror":{"background-color":"#FFFF88",color:"#CC0000",border:"1px solid #CC0000",padding:"1px 3px","font-family":"serif","font-style":"normal","font-size":"90%"},".MathJax_Preview":{color:"#888888"},"#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=2, OffY=2, Color='gray', Positive='true')",padding:"3px 4px"}}}});if(MathJax.Hub.Browser.isMSIE&&document.documentMode>=9){delete MathJax.OutputJax["HTML-CSS"].config.styles["#MathJax_Tooltip"].filter}if(!MathJax.Hub.config.delayJaxRegistration){MathJax.OutputJax["HTML-CSS"].Register("jax/mml")}MathJax.Hub.Register.StartupHook("End Config",[function(b,c){var a=b.Insert({minBrowserVersion:{Firefox:3,Opera:9.52,MSIE:6,Chrome:0.3,Safari:2,Konqueror:4},inlineMathDelimiters:["$","$"],displayMathDelimiters:["$$","$$"],multilineDisplay:true,minBrowserTranslate:function(f){var e=b.getJaxFor(f),k=["[Math]"],j;var h=document.createElement("span",{className:"MathJax_Preview"});if(e.inputJax.id==="TeX"){if(e.root.Get("displaystyle")){j=a.displayMathDelimiters;k=[j[0]+e.originalText+j[1]];if(a.multilineDisplay){k=k[0].split(/\n/)}}else{j=a.inlineMathDelimiters;k=[j[0]+e.originalText.replace(/^\s+/,"").replace(/\s+$/,"")+j[1]]}}for(var g=0,d=k.length;g<d;g++){h.appendChild(document.createTextNode(k[g]));if(g<d-1){h.appendChild(document.createElement("br"))}}f.parentNode.insertBefore(h,f)}},(b.config["HTML-CSS"]||{}));if(b.Browser.version!=="0.0"&&!b.Browser.versionAtLeast(a.minBrowserVersion[b.Browser]||0)){c.Translate=a.minBrowserTranslate;b.Config({showProcessingMessages:false});MathJax.Message.Set("Your browser does not support MathJax",null,4000);b.Startup.signal.Post("MathJax not supported")}},MathJax.Hub,MathJax.OutputJax["HTML-CSS"]]);MathJax.OutputJax["HTML-CSS"].loadComplete("config.js");
|
|
|
|
MathJax.Extension.tex2jax={version:"1.1.3",config:{inlineMath:[["\\(","\\)"]],displayMath:[["$$","$$"],["\\[","\\]"]],skipTags:["script","noscript","style","textarea","pre","code"],ignoreClass:"tex2jax_ignore",processClass:"tex2jax_process",processEscapes:false,processEnvironments:true,preview:"TeX"},PreProcess:function(a){if(!this.configured){this.config=MathJax.Hub.CombineConfig("tex2jax",this.config);if(this.config.Augment){MathJax.Hub.Insert(this,this.config.Augment)}if(typeof(this.config.previewTeX)!=="undefined"&&!this.config.previewTeX){this.config.preview="none"}this.configured=true}if(typeof(a)==="string"){a=document.getElementById(a)}if(!a){a=document.body}this.createPatterns();this.scanElement(a,a.nextSibling)},createPatterns:function(){var d=[],c,a,b=this.config;this.match={};for(c=0,a=b.inlineMath.length;c<a;c++){d.push(this.patternQuote(b.inlineMath[c][0]));this.match[b.inlineMath[c][0]]={mode:"",end:b.inlineMath[c][1],pattern:this.endPattern(b.inlineMath[c][1])}}for(c=0,a=b.displayMath.length;c<a;c++){d.push(this.patternQuote(b.displayMath[c][0]));this.match[b.displayMath[c][0]]={mode:"; mode=display",end:b.displayMath[c][1],pattern:this.endPattern(b.displayMath[c][1])}}this.start=new RegExp(d.sort(this.sortLength).join("|")+(b.processEnvironments?"|\\\\begin\\{([^}]*)\\}":"")+(b.processEscapes?"|\\\\*\\\\\\$":""),"g");this.skipTags=new RegExp("^("+b.skipTags.join("|")+")$","i");this.ignoreClass=new RegExp("(^| )("+b.ignoreClass+")( |$)");this.processClass=new RegExp("(^| )("+b.processClass+")( |$)")},patternQuote:function(a){return a.replace(/([\^$(){}+*?\-|\[\]\:\\])/g,"\\$1")},endPattern:function(a){return new RegExp(this.patternQuote(a)+"|\\\\.","g")},sortLength:function(d,c){if(d.length!==c.length){return c.length-d.length}return(d==c?0:(d<c?-1:1))},scanElement:function(c,b,f){var a,e,d;while(c&&c!=b){if(c.nodeName.toLowerCase()==="#text"){if(!f){c=this.scanText(c)}}else{a=(typeof(c.className)==="undefined"?"":c.className);e=(typeof(c.tagName)==="undefined"?"":c.tagName);if(typeof(a)!=="string"){a=String(a)}if(c.firstChild&&!a.match(/(^| )MathJax/)&&!this.skipTags.exec(e)){d=(f||this.ignoreClass.exec(a))&&!this.processClass.exec(a);this.scanElement(c.firstChild,b,d)}}if(c){c=c.nextSibling}}},scanText:function(b){if(b.nodeValue.replace(/\s+/,"")==""){return b}var a,c;this.search={start:true};this.pattern=this.start;while(b){this.pattern.lastIndex=0;while(b&&b.nodeName.toLowerCase()==="#text"&&(a=this.pattern.exec(b.nodeValue))){if(this.search.start){b=this.startMatch(a,b)}else{b=this.endMatch(a,b)}}if(this.search.matched){b=this.encloseMath(b)}if(b){do{c=b;b=b.nextSibling}while(b&&(b.nodeName.toLowerCase()==="br"||b.nodeName.toLowerCase()==="#comment"));if(!b||b.nodeName!=="#text"){return c}}}return b},startMatch:function(a,b){var f=this.match[a[0]];if(f!=null){this.search={end:f.end,mode:f.mode,open:b,olen:a[0].length,opos:this.pattern.lastIndex-a[0].length};this.switchPattern(f.pattern)}else{if(a[0].substr(0,6)==="\\begin"){this.search={end:"\\end{"+a[1]+"}",mode:"; mode=display",open:b,olen:0,opos:this.pattern.lastIndex-a[0].length,isBeginEnd:true};this.switchPattern(this.endPattern(this.search.end))}else{var d=a[0].substr(0,a[0].length-1),g,c;if(d.length%2===0){c=[d.replace(/\\\\/g,"\\")];g=1}else{c=[d.substr(1).replace(/\\\\/g,"\\"),"$"];g=0}c=MathJax.HTML.Element("span",null,c);var e=MathJax.HTML.TextNode(b.nodeValue.substr(0,a.index));b.nodeValue=b.nodeValue.substr(a.index+a[0].length-g);b.parentNode.insertBefore(c,b);b.parentNode.insertBefore(e,c);this.pattern.lastIndex=g}}return b},endMatch:function(a,b){if(a[0]==this.search.end){this.search.close=b;this.search.cpos=this.pattern.lastIndex;this.search.clen=(this.search.isBeginEnd?0:a[0].length);this.search.matched=true;b=this.encloseMath(b);this.switchPattern(this.start)}return b},switchPattern:function(a){a.lastIndex=this.pattern.lastIndex;this.pattern=a;this.search.start=(a===this.start)},encloseMath:function(b){var a=this.search,f=a.close,e,c;if(a.cpos===f.length){f=f.nextSibling}else{f=f.splitText(a.cpos)}if(!f){e=f=MathJax.HTML.addText(a.close.parentNode,"")}a.close=f;c=(a.opos?a.open.splitText(a.opos):a.open);while(c.nextSibling&&c.nextSibling!==f){if(c.nextSibling.nodeValue!==null){if(c.nextSibling.nodeName==="#comment"){c.nodeValue+=c.nextSibling.nodeValue.replace(/^\[CDATA\[((.|\n|\r)*)\]\]$/,"$1")}else{c.nodeValue+=c.nextSibling.nodeValue}}else{if(this.msieNewlineBug){c.nodeValue+=(c.nextSibling.nodeName.toLowerCase()==="br"?"\n":" ")}else{c.nodeValue+=" "}}c.parentNode.removeChild(c.nextSibling)}var d=c.nodeValue.substr(a.olen,c.nodeValue.length-a.olen-a.clen);c.parentNode.removeChild(c);if(this.config.preview!=="none"){this.createPreview(a.mode,d)}c=this.createMathTag(a.mode,d);this.search={};this.pattern.lastIndex=0;if(e){e.parentNode.removeChild(e)}return c},insertNode:function(b){var a=this.search;a.close.parentNode.insertBefore(b,a.close)},createPreview:function(c,a){var b;if(this.config.preview==="TeX"){b=[this.filterTeX(a)]}else{if(this.config.preview instanceof Array){b=this.config.preview}}if(b){b=MathJax.HTML.Element("span",{className:MathJax.Hub.config.preRemoveClass},b);this.insertNode(b)}},createMathTag:function(c,b){var a=document.createElement("script");a.type="math/tex"+c;MathJax.HTML.setScript(a,b);this.insertNode(a);return a},filterTeX:function(a){return a},msieNewlineBug:(MathJax.Hub.Browser.isMSIE&&document.documentMode<9)};MathJax.Hub.Register.PreProcessor(["PreProcess",MathJax.Extension.tex2jax]);MathJax.Ajax.loadComplete("[MathJax]/extensions/tex2jax.js");
|
|
|
|
(function(a,d,f,c,j){var k="1.1.3";var i=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-family":"serif","font-size":"85%","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=2, OffY=2, Color='gray', Positive='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=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=0)"}}});var e,b,g;MathJax.Hub.Register.StartupHook("MathEvents Ready",function(){g=MathJax.Extension.MathEvents.Event;e=MathJax.Extension.MathEvents.Event.False;b=MathJax.Extension.MathEvents.Hover});var h=MathJax.Extension.MathZoom={version:k,settings:a.config.menuSettings,scrollSize:18,HandleEvent:function(n,l,m){if(h.settings.CTRL&&!n.ctrlKey){return true}if(h.settings.ALT&&!n.altKey){return true}if(h.settings.CMD&&!n.metaKey){return true}if(h.settings.Shift&&!n.shiftKey){return true}if(!h[l]){return true}return h[l](n,m)},Click:function(m,l){if(this.settings.zoom==="Click"){return this.Zoom(m,l)}},DblClick:function(m,l){if(this.settings.zoom==="Double-Click"){return this.Zoom(m,l)}},Hover:function(m,l){if(this.settings.zoom==="Hover"){this.Zoom(m,l);return true}return false},Zoom:function(n,t){this.Remove();b.ClearHoverTimer();g.ClearSelection();var q=MathJax.OutputJax[t.jaxID];var o=q.getJaxFromMath(t),s=o.root;if(o.hover){b.UnHover(o)}var l=Math.floor(0.85*document.body.clientWidth),r=Math.floor(0.85*document.body.clientHeight);var m=d.Element("span",{style:{position:"relative",display:"inline-block",height:0,width:0},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":l+"px","max-height":r+"px"}},[["span",{style:{display:"inline-block","white-space":"nowrap"}}]]]]);var y=m.lastChild,v=y.firstChild,p=m.firstChild;t.parentNode.insertBefore(m,t);if(v.addEventListener){v.addEventListener("mousedown",this.Remove,true)}if(this.msieTrapEventBug){var x=d.Element("span",{id:"MathJax_ZoomEventTrap",onmousedown:this.Remove});m.insertBefore(x,y)}if(this.msieZIndexBug){var u=d.addElement(document.body,"img",{src:"about:blank",id:"MathJax_ZoomTracker",width:0,height:0,style:{width:0,height:0,position:"relative"}});m.style.position="relative";m.style.zIndex=i.styles["#MathJax_ZoomOverlay"]["z-index"];m=u}var w=q.Zoom(s,v,t,l,r);if(this.msiePositionBug){if(this.msieSizeBug){y.style.height=w.zH+"px";y.style.width=w.zW+"px"}if(y.offsetHeight>r){y.style.height=r+"px";y.style.width=(w.zW+this.scrollSize)+"px"}if(y.offsetWidth>l){y.style.width=l+"px";y.style.height=(w.zH+this.scrollSize)+"px"}}if(this.operaPositionBug){y.style.width=Math.min(l,w.zW)+"px"}if(y.offsetWidth<l&&y.offsetHeight<r){y.style.overflow="visible"}this.Position(y,w);if(this.msieTrapEventBug){x.style.height=y.clientHeight+"px";x.style.width=y.clientWidth+"px";x.style.left=(parseFloat(y.style.left)+y.clientLeft)+"px";x.style.top=(parseFloat(y.style.top)+y.clientTop)+"px"}y.style.visibility="";if(this.settings.zoom==="Hover"){p.onmouseover=this.Remove}if(window.addEventListener){addEventListener("resize",this.Resize,false)}else{if(window.attachEvent){attachEvent("onresize",this.Resize)}else{this.onresize=window.onresize;window.onresize=this.Resize}}return e(n)},Position:function(p,r){var q=this.Resize(),m=q.x,s=q.y,l=r.mW;var o=-Math.floor((p.offsetWidth-l)/2),n=r.Y;p.style.left=Math.max(o,10-m)+"px";p.style.top=Math.max(n,10-s)+"px"},Resize:function(n){if(h.onresize){h.onresize(n)}var l=0,q=0,p=document.getElementById("MathJax_ZoomFrame"),o=p,m=document.getElementById("MathJax_ZoomOverlay");if(h.operaPositionBug){p.style.border="1px solid"}if(o.offsetParent){do{l+=o.offsetLeft;q+=o.offsetTop}while(o=o.offsetParent)}if(h.operaPositionBug){p.style.border=""}m.style.left=(-l)+"px";m.style.top=(-q)+"px";if(h.msiePositionBug){setTimeout(h.SetWH,0)}else{h.SetWH()}return{x:l,y:q}},SetWH:function(){var l=document.getElementById("MathJax_ZoomOverlay");l.style.width=l.style.height="1px";l.style.width=document.body.scrollWidth+"px";l.style.height=document.body.scrollHeight+"px"},Remove:function(m){var n=document.getElementById("MathJax_ZoomFrame");if(n){n.parentNode.removeChild(n);n=document.getElementById("MathJax_ZoomTracker");if(n){n.parentNode.removeChild(n)}if(h.operaRefreshBug){var l=d.addElement(document.body,"div",{style:{position:"fixed",left:0,top:0,width:"100%",height:"100%",backgroundColor:"white",opacity:0},id:"MathJax_OperaDiv"});document.body.removeChild(l)}if(window.removeEventListener){removeEventListener("resize",h.Resize,false)}else{if(window.detachEvent){detachEvent("onresize",h.Resize)}else{window.onresize=h.onresize;delete h.onresize}}}return e(m)}};a.Browser.Select({MSIE:function(l){var n=(document.documentMode||0);var m=(n>=9);h.msiePositionBug=!m;h.msieSizeBug=l.versionAtLeast("7.0")&&(!document.documentMode||n===7||n===8);h.msieZIndexBug=(n<=7);h.msieInlineBlockAlignBug=(n<=7);h.msieTrapEventBug=!window.addEventListener;if(document.compatMode==="BackCompat"){h.scrollSize=52}if(m){delete i.styles["#MathJax_Zoom"].filter}},Opera:function(l){h.operaPositionBug=true;h.operaRefreshBug=true}});h.topImg=(h.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(h.operaPositionBug||h.msieTopBug){h.topImg.style.border="1px solid"}MathJax.Callback.Queue(["StartupHook",MathJax.Hub.Register,"Begin Styles",{}],["Styles",f,i.styles],["Post",a.Startup.signal,"MathZoom Ready"],["loadComplete",f,"[MathJax]/extensions/MathZoom.js"])})(MathJax.Hub,MathJax.HTML,MathJax.Ajax,MathJax.OutputJax["HTML-CSS"],MathJax.OutputJax.NativeMML);
|
|
|
|
(function(c,f,i,e,b){var n="1.1.8";MathJax.Extension.MathMenu={version:n};var l=c.Browser.isPC,j=c.Browser.isMSIE;var h=(l?null:"5px");var m=c.CombineConfig("MathMenu",{delay:150,helpURL:"http://www.mathjax.org/help/user/",closeImg:i.fileURL(b.imageDir+"/CloseX-31.png"),showRenderer:true,showFontMenu:false,showContext:false,windowSettings:{status:"no",toolbar:"no",locationbar:"no",menubar:"no",directories:"no",personalbar:"no",resizable:"yes",scrollbars:"yes",width:100,height:50},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=2, OffY=2, Color='gray', Positive='true')"},".MathJax_Menu":{position:"absolute","background-color":"white",color:"black",width:"auto",padding:(l?"2px":"5px 0px"),border:"1px solid #CCCCCC",margin:0,cursor:"default",font:"menu","text-align":"left","text-indent":0,"text-transform":"none","line-height":"normal","letter-spacing":"normal","word-spacing":"normal","word-wrap":"normal","white-space":"nowrap","float":"none","z-index":201,"border-radius":h,"-webkit-border-radius":h,"-moz-border-radius":h,"-khtml-border-radius":h,"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=2, OffY=2, Color='gray', Positive='true')"},".MathJax_MenuItem":{padding:(l?"2px 2em":"1px 2em"),background:"transparent"},".MathJax_MenuTitle":{"background-color":"#CCCCCC",margin:(l?"-1px -1px 1px -1px":"-5px 0 0 0"),"text-align":"center","font-style":"italic","font-size":"80%",color:"#444444",padding:"2px 0",overflow:"hidden"},".MathJax_MenuArrow":{position:"absolute",right:".5em",color:"#666666","font-family":(j?"'Arial unicode MS'":null)},".MathJax_MenuActive .MathJax_MenuArrow":{color:"white"},".MathJax_MenuCheck":{position:"absolute",left:".7em","font-family":(j?"'Arial unicode MS'":null)},".MathJax_MenuRadioCheck":{position:"absolute",left:(l?"1em":".7em")},".MathJax_MenuLabel":{padding:(l?"2px 2em 4px 1.33em":"1px 2em 3px 1.33em"),"font-style":"italic"},".MathJax_MenuRule":{"border-top":(l?"1px solid #CCCCCC":"1px solid #DDDDDD"),margin:(l?"4px 1px 0px":"4px 3px")},".MathJax_MenuDisabled":{color:"GrayText"},".MathJax_MenuActive":{"background-color":(l?"Highlight":"#606872"),color:(l?"HighlightText":"white")},".MathJax_Menu_Close":{position:"absolute",width:"31px",height:"31px",top:"-15px",left:"-15px"}}});var g,d;c.Register.StartupHook("MathEvents Ready",function(){g=MathJax.Extension.MathEvents.Event.False;d=MathJax.Extension.MathEvents.Hover});var a=MathJax.Menu=MathJax.Object.Subclass({version:n,items:[],posted:false,title:null,margin:5,Init:function(o){this.items=[].slice.call(arguments,0)},With:function(o){if(o){c.Insert(this,o)}return this},Post:function(p,z){if(!p){p=window.event}var v=(!this.title?null:[["div",{className:"MathJax_MenuTitle"},[this.title]]]);var o=document.getElementById("MathJax_MenuFrame");if(!o){o=a.Background(this);delete k.lastItem;delete k.lastMenu;delete a.skipUp}var q=f.addElement(o,"div",{onmouseup:a.Mouseup,ondblclick:g,ondragstart:g,onselectstart:g,oncontextmenu:g,menuItem:this,className:"MathJax_Menu"},v);for(var s=0,r=this.items.length;s<r;s++){this.items[s].Create(q)}if(a.isMobile){f.addElement(q,"img",{className:"MathJax_Menu_Close",menu:z,src:m.closeImg,ontouchstart:a.Close,ontouchend:g,onmousedown:a.Close})}this.posted=true;q.style.width=(q.offsetWidth+2)+"px";var w=p.pageX,u=p.pageY;if(!w&&!u){w=p.clientX+document.body.scrollLeft+document.documentElement.scrollLeft;u=p.clientY+document.body.scrollTop+document.documentElement.scrollTop}if(!z){if(w+q.offsetWidth>document.body.offsetWidth-this.margin){w=document.body.offsetWidth-q.offsetWidth-this.margin}if(a.isMobile){w=Math.max(5,w-Math.floor(q.offsetWidth/2));u-=20}a.skipUp=p.isContextMenu}else{var t="left",A=z.offsetWidth;w=(a.isMobile?30:A-2);u=0;while(z&&z!==o){w+=z.offsetLeft;u+=z.offsetTop;z=z.parentNode}if(w+q.offsetWidth>document.body.offsetWidth-this.margin&&!a.isMobile){t="right";w=Math.max(this.margin,w-A-q.offsetWidth+6)}if(!l){q.style["borderRadiusTop"+t]=0;q.style["WebkitBorderRadiusTop"+t]=0;q.style["MozBorderRadiusTop"+t]=0;q.style["KhtmlBorderRadiusTop"+t]=0}}q.style.left=w+"px";q.style.top=u+"px";if(document.selection&&document.selection.empty){document.selection.empty()}return g(p)},Remove:function(o,p){var q=document.getElementById("MathJax_MenuFrame");if(q){q.parentNode.removeChild(q);if(this.msieBackgroundBug){detachEvent("onresize",a.Resize)}}if(a.jax.hover){delete a.jax.hover.nofade;d.UnHover(a.jax)}},Find:function(p){var r=[].slice.call(arguments,1);for(var q=0,o=this.items.length;q<o;q++){if(this.items[q].name===p){if(r.length){if(!this.items[q].menu){return null}return this.items[q].menu.Find.apply(this.items[q].menu,r)}return this.items[q]}}return null}},{config:m,div:null,Close:function(o){return a.Event(o,this.menu||this.parentNode,(this.menu?"Touchend":"Remove"))},Remove:function(o){return a.Event(o,this,"Remove")},Mouseover:function(o){return a.Event(o,this,"Mouseover")},Mouseout:function(o){return a.Event(o,this,"Mouseout")},Mousedown:function(o){return a.Event(o,this,"Mousedown")},Mouseup:function(o){return a.Event(o,this,"Mouseup")},Touchstart:function(o){return a.Event(o,this,"Touchstart")},Touchend:function(o){return a.Event(o,this,"Touchend")},Event:function(q,s,o,r){if(a.skipMouseover&&o==="Mouseover"&&!r){return g(q)}if(a.skipUp){if(o.match(/Mouseup|Touchend/)){delete a.skipUp;return g(q)}if(o==="Touchstart"||(o==="Mousedown"&&!a.skipMousedown)){delete a.skipUp}}if(!q){q=window.event}var p=s.menuItem;if(p&&p[o]){return p[o](q,s)}return null},BGSTYLE:{position:"absolute",left:0,top:0,"z-index":200,width:"100%",height:"100%",border:0,padding:0,margin:0},Background:function(p){var q=f.addElement(document.body,"div",{style:this.BGSTYLE,id:"MathJax_MenuFrame"},[["div",{style:this.BGSTYLE,menuItem:p,onmousedown:this.Remove}]]);var o=q.firstChild;if(p.msieBackgroundBug){o.style.backgroundColor="white";o.style.filter="alpha(opacity=0)";q.width=q.height=0;this.Resize();attachEvent("onresize",this.Resize)}else{o.style.position="fixed"}return q},Resize:function(){setTimeout(a.SetWH,0)},SetWH:function(){var o=document.getElementById("MathJax_MenuFrame");if(o){o=o.firstChild;o.style.width=o.style.height="1px";o.style.width=document.body.scrollWidth+"px";o.style.height=document.body.scrollHeight+"px"}},saveCookie:function(){f.Cookie.Set("menu",this.cookie)},getCookie:function(){this.cookie=f.Cookie.Get("menu")},getImages:function(){if(a.isMobile){var o=new Image();o.src=m.closeImg}}});var k=a.ITEM=MathJax.Object.Subclass({name:"",Create:function(p){if(!this.hidden){var o={onmouseover:a.Mouseover,onmouseout:a.Mouseout,onmouseup:a.Mouseup,onmousedown:a.Mousedown,ondragstart:g,onselectstart:g,onselectend:g,ontouchstart:a.Touchstart,ontouchend:a.Touchend,className:"MathJax_MenuItem",menuItem:this};if(this.disabled){o.className+=" MathJax_MenuDisabled"}f.addElement(p,"div",o,this.Label(o,p))}},Mouseover:function(s,u){if(!this.disabled){this.Activate(u)}if(!this.menu||!this.menu.posted){var t=document.getElementById("MathJax_MenuFrame").childNodes,p=u.parentNode.childNodes;for(var q=0,o=p.length;q<o;q++){var r=p[q].menuItem;if(r&&r.menu&&r.menu.posted){r.Deactivate(p[q])}}o=t.length-1;while(o>=0&&u.parentNode.menuItem!==t[o].menuItem){t[o].menuItem.posted=false;t[o].parentNode.removeChild(t[o]);o--}if(this.Timer&&!a.isMobile){this.Timer(s,u)}}},Mouseout:function(o,p){if(!this.menu||!this.menu.posted){this.Deactivate(p)}if(this.timer){clearTimeout(this.timer);delete this.timer}},Mouseup:function(o,p){return this.Remove(o,p)},Touchstart:function(o,p){return this.TouchEvent(o,p,"Mousedown")},Touchend:function(o,p){return this.TouchEvent(o,p,"Mouseup")},TouchEvent:function(p,q,o){if(this!==k.lastItem){if(k.lastMenu){a.Event(p,k.lastMenu,"Mouseout")}a.Event(p,q,"Mouseover",true);k.lastItem=this;k.lastMenu=q}if(this.nativeTouch){return null}a.Event(p,q,o);return false},Remove:function(o,p){p=p.parentNode.menuItem;return p.Remove(o,p)},Activate:function(o){this.Deactivate(o);o.className+=" MathJax_MenuActive"},Deactivate:function(o){o.className=o.className.replace(/ MathJax_MenuActive/,"")},With:function(o){if(o){c.Insert(this,o)}return this}});a.ITEM.COMMAND=a.ITEM.Subclass({action:function(){},Init:function(o,q,p){this.name=o;this.action=q;this.With(p)},Label:function(o,p){return[this.name]},Mouseup:function(o,p){if(!this.disabled){this.Remove(o,p);this.action.call(this,o)}return g(o)}});a.ITEM.SUBMENU=a.ITEM.Subclass({menu:null,marker:(l&&!c.Browser.isSafari?"\u25B6":"\u25B8"),Init:function(o,q){this.name=o;var p=1;if(!(q instanceof a.ITEM)){this.With(q),p++}this.menu=a.apply(a,[].slice.call(arguments,p))},Label:function(o,p){this.menu.posted=false;return[this.name+" ",["span",{className:"MathJax_MenuArrow"},[this.marker]]]},Timer:function(o,p){if(this.timer){clearTimeout(this.timer)}o={clientX:o.clientX,clientY:o.clientY};this.timer=setTimeout(e(["Mouseup",this,o,p]),m.delay)},Touchend:function(p,r){var q=this.menu.posted;var o=this.SUPER(arguments).Touchend.apply(this,arguments);if(q){this.Deactivate(r);delete k.lastItem;delete k.lastMenu}return o},Mouseup:function(p,r){if(!this.disabled){if(!this.menu.posted){if(this.timer){clearTimeout(this.timer);delete this.timer}this.menu.Post(p,r)}else{var q=document.getElementById("MathJax_MenuFrame").childNodes,o=q.length-1;while(o>=0){var s=q[o];s.menuItem.posted=false;s.parentNode.removeChild(s);if(s.menuItem===this.menu){break}o--}}}return g(p)}});a.ITEM.RADIO=a.ITEM.Subclass({variable:null,marker:(l?"\u25CF":"\u2713"),Init:function(p,o,q){this.name=p;this.variable=o;this.With(q);if(this.value==null){this.value=this.name}},Label:function(p,q){var o={className:"MathJax_MenuRadioCheck"};if(m.settings[this.variable]!==this.value){o={style:{display:"none"}}}return[["span",o,[this.marker]]," "+this.name]},Mouseup:function(r,s){if(!this.disabled){var t=s.parentNode.childNodes;for(var p=0,o=t.length;p<o;p++){var q=t[p].menuItem;if(q&&q.variable===this.variable){t[p].firstChild.style.display="none"}}s.firstChild.display="";m.settings[this.variable]=this.value;a.cookie[this.variable]=m.settings[this.variable];a.saveCookie();if(this.action){this.action.call(a)}}this.Remove(r,s);return g(r)}});a.ITEM.CHECKBOX=a.ITEM.Subclass({variable:null,marker:"\u2713",Init:function(p,o,q){this.name=p;this.variable=o;this.With(q)},Label:function(p,q){var o={className:"MathJax_MenuCheck"};if(!m.settings[this.variable]){o={style:{display:"none"}}}return[["span",o,[this.marker]]," "+this.name]},Mouseup:function(o,p){if(!this.disabled){p.firstChild.display=(m.settings[this.variable]?"none":"");m.settings[this.variable]=!m.settings[this.variable];a.cookie[this.variable]=m.settings[this.variable];a.saveCookie();if(this.action){this.action.call(a)}}this.Remove(o,p);return g(o)}});a.ITEM.LABEL=a.ITEM.Subclass({Init:function(o,p){this.name=o;this.With(p)},Label:function(o,p){delete o.onmouseover,delete o.onmouseout;delete o.onmousedown;o.className+=" MathJax_MenuLabel";return[this.name]}});a.ITEM.RULE=a.ITEM.Subclass({Label:function(o,p){delete o.onmouseover,delete o.onmouseout;delete o.onmousedown;o.className+=" MathJax_MenuRule";return null}});a.About=function(){var r=b["HTML-CSS"]||{fontInUse:""};var t=(r.webFonts?"":"local "),p=(r.webFonts?" web":"");var q=(r.imgFonts?"Image":t+r.fontInUse+p)+" fonts";var o=["MathJax.js v"+MathJax.fileversion,["br"]];o.push(["div",{style:{"border-top":"groove 2px",margin:".25em 0"}}]);a.About.GetJax(o,MathJax.InputJax,"Input Jax");a.About.GetJax(o,MathJax.OutputJax,"Output Jax");a.About.GetJax(o,MathJax.ElementJax,"Element Jax");o.push(["div",{style:{"border-top":"groove 2px",margin:".25em 0"}}]);a.About.GetJax(o,MathJax.Extension,"Extension",true);o.push(["div",{style:{"border-top":"groove 2px",margin:".25em 0"}}],["center",{},[c.Browser+" v"+c.Browser.version+(r.webFonts?" \u2014 "+r.allowWebFonts+" fonts":"")]]);a.About.div=a.Background(a.About);var u=f.addElement(a.About.div,"div",{id:"MathJax_About",onclick:a.About.Remove},[["b",{style:{fontSize:"120%"}},["MathJax"]]," v"+MathJax.version,["br"],"using "+q,["br"],["br"],["span",{style:{display:"inline-block","text-align":"left","font-size":"80%","background-color":"#E4E4E4",padding:".4em .6em",border:"1px inset"}},o],["br"],["br"],["a",{href:"http://www.mathjax.org/"},["www.mathjax.org"]]]);var v=(document.documentElement||{});var s=window.innerHeight||v.clientHeight||v.scrollHeight||0;if(a.prototype.msieAboutBug){u.style.width="20em";u.style.position="absolute";u.style.left=Math.floor((document.documentElement.scrollWidth-u.offsetWidth)/2)+"px";u.style.top=(Math.floor((s-u.offsetHeight)/3)+document.body.scrollTop)+"px"}else{u.style.marginLeft=Math.floor(-u.offsetWidth/2)+"px";u.style.top=Math.floor((s-u.offsetHeight)/3)+"px"}};a.About.Remove=function(o){if(a.About.div){document.body.removeChild(a.About.div);delete a.About.div}};a.About.GetJax=function(p,u,s,r){var t=[];for(var v in u){if(u.hasOwnProperty(v)&&u[v]){if((r&&u[v].version)||(u[v].isa&&u[v].isa(u))){t.push((u[v].id||v)+" "+s+" v"+u[v].version)}}}t.sort();for(var q=0,o=t.length;q<o;q++){p.push(t[q],["br"])}return p};a.Help=function(){window.open(m.helpURL,"MathJaxHelp")};a.ShowSource=function(r){if(!r){r=window.event}var q={screenX:r.screenX,screenY:r.screenY};if(!a.jax){return}if(this.format==="MathML"){var o=MathJax.ElementJax.mml;if(o&&typeof(o.mbase.prototype.toMathML)!=="undefined"){try{a.ShowSource.Text(a.jax.root.toMathML(),r)}catch(p){if(!p.restart){throw p}e.After([this,a.ShowSource,q])}}else{if(!i.loadingToMathML){i.loadingToMathML=true;a.ShowSource.Window(r);e.Queue(i.Require("[MathJax]/extensions/toMathML.js"),function(){delete i.loadingToMathML;if(!o.mbase.prototype.toMathML){o.mbase.prototype.toMathML=function(){}}},[this,a.ShowSource,q]);return}}}else{if(a.jax.originalText==null){alert("No TeX form available");return}a.ShowSource.Text(a.jax.originalText,r)}};a.ShowSource.Window=function(p){if(!a.ShowSource.w){var q=[],o=m.windowSettings;for(var r in o){if(o.hasOwnProperty(r)){q.push(r+"="+o[r])}}a.ShowSource.w=window.open("","_blank",q.join(","))}return a.ShowSource.w};a.ShowSource.Text=function(u,t){var q=a.ShowSource.Window(t);u=u.replace(/^\s*/,"").replace(/\s*$/,"");u=u.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">");if(a.isMobile){q.document.open();q.document.write("<html><head><meta name='viewport' content='width=device-width, initial-scale=1.0' /><title>MathJax Equation Source</title></head><body style='font-size:85%'>");q.document.write("<pre>"+u+"</pre>");q.document.write("<hr><input type='button' value='Close' onclick='window.close()' />");q.document.write("</body></html>");q.document.close()}else{q.document.open();q.document.write("<html><head><title>MathJax Equation Source</title></head><body style='font-size:85%'>");q.document.write("<table><tr><td><pre>"+u+"</pre></td></tr></table>");q.document.write("</body></html>");q.document.close();var s=q.document.body.firstChild;var r=(q.outerHeight-q.innerHeight)||30,p=(q.outerWidth-q.innerWidth)||30;p=Math.min(Math.floor(0.5*screen.width),s.offsetWidth+p+25);r=Math.min(Math.floor(0.5*screen.height),s.offsetHeight+r+25);q.resizeTo(p,r);if(t&&t.screenX!=null){var o=Math.max(0,Math.min(t.screenX-Math.floor(p/2),screen.width-p-20)),v=Math.max(0,Math.min(t.screenY-Math.floor(r/2),screen.height-r-20));q.moveTo(o,v)}}delete a.ShowSource.w};a.Scale=function(){var p=b["HTML-CSS"],o=b.NativeMML;var r=(p?p.config.scale:o.config.scale);var q=prompt("Scale all mathematics (compared to surrounding text) by",r+"%");if(q){if(q.match(/^\s*\d+\s*%?\s*$/)){q=parseInt(q);if(q){if(q!==r){if(p){p.config.scale=q}if(o){o.config.scale=q}a.cookie.scale=q;a.saveCookie();c.Reprocess()}}else{alert("The scale should not be zero")}}else{alert("The scale should be a perentage (e.g., 120%)")}}};a.Zoom=function(){if(!MathJax.Extension.MathZoom){i.Require("[MathJax]/extensions/MathZoom.js")}};a.Renderer=function(){var o=c.config.outputJax["jax/mml"];if(o[0]!==m.settings.renderer){e.Queue(["Require",i,"[MathJax]/jax/output/"+m.settings.renderer+"/config.js"],["Post",c.Startup.signal,m.settings.renderer+" output selected"],[function(){var r=b[m.settings.renderer];for(var q=0,p=o.length;q<p;q++){if(o[q]===r){o.splice(q,1);break}}o.unshift(r)}],["Reprocess",c])}};a.Font=function(){var o=b["HTML-CSS"];if(!o){return}document.location.reload()};c.Browser.Select({MSIE:function(o){var p=(document.compatMode==="BackCompat");var q=o.versionAtLeast("8.0")&&document.documentMode>7;a.Augment({margin:20,msieBackgroundBug:(p||!q),msieAboutBug:p});if(document.documentMode>=9){delete m.styles["#MathJax_About"].filter;delete m.styles[".MathJax_Menu"].filter}},Firefox:function(o){a.skipMouseover=o.isMobile&&o.versionAtLeast("6.0");a.skipMousedown=o.isMobile}});a.isMobile=c.Browser.isMobile;a.noContextMenu=c.Browser.noContextMenu;c.Register.StartupHook("End Config",function(){m.settings=c.config.menuSettings;if(typeof(m.settings.showRenderer)!=="undefined"){m.showRenderer=m.settings.showRenderer}if(typeof(m.settings.showFontMenu)!=="undefined"){m.showFontMenu=m.settings.showFontMenu}if(typeof(m.settings.showContext)!=="undefined"){m.showContext=m.settings.showContext}a.getCookie();a.menu=a(k.SUBMENU("Show Math As",k.COMMAND("MathML Code",a.ShowSource,{nativeTouch:true,format:"MathML"}),k.COMMAND("Original Form",a.ShowSource,{nativeTouch:true})),k.RULE(),k.SUBMENU("Math Settings",k.SUBMENU("Zoom Trigger",k.RADIO("Hover","zoom",{action:a.Zoom}),k.RADIO("Click","zoom",{action:a.Zoom}),k.RADIO("Double-Click","zoom",{action:a.Zoom}),k.RADIO("No Zoom","zoom",{value:"None"}),k.RULE(),k.LABEL("Trigger Requires:"),k.CHECKBOX((c.Browser.isMac?"Option":"Alt"),"ALT"),k.CHECKBOX("Command","CMD",{hidden:!c.Browser.isMac}),k.CHECKBOX("Control","CTRL",{hidden:c.Browser.isMac}),k.CHECKBOX("Shift","Shift")),k.SUBMENU("Zoom Factor",k.RADIO("125%","zscale"),k.RADIO("133%","zscale"),k.RADIO("150%","zscale"),k.RADIO("175%","zscale"),k.RADIO("200%","zscale"),k.RADIO("250%","zscale"),k.RADIO("300%","zscale"),k.RADIO("400%","zscale")),k.RULE(),k.SUBMENU("Math Renderer",{hidden:!m.showRenderer},k.RADIO("HTML-CSS","renderer",{action:a.Renderer}),k.RADIO("MathML","renderer",{action:a.Renderer,value:"NativeMML"})),k.SUBMENU("Font Preference",{hidden:!m.showFontMenu},k.LABEL("For HTML-CSS:"),k.RADIO("Auto","font",{action:a.Font}),k.RULE(),k.RADIO("TeX (local)","font",{action:a.Font}),k.RADIO("TeX (web)","font",{action:a.Font}),k.RADIO("TeX (image)","font",{action:a.Font}),k.RULE(),k.RADIO("STIX (local)","font",{action:a.Font})),k.SUBMENU("Contextual Menu",{hidden:!m.showContext},k.RADIO("MathJax","context"),k.RADIO("Browser","context")),k.COMMAND("Scale All Math ...",a.Scale),k.RULE(),k.CHECKBOX("Highlight on Hover","discoverable")),k.RULE(),k.COMMAND("About MathJax",a.About),k.COMMAND("MathJax Help",a.Help))});a.showRenderer=function(o){a.cookie.showRenderer=m.showRenderer=o;a.saveCookie();a.menu.Find("Math Settings","Math Renderer").hidden=!o};a.showFontMenu=function(o){a.cookie.showFontMenu=m.showFontMenu=o;a.saveCookie();a.menu.Find("Math Settings","Font Preference").hidden=!o};a.showContext=function(o){a.cookie.showContext=m.showContext=o;a.saveCookie();a.menu.Find("Math Settings","Contextual Menu").hidden=!o};if(a.isMobile){(function(){var p=m.settings;var o=a.menu.Find("Math Settings","Zoom Trigger").menu;o.items[0].disabled=o.items[1].disabled=true;if(p.zoom==="Hover"||p.zoom=="Click"){p.zoom="None"}o.items=o.items.slice(0,4);if(navigator.appVersion.match(/[ (]Android[) ]/)){a.ITEM.SUBMENU.Augment({marker:"\u00BB"})}})()}e.Queue(c.Register.StartupHook("End Config",{}),["getImages",a],["Styles",i,m.styles],["Post",c.Startup.signal,"MathMenu Ready"],["loadComplete",i,"[MathJax]/extensions/MathMenu.js"])})(MathJax.Hub,MathJax.HTML,MathJax.Ajax,MathJax.CallBack,MathJax.OutputJax);
|
|
|
|
MathJax.ElementJax.mml=MathJax.ElementJax({mimeType:"jax/mml"},{id:"mml",version:"1.1.1",directory:MathJax.ElementJax.directory+"/mml",extensionDir:MathJax.ElementJax.extensionDir+"/mml",optableDir:MathJax.ElementJax.directory+"/mml/optable"});MathJax.ElementJax.mml.Augment({Init:function(){if(arguments.length===1&&arguments[0].type==="math"){this.root=arguments[0]}else{this.root=MathJax.ElementJax.mml.math.apply(this,arguments)}if(this.root.mode){if(!this.root.display&&this.root.mode==="display"){this.root.display="block"}delete this.root.mode}}},{INHERIT:"_inherit_",AUTO:"_auto_",SIZE:{INFINITY:"infinity",SMALL:"small",NORMAL:"normal",BIG:"big"},COLOR:{TRANSPARENT:"transparent"},VARIANT:{NORMAL:"normal",BOLD:"bold",ITALIC:"italic",BOLDITALIC:"bold-italic",DOUBLESTRUCK:"double-struck",FRAKTUR:"fraktur",BOLDFRAKTUR:"bold-fraktur",SCRIPT:"script",BOLDSCRIPT:"bold-script",SANSSERIF:"sans-serif",BOLDSANSSERIF:"bold-sans-serif",SANSSERIFITALIC:"sans-serif-italic",SANSSERIFBOLDITALIC:"sans-serif-bold-italic",MONOSPACE:"monospace",INITIAL:"inital",TAILED:"tailed",LOOPED:"looped",STRETCHED:"stretched",CALIGRAPHIC:"-tex-caligraphic",OLDSTYLE:"-tex-oldstyle"},FORM:{PREFIX:"prefix",INFIX:"infix",POSTFIX:"postfix"},LINEBREAK:{AUTO:"auto",NEWLINE:"newline",NOBREAK:"nobreak",GOODBREAK:"goodbreak",BADBREAK:"badbreak"},LINEBREAKSTYLE:{BEFORE:"before",AFTER:"after",DUPLICATE:"duplicate",INFIXLINBREAKSTYLE:"infixlinebreakstyle"},INDENTALIGN:{LEFT:"left",CENTER:"center",RIGHT:"right",AUTO:"auto",ID:"id",INDENTALIGN:"indentalign"},INDENTSHIFT:{INDENTSHIFT:"indentshift"},LINETHICKNESS:{THIN:"thin",MEDIUM:"medium",THICK:"thick"},NOTATION:{LONGDIV:"longdiv",ACTUARIAL:"actuarial",RADICAL:"radical",BOX:"box",ROUNDEDBOX:"roundedbox",CIRCLE:"circle",LEFT:"left",RIGHT:"right",TOP:"top",BOTTOM:"bottom",UPDIAGONALSTRIKE:"updiagonalstrike",DOWNDIAGONALSTRIKE:"downdiagonalstrike",VERTICALSTRIKE:"verticalstrike",HORIZONTALSTRIKE:"horizontalstrike",MADRUWB:"madruwb"},ALIGN:{TOP:"top",BOTTOM:"bottom",CENTER:"center",BASELINE:"baseline",AXIS:"axis",LEFT:"left",RIGHT:"right"},LINES:{NONE:"none",SOLID:"solid",DASHED:"dashed"},SIDE:{LEFT:"left",RIGHT:"right",LEFTOVERLAP:"leftoverlap",RIGHTOVERLAP:"rightoverlap"},WIDTH:{AUTO:"auto",FIT:"fit"},ACTIONTYPE:{TOGGLE:"toggle",STATUSLINE:"statusline",TOOLTIP:"tooltip",INPUT:"input"},LENGTH:{VERYVERYTHINMATHSPACE:"veryverythinmathspace",VERYTHINMATHSPACE:"verythinmathspace",THINMATHSPACE:"thinmathspace",MEDIUMMATHSPACE:"mediummathspace",THICKMATHSPACE:"thickmathspace",VERYTHICKMATHSPACE:"verythickmathspace",VERYVERYTHICKMATHSPACE:"veryverythickmathspace",NEGATIVEVERYVERYTHINMATHSPACE:"negativeveryverythinmathspace",NEGATIVEVERYTHINMATHSPACE:"negativeverythinmathspace",NEGATIVETHINMATHSPACE:"negativethinmathspace",NEGATIVEMEDIUMMATHSPACE:"negativemediummathspace",NEGATIVETHICKMATHSPACE:"negativethickmathspace",NEGATIVEVERYTHICKMATHSPACE:"negativeverythickmathspace",NEGATIVEVERYVERYTHICKMATHSPACE:"negativeveryverythickmathspace"},OVERFLOW:{LINBREAK:"linebreak",SCROLL:"scroll",ELIDE:"elide",TRUNCATE:"truncate",SCALE:"scale"},UNIT:{EM:"em",EX:"ex",PX:"px",IN:"in",CM:"cm",MM:"mm",PT:"pt",PC:"pc"},TEXCLASS:{ORD:0,OP:1,BIN:2,REL:3,OPEN:4,CLOSE:5,PUNCT:6,INNER:7,VCENTER:8,NONE:-1},PLANE1:String.fromCharCode(55349)});(function(a){var d=false;var b=true;a.mbase=MathJax.Object.Subclass({type:"base",isToken:d,defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT},noInherit:{},Init:function(){this.data=[];if(this.inferRow&&!(arguments.length===1&&arguments[0].inferred)){this.Append(a.mrow().With({inferred:b}))}this.Append.apply(this,arguments)},With:function(f){for(var g in f){if(f.hasOwnProperty(g)){this[g]=f[g]}}return this},Append:function(){if(this.inferRow&&this.data.length){this.data[0].Append.apply(this.data[0],arguments)}else{for(var g=0,f=arguments.length;g<f;g++){this.SetData(this.data.length,arguments[g])}}},SetData:function(f,g){if(g!=null){if(!(g instanceof a.mbase)){g=(this.isToken?a.chars(g):a.mtext(g))}g.parent=this;g.setInherit(this.inheritFromMe?this:this.inherit)}this.data[f]=g},Parent:function(){var f=this.parent;while(f&&f.inferred){f=f.parent}return f},Get:function(g,k){if(typeof(this[g])!=="undefined"){return this[g]}var h=this.Parent();if(h&&h["adjustChild_"+g]!=null){return(h["adjustChild_"+g])(h.childPosition(this))}var j=this.inherit;var f=j;while(j){if(typeof(j[g])!=="undefined"){var i=j.noInherit[this.type];if(!(i&&i[g])){return j[g]}}f=j;j=j.inherit}if(!k){if(this.defaults[g]===a.AUTO){return this.autoDefault(g)}if(this.defaults[g]!==a.INHERIT&&this.defaults[g]!=null){return this.defaults[g]}if(f){return f.defaults[g]}}return null},hasValue:function(f){return(this.Get(f,true)!=null)},getValues:function(){var g={};for(var h=0,f=arguments.length;h<f;h++){g[arguments[h]]=this.Get(arguments[h])}return g},adjustChild_scriptlevel:function(f){return this.Get("scriptlevel")},adjustChild_displaystyle:function(f){return this.Get("displaystyle")},adjustChild_texprimestyle:function(f){return this.Get("texprimestyle")},childPosition:function(h){if(h.parent.inferred){h=h.parent}for(var g=0,f=this.data.length;g<f;g++){if(this.data[g]===h){return g}}return null},setInherit:function(h){if(h!==this.inherit&&this.inherit==null){this.inherit=h;for(var g=0,f=this.data.length;g<f;g++){if(this.data[g]&&this.data[g].setInherit){this.data[g].setInherit(h)}}}},setTeXclass:function(f){this.getPrevClass(f);return(typeof(this.texClass)!=="undefined"?this:f)},getPrevClass:function(f){if(f){this.prevClass=f.Get("texClass");this.prevLevel=f.Get("scriptlevel")}},updateTeXclass:function(f){if(f){this.prevClass=f.prevClass;delete f.prevClass;this.prevLevel=f.prevLevel;delete f.prevLevel;this.texClass=f.Get("texClass")}},texSpacing:function(){var g=(this.prevClass!=null?this.prevClass:a.TEXCLASS.NONE);var f=(this.Get("texClass")||a.TEXCLASS.ORD);if(g===a.TEXCLASS.NONE||f===a.TEXCLASS.NONE){return""}if(g===a.TEXCLASS.VCENTER){g=a.TEXCLASS.ORD}if(f===a.TEXCLASS.VCENTER){f=a.TEXCLASS.ORD}var h=this.TEXSPACE[g][f];if(this.prevLevel>0&&this.Get("scriptlevel")>0&&h>=0){return""}return this.TEXSPACELENGTH[Math.abs(h)]},TEXSPACELENGTH:["",a.LENGTH.THINMATHSPACE,a.LENGTH.MEDIUMMATHSPACE,a.LENGTH.THICKMATHSPACE],TEXSPACE:[[0,-1,2,3,0,0,0,1],[-1,-1,0,3,0,0,0,1],[2,2,0,0,2,0,0,2],[3,3,0,0,3,0,0,3],[0,0,0,0,0,0,0,0],[0,-1,2,3,0,0,0,1],[1,1,0,1,1,1,1,1],[1,-1,2,3,1,0,1,1]],autoDefault:function(f){return""},isSpacelike:function(){return d},isEmbellished:function(){return d},Core:function(){return this},CoreMO:function(){return this},lineBreak:function(){if(this.isEmbellished()){return this.CoreMO().lineBreak()}else{return"none"}},array:function(){if(this.inferred){return this.data}else{return[this]}},toString:function(){return this.type+"("+this.data.join(",")+")"}},{childrenSpacelike:function(){for(var f=0;f<this.data.length;f++){if(!this.data[f].isSpacelike()){return d}}return b},childEmbellished:function(){return(this.data[0]&&this.data[0].isEmbellished())},childCore:function(){return this.data[0]},childCoreMO:function(){return(this.data[0]?this.data[0].CoreMO():null)},setChildTeXclass:function(f){if(this.data[0]){f=this.data[0].setTeXclass(f);this.updateTeXclass(this.data[0])}return f},setBaseTeXclasses:function(h){this.getPrevClass(h);this.texClass=null;if(this.isEmbellished()){h=this.data[0].setTeXclass(h);this.updateTeXclass(this.Core())}else{if(this.data[0]){this.data[0].setTeXclass()}h=this}for(var g=1,f=this.data.length;g<f;g++){if(this.data[g]){this.data[g].setTeXclass()}}return h},setSeparateTeXclasses:function(h){this.getPrevClass(h);for(var g=0,f=this.data.length;g<f;g++){if(this.data[g]){this.data[g].setTeXclass()}}if(this.isEmbellished()){this.updateTeXclass(this.Core())}return this}});a.mi=a.mbase.Subclass({type:"mi",isToken:b,texClass:a.TEXCLASS.ORD,defaults:{mathvariant:a.AUTO,mathsize:a.INHERIT,mathbackground:a.INHERIT,mathcolor:a.INHERIT},autoDefault:function(g){if(g==="mathvariant"){var f=(this.data[0]||"").toString();return(f.length===1||(f.length===2&&f.charCodeAt(0)===this.PLANE1)?a.VARIANT.ITALIC:a.VARIANT.NORMAL)}return""}});a.mn=a.mbase.Subclass({type:"mn",isToken:b,texClass:a.TEXCLASS.ORD,defaults:{mathvariant:a.INHERIT,mathsize:a.INHERIT,mathbackground:a.INHERIT,mathcolor:a.INHERIT}});a.mo=a.mbase.Subclass({type:"mo",isToken:b,defaults:{mathvariant:a.INHERIT,mathsize:a.INHERIT,mathbackground:a.INHERIT,mathcolor:a.INHERIT,form:a.AUTO,fence:a.AUTO,separator:a.AUTO,lspace:a.AUTO,rspace:a.AUTO,stretchy:a.AUTO,symmetric:a.AUTO,maxsize:a.AUTO,minsize:a.AUTO,largeop:a.AUTO,movablelimits:a.AUTO,accent:a.AUTO,linebreak:a.LINEBREAK.AUTO,lineleading:a.INHERIT,linebreakstyle:a.AUTO,linebreakmultchar:a.INHERIT,indentalign:a.INHERIT,indentshift:a.INHERIT,indenttarget:a.INHERIT,indentalignfirst:a.INHERIT,indentshiftfirst:a.INHERIT,indentalignlast:a.INHERIT,indentshiftlast:a.INHERIT,texClass:a.AUTO},defaultDef:{form:a.FORM.INFIX,fence:d,separator:d,lspace:a.LENGTH.THICKMATHSPACE,rspace:a.LENGTH.THICKMATHSPACE,stretchy:d,symmetric:b,maxsize:a.SIZE.INFINITY,minsize:"0em",largeop:d,movablelimits:d,accent:d,linebreak:a.LINEBREAK.AUTO,lineleading:"1ex",linebreakstyle:"before",indentalign:a.INDENTALIGN.AUTO,indentshift:"0",indenttarget:"",indentalignfirst:a.INDENTALIGN.INDENTALIGN,indentshiftfirst:a.INDENTSHIFT.INDENTSHIFT,indentalignlast:a.INDENTALIGN.INDENTALIGN,indentshiftlast:a.INDENTSHIFT.INDENTSHIFT,texClass:a.TEXCLASS.REL},SPACE_ATTR:{lspace:1,rspace:2,form:4},useMMLspacing:7,autoDefault:function(h,o){var n=this.def;if(!n){if(h==="form"){this.useMMLspacing&=~this.SPACE_ATTR.form;return this.getForm()}var l=this.data.join("");var g=[this.Get("form"),a.FORM.INFIX,a.FORM.POSTFIX,a.FORM.PREFIX];for(var j=0,f=g.length;j<f;j++){var k=this.OPTABLE[g[j]][l];if(k){n=this.makeDef(k);break}}if(!n){n=this.CheckRange(l)}if(!n&&o){n={}}else{if(!n){n=MathJax.Hub.Insert({},this.defaultDef)}n.form=g[0];this.def=n}}this.useMMLspacing&=~(this.SPACE_ATTR[h]||0);if(n[h]!=null){return n[h]}else{if(!o){return this.defaultDef[h]}}return""},CheckRange:function(k){var l=k.charCodeAt(0);if(k.charAt(0)===a.PLANE1){l=k.charCodeAt(1)+119808-56320}for(var h=0,f=this.RANGES.length;h<f&&this.RANGES[h][0]<=l;h++){if(l<=this.RANGES[h][1]){if(this.RANGES[h][3]){var g=a.optableDir+"/"+this.RANGES[h][3]+".js";this.RANGES[h][3]=null;MathJax.Hub.RestartAfter(MathJax.Ajax.Require(g))}var j=(["ORD","OP","BIN","REL","OPEN","CLOSE","PUNCT","INNER"])[this.RANGES[h][2]];j=this.OPTABLE.infix[k]=a.mo.OPTYPES[j==="BIN"?"BIN3":j];return this.makeDef(j)}}return null},makeDef:function(g){if(g[2]==null){g[2]=this.defaultDef.texClass}if(!g[3]){g[3]={}}var f=MathJax.Hub.Insert({},g[3]);f.lspace=this.SPACE[g[0]];f.rspace=this.SPACE[g[1]];f.texClass=g[2];return f},getForm:function(){var f=this,h=this.parent,g=this.Parent();while(g&&g.isEmbellished()){f=h;h=g.parent;g=g.Parent()}if(h&&h.type==="mrow"&&h.NonSpaceLength()!==1){if(h.FirstNonSpace()===f){return a.FORM.PREFIX}if(h.LastNonSpace()===f){return a.FORM.POSTFIX}}return a.FORM.INFIX},isEmbellished:function(){return b},lineBreak:function(){var f=this.getValues("linebreak","linebreakstyle");if(f.linebreak===a.LINEBREAK.NEWLINE){if(f.linebreakstyle===a.LINEBREAKSTYLE.INFIXLINEBREAKSTYLE){f.linebreakstyle=this.Get("infixlinebreakstyle")}return f.linebreakstyle}return"none"},setTeXclass:function(f){this.getValues("lspace","rspace");if(this.useMMLspacing){this.texClass=a.TEXCLASS.NONE;return this}this.texClass=this.Get("texClass");if(f){this.prevClass=f.texClass||a.TEXCLASS.ORD;this.prevLevel=f.Get("scriptlevel")}else{this.prevClass=a.TEXCLASS.NONE}if(this.texClass===a.TEXCLASS.BIN&&(this.prevClass===a.TEXCLASS.NONE||this.prevClass===a.TEXCLASS.BIN||this.prevClass===a.TEXCLASS.OP||this.prevClass===a.TEXCLASS.REL||this.prevClass===a.TEXCLASS.OPEN||this.prevClass===a.TEXCLASS.PUNCT)){this.texClass=a.TEXCLASS.ORD}else{if(this.prevClass===a.TEXCLASS.BIN&&(this.texClass===a.TEXCLASS.REL||this.texClass===a.TEXCLASS.CLOSE||this.texClass===a.TEXCLASS.PUNCT)){f.texClass=this.prevClass=a.TEXCLASS.ORD}}return this}});a.mtext=a.mbase.Subclass({type:"mtext",isToken:b,isSpacelike:function(){return b},texClass:a.TEXCLASS.ORD,defaults:{mathvariant:a.INHERIT,mathsize:a.INHERIT,mathbackground:a.INHERIT,mathcolor:a.INHERIT}});a.mspace=a.mbase.Subclass({type:"mspace",isToken:b,isSpacelike:function(){return b},defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,width:"0em",height:"0ex",depth:"0ex",linebreak:a.LINEBREAK.AUTO},lineBreak:function(){return(this.Get("linebreak")===a.LINEBREAK.NEWLINE?a.LINEBREAKSTYLE.AFTER:"none")}});a.ms=a.mbase.Subclass({type:"ms",isToken:b,texClass:a.TEXCLASS.ORD,defaults:{mathvariant:a.INHERIT,mathsize:a.INHERIT,mathbackground:a.INHERIT,mathcolor:a.INHERIT,lquote:'"',rquote:'"'}});a.mglyph=a.mbase.Subclass({type:"mglyph",isToken:b,texClass:a.TEXCLASS.ORD,defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,alt:"",src:"",width:a.AUTO,height:a.AUTO,valign:"0em"}});a.mrow=a.mbase.Subclass({type:"mrow",isSpacelike:a.mbase.childrenSpacelike,inferred:d,isEmbellished:function(){var g=d;for(var h=0,f=this.data.length;h<f;h++){if(this.data[h]==null){continue}if(this.data[h].isEmbellished()){if(g){return d}g=b;this.core=h}else{if(!this.data[h].isSpacelike()){return d}}}return g},NonSpaceLength:function(){var h=0;for(var g=0,f=this.data.length;g<f;g++){if(this.data[g]&&!this.data[g].isSpacelike()){h++}}return h},FirstNonSpace:function(){for(var g=0,f=this.data.length;g<f;g++){if(this.data[g]&&!this.data[g].isSpacelike()){return this.data[g]}}return null},LastNonSpace:function(){for(var f=this.data.length-1;f>=0;f--){if(this.data[0]&&!this.data[f].isSpacelike()){return this.data[f]}}return null},Core:function(){if(!(this.isEmbellished())||typeof(this.core)==="undefined"){return this}return this.data[this.core]},CoreMO:function(){if(!(this.isEmbellished())||typeof(this.core)==="undefined"){return this}return this.data[this.core].CoreMO()},toString:function(){if(this.inferred){return"["+this.data.join(",")+"]"}return this.SUPER(arguments).toString.call(this)},setTeXclass:function(h){for(var g=0,f=this.data.length;g<f;g++){if(this.data[g]){h=this.data[g].setTeXclass(h)}}if(this.data[0]){this.updateTeXclass(this.data[0])}return h}});a.mfrac=a.mbase.Subclass({type:"mfrac",num:0,den:1,texClass:a.TEXCLASS.INNER,isEmbellished:a.mbase.childEmbellished,Core:a.mbase.childCore,CoreMO:a.mbase.childCoreMO,defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,linethickness:a.LINETHICKNESS.MEDIUM,numalign:a.ALIGN.CENTER,denomalign:a.ALIGN.CENTER,bevelled:d},adjustChild_displaystyle:function(f){return d},adjustChild_scriptlevel:function(g){var f=this.Get("scriptlevel");if(!this.Get("displaystyle")||f>0){f++}return f},adjustChild_texprimestyle:function(f){if(f==this.den){return true}return this.Get("texprimestyle")},setTeXclass:a.mbase.setSeparateTeXclasses});a.msqrt=a.mbase.Subclass({type:"msqrt",inferRow:b,texClass:a.TEXCLASS.ORD,setTeXclass:a.mbase.setSeparateTeXclasses,adjustChild_texprimestyle:function(f){return b}});a.mroot=a.mbase.Subclass({type:"mroot",texClass:a.TEXCLASS.ORD,adjustChild_displaystyle:function(f){if(f===1){return d}return this.Get("displaystyle")},adjustChild_scriptlevel:function(g){var f=this.Get("scriptlevel");if(g===1){f+=2}return f},adjustChild_texprimestyle:function(f){if(f===0){return b}return this.Get("texprimestyle")},setTeXclass:a.mbase.setSeparateTeXclasses});a.mstyle=a.mbase.Subclass({type:"mstyle",isSpacelike:a.mbase.childrenSpacelike,isEmbellished:a.mbase.childEmbellished,Core:a.mbase.childCore,CoreMO:a.mbase.childCoreMO,inferRow:b,defaults:{scriptlevel:a.INHERIT,displaystyle:a.INHERIT,scriptsizemultiplier:Math.sqrt(1/2),scriptminsize:"8pt",mathbackground:a.INHERIT,mathcolor:a.INHERIT,infixlinebreakstyle:a.LINEBREAKSTYLE.BEFORE,decimalseparator:"."},adjustChild_scriptlevel:function(h){var g=this.scriptlevel;if(g==null){g=this.Get("scriptlevel")}else{if(String(g).match(/^ *[-+]/)){delete this.scriptlevel;var f=this.Get("scriptlevel");this.scriptlevel=g;g=f+parseInt(g)}}return g},inheritFromMe:b,noInherit:{mpadded:{width:b,height:b,depth:b,lspace:b,voffset:b},mtable:{width:b,height:b,depth:b,align:b}},setTeXclass:a.mbase.setChildTeXclass});a.merror=a.mbase.Subclass({type:"merror",inferRow:b,texClass:a.TEXCLASS.ORD});a.mpadded=a.mbase.Subclass({type:"mpadded",inferRow:b,isSpacelike:a.mbase.childrenSpacelike,isEmbellished:a.mbase.childEmbellished,Core:a.mbase.childCore,CoreMO:a.mbase.childCoreMO,defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,width:"",height:"",depth:"",lspace:0,voffset:0},setTeXclass:a.mbase.setChildTeXclass});a.mphantom=a.mbase.Subclass({type:"mphantom",texClass:a.TEXCLASS.ORD,inferRow:b,isSpacelike:a.mbase.childrenSpacelike,isEmbellished:a.mbase.childEmbellished,Core:a.mbase.childCore,CoreMO:a.mbase.childCoreMO,setTeXclass:a.mbase.setChildTeXclass});a.mfenced=a.mbase.Subclass({type:"mfenced",defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,open:"(",close:")",separators:","},texClass:a.TEXCLASS.OPEN,setTeXclass:function(j){this.getPrevClass(j);var g=this.getValues("open","close","separators");g.open=g.open.replace(/[ \t\n\r]/g,"");g.close=g.close.replace(/[ \t\n\r]/g,"");g.separators=g.separators.replace(/[ \t\n\r]/g,"");if(g.open!==""){this.SetData("open",a.mo(g.open).With({stretchy:true,texClass:a.TEXCLASS.OPEN}));j=this.data.open.setTeXclass(j)}if(g.separators!==""){while(g.separators.length<this.data.length){g.separators+=g.separators.charAt(g.separators.length-1)}}if(this.data[0]){j=this.data[0].setTeXclass(j)}for(var h=1,f=this.data.length;h<f;h++){if(this.data[h]){if(g.separators!==""){this.SetData("sep"+h,a.mo(g.separators.charAt(h-1)));j=this.data["sep"+h].setTeXclass(j)}j=this.data[h].setTeXclass(j)}}if(g.close!==""){this.SetData("close",a.mo(g.close).With({stretchy:true,texClass:a.TEXCLASS.CLOSE}));j=this.data.close.setTeXclass(j)}this.updateTeXclass(this.data.open);return j}});a.menclose=a.mbase.Subclass({type:"menclose",inferRow:b,defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,notation:a.NOTATION.LONGDIV,texClass:a.TEXCLASS.ORD},setTeXclass:a.mbase.setSeparateTeXclasses});a.msubsup=a.mbase.Subclass({type:"msubsup",base:0,sub:1,sup:2,isEmbellished:a.mbase.childEmbellished,Core:a.mbase.childCore,CoreMO:a.mbase.childCoreMO,defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,subscriptshift:"",superscriptshift:"",texClass:a.AUTO},autoDefault:function(f){if(f==="texClass"){return(this.isEmbellished()?this.CoreMO().Get(f):a.TEXCLASS.ORD)}return 0},adjustChild_displaystyle:function(f){if(f>0){return d}return this.Get("displaystyle")},adjustChild_scriptlevel:function(g){var f=this.Get("scriptlevel");if(g>0){f++}return f},adjustChild_texprimestyle:function(f){if(f===this.sub){return b}return this.Get("texprimestyle")},setTeXclass:a.mbase.setBaseTeXclasses});a.msub=a.msubsup.Subclass({type:"msub"});a.msup=a.msubsup.Subclass({type:"msup",sub:2,sup:1});a.mmultiscripts=a.msubsup.Subclass({type:"mmultiscripts",adjustChild_texprimestyle:function(f){if(f%2===1){return b}return this.Get("texprimestyle")}});a.mprescripts=a.mbase.Subclass({type:"mprescripts"});a.none=a.mbase.Subclass({type:"none"});a.munderover=a.mbase.Subclass({type:"munderover",base:0,under:1,over:2,sub:1,sup:2,ACCENTS:["","accentunder","accent"],isEmbellished:a.mbase.childEmbellished,Core:a.mbase.childCore,CoreMO:a.mbase.childCoreMO,defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,accent:a.AUTO,accentunder:a.AUTO,align:a.ALIGN.CENTER,texClass:a.AUTO,subscriptshift:"",superscriptshift:""},autoDefault:function(f){if(f==="texClass"){return(this.isEmbellished()?this.CoreMO().Get(f):a.TEXCLASS.ORD)}if(f==="accent"&&this.data[this.over]){return this.data[this.over].CoreMO().Get("accent")}if(f==="accentunder"&&this.data[this.under]){return this.data[this.under].CoreMO().Get("accent")}return d},adjustChild_displaystyle:function(f){if(f>0){return d}return this.Get("displaystyle")},adjustChild_scriptlevel:function(g){var f=this.Get("scriptlevel");if(g==this.under&&!this.Get("accentunder")){f++}if(g==this.over&&!this.Get("accent")){f++}return f},adjustChild_texprimestyle:function(f){if(f===this.base&&this.data[this.over]){return b}return this.Get("texprimestyle")},setTeXclass:a.mbase.setBaseTeXclasses});a.munder=a.munderover.Subclass({type:"munder"});a.mover=a.munderover.Subclass({type:"mover",over:1,under:2,sup:1,sub:2,ACCENTS:["","accent","accentunder"]});a.mtable=a.mbase.Subclass({type:"mtable",defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,align:a.ALIGN.AXIS,rowalign:a.ALIGN.BASELINE,columnalign:a.ALIGN.CENTER,groupalign:"{left}",alignmentscope:b,columnwidth:a.WIDTH.AUTO,width:a.WIDTH.AUTO,rowspacing:"1ex",columnspacing:".8em",rowlines:a.LINES.NONE,columnlines:a.LINES.NONE,frame:a.LINES.NONE,framespacing:"0.4em 0.5ex",equalrows:d,equalcolumns:d,displaystyle:d,side:a.SIDE.RIGHT,minlabelspacing:"0.8em",texClass:a.TEXCLASS.ORD,useHeight:1},inheritFromMe:b,noInherit:{mtable:{align:b,rowalign:b,columnalign:b,groupalign:b,alignmentscope:b,columnwidth:b,width:b,rowspacing:b,columnspacing:b,rowlines:b,columnlines:b,frame:b,framespacing:b,equalrows:b,equalcolumns:b,side:b,minlabelspacing:b,texClass:b,useHeight:1}},Append:function(){for(var g=0,f=arguments.length;g<f;g++){if(!((arguments[g] instanceof a.mtr)||(arguments[g] instanceof a.mlabeledtr))){arguments[g]=a.mtd(arguments[g])}}this.SUPER(arguments).Append.apply(this,arguments)},setTeXclass:a.mbase.setSeparateTeXclasses});a.mtr=a.mbase.Subclass({type:"mtr",defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,rowalign:a.INHERIT,columnalign:a.INHERIT,groupalign:a.INHERIT},inheritFromMe:b,noInherit:{mrow:{rowalign:b,columnalign:b,groupalign:b},mtable:{rowalign:b,columnalign:b,groupalign:b}},Append:function(){for(var g=0,f=arguments.length;g<f;g++){if(!(arguments[g] instanceof a.mtd)){arguments[g]=a.mtd(arguments[g])}}this.SUPER(arguments).Append.apply(this,arguments)},setTeXclass:a.mbase.setSeparateTeXclasses});a.mtd=a.mbase.Subclass({type:"mtd",inferRow:b,isEmbellished:a.mbase.childEmbellished,Core:a.mbase.childCore,CoreMO:a.mbase.childCoreMO,defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,rowspan:1,columnspan:1,rowalign:a.INHERIT,columnalign:a.INHERIT,groupalign:a.INHERIT},setTeXclass:a.mbase.setSeparateTeXclasses});a.maligngroup=a.mbase.Subclass({type:"malign",isSpacelike:function(){return b},defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,groupalign:a.INHERIT},inheritFromMe:b,noInherit:{mrow:{groupalign:b},mtable:{groupalign:b}}});a.malignmark=a.mbase.Subclass({type:"malignmark",defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,edge:a.SIDE.LEFT},isSpacelike:function(){return b}});a.mlabeledtr=a.mtr.Subclass({type:"mlabeledtr"});a.maction=a.mbase.Subclass({type:"maction",defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,actiontype:a.ACTIONTYPE.TOGGLE,selection:1},selected:function(){return this.data[this.Get("selection")-1]||a.NULL},isEmbellished:function(){return this.selected().isEmbellished()},isSpacelike:function(){return this.selected().isSpacelike()},Core:function(){return this.selected().Core()},CoreMO:function(){return this.selected().CoreMO()},setTeXclass:function(f){return this.selected().setTeXclass(f)}});a.semantics=a.mbase.Subclass({type:"semantics",isEmbellished:a.mbase.childEmbellished,Core:a.mbase.childCore,CoreMO:a.mbase.childCoreMO,defaults:{definitionURL:null,encoding:null},setTeXclass:a.mbase.setChildTeXclass});a.annotation=a.mbase.Subclass({type:"annotation",isToken:b,defaults:{definitionURL:null,encoding:null,cd:"mathmlkeys",name:"",src:null}});a["annotation-xml"]=a.mbase.Subclass({type:"annotation-xml",defaults:{definitionURL:null,encoding:null,cd:"mathmlkeys",name:"",src:null}});a.math=a.mstyle.Subclass({type:"math",defaults:{mathvariant:a.VARIANT.NORMAL,mathsize:a.SIZE.NORMAL,mathcolor:"",mathbackground:a.COLOR.TRANSPARENT,scriptlevel:0,displaystyle:a.AUTO,display:"inline",maxwidth:"",overflow:a.OVERFLOW.LINEBREAK,altimg:"","altimg-width":"","altimg-height":"","altimg-valign":"",alttext:"",cdgroup:"",scriptsizemultiplier:Math.sqrt(1/2),scriptminsize:"8px",infixlinebreakstyle:a.LINEBREAKSTYLE.BEFORE,lineleading:"1ex",indentshift:"auto",indentalign:a.INDENTALIGN.AUTO,indentalignfirst:a.INDENTALIGN.INDENTALIGN,indentshiftfirst:a.INDENTSHIFT.INDENTSHIFT,decimalseparator:".",texprimestyle:d},autoDefault:function(f){if(f==="displaystyle"){return this.Get("display")==="block"}return""},setTeXclass:a.mbase.setChildTeXclass});a.chars=a.mbase.Subclass({type:"chars",Append:function(){this.data.push.apply(this.data,arguments)},value:function(){return this.data.join("")},toString:function(){return this.data.join("")}});a.entity=a.mbase.Subclass({type:"entity",Append:function(){this.data.push.apply(this.data,arguments)},value:function(){if(this.data[0].substr(0,2)==="#x"){return parseInt(this.data[0].substr(2),16)}else{if(this.data[0].substr(0,1)==="#"){return parseInt(this.data[0].substr(1))}else{return 0}}},toString:function(){var f=this.value();if(f<=65535){return String.fromCharCode(f)}return this.PLANE1+String.fromCharCode(f-119808+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 g=0,f=arguments.length;g<f;g++){var h=this.Import(arguments[g]);this.data.push(h);this.div.appendChild(h)}},Import:function(k){if(document.importNode){return document.importNode(k,true)}var g,h,f;if(k.nodeType===1){g=document.createElement(k.nodeName);if(k.className){g.className=iNode.className}for(h=0,f=k.attributes.length;h<f;h++){var j=k.attributes[h];if(j.specified&&j.nodeValue!=null&&j.nodeValue!=""){g.setAttribute(j.nodeName,j.nodeValue)}if(j.nodeName==="style"){g.style.cssText=j.nodeValue}}if(k.className){g.className=k.className}}else{if(k.nodeType===3||k.nodeType===4){g=document.createTextNode(k.nodeValue)}else{if(k.nodeType===8){g=document.createComment(k.nodeValue)}else{return document.createTextNode("")}}}for(h=0,f=k.childNodes.length;h<f;h++){g.appendChild(this.Import(k.childNodes[h]))}return g},value:function(){return this.div},toString:function(){return this.div.innerHTML}});a.TeXAtom=a.mbase.Subclass({type:"texatom",inferRow:b,texClass:a.TEXCLASS.ORD,setTeXclass:function(f){this.getPrevClass(f);this.data[0].setTeXclass();return this}});a.NULL=a.mbase().With({type:"null"});var c=a.TEXCLASS;var e={ORD:[0,0,c.ORD],ORD11:[1,1,c.ORD],ORD21:[2,1,c.ORD],ORD02:[0,2,c.ORD],ORD55:[5,5,c.ORD],OP:[1,2,c.OP,{largeop:true,movablelimits:true,symmetric:true}],OPFIXED:[1,2,c.OP,{largeop:true,movablelimits:true}],INTEGRAL:[0,1,c.OP,{largeop:true,symmetric:true}],INTEGRAL2:[1,2,c.OP,{largeop:true,symmetric:true}],BIN3:[3,3,c.BIN],BIN4:[4,4,c.BIN],BIN01:[0,1,c.BIN],TALLBIN:[4,4,c.BIN,{stretchy:true}],BINOP:[4,4,c.BIN,{largeop:true,movablelimits:true}],REL:[5,5,c.REL],REL1:[1,1,c.REL,{stretchy:true}],REL4:[4,4,c.REL],WIDEREL:[5,5,c.REL,{stretchy:true}],RELACCENT:[5,5,c.REL,{accent:true,stretchy:true}],OPEN:[0,0,c.OPEN,{fence:true,stretchy:true,symmetric:true}],CLOSE:[0,0,c.CLOSE,{fence:true,stretchy:true,symmetric:true}],INNER:[0,0,c.INNER],PUNCT:[0,3,c.PUNCT],ACCENT:[0,0,c.ORD,{accent:true}],WIDEACCENT:[0,0,c.ORD,{accent:true,stretchy:true}]};a.mo.Augment({SPACE:["0em","0.1111em","0.1667em","0.2222em","0.2667em","0.3333em"],RANGES:[[32,127,c.REL,"BasicLatin"],[160,255,c.ORD,"Latin1Supplement"],[256,383,c.ORD],[384,591,c.ORD],[688,767,c.ORD,"SpacingModLetters"],[768,879,c.ORD,"CombDiacritMarks"],[880,1023,c.ORD,"GreekAndCoptic"],[7680,7935,c.ORD],[8192,8303,c.PUNCT,"GeneralPunctuation"],[8304,8351,c.ORD],[8352,8399,c.ORD],[8400,8447,c.ORD,"CombDiactForSymbols"],[8448,8527,c.ORD,"LetterlikeSymbols"],[8528,8591,c.ORD],[8592,8703,c.REL,"Arrows"],[8704,8959,c.BIN,"MathOperators"],[8960,9215,c.ORD,"MiscTechnical"],[9312,9471,c.ORD],[9632,9727,c.ORD,"GeometricShapes"],[9984,10175,c.ORD,"Dingbats"],[10176,10223,c.ORD,"MiscMathSymbolsA"],[10496,10623,c.REL,"SupplementalArrowsB"],[10624,10751,c.ORD,"MiscMathSymbolsB"],[10752,11007,c.BIN,"SuppMathOperators"],[11008,11263,c.ORD],[119808,120831,c.ORD]],OPTABLE:{prefix:{"\u2111":e.ORD11,"\u2113":e.ORD11,"\u211C":e.ORD11,"\u2200":e.ORD21,"\u2202":e.ORD21,"\u2203":e.ORD21,"\u2207":e.ORD21,"\u220F":e.OP,"\u2210":e.OP,"\u2211":e.OP,"\u2212":e.BIN01,"\u2213":e.BIN01,"\u221A":[1,1,c.ORD,{stretchy:true}],"\u2220":e.ORD,"\u222B":e.INTEGRAL,"\u222E":e.INTEGRAL,"\u22C0":e.OP,"\u22C1":e.OP,"\u22C2":e.OP,"\u22C3":e.OP,"\u2308":e.OPEN,"\u230A":e.OPEN,"\u27E8":e.OPEN,"\u2A00":e.OP,"\u2A01":e.OP,"\u2A02":e.OP,"\u2A04":e.OP,"\u2A06":e.OP,"\u00AC":e.ORD21,"\u00B1":e.BIN01,"(":e.OPEN,"+":e.BIN01,"-":e.BIN01,"[":e.OPEN,"{":e.OPEN,"|":e.OPEN},postfix:{"!":[1,0,c.CLOSE],"&":e.ORD,"\u2032":e.ORD02,"\u203E":e.WIDEACCENT,"\u2309":e.CLOSE,"\u230B":e.CLOSE,"\u23DE":e.WIDEACCENT,"\u23DF":e.WIDEACCENT,"\u266D":e.ORD02,"\u266E":e.ORD02,"\u266F":e.ORD02,"\u27E9":e.CLOSE,"\u02C6":e.WIDEACCENT,"\u02C7":e.WIDEACCENT,"\u02D8":e.ACCENT,"\u02D9":e.ACCENT,"\u02DC":e.WIDEACCENT,"\u0302":e.ACCENT,"\u00A8":e.ACCENT,"\u00AF":e.WIDEACCENT,")":e.CLOSE,"]":e.CLOSE,"^":e.WIDEACCENT,_:e.WIDEACCENT,"`":e.ACCENT,"|":e.CLOSE,"}":e.CLOSE,"~":e.WIDEACCENT},infix:{"%":[3,3,c.ORD],"\u2022":e.BIN4,"\u2026":e.INNER,"\u2044":e.TALLBIN,"\u2061":e.ORD,"\u2062":e.ORD,"\u2063":[0,0,c.ORD,{separator:true}],"\u2064":e.ORD,"\u2190":e.RELACCENT,"\u2191":e.WIDEREL,"\u2192":e.RELACCENT,"\u2193":e.WIDEREL,"\u2194":e.RELACCENT,"\u2195":e.WIDEREL,"\u2196":e.WIDEREL,"\u2197":e.WIDEREL,"\u2198":e.WIDEREL,"\u2199":e.WIDEREL,"\u21A6":e.WIDEREL,"\u21A9":e.WIDEREL,"\u21AA":e.WIDEREL,"\u21BC":e.RELACCENT,"\u21BD":e.WIDEREL,"\u21C0":e.RELACCENT,"\u21C1":e.WIDEREL,"\u21CC":e.WIDEREL,"\u21D0":e.WIDEREL,"\u21D1":e.WIDEREL,"\u21D2":e.WIDEREL,"\u21D3":e.WIDEREL,"\u21D4":e.WIDEREL,"\u21D5":e.WIDEREL,"\u2208":e.REL,"\u2209":e.REL,"\u220B":e.REL,"\u2212":e.BIN4,"\u2213":e.BIN4,"\u2215":e.TALLBIN,"\u2216":e.BIN4,"\u2217":e.BIN4,"\u2218":e.BIN4,"\u2219":e.BIN4,"\u221D":e.REL,"\u2223":e.REL,"\u2225":e.REL,"\u2227":e.BIN4,"\u2228":e.BIN4,"\u2229":e.BIN4,"\u222A":e.BIN4,"\u223C":e.REL,"\u2240":e.BIN4,"\u2243":e.REL,"\u2245":e.REL,"\u2248":e.REL,"\u224D":e.REL,"\u2250":e.REL,"\u2260":e.REL,"\u2261":e.REL,"\u2264":e.REL,"\u2265":e.REL,"\u226A":e.REL,"\u226B":e.REL,"\u227A":e.REL,"\u227B":e.REL,"\u2282":e.REL,"\u2283":e.REL,"\u2286":e.REL,"\u2287":e.REL,"\u228E":e.BIN4,"\u2291":e.REL,"\u2292":e.REL,"\u2293":e.BIN4,"\u2294":e.BIN4,"\u2295":e.BIN4,"\u2296":e.BIN4,"\u2297":e.BIN4,"\u2298":e.BIN4,"\u2299":e.BIN4,"\u22A2":e.REL,"\u22A3":e.REL,"\u22A4":e.ORD55,"\u22A5":e.REL,"\u22A8":e.REL,"\u22C4":e.BIN4,"\u22C5":e.BIN4,"\u22C6":e.BIN4,"\u22C8":e.REL,"\u22EE":e.ORD55,"\u22EF":e.INNER,"\u22F1":[5,5,c.INNER],"\u2500":[0,0,c.ORD,{stretchy:true}],"\u25B3":e.BIN4,"\u25B5":e.BIN4,"\u25B9":e.BIN4,"\u25BD":e.BIN4,"\u25BF":e.BIN4,"\u25C3":e.BIN4,"\u2758":[4,4,c.REL,{fence:true,stretchy:true,symmetric:true}],"\u27F5":e.REL1,"\u27F6":e.REL1,"\u27F7":e.REL1,"\u27F8":e.REL1,"\u27F9":e.REL1,"\u27FA":e.REL1,"\u2A2F":e.BIN4,"\u2A3F":e.BIN4,"\u2AAF":e.REL,"\u2AB0":e.REL,"\u00B1":e.BIN4,"\u00B7":e.BIN4,"\u00D7":e.BIN4,"\u00F7":e.BIN4,"*":e.BIN3,"+":e.BIN4,",":[0,3,c.PUNCT,{separator:true}],"-":e.BIN4,".":[3,3,c.ORD],"/":e.ORD11,":":[1,2,c.REL],";":[0,3,c.PUNCT,{separator:true}],"<":e.REL,"=":e.REL,">":e.REL,"?":[1,1,c.CLOSE],"\\":e.ORD,_:e.ORD11,"|":[2,2,c.ORD,{fence:true,stretchy:true,symmetric:true}],"#":e.ORD,"$":e.ORD,"\u002E":[0,3,c.PUNCT,{separator:true}],"\u02B9":e.ORD,"\u02C9":e.ACCENT,"\u02CA":e.ACCENT,"\u02CB":e.ACCENT,"\u0300":e.ACCENT,"\u0301":e.ACCENT,"\u0303":e.WIDEACCENT,"\u0304":e.ACCENT,"\u0306":e.ACCENT,"\u0307":e.ACCENT,"\u0308":e.ACCENT,"\u030C":e.ACCENT,"\u0332":e.WIDEACCENT,"\u0338":e.REL4,"\u2015":[0,0,c.ORD,{stretchy:true}],"\u2017":[0,0,c.ORD,{stretchy:true}],"\u2020":e.BIN3,"\u2021":e.BIN3,"\u20D7":e.ACCENT,"\u2118":e.ORD,"\u2205":e.ORD,"\u221E":e.ORD,"\u2305":e.BIN3,"\u2306":e.BIN3,"\u2322":e.REL4,"\u2323":e.REL4,"\u2329":e.OPEN,"\u232A":e.CLOSE,"\u23AA":e.ORD,"\u23AF":[0,0,c.ORD,{stretchy:true}],"\u23B0":e.OPEN,"\u23B1":e.CLOSE,"\u25EF":e.BIN3,"\u2660":e.ORD,"\u2661":e.ORD,"\u2662":e.ORD,"\u2663":e.ORD,"\u27EE":e.OPEN,"\u27EF":e.CLOSE,"\u27FC":e.REL4,"\u3008":e.OPEN,"\u3009":e.CLOSE,"\uFE37":e.WIDEACCENT,"\uFE38":e.WIDEACCENT}}},{OPTYPES:e})})(MathJax.ElementJax.mml);MathJax.ElementJax.mml.loadComplete("jax.js");
|
|
|
|
MathJax.Hub.Register.LoadHook("[MathJax]/jax/element/mml/jax.js",function(){var b="1.1.1";var a=MathJax.ElementJax.mml;a.mbase.Augment({toMathML:function(k){var g=(this.inferred&&this.parent.inferRow);if(k==null){k=""}var e=this.type,d=this.MathMLattributes();if(e==="mspace"){return k+"<"+e+d+" />"}var j=[];var h=(this.isToken?"":k+(g?"":" "));for(var f=0,c=this.data.length;f<c;f++){if(this.data[f]){j.push(this.data[f].toMathML(h))}else{if(!this.isToken){j.push(h+"<mrow />")}}}if(this.isToken){return k+"<"+e+d+">"+j.join("")+"</"+e+">"}if(g){return j.join("\n")}if(j.length===0||(j.length===1&&j[0]==="")){return k+"<"+e+d+" />"}return k+"<"+e+d+">\n"+j.join("\n")+"\n"+k+"</"+e+">"},MathMLattributes:function(){var j=[],g=this.defaults;var c=this.copyAttributes,l=this.skipAttributes;if(this.type==="math"){j.push('xmlns="http://www.w3.org/1998/Math/MathML"')}if(this.type==="mstyle"){g=a.math.prototype.defaults}for(var d in g){if(!l[d]&&g.hasOwnProperty(d)){var e=(d==="open"||d==="close");if(this[d]!=null&&(e||this[d]!==g[d])){var k=this[d];delete this[d];if(e||this.Get(d)!==k){j.push(d+'="'+this.quoteHTML(k)+'"')}this[d]=k}}}for(var h=0,f=c.length;h<f;h++){if(this[c[h]]!=null){j.push(c[h]+'="'+this.quoteHTML(this[c[h]])+'"')}}if(j.length){return" "+j.join(" ")}else{return""}},copyAttributes:["fontfamily","fontsize","fontweight","fontstyle","color","background","id","class","href","style"],skipAttributes:{texClass:1,useHeight:1,texprimestyle:1},quoteHTML:function(e){e=String(e).split("");for(var f=0,d=e.length;f<d;f++){var h=e[f].charCodeAt(0);if(h<32||h>126){e[f]="&#x"+h.toString(16).toUpperCase()+";"}else{var g={"&":"&","<":"<",">":">",'"':"""}[e[f]];if(g){e[f]=g}}}return e.join("")}});a.msubsup.Augment({toMathML:function(h){var e=this.type;if(this.data[this.sup]==null){e="msub"}if(this.data[this.sub]==null){e="msup"}var d=this.MathMLattributes();delete this.data[0].inferred;var g=[];for(var f=0,c=this.data.length;f<c;f++){if(this.data[f]){g.push(this.data[f].toMathML(h+" "))}}return h+"<"+e+d+">\n"+g.join("\n")+"\n"+h+"</"+e+">"}});a.munderover.Augment({toMathML:function(h){var e=this.type;if(this.data[this.under]==null){e="mover"}if(this.data[this.over]==null){e="munder"}var d=this.MathMLattributes();delete this.data[0].inferred;var g=[];for(var f=0,c=this.data.length;f<c;f++){if(this.data[f]){g.push(this.data[f].toMathML(h+" "))}}return h+"<"+e+d+">\n"+g.join("\n")+"\n"+h+"</"+e+">"}});a.TeXAtom.Augment({toMathML:function(c){return c+"<mrow>\n"+this.data[0].toMathML(c+" ")+"\n"+c+"</mrow>"}});a.chars.Augment({toMathML:function(c){return(c||"")+this.quoteHTML(this.toString())}});a.entity.Augment({toMathML:function(c){return(c||"")+"&"+this.data[0]+";<!-- "+this.toString()+" -->"}});a.xml.Augment({toMathML:function(c){return(c||"")+this.toString()}});MathJax.Hub.Register.StartupHook("TeX mathchoice Ready",function(){a.TeXmathchoice.Augment({toMathML:function(c){return this.Core().toMathML(c)}})});MathJax.Hub.Startup.signal.Post("toMathML Ready")});MathJax.Ajax.loadComplete("[MathJax]/extensions/toMathML.js");
|
|
|
|
(function(){var c="1.1.1";var a=MathJax.Hub.CombineConfig("TeX.noErrors",{multiLine:true,inlineDelimiters:["",""],style:{"font-family":"serif","font-size":"80%","text-align":"left",color:"black",padding:"1px 3px",border:"1px solid"}});var b="\u00A0";MathJax.Extension["TeX/noErrors"]={version:c,config:a};MathJax.Hub.Register.StartupHook("TeX Jax Ready",function(){MathJax.InputJax.TeX.Augment({formatError:function(f,e,g,d){var i=a.inlineDelimiters;var h=(g||a.multiLine);if(!g){e=i[0]+e+i[1]}if(h){e=e.replace(/ /g,b)}else{e=e.replace(/\n/g," ")}return MathJax.ElementJax.mml.merror(e).With({isError:true,multiLine:h})}})});MathJax.Hub.Register.StartupHook("HTML-CSS Jax Config",function(){MathJax.Hub.Config({"HTML-CSS":{styles:{".MathJax .merror":MathJax.Hub.Insert({"font-style":null,"background-color":null,"vertical-align":(MathJax.Hub.Browser.isMSIE&&a.multiLine?"-2px":"")},a.style)}}})})})();MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",function(){var a=MathJax.ElementJax.mml;var b=MathJax.OutputJax["HTML-CSS"];var c=a.math.prototype.toHTML;a.math.Augment({toHTML:function(d,e){if(this.data[0]&&this.data[0].data[0]&&this.data[0].data[0].isError){return this.data[0].data[0].toHTML(d)}return c.call(this,d,e)}});a.merror.Augment({toHTML:function(j){if(!this.isError){return a.mbase.prototype.toHTML.call(this,j)}j=this.HTMLcreateSpan(j);if(this.multiLine){j.style.display="inline-block"}var l=this.data[0].data[0].data.join("").split(/\n/);for(var g=0,e=l.length;g<e;g++){b.addText(j,l[g]);if(g!==e-1){b.addElement(j,"br",{isMathJax:true})}}var n=b.getHD(j.parentNode),d=b.getW(j.parentNode);if(e>1){var k=(n.h+n.d)/2,h=b.TeX.x_height/2;var f=b.config.styles[".MathJax .merror"]["font-size"];if(f&&f.match(/%/)){h*=parseInt(f)/100}j.parentNode.style.verticalAlign=b.Em(n.d+(h-k));n.h=h+k;n.d=k-h}j.bbox={h:n.h,d:n.d,w:d,lw:0,rw:d};return j}});MathJax.Hub.Startup.signal.Post("TeX noErrors Ready")});MathJax.Hub.Register.StartupHook("NativeMML Jax Ready",function(){var b=MathJax.ElementJax.mml;var a=MathJax.Extension["TeX/noErrors"].config;var c=b.math.prototype.toNativeMML;b.math.Augment({toNativeMML:function(d){if(this.data[0]&&this.data[0].data[0]&&this.data[0].data[0].isError){return this.data[0].data[0].toNativeMML(d)}return c.call(this,d)}});b.merror.Augment({toNativeMML:function(g){if(!this.isError){return b.mbase.prototype.toNativeMML.call(this,g)}g=g.appendChild(document.createElement("span"));var h=this.data[0].data[0].data.join("").split(/\n/);for(var f=0,e=h.length;f<e;f++){g.appendChild(document.createTextNode(h[f]));if(f!==e-1){g.appendChild(document.createElement("br"))}}if(this.multiLine){g.style.display="inline-block";if(e>1){g.style.verticalAlign="middle"}}for(var j in a.style){if(a.style.hasOwnProperty(j)){var d=j.replace(/-./g,function(i){return i.charAt(1).toUpperCase()});g.style[d]=a.style[j]}}return g}});MathJax.Hub.Startup.signal.Post("TeX noErrors Ready")});MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/noErrors.js");
|
|
|
|
MathJax.Extension["TeX/noUndefined"]={version:"1.1",config:MathJax.Hub.CombineConfig("TeX.noUndefined",{attributes:{mathcolor:"red"}})};MathJax.Hub.Register.StartupHook("TeX Jax Ready",function(){var b=MathJax.Extension["TeX/noUndefined"].config;var a=MathJax.ElementJax.mml;MathJax.InputJax.TeX.Parse.Augment({csUndefined:function(c){this.Push(a.mtext(c).With(b.attributes))}});MathJax.Hub.Startup.signal.Post("TeX noUndefined Ready")});MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/noUndefined.js");
|
|
|
|
(function(d){var c=true,f=false,i,h=String.fromCharCode(160);var e=MathJax.Object.Subclass({Init:function(k){this.global={};this.data=[b.start().With({global:this.global})];if(k){this.data[0].env=k}this.env=this.data[0].env},Push:function(){var l,k,n,o;for(l=0,k=arguments.length;l<k;l++){n=arguments[l];if(n instanceof i.mbase){n=b.mml(n)}n.global=this.global;o=(this.data.length?this.Top().checkItem(n):c);if(o instanceof Array){this.Pop();this.Push.apply(this,o)}else{if(o instanceof b){this.Pop();this.Push(o)}else{if(o){this.data.push(n);if(n.env){for(var p in this.env){if(this.env.hasOwnProperty(p)){n.env[p]=this.env[p]}}this.env=n.env}else{n.env=this.env}}}}}},Pop:function(){var k=this.data.pop();if(!k.isOpen){delete k.env}this.env=(this.data.length?this.Top().env:{});return k},Top:function(k){if(k==null){k=1}if(this.data.length<k){return null}return this.data[this.data.length-k]},Prev:function(k){var l=this.Top();if(k){return l.data[l.data.length-1]}else{return l.Pop()}},toString:function(){return"stack[\n "+this.data.join("\n ")+"\n]"}});var b=e.Item=MathJax.Object.Subclass({type:"base",closeError:"Extra close brace or missing open brace",rightError:"Missing \\left or extra \\right",Init:function(){if(this.isOpen){this.env={}}this.data=[];this.Push.apply(this,arguments)},Push:function(){this.data.push.apply(this.data,arguments)},Pop:function(){return this.data.pop()},mmlData:function(k,l){if(k==null){k=c}if(this.data.length===1&&!l){return this.data[0]}return i.mrow.apply(i,this.data).With((k?{inferred:c}:{}))},checkItem:function(k){if(k.type==="over"&&this.isOpen){k.num=this.mmlData(f);this.data=[]}if(k.type==="cell"&&this.isOpen){d.Error("Misplaced "+k.name)}if(k.isClose&&this[k.type+"Error"]){d.Error(this[k.type+"Error"])}if(!k.isNotStack){return c}this.Push(k.data[0]);return f},With:function(k){for(var l in k){if(k.hasOwnProperty(l)){this[l]=k[l]}}return this},toString:function(){return this.type+"["+this.data.join("; ")+"]"}});b.start=b.Subclass({type:"start",isOpen:c,checkItem:function(k){if(k.type==="stop"){return b.mml(this.mmlData())}return this.SUPER(arguments).checkItem.call(this,k)}});b.stop=b.Subclass({type:"stop",isClose:c});b.open=b.Subclass({type:"open",isOpen:c,stopError:"Extra open brace or missing close brace",checkItem:function(l){if(l.type==="close"){var k=this.mmlData();return b.mml(i.TeXAtom(k))}return this.SUPER(arguments).checkItem.call(this,l)}});b.close=b.Subclass({type:"close",isClose:c});b.subsup=b.Subclass({type:"subsup",stopError:"Missing superscript or subscript argument",checkItem:function(l){var k=["","subscript","superscript"][this.position];if(l.type==="open"||l.type==="left"){return c}if(l.type==="mml"){this.data[0].SetData(this.position,l.data[0]);return b.mml(this.data[0])}if(this.SUPER(arguments).checkItem.call(this,l)){d.Error("Missing open brace for "+k)}},Pop:function(){}});b.over=b.Subclass({type:"over",isClose:c,name:"\\over",checkItem:function(m,k){if(m.type==="over"){d.Error("Ambiguous use of "+m.name)}if(m.isClose){var l=i.mfrac(this.num,this.mmlData(f));if(this.thickness!=null){l.linethickness=this.thickness}if(this.open||this.close){l.texClass=i.TEXCLASS.INNER;l.texWithDelims=c;l=i.mfenced(l).With({open:this.open,close:this.close})}return[b.mml(l),m]}return this.SUPER(arguments).checkItem.call(this,m)},toString:function(){return"over["+this.num+" / "+this.data.join("; ")+"]"}});b.left=b.Subclass({type:"left",isOpen:c,delim:"(",stopError:"Extra \\left or missing \\right",checkItem:function(l){if(l.type==="right"){var k=i.mfenced(this.data.length===1?this.data[0]:i.mrow.apply(i,this.data));return b.mml(k.With({open:this.delim,close:l.delim}))}return this.SUPER(arguments).checkItem.call(this,l)}});b.right=b.Subclass({type:"right",isClose:c,delim:")"});b.begin=b.Subclass({type:"begin",isOpen:c,checkItem:function(k){if(k.type==="end"){if(k.name!==this.name){d.Error("\\begin{"+this.name+"} ended with \\end{"+k.name+"}")}if(!this.end){return b.mml(this.mmlData())}return this.parse[this.end].call(this.parse,this,this.data)}if(k.type==="stop"){d.Error("Missing \\end{"+this.name+"}")}return this.SUPER(arguments).checkItem.call(this,k)}});b.end=b.Subclass({type:"end",isClose:c});b.style=b.Subclass({type:"style",checkItem:function(l){if(!l.isClose){return this.SUPER(arguments).checkItem.call(this,l)}var k=i.mstyle.apply(i,this.data).With(this.styles);return[b.mml(k),l]}});b.position=b.Subclass({type:"position",checkItem:function(l){if(l.isClose){d.Error("Missing box for "+this.name)}if(l.isNotStack){var k=l.mmlData();switch(this.move){case"vertical":k=i.mpadded(k).With({height:this.dh,depth:this.dd,voffset:this.dh});return[b.mml(k)];case"horizontal":return[b.mml(this.left),l,b.mml(this.right)]}}return this.SUPER(arguments).checkItem.call(this,l)}});b.array=b.Subclass({type:"array",isOpen:c,arraydef:{},Init:function(){this.table=[];this.row=[];this.env={};this.SUPER(arguments).Init.apply(this,arguments)},checkItem:function(l){if(l.isClose&&l.type!=="over"){if(l.isEntry){this.EndEntry();this.clearEnv();return f}if(l.isCR){this.EndEntry();this.EndRow();this.clearEnv();return f}this.EndTable();this.clearEnv();var k=i.mtable.apply(i,this.table).With(this.arraydef);if(this.open||this.close){k=i.mfenced(k).With({open:this.open,close:this.close})}k=b.mml(k);if(this.requireClose){if(l.type==="close"){return k}d.Error("Missing close brace")}return[k,l]}return this.SUPER(arguments).checkItem.call(this,l)},EndEntry:function(){this.row.push(i.mtd.apply(i,this.data));this.data=[]},EndRow:function(){this.table.push(i.mtr.apply(i,this.row));this.row=[]},EndTable:function(){if(this.data.length||this.row.length){this.EndEntry();this.EndRow()}this.checkLines()},checkLines:function(){if(this.arraydef.rowlines){var k=this.arraydef.rowlines.split(/ /);if(k.length===this.table.length){this.arraydef.frame=k.pop();this.arraydef.rowlines=k.join(" ")}else{if(k.length<this.table.length-1){this.arraydef.rowlines+=" none"}}}},clearEnv:function(){for(var k in this.env){if(this.env.hasOwnProperty(k)){delete this.env[k]}}}});b.cell=b.Subclass({type:"cell",isClose:c});b.mml=b.Subclass({type:"mml",isNotStack:c,Push:function(){for(var l=0,k=arguments.length;l<k;l++){if(arguments[l].type!=="mo"&&arguments[l].isEmbellished()){arguments[l]=i.TeXAtom(arguments[l]).With({isEmbellishedWrapper:c})}}this.data.push.apply(this.data,arguments)},Add:function(){this.data.push.apply(this.data,arguments);return this}});var g={};var j=function(){i=MathJax.ElementJax.mml;MathJax.Hub.Insert(g,{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","&":"Entry","#":"Hash","\u2019":"Prime"},remap:{"-":"2212","*":"2217"},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",aleph:["2135",{mathvariant:i.VARIANT.NORMAL}],hbar:"210F",imath:"0131",jmath:"0237",ell:"2113",wp:["2118",{mathvariant:i.VARIANT.NORMAL}],Re:["211C",{mathvariant:i.VARIANT.NORMAL}],Im:["2111",{mathvariant:i.VARIANT.NORMAL}],partial:["2202",{mathvariant:i.VARIANT.NORMAL}],infty:["221E",{mathvariant:i.VARIANT.NORMAL}],prime:["2032",{mathvariant:i.VARIANT.NORMAL}],emptyset:["2205",{mathvariant:i.VARIANT.NORMAL}],nabla:["2207",{mathvariant:i.VARIANT.NORMAL}],top:["22A4",{mathvariant:i.VARIANT.NORMAL}],bot:["22A5",{mathvariant:i.VARIANT.NORMAL}],angle:["2220",{mathvariant:i.VARIANT.NORMAL}],triangle:["25B3",{mathvariant:i.VARIANT.NORMAL}],backslash:["2216",{mathvariant:i.VARIANT.NORMAL}],forall:["2200",{mathvariant:i.VARIANT.NORMAL}],exists:["2203",{mathvariant:i.VARIANT.NORMAL}],neg:["00AC",{mathvariant:i.VARIANT.NORMAL}],lnot:["00AC",{mathvariant:i.VARIANT.NORMAL}],flat:["266D",{mathvariant:i.VARIANT.NORMAL}],natural:["266E",{mathvariant:i.VARIANT.NORMAL}],sharp:["266F",{mathvariant:i.VARIANT.NORMAL}],clubsuit:["2663",{mathvariant:i.VARIANT.NORMAL}],diamondsuit:["2662",{mathvariant:i.VARIANT.NORMAL}],heartsuit:["2661",{mathvariant:i.VARIANT.NORMAL}],spadesuit:["2660",{mathvariant:i.VARIANT.NORMAL}]},mathchar0mo:{surd:"221A",coprod:["2210",{texClass:i.TEXCLASS.OP,movesupsub:c}],bigvee:["22C1",{texClass:i.TEXCLASS.OP,movesupsub:c}],bigwedge:["22C0",{texClass:i.TEXCLASS.OP,movesupsub:c}],biguplus:["2A04",{texClass:i.TEXCLASS.OP,movesupsub:c}],bigcap:["22C2",{texClass:i.TEXCLASS.OP,movesupsub:c}],bigcup:["22C3",{texClass:i.TEXCLASS.OP,movesupsub:c}],"int":["222B",{texClass:i.TEXCLASS.OP}],intop:["222B",{texClass:i.TEXCLASS.OP,movesupsub:c,movablelimits:c}],iint:["222C",{texClass:i.TEXCLASS.OP}],iiint:["222D",{texClass:i.TEXCLASS.OP}],prod:["220F",{texClass:i.TEXCLASS.OP,movesupsub:c}],sum:["2211",{texClass:i.TEXCLASS.OP,movesupsub:c}],bigotimes:["2A02",{texClass:i.TEXCLASS.OP,movesupsub:c}],bigoplus:["2A01",{texClass:i.TEXCLASS.OP,movesupsub:c}],bigodot:["2A00",{texClass:i.TEXCLASS.OP,movesupsub:c}],oint:["222E",{texClass:i.TEXCLASS.OP}],bigsqcup:["2A06",{texClass:i.TEXCLASS.OP,movesupsub:c}],smallint:["222B",{largeop:f}],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:f}],oslash:["2298",{largeop:f}],otimes:["2297",{largeop:f}],ominus:["2296",{largeop:f}],oplus:["2295",{largeop:f}],mp:"2213",pm:"00B1",circ:"2218",bigcirc:"25EF",setminus:"2216",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:"0338",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",dots:"2026",dotsc:"2026",dotsb:"22EF",dotsm:"22EF",dotsi:"22EF",dotso:"2026",ldotp:["002E",{texClass:i.TEXCLASS.PUNCT}],cdotp:["22C5",{texClass:i.TEXCLASS.PUNCT}],colon:["003A",{texClass:i.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","&":"0026",And:"0026"},delimiter:{"(":"(",")":")","[":"[","]":"]","<":"27E8",">":"27E9","\\lt":"27E8","\\gt":"27E9","/":"/","|":["|",{texClass:i.TEXCLASS.ORD}],".":"","\\\\":"\\","\\lmoustache":"23B0","\\rmoustache":"23B1","\\lgroup":"27EE","\\rgroup":"27EF","\\arrowvert":"23D0","\\Arrowvert":"2016","\\bracevert":"23AA","\\Vert":["2225",{texClass:i.TEXCLASS.ORD}],"\\|":["2225",{texClass:i.TEXCLASS.ORD}],"\\vert":["|",{texClass:i.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",c,0],textstyle:["SetStyle","T",f,0],scriptstyle:["SetStyle","S",f,1],scriptscriptstyle:["SetStyle","SS",f,2],rm:["SetFont",i.VARIANT.NORMAL],mit:["SetFont",i.VARIANT.ITALIC],oldstyle:["SetFont",i.VARIANT.OLDSTYLE],cal:["SetFont",i.VARIANT.CALIGRAPHIC],it:["SetFont",i.VARIANT.ITALIC],bf:["SetFont",i.VARIANT.BOLD],bbFont:["SetFont",i.VARIANT.DOUBLESTRUCK],scr:["SetFont",i.VARIANT.SCRIPT],frak:["SetFont",i.VARIANT.FRAKTUR],sf:["SetFont",i.VARIANT.SANSSERIF],tt:["SetFont",i.VARIANT.MONOSPACE],tiny:["SetSize",0.5],Tiny:["SetSize",0.6],scriptsize:["SetSize",0.7],small:["SetSize",0.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:["NamedOp",0],arccos:["NamedOp",0],arctan:["NamedOp",0],arg:["NamedOp",0],cos:["NamedOp",0],cosh:["NamedOp",0],cot:["NamedOp",0],coth:["NamedOp",0],csc:["NamedOp",0],deg:["NamedOp",0],det:"NamedOp",dim:["NamedOp",0],exp:["NamedOp",0],gcd:"NamedOp",hom:["NamedOp",0],inf:"NamedOp",ker:["NamedOp",0],lg:["NamedOp",0],lim:"NamedOp",liminf:["NamedOp",null,"lim inf"],limsup:["NamedOp",null,"lim sup"],ln:["NamedOp",0],log:["NamedOp",0],max:"NamedOp",min:"NamedOp",Pr:"NamedOp",sec:["NamedOp",0],sin:["NamedOp",0],sinh:["NamedOp",0],sup:"NamedOp",tan:["NamedOp",0],tanh:["NamedOp",0],limits:["Limits",1],nolimits:["Limits",0],overline:["UnderOver","203E"],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",llap:"Lap",rlap:"Lap",raise:"RaiseLower",lower:"RaiseLower",moveleft:"MoveLeftRight",moveright:"MoveLeftRight",",":["Spacer",i.LENGTH.THINMATHSPACE],":":["Spacer",i.LENGTH.THINMATHSPACE],">":["Spacer",i.LENGTH.MEDIUMMATHSPACE],";":["Spacer",i.LENGTH.THICKMATHSPACE],"!":["Spacer",i.LENGTH.NEGATIVETHINMATHSPACE],enspace:["Spacer",".5em"],quad:["Spacer","1em"],qquad:["Spacer","2em"],thinspace:["Spacer",i.LENGTH.THINMATHSPACE],negthinspace:["Spacer",i.LENGTH.NEGATIVETHINMATHSPACE],hskip:"Hskip",hspace:"Hskip",kern:"Hskip",mskip:"Hskip",mspace:"Hskip",mkern:"Hskip",Rule:["Rule"],Space:["Rule","blank"],big:["MakeBig",i.TEXCLASS.ORD,0.85],Big:["MakeBig",i.TEXCLASS.ORD,1.15],bigg:["MakeBig",i.TEXCLASS.ORD,1.45],Bigg:["MakeBig",i.TEXCLASS.ORD,1.75],bigl:["MakeBig",i.TEXCLASS.OPEN,0.85],Bigl:["MakeBig",i.TEXCLASS.OPEN,1.15],biggl:["MakeBig",i.TEXCLASS.OPEN,1.45],Biggl:["MakeBig",i.TEXCLASS.OPEN,1.75],bigr:["MakeBig",i.TEXCLASS.CLOSE,0.85],Bigr:["MakeBig",i.TEXCLASS.CLOSE,1.15],biggr:["MakeBig",i.TEXCLASS.CLOSE,1.45],Biggr:["MakeBig",i.TEXCLASS.CLOSE,1.75],bigm:["MakeBig",i.TEXCLASS.REL,0.85],Bigm:["MakeBig",i.TEXCLASS.REL,1.15],biggm:["MakeBig",i.TEXCLASS.REL,1.45],Biggm:["MakeBig",i.TEXCLASS.REL,1.75],mathord:["TeXAtom",i.TEXCLASS.ORD],mathop:["TeXAtom",i.TEXCLASS.OP],mathopen:["TeXAtom",i.TEXCLASS.OPEN],mathclose:["TeXAtom",i.TEXCLASS.CLOSE],mathbin:["TeXAtom",i.TEXCLASS.BIN],mathrel:["TeXAtom",i.TEXCLASS.REL],mathpunct:["TeXAtom",i.TEXCLASS.PUNCT],mathinner:["TeXAtom",i.TEXCLASS.INNER],vcenter:["TeXAtom",i.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","02CA"],grave:["Accent","02CB"],ddot:["Accent","00A8"],tilde:["Accent","02DC"],bar:["Accent","02C9"],breve:["Accent","02D8"],check:["Accent","02C7"],hat:["Accent","02C6"],vec:["Accent","20D7"],dot:["Accent","02D9"],widetilde:["Accent","02DC",1],widehat:["Accent","02C6",1],matrix:"Matrix",array:"Matrix",pmatrix:["Matrix","(",")"],cases:["Matrix","{","","left left",null,".1em"],eqalign:["Matrix",null,null,"right left",i.LENGTH.THICKMATHSPACE,".5em","D"],displaylines:["Matrix",null,null,"center",null,".5em","D"],cr:"Cr","\\":"Cr",newline:"Cr",hline:["HLine","solid"],hdashline:["HLine","dashed"],eqalignno:["Matrix",null,null,"right left right",i.LENGTH.THICKMATHSPACE+" 3em",".5em","D"],leqalignno:["Matrix",null,null,"right left right",i.LENGTH.THICKMATHSPACE+" 3em",".5em","D"],bmod:["Macro","\\mathbin{\\rm mod}"],pmod:["Macro","\\pod{{\\rm mod}\\kern 6mu #1}",1],mod:["Macro","\\mathchoice{\\kern18mu}{\\kern12mu}{\\kern12mu}{\\kern12mu}{\\rm 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"],not:["Macro","\\mathrel{\\rlap{\\kern.5em\\notChar}}"]," ":["Macro","\\text{ }"],space:"Tilde",begin:"Begin",end:"End",newcommand:["Extension","newcommand"],renewcommand:["Extension","newcommand"],newenvironment:["Extension","newcommand"],def:["Extension","newcommand"],verb:["Extension","verb"],boldsymbol:["Extension","boldsymbol"],tag:["Extension","AMSmath"],notag:["Extension","AMSmath"],label:["Macro","",1],nonumber:["Macro",""],unicode:["Extension","unicode"],color:"Color",href:["Extension","HTML"],"class":["Extension","HTML"],style:["Extension","HTML"],cssId:["Extension","HTML"],require:"Require"},environment:{array:["Array"],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"],eqnarray:["Array",null,null,null,"rcl",i.LENGTH.THICKMATHSPACE,".5em","D"],"eqnarray*":["Array",null,null,null,"rcl",i.LENGTH.THICKMATHSPACE,".5em","D"],equation:[null,"Equation"],"equation*":[null,"Equation"],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/0.85});if(this.config.Macros){var k=this.config.Macros;for(var l in k){if(k.hasOwnProperty(l)){if(typeof(k[l])==="string"){g.macros[l]=["Macro",k[l]]}else{g.macros[l]=["Macro"].concat(k[l])}}}}};var a=MathJax.Object.Subclass({Init:function(l,m){this.string=l;this.i=0;this.macroCount=0;var k;if(m){k={};for(var n in m){if(m.hasOwnProperty(n)){k[n]=m[n]}}}this.stack=d.Stack(k);this.Parse();this.Push(b.stop())},Parse:function(){var k;while(this.i<this.string.length){k=this.string.charAt(this.i++);if(g.special[k]){this[g.special[k]](k)}else{if(g.letter.test(k)){this.Variable(k)}else{if(g.digit.test(k)){this.Number(k)}else{this.Other(k)}}}}},Push:function(){this.stack.Push.apply(this.stack,arguments)},mml:function(){if(this.stack.Top().type!=="mml"){return null}return this.stack.Top().data[0]},mmlToken:function(k){return k},ControlSequence:function(q){var k=this.GetCS(),p,n;if(g.macros[k]){var m=g.macros[k];if(!(m instanceof Array)){m=[m]}var l=m[0];if(!(l instanceof Function)){l=this[l]}l.apply(this,["\\"+k].concat(m.slice(1)))}else{if(g.mathchar0mi[k]){p=g.mathchar0mi[k];n={mathvariant:i.VARIANT.ITALIC};if(p instanceof Array){n=p[1];p=p[0]}this.Push(this.mmlToken(i.mi(i.entity("#x"+p)).With(n)))}else{if(g.mathchar0mo[k]){p=g.mathchar0mo[k];n={stretchy:f};if(p instanceof Array){n=p[1];n.stretchy=f;p=p[0]}this.Push(this.mmlToken(i.mo(i.entity("#x"+p)).With(n)))}else{if(g.mathchar7[k]){p=g.mathchar7[k];n={mathvariant:i.VARIANT.NORMAL};if(p instanceof Array){n=p[1];p=p[0]}if(this.stack.env.font){n.mathvariant=this.stack.env.font}this.Push(this.mmlToken(i.mi(i.entity("#x"+p)).With(n)))}else{if(g.delimiter["\\"+k]!=null){var o=g.delimiter["\\"+k];n={};if(o instanceof Array){n=o[1];o=o[0]}if(o.length===4){o=i.entity("#x"+o)}else{o=i.chars(o)}this.Push(this.mmlToken(i.mo(o).With({fence:f,stretchy:f}).With(n)))}else{this.csUndefined("\\"+k)}}}}}},csUndefined:function(k){d.Error("Undefined control sequence "+k)},Variable:function(l){var k={};if(this.stack.env.font){k.mathvariant=this.stack.env.font}this.Push(this.mmlToken(i.mi(i.chars(l)).With(k)))},Number:function(m){var k,l=this.string.slice(this.i-1).match(g.number);if(l){k=i.mn(l[0].replace(/[{}]/g,""));this.i+=l[0].length-1}else{k=i.mo(i.chars(m))}if(this.stack.env.font){k.mathvariant=this.stack.env.font}this.Push(this.mmlToken(k))},Open:function(k){this.Push(b.open())},Close:function(k){this.Push(b.close())},Tilde:function(k){this.Push(i.mtext(i.chars(h)))},Space:function(k){},Superscript:function(m){var k,l=this.stack.Prev();if(!l){l=i.mi("")}if(l.isEmbellishedWrapper){l=l.data[0].data[0]}if(l.type==="msubsup"){if(l.data[l.sup]){if(!l.data[l.sup].isPrime){d.Error("Double exponent: use braces to clarify")}l=i.msubsup(l,null,null)}k=l.sup}else{if(l.movesupsub){if(l.type!=="munderover"||l.data[l.over]){l=i.munderover(l,null,null).With({movesupsub:c})}k=l.over}else{l=i.msubsup(l,null,null);k=l.sup}}this.Push(b.subsup(l).With({position:k}))},Subscript:function(m){var k,l=this.stack.Prev();if(!l){l=i.mi("")}if(l.isEmbellishedWrapper){l=l.data[0].data[0]}if(l.type==="msubsup"){if(l.data[l.sub]){d.Error("Double subscripts: use braces to clarify")}k=l.sub}else{if(l.movesupsub){if(l.type!=="munderover"||l.data[l.under]){l=i.munderover(l,null,null).With({movesupsub:c})}k=l.under}else{l=i.msubsup(l,null,null);k=l.sub}}this.Push(b.subsup(l).With({position:k}))},PRIME:String.fromCharCode(8242),SMARTQUOTE:String.fromCharCode(8217),Prime:function(m){var l=this.stack.Prev();if(!l){l=i.mi()}if(l.type==="msubsup"&&l.data[l.sup]){d.Error("Prime causes double exponent: use braces to clarify")}var k="";this.i--;do{k+=this.PRIME;this.i++,m=this.GetNext()}while(m==="'"||m===this.SMARTQUOTE);k=this.mmlToken(i.mo(i.chars(k)).With({isPrime:c,variantForm:d.isSTIX}));this.Push(i.msubsup(l,null,k))},Comment:function(k){while(this.i<this.string.length&&this.string.charAt(this.i)!="\n"){this.i++}},Hash:function(k){d.Error("You can't use 'macro parameter character #' in math mode")},Other:function(m){var l={stretchy:false},k;if(this.stack.env.font){l.mathvariant=this.stack.env.font}if(g.remap[m]){m=g.remap[m];if(m instanceof Array){l=m[1];m=m[0]}k=i.mo(i.entity("#x"+m))}else{k=i.mo(m)}if(k.autoDefault("texClass",true)==""){k=i.TeXAtom(k)}this.Push(this.mmlToken(k.With(l)))},SetFont:function(l,k){this.stack.env.font=k},SetStyle:function(l,k,m,n){this.stack.env.style=k;this.stack.env.level=n;this.Push(b.style().With({styles:{displaystyle:m,scriptlevel:n}}))},SetSize:function(k,l){this.stack.env.size=l;this.Push(b.style().With({styles:{mathsize:l+"em"}}))},Color:function(m){var l=this.GetArgument(m);var k=this.stack.env.color;this.stack.env.color=l;var n=this.ParseArg(m);if(k){this.stack.env.color}else{delete this.stack.env.color}this.Push(i.mstyle(n).With({mathcolor:l}))},Spacer:function(k,l){this.Push(i.mspace().With({width:l,mathsize:i.SIZE.NORMAL,scriptlevel:1}))},LeftRight:function(k){this.Push(b[k.substr(1)]().With({delim:this.GetDelimiter(k)}))},NamedOp:function(m,l,o){var n=(l!=null&&l===0?f:c);if(!o){o=m.substr(1)}l=((l||l==null)?c:f);o=o.replace(/ /,String.fromCharCode(8198));var k=i.mo(o).With({movablelimits:l,movesupsub:n,form:i.FORM.PREFIX,texClass:i.TEXCLASS.OP});k.useMMLspacing&=~k.SPACE_ATTR.form;this.Push(this.mmlToken(k))},Limits:function(l,k){var m=this.stack.Prev("nopop");if(m.texClass!==i.TEXCLASS.OP){d.Error(l+" is allowed only on operators")}m.movesupsub=(k?c:f);m.movablelimits=f},Over:function(m,l,n){var k=b.over().With({name:m});if(l||n){k.open=l;k.close=n}else{if(m.match(/withdelims$/)){k.open=this.GetDelimiter(m);k.close=this.GetDelimiter(m)}}if(m.match(/^\\above/)){k.thickness=this.GetDimen(m)}else{if(m.match(/^\\atop/)||l||n){k.thickness=0}}this.Push(k)},Frac:function(l){var k=this.ParseArg(l);var m=this.ParseArg(l);this.Push(i.mfrac(k,m))},Sqrt:function(l){var m=this.GetBrackets(l),k=this.ParseArg(l);if(m==""){k=i.msqrt.apply(i,k.array())}else{k=i.mroot(k,this.parseRoot(m))}this.Push(k)},Root:function(l){var m=this.GetUpTo(l,"\\of");var k=this.ParseArg(l);this.Push(i.mroot(k,this.parseRoot(m)))},parseRoot:function(p){var l=this.stack.env,k=l.inRoot;l.inRoot=true;var o=d.Parse(p,l);p=o.mml();var m=o.stack.global;if(m.leftRoot||m.upRoot){p=i.mpadded(p);if(m.leftRoot){p.width=m.leftRoot}if(m.upRoot){p.voffset=m.upRoot;p.height=m.upRoot}}l.inRoot=k;return p},MoveRoot:function(k,m){if(!this.stack.env.inRoot){d.Error(k+" can appear only within a root")}if(this.stack.global[m]){d.Error("Multiple use of "+k)}var l=this.GetArgument(k);if(!l.match(/-?[0-9]+/)){d.Error("The argument to "+k+" must be an integer")}l=(l/15)+"em";if(l.substr(0,1)!=="-"){l="+"+l}this.stack.global[m]=l},Accent:function(m,k,p){var o=this.ParseArg(m);var n={accent:true};if(this.stack.env.font){n.mathvariant=this.stack.env.font}var l=this.mmlToken(i.mo(i.entity("#x"+k)).With(n));l.stretchy=(p?c:f);this.Push(i.munderover(o,null,l).With({accent:c}))},UnderOver:function(m,p,k){var o={o:"over",u:"under"}[m.charAt(1)];var n=this.ParseArg(m);if(n.Get("movablelimits")){n.movablelimits=false}var l=i.munderover(n,null,null);if(k){l.movesupsub=c}l.data[l[o]]=this.mmlToken(i.mo(i.entity("#x"+p)).With({stretchy:c,accent:(o=="under")}));this.Push(l)},Overset:function(k){var m=this.ParseArg(k),l=this.ParseArg(k);this.Push(i.munderover(l,null,m))},Underset:function(k){var m=this.ParseArg(k),l=this.ParseArg(k);this.Push(i.munderover(l,m,null))},TeXAtom:function(n,p){var o={texClass:p},m;if(p==i.TEXCLASS.OP){o.movesupsub=o.movablelimits=c;var k=this.GetArgument(n);var l=k.match(/^\s*\\rm\s+([a-zA-Z0-9 ]+)$/);if(l){m=this.mmlToken(i.mo(l[1]).With({movablelimits:c,movesupsub:c,mathvariant:i.VARIANT.NORMAL,form:i.FORM.PREFIX,texClass:i.TEXCLASS.OP}));m.useMMLspacing&=~m.SPACE_ATTR.form}else{m=i.TeXAtom(d.Parse(k,this.stack.env).mml()).With(o)}}else{m=i.TeXAtom(this.ParseArg(n)).With(o)}this.Push(m)},Strut:function(k){this.Push(i.mpadded(i.mrow()).With({height:"8.6pt",depth:"3pt",width:0}))},Phantom:function(l,k,m){var n=i.mphantom(this.ParseArg(l));if(k||m){n=i.mpadded(n);if(m){n.height=n.depth=0}if(k){n.width=0}}this.Push(n)},Smash:function(m){var l=this.trimSpaces(this.GetBrackets(m));var k=i.mpadded(this.ParseArg(m));switch(l){case"b":k.depth=0;break;case"t":k.height=0;break;default:k.height=k.depth=0}this.Push(k)},Lap:function(l){var k=i.mpadded(this.ParseArg(l)).With({width:0});if(l==="\\llap"){k.lspace="-1 width"}this.Push(k)},RaiseLower:function(k){var l=this.GetDimen(k);var m=b.position().With({name:k,move:"vertical"});if(l.charAt(0)==="-"){l=l.slice(1);k={raise:"\\lower",lower:"\\raise"}[k.substr(1)]}if(k==="\\lower"){m.dh="-"+l;m.dd="+"+l}else{m.dh="+"+l;m.dd="-"+l}this.Push(m)},MoveLeftRight:function(k){var n=this.GetDimen(k);var m=(n.charAt(0)==="-"?n.slice(1):"-"+n);if(k==="\\moveleft"){var l=n;n=m;m=l}this.Push(b.position().With({name:k,move:"horizontal",left:i.mspace().With({width:n,mathsize:i.SIZE.NORMAL,scriptlevel:1}),right:i.mspace().With({width:m,mathsize:i.SIZE.NORMAL,scriptlevel:1})}))},Hskip:function(k){this.Push(i.mspace().With({width:this.GetDimen(k),mathsize:i.SIZE.NORMAL,scriptlevel:0}))},Rule:function(m,o){var k=this.GetDimen(m),n=this.GetDimen(m),q=this.GetDimen(m);var l,p={width:k,height:n,depth:q};if(o!=="blank"){l=i.mpadded(i.mrow()).With(p);if(parseFloat(k)&&parseFloat(n)+parseFloat(q)){l=i.mstyle(l).With({mathbackground:(this.stack.env.color||"black")})}}else{l=i.mspace().With(p)}this.Push(l)},MakeBig:function(k,n,l){l*=g.p_height;l=String(l).replace(/(\.\d\d\d).+/,"$1")+"em";var m=this.GetDelimiter(k);this.Push(i.TeXAtom(i.mo(m).With({minsize:l,maxsize:l,scriptlevel:0,fence:c,stretchy:c,symmetric:c})).With({texClass:n}))},BuildRel:function(k){var l=this.ParseUpTo(k,"\\over");var m=this.ParseArg(k);this.Push(i.TeXAtom(i.munderover(m,null,l)).With({mclass:i.TEXCLASS.REL}))},HBox:function(k,l){this.Push.apply(this,this.InternalMath(this.GetArgument(k),l))},FBox:function(k){this.Push(i.menclose.apply(i,this.InternalMath(this.GetArgument(k))).With({notation:"box"}))},Require:function(k){var l=this.GetArgument(k);this.Extension(null,l)},Extension:function(k,l,m){if(k&&!typeof(k)==="string"){k=k.name}l=d.extensionDir+"/"+l;if(!l.match(/\.js$/)){l+=".js"}if(!MathJax.Ajax.loaded[MathJax.Ajax.fileURL(l)]){if(k!=null){delete g[m||"macros"][k.replace(/^\\/,"")]}MathJax.Hub.RestartAfter(MathJax.Ajax.Require(l))}},Macro:function(l,o,n){if(n){var k=[];for(var m=0;m<n;m++){k.push(this.GetArgument(l))}o=this.SubstituteArgs(k,o)}this.string=this.AddArgs(o,this.string.slice(this.i));this.i=0;if(++this.macroCount>d.config.MAXMACROS){d.Error("MathJax maximum macro substitution count exceeded; is there a recursive macro call?")}},Matrix:function(l,n,s,p,q,m,k){var r=this.GetNext();if(r===""){d.Error("Missing argument for "+l)}if(r==="{"){this.i++}else{this.string=r+"}"+this.string.slice(this.i+1);this.i=0}var o=b.array().With({requireClose:c,arraydef:{rowspacing:(m||"4pt"),columnspacing:(q||"1em")}});if(n||s){o.open=n;o.close=s}if(k==="D"){o.arraydef.displaystyle=c}if(p!=null){o.arraydef.columnalign=p}this.Push(o)},Entry:function(k){this.Push(b.cell().With({isEntry:c,name:k}))},Cr:function(k){this.Push(b.cell().With({isCR:c,name:k}))},HLine:function(l,m){if(m==null){m="solid"}var n=this.stack.Top();if(n.type!=="array"||n.data.length){d.Error("Misplaced "+l)}if(n.table.length==0){n.arraydef.frame=m}else{var k=(n.arraydef.rowlines?n.arraydef.rowlines.split(/ /):[]);while(k.length<n.table.length){k.push("none")}k[n.table.length-1]=m;n.arraydef.rowlines=k.join(" ")}},Begin:function(l){var m=this.GetArgument(l);if(m.match(/[^a-z*]/i)){d.Error('Invalid environment name "'+m+'"')}if(!g.environment[m]){d.Error('Unknown environment "'+m+'"')}if(++this.macroCount>d.config.MAXMACROS){d.Error("MathJax maximum substitution count exceeded; is there a recursive latex environment?")}var n=g.environment[m];if(!(n instanceof Array)){n=[n]}var k=b.begin().With({name:m,end:n[1],parse:this});if(n[0]&&this[n[0]]){k=this[n[0]].apply(this,[k].concat(n.slice(2)))}this.Push(k)},End:function(k){this.Push(b.end().With({name:this.GetArgument(k)}))},Equation:function(k,l){return l},ExtensionEnv:function(l,k){this.Extension(l.name,k,"environment")},Array:function(m,o,t,r,s,n,k,p){if(!r){r=this.GetArgument("\\begin{"+m.name+"}")}var u=("c"+r).replace(/[^clr|:]/g,"").replace(/[^|:]([|:])+/g,"$1");r=r.replace(/[^clr]/g,"").split("").join(" ");r=r.replace(/l/g,"left").replace(/r/g,"right").replace(/c/g,"center");var q=b.array().With({arraydef:{columnalign:r,columnspacing:(s||"1em"),rowspacing:(n||"4pt")}});if(u.match(/[|:]/)){var l=(u.charAt(0)+u.charAt(u.length-1)).replace(/[^|:]/g,"");if(l!==""){q.arraydef.frame={"|":"solid",":":"dashed"}[l.charAt(0)];q.arraydef.framespacing=".5em .5ex"}u=u.substr(1,u.length-2);q.arraydef.columnlines=u.split("").join(" ").replace(/[^|: ]/g,"none").replace(/\|/g,"solid").replace(/:/g,"dashed")}if(o){q.open=this.convertDelimiter(o)}if(t){q.close=this.convertDelimiter(t)}if(k==="D"){q.arraydef.displaystyle=c}if(k==="S"){q.arraydef.scriptlevel=1}if(p){q.arraydef.useHeight=f}this.Push(m);return q},convertDelimiter:function(k){if(k){k=g.delimiter[k]}if(k==null){return null}if(k instanceof Array){k=k[0]}if(k.length===4){k=String.fromCharCode(parseInt(k,16))}return k},trimSpaces:function(k){if(typeof(k)!="string"){return k}return k.replace(/^\s+|\s+$/g,"")},nextIsSpace:function(){return this.string.charAt(this.i).match(/[ \n\r\t]/)},GetNext:function(){while(this.nextIsSpace()){this.i++}return this.string.charAt(this.i)},GetCS:function(){var k=this.string.slice(this.i).match(/^([a-z]+|.) ?/i);if(k){this.i+=k[1].length;return k[1]}else{this.i++;return" "}},GetArgument:function(l,m){switch(this.GetNext()){case"":if(!m){d.Error("Missing argument for "+l)}return null;case"}":if(!m){d.Error("Extra close brace or missing open brace")}return null;case"\\":this.i++;return"\\"+this.GetCS();case"{":var k=++this.i,n=1;while(this.i<this.string.length){switch(this.string.charAt(this.i++)){case"\\":this.i++;break;case"{":n++;break;case"}":if(n==0){d.Error("Extra close brace")}if(--n==0){return this.string.slice(k,this.i-1)}break}}d.Error("Missing close brace");break}return this.string.charAt(this.i++)},GetBrackets:function(l){if(this.GetNext()!="["){return""}var k=++this.i,m=0;while(this.i<this.string.length){switch(this.string.charAt(this.i++)){case"{":m++;break;case"\\":this.i++;break;case"}":if(m--<=0){d.Error("Extra close brace while looking for ']'")}break;case"]":if(m==0){return this.string.slice(k,this.i-1)}break}}d.Error("Couldn't find closing ']' for argument to "+l)},GetDelimiter:function(k){while(this.nextIsSpace()){this.i++}var l=this.string.charAt(this.i);if(this.i<this.string.length){this.i++;if(l=="\\"){l+=this.GetCS(k)}if(g.delimiter[l]!=null){return this.convertDelimiter(l)}}d.Error("Missing or unrecognized delimiter for "+k)},GetDimen:function(l){var m;if(this.nextIsSpace()){this.i++}if(this.string.charAt(this.i)=="{"){m=this.GetArgument(l);if(m.match(/^\s*([-+]?(\.\d+|\d+(\.\d*)?))\s*(pt|em|ex|mu|px|mm|cm|in|pc)\s*$/)){return m.replace(/ /g,"")}}else{m=this.string.slice(this.i);var k=m.match(/^\s*(([-+]?(\.\d+|\d+(\.\d*)?))\s*(pt|em|ex|mu|px|mm|cm|in|pc)) ?/);if(k){this.i+=k[0].length;return k[1].replace(/ /g,"")}}d.Error("Missing dimension or its units for "+l)},GetUpTo:function(n,o){while(this.nextIsSpace()){this.i++}var m=this.i,l,q,p=0;while(this.i<this.string.length){l=this.i;q=this.string.charAt(this.i++);switch(q){case"\\":q+=this.GetCS();break;case"{":p++;break;case"}":if(p==0){d.Error("Extra close brace while looking for "+o)}p--;break}if(p==0&&q==o){return this.string.slice(m,l)}}d.Error("Couldn't find "+o+" for "+n)},ParseArg:function(k){return d.Parse(this.GetArgument(k),this.stack.env).mml()},ParseUpTo:function(k,l){return d.Parse(this.GetUpTo(k,l),this.stack.env).mml()},InternalMath:function(q,s){var p={displaystyle:f};if(s!=null){p.scriptlevel=s}if(this.stack.env.font){p.mathvariant=this.stack.env.font}if(!q.match(/\$|\\\(/)){return[this.InternalText(q,p)]}var o=0,l=0,r,n="";var m=[];while(o<q.length){r=q.charAt(o++);if(r==="$"){if(n==="$"){m.push(i.TeXAtom(d.Parse(q.slice(l,o-1)).mml().With(p)));n="";l=o}else{if(n===""){if(l<o-1){m.push(this.InternalText(q.slice(l,o-1),p))}n="$";l=o}}}else{if(r==="\\"){r=q.charAt(o++);if(r==="("&&n===""){if(l<o-2){m.push(this.InternalText(q.slice(l,o-2),p))}n=")";l=o}else{if(r===")"&&n===")"){m.push(i.TeXAtom(d.Parse(q.slice(l,o-2)).mml().With(p)));n="";l=o}}}}}if(n!==""){d.Error("Math not terminated in text box")}if(l<q.length){m.push(this.InternalText(q.slice(l),p))}return m},InternalText:function(l,k){l=l.replace(/^\s+/,h).replace(/\s+$/,h);return i.mtext(i.chars(l)).With(k)},SubstituteArgs:function(l,k){var o="";var n="";var p;var m=0;while(m<k.length){p=k.charAt(m++);if(p==="\\"){o+=p+k.charAt(m++)}else{if(p==="#"){p=k.charAt(m++);if(p==="#"){o+=p}else{if(!p.match(/[1-9]/)||p>l.length){d.Error("Illegal macro parameter reference")}n=this.AddArgs(this.AddArgs(n,o),l[p-1]);o=""}}else{o+=p}}}return this.AddArgs(n,o)},AddArgs:function(l,k){if(k.match(/^[a-z]/i)&&l.match(/(^|[^\\])(\\\\)*\\[a-z]+$/i)){l+=" "}if(l.length+k.length>d.config.MAXBUFFER){d.Error("MathJax internal buffer size exceeded; is there a recursive macro call?")}return l+k}});d.Augment({Stack:e,Parse:a,Definitions:g,Startup:j,config:{MAXMACROS:10000,MAXBUFFER:5*1024},sourceMenuTitle:"TeX Commands",Translate:function(k){var l,n=k.innerHTML.replace(/^\s+/,"").replace(/\s+$/,"");if(MathJax.Hub.Browser.isKonqueror){n=n.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")}var o=(k.type.replace(/\n/g," ").match(/(;|\s|\n)mode\s*=\s*display(;|\s|\n|$)/)!=null);n=d.prefilterMath(n,o,k);try{l=d.Parse(n).mml()}catch(m){if(!m.texError){throw m}l=this.formatError(m,n,o,k)}if(l.inferred){l=i.apply(MathJax.ElementJax,l.data)}else{l=i(l)}if(o){l.root.display="block"}return this.postfilterMath(l,o,k)},prefilterMath:function(l,m,k){return l.replace(/([_^]\s*\d)([0-9.,])/g,"$1 $2")},postfilterMath:function(l,m,k){this.combineRelations(l.root);return l},formatError:function(m,l,n,k){return i.merror(m.message.replace(/\n.*/,""))},Error:function(k){throw MathJax.Hub.Insert(Error(k),{texError:c})},Macro:function(k,l,m){g.macros[k]=["Macro"].concat([].slice.call(arguments,1))},combineRelations:function(l){for(var n=0,k=l.data.length;n<k;n++){if(l.data[n]){if(l.isa(i.mrow)){while(n+1<k&&l.data[n+1]&&l.data[n].isa(i.mo)&&l.data[n+1].isa(i.mo)&&l.data[n].Get("texClass")===i.TEXCLASS.REL&&l.data[n+1].Get("texClass")===i.TEXCLASS.REL){l.data[n].Append.apply(l.data[n],l.data[n+1].data);l.data.splice(n+1,1);k--}}if(!l.data[n].isToken){this.combineRelations(l.data[n])}}}}});d.loadComplete("jax.js")})(MathJax.InputJax.TeX);
|
|
|
|
MathJax.Hub.Register.StartupHook("TeX Jax Ready",function(){var e="1.1";var a=MathJax.ElementJax.mml;var f=MathJax.InputJax.TeX;var c=f.Definitions;var d=f.Stack.Item;var b=function(g){return g.join("em ")+"em"};MathJax.Hub.Insert(c,{macros:{mathring:["Accent","2DA"],nobreakspace:"Tilde",negmedspace:["Spacer",a.LENGTH.NEGATIVEMEDIUMMATHSPACE],negthickspace:["Spacer",a.LENGTH.NEGATIVETHICKMATHSPACE],intI:["Macro","\\mathchoice{\\!}{}{}{}\\!\\!\\int"],iiiint:["MultiIntegral","\\int\\intI\\intI\\intI"],idotsint:["MultiIntegral","\\int\\cdots\\int"],dddot:["Macro","\\mathop{#1}\\limits^{\\textstyle \\mathord{.}\\mathord{.}\\mathord{.}}",1],ddddot:["Macro","\\mathop{#1}\\limits^{\\textstyle \\mathord{.}\\mathord{.}\\mathord{.}\\mathord{.}}",1],sideset:["Macro","\\mathop{\\mathop{\\rlap{\\phantom{#3}}}\\nolimits#1\\!\\mathop{#3}\\nolimits#2}",3],boxed:["Macro","\\fbox{$\\displaystyle{#1}$}",1],tag:"HandleTag",notag:"HandleNoTag",substack:["Macro","\\begin{subarray}{c}#1\\end{subarray}",1],injlim:["Macro","\\mathop{\\rm inj\\,lim}"],projlim:["Macro","\\mathop{\\rm proj\\,lim}"],varliminf:["Macro","\\mathop{\\underline{\\rm lim}}"],varlimsup:["Macro","\\mathop{\\overline{\\rm lim}}"],varinjlim:["Macro","\\mathop{\\underrightarrow{\\rm lim\\Rule{-1pt}{0pt}{1pt}}\\Rule{0pt}{0pt}{.45em}}"],varprojlim:["Macro","\\mathop{\\underleftarrow{\\rm lim\\Rule{-1pt}{0pt}{1pt}}\\Rule{0pt}{0pt}{.45em}}"],DeclareMathOperator:"HandleDeclareOp",operatorname:"HandleOperatorName",genfrac:"Genfrac",frac:["Genfrac","","","",""],tfrac:["Genfrac","","","",1],dfrac:["Genfrac","","","",0],binom:["Genfrac","(",")","0em",""],tbinom:["Genfrac","(",")","0em",1],dbinom:["Genfrac","(",")","0em",0],cfrac:"CFrac",shoveleft:["HandleShove",a.ALIGN.LEFT],shoveright:["HandleShove",a.ALIGN.RIGHT],xrightarrow:["xArrow",8594,5,6],xleftarrow:["xArrow",8592,7,3]},environment:{align:["AMSarray",null,true,true,"rlrlrlrlrlrl",b([5/18,2,5/18,2,5/18,2,5/18,2,5/18,2,5/18])],"align*":["AMSarray",null,false,true,"rlrlrlrlrlrl",b([5/18,2,5/18,2,5/18,2,5/18,2,5/18,2,5/18])],multline:["Multline",null,true],"multline*":["Multline",null,false],split:["AMSarray",null,false,false,"rl",b([5/18])],gather:["AMSarray",null,true,true,"c"],"gather*":["AMSarray",null,false,true,"c"],alignat:["AlignAt",null,true,true],"alignat*":["AlignAt",null,false,true],alignedat:["AlignAt",null,false,false],aligned:["Array",null,null,null,"rlrlrlrlrlrl",b([5/18,2,5/18,2,5/18,2,5/18,2,5/18,2,5/18]),".5em","D"],gathered:["Array",null,null,null,"c",null,".5em","D"],subarray:["Array",null,null,null,null,b([0,0,0,0]),"0.1em","S",1],smallmatrix:["Array",null,null,null,"c",b([1/3]),".2em","S",1]},delimiter:{"\\lvert":["2223",{texClass:a.TEXCLASS.OPEN}],"\\rvert":["2223",{texClass:a.TEXCLASS.CLOSE}],"\\lVert":["2225",{texClass:a.TEXCLASS.OPEN}],"\\rVert":["2225",{texClass:a.TEXCLASS.CLOSE}]}});f.Parse.Augment({HandleTag:function(h){var g=this.trimSpaces(this.GetArgument(h));if(g==="*"){g=this.GetArgument(h)}else{g="("+g+")"}if(this.stack.global.notag){f.Error(h+" not allowed in "+this.stack.global.notag+" environment")}if(this.stack.global.tag){f.Error("Multiple "+h)}this.stack.global.tag=a.mtd.apply(a,this.InternalMath(g))},HandleNoTag:function(g){if(this.stack.global.tag){delete this.stack.global.tag}},HandleDeclareOp:function(h){var g="";var i=this.trimSpaces(this.GetArgument(h));if(i=="*"){g="\\limits";i=this.trimSpaces(this.GetArgument(h))}if(i.charAt(0)=="\\"){i=i.substr(1)}var j=this.GetArgument(h);j=j.replace(/\*/g,"\\text{*}").replace(/-/g,"\\text{-}");f.Definitions.macros[i]=["Macro","\\mathop{\\rm "+j+"}"+g]},HandleOperatorName:function(h){var g="\\nolimits";var i=this.trimSpaces(this.GetArgument(h));if(i=="*"){g="\\limits";i=this.trimSpaces(this.GetArgument(h))}i=i.replace(/\*/g,"\\text{*}").replace(/-/g,"\\text{-}");this.string="\\mathop{\\rm "+i+"}"+g+" "+this.string.slice(this.i);this.i=0},HandleShove:function(h,g){var i=this.stack.Top();if(i.type!=="multline"||i.data.length){f.Error(h+" must come at the beginning of the line")}i.data.shove=g},CFrac:function(j){var g=this.trimSpaces(this.GetBrackets(j)),i=this.GetArgument(j),k=this.GetArgument(j);var h=a.mfrac(f.Parse("\\strut\\textstyle{"+i+"}",this.stack.env).mml(),f.Parse("\\strut\\textstyle{"+k+"}",this.stack.env).mml());g=({l:a.ALIGN.LEFT,r:a.ALIGN.RIGHT,"":""})[g];if(g==null){f.Error("Illegal alignment specified in "+j)}if(g){h.numalign=h.denomalign=g}this.Push(h)},Genfrac:function(h,j,o,l,g){if(j==null){j=this.GetDelimiterArg(h)}else{j=this.convertDelimiter(j)}if(o==null){o=this.GetDelimiterArg(h)}else{o=this.convertDelimiter(o)}if(l==null){l=this.GetArgument(h)}if(g==null){g=this.trimSpaces(this.GetArgument(h))}var k=this.ParseArg(h);var n=this.ParseArg(h);var i=a.mfrac(k,n);if(l!==""){i.linethickness=l}if(j||o){i=a.mfenced(i).With({open:j,close:o})}if(g!==""){var m=(["D","T","S","SS"])[g];if(m==null){f.Error("Bad math style for "+h)}i=a.mstyle(i);if(m==="D"){i.displaystyle=true;i.scriptlevel=0}else{i.displaystyle=false;i.scriptlevel=g-1}}this.Push(i)},Multline:function(h,g){this.Push(h);return d.multline().With({arraydef:{displaystyle:true,rowspacing:".5em",width:f.config.MultLineWidth,columnwidth:"100%",side:f.config.TagSide,minlabelspacing:f.config.TagIndent}})},AMSarray:function(i,h,g,k,j){this.Push(i);k=k.replace(/[^clr]/g,"").split("").join(" ");k=k.replace(/l/g,"left").replace(/r/g,"right").replace(/c/g,"center");return d.AMSarray(i.name,h,g,this.stack).With({arraydef:{displaystyle:true,rowspacing:".5em",columnalign:k,columnspacing:(j||"1em"),rowspacing:"3pt",side:f.config.TagSide,minlabelspacing:f.config.TagIndent}})},AlignAt:function(i,h,g){var j=this.GetArgument("\\begin{"+i.name+"}");if(j.match(/[^0-9]/)){f.Error("Argument to \\begin{"+i.name+"} must me a positive integer")}align="";spacing=[];while(j>0){align+="rl";spacing.push("0em 0em");j--}spacing=spacing.join(" ");if(g){return this.AMSarray(i,h,g,align,spacing)}return this.Array(i,null,null,align,spacing,".5em","D")},MultiIntegral:function(g,k){var j=this.GetNext();if(j==="\\"){var h=this.i;j=this.GetArgument(g);this.i=h;if(j==="\\limits"){if(g==="\\idotsint"){k="\\!\\!\\mathop{\\,\\,"+k+"}"}else{k="\\!\\!\\!\\mathop{\\,\\,\\,"+k+"}"}}}this.string=k+" "+this.string.slice(this.i);this.i=0},xArrow:function(i,m,k,g){var j={width:"+"+(k+g)+"mu",lspace:k+"mu"};var n=this.GetBrackets(i),o=this.ParseArg(i);var p=a.mo(a.chars(String.fromCharCode(m))).With({stretchy:true,texClass:a.TEXCLASS.REL});var h=a.munderover(p);h.SetData(h.over,a.mpadded(o).With(j).With({voffset:".15em"}));if(n){n=f.Parse(n,this.stack.env).mml();h.SetData(h.under,a.mpadded(n).With(j).With({voffset:"-.24em"}))}this.Push(h)},GetDelimiterArg:function(g){var h=this.trimSpaces(this.GetArgument(g));if(h==""){return null}if(!c.delimiter[h]){f.Error("Missing or unrecognized delimiter for "+g)}return this.convertDelimiter(h)}});d.multline=d.array.Subclass({type:"multline",EndEntry:function(){var g=a.mtd.apply(a,this.data);if(this.data.shove){g.columnalign=this.data.shove}this.row.push(g);this.data=[]},EndRow:function(){if(this.row.length!=1){f.Error("multline rows must have exactly one column")}this.table.push(this.row);this.row=[]},EndTable:function(){this.SUPER(arguments).EndTable.call(this);if(this.table.length){var h=this.table.length-1,j;if(!this.table[0][0].columnalign){this.table[0][0].columnalign=a.ALIGN.LEFT}if(!this.table[h][0].columnalign){this.table[h][0].columnalign=a.ALIGN.RIGHT}var g=a.mtr;if(this.global.tag){this.table[0]=[this.global.tag].concat(this.table[0]);delete this.global.tag;g=a.mlabeledtr}this.table[0]=g.apply(a,this.table[0]);for(j=1,h=this.table.length;j<h;j++){this.table[j]=a.mtr.apply(a,this.table[j])}}}});d.AMSarray=d.array.Subclass({type:"AMSarray",Init:function(j,i,h,g){this.SUPER(arguments).Init.apply(this);this.numbered=i;this.save_notag=g.global.notag;g.global.notag=(h?null:j)},EndRow:function(){var g=a.mtr;if(this.global.tag){this.row=[this.global.tag].concat(this.row);g=a.mlabeledtr;delete this.global.tag}this.table.push(g.apply(a,this.row));this.row=[]},EndTable:function(){this.SUPER(arguments).EndTable.call(this);this.global.notag=this.save_notag}});d.start.Augment({oldCheckItem:d.start.prototype.checkItem,checkItem:function(h){if(h.type==="stop"){var g=this.mmlData();if(this.global.tag){var j=[this.global.tag,a.mtd(g)];delete this.global.tag;var i={side:f.config.TagSide,minlabelspacing:f.config.TagIndent,columnalign:g.displayAlign};if(g.displayAlign===a.INDENTALIGN.LEFT){i.width="100%";if(g.displayIndent&&!String(g.displayIndent).match(/^0+(\.0*)?($|[a-z%])/)){i.columnwidth=g.displayIndent+" fit";i.columnspacing="0";j=[j[0],a.mtd(),j[1]]}}else{if(g.displayAlign===a.INDENTALIGN.RIGHT){i.width="100%";if(g.displayIndent&&!String(g.displayIndent).match(/^0+(\.0*)?($|[a-z%])/)){i.columnwidth="fit "+g.displayIndent;i.columnspacing="0";j[2]=a.mtd()}}}g=a.mtable(a.mlabeledtr.apply(a,j)).With(i)}return d.mml(g)}return this.SUPER(arguments).checkItem.call(this,h)}});MathJax.Hub.Startup.signal.Post("TeX AMSmath Ready")});MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/AMSmath.js");
|
|
|
|
MathJax.Hub.Register.StartupHook("TeX Jax Ready",function(){var b="1.1.2";var a=MathJax.ElementJax.mml;MathJax.Hub.Insert(MathJax.InputJax.TeX.Definitions,{mathchar0mi:{digamma:"03DD",varkappa:"03F0",varGamma:["0393",{mathvariant:a.VARIANT.ITALIC}],varDelta:["0394",{mathvariant:a.VARIANT.ITALIC}],varTheta:["0398",{mathvariant:a.VARIANT.ITALIC}],varLambda:["039B",{mathvariant:a.VARIANT.ITALIC}],varXi:["039E",{mathvariant:a.VARIANT.ITALIC}],varPi:["03A0",{mathvariant:a.VARIANT.ITALIC}],varSigma:["03A3",{mathvariant:a.VARIANT.ITALIC}],varUpsilon:["03A5",{mathvariant:a.VARIANT.ITALIC}],varPhi:["03A6",{mathvariant:a.VARIANT.ITALIC}],varPsi:["03A8",{mathvariant:a.VARIANT.ITALIC}],varOmega:["03A9",{mathvariant:a.VARIANT.ITALIC}],beth:"2136",gimel:"2137",daleth:"2138",backprime:["2035",{variantForm:true}],hslash:["210F",{variantForm:true}],varnothing:["2205",{variantForm:true}],blacktriangle:"25B2",triangledown:"25BD",blacktriangledown:"25BC",square:"25A1",Box:"25A1",blacksquare:"25A0",lozenge:"25CA",Diamond:"25CA",blacklozenge:"29EB",circledS:["24C8",{mathvariant:a.VARIANT.NORMAL}],bigstar:"2605",sphericalangle:"2222",measuredangle:"2221",nexists:"2204",complement:"2201",mho:"2127",eth:["00F0",{mathvariant:a.VARIANT.NORMAL}],Finv:"2132",diagup:"2571",Game:"2141",diagdown:"2572",Bbbk:["006B",{mathvariant:a.VARIANT.DOUBLESTRUCK}],yen:"00A5",circledR:"00AE",checkmark:"2713",maltese:"2720"},mathchar0mo:{dotplus:"2214",ltimes:"22C9",smallsetminus:["2216",{variantForm:true}],rtimes:"22CA",Cap:"22D2",doublecap:"22D2",leftthreetimes:"22CB",Cup:"22D3",doublecup:"22D3",rightthreetimes:"22CC",barwedge:"22BC",curlywedge:"22CF",veebar:"22BB",curlyvee:"22CE",doublebarwedge:"2A5E",boxminus:"229F",circleddash:"229D",boxtimes:"22A0",circledast:"229B",boxdot:"22A1",circledcirc:"229A",boxplus:"229E",centerdot:"22C5",divideontimes:"22C7",intercal:"22BA",leqq:"2266",geqq:"2267",leqslant:"2A7D",geqslant:"2A7E",eqslantless:"2A95",eqslantgtr:"2A96",lesssim:"2272",gtrsim:"2273",lessapprox:"2A85",gtrapprox:"2A86",approxeq:"224A",lessdot:"22D6",gtrdot:"22D7",lll:"22D8",llless:"22D8",ggg:"22D9",gggtr:"22D9",lessgtr:"2276",gtrless:"2277",lesseqgtr:"22DA",gtreqless:"22DB",lesseqqgtr:"2A8B",gtreqqless:"2A8C",doteqdot:"2251",Doteq:"2251",eqcirc:"2256",risingdotseq:"2253",circeq:"2257",fallingdotseq:"2252",triangleq:"225C",backsim:"223D",thicksim:["223C",{variantForm:true}],backsimeq:"22CD",thickapprox:"2248",subseteqq:"2AC5",supseteqq:"2AC6",Subset:"22D0",Supset:"22D1",sqsubset:"228F",sqsupset:"2290",preccurlyeq:"227C",succcurlyeq:"227D",curlyeqprec:"22DE",curlyeqsucc:"22DF",precsim:"227E",succsim:"227F",precapprox:"2AB7",succapprox:"2AB8",vartriangleleft:"22B2",lhd:"22B2",vartriangleright:"22B3",rhd:"22B3",trianglelefteq:"22B4",unlhd:"22B4",trianglerighteq:"22B5",unrhd:"22B5",vDash:"22A8",Vdash:"22A9",Vvdash:"22AA",smallsmile:"2323",shortmid:["2223",{variantForm:true}],smallfrown:"2322",shortparallel:["2225",{variantForm:true}],bumpeq:"224F",between:"226C",Bumpeq:"224E",pitchfork:"22D4",varpropto:"221D",backepsilon:"220D",blacktriangleleft:"25C0",blacktriangleright:"25B6",therefore:"2234",because:"2235",eqsim:"2242",vartriangle:["25B3",{variantForm:true}],Join:"22C8",nless:"226E",ngtr:"226F",nleq:"2270",ngeq:"2271",nleqslant:["2A87",{variantForm:true}],ngeqslant:["2A88",{variantForm:true}],nleqq:["2270",{variantForm:true}],ngeqq:["2271",{variantForm:true}],lneq:"2A87",gneq:"2A88",lneqq:"2268",gneqq:"2269",lvertneqq:["2268",{variantForm:true}],gvertneqq:["2269",{variantForm:true}],lnsim:"22E6",gnsim:"22E7",lnapprox:"2A89",gnapprox:"2A8A",nprec:"2280",nsucc:"2281",npreceq:["22E0",{variantForm:true}],nsucceq:["22E1",{variantForm:true}],precneqq:"2AB5",succneqq:"2AB6",precnsim:"22E8",succnsim:"22E9",precnapprox:"2AB9",succnapprox:"2ABA",nsim:"2241",ncong:"2246",nshortmid:["2224",{variantForm:true}],nshortparallel:["2226",{variantForm:true}],nmid:"2224",nparallel:"2226",nvdash:"22AC",nvDash:"22AD",nVdash:"22AE",nVDash:"22AF",ntriangleleft:"22EA",ntriangleright:"22EB",ntrianglelefteq:"22EC",ntrianglerighteq:"22ED",nsubseteq:"2288",nsupseteq:"2289",nsubseteqq:["2288",{variantForm:true}],nsupseteqq:["2289",{variantForm:true}],subsetneq:"228A",supsetneq:"228B",varsubsetneq:["228A",{variantForm:true}],varsupsetneq:["228B",{variantForm:true}],subsetneqq:"2ACB",supsetneqq:"2ACC",varsubsetneqq:["2ACB",{variantForm:true}],varsupsetneqq:["2ACC",{variantForm:true}],leftleftarrows:"21C7",rightrightarrows:"21C9",leftrightarrows:"21C6",rightleftarrows:"21C4",Lleftarrow:"21DA",Rrightarrow:"21DB",twoheadleftarrow:"219E",twoheadrightarrow:"21A0",leftarrowtail:"21A2",rightarrowtail:"21A3",looparrowleft:"21AB",looparrowright:"21AC",leftrightharpoons:"21CB",rightleftharpoons:["21CC",{variantForm:true}],curvearrowleft:"21B6",curvearrowright:"21B7",circlearrowleft:"21BA",circlearrowright:"21BB",Lsh:"21B0",Rsh:"21B1",upuparrows:"21C8",downdownarrows:"21CA",upharpoonleft:"21BF",upharpoonright:"21BE",downharpoonleft:"21C3",restriction:"21BE",multimap:"22B8",downharpoonright:"21C2",leftrightsquigarrow:"21AD",rightsquigarrow:"21DD",leadsto:"21DD",dashrightarrow:"21E2",dashleftarrow:"21E0",nleftarrow:"219A",nrightarrow:"219B",nLeftarrow:"21CD",nRightarrow:"21CF",nleftrightarrow:"21AE",nLeftrightarrow:"21CE"},delimiter:{"\\ulcorner":"250C","\\urcorner":"2510","\\llcorner":"2514","\\lrcorner":"2518"},macros:{implies:["Macro","\\;\\Longrightarrow\\;"],impliedby:["Macro","\\;\\Longleftarrow\\;"]}});var c=a.mo.OPTYPES.REL;MathJax.Hub.Insert(a.mo.prototype,{OPTABLE:{infix:{"\u2322":c,"\u2323":c,"\u25B3":c,"\uE006":c,"\uE007":c,"\uE00C":c,"\uE00D":c,"\uE00E":c,"\uE00F":c,"\uE010":c,"\uE011":c,"\uE016":c,"\uE017":c,"\uE018":c,"\uE019":c,"\uE01A":c,"\uE01B":c,"\uE04B":c,"\uE04F":c}}})});MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",function(){var a=MathJax.OutputJax["HTML-CSS"];var b=a.FONTDATA.VARIANT;if(a.fontInUse==="TeX"){b["-TeX-variant"]={fonts:["MathJax_AMS","MathJax_Main","MathJax_Size1"],remap:{8808:57356,8809:57357,8816:57361,8817:57358,10887:57360,10888:57359,8740:57350,8742:57351,8840:57366,8841:57368,8842:57370,8843:57371,10955:57367,10956:57369,988:57352,1008:57353}};if(a.msieIE6){MathJax.Hub.Insert(b["-TeX-variant"].remap,{8592:[58049,"-WinIE6"],8594:[58048,"-WinIE6"],8739:[58050,"-WinIE6"],8741:[58051,"-WinIE6"],8764:[58052,"-WinIE6"],9651:[58067,"-WinIE6"]})}}if(a.fontInUse==="STIX"){MathJax.Hub.Register.StartupHook("TeX Jax Ready",function(){var c=MathJax.InputJax.TeX.Definitions;c.mathchar0mi.varnothing="2205";c.mathchar0mi.hslash="210F";c.mathchar0mi.blacktriangle="25B4";c.mathchar0mi.blacktriangledown="25BE";c.mathchar0mi.square="25FB";c.mathchar0mi.blacksquare="25FC";c.mathchar0mi.vartriangle=["25B3",{mathsize:"71%"}];c.mathchar0mi.triangledown=["25BD",{mathsize:"71%"}];c.mathchar0mo.blacktriangleleft="25C2";c.mathchar0mo.blacktriangleright="25B8";c.mathchar0mo.smallsetminus="2216";MathJax.Hub.Insert(b["-STIX-variant"],{remap:{10887:57360,10888:57359,8816:57361,8817:57358,8928:57419,8929:57423,8840:57366,8841:57368}})})}MathJax.Hub.Startup.signal.Post("TeX AMSsymbols Ready")});MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/AMSsymbols.js");
|
|
|
|
(function(c,d,e){var a;var b=MathJax.Object.Subclass({timeout:5*1000,FontInfo:{STIX:{family:"STIXSizeOneSym",testString:"() {} []"},TeX:{family:"MathJax_Size1",testString:"() {} []"}},comparisonFont:["sans-serif","monospace","script","Times","Courier","Arial","Helvetica"],testSize:["40px","50px","60px","30px","20px"],Init:function(){this.div=MathJax.HTML.addElement(document.body,"div",{style:{position:"absolute",visibility:"hidden",top:0,left:0,width:"auto",padding:0,border:0,margin:0,textAlign:"left",textIndent:0,textTransform:"none",lineHeight:"normal",letterSpacing:"normal",wordSpacing:"normal",fontSize:this.testSize[0],fontWeight:"normal",fontStyle:"normal"}},[""]);this.text=this.div.firstChild},findFont:function(n,k){if(k&&this.testCollection(k)){return k}for(var l=0,j=n.length;l<j;l++){if(n[l]===k){continue}if(this.testCollection(n[l])){return n[l]}}return null},testCollection:function(i){return this.testFont(this.FontInfo[i])},testFont:function(l){if(l.isWebFont&&e.FontFaceBug){this.div.style.fontWeight=this.div.style.fontStyle="normal"}else{this.div.style.fontWeight=(l.weight||"normal");this.div.style.fontStyle=(l.style||"normal")}var k=this.getComparisonWidths(l.testString,l.noStyleChar);if(k){this.div.style.fontFamily="'"+l.family+"',"+this.comparisonFont[0];if(this.div.offsetWidth==k[0]){this.div.style.fontFamily="'"+l.family+"',"+this.comparisonFont[k[2]];if(this.div.offsetWidth==k[1]){return false}}if(this.div.offsetWidth!=k[3]){if(l.noStyleChar||!e.FONTDATA||!e.FONTDATA.hasStyleChar){return true}for(var n=0,j=this.testSize.length;n<j;n++){if(this.testStyleChar(l,this.testSize[n])){return true}}}}return false},styleChar:"\uEFFD",versionChar:"\uEFFE",compChar:"\uEFFF",testStyleChar:function(k,m){var q=3+(k.weight?2:0)+(k.style?4:0);var j="",l=0;var p=this.div.style.fontSize;this.div.style.fontSize=m;if(e.msieItalicWidthBug&&k.style==="italic"){this.text.nodeValue=j=this.compChar;l=this.div.offsetWidth}if(e.safariTextNodeBug){this.div.innerHTML=this.compChar+j}else{this.text.nodeValue=this.compChar+j}var i=this.div.offsetWidth-l;if(e.safariTextNodeBug){this.div.innerHTML=this.styleChar+j}else{this.text.nodeValue=this.styleChar+j}var o=Math.floor((this.div.offsetWidth-l)/i+0.5);if(o===q){if(e.safariTextNodeBug){this.div.innerHTML=this.versionChar+j}else{this.text.nodeValue=this.versionChar+j}k.version=Math.floor((this.div.offsetWidth-l)/i+1.5)/2}this.div.style.fontSize=p;return(o===q)},getComparisonWidths:function(n,l){if(e.FONTDATA&&e.FONTDATA.hasStyleChar&&!l){n+=this.styleChar+" "+this.compChar}if(e.safariTextNodeBug){this.div.innerHTML=n}else{this.text.nodeValue=n}this.div.style.fontFamily=this.comparisonFont[0];var k=this.div.offsetWidth,p=-1;if(e.safariWebFontSerif){this.div.style.fontFamily=e.safariWebFontSerif[0];p=this.div.offsetWidth}for(var o=1,j=this.comparisonFont.length;o<j;o++){this.div.style.fontFamily=this.comparisonFont[o];if(this.div.offsetWidth!=k){return[k,this.div.offsetWidth,o,p]}}return null},loadWebFont:function(j){d.Startup.signal.Post("HTML-CSS Jax - Web-Font "+e.fontInUse+"/"+j.directory);var l=MathJax.Message.File("Web-Font "+e.fontInUse+"/"+j.directory);var i=MathJax.Callback({});var k=MathJax.Callback(["loadComplete",this,j,l,i]);c.timer.start(c,[this.checkWebFont,j,k],1,this.timeout);return i},loadComplete:function(k,m,j,i){MathJax.Message.Clear(m);if(i===c.STATUS.OK){j();return}this.loadError(k);if(d.Browser.isFirefox&&e.allowWebFonts){var l=document.location.protocol+"//"+document.location.hostname;if(document.location.port!=""){l+=":"+document.location.port}l+="/";if(c.fileURL(e.webfontDir).substr(0,l.length)!==l){this.firefoxFontError(k)}}e.loadWebFontError(k,j)},loadError:function(i){MathJax.Message.Set("Can't load web font "+e.fontInUse+"/"+i.directory,null,2000)},firefoxFontError:function(i){MathJax.Message.Set("Firefox can't load web fonts from a remote host",null,3000)},checkWebFont:function(i,j,k){if(i.time(k)){return}if(e.Font.testFont(j)){k(i.STATUS.OK)}else{setTimeout(i,i.delay)}},fontFace:function(k){var l=e.allowWebFonts;var n=e.FONTDATA.FONTS[k];if(e.msieFontCSSBug&&!n.family.match(/-Web$/)){n.family+="-Web"}var j=c.fileURL(e.webfontDir+"/"+l);var i=k.replace(/-b/,"-B").replace(/-i/,"-I").replace(/-Bold-/,"-Bold");if(!i.match(/-/)){i+="-Regular"}if(l==="svg"){i+=".svg#"+i}else{i+="."+l}var m={"font-family":n.family,src:"url('"+j+"/"+i+"')"};if(l==="svg"){m.src+=" format('svg')"}if(!(e.FontFaceBug&&n.isWebFont)){if(k.match(/-bold/)){m["font-weight"]="bold"}if(k.match(/-italic/)){m["font-style"]="italic"}}return m}});var g,h,f;e.Augment({config:{styles:{".MathJax":{display:"inline","font-family":"serif","font-style":"normal","font-weight":"normal","line-height":"normal","font-size":"100%","font-size-adjust":"none","text-indent":0,"text-align":"left","text-transform":"none","letter-spacing":"normal","word-spacing":"normal","word-wrap":"normal","white-space":"nowrap","float":"none",direction:"ltr",border:0,padding:0,margin:0},".MathJax_Display":{position:"relative",display:"block",width:"100%"},".MathJax img, .MathJax nobr, .MathJax a":{border:0,padding:0,margin:0,"max-width":"none","max-height":"none","vertical-align":0,"line-height":"normal","text-decoration":"none"},"img.MathJax_strut":{border:"0 !important",padding:"0 !important",margin:"0 !important","vertical-align":"0 !important"},".MathJax span":{display:"inline",position:"static",border:0,padding:0,margin:0,"vertical-align":0,"line-height":"normal","text-decoration":"none"},".MathJax nobr":{"white-space":"nowrap ! important"},".MathJax img":{display:"inline ! important"},".MathJax_Processing":{visibility:"hidden",position:"fixed",width:0,height:0,overflow:"hidden"},".MathJax .MathJax_HitBox":{cursor:"text"},"#MathJax_Tooltip":{position:"absolute",left:0,top:0,width:"auto",height:"auto",display:"none"},"#MathJax_Tooltip *":{filter:"none",background:"transparent"}}},settings:d.config.menuSettings,Font:null,Config:function(){this.Font=b();this.SUPER(arguments).Config.call(this);var j=this.settings;if(this.adjustAvailableFonts){this.adjustAvailableFonts(this.config.availableFonts)}if(j.scale){this.config.scale=j.scale}if(j.font&&j.font!=="Auto"){if(j.font==="TeX (local)"){this.config.availableFonts=["TeX"];this.config.preferredFont="TeX";this.config.webFont="TeX"}else{if(j.font==="STIX (local)"){this.config.availableFonts=["STIX"];this.config.preferredFont="STIX";this.config.webFont="TeX"}else{if(j.font==="TeX (web)"){this.config.availableFonts=[];this.config.preferredFont="";this.config.webFont="TeX"}else{if(j.font==="TeX (image)"){this.config.availableFonts=[];this.config.preferredFont="";this.config.webFont=""}}}}}var i=this.Font.findFont(this.config.availableFonts,this.config.preferredFont);if(!i&&this.allowWebFonts){i=this.config.webFont;if(i){this.webFonts=true}}if(!i&&this.config.imageFont){i=this.config.imageFont;this.imgFonts=true}if(i){this.fontInUse=i;this.fontDir+="/"+i;this.webfontDir+="/"+i;if(!this.require){this.require=[]}this.require.push(this.fontDir+"/fontdata.js");if(this.imgFonts){this.require.push(this.directory+"/imageFonts.js");d.Startup.signal.Post("HTML-CSS Jax - using image fonts")}}else{MathJax.Message.Set("Can't find a valid font using ["+this.config.availableFonts.join(", ")+"]",null,3000);this.FONTDATA={TeX_factor:1,baselineskip:1.2,lineH:0.8,lineD:0.2,ffLineH:0.8,FONTS:{},VARIANT:{normal:{fonts:[]}},RANGES:[],DELIMITERS:{},RULECHAR:45,REMAP:{}};if(MathJax.InputJax.TeX&&MathJax.InputJax.TeX.Definitions){MathJax.InputJax.TeX.Definitions.macros.overline[1]="002D";MathJax.InputJax.TeX.Definitions.macros.underline[1]="002D"}d.Startup.signal.Post("HTML-CSS Jax - no valid font")}this.require.push(MathJax.OutputJax.extensionDir+"/MathEvents.js")},Startup:function(){g=MathJax.Extension.MathEvents.Event;h=MathJax.Extension.MathEvents.Touch;f=MathJax.Extension.MathEvents.Hover;this.ContextMenu=g.ContextMenu;this.Mousedown=g.AltContextMenu;this.Mouseover=f.Mouseover;this.Mouseout=f.Mouseout;this.Mousemove=f.Mousemove;var l=[],p=this.FONTDATA.VARIANT.normal.fonts;if(!(p instanceof Array)){p=[p]}for(var k=0,j=p.length;k<j;k++){l[k]=this.FONTDATA.FONTS[p[k]].family;if(!l[k]){l[k]=p[k]}}this.config.styles[".MathJax .math span"]=this.config.styles["#MathJax_getScales"]={"font-family":l.join(",")};this.hiddenDiv=this.Element("div",{style:{visibility:"hidden",overflow:"hidden",position:"absolute",top:0,height:"1px",width:"auto",padding:0,border:0,margin:0,textAlign:"left",textIndent:0,textTransform:"none",lineHeight:"normal",letterSpacing:"normal",wordSpacing:"normal"}});if(!document.body.firstChild){document.body.appendChild(this.hiddenDiv)}else{document.body.insertBefore(this.hiddenDiv,document.body.firstChild)}this.hiddenDiv=this.addElement(this.hiddenDiv,"div",{id:"MathJax_Hidden"});var o=this.addElement(this.hiddenDiv,"div",{style:{width:"5in"}});this.pxPerInch=o.offsetWidth/5;this.hiddenDiv.removeChild(o);this.startMarker=e.createStrut(this.Element("span"),10,true);this.endMarker=this.addText(this.Element("span"),"x").parentNode;this.HDspan=this.Element("span");if(this.operaHeightBug){this.createStrut(this.HDspan,0)}if(this.msieInlineBlockAlignBug){this.HDimg=this.addElement(this.HDspan,"img",{style:{height:"0px",width:"1px"}});try{this.HDimg.src="about:blank"}catch(n){}}else{this.HDimg=e.createStrut(this.HDspan,0)}this.HDMspan=this.Element("span",{style:{position:"absolute","font-size-adjust":"none"}});if(this.msieInlineBlockAlignBug){this.HDMimg=this.addElement(this.HDMspan,"img",{style:{height:"0px",width:"1px","max-width":"none","max-height":"none",border:0,padding:0,margin:0}});try{this.HDMimg.src="about:blank"}catch(n){}}else{this.HDMimg=e.createStrut(this.HDMspan,0);this.HDMimg.style.marginRight=""}this.marginCheck=e.Element("span",null,[["span",{style:{display:"inline-block",width:"5em"}}]]);this.marginMove=e.addElement(this.marginCheck,"span",{style:{display:"inline-block",width:"5em",marginLeft:"-5em"}});return c.Styles(this.config.styles,["PreloadWebFonts",this])},PreloadWebFonts:function(){if(!e.allowWebFonts||!e.config.preloadWebFonts){return}for(var k=0,j=e.config.preloadWebFonts.length;k<j;k++){var l=e.FONTDATA.FONTS[e.config.preloadWebFonts[k]];if(!l.available){e.Font.testFont(l)}}},Translate:function(p){if(!p.parentNode){return}var n=p.previousSibling;if(n&&String(n.className).match(/^MathJax(_MathML|_Display)?$/)){n.parentNode.removeChild(n)}var j=p.MathJax.elementJax,q=j.root,r,i,l;r=i=l=this.Element("span",{className:"MathJax",isMathJax:true,jaxID:this.id,id:j.inputID+"-Span",oncontextmenu:g.Menu,onmousedown:g.Mousedown,onmouseover:g.Mouseover,onmouseout:g.Mouseout,onmousemove:g.Mousemove,onclick:g.Click,ondblclick:g.DblClick});if(MathJax.Hub.Browser.noContextMenu){r.ontouchstart=h.start;r.ontouchend=h.end}var m=(q.Get("display")==="block");if(m){i=l=this.Element("div",{className:"MathJax_Display",style:{width:"100%",position:"relative"}});i.appendChild(r)}i.setAttribute("role","textbox");i.setAttribute("aria-readonly","true");if(this.useProcessingFrame){l=this.Element((m?"div":"span"),{className:"MathJax_Processing"});l.appendChild(i)}p.parentNode.insertBefore(l,p);var k;try{this.getScales(r);k=(this.em===0||String(this.em)==="NaN")}catch(o){k=true}if(k){this.hiddenDiv.appendChild(l);this.getScales(r)}j.em=this.em;j.outerEm=this.outerEm;j.scale=this.scale;this.initImg(r);this.initHTML(q,r);q.setTeXclass();try{q.toHTML(r,i)}catch(o){if(o.restart){l.parentNode.removeChild(l)}throw o}if(k){p.parentNode.insertBefore(l,p)}if(this.useProcessingFrame){l.parentNode.replaceChild(i,l)}},getJaxFromMath:function(i){if(i.parentNode.className==="MathJax_Display"){i=i.parentNode}return d.getJaxFor(i.nextSibling)},getHoverSpan:function(i){return i.root.HTMLspanElement()},getHoverBBox:function(i,l){var m=l.bbox,k=i.outerEm;var j={w:m.w*k,h:m.h*k,d:m.d*k};if(m.width){j.width=m.width}return j},Zoom:function(p,s,r,i,o){s.className="MathJax";this.getScales(s,s);this.idPostfix="-zoom";p.toHTML(s,s);this.idPostfix="";var k=p.HTMLspanElement().bbox.width;if(k){s.style.width=Math.floor(i-1.5*e.em)+"px";s.style.display="inline-block";var j=(p.id||"MathJax-Span-"+p.spanID)+"-zoom";var l=document.getElementById(j).firstChild;while(l&&l.style.width!==k){l=l.nextSibling}if(l){l.style.width="100%"}}s.style.position=r.style.position="absolute";var q=s.offsetWidth,n=s.offsetHeight,t=r.offsetHeight,m=r.offsetWidth;if(m===0){m=r.parentNode.offsetWidth}s.style.position=r.style.position="";return{Y:-g.getBBox(s).h,mW:m,mH:t,zW:q,zH:n}},initImg:function(i){},initHTML:function(j,i){},initFont:function(i){var k=e.FONTDATA.FONTS,j=e.config.availableFonts;if(j&&j.length&&e.Font.testFont(k[i])){k[i].available=true;return null}if(!this.allowWebFonts){return null}k[i].isWebFont=true;if(e.FontFaceBug){k[i].family=i;if(e.msieFontCSSBug){k[i].family+="-Web"}}return c.Styles({"@font-face":this.Font.fontFace(i)})},Remove:function(i){var j=i.SourceElement();if(!j){return}j=j.previousSibling;if(!j){return}if(j.className.match(/^MathJax/)){j.parentNode.removeChild(j)}},getScales:function(k){k.parentNode.insertBefore(this.HDMspan,k);this.HDMspan.className="";this.HDMspan.id="";this.HDMspan.style.fontSize="";this.HDMimg.style.height="1px";this.HDMimg.style.width="60ex";var j=this.HDMspan.offsetWidth/60;this.HDMspan.className="MathJax";this.HDMspan.id="MathJax_getScales";this.HDMimg.style.width="60em";var i=this.outerEm=this.HDMspan.offsetWidth/60;this.scale=Math.floor(Math.max(this.config.minScaleAdjust/100,(j/this.TeX.x_height)/i)*this.config.scale);k.style.fontSize=this.HDMspan.style.fontSize=this.scale+"%";this.em=a.mbase.prototype.em=this.HDMspan.offsetWidth/60;if(this.operaFontSizeBug&&i===this.em&&this.scale!==100){this.em=a.mbase.prototype.em=i*this.scale/100}k.parentNode.removeChild(this.HDMspan);this.msieMarginScale=this.getMarginScale(k)},getMarginScale:function(i){return 1},getMSIEmarginScale:function(k){k.appendChild(this.marginCheck);var i=this.marginCheck.offsetWidth,j=this.marginMove.offsetWidth;var l=(2*j-i?j/(2*j-i):1);k.removeChild(this.marginCheck);return l},getHD:function(j){var i=j.style.position;j.style.position="absolute";this.HDimg.style.height="0px";j.appendChild(this.HDspan);var k={h:j.offsetHeight};this.HDimg.style.height=k.h+"px";k.d=j.offsetHeight-k.h;k.h-=k.d;k.h/=this.em;k.d/=this.em;j.removeChild(this.HDspan);j.style.position=i;return k},getW:function(l){var j=l.offsetWidth,k=(l.bbox?l.bbox.w:-1),m=l;if((k<0||this.negativeSkipBug)&&j>=0){if(this.negativeSkipBug){var i=l.style.position;l.style.position="absolute";m=this.startMarker;if(l.firstChild){l.insertBefore(m,l.firstChild)}else{l.appendChild(m)}m=this.startMarker}l.appendChild(this.endMarker);j=this.endMarker.offsetLeft-m.offsetLeft;l.removeChild(this.endMarker);if(this.negativeSkipBug){l.removeChild(m);l.style.position=i}}return j/this.em},Measured:function(k,j){if(k.bbox.width==null&&k.bbox.w&&!k.bbox.isMultiline){var i=this.getW(k);k.bbox.rw+=i-k.bbox.w;k.bbox.w=i}if(!j){j=k.parentNode}if(!j.bbox){j.bbox=k.bbox}return k},Remeasured:function(j,i){i.bbox=this.Measured(j,i).bbox},Em:function(i){if(Math.abs(i)<0.0006){return"0em"}return i.toFixed(3).replace(/\.?0+$/,"")+"em"},Percent:function(i){return(100*i).toFixed(1).replace(/\.?0+$/,"")+"%"},length2percent:function(i){return this.Percent(this.length2em(i))},length2em:function(o,l){if(typeof(o)!=="string"){o=o.toString()}if(o===""){return""}if(o===a.SIZE.NORMAL){return 1}if(o===a.SIZE.BIG){return 2}if(o===a.SIZE.SMALL){return 0.71}if(o==="infinity"){return e.BIGDIMEN}var k=this.FONTDATA.TeX_factor;if(o.match(/mathspace$/)){return e.MATHSPACE[o]*k}var j=o.match(/^\s*([-+]?(?:\.\d+|\d+(?:\.\d*)?))?(pt|em|ex|mu|px|pc|in|mm|cm|%)?/);var i=parseFloat(j[1]||"1"),n=j[2];if(l==null){l=1}if(n==="em"){return i*k}if(n==="ex"){return i*e.TeX.x_height*k}if(n==="%"){return i/100*l}if(n==="px"){return i/e.em}if(n==="pt"){return i/10*k}if(n==="pc"){return i*1.2*k}if(n==="in"){return i*this.pxPerInch/e.em}if(n==="cm"){return i*this.pxPerInch/e.em/2.54}if(n==="mm"){return i*this.pxPerInch/e.em/25.4}if(n==="mu"){return i/18*k}return i*k*l},thickness2em:function(i){var j=e.TeX.rule_thickness;if(i===a.LINETHICKNESS.MEDIUM){return j}if(i===a.LINETHICKNESS.THIN){return 0.67*j}if(i===a.LINETHICKNESS.THICK){return 1.67*j}return this.length2em(i,j)},createStrut:function(k,j,l){var i=this.Element("span",{isMathJax:true,style:{display:"inline-block",overflow:"hidden",height:j+"px",width:"1px",marginRight:"-1px"}});if(l){k.insertBefore(i,k.firstChild)}else{k.appendChild(i)}return i},createBlank:function(j,i,k){var l=this.Element("span",{isMathJax:true,style:{display:"inline-block",overflow:"hidden",height:"1px",width:this.Em(i)}});if(k){j.insertBefore(l,j.firstChild)}else{j.appendChild(l)}return l},createShift:function(j,i,l){var k=this.Element("span",{style:{marginLeft:this.Em(i)},isMathJax:true});if(l){j.insertBefore(k,j.firstChild)}else{j.appendChild(k)}return k},createSpace:function(m,l,o,i,j){var k=this.Em(Math.max(0,l+o)),n=this.Em(-o);if(this.msieInlineBlockAlignBug){n=this.Em(e.getHD(m.parentNode).d-o)}if(m.isBox||m.className=="mspace"){m.bbox={h:l*m.scale,d:o*m.scale,w:i*m.scale,rw:i*m.scale,lw:0};m.style.height=k;m.style.verticalAlign=n}else{m=this.addElement(m,"span",{style:{height:k,verticalAlign:n},isMathJax:true})}if(i>=0){m.style.width=this.Em(i);m.style.display="inline-block"}else{if(this.msieNegativeSpaceBug){m.style.height=""}m.style.marginLeft=this.Em(i);if(e.safariNegativeSpaceBug&&m.parentNode.firstChild==m){this.createBlank(m,0,true)}}if(j&&j!==a.COLOR.TRANSPARENT){m.style.backgroundColor=j}return m},createRule:function(p,l,n,q,j){var k=e.TeX.min_rule_thickness;if(q>0&&q*this.em<k){q=k/this.em}if(l+n>0&&(l+n)*this.em<k){var m=1/(l+n)*(k/this.em);l*=m;n*=m}if(!j){j="solid"}else{j="solid "+j}j=this.Em(q)+" "+j;var r=this.Em(l+n),i=this.Em(-n);var o=this.addElement(p,"span",{style:{borderLeft:j,display:"inline-block",overflow:"hidden",width:0,height:r,verticalAlign:i},bbox:{h:l,d:n,w:q,rw:q,lw:0},noAdjust:true,isMathJax:true});if(q>0&&o.offsetWidth==0){o.style.width=this.Em(q)}if(p.isBox||p.className=="mspace"){p.bbox=o.bbox}return o},createFrame:function(q,o,p,r,u,j){var n=(this.msieBorderWidthBug?0:2*u);var s=this.Em(o+p-n),i=this.Em(-p-u),m=this.Em(r-n);var k=this.Em(u)+" "+j;var l=this.addElement(q,"span",{style:{border:k,display:"inline-block",overflow:"hidden",width:m,height:s},bbox:{h:o,d:p,w:r,rw:r,lw:0},noAdjust:true,isMathJax:true});if(i){l.style.verticalAlign=i}return l},createStack:function(k,m,j){if(this.msiePaddingWidthBug){this.createStrut(k,0)}var l=String(j).match(/%$/);var i=(!l&&j!=null?j:0);k=this.addElement(k,"span",{noAdjust:true,isMathJax:true,style:{display:"inline-block",position:"relative",width:(l?"100%":this.Em(i)),height:0}});if(!m){k.parentNode.bbox=k.bbox={h:-this.BIGDIMEN,d:-this.BIGDIMEN,w:i,lw:this.BIGDIMEN,rw:(!l&&j!=null?j:-this.BIGDIMEN)};if(l){k.bbox.width=j}}return k},createBox:function(j,i){var k=this.addElement(j,"span",{style:{position:"absolute"},isBox:true,isMathJax:true});if(i!=null){k.style.width=i}return k},addBox:function(i,j){j.style.position="absolute";j.isBox=true;return i.appendChild(j)},placeBox:function(q,p,o,m){q.isMathJax=true;var s=q.parentNode,A=q.bbox,v=s.bbox;if(this.msiePlaceBoxBug){this.addText(q,this.NBSP)}if(this.imgSpaceBug){this.addText(q,this.imgSpace)}var u=q.offsetHeight/this.em+1,C=0;if(q.noAdjust){u-=1}else{if(this.msieInlineBlockAlignBug){this.addElement(q,"img",{className:"MathJax_strut",border:0,src:"about:blank",isMathJax:true,style:{width:0,height:this.Em(u)}})}else{this.addElement(q,"span",{isMathJax:true,style:{display:"inline-block",width:0,height:this.Em(u)}})}}q.style.top=this.Em(-o-u);q.style.left=this.Em(p+C);if(A){if(this.negativeSkipBug){if(A.lw<0){C=A.lw;e.createBlank(q,-C,true);k=0}if(A.rw>A.w){e.createBlank(q,A.rw-A.w+0.1)}}if(!this.msieClipRectBug&&!A.noclip&&!m){var z=3/this.em;var w=(A.H==null?A.h:A.H),j=(A.D==null?A.d:A.D);var B=u-w-z,n=u+j+z,k=A.lw-3*z,i=1000;if(A.isFixed){i=A.width-k}q.style.clip="rect("+this.Em(B)+" "+this.Em(i)+" "+this.Em(n)+" "+this.Em(k)+")"}}if(A&&v){if(A.H!=null&&(v.H==null||A.H+o>v.H)){v.H=A.H+o}if(A.D!=null&&(v.D==null||A.D-o>v.D)){v.D=A.D-o}if(A.h+o>v.h){v.h=A.h+o}if(A.d-o>v.d){v.d=A.d-o}if(v.H!=null&&v.H<=v.h){delete v.H}if(v.D!=null&&v.D<=v.d){delete v.D}if(A.w+p>v.w){v.w=A.w+p;if(v.width==null){s.style.width=this.Em(v.w)}}if(A.rw+p>v.rw){v.rw=A.rw+p}if(A.lw+p<v.lw){v.lw=A.lw+p}if(A.width!=null&&!A.isFixed){if(v.width==null){s.style.width=v.width="100%"}q.style.width=A.width}}},alignBox:function(k,q,p){this.placeBox(k,0,p);var n=k.bbox;if(n.isMultiline){return}var j=n.width!=null&&!n.isFixed;var m=0,o=-n.w/2,i="50%";if(this.negativeSkipBug){m=n.w-n.rw-0.1;o+=n.lw}o=this.Em(o*this.msieMarginScale);if(j){o="";i=(50-parseFloat(n.width)/2)+"%"}d.Insert(k.style,({right:{left:"",right:this.Em(m)},center:{left:i,marginLeft:o}})[q])},setStackWidth:function(j,i){if(typeof(i)==="number"){j.style.width=this.Em(Math.max(0,i));if(j.bbox){j.bbox.w=i}if(j.parentNode.bbox){j.parentNode.bbox.w=i}}else{j.style.width=j.parentNode.style.width="100%";if(j.bbox){j.bbox.width=i}if(j.parentNode.bbox){j.parentNode.bbox.width=i}}},createDelimiter:function(t,j,l,p,n){if(!j){t.bbox={h:0,d:0,w:this.TeX.nulldelimiterspace,lw:0};t.bbox.rw=t.bbox.w;this.createSpace(t,t.bbox.h,t.bbox.d,t.bbox.w);return}if(!p){p=1}if(!(l instanceof Array)){l=[l,l]}var s=l[1];l=l[0];var k={alias:j};while(k.alias){j=k.alias;k=this.FONTDATA.DELIMITERS[j];if(!k){k={HW:[0,this.FONTDATA.VARIANT[a.VARIANT.NORMAL]]}}}for(var r=0,o=k.HW.length;r<o;r++){if(k.HW[r][0]*p>=l-0.01||(r==o-1&&!k.stretch)){if(k.HW[r][2]){p*=k.HW[r][2]}if(k.HW[r][3]){j=k.HW[r][3]}var q=this.addElement(t,"span");this.createChar(q,[j,k.HW[r][1]],p,n);t.bbox=q.bbox;t.offset=0.65*t.bbox.w;t.scale=p;return}}if(k.stretch){this["extendDelimiter"+k.dir](t,s,k.stretch,p,n)}},extendDelimiterV:function(x,r,C,D,u){var l=this.createStack(x,true);var t=this.createBox(l),s=this.createBox(l);this.createChar(t,(C.top||C.ext),D,u);this.createChar(s,(C.bot||C.ext),D,u);var j={bbox:{w:0,lw:0,rw:0}},B=j,m;var z=t.bbox.h+t.bbox.d+s.bbox.h+s.bbox.d;var p=-t.bbox.h;this.placeBox(t,0,p,true);p-=t.bbox.d;if(C.mid){B=this.createBox(l);this.createChar(B,C.mid,D,u);z+=B.bbox.h+B.bbox.d}if(r>z){j=this.Element("span");this.createChar(j,C.ext,D,u);var A=j.bbox.h+j.bbox.d,i=A-0.05,v,o,w=(C.mid?2:1);o=v=Math.ceil((r-z)/(w*i));if(!C.fullExtenders){i=(r-z)/(w*v)}var q=(v/(v+1))*(A-i);i=A-q;p+=q+i-j.bbox.h;while(w-->0){while(v-->0){if(!this.msieCloneNodeBug){m=j.cloneNode(true)}else{m=this.Element("span");this.createChar(m,C.ext,D,u)}p-=i;this.placeBox(this.addBox(l,m),0,p,true)}p+=q-j.bbox.d;if(C.mid&&w){this.placeBox(B,0,p-B.bbox.h,true);v=o;p+=-(B.bbox.h+B.bbox.d)+q+i-j.bbox.h}}}else{p+=(z-r)/2;if(C.mid){this.placeBox(B,0,p-B.bbox.h,true);p+=-(B.bbox.h+B.bbox.d)}p+=(z-r)/2}this.placeBox(s,0,p-s.bbox.h,true);p-=s.bbox.h+s.bbox.d;x.bbox={w:Math.max(t.bbox.w,j.bbox.w,s.bbox.w,B.bbox.w),lw:Math.min(t.bbox.lw,j.bbox.lw,s.bbox.lw,B.bbox.lw),rw:Math.max(t.bbox.rw,j.bbox.rw,s.bbox.rw,B.bbox.rw),h:0,d:-p};x.scale=D;x.offset=0.55*x.bbox.w;x.isMultiChar=true;this.setStackWidth(l,x.bbox.w)},extendDelimiterH:function(z,l,C,E,u){var p=this.createStack(z,true);var m=this.createBox(p),A=this.createBox(p);this.createChar(m,(C.left||C.rep),E,u);this.createChar(A,(C.right||C.rep),E,u);var i=this.Element("span");this.createChar(i,C.rep,E,u);var B={bbox:{h:-this.BIGDIMEN,d:-this.BIGDIMEN}},j;this.placeBox(m,-m.bbox.lw,0,true);var s=(m.bbox.rw-m.bbox.lw)+(A.bbox.rw-A.bbox.lw)-0.05,r=m.bbox.rw-m.bbox.lw-0.025,t;if(C.mid){B=this.createBox(p);this.createChar(B,C.mid,E,u);s+=B.bbox.w}if(l>s){var D=i.bbox.rw-i.bbox.lw,o=D-0.05,v,q,y=(C.mid?2:1);q=v=Math.ceil((l-s)/(y*o));o=(l-s)/(y*v);t=(v/(v+1))*(D-o);o=D-t;r-=i.bbox.lw+t;while(y-->0){while(v-->0){if(!this.msieCloneNodeBug){j=i.cloneNode(true)}else{j=this.Element("span");this.createChar(j,C.rep,E,u)}this.placeBox(this.addBox(p,j),r,0,true);r+=o}if(C.mid&&y){this.placeBox(B,r,0,true);r+=B.bbox.w-t;v=q}}}else{t=Math.min(s-l,m.bbox.w/2);r-=t/2;if(C.mid){this.placeBox(B,r,0,true);r+=B.bbox.w}r-=t/2}this.placeBox(A,r,0,true);z.bbox={w:r+A.bbox.rw,lw:0,rw:r+A.bbox.rw,H:Math.max(m.bbox.h,i.bbox.h,A.bbox.h,B.bbox.h),D:Math.max(m.bbox.d,i.bbox.d,A.bbox.d,B.bbox.d),h:i.bbox.h,d:i.bbox.d};z.scale=E;z.isMultiChar=true;this.setStackWidth(p,z.bbox.w)},createChar:function(r,o,l,j){r.isMathJax=true;var q=r,s="",n={fonts:[o[1]],noRemap:true};if(j&&j===a.VARIANT.BOLD){n.fonts=[o[1]+"-bold",o[1]]}if(typeof(o[1])!=="string"){n=o[1]}if(o[0] instanceof Array){for(var p=0,k=o[0].length;p<k;p++){s+=String.fromCharCode(o[0][p])}}else{s=String.fromCharCode(o[0])}if(l!==1){q=this.addElement(r,"span",{style:{fontSize:this.Percent(l)},scale:l,isMathJax:true});this.handleVariant(q,n,s);r.bbox=q.bbox}else{this.handleVariant(r,n,s)}if(o[2]){r.style.marginLeft=this.Em(o[2])}if(this.AccentBug&&r.bbox.w===0){q.firstChild.nodeValue+=this.NBSP;e.createSpace(r,0,0,-r.offsetWidth/e.em)}},positionDelimiter:function(j,i){i-=j.bbox.h;j.bbox.d-=i;j.bbox.h+=i;if(i){if(this.safariVerticalAlignBug||this.msieVerticalAlignBug||this.konquerorVerticalAlignBug||(this.operaVerticalAlignBug&&j.isMultiChar)){if(j.firstChild.style.display===""&&j.style.top!==""){j=j.firstChild;i-=parseFloat(j.style.top)}j.style.position="relative";j.style.top=this.Em(-i)}else{j.style.verticalAlign=this.Em(i);if(e.ffVerticalAlignBug){e.createRule(j.parentNode,j.bbox.h,0,0)}}}},handleVariant:function(y,o,r){var x="",v,B,s,k,A,C,j=y;if(r.length===0){return}if(!y.bbox){y.bbox={w:0,h:-this.BIGDIMEN,d:-this.BIGDIMEN,rw:-this.BIGDIMEN,lw:this.BIGDIMEN}}if(!o){o=this.FONTDATA.VARIANT[a.VARIANT.NORMAL]}C=o;for(var z=0,w=r.length;z<w;z++){o=C;v=r.charCodeAt(z);B=r.charAt(z);if(B===this.PLANE1){z++;v=r.charCodeAt(z)+119808-56320;if(this.FONTDATA.RemapPlane1){var D=this.FONTDATA.RemapPlane1(v,o);v=D.n;o=D.variant}}else{var t,q,u=this.FONTDATA.RANGES;for(t=0,q=u.length;t<q;t++){if(u[t].name==="alpha"&&o.noLowerCase){continue}var p=o["offset"+u[t].offset];if(p&&v>=u[t].low&&v<=u[t].high){if(u[t].remap&&u[t].remap[v]){v=p+u[t].remap[v]}else{v=v-u[t].low+p;if(u[t].add){v+=u[t].add}}if(o["variant"+u[t].offset]){o=this.FONTDATA.VARIANT[o["variant"+u[t].offset]]}break}}}if(o.remap&&o.remap[v]){if(o.remap[v] instanceof Array){var l=o.remap[v];v=l[0];o=this.FONTDATA.VARIANT[l[1]]}else{v=o.remap[v];if(o.remap.variant){o=this.FONTDATA.VARIANT[o.remap.variant]}}}if(this.FONTDATA.REMAP[v]&&!o.noRemap){v=this.FONTDATA.REMAP[v]}s=this.lookupChar(o,v);B=s[v];if(o!==A&&!B[5].img){if(x.length){this.addText(j,x);x=""}j=y;A=k;if(o!==A){if(A){j=this.addElement(y,"span",{isMathJax:true})}else{k=o}}this.handleFont(j,s,j!==y);A=o}x=this.handleChar(j,s,B,v,x);if(B[0]/1000>y.bbox.h){y.bbox.h=B[0]/1000}if(B[1]/1000>y.bbox.d){y.bbox.d=B[1]/1000}if(y.bbox.w+B[3]/1000<y.bbox.lw){y.bbox.lw=y.bbox.w+B[3]/1000}if(y.bbox.w+B[4]/1000>y.bbox.rw){y.bbox.rw=y.bbox.w+B[4]/1000}y.bbox.w+=B[2]/1000}if(x.length){this.addText(j,x)}if(y.scale&&y.scale!==1){y.bbox.h*=y.scale;y.bbox.d*=y.scale;y.bbox.w*=y.scale;y.bbox.lw*=y.scale;y.bbox.rw*=y.scale}if(r.length==1&&s.skew&&s.skew[v]){y.bbox.skew=s.skew[v]}},handleFont:function(k,i,m){k.style.fontFamily=i.family;if(!(e.FontFaceBug&&i.isWebFont)){var j=i.style||"normal",l=i.weight||"normal";if(j!=="normal"||m){k.style.fontStyle=j}if(l!=="normal"||m){k.style.fontWeight=l}}},handleChar:function(j,i,p,o,m){var l=p[5];if(l.img){return this.handleImg(j,i,p,o,m)}if(l.isUnknown&&this.FONTDATA.DELIMITERS[o]){if(m.length){this.addText(j,m)}var k=j.scale;e.createDelimiter(j,o,0,1,i);j.scale=k;p[0]=j.bbox.h*1000;p[1]=j.bbox.d*1000;p[2]=j.bbox.w*1000;p[3]=j.bbox.lw*1000;p[4]=j.bbox.rw*1000;return""}if(l.c==null){if(o<=65535){l.c=String.fromCharCode(o)}else{l.c=this.PLANE1+String.fromCharCode(o-119808+56320)}}if(p[2]||!this.msieAccentBug||m.length){return m+l.c}e.createShift(j,p[3]/1000);e.createShift(j,(p[4]-p[3])/1000);this.addText(j,l.c);e.createShift(j,-p[4]/1000);return""},handleImg:function(j,i,m,l,k){return k},lookupChar:function(o,s){var l,j;if(!o.FONTS){var r=this.FONTDATA.FONTS;var q=(o.fonts||this.FONTDATA.VARIANT.normal.fonts);if(!(q instanceof Array)){q=[q]}if(o.fonts!=q){o.fonts=q}o.FONTS=[];for(l=0,j=q.length;l<j;l++){if(r[q[l]]){o.FONTS.push(r[q[l]]);r[q[l]].name=q[l]}}}for(l=0,j=o.FONTS.length;l<j;l++){var k=o.FONTS[l];if(typeof(k)==="string"){delete o.FONTS;this.loadFont(k)}if(k[s]){if(k[s].length===5){k[s][5]={}}if(e.allowWebFonts&&!k.available){this.loadWebFont(k)}else{return k}}else{this.findBlock(k,s)}}var p=(o.defaultFont||{family:e.config.undefinedFamily});if(o.bold){p.weight="bold"}if(o.italic){p.style="italic"}p[s]=[800,200,500,0,500,{isUnknown:true}];return p},findBlock:function(l,q){if(l.Ranges){for(var p=0,k=l.Ranges.length;p<k;p++){if(q<l.Ranges[p][0]){return}if(q<=l.Ranges[p][1]){var o=l.Ranges[p][2];for(var n=l.Ranges.length-1;n>=0;n--){if(l.Ranges[n][2]==o){l.Ranges.splice(n,1)}}this.loadFont(l.directory+"/"+o+".js")}}}},loadFont:function(j){var i=MathJax.Callback.Queue();i.Push(["Require",c,this.fontDir+"/"+j]);if(this.imgFonts){if(!MathJax.isPacked){j=j.replace(/\/([^\/]*)$/,e.imgPacked+"/$1")}i.Push(["Require",c,this.webfontDir+"/png/"+j])}d.RestartAfter(i.Push({}))},loadWebFont:function(i){i.available=i.isWebFont=true;if(e.FontFaceBug){i.family=i.name;if(e.msieFontCSSBug){i.family+="-Web"}}d.RestartAfter(this.Font.loadWebFont(i))},loadWebFontError:function(j,i){d.Startup.signal.Post("HTML-CSS Jax - disable web fonts");j.isWebFont=false;if(this.config.imageFont&&this.config.imageFont===this.fontInUse){this.imgFonts=true;d.Startup.signal.Post("HTML-CSS Jax - switch to image fonts");d.Startup.signal.Post("HTML-CSS Jax - using image fonts");MathJax.Message.Set("Web-Fonts not available -- using image fonts instead",null,3000);c.Require(this.directory+"/imageFonts.js",i)}else{this.allowWebFonts=false;i()}},Element:MathJax.HTML.Element,addElement:MathJax.HTML.addElement,TextNode:MathJax.HTML.TextNode,addText:MathJax.HTML.addText,ucMatch:MathJax.HTML.ucMatch,BIGDIMEN:10000000,ID:0,idPostfix:"",GetID:function(){this.ID++;return this.ID},MATHSPACE:{veryverythinmathspace:1/18,verythinmathspace:2/18,thinmathspace:3/18,mediummathspace:4/18,thickmathspace:5/18,verythickmathspace:6/18,veryverythickmathspace:7/18,negativeveryverythinmathspace:-1/18,negativeverythinmathspace:-2/18,negativethinmathspace:-3/18,negativemediummathspace:-4/18,negativethickmathspace:-5/18,negativeverythickmathspace:-6/18,negativeveryverythickmathspace:-7/18},TeX:{x_height:0.430554,quad:1,num1:0.676508,num2:0.393732,num3:0.44373,denom1:0.685951,denom2:0.344841,sup1:0.412892,sup2:0.362892,sup3:0.288888,sub1:0.15,sub2:0.247217,sup_drop:0.386108,sub_drop:0.05,delim1:2.39,delim2:1,axis_height:0.25,rule_thickness:0.06,big_op_spacing1:0.111111,big_op_spacing2:0.166666,big_op_spacing3:0.2,big_op_spacing4:0.6,big_op_spacing5:0.1,scriptspace:0.1,nulldelimiterspace:0.12,delimiterfactor:901,delimitershortfall:0.1,min_rule_thickness:1.25},PLANE1:String.fromCharCode(55349),NBSP:String.fromCharCode(160),rfuzz:0});MathJax.Hub.Register.StartupHook("mml Jax Ready",function(){a=MathJax.ElementJax.mml;a.mbase.Augment({toHTML:function(o){var l=this.HTMLlineBreaks();if(l.length>2){return this.toHTMLmultiline(o,l)}o=this.HTMLcreateSpan(o);if(this.type!="mrow"){o=this.HTMLhandleSize(o)}for(var k=0,j=this.data.length;k<j;k++){if(this.data[k]){this.data[k].toHTML(o)}}var q=this.HTMLcomputeBBox(o);var n=o.bbox.h,p=o.bbox.d;for(k=0,j=q.length;k<j;k++){q[k].HTMLstretchV(o,n,p)}if(q.length){this.HTMLcomputeBBox(o,true)}this.HTMLhandleSpace(o);this.HTMLhandleColor(o);return o},HTMLlineBreaks:function(){var o=[[0,this]];for(var n=0,k=this.data.length;n<k;n++){if(this.data[n]){var p=this.data[n].lineBreak();if(p!=="none"){var l=(p==="after"?n+1:n);if(o.length===0||o[o.length-1]!==l){o.push([l,this.data[n]])}else{o[o.length-1]=[l,this.data[n]]}}}}o.push([this.data.length,o[o.length-1][1]]);return o},toHTMLmultiline:function(i){a.mbase.HTMLautoloadFile("multiline")},HTMLcomputeBBox:function(p,o,n,j){if(n==null){n=0}if(j==null){j=this.data.length}var l=p.bbox={},q=[];while(n<j){var k=this.data[n];if(!k){continue}if(!o&&k.HTMLcanStretch("Vertical")){q.push(k);k=(k.CoreMO()||k)}this.HTMLcombineBBoxes(k,l);n++}this.HTMLcleanBBox(l);return q},HTMLcombineBBoxes:function(i,j){if(j.w==null){this.HTMLemptyBBox(j)}var l=i.HTMLspanElement();if(!l||!l.bbox){return}var k=l.bbox;if(k.d>j.d){j.d=k.d}if(k.h>j.h){j.h=k.h}if(k.D!=null&&k.D>j.D){j.D=k.D}if(k.H!=null&&k.H>j.H){j.H=k.H}if(l.style.paddingLeft){j.w+=parseFloat(l.style.paddingLeft)*(l.scale||1)}if(j.w+k.lw<j.lw){j.lw=j.w+k.lw}if(j.w+k.rw>j.rw){j.rw=j.w+k.rw}j.w+=k.w;if(l.style.paddingRight){j.w+=parseFloat(l.style.paddingRight)*(l.scale||1)}if(k.width){j.width=k.width}},HTMLemptyBBox:function(i){i.h=i.d=i.H=i.D=i.rw=-e.BIGDIMEN;i.w=0;i.lw=e.BIGDIMEN;return i},HTMLcleanBBox:function(i){if(i.h===this.BIGDIMEN){i.h=i.d=i.H=i.D=i.w=i.rw=i.lw=0}if(i.D<=i.d){delete i.D}if(i.H<=i.h){delete i.H}},HTMLzeroBBox:function(){return{h:0,d:0,w:0,lw:0,rw:0}},HTMLcanStretch:function(i){if(this.isEmbellished()){return this.Core().HTMLcanStretch(i)}return false},HTMLstretchH:function(j,i){return this.HTMLspanElement()},HTMLstretchV:function(j,i,k){return this.HTMLspanElement()},HTMLnotEmpty:function(i){while(i){if((i.type!=="mrow"&&i.type!=="texatom")||i.data.length>1){return true}i=i.data[0]}return false},HTMLmeasureChild:function(j,i){if(this.data[j]!=null){e.Measured(this.data[j].toHTML(i),i)}else{i.bbox=this.HTMLzeroBBox()}},HTMLcreateSpan:function(i){if(this.spanID){var j=this.HTMLspanElement();if(j){while(j.firstChild){j.removeChild(j.firstChild)}j.bbox={w:0,h:0,d:0,lw:0,rw:0};j.scale=1;j.isMultChar=null;j.style.cssText="";return j}}if(this.href){i=e.addElement(i,"a",{href:this.href,isMathJax:true})}i=e.addElement(i,"span",{className:this.type,isMathJax:true});if(e.imgHeightBug){i.style.display="inline-block"}if(this["class"]!=null){i.className+=" "+this["class"]}if(this.style){i.style.cssText=this.style;if(i.style.fontSize){this.mathsize=i.style.fontSize;i.style.fontSize=""}}if(!this.spanID){this.spanID=e.GetID()}i.id=(this.id||"MathJax-Span-"+this.spanID)+e.idPostfix;i.bbox={w:0,h:0,d:0,lw:0,lr:0};if(this.href){i.parentNode.bbox=i.bbox}return i},HTMLspanElement:function(){if(!this.spanID){return null}return document.getElementById((this.id||"MathJax-Span-"+this.spanID)+e.idPostfix)},HTMLhandleVariant:function(j,i,k){e.handleVariant(j,i,k)},HTMLhandleSize:function(i){if(!i.scale){i.scale=this.HTMLgetScale();if(i.scale!==1){i.style.fontSize=e.Percent(i.scale)}}return i},HTMLhandleColor:function(n){var p=this.getValues("mathcolor","color");if(this.mathbackground){p.mathbackground=this.mathbackground}if(this.background){p.background=this.background}if(this.style&&n.style.backgroundColor){p.mathbackground=n.style.backgroundColor;n.style.backgroundColor="transparent"}if(p.color&&!this.mathcolor){p.mathcolor=p.color}if(p.background&&!this.mathbackground){p.mathbackground=p.background}if(p.mathcolor){n.style.color=p.mathcolor}if(p.mathbackground&&p.mathbackground!==a.COLOR.TRANSPARENT){var q=1/e.em,m=0,l=0;if(this.isToken){m=n.bbox.lw;l=n.bbox.rw-n.bbox.w}if(n.style.paddingLeft!==""){m+=parseFloat(n.style.paddingLeft)*(n.scale||1)}if(n.style.paddingRight!==""){l-=parseFloat(n.style.paddingRight)*(n.scale||1)}var k=Math.max(0,e.getW(n)+(e.PaddingWidthBug?0:l-m));if(e.msieCharPaddingWidthBug&&n.style.paddingLeft!==""){k+=parseFloat(n.style.paddingLeft)*(n.scale||1)}var o=n.bbox.h+n.bbox.d,i=-n.bbox.d;if(k>0){k+=2*q;m-=q}if(o>0){o+=2*q;i-=q}l=-k-m;var j=e.Element("span",{id:"MathJax-Color-"+this.spanID+e.idPostfix,isMathJax:true,style:{display:"inline-block",backgroundColor:p.mathbackground,width:e.Em(k),height:e.Em(o),verticalAlign:e.Em(i),marginLeft:e.Em(m),marginRight:e.Em(l)}});if(e.msieInlineBlockAlignBug){j.style.position="relative";j.style.width=j.style.height=0;j.style.verticalAlign=j.style.marginLeft=j.style.marginRight="";e.placeBox(e.addElement(j,"span",{noAdjust:true,isMathJax:true,style:{display:"inline-block",position:"absolute",overflow:"hidden",width:e.Em(k),height:e.Em(o),background:p.mathbackground}}),m,n.bbox.h+q)}n.parentNode.insertBefore(j,n);if(e.msieColorPositionBug){n.style.position="relative"}return j}return null},HTMLremoveColor:function(){var i=document.getElementById("MathJax-Color-"+this.spanID+e.idPostfix);if(i){i.parentNode.removeChild(i)}},HTMLhandleSpace:function(l){if(this.useMMLspacing){if(this.type!=="mo"){return}var j=this.getValues("scriptlevel","lspace","rspace");if(j.scriptlevel<=0||this.hasValue("lspace")||this.hasValue("rspace")){j.lspace=Math.max(0,e.length2em(j.lspace));j.rspace=Math.max(0,e.length2em(j.rspace));var i=this,k=this.Parent();while(k&&k.isEmbellished()&&k.Core()===i){i=k;k=k.Parent();l=i.HTMLspanElement()}if(j.lspace){l.style.paddingLeft=e.Em(j.lspace)}if(j.rspace){l.style.paddingRight=e.Em(j.rspace)}}}else{var m=this.texSpacing();if(m!==""){m=e.length2em(m)/(l.scale||1);if(l.style.paddingLeft){m+=parseFloat(l.style.paddingLeft)}l.style.paddingLeft=e.Em(m)}}},HTMLgetScale:function(){var k=1,i=this.getValues("mathsize","scriptlevel","fontsize","scriptminsize");if(this.style){var j=this.HTMLspanElement();if(j.style.fontSize!=""){i.fontsize=j.style.fontSize}}if(i.fontsize&&!this.mathsize){i.mathsize=i.fontsize}if(i.scriptlevel!==0){if(i.scriptlevel>2){i.scriptlevel=2}k=Math.pow(this.Get("scriptsizemultiplier"),i.scriptlevel);i.scriptminsize=e.length2em(i.scriptminsize);if(k<i.scriptminsize){k=i.scriptminsize}}k*=e.length2em(i.mathsize);return k},HTMLgetVariant:function(){var i=this.getValues("mathvariant","fontfamily","fontweight","fontstyle");if(this.style){var k=this.HTMLspanElement();if(k.style.fontFamily){i.fontfamily=k.style.fontFamily}if(k.style.fontWeight){i.fontweight=k.style.fontWeight}if(k.style.fontStyle){i.fontStyle=k.style.fontStyle}}var j=i.mathvariant;if(this.variantForm){j="-"+e.fontInUse+"-variant"}if(i.fontfamily&&!this.mathvariant){if(!i.fontweight&&i.mathvariant.match(/bold/)){i.fontweight="bold"}if(!i.fontstyle&&i.mathvariant.match(/italic/)){i.fontstyle="italic"}return{FONTS:[],fonts:[],noRemap:true,defaultFont:{family:i.fontfamily,style:i.fontstyle,weight:i.fontweight}}}if(i.fontweight==="bold"){j={normal:a.VARIANT.BOLD,italic:a.VARIANT.BOLDITALIC,fraktur:a.VARIANT.BOLDFRAKTUR,script:a.VARIANT.BOLDSCRIPT,"sans-serif":a.VARIANT.BOLDSANSSERIF,"sans-serif-italic":a.VARIANT.SANSSERIFBOLDITALIC}[j]||j}else{if(i.fontweight==="normal"){j={bold:a.VARIANT.normal,"bold-italic":a.VARIANT.ITALIC,"bold-fraktur":a.VARIANT.FRAKTUR,"bold-script":a.VARIANT.SCRIPT,"bold-sans-serif":a.VARIANT.SANSSERIF,"sans-serif-bold-italic":a.VARIANT.SANSSERIFITALIC}[j]||j}}if(i.fontstyle==="italic"){j={normal:a.VARIANT.ITALIC,bold:a.VARIANT.BOLDITALIC,"sans-serif":a.VARIANT.SANSSERIFITALIC,"bold-sans-serif":a.VARIANT.SANSSERIFBOLDITALIC}[j]||j}else{if(i.fontstyle==="normal"){j={italic:a.VARIANT.NORMAL,"bold-italic":a.VARIANT.BOLD,"sans-serif-italic":a.VARIANT.SANSSERIF,"sans-serif-bold-italic":a.VARIANT.BOLDSANSSERIF}[j]||j}}return e.FONTDATA.VARIANT[j]}},{HTMLautoload:function(){var i=e.autoloadDir+"/"+this.type+".js";d.RestartAfter(c.Require(i))},HTMLautoloadFile:function(i){var j=e.autoloadDir+"/"+i+".js";d.RestartAfter(c.Require(j))},HTMLstretchH:function(j,i){this.HTMLremoveColor();return this.toHTML(j,i)},HTMLstretchV:function(j,i,k){this.HTMLremoveColor();return this.toHTML(j,i,k)}});a.chars.Augment({toHTML:function(j,i){this.HTMLhandleVariant(j,i,this.data.join("").replace(/[\u2061-\u2064]/g,""))}});a.entity.Augment({toHTML:function(j,i){this.HTMLhandleVariant(j,i,this.toString().replace(/[\u2061-\u2064]/g,""))}});a.mi.Augment({toHTML:function(n){n=this.HTMLhandleSize(this.HTMLcreateSpan(n));n.bbox=null;var l=this.HTMLgetVariant();for(var k=0,j=this.data.length;k<j;k++){if(this.data[k]){this.data[k].toHTML(n,l)}}if(!n.bbox){n.bbox={w:0,h:0,d:0,rw:0,lw:0}}if(this.data.join("").length!==1){delete n.bbox.skew}this.HTMLhandleSpace(n);this.HTMLhandleColor(n);return n}});a.mn.Augment({toHTML:function(n){n=this.HTMLhandleSize(this.HTMLcreateSpan(n));n.bbox=null;var l=this.HTMLgetVariant();for(var k=0,j=this.data.length;k<j;k++){if(this.data[k]){this.data[k].toHTML(n,l)}}if(!n.bbox){n.bbox={w:0,h:0,d:0,rw:0,lw:0}}if(this.data.join("").length!==1){delete n.bbox.skew}this.HTMLhandleSpace(n);this.HTMLhandleColor(n);return n}});a.mo.Augment({toHTML:function(o){o=this.HTMLhandleSize(this.HTMLcreateSpan(o));if(this.data.length==0){return o}else{o.bbox=null}var r=this.data.join("");var n=this.HTMLgetVariant();var k=this.getValues("largeop","displaystyle");if(k.largeop){n=e.FONTDATA.VARIANT[k.displaystyle?"-largeOp":"-smallOp"]}for(var l=0,j=this.data.length;l<j;l++){if(this.data[l]){this.data[l].toHTML(o,n)}}if(!o.bbox){o.bbox={w:0,h:0,d:0,rw:0,lw:0}}if(r.length!==1){delete o.bbox.skew}if(e.AccentBug&&o.bbox.w===0&&r.length===1&&o.firstChild){o.firstChild.nodeValue+=e.NBSP;e.createSpace(o,0,0,-o.offsetWidth/e.em)}if(k.largeop){var q=(o.bbox.h-o.bbox.d)/2-e.TeX.axis_height*o.scale;if(e.safariVerticalAlignBug&&o.lastChild.nodeName==="IMG"){o.lastChild.style.verticalAlign=e.Em(parseFloat(o.lastChild.style.verticalAlign||0)/e.em-q/o.scale)}else{if(e.konquerorVerticalAlignBug&&o.lastChild.nodeName==="IMG"){o.style.position="relative";o.lastChild.style.position="relative";o.lastChild.style.top=e.Em(q/o.scale)}else{o.style.verticalAlign=e.Em(-q/o.scale)}}o.bbox.h-=q;o.bbox.d+=q;if(o.bbox.rw>o.bbox.w){o.bbox.ic=o.bbox.rw-o.bbox.w;e.createBlank(o,o.bbox.ic);o.bbox.w=o.bbox.rw}}this.HTMLhandleSpace(o);this.HTMLhandleColor(o);return o},HTMLcanStretch:function(i){if(!this.Get("stretchy")){return false}var j=this.data.join("");if(j.length>1){return false}j=e.FONTDATA.DELIMITERS[j.charCodeAt(0)];return(j&&j.dir==i.substr(0,1))},HTMLstretchV:function(n,m,p){this.HTMLremoveColor();var i=this.getValues("symmetric","maxsize","minsize");var l=this.HTMLspanElement(),j;var k=e.TeX.axis_height,o=l.scale;if(i.symmetric){j=2*Math.max(m-k,p+k)}else{j=m+p}i.maxsize=e.length2em(i.maxsize,l.bbox.h+l.bbox.d);i.minsize=e.length2em(i.minsize,l.bbox.h+l.bbox.d);j=Math.max(i.minsize,Math.min(i.maxsize,j));l=this.HTMLcreateSpan(n);e.createDelimiter(l,this.data.join("").charCodeAt(0),j,o);if(i.symmetric){j=(l.bbox.h+l.bbox.d)/2+k}else{j=(l.bbox.h+l.bbox.d)*m/(m+p)}e.positionDelimiter(l,j);this.HTMLhandleSpace(l);this.HTMLhandleColor(l);return l},HTMLstretchH:function(l,i){this.HTMLremoveColor();var j=this.getValues("maxsize","minsize","mathvariant","fontweight");if(j.fontweight==="bold"&&!this.mathvariant){j.mathvariant=a.VARIANT.BOLD}var k=this.HTMLspanElement(),m=k.scale;j.maxsize=e.length2em(j.maxsize,k.bbox.w);j.minsize=e.length2em(j.minsize,k.bbox.w);i=Math.max(j.minsize,Math.min(j.maxsize,i));k=this.HTMLcreateSpan(l);e.createDelimiter(k,this.data.join("").charCodeAt(0),i,m,j.mathvariant);this.HTMLhandleSpace(k);this.HTMLhandleColor(k);return k}});a.mtext.Augment({toHTML:function(o){o=this.HTMLhandleSize(this.HTMLcreateSpan(o));o.bbox=null;if(this.Parent().type==="merror"){e.addText(o,this.data.join(""));var p=e.getHD(o),k=e.getW(o);o.bbox={h:p.h,d:p.d,w:k,lw:0,rw:k}}else{var n=this.HTMLgetVariant();for(var l=0,j=this.data.length;l<j;l++){if(this.data[l]){this.data[l].toHTML(o,n)}}if(!o.bbox){o.bbox={w:0,h:0,d:0,rw:0,lw:0}}if(this.data.join("").length!==1){delete o.bbox.skew}}this.HTMLhandleSpace(o);this.HTMLhandleColor(o);return o}});a.ms.Augment({toHTML:a.mbase.HTMLautoload});a.mglyph.Augment({toHTML:a.mbase.HTMLautoload});a.mspace.Augment({toHTML:function(l){l=this.HTMLhandleSize(this.HTMLcreateSpan(l));var j=this.getValues("height","depth","width");j.mathbackground=this.mathbackground;if(this.background&&!this.mathbackground){j.mathbackground=this.background}var k=e.length2em(j.height),m=e.length2em(j.depth),i=e.length2em(j.width);e.createSpace(l,k,m,i,j.mathbackground);return l}});a.mphantom.Augment({toHTML:function(n,k,p){n=this.HTMLcreateSpan(n);if(this.data[0]!=null){var o=e.Measured(this.data[0].toHTML(n),n);if(p!=null){e.Remeasured(this.data[0].HTMLstretchV(n,k,p),n)}else{if(k!=null){e.Remeasured(this.data[0].HTMLstretchH(n,k),n)}}n.bbox={w:o.bbox.w,h:o.bbox.h,d:o.bbox.d,lw:0,rw:0};for(var l=0,j=n.childNodes.length;l<j;l++){n.childNodes[l].style.visibility="hidden"}}this.HTMLhandleSpace(n);this.HTMLhandleColor(n);return n},HTMLstretchH:a.mbase.HTMLstretchH,HTMLstretchV:a.mbase.HTMLstretchV});a.mpadded.Augment({toHTML:function(m,k,o){m=this.HTMLcreateSpan(m);if(this.data[0]!=null){var j=e.createStack(m,true);var n=e.createBox(j);e.Measured(this.data[0].toHTML(n),n);if(o!=null){e.Remeasured(this.data[0].HTMLstretchV(n,k,o),n)}else{if(k!=null){e.Remeasured(this.data[0].HTMLstretchH(n,k),n)}}var l=this.getValues("height","depth","width","lspace","voffset"),i=0,p=0;if(l.lspace){i=this.HTMLlength2em(n,l.lspace)}if(l.voffset){p=this.HTMLlength2em(n,l.voffset)}e.placeBox(n,i,p);m.bbox={h:n.bbox.h,d:n.bbox.d,w:n.bbox.w,lw:Math.min(0,n.bbox.lw+i),rw:Math.max(n.bbox.w,n.bbox.rw+i),H:Math.max((n.bbox.H==null?-e.BIGDIMEN:n.bbox.H),n.bbox.h+p),D:Math.max((n.bbox.D==null?-e.BIGDIMEN:n.bbox.D),n.bbox.d-p)};if(l.height!==""){m.bbox.h=this.HTMLlength2em(n,l.height,"h",0)}if(l.depth!==""){m.bbox.d=this.HTMLlength2em(n,l.depth,"d",0)}if(l.width!==""){m.bbox.w=this.HTMLlength2em(n,l.width,"w",0)}if(m.bbox.H<=m.bbox.h){delete m.bbox.H}if(m.bbox.D<=m.bbox.d){delete m.bbox.D}e.setStackWidth(j,m.bbox.w)}this.HTMLhandleSpace(m);this.HTMLhandleColor(m);return m},HTMLlength2em:function(n,o,p,i){if(i==null){i=-e.BIGDIMEN}var k=String(o).match(/width|height|depth/);var l=(k?n.bbox[k[0].charAt(0)]:(p?n.bbox[p]:null));var j=e.length2em(o,l);if(p&&String(o).match(/^\s*[-+]/)){return Math.max(i,n.bbox[p]+j)}else{return j}},HTMLstretchH:a.mbase.HTMLstretchH,HTMLstretchV:a.mbase.HTMLstretchV});a.mrow.Augment({HTMLstretchH:function(k,i){this.HTMLremoveColor();var j=this.HTMLspanElement();this.data[this.core].HTMLstretchH(j,i);this.HTMLcomputeBBox(j,true);this.HTMLhandleColor(j);return j},HTMLstretchV:function(k,j,l){this.HTMLremoveColor();var i=this.HTMLspanElement();this.data[this.core].HTMLstretchV(i,j,l);this.HTMLcomputeBBox(i,true);this.HTMLhandleColor(i);return i}});a.mstyle.Augment({toHTML:function(i){if(this.data[0]!=null){i=this.data[0].toHTML(i);this.spanID=this.data[0].spanID;this.HTMLhandleSpace(i);this.HTMLhandleColor(i)}return i},HTMLspanElement:function(){return(this.data[0]!=null?this.data[0].HTMLspanElement():null)},HTMLstretchH:function(j,i){return(this.data[0]!=null?this.data[0].HTMLstretchH(j,i):j)},HTMLstretchV:function(j,i,k){return(this.data[0]!=null?this.data[0].HTMLstretchV(j,i,k):j)}});a.mfrac.Augment({toHTML:function(B){B=this.HTMLcreateSpan(B);var k=e.createStack(B);var n=e.createBox(k),m=e.createBox(k);this.HTMLmeasureChild(0,n);this.HTMLmeasureChild(1,m);var i=this.getValues("displaystyle","linethickness","numalign","denomalign","bevelled");var F=this.HTMLgetScale(),A=i.displaystyle;var E=e.TeX.axis_height*F;if(i.bevelled){var D=(A?0.4:0.15);var o=Math.max(n.bbox.h+n.bbox.d,m.bbox.h+m.bbox.d)+2*D;var C=e.createBox(k);e.createDelimiter(C,47,o);e.placeBox(n,0,(n.bbox.d-n.bbox.h)/2+E+D);e.placeBox(C,n.bbox.w-D/2,(C.bbox.d-C.bbox.h)/2+E);e.placeBox(m,n.bbox.w+C.bbox.w-D,(m.bbox.d-m.bbox.h)/2+E-D)}else{var j=Math.max(n.bbox.w,m.bbox.w);var w=e.thickness2em(i.linethickness),y,x,s,r;var z=e.TeX.min_rule_thickness/this.em;if(A){s=e.TeX.num1;r=e.TeX.denom1}else{s=(w===0?e.TeX.num3:e.TeX.num2);r=e.TeX.denom2}s*=F;r*=F;if(w===0){y=Math.max((A?7:3)*e.TeX.rule_thickness,2*z);x=(s-n.bbox.d)-(m.bbox.h-r);if(x<y){s+=(y-x)/2;r+=(y-x)/2}}else{y=Math.max((A?2:0)*z+w,w/2+1.5*z);x=(s-n.bbox.d)-(E+w/2);if(x<y){s+=y-x}x=(E-w/2)-(m.bbox.h-r);if(x<y){r+=y-x}var l=e.createBox(k);e.createRule(l,w,0,j+2*w);e.placeBox(l,0,E-w/2)}e.alignBox(n,i.numalign,s);e.alignBox(m,i.denomalign,-r)}this.HTMLhandleSpace(B);this.HTMLhandleColor(B);return B},HTMLcanStretch:function(i){return false},HTMLhandleSpace:function(i){if(!this.texWithDelims){var j=(this.useMMLspacing?0:e.length2em(this.texSpacing()||0))+0.12;i.style.paddingLeft=e.Em(j);i.style.paddingRight=".12em"}}});a.msqrt.Augment({toHTML:function(s){s=this.HTMLcreateSpan(s);var v=e.createStack(s);var k=e.createBox(v),o=e.createBox(v),n=e.createBox(v);this.HTMLmeasureChild(0,k);var m=this.HTMLgetScale();var w=e.TeX.rule_thickness*m,j,i,u,l;if(this.Get("displaystyle")){j=e.TeX.x_height*m}else{j=w}i=Math.max(w+j/4,1.5*e.TeX.min_rule_thickness/this.em);u=k.bbox.h+k.bbox.d+i+w;l=k.bbox.w;e.createDelimiter(n,8730,u,m);e.Measured(n);var r=0;if(n.isMultiChar||(e.AdjustSurd&&e.imgFonts)){n.bbox.w*=0.95}if(n.bbox.h+n.bbox.d>u){i=((n.bbox.h+n.bbox.d)-(u-w))/2}var y=e.FONTDATA.DELIMITERS[e.FONTDATA.RULECHAR];if(!y||l<y.HW[0][0]*m||m<0.75){e.createRule(o,w,0,l)}else{e.createDelimiter(o,e.FONTDATA.RULECHAR,l,m)}u=k.bbox.h+i+w;r=this.HTMLaddRoot(v,n,r,n.bbox.h+n.bbox.d-u,m);e.placeBox(n,r,u-n.bbox.h);e.placeBox(o,r+n.bbox.w,u-o.bbox.h+e.rfuzz);e.placeBox(k,r+n.bbox.w,0);this.HTMLhandleSpace(s);this.HTMLhandleColor(s);return s},HTMLaddRoot:function(k,j,i,m,l){return i}});a.mroot.Augment({toHTML:a.msqrt.prototype.toHTML,HTMLaddRoot:function(q,j,o,m,i){var k=e.createBox(q);if(this.data[1]){var n=this.data[1].toHTML(k);n.style.paddingRight=n.style.paddingLeft="";e.Measured(n,k)}else{k.bbox=this.HTMLzeroBBox()}var l=this.HTMLrootHeight(j.bbox.h+j.bbox.d,i,k)-m;var p=Math.min(k.bbox.w,k.bbox.rw);o=Math.max(p,j.offset);e.placeBox(k,o-p,l);return o-j.offset},HTMLrootHeight:function(k,j,i){return 0.45*(k-0.9*j)+0.6*j+Math.max(0,i.bbox.d-0.075)}});a.mfenced.Augment({toHTML:function(n){n=this.HTMLcreateSpan(n);if(this.data.open){this.data.open.toHTML(n)}if(this.data[0]!=null){this.data[0].toHTML(n)}for(var k=1,j=this.data.length;k<j;k++){if(this.data[k]){if(this.data["sep"+k]){this.data["sep"+k].toHTML(n)}this.data[k].toHTML(n)}}if(this.data.close){this.data.close.toHTML(n)}var p=this.HTMLcomputeBBox(n);var l=n.bbox.h,o=n.bbox.d;for(k=0,j=p.length;k<j;k++){p[k].HTMLstretchV(n,l,o)}if(p.length){this.HTMLcomputeBBox(n,true)}this.HTMLhandleSpace(n);this.HTMLhandleColor(n);return n},HTMLcomputeBBox:function(o,n){var k=o.bbox={},p=[];this.HTMLcheckStretchy(this.data.open,k,p,n);this.HTMLcheckStretchy(this.data[0],k,p,n);for(var l=1,j=this.data.length;l<j;l++){if(this.data[l]){this.HTMLcheckStretchy(this.data["sep"+l],k,p,n);this.HTMLcheckStretchy(this.data[l],k,p,n)}}this.HTMLcheckStretchy(this.data.close,k,p,n);this.HTMLcleanBBox(k);return p},HTMLcheckStretchy:function(i,j,l,k){if(i){if(!k&&i.HTMLcanStretch("Vertical")){l.push(i);i=(i.CoreMO()||i)}this.HTMLcombineBBoxes(i,j)}}});a.menclose.Augment({toHTML:a.mbase.HTMLautoload});a.maction.Augment({toHTML:a.mbase.HTMLautoload});a.semantics.Augment({toHTML:function(i){if(this.data[0]!=null){i=this.data[0].toHTML(i);this.spanID=this.data[0].spanID;this.HTMLhandleSpace(i)}return i},HTMLspanElement:function(){return(this.data[0]!=null?this.data[0].HTMLspanElement():null)},HTMLstretchH:function(j,i){return(this.data[0]!=null?this.data[0].HTMLstretchH(j,i):j)},HTMLstretchV:function(j,i,k){return(this.data[0]!=null?this.data[0].HTMLstretchV(j,i,k):j)}});a.munderover.Augment({toHTML:function(J,F,C){var j=this.getValues("displaystyle","accent","accentunder","align");if(!j.displaystyle&&this.data[this.base]!=null&&this.data[this.base].Get("movablelimits")){return a.msubsup.prototype.toHTML.call(this,J)}J=this.HTMLcreateSpan(J);var N=this.HTMLgetScale();var o=e.createStack(J);var p=[],L=[],u,K,G,l=-e.BIGDIMEN,I=l;for(K=0,G=this.data.length;K<G;K++){if(this.data[K]!=null){u=p[K]=e.createBox(o);e.Measured(this.data[K].toHTML(u),u);if(K==this.base){if(C!=null){e.Remeasured(this.data[this.base].HTMLstretchV(u,F,C),u)}else{if(F!=null){e.Remeasured(this.data[this.base].HTMLstretchH(u,F),u)}}L[K]=(C==null&&F!=null?false:this.data[K].HTMLcanStretch("Horizontal"))}else{L[K]=this.data[K].HTMLcanStretch("Horizontal")}if(u.bbox.w>I){I=u.bbox.w}if(!L[K]&&I>l){l=I}}}if(C==null&&F!=null){l=F}else{if(l==-e.BIGDIMEN){l=I}}for(K=I=0,G=this.data.length;K<G;K++){if(this.data[K]){u=p[K];if(L[K]){u.bbox=this.data[K].HTMLstretchH(u,l).bbox}if(u.bbox.w>I){I=u.bbox.w}}}var B=e.TeX.rule_thickness,E=e.FONTDATA.TeX_factor;var n=p[this.base]||{bbox:this.HTMLzeroBBox()},M=(n.bbox.ic||0);var s,q,w,v,r,A,H;for(K=0,G=this.data.length;K<G;K++){if(this.data[K]!=null){u=p[K];r=e.TeX.big_op_spacing5*N;var z=(K!=this.base&&j[this.ACCENTS[K]]);if(z&&u.bbox.w<=1/e.em+0.0001){u.bbox.w=u.bbox.rw-u.bbox.lw;u.bbox.noclip=true;if(u.bbox.lw&&!e.zeroWidthBug){u.insertBefore(e.createSpace(u.parentNode,0,0,-u.bbox.lw),u.firstChild)}e.createBlank(u,0,0,u.bbox.rw+0.1)}A={left:0,center:(I-u.bbox.w)/2,right:I-u.bbox.w}[j.align];s=A;q=0;if(K==this.over){if(z){H=Math.max(B*N*E,2.5/this.em);r=0;if(n.bbox.skew){s+=n.bbox.skew}}else{w=e.TeX.big_op_spacing1*N*E;v=e.TeX.big_op_spacing3*N*E;H=Math.max(w,v-Math.max(0,u.bbox.d))}H=Math.max(H,1.5/this.em);s+=M;q=n.bbox.h+u.bbox.d+H;u.bbox.h+=r}else{if(K==this.under){if(z){H=3*B*N*E;r=0}else{w=e.TeX.big_op_spacing2*N*E;v=e.TeX.big_op_spacing4*N*E;H=Math.max(w,v-u.bbox.h)}H=Math.max(H,1.5/this.em);s-=M;q=-(n.bbox.d+u.bbox.h+H);u.bbox.d+=r}}e.placeBox(u,s,q)}}this.HTMLhandleSpace(J);this.HTMLhandleColor(J);return J},HTMLstretchH:a.mbase.HTMLstretchH,HTMLstretchV:a.mbase.HTMLstretchV});a.msubsup.Augment({toHTML:function(G,E,z){G=this.HTMLcreateSpan(G);var J=this.HTMLgetScale();var m=e.createStack(G),j;var l=e.createBox(m);this.HTMLmeasureChild(this.base,l);if(this.data[this.base]){if(z!=null){e.Remeasured(this.data[this.base].HTMLstretchV(l,E,z),l)}else{if(E!=null){e.Remeasured(this.data[this.base].HTMLstretchH(l,E),l)}}}e.placeBox(l,0,0);var k=(this.data[this.sup]||this.data[this.sub]||this).HTMLgetScale();var H=e.TeX.x_height*J,y=e.TeX.scriptspace*J*0.75;var i,n;if(this.HTMLnotEmpty(this.data[this.sup])){i=e.createBox(m);e.Measured(this.data[this.sup].toHTML(i),i);i.bbox.w+=y;i.bbox.rw=Math.max(i.bbox.w,i.bbox.rw)}if(this.HTMLnotEmpty(this.data[this.sub])){n=e.createBox(m);e.Measured(this.data[this.sub].toHTML(n),n);n.bbox.w+=y;n.bbox.rw=Math.max(n.bbox.w,n.bbox.rw)}var B=e.TeX.sup_drop*k,A=e.TeX.sub_drop*k;var w=l.bbox.h-B,o=l.bbox.d+A,I=0,C;if(l.bbox.ic){I=l.bbox.ic}if(this.data[this.base]&&(this.data[this.base].type==="mi"||this.data[this.base].type==="mo")){if(this.data[this.base].data.join("").length===1&&l.bbox.scale===1&&!this.data[this.base].Get("largeop")){w=o=0}}var F=this.getValues("subscriptshift","superscriptshift");F.subscriptshift=(F.subscriptshift===""?0:e.length2em(F.subscriptshift));F.superscriptshift=(F.superscriptshift===""?0:e.length2em(F.superscriptshift));if(!i){if(n){o=Math.max(o,e.TeX.sub1*J,n.bbox.h-(4/5)*H,F.subscriptshift);e.placeBox(n,l.bbox.w+y-I,-o,n.bbox)}}else{if(!n){j=this.getValues("displaystyle","texprimestyle");C=e.TeX[(j.displaystyle?"sup1":(j.texprimestyle?"sup3":"sup2"))];w=Math.max(w,C*J,i.bbox.d+(1/4)*H,F.superscriptshift);e.placeBox(i,l.bbox.w+y,w,i.bbox)}else{o=Math.max(o,e.TeX.sub2*J);var x=e.TeX.rule_thickness*J;if((w-i.bbox.d)-(n.bbox.h-o)<3*x){o=3*x-w+i.bbox.d+n.bbox.h;B=(4/5)*H-(w-i.bbox.d);if(B>0){w+=B;o-=B}}e.placeBox(i,l.bbox.w+y,Math.max(w,F.superscriptshift));e.placeBox(n,l.bbox.w+y-I,-Math.max(o,F.subscriptshift))}}this.HTMLhandleSpace(G);this.HTMLhandleColor(G);return G},HTMLstretchH:a.mbase.HTMLstretchH,HTMLstretchV:a.mbase.HTMLstretchV});a.mmultiscripts.Augment({toHTML:a.mbase.HTMLautoload});a.mtable.Augment({toHTML:a.mbase.HTMLautoload});a["annotation-xml"].Augment({toHTML:a.mbase.HTMLautoload});a.math.Augment({toHTML:function(p,i){var m=this.Get("alttext");if(m){i.setAttribute("aria-label",m)}var j=e.addElement(p,"nobr",{isMathJax:true});p=this.HTMLcreateSpan(j);var n=e.createStack(p),k=e.createBox(n),o;n.style.fontSize=j.parentNode.style.fontSize;j.parentNode.style.fontSize="";if(this.data[0]!=null){if(e.msieColorBug){if(this.background){this.data[0].background=this.background;delete this.background}if(this.mathbackground){this.data[0].mathbackground=this.mathbackground;delete this.mathbackground}}a.mbase.prototype.displayAlign=d.config.displayAlign;a.mbase.prototype.displayIndent=d.config.displayIndent;o=e.Measured(this.data[0].toHTML(k),k)}e.placeBox(k,0,0);var l=e.em/e.outerEm;e.em/=l;p.bbox.h*=l;p.bbox.d*=l;p.bbox.w*=l;p.bbox.lw*=l;p.bbox.rw*=l;if(o&&o.bbox.width!=null){n.style.width=o.bbox.width;k.style.width="100%"}this.HTMLhandleColor(p);if(o){e.createRule(p,o.bbox.h*l,o.bbox.d*l,0)}if(!this.isMultiline&&this.Get("display")==="block"&&p.bbox.width==null){var q=this.getValues("indentalignfirst","indentshiftfirst","indentalign","indentshift");if(q.indentalignfirst!==a.INDENTALIGN.INDENTALIGN){q.indentalign=q.indentalignfirst}if(q.indentalign===a.INDENTALIGN.AUTO){q.indentalign=this.displayAlign}i.style.textAlign=q.indentalign;if(q.indentshiftfirst!==a.INDENTSHIFT.INDENTSHIFT){q.indentshift=q.indentshiftfirst}if(q.indentshift==="auto"){q.indentshift=this.displayIndent}if(q.indentshift&&q.indentalign!==a.INDENTALIGN.CENTER){p.style[{left:"marginLeft",right:"marginRight"}[q.indentalign]]=e.Em(e.length2em(q.indentshift))}}return p},HTMLspanElement:a.mbase.prototype.HTMLspanElement});a.TeXAtom.Augment({toHTML:function(j){j=this.HTMLcreateSpan(j);if(this.data[0]!=null){if(this.texClass===a.TEXCLASS.VCENTER){var i=e.createStack(j);var k=e.createBox(i);e.Measured(this.data[0].toHTML(k),k);e.placeBox(k,0,e.TeX.axis_height-(k.bbox.h+k.bbox.d)/2+k.bbox.d)}else{j.bbox=this.data[0].toHTML(j).bbox}}this.HTMLhandleSpace(j);this.HTMLhandleColor(j);return j}});MathJax.Hub.Register.StartupHook("onLoad",function(){setTimeout(MathJax.Callback(["loadComplete",e,"jax.js"]),0)})});d.Register.StartupHook("End Config",function(){d.Browser.Select({MSIE:function(i){var l=i.versionAtLeast("7.0");var k=i.versionAtLeast("8.0")&&document.documentMode>7;var j=(document.compatMode==="BackCompat");e.config.styles[".MathJax .MathJax_HitBox"]["background-color"]="white";e.config.styles[".MathJax .MathJax_HitBox"].opacity=0;e.config.styles[".MathJax .MathJax_HitBox"].filter="alpha(opacity=0)";e.Augment({getMarginScale:e.getMSIEmarginScale,PaddingWidthBug:true,msieAccentBug:true,msieColorBug:true,msieColorPositionBug:true,msieRelativeWidthBug:j,msieMarginWidthBug:true,msiePaddingWidthBug:true,msieCharPaddingWidthBug:(k&&!j),msieBorderWidthBug:j,msieInlineBlockAlignBug:(!k||j),msieVerticalAlignBug:(k&&!j),msiePlaceBoxBug:(k&&!j),msieClipRectBug:!k,msieNegativeSpaceBug:j,msieCloneNodeBug:(k&&i.version==="8.0"),negativeSkipBug:true,msieIE6:!l,msieItalicWidthBug:true,zeroWidthBug:true,FontFaceBug:true,msieFontCSSBug:i.isIE9,allowWebFonts:"eot"})},Firefox:function(j){var k=false;if(j.versionAtLeast("3.5")){var i=String(document.location).replace(/[^\/]*$/,"");if(document.location.protocol!=="file:"||(d.config.root+"/").substr(0,i.length)===i){k="otf"}}e.Augment({useProcessingFrame:true,ffVerticalAlignBug:true,AccentBug:true,allowWebFonts:k})},Safari:function(m){var k=m.versionAtLeast("3.0");var j=m.versionAtLeast("3.1");var i=(navigator.appVersion.match(/ Android (\d+)\.(\d+)/));var n=(j&&m.isMobile&&((navigator.platform.match(/iPad|iPod|iPhone/)&&!m.versionAtLeast("5.0"))||(i!=null&&(i[1]<2||(i[1]==2&&i[2]<2)))));e.Augment({config:{styles:{".MathJax img, .MathJax nobr, .MathJax a":{"max-width":"5000em","max-height":"5000em"}}},useProcessingFrame:true,rfuzz:0.05,AccentBug:true,AdjustSurd:true,safariNegativeSpaceBug:true,safariVerticalAlignBug:!j,safariTextNodeBug:!k,safariWebFontSerif:["serif"],allowWebFonts:(j&&!n?"otf":false)});if(n){var l=d.config["HTML-CSS"];if(l){l.availableFonts=[];l.preferredFont=null}else{d.config["HTML-CSS"]={availableFonts:[],preferredFont:null}}}},Chrome:function(i){e.Augment({useProcessingFrame:true,rfuzz:0.05,AccentBug:true,AdjustSurd:true,allowWebFonts:(i.versionAtLeast("4.0")?"otf":"svg"),safariNegativeSpaceBug:true,safariWebFontSerif:[""]})},Opera:function(i){i.isMini=(navigator.appVersion.match("Opera Mini")!=null);e.config.styles[".MathJax .merror"]["vertical-align"]=null;e.Augment({useProcessingFrame:true,operaHeightBug:true,operaVerticalAlignBug:true,operaFontSizeBug:i.versionAtLeast("10.61"),negativeSkipBug:true,zeroWidthBug:true,FontFaceBug:true,PaddingWidthBug:true,allowWebFonts:(i.versionAtLeast("10.0")&&!i.isMini?"otf":false),adjustAvailableFonts:function(l){for(var k=0,j=l.length;k<j;k++){if(l[k]==="STIX"){l.splice(k,1);j--;k--}}if(this.config.preferredFont==="STIX"){this.config.preferredFont=l[0]}}})},Konqueror:function(i){e.Augment({konquerorVerticalAlignBug:true})}})});MathJax.Hub.Register.StartupHook("End Cookie",function(){if(d.config.menuSettings.zoom!=="None"){c.Require("[MathJax]/extensions/MathZoom.js")}})})(MathJax.Ajax,MathJax.Hub,MathJax.OutputJax["HTML-CSS"]);
|
|
|
|
MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",function(){var c="1.1";var a=MathJax.ElementJax.mml,b=MathJax.OutputJax["HTML-CSS"];a.mtable.Augment({toHTML:function(X){X=this.HTMLcreateSpan(X);if(this.data.length===0){return X}var aJ=this.getValues("columnalign","rowalign","columnspacing","rowspacing","columnwidth","equalcolumns","equalrows","columnlines","rowlines","frame","framespacing","align","useHeight","width","side","minlabelspacing");var r=aJ.width.match(/%$/);var ag=b.createStack(X);var am=this.HTMLgetScale();var aH=-1;var w=[],I=[],l=[],O=[],K=[],aF,aE,v=-1,aC,t,ay,R;var aL=b.FONTDATA.baselineskip*am*aJ.useHeight,Z=b.FONTDATA.lineH*am,af=b.FONTDATA.lineD*am;for(aF=0,aC=this.data.length;aF<aC;aF++){R=this.data[aF];ay=(R.type==="mlabeledtr"?aH:0);O[aF]=[];w[aF]=I[aF]=0;for(aE=ay,t=R.data.length+ay;aE<t;aE++){if(l[aE]==null){if(aE>v){v=aE}K[aE]=b.createStack(b.createBox(ag));l[aE]=-b.BIGDIMEN}O[aF][aE]=b.createBox(K[aE]);b.Measured(R.data[aE-ay].toHTML(O[aF][aE]),O[aF][aE]);if(R.data[aE-ay].isMultiline){O[aF][aE].style.width="100%"}if(O[aF][aE].bbox.h>w[aF]){w[aF]=O[aF][aE].bbox.h}if(O[aF][aE].bbox.d>I[aF]){I[aF]=O[aF][aE].bbox.d}if(O[aF][aE].bbox.w>l[aE]){l[aE]=O[aF][aE].bbox.w}}}if(w[0]+I[0]){w[0]=Math.max(w[0],Z)}if(w[O.length-1]+I[O.length-1]){I[O.length-1]=Math.max(I[O.length-1],af)}var al=aJ.columnspacing.split(/ /),S=aJ.rowspacing.split(/ /),ah=aJ.columnalign.split(/ /),L=aJ.rowalign.split(/ /),N=aJ.columnlines.split(/ /),k=aJ.rowlines.split(/ /),ap=aJ.columnwidth.split(/ /),au=[];for(aF=0,aC=al.length;aF<aC;aF++){al[aF]=b.length2em(al[aF])}for(aF=0,aC=S.length;aF<aC;aF++){S[aF]=b.length2em(S[aF])}while(al.length<v){al.push(al[al.length-1])}while(ah.length<=v){ah.push(ah[ah.length-1])}while(N.length<v){N.push(N[N.length-1])}while(ap.length<=v){ap.push(ap[ap.length-1])}while(S.length<O.length){S.push(S[S.length-1])}while(L.length<=O.length){L.push(L[L.length-1])}while(k.length<O.length){k.push(k[k.length-1])}if(K[aH]){ah[aH]=(aJ.side.substr(0,1)==="l"?"left":"right");al[aH]=-l[aH]}for(aF=0,aC=O.length;aF<aC;aF++){R=this.data[aF];au[aF]=[];if(R.rowalign){L[aF]=R.rowalign}if(R.columnalign){au[aF]=R.columnalign.split(/ /);while(au[aF].length<=v){au[aF].push(au[aF][au[aF].length-1])}}}var az=w[0]+I[O.length-1];for(aF=0,aC=O.length-1;aF<aC;aF++){az+=Math.max((w[aF]+I[aF]?aL:0),I[aF]+w[aF+1]+S[aF])}var ac=0,aa=0,aA,aI=az;if(aJ.frame!=="none"||(aJ.columnlines+aJ.rowlines).match(/solid|dashed/)){ac=b.length2em(aJ.framespacing.split(/[, ]+/)[0]);aa=b.length2em(aJ.framespacing.split(/[, ]+/)[1]);aI=az+2*aa}var h,ax;if(String(aJ.align).match(/^\d+$/)){h=az/2+b.TeX.axis_height*am-w[0];ax=-(az/2+aa)}else{h=({top:-(w[0]+aa),bottom:az+aa-w[0],center:az/2-w[0],baseline:az/2-w[0],axis:az/2+b.TeX.axis_height*am-w[0]})[aJ.align];ax=({top:-(az+2*aa),bottom:0,center:-(az/2+aa),baseline:-(az/2+aa),axis:b.TeX.axis_height*am-az/2-aa})[aJ.align]}var aq,aw=0,U=0,V=0,aB=0,aG=0,o=[],B=[],ai=1;if(aJ.equalcolumns&&aJ.width!=="auto"){if(r){aq=(100/(v+1)).toFixed(2).replace(/\.?0+$/,"")+"%";for(aF=0,aC=Math.min(v+1,ap.length);aF<aC;aF++){ap[aF]=aq}aq=0;aw=1;aG=v+1;for(aF=0,aC=Math.min(v+1,al.length);aF<aC;aF++){aq+=al[aF]}}else{aq=b.length2em(aJ.width);for(aF=0,aC=Math.min(v+1,al.length);aF<aC;aF++){aq-=al[aF]}aq/=v+1;for(aF=0,aC=Math.min(v+1,ap.length);aF<aC;aF++){l[aF]=aq}}}else{for(aF=0,aC=Math.min(v+1,ap.length);aF<aC;aF++){if(ap[aF]==="auto"){U+=l[aF]}else{if(ap[aF]==="fit"){B[aG]=aF;aG++;U+=l[aF]}else{if(ap[aF].match(/%$/)){o[aB]=aF;aB++;V+=l[aF];aw+=b.length2em(ap[aF],1)}else{l[aF]=b.length2em(ap[aF]);U+=l[aF]}}}}if(r){aq=0;for(aF=0,aC=Math.min(v,al.length);aF<aC;aF++){aq+=al[aF]}if(aw>0.98){ai=0.98/aw;aw=0.98}}else{if(aJ.width==="auto"){if(aw>0.98){ai=V/(U+V);aq=U+V}else{aq=U/(1-aw)}}else{aq=b.length2em(aJ.width);for(aF=0,aC=Math.min(v+1,al.length);aF<aC;aF++){aq-=al[aF]}}for(aF=0,aC=o.length;aF<aC;aF++){l[o[aF]]=b.length2em(ap[o[aF]],aq*ai);U+=l[o[aF]]}if(Math.abs(aq-U)>0.01){if(aG&&aq>U){aq=(aq-U)/aG;for(aF=0,aC=B.length;aF<aC;aF++){l[B[aF]]+=aq}}else{aq=aq/U;for(aE=0;aE<=v;aE++){l[aE]*=aq}}}if(aJ.equalcolumns){var ad=Math.max.apply(Math,l);for(aE=0;aE<=v;aE++){l[aE]=ad}}}}if(aJ.equalrows){var T=Math.max.apply(Math,w),ao=Math.max.apply(Math,I);for(aF=0,aC=O.length;aF<aC;aF++){ay=((T+ao)-(w[aF]+I[aF]))/2;w[aF]+=ay;I[aF]+=ay}}var ar=h,n,u,aD;ay=(K[aH]?aH:0);for(aE=ay;aE<=v;aE++){for(aF=0,aC=O.length;aF<aC;aF++){if(O[aF][aE]){ay=(this.data[aF].type==="mlabeledtr"?aH:0);var ak=this.data[aF].data[aE-ay];if(ak.HTMLcanStretch("Horizontal")){O[aF][aE].bbox=ak.HTMLstretchH(K[aE],l[aE]).bbox}else{if(ak.HTMLcanStretch("Vertical")){var z=ak.CoreMO();var ab=z.symmetric;z.symmetric=false;O[aF][aE].bbox=ak.HTMLstretchV(K[aE],w[aF],I[aF]).bbox;z.symmetric=ab}}aD=ak.rowalign||this.data[aF].rowalign||L[aF];n=({top:w[aF]-O[aF][aE].bbox.h,bottom:O[aF][aE].bbox.d-I[aF],center:((w[aF]-I[aF])-(O[aF][aE].bbox.h-O[aF][aE].bbox.d))/2,baseline:0,axis:0})[aD];aD=(ak.columnalign||au[aF][aE]||ah[aE]);b.alignBox(O[aF][aE],aD,ar+n)}if(aF<O.length-1){ar-=Math.max((w[aF]+I[aF]?aL:0),I[aF]+w[aF+1]+S[aF])}}ar=h}if(r){var q=b.createBox(ag);q.style.left=q.style.top=0;q.style.right=b.Em(aq+2*ac);q.style.display="inline-block";q.style.height="0px";if(b.msieRelativeWidthBug){q=b.createBox(q);q.style.position="relative";q.style.height="1em";q.style.width="100%";q.bbox=ag.bbox}var an=0,av=ac,aK,g;if(aG){aK=100*(1-aw)/aG,g=U/aG}else{aK=100*(1-aw)/(v+1);g=U/(v+1)}for(aE=0;aE<=v;aE++){b.placeBox(K[aE].parentNode,0,0);K[aE].style.position="relative";K[aE].style.left=b.Em(av);K[aE].style.width="100%";K[aE].parentNode.parentNode.removeChild(K[aE].parentNode);var e=b.createBox(q);b.addBox(e,K[aE]);K[aE]=e;var ae=e.style;ae.display="inline-block";ae.left=an+"%";if(ap[aE].match(/%$/)){var G=parseFloat(ap[aE])*ai;if(aG===0){ae.width=(aK+G)+"%";an+=aK+G;e=b.createBox(e);b.addBox(e,K[aE].firstChild);e.style.left=0;e.style.right=b.Em(g);av-=g}else{ae.width=G+"%";an+=G}}else{if(ap[aE]==="fit"||aG===0){ae.width=aK+"%";e=b.createBox(e);b.addBox(e,K[aE].firstChild);e.style.left=0;e.style.right=b.Em(g-l[aE]);av+=l[aE]-g;an+=aK}else{ae.width=b.Em(l[aE]);av+=l[aE]}}if(b.msieRelativeWidthBug){b.addText(e.firstChild,b.NBSP);e.firstChild.style.position="relative"}av+=al[aE];if(N[aE]!=="none"&&aE<v&&aE!==aH){u=b.createBox(q);u.style.left=an+"%";u=b.createRule(u,aI,0,1.25/b.em);u.style.position="absolute";u.bbox={h:aI,d:0,w:0,rw:1.25/b.em,lw:0};u.parentNode.bbox=ag.bbox;b.placeBox(u,av-al[aE]/2,ax,true);u.style.borderStyle=N[aE]}}}else{var at=ac;for(aE=0;aE<=v;aE++){if(!K[aE].bbox.width){b.setStackWidth(K[aE],l[aE])}if(ap[aE]!=="auto"&&ap[aE]!=="fit"){K[aE].bbox.width=l[aE];K[aE].bbox.isFixed=true}b.placeBox(K[aE].parentNode,at,0);at+=l[aE]+al[aE];if(N[aE]!=="none"&&aE<v&&aE!==aH){u=b.createRule(ag,aI,0,1.25/b.em);b.addBox(ag,u);u.bbox={h:aI,d:0,w:0,rw:1.25/b.em,lw:0};b.placeBox(u,at-al[aE]/2,ax,true);u.style.borderStyle=N[aE]}}}aA=ag.bbox.w+ac;var d;if(aJ.frame!=="none"){d=b.createFrame(ag,aI,0,aA,1.25/b.em,aJ.frame);b.addBox(ag,d);b.placeBox(d,0,ax,true);if(r){d.style.width="100%"}}ar=h;for(aF=0,aC=O.length-1;aF<aC;aF++){n=Math.max(aL,I[aF]+w[aF+1]+S[aF]);if(k[aF]!=="none"){u=b.createRule(ag,1.25/b.em,0,aA);b.addBox(ag,u);u.bbox={h:1.25/b.em,d:0,w:aA,rw:aA,lw:0};b.placeBox(u,0,ar-I[aF]-(n-I[aF]-w[aF+1])/2,true);if(k[aF]==="dashed"||r){u.style.borderTop=u.style.height+" "+k[aF];u.style.height=0;u.style.width=u.style.borderLeftWidth;u.style.borderLeft="";if(r){u.style.width="100%"}}}ar-=n}if(r){X.bbox.width=aJ.width;ag.style.width="100%"}if(K[aH]){var Q=this.getValues("indentalignfirst","indentshiftfirst","indentalign","indentshift");if(Q.indentalignfirst!==a.INDENTALIGN.INDENTALIGN){Q.indentalign=Q.indentalignfirst}if(Q.indentalign===a.INDENTALIGN.AUTO){Q.indentalign=this.displayAlign}if(Q.indentshiftfirst!==a.INDENTSHIFT.INDENTSHIFT){Q.indentshift=Q.indentshiftfirst}if(Q.indentshift==="auto"){Q.indentshift=this.displayIndent}var E=b.createStack(X,false,"100%");b.addBox(E,ag);b.alignBox(ag,Q.indentalign,0);if(Q.indentshift&&Q.indentalign!==a.INDENTALIGN.CENTER){ag.style[{left:"Left",right:"Right"}[Q.indentalign]]=b.Em(b.length2em(Q.indentshift))}K[aH].parentNode.parentNode.removeChild(K[aH].parentNode);b.addBox(E,K[aH]);b.alignBox(K[aH],ah[aH],0);if(b.msieRelativeWidthBug){ag.style.top=K[aH].style.top=""}if(r){ag.style.width=aJ.width;X.bbox.width="100%"}K[aH].style.marginRight=K[aH].style.marginLeft=b.Em(b.length2em(aJ.minlabelspacing))}if(!r){this.HTMLhandleSpace(X)}var aj=this.HTMLhandleColor(X);if(aj&&r){if(!d){d=b.createFrame(ag,aI,0,aA,0,"none");b.addBox(ag,d);b.placeBox(d,0,ax,true);d.style.width="100%"}d.style.backgroundColor=aj.style.backgroundColor;d.parentNode.insertBefore(d,d.parentNode.firstChild);aj.parentNode.removeChild(aj)}return X},HTMLhandleSpace:function(d){d.style.paddingLeft=d.style.paddingRight=".1667em"}});a.mtd.Augment({toHTML:function(e,d,g){e=this.HTMLcreateSpan(e);if(this.data[0]){var f=b.Measured(this.data[0].toHTML(e),e);if(g!=null){b.Remeasured(this.data[0].HTMLstretchV(e,d,g),e)}else{if(d!=null){b.Remeasured(this.data[0].HTMLstretchH(e,d),e)}}e.bbox=f.bbox}this.HTMLhandleSpace(e);this.HTMLhandleColor(e);return e},HTMLstretchH:a.mbase.HTMLstretchH,HTMLstretchV:a.mbase.HTMLstretchV});MathJax.Hub.Startup.signal.Post("HTML-CSS mtable Ready");MathJax.Ajax.loadComplete(b.autoloadDir+"/mtable.js")});
|
|
|
|
MathJax.Ajax.loadComplete("[MathJax]/config/TeX-AMS_HTML-full.js");
|