UNPKG

mathjax

Version:

Beautiful and accessible math in all browsers. MathJax is an open-source JavaScript display engine for LaTeX, MathML, and AsciiMath notation that works in all browsers. This package includes the packaged components (install mathjax-full to get the source

1 lines 1.38 kB
(()=>{"use strict";var e={d:(n,o)=>{for(var t in o)e.o(o,t)&&!e.o(n,t)&&Object.defineProperty(n,t,{enumerable:!0,get:o[t]})}};e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),e.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),e.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};e.r(n),e.d(n,{NoUndefinedConfiguration:()=>f});const o=("undefined"!=typeof window?window:e.g).MathJax._.components.global,t=(o.GLOBAL,o.isObject,o.combineConfig,o.combineDefaults,o.combineWithMathJax),i=(o.MathJax,MathJax._.input.tex.HandlerTypes),r=i.ConfigurationType,a=i.HandlerType,d=MathJax._.input.tex.Configuration,u=d.Configuration;d.ConfigurationHandler,d.ParserConfiguration;const f=u.create("noundefined",{[r.FALLBACK]:{[a.MACRO]:function(e,n){const o=e.create("text","\\"+n),t=e.options.noundefined,i={};for(const e of["color","background","size"])t[e]&&(i["math"+e]=t[e]);e.Push(e.create("node","mtext",[],i,o))}},[r.OPTIONS]:{noundefined:{color:"red",background:"",size:""}},[r.PRIORITY]:3});MathJax.loader&&MathJax.loader.checkVersion("[tex]/noundefined","4.1.0","tex-extension"),t({_:{input:{tex:{noundefined:{NoUndefinedConfiguration:n}}}}})})();