@zklogic/draw.io
Version:
Draw.IO - Graph Editor integration in Angular-cli
1 lines • 284 kB
JavaScript
MathJax.Hub.Config({delayJaxRegistration:!0}),MathJax.Ajax.Preloading("[MathJax]/jax/input/AsciiMath/config.js","[MathJax]/jax/output/HTML-CSS/config.js","[MathJax]/jax/output/NativeMML/config.js","[MathJax]/jax/output/PreviewHTML/config.js","[MathJax]/config/MMLorHTML.js","[MathJax]/extensions/asciimath2jax.js","[MathJax]/extensions/MathEvents.js","[MathJax]/extensions/MathZoom.js","[MathJax]/extensions/MathMenu.js","[MathJax]/jax/element/mml/jax.js","[MathJax]/extensions/toMathML.js","[MathJax]/jax/input/AsciiMath/jax.js","[MathJax]/jax/output/NativeMML/jax.js","[MathJax]/jax/output/HTML-CSS/jax.js","[MathJax]/jax/output/HTML-CSS/autoload/mtable.js","[MathJax]/jax/output/PreviewHTML/jax.js","[MathJax]/extensions/fast-preview.js","[MathJax]/extensions/AssistiveMML.js","[MathJax]/extensions/a11y/accessibility-menu.js"),MathJax.Hub.Config({extensions:["[a11y]/accessibility-menu.js"]}),MathJax.InputJax.AsciiMath=MathJax.InputJax({id:"AsciiMath",version:"2.7.9",directory:MathJax.InputJax.directory+"/AsciiMath",extensionDir:MathJax.InputJax.extensionDir+"/AsciiMath",config:{fixphi:!0,useMathMLspacing:!0,displaystyle:!0,decimalsign:"."}}),MathJax.InputJax.AsciiMath.Register("math/asciimath"),MathJax.InputJax.AsciiMath.loadComplete("config.js"),MathJax.OutputJax["HTML-CSS"]=MathJax.OutputJax({id:"HTML-CSS",version:"2.7.9",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:{noReflows:!0,matchFontHeight:!0,scale:100,minScaleAdjust:50,availableFonts:["STIX","TeX"],preferredFont:"TeX",webFont:"TeX",imageFont:"TeX",undefinedFamily:"STIXGeneral,'Arial Unicode MS',serif",mtextFontInherit:!1,EqnChunk:MathJax.Hub.Browser.isMobile?10:50,EqnChunkFactor:1.5,EqnChunkDelay:100,linebreaks:{automatic:!1,width:"container"},styles:{".MathJax_Display":{"text-align":"center",margin:"1em 0em"},".MathJax .merror":{"background-color":"#FFFF88",color:"#CC0000",border:"1px solid #CC0000",padding:"1px 3px","font-style":"normal","font-size":"90%"},".MathJax .MJX-monospace":{"font-family":"monospace"},".MathJax .MJX-sans-serif":{"font-family":"sans-serif"},"#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","z-index":401}}}}),MathJax.Hub.Browser.isMSIE&&document.documentMode>=9&&delete MathJax.OutputJax["HTML-CSS"].config.styles["#MathJax_Tooltip"].filter,MathJax.Hub.config.delayJaxRegistration||MathJax.OutputJax["HTML-CSS"].Register("jax/mml"),MathJax.Hub.Register.StartupHook("End Config",[function(t,e){var i=t.Insert({minBrowserVersion:{Firefox:3,Opera:9.52,MSIE:6,Chrome:.3,Safari:2,Konqueror:4},inlineMathDelimiters:["$","$"],displayMathDelimiters:["$$","$$"],multilineDisplay:!0,minBrowserTranslate:function(e){var a,n=t.getJaxFor(e),s=["[Math]"],o=document.createElement("span",{className:"MathJax_Preview"});"TeX"===n.inputJax&&(n.root.Get("displaystyle")?(s=[(a=i.displayMathDelimiters)[0]+n.originalText+a[1]],i.multilineDisplay&&(s=s[0].split(/\n/))):s=[(a=i.inlineMathDelimiters)[0]+n.originalText.replace(/^\s+/,"").replace(/\s+$/,"")+a[1]]);for(var r=0,l=s.length;r<l;r++)o.appendChild(document.createTextNode(s[r])),r<l-1&&o.appendChild(document.createElement("br"));e.parentNode.insertBefore(o,e)}},t.config["HTML-CSS"]||{});"0.0"===t.Browser.version||t.Browser.versionAtLeast(i.minBrowserVersion[t.Browser]||0)||(e.Translate=i.minBrowserTranslate,t.Config({showProcessingMessages:!1}),MathJax.Message.Set(["MathJaxNotSupported","Your browser does not support MathJax"],null,4e3),t.Startup.signal.Post("MathJax not supported"))},MathJax.Hub,MathJax.OutputJax["HTML-CSS"]]),MathJax.OutputJax["HTML-CSS"].loadComplete("config.js"),MathJax.OutputJax.NativeMML=MathJax.OutputJax({id:"NativeMML",version:"2.7.9",directory:MathJax.OutputJax.directory+"/NativeMML",extensionDir:MathJax.OutputJax.extensionDir+"/NativeMML",config:{matchFontHeight:!0,scale:100,minScaleAdjust:50,styles:{"div.MathJax_MathML":{"text-align":"center",margin:".75em 0px"}}}}),MathJax.Hub.config.delayJaxRegistration||MathJax.OutputJax.NativeMML.Register("jax/mml"),MathJax.OutputJax.NativeMML.loadComplete("config.js"),MathJax.OutputJax.PreviewHTML=MathJax.OutputJax({id:"PreviewHTML",version:"2.7.9",directory:MathJax.OutputJax.directory+"/PreviewHTML",extensionDir:MathJax.OutputJax.extensionDir+"/PreviewHTML",noFastPreview:!0,config:{scale:100,minScaleAdjust:50,mtextFontInherit:!1,linebreaks:{automatic:!1,width:"container"}}}),MathJax.Hub.config.delayJaxRegistration||MathJax.OutputJax.PreviewHTML.Register("jax/mml"),MathJax.OutputJax.PreviewHTML.loadComplete("config.js"),function(t,e){var i=MathJax.Hub.CombineConfig("MMLorHTML",{prefer:{MSIE:"MML",Firefox:"HTML",Opera:"HTML",Chrome:"HTML",Safari:"HTML",other:"HTML"}}),a="0.0"===e.version||e.versionAtLeast({Firefox:3,Opera:9.52,MSIE:6,Chrome:.3,Safari:2,Konqueror:4}[e]||0),n=e.isFirefox&&e.versionAtLeast("1.5")||e.isMSIE&&e.hasMathPlayer||e.isSafari&&e.versionAtLeast("5.0")||e.isOpera&&e.versionAtLeast("9.52");t.Register.StartupHook("End Config",(function(){var e=i.prefer&&"object"==typeof i.prefer?i.prefer[MathJax.Hub.Browser]||i.prefer.other||"HTML":i.prefer;a||n?!n||"MML"!==e&&a?(MathJax.OutputJax["HTML-CSS"]?MathJax.OutputJax["HTML-CSS"].Register("jax/mml"):t.config.jax.unshift("output/HTML-CSS"),t.Startup.signal.Post("HTML-CSS output selected")):(MathJax.OutputJax.NativeMML?MathJax.OutputJax.NativeMML.Register("jax/mml"):t.config.jax.unshift("output/NativeMML"),t.Startup.signal.Post("NativeMML output selected")):(t.PreProcess.disabled=!0,t.prepareScripts.disabled=!0,MathJax.Message.Set(["MathJaxNotSupported","Your browser does not support MathJax"],null,4e3),t.Startup.signal.Post("MathJax not supported"))}))}(MathJax.Hub,MathJax.Hub.Browser),MathJax.Ajax.loadComplete("[MathJax]/config/MMLorHTML.js"),MathJax.Extension.asciimath2jax={version:"2.7.9",config:{delimiters:[["`","`"]],skipTags:["script","noscript","style","textarea","pre","code","annotation","annotation-xml"],ignoreClass:"asciimath2jax_ignore",processClass:"asciimath2jax_process",preview:"AsciiMath"},ignoreTags:{br:MathJax.Hub.Browser.isMSIE&&document.documentMode<9?"\n":" ",wbr:"","#comment":""},PreProcess:function(t){this.configured||(this.config=MathJax.Hub.CombineConfig("asciimath2jax",this.config),this.config.Augment&&MathJax.Hub.Insert(this,this.config.Augment),this.configured=!0),"string"==typeof t&&(t=document.getElementById(t)),t||(t=document.body),this.createPatterns()&&this.scanElement(t,t.nextSibling)},createPatterns:function(){var t,e,i=[],a=this.config;if(this.match={},0===a.delimiters.length)return!1;for(t=0,e=a.delimiters.length;t<e;t++)i.push(this.patternQuote(a.delimiters[t][0])),this.match[a.delimiters[t][0]]={mode:"",end:a.delimiters[t][1],pattern:this.endPattern(a.delimiters[t][1])};this.start=new RegExp(i.sort(this.sortLength).join("|"),"g"),this.skipTags=new RegExp("^("+a.skipTags.join("|")+")$","i");var n=[];return MathJax.Hub.config.preRemoveClass&&n.push(MathJax.Hub.config.preRemoveClass),a.ignoreClass&&n.push(a.ignoreClass),this.ignoreClass=n.length?new RegExp("(^| )("+n.join("|")+")( |$)"):/^$/,this.processClass=new RegExp("(^| )("+a.processClass+")( |$)"),!0},patternQuote:function(t){return t.replace(/([\^$(){}+*?\-|\[\]\:\\])/g,"\\$1")},endPattern:function(t){return new RegExp(this.patternQuote(t)+"|\\\\.","g")},sortLength:function(t,e){return t.length!==e.length?e.length-t.length:t==e?0:t<e?-1:1},scanElement:function(t,e,i){for(var a,n,s,o;t&&t!=e;)"#text"===t.nodeName.toLowerCase()?i||(t=this.scanText(t)):(a=void 0===t.className?"":t.className,n=void 0===t.tagName?"":t.tagName,"string"!=typeof a&&(a=String(a)),o=this.processClass.exec(a),!t.firstChild||a.match(/(^| )MathJax/)||!o&&this.skipTags.exec(n)||(s=(i||this.ignoreClass.exec(a))&&!o,this.scanElement(t.firstChild,e,s))),t&&(t=t.nextSibling)},scanText:function(t){if(""==t.nodeValue.replace(/\s+/,""))return t;var e,i,a,n=0;for(this.search={start:!0},this.pattern=this.start;t;){for(a=null,this.pattern.lastIndex=n||0,n=0;t&&"#text"===t.nodeName.toLowerCase()&&(e=this.pattern.exec(t.nodeValue));)t=this.search.start?this.startMatch(e,t):this.endMatch(e,t);if(this.search.matched?t=this.encloseMath(t):this.search.start||(a=this.search),t){do{i=t,t=t.nextSibling}while(t&&null!=this.ignoreTags[t.nodeName.toLowerCase()]);if(!t||"#text"!==t.nodeName){if(!a)return i;t=a.open,n=a.opos+a.olen,this.search={start:!0},this.pattern=this.start}}}return t},startMatch:function(t,e){var i=this.match[t[0]];return null!=i&&(this.search={end:i.end,mode:i.mode,open:e,olen:t[0].length,opos:this.pattern.lastIndex-t[0].length},this.switchPattern(i.pattern)),e},endMatch:function(t,e){return t[0]==this.search.end&&(this.search.close=e,this.search.cpos=this.pattern.lastIndex,this.search.clen=this.search.isBeginEnd?0:t[0].length,this.search.matched=!0,e=this.encloseMath(e),this.switchPattern(this.start)),e},switchPattern:function(t){t.lastIndex=this.pattern.lastIndex,this.pattern=t,this.search.start=t===this.start},encloseMath:function(t){var e,i,a,n=this.search,s=n.close;for((s=n.cpos===s.length?s.nextSibling:s.splitText(n.cpos))||(e=s=MathJax.HTML.addText(n.close.parentNode,"")),n.close=s,i=n.opos?n.open.splitText(n.opos):n.open;(a=i.nextSibling)&&a!==s;){if(null!==a.nodeValue)"#comment"===a.nodeName?i.nodeValue+=a.nodeValue.replace(/^\[CDATA\[((.|\n|\r)*)\]\]$/,"$1"):i.nodeValue+=i.nextSibling.nodeValue;else{var o=this.ignoreTags[a.nodeName.toLowerCase()];i.nodeValue+=null==o?" ":o}i.parentNode.removeChild(a)}var r=i.nodeValue.substr(n.olen,i.nodeValue.length-n.olen-n.clen);return i.parentNode.removeChild(i),"none"!==this.config.preview&&this.createPreview(n.mode,r),i=this.createMathTag(n.mode,r),this.search={},this.pattern.lastIndex=0,e&&e.parentNode.removeChild(e),i},insertNode:function(t){var e=this.search;e.close.parentNode.insertBefore(t,e.close)},createPreview:function(t,e){var i=MathJax.Hub.config.preRemoveClass,a=this.config.preview;"none"!==a&&(this.search.close.previousSibling||{}).className!==i&&("AsciiMath"===a&&(a=[this.filterPreview(e)]),a&&(a=MathJax.HTML.Element("span",{className:i},a),this.insertNode(a)))},createMathTag:function(t,e){var i=document.createElement("script");return i.type="math/asciimath"+t,MathJax.HTML.setScript(i,e),this.insertNode(i),i},filterPreview:function(t){return t}},MathJax.Hub.Register.PreProcessor(["PreProcess",MathJax.Extension.asciimath2jax]),MathJax.Ajax.loadComplete("[MathJax]/extensions/asciimath2jax.js"),function(t,e,i,a,n,s,o){var r=MathJax.Extension,l=r.MathEvents={version:"2.7.9"},h=t.config.menuSettings,u={hover:500,frame:{x:3.5,y:5,bwidth:1,bcolor:"#A6D",hwidth:"15px",hcolor:"#83A"},button:{x:-6,y:-3,wx:-2},fadeinInc:.2,fadeoutInc:.05,fadeDelay:50,fadeoutStart:400,fadeoutDelay:15e3,styles:{".MathJax_Hover_Frame":{"border-radius":".25em","-webkit-border-radius":".25em","-moz-border-radius":".25em","-khtml-border-radius":".25em","box-shadow":"0px 0px 15px #83A","-webkit-box-shadow":"0px 0px 15px #83A","-moz-box-shadow":"0px 0px 15px #83A","-khtml-box-shadow":"0px 0px 15px #83A",border:"1px solid #A6D ! important",display:"inline-block",position:"absolute"},".MathJax_Menu_Button .MathJax_Hover_Arrow":{position:"absolute",cursor:"pointer",display:"inline-block",border:"2px solid #AAA","border-radius":"4px","-webkit-border-radius":"4px","-moz-border-radius":"4px","-khtml-border-radius":"4px","font-family":"'Courier New',Courier","font-size":"9px",color:"#F0F0F0"},".MathJax_Menu_Button .MathJax_Hover_Arrow span":{display:"block","background-color":"#AAA",border:"1px solid","border-radius":"3px","line-height":0,padding:"4px"},".MathJax_Hover_Arrow:hover":{color:"white!important",border:"2px solid #CCC!important"},".MathJax_Hover_Arrow:hover span":{"background-color":"#CCC!important"}}},d=l.Event={LEFTBUTTON:0,RIGHTBUTTON:2,MENUKEY:"altKey",KEY:{RETURN:13,ESCAPE:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40,LESS:188,GREATER:190,DASH:189},Mousedown:function(t){return d.Handler(t,"Mousedown",this)},Mouseup:function(t){return d.Handler(t,"Mouseup",this)},Mousemove:function(t){return d.Handler(t,"Mousemove",this)},Mouseover:function(t){return d.Handler(t,"Mouseover",this)},Mouseout:function(t){return d.Handler(t,"Mouseout",this)},Click:function(t){return d.Handler(t,"Click",this)},DblClick:function(t){return d.Handler(t,"DblClick",this)},Menu:function(t){return d.Handler(t,"ContextMenu",this)},Handler:function(t,e,a){if(i.loadingMathMenu)return d.False(t);var n=s[a.jaxID];return t||(t=window.event),t.isContextMenu="ContextMenu"===e,n[e]?n[e](t,a):r.MathZoom?r.MathZoom.HandleEvent(t,e,a):void 0},False:function(t){return t||(t=window.event),t&&(t.preventDefault?t.preventDefault():t.returnValue=!1,t.stopPropagation&&t.stopPropagation(),t.cancelBubble=!0),!1},Keydown:function(t,e){t||(t=window.event),t.keyCode===d.KEY.SPACE&&d.ContextMenu(t,this)},ContextMenu:function(e,r,u){var m=s[r.jaxID],p=m.getJaxFromMath(r);if((null!=m.config.showMathMenu?m:t).config.showMathMenu&&("MathJax"===h.context||u)){l.msieEventBug&&(e=window.event||e),d.ClearSelection(),c.ClearHoverTimer(),p.hover&&(p.hover.remove&&(clearTimeout(p.hover.remove),delete p.hover.remove),p.hover.nofade=!0);var f,M,g=MathJax.Menu;if(g){if(g.loadingDomain)return d.False(e);if(!(f=n.loadDomain("MathMenu"))){g.jax=p;var x=g.menu.Find("Show Math As").submenu;x.items[0].name=p.sourceMenuTitle,x.items[0].format=p.sourceMenuFormat||"MathML",x.items[1].name=o[p.inputJax].sourceMenuTitle,x.items[5].disabled=!o[p.inputJax].annotationEncoding;var b=x.items[2];b.disabled=!0;var v=b.submenu.items;annotationList=MathJax.Hub.Config.semanticsAnnotations;for(var T=0,y=v.length;T<y;T++){var C=v[T].name[1];p.root&&null!==p.root.getAnnotation(C)?(b.disabled=!1,v[T].hidden=!1):v[T].hidden=!0}return g.menu.Find("Math Settings","MathPlayer").hidden=!("NativeMML"===p.outputJax&&t.Browser.hasMathPlayer),g.menu.Post(e)}g.loadingDomain=!0,M=function(){delete g.loadingDomain}}else{if(i.loadingMathMenu)return d.False(e);i.loadingMathMenu=!0,f=i.Require("[MathJax]/extensions/MathMenu.js"),M=function(){delete i.loadingMathMenu,MathJax.Menu||(MathJax.Menu={})}}var L={pageX:e.pageX,pageY:e.pageY,clientX:e.clientX,clientY:e.clientY};return a.Queue(f,M,["ContextMenu",d,L,r,u]),d.False(e)}},AltContextMenu:function(e,i){var a=s[i.jaxID],n=(null!=a.config.showMathMenu?a:t).config.showMathMenu;if(n){if(n=(null!=a.config.showMathMenuMSIE?a:t).config.showMathMenuMSIE,"MathJax"===h.context&&!h.mpContext&&n){if(!l.noContextMenuBug||e.button!==d.RIGHTBUTTON)return}else if(!e[d.MENUKEY]||e.button!==d.LEFTBUTTON)return;return a.ContextMenu(e,i,!0)}},ClearSelection:function(){l.safariContextMenuBug&&setTimeout("window.getSelection().empty()",0),document.selection&&setTimeout("document.selection.empty()",0)},getBBox:function(t){t.appendChild(l.topImg);var e=l.topImg.offsetTop,i=t.offsetHeight-e,a=t.offsetWidth;return t.removeChild(l.topImg),{w:a,h:e,d:i}}},c=l.Hover={Mouseover:function(e,i){if(h.discoverable||"Hover"===h.zoom){var a=e.fromElement||e.relatedTarget,n=e.toElement||e.target;if(a&&n&&(t.isMathJaxNode(a)!==t.isMathJaxNode(n)||t.getJaxFor(a)!==t.getJaxFor(n))){var s=this.getJaxFromMath(i);return s.hover?c.ReHover(s):c.HoverTimer(s,i),d.False(e)}}},Mouseout:function(e,i){if(h.discoverable||"Hover"===h.zoom){var a=e.fromElement||e.relatedTarget,n=e.toElement||e.target;if(a&&n&&(t.isMathJaxNode(a)!==t.isMathJaxNode(n)||t.getJaxFor(a)!==t.getJaxFor(n))){var s=this.getJaxFromMath(i);return s.hover?c.UnHover(s):c.ClearHoverTimer(),d.False(e)}}},Mousemove:function(t,e){if(h.discoverable||"Hover"===h.zoom){var i=this.getJaxFromMath(e);if(i.hover)return;if(c.lastX==t.clientX&&c.lastY==t.clientY)return;return c.lastX=t.clientX,c.lastY=t.clientY,c.HoverTimer(i,e),d.False(t)}},HoverTimer:function(t,e){this.ClearHoverTimer(),this.hoverTimer=setTimeout(a(["Hover",this,t,e]),u.hover)},ClearHoverTimer:function(){this.hoverTimer&&(clearTimeout(this.hoverTimer),delete this.hoverTimer)},Hover:function(i,a){if(!r.MathZoom||!r.MathZoom.Hover({},a)){var n=s[i.outputJax],o=n.getHoverSpan(i,a),h=n.getHoverBBox(i,o,a),d=(null!=n.config.showMathMenu?n:t).config.showMathMenu,c=u.frame.x,m=u.frame.y,p=u.frame.bwidth;l.msieBorderWidthBug&&(p=0),i.hover={opacity:0,id:i.inputID+"-Hover"};var f=e.Element("span",{id:i.hover.id,isMathJax:!0,style:{display:"inline-block",width:0,height:0,position:"relative"}},[["span",{className:"MathJax_Hover_Frame",isMathJax:!0,style:{display:"inline-block",position:"absolute",top:this.Px(-h.h-m-p-(h.y||0)),left:this.Px(-c-p+(h.x||0)),width:this.Px(h.w+2*c),height:this.Px(h.h+h.d+2*m),opacity:0,filter:"alpha(opacity=0)"}}]]),M=e.Element("span",{isMathJax:!0,id:i.hover.id+"Menu",className:"MathJax_Menu_Button",style:{display:"inline-block","z-index":1,width:0,height:0,position:"relative"}},[["span",{className:"MathJax_Hover_Arrow",isMathJax:!0,math:a,onclick:this.HoverMenu,jax:n.id,style:{left:this.Px(h.w+c+p+(h.x||0)+u.button.x),top:this.Px(-h.h-m-p-(h.y||0)-u.button.y),opacity:0,filter:"alpha(opacity=0)"}},[["span",{isMathJax:!0},"▼"]]]]);h.width&&(f.style.width=M.style.width=h.width,f.style.marginRight=M.style.marginRight="-"+h.width,f.firstChild.style.width=h.width,M.firstChild.style.left="",M.firstChild.style.right=this.Px(u.button.wx)),o.parentNode.insertBefore(f,o),d&&o.parentNode.insertBefore(M,o),o.style&&(o.style.position="relative"),this.ReHover(i)}},ReHover:function(t){t.hover.remove&&clearTimeout(t.hover.remove),t.hover.remove=setTimeout(a(["UnHover",this,t]),u.fadeoutDelay),this.HoverFadeTimer(t,u.fadeinInc)},UnHover:function(t){t.hover.nofade||this.HoverFadeTimer(t,-u.fadeoutInc,u.fadeoutStart)},HoverFade:function(t){delete t.hover.timer,t.hover.opacity=Math.max(0,Math.min(1,t.hover.opacity+t.hover.inc)),t.hover.opacity=Math.floor(1e3*t.hover.opacity)/1e3;var e=document.getElementById(t.hover.id),i=document.getElementById(t.hover.id+"Menu");e.firstChild.style.opacity=t.hover.opacity,e.firstChild.style.filter="alpha(opacity="+Math.floor(100*t.hover.opacity)+")",i&&(i.firstChild.style.opacity=t.hover.opacity,i.firstChild.style.filter=e.style.filter),1!==t.hover.opacity&&(t.hover.opacity>0?this.HoverFadeTimer(t,t.hover.inc):(e.parentNode.removeChild(e),i&&i.parentNode.removeChild(i),t.hover.remove&&clearTimeout(t.hover.remove),delete t.hover))},HoverFadeTimer:function(t,e,i){t.hover.inc=e,t.hover.timer||(t.hover.timer=setTimeout(a(["HoverFade",this,t]),i||u.fadeDelay))},HoverMenu:function(t){return t||(t=window.event),s[this.jax].ContextMenu(t,this.math,!0)},ClearHover:function(t){t.hover.remove&&clearTimeout(t.hover.remove),t.hover.timer&&clearTimeout(t.hover.timer),c.ClearHoverTimer(),delete t.hover},Px:function(t){return Math.abs(t)<.006?"0px":t.toFixed(2).replace(/\.?0+$/,"")+"px"},getImages:function(){h.discoverable&&((new Image).src=u.button.src)}},m=l.Touch={last:0,delay:500,start:function(t){var e=(new Date).getTime(),i=e-m.last<m.delay&&m.up;m.last=e,m.up=!1,i&&(m.timeout=setTimeout(m.menu,m.delay,t,this),t.preventDefault())},end:function(t){var e=(new Date).getTime();if(m.up=e-m.last<m.delay,m.timeout)return clearTimeout(m.timeout),delete m.timeout,m.last=0,m.up=!1,t.preventDefault(),d.Handler(t.touches[0]||t.touch,"DblClick",this)},menu:function(t,e){return delete m.timeout,m.last=0,m.up=!1,d.Handler(t.touches[0]||t.touch,"ContextMenu",e)}};t.Browser.Select({MSIE:function(t){var e=document.documentMode||0,i=t.versionAtLeast("8.0");l.msieBorderWidthBug="BackCompat"===document.compatMode,l.msieEventBug=t.isIE9,l.msieAlignBug=!i||e<8,e<9&&(d.LEFTBUTTON=1)},Safari:function(t){l.safariContextMenuBug=!0},Opera:function(t){l.operaPositionBug=!0},Konqueror:function(t){l.noContextMenuBug=!0}}),l.topImg=l.msieAlignBug?e.Element("img",{style:{width:0,height:0,position:"relative"},src:"about:blank"}):e.Element("span",{style:{width:0,height:0,display:"inline-block"}}),l.operaPositionBug&&(l.topImg.style.border="1px solid"),l.config=u=t.CombineConfig("MathEvents",u),a.Queue(t.Register.StartupHook("End Config",{}),[function(){var t=u.styles[".MathJax_Hover_Frame"];t.border=u.frame.bwidth+"px solid "+u.frame.bcolor+" ! important",t["box-shadow"]=t["-webkit-box-shadow"]=t["-moz-box-shadow"]=t["-khtml-box-shadow"]="0px 0px "+u.frame.hwidth+" "+u.frame.hcolor}],["getImages",c],["Styles",i,u.styles],["Post",t.Startup.signal,"MathEvents Ready"],["loadComplete",i,"[MathJax]/extensions/MathEvents.js"])}(MathJax.Hub,MathJax.HTML,MathJax.Ajax,MathJax.Callback,MathJax.Localization,MathJax.OutputJax,MathJax.InputJax),function(t,e,i,a,n){var s,o,r,l=t.CombineConfig("MathZoom",{styles:{"#MathJax_Zoom":{position:"absolute","background-color":"#F0F0F0",overflow:"auto",display:"block","z-index":301,padding:".5em",border:"1px solid black",margin:0,"font-weight":"normal","font-style":"normal","text-align":"left","text-indent":0,"text-transform":"none","line-height":"normal","letter-spacing":"normal","word-spacing":"normal","word-wrap":"normal","white-space":"nowrap",float:"none","-webkit-box-sizing":"content-box","-moz-box-sizing":"content-box","box-sizing":"content-box","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_ZoomFrame":{position:"relative",display:"inline-block",height:0,width:0},"#MathJax_ZoomEventTrap":{position:"absolute",left:0,top:0,"z-index":302,display:"inline-block",border:0,padding:0,margin:0,"background-color":"white",opacity:0,filter:"alpha(opacity=0)"}}});MathJax.Hub.Register.StartupHook("MathEvents Ready",(function(){r=MathJax.Extension.MathEvents.Event,s=MathJax.Extension.MathEvents.Event.False,o=MathJax.Extension.MathEvents.Hover}));var h=MathJax.Extension.MathZoom={version:"2.7.9",settings:t.config.menuSettings,scrollSize:18,HandleEvent:function(t,e,i){return!(!h.settings.CTRL||t.ctrlKey)||!(!h.settings.ALT||t.altKey)||!(!h.settings.CMD||t.metaKey)||!(!h.settings.Shift||t.shiftKey)||!h[e]||h[e](t,i)},Click:function(t,e){if("Click"===this.settings.zoom)return this.Zoom(t,e)},DblClick:function(t,e){if("Double-Click"===this.settings.zoom||"DoubleClick"===this.settings.zoom)return this.Zoom(t,e)},Hover:function(t,e){return"Hover"===this.settings.zoom&&(this.Zoom(t,e),!0)},Zoom:function(i,a){this.Remove(),o.ClearHoverTimer(),r.ClearSelection();var n=MathJax.OutputJax[a.jaxID],h=n.getJaxFromMath(a);h.hover&&o.UnHover(h);var u=this.findContainer(a),d=Math.floor(.85*u.clientWidth),c=Math.max(document.body.clientHeight,document.documentElement.clientHeight);"visible"!==this.getOverflow(u)&&(c=Math.min(u.clientHeight,c)),c=Math.floor(.85*c);var m=e.Element("span",{id:"MathJax_ZoomFrame"},[["span",{id:"MathJax_ZoomOverlay",onmousedown:this.Remove}],["span",{id:"MathJax_Zoom",onclick:this.Remove,style:{visibility:"hidden",fontSize:this.settings.zscale}},[["span",{style:{display:"inline-block","white-space":"nowrap"}}]]]]),p=m.lastChild,f=p.firstChild,M=m.firstChild;a.parentNode.insertBefore(m,a),a.parentNode.insertBefore(a,m),f.addEventListener&&f.addEventListener("mousedown",this.Remove,!0);var g=p.offsetWidth||p.clientWidth;if(d-=g,c-=g,p.style.maxWidth=d+"px",p.style.maxHeight=c+"px",this.msieTrapEventBug){var x=e.Element("span",{id:"MathJax_ZoomEventTrap",onmousedown:this.Remove});m.insertBefore(x,p)}if(this.msieZIndexBug){var b=e.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=l.styles["#MathJax_ZoomOverlay"]["z-index"],m=b}var v=n.Zoom(h,f,a,d,c);return this.msiePositionBug&&(this.msieSizeBug&&(p.style.height=v.zH+"px",p.style.width=v.zW+"px"),p.offsetHeight>c&&(p.style.height=c+"px",p.style.width=v.zW+this.scrollSize+"px"),p.offsetWidth>d&&(p.style.width=d+"px",p.style.height=v.zH+this.scrollSize+"px")),this.operaPositionBug&&(p.style.width=Math.min(d,v.zW)+"px"),p.offsetWidth>g&&p.offsetWidth-g<d&&p.offsetHeight-g<c&&(p.style.overflow="visible"),this.Position(p,v),this.msieTrapEventBug&&(x.style.height=p.clientHeight+"px",x.style.width=p.clientWidth+"px",x.style.left=parseFloat(p.style.left)+p.clientLeft+"px",x.style.top=parseFloat(p.style.top)+p.clientTop+"px"),p.style.visibility="","Hover"===this.settings.zoom&&(M.onmouseover=this.Remove),window.addEventListener?addEventListener("resize",this.Resize,!1):window.attachEvent?attachEvent("onresize",this.Resize):(this.onresize=window.onresize,window.onresize=this.Resize),t.signal.Post(["math zoomed",h]),s(i)},Position:function(t,e){t.style.display="none";var i=this.Resize(),a=i.x,n=i.y,s=e.mW;t.style.display="";var o=-s-Math.floor((t.offsetWidth-s)/2),r=e.Y;t.style.left=Math.max(o,10-a)+"px",t.style.top=Math.max(r,10-n)+"px",h.msiePositionBug||h.SetWH()},Resize:function(t){h.onresize&&h.onresize(t);var e=document.getElementById("MathJax_ZoomFrame"),i=document.getElementById("MathJax_ZoomOverlay"),a=h.getXY(e),n=h.findContainer(e);if("visible"!==h.getOverflow(n)){i.scroll_parent=n;var s=h.getXY(n);a.x-=s.x,a.y-=s.y,s=h.getBorder(n),a.x-=s.x,a.y-=s.y}return i.style.left=-a.x+"px",i.style.top=-a.y+"px",h.msiePositionBug?setTimeout(h.SetWH,0):h.SetWH(),a},SetWH:function(){var t=document.getElementById("MathJax_ZoomOverlay");if(t){t.style.display="none";var e=t.scroll_parent||document.documentElement||document.body;t.style.width=e.scrollWidth+"px",t.style.height=Math.max(e.clientHeight,e.scrollHeight)+"px",t.style.display=""}},findContainer:function(t){for(t=t.parentNode;t.parentNode&&t!==document.body&&"visible"===h.getOverflow(t);)t=t.parentNode;return t},getOverflow:window.getComputedStyle?function(t){return getComputedStyle(t).overflow}:function(t){return(t.currentStyle||{overflow:"visible"}).overflow},getBorder:function(t){var e={thin:1,medium:2,thick:3},i=window.getComputedStyle?getComputedStyle(t):t.currentStyle||{borderLeftWidth:0,borderTopWidth:0},a=i.borderLeftWidth,n=i.borderTopWidth;return{x:a=e[a]?e[a]:parseInt(a),y:n=e[n]?e[n]:parseInt(n)}},getXY:function(t){var e,i=0,a=0;for(e=t;e.offsetParent;)i+=e.offsetLeft,e=e.offsetParent;for(h.operaPositionBug&&(t.style.border="1px solid"),e=t;e.offsetParent;)a+=e.offsetTop,e=e.offsetParent;return h.operaPositionBug&&(t.style.border=""),{x:i,y:a}},Remove:function(i){var a=document.getElementById("MathJax_ZoomFrame");if(a){var n=MathJax.OutputJax[a.previousSibling.jaxID].getJaxFromMath(a.previousSibling);if(t.signal.Post(["math unzoomed",n]),a.parentNode.removeChild(a),(a=document.getElementById("MathJax_ZoomTracker"))&&a.parentNode.removeChild(a),h.operaRefreshBug){var o=e.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(o)}window.removeEventListener?removeEventListener("resize",h.Resize,!1):window.detachEvent?detachEvent("onresize",h.Resize):(window.onresize=h.onresize,delete h.onresize)}return s(i)}};t.Browser.Select({MSIE:function(t){var e=document.documentMode||0,i=e>=9;h.msiePositionBug=!i,h.msieSizeBug=t.versionAtLeast("7.0")&&(!document.documentMode||7===e||8===e),h.msieZIndexBug=e<=7,h.msieInlineBlockAlignBug=e<=7,h.msieTrapEventBug=!window.addEventListener,"BackCompat"===document.compatMode&&(h.scrollSize=52),i&&delete l.styles["#MathJax_Zoom"].filter},Opera:function(t){h.operaPositionBug=!0,h.operaRefreshBug=!0}}),h.topImg=h.msieInlineBlockAlignBug?e.Element("img",{style:{width:0,height:0,position:"relative"},src:"about:blank"}):e.Element("span",{style:{width:0,height:0,display:"inline-block"}}),(h.operaPositionBug||h.msieTopBug)&&(h.topImg.style.border="1px solid"),MathJax.Callback.Queue(["StartupHook",MathJax.Hub.Register,"Begin Styles",{}],["Styles",i,l.styles],["Post",t.Startup.signal,"MathZoom Ready"],["loadComplete",i,"[MathJax]/extensions/MathZoom.js"])}(MathJax.Hub,MathJax.HTML,MathJax.Ajax,MathJax.OutputJax["HTML-CSS"],MathJax.OutputJax.NativeMML),function(t,e,i,a,n){var s="2.7.9",o=MathJax.Callback.Signal("menu");MathJax.Extension.MathMenu={version:s,signal:o};var r,l,h,u=function(t){return MathJax.Localization._.apply(MathJax.Localization,[["MathMenu",t]].concat([].slice.call(arguments,1)))},d=MathJax.Object.isArray,c=t.Browser.isPC,m=t.Browser.isMSIE,p=(document.documentMode||0)>8,f=c?null:"5px",M=t.CombineConfig("MathMenu",{delay:150,showRenderer:!0,showMathPlayer:!0,showFontMenu:!1,showContext:!1,showDiscoverable:!1,showLocale:!0,showLocaleURL:!1,semanticsAnnotations:{TeX:["TeX","LaTeX","application/x-tex"],StarMath:["StarMath 5.0"],Maple:["Maple"],ContentMathML:["MathML-Content","application/mathml-content+xml"],OpenMath:["OpenMath"]},windowSettings:{status:"no",toolbar:"no",locationbar:"no",menubar:"no",directories:"no",personalbar:"no",resizable:"yes",scrollbars:"yes",width:400,height:300,left:Math.round((screen.width-400)/2),top:Math.round((screen.height-300)/3)},styles:{"#MathJax_About":{position:"fixed",left:"50%",width:"auto","text-align":"center",border:"3px outset",padding:"1em 2em","background-color":"#DDDDDD",color:"black",cursor:"default","font-family":"message-box","font-size":"120%","font-style":"normal","text-indent":0,"text-transform":"none","line-height":"normal","letter-spacing":"normal","word-spacing":"normal","word-wrap":"normal","white-space":"nowrap",float:"none","z-index":201,"border-radius":"15px","-webkit-border-radius":"15px","-moz-border-radius":"15px","-khtml-border-radius":"15px","box-shadow":"0px 10px 20px #808080","-webkit-box-shadow":"0px 10px 20px #808080","-moz-box-shadow":"0px 10px 20px #808080","-khtml-box-shadow":"0px 10px 20px #808080",filter:"progid:DXImageTransform.Microsoft.dropshadow(OffX=2, OffY=2, Color='gray', Positive='true')"},"#MathJax_About.MathJax_MousePost":{outline:"none"},".MathJax_Menu":{position:"absolute","background-color":"white",color:"black",width:"auto",padding:c?"2px":"5px 0px",border:"1px solid #CCCCCC",margin:0,cursor:"default",font:"menu","text-align":"left","text-indent":0,"text-transform":"none","line-height":"normal","letter-spacing":"normal","word-spacing":"normal","word-wrap":"normal","white-space":"nowrap",float:"none","z-index":201,"border-radius":f,"-webkit-border-radius":f,"-moz-border-radius":f,"-khtml-border-radius":f,"box-shadow":"0px 10px 20px #808080","-webkit-box-shadow":"0px 10px 20px #808080","-moz-box-shadow":"0px 10px 20px #808080","-khtml-box-shadow":"0px 10px 20px #808080",filter:"progid:DXImageTransform.Microsoft.dropshadow(OffX=2, OffY=2, Color='gray', Positive='true')"},".MathJax_MenuItem":{padding:c?"2px 2em":"1px 2em",background:"transparent"},".MathJax_MenuArrow":{position:"absolute",right:".5em","padding-top":".25em",color:"#666666","font-family":m?"'Arial unicode MS'":null,"font-size":".75em"},".MathJax_MenuActive .MathJax_MenuArrow":{color:"white"},".MathJax_MenuArrow.RTL":{left:".5em",right:"auto"},".MathJax_MenuCheck":{position:"absolute",left:".7em","font-family":m?"'Arial unicode MS'":null},".MathJax_MenuCheck.RTL":{right:".7em",left:"auto"},".MathJax_MenuRadioCheck":{position:"absolute",left:c?"1em":".7em"},".MathJax_MenuRadioCheck.RTL":{right:c?"1em":".7em",left:"auto"},".MathJax_MenuLabel":{padding:c?"2px 2em 4px 1.33em":"1px 2em 3px 1.33em","font-style":"italic"},".MathJax_MenuRule":{"border-top":c?"1px solid #CCCCCC":"1px solid #DDDDDD",margin:c?"4px 1px 0px":"4px 3px"},".MathJax_MenuDisabled":{color:"GrayText"},".MathJax_MenuActive":{"background-color":c?"Highlight":"#606872",color:c?"HighlightText":"white"},".MathJax_MenuDisabled:focus, .MathJax_MenuLabel:focus":{"background-color":"#E8E8E8"},".MathJax_ContextMenu:focus":{outline:"none"},".MathJax_ContextMenu .MathJax_MenuItem:focus":{outline:"none"},"#MathJax_AboutClose":{top:".2em",right:".2em"},".MathJax_Menu .MathJax_MenuClose":{top:"-10px",left:"-10px"},".MathJax_MenuClose":{position:"absolute",cursor:"pointer",display:"inline-block",border:"2px solid #AAA","border-radius":"18px","-webkit-border-radius":"18px","-moz-border-radius":"18px","-khtml-border-radius":"18px","font-family":"'Courier New',Courier","font-size":"24px",color:"#F0F0F0"},".MathJax_MenuClose span":{display:"block","background-color":"#AAA",border:"1.5px solid","border-radius":"18px","-webkit-border-radius":"18px","-moz-border-radius":"18px","-khtml-border-radius":"18px","line-height":0,padding:"8px 0 6px"},".MathJax_MenuClose:hover":{color:"white!important",border:"2px solid #CCC!important"},".MathJax_MenuClose:hover span":{"background-color":"#CCC!important"},".MathJax_MenuClose:hover:focus":{outline:"none"}}});t.Register.StartupHook("MathEvents Ready",(function(){r=MathJax.Extension.MathEvents.Event.False,l=MathJax.Extension.MathEvents.Hover,h=MathJax.Extension.MathEvents.Event.KEY}));var g=MathJax.Object.Subclass({Keydown:function(t,e){switch(t.keyCode){case h.ESCAPE:this.Remove(t,e);break;case h.RIGHT:this.Right(t,e);break;case h.LEFT:this.Left(t,e);break;case h.UP:this.Up(t,e);break;case h.DOWN:this.Down(t,e);break;case h.RETURN:case h.SPACE:this.Space(t,e);break;default:return}return r(t)},Escape:function(t,e){},Right:function(t,e){},Left:function(t,e){},Up:function(t,e){},Down:function(t,e){},Space:function(t,e){}},{}),x=MathJax.Menu=g.Subclass({version:s,items:[],posted:!1,title:null,margin:5,Init:function(t){this.items=[].slice.call(arguments,0)},With:function(e){return e&&t.Insert(this,e),this},Post:function(t,i,a){t||(t=window.event||{});var n=document.getElementById("MathJax_MenuFrame");n||(n=x.Background(this),delete b.lastItem,delete b.lastMenu,delete x.skipUp,o.Post(["post",x.jax]),x.isRTL="rtl"===MathJax.Localization.fontDirection());var s=e.Element("div",{onmouseup:x.Mouseup,ondblclick:r,ondragstart:r,onselectstart:r,oncontextmenu:r,menuItem:this,className:"MathJax_Menu",onkeydown:x.Keydown,role:"menu"});"contextmenu"!==t.type&&"mouseover"!==t.type||(s.className+=" MathJax_ContextMenu"),a||MathJax.Localization.setCSS(s);for(var l=0,h=this.items.length;l<h;l++)this.items[l].Create(s);x.isMobile&&e.addElement(s,"span",{className:"MathJax_MenuClose",menu:i,ontouchstart:x.Close,ontouchend:r,onmousedown:x.Close,onmouseup:r},[["span",{},"×"]]),n.appendChild(s),this.posted=!0,s.offsetWidth&&(s.style.width=s.offsetWidth+2+"px");var u=t.pageX,d=t.pageY,m=document.body.getBoundingClientRect(),p=window.getComputedStyle?window.getComputedStyle(document.body):{marginLeft:"0px"},f=m.right-Math.min(0,m.left)+parseFloat(p.marginLeft);if(u||d||!("clientX"in t)||(u=t.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,d=t.clientY+document.body.scrollTop+document.documentElement.scrollTop),i){var g="left",v=i.offsetWidth;for(u=x.isMobile?30:v-2,d=0;i&&i!==n;)u+=i.offsetLeft,d+=i.offsetTop,i=i.parentNode;x.isMobile||(x.isRTL&&u-v-s.offsetWidth>this.margin||!x.isRTL&&u+s.offsetWidth>f-this.margin)&&(g="right",u=Math.max(this.margin,u-v-s.offsetWidth+6)),c||(s.style["borderRadiusTop"+g]=0,s.style["WebkitBorderRadiusTop"+g]=0,s.style["MozBorderRadiusTop"+g]=0,s.style["KhtmlBorderRadiusTop"+g]=0)}else{var T=x.CurrentNode()||t.target;if(("keydown"===t.type||!u&&!d)&&T){var y=window.pageXOffset||document.documentElement.scrollLeft,C=window.pageYOffset||document.documentElement.scrollTop,L=T.getBoundingClientRect();u=(L.right+L.left)/2+y,d=(L.bottom+L.top)/2+C}u+s.offsetWidth>f-this.margin&&(u=f-s.offsetWidth-this.margin),x.isMobile&&(u=Math.max(5,u-Math.floor(s.offsetWidth/2)),d-=20),x.skipUp=t.isContextMenu}s.style.left=u+"px",s.style.top=d+"px",document.selection&&document.selection.empty&&document.selection.empty();var E=window.pageXOffset||document.documentElement.scrollLeft,S=window.pageYOffset||document.documentElement.scrollTop;return x.Focus(s),"keydown"===t.type&&(x.skipMouseoverFromKey=!0,setTimeout((function(){delete x.skipMouseoverFromKey}),M.delay)),window.scrollTo(E,S),r(t)},Remove:function(t,e){o.Post(["unpost",x.jax]);var i=document.getElementById("MathJax_MenuFrame");return i&&(i.parentNode.removeChild(i),this.msieFixedPositionBug&&detachEvent("onresize",x.Resize)),x.jax.hover&&(delete x.jax.hover.nofade,l.UnHover(x.jax)),x.Unfocus(e),"mousedown"===t.type&&x.CurrentNode().blur(),r(t)},Find:function(t){return this.FindN(1,t,[].slice.call(arguments,1))},FindId:function(t){return this.FindN(0,t,[].slice.call(arguments,1))},FindN:function(t,e,i){for(var a=0,n=this.items.length;a<n;a++)if(this.items[a].name[t]===e)return i.length?this.items[a].submenu?this.items[a].submenu.FindN(t,i[0],i.slice(1)):null:this.items[a];return null},IndexOf:function(t){return this.IndexOfN(1,t)},IndexOfId:function(t){return this.IndexOfN(0,t)},IndexOfN:function(t,e){for(var i=0,a=this.items.length;i<a;i++)if(this.items[i].name[t]===e)return i;return null},Right:function(t,e){x.Right(t,e)},Left:function(t,e){x.Left(t,e)},Up:function(t,e){var i=e.lastChild;i.menuItem.Activate(t,i)},Down:function(t,e){var i=e.firstChild;i.menuItem.Activate(t,i)},Space:function(t,e){this.Remove(t,e)}},{config:M,Remove:function(t){return x.Event(t,this,"Remove")},Mouseover:function(t){return x.Event(t,this,"Mouseover")},Mouseout:function(t){return x.Event(t,this,"Mouseout")},Mousedown:function(t){return x.Event(t,this,"Mousedown")},Mouseup:function(t){return x.Event(t,this,"Mouseup")},Keydown:function(t){return x.Event(t,this,"Keydown")},Touchstart:function(t){return x.Event(t,this,"Touchstart")},Touchend:function(t){return x.Event(t,this,"Touchend")},Close:function(t){return x.Event(t,this.menu||this.parentNode,this.menu?"Touchend":"Remove")},Event:function(t,e,i,a){if(x.skipMouseover&&"Mouseover"===i&&!a)return r(t);if(x.skipMouseoverFromKey&&"Mouseover"===i)return delete x.skipMouseoverFromKey,r(t);if(x.skipUp){if(i.match(/Mouseup|Touchend/))return delete x.skipUp,r(t);("Touchstart"===i||"Mousedown"===i&&!x.skipMousedown)&&delete x.skipUp}t||(t=window.event);var n=e.menuItem;return n&&n[i]?n[i](t,e):null},BGSTYLE:{position:"absolute",left:0,top:0,"z-index":200,width:"100%",height:"100%",border:0,padding:0,margin:0},Background:function(t){var i=e.addElement(document.body,"div",{style:this.BGSTYLE,id:"MathJax_MenuFrame"},[["div",{style:this.BGSTYLE,menuItem:t,onmousedown:this.Remove}]]),a=i.firstChild;return x.msieBackgroundBug&&(a.style.backgroundColor="white",a.style.filter="alpha(opacity=0)"),x.msieFixedPositionBug?(i.width=i.height=0,this.Resize(),attachEvent("onresize",this.Resize)):a.style.position="fixed",i},Resize:function(){setTimeout(x.SetWH,0)},SetWH:function(){var t=document.getElementById("MathJax_MenuFrame");t&&((t=t.firstChild).style.width=t.style.height="1px",t.style.width=document.body.scrollWidth+"px",t.style.height=document.body.scrollHeight+"px")},posted:!1,active:null,GetNode:function(t){var e=document.getElementById(t.inputID+"-Frame");return e.isMathJax?e:e.firstChild},CurrentNode:function(){return x.GetNode(x.jax)},AllNodes:function(){for(var t,e=MathJax.Hub.getAllJax(),i=[],a=0;t=e[a];a++)i.push(x.GetNode(t));return i},ActiveNode:function(){return x.active},FocusNode:function(t){x.active=t,t.focus()},Focus:function(t){x.posted?x.ActiveNode().tabIndex=-1:x.Activate(t),t.tabIndex=0,x.FocusNode(t)},Activate:function(t,e){x.UnsetTabIndex(),x.posted=!0},Unfocus:function(){x.ActiveNode().tabIndex=-1,x.SetTabIndex(),x.FocusNode(x.CurrentNode()),x.posted=!1},MoveHorizontal:function(t,e,i){if(t.shiftKey){var a=x.AllNodes(),n=a.length;if(0!==n){var s=a[x.Mod(i(x.IndexOf(a,x.CurrentNode())),n)];s!==x.CurrentNode()&&(x.menu.Remove(t,e),x.jax=MathJax.Hub.getJaxFor(s),x.FocusNode(s),x.menu.Post(null))}}},Right:function(t,e){x.MoveHorizontal(t,e,(function(t){return t+1}))},Left:function(t,e){x.MoveHorizontal(t,e,(function(t){return t-1}))},UnsetTabIndex:function(){for(var t,e=x.AllNodes(),i=0;t=e[i];i++)t.tabIndex>0&&(t.oldTabIndex=t.tabIndex),t.tabIndex=-1},SetTabIndex:function(){for(var e,i=x.AllNodes(),a=0;e=i[a];a++)void 0!==e.oldTabIndex?(e.tabIndex=e.oldTabIndex,delete e.oldTabIndex):e.tabIndex=t.getTabOrder(e)},Mod:function(t,e){return(t%e+e)%e},IndexOf:Array.prototype.indexOf?function(t,e,i){return t.indexOf(e,i)}:function(t,e,i){for(var a=i||0,n=t.length;a<n;a++)if(e===t[a])return a;return-1},saveCookie:function(){e.Cookie.Set("menu",this.cookie)},getCookie:function(){this.cookie=e.Cookie.Get("menu")}});MathJax.Menu.NAV=g;var b=x.ITEM=g.Subclass({name:"",node:null,menu:null,Attributes:function(e){return t.Insert({onmouseup:x.Mouseup,ondragstart:r,onselectstart:r,onselectend:r,ontouchstart:x.Touchstart,ontouchend:x.Touchend,className:"MathJax_MenuItem",role:this.role,menuItem:this},e)},Create:function(t){if(!this.hidden){var i=this.Attributes(),a=this.Label(i,t);e.addElement(t,"div",i,a)}},Name:function(){return u(this.name[0],this.name[1])},Mouseover:function(t,e){e.parentNode===x.ActiveNode().parentNode&&this.Deactivate(x.ActiveNode()),this.Activate(t,e)},Mouseout:function(t,e){this.Deactivate(e)},Mouseup:function(t,e){return this.Remove(t,e)},DeactivateSubmenus:function(t){for(var e=document.getElementById("MathJax_MenuFrame").childNodes,i=b.GetMenuNode(t).childNodes,a=0,n=i.length;a<n;a++){var s=i[a].menuItem;s&&s.submenu&&s.submenu.posted&&s!==t.menuItem&&s.Deactivate(i[a])}this.RemoveSubmenus(t,e)},RemoveSubmenus:function(t,e){for(var i=(e=e||document.getElementById("MathJax_MenuFrame").childNodes).length-1;i>=0&&b.GetMenuNode(t).menuItem!==e[i].menuItem;)e[i].menuItem.posted=!1,e[i].parentNode.removeChild(e[i]),i--},Touchstart:function(t,e){return this.TouchEvent(t,e,"Mousedown")},Touchend:function(t,e){return this.TouchEvent(t,e,"Mouseup")},TouchEvent:function(t,e,i){return this!==b.lastItem&&(b.lastMenu&&x.Event(t,b.lastMenu,"Mouseout"),x.Event(t,e,"Mouseover",!0),b.lastItem=this,b.lastMenu=e),this.nativeTouch?null:(x.Event(t,e,i),!1)},Remove:function(t,e){return(e=e.parentNode.menuItem).Remove(t,e)},With:function(e){return e&&t.Insert(this,e),this},isRTL:function(){return x.isRTL},rtlClass:function(){return this.isRTL()?" RTL":""}},{GetMenuNode:function(t){return t.parentNode}});x.ENTRY=x.ITEM.Subclass({role:"menuitem",Attributes:function(e){return e=t.Insert({onmouseover:x.Mouseover,onmouseout:x.Mouseout,onmousedown:x.Mousedown,onkeydown:x.Keydown,"aria-disabled":!!this.disabled},e),e=this.SUPER(arguments).Attributes.call(this,e),this.disabled&&(e.className+=" MathJax_MenuDisabled"),e},MoveVertical:function(t,e,i){for(var a,n=b.GetMenuNode(e),s=[],o=0,r=n.menuItem.items;a=r[o];o++)a.hidden||s.push(a);var l=x.IndexOf(s,this);if(-1!==l){var h=s.length,u=n.childNodes;do{l=x.Mod(i(l),h)}while(s[l].hidden||!u[l].role||"separator"===u[l].role);this.Deactivate(e),s[l].Activate(t,u[l])}},Up:function(t,e){this.MoveVertical(t,e,(function(t){return t-1}))},Down:function(t,e){this.MoveVertical(t,e,(function(t){return t+1}))},Right:function(t,e){this.MoveHorizontal(t,e,x.Right,!this.isRTL())},Left:function(t,e){this.MoveHorizontal(t,e,x.Left,this.isRTL())},MoveHorizontal:function(t,e,i,a){var n=b.GetMenuNode(e);if(n.menuItem===x.menu&&t.shiftKey&&i(t,e),!a){n.menuItem!==x.menu&&this.Deactivate(e);for(var s=n.previousSibling.childNodes,o=s.length;o--;){var r=s[o];if(r.menuItem.submenu&&r.menuItem.submenu===n.menuItem){x.Focus(r);break}}this.RemoveSubmenus(e)}},Space:function(t,e){this.Mouseup(t,e)},Activate:function(t,e){this.Deactivate(e),this.disabled||(e.className+=" MathJax_MenuActive"),this.DeactivateSubmenus(e),x.Focus(e)},Deactivate:function(t){t.className=t.className.replace(/ MathJax_MenuActive/,"")}}),x.ITEM.COMMAND=x.ENTRY.Subclass({action:function(){},Init:function(t,e,i){d(t)||(t=[t,t]),this.name=t,this.action=e,this.With(i)},Label:function(t,e){return[this.Name()]},Mouseup:function(t,e){return this.disabled||(this.Remove(t,e),o.Post(["command",this]),this.action.call(this,t)),r(t)}}),x.ITEM.SUBMENU=x.ENTRY.Subclass({submenu:null,marker:"►",markerRTL:"◄",Attributes:function(e){return e=t.Insert({"aria-haspopup":"true"},e),this.SUPER(arguments).Attributes.call(this,e)},Init:function(t,e){d(t)||(t=[t,t]),this.name=t;var i=1;e instanceof x.ITEM||(this.With(e),i++),this.submenu=x.apply(x,[].slice.call(arguments,i))},Label:function(t,e){return this.submenu.posted=!1,[this.Name()+" ",["span",{className:"MathJax_MenuArrow"+this.rtlClass()},[this.isRTL()?this.markerRTL:this.marker]]]},Timer:function(t,e){this.ClearTimer(),t={type:t.type,clientX:t.clientX,clientY:t.clientY},this.timer=setTimeout(a(["Mouseup",this,t,e]),M.delay)},ClearTimer:function(){this.timer&&clearTimeout(this.timer)},Touchend:function(t,e){var i=this.submenu.posted,a=this.SUPER(arguments).Touchend.apply(this,arguments);return i&&(this.Deactivate(e),delete b.lastItem,delete b.lastMenu),a},Mouseout:function(t,e){this.submenu.posted||this.Deactivate(e),this.ClearTimer()},Mouseover:function(t,e){this.Activate(t,e)},Mouseup:function(t,e){return this.disabled||(this.submenu.posted?this.DeactivateSubmenus(e):(this.ClearTimer(),this.submenu.Post(t,e,this.ltr),x.Focus(e))),r(t)},Activate:function(t,e){this.disabled||(this.Deactivate(e),e.className+=" MathJax_MenuActive"),this.submenu.posted||(this.DeactivateSubmenus(e),x.isMobile||this.Timer(t,e)),x.Focus(e)},MoveVertical:function(t,e,i){this.ClearTimer(),this.SUPER(arguments).MoveVertical.apply(this,arguments)},MoveHorizontal:function(t,e,i,a){if(a){if(!this.disabled)if(this.submenu.posted){var n=b.GetMenuNode(e).nextSibling.childNodes;n.length>0&&this.submenu.items[0].Activate(t,n[0])}else this.Activate(t,e)}else this.SUPER(arguments).MoveHorizontal.apply(this,arguments)}}),x.ITEM.RADIO=x.ENTRY.Subclass({variable:null,marker:c?"●":"✓",role:"menuitemradio",Attributes:function(e){var i=M.settings[this.variable]===this.value?"true":"false";return e=t.Insert({"aria-checked":i},e),this.SUPER(arguments).Attributes.call(this,e)},Init:function(t,e,i){d(t)||(t=[t,t]),this.name=t,this.variable=e,this.With(i),null==this.value&&(this.value=this.name[0])},Label:function(t,e){var i={className:"MathJax_MenuRadioCheck"+this.rtlClass()};return M.settings[this.variable]!==this.value&&(i={style:{display:"none"}}),[["span",i,[this.marker]]," "+this.Name()]},Mouseup:function(t,e){if(!this.disabled){for(var i=e.parentNode.childNodes,a=0,n=i.length;a<n;a++){var s=i[a].menuItem;s&&s.variable===this.variable&&(i[a].firstChild.style.display="none")}e.firstChild.display="",M.settings[this.variable]=this.value,x.cookie[this.variable]=M.settings[this.variable],x.saveCookie(),o.Post(["radio button",this])}return this.Remove(t,e),this.action&&!this.disabled&&this.action.call(x,this),r(t)}}),x.ITEM.CHECKBOX=x.ENTRY.Subclass({variable:null,marker:"✓",role:"menuitemcheckbox",Attributes:function(e){var i=M.settings[this.variable]?"true":"false";return e=t.Insert({"aria-checked":i},e),this.SUPER(arguments).Attributes.call(this,e)},Init:function(t,e,i){d(t)||(t=[t,t]),this.name=t,this.variable=e,this.With(i)},Label:function(t,e){var i={className:"MathJax_MenuCheck"+this.rtlClass()};return M.settings[this.variable]||(i={style:{display:"none"}}),[["span",i,[this.marker]]," "+this.Name()]},Mouseup:function(t,e){return this.disabled||(e.firstChild.display=M.settings[this.variable]?"none":"",M.settings[this.variable]=!M.settings[this.variable],x.cookie[this.variable]=M.settings[this.variable],x.saveCookie(),o.Post(["checkbox",this])),this.Remove(t,e),this.action&&!this.disabled&&this.action.call(x,this),r(t)}}),x.ITEM.LABEL=x.ENTRY.Subclass({role:"menuitem",Init:function(t,e){d(t)||(t=[t,t]),this.name=t,this.With(e)},Label:function(t,e){return t.className+=" MathJax_MenuLabel",[this.Name()]},Activate:function(t,e){this.Deactivate(e),x.Focus(e)},Mouseup:function(t,e){}}),x.ITEM.RULE=x.ITEM.Subclass({role:"separator",Attributes:function(e){return e=t.Insert({"aria-orientation":"vertical"},e),this.SUPER(arguments).Attributes.call(this,e)},Label:function(t,e){return t.className+=" MathJax_MenuRule",null}}),x.About=function(i){var a=x.About.GetFont(),n=x.About.GetFormat(),s=["MathJax.js v"+MathJax.fileversion,["br"]];s.push(["div",{style:{"border-top":"groove 2px",margin:".25em 0"}}]),x.About.GetJax(s,MathJax.InputJax,["InputJax","%1 Input Jax v%2"]),x.About.GetJax(s,MathJax.OutputJax,["OutputJax","%1 Output Jax v%2"]),x.About.GetJax(s,MathJax.ElementJax,["ElementJax","%1 Element Jax v%2"]),s.push(["div",{style:{"border-top":"groove 2px",margin:".25em 0"}}]),x.About.GetJax(s,MathJax.Extension,["Extension","%1 Extension v%2"],!0),s.push(["div",{style:{"border-top":"groove 2px",margin:".25em 0"}}],["center",{},[t.Browser+" v"+t.Browser.version+(n?" — "+u(n.replace(/ /g,""),n):"")]]),x.About.div=x.Background(x.About);var o=e.addElement(x.About.div,"div",{id:"MathJax_About",tabIndex:0,onkeydown:x.About.Keydown},[["b",{style:{fontSize:"120%"}},["MathJax"]]," v"+MathJax.version,["br"],u(a.replace(/ /g,""),"using "+a),["br"],["br"],["span",{style:{display:"inline-block","text-align":"left","font-size":"80%","max-height":"20em",overflow:"auto","background-color":"#E4E4E4",padding:".4em .6em",border:"1px inset"},tabIndex:0},s],["br"],["br"],["a",{href:"http://www.mathjax.org/"},["www.mathjax.org"]],["span",{className:"MathJax_MenuClose",id:"MathJax_AboutClose",onclick:x.About.Remove,onkeydown:x.About.Keydown,tabIndex:0,role:"button","aria-label":u("CloseAboutDialog","Close about MathJax dialog")},[["span",{},"×"]]]]);"mouseup"===i.type&&(o.className+=" MathJax_MousePost"),o.focus(),MathJax.Localization.setCSS(o);var r=document.documentElement||{},l=window.innerHeight||r.clientHeight||r.scrollHeight||0;x.prototype.msieAboutBug?(o.style.width="20em",o.style.position="absolute",o.style.left=Math.floor((document.documentElement.scrollWidth-o.offsetWidth)/2)+"px",o.style.top=Math.floor((l-o.offsetHeight)/3)+document.body.scrollTop+"px"):(o.style.marginLeft=Math.floor(-o.offsetWidth/2)+"px",o.style.top=Math.floor((l-o.offsetHeight)/3)+"px")},x.About.Remove=function(t){x.About.div&&(document.body.removeChild(x.About.div),delete x.About.div)},x.About.Keydown=function(t){t.keyCode!==h.ESCAPE&&("MathJax_AboutClose"!==this.id||t.keyCode!==h.SPACE&&t.keyCode!==h.RETURN)||(x.About.Remove(t),x.CurrentNode().focus(),r(t))},x.About.GetJax=function(t,e,i,a){var n=[];for(var s in e)e.hasOwnProperty(s)&&e[s]&&(a&&e[s].version||e[s].isa&&e[s].isa(e))&&n.push(u(i[0],i[1],e[s].id||s,e[s].version));n.sort();for(var o=0,r=n.length;o<r;o++)t.push(n[o],["br"]);return t},x.About.GetFont=function(){var t=MathJax.Hub.outputJax["jax/mml"][0]||{};return({SVG:"web SVG",CommonHTML:"web TeX","HTML-CSS":t.imgFonts?"image":(t.webFonts?"web":"local")+" "+t.fontInUse}[t.id]||"generic")+" fonts"},x.About.GetFormat=function(){var t=MathJax.Hub.outputJax["jax/mml"][0]||{};if("HTML-CSS"===t.id&&t.webFonts&&!t.imgFonts)return t.allowWebFonts.replace(/otf/,"woff or otf")+" fonts"},x.Help=function(t){i.Require("[MathJax]/extensions/HelpDialog.js",(function(){MathJax.Extension.Help.Dialog({type:t.type})}))},x.ShowSource=function(t){t||(t=window.event);var e={screenX:t.screenX,screenY:t.screenY};if(x.jax)if("MathML"===this.format){var n=MathJax.ElementJax.mml;if(n&&void 0!==n.mbase.prototype.toMathML)try{x.ShowSource.Text(x.jax.root.toMathML("",x.jax),t)}catch(t){if(!t.restart)throw t;a.After([this,x.ShowSource,e],t.restart)}else if(!i.loadingToMathML)return i.loadingToMathML=!0,x.ShowSource.Window(t),void a.Queue(i.Require("[MathJax]/extensions/toMathML.js"),(function(){delete i.loadingToMathML,n.mbase.prototype.toMathML||(n.mbase.prototype.toMathML=function(){})}),[this,x.ShowSource,e])}else if("Error"===this.format)x.ShowSource.Text(x.jax.errorText,t);else if(M.semanticsAnnotations[this.format]){var s=x.jax.root.getAnnotation(this.format);s.data[0]&&x.ShowSource.Text(s.data[0].toString())}else{if(null==x.jax.originalText)return void alert(u("NoOriginalForm","No original form available"));x.ShowSource.Text(x.jax.originalText,t)}},x.ShowSource.Window=function(t){if(!x.ShowSource.w){var e=[],i=M.windowSettings;for(var a in i)i.hasOwnProperty(a)&&e.push(a+"="+i[a]);x.ShowSource.w=window.open("","_blank",e.join(","))}return x.ShowSource.w},x.ShowSource.Text=function(t,e){var i=x.ShowSource.Window(e);delete x.ShowSource.w,t=(t=t.replace(/^\s*/,"").replace(/\s*$/,"")).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">");var a=u("EqSource","MathJax Equation Source");if(x.isMobile)i.document.open(),i.document.write("<html><head><meta name='viewport' content='width=device-width, initial-scale=1.0' /><title>"+a+"</title></head><body style='font-size:85%'>"),i.document.write("<pre>"+t+"</pre>"),i.document.write("<hr><input type='button' value='"+u("Close","Close")+"' onclick='window.close()' />"),i.document.write("</body></html>"),i.document.close();else{i.document.open(),i.document.write("<html><head><title>"+a+"</title></head><body style='font-size:85%'>"),i.document.write("<table><tr><td><pre>"+t+"</pre></td></tr></table>"),i.document.write("</body></html>"),i.document.close();var n=i.document.body.firstChild;setTimeout((function(){var t,a,s,o=i.outerHeight-i.innerHeight||30,r=i.outerWidth-i.innerWidth||30;r=Math.max(140,Math.min(Math.floor(.5*screen.width),n.offsetWidth+r+25)),o=Math.max(40,Math.min(Math.floor(.5*screen.height),n.offsetHeight+o+25)),x.prototype.msieHeightBug&&(o+=35),i.resizeTo(r,o);try{s=e.screenX}catch(t){}e&&null!=s&&(t=Math.max(0,Math.min(e.screenX-Math.floor(r/2),screen.width-r-20)),a=Math.max(0,Math.min(e.screenY-Math.floor(o/2),screen.height-o-20)),i.moveTo(t,a))}),50)}},x.Scale=function(){var e,i,a=["CommonHTML","HTML-CSS","SVG","NativeMML","PreviewHTML"],s=a.length,o=100;for(e=0;e<s;e++)if(i=n[a[e]]){o=i.config.scale;break}var r=prompt(u("ScaleMath","Scale all mathematics (compared to surrounding text) by"),o+"%");if(r)if(r.match(/^\s*\d+(\.\d*)?\s*%?\s*$/))if(r=parseFloat(r)){if(r!==o){for(e=0;e<s;e++)(i=n[a[e]])&&(i.config.scale=r);x.cookie.scale=t.config.scale=r,x.saveCookie(),t.Queue(["Rerender",t])}}else alert(u("NonZeroScale","The scale should not be zero"));else alert(u("PercentScale","The scale should be a percentage (e.g., 120%%)"))},x.Zoom=function(){MathJax.Extension.MathZoom||i.Require("[MathJax]/extensions/MathZoom.js")},x.Renderer=function(){var i=t.outputJax["jax/mml"];if(i[0]!==M.settings.renderer){var a,n,s=t.Browser,o=x.Renderer.Messages;switch(M.settings.renderer){case"NativeMML":M.settings.warnedMML||(s.isChrome&&"24."!==s.version.substr(0,3)||s.isSafari&&!s.versionAtLeast("5.0")?a=o.MML.WebKit:s.isMSIE?s.hasMathPlayer||(a=o.MML.MSIE):a=s.isEdge?o.MML.WebKit:o.MML[s],n="warnedMML");break;case"SVG":M.settings.warnedSVG||s.isMSIE&&!p&&(a=o.SVG.MSIE)}if(a){if(a=u(a[0],a[1]),a+="\n\n",a+=u("SwitchAnyway","Switch the renderer anyway?\n\n(Press OK to switch, CANCEL to continue with the current renderer)"),x.cookie.renderer=i[0].id,x.saveCookie(),!confirm(a))return x.cookie.renderer=M.settings.renderer=e.Cookie.Get("menu").renderer,void x.saveCookie();n&&(x.cookie.warned=M.settings.warned=!0),x.cookie.renderer=M.settings.renderer,x.saveCookie()}t.Queue(["setRenderer",t,M.settings.renderer,"jax/mml"],["Rerender",t])}},x.Renderer.Messages={MML:{WebKit:["WebkitNativeMMLWarning","Your browser doesn't seem to support MathML natively, so switching to MathML output may cause the mathematics on the page to become unreadable."],MSIE:["MSIENativeMMLWarning","Internet Explorer requires the MathPlayer plugin in order to process MathML output."],Opera:["OperaNativeMMLWarning","Opera's support for MathML is limited, so switching to MathML output may cause some expressions to render poorly."],Safari:["SafariNativeMMLWarning","Your browser's native MathML does not implement all the features used by MathJax, so some expressions may not render properly."],Firefox:["FirefoxNativeMMLWarning","Your browser's native MathML does not implement all the features used by MathJax, so some expressions may not render properly."]},SVG:{MSIE:["MSIESVGWarning","SVG is not implemented in Internet Explorer prior to IE9 or when it is emulating IE8 or below. Switching to SVG output will cause the mathematics to not display properly."]}},x.AssistiveMML=function(t,e){var a=MathJax.Extension.AssistiveMML;a?MathJax.Hub.Queue([(M.settings.assistiveMML?"Add":"Remove")+"AssistiveMathML",a]):e||i.Require("[MathJax]/extensions/AssistiveMML.js",["AssistiveMML",x,t,!0])},x.Font=function(){n["HTML-CSS"]&&document.location.reload()},x.Locale=function(){MathJax.Localization.setLocale(M.settings.locale),MathJax.Hub.Queue(["Reprocess",MathJax.Hub])},x.LoadLocale=function(){var t=prompt(u("LoadURL","Load translation data from this URL:"));t&&(t.match(/\.js$/)||alert(u("BadURL","The URL should be for a javascript file that defines MathJax translation data. Javascript file names should end with '.js'")),i.Require(t,(function(e){e!=i.STATUS.OK&&alert(u("BadData","Failed to load translation data from %1",t))})))},x.MPEvents=function(t){var e=M.settings.discoverable,i=x.MPEvents.Messages;if(p)!e&&"Menu Events"===t.name[1]&&M.settings.mpContext&&alert(u.apply(u,i.IE9warning));else{if(M.settings.mpMouse&&!confirm(u.apply(u,i.IE8warning)))return delete x.cookie.mpContext,delete M.settings.mpContext,delete x.cookie.mpMouse,delete M.settings.mpMouse,void x.saveCookie();M.settings.mpContext=M.settings.mpMouse,x.cookie.mpContext=x.cookie.mpMouse=M.settings.mpMouse,x.saveCookie(),MathJax.Hub.Queue(["Rerender",MathJax.Hub])}},x.MPEvents.Messages={IE8warning:["IE8warning","This will disable the MathJax menu and zoom features, but you can Alt-Click on an expression to obtain the MathJax menu instead.\n\nReally change the MathPlayer settings?"],IE9warning:["IE9warning","The MathJax contextual menu will be disabled, but you can Alt-Click on an expression to obtain the MathJax menu instead."]},t.Browser.Select({MSIE:function(t){var e="BackCompat"===document.compatMode,i=t.versionAtLeast("8.0")&&document.documentMode>7;x.Augment({margin:20,msieBackgroundBug:(document.documentMode||0)<9,msieFixedPositionBug:e||!i,msieAboutBug:e,msieHeightBug:(document.documentMode||0)<9}),p&&(delete M.styles["#MathJax_About"].filter,delete M.styles[".MathJax_Menu"].filter)},Firefox:function(t){x.skipMouseover=t.isMobile&&t.versionAtLeast("6.0"),x.skipMousedown=t.isMobile}}),x.isMobile=t.Browser.isMobile,x.noContextMenu=t.Browser.noContextMenu,x.CreateLocaleMenu=function(){if(x.menu){var t=x.menu.Find("Language").submenu,e=t.items,i=[],a=MathJax.Localization.strings;for(var n in a)a.hasOwnProperty(n)&&i.push(n);i=i.sort(),t.items=[];for(var s=0,o=i.length;s<o;s++){var r=a[i[s]].menuTitle;r?r+=" ("+i[s]+")":r=i[s],t.items.push(b.RADIO([i[s],r],"locale",{action:x.Locale}))}t.items.push(e[e.length-2],e[e.length-1])}},x.CreateAnnotationMenu=function(){if(x.menu){var t=x.menu.Find("Show Math As","Annotation").submenu,e=M.semanticsAnnotations;for(var i in e)e.hasOwnProperty(i)&&t.items.push(b.COMMAND([i,i],x.ShowSource,{hidden:!0,nativeTouch:!0,format:i}))}},t.Register.StartupHook("End Config",(function(){var e,i;M.settings=t.config.menuSettings,void 0!==M.settings.showRenderer&&(M.showRenderer=M.settings.showRenderer),void 0!==M.settings.showFontMenu&&(M.showFontMenu=M.settings.showFontMenu),void 0!==M.settings.showContext&&(M.showContext=M.settings.showContext),x.getCookie(),x.menu=x(b.SUBMENU(["Show","Show Math As"],b.COMMAND(["MathMLcode","MathML Code"],x.ShowSource,{nativeTouch:!0,format:"MathML"}),b.COMMAND(["Original","Original Form"],x.ShowSource,{nativeTouch:!0}),b.SUBMENU(["Annotation","Annotation"],{disabled:!0}),b.RULE(),b.CHECKBOX(["texHints","Show TeX hints in MathML"],"texHints"),b.CHECKBOX(["semantics","Add original form as annotation"],"semantics")),b.RULE(),b.SUBMENU(["Settings","Math Settings"],b.SUBMENU(["ZoomTrigger","Zoom Trigger"],b.RADIO(["Hover","Hover"],"zoom",{action:x.Zoom}),b.RADIO(["Click","Click"],"zoom",{action:x.Zoom}),b.RADIO(["DoubleClick","Double-Click"],"zoom",{action:x.Zoom}),b.RADIO(["NoZoom","No Zoom"],"zoom",{value:"None"}),b.RULE(),b.LABEL(["TriggerRequires","Trigger Requires:"]),b.CHECKBOX(t.Browser.isMac?["Option","Option"]:["Alt","Alt"],"ALT"),b.CHECKBOX(["Command","Command"],"CMD",{hidden:!t.Browser.isMac}),b.CHECKBOX(["Control","Control"],"CTRL",{hidden:t.Browser.isMac}),b.CHECKBOX(["Shift","Shift"],"Shift")),b.SUBMENU(["ZoomFactor","Zoom Factor"],b.RADIO("125%","zscale"),b.RADIO("133%","zscale"),b.RADIO("150%","zscale"),b.RADIO("175%","zscale"),b.RADIO("200%","zscale"),b.RADIO("250%","zscale"),b.RADIO("300%","zscale"),b.RADIO("400%","zscale")),b.RULE(),b.SUBMENU(["Renderer","Math Renderer"],{hidden:!M.showRenderer},b.RADIO(["HTML-CSS","HTML-CSS"],"renderer",{action:x.Renderer}),b.RADIO(["CommonHTML","Common HTML"],"renderer",{action:x.Renderer,value:"CommonHTML"}),b.RADIO(["PreviewHTML","Preview HTML"],"renderer",{action:x.Renderer,value:"PreviewHTML"}),b.RADIO(["MathML","MathML"],"renderer",{action:x.Renderer,value:"NativeMML"}),b.RADIO(["SVG","SVG"],"renderer",{action:x.Renderer}),b.RADIO(["PlainSource","Plain Source"],"renderer",{action:x.Renderer,value:"PlainSource"}),b.RULE(),b.CHECKBOX(["FastPreview","Fast Preview"],"FastPreview")),b.SUBMENU("MathPlayer",{hidden:!t.Browser.isMSIE||!M.showMathPlayer,disabled:!t.Browser.hasMathPlayer},b.LABEL(["MPHandles","Let MathPlayer Handle:"]),b.CHECKBOX(["MenuEvents","Menu Events"],"mpContext",{action:x.MPEvents,hidden:!p}),b.CHECKBOX(["MouseEvents","Mouse Events"],"mpMouse",{action:x.MPEvents,hidden:!p}),b.CHECKBOX(["MenuAndMouse","Mouse and Menu Events"],"mpMouse",{action:x.MPEvents,hidden:p})),b.SUBMENU(["FontPrefs","Font Preference"],{hidden:!M.showFontMenu},b.LABEL(["ForHTMLCSS","For HTML-CSS:"]),b.RADIO(["Auto","Auto"],"font",{action:x.Font}),b.RULE(),b.RADIO(["TeXLocal","TeX (local)"],"font",{action:x.Font}),b.RADIO(["TeXWeb","TeX (web)"],"font",{action:x.Font}),b.RADIO(["TeXImage","TeX (image)"],"font",{action:x.Font}),b.RULE(),b.RADIO(["STIXLocal","STIX (local)"],"font",{action:x.Font}),b.RADIO(["STIXWeb","STIX (web)"],"font",{action:x.Font}),b.RULE(),b.RADIO(["AsanaMathWeb","Asana Math (web)"],"font",{action:x.Font}),b.RADIO(["GyrePagellaWeb","Gyre Pagella (web)"],"font",{action:x.Font}),b.RADIO(["GyreTermesWeb","Gyre Termes (web)"],"font",{action:x.Font}),b.RADIO(["LatinModernWeb","Latin Modern (web)"],"font",{action:x.Font}),b.RADIO(["NeoEulerWeb","Neo Euler (web)"],"font",{action:x.Font})),b.SUBMENU(["ContextMenu","Contextual Menu"],{hidden:!M.showContext},b.RADIO(["MathJax","MathJax"],"context"),b.RADIO(["Browser","Browser"],"context")),b.COMMAND(["Scale","Scale All Math ..."],x.Scale),b.RULE().With({hidden:!M.showDiscoverable,name:["","discover_rule"]}),b.CHECKBOX(["Discoverable","Highlight on Hover"],"discoverable",{hidden:!M.showDiscoverable})),b.SUBMENU(["Accessibility","Accessibility"],b.CHECKBOX(["AssistiveMML","Assistive MathML"],"assistiveMML",{action:x.AssistiveMML}),b.CHECKBOX(["InTabOrder","Include in Tab Order"],"inTabOrder")),b.SUBMENU(["Locale","Language"],{hidden:!M.showLocale,ltr:!0},b.RADIO("en","locale",{action:x.Locale}),b.RULE().With({hidden:!M.showLocaleURL,name:["","localURL_rule"]}),b.COMMAND(["LoadLocale","Load from URL ..."],x.LoadLocale,{hidden:!M.showLocaleURL})),b.RULE(),b.COMMAND(["About","About MathJax"],x.About),b.COMMAND(["Help","MathJax Help"],x.Help)),x.isMobile&&(e=M.settings,(i=x.menu.Find("Math Settings","Zoom Trigger").submenu).items[0].disabled=i.items[1].disabled=!0,"Hover"!==e.zoom&&"Click"!=e.zoom||(e.zoom="None"),i.items=i.items.slice(0,4),navigator.appVersion.match(/[ (]Android[) ]/)&&x.ITEM.SUBMENU.Augment({marker:"»"})),x.CreateLocaleMenu(),x.CreateAnnotationMenu()})),x.showRenderer=function(t){x.cookie.showRenderer=M.showRenderer=t,x.saveCookie(),x.menu.Find("Math Settings","Math Renderer").hidden=!t},x.showMathPlayer=function(t){x.cookie.showMathPlayer=M.showMathPlayer=t,x.saveCookie(),x.menu.Find("Math Settings","MathPlayer").hidden=!t},x.showFontMenu=function(t){x.cookie.showFontMenu=M.showFontMenu=t,x.saveCookie(),x.menu.Find("Math Settings","Font Preference").hidden=!t},x.showContext=function(t){x.cookie.showContext=M.showContext=t,x.saveCookie(),x.menu.Find("Math Settings","Contextual Menu").hidden=!t},x.showDiscoverable=function(t){x.cookie.showDiscoverable=M.showDiscoverable=t,x.saveCookie(),x.menu.Find("Math Settings","Highlight on Hover").hidden=!t,x.menu.Find("Math Settings","discover_rule").hidden=!t},x.showLocale=function(t){x.cookie.showLocale=M.showLocale=t,x.saveCookie(),x.menu.Find("Language").hidden=!t},MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",(function(){MathJax.OutputJax["HTML-CSS"].config.imageFont||(x.menu.Find("Math Settings","Font Preference","TeX (image)").disabled=!0)})),a.Queue(t.Register.StartupHook("End Config",{}),["Styles",i,M.styles],["Post",t.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:"2.7.9",directory:MathJax.ElementJax.directory+"/mml",extensionDir:MathJax.ElementJax.extensionDir+"/mml",optableDir:MathJax.ElementJax.directory+"/mml/optable"}),MathJax.ElementJax.mml.Augment({Init:function(){if(1===arguments.length&&"math"===arguments[0].type?this.root=arguments[0]:this.root=MathJax.ElementJax.mml.math.apply(this,arguments),this.root.attr&&this.root.attr.mode){this.root.display||"display"!==this.root.attr.mode||(this.root.display="block",this.root.attrNames.push("display")),delete this.root.attr.mode;for(var t=0,e=this.root.attrNames.length;t<e;t++)if("mode"===this.root.attrNames[t]){this.root.attrNames.splice(t,1);break}}}},{INHERIT:"_inherit_",AUTO:"_auto_",SIZE:{INFINITY:"infinity",SMALL:"small",NORMAL:"normal",BIG:"big"},COLOR:{TRANSPARENT:"transparent"},VARIANT:{NORMAL:"normal",BOLD:"bold",ITALIC:"italic",BOLDITALIC:"bold-italic",DOUBLESTRUCK:"double-struck",FRAKTUR:"fraktur",BOLDFRAKTUR:"bold-fraktur",SCRIPT:"script",BOLDSCRIPT:"bold-script",SANSSERIF:"sans-serif",BOLDSANSSERIF:"bold-sans-serif",SANSSERIFITALIC:"sans-serif-italic",SANSSERIFBOLDITALIC:"sans-serif-bold-italic",MONOSPACE:"monospace",INITIAL:"initial",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",UPDIAGONALARROW:"updiagonalarrow",VERTICALSTRIKE:"verticalstrike",HORIZONTALSTRIKE:"horizontalstrike",PHASORANGLE:"phasorangle",MADRUWB:"madruwb"},ALIGN:{TOP:"top",BOTTOM:"bottom",CENTER:"center",BASELINE:"baseline",AXIS:"axis",LEFT:"left",RIGHT:"right"},LINES:{NONE:"none",SOLID:"solid",DASHED:"dashed"},SIDE:{LEFT:"left",RIGHT:"right",LEFTOVERLAP:"leftoverlap",RIGHTOVERLAP:"rightoverlap"},WIDTH:{AUTO:"auto",FIT:"fit"},ACTIONTYPE:{TOGGLE:"toggle",STATUSLINE:"statusline",TOOLTIP:"tooltip",INPUT:"input"},LENGTH:{VERYVERYTHINMATHSPACE:"veryverythinmathspace",VERYTHINMATHSPACE:"verythinmathspace",THINMATHSPACE:"thinmathspace",MEDIUMMATHSPACE:"mediummathspace",THICKMATHSPACE:"thickmathspace",VERYTHICKMATHSPACE:"verythickmathspace",VERYVERYTHICKMATHSPACE:"veryverythickmathspace",NEGATIVEVERYVERYTHINMATHSPACE:"negativeveryverythinmathspace",NEGATIVEVERYTHINMATHSPACE:"negativeverythinmathspace",NEGATIVETHINMATHSPACE:"negativethinmathspace",NEGATIVEMEDIUMMATHSPACE:"negativemediummathspace",NEGATIVETHICKMATHSPACE:"negativethickmathspace",NEGATIVEVERYTHICKMATHSPACE:"negativeverythickmathspace",NEGATIVEVERYVERYTHICKMATHSPACE:"negativeveryverythickmathspace"},OVERFLOW:{LINBREAK:"linebreak",SCROLL:"scroll",ELIDE:"elide",TRUNCATE:"truncate",SCALE:"scale"},UNIT:{EM:"em",EX:"ex",PX:"px",IN:"in",CM:"cm",MM:"mm",PT:"pt",PC:"pc"},TEXCLASS:{ORD:0,OP:1,BIN:2,REL:3,OPEN:4,CLOSE:5,PUNCT:6,INNER:7,VCENTER:8,NONE:-1},TEXCLASSNAMES:["ORD","OP","BIN","REL","OPEN","CLOSE","PUNCT","INNER","VCENTER"],skipAttributes:{texClass:!0,useHeight:!0,texprimestyle:!0},copyAttributes:{displaystyle:1,scriptlevel:1,open:1,close:1,form:1,actiontype:1,fontfamily:!0,fontsize:!0,fontweight:!0,fontstyle:!0,color:!0,background:!0,id:!0,class:1,href:!0,style:!0},copyAttributeNames:["displaystyle","scriptlevel","open","close","form","actiontype","fontfamily","fontsize","fontweight","fontstyle","color","background","id","class","href","style"],nocopyAttributes:{fontfamily:!0,fontsize:!0,fontweight:!0,fontstyle:!0,color:!0,background:!0,id:!0,class:!0,href:!0,style:!0,xmlns:!0},Error:function(t,e){var i=this.merror(t),a=MathJax.Localization.fontDirection(),n=MathJax.Localization.fontFamily();return e&&(i=i.With(e)),(a||n)&&(i=this.mstyle(i),a&&(i.dir=a),n&&(i.style.fontFamily="font-family: "+n)),i}}),function(t){t.mbase=MathJax.Object.Subclass({type:"base",isToken:!1,defaults:{mathbackground:t.INHERIT,mathcolor:t.INHERIT,dir:t.INHERIT},noInherit:{},noInheritAttribute:{texClass:!0},getRemoved:{},linebreakContainer:!1,Init:function(){this.data=[],!this.inferRow||1===arguments.length&&arguments[0].inferred||this.Append(t.mrow().With({inferred:!0,notParent:!0})),this.Append.apply(this,arguments)},With:function(t){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);return this},Append:function(){if(this.inferRow&&this.data.length)this.data[0].Append.apply(this.data[0],arguments);else for(var t=0,e=arguments.length;t<e;t++)this.SetData(this.data.length,arguments[t])},SetData:function(e,i){null!=i&&(i instanceof t.mbase||(i=this.isToken||this.isChars?t.chars(i):t.mtext(i)),i.parent=this,i.setInherit(this.inheritFromMe?this:this.inherit)),this.data[e]=i},Parent:function(){for(var t=this.parent;t&&t.notParent;)t=t.parent;return t},Get:function(e,i,a){if(!a){if(null!=this[e])return this[e];if(this.attr&&null!=this.attr[e])return this.attr[e]}var n=this.Parent();if(n&&null!=n["adjustChild_"+e])return n["adjustChild_"+e](this.childPosition(),i);for(var s=this.inherit,o=s;s;){var r=s[e];if(null==r&&s.attr&&(r=s.attr[e]),s.removedStyles&&s.getRemoved[e]&&null==r&&(r=s.removedStyles[s.getRemoved[e]]),null!=r&&s.noInheritAttribute&&!s.noInheritAttribute[e]){var l=s.noInherit[this.type];if(!l||!l[e])return r}o=s,s=s.inherit}if(!i){if(this.defaults[e]===t.AUTO)return this.autoDefault(e);if(this.defaults[e]!==t.INHERIT&&null!=this.defaults[e])return this.defaults[e];if(o)return o.defaults[e]}return null},hasValue:function(t){return null!=this.Get(t,!0)},getValues:function(){for(var t={},e=0,i=arguments.length;e<i;e++)t[arguments[e]]=this.Get(arguments[e]);return t},adjustChild_scriptlevel:function(t,e){return this.Get("scriptlevel",e)},adjustChild_displaystyle:function(t,e){return this.Get("displaystyle",e)},adjustChild_texprimestyle:function(t,e){return this.Get("texprimestyle",e)},hasMMLspacing:function(){return!1},childPosition:function(){for(var t=this,e=t.parent;e.notParent;)e=(t=e).parent;for(var i=0,a=e.data.length;i<a;i++)if(e.data[i]===t)return i;return null},setInherit:function(t){if(t!==this.inherit&&null==this.inherit){this.inherit=t;for(var e=0,i=this.data.length;e<i;e++)this.data[e]&&this.data[e].setInherit&&this.data[e].setInherit(t)}},setTeXclass:function(t){return this.getPrevClass(t),void 0!==this.texClass?this:t},getPrevClass:function(t){t&&(this.prevClass=t.Get("texClass"),this.prevLevel=t.Get("scriptlevel"))},updateTeXclass:function(t){t&&(this.prevClass=t.prevClass,delete t.prevClass,this.prevLevel=t.prevLevel,delete t.prevLevel,this.texClass=t.Get("texClass"))},texSpacing:function(){var e=null!=this.prevClass?this.prevClass:t.TEXCLASS.NONE,i=this.Get("texClass")||t.TEXCLASS.ORD;if(e===t.TEXCLASS.NONE||i===t.TEXCLASS.NONE)return"";e===t.TEXCLASS.VCENTER&&(e=t.TEXCLASS.ORD),i===t.TEXCLASS.VCENTER&&(i=t.TEXCLASS.ORD);var a=this.TEXSPACE[e][i];return(this.prevLevel>0||this.Get("scriptlevel")>0)&&a>=0?"":this.TEXSPACELENGTH[Math.abs(a)]},TEXSPACELENGTH:["",t.LENGTH.THINMATHSPACE,t.LENGTH.MEDIUMMATHSPACE,t.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(t){return""},isSpacelike:function(){return!1},isEmbellished:function(){return!1},Core:function(){return this},CoreMO:function(){return this},childIndex:function(t){if(null!=t)for(var e=0,i=this.data.length;e<i;e++)if(t===this.data[e])return e},CoreIndex:function(){return(this.inferRow&&this.data[0]||this).childIndex(this.Core())},hasNewline:function(){if(this.isEmbellished())return this.CoreMO().hasNewline();if(this.isToken||this.linebreakContainer)return!1;for(var t=0,e=this.data.length;t<e;t++)if(this.data[t]&&this.data[t].hasNewline())return!0;return!1},array:function(){return this.inferred?this.data:[this]},toString:function(){return this.type+"("+this.data.join(",")+")"},getAnnotation:function(){return null}},{childrenSpacelike:function(){for(var t=0,e=this.data.length;t<e;t++)if(!this.data[t].isSpacelike())return!1;return!0},childEmbellished:function(){return this.data[0]&&this.data[0].isEmbellished()},childCore:function(){return this.inferRow&&this.data[0]?this.data[0].Core():this.data[0]},childCoreMO:function(){return this.data[0]?this.data[0].CoreMO():null},setChildTeXclass:function(t){return this.data[0]&&(t=this.data[0].setTeXclass(t),this.updateTeXclass(this.data[0])),t},setBaseTeXclasses:function(e){this.getPrevClass(e),this.texClass=null,this.data[0]?this.isEmbellished()||this.data[0].isa(t.mi)?(e=this.data[0].setTeXclass(e),this.updateTeXclass(this.Core())):(this.data[0].setTeXclass(),e=this):e=this;for(var i=1,a=this.data.length;i<a;i++)this.data[i]&&this.data[i].setTeXclass();return e},setSeparateTeXclasses:function(t){this.getPrevClass(t);for(var e=0,i=this.data.length;e<i;e++)this.data[e]&&this.data[e].setTeXclass();return this.isEmbellished()&&this.updateTeXclass(this.Core()),this}}),t.mi=t.mbase.Subclass({type:"mi",isToken:!0,texClass:t.TEXCLASS.ORD,defaults:{mathvariant:t.AUTO,mathsize:t.INHERIT,mathbackground:t.INHERIT,mathcolor:t.INHERIT,dir:t.INHERIT},autoDefault:function(e){if("mathvariant"===e){var i=(this.data[0]||"").toString();return 1===i.length||2===i.length&&i.charCodeAt(0)>=55296&&i.charCodeAt(0)<56320?t.VARIANT.ITALIC:t.VARIANT.NORMAL}return""},setTeXclass:function(e){this.getPrevClass(e);var i=this.data.join("");return i.length>1&&i.match(/^[a-z][a-z0-9]*$/i)&&this.texClass===t.TEXCLASS.ORD&&(this.texClass=t.TEXCLASS.OP,this.autoOP=!0),this}}),t.mn=t.mbase.Subclass({type:"mn",isToken:!0,texClass:t.TEXCLASS.ORD,defaults:{mathvariant:t.INHERIT,mathsize:t.INHERIT,mathbackground:t.INHERIT,mathcolor:t.INHERIT,dir:t.INHERIT}}),t.mo=t.mbase.Subclass({type:"mo",isToken:!0,defaults:{mathvariant:t.INHERIT,mathsize:t.INHERIT,mathbackground:t.INHERIT,mathcolor:t.INHERIT,dir:t.INHERIT,form:t.AUTO,fence:t.AUTO,separator:t.AUTO,lspace:t.AUTO,rspace:t.AUTO,stretchy:t.AUTO,symmetric:t.AUTO,maxsize:t.AUTO,minsize:t.AUTO,largeop:t.AUTO,movablelimits:t.AUTO,accent:t.AUTO,linebreak:t.LINEBREAK.AUTO,lineleading:t.INHERIT,linebreakstyle:t.AUTO,linebreakmultchar:t.INHERIT,indentalign:t.INHERIT,indentshift:t.INHERIT,indenttarget:t.INHERIT,indentalignfirst:t.INHERIT,indentshiftfirst:t.INHERIT,indentalignlast:t.INHERIT,indentshiftlast:t.INHERIT,texClass:t.AUTO},defaultDef:{form:t.FORM.INFIX,fence:!1,separator:!1,lspace:t.LENGTH.THICKMATHSPACE,rspace:t.LENGTH.THICKMATHSPACE,stretchy:!1,symmetric:!1,maxsize:t.SIZE.INFINITY,minsize:"0em",largeop:!1,movablelimits:!1,accent:!1,linebreak:t.LINEBREAK.AUTO,lineleading:"1ex",linebreakstyle:"before",indentalign:t.INDENTALIGN.AUTO,indentshift:"0",indenttarget:"",indentalignfirst:t.INDENTALIGN.INDENTALIGN,indentshiftfirst:t.INDENTSHIFT.INDENTSHIFT,indentalignlast:t.INDENTALIGN.INDENTALIGN,indentshiftlast:t.INDENTSHIFT.INDENTSHIFT,texClass:t.TEXCLASS.REL},SPACE_ATTR:{lspace:1,rspace:2},useMMLspacing:3,hasMMLspacing:function(){return!!this.useMMLspacing||this.form&&(this.OPTABLE[this.form]||{})[this.data.join("")]},autoDefault:function(e,i){var a=this.def;if(!a){if("form"===e)return this.getForm();for(var n=this.data.join(""),s=[this.Get("form"),t.FORM.INFIX,t.FORM.POSTFIX,t.FORM.PREFIX],o=0,r=s.length;o<r;o++){var l=this.OPTABLE[s[o]][n];if(l){a=this.makeDef(l);break}}a||(a=this.CheckRange(n)),!a&&i?a={}:(a||(a=MathJax.Hub.Insert({},this.defaultDef)),this.parent?this.def=a:a=MathJax.Hub.Insert({},a),a.form=s[0])}return this.useMMLspacing&=~(this.SPACE_ATTR[e]||0),null!=a[e]?a[e]:i?"":this.defaultDef[e]},CheckRange:function(e){var i=e.charCodeAt(0);i>=55296&&i<56320&&(i=(i-55296<<10)+(e.charCodeAt(1)-56320)+65536);for(var a=0,n=this.RANGES.length;a<n&&this.RANGES[a][0]<=i;a++)if(i<=this.RANGES[a][1]){if(this.RANGES[a][3]){var s=t.optableDir+"/"+this.RANGES[a][3]+".js";this.RANGES[a][3]=null,MathJax.Hub.RestartAfter(MathJax.Ajax.Require(s))}var o=t.TEXCLASSNAMES[this.RANGES[a][2]];return o=this.OPTABLE.infix[e]=t.mo.OPTYPES["BIN"===o?"BIN3":o],this.makeDef(o)}return null},makeDef:function(e){null==e[2]&&(e[2]=this.defaultDef.texClass),e[3]||(e[3]={});var i=MathJax.Hub.Insert({},e[3]);return i.lspace=this.SPACE[e[0]],i.rspace=this.SPACE[e[1]],i.texClass=e[2],i.texClass===t.TEXCLASS.REL&&(this.movablelimits||this.data.join("").match(/^[a-z]+$/i))&&(i.texClass=t.TEXCLASS.OP),i},getForm:function(){for(var e=this,i=this.parent,a=this.Parent();a&&a.isEmbellished();)e=i,i=a.parent,a=a.Parent();if(i&&"mrow"===i.type&&1!==i.NonSpaceLength()){if(i.FirstNonSpace()===e)return t.FORM.PREFIX;if(i.LastNonSpace()===e)return t.FORM.POSTFIX}return t.FORM.INFIX},isEmbellished:function(){return!0},hasNewline:function(){return this.Get("linebreak")===t.LINEBREAK.NEWLINE},CoreParent:function(){for(var e=this;e&&e.isEmbellished()&&e.CoreMO()===this&&!e.isa(t.math);)e=e.Parent();return e},CoreText:function(e){if(!e)return"";if(e.isEmbellished())return e.CoreMO().data.join("");for(;((e.isa(t.mrow)||e.isa(t.TeXAtom)||e.isa(t.mstyle)||e.isa(t.mphantom))&&1===e.data.length||e.isa(t.munderover))&&e.data[0];)e=e.data[0];return e.isToken?e.data.join(""):""},remapChars:{"*":"∗",'"':"″","°":"∘","²":"2","³":"3","´":"′","¹":"1"},remap:function(t,e){return t=t.replace(/-/g,"−"),e&&1===(t=t.replace(/'/g,"′").replace(/`/g,"‵")).length&&(t=e[t]||t),t},setTeXclass:function(e){var i=this.getValues("form","lspace","rspace","fence");return this.hasMMLspacing()?(this.texClass=t.TEXCLASS.NONE,this):(i.fence&&!this.texClass&&(i.form===t.FORM.PREFIX&&(this.texClass=t.TEXCLASS.OPEN),i.form===t.FORM.POSTFIX&&(this.texClass=t.TEXCLASS.CLOSE)),this.texClass=this.Get("texClass"),""===this.data.join("")?(e&&(e.texClass=t.TEXCLASS.OP,e.fnOP=!0),this.texClass=this.prevClass=t.TEXCLASS.NONE,e):this.adjustTeXclass(e))},adjustTeXclass:function(e){if(this.texClass===t.TEXCLASS.NONE)return e;if(e?(!e.autoOP||this.texClass!==t.TEXCLASS.BIN&&this.texClass!==t.TEXCLASS.REL||(e.texClass=t.TEXCLASS.ORD),this.prevClass=e.texClass||t.TEXCLASS.ORD,this.prevLevel=e.Get("scriptlevel")):this.prevClass=t.TEXCLASS.NONE,this.texClass!==t.TEXCLASS.BIN||this.prevClass!==t.TEXCLASS.NONE&&this.prevClass!==t.TEXCLASS.BIN&&this.prevClass!==t.TEXCLASS.OP&&this.prevClass!==t.TEXCLASS.REL&&this.prevClass!==t.TEXCLASS.OPEN&&this.prevClass!==t.TEXCLASS.PUNCT)if(this.prevClass!==t.TEXCLASS.BIN||this.texClass!==t.TEXCLASS.REL&&this.texClass!==t.TEXCLASS.CLOSE&&this.texClass!==t.TEXCLASS.PUNCT){if(this.texClass===t.TEXCLASS.BIN){for(var i=this,a=this.parent;a&&a.parent&&a.isEmbellished()&&(1===a.data.length||"mrow"!==a.type&&a.Core()===i);)i=a,a=a.parent;a.data[a.data.length-1]===i&&(this.texClass=t.TEXCLASS.ORD)}}else e.texClass=this.prevClass=t.TEXCLASS.ORD;else this.texClass=t.TEXCLASS.ORD;return this}}),t.mtext=t.mbase.Subclass({type:"mtext",isToken:!0,isSpacelike:function(){return!0},texClass:t.TEXCLASS.ORD,defaults:{mathvariant:t.INHERIT,mathsize:t.INHERIT,mathbackground:t.INHERIT,mathcolor:t.INHERIT,dir:t.INHERIT}}),t.mspace=t.mbase.Subclass({type:"mspace",isToken:!0,isSpacelike:function(){return!0},defaults:{mathbackground:t.INHERIT,mathcolor:t.INHERIT,width:"0em",height:"0ex",depth:"0ex",linebreak:t.LINEBREAK.AUTO},hasDimAttr:function(){return this.hasValue("width")||this.hasValue("height")||this.hasValue("depth")},hasNewline:function(){return!this.hasDimAttr()&&this.Get("linebreak")===t.LINEBREAK.NEWLINE}}),t.ms=t.mbase.Subclass({type:"ms",isToken:!0,texClass:t.TEXCLASS.ORD,defaults:{mathvariant:t.INHERIT,mathsize:t.INHERIT,mathbackground:t.INHERIT,mathcolor:t.INHERIT,dir:t.INHERIT,lquote:'"',rquote:'"'}}),t.mglyph=t.mbase.Subclass({type:"mglyph",isToken:!0,texClass:t.TEXCLASS.ORD,defaults:{mathbackground:t.INHERIT,mathcolor:t.INHERIT,alt:"",src:"",width:t.AUTO,height:t.AUTO,valign:"0em"}}),t.mrow=t.mbase.Subclass({type:"mrow",isSpacelike:t.mbase.childrenSpacelike,inferred:!1,notParent:!1,isEmbellished:function(){for(var t=!1,e=0,i=this.data.length;e<i;e++)if(null!=this.data[e])if(this.data[e].isEmbellished()){if(t)return!1;t=!0,this.core=e}else if(!this.data[e].isSpacelike())return!1;return t},NonSpaceLength:function(){for(var t=0,e=0,i=this.data.length;e<i;e++)this.data[e]&&!this.data[e].isSpacelike()&&t++;return t},FirstNonSpace:function(){for(var t=0,e=this.data.length;t<e;t++)if(this.data[t]&&!this.data[t].isSpacelike())return this.data[t];return null},LastNonSpace:function(){for(var t=this.data.length-1;t>=0;t--)if(this.data[0]&&!this.data[t].isSpacelike())return this.data[t];return null},Core:function(){return this.isEmbellished()&&void 0!==this.core?this.data[this.core]:this},CoreMO:function(){return this.isEmbellished()&&void 0!==this.core?this.data[this.core].CoreMO():this},toString:function(){return this.inferred?"["+this.data.join(",")+"]":this.SUPER(arguments).toString.call(this)},setTeXclass:function(e){var i,a=this.data.length;if(!this.open&&!this.close||e&&e.fnOP){for(i=0;i<a;i++)this.data[i]&&(e=this.data[i].setTeXclass(e));return this.data[0]&&this.updateTeXclass(this.data[0]),e}for(this.getPrevClass(e),e=null,i=0;i<a;i++)this.data[i]&&(e=this.data[i].setTeXclass(e));return this.hasOwnProperty("texClass")||(this.texClass=t.TEXCLASS.INNER),this},getAnnotation:function(t){return 1!=this.data.length?null:this.data[0].getAnnotation(t)}}),t.mfrac=t.mbase.Subclass({type:"mfrac",num:0,den:1,linebreakContainer:!0,isEmbellished:t.mbase.childEmbellished,Core:t.mbase.childCore,CoreMO:t.mbase.childCoreMO,defaults:{mathbackground:t.INHERIT,mathcolor:t.INHERIT,linethickness:t.LINETHICKNESS.MEDIUM,numalign:t.ALIGN.CENTER,denomalign:t.ALIGN.CENTER,bevelled:!1},adjustChild_displaystyle:function(t){return!1},adjustChild_scriptlevel:function(t){var e=this.Get("scriptlevel");return(!this.Get("displaystyle")||e>0)&&e++,e},adjustChild_texprimestyle:function(t){return t==this.den||this.Get("texprimestyle")},setTeXclass:t.mbase.setSeparateTeXclasses}),t.msqrt=t.mbase.Subclass({type:"msqrt",inferRow:!0,linebreakContainer:!0,texClass:t.TEXCLASS.ORD,setTeXclass:t.mbase.setSeparateTeXclasses,adjustChild_texprimestyle:function(t){return!0}}),t.mroot=t.mbase.Subclass({type:"mroot",linebreakContainer:!0,texClass:t.TEXCLASS.ORD,adjustChild_displaystyle:function(t){return 1!==t&&this.Get("displaystyle")},adjustChild_scriptlevel:function(t){var e=this.Get("scriptlevel");return 1===t&&(e+=2),e},adjustChild_texprimestyle:function(t){return 0===t||this.Get("texprimestyle")},setTeXclass:t.mbase.setSeparateTeXclasses}),t.mstyle=t.mbase.Subclass({type:"mstyle",isSpacelike:t.mbase.childrenSpacelike,isEmbellished:t.mbase.childEmbellished,Core:t.mbase.childCore,CoreMO:t.mbase.childCoreMO,inferRow:!0,defaults:{scriptlevel:t.INHERIT,displaystyle:t.INHERIT,scriptsizemultiplier:Math.sqrt(.5),scriptminsize:"8pt",mathbackground:t.INHERIT,mathcolor:t.INHERIT,dir:t.INHERIT,infixlinebreakstyle:t.LINEBREAKSTYLE.BEFORE,decimalseparator:"."},adjustChild_scriptlevel:function(t){var e=this.scriptlevel;return null==e?e=this.Get("scriptlevel"):String(e).match(/^ *[-+]/)&&(e=this.Get("scriptlevel",null,!0)+parseInt(e)),e},inheritFromMe:!0,noInherit:{mpadded:{width:!0,height:!0,depth:!0,lspace:!0,voffset:!0},mtable:{width:!0,height:!0,depth:!0,align:!0}},getRemoved:{fontfamily:"fontFamily",fontweight:"fontWeight",fontstyle:"fontStyle",fontsize:"fontSize"},setTeXclass:t.mbase.setChildTeXclass}),t.merror=t.mbase.Subclass({type:"merror",inferRow:!0,linebreakContainer:!0,texClass:t.TEXCLASS.ORD}),t.mpadded=t.mbase.Subclass({type:"mpadded",inferRow:!0,isSpacelike:t.mbase.childrenSpacelike,isEmbellished:t.mbase.childEmbellished,Core:t.mbase.childCore,CoreMO:t.mbase.childCoreMO,defaults:{mathbackground:t.INHERIT,mathcolor:t.INHERIT,width:"",height:"",depth:"",lspace:0,voffset:0},setTeXclass:t.mbase.setChildTeXclass}),t.mphantom=t.mbase.Subclass({type:"mphantom",texClass:t.TEXCLASS.ORD,inferRow:!0,isSpacelike:t.mbase.childrenSpacelike,isEmbellished:t.mbase.childEmbellished,Core:t.mbase.childCore,CoreMO:t.mbase.childCoreMO,setTeXclass:t.mbase.setChildTeXclass}),t.mfenced=t.mbase.Subclass({type:"mfenced",defaults:{mathbackground:t.INHERIT,mathcolor:t.INHERIT,open:"(",close:")",separators:","},addFakeNodes:function(){var e=this.getValues("open","close","separators");if(e.open=e.open.replace(/[ \t\n\r]/g,""),e.close=e.close.replace(/[ \t\n\r]/g,""),e.separators=e.separators.replace(/[ \t\n\r]/g,""),""!==e.open&&this.SetData("open",t.mo(e.open).With({fence:!0,form:t.FORM.PREFIX,texClass:t.TEXCLASS.OPEN})),""!==e.separators){for(;e.separators.length<this.data.length;)e.separators+=e.separators.charAt(e.separators.length-1);for(var i=1,a=this.data.length;i<a;i++)this.data[i]&&this.SetData("sep"+i,t.mo(e.separators.charAt(i-1)).With({separator:!0}))}""!==e.close&&this.SetData("close",t.mo(e.close).With({fence:!0,form:t.FORM.POSTFIX,texClass:t.TEXCLASS.CLOSE}))},texClass:t.TEXCLASS.OPEN,setTeXclass:function(e){this.addFakeNodes(),this.getPrevClass(e),this.data.open&&(e=this.data.open.setTeXclass(e)),this.data[0]&&(e=this.data[0].setTeXclass(e));for(var i=1,a=this.data.length;i<a;i++)this.data["sep"+i]&&(e=this.data["sep"+i].setTeXclass(e)),this.data[i]&&(e=this.data[i].setTeXclass(e));return this.data.close&&(e=this.data.close.setTeXclass(e)),this.updateTeXclass(this.data.open),this.texClass=t.TEXCLASS.INNER,e}}),t.menclose=t.mbase.Subclass({type:"menclose",inferRow:!0,linebreakContainer:!0,defaults:{mathbackground:t.INHERIT,mathcolor:t.INHERIT,notation:t.NOTATION.LONGDIV,texClass:t.TEXCLASS.ORD},setTeXclass:t.mbase.setSeparateTeXclasses}),t.msubsup=t.mbase.Subclass({type:"msubsup",base:0,sub:1,sup:2,isEmbellished:t.mbase.childEmbellished,Core:t.mbase.childCore,CoreMO:t.mbase.childCoreMO,defaults:{mathbackground:t.INHERIT,mathcolor:t.INHERIT,subscriptshift:"",superscriptshift:"",texClass:t.AUTO},autoDefault:function(e){return"texClass"===e?this.isEmbellished()?this.CoreMO().Get(e):t.TEXCLASS.ORD:0},adjustChild_displaystyle:function(t){return!(t>0)&&this.Get("displaystyle")},adjustChild_scriptlevel:function(t){var e=this.Get("scriptlevel");return t>0&&e++,e},adjustChild_texprimestyle:function(t){return t===this.sub||this.Get("texprimestyle")},setTeXclass:t.mbase.setBaseTeXclasses}),t.msub=t.msubsup.Subclass({type:"msub"}),t.msup=t.msubsup.Subclass({type:"msup",sub:2,sup:1}),t.mmultiscripts=t.msubsup.Subclass({type:"mmultiscripts",adjustChild_texprimestyle:function(t){return t%2==1||this.Get("texprimestyle")}}),t.mprescripts=t.mbase.Subclass({type:"mprescripts"}),t.none=t.mbase.Subclass({type:"none"}),t.munderover=t.mbase.Subclass({type:"munderover",base:0,under:1,over:2,sub:1,sup:2,ACCENTS:["","accentunder","accent"],linebreakContainer:!0,isEmbellished:t.mbase.childEmbellished,Core:t.mbase.childCore,CoreMO:t.mbase.childCoreMO,defaults:{mathbackground:t.INHERIT,mathcolor:t.INHERIT,accent:t.AUTO,accentunder:t.AUTO,align:t.ALIGN.CENTER,texClass:t.AUTO,subscriptshift:"",superscriptshift:""},autoDefault:function(e){return"texClass"===e?this.isEmbellished()?this.CoreMO().Get(e):t.TEXCLASS.ORD:"accent"===e&&this.data[this.over]?this.data[this.over].CoreMO().Get("accent"):!("accentunder"!==e||!this.data[this.under])&&this.data[this.under].CoreMO().Get("accent")},adjustChild_displaystyle:function(t){return!(t>0)&&this.Get("displaystyle")},adjustChild_scriptlevel:function(t){var e=this.Get("scriptlevel"),i=this.data[this.base]&&!this.Get("displaystyle")&&this.data[this.base].CoreMO().Get("movablelimits");return t!=this.under||!i&&this.Get("accentunder")||e++,t!=this.over||!i&&this.Get("accent")||e++,e},adjustChild_texprimestyle:function(t){return!(t!==this.base||!this.data[this.over])||this.Get("texprimestyle")},setTeXclass:t.mbase.setBaseTeXclasses}),t.munder=t.munderover.Subclass({type:"munder"}),t.mover=t.munderover.Subclass({type:"mover",over:1,under:2,sup:1,sub:2,ACCENTS:["","accent","accentunder"]}),t.mtable=t.mbase.Subclass({type:"mtable",defaults:{mathbackground:t.INHERIT,mathcolor:t.INHERIT,align:t.ALIGN.AXIS,rowalign:t.ALIGN.BASELINE,columnalign:t.ALIGN.CENTER,groupalign:"{left}",alignmentscope:!0,columnwidth:t.WIDTH.AUTO,width:t.WIDTH.AUTO,rowspacing:"1ex",columnspacing:".8em",rowlines:t.LINES.NONE,columnlines:t.LINES.NONE,frame:t.LINES.NONE,framespacing:"0.4em 0.5ex",equalrows:!1,equalcolumns:!1,displaystyle:!1,side:t.SIDE.RIGHT,minlabelspacing:"0.8em",texClass:t.TEXCLASS.ORD,useHeight:1},adjustChild_displaystyle:function(){return null!=this.displaystyle?this.displaystyle:this.defaults.displaystyle},inheritFromMe:!0,noInherit:{mover:{align:!0},munder:{align:!0},munderover:{align:!0},mtable:{align:!0,rowalign:!0,columnalign:!0,groupalign:!0,alignmentscope:!0,columnwidth:!0,width:!0,rowspacing:!0,columnspacing:!0,rowlines:!0,columnlines:!0,frame:!0,framespacing:!0,equalrows:!0,equalcolumns:!0,displaystyle:!0,side:!0,minlabelspacing:!0,texClass:!0,useHeight:1}},linebreakContainer:!0,Append:function(){for(var e=0,i=arguments.length;e<i;e++)arguments[e]instanceof t.mtr||arguments[e]instanceof t.mlabeledtr||(arguments[e]=t.mtr(arguments[e]));this.SUPER(arguments).Append.apply(this,arguments)},setTeXclass:t.mbase.setSeparateTeXclasses}),t.mtr=t.mbase.Subclass({type:"mtr",defaults:{mathbackground:t.INHERIT,mathcolor:t.INHERIT,rowalign:t.INHERIT,columnalign:t.INHERIT,groupalign:t.INHERIT},inheritFromMe:!0,noInherit:{mrow:{rowalign:!0,columnalign:!0,groupalign:!0},mtable:{rowalign:!0,columnalign:!0,groupalign:!0}},linebreakContainer:!0,Append:function(){for(var e=0,i=arguments.length;e<i;e++)arguments[e]instanceof t.mtd||(arguments[e]=t.mtd(arguments[e]));this.SUPER(arguments).Append.apply(this,arguments)},setTeXclass:t.mbase.setSeparateTeXclasses}),t.mtd=t.mbase.Subclass({type:"mtd",inferRow:!0,linebreakContainer:!0,isEmbellished:t.mbase.childEmbellished,Core:t.mbase.childCore,CoreMO:t.mbase.childCoreMO,defaults:{mathbackground:t.INHERIT,mathcolor:t.INHERIT,rowspan:1,columnspan:1,rowalign:t.INHERIT,columnalign:t.INHERIT,groupalign:t.INHERIT},setTeXclass:t.mbase.setSeparateTeXclasses}),t.maligngroup=t.mbase.Subclass({type:"maligngroup",isSpacelike:function(){return!0},defaults:{mathbackground:t.INHERIT,mathcolor:t.INHERIT,groupalign:t.INHERIT},inheritFromMe:!0,noInherit:{mrow:{groupalign:!0},mtable:{groupalign:!0}}}),t.malignmark=t.mbase.Subclass({type:"malignmark",defaults:{mathbackground:t.INHERIT,mathcolor:t.INHERIT,edge:t.SIDE.LEFT},isSpacelike:function(){return!0}}),t.mlabeledtr=t.mtr.Subclass({type:"mlabeledtr"}),t.maction=t.mbase.Subclass({type:"maction",defaults:{mathbackground:t.INHERIT,mathcolor:t.INHERIT,actiontype:t.ACTIONTYPE.TOGGLE,selection:1},selected:function(){return this.data[this.Get("selection")-1]||t.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(e){this.Get("actiontype")===t.ACTIONTYPE.TOOLTIP&&this.data[1]&&this.data[1].setTeXclass();var i=this.selected();return e=i.setTeXclass(e),this.updateTeXclass(i),e}}),t.semantics=t.mbase.Subclass({type:"semantics",notParent:!0,isEmbellished:t.mbase.childEmbellished,Core:t.mbase.childCore,CoreMO:t.mbase.childCoreMO,defaults:{definitionURL:null,encoding:null},setTeXclass:t.mbase.setChildTeXclass,getAnnotation:function(t){var e=MathJax.Hub.config.MathMenu.semanticsAnnotations[t];if(e)for(var i=0,a=this.data.length;i<a;i++){var n=this.data[i].Get("encoding");if(n)for(var s=0,o=e.length;s<o;s++)if(e[s]===n)return this.data[i]}return null}}),t.annotation=t.mbase.Subclass({type:"annotation",isChars:!0,linebreakContainer:!0,defaults:{definitionURL:null,encoding:null,cd:"mathmlkeys",name:"",src:null}}),t["annotation-xml"]=t.mbase.Subclass({type:"annotation-xml",linebreakContainer:!0,defaults:{definitionURL:null,encoding:null,cd:"mathmlkeys",name:"",src:null}}),t.math=t.mstyle.Subclass({type:"math",defaults:{mathvariant:t.VARIANT.NORMAL,mathsize:t.SIZE.NORMAL,mathcolor:"",mathbackground:t.COLOR.TRANSPARENT,dir:"ltr",scriptlevel:0,displaystyle:t.AUTO,display:"inline",maxwidth:"",overflow:t.OVERFLOW.LINEBREAK,altimg:"","altimg-width":"","altimg-height":"","altimg-valign":"",alttext:"",cdgroup:"",scriptsizemultiplier:Math.sqrt(.5),scriptminsize:"8px",infixlinebreakstyle:t.LINEBREAKSTYLE.BEFORE,lineleading:"1ex",indentshift:"auto",indentalign:t.INDENTALIGN.AUTO,indentalignfirst:t.INDENTALIGN.INDENTALIGN,indentshiftfirst:t.INDENTSHIFT.INDENTSHIFT,indentalignlast:t.INDENTALIGN.INDENTALIGN,indentshiftlast:t.INDENTSHIFT.INDENTSHIFT,decimalseparator:".",texprimestyle:!1},autoDefault:function(t){return"displaystyle"===t?"block"===this.Get("display"):""},linebreakContainer:!0,setTeXclass:t.mbase.setChildTeXclass,getAnnotation:function(t){return 1!=this.data.length?null:this.data[0].getAnnotation(t)}}),t.chars=t.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("")}}),t.entity=t.mbase.Subclass({type:"entity",Append:function(){this.data.push.apply(this.data,arguments)},value:function(){return"#x"===this.data[0].substr(0,2)?parseInt(this.data[0].substr(2),16):"#"===this.data[0].substr(0,1)?parseInt(this.data[0].substr(1)):0},toString:function(){var t=this.value();return t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode(55296+(t>>10))+String.fromCharCode(56320+(1023&t)))}}),t.xml=t.mbase.Subclass({type:"xml",Init:function(){return this.div=document.createElement("div"),this.SUPER(arguments).Init.apply(this,arguments)},Append:function(){for(var t=0,e=arguments.length;t<e;t++){var i=this.Import(arguments[t]);this.data.push(i),this.div.appendChild(i)}},Import:function(t){if(document.importNode)return document.importNode(t,!0);var e,i,a;if(1===t.nodeType){for(e=document.createElement(t.nodeName),i=0,a=t.attributes.length;i<a;i++){var n=t.attributes[i];n.specified&&null!=n.nodeValue&&""!=n.nodeValue&&e.setAttribute(n.nodeName,n.nodeValue),"style"===n.nodeName&&(e.style.cssText=n.nodeValue)}t.className&&(e.className=t.className)}else if(3===t.nodeType||4===t.nodeType)e=document.createTextNode(t.nodeValue);else{if(8!==t.nodeType)return document.createTextNode("");e=document.createComment(t.nodeValue)}for(i=0,a=t.childNodes.length;i<a;i++)e.appendChild(this.Import(t.childNodes[i]));return e},value:function(){return this.div},toString:function(){return this.div.innerHTML}}),t.TeXAtom=t.mbase.Subclass({type:"texatom",linebreakContainer:!0,inferRow:!0,notParent:!0,texClass:t.TEXCLASS.ORD,Core:t.mbase.childCore,CoreMO:t.mbase.childCoreMO,isEmbellished:t.mbase.childEmbellished,setTeXclass:function(t){return this.data[0].setTeXclass(),this.adjustTeXclass(t)},adjustTeXclass:t.mo.prototype.adjustTeXclass}),t.NULL=t.mbase().With({type:"null"});var e=t.TEXCLASS,i={ORD:[0,0,e.ORD],ORD11:[1,1,e.ORD],ORD21:[2,1,e.ORD],ORD02:[0,2,e.ORD],ORD55:[5,5,e.ORD],OP:[1,2,e.OP,{largeop:!0,movablelimits:!0,symmetric:!0}],OPFIXED:[1,2,e.OP,{largeop:!0,movablelimits:!0}],INTEGRAL:[0,1,e.OP,{largeop:!0,symmetric:!0}],INTEGRAL2:[1,2,e.OP,{largeop:!0,symmetric:!0}],BIN3:[3,3,e.BIN],BIN4:[4,4,e.BIN],BIN01:[0,1,e.BIN],BIN5:[5,5,e.BIN],TALLBIN:[4,4,e.BIN,{stretchy:!0}],BINOP:[4,4,e.BIN,{largeop:!0,movablelimits:!0}],REL:[5,5,e.REL],REL1:[1,1,e.REL,{stretchy:!0}],REL4:[4,4,e.REL],RELSTRETCH:[5,5,e.REL,{stretchy:!0}],RELACCENT:[5,5,e.REL,{accent:!0}],WIDEREL:[5,5,e.REL,{accent:!0,stretchy:!0}],OPEN:[0,0,e.OPEN,{fence:!0,stretchy:!0,symmetric:!0}],CLOSE:[0,0,e.CLOSE,{fence:!0,stretchy:!0,symmetric:!0}],INNER:[0,0,e.INNER],PUNCT:[0,3,e.PUNCT],ACCENT:[0,0,e.ORD,{accent:!0}],WIDEACCENT:[0,0,e.ORD,{accent:!0,stretchy:!0}]};t.mo.Augment({SPACE:["0em","0.1111em","0.1667em","0.2222em","0.2667em","0.3333em"],RANGES:[[32,127,e.REL,"BasicLatin"],[160,255,e.ORD,"Latin1Supplement"],[256,383,e.ORD],[384,591,e.ORD],[688,767,e.ORD,"SpacingModLetters"],[768,879,e.ORD,"CombDiacritMarks"],[880,1023,e.ORD,"GreekAndCoptic"],[7680,7935,e.ORD],[8192,8303,e.PUNCT,"GeneralPunctuation"],[8304,8351,e.ORD],[8352,8399,e.ORD],[8400,8447,e.ORD,"CombDiactForSymbols"],[8448,8527,e.ORD,"LetterlikeSymbols"],[8528,8591,e.ORD],[8592,8703,e.REL,"Arrows"],[8704,8959,e.BIN,"MathOperators"],[8960,9215,e.ORD,"MiscTechnical"],[9312,9471,e.ORD],[9472,9631,e.ORD],[9632,9727,e.ORD,"GeometricShapes"],[9984,10175,e.ORD,"Dingbats"],[10176,10223,e.ORD,"MiscMathSymbolsA"],[10224,10239,e.REL,"SupplementalArrowsA"],[10496,10623,e.REL,"SupplementalArrowsB"],[10624,10751,e.ORD,"MiscMathSymbolsB"],[10752,11007,e.BIN,"SuppMathOperators"],[11008,11263,e.ORD,"MiscSymbolsAndArrows"],[119808,120831,e.ORD]],OPTABLE:{prefix:{"∀":i.ORD21,"∂":i.ORD21,"∃":i.ORD21,"∇":i.ORD21,"∏":i.OP,"∐":i.OP,"∑":i.OP,"−":i.BIN01,"∓":i.BIN01,"√":[1,1,e.ORD,{stretchy:!0}],"∠":i.ORD,"∫":i.INTEGRAL,"∮":i.INTEGRAL,"⋀":i.OP,"⋁":i.OP,"⋂":i.OP,"⋃":i.OP,"⌈":i.OPEN,"⌊":i.OPEN,"⟨":i.OPEN,"⟮":i.OPEN,"⨀":i.OP,"⨁":i.OP,"⨂":i.OP,"⨄":i.OP,"⨆":i.OP,"¬":i.ORD21,"±":i.BIN01,"(":i.OPEN,"+":i.BIN01,"-":i.BIN01,"[":i.OPEN,"{":i.OPEN,"|":i.OPEN},postfix:{"!":[1,0,e.CLOSE],"&":i.ORD,"′":i.ORD02,"‾":i.WIDEACCENT,"⌉":i.CLOSE,"⌋":i.CLOSE,"⏞":i.WIDEACCENT,"⏟":i.WIDEACCENT,"♭":i.ORD02,"♮":i.ORD02,"♯":i.ORD02,"⟩":i.CLOSE,"⟯":i.CLOSE,ˆ:i.WIDEACCENT,ˇ:i.WIDEACCENT,ˉ:i.WIDEACCENT,ˊ:i.ACCENT,ˋ:i.ACCENT,"˘":i.ACCENT,"˙":i.ACCENT,"˜":i.WIDEACCENT,"̂":i.WIDEACCENT,"¨":i.ACCENT,"¯":i.WIDEACCENT,")":i.CLOSE,"]":i.CLOSE,"^":i.WIDEACCENT,_:i.WIDEACCENT,"`":i.ACCENT,"|":i.CLOSE,"}":i.CLOSE,"~":i.WIDEACCENT},infix:{"":i.ORD,"%":[3,3,e.ORD],"•":i.BIN4,"…":i.INNER,"⁄":i.TALLBIN,"":i.ORD,"":i.ORD,"":[0,0,e.ORD,{linebreakstyle:"after",separator:!0}],"":i.ORD,"←":i.WIDEREL,"↑":i.RELSTRETCH,"→":i.WIDEREL,"↓":i.RELSTRETCH,"↔":i.WIDEREL,"↕":i.RELSTRETCH,"↖":i.RELSTRETCH,"↗":i.RELSTRETCH,"↘":i.RELSTRETCH,"↙":i.RELSTRETCH,"↦":i.WIDEREL,"↩":i.WIDEREL,"↪":i.WIDEREL,"↼":i.WIDEREL,"↽":i.WIDEREL,"⇀":i.WIDEREL,"⇁":i.WIDEREL,"⇌":i.WIDEREL,"⇐":i.WIDEREL,"⇑":i.RELSTRETCH,"⇒":i.WIDEREL,"⇓":i.RELSTRETCH,"⇔":i.WIDEREL,"⇕":i.RELSTRETCH,"∈":i.REL,"∉":i.REL,"∋":i.REL,"−":i.BIN4,"∓":i.BIN4,"∕":i.TALLBIN,"∖":i.BIN4,"∗":i.BIN4,"∘":i.BIN4,"∙":i.BIN4,"∝":i.REL,"∣":i.REL,"∥":i.REL,"∧":i.BIN4,"∨":i.BIN4,"∩":i.BIN4,"∪":i.BIN4,"∼":i.REL,"≀":i.BIN4,"≃":i.REL,"≅":i.REL,"≈":i.REL,"≍":i.REL,"≐":i.REL,"≠":i.REL,"≡":i.REL,"≤":i.REL,"≥":i.REL,"≪":i.REL,"≫":i.REL,"≺":i.REL,"≻":i.REL,"⊂":i.REL,"⊃":i.REL,"⊆":i.REL,"⊇":i.REL,"⊎":i.BIN4,"⊑":i.REL,"⊒":i.REL,"⊓":i.BIN4,"⊔":i.BIN4,"⊕":i.BIN4,"⊖":i.BIN4,"⊗":i.BIN4,"⊘":i.BIN4,"⊙":i.BIN4,"⊢":i.REL,"⊣":i.REL,"⊤":i.ORD55,"⊥":i.REL,"⊨":i.REL,"⋄":i.BIN4,"⋅":i.BIN4,"⋆":i.BIN4,"⋈":i.REL,"⋮":i.ORD55,"⋯":i.INNER,"⋱":[5,5,e.INNER],"△":i.BIN4,"▵":i.BIN4,"▹":i.BIN4,"▽":i.BIN4,"▿":i.BIN4,"◃":i.BIN4,"❘":i.REL,"⟵":i.WIDEREL,"⟶":i.WIDEREL,"⟷":i.WIDEREL,"⟸":i.WIDEREL,"⟹":i.WIDEREL,"⟺":i.WIDEREL,"⟼":i.WIDEREL,"⨯":i.BIN4,"⨿":i.BIN4,"⪯":i.REL,"⪰":i.REL,"±":i.BIN4,"·":i.BIN4,"×":i.BIN4,"÷":i.BIN4,"*":i.BIN3,"+":i.BIN4,",":[0,3,e.PUNCT,{linebreakstyle:"after",separator:!0}],"-":i.BIN4,".":[3,3,e.ORD],"/":i.ORD11,":":[1,2,e.REL],";":[0,3,e.PUNCT,{linebreakstyle:"after",separator:!0}],"<":i.REL,"=":i.REL,">":i.REL,"?":[1,1,e.CLOSE],"\\":i.ORD,"^":i.ORD11,_:i.ORD11,"|":[2,2,e.ORD,{fence:!0,stretchy:!0,symmetric:!0}],"#":i.ORD,$:i.ORD,".":[0,3,e.PUNCT,{separator:!0}],ʹ:i.ORD,"̀":i.ACCENT,"́":i.ACCENT,"̃":i.WIDEACCENT,"̄":i.ACCENT,"̆":i.ACCENT,"̇":i.ACCENT,"̈":i.ACCENT,"̌":i.ACCENT,"̲":i.WIDEACCENT,"̸":i.REL4,"―":[0,0,e.ORD,{stretchy:!0}],"‗":[0,0,e.ORD,{stretchy:!0}],"†":i.BIN3,"‡":i.BIN3,"⃗":i.ACCENT,ℑ:i.ORD,ℓ:i.ORD,℘:i.ORD,ℜ:i.ORD,"∅":i.ORD,"∞":i.ORD,"⌅":i.BIN3,"⌆":i.BIN3,"⌢":i.REL4,"⌣":i.REL4,"〈":i.OPEN,"〉":i.CLOSE,"⎪":i.ORD,"⎯":[0,0,e.ORD,{stretchy:!0}],"⎰":i.OPEN,"⎱":i.CLOSE,"─":i.ORD,"◯":i.BIN3,"♠":i.ORD,"♡":i.ORD,"♢":i.ORD,"♣":i.ORD,"〈":i.OPEN,"〉":i.CLOSE,"︷":i.WIDEACCENT,"︸":i.WIDEACCENT}}},{OPTYPES:i});var a=t.mo.prototype.OPTABLE;a.infix["^"]=i.WIDEREL,a.infix._=i.WIDEREL,a.prefix["∣"]=i.OPEN,a.prefix["∥"]=i.OPEN,a.postfix["∣"]=i.CLOSE,a.postfix["∥"]=i.CLOSE}(MathJax.ElementJax.mml),MathJax.ElementJax.mml.loadComplete("jax.js"),MathJax.Hub.Register.LoadHook("[MathJax]/jax/element/mml/jax.js",(function(){var t=MathJax.ElementJax.mml,e=MathJax.Hub.config.menuSettings;t.mbase.Augment({toMathML:function(t){var e=this.inferred&&this.parent.inferRow;null==t&&(t="");var i=this.type,a=this.toMathMLattributes();if("mspace"===i)return t+"<"+i+a+" />";for(var n=[],s=this.isToken?"":t+(e?"":" "),o=0,r=this.data.length;o<r;o++)this.data[o]?n.push(this.data[o].toMathML(s)):this.isToken||this.isChars||n.push(s+"<mrow />");return this.isToken||this.isChars?t+"<"+i+a+">"+n.join("")+"</"+i+">":e?n.join("\n"):0===n.length||1===n.length&&""===n[0]?t+"<"+i+a+" />":t+"<"+i+a+">\n"+n.join("\n")+"\n"+t+"</"+i+">"},toMathMLattributes:function(){var e="mstyle"===this.type?t.math.prototype.defaults:this.defaults,i=this.attrNames||t.copyAttributeNames,a=t.skipAttributes,n=t.copyAttributes,s=[];if("math"!==this.type||this.attr&&"xmlns"in this.attr||s.push('xmlns="http://www.w3.org/1998/Math/MathML"'),!this.attrNames)for(var o in e)a[o]||n[o]||!e.hasOwnProperty(o)||null!=this[o]&&this[o]!==e[o]&&this.Get(o,null,1)!==this[o]&&s.push(o+'="'+this.toMathMLattribute(this[o])+'"');for(var r=0,l=i.length;r<l;r++)(1!==n[i[r]]||e.hasOwnProperty(i[r]))&&(value=(this.attr||{})[i[r]],null==value&&(value=this[i[r]]),null!=value&&s.push(i[r]+'="'+this.toMathMLquote(value)+'"'));return this.toMathMLclass(s),s.length?" "+s.join(" "):""},toMathMLclass:function(i){var a=[];if(this.class&&a.push(this.class),this.isa(t.TeXAtom)&&e.texHints){var n=["ORD","OP","BIN","REL","OPEN","CLOSE","PUNCT","INNER","VCENTER"][this.texClass];n&&(a.push("MJX-TeXAtom-"+n),"OP"!==n||this.movablelimits||a.push("MJX-fixedlimits"))}this.mathvariant&&this.toMathMLvariants[this.mathvariant]&&a.push("MJX"+this.mathvariant),this.variantForm&&a.push("MJX-variant"),a.length&&i.unshift('class="'+this.toMathMLquote(a.join(" "))+'"')},toMathMLattribute:function(t){return"string"==typeof t&&t.replace(/ /g,"").match(/^(([-+])?(\d+(\.\d*)?|\.\d+))mu$/)?(RegExp.$2||"")+(1/18*RegExp.$3).toFixed(3).replace(/\.?0+$/,"")+"em":this.toMathMLvariants[t]?this.toMathMLvariants[t]:this.toMathMLquote(t)},toMathMLvariants:{"-tex-caligraphic":t.VARIANT.SCRIPT,"-tex-caligraphic-bold":t.VARIANT.BOLDSCRIPT,"-tex-oldstyle":t.VARIANT.NORMAL,"-tex-oldstyle-bold":t.VARIANT.BOLD,"-tex-mathit":t.VARIANT.ITALIC},toMathMLquote:function(t){for(var e=0,i=(t=String(t).split("")).length;e<i;e++){var a=t[e].charCodeAt(0);if(a<=55295||57344<=a)if(a>126||a<32&&10!==a&&13!==a&&9!==a)t[e]="&#x"+a.toString(16).toUpperCase()+";";else{var n={"&":"&","<":"<",">":">",'"':"""}[t[e]];n&&(t[e]=n)}else if(e+1<i){var s=t[e+1].charCodeAt(0)-56320+(a-55296<<10)+65536;t[e]="&#x"+s.toString(16).toUpperCase()+";",t[e+1]="",e++}else t[e]=""}return t.join("")}}),t.math.Augment({toMathML:function(t,i){var a;null==t&&(t=""),i&&i.originalText&&e.semantics&&(a=MathJax.InputJax[i.inputJax].annotationEncoding);for(var n=this.data[0]&&this.data[0].data.length>1,s=this.type,o=this.toMathMLattributes(),r=[],l=t+(a?" "+(n?" ":""):"")+" ",h=0,u=this.data.length;h<u;h++)this.data[h]?r.push(this.data[h].toMathML(l)):r.push(l+"<mrow />");if(0===r.length||1===r.length&&""===r[0]){if(!a)return"<"+s+o+" />";r.push(l+"<mrow />")}if(a){n&&(r.unshift(t+" <mrow>"),r.push(t+" </mrow>")),r.unshift(t+" <semantics>");var d=i.originalText.replace(/[&<>]/g,(function(t){return{">":">","<":"<","&":"&"}[t]}));r.push(t+' <annotation encoding="'+this.toMathMLquote(a)+'">'+d+"</annotation>"),r.push(t+" </semantics>")}return t+"<"+s+o+">\n"+r.join("\n")+"\n"+t+"</"+s+">"}}),t.msubsup.Augment({toMathML:function(t){var e=this.type;null==this.data[this.sup]&&(e="msub"),null==this.data[this.sub]&&(e="msup");var i=this.toMathMLattributes();delete this.data[0].inferred;for(var a=[],n=0,s=this.data.length;n<s;n++)this.data[n]&&a.push(this.data[n].toMathML(t+" "));return t+"<"+e+i+">\n"+a.join("\n")+"\n"+t+"</"+e+">"}}),t.munderover.Augment({toMathML:function(e){var i=this.type,a=this.data[this.base];a&&a.isa(t.TeXAtom)&&a.movablelimits&&!a.Get("displaystyle")?(type="msubsup",null==this.data[this.under]&&(i="msup"),null==this.data[this.over]&&(i="msub")):(null==this.data[this.under]&&(i="mover"),null==this.data[this.over]&&(i="munder"));var n=this.toMathMLattributes();delete this.data[0].inferred;for(var s=[],o=0,r=this.data.length;o<r;o++)this.data[o]&&s.push(this.data[o].toMathML(e+" "));return e+"<"+i+n+">\n"+s.join("\n")+"\n"+e+"</"+i+">"}}),t.TeXAtom.Augment({toMathML:function(t){var e=this.toMathMLattributes();return e||1!==this.data[0].data.length?t+"<mrow"+e+">\n"+this.data[0].toMathML(t+" ")+"\n"+t+"</mrow>":t.substr(2)+this.data[0].toMathML(t)}}),t.chars.Augment({toMathML:function(t){return(t||"")+this.toMathMLquote(this.toString())}}),t.entity.Augment({toMathML:function(t){return(t||"")+"&"+this.toMathMLquote(this.data[0])+";\x3c!-- "+this.toString()+" --\x3e"}}),t.xml.Augment({toMathML:function(t){return(t||"")+this.toString()}}),MathJax.Hub.Register.StartupHook("TeX mathchoice Ready",(function(){t.TeXmathchoice.Augment({toMathML:function(t){return this.Core().toMathML(t)}})})),MathJax.Hub.Startup.signal.Post("toMathML Ready")})),MathJax.Ajax.loadComplete("[MathJax]/extensions/toMathML.js"),function(t){var e,i=MathJax.Object.Subclass({firstChild:null,lastChild:null,Init:function(){this.childNodes=[]},appendChild:function(t){return t.parent&&t.parent.removeChild(t),this.lastChild&&(this.lastChild.nextSibling=t),this.firstChild||(this.firstChild=t),this.childNodes.push(t),t.parent=this,this.lastChild=t,t},removeChild:function(t){for(var e=0,i=this.childNodes.length;e<i&&this.childNodes[e]!==t;e++);if(e!==i)return this.childNodes.splice(e,1),t===this.firstChild&&(this.firstChild=t.nextSibling),t===this.lastChild&&(this.childNodes.length?this.lastChild=this.childNodes[this.childNodes.length-1]:this.lastChild=null),e&&(this.childNodes[e-1].nextSibling=t.nextSibling),t.nextSibling=t.parent=null,t},replaceChild:function(t,e){for(var i=0,a=this.childNodes.length;i<a&&this.childNodes[i]!==e;i++);return i?this.childNodes[i-1].nextSibling=t:this.firstChild=t,i>=a-1&&(this.lastChild=t),this.childNodes[i]=t,t.nextSibling=e.nextSibling,e.nextSibling=e.parent=null,e},hasChildNodes:function(t){return this.childNodes.length>0},toString:function(){return"{"+this.childNodes.join("")+"}"}}),a={getElementById:!0,createElementNS:function(i,a){var n=e[a]();return"mo"===a&&t.config.useMathMLspacing&&(n.useMMLspacing=128),n},createTextNode:function(t){return e.chars(t).With({nodeValue:t})},createDocumentFragment:function(){return i()}},n="blue",s=!0,o=!0,r=".",l="Microsoft"=="MathJax".slice(0,9);function h(t){return l?a.createElement(t):a.createElementNS("http://www.w3.org/1999/xhtml",t)}var u="http://www.w3.org/1998/Math/MathML";function d(t){return l?a.createElement("m:"+t):a.createElementNS(u,t)}function c(t,e){var i;return i=l?a.createElement("m:"+t):a.createElementNS(u,t),e&&i.appendChild(e),i}var m=["𝒜","ℬ","𝒞","𝒟","ℰ","ℱ","𝒢","ℋ","ℐ","𝒥","𝒦","ℒ","ℳ","𝒩","𝒪","𝒫","𝒬","ℛ","𝒮","𝒯","𝒰","𝒱","𝒲","𝒳","𝒴","𝒵","𝒶","𝒷","𝒸","𝒹","ℯ","𝒻","ℊ","𝒽","𝒾","𝒿","𝓀","𝓁","𝓂","𝓃","ℴ","𝓅","𝓆","𝓇","𝓈","𝓉","𝓊","𝓋","𝓌","𝓍","𝓎","𝓏"],p=["𝔄","𝔅","ℭ","𝔇","𝔈","𝔉","𝔊","ℌ","ℑ","𝔍","𝔎","𝔏","𝔐","𝔑","𝔒","𝔓","𝔔","ℜ","𝔖","𝔗","𝔘","𝔙","𝔚","𝔛","𝔜","ℨ","𝔞","𝔟","𝔠","𝔡","𝔢","𝔣","𝔤","𝔥","𝔦","𝔧","𝔨","𝔩","𝔪","𝔫","𝔬","𝔭","𝔮","𝔯","𝔰","𝔱","𝔲","𝔳","𝔴","𝔵","𝔶","𝔷"],f=["𝔸","𝔹","ℂ","𝔻","𝔼","𝔽","𝔾","ℍ","𝕀","𝕁","𝕂","𝕃","𝕄","ℕ","𝕆","ℙ","ℚ","ℝ","𝕊","𝕋","𝕌","𝕍","𝕎","𝕏","𝕐","ℤ","𝕒","𝕓","𝕔","𝕕","𝕖","𝕗","𝕘","𝕙","𝕚","𝕛","𝕜","𝕝","𝕞","𝕟","𝕠","𝕡","𝕢","𝕣","𝕤","𝕥","𝕦","𝕧","𝕨","𝕩","𝕪","𝕫"],M={input:'"',tag:"mtext",output:"mbox",tex:null,ttype:10},g=[{input:"alpha",tag:"mi",output:"α",tex:null,ttype:0},{input:"beta",tag:"mi",output:"β",tex:null,ttype:0},{input:"chi",tag:"mi",output:"χ",tex:null,ttype:0},{input:"delta",tag:"mi",output:"δ",tex:null,ttype:0},{input:"Delta",tag:"mo",output:"Δ",tex:null,ttype:0},{input:"epsi",tag:"mi",output:"ε",tex:"epsilon",ttype:0},{input:"varepsilon",tag:"mi",output:"ɛ",tex:null,ttype:0},{input:"eta",tag:"mi",output:"η",tex:null,ttype:0},{input:"gamma",tag:"mi",output:"γ",tex:null,ttype:0},{input:"Gamma",tag:"mo",output:"Γ",tex:null,ttype:0},{input:"iota",tag:"mi",output:"ι",tex:null,ttype:0},{input:"kappa",tag:"mi",output:"κ",tex:null,ttype:0},{input:"lambda",tag:"mi",output:"λ",tex:null,ttype:0},{input:"Lambda",tag:"mo",output:"Λ",tex:null,ttype:0},{input:"lamda",tag:"mi",output:"λ",tex:null,ttype:0},{input:"Lamda",tag:"mo",output:"Λ",tex:null,ttype:0},{input:"mu",tag:"mi",output:"μ",tex:null,ttype:0},{input:"nu",tag:"mi",output:"ν",tex:null,ttype:0},{input:"omega",tag:"mi",output:"ω",tex:null,ttype:0},{input:"Omega",tag:"mo",output:"Ω",tex:null,ttype:0},{input:"phi",tag:"mi",output:"ϕ",tex:null,ttype:0},{input:"varphi",tag:"mi",output:"φ",tex:null,ttype:0},{input:"Phi",tag:"mo",output:"Φ",tex:null,ttype:0},{input:"pi",tag:"mi",output:"π",tex:null,ttype:0},{input:"Pi",tag:"mo",output:"Π",tex:null,ttype:0},{input:"psi",tag:"mi",output:"ψ",tex:null,ttype:0},{input:"Psi",tag:"mi",output:"Ψ",tex:null,ttype:0},{input:"rho",tag:"mi",output:"ρ",tex:null,ttype:0},{input:"sigma",tag:"mi",output:"σ",tex:null,ttype:0},{input:"Sigma",tag:"mo",output:"Σ",tex:null,ttype:0},{input:"tau",tag:"mi",output:"τ",tex:null,ttype:0},{input:"theta",tag:"mi",output:"θ",tex:null,ttype:0},{input:"vartheta",tag:"mi",output:"ϑ",tex:null,ttype:0},{input:"Theta",tag:"mo",output:"Θ",tex:null,ttype:0},{input:"upsilon",tag:"mi",output:"υ",tex:null,ttype:0},{input:"xi",tag:"mi",output:"ξ",tex:null,ttype:0},{input:"Xi",tag:"mo",output:"Ξ",tex:null,ttype:0},{input:"zeta",tag:"mi",output:"ζ",tex:null,ttype:0},{input:"*",tag:"mo",output:"⋅",tex:"cdot",ttype:0},{input:"**",tag:"mo",output:"∗",tex:"ast",ttype:0},{input:"***",tag:"mo",output:"⋆",tex:"star",ttype:0},{input:"//",tag:"mo",output:"/",tex:null,ttype:0},{input:"\\\\",tag:"mo",output:"\\",tex:"backslash",ttype:0},{input:"setminus",tag:"mo",output:"\\",tex:null,ttype:0},{input:"xx",tag:"mo",output:"×",tex:"times",ttype:0},{input:"|><",tag:"mo",output:"⋉",tex:"ltimes",ttype:0},{input:"><|",tag:"mo",output:"⋊",tex:"rtimes",ttype:0},{input:"|><|",tag:"mo",output:"⋈",tex:"bowtie",ttype:0},{input:"-:",tag:"mo",output:"÷",tex:"div",ttype:0},{input:"divide",tag:"mo",output:"-:",tex:null,ttype:8},{input:"@",tag:"mo",output:"∘",tex:"circ",ttype:0},{input:"o+",tag:"mo",output:"⊕",tex:"oplus",ttype:0},{input:"ox",tag:"mo",output:"⊗",tex:"otimes",ttype:0},{input:"o.",tag:"mo",output:"⊙",tex:"odot",ttype:0},{input:"sum",tag:"mo",output:"∑",tex:null,ttype:7},{input:"prod",tag:"mo",output:"∏",tex:null,ttype:7},{input:"^^",tag:"mo",output:"∧",tex:"wedge",ttype:0},{input:"^^^",tag:"mo",output:"⋀",tex:"bigwedge",ttype:7},{input:"vv",tag:"mo",output:"∨",tex:"vee",ttype:0},{input:"vvv",tag:"mo",output:"⋁",tex:"bigvee",ttype:7},{input:"nn",tag:"mo",output:"∩",tex:"cap",ttype:0},{input:"nnn",tag:"mo",output:"⋂",tex:"bigcap",ttype:7},{input:"uu",tag:"mo",output:"∪",tex:"cup",ttype:0},{input:"uuu",tag:"mo",output:"⋃",tex:"bigcup",ttype:7},{input:"!=",tag:"mo",output:"≠",tex:"ne",ttype:0},{input:":=",tag:"mo",output:":=",tex:null,ttype:0},{input:"lt",tag:"mo",output:"<",tex:null,ttype:0},{input:"<=",tag:"mo",output:"≤",tex:"le",ttype:0},{input:"lt=",tag:"mo",output:"≤",tex:"leq",ttype:0},{input:"gt",tag:"mo",output:">",tex:null,ttype:0},{input:">=",tag:"mo",output:"≥",tex:"ge",ttype:0},{input:"gt=",tag:"mo",output:"≥",tex:"geq",ttype:0},{input:"-<",tag:"mo",output:"≺",tex:"prec",ttype:0},{input:"-lt",tag:"mo",output:"≺",tex:null,ttype:0},{input:">-",tag:"mo",output:"≻",tex:"succ",ttype:0},{input:"-<=",tag:"mo",output:"⪯",tex:"preceq",ttype:0},{input:">-=",tag:"mo",output:"⪰",tex:"succeq",ttype:0},{input:"in",tag:"mo",output:"∈",tex:null,ttype:0},{input:"!in",tag:"mo",output:"∉",tex:"notin",ttype:0},{input:"sub",tag:"mo",output:"⊂",tex:"subset",ttype:0},{input:"sup",tag:"mo",output:"⊃",tex:"supset",ttype:0},{input:"sube",tag:"mo",output:"⊆",tex:"subseteq",ttype:0},{input:"supe",tag:"mo",output:"⊇",tex:"supseteq",ttype:0},{input:"-=",tag:"mo",output:"≡",tex:"equiv",ttype:0},{input:"~=",tag:"mo",output:"≅",tex:"cong",ttype:0},{input:"~~",tag:"mo",output:"≈",tex:"approx",ttype:0},{input:"prop",tag:"mo",output:"∝",tex:"propto",ttype:0},{input:"and",tag:"mtext",output:"and",tex:null,ttype:6},{input:"or",tag:"mtext",output:"or",tex:null,ttype:6},{input:"not",tag:"mo",output:"¬",tex:"neg",ttype:0},{input:"=>",tag:"mo",output:"⇒",tex:"implies",ttype:0},{input:"if",tag:"mo",output:"if",tex:null,ttype:6},{input:"<=>",tag:"mo",output:"⇔",tex:"iff",ttype:0},{input:"AA",tag:"mo",output:"∀",tex:"forall",ttype:0},{input:"EE",tag:"mo",output:"∃",tex:"exists",ttype:0},{input:"_|_",tag:"mo",output:"⊥",tex:"bot",ttype:0},{input:"TT",tag:"mo",output:"⊤",tex:"top",ttype:0},{input:"|--",tag:"mo",output:"⊢",tex:"vdash",ttype:0},{input:"|==",tag:"mo",output:"⊨",tex:"models",ttype:0},{input:"(",tag:"mo",output:"(",tex:"left(",ttype:4},{input:")",tag:"mo",output:")",tex:"right)",ttype:5},{input:"[",tag:"mo",output:"[",tex:"left[",ttype:4},{input:"]",tag:"mo",output:"]",tex:"right]",ttype:5},{input:"{",tag:"mo",output:"{",tex:null,ttype:4},{input:"}",tag:"mo",output:"}",tex:null,ttype:5},{input:"|",tag:"mo",output:"|",tex:null,ttype:9},{input:":|:",tag:"mo",output:"|",tex:null,ttype:0},{input:"|:",tag:"mo",output:"|",tex:null,ttype:4},{input:":|",tag:"mo",output:"|",tex:null,ttype:5},{input:"(:",tag:"mo",output:"〈",tex:"langle",ttype:4},{input:":)",tag:"mo",output:"〉",tex:"rangle",ttype:5},{input:"<<",tag:"mo",output:"〈",tex:null,ttype:4},{input:">>",tag:"mo",output:"〉",tex:null,ttype:5},{input:"{:",tag:"mo",output:"{:",tex:null,ttype:4,invisible:!0},{input:":}",tag:"mo",output:":}",tex:null,ttype:5,invisible:!0},{input:"int",tag:"mo",output:"∫",tex:null,ttype:0},{input:"dx",tag:"mi",output:"{:d x:}",tex:null,ttype:8},{input:"dy",tag:"mi",output:"{:d y:}",tex:null,ttype:8},{input:"dz",tag:"mi",output:"{:d z:}",tex:null,ttype:8},{input:"dt",tag:"mi",output:"{:d t:}",tex:null,ttype:8},{input:"oint",tag:"mo",output:"∮",tex:null,ttype:0},{input:"del",tag:"mo",output:"∂",tex:"partial",ttype:0},{input:"grad",tag:"mo",output:"∇",tex:"nabla",ttype:0},{input:"+-",tag:"mo",output:"±",tex:"pm",ttype:0},{input:"O/",tag:"mo",output:"∅",tex:"emptyset",ttype:0},{input:"oo",tag:"mo",output:"∞",tex:"infty",ttype:0},{input:"aleph",tag:"mo",output:"ℵ",tex:null,ttype:0},{input:"...",tag:"mo",output:"...",tex:"ldots",ttype:0},{input:":.",tag:"mo",output:"∴",tex:"therefore",ttype:0},{input:":'",tag:"mo",output:"∵",tex:"because",ttype:0},{input:"/_",tag:"mo",output:"∠",tex:"angle",ttype:0},{input:"/_\\",tag:"mo",output:"△",tex:"triangle",ttype:0},{input:"'",tag:"mo",output:"′",tex:"prime",ttype:0},{input:"tilde",tag:"mover",output:"~",tex:null,ttype:1,acc:!0},{input:"\\ ",tag:"mo",output:" ",tex:null,ttype:0},{input:"frown",tag:"mo",output:"⌢",tex:null,ttype:0},{input:"quad",tag:"mo",output:" ",tex:null,ttype:0},{input:"qquad",tag:"mo",output:" ",tex:null,ttype:0},{input:"cdots",tag:"mo",output:"⋯",tex:null,ttype:0},{input:"vdots",tag:"mo",output:"⋮",tex:null,ttype:0},{input:"ddots",tag:"mo",output:"⋱",tex:null,ttype:0},{input:"diamond",tag:"mo",output:"⋄",tex:null,ttype:0},{input:"square",tag:"mo",output:"□",tex:null,ttype:0},{input:"|__",tag:"mo",output:"⌊",tex:"lfloor",ttype:0},{input:"__|",tag:"mo",output:"⌋",tex:"rfloor",ttype:0},{input:"|~",tag:"mo",output:"⌈",tex:"lceiling",ttype:0},{input:"~|",tag:"mo",output:"⌉",tex:"rceiling",ttype:0},{input:"CC",tag:"mo",output:"ℂ",tex:null,ttype:0},{input:"NN",tag:"mo",output:"ℕ",tex:null,ttype:0},{input:"QQ",tag:"mo",output:"ℚ",tex:null,ttype:0},{input:"RR",tag:"mo",output:"ℝ",tex:null,ttype:0},{input:"ZZ",tag:"mo",output:"ℤ",tex:null,ttype:0},{input:"f",tag:"mi",output:"f",tex:null,ttype:1,func:!0},{input:"g",tag:"mi",output:"g",tex:null,ttype:1,func:!0},{input:"lim",tag:"mo",output:"lim",tex:null,ttype:7},{input:"Lim",tag:"mo",output:"Lim",tex:null,ttype:7},{input:"sin",tag:"mo",output:"sin",tex:null,ttype:1,func:!0},{input:"cos",tag:"mo",output:"cos",tex:null,ttype:1,func:!0},{input:"tan",tag:"mo",output:"tan",tex:null,ttype:1,func:!0},{input:"sinh",tag:"mo",output:"sinh",tex:null,ttype:1,func:!0},{input:"cosh",tag:"mo",output:"cosh",tex:null,ttype:1,func:!0},{input:"tanh",tag:"mo",output:"tanh",tex:null,ttype:1,func:!0},{input:"cot",tag:"mo",output:"cot",tex:null,ttype:1,func:!0},{input:"sec",tag:"mo",output:"sec",tex:null,ttype:1,func:!0},{input:"csc",tag:"mo",output:"csc",tex:null,ttype:1,func:!0},{input:"arcsin",tag:"mo",output:"arcsin",tex:null,ttype:1,func:!0},{input:"arccos",tag:"mo",output:"arccos",tex:null,ttype:1,func:!0},{input:"arctan",tag:"mo",output:"arctan",tex:null,ttype:1,func:!0},{input:"coth",tag:"mo",output:"coth",tex:null,ttype:1,func:!0},{input:"sech",tag:"mo",output:"sech",tex:null,ttype:1,func:!0},{input:"csch",tag:"mo",output:"csch",tex:null,ttype:1,func:!0},{input:"exp",tag:"mo",output:"exp",tex:null,ttype:1,func:!0},{input:"abs",tag:"mo",output:"abs",tex:null,ttype:1,rewriteleftright:["|","|"]},{input:"norm",tag:"mo",output:"norm",tex:null,ttype:1,rewriteleftright:["∥","∥"]},{input:"floor",tag:"mo",output:"floor",tex:null,ttype:1,rewriteleftright:["⌊","⌋"]},{input:"ceil",tag:"mo",output:"ceil",tex:null,ttype:1,rewriteleftright:["⌈","⌉"]},{input:"log",tag:"mo",output:"log",tex:null,ttype:1,func:!0},{input:"ln",tag:"mo",output:"ln",tex:null,ttype:1,func:!0},{input:"det",tag:"mo",output:"det",tex:null,ttype:1,func:!0},{input:"dim",tag:"mo",output:"dim",tex:null,ttype:0},{input:"mod",tag:"mo",output:"mod",tex:null,ttype:0},{input:"gcd",tag:"mo",output:"gcd",tex:null,ttype:1,func:!0},{input:"lcm",tag:"mo",output:"lcm",tex:null,ttype:1,func:!0},{input:"lub",tag:"mo",output:"lub",tex:null,ttype:0},{input:"glb",tag:"mo",output:"glb",tex:null,ttype:0},{input:"min",tag:"mo",output:"min",tex:null,ttype:7},{input:"max",tag:"mo",output:"max",tex:null,ttype:7},{input:"Sin",tag:"mo",output:"Sin",tex:null,ttype:1,func:!0},{input:"Cos",tag:"mo",output:"Cos",tex:null,ttype:1,func:!0},{input:"Tan",tag:"mo",output:"Tan",tex:null,ttype:1,func:!0},{input:"Arcsin",tag:"mo",output:"Arcsin",tex:null,ttype:1,func:!0},{input:"Arccos",tag:"mo",output:"Arccos",tex:null,ttype:1,func:!0},{input:"Arctan",tag:"mo",output:"Arctan",tex:null,ttype:1,func:!0},{input:"Sinh",tag:"mo",output:"Sinh",tex:null,ttype:1,func:!0},{input:"Cosh",tag:"mo",output:"Cosh",tex:null,ttype:1,func:!0},{input:"Tanh",tag:"mo",output:"Tanh",tex:null,ttype:1,func:!0},{input:"Cot",tag:"mo",output:"Cot",tex:null,ttype:1,func:!0},{input:"Sec",tag:"mo",output:"Sec",tex:null,ttype:1,func:!0},{input:"Csc",tag:"mo",output:"Csc",tex:null,ttype:1,func:!0},{input:"Log",tag:"mo",output:"Log",tex:null,ttype:1,func:!0},{input:"Ln",tag:"mo",output:"Ln",tex:null,ttype:1,func:!0},{input:"Abs",tag:"mo",output:"abs",tex:null,ttype:1,notexcopy:!0,rewriteleftright:["|","|"]},{input:"uarr",tag:"mo",output:"↑",tex:"uparrow",ttype:0},{input:"darr",tag:"mo",output:"↓",tex:"downarrow",ttype:0},{input:"rarr",tag:"mo",output:"→",tex:"rightarrow",ttype:0},{input:"->",tag:"mo",output:"→",tex:"to",ttype:0},{input:">->",tag:"mo",output:"↣",tex:"rightarrowtail",ttype:0},{input:"->>",tag:"mo",output:"↠",tex:"twoheadrightarrow",ttype:0},{input:">->>",tag:"mo",output:"⤖",tex:"twoheadrightarrowtail",ttype:0},{input:"|->",tag:"mo",output:"↦",tex:"mapsto",ttype:0},{input:"larr",tag:"mo",output:"←",tex:"leftarrow",ttype:0},{input:"harr",tag:"mo",output:"↔",tex:"leftrightarrow",ttype:0},{input:"rArr",tag:"mo",output:"⇒",tex:"Rightarrow",ttype:0},{input:"lArr",tag:"mo",output:"⇐",tex:"Leftarrow",ttype:0},{input:"hArr",tag:"mo",output:"⇔",tex:"Leftrightarrow",ttype:0},{input:"sqrt",tag:"msqrt",output:"sqrt",tex:null,ttype:1},{input:"root",tag:"mroot",output:"root",tex:null,ttype:2},{input:"frac",tag:"mfrac",output:"/",tex:null,ttype:2},{input:"/",tag:"mfrac",output:"/",tex:null,ttype:3},{input:"stackrel",tag:"mover",output:"stackrel",tex:null,ttype:2},{input:"overset",tag:"mover",output:"stackrel",tex:null,ttype:2},{input:"underset",tag:"munder",output:"stackrel",tex:null,ttype:2},{input:"_",tag:"msub",output:"_",tex:null,ttype:3},{input:"^",tag:"msup",output:"^",tex:null,ttype:3},{input:"hat",tag:"mover",output:"^",tex:null,ttype:1,acc:!0},{input:"bar",tag:"mover",output:"¯",tex:"overline",ttype:1,acc:!0},{input:"vec",tag:"mover",output:"→",tex:null,ttype:1,acc:!0},{input:"dot",tag:"mover",output:".",tex:null,ttype:1,acc:!0},{input:"ddot",tag:"mover",output:"..",tex:null,ttype:1,acc:!0},{input:"overarc",tag:"mover",output:"⏜",tex:"overparen",ttype:1,acc:!0},{input:"ul",tag:"munder",output:"̲",tex:"underline",ttype:1,acc:!0},{input:"ubrace",tag:"munder",output:"⏟",tex:"underbrace",ttype:15,acc:!0},{input:"obrace",tag:"mover",output:"⏞",tex:"overbrace",ttype:15,acc:!0},{input:"text",tag:"mtext",output:"text",tex:null,ttype:10},{input:"mbox",tag:"mtext",output:"mbox",tex:null,ttype:10},{input:"color",tag:"mstyle",ttype:2},{input:"id",tag:"mrow",ttype:2},{input:"class",tag:"mrow",ttype:2},{input:"cancel",tag:"menclose",output:"cancel",tex:null,ttype:1},M,{input:"bb",tag:"mstyle",atname:"mathvariant",atval:"bold",output:"bb",tex:null,ttype:1},{input:"mathbf",tag:"mstyle",atname:"mathvariant",atval:"bold",output:"mathbf",tex:null,ttype:1},{input:"sf",tag:"mstyle",atname:"mathvariant",atval:"sans-serif",output:"sf",tex:null,ttype:1},{input:"mathsf",tag:"mstyle",atname:"mathvariant",atval:"sans-serif",output:"mathsf",tex:null,ttype:1},{input:"bbb",tag:"mstyle",atname:"mathvariant",atval:"double-struck",output:"bbb",tex:null,ttype:1,codes:f},{input:"mathbb",tag:"mstyle",atname:"mathvariant",atval:"double-struck",output:"mathbb",tex:null,ttype:1,codes:f},{input:"cc",tag:"mstyle",atname:"mathvariant",atval:"script",output:"cc",tex:null,ttype:1,codes:m},{input:"mathcal",tag:"mstyle",atname:"mathvariant",atval:"script",output:"mathcal",tex:null,ttype:1,codes:m},{input:"tt",tag:"mstyle",atname:"mathvariant",atval:"monospace",output:"tt",tex:null,ttype:1},{input:"mathtt",tag:"mstyle",atname:"mathvariant",atval:"monospace",output:"mathtt",tex:null,ttype:1},{input:"fr",tag:"mstyle",atname:"mathvariant",atval:"fraktur",output:"fr",tex:null,ttype:1,codes:p},{input:"mathfrak",tag:"mstyle",atname:"mathvariant",atval:"fraktur",output:"mathfrak",tex:null,ttype:1,codes:p}];function x(t,e){return t.input>e.input?1:-1}var b,v,T,y=[];function C(){var t,e=g.length;for(t=0;t<e;t++)g[t].tex&&g.push({input:g[t].tex,tag:g[t].tag,output:g[t].output,ttype:g[t].ttype,acc:g[t].acc||!1});L()}function L(){var t;for(g.sort(x),t=0;t<g.length;t++)y[t]=g[t].input}function E(t,e){var i;i="\\"==t.charAt(e)&&"\\"!=t.charAt(e+1)&&" "!=t.charAt(e+1)?t.slice(e+1):t.slice(e);for(var a=0;a<i.length&&i.charCodeAt(a)<=32;a+=1);return i.slice(a)}function S(t,e,i){if(0==i){var a,n;for(i=-1,a=t.length;i+1<a;)t[n=i+a>>1]<e?i=n:a=n;return a}for(var s=i;s<t.length&&t[s]<e;s++);return s}function w(t){for(var e,i,a,n=0,s="",o=!0,l=1;l<=t.length&&o;l++)i=t.slice(0,l),(n=S(y,i,n))<y.length&&t.slice(0,y[n].length)==y[n]&&(e=n,l=(s=y[n]).length),o=n<y.length&&t.slice(0,y[n].length)>=y[n];if(v=T,""!=s)return T=g[e].ttype,g[e];T=0,n=1,i=t.slice(0,1);for(var h=!0;"0"<=i&&i<="9"&&n<=t.length;)i=t.slice(n,n+1),n++;if(i==r&&"0"<=(i=t.slice(n,n+1))&&i<="9")for(h=!1,n++;"0"<=i&&i<="9"&&n<=t.length;)i=t.slice(n,n+1),n++;return h&&n>1||n>2?(i=t.slice(0,n-1),a="mn"):(n=2,a=("A">(i=t.slice(0,1))||i>"Z")&&("a">i||i>"z")?"mo":"mi"),"-"==i&&3==v?(T=3,{input:i,tag:a,output:i,ttype:1,func:!0}):{input:i,tag:a,output:i,ttype:0}}function H(t){var e;t.hasChildNodes()&&(!t.firstChild.hasChildNodes()||"mrow"!=t.nodeName&&"M:MROW"!=t.nodeName||"("!=(e=t.firstChild.firstChild.nodeValue)&&"["!=e&&"{"!=e||t.removeChild(t.firstChild),!t.lastChild.hasChildNodes()||"mrow"!=t.nodeName&&"M:MROW"!=t.nodeName||")"!=(e=t.lastChild.firstChild.nodeValue)&&"]"!=e&&"}"!=e||t.removeChild(t.lastChild))}function N(t){var e,i,n,s,o,r=a.createDocumentFragment();if(null==(e=w(t=E(t,0)))||5==e.ttype&&b>0)return[null,t];switch(8==e.ttype&&(e=w(t=e.output+E(t,e.input.length))),e.ttype){case 7:case 0:default:return t=E(t,e.input.length),[c(e.tag,a.createTextNode(e.output)),t];case 4:return b++,n=I(t=E(t,e.input.length),!0),b--,"boolean"==typeof e.invisible&&e.invisible?i=c("mrow",n[0]):(i=c("mo",a.createTextNode(e.output)),(i=c("mrow",i)).appendChild(n[0])),[i,n[1]];case 10:return e!=M&&(t=E(t,e.input.length)),-1==(s="{"==t.charAt(0)?t.indexOf("}"):"("==t.charAt(0)?t.indexOf(")"):"["==t.charAt(0)?t.indexOf("]"):e==M?t.slice(1).indexOf('"')+1:0)&&(s=t.length)," "==(o=t.slice(1,s)).charAt(0)&&((i=c("mspace")).setAttribute("width","1ex"),r.appendChild(i)),r.appendChild(c(e.tag,a.createTextNode(o)))," "==o.charAt(o.length-1)&&((i=c("mspace")).setAttribute("width","1ex"),r.appendChild(i)),t=E(t,s+1),[c("mrow",r),t];case 15:case 1:if(null==(n=N(t=E(t,e.input.length)))[0])return[c(e.tag,a.createTextNode(e.output)),t];if("boolean"==typeof e.func&&e.func)return"^"==(o=t.charAt(0))||"_"==o||"/"==o||"|"==o||","==o||1==e.input.length&&e.input.match(/\w/)&&"("!=o?[c(e.tag,a.createTextNode(e.output)),t]:((i=c("mrow",c(e.tag,a.createTextNode(e.output)))).appendChild(n[0]),[i,n[1]]);if(H(n[0]),"sqrt"==e.input)return[c(e.tag,n[0]),n[1]];if(void 0!==e.rewriteleftright)return(i=c("mrow",c("mo",a.createTextNode(e.rewriteleftright[0])))).appendChild(n[0]),i.appendChild(c("mo",a.createTextNode(e.rewriteleftright[1]))),[i,n[1]];if("cancel"==e.input)return(i=c(e.tag,n[0])).setAttribute("notation","updiagonalstrike"),[i,n[1]];if("boolean"==typeof e.acc&&e.acc){i=c(e.tag,n[0]);var h=c("mo",a.createTextNode(e.output));return"vec"==e.input&&("mrow"==n[0].nodeName&&1==n[0].childNodes.length&&null!==n[0].firstChild.firstChild.nodeValue&&1==n[0].firstChild.firstChild.nodeValue.length||null!==n[0].firstChild.nodeValue&&1==n[0].firstChild.nodeValue.length)&&h.setAttribute("stretchy",!1),i.appendChild(h),[i,n[1]]}if(!l&&void 0!==e.codes)for(s=0;s<n[0].childNodes.length;s++)if("mi"==n[0].childNodes[s].nodeName||"mi"==n[0].nodeName){o="mi"==n[0].nodeName?n[0].firstChild.nodeValue:n[0].childNodes[s].firstChild.nodeValue;for(var u=[],d=0;d<o.length;d++)o.charCodeAt(d)>64&&o.charCodeAt(d)<91?u+=e.codes[o.charCodeAt(d)-65]:o.charCodeAt(d)>96&&o.charCodeAt(d)<123?u+=e.codes[o.charCodeAt(d)-71]:u+=o.charAt(d);"mi"==n[0].nodeName?n[0]=c("mo").appendChild(a.createTextNode(u)):n[0].replaceChild(c("mo").appendChild(a.createTextNode(u)),n[0].childNodes[s])}return(i=c(e.tag,n[0])).setAttribute(e.atname,e.atval),[i,n[1]];case 2:if(null==(n=N(t=E(t,e.input.length)))[0])return[c("mo",a.createTextNode(e.input)),t];H(n[0]);var m=N(n[1]);return null==m[0]?[c("mo",a.createTextNode(e.input)),t]:(H(m[0]),["color","class","id"].indexOf(e.input)>=0?("{"==t.charAt(0)?s=t.indexOf("}"):"("==t.charAt(0)?s=t.indexOf(")"):"["==t.charAt(0)&&(s=t.indexOf("]")),o=t.slice(1,s),i=c(e.tag,m[0]),"color"===e.input?i.setAttribute("mathcolor",o):"class"===e.input?i.setAttribute("class",o):"id"===e.input&&i.setAttribute("id",o),[i,m[1]]):("root"!=e.input&&"stackrel"!=e.output||r.appendChild(m[0]),r.appendChild(n[0]),"frac"==e.input&&r.appendChild(m[0]),[c(e.tag,r),m[1]]));case 3:return t=E(t,e.input.length),[c("mo",a.createTextNode(e.output)),t];case 6:return t=E(t,e.input.length),(i=c("mspace")).setAttribute("width","1ex"),r.appendChild(i),r.appendChild(c(e.tag,a.createTextNode(e.output))),(i=c("mspace")).setAttribute("width","1ex"),r.appendChild(i),[c("mrow",r),t];case 9:return b++,n=I(t=E(t,e.input.length),!1),b--,o="",null!=n[0].lastChild&&(o=n[0].lastChild.firstChild.nodeValue),"|"==o&&","!==t.charAt(0)?(i=c("mo",a.createTextNode(e.output)),(i=c("mrow",i)).appendChild(n[0]),[i,n[1]]):(i=c("mo",a.createTextNode("∣")),[i=c("mrow",i),t])}}function A(t){var e,i,n,s,o,r;if(i=w(t=E(t,0)),s=(o=N(t))[0],3==(e=w(t=o[1])).ttype&&"/"!=e.input){if(null==(o=N(t=E(t,e.input.length)))[0]?o[0]=c("mo",a.createTextNode("□")):H(o[0]),t=o[1],r=7==i.ttype||15==i.ttype,"_"==e.input)if("^"==(n=w(t)).input){var l=N(t=E(t,n.input.length));H(l[0]),t=l[1],(s=c(r?"munderover":"msubsup",s)).appendChild(o[0]),s.appendChild(l[0]),s=c("mrow",s)}else(s=c(r?"munder":"msub",s)).appendChild(o[0]);else"^"==e.input&&r?(s=c("mover",s)).appendChild(o[0]):(s=c(e.tag,s)).appendChild(o[0]);void 0!==i.func&&i.func&&3!=(n=w(t)).ttype&&5!=n.ttype&&(i.input.length>1||4==n.ttype)&&(o=A(t),(s=c("mrow",s)).appendChild(o[0]),t=o[1])}return[s,t]}function I(t,e){var i,n,s,o,r=a.createDocumentFragment();do{n=(s=A(t=E(t,0)))[0],3==(i=w(t=s[1])).ttype&&"/"==i.input?(null==(s=A(t=E(t,i.input.length)))[0]?s[0]=c("mo",a.createTextNode("□")):H(s[0]),t=s[1],H(n),(n=c(i.tag,n)).appendChild(s[0]),r.appendChild(n),i=w(t)):null!=n&&r.appendChild(n)}while((5!=i.ttype&&(9!=i.ttype||e)||0==b)&&null!=i&&""!=i.output);if(5==i.ttype||9==i.ttype){var l=r.childNodes.length;if(l>0&&"mrow"==r.childNodes[l-1].nodeName&&r.childNodes[l-1].lastChild&&r.childNodes[l-1].lastChild.firstChild){var h=r.childNodes[l-1].lastChild.firstChild.nodeValue;if(")"==h||"]"==h){var u=r.childNodes[l-1].firstChild.firstChild.nodeValue;if("("==u&&")"==h&&"}"!=i.output||"["==u&&"]"==h){var d=[],m=!0,p=r.childNodes.length;for(o=0;m&&o<p;o+=2){if(d[o]=[],n=r.childNodes[o],m&&(m="mrow"==n.nodeName&&(o==p-1||"mo"==n.nextSibling.nodeName&&","==n.nextSibling.firstChild.nodeValue)&&n.firstChild.firstChild.nodeValue==u&&n.lastChild.firstChild.nodeValue==h),m)for(var f=0;f<n.childNodes.length;f++)","==n.childNodes[f].firstChild.nodeValue&&(d[o][d[o].length]=f);m&&o>1&&(m=d[o].length==d[o-2].length)}var M=[];if(m=m&&(d.length>1||d[0].length>0)){var g,x,v,T,y=a.createDocumentFragment();for(o=0;o<p;o+=2){for(g=a.createDocumentFragment(),x=a.createDocumentFragment(),v=(n=r.firstChild).childNodes.length,T=0,n.removeChild(n.firstChild),f=1;f<v-1;f++)void 0!==d[o][T]&&f==d[o][T]?(n.removeChild(n.firstChild),"mrow"==n.firstChild.nodeName&&1==n.firstChild.childNodes.length&&"∣"==n.firstChild.firstChild.firstChild.nodeValue?(0==o&&M.push("solid"),n.removeChild(n.firstChild),n.removeChild(n.firstChild),f+=2,T++):0==o&&M.push("none"),g.appendChild(c("mtd",x)),T++):x.appendChild(n.firstChild);g.appendChild(c("mtd",x)),0==o&&M.push("none"),r.childNodes.length>2&&(r.removeChild(r.firstChild),r.removeChild(r.firstChild)),y.appendChild(c("mtr",g))}(n=c("mtable",y)).setAttribute("columnlines",M.join(" ")),"boolean"==typeof i.invisible&&i.invisible&&n.setAttribute("columnalign","left"),r.replaceChild(n,r.firstChild)}}}}t=E(t,i.input.length),"boolean"==typeof i.invisible&&i.invisible||(n=c("mo",a.createTextNode(i.output)),r.appendChild(n))}return[r,t]}function R(t,e){var i;return b=0,i=c("mstyle",I((t=(t=(t=t.replace(/ /g,"")).replace(/>/g,">")).replace(/</g,"<")).replace(/^\s+/g,""),!1)[0]),""!=n&&i.setAttribute("mathcolor",n),""!=mathfontsize&&(i.setAttribute("fontsize",mathfontsize),i.setAttribute("mathsize",mathfontsize)),""!=mathfontfamily&&(i.setAttribute("fontfamily",mathfontfamily),i.setAttribute("mathvariant",mathfontfamily)),s&&i.setAttribute("displaystyle","true"),i=c("math",i),o&&i.setAttribute("title",t.replace(/\s+/g," ")),i}o=!1,mathfontfamily="",n="",mathfontsize="",function(){for(var t=0,e=g.length;t<e;t++)g[t].codes&&delete g[t].codes,g[t].func&&(g[t].tag="mi")}(),t.Augment({AM:{Init:function(){if(s=t.config.displaystyle,r=t.config.decimal||t.config.decimalsign,!t.config.fixphi)for(var a=0,n=g.length;a<n;a++)"phi"===g[a].input&&(g[a].output="φ"),"varphi"===g[a].input&&(g[a].output="ϕ",a=n);!function(){var t=(e=MathJax.ElementJax.mml).mbase.prototype.Init;e.mbase.Augment({firstChild:null,lastChild:null,nodeValue:null,nextSibling:null,Init:function(){var e=t.apply(this,arguments)||this;return e.childNodes=e.data,e.nodeName=e.type,e},appendChild:function(t){t.parent&&t.parent.removeChild(t);var e=arguments;t.isa(i)&&(e=t.childNodes,t.data=t.childNodes=[],t.firstChild=t.lastChild=null);for(var a=0,n=e.length;a<n;a++)t=e[a],this.lastChild&&(this.lastChild.nextSibling=t),this.firstChild||(this.firstChild=t),this.Append(t),this.lastChild=t;return t},removeChild:function(t){for(var e=0,i=this.childNodes.length;e<i&&this.childNodes[e]!==t;e++);if(e!==i)return this.childNodes.splice(e,1),t===this.firstChild&&(this.firstChild=t.nextSibling),t===this.lastChild&&(this.childNodes.length?this.lastChild=this.childNodes[this.childNodes.length-1]:this.lastChild=null),e&&(this.childNodes[e-1].nextSibling=t.nextSibling),t.nextSibling=t.parent=null,t},replaceChild:function(t,e){for(var i=0,a=this.childNodes.length;i<a&&this.childNodes[i]!==e;i++);return i?this.childNodes[i-1].nextSibling=t:this.firstChild=t,i>=a-1&&(this.lastChild=t),this.SetData(i,t),t.nextSibling=e.nextSibling,e.nextSibling=e.parent=null,e},hasChildNodes:function(t){return this.childNodes.length>0},setAttribute:function(t,e){this[t]=e}})}(),C()},Augment:function(t){for(var e in t)if(t.hasOwnProperty(e)){switch(e){case"displaystyle":s=t[e];break;case"decimal":decimal=t[e];break;case"parseMath":R=t[e];break;case"parseExpr":I=t[e];break;case"parseIexpr":A=t[e];break;case"parseSexpr":N=t[e];break;case"removeBrackets":H=t[e];break;case"getSymbol":w=t[e];break;case"position":S=t[e];break;case"removeCharsAndBlanks":E=t[e];break;case"createMmlNode":c=t[e];break;case"createElementMathML":d=t[e];break;case"createElementXHTML":h=t[e];break;case"initSymbols":C=t[e];break;case"refreshSymbols":L=t[e];break;case"compareNames":x=t[e]}this[e]=t[e]}},parseMath:R,parseExpr:I,parseIexpr:A,parseSexr:N,removeBrackets:H,getSymbol:w,position:S,removeCharsAndBlanks:E,createMmlNode:c,createElementMathML:d,createElementXHTML:h,initSymbols:C,refreshSymbols:L,compareNames:x,createDocumentFragment:i,document:a,define:function(t,e){g.push({input:t,tag:"mo",output:e,tex:null,ttype:8}),L()},newcommand:function(t,e){g.push({input:t,tag:"mo",output:e,tex:null,ttype:8}),L()},newsymbol:function(t){g.push(t),L()},symbols:g,names:y,TOKEN:{CONST:0,UNARY:1,BINARY:2,INFIX:3,LEFTBRACKET:4,RIGHTBRACKET:5,SPACE:6,UNDEROVER:7,DEFINITION:8,LEFTRIGHT:9,TEXT:10,UNARYUNDEROVER:15}}})}(MathJax.InputJax.AsciiMath),function(t){var e;t.Augment({sourceMenuTitle:["AsciiMathInput","AsciiMath Input"],annotationEncoding:"text/x-asciimath",prefilterHooks:MathJax.Callback.Hooks(!0),postfilterHooks:MathJax.Callback.Hooks(!0),Translate:function(t){var i,a=MathJax.HTML.getScript(t),n={math:a,script:t},s=this.prefilterHooks.Execute(n);if(s)return s;a=n.math;try{i=this.AM.parseMath(a)}catch(t){if(!t.asciimathError)throw t;i=this.formatError(t,a)}return n.math=e(i),this.postfilterHooks.Execute(n),this.postfilterHooks.Execute(n)||n.math},formatError:function(t,i,a){var n=t.message.replace(/\n.*/,"");return MathJax.Hub.signal.Post(["AsciiMath Jax - parse error",n,i,a]),e.Error(n)},Error:function(t){throw MathJax.Hub.Insert(Error(t),{asciimathError:!0})},Startup:function(){e=MathJax.ElementJax.mml,this.AM.Init()}}),t.loadComplete("jax.js")}(MathJax.InputJax.AsciiMath),function(t,e,i,a){var n,s,o,r,l,h=e.Browser.isMSIE;e.Register.StartupHook("MathZoom Ready",(function(){l=MathJax.Extension.MathZoom}));var u=function(t,e){var i=a.Element("span");t="padding"+t,e&&(i.style.cssText=e.getAttribute("style")||"",""===i.style.padding&&""===(i.style[t]||"")&&(i.style[t]="0px",e.setAttribute("style",i.style.cssText)))},d=function(t,e,i){if(t){var n=a.Element("span");if(n.style.cssText=t.getAttribute("style")||"",""===n.style.padding){var s={paddingLeft:i,paddingTop:e,paddingRight:"0px",paddingBottom:"0px"};for(var o in s)s.hasOwnProperty(o)&&""===(n.style[o]||"")&&(n.style[o]=s[o])}t.setAttribute("style",n.style.cssText)}};t.Augment({config:{styles:{".MathJax_MathML":{"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","max-width":"none","max-height":"none","min-width":0,"min-height":0,border:0,padding:0,margin:0},"span.MathJax_MathML":{display:"inline!important"},"div.MathJax_MathML":{display:"block!important"},".MathJax_mmlExBox":{display:"block!important",overflow:"hidden",height:"1px",width:"60ex","min-height":0,"max-height":"none",padding:0,border:0,margin:0}}},handlesVariants:!1,settings:e.config.menuSettings,ex:1,scale:1,adjustWidths:[],Config:function(){if(this.SUPER(arguments).Config.call(this),this.settings.scale&&(this.config.scale=this.settings.scale),"center"!==e.config.displayAlign){var t=e.config.displayAlign,i=e.config.displayIndent,a={"text-align":t+"!important"};a["margin-"+t]=i+"!important",e.Insert(this.config.styles,{"div.MathJax_MathML":a,"div.MathJax_MathML math":{"text-align":t},"div.MathJax_MathContainer > span":{"text-align":t+"!important"}})}this.require||(this.require=[]),this.require.push(MathJax.OutputJax.extensionDir+"/MathEvents.js")},Startup:function(){return s=MathJax.Extension.MathEvents.Event,o=MathJax.Extension.MathEvents.Touch,r=MathJax.Extension.MathEvents.Hover,this.ContextMenu=s.ContextMenu,this.Mousedown=s.AltContextMenu,this.Mouseover=r.Mouseover,this.Mouseout=r.Mouseout,this.Mousemove=r.Mousemove,e.Browser.hasMathPlayer||(this.EmExSpan=a.Element("span",{style:{position:"absolute","font-size-adjust":"none"}},[["div",{className:"MathJax_mmlExBox"}],["span",{className:"MathJax_MathML"}]]),n.math(n.mspace().With({width:"60ex"})).toNativeMML(this.EmExSpan.lastChild)),i.Styles(this.config.styles)},InitializeMML:function(){if(this.initialized=!0,e.Browser.hasMathPlayer)try{if(!e.Browser.mpNamespace){var t=document.createElement("object");t.id="mathplayer",t.classid="clsid:32F66A20-7614-11D4-BD11-00104BD3F987",document.getElementsByTagName("head")[0].appendChild(t),document.namespaces.add("m","http://www.w3.org/1998/Math/MathML"),e.Browser.mpNamespace=!0}e.Browser.mpImported||(document.namespaces.m.doImport("#mathplayer"),e.Browser.mpImported=!0)}catch(t){this.config.noMathPlayerWarning||alert(MathJax.Localization._(["MathML","MathPlayer"],"MathJax was not able to set up MathPlayer.\n\nIf MathPlayer is not installed, you need to install it first.\nOtherwise, your security settings may be preventing ActiveX \ncontrols from running. Use the Internet Options item under\nthe Tools menu and select the Security tab, then press the\nCustom Level button. Check that the settings for\n'Run ActiveX Controls', and 'Binary and script behaviors'\nare enabled.\n\nCurrently you will see error messages rather than\ntypeset mathematics."))}else document.body.appendChild(this.EmExSpan),this.defaultEx=this.EmExSpan.firstChild.offsetWidth/60,this.defaultMEx=this.EmExSpan.lastChild.offsetWidth/60,document.body.removeChild(this.EmExSpan)},preTranslate:function(t){var e,i,n,s,o,r,l,u,d,c,m=t.jax[this.id],p=m.length;for(e=0;e<p;e++)if((i=m[e]).parentNode&&(this.initialized||this.InitializeMML(),(n=i.previousSibling)&&"MathJax_MathML"===n.className&&n.parentNode.removeChild(n),l=i.MathJax.elementJax)){r=l.root,l.NativeMML={};var f="block"===r.Get("display")?"div":"span";s=a.Element(f,{className:"MathJax_MathML",id:l.inputID+"-Frame"},[["span",{className:"MathJax_MathContainer",isMathJax:!0,jaxID:this.id,style:{position:"relative",display:"inline-block","white-space":"nowrap"}},[["span",{isMathJax:!0,style:{display:"inline-block"}}]]]]),i.parentNode.insertBefore(s,i),h||i.parentNode.insertBefore(this.EmExSpan.cloneNode(!0),i)}for(e=0;e<p;e++)(i=m[e]).parentNode&&(l=i.MathJax.elementJax)&&(h?c=100:(u=(o=i.previousSibling).firstChild.offsetWidth/60,d=o.lastChild.offsetWidth/60,0!==u&&"NaN"!==u||(u=this.defaultEx,d=this.defaultMEx),c=this.config.matchFontHeight&&d>1?u/d:1,c=Math.floor(Math.max(this.config.minScaleAdjust/100,c)*this.config.scale),l.NativeMML.ex=u,l.NativeMML.mex=d),l.NativeMML.fontSize=c+"%",l.NativeMML.scale=c/100);if(!h)for(e=0;e<p;e++)(i=m[e]).parentNode&&i.MathJax.elementJax&&i.parentNode.removeChild(i.previousSibling)},Translate:function(t){if(t.parentNode){var i=t.MathJax.elementJax,a=i.root,n=document.getElementById(i.inputID+"-Frame");if(n){var r=n.firstChild,l=r.firstChild;this.ex=i.NativeMML.ex||this.defaultEx,this.scale=i.NativeMML.scale||1,1!==this.scale&&(n.style.fontSize=i.NativeMML.fontSize);try{a.toNativeMML(l,i)}catch(t){if(t.restart)for(;l.firstChild;)l.removeChild(l.firstChild);throw t}if(h)if(r.addEventListener)for(var u in this.MSIE9events)this.MSIE9events.hasOwnProperty(u)&&r.addEventListener(u,this.MSIE9event,!0);else!(null!=this.config.showMathMenuMSIE?this:e).config.showMathMenuMSIE||this.settings.mpContext||this.settings.mpMouse?(r.style.position="",l.firstChild.onmousedown=this.MSIEaltMenu):this.MSIEoverlay(r);else r.oncontextmenu=s.Menu,r.onmouseover=s.Mouseover,r.onmouseout=s.Mouseout,r.onmousedown=s.Mousedown,r.onclick=s.Click,r.ondblclick=s.DblClick,r.onkeydown=s.Keydown,r.tabIndex=e.getTabOrder(i),e.Browser.noContextMenu&&(r.ontouchstart=o.start,r.ontouchend=o.end)}}},postTranslate:function(t){if(this.forceReflow){var e=(document.styleSheets||[])[0]||{};e.disabled=!0,e.disabled=!1}},Remove:function(t){var e=t.SourceElement();e&&(e=e.previousSibling)&&e.className.match(/MathJax_MathML/)&&e.parentNode.removeChild(e)},MMLnamespace:"http://www.w3.org/1998/Math/MathML",isFullWidth:function(t){if(t){var e=t.getAttribute("width")||(String(t.getAttribute("style")).match(/(?:^| )width: *([^; ]*)/)||[])[1];if(e)return!!e.match(/%/);if(t.nodeName.match(/^(semantics|math|mstyle)$/))e=this.isFullWidth(t.firstChild);else if("mrow"===t.nodeName.toLowerCase())for(var i=0,a=t.childNodes.length;i<a&&!e;i++)e=this.isFullWidth(t.childNodes[i]);if(e){var n="width:100%; "+(t.getAttribute("style")||"");t.setAttribute("style",n.replace(/ +$/,""))}return e}},MSIEoverlay:function(t){var i=t.firstChild;"span"===i.nodeName.toLowerCase()&&(i=i.firstChild);var n=this.getHoverBBox(null,i,{});a.addElement(t,"span",{style:{display:"inline-block",width:0,height:0,position:"relative"}},[["span",{isMathJax:!0,className:"MathJax_MathPlayer_Overlay",style:{display:"inline-block",position:"absolute",left:r.Px(-n.w),top:r.Px(-n.h-(n.y||0)-1),width:r.Px(n.w),height:r.Px(n.h+n.d),cursor:"pointer","background-color":"white",filter:"alpha(opacity=0)"}}]]),e.Insert(t,{msieMath:i,onmousedown:this.MSIEevent,oncontextmenu:this.MSIEevent,onclick:this.MSIEevent,onmouseup:this.MSIEevent,onmousemove:this.MSIEevent,ondblclick:this.MSIEevent,onmouseover:this.MSIEevent,onmouseout:this.MSIEevent})},MSIEevents:{mousedown:"Mousedown",contextmenu:"ContextMenu",click:"Click",mouseup:"Mouseup",mousemove:"Mousemove",dblclick:"DblClick",mouseover:"Mouseover",mouseout:"Mouseout"},MSIEevent:function(){var e=window.event,i=t.MSIEevents[e.type];return(!t[i]||!1!==t[i](e,this))&&(!l||!1!==l.HandleEvent(e,i,this))&&("MathJax_MathPlayer_Overlay"===e.srcElement.className&&this.msieMath.fireEvent&&("ContextMenu"!==i&&"Mouseover"!==i&&"Mouseout"!==i||this.msieMath.fireEvent("on"+e.type,e)),s.False(e))},MSIEaltMenu:function(){for(var t=this.parentNode.parentNode;!t.jaxID;)t=t.parentNode;s.AltContextMenu(window.event,t)},MSIE9events:{contextmenu:"Menu",click:"Click",dblclick:"DblClick",mouseup:"False",mouseover:"Mouseover",mouseout:"Mouseout"},MSIE9event:function(e){if("contextmenu"===e.type&&t.settings.mpContext)return!0;if("mouseup"===e.type&&t.settings.mpMouse)return!0;if("click"===e.type&&t.settings.mpContext)return s.AltContextMenu(e,this);var i=t.MSIE9events[e.type];return s[i].call(this,e)},getJaxFromMath:function(t){t=t.parentNode;do{t=t.nextSibling}while(t&&"script"!==t.nodeName.toLowerCase());return e.getJaxFor(t)},getHoverSpan:function(t,e){return e.firstChild},getHoverBBox:function(t,e,i){return s.getBBox(e.parentNode)},Zoom:function(e,i,a,n,o){e.root.toNativeMML(i),this.msieIE8HeightBug&&(i.style.position="absolute"),t.widthBug&&(i.style.width=i.parentNode.style.width=""),i.parentNode.style.width.match(/%$/)&&(i.parentNode.style.minWidth=Math.ceil(3*o/4)+"px");var r=a.offsetWidth||a.scrollWidth,l=a.offsetHeight||a.scrollHeight,h=i.offsetWidth,u=i.offsetHeight;if(t.widthBug||i.style.width.match(/%/)){var d=i.firstChild.firstChild.scrollWidth;d>h&&(h=d,i.parentNode.style.width=i.style.minWidth=h+"px")}return this.msieIE8HeightBug&&(i.style.position=""),{Y:-s.getBBox(i.parentNode).h,mW:r,mH:l,zW:h,zH:u}},NAMEDSPACE:{negativeveryverythinmathspace:"-.0556em",negativeverythinmathspace:"-.1111em",negativethinmathspace:"-.1667em",negativemediummathspace:"-.2222em",negativethickmathspace:"-.2778em",negativeverythickmathspace:"-.3333em",negativeveryverythickmathspace:"-.3889em",veryverythinmathspace:".0556em",verythinmathspace:".1111em",thinmathspace:".1667em",mediummathspace:".2222em",thickmathspace:".2778em",verythickmathspace:".3333em",veryverythickmathspace:".3889em"}}),e.Register.StartupHook("mml Jax Ready",(function(){if((n=MathJax.ElementJax.mml).mbase.Augment({toNativeMML:function(t){var e=this.NativeMMLelement(this.type);this.NativeMMLattributes(e);for(var i=0,a=this.data.length;i<a;i++)this.data[i]?this.data[i].toNativeMML(e):e.appendChild(this.NativeMMLelement("mrow"));t.appendChild(e)},NativeMMLattributes:function(t){var e="mstyle"===this.type?n.math.prototype.defaults:this.defaults,i=this.attrNames||n.copyAttributeNames,a=n.skipAttributes,s=n.copyAttributes;if(!this.attrNames)for(var o in e)a[o]||s[o]||!e.hasOwnProperty(o)||null!=this[o]&&this[o]!==e[o]&&this.Get(o,null,1)!==this[o]&&t.setAttribute(o,this.NativeMMLattribute(this[o]));for(var r=0,l=i.length;r<l;r++)if(1!==s[i[r]]||e.hasOwnProperty(i[r])){var h=(this.attr||{})[i[r]];null==h&&(h=this[i[r]]),null!=h&&t.setAttribute(i[r],this.NativeMMLattribute(h))}this.NativeMMLclass(t)},NativeMMLclass:function(t){var e=[];if(this.class&&e.push(this.class),this.isa(n.TeXAtom)){var i=["ORD","OP","BIN","REL","OPEN","CLOSE","PUNCT","INNER","VCENTER"][this.texClass];i&&(e.push("MJX-TeXAtom-"+i),"OP"!==i||this.movablelimits||e.push("MJX-fixedlimits"))}this.mathvariant&&this.NativeMMLvariants[this.mathvariant]&&e.push("MJX"+this.mathvariant),this.variantForm&&e.push("MJX-variant"),e.length&&t.setAttribute("class",e.join(" "))},NativeMMLattribute:function(e){return e=String(e),t.NAMEDSPACE[e]?e=t.NAMEDSPACE[e]:e.match(/^\s*(([-+])?(\d+(\.\d*)?|\.\d+))\s*mu\s*$/)?e=(RegExp.$2||"")+(1/18*RegExp.$3).toFixed(3).replace(/\.?0+$/,"")+"em":this.NativeMMLvariants[e]&&(e=this.NativeMMLvariants[e]),e},NativeMMLvariants:{"-tex-caligraphic":n.VARIANT.SCRIPT,"-tex-caligraphic-bold":n.VARIANT.BOLDSCRIPT,"-tex-oldstyle":n.VARIANT.NORMAL,"-tex-oldstyle-bold":n.VARIANT.BOLD,"-tex-mathit":n.VARIANT.ITALIC},NativeMMLelement:function(i){var a=e.Browser.mpNamespace?document.createElement("m:"+i):document.createElementNS?document.createElementNS(t.MMLnamespace,i):document.createElement(i);return a.isMathJax=!0,a}}),n.mrow.Augment({toNativeMML:function(e){var i,a;if(this.inferred&&this.parent.inferRow)for(i=0,a=this.data.length;i<a;i++)this.data[i]?this.data[i].toNativeMML(e):e.appendChild(this.NativeMMLelement("mrow"));else if(t.stretchyMoBug&&(this.open||this.close)){var n=this.NativeMMLelement("mfenced");this.NativeMMLattributes(n),i=0,a=this.data.length,this.open&&(n.setAttribute("open",this.open),i++),this.close&&(n.setAttribute("close",this.close),a--);var s=n;for(a-i+1>1&&(s=this.NativeMMLelement("mrow"),e.appendChild(n),e=n);i<a;i++)this.data[i]?this.data[i].toNativeMML(s):s.appendChild(this.NativeMMLelement("mrow"));e.appendChild(s)}else this.SUPER(arguments).toNativeMML.call(this,e)}}),n.msubsup.Augment({toNativeMML:function(t){var e=this.type;null==this.data[this.sup]&&(e="msub"),null==this.data[this.sub]&&(e="msup");var i=this.NativeMMLelement(e);this.NativeMMLattributes(i),this.data[0]&&delete this.data[0].inferred;for(var a=0,n=this.data.length;a<n;a++)this.data[a]&&this.data[a].toNativeMML(i);t.appendChild(i)}}),n.munderover.Augment({toNativeMML:function(t){var e=this.type,i=this.data[this.base];i&&i.isa(n.TeXAtom)&&i.movablelimits&&!i.Get("displaystyle")?(e="msubsup",null==this.data[this.under]&&(e="msup"),null==this.data[this.over]&&(e="msub")):(null==this.data[this.under]&&(e="mover"),null==this.data[this.over]&&(e="munder"));var a=this.NativeMMLelement(e);this.NativeMMLattributes(a),this.data[0]&&delete this.data[0].inferred;for(var s=0,o=this.data.length;s<o;s++)this.data[s]&&this.data[s].toNativeMML(a);t.appendChild(a)}}),!h){var s=e.SplitList;n.mtable.Augment({toNativeMML:function(i){var a,o;if(t.tableSpacingBug){var r=this.getValues("rowspacing","columnspacing");this.nMMLtopPadding=s("0px "+r.rowspacing),this.nMMLleftPadding=s("0px "+r.columnspacing);var l=this.nMMLtopPadding,h=l.length;for(a=0,o=this.data.length;a<o;a++)this.data[a]&&(this.data[a].nMMLtopPadding=l[a<h?a:h-1])}if(t.tableLabelBug)for(a=0,o=this.data.length;a<o;a++)if(this.data[a]&&this.data[a].isa(n.mlabeledtr)){var u=e.config.displayAlign.charAt(0),d=this.Get("side").charAt(0);this.nMMLhasLabels=!0,this.nMMLlaMatch=u===d,this.nMMLforceWidth="c"===u||!!(this.width||"").match("%");break}if(this.width&&this.ffTableWidthBug){var c=(this.style||"").replace(/;\s*$/,"").split(";");""===c[0]&&c.shift(),c.push("width:"+this.width),this.style=c.join(";")}if(this.SUPER(arguments).toNativeMML.call(this,i),this.nMMLhasLabels){var m=i.firstChild;if(this.nMMLforceWidth||"r"!==d){var p=("l"!==u?1:0)+("l"===d?1:0);if(p){var f={columnalign:"left",columnwidth:"auto",columnspacing:"0px",columnlines:"none"};for(var M in f)if(f.hasOwnProperty(M)&&this[M]){var g=[f[M],f[M]].slice(2-p).join(" ")+" ";m.setAttribute(M,g+m.getAttribute(M))}}}!this.nMMLforceWidth&&this.nMMLlaMatch||m.setAttribute("width","100%")}}}),n.mtr.Augment({toNativeMML:function(i){this.SUPER(arguments).toNativeMML.call(this,i);var a=i.lastChild;if(t.tableSpacingBug)for(var n=this.parent.nMMLleftPadding,s=n.length,o=a.firstChild,r=0;o;o=o.nextSibling,r++)d(o,this.nMMLtopPadding,n[r<s?r:s-1]);if(t.tableLabelBug){var l=this.parent.nMMLforceWidth,h=this.parent.Get("side").charAt(0),c=e.config.displayAlign.charAt(0);this.parent.nMMLhasLabels&&a.firstChild&&((l||"r"!==h)&&(u("Left",a.firstChild),"l"!==c&&a.insertBefore(this.NativeMMLelement("mtd"),a.firstChild).setAttribute("style","padding:0"),"l"===h&&a.insertBefore(this.NativeMMLelement("mtd"),a.firstChild).setAttribute("style","padding:0")),(l||"l"!==h)&&u("Right",a.lastChild))}}}),n.mlabeledtr.Augment({toNativeMML:function(i){var a=this.NativeMMLelement("mtr");this.NativeMMLattributes(a);for(var n=1,s=this.data.length;n<s;n++)this.data[n]?this.data[n].toNativeMML(a):a.appendChild(this.NativeMMLelement("mtd"));if(t.tableSpacingBug){var o=this.parent.nMMLleftPadding,r=o.length;n=0;for(var l=a.firstChild;l;l=l.nextSibling,n++)d(l,this.nMMLtopPadding,o[n<r?n:r-1])}if(t.tableLabelBug&&this.data[0]){var h=this.parent.Get("side").charAt(0),c=e.config.displayAlign.charAt(0),m=e.config.displayIndent;this.data[0].toNativeMML(a);var p=a.lastChild,f=p;h===c?(p.setAttribute("style","width:"+m),p.setAttribute("columnalign",e.config.displayAlign)):((f=this.NativeMMLelement("mpadded")).setAttribute("style","width:0"),f.setAttribute("width","0px"),f.appendChild(p.firstChild),p.appendChild(f)),u("",p),a.removeChild(p);var M=100,g=this.parent.nMMLforceWidth;(this.parent.width||"").match(/%/)&&(M-=parseFloat(this.parent.width));var x=M;(g||"r"!==h)&&(u("Left",a.firstChild),"l"!==c&&("c"===c&&(x/=2),M-=x,a.insertBefore(this.NativeMMLelement("mtd"),a.firstChild).setAttribute("style","padding:0;width:"+x+"%")),"l"===h&&a.insertBefore(p,a.firstChild)),(g||"l"!==h)&&(u("Right",a.lastChild),"r"!==c&&a.appendChild(this.NativeMMLelement("mtd")).setAttribute("style","padding:0;width:"+M+"%"),"r"===h&&(h!==c&&f.setAttribute("lspace","-1width"),a.appendChild(p)))}i.appendChild(a)}}),n.mtd.Augment({toNativeMML:function(e){var i=e.appendChild(this.NativeMMLelement(this.type));this.NativeMMLattributes(i),t.mtdWidthBug&&(t.adjustWidths.push(i),i=i.appendChild(this.NativeMMLelement("mrow")));for(var a=0,n=this.data.length;a<n;a++)this.data[a]?this.data[a].toNativeMML(i):i.appendChild(this.NativeMMLelement("mrow"))}}),n.mspace.Augment({toNativeMML:function(e){if(this.SUPER(arguments).toNativeMML.call(this,e),t.spaceWidthBug&&this.width){var i=e.lastChild,a=i.getAttribute("width"),n=(i.getAttribute("style")||"").replace(/;?\s*/,"; ");i.setAttribute("style",n+"width:"+a)}}}),n.mn.Augment({NativeMMLremapMinus:function(t){return t.replace(/^-/,"−")},toNativeMML:function(t){var e=this.NativeMMLelement(this.type);this.NativeMMLattributes(e);for(var i=this.NativeMMLremapMinus,a=0,n=this.data.length;a<n;a++)this.data[a]&&(this.data[a].toNativeMML(e,i),i=null);t.appendChild(e)}});var o=i.fileURL(MathJax.OutputJax.fontDir+"/HTML-CSS/TeX/otf");t.Augment({config:{styles:{'[class="MJX-tex-oldstyle"]':{"font-family":"MathJax_Caligraphic, MathJax_Caligraphic-WEB"},'[class="MJX-tex-oldstyle-bold"]':{"font-family":"MathJax_Caligraphic, MathJax_Caligraphic-WEB","font-weight":"bold"},'[class="MJX-tex-caligraphic"]':{"font-family":"MathJax_Caligraphic, MathJax_Caligraphic-WEB"},'[class="MJX-tex-caligraphic-bold"]':{"font-family":"MathJax_Caligraphic, MathJax_Caligraphic-WEB","font-weight":"bold"},"@font-face /*1*/":{"font-family":"MathJax_Caligraphic-WEB",src:"url('"+o+"/MathJax_Caligraphic-Regular.otf')"},"@font-face /*2*/":{"font-family":"MathJax_Caligraphic-WEB","font-weight":"bold",src:"url('"+o+"/MathJax_Caligraphic-Bold.otf')"}}}}),this.handlesVariants||t.Augment({config:{styles:{'[mathvariant="double-struck"]':{"font-family":"MathJax_AMS, MathJax_AMS-WEB"},'[mathvariant="script"]':{"font-family":"MathJax_Script, MathJax_Script-WEB"},'[mathvariant="fraktur"]':{"font-family":"MathJax_Fraktur, MathJax_Fraktur-WEB"},'[mathvariant="bold-script"]':{"font-family":"MathJax_Script, MathJax_Caligraphic-WEB","font-weight":"bold"},'[mathvariant="bold-fraktur"]':{"font-family":"MathJax_Fraktur, MathJax_Fraktur-WEB","font-weight":"bold"},'[mathvariant="monospace"]':{"font-family":"monospace"},'[mathvariant="sans-serif"]':{"font-family":"sans-serif"},'[mathvariant="bold-sans-serif"]':{"font-family":"sans-serif","font-weight":"bold"},'[mathvariant="sans-serif-italic"]':{"font-family":"sans-serif","font-style":"italic"},'[mathvariant="sans-serif-bold-italic"]':{"font-family":"sans-serif","font-style":"italic","font-weight":"bold"},"@font-face /*3*/":{"font-family":"MathJax_AMS-WEB",src:"url('"+o+"/MathJax_AMS-Regular.otf')"},"@font-face /*4*/":{"font-family":"MathJax_Script-WEB",src:"url('"+o+"/MathJax_Script-Regular.otf')"},"@font-face /*5*/":{"font-family":"MathJax_Fraktur-WEB",src:"url('"+o+"/MathJax_Fraktur-Regular.otf')"},"@font-face /*6*/":{"font-family":"MathJax_Fraktur-WEB","font-weight":"bold",src:"url('"+o+"/MathJax_Fraktur-Bold.otf')"}}}})}n.math.Augment({toNativeMML:function(i,a){var n,s,o=this.NativeMMLelement(this.type),r=o,l=a?MathJax.InputJax[a.inputJax].annotationEncoding:null;if(t.adjustWidths=[],o.setAttribute("xmlns",t.MMLnamespace),this.NativeMMLattributes(o),t.widthBug&&(o=o.appendChild(this.NativeMMLelement("mrow"))),l){(o=o.appendChild(this.NativeMMLelement("semantics"))).appendChild(this.NativeMMLelement("mrow"));var h=o.appendChild(this.NativeMMLelement("annotation"));h.appendChild(document.createTextNode(a.originalText)),h.setAttribute("encoding",l),o=o.firstChild}for(n=0,s=this.data.length;n<s;n++)this.data[n]?this.data[n].toNativeMML(o):o.appendChild(this.NativeMMLelement("mrow"));var u=(this.data[0]||{data:[]}).data[0]||{};u.nMMLhasLabels&&(!u.nMMLforceWidth&&u.nMMLlaMatch||(o.setAttribute("style","width:100%"),l&&o.parentNode.setAttribute("style","width:100%")),u.nMMLlaMatch&&"div"===i.parentNode.parentNode.nodeName.toLowerCase()&&i.parentNode.parentNode.style.setProperty("margin-"+e.config.displayAlign,"0px","important"));var d=t.isFullWidth(r);if(d&&(i.style.width=i.parentNode.style.width="100%"),i.appendChild(r),t.widthBug&&!d&&(i.style.width=(r.firstChild.scrollWidth/t.ex/t.scale).toFixed(3)+"ex",a&&(a.NativeMML.scrollWidth=r.firstChild.scrollWidth)),t.adjustWidths.length){var c=[];for(n=0,s=t.adjustWidths.length;n<s;n++){var m=(o=t.adjustWidths[n]).getAttribute("style")||"";if(!m.match(/(^|;)\s*min-width:/)){var p=o.firstChild.scrollWidth;c.push(p),p=(p/t.ex).toFixed(3)+"ex",m=m.replace(/;?\s*$/,"; "),o.setAttribute("style",m+"min-width:"+p)}}a||(a=e.getJaxFor(i)),a&&(a.NativeMML.mtds=c),r.MathJaxMtds=t.adjustWidths,t.adjustWidths=[]}}}),n.mfenced.Augment({toNativeMML:function(i){if(t.mfencedBug){var a,n,s,o=e.Browser.isOpera,r=this.getValues("open","close","separators");if(r.open=r.open.replace(/^\s+/,"").replace(/\s+$/,""),r.close=r.close.replace(/^\s+/,"").replace(/\s+$/,""),r.separators=r.separators.replace(/\s+/g,"").split(""),0==r.separators.length)r.separators=null;else if(r.separators.length<this.data.length-1){var l=r.separators[r.separators.length-1];for(a=this.data.length-1-r.separators.length;a>0;a--)r.separators.push(l)}var h=this.NativeMMLelement(o?this.type:"mrow");for(this.NativeMMLattributes(h),h.removeAttribute("separators"),o?(h.setAttribute("open",r.open),h.setAttribute("close",r.close),this.data.length>1&&(i.appendChild(h),i=h,h=this.NativeMMLelement("mrow"))):(h.removeAttribute("open"),h.removeAttribute("close")),o||((s=this.NativeMMLelement("mo")).setAttribute("fence","true"),s.textContent=r.open,h.appendChild(s)),a=0,n=this.data.length;a<n;a++)r.separators&&a>0&&((s=this.NativeMMLelement("mo")).setAttribute("separator","true"),s.textContent=r.separators[a-1],h.appendChild(s)),this.data[a]?this.data[a].toNativeMML(h):h.appendChild(this.NativeMMLelement("mrow"));o||((s=this.NativeMMLelement("mo")).setAttribute("fence","true"),s.textContent=r.close,h.appendChild(s)),i.appendChild(h)}else this.SUPER(arguments).toNativeMML.call(this,i)}}),n.TeXAtom.Augment({toNativeMML:function(t){var e=this.NativeMMLelement("mrow");this.NativeMMLattributes(e),this.data[0].toNativeMML(e),t.appendChild(e)}}),n.chars.Augment({toNativeMML:function(t,e){var i=this.toString();e&&(i=e(i)),t.appendChild(document.createTextNode(i))}}),n.entity.Augment({toNativeMML:function(t){t.appendChild(document.createTextNode(this.toString()))}}),n.xml.Augment({toNativeMML:function(t){for(var e=0,i=this.data.length;e<i;e++)t.appendChild(this.data[e].cloneNode(!0))}}),n.mi.Augment({toNativeMML:function(e){if(this.SUPER(arguments).toNativeMML.call(this,e),t.miItalicBug&&this.Get("mathvariant")===n.VARIANT.NORMAL){var i=e.lastChild;i.setAttribute("mathvariant",n.VARIANT.NORMAL)}}}),n.mo.Augment({toNativeMML:function(e){if(this.SUPER(arguments).toNativeMML.call(this,e),t.webkitMoSpacingBug){var i=0,n=0,s=this.parent;if(s&&"mrow"===s.type&&(s.inferred||!s.isEmbellished())){var o=this.getValues("lspace","rspace");i=o.lspace,n=o.rspace,t.NAMEDSPACE[i]&&(i=t.NAMEDSPACE[i]),t.NAMEDSPACE[n]&&(n=t.NAMEDSPACE[n])}var r=e.lastChild,l=a.Element("span");l.style.cssText=r.getAttribute("style")||"",l.style.setProperty("-webkit-margin-start",i),l.style.setProperty("-webkit-margin-end",n),r.setAttribute("style",l.style.cssText)}}}),n.mmultiscripts.Augment({toNativeMML:function(e){if(t.mmultiscriptsBug&&0!==this.data.length){var i=this.NativeMMLelement("mrow");this.NativeMMLattributes(i),this.data[0]?this.data[0].toNativeMML(i):i.appendChild(this.NativeMMLelement("mrow"));var a,n,s=i.removeChild(i.lastChild),o=this.data.length;for(a=1;a<o&&"mprescripts"!==this.data[a].type;a+=2)(n=this.NativeMMLelement("msubsup")).appendChild(s),this.data[a]?this.data[a].toNativeMML(n):n.appendChild(this.NativeMMLelement("mrow")),a+1<o&&this.data[a+1]?this.data[a+1].toNativeMML(n):n.appendChild(this.NativeMMLelement("mrow")),s=n;for(i.appendChild(s),a++;a<o;a+=2)(n=this.NativeMMLelement("msubsup")).appendChild(this.NativeMMLelement("mrow")),this.data[a]?this.data[a].toNativeMML(n):n.appendChild(this.NativeMMLelement("mrow")),a+1<o&&this.data[a+1]?this.data[a+1].toNativeMML(n):n.appendChild(this.NativeMMLelement("mrow")),i.insertBefore(n,s);e.appendChild(i)}else this.SUPER(arguments).toNativeMML.call(this,e)}}),e.Register.StartupHook("TeX mathchoice Ready",(function(){n.TeXmathchoice.Augment({toNativeMML:function(t){this.Core().toNativeMML(t)}})})),setTimeout(MathJax.Callback(["loadComplete",t,"jax.js"]),0)})),e.Browser.Select({MSIE:function(e){var i=document.documentMode||0;t.msieIE8HeightBug=8===i},Opera:function(e){t.stretchyMoBug=!0,t.tableLabelBug=!0,t.mfencedBug=!0,t.miBug=!0,t.mmultiscriptsBug=!0},Firefox:function(e){var i=e.versionAtLeast("29.0");t.ffTableWidthBug=!e.versionAtLeast("13.0"),t.forceReflow=!i,t.widthBug=!i,t.mtdWidthBug=!0,t.handlesVariants=i,t.spaceWidthBug=!e.versionAtLeast("20.0"),t.tableSpacingBug=!e.versionAtLeast("33.0"),t.tableLabelBug=!0,t.mfencedBug=!0},Chrome:function(e){t.tableSpacingBug=!0,t.tableLabelBug=!0,t.mfencedBug=!0},Safari:function(e){t.tableSpacingBug=!0,t.tableLabelBug=!0,t.mfencedBug=!0,t.miItalicBug=!0,t.webkitMoSpacingBug=!0,t.spaceWidthBug=!0,t.mmultiscriptsBug=!0}}),e.Register.StartupHook("End Cookie",(function(){"None"!==e.config.menuSettings.zoom&&i.Require("[MathJax]/extensions/MathZoom.js")}))}(MathJax.OutputJax.NativeMML,MathJax.Hub,MathJax.Ajax,MathJax.HTML),function(t,e,i){var a,n,s,o,r=e.Browser.isMobile,l=MathJax.Object.isArray,h=function(){var t=[].slice.call(arguments,0);return t[0][0]=["HTML-CSS",t[0][0]],MathJax.Message.Set.apply(MathJax.Message,t)},u=MathJax.Object.Subclass({timeout:1e3*(r?15:8),comparisonFont:["sans-serif","monospace","script","Times","Courier","Arial","Helvetica"],testSize:["40px","50px","60px","30px","20px"],FedoraSTIXcheck:{family:"STIXSizeOneSym",testString:"abcABC",noStyleChar:!0},Init:function(){this.div=MathJax.HTML.addElement(document.body,"div",{style:{position:"absolute",width:0,height:0,overflow:"hidden",padding:0,border:0,margin:0}},[["div",{id:"MathJax_Font_Test",style:{position:"absolute",visibility:"hidden",top:0,left:0,width:"auto","min-width":0,"max-width":"none",padding:0,border:0,margin:0,whiteSpace:"nowrap",textAlign:"left",textIndent:0,textTransform:"none",lineHeight:"normal",letterSpacing:"normal",wordSpacing:"normal",fontSize:this.testSize[0],fontWeight:"normal",fontStyle:"normal",fontSizeAdjust:"none"}},[""]]]).firstChild,this.text=this.div.firstChild},findFont:function(t,e){var i=null;if(e&&this.testCollection(e))i=e;else for(var a=0,n=t.length;a<n;a++)if(t[a]!==e&&this.testCollection(t[a])){i=t[a];break}return"STIX"===i&&this.testFont(this.FedoraSTIXcheck)&&(i=null),i},testCollection:function(t){var e={testString:"() {} []"};return e.family={TeX:"MathJax_Size1",STIX:"STIXSizeOneSym"}[t]||t.replace(/-(Math)?/,"")+"MathJax_Size1","STIX"===t&&(e.noStyleChar=!0),this.testFont(e)},testFont:function(t){t.isWebFont&&i.FontFaceBug?this.div.style.fontWeight=this.div.style.fontStyle="normal":(this.div.style.fontWeight=t.weight||"normal",this.div.style.fontStyle=t.style||"normal");var e=t.familyFixed||t.family;t.isWebFont||e.match(/^(STIX|MathJax)|'/)||(e=e.replace(/_/g," ").replace(/([a-z])([A-Z])/g,"$1 $2").replace(/ Jax/,"Jax")+"','"+e+"','"+e+"-",t.weight&&(e+="Bold"),t.style&&(e+="Italic"),t.weight||t.style||(e+="Regular"),t.familyFixed=e="'"+e+"'");var a=this.getComparisonWidths(t.testString,t.noStyleChar),n=null;if(a&&(this.div.style.fontFamily=e+","+this.comparisonFont[0],this.div.offsetWidth==a[0]&&(this.div.style.fontFamily=e+","+this.comparisonFont[a[2]],this.div.offsetWidth==a[1]&&(n=!1)),null===n&&(this.div.offsetWidth!=a[3]||this.div.offsetHeight!=a[4])))if(!t.noStyleChar&&i.FONTDATA&&i.FONTDATA.hasStyleChar)for(var s=0,o=this.testSize.length;s<o;s++)this.testStyleChar(t,this.testSize[s])&&(n=!0,o=0);else n=!0;return i.safariTextNodeBug?this.div.innerHTML="":this.text.nodeValue="",n},styleChar:"",versionChar:"",compChar:"",testStyleChar:function(t,e){var a=3+(t.weight?2:0)+(t.style?4:0),n="",s=0,o=this.div.style.fontSize;this.div.style.fontSize=e,i.msieItalicWidthBug&&"italic"===t.style&&(this.text.nodeValue=n=this.compChar,s=this.div.offsetWidth),i.safariTextNodeBug?this.div.innerHTML=this.compChar+n:this.text.nodeValue=this.compChar+n;var r=this.div.offsetWidth-s;i.safariTextNodeBug?this.div.innerHTML=this.styleChar+n:this.text.nodeValue=this.styleChar+n;var l=Math.floor((this.div.offsetWidth-s)/r+.5);return l===a&&(i.safariTextNodeBug?this.div.innerHTML=this.versionChar+n:this.text.nodeValue=this.versionChar+n,t.version=Math.floor((this.div.offsetWidth-s)/r+1.5)/2),this.div.style.fontSize=o,l===a},getComparisonWidths:function(t,e){i.FONTDATA&&i.FONTDATA.hasStyleChar&&!e&&(t+=this.styleChar+" "+this.compChar),i.safariTextNodeBug?this.div.innerHTML=t:this.text.nodeValue=t,this.div.style.fontFamily=this.comparisonFont[0];var a=this.div.offsetWidth;this.div.style.fontFamily=i.webFontDefault;for(var n=this.div.offsetWidth,s=this.div.offsetHeight,o=1,r=this.comparisonFont.length;o<r;o++)if(this.div.style.fontFamily=this.comparisonFont[o],this.div.offsetWidth!=a)return[a,this.div.offsetWidth,o,n,s];return null},loadWebFont:function(a){e.Startup.signal.Post("HTML-CSS Jax - Web-Font "+i.fontInUse+"/"+a.directory);var n=h(["LoadWebFont","Loading web-font %1",i.fontInUse+"/"+a.directory]),s=MathJax.Callback({}),o=MathJax.Callback(["loadComplete",this,a,n,s]);return t.timer.start(t,[this.checkWebFont,a,o],0,this.timeout),s},loadComplete:function(a,n,s,o){if(MathJax.Message.Clear(n),o===t.STATUS.OK)return this.webFontLoaded=!0,void s();if(this.loadError(a),e.Browser.isFirefox&&i.allowWebFonts){var r=document.location.protocol+"//"+document.location.hostname;""!=document.location.port&&(r+=":"+document.location.port),r+="/",t.fileURL(i.webfontDir).substr(0,r.length)!==r&&this.firefoxFontError(a)}this.webFontLoaded?s():i.loadWebFontError(a,s)},loadError:function(t){h(["CantLoadWebFont","Can't load web font %1",i.fontInUse+"/"+t.directory],null,2e3),e.Startup.signal.Post("HTML-CSS Jax - web font error for "+i.fontInUse+"/"+t.directory)},firefoxFontError:function(t){h(["FirefoxCantLoadWebFont","Firefox can't load web fonts from a remote host"],null,3e3),e.Startup.signal.Post("HTML-CSS Jax - Firefox web fonts on remote host error")},checkWebFont:function(t,e,a){t.time(a)||(i.Font.testFont(e)?a(t.STATUS.OK):setTimeout(t,t.delay))},fontFace:function(e){var a=i.allowWebFonts,n=i.FONTDATA.FONTS[e];i.msieFontCSSBug&&!n.family.match(/-Web$/)&&(n.family+="-Web"),n.isWebFont&&delete n.familyFixed;var s=i.webfontDir+"/"+a,o=t.fileURL(s),r=e.replace(/-b/,"-B").replace(/-i/,"-I").replace(/-Bold-/,"-Bold");r.match(/-/)||(r+="-Regular"),r+="svg"===a?".svg#"+r:"."+a;var l=t.fileRev(s+"/"+r.replace(/#.*/,"")),h={"font-family":n.family,src:"url('"+o+"/"+r+l+"')"};return"otf"===a?(r=r.replace(/otf$/,"woff"),l=t.fileRev(s+"/"+r),h.src+=" format('opentype')",o=t.fileURL(i.webfontDir+"/woff"),h.src="url('"+o+"/"+r+l+"') format('woff'), "+h.src):"eot"!==a&&(h.src+=" format('"+a+"')"),i.FontFaceBug&&n.isWebFont||(e.match(/-bold/)&&(h["font-weight"]="bold"),e.match(/-italic/)&&(h["font-style"]="italic")),h}}),d=MathJax.Hub.Browser.isMSIE&&(document.documentMode||0)<8;i.Augment({config:{styles:{".MathJax":{display:"inline","font-style":"normal","font-weight":"normal","line-height":"normal","font-size":"100%","font-size-adjust":"none","text-indent":0,"text-align":"left","text-transform":"none","letter-spacing":"normal","word-spacing":"normal","word-wrap":"normal","white-space":"nowrap",float:"none",direction:"ltr","max-width":"none","max-height":"none","min-width":0,"min-height":0,border:0,padding:0,margin:0},".MathJax:focus, body :focus .MathJax":{display:"inline-table"},".MathJax_Display":{position:"relative",display:"block!important","text-indent":0,"max-width":"none","max-height":"none","min-width":0,"min-height":0,width:"100%"},".MathJax.MathJax_FullWidth":{"text-align":"center",display:(d?"block":"table-cell")+"!important",width:(d?"100%":"10000em")+"!important"},".MathJax img, .MathJax nobr, .MathJax a":{border:0,padding:0,margin:0,"max-width":"none","max-height":"none","min-width":0,"min-height":0,"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","box-sizing":"content-box"},".MathJax nobr":{"white-space":"nowrap!important"},".MathJax img":{display:"inline!important",float:"none!important"},".MathJax *":{transition:"none","-webkit-transition":"none","-moz-transition":"none","-ms-transition":"none","-o-transition":"none"},".MathJax_Processing":{visibility:"hidden",position:"fixed",width:0,height:0,overflow:"hidden"},".MathJax_Processed":{display:"none!important"},".MathJax_test":{"font-style":"normal","font-weight":"normal","font-size":"100%","font-size-adjust":"none","text-indent":0,"text-transform":"none","letter-spacing":"normal","word-spacing":"normal",overflow:"hidden",height:"1px"},".MathJax_test.mjx-test-display":{display:(d?"block":"table")+"!important"},".MathJax_test.mjx-test-inline":{display:"inline!important","margin-right":"-1px"},".MathJax_test.mjx-test-default":{display:"block!important",clear:"both"},".MathJax_ex_box":{display:"inline-block!important",position:"absolute",overflow:"hidden","min-height":0,"max-height":"none",padding:0,border:0,margin:0,width:"1px",height:"60ex"},".MathJax_em_box":{display:"inline-block!important",position:"absolute",overflow:"hidden","min-height":0,"max-height":"none",padding:0,border:0,margin:0,width:"1px",height:"60em"},".mjx-test-inline .MathJax_left_box":{display:"inline-block",width:0,float:"left"},".mjx-test-inline .MathJax_right_box":{display:"inline-block",width:0,float:"right"},".mjx-test-display .MathJax_right_box":{display:(d?"block":"table-cell")+"!important",width:(d?"100%":"10000em")+"!important","min-width":0,"max-width":"none",padding:0,border:0,margin:0},".MathJax .MathJax_HitBox":{cursor:"text",background:"white",opacity:0,filter:"alpha(opacity=0)"},".MathJax .MathJax_HitBox *":{filter:"none",opacity:1,background:"transparent"},"#MathJax_Tooltip":{position:"absolute",left:0,top:0,width:"auto",height:"auto",display:"none"},"#MathJax_Tooltip *":{filter:"none",opacity:1,background:"transparent"},"@font-face":{"font-family":"MathJax_Blank",src:"url('about:blank')"}}},settings:e.config.menuSettings,Font:null,webFontDefault:"MathJax_Blank",allowWebFonts:"otf",maxStretchyParts:1e3,fontName:{TeXLocal:"TeX",TeXWeb:["","TeX"],TeXImage:["",""],STIXLocal:["STIX","STIX-Web"],STIXWeb:"STIX-Web",AsanaMathWeb:"Asana-Math",GyrePagellaWeb:"Gyre-Pagella",GyreTermesWeb:"Gyre-Termes",LatinModernWeb:"Latin-Modern",NeoEulerWeb:"Neo-Euler"},fontInUse:"generic",FONTDATA:{TeX_factor:1,baselineskip:1.2,lineH:.8,lineD:.2,ffLineH:.8,FONTS:{},VARIANT:{normal:{fonts:[]},"-generic-variant":{},"-largeOp":{},"-smallOp":{}},RANGES:[],DELIMITERS:{},RULECHAR:45,REMAP:{}},Config:function(){this.require||(this.require=[]),this.Font=u(),this.SUPER(arguments).Config.call(this);var t=this.settings,i=this.config,a=t.font;this.adjustAvailableFonts&&this.adjustAvailableFonts(i.availableFonts),t.scale&&(i.scale=t.scale),a&&"Auto"!==a&&this.fontName[a]&&(i.availableFonts=[],delete i.fonts,l(this.fontName[a])?(i.preferredFont=this.fontName[a][0],i.webFont=this.fontName[a][1]):i.preferredFont=i.webFont=this.fontName[a],i.preferredFont&&(i.availableFonts[0]=i.preferredFont)),i.fonts&&(i.availableFonts=i.fonts,i.preferredFont=i.webFont=i.fonts[0],"STIX"===i.webFont&&(i.webFont+="-Web")),!(a=this.Font.findFont(i.availableFonts,i.preferredFont))&&this.allowWebFonts&&(a=i.webFont)&&(this.webFonts=!0),!a&&this.config.imageFont&&(a=i.imageFont,this.imgFonts=!0),a?(this.fontInUse=a,this.fontDir+="/"+a,this.webfontDir+="/"+a,this.require.push(this.fontDir+"/fontdata.js"),this.imgFonts&&(this.require.push(this.directory+"/imageFonts.js"),e.Startup.signal.Post("HTML-CSS Jax - using image fonts"))):(h(["CantFindFontUsing","Can't find a valid font using %1","["+this.config.availableFonts.join(", ")+"]"],null,3e3),e.Startup.signal.Post("HTML-CSS Jax - no valid font")),this.require.push(MathJax.OutputJax.extensionDir+"/MathEvents.js")},Startup:function(){n=MathJax.Extension.MathEvents.Event,s=MathJax.Extension.MathEvents.Touch,o=MathJax.Extension.MathEvents.Hover,this.ContextMenu=n.ContextMenu,this.Mousedown=n.AltContextMenu,this.Mouseover=o.Mouseover,this.Mouseout=o.Mouseout,this.Mousemove=o.Mousemove,this.hiddenDiv=this.Element("div",{style:{visibility:"hidden",overflow:"hidden",position:"absolute",top:0,height:"1px",width:"auto",padding:0,border:0,margin:0,textAlign:"left",textIndent:0,textTransform:"none",lineHeight:"normal",letterSpacing:"normal",wordSpacing:"normal"}}),document.body.firstChild?document.body.insertBefore(this.hiddenDiv,document.body.firstChild):document.body.appendChild(this.hiddenDiv),this.hiddenDiv=this.addElement(this.hiddenDiv,"div",{id:"MathJax_Hidden"});var e=this.addElement(this.hiddenDiv,"div",{style:{width:"5in"}});if(this.pxPerInch=e.offsetWidth/5,this.hiddenDiv.removeChild(e),this.startMarker=this.createStrut(this.Element("span"),10,!0),this.endMarker=this.addText(this.Element("span"),"x").parentNode,this.HDspan=this.Element("span"),this.operaHeightBug&&this.createStrut(this.HDspan,0),this.msieInlineBlockAlignBug){this.HDimg=this.addElement(this.HDspan,"img",{style:{height:"0px",width:"1px"}});try{this.HDimg.src="about:blank"}catch(t){}}else this.HDimg=this.createStrut(this.HDspan,0);return this.TestSpan=this.Element("span",{className:"MathJax_test"},[["span",{className:"MathJax_left_box"}],["span",{className:"MathJax_ex_box"}],["span",{className:"MathJax_em_box"}],["span",{className:"MathJax_right_box"}]]),t.Styles(this.config.styles,["InitializeHTML",this])},removeSTIXfonts:function(t){for(var e=0,i=t.length;e<i;e++)"STIX"===t[e]&&(t.splice(e,1),i--,e--);"STIX"===this.config.preferredFont&&(this.config.preferredFont=t[0])},PreloadWebFonts:function(){if(i.allowWebFonts&&i.config.preloadWebFonts)for(var t=0,e=i.config.preloadWebFonts.length;t<e;t++){var a=i.FONTDATA.FONTS[i.config.preloadWebFonts[t]];a.available||i.Font.testFont(a)}},InitializeHTML:function(){if(this.PreloadWebFonts(),this.getDefaultExEm(),!this.defaultEm){var a=MathJax.Callback();return t.timer.start(t,(function(t){t.time(a)?e.signal.Post(["HTML-CSS Jax - no default em size"]):(i.getDefaultExEm(),i.defaultEm?a():setTimeout(t,t.delay))}),this.defaultEmDelay,this.defaultEmTimeout),a}},defaultEmDelay:100,defaultEmTimeout:1e3,getDefaultExEm:function(){var t=document.body.appendChild(this.TestSpan.cloneNode(!0));t.className+=" mjx-test-inline mjx-test-default",this.defaultEx=t.childNodes[1].offsetHeight/60,this.defaultEm=t.childNodes[2].offsetHeight/60,this.defaultWidth=Math.max(0,t.lastChild.offsetLeft-t.firstChild.offsetLeft-2),document.body.removeChild(t)},preTranslate:function(t){var i,a,o,r,l,h,u,d,c,m,p,f,M,g=t.jax[this.id],x=g.length,b=!1,v=this.config.linebreaks.automatic,T=this.config.linebreaks.width;for(v?((b=null!=T.match(/^\s*(\d+(\.\d*)?%\s*)?container\s*$/))?T=T.replace(/\s*container\s*/,""):f=this.defaultWidth,""===T&&(T="100%")):f=1e5,i=0;i<x;i++)(o=g[i]).parentNode&&((r=o.previousSibling)&&String(r.className).match(/^MathJax(_Display)?( MathJax_Process(ing|ed))?$/)&&r.parentNode.removeChild(r),o.MathJax.preview&&(o.MathJax.preview.style.display="none"),(d=o.MathJax.elementJax)&&(d.HTMLCSS={display:"block"===d.root.Get("display")},l=h=this.Element("span",{className:"MathJax",id:d.inputID+"-Frame",isMathJax:!0,jaxID:this.id,oncontextmenu:n.Menu,onmousedown:n.Mousedown,onmouseover:n.Mouseover,onmouseout:n.Mouseout,onmousemove:n.Mousemove,onclick:n.Click,ondblclick:n.DblClick,onkeydown:n.Keydown,tabIndex:e.getTabOrder(d)}),e.Browser.noContextMenu&&(l.ontouchstart=s.start,l.ontouchend=s.end),d.HTMLCSS.display?(h=this.Element("div",{className:"MathJax_Display"})).appendChild(l):this.msieDisappearingBug&&(l.style.display="inline-block"),h.className+=" MathJax_Processing",o.parentNode.insertBefore(h,o),d.HTMLCSS.span=l,d.HTMLCSS.div=h,(u=this.TestSpan.cloneNode(!0)).className+=" mjx-test-"+(d.HTMLCSS.display?"display":"inline"),o.parentNode.insertBefore(u,o)));var y=[];for(i=0;i<x;i++)(o=g[i]).parentNode&&(h=(u=o.previousSibling).previousSibling,(d=o.MathJax.elementJax)&&(c=u.childNodes[1].offsetHeight/60,m=u.childNodes[2].offsetHeight/60,M=Math.max(0,d.HTMLCSS.display?u.lastChild.offsetWidth-1:u.lastChild.offsetLeft-u.firstChild.offsetLeft-2),0!==c&&"NaN"!==c||(y.push(h),d.HTMLCSS.isHidden=!0,c=this.defaultEx,m=this.defaultEm,M=this.defaultWidth),0!==M||d.HTMLCSS.display||(M=this.defaultWidth),b&&(f=M),p=this.config.matchFontHeight?c/this.TeX.x_height/m:1,p=Math.floor(Math.max(this.config.minScaleAdjust/100,p)*this.config.scale),d.HTMLCSS.scale=p/100,d.HTMLCSS.fontSize=p+"%",d.HTMLCSS.em=d.HTMLCSS.outerEm=m,this.em=m*p/100,d.HTMLCSS.ex=c,d.HTMLCSS.cwidth=M/this.em,d.HTMLCSS.lineWidth=v?this.length2em(T,1,f/this.em):1e6));for(i=0,a=y.length;i<a;i++)this.hiddenDiv.appendChild(y[i]),this.addElement(this.hiddenDiv,"br");for(i=0;i<x;i++)(o=g[i]).parentNode&&(d=g[i].MathJax.elementJax)&&(o.parentNode.removeChild(o.previousSibling),o.MathJax.preview&&(o.MathJax.preview.style.display=""));t.HTMLCSSeqn=t.HTMLCSSlast=0,t.HTMLCSSi=-1,t.HTMLCSSchunk=this.config.EqnChunk,t.HTMLCSSdelay=!1},PHASE:{I:1,II:2,III:3},Translate:function(t,i){if(t.parentNode){i.HTMLCSSdelay&&(i.HTMLCSSdelay=!1,e.RestartAfter(MathJax.Callback.Delay(this.config.EqnChunkDelay)));var a=t.MathJax.elementJax,n=a.root,s=a.HTMLCSS.div,o=a.HTMLCSS.span;if(document.getElementById(o.id)){this.getMetrics(a),1!==this.scale&&(o.style.fontSize=a.HTMLCSS.fontSize),this.initImg(o),this.initHTML(n,o),this.savePreview(t);try{n.setTeXclass(),n.toHTML(o,s,this.PHASE.I)}catch(e){if(e.restart)for(;o.firstChild;)o.removeChild(o.firstChild);throw this.restorePreview(t),e}return this.restorePreview(t),s.className=s.className.split(/ /)[0]+" MathJax_Processed",e.signal.Post(["New Math Pending",a.inputID]),i.HTMLCSSeqn+=i.i-i.HTMLCSSi,i.HTMLCSSi=i.i,i.HTMLCSSeqn>=i.HTMLCSSlast+i.HTMLCSSchunk&&(this.postTranslate(i,!0),i.HTMLCSSchunk=Math.floor(i.HTMLCSSchunk*this.config.EqnChunkFactor),i.HTMLCSSdelay=!0),!1}}},savePreview:function(t){var e=t.MathJax.preview;e&&(t.MathJax.tmpPreview=document.createElement("span"),e.parentNode.replaceChild(t.MathJax.tmpPreview,e))},restorePreview:function(t){var e=t.MathJax.tmpPreview;e&&(e.parentNode.replaceChild(t.MathJax.preview,e),delete t.MathJax.tmpPreview)},getMetrics:function(t){var e=t.HTMLCSS;this.em=a.mbase.prototype.em=e.em*e.scale,this.outerEm=e.em,this.scale=e.scale,this.cwidth=e.cwidth,this.linebreakWidth=e.lineWidth},postTranslate:function(t,i){var a,n,s,o,r=t.jax[this.id];for(s=t.HTMLCSSlast,o=t.HTMLCSSeqn;s<o;s++)if((a=r[s])&&a.parentNode&&a.MathJax.elementJax){var l=(a.MathJax.elementJax.HTMLCSS||{}).div;l&&(l.className=l.className.split(/ /)[0]),a.MathJax.preview&&(a.MathJax.preview.innerHTML="")}for(s=t.HTMLCSSlast,o=t.HTMLCSSeqn;s<o;s++)(a=r[s])&&a.parentNode&&a.MathJax.elementJax&&(n=a.MathJax.elementJax,this.getMetrics(n),n.HTMLCSS.span&&n.HTMLCSS.div&&n.root.toHTML(n.HTMLCSS.span,n.HTMLCSS.div,this.PHASE.II));for(s=t.HTMLCSSlast,o=t.HTMLCSSeqn;s<o;s++)(a=r[s])&&a.parentNode&&a.MathJax.elementJax&&(n=a.MathJax.elementJax,this.getMetrics(n),n.HTMLCSS.span&&n.HTMLCSS.div&&(n.root.toHTML(n.HTMLCSS.span,n.HTMLCSS.div,this.PHASE.III),n.HTMLCSS.isHidden&&a.parentNode.insertBefore(n.HTMLCSS.div,a),delete n.HTMLCSS.span,delete n.HTMLCSS.div,a.MathJax.state=n.STATE.PROCESSED,e.signal.Post(["New Math",a.MathJax.elementJax.inputID])));if(this.forceReflow){var h=(document.styleSheets||[])[0]||{};h.disabled=!0,h.disabled=!1}t.HTMLCSSlast=t.HTMLCSSeqn},getJaxFromMath:function(t){t.parentNode.className.match(/MathJax_Display/)&&(t=t.parentNode);do{t=t.nextSibling}while(t&&"script"!==t.nodeName.toLowerCase());return e.getJaxFor(t)},getHoverSpan:function(t,e){return t.root.HTMLspanElement()},getHoverBBox:function(t,e,i){var a=e.bbox,n=t.HTMLCSS.outerEm,s={w:a.w*n,h:a.h*n,d:a.d*n};return a.width&&(s.width=a.width),s},Zoom:function(t,s,o,r,l){s.className="MathJax",s.style.fontSize=t.HTMLCSS.fontSize;var h=s.appendChild(this.TestSpan.cloneNode(!0)),u=h.childNodes[2].offsetHeight/60;this.em=a.mbase.prototype.em=u,this.outerEm=u/t.HTMLCSS.scale,h.parentNode.removeChild(h),this.scale=t.HTMLCSS.scale,this.linebreakWidth=t.HTMLCSS.lineWidth,this.cwidth=t.HTMLCSS.cwidth,this.zoomScale=parseInt(e.config.menuSettings.zscale)/100,this.idPostfix="-zoom",t.root.toHTML(s,s),this.idPostfix="",this.zoomScale=1;var d=t.root.HTMLspanElement().bbox,c=d.width;if(c){d.tw&&(r=d.tw*u),d.w*u<r&&(r=d.w*u),s.style.width=Math.floor(r-1.5*i.em)+"px",s.style.display="inline-block";for(var m=(t.root.id||"MathJax-Span-"+t.root.spanID)+"-zoom",p=document.getElementById(m).firstChild;p&&p.style.width!==c;)p=p.nextSibling;if(p){var f=p.offsetWidth;p.style.width="100%",f>r&&(s.style.width=f+100+"px")}}p=s.firstChild.firstChild.style,null!=d.H&&d.H>d.h&&(p.marginTop=i.Em(d.H-Math.max(d.h,i.FONTDATA.lineH))),null!=d.D&&d.D>d.d&&(p.marginBottom=i.Em(d.D-Math.max(d.d,i.FONTDATA.lineD))),d.lw<0&&(p.paddingLeft=i.Em(-d.lw)),d.rw>d.w&&(p.marginRight=i.Em(d.rw-d.w)),s.style.position="absolute",c||(o.style.position="absolute");var M=s.offsetWidth,g=s.offsetHeight,x=o.offsetHeight,b=o.offsetWidth;return s.style.position=o.style.position="",{Y:-n.getBBox(s).h,mW:b,mH:x,zW:M,zH:g}},initImg:function(t){},initHTML:function(t,e){},initFont:function(e){var a=i.FONTDATA.FONTS,n=i.config.availableFonts;return n&&n.length&&i.Font.testFont(a[e])?(a[e].available=!0,a[e].familyFixed&&(a[e].family=a[e].familyFixed,delete a[e].familyFixed),null):this.allowWebFonts?(a[e].isWebFont=!0,i.FontFaceBug&&(a[e].family=e,i.msieFontCSSBug&&(a[e].family+="-Web")),t.Styles({"@font-face":this.Font.fontFace(e)})):null},Remove:function(t){var e=document.getElementById(t.inputID+"-Frame");e&&(t.HTMLCSS.display&&(e=e.parentNode),e.parentNode.removeChild(e)),delete t.HTMLCSS},getHD:function(t,e){if(t.bbox&&this.config.noReflows&&!e)return{h:t.bbox.h,d:t.bbox.d};var i=t.style.position;t.style.position="absolute",this.HDimg.style.height="0px",t.appendChild(this.HDspan);var a={h:t.offsetHeight};return this.HDimg.style.height=a.h+"px",a.d=t.offsetHeight-a.h,a.h-=a.d,a.h/=this.em,a.d/=this.em,t.removeChild(this.HDspan),t.style.position=i,a},getW:function(t){var e,i,a=(t.bbox||{}).w,n=t;if(t.bbox&&this.config.noReflows&&!1!==t.bbox.exactW)return t.bbox.exactW||(t.style.paddingLeft&&(a+=this.unEm(t.style.paddingLeft)*(t.scale||1)),t.style.paddingRight&&(a+=this.unEm(t.style.paddingRight)*(t.scale||1))),a;if(t.bbox&&t.bbox.exactW)return a;if(t.bbox&&a>=0&&!this.initialSkipBug&&!this.msieItalicWidthBug||this.negativeBBoxes||!t.firstChild)e=t.offsetWidth,i=t.parentNode.offsetHeight;else if(t.bbox&&a<0&&this.msieNegativeBBoxBug)e=-t.offsetWidth,i=t.parentNode.offsetHeight;else{var s=t.style.position;t.style.position="absolute",n=this.startMarker,t.insertBefore(n,t.firstChild),t.appendChild(this.endMarker),e=this.endMarker.offsetLeft-n.offsetLeft,t.removeChild(this.endMarker),t.removeChild(n),t.style.position=s}return null!=i&&(t.parentNode.HH=i/this.em),e/this.em},Measured:function(t,e){var i=t.bbox;if(null==i.width&&i.w&&!i.isMultiline){var a=this.getW(t);i.rw+=a-i.w,i.w=a,i.exactW=!0}return e||(e=t.parentNode),e.bbox||(e.bbox=i),t},Remeasured:function(t,e){e.bbox=this.Measured(t,e).bbox},MeasureSpans:function(t){var e,i,a,n,s,o,r,l,h=[];for(i=0,a=t.length;i<a;i++)(e=t[i])&&(n=e.bbox,l=this.parentNode(e),n.exactW||n.width||0===n.w||n.isMultiline||this.config.noReflows&&!1!==n.exactW?l.bbox||(l.bbox=n):this.negativeBBoxes||!e.firstChild||n.w>=0&&!this.initialSkipBug||n.w<0&&this.msieNegativeBBoxBug?h.push([e]):this.initialSkipBug?(s=this.startMarker.cloneNode(!0),o=this.endMarker.cloneNode(!0),e.insertBefore(s,e.firstChild),e.appendChild(o),h.push([e,s,o,e.style.position]),e.style.position="absolute"):(o=this.endMarker.cloneNode(!0),e.appendChild(o),h.push([e,null,o])));for(i=0,a=h.length;i<a;i++)n=(e=h[i][0]).bbox,l=this.parentNode(e),n.w>=0&&!this.initialSkipBug||this.negativeBBoxes||!e.firstChild?(r=e.offsetWidth,l.HH=l.offsetHeight/this.em):n.w<0&&this.msieNegativeBBoxBug?(r=-e.offsetWidth,l.HH=l.offsetHeight/this.em):r=h[i][2].offsetLeft-((h[i][1]||{}).offsetLeft||0),r/=this.em,n.rw+=r-n.w,n.w=r,n.exactW=!0,l.bbox||(l.bbox=n);for(i=0,a=h.length;i<a;i++)(e=h[i])[1]&&(e[1].parentNode.removeChild(e[1]),e[0].style.position=e[3]),e[2]&&e[2].parentNode.removeChild(e[2])},Em:function(t){return Math.abs(t)<6e-4?"0em":t.toFixed(3).replace(/\.?0+$/,"")+"em"},EmRounded:function(t){return Math.abs(t)<6e-4?"0em":(t=(Math.round(t*i.em)+.05)/i.em).toFixed(3).replace(/\.?0+$/,"")+"em"},unEm:function(t){return parseFloat(t)},Px:function(t){return((t*=this.em)<0?"-":"")+Math.abs(t).toFixed(1).replace(/\.?0+$/,"")+"px"},unPx:function(t){return parseFloat(t)/this.em},Percent:function(t){return(100*t).toFixed(1).replace(/\.?0+$/,"")+"%"},length2em:function(t,e,n){if("string"!=typeof t&&(t=t.toString()),""===t)return"";if(t===a.SIZE.NORMAL)return 1;if(t===a.SIZE.BIG)return 2;if(t===a.SIZE.SMALL)return.71;if("infinity"===t)return i.BIGDIMEN;var s=this.FONTDATA.TeX_factor,o=(i.zoomScale||1)/i.em;if(t.match(/mathspace$/))return i.MATHSPACE[t]*s;var r=t.match(/^\s*([-+]?(?:\.\d+|\d+(?:\.\d*)?))?(pt|em|ex|mu|px|pc|in|mm|cm|%)?/),l=parseFloat(r[1]||"1"),h=r[2];return null==n&&(n=1),null==e&&(e=1),"em"===h?l*s:"ex"===h?l*i.TeX.x_height*s:"%"===h?l/100*n:"px"===h?l*o:"pt"===h?l/10*s:"pc"===h?1.2*l*s:"in"===h?l*this.pxPerInch*o:"cm"===h?l*this.pxPerInch*o/2.54:"mm"===h?l*this.pxPerInch*o/25.4:"mu"===h?l/18*s*e:l*n},thickness2em:function(t,e){var n=i.TeX.rule_thickness;return t===a.LINETHICKNESS.MEDIUM?n:t===a.LINETHICKNESS.THIN?.67*n:t===a.LINETHICKNESS.THICK?1.67*n:this.length2em(t,e,n)},border2em:function(t,e){return t===a.LINETHICKNESS.THIN&&(t="1px"),t===a.LINETHICKNESS.MEDIUM&&(t="3px"),t===a.LINETHICKNESS.THICK&&(t="5px"),this.length2em(t,e)},getPadding:function(t){var e={top:0,right:0,bottom:0,left:0},i=!1;for(var a in e)if(e.hasOwnProperty(a)){var n=t.style["padding"+a.charAt(0).toUpperCase()+a.substr(1)];n&&(e[a]=this.length2em(n),i=!0)}return!!i&&e},getBorders:function(t){var e={top:0,right:0,bottom:0,left:0},i={},n=!1;for(var s in e)if(e.hasOwnProperty(s)){var o="border"+s.charAt(0).toUpperCase()+s.substr(1);t.style[o+"Style"]&&(n=!0,e[s]=this.border2em(t.style[o+"Width"]||a.LINETHICKNESS.MEDIUM),i[o]=[t.style[o+"Width"],t.style[o+"Style"],t.style[o+"Color"]].join(" "))}return e.css=i,!!n&&e},setBorders:function(t,e){if(e)for(var i in e.css)e.css.hasOwnProperty(i)&&(t.style[i]=e.css[i])},createStrut:function(t,e,i){var a=this.Element("span",{isMathJax:!0,style:{display:"inline-block",overflow:"hidden",height:e+"px",width:"1px",marginRight:"-1px"}});return i?t.insertBefore(a,t.firstChild):t.appendChild(a),a},createBlank:function(t,e,i){var a=this.Element("span",{isMathJax:!0,style:{display:"inline-block",overflow:"hidden",height:"1px",width:this.Em(e)}});return e<0&&(a.style.marginRight=a.style.width,a.style.width=0),i?t.insertBefore(a,t.firstChild):t.appendChild(a),a},createShift:function(t,e,i){var a=this.Element("span",{style:{marginLeft:this.Em(e)},isMathJax:!0});return i?t.insertBefore(a,t.firstChild):t.appendChild(a),a},createSpace:function(t,e,n,s,o,r){e<-n&&(n=-e);var l=this.Em(e+n),h=this.Em(-n);if(this.msieInlineBlockAlignBug&&(h=this.Em(i.getHD(t.parentNode,!0).d-n)),t.isBox||r){var u=null==t.scale?1:t.scale;t.bbox={exactW:!0,h:e*u,d:n*u,w:s*u,rw:s*u,lw:0},t.style.height=l,t.style.verticalAlign=h,t.HH=(e+n)*u}else t=this.addElement(t,"span",{style:{height:l,verticalAlign:h},isMathJax:!0});return s>=0?(t.style.width=this.Em(s),t.style.display="inline-block",t.style.overflow="hidden"):(this.msieNegativeSpaceBug&&(t.style.height=""),t.style.marginLeft=this.Em(s),i.safariNegativeSpaceBug&&t.parentNode.firstChild==t&&this.createBlank(t,0,!0)),o&&o!==a.COLOR.TRANSPARENT&&(t.style.backgroundColor=o,t.style.position="relative"),t},createRule:function(t,e,a,n,s){e<-a&&(a=-e);var o=i.TeX.min_rule_thickness,r=1;n>0&&n*this.em<o&&(n=o/this.em),e+a>0&&(e+a)*this.em<o&&(e*=r=1/(e+a)*(o/this.em),a*=r),s=s?"solid "+s:"solid";var l={display:"inline-block",overflow:"hidden",verticalAlign:this.Em(-a)};n>e+a?(l.borderTop=this.Px(e+a)+" "+s,l.width=this.Em(n),l.height=this.msieRuleBug&&e+a>0?this.Em(e+a):0):(l.borderLeft=this.Px(n)+" "+s,l.width=this.msieRuleBug&&n>0?this.Em(n):0,l.height=this.Em(e+a));var h=this.addElement(t,"span",{style:l,noAdjust:!0,HH:e+a,isMathJax:!0,bbox:{h:e,d:a,w:n,rw:n,lw:0,exactW:!0}});return(t.isBox||"mspace"==t.className)&&(t.bbox=h.bbox,t.HH=e+a),h},createFrame:function(t,e,i,a,n,s){e<-i&&(i=-e);var o=2*n;this.msieFrameSizeBug&&(a<o&&(a=o),e+i<o&&(e=o-i)),this.msieBorderWidthBug&&(o=0);var r=this.Em(e+i-o),l=this.Em(-i-n),h=this.Em(a-o),u=this.Px(n)+" "+s,d=this.addElement(t,"span",{style:{border:u,display:"inline-block",overflow:"hidden",width:h,height:r},bbox:{h:e,d:i,w:a,rw:a,lw:0,exactW:!0},noAdjust:!0,HH:e+i,isMathJax:!0});return l&&(d.style.verticalAlign=l),d},parentNode:function(t){var e=t.parentNode;return"a"===e.nodeName.toLowerCase()&&(e=e.parentNode),e},createStack:function(t,e,i){this.msiePaddingWidthBug&&this.createStrut(t,0);var a=String(i).match(/%$/),n=a||null==i?0:i;return t=this.addElement(t,"span",{noAdjust:!0,HH:0,isMathJax:!0,style:{display:"inline-block",position:"relative",width:a?"100%":this.Em(n),height:0}}),e||(t.parentNode.bbox=t.bbox={exactW:!0,h:-this.BIGDIMEN,d:-this.BIGDIMEN,w:n,lw:this.BIGDIMEN,rw:a||null==i?-this.BIGDIMEN:i},a&&(t.bbox.width=i)),t},createBox:function(t,e){var i=this.addElement(t,"span",{style:{position:"absolute"},isBox:!0,isMathJax:!0});return null!=e&&(i.style.width=e),i},addBox:function(t,e){return e.style.position="absolute",e.isBox=e.isMathJax=!0,t.appendChild(e)},placeBox:function(t,e,a,n){t.isMathJax=!0;var s=i.parentNode(t),o=t.bbox,r=s.bbox;this.msiePlaceBoxBug&&this.addText(t,this.NBSP),this.imgSpaceBug&&this.addText(t,this.imgSpace);var l,h=0;if(null!=t.HH)l=t.HH;else if(o){var u=t.firstChild;l=Math.max(3,3*(u&&u.scale||1),o.h+o.d)}else l=t.offsetHeight/this.em;if(t.noAdjust||(l+=1,l=Math.round(l*this.em)/this.em,this.msieInlineBlockAlignBug?this.addElement(t,"img",{className:"MathJax_strut",border:0,src:"about:blank",isMathJax:!0,style:{width:0,height:this.Em(l)}}):(this.addElement(t,"span",{isMathJax:!0,style:{display:"inline-block",width:0,height:this.Em(l)}}),i.chromeHeightBug&&(l-=(t.lastChild.offsetHeight-Math.round(l*this.em))/this.em))),o&&(this.initialSkipBug&&(o.lw<0&&(h=o.lw,i.createBlank(t,-h,!0)),o.rw>o.w&&i.createBlank(t,o.rw-o.w+.1)),!this.msieClipRectBug&&!o.noclip&&!n)){var d=3/this.em,c=l-(null==o.H?o.h:o.H)-d,m=l+(null==o.D?o.d:o.D)+d,p=o.rw+1e3;t.style.clip="rect("+this.Em(c)+" "+this.Em(p)+" "+this.Em(m)+" "+this.Em(-1e3)+")"}t.style.top=this.Em(-a-l),t.style.left=this.Em(e+h),o&&r&&(null!=o.H&&(null==r.H||o.H+a>r.H)&&(r.H=o.H+a),null!=o.D&&(null==r.D||o.D-a>r.D)&&(r.D=o.D-a),o.h+a>r.h&&(r.h=o.h+a),o.d-a>r.d&&(r.d=o.d-a),null!=r.H&&r.H<=r.h&&delete r.H,null!=r.D&&r.D<=r.d&&delete r.D,o.w+e>r.w&&(r.w=o.w+e,null==r.width&&(s.style.width=this.Em(r.w))),o.rw+e>r.rw&&(r.rw=o.rw+e),o.lw+e<r.lw&&(r.lw=o.lw+e),null==o.width||o.isFixed||(null==r.width&&(s.style.width=r.width="100%",o.minWidth&&(s.style.minWidth=r.minWidth=o.minWidth)),t.style.width=o.width),o.tw&&(r.tw=o.tw))},alignBox:function(t,i,a,n,s){if(null==n&&(n=0),this.placeBox(t,n,a),this.msiePlaceBoxBug){for(var o=t.lastChild;o&&"#text"!==o.nodeName;)o=o.previousSibling;o&&t.removeChild(o)}var r=t.bbox;if(!r.isMultiline||s){var l=null!=r.width&&!r.isFixed,h=0,u=n-r.w/2,d="50%";this.initialSkipBug&&(h=r.w-r.rw-.1,u+=r.lw),u=this.msieMarginScaleBug?u*this.em+"px":this.Em(u),l&&(u=0===n?"":this.Em(n),d=50-parseFloat(r.width)/2+"%"),e.Insert(t.style,{right:{left:"",right:this.Em(h-n)},center:{left:d,marginLeft:u}}[i])}},setStackWidth:function(t,e){if("number"==typeof e){t.style.width=this.Em(Math.max(0,e));var i=t.bbox;i&&(i.w=e,i.exactW=!0),(i=t.parentNode.bbox)&&(i.w=e,i.exactW=!0)}else t.style.width=t.parentNode.style.width="100%",t.bbox&&(t.bbox.width=e),t.parentNode.bbox&&(t.parentNode.bbox.width=e)},createDelimiter:function(i,n,s,o,r){if(!n)return i.bbox={h:0,d:0,w:this.TeX.nulldelimiterspace,lw:0},i.bbox.rw=i.bbox.w,void this.createSpace(i,i.bbox.h,i.bbox.d,i.bbox.w);o||(o=1),s instanceof Array||(s=[s,s]);var l=s[1];s=s[0];for(var h={alias:n};h.alias;)n=h.alias,(h=this.FONTDATA.DELIMITERS[n])||(h={HW:[0,this.FONTDATA.VARIANT[a.VARIANT.NORMAL]]});h.load&&e.RestartAfter(t.Require(this.fontDir+"/fontdata-"+h.load+".js"));for(var u=0,d=h.HW.length;u<d;u++)if(h.HW[u][0]*o>=s-.01||u==d-1&&!h.stretch){h.HW[u][2]&&(o*=h.HW[u][2]),h.HW[u][3]&&(n=h.HW[u][3]);var c=this.addElement(i,"span");return this.createChar(c,[n,h.HW[u][1]],o,r),i.bbox=c.bbox,i.offset=.65*i.bbox.w,void(i.scale=o)}h.stretch&&this["extendDelimiter"+h.dir](i,l,h.stretch,o,r)},extendDelimiterV:function(t,e,i,a,n){var s=this.createStack(t,!0),o=this.createBox(s),r=this.createBox(s);this.createChar(o,i.top||i.ext,a,n),this.createChar(r,i.bot||i.ext,a,n);var l,h={bbox:{w:0,lw:0,rw:0}},u=h,d=o.bbox.h+o.bbox.d+r.bbox.h+r.bbox.d,c=-o.bbox.h;if(this.placeBox(o,0,c,!0),c-=o.bbox.d,i.mid&&(u=this.createBox(s),this.createChar(u,i.mid,a,n),d+=u.bbox.h+u.bbox.d),i.min&&e<d*i.min&&(e=d*i.min),e>d){h=this.Element("span"),this.createChar(h,i.ext,a,n);var m,p,f=h.bbox.h+h.bbox.d,M=f-.05,g=i.mid?2:1;p=m=Math.min(Math.ceil((e-d)/(g*M)),this.maxStretchyParts),i.fullExtenders||(M=(e-d)/(g*m));var x=m/(m+1)*(f-M);for(c+=x+(M=f-x)-h.bbox.h;g-- >0;){for(;m-- >0;)this.msieCloneNodeBug?(l=this.Element("span"),this.createChar(l,i.ext,a,n)):l=h.cloneNode(!0),l.bbox=h.bbox,c-=M,this.placeBox(this.addBox(s,l),0,c,!0);c+=x-h.bbox.d,i.mid&&g&&(this.placeBox(u,0,c-u.bbox.h,!0),m=p,c+=-(u.bbox.h+u.bbox.d)+x+M-h.bbox.h)}}else c+=(d-e)/2,i.mid&&(this.placeBox(u,0,c-u.bbox.h,!0),c+=-(u.bbox.h+u.bbox.d)),c+=(d-e)/2;this.placeBox(r,0,c-r.bbox.h,!0),c-=r.bbox.h+r.bbox.d,t.bbox={w:Math.max(o.bbox.w,h.bbox.w,r.bbox.w,u.bbox.w),lw:Math.min(o.bbox.lw,h.bbox.lw,r.bbox.lw,u.bbox.lw),rw:Math.max(o.bbox.rw,h.bbox.rw,r.bbox.rw,u.bbox.rw),h:0,d:-c,exactW:!0},t.scale=a,t.offset=.55*t.bbox.w,t.isMultiChar=!0,this.setStackWidth(s,t.bbox.w)},extendDelimiterH:function(t,e,i,a,n){var s=this.createStack(t,!0),o=this.createBox(s),r=this.createBox(s);this.createChar(o,i.left||i.rep,a,n),this.createChar(r,i.right||i.rep,a,n);var l=this.Element("span");this.createChar(l,i.rep,a,n);var h,u={bbox:{h:-this.BIGDIMEN,d:-this.BIGDIMEN}};this.placeBox(o,-o.bbox.lw,0,!0);var d,c=o.bbox.rw-o.bbox.lw+(r.bbox.rw-r.bbox.lw)-.05,m=o.bbox.rw-o.bbox.lw-.025;if(i.mid&&(u=this.createBox(s),this.createChar(u,i.mid,a,n),c+=u.bbox.w),i.min&&e<c*i.min&&(e=c*i.min),e>c){var p,f,M=l.bbox.rw-l.bbox.lw,g=M-.05,x=i.mid?2:1;for(f=p=Math.min(Math.ceil((e-c)/(x*g)),this.maxStretchyParts),i.fillExtenders||(g=(e-c)/(x*p)),g=M-(d=p/(p+1)*(M-g)),m-=l.bbox.lw+d;x-- >0;){for(;p-- >0;)this.cloneNodeBug?(h=this.Element("span"),this.createChar(h,i.rep,a,n)):h=l.cloneNode(!0),h.bbox=l.bbox,this.placeBox(this.addBox(s,h),m,0,!0),m+=g;i.mid&&x&&(this.placeBox(u,m,0,!0),m+=u.bbox.w-d,p=f)}}else m-=(c-e)/2,i.mid&&(this.placeBox(u,m,0,!0),m+=u.bbox.w),m-=(c-e)/2;m-=r.bbox.lw,this.placeBox(r,m,0,!0),t.bbox={w:m+r.bbox.rw,lw:0,rw:m+r.bbox.rw,h:Math.max(o.bbox.h,l.bbox.h,r.bbox.h,u.bbox.h),d:Math.max(o.bbox.d,l.bbox.d,r.bbox.d,u.bbox.d),exactW:!0},t.scale=a,t.isMultiChar=!0,this.setStackWidth(s,t.bbox.w)},createChar:function(t,e,i,n){t.isMathJax=!0;var s=t,o="",r={fonts:[e[1]],noRemap:!0};if(n&&n===a.VARIANT.BOLD&&(r.fonts=[e[1]+"-bold",e[1]]),"string"!=typeof e[1]&&(r=e[1]),e[0]instanceof Array)for(var l=0,h=e[0].length;l<h;l++)o+=String.fromCharCode(e[0][l]);else o=String.fromCharCode(e[0]);e[4]&&(i*=e[4]),1!==i||e[3]?(s=this.addElement(t,"span",{style:{fontSize:this.Percent(i)},scale:i,isMathJax:!0}),this.handleVariant(s,r,o),t.bbox=s.bbox):this.handleVariant(t,r,o),e[2]&&(t.style.marginLeft=this.Em(e[2])),e[3]&&(t.firstChild.style.verticalAlign=this.Em(e[3]),t.bbox.h+=e[3],t.bbox.h<0&&(t.bbox.h=0)),e[5]&&(t.bbox.h+=e[5]),e[6]&&(t.bbox.d+=e[6]),this.AccentBug&&0===t.bbox.w&&(s.firstChild.nodeValue+=this.NBSP)},positionDelimiter:function(t,e){e-=t.bbox.h,t.bbox.d-=e,t.bbox.h+=e,e&&(this.safariVerticalAlignBug||this.konquerorVerticalAlignBug||this.operaVerticalAlignBug&&t.isMultiChar?(""===t.firstChild.style.display&&""!==t.style.top&&(t=t.firstChild,e-=i.unEm(t.style.top)),t.style.position="relative",t.style.top=this.Em(-e)):(t.style.verticalAlign=this.Em(e),i.ffVerticalAlignBug&&(i.createRule(t.parentNode,t.bbox.h,0,0),delete t.parentNode.bbox)))},handleVariant:function(t,e,n){var s,o,r,h,u="",d=t,c=!!t.style.fontFamily;if(0!==n.length){t.bbox||(t.bbox={w:0,h:-this.BIGDIMEN,d:-this.BIGDIMEN,rw:-this.BIGDIMEN,lw:this.BIGDIMEN}),e||(e=this.FONTDATA.VARIANT[a.VARIANT.NORMAL]),h=e;for(var m=0,p=n.length;m<p;m++){if(e=h,s=n.charCodeAt(m),n.charAt(m),s>=55296&&s<56319){if(m++,s=(s-55296<<10)+(n.charCodeAt(m)-56320)+65536,this.FONTDATA.RemapPlane1){var f=this.FONTDATA.RemapPlane1(s,e);s=f.n,e=f.variant}}else{var M,g,x=this.FONTDATA.RANGES;for(M=0,g=x.length;M<g;M++)if("alpha"!==x[M].name||!e.noLowerCase){var b=e["offset"+x[M].offset];if(b&&s>=x[M].low&&s<=x[M].high){if(x[M].remap&&x[M].remap[s])s=b+x[M].remap[s];else{if(x[M].remapOnly)break;s=s-x[M].low+b,x[M].add&&(s+=x[M].add)}e["variant"+x[M].offset]&&(e=this.FONTDATA.VARIANT[e["variant"+x[M].offset]]);break}}}if(e.remap&&e.remap[s]?(s=e.remap[s],e.remap.variant&&(e=this.FONTDATA.VARIANT[e.remap.variant])):this.FONTDATA.REMAP[s]&&!e.noRemap&&(s=this.FONTDATA.REMAP[s]),l(s)&&(e=this.FONTDATA.VARIANT[s[1]],s=s[0]),"string"!=typeof s){if(o=(r=this.lookupChar(e,s))[s],c||!this.checkFont(r,d.style)&&!o[5].img){u.length&&(this.addText(d,u),u="");var v=!!d.style.fontFamily||!!t.style.fontStyle||!!t.style.fontWeight||!r.directory||c;c=!1,d!==t&&(v=!this.checkFont(r,t.style),d=t),v&&(d=this.addElement(t,"span",{isMathJax:!0,subSpan:!0})),this.handleFont(d,r,d!==t)}u=this.handleChar(d,r,o,s,u),(o[5]||{}).space||(o[0]/1e3>t.bbox.h&&(t.bbox.h=o[0]/1e3),o[1]/1e3>t.bbox.d&&(t.bbox.d=o[1]/1e3)),t.bbox.w+o[3]/1e3<t.bbox.lw&&(t.bbox.lw=t.bbox.w+o[3]/1e3),t.bbox.w+o[4]/1e3>t.bbox.rw&&(t.bbox.rw=t.bbox.w+o[4]/1e3),t.bbox.w+=o[2]/1e3,(o[5]||{}).isUnknown&&(t.bbox.exactW=!1)}else p=(n=s+n.substr(m+1)).length,m=-1}u.length&&this.addText(d,u),t.scale&&1!==t.scale&&(t.bbox.h*=t.scale,t.bbox.d*=t.scale,t.bbox.w*=t.scale,t.bbox.lw*=t.scale,t.bbox.rw*=t.scale),i.isChar(n)&&r.skew&&r.skew[s]&&(t.bbox.skew=r.skew[s])}},checkFont:function(t,e){var i=e.fontWeight||"normal";return i.match(/^\d+$/)&&(i=parseInt(i)>=600?"bold":"normal"),t.family.replace(/'/g,"")===e.fontFamily.replace(/'/g,"")&&((t.style||"normal")===(e.fontStyle||"normal")&&(t.weight||"normal")===i||this.FontFaceBug&&""!==e.fontFamily)},handleFont:function(t,e,a){if(t.style.fontFamily=e.family,e.directory||(t.style.fontSize=Math.floor(i.config.scale/i.scale+.5)+"%"),!i.FontFaceBug||!e.isWebFont){var n=e.style||"normal",s=e.weight||"normal";("normal"!==n||a)&&(t.style.fontStyle=n),("normal"!==s||a)&&(t.style.fontWeight=s)}},handleChar:function(t,e,a,n,s){var o=a[5];if(o.space)return s.length&&this.addText(t,s),i.createShift(t,a[2]/1e3),"";if(o.img)return this.handleImg(t,e,a,n,s);if(o.isUnknown&&this.FONTDATA.DELIMITERS[n]){s.length&&this.addText(t,s);var r=t.scale;return i.createDelimiter(t,n,0,1,e),"V"===this.FONTDATA.DELIMITERS[n].dir&&(t.style.verticalAlign=this.Em(t.bbox.d),t.bbox.h+=t.bbox.d,t.bbox.d=0),t.scale=r,a[0]=1e3*t.bbox.h,a[1]=1e3*t.bbox.d,a[2]=1e3*t.bbox.w,a[3]=1e3*t.bbox.lw,a[4]=1e3*t.bbox.rw,""}if(null==o.c)if(n<=65535)o.c=String.fromCharCode(n);else{var l=n-65536;o.c=String.fromCharCode(55296+(l>>10))+String.fromCharCode(56320+(1023&l))}return i.ffFontOptimizationBug&&a[4]-a[2]>125&&(t.style.textRendering="optimizeLegibility"),o.rfix?(this.addText(t,s+o.c),i.createShift(t,o.rfix/1e3),""):a[2]||!this.msieAccentBug&&!this.combiningCharBug||s.length?s+o.c:this.combiningCharBug?(i.addElement(t,"span",{style:{marginLeft:i.Em(a[3]/1e3)}},[o.c]),""):(i.createShift(t,a[3]/1e3),i.createShift(t,(a[4]-a[3])/1e3),this.addText(t,o.c),i.createShift(t,-a[4]/1e3),"")},handleImg:function(t,e,i,a,n){return n},lookupChar:function(t,e){var a,n;if(!t.FONTS){var s=this.FONTDATA.FONTS,o=t.fonts||this.FONTDATA.VARIANT.normal.fonts;for(o instanceof Array||(o=[o]),t.fonts!=o&&(t.fonts=o),t.FONTS=[],a=0,n=o.length;a<n;a++)s[o[a]]&&(t.FONTS.push(s[o[a]]),s[o[a]].name=o[a])}for(a=0,n=t.FONTS.length;a<n;a++){var r=t.FONTS[a];if("string"==typeof r&&(delete t.FONTS,this.loadFont(r)),r[e]){if(5===r[e].length&&(r[e][5]={}),!i.allowWebFonts||r.available)return r;this.loadWebFont(r)}else this.findBlock(r,e)}return this.unknownChar(t,e)},unknownChar:function(t,a){var n=t.defaultFont||{family:i.config.undefinedFamily};return t.bold&&(n.weight="bold"),t.italic&&(n.style="italic"),n[a]||(n[a]=[800,200,500,0,500,{isUnknown:!0}]),e.signal.Post(["HTML-CSS Jax - unknown char",a,t]),n},isChar:function(t){if(1===t.length)return!0;if(2!==t.length)return!1;var e=t.charCodeAt(0);return e>=55296&&e<56319},findBlock:function(t,e){if(t.Ranges)for(var i=0,a=t.Ranges.length;i<a;i++){if(e<t.Ranges[i][0])return;if(e<=t.Ranges[i][1]){for(var n=t.Ranges[i][2],s=t.Ranges.length-1;s>=0;s--)t.Ranges[s][2]==n&&t.Ranges.splice(s,1);this.loadFont(t.directory+"/"+n+".js")}}},loadFont:function(a){var n=MathJax.Callback.Queue();n.Push(["Require",t,this.fontDir+"/"+a]),this.imgFonts&&(MathJax.isPacked||(a=a.replace(/\/([^\/]*)$/,i.imgPacked+"/$1")),n.Push(["Require",t,this.webfontDir+"/png/"+a])),e.RestartAfter(n.Push({}))},loadWebFont:function(t){t.available=t.isWebFont=!0,i.FontFaceBug&&(t.family=t.name,i.msieFontCSSBug&&(t.family+="-Web")),e.RestartAfter(this.Font.loadWebFont(t))},loadWebFontError:function(i,a){e.Startup.signal.Post("HTML-CSS Jax - disable web fonts"),i.isWebFont=!1,this.config.imageFont&&this.config.imageFont===this.fontInUse?(this.imgFonts=!0,e.Startup.signal.Post("HTML-CSS Jax - switch to image fonts"),e.Startup.signal.Post("HTML-CSS Jax - using image fonts"),h(["WebFontNotAvailable","Web-Fonts not available -- using image fonts instead"],null,3e3),t.Require(this.directory+"/imageFonts.js",a)):(this.allowWebFonts=!1,a())},Element:MathJax.HTML.Element,addElement:MathJax.HTML.addElement,TextNode:MathJax.HTML.TextNode,addText:MathJax.HTML.addText,ucMatch:MathJax.HTML.ucMatch,BIGDIMEN:1e7,ID:0,idPostfix:"",GetID:function(){return this.ID++,this.ID},MATHSPACE:{veryverythinmathspace:1/18,verythinmathspace:2/18,thinmathspace:3/18,mediummathspace:4/18,thickmathspace:5/18,verythickmathspace:6/18,veryverythickmathspace:7/18,negativeveryverythinmathspace:-1/18,negativeverythinmathspace:-2/18,negativethinmathspace:-3/18,negativemediummathspace:-4/18,negativethickmathspace:-5/18,negativeverythickmathspace:-6/18,negativeveryverythickmathspace:-7/18},TeX:{x_height:.430554,quad:1,num1:.676508,num2:.393732,num3:.44373,denom1:.685951,denom2:.344841,sup1:.412892,sup2:.362892,sup3:.288888,sub1:.15,sub2:.247217,sup_drop:.386108,sub_drop:.05,delim1:2.39,delim2:1,axis_height:.25,rule_thickness:.06,big_op_spacing1:.111111,big_op_spacing2:.166666,big_op_spacing3:.2,big_op_spacing4:.6,big_op_spacing5:.1,scriptspace:.1,nulldelimiterspace:.12,delimiterfactor:901,delimitershortfall:.3,min_rule_thickness:1.25},NBSP:" ",rfuzz:0}),MathJax.Hub.Register.StartupHook("mml Jax Ready",(function(){(a=MathJax.ElementJax.mml).mbase.Augment({toHTML:function(t){t=this.HTMLcreateSpan(t),"mrow"!=this.type&&(t=this.HTMLhandleSize(t));for(var e=0,i=this.data.length;e<i;e++)this.data[e]&&this.data[e].toHTML(t);var a,n=this.HTMLcomputeBBox(t),s=t.bbox.h,o=t.bbox.d,r=!1;for(e=0,i=n.length;e<i;e++)a=n[e].HTMLspanElement().bbox,n[e].forceStretch||a.h!==s||a.d!==o?(n[e].HTMLstretchV(t,s,o),r=!0):n[e].needsBBox&&(r=!0);return r&&this.HTMLcomputeBBox(t,!0),this.HTMLlineBreaks(t)&&(t=this.HTMLmultiline(t)),this.HTMLhandleSpace(t),this.HTMLhandleColor(t),1===this.data.length&&this.data[0]&&(a=this.data[0].HTMLspanElement().bbox).skew&&(t.bbox.skew=a.skew),t},HTMLlineBreaks:function(){return!1},HTMLmultiline:function(){a.mbase.HTMLautoloadFile("multiline")},HTMLcomputeBBox:function(t,e,i,a){null==i&&(i=0),null==a&&(a=this.data.length);for(var n=t.bbox={exactW:!0},s=[];i<a;){var o=this.data[i];o&&(!e&&o.HTMLcanStretch("Vertical")&&(s.push(o),o=o.CoreMO()||o,s[s.length-1].needsBBox=o!==this.data[i]),this.HTMLcombineBBoxes(o,n),i++)}return this.HTMLcleanBBox(n),s},HTMLcombineBBoxes:function(t,e){null==e.w&&this.HTMLemptyBBox(e);var a=t.bbox?t:t.HTMLspanElement();if(a&&a.bbox){var n=a.bbox;n.d>e.d&&(e.d=n.d),n.h>e.h&&(e.h=n.h),null!=n.D&&n.D>e.D&&(e.D=n.D),null!=n.H&&n.H>e.H&&(e.H=n.H),a.style.paddingLeft&&(e.w+=i.unEm(a.style.paddingLeft)*(a.scale||1)),e.w+n.lw<e.lw&&(e.lw=e.w+n.lw),e.w+n.rw>e.rw&&(e.rw=e.w+n.rw),e.w+=n.w,a.style.paddingRight&&(e.w+=i.unEm(a.style.paddingRight)*(a.scale||1)),n.width&&(e.width=n.width,e.minWidth=n.minWidth),n.tw&&(e.tw=n.tw),n.ic?e.ic=n.ic:delete e.ic,e.exactW&&!n.exactW&&(e.exactW=n.exactW)}},HTMLemptyBBox:function(t){return t.h=t.d=t.H=t.D=t.rw=-i.BIGDIMEN,t.w=0,t.lw=i.BIGDIMEN,t},HTMLcleanBBox:function(t){t.h===this.BIGDIMEN&&(t.h=t.d=t.H=t.D=t.w=t.rw=t.lw=0),t.D<=t.d&&delete t.D,t.H<=t.h&&delete t.H},HTMLzeroBBox:function(){return{h:0,d:0,w:0,lw:0,rw:0}},HTMLcanStretch:function(t){if(this.isEmbellished()){var e=this.Core();if(e&&e!==this)return e.HTMLcanStretch(t)}return!1},HTMLstretchH:function(t,e){return this.HTMLspanElement()},HTMLstretchV:function(t,e,i){return this.HTMLspanElement()},HTMLnotEmpty:function(t){for(;t;){if("mrow"!==t.type&&"texatom"!==t.type||t.data.length>1)return!0;t=t.data[0]}return!1},HTMLmeasureChild:function(t,e){this.data[t]?i.Measured(this.data[t].toHTML(e),e):e.bbox=this.HTMLzeroBBox()},HTMLboxChild:function(t,e){return this.data[t]||this.SetData(t,a.mrow()),this.data[t].toHTML(e)},HTMLcreateSpan:function(t){if(this.spanID){var e=this.HTMLspanElement();if(e&&(e.parentNode===t||(e.parentNode||{}).parentNode===t)){for(;e.firstChild;)e.removeChild(e.firstChild);return e.bbox=this.HTMLzeroBBox(),e.scale=1,e.isMultChar=e.HH=null,e.style.cssText="",e}}return this.href&&(t=i.addElement(t,"a",{href:this.href,isMathJax:!0})),t=i.addElement(t,"span",{className:this.type,isMathJax:!0}),i.imgHeightBug&&(t.style.display="inline-block"),this.class&&(t.className+=" "+this.class),this.spanID||(this.spanID=i.GetID()),t.id=(this.id||"MathJax-Span-"+this.spanID)+i.idPostfix,t.bbox=this.HTMLzeroBBox(),this.styles={},this.style&&(t.style.cssText=this.style,t.style.fontSize&&(this.mathsize=t.style.fontSize,t.style.fontSize=""),this.styles={border:i.getBorders(t),padding:i.getPadding(t)},this.styles.border&&(t.style.border=""),this.styles.padding&&(t.style.padding="")),this.href&&(t.parentNode.bbox=t.bbox),this.HTMLaddAttributes(t),t},HTMLaddAttributes:function(t){if(this.attrNames)for(var i=this.attrNames,n=a.nocopyAttributes,s=e.config.ignoreMMLattributes,o="mstyle"===this.type?a.math.prototype.defaults:this.defaults,r=0,l=i.length;r<l;r++){var h=i[r];0!=s[h]&&(n[h]||s[h]||null!=o[h]||void 0!==t[h])||t.setAttribute(h,this.attr[h])}},HTMLspanElement:function(){return this.spanID?document.getElementById((this.id||"MathJax-Span-"+this.spanID)+i.idPostfix):null},HTMLhandleVariant:function(t,e,a){i.handleVariant(t,e,a)},HTMLhandleSize:function(t){return t.scale||(t.scale=this.HTMLgetScale(),1!==t.scale&&(t.style.fontSize=i.Percent(t.scale))),t},HTMLhandleDir:function(t){var e=this.Get("dir",!0);return e&&(t.dir=e),t},HTMLhandleColor:function(t){var e=this.getValues("mathcolor","color");this.mathbackground&&(e.mathbackground=this.mathbackground),this.background&&(e.background=this.background),this.style&&t.style.backgroundColor&&(e.mathbackground=t.style.backgroundColor,t.style.backgroundColor="transparent");var n=(this.styles||{}).border,s=(this.styles||{}).padding;if(e.color&&!this.mathcolor&&(e.mathcolor=e.color),e.background&&!this.mathbackground&&(e.mathbackground=e.background),e.mathcolor&&(t.style.color=e.mathcolor),e.mathbackground&&e.mathbackground!==a.COLOR.TRANSPARENT||n||s){var o=t.bbox,r=o.exact?0:1/i.em,l=0,h=0,u=t.style.paddingLeft,d=t.style.paddingRight;this.isToken&&(l=o.lw,h=o.rw-o.w),""!==u&&(l+=i.unEm(u)*(t.scale||1)),""!==d&&(h-=i.unEm(d)*(t.scale||1));var c=i.PaddingWidthBug||o.keepPadding||o.exactW?0:h-l,m=Math.max(0,i.getW(t)+c),p=o.h+o.d,f=-o.d,M=0,g=0;m>0&&(m+=2*r,l-=r),p>0&&(p+=2*r,f-=r),h=-m-l,n&&(h-=n.right,f-=n.bottom,M+=n.left,g+=n.right,o.h+=n.top,o.d+=n.bottom,o.w+=n.left+n.right,o.lw-=n.left,o.rw+=n.right),s&&(p+=s.top+s.bottom,m+=s.left+s.right,h-=s.right,f-=s.bottom,M+=s.left,g+=s.right,o.h+=s.top,o.d+=s.bottom,o.w+=s.left+s.right,o.lw-=s.left,o.rw+=s.right),g&&(t.style.paddingRight=i.Em(g));var x=i.Element("span",{id:"MathJax-Color-"+this.spanID+i.idPostfix,isMathJax:!0,style:{display:"inline-block",backgroundColor:e.mathbackground,width:i.Em(m),height:i.Em(p),verticalAlign:i.Em(f),marginLeft:i.Em(l),marginRight:i.Em(h)}});return i.setBorders(x,n),o.width&&(x.style.width=o.width,x.style.marginRight="-"+o.width),i.msieInlineBlockAlignBug&&(x.style.position="relative",x.style.width=x.style.height=0,x.style.verticalAlign=x.style.marginLeft=x.style.marginRight="",x.style.border=x.style.padding="",n&&i.msieBorderWidthBug&&(p+=n.top+n.bottom,m+=n.left+n.right),x.style.width=i.Em(M+r),i.placeBox(i.addElement(x,"span",{noAdjust:!0,isMathJax:!0,style:{display:"inline-block",position:"absolute",overflow:"hidden",background:e.mathbackground||"transparent",width:i.Em(m),height:i.Em(p)}}),l,o.h+r),i.setBorders(x.firstChild,n)),t.parentNode.insertBefore(x,t),i.msieColorPositionBug&&(t.style.position="relative"),x}return null},HTMLremoveColor:function(){var t=document.getElementById("MathJax-Color-"+this.spanID+i.idPostfix);t&&t.parentNode.removeChild(t)},HTMLhandleSpace:function(t){if(this.hasMMLspacing()){if("mo"!==this.type)return;var e=this.getValues("scriptlevel","lspace","rspace");if(e.scriptlevel<=0||this.hasValue("lspace")||this.hasValue("rspace")){var a=this.HTMLgetMu(t);e.lspace=Math.max(0,i.length2em(e.lspace,a)),e.rspace=Math.max(0,i.length2em(e.rspace,a));for(var n=this,s=this.Parent();s&&s.isEmbellished()&&s.Core()===n;)n=s,s=s.Parent(),t=n.HTMLspanElement();e.lspace&&(t.style.paddingLeft=i.Em(e.lspace)),e.rspace&&(t.style.paddingRight=i.Em(e.rspace))}}else{var o=this.texSpacing();""!==o&&(this.HTMLgetScale(),o=i.length2em(o,this.scale)/(t.scale||1)*this.mscale,t.style.paddingLeft&&(o+=i.unEm(t.style.paddingLeft)),t.style.paddingLeft=i.Em(o))}},HTMLgetScale:function(){if(this.scale)return this.scale*this.mscale;var t=1,e=this.getValues("scriptlevel","fontsize");if(e.mathsize=(this.isToken?this:this.Parent()).Get("mathsize"),this.style){var a=this.HTMLspanElement();""!=a.style.fontSize&&(e.fontsize=a.style.fontSize)}return e.fontsize&&!this.mathsize&&(e.mathsize=e.fontsize),0!==e.scriptlevel&&(e.scriptlevel>2&&(e.scriptlevel=2),t=Math.pow(this.Get("scriptsizemultiplier"),e.scriptlevel),e.scriptminsize=i.length2em(this.Get("scriptminsize")),t<e.scriptminsize&&(t=e.scriptminsize)),this.scale=t,this.mscale=i.length2em(e.mathsize),t*this.mscale},HTMLgetMu:function(t){var e=1,i=this.getValues("scriptlevel","scriptsizemultiplier");return t.scale&&1!==t.scale&&(e=1/t.scale),0!==i.scriptlevel&&(i.scriptlevel>2&&(i.scriptlevel=2),e=Math.sqrt(Math.pow(i.scriptsizemultiplier,i.scriptlevel))),e},HTMLgetVariant:function(){var t=this.getValues("mathvariant","fontfamily","fontweight","fontstyle");if(t.hasVariant=this.Get("mathvariant",!0),t.hasVariant||(t.family=t.fontfamily,t.weight=t.fontweight,t.style=t.fontstyle),this.style){var e=this.HTMLspanElement();!t.family&&e.style.fontFamily&&(t.family=e.style.fontFamily),!t.weight&&e.style.fontWeight&&(t.weight=e.style.fontWeight),!t.style&&e.style.fontStyle&&(t.style=e.style.fontStyle)}t.weight&&t.weight.match(/^\d+$/)&&(t.weight=parseInt(t.weight)>600?"bold":"normal");var n=t.mathvariant;return this.variantForm&&(n="-"+i.fontInUse+"-variant"),t.family&&!t.hasVariant?(!t.weight&&t.mathvariant.match(/bold/)&&(t.weight="bold"),!t.style&&t.mathvariant.match(/italic/)&&(t.style="italic"),{FONTS:[],fonts:[],noRemap:!0,defaultFont:{family:t.family,style:t.style,weight:t.weight}}):("bold"===t.weight?n={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}[n]||n:"normal"===t.weight&&(n={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}[n]||n),"italic"===t.style?n={normal:a.VARIANT.ITALIC,bold:a.VARIANT.BOLDITALIC,"sans-serif":a.VARIANT.SANSSERIFITALIC,"bold-sans-serif":a.VARIANT.SANSSERIFBOLDITALIC}[n]||n:"normal"===t.style&&(n={italic:a.VARIANT.NORMAL,"bold-italic":a.VARIANT.BOLD,"sans-serif-italic":a.VARIANT.SANSSERIF,"sans-serif-bold-italic":a.VARIANT.BOLDSANSSERIF}[n]||n),n in i.FONTDATA.VARIANT||(n="normal"),i.FONTDATA.VARIANT[n])},HTMLdrawBBox:function(t){var e=t.bbox,a=i.Element("span",{style:{"font-size":t.style.fontSize,display:"inline-block",opacity:.25,"margin-left":i.Em(-e.w)}},[["span",{style:{height:i.Em(e.h),width:i.Em(e.w),"background-color":"red",display:"inline-block"}}],["span",{style:{height:i.Em(e.d),width:i.Em(e.w),"margin-left":i.Em(-e.w),"vertical-align":i.Em(-e.d),"background-color":"green",display:"inline-block"}}]]);t.nextSibling?t.parentNode.insertBefore(a,t.nextSibling):t.parentNode.appendChild(a)}},{HTMLautoload:function(){this.constructor.Augment({toHTML:a.mbase.HTMLautoloadFail});var n=i.autoloadDir+"/"+this.type+".js";e.RestartAfter(t.Require(n))},HTMLautoloadFail:function(){throw Error("HTML-CSS can't autoload '"+this.type+"'")},HTMLautoloadList:{},HTMLautoloadFile:function(n){if(a.mbase.HTMLautoloadList.hasOwnProperty(n))throw Error("HTML-CSS can't autoload file '"+n+"'");a.mbase.HTMLautoloadList[n]=!0;var s=i.autoloadDir+"/"+n+".js";e.RestartAfter(t.Require(s))},HTMLstretchH:function(t,e){return this.HTMLremoveColor(),this.toHTML(t,e)},HTMLstretchV:function(t,e,i){return this.HTMLremoveColor(),this.toHTML(t,e,i)}}),a.chars.Augment({toHTML:function(t,e,a,n){var s=this.data.join("").replace(/[\u2061-\u2064]/g,"");if(a&&(s=a(s,n)),e.fontInherit){var o=Math.floor(i.config.scale/i.scale+.5)+"%";i.addElement(t,"span",{style:{"font-size":o}},[s]),e.bold&&(t.lastChild.style.fontWeight="bold"),e.italic&&(t.lastChild.style.fontStyle="italic"),t.bbox=null;var r=i.getHD(t),l=i.getW(t);t.bbox={h:r.h,d:r.d,w:l,lw:0,rw:l,exactW:!0}}else this.HTMLhandleVariant(t,e,s)}}),a.entity.Augment({toHTML:function(t,e,a,n){var s=this.toString().replace(/[\u2061-\u2064]/g,"");if(a&&(s=a(s,n)),e.fontInherit){var o=Math.floor(i.config.scale/i.scale+.5)+"%";i.addElement(t,"span",{style:{"font-size":o}},[s]),e.bold&&(t.lastChild.style.fontWeight="bold"),e.italic&&(t.lastChild.style.fontStyle="italic"),delete t.bbox;var r=i.getHD(t),l=i.getW(t);t.bbox={h:r.h,d:r.d,w:l,lw:0,rw:l,exactW:!0}}else this.HTMLhandleVariant(t,e,s)}}),a.mi.Augment({toHTML:function(t){(t=this.HTMLhandleSize(this.HTMLcreateSpan(t))).bbox=null;for(var e=this.HTMLgetVariant(),a=0,n=this.data.length;a<n;a++)this.data[a]&&this.data[a].toHTML(t,e);t.bbox||(t.bbox=this.HTMLzeroBBox());var s=this.data.join(""),o=t.bbox;return o.skew&&!i.isChar(s)&&delete o.skew,o.rw>o.w&&i.isChar(s)&&!e.noIC&&(o.ic=o.rw-o.w,i.createBlank(t,o.ic/this.mscale),o.w=o.rw),this.HTMLhandleSpace(t),this.HTMLhandleColor(t),this.HTMLhandleDir(t),t}}),a.mn.Augment({HTMLremapMinus:function(t){return t.replace(/^-/,"−")},toHTML:function(t){(t=this.HTMLhandleSize(this.HTMLcreateSpan(t))).bbox=null;for(var e=this.HTMLgetVariant(),a=this.HTMLremapMinus,n=0,s=this.data.length;n<s;n++)this.data[n]&&(this.data[n].toHTML(t,e,a),a=null);return t.bbox||(t.bbox=this.HTMLzeroBBox()),i.isChar(this.data.join(""))||delete t.bbox.skew,this.HTMLhandleSpace(t),this.HTMLhandleColor(t),this.HTMLhandleDir(t),t}}),a.mo.Augment({toHTML:function(t){if(t=this.HTMLhandleSize(this.HTMLcreateSpan(t)),0==this.data.length)return t;t.bbox=null;var e=this.data.join(""),n=this.HTMLgetVariant(),s=this.getValues("largeop","displaystyle");s.largeop&&(n=i.FONTDATA.VARIANT[s.displaystyle?"-largeOp":"-smallOp"]);var o=this.CoreParent(),r=o&&o.isa(a.msubsup)&&this!==o.data[o.base],l=r?this.remapChars:null;if(i.isChar(e)&&o&&o.isa(a.munderover)&&i.isChar(this.CoreText(o.data[o.base]))){var h=o.data[o.over],u=o.data[o.under];h&&this===h.CoreMO()&&o.Get("accent")?l=i.FONTDATA.REMAPACCENT:u&&this===u.CoreMO()&&o.Get("accentunder")&&(l=i.FONTDATA.REMAPACCENTUNDER)}r&&e.match(/['`"\u00B4\u2032-\u2037\u2057]/)&&(n=i.FONTDATA.VARIANT["-"+i.fontInUse+"-variant"]);for(var d=0,c=this.data.length;d<c;d++)this.data[d]&&this.data[d].toHTML(t,n,this.remap,l);if(t.bbox||(t.bbox=this.HTMLzeroBBox()),i.isChar(e)||delete t.bbox.skew,i.AccentBug&&0===t.bbox.w&&i.isChar(e)&&t.firstChild&&(t.firstChild.nodeValue+=i.NBSP,i.createSpace(t,0,0,-t.offsetWidth/i.em)),s.largeop){var m=i.TeX.axis_height*this.scale*this.mscale,p=(t.bbox.h-t.bbox.d)/2-m;i.safariVerticalAlignBug&&"IMG"===t.lastChild.nodeName?t.lastChild.style.verticalAlign=i.Em(i.unEm(t.lastChild.style.verticalAlign||0)/i.em-p/t.scale):i.konquerorVerticalAlignBug&&"IMG"===t.lastChild.nodeName?(t.style.position="relative",t.lastChild.style.position="relative",t.lastChild.style.top=i.Em(p/t.scale)):t.style.verticalAlign=i.Em(-p/t.scale),t.bbox.h-=p,t.bbox.d+=p,t.bbox.rw>t.bbox.w&&(t.bbox.ic=t.bbox.rw-t.bbox.w,i.createBlank(t,t.bbox.ic/this.mscale),t.bbox.w=t.bbox.rw)}return this.HTMLhandleSpace(t),this.HTMLhandleColor(t),this.HTMLhandleDir(t),t},HTMLcanStretch:function(t){if(!this.Get("stretchy"))return!1;var e=this.data.join("");if(e.length>1)return!1;var n=this.CoreParent();if(n&&n.isa(a.munderover)&&i.isChar(this.CoreText(n.data[n.base]))){var s=n.data[n.over],o=n.data[n.under];s&&this===s.CoreMO()&&n.Get("accent")?e=i.FONTDATA.REMAPACCENT[e]||e:o&&this===o.CoreMO()&&n.Get("accentunder")&&(e=i.FONTDATA.REMAPACCENTUNDER[e]||e)}var r=(e=i.FONTDATA.DELIMITERS[e.charCodeAt(0)])&&e.dir===t.substr(0,1);return this.forceStretch=r&&(this.Get("minsize",!0)||this.Get("maxsize",!0)),r},HTMLstretchV:function(t,e,a){this.HTMLremoveColor();var n,s=this.getValues("symmetric","maxsize","minsize"),o=this.HTMLspanElement(),r=this.HTMLgetMu(o),l=this.HTMLgetScale(),h=i.TeX.axis_height*l;return n=s.symmetric?2*Math.max(e-h,a+h):e+a,s.maxsize=i.length2em(s.maxsize,r,o.bbox.h+o.bbox.d),s.minsize=i.length2em(s.minsize,r,o.bbox.h+o.bbox.d),(n=Math.max(s.minsize,Math.min(s.maxsize,n)))!=s.minsize&&(n=[Math.max(n*i.TeX.delimiterfactor/1e3,n-i.TeX.delimitershortfall),n]),o=this.HTMLcreateSpan(t),i.createDelimiter(o,this.data.join("").charCodeAt(0),n,l),n=s.symmetric?(o.bbox.h+o.bbox.d)/2+h:(o.bbox.h+o.bbox.d)*e/(e+a),i.positionDelimiter(o,n),this.HTMLhandleSpace(o),this.HTMLhandleColor(o),o},HTMLstretchH:function(t,e){this.HTMLremoveColor();var n=this.getValues("maxsize","minsize","mathvariant","fontweight");("bold"===n.fontweight||parseInt(n.fontweight)>=600)&&!this.Get("mathvariant",!0)&&(n.mathvariant=a.VARIANT.BOLD);var s=this.HTMLspanElement(),o=this.HTMLgetMu(s),r=s.scale;return n.maxsize=i.length2em(n.maxsize,o,s.bbox.w),n.minsize=i.length2em(n.minsize,o,s.bbox.w),e=Math.max(n.minsize,Math.min(n.maxsize,e)),s=this.HTMLcreateSpan(t),i.createDelimiter(s,this.data.join("").charCodeAt(0),e,r,n.mathvariant),this.HTMLhandleSpace(s),this.HTMLhandleColor(s),s}}),a.mtext.Augment({toHTML:function(t){t=this.HTMLhandleSize(this.HTMLcreateSpan(t));var e=this.HTMLgetVariant();if(i.config.mtextFontInherit||"merror"===this.Parent().type){var a=this.Get("mathvariant");"monospace"===a?t.className+=" MJX-monospace":a.match(/sans-serif/)&&(t.className+=" MJX-sans-serif"),e={bold:e.bold,italic:e.italic,fontInherit:!0}}for(var n=0,s=this.data.length;n<s;n++)this.data[n]&&this.data[n].toHTML(t,e);return t.bbox||(t.bbox=this.HTMLzeroBBox()),i.isChar(this.data.join(""))||delete t.bbox.skew,this.HTMLhandleSpace(t),this.HTMLhandleColor(t),this.HTMLhandleDir(t),t}}),a.merror.Augment({toHTML:function(t){var e=MathJax.HTML.addElement(t,"span",{style:{display:"inline-block"}});t=this.SUPER(arguments).toHTML.call(this,e);var a=i.getHD(e),n=i.getW(e);return e.bbox={h:a.h,d:a.d,w:n,lw:0,rw:n,exactW:!0},e.id=t.id,t.id=null,e}}),a.ms.Augment({toHTML:a.mbase.HTMLautoload}),a.mglyph.Augment({toHTML:a.mbase.HTMLautoload}),a.mspace.Augment({toHTML:function(t){t=this.HTMLcreateSpan(t);var e=this.getValues("height","depth","width"),a=this.HTMLgetMu(t);this.HTMLgetScale(),e.mathbackground=this.mathbackground,this.background&&!this.mathbackground&&(e.mathbackground=this.background);var n=i.length2em(e.height,a)*this.mscale,s=i.length2em(e.depth,a)*this.mscale,o=i.length2em(e.width,a)*this.mscale;return i.createSpace(t,n,s,o,e.mathbackground,!0),t}}),a.mphantom.Augment({toHTML:function(t,e,a){if(t=this.HTMLcreateSpan(t),null!=this.data[0]){var n=this.data[0].toHTML(t);null!=a?i.Remeasured(this.data[0].HTMLstretchV(t,e,a),t):null!=e?i.Remeasured(this.data[0].HTMLstretchH(t,e),t):n=i.Measured(n,t),t.bbox={w:n.bbox.w,h:n.bbox.h,d:n.bbox.d,lw:0,rw:0,exactW:!0};for(var s=0,o=t.childNodes.length;s<o;s++)t.childNodes[s].style.visibility="hidden"}return this.HTMLhandleSpace(t),this.HTMLhandleColor(t),t},HTMLstretchH:a.mbase.HTMLstretchH,HTMLstretchV:a.mbase.HTMLstretchV}),a.mpadded.Augment({toHTML:function(t,e,a){if(t=this.HTMLcreateSpan(t),null!=this.data[0]){var n=i.createStack(t,!0),s=i.createBox(n),o=this.data[0].toHTML(s);null!=a?i.Remeasured(this.data[0].HTMLstretchV(s,e,a),s):null!=e?i.Remeasured(this.data[0].HTMLstretchH(s,e),s):i.Measured(o,s);var r=this.getValues("height","depth","width","lspace","voffset"),l=0,h=0,u=this.HTMLgetMu(t);this.HTMLgetScale(),r.lspace&&(l=this.HTMLlength2em(s,r.lspace,u)),r.voffset&&(h=this.HTMLlength2em(s,r.voffset,u)),i.placeBox(s,l,h),l/=this.mscale,h/=this.mscale,t.bbox={h:s.bbox.h,d:s.bbox.d,w:s.bbox.w,exactW:!0,lw:s.bbox.lw+l,rw:s.bbox.rw+l,H:Math.max(null==s.bbox.H?-i.BIGDIMEN:s.bbox.H+h,s.bbox.h+h),D:Math.max(null==s.bbox.D?-i.BIGDIMEN:s.bbox.D-h,s.bbox.d-h)},""!==r.height&&(t.bbox.h=this.HTMLlength2em(s,r.height,u,"h",0)),""!==r.depth&&(t.bbox.d=this.HTMLlength2em(s,r.depth,u,"d",0)),""!==r.width&&(t.bbox.w=this.HTMLlength2em(s,r.width,u,"w",0)),t.bbox.H<=t.bbox.h&&delete t.bbox.H,t.bbox.D<=t.bbox.d&&delete t.bbox.D;var d=/^\s*(\d+(\.\d*)?|\.\d+)\s*(pt|em|ex|mu|px|pc|in|mm|cm)\s*$/;t.bbox.exact=!!(this.data[0]&&0==this.data[0].data.length||d.exec(r.height)||d.exec(r.width)||d.exec(r.depth)),i.setStackWidth(n,t.bbox.w)}return this.HTMLhandleSpace(t),this.HTMLhandleColor(t),t},HTMLlength2em:function(t,e,a,n,s){null==s&&(s=-i.BIGDIMEN);var o=String(e).match(/width|height|depth/),r=o?t.bbox[o[0].charAt(0)]:n?t.bbox[n]:0,l=i.length2em(e,a,r/this.mscale)*this.mscale;return n&&String(e).match(/^\s*[-+]/)?Math.max(s,t.bbox[n]+l):l},HTMLstretchH:a.mbase.HTMLstretchH,HTMLstretchV:a.mbase.HTMLstretchV}),a.mrow.Augment({HTMLlineBreaks:function(t){return!!this.parent.linebreakContainer&&(i.config.linebreaks.automatic&&t.bbox.w>i.linebreakWidth||this.hasNewline())},HTMLstretchH:function(t,e){this.HTMLremoveColor();var i=this.HTMLspanElement();return this.data[this.core].HTMLstretchH(i,e),this.HTMLcomputeBBox(i,!0),this.HTMLhandleColor(i),i},HTMLstretchV:function(t,e,i){this.HTMLremoveColor();var a=this.HTMLspanElement();return this.data[this.core].HTMLstretchV(a,e,i),this.HTMLcomputeBBox(a,!0),this.HTMLhandleColor(a),a}}),a.mstyle.Augment({toHTML:function(t,e,i){if(t=this.HTMLcreateSpan(t),null!=this.data[0]){var a=this.data[0].toHTML(t);null!=i?this.data[0].HTMLstretchV(t,e,i):null!=e&&this.data[0].HTMLstretchH(t,e),t.bbox=a.bbox}return this.HTMLhandleSpace(t),this.HTMLhandleColor(t),t},HTMLstretchH:a.mbase.HTMLstretchH,HTMLstretchV:a.mbase.HTMLstretchV}),a.mfrac.Augment({toHTML:function(t){t=this.HTMLcreateSpan(t);var e=i.createStack(t),a=i.createBox(e),n=i.createBox(e);i.MeasureSpans([this.HTMLboxChild(0,a),this.HTMLboxChild(1,n)]);var s=this.getValues("displaystyle","linethickness","numalign","denomalign","bevelled"),o=this.HTMLgetScale(),r=s.displaystyle,l=i.TeX.axis_height*o;if(s.bevelled){var h=r?.4:.15,u=Math.max(a.bbox.h+a.bbox.d,n.bbox.h+n.bbox.d)+2*h,d=i.createBox(e);i.createDelimiter(d,47,u),i.placeBox(a,0,(a.bbox.d-a.bbox.h)/2+l+h),i.placeBox(d,a.bbox.w-h/2,(d.bbox.d-d.bbox.h)/2+l),i.placeBox(n,a.bbox.w+d.bbox.w-h,(n.bbox.d-n.bbox.h)/2+l-h)}else{var c,m,p,f,M=Math.max(a.bbox.w,n.bbox.w),g=i.thickness2em(s.linethickness,this.scale)*this.mscale,x=i.TeX.min_rule_thickness/this.em;if(r?(p=i.TeX.num1,f=i.TeX.denom1):(p=0===g?i.TeX.num3:i.TeX.num2,f=i.TeX.denom2),p*=o,f*=o,0===g)c=Math.max((r?7:3)*i.TeX.rule_thickness,2*x),(m=p-a.bbox.d-(n.bbox.h-f))<c&&(p+=(c-m)/2,f+=(c-m)/2);else{c=Math.max((r?2:0)*x+g,g/2+1.5*x),(m=p-a.bbox.d-(l+g/2))<c&&(p+=c-m),(m=l-g/2-(n.bbox.h-f))<c&&(f+=c-m);var b=i.createBox(e);i.createRule(b,g,0,M+2*g),i.placeBox(b,0,l-g/2)}i.alignBox(a,s.numalign,p,0,!0),i.alignBox(n,s.denomalign,-f,0,!0)}return this.HTMLhandleSpace(t),this.HTMLhandleColor(t),t},HTMLcanStretch:function(t){return!1},HTMLhandleSpace:function(t){if(!this.texWithDelims){var e=i.TeX.nulldelimiterspace*this.mscale,a=t.childNodes[i.msiePaddingWidthBug?1:0].style;a.marginLeft=a.marginRight=i.Em(e),t.bbox.w+=2*e,t.bbox.rw+=2*e}this.SUPER(arguments).HTMLhandleSpace.call(this,t)}}),a.msqrt.Augment({toHTML:function(t){t=this.HTMLcreateSpan(t);var e,a,n,s,o=i.createStack(t),r=i.createBox(o),l=i.createBox(o),h=i.createBox(o),u=this.HTMLgetScale(),d=i.TeX.rule_thickness*u;e=this.Get("displaystyle")?i.TeX.x_height*u:d,a=Math.max(d+e/4,1.5*i.TeX.min_rule_thickness/this.em);var c=this.HTMLboxChild(0,r);n=c.bbox.h+c.bbox.d+a+d,i.createDelimiter(h,8730,n,u),i.MeasureSpans([c,h]),s=c.bbox.w;var m=0;(h.isMultiChar||i.AdjustSurd&&i.imgFonts)&&(h.bbox.w*=.95),h.bbox.h+h.bbox.d>n&&(a=(h.bbox.h+h.bbox.d-(n-d))/2);var p=i.FONTDATA.DELIMITERS[i.FONTDATA.RULECHAR];return!p||s<(p.HW[0]||[0])[0]*u||u<.75?(i.createRule(l,0,d,s),l.bbox.h=-d):i.createDelimiter(l,i.FONTDATA.RULECHAR,s,u),a=(n=c.bbox.h+a+d)*i.rfuzz,h.isMultiChar&&(a=i.rfuzz),m=this.HTMLaddRoot(o,h,m,h.bbox.h+h.bbox.d-n,u),i.placeBox(h,m,n-h.bbox.h),i.placeBox(l,m+h.bbox.w,n-l.bbox.h+a),i.placeBox(r,m+h.bbox.w,0),this.HTMLhandleSpace(t),this.HTMLhandleColor(t),t},HTMLaddRoot:function(t,e,i,a,n){return i}}),a.mroot.Augment({toHTML:a.msqrt.prototype.toHTML,HTMLaddRoot:function(t,e,a,n,s){var o=i.createBox(t);if(this.data[1]){var r=this.data[1].toHTML(o);r.style.paddingRight=r.style.paddingLeft="",i.Measured(r,o)}else o.bbox=this.HTMLzeroBBox();var l=this.HTMLrootHeight(e.bbox.h+e.bbox.d,s,o)-n,h=Math.min(o.bbox.w,o.bbox.rw);return a=Math.max(h,e.offset),i.placeBox(o,a-h,l),a-e.offset},HTMLrootHeight:function(t,e,i){return.45*(t-.9*e)+.6*e+Math.max(0,i.bbox.d-.075)}}),a.mfenced.Augment({toHTML:function(t){t=this.HTMLcreateSpan(t),this.data.open&&this.data.open.toHTML(t),null!=this.data[0]&&this.data[0].toHTML(t);for(var e=1,i=this.data.length;e<i;e++)this.data[e]&&(this.data["sep"+e]&&this.data["sep"+e].toHTML(t),this.data[e].toHTML(t));this.data.close&&this.data.close.toHTML(t);var a=this.HTMLcomputeBBox(t),n=t.bbox.h,s=t.bbox.d;for(e=0,i=a.length;e<i;e++)a[e].HTMLstretchV(t,n,s);return a.length&&this.HTMLcomputeBBox(t,!0),this.HTMLhandleSpace(t),this.HTMLhandleColor(t),t},HTMLcomputeBBox:function(t,e){var i=t.bbox={},a=[];this.HTMLcheckStretchy(this.data.open,i,a,e),this.HTMLcheckStretchy(this.data[0],i,a,e);for(var n=1,s=this.data.length;n<s;n++)this.data[n]&&(this.HTMLcheckStretchy(this.data["sep"+n],i,a,e),this.HTMLcheckStretchy(this.data[n],i,a,e));return this.HTMLcheckStretchy(this.data.close,i,a,e),this.HTMLcleanBBox(i),a},HTMLcheckStretchy:function(t,e,i,a){t&&(!a&&t.HTMLcanStretch("Vertical")&&(i.push(t),t=t.CoreMO()||t),this.HTMLcombineBBoxes(t,e))}}),a.menclose.Augment({toHTML:a.mbase.HTMLautoload}),a.maction.Augment({toHTML:a.mbase.HTMLautoload}),a.semantics.Augment({toHTML:function(t,e,i){if(t=this.HTMLcreateSpan(t),null!=this.data[0]){var a=this.data[0].toHTML(t);null!=i?this.data[0].HTMLstretchV(t,e,i):null!=e&&this.data[0].HTMLstretchH(t,e),t.bbox=a.bbox}return this.HTMLhandleSpace(t),t},HTMLstretchH:a.mbase.HTMLstretchH,HTMLstretchV:a.mbase.HTMLstretchV}),a.munderover.Augment({toHTML:function(t,e,n){var s=this.getValues("displaystyle","accent","accentunder","align"),o=this.data[this.base];if(!s.displaystyle&&null!=o&&(o.movablelimits||o.CoreMO().Get("movablelimits")))return a.msubsup.prototype.toHTML.call(this,t);t=this.HTMLcreateSpan(t);var r,l,h,u=this.HTMLgetScale(),d=i.createStack(t),c=[],m=[],p=[];for(l=0,h=this.data.length;l<h;l++)null!=this.data[l]&&(r=c[l]=i.createBox(d),m[l]=this.data[l].toHTML(r),l==this.base?(null!=n?this.data[this.base].HTMLstretchV(r,e,n):null!=e&&this.data[this.base].HTMLstretchH(r,e),p[l]=(null!=n||null==e)&&this.data[l].HTMLcanStretch("Horizontal"),this.data[this.over]&&s.accent&&(m[l].bbox.h=Math.max(m[l].bbox.h,u*i.TeX.x_height))):(p[l]=this.data[l].HTMLcanStretch("Horizontal"),m[l].style.paddingLeft=m[l].style.paddingRight=""));i.MeasureSpans(m);var f=-i.BIGDIMEN,M=f;for(l=0,h=this.data.length;l<h;l++)this.data[l]&&(c[l].bbox.w>M&&(M=c[l].bbox.w),!p[l]&&M>f&&(f=M));for(null==n&&null!=e?f=e:f==-i.BIGDIMEN&&(f=M),l=M=0,h=this.data.length;l<h;l++)this.data[l]&&(r=c[l],p[l]&&(r.bbox=this.data[l].HTMLstretchH(r,f).bbox,l!==this.base&&(m[l].style.paddingLeft=m[l].style.paddingRight="")),r.bbox.w>M&&(M=r.bbox.w));var g,x,b,v,T,y,C=i.TeX.rule_thickness*this.mscale,L=i.FONTDATA.TeX_factor,E=0;for((o=c[this.base]||{bbox:this.HTMLzeroBBox()}).bbox.ic&&(E=1.3*o.bbox.ic+.05),l=0,h=this.data.length;l<h;l++)if(null!=this.data[l]){r=c[l],T=i.TeX.big_op_spacing5*u;var S=l!=this.base&&s[this.ACCENTS[l]];S&&r.bbox.w<=1/i.em+1e-4&&(r.bbox.w=r.bbox.rw-r.bbox.lw,r.bbox.noclip=!0,r.bbox.lw&&r.insertBefore(i.createSpace(r.parentNode,0,0,-r.bbox.lw),r.firstChild),i.createBlank(r,0,0,r.bbox.rw+.1)),g={left:0,center:(M-r.bbox.w)/2,right:M-r.bbox.w}[s.align],x=0,l==this.over?(S?(y=Math.max(C*u*L,2.5/this.em),T=0,o.bbox.skew&&(g+=o.bbox.skew,t.bbox.skew=o.bbox.skew,g+r.bbox.w>M&&(t.bbox.skew+=(M-r.bbox.w-g)/2))):(b=i.TeX.big_op_spacing1*u*L,v=i.TeX.big_op_spacing3*u*L,y=Math.max(b,v-Math.max(0,r.bbox.d))),y=Math.max(y,1.5/this.em),g+=E/2,x=o.bbox.h+r.bbox.d+y,r.bbox.h+=T):l==this.under&&(S?(y=3*C*u*L,T=0):(b=i.TeX.big_op_spacing2*u*L,v=i.TeX.big_op_spacing4*u*L,y=Math.max(b,v-r.bbox.h)),y=Math.max(y,1.5/this.em),g-=E/2,x=-(o.bbox.d+r.bbox.h+y),r.bbox.d+=T),i.placeBox(r,g,x)}return this.HTMLhandleSpace(t),this.HTMLhandleColor(t),t},HTMLstretchH:a.mbase.HTMLstretchH,HTMLstretchV:a.mbase.HTMLstretchV}),a.msubsup.Augment({toHTML:function(t,e,a){t=this.HTMLcreateSpan(t);var n,s=this.HTMLgetScale(),o=this.HTMLgetMu(t),r=i.createStack(t),l=[],h=i.createBox(r);this.data[this.base]?(l.push(this.data[this.base].toHTML(h)),null!=a?this.data[this.base].HTMLstretchV(h,e,a):null!=e&&this.data[this.base].HTMLstretchH(h,e)):h.bbox=this.HTMLzeroBBox();var u,d,c=i.TeX.x_height*s,m=i.TeX.scriptspace*s*.75;this.HTMLnotEmpty(this.data[this.sup])&&(u=i.createBox(r),l.push(this.data[this.sup].toHTML(u))),this.HTMLnotEmpty(this.data[this.sub])&&(d=i.createBox(r),l.push(this.data[this.sub].toHTML(d))),i.MeasureSpans(l),u&&(u.bbox.w+=m,u.bbox.rw=Math.max(u.bbox.w,u.bbox.rw)),d&&(d.bbox.w+=m,d.bbox.rw=Math.max(d.bbox.w,d.bbox.rw)),i.placeBox(h,0,0);var p=s;u?p=this.data[this.sup].HTMLgetScale():d&&(p=this.data[this.sub].HTMLgetScale());var f,M=i.TeX.sup_drop*p,g=i.TeX.sub_drop*p,x=h.bbox.h-M,b=h.bbox.d+g,v=0;h.bbox.ic&&(h.bbox.w-=h.bbox.ic,v=1.3*h.bbox.ic+.05),!this.data[this.base]||null!=e||null!=a||"mi"!==this.data[this.base].type&&"mo"!==this.data[this.base].type||i.isChar(this.data[this.base].data.join(""))&&1===l[0].scale&&!this.data[this.base].Get("largeop")&&(x=b=0);var T=this.getValues("subscriptshift","superscriptshift");if(T.subscriptshift=""===T.subscriptshift?0:i.length2em(T.subscriptshift,o),T.superscriptshift=""===T.superscriptshift?0:i.length2em(T.superscriptshift,o),u)if(d){b=Math.max(b,i.TeX.sub2*s);var y=i.TeX.rule_thickness*s;x-u.bbox.d-(d.bbox.h-b)<3*y&&(b=3*y-x+u.bbox.d+d.bbox.h,(M=.8*c-(x-u.bbox.d))>0&&(x+=M,b-=M)),i.placeBox(u,h.bbox.w+v,Math.max(x,T.superscriptshift)),i.placeBox(d,h.bbox.w,-Math.max(b,T.subscriptshift))}else n=this.getValues("displaystyle","texprimestyle"),f=i.TeX[n.displaystyle?"sup1":n.texprimestyle?"sup3":"sup2"],x=Math.max(x,f*s,u.bbox.d+1/4*c,T.superscriptshift),i.placeBox(u,h.bbox.w+v,x,u.bbox);else d&&(b=Math.max(b,i.TeX.sub1*s,d.bbox.h-.8*c,T.subscriptshift),i.placeBox(d,h.bbox.w,-b,d.bbox));return this.HTMLhandleSpace(t),this.HTMLhandleColor(t),t},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.annotation.Augment({toHTML:function(t){return this.HTMLcreateSpan(t)}}),a.math.Augment({toHTML:function(t,n,s){var o,r,l,h,u=t;if(s&&s!==i.PHASE.I)t=t.firstChild.firstChild,this.href&&(t=t.firstChild),"relative"!==(o=t.firstChild).style.position&&(o=o.nextSibling),l=(r=o.firstChild).firstChild;else{var d=i.addElement(t,"nobr",{isMathJax:!0});t=this.HTMLcreateSpan(d);var c=this.Get("alttext");c&&!t.getAttribute("aria-label")&&t.setAttribute("aria-label",c),o=i.createStack(t),r=i.createBox(o),o.style.fontSize=d.parentNode.style.fontSize,d.parentNode.style.fontSize="",null!=this.data[0]&&(a.mbase.prototype.displayAlign=e.config.displayAlign,a.mbase.prototype.displayIndent=e.config.displayIndent,String(e.config.displayIndent).match(/^0($|[a-z%])/i)&&(a.mbase.prototype.displayIndent="0"),(l=this.data[0].toHTML(r)).bbox.exactW=!1)}if(h=s&&s!==i.PHASE.II?l:i.Measured(l,r),!s||s===i.PHASE.III){i.placeBox(r,0,0);var m=h.bbox.w;m=Math.abs(m)<.006?0:Math.max(0,Math.round(m*this.em)+.25),t.style.width=i.EmRounded(m/i.outerEm),t.style.display="inline-block";var p=1/i.em,f=i.em/i.outerEm;i.em/=f,t.bbox.h*=f,t.bbox.d*=f,t.bbox.w*=f,t.bbox.lw*=f,t.bbox.rw*=f,t.bbox.H&&(t.bbox.H*=f),t.bbox.D&&(t.bbox.D*=f),h&&null!=h.bbox.width&&(t.style.minWidth=h.bbox.minWidth||t.style.width,t.style.width=h.bbox.width,r.style.width=o.style.width="100%",u.className+=" MathJax_FullWidth");var M=this.HTMLhandleColor(t);if(h&&i.createRule(t,(h.bbox.h+p)*f,(h.bbox.d+p)*f,0),!this.isMultiline&&"block"===this.Get("display")&&null==t.bbox.width){var g=this.getValues("indentalignfirst","indentshiftfirst","indentalign","indentshift");g.indentalignfirst!==a.INDENTALIGN.INDENTALIGN&&(g.indentalign=g.indentalignfirst),g.indentalign===a.INDENTALIGN.AUTO&&(g.indentalign=this.displayAlign),g.indentshiftfirst!==a.INDENTSHIFT.INDENTSHIFT&&(g.indentshift=g.indentshiftfirst),"auto"===g.indentshift&&(g.indentshift="0");var x=i.length2em(g.indentshift,1,i.scale*i.cwidth);if("0"!==this.displayIndent){var b=i.length2em(this.displayIndent,1,i.scale*i.cwidth);x+=g.indentalign===a.INDENTALIGN.RIGHT?-b:b}if(u.style.textAlign=n.style.textAlign=g.indentalign,x&&(e.Insert(t.style,{left:{marginLeft:i.Em(x)},right:{marginRight:i.Em(-x)},center:{marginLeft:i.Em(x),marginRight:i.Em(-x)}}[g.indentalign]),M)){var v=parseFloat(M.style.marginLeft||"0")+x,T=parseFloat(M.style.marginRight||"0")-x;M.style.marginLeft=i.Em(v),M.style.marginRight=i.Em(T+("right"===g.indentalign?t.bbox.w+x-t.bbox.w:0)),i.msieColorBug&&"right"===g.indentalign&&(parseFloat(M.style.marginLeft)>0&&(MathJax.HTML.addElement(M.parentNode,"span").style.marginLeft=i.Em(T+Math.min(0,t.bbox.w+x)),M.nextSibling.style.marginRight="0em"),M.nextSibling.style.marginLeft="0em",M.style.marginRight=M.style.marginLeft="0em")}}}return t},HTMLspanElement:a.mbase.prototype.HTMLspanElement}),a.TeXAtom.Augment({toHTML:function(t,e,n){if(t=this.HTMLcreateSpan(t),null!=this.data[0])if(this.texClass===a.TEXCLASS.VCENTER){var s=i.createStack(t),o=i.createBox(s),r=this.data[0].toHTML(o);null!=n?i.Remeasured(this.data[0].HTMLstretchV(o,e,n),o):null!=e?i.Remeasured(this.data[0].HTMLstretchH(o,e),o):i.Measured(r,o);var l=i.TeX.axis_height*this.HTMLgetScale();i.placeBox(o,0,l-(o.bbox.h+o.bbox.d)/2+o.bbox.d)}else{var h=this.data[0].toHTML(t,e,n);null!=n?h=this.data[0].HTMLstretchV(o,e,n):null!=e&&(h=this.data[0].HTMLstretchH(o,e)),t.bbox=h.bbox}return this.HTMLhandleSpace(t),this.HTMLhandleColor(t),t},HTMLstretchH:a.mbase.HTMLstretchH,HTMLstretchV:a.mbase.HTMLstretchV}),e.Register.StartupHook("onLoad",(function(){setTimeout(MathJax.Callback(["loadComplete",i,"jax.js"]),0)}))})),e.Register.StartupHook("End Config",(function(){e.Browser.Select({MSIE:function(t){var e=document.documentMode||0,a=t.versionAtLeast("7.0"),n=t.versionAtLeast("8.0")&&e>7,s="BackCompat"===document.compatMode;e<9&&(i.config.styles[".MathJax .MathJax_HitBox"]["background-color"]="white",i.config.styles[".MathJax .MathJax_HitBox"].opacity=0,i.config.styles[".MathJax .MathJax_HitBox"].filter="alpha(opacity=0)"),i.Augment({PaddingWidthBug:!0,msieAccentBug:!0,msieColorBug:e<8,msieColorPositionBug:!0,msieRelativeWidthBug:s,msieDisappearingBug:e>=8,msieMarginScaleBug:e<8,msiePaddingWidthBug:!0,msieBorderWidthBug:s,msieFrameSizeBug:e<=8,msieInlineBlockAlignBug:!n||s,msiePlaceBoxBug:n&&!s,msieClipRectBug:!n,msieNegativeSpaceBug:s,msieRuleBug:e<7,cloneNodeBug:n&&"8.0"===t.version,msieItalicWidthBug:!0,initialSkipBug:e<8,msieNegativeBBoxBug:e>=8,msieIE6:!a,msieItalicWidthBug:!0,FontFaceBug:e<9,msieFontCSSBug:t.isIE9,allowWebFonts:e>=9?"woff":"eot"})},Firefox:function(t){var a=!1;if(t.versionAtLeast("3.5")){var n=String(document.location).replace(/[^\/]*$/,"");("file:"!==document.location.protocol||e.config.root.match(/^https?:\/\//)||(e.config.root+"/").substr(0,n.length)===n)&&(a="otf")}i.Augment({ffVerticalAlignBug:!t.versionAtLeast("20.0"),AccentBug:!0,allowWebFonts:a,ffFontOptimizationBug:!0})},Safari:function(t){var a=t.versionAtLeast("3.0"),n=t.versionAtLeast("3.1"),s=navigator.appVersion.match(/ Safari\/\d/)&&navigator.appVersion.match(/ Version\/\d/)&&navigator.vendor.match(/Apple/),o=navigator.appVersion.match(/ Android (\d+)\.(\d+)/),r=n&&t.isMobile&&(navigator.platform.match(/iPad|iPod|iPhone/)&&!t.versionAtLeast("5.0")||null!=o&&(o[1]<2||2==o[1]&&o[2]<2));if(i.Augment({config:{styles:{".MathJax img, .MathJax nobr, .MathJax a":{"max-width":"5000em","max-height":"5000em"}}},Em:(t.webkit||0)>=538?i.EmRounded:i.Em,rfuzz:.011,AccentBug:!0,AdjustSurd:!0,negativeBBoxes:!0,safariNegativeSpaceBug:!0,safariVerticalAlignBug:!n,safariTextNodeBug:!a,forceReflow:!0,FontFaceBug:!0,combiningCharBug:parseInt(t.webkit)>=602,allowWebFonts:!(!n||r)&&"otf"}),s&&i.Augment({webFontDefault:t.isMobile?"sans-serif":"serif"}),t.isPC&&i.Augment({adjustAvailableFonts:i.removeSTIXfonts,checkWebFontsTwice:!0}),r){var l=e.config["HTML-CSS"];l?(l.availableFonts=[],l.preferredFont=null):e.config["HTML-CSS"]={availableFonts:[],preferredFont:null}}},Chrome:function(t){i.Augment({Em:i.EmRounded,cloneNodeBug:!0,rfuzz:-.02,AccentBug:!0,AdjustSurd:!0,FontFaceBug:t.versionAtLeast("32.0"),negativeBBoxes:!0,safariNegativeSpaceBug:!0,safariWebFontSerif:[""],forceReflow:!0,allowWebFonts:t.versionAtLeast("4.0")?"otf":"svg"})},Opera:function(t){t.isMini=null!=navigator.appVersion.match("Opera Mini"),i.config.styles[".MathJax .merror"]["vertical-align"]=null,i.config.styles[".MathJax span"]["z-index"]=0,i.Augment({operaHeightBug:!0,operaVerticalAlignBug:!0,operaFontSizeBug:t.versionAtLeast("10.61"),initialSkipBug:!0,FontFaceBug:!0,PaddingWidthBug:!0,allowWebFonts:!(!t.versionAtLeast("10.0")||t.isMini)&&"otf",adjustAvailableFonts:i.removeSTIXfonts})},Konqueror:function(t){i.Augment({konquerorVerticalAlignBug:!0})}})})),MathJax.Hub.Register.StartupHook("End Cookie",(function(){"None"!==e.config.menuSettings.zoom&&t.Require("[MathJax]/extensions/MathZoom.js")}))}(MathJax.Ajax,MathJax.Hub,MathJax.OutputJax["HTML-CSS"]),MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",(function(){var t=MathJax.ElementJax.mml,e=MathJax.OutputJax["HTML-CSS"];t.mtable.Augment({toHTML:function(i){if(i=this.HTMLcreateSpan(i),0===this.data.length)return i;var a,n,s,o,r,l,h,u,d,c=this.getValues("columnalign","rowalign","columnspacing","rowspacing","columnwidth","equalcolumns","equalrows","columnlines","rowlines","frame","framespacing","align","useHeight","width","side","minlabelspacing"),m=c.width.match(/%$/),p=e.createStack(i),f=this.HTMLgetScale(),M=this.HTMLgetMu(i),g=-1,x=[],b=[],v=[],T=[],y=[],C=-1,L=[],E=e.FONTDATA.lineH*f*c.useHeight,S=e.FONTDATA.lineD*f*c.useHeight;for(a=0,s=this.data.length;a<s;a++)for(r="mlabeledtr"===(l=this.data[a]).type?g:0,T[a]=[],x[a]=E,b[a]=S,n=r,o=l.data.length+r;n<o;n++)null==v[n]&&(n>C&&(C=n),y[n]=e.createStack(e.createBox(p)),v[n]=-e.BIGDIMEN),T[a][n]=e.createBox(y[n]),L.push(l.data[n-r].toHTML(T[a][n]));for(e.MeasureSpans(L),a=0,s=this.data.length;a<s;a++)for(n=r="mlabeledtr"===(l=this.data[a]).type?g:0,o=l.data.length+r;n<o;n++){if((h=l.data[n-r]).isMultiline&&(T[a][n].style.width="100%"),h.isEmbellished()){var w=(u=h.CoreMO()).Get("minsize",!0);if(w){var H=u.HTMLspanElement().bbox;u.HTMLcanStretch("Vertical")?(d=H.h+H.d)&&((w=e.length2em(w,M,d))*H.h/d>x[a]&&(x[a]=w*H.h/d),w*H.d/d>b[a]&&(b[a]=w*H.d/d)):u.HTMLcanStretch("Horizontal")&&(w=e.length2em(w,M,H.w))>v[n]&&(v[n]=w)}}T[a][n].bbox.h>x[a]&&(x[a]=T[a][n].bbox.h),T[a][n].bbox.d>b[a]&&(b[a]=T[a][n].bbox.d),T[a][n].bbox.w>v[n]&&(v[n]=T[a][n].bbox.w)}var N=MathJax.Hub.SplitList,A=N(c.columnspacing),I=N(c.rowspacing),R=N(c.columnalign),J=N(c.rowalign),B=N(c.columnlines),k=N(c.rowlines),P=N(c.columnwidth),O=[];for(a=0,s=A.length;a<s;a++)A[a]=e.length2em(A[a],M);for(a=0,s=I.length;a<s;a++)I[a]=e.length2em(I[a],M);for(;A.length<C;)A.push(A[A.length-1]);for(;R.length<=C;)R.push(R[R.length-1]);for(;B.length<C;)B.push(B[B.length-1]);for(;P.length<=C;)P.push(P[P.length-1]);for(;I.length<T.length;)I.push(I[I.length-1]);for(;J.length<=T.length;)J.push(J[J.length-1]);for(;k.length<T.length;)k.push(k[k.length-1]);for(y[g]&&(R[g]="l"===c.side.substr(0,1)?"left":"right",A[g]=-v[g]),a=0,s=T.length;a<s;a++)if(l=this.data[a],O[a]=[],l.rowalign&&(J[a]=l.rowalign),l.columnalign)for(O[a]=N(l.columnalign);O[a].length<=C;)O[a].push(O[a][O[a].length-1]);if(c.equalrows){var D=Math.max.apply(Math,x),F=Math.max.apply(Math,b);for(a=0,s=T.length;a<s;a++)r=(D+F-(x[a]+b[a]))/2,x[a]+=r,b[a]+=r}for(d=x[0]+b[T.length-1],a=0,s=T.length-1;a<s;a++)d+=Math.max(0,b[a]+x[a+1]+I[a]);var X,W=0,_=0,z=d;if("none"!==c.frame||(c.columnlines+c.rowlines).match(/solid|dashed/)){var j=N(c.framespacing);2!=j.length&&(j=N(this.defaults.framespacing)),W=e.length2em(j[0],M),z=d+2*(_=e.length2em(j[1],M))}var V,G,U="";if("string"!=typeof c.align&&(c.align=String(c.align)),c.align.match(/(top|bottom|center|baseline|axis)( +(-?\d+))?/)?(U=RegExp.$3||"",c.align=RegExp.$1):c.align=this.defaults.align,""!==U)for((U=parseInt(U))<0&&(U=T.length+1+U),U<1?U=1:U>T.length&&(U=T.length),V=0,G=-(d+_)+x[0],a=0,s=U-1;a<s;a++){var q=Math.max(0,b[a]+x[a+1]+I[a]);V+=q,G+=q}else V={top:-(x[0]+_),bottom:d+_-x[0],center:d/2-x[0],baseline:d/2-x[0],axis:d/2+e.TeX.axis_height*f-x[0]}[c.align],G={top:-(d+2*_),bottom:0,center:-(d/2+_),baseline:-(d/2+_),axis:e.TeX.axis_height*f-d/2-_}[c.align];var K,Y=0,Z=0,$=0,Q=0,tt=0,et=[],it=[],at=1;if(c.equalcolumns&&"auto"!==c.width)if(m){for(K=(100/(C+1)).toFixed(2).replace(/\.?0+$/,"")+"%",a=0,s=Math.min(C+1,P.length);a<s;a++)P[a]=K;for(K=0,Y=1,tt=C+1,a=0,s=Math.min(C+1,A.length);a<s;a++)K+=A[a]}else{for(K=e.length2em(c.width,M),a=0,s=Math.min(C,A.length);a<s;a++)K-=A[a];for(K/=C,a=0,s=Math.min(C+1,P.length);a<s;a++)v[a]=K}else{for(a=0,s=Math.min(C+1,P.length);a<s;a++)"auto"===P[a]?Z+=v[a]:"fit"===P[a]?(it[tt]=a,tt++,Z+=v[a]):P[a].match(/%$/)?(et[Q]=a,Q++,$+=v[a],Y+=e.length2em(P[a],M,1)):(v[a]=e.length2em(P[a],M),Z+=v[a]);if(m){for(K=0,a=0,s=Math.min(C,A.length);a<s;a++)K+=A[a];Y>.98&&(at=.98/Y,Y=.98)}else{if("auto"===c.width)Y>.98?(at=$/(Z+$),K=Z+$):K=Z/(1-Y);else for(K=e.length2em(c.width,M),a=0,s=Math.min(C,A.length);a<s;a++)K-=A[a];for(a=0,s=et.length;a<s;a++)v[et[a]]=e.length2em(P[et[a]],M,K*at),Z+=v[et[a]];if(Math.abs(K-Z)>.01)if(tt&&K>Z)for(K=(K-Z)/tt,a=0,s=it.length;a<s;a++)v[it[a]]+=K;else for(K/=Z,n=0;n<=C;n++)v[n]*=K;if(c.equalcolumns){var nt=Math.max.apply(Math,v);for(n=0;n<=C;n++)v[n]=nt}}}var st,ot,rt,lt,ht=V;for(n=r=y[g]?g:0;n<=C;n++){for(a=0,s=T.length;a<s;a++){if(T[a][n]){if(r="mlabeledtr"===this.data[a].type?g:0,(h=this.data[a].data[n-r]).HTMLcanStretch("Horizontal"))T[a][n].bbox=h.HTMLstretchH(y[n],v[n]).bbox;else if(h.HTMLcanStretch("Vertical")){var ut=(u=h.CoreMO()).symmetric;u.symmetric=!1,T[a][n].bbox=h.HTMLstretchV(y[n],x[a],b[a]).bbox,T[a][n].HH=null,T[a][n].bbox.h>x[a]&&(T[a][n].bbox.H=T[a][n].bbox.h,T[a][n].bbox.h=x[a]),T[a][n].bbox.d>b[a]&&(T[a][n].bbox.D=T[a][n].bbox.d,T[a][n].bbox.d=b[a]),u.symmetric=ut}rt=h.rowalign||this.data[a].rowalign||J[a],st={top:x[a]-T[a][n].bbox.h,bottom:T[a][n].bbox.d-b[a],center:(x[a]-b[a]-(T[a][n].bbox.h-T[a][n].bbox.d))/2,baseline:0,axis:0}[rt]||0,rt=h.columnalign||O[a][n]||R[n],e.alignBox(T[a][n],rt,ht+st)}a<T.length-1&&(ht-=Math.max(0,b[a]+x[a+1]+I[a]))}ht=V}if(m){var dt=e.createBox(p);dt.style.left=dt.style.top=0,dt.style.right=e.Em(K+2*W),dt.style.display="inline-block",dt.style.height="0px",e.msieRelativeWidthBug&&((dt=e.createBox(dt)).style.position="relative",dt.style.height="1em",dt.style.width="100%",dt.bbox=p.bbox);var ct,mt,pt=0,ft=W;for(tt?(ct=100*(1-Y)/tt,mt=Z/tt):(ct=100*(1-Y)/(C+1),mt=Z/(C+1)),n=0;n<=C;n++){e.placeBox(y[n].parentNode,0,0),y[n].style.position="relative",y[n].style.left=e.Em(ft),y[n].style.width="100%",y[n].parentNode.parentNode.removeChild(y[n].parentNode);var Mt=e.createBox(dt);e.addBox(Mt,y[n]),y[n]=Mt;var gt=Mt.style;if(gt.display="inline-block",gt.left=pt+"%",P[n].match(/%$/)){var xt=parseFloat(P[n])*at;0===tt?(gt.width=ct+xt+"%",pt+=ct+xt,Mt=e.createBox(Mt),e.addBox(Mt,y[n].firstChild),Mt.style.left=0,Mt.style.right=e.Em(mt),ft-=mt):(gt.width=xt+"%",pt+=xt)}else"fit"===P[n]||0===tt?(gt.width=ct+"%",Mt=e.createBox(Mt),e.addBox(Mt,y[n].firstChild),Mt.style.left=0,Mt.style.right=e.Em(mt-v[n]),ft+=v[n]-mt,pt+=ct):(gt.width=e.Em(v[n]),ft+=v[n]);e.msieRelativeWidthBug&&(e.addText(Mt.firstChild,e.NBSP),Mt.firstChild.style.position="relative"),ft+=A[n],"none"!==B[n]&&n<C&&n!==g&&((ot=e.createBox(dt)).style.left=pt+"%",(ot=e.createRule(ot,z,0,1.25/e.em)).style.position="absolute",ot.bbox={h:z,d:0,w:0,rw:1.25/e.em,lw:0},ot.parentNode.bbox=p.bbox,e.placeBox(ot,ft-A[n]/2,G,!0),ot.style.borderStyle=B[n])}}else{var bt=W;for(n=0;n<=C;n++)y[n].bbox.width||e.setStackWidth(y[n],v[n]),"auto"!==P[n]&&"fit"!==P[n]&&(y[n].bbox.width=v[n],y[n].bbox.isFixed=!0),e.placeBox(y[n].parentNode,bt,0),bt+=v[n]+A[n],"none"!==B[n]&&n<C&&n!==g&&(ot=e.createRule(p,z,0,1.25/e.em),e.addBox(p,ot),ot.bbox={h:z,d:0,w:0,rw:1.25/e.em,lw:0},e.placeBox(ot,bt-A[n]/2,G,!0),ot.style.borderStyle=B[n])}for(p.bbox.d=-G,p.bbox.h=z+G,e.setStackWidth(p,p.bbox.w+W),X=p.bbox.w,"none"!==c.frame&&(lt=e.createFrame(p,z,0,X,1.25/e.em,c.frame),e.addBox(p,lt),e.placeBox(lt,0,G,!0),m&&(lt.style.width="100%")),ht=V,a=0,s=T.length-1;a<s;a++)st=Math.max(0,b[a]+x[a+1]+I[a]),k[a]!==t.LINES.NONE&&""!==k[a]&&(ot=e.createRule(p,1.25/e.em,0,X),e.addBox(p,ot),ot.bbox={h:1.25/e.em,d:0,w:X,rw:X,lw:0},e.placeBox(ot,0,ht-b[a]-(st-b[a]-x[a+1])/2,!0),k[a]===t.LINES.DASHED&&(ot.style.borderTopStyle="dashed"),m&&(ot.style.width="100%")),ht-=st;if(m&&(i.bbox.width=c.width,p.style.width="100%"),y[g]){var vt=p.bbox.w,Tt=this.getValues("indentalignfirst","indentshiftfirst","indentalign","indentshift");Tt.indentalignfirst!==t.INDENTALIGN.INDENTALIGN&&(Tt.indentalign=Tt.indentalignfirst),Tt.indentalign===t.INDENTALIGN.AUTO&&(Tt.indentalign=this.displayAlign),Tt.indentshiftfirst!==t.INDENTSHIFT.INDENTSHIFT&&(Tt.indentshift=Tt.indentshiftfirst),"auto"===Tt.indentshift&&(Tt.indentshift="0");var yt=e.length2em(Tt.indentshift,M,e.cwidth),Ct=e.length2em(c.minlabelspacing,M,e.cwidth)+y[g].bbox.w,Lt=0,Et=vt,St=e.length2em(this.displayIndent,M,e.cwidth);r=R[g]===t.INDENTALIGN.RIGHT?-1:1,Tt.indentalign===t.INDENTALIGN.CENTER?(Et+=2*(Ct-r*(yt+St)),yt+=St):R[g]===Tt.indentalign?(St<0&&(Lt=r*St,St=0),Ct>r*(yt+=r*St)&&(yt=r*Ct),Et+=r*(yt+=Lt)):(Et+=Ct-r*yt+St,yt-=r*St);var wt=e.createStack(i,!1,"100%");e.addBox(wt,p),e.alignBox(p,Tt.indentalign,0,yt),y[g].parentNode.parentNode.removeChild(y[g].parentNode),e.addBox(wt,y[g]),e.alignBox(y[g],R[g],0),e.msieRelativeWidthBug&&(p.style.top=y[g].style.top=""),m&&(p.style.width=c.width,i.bbox.width="100%"),y[g].style[1===r?"marginLeft":"marginRight"]=e.Em(r*Lt),i.bbox.tw=Et,i.style.minWidth=i.bbox.minWidth=e.Em(Et),wt.style.minWidth=wt.bbox.minWidth=e.Em(Et/f)}m||this.HTMLhandleSpace(i);var Ht=this.HTMLhandleColor(i);return Ht&&m&&(lt||(lt=e.createFrame(p,z,0,X,0,"none"),e.addBox(p,lt),e.placeBox(lt,0,G,!0),lt.style.width="100%"),lt.style.backgroundColor=Ht.style.backgroundColor,lt.parentNode.insertBefore(lt,lt.parentNode.firstChild),Ht.parentNode.removeChild(Ht)),i},HTMLhandleSpace:function(t){t.bbox.keepPadding=!0,t.bbox.exact=!0,this.hasFrame||null!=t.bbox.width||(t.firstChild.style.marginLeft=t.firstChild.style.marginRight=e.Em(1/6),t.bbox.w+=1/3,t.bbox.rw+=1/3,t.bbox.lw+=1/6),this.SUPER(arguments).HTMLhandleSpace.call(this,t)}}),t.mtd.Augment({toHTML:function(t,e,i){if(t=this.HTMLcreateSpan(t),this.data[0]){var a=this.data[0].toHTML(t);null!=i?a=this.data[0].HTMLstretchV(t,e,i):null!=e&&(a=this.data[0].HTMLstretchH(t,e)),t.bbox=a.bbox}return this.HTMLhandleSpace(t),this.HTMLhandleColor(t),t},HTMLstretchH:t.mbase.HTMLstretchH,HTMLstretchV:t.mbase.HTMLstretchV}),MathJax.Hub.Startup.signal.Post("HTML-CSS mtable Ready"),MathJax.Ajax.loadComplete(e.autoloadDir+"/mtable.js")})),function(t,e,i,a){var n,s,o,r,l="'Times New Roman',Times,STIXGeneral,serif",h={".MJXp-script":{"font-size":".8em"},".MJXp-right":{"-webkit-transform-origin":"right","-moz-transform-origin":"right","-ms-transform-origin":"right","-o-transform-origin":"right","transform-origin":"right"},".MJXp-bold":{"font-weight":"bold"},".MJXp-italic":{"font-style":"italic"},".MJXp-scr":{"font-family":"MathJax_Script,"+l},".MJXp-frak":{"font-family":"MathJax_Fraktur,"+l},".MJXp-sf":{"font-family":"MathJax_SansSerif,"+l},".MJXp-cal":{"font-family":"MathJax_Caligraphic,"+l},".MJXp-mono":{"font-family":"MathJax_Typewriter,"+l},".MJXp-largeop":{"font-size":"150%"},".MJXp-largeop.MJXp-int":{"vertical-align":"-.2em"},".MJXp-math":{display:"inline-block","line-height":"1.2","text-indent":"0","font-family":l,"white-space":"nowrap","border-collapse":"collapse"},".MJXp-display":{display:"block","text-align":"center",margin:"1em 0"},".MJXp-math span":{display:"inline-block"},".MJXp-box":{display:"block!important","text-align":"center"},".MJXp-box:after":{content:'" "'},".MJXp-rule":{display:"block!important","margin-top":".1em"},".MJXp-char":{display:"block!important"},".MJXp-mo":{margin:"0 .15em"},".MJXp-mfrac":{margin:"0 .125em","vertical-align":".25em"},".MJXp-denom":{display:"inline-table!important",width:"100%"},".MJXp-denom > *":{display:"table-row!important"},".MJXp-surd":{"vertical-align":"top"},".MJXp-surd > *":{display:"block!important"},".MJXp-script-box > * ":{display:"table!important",height:"50%"},".MJXp-script-box > * > *":{display:"table-cell!important","vertical-align":"top"},".MJXp-script-box > *:last-child > *":{"vertical-align":"bottom"},".MJXp-script-box > * > * > *":{display:"block!important"},".MJXp-mphantom":{visibility:"hidden"},".MJXp-munderover, .MJXp-munder":{display:"inline-table!important"},".MJXp-over":{display:"inline-block!important","text-align":"center"},".MJXp-over > *":{display:"block!important"},".MJXp-munderover > *, .MJXp-munder > *":{display:"table-row!important"},".MJXp-mtable":{"vertical-align":".25em",margin:"0 .125em"},".MJXp-mtable > *":{display:"inline-table!important","vertical-align":"middle"},".MJXp-mtr":{display:"table-row!important"},".MJXp-mtd":{display:"table-cell!important","text-align":"center",padding:".5em 0 0 .5em"},".MJXp-mtr > .MJXp-mtd:first-child":{"padding-left":0},".MJXp-mtr:first-child > .MJXp-mtd":{"padding-top":0},".MJXp-mlabeledtr":{display:"table-row!important"},".MJXp-mlabeledtr > .MJXp-mtd:first-child":{"padding-left":0},".MJXp-mlabeledtr:first-child > .MJXp-mtd":{"padding-top":0},".MJXp-merror":{"background-color":"#FFFF88",color:"#CC0000",border:"1px solid #CC0000",padding:"1px 3px","font-style":"normal","font-size":"90%"}};!function(){for(var t=0;t<10;t++){var e="scaleX(."+t+")";h[".MJXp-scale"+t]={"-webkit-transform":e,"-moz-transform":e,"-ms-transform":e,"-o-transform":e,transform:e}}}();var u=1e6,d="V",c="H";a.Augment({settings:e.config.menuSettings,config:{styles:h},hideProcessedMath:!1,maxStretchyParts:1e3,Config:function(){this.require||(this.require=[]),this.SUPER(arguments).Config.call(this);var t=this.settings;t.scale&&(this.config.scale=t.scale),this.require.push(MathJax.OutputJax.extensionDir+"/MathEvents.js")},Startup:function(){s=MathJax.Extension.MathEvents.Event,o=MathJax.Extension.MathEvents.Touch,r=MathJax.Extension.MathEvents.Hover,this.ContextMenu=s.ContextMenu,this.Mousedown=s.AltContextMenu,this.Mouseover=r.Mouseover,this.Mouseout=r.Mouseout,this.Mousemove=r.Mousemove;var e=i.addElement(document.body,"div",{style:{width:"5in"}});return this.pxPerInch=e.offsetWidth/5,e.parentNode.removeChild(e),t.Styles(this.config.styles,["InitializePHTML",this])},InitializePHTML:function(){},preTranslate:function(t){var a,n,r,l,h,u,d=t.jax[this.id],c=d.length;for(a=0;a<c;a++)(n=d[a]).parentNode&&((r=n.previousSibling)&&String(r.className).match(/^MathJax(_PHTML)?(_Display)?( MathJax_Process(ing|ed))?$/)&&r.parentNode.removeChild(r),(u=n.MathJax.elementJax)&&(u.PHTML={display:"block"===u.root.Get("display")},l=h=i.Element("span",{className:"MathJax_PHTML",id:u.inputID+"-Frame",isMathJax:!0,jaxID:this.id,oncontextmenu:s.Menu,onmousedown:s.Mousedown,onmouseover:s.Mouseover,onmouseout:s.Mouseout,onmousemove:s.Mousemove,onclick:s.Click,ondblclick:s.DblClick,onkeydown:s.Keydown,tabIndex:e.getTabOrder(u)}),e.Browser.noContextMenu&&(l.ontouchstart=o.start,l.ontouchend=o.end),u.PHTML.display&&(h=i.Element("div",{className:"MathJax_PHTML_Display"})).appendChild(l),h.className+=" MathJax_Processing",n.parentNode.insertBefore(h,n)))},Translate:function(t,e){if(t.parentNode){var i=t.MathJax.elementJax,a=i.root,n=document.getElementById(i.inputID+"-Frame"),s=i.PHTML.display?n.parentNode:n;this.initPHTML(a,n);try{a.toPreviewHTML(n)}catch(t){if(t.restart)for(;n.firstChild;)n.removeChild(n.firstChild);throw t}s.className=s.className.split(/ /)[0],this.hideProcessedMath&&(s.className+=" MathJax_Processed",t.MathJax.preview&&(i.PHTML.preview=t.MathJax.preview,delete t.MathJax.preview))}},postTranslate:function(t){var e=t.jax[this.id];if(this.hideProcessedMath)for(var i=0,a=e.length;i<a;i++){var n=e[i];if(n&&n.MathJax.elementJax){n.previousSibling.className=n.previousSibling.className.split(/ /)[0];var s=n.MathJax.elementJax.PHTML;s.preview&&(s.preview.innerHTML="",n.MathJax.preview=s.preview,delete s.preview)}}},getJaxFromMath:function(t){t.parentNode.className.match(/MathJax_PHTML_Display/)&&(t=t.parentNode);do{t=t.nextSibling}while(t&&"script"!==t.nodeName.toLowerCase());return e.getJaxFor(t)},getHoverSpan:function(t,e){return t.root.PHTMLspanElement()},getHoverBBox:function(t,e,i){var a=t.root.PHTML,n=t.PHTML.outerEm,s={w:a.w*n,h:a.h*n,d:a.d*n};return a.width&&(s.width=a.width),s},Zoom:function(t,e,i,a,n){e.className="MathJax",this.idPostfix="-zoom",t.root.toPHTML(e,e),this.idPostfix="",e.style.position="absolute",width||(i.style.position="absolute");var o=e.offsetWidth,r=e.offsetHeight,l=i.offsetHeight,h=i.offsetWidth;return 0===h&&(h=i.parentNode.offsetWidth),e.style.position=i.style.position="",{Y:-s.getBBox(e).h,mW:h,mH:l,zW:o,zH:r}},initPHTML:function(t,e){},Remove:function(t){var e=document.getElementById(t.inputID+"-Frame");e&&(t.PHTML.display&&(e=e.parentNode),e.parentNode.removeChild(e)),delete t.PHTML},ID:0,idPostfix:"",GetID:function(){return this.ID++,this.ID},VARIANT:{bold:"MJXp-bold",italic:"MJXp-italic","bold-italic":"MJXp-bold MJXp-italic",script:"MJXp-scr","bold-script":"MJXp-scr MJXp-bold",fraktur:"MJXp-frak","bold-fraktur":"MJXp-frak MJXp-bold",monospace:"MJXp-mono","sans-serif":"MJXp-sf","-tex-caligraphic":"MJXp-cal"},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,thin:.08,medium:.1,thick:.15,infinity:u},TeX:{x_height:.430554},pxPerInch:72,em:16,DELIMITERS:{"(":{dir:d},"{":{dir:d,w:.58},"[":{dir:d},"|":{dir:d,w:.275},")":{dir:d},"}":{dir:d,w:.58},"]":{dir:d},"/":{dir:d},"\\":{dir:d},"∣":{dir:d,w:.275},"∥":{dir:d,w:.55},"⌊":{dir:d,w:.5},"⌋":{dir:d,w:.5},"⌈":{dir:d,w:.5},"⌉":{dir:d,w:.5},"⟨":{dir:d,w:.5},"⟩":{dir:d,w:.5},"↑":{dir:d,w:.65},"↓":{dir:d,w:.65},"⇑":{dir:d,w:.75},"⇓":{dir:d,w:.75},"↕":{dir:d,w:.65},"⇕":{dir:d,w:.75},"⟮":{dir:d,w:.275},"⟯":{dir:d,w:.275},"⎰":{dir:d,w:.6},"⎱":{dir:d,w:.6}},REMAPACCENT:{"⃗":"→","'":"ˋ","`":"ˊ",".":"˙","^":"ˆ","-":"ˉ","~":"˜","¯":"ˉ","°":"˚","´":"ˊ","̀":"ˋ","́":"ˊ","̂":"ˆ","̃":"˜","̄":"ˉ","̅":"ˉ","̆":"˘","̇":"˙","̈":"¨","̌":"ˇ"},REMAPACCENTUNDER:{},length2em:function(t,e){if("string"!=typeof t&&(t=t.toString()),""===t)return"";if(t===n.SIZE.NORMAL)return 1;if(t===n.SIZE.BIG)return 2;if(t===n.SIZE.SMALL)return.71;if(this.MATHSPACE[t])return this.MATHSPACE[t];var i=t.match(/^\s*([-+]?(?:\.\d+|\d+(?:\.\d*)?))?(pt|em|ex|mu|px|pc|in|mm|cm|%)?/),a=parseFloat(i[1]||"1"),s=i[2];return null==e&&(e=1),"em"===s?a:"ex"===s?a*this.TeX.x_height:"%"===s?a/100*e:"px"===s?a/this.em:"pt"===s?a/10:"pc"===s?1.2*a:"in"===s?a*this.pxPerInch/this.em:"cm"===s?a*this.pxPerInch/this.em/2.54:"mm"===s?a*this.pxPerInch/this.em/25.4:"mu"===s?a/18:a*e},Em:function(t){return Math.abs(t)<.001?"0em":t.toFixed(3).replace(/\.?0+$/,"")+"em"},arrayEntry:function(t,e){return t[Math.max(0,Math.min(e,t.length-1))]}}),MathJax.Hub.Register.StartupHook("mml Jax Ready",(function(){(n=MathJax.ElementJax.mml).mbase.Augment({toPreviewHTML:function(t,e){return this.PHTMLdefaultSpan(t,e)},PHTMLdefaultSpan:function(t,e){e||(e={}),t=this.PHTMLcreateSpan(t),this.PHTMLhandleStyle(t),this.PHTMLhandleColor(t),this.isToken&&this.PHTMLhandleToken(t);for(var i=0,a=this.data.length;i<a;i++)this.PHTMLaddChild(t,i,e);return t},PHTMLaddChild:function(t,e,a){var n=this.data[e];n?(a.childSpans&&(t=i.addElement(t,"span",{className:a.className})),n.toPreviewHTML(t),a.noBBox||(this.PHTML.w+=n.PHTML.w+n.PHTML.l+n.PHTML.r,n.PHTML.h>this.PHTML.h&&(this.PHTML.h=n.PHTML.h),n.PHTML.d>this.PHTML.d&&(this.PHTML.d=n.PHTML.d),n.PHTML.t>this.PHTML.t&&(this.PHTML.t=n.PHTML.t),n.PHTML.b>this.PHTML.b&&(this.PHTML.b=n.PHTML.b))):a.forceChild&&i.addElement(t,"span")},PHTMLstretchChild:function(t,e,i){var a=this.data[t];if(a&&a.PHTMLcanStretch("Vertical",e,i)){var n=this.PHTML,s=a.PHTML,o=s.w;a.PHTMLstretchV(e,i),n.w+=s.w-o,s.h>n.h&&(n.h=s.h),s.d>n.d&&(n.d=s.d)}},PHTMLcreateSpan:function(t){if(this.PHTML||(this.PHTML={}),this.PHTML={w:0,h:0,d:0,l:0,r:0,t:0,b:0},this.inferred)return t;"mo"===this.type&&"∫"===this.data.join("")?a.lastIsInt=!0:"mspace"===this.type&&"negativethinmathspace"===this.width||(a.lastIsInt=!1),this.PHTMLspanID||(this.PHTMLspanID=a.GetID());var e=this.id||"MJXp-Span-"+this.PHTMLspanID;return i.addElement(t,"span",{className:"MJXp-"+this.type,id:e})},PHTMLspanElement:function(){return this.PHTMLspanID?document.getElementById(this.id||"MJXp-Span-"+this.PHTMLspanID):null},PHTMLhandleToken:function(t){var e=this.getValues("mathvariant");e.mathvariant!==n.VARIANT.NORMAL&&(t.className+=" "+a.VARIANT[e.mathvariant])},PHTMLhandleStyle:function(t){this.style&&(t.style.cssText=this.style)},PHTMLhandleColor:function(t){this.mathcolor&&(t.style.color=this.mathcolor),this.mathbackground&&(t.style.backgroundColor=this.mathbackground)},PHTMLhandleScriptlevel:function(t){this.Get("scriptlevel")&&(t.className+=" MJXp-script")},PHTMLhandleText:function(t,e){for(var n,s,o=0,r=0,l=0,h=0,u=e.length;h<u;h++){s=e.charCodeAt(h),n=e.charAt(h),s>=55296&&s<56319&&(h++,s=(s-55296<<10)+(e.charCodeAt(h)-56320)+65536);var d=.7,c=.22,m=.5;s<127&&(n.match(/[A-Za-ehik-or-xz0-9]/)&&(c=0),n.match(/[A-HK-Z]/)?m=.67:n.match(/[IJ]/)&&(m=.36),n.match(/[acegm-su-z]/)?d=.45:n.match(/[ij]/)&&(d=.75),n.match(/[ijlt]/)&&(m=.28)),a.DELIMITERS[n]&&(m=a.DELIMITERS[n].w||.4),d>o&&(o=d),c>r&&(r=c),l+=m}this.CHML||(this.PHTML={}),this.PHTML={h:.9,d:.3,w:l,l:0,r:0,t:o,b:r},i.addText(t,e)},PHTMLbboxFor:function(t){return this.data[t]&&this.data[t].PHTML?this.data[t].PHTML:{w:0,h:0,d:0,l:0,r:0,t:0,b:0}},PHTMLcanStretch:function(t,e,i){if(this.isEmbellished()){var a=this.Core();if(a&&a!==this)return a.PHTMLcanStretch(t,e,i)}return!1},PHTMLstretchV:function(t,e){},PHTMLstretchH:function(t){},CoreParent:function(){for(var t=this;t&&t.isEmbellished()&&t.CoreMO()===this&&!t.isa(n.math);)t=t.Parent();return t},CoreText:function(t){if(!t)return"";if(t.isEmbellished())return t.CoreMO().data.join("");for(;(t.isa(n.mrow)||t.isa(n.TeXAtom)||t.isa(n.mstyle)||t.isa(n.mphantom))&&1===t.data.length&&t.data[0];)t=t.data[0];return t.isToken?t.data.join(""):""}}),n.chars.Augment({toPreviewHTML:function(t){var e=this.toString().replace(/[\u2061-\u2064]/g,"");this.PHTMLhandleText(t,e)}}),n.entity.Augment({toPreviewHTML:function(t){var e=this.toString().replace(/[\u2061-\u2064]/g,"");this.PHTMLhandleText(t,e)}}),n.math.Augment({toPreviewHTML:function(t){return t=this.PHTMLdefaultSpan(t),"block"===this.Get("display")&&(t.className+=" MJXp-display"),t}}),n.mo.Augment({toPreviewHTML:function(t){t=this.PHTMLdefaultSpan(t),this.PHTMLadjustAccent(t);var e=this.getValues("lspace","rspace","scriptlevel","displaystyle","largeop");if(0===e.scriptlevel?(this.PHTML.l=a.length2em(e.lspace),this.PHTML.r=a.length2em(e.rspace),t.style.marginLeft=a.Em(this.PHTML.l),t.style.marginRight=a.Em(this.PHTML.r)):(this.PHTML.l=.15,this.PHTML.r=.1),e.displaystyle&&e.largeop){var n=i.Element("span",{className:"MJXp-largeop"});n.appendChild(t.firstChild),t.appendChild(n),this.PHTML.h*=1.2,this.PHTML.d*=1.2,"∫"===this.data.join("")&&(n.className+=" MJXp-int")}return t},PHTMLadjustAccent:function(t){var e=this.CoreParent();if(e&&e.isa(n.munderover)&&1===this.CoreText(e.data[e.base]).length){var i,s=e.data[e.over],o=e.data[e.under],r=this.data.join("");s&&this===s.CoreMO()&&e.Get("accent")?i=a.REMAPACCENT[r]:o&&this===o.CoreMO()&&e.Get("accentunder")&&(i=a.REMAPACCENTUNDER[r]),i&&(r=t.innerHTML=i),r.match(/[\u02C6-\u02DC\u00A8]/)?this.PHTML.acc=-.52:"→"===r&&(this.PHTML.acc=-.15,this.PHTML.vec=!0)}},PHTMLcanStretch:function(t,e,i){if(!this.Get("stretchy"))return!1;var n=this.data.join("");if(n.length>1)return!1;var s=(n=a.DELIMITERS[n])&&n.dir===t.substr(0,1);return s&&(s=this.PHTML.h!==e||this.PHTML.d!==i||this.Get("minsize",!0)||this.Get("maxsize",!0)),s},PHTMLstretchV:function(t,e){var n=this.PHTMLspanElement(),s=this.PHTML,o=this.getValues("symmetric","maxsize","minsize");c=o.symmetric?2*Math.max(t-.25,e+.25):t+e,o.maxsize=a.length2em(o.maxsize,s.h+s.d),o.minsize=a.length2em(o.minsize,s.h+s.d);var r=(c=Math.max(o.minsize,Math.min(o.maxsize,c)))/(s.h+s.d-.3),l=i.Element("span",{style:{"font-size":a.Em(r)}});if(r>1.25){var h=Math.ceil(1.25/r*10);l.className="MJXp-right MJXp-scale"+h,l.style.marginLeft=a.Em(s.w*(h/10-1)+.07),s.w*=r*h/10}l.appendChild(n.firstChild),n.appendChild(l),o.symmetric&&(n.style.verticalAlign=a.Em(.25*(1-r)))}}),n.mspace.Augment({toPreviewHTML:function(t){t=this.PHTMLdefaultSpan(t);var e=this.getValues("height","depth","width"),i=a.length2em(e.width),n=a.length2em(e.height),s=a.length2em(e.depth),o=this.PHTML;return o.w=i,o.h=n,o.d=s,i<0&&(a.lastIsInt||(t.style.marginLeft=a.Em(i)),i=0),t.style.width=a.Em(i),t.style.height=a.Em(n+s),s&&(t.style.verticalAlign=a.Em(-s)),t}}),n.mpadded.Augment({toPreviewHTML:function(t){var e=(t=this.PHTMLdefaultSpan(t,{childSpans:!0,className:"MJXp-box",forceChild:!0})).firstChild,i=this.getValues("width","height","depth","lspace","voffset"),n=this.PHTMLdimen(i.lspace),s=0,o=0,r=n.len,l=-n.len,h=0;return""!==i.width&&((n=this.PHTMLdimen(i.width,"w",0)).pm?l+=n.len:t.style.width=a.Em(n.len)),""!==i.height&&((n=this.PHTMLdimen(i.height,"h",0)).pm||(s+=-this.PHTMLbboxFor(0).h),s+=n.len),""!==i.depth&&((n=this.PHTMLdimen(i.depth,"d",0)).pm||(o+=-this.PHTMLbboxFor(0).d,h+=-n.len),o+=n.len),""!==i.voffset&&(s-=(n=this.PHTMLdimen(i.voffset)).len,o+=n.len,h+=n.len),s&&(e.style.marginTop=a.Em(s)),o&&(e.style.marginBottom=a.Em(o)),r&&(e.style.marginLeft=a.Em(r)),l&&(e.style.marginRight=a.Em(l)),h&&(t.style.verticalAlign=a.Em(h)),t},PHTMLdimen:function(t,e,i){null==i&&(i=-u);var n=(t=String(t)).match(/width|height|depth/),s=n?this.PHTML[n[0].charAt(0)]:e?this.PHTML[e]:0;return{len:a.length2em(t,s)||0,pm:!!t.match(/^[-+]/)}}}),n.munderover.Augment({toPreviewHTML:function(t){var e=this.getValues("displaystyle","accent","accentunder","align"),s=this.data[this.base];if(!e.displaystyle&&null!=s&&(s.movablelimits||s.CoreMO().Get("movablelimits")))return(t=n.msubsup.prototype.toPreviewHTML.call(this,t)).className=t.className.replace(/munderover/,"msubsup"),t;t=this.PHTMLdefaultSpan(t,{childSpans:!0,className:"",noBBox:!0});var o=this.PHTMLbboxFor(this.over),r=this.PHTMLbboxFor(this.under),l=this.PHTMLbboxFor(this.base),h=this.PHTML,u=o.acc;if(this.data[this.over]){t.lastChild.firstChild&&(t.lastChild.firstChild.style.marginLeft=o.l=t.lastChild.firstChild.style.marginRight=o.r=0);var d=i.Element("span",{},[["span",{className:"MJXp-over"}]]);d.firstChild.appendChild(t.lastChild),t.childNodes.length>(this.data[this.under]?1:0)&&d.firstChild.appendChild(t.firstChild),this.data[this.over].PHTMLhandleScriptlevel(d.firstChild.firstChild),null!=u&&(o.vec&&(d.firstChild.firstChild.firstChild.style.fontSize="60%",o.h*=.6,o.d*=.6,o.w*=.6),u=u-o.d+.1,null!=l.t&&(u+=l.t-l.h),d.firstChild.firstChild.style.marginBottom=a.Em(u)),t.firstChild?t.insertBefore(d,t.firstChild):t.appendChild(d)}return this.data[this.under]&&(t.lastChild.firstChild&&(t.lastChild.firstChild.style.marginLeft=r.l=t.lastChild.firstChild.marginRight=r.r=0),this.data[this.under].PHTMLhandleScriptlevel(t.lastChild)),h.w=Math.max(.8*o.w,.8*r.w,l.w),h.h=.8*(o.h+o.d+(u||0))+l.h,h.d=l.d+.8*(r.h+r.d),t}}),n.msubsup.Augment({toPreviewHTML:function(t){t=this.PHTMLdefaultSpan(t,{noBBox:!0}),this.data[this.base]||(t.firstChild?t.insertBefore(i.Element("span"),t.firstChild):t.appendChild(i.Element("span")));var e=this.data[this.base],n=this.data[this.sub],s=this.data[this.sup];e||(e={bbox:{h:.8,d:.2}}),t.firstChild.style.marginRight=".05em";var o=Math.max(.4,e.PHTML.h-.4),r=Math.max(.2,e.PHTML.d+.1),l=this.PHTML;if(s&&n){var h=i.Element("span",{className:"MJXp-script-box",style:{height:a.Em(o+.8*s.PHTML.h+r+.8*n.PHTML.d),"vertical-align":a.Em(-r-.8*n.PHTML.d)}},[["span",{},[["span",{},[["span",{style:{"margin-bottom":a.Em(-(s.PHTML.d-.05))}}]]]]],["span",{},[["span",{},[["span",{style:{"margin-top":a.Em(-(s.PHTML.h-.05))}}]]]]]]);n.PHTMLhandleScriptlevel(h.firstChild),s.PHTMLhandleScriptlevel(h.lastChild),h.firstChild.firstChild.firstChild.appendChild(t.lastChild),h.lastChild.firstChild.firstChild.appendChild(t.lastChild),t.appendChild(h),l.h=Math.max(e.PHTML.h,.8*s.PHTML.h+o),l.d=Math.max(e.PHTML.d,.8*n.PHTML.d+r),l.w=e.PHTML.w+Math.max(s.PHTML.w,n.PHTML.w)+.07}else s?(t.lastChild.style.verticalAlign=a.Em(o),s.PHTMLhandleScriptlevel(t.lastChild),l.h=Math.max(e.PHTML.h,.8*s.PHTML.h+o),l.d=Math.max(e.PHTML.d,.8*s.PHTML.d-o),l.w=e.PHTML.w+s.PHTML.w+.07):n&&(t.lastChild.style.verticalAlign=a.Em(-r),n.PHTMLhandleScriptlevel(t.lastChild),l.h=Math.max(e.PHTML.h,.8*n.PHTML.h-r),l.d=Math.max(e.PHTML.d,.8*n.PHTML.d+r),l.w=e.PHTML.w+n.PHTML.w+.07);return t}}),n.mfrac.Augment({toPreviewHTML:function(t){t=this.PHTMLdefaultSpan(t,{childSpans:!0,className:"MJXp-box",forceChild:!0,noBBox:!0});var e=this.getValues("linethickness","displaystyle");e.displaystyle||(this.data[0]&&this.data[0].PHTMLhandleScriptlevel(t.firstChild),this.data[1]&&this.data[1].PHTMLhandleScriptlevel(t.lastChild));var n=i.Element("span",{className:"MJXp-box"},[["span",{className:"MJXp-denom"},[["span",{},[["span",{className:"MJXp-rule",style:{height:"1em"}}]]],["span"]]]]);n.firstChild.lastChild.appendChild(t.lastChild),t.appendChild(n);var s=this.PHTMLbboxFor(0),o=this.PHTMLbboxFor(1),r=this.PHTML;if(r.w=.8*Math.max(s.w,o.w),r.h=s.h+s.d+.1+.25,r.d=o.h+o.d-.25,r.l=r.r=.125,e.linethickness=Math.max(0,a.length2em(e.linethickness||"0",0)),e.linethickness){var l=n.firstChild.firstChild.firstChild,h=a.Em(e.linethickness);l.style.borderTop="none",l.style.borderBottom=(e.linethickness<.15?"1px":h)+" solid",l.style.margin=h+" 0",h=e.linethickness,n.style.marginTop=a.Em(3*h-1.2),t.style.verticalAlign=a.Em(1.5*h+.1),r.h+=1.5*h-.1,r.d+=1.5*h}else n.style.marginTop="-.7em";return t}}),n.msqrt.Augment({toPreviewHTML:function(t){return t=this.PHTMLdefaultSpan(t,{childSpans:!0,className:"MJXp-box",forceChild:!0,noBBox:!0}),this.PHTMLlayoutRoot(t,t.firstChild),t},PHTMLlayoutRoot:function(t,e){var n=this.PHTMLbboxFor(0),s=Math.ceil(100*(n.h+n.d+.14)),o=a.Em(14/s),r=i.Element("span",{className:"MJXp-surd"},[["span",{style:{"font-size":s+"%","margin-top":o}},["√"]]]),l=i.Element("span",{className:"MJXp-root"},[["span",{className:"MJXp-rule",style:{"border-top":".08em solid"}}]]),h=1.2/2.2*s/100;if(s>150){var u=Math.ceil(150/s*10);r.firstChild.className="MJXp-right MJXp-scale"+u,r.firstChild.style.marginLeft=a.Em(h*(u/10-1)/s*100),h=h*u/10,l.firstChild.style.borderTopWidth=a.Em(.08/Math.sqrt(u/10))}return l.appendChild(e),t.appendChild(r),t.appendChild(l),this.PHTML.h=n.h+.18,this.PHTML.d=n.d,this.PHTML.w=n.w+h,t}}),n.mroot.Augment({toPreviewHTML:function(t){t=this.PHTMLdefaultSpan(t,{childSpans:!0,className:"MJXp-box",forceChild:!0,noBBox:!0});var e=this.PHTMLbboxFor(1),n=t.removeChild(t.lastChild),s=this.PHTMLlayoutRoot(i.Element("span"),t.firstChild);n.className="MJXp-script";var o=parseInt(s.firstChild.firstChild.style.fontSize),r=o/120*.55+.8*e.d,l=o/120*-.6;return o>150&&(l*=.95*Math.ceil(150/o*10)/10),n.style.marginRight=a.Em(l),n.style.verticalAlign=a.Em(r),-l>.8*e.w&&(n.style.marginLeft=a.Em(-l-.8*e.w)),t.appendChild(n),t.appendChild(s),this.PHTML.w+=Math.max(0,.8*e.w+l),this.PHTML.h=Math.max(this.PHTML.h,.8*e.h+r),t},PHTMLlayoutRoot:n.msqrt.prototype.PHTMLlayoutRoot}),n.mfenced.Augment({toPreviewHTML:function(t){t=this.PHTMLcreateSpan(t),this.PHTMLhandleStyle(t),this.PHTMLhandleColor(t),this.addFakeNodes(),this.PHTMLaddChild(t,"open",{});for(var e=0,i=this.data.length;e<i;e++)this.PHTMLaddChild(t,"sep"+e,{}),this.PHTMLaddChild(t,e,{});this.PHTMLaddChild(t,"close",{});var a=this.PHTML.h,n=this.PHTML.d;for(this.PHTMLstretchChild("open",a,n),e=0,i=this.data.length;e<i;e++)this.PHTMLstretchChild("sep"+e,a,n),this.PHTMLstretchChild(e,a,n);return this.PHTMLstretchChild("close",a,n),t}}),n.mrow.Augment({toPreviewHTML:function(t){t=this.PHTMLdefaultSpan(t);for(var e=this.PHTML.h,i=this.PHTML.d,a=0,n=this.data.length;a<n;a++)this.PHTMLstretchChild(a,e,i);return t}}),n.mstyle.Augment({toPreviewHTML:function(t){return t=this.PHTMLdefaultSpan(t),this.PHTMLhandleScriptlevel(t),t}}),n.TeXAtom.Augment({toPreviewHTML:function(t){return(t=this.PHTMLdefaultSpan(t)).className="MJXp-mrow",t}}),n.mtable.Augment({toPreviewHTML:function(t){t=this.PHTMLdefaultSpan(t,{noBBox:!0});var e,n,s,o,r=this.getValues("columnalign","rowalign","columnspacing","rowspacing","columnwidth","equalcolumns","equalrows","columnlines","rowlines","frame","framespacing","align","width"),l=MathJax.Hub.SplitList,h=l(r.columnspacing),u=l(r.rowspacing),d=l(r.columnalign),c=l(r.rowalign);for(e=0,n=h.length;e<n;e++)h[e]=a.length2em(h[e]);for(e=0,n=u.length;e<n;e++)u[e]=a.length2em(u[e]);for(var m=i.Element("span");t.firstChild;)m.appendChild(t.firstChild);t.appendChild(m);var p=0,f=0;for(e=0,n=this.data.length;e<n;e++){var M=this.data[e];if(M){var g=a.arrayEntry(u,e-1),x=a.arrayEntry(c,e),b=M.PHTML;M.PHTMLspanElement().style.verticalAlign=x;var v="mlabeledtr"===M.type?1:0;for(s=0,o=M.data.length;s<o-v;s++){var T=M.data[s+v];if(T){var y=a.arrayEntry(h,s-1),C=a.arrayEntry(d,s),L=T.PHTMLspanElement();s&&(b.w+=y,L.style.paddingLeft=a.Em(y)),e&&(L.style.paddingTop=a.Em(g)),L.style.textAlign=C}}p+=b.h+b.d,e&&(p+=g),b.w>f&&(f=b.w)}}var E=this.PHTML;return E.w=f,E.h=p/2+.25,E.d=p/2-.25,E.l=E.r=.125,t}}),n.mlabeledtr.Augment({PHTMLdefaultSpan:function(t,e){e||(e={}),t=this.PHTMLcreateSpan(t),this.PHTMLhandleStyle(t),this.PHTMLhandleColor(t),this.isToken&&this.PHTMLhandleToken(t);for(var i=1,a=this.data.length;i<a;i++)this.PHTMLaddChild(t,i,e);return t}}),n.semantics.Augment({toPreviewHTML:function(t){return t=this.PHTMLcreateSpan(t),this.data[0]&&(this.data[0].toPreviewHTML(t),MathJax.Hub.Insert(this.data[0].PHTML||{},this.PHTML)),t}}),n.annotation.Augment({toPreviewHTML:function(t){}}),n["annotation-xml"].Augment({toPreviewHTML:function(t){}}),MathJax.Hub.Register.StartupHook("onLoad",(function(){setTimeout(MathJax.Callback(["loadComplete",a,"jax.js"]),0)}))})),MathJax.Hub.Register.StartupHook("End Cookie",(function(){"None"!==e.config.menuSettings.zoom&&t.Require("[MathJax]/extensions/MathZoom.js")}))}(MathJax.Ajax,MathJax.Hub,MathJax.HTML,MathJax.OutputJax.PreviewHTML),function(t,e,i){var a=t.config.menuSettings,n=MathJax.OutputJax,s=i.isMSIE&&(document.documentMode||0)<8,o=MathJax.Extension["fast-preview"]={version:"2.7.9",enabled:!0,config:t.CombineConfig("fast-preview",{Chunks:{EqnChunk:1e4,EqnChunkFactor:1,EqnChunkDelay:0},color:"inherit!important",updateTime:30,updateDelay:6,messageStyle:"none",disabled:i.isMSIE&&!i.versionAtLeast("8.0")}),Config:function(){var e,i,n,s,r;t.config["CHTML-preview"]&&MathJax.Hub.Config({"fast-preview":t.config["CHTML-preview"]});var l=this.config;l.disabled||null!=a.FastPreview||t.Config({menuSettings:{FastPreview:!0}}),a.FastPreview&&(MathJax.Ajax.Styles({".MathJax_Preview .MJXf-math":{color:l.color}}),t.Config({"HTML-CSS":l.Chunks,CommonHTML:l.Chunks,SVG:l.Chunks})),t.Register.MessageHook("Begin Math Output",(function(){!s&&o.Active()&&(e=t.processUpdateTime,i=t.processUpdateDelay,n=t.config.messageStyle,t.processUpdateTime=l.updateTime,t.processUpdateDelay=l.updateDelay,t.Config({messageStyle:l.messageStyle}),MathJax.Message.Clear(0,0),r=!0)})),t.Register.MessageHook("End Math Output",(function(){!s&&r&&(t.processUpdateTime=e,t.processUpdateDelay=i,t.Config({messageStyle:n}),s=!0)}))},Disable:function(){this.enabled=!1},Enable:function(){this.enabled=!0},Active:function(){return a.FastPreview&&this.enabled&&!(n[a.renderer]||{}).noFastPreview},Preview:function(t){if(this.Active()&&t.script.parentNode){var i=t.script.MathJax.preview||t.script.previousSibling;return i&&i.className===MathJax.Hub.config.preRemoveClass||(i=e.Element("span",{className:MathJax.Hub.config.preRemoveClass}),t.script.parentNode.insertBefore(i,t.script),t.script.MathJax.preview=i),i.innerHTML="",i.style.color=s?"black":"inherit",this.postFilter(i,t)}},postFilter:function(e,i){if(!i.math.root.toPreviewHTML){var a=MathJax.Callback.Queue();a.Push(["Require",MathJax.Ajax,"[MathJax]/jax/output/PreviewHTML/config.js"],["Require",MathJax.Ajax,"[MathJax]/jax/output/PreviewHTML/jax.js"]),t.RestartAfter(a.Push({}))}i.math.root.toPreviewHTML(e)},Register:function(e){t.Register.StartupHook(e+" Jax Require",(function(){MathJax.InputJax[e].postfilterHooks.Add(["Preview",MathJax.Extension["fast-preview"]],50)}))}};o.Register("TeX"),o.Register("MathML"),o.Register("AsciiMath"),t.Register.StartupHook("End Config",["Config",o]),t.Startup.signal.Post("fast-preview Ready")}(MathJax.Hub,MathJax.HTML,MathJax.Hub.Browser),MathJax.Ajax.loadComplete("[MathJax]/extensions/fast-preview.js"),function(t,e,i,a){var n=i.config.menuSettings,s=MathJax.Extension.AssistiveMML={version:"2.7.9",config:i.CombineConfig("AssistiveMML",{disabled:!1,styles:{".MJX_Assistive_MathML":{position:"absolute!important",top:0,left:0,clip:i.Browser.isMSIE&&(document.documentMode||0)<8?"rect(1px 1px 1px 1px)":"rect(1px, 1px, 1px, 1px)",padding:"1px 0 0 0!important",border:"0!important",height:"1px!important",width:"1px!important",overflow:"hidden!important",display:"block!important","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none"},".MJX_Assistive_MathML.MJX_Assistive_MathML_Block":{width:"100%!important"}}}),Config:function(){this.config.disabled||null!=n.assistiveMML||i.Config({menuSettings:{assistiveMML:!0}}),t.Styles(this.config.styles),i.Register.MessageHook("End Math",(function(t){if(n.assistiveMML)return s.AddAssistiveMathML(t[1])}))},AddAssistiveMathML:function(t){var e={jax:i.getAllJax(t),i:0,callback:MathJax.Callback({})};return this.HandleMML(e),e.callback},RemoveAssistiveMathML:function(t){for(var e,a=i.getAllJax(t),n=0,s=a.length;n<s;n++)(e=document.getElementById(a[n].inputID+"-Frame"))&&e.getAttribute("data-mathml")&&(e.removeAttribute("data-mathml"),e.lastChild&&e.lastChild.className.match(/MJX_Assistive_MathML/)&&e.removeChild(e.lastChild))},HandleMML:function(t){var e,i,n,s,o=t.jax.length,r=MathJax.ElementJax.mml;for(r.copyAttributes.id=1;t.i<o;){if(e=t.jax[t.i],n=document.getElementById(e.inputID+"-Frame"),"NativeMML"!==e.outputJax&&"PlainSource"!==e.outputJax&&n&&!n.getAttribute("data-mathml")){try{i=e.root.toMathML("").replace(/\n */g,"").replace(/<!--.*?-->/g,"")}catch(e){if(r.copyAttributes.id=!0,!e.restart)throw e;return MathJax.Callback.After(["HandleMML",this,t],e.restart)}n.setAttribute("data-mathml",i),s=a.addElement(n,"span",{isMathJax:!0,unselectable:"on",className:"MJX_Assistive_MathML"+("block"===e.root.Get("display")?" MJX_Assistive_MathML_Block":"")});try{s.innerHTML=i}catch(t){}n.style.position="relative",n.setAttribute("role","presentation"),n.firstChild.setAttribute("aria-hidden","true"),s.setAttribute("role","presentation")}t.i++}r.copyAttributes.id=!0,t.callback()}};i.Startup.signal.Post("AssistiveMML Ready")}(MathJax.Ajax,MathJax.Callback,MathJax.Hub,MathJax.HTML),MathJax.Callback.Queue(["Require",MathJax.Ajax,"[MathJax]/extensions/toMathML.js"],["loadComplete",MathJax.Ajax,"[MathJax]/extensions/AssistiveMML.js"],(function(){MathJax.Hub.Register.StartupHook("End Config",["Config",MathJax.Extension.AssistiveMML])})),function(t,e){var i,a,n=t.config.menuSettings,s=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){return function(){t.apply(e,arguments)}},o=Object.keys||function(t){var e=[];for(var i in t)t.hasOwnProperty(i)&&e.push(i);return e},r=MathJax.Ajax.config.path;r.a11y||(r.a11y=t.config.root+"/extensions/a11y");var l=e["accessibility-menu"]={version:"1.6.0",prefix:"",defaults:{},modules:[],MakeOption:function(t){return l.prefix+t},GetOption:function(t){return n[l.MakeOption(t)]},AddDefaults:function(){for(var t,e=o(l.defaults),i=0;t=e[i];i++){var a=l.MakeOption(t);void 0===n[a]&&(n[a]=l.defaults[t])}},AddMenu:function(){for(var t,e=Array(this.modules.length),n=0;t=this.modules[n];n++)e[n]=t.placeHolder;var s,o,r=a.FindId("Accessibility");r?(e.unshift(i.RULE()),r.submenu.items.push.apply(r.submenu.items,e)):((s=(a.FindId("Settings","Renderer")||{}).submenu)&&(e.unshift(i.RULE()),e.unshift(s.items.pop()),e.unshift(s.items.pop())),e.unshift("Accessibility"),r=i.SUBMENU.apply(i.SUBMENU,e),(o=a.IndexOfId("Locale"))?a.items.splice(o,0,r):a.items.push(i.RULE(),r))},Register:function(t){l.defaults[t.option]=!1,l.modules.push(t)},Startup:function(){i=MathJax.Menu.ITEM,a=MathJax.Menu.menu;for(var t,e=0;t=this.modules[e];e++)t.CreateMenu();this.AddMenu()},LoadExtensions:function(){for(var e,i=[],a=0;e=this.modules[a];a++)n[e.option]&&i.push(e.module);return i.length?t.Startup.loadArray(i):null}},h=MathJax.Extension.ModuleLoader=MathJax.Object.Subclass({option:"",name:["",""],module:"",placeHolder:null,submenu:!1,extension:null,Init:function(t,e,i,a,n){this.option=t,this.name=[e.replace(/ /g,""),e],this.module=i,this.extension=a,this.submenu=n||!1},CreateMenu:function(){var t=s(this.Load,this);this.submenu?this.placeHolder=i.SUBMENU(this.name,i.CHECKBOX(["Activate","Activate"],l.MakeOption(this.option),{action:t}),i.RULE(),i.COMMAND(["OptionsWhenActive","(Options when Active)"],null,{disabled:!0})):this.placeHolder=i.CHECKBOX(this.name,l.MakeOption(this.option),{action:t})},Load:function(){t.Queue(["Require",MathJax.Ajax,this.module,["Enable",this]])},Enable:function(t){var e=MathJax.Extension[this.extension];e&&(e.Enable(!0,!0),MathJax.Menu.saveCookie())}});l.Register(h("collapsible","Collapsible Math","[a11y]/collapsible.js","collapsible")),l.Register(h("autocollapse","Auto Collapse","[a11y]/auto-collapse.js","auto-collapse")),l.Register(h("explorer","Explorer","[a11y]/explorer.js","explorer",!0)),l.AddDefaults(),t.Register.StartupHook("End Extensions",(function(){t.Register.StartupHook("MathMenu Ready",(function(){l.Startup(),t.Startup.signal.Post("Accessibility Menu Ready")}),5)}),5),MathJax.Hub.Register.StartupHook("End Cookie",(function(){MathJax.Callback.Queue(["LoadExtensions",l],["loadComplete",MathJax.Ajax,"[a11y]/accessibility-menu.js"])}))}(MathJax.Hub,MathJax.Extension),MathJax.Ajax.loadComplete("[MathJax]/config/AM_HTMLorMML-full.js");