(function(e){if("function"==typeofbootstrap)bootstrap("katex",e);elseif("object"==typeofexports)module.exports=e();elseif("function"==typeofdefine&&define.amd)define(e);elseif("undefined"!=typeofses){if(!ses.ok())return;ses.makeKatex=e}else"undefined"!=typeofwindow?window.katex=e():global.katex=e()})(function(){vare,t,i,h,a;returnfunctionr(e,t,i){functionh(l,s){if(!t[l]){if(!e[l]){varp=typeofrequire=="function"&&require;if(!s&&p)returnp(l,!0);if(a)returna(l,!0);thrownewError("Cannot find module '"+l+"'")}varn=t[l]={exports:{}};e[l][0].call(n.exports,function(t){vari=e[l][1][t];returnh(i?i:t)},n,n.exports,r,e,t,i)}returnt[l].exports}vara=typeofrequire=="function"&&require;for(varl=0;l<i.length;l++)h(i[l]);returnh}({1:[function(e,t,i){varh=e("./src/ParseError");vara=e("./src/Settings");varr=e("./src/buildTree");varl=e("./src/parseTree");vars=e("./src/utils");varp=function(e,t,i){s.clearNode(t);varh=newa(i);varp=l(e,h);varn=r(p,e,h).toNode();t.appendChild(n)};if(typeofdocument!=="undefined"){if(document.compatMode!=="CSS1Compat"){typeofconsole!=="undefined"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your "+"website has a suitable doctype.");p=function(){thrownewh("KaTeX doesn't work in quirks mode.")}}}varn=function(e,t){vari=newa(t);varh=l(e,i);returnr(h,e,i).toMarkup()};varo=function(e,t){vari=newa(t);returnl(e,i)};t.exports={render:p,renderToString:n,__parse:o,ParseError:h}},{"./src/ParseError":5,"./src/Settings":7,"./src/buildTree":12,"./src/parseTree":20,"./src/utils":22}],2:[function(e,t,i){"use strict";functionh(e){if(!e.__matchAtRelocatable){vart=e.source+"|()";vari="g"+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"");e.__matchAtRelocatable=newRegExp(t,i)}returne.__matchAtRelocatable}functiona(e,t,i){if(e.global||e.sticky){thrownewError("matchAt(...): Only non-global regexes are supported")}vara=h(e);a.lastIndex=i;varr=a.exec(t);if(r[r.length-1]==null){r.length=r.length-1;returnr}else{returnnull}}t.exports=a},{}],3:[function(e,t,i){varh=e("match-at");vara=e("./ParseError");functionr(e){this._input=e}functionl(e,t,i){this.text=e;this.data=t;this.position=i}vars=[/[/|@.""`0-9a-zA-Z]/,/[*+-]/,/[=<>:]/,/[,;]/,/['\^_{}]/,/[(\[]/,/[)\]?!]/,/~/,/&/,/\\\\/];varp=[/[a-zA-Z0-9`!@*()-=+\[\]'";:?\/.,]/,/[{}]/,/~/,/&/,/\\\\/];varn=/\s*/;varo=/ +|\\ +/;varc=/\\(?:[a-zA-Z]+|.)/;r.prototype._innerLex=function(e,t,i){varr=this._input;vars;if(i){s=h(n,r,e)[0];e+=s.length}else{s=h(o,r,e);if(s!==null){returnnewl(" ",null,e+s[0].length)}}if(e===r.length){returnnewl("EOF",null,e)}varp;if(p=h(c,r,e)){returnnewl(p[0],null,e+p[0].length)}else{for(varg=0;g<t.length;g++){vard=t[g];if(p=h(d,r,e)){returnnewl(p[0],null,e+p[0].length)}}}thrownewa("Unexpected character: '"+r[e]+"'",this,e)};varg=/#[a-z0-9]+|[a-z]+/i;r.prototype._innerLexColor=function(e){vart=this._input;vari=h(n,t,e)[0];e+=i.length;varr;if(r=h(g,t,e)){returnnewl(r[0],null,e+r[0].length)}else{thrownewa("Invalid color",this,e)}};vard=/(-?)\s*(\d+(?:\.\d*)?|\.\d+)\s*([a-z]{2})/;r.prototype._innerLexSize=function(e){vart=this._input;vari=h(n,t,e)[0];e+=i.length;varr;if(r=h(d,t,e)){vars=r[3];if(s!=="em"&&s!=="ex"){thrownewa("Invalid unit: '"+s+"'",this,e)}returnnewl(r[0],{number:+(r[1]+r[2]),unit:s},e+r[0].length)}thrownewa("Invalid size",this,e)};r.prototype._innerLexWhitespace=function(e){vart=this._input;vari=h(n,t,e)[0];e+=i.length;returnnewl(i[0],null,e)};r.prototype.lex=function(e,t){if(t==="math"){returnthis._innerLex(e,s,true)}elseif(t==="text"){returnthis._innerLex(e,p,false)}elseif(t==="color"){returnthis._innerLexColor(e)}elseif(t==="size"){returnthis._innerLexSize(e)}elseif(t==="whitespace"){returnthis._innerLexWhitespace(e)}};t.exports=r},{"./ParseError":5,"match-at":2}],4:[function(e,t,i){functionh(e){this.style=e.style;this.color=e.color;this.size=e.size;this.phantom=e.phantom;if(e.parentStyle===undefined){this.parentStyle=e.style}else{this.parentStyle=e.parentStyle}if(e.parentSize===undefined){this.parentSize=e.s