!function(n){var r={};function a(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,a),t.l=!0,t.exports}a.m=n,a.c=r,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(t,e){if(1&e&&(t=a(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)a.d(n,r,function(e){return t[e]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=3)}([function(e,t,n){"use strict";(function(e){var u=this&&this.__values||function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};function c(e,t){var n,r;try{for(var a=u(Object.keys(t)),o=a.next();!o.done;o=a.next()){var i=o.value;"__esModule"!==i&&("object"==typeof e[i]&&"object"==typeof t[i]?c(e[i],t[i]):null!==t[i]&&void 0!==t[i]&&(e[i]=t[i]))}}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return e}Object.defineProperty(t,"__esModule",{value:!0}),t.combineConfig=c,t.combineDefaults=function e(t,n,r){var a,o;t[n]||(t[n]={}),t=t[n];try{for(var i=u(Object.keys(r)),c=i.next();!c.done;c=i.next()){var s=c.value;"object"==typeof t[s]&&"object"==typeof r[s]?e(t,s,r[s]):null==t[s]&&null!=r[s]&&(t[s]=r[s])}}catch(e){a={error:e}}finally{try{c&&!c.done&&(o=i.return)&&o.call(i)}finally{if(a)throw a.error}}return t},t.combineWithMathJax=function(e){return c(t.MathJax,e)},void 0===e.MathJax&&(e.MathJax={}),e.MathJax.version||(e.MathJax={version:"3.0.1",_:{},config:e.MathJax}),t.MathJax=e.MathJax}).call(this,n(5))},function(e,d,o){"use strict";(function(n){var u=this&&this.__values||function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(d,"__esModule",{value:!0});var e,t,r=o(0),l=o(2),a=o(2);d.Package=a.Package,d.PackageError=a.PackageError,(t=e=d.Loader||(d.Loader={})).ready=function(){for(var t,e,n=[],r=0;r=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var i,h=n(1),c=(i=Error,a(s,i),s);function s(e,t){var n=i.call(this,e)||this;return n.package=t,n}t.PackageError=c;var u=(p.resolvePath=function(e,t){void 0===t&&(t=!0);var n,r=h.CONFIG.source[e]||e;for(r.match(/^(?:[a-z]+:\/)?\/|\[|[a-z]:\\/i)||(r="[mathjax]/"+r.replace(/^\.\//,"")),t&&!r.match(/\.[^\/]+$/)&&(r+=".js");(n=r.match(/^\[([^\]]*)\]/))&&h.CONFIG.paths.hasOwnProperty(n[1]);)r=h.CONFIG.paths[n[1]]+r.substr(n[0].length);return r},Object.defineProperty(p.prototype,"canLoad",{get:function(){return 0===this.dependencyCount&&!this.noLoad&&!this.isLoading&&!this.hasFailed},enumerable:!0,configurable:!0}),p.prototype.makeDependencies=function(){var t,e,n=[],r=p.packages,a=this.noLoad,o=this.name,i=[];h.CONFIG.dependencies.hasOwnProperty(o)?i.push.apply(i,d(h.CONFIG.dependencies[o])):"core"!==o&&i.push("core");try{for(var c=f(i),s=c.next();!s.done;s=c.next()){var u=s.value,l=r.get(u)||new p(u,a);this.dependencies.indexOf(l)<0&&(l.addDependent(this,a),this.dependencies.push(l),l.isLoaded||(this.dependencyCount++,n.push(l.promise)))}}catch(e){t={error:e}}finally{try{s&&!s.done&&(e=c.return)&&e.call(c)}finally{if(t)throw t.error}}return n},p.prototype.makePromise=function(e){var n=this,t=new Promise(function(e,t){n.resolve=e,n.reject=t}),r=h.CONFIG[this.name]||{};return r.ready&&(t=t.then(function(e){return r.ready(n.name)})),e.length&&(e.push(t),t=Promise.all(e).then(function(e){return e.join(", ")})),r.failed&&t.catch(function(e){return r.failed(new c(e,n.name))}),t},p.prototype.load=function(){if(!this.isLoaded&&!this.isLoading&&!this.noLoad){this.isLoading=!0;var e=p.resolvePath(this.name);h.CONFIG.require?this.loadCustom(e):this.loadScript(e)}},p.prototype.loadCustom=function(e){var t=this;try{var n=h.CONFIG.require(e);n instanceof Promise?n.then(function(){return t.checkLoad()}).catch(function(){return t.failed("Can't load \""+e+'"')}):this.checkLoad()}catch(e){this.failed(e.message)}},p.prototype.loadScript=function(t){var n=this,e=document.createElement("script");e.src=t,e.charset="UTF-8",e.onload=function(e){return n.checkLoad()},e.onerror=function(e){return n.failed("Can't load \""+t+'"')},document.head.appendChild(e)},p.prototype.loaded=function(){var t,e,n,r;this.isLoaded=!0,this.isLoading=!1;try{for(var a=f(this.dependents),o=a.next();!o.done;o=a.next())o.value.requirementSatisfied()}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=a.return)&&e.call(a)}finally{if(t)throw t.error}}try{for(var i=f(this.provided),c=i.next();!c.done;c=i.next())c.value.loaded()}catch(e){n={error:e}}finally{try{c&&!c.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}this.resolve(this.name)},p.prototype.failed=function(e){this.hasFailed=!0,this.isLoading=!1,this.reject(new c(e,this.name))},p.prototype.checkLoad=function(){var t=this;((h.CONFIG[this.name]||{}).checkReady||function(){return Promise.resolve()})().then(function(){return t.loaded()}).catch(function(e){return t.failed(e)})},p.prototype.requirementSatisfied=function(){this.dependencyCount&&(this.dependencyCount--,this.canLoad&&this.load())},p.prototype.provides=function(e){var t,n;void 0===e&&(e=[]);try{for(var r=f(e),a=r.next();!a.done;a=r.next()){var o=a.value,i=p.packages.get(o);i||(h.CONFIG.dependencies[o]||(h.CONFIG.dependencies[o]=[]),h.CONFIG.dependencies[o].push(o),(i=new p(o,!0)).isLoading=!0),this.provided.push(i)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}},p.prototype.addDependent=function(e,t){this.dependents.push(e),t||this.checkNoLoad()},p.prototype.checkNoLoad=function(){var t,e;if(this.noLoad){this.noLoad=!1;try{for(var n=f(this.dependencies),r=n.next();!r.done;r=n.next())r.value.checkNoLoad()}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}},p.loadAll=function(){var t,e;try{for(var n=f(this.packages.values()),r=n.next();!r.done;r=n.next()){var a=r.value;a.canLoad&&a.load()}}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}},p.packages=new Map,p);function p(e,t){void 0===t&&(t=!1),this.isLoaded=!1,this.isLoading=!1,this.hasFailed=!1,this.dependents=[],this.dependencies=[],this.dependencyCount=0,this.provided=[],this.name=e,this.noLoad=t,p.packages.set(e,this),this.promise=this.makePromise(this.makeDependencies())}t.Package=u},function(e,t,n){"use strict";n(4);var r=n(1),a=n(0),o=n(6);(0,a.combineDefaults)(MathJax.config.loader,"dependencies",o.dependencies),(0,a.combineDefaults)(MathJax.config.loader,"paths",o.paths),(0,a.combineDefaults)(MathJax.config.loader,"provides",o.provides),r.Loader.load.apply(r.Loader,function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t