!function(t,e){"object"==typeofexports&&"object"==typeofmodule?module.exports=e():"function"==typeofdefine&&define.amd?define([],e):"object"==typeofexports?exports.katex=e():t.katex=e()}("undefined"!=typeofself?self:this,function(){returnfunction(t){vare={};functionr(a){if(e[a])returne[a].exports;varn=e[a]={i:a,l:!1,exports:{}};returnt[a].call(n.exports,n,n.exports,r),n.l=!0,n.exports}returnr.m=t,r.c=e,r.d=function(t,e,a){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:a})},r.r=function(t){"undefined"!=typeofSymbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)returnt;if(4&e&&"object"==typeoft&&t&&t.__esModule)returnt;vara=Object.create(null);if(r.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeoft)for(varnint)r.d(a,n,function(e){returnt[e]}.bind(null,n));returna},r.n=function(t){vare=t&&t.__esModule?function(){returnt.default}:function(){returnt};returnr.d(e,"a",e),e},r.o=function(t,e){returnObject.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=1)}([function(t,e,r){},function(t,e,r){"use strict";r.r(e);r(0);vara=function(){functiont(t,e,r){this.lexer=void0,this.start=void0,this.end=void0,this.lexer=t,this.start=e,this.end=r}returnt.range=function(e,r){returnr?e&&e.loc&&r.loc&&e.loc.lexer===r.loc.lexer?newt(e.loc.lexer,e.loc.start,r.loc.end):null:e&&e.loc},t}(),n=function(){functiont(t,e){this.text=void0,this.loc=void0,this.text=t,this.loc=e}returnt.prototype.range=function(e,r){returnnewt(r,a.range(this,e))},t}(),o=functiont(e,r){this.position=void0;vara,n="KaTeX parse error: "+e,o=r&&r.loc;if(o&&o.start<=o.end){vari=o.lexer.input;a=o.start;vars=o.end;a===i.length?n+=" at end of input: ":n+=" at position "+(a+1)+": ";varh=i.slice(a,s).replace(/[^]/g,"$&\u0332");n+=(a>15?"\u2026"+i.slice(a-15,a):i.slice(0,a))+h+(s+15<i.length?i.slice(s,s+15)+"\u2026":i.slice(s))}varl=newError(n);returnl.name="ParseError",l.__proto__=t.prototype,l.position=a,l};o.prototype.__proto__=Error.prototype;vari=o,s=/([A-Z])/g,h={"&":"&",">":">","<":"<",'"':""","'":"'"},l=/[&><"']/g;varm=functiont(e){return"ordgroup"===e.type?1===e.body.length?t(e.body[0]):e:"color"===e.type?1===e.body.length?t(e.body[0]):e:"font"===e.type?t(e.body):e},c={contains:function(t,e){return-1!==t.indexOf(e)},deflt:function(t,e){returnvoid0===t?e:t},escape:function(t){returnString(t).replace(l,function(t){returnh[t]})},hyphenate:function(t){returnt.replace(s,"-$1").toLowerCase()},getBaseElem:m,isCharacterBox:function(t){vare=m(t);return"mathord"===e.type||"textord"===e.type||"atom"===e.type}},u=function(){functiont(t){this.displayMode=void0,this.leqno=void0,this.fleqn=void0,this.throwOnError=void0,this.errorColor=void0,this.macros=void0,this.colorIsTextColor=void0,this.strict=void0,this.maxSize=void0,this.maxExpand=void0,this.allowedProtocols=void0,t=t||{},this.displayMode=c.deflt(t.displayMode,!1),this.leqno=c.deflt(t.leqno,!1),this.fleqn=c.deflt(t.fleqn,!1),this.throwOnError=c.deflt(t.throwOnError,!0),this.errorColor=c.deflt(t.errorColor,"#cc0000"),this.macros=t.macros||{},this.colorIsTextColor=c.deflt(t.colorIsTextColor,!1),this.strict=c.deflt(t.strict,"warn"),this.maxSize=Math.max(0,c.deflt(t.maxSize,1/0)),this.maxExpand=Math.max(0,c.deflt(t.maxExpand,1e3)),this.allowedProtocols=c.deflt(t.allowedProtocols,["http","https","mailto","_relative"])}vare=t.prototype;returne.reportNonstrict=function(t,e,r){vara=this.strict;if("function"==typeofa&&(a=a(t,e,r)),a&&"ignore"!==a){if(!0===a||"error"===a)thrownewi("LaTeX-incompatible input and strict mode is set to 'error': "+e+" ["+t+"]",r);"warn"===a?"undefined"!=typeofconsole&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+e+" ["+t+"]"):"undefined"!=typeofconsole&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+a+"': "+e+" ["+t+"]")}},e.useStrictBehavior=function(t,e,r){vara=this.strict;if("function"=