!function(){"use strict";vare,t,a,o={667:function(e,t){t.q=void0,t.q="3.2.2"},778:function(e,t,a){varo=this&&this.__values||function(e){vart="function"==typeofSymbol&&Symbol.iterator,a=t&&e[t],o=0;if(a)returna.call(e);if(e&&"number"==typeofe.length)return{next:function(){returne&&o>=e.length&&(e=void0),{value:e&&e[o++],done:!e}}};thrownewTypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},r=this&&this.__read||function(e,t){vara="function"==typeofSymbol&&e[Symbol.iterator];if(!a)returne;varo,r,n=a.call(e),i=[];try{for(;(void0===t||t-->0)&&!(o=n.next()).done;)i.push(o.value)}catch(e){r={error:e}}finally{try{o&&!o.done&&(a=n.return)&&a.call(n)}finally{if(r)throwr.error}}returni},n=this&&this.__spreadArray||function(e,t,a){if(a||2===arguments.length)for(varo,r=0,n=t.length;r<n;r++)!o&&rint||(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);returne.concat(o||Array.prototype.slice.call(t))},i=this&&this.__importDefault||function(e){returne&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.RequireConfiguration=t.options=t.RequireMethods=t.RequireLoad=void0;varp=a(251),s=a(871),u=i(a(402)),l=a(955),c=a(629),x=a(282),h=a(149),f=a(74),M=l.MathJax.config;functiond(e,t){vara,r=e.parseOptions.options.require,n=e.parseOptions.packageData.get("require").required,i=t.substr(r.prefix.length);if(n.indexOf(i)<0){n.push(i),function(e,t){vara,r;void0===t&&(t=[]);varn=e.parseOptions.options.require.prefix;try{for(vari=o(t),p=i.next();!p.done;p=i.next()){vars=p.value;s.substr(0,n.length)===n&&d(e,s)}}catch(e){a={error:e}}finally{try{p&&!p.done&&(r=i.return)&&r.call(i)}finally{if(a)throwa.error}}}(e,x.CONFIG.dependencies[t]);vars=p.ConfigurationHandler.get(i);if(s){varu=M[t]||{};s.options&&1===Object.keys(s.options).length&&s.options[i]&&((a={})[i]=u,u=a),e.configuration.add(i,e,u);varl=e.parseOptions.packageData.get("require").configured;s.preprocessors.length&&!l.has(i)&&(l.set(i,!0),h.mathjax.retryAfter(Promise.resolve()))}}}function_(e,t){vara=e.options.require,o=a.allow,r=("["===t.substr(0,1)?"":a.prefix)+t;if(!(o.hasOwnProperty(r)?o[r]:o.hasOwnProperty(t)?o[t]:a.defaultAllow))thrownewu.default("BadRequire",'Extension "%1" is not allowed to be loaded',r);c.Package.packages.has(r)?d(e.configuration.packageData.get("require").jax,r):h.mathjax.retryAfter(x.Loader.load(r))}t.RequireLoad=_,t.RequireMethods={Require:function(e,t){vara=e.GetArgument(t);if(a.match(/[^_a-zA-Z0-9]/)||""===a)thrownewu.default("BadPackageName","Argument for %1 is not a valid package name",t);_(e,a)}},t.options={require:{allow:(0,f.expandable)({base:!1,"all-packages":!1,autoload:!1,configmacros:!1,tagformat:!1,setoptions:!1}),defaultAllow:!0,prefix:"tex"}},news.CommandMap("require",{require:"Require"},t.RequireMethods),t.RequireConfiguration=p.Configuration.create("require",{handler:{macro:["require"]},config:function(e,t){t.parseOptions.packageData.set("require",{jax:t,required:n([],r(t.options.packages),!1),configured:newMap});vara=t.parseOptions.options.require,o=a.prefix;if(o.match(/[^_a-zA-Z0-9]/))throwError("Illegal characters used in \\require prefix");x.CONFIG.paths[o]||(x.CONFIG.paths[o]="[mathjax]/input/tex/extensions"),a.prefix="["+o+"]/"},options:t.options})},955:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.isObject=MathJax._.components.global.isObject,t.combineConfig=MathJax._.components.global.combineConfig,t.combineDefaults=MathJax._.components.global.combineDefaults,t.combineWithMathJax=MathJax._.components.global.combineWithMathJax,t.MathJax=MathJax._.components.global.MathJax},149:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.mathjax=MathJax._.mathjax.mathjax},74:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.isObject=MathJax._.util.Options.isObject,t.APPEND=MathJax._.util.Options.APPEND,t.REMOVE=MathJax._.util.Options.REMOVE,t.OPTIONS=MathJax._.util.Options.OPTIONS,t.Expandable=MathJax._.util.Options.Expandable,t.expandable=MathJax._.util.Options.expandable,t.makeArray=MathJax._.util.Options.