(function(d,c,i){varh,g="\u00A0";vare=MathJax.Object.Subclass({Init:function(l,k){this.global={isInner:k};this.data=[b.start(this.global)];if(l){this.data[0].env=l}this.env=this.data[0].env},Push:function(){varl,k,n,o;for(l=0,k=arguments.length;l<k;l++){n=arguments[l];if(ninstanceofh.mbase){n=b.mml(n)}n.global=this.global;o=(this.data.length?this.Top().checkItem(n):true);if(oinstanceofArray){this.Pop();this.Push.apply(this,o)}else{if(oinstanceofb){this.Pop();this.Push(o)}else{if(o){this.data.push(n);if(n.env){for(varpinthis.env){if(this.env.hasOwnProperty(p)){n.env[p]=this.env[p]}}this.env=n.env}else{n.env=this.env}}}}}},Pop:function(){vark=this.data.pop();if(!k.isOpen){deletek.env}this.env=(this.data.length?this.Top().env:{});returnk},Top:function(k){if(k==null){k=1}if(this.data.length<k){returnnull}returnthis.data[this.data.length-k]},Prev:function(k){varl=this.Top();if(k){returnl.data[l.data.length-1]}else{returnl.Pop()}},toString:function(){return"stack[\n "+this.data.join("\n ")+"\n]"}});varb=e.Item=MathJax.Object.Subclass({type:"base",closeError:"Extra close brace or missing open brace",rightError:"Missing \\left or extra \\right",Init:function(){if(this.isOpen){this.env={}}this.data=[];this.Push.apply(this,arguments)},Push:function(){this.data.push.apply(this.data,arguments)},Pop:function(){returnthis.data.pop()},mmlData:function(k,l){if(k==null){k=true}if(this.data.length===1&&!l){returnthis.data[0]}returnh.mrow.apply(h,this.data).With((k?{inferred:true}:{}))},checkItem:function(k){if(k.type==="over"&&this.isOpen){k.num=this.mmlData(false);this.data=[]}if(k.type==="cell"&&this.isOpen){if(k.linebreak){returnfalse}d.Error("Misplaced "+k.name)}if(k.isClose&&this[k.type+"Error"]){d.Error(this[k.type+"Error"])}if(!k.isNotStack){returntrue}this.Push(k.data[0]);returnfalse},With:function(k){for(varlink){if(k.hasOwnProperty(l)){this[l]=k[l]}}returnthis},toString:function(){returnthis.type+"["+this.data.join("; ")+"]"}});b.start=b.Subclass({type:"start",isOpen:true,Init:function(k){this.SUPER(arguments).Init.call(this);this.global=k},checkItem:function(k){if(k.type==="stop"){returnb.mml(this.mmlData())}returnthis.SUPER(arguments).checkItem.call(this,k)}});b.stop=b.Subclass({type:"stop",isClose:true});b.open=b.Subclass({type:"open",isOpen:true,stopError:"Extra open brace or missing close brace",checkItem:function(l){if(l.type==="close"){vark=this.mmlData();returnb.mml(h.TeXAtom(k))}returnthis.SUPER(arguments).checkItem.call(this,l)}});b.close=b.Subclass({type:"close",isClose:true});b.subsup=b.Subclass({type:"subsup",stopError:"Missing superscript or subscript argument",checkItem:function(l){vark=["","subscript","superscript"][this.position];if(l.type==="open"||l.type==="left"){returntrue}if(l.type==="mml"){this.data[0].SetData(this.position,l.data[0]);returnb.mml(this.data[0])}if(this.SUPER(arguments).checkItem.call(this,l)){d.Error("Missing open brace for "+k)}},Pop:function(){}});b.over=b.Subclass({type:"over",isClose:true,name:"\\over",checkItem:function(m,k){if(m.type==="over"){d.Error("Ambiguous use of "+m.name)}if(m.isClose){varl=h.mfrac(this.num,this.mmlData(false));if(this.thickness!=null){l.linethickness=this.thickness}if(this.open||this.close){l.texClass=h.TEXCLASS.INNER;l.texWithDelims=true;l=h.mfenced(l).With({open:this.open,close:this.close})}return[b.mml(l),m]}returnthis.SUPER(arguments).checkItem.call(this,m)},toString:function(){return"over["+this.num+" / "+this.data.join("; ")+"]"}});b.left=b.Subclass({type:"left",isOpen:true,delim:"(",stopError:"Extra \\left or missing \\right",checkItem:function(l){if(l.type==="right"){vark=h.mfenced(this.data.length===1?this.data[0]:h.mrow.apply(h,this.data));returnb.mml(k.With({open:this.delim,close:l.delim}))}returnthis.SUPER(arguments).checkItem.call(this,l)}});b.right=b.Subclass({type:"right",isClose:true,delim:")"});b.begin=b.Subclass({type:"begin",isOpen:true,checkItem:function(k){if(k.type==="end"){if(k.name!==this.name){d.Error("\\begin{"+this.name+"} ended with \\end{"+k.name+"}")}if(!this.end){returnb.mml(this.m