MathJax.Extension["TeX/bbox"]={version:"2.7.1"},MathJax.Hub.Register.StartupHook("TeX Jax Ready",function(){var e=MathJax.InputJax.TeX,t=MathJax.ElementJax.mml;e.Definitions.Add({macros:{bbox:"BBox"}},null,!0),e.Parse.Augment({BBox:function(a){for(var i,o,r,n=this.GetBrackets(a,""),s=this.ParseArg(a),d=n.split(/,/),l=0,x=d.length;l<x;l++){var h=d[l].replace(/^\s+/,"").replace(/\s+$/,""),p=h.match(/^(\.\d+|\d+(\.\d*)?)(pt|em|ex|mu|px|in|cm|mm)$/);if(p){i&&e.Error(["MultipleBBoxProperty","%1 specified twice in %2","Padding",a]);var c=this.BBoxPadding(p[1]+p[3]);c&&(i={height:"+"+c,depth:"+"+c,lspace:c,width:"+"+2*p[1]+p[3]})}else h.match(/^([a-z0-9]+|\#[0-9a-f]{6}|\#[0-9a-f]{3})$/i)?(o&&e.Error(["MultipleBBoxProperty","%1 specified twice in %2","Background",a]),o=h):h.match(/^[-a-z]+:/i)?(r&&e.Error(["MultipleBBoxProperty","%1 specified twice in %2","Style",a]),r=this.BBoxStyle(h)):""!==h&&e.Error(["InvalidBBoxProperty","'%1' doesn't look like a color, a padding dimension, or a style",h])}i&&(s=t.mpadded(s).With(i)),(o||r)&&(s=t.mstyle(s).With({mathbackground:o,style:r})),this.Push(s)},BBoxStyle:function(e){return e},BBoxPadding:function(e){return e}}),MathJax.Hub.Startup.signal.Post("TeX bbox Ready")}),MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/bbox.js");