Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
webapp.katex.c4310a46.js.map Maven / Gradle / Ivy
{"mappings":"A,C,E,A,A,W,iB,C,Q,A,E,Q,S,C,C,C,MCAiD,CAS7C,AAAgB,CAAA,aAAhB,OAAO,KAAuB,KAAO,EAAA,OAAA,CATQ,EASD,WAChD,OAAiB,WAGP,IA0sUiB,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EA1sUb,EAAsB,CAAC,CAM1B,CAAA,EAAoB,CAAC,CAAG,SAAS,CAAO,CAAE,CAAU,EACnD,IAAI,IAAI,KAAO,EACX,EAAoB,CAAC,CAAC,EAAY,IAAQ,CAAC,EAAoB,CAAC,CAAC,EAAS,IAC5E,OAAO,cAAc,CAAC,EAAS,EAAK,CAAE,WAAY,CAAA,EAAM,IAAK,CAAU,CAAC,EAAI,AAAC,EAGhF,EAKA,EAAoB,CAAC,CAAG,SAAS,CAAG,CAAE,CAAI,EAAI,OAAO,OAAO,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,EAAK,EAAO,EAIjH,IAAI,EAAsB,CAAC,EAG3B,EAAoB,CAAC,CAAC,EAAqB,CACzC,QAAW,WAAa,OAAqB,EAAe,CAC9D,EAaA,OAAM,EAIJ,YAAY,CAAO,CACnB,CAAA,CACE,KAMI,EACA,CANJ,CAAA,IAAI,CAAC,IAAI,CAAG,KAAK,EACjB,IAAI,CAAC,QAAQ,CAAG,KAAK,EACrB,IAAI,CAAC,MAAM,CAAG,KAAK,EACnB,IAAI,CAAC,UAAU,CAAG,KAAK,EACvB,IAAI,EAAQ,sBAAwB,EAG9B,EAAM,GAAS,EAAM,GAAG,CAE9B,GAAI,GAAO,EAAI,KAAK,EAAI,EAAI,GAAG,CAAE,CAG/B,IA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AQ,KACV,CACF,EACM,GAAiB,CACrB,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,MACL,EAAK,MACL,EAAK,MACL,EAAK,KACL,EAAK,KACL,EAAK,MACL,EAAK,MACL,EAAK,MACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,MACL,EAAK,MACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,KACL,EAAK,MACL,EAAK,MACL,EAAK,MACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,MACL,EAAK,MACL,EAAK,MACL,EAAK,KACL,EAAK,MACL,EAAK,MACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,MACL,EAAK,MACL,EAAK,MACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,MACL,EAAK,MACL,EAAK,MACL,EAAK,MACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,MACL,EAAK,MACL,EAAK,MACL,EAAK,KACL,EAAK,KACL,EAAK,MACL,EAAK,MACL,EAAK,MACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,MACL,EAAK,MACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,KACL,EAAK,MACL,EAAK,MACL,EAAK,MACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,MACL,EAAK,MACL,EAAK,MACL,EAAK,KACL,EAAK,MACL,EAAK,MACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,MACL,EAAK,MACL,EAAK,MACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,MACL,EAAK,MACL,EAAK,MACL,EAAK,MACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,MACL,EAAK,MACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,MACL,EAAK,MACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAA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AAI,EAAS,GAEhC,EAiGE,kBAAmB,GAUnB,mBAnEuB,SAAU,CAAU,CAAE,CAAO,EACpD,IAAM,EAAW,IAAI,EAAS,GAE9B,GAAI,CACF,IAAM,EAAO,GAAc,EAAY,GACvC,OAAO,GAAc,EAAM,EAAY,EACzC,CAAE,MAAO,EAAO,CACd,OAAO,GAAY,EAAO,EAAY,EACxC,CACF,EAgEE,iBApveF,SAAwB,CAAQ,CAAE,CAAO,EACvC,CAAe,CAAC,EAAS,CAAG,CAC9B,EAuveE,eAAgB,GAOhB,iBAAkB,GAKlB,cA5zQF,SAAqB,CAAI,CAAE,CAAI,EAC7B,EAAO,CAAC,EAAK,CAAG,CAClB,EAm0QE,UAAW,CACT,KAAM,GACN,OAAQ,GACR,WAAY,GACZ,QAAS,GACT,SAAU,GACV,SAAU,EACZ,CACF,EAcU,OADY,EAAoB,OAAU,AAE3C,GAET,EAnjlBE,EAAA,OAAA,CAAiB,G","sources":["","node_modules/katex/dist/katex.js"],"sourcesContent":["\n var $parcel$global = globalThis;\n var parcelRequire = $parcel$global[\"parcelRequire3bab\"];\nvar parcelRegister = parcelRequire.register;\nparcelRegister(\"2SHzT\", function(module, exports) {\n(function webpackUniversalModuleDefinition(root, factory) {\n module.exports = factory();\n})(typeof self !== \"undefined\" ? self : module.exports, function() {\n return /******/ function() {\n /******/ \"use strict\";\n /******/ // The require scope\n /******/ var __webpack_require__ = {};\n /******/ /************************************************************************/ /******/ /* webpack/runtime/define property getters */ /******/ !function() {\n /******/ // define getter functions for harmony exports\n /******/ __webpack_require__.d = function(exports, definition) {\n /******/ for(var key in definition)/******/ if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) /******/ Object.defineProperty(exports, key, {\n enumerable: true,\n get: definition[key]\n });\n /******/ };\n /******/ }();\n /******/ /******/ /* webpack/runtime/hasOwnProperty shorthand */ /******/ !function() {\n /******/ __webpack_require__.o = function(obj, prop) {\n return Object.prototype.hasOwnProperty.call(obj, prop);\n };\n /******/ }();\n /******/ /************************************************************************/ var __webpack_exports__ = {};\n // EXPORTS\n __webpack_require__.d(__webpack_exports__, {\n \"default\": function() {\n return /* binding */ katex_webpack;\n }\n });\n /**\n * This is the ParseError class, which is the main error thrown by KaTeX\n * functions when something has gone wrong. This is used to distinguish internal\n * errors from errors in the expression that the user provided.\n *\n * If possible, a caller should provide a Token or ParseNode with information\n * about where in the source string the problem occurred.\n */ class ParseError {\n // Error start position based on passed-in Token or ParseNode.\n // Length of affected text based on passed-in Token or ParseNode.\n // The underlying error message without any context added.\n constructor(message, token // An object providing position information\n ){\n this.name = void 0;\n this.position = void 0;\n this.length = void 0;\n this.rawMessage = void 0;\n let error = \"KaTeX parse error: \" + message;\n let start;\n let end;\n const loc = token && token.loc;\n if (loc && loc.start <= loc.end) {\n // If we have the input and a position, make the error a bit fancier\n // Get the input\n const input = loc.lexer.input; // Prepend some information\n start = loc.start;\n end = loc.end;\n if (start === input.length) error += \" at end of input: \";\n else error += \" at position \" + (start + 1) + \": \";\n // Underline token in question using combining underscores\n const underlined = input.slice(start, end).replace(/[^]/g, \"$&\\u0332\"); // Extract some context from the input and add it to the error\n let left;\n if (start > 15) left = \"\\u2026\" + input.slice(start - 15, start);\n else left = input.slice(0, start);\n let right;\n if (end + 15 < input.length) right = input.slice(end, end + 15) + \"\\u2026\";\n else right = input.slice(end);\n error += left + underlined + right;\n } // Some hackery to make ParseError a prototype of Error\n // See http://stackoverflow.com/a/8460753\n // $FlowFixMe\n const self1 = new Error(error);\n self1.name = \"ParseError\"; // $FlowFixMe\n self1.__proto__ = ParseError.prototype;\n self1.position = start;\n if (start != null && end != null) self1.length = end - start;\n self1.rawMessage = message;\n return self1;\n }\n } // $FlowFixMe More hackery\n ParseError.prototype.__proto__ = Error.prototype;\n /* harmony default export */ var src_ParseError = ParseError;\n /**\n * This file contains a list of utility functions which are useful in other\n * files.\n */ /**\n * Return whether an element is contained in a list\n */ const contains = function(list, elem) {\n return list.indexOf(elem) !== -1;\n };\n /**\n * Provide a default value if a setting is undefined\n * NOTE: Couldn't use `T` as the output type due to facebook/flow#5022.\n */ const deflt = function(setting, defaultIfUndefined) {\n return setting === undefined ? defaultIfUndefined : setting;\n }; // hyphenate and escape adapted from Facebook's React under Apache 2 license\n const uppercase = /([A-Z])/g;\n const hyphenate = function(str) {\n return str.replace(uppercase, \"-$1\").toLowerCase();\n };\n const ESCAPE_LOOKUP = {\n \"&\": \"&\",\n \">\": \">\",\n \"<\": \"<\",\n '\"': \""\",\n \"'\": \"'\"\n };\n const ESCAPE_REGEX = /[&><\"']/g;\n /**\n * Escapes text to prevent scripting attacks.\n */ function utils_escape(text) {\n return String(text).replace(ESCAPE_REGEX, (match)=>ESCAPE_LOOKUP[match]);\n }\n /**\n * Sometimes we want to pull out the innermost element of a group. In most\n * cases, this will just be the group itself, but when ordgroups and colors have\n * a single element, we want to pull that out.\n */ const getBaseElem = function(group) {\n if (group.type === \"ordgroup\") {\n if (group.body.length === 1) return getBaseElem(group.body[0]);\n else return group;\n } else if (group.type === \"color\") {\n if (group.body.length === 1) return getBaseElem(group.body[0]);\n else return group;\n } else if (group.type === \"font\") return getBaseElem(group.body);\n else return group;\n };\n /**\n * TeXbook algorithms often reference \"character boxes\", which are simply groups\n * with a single character in them. To decide if something is a character box,\n * we find its innermost group, and see if it is a single character.\n */ const isCharacterBox = function(group) {\n const baseElem = getBaseElem(group); // These are all they types of groups which hold single characters\n return baseElem.type === \"mathord\" || baseElem.type === \"textord\" || baseElem.type === \"atom\";\n };\n const assert = function(value) {\n if (!value) throw new Error(\"Expected non-null, but got \" + String(value));\n return value;\n };\n /**\n * Return the protocol of a URL, or \"_relative\" if the URL does not specify a\n * protocol (and thus is relative), or `null` if URL has invalid protocol\n * (so should be outright rejected).\n */ const protocolFromUrl = function(url) {\n // Check for possible leading protocol.\n // https://url.spec.whatwg.org/#url-parsing strips leading whitespace\n // (U+20) or C0 control (U+00-U+1F) characters.\n // eslint-disable-next-line no-control-regex\n const protocol = /^[\\x00-\\x20]*([^\\\\/#?]*?)(:|*58|*3a|&colon)/i.exec(url);\n if (!protocol) return \"_relative\";\n // Reject weird colons\n if (protocol[2] !== \":\") return null;\n // Reject invalid characters in scheme according to\n // https://datatracker.ietf.org/doc/html/rfc3986#section-3.1\n if (!/^[a-zA-Z][a-zA-Z0-9+\\-.]*$/.test(protocol[1])) return null;\n // Lowercase the protocol\n return protocol[1].toLowerCase();\n };\n /* harmony default export */ var utils = {\n contains: contains,\n deflt: deflt,\n escape: utils_escape,\n hyphenate: hyphenate,\n getBaseElem: getBaseElem,\n isCharacterBox: isCharacterBox,\n protocolFromUrl: protocolFromUrl\n };\n /* eslint no-console:0 */ /**\n * This is a module for storing settings passed into KaTeX. It correctly handles\n * default settings.\n */ // TODO: automatically generate documentation\n // TODO: check all properties on Settings exist\n // TODO: check the type of a property on Settings matches\n const SETTINGS_SCHEMA = {\n displayMode: {\n type: \"boolean\",\n description: \"Render math in display mode, which puts the math in display style (so \\\\int and \\\\sum are large, for example), and centers the math on the page on its own line.\",\n cli: \"-d, --display-mode\"\n },\n output: {\n type: {\n enum: [\n \"htmlAndMathml\",\n \"html\",\n \"mathml\"\n ]\n },\n description: \"Determines the markup language of the output.\",\n cli: \"-F, --format \"\n },\n leqno: {\n type: \"boolean\",\n description: \"Render display math in leqno style (left-justified tags).\"\n },\n fleqn: {\n type: \"boolean\",\n description: \"Render display math flush left.\"\n },\n throwOnError: {\n type: \"boolean\",\n default: true,\n cli: \"-t, --no-throw-on-error\",\n cliDescription: \"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error.\"\n },\n errorColor: {\n type: \"string\",\n default: \"#cc0000\",\n cli: \"-c, --error-color \",\n cliDescription: \"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.\",\n cliProcessor: (color)=>\"#\" + color\n },\n macros: {\n type: \"object\",\n cli: \"-m, --macro \",\n cliDescription: \"Define custom macro of the form '\\\\foo:expansion' (use multiple -m arguments for multiple macros).\",\n cliDefault: [],\n cliProcessor: (def, defs)=>{\n defs.push(def);\n return defs;\n }\n },\n minRuleThickness: {\n type: \"number\",\n description: \"Specifies a minimum thickness, in ems, for fraction lines, `\\\\sqrt` top lines, `{array}` vertical lines, `\\\\hline`, `\\\\hdashline`, `\\\\underline`, `\\\\overline`, and the borders of `\\\\fbox`, `\\\\boxed`, and `\\\\fcolorbox`.\",\n processor: (t)=>Math.max(0, t),\n cli: \"--min-rule-thickness \",\n cliProcessor: parseFloat\n },\n colorIsTextColor: {\n type: \"boolean\",\n description: \"Makes \\\\color behave like LaTeX's 2-argument \\\\textcolor, instead of LaTeX's one-argument \\\\color mode change.\",\n cli: \"-b, --color-is-text-color\"\n },\n strict: {\n type: [\n {\n enum: [\n \"warn\",\n \"ignore\",\n \"error\"\n ]\n },\n \"boolean\",\n \"function\"\n ],\n description: \"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.\",\n cli: \"-S, --strict\",\n cliDefault: false\n },\n trust: {\n type: [\n \"boolean\",\n \"function\"\n ],\n description: \"Trust the input, enabling all HTML features such as \\\\url.\",\n cli: \"-T, --trust\"\n },\n maxSize: {\n type: \"number\",\n default: Infinity,\n description: \"If non-zero, all user-specified sizes, e.g. in \\\\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large\",\n processor: (s)=>Math.max(0, s),\n cli: \"-s, --max-size \",\n cliProcessor: parseInt\n },\n maxExpand: {\n type: \"number\",\n default: 1000,\n description: \"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.\",\n processor: (n)=>Math.max(0, n),\n cli: \"-e, --max-expand \",\n cliProcessor: (n)=>n === \"Infinity\" ? Infinity : parseInt(n)\n },\n globalGroup: {\n type: \"boolean\",\n cli: false\n }\n };\n function getDefaultValue(schema) {\n if (schema.default) return schema.default;\n const type = schema.type;\n const defaultType = Array.isArray(type) ? type[0] : type;\n if (typeof defaultType !== \"string\") return defaultType.enum[0];\n switch(defaultType){\n case \"boolean\":\n return false;\n case \"string\":\n return \"\";\n case \"number\":\n return 0;\n case \"object\":\n return {};\n }\n }\n /**\n * The main Settings object\n *\n * The current options stored are:\n * - displayMode: Whether the expression should be typeset as inline math\n * (false, the default), meaning that the math starts in\n * \\textstyle and is placed in an inline-block); or as display\n * math (true), meaning that the math starts in \\displaystyle\n * and is placed in a block with vertical margin.\n */ class Settings {\n constructor(options){\n this.displayMode = void 0;\n this.output = void 0;\n this.leqno = void 0;\n this.fleqn = void 0;\n this.throwOnError = void 0;\n this.errorColor = void 0;\n this.macros = void 0;\n this.minRuleThickness = void 0;\n this.colorIsTextColor = void 0;\n this.strict = void 0;\n this.trust = void 0;\n this.maxSize = void 0;\n this.maxExpand = void 0;\n this.globalGroup = void 0;\n // allow null options\n options = options || {};\n for(const prop in SETTINGS_SCHEMA)if (SETTINGS_SCHEMA.hasOwnProperty(prop)) {\n // $FlowFixMe\n const schema = SETTINGS_SCHEMA[prop]; // TODO: validate options\n // $FlowFixMe\n this[prop] = options[prop] !== undefined ? schema.processor ? schema.processor(options[prop]) : options[prop] : getDefaultValue(schema);\n }\n }\n /**\n * Report nonstrict (non-LaTeX-compatible) input.\n * Can safely not be called if `this.strict` is false in JavaScript.\n */ reportNonstrict(errorCode, errorMsg, token) {\n let strict = this.strict;\n if (typeof strict === \"function\") // Allow return value of strict function to be boolean or string\n // (or null/undefined, meaning no further processing).\n strict = strict(errorCode, errorMsg, token);\n if (!strict || strict === \"ignore\") return;\n else if (strict === true || strict === \"error\") throw new src_ParseError(\"LaTeX-incompatible input and strict mode is set to 'error': \" + (errorMsg + \" [\" + errorCode + \"]\"), token);\n else if (strict === \"warn\") typeof console !== \"undefined\" && console.warn(\"LaTeX-incompatible input and strict mode is set to 'warn': \" + (errorMsg + \" [\" + errorCode + \"]\"));\n else // won't happen in type-safe code\n typeof console !== \"undefined\" && console.warn(\"LaTeX-incompatible input and strict mode is set to \" + (\"unrecognized '\" + strict + \"': \" + errorMsg + \" [\" + errorCode + \"]\"));\n }\n /**\n * Check whether to apply strict (LaTeX-adhering) behavior for unusual\n * input (like `\\\\`). Unlike `nonstrict`, will not throw an error;\n * instead, \"error\" translates to a return value of `true`, while \"ignore\"\n * translates to a return value of `false`. May still print a warning:\n * \"warn\" prints a warning and returns `false`.\n * This is for the second category of `errorCode`s listed in the README.\n */ useStrictBehavior(errorCode, errorMsg, token) {\n let strict = this.strict;\n if (typeof strict === \"function\") // Allow return value of strict function to be boolean or string\n // (or null/undefined, meaning no further processing).\n // But catch any exceptions thrown by function, treating them\n // like \"error\".\n try {\n strict = strict(errorCode, errorMsg, token);\n } catch (error) {\n strict = \"error\";\n }\n if (!strict || strict === \"ignore\") return false;\n else if (strict === true || strict === \"error\") return true;\n else if (strict === \"warn\") {\n typeof console !== \"undefined\" && console.warn(\"LaTeX-incompatible input and strict mode is set to 'warn': \" + (errorMsg + \" [\" + errorCode + \"]\"));\n return false;\n } else {\n // won't happen in type-safe code\n typeof console !== \"undefined\" && console.warn(\"LaTeX-incompatible input and strict mode is set to \" + (\"unrecognized '\" + strict + \"': \" + errorMsg + \" [\" + errorCode + \"]\"));\n return false;\n }\n }\n /**\n * Check whether to test potentially dangerous input, and return\n * `true` (trusted) or `false` (untrusted). The sole argument `context`\n * should be an object with `command` field specifying the relevant LaTeX\n * command (as a string starting with `\\`), and any other arguments, etc.\n * If `context` has a `url` field, a `protocol` field will automatically\n * get added by this function (changing the specified object).\n */ isTrusted(context) {\n if (context.url && !context.protocol) {\n const protocol = utils.protocolFromUrl(context.url);\n if (protocol == null) return false;\n context.protocol = protocol;\n }\n const trust = typeof this.trust === \"function\" ? this.trust(context) : this.trust;\n return Boolean(trust);\n }\n }\n /**\n * This file contains information and classes for the various kinds of styles\n * used in TeX. It provides a generic `Style` class, which holds information\n * about a specific style. It then provides instances of all the different kinds\n * of styles possible, and provides functions to move between them and get\n * information about them.\n */ /**\n * The main style class. Contains a unique id for the style, a size (which is\n * the same for cramped and uncramped version of a style), and a cramped flag.\n */ class Style {\n constructor(id, size, cramped){\n this.id = void 0;\n this.size = void 0;\n this.cramped = void 0;\n this.id = id;\n this.size = size;\n this.cramped = cramped;\n }\n /**\n * Get the style of a superscript given a base in the current style.\n */ sup() {\n return styles[sup[this.id]];\n }\n /**\n * Get the style of a subscript given a base in the current style.\n */ sub() {\n return styles[sub[this.id]];\n }\n /**\n * Get the style of a fraction numerator given the fraction in the current\n * style.\n */ fracNum() {\n return styles[fracNum[this.id]];\n }\n /**\n * Get the style of a fraction denominator given the fraction in the current\n * style.\n */ fracDen() {\n return styles[fracDen[this.id]];\n }\n /**\n * Get the cramped version of a style (in particular, cramping a cramped style\n * doesn't change the style).\n */ cramp() {\n return styles[cramp[this.id]];\n }\n /**\n * Get a text or display version of this style.\n */ text() {\n return styles[Style_text[this.id]];\n }\n /**\n * Return true if this style is tightly spaced (scriptstyle/scriptscriptstyle)\n */ isTight() {\n return this.size >= 2;\n }\n } // Export an interface for type checking, but don't expose the implementation.\n // This way, no more styles can be generated.\n // IDs of the different styles\n const D = 0;\n const Dc = 1;\n const T = 2;\n const Tc = 3;\n const S = 4;\n const Sc = 5;\n const SS = 6;\n const SSc = 7; // Instances of the different styles\n const styles = [\n new Style(D, 0, false),\n new Style(Dc, 0, true),\n new Style(T, 1, false),\n new Style(Tc, 1, true),\n new Style(S, 2, false),\n new Style(Sc, 2, true),\n new Style(SS, 3, false),\n new Style(SSc, 3, true)\n ]; // Lookup tables for switching from one style to another\n const sup = [\n S,\n Sc,\n S,\n Sc,\n SS,\n SSc,\n SS,\n SSc\n ];\n const sub = [\n Sc,\n Sc,\n Sc,\n Sc,\n SSc,\n SSc,\n SSc,\n SSc\n ];\n const fracNum = [\n T,\n Tc,\n S,\n Sc,\n SS,\n SSc,\n SS,\n SSc\n ];\n const fracDen = [\n Tc,\n Tc,\n Sc,\n Sc,\n SSc,\n SSc,\n SSc,\n SSc\n ];\n const cramp = [\n Dc,\n Dc,\n Tc,\n Tc,\n Sc,\n Sc,\n SSc,\n SSc\n ];\n const Style_text = [\n D,\n Dc,\n T,\n Tc,\n T,\n Tc,\n T,\n Tc\n ]; // We only export some of the styles.\n /* harmony default export */ var src_Style = {\n DISPLAY: styles[D],\n TEXT: styles[T],\n SCRIPT: styles[S],\n SCRIPTSCRIPT: styles[SS]\n };\n /*\n * This file defines the Unicode scripts and script families that we\n * support. To add new scripts or families, just add a new entry to the\n * scriptData array below. Adding scripts to the scriptData array allows\n * characters from that script to appear in \\text{} environments.\n */ /**\n * Each script or script family has a name and an array of blocks.\n * Each block is an array of two numbers which specify the start and\n * end points (inclusive) of a block of Unicode codepoints.\n */ /**\n * Unicode block data for the families of scripts we support in \\text{}.\n * Scripts only need to appear here if they do not have font metrics.\n */ const scriptData = [\n {\n // Latin characters beyond the Latin-1 characters we have metrics for.\n // Needed for Czech, Hungarian and Turkish text, for example.\n name: \"latin\",\n blocks: [\n [\n 0x0100,\n 0x024f\n ],\n [\n 0x0300,\n 0x036f\n ] // Combining Diacritical marks\n ]\n },\n {\n // The Cyrillic script used by Russian and related languages.\n // A Cyrillic subset used to be supported as explicitly defined\n // symbols in symbols.js\n name: \"cyrillic\",\n blocks: [\n [\n 0x0400,\n 0x04ff\n ]\n ]\n },\n {\n // Armenian\n name: \"armenian\",\n blocks: [\n [\n 0x0530,\n 0x058F\n ]\n ]\n },\n {\n // The Brahmic scripts of South and Southeast Asia\n // Devanagari (0900–097F)\n // Bengali (0980–09FF)\n // Gurmukhi (0A00–0A7F)\n // Gujarati (0A80–0AFF)\n // Oriya (0B00–0B7F)\n // Tamil (0B80–0BFF)\n // Telugu (0C00–0C7F)\n // Kannada (0C80–0CFF)\n // Malayalam (0D00–0D7F)\n // Sinhala (0D80–0DFF)\n // Thai (0E00–0E7F)\n // Lao (0E80–0EFF)\n // Tibetan (0F00–0FFF)\n // Myanmar (1000–109F)\n name: \"brahmic\",\n blocks: [\n [\n 0x0900,\n 0x109F\n ]\n ]\n },\n {\n name: \"georgian\",\n blocks: [\n [\n 0x10A0,\n 0x10ff\n ]\n ]\n },\n {\n // Chinese and Japanese.\n // The \"k\" in cjk is for Korean, but we've separated Korean out\n name: \"cjk\",\n blocks: [\n [\n 0x3000,\n 0x30FF\n ],\n [\n 0x4E00,\n 0x9FAF\n ],\n [\n 0xFF00,\n 0xFF60\n ] // Fullwidth punctuation\n ]\n },\n {\n // Korean\n name: \"hangul\",\n blocks: [\n [\n 0xAC00,\n 0xD7AF\n ]\n ]\n }\n ];\n /**\n * Given a codepoint, return the name of the script or script family\n * it is from, or null if it is not part of a known block\n */ function scriptFromCodepoint(codepoint) {\n for(let i = 0; i < scriptData.length; i++){\n const script = scriptData[i];\n for(let i = 0; i < script.blocks.length; i++){\n const block = script.blocks[i];\n if (codepoint >= block[0] && codepoint <= block[1]) return script.name;\n }\n }\n return null;\n }\n /**\n * A flattened version of all the supported blocks in a single array.\n * This is an optimization to make supportedCodepoint() fast.\n */ const allBlocks = [];\n scriptData.forEach((s)=>s.blocks.forEach((b)=>allBlocks.push(...b)));\n /**\n * Given a codepoint, return true if it falls within one of the\n * scripts or script families defined above and false otherwise.\n *\n * Micro benchmarks shows that this is faster than\n * /[\\u3000-\\u30FF\\u4E00-\\u9FAF\\uFF00-\\uFF60\\uAC00-\\uD7AF\\u0900-\\u109F]/.test()\n * in Firefox, Chrome and Node.\n */ function supportedCodepoint(codepoint) {\n for(let i = 0; i < allBlocks.length; i += 2){\n if (codepoint >= allBlocks[i] && codepoint <= allBlocks[i + 1]) return true;\n }\n return false;\n }\n /**\n * This file provides support to domTree.js and delimiter.js.\n * It's a storehouse of path geometry for SVG images.\n */ // In all paths below, the viewBox-to-em scale is 1000:1.\n const hLinePad = 80; // padding above a sqrt vinculum. Prevents image cropping.\n // The vinculum of a \\sqrt can be made thicker by a KaTeX rendering option.\n // Think of variable extraVinculum as two detours in the SVG path.\n // The detour begins at the lower left of the area labeled extraVinculum below.\n // The detour proceeds one extraVinculum distance up and slightly to the right,\n // displacing the radiused corner between surd and vinculum. The radius is\n // traversed as usual, then the detour resumes. It goes right, to the end of\n // the very long vinculum, then down one extraVinculum distance,\n // after which it resumes regular path geometry for the radical.\n /* vinculum\n /\n /▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒←extraVinculum\n / █████████████████████←0.04em (40 unit) std vinculum thickness\n / /\n / /\n / /\\\n / / surd\n*/ const sqrtMain = function(extraVinculum, hLinePad) {\n // sqrtMain path geometry is from glyph U221A in the font KaTeX Main\n return \"M95,\" + (622 + extraVinculum + hLinePad) + \"\\nc-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14\\nc0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54\\nc44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10\\ns173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429\\nc69,-144,104.5,-217.7,106.5,-221\\nl\" + extraVinculum / 2.075 + \" -\" + extraVinculum + \"\\nc5.3,-9.3,12,-14,20,-14\\nH400000v\" + (40 + extraVinculum) + \"H845.2724\\ns-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7\\nc-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z\\nM\" + (834 + extraVinculum) + \" \" + hLinePad + \"h400000v\" + (40 + extraVinculum) + \"h-400000z\";\n };\n const sqrtSize1 = function(extraVinculum, hLinePad) {\n // size1 is from glyph U221A in the font KaTeX_Size1-Regular\n return \"M263,\" + (601 + extraVinculum + hLinePad) + \"c0.7,0,18,39.7,52,119\\nc34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120\\nc340,-704.7,510.7,-1060.3,512,-1067\\nl\" + extraVinculum / 2.084 + \" -\" + extraVinculum + \"\\nc4.7,-7.3,11,-11,19,-11\\nH40000v\" + (40 + extraVinculum) + \"H1012.3\\ns-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232\\nc-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1\\ns-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26\\nc-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z\\nM\" + (1001 + extraVinculum) + \" \" + hLinePad + \"h400000v\" + (40 + extraVinculum) + \"h-400000z\";\n };\n const sqrtSize2 = function(extraVinculum, hLinePad) {\n // size2 is from glyph U221A in the font KaTeX_Size2-Regular\n return \"M983 \" + (10 + extraVinculum + hLinePad) + \"\\nl\" + extraVinculum / 3.13 + \" -\" + extraVinculum + \"\\nc4,-6.7,10,-10,18,-10 H400000v\" + (40 + extraVinculum) + \"\\nH1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7\\ns-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744\\nc-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30\\nc26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722\\nc56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5\\nc53.7,-170.3,84.5,-266.8,92.5,-289.5z\\nM\" + (1001 + extraVinculum) + \" \" + hLinePad + \"h400000v\" + (40 + extraVinculum) + \"h-400000z\";\n };\n const sqrtSize3 = function(extraVinculum, hLinePad) {\n // size3 is from glyph U221A in the font KaTeX_Size3-Regular\n return \"M424,\" + (2398 + extraVinculum + hLinePad) + \"\\nc-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514\\nc0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20\\ns-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121\\ns209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081\\nl\" + extraVinculum / 4.223 + \" -\" + extraVinculum + \"c4,-6.7,10,-10,18,-10 H400000\\nv\" + (40 + extraVinculum) + \"H1014.6\\ns-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185\\nc-2,6,-10,9,-24,9\\nc-8,0,-12,-0.7,-12,-2z M\" + (1001 + extraVinculum) + \" \" + hLinePad + \"\\nh400000v\" + (40 + extraVinculum) + \"h-400000z\";\n };\n const sqrtSize4 = function(extraVinculum, hLinePad) {\n // size4 is from glyph U221A in the font KaTeX_Size4-Regular\n return \"M473,\" + (2713 + extraVinculum + hLinePad) + \"\\nc339.3,-1799.3,509.3,-2700,510,-2702 l\" + extraVinculum / 5.298 + \" -\" + extraVinculum + \"\\nc3.3,-7.3,9.3,-11,18,-11 H400000v\" + (40 + extraVinculum) + \"H1017.7\\ns-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9\\nc-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200\\nc0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26\\ns76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,\\n606zM\" + (1001 + extraVinculum) + \" \" + hLinePad + \"h400000v\" + (40 + extraVinculum) + \"H1017.7z\";\n };\n const phasePath = function(y) {\n const x = y / 2; // x coordinate at top of angle\n return \"M400000 \" + y + \" H0 L\" + x + \" 0 l65 45 L145 \" + (y - 80) + \" H400000z\";\n };\n const sqrtTall = function(extraVinculum, hLinePad, viewBoxHeight) {\n // sqrtTall is from glyph U23B7 in the font KaTeX_Size4-Regular\n // One path edge has a variable length. It runs vertically from the vinculum\n // to a point near (14 units) the bottom of the surd. The vinculum\n // is normally 40 units thick. So the length of the line in question is:\n const vertSegment = viewBoxHeight - 54 - hLinePad - extraVinculum;\n return \"M702 \" + (extraVinculum + hLinePad) + \"H400000\" + (40 + extraVinculum) + \"\\nH742v\" + vertSegment + \"l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1\\nh-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170\\nc-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667\\n219 661 l218 661zM702 \" + hLinePad + \"H400000v\" + (40 + extraVinculum) + \"H742z\";\n };\n const sqrtPath = function(size, extraVinculum, viewBoxHeight) {\n extraVinculum = 1000 * extraVinculum; // Convert from document ems to viewBox.\n let path = \"\";\n switch(size){\n case \"sqrtMain\":\n path = sqrtMain(extraVinculum, hLinePad);\n break;\n case \"sqrtSize1\":\n path = sqrtSize1(extraVinculum, hLinePad);\n break;\n case \"sqrtSize2\":\n path = sqrtSize2(extraVinculum, hLinePad);\n break;\n case \"sqrtSize3\":\n path = sqrtSize3(extraVinculum, hLinePad);\n break;\n case \"sqrtSize4\":\n path = sqrtSize4(extraVinculum, hLinePad);\n break;\n case \"sqrtTall\":\n path = sqrtTall(extraVinculum, hLinePad, viewBoxHeight);\n }\n return path;\n };\n const innerPath = function(name, height) {\n // The inner part of stretchy tall delimiters\n switch(name){\n case \"\\u239C\":\n return \"M291 0 H417 V\" + height + \" H291z M291 0 H417 V\" + height + \" H291z\";\n case \"\\u2223\":\n return \"M145 0 H188 V\" + height + \" H145z M145 0 H188 V\" + height + \" H145z\";\n case \"\\u2225\":\n return \"M145 0 H188 V\" + height + \" H145z M145 0 H188 V\" + height + \" H145z\" + (\"M367 0 H410 V\" + height + \" H367z M367 0 H410 V\" + height + \" H367z\");\n case \"\\u239F\":\n return \"M457 0 H583 V\" + height + \" H457z M457 0 H583 V\" + height + \" H457z\";\n case \"\\u23A2\":\n return \"M319 0 H403 V\" + height + \" H319z M319 0 H403 V\" + height + \" H319z\";\n case \"\\u23A5\":\n return \"M263 0 H347 V\" + height + \" H263z M263 0 H347 V\" + height + \" H263z\";\n case \"\\u23AA\":\n return \"M384 0 H504 V\" + height + \" H384z M384 0 H504 V\" + height + \" H384z\";\n case \"\\u23D0\":\n return \"M312 0 H355 V\" + height + \" H312z M312 0 H355 V\" + height + \" H312z\";\n case \"\\u2016\":\n return \"M257 0 H300 V\" + height + \" H257z M257 0 H300 V\" + height + \" H257z\" + (\"M478 0 H521 V\" + height + \" H478z M478 0 H521 V\" + height + \" H478z\");\n default:\n return \"\";\n }\n };\n const path = {\n // The doubleleftarrow geometry is from glyph U+21D0 in the font KaTeX Main\n doubleleftarrow: \"M262 157\\nl10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3\\n 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28\\n 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5\\nc2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5\\n 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87\\n-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7\\n-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z\\nm8 0v40h399730v-40zm0 194v40h399730v-40z\",\n // doublerightarrow is from glyph U+21D2 in font KaTeX Main\n doublerightarrow: \"M399738 392l\\n-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5\\n 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88\\n-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68\\n-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18\\n-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782\\nc-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3\\n-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z\",\n // leftarrow is from glyph U+2190 in font KaTeX Main\n leftarrow: \"M400000 241H110l3-3c68.7-52.7 113.7-120\\n 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8\\n-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247\\nc-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208\\n 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3\\n 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202\\n l-3-3h399890zM100 241v40h399900v-40z\",\n // overbrace is from glyphs U+23A9/23A8/23A7 in font KaTeX_Size4-Regular\n leftbrace: \"M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117\\n-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7\\n 5-6 9-10 13-.7 1-7.3 1-20 1H6z\",\n leftbraceunder: \"M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13\\n 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688\\n 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7\\n-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z\",\n // overgroup is from the MnSymbol package (public domain)\n leftgroup: \"M400000 80\\nH435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0\\n 435 0h399565z\",\n leftgroupunder: \"M400000 262\\nH435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219\\n 435 219h399565z\",\n // Harpoons are from glyph U+21BD in font KaTeX Main\n leftharpoon: \"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3\\n-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5\\n-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7\\n-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z\",\n leftharpoonplus: \"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5\\n 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3\\n-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7\\n-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z\\nm0 0v40h400000v-40z\",\n leftharpoondown: \"M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333\\n 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5\\n 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667\\n-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z\",\n leftharpoondownplus: \"M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12\\n 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7\\n-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0\\nv40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z\",\n // hook is from glyph U+21A9 in font KaTeX Main\n lefthook: \"M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5\\n-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3\\n-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21\\n 71.5 23h399859zM103 281v-40h399897v40z\",\n leftlinesegment: \"M40 281 V428 H0 V94 H40 V241 H400000 v40z\\nM40 281 V428 H0 V94 H40 V241 H400000 v40z\",\n leftmapsto: \"M40 281 V448H0V74H40V241H400000v40z\\nM40 281 V448H0V74H40V241H400000v40z\",\n // tofrom is from glyph U+21C4 in font KaTeX AMS Regular\n leftToFrom: \"M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\\nc28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3\\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z\",\n longequal: \"M0 50 h400000 v40H0z m0 194h40000v40H0z\\nM0 50 h400000 v40H0z m0 194h40000v40H0z\",\n midbrace: \"M200428 334\\nc-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14\\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\\n 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11\\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z\",\n midbraceunder: \"M199572 214\\nc100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14\\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\\n 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0\\n-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z\",\n oiintSize1: \"M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6\\n-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z\\nm368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8\\n60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z\",\n oiintSize2: \"M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8\\n-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z\\nm502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2\\nc0 110 84 276 504 276s502.4-166 502.4-276z\",\n oiiintSize1: \"M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6\\n-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z\\nm525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0\\n85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z\",\n oiiintSize2: \"M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8\\n-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z\\nm770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1\\nc0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z\",\n rightarrow: \"M0 241v40h399891c-47.3 35.3-84 78-110 128\\n-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20\\n 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7\\n 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85\\n-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\\n 151.7 139 205zm0 0v40h399900v-40z\",\n rightbrace: \"M400000 542l\\n-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5\\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\\nc124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z\",\n rightbraceunder: \"M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3\\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\\n-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z\",\n rightgroup: \"M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0\\n 3-1 3-3v-38c-76-158-257-219-435-219H0z\",\n rightgroupunder: \"M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18\\n 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z\",\n rightharpoon: \"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3\\n-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2\\n-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58\\n 69.2 92 94.5zm0 0v40h399900v-40z\",\n rightharpoonplus: \"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11\\n-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7\\n 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z\\nm0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z\",\n rightharpoondown: \"M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8\\n 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5\\n-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95\\n-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z\",\n rightharpoondownplus: \"M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8\\n 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3\\n 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3\\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\\nm0-194v40h400000v-40zm0 0v40h400000v-40z\",\n righthook: \"M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3\\n 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0\\n-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21\\n 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z\",\n rightlinesegment: \"M399960 241 V94 h40 V428 h-40 V281 H0 v-40z\\nM399960 241 V94 h40 V428 h-40 V281 H0 v-40z\",\n rightToFrom: \"M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23\\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\\n-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142\\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z\",\n // twoheadleftarrow is from glyph U+219E in font KaTeX AMS Regular\n twoheadleftarrow: \"M0 167c68 40\\n 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69\\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\\n 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z\",\n twoheadrightarrow: \"M400000 167\\nc-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3\\n 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42\\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\\n 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z\",\n // tilde1 is a modified version of a glyph from the MnSymbol package\n tilde1: \"M200 55.538c-77 0-168 73.953-177 73.953-3 0-7\\n-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0\\n 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0\\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\\n-68.267.847-113-73.952-191-73.952z\",\n // ditto tilde2, tilde3, & tilde4\n tilde2: \"M344 55.266c-142 0-300.638 81.316-311.5 86.418\\n-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9\\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\\nc1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751\\n 181.476 676 181.476c-149 0-189-126.21-332-126.21z\",\n tilde3: \"M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457\\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\\n -338 0-409-156.573-744-156.573z\",\n tilde4: \"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\\n -175.236-744-175.236z\",\n // vec is from glyph U+20D7 in font KaTeX Main\n vec: \"M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5\\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\\n-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1\\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\\nc-16-25.333-24-45-24-59z\",\n // widehat1 is a modified version of a glyph from the MnSymbol package\n widehat1: \"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\\nc-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z\",\n // ditto widehat2, widehat3, & widehat4\n widehat2: \"M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10\\n-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z\",\n widehat3: \"M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10\\n-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z\",\n widehat4: \"M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10\\n-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z\",\n // widecheck paths are all inverted versions of widehat\n widecheck1: \"M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,\\n-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z\",\n widecheck2: \"M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\\n-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z\",\n widecheck3: \"M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\\n-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z\",\n widecheck4: \"M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\\n-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z\",\n // The next ten paths support reaction arrows from the mhchem package.\n // Arrows for \\ce{<-->} are offset from xAxis by 0.22ex, per mhchem in LaTeX\n // baraboveleftarrow is mostly from glyph U+2190 in font KaTeX Main\n baraboveleftarrow: \"M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202\\nc4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5\\nc-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130\\ns-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47\\n121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6\\ns2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11\\nc0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z\\nM100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z\",\n // rightarrowabovebar is mostly from glyph U+2192, KaTeX Main\n rightarrowabovebar: \"M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32\\n-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0\\n13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39\\n-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5\\n-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\\n151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z\",\n // The short left harpoon has 0.5em (i.e. 500 units) kern on the left end.\n // Ref from mhchem.sty: \\rlap{\\raisebox{-.22ex}{$\\kern0.5em\n baraboveshortleftharpoon: \"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\\nc2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21\\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z\",\n rightharpoonaboveshortbar: \"M0,241 l0,40c399126,0,399993,0,399993,0\\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\\nM0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z\",\n shortbaraboveleftharpoon: \"M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,\\n1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,\\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\\nM93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z\",\n shortrightharpoonabovebar: \"M53,241l0,40c398570,0,399437,0,399437,0\\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z\"\n };\n const tallDelim = function(label, midHeight) {\n switch(label){\n case \"lbrack\":\n return \"M403 1759 V84 H666 V0 H319 V1759 v\" + midHeight + \" v1759 h347 v-84\\nH403z M403 1759 V0 H319 V1759 v\" + midHeight + \" v1759 h84z\";\n case \"rbrack\":\n return \"M347 1759 V0 H0 V84 H263 V1759 v\" + midHeight + \" v1759 H0 v84 H347z\\nM347 1759 V0 H263 V1759 v\" + midHeight + \" v1759 h84z\";\n case \"vert\":\n return \"M145 15 v585 v\" + midHeight + \" v585 c2.667,10,9.667,15,21,15\\nc10,0,16.667,-5,20,-15 v-585 v\" + -midHeight + \" v-585 c-2.667,-10,-9.667,-15,-21,-15\\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v\" + midHeight + \" v585 h43z\";\n case \"doublevert\":\n return \"M145 15 v585 v\" + midHeight + \" v585 c2.667,10,9.667,15,21,15\\nc10,0,16.667,-5,20,-15 v-585 v\" + -midHeight + \" v-585 c-2.667,-10,-9.667,-15,-21,-15\\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v\" + midHeight + \" v585 h43z\\nM367 15 v585 v\" + midHeight + \" v585 c2.667,10,9.667,15,21,15\\nc10,0,16.667,-5,20,-15 v-585 v\" + -midHeight + \" v-585 c-2.667,-10,-9.667,-15,-21,-15\\nc-10,0,-16.667,5,-20,15z M410 15 H367 v585 v\" + midHeight + \" v585 h43z\";\n case \"lfloor\":\n return \"M319 602 V0 H403 V602 v\" + midHeight + \" v1715 h263 v84 H319z\\nMM319 602 V0 H403 V602 v\" + midHeight + \" v1715 H319z\";\n case \"rfloor\":\n return \"M319 602 V0 H403 V602 v\" + midHeight + \" v1799 H0 v-84 H319z\\nMM319 602 V0 H403 V602 v\" + midHeight + \" v1715 H319z\";\n case \"lceil\":\n return \"M403 1759 V84 H666 V0 H319 V1759 v\" + midHeight + \" v602 h84z\\nM403 1759 V0 H319 V1759 v\" + midHeight + \" v602 h84z\";\n case \"rceil\":\n return \"M347 1759 V0 H0 V84 H263 V1759 v\" + midHeight + \" v602 h84z\\nM347 1759 V0 h-84 V1759 v\" + midHeight + \" v602 h84z\";\n case \"lparen\":\n return \"M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1\\nc-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,\\n-36,557 l0,\" + (midHeight + 84) + \"c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,\\n949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9\\nc0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,\\n-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189\\nl0,-\" + (midHeight + 92) + \"c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,\\n-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z\";\n case \"rparen\":\n return \"M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,\\n63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5\\nc11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,\" + (midHeight + 9) + \"\\nc-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664\\nc-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11\\nc0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17\\nc242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558\\nl0,-\" + (midHeight + 144) + \"c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,\\n-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z\";\n default:\n // We should not ever get here.\n throw new Error(\"Unknown stretchy delimiter.\");\n }\n };\n /**\n * This node represents a document fragment, which contains elements, but when\n * placed into the DOM doesn't have any representation itself. It only contains\n * children and doesn't have any DOM node properties.\n */ class DocumentFragment {\n // HtmlDomNode\n // Never used; needed for satisfying interface.\n constructor(children){\n this.children = void 0;\n this.classes = void 0;\n this.height = void 0;\n this.depth = void 0;\n this.maxFontSize = void 0;\n this.style = void 0;\n this.children = children;\n this.classes = [];\n this.height = 0;\n this.depth = 0;\n this.maxFontSize = 0;\n this.style = {};\n }\n hasClass(className) {\n return utils.contains(this.classes, className);\n }\n /** Convert the fragment into a node. */ toNode() {\n const frag = document.createDocumentFragment();\n for(let i = 0; i < this.children.length; i++)frag.appendChild(this.children[i].toNode());\n return frag;\n }\n /** Convert the fragment into HTML markup. */ toMarkup() {\n let markup = \"\"; // Simply concatenate the markup for the children together.\n for(let i = 0; i < this.children.length; i++)markup += this.children[i].toMarkup();\n return markup;\n }\n /**\n * Converts the math node into a string, similar to innerText. Applies to\n * MathDomNode's only.\n */ toText() {\n // To avoid this, we would subclass documentFragment separately for\n // MathML, but polyfills for subclassing is expensive per PR 1469.\n // $FlowFixMe: Only works for ChildType = MathDomNode.\n const toText = (child)=>child.toText();\n return this.children.map(toText).join(\"\");\n }\n }\n // This file is GENERATED by buildMetrics.sh. DO NOT MODIFY.\n /* harmony default export */ var fontMetricsData = {\n \"AMS-Regular\": {\n \"32\": [\n 0,\n 0,\n 0,\n 0,\n 0.25\n ],\n \"65\": [\n 0,\n 0.68889,\n 0,\n 0,\n 0.72222\n ],\n \"66\": [\n 0,\n 0.68889,\n 0,\n 0,\n 0.66667\n ],\n \"67\": [\n 0,\n 0.68889,\n 0,\n 0,\n 0.72222\n ],\n \"68\": [\n 0,\n 0.68889,\n 0,\n 0,\n 0.72222\n ],\n \"69\": [\n 0,\n 0.68889,\n 0,\n 0,\n 0.66667\n ],\n \"70\": [\n 0,\n 0.68889,\n 0,\n 0,\n 0.61111\n ],\n \"71\": [\n 0,\n 0.68889,\n 0,\n 0,\n 0.77778\n ],\n \"72\": [\n 0,\n 0.68889,\n 0,\n 0,\n 0.77778\n ],\n \"73\": [\n 0,\n 0.68889,\n 0,\n 0,\n 0.38889\n ],\n \"74\": [\n 0.16667,\n 0.68889,\n 0,\n 0,\n 0.5\n ],\n \"75\": [\n 0,\n 0.68889,\n 0,\n 0,\n 0.77778\n ],\n \"76\": [\n 0,\n 0.68889,\n 0,\n 0,\n 0.66667\n ],\n \"77\": [\n 0,\n 0.68889,\n 0,\n 0,\n 0.94445\n ],\n \"78\": [\n 0,\n 0.68889,\n 0,\n 0,\n 0.72222\n ],\n \"79\": [\n 0.16667,\n 0.68889,\n 0,\n 0,\n 0.77778\n ],\n \"80\": [\n 0,\n 0.68889,\n 0,\n 0,\n 0.61111\n ],\n \"81\": [\n 0.16667,\n 0.68889,\n 0,\n 0,\n 0.77778\n ],\n \"82\": [\n 0,\n 0.68889,\n 0,\n 0,\n 0.72222\n ],\n \"83\": [\n 0,\n 0.68889,\n 0,\n 0,\n 0.55556\n ],\n \"84\": [\n 0,\n 0.68889,\n 0,\n 0,\n 0.66667\n ],\n \"85\": [\n 0,\n 0.68889,\n 0,\n 0,\n 0.72222\n ],\n \"86\": [\n 0,\n 0.68889,\n 0,\n 0,\n 0.72222\n ],\n \"87\": [\n 0,\n 0.68889,\n 0,\n 0,\n 1.0\n ],\n \"88\": [\n 0,\n 0.68889,\n 0,\n 0,\n 0.72222\n ],\n \"89\": [\n 0,\n 0.68889,\n 0,\n 0,\n 0.72222\n ],\n \"90\": [\n 0,\n 0.68889,\n 0,\n 0,\n 0.66667\n ],\n \"107\": [\n 0,\n 0.68889,\n 0,\n 0,\n 0.55556\n ],\n \"160\": [\n 0,\n 0,\n 0,\n 0,\n 0.25\n ],\n \"165\": [\n 0,\n 0.675,\n 0.025,\n 0,\n 0.75\n ],\n \"174\": [\n 0.15559,\n 0.69224,\n 0,\n 0,\n 0.94666\n ],\n \"240\": [\n 0,\n 0.68889,\n 0,\n 0,\n 0.55556\n ],\n \"295\": [\n 0,\n 0.68889,\n 0,\n 0,\n 0.54028\n ],\n \"710\": [\n 0,\n 0.825,\n 0,\n 0,\n 2.33334\n ],\n \"732\": [\n 0,\n 0.9,\n 0,\n 0,\n 2.33334\n ],\n \"770\": [\n 0,\n 0.825,\n 0,\n 0,\n 2.33334\n ],\n \"771\": [\n 0,\n 0.9,\n 0,\n 0,\n 2.33334\n ],\n \"989\": [\n 0.08167,\n 0.58167,\n 0,\n 0,\n 0.77778\n ],\n \"1008\": [\n 0,\n 0.43056,\n 0.04028,\n 0,\n 0.66667\n ],\n \"8245\": [\n 0,\n 0.54986,\n 0,\n 0,\n 0.275\n ],\n \"8463\": [\n 0,\n 0.68889,\n 0,\n 0,\n 0.54028\n ],\n \"8487\": [\n 0,\n 0.68889,\n 0,\n 0,\n 0.72222\n ],\n \"8498\": [\n 0,\n 0.68889,\n 0,\n 0,\n 0.55556\n ],\n \"8502\": [\n 0,\n 0.68889,\n 0,\n 0,\n 0.66667\n ],\n \"8503\": [\n 0,\n 0.68889,\n 0,\n 0,\n 0.44445\n ],\n \"8504\": [\n 0,\n 0.68889,\n 0,\n 0,\n 0.66667\n ],\n \"8513\": [\n 0,\n 0.68889,\n 0,\n 0,\n 0.63889\n ],\n \"8592\": [\n -0.03598,\n 0.46402,\n 0,\n 0,\n 0.5\n ],\n \"8594\": [\n -0.03598,\n 0.46402,\n 0,\n 0,\n 0.5\n ],\n \"8602\": [\n -0.13313,\n 0.36687,\n 0,\n 0,\n 1.0\n ],\n \"8603\": [\n -0.13313,\n 0.36687,\n 0,\n 0,\n 1.0\n ],\n \"8606\": [\n 0.01354,\n 0.52239,\n 0,\n 0,\n 1.0\n ],\n \"8608\": [\n 0.01354,\n 0.52239,\n 0,\n 0,\n 1.0\n ],\n \"8610\": [\n 0.01354,\n 0.52239,\n 0,\n 0,\n 1.11111\n ],\n \"8611\": [\n 0.01354,\n 0.52239,\n 0,\n 0,\n 1.11111\n ],\n \"8619\": [\n 0,\n 0.54986,\n 0,\n 0,\n 1.0\n ],\n \"8620\": [\n 0,\n 0.54986,\n 0,\n 0,\n 1.0\n ],\n \"8621\": [\n -0.13313,\n 0.37788,\n 0,\n 0,\n 1.38889\n ],\n \"8622\": [\n -0.13313,\n 0.36687,\n 0,\n 0,\n 1.0\n ],\n \"8624\": [\n 0,\n 0.69224,\n 0,\n 0,\n 0.5\n ],\n \"8625\": [\n 0,\n 0.69224,\n 0,\n 0,\n 0.5\n ],\n \"8630\": [\n 0,\n 0.43056,\n 0,\n 0,\n 1.0\n ],\n \"8631\": [\n 0,\n 0.43056,\n 0,\n 0,\n 1.0\n ],\n \"8634\": [\n 0.08198,\n 0.58198,\n 0,\n 0,\n 0.77778\n ],\n \"8635\": [\n 0.08198,\n 0.58198,\n 0,\n 0,\n 0.77778\n ],\n \"8638\": [\n 0.19444,\n 0.69224,\n 0,\n 0,\n 0.41667\n ],\n \"8639\": [\n 0.19444,\n 0.69224,\n 0,\n 0,\n 0.41667\n ],\n \"8642\": [\n 0.19444,\n 0.69224,\n 0,\n 0,\n 0.41667\n ],\n \"8643\": [\n 0.19444,\n 0.69224,\n 0,\n 0,\n 0.41667\n ],\n \"8644\": [\n 0.1808,\n 0.675,\n 0,\n 0,\n 1.0\n ],\n \"8646\": [\n 0.1808,\n 0.675,\n 0,\n 0,\n 1.0\n ],\n \"8647\": [\n 0.1808,\n 0.675,\n 0,\n 0,\n 1.0\n ],\n \"8648\": [\n 0.19444,\n 0.69224,\n 0,\n 0,\n 0.83334\n ],\n \"8649\": [\n 0.1808,\n 0.675,\n 0,\n 0,\n 1.0\n ],\n \"8650\": [\n 0.19444,\n 0.69224,\n 0,\n 0,\n 0.83334\n ],\n \"8651\": [\n 0.01354,\n 0.52239,\n 0,\n 0,\n 1.0\n ],\n \"8652\": [\n 0.01354,\n 0.52239,\n 0,\n 0,\n 1.0\n ],\n \"8653\": [\n -0.13313,\n 0.36687,\n 0,\n 0,\n 1.0\n ],\n \"8654\": [\n -0.13313,\n 0.36687,\n 0,\n 0,\n 1.0\n ],\n \"8655\": [\n -0.13313,\n 0.36687,\n 0,\n 0,\n 1.0\n ],\n \"8666\": [\n 0.13667,\n 0.63667,\n 0,\n 0,\n 1.0\n ],\n \"8667\": [\n 0.13667,\n 0.63667,\n 0,\n 0,\n 1.0\n ],\n \"8669\": [\n -0.13313,\n 0.37788,\n 0,\n 0,\n 1.0\n ],\n \"8672\": [\n -0.064,\n 0.437,\n 0,\n 0,\n 1.334\n ],\n \"8674\": [\n -0.064,\n 0.437,\n 0,\n 0,\n 1.334\n ],\n \"8705\": [\n 0,\n 0.825,\n 0,\n 0,\n 0.5\n ],\n \"8708\": [\n 0,\n 0.68889,\n 0,\n 0,\n 0.55556\n ],\n \"8709\": [\n 0.08167,\n 0.58167,\n 0,\n 0,\n 0.77778\n ],\n \"8717\": [\n 0,\n 0.43056,\n 0,\n 0,\n 0.42917\n ],\n \"8722\": [\n -0.03598,\n 0.46402,\n 0,\n 0,\n 0.5\n ],\n \"8724\": [\n 0.08198,\n 0.69224,\n 0,\n 0,\n 0.77778\n ],\n \"8726\": [\n 0.08167,\n 0.58167,\n 0,\n 0,\n 0.77778\n ],\n \"8733\": [\n 0,\n 0.69224,\n 0,\n 0,\n 0.77778\n ],\n \"8736\": [\n 0,\n 0.69224,\n 0,\n 0,\n 0.72222\n ],\n \"8737\": [\n 0,\n 0.69224,\n 0,\n 0,\n 0.72222\n ],\n \"8738\": [\n 0.03517,\n 0.52239,\n 0,\n 0,\n 0.72222\n ],\n \"8739\": [\n 0.08167,\n 0.58167,\n 0,\n 0,\n 0.22222\n ],\n \"8740\": [\n 0.25142,\n 0.74111,\n 0,\n 0,\n 0.27778\n ],\n \"8741\": [\n 0.08167,\n 0.58167,\n 0,\n 0,\n 0.38889\n ],\n \"8742\": [\n 0.25142,\n 0.74111,\n 0,\n 0,\n 0.5\n ],\n \"8756\": [\n 0,\n 0.69224,\n 0,\n 0,\n 0.66667\n ],\n \"8757\": [\n 0,\n 0.69224,\n 0,\n 0,\n 0.66667\n ],\n \"8764\": [\n -0.13313,\n 0.36687,\n 0,\n 0,\n 0.77778\n ],\n \"8765\": [\n -0.13313,\n 0.37788,\n 0,\n 0,\n 0.77778\n ],\n \"8769\": [\n -0.13313,\n 0.36687,\n 0,\n 0,\n 0.77778\n ],\n \"8770\": [\n -0.03625,\n 0.46375,\n 0,\n 0,\n 0.77778\n ],\n \"8774\": [\n 0.30274,\n 0.79383,\n 0,\n 0,\n 0.77778\n ],\n \"8776\": [\n -0.01688,\n 0.48312,\n 0,\n 0,\n 0.77778\n ],\n \"8778\": [\n 0.08167,\n 0.58167,\n 0,\n 0,\n 0.77778\n ],\n \"8782\": [\n 0.06062,\n 0.54986,\n 0,\n 0,\n 0.77778\n ],\n \"8783\": [\n 0.06062,\n 0.54986,\n 0,\n 0,\n 0.77778\n ],\n \"8785\": [\n 0.08198,\n 0.58198,\n 0,\n 0,\n 0.77778\n ],\n \"8786\": [\n 0.08198,\n 0.58198,\n 0,\n 0,\n 0.77778\n ],\n \"8787\": [\n 0.08198,\n 0.58198,\n 0,\n 0,\n 0.77778\n ],\n \"8790\": [\n 0,\n 0.69224,\n 0,\n 0,\n 0.77778\n ],\n \"8791\": [\n 0.22958,\n 0.72958,\n 0,\n 0,\n 0.77778\n ],\n \"8796\": [\n 0.08198,\n 0.91667,\n 0,\n 0,\n 0.77778\n ],\n \"8806\": [\n 0.25583,\n 0.75583,\n 0,\n 0,\n 0.77778\n ],\n \"8807\": [\n 0.25583,\n 0.75583,\n 0,\n 0,\n 0.77778\n ],\n \"8808\": [\n 0.25142,\n 0.75726,\n 0,\n 0,\n 0.77778\n ],\n \"8809\": [\n 0.25142,\n 0.75726,\n 0,\n 0,\n 0.77778\n ],\n \"8812\": [\n 0.25583,\n 0.75583,\n 0,\n 0,\n 0.5\n ],\n \"8814\": [\n 0.20576,\n 0.70576,\n 0,\n 0,\n 0.77778\n ],\n \"8815\": [\n 0.20576,\n 0.70576,\n 0,\n 0,\n 0.77778\n ],\n \"8816\": [\n 0.30274,\n 0.79383,\n 0,\n 0,\n 0.77778\n ],\n \"8817\": [\n 0.30274,\n 0.79383,\n 0,\n 0,\n 0.77778\n ],\n \"8818\": [\n 0.22958,\n 0.72958,\n 0,\n 0,\n 0.77778\n ],\n \"8819\": [\n 0.22958,\n 0.72958,\n 0,\n 0,\n 0.77778\n ],\n \"8822\": [\n 0.1808,\n 0.675,\n 0,\n 0,\n 0.77778\n ],\n \"8823\": [\n 0.1808,\n 0.675,\n 0,\n 0,\n 0.77778\n ],\n \"8828\": [\n 0.13667,\n 0.63667,\n 0,\n 0,\n 0.77778\n ],\n \"8829\": [\n 0.13667,\n 0.63667,\n 0,\n 0,\n 0.77778\n ],\n \"8830\": [\n 0.22958,\n 0.72958,\n 0,\n 0,\n 0.77778\n ],\n \"8831\": [\n 0.22958,\n 0.72958,\n 0,\n 0,\n 0.77778\n ],\n \"8832\": [\n 0.20576,\n 0.70576,\n 0,\n 0,\n 0.77778\n ],\n \"8833\": [\n 0.20576,\n 0.70576,\n 0,\n 0,\n 0.77778\n ],\n \"8840\": [\n 0.30274,\n 0.79383,\n 0,\n 0,\n 0.77778\n ],\n \"8841\": [\n 0.30274,\n 0.79383,\n 0,\n 0,\n 0.77778\n ],\n \"8842\": [\n 0.13597,\n 0.63597,\n 0,\n 0,\n 0.77778\n ],\n \"8843\": [\n 0.13597,\n 0.63597,\n 0,\n 0,\n 0.77778\n ],\n \"8847\": [\n 0.03517,\n 0.54986,\n 0,\n 0,\n 0.77778\n ],\n \"8848\": [\n 0.03517,\n 0.54986,\n 0,\n 0,\n 0.77778\n ],\n \"8858\": [\n 0.08198,\n 0.58198,\n 0,\n 0,\n 0.77778\n ],\n \"8859\": [\n 0.08198,\n 0.58198,\n 0,\n 0,\n 0.77778\n ],\n \"8861\": [\n 0.08198,\n 0.58198,\n 0,\n 0,\n 0.77778\n ],\n \"8862\": [\n 0,\n 0.675,\n 0,\n 0,\n 0.77778\n ],\n \"8863\": [\n 0,\n 0.675,\n 0,\n 0,\n 0.77778\n ],\n \"8864\": [\n 0,\n 0.675,\n 0,\n 0,\n 0.77778\n ],\n \"8865\": [\n 0,\n 0.675,\n 0,\n 0,\n 0.77778\n ],\n \"8872\": [\n 0,\n 0.69224,\n 0,\n 0,\n 0.61111\n ],\n \"8873\": [\n 0,\n 0.69224,\n 0,\n 0,\n 0.72222\n ],\n \"8874\": [\n 0,\n 0.69224,\n 0,\n 0,\n 0.88889\n ],\n \"8876\": [\n 0,\n 0.68889,\n 0,\n 0,\n 0.61111\n ],\n \"8877\": [\n 0,\n 0.68889,\n 0,\n 0,\n 0.61111\n ],\n \"8878\": [\n 0,\n 0.68889,\n 0,\n 0,\n 0.72222\n ],\n \"8879\": [\n 0,\n 0.68889,\n 0,\n 0,\n 0.72222\n ],\n \"8882\": [\n 0.03517,\n 0.54986,\n 0,\n 0,\n 0.77778\n ],\n \"8883\": [\n 0.03517,\n 0.54986,\n 0,\n 0,\n 0.77778\n ],\n \"8884\": [\n 0.13667,\n 0.63667,\n 0,\n 0,\n 0.77778\n ],\n \"8885\": [\n 0.13667,\n 0.63667,\n 0,\n 0,\n 0.77778\n ],\n \"8888\": [\n 0,\n 0.54986,\n 0,\n 0,\n 1.11111\n ],\n \"8890\": [\n 0.19444,\n 0.43056,\n 0,\n 0,\n 0.55556\n ],\n \"8891\": [\n 0.19444,\n 0.69224,\n 0,\n 0,\n 0.61111\n ],\n \"8892\": [\n 0.19444,\n 0.69224,\n 0,\n 0,\n 0.61111\n ],\n \"8901\": [\n 0,\n 0.54986,\n 0,\n 0,\n 0.27778\n ],\n \"8903\": [\n 0.08167,\n 0.58167,\n 0,\n 0,\n 0.77778\n ],\n \"8905\": [\n 0.08167,\n 0.58167,\n 0,\n 0,\n 0.77778\n ],\n \"8906\": [\n 0.08167,\n 0.58167,\n 0,\n 0,\n 0.77778\n ],\n \"8907\": [\n 0,\n 0.69224,\n 0,\n 0,\n 0.77778\n ],\n \"8908\": [\n 0,\n 0.69224,\n 0,\n 0,\n 0.77778\n ],\n \"8909\": [\n -0.03598,\n 0.46402,\n 0,\n 0,\n 0.77778\n ],\n \"8910\": [\n 0,\n 0.54986,\n 0,\n 0,\n 0.76042\n ],\n \"8911\": [\n 0,\n 0.54986,\n 0,\n 0,\n 0.76042\n ],\n \"8912\": [\n 0.03517,\n 0.54986,\n 0,\n 0,\n 0.77778\n ],\n \"8913\": [\n 0.03517,\n 0.54986,\n 0,\n 0,\n 0.77778\n ],\n \"8914\": [\n 0,\n 0.54986,\n 0,\n 0,\n 0.66667\n ],\n \"8915\": [\n 0,\n 0.54986,\n 0,\n 0,\n 0.66667\n ],\n \"8916\": [\n 0,\n 0.69224,\n 0,\n 0,\n 0.66667\n ],\n \"8918\": [\n 0.0391,\n 0.5391,\n 0,\n 0,\n 0.77778\n ],\n \"8919\": [\n 0.0391,\n 0.5391,\n 0,\n 0,\n 0.77778\n ],\n \"8920\": [\n 0.03517,\n 0.54986,\n 0,\n 0,\n 1.33334\n ],\n \"8921\": [\n 0.03517,\n 0.54986,\n 0,\n 0,\n 1.33334\n ],\n \"8922\": [\n 0.38569,\n 0.88569,\n 0,\n 0,\n 0.77778\n ],\n \"8923\": [\n 0.38569,\n 0.88569,\n 0,\n 0,\n 0.77778\n ],\n \"8926\": [\n 0.13667,\n 0.63667,\n 0,\n 0,\n 0.77778\n ],\n \"8927\": [\n 0.13667,\n 0.63667,\n 0,\n 0,\n 0.77778\n ],\n \"8928\": [\n 0.30274,\n 0.79383,\n 0,\n 0,\n 0.77778\n ],\n \"8929\": [\n 0.30274,\n 0.79383,\n 0,\n 0,\n 0.77778\n ],\n \"8934\": [\n 0.23222,\n 0.74111,\n 0,\n 0,\n 0.77778\n ],\n \"8935\": [\n 0.23222,\n 0.74111,\n 0,\n 0,\n 0.77778\n ],\n \"8936\": [\n 0.23222,\n 0.74111,\n 0,\n 0,\n 0.77778\n ],\n \"8937\": [\n 0.23222,\n 0.74111,\n 0,\n 0,\n 0.77778\n ],\n \"8938\": [\n 0.20576,\n 0.70576,\n 0,\n 0,\n 0.77778\n ],\n \"8939\": [\n 0.20576,\n 0.70576,\n 0,\n 0,\n 0.77778\n ],\n \"8940\": [\n 0.30274,\n 0.79383,\n 0,\n 0,\n 0.77778\n ],\n \"8941\": [\n 0.30274,\n 0.79383,\n 0,\n 0,\n 0.77778\n ],\n \"8994\": [\n 0.19444,\n 0.69224,\n 0,\n 0,\n 0.77778\n ],\n \"8995\": [\n 0.19444,\n 0.69224,\n 0,\n 0,\n 0.77778\n ],\n \"9416\": [\n 0.15559,\n 0.69224,\n 0,\n 0,\n 0.90222\n ],\n \"9484\": [\n 0,\n 0.69224,\n 0,\n 0,\n 0.5\n ],\n \"9488\": [\n 0,\n 0.69224,\n 0,\n 0,\n 0.5\n ],\n \"9492\": [\n 0,\n 0.37788,\n 0,\n 0,\n 0.5\n ],\n \"9496\": [\n 0,\n 0.37788,\n 0,\n 0,\n 0.5\n ],\n \"9585\": [\n 0.19444,\n 0.68889,\n 0,\n 0,\n 0.88889\n ],\n \"9586\": [\n 0.19444,\n 0.74111,\n 0,\n 0,\n 0.88889\n ],\n \"9632\": [\n 0,\n 0.675,\n 0,\n 0,\n 0.77778\n ],\n \"9633\": [\n 0,\n 0.675,\n 0,\n 0,\n 0.77778\n ],\n \"9650\": [\n 0,\n 0.54986,\n 0,\n 0,\n 0.72222\n ],\n \"9651\": [\n 0,\n 0.54986,\n 0,\n 0,\n 0.72222\n ],\n \"9654\": [\n 0.03517,\n 0.54986,\n 0,\n 0,\n 0.77778\n ],\n \"9660\": [\n 0,\n 0.54986,\n 0,\n 0,\n 0.72222\n ],\n \"9661\": [\n 0,\n 0.54986,\n 0,\n 0,\n 0.72222\n ],\n \"9664\": [\n 0.03517,\n 0.54986,\n 0,\n 0,\n 0.77778\n ],\n \"9674\": [\n 0.11111,\n 0.69224,\n 0,\n 0,\n 0.66667\n ],\n \"9733\": [\n 0.19444,\n 0.69224,\n 0,\n 0,\n 0.94445\n ],\n \"10003\": [\n 0,\n 0.69224,\n 0,\n 0,\n 0.83334\n ],\n \"10016\": [\n 0,\n 0.69224,\n 0,\n 0,\n 0.83334\n ],\n \"10731\": [\n 0.11111,\n 0.69224,\n 0,\n 0,\n 0.66667\n ],\n \"10846\": [\n 0.19444,\n 0.75583,\n 0,\n 0,\n 0.61111\n ],\n \"10877\": [\n 0.13667,\n 0.63667,\n 0,\n 0,\n 0.77778\n ],\n \"10878\": [\n 0.13667,\n 0.63667,\n 0,\n 0,\n 0.77778\n ],\n \"10885\": [\n 0.25583,\n 0.75583,\n 0,\n 0,\n 0.77778\n ],\n \"10886\": [\n 0.25583,\n 0.75583,\n 0,\n 0,\n 0.77778\n ],\n \"10887\": [\n 0.13597,\n 0.63597,\n 0,\n 0,\n 0.77778\n ],\n \"10888\": [\n 0.13597,\n 0.63597,\n 0,\n 0,\n 0.77778\n ],\n \"10889\": [\n 0.26167,\n 0.75726,\n 0,\n 0,\n 0.77778\n ],\n \"10890\": [\n 0.26167,\n 0.75726,\n 0,\n 0,\n 0.77778\n ],\n \"10891\": [\n 0.48256,\n 0.98256,\n 0,\n 0,\n 0.77778\n ],\n \"10892\": [\n 0.48256,\n 0.98256,\n 0,\n 0,\n 0.77778\n ],\n \"10901\": [\n 0.13667,\n 0.63667,\n 0,\n 0,\n 0.77778\n ],\n \"10902\": [\n 0.13667,\n 0.63667,\n 0,\n 0,\n 0.77778\n ],\n \"10933\": [\n 0.25142,\n 0.75726,\n 0,\n 0,\n 0.77778\n ],\n \"10934\": [\n 0.25142,\n 0.75726,\n 0,\n 0,\n 0.77778\n ],\n \"10935\": [\n 0.26167,\n 0.75726,\n 0,\n 0,\n 0.77778\n ],\n \"10936\": [\n 0.26167,\n 0.75726,\n 0,\n 0,\n 0.77778\n ],\n \"10937\": [\n 0.26167,\n 0.75726,\n 0,\n 0,\n 0.77778\n ],\n \"10938\": [\n 0.26167,\n 0.75726,\n 0,\n 0,\n 0.77778\n ],\n \"10949\": [\n 0.25583,\n 0.75583,\n 0,\n 0,\n 0.77778\n ],\n \"10950\": [\n 0.25583,\n 0.75583,\n 0,\n 0,\n 0.77778\n ],\n \"10955\": [\n 0.28481,\n 0.79383,\n 0,\n 0,\n 0.77778\n ],\n \"10956\": [\n 0.28481,\n 0.79383,\n 0,\n 0,\n 0.77778\n ],\n \"57350\": [\n 0.08167,\n 0.58167,\n 0,\n 0,\n 0.22222\n ],\n \"57351\": [\n 0.08167,\n 0.58167,\n 0,\n 0,\n 0.38889\n ],\n \"57352\": [\n 0.08167,\n 0.58167,\n 0,\n 0,\n 0.77778\n ],\n \"57353\": [\n 0,\n 0.43056,\n 0.04028,\n 0,\n 0.66667\n ],\n \"57356\": [\n 0.25142,\n 0.75726,\n 0,\n 0,\n 0.77778\n ],\n \"57357\": [\n 0.25142,\n 0.75726,\n 0,\n 0,\n 0.77778\n ],\n \"57358\": [\n 0.41951,\n 0.91951,\n 0,\n 0,\n 0.77778\n ],\n \"57359\": [\n 0.30274,\n 0.79383,\n 0,\n 0,\n 0.77778\n ],\n \"57360\": [\n 0.30274,\n 0.79383,\n 0,\n 0,\n 0.77778\n ],\n \"57361\": [\n 0.41951,\n 0.91951,\n 0,\n 0,\n 0.77778\n ],\n \"57366\": [\n 0.25142,\n 0.75726,\n 0,\n 0,\n 0.77778\n ],\n \"57367\": [\n 0.25142,\n 0.75726,\n 0,\n 0,\n 0.77778\n ],\n \"57368\": [\n 0.25142,\n 0.75726,\n 0,\n 0,\n 0.77778\n ],\n \"57369\": [\n 0.25142,\n 0.75726,\n 0,\n 0,\n 0.77778\n ],\n \"57370\": [\n 0.13597,\n 0.63597,\n 0,\n 0,\n 0.77778\n ],\n \"57371\": [\n 0.13597,\n 0.63597,\n 0,\n 0,\n 0.77778\n ]\n },\n \"Caligraphic-Regular\": {\n \"32\": [\n 0,\n 0,\n 0,\n 0,\n 0.25\n ],\n \"65\": [\n 0,\n 0.68333,\n 0,\n 0.19445,\n 0.79847\n ],\n \"66\": [\n 0,\n 0.68333,\n 0.03041,\n 0.13889,\n 0.65681\n ],\n \"67\": [\n 0,\n 0.68333,\n 0.05834,\n 0.13889,\n 0.52653\n ],\n \"68\": [\n 0,\n 0.68333,\n 0.02778,\n 0.08334,\n 0.77139\n ],\n \"69\": [\n 0,\n 0.68333,\n 0.08944,\n 0.11111,\n 0.52778\n ],\n \"70\": [\n 0,\n 0.68333,\n 0.09931,\n 0.11111,\n 0.71875\n ],\n \"71\": [\n 0.09722,\n 0.68333,\n 0.0593,\n 0.11111,\n 0.59487\n ],\n \"72\": [\n 0,\n 0.68333,\n 0.00965,\n 0.11111,\n 0.84452\n ],\n \"73\": [\n 0,\n 0.68333,\n 0.07382,\n 0,\n 0.54452\n ],\n \"74\": [\n 0.09722,\n 0.68333,\n 0.18472,\n 0.16667,\n 0.67778\n ],\n \"75\": [\n 0,\n 0.68333,\n 0.01445,\n 0.05556,\n 0.76195\n ],\n \"76\": [\n 0,\n 0.68333,\n 0,\n 0.13889,\n 0.68972\n ],\n \"77\": [\n 0,\n 0.68333,\n 0,\n 0.13889,\n 1.2009\n ],\n \"78\": [\n 0,\n 0.68333,\n 0.14736,\n 0.08334,\n 0.82049\n ],\n \"79\": [\n 0,\n 0.68333,\n 0.02778,\n 0.11111,\n 0.79611\n ],\n \"80\": [\n 0,\n 0.68333,\n 0.08222,\n 0.08334,\n 0.69556\n ],\n \"81\": [\n 0.09722,\n 0.68333,\n 0,\n 0.11111,\n 0.81667\n ],\n \"82\": [\n 0,\n 0.68333,\n 0,\n 0.08334,\n 0.8475\n ],\n \"83\": [\n 0,\n 0.68333,\n 0.075,\n 0.13889,\n 0.60556\n ],\n \"84\": [\n 0,\n 0.68333,\n 0.25417,\n 0,\n 0.54464\n ],\n \"85\": [\n 0,\n 0.68333,\n 0.09931,\n 0.08334,\n 0.62583\n ],\n \"86\": [\n 0,\n 0.68333,\n 0.08222,\n 0,\n 0.61278\n ],\n \"87\": [\n 0,\n 0.68333,\n 0.08222,\n 0.08334,\n 0.98778\n ],\n \"88\": [\n 0,\n 0.68333,\n 0.14643,\n 0.13889,\n 0.7133\n ],\n \"89\": [\n 0.09722,\n 0.68333,\n 0.08222,\n 0.08334,\n 0.66834\n ],\n \"90\": [\n 0,\n 0.68333,\n 0.07944,\n 0.13889,\n 0.72473\n ],\n \"160\": [\n 0,\n 0,\n 0,\n 0,\n 0.25\n ]\n },\n \"Fraktur-Regular\": {\n \"32\": [\n 0,\n 0,\n 0,\n 0,\n 0.25\n ],\n \"33\": [\n 0,\n 0.69141,\n 0,\n 0,\n 0.29574\n ],\n \"34\": [\n 0,\n 0.69141,\n 0,\n 0,\n 0.21471\n ],\n \"38\": [\n 0,\n 0.69141,\n 0,\n 0,\n 0.73786\n ],\n \"39\": [\n 0,\n 0.69141,\n 0,\n 0,\n 0.21201\n ],\n \"40\": [\n 0.24982,\n 0.74947,\n 0,\n 0,\n 0.38865\n ],\n \"41\": [\n 0.24982,\n 0.74947,\n 0,\n 0,\n 0.38865\n ],\n \"42\": [\n 0,\n 0.62119,\n 0,\n 0,\n 0.27764\n ],\n \"43\": [\n 0.08319,\n 0.58283,\n 0,\n 0,\n 0.75623\n ],\n \"44\": [\n 0,\n 0.10803,\n 0,\n 0,\n 0.27764\n ],\n \"45\": [\n 0.08319,\n 0.58283,\n 0,\n 0,\n 0.75623\n ],\n \"46\": [\n 0,\n 0.10803,\n 0,\n 0,\n 0.27764\n ],\n \"47\": [\n 0.24982,\n 0.74947,\n 0,\n 0,\n 0.50181\n ],\n \"48\": [\n 0,\n 0.47534,\n 0,\n 0,\n 0.50181\n ],\n \"49\": [\n 0,\n 0.47534,\n 0,\n 0,\n 0.50181\n ],\n \"50\": [\n 0,\n 0.47534,\n 0,\n 0,\n 0.50181\n ],\n \"51\": [\n 0.18906,\n 0.47534,\n 0,\n 0,\n 0.50181\n ],\n \"52\": [\n 0.18906,\n 0.47534,\n 0,\n 0,\n 0.50181\n ],\n \"53\": [\n 0.18906,\n 0.47534,\n 0,\n 0,\n 0.50181\n ],\n \"54\": [\n 0,\n 0.69141,\n 0,\n 0,\n 0.50181\n ],\n \"55\": [\n 0.18906,\n 0.47534,\n 0,\n 0,\n 0.50181\n ],\n \"56\": [\n 0,\n 0.69141,\n 0,\n 0,\n 0.50181\n ],\n \"57\": [\n 0.18906,\n 0.47534,\n 0,\n 0,\n 0.50181\n ],\n \"58\": [\n 0,\n 0.47534,\n 0,\n 0,\n 0.21606\n ],\n \"59\": [\n 0.12604,\n 0.47534,\n 0,\n 0,\n 0.21606\n ],\n \"61\": [\n -0.13099,\n 0.36866,\n 0,\n 0,\n 0.75623\n ],\n \"63\": [\n 0,\n 0.69141,\n 0,\n 0,\n 0.36245\n ],\n \"65\": [\n 0,\n 0.69141,\n 0,\n 0,\n 0.7176\n ],\n \"66\": [\n 0,\n 0.69141,\n 0,\n 0,\n 0.88397\n ],\n \"67\": [\n 0,\n 0.69141,\n 0,\n 0,\n 0.61254\n ],\n \"68\": [\n 0,\n 0.69141,\n 0,\n 0,\n 0.83158\n ],\n \"69\": [\n 0,\n 0.69141,\n 0,\n 0,\n 0.66278\n ],\n \"70\": [\n 0.12604,\n 0.69141,\n 0,\n 0,\n 0.61119\n ],\n \"71\": [\n 0,\n 0.69141,\n 0,\n 0,\n 0.78539\n ],\n \"72\": [\n 0.06302,\n 0.69141,\n 0,\n 0,\n 0.7203\n ],\n \"73\": [\n 0,\n 0.69141,\n 0,\n 0,\n 0.55448\n ],\n \"74\": [\n 0.12604,\n 0.69141,\n 0,\n 0,\n 0.55231\n ],\n \"75\": [\n 0,\n 0.69141,\n 0,\n 0,\n 0.66845\n ],\n \"76\": [\n 0,\n 0.69141,\n 0,\n 0,\n 0.66602\n ],\n \"77\": [\n 0,\n 0.69141,\n 0,\n 0,\n 1.04953\n ],\n \"78\": [\n 0,\n 0.69141,\n 0,\n 0,\n 0.83212\n ],\n \"79\": [\n 0,\n 0.69141,\n 0,\n 0,\n 0.82699\n ],\n \"80\": [\n 0.18906,\n 0.69141,\n 0,\n 0,\n 0.82753\n ],\n \"81\": [\n 0.03781,\n 0.69141,\n 0,\n 0,\n 0.82699\n ],\n \"82\": [\n 0,\n 0.69141,\n 0,\n 0,\n 0.82807\n ],\n \"83\": [\n 0,\n 0.69141,\n 0,\n 0,\n 0.82861\n ],\n \"84\": [\n 0,\n 0.69141,\n 0,\n 0,\n 0.66899\n ],\n \"85\": [\n 0,\n 0.69141,\n 0,\n 0,\n 0.64576\n ],\n \"86\": [\n 0,\n 0.69141,\n 0,\n 0,\n 0.83131\n ],\n \"87\": [\n 0,\n 0.69141,\n 0,\n 0,\n 1.04602\n ],\n \"88\": [\n 0,\n 0.69141,\n 0,\n 0,\n 0.71922\n ],\n \"89\": [\n 0.18906,\n 0.69141,\n 0,\n 0,\n 0.83293\n ],\n \"90\": [\n 0.12604,\n 0.69141,\n 0,\n 0,\n 0.60201\n ],\n \"91\": [\n 0.24982,\n 0.74947,\n 0,\n 0,\n 0.27764\n ],\n \"93\": [\n 0.24982,\n 0.74947,\n 0,\n 0,\n 0.27764\n ],\n \"94\": [\n 0,\n 0.69141,\n 0,\n 0,\n 0.49965\n ],\n \"97\": [\n 0,\n 0.47534,\n 0,\n 0,\n 0.50046\n ],\n \"98\": [\n 0,\n 0.69141,\n 0,\n 0,\n 0.51315\n ],\n \"99\": [\n 0,\n 0.47534,\n 0,\n 0,\n 0.38946\n ],\n \"100\": [\n 0,\n 0.62119,\n 0,\n 0,\n 0.49857\n ],\n \"101\": [\n 0,\n 0.47534,\n 0,\n 0,\n 0.40053\n ],\n \"102\": [\n 0.18906,\n 0.69141,\n 0,\n 0,\n 0.32626\n ],\n \"103\": [\n 0.18906,\n 0.47534,\n 0,\n 0,\n 0.5037\n ],\n \"104\": [\n 0.18906,\n 0.69141,\n 0,\n 0,\n 0.52126\n ],\n \"105\": [\n 0,\n 0.69141,\n 0,\n 0,\n 0.27899\n ],\n \"106\": [\n 0,\n 0.69141,\n 0,\n 0,\n 0.28088\n ],\n \"107\": [\n 0,\n 0.69141,\n 0,\n 0,\n 0.38946\n ],\n \"108\": [\n 0,\n 0.69141,\n 0,\n 0,\n 0.27953\n ],\n \"109\": [\n 0,\n 0.47534,\n 0,\n 0,\n 0.76676\n ],\n \"110\": [\n 0,\n 0.47534,\n 0,\n 0,\n 0.52666\n ],\n \"111\": [\n 0,\n 0.47534,\n 0,\n 0,\n 0.48885\n ],\n \"112\": [\n 0.18906,\n 0.52396,\n 0,\n 0,\n 0.50046\n ],\n \"113\": [\n 0.18906,\n 0.47534,\n 0,\n 0,\n 0.48912\n ],\n \"114\": [\n 0,\n 0.47534,\n 0,\n 0,\n 0.38919\n ],\n \"115\": [\n 0,\n 0.47534,\n 0,\n 0,\n 0.44266\n ],\n \"116\": [\n 0,\n 0.62119,\n 0,\n 0,\n 0.33301\n ],\n \"117\": [\n 0,\n 0.47534,\n 0,\n 0,\n 0.5172\n ],\n \"118\": [\n 0,\n 0.52396,\n 0,\n 0,\n 0.5118\n ],\n \"119\": [\n 0,\n 0.52396,\n 0,\n 0,\n 0.77351\n ],\n \"120\": [\n 0.18906,\n 0.47534,\n 0,\n 0,\n 0.38865\n ],\n \"121\": [\n 0.18906,\n 0.47534,\n 0,\n 0,\n 0.49884\n ],\n \"122\": [\n 0.18906,\n 0.47534,\n 0,\n 0,\n 0.39054\n ],\n \"160\": [\n 0,\n 0,\n 0,\n 0,\n 0.25\n ],\n \"8216\": [\n 0,\n 0.69141,\n 0,\n 0,\n 0.21471\n ],\n \"8217\": [\n 0,\n 0.69141,\n 0,\n 0,\n 0.21471\n ],\n \"58112\": [\n 0,\n 0.62119,\n 0,\n 0,\n 0.49749\n ],\n \"58113\": [\n 0,\n 0.62119,\n 0,\n 0,\n 0.4983\n ],\n \"58114\": [\n 0.18906,\n 0.69141,\n 0,\n 0,\n 0.33328\n ],\n \"58115\": [\n 0.18906,\n 0.69141,\n 0,\n 0,\n 0.32923\n ],\n \"58116\": [\n 0.18906,\n 0.47534,\n 0,\n 0,\n 0.50343\n ],\n \"58117\": [\n 0,\n 0.69141,\n 0,\n 0,\n 0.33301\n ],\n \"58118\": [\n 0,\n 0.62119,\n 0,\n 0,\n 0.33409\n ],\n \"58119\": [\n 0,\n 0.47534,\n 0,\n 0,\n 0.50073\n ]\n },\n \"Main-Bold\": {\n \"32\": [\n 0,\n 0,\n 0,\n 0,\n 0.25\n ],\n \"33\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.35\n ],\n \"34\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.60278\n ],\n \"35\": [\n 0.19444,\n 0.69444,\n 0,\n 0,\n 0.95833\n ],\n \"36\": [\n 0.05556,\n 0.75,\n 0,\n 0,\n 0.575\n ],\n \"37\": [\n 0.05556,\n 0.75,\n 0,\n 0,\n 0.95833\n ],\n \"38\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.89444\n ],\n \"39\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.31944\n ],\n \"40\": [\n 0.25,\n 0.75,\n 0,\n 0,\n 0.44722\n ],\n \"41\": [\n 0.25,\n 0.75,\n 0,\n 0,\n 0.44722\n ],\n \"42\": [\n 0,\n 0.75,\n 0,\n 0,\n 0.575\n ],\n \"43\": [\n 0.13333,\n 0.63333,\n 0,\n 0,\n 0.89444\n ],\n \"44\": [\n 0.19444,\n 0.15556,\n 0,\n 0,\n 0.31944\n ],\n \"45\": [\n 0,\n 0.44444,\n 0,\n 0,\n 0.38333\n ],\n \"46\": [\n 0,\n 0.15556,\n 0,\n 0,\n 0.31944\n ],\n \"47\": [\n 0.25,\n 0.75,\n 0,\n 0,\n 0.575\n ],\n \"48\": [\n 0,\n 0.64444,\n 0,\n 0,\n 0.575\n ],\n \"49\": [\n 0,\n 0.64444,\n 0,\n 0,\n 0.575\n ],\n \"50\": [\n 0,\n 0.64444,\n 0,\n 0,\n 0.575\n ],\n \"51\": [\n 0,\n 0.64444,\n 0,\n 0,\n 0.575\n ],\n \"52\": [\n 0,\n 0.64444,\n 0,\n 0,\n 0.575\n ],\n \"53\": [\n 0,\n 0.64444,\n 0,\n 0,\n 0.575\n ],\n \"54\": [\n 0,\n 0.64444,\n 0,\n 0,\n 0.575\n ],\n \"55\": [\n 0,\n 0.64444,\n 0,\n 0,\n 0.575\n ],\n \"56\": [\n 0,\n 0.64444,\n 0,\n 0,\n 0.575\n ],\n \"57\": [\n 0,\n 0.64444,\n 0,\n 0,\n 0.575\n ],\n \"58\": [\n 0,\n 0.44444,\n 0,\n 0,\n 0.31944\n ],\n \"59\": [\n 0.19444,\n 0.44444,\n 0,\n 0,\n 0.31944\n ],\n \"60\": [\n 0.08556,\n 0.58556,\n 0,\n 0,\n 0.89444\n ],\n \"61\": [\n -0.10889,\n 0.39111,\n 0,\n 0,\n 0.89444\n ],\n \"62\": [\n 0.08556,\n 0.58556,\n 0,\n 0,\n 0.89444\n ],\n \"63\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.54305\n ],\n \"64\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.89444\n ],\n \"65\": [\n 0,\n 0.68611,\n 0,\n 0,\n 0.86944\n ],\n \"66\": [\n 0,\n 0.68611,\n 0,\n 0,\n 0.81805\n ],\n \"67\": [\n 0,\n 0.68611,\n 0,\n 0,\n 0.83055\n ],\n \"68\": [\n 0,\n 0.68611,\n 0,\n 0,\n 0.88194\n ],\n \"69\": [\n 0,\n 0.68611,\n 0,\n 0,\n 0.75555\n ],\n \"70\": [\n 0,\n 0.68611,\n 0,\n 0,\n 0.72361\n ],\n \"71\": [\n 0,\n 0.68611,\n 0,\n 0,\n 0.90416\n ],\n \"72\": [\n 0,\n 0.68611,\n 0,\n 0,\n 0.9\n ],\n \"73\": [\n 0,\n 0.68611,\n 0,\n 0,\n 0.43611\n ],\n \"74\": [\n 0,\n 0.68611,\n 0,\n 0,\n 0.59444\n ],\n \"75\": [\n 0,\n 0.68611,\n 0,\n 0,\n 0.90138\n ],\n \"76\": [\n 0,\n 0.68611,\n 0,\n 0,\n 0.69166\n ],\n \"77\": [\n 0,\n 0.68611,\n 0,\n 0,\n 1.09166\n ],\n \"78\": [\n 0,\n 0.68611,\n 0,\n 0,\n 0.9\n ],\n \"79\": [\n 0,\n 0.68611,\n 0,\n 0,\n 0.86388\n ],\n \"80\": [\n 0,\n 0.68611,\n 0,\n 0,\n 0.78611\n ],\n \"81\": [\n 0.19444,\n 0.68611,\n 0,\n 0,\n 0.86388\n ],\n \"82\": [\n 0,\n 0.68611,\n 0,\n 0,\n 0.8625\n ],\n \"83\": [\n 0,\n 0.68611,\n 0,\n 0,\n 0.63889\n ],\n \"84\": [\n 0,\n 0.68611,\n 0,\n 0,\n 0.8\n ],\n \"85\": [\n 0,\n 0.68611,\n 0,\n 0,\n 0.88472\n ],\n \"86\": [\n 0,\n 0.68611,\n 0.01597,\n 0,\n 0.86944\n ],\n \"87\": [\n 0,\n 0.68611,\n 0.01597,\n 0,\n 1.18888\n ],\n \"88\": [\n 0,\n 0.68611,\n 0,\n 0,\n 0.86944\n ],\n \"89\": [\n 0,\n 0.68611,\n 0.02875,\n 0,\n 0.86944\n ],\n \"90\": [\n 0,\n 0.68611,\n 0,\n 0,\n 0.70277\n ],\n \"91\": [\n 0.25,\n 0.75,\n 0,\n 0,\n 0.31944\n ],\n \"92\": [\n 0.25,\n 0.75,\n 0,\n 0,\n 0.575\n ],\n \"93\": [\n 0.25,\n 0.75,\n 0,\n 0,\n 0.31944\n ],\n \"94\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.575\n ],\n \"95\": [\n 0.31,\n 0.13444,\n 0.03194,\n 0,\n 0.575\n ],\n \"97\": [\n 0,\n 0.44444,\n 0,\n 0,\n 0.55902\n ],\n \"98\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.63889\n ],\n \"99\": [\n 0,\n 0.44444,\n 0,\n 0,\n 0.51111\n ],\n \"100\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.63889\n ],\n \"101\": [\n 0,\n 0.44444,\n 0,\n 0,\n 0.52708\n ],\n \"102\": [\n 0,\n 0.69444,\n 0.10903,\n 0,\n 0.35139\n ],\n \"103\": [\n 0.19444,\n 0.44444,\n 0.01597,\n 0,\n 0.575\n ],\n \"104\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.63889\n ],\n \"105\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.31944\n ],\n \"106\": [\n 0.19444,\n 0.69444,\n 0,\n 0,\n 0.35139\n ],\n \"107\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.60694\n ],\n \"108\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.31944\n ],\n \"109\": [\n 0,\n 0.44444,\n 0,\n 0,\n 0.95833\n ],\n \"110\": [\n 0,\n 0.44444,\n 0,\n 0,\n 0.63889\n ],\n \"111\": [\n 0,\n 0.44444,\n 0,\n 0,\n 0.575\n ],\n \"112\": [\n 0.19444,\n 0.44444,\n 0,\n 0,\n 0.63889\n ],\n \"113\": [\n 0.19444,\n 0.44444,\n 0,\n 0,\n 0.60694\n ],\n \"114\": [\n 0,\n 0.44444,\n 0,\n 0,\n 0.47361\n ],\n \"115\": [\n 0,\n 0.44444,\n 0,\n 0,\n 0.45361\n ],\n \"116\": [\n 0,\n 0.63492,\n 0,\n 0,\n 0.44722\n ],\n \"117\": [\n 0,\n 0.44444,\n 0,\n 0,\n 0.63889\n ],\n \"118\": [\n 0,\n 0.44444,\n 0.01597,\n 0,\n 0.60694\n ],\n \"119\": [\n 0,\n 0.44444,\n 0.01597,\n 0,\n 0.83055\n ],\n \"120\": [\n 0,\n 0.44444,\n 0,\n 0,\n 0.60694\n ],\n \"121\": [\n 0.19444,\n 0.44444,\n 0.01597,\n 0,\n 0.60694\n ],\n \"122\": [\n 0,\n 0.44444,\n 0,\n 0,\n 0.51111\n ],\n \"123\": [\n 0.25,\n 0.75,\n 0,\n 0,\n 0.575\n ],\n \"124\": [\n 0.25,\n 0.75,\n 0,\n 0,\n 0.31944\n ],\n \"125\": [\n 0.25,\n 0.75,\n 0,\n 0,\n 0.575\n ],\n \"126\": [\n 0.35,\n 0.34444,\n 0,\n 0,\n 0.575\n ],\n \"160\": [\n 0,\n 0,\n 0,\n 0,\n 0.25\n ],\n \"163\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.86853\n ],\n \"168\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.575\n ],\n \"172\": [\n 0,\n 0.44444,\n 0,\n 0,\n 0.76666\n ],\n \"176\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.86944\n ],\n \"177\": [\n 0.13333,\n 0.63333,\n 0,\n 0,\n 0.89444\n ],\n \"184\": [\n 0.17014,\n 0,\n 0,\n 0,\n 0.51111\n ],\n \"198\": [\n 0,\n 0.68611,\n 0,\n 0,\n 1.04166\n ],\n \"215\": [\n 0.13333,\n 0.63333,\n 0,\n 0,\n 0.89444\n ],\n \"216\": [\n 0.04861,\n 0.73472,\n 0,\n 0,\n 0.89444\n ],\n \"223\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.59722\n ],\n \"230\": [\n 0,\n 0.44444,\n 0,\n 0,\n 0.83055\n ],\n \"247\": [\n 0.13333,\n 0.63333,\n 0,\n 0,\n 0.89444\n ],\n \"248\": [\n 0.09722,\n 0.54167,\n 0,\n 0,\n 0.575\n ],\n \"305\": [\n 0,\n 0.44444,\n 0,\n 0,\n 0.31944\n ],\n \"338\": [\n 0,\n 0.68611,\n 0,\n 0,\n 1.16944\n ],\n \"339\": [\n 0,\n 0.44444,\n 0,\n 0,\n 0.89444\n ],\n \"567\": [\n 0.19444,\n 0.44444,\n 0,\n 0,\n 0.35139\n ],\n \"710\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.575\n ],\n \"711\": [\n 0,\n 0.63194,\n 0,\n 0,\n 0.575\n ],\n \"713\": [\n 0,\n 0.59611,\n 0,\n 0,\n 0.575\n ],\n \"714\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.575\n ],\n \"715\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.575\n ],\n \"728\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.575\n ],\n \"729\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.31944\n ],\n \"730\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.86944\n ],\n \"732\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.575\n ],\n \"733\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.575\n ],\n \"915\": [\n 0,\n 0.68611,\n 0,\n 0,\n 0.69166\n ],\n \"916\": [\n 0,\n 0.68611,\n 0,\n 0,\n 0.95833\n ],\n \"920\": [\n 0,\n 0.68611,\n 0,\n 0,\n 0.89444\n ],\n \"923\": [\n 0,\n 0.68611,\n 0,\n 0,\n 0.80555\n ],\n \"926\": [\n 0,\n 0.68611,\n 0,\n 0,\n 0.76666\n ],\n \"928\": [\n 0,\n 0.68611,\n 0,\n 0,\n 0.9\n ],\n \"931\": [\n 0,\n 0.68611,\n 0,\n 0,\n 0.83055\n ],\n \"933\": [\n 0,\n 0.68611,\n 0,\n 0,\n 0.89444\n ],\n \"934\": [\n 0,\n 0.68611,\n 0,\n 0,\n 0.83055\n ],\n \"936\": [\n 0,\n 0.68611,\n 0,\n 0,\n 0.89444\n ],\n \"937\": [\n 0,\n 0.68611,\n 0,\n 0,\n 0.83055\n ],\n \"8211\": [\n 0,\n 0.44444,\n 0.03194,\n 0,\n 0.575\n ],\n \"8212\": [\n 0,\n 0.44444,\n 0.03194,\n 0,\n 1.14999\n ],\n \"8216\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.31944\n ],\n \"8217\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.31944\n ],\n \"8220\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.60278\n ],\n \"8221\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.60278\n ],\n \"8224\": [\n 0.19444,\n 0.69444,\n 0,\n 0,\n 0.51111\n ],\n \"8225\": [\n 0.19444,\n 0.69444,\n 0,\n 0,\n 0.51111\n ],\n \"8242\": [\n 0,\n 0.55556,\n 0,\n 0,\n 0.34444\n ],\n \"8407\": [\n 0,\n 0.72444,\n 0.15486,\n 0,\n 0.575\n ],\n \"8463\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.66759\n ],\n \"8465\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.83055\n ],\n \"8467\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.47361\n ],\n \"8472\": [\n 0.19444,\n 0.44444,\n 0,\n 0,\n 0.74027\n ],\n \"8476\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.83055\n ],\n \"8501\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.70277\n ],\n \"8592\": [\n -0.10889,\n 0.39111,\n 0,\n 0,\n 1.14999\n ],\n \"8593\": [\n 0.19444,\n 0.69444,\n 0,\n 0,\n 0.575\n ],\n \"8594\": [\n -0.10889,\n 0.39111,\n 0,\n 0,\n 1.14999\n ],\n \"8595\": [\n 0.19444,\n 0.69444,\n 0,\n 0,\n 0.575\n ],\n \"8596\": [\n -0.10889,\n 0.39111,\n 0,\n 0,\n 1.14999\n ],\n \"8597\": [\n 0.25,\n 0.75,\n 0,\n 0,\n 0.575\n ],\n \"8598\": [\n 0.19444,\n 0.69444,\n 0,\n 0,\n 1.14999\n ],\n \"8599\": [\n 0.19444,\n 0.69444,\n 0,\n 0,\n 1.14999\n ],\n \"8600\": [\n 0.19444,\n 0.69444,\n 0,\n 0,\n 1.14999\n ],\n \"8601\": [\n 0.19444,\n 0.69444,\n 0,\n 0,\n 1.14999\n ],\n \"8636\": [\n -0.10889,\n 0.39111,\n 0,\n 0,\n 1.14999\n ],\n \"8637\": [\n -0.10889,\n 0.39111,\n 0,\n 0,\n 1.14999\n ],\n \"8640\": [\n -0.10889,\n 0.39111,\n 0,\n 0,\n 1.14999\n ],\n \"8641\": [\n -0.10889,\n 0.39111,\n 0,\n 0,\n 1.14999\n ],\n \"8656\": [\n -0.10889,\n 0.39111,\n 0,\n 0,\n 1.14999\n ],\n \"8657\": [\n 0.19444,\n 0.69444,\n 0,\n 0,\n 0.70277\n ],\n \"8658\": [\n -0.10889,\n 0.39111,\n 0,\n 0,\n 1.14999\n ],\n \"8659\": [\n 0.19444,\n 0.69444,\n 0,\n 0,\n 0.70277\n ],\n \"8660\": [\n -0.10889,\n 0.39111,\n 0,\n 0,\n 1.14999\n ],\n \"8661\": [\n 0.25,\n 0.75,\n 0,\n 0,\n 0.70277\n ],\n \"8704\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.63889\n ],\n \"8706\": [\n 0,\n 0.69444,\n 0.06389,\n 0,\n 0.62847\n ],\n \"8707\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.63889\n ],\n \"8709\": [\n 0.05556,\n 0.75,\n 0,\n 0,\n 0.575\n ],\n \"8711\": [\n 0,\n 0.68611,\n 0,\n 0,\n 0.95833\n ],\n \"8712\": [\n 0.08556,\n 0.58556,\n 0,\n 0,\n 0.76666\n ],\n \"8715\": [\n 0.08556,\n 0.58556,\n 0,\n 0,\n 0.76666\n ],\n \"8722\": [\n 0.13333,\n 0.63333,\n 0,\n 0,\n 0.89444\n ],\n \"8723\": [\n 0.13333,\n 0.63333,\n 0,\n 0,\n 0.89444\n ],\n \"8725\": [\n 0.25,\n 0.75,\n 0,\n 0,\n 0.575\n ],\n \"8726\": [\n 0.25,\n 0.75,\n 0,\n 0,\n 0.575\n ],\n \"8727\": [\n -0.02778,\n 0.47222,\n 0,\n 0,\n 0.575\n ],\n \"8728\": [\n -0.02639,\n 0.47361,\n 0,\n 0,\n 0.575\n ],\n \"8729\": [\n -0.02639,\n 0.47361,\n 0,\n 0,\n 0.575\n ],\n \"8730\": [\n 0.18,\n 0.82,\n 0,\n 0,\n 0.95833\n ],\n \"8733\": [\n 0,\n 0.44444,\n 0,\n 0,\n 0.89444\n ],\n \"8734\": [\n 0,\n 0.44444,\n 0,\n 0,\n 1.14999\n ],\n \"8736\": [\n 0,\n 0.69224,\n 0,\n 0,\n 0.72222\n ],\n \"8739\": [\n 0.25,\n 0.75,\n 0,\n 0,\n 0.31944\n ],\n \"8741\": [\n 0.25,\n 0.75,\n 0,\n 0,\n 0.575\n ],\n \"8743\": [\n 0,\n 0.55556,\n 0,\n 0,\n 0.76666\n ],\n \"8744\": [\n 0,\n 0.55556,\n 0,\n 0,\n 0.76666\n ],\n \"8745\": [\n 0,\n 0.55556,\n 0,\n 0,\n 0.76666\n ],\n \"8746\": [\n 0,\n 0.55556,\n 0,\n 0,\n 0.76666\n ],\n \"8747\": [\n 0.19444,\n 0.69444,\n 0.12778,\n 0,\n 0.56875\n ],\n \"8764\": [\n -0.10889,\n 0.39111,\n 0,\n 0,\n 0.89444\n ],\n \"8768\": [\n 0.19444,\n 0.69444,\n 0,\n 0,\n 0.31944\n ],\n \"8771\": [\n 0.00222,\n 0.50222,\n 0,\n 0,\n 0.89444\n ],\n \"8773\": [\n 0.027,\n 0.638,\n 0,\n 0,\n 0.894\n ],\n \"8776\": [\n 0.02444,\n 0.52444,\n 0,\n 0,\n 0.89444\n ],\n \"8781\": [\n 0.00222,\n 0.50222,\n 0,\n 0,\n 0.89444\n ],\n \"8801\": [\n 0.00222,\n 0.50222,\n 0,\n 0,\n 0.89444\n ],\n \"8804\": [\n 0.19667,\n 0.69667,\n 0,\n 0,\n 0.89444\n ],\n \"8805\": [\n 0.19667,\n 0.69667,\n 0,\n 0,\n 0.89444\n ],\n \"8810\": [\n 0.08556,\n 0.58556,\n 0,\n 0,\n 1.14999\n ],\n \"8811\": [\n 0.08556,\n 0.58556,\n 0,\n 0,\n 1.14999\n ],\n \"8826\": [\n 0.08556,\n 0.58556,\n 0,\n 0,\n 0.89444\n ],\n \"8827\": [\n 0.08556,\n 0.58556,\n 0,\n 0,\n 0.89444\n ],\n \"8834\": [\n 0.08556,\n 0.58556,\n 0,\n 0,\n 0.89444\n ],\n \"8835\": [\n 0.08556,\n 0.58556,\n 0,\n 0,\n 0.89444\n ],\n \"8838\": [\n 0.19667,\n 0.69667,\n 0,\n 0,\n 0.89444\n ],\n \"8839\": [\n 0.19667,\n 0.69667,\n 0,\n 0,\n 0.89444\n ],\n \"8846\": [\n 0,\n 0.55556,\n 0,\n 0,\n 0.76666\n ],\n \"8849\": [\n 0.19667,\n 0.69667,\n 0,\n 0,\n 0.89444\n ],\n \"8850\": [\n 0.19667,\n 0.69667,\n 0,\n 0,\n 0.89444\n ],\n \"8851\": [\n 0,\n 0.55556,\n 0,\n 0,\n 0.76666\n ],\n \"8852\": [\n 0,\n 0.55556,\n 0,\n 0,\n 0.76666\n ],\n \"8853\": [\n 0.13333,\n 0.63333,\n 0,\n 0,\n 0.89444\n ],\n \"8854\": [\n 0.13333,\n 0.63333,\n 0,\n 0,\n 0.89444\n ],\n \"8855\": [\n 0.13333,\n 0.63333,\n 0,\n 0,\n 0.89444\n ],\n \"8856\": [\n 0.13333,\n 0.63333,\n 0,\n 0,\n 0.89444\n ],\n \"8857\": [\n 0.13333,\n 0.63333,\n 0,\n 0,\n 0.89444\n ],\n \"8866\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.70277\n ],\n \"8867\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.70277\n ],\n \"8868\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.89444\n ],\n \"8869\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.89444\n ],\n \"8900\": [\n -0.02639,\n 0.47361,\n 0,\n 0,\n 0.575\n ],\n \"8901\": [\n -0.02639,\n 0.47361,\n 0,\n 0,\n 0.31944\n ],\n \"8902\": [\n -0.02778,\n 0.47222,\n 0,\n 0,\n 0.575\n ],\n \"8968\": [\n 0.25,\n 0.75,\n 0,\n 0,\n 0.51111\n ],\n \"8969\": [\n 0.25,\n 0.75,\n 0,\n 0,\n 0.51111\n ],\n \"8970\": [\n 0.25,\n 0.75,\n 0,\n 0,\n 0.51111\n ],\n \"8971\": [\n 0.25,\n 0.75,\n 0,\n 0,\n 0.51111\n ],\n \"8994\": [\n -0.13889,\n 0.36111,\n 0,\n 0,\n 1.14999\n ],\n \"8995\": [\n -0.13889,\n 0.36111,\n 0,\n 0,\n 1.14999\n ],\n \"9651\": [\n 0.19444,\n 0.69444,\n 0,\n 0,\n 1.02222\n ],\n \"9657\": [\n -0.02778,\n 0.47222,\n 0,\n 0,\n 0.575\n ],\n \"9661\": [\n 0.19444,\n 0.69444,\n 0,\n 0,\n 1.02222\n ],\n \"9667\": [\n -0.02778,\n 0.47222,\n 0,\n 0,\n 0.575\n ],\n \"9711\": [\n 0.19444,\n 0.69444,\n 0,\n 0,\n 1.14999\n ],\n \"9824\": [\n 0.12963,\n 0.69444,\n 0,\n 0,\n 0.89444\n ],\n \"9825\": [\n 0.12963,\n 0.69444,\n 0,\n 0,\n 0.89444\n ],\n \"9826\": [\n 0.12963,\n 0.69444,\n 0,\n 0,\n 0.89444\n ],\n \"9827\": [\n 0.12963,\n 0.69444,\n 0,\n 0,\n 0.89444\n ],\n \"9837\": [\n 0,\n 0.75,\n 0,\n 0,\n 0.44722\n ],\n \"9838\": [\n 0.19444,\n 0.69444,\n 0,\n 0,\n 0.44722\n ],\n \"9839\": [\n 0.19444,\n 0.69444,\n 0,\n 0,\n 0.44722\n ],\n \"10216\": [\n 0.25,\n 0.75,\n 0,\n 0,\n 0.44722\n ],\n \"10217\": [\n 0.25,\n 0.75,\n 0,\n 0,\n 0.44722\n ],\n \"10815\": [\n 0,\n 0.68611,\n 0,\n 0,\n 0.9\n ],\n \"10927\": [\n 0.19667,\n 0.69667,\n 0,\n 0,\n 0.89444\n ],\n \"10928\": [\n 0.19667,\n 0.69667,\n 0,\n 0,\n 0.89444\n ],\n \"57376\": [\n 0.19444,\n 0.69444,\n 0,\n 0,\n 0\n ]\n },\n \"Main-BoldItalic\": {\n \"32\": [\n 0,\n 0,\n 0,\n 0,\n 0.25\n ],\n \"33\": [\n 0,\n 0.69444,\n 0.11417,\n 0,\n 0.38611\n ],\n \"34\": [\n 0,\n 0.69444,\n 0.07939,\n 0,\n 0.62055\n ],\n \"35\": [\n 0.19444,\n 0.69444,\n 0.06833,\n 0,\n 0.94444\n ],\n \"37\": [\n 0.05556,\n 0.75,\n 0.12861,\n 0,\n 0.94444\n ],\n \"38\": [\n 0,\n 0.69444,\n 0.08528,\n 0,\n 0.88555\n ],\n \"39\": [\n 0,\n 0.69444,\n 0.12945,\n 0,\n 0.35555\n ],\n \"40\": [\n 0.25,\n 0.75,\n 0.15806,\n 0,\n 0.47333\n ],\n \"41\": [\n 0.25,\n 0.75,\n 0.03306,\n 0,\n 0.47333\n ],\n \"42\": [\n 0,\n 0.75,\n 0.14333,\n 0,\n 0.59111\n ],\n \"43\": [\n 0.10333,\n 0.60333,\n 0.03306,\n 0,\n 0.88555\n ],\n \"44\": [\n 0.19444,\n 0.14722,\n 0,\n 0,\n 0.35555\n ],\n \"45\": [\n 0,\n 0.44444,\n 0.02611,\n 0,\n 0.41444\n ],\n \"46\": [\n 0,\n 0.14722,\n 0,\n 0,\n 0.35555\n ],\n \"47\": [\n 0.25,\n 0.75,\n 0.15806,\n 0,\n 0.59111\n ],\n \"48\": [\n 0,\n 0.64444,\n 0.13167,\n 0,\n 0.59111\n ],\n \"49\": [\n 0,\n 0.64444,\n 0.13167,\n 0,\n 0.59111\n ],\n \"50\": [\n 0,\n 0.64444,\n 0.13167,\n 0,\n 0.59111\n ],\n \"51\": [\n 0,\n 0.64444,\n 0.13167,\n 0,\n 0.59111\n ],\n \"52\": [\n 0.19444,\n 0.64444,\n 0.13167,\n 0,\n 0.59111\n ],\n \"53\": [\n 0,\n 0.64444,\n 0.13167,\n 0,\n 0.59111\n ],\n \"54\": [\n 0,\n 0.64444,\n 0.13167,\n 0,\n 0.59111\n ],\n \"55\": [\n 0.19444,\n 0.64444,\n 0.13167,\n 0,\n 0.59111\n ],\n \"56\": [\n 0,\n 0.64444,\n 0.13167,\n 0,\n 0.59111\n ],\n \"57\": [\n 0,\n 0.64444,\n 0.13167,\n 0,\n 0.59111\n ],\n \"58\": [\n 0,\n 0.44444,\n 0.06695,\n 0,\n 0.35555\n ],\n \"59\": [\n 0.19444,\n 0.44444,\n 0.06695,\n 0,\n 0.35555\n ],\n \"61\": [\n -0.10889,\n 0.39111,\n 0.06833,\n 0,\n 0.88555\n ],\n \"63\": [\n 0,\n 0.69444,\n 0.11472,\n 0,\n 0.59111\n ],\n \"64\": [\n 0,\n 0.69444,\n 0.09208,\n 0,\n 0.88555\n ],\n \"65\": [\n 0,\n 0.68611,\n 0,\n 0,\n 0.86555\n ],\n \"66\": [\n 0,\n 0.68611,\n 0.0992,\n 0,\n 0.81666\n ],\n \"67\": [\n 0,\n 0.68611,\n 0.14208,\n 0,\n 0.82666\n ],\n \"68\": [\n 0,\n 0.68611,\n 0.09062,\n 0,\n 0.87555\n ],\n \"69\": [\n 0,\n 0.68611,\n 0.11431,\n 0,\n 0.75666\n ],\n \"70\": [\n 0,\n 0.68611,\n 0.12903,\n 0,\n 0.72722\n ],\n \"71\": [\n 0,\n 0.68611,\n 0.07347,\n 0,\n 0.89527\n ],\n \"72\": [\n 0,\n 0.68611,\n 0.17208,\n 0,\n 0.8961\n ],\n \"73\": [\n 0,\n 0.68611,\n 0.15681,\n 0,\n 0.47166\n ],\n \"74\": [\n 0,\n 0.68611,\n 0.145,\n 0,\n 0.61055\n ],\n \"75\": [\n 0,\n 0.68611,\n 0.14208,\n 0,\n 0.89499\n ],\n \"76\": [\n 0,\n 0.68611,\n 0,\n 0,\n 0.69777\n ],\n \"77\": [\n 0,\n 0.68611,\n 0.17208,\n 0,\n 1.07277\n ],\n \"78\": [\n 0,\n 0.68611,\n 0.17208,\n 0,\n 0.8961\n ],\n \"79\": [\n 0,\n 0.68611,\n 0.09062,\n 0,\n 0.85499\n ],\n \"80\": [\n 0,\n 0.68611,\n 0.0992,\n 0,\n 0.78721\n ],\n \"81\": [\n 0.19444,\n 0.68611,\n 0.09062,\n 0,\n 0.85499\n ],\n \"82\": [\n 0,\n 0.68611,\n 0.02559,\n 0,\n 0.85944\n ],\n \"83\": [\n 0,\n 0.68611,\n 0.11264,\n 0,\n 0.64999\n ],\n \"84\": [\n 0,\n 0.68611,\n 0.12903,\n 0,\n 0.7961\n ],\n \"85\": [\n 0,\n 0.68611,\n 0.17208,\n 0,\n 0.88083\n ],\n \"86\": [\n 0,\n 0.68611,\n 0.18625,\n 0,\n 0.86555\n ],\n \"87\": [\n 0,\n 0.68611,\n 0.18625,\n 0,\n 1.15999\n ],\n \"88\": [\n 0,\n 0.68611,\n 0.15681,\n 0,\n 0.86555\n ],\n \"89\": [\n 0,\n 0.68611,\n 0.19803,\n 0,\n 0.86555\n ],\n \"90\": [\n 0,\n 0.68611,\n 0.14208,\n 0,\n 0.70888\n ],\n \"91\": [\n 0.25,\n 0.75,\n 0.1875,\n 0,\n 0.35611\n ],\n \"93\": [\n 0.25,\n 0.75,\n 0.09972,\n 0,\n 0.35611\n ],\n \"94\": [\n 0,\n 0.69444,\n 0.06709,\n 0,\n 0.59111\n ],\n \"95\": [\n 0.31,\n 0.13444,\n 0.09811,\n 0,\n 0.59111\n ],\n \"97\": [\n 0,\n 0.44444,\n 0.09426,\n 0,\n 0.59111\n ],\n \"98\": [\n 0,\n 0.69444,\n 0.07861,\n 0,\n 0.53222\n ],\n \"99\": [\n 0,\n 0.44444,\n 0.05222,\n 0,\n 0.53222\n ],\n \"100\": [\n 0,\n 0.69444,\n 0.10861,\n 0,\n 0.59111\n ],\n \"101\": [\n 0,\n 0.44444,\n 0.085,\n 0,\n 0.53222\n ],\n \"102\": [\n 0.19444,\n 0.69444,\n 0.21778,\n 0,\n 0.4\n ],\n \"103\": [\n 0.19444,\n 0.44444,\n 0.105,\n 0,\n 0.53222\n ],\n \"104\": [\n 0,\n 0.69444,\n 0.09426,\n 0,\n 0.59111\n ],\n \"105\": [\n 0,\n 0.69326,\n 0.11387,\n 0,\n 0.35555\n ],\n \"106\": [\n 0.19444,\n 0.69326,\n 0.1672,\n 0,\n 0.35555\n ],\n \"107\": [\n 0,\n 0.69444,\n 0.11111,\n 0,\n 0.53222\n ],\n \"108\": [\n 0,\n 0.69444,\n 0.10861,\n 0,\n 0.29666\n ],\n \"109\": [\n 0,\n 0.44444,\n 0.09426,\n 0,\n 0.94444\n ],\n \"110\": [\n 0,\n 0.44444,\n 0.09426,\n 0,\n 0.64999\n ],\n \"111\": [\n 0,\n 0.44444,\n 0.07861,\n 0,\n 0.59111\n ],\n \"112\": [\n 0.19444,\n 0.44444,\n 0.07861,\n 0,\n 0.59111\n ],\n \"113\": [\n 0.19444,\n 0.44444,\n 0.105,\n 0,\n 0.53222\n ],\n \"114\": [\n 0,\n 0.44444,\n 0.11111,\n 0,\n 0.50167\n ],\n \"115\": [\n 0,\n 0.44444,\n 0.08167,\n 0,\n 0.48694\n ],\n \"116\": [\n 0,\n 0.63492,\n 0.09639,\n 0,\n 0.385\n ],\n \"117\": [\n 0,\n 0.44444,\n 0.09426,\n 0,\n 0.62055\n ],\n \"118\": [\n 0,\n 0.44444,\n 0.11111,\n 0,\n 0.53222\n ],\n \"119\": [\n 0,\n 0.44444,\n 0.11111,\n 0,\n 0.76777\n ],\n \"120\": [\n 0,\n 0.44444,\n 0.12583,\n 0,\n 0.56055\n ],\n \"121\": [\n 0.19444,\n 0.44444,\n 0.105,\n 0,\n 0.56166\n ],\n \"122\": [\n 0,\n 0.44444,\n 0.13889,\n 0,\n 0.49055\n ],\n \"126\": [\n 0.35,\n 0.34444,\n 0.11472,\n 0,\n 0.59111\n ],\n \"160\": [\n 0,\n 0,\n 0,\n 0,\n 0.25\n ],\n \"168\": [\n 0,\n 0.69444,\n 0.11473,\n 0,\n 0.59111\n ],\n \"176\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.94888\n ],\n \"184\": [\n 0.17014,\n 0,\n 0,\n 0,\n 0.53222\n ],\n \"198\": [\n 0,\n 0.68611,\n 0.11431,\n 0,\n 1.02277\n ],\n \"216\": [\n 0.04861,\n 0.73472,\n 0.09062,\n 0,\n 0.88555\n ],\n \"223\": [\n 0.19444,\n 0.69444,\n 0.09736,\n 0,\n 0.665\n ],\n \"230\": [\n 0,\n 0.44444,\n 0.085,\n 0,\n 0.82666\n ],\n \"248\": [\n 0.09722,\n 0.54167,\n 0.09458,\n 0,\n 0.59111\n ],\n \"305\": [\n 0,\n 0.44444,\n 0.09426,\n 0,\n 0.35555\n ],\n \"338\": [\n 0,\n 0.68611,\n 0.11431,\n 0,\n 1.14054\n ],\n \"339\": [\n 0,\n 0.44444,\n 0.085,\n 0,\n 0.82666\n ],\n \"567\": [\n 0.19444,\n 0.44444,\n 0.04611,\n 0,\n 0.385\n ],\n \"710\": [\n 0,\n 0.69444,\n 0.06709,\n 0,\n 0.59111\n ],\n \"711\": [\n 0,\n 0.63194,\n 0.08271,\n 0,\n 0.59111\n ],\n \"713\": [\n 0,\n 0.59444,\n 0.10444,\n 0,\n 0.59111\n ],\n \"714\": [\n 0,\n 0.69444,\n 0.08528,\n 0,\n 0.59111\n ],\n \"715\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.59111\n ],\n \"728\": [\n 0,\n 0.69444,\n 0.10333,\n 0,\n 0.59111\n ],\n \"729\": [\n 0,\n 0.69444,\n 0.12945,\n 0,\n 0.35555\n ],\n \"730\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.94888\n ],\n \"732\": [\n 0,\n 0.69444,\n 0.11472,\n 0,\n 0.59111\n ],\n \"733\": [\n 0,\n 0.69444,\n 0.11472,\n 0,\n 0.59111\n ],\n \"915\": [\n 0,\n 0.68611,\n 0.12903,\n 0,\n 0.69777\n ],\n \"916\": [\n 0,\n 0.68611,\n 0,\n 0,\n 0.94444\n ],\n \"920\": [\n 0,\n 0.68611,\n 0.09062,\n 0,\n 0.88555\n ],\n \"923\": [\n 0,\n 0.68611,\n 0,\n 0,\n 0.80666\n ],\n \"926\": [\n 0,\n 0.68611,\n 0.15092,\n 0,\n 0.76777\n ],\n \"928\": [\n 0,\n 0.68611,\n 0.17208,\n 0,\n 0.8961\n ],\n \"931\": [\n 0,\n 0.68611,\n 0.11431,\n 0,\n 0.82666\n ],\n \"933\": [\n 0,\n 0.68611,\n 0.10778,\n 0,\n 0.88555\n ],\n \"934\": [\n 0,\n 0.68611,\n 0.05632,\n 0,\n 0.82666\n ],\n \"936\": [\n 0,\n 0.68611,\n 0.10778,\n 0,\n 0.88555\n ],\n \"937\": [\n 0,\n 0.68611,\n 0.0992,\n 0,\n 0.82666\n ],\n \"8211\": [\n 0,\n 0.44444,\n 0.09811,\n 0,\n 0.59111\n ],\n \"8212\": [\n 0,\n 0.44444,\n 0.09811,\n 0,\n 1.18221\n ],\n \"8216\": [\n 0,\n 0.69444,\n 0.12945,\n 0,\n 0.35555\n ],\n \"8217\": [\n 0,\n 0.69444,\n 0.12945,\n 0,\n 0.35555\n ],\n \"8220\": [\n 0,\n 0.69444,\n 0.16772,\n 0,\n 0.62055\n ],\n \"8221\": [\n 0,\n 0.69444,\n 0.07939,\n 0,\n 0.62055\n ]\n },\n \"Main-Italic\": {\n \"32\": [\n 0,\n 0,\n 0,\n 0,\n 0.25\n ],\n \"33\": [\n 0,\n 0.69444,\n 0.12417,\n 0,\n 0.30667\n ],\n \"34\": [\n 0,\n 0.69444,\n 0.06961,\n 0,\n 0.51444\n ],\n \"35\": [\n 0.19444,\n 0.69444,\n 0.06616,\n 0,\n 0.81777\n ],\n \"37\": [\n 0.05556,\n 0.75,\n 0.13639,\n 0,\n 0.81777\n ],\n \"38\": [\n 0,\n 0.69444,\n 0.09694,\n 0,\n 0.76666\n ],\n \"39\": [\n 0,\n 0.69444,\n 0.12417,\n 0,\n 0.30667\n ],\n \"40\": [\n 0.25,\n 0.75,\n 0.16194,\n 0,\n 0.40889\n ],\n \"41\": [\n 0.25,\n 0.75,\n 0.03694,\n 0,\n 0.40889\n ],\n \"42\": [\n 0,\n 0.75,\n 0.14917,\n 0,\n 0.51111\n ],\n \"43\": [\n 0.05667,\n 0.56167,\n 0.03694,\n 0,\n 0.76666\n ],\n \"44\": [\n 0.19444,\n 0.10556,\n 0,\n 0,\n 0.30667\n ],\n \"45\": [\n 0,\n 0.43056,\n 0.02826,\n 0,\n 0.35778\n ],\n \"46\": [\n 0,\n 0.10556,\n 0,\n 0,\n 0.30667\n ],\n \"47\": [\n 0.25,\n 0.75,\n 0.16194,\n 0,\n 0.51111\n ],\n \"48\": [\n 0,\n 0.64444,\n 0.13556,\n 0,\n 0.51111\n ],\n \"49\": [\n 0,\n 0.64444,\n 0.13556,\n 0,\n 0.51111\n ],\n \"50\": [\n 0,\n 0.64444,\n 0.13556,\n 0,\n 0.51111\n ],\n \"51\": [\n 0,\n 0.64444,\n 0.13556,\n 0,\n 0.51111\n ],\n \"52\": [\n 0.19444,\n 0.64444,\n 0.13556,\n 0,\n 0.51111\n ],\n \"53\": [\n 0,\n 0.64444,\n 0.13556,\n 0,\n 0.51111\n ],\n \"54\": [\n 0,\n 0.64444,\n 0.13556,\n 0,\n 0.51111\n ],\n \"55\": [\n 0.19444,\n 0.64444,\n 0.13556,\n 0,\n 0.51111\n ],\n \"56\": [\n 0,\n 0.64444,\n 0.13556,\n 0,\n 0.51111\n ],\n \"57\": [\n 0,\n 0.64444,\n 0.13556,\n 0,\n 0.51111\n ],\n \"58\": [\n 0,\n 0.43056,\n 0.0582,\n 0,\n 0.30667\n ],\n \"59\": [\n 0.19444,\n 0.43056,\n 0.0582,\n 0,\n 0.30667\n ],\n \"61\": [\n -0.13313,\n 0.36687,\n 0.06616,\n 0,\n 0.76666\n ],\n \"63\": [\n 0,\n 0.69444,\n 0.1225,\n 0,\n 0.51111\n ],\n \"64\": [\n 0,\n 0.69444,\n 0.09597,\n 0,\n 0.76666\n ],\n \"65\": [\n 0,\n 0.68333,\n 0,\n 0,\n 0.74333\n ],\n \"66\": [\n 0,\n 0.68333,\n 0.10257,\n 0,\n 0.70389\n ],\n \"67\": [\n 0,\n 0.68333,\n 0.14528,\n 0,\n 0.71555\n ],\n \"68\": [\n 0,\n 0.68333,\n 0.09403,\n 0,\n 0.755\n ],\n \"69\": [\n 0,\n 0.68333,\n 0.12028,\n 0,\n 0.67833\n ],\n \"70\": [\n 0,\n 0.68333,\n 0.13305,\n 0,\n 0.65277\n ],\n \"71\": [\n 0,\n 0.68333,\n 0.08722,\n 0,\n 0.77361\n ],\n \"72\": [\n 0,\n 0.68333,\n 0.16389,\n 0,\n 0.74333\n ],\n \"73\": [\n 0,\n 0.68333,\n 0.15806,\n 0,\n 0.38555\n ],\n \"74\": [\n 0,\n 0.68333,\n 0.14028,\n 0,\n 0.525\n ],\n \"75\": [\n 0,\n 0.68333,\n 0.14528,\n 0,\n 0.76888\n ],\n \"76\": [\n 0,\n 0.68333,\n 0,\n 0,\n 0.62722\n ],\n \"77\": [\n 0,\n 0.68333,\n 0.16389,\n 0,\n 0.89666\n ],\n \"78\": [\n 0,\n 0.68333,\n 0.16389,\n 0,\n 0.74333\n ],\n \"79\": [\n 0,\n 0.68333,\n 0.09403,\n 0,\n 0.76666\n ],\n \"80\": [\n 0,\n 0.68333,\n 0.10257,\n 0,\n 0.67833\n ],\n \"81\": [\n 0.19444,\n 0.68333,\n 0.09403,\n 0,\n 0.76666\n ],\n \"82\": [\n 0,\n 0.68333,\n 0.03868,\n 0,\n 0.72944\n ],\n \"83\": [\n 0,\n 0.68333,\n 0.11972,\n 0,\n 0.56222\n ],\n \"84\": [\n 0,\n 0.68333,\n 0.13305,\n 0,\n 0.71555\n ],\n \"85\": [\n 0,\n 0.68333,\n 0.16389,\n 0,\n 0.74333\n ],\n \"86\": [\n 0,\n 0.68333,\n 0.18361,\n 0,\n 0.74333\n ],\n \"87\": [\n 0,\n 0.68333,\n 0.18361,\n 0,\n 0.99888\n ],\n \"88\": [\n 0,\n 0.68333,\n 0.15806,\n 0,\n 0.74333\n ],\n \"89\": [\n 0,\n 0.68333,\n 0.19383,\n 0,\n 0.74333\n ],\n \"90\": [\n 0,\n 0.68333,\n 0.14528,\n 0,\n 0.61333\n ],\n \"91\": [\n 0.25,\n 0.75,\n 0.1875,\n 0,\n 0.30667\n ],\n \"93\": [\n 0.25,\n 0.75,\n 0.10528,\n 0,\n 0.30667\n ],\n \"94\": [\n 0,\n 0.69444,\n 0.06646,\n 0,\n 0.51111\n ],\n \"95\": [\n 0.31,\n 0.12056,\n 0.09208,\n 0,\n 0.51111\n ],\n \"97\": [\n 0,\n 0.43056,\n 0.07671,\n 0,\n 0.51111\n ],\n \"98\": [\n 0,\n 0.69444,\n 0.06312,\n 0,\n 0.46\n ],\n \"99\": [\n 0,\n 0.43056,\n 0.05653,\n 0,\n 0.46\n ],\n \"100\": [\n 0,\n 0.69444,\n 0.10333,\n 0,\n 0.51111\n ],\n \"101\": [\n 0,\n 0.43056,\n 0.07514,\n 0,\n 0.46\n ],\n \"102\": [\n 0.19444,\n 0.69444,\n 0.21194,\n 0,\n 0.30667\n ],\n \"103\": [\n 0.19444,\n 0.43056,\n 0.08847,\n 0,\n 0.46\n ],\n \"104\": [\n 0,\n 0.69444,\n 0.07671,\n 0,\n 0.51111\n ],\n \"105\": [\n 0,\n 0.65536,\n 0.1019,\n 0,\n 0.30667\n ],\n \"106\": [\n 0.19444,\n 0.65536,\n 0.14467,\n 0,\n 0.30667\n ],\n \"107\": [\n 0,\n 0.69444,\n 0.10764,\n 0,\n 0.46\n ],\n \"108\": [\n 0,\n 0.69444,\n 0.10333,\n 0,\n 0.25555\n ],\n \"109\": [\n 0,\n 0.43056,\n 0.07671,\n 0,\n 0.81777\n ],\n \"110\": [\n 0,\n 0.43056,\n 0.07671,\n 0,\n 0.56222\n ],\n \"111\": [\n 0,\n 0.43056,\n 0.06312,\n 0,\n 0.51111\n ],\n \"112\": [\n 0.19444,\n 0.43056,\n 0.06312,\n 0,\n 0.51111\n ],\n \"113\": [\n 0.19444,\n 0.43056,\n 0.08847,\n 0,\n 0.46\n ],\n \"114\": [\n 0,\n 0.43056,\n 0.10764,\n 0,\n 0.42166\n ],\n \"115\": [\n 0,\n 0.43056,\n 0.08208,\n 0,\n 0.40889\n ],\n \"116\": [\n 0,\n 0.61508,\n 0.09486,\n 0,\n 0.33222\n ],\n \"117\": [\n 0,\n 0.43056,\n 0.07671,\n 0,\n 0.53666\n ],\n \"118\": [\n 0,\n 0.43056,\n 0.10764,\n 0,\n 0.46\n ],\n \"119\": [\n 0,\n 0.43056,\n 0.10764,\n 0,\n 0.66444\n ],\n \"120\": [\n 0,\n 0.43056,\n 0.12042,\n 0,\n 0.46389\n ],\n \"121\": [\n 0.19444,\n 0.43056,\n 0.08847,\n 0,\n 0.48555\n ],\n \"122\": [\n 0,\n 0.43056,\n 0.12292,\n 0,\n 0.40889\n ],\n \"126\": [\n 0.35,\n 0.31786,\n 0.11585,\n 0,\n 0.51111\n ],\n \"160\": [\n 0,\n 0,\n 0,\n 0,\n 0.25\n ],\n \"168\": [\n 0,\n 0.66786,\n 0.10474,\n 0,\n 0.51111\n ],\n \"176\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.83129\n ],\n \"184\": [\n 0.17014,\n 0,\n 0,\n 0,\n 0.46\n ],\n \"198\": [\n 0,\n 0.68333,\n 0.12028,\n 0,\n 0.88277\n ],\n \"216\": [\n 0.04861,\n 0.73194,\n 0.09403,\n 0,\n 0.76666\n ],\n \"223\": [\n 0.19444,\n 0.69444,\n 0.10514,\n 0,\n 0.53666\n ],\n \"230\": [\n 0,\n 0.43056,\n 0.07514,\n 0,\n 0.71555\n ],\n \"248\": [\n 0.09722,\n 0.52778,\n 0.09194,\n 0,\n 0.51111\n ],\n \"338\": [\n 0,\n 0.68333,\n 0.12028,\n 0,\n 0.98499\n ],\n \"339\": [\n 0,\n 0.43056,\n 0.07514,\n 0,\n 0.71555\n ],\n \"710\": [\n 0,\n 0.69444,\n 0.06646,\n 0,\n 0.51111\n ],\n \"711\": [\n 0,\n 0.62847,\n 0.08295,\n 0,\n 0.51111\n ],\n \"713\": [\n 0,\n 0.56167,\n 0.10333,\n 0,\n 0.51111\n ],\n \"714\": [\n 0,\n 0.69444,\n 0.09694,\n 0,\n 0.51111\n ],\n \"715\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.51111\n ],\n \"728\": [\n 0,\n 0.69444,\n 0.10806,\n 0,\n 0.51111\n ],\n \"729\": [\n 0,\n 0.66786,\n 0.11752,\n 0,\n 0.30667\n ],\n \"730\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.83129\n ],\n \"732\": [\n 0,\n 0.66786,\n 0.11585,\n 0,\n 0.51111\n ],\n \"733\": [\n 0,\n 0.69444,\n 0.1225,\n 0,\n 0.51111\n ],\n \"915\": [\n 0,\n 0.68333,\n 0.13305,\n 0,\n 0.62722\n ],\n \"916\": [\n 0,\n 0.68333,\n 0,\n 0,\n 0.81777\n ],\n \"920\": [\n 0,\n 0.68333,\n 0.09403,\n 0,\n 0.76666\n ],\n \"923\": [\n 0,\n 0.68333,\n 0,\n 0,\n 0.69222\n ],\n \"926\": [\n 0,\n 0.68333,\n 0.15294,\n 0,\n 0.66444\n ],\n \"928\": [\n 0,\n 0.68333,\n 0.16389,\n 0,\n 0.74333\n ],\n \"931\": [\n 0,\n 0.68333,\n 0.12028,\n 0,\n 0.71555\n ],\n \"933\": [\n 0,\n 0.68333,\n 0.11111,\n 0,\n 0.76666\n ],\n \"934\": [\n 0,\n 0.68333,\n 0.05986,\n 0,\n 0.71555\n ],\n \"936\": [\n 0,\n 0.68333,\n 0.11111,\n 0,\n 0.76666\n ],\n \"937\": [\n 0,\n 0.68333,\n 0.10257,\n 0,\n 0.71555\n ],\n \"8211\": [\n 0,\n 0.43056,\n 0.09208,\n 0,\n 0.51111\n ],\n \"8212\": [\n 0,\n 0.43056,\n 0.09208,\n 0,\n 1.02222\n ],\n \"8216\": [\n 0,\n 0.69444,\n 0.12417,\n 0,\n 0.30667\n ],\n \"8217\": [\n 0,\n 0.69444,\n 0.12417,\n 0,\n 0.30667\n ],\n \"8220\": [\n 0,\n 0.69444,\n 0.1685,\n 0,\n 0.51444\n ],\n \"8221\": [\n 0,\n 0.69444,\n 0.06961,\n 0,\n 0.51444\n ],\n \"8463\": [\n 0,\n 0.68889,\n 0,\n 0,\n 0.54028\n ]\n },\n \"Main-Regular\": {\n \"32\": [\n 0,\n 0,\n 0,\n 0,\n 0.25\n ],\n \"33\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.27778\n ],\n \"34\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.5\n ],\n \"35\": [\n 0.19444,\n 0.69444,\n 0,\n 0,\n 0.83334\n ],\n \"36\": [\n 0.05556,\n 0.75,\n 0,\n 0,\n 0.5\n ],\n \"37\": [\n 0.05556,\n 0.75,\n 0,\n 0,\n 0.83334\n ],\n \"38\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.77778\n ],\n \"39\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.27778\n ],\n \"40\": [\n 0.25,\n 0.75,\n 0,\n 0,\n 0.38889\n ],\n \"41\": [\n 0.25,\n 0.75,\n 0,\n 0,\n 0.38889\n ],\n \"42\": [\n 0,\n 0.75,\n 0,\n 0,\n 0.5\n ],\n \"43\": [\n 0.08333,\n 0.58333,\n 0,\n 0,\n 0.77778\n ],\n \"44\": [\n 0.19444,\n 0.10556,\n 0,\n 0,\n 0.27778\n ],\n \"45\": [\n 0,\n 0.43056,\n 0,\n 0,\n 0.33333\n ],\n \"46\": [\n 0,\n 0.10556,\n 0,\n 0,\n 0.27778\n ],\n \"47\": [\n 0.25,\n 0.75,\n 0,\n 0,\n 0.5\n ],\n \"48\": [\n 0,\n 0.64444,\n 0,\n 0,\n 0.5\n ],\n \"49\": [\n 0,\n 0.64444,\n 0,\n 0,\n 0.5\n ],\n \"50\": [\n 0,\n 0.64444,\n 0,\n 0,\n 0.5\n ],\n \"51\": [\n 0,\n 0.64444,\n 0,\n 0,\n 0.5\n ],\n \"52\": [\n 0,\n 0.64444,\n 0,\n 0,\n 0.5\n ],\n \"53\": [\n 0,\n 0.64444,\n 0,\n 0,\n 0.5\n ],\n \"54\": [\n 0,\n 0.64444,\n 0,\n 0,\n 0.5\n ],\n \"55\": [\n 0,\n 0.64444,\n 0,\n 0,\n 0.5\n ],\n \"56\": [\n 0,\n 0.64444,\n 0,\n 0,\n 0.5\n ],\n \"57\": [\n 0,\n 0.64444,\n 0,\n 0,\n 0.5\n ],\n \"58\": [\n 0,\n 0.43056,\n 0,\n 0,\n 0.27778\n ],\n \"59\": [\n 0.19444,\n 0.43056,\n 0,\n 0,\n 0.27778\n ],\n \"60\": [\n 0.0391,\n 0.5391,\n 0,\n 0,\n 0.77778\n ],\n \"61\": [\n -0.13313,\n 0.36687,\n 0,\n 0,\n 0.77778\n ],\n \"62\": [\n 0.0391,\n 0.5391,\n 0,\n 0,\n 0.77778\n ],\n \"63\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.47222\n ],\n \"64\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.77778\n ],\n \"65\": [\n 0,\n 0.68333,\n 0,\n 0,\n 0.75\n ],\n \"66\": [\n 0,\n 0.68333,\n 0,\n 0,\n 0.70834\n ],\n \"67\": [\n 0,\n 0.68333,\n 0,\n 0,\n 0.72222\n ],\n \"68\": [\n 0,\n 0.68333,\n 0,\n 0,\n 0.76389\n ],\n \"69\": [\n 0,\n 0.68333,\n 0,\n 0,\n 0.68056\n ],\n \"70\": [\n 0,\n 0.68333,\n 0,\n 0,\n 0.65278\n ],\n \"71\": [\n 0,\n 0.68333,\n 0,\n 0,\n 0.78472\n ],\n \"72\": [\n 0,\n 0.68333,\n 0,\n 0,\n 0.75\n ],\n \"73\": [\n 0,\n 0.68333,\n 0,\n 0,\n 0.36111\n ],\n \"74\": [\n 0,\n 0.68333,\n 0,\n 0,\n 0.51389\n ],\n \"75\": [\n 0,\n 0.68333,\n 0,\n 0,\n 0.77778\n ],\n \"76\": [\n 0,\n 0.68333,\n 0,\n 0,\n 0.625\n ],\n \"77\": [\n 0,\n 0.68333,\n 0,\n 0,\n 0.91667\n ],\n \"78\": [\n 0,\n 0.68333,\n 0,\n 0,\n 0.75\n ],\n \"79\": [\n 0,\n 0.68333,\n 0,\n 0,\n 0.77778\n ],\n \"80\": [\n 0,\n 0.68333,\n 0,\n 0,\n 0.68056\n ],\n \"81\": [\n 0.19444,\n 0.68333,\n 0,\n 0,\n 0.77778\n ],\n \"82\": [\n 0,\n 0.68333,\n 0,\n 0,\n 0.73611\n ],\n \"83\": [\n 0,\n 0.68333,\n 0,\n 0,\n 0.55556\n ],\n \"84\": [\n 0,\n 0.68333,\n 0,\n 0,\n 0.72222\n ],\n \"85\": [\n 0,\n 0.68333,\n 0,\n 0,\n 0.75\n ],\n \"86\": [\n 0,\n 0.68333,\n 0.01389,\n 0,\n 0.75\n ],\n \"87\": [\n 0,\n 0.68333,\n 0.01389,\n 0,\n 1.02778\n ],\n \"88\": [\n 0,\n 0.68333,\n 0,\n 0,\n 0.75\n ],\n \"89\": [\n 0,\n 0.68333,\n 0.025,\n 0,\n 0.75\n ],\n \"90\": [\n 0,\n 0.68333,\n 0,\n 0,\n 0.61111\n ],\n \"91\": [\n 0.25,\n 0.75,\n 0,\n 0,\n 0.27778\n ],\n \"92\": [\n 0.25,\n 0.75,\n 0,\n 0,\n 0.5\n ],\n \"93\": [\n 0.25,\n 0.75,\n 0,\n 0,\n 0.27778\n ],\n \"94\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.5\n ],\n \"95\": [\n 0.31,\n 0.12056,\n 0.02778,\n 0,\n 0.5\n ],\n \"97\": [\n 0,\n 0.43056,\n 0,\n 0,\n 0.5\n ],\n \"98\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.55556\n ],\n \"99\": [\n 0,\n 0.43056,\n 0,\n 0,\n 0.44445\n ],\n \"100\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.55556\n ],\n \"101\": [\n 0,\n 0.43056,\n 0,\n 0,\n 0.44445\n ],\n \"102\": [\n 0,\n 0.69444,\n 0.07778,\n 0,\n 0.30556\n ],\n \"103\": [\n 0.19444,\n 0.43056,\n 0.01389,\n 0,\n 0.5\n ],\n \"104\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.55556\n ],\n \"105\": [\n 0,\n 0.66786,\n 0,\n 0,\n 0.27778\n ],\n \"106\": [\n 0.19444,\n 0.66786,\n 0,\n 0,\n 0.30556\n ],\n \"107\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.52778\n ],\n \"108\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.27778\n ],\n \"109\": [\n 0,\n 0.43056,\n 0,\n 0,\n 0.83334\n ],\n \"110\": [\n 0,\n 0.43056,\n 0,\n 0,\n 0.55556\n ],\n \"111\": [\n 0,\n 0.43056,\n 0,\n 0,\n 0.5\n ],\n \"112\": [\n 0.19444,\n 0.43056,\n 0,\n 0,\n 0.55556\n ],\n \"113\": [\n 0.19444,\n 0.43056,\n 0,\n 0,\n 0.52778\n ],\n \"114\": [\n 0,\n 0.43056,\n 0,\n 0,\n 0.39167\n ],\n \"115\": [\n 0,\n 0.43056,\n 0,\n 0,\n 0.39445\n ],\n \"116\": [\n 0,\n 0.61508,\n 0,\n 0,\n 0.38889\n ],\n \"117\": [\n 0,\n 0.43056,\n 0,\n 0,\n 0.55556\n ],\n \"118\": [\n 0,\n 0.43056,\n 0.01389,\n 0,\n 0.52778\n ],\n \"119\": [\n 0,\n 0.43056,\n 0.01389,\n 0,\n 0.72222\n ],\n \"120\": [\n 0,\n 0.43056,\n 0,\n 0,\n 0.52778\n ],\n \"121\": [\n 0.19444,\n 0.43056,\n 0.01389,\n 0,\n 0.52778\n ],\n \"122\": [\n 0,\n 0.43056,\n 0,\n 0,\n 0.44445\n ],\n \"123\": [\n 0.25,\n 0.75,\n 0,\n 0,\n 0.5\n ],\n \"124\": [\n 0.25,\n 0.75,\n 0,\n 0,\n 0.27778\n ],\n \"125\": [\n 0.25,\n 0.75,\n 0,\n 0,\n 0.5\n ],\n \"126\": [\n 0.35,\n 0.31786,\n 0,\n 0,\n 0.5\n ],\n \"160\": [\n 0,\n 0,\n 0,\n 0,\n 0.25\n ],\n \"163\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.76909\n ],\n \"167\": [\n 0.19444,\n 0.69444,\n 0,\n 0,\n 0.44445\n ],\n \"168\": [\n 0,\n 0.66786,\n 0,\n 0,\n 0.5\n ],\n \"172\": [\n 0,\n 0.43056,\n 0,\n 0,\n 0.66667\n ],\n \"176\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.75\n ],\n \"177\": [\n 0.08333,\n 0.58333,\n 0,\n 0,\n 0.77778\n ],\n \"182\": [\n 0.19444,\n 0.69444,\n 0,\n 0,\n 0.61111\n ],\n \"184\": [\n 0.17014,\n 0,\n 0,\n 0,\n 0.44445\n ],\n \"198\": [\n 0,\n 0.68333,\n 0,\n 0,\n 0.90278\n ],\n \"215\": [\n 0.08333,\n 0.58333,\n 0,\n 0,\n 0.77778\n ],\n \"216\": [\n 0.04861,\n 0.73194,\n 0,\n 0,\n 0.77778\n ],\n \"223\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.5\n ],\n \"230\": [\n 0,\n 0.43056,\n 0,\n 0,\n 0.72222\n ],\n \"247\": [\n 0.08333,\n 0.58333,\n 0,\n 0,\n 0.77778\n ],\n \"248\": [\n 0.09722,\n 0.52778,\n 0,\n 0,\n 0.5\n ],\n \"305\": [\n 0,\n 0.43056,\n 0,\n 0,\n 0.27778\n ],\n \"338\": [\n 0,\n 0.68333,\n 0,\n 0,\n 1.01389\n ],\n \"339\": [\n 0,\n 0.43056,\n 0,\n 0,\n 0.77778\n ],\n \"567\": [\n 0.19444,\n 0.43056,\n 0,\n 0,\n 0.30556\n ],\n \"710\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.5\n ],\n \"711\": [\n 0,\n 0.62847,\n 0,\n 0,\n 0.5\n ],\n \"713\": [\n 0,\n 0.56778,\n 0,\n 0,\n 0.5\n ],\n \"714\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.5\n ],\n \"715\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.5\n ],\n \"728\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.5\n ],\n \"729\": [\n 0,\n 0.66786,\n 0,\n 0,\n 0.27778\n ],\n \"730\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.75\n ],\n \"732\": [\n 0,\n 0.66786,\n 0,\n 0,\n 0.5\n ],\n \"733\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.5\n ],\n \"915\": [\n 0,\n 0.68333,\n 0,\n 0,\n 0.625\n ],\n \"916\": [\n 0,\n 0.68333,\n 0,\n 0,\n 0.83334\n ],\n \"920\": [\n 0,\n 0.68333,\n 0,\n 0,\n 0.77778\n ],\n \"923\": [\n 0,\n 0.68333,\n 0,\n 0,\n 0.69445\n ],\n \"926\": [\n 0,\n 0.68333,\n 0,\n 0,\n 0.66667\n ],\n \"928\": [\n 0,\n 0.68333,\n 0,\n 0,\n 0.75\n ],\n \"931\": [\n 0,\n 0.68333,\n 0,\n 0,\n 0.72222\n ],\n \"933\": [\n 0,\n 0.68333,\n 0,\n 0,\n 0.77778\n ],\n \"934\": [\n 0,\n 0.68333,\n 0,\n 0,\n 0.72222\n ],\n \"936\": [\n 0,\n 0.68333,\n 0,\n 0,\n 0.77778\n ],\n \"937\": [\n 0,\n 0.68333,\n 0,\n 0,\n 0.72222\n ],\n \"8211\": [\n 0,\n 0.43056,\n 0.02778,\n 0,\n 0.5\n ],\n \"8212\": [\n 0,\n 0.43056,\n 0.02778,\n 0,\n 1.0\n ],\n \"8216\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.27778\n ],\n \"8217\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.27778\n ],\n \"8220\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.5\n ],\n \"8221\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.5\n ],\n \"8224\": [\n 0.19444,\n 0.69444,\n 0,\n 0,\n 0.44445\n ],\n \"8225\": [\n 0.19444,\n 0.69444,\n 0,\n 0,\n 0.44445\n ],\n \"8230\": [\n 0,\n 0.123,\n 0,\n 0,\n 1.172\n ],\n \"8242\": [\n 0,\n 0.55556,\n 0,\n 0,\n 0.275\n ],\n \"8407\": [\n 0,\n 0.71444,\n 0.15382,\n 0,\n 0.5\n ],\n \"8463\": [\n 0,\n 0.68889,\n 0,\n 0,\n 0.54028\n ],\n \"8465\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.72222\n ],\n \"8467\": [\n 0,\n 0.69444,\n 0,\n 0.11111,\n 0.41667\n ],\n \"8472\": [\n 0.19444,\n 0.43056,\n 0,\n 0.11111,\n 0.63646\n ],\n \"8476\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.72222\n ],\n \"8501\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.61111\n ],\n \"8592\": [\n -0.13313,\n 0.36687,\n 0,\n 0,\n 1.0\n ],\n \"8593\": [\n 0.19444,\n 0.69444,\n 0,\n 0,\n 0.5\n ],\n \"8594\": [\n -0.13313,\n 0.36687,\n 0,\n 0,\n 1.0\n ],\n \"8595\": [\n 0.19444,\n 0.69444,\n 0,\n 0,\n 0.5\n ],\n \"8596\": [\n -0.13313,\n 0.36687,\n 0,\n 0,\n 1.0\n ],\n \"8597\": [\n 0.25,\n 0.75,\n 0,\n 0,\n 0.5\n ],\n \"8598\": [\n 0.19444,\n 0.69444,\n 0,\n 0,\n 1.0\n ],\n \"8599\": [\n 0.19444,\n 0.69444,\n 0,\n 0,\n 1.0\n ],\n \"8600\": [\n 0.19444,\n 0.69444,\n 0,\n 0,\n 1.0\n ],\n \"8601\": [\n 0.19444,\n 0.69444,\n 0,\n 0,\n 1.0\n ],\n \"8614\": [\n 0.011,\n 0.511,\n 0,\n 0,\n 1.0\n ],\n \"8617\": [\n 0.011,\n 0.511,\n 0,\n 0,\n 1.126\n ],\n \"8618\": [\n 0.011,\n 0.511,\n 0,\n 0,\n 1.126\n ],\n \"8636\": [\n -0.13313,\n 0.36687,\n 0,\n 0,\n 1.0\n ],\n \"8637\": [\n -0.13313,\n 0.36687,\n 0,\n 0,\n 1.0\n ],\n \"8640\": [\n -0.13313,\n 0.36687,\n 0,\n 0,\n 1.0\n ],\n \"8641\": [\n -0.13313,\n 0.36687,\n 0,\n 0,\n 1.0\n ],\n \"8652\": [\n 0.011,\n 0.671,\n 0,\n 0,\n 1.0\n ],\n \"8656\": [\n -0.13313,\n 0.36687,\n 0,\n 0,\n 1.0\n ],\n \"8657\": [\n 0.19444,\n 0.69444,\n 0,\n 0,\n 0.61111\n ],\n \"8658\": [\n -0.13313,\n 0.36687,\n 0,\n 0,\n 1.0\n ],\n \"8659\": [\n 0.19444,\n 0.69444,\n 0,\n 0,\n 0.61111\n ],\n \"8660\": [\n -0.13313,\n 0.36687,\n 0,\n 0,\n 1.0\n ],\n \"8661\": [\n 0.25,\n 0.75,\n 0,\n 0,\n 0.61111\n ],\n \"8704\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.55556\n ],\n \"8706\": [\n 0,\n 0.69444,\n 0.05556,\n 0.08334,\n 0.5309\n ],\n \"8707\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.55556\n ],\n \"8709\": [\n 0.05556,\n 0.75,\n 0,\n 0,\n 0.5\n ],\n \"8711\": [\n 0,\n 0.68333,\n 0,\n 0,\n 0.83334\n ],\n \"8712\": [\n 0.0391,\n 0.5391,\n 0,\n 0,\n 0.66667\n ],\n \"8715\": [\n 0.0391,\n 0.5391,\n 0,\n 0,\n 0.66667\n ],\n \"8722\": [\n 0.08333,\n 0.58333,\n 0,\n 0,\n 0.77778\n ],\n \"8723\": [\n 0.08333,\n 0.58333,\n 0,\n 0,\n 0.77778\n ],\n \"8725\": [\n 0.25,\n 0.75,\n 0,\n 0,\n 0.5\n ],\n \"8726\": [\n 0.25,\n 0.75,\n 0,\n 0,\n 0.5\n ],\n \"8727\": [\n -0.03472,\n 0.46528,\n 0,\n 0,\n 0.5\n ],\n \"8728\": [\n -0.05555,\n 0.44445,\n 0,\n 0,\n 0.5\n ],\n \"8729\": [\n -0.05555,\n 0.44445,\n 0,\n 0,\n 0.5\n ],\n \"8730\": [\n 0.2,\n 0.8,\n 0,\n 0,\n 0.83334\n ],\n \"8733\": [\n 0,\n 0.43056,\n 0,\n 0,\n 0.77778\n ],\n \"8734\": [\n 0,\n 0.43056,\n 0,\n 0,\n 1.0\n ],\n \"8736\": [\n 0,\n 0.69224,\n 0,\n 0,\n 0.72222\n ],\n \"8739\": [\n 0.25,\n 0.75,\n 0,\n 0,\n 0.27778\n ],\n \"8741\": [\n 0.25,\n 0.75,\n 0,\n 0,\n 0.5\n ],\n \"8743\": [\n 0,\n 0.55556,\n 0,\n 0,\n 0.66667\n ],\n \"8744\": [\n 0,\n 0.55556,\n 0,\n 0,\n 0.66667\n ],\n \"8745\": [\n 0,\n 0.55556,\n 0,\n 0,\n 0.66667\n ],\n \"8746\": [\n 0,\n 0.55556,\n 0,\n 0,\n 0.66667\n ],\n \"8747\": [\n 0.19444,\n 0.69444,\n 0.11111,\n 0,\n 0.41667\n ],\n \"8764\": [\n -0.13313,\n 0.36687,\n 0,\n 0,\n 0.77778\n ],\n \"8768\": [\n 0.19444,\n 0.69444,\n 0,\n 0,\n 0.27778\n ],\n \"8771\": [\n -0.03625,\n 0.46375,\n 0,\n 0,\n 0.77778\n ],\n \"8773\": [\n -0.022,\n 0.589,\n 0,\n 0,\n 0.778\n ],\n \"8776\": [\n -0.01688,\n 0.48312,\n 0,\n 0,\n 0.77778\n ],\n \"8781\": [\n -0.03625,\n 0.46375,\n 0,\n 0,\n 0.77778\n ],\n \"8784\": [\n -0.133,\n 0.673,\n 0,\n 0,\n 0.778\n ],\n \"8801\": [\n -0.03625,\n 0.46375,\n 0,\n 0,\n 0.77778\n ],\n \"8804\": [\n 0.13597,\n 0.63597,\n 0,\n 0,\n 0.77778\n ],\n \"8805\": [\n 0.13597,\n 0.63597,\n 0,\n 0,\n 0.77778\n ],\n \"8810\": [\n 0.0391,\n 0.5391,\n 0,\n 0,\n 1.0\n ],\n \"8811\": [\n 0.0391,\n 0.5391,\n 0,\n 0,\n 1.0\n ],\n \"8826\": [\n 0.0391,\n 0.5391,\n 0,\n 0,\n 0.77778\n ],\n \"8827\": [\n 0.0391,\n 0.5391,\n 0,\n 0,\n 0.77778\n ],\n \"8834\": [\n 0.0391,\n 0.5391,\n 0,\n 0,\n 0.77778\n ],\n \"8835\": [\n 0.0391,\n 0.5391,\n 0,\n 0,\n 0.77778\n ],\n \"8838\": [\n 0.13597,\n 0.63597,\n 0,\n 0,\n 0.77778\n ],\n \"8839\": [\n 0.13597,\n 0.63597,\n 0,\n 0,\n 0.77778\n ],\n \"8846\": [\n 0,\n 0.55556,\n 0,\n 0,\n 0.66667\n ],\n \"8849\": [\n 0.13597,\n 0.63597,\n 0,\n 0,\n 0.77778\n ],\n \"8850\": [\n 0.13597,\n 0.63597,\n 0,\n 0,\n 0.77778\n ],\n \"8851\": [\n 0,\n 0.55556,\n 0,\n 0,\n 0.66667\n ],\n \"8852\": [\n 0,\n 0.55556,\n 0,\n 0,\n 0.66667\n ],\n \"8853\": [\n 0.08333,\n 0.58333,\n 0,\n 0,\n 0.77778\n ],\n \"8854\": [\n 0.08333,\n 0.58333,\n 0,\n 0,\n 0.77778\n ],\n \"8855\": [\n 0.08333,\n 0.58333,\n 0,\n 0,\n 0.77778\n ],\n \"8856\": [\n 0.08333,\n 0.58333,\n 0,\n 0,\n 0.77778\n ],\n \"8857\": [\n 0.08333,\n 0.58333,\n 0,\n 0,\n 0.77778\n ],\n \"8866\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.61111\n ],\n \"8867\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.61111\n ],\n \"8868\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.77778\n ],\n \"8869\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.77778\n ],\n \"8872\": [\n 0.249,\n 0.75,\n 0,\n 0,\n 0.867\n ],\n \"8900\": [\n -0.05555,\n 0.44445,\n 0,\n 0,\n 0.5\n ],\n \"8901\": [\n -0.05555,\n 0.44445,\n 0,\n 0,\n 0.27778\n ],\n \"8902\": [\n -0.03472,\n 0.46528,\n 0,\n 0,\n 0.5\n ],\n \"8904\": [\n 0.005,\n 0.505,\n 0,\n 0,\n 0.9\n ],\n \"8942\": [\n 0.03,\n 0.903,\n 0,\n 0,\n 0.278\n ],\n \"8943\": [\n -0.19,\n 0.313,\n 0,\n 0,\n 1.172\n ],\n \"8945\": [\n -0.1,\n 0.823,\n 0,\n 0,\n 1.282\n ],\n \"8968\": [\n 0.25,\n 0.75,\n 0,\n 0,\n 0.44445\n ],\n \"8969\": [\n 0.25,\n 0.75,\n 0,\n 0,\n 0.44445\n ],\n \"8970\": [\n 0.25,\n 0.75,\n 0,\n 0,\n 0.44445\n ],\n \"8971\": [\n 0.25,\n 0.75,\n 0,\n 0,\n 0.44445\n ],\n \"8994\": [\n -0.14236,\n 0.35764,\n 0,\n 0,\n 1.0\n ],\n \"8995\": [\n -0.14236,\n 0.35764,\n 0,\n 0,\n 1.0\n ],\n \"9136\": [\n 0.244,\n 0.744,\n 0,\n 0,\n 0.412\n ],\n \"9137\": [\n 0.244,\n 0.745,\n 0,\n 0,\n 0.412\n ],\n \"9651\": [\n 0.19444,\n 0.69444,\n 0,\n 0,\n 0.88889\n ],\n \"9657\": [\n -0.03472,\n 0.46528,\n 0,\n 0,\n 0.5\n ],\n \"9661\": [\n 0.19444,\n 0.69444,\n 0,\n 0,\n 0.88889\n ],\n \"9667\": [\n -0.03472,\n 0.46528,\n 0,\n 0,\n 0.5\n ],\n \"9711\": [\n 0.19444,\n 0.69444,\n 0,\n 0,\n 1.0\n ],\n \"9824\": [\n 0.12963,\n 0.69444,\n 0,\n 0,\n 0.77778\n ],\n \"9825\": [\n 0.12963,\n 0.69444,\n 0,\n 0,\n 0.77778\n ],\n \"9826\": [\n 0.12963,\n 0.69444,\n 0,\n 0,\n 0.77778\n ],\n \"9827\": [\n 0.12963,\n 0.69444,\n 0,\n 0,\n 0.77778\n ],\n \"9837\": [\n 0,\n 0.75,\n 0,\n 0,\n 0.38889\n ],\n \"9838\": [\n 0.19444,\n 0.69444,\n 0,\n 0,\n 0.38889\n ],\n \"9839\": [\n 0.19444,\n 0.69444,\n 0,\n 0,\n 0.38889\n ],\n \"10216\": [\n 0.25,\n 0.75,\n 0,\n 0,\n 0.38889\n ],\n \"10217\": [\n 0.25,\n 0.75,\n 0,\n 0,\n 0.38889\n ],\n \"10222\": [\n 0.244,\n 0.744,\n 0,\n 0,\n 0.412\n ],\n \"10223\": [\n 0.244,\n 0.745,\n 0,\n 0,\n 0.412\n ],\n \"10229\": [\n 0.011,\n 0.511,\n 0,\n 0,\n 1.609\n ],\n \"10230\": [\n 0.011,\n 0.511,\n 0,\n 0,\n 1.638\n ],\n \"10231\": [\n 0.011,\n 0.511,\n 0,\n 0,\n 1.859\n ],\n \"10232\": [\n 0.024,\n 0.525,\n 0,\n 0,\n 1.609\n ],\n \"10233\": [\n 0.024,\n 0.525,\n 0,\n 0,\n 1.638\n ],\n \"10234\": [\n 0.024,\n 0.525,\n 0,\n 0,\n 1.858\n ],\n \"10236\": [\n 0.011,\n 0.511,\n 0,\n 0,\n 1.638\n ],\n \"10815\": [\n 0,\n 0.68333,\n 0,\n 0,\n 0.75\n ],\n \"10927\": [\n 0.13597,\n 0.63597,\n 0,\n 0,\n 0.77778\n ],\n \"10928\": [\n 0.13597,\n 0.63597,\n 0,\n 0,\n 0.77778\n ],\n \"57376\": [\n 0.19444,\n 0.69444,\n 0,\n 0,\n 0\n ]\n },\n \"Math-BoldItalic\": {\n \"32\": [\n 0,\n 0,\n 0,\n 0,\n 0.25\n ],\n \"48\": [\n 0,\n 0.44444,\n 0,\n 0,\n 0.575\n ],\n \"49\": [\n 0,\n 0.44444,\n 0,\n 0,\n 0.575\n ],\n \"50\": [\n 0,\n 0.44444,\n 0,\n 0,\n 0.575\n ],\n \"51\": [\n 0.19444,\n 0.44444,\n 0,\n 0,\n 0.575\n ],\n \"52\": [\n 0.19444,\n 0.44444,\n 0,\n 0,\n 0.575\n ],\n \"53\": [\n 0.19444,\n 0.44444,\n 0,\n 0,\n 0.575\n ],\n \"54\": [\n 0,\n 0.64444,\n 0,\n 0,\n 0.575\n ],\n \"55\": [\n 0.19444,\n 0.44444,\n 0,\n 0,\n 0.575\n ],\n \"56\": [\n 0,\n 0.64444,\n 0,\n 0,\n 0.575\n ],\n \"57\": [\n 0.19444,\n 0.44444,\n 0,\n 0,\n 0.575\n ],\n \"65\": [\n 0,\n 0.68611,\n 0,\n 0,\n 0.86944\n ],\n \"66\": [\n 0,\n 0.68611,\n 0.04835,\n 0,\n 0.8664\n ],\n \"67\": [\n 0,\n 0.68611,\n 0.06979,\n 0,\n 0.81694\n ],\n \"68\": [\n 0,\n 0.68611,\n 0.03194,\n 0,\n 0.93812\n ],\n \"69\": [\n 0,\n 0.68611,\n 0.05451,\n 0,\n 0.81007\n ],\n \"70\": [\n 0,\n 0.68611,\n 0.15972,\n 0,\n 0.68889\n ],\n \"71\": [\n 0,\n 0.68611,\n 0,\n 0,\n 0.88673\n ],\n \"72\": [\n 0,\n 0.68611,\n 0.08229,\n 0,\n 0.98229\n ],\n \"73\": [\n 0,\n 0.68611,\n 0.07778,\n 0,\n 0.51111\n ],\n \"74\": [\n 0,\n 0.68611,\n 0.10069,\n 0,\n 0.63125\n ],\n \"75\": [\n 0,\n 0.68611,\n 0.06979,\n 0,\n 0.97118\n ],\n \"76\": [\n 0,\n 0.68611,\n 0,\n 0,\n 0.75555\n ],\n \"77\": [\n 0,\n 0.68611,\n 0.11424,\n 0,\n 1.14201\n ],\n \"78\": [\n 0,\n 0.68611,\n 0.11424,\n 0,\n 0.95034\n ],\n \"79\": [\n 0,\n 0.68611,\n 0.03194,\n 0,\n 0.83666\n ],\n \"80\": [\n 0,\n 0.68611,\n 0.15972,\n 0,\n 0.72309\n ],\n \"81\": [\n 0.19444,\n 0.68611,\n 0,\n 0,\n 0.86861\n ],\n \"82\": [\n 0,\n 0.68611,\n 0.00421,\n 0,\n 0.87235\n ],\n \"83\": [\n 0,\n 0.68611,\n 0.05382,\n 0,\n 0.69271\n ],\n \"84\": [\n 0,\n 0.68611,\n 0.15972,\n 0,\n 0.63663\n ],\n \"85\": [\n 0,\n 0.68611,\n 0.11424,\n 0,\n 0.80027\n ],\n \"86\": [\n 0,\n 0.68611,\n 0.25555,\n 0,\n 0.67778\n ],\n \"87\": [\n 0,\n 0.68611,\n 0.15972,\n 0,\n 1.09305\n ],\n \"88\": [\n 0,\n 0.68611,\n 0.07778,\n 0,\n 0.94722\n ],\n \"89\": [\n 0,\n 0.68611,\n 0.25555,\n 0,\n 0.67458\n ],\n \"90\": [\n 0,\n 0.68611,\n 0.06979,\n 0,\n 0.77257\n ],\n \"97\": [\n 0,\n 0.44444,\n 0,\n 0,\n 0.63287\n ],\n \"98\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.52083\n ],\n \"99\": [\n 0,\n 0.44444,\n 0,\n 0,\n 0.51342\n ],\n \"100\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.60972\n ],\n \"101\": [\n 0,\n 0.44444,\n 0,\n 0,\n 0.55361\n ],\n \"102\": [\n 0.19444,\n 0.69444,\n 0.11042,\n 0,\n 0.56806\n ],\n \"103\": [\n 0.19444,\n 0.44444,\n 0.03704,\n 0,\n 0.5449\n ],\n \"104\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.66759\n ],\n \"105\": [\n 0,\n 0.69326,\n 0,\n 0,\n 0.4048\n ],\n \"106\": [\n 0.19444,\n 0.69326,\n 0.0622,\n 0,\n 0.47083\n ],\n \"107\": [\n 0,\n 0.69444,\n 0.01852,\n 0,\n 0.6037\n ],\n \"108\": [\n 0,\n 0.69444,\n 0.0088,\n 0,\n 0.34815\n ],\n \"109\": [\n 0,\n 0.44444,\n 0,\n 0,\n 1.0324\n ],\n \"110\": [\n 0,\n 0.44444,\n 0,\n 0,\n 0.71296\n ],\n \"111\": [\n 0,\n 0.44444,\n 0,\n 0,\n 0.58472\n ],\n \"112\": [\n 0.19444,\n 0.44444,\n 0,\n 0,\n 0.60092\n ],\n \"113\": [\n 0.19444,\n 0.44444,\n 0.03704,\n 0,\n 0.54213\n ],\n \"114\": [\n 0,\n 0.44444,\n 0.03194,\n 0,\n 0.5287\n ],\n \"115\": [\n 0,\n 0.44444,\n 0,\n 0,\n 0.53125\n ],\n \"116\": [\n 0,\n 0.63492,\n 0,\n 0,\n 0.41528\n ],\n \"117\": [\n 0,\n 0.44444,\n 0,\n 0,\n 0.68102\n ],\n \"118\": [\n 0,\n 0.44444,\n 0.03704,\n 0,\n 0.56666\n ],\n \"119\": [\n 0,\n 0.44444,\n 0.02778,\n 0,\n 0.83148\n ],\n \"120\": [\n 0,\n 0.44444,\n 0,\n 0,\n 0.65903\n ],\n \"121\": [\n 0.19444,\n 0.44444,\n 0.03704,\n 0,\n 0.59028\n ],\n \"122\": [\n 0,\n 0.44444,\n 0.04213,\n 0,\n 0.55509\n ],\n \"160\": [\n 0,\n 0,\n 0,\n 0,\n 0.25\n ],\n \"915\": [\n 0,\n 0.68611,\n 0.15972,\n 0,\n 0.65694\n ],\n \"916\": [\n 0,\n 0.68611,\n 0,\n 0,\n 0.95833\n ],\n \"920\": [\n 0,\n 0.68611,\n 0.03194,\n 0,\n 0.86722\n ],\n \"923\": [\n 0,\n 0.68611,\n 0,\n 0,\n 0.80555\n ],\n \"926\": [\n 0,\n 0.68611,\n 0.07458,\n 0,\n 0.84125\n ],\n \"928\": [\n 0,\n 0.68611,\n 0.08229,\n 0,\n 0.98229\n ],\n \"931\": [\n 0,\n 0.68611,\n 0.05451,\n 0,\n 0.88507\n ],\n \"933\": [\n 0,\n 0.68611,\n 0.15972,\n 0,\n 0.67083\n ],\n \"934\": [\n 0,\n 0.68611,\n 0,\n 0,\n 0.76666\n ],\n \"936\": [\n 0,\n 0.68611,\n 0.11653,\n 0,\n 0.71402\n ],\n \"937\": [\n 0,\n 0.68611,\n 0.04835,\n 0,\n 0.8789\n ],\n \"945\": [\n 0,\n 0.44444,\n 0,\n 0,\n 0.76064\n ],\n \"946\": [\n 0.19444,\n 0.69444,\n 0.03403,\n 0,\n 0.65972\n ],\n \"947\": [\n 0.19444,\n 0.44444,\n 0.06389,\n 0,\n 0.59003\n ],\n \"948\": [\n 0,\n 0.69444,\n 0.03819,\n 0,\n 0.52222\n ],\n \"949\": [\n 0,\n 0.44444,\n 0,\n 0,\n 0.52882\n ],\n \"950\": [\n 0.19444,\n 0.69444,\n 0.06215,\n 0,\n 0.50833\n ],\n \"951\": [\n 0.19444,\n 0.44444,\n 0.03704,\n 0,\n 0.6\n ],\n \"952\": [\n 0,\n 0.69444,\n 0.03194,\n 0,\n 0.5618\n ],\n \"953\": [\n 0,\n 0.44444,\n 0,\n 0,\n 0.41204\n ],\n \"954\": [\n 0,\n 0.44444,\n 0,\n 0,\n 0.66759\n ],\n \"955\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.67083\n ],\n \"956\": [\n 0.19444,\n 0.44444,\n 0,\n 0,\n 0.70787\n ],\n \"957\": [\n 0,\n 0.44444,\n 0.06898,\n 0,\n 0.57685\n ],\n \"958\": [\n 0.19444,\n 0.69444,\n 0.03021,\n 0,\n 0.50833\n ],\n \"959\": [\n 0,\n 0.44444,\n 0,\n 0,\n 0.58472\n ],\n \"960\": [\n 0,\n 0.44444,\n 0.03704,\n 0,\n 0.68241\n ],\n \"961\": [\n 0.19444,\n 0.44444,\n 0,\n 0,\n 0.6118\n ],\n \"962\": [\n 0.09722,\n 0.44444,\n 0.07917,\n 0,\n 0.42361\n ],\n \"963\": [\n 0,\n 0.44444,\n 0.03704,\n 0,\n 0.68588\n ],\n \"964\": [\n 0,\n 0.44444,\n 0.13472,\n 0,\n 0.52083\n ],\n \"965\": [\n 0,\n 0.44444,\n 0.03704,\n 0,\n 0.63055\n ],\n \"966\": [\n 0.19444,\n 0.44444,\n 0,\n 0,\n 0.74722\n ],\n \"967\": [\n 0.19444,\n 0.44444,\n 0,\n 0,\n 0.71805\n ],\n \"968\": [\n 0.19444,\n 0.69444,\n 0.03704,\n 0,\n 0.75833\n ],\n \"969\": [\n 0,\n 0.44444,\n 0.03704,\n 0,\n 0.71782\n ],\n \"977\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.69155\n ],\n \"981\": [\n 0.19444,\n 0.69444,\n 0,\n 0,\n 0.7125\n ],\n \"982\": [\n 0,\n 0.44444,\n 0.03194,\n 0,\n 0.975\n ],\n \"1009\": [\n 0.19444,\n 0.44444,\n 0,\n 0,\n 0.6118\n ],\n \"1013\": [\n 0,\n 0.44444,\n 0,\n 0,\n 0.48333\n ],\n \"57649\": [\n 0,\n 0.44444,\n 0,\n 0,\n 0.39352\n ],\n \"57911\": [\n 0.19444,\n 0.44444,\n 0,\n 0,\n 0.43889\n ]\n },\n \"Math-Italic\": {\n \"32\": [\n 0,\n 0,\n 0,\n 0,\n 0.25\n ],\n \"48\": [\n 0,\n 0.43056,\n 0,\n 0,\n 0.5\n ],\n \"49\": [\n 0,\n 0.43056,\n 0,\n 0,\n 0.5\n ],\n \"50\": [\n 0,\n 0.43056,\n 0,\n 0,\n 0.5\n ],\n \"51\": [\n 0.19444,\n 0.43056,\n 0,\n 0,\n 0.5\n ],\n \"52\": [\n 0.19444,\n 0.43056,\n 0,\n 0,\n 0.5\n ],\n \"53\": [\n 0.19444,\n 0.43056,\n 0,\n 0,\n 0.5\n ],\n \"54\": [\n 0,\n 0.64444,\n 0,\n 0,\n 0.5\n ],\n \"55\": [\n 0.19444,\n 0.43056,\n 0,\n 0,\n 0.5\n ],\n \"56\": [\n 0,\n 0.64444,\n 0,\n 0,\n 0.5\n ],\n \"57\": [\n 0.19444,\n 0.43056,\n 0,\n 0,\n 0.5\n ],\n \"65\": [\n 0,\n 0.68333,\n 0,\n 0.13889,\n 0.75\n ],\n \"66\": [\n 0,\n 0.68333,\n 0.05017,\n 0.08334,\n 0.75851\n ],\n \"67\": [\n 0,\n 0.68333,\n 0.07153,\n 0.08334,\n 0.71472\n ],\n \"68\": [\n 0,\n 0.68333,\n 0.02778,\n 0.05556,\n 0.82792\n ],\n \"69\": [\n 0,\n 0.68333,\n 0.05764,\n 0.08334,\n 0.7382\n ],\n \"70\": [\n 0,\n 0.68333,\n 0.13889,\n 0.08334,\n 0.64306\n ],\n \"71\": [\n 0,\n 0.68333,\n 0,\n 0.08334,\n 0.78625\n ],\n \"72\": [\n 0,\n 0.68333,\n 0.08125,\n 0.05556,\n 0.83125\n ],\n \"73\": [\n 0,\n 0.68333,\n 0.07847,\n 0.11111,\n 0.43958\n ],\n \"74\": [\n 0,\n 0.68333,\n 0.09618,\n 0.16667,\n 0.55451\n ],\n \"75\": [\n 0,\n 0.68333,\n 0.07153,\n 0.05556,\n 0.84931\n ],\n \"76\": [\n 0,\n 0.68333,\n 0,\n 0.02778,\n 0.68056\n ],\n \"77\": [\n 0,\n 0.68333,\n 0.10903,\n 0.08334,\n 0.97014\n ],\n \"78\": [\n 0,\n 0.68333,\n 0.10903,\n 0.08334,\n 0.80347\n ],\n \"79\": [\n 0,\n 0.68333,\n 0.02778,\n 0.08334,\n 0.76278\n ],\n \"80\": [\n 0,\n 0.68333,\n 0.13889,\n 0.08334,\n 0.64201\n ],\n \"81\": [\n 0.19444,\n 0.68333,\n 0,\n 0.08334,\n 0.79056\n ],\n \"82\": [\n 0,\n 0.68333,\n 0.00773,\n 0.08334,\n 0.75929\n ],\n \"83\": [\n 0,\n 0.68333,\n 0.05764,\n 0.08334,\n 0.6132\n ],\n \"84\": [\n 0,\n 0.68333,\n 0.13889,\n 0.08334,\n 0.58438\n ],\n \"85\": [\n 0,\n 0.68333,\n 0.10903,\n 0.02778,\n 0.68278\n ],\n \"86\": [\n 0,\n 0.68333,\n 0.22222,\n 0,\n 0.58333\n ],\n \"87\": [\n 0,\n 0.68333,\n 0.13889,\n 0,\n 0.94445\n ],\n \"88\": [\n 0,\n 0.68333,\n 0.07847,\n 0.08334,\n 0.82847\n ],\n \"89\": [\n 0,\n 0.68333,\n 0.22222,\n 0,\n 0.58056\n ],\n \"90\": [\n 0,\n 0.68333,\n 0.07153,\n 0.08334,\n 0.68264\n ],\n \"97\": [\n 0,\n 0.43056,\n 0,\n 0,\n 0.52859\n ],\n \"98\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.42917\n ],\n \"99\": [\n 0,\n 0.43056,\n 0,\n 0.05556,\n 0.43276\n ],\n \"100\": [\n 0,\n 0.69444,\n 0,\n 0.16667,\n 0.52049\n ],\n \"101\": [\n 0,\n 0.43056,\n 0,\n 0.05556,\n 0.46563\n ],\n \"102\": [\n 0.19444,\n 0.69444,\n 0.10764,\n 0.16667,\n 0.48959\n ],\n \"103\": [\n 0.19444,\n 0.43056,\n 0.03588,\n 0.02778,\n 0.47697\n ],\n \"104\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.57616\n ],\n \"105\": [\n 0,\n 0.65952,\n 0,\n 0,\n 0.34451\n ],\n \"106\": [\n 0.19444,\n 0.65952,\n 0.05724,\n 0,\n 0.41181\n ],\n \"107\": [\n 0,\n 0.69444,\n 0.03148,\n 0,\n 0.5206\n ],\n \"108\": [\n 0,\n 0.69444,\n 0.01968,\n 0.08334,\n 0.29838\n ],\n \"109\": [\n 0,\n 0.43056,\n 0,\n 0,\n 0.87801\n ],\n \"110\": [\n 0,\n 0.43056,\n 0,\n 0,\n 0.60023\n ],\n \"111\": [\n 0,\n 0.43056,\n 0,\n 0.05556,\n 0.48472\n ],\n \"112\": [\n 0.19444,\n 0.43056,\n 0,\n 0.08334,\n 0.50313\n ],\n \"113\": [\n 0.19444,\n 0.43056,\n 0.03588,\n 0.08334,\n 0.44641\n ],\n \"114\": [\n 0,\n 0.43056,\n 0.02778,\n 0.05556,\n 0.45116\n ],\n \"115\": [\n 0,\n 0.43056,\n 0,\n 0.05556,\n 0.46875\n ],\n \"116\": [\n 0,\n 0.61508,\n 0,\n 0.08334,\n 0.36111\n ],\n \"117\": [\n 0,\n 0.43056,\n 0,\n 0.02778,\n 0.57246\n ],\n \"118\": [\n 0,\n 0.43056,\n 0.03588,\n 0.02778,\n 0.48472\n ],\n \"119\": [\n 0,\n 0.43056,\n 0.02691,\n 0.08334,\n 0.71592\n ],\n \"120\": [\n 0,\n 0.43056,\n 0,\n 0.02778,\n 0.57153\n ],\n \"121\": [\n 0.19444,\n 0.43056,\n 0.03588,\n 0.05556,\n 0.49028\n ],\n \"122\": [\n 0,\n 0.43056,\n 0.04398,\n 0.05556,\n 0.46505\n ],\n \"160\": [\n 0,\n 0,\n 0,\n 0,\n 0.25\n ],\n \"915\": [\n 0,\n 0.68333,\n 0.13889,\n 0.08334,\n 0.61528\n ],\n \"916\": [\n 0,\n 0.68333,\n 0,\n 0.16667,\n 0.83334\n ],\n \"920\": [\n 0,\n 0.68333,\n 0.02778,\n 0.08334,\n 0.76278\n ],\n \"923\": [\n 0,\n 0.68333,\n 0,\n 0.16667,\n 0.69445\n ],\n \"926\": [\n 0,\n 0.68333,\n 0.07569,\n 0.08334,\n 0.74236\n ],\n \"928\": [\n 0,\n 0.68333,\n 0.08125,\n 0.05556,\n 0.83125\n ],\n \"931\": [\n 0,\n 0.68333,\n 0.05764,\n 0.08334,\n 0.77986\n ],\n \"933\": [\n 0,\n 0.68333,\n 0.13889,\n 0.05556,\n 0.58333\n ],\n \"934\": [\n 0,\n 0.68333,\n 0,\n 0.08334,\n 0.66667\n ],\n \"936\": [\n 0,\n 0.68333,\n 0.11,\n 0.05556,\n 0.61222\n ],\n \"937\": [\n 0,\n 0.68333,\n 0.05017,\n 0.08334,\n 0.7724\n ],\n \"945\": [\n 0,\n 0.43056,\n 0.0037,\n 0.02778,\n 0.6397\n ],\n \"946\": [\n 0.19444,\n 0.69444,\n 0.05278,\n 0.08334,\n 0.56563\n ],\n \"947\": [\n 0.19444,\n 0.43056,\n 0.05556,\n 0,\n 0.51773\n ],\n \"948\": [\n 0,\n 0.69444,\n 0.03785,\n 0.05556,\n 0.44444\n ],\n \"949\": [\n 0,\n 0.43056,\n 0,\n 0.08334,\n 0.46632\n ],\n \"950\": [\n 0.19444,\n 0.69444,\n 0.07378,\n 0.08334,\n 0.4375\n ],\n \"951\": [\n 0.19444,\n 0.43056,\n 0.03588,\n 0.05556,\n 0.49653\n ],\n \"952\": [\n 0,\n 0.69444,\n 0.02778,\n 0.08334,\n 0.46944\n ],\n \"953\": [\n 0,\n 0.43056,\n 0,\n 0.05556,\n 0.35394\n ],\n \"954\": [\n 0,\n 0.43056,\n 0,\n 0,\n 0.57616\n ],\n \"955\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.58334\n ],\n \"956\": [\n 0.19444,\n 0.43056,\n 0,\n 0.02778,\n 0.60255\n ],\n \"957\": [\n 0,\n 0.43056,\n 0.06366,\n 0.02778,\n 0.49398\n ],\n \"958\": [\n 0.19444,\n 0.69444,\n 0.04601,\n 0.11111,\n 0.4375\n ],\n \"959\": [\n 0,\n 0.43056,\n 0,\n 0.05556,\n 0.48472\n ],\n \"960\": [\n 0,\n 0.43056,\n 0.03588,\n 0,\n 0.57003\n ],\n \"961\": [\n 0.19444,\n 0.43056,\n 0,\n 0.08334,\n 0.51702\n ],\n \"962\": [\n 0.09722,\n 0.43056,\n 0.07986,\n 0.08334,\n 0.36285\n ],\n \"963\": [\n 0,\n 0.43056,\n 0.03588,\n 0,\n 0.57141\n ],\n \"964\": [\n 0,\n 0.43056,\n 0.1132,\n 0.02778,\n 0.43715\n ],\n \"965\": [\n 0,\n 0.43056,\n 0.03588,\n 0.02778,\n 0.54028\n ],\n \"966\": [\n 0.19444,\n 0.43056,\n 0,\n 0.08334,\n 0.65417\n ],\n \"967\": [\n 0.19444,\n 0.43056,\n 0,\n 0.05556,\n 0.62569\n ],\n \"968\": [\n 0.19444,\n 0.69444,\n 0.03588,\n 0.11111,\n 0.65139\n ],\n \"969\": [\n 0,\n 0.43056,\n 0.03588,\n 0,\n 0.62245\n ],\n \"977\": [\n 0,\n 0.69444,\n 0,\n 0.08334,\n 0.59144\n ],\n \"981\": [\n 0.19444,\n 0.69444,\n 0,\n 0.08334,\n 0.59583\n ],\n \"982\": [\n 0,\n 0.43056,\n 0.02778,\n 0,\n 0.82813\n ],\n \"1009\": [\n 0.19444,\n 0.43056,\n 0,\n 0.08334,\n 0.51702\n ],\n \"1013\": [\n 0,\n 0.43056,\n 0,\n 0.05556,\n 0.4059\n ],\n \"57649\": [\n 0,\n 0.43056,\n 0,\n 0.02778,\n 0.32246\n ],\n \"57911\": [\n 0.19444,\n 0.43056,\n 0,\n 0.08334,\n 0.38403\n ]\n },\n \"SansSerif-Bold\": {\n \"32\": [\n 0,\n 0,\n 0,\n 0,\n 0.25\n ],\n \"33\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.36667\n ],\n \"34\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.55834\n ],\n \"35\": [\n 0.19444,\n 0.69444,\n 0,\n 0,\n 0.91667\n ],\n \"36\": [\n 0.05556,\n 0.75,\n 0,\n 0,\n 0.55\n ],\n \"37\": [\n 0.05556,\n 0.75,\n 0,\n 0,\n 1.02912\n ],\n \"38\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.83056\n ],\n \"39\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.30556\n ],\n \"40\": [\n 0.25,\n 0.75,\n 0,\n 0,\n 0.42778\n ],\n \"41\": [\n 0.25,\n 0.75,\n 0,\n 0,\n 0.42778\n ],\n \"42\": [\n 0,\n 0.75,\n 0,\n 0,\n 0.55\n ],\n \"43\": [\n 0.11667,\n 0.61667,\n 0,\n 0,\n 0.85556\n ],\n \"44\": [\n 0.10556,\n 0.13056,\n 0,\n 0,\n 0.30556\n ],\n \"45\": [\n 0,\n 0.45833,\n 0,\n 0,\n 0.36667\n ],\n \"46\": [\n 0,\n 0.13056,\n 0,\n 0,\n 0.30556\n ],\n \"47\": [\n 0.25,\n 0.75,\n 0,\n 0,\n 0.55\n ],\n \"48\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.55\n ],\n \"49\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.55\n ],\n \"50\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.55\n ],\n \"51\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.55\n ],\n \"52\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.55\n ],\n \"53\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.55\n ],\n \"54\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.55\n ],\n \"55\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.55\n ],\n \"56\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.55\n ],\n \"57\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.55\n ],\n \"58\": [\n 0,\n 0.45833,\n 0,\n 0,\n 0.30556\n ],\n \"59\": [\n 0.10556,\n 0.45833,\n 0,\n 0,\n 0.30556\n ],\n \"61\": [\n -0.09375,\n 0.40625,\n 0,\n 0,\n 0.85556\n ],\n \"63\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.51945\n ],\n \"64\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.73334\n ],\n \"65\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.73334\n ],\n \"66\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.73334\n ],\n \"67\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.70278\n ],\n \"68\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.79445\n ],\n \"69\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.64167\n ],\n \"70\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.61111\n ],\n \"71\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.73334\n ],\n \"72\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.79445\n ],\n \"73\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.33056\n ],\n \"74\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.51945\n ],\n \"75\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.76389\n ],\n \"76\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.58056\n ],\n \"77\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.97778\n ],\n \"78\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.79445\n ],\n \"79\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.79445\n ],\n \"80\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.70278\n ],\n \"81\": [\n 0.10556,\n 0.69444,\n 0,\n 0,\n 0.79445\n ],\n \"82\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.70278\n ],\n \"83\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.61111\n ],\n \"84\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.73334\n ],\n \"85\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.76389\n ],\n \"86\": [\n 0,\n 0.69444,\n 0.01528,\n 0,\n 0.73334\n ],\n \"87\": [\n 0,\n 0.69444,\n 0.01528,\n 0,\n 1.03889\n ],\n \"88\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.73334\n ],\n \"89\": [\n 0,\n 0.69444,\n 0.0275,\n 0,\n 0.73334\n ],\n \"90\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.67223\n ],\n \"91\": [\n 0.25,\n 0.75,\n 0,\n 0,\n 0.34306\n ],\n \"93\": [\n 0.25,\n 0.75,\n 0,\n 0,\n 0.34306\n ],\n \"94\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.55\n ],\n \"95\": [\n 0.35,\n 0.10833,\n 0.03056,\n 0,\n 0.55\n ],\n \"97\": [\n 0,\n 0.45833,\n 0,\n 0,\n 0.525\n ],\n \"98\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.56111\n ],\n \"99\": [\n 0,\n 0.45833,\n 0,\n 0,\n 0.48889\n ],\n \"100\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.56111\n ],\n \"101\": [\n 0,\n 0.45833,\n 0,\n 0,\n 0.51111\n ],\n \"102\": [\n 0,\n 0.69444,\n 0.07639,\n 0,\n 0.33611\n ],\n \"103\": [\n 0.19444,\n 0.45833,\n 0.01528,\n 0,\n 0.55\n ],\n \"104\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.56111\n ],\n \"105\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.25556\n ],\n \"106\": [\n 0.19444,\n 0.69444,\n 0,\n 0,\n 0.28611\n ],\n \"107\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.53056\n ],\n \"108\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.25556\n ],\n \"109\": [\n 0,\n 0.45833,\n 0,\n 0,\n 0.86667\n ],\n \"110\": [\n 0,\n 0.45833,\n 0,\n 0,\n 0.56111\n ],\n \"111\": [\n 0,\n 0.45833,\n 0,\n 0,\n 0.55\n ],\n \"112\": [\n 0.19444,\n 0.45833,\n 0,\n 0,\n 0.56111\n ],\n \"113\": [\n 0.19444,\n 0.45833,\n 0,\n 0,\n 0.56111\n ],\n \"114\": [\n 0,\n 0.45833,\n 0.01528,\n 0,\n 0.37222\n ],\n \"115\": [\n 0,\n 0.45833,\n 0,\n 0,\n 0.42167\n ],\n \"116\": [\n 0,\n 0.58929,\n 0,\n 0,\n 0.40417\n ],\n \"117\": [\n 0,\n 0.45833,\n 0,\n 0,\n 0.56111\n ],\n \"118\": [\n 0,\n 0.45833,\n 0.01528,\n 0,\n 0.5\n ],\n \"119\": [\n 0,\n 0.45833,\n 0.01528,\n 0,\n 0.74445\n ],\n \"120\": [\n 0,\n 0.45833,\n 0,\n 0,\n 0.5\n ],\n \"121\": [\n 0.19444,\n 0.45833,\n 0.01528,\n 0,\n 0.5\n ],\n \"122\": [\n 0,\n 0.45833,\n 0,\n 0,\n 0.47639\n ],\n \"126\": [\n 0.35,\n 0.34444,\n 0,\n 0,\n 0.55\n ],\n \"160\": [\n 0,\n 0,\n 0,\n 0,\n 0.25\n ],\n \"168\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.55\n ],\n \"176\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.73334\n ],\n \"180\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.55\n ],\n \"184\": [\n 0.17014,\n 0,\n 0,\n 0,\n 0.48889\n ],\n \"305\": [\n 0,\n 0.45833,\n 0,\n 0,\n 0.25556\n ],\n \"567\": [\n 0.19444,\n 0.45833,\n 0,\n 0,\n 0.28611\n ],\n \"710\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.55\n ],\n \"711\": [\n 0,\n 0.63542,\n 0,\n 0,\n 0.55\n ],\n \"713\": [\n 0,\n 0.63778,\n 0,\n 0,\n 0.55\n ],\n \"728\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.55\n ],\n \"729\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.30556\n ],\n \"730\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.73334\n ],\n \"732\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.55\n ],\n \"733\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.55\n ],\n \"915\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.58056\n ],\n \"916\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.91667\n ],\n \"920\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.85556\n ],\n \"923\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.67223\n ],\n \"926\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.73334\n ],\n \"928\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.79445\n ],\n \"931\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.79445\n ],\n \"933\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.85556\n ],\n \"934\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.79445\n ],\n \"936\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.85556\n ],\n \"937\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.79445\n ],\n \"8211\": [\n 0,\n 0.45833,\n 0.03056,\n 0,\n 0.55\n ],\n \"8212\": [\n 0,\n 0.45833,\n 0.03056,\n 0,\n 1.10001\n ],\n \"8216\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.30556\n ],\n \"8217\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.30556\n ],\n \"8220\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.55834\n ],\n \"8221\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.55834\n ]\n },\n \"SansSerif-Italic\": {\n \"32\": [\n 0,\n 0,\n 0,\n 0,\n 0.25\n ],\n \"33\": [\n 0,\n 0.69444,\n 0.05733,\n 0,\n 0.31945\n ],\n \"34\": [\n 0,\n 0.69444,\n 0.00316,\n 0,\n 0.5\n ],\n \"35\": [\n 0.19444,\n 0.69444,\n 0.05087,\n 0,\n 0.83334\n ],\n \"36\": [\n 0.05556,\n 0.75,\n 0.11156,\n 0,\n 0.5\n ],\n \"37\": [\n 0.05556,\n 0.75,\n 0.03126,\n 0,\n 0.83334\n ],\n \"38\": [\n 0,\n 0.69444,\n 0.03058,\n 0,\n 0.75834\n ],\n \"39\": [\n 0,\n 0.69444,\n 0.07816,\n 0,\n 0.27778\n ],\n \"40\": [\n 0.25,\n 0.75,\n 0.13164,\n 0,\n 0.38889\n ],\n \"41\": [\n 0.25,\n 0.75,\n 0.02536,\n 0,\n 0.38889\n ],\n \"42\": [\n 0,\n 0.75,\n 0.11775,\n 0,\n 0.5\n ],\n \"43\": [\n 0.08333,\n 0.58333,\n 0.02536,\n 0,\n 0.77778\n ],\n \"44\": [\n 0.125,\n 0.08333,\n 0,\n 0,\n 0.27778\n ],\n \"45\": [\n 0,\n 0.44444,\n 0.01946,\n 0,\n 0.33333\n ],\n \"46\": [\n 0,\n 0.08333,\n 0,\n 0,\n 0.27778\n ],\n \"47\": [\n 0.25,\n 0.75,\n 0.13164,\n 0,\n 0.5\n ],\n \"48\": [\n 0,\n 0.65556,\n 0.11156,\n 0,\n 0.5\n ],\n \"49\": [\n 0,\n 0.65556,\n 0.11156,\n 0,\n 0.5\n ],\n \"50\": [\n 0,\n 0.65556,\n 0.11156,\n 0,\n 0.5\n ],\n \"51\": [\n 0,\n 0.65556,\n 0.11156,\n 0,\n 0.5\n ],\n \"52\": [\n 0,\n 0.65556,\n 0.11156,\n 0,\n 0.5\n ],\n \"53\": [\n 0,\n 0.65556,\n 0.11156,\n 0,\n 0.5\n ],\n \"54\": [\n 0,\n 0.65556,\n 0.11156,\n 0,\n 0.5\n ],\n \"55\": [\n 0,\n 0.65556,\n 0.11156,\n 0,\n 0.5\n ],\n \"56\": [\n 0,\n 0.65556,\n 0.11156,\n 0,\n 0.5\n ],\n \"57\": [\n 0,\n 0.65556,\n 0.11156,\n 0,\n 0.5\n ],\n \"58\": [\n 0,\n 0.44444,\n 0.02502,\n 0,\n 0.27778\n ],\n \"59\": [\n 0.125,\n 0.44444,\n 0.02502,\n 0,\n 0.27778\n ],\n \"61\": [\n -0.13,\n 0.37,\n 0.05087,\n 0,\n 0.77778\n ],\n \"63\": [\n 0,\n 0.69444,\n 0.11809,\n 0,\n 0.47222\n ],\n \"64\": [\n 0,\n 0.69444,\n 0.07555,\n 0,\n 0.66667\n ],\n \"65\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.66667\n ],\n \"66\": [\n 0,\n 0.69444,\n 0.08293,\n 0,\n 0.66667\n ],\n \"67\": [\n 0,\n 0.69444,\n 0.11983,\n 0,\n 0.63889\n ],\n \"68\": [\n 0,\n 0.69444,\n 0.07555,\n 0,\n 0.72223\n ],\n \"69\": [\n 0,\n 0.69444,\n 0.11983,\n 0,\n 0.59722\n ],\n \"70\": [\n 0,\n 0.69444,\n 0.13372,\n 0,\n 0.56945\n ],\n \"71\": [\n 0,\n 0.69444,\n 0.11983,\n 0,\n 0.66667\n ],\n \"72\": [\n 0,\n 0.69444,\n 0.08094,\n 0,\n 0.70834\n ],\n \"73\": [\n 0,\n 0.69444,\n 0.13372,\n 0,\n 0.27778\n ],\n \"74\": [\n 0,\n 0.69444,\n 0.08094,\n 0,\n 0.47222\n ],\n \"75\": [\n 0,\n 0.69444,\n 0.11983,\n 0,\n 0.69445\n ],\n \"76\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.54167\n ],\n \"77\": [\n 0,\n 0.69444,\n 0.08094,\n 0,\n 0.875\n ],\n \"78\": [\n 0,\n 0.69444,\n 0.08094,\n 0,\n 0.70834\n ],\n \"79\": [\n 0,\n 0.69444,\n 0.07555,\n 0,\n 0.73611\n ],\n \"80\": [\n 0,\n 0.69444,\n 0.08293,\n 0,\n 0.63889\n ],\n \"81\": [\n 0.125,\n 0.69444,\n 0.07555,\n 0,\n 0.73611\n ],\n \"82\": [\n 0,\n 0.69444,\n 0.08293,\n 0,\n 0.64584\n ],\n \"83\": [\n 0,\n 0.69444,\n 0.09205,\n 0,\n 0.55556\n ],\n \"84\": [\n 0,\n 0.69444,\n 0.13372,\n 0,\n 0.68056\n ],\n \"85\": [\n 0,\n 0.69444,\n 0.08094,\n 0,\n 0.6875\n ],\n \"86\": [\n 0,\n 0.69444,\n 0.1615,\n 0,\n 0.66667\n ],\n \"87\": [\n 0,\n 0.69444,\n 0.1615,\n 0,\n 0.94445\n ],\n \"88\": [\n 0,\n 0.69444,\n 0.13372,\n 0,\n 0.66667\n ],\n \"89\": [\n 0,\n 0.69444,\n 0.17261,\n 0,\n 0.66667\n ],\n \"90\": [\n 0,\n 0.69444,\n 0.11983,\n 0,\n 0.61111\n ],\n \"91\": [\n 0.25,\n 0.75,\n 0.15942,\n 0,\n 0.28889\n ],\n \"93\": [\n 0.25,\n 0.75,\n 0.08719,\n 0,\n 0.28889\n ],\n \"94\": [\n 0,\n 0.69444,\n 0.0799,\n 0,\n 0.5\n ],\n \"95\": [\n 0.35,\n 0.09444,\n 0.08616,\n 0,\n 0.5\n ],\n \"97\": [\n 0,\n 0.44444,\n 0.00981,\n 0,\n 0.48056\n ],\n \"98\": [\n 0,\n 0.69444,\n 0.03057,\n 0,\n 0.51667\n ],\n \"99\": [\n 0,\n 0.44444,\n 0.08336,\n 0,\n 0.44445\n ],\n \"100\": [\n 0,\n 0.69444,\n 0.09483,\n 0,\n 0.51667\n ],\n \"101\": [\n 0,\n 0.44444,\n 0.06778,\n 0,\n 0.44445\n ],\n \"102\": [\n 0,\n 0.69444,\n 0.21705,\n 0,\n 0.30556\n ],\n \"103\": [\n 0.19444,\n 0.44444,\n 0.10836,\n 0,\n 0.5\n ],\n \"104\": [\n 0,\n 0.69444,\n 0.01778,\n 0,\n 0.51667\n ],\n \"105\": [\n 0,\n 0.67937,\n 0.09718,\n 0,\n 0.23889\n ],\n \"106\": [\n 0.19444,\n 0.67937,\n 0.09162,\n 0,\n 0.26667\n ],\n \"107\": [\n 0,\n 0.69444,\n 0.08336,\n 0,\n 0.48889\n ],\n \"108\": [\n 0,\n 0.69444,\n 0.09483,\n 0,\n 0.23889\n ],\n \"109\": [\n 0,\n 0.44444,\n 0.01778,\n 0,\n 0.79445\n ],\n \"110\": [\n 0,\n 0.44444,\n 0.01778,\n 0,\n 0.51667\n ],\n \"111\": [\n 0,\n 0.44444,\n 0.06613,\n 0,\n 0.5\n ],\n \"112\": [\n 0.19444,\n 0.44444,\n 0.0389,\n 0,\n 0.51667\n ],\n \"113\": [\n 0.19444,\n 0.44444,\n 0.04169,\n 0,\n 0.51667\n ],\n \"114\": [\n 0,\n 0.44444,\n 0.10836,\n 0,\n 0.34167\n ],\n \"115\": [\n 0,\n 0.44444,\n 0.0778,\n 0,\n 0.38333\n ],\n \"116\": [\n 0,\n 0.57143,\n 0.07225,\n 0,\n 0.36111\n ],\n \"117\": [\n 0,\n 0.44444,\n 0.04169,\n 0,\n 0.51667\n ],\n \"118\": [\n 0,\n 0.44444,\n 0.10836,\n 0,\n 0.46111\n ],\n \"119\": [\n 0,\n 0.44444,\n 0.10836,\n 0,\n 0.68334\n ],\n \"120\": [\n 0,\n 0.44444,\n 0.09169,\n 0,\n 0.46111\n ],\n \"121\": [\n 0.19444,\n 0.44444,\n 0.10836,\n 0,\n 0.46111\n ],\n \"122\": [\n 0,\n 0.44444,\n 0.08752,\n 0,\n 0.43472\n ],\n \"126\": [\n 0.35,\n 0.32659,\n 0.08826,\n 0,\n 0.5\n ],\n \"160\": [\n 0,\n 0,\n 0,\n 0,\n 0.25\n ],\n \"168\": [\n 0,\n 0.67937,\n 0.06385,\n 0,\n 0.5\n ],\n \"176\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.73752\n ],\n \"184\": [\n 0.17014,\n 0,\n 0,\n 0,\n 0.44445\n ],\n \"305\": [\n 0,\n 0.44444,\n 0.04169,\n 0,\n 0.23889\n ],\n \"567\": [\n 0.19444,\n 0.44444,\n 0.04169,\n 0,\n 0.26667\n ],\n \"710\": [\n 0,\n 0.69444,\n 0.0799,\n 0,\n 0.5\n ],\n \"711\": [\n 0,\n 0.63194,\n 0.08432,\n 0,\n 0.5\n ],\n \"713\": [\n 0,\n 0.60889,\n 0.08776,\n 0,\n 0.5\n ],\n \"714\": [\n 0,\n 0.69444,\n 0.09205,\n 0,\n 0.5\n ],\n \"715\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.5\n ],\n \"728\": [\n 0,\n 0.69444,\n 0.09483,\n 0,\n 0.5\n ],\n \"729\": [\n 0,\n 0.67937,\n 0.07774,\n 0,\n 0.27778\n ],\n \"730\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.73752\n ],\n \"732\": [\n 0,\n 0.67659,\n 0.08826,\n 0,\n 0.5\n ],\n \"733\": [\n 0,\n 0.69444,\n 0.09205,\n 0,\n 0.5\n ],\n \"915\": [\n 0,\n 0.69444,\n 0.13372,\n 0,\n 0.54167\n ],\n \"916\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.83334\n ],\n \"920\": [\n 0,\n 0.69444,\n 0.07555,\n 0,\n 0.77778\n ],\n \"923\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.61111\n ],\n \"926\": [\n 0,\n 0.69444,\n 0.12816,\n 0,\n 0.66667\n ],\n \"928\": [\n 0,\n 0.69444,\n 0.08094,\n 0,\n 0.70834\n ],\n \"931\": [\n 0,\n 0.69444,\n 0.11983,\n 0,\n 0.72222\n ],\n \"933\": [\n 0,\n 0.69444,\n 0.09031,\n 0,\n 0.77778\n ],\n \"934\": [\n 0,\n 0.69444,\n 0.04603,\n 0,\n 0.72222\n ],\n \"936\": [\n 0,\n 0.69444,\n 0.09031,\n 0,\n 0.77778\n ],\n \"937\": [\n 0,\n 0.69444,\n 0.08293,\n 0,\n 0.72222\n ],\n \"8211\": [\n 0,\n 0.44444,\n 0.08616,\n 0,\n 0.5\n ],\n \"8212\": [\n 0,\n 0.44444,\n 0.08616,\n 0,\n 1.0\n ],\n \"8216\": [\n 0,\n 0.69444,\n 0.07816,\n 0,\n 0.27778\n ],\n \"8217\": [\n 0,\n 0.69444,\n 0.07816,\n 0,\n 0.27778\n ],\n \"8220\": [\n 0,\n 0.69444,\n 0.14205,\n 0,\n 0.5\n ],\n \"8221\": [\n 0,\n 0.69444,\n 0.00316,\n 0,\n 0.5\n ]\n },\n \"SansSerif-Regular\": {\n \"32\": [\n 0,\n 0,\n 0,\n 0,\n 0.25\n ],\n \"33\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.31945\n ],\n \"34\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.5\n ],\n \"35\": [\n 0.19444,\n 0.69444,\n 0,\n 0,\n 0.83334\n ],\n \"36\": [\n 0.05556,\n 0.75,\n 0,\n 0,\n 0.5\n ],\n \"37\": [\n 0.05556,\n 0.75,\n 0,\n 0,\n 0.83334\n ],\n \"38\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.75834\n ],\n \"39\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.27778\n ],\n \"40\": [\n 0.25,\n 0.75,\n 0,\n 0,\n 0.38889\n ],\n \"41\": [\n 0.25,\n 0.75,\n 0,\n 0,\n 0.38889\n ],\n \"42\": [\n 0,\n 0.75,\n 0,\n 0,\n 0.5\n ],\n \"43\": [\n 0.08333,\n 0.58333,\n 0,\n 0,\n 0.77778\n ],\n \"44\": [\n 0.125,\n 0.08333,\n 0,\n 0,\n 0.27778\n ],\n \"45\": [\n 0,\n 0.44444,\n 0,\n 0,\n 0.33333\n ],\n \"46\": [\n 0,\n 0.08333,\n 0,\n 0,\n 0.27778\n ],\n \"47\": [\n 0.25,\n 0.75,\n 0,\n 0,\n 0.5\n ],\n \"48\": [\n 0,\n 0.65556,\n 0,\n 0,\n 0.5\n ],\n \"49\": [\n 0,\n 0.65556,\n 0,\n 0,\n 0.5\n ],\n \"50\": [\n 0,\n 0.65556,\n 0,\n 0,\n 0.5\n ],\n \"51\": [\n 0,\n 0.65556,\n 0,\n 0,\n 0.5\n ],\n \"52\": [\n 0,\n 0.65556,\n 0,\n 0,\n 0.5\n ],\n \"53\": [\n 0,\n 0.65556,\n 0,\n 0,\n 0.5\n ],\n \"54\": [\n 0,\n 0.65556,\n 0,\n 0,\n 0.5\n ],\n \"55\": [\n 0,\n 0.65556,\n 0,\n 0,\n 0.5\n ],\n \"56\": [\n 0,\n 0.65556,\n 0,\n 0,\n 0.5\n ],\n \"57\": [\n 0,\n 0.65556,\n 0,\n 0,\n 0.5\n ],\n \"58\": [\n 0,\n 0.44444,\n 0,\n 0,\n 0.27778\n ],\n \"59\": [\n 0.125,\n 0.44444,\n 0,\n 0,\n 0.27778\n ],\n \"61\": [\n -0.13,\n 0.37,\n 0,\n 0,\n 0.77778\n ],\n \"63\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.47222\n ],\n \"64\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.66667\n ],\n \"65\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.66667\n ],\n \"66\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.66667\n ],\n \"67\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.63889\n ],\n \"68\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.72223\n ],\n \"69\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.59722\n ],\n \"70\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.56945\n ],\n \"71\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.66667\n ],\n \"72\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.70834\n ],\n \"73\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.27778\n ],\n \"74\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.47222\n ],\n \"75\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.69445\n ],\n \"76\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.54167\n ],\n \"77\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.875\n ],\n \"78\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.70834\n ],\n \"79\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.73611\n ],\n \"80\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.63889\n ],\n \"81\": [\n 0.125,\n 0.69444,\n 0,\n 0,\n 0.73611\n ],\n \"82\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.64584\n ],\n \"83\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.55556\n ],\n \"84\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.68056\n ],\n \"85\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.6875\n ],\n \"86\": [\n 0,\n 0.69444,\n 0.01389,\n 0,\n 0.66667\n ],\n \"87\": [\n 0,\n 0.69444,\n 0.01389,\n 0,\n 0.94445\n ],\n \"88\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.66667\n ],\n \"89\": [\n 0,\n 0.69444,\n 0.025,\n 0,\n 0.66667\n ],\n \"90\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.61111\n ],\n \"91\": [\n 0.25,\n 0.75,\n 0,\n 0,\n 0.28889\n ],\n \"93\": [\n 0.25,\n 0.75,\n 0,\n 0,\n 0.28889\n ],\n \"94\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.5\n ],\n \"95\": [\n 0.35,\n 0.09444,\n 0.02778,\n 0,\n 0.5\n ],\n \"97\": [\n 0,\n 0.44444,\n 0,\n 0,\n 0.48056\n ],\n \"98\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.51667\n ],\n \"99\": [\n 0,\n 0.44444,\n 0,\n 0,\n 0.44445\n ],\n \"100\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.51667\n ],\n \"101\": [\n 0,\n 0.44444,\n 0,\n 0,\n 0.44445\n ],\n \"102\": [\n 0,\n 0.69444,\n 0.06944,\n 0,\n 0.30556\n ],\n \"103\": [\n 0.19444,\n 0.44444,\n 0.01389,\n 0,\n 0.5\n ],\n \"104\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.51667\n ],\n \"105\": [\n 0,\n 0.67937,\n 0,\n 0,\n 0.23889\n ],\n \"106\": [\n 0.19444,\n 0.67937,\n 0,\n 0,\n 0.26667\n ],\n \"107\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.48889\n ],\n \"108\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.23889\n ],\n \"109\": [\n 0,\n 0.44444,\n 0,\n 0,\n 0.79445\n ],\n \"110\": [\n 0,\n 0.44444,\n 0,\n 0,\n 0.51667\n ],\n \"111\": [\n 0,\n 0.44444,\n 0,\n 0,\n 0.5\n ],\n \"112\": [\n 0.19444,\n 0.44444,\n 0,\n 0,\n 0.51667\n ],\n \"113\": [\n 0.19444,\n 0.44444,\n 0,\n 0,\n 0.51667\n ],\n \"114\": [\n 0,\n 0.44444,\n 0.01389,\n 0,\n 0.34167\n ],\n \"115\": [\n 0,\n 0.44444,\n 0,\n 0,\n 0.38333\n ],\n \"116\": [\n 0,\n 0.57143,\n 0,\n 0,\n 0.36111\n ],\n \"117\": [\n 0,\n 0.44444,\n 0,\n 0,\n 0.51667\n ],\n \"118\": [\n 0,\n 0.44444,\n 0.01389,\n 0,\n 0.46111\n ],\n \"119\": [\n 0,\n 0.44444,\n 0.01389,\n 0,\n 0.68334\n ],\n \"120\": [\n 0,\n 0.44444,\n 0,\n 0,\n 0.46111\n ],\n \"121\": [\n 0.19444,\n 0.44444,\n 0.01389,\n 0,\n 0.46111\n ],\n \"122\": [\n 0,\n 0.44444,\n 0,\n 0,\n 0.43472\n ],\n \"126\": [\n 0.35,\n 0.32659,\n 0,\n 0,\n 0.5\n ],\n \"160\": [\n 0,\n 0,\n 0,\n 0,\n 0.25\n ],\n \"168\": [\n 0,\n 0.67937,\n 0,\n 0,\n 0.5\n ],\n \"176\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.66667\n ],\n \"184\": [\n 0.17014,\n 0,\n 0,\n 0,\n 0.44445\n ],\n \"305\": [\n 0,\n 0.44444,\n 0,\n 0,\n 0.23889\n ],\n \"567\": [\n 0.19444,\n 0.44444,\n 0,\n 0,\n 0.26667\n ],\n \"710\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.5\n ],\n \"711\": [\n 0,\n 0.63194,\n 0,\n 0,\n 0.5\n ],\n \"713\": [\n 0,\n 0.60889,\n 0,\n 0,\n 0.5\n ],\n \"714\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.5\n ],\n \"715\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.5\n ],\n \"728\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.5\n ],\n \"729\": [\n 0,\n 0.67937,\n 0,\n 0,\n 0.27778\n ],\n \"730\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.66667\n ],\n \"732\": [\n 0,\n 0.67659,\n 0,\n 0,\n 0.5\n ],\n \"733\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.5\n ],\n \"915\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.54167\n ],\n \"916\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.83334\n ],\n \"920\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.77778\n ],\n \"923\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.61111\n ],\n \"926\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.66667\n ],\n \"928\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.70834\n ],\n \"931\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.72222\n ],\n \"933\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.77778\n ],\n \"934\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.72222\n ],\n \"936\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.77778\n ],\n \"937\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.72222\n ],\n \"8211\": [\n 0,\n 0.44444,\n 0.02778,\n 0,\n 0.5\n ],\n \"8212\": [\n 0,\n 0.44444,\n 0.02778,\n 0,\n 1.0\n ],\n \"8216\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.27778\n ],\n \"8217\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.27778\n ],\n \"8220\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.5\n ],\n \"8221\": [\n 0,\n 0.69444,\n 0,\n 0,\n 0.5\n ]\n },\n \"Script-Regular\": {\n \"32\": [\n 0,\n 0,\n 0,\n 0,\n 0.25\n ],\n \"65\": [\n 0,\n 0.7,\n 0.22925,\n 0,\n 0.80253\n ],\n \"66\": [\n 0,\n 0.7,\n 0.04087,\n 0,\n 0.90757\n ],\n \"67\": [\n 0,\n 0.7,\n 0.1689,\n 0,\n 0.66619\n ],\n \"68\": [\n 0,\n 0.7,\n 0.09371,\n 0,\n 0.77443\n ],\n \"69\": [\n 0,\n 0.7,\n 0.18583,\n 0,\n 0.56162\n ],\n \"70\": [\n 0,\n 0.7,\n 0.13634,\n 0,\n 0.89544\n ],\n \"71\": [\n 0,\n 0.7,\n 0.17322,\n 0,\n 0.60961\n ],\n \"72\": [\n 0,\n 0.7,\n 0.29694,\n 0,\n 0.96919\n ],\n \"73\": [\n 0,\n 0.7,\n 0.19189,\n 0,\n 0.80907\n ],\n \"74\": [\n 0.27778,\n 0.7,\n 0.19189,\n 0,\n 1.05159\n ],\n \"75\": [\n 0,\n 0.7,\n 0.31259,\n 0,\n 0.91364\n ],\n \"76\": [\n 0,\n 0.7,\n 0.19189,\n 0,\n 0.87373\n ],\n \"77\": [\n 0,\n 0.7,\n 0.15981,\n 0,\n 1.08031\n ],\n \"78\": [\n 0,\n 0.7,\n 0.3525,\n 0,\n 0.9015\n ],\n \"79\": [\n 0,\n 0.7,\n 0.08078,\n 0,\n 0.73787\n ],\n \"80\": [\n 0,\n 0.7,\n 0.08078,\n 0,\n 1.01262\n ],\n \"81\": [\n 0,\n 0.7,\n 0.03305,\n 0,\n 0.88282\n ],\n \"82\": [\n 0,\n 0.7,\n 0.06259,\n 0,\n 0.85\n ],\n \"83\": [\n 0,\n 0.7,\n 0.19189,\n 0,\n 0.86767\n ],\n \"84\": [\n 0,\n 0.7,\n 0.29087,\n 0,\n 0.74697\n ],\n \"85\": [\n 0,\n 0.7,\n 0.25815,\n 0,\n 0.79996\n ],\n \"86\": [\n 0,\n 0.7,\n 0.27523,\n 0,\n 0.62204\n ],\n \"87\": [\n 0,\n 0.7,\n 0.27523,\n 0,\n 0.80532\n ],\n \"88\": [\n 0,\n 0.7,\n 0.26006,\n 0,\n 0.94445\n ],\n \"89\": [\n 0,\n 0.7,\n 0.2939,\n 0,\n 0.70961\n ],\n \"90\": [\n 0,\n 0.7,\n 0.24037,\n 0,\n 0.8212\n ],\n \"160\": [\n 0,\n 0,\n 0,\n 0,\n 0.25\n ]\n },\n \"Size1-Regular\": {\n \"32\": [\n 0,\n 0,\n 0,\n 0,\n 0.25\n ],\n \"40\": [\n 0.35001,\n 0.85,\n 0,\n 0,\n 0.45834\n ],\n \"41\": [\n 0.35001,\n 0.85,\n 0,\n 0,\n 0.45834\n ],\n \"47\": [\n 0.35001,\n 0.85,\n 0,\n 0,\n 0.57778\n ],\n \"91\": [\n 0.35001,\n 0.85,\n 0,\n 0,\n 0.41667\n ],\n \"92\": [\n 0.35001,\n 0.85,\n 0,\n 0,\n 0.57778\n ],\n \"93\": [\n 0.35001,\n 0.85,\n 0,\n 0,\n 0.41667\n ],\n \"123\": [\n 0.35001,\n 0.85,\n 0,\n 0,\n 0.58334\n ],\n \"125\": [\n 0.35001,\n 0.85,\n 0,\n 0,\n 0.58334\n ],\n \"160\": [\n 0,\n 0,\n 0,\n 0,\n 0.25\n ],\n \"710\": [\n 0,\n 0.72222,\n 0,\n 0,\n 0.55556\n ],\n \"732\": [\n 0,\n 0.72222,\n 0,\n 0,\n 0.55556\n ],\n \"770\": [\n 0,\n 0.72222,\n 0,\n 0,\n 0.55556\n ],\n \"771\": [\n 0,\n 0.72222,\n 0,\n 0,\n 0.55556\n ],\n \"8214\": [\n -0.00099,\n 0.601,\n 0,\n 0,\n 0.77778\n ],\n \"8593\": [\n 1e-05,\n 0.6,\n 0,\n 0,\n 0.66667\n ],\n \"8595\": [\n 1e-05,\n 0.6,\n 0,\n 0,\n 0.66667\n ],\n \"8657\": [\n 1e-05,\n 0.6,\n 0,\n 0,\n 0.77778\n ],\n \"8659\": [\n 1e-05,\n 0.6,\n 0,\n 0,\n 0.77778\n ],\n \"8719\": [\n 0.25001,\n 0.75,\n 0,\n 0,\n 0.94445\n ],\n \"8720\": [\n 0.25001,\n 0.75,\n 0,\n 0,\n 0.94445\n ],\n \"8721\": [\n 0.25001,\n 0.75,\n 0,\n 0,\n 1.05556\n ],\n \"8730\": [\n 0.35001,\n 0.85,\n 0,\n 0,\n 1.0\n ],\n \"8739\": [\n -0.00599,\n 0.606,\n 0,\n 0,\n 0.33333\n ],\n \"8741\": [\n -0.00599,\n 0.606,\n 0,\n 0,\n 0.55556\n ],\n \"8747\": [\n 0.30612,\n 0.805,\n 0.19445,\n 0,\n 0.47222\n ],\n \"8748\": [\n 0.306,\n 0.805,\n 0.19445,\n 0,\n 0.47222\n ],\n \"8749\": [\n 0.306,\n 0.805,\n 0.19445,\n 0,\n 0.47222\n ],\n \"8750\": [\n 0.30612,\n 0.805,\n 0.19445,\n 0,\n 0.47222\n ],\n \"8896\": [\n 0.25001,\n 0.75,\n 0,\n 0,\n 0.83334\n ],\n \"8897\": [\n 0.25001,\n 0.75,\n 0,\n 0,\n 0.83334\n ],\n \"8898\": [\n 0.25001,\n 0.75,\n 0,\n 0,\n 0.83334\n ],\n \"8899\": [\n 0.25001,\n 0.75,\n 0,\n 0,\n 0.83334\n ],\n \"8968\": [\n 0.35001,\n 0.85,\n 0,\n 0,\n 0.47222\n ],\n \"8969\": [\n 0.35001,\n 0.85,\n 0,\n 0,\n 0.47222\n ],\n \"8970\": [\n 0.35001,\n 0.85,\n 0,\n 0,\n 0.47222\n ],\n \"8971\": [\n 0.35001,\n 0.85,\n 0,\n 0,\n 0.47222\n ],\n \"9168\": [\n -0.00099,\n 0.601,\n 0,\n 0,\n 0.66667\n ],\n \"10216\": [\n 0.35001,\n 0.85,\n 0,\n 0,\n 0.47222\n ],\n \"10217\": [\n 0.35001,\n 0.85,\n 0,\n 0,\n 0.47222\n ],\n \"10752\": [\n 0.25001,\n 0.75,\n 0,\n 0,\n 1.11111\n ],\n \"10753\": [\n 0.25001,\n 0.75,\n 0,\n 0,\n 1.11111\n ],\n \"10754\": [\n 0.25001,\n 0.75,\n 0,\n 0,\n 1.11111\n ],\n \"10756\": [\n 0.25001,\n 0.75,\n 0,\n 0,\n 0.83334\n ],\n \"10758\": [\n 0.25001,\n 0.75,\n 0,\n 0,\n 0.83334\n ]\n },\n \"Size2-Regular\": {\n \"32\": [\n 0,\n 0,\n 0,\n 0,\n 0.25\n ],\n \"40\": [\n 0.65002,\n 1.15,\n 0,\n 0,\n 0.59722\n ],\n \"41\": [\n 0.65002,\n 1.15,\n 0,\n 0,\n 0.59722\n ],\n \"47\": [\n 0.65002,\n 1.15,\n 0,\n 0,\n 0.81111\n ],\n \"91\": [\n 0.65002,\n 1.15,\n 0,\n 0,\n 0.47222\n ],\n \"92\": [\n 0.65002,\n 1.15,\n 0,\n 0,\n 0.81111\n ],\n \"93\": [\n 0.65002,\n 1.15,\n 0,\n 0,\n 0.47222\n ],\n \"123\": [\n 0.65002,\n 1.15,\n 0,\n 0,\n 0.66667\n ],\n \"125\": [\n 0.65002,\n 1.15,\n 0,\n 0,\n 0.66667\n ],\n \"160\": [\n 0,\n 0,\n 0,\n 0,\n 0.25\n ],\n \"710\": [\n 0,\n 0.75,\n 0,\n 0,\n 1.0\n ],\n \"732\": [\n 0,\n 0.75,\n 0,\n 0,\n 1.0\n ],\n \"770\": [\n 0,\n 0.75,\n 0,\n 0,\n 1.0\n ],\n \"771\": [\n 0,\n 0.75,\n 0,\n 0,\n 1.0\n ],\n \"8719\": [\n 0.55001,\n 1.05,\n 0,\n 0,\n 1.27778\n ],\n \"8720\": [\n 0.55001,\n 1.05,\n 0,\n 0,\n 1.27778\n ],\n \"8721\": [\n 0.55001,\n 1.05,\n 0,\n 0,\n 1.44445\n ],\n \"8730\": [\n 0.65002,\n 1.15,\n 0,\n 0,\n 1.0\n ],\n \"8747\": [\n 0.86225,\n 1.36,\n 0.44445,\n 0,\n 0.55556\n ],\n \"8748\": [\n 0.862,\n 1.36,\n 0.44445,\n 0,\n 0.55556\n ],\n \"8749\": [\n 0.862,\n 1.36,\n 0.44445,\n 0,\n 0.55556\n ],\n \"8750\": [\n 0.86225,\n 1.36,\n 0.44445,\n 0,\n 0.55556\n ],\n \"8896\": [\n 0.55001,\n 1.05,\n 0,\n 0,\n 1.11111\n ],\n \"8897\": [\n 0.55001,\n 1.05,\n 0,\n 0,\n 1.11111\n ],\n \"8898\": [\n 0.55001,\n 1.05,\n 0,\n 0,\n 1.11111\n ],\n \"8899\": [\n 0.55001,\n 1.05,\n 0,\n 0,\n 1.11111\n ],\n \"8968\": [\n 0.65002,\n 1.15,\n 0,\n 0,\n 0.52778\n ],\n \"8969\": [\n 0.65002,\n 1.15,\n 0,\n 0,\n 0.52778\n ],\n \"8970\": [\n 0.65002,\n 1.15,\n 0,\n 0,\n 0.52778\n ],\n \"8971\": [\n 0.65002,\n 1.15,\n 0,\n 0,\n 0.52778\n ],\n \"10216\": [\n 0.65002,\n 1.15,\n 0,\n 0,\n 0.61111\n ],\n \"10217\": [\n 0.65002,\n 1.15,\n 0,\n 0,\n 0.61111\n ],\n \"10752\": [\n 0.55001,\n 1.05,\n 0,\n 0,\n 1.51112\n ],\n \"10753\": [\n 0.55001,\n 1.05,\n 0,\n 0,\n 1.51112\n ],\n \"10754\": [\n 0.55001,\n 1.05,\n 0,\n 0,\n 1.51112\n ],\n \"10756\": [\n 0.55001,\n 1.05,\n 0,\n 0,\n 1.11111\n ],\n \"10758\": [\n 0.55001,\n 1.05,\n 0,\n 0,\n 1.11111\n ]\n },\n \"Size3-Regular\": {\n \"32\": [\n 0,\n 0,\n 0,\n 0,\n 0.25\n ],\n \"40\": [\n 0.95003,\n 1.45,\n 0,\n 0,\n 0.73611\n ],\n \"41\": [\n 0.95003,\n 1.45,\n 0,\n 0,\n 0.73611\n ],\n \"47\": [\n 0.95003,\n 1.45,\n 0,\n 0,\n 1.04445\n ],\n \"91\": [\n 0.95003,\n 1.45,\n 0,\n 0,\n 0.52778\n ],\n \"92\": [\n 0.95003,\n 1.45,\n 0,\n 0,\n 1.04445\n ],\n \"93\": [\n 0.95003,\n 1.45,\n 0,\n 0,\n 0.52778\n ],\n \"123\": [\n 0.95003,\n 1.45,\n 0,\n 0,\n 0.75\n ],\n \"125\": [\n 0.95003,\n 1.45,\n 0,\n 0,\n 0.75\n ],\n \"160\": [\n 0,\n 0,\n 0,\n 0,\n 0.25\n ],\n \"710\": [\n 0,\n 0.75,\n 0,\n 0,\n 1.44445\n ],\n \"732\": [\n 0,\n 0.75,\n 0,\n 0,\n 1.44445\n ],\n \"770\": [\n 0,\n 0.75,\n 0,\n 0,\n 1.44445\n ],\n \"771\": [\n 0,\n 0.75,\n 0,\n 0,\n 1.44445\n ],\n \"8730\": [\n 0.95003,\n 1.45,\n 0,\n 0,\n 1.0\n ],\n \"8968\": [\n 0.95003,\n 1.45,\n 0,\n 0,\n 0.58334\n ],\n \"8969\": [\n 0.95003,\n 1.45,\n 0,\n 0,\n 0.58334\n ],\n \"8970\": [\n 0.95003,\n 1.45,\n 0,\n 0,\n 0.58334\n ],\n \"8971\": [\n 0.95003,\n 1.45,\n 0,\n 0,\n 0.58334\n ],\n \"10216\": [\n 0.95003,\n 1.45,\n 0,\n 0,\n 0.75\n ],\n \"10217\": [\n 0.95003,\n 1.45,\n 0,\n 0,\n 0.75\n ]\n },\n \"Size4-Regular\": {\n \"32\": [\n 0,\n 0,\n 0,\n 0,\n 0.25\n ],\n \"40\": [\n 1.25003,\n 1.75,\n 0,\n 0,\n 0.79167\n ],\n \"41\": [\n 1.25003,\n 1.75,\n 0,\n 0,\n 0.79167\n ],\n \"47\": [\n 1.25003,\n 1.75,\n 0,\n 0,\n 1.27778\n ],\n \"91\": [\n 1.25003,\n 1.75,\n 0,\n 0,\n 0.58334\n ],\n \"92\": [\n 1.25003,\n 1.75,\n 0,\n 0,\n 1.27778\n ],\n \"93\": [\n 1.25003,\n 1.75,\n 0,\n 0,\n 0.58334\n ],\n \"123\": [\n 1.25003,\n 1.75,\n 0,\n 0,\n 0.80556\n ],\n \"125\": [\n 1.25003,\n 1.75,\n 0,\n 0,\n 0.80556\n ],\n \"160\": [\n 0,\n 0,\n 0,\n 0,\n 0.25\n ],\n \"710\": [\n 0,\n 0.825,\n 0,\n 0,\n 1.8889\n ],\n \"732\": [\n 0,\n 0.825,\n 0,\n 0,\n 1.8889\n ],\n \"770\": [\n 0,\n 0.825,\n 0,\n 0,\n 1.8889\n ],\n \"771\": [\n 0,\n 0.825,\n 0,\n 0,\n 1.8889\n ],\n \"8730\": [\n 1.25003,\n 1.75,\n 0,\n 0,\n 1.0\n ],\n \"8968\": [\n 1.25003,\n 1.75,\n 0,\n 0,\n 0.63889\n ],\n \"8969\": [\n 1.25003,\n 1.75,\n 0,\n 0,\n 0.63889\n ],\n \"8970\": [\n 1.25003,\n 1.75,\n 0,\n 0,\n 0.63889\n ],\n \"8971\": [\n 1.25003,\n 1.75,\n 0,\n 0,\n 0.63889\n ],\n \"9115\": [\n 0.64502,\n 1.155,\n 0,\n 0,\n 0.875\n ],\n \"9116\": [\n 1e-05,\n 0.6,\n 0,\n 0,\n 0.875\n ],\n \"9117\": [\n 0.64502,\n 1.155,\n 0,\n 0,\n 0.875\n ],\n \"9118\": [\n 0.64502,\n 1.155,\n 0,\n 0,\n 0.875\n ],\n \"9119\": [\n 1e-05,\n 0.6,\n 0,\n 0,\n 0.875\n ],\n \"9120\": [\n 0.64502,\n 1.155,\n 0,\n 0,\n 0.875\n ],\n \"9121\": [\n 0.64502,\n 1.155,\n 0,\n 0,\n 0.66667\n ],\n \"9122\": [\n -0.00099,\n 0.601,\n 0,\n 0,\n 0.66667\n ],\n \"9123\": [\n 0.64502,\n 1.155,\n 0,\n 0,\n 0.66667\n ],\n \"9124\": [\n 0.64502,\n 1.155,\n 0,\n 0,\n 0.66667\n ],\n \"9125\": [\n -0.00099,\n 0.601,\n 0,\n 0,\n 0.66667\n ],\n \"9126\": [\n 0.64502,\n 1.155,\n 0,\n 0,\n 0.66667\n ],\n \"9127\": [\n 1e-05,\n 0.9,\n 0,\n 0,\n 0.88889\n ],\n \"9128\": [\n 0.65002,\n 1.15,\n 0,\n 0,\n 0.88889\n ],\n \"9129\": [\n 0.90001,\n 0,\n 0,\n 0,\n 0.88889\n ],\n \"9130\": [\n 0,\n 0.3,\n 0,\n 0,\n 0.88889\n ],\n \"9131\": [\n 1e-05,\n 0.9,\n 0,\n 0,\n 0.88889\n ],\n \"9132\": [\n 0.65002,\n 1.15,\n 0,\n 0,\n 0.88889\n ],\n \"9133\": [\n 0.90001,\n 0,\n 0,\n 0,\n 0.88889\n ],\n \"9143\": [\n 0.88502,\n 0.915,\n 0,\n 0,\n 1.05556\n ],\n \"10216\": [\n 1.25003,\n 1.75,\n 0,\n 0,\n 0.80556\n ],\n \"10217\": [\n 1.25003,\n 1.75,\n 0,\n 0,\n 0.80556\n ],\n \"57344\": [\n -0.00499,\n 0.605,\n 0,\n 0,\n 1.05556\n ],\n \"57345\": [\n -0.00499,\n 0.605,\n 0,\n 0,\n 1.05556\n ],\n \"57680\": [\n 0,\n 0.12,\n 0,\n 0,\n 0.45\n ],\n \"57681\": [\n 0,\n 0.12,\n 0,\n 0,\n 0.45\n ],\n \"57682\": [\n 0,\n 0.12,\n 0,\n 0,\n 0.45\n ],\n \"57683\": [\n 0,\n 0.12,\n 0,\n 0,\n 0.45\n ]\n },\n \"Typewriter-Regular\": {\n \"32\": [\n 0,\n 0,\n 0,\n 0,\n 0.525\n ],\n \"33\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"34\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"35\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"36\": [\n 0.08333,\n 0.69444,\n 0,\n 0,\n 0.525\n ],\n \"37\": [\n 0.08333,\n 0.69444,\n 0,\n 0,\n 0.525\n ],\n \"38\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"39\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"40\": [\n 0.08333,\n 0.69444,\n 0,\n 0,\n 0.525\n ],\n \"41\": [\n 0.08333,\n 0.69444,\n 0,\n 0,\n 0.525\n ],\n \"42\": [\n 0,\n 0.52083,\n 0,\n 0,\n 0.525\n ],\n \"43\": [\n -0.08056,\n 0.53055,\n 0,\n 0,\n 0.525\n ],\n \"44\": [\n 0.13889,\n 0.125,\n 0,\n 0,\n 0.525\n ],\n \"45\": [\n -0.08056,\n 0.53055,\n 0,\n 0,\n 0.525\n ],\n \"46\": [\n 0,\n 0.125,\n 0,\n 0,\n 0.525\n ],\n \"47\": [\n 0.08333,\n 0.69444,\n 0,\n 0,\n 0.525\n ],\n \"48\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"49\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"50\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"51\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"52\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"53\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"54\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"55\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"56\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"57\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"58\": [\n 0,\n 0.43056,\n 0,\n 0,\n 0.525\n ],\n \"59\": [\n 0.13889,\n 0.43056,\n 0,\n 0,\n 0.525\n ],\n \"60\": [\n -0.05556,\n 0.55556,\n 0,\n 0,\n 0.525\n ],\n \"61\": [\n -0.19549,\n 0.41562,\n 0,\n 0,\n 0.525\n ],\n \"62\": [\n -0.05556,\n 0.55556,\n 0,\n 0,\n 0.525\n ],\n \"63\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"64\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"65\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"66\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"67\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"68\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"69\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"70\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"71\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"72\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"73\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"74\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"75\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"76\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"77\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"78\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"79\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"80\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"81\": [\n 0.13889,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"82\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"83\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"84\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"85\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"86\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"87\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"88\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"89\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"90\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"91\": [\n 0.08333,\n 0.69444,\n 0,\n 0,\n 0.525\n ],\n \"92\": [\n 0.08333,\n 0.69444,\n 0,\n 0,\n 0.525\n ],\n \"93\": [\n 0.08333,\n 0.69444,\n 0,\n 0,\n 0.525\n ],\n \"94\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"95\": [\n 0.09514,\n 0,\n 0,\n 0,\n 0.525\n ],\n \"96\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"97\": [\n 0,\n 0.43056,\n 0,\n 0,\n 0.525\n ],\n \"98\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"99\": [\n 0,\n 0.43056,\n 0,\n 0,\n 0.525\n ],\n \"100\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"101\": [\n 0,\n 0.43056,\n 0,\n 0,\n 0.525\n ],\n \"102\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"103\": [\n 0.22222,\n 0.43056,\n 0,\n 0,\n 0.525\n ],\n \"104\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"105\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"106\": [\n 0.22222,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"107\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"108\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"109\": [\n 0,\n 0.43056,\n 0,\n 0,\n 0.525\n ],\n \"110\": [\n 0,\n 0.43056,\n 0,\n 0,\n 0.525\n ],\n \"111\": [\n 0,\n 0.43056,\n 0,\n 0,\n 0.525\n ],\n \"112\": [\n 0.22222,\n 0.43056,\n 0,\n 0,\n 0.525\n ],\n \"113\": [\n 0.22222,\n 0.43056,\n 0,\n 0,\n 0.525\n ],\n \"114\": [\n 0,\n 0.43056,\n 0,\n 0,\n 0.525\n ],\n \"115\": [\n 0,\n 0.43056,\n 0,\n 0,\n 0.525\n ],\n \"116\": [\n 0,\n 0.55358,\n 0,\n 0,\n 0.525\n ],\n \"117\": [\n 0,\n 0.43056,\n 0,\n 0,\n 0.525\n ],\n \"118\": [\n 0,\n 0.43056,\n 0,\n 0,\n 0.525\n ],\n \"119\": [\n 0,\n 0.43056,\n 0,\n 0,\n 0.525\n ],\n \"120\": [\n 0,\n 0.43056,\n 0,\n 0,\n 0.525\n ],\n \"121\": [\n 0.22222,\n 0.43056,\n 0,\n 0,\n 0.525\n ],\n \"122\": [\n 0,\n 0.43056,\n 0,\n 0,\n 0.525\n ],\n \"123\": [\n 0.08333,\n 0.69444,\n 0,\n 0,\n 0.525\n ],\n \"124\": [\n 0.08333,\n 0.69444,\n 0,\n 0,\n 0.525\n ],\n \"125\": [\n 0.08333,\n 0.69444,\n 0,\n 0,\n 0.525\n ],\n \"126\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"127\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"160\": [\n 0,\n 0,\n 0,\n 0,\n 0.525\n ],\n \"176\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"184\": [\n 0.19445,\n 0,\n 0,\n 0,\n 0.525\n ],\n \"305\": [\n 0,\n 0.43056,\n 0,\n 0,\n 0.525\n ],\n \"567\": [\n 0.22222,\n 0.43056,\n 0,\n 0,\n 0.525\n ],\n \"711\": [\n 0,\n 0.56597,\n 0,\n 0,\n 0.525\n ],\n \"713\": [\n 0,\n 0.56555,\n 0,\n 0,\n 0.525\n ],\n \"714\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"715\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"728\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"730\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"770\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"771\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"776\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"915\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"916\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"920\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"923\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"926\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"928\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"931\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"933\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"934\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"936\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"937\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"8216\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"8217\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"8242\": [\n 0,\n 0.61111,\n 0,\n 0,\n 0.525\n ],\n \"9251\": [\n 0.11111,\n 0.21944,\n 0,\n 0,\n 0.525\n ]\n }\n };\n /**\n * This file contains metrics regarding fonts and individual symbols. The sigma\n * and xi variables, as well as the metricMap map contain data extracted from\n * TeX, TeX font metrics, and the TTF files. These data are then exposed via the\n * `metrics` variable and the getCharacterMetrics function.\n */ // In TeX, there are actually three sets of dimensions, one for each of\n // textstyle (size index 5 and higher: >=9pt), scriptstyle (size index 3 and 4:\n // 7-8pt), and scriptscriptstyle (size index 1 and 2: 5-6pt). These are\n // provided in the arrays below, in that order.\n //\n // The font metrics are stored in fonts cmsy10, cmsy7, and cmsy5 respectively.\n // This was determined by running the following script:\n //\n // latex -interaction=nonstopmode \\\n // '\\documentclass{article}\\usepackage{amsmath}\\begin{document}' \\\n // '$a$ \\expandafter\\show\\the\\textfont2' \\\n // '\\expandafter\\show\\the\\scriptfont2' \\\n // '\\expandafter\\show\\the\\scriptscriptfont2' \\\n // '\\stop'\n //\n // The metrics themselves were retrieved using the following commands:\n //\n // tftopl cmsy10\n // tftopl cmsy7\n // tftopl cmsy5\n //\n // The output of each of these commands is quite lengthy. The only part we\n // care about is the FONTDIMEN section. Each value is measured in EMs.\n const sigmasAndXis = {\n slant: [\n 0.250,\n 0.250,\n 0.250\n ],\n // sigma1\n space: [\n 0.000,\n 0.000,\n 0.000\n ],\n // sigma2\n stretch: [\n 0.000,\n 0.000,\n 0.000\n ],\n // sigma3\n shrink: [\n 0.000,\n 0.000,\n 0.000\n ],\n // sigma4\n xHeight: [\n 0.431,\n 0.431,\n 0.431\n ],\n // sigma5\n quad: [\n 1.000,\n 1.171,\n 1.472\n ],\n // sigma6\n extraSpace: [\n 0.000,\n 0.000,\n 0.000\n ],\n // sigma7\n num1: [\n 0.677,\n 0.732,\n 0.925\n ],\n // sigma8\n num2: [\n 0.394,\n 0.384,\n 0.387\n ],\n // sigma9\n num3: [\n 0.444,\n 0.471,\n 0.504\n ],\n // sigma10\n denom1: [\n 0.686,\n 0.752,\n 1.025\n ],\n // sigma11\n denom2: [\n 0.345,\n 0.344,\n 0.532\n ],\n // sigma12\n sup1: [\n 0.413,\n 0.503,\n 0.504\n ],\n // sigma13\n sup2: [\n 0.363,\n 0.431,\n 0.404\n ],\n // sigma14\n sup3: [\n 0.289,\n 0.286,\n 0.294\n ],\n // sigma15\n sub1: [\n 0.150,\n 0.143,\n 0.200\n ],\n // sigma16\n sub2: [\n 0.247,\n 0.286,\n 0.400\n ],\n // sigma17\n supDrop: [\n 0.386,\n 0.353,\n 0.494\n ],\n // sigma18\n subDrop: [\n 0.050,\n 0.071,\n 0.100\n ],\n // sigma19\n delim1: [\n 2.390,\n 1.700,\n 1.980\n ],\n // sigma20\n delim2: [\n 1.010,\n 1.157,\n 1.420\n ],\n // sigma21\n axisHeight: [\n 0.250,\n 0.250,\n 0.250\n ],\n // sigma22\n // These font metrics are extracted from TeX by using tftopl on cmex10.tfm;\n // they correspond to the font parameters of the extension fonts (family 3).\n // See the TeXbook, page 441. In AMSTeX, the extension fonts scale; to\n // match cmex7, we'd use cmex7.tfm values for script and scriptscript\n // values.\n defaultRuleThickness: [\n 0.04,\n 0.049,\n 0.049\n ],\n // xi8; cmex7: 0.049\n bigOpSpacing1: [\n 0.111,\n 0.111,\n 0.111\n ],\n // xi9\n bigOpSpacing2: [\n 0.166,\n 0.166,\n 0.166\n ],\n // xi10\n bigOpSpacing3: [\n 0.2,\n 0.2,\n 0.2\n ],\n // xi11\n bigOpSpacing4: [\n 0.6,\n 0.611,\n 0.611\n ],\n // xi12; cmex7: 0.611\n bigOpSpacing5: [\n 0.1,\n 0.143,\n 0.143\n ],\n // xi13; cmex7: 0.143\n // The \\sqrt rule width is taken from the height of the surd character.\n // Since we use the same font at all sizes, this thickness doesn't scale.\n sqrtRuleThickness: [\n 0.04,\n 0.04,\n 0.04\n ],\n // This value determines how large a pt is, for metrics which are defined\n // in terms of pts.\n // This value is also used in katex.scss; if you change it make sure the\n // values match.\n ptPerEm: [\n 10.0,\n 10.0,\n 10.0\n ],\n // The space between adjacent `|` columns in an array definition. From\n // `\\showthe\\doublerulesep` in LaTeX. Equals 2.0 / ptPerEm.\n doubleRuleSep: [\n 0.2,\n 0.2,\n 0.2\n ],\n // The width of separator lines in {array} environments. From\n // `\\showthe\\arrayrulewidth` in LaTeX. Equals 0.4 / ptPerEm.\n arrayRuleWidth: [\n 0.04,\n 0.04,\n 0.04\n ],\n // Two values from LaTeX source2e:\n fboxsep: [\n 0.3,\n 0.3,\n 0.3\n ],\n // 3 pt / ptPerEm\n fboxrule: [\n 0.04,\n 0.04,\n 0.04\n ] // 0.4 pt / ptPerEm\n }; // This map contains a mapping from font name and character code to character\n // metrics, including height, depth, italic correction, and skew (kern from the\n // character to the corresponding \\skewchar)\n // This map is generated via `make metrics`. It should not be changed manually.\n // These are very rough approximations. We default to Times New Roman which\n // should have Latin-1 and Cyrillic characters, but may not depending on the\n // operating system. The metrics do not account for extra height from the\n // accents. In the case of Cyrillic characters which have both ascenders and\n // descenders we prefer approximations with ascenders, primarily to prevent\n // the fraction bar or root line from intersecting the glyph.\n // TODO(kevinb) allow union of multiple glyph metrics for better accuracy.\n const extraCharacterMap = {\n // Latin-1\n \"\\xc5\": \"A\",\n \"\\xd0\": \"D\",\n \"\\xde\": \"o\",\n \"\\xe5\": \"a\",\n \"\\xf0\": \"d\",\n \"\\xfe\": \"o\",\n // Cyrillic\n \"\\u0410\": \"A\",\n \"\\u0411\": \"B\",\n \"\\u0412\": \"B\",\n \"\\u0413\": \"F\",\n \"\\u0414\": \"A\",\n \"\\u0415\": \"E\",\n \"\\u0416\": \"K\",\n \"\\u0417\": \"3\",\n \"\\u0418\": \"N\",\n \"\\u0419\": \"N\",\n \"\\u041A\": \"K\",\n \"\\u041B\": \"N\",\n \"\\u041C\": \"M\",\n \"\\u041D\": \"H\",\n \"\\u041E\": \"O\",\n \"\\u041F\": \"N\",\n \"\\u0420\": \"P\",\n \"\\u0421\": \"C\",\n \"\\u0422\": \"T\",\n \"\\u0423\": \"y\",\n \"\\u0424\": \"O\",\n \"\\u0425\": \"X\",\n \"\\u0426\": \"U\",\n \"\\u0427\": \"h\",\n \"\\u0428\": \"W\",\n \"\\u0429\": \"W\",\n \"\\u042A\": \"B\",\n \"\\u042B\": \"X\",\n \"\\u042C\": \"B\",\n \"\\u042D\": \"3\",\n \"\\u042E\": \"X\",\n \"\\u042F\": \"R\",\n \"\\u0430\": \"a\",\n \"\\u0431\": \"b\",\n \"\\u0432\": \"a\",\n \"\\u0433\": \"r\",\n \"\\u0434\": \"y\",\n \"\\u0435\": \"e\",\n \"\\u0436\": \"m\",\n \"\\u0437\": \"e\",\n \"\\u0438\": \"n\",\n \"\\u0439\": \"n\",\n \"\\u043A\": \"n\",\n \"\\u043B\": \"n\",\n \"\\u043C\": \"m\",\n \"\\u043D\": \"n\",\n \"\\u043E\": \"o\",\n \"\\u043F\": \"n\",\n \"\\u0440\": \"p\",\n \"\\u0441\": \"c\",\n \"\\u0442\": \"o\",\n \"\\u0443\": \"y\",\n \"\\u0444\": \"b\",\n \"\\u0445\": \"x\",\n \"\\u0446\": \"n\",\n \"\\u0447\": \"n\",\n \"\\u0448\": \"w\",\n \"\\u0449\": \"w\",\n \"\\u044A\": \"a\",\n \"\\u044B\": \"m\",\n \"\\u044C\": \"a\",\n \"\\u044D\": \"e\",\n \"\\u044E\": \"m\",\n \"\\u044F\": \"r\"\n };\n /**\n * This function adds new font metrics to default metricMap\n * It can also override existing metrics\n */ function setFontMetrics(fontName, metrics) {\n fontMetricsData[fontName] = metrics;\n }\n /**\n * This function is a convenience function for looking up information in the\n * metricMap table. It takes a character as a string, and a font.\n *\n * Note: the `width` property may be undefined if fontMetricsData.js wasn't\n * built using `Make extended_metrics`.\n */ function getCharacterMetrics(character, font, mode) {\n if (!fontMetricsData[font]) throw new Error(\"Font metrics not found for font: \" + font + \".\");\n let ch = character.charCodeAt(0);\n let metrics = fontMetricsData[font][ch];\n if (!metrics && character[0] in extraCharacterMap) {\n ch = extraCharacterMap[character[0]].charCodeAt(0);\n metrics = fontMetricsData[font][ch];\n }\n if (!metrics && mode === \"text\") // We don't typically have font metrics for Asian scripts.\n // But since we support them in text mode, we need to return\n // some sort of metrics.\n // So if the character is in a script we support but we\n // don't have metrics for it, just use the metrics for\n // the Latin capital letter M. This is close enough because\n // we (currently) only care about the height of the glyph\n // not its width.\n {\n if (supportedCodepoint(ch)) metrics = fontMetricsData[font][77]; // 77 is the charcode for 'M'\n }\n if (metrics) return {\n depth: metrics[0],\n height: metrics[1],\n italic: metrics[2],\n skew: metrics[3],\n width: metrics[4]\n };\n }\n const fontMetricsBySizeIndex = {};\n /**\n * Get the font metrics for a given size.\n */ function getGlobalMetrics(size) {\n let sizeIndex;\n if (size >= 5) sizeIndex = 0;\n else if (size >= 3) sizeIndex = 1;\n else sizeIndex = 2;\n if (!fontMetricsBySizeIndex[sizeIndex]) {\n const metrics = fontMetricsBySizeIndex[sizeIndex] = {\n cssEmPerMu: sigmasAndXis.quad[sizeIndex] / 18\n };\n for(const key in sigmasAndXis)if (sigmasAndXis.hasOwnProperty(key)) metrics[key] = sigmasAndXis[key][sizeIndex];\n }\n return fontMetricsBySizeIndex[sizeIndex];\n }\n /**\n * This file contains information about the options that the Parser carries\n * around with it while parsing. Data is held in an `Options` object, and when\n * recursing, a new `Options` object can be created with the `.with*` and\n * `.reset` functions.\n */ const sizeStyleMap = [\n // The size mappings are taken from TeX with \\normalsize=10pt.\n [\n 1,\n 1,\n 1\n ],\n [\n 2,\n 1,\n 1\n ],\n [\n 3,\n 1,\n 1\n ],\n [\n 4,\n 2,\n 1\n ],\n [\n 5,\n 2,\n 1\n ],\n [\n 6,\n 3,\n 1\n ],\n [\n 7,\n 4,\n 2\n ],\n [\n 8,\n 6,\n 3\n ],\n [\n 9,\n 7,\n 6\n ],\n [\n 10,\n 8,\n 7\n ],\n [\n 11,\n 10,\n 9\n ] // size11: [24.88, 20.74, 17.28] \\HUGE\n ];\n const sizeMultipliers = [\n // you change size indexes, change that function.\n 0.5,\n 0.6,\n 0.7,\n 0.8,\n 0.9,\n 1.0,\n 1.2,\n 1.44,\n 1.728,\n 2.074,\n 2.488\n ];\n const sizeAtStyle = function(size, style) {\n return style.size < 2 ? size : sizeStyleMap[size - 1][style.size - 1];\n }; // In these types, \"\" (empty string) means \"no change\".\n /**\n * This is the main options class. It contains the current style, size, color,\n * and font.\n *\n * Options objects should not be modified. To create a new Options with\n * different properties, call a `.having*` method.\n */ class Options {\n // A font family applies to a group of fonts (i.e. SansSerif), while a font\n // represents a specific font (i.e. SansSerif Bold).\n // See: https://tex.stackexchange.com/questions/22350/difference-between-textrm-and-mathrm\n /**\n * The base size index.\n */ constructor(data){\n this.style = void 0;\n this.color = void 0;\n this.size = void 0;\n this.textSize = void 0;\n this.phantom = void 0;\n this.font = void 0;\n this.fontFamily = void 0;\n this.fontWeight = void 0;\n this.fontShape = void 0;\n this.sizeMultiplier = void 0;\n this.maxSize = void 0;\n this.minRuleThickness = void 0;\n this._fontMetrics = void 0;\n this.style = data.style;\n this.color = data.color;\n this.size = data.size || Options.BASESIZE;\n this.textSize = data.textSize || this.size;\n this.phantom = !!data.phantom;\n this.font = data.font || \"\";\n this.fontFamily = data.fontFamily || \"\";\n this.fontWeight = data.fontWeight || \"\";\n this.fontShape = data.fontShape || \"\";\n this.sizeMultiplier = sizeMultipliers[this.size - 1];\n this.maxSize = data.maxSize;\n this.minRuleThickness = data.minRuleThickness;\n this._fontMetrics = undefined;\n }\n /**\n * Returns a new options object with the same properties as \"this\". Properties\n * from \"extension\" will be copied to the new options object.\n */ extend(extension) {\n const data = {\n style: this.style,\n size: this.size,\n textSize: this.textSize,\n color: this.color,\n phantom: this.phantom,\n font: this.font,\n fontFamily: this.fontFamily,\n fontWeight: this.fontWeight,\n fontShape: this.fontShape,\n maxSize: this.maxSize,\n minRuleThickness: this.minRuleThickness\n };\n for(const key in extension)if (extension.hasOwnProperty(key)) data[key] = extension[key];\n return new Options(data);\n }\n /**\n * Return an options object with the given style. If `this.style === style`,\n * returns `this`.\n */ havingStyle(style) {\n if (this.style === style) return this;\n else return this.extend({\n style: style,\n size: sizeAtStyle(this.textSize, style)\n });\n }\n /**\n * Return an options object with a cramped version of the current style. If\n * the current style is cramped, returns `this`.\n */ havingCrampedStyle() {\n return this.havingStyle(this.style.cramp());\n }\n /**\n * Return an options object with the given size and in at least `\\textstyle`.\n * Returns `this` if appropriate.\n */ havingSize(size) {\n if (this.size === size && this.textSize === size) return this;\n else return this.extend({\n style: this.style.text(),\n size: size,\n textSize: size,\n sizeMultiplier: sizeMultipliers[size - 1]\n });\n }\n /**\n * Like `this.havingSize(BASESIZE).havingStyle(style)`. If `style` is omitted,\n * changes to at least `\\textstyle`.\n */ havingBaseStyle(style) {\n style = style || this.style.text();\n const wantSize = sizeAtStyle(Options.BASESIZE, style);\n if (this.size === wantSize && this.textSize === Options.BASESIZE && this.style === style) return this;\n else return this.extend({\n style: style,\n size: wantSize\n });\n }\n /**\n * Remove the effect of sizing changes such as \\Huge.\n * Keep the effect of the current style, such as \\scriptstyle.\n */ havingBaseSizing() {\n let size;\n switch(this.style.id){\n case 4:\n case 5:\n size = 3; // normalsize in scriptstyle\n break;\n case 6:\n case 7:\n size = 1; // normalsize in scriptscriptstyle\n break;\n default:\n size = 6;\n }\n return this.extend({\n style: this.style.text(),\n size: size\n });\n }\n /**\n * Create a new options object with the given color.\n */ withColor(color) {\n return this.extend({\n color: color\n });\n }\n /**\n * Create a new options object with \"phantom\" set to true.\n */ withPhantom() {\n return this.extend({\n phantom: true\n });\n }\n /**\n * Creates a new options object with the given math font or old text font.\n * @type {[type]}\n */ withFont(font) {\n return this.extend({\n font: font\n });\n }\n /**\n * Create a new options objects with the given fontFamily.\n */ withTextFontFamily(fontFamily) {\n return this.extend({\n fontFamily: fontFamily,\n font: \"\"\n });\n }\n /**\n * Creates a new options object with the given font weight\n */ withTextFontWeight(fontWeight) {\n return this.extend({\n fontWeight: fontWeight,\n font: \"\"\n });\n }\n /**\n * Creates a new options object with the given font weight\n */ withTextFontShape(fontShape) {\n return this.extend({\n fontShape: fontShape,\n font: \"\"\n });\n }\n /**\n * Return the CSS sizing classes required to switch from enclosing options\n * `oldOptions` to `this`. Returns an array of classes.\n */ sizingClasses(oldOptions) {\n if (oldOptions.size !== this.size) return [\n \"sizing\",\n \"reset-size\" + oldOptions.size,\n \"size\" + this.size\n ];\n else return [];\n }\n /**\n * Return the CSS sizing classes required to switch to the base size. Like\n * `this.havingSize(BASESIZE).sizingClasses(this)`.\n */ baseSizingClasses() {\n if (this.size !== Options.BASESIZE) return [\n \"sizing\",\n \"reset-size\" + this.size,\n \"size\" + Options.BASESIZE\n ];\n else return [];\n }\n /**\n * Return the font metrics for this size.\n */ fontMetrics() {\n if (!this._fontMetrics) this._fontMetrics = getGlobalMetrics(this.size);\n return this._fontMetrics;\n }\n /**\n * Gets the CSS color of the current options object\n */ getColor() {\n if (this.phantom) return \"transparent\";\n else return this.color;\n }\n }\n Options.BASESIZE = 6;\n /* harmony default export */ var src_Options = Options;\n /**\n * This file does conversion between units. In particular, it provides\n * calculateSize to convert other units into ems.\n */ // This table gives the number of TeX pts in one of each *absolute* TeX unit.\n // Thus, multiplying a length by this number converts the length from units\n // into pts. Dividing the result by ptPerEm gives the number of ems\n // *assuming* a font size of ptPerEm (normal size, normal style).\n const ptPerUnit = {\n // https://en.wikibooks.org/wiki/LaTeX/Lengths and\n // https://tex.stackexchange.com/a/8263\n \"pt\": 1,\n // TeX point\n \"mm\": 7227 / 2540,\n // millimeter\n \"cm\": 7227 / 254,\n // centimeter\n \"in\": 72.27,\n // inch\n \"bp\": 1.00375,\n // big (PostScript) points\n \"pc\": 12,\n // pica\n \"dd\": 1238 / 1157,\n // didot\n \"cc\": 14856 / 1157,\n // cicero (12 didot)\n \"nd\": 685 / 642,\n // new didot\n \"nc\": 1370 / 107,\n // new cicero (12 new didot)\n \"sp\": 1 / 65536,\n // scaled point (TeX's internal smallest unit)\n // https://tex.stackexchange.com/a/41371\n \"px\": 1.00375 // \\pdfpxdimen defaults to 1 bp in pdfTeX and LuaTeX\n }; // Dictionary of relative units, for fast validity testing.\n const relativeUnit = {\n \"ex\": true,\n \"em\": true,\n \"mu\": true\n };\n /**\n * Determine whether the specified unit (either a string defining the unit\n * or a \"size\" parse node containing a unit field) is valid.\n */ const validUnit = function(unit) {\n if (typeof unit !== \"string\") unit = unit.unit;\n return unit in ptPerUnit || unit in relativeUnit || unit === \"ex\";\n };\n /*\n * Convert a \"size\" parse node (with numeric \"number\" and string \"unit\" fields,\n * as parsed by functions.js argType \"size\") into a CSS em value for the\n * current style/scale. `options` gives the current options.\n */ const calculateSize = function(sizeValue, options) {\n let scale;\n if (sizeValue.unit in ptPerUnit) // Absolute units\n scale = ptPerUnit[sizeValue.unit] // Convert unit to pt\n / options.fontMetrics().ptPerEm // Convert pt to CSS em\n / options.sizeMultiplier; // Unscale to make absolute units\n else if (sizeValue.unit === \"mu\") // `mu` units scale with scriptstyle/scriptscriptstyle.\n scale = options.fontMetrics().cssEmPerMu;\n else {\n // Other relative units always refer to the *textstyle* font\n // in the current size.\n let unitOptions;\n if (options.style.isTight()) // isTight() means current style is script/scriptscript.\n unitOptions = options.havingStyle(options.style.text());\n else unitOptions = options;\n // TODO: In TeX these units are relative to the quad of the current\n // *text* font, e.g. cmr10. KaTeX instead uses values from the\n // comparably-sized *Computer Modern symbol* font. At 10pt, these\n // match. At 7pt and 5pt, they differ: cmr7=1.138894, cmsy7=1.170641;\n // cmr5=1.361133, cmsy5=1.472241. Consider $\\scriptsize a\\kern1emb$.\n // TeX \\showlists shows a kern of 1.13889 * fontsize;\n // KaTeX shows a kern of 1.171 * fontsize.\n if (sizeValue.unit === \"ex\") scale = unitOptions.fontMetrics().xHeight;\n else if (sizeValue.unit === \"em\") scale = unitOptions.fontMetrics().quad;\n else throw new src_ParseError(\"Invalid unit: '\" + sizeValue.unit + \"'\");\n if (unitOptions !== options) scale *= unitOptions.sizeMultiplier / options.sizeMultiplier;\n }\n return Math.min(sizeValue.number * scale, options.maxSize);\n };\n /**\n * Round `n` to 4 decimal places, or to the nearest 1/10,000th em. See\n * https://github.com/KaTeX/KaTeX/pull/2460.\n */ const makeEm = function(n) {\n return +n.toFixed(4) + \"em\";\n };\n /**\n * These objects store the data about the DOM nodes we create, as well as some\n * extra data. They can then be transformed into real DOM nodes with the\n * `toNode` function or HTML markup using `toMarkup`. They are useful for both\n * storing extra properties on the nodes, as well as providing a way to easily\n * work with the DOM.\n *\n * Similar functions for working with MathML nodes exist in mathMLTree.js.\n *\n * TODO: refactor `span` and `anchor` into common superclass when\n * target environments support class inheritance\n */ /**\n * Create an HTML className based on a list of classes. In addition to joining\n * with spaces, we also remove empty classes.\n */ const createClass = function(classes) {\n return classes.filter((cls)=>cls).join(\" \");\n };\n const initNode = function(classes, options, style) {\n this.classes = classes || [];\n this.attributes = {};\n this.height = 0;\n this.depth = 0;\n this.maxFontSize = 0;\n this.style = style || {};\n if (options) {\n if (options.style.isTight()) this.classes.push(\"mtight\");\n const color = options.getColor();\n if (color) this.style.color = color;\n }\n };\n /**\n * Convert into an HTML node\n */ const toNode = function(tagName) {\n const node = document.createElement(tagName); // Apply the class\n node.className = createClass(this.classes); // Apply inline styles\n for(const style in this.style)if (this.style.hasOwnProperty(style)) // $FlowFixMe Flow doesn't seem to understand span.style's type.\n node.style[style] = this.style[style];\n // Apply attributes\n for(const attr in this.attributes)if (this.attributes.hasOwnProperty(attr)) node.setAttribute(attr, this.attributes[attr]);\n // Append the children, also as HTML nodes\n for(let i = 0; i < this.children.length; i++)node.appendChild(this.children[i].toNode());\n return node;\n };\n /**\n * Convert into an HTML markup string\n */ const toMarkup = function(tagName) {\n let markup = \"<\" + tagName; // Add the class\n if (this.classes.length) markup += ' class=\"' + utils.escape(createClass(this.classes)) + '\"';\n let styles = \"\"; // Add the styles, after hyphenation\n for(const style in this.style)if (this.style.hasOwnProperty(style)) styles += utils.hyphenate(style) + \":\" + this.style[style] + \";\";\n if (styles) markup += ' style=\"' + utils.escape(styles) + '\"';\n // Add the attributes\n for(const attr in this.attributes)if (this.attributes.hasOwnProperty(attr)) markup += \" \" + attr + '=\"' + utils.escape(this.attributes[attr]) + '\"';\n markup += \">\"; // Add the markup of the children, also as markup\n for(let i = 0; i < this.children.length; i++)markup += this.children[i].toMarkup();\n markup += \"\" + tagName + \">\";\n return markup;\n }; // Making the type below exact with all optional fields doesn't work due to\n // - https://github.com/facebook/flow/issues/4582\n // - https://github.com/facebook/flow/issues/5688\n // However, since *all* fields are optional, $Shape<> works as suggested in 5688\n // above.\n // This type does not include all CSS properties. Additional properties should\n // be added as needed.\n /**\n * This node represents a span node, with a className, a list of children, and\n * an inline style. It also contains information about its height, depth, and\n * maxFontSize.\n *\n * Represents two types with different uses: SvgSpan to wrap an SVG and DomSpan\n * otherwise. This typesafety is important when HTML builders access a span's\n * children.\n */ class Span {\n constructor(classes, children, options, style){\n this.children = void 0;\n this.attributes = void 0;\n this.classes = void 0;\n this.height = void 0;\n this.depth = void 0;\n this.width = void 0;\n this.maxFontSize = void 0;\n this.style = void 0;\n initNode.call(this, classes, options, style);\n this.children = children || [];\n }\n /**\n * Sets an arbitrary attribute on the span. Warning: use this wisely. Not\n * all browsers support attributes the same, and having too many custom\n * attributes is probably bad.\n */ setAttribute(attribute, value) {\n this.attributes[attribute] = value;\n }\n hasClass(className) {\n return utils.contains(this.classes, className);\n }\n toNode() {\n return toNode.call(this, \"span\");\n }\n toMarkup() {\n return toMarkup.call(this, \"span\");\n }\n }\n /**\n * This node represents an anchor () element with a hyperlink. See `span`\n * for further details.\n */ class Anchor {\n constructor(href, classes, children, options){\n this.children = void 0;\n this.attributes = void 0;\n this.classes = void 0;\n this.height = void 0;\n this.depth = void 0;\n this.maxFontSize = void 0;\n this.style = void 0;\n initNode.call(this, classes, options);\n this.children = children || [];\n this.setAttribute(\"href\", href);\n }\n setAttribute(attribute, value) {\n this.attributes[attribute] = value;\n }\n hasClass(className) {\n return utils.contains(this.classes, className);\n }\n toNode() {\n return toNode.call(this, \"a\");\n }\n toMarkup() {\n return toMarkup.call(this, \"a\");\n }\n }\n /**\n * This node represents an image embed ( ) element.\n */ class Img {\n constructor(src, alt, style){\n this.src = void 0;\n this.alt = void 0;\n this.classes = void 0;\n this.height = void 0;\n this.depth = void 0;\n this.maxFontSize = void 0;\n this.style = void 0;\n this.alt = alt;\n this.src = src;\n this.classes = [\n \"mord\"\n ];\n this.style = style;\n }\n hasClass(className) {\n return utils.contains(this.classes, className);\n }\n toNode() {\n const node = document.createElement(\"img\");\n node.src = this.src;\n node.alt = this.alt;\n node.className = \"mord\"; // Apply inline styles\n for(const style in this.style)if (this.style.hasOwnProperty(style)) // $FlowFixMe\n node.style[style] = this.style[style];\n return node;\n }\n toMarkup() {\n let markup = ' \";\n return markup;\n }\n }\n const iCombinations = {\n \"\\xee\": \"\\u0131\\u0302\",\n \"\\xef\": \"\\u0131\\u0308\",\n \"\\xed\": \"\\u0131\\u0301\",\n // 'ī': '\\u0131\\u0304', // enable when we add Extended Latin\n \"\\xec\": \"\\u0131\\u0300\"\n };\n /**\n * A symbol node contains information about a single symbol. It either renders\n * to a single text node, or a span with a single text node in it, depending on\n * whether it has CSS classes, styles, or needs italic correction.\n */ class SymbolNode {\n constructor(text, height, depth, italic, skew, width, classes, style){\n this.text = void 0;\n this.height = void 0;\n this.depth = void 0;\n this.italic = void 0;\n this.skew = void 0;\n this.width = void 0;\n this.maxFontSize = void 0;\n this.classes = void 0;\n this.style = void 0;\n this.text = text;\n this.height = height || 0;\n this.depth = depth || 0;\n this.italic = italic || 0;\n this.skew = skew || 0;\n this.width = width || 0;\n this.classes = classes || [];\n this.style = style || {};\n this.maxFontSize = 0; // Mark text from non-Latin scripts with specific classes so that we\n // can specify which fonts to use. This allows us to render these\n // characters with a serif font in situations where the browser would\n // either default to a sans serif or render a placeholder character.\n // We use CSS class names like cjk_fallback, hangul_fallback and\n // brahmic_fallback. See ./unicodeScripts.js for the set of possible\n // script names\n const script = scriptFromCodepoint(this.text.charCodeAt(0));\n if (script) this.classes.push(script + \"_fallback\");\n if (/[îïíì]/.test(this.text)) // add ī when we add Extended Latin\n this.text = iCombinations[this.text];\n }\n hasClass(className) {\n return utils.contains(this.classes, className);\n }\n /**\n * Creates a text node or span from a symbol node. Note that a span is only\n * created if it is needed.\n */ toNode() {\n const node = document.createTextNode(this.text);\n let span = null;\n if (this.italic > 0) {\n span = document.createElement(\"span\");\n span.style.marginRight = makeEm(this.italic);\n }\n if (this.classes.length > 0) {\n span = span || document.createElement(\"span\");\n span.className = createClass(this.classes);\n }\n for(const style in this.style)if (this.style.hasOwnProperty(style)) {\n span = span || document.createElement(\"span\"); // $FlowFixMe Flow doesn't seem to understand span.style's type.\n span.style[style] = this.style[style];\n }\n if (span) {\n span.appendChild(node);\n return span;\n } else return node;\n }\n /**\n * Creates markup for a symbol node.\n */ toMarkup() {\n // TODO(alpert): More duplication than I'd like from\n // span.prototype.toMarkup and symbolNode.prototype.toNode...\n let needsSpan = false;\n let markup = \" 0) styles += \"margin-right:\" + this.italic + \"em;\";\n for(const style in this.style)if (this.style.hasOwnProperty(style)) styles += utils.hyphenate(style) + \":\" + this.style[style] + \";\";\n if (styles) {\n needsSpan = true;\n markup += ' style=\"' + utils.escape(styles) + '\"';\n }\n const escaped = utils.escape(this.text);\n if (needsSpan) {\n markup += \">\";\n markup += escaped;\n markup += \" \";\n return markup;\n } else return escaped;\n }\n }\n /**\n * SVG nodes are used to render stretchy wide elements.\n */ class SvgNode {\n constructor(children, attributes){\n this.children = void 0;\n this.attributes = void 0;\n this.children = children || [];\n this.attributes = attributes || {};\n }\n toNode() {\n const svgNS = \"http://www.w3.org/2000/svg\";\n const node = document.createElementNS(svgNS, \"svg\"); // Apply attributes\n for(const attr in this.attributes)if (Object.prototype.hasOwnProperty.call(this.attributes, attr)) node.setAttribute(attr, this.attributes[attr]);\n for(let i = 0; i < this.children.length; i++)node.appendChild(this.children[i].toNode());\n return node;\n }\n toMarkup() {\n let markup = '\";\n for(let i = 0; i < this.children.length; i++)markup += this.children[i].toMarkup();\n markup += \" \";\n return markup;\n }\n }\n class PathNode {\n constructor(pathName, alternate){\n this.pathName = void 0;\n this.alternate = void 0;\n this.pathName = pathName;\n this.alternate = alternate; // Used only for \\sqrt, \\phase, & tall delims\n }\n toNode() {\n const svgNS = \"http://www.w3.org/2000/svg\";\n const node = document.createElementNS(svgNS, \"path\");\n if (this.alternate) node.setAttribute(\"d\", this.alternate);\n else node.setAttribute(\"d\", path[this.pathName]);\n return node;\n }\n toMarkup() {\n if (this.alternate) return ' ';\n else return ' ';\n }\n }\n class LineNode {\n constructor(attributes){\n this.attributes = void 0;\n this.attributes = attributes || {};\n }\n toNode() {\n const svgNS = \"http://www.w3.org/2000/svg\";\n const node = document.createElementNS(svgNS, \"line\"); // Apply attributes\n for(const attr in this.attributes)if (Object.prototype.hasOwnProperty.call(this.attributes, attr)) node.setAttribute(attr, this.attributes[attr]);\n return node;\n }\n toMarkup() {\n let markup = \" \";\n return markup;\n }\n }\n function assertSymbolDomNode(group) {\n if (group instanceof SymbolNode) return group;\n else throw new Error(\"Expected symbolNode but got \" + String(group) + \".\");\n }\n function assertSpan(group) {\n if (group instanceof Span) return group;\n else throw new Error(\"Expected span but got \" + String(group) + \".\");\n }\n /**\n * This file holds a list of all no-argument functions and single-character\n * symbols (like 'a' or ';').\n *\n * For each of the symbols, there are three properties they can have:\n * - font (required): the font to be used for this symbol. Either \"main\" (the\n normal font), or \"ams\" (the ams fonts).\n * - group (required): the ParseNode group type the symbol should have (i.e.\n \"textord\", \"mathord\", etc).\n See https://github.com/KaTeX/KaTeX/wiki/Examining-TeX#group-types\n * - replace: the character that this symbol or function should be\n * replaced with (i.e. \"\\phi\" has a replace value of \"\\u03d5\", the phi\n * character in the main font).\n *\n * The outermost map in the table indicates what mode the symbols should be\n * accepted in (e.g. \"math\" or \"text\").\n */ // Some of these have a \"-token\" suffix since these are also used as `ParseNode`\n // types for raw text tokens, and we want to avoid conflicts with higher-level\n // `ParseNode` types. These `ParseNode`s are constructed within `Parser` by\n // looking up the `symbols` map.\n const ATOMS = {\n \"bin\": 1,\n \"close\": 1,\n \"inner\": 1,\n \"open\": 1,\n \"punct\": 1,\n \"rel\": 1\n };\n const NON_ATOMS = {\n \"accent-token\": 1,\n \"mathord\": 1,\n \"op-token\": 1,\n \"spacing\": 1,\n \"textord\": 1\n };\n const symbols = {\n \"math\": {},\n \"text\": {}\n };\n /* harmony default export */ var src_symbols = symbols;\n /** `acceptUnicodeChar = true` is only applicable if `replace` is set. */ function defineSymbol(mode, font, group, replace, name, acceptUnicodeChar) {\n symbols[mode][name] = {\n font: font,\n group: group,\n replace: replace\n };\n if (acceptUnicodeChar && replace) symbols[mode][replace] = symbols[mode][name];\n } // Some abbreviations for commonly used strings.\n // This helps minify the code, and also spotting typos using jshint.\n // modes:\n const math = \"math\";\n const symbols_text = \"text\"; // fonts:\n const main = \"main\";\n const ams = \"ams\"; // groups:\n const accent = \"accent-token\";\n const bin = \"bin\";\n const symbols_close = \"close\";\n const inner = \"inner\";\n const mathord = \"mathord\";\n const op = \"op-token\";\n const symbols_open = \"open\";\n const punct = \"punct\";\n const rel = \"rel\";\n const spacing = \"spacing\";\n const textord = \"textord\"; // Now comes the symbol table\n // Relation Symbols\n defineSymbol(math, main, rel, \"\\u2261\", \"\\\\equiv\", true);\n defineSymbol(math, main, rel, \"\\u227A\", \"\\\\prec\", true);\n defineSymbol(math, main, rel, \"\\u227B\", \"\\\\succ\", true);\n defineSymbol(math, main, rel, \"\\u223C\", \"\\\\sim\", true);\n defineSymbol(math, main, rel, \"\\u22A5\", \"\\\\perp\");\n defineSymbol(math, main, rel, \"\\u2AAF\", \"\\\\preceq\", true);\n defineSymbol(math, main, rel, \"\\u2AB0\", \"\\\\succeq\", true);\n defineSymbol(math, main, rel, \"\\u2243\", \"\\\\simeq\", true);\n defineSymbol(math, main, rel, \"\\u2223\", \"\\\\mid\", true);\n defineSymbol(math, main, rel, \"\\u226A\", \"\\\\ll\", true);\n defineSymbol(math, main, rel, \"\\u226B\", \"\\\\gg\", true);\n defineSymbol(math, main, rel, \"\\u224D\", \"\\\\asymp\", true);\n defineSymbol(math, main, rel, \"\\u2225\", \"\\\\parallel\");\n defineSymbol(math, main, rel, \"\\u22C8\", \"\\\\bowtie\", true);\n defineSymbol(math, main, rel, \"\\u2323\", \"\\\\smile\", true);\n defineSymbol(math, main, rel, \"\\u2291\", \"\\\\sqsubseteq\", true);\n defineSymbol(math, main, rel, \"\\u2292\", \"\\\\sqsupseteq\", true);\n defineSymbol(math, main, rel, \"\\u2250\", \"\\\\doteq\", true);\n defineSymbol(math, main, rel, \"\\u2322\", \"\\\\frown\", true);\n defineSymbol(math, main, rel, \"\\u220B\", \"\\\\ni\", true);\n defineSymbol(math, main, rel, \"\\u221D\", \"\\\\propto\", true);\n defineSymbol(math, main, rel, \"\\u22A2\", \"\\\\vdash\", true);\n defineSymbol(math, main, rel, \"\\u22A3\", \"\\\\dashv\", true);\n defineSymbol(math, main, rel, \"\\u220B\", \"\\\\owns\"); // Punctuation\n defineSymbol(math, main, punct, \".\", \"\\\\ldotp\");\n defineSymbol(math, main, punct, \"\\u22C5\", \"\\\\cdotp\"); // Misc Symbols\n defineSymbol(math, main, textord, \"#\", \"\\\\#\");\n defineSymbol(symbols_text, main, textord, \"#\", \"\\\\#\");\n defineSymbol(math, main, textord, \"&\", \"\\\\&\");\n defineSymbol(symbols_text, main, textord, \"&\", \"\\\\&\");\n defineSymbol(math, main, textord, \"\\u2135\", \"\\\\aleph\", true);\n defineSymbol(math, main, textord, \"\\u2200\", \"\\\\forall\", true);\n defineSymbol(math, main, textord, \"\\u210F\", \"\\\\hbar\", true);\n defineSymbol(math, main, textord, \"\\u2203\", \"\\\\exists\", true);\n defineSymbol(math, main, textord, \"\\u2207\", \"\\\\nabla\", true);\n defineSymbol(math, main, textord, \"\\u266D\", \"\\\\flat\", true);\n defineSymbol(math, main, textord, \"\\u2113\", \"\\\\ell\", true);\n defineSymbol(math, main, textord, \"\\u266E\", \"\\\\natural\", true);\n defineSymbol(math, main, textord, \"\\u2663\", \"\\\\clubsuit\", true);\n defineSymbol(math, main, textord, \"\\u2118\", \"\\\\wp\", true);\n defineSymbol(math, main, textord, \"\\u266F\", \"\\\\sharp\", true);\n defineSymbol(math, main, textord, \"\\u2662\", \"\\\\diamondsuit\", true);\n defineSymbol(math, main, textord, \"\\u211C\", \"\\\\Re\", true);\n defineSymbol(math, main, textord, \"\\u2661\", \"\\\\heartsuit\", true);\n defineSymbol(math, main, textord, \"\\u2111\", \"\\\\Im\", true);\n defineSymbol(math, main, textord, \"\\u2660\", \"\\\\spadesuit\", true);\n defineSymbol(math, main, textord, \"\\xa7\", \"\\\\S\", true);\n defineSymbol(symbols_text, main, textord, \"\\xa7\", \"\\\\S\");\n defineSymbol(math, main, textord, \"\\xb6\", \"\\\\P\", true);\n defineSymbol(symbols_text, main, textord, \"\\xb6\", \"\\\\P\"); // Math and Text\n defineSymbol(math, main, textord, \"\\u2020\", \"\\\\dag\");\n defineSymbol(symbols_text, main, textord, \"\\u2020\", \"\\\\dag\");\n defineSymbol(symbols_text, main, textord, \"\\u2020\", \"\\\\textdagger\");\n defineSymbol(math, main, textord, \"\\u2021\", \"\\\\ddag\");\n defineSymbol(symbols_text, main, textord, \"\\u2021\", \"\\\\ddag\");\n defineSymbol(symbols_text, main, textord, \"\\u2021\", \"\\\\textdaggerdbl\"); // Large Delimiters\n defineSymbol(math, main, symbols_close, \"\\u23B1\", \"\\\\rmoustache\", true);\n defineSymbol(math, main, symbols_open, \"\\u23B0\", \"\\\\lmoustache\", true);\n defineSymbol(math, main, symbols_close, \"\\u27EF\", \"\\\\rgroup\", true);\n defineSymbol(math, main, symbols_open, \"\\u27EE\", \"\\\\lgroup\", true); // Binary Operators\n defineSymbol(math, main, bin, \"\\u2213\", \"\\\\mp\", true);\n defineSymbol(math, main, bin, \"\\u2296\", \"\\\\ominus\", true);\n defineSymbol(math, main, bin, \"\\u228E\", \"\\\\uplus\", true);\n defineSymbol(math, main, bin, \"\\u2293\", \"\\\\sqcap\", true);\n defineSymbol(math, main, bin, \"\\u2217\", \"\\\\ast\");\n defineSymbol(math, main, bin, \"\\u2294\", \"\\\\sqcup\", true);\n defineSymbol(math, main, bin, \"\\u25EF\", \"\\\\bigcirc\", true);\n defineSymbol(math, main, bin, \"\\u2219\", \"\\\\bullet\", true);\n defineSymbol(math, main, bin, \"\\u2021\", \"\\\\ddagger\");\n defineSymbol(math, main, bin, \"\\u2240\", \"\\\\wr\", true);\n defineSymbol(math, main, bin, \"\\u2A3F\", \"\\\\amalg\");\n defineSymbol(math, main, bin, \"&\", \"\\\\And\"); // from amsmath\n // Arrow Symbols\n defineSymbol(math, main, rel, \"\\u27F5\", \"\\\\longleftarrow\", true);\n defineSymbol(math, main, rel, \"\\u21D0\", \"\\\\Leftarrow\", true);\n defineSymbol(math, main, rel, \"\\u27F8\", \"\\\\Longleftarrow\", true);\n defineSymbol(math, main, rel, \"\\u27F6\", \"\\\\longrightarrow\", true);\n defineSymbol(math, main, rel, \"\\u21D2\", \"\\\\Rightarrow\", true);\n defineSymbol(math, main, rel, \"\\u27F9\", \"\\\\Longrightarrow\", true);\n defineSymbol(math, main, rel, \"\\u2194\", \"\\\\leftrightarrow\", true);\n defineSymbol(math, main, rel, \"\\u27F7\", \"\\\\longleftrightarrow\", true);\n defineSymbol(math, main, rel, \"\\u21D4\", \"\\\\Leftrightarrow\", true);\n defineSymbol(math, main, rel, \"\\u27FA\", \"\\\\Longleftrightarrow\", true);\n defineSymbol(math, main, rel, \"\\u21A6\", \"\\\\mapsto\", true);\n defineSymbol(math, main, rel, \"\\u27FC\", \"\\\\longmapsto\", true);\n defineSymbol(math, main, rel, \"\\u2197\", \"\\\\nearrow\", true);\n defineSymbol(math, main, rel, \"\\u21A9\", \"\\\\hookleftarrow\", true);\n defineSymbol(math, main, rel, \"\\u21AA\", \"\\\\hookrightarrow\", true);\n defineSymbol(math, main, rel, \"\\u2198\", \"\\\\searrow\", true);\n defineSymbol(math, main, rel, \"\\u21BC\", \"\\\\leftharpoonup\", true);\n defineSymbol(math, main, rel, \"\\u21C0\", \"\\\\rightharpoonup\", true);\n defineSymbol(math, main, rel, \"\\u2199\", \"\\\\swarrow\", true);\n defineSymbol(math, main, rel, \"\\u21BD\", \"\\\\leftharpoondown\", true);\n defineSymbol(math, main, rel, \"\\u21C1\", \"\\\\rightharpoondown\", true);\n defineSymbol(math, main, rel, \"\\u2196\", \"\\\\nwarrow\", true);\n defineSymbol(math, main, rel, \"\\u21CC\", \"\\\\rightleftharpoons\", true); // AMS Negated Binary Relations\n defineSymbol(math, ams, rel, \"\\u226E\", \"\\\\nless\", true); // Symbol names preceded by \"@\" each have a corresponding macro.\n defineSymbol(math, ams, rel, \"\\uE010\", \"\\\\@nleqslant\");\n defineSymbol(math, ams, rel, \"\\uE011\", \"\\\\@nleqq\");\n defineSymbol(math, ams, rel, \"\\u2A87\", \"\\\\lneq\", true);\n defineSymbol(math, ams, rel, \"\\u2268\", \"\\\\lneqq\", true);\n defineSymbol(math, ams, rel, \"\\uE00C\", \"\\\\@lvertneqq\");\n defineSymbol(math, ams, rel, \"\\u22E6\", \"\\\\lnsim\", true);\n defineSymbol(math, ams, rel, \"\\u2A89\", \"\\\\lnapprox\", true);\n defineSymbol(math, ams, rel, \"\\u2280\", \"\\\\nprec\", true); // unicode-math maps \\u22e0 to \\npreccurlyeq. We'll use the AMS synonym.\n defineSymbol(math, ams, rel, \"\\u22E0\", \"\\\\npreceq\", true);\n defineSymbol(math, ams, rel, \"\\u22E8\", \"\\\\precnsim\", true);\n defineSymbol(math, ams, rel, \"\\u2AB9\", \"\\\\precnapprox\", true);\n defineSymbol(math, ams, rel, \"\\u2241\", \"\\\\nsim\", true);\n defineSymbol(math, ams, rel, \"\\uE006\", \"\\\\@nshortmid\");\n defineSymbol(math, ams, rel, \"\\u2224\", \"\\\\nmid\", true);\n defineSymbol(math, ams, rel, \"\\u22AC\", \"\\\\nvdash\", true);\n defineSymbol(math, ams, rel, \"\\u22AD\", \"\\\\nvDash\", true);\n defineSymbol(math, ams, rel, \"\\u22EA\", \"\\\\ntriangleleft\");\n defineSymbol(math, ams, rel, \"\\u22EC\", \"\\\\ntrianglelefteq\", true);\n defineSymbol(math, ams, rel, \"\\u228A\", \"\\\\subsetneq\", true);\n defineSymbol(math, ams, rel, \"\\uE01A\", \"\\\\@varsubsetneq\");\n defineSymbol(math, ams, rel, \"\\u2ACB\", \"\\\\subsetneqq\", true);\n defineSymbol(math, ams, rel, \"\\uE017\", \"\\\\@varsubsetneqq\");\n defineSymbol(math, ams, rel, \"\\u226F\", \"\\\\ngtr\", true);\n defineSymbol(math, ams, rel, \"\\uE00F\", \"\\\\@ngeqslant\");\n defineSymbol(math, ams, rel, \"\\uE00E\", \"\\\\@ngeqq\");\n defineSymbol(math, ams, rel, \"\\u2A88\", \"\\\\gneq\", true);\n defineSymbol(math, ams, rel, \"\\u2269\", \"\\\\gneqq\", true);\n defineSymbol(math, ams, rel, \"\\uE00D\", \"\\\\@gvertneqq\");\n defineSymbol(math, ams, rel, \"\\u22E7\", \"\\\\gnsim\", true);\n defineSymbol(math, ams, rel, \"\\u2A8A\", \"\\\\gnapprox\", true);\n defineSymbol(math, ams, rel, \"\\u2281\", \"\\\\nsucc\", true); // unicode-math maps \\u22e1 to \\nsucccurlyeq. We'll use the AMS synonym.\n defineSymbol(math, ams, rel, \"\\u22E1\", \"\\\\nsucceq\", true);\n defineSymbol(math, ams, rel, \"\\u22E9\", \"\\\\succnsim\", true);\n defineSymbol(math, ams, rel, \"\\u2ABA\", \"\\\\succnapprox\", true); // unicode-math maps \\u2246 to \\simneqq. We'll use the AMS synonym.\n defineSymbol(math, ams, rel, \"\\u2246\", \"\\\\ncong\", true);\n defineSymbol(math, ams, rel, \"\\uE007\", \"\\\\@nshortparallel\");\n defineSymbol(math, ams, rel, \"\\u2226\", \"\\\\nparallel\", true);\n defineSymbol(math, ams, rel, \"\\u22AF\", \"\\\\nVDash\", true);\n defineSymbol(math, ams, rel, \"\\u22EB\", \"\\\\ntriangleright\");\n defineSymbol(math, ams, rel, \"\\u22ED\", \"\\\\ntrianglerighteq\", true);\n defineSymbol(math, ams, rel, \"\\uE018\", \"\\\\@nsupseteqq\");\n defineSymbol(math, ams, rel, \"\\u228B\", \"\\\\supsetneq\", true);\n defineSymbol(math, ams, rel, \"\\uE01B\", \"\\\\@varsupsetneq\");\n defineSymbol(math, ams, rel, \"\\u2ACC\", \"\\\\supsetneqq\", true);\n defineSymbol(math, ams, rel, \"\\uE019\", \"\\\\@varsupsetneqq\");\n defineSymbol(math, ams, rel, \"\\u22AE\", \"\\\\nVdash\", true);\n defineSymbol(math, ams, rel, \"\\u2AB5\", \"\\\\precneqq\", true);\n defineSymbol(math, ams, rel, \"\\u2AB6\", \"\\\\succneqq\", true);\n defineSymbol(math, ams, rel, \"\\uE016\", \"\\\\@nsubseteqq\");\n defineSymbol(math, ams, bin, \"\\u22B4\", \"\\\\unlhd\");\n defineSymbol(math, ams, bin, \"\\u22B5\", \"\\\\unrhd\"); // AMS Negated Arrows\n defineSymbol(math, ams, rel, \"\\u219A\", \"\\\\nleftarrow\", true);\n defineSymbol(math, ams, rel, \"\\u219B\", \"\\\\nrightarrow\", true);\n defineSymbol(math, ams, rel, \"\\u21CD\", \"\\\\nLeftarrow\", true);\n defineSymbol(math, ams, rel, \"\\u21CF\", \"\\\\nRightarrow\", true);\n defineSymbol(math, ams, rel, \"\\u21AE\", \"\\\\nleftrightarrow\", true);\n defineSymbol(math, ams, rel, \"\\u21CE\", \"\\\\nLeftrightarrow\", true); // AMS Misc\n defineSymbol(math, ams, rel, \"\\u25B3\", \"\\\\vartriangle\");\n defineSymbol(math, ams, textord, \"\\u210F\", \"\\\\hslash\");\n defineSymbol(math, ams, textord, \"\\u25BD\", \"\\\\triangledown\");\n defineSymbol(math, ams, textord, \"\\u25CA\", \"\\\\lozenge\");\n defineSymbol(math, ams, textord, \"\\u24C8\", \"\\\\circledS\");\n defineSymbol(math, ams, textord, \"\\xae\", \"\\\\circledR\");\n defineSymbol(symbols_text, ams, textord, \"\\xae\", \"\\\\circledR\");\n defineSymbol(math, ams, textord, \"\\u2221\", \"\\\\measuredangle\", true);\n defineSymbol(math, ams, textord, \"\\u2204\", \"\\\\nexists\");\n defineSymbol(math, ams, textord, \"\\u2127\", \"\\\\mho\");\n defineSymbol(math, ams, textord, \"\\u2132\", \"\\\\Finv\", true);\n defineSymbol(math, ams, textord, \"\\u2141\", \"\\\\Game\", true);\n defineSymbol(math, ams, textord, \"\\u2035\", \"\\\\backprime\");\n defineSymbol(math, ams, textord, \"\\u25B2\", \"\\\\blacktriangle\");\n defineSymbol(math, ams, textord, \"\\u25BC\", \"\\\\blacktriangledown\");\n defineSymbol(math, ams, textord, \"\\u25A0\", \"\\\\blacksquare\");\n defineSymbol(math, ams, textord, \"\\u29EB\", \"\\\\blacklozenge\");\n defineSymbol(math, ams, textord, \"\\u2605\", \"\\\\bigstar\");\n defineSymbol(math, ams, textord, \"\\u2222\", \"\\\\sphericalangle\", true);\n defineSymbol(math, ams, textord, \"\\u2201\", \"\\\\complement\", true); // unicode-math maps U+F0 to \\matheth. We map to AMS function \\eth\n defineSymbol(math, ams, textord, \"\\xf0\", \"\\\\eth\", true);\n defineSymbol(symbols_text, main, textord, \"\\xf0\", \"\\xf0\");\n defineSymbol(math, ams, textord, \"\\u2571\", \"\\\\diagup\");\n defineSymbol(math, ams, textord, \"\\u2572\", \"\\\\diagdown\");\n defineSymbol(math, ams, textord, \"\\u25A1\", \"\\\\square\");\n defineSymbol(math, ams, textord, \"\\u25A1\", \"\\\\Box\");\n defineSymbol(math, ams, textord, \"\\u25CA\", \"\\\\Diamond\"); // unicode-math maps U+A5 to \\mathyen. We map to AMS function \\yen\n defineSymbol(math, ams, textord, \"\\xa5\", \"\\\\yen\", true);\n defineSymbol(symbols_text, ams, textord, \"\\xa5\", \"\\\\yen\", true);\n defineSymbol(math, ams, textord, \"\\u2713\", \"\\\\checkmark\", true);\n defineSymbol(symbols_text, ams, textord, \"\\u2713\", \"\\\\checkmark\"); // AMS Hebrew\n defineSymbol(math, ams, textord, \"\\u2136\", \"\\\\beth\", true);\n defineSymbol(math, ams, textord, \"\\u2138\", \"\\\\daleth\", true);\n defineSymbol(math, ams, textord, \"\\u2137\", \"\\\\gimel\", true); // AMS Greek\n defineSymbol(math, ams, textord, \"\\u03DD\", \"\\\\digamma\", true);\n defineSymbol(math, ams, textord, \"\\u03F0\", \"\\\\varkappa\"); // AMS Delimiters\n defineSymbol(math, ams, symbols_open, \"\\u250C\", \"\\\\@ulcorner\", true);\n defineSymbol(math, ams, symbols_close, \"\\u2510\", \"\\\\@urcorner\", true);\n defineSymbol(math, ams, symbols_open, \"\\u2514\", \"\\\\@llcorner\", true);\n defineSymbol(math, ams, symbols_close, \"\\u2518\", \"\\\\@lrcorner\", true); // AMS Binary Relations\n defineSymbol(math, ams, rel, \"\\u2266\", \"\\\\leqq\", true);\n defineSymbol(math, ams, rel, \"\\u2A7D\", \"\\\\leqslant\", true);\n defineSymbol(math, ams, rel, \"\\u2A95\", \"\\\\eqslantless\", true);\n defineSymbol(math, ams, rel, \"\\u2272\", \"\\\\lesssim\", true);\n defineSymbol(math, ams, rel, \"\\u2A85\", \"\\\\lessapprox\", true);\n defineSymbol(math, ams, rel, \"\\u224A\", \"\\\\approxeq\", true);\n defineSymbol(math, ams, bin, \"\\u22D6\", \"\\\\lessdot\");\n defineSymbol(math, ams, rel, \"\\u22D8\", \"\\\\lll\", true);\n defineSymbol(math, ams, rel, \"\\u2276\", \"\\\\lessgtr\", true);\n defineSymbol(math, ams, rel, \"\\u22DA\", \"\\\\lesseqgtr\", true);\n defineSymbol(math, ams, rel, \"\\u2A8B\", \"\\\\lesseqqgtr\", true);\n defineSymbol(math, ams, rel, \"\\u2251\", \"\\\\doteqdot\");\n defineSymbol(math, ams, rel, \"\\u2253\", \"\\\\risingdotseq\", true);\n defineSymbol(math, ams, rel, \"\\u2252\", \"\\\\fallingdotseq\", true);\n defineSymbol(math, ams, rel, \"\\u223D\", \"\\\\backsim\", true);\n defineSymbol(math, ams, rel, \"\\u22CD\", \"\\\\backsimeq\", true);\n defineSymbol(math, ams, rel, \"\\u2AC5\", \"\\\\subseteqq\", true);\n defineSymbol(math, ams, rel, \"\\u22D0\", \"\\\\Subset\", true);\n defineSymbol(math, ams, rel, \"\\u228F\", \"\\\\sqsubset\", true);\n defineSymbol(math, ams, rel, \"\\u227C\", \"\\\\preccurlyeq\", true);\n defineSymbol(math, ams, rel, \"\\u22DE\", \"\\\\curlyeqprec\", true);\n defineSymbol(math, ams, rel, \"\\u227E\", \"\\\\precsim\", true);\n defineSymbol(math, ams, rel, \"\\u2AB7\", \"\\\\precapprox\", true);\n defineSymbol(math, ams, rel, \"\\u22B2\", \"\\\\vartriangleleft\");\n defineSymbol(math, ams, rel, \"\\u22B4\", \"\\\\trianglelefteq\");\n defineSymbol(math, ams, rel, \"\\u22A8\", \"\\\\vDash\", true);\n defineSymbol(math, ams, rel, \"\\u22AA\", \"\\\\Vvdash\", true);\n defineSymbol(math, ams, rel, \"\\u2323\", \"\\\\smallsmile\");\n defineSymbol(math, ams, rel, \"\\u2322\", \"\\\\smallfrown\");\n defineSymbol(math, ams, rel, \"\\u224F\", \"\\\\bumpeq\", true);\n defineSymbol(math, ams, rel, \"\\u224E\", \"\\\\Bumpeq\", true);\n defineSymbol(math, ams, rel, \"\\u2267\", \"\\\\geqq\", true);\n defineSymbol(math, ams, rel, \"\\u2A7E\", \"\\\\geqslant\", true);\n defineSymbol(math, ams, rel, \"\\u2A96\", \"\\\\eqslantgtr\", true);\n defineSymbol(math, ams, rel, \"\\u2273\", \"\\\\gtrsim\", true);\n defineSymbol(math, ams, rel, \"\\u2A86\", \"\\\\gtrapprox\", true);\n defineSymbol(math, ams, bin, \"\\u22D7\", \"\\\\gtrdot\");\n defineSymbol(math, ams, rel, \"\\u22D9\", \"\\\\ggg\", true);\n defineSymbol(math, ams, rel, \"\\u2277\", \"\\\\gtrless\", true);\n defineSymbol(math, ams, rel, \"\\u22DB\", \"\\\\gtreqless\", true);\n defineSymbol(math, ams, rel, \"\\u2A8C\", \"\\\\gtreqqless\", true);\n defineSymbol(math, ams, rel, \"\\u2256\", \"\\\\eqcirc\", true);\n defineSymbol(math, ams, rel, \"\\u2257\", \"\\\\circeq\", true);\n defineSymbol(math, ams, rel, \"\\u225C\", \"\\\\triangleq\", true);\n defineSymbol(math, ams, rel, \"\\u223C\", \"\\\\thicksim\");\n defineSymbol(math, ams, rel, \"\\u2248\", \"\\\\thickapprox\");\n defineSymbol(math, ams, rel, \"\\u2AC6\", \"\\\\supseteqq\", true);\n defineSymbol(math, ams, rel, \"\\u22D1\", \"\\\\Supset\", true);\n defineSymbol(math, ams, rel, \"\\u2290\", \"\\\\sqsupset\", true);\n defineSymbol(math, ams, rel, \"\\u227D\", \"\\\\succcurlyeq\", true);\n defineSymbol(math, ams, rel, \"\\u22DF\", \"\\\\curlyeqsucc\", true);\n defineSymbol(math, ams, rel, \"\\u227F\", \"\\\\succsim\", true);\n defineSymbol(math, ams, rel, \"\\u2AB8\", \"\\\\succapprox\", true);\n defineSymbol(math, ams, rel, \"\\u22B3\", \"\\\\vartriangleright\");\n defineSymbol(math, ams, rel, \"\\u22B5\", \"\\\\trianglerighteq\");\n defineSymbol(math, ams, rel, \"\\u22A9\", \"\\\\Vdash\", true);\n defineSymbol(math, ams, rel, \"\\u2223\", \"\\\\shortmid\");\n defineSymbol(math, ams, rel, \"\\u2225\", \"\\\\shortparallel\");\n defineSymbol(math, ams, rel, \"\\u226C\", \"\\\\between\", true);\n defineSymbol(math, ams, rel, \"\\u22D4\", \"\\\\pitchfork\", true);\n defineSymbol(math, ams, rel, \"\\u221D\", \"\\\\varpropto\");\n defineSymbol(math, ams, rel, \"\\u25C0\", \"\\\\blacktriangleleft\"); // unicode-math says that \\therefore is a mathord atom.\n // We kept the amssymb atom type, which is rel.\n defineSymbol(math, ams, rel, \"\\u2234\", \"\\\\therefore\", true);\n defineSymbol(math, ams, rel, \"\\u220D\", \"\\\\backepsilon\");\n defineSymbol(math, ams, rel, \"\\u25B6\", \"\\\\blacktriangleright\"); // unicode-math says that \\because is a mathord atom.\n // We kept the amssymb atom type, which is rel.\n defineSymbol(math, ams, rel, \"\\u2235\", \"\\\\because\", true);\n defineSymbol(math, ams, rel, \"\\u22D8\", \"\\\\llless\");\n defineSymbol(math, ams, rel, \"\\u22D9\", \"\\\\gggtr\");\n defineSymbol(math, ams, bin, \"\\u22B2\", \"\\\\lhd\");\n defineSymbol(math, ams, bin, \"\\u22B3\", \"\\\\rhd\");\n defineSymbol(math, ams, rel, \"\\u2242\", \"\\\\eqsim\", true);\n defineSymbol(math, main, rel, \"\\u22C8\", \"\\\\Join\");\n defineSymbol(math, ams, rel, \"\\u2251\", \"\\\\Doteq\", true); // AMS Binary Operators\n defineSymbol(math, ams, bin, \"\\u2214\", \"\\\\dotplus\", true);\n defineSymbol(math, ams, bin, \"\\u2216\", \"\\\\smallsetminus\");\n defineSymbol(math, ams, bin, \"\\u22D2\", \"\\\\Cap\", true);\n defineSymbol(math, ams, bin, \"\\u22D3\", \"\\\\Cup\", true);\n defineSymbol(math, ams, bin, \"\\u2A5E\", \"\\\\doublebarwedge\", true);\n defineSymbol(math, ams, bin, \"\\u229F\", \"\\\\boxminus\", true);\n defineSymbol(math, ams, bin, \"\\u229E\", \"\\\\boxplus\", true);\n defineSymbol(math, ams, bin, \"\\u22C7\", \"\\\\divideontimes\", true);\n defineSymbol(math, ams, bin, \"\\u22C9\", \"\\\\ltimes\", true);\n defineSymbol(math, ams, bin, \"\\u22CA\", \"\\\\rtimes\", true);\n defineSymbol(math, ams, bin, \"\\u22CB\", \"\\\\leftthreetimes\", true);\n defineSymbol(math, ams, bin, \"\\u22CC\", \"\\\\rightthreetimes\", true);\n defineSymbol(math, ams, bin, \"\\u22CF\", \"\\\\curlywedge\", true);\n defineSymbol(math, ams, bin, \"\\u22CE\", \"\\\\curlyvee\", true);\n defineSymbol(math, ams, bin, \"\\u229D\", \"\\\\circleddash\", true);\n defineSymbol(math, ams, bin, \"\\u229B\", \"\\\\circledast\", true);\n defineSymbol(math, ams, bin, \"\\u22C5\", \"\\\\centerdot\");\n defineSymbol(math, ams, bin, \"\\u22BA\", \"\\\\intercal\", true);\n defineSymbol(math, ams, bin, \"\\u22D2\", \"\\\\doublecap\");\n defineSymbol(math, ams, bin, \"\\u22D3\", \"\\\\doublecup\");\n defineSymbol(math, ams, bin, \"\\u22A0\", \"\\\\boxtimes\", true); // AMS Arrows\n // Note: unicode-math maps \\u21e2 to their own function \\rightdasharrow.\n // We'll map it to AMS function \\dashrightarrow. It produces the same atom.\n defineSymbol(math, ams, rel, \"\\u21E2\", \"\\\\dashrightarrow\", true); // unicode-math maps \\u21e0 to \\leftdasharrow. We'll use the AMS synonym.\n defineSymbol(math, ams, rel, \"\\u21E0\", \"\\\\dashleftarrow\", true);\n defineSymbol(math, ams, rel, \"\\u21C7\", \"\\\\leftleftarrows\", true);\n defineSymbol(math, ams, rel, \"\\u21C6\", \"\\\\leftrightarrows\", true);\n defineSymbol(math, ams, rel, \"\\u21DA\", \"\\\\Lleftarrow\", true);\n defineSymbol(math, ams, rel, \"\\u219E\", \"\\\\twoheadleftarrow\", true);\n defineSymbol(math, ams, rel, \"\\u21A2\", \"\\\\leftarrowtail\", true);\n defineSymbol(math, ams, rel, \"\\u21AB\", \"\\\\looparrowleft\", true);\n defineSymbol(math, ams, rel, \"\\u21CB\", \"\\\\leftrightharpoons\", true);\n defineSymbol(math, ams, rel, \"\\u21B6\", \"\\\\curvearrowleft\", true); // unicode-math maps \\u21ba to \\acwopencirclearrow. We'll use the AMS synonym.\n defineSymbol(math, ams, rel, \"\\u21BA\", \"\\\\circlearrowleft\", true);\n defineSymbol(math, ams, rel, \"\\u21B0\", \"\\\\Lsh\", true);\n defineSymbol(math, ams, rel, \"\\u21C8\", \"\\\\upuparrows\", true);\n defineSymbol(math, ams, rel, \"\\u21BF\", \"\\\\upharpoonleft\", true);\n defineSymbol(math, ams, rel, \"\\u21C3\", \"\\\\downharpoonleft\", true);\n defineSymbol(math, main, rel, \"\\u22B6\", \"\\\\origof\", true); // not in font\n defineSymbol(math, main, rel, \"\\u22B7\", \"\\\\imageof\", true); // not in font\n defineSymbol(math, ams, rel, \"\\u22B8\", \"\\\\multimap\", true);\n defineSymbol(math, ams, rel, \"\\u21AD\", \"\\\\leftrightsquigarrow\", true);\n defineSymbol(math, ams, rel, \"\\u21C9\", \"\\\\rightrightarrows\", true);\n defineSymbol(math, ams, rel, \"\\u21C4\", \"\\\\rightleftarrows\", true);\n defineSymbol(math, ams, rel, \"\\u21A0\", \"\\\\twoheadrightarrow\", true);\n defineSymbol(math, ams, rel, \"\\u21A3\", \"\\\\rightarrowtail\", true);\n defineSymbol(math, ams, rel, \"\\u21AC\", \"\\\\looparrowright\", true);\n defineSymbol(math, ams, rel, \"\\u21B7\", \"\\\\curvearrowright\", true); // unicode-math maps \\u21bb to \\cwopencirclearrow. We'll use the AMS synonym.\n defineSymbol(math, ams, rel, \"\\u21BB\", \"\\\\circlearrowright\", true);\n defineSymbol(math, ams, rel, \"\\u21B1\", \"\\\\Rsh\", true);\n defineSymbol(math, ams, rel, \"\\u21CA\", \"\\\\downdownarrows\", true);\n defineSymbol(math, ams, rel, \"\\u21BE\", \"\\\\upharpoonright\", true);\n defineSymbol(math, ams, rel, \"\\u21C2\", \"\\\\downharpoonright\", true);\n defineSymbol(math, ams, rel, \"\\u21DD\", \"\\\\rightsquigarrow\", true);\n defineSymbol(math, ams, rel, \"\\u21DD\", \"\\\\leadsto\");\n defineSymbol(math, ams, rel, \"\\u21DB\", \"\\\\Rrightarrow\", true);\n defineSymbol(math, ams, rel, \"\\u21BE\", \"\\\\restriction\");\n defineSymbol(math, main, textord, \"\\u2018\", \"`\");\n defineSymbol(math, main, textord, \"$\", \"\\\\$\");\n defineSymbol(symbols_text, main, textord, \"$\", \"\\\\$\");\n defineSymbol(symbols_text, main, textord, \"$\", \"\\\\textdollar\");\n defineSymbol(math, main, textord, \"%\", \"\\\\%\");\n defineSymbol(symbols_text, main, textord, \"%\", \"\\\\%\");\n defineSymbol(math, main, textord, \"_\", \"\\\\_\");\n defineSymbol(symbols_text, main, textord, \"_\", \"\\\\_\");\n defineSymbol(symbols_text, main, textord, \"_\", \"\\\\textunderscore\");\n defineSymbol(math, main, textord, \"\\u2220\", \"\\\\angle\", true);\n defineSymbol(math, main, textord, \"\\u221E\", \"\\\\infty\", true);\n defineSymbol(math, main, textord, \"\\u2032\", \"\\\\prime\");\n defineSymbol(math, main, textord, \"\\u25B3\", \"\\\\triangle\");\n defineSymbol(math, main, textord, \"\\u0393\", \"\\\\Gamma\", true);\n defineSymbol(math, main, textord, \"\\u0394\", \"\\\\Delta\", true);\n defineSymbol(math, main, textord, \"\\u0398\", \"\\\\Theta\", true);\n defineSymbol(math, main, textord, \"\\u039B\", \"\\\\Lambda\", true);\n defineSymbol(math, main, textord, \"\\u039E\", \"\\\\Xi\", true);\n defineSymbol(math, main, textord, \"\\u03A0\", \"\\\\Pi\", true);\n defineSymbol(math, main, textord, \"\\u03A3\", \"\\\\Sigma\", true);\n defineSymbol(math, main, textord, \"\\u03A5\", \"\\\\Upsilon\", true);\n defineSymbol(math, main, textord, \"\\u03A6\", \"\\\\Phi\", true);\n defineSymbol(math, main, textord, \"\\u03A8\", \"\\\\Psi\", true);\n defineSymbol(math, main, textord, \"\\u03A9\", \"\\\\Omega\", true);\n defineSymbol(math, main, textord, \"A\", \"\\u0391\");\n defineSymbol(math, main, textord, \"B\", \"\\u0392\");\n defineSymbol(math, main, textord, \"E\", \"\\u0395\");\n defineSymbol(math, main, textord, \"Z\", \"\\u0396\");\n defineSymbol(math, main, textord, \"H\", \"\\u0397\");\n defineSymbol(math, main, textord, \"I\", \"\\u0399\");\n defineSymbol(math, main, textord, \"K\", \"\\u039A\");\n defineSymbol(math, main, textord, \"M\", \"\\u039C\");\n defineSymbol(math, main, textord, \"N\", \"\\u039D\");\n defineSymbol(math, main, textord, \"O\", \"\\u039F\");\n defineSymbol(math, main, textord, \"P\", \"\\u03A1\");\n defineSymbol(math, main, textord, \"T\", \"\\u03A4\");\n defineSymbol(math, main, textord, \"X\", \"\\u03A7\");\n defineSymbol(math, main, textord, \"\\xac\", \"\\\\neg\", true);\n defineSymbol(math, main, textord, \"\\xac\", \"\\\\lnot\");\n defineSymbol(math, main, textord, \"\\u22A4\", \"\\\\top\");\n defineSymbol(math, main, textord, \"\\u22A5\", \"\\\\bot\");\n defineSymbol(math, main, textord, \"\\u2205\", \"\\\\emptyset\");\n defineSymbol(math, ams, textord, \"\\u2205\", \"\\\\varnothing\");\n defineSymbol(math, main, mathord, \"\\u03B1\", \"\\\\alpha\", true);\n defineSymbol(math, main, mathord, \"\\u03B2\", \"\\\\beta\", true);\n defineSymbol(math, main, mathord, \"\\u03B3\", \"\\\\gamma\", true);\n defineSymbol(math, main, mathord, \"\\u03B4\", \"\\\\delta\", true);\n defineSymbol(math, main, mathord, \"\\u03F5\", \"\\\\epsilon\", true);\n defineSymbol(math, main, mathord, \"\\u03B6\", \"\\\\zeta\", true);\n defineSymbol(math, main, mathord, \"\\u03B7\", \"\\\\eta\", true);\n defineSymbol(math, main, mathord, \"\\u03B8\", \"\\\\theta\", true);\n defineSymbol(math, main, mathord, \"\\u03B9\", \"\\\\iota\", true);\n defineSymbol(math, main, mathord, \"\\u03BA\", \"\\\\kappa\", true);\n defineSymbol(math, main, mathord, \"\\u03BB\", \"\\\\lambda\", true);\n defineSymbol(math, main, mathord, \"\\u03BC\", \"\\\\mu\", true);\n defineSymbol(math, main, mathord, \"\\u03BD\", \"\\\\nu\", true);\n defineSymbol(math, main, mathord, \"\\u03BE\", \"\\\\xi\", true);\n defineSymbol(math, main, mathord, \"\\u03BF\", \"\\\\omicron\", true);\n defineSymbol(math, main, mathord, \"\\u03C0\", \"\\\\pi\", true);\n defineSymbol(math, main, mathord, \"\\u03C1\", \"\\\\rho\", true);\n defineSymbol(math, main, mathord, \"\\u03C3\", \"\\\\sigma\", true);\n defineSymbol(math, main, mathord, \"\\u03C4\", \"\\\\tau\", true);\n defineSymbol(math, main, mathord, \"\\u03C5\", \"\\\\upsilon\", true);\n defineSymbol(math, main, mathord, \"\\u03D5\", \"\\\\phi\", true);\n defineSymbol(math, main, mathord, \"\\u03C7\", \"\\\\chi\", true);\n defineSymbol(math, main, mathord, \"\\u03C8\", \"\\\\psi\", true);\n defineSymbol(math, main, mathord, \"\\u03C9\", \"\\\\omega\", true);\n defineSymbol(math, main, mathord, \"\\u03B5\", \"\\\\varepsilon\", true);\n defineSymbol(math, main, mathord, \"\\u03D1\", \"\\\\vartheta\", true);\n defineSymbol(math, main, mathord, \"\\u03D6\", \"\\\\varpi\", true);\n defineSymbol(math, main, mathord, \"\\u03F1\", \"\\\\varrho\", true);\n defineSymbol(math, main, mathord, \"\\u03C2\", \"\\\\varsigma\", true);\n defineSymbol(math, main, mathord, \"\\u03C6\", \"\\\\varphi\", true);\n defineSymbol(math, main, bin, \"\\u2217\", \"*\", true);\n defineSymbol(math, main, bin, \"+\", \"+\");\n defineSymbol(math, main, bin, \"\\u2212\", \"-\", true);\n defineSymbol(math, main, bin, \"\\u22C5\", \"\\\\cdot\", true);\n defineSymbol(math, main, bin, \"\\u2218\", \"\\\\circ\", true);\n defineSymbol(math, main, bin, \"\\xf7\", \"\\\\div\", true);\n defineSymbol(math, main, bin, \"\\xb1\", \"\\\\pm\", true);\n defineSymbol(math, main, bin, \"\\xd7\", \"\\\\times\", true);\n defineSymbol(math, main, bin, \"\\u2229\", \"\\\\cap\", true);\n defineSymbol(math, main, bin, \"\\u222A\", \"\\\\cup\", true);\n defineSymbol(math, main, bin, \"\\u2216\", \"\\\\setminus\", true);\n defineSymbol(math, main, bin, \"\\u2227\", \"\\\\land\");\n defineSymbol(math, main, bin, \"\\u2228\", \"\\\\lor\");\n defineSymbol(math, main, bin, \"\\u2227\", \"\\\\wedge\", true);\n defineSymbol(math, main, bin, \"\\u2228\", \"\\\\vee\", true);\n defineSymbol(math, main, textord, \"\\u221A\", \"\\\\surd\");\n defineSymbol(math, main, symbols_open, \"\\u27E8\", \"\\\\langle\", true);\n defineSymbol(math, main, symbols_open, \"\\u2223\", \"\\\\lvert\");\n defineSymbol(math, main, symbols_open, \"\\u2225\", \"\\\\lVert\");\n defineSymbol(math, main, symbols_close, \"?\", \"?\");\n defineSymbol(math, main, symbols_close, \"!\", \"!\");\n defineSymbol(math, main, symbols_close, \"\\u27E9\", \"\\\\rangle\", true);\n defineSymbol(math, main, symbols_close, \"\\u2223\", \"\\\\rvert\");\n defineSymbol(math, main, symbols_close, \"\\u2225\", \"\\\\rVert\");\n defineSymbol(math, main, rel, \"=\", \"=\");\n defineSymbol(math, main, rel, \":\", \":\");\n defineSymbol(math, main, rel, \"\\u2248\", \"\\\\approx\", true);\n defineSymbol(math, main, rel, \"\\u2245\", \"\\\\cong\", true);\n defineSymbol(math, main, rel, \"\\u2265\", \"\\\\ge\");\n defineSymbol(math, main, rel, \"\\u2265\", \"\\\\geq\", true);\n defineSymbol(math, main, rel, \"\\u2190\", \"\\\\gets\");\n defineSymbol(math, main, rel, \">\", \"\\\\gt\", true);\n defineSymbol(math, main, rel, \"\\u2208\", \"\\\\in\", true);\n defineSymbol(math, main, rel, \"\\uE020\", \"\\\\@not\");\n defineSymbol(math, main, rel, \"\\u2282\", \"\\\\subset\", true);\n defineSymbol(math, main, rel, \"\\u2283\", \"\\\\supset\", true);\n defineSymbol(math, main, rel, \"\\u2286\", \"\\\\subseteq\", true);\n defineSymbol(math, main, rel, \"\\u2287\", \"\\\\supseteq\", true);\n defineSymbol(math, ams, rel, \"\\u2288\", \"\\\\nsubseteq\", true);\n defineSymbol(math, ams, rel, \"\\u2289\", \"\\\\nsupseteq\", true);\n defineSymbol(math, main, rel, \"\\u22A8\", \"\\\\models\");\n defineSymbol(math, main, rel, \"\\u2190\", \"\\\\leftarrow\", true);\n defineSymbol(math, main, rel, \"\\u2264\", \"\\\\le\");\n defineSymbol(math, main, rel, \"\\u2264\", \"\\\\leq\", true);\n defineSymbol(math, main, rel, \"<\", \"\\\\lt\", true);\n defineSymbol(math, main, rel, \"\\u2192\", \"\\\\rightarrow\", true);\n defineSymbol(math, main, rel, \"\\u2192\", \"\\\\to\");\n defineSymbol(math, ams, rel, \"\\u2271\", \"\\\\ngeq\", true);\n defineSymbol(math, ams, rel, \"\\u2270\", \"\\\\nleq\", true);\n defineSymbol(math, main, spacing, \"\\xa0\", \"\\\\ \");\n defineSymbol(math, main, spacing, \"\\xa0\", \"\\\\space\"); // Ref: LaTeX Source 2e: \\DeclareRobustCommand{\\nobreakspace}{%\n defineSymbol(math, main, spacing, \"\\xa0\", \"\\\\nobreakspace\");\n defineSymbol(symbols_text, main, spacing, \"\\xa0\", \"\\\\ \");\n defineSymbol(symbols_text, main, spacing, \"\\xa0\", \" \");\n defineSymbol(symbols_text, main, spacing, \"\\xa0\", \"\\\\space\");\n defineSymbol(symbols_text, main, spacing, \"\\xa0\", \"\\\\nobreakspace\");\n defineSymbol(math, main, spacing, null, \"\\\\nobreak\");\n defineSymbol(math, main, spacing, null, \"\\\\allowbreak\");\n defineSymbol(math, main, punct, \",\", \",\");\n defineSymbol(math, main, punct, \";\", \";\");\n defineSymbol(math, ams, bin, \"\\u22BC\", \"\\\\barwedge\", true);\n defineSymbol(math, ams, bin, \"\\u22BB\", \"\\\\veebar\", true);\n defineSymbol(math, main, bin, \"\\u2299\", \"\\\\odot\", true);\n defineSymbol(math, main, bin, \"\\u2295\", \"\\\\oplus\", true);\n defineSymbol(math, main, bin, \"\\u2297\", \"\\\\otimes\", true);\n defineSymbol(math, main, textord, \"\\u2202\", \"\\\\partial\", true);\n defineSymbol(math, main, bin, \"\\u2298\", \"\\\\oslash\", true);\n defineSymbol(math, ams, bin, \"\\u229A\", \"\\\\circledcirc\", true);\n defineSymbol(math, ams, bin, \"\\u22A1\", \"\\\\boxdot\", true);\n defineSymbol(math, main, bin, \"\\u25B3\", \"\\\\bigtriangleup\");\n defineSymbol(math, main, bin, \"\\u25BD\", \"\\\\bigtriangledown\");\n defineSymbol(math, main, bin, \"\\u2020\", \"\\\\dagger\");\n defineSymbol(math, main, bin, \"\\u22C4\", \"\\\\diamond\");\n defineSymbol(math, main, bin, \"\\u22C6\", \"\\\\star\");\n defineSymbol(math, main, bin, \"\\u25C3\", \"\\\\triangleleft\");\n defineSymbol(math, main, bin, \"\\u25B9\", \"\\\\triangleright\");\n defineSymbol(math, main, symbols_open, \"{\", \"\\\\{\");\n defineSymbol(symbols_text, main, textord, \"{\", \"\\\\{\");\n defineSymbol(symbols_text, main, textord, \"{\", \"\\\\textbraceleft\");\n defineSymbol(math, main, symbols_close, \"}\", \"\\\\}\");\n defineSymbol(symbols_text, main, textord, \"}\", \"\\\\}\");\n defineSymbol(symbols_text, main, textord, \"}\", \"\\\\textbraceright\");\n defineSymbol(math, main, symbols_open, \"{\", \"\\\\lbrace\");\n defineSymbol(math, main, symbols_close, \"}\", \"\\\\rbrace\");\n defineSymbol(math, main, symbols_open, \"[\", \"\\\\lbrack\", true);\n defineSymbol(symbols_text, main, textord, \"[\", \"\\\\lbrack\", true);\n defineSymbol(math, main, symbols_close, \"]\", \"\\\\rbrack\", true);\n defineSymbol(symbols_text, main, textord, \"]\", \"\\\\rbrack\", true);\n defineSymbol(math, main, symbols_open, \"(\", \"\\\\lparen\", true);\n defineSymbol(math, main, symbols_close, \")\", \"\\\\rparen\", true);\n defineSymbol(symbols_text, main, textord, \"<\", \"\\\\textless\", true); // in T1 fontenc\n defineSymbol(symbols_text, main, textord, \">\", \"\\\\textgreater\", true); // in T1 fontenc\n defineSymbol(math, main, symbols_open, \"\\u230A\", \"\\\\lfloor\", true);\n defineSymbol(math, main, symbols_close, \"\\u230B\", \"\\\\rfloor\", true);\n defineSymbol(math, main, symbols_open, \"\\u2308\", \"\\\\lceil\", true);\n defineSymbol(math, main, symbols_close, \"\\u2309\", \"\\\\rceil\", true);\n defineSymbol(math, main, textord, \"\\\\\", \"\\\\backslash\");\n defineSymbol(math, main, textord, \"\\u2223\", \"|\");\n defineSymbol(math, main, textord, \"\\u2223\", \"\\\\vert\");\n defineSymbol(symbols_text, main, textord, \"|\", \"\\\\textbar\", true); // in T1 fontenc\n defineSymbol(math, main, textord, \"\\u2225\", \"\\\\|\");\n defineSymbol(math, main, textord, \"\\u2225\", \"\\\\Vert\");\n defineSymbol(symbols_text, main, textord, \"\\u2225\", \"\\\\textbardbl\");\n defineSymbol(symbols_text, main, textord, \"~\", \"\\\\textasciitilde\");\n defineSymbol(symbols_text, main, textord, \"\\\\\", \"\\\\textbackslash\");\n defineSymbol(symbols_text, main, textord, \"^\", \"\\\\textasciicircum\");\n defineSymbol(math, main, rel, \"\\u2191\", \"\\\\uparrow\", true);\n defineSymbol(math, main, rel, \"\\u21D1\", \"\\\\Uparrow\", true);\n defineSymbol(math, main, rel, \"\\u2193\", \"\\\\downarrow\", true);\n defineSymbol(math, main, rel, \"\\u21D3\", \"\\\\Downarrow\", true);\n defineSymbol(math, main, rel, \"\\u2195\", \"\\\\updownarrow\", true);\n defineSymbol(math, main, rel, \"\\u21D5\", \"\\\\Updownarrow\", true);\n defineSymbol(math, main, op, \"\\u2210\", \"\\\\coprod\");\n defineSymbol(math, main, op, \"\\u22C1\", \"\\\\bigvee\");\n defineSymbol(math, main, op, \"\\u22C0\", \"\\\\bigwedge\");\n defineSymbol(math, main, op, \"\\u2A04\", \"\\\\biguplus\");\n defineSymbol(math, main, op, \"\\u22C2\", \"\\\\bigcap\");\n defineSymbol(math, main, op, \"\\u22C3\", \"\\\\bigcup\");\n defineSymbol(math, main, op, \"\\u222B\", \"\\\\int\");\n defineSymbol(math, main, op, \"\\u222B\", \"\\\\intop\");\n defineSymbol(math, main, op, \"\\u222C\", \"\\\\iint\");\n defineSymbol(math, main, op, \"\\u222D\", \"\\\\iiint\");\n defineSymbol(math, main, op, \"\\u220F\", \"\\\\prod\");\n defineSymbol(math, main, op, \"\\u2211\", \"\\\\sum\");\n defineSymbol(math, main, op, \"\\u2A02\", \"\\\\bigotimes\");\n defineSymbol(math, main, op, \"\\u2A01\", \"\\\\bigoplus\");\n defineSymbol(math, main, op, \"\\u2A00\", \"\\\\bigodot\");\n defineSymbol(math, main, op, \"\\u222E\", \"\\\\oint\");\n defineSymbol(math, main, op, \"\\u222F\", \"\\\\oiint\");\n defineSymbol(math, main, op, \"\\u2230\", \"\\\\oiiint\");\n defineSymbol(math, main, op, \"\\u2A06\", \"\\\\bigsqcup\");\n defineSymbol(math, main, op, \"\\u222B\", \"\\\\smallint\");\n defineSymbol(symbols_text, main, inner, \"\\u2026\", \"\\\\textellipsis\");\n defineSymbol(math, main, inner, \"\\u2026\", \"\\\\mathellipsis\");\n defineSymbol(symbols_text, main, inner, \"\\u2026\", \"\\\\ldots\", true);\n defineSymbol(math, main, inner, \"\\u2026\", \"\\\\ldots\", true);\n defineSymbol(math, main, inner, \"\\u22EF\", \"\\\\@cdots\", true);\n defineSymbol(math, main, inner, \"\\u22F1\", \"\\\\ddots\", true);\n defineSymbol(math, main, textord, \"\\u22EE\", \"\\\\varvdots\"); // \\vdots is a macro\n defineSymbol(math, main, accent, \"\\u02CA\", \"\\\\acute\");\n defineSymbol(math, main, accent, \"\\u02CB\", \"\\\\grave\");\n defineSymbol(math, main, accent, \"\\xa8\", \"\\\\ddot\");\n defineSymbol(math, main, accent, \"~\", \"\\\\tilde\");\n defineSymbol(math, main, accent, \"\\u02C9\", \"\\\\bar\");\n defineSymbol(math, main, accent, \"\\u02D8\", \"\\\\breve\");\n defineSymbol(math, main, accent, \"\\u02C7\", \"\\\\check\");\n defineSymbol(math, main, accent, \"^\", \"\\\\hat\");\n defineSymbol(math, main, accent, \"\\u20D7\", \"\\\\vec\");\n defineSymbol(math, main, accent, \"\\u02D9\", \"\\\\dot\");\n defineSymbol(math, main, accent, \"\\u02DA\", \"\\\\mathring\"); // \\imath and \\jmath should be invariant to \\mathrm, \\mathbf, etc., so use PUA\n defineSymbol(math, main, mathord, \"\\uE131\", \"\\\\@imath\");\n defineSymbol(math, main, mathord, \"\\uE237\", \"\\\\@jmath\");\n defineSymbol(math, main, textord, \"\\u0131\", \"\\u0131\");\n defineSymbol(math, main, textord, \"\\u0237\", \"\\u0237\");\n defineSymbol(symbols_text, main, textord, \"\\u0131\", \"\\\\i\", true);\n defineSymbol(symbols_text, main, textord, \"\\u0237\", \"\\\\j\", true);\n defineSymbol(symbols_text, main, textord, \"\\xdf\", \"\\\\ss\", true);\n defineSymbol(symbols_text, main, textord, \"\\xe6\", \"\\\\ae\", true);\n defineSymbol(symbols_text, main, textord, \"\\u0153\", \"\\\\oe\", true);\n defineSymbol(symbols_text, main, textord, \"\\xf8\", \"\\\\o\", true);\n defineSymbol(symbols_text, main, textord, \"\\xc6\", \"\\\\AE\", true);\n defineSymbol(symbols_text, main, textord, \"\\u0152\", \"\\\\OE\", true);\n defineSymbol(symbols_text, main, textord, \"\\xd8\", \"\\\\O\", true);\n defineSymbol(symbols_text, main, accent, \"\\u02CA\", \"\\\\'\"); // acute\n defineSymbol(symbols_text, main, accent, \"\\u02CB\", \"\\\\`\"); // grave\n defineSymbol(symbols_text, main, accent, \"\\u02C6\", \"\\\\^\"); // circumflex\n defineSymbol(symbols_text, main, accent, \"\\u02DC\", \"\\\\~\"); // tilde\n defineSymbol(symbols_text, main, accent, \"\\u02C9\", \"\\\\=\"); // macron\n defineSymbol(symbols_text, main, accent, \"\\u02D8\", \"\\\\u\"); // breve\n defineSymbol(symbols_text, main, accent, \"\\u02D9\", \"\\\\.\"); // dot above\n defineSymbol(symbols_text, main, accent, \"\\xb8\", \"\\\\c\"); // cedilla\n defineSymbol(symbols_text, main, accent, \"\\u02DA\", \"\\\\r\"); // ring above\n defineSymbol(symbols_text, main, accent, \"\\u02C7\", \"\\\\v\"); // caron\n defineSymbol(symbols_text, main, accent, \"\\xa8\", '\\\\\"'); // diaresis\n defineSymbol(symbols_text, main, accent, \"\\u02DD\", \"\\\\H\"); // double acute\n defineSymbol(symbols_text, main, accent, \"\\u25EF\", \"\\\\textcircled\"); // \\bigcirc glyph\n // These ligatures are detected and created in Parser.js's `formLigatures`.\n const ligatures = {\n \"--\": true,\n \"---\": true,\n \"``\": true,\n \"''\": true\n };\n defineSymbol(symbols_text, main, textord, \"\\u2013\", \"--\", true);\n defineSymbol(symbols_text, main, textord, \"\\u2013\", \"\\\\textendash\");\n defineSymbol(symbols_text, main, textord, \"\\u2014\", \"---\", true);\n defineSymbol(symbols_text, main, textord, \"\\u2014\", \"\\\\textemdash\");\n defineSymbol(symbols_text, main, textord, \"\\u2018\", \"`\", true);\n defineSymbol(symbols_text, main, textord, \"\\u2018\", \"\\\\textquoteleft\");\n defineSymbol(symbols_text, main, textord, \"\\u2019\", \"'\", true);\n defineSymbol(symbols_text, main, textord, \"\\u2019\", \"\\\\textquoteright\");\n defineSymbol(symbols_text, main, textord, \"\\u201C\", \"``\", true);\n defineSymbol(symbols_text, main, textord, \"\\u201C\", \"\\\\textquotedblleft\");\n defineSymbol(symbols_text, main, textord, \"\\u201D\", \"''\", true);\n defineSymbol(symbols_text, main, textord, \"\\u201D\", \"\\\\textquotedblright\"); // \\degree from gensymb package\n defineSymbol(math, main, textord, \"\\xb0\", \"\\\\degree\", true);\n defineSymbol(symbols_text, main, textord, \"\\xb0\", \"\\\\degree\"); // \\textdegree from inputenc package\n defineSymbol(symbols_text, main, textord, \"\\xb0\", \"\\\\textdegree\", true); // TODO: In LaTeX, \\pounds can generate a different character in text and math\n // mode, but among our fonts, only Main-Regular defines this character \"163\".\n defineSymbol(math, main, textord, \"\\xa3\", \"\\\\pounds\");\n defineSymbol(math, main, textord, \"\\xa3\", \"\\\\mathsterling\", true);\n defineSymbol(symbols_text, main, textord, \"\\xa3\", \"\\\\pounds\");\n defineSymbol(symbols_text, main, textord, \"\\xa3\", \"\\\\textsterling\", true);\n defineSymbol(math, ams, textord, \"\\u2720\", \"\\\\maltese\");\n defineSymbol(symbols_text, ams, textord, \"\\u2720\", \"\\\\maltese\"); // There are lots of symbols which are the same, so we add them in afterwards.\n // All of these are textords in math mode\n const mathTextSymbols = '0123456789/@.\"';\n for(let i = 0; i < mathTextSymbols.length; i++){\n const ch = mathTextSymbols.charAt(i);\n defineSymbol(math, main, textord, ch, ch);\n } // All of these are textords in text mode\n const textSymbols = '0123456789!@*()-=+\";:?/.,';\n for(let i = 0; i < textSymbols.length; i++){\n const ch = textSymbols.charAt(i);\n defineSymbol(symbols_text, main, textord, ch, ch);\n } // All of these are textords in text mode, and mathords in math mode\n const letters = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\";\n for(let i = 0; i < letters.length; i++){\n const ch = letters.charAt(i);\n defineSymbol(math, main, mathord, ch, ch);\n defineSymbol(symbols_text, main, textord, ch, ch);\n } // Blackboard bold and script letters in Unicode range\n defineSymbol(math, ams, textord, \"C\", \"\\u2102\"); // blackboard bold\n defineSymbol(symbols_text, ams, textord, \"C\", \"\\u2102\");\n defineSymbol(math, ams, textord, \"H\", \"\\u210D\");\n defineSymbol(symbols_text, ams, textord, \"H\", \"\\u210D\");\n defineSymbol(math, ams, textord, \"N\", \"\\u2115\");\n defineSymbol(symbols_text, ams, textord, \"N\", \"\\u2115\");\n defineSymbol(math, ams, textord, \"P\", \"\\u2119\");\n defineSymbol(symbols_text, ams, textord, \"P\", \"\\u2119\");\n defineSymbol(math, ams, textord, \"Q\", \"\\u211A\");\n defineSymbol(symbols_text, ams, textord, \"Q\", \"\\u211A\");\n defineSymbol(math, ams, textord, \"R\", \"\\u211D\");\n defineSymbol(symbols_text, ams, textord, \"R\", \"\\u211D\");\n defineSymbol(math, ams, textord, \"Z\", \"\\u2124\");\n defineSymbol(symbols_text, ams, textord, \"Z\", \"\\u2124\");\n defineSymbol(math, main, mathord, \"h\", \"\\u210E\"); // italic h, Planck constant\n defineSymbol(symbols_text, main, mathord, \"h\", \"\\u210E\"); // The next loop loads wide (surrogate pair) characters.\n // We support some letters in the Unicode range U+1D400 to U+1D7FF,\n // Mathematical Alphanumeric Symbols.\n // Some editors do not deal well with wide characters. So don't write the\n // string into this file. Instead, create the string from the surrogate pair.\n let wideChar = \"\";\n for(let i = 0; i < letters.length; i++){\n const ch = letters.charAt(i); // The hex numbers in the next line are a surrogate pair.\n // 0xD835 is the high surrogate for all letters in the range we support.\n // 0xDC00 is the low surrogate for bold A.\n wideChar = String.fromCharCode(0xD835, 0xDC00 + i); // A-Z a-z bold\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n wideChar = String.fromCharCode(0xD835, 0xDC34 + i); // A-Z a-z italic\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n wideChar = String.fromCharCode(0xD835, 0xDC68 + i); // A-Z a-z bold italic\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n wideChar = String.fromCharCode(0xD835, 0xDD04 + i); // A-Z a-z Fraktur\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n wideChar = String.fromCharCode(0xD835, 0xDD6C + i); // A-Z a-z bold Fraktur\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n wideChar = String.fromCharCode(0xD835, 0xDDA0 + i); // A-Z a-z sans-serif\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n wideChar = String.fromCharCode(0xD835, 0xDDD4 + i); // A-Z a-z sans bold\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n wideChar = String.fromCharCode(0xD835, 0xDE08 + i); // A-Z a-z sans italic\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n wideChar = String.fromCharCode(0xD835, 0xDE70 + i); // A-Z a-z monospace\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n if (i < 26) {\n // KaTeX fonts have only capital letters for blackboard bold and script.\n // See exception for k below.\n wideChar = String.fromCharCode(0xD835, 0xDD38 + i); // A-Z double struck\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n wideChar = String.fromCharCode(0xD835, 0xDC9C + i); // A-Z script\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n } // TODO: Add bold script when it is supported by a KaTeX font.\n } // \"k\" is the only double struck lower case letter in the KaTeX fonts.\n wideChar = String.fromCharCode(0xD835, 0xDD5C); // k double struck\n defineSymbol(math, main, mathord, \"k\", wideChar);\n defineSymbol(symbols_text, main, textord, \"k\", wideChar); // Next, some wide character numerals\n for(let i = 0; i < 10; i++){\n const ch = i.toString();\n wideChar = String.fromCharCode(0xD835, 0xDFCE + i); // 0-9 bold\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n wideChar = String.fromCharCode(0xD835, 0xDFE2 + i); // 0-9 sans serif\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n wideChar = String.fromCharCode(0xD835, 0xDFEC + i); // 0-9 bold sans\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n wideChar = String.fromCharCode(0xD835, 0xDFF6 + i); // 0-9 monospace\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n } // We add these Latin-1 letters as symbols for backwards-compatibility,\n // but they are not actually in the font, nor are they supported by the\n // Unicode accent mechanism, so they fall back to Times font and look ugly.\n // TODO(edemaine): Fix this.\n const extraLatin = \"\\xd0\\xde\\xfe\";\n for(let i = 0; i < extraLatin.length; i++){\n const ch = extraLatin.charAt(i);\n defineSymbol(math, main, mathord, ch, ch);\n defineSymbol(symbols_text, main, textord, ch, ch);\n }\n /**\n * This file provides support for Unicode range U+1D400 to U+1D7FF,\n * Mathematical Alphanumeric Symbols.\n *\n * Function wideCharacterFont takes a wide character as input and returns\n * the font information necessary to render it properly.\n */ /**\n * Data below is from https://www.unicode.org/charts/PDF/U1D400.pdf\n * That document sorts characters into groups by font type, say bold or italic.\n *\n * In the arrays below, each subarray consists three elements:\n * * The CSS class of that group when in math mode.\n * * The CSS class of that group when in text mode.\n * * The font name, so that KaTeX can get font metrics.\n */ const wideLatinLetterData = [\n [\n \"mathbf\",\n \"textbf\",\n \"Main-Bold\"\n ],\n [\n \"mathbf\",\n \"textbf\",\n \"Main-Bold\"\n ],\n [\n \"mathnormal\",\n \"textit\",\n \"Math-Italic\"\n ],\n [\n \"mathnormal\",\n \"textit\",\n \"Math-Italic\"\n ],\n [\n \"boldsymbol\",\n \"boldsymbol\",\n \"Main-BoldItalic\"\n ],\n [\n \"boldsymbol\",\n \"boldsymbol\",\n \"Main-BoldItalic\"\n ],\n // Map fancy A-Z letters to script, not calligraphic.\n // This aligns with unicode-math and math fonts (except Cambria Math).\n [\n \"mathscr\",\n \"textscr\",\n \"Script-Regular\"\n ],\n [\n \"\",\n \"\",\n \"\"\n ],\n [\n \"\",\n \"\",\n \"\"\n ],\n [\n \"\",\n \"\",\n \"\"\n ],\n [\n \"mathfrak\",\n \"textfrak\",\n \"Fraktur-Regular\"\n ],\n [\n \"mathfrak\",\n \"textfrak\",\n \"Fraktur-Regular\"\n ],\n [\n \"mathbb\",\n \"textbb\",\n \"AMS-Regular\"\n ],\n [\n \"mathbb\",\n \"textbb\",\n \"AMS-Regular\"\n ],\n // Note that we are using a bold font, but font metrics for regular Fraktur.\n [\n \"mathboldfrak\",\n \"textboldfrak\",\n \"Fraktur-Regular\"\n ],\n [\n \"mathboldfrak\",\n \"textboldfrak\",\n \"Fraktur-Regular\"\n ],\n [\n \"mathsf\",\n \"textsf\",\n \"SansSerif-Regular\"\n ],\n [\n \"mathsf\",\n \"textsf\",\n \"SansSerif-Regular\"\n ],\n [\n \"mathboldsf\",\n \"textboldsf\",\n \"SansSerif-Bold\"\n ],\n [\n \"mathboldsf\",\n \"textboldsf\",\n \"SansSerif-Bold\"\n ],\n [\n \"mathitsf\",\n \"textitsf\",\n \"SansSerif-Italic\"\n ],\n [\n \"mathitsf\",\n \"textitsf\",\n \"SansSerif-Italic\"\n ],\n [\n \"\",\n \"\",\n \"\"\n ],\n [\n \"\",\n \"\",\n \"\"\n ],\n [\n \"mathtt\",\n \"texttt\",\n \"Typewriter-Regular\"\n ],\n [\n \"mathtt\",\n \"texttt\",\n \"Typewriter-Regular\"\n ] // a-z monospace\n ];\n const wideNumeralData = [\n [\n \"mathbf\",\n \"textbf\",\n \"Main-Bold\"\n ],\n [\n \"\",\n \"\",\n \"\"\n ],\n [\n \"mathsf\",\n \"textsf\",\n \"SansSerif-Regular\"\n ],\n [\n \"mathboldsf\",\n \"textboldsf\",\n \"SansSerif-Bold\"\n ],\n [\n \"mathtt\",\n \"texttt\",\n \"Typewriter-Regular\"\n ] // 0-9 monospace\n ];\n const wideCharacterFont = function(wideChar, mode) {\n // IE doesn't support codePointAt(). So work with the surrogate pair.\n const H = wideChar.charCodeAt(0); // high surrogate\n const L = wideChar.charCodeAt(1); // low surrogate\n const codePoint = (H - 0xD800) * 0x400 + (L - 0xDC00) + 0x10000;\n const j = mode === \"math\" ? 0 : 1; // column index for CSS class.\n if (0x1D400 <= codePoint && codePoint < 0x1D6A4) {\n // wideLatinLetterData contains exactly 26 chars on each row.\n // So we can calculate the relevant row. No traverse necessary.\n const i = Math.floor((codePoint - 0x1D400) / 26);\n return [\n wideLatinLetterData[i][2],\n wideLatinLetterData[i][j]\n ];\n } else if (0x1D7CE <= codePoint && codePoint <= 0x1D7FF) {\n // Numerals, ten per row.\n const i = Math.floor((codePoint - 0x1D7CE) / 10);\n return [\n wideNumeralData[i][2],\n wideNumeralData[i][j]\n ];\n } else if (codePoint === 0x1D6A5 || codePoint === 0x1D6A6) // dotless i or j\n return [\n wideLatinLetterData[0][2],\n wideLatinLetterData[0][j]\n ];\n else if (0x1D6A6 < codePoint && codePoint < 0x1D7CE) // Greek letters. Not supported, yet.\n return [\n \"\",\n \"\"\n ];\n else // We don't support any wide characters outside 1D400–1D7FF.\n throw new src_ParseError(\"Unsupported character: \" + wideChar);\n };\n /* eslint no-console:0 */ /**\n * This module contains general functions that can be used for building\n * different kinds of domTree nodes in a consistent manner.\n */ /**\n * Looks up the given symbol in fontMetrics, after applying any symbol\n * replacements defined in symbol.js\n */ const lookupSymbol = function(value, fontName, mode) {\n // Replace the value with its replaced value from symbol.js\n if (src_symbols[mode][value] && src_symbols[mode][value].replace) value = src_symbols[mode][value].replace;\n return {\n value: value,\n metrics: getCharacterMetrics(value, fontName, mode)\n };\n };\n /**\n * Makes a symbolNode after translation via the list of symbols in symbols.js.\n * Correctly pulls out metrics for the character, and optionally takes a list of\n * classes to be attached to the node.\n *\n * TODO: make argument order closer to makeSpan\n * TODO: add a separate argument for math class (e.g. `mop`, `mbin`), which\n * should if present come first in `classes`.\n * TODO(#953): Make `options` mandatory and always pass it in.\n */ const makeSymbol = function(value, fontName, mode, options, classes) {\n const lookup = lookupSymbol(value, fontName, mode);\n const metrics = lookup.metrics;\n value = lookup.value;\n let symbolNode;\n if (metrics) {\n let italic = metrics.italic;\n if (mode === \"text\" || options && options.font === \"mathit\") italic = 0;\n symbolNode = new SymbolNode(value, metrics.height, metrics.depth, italic, metrics.skew, metrics.width, classes);\n } else {\n // TODO(emily): Figure out a good way to only print this in development\n typeof console !== \"undefined\" && console.warn(\"No character metrics \" + (\"for '\" + value + \"' in style '\" + fontName + \"' and mode '\" + mode + \"'\"));\n symbolNode = new SymbolNode(value, 0, 0, 0, 0, 0, classes);\n }\n if (options) {\n symbolNode.maxFontSize = options.sizeMultiplier;\n if (options.style.isTight()) symbolNode.classes.push(\"mtight\");\n const color = options.getColor();\n if (color) symbolNode.style.color = color;\n }\n return symbolNode;\n };\n /**\n * Makes a symbol in Main-Regular or AMS-Regular.\n * Used for rel, bin, open, close, inner, and punct.\n */ const mathsym = function(value, mode, options, classes) {\n if (classes === void 0) classes = [];\n // Decide what font to render the symbol in by its entry in the symbols\n // table.\n // Have a special case for when the value = \\ because the \\ is used as a\n // textord in unsupported command errors but cannot be parsed as a regular\n // text ordinal and is therefore not present as a symbol in the symbols\n // table for text, as well as a special case for boldsymbol because it\n // can be used for bold + and -\n if (options.font === \"boldsymbol\" && lookupSymbol(value, \"Main-Bold\", mode).metrics) return makeSymbol(value, \"Main-Bold\", mode, options, classes.concat([\n \"mathbf\"\n ]));\n else if (value === \"\\\\\" || src_symbols[mode][value].font === \"main\") return makeSymbol(value, \"Main-Regular\", mode, options, classes);\n else return makeSymbol(value, \"AMS-Regular\", mode, options, classes.concat([\n \"amsrm\"\n ]));\n };\n /**\n * Determines which of the two font names (Main-Bold and Math-BoldItalic) and\n * corresponding style tags (mathbf or boldsymbol) to use for font \"boldsymbol\",\n * depending on the symbol. Use this function instead of fontMap for font\n * \"boldsymbol\".\n */ const boldsymbol = function(value, mode, options, classes, type) {\n if (type !== \"textord\" && lookupSymbol(value, \"Math-BoldItalic\", mode).metrics) return {\n fontName: \"Math-BoldItalic\",\n fontClass: \"boldsymbol\"\n };\n else // Some glyphs do not exist in Math-BoldItalic so we need to use\n // Main-Bold instead.\n return {\n fontName: \"Main-Bold\",\n fontClass: \"mathbf\"\n };\n };\n /**\n * Makes either a mathord or textord in the correct font and color.\n */ const makeOrd = function(group, options, type) {\n const mode = group.mode;\n const text = group.text;\n const classes = [\n \"mord\"\n ]; // Math mode or Old font (i.e. \\rm)\n const isFont = mode === \"math\" || mode === \"text\" && options.font;\n const fontOrFamily = isFont ? options.font : options.fontFamily;\n let wideFontName = \"\";\n let wideFontClass = \"\";\n if (text.charCodeAt(0) === 0xD835) [wideFontName, wideFontClass] = wideCharacterFont(text, mode);\n if (wideFontName.length > 0) // surrogate pairs get special treatment\n return makeSymbol(text, wideFontName, mode, options, classes.concat(wideFontClass));\n else if (fontOrFamily) {\n let fontName;\n let fontClasses;\n if (fontOrFamily === \"boldsymbol\") {\n const fontData = boldsymbol(text, mode, options, classes, type);\n fontName = fontData.fontName;\n fontClasses = [\n fontData.fontClass\n ];\n } else if (isFont) {\n fontName = fontMap[fontOrFamily].fontName;\n fontClasses = [\n fontOrFamily\n ];\n } else {\n fontName = retrieveTextFontName(fontOrFamily, options.fontWeight, options.fontShape);\n fontClasses = [\n fontOrFamily,\n options.fontWeight,\n options.fontShape\n ];\n }\n if (lookupSymbol(text, fontName, mode).metrics) return makeSymbol(text, fontName, mode, options, classes.concat(fontClasses));\n else if (ligatures.hasOwnProperty(text) && fontName.slice(0, 10) === \"Typewriter\") {\n // Deconstruct ligatures in monospace fonts (\\texttt, \\tt).\n const parts = [];\n for(let i = 0; i < text.length; i++)parts.push(makeSymbol(text[i], fontName, mode, options, classes.concat(fontClasses)));\n return makeFragment(parts);\n }\n } // Makes a symbol in the default font for mathords and textords.\n if (type === \"mathord\") return makeSymbol(text, \"Math-Italic\", mode, options, classes.concat([\n \"mathnormal\"\n ]));\n else if (type === \"textord\") {\n const font = src_symbols[mode][text] && src_symbols[mode][text].font;\n if (font === \"ams\") {\n const fontName = retrieveTextFontName(\"amsrm\", options.fontWeight, options.fontShape);\n return makeSymbol(text, fontName, mode, options, classes.concat(\"amsrm\", options.fontWeight, options.fontShape));\n } else if (font === \"main\" || !font) {\n const fontName = retrieveTextFontName(\"textrm\", options.fontWeight, options.fontShape);\n return makeSymbol(text, fontName, mode, options, classes.concat(options.fontWeight, options.fontShape));\n } else {\n // fonts added by plugins\n const fontName = retrieveTextFontName(font, options.fontWeight, options.fontShape); // We add font name as a css class\n return makeSymbol(text, fontName, mode, options, classes.concat(fontName, options.fontWeight, options.fontShape));\n }\n } else throw new Error(\"unexpected type: \" + type + \" in makeOrd\");\n };\n /**\n * Returns true if subsequent symbolNodes have the same classes, skew, maxFont,\n * and styles.\n */ const canCombine = (prev, next)=>{\n if (createClass(prev.classes) !== createClass(next.classes) || prev.skew !== next.skew || prev.maxFontSize !== next.maxFontSize) return false;\n // If prev and next both are just \"mbin\"s or \"mord\"s we don't combine them\n // so that the proper spacing can be preserved.\n if (prev.classes.length === 1) {\n const cls = prev.classes[0];\n if (cls === \"mbin\" || cls === \"mord\") return false;\n }\n for(const style in prev.style){\n if (prev.style.hasOwnProperty(style) && prev.style[style] !== next.style[style]) return false;\n }\n for(const style in next.style){\n if (next.style.hasOwnProperty(style) && prev.style[style] !== next.style[style]) return false;\n }\n return true;\n };\n /**\n * Combine consecutive domTree.symbolNodes into a single symbolNode.\n * Note: this function mutates the argument.\n */ const tryCombineChars = (chars)=>{\n for(let i = 0; i < chars.length - 1; i++){\n const prev = chars[i];\n const next = chars[i + 1];\n if (prev instanceof SymbolNode && next instanceof SymbolNode && canCombine(prev, next)) {\n prev.text += next.text;\n prev.height = Math.max(prev.height, next.height);\n prev.depth = Math.max(prev.depth, next.depth); // Use the last character's italic correction since we use\n // it to add padding to the right of the span created from\n // the combined characters.\n prev.italic = next.italic;\n chars.splice(i + 1, 1);\n i--;\n }\n }\n return chars;\n };\n /**\n * Calculate the height, depth, and maxFontSize of an element based on its\n * children.\n */ const sizeElementFromChildren = function(elem) {\n let height = 0;\n let depth = 0;\n let maxFontSize = 0;\n for(let i = 0; i < elem.children.length; i++){\n const child = elem.children[i];\n if (child.height > height) height = child.height;\n if (child.depth > depth) depth = child.depth;\n if (child.maxFontSize > maxFontSize) maxFontSize = child.maxFontSize;\n }\n elem.height = height;\n elem.depth = depth;\n elem.maxFontSize = maxFontSize;\n };\n /**\n * Makes a span with the given list of classes, list of children, and options.\n *\n * TODO(#953): Ensure that `options` is always provided (currently some call\n * sites don't pass it) and make the type below mandatory.\n * TODO: add a separate argument for math class (e.g. `mop`, `mbin`), which\n * should if present come first in `classes`.\n */ const makeSpan = function(classes, children, options, style) {\n const span = new Span(classes, children, options, style);\n sizeElementFromChildren(span);\n return span;\n }; // SVG one is simpler -- doesn't require height, depth, max-font setting.\n // This is also a separate method for typesafety.\n const makeSvgSpan = (classes, children, options, style)=>new Span(classes, children, options, style);\n const makeLineSpan = function(className, options, thickness) {\n const line = makeSpan([\n className\n ], [], options);\n line.height = Math.max(thickness || options.fontMetrics().defaultRuleThickness, options.minRuleThickness);\n line.style.borderBottomWidth = makeEm(line.height);\n line.maxFontSize = 1.0;\n return line;\n };\n /**\n * Makes an anchor with the given href, list of classes, list of children,\n * and options.\n */ const makeAnchor = function(href, classes, children, options) {\n const anchor = new Anchor(href, classes, children, options);\n sizeElementFromChildren(anchor);\n return anchor;\n };\n /**\n * Makes a document fragment with the given list of children.\n */ const makeFragment = function(children) {\n const fragment = new DocumentFragment(children);\n sizeElementFromChildren(fragment);\n return fragment;\n };\n /**\n * Wraps group in a span if it's a document fragment, allowing to apply classes\n * and styles\n */ const wrapFragment = function(group, options) {\n if (group instanceof DocumentFragment) return makeSpan([], [\n group\n ], options);\n return group;\n }; // These are exact object types to catch typos in the names of the optional fields.\n // Computes the updated `children` list and the overall depth.\n //\n // This helper function for makeVList makes it easier to enforce type safety by\n // allowing early exits (returns) in the logic.\n const getVListChildrenAndDepth = function(params) {\n if (params.positionType === \"individualShift\") {\n const oldChildren = params.children;\n const children = [\n oldChildren[0]\n ]; // Add in kerns to the list of params.children to get each element to be\n // shifted to the correct specified shift\n const depth = -oldChildren[0].shift - oldChildren[0].elem.depth;\n let currPos = depth;\n for(let i = 1; i < oldChildren.length; i++){\n const diff = -oldChildren[i].shift - currPos - oldChildren[i].elem.depth;\n const size = diff - (oldChildren[i - 1].elem.height + oldChildren[i - 1].elem.depth);\n currPos = currPos + diff;\n children.push({\n type: \"kern\",\n size: size\n });\n children.push(oldChildren[i]);\n }\n return {\n children: children,\n depth: depth\n };\n }\n let depth;\n if (params.positionType === \"top\") {\n // We always start at the bottom, so calculate the bottom by adding up\n // all the sizes\n let bottom = params.positionData;\n for(let i = 0; i < params.children.length; i++){\n const child = params.children[i];\n bottom -= child.type === \"kern\" ? child.size : child.elem.height + child.elem.depth;\n }\n depth = bottom;\n } else if (params.positionType === \"bottom\") depth = -params.positionData;\n else {\n const firstChild = params.children[0];\n if (firstChild.type !== \"elem\") throw new Error('First child must have type \"elem\".');\n if (params.positionType === \"shift\") depth = -firstChild.elem.depth - params.positionData;\n else if (params.positionType === \"firstBaseline\") depth = -firstChild.elem.depth;\n else throw new Error(\"Invalid positionType \" + params.positionType + \".\");\n }\n return {\n children: params.children,\n depth: depth\n };\n };\n /**\n * Makes a vertical list by stacking elements and kerns on top of each other.\n * Allows for many different ways of specifying the positioning method.\n *\n * See VListParam documentation above.\n */ const makeVList = function(params, options) {\n const { children: children, depth: depth } = getVListChildrenAndDepth(params); // Create a strut that is taller than any list item. The strut is added to\n // each item, where it will determine the item's baseline. Since it has\n // `overflow:hidden`, the strut's top edge will sit on the item's line box's\n // top edge and the strut's bottom edge will sit on the item's baseline,\n // with no additional line-height spacing. This allows the item baseline to\n // be positioned precisely without worrying about font ascent and\n // line-height.\n let pstrutSize = 0;\n for(let i = 0; i < children.length; i++){\n const child = children[i];\n if (child.type === \"elem\") {\n const elem = child.elem;\n pstrutSize = Math.max(pstrutSize, elem.maxFontSize, elem.height);\n }\n }\n pstrutSize += 2;\n const pstrut = makeSpan([\n \"pstrut\"\n ], []);\n pstrut.style.height = makeEm(pstrutSize); // Create a new list of actual children at the correct offsets\n const realChildren = [];\n let minPos = depth;\n let maxPos = depth;\n let currPos = depth;\n for(let i = 0; i < children.length; i++){\n const child = children[i];\n if (child.type === \"kern\") currPos += child.size;\n else {\n const elem = child.elem;\n const classes = child.wrapperClasses || [];\n const style = child.wrapperStyle || {};\n const childWrap = makeSpan(classes, [\n pstrut,\n elem\n ], undefined, style);\n childWrap.style.top = makeEm(-pstrutSize - currPos - elem.depth);\n if (child.marginLeft) childWrap.style.marginLeft = child.marginLeft;\n if (child.marginRight) childWrap.style.marginRight = child.marginRight;\n realChildren.push(childWrap);\n currPos += elem.height + elem.depth;\n }\n minPos = Math.min(minPos, currPos);\n maxPos = Math.max(maxPos, currPos);\n } // The vlist contents go in a table-cell with `vertical-align:bottom`.\n // This cell's bottom edge will determine the containing table's baseline\n // without overly expanding the containing line-box.\n const vlist = makeSpan([\n \"vlist\"\n ], realChildren);\n vlist.style.height = makeEm(maxPos); // A second row is used if necessary to represent the vlist's depth.\n let rows;\n if (minPos < 0) {\n // We will define depth in an empty span with display: table-cell.\n // It should render with the height that we define. But Chrome, in\n // contenteditable mode only, treats that span as if it contains some\n // text content. And that min-height over-rides our desired height.\n // So we put another empty span inside the depth strut span.\n const emptySpan = makeSpan([], []);\n const depthStrut = makeSpan([\n \"vlist\"\n ], [\n emptySpan\n ]);\n depthStrut.style.height = makeEm(-minPos); // Safari wants the first row to have inline content; otherwise it\n // puts the bottom of the *second* row on the baseline.\n const topStrut = makeSpan([\n \"vlist-s\"\n ], [\n new SymbolNode(\"\\u200B\")\n ]);\n rows = [\n makeSpan([\n \"vlist-r\"\n ], [\n vlist,\n topStrut\n ]),\n makeSpan([\n \"vlist-r\"\n ], [\n depthStrut\n ])\n ];\n } else rows = [\n makeSpan([\n \"vlist-r\"\n ], [\n vlist\n ])\n ];\n const vtable = makeSpan([\n \"vlist-t\"\n ], rows);\n if (rows.length === 2) vtable.classes.push(\"vlist-t2\");\n vtable.height = maxPos;\n vtable.depth = -minPos;\n return vtable;\n }; // Glue is a concept from TeX which is a flexible space between elements in\n // either a vertical or horizontal list. In KaTeX, at least for now, it's\n // static space between elements in a horizontal layout.\n const makeGlue = (measurement, options)=>{\n // Make an empty span for the space\n const rule = makeSpan([\n \"mspace\"\n ], [], options);\n const size = calculateSize(measurement, options);\n rule.style.marginRight = makeEm(size);\n return rule;\n }; // Takes font options, and returns the appropriate fontLookup name\n const retrieveTextFontName = function(fontFamily, fontWeight, fontShape) {\n let baseFontName = \"\";\n switch(fontFamily){\n case \"amsrm\":\n baseFontName = \"AMS\";\n break;\n case \"textrm\":\n baseFontName = \"Main\";\n break;\n case \"textsf\":\n baseFontName = \"SansSerif\";\n break;\n case \"texttt\":\n baseFontName = \"Typewriter\";\n break;\n default:\n baseFontName = fontFamily;\n }\n let fontStylesName;\n if (fontWeight === \"textbf\" && fontShape === \"textit\") fontStylesName = \"BoldItalic\";\n else if (fontWeight === \"textbf\") fontStylesName = \"Bold\";\n else if (fontWeight === \"textit\") fontStylesName = \"Italic\";\n else fontStylesName = \"Regular\";\n return baseFontName + \"-\" + fontStylesName;\n };\n /**\n * Maps TeX font commands to objects containing:\n * - variant: string used for \"mathvariant\" attribute in buildMathML.js\n * - fontName: the \"style\" parameter to fontMetrics.getCharacterMetrics\n */ // A map between tex font commands an MathML mathvariant attribute values\n const fontMap = {\n // styles\n \"mathbf\": {\n variant: \"bold\",\n fontName: \"Main-Bold\"\n },\n \"mathrm\": {\n variant: \"normal\",\n fontName: \"Main-Regular\"\n },\n \"textit\": {\n variant: \"italic\",\n fontName: \"Main-Italic\"\n },\n \"mathit\": {\n variant: \"italic\",\n fontName: \"Main-Italic\"\n },\n \"mathnormal\": {\n variant: \"italic\",\n fontName: \"Math-Italic\"\n },\n // \"boldsymbol\" is missing because they require the use of multiple fonts:\n // Math-BoldItalic and Main-Bold. This is handled by a special case in\n // makeOrd which ends up calling boldsymbol.\n // families\n \"mathbb\": {\n variant: \"double-struck\",\n fontName: \"AMS-Regular\"\n },\n \"mathcal\": {\n variant: \"script\",\n fontName: \"Caligraphic-Regular\"\n },\n \"mathfrak\": {\n variant: \"fraktur\",\n fontName: \"Fraktur-Regular\"\n },\n \"mathscr\": {\n variant: \"script\",\n fontName: \"Script-Regular\"\n },\n \"mathsf\": {\n variant: \"sans-serif\",\n fontName: \"SansSerif-Regular\"\n },\n \"mathtt\": {\n variant: \"monospace\",\n fontName: \"Typewriter-Regular\"\n }\n };\n const svgData = {\n // path, width, height\n vec: [\n \"vec\",\n 0.471,\n 0.714\n ],\n // values from the font glyph\n oiintSize1: [\n \"oiintSize1\",\n 0.957,\n 0.499\n ],\n // oval to overlay the integrand\n oiintSize2: [\n \"oiintSize2\",\n 1.472,\n 0.659\n ],\n oiiintSize1: [\n \"oiiintSize1\",\n 1.304,\n 0.499\n ],\n oiiintSize2: [\n \"oiiintSize2\",\n 1.98,\n 0.659\n ]\n };\n const staticSvg = function(value, options) {\n // Create a span with inline SVG for the element.\n const [pathName, width, height] = svgData[value];\n const path = new PathNode(pathName);\n const svgNode = new SvgNode([\n path\n ], {\n \"width\": makeEm(width),\n \"height\": makeEm(height),\n // Override CSS rule `.katex svg { width: 100% }`\n \"style\": \"width:\" + makeEm(width),\n \"viewBox\": \"0 0 \" + 1000 * width + \" \" + 1000 * height,\n \"preserveAspectRatio\": \"xMinYMin\"\n });\n const span = makeSvgSpan([\n \"overlay\"\n ], [\n svgNode\n ], options);\n span.height = height;\n span.style.height = makeEm(height);\n span.style.width = makeEm(width);\n return span;\n };\n /* harmony default export */ var buildCommon = {\n fontMap: fontMap,\n makeSymbol: makeSymbol,\n mathsym: mathsym,\n makeSpan: makeSpan,\n makeSvgSpan: makeSvgSpan,\n makeLineSpan: makeLineSpan,\n makeAnchor: makeAnchor,\n makeFragment: makeFragment,\n wrapFragment: wrapFragment,\n makeVList: makeVList,\n makeOrd: makeOrd,\n makeGlue: makeGlue,\n staticSvg: staticSvg,\n svgData: svgData,\n tryCombineChars: tryCombineChars\n };\n /**\n * Describes spaces between different classes of atoms.\n */ const thinspace = {\n number: 3,\n unit: \"mu\"\n };\n const mediumspace = {\n number: 4,\n unit: \"mu\"\n };\n const thickspace = {\n number: 5,\n unit: \"mu\"\n }; // Making the type below exact with all optional fields doesn't work due to\n // - https://github.com/facebook/flow/issues/4582\n // - https://github.com/facebook/flow/issues/5688\n // However, since *all* fields are optional, $Shape<> works as suggested in 5688\n // above.\n // Spacing relationships for display and text styles\n const spacings = {\n mord: {\n mop: thinspace,\n mbin: mediumspace,\n mrel: thickspace,\n minner: thinspace\n },\n mop: {\n mord: thinspace,\n mop: thinspace,\n mrel: thickspace,\n minner: thinspace\n },\n mbin: {\n mord: mediumspace,\n mop: mediumspace,\n mopen: mediumspace,\n minner: mediumspace\n },\n mrel: {\n mord: thickspace,\n mop: thickspace,\n mopen: thickspace,\n minner: thickspace\n },\n mopen: {},\n mclose: {\n mop: thinspace,\n mbin: mediumspace,\n mrel: thickspace,\n minner: thinspace\n },\n mpunct: {\n mord: thinspace,\n mop: thinspace,\n mrel: thickspace,\n mopen: thinspace,\n mclose: thinspace,\n mpunct: thinspace,\n minner: thinspace\n },\n minner: {\n mord: thinspace,\n mop: thinspace,\n mbin: mediumspace,\n mrel: thickspace,\n mopen: thinspace,\n mpunct: thinspace,\n minner: thinspace\n }\n }; // Spacing relationships for script and scriptscript styles\n const tightSpacings = {\n mord: {\n mop: thinspace\n },\n mop: {\n mord: thinspace,\n mop: thinspace\n },\n mbin: {},\n mrel: {},\n mopen: {},\n mclose: {\n mop: thinspace\n },\n mpunct: {},\n minner: {\n mop: thinspace\n }\n };\n /** Context provided to function handlers for error messages. */ // Note: reverse the order of the return type union will cause a flow error.\n // See https://github.com/facebook/flow/issues/3663.\n // More general version of `HtmlBuilder` for nodes (e.g. \\sum, accent types)\n // whose presence impacts super/subscripting. In this case, ParseNode<\"supsub\">\n // delegates its HTML building to the HtmlBuilder corresponding to these nodes.\n /**\n * Final function spec for use at parse time.\n * This is almost identical to `FunctionPropSpec`, except it\n * 1. includes the function handler, and\n * 2. requires all arguments except argTypes.\n * It is generated by `defineFunction()` below.\n */ /**\n * All registered functions.\n * `functions.js` just exports this same dictionary again and makes it public.\n * `Parser.js` requires this dictionary.\n */ const _functions = {};\n /**\n * All HTML builders. Should be only used in the `define*` and the `build*ML`\n * functions.\n */ const _htmlGroupBuilders = {};\n /**\n * All MathML builders. Should be only used in the `define*` and the `build*ML`\n * functions.\n */ const _mathmlGroupBuilders = {};\n function defineFunction(_ref) {\n let { type: type, names: names, props: props, handler: handler, htmlBuilder: htmlBuilder, mathmlBuilder: mathmlBuilder } = _ref;\n // Set default values of functions\n const data = {\n type: type,\n numArgs: props.numArgs,\n argTypes: props.argTypes,\n allowedInArgument: !!props.allowedInArgument,\n allowedInText: !!props.allowedInText,\n allowedInMath: props.allowedInMath === undefined ? true : props.allowedInMath,\n numOptionalArgs: props.numOptionalArgs || 0,\n infix: !!props.infix,\n primitive: !!props.primitive,\n handler: handler\n };\n for(let i = 0; i < names.length; ++i)_functions[names[i]] = data;\n if (type) {\n if (htmlBuilder) _htmlGroupBuilders[type] = htmlBuilder;\n if (mathmlBuilder) _mathmlGroupBuilders[type] = mathmlBuilder;\n }\n }\n /**\n * Use this to register only the HTML and MathML builders for a function (e.g.\n * if the function's ParseNode is generated in Parser.js rather than via a\n * stand-alone handler provided to `defineFunction`).\n */ function defineFunctionBuilders(_ref2) {\n let { type: type, htmlBuilder: htmlBuilder, mathmlBuilder: mathmlBuilder } = _ref2;\n defineFunction({\n type: type,\n names: [],\n props: {\n numArgs: 0\n },\n handler () {\n throw new Error(\"Should never be called.\");\n },\n htmlBuilder: htmlBuilder,\n mathmlBuilder: mathmlBuilder\n });\n }\n const normalizeArgument = function(arg) {\n return arg.type === \"ordgroup\" && arg.body.length === 1 ? arg.body[0] : arg;\n }; // Since the corresponding buildHTML/buildMathML function expects a\n // list of elements, we normalize for different kinds of arguments\n const ordargument = function(arg) {\n return arg.type === \"ordgroup\" ? arg.body : [\n arg\n ];\n };\n /**\n * This file does the main work of building a domTree structure from a parse\n * tree. The entry point is the `buildHTML` function, which takes a parse tree.\n * Then, the buildExpression, buildGroup, and various groupBuilders functions\n * are called, to produce a final HTML tree.\n */ const buildHTML_makeSpan = buildCommon.makeSpan; // Binary atoms (first class `mbin`) change into ordinary atoms (`mord`)\n // depending on their surroundings. See TeXbook pg. 442-446, Rules 5 and 6,\n // and the text before Rule 19.\n const binLeftCanceller = [\n \"leftmost\",\n \"mbin\",\n \"mopen\",\n \"mrel\",\n \"mop\",\n \"mpunct\"\n ];\n const binRightCanceller = [\n \"rightmost\",\n \"mrel\",\n \"mclose\",\n \"mpunct\"\n ];\n const styleMap = {\n \"display\": src_Style.DISPLAY,\n \"text\": src_Style.TEXT,\n \"script\": src_Style.SCRIPT,\n \"scriptscript\": src_Style.SCRIPTSCRIPT\n };\n const DomEnum = {\n mord: \"mord\",\n mop: \"mop\",\n mbin: \"mbin\",\n mrel: \"mrel\",\n mopen: \"mopen\",\n mclose: \"mclose\",\n mpunct: \"mpunct\",\n minner: \"minner\"\n };\n /**\n * Take a list of nodes, build them in order, and return a list of the built\n * nodes. documentFragments are flattened into their contents, so the\n * returned list contains no fragments. `isRealGroup` is true if `expression`\n * is a real group (no atoms will be added on either side), as opposed to\n * a partial group (e.g. one created by \\color). `surrounding` is an array\n * consisting type of nodes that will be added to the left and right.\n */ const buildExpression = function(expression, options, isRealGroup, surrounding) {\n if (surrounding === void 0) surrounding = [\n null,\n null\n ];\n // Parse expressions into `groups`.\n const groups = [];\n for(let i = 0; i < expression.length; i++){\n const output = buildGroup(expression[i], options);\n if (output instanceof DocumentFragment) {\n const children = output.children;\n groups.push(...children);\n } else groups.push(output);\n } // Combine consecutive domTree.symbolNodes into a single symbolNode.\n buildCommon.tryCombineChars(groups); // If `expression` is a partial group, let the parent handle spacings\n // to avoid processing groups multiple times.\n if (!isRealGroup) return groups;\n let glueOptions = options;\n if (expression.length === 1) {\n const node = expression[0];\n if (node.type === \"sizing\") glueOptions = options.havingSize(node.size);\n else if (node.type === \"styling\") glueOptions = options.havingStyle(styleMap[node.style]);\n } // Dummy spans for determining spacings between surrounding atoms.\n // If `expression` has no atoms on the left or right, class \"leftmost\"\n // or \"rightmost\", respectively, is used to indicate it.\n const dummyPrev = buildHTML_makeSpan([\n surrounding[0] || \"leftmost\"\n ], [], options);\n const dummyNext = buildHTML_makeSpan([\n surrounding[1] || \"rightmost\"\n ], [], options); // TODO: These code assumes that a node's math class is the first element\n // of its `classes` array. A later cleanup should ensure this, for\n // instance by changing the signature of `makeSpan`.\n // Before determining what spaces to insert, perform bin cancellation.\n // Binary operators change to ordinary symbols in some contexts.\n const isRoot = isRealGroup === \"root\";\n traverseNonSpaceNodes(groups, (node, prev)=>{\n const prevType = prev.classes[0];\n const type = node.classes[0];\n if (prevType === \"mbin\" && utils.contains(binRightCanceller, type)) prev.classes[0] = \"mord\";\n else if (type === \"mbin\" && utils.contains(binLeftCanceller, prevType)) node.classes[0] = \"mord\";\n }, {\n node: dummyPrev\n }, dummyNext, isRoot);\n traverseNonSpaceNodes(groups, (node, prev)=>{\n const prevType = getTypeOfDomTree(prev);\n const type = getTypeOfDomTree(node); // 'mtight' indicates that the node is script or scriptscript style.\n const space = prevType && type ? node.hasClass(\"mtight\") ? tightSpacings[prevType][type] : spacings[prevType][type] : null;\n if (space) // Insert glue (spacing) after the `prev`.\n return buildCommon.makeGlue(space, glueOptions);\n }, {\n node: dummyPrev\n }, dummyNext, isRoot);\n return groups;\n }; // Depth-first traverse non-space `nodes`, calling `callback` with the current and\n // previous node as arguments, optionally returning a node to insert after the\n // previous node. `prev` is an object with the previous node and `insertAfter`\n // function to insert after it. `next` is a node that will be added to the right.\n // Used for bin cancellation and inserting spacings.\n const traverseNonSpaceNodes = function(nodes, callback, prev, next, isRoot) {\n if (next) // temporarily append the right node, if exists\n nodes.push(next);\n let i = 0;\n for(; i < nodes.length; i++){\n const node = nodes[i];\n const partialGroup = checkPartialGroup(node);\n if (partialGroup) {\n // Recursive DFS\n // $FlowFixMe: make nodes a $ReadOnlyArray by returning a new array\n traverseNonSpaceNodes(partialGroup.children, callback, prev, null, isRoot);\n continue;\n } // Ignore explicit spaces (e.g., \\;, \\,) when determining what implicit\n // spacing should go between atoms of different classes\n const nonspace = !node.hasClass(\"mspace\");\n if (nonspace) {\n const result = callback(node, prev.node);\n if (result) {\n if (prev.insertAfter) prev.insertAfter(result);\n else {\n // insert at front\n nodes.unshift(result);\n i++;\n }\n }\n }\n if (nonspace) prev.node = node;\n else if (isRoot && node.hasClass(\"newline\")) prev.node = buildHTML_makeSpan([\n \"leftmost\"\n ]); // treat like beginning of line\n prev.insertAfter = ((index)=>(n)=>{\n nodes.splice(index + 1, 0, n);\n i++;\n })(i);\n }\n if (next) nodes.pop();\n }; // Check if given node is a partial group, i.e., does not affect spacing around.\n const checkPartialGroup = function(node) {\n if (node instanceof DocumentFragment || node instanceof Anchor || node instanceof Span && node.hasClass(\"enclosing\")) return node;\n return null;\n }; // Return the outermost node of a domTree.\n const getOutermostNode = function(node, side) {\n const partialGroup = checkPartialGroup(node);\n if (partialGroup) {\n const children = partialGroup.children;\n if (children.length) {\n if (side === \"right\") return getOutermostNode(children[children.length - 1], \"right\");\n else if (side === \"left\") return getOutermostNode(children[0], \"left\");\n }\n }\n return node;\n }; // Return math atom class (mclass) of a domTree.\n // If `side` is given, it will get the type of the outermost node at given side.\n const getTypeOfDomTree = function(node, side) {\n if (!node) return null;\n if (side) node = getOutermostNode(node, side);\n // This makes a lot of assumptions as to where the type of atom\n // appears. We should do a better job of enforcing this.\n return DomEnum[node.classes[0]] || null;\n };\n const makeNullDelimiter = function(options, classes) {\n const moreClasses = [\n \"nulldelimiter\"\n ].concat(options.baseSizingClasses());\n return buildHTML_makeSpan(classes.concat(moreClasses));\n };\n /**\n * buildGroup is the function that takes a group and calls the correct groupType\n * function for it. It also handles the interaction of size and style changes\n * between parents and children.\n */ const buildGroup = function(group, options, baseOptions) {\n if (!group) return buildHTML_makeSpan();\n if (_htmlGroupBuilders[group.type]) {\n // Call the groupBuilders function\n // $FlowFixMe\n let groupNode = _htmlGroupBuilders[group.type](group, options); // If the size changed between the parent and the current group, account\n // for that size difference.\n if (baseOptions && options.size !== baseOptions.size) {\n groupNode = buildHTML_makeSpan(options.sizingClasses(baseOptions), [\n groupNode\n ], options);\n const multiplier = options.sizeMultiplier / baseOptions.sizeMultiplier;\n groupNode.height *= multiplier;\n groupNode.depth *= multiplier;\n }\n return groupNode;\n } else throw new src_ParseError(\"Got group of unknown type: '\" + group.type + \"'\");\n };\n /**\n * Combine an array of HTML DOM nodes (e.g., the output of `buildExpression`)\n * into an unbreakable HTML node of class .base, with proper struts to\n * guarantee correct vertical extent. `buildHTML` calls this repeatedly to\n * make up the entire expression as a sequence of unbreakable units.\n */ function buildHTMLUnbreakable(children, options) {\n // Compute height and depth of this chunk.\n const body = buildHTML_makeSpan([\n \"base\"\n ], children, options); // Add strut, which ensures that the top of the HTML element falls at\n // the height of the expression, and the bottom of the HTML element\n // falls at the depth of the expression.\n const strut = buildHTML_makeSpan([\n \"strut\"\n ]);\n strut.style.height = makeEm(body.height + body.depth);\n if (body.depth) strut.style.verticalAlign = makeEm(-body.depth);\n body.children.unshift(strut);\n return body;\n }\n /**\n * Take an entire parse tree, and build it into an appropriate set of HTML\n * nodes.\n */ function buildHTML(tree, options) {\n // Strip off outer tag wrapper for processing below.\n let tag = null;\n if (tree.length === 1 && tree[0].type === \"tag\") {\n tag = tree[0].tag;\n tree = tree[0].body;\n } // Build the expression contained in the tree\n const expression = buildExpression(tree, options, \"root\");\n let eqnNum;\n if (expression.length === 2 && expression[1].hasClass(\"tag\")) // An environment with automatic equation numbers, e.g. {gather}.\n eqnNum = expression.pop();\n const children = []; // Create one base node for each chunk between potential line breaks.\n // The TeXBook [p.173] says \"A formula will be broken only after a\n // relation symbol like $=$ or $<$ or $\\rightarrow$, or after a binary\n // operation symbol like $+$ or $-$ or $\\times$, where the relation or\n // binary operation is on the ``outer level'' of the formula (i.e., not\n // enclosed in {...} and not part of an \\over construction).\"\n let parts = [];\n for(let i = 0; i < expression.length; i++){\n parts.push(expression[i]);\n if (expression[i].hasClass(\"mbin\") || expression[i].hasClass(\"mrel\") || expression[i].hasClass(\"allowbreak\")) {\n // Put any post-operator glue on same line as operator.\n // Watch for \\nobreak along the way, and stop at \\newline.\n let nobreak = false;\n while(i < expression.length - 1 && expression[i + 1].hasClass(\"mspace\") && !expression[i + 1].hasClass(\"newline\")){\n i++;\n parts.push(expression[i]);\n if (expression[i].hasClass(\"nobreak\")) nobreak = true;\n } // Don't allow break if \\nobreak among the post-operator glue.\n if (!nobreak) {\n children.push(buildHTMLUnbreakable(parts, options));\n parts = [];\n }\n } else if (expression[i].hasClass(\"newline\")) {\n // Write the line except the newline\n parts.pop();\n if (parts.length > 0) {\n children.push(buildHTMLUnbreakable(parts, options));\n parts = [];\n } // Put the newline at the top level\n children.push(expression[i]);\n }\n }\n if (parts.length > 0) children.push(buildHTMLUnbreakable(parts, options));\n // Now, if there was a tag, build it too and append it as a final child.\n let tagChild;\n if (tag) {\n tagChild = buildHTMLUnbreakable(buildExpression(tag, options, true));\n tagChild.classes = [\n \"tag\"\n ];\n children.push(tagChild);\n } else if (eqnNum) children.push(eqnNum);\n const htmlNode = buildHTML_makeSpan([\n \"katex-html\"\n ], children);\n htmlNode.setAttribute(\"aria-hidden\", \"true\"); // Adjust the strut of the tag to be the maximum height of all children\n // (the height of the enclosing htmlNode) for proper vertical alignment.\n if (tagChild) {\n const strut = tagChild.children[0];\n strut.style.height = makeEm(htmlNode.height + htmlNode.depth);\n if (htmlNode.depth) strut.style.verticalAlign = makeEm(-htmlNode.depth);\n }\n return htmlNode;\n }\n /**\n * These objects store data about MathML nodes. This is the MathML equivalent\n * of the types in domTree.js. Since MathML handles its own rendering, and\n * since we're mainly using MathML to improve accessibility, we don't manage\n * any of the styling state that the plain DOM nodes do.\n *\n * The `toNode` and `toMarkup` functions work similarly to how they do in\n * domTree.js, creating namespaced DOM nodes and HTML text markup respectively.\n */ function newDocumentFragment(children) {\n return new DocumentFragment(children);\n }\n /**\n * This node represents a general purpose MathML node of any type. The\n * constructor requires the type of node to create (for example, `\"mo\"` or\n * `\"mspace\"`, corresponding to `` and `` tags).\n */ class MathNode {\n constructor(type, children, classes){\n this.type = void 0;\n this.attributes = void 0;\n this.children = void 0;\n this.classes = void 0;\n this.type = type;\n this.attributes = {};\n this.children = children || [];\n this.classes = classes || [];\n }\n /**\n * Sets an attribute on a MathML node. MathML depends on attributes to convey a\n * semantic content, so this is used heavily.\n */ setAttribute(name, value) {\n this.attributes[name] = value;\n }\n /**\n * Gets an attribute on a MathML node.\n */ getAttribute(name) {\n return this.attributes[name];\n }\n /**\n * Converts the math node into a MathML-namespaced DOM element.\n */ toNode() {\n const node = document.createElementNS(\"http://www.w3.org/1998/Math/MathML\", this.type);\n for(const attr in this.attributes)if (Object.prototype.hasOwnProperty.call(this.attributes, attr)) node.setAttribute(attr, this.attributes[attr]);\n if (this.classes.length > 0) node.className = createClass(this.classes);\n for(let i = 0; i < this.children.length; i++)node.appendChild(this.children[i].toNode());\n return node;\n }\n /**\n * Converts the math node into an HTML markup string.\n */ toMarkup() {\n let markup = \"<\" + this.type; // Add the attributes\n for(const attr in this.attributes)if (Object.prototype.hasOwnProperty.call(this.attributes, attr)) {\n markup += \" \" + attr + '=\"';\n markup += utils.escape(this.attributes[attr]);\n markup += '\"';\n }\n if (this.classes.length > 0) markup += ' class =\"' + utils.escape(createClass(this.classes)) + '\"';\n markup += \">\";\n for(let i = 0; i < this.children.length; i++)markup += this.children[i].toMarkup();\n markup += \"\" + this.type + \">\";\n return markup;\n }\n /**\n * Converts the math node into a string, similar to innerText, but escaped.\n */ toText() {\n return this.children.map((child)=>child.toText()).join(\"\");\n }\n }\n /**\n * This node represents a piece of text.\n */ class TextNode {\n constructor(text){\n this.text = void 0;\n this.text = text;\n }\n /**\n * Converts the text node into a DOM text node.\n */ toNode() {\n return document.createTextNode(this.text);\n }\n /**\n * Converts the text node into escaped HTML markup\n * (representing the text itself).\n */ toMarkup() {\n return utils.escape(this.toText());\n }\n /**\n * Converts the text node into a string\n * (representing the text itself).\n */ toText() {\n return this.text;\n }\n }\n /**\n * This node represents a space, but may render as or as text,\n * depending on the width.\n */ class SpaceNode {\n /**\n * Create a Space node with width given in CSS ems.\n */ constructor(width){\n this.width = void 0;\n this.character = void 0;\n this.width = width; // See https://www.w3.org/TR/2000/WD-MathML2-20000328/chapter6.html\n // for a table of space-like characters. We use Unicode\n // representations instead of &LongNames; as it's not clear how to\n // make the latter via document.createTextNode.\n if (width >= 0.05555 && width <= 0.05556) this.character = \"\\u200A\"; //  \n else if (width >= 0.1666 && width <= 0.1667) this.character = \"\\u2009\"; //  \n else if (width >= 0.2222 && width <= 0.2223) this.character = \"\\u2005\"; //  \n else if (width >= 0.2777 && width <= 0.2778) this.character = \"\\u2005\\u200A\"; //   \n else if (width >= -0.05556 && width <= -0.05555) this.character = \"\\u200A\\u2063\"; // ​\n else if (width >= -0.1667 && width <= -0.1666) this.character = \"\\u2009\\u2063\"; // ​\n else if (width >= -0.2223 && width <= -0.2222) this.character = \"\\u205F\\u2063\"; // ​\n else if (width >= -0.2778 && width <= -0.2777) this.character = \"\\u2005\\u2063\"; // ​\n else this.character = null;\n }\n /**\n * Converts the math node into a MathML-namespaced DOM element.\n */ toNode() {\n if (this.character) return document.createTextNode(this.character);\n else {\n const node = document.createElementNS(\"http://www.w3.org/1998/Math/MathML\", \"mspace\");\n node.setAttribute(\"width\", makeEm(this.width));\n return node;\n }\n }\n /**\n * Converts the math node into an HTML markup string.\n */ toMarkup() {\n if (this.character) return \"\" + this.character + \" \";\n else return ' ';\n }\n /**\n * Converts the math node into a string, similar to innerText.\n */ toText() {\n if (this.character) return this.character;\n else return \" \";\n }\n }\n /* harmony default export */ var mathMLTree = {\n MathNode: MathNode,\n TextNode: TextNode,\n SpaceNode: SpaceNode,\n newDocumentFragment: newDocumentFragment\n };\n /**\n * This file converts a parse tree into a corresponding MathML tree. The main\n * entry point is the `buildMathML` function, which takes a parse tree from the\n * parser.\n */ /**\n * Takes a symbol and converts it into a MathML text node after performing\n * optional replacement from symbols.js.\n */ const makeText = function(text, mode, options) {\n if (src_symbols[mode][text] && src_symbols[mode][text].replace && text.charCodeAt(0) !== 0xD835 && !(ligatures.hasOwnProperty(text) && options && (options.fontFamily && options.fontFamily.slice(4, 6) === \"tt\" || options.font && options.font.slice(4, 6) === \"tt\"))) text = src_symbols[mode][text].replace;\n return new mathMLTree.TextNode(text);\n };\n /**\n * Wrap the given array of nodes in an node if needed, i.e.,\n * unless the array has length 1. Always returns a single node.\n */ const makeRow = function(body) {\n if (body.length === 1) return body[0];\n else return new mathMLTree.MathNode(\"mrow\", body);\n };\n /**\n * Returns the math variant as a string or null if none is required.\n */ const getVariant = function(group, options) {\n // Handle \\text... font specifiers as best we can.\n // MathML has a limited list of allowable mathvariant specifiers; see\n // https://www.w3.org/TR/MathML3/chapter3.html#presm.commatt\n if (options.fontFamily === \"texttt\") return \"monospace\";\n else if (options.fontFamily === \"textsf\") {\n if (options.fontShape === \"textit\" && options.fontWeight === \"textbf\") return \"sans-serif-bold-italic\";\n else if (options.fontShape === \"textit\") return \"sans-serif-italic\";\n else if (options.fontWeight === \"textbf\") return \"bold-sans-serif\";\n else return \"sans-serif\";\n } else if (options.fontShape === \"textit\" && options.fontWeight === \"textbf\") return \"bold-italic\";\n else if (options.fontShape === \"textit\") return \"italic\";\n else if (options.fontWeight === \"textbf\") return \"bold\";\n const font = options.font;\n if (!font || font === \"mathnormal\") return null;\n const mode = group.mode;\n if (font === \"mathit\") return \"italic\";\n else if (font === \"boldsymbol\") return group.type === \"textord\" ? \"bold\" : \"bold-italic\";\n else if (font === \"mathbf\") return \"bold\";\n else if (font === \"mathbb\") return \"double-struck\";\n else if (font === \"mathfrak\") return \"fraktur\";\n else if (font === \"mathscr\" || font === \"mathcal\") // MathML makes no distinction between script and calligraphic\n return \"script\";\n else if (font === \"mathsf\") return \"sans-serif\";\n else if (font === \"mathtt\") return \"monospace\";\n let text = group.text;\n if (utils.contains([\n \"\\\\imath\",\n \"\\\\jmath\"\n ], text)) return null;\n if (src_symbols[mode][text] && src_symbols[mode][text].replace) text = src_symbols[mode][text].replace;\n const fontName = buildCommon.fontMap[font].fontName;\n if (getCharacterMetrics(text, fontName, mode)) return buildCommon.fontMap[font].variant;\n return null;\n };\n /**\n * Takes a list of nodes, builds them, and returns a list of the generated\n * MathML nodes. Also combine consecutive outputs into a single\n * tag.\n */ const buildMathML_buildExpression = function(expression, options, isOrdgroup) {\n if (expression.length === 1) {\n const group = buildMathML_buildGroup(expression[0], options);\n if (isOrdgroup && group instanceof MathNode && group.type === \"mo\") {\n // When TeX writers want to suppress spacing on an operator,\n // they often put the operator by itself inside braces.\n group.setAttribute(\"lspace\", \"0em\");\n group.setAttribute(\"rspace\", \"0em\");\n }\n return [\n group\n ];\n }\n const groups = [];\n let lastGroup;\n for(let i = 0; i < expression.length; i++){\n const group = buildMathML_buildGroup(expression[i], options);\n if (group instanceof MathNode && lastGroup instanceof MathNode) {\n // Concatenate adjacent s\n if (group.type === \"mtext\" && lastGroup.type === \"mtext\" && group.getAttribute(\"mathvariant\") === lastGroup.getAttribute(\"mathvariant\")) {\n lastGroup.children.push(...group.children);\n continue; // Concatenate adjacent s\n } else if (group.type === \"mn\" && lastGroup.type === \"mn\") {\n lastGroup.children.push(...group.children);\n continue; // Concatenate ... followed by . \n } else if (group.type === \"mi\" && group.children.length === 1 && lastGroup.type === \"mn\") {\n const child = group.children[0];\n if (child instanceof TextNode && child.text === \".\") {\n lastGroup.children.push(...group.children);\n continue;\n }\n } else if (lastGroup.type === \"mi\" && lastGroup.children.length === 1) {\n const lastChild = lastGroup.children[0];\n if (lastChild instanceof TextNode && lastChild.text === \"\\u0338\" && (group.type === \"mo\" || group.type === \"mi\" || group.type === \"mn\")) {\n const child = group.children[0];\n if (child instanceof TextNode && child.text.length > 0) {\n // Overlay with combining character long solidus\n child.text = child.text.slice(0, 1) + \"\\u0338\" + child.text.slice(1);\n groups.pop();\n }\n }\n }\n }\n groups.push(group);\n lastGroup = group;\n }\n return groups;\n };\n /**\n * Equivalent to buildExpression, but wraps the elements in an \n * if there's more than one. Returns a single node instead of an array.\n */ const buildExpressionRow = function(expression, options, isOrdgroup) {\n return makeRow(buildMathML_buildExpression(expression, options, isOrdgroup));\n };\n /**\n * Takes a group from the parser and calls the appropriate groupBuilders function\n * on it to produce a MathML node.\n */ const buildMathML_buildGroup = function(group, options) {\n if (!group) return new mathMLTree.MathNode(\"mrow\");\n if (_mathmlGroupBuilders[group.type]) {\n // Call the groupBuilders function\n // $FlowFixMe\n const result = _mathmlGroupBuilders[group.type](group, options); // $FlowFixMe\n return result;\n } else throw new src_ParseError(\"Got group of unknown type: '\" + group.type + \"'\");\n };\n /**\n * Takes a full parse tree and settings and builds a MathML representation of\n * it. In particular, we put the elements from building the parse tree into a\n * tag so we can also include that TeX source as an annotation.\n *\n * Note that we actually return a domTree element with a `` inside it so\n * we can do appropriate styling.\n */ function buildMathML(tree, texExpression, options, isDisplayMode, forMathmlOnly) {\n const expression = buildMathML_buildExpression(tree, options); // TODO: Make a pass thru the MathML similar to buildHTML.traverseNonSpaceNodes\n // and add spacing nodes. This is necessary only adjacent to math operators\n // like \\sin or \\lim or to subsup elements that contain math operators.\n // MathML takes care of the other spacing issues.\n // Wrap up the expression in an mrow so it is presented in the semantics\n // tag correctly, unless it's a single or .\n let wrapper;\n if (expression.length === 1 && expression[0] instanceof MathNode && utils.contains([\n \"mrow\",\n \"mtable\"\n ], expression[0].type)) wrapper = expression[0];\n else wrapper = new mathMLTree.MathNode(\"mrow\", expression);\n // Build a TeX annotation of the source\n const annotation = new mathMLTree.MathNode(\"annotation\", [\n new mathMLTree.TextNode(texExpression)\n ]);\n annotation.setAttribute(\"encoding\", \"application/x-tex\");\n const semantics = new mathMLTree.MathNode(\"semantics\", [\n wrapper,\n annotation\n ]);\n const math = new mathMLTree.MathNode(\"math\", [\n semantics\n ]);\n math.setAttribute(\"xmlns\", \"http://www.w3.org/1998/Math/MathML\");\n if (isDisplayMode) math.setAttribute(\"display\", \"block\");\n // You can't style nodes, so we wrap the node in a span.\n // NOTE: The span class is not typed to have nodes as children, and\n // we don't want to make the children type more generic since the children\n // of span are expected to have more fields in `buildHtml` contexts.\n const wrapperClass = forMathmlOnly ? \"katex\" : \"katex-mathml\"; // $FlowFixMe\n return buildCommon.makeSpan([\n wrapperClass\n ], [\n math\n ]);\n }\n const optionsFromSettings = function(settings) {\n return new src_Options({\n style: settings.displayMode ? src_Style.DISPLAY : src_Style.TEXT,\n maxSize: settings.maxSize,\n minRuleThickness: settings.minRuleThickness\n });\n };\n const displayWrap = function(node, settings) {\n if (settings.displayMode) {\n const classes = [\n \"katex-display\"\n ];\n if (settings.leqno) classes.push(\"leqno\");\n if (settings.fleqn) classes.push(\"fleqn\");\n node = buildCommon.makeSpan(classes, [\n node\n ]);\n }\n return node;\n };\n const buildTree = function(tree, expression, settings) {\n const options = optionsFromSettings(settings);\n let katexNode;\n if (settings.output === \"mathml\") return buildMathML(tree, expression, options, settings.displayMode, true);\n else if (settings.output === \"html\") {\n const htmlNode = buildHTML(tree, options);\n katexNode = buildCommon.makeSpan([\n \"katex\"\n ], [\n htmlNode\n ]);\n } else {\n const mathMLNode = buildMathML(tree, expression, options, settings.displayMode, false);\n const htmlNode = buildHTML(tree, options);\n katexNode = buildCommon.makeSpan([\n \"katex\"\n ], [\n mathMLNode,\n htmlNode\n ]);\n }\n return displayWrap(katexNode, settings);\n };\n const buildHTMLTree = function(tree, expression, settings) {\n const options = optionsFromSettings(settings);\n const htmlNode = buildHTML(tree, options);\n const katexNode = buildCommon.makeSpan([\n \"katex\"\n ], [\n htmlNode\n ]);\n return displayWrap(katexNode, settings);\n };\n /* harmony default export */ var src_buildTree = /* unused pure expression or super */ null;\n /**\n * This file provides support to buildMathML.js and buildHTML.js\n * for stretchy wide elements rendered from SVG files\n * and other CSS trickery.\n */ const stretchyCodePoint = {\n widehat: \"^\",\n widecheck: \"\\u02C7\",\n widetilde: \"~\",\n utilde: \"~\",\n overleftarrow: \"\\u2190\",\n underleftarrow: \"\\u2190\",\n xleftarrow: \"\\u2190\",\n overrightarrow: \"\\u2192\",\n underrightarrow: \"\\u2192\",\n xrightarrow: \"\\u2192\",\n underbrace: \"\\u23DF\",\n overbrace: \"\\u23DE\",\n overgroup: \"\\u23E0\",\n undergroup: \"\\u23E1\",\n overleftrightarrow: \"\\u2194\",\n underleftrightarrow: \"\\u2194\",\n xleftrightarrow: \"\\u2194\",\n Overrightarrow: \"\\u21D2\",\n xRightarrow: \"\\u21D2\",\n overleftharpoon: \"\\u21BC\",\n xleftharpoonup: \"\\u21BC\",\n overrightharpoon: \"\\u21C0\",\n xrightharpoonup: \"\\u21C0\",\n xLeftarrow: \"\\u21D0\",\n xLeftrightarrow: \"\\u21D4\",\n xhookleftarrow: \"\\u21A9\",\n xhookrightarrow: \"\\u21AA\",\n xmapsto: \"\\u21A6\",\n xrightharpoondown: \"\\u21C1\",\n xleftharpoondown: \"\\u21BD\",\n xrightleftharpoons: \"\\u21CC\",\n xleftrightharpoons: \"\\u21CB\",\n xtwoheadleftarrow: \"\\u219E\",\n xtwoheadrightarrow: \"\\u21A0\",\n xlongequal: \"=\",\n xtofrom: \"\\u21C4\",\n xrightleftarrows: \"\\u21C4\",\n xrightequilibrium: \"\\u21CC\",\n // Not a perfect match.\n xleftequilibrium: \"\\u21CB\",\n // None better available.\n \"\\\\cdrightarrow\": \"\\u2192\",\n \"\\\\cdleftarrow\": \"\\u2190\",\n \"\\\\cdlongequal\": \"=\"\n };\n const mathMLnode = function(label) {\n const node = new mathMLTree.MathNode(\"mo\", [\n new mathMLTree.TextNode(stretchyCodePoint[label.replace(/^\\\\/, \"\")])\n ]);\n node.setAttribute(\"stretchy\", \"true\");\n return node;\n }; // Many of the KaTeX SVG images have been adapted from glyphs in KaTeX fonts.\n // Copyright (c) 2009-2010, Design Science, Inc. ()\n // Copyright (c) 2014-2017 Khan Academy ()\n // Licensed under the SIL Open Font License, Version 1.1.\n // See \\nhttp://scripts.sil.org/OFL\n // Very Long SVGs\n // Many of the KaTeX stretchy wide elements use a long SVG image and an\n // overflow: hidden tactic to achieve a stretchy image while avoiding\n // distortion of arrowheads or brace corners.\n // The SVG typically contains a very long (400 em) arrow.\n // The SVG is in a container span that has overflow: hidden, so the span\n // acts like a window that exposes only part of the SVG.\n // The SVG always has a longer, thinner aspect ratio than the container span.\n // After the SVG fills 100% of the height of the container span,\n // there is a long arrow shaft left over. That left-over shaft is not shown.\n // Instead, it is sliced off because the span's CSS has overflow: hidden.\n // Thus, the reader sees an arrow that matches the subject matter width\n // without distortion.\n // Some functions, such as \\cancel, need to vary their aspect ratio. These\n // functions do not get the overflow SVG treatment.\n // Second Brush Stroke\n // Low resolution monitors struggle to display images in fine detail.\n // So browsers apply anti-aliasing. A long straight arrow shaft therefore\n // will sometimes appear as if it has a blurred edge.\n // To mitigate this, these SVG files contain a second \"brush-stroke\" on the\n // arrow shafts. That is, a second long thin rectangular SVG path has been\n // written directly on top of each arrow shaft. This reinforcement causes\n // some of the screen pixels to display as black instead of the anti-aliased\n // gray pixel that a single path would generate. So we get arrow shafts\n // whose edges appear to be sharper.\n // In the katexImagesData object just below, the dimensions all\n // correspond to path geometry inside the relevant SVG.\n // For example, \\overrightarrow uses the same arrowhead as glyph U+2192\n // from the KaTeX Main font. The scaling factor is 1000.\n // That is, inside the font, that arrowhead is 522 units tall, which\n // corresponds to 0.522 em inside the document.\n const katexImagesData = {\n // path(s), minWidth, height, align\n overrightarrow: [\n [\n \"rightarrow\"\n ],\n 0.888,\n 522,\n \"xMaxYMin\"\n ],\n overleftarrow: [\n [\n \"leftarrow\"\n ],\n 0.888,\n 522,\n \"xMinYMin\"\n ],\n underrightarrow: [\n [\n \"rightarrow\"\n ],\n 0.888,\n 522,\n \"xMaxYMin\"\n ],\n underleftarrow: [\n [\n \"leftarrow\"\n ],\n 0.888,\n 522,\n \"xMinYMin\"\n ],\n xrightarrow: [\n [\n \"rightarrow\"\n ],\n 1.469,\n 522,\n \"xMaxYMin\"\n ],\n \"\\\\cdrightarrow\": [\n [\n \"rightarrow\"\n ],\n 3.0,\n 522,\n \"xMaxYMin\"\n ],\n // CD minwwidth2.5pc\n xleftarrow: [\n [\n \"leftarrow\"\n ],\n 1.469,\n 522,\n \"xMinYMin\"\n ],\n \"\\\\cdleftarrow\": [\n [\n \"leftarrow\"\n ],\n 3.0,\n 522,\n \"xMinYMin\"\n ],\n Overrightarrow: [\n [\n \"doublerightarrow\"\n ],\n 0.888,\n 560,\n \"xMaxYMin\"\n ],\n xRightarrow: [\n [\n \"doublerightarrow\"\n ],\n 1.526,\n 560,\n \"xMaxYMin\"\n ],\n xLeftarrow: [\n [\n \"doubleleftarrow\"\n ],\n 1.526,\n 560,\n \"xMinYMin\"\n ],\n overleftharpoon: [\n [\n \"leftharpoon\"\n ],\n 0.888,\n 522,\n \"xMinYMin\"\n ],\n xleftharpoonup: [\n [\n \"leftharpoon\"\n ],\n 0.888,\n 522,\n \"xMinYMin\"\n ],\n xleftharpoondown: [\n [\n \"leftharpoondown\"\n ],\n 0.888,\n 522,\n \"xMinYMin\"\n ],\n overrightharpoon: [\n [\n \"rightharpoon\"\n ],\n 0.888,\n 522,\n \"xMaxYMin\"\n ],\n xrightharpoonup: [\n [\n \"rightharpoon\"\n ],\n 0.888,\n 522,\n \"xMaxYMin\"\n ],\n xrightharpoondown: [\n [\n \"rightharpoondown\"\n ],\n 0.888,\n 522,\n \"xMaxYMin\"\n ],\n xlongequal: [\n [\n \"longequal\"\n ],\n 0.888,\n 334,\n \"xMinYMin\"\n ],\n \"\\\\cdlongequal\": [\n [\n \"longequal\"\n ],\n 3.0,\n 334,\n \"xMinYMin\"\n ],\n xtwoheadleftarrow: [\n [\n \"twoheadleftarrow\"\n ],\n 0.888,\n 334,\n \"xMinYMin\"\n ],\n xtwoheadrightarrow: [\n [\n \"twoheadrightarrow\"\n ],\n 0.888,\n 334,\n \"xMaxYMin\"\n ],\n overleftrightarrow: [\n [\n \"leftarrow\",\n \"rightarrow\"\n ],\n 0.888,\n 522\n ],\n overbrace: [\n [\n \"leftbrace\",\n \"midbrace\",\n \"rightbrace\"\n ],\n 1.6,\n 548\n ],\n underbrace: [\n [\n \"leftbraceunder\",\n \"midbraceunder\",\n \"rightbraceunder\"\n ],\n 1.6,\n 548\n ],\n underleftrightarrow: [\n [\n \"leftarrow\",\n \"rightarrow\"\n ],\n 0.888,\n 522\n ],\n xleftrightarrow: [\n [\n \"leftarrow\",\n \"rightarrow\"\n ],\n 1.75,\n 522\n ],\n xLeftrightarrow: [\n [\n \"doubleleftarrow\",\n \"doublerightarrow\"\n ],\n 1.75,\n 560\n ],\n xrightleftharpoons: [\n [\n \"leftharpoondownplus\",\n \"rightharpoonplus\"\n ],\n 1.75,\n 716\n ],\n xleftrightharpoons: [\n [\n \"leftharpoonplus\",\n \"rightharpoondownplus\"\n ],\n 1.75,\n 716\n ],\n xhookleftarrow: [\n [\n \"leftarrow\",\n \"righthook\"\n ],\n 1.08,\n 522\n ],\n xhookrightarrow: [\n [\n \"lefthook\",\n \"rightarrow\"\n ],\n 1.08,\n 522\n ],\n overlinesegment: [\n [\n \"leftlinesegment\",\n \"rightlinesegment\"\n ],\n 0.888,\n 522\n ],\n underlinesegment: [\n [\n \"leftlinesegment\",\n \"rightlinesegment\"\n ],\n 0.888,\n 522\n ],\n overgroup: [\n [\n \"leftgroup\",\n \"rightgroup\"\n ],\n 0.888,\n 342\n ],\n undergroup: [\n [\n \"leftgroupunder\",\n \"rightgroupunder\"\n ],\n 0.888,\n 342\n ],\n xmapsto: [\n [\n \"leftmapsto\",\n \"rightarrow\"\n ],\n 1.5,\n 522\n ],\n xtofrom: [\n [\n \"leftToFrom\",\n \"rightToFrom\"\n ],\n 1.75,\n 528\n ],\n // The next three arrows are from the mhchem package.\n // In mhchem.sty, min-length is 2.0em. But these arrows might appear in the\n // document as \\xrightarrow or \\xrightleftharpoons. Those have\n // min-length = 1.75em, so we set min-length on these next three to match.\n xrightleftarrows: [\n [\n \"baraboveleftarrow\",\n \"rightarrowabovebar\"\n ],\n 1.75,\n 901\n ],\n xrightequilibrium: [\n [\n \"baraboveshortleftharpoon\",\n \"rightharpoonaboveshortbar\"\n ],\n 1.75,\n 716\n ],\n xleftequilibrium: [\n [\n \"shortbaraboveleftharpoon\",\n \"shortrightharpoonabovebar\"\n ],\n 1.75,\n 716\n ]\n };\n const groupLength = function(arg) {\n if (arg.type === \"ordgroup\") return arg.body.length;\n else return 1;\n };\n const svgSpan = function(group, options) {\n // Create a span with inline SVG for the element.\n function buildSvgSpan_() {\n let viewBoxWidth = 400000; // default\n const label = group.label.slice(1);\n if (utils.contains([\n \"widehat\",\n \"widecheck\",\n \"widetilde\",\n \"utilde\"\n ], label)) {\n // Each type in the `if` statement corresponds to one of the ParseNode\n // types below. This narrowing is required to access `grp.base`.\n // $FlowFixMe\n const grp = group; // There are four SVG images available for each function.\n // Choose a taller image when there are more characters.\n const numChars = groupLength(grp.base);\n let viewBoxHeight;\n let pathName;\n let height;\n if (numChars > 5) {\n if (label === \"widehat\" || label === \"widecheck\") {\n viewBoxHeight = 420;\n viewBoxWidth = 2364;\n height = 0.42;\n pathName = label + \"4\";\n } else {\n viewBoxHeight = 312;\n viewBoxWidth = 2340;\n height = 0.34;\n pathName = \"tilde4\";\n }\n } else {\n const imgIndex = [\n 1,\n 1,\n 2,\n 2,\n 3,\n 3\n ][numChars];\n if (label === \"widehat\" || label === \"widecheck\") {\n viewBoxWidth = [\n 0,\n 1062,\n 2364,\n 2364,\n 2364\n ][imgIndex];\n viewBoxHeight = [\n 0,\n 239,\n 300,\n 360,\n 420\n ][imgIndex];\n height = [\n 0,\n 0.24,\n 0.3,\n 0.3,\n 0.36,\n 0.42\n ][imgIndex];\n pathName = label + imgIndex;\n } else {\n viewBoxWidth = [\n 0,\n 600,\n 1033,\n 2339,\n 2340\n ][imgIndex];\n viewBoxHeight = [\n 0,\n 260,\n 286,\n 306,\n 312\n ][imgIndex];\n height = [\n 0,\n 0.26,\n 0.286,\n 0.3,\n 0.306,\n 0.34\n ][imgIndex];\n pathName = \"tilde\" + imgIndex;\n }\n }\n const path = new PathNode(pathName);\n const svgNode = new SvgNode([\n path\n ], {\n \"width\": \"100%\",\n \"height\": makeEm(height),\n \"viewBox\": \"0 0 \" + viewBoxWidth + \" \" + viewBoxHeight,\n \"preserveAspectRatio\": \"none\"\n });\n return {\n span: buildCommon.makeSvgSpan([], [\n svgNode\n ], options),\n minWidth: 0,\n height: height\n };\n } else {\n const spans = [];\n const data = katexImagesData[label];\n const [paths, minWidth, viewBoxHeight] = data;\n const height = viewBoxHeight / 1000;\n const numSvgChildren = paths.length;\n let widthClasses;\n let aligns;\n if (numSvgChildren === 1) {\n // $FlowFixMe: All these cases must be of the 4-tuple type.\n const align1 = data[3];\n widthClasses = [\n \"hide-tail\"\n ];\n aligns = [\n align1\n ];\n } else if (numSvgChildren === 2) {\n widthClasses = [\n \"halfarrow-left\",\n \"halfarrow-right\"\n ];\n aligns = [\n \"xMinYMin\",\n \"xMaxYMin\"\n ];\n } else if (numSvgChildren === 3) {\n widthClasses = [\n \"brace-left\",\n \"brace-center\",\n \"brace-right\"\n ];\n aligns = [\n \"xMinYMin\",\n \"xMidYMin\",\n \"xMaxYMin\"\n ];\n } else throw new Error(\"Correct katexImagesData or update code here to support\\n \" + numSvgChildren + \" children.\");\n for(let i = 0; i < numSvgChildren; i++){\n const path = new PathNode(paths[i]);\n const svgNode = new SvgNode([\n path\n ], {\n \"width\": \"400em\",\n \"height\": makeEm(height),\n \"viewBox\": \"0 0 \" + viewBoxWidth + \" \" + viewBoxHeight,\n \"preserveAspectRatio\": aligns[i] + \" slice\"\n });\n const span = buildCommon.makeSvgSpan([\n widthClasses[i]\n ], [\n svgNode\n ], options);\n if (numSvgChildren === 1) return {\n span: span,\n minWidth: minWidth,\n height: height\n };\n else {\n span.style.height = makeEm(height);\n spans.push(span);\n }\n }\n return {\n span: buildCommon.makeSpan([\n \"stretchy\"\n ], spans, options),\n minWidth: minWidth,\n height: height\n };\n }\n } // buildSvgSpan_()\n const { span: span, minWidth: minWidth, height: height } = buildSvgSpan_(); // Note that we are returning span.depth = 0.\n // Any adjustments relative to the baseline must be done in buildHTML.\n span.height = height;\n span.style.height = makeEm(height);\n if (minWidth > 0) span.style.minWidth = makeEm(minWidth);\n return span;\n };\n const encloseSpan = function(inner, label, topPad, bottomPad, options) {\n // Return an image span for \\cancel, \\bcancel, \\xcancel, \\fbox, or \\angl\n let img;\n const totalHeight = inner.height + inner.depth + topPad + bottomPad;\n if (/fbox|color|angl/.test(label)) {\n img = buildCommon.makeSpan([\n \"stretchy\",\n label\n ], [], options);\n if (label === \"fbox\") {\n const color = options.color && options.getColor();\n if (color) img.style.borderColor = color;\n }\n } else {\n // \\cancel, \\bcancel, or \\xcancel\n // Since \\cancel's SVG is inline and it omits the viewBox attribute,\n // its stroke-width will not vary with span area.\n const lines = [];\n if (/^[bx]cancel$/.test(label)) lines.push(new LineNode({\n \"x1\": \"0\",\n \"y1\": \"0\",\n \"x2\": \"100%\",\n \"y2\": \"100%\",\n \"stroke-width\": \"0.046em\"\n }));\n if (/^x?cancel$/.test(label)) lines.push(new LineNode({\n \"x1\": \"0\",\n \"y1\": \"100%\",\n \"x2\": \"100%\",\n \"y2\": \"0\",\n \"stroke-width\": \"0.046em\"\n }));\n const svgNode = new SvgNode(lines, {\n \"width\": \"100%\",\n \"height\": makeEm(totalHeight)\n });\n img = buildCommon.makeSvgSpan([], [\n svgNode\n ], options);\n }\n img.height = totalHeight;\n img.style.height = makeEm(totalHeight);\n return img;\n };\n /* harmony default export */ var stretchy = {\n encloseSpan: encloseSpan,\n mathMLnode: mathMLnode,\n svgSpan: svgSpan\n };\n /**\n * Asserts that the node is of the given type and returns it with stricter\n * typing. Throws if the node's type does not match.\n */ function assertNodeType(node, type) {\n if (!node || node.type !== type) throw new Error(\"Expected node of type \" + type + \", but got \" + (node ? \"node of type \" + node.type : String(node)));\n // $FlowFixMe, >=0.125\n return node;\n }\n /**\n * Returns the node more strictly typed iff it is of the given type. Otherwise,\n * returns null.\n */ function assertSymbolNodeType(node) {\n const typedNode = checkSymbolNodeType(node);\n if (!typedNode) throw new Error(\"Expected node of symbol group type, but got \" + (node ? \"node of type \" + node.type : String(node)));\n return typedNode;\n }\n /**\n * Returns the node more strictly typed iff it is of the given type. Otherwise,\n * returns null.\n */ function checkSymbolNodeType(node) {\n if (node && (node.type === \"atom\" || NON_ATOMS.hasOwnProperty(node.type))) // $FlowFixMe\n return node;\n return null;\n }\n // NOTE: Unlike most `htmlBuilder`s, this one handles not only \"accent\", but\n // also \"supsub\" since an accent can affect super/subscripting.\n const htmlBuilder = (grp, options)=>{\n // Accents are handled in the TeXbook pg. 443, rule 12.\n let base;\n let group;\n let supSubGroup;\n if (grp && grp.type === \"supsub\") {\n // If our base is a character box, and we have superscripts and\n // subscripts, the supsub will defer to us. In particular, we want\n // to attach the superscripts and subscripts to the inner body (so\n // that the position of the superscripts and subscripts won't be\n // affected by the height of the accent). We accomplish this by\n // sticking the base of the accent into the base of the supsub, and\n // rendering that, while keeping track of where the accent is.\n // The real accent group is the base of the supsub group\n group = assertNodeType(grp.base, \"accent\"); // The character box is the base of the accent group\n base = group.base; // Stick the character box into the base of the supsub group\n grp.base = base; // Rerender the supsub group with its new base, and store that\n // result.\n supSubGroup = assertSpan(buildGroup(grp, options)); // reset original base\n grp.base = group;\n } else {\n group = assertNodeType(grp, \"accent\");\n base = group.base;\n } // Build the base group\n const body = buildGroup(base, options.havingCrampedStyle()); // Does the accent need to shift for the skew of a character?\n const mustShift = group.isShifty && utils.isCharacterBox(base); // Calculate the skew of the accent. This is based on the line \"If the\n // nucleus is not a single character, let s = 0; otherwise set s to the\n // kern amount for the nucleus followed by the \\skewchar of its font.\"\n // Note that our skew metrics are just the kern between each character\n // and the skewchar.\n let skew = 0;\n if (mustShift) {\n // If the base is a character box, then we want the skew of the\n // innermost character. To do that, we find the innermost character:\n const baseChar = utils.getBaseElem(base); // Then, we render its group to get the symbol inside it\n const baseGroup = buildGroup(baseChar, options.havingCrampedStyle()); // Finally, we pull the skew off of the symbol.\n skew = assertSymbolDomNode(baseGroup).skew; // Note that we now throw away baseGroup, because the layers we\n // removed with getBaseElem might contain things like \\color which\n // we can't get rid of.\n // TODO(emily): Find a better way to get the skew\n }\n const accentBelow = group.label === \"\\\\c\"; // calculate the amount of space between the body and the accent\n let clearance = accentBelow ? body.height + body.depth : Math.min(body.height, options.fontMetrics().xHeight); // Build the accent\n let accentBody;\n if (!group.isStretchy) {\n let accent;\n let width;\n if (group.label === \"\\\\vec\") {\n // Before version 0.9, \\vec used the combining font glyph U+20D7.\n // But browsers, especially Safari, are not consistent in how they\n // render combining characters when not preceded by a character.\n // So now we use an SVG.\n // If Safari reforms, we should consider reverting to the glyph.\n accent = buildCommon.staticSvg(\"vec\", options);\n width = buildCommon.svgData.vec[1];\n } else {\n accent = buildCommon.makeOrd({\n mode: group.mode,\n text: group.label\n }, options, \"textord\");\n accent = assertSymbolDomNode(accent); // Remove the italic correction of the accent, because it only serves to\n // shift the accent over to a place we don't want.\n accent.italic = 0;\n width = accent.width;\n if (accentBelow) clearance += accent.depth;\n }\n accentBody = buildCommon.makeSpan([\n \"accent-body\"\n ], [\n accent\n ]); // \"Full\" accents expand the width of the resulting symbol to be\n // at least the width of the accent, and overlap directly onto the\n // character without any vertical offset.\n const accentFull = group.label === \"\\\\textcircled\";\n if (accentFull) {\n accentBody.classes.push(\"accent-full\");\n clearance = body.height;\n } // Shift the accent over by the skew.\n let left = skew; // CSS defines `.katex .accent .accent-body:not(.accent-full) { width: 0 }`\n // so that the accent doesn't contribute to the bounding box.\n // We need to shift the character by its width (effectively half\n // its width) to compensate.\n if (!accentFull) left -= width / 2;\n accentBody.style.left = makeEm(left); // \\textcircled uses the \\bigcirc glyph, so it needs some\n // vertical adjustment to match LaTeX.\n if (group.label === \"\\\\textcircled\") accentBody.style.top = \".2em\";\n accentBody = buildCommon.makeVList({\n positionType: \"firstBaseline\",\n children: [\n {\n type: \"elem\",\n elem: body\n },\n {\n type: \"kern\",\n size: -clearance\n },\n {\n type: \"elem\",\n elem: accentBody\n }\n ]\n }, options);\n } else {\n accentBody = stretchy.svgSpan(group, options);\n accentBody = buildCommon.makeVList({\n positionType: \"firstBaseline\",\n children: [\n {\n type: \"elem\",\n elem: body\n },\n {\n type: \"elem\",\n elem: accentBody,\n wrapperClasses: [\n \"svg-align\"\n ],\n wrapperStyle: skew > 0 ? {\n width: \"calc(100% - \" + makeEm(2 * skew) + \")\",\n marginLeft: makeEm(2 * skew)\n } : undefined\n }\n ]\n }, options);\n }\n const accentWrap = buildCommon.makeSpan([\n \"mord\",\n \"accent\"\n ], [\n accentBody\n ], options);\n if (supSubGroup) {\n // Here, we replace the \"base\" child of the supsub with our newly\n // generated accent.\n supSubGroup.children[0] = accentWrap; // Since we don't rerun the height calculation after replacing the\n // accent, we manually recalculate height.\n supSubGroup.height = Math.max(accentWrap.height, supSubGroup.height); // Accents should always be ords, even when their innards are not.\n supSubGroup.classes[0] = \"mord\";\n return supSubGroup;\n } else return accentWrap;\n };\n const mathmlBuilder = (group, options)=>{\n const accentNode = group.isStretchy ? stretchy.mathMLnode(group.label) : new mathMLTree.MathNode(\"mo\", [\n makeText(group.label, group.mode)\n ]);\n const node = new mathMLTree.MathNode(\"mover\", [\n buildMathML_buildGroup(group.base, options),\n accentNode\n ]);\n node.setAttribute(\"accent\", \"true\");\n return node;\n };\n const NON_STRETCHY_ACCENT_REGEX = new RegExp([\n \"\\\\acute\",\n \"\\\\grave\",\n \"\\\\ddot\",\n \"\\\\tilde\",\n \"\\\\bar\",\n \"\\\\breve\",\n \"\\\\check\",\n \"\\\\hat\",\n \"\\\\vec\",\n \"\\\\dot\",\n \"\\\\mathring\"\n ].map((accent)=>\"\\\\\" + accent).join(\"|\")); // Accents\n defineFunction({\n type: \"accent\",\n names: [\n \"\\\\acute\",\n \"\\\\grave\",\n \"\\\\ddot\",\n \"\\\\tilde\",\n \"\\\\bar\",\n \"\\\\breve\",\n \"\\\\check\",\n \"\\\\hat\",\n \"\\\\vec\",\n \"\\\\dot\",\n \"\\\\mathring\",\n \"\\\\widecheck\",\n \"\\\\widehat\",\n \"\\\\widetilde\",\n \"\\\\overrightarrow\",\n \"\\\\overleftarrow\",\n \"\\\\Overrightarrow\",\n \"\\\\overleftrightarrow\",\n \"\\\\overgroup\",\n \"\\\\overlinesegment\",\n \"\\\\overleftharpoon\",\n \"\\\\overrightharpoon\"\n ],\n props: {\n numArgs: 1\n },\n handler: (context, args)=>{\n const base = normalizeArgument(args[0]);\n const isStretchy = !NON_STRETCHY_ACCENT_REGEX.test(context.funcName);\n const isShifty = !isStretchy || context.funcName === \"\\\\widehat\" || context.funcName === \"\\\\widetilde\" || context.funcName === \"\\\\widecheck\";\n return {\n type: \"accent\",\n mode: context.parser.mode,\n label: context.funcName,\n isStretchy: isStretchy,\n isShifty: isShifty,\n base: base\n };\n },\n htmlBuilder: htmlBuilder,\n mathmlBuilder: mathmlBuilder\n }); // Text-mode accents\n defineFunction({\n type: \"accent\",\n names: [\n \"\\\\'\",\n \"\\\\`\",\n \"\\\\^\",\n \"\\\\~\",\n \"\\\\=\",\n \"\\\\u\",\n \"\\\\.\",\n '\\\\\"',\n \"\\\\c\",\n \"\\\\r\",\n \"\\\\H\",\n \"\\\\v\",\n \"\\\\textcircled\"\n ],\n props: {\n numArgs: 1,\n allowedInText: true,\n allowedInMath: true,\n // unless in strict mode\n argTypes: [\n \"primitive\"\n ]\n },\n handler: (context, args)=>{\n const base = args[0];\n let mode = context.parser.mode;\n if (mode === \"math\") {\n context.parser.settings.reportNonstrict(\"mathVsTextAccents\", \"LaTeX's accent \" + context.funcName + \" works only in text mode\");\n mode = \"text\";\n }\n return {\n type: \"accent\",\n mode: mode,\n label: context.funcName,\n isStretchy: false,\n isShifty: true,\n base: base\n };\n },\n htmlBuilder: htmlBuilder,\n mathmlBuilder: mathmlBuilder\n });\n // Horizontal overlap functions\n defineFunction({\n type: \"accentUnder\",\n names: [\n \"\\\\underleftarrow\",\n \"\\\\underrightarrow\",\n \"\\\\underleftrightarrow\",\n \"\\\\undergroup\",\n \"\\\\underlinesegment\",\n \"\\\\utilde\"\n ],\n props: {\n numArgs: 1\n },\n handler: (_ref, args)=>{\n let { parser: parser, funcName: funcName } = _ref;\n const base = args[0];\n return {\n type: \"accentUnder\",\n mode: parser.mode,\n label: funcName,\n base: base\n };\n },\n htmlBuilder: (group, options)=>{\n // Treat under accents much like underlines.\n const innerGroup = buildGroup(group.base, options);\n const accentBody = stretchy.svgSpan(group, options);\n const kern = group.label === \"\\\\utilde\" ? 0.12 : 0; // Generate the vlist, with the appropriate kerns\n const vlist = buildCommon.makeVList({\n positionType: \"top\",\n positionData: innerGroup.height,\n children: [\n {\n type: \"elem\",\n elem: accentBody,\n wrapperClasses: [\n \"svg-align\"\n ]\n },\n {\n type: \"kern\",\n size: kern\n },\n {\n type: \"elem\",\n elem: innerGroup\n }\n ]\n }, options);\n return buildCommon.makeSpan([\n \"mord\",\n \"accentunder\"\n ], [\n vlist\n ], options);\n },\n mathmlBuilder: (group, options)=>{\n const accentNode = stretchy.mathMLnode(group.label);\n const node = new mathMLTree.MathNode(\"munder\", [\n buildMathML_buildGroup(group.base, options),\n accentNode\n ]);\n node.setAttribute(\"accentunder\", \"true\");\n return node;\n }\n });\n // Helper function\n const paddedNode = (group)=>{\n const node = new mathMLTree.MathNode(\"mpadded\", group ? [\n group\n ] : []);\n node.setAttribute(\"width\", \"+0.6em\");\n node.setAttribute(\"lspace\", \"0.3em\");\n return node;\n }; // Stretchy arrows with an optional argument\n defineFunction({\n type: \"xArrow\",\n names: [\n \"\\\\xleftarrow\",\n \"\\\\xrightarrow\",\n \"\\\\xLeftarrow\",\n \"\\\\xRightarrow\",\n \"\\\\xleftrightarrow\",\n \"\\\\xLeftrightarrow\",\n \"\\\\xhookleftarrow\",\n \"\\\\xhookrightarrow\",\n \"\\\\xmapsto\",\n \"\\\\xrightharpoondown\",\n \"\\\\xrightharpoonup\",\n \"\\\\xleftharpoondown\",\n \"\\\\xleftharpoonup\",\n \"\\\\xrightleftharpoons\",\n \"\\\\xleftrightharpoons\",\n \"\\\\xlongequal\",\n \"\\\\xtwoheadrightarrow\",\n \"\\\\xtwoheadleftarrow\",\n \"\\\\xtofrom\",\n // Direct use of these functions is discouraged and may break someday.\n \"\\\\xrightleftarrows\",\n \"\\\\xrightequilibrium\",\n \"\\\\xleftequilibrium\",\n \"\\\\\\\\cdrightarrow\",\n \"\\\\\\\\cdleftarrow\",\n \"\\\\\\\\cdlongequal\"\n ],\n props: {\n numArgs: 1,\n numOptionalArgs: 1\n },\n handler (_ref, args, optArgs) {\n let { parser: parser, funcName: funcName } = _ref;\n return {\n type: \"xArrow\",\n mode: parser.mode,\n label: funcName,\n body: args[0],\n below: optArgs[0]\n };\n },\n // Flow is unable to correctly infer the type of `group`, even though it's\n // unambiguously determined from the passed-in `type` above.\n htmlBuilder (group, options) {\n const style = options.style; // Build the argument groups in the appropriate style.\n // Ref: amsmath.dtx: \\hbox{$\\scriptstyle\\mkern#3mu{#6}\\mkern#4mu$}%\n // Some groups can return document fragments. Handle those by wrapping\n // them in a span.\n let newOptions = options.havingStyle(style.sup());\n const upperGroup = buildCommon.wrapFragment(buildGroup(group.body, newOptions, options), options);\n const arrowPrefix = group.label.slice(0, 2) === \"\\\\x\" ? \"x\" : \"cd\";\n upperGroup.classes.push(arrowPrefix + \"-arrow-pad\");\n let lowerGroup;\n if (group.below) {\n // Build the lower group\n newOptions = options.havingStyle(style.sub());\n lowerGroup = buildCommon.wrapFragment(buildGroup(group.below, newOptions, options), options);\n lowerGroup.classes.push(arrowPrefix + \"-arrow-pad\");\n }\n const arrowBody = stretchy.svgSpan(group, options); // Re shift: Note that stretchy.svgSpan returned arrowBody.depth = 0.\n // The point we want on the math axis is at 0.5 * arrowBody.height.\n const arrowShift = -options.fontMetrics().axisHeight + 0.5 * arrowBody.height; // 2 mu kern. Ref: amsmath.dtx: #7\\if0#2\\else\\mkern#2mu\\fi\n let upperShift = -options.fontMetrics().axisHeight - 0.5 * arrowBody.height - 0.111; // 0.111 em = 2 mu\n if (upperGroup.depth > 0.25 || group.label === \"\\\\xleftequilibrium\") upperShift -= upperGroup.depth; // shift up if depth encroaches\n // Generate the vlist\n let vlist;\n if (lowerGroup) {\n const lowerShift = -options.fontMetrics().axisHeight + lowerGroup.height + 0.5 * arrowBody.height + 0.111;\n vlist = buildCommon.makeVList({\n positionType: \"individualShift\",\n children: [\n {\n type: \"elem\",\n elem: upperGroup,\n shift: upperShift\n },\n {\n type: \"elem\",\n elem: arrowBody,\n shift: arrowShift\n },\n {\n type: \"elem\",\n elem: lowerGroup,\n shift: lowerShift\n }\n ]\n }, options);\n } else vlist = buildCommon.makeVList({\n positionType: \"individualShift\",\n children: [\n {\n type: \"elem\",\n elem: upperGroup,\n shift: upperShift\n },\n {\n type: \"elem\",\n elem: arrowBody,\n shift: arrowShift\n }\n ]\n }, options);\n // $FlowFixMe: Replace this with passing \"svg-align\" into makeVList.\n vlist.children[0].children[0].children[1].classes.push(\"svg-align\");\n return buildCommon.makeSpan([\n \"mrel\",\n \"x-arrow\"\n ], [\n vlist\n ], options);\n },\n mathmlBuilder (group, options) {\n const arrowNode = stretchy.mathMLnode(group.label);\n arrowNode.setAttribute(\"minsize\", group.label.charAt(0) === \"x\" ? \"1.75em\" : \"3.0em\");\n let node;\n if (group.body) {\n const upperNode = paddedNode(buildMathML_buildGroup(group.body, options));\n if (group.below) {\n const lowerNode = paddedNode(buildMathML_buildGroup(group.below, options));\n node = new mathMLTree.MathNode(\"munderover\", [\n arrowNode,\n lowerNode,\n upperNode\n ]);\n } else node = new mathMLTree.MathNode(\"mover\", [\n arrowNode,\n upperNode\n ]);\n } else if (group.below) {\n const lowerNode = paddedNode(buildMathML_buildGroup(group.below, options));\n node = new mathMLTree.MathNode(\"munder\", [\n arrowNode,\n lowerNode\n ]);\n } else {\n // This should never happen.\n // Parser.js throws an error if there is no argument.\n node = paddedNode();\n node = new mathMLTree.MathNode(\"mover\", [\n arrowNode,\n node\n ]);\n }\n return node;\n }\n });\n const mclass_makeSpan = buildCommon.makeSpan;\n function mclass_htmlBuilder(group, options) {\n const elements = buildExpression(group.body, options, true);\n return mclass_makeSpan([\n group.mclass\n ], elements, options);\n }\n function mclass_mathmlBuilder(group, options) {\n let node;\n const inner = buildMathML_buildExpression(group.body, options);\n if (group.mclass === \"minner\") node = new mathMLTree.MathNode(\"mpadded\", inner);\n else if (group.mclass === \"mord\") {\n if (group.isCharacterBox) {\n node = inner[0];\n node.type = \"mi\";\n } else node = new mathMLTree.MathNode(\"mi\", inner);\n } else {\n if (group.isCharacterBox) {\n node = inner[0];\n node.type = \"mo\";\n } else node = new mathMLTree.MathNode(\"mo\", inner);\n // Set spacing based on what is the most likely adjacent atom type.\n // See TeXbook p170.\n if (group.mclass === \"mbin\") {\n node.attributes.lspace = \"0.22em\"; // medium space\n node.attributes.rspace = \"0.22em\";\n } else if (group.mclass === \"mpunct\") {\n node.attributes.lspace = \"0em\";\n node.attributes.rspace = \"0.17em\"; // thinspace\n } else if (group.mclass === \"mopen\" || group.mclass === \"mclose\") {\n node.attributes.lspace = \"0em\";\n node.attributes.rspace = \"0em\";\n } else if (group.mclass === \"minner\") {\n node.attributes.lspace = \"0.0556em\"; // 1 mu is the most likely option\n node.attributes.width = \"+0.1111em\";\n } // MathML default space is 5/18 em, so needs no action.\n // Ref: https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mo\n }\n return node;\n } // Math class commands except \\mathop\n defineFunction({\n type: \"mclass\",\n names: [\n \"\\\\mathord\",\n \"\\\\mathbin\",\n \"\\\\mathrel\",\n \"\\\\mathopen\",\n \"\\\\mathclose\",\n \"\\\\mathpunct\",\n \"\\\\mathinner\"\n ],\n props: {\n numArgs: 1,\n primitive: true\n },\n handler (_ref, args) {\n let { parser: parser, funcName: funcName } = _ref;\n const body = args[0];\n return {\n type: \"mclass\",\n mode: parser.mode,\n mclass: \"m\" + funcName.slice(5),\n // TODO(kevinb): don't prefix with 'm'\n body: ordargument(body),\n isCharacterBox: utils.isCharacterBox(body)\n };\n },\n htmlBuilder: mclass_htmlBuilder,\n mathmlBuilder: mclass_mathmlBuilder\n });\n const binrelClass = (arg)=>{\n // \\binrel@ spacing varies with (bin|rel|ord) of the atom in the argument.\n // (by rendering separately and with {}s before and after, and measuring\n // the change in spacing). We'll do roughly the same by detecting the\n // atom type directly.\n const atom = arg.type === \"ordgroup\" && arg.body.length ? arg.body[0] : arg;\n if (atom.type === \"atom\" && (atom.family === \"bin\" || atom.family === \"rel\")) return \"m\" + atom.family;\n else return \"mord\";\n }; // \\@binrel{x}{y} renders like y but as mbin/mrel/mord if x is mbin/mrel/mord.\n // This is equivalent to \\binrel@{x}\\binrel@@{y} in AMSTeX.\n defineFunction({\n type: \"mclass\",\n names: [\n \"\\\\@binrel\"\n ],\n props: {\n numArgs: 2\n },\n handler (_ref2, args) {\n let { parser: parser } = _ref2;\n return {\n type: \"mclass\",\n mode: parser.mode,\n mclass: binrelClass(args[0]),\n body: ordargument(args[1]),\n isCharacterBox: utils.isCharacterBox(args[1])\n };\n }\n }); // Build a relation or stacked op by placing one symbol on top of another\n defineFunction({\n type: \"mclass\",\n names: [\n \"\\\\stackrel\",\n \"\\\\overset\",\n \"\\\\underset\"\n ],\n props: {\n numArgs: 2\n },\n handler (_ref3, args) {\n let { parser: parser, funcName: funcName } = _ref3;\n const baseArg = args[1];\n const shiftedArg = args[0];\n let mclass;\n if (funcName !== \"\\\\stackrel\") // LaTeX applies \\binrel spacing to \\overset and \\underset.\n mclass = binrelClass(baseArg);\n else mclass = \"mrel\"; // for \\stackrel\n const baseOp = {\n type: \"op\",\n mode: baseArg.mode,\n limits: true,\n alwaysHandleSupSub: true,\n parentIsSupSub: false,\n symbol: false,\n suppressBaseShift: funcName !== \"\\\\stackrel\",\n body: ordargument(baseArg)\n };\n const supsub = {\n type: \"supsub\",\n mode: shiftedArg.mode,\n base: baseOp,\n sup: funcName === \"\\\\underset\" ? null : shiftedArg,\n sub: funcName === \"\\\\underset\" ? shiftedArg : null\n };\n return {\n type: \"mclass\",\n mode: parser.mode,\n mclass: mclass,\n body: [\n supsub\n ],\n isCharacterBox: utils.isCharacterBox(supsub)\n };\n },\n htmlBuilder: mclass_htmlBuilder,\n mathmlBuilder: mclass_mathmlBuilder\n });\n // \\pmb is a simulation of bold font.\n // The version of \\pmb in ambsy.sty works by typesetting three copies\n // with small offsets. We use CSS text-shadow.\n // It's a hack. Not as good as a real bold font. Better than nothing.\n defineFunction({\n type: \"pmb\",\n names: [\n \"\\\\pmb\"\n ],\n props: {\n numArgs: 1,\n allowedInText: true\n },\n handler (_ref, args) {\n let { parser: parser } = _ref;\n return {\n type: \"pmb\",\n mode: parser.mode,\n mclass: binrelClass(args[0]),\n body: ordargument(args[0])\n };\n },\n htmlBuilder (group, options) {\n const elements = buildExpression(group.body, options, true);\n const node = buildCommon.makeSpan([\n group.mclass\n ], elements, options);\n node.style.textShadow = \"0.02em 0.01em 0.04px\";\n return node;\n },\n mathmlBuilder (group, style) {\n const inner = buildMathML_buildExpression(group.body, style); // Wrap with an element.\n const node = new mathMLTree.MathNode(\"mstyle\", inner);\n node.setAttribute(\"style\", \"text-shadow: 0.02em 0.01em 0.04px\");\n return node;\n }\n });\n const cdArrowFunctionName = {\n \">\": \"\\\\\\\\cdrightarrow\",\n \"<\": \"\\\\\\\\cdleftarrow\",\n \"=\": \"\\\\\\\\cdlongequal\",\n \"A\": \"\\\\uparrow\",\n \"V\": \"\\\\downarrow\",\n \"|\": \"\\\\Vert\",\n \".\": \"no arrow\"\n };\n const newCell = ()=>{\n // Create an empty cell, to be filled below with parse nodes.\n // The parseTree from this module must be constructed like the\n // one created by parseArray(), so an empty CD cell must\n // be a ParseNode<\"styling\">. And CD is always displaystyle.\n // So these values are fixed and flow can do implicit typing.\n return {\n type: \"styling\",\n body: [],\n mode: \"math\",\n style: \"display\"\n };\n };\n const isStartOfArrow = (node)=>{\n return node.type === \"textord\" && node.text === \"@\";\n };\n const isLabelEnd = (node, endChar)=>{\n return (node.type === \"mathord\" || node.type === \"atom\") && node.text === endChar;\n };\n function cdArrow(arrowChar, labels, parser) {\n // Return a parse tree of an arrow and its labels.\n // This acts in a way similar to a macro expansion.\n const funcName = cdArrowFunctionName[arrowChar];\n switch(funcName){\n case \"\\\\\\\\cdrightarrow\":\n case \"\\\\\\\\cdleftarrow\":\n return parser.callFunction(funcName, [\n labels[0]\n ], [\n labels[1]\n ]);\n case \"\\\\uparrow\":\n case \"\\\\downarrow\":\n {\n const leftLabel = parser.callFunction(\"\\\\\\\\cdleft\", [\n labels[0]\n ], []);\n const bareArrow = {\n type: \"atom\",\n text: funcName,\n mode: \"math\",\n family: \"rel\"\n };\n const sizedArrow = parser.callFunction(\"\\\\Big\", [\n bareArrow\n ], []);\n const rightLabel = parser.callFunction(\"\\\\\\\\cdright\", [\n labels[1]\n ], []);\n const arrowGroup = {\n type: \"ordgroup\",\n mode: \"math\",\n body: [\n leftLabel,\n sizedArrow,\n rightLabel\n ]\n };\n return parser.callFunction(\"\\\\\\\\cdparent\", [\n arrowGroup\n ], []);\n }\n case \"\\\\\\\\cdlongequal\":\n return parser.callFunction(\"\\\\\\\\cdlongequal\", [], []);\n case \"\\\\Vert\":\n {\n const arrow = {\n type: \"textord\",\n text: \"\\\\Vert\",\n mode: \"math\"\n };\n return parser.callFunction(\"\\\\Big\", [\n arrow\n ], []);\n }\n default:\n return {\n type: \"textord\",\n text: \" \",\n mode: \"math\"\n };\n }\n }\n function parseCD(parser) {\n // Get the array's parse nodes with \\\\ temporarily mapped to \\cr.\n const parsedRows = [];\n parser.gullet.beginGroup();\n parser.gullet.macros.set(\"\\\\cr\", \"\\\\\\\\\\\\relax\");\n parser.gullet.beginGroup();\n while(true){\n // eslint-disable-line no-constant-condition\n // Get the parse nodes for the next row.\n parsedRows.push(parser.parseExpression(false, \"\\\\\\\\\"));\n parser.gullet.endGroup();\n parser.gullet.beginGroup();\n const next = parser.fetch().text;\n if (next === \"&\" || next === \"\\\\\\\\\") parser.consume();\n else if (next === \"\\\\end\") {\n if (parsedRows[parsedRows.length - 1].length === 0) parsedRows.pop(); // final row ended in \\\\\n break;\n } else throw new src_ParseError(\"Expected \\\\\\\\ or \\\\cr or \\\\end\", parser.nextToken);\n }\n let row = [];\n const body = [\n row\n ]; // Loop thru the parse nodes. Collect them into cells and arrows.\n for(let i = 0; i < parsedRows.length; i++){\n // Start a new row.\n const rowNodes = parsedRows[i]; // Create the first cell.\n let cell = newCell();\n for(let j = 0; j < rowNodes.length; j++)if (!isStartOfArrow(rowNodes[j])) // If a parseNode is not an arrow, it goes into a cell.\n cell.body.push(rowNodes[j]);\n else {\n // Parse node j is an \"@\", the start of an arrow.\n // Before starting on the arrow, push the cell into `row`.\n row.push(cell); // Now collect parseNodes into an arrow.\n // The character after \"@\" defines the arrow type.\n j += 1;\n const arrowChar = assertSymbolNodeType(rowNodes[j]).text; // Create two empty label nodes. We may or may not use them.\n const labels = new Array(2);\n labels[0] = {\n type: \"ordgroup\",\n mode: \"math\",\n body: []\n };\n labels[1] = {\n type: \"ordgroup\",\n mode: \"math\",\n body: []\n }; // Process the arrow.\n if (\"=|.\".indexOf(arrowChar) > -1) ;\n else if (\"<>AV\".indexOf(arrowChar) > -1) // Four arrows, `@>>>`, `@<<<`, `@AAA`, and `@VVV`, each take\n // two optional labels. E.g. the right-point arrow syntax is\n // really: @>{optional label}>{optional label}>\n // Collect parseNodes into labels.\n for(let labelNum = 0; labelNum < 2; labelNum++){\n let inLabel = true;\n for(let k = j + 1; k < rowNodes.length; k++){\n if (isLabelEnd(rowNodes[k], arrowChar)) {\n inLabel = false;\n j = k;\n break;\n }\n if (isStartOfArrow(rowNodes[k])) throw new src_ParseError(\"Missing a \" + arrowChar + \" character to complete a CD arrow.\", rowNodes[k]);\n labels[labelNum].body.push(rowNodes[k]);\n }\n if (inLabel) // isLabelEnd never returned a true.\n throw new src_ParseError(\"Missing a \" + arrowChar + \" character to complete a CD arrow.\", rowNodes[j]);\n }\n else throw new src_ParseError('Expected one of \"<>AV=|.\" after @', rowNodes[j]);\n // Now join the arrow to its labels.\n const arrow = cdArrow(arrowChar, labels, parser); // Wrap the arrow in ParseNode<\"styling\">.\n // This is done to match parseArray() behavior.\n const wrappedArrow = {\n type: \"styling\",\n body: [\n arrow\n ],\n mode: \"math\",\n style: \"display\" // CD is always displaystyle.\n };\n row.push(wrappedArrow); // In CD's syntax, cells are implicit. That is, everything that\n // is not an arrow gets collected into a cell. So create an empty\n // cell now. It will collect upcoming parseNodes.\n cell = newCell();\n }\n if (i % 2 === 0) // Even-numbered rows consist of: cell, arrow, cell, arrow, ... cell\n // The last cell is not yet pushed into `row`, so:\n row.push(cell);\n else // Odd-numbered rows consist of: vert arrow, empty cell, ... vert arrow\n // Remove the empty cell that was placed at the beginning of `row`.\n row.shift();\n row = [];\n body.push(row);\n } // End row group\n parser.gullet.endGroup(); // End array group defining \\\\\n parser.gullet.endGroup(); // define column separation.\n const cols = new Array(body[0].length).fill({\n type: \"align\",\n align: \"c\",\n pregap: 0.25,\n // CD package sets \\enskip between columns.\n postgap: 0.25 // So pre and post each get half an \\enskip, i.e. 0.25em.\n });\n return {\n type: \"array\",\n mode: \"math\",\n body: body,\n arraystretch: 1,\n addJot: true,\n rowGaps: [\n null\n ],\n cols: cols,\n colSeparationType: \"CD\",\n hLinesBeforeRow: new Array(body.length + 1).fill([])\n };\n } // The functions below are not available for general use.\n // They are here only for internal use by the {CD} environment in placing labels\n // next to vertical arrows.\n // We don't need any such functions for horizontal arrows because we can reuse\n // the functionality that already exists for extensible arrows.\n defineFunction({\n type: \"cdlabel\",\n names: [\n \"\\\\\\\\cdleft\",\n \"\\\\\\\\cdright\"\n ],\n props: {\n numArgs: 1\n },\n handler (_ref, args) {\n let { parser: parser, funcName: funcName } = _ref;\n return {\n type: \"cdlabel\",\n mode: parser.mode,\n side: funcName.slice(4),\n label: args[0]\n };\n },\n htmlBuilder (group, options) {\n const newOptions = options.havingStyle(options.style.sup());\n const label = buildCommon.wrapFragment(buildGroup(group.label, newOptions, options), options);\n label.classes.push(\"cd-label-\" + group.side);\n label.style.bottom = makeEm(0.8 - label.depth); // Zero out label height & depth, so vertical align of arrow is set\n // by the arrow height, not by the label.\n label.height = 0;\n label.depth = 0;\n return label;\n },\n mathmlBuilder (group, options) {\n let label = new mathMLTree.MathNode(\"mrow\", [\n buildMathML_buildGroup(group.label, options)\n ]);\n label = new mathMLTree.MathNode(\"mpadded\", [\n label\n ]);\n label.setAttribute(\"width\", \"0\");\n if (group.side === \"left\") label.setAttribute(\"lspace\", \"-1width\");\n // We have to guess at vertical alignment. We know the arrow is 1.8em tall,\n // But we don't know the height or depth of the label.\n label.setAttribute(\"voffset\", \"0.7em\");\n label = new mathMLTree.MathNode(\"mstyle\", [\n label\n ]);\n label.setAttribute(\"displaystyle\", \"false\");\n label.setAttribute(\"scriptlevel\", \"1\");\n return label;\n }\n });\n defineFunction({\n type: \"cdlabelparent\",\n names: [\n \"\\\\\\\\cdparent\"\n ],\n props: {\n numArgs: 1\n },\n handler (_ref2, args) {\n let { parser: parser } = _ref2;\n return {\n type: \"cdlabelparent\",\n mode: parser.mode,\n fragment: args[0]\n };\n },\n htmlBuilder (group, options) {\n // Wrap the vertical arrow and its labels.\n // The parent gets position: relative. The child gets position: absolute.\n // So CSS can locate the label correctly.\n const parent = buildCommon.wrapFragment(buildGroup(group.fragment, options), options);\n parent.classes.push(\"cd-vert-arrow\");\n return parent;\n },\n mathmlBuilder (group, options) {\n return new mathMLTree.MathNode(\"mrow\", [\n buildMathML_buildGroup(group.fragment, options)\n ]);\n }\n });\n // \\@char is an internal function that takes a grouped decimal argument like\n // {123} and converts into symbol with code 123. It is used by the *macro*\n // \\char defined in macros.js.\n defineFunction({\n type: \"textord\",\n names: [\n \"\\\\@char\"\n ],\n props: {\n numArgs: 1,\n allowedInText: true\n },\n handler (_ref, args) {\n let { parser: parser } = _ref;\n const arg = assertNodeType(args[0], \"ordgroup\");\n const group = arg.body;\n let number = \"\";\n for(let i = 0; i < group.length; i++){\n const node = assertNodeType(group[i], \"textord\");\n number += node.text;\n }\n let code = parseInt(number);\n let text;\n if (isNaN(code)) throw new src_ParseError(\"\\\\@char has non-numeric argument \" + number); // If we drop IE support, the following code could be replaced with\n else if (code < 0 || code >= 0x10ffff) throw new src_ParseError(\"\\\\@char with invalid code point \" + number);\n else if (code <= 0xffff) text = String.fromCharCode(code);\n else {\n // Astral code point; split into surrogate halves\n code -= 0x10000;\n text = String.fromCharCode((code >> 10) + 0xd800, (code & 0x3ff) + 0xdc00);\n }\n return {\n type: \"textord\",\n mode: parser.mode,\n text: text\n };\n }\n });\n const color_htmlBuilder = (group, options)=>{\n const elements = buildExpression(group.body, options.withColor(group.color), false); // \\color isn't supposed to affect the type of the elements it contains.\n // To accomplish this, we wrap the results in a fragment, so the inner\n // elements will be able to directly interact with their neighbors. For\n // example, `\\color{red}{2 +} 3` has the same spacing as `2 + 3`\n return buildCommon.makeFragment(elements);\n };\n const color_mathmlBuilder = (group, options)=>{\n const inner = buildMathML_buildExpression(group.body, options.withColor(group.color));\n const node = new mathMLTree.MathNode(\"mstyle\", inner);\n node.setAttribute(\"mathcolor\", group.color);\n return node;\n };\n defineFunction({\n type: \"color\",\n names: [\n \"\\\\textcolor\"\n ],\n props: {\n numArgs: 2,\n allowedInText: true,\n argTypes: [\n \"color\",\n \"original\"\n ]\n },\n handler (_ref, args) {\n let { parser: parser } = _ref;\n const color = assertNodeType(args[0], \"color-token\").color;\n const body = args[1];\n return {\n type: \"color\",\n mode: parser.mode,\n color: color,\n body: ordargument(body)\n };\n },\n htmlBuilder: color_htmlBuilder,\n mathmlBuilder: color_mathmlBuilder\n });\n defineFunction({\n type: \"color\",\n names: [\n \"\\\\color\"\n ],\n props: {\n numArgs: 1,\n allowedInText: true,\n argTypes: [\n \"color\"\n ]\n },\n handler (_ref2, args) {\n let { parser: parser, breakOnTokenText: breakOnTokenText } = _ref2;\n const color = assertNodeType(args[0], \"color-token\").color; // Set macro \\current@color in current namespace to store the current\n // color, mimicking the behavior of color.sty.\n // This is currently used just to correctly color a \\right\n // that follows a \\color command.\n parser.gullet.macros.set(\"\\\\current@color\", color); // Parse out the implicit body that should be colored.\n const body = parser.parseExpression(true, breakOnTokenText);\n return {\n type: \"color\",\n mode: parser.mode,\n color: color,\n body: body\n };\n },\n htmlBuilder: color_htmlBuilder,\n mathmlBuilder: color_mathmlBuilder\n });\n // Row breaks within tabular environments, and line breaks at top level\n // \\DeclareRobustCommand\\\\{...\\@xnewline}\n defineFunction({\n type: \"cr\",\n names: [\n \"\\\\\\\\\"\n ],\n props: {\n numArgs: 0,\n numOptionalArgs: 0,\n allowedInText: true\n },\n handler (_ref, args, optArgs) {\n let { parser: parser } = _ref;\n const size = parser.gullet.future().text === \"[\" ? parser.parseSizeGroup(true) : null;\n const newLine = !parser.settings.displayMode || !parser.settings.useStrictBehavior(\"newLineInDisplayMode\", \"In LaTeX, \\\\\\\\ or \\\\newline does nothing in display mode\");\n return {\n type: \"cr\",\n mode: parser.mode,\n newLine: newLine,\n size: size && assertNodeType(size, \"size\").value\n };\n },\n // The following builders are called only at the top level,\n // not within tabular/array environments.\n htmlBuilder (group, options) {\n const span = buildCommon.makeSpan([\n \"mspace\"\n ], [], options);\n if (group.newLine) {\n span.classes.push(\"newline\");\n if (group.size) span.style.marginTop = makeEm(calculateSize(group.size, options));\n }\n return span;\n },\n mathmlBuilder (group, options) {\n const node = new mathMLTree.MathNode(\"mspace\");\n if (group.newLine) {\n node.setAttribute(\"linebreak\", \"newline\");\n if (group.size) node.setAttribute(\"height\", makeEm(calculateSize(group.size, options)));\n }\n return node;\n }\n });\n const globalMap = {\n \"\\\\global\": \"\\\\global\",\n \"\\\\long\": \"\\\\\\\\globallong\",\n \"\\\\\\\\globallong\": \"\\\\\\\\globallong\",\n \"\\\\def\": \"\\\\gdef\",\n \"\\\\gdef\": \"\\\\gdef\",\n \"\\\\edef\": \"\\\\xdef\",\n \"\\\\xdef\": \"\\\\xdef\",\n \"\\\\let\": \"\\\\\\\\globallet\",\n \"\\\\futurelet\": \"\\\\\\\\globalfuture\"\n };\n const checkControlSequence = (tok)=>{\n const name = tok.text;\n if (/^(?:[\\\\{}$^_]|EOF)$/.test(name)) throw new src_ParseError(\"Expected a control sequence\", tok);\n return name;\n };\n const getRHS = (parser)=>{\n let tok = parser.gullet.popToken();\n if (tok.text === \"=\") {\n // consume optional equals\n tok = parser.gullet.popToken();\n if (tok.text === \" \") // consume one optional space\n tok = parser.gullet.popToken();\n }\n return tok;\n };\n const letCommand = (parser, name, tok, global)=>{\n let macro = parser.gullet.macros.get(tok.text);\n if (macro == null) {\n // don't expand it later even if a macro with the same name is defined\n // e.g., \\let\\foo=\\frac \\def\\frac{\\relax} \\frac12\n tok.noexpand = true;\n macro = {\n tokens: [\n tok\n ],\n numArgs: 0,\n // reproduce the same behavior in expansion\n unexpandable: !parser.gullet.isExpandable(tok.text)\n };\n }\n parser.gullet.macros.set(name, macro, global);\n }; // -> |\n // -> |\\global\n // -> |\n // -> \\global|\\long|\\outer\n defineFunction({\n type: \"internal\",\n names: [\n \"\\\\global\",\n \"\\\\long\",\n \"\\\\\\\\globallong\" // can’t be entered directly\n ],\n props: {\n numArgs: 0,\n allowedInText: true\n },\n handler (_ref) {\n let { parser: parser, funcName: funcName } = _ref;\n parser.consumeSpaces();\n const token = parser.fetch();\n if (globalMap[token.text]) {\n // KaTeX doesn't have \\par, so ignore \\long\n if (funcName === \"\\\\global\" || funcName === \"\\\\\\\\globallong\") token.text = globalMap[token.text];\n return assertNodeType(parser.parseFunction(), \"internal\");\n }\n throw new src_ParseError(\"Invalid token after macro prefix\", token);\n }\n }); // Basic support for macro definitions: \\def, \\gdef, \\edef, \\xdef\n // -> \n // -> \\def|\\gdef|\\edef|\\xdef\n // -> \n defineFunction({\n type: \"internal\",\n names: [\n \"\\\\def\",\n \"\\\\gdef\",\n \"\\\\edef\",\n \"\\\\xdef\"\n ],\n props: {\n numArgs: 0,\n allowedInText: true,\n primitive: true\n },\n handler (_ref2) {\n let { parser: parser, funcName: funcName } = _ref2;\n let tok = parser.gullet.popToken();\n const name = tok.text;\n if (/^(?:[\\\\{}$^_]|EOF)$/.test(name)) throw new src_ParseError(\"Expected a control sequence\", tok);\n let numArgs = 0;\n let insert;\n const delimiters = [\n []\n ]; // contains no braces\n while(parser.gullet.future().text !== \"{\"){\n tok = parser.gullet.popToken();\n if (tok.text === \"#\") {\n // If the very last character of the is #, so that\n // this # is immediately followed by {, TeX will behave as if the {\n // had been inserted at the right end of both the parameter text\n // and the replacement text.\n if (parser.gullet.future().text === \"{\") {\n insert = parser.gullet.future();\n delimiters[numArgs].push(\"{\");\n break;\n } // A parameter, the first appearance of # must be followed by 1,\n // the next by 2, and so on; up to nine #’s are allowed\n tok = parser.gullet.popToken();\n if (!/^[1-9]$/.test(tok.text)) throw new src_ParseError('Invalid argument number \"' + tok.text + '\"');\n if (parseInt(tok.text) !== numArgs + 1) throw new src_ParseError('Argument number \"' + tok.text + '\" out of order');\n numArgs++;\n delimiters.push([]);\n } else if (tok.text === \"EOF\") throw new src_ParseError(\"Expected a macro definition\");\n else delimiters[numArgs].push(tok.text);\n } // replacement text, enclosed in '{' and '}' and properly nested\n let { tokens: tokens } = parser.gullet.consumeArg();\n if (insert) tokens.unshift(insert);\n if (funcName === \"\\\\edef\" || funcName === \"\\\\xdef\") {\n tokens = parser.gullet.expandTokens(tokens);\n tokens.reverse(); // to fit in with stack order\n } // Final arg is the expansion of the macro\n parser.gullet.macros.set(name, {\n tokens: tokens,\n numArgs: numArgs,\n delimiters: delimiters\n }, funcName === globalMap[funcName]);\n return {\n type: \"internal\",\n mode: parser.mode\n };\n }\n }); // -> \n // -> \\futurelet\n // | \\let\n // -> |=\n defineFunction({\n type: \"internal\",\n names: [\n \"\\\\let\",\n \"\\\\\\\\globallet\" // can’t be entered directly\n ],\n props: {\n numArgs: 0,\n allowedInText: true,\n primitive: true\n },\n handler (_ref3) {\n let { parser: parser, funcName: funcName } = _ref3;\n const name = checkControlSequence(parser.gullet.popToken());\n parser.gullet.consumeSpaces();\n const tok = getRHS(parser);\n letCommand(parser, name, tok, funcName === \"\\\\\\\\globallet\");\n return {\n type: \"internal\",\n mode: parser.mode\n };\n }\n }); // ref: https://www.tug.org/TUGboat/tb09-3/tb22bechtolsheim.pdf\n defineFunction({\n type: \"internal\",\n names: [\n \"\\\\futurelet\",\n \"\\\\\\\\globalfuture\" // can’t be entered directly\n ],\n props: {\n numArgs: 0,\n allowedInText: true,\n primitive: true\n },\n handler (_ref4) {\n let { parser: parser, funcName: funcName } = _ref4;\n const name = checkControlSequence(parser.gullet.popToken());\n const middle = parser.gullet.popToken();\n const tok = parser.gullet.popToken();\n letCommand(parser, name, tok, funcName === \"\\\\\\\\globalfuture\");\n parser.gullet.pushToken(tok);\n parser.gullet.pushToken(middle);\n return {\n type: \"internal\",\n mode: parser.mode\n };\n }\n });\n /**\n * This file deals with creating delimiters of various sizes. The TeXbook\n * discusses these routines on page 441-442, in the \"Another subroutine sets box\n * x to a specified variable delimiter\" paragraph.\n *\n * There are three main routines here. `makeSmallDelim` makes a delimiter in the\n * normal font, but in either text, script, or scriptscript style.\n * `makeLargeDelim` makes a delimiter in textstyle, but in one of the Size1,\n * Size2, Size3, or Size4 fonts. `makeStackedDelim` makes a delimiter out of\n * smaller pieces that are stacked on top of one another.\n *\n * The functions take a parameter `center`, which determines if the delimiter\n * should be centered around the axis.\n *\n * Then, there are three exposed functions. `sizedDelim` makes a delimiter in\n * one of the given sizes. This is used for things like `\\bigl`.\n * `customSizedDelim` makes a delimiter with a given total height+depth. It is\n * called in places like `\\sqrt`. `leftRightDelim` makes an appropriate\n * delimiter which surrounds an expression of a given height an depth. It is\n * used in `\\left` and `\\right`.\n */ /**\n * Get the metrics for a given symbol and font, after transformation (i.e.\n * after following replacement from symbols.js)\n */ const getMetrics = function(symbol, font, mode) {\n const replace = src_symbols.math[symbol] && src_symbols.math[symbol].replace;\n const metrics = getCharacterMetrics(replace || symbol, font, mode);\n if (!metrics) throw new Error(\"Unsupported symbol \" + symbol + \" and font size \" + font + \".\");\n return metrics;\n };\n /**\n * Puts a delimiter span in a given style, and adds appropriate height, depth,\n * and maxFontSizes.\n */ const styleWrap = function(delim, toStyle, options, classes) {\n const newOptions = options.havingBaseStyle(toStyle);\n const span = buildCommon.makeSpan(classes.concat(newOptions.sizingClasses(options)), [\n delim\n ], options);\n const delimSizeMultiplier = newOptions.sizeMultiplier / options.sizeMultiplier;\n span.height *= delimSizeMultiplier;\n span.depth *= delimSizeMultiplier;\n span.maxFontSize = newOptions.sizeMultiplier;\n return span;\n };\n const centerSpan = function(span, options, style) {\n const newOptions = options.havingBaseStyle(style);\n const shift = (1 - options.sizeMultiplier / newOptions.sizeMultiplier) * options.fontMetrics().axisHeight;\n span.classes.push(\"delimcenter\");\n span.style.top = makeEm(shift);\n span.height -= shift;\n span.depth += shift;\n };\n /**\n * Makes a small delimiter. This is a delimiter that comes in the Main-Regular\n * font, but is restyled to either be in textstyle, scriptstyle, or\n * scriptscriptstyle.\n */ const makeSmallDelim = function(delim, style, center, options, mode, classes) {\n const text = buildCommon.makeSymbol(delim, \"Main-Regular\", mode, options);\n const span = styleWrap(text, style, options, classes);\n if (center) centerSpan(span, options, style);\n return span;\n };\n /**\n * Builds a symbol in the given font size (note size is an integer)\n */ const mathrmSize = function(value, size, mode, options) {\n return buildCommon.makeSymbol(value, \"Size\" + size + \"-Regular\", mode, options);\n };\n /**\n * Makes a large delimiter. This is a delimiter that comes in the Size1, Size2,\n * Size3, or Size4 fonts. It is always rendered in textstyle.\n */ const makeLargeDelim = function(delim, size, center, options, mode, classes) {\n const inner = mathrmSize(delim, size, mode, options);\n const span = styleWrap(buildCommon.makeSpan([\n \"delimsizing\",\n \"size\" + size\n ], [\n inner\n ], options), src_Style.TEXT, options, classes);\n if (center) centerSpan(span, options, src_Style.TEXT);\n return span;\n };\n /**\n * Make a span from a font glyph with the given offset and in the given font.\n * This is used in makeStackedDelim to make the stacking pieces for the delimiter.\n */ const makeGlyphSpan = function(symbol, font, mode) {\n let sizeClass; // Apply the correct CSS class to choose the right font.\n if (font === \"Size1-Regular\") sizeClass = \"delim-size1\";\n else sizeClass = \"delim-size4\";\n const corner = buildCommon.makeSpan([\n \"delimsizinginner\",\n sizeClass\n ], [\n buildCommon.makeSpan([], [\n buildCommon.makeSymbol(symbol, font, mode)\n ])\n ]); // Since this will be passed into `makeVList` in the end, wrap the element\n // in the appropriate tag that VList uses.\n return {\n type: \"elem\",\n elem: corner\n };\n };\n const makeInner = function(ch, height, options) {\n // Create a span with inline SVG for the inner part of a tall stacked delimiter.\n const width = fontMetricsData[\"Size4-Regular\"][ch.charCodeAt(0)] ? fontMetricsData[\"Size4-Regular\"][ch.charCodeAt(0)][4] : fontMetricsData[\"Size1-Regular\"][ch.charCodeAt(0)][4];\n const path = new PathNode(\"inner\", innerPath(ch, Math.round(1000 * height)));\n const svgNode = new SvgNode([\n path\n ], {\n \"width\": makeEm(width),\n \"height\": makeEm(height),\n // Override CSS rule `.katex svg { width: 100% }`\n \"style\": \"width:\" + makeEm(width),\n \"viewBox\": \"0 0 \" + 1000 * width + \" \" + Math.round(1000 * height),\n \"preserveAspectRatio\": \"xMinYMin\"\n });\n const span = buildCommon.makeSvgSpan([], [\n svgNode\n ], options);\n span.height = height;\n span.style.height = makeEm(height);\n span.style.width = makeEm(width);\n return {\n type: \"elem\",\n elem: span\n };\n }; // Helpers for makeStackedDelim\n const lapInEms = 0.008;\n const lap = {\n type: \"kern\",\n size: -1 * lapInEms\n };\n const verts = [\n \"|\",\n \"\\\\lvert\",\n \"\\\\rvert\",\n \"\\\\vert\"\n ];\n const doubleVerts = [\n \"\\\\|\",\n \"\\\\lVert\",\n \"\\\\rVert\",\n \"\\\\Vert\"\n ];\n /**\n * Make a stacked delimiter out of a given delimiter, with the total height at\n * least `heightTotal`. This routine is mentioned on page 442 of the TeXbook.\n */ const makeStackedDelim = function(delim, heightTotal, center, options, mode, classes) {\n // There are four parts, the top, an optional middle, a repeated part, and a\n // bottom.\n let top;\n let middle;\n let repeat;\n let bottom;\n let svgLabel = \"\";\n let viewBoxWidth = 0;\n top = repeat = bottom = delim;\n middle = null; // Also keep track of what font the delimiters are in\n let font = \"Size1-Regular\"; // We set the parts and font based on the symbol. Note that we use\n // '\\u23d0' instead of '|' and '\\u2016' instead of '\\\\|' for the\n // repeats of the arrows\n if (delim === \"\\\\uparrow\") repeat = bottom = \"\\u23D0\";\n else if (delim === \"\\\\Uparrow\") repeat = bottom = \"\\u2016\";\n else if (delim === \"\\\\downarrow\") top = repeat = \"\\u23D0\";\n else if (delim === \"\\\\Downarrow\") top = repeat = \"\\u2016\";\n else if (delim === \"\\\\updownarrow\") {\n top = \"\\\\uparrow\";\n repeat = \"\\u23D0\";\n bottom = \"\\\\downarrow\";\n } else if (delim === \"\\\\Updownarrow\") {\n top = \"\\\\Uparrow\";\n repeat = \"\\u2016\";\n bottom = \"\\\\Downarrow\";\n } else if (utils.contains(verts, delim)) {\n repeat = \"\\u2223\";\n svgLabel = \"vert\";\n viewBoxWidth = 333;\n } else if (utils.contains(doubleVerts, delim)) {\n repeat = \"\\u2225\";\n svgLabel = \"doublevert\";\n viewBoxWidth = 556;\n } else if (delim === \"[\" || delim === \"\\\\lbrack\") {\n top = \"\\u23A1\";\n repeat = \"\\u23A2\";\n bottom = \"\\u23A3\";\n font = \"Size4-Regular\";\n svgLabel = \"lbrack\";\n viewBoxWidth = 667;\n } else if (delim === \"]\" || delim === \"\\\\rbrack\") {\n top = \"\\u23A4\";\n repeat = \"\\u23A5\";\n bottom = \"\\u23A6\";\n font = \"Size4-Regular\";\n svgLabel = \"rbrack\";\n viewBoxWidth = 667;\n } else if (delim === \"\\\\lfloor\" || delim === \"\\u230A\") {\n repeat = top = \"\\u23A2\";\n bottom = \"\\u23A3\";\n font = \"Size4-Regular\";\n svgLabel = \"lfloor\";\n viewBoxWidth = 667;\n } else if (delim === \"\\\\lceil\" || delim === \"\\u2308\") {\n top = \"\\u23A1\";\n repeat = bottom = \"\\u23A2\";\n font = \"Size4-Regular\";\n svgLabel = \"lceil\";\n viewBoxWidth = 667;\n } else if (delim === \"\\\\rfloor\" || delim === \"\\u230B\") {\n repeat = top = \"\\u23A5\";\n bottom = \"\\u23A6\";\n font = \"Size4-Regular\";\n svgLabel = \"rfloor\";\n viewBoxWidth = 667;\n } else if (delim === \"\\\\rceil\" || delim === \"\\u2309\") {\n top = \"\\u23A4\";\n repeat = bottom = \"\\u23A5\";\n font = \"Size4-Regular\";\n svgLabel = \"rceil\";\n viewBoxWidth = 667;\n } else if (delim === \"(\" || delim === \"\\\\lparen\") {\n top = \"\\u239B\";\n repeat = \"\\u239C\";\n bottom = \"\\u239D\";\n font = \"Size4-Regular\";\n svgLabel = \"lparen\";\n viewBoxWidth = 875;\n } else if (delim === \")\" || delim === \"\\\\rparen\") {\n top = \"\\u239E\";\n repeat = \"\\u239F\";\n bottom = \"\\u23A0\";\n font = \"Size4-Regular\";\n svgLabel = \"rparen\";\n viewBoxWidth = 875;\n } else if (delim === \"\\\\{\" || delim === \"\\\\lbrace\") {\n top = \"\\u23A7\";\n middle = \"\\u23A8\";\n bottom = \"\\u23A9\";\n repeat = \"\\u23AA\";\n font = \"Size4-Regular\";\n } else if (delim === \"\\\\}\" || delim === \"\\\\rbrace\") {\n top = \"\\u23AB\";\n middle = \"\\u23AC\";\n bottom = \"\\u23AD\";\n repeat = \"\\u23AA\";\n font = \"Size4-Regular\";\n } else if (delim === \"\\\\lgroup\" || delim === \"\\u27EE\") {\n top = \"\\u23A7\";\n bottom = \"\\u23A9\";\n repeat = \"\\u23AA\";\n font = \"Size4-Regular\";\n } else if (delim === \"\\\\rgroup\" || delim === \"\\u27EF\") {\n top = \"\\u23AB\";\n bottom = \"\\u23AD\";\n repeat = \"\\u23AA\";\n font = \"Size4-Regular\";\n } else if (delim === \"\\\\lmoustache\" || delim === \"\\u23B0\") {\n top = \"\\u23A7\";\n bottom = \"\\u23AD\";\n repeat = \"\\u23AA\";\n font = \"Size4-Regular\";\n } else if (delim === \"\\\\rmoustache\" || delim === \"\\u23B1\") {\n top = \"\\u23AB\";\n bottom = \"\\u23A9\";\n repeat = \"\\u23AA\";\n font = \"Size4-Regular\";\n } // Get the metrics of the four sections\n const topMetrics = getMetrics(top, font, mode);\n const topHeightTotal = topMetrics.height + topMetrics.depth;\n const repeatMetrics = getMetrics(repeat, font, mode);\n const repeatHeightTotal = repeatMetrics.height + repeatMetrics.depth;\n const bottomMetrics = getMetrics(bottom, font, mode);\n const bottomHeightTotal = bottomMetrics.height + bottomMetrics.depth;\n let middleHeightTotal = 0;\n let middleFactor = 1;\n if (middle !== null) {\n const middleMetrics = getMetrics(middle, font, mode);\n middleHeightTotal = middleMetrics.height + middleMetrics.depth;\n middleFactor = 2; // repeat symmetrically above and below middle\n } // Calculate the minimal height that the delimiter can have.\n // It is at least the size of the top, bottom, and optional middle combined.\n const minHeight = topHeightTotal + bottomHeightTotal + middleHeightTotal; // Compute the number of copies of the repeat symbol we will need\n const repeatCount = Math.max(0, Math.ceil((heightTotal - minHeight) / (middleFactor * repeatHeightTotal))); // Compute the total height of the delimiter including all the symbols\n const realHeightTotal = minHeight + repeatCount * middleFactor * repeatHeightTotal; // The center of the delimiter is placed at the center of the axis. Note\n // that in this context, \"center\" means that the delimiter should be\n // centered around the axis in the current style, while normally it is\n // centered around the axis in textstyle.\n let axisHeight = options.fontMetrics().axisHeight;\n if (center) axisHeight *= options.sizeMultiplier;\n // Calculate the depth\n const depth = realHeightTotal / 2 - axisHeight; // Now, we start building the pieces that will go into the vlist\n // Keep a list of the pieces of the stacked delimiter\n const stack = [];\n if (svgLabel.length > 0) {\n // Instead of stacking glyphs, create a single SVG.\n // This evades browser problems with imprecise positioning of spans.\n const midHeight = realHeightTotal - topHeightTotal - bottomHeightTotal;\n const viewBoxHeight = Math.round(realHeightTotal * 1000);\n const pathStr = tallDelim(svgLabel, Math.round(midHeight * 1000));\n const path = new PathNode(svgLabel, pathStr);\n const width = (viewBoxWidth / 1000).toFixed(3) + \"em\";\n const height = (viewBoxHeight / 1000).toFixed(3) + \"em\";\n const svg = new SvgNode([\n path\n ], {\n \"width\": width,\n \"height\": height,\n \"viewBox\": \"0 0 \" + viewBoxWidth + \" \" + viewBoxHeight\n });\n const wrapper = buildCommon.makeSvgSpan([], [\n svg\n ], options);\n wrapper.height = viewBoxHeight / 1000;\n wrapper.style.width = width;\n wrapper.style.height = height;\n stack.push({\n type: \"elem\",\n elem: wrapper\n });\n } else {\n // Stack glyphs\n // Start by adding the bottom symbol\n stack.push(makeGlyphSpan(bottom, font, mode));\n stack.push(lap); // overlap\n if (middle === null) {\n // The middle section will be an SVG. Make it an extra 0.016em tall.\n // We'll overlap by 0.008em at top and bottom.\n const innerHeight = realHeightTotal - topHeightTotal - bottomHeightTotal + 2 * lapInEms;\n stack.push(makeInner(repeat, innerHeight, options));\n } else {\n // When there is a middle bit, we need the middle part and two repeated\n // sections\n const innerHeight = (realHeightTotal - topHeightTotal - bottomHeightTotal - middleHeightTotal) / 2 + 2 * lapInEms;\n stack.push(makeInner(repeat, innerHeight, options)); // Now insert the middle of the brace.\n stack.push(lap);\n stack.push(makeGlyphSpan(middle, font, mode));\n stack.push(lap);\n stack.push(makeInner(repeat, innerHeight, options));\n } // Add the top symbol\n stack.push(lap);\n stack.push(makeGlyphSpan(top, font, mode));\n } // Finally, build the vlist\n const newOptions = options.havingBaseStyle(src_Style.TEXT);\n const inner = buildCommon.makeVList({\n positionType: \"bottom\",\n positionData: depth,\n children: stack\n }, newOptions);\n return styleWrap(buildCommon.makeSpan([\n \"delimsizing\",\n \"mult\"\n ], [\n inner\n ], newOptions), src_Style.TEXT, options, classes);\n }; // All surds have 0.08em padding above the vinculum inside the SVG.\n // That keeps browser span height rounding error from pinching the line.\n const vbPad = 80; // padding above the surd, measured inside the viewBox.\n const emPad = 0.08; // padding, in ems, measured in the document.\n const sqrtSvg = function(sqrtName, height, viewBoxHeight, extraVinculum, options) {\n const path = sqrtPath(sqrtName, extraVinculum, viewBoxHeight);\n const pathNode = new PathNode(sqrtName, path);\n const svg = new SvgNode([\n pathNode\n ], {\n // Note: 1000:1 ratio of viewBox to document em width.\n \"width\": \"400em\",\n \"height\": makeEm(height),\n \"viewBox\": \"0 0 400000 \" + viewBoxHeight,\n \"preserveAspectRatio\": \"xMinYMin slice\"\n });\n return buildCommon.makeSvgSpan([\n \"hide-tail\"\n ], [\n svg\n ], options);\n };\n /**\n * Make a sqrt image of the given height,\n */ const makeSqrtImage = function(height, options) {\n // Define a newOptions that removes the effect of size changes such as \\Huge.\n // We don't pick different a height surd for \\Huge. For it, we scale up.\n const newOptions = options.havingBaseSizing(); // Pick the desired surd glyph from a sequence of surds.\n const delim = traverseSequence(\"\\\\surd\", height * newOptions.sizeMultiplier, stackLargeDelimiterSequence, newOptions);\n let sizeMultiplier = newOptions.sizeMultiplier; // default\n // The standard sqrt SVGs each have a 0.04em thick vinculum.\n // If Settings.minRuleThickness is larger than that, we add extraVinculum.\n const extraVinculum = Math.max(0, options.minRuleThickness - options.fontMetrics().sqrtRuleThickness); // Create a span containing an SVG image of a sqrt symbol.\n let span;\n let spanHeight = 0;\n let texHeight = 0;\n let viewBoxHeight = 0;\n let advanceWidth; // We create viewBoxes with 80 units of \"padding\" above each surd.\n // Then browser rounding error on the parent span height will not\n // encroach on the ink of the vinculum. But that padding is not\n // included in the TeX-like `height` used for calculation of\n // vertical alignment. So texHeight = span.height < span.style.height.\n if (delim.type === \"small\") {\n // Get an SVG that is derived from glyph U+221A in font KaTeX-Main.\n // 1000 unit normal glyph height.\n viewBoxHeight = 1000 + 1000 * extraVinculum + vbPad;\n if (height < 1.0) sizeMultiplier = 1.0; // mimic a \\textfont radical\n else if (height < 1.4) sizeMultiplier = 0.7; // mimic a \\scriptfont radical\n spanHeight = (1.0 + extraVinculum + emPad) / sizeMultiplier;\n texHeight = (1.00 + extraVinculum) / sizeMultiplier;\n span = sqrtSvg(\"sqrtMain\", spanHeight, viewBoxHeight, extraVinculum, options);\n span.style.minWidth = \"0.853em\";\n advanceWidth = 0.833 / sizeMultiplier; // from the font.\n } else if (delim.type === \"large\") {\n // These SVGs come from fonts: KaTeX_Size1, _Size2, etc.\n viewBoxHeight = (1000 + vbPad) * sizeToMaxHeight[delim.size];\n texHeight = (sizeToMaxHeight[delim.size] + extraVinculum) / sizeMultiplier;\n spanHeight = (sizeToMaxHeight[delim.size] + extraVinculum + emPad) / sizeMultiplier;\n span = sqrtSvg(\"sqrtSize\" + delim.size, spanHeight, viewBoxHeight, extraVinculum, options);\n span.style.minWidth = \"1.02em\";\n advanceWidth = 1.0 / sizeMultiplier; // 1.0 from the font.\n } else {\n // Tall sqrt. In TeX, this would be stacked using multiple glyphs.\n // We'll use a single SVG to accomplish the same thing.\n spanHeight = height + extraVinculum + emPad;\n texHeight = height + extraVinculum;\n viewBoxHeight = Math.floor(1000 * height + extraVinculum) + vbPad;\n span = sqrtSvg(\"sqrtTall\", spanHeight, viewBoxHeight, extraVinculum, options);\n span.style.minWidth = \"0.742em\";\n advanceWidth = 1.056;\n }\n span.height = texHeight;\n span.style.height = makeEm(spanHeight);\n return {\n span: span,\n advanceWidth: advanceWidth,\n // Calculate the actual line width.\n // This actually should depend on the chosen font -- e.g. \\boldmath\n // should use the thicker surd symbols from e.g. KaTeX_Main-Bold, and\n // have thicker rules.\n ruleWidth: (options.fontMetrics().sqrtRuleThickness + extraVinculum) * sizeMultiplier\n };\n }; // There are three kinds of delimiters, delimiters that stack when they become\n // too large\n const stackLargeDelimiters = [\n \"(\",\n \"\\\\lparen\",\n \")\",\n \"\\\\rparen\",\n \"[\",\n \"\\\\lbrack\",\n \"]\",\n \"\\\\rbrack\",\n \"\\\\{\",\n \"\\\\lbrace\",\n \"\\\\}\",\n \"\\\\rbrace\",\n \"\\\\lfloor\",\n \"\\\\rfloor\",\n \"\\u230A\",\n \"\\u230B\",\n \"\\\\lceil\",\n \"\\\\rceil\",\n \"\\u2308\",\n \"\\u2309\",\n \"\\\\surd\"\n ]; // delimiters that always stack\n const stackAlwaysDelimiters = [\n \"\\\\uparrow\",\n \"\\\\downarrow\",\n \"\\\\updownarrow\",\n \"\\\\Uparrow\",\n \"\\\\Downarrow\",\n \"\\\\Updownarrow\",\n \"|\",\n \"\\\\|\",\n \"\\\\vert\",\n \"\\\\Vert\",\n \"\\\\lvert\",\n \"\\\\rvert\",\n \"\\\\lVert\",\n \"\\\\rVert\",\n \"\\\\lgroup\",\n \"\\\\rgroup\",\n \"\\u27EE\",\n \"\\u27EF\",\n \"\\\\lmoustache\",\n \"\\\\rmoustache\",\n \"\\u23B0\",\n \"\\u23B1\"\n ]; // and delimiters that never stack\n const stackNeverDelimiters = [\n \"<\",\n \">\",\n \"\\\\langle\",\n \"\\\\rangle\",\n \"/\",\n \"\\\\backslash\",\n \"\\\\lt\",\n \"\\\\gt\"\n ]; // Metrics of the different sizes. Found by looking at TeX's output of\n // $\\bigl| // \\Bigl| \\biggl| \\Biggl| \\showlists$\n // Used to create stacked delimiters of appropriate sizes in makeSizedDelim.\n const sizeToMaxHeight = [\n 0,\n 1.2,\n 1.8,\n 2.4,\n 3.0\n ];\n /**\n * Used to create a delimiter of a specific size, where `size` is 1, 2, 3, or 4.\n */ const makeSizedDelim = function(delim, size, options, mode, classes) {\n // < and > turn into \\langle and \\rangle in delimiters\n if (delim === \"<\" || delim === \"\\\\lt\" || delim === \"\\u27E8\") delim = \"\\\\langle\";\n else if (delim === \">\" || delim === \"\\\\gt\" || delim === \"\\u27E9\") delim = \"\\\\rangle\";\n // Sized delimiters are never centered.\n if (utils.contains(stackLargeDelimiters, delim) || utils.contains(stackNeverDelimiters, delim)) return makeLargeDelim(delim, size, false, options, mode, classes);\n else if (utils.contains(stackAlwaysDelimiters, delim)) return makeStackedDelim(delim, sizeToMaxHeight[size], false, options, mode, classes);\n else throw new src_ParseError(\"Illegal delimiter: '\" + delim + \"'\");\n };\n /**\n * There are three different sequences of delimiter sizes that the delimiters\n * follow depending on the kind of delimiter. This is used when creating custom\n * sized delimiters to decide whether to create a small, large, or stacked\n * delimiter.\n *\n * In real TeX, these sequences aren't explicitly defined, but are instead\n * defined inside the font metrics. Since there are only three sequences that\n * are possible for the delimiters that TeX defines, it is easier to just encode\n * them explicitly here.\n */ // Delimiters that never stack try small delimiters and large delimiters only\n const stackNeverDelimiterSequence = [\n {\n type: \"small\",\n style: src_Style.SCRIPTSCRIPT\n },\n {\n type: \"small\",\n style: src_Style.SCRIPT\n },\n {\n type: \"small\",\n style: src_Style.TEXT\n },\n {\n type: \"large\",\n size: 1\n },\n {\n type: \"large\",\n size: 2\n },\n {\n type: \"large\",\n size: 3\n },\n {\n type: \"large\",\n size: 4\n }\n ]; // Delimiters that always stack try the small delimiters first, then stack\n const stackAlwaysDelimiterSequence = [\n {\n type: \"small\",\n style: src_Style.SCRIPTSCRIPT\n },\n {\n type: \"small\",\n style: src_Style.SCRIPT\n },\n {\n type: \"small\",\n style: src_Style.TEXT\n },\n {\n type: \"stack\"\n }\n ]; // Delimiters that stack when large try the small and then large delimiters, and\n // stack afterwards\n const stackLargeDelimiterSequence = [\n {\n type: \"small\",\n style: src_Style.SCRIPTSCRIPT\n },\n {\n type: \"small\",\n style: src_Style.SCRIPT\n },\n {\n type: \"small\",\n style: src_Style.TEXT\n },\n {\n type: \"large\",\n size: 1\n },\n {\n type: \"large\",\n size: 2\n },\n {\n type: \"large\",\n size: 3\n },\n {\n type: \"large\",\n size: 4\n },\n {\n type: \"stack\"\n }\n ];\n /**\n * Get the font used in a delimiter based on what kind of delimiter it is.\n * TODO(#963) Use more specific font family return type once that is introduced.\n */ const delimTypeToFont = function(type) {\n if (type.type === \"small\") return \"Main-Regular\";\n else if (type.type === \"large\") return \"Size\" + type.size + \"-Regular\";\n else if (type.type === \"stack\") return \"Size4-Regular\";\n else throw new Error(\"Add support for delim type '\" + type.type + \"' here.\");\n };\n /**\n * Traverse a sequence of types of delimiters to decide what kind of delimiter\n * should be used to create a delimiter of the given height+depth.\n */ const traverseSequence = function(delim, height, sequence, options) {\n // Here, we choose the index we should start at in the sequences. In smaller\n // sizes (which correspond to larger numbers in style.size) we start earlier\n // in the sequence. Thus, scriptscript starts at index 3-3=0, script starts\n // at index 3-2=1, text starts at 3-1=2, and display starts at min(2,3-0)=2\n const start = Math.min(2, 3 - options.style.size);\n for(let i = start; i < sequence.length; i++){\n if (sequence[i].type === \"stack\") break;\n const metrics = getMetrics(delim, delimTypeToFont(sequence[i]), \"math\");\n let heightDepth = metrics.height + metrics.depth; // Small delimiters are scaled down versions of the same font, so we\n // account for the style change size.\n if (sequence[i].type === \"small\") {\n const newOptions = options.havingBaseStyle(sequence[i].style);\n heightDepth *= newOptions.sizeMultiplier;\n } // Check if the delimiter at this size works for the given height.\n if (heightDepth > height) return sequence[i];\n } // If we reached the end of the sequence, return the last sequence element.\n return sequence[sequence.length - 1];\n };\n /**\n * Make a delimiter of a given height+depth, with optional centering. Here, we\n * traverse the sequences, and create a delimiter that the sequence tells us to.\n */ const makeCustomSizedDelim = function(delim, height, center, options, mode, classes) {\n if (delim === \"<\" || delim === \"\\\\lt\" || delim === \"\\u27E8\") delim = \"\\\\langle\";\n else if (delim === \">\" || delim === \"\\\\gt\" || delim === \"\\u27E9\") delim = \"\\\\rangle\";\n // Decide what sequence to use\n let sequence;\n if (utils.contains(stackNeverDelimiters, delim)) sequence = stackNeverDelimiterSequence;\n else if (utils.contains(stackLargeDelimiters, delim)) sequence = stackLargeDelimiterSequence;\n else sequence = stackAlwaysDelimiterSequence;\n // Look through the sequence\n const delimType = traverseSequence(delim, height, sequence, options); // Get the delimiter from font glyphs.\n // Depending on the sequence element we decided on, call the\n // appropriate function.\n if (delimType.type === \"small\") return makeSmallDelim(delim, delimType.style, center, options, mode, classes);\n else if (delimType.type === \"large\") return makeLargeDelim(delim, delimType.size, center, options, mode, classes);\n else return makeStackedDelim(delim, height, center, options, mode, classes);\n };\n /**\n * Make a delimiter for use with `\\left` and `\\right`, given a height and depth\n * of an expression that the delimiters surround.\n */ const makeLeftRightDelim = function(delim, height, depth, options, mode, classes) {\n // We always center \\left/\\right delimiters, so the axis is always shifted\n const axisHeight = options.fontMetrics().axisHeight * options.sizeMultiplier; // Taken from TeX source, tex.web, function make_left_right\n const delimiterFactor = 901;\n const delimiterExtend = 5.0 / options.fontMetrics().ptPerEm;\n const maxDistFromAxis = Math.max(height - axisHeight, depth + axisHeight);\n const totalHeight = Math.max(// 65536 per pt, or 655360 per em. So, the division here truncates in\n // TeX but doesn't here, producing different results. If we wanted to\n // exactly match TeX's calculation, we could do\n // Math.floor(655360 * maxDistFromAxis / 500) *\n // delimiterFactor / 655360\n // (To see the difference, compare\n // x^{x^{\\left(\\rule{0.1em}{0.68em}\\right)}}\n // in TeX and KaTeX)\n maxDistFromAxis / 500 * delimiterFactor, 2 * maxDistFromAxis - delimiterExtend); // Finally, we defer to `makeCustomSizedDelim` with our calculated total\n // height\n return makeCustomSizedDelim(delim, totalHeight, true, options, mode, classes);\n };\n /* harmony default export */ var delimiter = {\n sqrtImage: makeSqrtImage,\n sizedDelim: makeSizedDelim,\n sizeToMaxHeight: sizeToMaxHeight,\n customSizedDelim: makeCustomSizedDelim,\n leftRightDelim: makeLeftRightDelim\n };\n // Extra data needed for the delimiter handler down below\n const delimiterSizes = {\n \"\\\\bigl\": {\n mclass: \"mopen\",\n size: 1\n },\n \"\\\\Bigl\": {\n mclass: \"mopen\",\n size: 2\n },\n \"\\\\biggl\": {\n mclass: \"mopen\",\n size: 3\n },\n \"\\\\Biggl\": {\n mclass: \"mopen\",\n size: 4\n },\n \"\\\\bigr\": {\n mclass: \"mclose\",\n size: 1\n },\n \"\\\\Bigr\": {\n mclass: \"mclose\",\n size: 2\n },\n \"\\\\biggr\": {\n mclass: \"mclose\",\n size: 3\n },\n \"\\\\Biggr\": {\n mclass: \"mclose\",\n size: 4\n },\n \"\\\\bigm\": {\n mclass: \"mrel\",\n size: 1\n },\n \"\\\\Bigm\": {\n mclass: \"mrel\",\n size: 2\n },\n \"\\\\biggm\": {\n mclass: \"mrel\",\n size: 3\n },\n \"\\\\Biggm\": {\n mclass: \"mrel\",\n size: 4\n },\n \"\\\\big\": {\n mclass: \"mord\",\n size: 1\n },\n \"\\\\Big\": {\n mclass: \"mord\",\n size: 2\n },\n \"\\\\bigg\": {\n mclass: \"mord\",\n size: 3\n },\n \"\\\\Bigg\": {\n mclass: \"mord\",\n size: 4\n }\n };\n const delimiters = [\n \"(\",\n \"\\\\lparen\",\n \")\",\n \"\\\\rparen\",\n \"[\",\n \"\\\\lbrack\",\n \"]\",\n \"\\\\rbrack\",\n \"\\\\{\",\n \"\\\\lbrace\",\n \"\\\\}\",\n \"\\\\rbrace\",\n \"\\\\lfloor\",\n \"\\\\rfloor\",\n \"\\u230A\",\n \"\\u230B\",\n \"\\\\lceil\",\n \"\\\\rceil\",\n \"\\u2308\",\n \"\\u2309\",\n \"<\",\n \">\",\n \"\\\\langle\",\n \"\\u27E8\",\n \"\\\\rangle\",\n \"\\u27E9\",\n \"\\\\lt\",\n \"\\\\gt\",\n \"\\\\lvert\",\n \"\\\\rvert\",\n \"\\\\lVert\",\n \"\\\\rVert\",\n \"\\\\lgroup\",\n \"\\\\rgroup\",\n \"\\u27EE\",\n \"\\u27EF\",\n \"\\\\lmoustache\",\n \"\\\\rmoustache\",\n \"\\u23B0\",\n \"\\u23B1\",\n \"/\",\n \"\\\\backslash\",\n \"|\",\n \"\\\\vert\",\n \"\\\\|\",\n \"\\\\Vert\",\n \"\\\\uparrow\",\n \"\\\\Uparrow\",\n \"\\\\downarrow\",\n \"\\\\Downarrow\",\n \"\\\\updownarrow\",\n \"\\\\Updownarrow\",\n \".\"\n ];\n // Delimiter functions\n function checkDelimiter(delim, context) {\n const symDelim = checkSymbolNodeType(delim);\n if (symDelim && utils.contains(delimiters, symDelim.text)) return symDelim;\n else if (symDelim) throw new src_ParseError(\"Invalid delimiter '\" + symDelim.text + \"' after '\" + context.funcName + \"'\", delim);\n else throw new src_ParseError(\"Invalid delimiter type '\" + delim.type + \"'\", delim);\n }\n defineFunction({\n type: \"delimsizing\",\n names: [\n \"\\\\bigl\",\n \"\\\\Bigl\",\n \"\\\\biggl\",\n \"\\\\Biggl\",\n \"\\\\bigr\",\n \"\\\\Bigr\",\n \"\\\\biggr\",\n \"\\\\Biggr\",\n \"\\\\bigm\",\n \"\\\\Bigm\",\n \"\\\\biggm\",\n \"\\\\Biggm\",\n \"\\\\big\",\n \"\\\\Big\",\n \"\\\\bigg\",\n \"\\\\Bigg\"\n ],\n props: {\n numArgs: 1,\n argTypes: [\n \"primitive\"\n ]\n },\n handler: (context, args)=>{\n const delim = checkDelimiter(args[0], context);\n return {\n type: \"delimsizing\",\n mode: context.parser.mode,\n size: delimiterSizes[context.funcName].size,\n mclass: delimiterSizes[context.funcName].mclass,\n delim: delim.text\n };\n },\n htmlBuilder: (group, options)=>{\n if (group.delim === \".\") // Empty delimiters still count as elements, even though they don't\n // show anything.\n return buildCommon.makeSpan([\n group.mclass\n ]);\n // Use delimiter.sizedDelim to generate the delimiter.\n return delimiter.sizedDelim(group.delim, group.size, options, group.mode, [\n group.mclass\n ]);\n },\n mathmlBuilder: (group)=>{\n const children = [];\n if (group.delim !== \".\") children.push(makeText(group.delim, group.mode));\n const node = new mathMLTree.MathNode(\"mo\", children);\n if (group.mclass === \"mopen\" || group.mclass === \"mclose\") // Only some of the delimsizing functions act as fences, and they\n // return \"mopen\" or \"mclose\" mclass.\n node.setAttribute(\"fence\", \"true\");\n else // Explicitly disable fencing if it's not a fence, to override the\n // defaults.\n node.setAttribute(\"fence\", \"false\");\n node.setAttribute(\"stretchy\", \"true\");\n const size = makeEm(delimiter.sizeToMaxHeight[group.size]);\n node.setAttribute(\"minsize\", size);\n node.setAttribute(\"maxsize\", size);\n return node;\n }\n });\n function assertParsed(group) {\n if (!group.body) throw new Error(\"Bug: The leftright ParseNode wasn't fully parsed.\");\n }\n defineFunction({\n type: \"leftright-right\",\n names: [\n \"\\\\right\"\n ],\n props: {\n numArgs: 1,\n primitive: true\n },\n handler: (context, args)=>{\n // \\left case below triggers parsing of \\right in\n // `const right = parser.parseFunction();`\n // uses this return value.\n const color = context.parser.gullet.macros.get(\"\\\\current@color\");\n if (color && typeof color !== \"string\") throw new src_ParseError(\"\\\\current@color set to non-string in \\\\right\");\n return {\n type: \"leftright-right\",\n mode: context.parser.mode,\n delim: checkDelimiter(args[0], context).text,\n color: color // undefined if not set via \\color\n };\n }\n });\n defineFunction({\n type: \"leftright\",\n names: [\n \"\\\\left\"\n ],\n props: {\n numArgs: 1,\n primitive: true\n },\n handler: (context, args)=>{\n const delim = checkDelimiter(args[0], context);\n const parser = context.parser; // Parse out the implicit body\n ++parser.leftrightDepth; // parseExpression stops before '\\\\right'\n const body = parser.parseExpression(false);\n --parser.leftrightDepth; // Check the next token\n parser.expect(\"\\\\right\", false);\n const right = assertNodeType(parser.parseFunction(), \"leftright-right\");\n return {\n type: \"leftright\",\n mode: parser.mode,\n body: body,\n left: delim.text,\n right: right.delim,\n rightColor: right.color\n };\n },\n htmlBuilder: (group, options)=>{\n assertParsed(group); // Build the inner expression\n const inner = buildExpression(group.body, options, true, [\n \"mopen\",\n \"mclose\"\n ]);\n let innerHeight = 0;\n let innerDepth = 0;\n let hadMiddle = false; // Calculate its height and depth\n for(let i = 0; i < inner.length; i++)// Property `isMiddle` not defined on `span`. See comment in\n // \"middle\"'s htmlBuilder.\n // $FlowFixMe\n if (inner[i].isMiddle) hadMiddle = true;\n else {\n innerHeight = Math.max(inner[i].height, innerHeight);\n innerDepth = Math.max(inner[i].depth, innerDepth);\n }\n // The size of delimiters is the same, regardless of what style we are\n // in. Thus, to correctly calculate the size of delimiter we need around\n // a group, we scale down the inner size based on the size.\n innerHeight *= options.sizeMultiplier;\n innerDepth *= options.sizeMultiplier;\n let leftDelim;\n if (group.left === \".\") // Empty delimiters in \\left and \\right make null delimiter spaces.\n leftDelim = makeNullDelimiter(options, [\n \"mopen\"\n ]);\n else // Otherwise, use leftRightDelim to generate the correct sized\n // delimiter.\n leftDelim = delimiter.leftRightDelim(group.left, innerHeight, innerDepth, options, group.mode, [\n \"mopen\"\n ]);\n // Add it to the beginning of the expression\n inner.unshift(leftDelim); // Handle middle delimiters\n if (hadMiddle) for(let i = 1; i < inner.length; i++){\n const middleDelim = inner[i]; // Property `isMiddle` not defined on `span`. See comment in\n // \"middle\"'s htmlBuilder.\n // $FlowFixMe\n const isMiddle = middleDelim.isMiddle;\n if (isMiddle) // Apply the options that were active when \\middle was called\n inner[i] = delimiter.leftRightDelim(isMiddle.delim, innerHeight, innerDepth, isMiddle.options, group.mode, []);\n }\n let rightDelim; // Same for the right delimiter, but using color specified by \\color\n if (group.right === \".\") rightDelim = makeNullDelimiter(options, [\n \"mclose\"\n ]);\n else {\n const colorOptions = group.rightColor ? options.withColor(group.rightColor) : options;\n rightDelim = delimiter.leftRightDelim(group.right, innerHeight, innerDepth, colorOptions, group.mode, [\n \"mclose\"\n ]);\n } // Add it to the end of the expression.\n inner.push(rightDelim);\n return buildCommon.makeSpan([\n \"minner\"\n ], inner, options);\n },\n mathmlBuilder: (group, options)=>{\n assertParsed(group);\n const inner = buildMathML_buildExpression(group.body, options);\n if (group.left !== \".\") {\n const leftNode = new mathMLTree.MathNode(\"mo\", [\n makeText(group.left, group.mode)\n ]);\n leftNode.setAttribute(\"fence\", \"true\");\n inner.unshift(leftNode);\n }\n if (group.right !== \".\") {\n const rightNode = new mathMLTree.MathNode(\"mo\", [\n makeText(group.right, group.mode)\n ]);\n rightNode.setAttribute(\"fence\", \"true\");\n if (group.rightColor) rightNode.setAttribute(\"mathcolor\", group.rightColor);\n inner.push(rightNode);\n }\n return makeRow(inner);\n }\n });\n defineFunction({\n type: \"middle\",\n names: [\n \"\\\\middle\"\n ],\n props: {\n numArgs: 1,\n primitive: true\n },\n handler: (context, args)=>{\n const delim = checkDelimiter(args[0], context);\n if (!context.parser.leftrightDepth) throw new src_ParseError(\"\\\\middle without preceding \\\\left\", delim);\n return {\n type: \"middle\",\n mode: context.parser.mode,\n delim: delim.text\n };\n },\n htmlBuilder: (group, options)=>{\n let middleDelim;\n if (group.delim === \".\") middleDelim = makeNullDelimiter(options, []);\n else {\n middleDelim = delimiter.sizedDelim(group.delim, 1, options, group.mode, []);\n const isMiddle = {\n delim: group.delim,\n options: options\n }; // Property `isMiddle` not defined on `span`. It is only used in\n // this file above.\n // TODO: Fix this violation of the `span` type and possibly rename\n // things since `isMiddle` sounds like a boolean, but is a struct.\n // $FlowFixMe\n middleDelim.isMiddle = isMiddle;\n }\n return middleDelim;\n },\n mathmlBuilder: (group, options)=>{\n // A Firefox \\middle will stretch a character vertically only if it\n // is in the fence part of the operator dictionary at:\n // https://www.w3.org/TR/MathML3/appendixc.html.\n // So we need to avoid U+2223 and use plain \"|\" instead.\n const textNode = group.delim === \"\\\\vert\" || group.delim === \"|\" ? makeText(\"|\", \"text\") : makeText(group.delim, group.mode);\n const middleNode = new mathMLTree.MathNode(\"mo\", [\n textNode\n ]);\n middleNode.setAttribute(\"fence\", \"true\"); // MathML gives 5/18em spacing to each element.\n // \\middle should get delimiter spacing instead.\n middleNode.setAttribute(\"lspace\", \"0.05em\");\n middleNode.setAttribute(\"rspace\", \"0.05em\");\n return middleNode;\n }\n });\n const enclose_htmlBuilder = (group, options)=>{\n // \\cancel, \\bcancel, \\xcancel, \\sout, \\fbox, \\colorbox, \\fcolorbox, \\phase\n // Some groups can return document fragments. Handle those by wrapping\n // them in a span.\n const inner = buildCommon.wrapFragment(buildGroup(group.body, options), options);\n const label = group.label.slice(1);\n let scale = options.sizeMultiplier;\n let img;\n let imgShift = 0; // In the LaTeX cancel package, line geometry is slightly different\n // depending on whether the subject is wider than it is tall, or vice versa.\n // We don't know the width of a group, so as a proxy, we test if\n // the subject is a single character. This captures most of the\n // subjects that should get the \"tall\" treatment.\n const isSingleChar = utils.isCharacterBox(group.body);\n if (label === \"sout\") {\n img = buildCommon.makeSpan([\n \"stretchy\",\n \"sout\"\n ]);\n img.height = options.fontMetrics().defaultRuleThickness / scale;\n imgShift = -0.5 * options.fontMetrics().xHeight;\n } else if (label === \"phase\") {\n // Set a couple of dimensions from the steinmetz package.\n const lineWeight = calculateSize({\n number: 0.6,\n unit: \"pt\"\n }, options);\n const clearance = calculateSize({\n number: 0.35,\n unit: \"ex\"\n }, options); // Prevent size changes like \\Huge from affecting line thickness\n const newOptions = options.havingBaseSizing();\n scale = scale / newOptions.sizeMultiplier;\n const angleHeight = inner.height + inner.depth + lineWeight + clearance; // Reserve a left pad for the angle.\n inner.style.paddingLeft = makeEm(angleHeight / 2 + lineWeight); // Create an SVG\n const viewBoxHeight = Math.floor(1000 * angleHeight * scale);\n const path = phasePath(viewBoxHeight);\n const svgNode = new SvgNode([\n new PathNode(\"phase\", path)\n ], {\n \"width\": \"400em\",\n \"height\": makeEm(viewBoxHeight / 1000),\n \"viewBox\": \"0 0 400000 \" + viewBoxHeight,\n \"preserveAspectRatio\": \"xMinYMin slice\"\n }); // Wrap it in a span with overflow: hidden.\n img = buildCommon.makeSvgSpan([\n \"hide-tail\"\n ], [\n svgNode\n ], options);\n img.style.height = makeEm(angleHeight);\n imgShift = inner.depth + lineWeight + clearance;\n } else {\n // Add horizontal padding\n if (/cancel/.test(label)) {\n if (!isSingleChar) inner.classes.push(\"cancel-pad\");\n } else if (label === \"angl\") inner.classes.push(\"anglpad\");\n else inner.classes.push(\"boxpad\");\n // Add vertical padding\n let topPad = 0;\n let bottomPad = 0;\n let ruleThickness = 0; // ref: cancel package: \\advance\\totalheight2\\p@ % \"+2\"\n if (/box/.test(label)) {\n ruleThickness = Math.max(options.fontMetrics().fboxrule, options.minRuleThickness // User override.\n );\n topPad = options.fontMetrics().fboxsep + (label === \"colorbox\" ? 0 : ruleThickness);\n bottomPad = topPad;\n } else if (label === \"angl\") {\n ruleThickness = Math.max(options.fontMetrics().defaultRuleThickness, options.minRuleThickness);\n topPad = 4 * ruleThickness; // gap = 3 × line, plus the line itself.\n bottomPad = Math.max(0, 0.25 - inner.depth);\n } else {\n topPad = isSingleChar ? 0.2 : 0;\n bottomPad = topPad;\n }\n img = stretchy.encloseSpan(inner, label, topPad, bottomPad, options);\n if (/fbox|boxed|fcolorbox/.test(label)) {\n img.style.borderStyle = \"solid\";\n img.style.borderWidth = makeEm(ruleThickness);\n } else if (label === \"angl\" && ruleThickness !== 0.049) {\n img.style.borderTopWidth = makeEm(ruleThickness);\n img.style.borderRightWidth = makeEm(ruleThickness);\n }\n imgShift = inner.depth + bottomPad;\n if (group.backgroundColor) {\n img.style.backgroundColor = group.backgroundColor;\n if (group.borderColor) img.style.borderColor = group.borderColor;\n }\n }\n let vlist;\n if (group.backgroundColor) vlist = buildCommon.makeVList({\n positionType: \"individualShift\",\n children: [\n {\n type: \"elem\",\n elem: img,\n shift: imgShift\n },\n {\n type: \"elem\",\n elem: inner,\n shift: 0\n }\n ]\n }, options);\n else {\n const classes = /cancel|phase/.test(label) ? [\n \"svg-align\"\n ] : [];\n vlist = buildCommon.makeVList({\n positionType: \"individualShift\",\n children: [\n {\n type: \"elem\",\n elem: inner,\n shift: 0\n },\n {\n type: \"elem\",\n elem: img,\n shift: imgShift,\n wrapperClasses: classes\n }\n ]\n }, options);\n }\n if (/cancel/.test(label)) {\n // The cancel package documentation says that cancel lines add their height\n // to the expression, but tests show that isn't how it actually works.\n vlist.height = inner.height;\n vlist.depth = inner.depth;\n }\n if (/cancel/.test(label) && !isSingleChar) // cancel does not create horiz space for its line extension.\n return buildCommon.makeSpan([\n \"mord\",\n \"cancel-lap\"\n ], [\n vlist\n ], options);\n else return buildCommon.makeSpan([\n \"mord\"\n ], [\n vlist\n ], options);\n };\n const enclose_mathmlBuilder = (group, options)=>{\n let fboxsep = 0;\n const node = new mathMLTree.MathNode(group.label.indexOf(\"colorbox\") > -1 ? \"mpadded\" : \"menclose\", [\n buildMathML_buildGroup(group.body, options)\n ]);\n switch(group.label){\n case \"\\\\cancel\":\n node.setAttribute(\"notation\", \"updiagonalstrike\");\n break;\n case \"\\\\bcancel\":\n node.setAttribute(\"notation\", \"downdiagonalstrike\");\n break;\n case \"\\\\phase\":\n node.setAttribute(\"notation\", \"phasorangle\");\n break;\n case \"\\\\sout\":\n node.setAttribute(\"notation\", \"horizontalstrike\");\n break;\n case \"\\\\fbox\":\n node.setAttribute(\"notation\", \"box\");\n break;\n case \"\\\\angl\":\n node.setAttribute(\"notation\", \"actuarial\");\n break;\n case \"\\\\fcolorbox\":\n case \"\\\\colorbox\":\n // doesn't have a good notation option. So use \n // instead. Set some attributes that come included with .\n fboxsep = options.fontMetrics().fboxsep * options.fontMetrics().ptPerEm;\n node.setAttribute(\"width\", \"+\" + 2 * fboxsep + \"pt\");\n node.setAttribute(\"height\", \"+\" + 2 * fboxsep + \"pt\");\n node.setAttribute(\"lspace\", fboxsep + \"pt\"); //\n node.setAttribute(\"voffset\", fboxsep + \"pt\");\n if (group.label === \"\\\\fcolorbox\") {\n const thk = Math.max(options.fontMetrics().fboxrule, options.minRuleThickness // user override\n );\n node.setAttribute(\"style\", \"border: \" + thk + \"em solid \" + String(group.borderColor));\n }\n break;\n case \"\\\\xcancel\":\n node.setAttribute(\"notation\", \"updiagonalstrike downdiagonalstrike\");\n break;\n }\n if (group.backgroundColor) node.setAttribute(\"mathbackground\", group.backgroundColor);\n return node;\n };\n defineFunction({\n type: \"enclose\",\n names: [\n \"\\\\colorbox\"\n ],\n props: {\n numArgs: 2,\n allowedInText: true,\n argTypes: [\n \"color\",\n \"text\"\n ]\n },\n handler (_ref, args, optArgs) {\n let { parser: parser, funcName: funcName } = _ref;\n const color = assertNodeType(args[0], \"color-token\").color;\n const body = args[1];\n return {\n type: \"enclose\",\n mode: parser.mode,\n label: funcName,\n backgroundColor: color,\n body: body\n };\n },\n htmlBuilder: enclose_htmlBuilder,\n mathmlBuilder: enclose_mathmlBuilder\n });\n defineFunction({\n type: \"enclose\",\n names: [\n \"\\\\fcolorbox\"\n ],\n props: {\n numArgs: 3,\n allowedInText: true,\n argTypes: [\n \"color\",\n \"color\",\n \"text\"\n ]\n },\n handler (_ref2, args, optArgs) {\n let { parser: parser, funcName: funcName } = _ref2;\n const borderColor = assertNodeType(args[0], \"color-token\").color;\n const backgroundColor = assertNodeType(args[1], \"color-token\").color;\n const body = args[2];\n return {\n type: \"enclose\",\n mode: parser.mode,\n label: funcName,\n backgroundColor: backgroundColor,\n borderColor: borderColor,\n body: body\n };\n },\n htmlBuilder: enclose_htmlBuilder,\n mathmlBuilder: enclose_mathmlBuilder\n });\n defineFunction({\n type: \"enclose\",\n names: [\n \"\\\\fbox\"\n ],\n props: {\n numArgs: 1,\n argTypes: [\n \"hbox\"\n ],\n allowedInText: true\n },\n handler (_ref3, args) {\n let { parser: parser } = _ref3;\n return {\n type: \"enclose\",\n mode: parser.mode,\n label: \"\\\\fbox\",\n body: args[0]\n };\n }\n });\n defineFunction({\n type: \"enclose\",\n names: [\n \"\\\\cancel\",\n \"\\\\bcancel\",\n \"\\\\xcancel\",\n \"\\\\sout\",\n \"\\\\phase\"\n ],\n props: {\n numArgs: 1\n },\n handler (_ref4, args) {\n let { parser: parser, funcName: funcName } = _ref4;\n const body = args[0];\n return {\n type: \"enclose\",\n mode: parser.mode,\n label: funcName,\n body: body\n };\n },\n htmlBuilder: enclose_htmlBuilder,\n mathmlBuilder: enclose_mathmlBuilder\n });\n defineFunction({\n type: \"enclose\",\n names: [\n \"\\\\angl\"\n ],\n props: {\n numArgs: 1,\n argTypes: [\n \"hbox\"\n ],\n allowedInText: false\n },\n handler (_ref5, args) {\n let { parser: parser } = _ref5;\n return {\n type: \"enclose\",\n mode: parser.mode,\n label: \"\\\\angl\",\n body: args[0]\n };\n }\n });\n /**\n * All registered environments.\n * `environments.js` exports this same dictionary again and makes it public.\n * `Parser.js` requires this dictionary via `environments.js`.\n */ const _environments = {};\n function defineEnvironment(_ref) {\n let { type: type, names: names, props: props, handler: handler, htmlBuilder: htmlBuilder, mathmlBuilder: mathmlBuilder } = _ref;\n // Set default values of environments.\n const data = {\n type: type,\n numArgs: props.numArgs || 0,\n allowedInText: false,\n numOptionalArgs: 0,\n handler: handler\n };\n for(let i = 0; i < names.length; ++i)// TODO: The value type of _environments should be a type union of all\n // possible `EnvSpec<>` possibilities instead of `EnvSpec<*>`, which is\n // an existential type.\n _environments[names[i]] = data;\n if (htmlBuilder) _htmlGroupBuilders[type] = htmlBuilder;\n if (mathmlBuilder) _mathmlGroupBuilders[type] = mathmlBuilder;\n }\n /**\n * All registered global/built-in macros.\n * `macros.js` exports this same dictionary again and makes it public.\n * `Parser.js` requires this dictionary via `macros.js`.\n */ const _macros = {}; // This function might one day accept an additional argument and do more things.\n function defineMacro(name, body) {\n _macros[name] = body;\n }\n /**\n * Lexing or parsing positional information for error reporting.\n * This object is immutable.\n */ class SourceLocation {\n // The + prefix indicates that these fields aren't writeable\n // Lexer holding the input string.\n // Start offset, zero-based inclusive.\n // End offset, zero-based exclusive.\n constructor(lexer, start, end){\n this.lexer = void 0;\n this.start = void 0;\n this.end = void 0;\n this.lexer = lexer;\n this.start = start;\n this.end = end;\n }\n /**\n * Merges two `SourceLocation`s from location providers, given they are\n * provided in order of appearance.\n * - Returns the first one's location if only the first is provided.\n * - Returns a merged range of the first and the last if both are provided\n * and their lexers match.\n * - Otherwise, returns null.\n */ static range(first, second) {\n if (!second) return first && first.loc;\n else if (!first || !first.loc || !second.loc || first.loc.lexer !== second.loc.lexer) return null;\n else return new SourceLocation(first.loc.lexer, first.loc.start, second.loc.end);\n }\n }\n /**\n * Interface required to break circular dependency between Token, Lexer, and\n * ParseError.\n */ /**\n * The resulting token returned from `lex`.\n *\n * It consists of the token text plus some position information.\n * The position information is essentially a range in an input string,\n * but instead of referencing the bare input string, we refer to the lexer.\n * That way it is possible to attach extra metadata to the input string,\n * like for example a file name or similar.\n *\n * The position information is optional, so it is OK to construct synthetic\n * tokens if appropriate. Not providing available position information may\n * lead to degraded error reporting, though.\n */ class Token {\n // don't expand the token\n // used in \\noexpand\n constructor(text, loc){\n this.text = void 0;\n this.loc = void 0;\n this.noexpand = void 0;\n this.treatAsRelax = void 0;\n this.text = text;\n this.loc = loc;\n }\n /**\n * Given a pair of tokens (this and endToken), compute a `Token` encompassing\n * the whole input range enclosed by these two.\n */ range(endToken, text // the text of the newly constructed token\n ) {\n return new Token(text, SourceLocation.range(this, endToken));\n }\n }\n // Helper functions\n function getHLines(parser) {\n // Return an array. The array length = number of hlines.\n // Each element in the array tells if the line is dashed.\n const hlineInfo = [];\n parser.consumeSpaces();\n let nxt = parser.fetch().text;\n if (nxt === \"\\\\relax\") {\n // \\relax is an artifact of the \\cr macro below\n parser.consume();\n parser.consumeSpaces();\n nxt = parser.fetch().text;\n }\n while(nxt === \"\\\\hline\" || nxt === \"\\\\hdashline\"){\n parser.consume();\n hlineInfo.push(nxt === \"\\\\hdashline\");\n parser.consumeSpaces();\n nxt = parser.fetch().text;\n }\n return hlineInfo;\n }\n const validateAmsEnvironmentContext = (context)=>{\n const settings = context.parser.settings;\n if (!settings.displayMode) throw new src_ParseError(\"{\" + context.envName + \"} can be used only in\" + \" display mode.\");\n }; // autoTag (an argument to parseArray) can be one of three values:\n // * undefined: Regular (not-top-level) array; no tags on each row\n // * true: Automatic equation numbering, overridable by \\tag\n // * false: Tags allowed on each row, but no automatic numbering\n // This function *doesn't* work with the \"split\" environment name.\n function getAutoTag(name) {\n if (name.indexOf(\"ed\") === -1) return name.indexOf(\"*\") === -1;\n // return undefined;\n }\n /**\n * Parse the body of the environment, with rows delimited by \\\\ and\n * columns delimited by &, and create a nested list in row-major order\n * with one group per cell. If given an optional argument style\n * (\"text\", \"display\", etc.), then each cell is cast into that style.\n */ function parseArray(parser, _ref, style) {\n let { hskipBeforeAndAfter: hskipBeforeAndAfter, addJot: addJot, cols: cols, arraystretch: arraystretch, colSeparationType: colSeparationType, autoTag: autoTag, singleRow: singleRow, emptySingleRow: emptySingleRow, maxNumCols: maxNumCols, leqno: leqno } = _ref;\n parser.gullet.beginGroup();\n if (!singleRow) // \\cr is equivalent to \\\\ without the optional size argument (see below)\n // TODO: provide helpful error when \\cr is used outside array environment\n parser.gullet.macros.set(\"\\\\cr\", \"\\\\\\\\\\\\relax\");\n // Get current arraystretch if it's not set by the environment\n if (!arraystretch) {\n const stretch = parser.gullet.expandMacroAsText(\"\\\\arraystretch\");\n if (stretch == null) // Default \\arraystretch from lttab.dtx\n arraystretch = 1;\n else {\n arraystretch = parseFloat(stretch);\n if (!arraystretch || arraystretch < 0) throw new src_ParseError(\"Invalid \\\\arraystretch: \" + stretch);\n }\n } // Start group for first cell\n parser.gullet.beginGroup();\n let row = [];\n const body = [\n row\n ];\n const rowGaps = [];\n const hLinesBeforeRow = [];\n const tags = autoTag != null ? [] : undefined; // amsmath uses \\global\\@eqnswtrue and \\global\\@eqnswfalse to represent\n // whether this row should have an equation number. Simulate this with\n // a \\@eqnsw macro set to 1 or 0.\n function beginRow() {\n if (autoTag) parser.gullet.macros.set(\"\\\\@eqnsw\", \"1\", true);\n }\n function endRow() {\n if (tags) {\n if (parser.gullet.macros.get(\"\\\\df@tag\")) {\n tags.push(parser.subparse([\n new Token(\"\\\\df@tag\")\n ]));\n parser.gullet.macros.set(\"\\\\df@tag\", undefined, true);\n } else tags.push(Boolean(autoTag) && parser.gullet.macros.get(\"\\\\@eqnsw\") === \"1\");\n }\n }\n beginRow(); // Test for \\hline at the top of the array.\n hLinesBeforeRow.push(getHLines(parser));\n while(true){\n // eslint-disable-line no-constant-condition\n // Parse each cell in its own group (namespace)\n let cell = parser.parseExpression(false, singleRow ? \"\\\\end\" : \"\\\\\\\\\");\n parser.gullet.endGroup();\n parser.gullet.beginGroup();\n cell = {\n type: \"ordgroup\",\n mode: parser.mode,\n body: cell\n };\n if (style) cell = {\n type: \"styling\",\n mode: parser.mode,\n style: style,\n body: [\n cell\n ]\n };\n row.push(cell);\n const next = parser.fetch().text;\n if (next === \"&\") {\n if (maxNumCols && row.length === maxNumCols) {\n if (singleRow || colSeparationType) // {equation} or {split}\n throw new src_ParseError(\"Too many tab characters: &\", parser.nextToken);\n else // {array} environment\n parser.settings.reportNonstrict(\"textEnv\", \"Too few columns specified in the {array} column argument.\");\n }\n parser.consume();\n } else if (next === \"\\\\end\") {\n endRow(); // Arrays terminate newlines with `\\crcr` which consumes a `\\cr` if\n // the last line is empty. However, AMS environments keep the\n // empty row if it's the only one.\n // NOTE: Currently, `cell` is the last item added into `row`.\n if (row.length === 1 && cell.type === \"styling\" && cell.body[0].body.length === 0 && (body.length > 1 || !emptySingleRow)) body.pop();\n if (hLinesBeforeRow.length < body.length + 1) hLinesBeforeRow.push([]);\n break;\n } else if (next === \"\\\\\\\\\") {\n parser.consume();\n let size; // \\def\\Let@{\\let\\\\\\math@cr}\n // \\def\\math@cr{...\\math@cr@}\n // \\def\\math@cr@{\\new@ifnextchar[\\math@cr@@{\\math@cr@@[\\z@]}}\n // \\def\\math@cr@@[#1]{...\\math@cr@@@...}\n // \\def\\math@cr@@@{\\cr}\n if (parser.gullet.future().text !== \" \") size = parser.parseSizeGroup(true);\n rowGaps.push(size ? size.value : null);\n endRow(); // check for \\hline(s) following the row separator\n hLinesBeforeRow.push(getHLines(parser));\n row = [];\n body.push(row);\n beginRow();\n } else throw new src_ParseError(\"Expected & or \\\\\\\\ or \\\\cr or \\\\end\", parser.nextToken);\n } // End cell group\n parser.gullet.endGroup(); // End array group defining \\cr\n parser.gullet.endGroup();\n return {\n type: \"array\",\n mode: parser.mode,\n addJot: addJot,\n arraystretch: arraystretch,\n body: body,\n cols: cols,\n rowGaps: rowGaps,\n hskipBeforeAndAfter: hskipBeforeAndAfter,\n hLinesBeforeRow: hLinesBeforeRow,\n colSeparationType: colSeparationType,\n tags: tags,\n leqno: leqno\n };\n } // Decides on a style for cells in an array according to whether the given\n // environment name starts with the letter 'd'.\n function dCellStyle(envName) {\n if (envName.slice(0, 1) === \"d\") return \"display\";\n else return \"text\";\n }\n const array_htmlBuilder = function(group, options) {\n let r;\n let c;\n const nr = group.body.length;\n const hLinesBeforeRow = group.hLinesBeforeRow;\n let nc = 0;\n let body = new Array(nr);\n const hlines = [];\n const ruleThickness = Math.max(options.fontMetrics().arrayRuleWidth, options.minRuleThickness // User override.\n ); // Horizontal spacing\n const pt = 1 / options.fontMetrics().ptPerEm;\n let arraycolsep = 5 * pt; // default value, i.e. \\arraycolsep in article.cls\n if (group.colSeparationType && group.colSeparationType === \"small\") {\n // We're in a {smallmatrix}. Default column space is \\thickspace,\n // i.e. 5/18em = 0.2778em, per amsmath.dtx for {smallmatrix}.\n // But that needs adjustment because LaTeX applies \\scriptstyle to the\n // entire array, including the colspace, but this function applies\n // \\scriptstyle only inside each element.\n const localMultiplier = options.havingStyle(src_Style.SCRIPT).sizeMultiplier;\n arraycolsep = 0.2778 * (localMultiplier / options.sizeMultiplier);\n } // Vertical spacing\n const baselineskip = group.colSeparationType === \"CD\" ? calculateSize({\n number: 3,\n unit: \"ex\"\n }, options) : 12 * pt; // see size10.clo\n // Default \\jot from ltmath.dtx\n // TODO(edemaine): allow overriding \\jot via \\setlength (#687)\n const jot = 3 * pt;\n const arrayskip = group.arraystretch * baselineskip;\n const arstrutHeight = 0.7 * arrayskip; // \\strutbox in ltfsstrc.dtx and\n const arstrutDepth = 0.3 * arrayskip; // \\@arstrutbox in lttab.dtx\n let totalHeight = 0; // Set a position for \\hline(s) at the top of the array, if any.\n function setHLinePos(hlinesInGap) {\n for(let i = 0; i < hlinesInGap.length; ++i){\n if (i > 0) totalHeight += 0.25;\n hlines.push({\n pos: totalHeight,\n isDashed: hlinesInGap[i]\n });\n }\n }\n setHLinePos(hLinesBeforeRow[0]);\n for(r = 0; r < group.body.length; ++r){\n const inrow = group.body[r];\n let height = arstrutHeight; // \\@array adds an \\@arstrut\n let depth = arstrutDepth; // to each tow (via the template)\n if (nc < inrow.length) nc = inrow.length;\n const outrow = new Array(inrow.length);\n for(c = 0; c < inrow.length; ++c){\n const elt = buildGroup(inrow[c], options);\n if (depth < elt.depth) depth = elt.depth;\n if (height < elt.height) height = elt.height;\n outrow[c] = elt;\n }\n const rowGap = group.rowGaps[r];\n let gap = 0;\n if (rowGap) {\n gap = calculateSize(rowGap, options);\n if (gap > 0) {\n // \\@argarraycr\n gap += arstrutDepth;\n if (depth < gap) depth = gap; // \\@xargarraycr\n gap = 0;\n }\n } // In AMS multiline environments such as aligned and gathered, rows\n // correspond to lines that have additional \\jot added to the\n // \\baselineskip via \\openup.\n if (group.addJot) depth += jot;\n outrow.height = height;\n outrow.depth = depth;\n totalHeight += height;\n outrow.pos = totalHeight;\n totalHeight += depth + gap; // \\@yargarraycr\n body[r] = outrow; // Set a position for \\hline(s), if any.\n setHLinePos(hLinesBeforeRow[r + 1]);\n }\n const offset = totalHeight / 2 + options.fontMetrics().axisHeight;\n const colDescriptions = group.cols || [];\n const cols = [];\n let colSep;\n let colDescrNum;\n const tagSpans = [];\n if (group.tags && group.tags.some((tag)=>tag)) // An environment with manual tags and/or automatic equation numbers.\n // Create node(s), the latter of which trigger CSS counter increment.\n for(r = 0; r < nr; ++r){\n const rw = body[r];\n const shift = rw.pos - offset;\n const tag = group.tags[r];\n let tagSpan;\n if (tag === true) // automatic numbering\n tagSpan = buildCommon.makeSpan([\n \"eqn-num\"\n ], [], options);\n else if (tag === false) // \\nonumber/\\notag or starred environment\n tagSpan = buildCommon.makeSpan([], [], options);\n else // manual \\tag\n tagSpan = buildCommon.makeSpan([], buildExpression(tag, options, true), options);\n tagSpan.depth = rw.depth;\n tagSpan.height = rw.height;\n tagSpans.push({\n type: \"elem\",\n elem: tagSpan,\n shift: shift\n });\n }\n for(c = 0, colDescrNum = 0; // descriptions, so trailing separators don't get lost.\n c < nc || colDescrNum < colDescriptions.length; ++c, ++colDescrNum){\n let colDescr = colDescriptions[colDescrNum] || {};\n let firstSeparator = true;\n while(colDescr.type === \"separator\"){\n // If there is more than one separator in a row, add a space\n // between them.\n if (!firstSeparator) {\n colSep = buildCommon.makeSpan([\n \"arraycolsep\"\n ], []);\n colSep.style.width = makeEm(options.fontMetrics().doubleRuleSep);\n cols.push(colSep);\n }\n if (colDescr.separator === \"|\" || colDescr.separator === \":\") {\n const lineType = colDescr.separator === \"|\" ? \"solid\" : \"dashed\";\n const separator = buildCommon.makeSpan([\n \"vertical-separator\"\n ], [], options);\n separator.style.height = makeEm(totalHeight);\n separator.style.borderRightWidth = makeEm(ruleThickness);\n separator.style.borderRightStyle = lineType;\n separator.style.margin = \"0 \" + makeEm(-ruleThickness / 2);\n const shift = totalHeight - offset;\n if (shift) separator.style.verticalAlign = makeEm(-shift);\n cols.push(separator);\n } else throw new src_ParseError(\"Invalid separator type: \" + colDescr.separator);\n colDescrNum++;\n colDescr = colDescriptions[colDescrNum] || {};\n firstSeparator = false;\n }\n if (c >= nc) continue;\n let sepwidth;\n if (c > 0 || group.hskipBeforeAndAfter) {\n sepwidth = utils.deflt(colDescr.pregap, arraycolsep);\n if (sepwidth !== 0) {\n colSep = buildCommon.makeSpan([\n \"arraycolsep\"\n ], []);\n colSep.style.width = makeEm(sepwidth);\n cols.push(colSep);\n }\n }\n let col = [];\n for(r = 0; r < nr; ++r){\n const row = body[r];\n const elem = row[c];\n if (!elem) continue;\n const shift = row.pos - offset;\n elem.depth = row.depth;\n elem.height = row.height;\n col.push({\n type: \"elem\",\n elem: elem,\n shift: shift\n });\n }\n col = buildCommon.makeVList({\n positionType: \"individualShift\",\n children: col\n }, options);\n col = buildCommon.makeSpan([\n \"col-align-\" + (colDescr.align || \"c\")\n ], [\n col\n ]);\n cols.push(col);\n if (c < nc - 1 || group.hskipBeforeAndAfter) {\n sepwidth = utils.deflt(colDescr.postgap, arraycolsep);\n if (sepwidth !== 0) {\n colSep = buildCommon.makeSpan([\n \"arraycolsep\"\n ], []);\n colSep.style.width = makeEm(sepwidth);\n cols.push(colSep);\n }\n }\n }\n body = buildCommon.makeSpan([\n \"mtable\"\n ], cols); // Add \\hline(s), if any.\n if (hlines.length > 0) {\n const line = buildCommon.makeLineSpan(\"hline\", options, ruleThickness);\n const dashes = buildCommon.makeLineSpan(\"hdashline\", options, ruleThickness);\n const vListElems = [\n {\n type: \"elem\",\n elem: body,\n shift: 0\n }\n ];\n while(hlines.length > 0){\n const hline = hlines.pop();\n const lineShift = hline.pos - offset;\n if (hline.isDashed) vListElems.push({\n type: \"elem\",\n elem: dashes,\n shift: lineShift\n });\n else vListElems.push({\n type: \"elem\",\n elem: line,\n shift: lineShift\n });\n }\n body = buildCommon.makeVList({\n positionType: \"individualShift\",\n children: vListElems\n }, options);\n }\n if (tagSpans.length === 0) return buildCommon.makeSpan([\n \"mord\"\n ], [\n body\n ], options);\n else {\n let eqnNumCol = buildCommon.makeVList({\n positionType: \"individualShift\",\n children: tagSpans\n }, options);\n eqnNumCol = buildCommon.makeSpan([\n \"tag\"\n ], [\n eqnNumCol\n ], options);\n return buildCommon.makeFragment([\n body,\n eqnNumCol\n ]);\n }\n };\n const alignMap = {\n c: \"center \",\n l: \"left \",\n r: \"right \"\n };\n const array_mathmlBuilder = function(group, options) {\n const tbl = [];\n const glue = new mathMLTree.MathNode(\"mtd\", [], [\n \"mtr-glue\"\n ]);\n const tag = new mathMLTree.MathNode(\"mtd\", [], [\n \"mml-eqn-num\"\n ]);\n for(let i = 0; i < group.body.length; i++){\n const rw = group.body[i];\n const row = [];\n for(let j = 0; j < rw.length; j++)row.push(new mathMLTree.MathNode(\"mtd\", [\n buildMathML_buildGroup(rw[j], options)\n ]));\n if (group.tags && group.tags[i]) {\n row.unshift(glue);\n row.push(glue);\n if (group.leqno) row.unshift(tag);\n else row.push(tag);\n }\n tbl.push(new mathMLTree.MathNode(\"mtr\", row));\n }\n let table = new mathMLTree.MathNode(\"mtable\", tbl); // Set column alignment, row spacing, column spacing, and\n // array lines by setting attributes on the table element.\n // Set the row spacing. In MathML, we specify a gap distance.\n // We do not use rowGap[] because MathML automatically increases\n // cell height with the height/depth of the element content.\n // LaTeX \\arraystretch multiplies the row baseline-to-baseline distance.\n // We simulate this by adding (arraystretch - 1)em to the gap. This\n // does a reasonable job of adjusting arrays containing 1 em tall content.\n // The 0.16 and 0.09 values are found empirically. They produce an array\n // similar to LaTeX and in which content does not interfere with \\hlines.\n const gap = group.arraystretch === 0.5 ? 0.1 // {smallmatrix}, {subarray}\n : 0.16 + group.arraystretch - 1 + (group.addJot ? 0.09 : 0);\n table.setAttribute(\"rowspacing\", makeEm(gap)); // MathML table lines go only between cells.\n // To place a line on an edge we'll use , if necessary.\n let menclose = \"\";\n let align = \"\";\n if (group.cols && group.cols.length > 0) {\n // Find column alignment, column spacing, and vertical lines.\n const cols = group.cols;\n let columnLines = \"\";\n let prevTypeWasAlign = false;\n let iStart = 0;\n let iEnd = cols.length;\n if (cols[0].type === \"separator\") {\n menclose += \"top \";\n iStart = 1;\n }\n if (cols[cols.length - 1].type === \"separator\") {\n menclose += \"bottom \";\n iEnd -= 1;\n }\n for(let i = iStart; i < iEnd; i++){\n if (cols[i].type === \"align\") {\n align += alignMap[cols[i].align];\n if (prevTypeWasAlign) columnLines += \"none \";\n prevTypeWasAlign = true;\n } else if (cols[i].type === \"separator\") // MathML accepts only single lines between cells.\n // So we read only the first of consecutive separators.\n {\n if (prevTypeWasAlign) {\n columnLines += cols[i].separator === \"|\" ? \"solid \" : \"dashed \";\n prevTypeWasAlign = false;\n }\n }\n }\n table.setAttribute(\"columnalign\", align.trim());\n if (/[sd]/.test(columnLines)) table.setAttribute(\"columnlines\", columnLines.trim());\n } // Set column spacing.\n if (group.colSeparationType === \"align\") {\n const cols = group.cols || [];\n let spacing = \"\";\n for(let i = 1; i < cols.length; i++)spacing += i % 2 ? \"0em \" : \"1em \";\n table.setAttribute(\"columnspacing\", spacing.trim());\n } else if (group.colSeparationType === \"alignat\" || group.colSeparationType === \"gather\") table.setAttribute(\"columnspacing\", \"0em\");\n else if (group.colSeparationType === \"small\") table.setAttribute(\"columnspacing\", \"0.2778em\");\n else if (group.colSeparationType === \"CD\") table.setAttribute(\"columnspacing\", \"0.5em\");\n else table.setAttribute(\"columnspacing\", \"1em\");\n // Address \\hline and \\hdashline\n let rowLines = \"\";\n const hlines = group.hLinesBeforeRow;\n menclose += hlines[0].length > 0 ? \"left \" : \"\";\n menclose += hlines[hlines.length - 1].length > 0 ? \"right \" : \"\";\n for(let i = 1; i < hlines.length - 1; i++)rowLines += hlines[i].length === 0 ? \"none \" // MathML accepts only a single line between rows. Read one element.\n : hlines[i][0] ? \"dashed \" : \"solid \";\n if (/[sd]/.test(rowLines)) table.setAttribute(\"rowlines\", rowLines.trim());\n if (menclose !== \"\") {\n table = new mathMLTree.MathNode(\"menclose\", [\n table\n ]);\n table.setAttribute(\"notation\", menclose.trim());\n }\n if (group.arraystretch && group.arraystretch < 1) {\n // A small array. Wrap in scriptstyle so row gap is not too large.\n table = new mathMLTree.MathNode(\"mstyle\", [\n table\n ]);\n table.setAttribute(\"scriptlevel\", \"1\");\n }\n return table;\n }; // Convenience function for align, align*, aligned, alignat, alignat*, alignedat.\n const alignedHandler = function(context, args) {\n if (context.envName.indexOf(\"ed\") === -1) validateAmsEnvironmentContext(context);\n const cols = [];\n const separationType = context.envName.indexOf(\"at\") > -1 ? \"alignat\" : \"align\";\n const isSplit = context.envName === \"split\";\n const res = parseArray(context.parser, {\n cols: cols,\n addJot: true,\n autoTag: isSplit ? undefined : getAutoTag(context.envName),\n emptySingleRow: true,\n colSeparationType: separationType,\n maxNumCols: isSplit ? 2 : undefined,\n leqno: context.parser.settings.leqno\n }, \"display\"); // Determining number of columns.\n // 1. If the first argument is given, we use it as a number of columns,\n // and makes sure that each row doesn't exceed that number.\n // 2. Otherwise, just count number of columns = maximum number\n // of cells in each row (\"aligned\" mode -- isAligned will be true).\n //\n // At the same time, prepend empty group {} at beginning of every second\n // cell in each row (starting with second cell) so that operators become\n // binary. This behavior is implemented in amsmath's \\start@aligned.\n let numMaths;\n let numCols = 0;\n const emptyGroup = {\n type: \"ordgroup\",\n mode: context.mode,\n body: []\n };\n if (args[0] && args[0].type === \"ordgroup\") {\n let arg0 = \"\";\n for(let i = 0; i < args[0].body.length; i++){\n const textord = assertNodeType(args[0].body[i], \"textord\");\n arg0 += textord.text;\n }\n numMaths = Number(arg0);\n numCols = numMaths * 2;\n }\n const isAligned = !numCols;\n res.body.forEach(function(row) {\n for(let i = 1; i < row.length; i += 2){\n // Modify ordgroup node within styling node\n const styling = assertNodeType(row[i], \"styling\");\n const ordgroup = assertNodeType(styling.body[0], \"ordgroup\");\n ordgroup.body.unshift(emptyGroup);\n }\n if (!isAligned) {\n // Case 1\n const curMaths = row.length / 2;\n if (numMaths < curMaths) throw new src_ParseError(\"Too many math in a row: \" + (\"expected \" + numMaths + \", but got \" + curMaths), row[0]);\n } else if (numCols < row.length) // Case 2\n numCols = row.length;\n }); // Adjusting alignment.\n // In aligned mode, we add one \\qquad between columns;\n // otherwise we add nothing.\n for(let i = 0; i < numCols; ++i){\n let align = \"r\";\n let pregap = 0;\n if (i % 2 === 1) align = \"l\";\n else if (i > 0 && isAligned) // \"aligned\" mode.\n pregap = 1; // add one \\quad\n cols[i] = {\n type: \"align\",\n align: align,\n pregap: pregap,\n postgap: 0\n };\n }\n res.colSeparationType = isAligned ? \"align\" : \"alignat\";\n return res;\n }; // Arrays are part of LaTeX, defined in lttab.dtx so its documentation\n // is part of the source2e.pdf file of LaTeX2e source documentation.\n // {darray} is an {array} environment where cells are set in \\displaystyle,\n // as defined in nccmath.sty.\n defineEnvironment({\n type: \"array\",\n names: [\n \"array\",\n \"darray\"\n ],\n props: {\n numArgs: 1\n },\n handler (context, args) {\n // Since no types are specified above, the two possibilities are\n // - The argument is wrapped in {} or [], in which case Parser's\n // parseGroup() returns an \"ordgroup\" wrapping some symbol node.\n // - The argument is a bare symbol node.\n const symNode = checkSymbolNodeType(args[0]);\n const colalign = symNode ? [\n args[0]\n ] : assertNodeType(args[0], \"ordgroup\").body;\n const cols = colalign.map(function(nde) {\n const node = assertSymbolNodeType(nde);\n const ca = node.text;\n if (\"lcr\".indexOf(ca) !== -1) return {\n type: \"align\",\n align: ca\n };\n else if (ca === \"|\") return {\n type: \"separator\",\n separator: \"|\"\n };\n else if (ca === \":\") return {\n type: \"separator\",\n separator: \":\"\n };\n throw new src_ParseError(\"Unknown column alignment: \" + ca, nde);\n });\n const res = {\n cols: cols,\n hskipBeforeAndAfter: true,\n // \\@preamble in lttab.dtx\n maxNumCols: cols.length\n };\n return parseArray(context.parser, res, dCellStyle(context.envName));\n },\n htmlBuilder: array_htmlBuilder,\n mathmlBuilder: array_mathmlBuilder\n }); // The matrix environments of amsmath builds on the array environment\n // of LaTeX, which is discussed above.\n // The mathtools package adds starred versions of the same environments.\n // These have an optional argument to choose left|center|right justification.\n defineEnvironment({\n type: \"array\",\n names: [\n \"matrix\",\n \"pmatrix\",\n \"bmatrix\",\n \"Bmatrix\",\n \"vmatrix\",\n \"Vmatrix\",\n \"matrix*\",\n \"pmatrix*\",\n \"bmatrix*\",\n \"Bmatrix*\",\n \"vmatrix*\",\n \"Vmatrix*\"\n ],\n props: {\n numArgs: 0\n },\n handler (context) {\n const delimiters = {\n \"matrix\": null,\n \"pmatrix\": [\n \"(\",\n \")\"\n ],\n \"bmatrix\": [\n \"[\",\n \"]\"\n ],\n \"Bmatrix\": [\n \"\\\\{\",\n \"\\\\}\"\n ],\n \"vmatrix\": [\n \"|\",\n \"|\"\n ],\n \"Vmatrix\": [\n \"\\\\Vert\",\n \"\\\\Vert\"\n ]\n }[context.envName.replace(\"*\", \"\")]; // \\hskip -\\arraycolsep in amsmath\n let colAlign = \"c\";\n const payload = {\n hskipBeforeAndAfter: false,\n cols: [\n {\n type: \"align\",\n align: colAlign\n }\n ]\n };\n if (context.envName.charAt(context.envName.length - 1) === \"*\") {\n // It's one of the mathtools starred functions.\n // Parse the optional alignment argument.\n const parser = context.parser;\n parser.consumeSpaces();\n if (parser.fetch().text === \"[\") {\n parser.consume();\n parser.consumeSpaces();\n colAlign = parser.fetch().text;\n if (\"lcr\".indexOf(colAlign) === -1) throw new src_ParseError(\"Expected l or c or r\", parser.nextToken);\n parser.consume();\n parser.consumeSpaces();\n parser.expect(\"]\");\n parser.consume();\n payload.cols = [\n {\n type: \"align\",\n align: colAlign\n }\n ];\n }\n }\n const res = parseArray(context.parser, payload, dCellStyle(context.envName)); // Populate cols with the correct number of column alignment specs.\n const numCols = Math.max(0, ...res.body.map((row)=>row.length));\n res.cols = new Array(numCols).fill({\n type: \"align\",\n align: colAlign\n });\n return delimiters ? {\n type: \"leftright\",\n mode: context.mode,\n body: [\n res\n ],\n left: delimiters[0],\n right: delimiters[1],\n rightColor: undefined // \\right uninfluenced by \\color in array\n } : res;\n },\n htmlBuilder: array_htmlBuilder,\n mathmlBuilder: array_mathmlBuilder\n });\n defineEnvironment({\n type: \"array\",\n names: [\n \"smallmatrix\"\n ],\n props: {\n numArgs: 0\n },\n handler (context) {\n const payload = {\n arraystretch: 0.5\n };\n const res = parseArray(context.parser, payload, \"script\");\n res.colSeparationType = \"small\";\n return res;\n },\n htmlBuilder: array_htmlBuilder,\n mathmlBuilder: array_mathmlBuilder\n });\n defineEnvironment({\n type: \"array\",\n names: [\n \"subarray\"\n ],\n props: {\n numArgs: 1\n },\n handler (context, args) {\n // Parsing of {subarray} is similar to {array}\n const symNode = checkSymbolNodeType(args[0]);\n const colalign = symNode ? [\n args[0]\n ] : assertNodeType(args[0], \"ordgroup\").body;\n const cols = colalign.map(function(nde) {\n const node = assertSymbolNodeType(nde);\n const ca = node.text; // {subarray} only recognizes \"l\" & \"c\"\n if (\"lc\".indexOf(ca) !== -1) return {\n type: \"align\",\n align: ca\n };\n throw new src_ParseError(\"Unknown column alignment: \" + ca, nde);\n });\n if (cols.length > 1) throw new src_ParseError(\"{subarray} can contain only one column\");\n let res = {\n cols: cols,\n hskipBeforeAndAfter: false,\n arraystretch: 0.5\n };\n res = parseArray(context.parser, res, \"script\");\n if (res.body.length > 0 && res.body[0].length > 1) throw new src_ParseError(\"{subarray} can contain only one column\");\n return res;\n },\n htmlBuilder: array_htmlBuilder,\n mathmlBuilder: array_mathmlBuilder\n }); // A cases environment (in amsmath.sty) is almost equivalent to\n // \\def\\arraystretch{1.2}%\n // \\left\\{\\begin{array}{@{}l@{\\quad}l@{}} … \\end{array}\\right.\n // {dcases} is a {cases} environment where cells are set in \\displaystyle,\n // as defined in mathtools.sty.\n // {rcases} is another mathtools environment. It's brace is on the right side.\n defineEnvironment({\n type: \"array\",\n names: [\n \"cases\",\n \"dcases\",\n \"rcases\",\n \"drcases\"\n ],\n props: {\n numArgs: 0\n },\n handler (context) {\n const payload = {\n arraystretch: 1.2,\n cols: [\n {\n type: \"align\",\n align: \"l\",\n pregap: 0,\n // TODO(kevinb) get the current style.\n // For now we use the metrics for TEXT style which is what we were\n // doing before. Before attempting to get the current style we\n // should look at TeX's behavior especially for \\over and matrices.\n postgap: 1.0\n },\n {\n type: \"align\",\n align: \"l\",\n pregap: 0,\n postgap: 0\n }\n ]\n };\n const res = parseArray(context.parser, payload, dCellStyle(context.envName));\n return {\n type: \"leftright\",\n mode: context.mode,\n body: [\n res\n ],\n left: context.envName.indexOf(\"r\") > -1 ? \".\" : \"\\\\{\",\n right: context.envName.indexOf(\"r\") > -1 ? \"\\\\}\" : \".\",\n rightColor: undefined\n };\n },\n htmlBuilder: array_htmlBuilder,\n mathmlBuilder: array_mathmlBuilder\n }); // In the align environment, one uses ampersands, &, to specify number of\n // columns in each row, and to locate spacing between each column.\n // align gets automatic numbering. align* and aligned do not.\n // The alignedat environment can be used in math mode.\n // Note that we assume \\nomallineskiplimit to be zero,\n // so that \\strut@ is the same as \\strut.\n defineEnvironment({\n type: \"array\",\n names: [\n \"align\",\n \"align*\",\n \"aligned\",\n \"split\"\n ],\n props: {\n numArgs: 0\n },\n handler: alignedHandler,\n htmlBuilder: array_htmlBuilder,\n mathmlBuilder: array_mathmlBuilder\n }); // A gathered environment is like an array environment with one centered\n // column, but where rows are considered lines so get \\jot line spacing\n // and contents are set in \\displaystyle.\n defineEnvironment({\n type: \"array\",\n names: [\n \"gathered\",\n \"gather\",\n \"gather*\"\n ],\n props: {\n numArgs: 0\n },\n handler (context) {\n if (utils.contains([\n \"gather\",\n \"gather*\"\n ], context.envName)) validateAmsEnvironmentContext(context);\n const res = {\n cols: [\n {\n type: \"align\",\n align: \"c\"\n }\n ],\n addJot: true,\n colSeparationType: \"gather\",\n autoTag: getAutoTag(context.envName),\n emptySingleRow: true,\n leqno: context.parser.settings.leqno\n };\n return parseArray(context.parser, res, \"display\");\n },\n htmlBuilder: array_htmlBuilder,\n mathmlBuilder: array_mathmlBuilder\n }); // alignat environment is like an align environment, but one must explicitly\n // specify maximum number of columns in each row, and can adjust spacing between\n // each columns.\n defineEnvironment({\n type: \"array\",\n names: [\n \"alignat\",\n \"alignat*\",\n \"alignedat\"\n ],\n props: {\n numArgs: 1\n },\n handler: alignedHandler,\n htmlBuilder: array_htmlBuilder,\n mathmlBuilder: array_mathmlBuilder\n });\n defineEnvironment({\n type: \"array\",\n names: [\n \"equation\",\n \"equation*\"\n ],\n props: {\n numArgs: 0\n },\n handler (context) {\n validateAmsEnvironmentContext(context);\n const res = {\n autoTag: getAutoTag(context.envName),\n emptySingleRow: true,\n singleRow: true,\n maxNumCols: 1,\n leqno: context.parser.settings.leqno\n };\n return parseArray(context.parser, res, \"display\");\n },\n htmlBuilder: array_htmlBuilder,\n mathmlBuilder: array_mathmlBuilder\n });\n defineEnvironment({\n type: \"array\",\n names: [\n \"CD\"\n ],\n props: {\n numArgs: 0\n },\n handler (context) {\n validateAmsEnvironmentContext(context);\n return parseCD(context.parser);\n },\n htmlBuilder: array_htmlBuilder,\n mathmlBuilder: array_mathmlBuilder\n });\n defineMacro(\"\\\\nonumber\", \"\\\\gdef\\\\@eqnsw{0}\");\n defineMacro(\"\\\\notag\", \"\\\\nonumber\"); // Catch \\hline outside array environment\n defineFunction({\n type: \"text\",\n // Doesn't matter what this is.\n names: [\n \"\\\\hline\",\n \"\\\\hdashline\"\n ],\n props: {\n numArgs: 0,\n allowedInText: true,\n allowedInMath: true\n },\n handler (context, args) {\n throw new src_ParseError(context.funcName + \" valid only within array environment\");\n }\n });\n const environments = _environments;\n /* harmony default export */ var src_environments = environments; // All environment definitions should be imported below\n // Environment delimiters. HTML/MathML rendering is defined in the corresponding\n // defineEnvironment definitions.\n defineFunction({\n type: \"environment\",\n names: [\n \"\\\\begin\",\n \"\\\\end\"\n ],\n props: {\n numArgs: 1,\n argTypes: [\n \"text\"\n ]\n },\n handler (_ref, args) {\n let { parser: parser, funcName: funcName } = _ref;\n const nameGroup = args[0];\n if (nameGroup.type !== \"ordgroup\") throw new src_ParseError(\"Invalid environment name\", nameGroup);\n let envName = \"\";\n for(let i = 0; i < nameGroup.body.length; ++i)envName += assertNodeType(nameGroup.body[i], \"textord\").text;\n if (funcName === \"\\\\begin\") {\n // begin...end is similar to left...right\n if (!src_environments.hasOwnProperty(envName)) throw new src_ParseError(\"No such environment: \" + envName, nameGroup);\n // Build the environment object. Arguments and other information will\n // be made available to the begin and end methods using properties.\n const env = src_environments[envName];\n const { args: args, optArgs: optArgs } = parser.parseArguments(\"\\\\begin{\" + envName + \"}\", env);\n const context = {\n mode: parser.mode,\n envName: envName,\n parser: parser\n };\n const result = env.handler(context, args, optArgs);\n parser.expect(\"\\\\end\", false);\n const endNameToken = parser.nextToken;\n const end = assertNodeType(parser.parseFunction(), \"environment\");\n if (end.name !== envName) throw new src_ParseError(\"Mismatch: \\\\begin{\" + envName + \"} matched by \\\\end{\" + end.name + \"}\", endNameToken);\n // $FlowFixMe, \"environment\" handler returns an environment ParseNode\n return result;\n }\n return {\n type: \"environment\",\n mode: parser.mode,\n name: envName,\n nameGroup: nameGroup\n };\n }\n });\n // TODO(kevinb): implement \\\\sl and \\\\sc\n const font_htmlBuilder = (group, options)=>{\n const font = group.font;\n const newOptions = options.withFont(font);\n return buildGroup(group.body, newOptions);\n };\n const font_mathmlBuilder = (group, options)=>{\n const font = group.font;\n const newOptions = options.withFont(font);\n return buildMathML_buildGroup(group.body, newOptions);\n };\n const fontAliases = {\n \"\\\\Bbb\": \"\\\\mathbb\",\n \"\\\\bold\": \"\\\\mathbf\",\n \"\\\\frak\": \"\\\\mathfrak\",\n \"\\\\bm\": \"\\\\boldsymbol\"\n };\n defineFunction({\n type: \"font\",\n names: [\n \"\\\\mathrm\",\n \"\\\\mathit\",\n \"\\\\mathbf\",\n \"\\\\mathnormal\",\n \"\\\\mathbb\",\n \"\\\\mathcal\",\n \"\\\\mathfrak\",\n \"\\\\mathscr\",\n \"\\\\mathsf\",\n \"\\\\mathtt\",\n \"\\\\Bbb\",\n \"\\\\bold\",\n \"\\\\frak\"\n ],\n props: {\n numArgs: 1,\n allowedInArgument: true\n },\n handler: (_ref, args)=>{\n let { parser: parser, funcName: funcName } = _ref;\n const body = normalizeArgument(args[0]);\n let func = funcName;\n if (func in fontAliases) func = fontAliases[func];\n return {\n type: \"font\",\n mode: parser.mode,\n font: func.slice(1),\n body: body\n };\n },\n htmlBuilder: font_htmlBuilder,\n mathmlBuilder: font_mathmlBuilder\n });\n defineFunction({\n type: \"mclass\",\n names: [\n \"\\\\boldsymbol\",\n \"\\\\bm\"\n ],\n props: {\n numArgs: 1\n },\n handler: (_ref2, args)=>{\n let { parser: parser } = _ref2;\n const body = args[0];\n const isCharacterBox = utils.isCharacterBox(body); // amsbsy.sty's \\boldsymbol uses \\binrel spacing to inherit the\n // argument's bin|rel|ord status\n return {\n type: \"mclass\",\n mode: parser.mode,\n mclass: binrelClass(body),\n body: [\n {\n type: \"font\",\n mode: parser.mode,\n font: \"boldsymbol\",\n body: body\n }\n ],\n isCharacterBox: isCharacterBox\n };\n }\n }); // Old font changing functions\n defineFunction({\n type: \"font\",\n names: [\n \"\\\\rm\",\n \"\\\\sf\",\n \"\\\\tt\",\n \"\\\\bf\",\n \"\\\\it\",\n \"\\\\cal\"\n ],\n props: {\n numArgs: 0,\n allowedInText: true\n },\n handler: (_ref3, args)=>{\n let { parser: parser, funcName: funcName, breakOnTokenText: breakOnTokenText } = _ref3;\n const { mode: mode } = parser;\n const body = parser.parseExpression(true, breakOnTokenText);\n const style = \"math\" + funcName.slice(1);\n return {\n type: \"font\",\n mode: mode,\n font: style,\n body: {\n type: \"ordgroup\",\n mode: parser.mode,\n body: body\n }\n };\n },\n htmlBuilder: font_htmlBuilder,\n mathmlBuilder: font_mathmlBuilder\n });\n const adjustStyle = (size, originalStyle)=>{\n // Figure out what style this fraction should be in based on the\n // function used\n let style = originalStyle;\n if (size === \"display\") // Get display style as a default.\n // If incoming style is sub/sup, use style.text() to get correct size.\n style = style.id >= src_Style.SCRIPT.id ? style.text() : src_Style.DISPLAY;\n else if (size === \"text\" && style.size === src_Style.DISPLAY.size) // We're in a \\tfrac but incoming style is displaystyle, so:\n style = src_Style.TEXT;\n else if (size === \"script\") style = src_Style.SCRIPT;\n else if (size === \"scriptscript\") style = src_Style.SCRIPTSCRIPT;\n return style;\n };\n const genfrac_htmlBuilder = (group, options)=>{\n // Fractions are handled in the TeXbook on pages 444-445, rules 15(a-e).\n const style = adjustStyle(group.size, options.style);\n const nstyle = style.fracNum();\n const dstyle = style.fracDen();\n let newOptions;\n newOptions = options.havingStyle(nstyle);\n const numerm = buildGroup(group.numer, newOptions, options);\n if (group.continued) {\n // \\cfrac inserts a \\strut into the numerator.\n // Get \\strut dimensions from TeXbook page 353.\n const hStrut = 8.5 / options.fontMetrics().ptPerEm;\n const dStrut = 3.5 / options.fontMetrics().ptPerEm;\n numerm.height = numerm.height < hStrut ? hStrut : numerm.height;\n numerm.depth = numerm.depth < dStrut ? dStrut : numerm.depth;\n }\n newOptions = options.havingStyle(dstyle);\n const denomm = buildGroup(group.denom, newOptions, options);\n let rule;\n let ruleWidth;\n let ruleSpacing;\n if (group.hasBarLine) {\n if (group.barSize) {\n ruleWidth = calculateSize(group.barSize, options);\n rule = buildCommon.makeLineSpan(\"frac-line\", options, ruleWidth);\n } else rule = buildCommon.makeLineSpan(\"frac-line\", options);\n ruleWidth = rule.height;\n ruleSpacing = rule.height;\n } else {\n rule = null;\n ruleWidth = 0;\n ruleSpacing = options.fontMetrics().defaultRuleThickness;\n } // Rule 15b\n let numShift;\n let clearance;\n let denomShift;\n if (style.size === src_Style.DISPLAY.size || group.size === \"display\") {\n numShift = options.fontMetrics().num1;\n if (ruleWidth > 0) clearance = 3 * ruleSpacing;\n else clearance = 7 * ruleSpacing;\n denomShift = options.fontMetrics().denom1;\n } else {\n if (ruleWidth > 0) {\n numShift = options.fontMetrics().num2;\n clearance = ruleSpacing;\n } else {\n numShift = options.fontMetrics().num3;\n clearance = 3 * ruleSpacing;\n }\n denomShift = options.fontMetrics().denom2;\n }\n let frac;\n if (!rule) {\n // Rule 15c\n const candidateClearance = numShift - numerm.depth - (denomm.height - denomShift);\n if (candidateClearance < clearance) {\n numShift += 0.5 * (clearance - candidateClearance);\n denomShift += 0.5 * (clearance - candidateClearance);\n }\n frac = buildCommon.makeVList({\n positionType: \"individualShift\",\n children: [\n {\n type: \"elem\",\n elem: denomm,\n shift: denomShift\n },\n {\n type: \"elem\",\n elem: numerm,\n shift: -numShift\n }\n ]\n }, options);\n } else {\n // Rule 15d\n const axisHeight = options.fontMetrics().axisHeight;\n if (numShift - numerm.depth - (axisHeight + 0.5 * ruleWidth) < clearance) numShift += clearance - (numShift - numerm.depth - (axisHeight + 0.5 * ruleWidth));\n if (axisHeight - 0.5 * ruleWidth - (denomm.height - denomShift) < clearance) denomShift += clearance - (axisHeight - 0.5 * ruleWidth - (denomm.height - denomShift));\n const midShift = -(axisHeight - 0.5 * ruleWidth);\n frac = buildCommon.makeVList({\n positionType: \"individualShift\",\n children: [\n {\n type: \"elem\",\n elem: denomm,\n shift: denomShift\n },\n {\n type: \"elem\",\n elem: rule,\n shift: midShift\n },\n {\n type: \"elem\",\n elem: numerm,\n shift: -numShift\n }\n ]\n }, options);\n } // Since we manually change the style sometimes (with \\dfrac or \\tfrac),\n // account for the possible size change here.\n newOptions = options.havingStyle(style);\n frac.height *= newOptions.sizeMultiplier / options.sizeMultiplier;\n frac.depth *= newOptions.sizeMultiplier / options.sizeMultiplier; // Rule 15e\n let delimSize;\n if (style.size === src_Style.DISPLAY.size) delimSize = options.fontMetrics().delim1;\n else if (style.size === src_Style.SCRIPTSCRIPT.size) delimSize = options.havingStyle(src_Style.SCRIPT).fontMetrics().delim2;\n else delimSize = options.fontMetrics().delim2;\n let leftDelim;\n let rightDelim;\n if (group.leftDelim == null) leftDelim = makeNullDelimiter(options, [\n \"mopen\"\n ]);\n else leftDelim = delimiter.customSizedDelim(group.leftDelim, delimSize, true, options.havingStyle(style), group.mode, [\n \"mopen\"\n ]);\n if (group.continued) rightDelim = buildCommon.makeSpan([]); // zero width for \\cfrac\n else if (group.rightDelim == null) rightDelim = makeNullDelimiter(options, [\n \"mclose\"\n ]);\n else rightDelim = delimiter.customSizedDelim(group.rightDelim, delimSize, true, options.havingStyle(style), group.mode, [\n \"mclose\"\n ]);\n return buildCommon.makeSpan([\n \"mord\"\n ].concat(newOptions.sizingClasses(options)), [\n leftDelim,\n buildCommon.makeSpan([\n \"mfrac\"\n ], [\n frac\n ]),\n rightDelim\n ], options);\n };\n const genfrac_mathmlBuilder = (group, options)=>{\n let node = new mathMLTree.MathNode(\"mfrac\", [\n buildMathML_buildGroup(group.numer, options),\n buildMathML_buildGroup(group.denom, options)\n ]);\n if (!group.hasBarLine) node.setAttribute(\"linethickness\", \"0px\");\n else if (group.barSize) {\n const ruleWidth = calculateSize(group.barSize, options);\n node.setAttribute(\"linethickness\", makeEm(ruleWidth));\n }\n const style = adjustStyle(group.size, options.style);\n if (style.size !== options.style.size) {\n node = new mathMLTree.MathNode(\"mstyle\", [\n node\n ]);\n const isDisplay = style.size === src_Style.DISPLAY.size ? \"true\" : \"false\";\n node.setAttribute(\"displaystyle\", isDisplay);\n node.setAttribute(\"scriptlevel\", \"0\");\n }\n if (group.leftDelim != null || group.rightDelim != null) {\n const withDelims = [];\n if (group.leftDelim != null) {\n const leftOp = new mathMLTree.MathNode(\"mo\", [\n new mathMLTree.TextNode(group.leftDelim.replace(\"\\\\\", \"\"))\n ]);\n leftOp.setAttribute(\"fence\", \"true\");\n withDelims.push(leftOp);\n }\n withDelims.push(node);\n if (group.rightDelim != null) {\n const rightOp = new mathMLTree.MathNode(\"mo\", [\n new mathMLTree.TextNode(group.rightDelim.replace(\"\\\\\", \"\"))\n ]);\n rightOp.setAttribute(\"fence\", \"true\");\n withDelims.push(rightOp);\n }\n return makeRow(withDelims);\n }\n return node;\n };\n defineFunction({\n type: \"genfrac\",\n names: [\n \"\\\\dfrac\",\n \"\\\\frac\",\n \"\\\\tfrac\",\n \"\\\\dbinom\",\n \"\\\\binom\",\n \"\\\\tbinom\",\n \"\\\\\\\\atopfrac\",\n \"\\\\\\\\bracefrac\",\n \"\\\\\\\\brackfrac\" // ditto\n ],\n props: {\n numArgs: 2,\n allowedInArgument: true\n },\n handler: (_ref, args)=>{\n let { parser: parser, funcName: funcName } = _ref;\n const numer = args[0];\n const denom = args[1];\n let hasBarLine;\n let leftDelim = null;\n let rightDelim = null;\n let size = \"auto\";\n switch(funcName){\n case \"\\\\dfrac\":\n case \"\\\\frac\":\n case \"\\\\tfrac\":\n hasBarLine = true;\n break;\n case \"\\\\\\\\atopfrac\":\n hasBarLine = false;\n break;\n case \"\\\\dbinom\":\n case \"\\\\binom\":\n case \"\\\\tbinom\":\n hasBarLine = false;\n leftDelim = \"(\";\n rightDelim = \")\";\n break;\n case \"\\\\\\\\bracefrac\":\n hasBarLine = false;\n leftDelim = \"\\\\{\";\n rightDelim = \"\\\\}\";\n break;\n case \"\\\\\\\\brackfrac\":\n hasBarLine = false;\n leftDelim = \"[\";\n rightDelim = \"]\";\n break;\n default:\n throw new Error(\"Unrecognized genfrac command\");\n }\n switch(funcName){\n case \"\\\\dfrac\":\n case \"\\\\dbinom\":\n size = \"display\";\n break;\n case \"\\\\tfrac\":\n case \"\\\\tbinom\":\n size = \"text\";\n break;\n }\n return {\n type: \"genfrac\",\n mode: parser.mode,\n continued: false,\n numer: numer,\n denom: denom,\n hasBarLine: hasBarLine,\n leftDelim: leftDelim,\n rightDelim: rightDelim,\n size: size,\n barSize: null\n };\n },\n htmlBuilder: genfrac_htmlBuilder,\n mathmlBuilder: genfrac_mathmlBuilder\n });\n defineFunction({\n type: \"genfrac\",\n names: [\n \"\\\\cfrac\"\n ],\n props: {\n numArgs: 2\n },\n handler: (_ref2, args)=>{\n let { parser: parser, funcName: funcName } = _ref2;\n const numer = args[0];\n const denom = args[1];\n return {\n type: \"genfrac\",\n mode: parser.mode,\n continued: true,\n numer: numer,\n denom: denom,\n hasBarLine: true,\n leftDelim: null,\n rightDelim: null,\n size: \"display\",\n barSize: null\n };\n }\n }); // Infix generalized fractions -- these are not rendered directly, but replaced\n // immediately by one of the variants above.\n defineFunction({\n type: \"infix\",\n names: [\n \"\\\\over\",\n \"\\\\choose\",\n \"\\\\atop\",\n \"\\\\brace\",\n \"\\\\brack\"\n ],\n props: {\n numArgs: 0,\n infix: true\n },\n handler (_ref3) {\n let { parser: parser, funcName: funcName, token: token } = _ref3;\n let replaceWith;\n switch(funcName){\n case \"\\\\over\":\n replaceWith = \"\\\\frac\";\n break;\n case \"\\\\choose\":\n replaceWith = \"\\\\binom\";\n break;\n case \"\\\\atop\":\n replaceWith = \"\\\\\\\\atopfrac\";\n break;\n case \"\\\\brace\":\n replaceWith = \"\\\\\\\\bracefrac\";\n break;\n case \"\\\\brack\":\n replaceWith = \"\\\\\\\\brackfrac\";\n break;\n default:\n throw new Error(\"Unrecognized infix genfrac command\");\n }\n return {\n type: \"infix\",\n mode: parser.mode,\n replaceWith: replaceWith,\n token: token\n };\n }\n });\n const stylArray = [\n \"display\",\n \"text\",\n \"script\",\n \"scriptscript\"\n ];\n const delimFromValue = function(delimString) {\n let delim = null;\n if (delimString.length > 0) {\n delim = delimString;\n delim = delim === \".\" ? null : delim;\n }\n return delim;\n };\n defineFunction({\n type: \"genfrac\",\n names: [\n \"\\\\genfrac\"\n ],\n props: {\n numArgs: 6,\n allowedInArgument: true,\n argTypes: [\n \"math\",\n \"math\",\n \"size\",\n \"text\",\n \"math\",\n \"math\"\n ]\n },\n handler (_ref4, args) {\n let { parser: parser } = _ref4;\n const numer = args[4];\n const denom = args[5]; // Look into the parse nodes to get the desired delimiters.\n const leftNode = normalizeArgument(args[0]);\n const leftDelim = leftNode.type === \"atom\" && leftNode.family === \"open\" ? delimFromValue(leftNode.text) : null;\n const rightNode = normalizeArgument(args[1]);\n const rightDelim = rightNode.type === \"atom\" && rightNode.family === \"close\" ? delimFromValue(rightNode.text) : null;\n const barNode = assertNodeType(args[2], \"size\");\n let hasBarLine;\n let barSize = null;\n if (barNode.isBlank) // \\genfrac acts differently than \\above.\n // \\genfrac treats an empty size group as a signal to use a\n // standard bar size. \\above would see size = 0 and omit the bar.\n hasBarLine = true;\n else {\n barSize = barNode.value;\n hasBarLine = barSize.number > 0;\n } // Find out if we want displaystyle, textstyle, etc.\n let size = \"auto\";\n let styl = args[3];\n if (styl.type === \"ordgroup\") {\n if (styl.body.length > 0) {\n const textOrd = assertNodeType(styl.body[0], \"textord\");\n size = stylArray[Number(textOrd.text)];\n }\n } else {\n styl = assertNodeType(styl, \"textord\");\n size = stylArray[Number(styl.text)];\n }\n return {\n type: \"genfrac\",\n mode: parser.mode,\n numer: numer,\n denom: denom,\n continued: false,\n hasBarLine: hasBarLine,\n barSize: barSize,\n leftDelim: leftDelim,\n rightDelim: rightDelim,\n size: size\n };\n },\n htmlBuilder: genfrac_htmlBuilder,\n mathmlBuilder: genfrac_mathmlBuilder\n }); // \\above is an infix fraction that also defines a fraction bar size.\n defineFunction({\n type: \"infix\",\n names: [\n \"\\\\above\"\n ],\n props: {\n numArgs: 1,\n argTypes: [\n \"size\"\n ],\n infix: true\n },\n handler (_ref5, args) {\n let { parser: parser, funcName: funcName, token: token } = _ref5;\n return {\n type: \"infix\",\n mode: parser.mode,\n replaceWith: \"\\\\\\\\abovefrac\",\n size: assertNodeType(args[0], \"size\").value,\n token: token\n };\n }\n });\n defineFunction({\n type: \"genfrac\",\n names: [\n \"\\\\\\\\abovefrac\"\n ],\n props: {\n numArgs: 3,\n argTypes: [\n \"math\",\n \"size\",\n \"math\"\n ]\n },\n handler: (_ref6, args)=>{\n let { parser: parser, funcName: funcName } = _ref6;\n const numer = args[0];\n const barSize = assert(assertNodeType(args[1], \"infix\").size);\n const denom = args[2];\n const hasBarLine = barSize.number > 0;\n return {\n type: \"genfrac\",\n mode: parser.mode,\n numer: numer,\n denom: denom,\n continued: false,\n hasBarLine: hasBarLine,\n barSize: barSize,\n leftDelim: null,\n rightDelim: null,\n size: \"auto\"\n };\n },\n htmlBuilder: genfrac_htmlBuilder,\n mathmlBuilder: genfrac_mathmlBuilder\n });\n // NOTE: Unlike most `htmlBuilder`s, this one handles not only \"horizBrace\", but\n // also \"supsub\" since an over/underbrace can affect super/subscripting.\n const horizBrace_htmlBuilder = (grp, options)=>{\n const style = options.style; // Pull out the `ParseNode<\"horizBrace\">` if `grp` is a \"supsub\" node.\n let supSubGroup;\n let group;\n if (grp.type === \"supsub\") {\n // Ref: LaTeX source2e: }}}}\\limits}\n // i.e. LaTeX treats the brace similar to an op and passes it\n // with \\limits, so we need to assign supsub style.\n supSubGroup = grp.sup ? buildGroup(grp.sup, options.havingStyle(style.sup()), options) : buildGroup(grp.sub, options.havingStyle(style.sub()), options);\n group = assertNodeType(grp.base, \"horizBrace\");\n } else group = assertNodeType(grp, \"horizBrace\");\n // Build the base group\n const body = buildGroup(group.base, options.havingBaseStyle(src_Style.DISPLAY)); // Create the stretchy element\n const braceBody = stretchy.svgSpan(group, options); // Generate the vlist, with the appropriate kerns ┏━━━━━━━━┓\n // This first vlist contains the content and the brace: equation\n let vlist;\n if (group.isOver) {\n vlist = buildCommon.makeVList({\n positionType: \"firstBaseline\",\n children: [\n {\n type: \"elem\",\n elem: body\n },\n {\n type: \"kern\",\n size: 0.1\n },\n {\n type: \"elem\",\n elem: braceBody\n }\n ]\n }, options); // $FlowFixMe: Replace this with passing \"svg-align\" into makeVList.\n vlist.children[0].children[0].children[1].classes.push(\"svg-align\");\n } else {\n vlist = buildCommon.makeVList({\n positionType: \"bottom\",\n positionData: body.depth + 0.1 + braceBody.height,\n children: [\n {\n type: \"elem\",\n elem: braceBody\n },\n {\n type: \"kern\",\n size: 0.1\n },\n {\n type: \"elem\",\n elem: body\n }\n ]\n }, options); // $FlowFixMe: Replace this with passing \"svg-align\" into makeVList.\n vlist.children[0].children[0].children[0].classes.push(\"svg-align\");\n }\n if (supSubGroup) {\n // To write the supsub, wrap the first vlist in another vlist:\n // They can't all go in the same vlist, because the note might be\n // wider than the equation. We want the equation to control the\n // brace width.\n // note long note long note\n // ┏━━━━━━━━┓ or ┏━━━┓ not ┏━━━━━━━━━┓\n // equation eqn eqn\n const vSpan = buildCommon.makeSpan([\n \"mord\",\n group.isOver ? \"mover\" : \"munder\"\n ], [\n vlist\n ], options);\n if (group.isOver) vlist = buildCommon.makeVList({\n positionType: \"firstBaseline\",\n children: [\n {\n type: \"elem\",\n elem: vSpan\n },\n {\n type: \"kern\",\n size: 0.2\n },\n {\n type: \"elem\",\n elem: supSubGroup\n }\n ]\n }, options);\n else vlist = buildCommon.makeVList({\n positionType: \"bottom\",\n positionData: vSpan.depth + 0.2 + supSubGroup.height + supSubGroup.depth,\n children: [\n {\n type: \"elem\",\n elem: supSubGroup\n },\n {\n type: \"kern\",\n size: 0.2\n },\n {\n type: \"elem\",\n elem: vSpan\n }\n ]\n }, options);\n }\n return buildCommon.makeSpan([\n \"mord\",\n group.isOver ? \"mover\" : \"munder\"\n ], [\n vlist\n ], options);\n };\n const horizBrace_mathmlBuilder = (group, options)=>{\n const accentNode = stretchy.mathMLnode(group.label);\n return new mathMLTree.MathNode(group.isOver ? \"mover\" : \"munder\", [\n buildMathML_buildGroup(group.base, options),\n accentNode\n ]);\n }; // Horizontal stretchy braces\n defineFunction({\n type: \"horizBrace\",\n names: [\n \"\\\\overbrace\",\n \"\\\\underbrace\"\n ],\n props: {\n numArgs: 1\n },\n handler (_ref, args) {\n let { parser: parser, funcName: funcName } = _ref;\n return {\n type: \"horizBrace\",\n mode: parser.mode,\n label: funcName,\n isOver: /^\\\\over/.test(funcName),\n base: args[0]\n };\n },\n htmlBuilder: horizBrace_htmlBuilder,\n mathmlBuilder: horizBrace_mathmlBuilder\n });\n defineFunction({\n type: \"href\",\n names: [\n \"\\\\href\"\n ],\n props: {\n numArgs: 2,\n argTypes: [\n \"url\",\n \"original\"\n ],\n allowedInText: true\n },\n handler: (_ref, args)=>{\n let { parser: parser } = _ref;\n const body = args[1];\n const href = assertNodeType(args[0], \"url\").url;\n if (!parser.settings.isTrusted({\n command: \"\\\\href\",\n url: href\n })) return parser.formatUnsupportedCmd(\"\\\\href\");\n return {\n type: \"href\",\n mode: parser.mode,\n href: href,\n body: ordargument(body)\n };\n },\n htmlBuilder: (group, options)=>{\n const elements = buildExpression(group.body, options, false);\n return buildCommon.makeAnchor(group.href, [], elements, options);\n },\n mathmlBuilder: (group, options)=>{\n let math = buildExpressionRow(group.body, options);\n if (!(math instanceof MathNode)) math = new MathNode(\"mrow\", [\n math\n ]);\n math.setAttribute(\"href\", group.href);\n return math;\n }\n });\n defineFunction({\n type: \"href\",\n names: [\n \"\\\\url\"\n ],\n props: {\n numArgs: 1,\n argTypes: [\n \"url\"\n ],\n allowedInText: true\n },\n handler: (_ref2, args)=>{\n let { parser: parser } = _ref2;\n const href = assertNodeType(args[0], \"url\").url;\n if (!parser.settings.isTrusted({\n command: \"\\\\url\",\n url: href\n })) return parser.formatUnsupportedCmd(\"\\\\url\");\n const chars = [];\n for(let i = 0; i < href.length; i++){\n let c = href[i];\n if (c === \"~\") c = \"\\\\textasciitilde\";\n chars.push({\n type: \"textord\",\n mode: \"text\",\n text: c\n });\n }\n const body = {\n type: \"text\",\n mode: parser.mode,\n font: \"\\\\texttt\",\n body: chars\n };\n return {\n type: \"href\",\n mode: parser.mode,\n href: href,\n body: ordargument(body)\n };\n }\n });\n // \\hbox is provided for compatibility with LaTeX \\vcenter.\n // In LaTeX, \\vcenter can act only on a box, as in\n // \\vcenter{\\hbox{$\\frac{a+b}{\\dfrac{c}{d}}$}}\n // This function by itself doesn't do anything but prevent a soft line break.\n defineFunction({\n type: \"hbox\",\n names: [\n \"\\\\hbox\"\n ],\n props: {\n numArgs: 1,\n argTypes: [\n \"text\"\n ],\n allowedInText: true,\n primitive: true\n },\n handler (_ref, args) {\n let { parser: parser } = _ref;\n return {\n type: \"hbox\",\n mode: parser.mode,\n body: ordargument(args[0])\n };\n },\n htmlBuilder (group, options) {\n const elements = buildExpression(group.body, options, false);\n return buildCommon.makeFragment(elements);\n },\n mathmlBuilder (group, options) {\n return new mathMLTree.MathNode(\"mrow\", buildMathML_buildExpression(group.body, options));\n }\n });\n defineFunction({\n type: \"html\",\n names: [\n \"\\\\htmlClass\",\n \"\\\\htmlId\",\n \"\\\\htmlStyle\",\n \"\\\\htmlData\"\n ],\n props: {\n numArgs: 2,\n argTypes: [\n \"raw\",\n \"original\"\n ],\n allowedInText: true\n },\n handler: (_ref, args)=>{\n let { parser: parser, funcName: funcName, token: token } = _ref;\n const value = assertNodeType(args[0], \"raw\").string;\n const body = args[1];\n if (parser.settings.strict) parser.settings.reportNonstrict(\"htmlExtension\", \"HTML extension is disabled on strict mode\");\n let trustContext;\n const attributes = {};\n switch(funcName){\n case \"\\\\htmlClass\":\n attributes.class = value;\n trustContext = {\n command: \"\\\\htmlClass\",\n class: value\n };\n break;\n case \"\\\\htmlId\":\n attributes.id = value;\n trustContext = {\n command: \"\\\\htmlId\",\n id: value\n };\n break;\n case \"\\\\htmlStyle\":\n attributes.style = value;\n trustContext = {\n command: \"\\\\htmlStyle\",\n style: value\n };\n break;\n case \"\\\\htmlData\":\n {\n const data = value.split(\",\");\n for(let i = 0; i < data.length; i++){\n const keyVal = data[i].split(\"=\");\n if (keyVal.length !== 2) throw new src_ParseError(\"Error parsing key-value for \\\\htmlData\");\n attributes[\"data-\" + keyVal[0].trim()] = keyVal[1].trim();\n }\n trustContext = {\n command: \"\\\\htmlData\",\n attributes: attributes\n };\n break;\n }\n default:\n throw new Error(\"Unrecognized html command\");\n }\n if (!parser.settings.isTrusted(trustContext)) return parser.formatUnsupportedCmd(funcName);\n return {\n type: \"html\",\n mode: parser.mode,\n attributes: attributes,\n body: ordargument(body)\n };\n },\n htmlBuilder: (group, options)=>{\n const elements = buildExpression(group.body, options, false);\n const classes = [\n \"enclosing\"\n ];\n if (group.attributes.class) classes.push(...group.attributes.class.trim().split(/\\s+/));\n const span = buildCommon.makeSpan(classes, elements, options);\n for(const attr in group.attributes)if (attr !== \"class\" && group.attributes.hasOwnProperty(attr)) span.setAttribute(attr, group.attributes[attr]);\n return span;\n },\n mathmlBuilder: (group, options)=>{\n return buildExpressionRow(group.body, options);\n }\n });\n defineFunction({\n type: \"htmlmathml\",\n names: [\n \"\\\\html@mathml\"\n ],\n props: {\n numArgs: 2,\n allowedInText: true\n },\n handler: (_ref, args)=>{\n let { parser: parser } = _ref;\n return {\n type: \"htmlmathml\",\n mode: parser.mode,\n html: ordargument(args[0]),\n mathml: ordargument(args[1])\n };\n },\n htmlBuilder: (group, options)=>{\n const elements = buildExpression(group.html, options, false);\n return buildCommon.makeFragment(elements);\n },\n mathmlBuilder: (group, options)=>{\n return buildExpressionRow(group.mathml, options);\n }\n });\n const sizeData = function(str) {\n if (/^[-+]? *(\\d+(\\.\\d*)?|\\.\\d+)$/.test(str)) // str is a number with no unit specified.\n // default unit is bp, per graphix package.\n return {\n number: +str,\n unit: \"bp\"\n };\n else {\n const match = /([-+]?) *(\\d+(?:\\.\\d*)?|\\.\\d+) *([a-z]{2})/.exec(str);\n if (!match) throw new src_ParseError(\"Invalid size: '\" + str + \"' in \\\\includegraphics\");\n const data = {\n number: +(match[1] + match[2]),\n // sign + magnitude, cast to number\n unit: match[3]\n };\n if (!validUnit(data)) throw new src_ParseError(\"Invalid unit: '\" + data.unit + \"' in \\\\includegraphics.\");\n return data;\n }\n };\n defineFunction({\n type: \"includegraphics\",\n names: [\n \"\\\\includegraphics\"\n ],\n props: {\n numArgs: 1,\n numOptionalArgs: 1,\n argTypes: [\n \"raw\",\n \"url\"\n ],\n allowedInText: false\n },\n handler: (_ref, args, optArgs)=>{\n let { parser: parser } = _ref;\n let width = {\n number: 0,\n unit: \"em\"\n };\n let height = {\n number: 0.9,\n unit: \"em\"\n }; // sorta character sized.\n let totalheight = {\n number: 0,\n unit: \"em\"\n };\n let alt = \"\";\n if (optArgs[0]) {\n const attributeStr = assertNodeType(optArgs[0], \"raw\").string; // Parser.js does not parse key/value pairs. We get a string.\n const attributes = attributeStr.split(\",\");\n for(let i = 0; i < attributes.length; i++){\n const keyVal = attributes[i].split(\"=\");\n if (keyVal.length === 2) {\n const str = keyVal[1].trim();\n switch(keyVal[0].trim()){\n case \"alt\":\n alt = str;\n break;\n case \"width\":\n width = sizeData(str);\n break;\n case \"height\":\n height = sizeData(str);\n break;\n case \"totalheight\":\n totalheight = sizeData(str);\n break;\n default:\n throw new src_ParseError(\"Invalid key: '\" + keyVal[0] + \"' in \\\\includegraphics.\");\n }\n }\n }\n }\n const src = assertNodeType(args[0], \"url\").url;\n if (alt === \"\") {\n // No alt given. Use the file name. Strip away the path.\n alt = src;\n alt = alt.replace(/^.*[\\\\/]/, \"\");\n alt = alt.substring(0, alt.lastIndexOf(\".\"));\n }\n if (!parser.settings.isTrusted({\n command: \"\\\\includegraphics\",\n url: src\n })) return parser.formatUnsupportedCmd(\"\\\\includegraphics\");\n return {\n type: \"includegraphics\",\n mode: parser.mode,\n alt: alt,\n width: width,\n height: height,\n totalheight: totalheight,\n src: src\n };\n },\n htmlBuilder: (group, options)=>{\n const height = calculateSize(group.height, options);\n let depth = 0;\n if (group.totalheight.number > 0) depth = calculateSize(group.totalheight, options) - height;\n let width = 0;\n if (group.width.number > 0) width = calculateSize(group.width, options);\n const style = {\n height: makeEm(height + depth)\n };\n if (width > 0) style.width = makeEm(width);\n if (depth > 0) style.verticalAlign = makeEm(-depth);\n const node = new Img(group.src, group.alt, style);\n node.height = height;\n node.depth = depth;\n return node;\n },\n mathmlBuilder: (group, options)=>{\n const node = new mathMLTree.MathNode(\"mglyph\", []);\n node.setAttribute(\"alt\", group.alt);\n const height = calculateSize(group.height, options);\n let depth = 0;\n if (group.totalheight.number > 0) {\n depth = calculateSize(group.totalheight, options) - height;\n node.setAttribute(\"valign\", makeEm(-depth));\n }\n node.setAttribute(\"height\", makeEm(height + depth));\n if (group.width.number > 0) {\n const width = calculateSize(group.width, options);\n node.setAttribute(\"width\", makeEm(width));\n }\n node.setAttribute(\"src\", group.src);\n return node;\n }\n });\n // Horizontal spacing commands\n // TODO: \\hskip and \\mskip should support plus and minus in lengths\n defineFunction({\n type: \"kern\",\n names: [\n \"\\\\kern\",\n \"\\\\mkern\",\n \"\\\\hskip\",\n \"\\\\mskip\"\n ],\n props: {\n numArgs: 1,\n argTypes: [\n \"size\"\n ],\n primitive: true,\n allowedInText: true\n },\n handler (_ref, args) {\n let { parser: parser, funcName: funcName } = _ref;\n const size = assertNodeType(args[0], \"size\");\n if (parser.settings.strict) {\n const mathFunction = funcName[1] === \"m\"; // \\mkern, \\mskip\n const muUnit = size.value.unit === \"mu\";\n if (mathFunction) {\n if (!muUnit) parser.settings.reportNonstrict(\"mathVsTextUnits\", \"LaTeX's \" + funcName + \" supports only mu units, \" + (\"not \" + size.value.unit + \" units\"));\n if (parser.mode !== \"math\") parser.settings.reportNonstrict(\"mathVsTextUnits\", \"LaTeX's \" + funcName + \" works only in math mode\");\n } else // !mathFunction\n if (muUnit) parser.settings.reportNonstrict(\"mathVsTextUnits\", \"LaTeX's \" + funcName + \" doesn't support mu units\");\n }\n return {\n type: \"kern\",\n mode: parser.mode,\n dimension: size.value\n };\n },\n htmlBuilder (group, options) {\n return buildCommon.makeGlue(group.dimension, options);\n },\n mathmlBuilder (group, options) {\n const dimension = calculateSize(group.dimension, options);\n return new mathMLTree.SpaceNode(dimension);\n }\n });\n // Horizontal overlap functions\n defineFunction({\n type: \"lap\",\n names: [\n \"\\\\mathllap\",\n \"\\\\mathrlap\",\n \"\\\\mathclap\"\n ],\n props: {\n numArgs: 1,\n allowedInText: true\n },\n handler: (_ref, args)=>{\n let { parser: parser, funcName: funcName } = _ref;\n const body = args[0];\n return {\n type: \"lap\",\n mode: parser.mode,\n alignment: funcName.slice(5),\n body: body\n };\n },\n htmlBuilder: (group, options)=>{\n // mathllap, mathrlap, mathclap\n let inner;\n if (group.alignment === \"clap\") {\n // ref: https://www.math.lsu.edu/~aperlis/publications/mathclap/\n inner = buildCommon.makeSpan([], [\n buildGroup(group.body, options)\n ]); // wrap, since CSS will center a .clap > .inner > span\n inner = buildCommon.makeSpan([\n \"inner\"\n ], [\n inner\n ], options);\n } else inner = buildCommon.makeSpan([\n \"inner\"\n ], [\n buildGroup(group.body, options)\n ]);\n const fix = buildCommon.makeSpan([\n \"fix\"\n ], []);\n let node = buildCommon.makeSpan([\n group.alignment\n ], [\n inner,\n fix\n ], options); // At this point, we have correctly set horizontal alignment of the\n // two items involved in the lap.\n // Next, use a strut to set the height of the HTML bounding box.\n // Otherwise, a tall argument may be misplaced.\n // This code resolved issue #1153\n const strut = buildCommon.makeSpan([\n \"strut\"\n ]);\n strut.style.height = makeEm(node.height + node.depth);\n if (node.depth) strut.style.verticalAlign = makeEm(-node.depth);\n node.children.unshift(strut); // Next, prevent vertical misplacement when next to something tall.\n // This code resolves issue #1234\n node = buildCommon.makeSpan([\n \"thinbox\"\n ], [\n node\n ], options);\n return buildCommon.makeSpan([\n \"mord\",\n \"vbox\"\n ], [\n node\n ], options);\n },\n mathmlBuilder: (group, options)=>{\n // mathllap, mathrlap, mathclap\n const node = new mathMLTree.MathNode(\"mpadded\", [\n buildMathML_buildGroup(group.body, options)\n ]);\n if (group.alignment !== \"rlap\") {\n const offset = group.alignment === \"llap\" ? \"-1\" : \"-0.5\";\n node.setAttribute(\"lspace\", offset + \"width\");\n }\n node.setAttribute(\"width\", \"0px\");\n return node;\n }\n });\n // Switching from text mode back to math mode\n defineFunction({\n type: \"styling\",\n names: [\n \"\\\\(\",\n \"$\"\n ],\n props: {\n numArgs: 0,\n allowedInText: true,\n allowedInMath: false\n },\n handler (_ref, args) {\n let { funcName: funcName, parser: parser } = _ref;\n const outerMode = parser.mode;\n parser.switchMode(\"math\");\n const close = funcName === \"\\\\(\" ? \"\\\\)\" : \"$\";\n const body = parser.parseExpression(false, close);\n parser.expect(close);\n parser.switchMode(outerMode);\n return {\n type: \"styling\",\n mode: parser.mode,\n style: \"text\",\n body: body\n };\n }\n }); // Check for extra closing math delimiters\n defineFunction({\n type: \"text\",\n // Doesn't matter what this is.\n names: [\n \"\\\\)\",\n \"\\\\]\"\n ],\n props: {\n numArgs: 0,\n allowedInText: true,\n allowedInMath: false\n },\n handler (context, args) {\n throw new src_ParseError(\"Mismatched \" + context.funcName);\n }\n });\n const chooseMathStyle = (group, options)=>{\n switch(options.style.size){\n case src_Style.DISPLAY.size:\n return group.display;\n case src_Style.TEXT.size:\n return group.text;\n case src_Style.SCRIPT.size:\n return group.script;\n case src_Style.SCRIPTSCRIPT.size:\n return group.scriptscript;\n default:\n return group.text;\n }\n };\n defineFunction({\n type: \"mathchoice\",\n names: [\n \"\\\\mathchoice\"\n ],\n props: {\n numArgs: 4,\n primitive: true\n },\n handler: (_ref, args)=>{\n let { parser: parser } = _ref;\n return {\n type: \"mathchoice\",\n mode: parser.mode,\n display: ordargument(args[0]),\n text: ordargument(args[1]),\n script: ordargument(args[2]),\n scriptscript: ordargument(args[3])\n };\n },\n htmlBuilder: (group, options)=>{\n const body = chooseMathStyle(group, options);\n const elements = buildExpression(body, options, false);\n return buildCommon.makeFragment(elements);\n },\n mathmlBuilder: (group, options)=>{\n const body = chooseMathStyle(group, options);\n return buildExpressionRow(body, options);\n }\n });\n // For an operator with limits, assemble the base, sup, and sub into a span.\n const assembleSupSub = (base, supGroup, subGroup, options, style, slant, baseShift)=>{\n base = buildCommon.makeSpan([], [\n base\n ]);\n const subIsSingleCharacter = subGroup && utils.isCharacterBox(subGroup);\n let sub;\n let sup; // We manually have to handle the superscripts and subscripts. This,\n // aside from the kern calculations, is copied from supsub.\n if (supGroup) {\n const elem = buildGroup(supGroup, options.havingStyle(style.sup()), options);\n sup = {\n elem: elem,\n kern: Math.max(options.fontMetrics().bigOpSpacing1, options.fontMetrics().bigOpSpacing3 - elem.depth)\n };\n }\n if (subGroup) {\n const elem = buildGroup(subGroup, options.havingStyle(style.sub()), options);\n sub = {\n elem: elem,\n kern: Math.max(options.fontMetrics().bigOpSpacing2, options.fontMetrics().bigOpSpacing4 - elem.height)\n };\n } // Build the final group as a vlist of the possible subscript, base,\n // and possible superscript.\n let finalGroup;\n if (sup && sub) {\n const bottom = options.fontMetrics().bigOpSpacing5 + sub.elem.height + sub.elem.depth + sub.kern + base.depth + baseShift;\n finalGroup = buildCommon.makeVList({\n positionType: \"bottom\",\n positionData: bottom,\n children: [\n {\n type: \"kern\",\n size: options.fontMetrics().bigOpSpacing5\n },\n {\n type: \"elem\",\n elem: sub.elem,\n marginLeft: makeEm(-slant)\n },\n {\n type: \"kern\",\n size: sub.kern\n },\n {\n type: \"elem\",\n elem: base\n },\n {\n type: \"kern\",\n size: sup.kern\n },\n {\n type: \"elem\",\n elem: sup.elem,\n marginLeft: makeEm(slant)\n },\n {\n type: \"kern\",\n size: options.fontMetrics().bigOpSpacing5\n }\n ]\n }, options);\n } else if (sub) {\n const top = base.height - baseShift; // Shift the limits by the slant of the symbol. Note\n // that we are supposed to shift the limits by 1/2 of the slant,\n // but since we are centering the limits adding a full slant of\n // margin will shift by 1/2 that.\n finalGroup = buildCommon.makeVList({\n positionType: \"top\",\n positionData: top,\n children: [\n {\n type: \"kern\",\n size: options.fontMetrics().bigOpSpacing5\n },\n {\n type: \"elem\",\n elem: sub.elem,\n marginLeft: makeEm(-slant)\n },\n {\n type: \"kern\",\n size: sub.kern\n },\n {\n type: \"elem\",\n elem: base\n }\n ]\n }, options);\n } else if (sup) {\n const bottom = base.depth + baseShift;\n finalGroup = buildCommon.makeVList({\n positionType: \"bottom\",\n positionData: bottom,\n children: [\n {\n type: \"elem\",\n elem: base\n },\n {\n type: \"kern\",\n size: sup.kern\n },\n {\n type: \"elem\",\n elem: sup.elem,\n marginLeft: makeEm(slant)\n },\n {\n type: \"kern\",\n size: options.fontMetrics().bigOpSpacing5\n }\n ]\n }, options);\n } else // This case probably shouldn't occur (this would mean the\n // supsub was sending us a group with no superscript or\n // subscript) but be safe.\n return base;\n const parts = [\n finalGroup\n ];\n if (sub && slant !== 0 && !subIsSingleCharacter) {\n // A negative margin-left was applied to the lower limit.\n // Avoid an overlap by placing a spacer on the left on the group.\n const spacer = buildCommon.makeSpan([\n \"mspace\"\n ], [], options);\n spacer.style.marginRight = makeEm(slant);\n parts.unshift(spacer);\n }\n return buildCommon.makeSpan([\n \"mop\",\n \"op-limits\"\n ], parts, options);\n };\n // Limits, symbols\n // Most operators have a large successor symbol, but these don't.\n const noSuccessor = [\n \"\\\\smallint\"\n ]; // NOTE: Unlike most `htmlBuilder`s, this one handles not only \"op\", but also\n // \"supsub\" since some of them (like \\int) can affect super/subscripting.\n const op_htmlBuilder = (grp, options)=>{\n // Operators are handled in the TeXbook pg. 443-444, rule 13(a).\n let supGroup;\n let subGroup;\n let hasLimits = false;\n let group;\n if (grp.type === \"supsub\") {\n // If we have limits, supsub will pass us its group to handle. Pull\n // out the superscript and subscript and set the group to the op in\n // its base.\n supGroup = grp.sup;\n subGroup = grp.sub;\n group = assertNodeType(grp.base, \"op\");\n hasLimits = true;\n } else group = assertNodeType(grp, \"op\");\n const style = options.style;\n let large = false;\n if (style.size === src_Style.DISPLAY.size && group.symbol && !utils.contains(noSuccessor, group.name)) // Most symbol operators get larger in displaystyle (rule 13)\n large = true;\n let base;\n if (group.symbol) {\n // If this is a symbol, create the symbol.\n const fontName = large ? \"Size2-Regular\" : \"Size1-Regular\";\n let stash = \"\";\n if (group.name === \"\\\\oiint\" || group.name === \"\\\\oiiint\") {\n // No font glyphs yet, so use a glyph w/o the oval.\n // TODO: When font glyphs are available, delete this code.\n stash = group.name.slice(1);\n group.name = stash === \"oiint\" ? \"\\\\iint\" : \"\\\\iiint\";\n }\n base = buildCommon.makeSymbol(group.name, fontName, \"math\", options, [\n \"mop\",\n \"op-symbol\",\n large ? \"large-op\" : \"small-op\"\n ]);\n if (stash.length > 0) {\n // We're in \\oiint or \\oiiint. Overlay the oval.\n // TODO: When font glyphs are available, delete this code.\n const italic = base.italic;\n const oval = buildCommon.staticSvg(stash + \"Size\" + (large ? \"2\" : \"1\"), options);\n base = buildCommon.makeVList({\n positionType: \"individualShift\",\n children: [\n {\n type: \"elem\",\n elem: base,\n shift: 0\n },\n {\n type: \"elem\",\n elem: oval,\n shift: large ? 0.08 : 0\n }\n ]\n }, options);\n group.name = \"\\\\\" + stash;\n base.classes.unshift(\"mop\"); // $FlowFixMe\n base.italic = italic;\n }\n } else if (group.body) {\n // If this is a list, compose that list.\n const inner = buildExpression(group.body, options, true);\n if (inner.length === 1 && inner[0] instanceof SymbolNode) {\n base = inner[0];\n base.classes[0] = \"mop\"; // replace old mclass\n } else base = buildCommon.makeSpan([\n \"mop\"\n ], inner, options);\n } else {\n // Otherwise, this is a text operator. Build the text from the\n // operator's name.\n const output = [];\n for(let i = 1; i < group.name.length; i++)output.push(buildCommon.mathsym(group.name[i], group.mode, options));\n base = buildCommon.makeSpan([\n \"mop\"\n ], output, options);\n } // If content of op is a single symbol, shift it vertically.\n let baseShift = 0;\n let slant = 0;\n if ((base instanceof SymbolNode || group.name === \"\\\\oiint\" || group.name === \"\\\\oiiint\") && !group.suppressBaseShift) {\n // We suppress the shift of the base of \\overset and \\underset. Otherwise,\n // shift the symbol so its center lies on the axis (rule 13). It\n // appears that our fonts have the centers of the symbols already\n // almost on the axis, so these numbers are very small. Note we\n // don't actually apply this here, but instead it is used either in\n // the vlist creation or separately when there are no limits.\n baseShift = (base.height - base.depth) / 2 - options.fontMetrics().axisHeight; // The slant of the symbol is just its italic correction.\n // $FlowFixMe\n slant = base.italic;\n }\n if (hasLimits) return assembleSupSub(base, supGroup, subGroup, options, style, slant, baseShift);\n else {\n if (baseShift) {\n base.style.position = \"relative\";\n base.style.top = makeEm(baseShift);\n }\n return base;\n }\n };\n const op_mathmlBuilder = (group, options)=>{\n let node;\n if (group.symbol) {\n // This is a symbol. Just add the symbol.\n node = new MathNode(\"mo\", [\n makeText(group.name, group.mode)\n ]);\n if (utils.contains(noSuccessor, group.name)) node.setAttribute(\"largeop\", \"false\");\n } else if (group.body) // This is an operator with children. Add them.\n node = new MathNode(\"mo\", buildMathML_buildExpression(group.body, options));\n else {\n // This is a text operator. Add all of the characters from the\n // operator's name.\n node = new MathNode(\"mi\", [\n new TextNode(group.name.slice(1))\n ]); // Append an ⁡ .\n // ref: https://www.w3.org/TR/REC-MathML/chap3_2.html#sec3.2.4\n const operator = new MathNode(\"mo\", [\n makeText(\"\\u2061\", \"text\")\n ]);\n if (group.parentIsSupSub) node = new MathNode(\"mrow\", [\n node,\n operator\n ]);\n else node = newDocumentFragment([\n node,\n operator\n ]);\n }\n return node;\n };\n const singleCharBigOps = {\n \"\\u220F\": \"\\\\prod\",\n \"\\u2210\": \"\\\\coprod\",\n \"\\u2211\": \"\\\\sum\",\n \"\\u22C0\": \"\\\\bigwedge\",\n \"\\u22C1\": \"\\\\bigvee\",\n \"\\u22C2\": \"\\\\bigcap\",\n \"\\u22C3\": \"\\\\bigcup\",\n \"\\u2A00\": \"\\\\bigodot\",\n \"\\u2A01\": \"\\\\bigoplus\",\n \"\\u2A02\": \"\\\\bigotimes\",\n \"\\u2A04\": \"\\\\biguplus\",\n \"\\u2A06\": \"\\\\bigsqcup\"\n };\n defineFunction({\n type: \"op\",\n names: [\n \"\\\\coprod\",\n \"\\\\bigvee\",\n \"\\\\bigwedge\",\n \"\\\\biguplus\",\n \"\\\\bigcap\",\n \"\\\\bigcup\",\n \"\\\\intop\",\n \"\\\\prod\",\n \"\\\\sum\",\n \"\\\\bigotimes\",\n \"\\\\bigoplus\",\n \"\\\\bigodot\",\n \"\\\\bigsqcup\",\n \"\\\\smallint\",\n \"\\u220F\",\n \"\\u2210\",\n \"\\u2211\",\n \"\\u22C0\",\n \"\\u22C1\",\n \"\\u22C2\",\n \"\\u22C3\",\n \"\\u2A00\",\n \"\\u2A01\",\n \"\\u2A02\",\n \"\\u2A04\",\n \"\\u2A06\"\n ],\n props: {\n numArgs: 0\n },\n handler: (_ref, args)=>{\n let { parser: parser, funcName: funcName } = _ref;\n let fName = funcName;\n if (fName.length === 1) fName = singleCharBigOps[fName];\n return {\n type: \"op\",\n mode: parser.mode,\n limits: true,\n parentIsSupSub: false,\n symbol: true,\n name: fName\n };\n },\n htmlBuilder: op_htmlBuilder,\n mathmlBuilder: op_mathmlBuilder\n }); // Note: calling defineFunction with a type that's already been defined only\n // works because the same htmlBuilder and mathmlBuilder are being used.\n defineFunction({\n type: \"op\",\n names: [\n \"\\\\mathop\"\n ],\n props: {\n numArgs: 1,\n primitive: true\n },\n handler: (_ref2, args)=>{\n let { parser: parser } = _ref2;\n const body = args[0];\n return {\n type: \"op\",\n mode: parser.mode,\n limits: false,\n parentIsSupSub: false,\n symbol: false,\n body: ordargument(body)\n };\n },\n htmlBuilder: op_htmlBuilder,\n mathmlBuilder: op_mathmlBuilder\n }); // There are 2 flags for operators; whether they produce limits in\n // displaystyle, and whether they are symbols and should grow in\n // displaystyle. These four groups cover the four possible choices.\n const singleCharIntegrals = {\n \"\\u222B\": \"\\\\int\",\n \"\\u222C\": \"\\\\iint\",\n \"\\u222D\": \"\\\\iiint\",\n \"\\u222E\": \"\\\\oint\",\n \"\\u222F\": \"\\\\oiint\",\n \"\\u2230\": \"\\\\oiiint\"\n }; // No limits, not symbols\n defineFunction({\n type: \"op\",\n names: [\n \"\\\\arcsin\",\n \"\\\\arccos\",\n \"\\\\arctan\",\n \"\\\\arctg\",\n \"\\\\arcctg\",\n \"\\\\arg\",\n \"\\\\ch\",\n \"\\\\cos\",\n \"\\\\cosec\",\n \"\\\\cosh\",\n \"\\\\cot\",\n \"\\\\cotg\",\n \"\\\\coth\",\n \"\\\\csc\",\n \"\\\\ctg\",\n \"\\\\cth\",\n \"\\\\deg\",\n \"\\\\dim\",\n \"\\\\exp\",\n \"\\\\hom\",\n \"\\\\ker\",\n \"\\\\lg\",\n \"\\\\ln\",\n \"\\\\log\",\n \"\\\\sec\",\n \"\\\\sin\",\n \"\\\\sinh\",\n \"\\\\sh\",\n \"\\\\tan\",\n \"\\\\tanh\",\n \"\\\\tg\",\n \"\\\\th\"\n ],\n props: {\n numArgs: 0\n },\n handler (_ref3) {\n let { parser: parser, funcName: funcName } = _ref3;\n return {\n type: \"op\",\n mode: parser.mode,\n limits: false,\n parentIsSupSub: false,\n symbol: false,\n name: funcName\n };\n },\n htmlBuilder: op_htmlBuilder,\n mathmlBuilder: op_mathmlBuilder\n }); // Limits, not symbols\n defineFunction({\n type: \"op\",\n names: [\n \"\\\\det\",\n \"\\\\gcd\",\n \"\\\\inf\",\n \"\\\\lim\",\n \"\\\\max\",\n \"\\\\min\",\n \"\\\\Pr\",\n \"\\\\sup\"\n ],\n props: {\n numArgs: 0\n },\n handler (_ref4) {\n let { parser: parser, funcName: funcName } = _ref4;\n return {\n type: \"op\",\n mode: parser.mode,\n limits: true,\n parentIsSupSub: false,\n symbol: false,\n name: funcName\n };\n },\n htmlBuilder: op_htmlBuilder,\n mathmlBuilder: op_mathmlBuilder\n }); // No limits, symbols\n defineFunction({\n type: \"op\",\n names: [\n \"\\\\int\",\n \"\\\\iint\",\n \"\\\\iiint\",\n \"\\\\oint\",\n \"\\\\oiint\",\n \"\\\\oiiint\",\n \"\\u222B\",\n \"\\u222C\",\n \"\\u222D\",\n \"\\u222E\",\n \"\\u222F\",\n \"\\u2230\"\n ],\n props: {\n numArgs: 0\n },\n handler (_ref5) {\n let { parser: parser, funcName: funcName } = _ref5;\n let fName = funcName;\n if (fName.length === 1) fName = singleCharIntegrals[fName];\n return {\n type: \"op\",\n mode: parser.mode,\n limits: false,\n parentIsSupSub: false,\n symbol: true,\n name: fName\n };\n },\n htmlBuilder: op_htmlBuilder,\n mathmlBuilder: op_mathmlBuilder\n });\n // NOTE: Unlike most `htmlBuilder`s, this one handles not only\n // \"operatorname\", but also \"supsub\" since \\operatorname* can\n // affect super/subscripting.\n const operatorname_htmlBuilder = (grp, options)=>{\n // Operators are handled in the TeXbook pg. 443-444, rule 13(a).\n let supGroup;\n let subGroup;\n let hasLimits = false;\n let group;\n if (grp.type === \"supsub\") {\n // If we have limits, supsub will pass us its group to handle. Pull\n // out the superscript and subscript and set the group to the op in\n // its base.\n supGroup = grp.sup;\n subGroup = grp.sub;\n group = assertNodeType(grp.base, \"operatorname\");\n hasLimits = true;\n } else group = assertNodeType(grp, \"operatorname\");\n let base;\n if (group.body.length > 0) {\n const body = group.body.map((child)=>{\n // $FlowFixMe: Check if the node has a string `text` property.\n const childText = child.text;\n if (typeof childText === \"string\") return {\n type: \"textord\",\n mode: child.mode,\n text: childText\n };\n else return child;\n }); // Consolidate function names into symbol characters.\n const expression = buildExpression(body, options.withFont(\"mathrm\"), true);\n for(let i = 0; i < expression.length; i++){\n const child = expression[i];\n if (child instanceof SymbolNode) // Per amsopn package,\n // change minus to hyphen and \\ast to asterisk\n child.text = child.text.replace(/\\u2212/, \"-\").replace(/\\u2217/, \"*\");\n }\n base = buildCommon.makeSpan([\n \"mop\"\n ], expression, options);\n } else base = buildCommon.makeSpan([\n \"mop\"\n ], [], options);\n if (hasLimits) return assembleSupSub(base, supGroup, subGroup, options, options.style, 0, 0);\n else return base;\n };\n const operatorname_mathmlBuilder = (group, options)=>{\n // The steps taken here are similar to the html version.\n let expression = buildMathML_buildExpression(group.body, options.withFont(\"mathrm\")); // Is expression a string or has it something like a fraction?\n let isAllString = true; // default\n for(let i = 0; i < expression.length; i++){\n const node = expression[i];\n if (node instanceof mathMLTree.SpaceNode) ;\n else if (node instanceof mathMLTree.MathNode) switch(node.type){\n case \"mi\":\n case \"mn\":\n case \"ms\":\n case \"mspace\":\n case \"mtext\":\n break;\n // Do nothing yet.\n case \"mo\":\n {\n const child = node.children[0];\n if (node.children.length === 1 && child instanceof mathMLTree.TextNode) child.text = child.text.replace(/\\u2212/, \"-\").replace(/\\u2217/, \"*\");\n else isAllString = false;\n break;\n }\n default:\n isAllString = false;\n }\n else isAllString = false;\n }\n if (isAllString) {\n // Write a single TextNode instead of multiple nested tags.\n const word = expression.map((node)=>node.toText()).join(\"\");\n expression = [\n new mathMLTree.TextNode(word)\n ];\n }\n const identifier = new mathMLTree.MathNode(\"mi\", expression);\n identifier.setAttribute(\"mathvariant\", \"normal\"); // \\u2061 is the same as ⁡\n // ref: https://www.w3schools.com/charsets/ref_html_entities_a.asp\n const operator = new mathMLTree.MathNode(\"mo\", [\n makeText(\"\\u2061\", \"text\")\n ]);\n if (group.parentIsSupSub) return new mathMLTree.MathNode(\"mrow\", [\n identifier,\n operator\n ]);\n else return mathMLTree.newDocumentFragment([\n identifier,\n operator\n ]);\n }; // \\operatorname\n // amsopn.dtx: \\mathop{#1\\kern\\z@\\operator@font#3}\\newmcodes@\n defineFunction({\n type: \"operatorname\",\n names: [\n \"\\\\operatorname@\",\n \"\\\\operatornamewithlimits\"\n ],\n props: {\n numArgs: 1\n },\n handler: (_ref, args)=>{\n let { parser: parser, funcName: funcName } = _ref;\n const body = args[0];\n return {\n type: \"operatorname\",\n mode: parser.mode,\n body: ordargument(body),\n alwaysHandleSupSub: funcName === \"\\\\operatornamewithlimits\",\n limits: false,\n parentIsSupSub: false\n };\n },\n htmlBuilder: operatorname_htmlBuilder,\n mathmlBuilder: operatorname_mathmlBuilder\n });\n defineMacro(\"\\\\operatorname\", \"\\\\@ifstar\\\\operatornamewithlimits\\\\operatorname@\");\n defineFunctionBuilders({\n type: \"ordgroup\",\n htmlBuilder (group, options) {\n if (group.semisimple) return buildCommon.makeFragment(buildExpression(group.body, options, false));\n return buildCommon.makeSpan([\n \"mord\"\n ], buildExpression(group.body, options, true), options);\n },\n mathmlBuilder (group, options) {\n return buildExpressionRow(group.body, options, true);\n }\n });\n defineFunction({\n type: \"overline\",\n names: [\n \"\\\\overline\"\n ],\n props: {\n numArgs: 1\n },\n handler (_ref, args) {\n let { parser: parser } = _ref;\n const body = args[0];\n return {\n type: \"overline\",\n mode: parser.mode,\n body: body\n };\n },\n htmlBuilder (group, options) {\n // Overlines are handled in the TeXbook pg 443, Rule 9.\n // Build the inner group in the cramped style.\n const innerGroup = buildGroup(group.body, options.havingCrampedStyle()); // Create the line above the body\n const line = buildCommon.makeLineSpan(\"overline-line\", options); // Generate the vlist, with the appropriate kerns\n const defaultRuleThickness = options.fontMetrics().defaultRuleThickness;\n const vlist = buildCommon.makeVList({\n positionType: \"firstBaseline\",\n children: [\n {\n type: \"elem\",\n elem: innerGroup\n },\n {\n type: \"kern\",\n size: 3 * defaultRuleThickness\n },\n {\n type: \"elem\",\n elem: line\n },\n {\n type: \"kern\",\n size: defaultRuleThickness\n }\n ]\n }, options);\n return buildCommon.makeSpan([\n \"mord\",\n \"overline\"\n ], [\n vlist\n ], options);\n },\n mathmlBuilder (group, options) {\n const operator = new mathMLTree.MathNode(\"mo\", [\n new mathMLTree.TextNode(\"\\u203E\")\n ]);\n operator.setAttribute(\"stretchy\", \"true\");\n const node = new mathMLTree.MathNode(\"mover\", [\n buildMathML_buildGroup(group.body, options),\n operator\n ]);\n node.setAttribute(\"accent\", \"true\");\n return node;\n }\n });\n defineFunction({\n type: \"phantom\",\n names: [\n \"\\\\phantom\"\n ],\n props: {\n numArgs: 1,\n allowedInText: true\n },\n handler: (_ref, args)=>{\n let { parser: parser } = _ref;\n const body = args[0];\n return {\n type: \"phantom\",\n mode: parser.mode,\n body: ordargument(body)\n };\n },\n htmlBuilder: (group, options)=>{\n const elements = buildExpression(group.body, options.withPhantom(), false); // \\phantom isn't supposed to affect the elements it contains.\n // See \"color\" for more details.\n return buildCommon.makeFragment(elements);\n },\n mathmlBuilder: (group, options)=>{\n const inner = buildMathML_buildExpression(group.body, options);\n return new mathMLTree.MathNode(\"mphantom\", inner);\n }\n });\n defineFunction({\n type: \"hphantom\",\n names: [\n \"\\\\hphantom\"\n ],\n props: {\n numArgs: 1,\n allowedInText: true\n },\n handler: (_ref2, args)=>{\n let { parser: parser } = _ref2;\n const body = args[0];\n return {\n type: \"hphantom\",\n mode: parser.mode,\n body: body\n };\n },\n htmlBuilder: (group, options)=>{\n let node = buildCommon.makeSpan([], [\n buildGroup(group.body, options.withPhantom())\n ]);\n node.height = 0;\n node.depth = 0;\n if (node.children) for(let i = 0; i < node.children.length; i++){\n node.children[i].height = 0;\n node.children[i].depth = 0;\n }\n // See smash for comment re: use of makeVList\n node = buildCommon.makeVList({\n positionType: \"firstBaseline\",\n children: [\n {\n type: \"elem\",\n elem: node\n }\n ]\n }, options); // For spacing, TeX treats \\smash as a math group (same spacing as ord).\n return buildCommon.makeSpan([\n \"mord\"\n ], [\n node\n ], options);\n },\n mathmlBuilder: (group, options)=>{\n const inner = buildMathML_buildExpression(ordargument(group.body), options);\n const phantom = new mathMLTree.MathNode(\"mphantom\", inner);\n const node = new mathMLTree.MathNode(\"mpadded\", [\n phantom\n ]);\n node.setAttribute(\"height\", \"0px\");\n node.setAttribute(\"depth\", \"0px\");\n return node;\n }\n });\n defineFunction({\n type: \"vphantom\",\n names: [\n \"\\\\vphantom\"\n ],\n props: {\n numArgs: 1,\n allowedInText: true\n },\n handler: (_ref3, args)=>{\n let { parser: parser } = _ref3;\n const body = args[0];\n return {\n type: \"vphantom\",\n mode: parser.mode,\n body: body\n };\n },\n htmlBuilder: (group, options)=>{\n const inner = buildCommon.makeSpan([\n \"inner\"\n ], [\n buildGroup(group.body, options.withPhantom())\n ]);\n const fix = buildCommon.makeSpan([\n \"fix\"\n ], []);\n return buildCommon.makeSpan([\n \"mord\",\n \"rlap\"\n ], [\n inner,\n fix\n ], options);\n },\n mathmlBuilder: (group, options)=>{\n const inner = buildMathML_buildExpression(ordargument(group.body), options);\n const phantom = new mathMLTree.MathNode(\"mphantom\", inner);\n const node = new mathMLTree.MathNode(\"mpadded\", [\n phantom\n ]);\n node.setAttribute(\"width\", \"0px\");\n return node;\n }\n });\n // Box manipulation\n defineFunction({\n type: \"raisebox\",\n names: [\n \"\\\\raisebox\"\n ],\n props: {\n numArgs: 2,\n argTypes: [\n \"size\",\n \"hbox\"\n ],\n allowedInText: true\n },\n handler (_ref, args) {\n let { parser: parser } = _ref;\n const amount = assertNodeType(args[0], \"size\").value;\n const body = args[1];\n return {\n type: \"raisebox\",\n mode: parser.mode,\n dy: amount,\n body: body\n };\n },\n htmlBuilder (group, options) {\n const body = buildGroup(group.body, options);\n const dy = calculateSize(group.dy, options);\n return buildCommon.makeVList({\n positionType: \"shift\",\n positionData: -dy,\n children: [\n {\n type: \"elem\",\n elem: body\n }\n ]\n }, options);\n },\n mathmlBuilder (group, options) {\n const node = new mathMLTree.MathNode(\"mpadded\", [\n buildMathML_buildGroup(group.body, options)\n ]);\n const dy = group.dy.number + group.dy.unit;\n node.setAttribute(\"voffset\", dy);\n return node;\n }\n });\n defineFunction({\n type: \"internal\",\n names: [\n \"\\\\relax\"\n ],\n props: {\n numArgs: 0,\n allowedInText: true\n },\n handler (_ref) {\n let { parser: parser } = _ref;\n return {\n type: \"internal\",\n mode: parser.mode\n };\n }\n });\n defineFunction({\n type: \"rule\",\n names: [\n \"\\\\rule\"\n ],\n props: {\n numArgs: 2,\n numOptionalArgs: 1,\n argTypes: [\n \"size\",\n \"size\",\n \"size\"\n ]\n },\n handler (_ref, args, optArgs) {\n let { parser: parser } = _ref;\n const shift = optArgs[0];\n const width = assertNodeType(args[0], \"size\");\n const height = assertNodeType(args[1], \"size\");\n return {\n type: \"rule\",\n mode: parser.mode,\n shift: shift && assertNodeType(shift, \"size\").value,\n width: width.value,\n height: height.value\n };\n },\n htmlBuilder (group, options) {\n // Make an empty span for the rule\n const rule = buildCommon.makeSpan([\n \"mord\",\n \"rule\"\n ], [], options); // Calculate the shift, width, and height of the rule, and account for units\n const width = calculateSize(group.width, options);\n const height = calculateSize(group.height, options);\n const shift = group.shift ? calculateSize(group.shift, options) : 0; // Style the rule to the right size\n rule.style.borderRightWidth = makeEm(width);\n rule.style.borderTopWidth = makeEm(height);\n rule.style.bottom = makeEm(shift); // Record the height and width\n rule.width = width;\n rule.height = height + shift;\n rule.depth = -shift; // Font size is the number large enough that the browser will\n // reserve at least `absHeight` space above the baseline.\n // The 1.125 factor was empirically determined\n rule.maxFontSize = height * 1.125 * options.sizeMultiplier;\n return rule;\n },\n mathmlBuilder (group, options) {\n const width = calculateSize(group.width, options);\n const height = calculateSize(group.height, options);\n const shift = group.shift ? calculateSize(group.shift, options) : 0;\n const color = options.color && options.getColor() || \"black\";\n const rule = new mathMLTree.MathNode(\"mspace\");\n rule.setAttribute(\"mathbackground\", color);\n rule.setAttribute(\"width\", makeEm(width));\n rule.setAttribute(\"height\", makeEm(height));\n const wrapper = new mathMLTree.MathNode(\"mpadded\", [\n rule\n ]);\n if (shift >= 0) wrapper.setAttribute(\"height\", makeEm(shift));\n else {\n wrapper.setAttribute(\"height\", makeEm(shift));\n wrapper.setAttribute(\"depth\", makeEm(-shift));\n }\n wrapper.setAttribute(\"voffset\", makeEm(shift));\n return wrapper;\n }\n });\n function sizingGroup(value, options, baseOptions) {\n const inner = buildExpression(value, options, false);\n const multiplier = options.sizeMultiplier / baseOptions.sizeMultiplier; // Add size-resetting classes to the inner list and set maxFontSize\n // manually. Handle nested size changes.\n for(let i = 0; i < inner.length; i++){\n const pos = inner[i].classes.indexOf(\"sizing\");\n if (pos < 0) Array.prototype.push.apply(inner[i].classes, options.sizingClasses(baseOptions));\n else if (inner[i].classes[pos + 1] === \"reset-size\" + options.size) // This is a nested size change: e.g., inner[i] is the \"b\" in\n // `\\Huge a \\small b`. Override the old size (the `reset-` class)\n // but not the new size.\n inner[i].classes[pos + 1] = \"reset-size\" + baseOptions.size;\n inner[i].height *= multiplier;\n inner[i].depth *= multiplier;\n }\n return buildCommon.makeFragment(inner);\n }\n const sizeFuncs = [\n \"\\\\tiny\",\n \"\\\\sixptsize\",\n \"\\\\scriptsize\",\n \"\\\\footnotesize\",\n \"\\\\small\",\n \"\\\\normalsize\",\n \"\\\\large\",\n \"\\\\Large\",\n \"\\\\LARGE\",\n \"\\\\huge\",\n \"\\\\Huge\"\n ];\n const sizing_htmlBuilder = (group, options)=>{\n // Handle sizing operators like \\Huge. Real TeX doesn't actually allow\n // these functions inside of math expressions, so we do some special\n // handling.\n const newOptions = options.havingSize(group.size);\n return sizingGroup(group.body, newOptions, options);\n };\n defineFunction({\n type: \"sizing\",\n names: sizeFuncs,\n props: {\n numArgs: 0,\n allowedInText: true\n },\n handler: (_ref, args)=>{\n let { breakOnTokenText: breakOnTokenText, funcName: funcName, parser: parser } = _ref;\n const body = parser.parseExpression(false, breakOnTokenText);\n return {\n type: \"sizing\",\n mode: parser.mode,\n // Figure out what size to use based on the list of functions above\n size: sizeFuncs.indexOf(funcName) + 1,\n body: body\n };\n },\n htmlBuilder: sizing_htmlBuilder,\n mathmlBuilder: (group, options)=>{\n const newOptions = options.havingSize(group.size);\n const inner = buildMathML_buildExpression(group.body, newOptions);\n const node = new mathMLTree.MathNode(\"mstyle\", inner); // TODO(emily): This doesn't produce the correct size for nested size\n // changes, because we don't keep state of what style we're currently\n // in, so we can't reset the size to normal before changing it. Now\n // that we're passing an options parameter we should be able to fix\n // this.\n node.setAttribute(\"mathsize\", makeEm(newOptions.sizeMultiplier));\n return node;\n }\n });\n // smash, with optional [tb], as in AMS\n defineFunction({\n type: \"smash\",\n names: [\n \"\\\\smash\"\n ],\n props: {\n numArgs: 1,\n numOptionalArgs: 1,\n allowedInText: true\n },\n handler: (_ref, args, optArgs)=>{\n let { parser: parser } = _ref;\n let smashHeight = false;\n let smashDepth = false;\n const tbArg = optArgs[0] && assertNodeType(optArgs[0], \"ordgroup\");\n if (tbArg) {\n // Optional [tb] argument is engaged.\n // ref: amsmath: \\renewcommand{\\smash}[1][tb]{%\n // def\\mb@t{\\ht}\\def\\mb@b{\\dp}\\def\\mb@tb{\\ht\\z@\\z@\\dp}%\n let letter = \"\";\n for(let i = 0; i < tbArg.body.length; ++i){\n const node = tbArg.body[i]; // $FlowFixMe: Not every node type has a `text` property.\n letter = node.text;\n if (letter === \"t\") smashHeight = true;\n else if (letter === \"b\") smashDepth = true;\n else {\n smashHeight = false;\n smashDepth = false;\n break;\n }\n }\n } else {\n smashHeight = true;\n smashDepth = true;\n }\n const body = args[0];\n return {\n type: \"smash\",\n mode: parser.mode,\n body: body,\n smashHeight: smashHeight,\n smashDepth: smashDepth\n };\n },\n htmlBuilder: (group, options)=>{\n const node = buildCommon.makeSpan([], [\n buildGroup(group.body, options)\n ]);\n if (!group.smashHeight && !group.smashDepth) return node;\n if (group.smashHeight) {\n node.height = 0; // In order to influence makeVList, we have to reset the children.\n if (node.children) for(let i = 0; i < node.children.length; i++)node.children[i].height = 0;\n }\n if (group.smashDepth) {\n node.depth = 0;\n if (node.children) for(let i = 0; i < node.children.length; i++)node.children[i].depth = 0;\n } // At this point, we've reset the TeX-like height and depth values.\n // But the span still has an HTML line height.\n // makeVList applies \"display: table-cell\", which prevents the browser\n // from acting on that line height. So we'll call makeVList now.\n const smashedNode = buildCommon.makeVList({\n positionType: \"firstBaseline\",\n children: [\n {\n type: \"elem\",\n elem: node\n }\n ]\n }, options); // For spacing, TeX treats \\hphantom as a math group (same spacing as ord).\n return buildCommon.makeSpan([\n \"mord\"\n ], [\n smashedNode\n ], options);\n },\n mathmlBuilder: (group, options)=>{\n const node = new mathMLTree.MathNode(\"mpadded\", [\n buildMathML_buildGroup(group.body, options)\n ]);\n if (group.smashHeight) node.setAttribute(\"height\", \"0px\");\n if (group.smashDepth) node.setAttribute(\"depth\", \"0px\");\n return node;\n }\n });\n defineFunction({\n type: \"sqrt\",\n names: [\n \"\\\\sqrt\"\n ],\n props: {\n numArgs: 1,\n numOptionalArgs: 1\n },\n handler (_ref, args, optArgs) {\n let { parser: parser } = _ref;\n const index = optArgs[0];\n const body = args[0];\n return {\n type: \"sqrt\",\n mode: parser.mode,\n body: body,\n index: index\n };\n },\n htmlBuilder (group, options) {\n // Square roots are handled in the TeXbook pg. 443, Rule 11.\n // First, we do the same steps as in overline to build the inner group\n // and line\n let inner = buildGroup(group.body, options.havingCrampedStyle());\n if (inner.height === 0) // Render a small surd.\n inner.height = options.fontMetrics().xHeight;\n // Some groups can return document fragments. Handle those by wrapping\n // them in a span.\n inner = buildCommon.wrapFragment(inner, options); // Calculate the minimum size for the \\surd delimiter\n const metrics = options.fontMetrics();\n const theta = metrics.defaultRuleThickness;\n let phi = theta;\n if (options.style.id < src_Style.TEXT.id) phi = options.fontMetrics().xHeight;\n // Calculate the clearance between the body and line\n let lineClearance = theta + phi / 4;\n const minDelimiterHeight = inner.height + inner.depth + lineClearance + theta; // Create a sqrt SVG of the required minimum size\n const { span: img, ruleWidth: ruleWidth, advanceWidth: advanceWidth } = delimiter.sqrtImage(minDelimiterHeight, options);\n const delimDepth = img.height - ruleWidth; // Adjust the clearance based on the delimiter size\n if (delimDepth > inner.height + inner.depth + lineClearance) lineClearance = (lineClearance + delimDepth - inner.height - inner.depth) / 2;\n // Shift the sqrt image\n const imgShift = img.height - inner.height - lineClearance - ruleWidth;\n inner.style.paddingLeft = makeEm(advanceWidth); // Overlay the image and the argument.\n const body = buildCommon.makeVList({\n positionType: \"firstBaseline\",\n children: [\n {\n type: \"elem\",\n elem: inner,\n wrapperClasses: [\n \"svg-align\"\n ]\n },\n {\n type: \"kern\",\n size: -(inner.height + imgShift)\n },\n {\n type: \"elem\",\n elem: img\n },\n {\n type: \"kern\",\n size: ruleWidth\n }\n ]\n }, options);\n if (!group.index) return buildCommon.makeSpan([\n \"mord\",\n \"sqrt\"\n ], [\n body\n ], options);\n else {\n // Handle the optional root index\n // The index is always in scriptscript style\n const newOptions = options.havingStyle(src_Style.SCRIPTSCRIPT);\n const rootm = buildGroup(group.index, newOptions, options); // The amount the index is shifted by. This is taken from the TeX\n // source, in the definition of `\\r@@t`.\n const toShift = 0.6 * (body.height - body.depth); // Build a VList with the superscript shifted up correctly\n const rootVList = buildCommon.makeVList({\n positionType: \"shift\",\n positionData: -toShift,\n children: [\n {\n type: \"elem\",\n elem: rootm\n }\n ]\n }, options); // Add a class surrounding it so we can add on the appropriate\n // kerning\n const rootVListWrap = buildCommon.makeSpan([\n \"root\"\n ], [\n rootVList\n ]);\n return buildCommon.makeSpan([\n \"mord\",\n \"sqrt\"\n ], [\n rootVListWrap,\n body\n ], options);\n }\n },\n mathmlBuilder (group, options) {\n const { body: body, index: index } = group;\n return index ? new mathMLTree.MathNode(\"mroot\", [\n buildMathML_buildGroup(body, options),\n buildMathML_buildGroup(index, options)\n ]) : new mathMLTree.MathNode(\"msqrt\", [\n buildMathML_buildGroup(body, options)\n ]);\n }\n });\n const styling_styleMap = {\n \"display\": src_Style.DISPLAY,\n \"text\": src_Style.TEXT,\n \"script\": src_Style.SCRIPT,\n \"scriptscript\": src_Style.SCRIPTSCRIPT\n };\n defineFunction({\n type: \"styling\",\n names: [\n \"\\\\displaystyle\",\n \"\\\\textstyle\",\n \"\\\\scriptstyle\",\n \"\\\\scriptscriptstyle\"\n ],\n props: {\n numArgs: 0,\n allowedInText: true,\n primitive: true\n },\n handler (_ref, args) {\n let { breakOnTokenText: breakOnTokenText, funcName: funcName, parser: parser } = _ref;\n // parse out the implicit body\n const body = parser.parseExpression(true, breakOnTokenText); // TODO: Refactor to avoid duplicating styleMap in multiple places (e.g.\n // here and in buildHTML and de-dupe the enumeration of all the styles).\n // $FlowFixMe: The names above exactly match the styles.\n const style = funcName.slice(1, funcName.length - 5);\n return {\n type: \"styling\",\n mode: parser.mode,\n style: // Figure out what style to use by pulling out the style from\n // the function name\n style,\n body: body\n };\n },\n htmlBuilder (group, options) {\n // Style changes are handled in the TeXbook on pg. 442, Rule 3.\n const newStyle = styling_styleMap[group.style];\n const newOptions = options.havingStyle(newStyle).withFont(\"\");\n return sizingGroup(group.body, newOptions, options);\n },\n mathmlBuilder (group, options) {\n // Figure out what style we're changing to.\n const newStyle = styling_styleMap[group.style];\n const newOptions = options.havingStyle(newStyle);\n const inner = buildMathML_buildExpression(group.body, newOptions);\n const node = new mathMLTree.MathNode(\"mstyle\", inner);\n const styleAttributes = {\n \"display\": [\n \"0\",\n \"true\"\n ],\n \"text\": [\n \"0\",\n \"false\"\n ],\n \"script\": [\n \"1\",\n \"false\"\n ],\n \"scriptscript\": [\n \"2\",\n \"false\"\n ]\n };\n const attr = styleAttributes[group.style];\n node.setAttribute(\"scriptlevel\", attr[0]);\n node.setAttribute(\"displaystyle\", attr[1]);\n return node;\n }\n });\n /**\n * Sometimes, groups perform special rules when they have superscripts or\n * subscripts attached to them. This function lets the `supsub` group know that\n * Sometimes, groups perform special rules when they have superscripts or\n * its inner element should handle the superscripts and subscripts instead of\n * handling them itself.\n */ const htmlBuilderDelegate = function(group, options) {\n const base = group.base;\n if (!base) return null;\n else if (base.type === \"op\") {\n // Operators handle supsubs differently when they have limits\n // (e.g. `\\displaystyle\\sum_2^3`)\n const delegate = base.limits && (options.style.size === src_Style.DISPLAY.size || base.alwaysHandleSupSub);\n return delegate ? op_htmlBuilder : null;\n } else if (base.type === \"operatorname\") {\n const delegate = base.alwaysHandleSupSub && (options.style.size === src_Style.DISPLAY.size || base.limits);\n return delegate ? operatorname_htmlBuilder : null;\n } else if (base.type === \"accent\") return utils.isCharacterBox(base.base) ? htmlBuilder : null;\n else if (base.type === \"horizBrace\") {\n const isSup = !group.sub;\n return isSup === base.isOver ? horizBrace_htmlBuilder : null;\n } else return null;\n }; // Super scripts and subscripts, whose precise placement can depend on other\n // functions that precede them.\n defineFunctionBuilders({\n type: \"supsub\",\n htmlBuilder (group, options) {\n // Superscript and subscripts are handled in the TeXbook on page\n // 445-446, rules 18(a-f).\n // Here is where we defer to the inner group if it should handle\n // superscripts and subscripts itself.\n const builderDelegate = htmlBuilderDelegate(group, options);\n if (builderDelegate) return builderDelegate(group, options);\n const { base: valueBase, sup: valueSup, sub: valueSub } = group;\n const base = buildGroup(valueBase, options);\n let supm;\n let subm;\n const metrics = options.fontMetrics(); // Rule 18a\n let supShift = 0;\n let subShift = 0;\n const isCharacterBox = valueBase && utils.isCharacterBox(valueBase);\n if (valueSup) {\n const newOptions = options.havingStyle(options.style.sup());\n supm = buildGroup(valueSup, newOptions, options);\n if (!isCharacterBox) supShift = base.height - newOptions.fontMetrics().supDrop * newOptions.sizeMultiplier / options.sizeMultiplier;\n }\n if (valueSub) {\n const newOptions = options.havingStyle(options.style.sub());\n subm = buildGroup(valueSub, newOptions, options);\n if (!isCharacterBox) subShift = base.depth + newOptions.fontMetrics().subDrop * newOptions.sizeMultiplier / options.sizeMultiplier;\n } // Rule 18c\n let minSupShift;\n if (options.style === src_Style.DISPLAY) minSupShift = metrics.sup1;\n else if (options.style.cramped) minSupShift = metrics.sup3;\n else minSupShift = metrics.sup2;\n // scriptspace is a font-size-independent size, so scale it\n // appropriately for use as the marginRight.\n const multiplier = options.sizeMultiplier;\n const marginRight = makeEm(0.5 / metrics.ptPerEm / multiplier);\n let marginLeft = null;\n if (subm) {\n // Subscripts shouldn't be shifted by the base's italic correction.\n // Account for that by shifting the subscript back the appropriate\n // amount. Note we only do this when the base is a single symbol.\n const isOiint = group.base && group.base.type === \"op\" && group.base.name && (group.base.name === \"\\\\oiint\" || group.base.name === \"\\\\oiiint\");\n if (base instanceof SymbolNode || isOiint) // $FlowFixMe\n marginLeft = makeEm(-base.italic);\n }\n let supsub;\n if (supm && subm) {\n supShift = Math.max(supShift, minSupShift, supm.depth + 0.25 * metrics.xHeight);\n subShift = Math.max(subShift, metrics.sub2);\n const ruleWidth = metrics.defaultRuleThickness; // Rule 18e\n const maxWidth = 4 * ruleWidth;\n if (supShift - supm.depth - (subm.height - subShift) < maxWidth) {\n subShift = maxWidth - (supShift - supm.depth) + subm.height;\n const psi = 0.8 * metrics.xHeight - (supShift - supm.depth);\n if (psi > 0) {\n supShift += psi;\n subShift -= psi;\n }\n }\n const vlistElem = [\n {\n type: \"elem\",\n elem: subm,\n shift: subShift,\n marginRight: marginRight,\n marginLeft: marginLeft\n },\n {\n type: \"elem\",\n elem: supm,\n shift: -supShift,\n marginRight: marginRight\n }\n ];\n supsub = buildCommon.makeVList({\n positionType: \"individualShift\",\n children: vlistElem\n }, options);\n } else if (subm) {\n // Rule 18b\n subShift = Math.max(subShift, metrics.sub1, subm.height - 0.8 * metrics.xHeight);\n const vlistElem = [\n {\n type: \"elem\",\n elem: subm,\n marginLeft: marginLeft,\n marginRight: marginRight\n }\n ];\n supsub = buildCommon.makeVList({\n positionType: \"shift\",\n positionData: subShift,\n children: vlistElem\n }, options);\n } else if (supm) {\n // Rule 18c, d\n supShift = Math.max(supShift, minSupShift, supm.depth + 0.25 * metrics.xHeight);\n supsub = buildCommon.makeVList({\n positionType: \"shift\",\n positionData: -supShift,\n children: [\n {\n type: \"elem\",\n elem: supm,\n marginRight: marginRight\n }\n ]\n }, options);\n } else throw new Error(\"supsub must have either sup or sub.\");\n // Wrap the supsub vlist in a span.msupsub to reset text-align.\n const mclass = getTypeOfDomTree(base, \"right\") || \"mord\";\n return buildCommon.makeSpan([\n mclass\n ], [\n base,\n buildCommon.makeSpan([\n \"msupsub\"\n ], [\n supsub\n ])\n ], options);\n },\n mathmlBuilder (group, options) {\n // Is the inner group a relevant horizonal brace?\n let isBrace = false;\n let isOver;\n let isSup;\n if (group.base && group.base.type === \"horizBrace\") {\n isSup = !!group.sup;\n if (isSup === group.base.isOver) {\n isBrace = true;\n isOver = group.base.isOver;\n }\n }\n if (group.base && (group.base.type === \"op\" || group.base.type === \"operatorname\")) group.base.parentIsSupSub = true;\n const children = [\n buildMathML_buildGroup(group.base, options)\n ];\n if (group.sub) children.push(buildMathML_buildGroup(group.sub, options));\n if (group.sup) children.push(buildMathML_buildGroup(group.sup, options));\n let nodeType;\n if (isBrace) nodeType = isOver ? \"mover\" : \"munder\";\n else if (!group.sub) {\n const base = group.base;\n if (base && base.type === \"op\" && base.limits && (options.style === src_Style.DISPLAY || base.alwaysHandleSupSub)) nodeType = \"mover\";\n else if (base && base.type === \"operatorname\" && base.alwaysHandleSupSub && (base.limits || options.style === src_Style.DISPLAY)) nodeType = \"mover\";\n else nodeType = \"msup\";\n } else if (!group.sup) {\n const base = group.base;\n if (base && base.type === \"op\" && base.limits && (options.style === src_Style.DISPLAY || base.alwaysHandleSupSub)) nodeType = \"munder\";\n else if (base && base.type === \"operatorname\" && base.alwaysHandleSupSub && (base.limits || options.style === src_Style.DISPLAY)) nodeType = \"munder\";\n else nodeType = \"msub\";\n } else {\n const base = group.base;\n if (base && base.type === \"op\" && base.limits && options.style === src_Style.DISPLAY) nodeType = \"munderover\";\n else if (base && base.type === \"operatorname\" && base.alwaysHandleSupSub && (options.style === src_Style.DISPLAY || base.limits)) nodeType = \"munderover\";\n else nodeType = \"msubsup\";\n }\n return new mathMLTree.MathNode(nodeType, children);\n }\n });\n // Operator ParseNodes created in Parser.js from symbol Groups in src/symbols.js.\n defineFunctionBuilders({\n type: \"atom\",\n htmlBuilder (group, options) {\n return buildCommon.mathsym(group.text, group.mode, options, [\n \"m\" + group.family\n ]);\n },\n mathmlBuilder (group, options) {\n const node = new mathMLTree.MathNode(\"mo\", [\n makeText(group.text, group.mode)\n ]);\n if (group.family === \"bin\") {\n const variant = getVariant(group, options);\n if (variant === \"bold-italic\") node.setAttribute(\"mathvariant\", variant);\n } else if (group.family === \"punct\") node.setAttribute(\"separator\", \"true\");\n else if (group.family === \"open\" || group.family === \"close\") // Delims built here should not stretch vertically.\n // See delimsizing.js for stretchy delims.\n node.setAttribute(\"stretchy\", \"false\");\n return node;\n }\n });\n // \"mathord\" and \"textord\" ParseNodes created in Parser.js from symbol Groups in\n // src/symbols.js.\n const defaultVariant = {\n \"mi\": \"italic\",\n \"mn\": \"normal\",\n \"mtext\": \"normal\"\n };\n defineFunctionBuilders({\n type: \"mathord\",\n htmlBuilder (group, options) {\n return buildCommon.makeOrd(group, options, \"mathord\");\n },\n mathmlBuilder (group, options) {\n const node = new mathMLTree.MathNode(\"mi\", [\n makeText(group.text, group.mode, options)\n ]);\n const variant = getVariant(group, options) || \"italic\";\n if (variant !== defaultVariant[node.type]) node.setAttribute(\"mathvariant\", variant);\n return node;\n }\n });\n defineFunctionBuilders({\n type: \"textord\",\n htmlBuilder (group, options) {\n return buildCommon.makeOrd(group, options, \"textord\");\n },\n mathmlBuilder (group, options) {\n const text = makeText(group.text, group.mode, options);\n const variant = getVariant(group, options) || \"normal\";\n let node;\n if (group.mode === \"text\") node = new mathMLTree.MathNode(\"mtext\", [\n text\n ]);\n else if (/[0-9]/.test(group.text)) node = new mathMLTree.MathNode(\"mn\", [\n text\n ]);\n else if (group.text === \"\\\\prime\") node = new mathMLTree.MathNode(\"mo\", [\n text\n ]);\n else node = new mathMLTree.MathNode(\"mi\", [\n text\n ]);\n if (variant !== defaultVariant[node.type]) node.setAttribute(\"mathvariant\", variant);\n return node;\n }\n });\n // A map of CSS-based spacing functions to their CSS class.\n const cssSpace = {\n \"\\\\nobreak\": \"nobreak\",\n \"\\\\allowbreak\": \"allowbreak\"\n }; // A lookup table to determine whether a spacing function/symbol should be\n // treated like a regular space character. If a symbol or command is a key\n // in this table, then it should be a regular space character. Furthermore,\n // the associated value may have a `className` specifying an extra CSS class\n // to add to the created `span`.\n const regularSpace = {\n \" \": {},\n \"\\\\ \": {},\n \"~\": {\n className: \"nobreak\"\n },\n \"\\\\space\": {},\n \"\\\\nobreakspace\": {\n className: \"nobreak\"\n }\n }; // ParseNode<\"spacing\"> created in Parser.js from the \"spacing\" symbol Groups in\n // src/symbols.js.\n defineFunctionBuilders({\n type: \"spacing\",\n htmlBuilder (group, options) {\n if (regularSpace.hasOwnProperty(group.text)) {\n const className = regularSpace[group.text].className || \"\"; // Spaces are generated by adding an actual space. Each of these\n // things has an entry in the symbols table, so these will be turned\n // into appropriate outputs.\n if (group.mode === \"text\") {\n const ord = buildCommon.makeOrd(group, options, \"textord\");\n ord.classes.push(className);\n return ord;\n } else return buildCommon.makeSpan([\n \"mspace\",\n className\n ], [\n buildCommon.mathsym(group.text, group.mode, options)\n ], options);\n } else if (cssSpace.hasOwnProperty(group.text)) // Spaces based on just a CSS class.\n return buildCommon.makeSpan([\n \"mspace\",\n cssSpace[group.text]\n ], [], options);\n else throw new src_ParseError('Unknown type of space \"' + group.text + '\"');\n },\n mathmlBuilder (group, options) {\n let node;\n if (regularSpace.hasOwnProperty(group.text)) node = new mathMLTree.MathNode(\"mtext\", [\n new mathMLTree.TextNode(\"\\xa0\")\n ]);\n else if (cssSpace.hasOwnProperty(group.text)) // CSS-based MathML spaces (\\nobreak, \\allowbreak) are ignored\n return new mathMLTree.MathNode(\"mspace\");\n else throw new src_ParseError('Unknown type of space \"' + group.text + '\"');\n return node;\n }\n });\n const pad = ()=>{\n const padNode = new mathMLTree.MathNode(\"mtd\", []);\n padNode.setAttribute(\"width\", \"50%\");\n return padNode;\n };\n defineFunctionBuilders({\n type: \"tag\",\n mathmlBuilder (group, options) {\n const table = new mathMLTree.MathNode(\"mtable\", [\n new mathMLTree.MathNode(\"mtr\", [\n pad(),\n new mathMLTree.MathNode(\"mtd\", [\n buildExpressionRow(group.body, options)\n ]),\n pad(),\n new mathMLTree.MathNode(\"mtd\", [\n buildExpressionRow(group.tag, options)\n ])\n ])\n ]);\n table.setAttribute(\"width\", \"100%\");\n return table; // TODO: Left-aligned tags.\n // Currently, the group and options passed here do not contain\n // enough info to set tag alignment. `leqno` is in Settings but it is\n // not passed to Options. On the HTML side, leqno is\n // set by a CSS class applied in buildTree.js. That would have worked\n // in MathML if browsers supported . Since they don't, we\n // need to rewrite the way this function is called.\n }\n });\n // Non-mathy text, possibly in a font\n const textFontFamilies = {\n \"\\\\text\": undefined,\n \"\\\\textrm\": \"textrm\",\n \"\\\\textsf\": \"textsf\",\n \"\\\\texttt\": \"texttt\",\n \"\\\\textnormal\": \"textrm\"\n };\n const textFontWeights = {\n \"\\\\textbf\": \"textbf\",\n \"\\\\textmd\": \"textmd\"\n };\n const textFontShapes = {\n \"\\\\textit\": \"textit\",\n \"\\\\textup\": \"textup\"\n };\n const optionsWithFont = (group, options)=>{\n const font = group.font; // Checks if the argument is a font family or a font style.\n if (!font) return options;\n else if (textFontFamilies[font]) return options.withTextFontFamily(textFontFamilies[font]);\n else if (textFontWeights[font]) return options.withTextFontWeight(textFontWeights[font]);\n else if (font === \"\\\\emph\") return options.fontShape === \"textit\" ? options.withTextFontShape(\"textup\") : options.withTextFontShape(\"textit\");\n return options.withTextFontShape(textFontShapes[font]);\n };\n defineFunction({\n type: \"text\",\n names: [\n \"\\\\text\",\n \"\\\\textrm\",\n \"\\\\textsf\",\n \"\\\\texttt\",\n \"\\\\textnormal\",\n \"\\\\textbf\",\n \"\\\\textmd\",\n \"\\\\textit\",\n \"\\\\textup\",\n \"\\\\emph\"\n ],\n props: {\n numArgs: 1,\n argTypes: [\n \"text\"\n ],\n allowedInArgument: true,\n allowedInText: true\n },\n handler (_ref, args) {\n let { parser: parser, funcName: funcName } = _ref;\n const body = args[0];\n return {\n type: \"text\",\n mode: parser.mode,\n body: ordargument(body),\n font: funcName\n };\n },\n htmlBuilder (group, options) {\n const newOptions = optionsWithFont(group, options);\n const inner = buildExpression(group.body, newOptions, true);\n return buildCommon.makeSpan([\n \"mord\",\n \"text\"\n ], inner, newOptions);\n },\n mathmlBuilder (group, options) {\n const newOptions = optionsWithFont(group, options);\n return buildExpressionRow(group.body, newOptions);\n }\n });\n defineFunction({\n type: \"underline\",\n names: [\n \"\\\\underline\"\n ],\n props: {\n numArgs: 1,\n allowedInText: true\n },\n handler (_ref, args) {\n let { parser: parser } = _ref;\n return {\n type: \"underline\",\n mode: parser.mode,\n body: args[0]\n };\n },\n htmlBuilder (group, options) {\n // Underlines are handled in the TeXbook pg 443, Rule 10.\n // Build the inner group.\n const innerGroup = buildGroup(group.body, options); // Create the line to go below the body\n const line = buildCommon.makeLineSpan(\"underline-line\", options); // Generate the vlist, with the appropriate kerns\n const defaultRuleThickness = options.fontMetrics().defaultRuleThickness;\n const vlist = buildCommon.makeVList({\n positionType: \"top\",\n positionData: innerGroup.height,\n children: [\n {\n type: \"kern\",\n size: defaultRuleThickness\n },\n {\n type: \"elem\",\n elem: line\n },\n {\n type: \"kern\",\n size: 3 * defaultRuleThickness\n },\n {\n type: \"elem\",\n elem: innerGroup\n }\n ]\n }, options);\n return buildCommon.makeSpan([\n \"mord\",\n \"underline\"\n ], [\n vlist\n ], options);\n },\n mathmlBuilder (group, options) {\n const operator = new mathMLTree.MathNode(\"mo\", [\n new mathMLTree.TextNode(\"\\u203E\")\n ]);\n operator.setAttribute(\"stretchy\", \"true\");\n const node = new mathMLTree.MathNode(\"munder\", [\n buildMathML_buildGroup(group.body, options),\n operator\n ]);\n node.setAttribute(\"accentunder\", \"true\");\n return node;\n }\n });\n // \\vcenter: Vertically center the argument group on the math axis.\n defineFunction({\n type: \"vcenter\",\n names: [\n \"\\\\vcenter\"\n ],\n props: {\n numArgs: 1,\n argTypes: [\n \"original\"\n ],\n // In LaTeX, \\vcenter can act only on a box.\n allowedInText: false\n },\n handler (_ref, args) {\n let { parser: parser } = _ref;\n return {\n type: \"vcenter\",\n mode: parser.mode,\n body: args[0]\n };\n },\n htmlBuilder (group, options) {\n const body = buildGroup(group.body, options);\n const axisHeight = options.fontMetrics().axisHeight;\n const dy = 0.5 * (body.height - axisHeight - (body.depth + axisHeight));\n return buildCommon.makeVList({\n positionType: \"shift\",\n positionData: dy,\n children: [\n {\n type: \"elem\",\n elem: body\n }\n ]\n }, options);\n },\n mathmlBuilder (group, options) {\n // There is no way to do this in MathML.\n // Write a class as a breadcrumb in case some post-processor wants\n // to perform a vcenter adjustment.\n return new mathMLTree.MathNode(\"mpadded\", [\n buildMathML_buildGroup(group.body, options)\n ], [\n \"vcenter\"\n ]);\n }\n });\n defineFunction({\n type: \"verb\",\n names: [\n \"\\\\verb\"\n ],\n props: {\n numArgs: 0,\n allowedInText: true\n },\n handler (context, args, optArgs) {\n // \\verb and \\verb* are dealt with directly in Parser.js.\n // If we end up here, it's because of a failure to match the two delimiters\n // in the regex in Lexer.js. LaTeX raises the following error when \\verb is\n // terminated by end of line (or file).\n throw new src_ParseError(\"\\\\verb ended by end of line instead of matching delimiter\");\n },\n htmlBuilder (group, options) {\n const text = makeVerb(group);\n const body = []; // \\verb enters text mode and therefore is sized like \\textstyle\n const newOptions = options.havingStyle(options.style.text());\n for(let i = 0; i < text.length; i++){\n let c = text[i];\n if (c === \"~\") c = \"\\\\textasciitilde\";\n body.push(buildCommon.makeSymbol(c, \"Typewriter-Regular\", group.mode, newOptions, [\n \"mord\",\n \"texttt\"\n ]));\n }\n return buildCommon.makeSpan([\n \"mord\",\n \"text\"\n ].concat(newOptions.sizingClasses(options)), buildCommon.tryCombineChars(body), newOptions);\n },\n mathmlBuilder (group, options) {\n const text = new mathMLTree.TextNode(makeVerb(group));\n const node = new mathMLTree.MathNode(\"mtext\", [\n text\n ]);\n node.setAttribute(\"mathvariant\", \"monospace\");\n return node;\n }\n });\n /**\n * Converts verb group into body string.\n *\n * \\verb* replaces each space with an open box \\u2423\n * \\verb replaces each space with a no-break space \\xA0\n */ const makeVerb = (group)=>group.body.replace(/ /g, group.star ? \"\\u2423\" : \"\\xa0\");\n /** Include this to ensure that all functions are defined. */ const functions = _functions;\n /* harmony default export */ var src_functions = functions; // TODO(kevinb): have functions return an object and call defineFunction with\n /**\n * The Lexer class handles tokenizing the input in various ways. Since our\n * parser expects us to be able to backtrack, the lexer allows lexing from any\n * given starting point.\n *\n * Its main exposed function is the `lex` function, which takes a position to\n * lex from and a type of token to lex. It defers to the appropriate `_innerLex`\n * function.\n *\n * The various `_innerLex` functions perform the actual lexing of different\n * kinds.\n */ /* The following tokenRegex\n * - matches typical whitespace (but not NBSP etc.) using its first group\n * - does not match any control character \\x00-\\x1f except whitespace\n * - does not match a bare backslash\n * - matches any ASCII character except those just mentioned\n * - does not match the BMP private use area \\uE000-\\uF8FF\n * - does not match bare surrogate code units\n * - matches any BMP character except for those just described\n * - matches any valid Unicode surrogate pair\n * - matches a backslash followed by one or more whitespace characters\n * - matches a backslash followed by one or more letters then whitespace\n * - matches a backslash followed by any BMP character\n * Capturing groups:\n * [1] regular whitespace\n * [2] backslash followed by whitespace\n * [3] anything else, which may include:\n * [4] left character of \\verb*\n * [5] left character of \\verb\n * [6] backslash followed by word, excluding any trailing whitespace\n * Just because the Lexer matches something doesn't mean it's valid input:\n * If there is no matching function or symbol definition, the Parser will\n * still reject the input.\n */ const spaceRegexString = \"[ \\r\\n\t]\";\n const controlWordRegexString = \"\\\\\\\\[a-zA-Z@]+\";\n const controlSymbolRegexString = \"\\\\\\\\[^\\uD800-\\uDFFF]\";\n const controlWordWhitespaceRegexString = \"(\" + controlWordRegexString + \")\" + spaceRegexString + \"*\";\n const controlSpaceRegexString = \"\\\\\\\\(\\n|[ \\r\t]+\\n?)[ \\r\t]*\";\n const combiningDiacriticalMarkString = \"[\\u0300-\\u036F]\";\n const combiningDiacriticalMarksEndRegex = new RegExp(combiningDiacriticalMarkString + \"+$\");\n const tokenRegexString = \"(\" + spaceRegexString + \"+)|\" + (controlSpaceRegexString + \"|\") + // \\whitespace\n \"([!-\\\\[\\\\]-\\u2027\\u202A-\\uD7FF\\uF900-\\uFFFF]\" + (combiningDiacriticalMarkString + \"*\") + // ...plus accents\n \"|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]\" + (combiningDiacriticalMarkString + \"*\") + // ...plus accents\n \"|\\\\\\\\verb\\\\*([^]).*?\\\\4\" + // \\verb*\n \"|\\\\\\\\verb([^*a-zA-Z]).*?\\\\5\" + (\"|\" + controlWordWhitespaceRegexString) + (\"|\" + controlSymbolRegexString + \")\"); // \\\\, \\', etc.\n /** Main Lexer class */ class Lexer {\n // Category codes. The lexer only supports comment characters (14) for now.\n // MacroExpander additionally distinguishes active (13).\n constructor(input, settings){\n this.input = void 0;\n this.settings = void 0;\n this.tokenRegex = void 0;\n this.catcodes = void 0;\n // Separate accents from characters\n this.input = input;\n this.settings = settings;\n this.tokenRegex = new RegExp(tokenRegexString, \"g\");\n this.catcodes = {\n \"%\": 14,\n // comment character\n \"~\": 13 // active character\n };\n }\n setCatcode(char, code) {\n this.catcodes[char] = code;\n }\n /**\n * This function lexes a single token.\n */ lex() {\n const input = this.input;\n const pos = this.tokenRegex.lastIndex;\n if (pos === input.length) return new Token(\"EOF\", new SourceLocation(this, pos, pos));\n const match = this.tokenRegex.exec(input);\n if (match === null || match.index !== pos) throw new src_ParseError(\"Unexpected character: '\" + input[pos] + \"'\", new Token(input[pos], new SourceLocation(this, pos, pos + 1)));\n const text = match[6] || match[3] || (match[2] ? \"\\\\ \" : \" \");\n if (this.catcodes[text] === 14) {\n // comment character\n const nlIndex = input.indexOf(\"\\n\", this.tokenRegex.lastIndex);\n if (nlIndex === -1) {\n this.tokenRegex.lastIndex = input.length; // EOF\n this.settings.reportNonstrict(\"commentAtEnd\", \"% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)\");\n } else this.tokenRegex.lastIndex = nlIndex + 1;\n return this.lex();\n }\n return new Token(text, new SourceLocation(this, pos, this.tokenRegex.lastIndex));\n }\n }\n /**\n * A `Namespace` refers to a space of nameable things like macros or lengths,\n * which can be `set` either globally or local to a nested group, using an\n * undo stack similar to how TeX implements this functionality.\n * Performance-wise, `get` and local `set` take constant time, while global\n * `set` takes time proportional to the depth of group nesting.\n */ class Namespace {\n /**\n * Both arguments are optional. The first argument is an object of\n * built-in mappings which never change. The second argument is an object\n * of initial (global-level) mappings, which will constantly change\n * according to any global/top-level `set`s done.\n */ constructor(builtins, globalMacros){\n if (builtins === void 0) builtins = {};\n if (globalMacros === void 0) globalMacros = {};\n this.current = void 0;\n this.builtins = void 0;\n this.undefStack = void 0;\n this.current = globalMacros;\n this.builtins = builtins;\n this.undefStack = [];\n }\n /**\n * Start a new nested group, affecting future local `set`s.\n */ beginGroup() {\n this.undefStack.push({});\n }\n /**\n * End current nested group, restoring values before the group began.\n */ endGroup() {\n if (this.undefStack.length === 0) throw new src_ParseError(\"Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug\");\n const undefs = this.undefStack.pop();\n for(const undef in undefs)if (undefs.hasOwnProperty(undef)) {\n if (undefs[undef] == null) delete this.current[undef];\n else this.current[undef] = undefs[undef];\n }\n }\n /**\n * Ends all currently nested groups (if any), restoring values before the\n * groups began. Useful in case of an error in the middle of parsing.\n */ endGroups() {\n while(this.undefStack.length > 0)this.endGroup();\n }\n /**\n * Detect whether `name` has a definition. Equivalent to\n * `get(name) != null`.\n */ has(name) {\n return this.current.hasOwnProperty(name) || this.builtins.hasOwnProperty(name);\n }\n /**\n * Get the current value of a name, or `undefined` if there is no value.\n *\n * Note: Do not use `if (namespace.get(...))` to detect whether a macro\n * is defined, as the definition may be the empty string which evaluates\n * to `false` in JavaScript. Use `if (namespace.get(...) != null)` or\n * `if (namespace.has(...))`.\n */ get(name) {\n if (this.current.hasOwnProperty(name)) return this.current[name];\n else return this.builtins[name];\n }\n /**\n * Set the current value of a name, and optionally set it globally too.\n * Local set() sets the current value and (when appropriate) adds an undo\n * operation to the undo stack. Global set() may change the undo\n * operation at every level, so takes time linear in their number.\n * A value of undefined means to delete existing definitions.\n */ set(name, value, global) {\n if (global === void 0) global = false;\n if (global) {\n // Global set is equivalent to setting in all groups. Simulate this\n // by destroying any undos currently scheduled for this name,\n // and adding an undo with the *new* value (in case it later gets\n // locally reset within this environment).\n for(let i = 0; i < this.undefStack.length; i++)delete this.undefStack[i][name];\n if (this.undefStack.length > 0) this.undefStack[this.undefStack.length - 1][name] = value;\n } else {\n // Undo this set at end of this group (possibly to `undefined`),\n // unless an undo is already in place, in which case that older\n // value is the correct one.\n const top = this.undefStack[this.undefStack.length - 1];\n if (top && !top.hasOwnProperty(name)) top[name] = this.current[name];\n }\n if (value == null) delete this.current[name];\n else this.current[name] = value;\n }\n }\n /**\n * Predefined macros for KaTeX.\n * This can be used to define some commands in terms of others.\n */ // Export global macros object from defineMacro\n const macros = _macros;\n /* harmony default export */ var src_macros = macros;\n //////////////////////////////////////////////////////////////////////\n // macro tools\n defineMacro(\"\\\\noexpand\", function(context) {\n // The expansion is the token itself; but that token is interpreted\n // as if its meaning were ‘\\relax’ if it is a control sequence that\n // would ordinarily be expanded by TeX’s expansion rules.\n const t = context.popToken();\n if (context.isExpandable(t.text)) {\n t.noexpand = true;\n t.treatAsRelax = true;\n }\n return {\n tokens: [\n t\n ],\n numArgs: 0\n };\n });\n defineMacro(\"\\\\expandafter\", function(context) {\n // TeX first reads the token that comes immediately after \\expandafter,\n // without expanding it; let’s call this token t. Then TeX reads the\n // token that comes after t (and possibly more tokens, if that token\n // has an argument), replacing it by its expansion. Finally TeX puts\n // t back in front of that expansion.\n const t = context.popToken();\n context.expandOnce(true); // expand only an expandable token\n return {\n tokens: [\n t\n ],\n numArgs: 0\n };\n }); // LaTeX's \\@firstoftwo{#1}{#2} expands to #1, skipping #2\n // TeX source: \\long\\def\\@firstoftwo#1#2{#1}\n defineMacro(\"\\\\@firstoftwo\", function(context) {\n const args = context.consumeArgs(2);\n return {\n tokens: args[0],\n numArgs: 0\n };\n }); // LaTeX's \\@secondoftwo{#1}{#2} expands to #2, skipping #1\n // TeX source: \\long\\def\\@secondoftwo#1#2{#2}\n defineMacro(\"\\\\@secondoftwo\", function(context) {\n const args = context.consumeArgs(2);\n return {\n tokens: args[1],\n numArgs: 0\n };\n }); // LaTeX's \\@ifnextchar{#1}{#2}{#3} looks ahead to the next (unexpanded)\n // symbol that isn't a space, consuming any spaces but not consuming the\n // first nonspace character. If that nonspace character matches #1, then\n // the macro expands to #2; otherwise, it expands to #3.\n defineMacro(\"\\\\@ifnextchar\", function(context) {\n const args = context.consumeArgs(3); // symbol, if, else\n context.consumeSpaces();\n const nextToken = context.future();\n if (args[0].length === 1 && args[0][0].text === nextToken.text) return {\n tokens: args[1],\n numArgs: 0\n };\n else return {\n tokens: args[2],\n numArgs: 0\n };\n }); // LaTeX's \\@ifstar{#1}{#2} looks ahead to the next (unexpanded) symbol.\n // If it is `*`, then it consumes the symbol, and the macro expands to #1;\n // otherwise, the macro expands to #2 (without consuming the symbol).\n // TeX source: \\def\\@ifstar#1{\\@ifnextchar *{\\@firstoftwo{#1}}}\n defineMacro(\"\\\\@ifstar\", \"\\\\@ifnextchar *{\\\\@firstoftwo{#1}}\"); // LaTeX's \\TextOrMath{#1}{#2} expands to #1 in text mode, #2 in math mode\n defineMacro(\"\\\\TextOrMath\", function(context) {\n const args = context.consumeArgs(2);\n if (context.mode === \"text\") return {\n tokens: args[0],\n numArgs: 0\n };\n else return {\n tokens: args[1],\n numArgs: 0\n };\n }); // Lookup table for parsing numbers in base 8 through 16\n const digitToNumber = {\n \"0\": 0,\n \"1\": 1,\n \"2\": 2,\n \"3\": 3,\n \"4\": 4,\n \"5\": 5,\n \"6\": 6,\n \"7\": 7,\n \"8\": 8,\n \"9\": 9,\n \"a\": 10,\n \"A\": 10,\n \"b\": 11,\n \"B\": 11,\n \"c\": 12,\n \"C\": 12,\n \"d\": 13,\n \"D\": 13,\n \"e\": 14,\n \"E\": 14,\n \"f\": 15,\n \"F\": 15\n }; // TeX \\char makes a literal character (catcode 12) using the following forms:\n // (see The TeXBook, p. 43)\n // \\char123 -- decimal\n // \\char'123 -- octal\n // \\char\"123 -- hex\n // \\char`x -- character that can be written (i.e. isn't active)\n // \\char`\\x -- character that cannot be written (e.g. %)\n // These all refer to characters from the font, so we turn them into special\n // calls to a function \\@char dealt with in the Parser.\n defineMacro(\"\\\\char\", function(context) {\n let token = context.popToken();\n let base;\n let number = \"\";\n if (token.text === \"'\") {\n base = 8;\n token = context.popToken();\n } else if (token.text === '\"') {\n base = 16;\n token = context.popToken();\n } else if (token.text === \"`\") {\n token = context.popToken();\n if (token.text[0] === \"\\\\\") number = token.text.charCodeAt(1);\n else if (token.text === \"EOF\") throw new src_ParseError(\"\\\\char` missing argument\");\n else number = token.text.charCodeAt(0);\n } else base = 10;\n if (base) {\n // Parse a number in the given base, starting with first `token`.\n number = digitToNumber[token.text];\n if (number == null || number >= base) throw new src_ParseError(\"Invalid base-\" + base + \" digit \" + token.text);\n let digit;\n while((digit = digitToNumber[context.future().text]) != null && digit < base){\n number *= base;\n number += digit;\n context.popToken();\n }\n }\n return \"\\\\@char{\" + number + \"}\";\n }); // \\newcommand{\\macro}[args]{definition}\n // \\renewcommand{\\macro}[args]{definition}\n // TODO: Optional arguments: \\newcommand{\\macro}[args][default]{definition}\n const newcommand = (context, existsOK, nonexistsOK)=>{\n let arg = context.consumeArg().tokens;\n if (arg.length !== 1) throw new src_ParseError(\"\\\\newcommand's first argument must be a macro name\");\n const name = arg[0].text;\n const exists = context.isDefined(name);\n if (exists && !existsOK) throw new src_ParseError(\"\\\\newcommand{\" + name + \"} attempting to redefine \" + (name + \"; use \\\\renewcommand\"));\n if (!exists && !nonexistsOK) throw new src_ParseError(\"\\\\renewcommand{\" + name + \"} when command \" + name + \" \" + \"does not yet exist; use \\\\newcommand\");\n let numArgs = 0;\n arg = context.consumeArg().tokens;\n if (arg.length === 1 && arg[0].text === \"[\") {\n let argText = \"\";\n let token = context.expandNextToken();\n while(token.text !== \"]\" && token.text !== \"EOF\"){\n // TODO: Should properly expand arg, e.g., ignore {}s\n argText += token.text;\n token = context.expandNextToken();\n }\n if (!argText.match(/^\\s*[0-9]+\\s*$/)) throw new src_ParseError(\"Invalid number of arguments: \" + argText);\n numArgs = parseInt(argText);\n arg = context.consumeArg().tokens;\n } // Final arg is the expansion of the macro\n context.macros.set(name, {\n tokens: arg,\n numArgs: numArgs\n });\n return \"\";\n };\n defineMacro(\"\\\\newcommand\", (context)=>newcommand(context, false, true));\n defineMacro(\"\\\\renewcommand\", (context)=>newcommand(context, true, false));\n defineMacro(\"\\\\providecommand\", (context)=>newcommand(context, true, true)); // terminal (console) tools\n defineMacro(\"\\\\message\", (context)=>{\n const arg = context.consumeArgs(1)[0]; // eslint-disable-next-line no-console\n console.log(arg.reverse().map((token)=>token.text).join(\"\"));\n return \"\";\n });\n defineMacro(\"\\\\errmessage\", (context)=>{\n const arg = context.consumeArgs(1)[0]; // eslint-disable-next-line no-console\n console.error(arg.reverse().map((token)=>token.text).join(\"\"));\n return \"\";\n });\n defineMacro(\"\\\\show\", (context)=>{\n const tok = context.popToken();\n const name = tok.text; // eslint-disable-next-line no-console\n console.log(tok, context.macros.get(name), src_functions[name], src_symbols.math[name], src_symbols.text[name]);\n return \"\";\n }); //////////////////////////////////////////////////////////////////////\n // Grouping\n // \\let\\bgroup={ \\let\\egroup=}\n defineMacro(\"\\\\bgroup\", \"{\");\n defineMacro(\"\\\\egroup\", \"}\"); // Symbols from latex.ltx:\n // \\def~{\\nobreakspace{}}\n // \\def\\lq{`}\n // \\def\\rq{'}\n // \\def \\aa {\\r a}\n // \\def \\AA {\\r A}\n defineMacro(\"~\", \"\\\\nobreakspace\");\n defineMacro(\"\\\\lq\", \"`\");\n defineMacro(\"\\\\rq\", \"'\");\n defineMacro(\"\\\\aa\", \"\\\\r a\");\n defineMacro(\"\\\\AA\", \"\\\\r A\"); // Copyright (C) and registered (R) symbols. Use raw symbol in MathML.\n // \\DeclareTextCommandDefault{\\textcopyright}{\\textcircled{c}}\n // \\DeclareTextCommandDefault{\\textregistered}{\\textcircled{%\n // \\check@mathfonts\\fontsize\\sf@size\\z@\\math@fontsfalse\\selectfont R}}\n // \\DeclareRobustCommand{\\copyright}{%\n // \\ifmmode{\\nfss@text{\\textcopyright}}\\else\\textcopyright\\fi}\n defineMacro(\"\\\\textcopyright\", \"\\\\html@mathml{\\\\textcircled{c}}{\\\\char`\\xa9}\");\n defineMacro(\"\\\\copyright\", \"\\\\TextOrMath{\\\\textcopyright}{\\\\text{\\\\textcopyright}}\");\n defineMacro(\"\\\\textregistered\", \"\\\\html@mathml{\\\\textcircled{\\\\scriptsize R}}{\\\\char`\\xae}\"); // Characters omitted from Unicode range 1D400–1D7FF\n defineMacro(\"\\u212C\", \"\\\\mathscr{B}\"); // script\n defineMacro(\"\\u2130\", \"\\\\mathscr{E}\");\n defineMacro(\"\\u2131\", \"\\\\mathscr{F}\");\n defineMacro(\"\\u210B\", \"\\\\mathscr{H}\");\n defineMacro(\"\\u2110\", \"\\\\mathscr{I}\");\n defineMacro(\"\\u2112\", \"\\\\mathscr{L}\");\n defineMacro(\"\\u2133\", \"\\\\mathscr{M}\");\n defineMacro(\"\\u211B\", \"\\\\mathscr{R}\");\n defineMacro(\"\\u212D\", \"\\\\mathfrak{C}\"); // Fraktur\n defineMacro(\"\\u210C\", \"\\\\mathfrak{H}\");\n defineMacro(\"\\u2128\", \"\\\\mathfrak{Z}\"); // Define \\Bbbk with a macro that works in both HTML and MathML.\n defineMacro(\"\\\\Bbbk\", \"\\\\Bbb{k}\"); // Unicode middle dot\n // The KaTeX fonts do not contain U+00B7. Instead, \\cdotp displays\n // the dot at U+22C5 and gives it punct spacing.\n defineMacro(\"\\xb7\", \"\\\\cdotp\"); // \\llap and \\rlap render their contents in text mode\n defineMacro(\"\\\\llap\", \"\\\\mathllap{\\\\textrm{#1}}\");\n defineMacro(\"\\\\rlap\", \"\\\\mathrlap{\\\\textrm{#1}}\");\n defineMacro(\"\\\\clap\", \"\\\\mathclap{\\\\textrm{#1}}\"); // \\mathstrut from the TeXbook, p 360\n defineMacro(\"\\\\mathstrut\", \"\\\\vphantom{(}\"); // \\underbar from TeXbook p 353\n defineMacro(\"\\\\underbar\", \"\\\\underline{\\\\text{#1}}\"); // \\not is defined by base/fontmath.ltx via\n // \\DeclareMathSymbol{\\not}{\\mathrel}{symbols}{\"36}\n // It's thus treated like a \\mathrel, but defined by a symbol that has zero\n // width but extends to the right. We use \\rlap to get that spacing.\n // For MathML we write U+0338 here. buildMathML.js will then do the overlay.\n defineMacro(\"\\\\not\", '\\\\html@mathml{\\\\mathrel{\\\\mathrlap\\\\@not}}{\\\\char\"338}'); // Negated symbols from base/fontmath.ltx:\n // \\def\\neq{\\not=} \\let\\ne=\\neq\n // \\DeclareRobustCommand\n // \\notin{\\mathrel{\\m@th\\mathpalette\\c@ncel\\in}}\n // \\def\\c@ncel#1#2{\\m@th\\ooalign{$\\hfil#1\\mkern1mu/\\hfil$\\crcr$#1#2$}}\n defineMacro(\"\\\\neq\", \"\\\\html@mathml{\\\\mathrel{\\\\not=}}{\\\\mathrel{\\\\char`\\u2260}}\");\n defineMacro(\"\\\\ne\", \"\\\\neq\");\n defineMacro(\"\\u2260\", \"\\\\neq\");\n defineMacro(\"\\\\notin\", \"\\\\html@mathml{\\\\mathrel{{\\\\in}\\\\mathllap{/\\\\mskip1mu}}}{\\\\mathrel{\\\\char`\\u2209}}\");\n defineMacro(\"\\u2209\", \"\\\\notin\"); // Unicode stacked relations\n defineMacro(\"\\u2258\", \"\\\\html@mathml{\\\\mathrel{=\\\\kern{-1em}\\\\raisebox{0.4em}{$\\\\scriptsize\\\\frown$}}}{\\\\mathrel{\\\\char`\\u2258}}\");\n defineMacro(\"\\u2259\", \"\\\\html@mathml{\\\\stackrel{\\\\tiny\\\\wedge}{=}}{\\\\mathrel{\\\\char`\\u2258}}\");\n defineMacro(\"\\u225A\", \"\\\\html@mathml{\\\\stackrel{\\\\tiny\\\\vee}{=}}{\\\\mathrel{\\\\char`\\u225A}}\");\n defineMacro(\"\\u225B\", \"\\\\html@mathml{\\\\stackrel{\\\\scriptsize\\\\star}{=}}{\\\\mathrel{\\\\char`\\u225B}}\");\n defineMacro(\"\\u225D\", \"\\\\html@mathml{\\\\stackrel{\\\\tiny\\\\mathrm{def}}{=}}{\\\\mathrel{\\\\char`\\u225D}}\");\n defineMacro(\"\\u225E\", \"\\\\html@mathml{\\\\stackrel{\\\\tiny\\\\mathrm{m}}{=}}{\\\\mathrel{\\\\char`\\u225E}}\");\n defineMacro(\"\\u225F\", \"\\\\html@mathml{\\\\stackrel{\\\\tiny?}{=}}{\\\\mathrel{\\\\char`\\u225F}}\"); // Misc Unicode\n defineMacro(\"\\u27C2\", \"\\\\perp\");\n defineMacro(\"\\u203C\", \"\\\\mathclose{!\\\\mkern-0.8mu!}\");\n defineMacro(\"\\u220C\", \"\\\\notni\");\n defineMacro(\"\\u231C\", \"\\\\ulcorner\");\n defineMacro(\"\\u231D\", \"\\\\urcorner\");\n defineMacro(\"\\u231E\", \"\\\\llcorner\");\n defineMacro(\"\\u231F\", \"\\\\lrcorner\");\n defineMacro(\"\\xa9\", \"\\\\copyright\");\n defineMacro(\"\\xae\", \"\\\\textregistered\");\n defineMacro(\"\\uFE0F\", \"\\\\textregistered\"); // The KaTeX fonts have corners at codepoints that don't match Unicode.\n // For MathML purposes, use the Unicode code point.\n defineMacro(\"\\\\ulcorner\", '\\\\html@mathml{\\\\@ulcorner}{\\\\mathop{\\\\char\"231c}}');\n defineMacro(\"\\\\urcorner\", '\\\\html@mathml{\\\\@urcorner}{\\\\mathop{\\\\char\"231d}}');\n defineMacro(\"\\\\llcorner\", '\\\\html@mathml{\\\\@llcorner}{\\\\mathop{\\\\char\"231e}}');\n defineMacro(\"\\\\lrcorner\", '\\\\html@mathml{\\\\@lrcorner}{\\\\mathop{\\\\char\"231f}}'); //////////////////////////////////////////////////////////////////////\n // LaTeX_2ε\n // \\vdots{\\vbox{\\baselineskip4\\p@ \\lineskiplimit\\z@\n // \\kern6\\p@\\hbox{.}\\hbox{.}\\hbox{.}}}\n // We'll call \\varvdots, which gets a glyph from symbols.js.\n // The zero-width rule gets us an equivalent to the vertical 6pt kern.\n defineMacro(\"\\\\vdots\", \"\\\\mathord{\\\\varvdots\\\\rule{0pt}{15pt}}\");\n defineMacro(\"\\u22EE\", \"\\\\vdots\"); //////////////////////////////////////////////////////////////////////\n // amsmath.sty\n // http://mirrors.concertpass.com/tex-archive/macros/latex/required/amsmath/amsmath.pdf\n // Italic Greek capital letters. AMS defines these with \\DeclareMathSymbol,\n // but they are equivalent to \\mathit{\\Letter}.\n defineMacro(\"\\\\varGamma\", \"\\\\mathit{\\\\Gamma}\");\n defineMacro(\"\\\\varDelta\", \"\\\\mathit{\\\\Delta}\");\n defineMacro(\"\\\\varTheta\", \"\\\\mathit{\\\\Theta}\");\n defineMacro(\"\\\\varLambda\", \"\\\\mathit{\\\\Lambda}\");\n defineMacro(\"\\\\varXi\", \"\\\\mathit{\\\\Xi}\");\n defineMacro(\"\\\\varPi\", \"\\\\mathit{\\\\Pi}\");\n defineMacro(\"\\\\varSigma\", \"\\\\mathit{\\\\Sigma}\");\n defineMacro(\"\\\\varUpsilon\", \"\\\\mathit{\\\\Upsilon}\");\n defineMacro(\"\\\\varPhi\", \"\\\\mathit{\\\\Phi}\");\n defineMacro(\"\\\\varPsi\", \"\\\\mathit{\\\\Psi}\");\n defineMacro(\"\\\\varOmega\", \"\\\\mathit{\\\\Omega}\"); //\\newcommand{\\substack}[1]{\\subarray{c}#1\\endsubarray}\n defineMacro(\"\\\\substack\", \"\\\\begin{subarray}{c}#1\\\\end{subarray}\"); // \\renewcommand{\\colon}{\\nobreak\\mskip2mu\\mathpunct{}\\nonscript\n // \\mkern-\\thinmuskip{:}\\mskip6muplus1mu\\relax}\n defineMacro(\"\\\\colon\", \"\\\\nobreak\\\\mskip2mu\\\\mathpunct{}\\\\mathchoice{\\\\mkern-3mu}{\\\\mkern-3mu}{}{}{:}\\\\mskip6mu\\\\relax\"); // \\newcommand{\\boxed}[1]{\\fbox{\\m@th$\\displaystyle#1$}}\n defineMacro(\"\\\\boxed\", \"\\\\fbox{$\\\\displaystyle{#1}$}\"); // \\def\\iff{\\DOTSB\\;\\Longleftrightarrow\\;}\n // \\def\\implies{\\DOTSB\\;\\Longrightarrow\\;}\n // \\def\\impliedby{\\DOTSB\\;\\Longleftarrow\\;}\n defineMacro(\"\\\\iff\", \"\\\\DOTSB\\\\;\\\\Longleftrightarrow\\\\;\");\n defineMacro(\"\\\\implies\", \"\\\\DOTSB\\\\;\\\\Longrightarrow\\\\;\");\n defineMacro(\"\\\\impliedby\", \"\\\\DOTSB\\\\;\\\\Longleftarrow\\\\;\"); // AMSMath's automatic \\dots, based on \\mdots@@ macro.\n const dotsByToken = {\n \",\": \"\\\\dotsc\",\n \"\\\\not\": \"\\\\dotsb\",\n // \\keybin@ checks for the following:\n \"+\": \"\\\\dotsb\",\n \"=\": \"\\\\dotsb\",\n \"<\": \"\\\\dotsb\",\n \">\": \"\\\\dotsb\",\n \"-\": \"\\\\dotsb\",\n \"*\": \"\\\\dotsb\",\n \":\": \"\\\\dotsb\",\n // Symbols whose definition starts with \\DOTSB:\n \"\\\\DOTSB\": \"\\\\dotsb\",\n \"\\\\coprod\": \"\\\\dotsb\",\n \"\\\\bigvee\": \"\\\\dotsb\",\n \"\\\\bigwedge\": \"\\\\dotsb\",\n \"\\\\biguplus\": \"\\\\dotsb\",\n \"\\\\bigcap\": \"\\\\dotsb\",\n \"\\\\bigcup\": \"\\\\dotsb\",\n \"\\\\prod\": \"\\\\dotsb\",\n \"\\\\sum\": \"\\\\dotsb\",\n \"\\\\bigotimes\": \"\\\\dotsb\",\n \"\\\\bigoplus\": \"\\\\dotsb\",\n \"\\\\bigodot\": \"\\\\dotsb\",\n \"\\\\bigsqcup\": \"\\\\dotsb\",\n \"\\\\And\": \"\\\\dotsb\",\n \"\\\\longrightarrow\": \"\\\\dotsb\",\n \"\\\\Longrightarrow\": \"\\\\dotsb\",\n \"\\\\longleftarrow\": \"\\\\dotsb\",\n \"\\\\Longleftarrow\": \"\\\\dotsb\",\n \"\\\\longleftrightarrow\": \"\\\\dotsb\",\n \"\\\\Longleftrightarrow\": \"\\\\dotsb\",\n \"\\\\mapsto\": \"\\\\dotsb\",\n \"\\\\longmapsto\": \"\\\\dotsb\",\n \"\\\\hookrightarrow\": \"\\\\dotsb\",\n \"\\\\doteq\": \"\\\\dotsb\",\n // Symbols whose definition starts with \\mathbin:\n \"\\\\mathbin\": \"\\\\dotsb\",\n // Symbols whose definition starts with \\mathrel:\n \"\\\\mathrel\": \"\\\\dotsb\",\n \"\\\\relbar\": \"\\\\dotsb\",\n \"\\\\Relbar\": \"\\\\dotsb\",\n \"\\\\xrightarrow\": \"\\\\dotsb\",\n \"\\\\xleftarrow\": \"\\\\dotsb\",\n // Symbols whose definition starts with \\DOTSI:\n \"\\\\DOTSI\": \"\\\\dotsi\",\n \"\\\\int\": \"\\\\dotsi\",\n \"\\\\oint\": \"\\\\dotsi\",\n \"\\\\iint\": \"\\\\dotsi\",\n \"\\\\iiint\": \"\\\\dotsi\",\n \"\\\\iiiint\": \"\\\\dotsi\",\n \"\\\\idotsint\": \"\\\\dotsi\",\n // Symbols whose definition starts with \\DOTSX:\n \"\\\\DOTSX\": \"\\\\dotsx\"\n };\n defineMacro(\"\\\\dots\", function(context) {\n // TODO: If used in text mode, should expand to \\textellipsis.\n // However, in KaTeX, \\textellipsis and \\ldots behave the same\n // (in text mode), and it's unlikely we'd see any of the math commands\n // that affect the behavior of \\dots when in text mode. So fine for now\n // (until we support \\ifmmode ... \\else ... \\fi).\n let thedots = \"\\\\dotso\";\n const next = context.expandAfterFuture().text;\n if (next in dotsByToken) thedots = dotsByToken[next];\n else if (next.slice(0, 4) === \"\\\\not\") thedots = \"\\\\dotsb\";\n else if (next in src_symbols.math) {\n if (utils.contains([\n \"bin\",\n \"rel\"\n ], src_symbols.math[next].group)) thedots = \"\\\\dotsb\";\n }\n return thedots;\n });\n const spaceAfterDots = {\n // \\rightdelim@ checks for the following:\n \")\": true,\n \"]\": true,\n \"\\\\rbrack\": true,\n \"\\\\}\": true,\n \"\\\\rbrace\": true,\n \"\\\\rangle\": true,\n \"\\\\rceil\": true,\n \"\\\\rfloor\": true,\n \"\\\\rgroup\": true,\n \"\\\\rmoustache\": true,\n \"\\\\right\": true,\n \"\\\\bigr\": true,\n \"\\\\biggr\": true,\n \"\\\\Bigr\": true,\n \"\\\\Biggr\": true,\n // \\extra@ also tests for the following:\n \"$\": true,\n // \\extrap@ checks for the following:\n \";\": true,\n \".\": true,\n \",\": true\n };\n defineMacro(\"\\\\dotso\", function(context) {\n const next = context.future().text;\n if (next in spaceAfterDots) return \"\\\\ldots\\\\,\";\n else return \"\\\\ldots\";\n });\n defineMacro(\"\\\\dotsc\", function(context) {\n const next = context.future().text; // \\dotsc uses \\extra@ but not \\extrap@, instead specially checking for\n // ';' and '.', but doesn't check for ','.\n if (next in spaceAfterDots && next !== \",\") return \"\\\\ldots\\\\,\";\n else return \"\\\\ldots\";\n });\n defineMacro(\"\\\\cdots\", function(context) {\n const next = context.future().text;\n if (next in spaceAfterDots) return \"\\\\@cdots\\\\,\";\n else return \"\\\\@cdots\";\n });\n defineMacro(\"\\\\dotsb\", \"\\\\cdots\");\n defineMacro(\"\\\\dotsm\", \"\\\\cdots\");\n defineMacro(\"\\\\dotsi\", \"\\\\!\\\\cdots\"); // amsmath doesn't actually define \\dotsx, but \\dots followed by a macro\n // starting with \\DOTSX implies \\dotso, and then \\extra@ detects this case\n // and forces the added `\\,`.\n defineMacro(\"\\\\dotsx\", \"\\\\ldots\\\\,\"); // \\let\\DOTSI\\relax\n // \\let\\DOTSB\\relax\n // \\let\\DOTSX\\relax\n defineMacro(\"\\\\DOTSI\", \"\\\\relax\");\n defineMacro(\"\\\\DOTSB\", \"\\\\relax\");\n defineMacro(\"\\\\DOTSX\", \"\\\\relax\"); // Spacing, based on amsmath.sty's override of LaTeX defaults\n // \\DeclareRobustCommand{\\tmspace}[3]{%\n // \\ifmmode\\mskip#1#2\\else\\kern#1#3\\fi\\relax}\n defineMacro(\"\\\\tmspace\", \"\\\\TextOrMath{\\\\kern#1#3}{\\\\mskip#1#2}\\\\relax\"); // \\renewcommand{\\,}{\\tmspace+\\thinmuskip{.1667em}}\n // TODO: math mode should use \\thinmuskip\n defineMacro(\"\\\\,\", \"\\\\tmspace+{3mu}{.1667em}\"); // \\let\\thinspace\\,\n defineMacro(\"\\\\thinspace\", \"\\\\,\"); // \\def\\>{\\mskip\\medmuskip}\n // \\renewcommand{\\:}{\\tmspace+\\medmuskip{.2222em}}\n // TODO: \\> and math mode of \\: should use \\medmuskip = 4mu plus 2mu minus 4mu\n defineMacro(\"\\\\>\", \"\\\\mskip{4mu}\");\n defineMacro(\"\\\\:\", \"\\\\tmspace+{4mu}{.2222em}\"); // \\let\\medspace\\:\n defineMacro(\"\\\\medspace\", \"\\\\:\"); // \\renewcommand{\\;}{\\tmspace+\\thickmuskip{.2777em}}\n // TODO: math mode should use \\thickmuskip = 5mu plus 5mu\n defineMacro(\"\\\\;\", \"\\\\tmspace+{5mu}{.2777em}\"); // \\let\\thickspace\\;\n defineMacro(\"\\\\thickspace\", \"\\\\;\"); // \\renewcommand{\\!}{\\tmspace-\\thinmuskip{.1667em}}\n // TODO: math mode should use \\thinmuskip\n defineMacro(\"\\\\!\", \"\\\\tmspace-{3mu}{.1667em}\"); // \\let\\negthinspace\\!\n defineMacro(\"\\\\negthinspace\", \"\\\\!\"); // \\newcommand{\\negmedspace}{\\tmspace-\\medmuskip{.2222em}}\n // TODO: math mode should use \\medmuskip\n defineMacro(\"\\\\negmedspace\", \"\\\\tmspace-{4mu}{.2222em}\"); // \\newcommand{\\negthickspace}{\\tmspace-\\thickmuskip{.2777em}}\n // TODO: math mode should use \\thickmuskip\n defineMacro(\"\\\\negthickspace\", \"\\\\tmspace-{5mu}{.277em}\"); // \\def\\enspace{\\kern.5em }\n defineMacro(\"\\\\enspace\", \"\\\\kern.5em \"); // \\def\\enskip{\\hskip.5em\\relax}\n defineMacro(\"\\\\enskip\", \"\\\\hskip.5em\\\\relax\"); // \\def\\quad{\\hskip1em\\relax}\n defineMacro(\"\\\\quad\", \"\\\\hskip1em\\\\relax\"); // \\def\\qquad{\\hskip2em\\relax}\n defineMacro(\"\\\\qquad\", \"\\\\hskip2em\\\\relax\"); // \\tag@in@display form of \\tag\n defineMacro(\"\\\\tag\", \"\\\\@ifstar\\\\tag@literal\\\\tag@paren\");\n defineMacro(\"\\\\tag@paren\", \"\\\\tag@literal{({#1})}\");\n defineMacro(\"\\\\tag@literal\", (context)=>{\n if (context.macros.get(\"\\\\df@tag\")) throw new src_ParseError(\"Multiple \\\\tag\");\n return \"\\\\gdef\\\\df@tag{\\\\text{#1}}\";\n }); // \\renewcommand{\\bmod}{\\nonscript\\mskip-\\medmuskip\\mkern5mu\\mathbin\n // {\\operator@font mod}\\penalty900\n // \\mkern5mu\\nonscript\\mskip-\\medmuskip}\n // \\newcommand{\\pod}[1]{\\allowbreak\n // \\if@display\\mkern18mu\\else\\mkern8mu\\fi(#1)}\n // \\renewcommand{\\pmod}[1]{\\pod{{\\operator@font mod}\\mkern6mu#1}}\n // \\newcommand{\\mod}[1]{\\allowbreak\\if@display\\mkern18mu\n // \\else\\mkern12mu\\fi{\\operator@font mod}\\,\\,#1}\n // TODO: math mode should use \\medmuskip = 4mu plus 2mu minus 4mu\n defineMacro(\"\\\\bmod\", \"\\\\mathchoice{\\\\mskip1mu}{\\\\mskip1mu}{\\\\mskip5mu}{\\\\mskip5mu}\\\\mathbin{\\\\rm mod}\\\\mathchoice{\\\\mskip1mu}{\\\\mskip1mu}{\\\\mskip5mu}{\\\\mskip5mu}\");\n defineMacro(\"\\\\pod\", \"\\\\allowbreak\\\\mathchoice{\\\\mkern18mu}{\\\\mkern8mu}{\\\\mkern8mu}{\\\\mkern8mu}(#1)\");\n defineMacro(\"\\\\pmod\", \"\\\\pod{{\\\\rm mod}\\\\mkern6mu#1}\");\n defineMacro(\"\\\\mod\", \"\\\\allowbreak\\\\mathchoice{\\\\mkern18mu}{\\\\mkern12mu}{\\\\mkern12mu}{\\\\mkern12mu}{\\\\rm mod}\\\\,\\\\,#1\"); //////////////////////////////////////////////////////////////////////\n // LaTeX source2e\n // \\expandafter\\let\\expandafter\\@normalcr\n // \\csname\\expandafter\\@gobble\\string\\\\ \\endcsname\n // \\DeclareRobustCommand\\newline{\\@normalcr\\relax}\n defineMacro(\"\\\\newline\", \"\\\\\\\\\\\\relax\"); // \\def\\TeX{T\\kern-.1667em\\lower.5ex\\hbox{E}\\kern-.125emX\\@}\n // TODO: Doesn't normally work in math mode because \\@ fails. KaTeX doesn't\n // support \\@ yet, so that's omitted, and we add \\text so that the result\n // doesn't look funny in math mode.\n defineMacro(\"\\\\TeX\", \"\\\\textrm{\\\\html@mathml{T\\\\kern-.1667em\\\\raisebox{-.5ex}{E}\\\\kern-.125emX}{TeX}}\"); // \\DeclareRobustCommand{\\LaTeX}{L\\kern-.36em%\n // {\\sbox\\z@ T%\n // \\vbox to\\ht\\z@{\\hbox{\\check@mathfonts\n // \\fontsize\\sf@size\\z@\n // \\math@fontsfalse\\selectfont\n // A}%\n // \\vss}%\n // }%\n // \\kern-.15em%\n // \\TeX}\n // This code aligns the top of the A with the T (from the perspective of TeX's\n // boxes, though visually the A appears to extend above slightly).\n // We compute the corresponding \\raisebox when A is rendered in \\normalsize\n // \\scriptstyle, which has a scale factor of 0.7 (see Options.js).\n const latexRaiseA = makeEm(fontMetricsData[\"Main-Regular\"][\"T\".charCodeAt(0)][1] - 0.7 * fontMetricsData[\"Main-Regular\"][\"A\".charCodeAt(0)][1]);\n defineMacro(\"\\\\LaTeX\", \"\\\\textrm{\\\\html@mathml{\" + (\"L\\\\kern-.36em\\\\raisebox{\" + latexRaiseA + \"}{\\\\scriptstyle A}\") + \"\\\\kern-.15em\\\\TeX}{LaTeX}}\"); // New KaTeX logo based on tweaking LaTeX logo\n defineMacro(\"\\\\KaTeX\", \"\\\\textrm{\\\\html@mathml{\" + (\"K\\\\kern-.17em\\\\raisebox{\" + latexRaiseA + \"}{\\\\scriptstyle A}\") + \"\\\\kern-.15em\\\\TeX}{KaTeX}}\"); // \\DeclareRobustCommand\\hspace{\\@ifstar\\@hspacer\\@hspace}\n // \\def\\@hspace#1{\\hskip #1\\relax}\n // \\def\\@hspacer#1{\\vrule \\@width\\z@\\nobreak\n // \\hskip #1\\hskip \\z@skip}\n defineMacro(\"\\\\hspace\", \"\\\\@ifstar\\\\@hspacer\\\\@hspace\");\n defineMacro(\"\\\\@hspace\", \"\\\\hskip #1\\\\relax\");\n defineMacro(\"\\\\@hspacer\", \"\\\\rule{0pt}{0pt}\\\\hskip #1\\\\relax\"); //////////////////////////////////////////////////////////////////////\n // mathtools.sty\n //\\providecommand\\ordinarycolon{:}\n defineMacro(\"\\\\ordinarycolon\", \":\"); //\\def\\vcentcolon{\\mathrel{\\mathop\\ordinarycolon}}\n //TODO(edemaine): Not yet centered. Fix via \\raisebox or #726\n defineMacro(\"\\\\vcentcolon\", \"\\\\mathrel{\\\\mathop\\\\ordinarycolon}\"); // \\providecommand*\\dblcolon{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}\n defineMacro(\"\\\\dblcolon\", '\\\\html@mathml{\\\\mathrel{\\\\vcentcolon\\\\mathrel{\\\\mkern-.9mu}\\\\vcentcolon}}{\\\\mathop{\\\\char\"2237}}'); // \\providecommand*\\coloneqq{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}\n defineMacro(\"\\\\coloneqq\", '\\\\html@mathml{\\\\mathrel{\\\\vcentcolon\\\\mathrel{\\\\mkern-1.2mu}=}}{\\\\mathop{\\\\char\"2254}}'); // ≔\n // \\providecommand*\\Coloneqq{\\dblcolon\\mathrel{\\mkern-1.2mu}=}\n defineMacro(\"\\\\Coloneqq\", '\\\\html@mathml{\\\\mathrel{\\\\dblcolon\\\\mathrel{\\\\mkern-1.2mu}=}}{\\\\mathop{\\\\char\"2237\\\\char\"3d}}'); // \\providecommand*\\coloneq{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}\n defineMacro(\"\\\\coloneq\", '\\\\html@mathml{\\\\mathrel{\\\\vcentcolon\\\\mathrel{\\\\mkern-1.2mu}\\\\mathrel{-}}}{\\\\mathop{\\\\char\"3a\\\\char\"2212}}'); // \\providecommand*\\Coloneq{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}\n defineMacro(\"\\\\Coloneq\", '\\\\html@mathml{\\\\mathrel{\\\\dblcolon\\\\mathrel{\\\\mkern-1.2mu}\\\\mathrel{-}}}{\\\\mathop{\\\\char\"2237\\\\char\"2212}}'); // \\providecommand*\\eqqcolon{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}\n defineMacro(\"\\\\eqqcolon\", '\\\\html@mathml{\\\\mathrel{=\\\\mathrel{\\\\mkern-1.2mu}\\\\vcentcolon}}{\\\\mathop{\\\\char\"2255}}'); // ≕\n // \\providecommand*\\Eqqcolon{=\\mathrel{\\mkern-1.2mu}\\dblcolon}\n defineMacro(\"\\\\Eqqcolon\", '\\\\html@mathml{\\\\mathrel{=\\\\mathrel{\\\\mkern-1.2mu}\\\\dblcolon}}{\\\\mathop{\\\\char\"3d\\\\char\"2237}}'); // \\providecommand*\\eqcolon{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}\n defineMacro(\"\\\\eqcolon\", '\\\\html@mathml{\\\\mathrel{\\\\mathrel{-}\\\\mathrel{\\\\mkern-1.2mu}\\\\vcentcolon}}{\\\\mathop{\\\\char\"2239}}'); // \\providecommand*\\Eqcolon{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}\n defineMacro(\"\\\\Eqcolon\", '\\\\html@mathml{\\\\mathrel{\\\\mathrel{-}\\\\mathrel{\\\\mkern-1.2mu}\\\\dblcolon}}{\\\\mathop{\\\\char\"2212\\\\char\"2237}}'); // \\providecommand*\\colonapprox{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}\n defineMacro(\"\\\\colonapprox\", '\\\\html@mathml{\\\\mathrel{\\\\vcentcolon\\\\mathrel{\\\\mkern-1.2mu}\\\\approx}}{\\\\mathop{\\\\char\"3a\\\\char\"2248}}'); // \\providecommand*\\Colonapprox{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}\n defineMacro(\"\\\\Colonapprox\", '\\\\html@mathml{\\\\mathrel{\\\\dblcolon\\\\mathrel{\\\\mkern-1.2mu}\\\\approx}}{\\\\mathop{\\\\char\"2237\\\\char\"2248}}'); // \\providecommand*\\colonsim{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}\n defineMacro(\"\\\\colonsim\", '\\\\html@mathml{\\\\mathrel{\\\\vcentcolon\\\\mathrel{\\\\mkern-1.2mu}\\\\sim}}{\\\\mathop{\\\\char\"3a\\\\char\"223c}}'); // \\providecommand*\\Colonsim{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}\n defineMacro(\"\\\\Colonsim\", '\\\\html@mathml{\\\\mathrel{\\\\dblcolon\\\\mathrel{\\\\mkern-1.2mu}\\\\sim}}{\\\\mathop{\\\\char\"2237\\\\char\"223c}}'); // Some Unicode characters are implemented with macros to mathtools functions.\n defineMacro(\"\\u2237\", \"\\\\dblcolon\"); // ::\n defineMacro(\"\\u2239\", \"\\\\eqcolon\"); // -:\n defineMacro(\"\\u2254\", \"\\\\coloneqq\"); // :=\n defineMacro(\"\\u2255\", \"\\\\eqqcolon\"); // =:\n defineMacro(\"\\u2A74\", \"\\\\Coloneqq\"); // ::=\n //////////////////////////////////////////////////////////////////////\n // colonequals.sty\n // Alternate names for mathtools's macros:\n defineMacro(\"\\\\ratio\", \"\\\\vcentcolon\");\n defineMacro(\"\\\\coloncolon\", \"\\\\dblcolon\");\n defineMacro(\"\\\\colonequals\", \"\\\\coloneqq\");\n defineMacro(\"\\\\coloncolonequals\", \"\\\\Coloneqq\");\n defineMacro(\"\\\\equalscolon\", \"\\\\eqqcolon\");\n defineMacro(\"\\\\equalscoloncolon\", \"\\\\Eqqcolon\");\n defineMacro(\"\\\\colonminus\", \"\\\\coloneq\");\n defineMacro(\"\\\\coloncolonminus\", \"\\\\Coloneq\");\n defineMacro(\"\\\\minuscolon\", \"\\\\eqcolon\");\n defineMacro(\"\\\\minuscoloncolon\", \"\\\\Eqcolon\"); // \\colonapprox name is same in mathtools and colonequals.\n defineMacro(\"\\\\coloncolonapprox\", \"\\\\Colonapprox\"); // \\colonsim name is same in mathtools and colonequals.\n defineMacro(\"\\\\coloncolonsim\", \"\\\\Colonsim\"); // Additional macros, implemented by analogy with mathtools definitions:\n defineMacro(\"\\\\simcolon\", \"\\\\mathrel{\\\\sim\\\\mathrel{\\\\mkern-1.2mu}\\\\vcentcolon}\");\n defineMacro(\"\\\\simcoloncolon\", \"\\\\mathrel{\\\\sim\\\\mathrel{\\\\mkern-1.2mu}\\\\dblcolon}\");\n defineMacro(\"\\\\approxcolon\", \"\\\\mathrel{\\\\approx\\\\mathrel{\\\\mkern-1.2mu}\\\\vcentcolon}\");\n defineMacro(\"\\\\approxcoloncolon\", \"\\\\mathrel{\\\\approx\\\\mathrel{\\\\mkern-1.2mu}\\\\dblcolon}\"); // Present in newtxmath, pxfonts and txfonts\n defineMacro(\"\\\\notni\", \"\\\\html@mathml{\\\\not\\\\ni}{\\\\mathrel{\\\\char`\\u220C}}\");\n defineMacro(\"\\\\limsup\", \"\\\\DOTSB\\\\operatorname*{lim\\\\,sup}\");\n defineMacro(\"\\\\liminf\", \"\\\\DOTSB\\\\operatorname*{lim\\\\,inf}\"); //////////////////////////////////////////////////////////////////////\n // From amsopn.sty\n defineMacro(\"\\\\injlim\", \"\\\\DOTSB\\\\operatorname*{inj\\\\,lim}\");\n defineMacro(\"\\\\projlim\", \"\\\\DOTSB\\\\operatorname*{proj\\\\,lim}\");\n defineMacro(\"\\\\varlimsup\", \"\\\\DOTSB\\\\operatorname*{\\\\overline{lim}}\");\n defineMacro(\"\\\\varliminf\", \"\\\\DOTSB\\\\operatorname*{\\\\underline{lim}}\");\n defineMacro(\"\\\\varinjlim\", \"\\\\DOTSB\\\\operatorname*{\\\\underrightarrow{lim}}\");\n defineMacro(\"\\\\varprojlim\", \"\\\\DOTSB\\\\operatorname*{\\\\underleftarrow{lim}}\"); //////////////////////////////////////////////////////////////////////\n // MathML alternates for KaTeX glyphs in the Unicode private area\n defineMacro(\"\\\\gvertneqq\", \"\\\\html@mathml{\\\\@gvertneqq}{\\u2269}\");\n defineMacro(\"\\\\lvertneqq\", \"\\\\html@mathml{\\\\@lvertneqq}{\\u2268}\");\n defineMacro(\"\\\\ngeqq\", \"\\\\html@mathml{\\\\@ngeqq}{\\u2271}\");\n defineMacro(\"\\\\ngeqslant\", \"\\\\html@mathml{\\\\@ngeqslant}{\\u2271}\");\n defineMacro(\"\\\\nleqq\", \"\\\\html@mathml{\\\\@nleqq}{\\u2270}\");\n defineMacro(\"\\\\nleqslant\", \"\\\\html@mathml{\\\\@nleqslant}{\\u2270}\");\n defineMacro(\"\\\\nshortmid\", \"\\\\html@mathml{\\\\@nshortmid}{\\u2224}\");\n defineMacro(\"\\\\nshortparallel\", \"\\\\html@mathml{\\\\@nshortparallel}{\\u2226}\");\n defineMacro(\"\\\\nsubseteqq\", \"\\\\html@mathml{\\\\@nsubseteqq}{\\u2288}\");\n defineMacro(\"\\\\nsupseteqq\", \"\\\\html@mathml{\\\\@nsupseteqq}{\\u2289}\");\n defineMacro(\"\\\\varsubsetneq\", \"\\\\html@mathml{\\\\@varsubsetneq}{\\u228A}\");\n defineMacro(\"\\\\varsubsetneqq\", \"\\\\html@mathml{\\\\@varsubsetneqq}{\\u2ACB}\");\n defineMacro(\"\\\\varsupsetneq\", \"\\\\html@mathml{\\\\@varsupsetneq}{\\u228B}\");\n defineMacro(\"\\\\varsupsetneqq\", \"\\\\html@mathml{\\\\@varsupsetneqq}{\\u2ACC}\");\n defineMacro(\"\\\\imath\", \"\\\\html@mathml{\\\\@imath}{\\u0131}\");\n defineMacro(\"\\\\jmath\", \"\\\\html@mathml{\\\\@jmath}{\\u0237}\"); //////////////////////////////////////////////////////////////////////\n // stmaryrd and semantic\n // The stmaryrd and semantic packages render the next four items by calling a\n // glyph. Those glyphs do not exist in the KaTeX fonts. Hence the macros.\n defineMacro(\"\\\\llbracket\", \"\\\\html@mathml{\\\\mathopen{[\\\\mkern-3.2mu[}}{\\\\mathopen{\\\\char`\\u27E6}}\");\n defineMacro(\"\\\\rrbracket\", \"\\\\html@mathml{\\\\mathclose{]\\\\mkern-3.2mu]}}{\\\\mathclose{\\\\char`\\u27E7}}\");\n defineMacro(\"\\u27E6\", \"\\\\llbracket\"); // blackboard bold [\n defineMacro(\"\\u27E7\", \"\\\\rrbracket\"); // blackboard bold ]\n defineMacro(\"\\\\lBrace\", \"\\\\html@mathml{\\\\mathopen{\\\\{\\\\mkern-3.2mu[}}{\\\\mathopen{\\\\char`\\u2983}}\");\n defineMacro(\"\\\\rBrace\", \"\\\\html@mathml{\\\\mathclose{]\\\\mkern-3.2mu\\\\}}}{\\\\mathclose{\\\\char`\\u2984}}\");\n defineMacro(\"\\u2983\", \"\\\\lBrace\"); // blackboard bold {\n defineMacro(\"\\u2984\", \"\\\\rBrace\"); // blackboard bold }\n // TODO: Create variable sized versions of the last two items. I believe that\n // will require new font glyphs.\n // The stmaryrd function `\\minuso` provides a \"Plimsoll\" symbol that\n // superimposes the characters \\circ and \\mathminus. Used in chemistry.\n defineMacro(\"\\\\minuso\", \"\\\\mathbin{\\\\html@mathml{{\\\\mathrlap{\\\\mathchoice{\\\\kern{0.145em}}{\\\\kern{0.145em}}{\\\\kern{0.1015em}}{\\\\kern{0.0725em}}\\\\circ}{-}}}{\\\\char`\\u29B5}}\");\n defineMacro(\"\\u29B5\", \"\\\\minuso\"); //////////////////////////////////////////////////////////////////////\n // texvc.sty\n // The texvc package contains macros available in mediawiki pages.\n // We omit the functions deprecated at\n // https://en.wikipedia.org/wiki/Help:Displaying_a_formula#Deprecated_syntax\n // We also omit texvc's \\O, which conflicts with \\text{\\O}\n defineMacro(\"\\\\darr\", \"\\\\downarrow\");\n defineMacro(\"\\\\dArr\", \"\\\\Downarrow\");\n defineMacro(\"\\\\Darr\", \"\\\\Downarrow\");\n defineMacro(\"\\\\lang\", \"\\\\langle\");\n defineMacro(\"\\\\rang\", \"\\\\rangle\");\n defineMacro(\"\\\\uarr\", \"\\\\uparrow\");\n defineMacro(\"\\\\uArr\", \"\\\\Uparrow\");\n defineMacro(\"\\\\Uarr\", \"\\\\Uparrow\");\n defineMacro(\"\\\\N\", \"\\\\mathbb{N}\");\n defineMacro(\"\\\\R\", \"\\\\mathbb{R}\");\n defineMacro(\"\\\\Z\", \"\\\\mathbb{Z}\");\n defineMacro(\"\\\\alef\", \"\\\\aleph\");\n defineMacro(\"\\\\alefsym\", \"\\\\aleph\");\n defineMacro(\"\\\\Alpha\", \"\\\\mathrm{A}\");\n defineMacro(\"\\\\Beta\", \"\\\\mathrm{B}\");\n defineMacro(\"\\\\bull\", \"\\\\bullet\");\n defineMacro(\"\\\\Chi\", \"\\\\mathrm{X}\");\n defineMacro(\"\\\\clubs\", \"\\\\clubsuit\");\n defineMacro(\"\\\\cnums\", \"\\\\mathbb{C}\");\n defineMacro(\"\\\\Complex\", \"\\\\mathbb{C}\");\n defineMacro(\"\\\\Dagger\", \"\\\\ddagger\");\n defineMacro(\"\\\\diamonds\", \"\\\\diamondsuit\");\n defineMacro(\"\\\\empty\", \"\\\\emptyset\");\n defineMacro(\"\\\\Epsilon\", \"\\\\mathrm{E}\");\n defineMacro(\"\\\\Eta\", \"\\\\mathrm{H}\");\n defineMacro(\"\\\\exist\", \"\\\\exists\");\n defineMacro(\"\\\\harr\", \"\\\\leftrightarrow\");\n defineMacro(\"\\\\hArr\", \"\\\\Leftrightarrow\");\n defineMacro(\"\\\\Harr\", \"\\\\Leftrightarrow\");\n defineMacro(\"\\\\hearts\", \"\\\\heartsuit\");\n defineMacro(\"\\\\image\", \"\\\\Im\");\n defineMacro(\"\\\\infin\", \"\\\\infty\");\n defineMacro(\"\\\\Iota\", \"\\\\mathrm{I}\");\n defineMacro(\"\\\\isin\", \"\\\\in\");\n defineMacro(\"\\\\Kappa\", \"\\\\mathrm{K}\");\n defineMacro(\"\\\\larr\", \"\\\\leftarrow\");\n defineMacro(\"\\\\lArr\", \"\\\\Leftarrow\");\n defineMacro(\"\\\\Larr\", \"\\\\Leftarrow\");\n defineMacro(\"\\\\lrarr\", \"\\\\leftrightarrow\");\n defineMacro(\"\\\\lrArr\", \"\\\\Leftrightarrow\");\n defineMacro(\"\\\\Lrarr\", \"\\\\Leftrightarrow\");\n defineMacro(\"\\\\Mu\", \"\\\\mathrm{M}\");\n defineMacro(\"\\\\natnums\", \"\\\\mathbb{N}\");\n defineMacro(\"\\\\Nu\", \"\\\\mathrm{N}\");\n defineMacro(\"\\\\Omicron\", \"\\\\mathrm{O}\");\n defineMacro(\"\\\\plusmn\", \"\\\\pm\");\n defineMacro(\"\\\\rarr\", \"\\\\rightarrow\");\n defineMacro(\"\\\\rArr\", \"\\\\Rightarrow\");\n defineMacro(\"\\\\Rarr\", \"\\\\Rightarrow\");\n defineMacro(\"\\\\real\", \"\\\\Re\");\n defineMacro(\"\\\\reals\", \"\\\\mathbb{R}\");\n defineMacro(\"\\\\Reals\", \"\\\\mathbb{R}\");\n defineMacro(\"\\\\Rho\", \"\\\\mathrm{P}\");\n defineMacro(\"\\\\sdot\", \"\\\\cdot\");\n defineMacro(\"\\\\sect\", \"\\\\S\");\n defineMacro(\"\\\\spades\", \"\\\\spadesuit\");\n defineMacro(\"\\\\sub\", \"\\\\subset\");\n defineMacro(\"\\\\sube\", \"\\\\subseteq\");\n defineMacro(\"\\\\supe\", \"\\\\supseteq\");\n defineMacro(\"\\\\Tau\", \"\\\\mathrm{T}\");\n defineMacro(\"\\\\thetasym\", \"\\\\vartheta\"); // TODO: defineMacro(\"\\\\varcoppa\", \"\\\\\\mbox{\\\\coppa}\");\n defineMacro(\"\\\\weierp\", \"\\\\wp\");\n defineMacro(\"\\\\Zeta\", \"\\\\mathrm{Z}\"); //////////////////////////////////////////////////////////////////////\n // statmath.sty\n // https://ctan.math.illinois.edu/macros/latex/contrib/statmath/statmath.pdf\n defineMacro(\"\\\\argmin\", \"\\\\DOTSB\\\\operatorname*{arg\\\\,min}\");\n defineMacro(\"\\\\argmax\", \"\\\\DOTSB\\\\operatorname*{arg\\\\,max}\");\n defineMacro(\"\\\\plim\", \"\\\\DOTSB\\\\mathop{\\\\operatorname{plim}}\\\\limits\"); //////////////////////////////////////////////////////////////////////\n // braket.sty\n // http://ctan.math.washington.edu/tex-archive/macros/latex/contrib/braket/braket.pdf\n defineMacro(\"\\\\bra\", \"\\\\mathinner{\\\\langle{#1}|}\");\n defineMacro(\"\\\\ket\", \"\\\\mathinner{|{#1}\\\\rangle}\");\n defineMacro(\"\\\\braket\", \"\\\\mathinner{\\\\langle{#1}\\\\rangle}\");\n defineMacro(\"\\\\Bra\", \"\\\\left\\\\langle#1\\\\right|\");\n defineMacro(\"\\\\Ket\", \"\\\\left|#1\\\\right\\\\rangle\");\n const braketHelper = (one)=>(context)=>{\n const left = context.consumeArg().tokens;\n const middle = context.consumeArg().tokens;\n const middleDouble = context.consumeArg().tokens;\n const right = context.consumeArg().tokens;\n const oldMiddle = context.macros.get(\"|\");\n const oldMiddleDouble = context.macros.get(\"\\\\|\");\n context.macros.beginGroup();\n const midMacro = (double)=>(context)=>{\n if (one) {\n // Only modify the first instance of | or \\|\n context.macros.set(\"|\", oldMiddle);\n if (middleDouble.length) context.macros.set(\"\\\\|\", oldMiddleDouble);\n }\n let doubled = double;\n if (!double && middleDouble.length) {\n // Mimic \\@ifnextchar\n const nextToken = context.future();\n if (nextToken.text === \"|\") {\n context.popToken();\n doubled = true;\n }\n }\n return {\n tokens: doubled ? middleDouble : middle,\n numArgs: 0\n };\n };\n context.macros.set(\"|\", midMacro(false));\n if (middleDouble.length) context.macros.set(\"\\\\|\", midMacro(true));\n const arg = context.consumeArg().tokens;\n const expanded = context.expandTokens([\n ...right,\n ...arg,\n ...left // reversed\n ]);\n context.macros.endGroup();\n return {\n tokens: expanded.reverse(),\n numArgs: 0\n };\n };\n defineMacro(\"\\\\bra@ket\", braketHelper(false));\n defineMacro(\"\\\\bra@set\", braketHelper(true));\n defineMacro(\"\\\\Braket\", \"\\\\bra@ket{\\\\left\\\\langle}{\\\\,\\\\middle\\\\vert\\\\,}{\\\\,\\\\middle\\\\vert\\\\,}{\\\\right\\\\rangle}\");\n defineMacro(\"\\\\Set\", \"\\\\bra@set{\\\\left\\\\{\\\\:}{\\\\;\\\\middle\\\\vert\\\\;}{\\\\;\\\\middle\\\\Vert\\\\;}{\\\\:\\\\right\\\\}}\");\n defineMacro(\"\\\\set\", \"\\\\bra@set{\\\\{\\\\,}{\\\\mid}{}{\\\\,\\\\}}\"); // has no support for special || or \\|\n //////////////////////////////////////////////////////////////////////\n // actuarialangle.dtx\n defineMacro(\"\\\\angln\", \"{\\\\angl n}\"); // Custom Khan Academy colors, should be moved to an optional package\n defineMacro(\"\\\\blue\", \"\\\\textcolor{##6495ed}{#1}\");\n defineMacro(\"\\\\orange\", \"\\\\textcolor{##ffa500}{#1}\");\n defineMacro(\"\\\\pink\", \"\\\\textcolor{##ff00af}{#1}\");\n defineMacro(\"\\\\red\", \"\\\\textcolor{##df0030}{#1}\");\n defineMacro(\"\\\\green\", \"\\\\textcolor{##28ae7b}{#1}\");\n defineMacro(\"\\\\gray\", \"\\\\textcolor{gray}{#1}\");\n defineMacro(\"\\\\purple\", \"\\\\textcolor{##9d38bd}{#1}\");\n defineMacro(\"\\\\blueA\", \"\\\\textcolor{##ccfaff}{#1}\");\n defineMacro(\"\\\\blueB\", \"\\\\textcolor{##80f6ff}{#1}\");\n defineMacro(\"\\\\blueC\", \"\\\\textcolor{##63d9ea}{#1}\");\n defineMacro(\"\\\\blueD\", \"\\\\textcolor{##11accd}{#1}\");\n defineMacro(\"\\\\blueE\", \"\\\\textcolor{##0c7f99}{#1}\");\n defineMacro(\"\\\\tealA\", \"\\\\textcolor{##94fff5}{#1}\");\n defineMacro(\"\\\\tealB\", \"\\\\textcolor{##26edd5}{#1}\");\n defineMacro(\"\\\\tealC\", \"\\\\textcolor{##01d1c1}{#1}\");\n defineMacro(\"\\\\tealD\", \"\\\\textcolor{##01a995}{#1}\");\n defineMacro(\"\\\\tealE\", \"\\\\textcolor{##208170}{#1}\");\n defineMacro(\"\\\\greenA\", \"\\\\textcolor{##b6ffb0}{#1}\");\n defineMacro(\"\\\\greenB\", \"\\\\textcolor{##8af281}{#1}\");\n defineMacro(\"\\\\greenC\", \"\\\\textcolor{##74cf70}{#1}\");\n defineMacro(\"\\\\greenD\", \"\\\\textcolor{##1fab54}{#1}\");\n defineMacro(\"\\\\greenE\", \"\\\\textcolor{##0d923f}{#1}\");\n defineMacro(\"\\\\goldA\", \"\\\\textcolor{##ffd0a9}{#1}\");\n defineMacro(\"\\\\goldB\", \"\\\\textcolor{##ffbb71}{#1}\");\n defineMacro(\"\\\\goldC\", \"\\\\textcolor{##ff9c39}{#1}\");\n defineMacro(\"\\\\goldD\", \"\\\\textcolor{##e07d10}{#1}\");\n defineMacro(\"\\\\goldE\", \"\\\\textcolor{##a75a05}{#1}\");\n defineMacro(\"\\\\redA\", \"\\\\textcolor{##fca9a9}{#1}\");\n defineMacro(\"\\\\redB\", \"\\\\textcolor{##ff8482}{#1}\");\n defineMacro(\"\\\\redC\", \"\\\\textcolor{##f9685d}{#1}\");\n defineMacro(\"\\\\redD\", \"\\\\textcolor{##e84d39}{#1}\");\n defineMacro(\"\\\\redE\", \"\\\\textcolor{##bc2612}{#1}\");\n defineMacro(\"\\\\maroonA\", \"\\\\textcolor{##ffbde0}{#1}\");\n defineMacro(\"\\\\maroonB\", \"\\\\textcolor{##ff92c6}{#1}\");\n defineMacro(\"\\\\maroonC\", \"\\\\textcolor{##ed5fa6}{#1}\");\n defineMacro(\"\\\\maroonD\", \"\\\\textcolor{##ca337c}{#1}\");\n defineMacro(\"\\\\maroonE\", \"\\\\textcolor{##9e034e}{#1}\");\n defineMacro(\"\\\\purpleA\", \"\\\\textcolor{##ddd7ff}{#1}\");\n defineMacro(\"\\\\purpleB\", \"\\\\textcolor{##c6b9fc}{#1}\");\n defineMacro(\"\\\\purpleC\", \"\\\\textcolor{##aa87ff}{#1}\");\n defineMacro(\"\\\\purpleD\", \"\\\\textcolor{##7854ab}{#1}\");\n defineMacro(\"\\\\purpleE\", \"\\\\textcolor{##543b78}{#1}\");\n defineMacro(\"\\\\mintA\", \"\\\\textcolor{##f5f9e8}{#1}\");\n defineMacro(\"\\\\mintB\", \"\\\\textcolor{##edf2df}{#1}\");\n defineMacro(\"\\\\mintC\", \"\\\\textcolor{##e0e5cc}{#1}\");\n defineMacro(\"\\\\grayA\", \"\\\\textcolor{##f6f7f7}{#1}\");\n defineMacro(\"\\\\grayB\", \"\\\\textcolor{##f0f1f2}{#1}\");\n defineMacro(\"\\\\grayC\", \"\\\\textcolor{##e3e5e6}{#1}\");\n defineMacro(\"\\\\grayD\", \"\\\\textcolor{##d6d8da}{#1}\");\n defineMacro(\"\\\\grayE\", \"\\\\textcolor{##babec2}{#1}\");\n defineMacro(\"\\\\grayF\", \"\\\\textcolor{##888d93}{#1}\");\n defineMacro(\"\\\\grayG\", \"\\\\textcolor{##626569}{#1}\");\n defineMacro(\"\\\\grayH\", \"\\\\textcolor{##3b3e40}{#1}\");\n defineMacro(\"\\\\grayI\", \"\\\\textcolor{##21242c}{#1}\");\n defineMacro(\"\\\\kaBlue\", \"\\\\textcolor{##314453}{#1}\");\n defineMacro(\"\\\\kaGreen\", \"\\\\textcolor{##71B307}{#1}\");\n /**\n * This file contains the “gullet” where macros are expanded\n * until only non-macro tokens remain.\n */ // List of commands that act like macros but aren't defined as a macro,\n // function, or symbol. Used in `isDefined`.\n const implicitCommands = {\n \"^\": true,\n // Parser.js\n \"_\": true,\n // Parser.js\n \"\\\\limits\": true,\n // Parser.js\n \"\\\\nolimits\": true // Parser.js\n };\n class MacroExpander {\n constructor(input, settings, mode){\n this.settings = void 0;\n this.expansionCount = void 0;\n this.lexer = void 0;\n this.macros = void 0;\n this.stack = void 0;\n this.mode = void 0;\n this.settings = settings;\n this.expansionCount = 0;\n this.feed(input); // Make new global namespace\n this.macros = new Namespace(src_macros, settings.macros);\n this.mode = mode;\n this.stack = []; // contains tokens in REVERSE order\n }\n /**\n * Feed a new input string to the same MacroExpander\n * (with existing macros etc.).\n */ feed(input) {\n this.lexer = new Lexer(input, this.settings);\n }\n /**\n * Switches between \"text\" and \"math\" modes.\n */ switchMode(newMode) {\n this.mode = newMode;\n }\n /**\n * Start a new group nesting within all namespaces.\n */ beginGroup() {\n this.macros.beginGroup();\n }\n /**\n * End current group nesting within all namespaces.\n */ endGroup() {\n this.macros.endGroup();\n }\n /**\n * Ends all currently nested groups (if any), restoring values before the\n * groups began. Useful in case of an error in the middle of parsing.\n */ endGroups() {\n this.macros.endGroups();\n }\n /**\n * Returns the topmost token on the stack, without expanding it.\n * Similar in behavior to TeX's `\\futurelet`.\n */ future() {\n if (this.stack.length === 0) this.pushToken(this.lexer.lex());\n return this.stack[this.stack.length - 1];\n }\n /**\n * Remove and return the next unexpanded token.\n */ popToken() {\n this.future(); // ensure non-empty stack\n return this.stack.pop();\n }\n /**\n * Add a given token to the token stack. In particular, this get be used\n * to put back a token returned from one of the other methods.\n */ pushToken(token) {\n this.stack.push(token);\n }\n /**\n * Append an array of tokens to the token stack.\n */ pushTokens(tokens) {\n this.stack.push(...tokens);\n }\n /**\n * Find an macro argument without expanding tokens and append the array of\n * tokens to the token stack. Uses Token as a container for the result.\n */ scanArgument(isOptional) {\n let start;\n let end;\n let tokens;\n if (isOptional) {\n this.consumeSpaces(); // \\@ifnextchar gobbles any space following it\n if (this.future().text !== \"[\") return null;\n start = this.popToken(); // don't include [ in tokens\n ({ tokens: tokens, end: end } = this.consumeArg([\n \"]\"\n ]));\n } else ({ tokens: tokens, start: start, end: end } = this.consumeArg());\n // indicate the end of an argument\n this.pushToken(new Token(\"EOF\", end.loc));\n this.pushTokens(tokens);\n return start.range(end, \"\");\n }\n /**\n * Consume all following space tokens, without expansion.\n */ consumeSpaces() {\n for(;;){\n const token = this.future();\n if (token.text === \" \") this.stack.pop();\n else break;\n }\n }\n /**\n * Consume an argument from the token stream, and return the resulting array\n * of tokens and start/end token.\n */ consumeArg(delims) {\n // The argument for a delimited parameter is the shortest (possibly\n // empty) sequence of tokens with properly nested {...} groups that is\n // followed ... by this particular list of non-parameter tokens.\n // The argument for an undelimited parameter is the next nonblank\n // token, unless that token is ‘{’, when the argument will be the\n // entire {...} group that follows.\n const tokens = [];\n const isDelimited = delims && delims.length > 0;\n if (!isDelimited) // Ignore spaces between arguments. As the TeXbook says:\n // \"After you have said ‘\\def\\row#1#2{...}’, you are allowed to\n // put spaces between the arguments (e.g., ‘\\row x n’), because\n // TeX doesn’t use single spaces as undelimited arguments.\"\n this.consumeSpaces();\n const start = this.future();\n let tok;\n let depth = 0;\n let match = 0;\n do {\n tok = this.popToken();\n tokens.push(tok);\n if (tok.text === \"{\") ++depth;\n else if (tok.text === \"}\") {\n --depth;\n if (depth === -1) throw new src_ParseError(\"Extra }\", tok);\n } else if (tok.text === \"EOF\") throw new src_ParseError(\"Unexpected end of input in a macro argument, expected '\" + (delims && isDelimited ? delims[match] : \"}\") + \"'\", tok);\n if (delims && isDelimited) {\n if ((depth === 0 || depth === 1 && delims[match] === \"{\") && tok.text === delims[match]) {\n ++match;\n if (match === delims.length) {\n // don't include delims in tokens\n tokens.splice(-match, match);\n break;\n }\n } else match = 0;\n }\n }while (depth !== 0 || isDelimited); // If the argument found ... has the form ‘{}’,\n // ... the outermost braces enclosing the argument are removed\n if (start.text === \"{\" && tokens[tokens.length - 1].text === \"}\") {\n tokens.pop();\n tokens.shift();\n }\n tokens.reverse(); // to fit in with stack order\n return {\n tokens: tokens,\n start: start,\n end: tok\n };\n }\n /**\n * Consume the specified number of (delimited) arguments from the token\n * stream and return the resulting array of arguments.\n */ consumeArgs(numArgs, delimiters) {\n if (delimiters) {\n if (delimiters.length !== numArgs + 1) throw new src_ParseError(\"The length of delimiters doesn't match the number of args!\");\n const delims = delimiters[0];\n for(let i = 0; i < delims.length; i++){\n const tok = this.popToken();\n if (delims[i] !== tok.text) throw new src_ParseError(\"Use of the macro doesn't match its definition\", tok);\n }\n }\n const args = [];\n for(let i = 0; i < numArgs; i++)args.push(this.consumeArg(delimiters && delimiters[i + 1]).tokens);\n return args;\n }\n /**\n * Increment `expansionCount` by the specified amount.\n * Throw an error if it exceeds `maxExpand`.\n */ countExpansion(amount) {\n this.expansionCount += amount;\n if (this.expansionCount > this.settings.maxExpand) throw new src_ParseError(\"Too many expansions: infinite loop or need to increase maxExpand setting\");\n }\n /**\n * Expand the next token only once if possible.\n *\n * If the token is expanded, the resulting tokens will be pushed onto\n * the stack in reverse order, and the number of such tokens will be\n * returned. This number might be zero or positive.\n *\n * If not, the return value is `false`, and the next token remains at the\n * top of the stack.\n *\n * In either case, the next token will be on the top of the stack,\n * or the stack will be empty (in case of empty expansion\n * and no other tokens).\n *\n * Used to implement `expandAfterFuture` and `expandNextToken`.\n *\n * If expandableOnly, only expandable tokens are expanded and\n * an undefined control sequence results in an error.\n */ expandOnce(expandableOnly) {\n const topToken = this.popToken();\n const name = topToken.text;\n const expansion = !topToken.noexpand ? this._getExpansion(name) : null;\n if (expansion == null || expandableOnly && expansion.unexpandable) {\n if (expandableOnly && expansion == null && name[0] === \"\\\\\" && !this.isDefined(name)) throw new src_ParseError(\"Undefined control sequence: \" + name);\n this.pushToken(topToken);\n return false;\n }\n this.countExpansion(1);\n let tokens = expansion.tokens;\n const args = this.consumeArgs(expansion.numArgs, expansion.delimiters);\n if (expansion.numArgs) {\n // paste arguments in place of the placeholders\n tokens = tokens.slice(); // make a shallow copy\n for(let i = tokens.length - 1; i >= 0; --i){\n let tok = tokens[i];\n if (tok.text === \"#\") {\n if (i === 0) throw new src_ParseError(\"Incomplete placeholder at end of macro body\", tok);\n tok = tokens[--i]; // next token on stack\n if (tok.text === \"#\") // ## → #\n tokens.splice(i + 1, 1); // drop first #\n else if (/^[1-9]$/.test(tok.text)) // replace the placeholder with the indicated argument\n tokens.splice(i, 2, ...args[+tok.text - 1]);\n else throw new src_ParseError(\"Not a valid argument number\", tok);\n }\n }\n } // Concatenate expansion onto top of stack.\n this.pushTokens(tokens);\n return tokens.length;\n }\n /**\n * Expand the next token only once (if possible), and return the resulting\n * top token on the stack (without removing anything from the stack).\n * Similar in behavior to TeX's `\\expandafter\\futurelet`.\n * Equivalent to expandOnce() followed by future().\n */ expandAfterFuture() {\n this.expandOnce();\n return this.future();\n }\n /**\n * Recursively expand first token, then return first non-expandable token.\n */ expandNextToken() {\n for(;;)if (this.expandOnce() === false) {\n // fully expanded\n const token = this.stack.pop(); // the token after \\noexpand is interpreted as if its meaning\n // were ‘\\relax’\n if (token.treatAsRelax) token.text = \"\\\\relax\";\n return token;\n }\n // Flow unable to figure out that this pathway is impossible.\n // https://github.com/facebook/flow/issues/4808\n throw new Error(); // eslint-disable-line no-unreachable\n }\n /**\n * Fully expand the given macro name and return the resulting list of\n * tokens, or return `undefined` if no such macro is defined.\n */ expandMacro(name) {\n return this.macros.has(name) ? this.expandTokens([\n new Token(name)\n ]) : undefined;\n }\n /**\n * Fully expand the given token stream and return the resulting list of\n * tokens. Note that the input tokens are in reverse order, but the\n * output tokens are in forward order.\n */ expandTokens(tokens) {\n const output = [];\n const oldStackLength = this.stack.length;\n this.pushTokens(tokens);\n while(this.stack.length > oldStackLength)// Expand only expandable tokens\n if (this.expandOnce(true) === false) {\n // fully expanded\n const token = this.stack.pop();\n if (token.treatAsRelax) {\n // the expansion of \\noexpand is the token itself\n token.noexpand = false;\n token.treatAsRelax = false;\n }\n output.push(token);\n }\n // Count all of these tokens as additional expansions, to prevent\n // exponential blowup from linearly many \\edef's.\n this.countExpansion(output.length);\n return output;\n }\n /**\n * Fully expand the given macro name and return the result as a string,\n * or return `undefined` if no such macro is defined.\n */ expandMacroAsText(name) {\n const tokens = this.expandMacro(name);\n if (tokens) return tokens.map((token)=>token.text).join(\"\");\n else return tokens;\n }\n /**\n * Returns the expanded macro as a reversed array of tokens and a macro\n * argument count. Or returns `null` if no such macro.\n */ _getExpansion(name) {\n const definition = this.macros.get(name);\n if (definition == null) // mainly checking for undefined here\n return definition;\n // If a single character has an associated catcode other than 13\n // (active character), then don't expand it.\n if (name.length === 1) {\n const catcode = this.lexer.catcodes[name];\n if (catcode != null && catcode !== 13) return;\n }\n const expansion = typeof definition === \"function\" ? definition(this) : definition;\n if (typeof expansion === \"string\") {\n let numArgs = 0;\n if (expansion.indexOf(\"#\") !== -1) {\n const stripped = expansion.replace(/##/g, \"\");\n while(stripped.indexOf(\"#\" + (numArgs + 1)) !== -1)++numArgs;\n }\n const bodyLexer = new Lexer(expansion, this.settings);\n const tokens = [];\n let tok = bodyLexer.lex();\n while(tok.text !== \"EOF\"){\n tokens.push(tok);\n tok = bodyLexer.lex();\n }\n tokens.reverse(); // to fit in with stack using push and pop\n const expanded = {\n tokens: tokens,\n numArgs: numArgs\n };\n return expanded;\n }\n return expansion;\n }\n /**\n * Determine whether a command is currently \"defined\" (has some\n * functionality), meaning that it's a macro (in the current group),\n * a function, a symbol, or one of the special commands listed in\n * `implicitCommands`.\n */ isDefined(name) {\n return this.macros.has(name) || src_functions.hasOwnProperty(name) || src_symbols.math.hasOwnProperty(name) || src_symbols.text.hasOwnProperty(name) || implicitCommands.hasOwnProperty(name);\n }\n /**\n * Determine whether a command is expandable.\n */ isExpandable(name) {\n const macro = this.macros.get(name);\n return macro != null ? typeof macro === \"string\" || typeof macro === \"function\" || !macro.unexpandable : src_functions.hasOwnProperty(name) && !src_functions[name].primitive;\n }\n }\n // Helpers for Parser.js handling of Unicode (sub|super)script characters.\n const unicodeSubRegEx = /^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/;\n const uSubsAndSups = Object.freeze({\n \"\\u208A\": \"+\",\n \"\\u208B\": \"-\",\n \"\\u208C\": \"=\",\n \"\\u208D\": \"(\",\n \"\\u208E\": \")\",\n \"\\u2080\": \"0\",\n \"\\u2081\": \"1\",\n \"\\u2082\": \"2\",\n \"\\u2083\": \"3\",\n \"\\u2084\": \"4\",\n \"\\u2085\": \"5\",\n \"\\u2086\": \"6\",\n \"\\u2087\": \"7\",\n \"\\u2088\": \"8\",\n \"\\u2089\": \"9\",\n \"\\u2090\": \"a\",\n \"\\u2091\": \"e\",\n \"\\u2095\": \"h\",\n \"\\u1D62\": \"i\",\n \"\\u2C7C\": \"j\",\n \"\\u2096\": \"k\",\n \"\\u2097\": \"l\",\n \"\\u2098\": \"m\",\n \"\\u2099\": \"n\",\n \"\\u2092\": \"o\",\n \"\\u209A\": \"p\",\n \"\\u1D63\": \"r\",\n \"\\u209B\": \"s\",\n \"\\u209C\": \"t\",\n \"\\u1D64\": \"u\",\n \"\\u1D65\": \"v\",\n \"\\u2093\": \"x\",\n \"\\u1D66\": \"\\u03B2\",\n \"\\u1D67\": \"\\u03B3\",\n \"\\u1D68\": \"\\u03C1\",\n \"\\u1D69\": \"\\u03D5\",\n \"\\u1D6A\": \"\\u03C7\",\n \"\\u207A\": \"+\",\n \"\\u207B\": \"-\",\n \"\\u207C\": \"=\",\n \"\\u207D\": \"(\",\n \"\\u207E\": \")\",\n \"\\u2070\": \"0\",\n \"\\xb9\": \"1\",\n \"\\xb2\": \"2\",\n \"\\xb3\": \"3\",\n \"\\u2074\": \"4\",\n \"\\u2075\": \"5\",\n \"\\u2076\": \"6\",\n \"\\u2077\": \"7\",\n \"\\u2078\": \"8\",\n \"\\u2079\": \"9\",\n \"\\u1D2C\": \"A\",\n \"\\u1D2E\": \"B\",\n \"\\u1D30\": \"D\",\n \"\\u1D31\": \"E\",\n \"\\u1D33\": \"G\",\n \"\\u1D34\": \"H\",\n \"\\u1D35\": \"I\",\n \"\\u1D36\": \"J\",\n \"\\u1D37\": \"K\",\n \"\\u1D38\": \"L\",\n \"\\u1D39\": \"M\",\n \"\\u1D3A\": \"N\",\n \"\\u1D3C\": \"O\",\n \"\\u1D3E\": \"P\",\n \"\\u1D3F\": \"R\",\n \"\\u1D40\": \"T\",\n \"\\u1D41\": \"U\",\n \"\\u2C7D\": \"V\",\n \"\\u1D42\": \"W\",\n \"\\u1D43\": \"a\",\n \"\\u1D47\": \"b\",\n \"\\u1D9C\": \"c\",\n \"\\u1D48\": \"d\",\n \"\\u1D49\": \"e\",\n \"\\u1DA0\": \"f\",\n \"\\u1D4D\": \"g\",\n \"\\u02B0\": \"h\",\n \"\\u2071\": \"i\",\n \"\\u02B2\": \"j\",\n \"\\u1D4F\": \"k\",\n \"\\u02E1\": \"l\",\n \"\\u1D50\": \"m\",\n \"\\u207F\": \"n\",\n \"\\u1D52\": \"o\",\n \"\\u1D56\": \"p\",\n \"\\u02B3\": \"r\",\n \"\\u02E2\": \"s\",\n \"\\u1D57\": \"t\",\n \"\\u1D58\": \"u\",\n \"\\u1D5B\": \"v\",\n \"\\u02B7\": \"w\",\n \"\\u02E3\": \"x\",\n \"\\u02B8\": \"y\",\n \"\\u1DBB\": \"z\",\n \"\\u1D5D\": \"\\u03B2\",\n \"\\u1D5E\": \"\\u03B3\",\n \"\\u1D5F\": \"\\u03B4\",\n \"\\u1D60\": \"\\u03D5\",\n \"\\u1D61\": \"\\u03C7\",\n \"\\u1DBF\": \"\\u03B8\"\n });\n /* eslint no-constant-condition:0 */ // Pre-evaluate both modules as unicodeSymbols require String.normalize()\n const unicodeAccents = {\n \"\\u0301\": {\n \"text\": \"\\\\'\",\n \"math\": \"\\\\acute\"\n },\n \"\\u0300\": {\n \"text\": \"\\\\`\",\n \"math\": \"\\\\grave\"\n },\n \"\\u0308\": {\n \"text\": '\\\\\"',\n \"math\": \"\\\\ddot\"\n },\n \"\\u0303\": {\n \"text\": \"\\\\~\",\n \"math\": \"\\\\tilde\"\n },\n \"\\u0304\": {\n \"text\": \"\\\\=\",\n \"math\": \"\\\\bar\"\n },\n \"\\u0306\": {\n \"text\": \"\\\\u\",\n \"math\": \"\\\\breve\"\n },\n \"\\u030C\": {\n \"text\": \"\\\\v\",\n \"math\": \"\\\\check\"\n },\n \"\\u0302\": {\n \"text\": \"\\\\^\",\n \"math\": \"\\\\hat\"\n },\n \"\\u0307\": {\n \"text\": \"\\\\.\",\n \"math\": \"\\\\dot\"\n },\n \"\\u030A\": {\n \"text\": \"\\\\r\",\n \"math\": \"\\\\mathring\"\n },\n \"\\u030B\": {\n \"text\": \"\\\\H\"\n },\n \"\\u0327\": {\n \"text\": \"\\\\c\"\n }\n };\n const unicodeSymbols = {\n \"\\xe1\": \"a\\u0301\",\n \"\\xe0\": \"a\\u0300\",\n \"\\xe4\": \"a\\u0308\",\n \"\\u01DF\": \"a\\u0308\\u0304\",\n \"\\xe3\": \"a\\u0303\",\n \"\\u0101\": \"a\\u0304\",\n \"\\u0103\": \"a\\u0306\",\n \"\\u1EAF\": \"a\\u0306\\u0301\",\n \"\\u1EB1\": \"a\\u0306\\u0300\",\n \"\\u1EB5\": \"a\\u0306\\u0303\",\n \"\\u01CE\": \"a\\u030C\",\n \"\\xe2\": \"a\\u0302\",\n \"\\u1EA5\": \"a\\u0302\\u0301\",\n \"\\u1EA7\": \"a\\u0302\\u0300\",\n \"\\u1EAB\": \"a\\u0302\\u0303\",\n \"\\u0227\": \"a\\u0307\",\n \"\\u01E1\": \"a\\u0307\\u0304\",\n \"\\xe5\": \"a\\u030A\",\n \"\\u01FB\": \"a\\u030A\\u0301\",\n \"\\u1E03\": \"b\\u0307\",\n \"\\u0107\": \"c\\u0301\",\n \"\\u1E09\": \"c\\u0327\\u0301\",\n \"\\u010D\": \"c\\u030C\",\n \"\\u0109\": \"c\\u0302\",\n \"\\u010B\": \"c\\u0307\",\n \"\\xe7\": \"c\\u0327\",\n \"\\u010F\": \"d\\u030C\",\n \"\\u1E0B\": \"d\\u0307\",\n \"\\u1E11\": \"d\\u0327\",\n \"\\xe9\": \"e\\u0301\",\n \"\\xe8\": \"e\\u0300\",\n \"\\xeb\": \"e\\u0308\",\n \"\\u1EBD\": \"e\\u0303\",\n \"\\u0113\": \"e\\u0304\",\n \"\\u1E17\": \"e\\u0304\\u0301\",\n \"\\u1E15\": \"e\\u0304\\u0300\",\n \"\\u0115\": \"e\\u0306\",\n \"\\u1E1D\": \"e\\u0327\\u0306\",\n \"\\u011B\": \"e\\u030C\",\n \"\\xea\": \"e\\u0302\",\n \"\\u1EBF\": \"e\\u0302\\u0301\",\n \"\\u1EC1\": \"e\\u0302\\u0300\",\n \"\\u1EC5\": \"e\\u0302\\u0303\",\n \"\\u0117\": \"e\\u0307\",\n \"\\u0229\": \"e\\u0327\",\n \"\\u1E1F\": \"f\\u0307\",\n \"\\u01F5\": \"g\\u0301\",\n \"\\u1E21\": \"g\\u0304\",\n \"\\u011F\": \"g\\u0306\",\n \"\\u01E7\": \"g\\u030C\",\n \"\\u011D\": \"g\\u0302\",\n \"\\u0121\": \"g\\u0307\",\n \"\\u0123\": \"g\\u0327\",\n \"\\u1E27\": \"h\\u0308\",\n \"\\u021F\": \"h\\u030C\",\n \"\\u0125\": \"h\\u0302\",\n \"\\u1E23\": \"h\\u0307\",\n \"\\u1E29\": \"h\\u0327\",\n \"\\xed\": \"i\\u0301\",\n \"\\xec\": \"i\\u0300\",\n \"\\xef\": \"i\\u0308\",\n \"\\u1E2F\": \"i\\u0308\\u0301\",\n \"\\u0129\": \"i\\u0303\",\n \"\\u012B\": \"i\\u0304\",\n \"\\u012D\": \"i\\u0306\",\n \"\\u01D0\": \"i\\u030C\",\n \"\\xee\": \"i\\u0302\",\n \"\\u01F0\": \"j\\u030C\",\n \"\\u0135\": \"j\\u0302\",\n \"\\u1E31\": \"k\\u0301\",\n \"\\u01E9\": \"k\\u030C\",\n \"\\u0137\": \"k\\u0327\",\n \"\\u013A\": \"l\\u0301\",\n \"\\u013E\": \"l\\u030C\",\n \"\\u013C\": \"l\\u0327\",\n \"\\u1E3F\": \"m\\u0301\",\n \"\\u1E41\": \"m\\u0307\",\n \"\\u0144\": \"n\\u0301\",\n \"\\u01F9\": \"n\\u0300\",\n \"\\xf1\": \"n\\u0303\",\n \"\\u0148\": \"n\\u030C\",\n \"\\u1E45\": \"n\\u0307\",\n \"\\u0146\": \"n\\u0327\",\n \"\\xf3\": \"o\\u0301\",\n \"\\xf2\": \"o\\u0300\",\n \"\\xf6\": \"o\\u0308\",\n \"\\u022B\": \"o\\u0308\\u0304\",\n \"\\xf5\": \"o\\u0303\",\n \"\\u1E4D\": \"o\\u0303\\u0301\",\n \"\\u1E4F\": \"o\\u0303\\u0308\",\n \"\\u022D\": \"o\\u0303\\u0304\",\n \"\\u014D\": \"o\\u0304\",\n \"\\u1E53\": \"o\\u0304\\u0301\",\n \"\\u1E51\": \"o\\u0304\\u0300\",\n \"\\u014F\": \"o\\u0306\",\n \"\\u01D2\": \"o\\u030C\",\n \"\\xf4\": \"o\\u0302\",\n \"\\u1ED1\": \"o\\u0302\\u0301\",\n \"\\u1ED3\": \"o\\u0302\\u0300\",\n \"\\u1ED7\": \"o\\u0302\\u0303\",\n \"\\u022F\": \"o\\u0307\",\n \"\\u0231\": \"o\\u0307\\u0304\",\n \"\\u0151\": \"o\\u030B\",\n \"\\u1E55\": \"p\\u0301\",\n \"\\u1E57\": \"p\\u0307\",\n \"\\u0155\": \"r\\u0301\",\n \"\\u0159\": \"r\\u030C\",\n \"\\u1E59\": \"r\\u0307\",\n \"\\u0157\": \"r\\u0327\",\n \"\\u015B\": \"s\\u0301\",\n \"\\u1E65\": \"s\\u0301\\u0307\",\n \"\\u0161\": \"s\\u030C\",\n \"\\u1E67\": \"s\\u030C\\u0307\",\n \"\\u015D\": \"s\\u0302\",\n \"\\u1E61\": \"s\\u0307\",\n \"\\u015F\": \"s\\u0327\",\n \"\\u1E97\": \"t\\u0308\",\n \"\\u0165\": \"t\\u030C\",\n \"\\u1E6B\": \"t\\u0307\",\n \"\\u0163\": \"t\\u0327\",\n \"\\xfa\": \"u\\u0301\",\n \"\\xf9\": \"u\\u0300\",\n \"\\xfc\": \"u\\u0308\",\n \"\\u01D8\": \"u\\u0308\\u0301\",\n \"\\u01DC\": \"u\\u0308\\u0300\",\n \"\\u01D6\": \"u\\u0308\\u0304\",\n \"\\u01DA\": \"u\\u0308\\u030C\",\n \"\\u0169\": \"u\\u0303\",\n \"\\u1E79\": \"u\\u0303\\u0301\",\n \"\\u016B\": \"u\\u0304\",\n \"\\u1E7B\": \"u\\u0304\\u0308\",\n \"\\u016D\": \"u\\u0306\",\n \"\\u01D4\": \"u\\u030C\",\n \"\\xfb\": \"u\\u0302\",\n \"\\u016F\": \"u\\u030A\",\n \"\\u0171\": \"u\\u030B\",\n \"\\u1E7D\": \"v\\u0303\",\n \"\\u1E83\": \"w\\u0301\",\n \"\\u1E81\": \"w\\u0300\",\n \"\\u1E85\": \"w\\u0308\",\n \"\\u0175\": \"w\\u0302\",\n \"\\u1E87\": \"w\\u0307\",\n \"\\u1E98\": \"w\\u030A\",\n \"\\u1E8D\": \"x\\u0308\",\n \"\\u1E8B\": \"x\\u0307\",\n \"\\xfd\": \"y\\u0301\",\n \"\\u1EF3\": \"y\\u0300\",\n \"\\xff\": \"y\\u0308\",\n \"\\u1EF9\": \"y\\u0303\",\n \"\\u0233\": \"y\\u0304\",\n \"\\u0177\": \"y\\u0302\",\n \"\\u1E8F\": \"y\\u0307\",\n \"\\u1E99\": \"y\\u030A\",\n \"\\u017A\": \"z\\u0301\",\n \"\\u017E\": \"z\\u030C\",\n \"\\u1E91\": \"z\\u0302\",\n \"\\u017C\": \"z\\u0307\",\n \"\\xc1\": \"A\\u0301\",\n \"\\xc0\": \"A\\u0300\",\n \"\\xc4\": \"A\\u0308\",\n \"\\u01DE\": \"A\\u0308\\u0304\",\n \"\\xc3\": \"A\\u0303\",\n \"\\u0100\": \"A\\u0304\",\n \"\\u0102\": \"A\\u0306\",\n \"\\u1EAE\": \"A\\u0306\\u0301\",\n \"\\u1EB0\": \"A\\u0306\\u0300\",\n \"\\u1EB4\": \"A\\u0306\\u0303\",\n \"\\u01CD\": \"A\\u030C\",\n \"\\xc2\": \"A\\u0302\",\n \"\\u1EA4\": \"A\\u0302\\u0301\",\n \"\\u1EA6\": \"A\\u0302\\u0300\",\n \"\\u1EAA\": \"A\\u0302\\u0303\",\n \"\\u0226\": \"A\\u0307\",\n \"\\u01E0\": \"A\\u0307\\u0304\",\n \"\\xc5\": \"A\\u030A\",\n \"\\u01FA\": \"A\\u030A\\u0301\",\n \"\\u1E02\": \"B\\u0307\",\n \"\\u0106\": \"C\\u0301\",\n \"\\u1E08\": \"C\\u0327\\u0301\",\n \"\\u010C\": \"C\\u030C\",\n \"\\u0108\": \"C\\u0302\",\n \"\\u010A\": \"C\\u0307\",\n \"\\xc7\": \"C\\u0327\",\n \"\\u010E\": \"D\\u030C\",\n \"\\u1E0A\": \"D\\u0307\",\n \"\\u1E10\": \"D\\u0327\",\n \"\\xc9\": \"E\\u0301\",\n \"\\xc8\": \"E\\u0300\",\n \"\\xcb\": \"E\\u0308\",\n \"\\u1EBC\": \"E\\u0303\",\n \"\\u0112\": \"E\\u0304\",\n \"\\u1E16\": \"E\\u0304\\u0301\",\n \"\\u1E14\": \"E\\u0304\\u0300\",\n \"\\u0114\": \"E\\u0306\",\n \"\\u1E1C\": \"E\\u0327\\u0306\",\n \"\\u011A\": \"E\\u030C\",\n \"\\xca\": \"E\\u0302\",\n \"\\u1EBE\": \"E\\u0302\\u0301\",\n \"\\u1EC0\": \"E\\u0302\\u0300\",\n \"\\u1EC4\": \"E\\u0302\\u0303\",\n \"\\u0116\": \"E\\u0307\",\n \"\\u0228\": \"E\\u0327\",\n \"\\u1E1E\": \"F\\u0307\",\n \"\\u01F4\": \"G\\u0301\",\n \"\\u1E20\": \"G\\u0304\",\n \"\\u011E\": \"G\\u0306\",\n \"\\u01E6\": \"G\\u030C\",\n \"\\u011C\": \"G\\u0302\",\n \"\\u0120\": \"G\\u0307\",\n \"\\u0122\": \"G\\u0327\",\n \"\\u1E26\": \"H\\u0308\",\n \"\\u021E\": \"H\\u030C\",\n \"\\u0124\": \"H\\u0302\",\n \"\\u1E22\": \"H\\u0307\",\n \"\\u1E28\": \"H\\u0327\",\n \"\\xcd\": \"I\\u0301\",\n \"\\xcc\": \"I\\u0300\",\n \"\\xcf\": \"I\\u0308\",\n \"\\u1E2E\": \"I\\u0308\\u0301\",\n \"\\u0128\": \"I\\u0303\",\n \"\\u012A\": \"I\\u0304\",\n \"\\u012C\": \"I\\u0306\",\n \"\\u01CF\": \"I\\u030C\",\n \"\\xce\": \"I\\u0302\",\n \"\\u0130\": \"I\\u0307\",\n \"\\u0134\": \"J\\u0302\",\n \"\\u1E30\": \"K\\u0301\",\n \"\\u01E8\": \"K\\u030C\",\n \"\\u0136\": \"K\\u0327\",\n \"\\u0139\": \"L\\u0301\",\n \"\\u013D\": \"L\\u030C\",\n \"\\u013B\": \"L\\u0327\",\n \"\\u1E3E\": \"M\\u0301\",\n \"\\u1E40\": \"M\\u0307\",\n \"\\u0143\": \"N\\u0301\",\n \"\\u01F8\": \"N\\u0300\",\n \"\\xd1\": \"N\\u0303\",\n \"\\u0147\": \"N\\u030C\",\n \"\\u1E44\": \"N\\u0307\",\n \"\\u0145\": \"N\\u0327\",\n \"\\xd3\": \"O\\u0301\",\n \"\\xd2\": \"O\\u0300\",\n \"\\xd6\": \"O\\u0308\",\n \"\\u022A\": \"O\\u0308\\u0304\",\n \"\\xd5\": \"O\\u0303\",\n \"\\u1E4C\": \"O\\u0303\\u0301\",\n \"\\u1E4E\": \"O\\u0303\\u0308\",\n \"\\u022C\": \"O\\u0303\\u0304\",\n \"\\u014C\": \"O\\u0304\",\n \"\\u1E52\": \"O\\u0304\\u0301\",\n \"\\u1E50\": \"O\\u0304\\u0300\",\n \"\\u014E\": \"O\\u0306\",\n \"\\u01D1\": \"O\\u030C\",\n \"\\xd4\": \"O\\u0302\",\n \"\\u1ED0\": \"O\\u0302\\u0301\",\n \"\\u1ED2\": \"O\\u0302\\u0300\",\n \"\\u1ED6\": \"O\\u0302\\u0303\",\n \"\\u022E\": \"O\\u0307\",\n \"\\u0230\": \"O\\u0307\\u0304\",\n \"\\u0150\": \"O\\u030B\",\n \"\\u1E54\": \"P\\u0301\",\n \"\\u1E56\": \"P\\u0307\",\n \"\\u0154\": \"R\\u0301\",\n \"\\u0158\": \"R\\u030C\",\n \"\\u1E58\": \"R\\u0307\",\n \"\\u0156\": \"R\\u0327\",\n \"\\u015A\": \"S\\u0301\",\n \"\\u1E64\": \"S\\u0301\\u0307\",\n \"\\u0160\": \"S\\u030C\",\n \"\\u1E66\": \"S\\u030C\\u0307\",\n \"\\u015C\": \"S\\u0302\",\n \"\\u1E60\": \"S\\u0307\",\n \"\\u015E\": \"S\\u0327\",\n \"\\u0164\": \"T\\u030C\",\n \"\\u1E6A\": \"T\\u0307\",\n \"\\u0162\": \"T\\u0327\",\n \"\\xda\": \"U\\u0301\",\n \"\\xd9\": \"U\\u0300\",\n \"\\xdc\": \"U\\u0308\",\n \"\\u01D7\": \"U\\u0308\\u0301\",\n \"\\u01DB\": \"U\\u0308\\u0300\",\n \"\\u01D5\": \"U\\u0308\\u0304\",\n \"\\u01D9\": \"U\\u0308\\u030C\",\n \"\\u0168\": \"U\\u0303\",\n \"\\u1E78\": \"U\\u0303\\u0301\",\n \"\\u016A\": \"U\\u0304\",\n \"\\u1E7A\": \"U\\u0304\\u0308\",\n \"\\u016C\": \"U\\u0306\",\n \"\\u01D3\": \"U\\u030C\",\n \"\\xdb\": \"U\\u0302\",\n \"\\u016E\": \"U\\u030A\",\n \"\\u0170\": \"U\\u030B\",\n \"\\u1E7C\": \"V\\u0303\",\n \"\\u1E82\": \"W\\u0301\",\n \"\\u1E80\": \"W\\u0300\",\n \"\\u1E84\": \"W\\u0308\",\n \"\\u0174\": \"W\\u0302\",\n \"\\u1E86\": \"W\\u0307\",\n \"\\u1E8C\": \"X\\u0308\",\n \"\\u1E8A\": \"X\\u0307\",\n \"\\xdd\": \"Y\\u0301\",\n \"\\u1EF2\": \"Y\\u0300\",\n \"\\u0178\": \"Y\\u0308\",\n \"\\u1EF8\": \"Y\\u0303\",\n \"\\u0232\": \"Y\\u0304\",\n \"\\u0176\": \"Y\\u0302\",\n \"\\u1E8E\": \"Y\\u0307\",\n \"\\u0179\": \"Z\\u0301\",\n \"\\u017D\": \"Z\\u030C\",\n \"\\u1E90\": \"Z\\u0302\",\n \"\\u017B\": \"Z\\u0307\",\n \"\\u03AC\": \"\\u03B1\\u0301\",\n \"\\u1F70\": \"\\u03B1\\u0300\",\n \"\\u1FB1\": \"\\u03B1\\u0304\",\n \"\\u1FB0\": \"\\u03B1\\u0306\",\n \"\\u03AD\": \"\\u03B5\\u0301\",\n \"\\u1F72\": \"\\u03B5\\u0300\",\n \"\\u03AE\": \"\\u03B7\\u0301\",\n \"\\u1F74\": \"\\u03B7\\u0300\",\n \"\\u03AF\": \"\\u03B9\\u0301\",\n \"\\u1F76\": \"\\u03B9\\u0300\",\n \"\\u03CA\": \"\\u03B9\\u0308\",\n \"\\u0390\": \"\\u03B9\\u0308\\u0301\",\n \"\\u1FD2\": \"\\u03B9\\u0308\\u0300\",\n \"\\u1FD1\": \"\\u03B9\\u0304\",\n \"\\u1FD0\": \"\\u03B9\\u0306\",\n \"\\u03CC\": \"\\u03BF\\u0301\",\n \"\\u1F78\": \"\\u03BF\\u0300\",\n \"\\u03CD\": \"\\u03C5\\u0301\",\n \"\\u1F7A\": \"\\u03C5\\u0300\",\n \"\\u03CB\": \"\\u03C5\\u0308\",\n \"\\u03B0\": \"\\u03C5\\u0308\\u0301\",\n \"\\u1FE2\": \"\\u03C5\\u0308\\u0300\",\n \"\\u1FE1\": \"\\u03C5\\u0304\",\n \"\\u1FE0\": \"\\u03C5\\u0306\",\n \"\\u03CE\": \"\\u03C9\\u0301\",\n \"\\u1F7C\": \"\\u03C9\\u0300\",\n \"\\u038E\": \"\\u03A5\\u0301\",\n \"\\u1FEA\": \"\\u03A5\\u0300\",\n \"\\u03AB\": \"\\u03A5\\u0308\",\n \"\\u1FE9\": \"\\u03A5\\u0304\",\n \"\\u1FE8\": \"\\u03A5\\u0306\",\n \"\\u038F\": \"\\u03A9\\u0301\",\n \"\\u1FFA\": \"\\u03A9\\u0300\"\n };\n /**\n * This file contains the parser used to parse out a TeX expression from the\n * input. Since TeX isn't context-free, standard parsers don't work particularly\n * well.\n *\n * The strategy of this parser is as such:\n *\n * The main functions (the `.parse...` ones) take a position in the current\n * parse string to parse tokens from. The lexer (found in Lexer.js, stored at\n * this.gullet.lexer) also supports pulling out tokens at arbitrary places. When\n * individual tokens are needed at a position, the lexer is called to pull out a\n * token, which is then used.\n *\n * The parser has a property called \"mode\" indicating the mode that\n * the parser is currently in. Currently it has to be one of \"math\" or\n * \"text\", which denotes whether the current environment is a math-y\n * one or a text-y one (e.g. inside \\text). Currently, this serves to\n * limit the functions which can be used in text mode.\n *\n * The main functions then return an object which contains the useful data that\n * was parsed at its given point, and a new position at the end of the parsed\n * data. The main functions can call each other and continue the parsing by\n * using the returned position as a new starting point.\n *\n * There are also extra `.handle...` functions, which pull out some reused\n * functionality into self-contained functions.\n *\n * The functions return ParseNodes.\n */ class Parser {\n constructor(input, settings){\n this.mode = void 0;\n this.gullet = void 0;\n this.settings = void 0;\n this.leftrightDepth = void 0;\n this.nextToken = void 0;\n // Start in math mode\n this.mode = \"math\"; // Create a new macro expander (gullet) and (indirectly via that) also a\n // new lexer (mouth) for this parser (stomach, in the language of TeX)\n this.gullet = new MacroExpander(input, settings, this.mode); // Store the settings for use in parsing\n this.settings = settings; // Count leftright depth (for \\middle errors)\n this.leftrightDepth = 0;\n }\n /**\n * Checks a result to make sure it has the right type, and throws an\n * appropriate error otherwise.\n */ expect(text, consume) {\n if (consume === void 0) consume = true;\n if (this.fetch().text !== text) throw new src_ParseError(\"Expected '\" + text + \"', got '\" + this.fetch().text + \"'\", this.fetch());\n if (consume) this.consume();\n }\n /**\n * Discards the current lookahead token, considering it consumed.\n */ consume() {\n this.nextToken = null;\n }\n /**\n * Return the current lookahead token, or if there isn't one (at the\n * beginning, or if the previous lookahead token was consume()d),\n * fetch the next token as the new lookahead token and return it.\n */ fetch() {\n if (this.nextToken == null) this.nextToken = this.gullet.expandNextToken();\n return this.nextToken;\n }\n /**\n * Switches between \"text\" and \"math\" modes.\n */ switchMode(newMode) {\n this.mode = newMode;\n this.gullet.switchMode(newMode);\n }\n /**\n * Main parsing function, which parses an entire input.\n */ parse() {\n if (!this.settings.globalGroup) // Create a group namespace for the math expression.\n // (LaTeX creates a new group for every $...$, $$...$$, \\[...\\].)\n this.gullet.beginGroup();\n // Use old \\color behavior (same as LaTeX's \\textcolor) if requested.\n // We do this within the group for the math expression, so it doesn't\n // pollute settings.macros.\n if (this.settings.colorIsTextColor) this.gullet.macros.set(\"\\\\color\", \"\\\\textcolor\");\n try {\n // Try to parse the input\n const parse = this.parseExpression(false); // If we succeeded, make sure there's an EOF at the end\n this.expect(\"EOF\"); // End the group namespace for the expression\n if (!this.settings.globalGroup) this.gullet.endGroup();\n return parse; // Close any leftover groups in case of a parse error.\n } finally{\n this.gullet.endGroups();\n }\n }\n /**\n * Fully parse a separate sequence of tokens as a separate job.\n * Tokens should be specified in reverse order, as in a MacroDefinition.\n */ subparse(tokens) {\n // Save the next token from the current job.\n const oldToken = this.nextToken;\n this.consume(); // Run the new job, terminating it with an excess '}'\n this.gullet.pushToken(new Token(\"}\"));\n this.gullet.pushTokens(tokens);\n const parse = this.parseExpression(false);\n this.expect(\"}\"); // Restore the next token from the current job.\n this.nextToken = oldToken;\n return parse;\n }\n /**\n * Parses an \"expression\", which is a list of atoms.\n *\n * `breakOnInfix`: Should the parsing stop when we hit infix nodes? This\n * happens when functions have higher precedence han infix\n * nodes in implicit parses.\n *\n * `breakOnTokenText`: The text of the token that the expression should end\n * with, or `null` if something else should end the\n * expression.\n */ parseExpression(breakOnInfix, breakOnTokenText) {\n const body = []; // Keep adding atoms to the body until we can't parse any more atoms (either\n // we reached the end, a }, or a \\right)\n while(true){\n // Ignore spaces in math mode\n if (this.mode === \"math\") this.consumeSpaces();\n const lex = this.fetch();\n if (Parser.endOfExpression.indexOf(lex.text) !== -1) break;\n if (breakOnTokenText && lex.text === breakOnTokenText) break;\n if (breakOnInfix && src_functions[lex.text] && src_functions[lex.text].infix) break;\n const atom = this.parseAtom(breakOnTokenText);\n if (!atom) break;\n else if (atom.type === \"internal\") continue;\n body.push(atom);\n }\n if (this.mode === \"text\") this.formLigatures(body);\n return this.handleInfixNodes(body);\n }\n /**\n * Rewrites infix operators such as \\over with corresponding commands such\n * as \\frac.\n *\n * There can only be one infix operator per group. If there's more than one\n * then the expression is ambiguous. This can be resolved by adding {}.\n */ handleInfixNodes(body) {\n let overIndex = -1;\n let funcName;\n for(let i = 0; i < body.length; i++)if (body[i].type === \"infix\") {\n if (overIndex !== -1) throw new src_ParseError(\"only one infix operator per group\", body[i].token);\n overIndex = i;\n funcName = body[i].replaceWith;\n }\n if (overIndex !== -1 && funcName) {\n let numerNode;\n let denomNode;\n const numerBody = body.slice(0, overIndex);\n const denomBody = body.slice(overIndex + 1);\n if (numerBody.length === 1 && numerBody[0].type === \"ordgroup\") numerNode = numerBody[0];\n else numerNode = {\n type: \"ordgroup\",\n mode: this.mode,\n body: numerBody\n };\n if (denomBody.length === 1 && denomBody[0].type === \"ordgroup\") denomNode = denomBody[0];\n else denomNode = {\n type: \"ordgroup\",\n mode: this.mode,\n body: denomBody\n };\n let node;\n if (funcName === \"\\\\\\\\abovefrac\") node = this.callFunction(funcName, [\n numerNode,\n body[overIndex],\n denomNode\n ], []);\n else node = this.callFunction(funcName, [\n numerNode,\n denomNode\n ], []);\n return [\n node\n ];\n } else return body;\n }\n /**\n * Handle a subscript or superscript with nice errors.\n */ handleSupSubscript(name // For error reporting.\n ) {\n const symbolToken = this.fetch();\n const symbol = symbolToken.text;\n this.consume();\n this.consumeSpaces(); // ignore spaces before sup/subscript argument\n const group = this.parseGroup(name);\n if (!group) throw new src_ParseError(\"Expected group after '\" + symbol + \"'\", symbolToken);\n return group;\n }\n /**\n * Converts the textual input of an unsupported command into a text node\n * contained within a color node whose color is determined by errorColor\n */ formatUnsupportedCmd(text) {\n const textordArray = [];\n for(let i = 0; i < text.length; i++)textordArray.push({\n type: \"textord\",\n mode: \"text\",\n text: text[i]\n });\n const textNode = {\n type: \"text\",\n mode: this.mode,\n body: textordArray\n };\n const colorNode = {\n type: \"color\",\n mode: this.mode,\n color: this.settings.errorColor,\n body: [\n textNode\n ]\n };\n return colorNode;\n }\n /**\n * Parses a group with optional super/subscripts.\n */ parseAtom(breakOnTokenText) {\n // The body of an atom is an implicit group, so that things like\n // \\left(x\\right)^2 work correctly.\n const base = this.parseGroup(\"atom\", breakOnTokenText); // In text mode, we don't have superscripts or subscripts\n if (this.mode === \"text\") return base;\n // Note that base may be empty (i.e. null) at this point.\n let superscript;\n let subscript;\n while(true){\n // Guaranteed in math mode, so eat any spaces first.\n this.consumeSpaces(); // Lex the first token\n const lex = this.fetch();\n if (lex.text === \"\\\\limits\" || lex.text === \"\\\\nolimits\") {\n // We got a limit control\n if (base && base.type === \"op\") {\n const limits = lex.text === \"\\\\limits\";\n base.limits = limits;\n base.alwaysHandleSupSub = true;\n } else if (base && base.type === \"operatorname\") {\n if (base.alwaysHandleSupSub) base.limits = lex.text === \"\\\\limits\";\n } else throw new src_ParseError(\"Limit controls must follow a math operator\", lex);\n this.consume();\n } else if (lex.text === \"^\") {\n // We got a superscript start\n if (superscript) throw new src_ParseError(\"Double superscript\", lex);\n superscript = this.handleSupSubscript(\"superscript\");\n } else if (lex.text === \"_\") {\n // We got a subscript start\n if (subscript) throw new src_ParseError(\"Double subscript\", lex);\n subscript = this.handleSupSubscript(\"subscript\");\n } else if (lex.text === \"'\") {\n // We got a prime\n if (superscript) throw new src_ParseError(\"Double superscript\", lex);\n const prime = {\n type: \"textord\",\n mode: this.mode,\n text: \"\\\\prime\"\n }; // Many primes can be grouped together, so we handle this here\n const primes = [\n prime\n ];\n this.consume(); // Keep lexing tokens until we get something that's not a prime\n while(this.fetch().text === \"'\"){\n // For each one, add another prime to the list\n primes.push(prime);\n this.consume();\n } // If there's a superscript following the primes, combine that\n // superscript in with the primes.\n if (this.fetch().text === \"^\") primes.push(this.handleSupSubscript(\"superscript\"));\n // Put everything into an ordgroup as the superscript\n superscript = {\n type: \"ordgroup\",\n mode: this.mode,\n body: primes\n };\n } else if (uSubsAndSups[lex.text]) {\n // A Unicode subscript or superscript character.\n // We treat these similarly to the unicode-math package.\n // So we render a string of Unicode (sub|super)scripts the\n // same as a (sub|super)script of regular characters.\n const isSub = unicodeSubRegEx.test(lex.text);\n const subsupTokens = [];\n subsupTokens.push(new Token(uSubsAndSups[lex.text]));\n this.consume(); // Continue fetching tokens to fill out the string.\n while(true){\n const token = this.fetch().text;\n if (!uSubsAndSups[token]) break;\n if (unicodeSubRegEx.test(token) !== isSub) break;\n subsupTokens.unshift(new Token(uSubsAndSups[token]));\n this.consume();\n } // Now create a (sub|super)script.\n const body = this.subparse(subsupTokens);\n if (isSub) subscript = {\n type: \"ordgroup\",\n mode: \"math\",\n body: body\n };\n else superscript = {\n type: \"ordgroup\",\n mode: \"math\",\n body: body\n };\n } else break;\n } // Base must be set if superscript or subscript are set per logic above,\n // but need to check here for type check to pass.\n if (superscript || subscript) // If we got either a superscript or subscript, create a supsub\n return {\n type: \"supsub\",\n mode: this.mode,\n base: base,\n sup: superscript,\n sub: subscript\n };\n else // Otherwise return the original body\n return base;\n }\n /**\n * Parses an entire function, including its base and all of its arguments.\n */ parseFunction(breakOnTokenText, name // For determining its context\n ) {\n const token = this.fetch();\n const func = token.text;\n const funcData = src_functions[func];\n if (!funcData) return null;\n this.consume(); // consume command token\n if (name && name !== \"atom\" && !funcData.allowedInArgument) throw new src_ParseError(\"Got function '\" + func + \"' with no arguments\" + (name ? \" as \" + name : \"\"), token);\n else if (this.mode === \"text\" && !funcData.allowedInText) throw new src_ParseError(\"Can't use function '\" + func + \"' in text mode\", token);\n else if (this.mode === \"math\" && funcData.allowedInMath === false) throw new src_ParseError(\"Can't use function '\" + func + \"' in math mode\", token);\n const { args: args, optArgs: optArgs } = this.parseArguments(func, funcData);\n return this.callFunction(func, args, optArgs, token, breakOnTokenText);\n }\n /**\n * Call a function handler with a suitable context and arguments.\n */ callFunction(name, args, optArgs, token, breakOnTokenText) {\n const context = {\n funcName: name,\n parser: this,\n token: token,\n breakOnTokenText: breakOnTokenText\n };\n const func = src_functions[name];\n if (func && func.handler) return func.handler(context, args, optArgs);\n else throw new src_ParseError(\"No function handler for \" + name);\n }\n /**\n * Parses the arguments of a function or environment\n */ parseArguments(func, funcData) {\n const totalArgs = funcData.numArgs + funcData.numOptionalArgs;\n if (totalArgs === 0) return {\n args: [],\n optArgs: []\n };\n const args = [];\n const optArgs = [];\n for(let i = 0; i < totalArgs; i++){\n let argType = funcData.argTypes && funcData.argTypes[i];\n const isOptional = i < funcData.numOptionalArgs;\n if (funcData.primitive && argType == null || // \\sqrt expands into primitive if optional argument doesn't exist\n funcData.type === \"sqrt\" && i === 1 && optArgs[0] == null) argType = \"primitive\";\n const arg = this.parseGroupOfType(\"argument to '\" + func + \"'\", argType, isOptional);\n if (isOptional) optArgs.push(arg);\n else if (arg != null) args.push(arg);\n else // should be unreachable\n throw new src_ParseError(\"Null argument, please report this as a bug\");\n }\n return {\n args: args,\n optArgs: optArgs\n };\n }\n /**\n * Parses a group when the mode is changing.\n */ parseGroupOfType(name, type, optional) {\n switch(type){\n case \"color\":\n return this.parseColorGroup(optional);\n case \"size\":\n return this.parseSizeGroup(optional);\n case \"url\":\n return this.parseUrlGroup(optional);\n case \"math\":\n case \"text\":\n return this.parseArgumentGroup(optional, type);\n case \"hbox\":\n {\n // hbox argument type wraps the argument in the equivalent of\n // \\hbox, which is like \\text but switching to \\textstyle size.\n const group = this.parseArgumentGroup(optional, \"text\");\n return group != null ? {\n type: \"styling\",\n mode: group.mode,\n body: [\n group\n ],\n style: \"text\" // simulate \\textstyle\n } : null;\n }\n case \"raw\":\n {\n const token = this.parseStringGroup(\"raw\", optional);\n return token != null ? {\n type: \"raw\",\n mode: \"text\",\n string: token.text\n } : null;\n }\n case \"primitive\":\n {\n if (optional) throw new src_ParseError(\"A primitive argument cannot be optional\");\n const group = this.parseGroup(name);\n if (group == null) throw new src_ParseError(\"Expected group as \" + name, this.fetch());\n return group;\n }\n case \"original\":\n case null:\n case undefined:\n return this.parseArgumentGroup(optional);\n default:\n throw new src_ParseError(\"Unknown group type as \" + name, this.fetch());\n }\n }\n /**\n * Discard any space tokens, fetching the next non-space token.\n */ consumeSpaces() {\n while(this.fetch().text === \" \")this.consume();\n }\n /**\n * Parses a group, essentially returning the string formed by the\n * brace-enclosed tokens plus some position information.\n */ parseStringGroup(modeName, optional) {\n const argToken = this.gullet.scanArgument(optional);\n if (argToken == null) return null;\n let str = \"\";\n let nextToken;\n while((nextToken = this.fetch()).text !== \"EOF\"){\n str += nextToken.text;\n this.consume();\n }\n this.consume(); // consume the end of the argument\n argToken.text = str;\n return argToken;\n }\n /**\n * Parses a regex-delimited group: the largest sequence of tokens\n * whose concatenated strings match `regex`. Returns the string\n * formed by the tokens plus some position information.\n */ parseRegexGroup(regex, modeName // Used to describe the mode in error messages.\n ) {\n const firstToken = this.fetch();\n let lastToken = firstToken;\n let str = \"\";\n let nextToken;\n while((nextToken = this.fetch()).text !== \"EOF\" && regex.test(str + nextToken.text)){\n lastToken = nextToken;\n str += lastToken.text;\n this.consume();\n }\n if (str === \"\") throw new src_ParseError(\"Invalid \" + modeName + \": '\" + firstToken.text + \"'\", firstToken);\n return firstToken.range(lastToken, str);\n }\n /**\n * Parses a color description.\n */ parseColorGroup(optional) {\n const res = this.parseStringGroup(\"color\", optional);\n if (res == null) return null;\n const match = /^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(res.text);\n if (!match) throw new src_ParseError(\"Invalid color: '\" + res.text + \"'\", res);\n let color = match[0];\n if (/^[0-9a-f]{6}$/i.test(color)) // We allow a 6-digit HTML color spec without a leading \"#\".\n // This follows the xcolor package's HTML color model.\n // Predefined color names are all missed by this RegEx pattern.\n color = \"#\" + color;\n return {\n type: \"color-token\",\n mode: this.mode,\n color: color\n };\n }\n /**\n * Parses a size specification, consisting of magnitude and unit.\n */ parseSizeGroup(optional) {\n let res;\n let isBlank = false; // don't expand before parseStringGroup\n this.gullet.consumeSpaces();\n if (!optional && this.gullet.future().text !== \"{\") res = this.parseRegexGroup(/^[-+]? *(?:$|\\d+|\\d+\\.\\d*|\\.\\d*) *[a-z]{0,2} *$/, \"size\");\n else res = this.parseStringGroup(\"size\", optional);\n if (!res) return null;\n if (!optional && res.text.length === 0) {\n // Because we've tested for what is !optional, this block won't\n // affect \\kern, \\hspace, etc. It will capture the mandatory arguments\n // to \\genfrac and \\above.\n res.text = \"0pt\"; // Enable \\above{}\n isBlank = true; // This is here specifically for \\genfrac\n }\n const match = /([-+]?) *(\\d+(?:\\.\\d*)?|\\.\\d+) *([a-z]{2})/.exec(res.text);\n if (!match) throw new src_ParseError(\"Invalid size: '\" + res.text + \"'\", res);\n const data = {\n number: +(match[1] + match[2]),\n // sign + magnitude, cast to number\n unit: match[3]\n };\n if (!validUnit(data)) throw new src_ParseError(\"Invalid unit: '\" + data.unit + \"'\", res);\n return {\n type: \"size\",\n mode: this.mode,\n value: data,\n isBlank: isBlank\n };\n }\n /**\n * Parses an URL, checking escaped letters and allowed protocols,\n * and setting the catcode of % as an active character (as in \\hyperref).\n */ parseUrlGroup(optional) {\n this.gullet.lexer.setCatcode(\"%\", 13); // active character\n this.gullet.lexer.setCatcode(\"~\", 12); // other character\n const res = this.parseStringGroup(\"url\", optional);\n this.gullet.lexer.setCatcode(\"%\", 14); // comment character\n this.gullet.lexer.setCatcode(\"~\", 13); // active character\n if (res == null) return null;\n // hyperref package allows backslashes alone in href, but doesn't\n // generate valid links in such cases; we interpret this as\n // \"undefined\" behaviour, and keep them as-is. Some browser will\n // replace backslashes with forward slashes.\n const url = res.text.replace(/\\\\([#$%&~_^{}])/g, \"$1\");\n return {\n type: \"url\",\n mode: this.mode,\n url: url\n };\n }\n /**\n * Parses an argument with the mode specified.\n */ parseArgumentGroup(optional, mode) {\n const argToken = this.gullet.scanArgument(optional);\n if (argToken == null) return null;\n const outerMode = this.mode;\n if (mode) // Switch to specified mode\n this.switchMode(mode);\n this.gullet.beginGroup();\n const expression = this.parseExpression(false, \"EOF\"); // TODO: find an alternative way to denote the end\n this.expect(\"EOF\"); // expect the end of the argument\n this.gullet.endGroup();\n const result = {\n type: \"ordgroup\",\n mode: this.mode,\n loc: argToken.loc,\n body: expression\n };\n if (mode) // Switch mode back\n this.switchMode(outerMode);\n return result;\n }\n /**\n * Parses an ordinary group, which is either a single nucleus (like \"x\")\n * or an expression in braces (like \"{x+y}\") or an implicit group, a group\n * that starts at the current position, and ends right before a higher explicit\n * group ends, or at EOF.\n */ parseGroup(name, breakOnTokenText) {\n const firstToken = this.fetch();\n const text = firstToken.text;\n let result; // Try to parse an open brace or \\begingroup\n if (text === \"{\" || text === \"\\\\begingroup\") {\n this.consume();\n const groupEnd = text === \"{\" ? \"}\" : \"\\\\endgroup\";\n this.gullet.beginGroup(); // If we get a brace, parse an expression\n const expression = this.parseExpression(false, groupEnd);\n const lastToken = this.fetch();\n this.expect(groupEnd); // Check that we got a matching closing brace\n this.gullet.endGroup();\n result = {\n type: \"ordgroup\",\n mode: this.mode,\n loc: SourceLocation.range(firstToken, lastToken),\n body: expression,\n // A group formed by \\begingroup...\\endgroup is a semi-simple group\n // which doesn't affect spacing in math mode, i.e., is transparent.\n // https://tex.stackexchange.com/questions/1930/when-should-one-\n // use-begingroup-instead-of-bgroup\n semisimple: text === \"\\\\begingroup\" || undefined\n };\n } else {\n // If there exists a function with this name, parse the function.\n // Otherwise, just return a nucleus\n result = this.parseFunction(breakOnTokenText, name) || this.parseSymbol();\n if (result == null && text[0] === \"\\\\\" && !implicitCommands.hasOwnProperty(text)) {\n if (this.settings.throwOnError) throw new src_ParseError(\"Undefined control sequence: \" + text, firstToken);\n result = this.formatUnsupportedCmd(text);\n this.consume();\n }\n }\n return result;\n }\n /**\n * Form ligature-like combinations of characters for text mode.\n * This includes inputs like \"--\", \"---\", \"``\" and \"''\".\n * The result will simply replace multiple textord nodes with a single\n * character in each value by a single textord node having multiple\n * characters in its value. The representation is still ASCII source.\n * The group will be modified in place.\n */ formLigatures(group) {\n let n = group.length - 1;\n for(let i = 0; i < n; ++i){\n const a = group[i]; // $FlowFixMe: Not every node type has a `text` property.\n const v = a.text;\n if (v === \"-\" && group[i + 1].text === \"-\") {\n if (i + 1 < n && group[i + 2].text === \"-\") {\n group.splice(i, 3, {\n type: \"textord\",\n mode: \"text\",\n loc: SourceLocation.range(a, group[i + 2]),\n text: \"---\"\n });\n n -= 2;\n } else {\n group.splice(i, 2, {\n type: \"textord\",\n mode: \"text\",\n loc: SourceLocation.range(a, group[i + 1]),\n text: \"--\"\n });\n n -= 1;\n }\n }\n if ((v === \"'\" || v === \"`\") && group[i + 1].text === v) {\n group.splice(i, 2, {\n type: \"textord\",\n mode: \"text\",\n loc: SourceLocation.range(a, group[i + 1]),\n text: v + v\n });\n n -= 1;\n }\n }\n }\n /**\n * Parse a single symbol out of the string. Here, we handle single character\n * symbols and special functions like \\verb.\n */ parseSymbol() {\n const nucleus = this.fetch();\n let text = nucleus.text;\n if (/^\\\\verb[^a-zA-Z]/.test(text)) {\n this.consume();\n let arg = text.slice(5);\n const star = arg.charAt(0) === \"*\";\n if (star) arg = arg.slice(1);\n // Lexer's tokenRegex is constructed to always have matching\n // first/last characters.\n if (arg.length < 2 || arg.charAt(0) !== arg.slice(-1)) throw new src_ParseError(\"\\\\verb assertion failed --\\n please report what input caused this bug\");\n arg = arg.slice(1, -1); // remove first and last char\n return {\n type: \"verb\",\n mode: \"text\",\n body: arg,\n star: star\n };\n } // At this point, we should have a symbol, possibly with accents.\n // First expand any accented base symbol according to unicodeSymbols.\n if (unicodeSymbols.hasOwnProperty(text[0]) && !src_symbols[this.mode][text[0]]) {\n // This behavior is not strict (XeTeX-compatible) in math mode.\n if (this.settings.strict && this.mode === \"math\") this.settings.reportNonstrict(\"unicodeTextInMathMode\", 'Accented Unicode text character \"' + text[0] + '\" used in ' + \"math mode\", nucleus);\n text = unicodeSymbols[text[0]] + text.slice(1);\n } // Strip off any combining characters\n const match = combiningDiacriticalMarksEndRegex.exec(text);\n if (match) {\n text = text.substring(0, match.index);\n if (text === \"i\") text = \"\\u0131\"; // dotless i, in math and text mode\n else if (text === \"j\") text = \"\\u0237\"; // dotless j, in math and text mode\n } // Recognize base symbol\n let symbol;\n if (src_symbols[this.mode][text]) {\n if (this.settings.strict && this.mode === \"math\" && extraLatin.indexOf(text) >= 0) this.settings.reportNonstrict(\"unicodeTextInMathMode\", 'Latin-1/Unicode text character \"' + text[0] + '\" used in ' + \"math mode\", nucleus);\n const group = src_symbols[this.mode][text].group;\n const loc = SourceLocation.range(nucleus);\n let s;\n if (ATOMS.hasOwnProperty(group)) {\n // $FlowFixMe\n const family = group;\n s = {\n type: \"atom\",\n mode: this.mode,\n family: family,\n loc: loc,\n text: text\n };\n } else // $FlowFixMe\n s = {\n type: group,\n mode: this.mode,\n loc: loc,\n text: text\n };\n // $FlowFixMe\n symbol = s;\n } else if (text.charCodeAt(0) >= 0x80) {\n // no symbol for e.g. ^\n if (this.settings.strict) {\n if (!supportedCodepoint(text.charCodeAt(0))) this.settings.reportNonstrict(\"unknownSymbol\", 'Unrecognized Unicode character \"' + text[0] + '\"' + (\" (\" + text.charCodeAt(0) + \")\"), nucleus);\n else if (this.mode === \"math\") this.settings.reportNonstrict(\"unicodeTextInMathMode\", 'Unicode text character \"' + text[0] + '\" used in math mode', nucleus);\n } // All nonmathematical Unicode characters are rendered as if they\n // are in text mode (wrapped in \\text) because that's what it\n // takes to render them in LaTeX. Setting `mode: this.mode` is\n // another natural choice (the user requested math mode), but\n // this makes it more difficult for getCharacterMetrics() to\n // distinguish Unicode characters without metrics and those for\n // which we want to simulate the letter M.\n symbol = {\n type: \"textord\",\n mode: \"text\",\n loc: SourceLocation.range(nucleus),\n text: text\n };\n } else return null; // EOF, ^, _, {, }, etc.\n this.consume(); // Transform combining characters into accents\n if (match) for(let i = 0; i < match[0].length; i++){\n const accent = match[0][i];\n if (!unicodeAccents[accent]) throw new src_ParseError(\"Unknown accent ' \" + accent + \"'\", nucleus);\n const command = unicodeAccents[accent][this.mode] || unicodeAccents[accent].text;\n if (!command) throw new src_ParseError(\"Accent \" + accent + \" unsupported in \" + this.mode + \" mode\", nucleus);\n symbol = {\n type: \"accent\",\n mode: this.mode,\n loc: SourceLocation.range(nucleus),\n label: command,\n isStretchy: false,\n isShifty: true,\n // $FlowFixMe\n base: symbol\n };\n }\n // $FlowFixMe\n return symbol;\n }\n }\n Parser.endOfExpression = [\n \"}\",\n \"\\\\endgroup\",\n \"\\\\end\",\n \"\\\\right\",\n \"&\"\n ];\n /**\n * Provides a single function for parsing an expression using a Parser\n * TODO(emily): Remove this\n */ /**\n * Parses an expression using a Parser, then returns the parsed result.\n */ const parseTree = function(toParse, settings) {\n if (!(typeof toParse === \"string\" || toParse instanceof String)) throw new TypeError(\"KaTeX can only parse string typed expression\");\n const parser = new Parser(toParse, settings); // Blank out any \\df@tag to avoid spurious \"Duplicate \\tag\" errors\n delete parser.gullet.macros.current[\"\\\\df@tag\"];\n let tree = parser.parse(); // Prevent a color definition from persisting between calls to katex.render().\n delete parser.gullet.macros.current[\"\\\\current@color\"];\n delete parser.gullet.macros.current[\"\\\\color\"]; // If the input used \\tag, it will set the \\df@tag macro to the tag.\n // In this case, we separately parse the tag and wrap the tree.\n if (parser.gullet.macros.get(\"\\\\df@tag\")) {\n if (!settings.displayMode) throw new src_ParseError(\"\\\\tag works only in display equations\");\n tree = [\n {\n type: \"tag\",\n mode: \"text\",\n body: tree,\n tag: parser.subparse([\n new Token(\"\\\\df@tag\")\n ])\n }\n ];\n }\n return tree;\n };\n /* harmony default export */ var src_parseTree = parseTree;\n /* eslint no-console:0 */ /**\n * This is the main entry point for KaTeX. Here, we expose functions for\n * rendering expressions either to DOM nodes or to markup strings.\n *\n * We also expose the ParseError class to check if errors thrown from KaTeX are\n * errors in the expression, or errors in javascript handling.\n */ /**\n * Parse and build an expression, and place that expression in the DOM node\n * given.\n */ let render = function(expression, baseNode, options) {\n baseNode.textContent = \"\";\n const node = renderToDomTree(expression, options).toNode();\n baseNode.appendChild(node);\n }; // KaTeX's styles don't work properly in quirks mode. Print out an error, and\n // disable rendering.\n if (typeof document !== \"undefined\") {\n if (document.compatMode !== \"CSS1Compat\") {\n typeof console !== \"undefined\" && console.warn(\"Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype.\");\n render = function() {\n throw new src_ParseError(\"KaTeX doesn't work in quirks mode.\");\n };\n }\n }\n /**\n * Parse and build an expression, and return the markup for that.\n */ const renderToString = function(expression, options) {\n const markup = renderToDomTree(expression, options).toMarkup();\n return markup;\n };\n /**\n * Parse an expression and return the parse tree.\n */ const generateParseTree = function(expression, options) {\n const settings = new Settings(options);\n return src_parseTree(expression, settings);\n };\n /**\n * If the given error is a KaTeX ParseError and options.throwOnError is false,\n * renders the invalid LaTeX as a span with hover title giving the KaTeX\n * error message. Otherwise, simply throws the error.\n */ const renderError = function(error, expression, options) {\n if (options.throwOnError || !(error instanceof src_ParseError)) throw error;\n const node = buildCommon.makeSpan([\n \"katex-error\"\n ], [\n new SymbolNode(expression)\n ]);\n node.setAttribute(\"title\", error.toString());\n node.setAttribute(\"style\", \"color:\" + options.errorColor);\n return node;\n };\n /**\n * Generates and returns the katex build tree. This is used for advanced\n * use cases (like rendering to custom output).\n */ const renderToDomTree = function(expression, options) {\n const settings = new Settings(options);\n try {\n const tree = src_parseTree(expression, settings);\n return buildTree(tree, expression, settings);\n } catch (error) {\n return renderError(error, expression, settings);\n }\n };\n /**\n * Generates and returns the katex build tree, with just HTML (no MathML).\n * This is used for advanced use cases (like rendering to custom output).\n */ const renderToHTMLTree = function(expression, options) {\n const settings = new Settings(options);\n try {\n const tree = src_parseTree(expression, settings);\n return buildHTMLTree(tree, expression, settings);\n } catch (error) {\n return renderError(error, expression, settings);\n }\n };\n /* harmony default export */ var katex = {\n /**\n * Current KaTeX version\n */ version: \"0.16.11\",\n render: /**\n * Renders the given LaTeX into an HTML+MathML combination, and adds\n * it as a child to the specified DOM node.\n */ render,\n renderToString: /**\n * Renders the given LaTeX into an HTML+MathML combination string,\n * for sending to the client.\n */ renderToString,\n /**\n * KaTeX error, usually during parsing.\n */ ParseError: src_ParseError,\n /**\n * The shema of Settings\n */ SETTINGS_SCHEMA: SETTINGS_SCHEMA,\n /**\n * Parses the given LaTeX into KaTeX's internal parse tree structure,\n * without rendering to HTML or MathML.\n *\n * NOTE: This method is not currently recommended for public use.\n * The internal tree representation is unstable and is very likely\n * to change. Use at your own risk.\n */ __parse: generateParseTree,\n /**\n * Renders the given LaTeX into an HTML+MathML internal DOM tree\n * representation, without flattening that representation to a string.\n *\n * NOTE: This method is not currently recommended for public use.\n * The internal tree representation is unstable and is very likely\n * to change. Use at your own risk.\n */ __renderToDomTree: renderToDomTree,\n /**\n * Renders the given LaTeX into an HTML internal DOM tree representation,\n * without MathML and without flattening that representation to a string.\n *\n * NOTE: This method is not currently recommended for public use.\n * The internal tree representation is unstable and is very likely\n * to change. Use at your own risk.\n */ __renderToHTMLTree: renderToHTMLTree,\n /**\n * extends internal font metrics object with a new object\n * each key in the new object represents a font name\n */ __setFontMetrics: setFontMetrics,\n /**\n * adds a new symbol to builtin symbols table\n */ __defineSymbol: defineSymbol,\n /**\n * adds a new function to builtin function list,\n * which directly produce parse tree elements\n * and have their own html/mathml builders\n */ __defineFunction: defineFunction,\n /**\n * adds a new macro to builtin macro list\n */ __defineMacro: defineMacro,\n /**\n * Expose the dom tree node types, which can be useful for type checking nodes.\n *\n * NOTE: This method is not currently recommended for public use.\n * The internal tree representation is unstable and is very likely\n * to change. Use at your own risk.\n */ __domTree: {\n Span: Span,\n Anchor: Anchor,\n SymbolNode: SymbolNode,\n SvgNode: SvgNode,\n PathNode: PathNode,\n LineNode: LineNode\n }\n };\n /**\n * This is the webpack entry point for KaTeX. As ECMAScript, flow[1] and jest[2]\n * doesn't support CSS modules natively, a separate entry point is used and\n * it is not flowtyped.\n *\n * [1] https://gist.github.com/lambdahands/d19e0da96285b749f0ef\n * [2] https://facebook.github.io/jest/docs/en/webpack.html\n */ /* harmony default export */ var katex_webpack = katex;\n __webpack_exports__ = __webpack_exports__[\"default\"];\n /******/ return __webpack_exports__;\n /******/ }();\n});\n\n});\n\n\n//# sourceMappingURL=katex.c4310a46.js.map\n","(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"katex\"] = factory();\n\telse\n\t\troot[\"katex\"] = factory();\n})((typeof self !== 'undefined' ? self : this), function() {\nreturn /******/ (function() { // webpackBootstrap\n/******/ \t\"use strict\";\n/******/ \t// The require scope\n/******/ \tvar __webpack_require__ = {};\n/******/ \t\n/************************************************************************/\n/******/ \t/* webpack/runtime/define property getters */\n/******/ \t!function() {\n/******/ \t\t// define getter functions for harmony exports\n/******/ \t\t__webpack_require__.d = function(exports, definition) {\n/******/ \t\t\tfor(var key in definition) {\n/******/ \t\t\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n/******/ \t\t\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n/******/ \t\t\t\t}\n/******/ \t\t\t}\n/******/ \t\t};\n/******/ \t}();\n/******/ \t\n/******/ \t/* webpack/runtime/hasOwnProperty shorthand */\n/******/ \t!function() {\n/******/ \t\t__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }\n/******/ \t}();\n/******/ \t\n/************************************************************************/\nvar __webpack_exports__ = {};\n\n// EXPORTS\n__webpack_require__.d(__webpack_exports__, {\n \"default\": function() { return /* binding */ katex_webpack; }\n});\n\n;// CONCATENATED MODULE: ./src/ParseError.js\n\n\n/**\n * This is the ParseError class, which is the main error thrown by KaTeX\n * functions when something has gone wrong. This is used to distinguish internal\n * errors from errors in the expression that the user provided.\n *\n * If possible, a caller should provide a Token or ParseNode with information\n * about where in the source string the problem occurred.\n */\nclass ParseError {\n // Error start position based on passed-in Token or ParseNode.\n // Length of affected text based on passed-in Token or ParseNode.\n // The underlying error message without any context added.\n constructor(message, // The error message\n token // An object providing position information\n ) {\n this.name = void 0;\n this.position = void 0;\n this.length = void 0;\n this.rawMessage = void 0;\n let error = \"KaTeX parse error: \" + message;\n let start;\n let end;\n const loc = token && token.loc;\n\n if (loc && loc.start <= loc.end) {\n // If we have the input and a position, make the error a bit fancier\n // Get the input\n const input = loc.lexer.input; // Prepend some information\n\n start = loc.start;\n end = loc.end;\n\n if (start === input.length) {\n error += \" at end of input: \";\n } else {\n error += \" at position \" + (start + 1) + \": \";\n } // Underline token in question using combining underscores\n\n\n const underlined = input.slice(start, end).replace(/[^]/g, \"$&\\u0332\"); // Extract some context from the input and add it to the error\n\n let left;\n\n if (start > 15) {\n left = \"…\" + input.slice(start - 15, start);\n } else {\n left = input.slice(0, start);\n }\n\n let right;\n\n if (end + 15 < input.length) {\n right = input.slice(end, end + 15) + \"…\";\n } else {\n right = input.slice(end);\n }\n\n error += left + underlined + right;\n } // Some hackery to make ParseError a prototype of Error\n // See http://stackoverflow.com/a/8460753\n // $FlowFixMe\n\n\n const self = new Error(error);\n self.name = \"ParseError\"; // $FlowFixMe\n\n self.__proto__ = ParseError.prototype;\n self.position = start;\n\n if (start != null && end != null) {\n self.length = end - start;\n }\n\n self.rawMessage = message;\n return self;\n }\n\n} // $FlowFixMe More hackery\n\n\nParseError.prototype.__proto__ = Error.prototype;\n/* harmony default export */ var src_ParseError = (ParseError);\n;// CONCATENATED MODULE: ./src/utils.js\n/**\n * This file contains a list of utility functions which are useful in other\n * files.\n */\n\n/**\n * Return whether an element is contained in a list\n */\nconst contains = function (list, elem) {\n return list.indexOf(elem) !== -1;\n};\n/**\n * Provide a default value if a setting is undefined\n * NOTE: Couldn't use `T` as the output type due to facebook/flow#5022.\n */\n\n\nconst deflt = function (setting, defaultIfUndefined) {\n return setting === undefined ? defaultIfUndefined : setting;\n}; // hyphenate and escape adapted from Facebook's React under Apache 2 license\n\n\nconst uppercase = /([A-Z])/g;\n\nconst hyphenate = function (str) {\n return str.replace(uppercase, \"-$1\").toLowerCase();\n};\n\nconst ESCAPE_LOOKUP = {\n \"&\": \"&\",\n \">\": \">\",\n \"<\": \"<\",\n \"\\\"\": \""\",\n \"'\": \"'\"\n};\nconst ESCAPE_REGEX = /[&><\"']/g;\n/**\n * Escapes text to prevent scripting attacks.\n */\n\nfunction utils_escape(text) {\n return String(text).replace(ESCAPE_REGEX, match => ESCAPE_LOOKUP[match]);\n}\n/**\n * Sometimes we want to pull out the innermost element of a group. In most\n * cases, this will just be the group itself, but when ordgroups and colors have\n * a single element, we want to pull that out.\n */\n\n\nconst getBaseElem = function (group) {\n if (group.type === \"ordgroup\") {\n if (group.body.length === 1) {\n return getBaseElem(group.body[0]);\n } else {\n return group;\n }\n } else if (group.type === \"color\") {\n if (group.body.length === 1) {\n return getBaseElem(group.body[0]);\n } else {\n return group;\n }\n } else if (group.type === \"font\") {\n return getBaseElem(group.body);\n } else {\n return group;\n }\n};\n/**\n * TeXbook algorithms often reference \"character boxes\", which are simply groups\n * with a single character in them. To decide if something is a character box,\n * we find its innermost group, and see if it is a single character.\n */\n\n\nconst isCharacterBox = function (group) {\n const baseElem = getBaseElem(group); // These are all they types of groups which hold single characters\n\n return baseElem.type === \"mathord\" || baseElem.type === \"textord\" || baseElem.type === \"atom\";\n};\n\nconst assert = function (value) {\n if (!value) {\n throw new Error('Expected non-null, but got ' + String(value));\n }\n\n return value;\n};\n/**\n * Return the protocol of a URL, or \"_relative\" if the URL does not specify a\n * protocol (and thus is relative), or `null` if URL has invalid protocol\n * (so should be outright rejected).\n */\n\nconst protocolFromUrl = function (url) {\n // Check for possible leading protocol.\n // https://url.spec.whatwg.org/#url-parsing strips leading whitespace\n // (U+20) or C0 control (U+00-U+1F) characters.\n // eslint-disable-next-line no-control-regex\n const protocol = /^[\\x00-\\x20]*([^\\\\/#?]*?)(:|*58|*3a|&colon)/i.exec(url);\n\n if (!protocol) {\n return \"_relative\";\n } // Reject weird colons\n\n\n if (protocol[2] !== \":\") {\n return null;\n } // Reject invalid characters in scheme according to\n // https://datatracker.ietf.org/doc/html/rfc3986#section-3.1\n\n\n if (!/^[a-zA-Z][a-zA-Z0-9+\\-.]*$/.test(protocol[1])) {\n return null;\n } // Lowercase the protocol\n\n\n return protocol[1].toLowerCase();\n};\n/* harmony default export */ var utils = ({\n contains,\n deflt,\n escape: utils_escape,\n hyphenate,\n getBaseElem,\n isCharacterBox,\n protocolFromUrl\n});\n;// CONCATENATED MODULE: ./src/Settings.js\n/* eslint no-console:0 */\n\n/**\n * This is a module for storing settings passed into KaTeX. It correctly handles\n * default settings.\n */\n\n\n\n// TODO: automatically generate documentation\n// TODO: check all properties on Settings exist\n// TODO: check the type of a property on Settings matches\nconst SETTINGS_SCHEMA = {\n displayMode: {\n type: \"boolean\",\n description: \"Render math in display mode, which puts the math in \" + \"display style (so \\\\int and \\\\sum are large, for example), and \" + \"centers the math on the page on its own line.\",\n cli: \"-d, --display-mode\"\n },\n output: {\n type: {\n enum: [\"htmlAndMathml\", \"html\", \"mathml\"]\n },\n description: \"Determines the markup language of the output.\",\n cli: \"-F, --format \"\n },\n leqno: {\n type: \"boolean\",\n description: \"Render display math in leqno style (left-justified tags).\"\n },\n fleqn: {\n type: \"boolean\",\n description: \"Render display math flush left.\"\n },\n throwOnError: {\n type: \"boolean\",\n default: true,\n cli: \"-t, --no-throw-on-error\",\n cliDescription: \"Render errors (in the color given by --error-color) ins\" + \"tead of throwing a ParseError exception when encountering an error.\"\n },\n errorColor: {\n type: \"string\",\n default: \"#cc0000\",\n cli: \"-c, --error-color \",\n cliDescription: \"A color string given in the format 'rgb' or 'rrggbb' \" + \"(no #). This option determines the color of errors rendered by the \" + \"-t option.\",\n cliProcessor: color => \"#\" + color\n },\n macros: {\n type: \"object\",\n cli: \"-m, --macro \",\n cliDescription: \"Define custom macro of the form '\\\\foo:expansion' (use \" + \"multiple -m arguments for multiple macros).\",\n cliDefault: [],\n cliProcessor: (def, defs) => {\n defs.push(def);\n return defs;\n }\n },\n minRuleThickness: {\n type: \"number\",\n description: \"Specifies a minimum thickness, in ems, for fraction lines,\" + \" `\\\\sqrt` top lines, `{array}` vertical lines, `\\\\hline`, \" + \"`\\\\hdashline`, `\\\\underline`, `\\\\overline`, and the borders of \" + \"`\\\\fbox`, `\\\\boxed`, and `\\\\fcolorbox`.\",\n processor: t => Math.max(0, t),\n cli: \"--min-rule-thickness \",\n cliProcessor: parseFloat\n },\n colorIsTextColor: {\n type: \"boolean\",\n description: \"Makes \\\\color behave like LaTeX's 2-argument \\\\textcolor, \" + \"instead of LaTeX's one-argument \\\\color mode change.\",\n cli: \"-b, --color-is-text-color\"\n },\n strict: {\n type: [{\n enum: [\"warn\", \"ignore\", \"error\"]\n }, \"boolean\", \"function\"],\n description: \"Turn on strict / LaTeX faithfulness mode, which throws an \" + \"error if the input uses features that are not supported by LaTeX.\",\n cli: \"-S, --strict\",\n cliDefault: false\n },\n trust: {\n type: [\"boolean\", \"function\"],\n description: \"Trust the input, enabling all HTML features such as \\\\url.\",\n cli: \"-T, --trust\"\n },\n maxSize: {\n type: \"number\",\n default: Infinity,\n description: \"If non-zero, all user-specified sizes, e.g. in \" + \"\\\\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, \" + \"elements and spaces can be arbitrarily large\",\n processor: s => Math.max(0, s),\n cli: \"-s, --max-size \",\n cliProcessor: parseInt\n },\n maxExpand: {\n type: \"number\",\n default: 1000,\n description: \"Limit the number of macro expansions to the specified \" + \"number, to prevent e.g. infinite macro loops. If set to Infinity, \" + \"the macro expander will try to fully expand as in LaTeX.\",\n processor: n => Math.max(0, n),\n cli: \"-e, --max-expand \",\n cliProcessor: n => n === \"Infinity\" ? Infinity : parseInt(n)\n },\n globalGroup: {\n type: \"boolean\",\n cli: false\n }\n};\n\nfunction getDefaultValue(schema) {\n if (schema.default) {\n return schema.default;\n }\n\n const type = schema.type;\n const defaultType = Array.isArray(type) ? type[0] : type;\n\n if (typeof defaultType !== 'string') {\n return defaultType.enum[0];\n }\n\n switch (defaultType) {\n case 'boolean':\n return false;\n\n case 'string':\n return '';\n\n case 'number':\n return 0;\n\n case 'object':\n return {};\n }\n}\n/**\n * The main Settings object\n *\n * The current options stored are:\n * - displayMode: Whether the expression should be typeset as inline math\n * (false, the default), meaning that the math starts in\n * \\textstyle and is placed in an inline-block); or as display\n * math (true), meaning that the math starts in \\displaystyle\n * and is placed in a block with vertical margin.\n */\n\n\nclass Settings {\n constructor(options) {\n this.displayMode = void 0;\n this.output = void 0;\n this.leqno = void 0;\n this.fleqn = void 0;\n this.throwOnError = void 0;\n this.errorColor = void 0;\n this.macros = void 0;\n this.minRuleThickness = void 0;\n this.colorIsTextColor = void 0;\n this.strict = void 0;\n this.trust = void 0;\n this.maxSize = void 0;\n this.maxExpand = void 0;\n this.globalGroup = void 0;\n // allow null options\n options = options || {};\n\n for (const prop in SETTINGS_SCHEMA) {\n if (SETTINGS_SCHEMA.hasOwnProperty(prop)) {\n // $FlowFixMe\n const schema = SETTINGS_SCHEMA[prop]; // TODO: validate options\n // $FlowFixMe\n\n this[prop] = options[prop] !== undefined ? schema.processor ? schema.processor(options[prop]) : options[prop] : getDefaultValue(schema);\n }\n }\n }\n /**\n * Report nonstrict (non-LaTeX-compatible) input.\n * Can safely not be called if `this.strict` is false in JavaScript.\n */\n\n\n reportNonstrict(errorCode, errorMsg, token) {\n let strict = this.strict;\n\n if (typeof strict === \"function\") {\n // Allow return value of strict function to be boolean or string\n // (or null/undefined, meaning no further processing).\n strict = strict(errorCode, errorMsg, token);\n }\n\n if (!strict || strict === \"ignore\") {\n return;\n } else if (strict === true || strict === \"error\") {\n throw new src_ParseError(\"LaTeX-incompatible input and strict mode is set to 'error': \" + (errorMsg + \" [\" + errorCode + \"]\"), token);\n } else if (strict === \"warn\") {\n typeof console !== \"undefined\" && console.warn(\"LaTeX-incompatible input and strict mode is set to 'warn': \" + (errorMsg + \" [\" + errorCode + \"]\"));\n } else {\n // won't happen in type-safe code\n typeof console !== \"undefined\" && console.warn(\"LaTeX-incompatible input and strict mode is set to \" + (\"unrecognized '\" + strict + \"': \" + errorMsg + \" [\" + errorCode + \"]\"));\n }\n }\n /**\n * Check whether to apply strict (LaTeX-adhering) behavior for unusual\n * input (like `\\\\`). Unlike `nonstrict`, will not throw an error;\n * instead, \"error\" translates to a return value of `true`, while \"ignore\"\n * translates to a return value of `false`. May still print a warning:\n * \"warn\" prints a warning and returns `false`.\n * This is for the second category of `errorCode`s listed in the README.\n */\n\n\n useStrictBehavior(errorCode, errorMsg, token) {\n let strict = this.strict;\n\n if (typeof strict === \"function\") {\n // Allow return value of strict function to be boolean or string\n // (or null/undefined, meaning no further processing).\n // But catch any exceptions thrown by function, treating them\n // like \"error\".\n try {\n strict = strict(errorCode, errorMsg, token);\n } catch (error) {\n strict = \"error\";\n }\n }\n\n if (!strict || strict === \"ignore\") {\n return false;\n } else if (strict === true || strict === \"error\") {\n return true;\n } else if (strict === \"warn\") {\n typeof console !== \"undefined\" && console.warn(\"LaTeX-incompatible input and strict mode is set to 'warn': \" + (errorMsg + \" [\" + errorCode + \"]\"));\n return false;\n } else {\n // won't happen in type-safe code\n typeof console !== \"undefined\" && console.warn(\"LaTeX-incompatible input and strict mode is set to \" + (\"unrecognized '\" + strict + \"': \" + errorMsg + \" [\" + errorCode + \"]\"));\n return false;\n }\n }\n /**\n * Check whether to test potentially dangerous input, and return\n * `true` (trusted) or `false` (untrusted). The sole argument `context`\n * should be an object with `command` field specifying the relevant LaTeX\n * command (as a string starting with `\\`), and any other arguments, etc.\n * If `context` has a `url` field, a `protocol` field will automatically\n * get added by this function (changing the specified object).\n */\n\n\n isTrusted(context) {\n if (context.url && !context.protocol) {\n const protocol = utils.protocolFromUrl(context.url);\n\n if (protocol == null) {\n return false;\n }\n\n context.protocol = protocol;\n }\n\n const trust = typeof this.trust === \"function\" ? this.trust(context) : this.trust;\n return Boolean(trust);\n }\n\n}\n;// CONCATENATED MODULE: ./src/Style.js\n/**\n * This file contains information and classes for the various kinds of styles\n * used in TeX. It provides a generic `Style` class, which holds information\n * about a specific style. It then provides instances of all the different kinds\n * of styles possible, and provides functions to move between them and get\n * information about them.\n */\n\n/**\n * The main style class. Contains a unique id for the style, a size (which is\n * the same for cramped and uncramped version of a style), and a cramped flag.\n */\nclass Style {\n constructor(id, size, cramped) {\n this.id = void 0;\n this.size = void 0;\n this.cramped = void 0;\n this.id = id;\n this.size = size;\n this.cramped = cramped;\n }\n /**\n * Get the style of a superscript given a base in the current style.\n */\n\n\n sup() {\n return styles[sup[this.id]];\n }\n /**\n * Get the style of a subscript given a base in the current style.\n */\n\n\n sub() {\n return styles[sub[this.id]];\n }\n /**\n * Get the style of a fraction numerator given the fraction in the current\n * style.\n */\n\n\n fracNum() {\n return styles[fracNum[this.id]];\n }\n /**\n * Get the style of a fraction denominator given the fraction in the current\n * style.\n */\n\n\n fracDen() {\n return styles[fracDen[this.id]];\n }\n /**\n * Get the cramped version of a style (in particular, cramping a cramped style\n * doesn't change the style).\n */\n\n\n cramp() {\n return styles[cramp[this.id]];\n }\n /**\n * Get a text or display version of this style.\n */\n\n\n text() {\n return styles[Style_text[this.id]];\n }\n /**\n * Return true if this style is tightly spaced (scriptstyle/scriptscriptstyle)\n */\n\n\n isTight() {\n return this.size >= 2;\n }\n\n} // Export an interface for type checking, but don't expose the implementation.\n// This way, no more styles can be generated.\n\n\n// IDs of the different styles\nconst D = 0;\nconst Dc = 1;\nconst T = 2;\nconst Tc = 3;\nconst S = 4;\nconst Sc = 5;\nconst SS = 6;\nconst SSc = 7; // Instances of the different styles\n\nconst styles = [new Style(D, 0, false), new Style(Dc, 0, true), new Style(T, 1, false), new Style(Tc, 1, true), new Style(S, 2, false), new Style(Sc, 2, true), new Style(SS, 3, false), new Style(SSc, 3, true)]; // Lookup tables for switching from one style to another\n\nconst sup = [S, Sc, S, Sc, SS, SSc, SS, SSc];\nconst sub = [Sc, Sc, Sc, Sc, SSc, SSc, SSc, SSc];\nconst fracNum = [T, Tc, S, Sc, SS, SSc, SS, SSc];\nconst fracDen = [Tc, Tc, Sc, Sc, SSc, SSc, SSc, SSc];\nconst cramp = [Dc, Dc, Tc, Tc, Sc, Sc, SSc, SSc];\nconst Style_text = [D, Dc, T, Tc, T, Tc, T, Tc]; // We only export some of the styles.\n\n/* harmony default export */ var src_Style = ({\n DISPLAY: styles[D],\n TEXT: styles[T],\n SCRIPT: styles[S],\n SCRIPTSCRIPT: styles[SS]\n});\n;// CONCATENATED MODULE: ./src/unicodeScripts.js\n/*\n * This file defines the Unicode scripts and script families that we\n * support. To add new scripts or families, just add a new entry to the\n * scriptData array below. Adding scripts to the scriptData array allows\n * characters from that script to appear in \\text{} environments.\n */\n\n/**\n * Each script or script family has a name and an array of blocks.\n * Each block is an array of two numbers which specify the start and\n * end points (inclusive) of a block of Unicode codepoints.\n */\n\n/**\n * Unicode block data for the families of scripts we support in \\text{}.\n * Scripts only need to appear here if they do not have font metrics.\n */\nconst scriptData = [{\n // Latin characters beyond the Latin-1 characters we have metrics for.\n // Needed for Czech, Hungarian and Turkish text, for example.\n name: 'latin',\n blocks: [[0x0100, 0x024f], // Latin Extended-A and Latin Extended-B\n [0x0300, 0x036f] // Combining Diacritical marks\n ]\n}, {\n // The Cyrillic script used by Russian and related languages.\n // A Cyrillic subset used to be supported as explicitly defined\n // symbols in symbols.js\n name: 'cyrillic',\n blocks: [[0x0400, 0x04ff]]\n}, {\n // Armenian\n name: 'armenian',\n blocks: [[0x0530, 0x058F]]\n}, {\n // The Brahmic scripts of South and Southeast Asia\n // Devanagari (0900–097F)\n // Bengali (0980–09FF)\n // Gurmukhi (0A00–0A7F)\n // Gujarati (0A80–0AFF)\n // Oriya (0B00–0B7F)\n // Tamil (0B80–0BFF)\n // Telugu (0C00–0C7F)\n // Kannada (0C80–0CFF)\n // Malayalam (0D00–0D7F)\n // Sinhala (0D80–0DFF)\n // Thai (0E00–0E7F)\n // Lao (0E80–0EFF)\n // Tibetan (0F00–0FFF)\n // Myanmar (1000–109F)\n name: 'brahmic',\n blocks: [[0x0900, 0x109F]]\n}, {\n name: 'georgian',\n blocks: [[0x10A0, 0x10ff]]\n}, {\n // Chinese and Japanese.\n // The \"k\" in cjk is for Korean, but we've separated Korean out\n name: \"cjk\",\n blocks: [[0x3000, 0x30FF], // CJK symbols and punctuation, Hiragana, Katakana\n [0x4E00, 0x9FAF], // CJK ideograms\n [0xFF00, 0xFF60] // Fullwidth punctuation\n // TODO: add halfwidth Katakana and Romanji glyphs\n ]\n}, {\n // Korean\n name: 'hangul',\n blocks: [[0xAC00, 0xD7AF]]\n}];\n/**\n * Given a codepoint, return the name of the script or script family\n * it is from, or null if it is not part of a known block\n */\n\nfunction scriptFromCodepoint(codepoint) {\n for (let i = 0; i < scriptData.length; i++) {\n const script = scriptData[i];\n\n for (let i = 0; i < script.blocks.length; i++) {\n const block = script.blocks[i];\n\n if (codepoint >= block[0] && codepoint <= block[1]) {\n return script.name;\n }\n }\n }\n\n return null;\n}\n/**\n * A flattened version of all the supported blocks in a single array.\n * This is an optimization to make supportedCodepoint() fast.\n */\n\nconst allBlocks = [];\nscriptData.forEach(s => s.blocks.forEach(b => allBlocks.push(...b)));\n/**\n * Given a codepoint, return true if it falls within one of the\n * scripts or script families defined above and false otherwise.\n *\n * Micro benchmarks shows that this is faster than\n * /[\\u3000-\\u30FF\\u4E00-\\u9FAF\\uFF00-\\uFF60\\uAC00-\\uD7AF\\u0900-\\u109F]/.test()\n * in Firefox, Chrome and Node.\n */\n\nfunction supportedCodepoint(codepoint) {\n for (let i = 0; i < allBlocks.length; i += 2) {\n if (codepoint >= allBlocks[i] && codepoint <= allBlocks[i + 1]) {\n return true;\n }\n }\n\n return false;\n}\n;// CONCATENATED MODULE: ./src/svgGeometry.js\n/**\n * This file provides support to domTree.js and delimiter.js.\n * It's a storehouse of path geometry for SVG images.\n */\n// In all paths below, the viewBox-to-em scale is 1000:1.\nconst hLinePad = 80; // padding above a sqrt vinculum. Prevents image cropping.\n// The vinculum of a \\sqrt can be made thicker by a KaTeX rendering option.\n// Think of variable extraVinculum as two detours in the SVG path.\n// The detour begins at the lower left of the area labeled extraVinculum below.\n// The detour proceeds one extraVinculum distance up and slightly to the right,\n// displacing the radiused corner between surd and vinculum. The radius is\n// traversed as usual, then the detour resumes. It goes right, to the end of\n// the very long vinculum, then down one extraVinculum distance,\n// after which it resumes regular path geometry for the radical.\n\n/* vinculum\n /\n /▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒←extraVinculum\n / █████████████████████←0.04em (40 unit) std vinculum thickness\n / /\n / /\n / /\\\n / / surd\n*/\n\nconst sqrtMain = function (extraVinculum, hLinePad) {\n // sqrtMain path geometry is from glyph U221A in the font KaTeX Main\n return \"M95,\" + (622 + extraVinculum + hLinePad) + \"\\nc-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14\\nc0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54\\nc44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10\\ns173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429\\nc69,-144,104.5,-217.7,106.5,-221\\nl\" + extraVinculum / 2.075 + \" -\" + extraVinculum + \"\\nc5.3,-9.3,12,-14,20,-14\\nH400000v\" + (40 + extraVinculum) + \"H845.2724\\ns-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7\\nc-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z\\nM\" + (834 + extraVinculum) + \" \" + hLinePad + \"h400000v\" + (40 + extraVinculum) + \"h-400000z\";\n};\n\nconst sqrtSize1 = function (extraVinculum, hLinePad) {\n // size1 is from glyph U221A in the font KaTeX_Size1-Regular\n return \"M263,\" + (601 + extraVinculum + hLinePad) + \"c0.7,0,18,39.7,52,119\\nc34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120\\nc340,-704.7,510.7,-1060.3,512,-1067\\nl\" + extraVinculum / 2.084 + \" -\" + extraVinculum + \"\\nc4.7,-7.3,11,-11,19,-11\\nH40000v\" + (40 + extraVinculum) + \"H1012.3\\ns-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232\\nc-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1\\ns-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26\\nc-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z\\nM\" + (1001 + extraVinculum) + \" \" + hLinePad + \"h400000v\" + (40 + extraVinculum) + \"h-400000z\";\n};\n\nconst sqrtSize2 = function (extraVinculum, hLinePad) {\n // size2 is from glyph U221A in the font KaTeX_Size2-Regular\n return \"M983 \" + (10 + extraVinculum + hLinePad) + \"\\nl\" + extraVinculum / 3.13 + \" -\" + extraVinculum + \"\\nc4,-6.7,10,-10,18,-10 H400000v\" + (40 + extraVinculum) + \"\\nH1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7\\ns-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744\\nc-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30\\nc26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722\\nc56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5\\nc53.7,-170.3,84.5,-266.8,92.5,-289.5z\\nM\" + (1001 + extraVinculum) + \" \" + hLinePad + \"h400000v\" + (40 + extraVinculum) + \"h-400000z\";\n};\n\nconst sqrtSize3 = function (extraVinculum, hLinePad) {\n // size3 is from glyph U221A in the font KaTeX_Size3-Regular\n return \"M424,\" + (2398 + extraVinculum + hLinePad) + \"\\nc-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514\\nc0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20\\ns-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121\\ns209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081\\nl\" + extraVinculum / 4.223 + \" -\" + extraVinculum + \"c4,-6.7,10,-10,18,-10 H400000\\nv\" + (40 + extraVinculum) + \"H1014.6\\ns-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185\\nc-2,6,-10,9,-24,9\\nc-8,0,-12,-0.7,-12,-2z M\" + (1001 + extraVinculum) + \" \" + hLinePad + \"\\nh400000v\" + (40 + extraVinculum) + \"h-400000z\";\n};\n\nconst sqrtSize4 = function (extraVinculum, hLinePad) {\n // size4 is from glyph U221A in the font KaTeX_Size4-Regular\n return \"M473,\" + (2713 + extraVinculum + hLinePad) + \"\\nc339.3,-1799.3,509.3,-2700,510,-2702 l\" + extraVinculum / 5.298 + \" -\" + extraVinculum + \"\\nc3.3,-7.3,9.3,-11,18,-11 H400000v\" + (40 + extraVinculum) + \"H1017.7\\ns-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9\\nc-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200\\nc0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26\\ns76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,\\n606zM\" + (1001 + extraVinculum) + \" \" + hLinePad + \"h400000v\" + (40 + extraVinculum) + \"H1017.7z\";\n};\n\nconst phasePath = function (y) {\n const x = y / 2; // x coordinate at top of angle\n\n return \"M400000 \" + y + \" H0 L\" + x + \" 0 l65 45 L145 \" + (y - 80) + \" H400000z\";\n};\n\nconst sqrtTall = function (extraVinculum, hLinePad, viewBoxHeight) {\n // sqrtTall is from glyph U23B7 in the font KaTeX_Size4-Regular\n // One path edge has a variable length. It runs vertically from the vinculum\n // to a point near (14 units) the bottom of the surd. The vinculum\n // is normally 40 units thick. So the length of the line in question is:\n const vertSegment = viewBoxHeight - 54 - hLinePad - extraVinculum;\n return \"M702 \" + (extraVinculum + hLinePad) + \"H400000\" + (40 + extraVinculum) + \"\\nH742v\" + vertSegment + \"l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1\\nh-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170\\nc-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667\\n219 661 l218 661zM702 \" + hLinePad + \"H400000v\" + (40 + extraVinculum) + \"H742z\";\n};\n\nconst sqrtPath = function (size, extraVinculum, viewBoxHeight) {\n extraVinculum = 1000 * extraVinculum; // Convert from document ems to viewBox.\n\n let path = \"\";\n\n switch (size) {\n case \"sqrtMain\":\n path = sqrtMain(extraVinculum, hLinePad);\n break;\n\n case \"sqrtSize1\":\n path = sqrtSize1(extraVinculum, hLinePad);\n break;\n\n case \"sqrtSize2\":\n path = sqrtSize2(extraVinculum, hLinePad);\n break;\n\n case \"sqrtSize3\":\n path = sqrtSize3(extraVinculum, hLinePad);\n break;\n\n case \"sqrtSize4\":\n path = sqrtSize4(extraVinculum, hLinePad);\n break;\n\n case \"sqrtTall\":\n path = sqrtTall(extraVinculum, hLinePad, viewBoxHeight);\n }\n\n return path;\n};\nconst innerPath = function (name, height) {\n // The inner part of stretchy tall delimiters\n switch (name) {\n case \"\\u239c\":\n return \"M291 0 H417 V\" + height + \" H291z M291 0 H417 V\" + height + \" H291z\";\n\n case \"\\u2223\":\n return \"M145 0 H188 V\" + height + \" H145z M145 0 H188 V\" + height + \" H145z\";\n\n case \"\\u2225\":\n return \"M145 0 H188 V\" + height + \" H145z M145 0 H188 V\" + height + \" H145z\" + (\"M367 0 H410 V\" + height + \" H367z M367 0 H410 V\" + height + \" H367z\");\n\n case \"\\u239f\":\n return \"M457 0 H583 V\" + height + \" H457z M457 0 H583 V\" + height + \" H457z\";\n\n case \"\\u23a2\":\n return \"M319 0 H403 V\" + height + \" H319z M319 0 H403 V\" + height + \" H319z\";\n\n case \"\\u23a5\":\n return \"M263 0 H347 V\" + height + \" H263z M263 0 H347 V\" + height + \" H263z\";\n\n case \"\\u23aa\":\n return \"M384 0 H504 V\" + height + \" H384z M384 0 H504 V\" + height + \" H384z\";\n\n case \"\\u23d0\":\n return \"M312 0 H355 V\" + height + \" H312z M312 0 H355 V\" + height + \" H312z\";\n\n case \"\\u2016\":\n return \"M257 0 H300 V\" + height + \" H257z M257 0 H300 V\" + height + \" H257z\" + (\"M478 0 H521 V\" + height + \" H478z M478 0 H521 V\" + height + \" H478z\");\n\n default:\n return \"\";\n }\n};\nconst path = {\n // The doubleleftarrow geometry is from glyph U+21D0 in the font KaTeX Main\n doubleleftarrow: \"M262 157\\nl10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3\\n 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28\\n 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5\\nc2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5\\n 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87\\n-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7\\n-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z\\nm8 0v40h399730v-40zm0 194v40h399730v-40z\",\n // doublerightarrow is from glyph U+21D2 in font KaTeX Main\n doublerightarrow: \"M399738 392l\\n-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5\\n 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88\\n-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68\\n-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18\\n-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782\\nc-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3\\n-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z\",\n // leftarrow is from glyph U+2190 in font KaTeX Main\n leftarrow: \"M400000 241H110l3-3c68.7-52.7 113.7-120\\n 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8\\n-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247\\nc-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208\\n 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3\\n 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202\\n l-3-3h399890zM100 241v40h399900v-40z\",\n // overbrace is from glyphs U+23A9/23A8/23A7 in font KaTeX_Size4-Regular\n leftbrace: \"M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117\\n-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7\\n 5-6 9-10 13-.7 1-7.3 1-20 1H6z\",\n leftbraceunder: \"M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13\\n 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688\\n 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7\\n-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z\",\n // overgroup is from the MnSymbol package (public domain)\n leftgroup: \"M400000 80\\nH435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0\\n 435 0h399565z\",\n leftgroupunder: \"M400000 262\\nH435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219\\n 435 219h399565z\",\n // Harpoons are from glyph U+21BD in font KaTeX Main\n leftharpoon: \"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3\\n-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5\\n-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7\\n-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z\",\n leftharpoonplus: \"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5\\n 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3\\n-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7\\n-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z\\nm0 0v40h400000v-40z\",\n leftharpoondown: \"M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333\\n 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5\\n 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667\\n-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z\",\n leftharpoondownplus: \"M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12\\n 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7\\n-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0\\nv40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z\",\n // hook is from glyph U+21A9 in font KaTeX Main\n lefthook: \"M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5\\n-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3\\n-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21\\n 71.5 23h399859zM103 281v-40h399897v40z\",\n leftlinesegment: \"M40 281 V428 H0 V94 H40 V241 H400000 v40z\\nM40 281 V428 H0 V94 H40 V241 H400000 v40z\",\n leftmapsto: \"M40 281 V448H0V74H40V241H400000v40z\\nM40 281 V448H0V74H40V241H400000v40z\",\n // tofrom is from glyph U+21C4 in font KaTeX AMS Regular\n leftToFrom: \"M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\\nc28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3\\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z\",\n longequal: \"M0 50 h400000 v40H0z m0 194h40000v40H0z\\nM0 50 h400000 v40H0z m0 194h40000v40H0z\",\n midbrace: \"M200428 334\\nc-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14\\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\\n 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11\\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z\",\n midbraceunder: \"M199572 214\\nc100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14\\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\\n 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0\\n-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z\",\n oiintSize1: \"M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6\\n-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z\\nm368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8\\n60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z\",\n oiintSize2: \"M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8\\n-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z\\nm502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2\\nc0 110 84 276 504 276s502.4-166 502.4-276z\",\n oiiintSize1: \"M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6\\n-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z\\nm525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0\\n85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z\",\n oiiintSize2: \"M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8\\n-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z\\nm770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1\\nc0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z\",\n rightarrow: \"M0 241v40h399891c-47.3 35.3-84 78-110 128\\n-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20\\n 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7\\n 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85\\n-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\\n 151.7 139 205zm0 0v40h399900v-40z\",\n rightbrace: \"M400000 542l\\n-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5\\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\\nc124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z\",\n rightbraceunder: \"M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3\\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\\n-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z\",\n rightgroup: \"M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0\\n 3-1 3-3v-38c-76-158-257-219-435-219H0z\",\n rightgroupunder: \"M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18\\n 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z\",\n rightharpoon: \"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3\\n-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2\\n-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58\\n 69.2 92 94.5zm0 0v40h399900v-40z\",\n rightharpoonplus: \"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11\\n-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7\\n 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z\\nm0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z\",\n rightharpoondown: \"M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8\\n 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5\\n-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95\\n-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z\",\n rightharpoondownplus: \"M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8\\n 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3\\n 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3\\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\\nm0-194v40h400000v-40zm0 0v40h400000v-40z\",\n righthook: \"M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3\\n 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0\\n-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21\\n 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z\",\n rightlinesegment: \"M399960 241 V94 h40 V428 h-40 V281 H0 v-40z\\nM399960 241 V94 h40 V428 h-40 V281 H0 v-40z\",\n rightToFrom: \"M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23\\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\\n-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142\\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z\",\n // twoheadleftarrow is from glyph U+219E in font KaTeX AMS Regular\n twoheadleftarrow: \"M0 167c68 40\\n 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69\\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\\n 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z\",\n twoheadrightarrow: \"M400000 167\\nc-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3\\n 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42\\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\\n 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z\",\n // tilde1 is a modified version of a glyph from the MnSymbol package\n tilde1: \"M200 55.538c-77 0-168 73.953-177 73.953-3 0-7\\n-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0\\n 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0\\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\\n-68.267.847-113-73.952-191-73.952z\",\n // ditto tilde2, tilde3, & tilde4\n tilde2: \"M344 55.266c-142 0-300.638 81.316-311.5 86.418\\n-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9\\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\\nc1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751\\n 181.476 676 181.476c-149 0-189-126.21-332-126.21z\",\n tilde3: \"M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457\\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\\n -338 0-409-156.573-744-156.573z\",\n tilde4: \"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\\n -175.236-744-175.236z\",\n // vec is from glyph U+20D7 in font KaTeX Main\n vec: \"M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5\\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\\n-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1\\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\\nc-16-25.333-24-45-24-59z\",\n // widehat1 is a modified version of a glyph from the MnSymbol package\n widehat1: \"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\\nc-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z\",\n // ditto widehat2, widehat3, & widehat4\n widehat2: \"M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10\\n-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z\",\n widehat3: \"M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10\\n-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z\",\n widehat4: \"M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10\\n-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z\",\n // widecheck paths are all inverted versions of widehat\n widecheck1: \"M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,\\n-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z\",\n widecheck2: \"M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\\n-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z\",\n widecheck3: \"M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\\n-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z\",\n widecheck4: \"M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\\n-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z\",\n // The next ten paths support reaction arrows from the mhchem package.\n // Arrows for \\ce{<-->} are offset from xAxis by 0.22ex, per mhchem in LaTeX\n // baraboveleftarrow is mostly from glyph U+2190 in font KaTeX Main\n baraboveleftarrow: \"M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202\\nc4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5\\nc-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130\\ns-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47\\n121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6\\ns2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11\\nc0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z\\nM100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z\",\n // rightarrowabovebar is mostly from glyph U+2192, KaTeX Main\n rightarrowabovebar: \"M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32\\n-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0\\n13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39\\n-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5\\n-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\\n151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z\",\n // The short left harpoon has 0.5em (i.e. 500 units) kern on the left end.\n // Ref from mhchem.sty: \\rlap{\\raisebox{-.22ex}{$\\kern0.5em\n baraboveshortleftharpoon: \"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\\nc2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21\\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z\",\n rightharpoonaboveshortbar: \"M0,241 l0,40c399126,0,399993,0,399993,0\\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\\nM0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z\",\n shortbaraboveleftharpoon: \"M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,\\n1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,\\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\\nM93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z\",\n shortrightharpoonabovebar: \"M53,241l0,40c398570,0,399437,0,399437,0\\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z\"\n};\nconst tallDelim = function (label, midHeight) {\n switch (label) {\n case \"lbrack\":\n return \"M403 1759 V84 H666 V0 H319 V1759 v\" + midHeight + \" v1759 h347 v-84\\nH403z M403 1759 V0 H319 V1759 v\" + midHeight + \" v1759 h84z\";\n\n case \"rbrack\":\n return \"M347 1759 V0 H0 V84 H263 V1759 v\" + midHeight + \" v1759 H0 v84 H347z\\nM347 1759 V0 H263 V1759 v\" + midHeight + \" v1759 h84z\";\n\n case \"vert\":\n return \"M145 15 v585 v\" + midHeight + \" v585 c2.667,10,9.667,15,21,15\\nc10,0,16.667,-5,20,-15 v-585 v\" + -midHeight + \" v-585 c-2.667,-10,-9.667,-15,-21,-15\\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v\" + midHeight + \" v585 h43z\";\n\n case \"doublevert\":\n return \"M145 15 v585 v\" + midHeight + \" v585 c2.667,10,9.667,15,21,15\\nc10,0,16.667,-5,20,-15 v-585 v\" + -midHeight + \" v-585 c-2.667,-10,-9.667,-15,-21,-15\\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v\" + midHeight + \" v585 h43z\\nM367 15 v585 v\" + midHeight + \" v585 c2.667,10,9.667,15,21,15\\nc10,0,16.667,-5,20,-15 v-585 v\" + -midHeight + \" v-585 c-2.667,-10,-9.667,-15,-21,-15\\nc-10,0,-16.667,5,-20,15z M410 15 H367 v585 v\" + midHeight + \" v585 h43z\";\n\n case \"lfloor\":\n return \"M319 602 V0 H403 V602 v\" + midHeight + \" v1715 h263 v84 H319z\\nMM319 602 V0 H403 V602 v\" + midHeight + \" v1715 H319z\";\n\n case \"rfloor\":\n return \"M319 602 V0 H403 V602 v\" + midHeight + \" v1799 H0 v-84 H319z\\nMM319 602 V0 H403 V602 v\" + midHeight + \" v1715 H319z\";\n\n case \"lceil\":\n return \"M403 1759 V84 H666 V0 H319 V1759 v\" + midHeight + \" v602 h84z\\nM403 1759 V0 H319 V1759 v\" + midHeight + \" v602 h84z\";\n\n case \"rceil\":\n return \"M347 1759 V0 H0 V84 H263 V1759 v\" + midHeight + \" v602 h84z\\nM347 1759 V0 h-84 V1759 v\" + midHeight + \" v602 h84z\";\n\n case \"lparen\":\n return \"M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1\\nc-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,\\n-36,557 l0,\" + (midHeight + 84) + \"c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,\\n949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9\\nc0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,\\n-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189\\nl0,-\" + (midHeight + 92) + \"c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,\\n-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z\";\n\n case \"rparen\":\n return \"M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,\\n63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5\\nc11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,\" + (midHeight + 9) + \"\\nc-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664\\nc-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11\\nc0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17\\nc242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558\\nl0,-\" + (midHeight + 144) + \"c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,\\n-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z\";\n\n default:\n // We should not ever get here.\n throw new Error(\"Unknown stretchy delimiter.\");\n }\n};\n;// CONCATENATED MODULE: ./src/tree.js\n\n\n/**\n * This node represents a document fragment, which contains elements, but when\n * placed into the DOM doesn't have any representation itself. It only contains\n * children and doesn't have any DOM node properties.\n */\nclass DocumentFragment {\n // HtmlDomNode\n // Never used; needed for satisfying interface.\n constructor(children) {\n this.children = void 0;\n this.classes = void 0;\n this.height = void 0;\n this.depth = void 0;\n this.maxFontSize = void 0;\n this.style = void 0;\n this.children = children;\n this.classes = [];\n this.height = 0;\n this.depth = 0;\n this.maxFontSize = 0;\n this.style = {};\n }\n\n hasClass(className) {\n return utils.contains(this.classes, className);\n }\n /** Convert the fragment into a node. */\n\n\n toNode() {\n const frag = document.createDocumentFragment();\n\n for (let i = 0; i < this.children.length; i++) {\n frag.appendChild(this.children[i].toNode());\n }\n\n return frag;\n }\n /** Convert the fragment into HTML markup. */\n\n\n toMarkup() {\n let markup = \"\"; // Simply concatenate the markup for the children together.\n\n for (let i = 0; i < this.children.length; i++) {\n markup += this.children[i].toMarkup();\n }\n\n return markup;\n }\n /**\n * Converts the math node into a string, similar to innerText. Applies to\n * MathDomNode's only.\n */\n\n\n toText() {\n // To avoid this, we would subclass documentFragment separately for\n // MathML, but polyfills for subclassing is expensive per PR 1469.\n // $FlowFixMe: Only works for ChildType = MathDomNode.\n const toText = child => child.toText();\n\n return this.children.map(toText).join(\"\");\n }\n\n}\n;// CONCATENATED MODULE: ./src/fontMetricsData.js\n// This file is GENERATED by buildMetrics.sh. DO NOT MODIFY.\n/* harmony default export */ var fontMetricsData = ({\n \"AMS-Regular\": {\n \"32\": [0, 0, 0, 0, 0.25],\n \"65\": [0, 0.68889, 0, 0, 0.72222],\n \"66\": [0, 0.68889, 0, 0, 0.66667],\n \"67\": [0, 0.68889, 0, 0, 0.72222],\n \"68\": [0, 0.68889, 0, 0, 0.72222],\n \"69\": [0, 0.68889, 0, 0, 0.66667],\n \"70\": [0, 0.68889, 0, 0, 0.61111],\n \"71\": [0, 0.68889, 0, 0, 0.77778],\n \"72\": [0, 0.68889, 0, 0, 0.77778],\n \"73\": [0, 0.68889, 0, 0, 0.38889],\n \"74\": [0.16667, 0.68889, 0, 0, 0.5],\n \"75\": [0, 0.68889, 0, 0, 0.77778],\n \"76\": [0, 0.68889, 0, 0, 0.66667],\n \"77\": [0, 0.68889, 0, 0, 0.94445],\n \"78\": [0, 0.68889, 0, 0, 0.72222],\n \"79\": [0.16667, 0.68889, 0, 0, 0.77778],\n \"80\": [0, 0.68889, 0, 0, 0.61111],\n \"81\": [0.16667, 0.68889, 0, 0, 0.77778],\n \"82\": [0, 0.68889, 0, 0, 0.72222],\n \"83\": [0, 0.68889, 0, 0, 0.55556],\n \"84\": [0, 0.68889, 0, 0, 0.66667],\n \"85\": [0, 0.68889, 0, 0, 0.72222],\n \"86\": [0, 0.68889, 0, 0, 0.72222],\n \"87\": [0, 0.68889, 0, 0, 1.0],\n \"88\": [0, 0.68889, 0, 0, 0.72222],\n \"89\": [0, 0.68889, 0, 0, 0.72222],\n \"90\": [0, 0.68889, 0, 0, 0.66667],\n \"107\": [0, 0.68889, 0, 0, 0.55556],\n \"160\": [0, 0, 0, 0, 0.25],\n \"165\": [0, 0.675, 0.025, 0, 0.75],\n \"174\": [0.15559, 0.69224, 0, 0, 0.94666],\n \"240\": [0, 0.68889, 0, 0, 0.55556],\n \"295\": [0, 0.68889, 0, 0, 0.54028],\n \"710\": [0, 0.825, 0, 0, 2.33334],\n \"732\": [0, 0.9, 0, 0, 2.33334],\n \"770\": [0, 0.825, 0, 0, 2.33334],\n \"771\": [0, 0.9, 0, 0, 2.33334],\n \"989\": [0.08167, 0.58167, 0, 0, 0.77778],\n \"1008\": [0, 0.43056, 0.04028, 0, 0.66667],\n \"8245\": [0, 0.54986, 0, 0, 0.275],\n \"8463\": [0, 0.68889, 0, 0, 0.54028],\n \"8487\": [0, 0.68889, 0, 0, 0.72222],\n \"8498\": [0, 0.68889, 0, 0, 0.55556],\n \"8502\": [0, 0.68889, 0, 0, 0.66667],\n \"8503\": [0, 0.68889, 0, 0, 0.44445],\n \"8504\": [0, 0.68889, 0, 0, 0.66667],\n \"8513\": [0, 0.68889, 0, 0, 0.63889],\n \"8592\": [-0.03598, 0.46402, 0, 0, 0.5],\n \"8594\": [-0.03598, 0.46402, 0, 0, 0.5],\n \"8602\": [-0.13313, 0.36687, 0, 0, 1.0],\n \"8603\": [-0.13313, 0.36687, 0, 0, 1.0],\n \"8606\": [0.01354, 0.52239, 0, 0, 1.0],\n \"8608\": [0.01354, 0.52239, 0, 0, 1.0],\n \"8610\": [0.01354, 0.52239, 0, 0, 1.11111],\n \"8611\": [0.01354, 0.52239, 0, 0, 1.11111],\n \"8619\": [0, 0.54986, 0, 0, 1.0],\n \"8620\": [0, 0.54986, 0, 0, 1.0],\n \"8621\": [-0.13313, 0.37788, 0, 0, 1.38889],\n \"8622\": [-0.13313, 0.36687, 0, 0, 1.0],\n \"8624\": [0, 0.69224, 0, 0, 0.5],\n \"8625\": [0, 0.69224, 0, 0, 0.5],\n \"8630\": [0, 0.43056, 0, 0, 1.0],\n \"8631\": [0, 0.43056, 0, 0, 1.0],\n \"8634\": [0.08198, 0.58198, 0, 0, 0.77778],\n \"8635\": [0.08198, 0.58198, 0, 0, 0.77778],\n \"8638\": [0.19444, 0.69224, 0, 0, 0.41667],\n \"8639\": [0.19444, 0.69224, 0, 0, 0.41667],\n \"8642\": [0.19444, 0.69224, 0, 0, 0.41667],\n \"8643\": [0.19444, 0.69224, 0, 0, 0.41667],\n \"8644\": [0.1808, 0.675, 0, 0, 1.0],\n \"8646\": [0.1808, 0.675, 0, 0, 1.0],\n \"8647\": [0.1808, 0.675, 0, 0, 1.0],\n \"8648\": [0.19444, 0.69224, 0, 0, 0.83334],\n \"8649\": [0.1808, 0.675, 0, 0, 1.0],\n \"8650\": [0.19444, 0.69224, 0, 0, 0.83334],\n \"8651\": [0.01354, 0.52239, 0, 0, 1.0],\n \"8652\": [0.01354, 0.52239, 0, 0, 1.0],\n \"8653\": [-0.13313, 0.36687, 0, 0, 1.0],\n \"8654\": [-0.13313, 0.36687, 0, 0, 1.0],\n \"8655\": [-0.13313, 0.36687, 0, 0, 1.0],\n \"8666\": [0.13667, 0.63667, 0, 0, 1.0],\n \"8667\": [0.13667, 0.63667, 0, 0, 1.0],\n \"8669\": [-0.13313, 0.37788, 0, 0, 1.0],\n \"8672\": [-0.064, 0.437, 0, 0, 1.334],\n \"8674\": [-0.064, 0.437, 0, 0, 1.334],\n \"8705\": [0, 0.825, 0, 0, 0.5],\n \"8708\": [0, 0.68889, 0, 0, 0.55556],\n \"8709\": [0.08167, 0.58167, 0, 0, 0.77778],\n \"8717\": [0, 0.43056, 0, 0, 0.42917],\n \"8722\": [-0.03598, 0.46402, 0, 0, 0.5],\n \"8724\": [0.08198, 0.69224, 0, 0, 0.77778],\n \"8726\": [0.08167, 0.58167, 0, 0, 0.77778],\n \"8733\": [0, 0.69224, 0, 0, 0.77778],\n \"8736\": [0, 0.69224, 0, 0, 0.72222],\n \"8737\": [0, 0.69224, 0, 0, 0.72222],\n \"8738\": [0.03517, 0.52239, 0, 0, 0.72222],\n \"8739\": [0.08167, 0.58167, 0, 0, 0.22222],\n \"8740\": [0.25142, 0.74111, 0, 0, 0.27778],\n \"8741\": [0.08167, 0.58167, 0, 0, 0.38889],\n \"8742\": [0.25142, 0.74111, 0, 0, 0.5],\n \"8756\": [0, 0.69224, 0, 0, 0.66667],\n \"8757\": [0, 0.69224, 0, 0, 0.66667],\n \"8764\": [-0.13313, 0.36687, 0, 0, 0.77778],\n \"8765\": [-0.13313, 0.37788, 0, 0, 0.77778],\n \"8769\": [-0.13313, 0.36687, 0, 0, 0.77778],\n \"8770\": [-0.03625, 0.46375, 0, 0, 0.77778],\n \"8774\": [0.30274, 0.79383, 0, 0, 0.77778],\n \"8776\": [-0.01688, 0.48312, 0, 0, 0.77778],\n \"8778\": [0.08167, 0.58167, 0, 0, 0.77778],\n \"8782\": [0.06062, 0.54986, 0, 0, 0.77778],\n \"8783\": [0.06062, 0.54986, 0, 0, 0.77778],\n \"8785\": [0.08198, 0.58198, 0, 0, 0.77778],\n \"8786\": [0.08198, 0.58198, 0, 0, 0.77778],\n \"8787\": [0.08198, 0.58198, 0, 0, 0.77778],\n \"8790\": [0, 0.69224, 0, 0, 0.77778],\n \"8791\": [0.22958, 0.72958, 0, 0, 0.77778],\n \"8796\": [0.08198, 0.91667, 0, 0, 0.77778],\n \"8806\": [0.25583, 0.75583, 0, 0, 0.77778],\n \"8807\": [0.25583, 0.75583, 0, 0, 0.77778],\n \"8808\": [0.25142, 0.75726, 0, 0, 0.77778],\n \"8809\": [0.25142, 0.75726, 0, 0, 0.77778],\n \"8812\": [0.25583, 0.75583, 0, 0, 0.5],\n \"8814\": [0.20576, 0.70576, 0, 0, 0.77778],\n \"8815\": [0.20576, 0.70576, 0, 0, 0.77778],\n \"8816\": [0.30274, 0.79383, 0, 0, 0.77778],\n \"8817\": [0.30274, 0.79383, 0, 0, 0.77778],\n \"8818\": [0.22958, 0.72958, 0, 0, 0.77778],\n \"8819\": [0.22958, 0.72958, 0, 0, 0.77778],\n \"8822\": [0.1808, 0.675, 0, 0, 0.77778],\n \"8823\": [0.1808, 0.675, 0, 0, 0.77778],\n \"8828\": [0.13667, 0.63667, 0, 0, 0.77778],\n \"8829\": [0.13667, 0.63667, 0, 0, 0.77778],\n \"8830\": [0.22958, 0.72958, 0, 0, 0.77778],\n \"8831\": [0.22958, 0.72958, 0, 0, 0.77778],\n \"8832\": [0.20576, 0.70576, 0, 0, 0.77778],\n \"8833\": [0.20576, 0.70576, 0, 0, 0.77778],\n \"8840\": [0.30274, 0.79383, 0, 0, 0.77778],\n \"8841\": [0.30274, 0.79383, 0, 0, 0.77778],\n \"8842\": [0.13597, 0.63597, 0, 0, 0.77778],\n \"8843\": [0.13597, 0.63597, 0, 0, 0.77778],\n \"8847\": [0.03517, 0.54986, 0, 0, 0.77778],\n \"8848\": [0.03517, 0.54986, 0, 0, 0.77778],\n \"8858\": [0.08198, 0.58198, 0, 0, 0.77778],\n \"8859\": [0.08198, 0.58198, 0, 0, 0.77778],\n \"8861\": [0.08198, 0.58198, 0, 0, 0.77778],\n \"8862\": [0, 0.675, 0, 0, 0.77778],\n \"8863\": [0, 0.675, 0, 0, 0.77778],\n \"8864\": [0, 0.675, 0, 0, 0.77778],\n \"8865\": [0, 0.675, 0, 0, 0.77778],\n \"8872\": [0, 0.69224, 0, 0, 0.61111],\n \"8873\": [0, 0.69224, 0, 0, 0.72222],\n \"8874\": [0, 0.69224, 0, 0, 0.88889],\n \"8876\": [0, 0.68889, 0, 0, 0.61111],\n \"8877\": [0, 0.68889, 0, 0, 0.61111],\n \"8878\": [0, 0.68889, 0, 0, 0.72222],\n \"8879\": [0, 0.68889, 0, 0, 0.72222],\n \"8882\": [0.03517, 0.54986, 0, 0, 0.77778],\n \"8883\": [0.03517, 0.54986, 0, 0, 0.77778],\n \"8884\": [0.13667, 0.63667, 0, 0, 0.77778],\n \"8885\": [0.13667, 0.63667, 0, 0, 0.77778],\n \"8888\": [0, 0.54986, 0, 0, 1.11111],\n \"8890\": [0.19444, 0.43056, 0, 0, 0.55556],\n \"8891\": [0.19444, 0.69224, 0, 0, 0.61111],\n \"8892\": [0.19444, 0.69224, 0, 0, 0.61111],\n \"8901\": [0, 0.54986, 0, 0, 0.27778],\n \"8903\": [0.08167, 0.58167, 0, 0, 0.77778],\n \"8905\": [0.08167, 0.58167, 0, 0, 0.77778],\n \"8906\": [0.08167, 0.58167, 0, 0, 0.77778],\n \"8907\": [0, 0.69224, 0, 0, 0.77778],\n \"8908\": [0, 0.69224, 0, 0, 0.77778],\n \"8909\": [-0.03598, 0.46402, 0, 0, 0.77778],\n \"8910\": [0, 0.54986, 0, 0, 0.76042],\n \"8911\": [0, 0.54986, 0, 0, 0.76042],\n \"8912\": [0.03517, 0.54986, 0, 0, 0.77778],\n \"8913\": [0.03517, 0.54986, 0, 0, 0.77778],\n \"8914\": [0, 0.54986, 0, 0, 0.66667],\n \"8915\": [0, 0.54986, 0, 0, 0.66667],\n \"8916\": [0, 0.69224, 0, 0, 0.66667],\n \"8918\": [0.0391, 0.5391, 0, 0, 0.77778],\n \"8919\": [0.0391, 0.5391, 0, 0, 0.77778],\n \"8920\": [0.03517, 0.54986, 0, 0, 1.33334],\n \"8921\": [0.03517, 0.54986, 0, 0, 1.33334],\n \"8922\": [0.38569, 0.88569, 0, 0, 0.77778],\n \"8923\": [0.38569, 0.88569, 0, 0, 0.77778],\n \"8926\": [0.13667, 0.63667, 0, 0, 0.77778],\n \"8927\": [0.13667, 0.63667, 0, 0, 0.77778],\n \"8928\": [0.30274, 0.79383, 0, 0, 0.77778],\n \"8929\": [0.30274, 0.79383, 0, 0, 0.77778],\n \"8934\": [0.23222, 0.74111, 0, 0, 0.77778],\n \"8935\": [0.23222, 0.74111, 0, 0, 0.77778],\n \"8936\": [0.23222, 0.74111, 0, 0, 0.77778],\n \"8937\": [0.23222, 0.74111, 0, 0, 0.77778],\n \"8938\": [0.20576, 0.70576, 0, 0, 0.77778],\n \"8939\": [0.20576, 0.70576, 0, 0, 0.77778],\n \"8940\": [0.30274, 0.79383, 0, 0, 0.77778],\n \"8941\": [0.30274, 0.79383, 0, 0, 0.77778],\n \"8994\": [0.19444, 0.69224, 0, 0, 0.77778],\n \"8995\": [0.19444, 0.69224, 0, 0, 0.77778],\n \"9416\": [0.15559, 0.69224, 0, 0, 0.90222],\n \"9484\": [0, 0.69224, 0, 0, 0.5],\n \"9488\": [0, 0.69224, 0, 0, 0.5],\n \"9492\": [0, 0.37788, 0, 0, 0.5],\n \"9496\": [0, 0.37788, 0, 0, 0.5],\n \"9585\": [0.19444, 0.68889, 0, 0, 0.88889],\n \"9586\": [0.19444, 0.74111, 0, 0, 0.88889],\n \"9632\": [0, 0.675, 0, 0, 0.77778],\n \"9633\": [0, 0.675, 0, 0, 0.77778],\n \"9650\": [0, 0.54986, 0, 0, 0.72222],\n \"9651\": [0, 0.54986, 0, 0, 0.72222],\n \"9654\": [0.03517, 0.54986, 0, 0, 0.77778],\n \"9660\": [0, 0.54986, 0, 0, 0.72222],\n \"9661\": [0, 0.54986, 0, 0, 0.72222],\n \"9664\": [0.03517, 0.54986, 0, 0, 0.77778],\n \"9674\": [0.11111, 0.69224, 0, 0, 0.66667],\n \"9733\": [0.19444, 0.69224, 0, 0, 0.94445],\n \"10003\": [0, 0.69224, 0, 0, 0.83334],\n \"10016\": [0, 0.69224, 0, 0, 0.83334],\n \"10731\": [0.11111, 0.69224, 0, 0, 0.66667],\n \"10846\": [0.19444, 0.75583, 0, 0, 0.61111],\n \"10877\": [0.13667, 0.63667, 0, 0, 0.77778],\n \"10878\": [0.13667, 0.63667, 0, 0, 0.77778],\n \"10885\": [0.25583, 0.75583, 0, 0, 0.77778],\n \"10886\": [0.25583, 0.75583, 0, 0, 0.77778],\n \"10887\": [0.13597, 0.63597, 0, 0, 0.77778],\n \"10888\": [0.13597, 0.63597, 0, 0, 0.77778],\n \"10889\": [0.26167, 0.75726, 0, 0, 0.77778],\n \"10890\": [0.26167, 0.75726, 0, 0, 0.77778],\n \"10891\": [0.48256, 0.98256, 0, 0, 0.77778],\n \"10892\": [0.48256, 0.98256, 0, 0, 0.77778],\n \"10901\": [0.13667, 0.63667, 0, 0, 0.77778],\n \"10902\": [0.13667, 0.63667, 0, 0, 0.77778],\n \"10933\": [0.25142, 0.75726, 0, 0, 0.77778],\n \"10934\": [0.25142, 0.75726, 0, 0, 0.77778],\n \"10935\": [0.26167, 0.75726, 0, 0, 0.77778],\n \"10936\": [0.26167, 0.75726, 0, 0, 0.77778],\n \"10937\": [0.26167, 0.75726, 0, 0, 0.77778],\n \"10938\": [0.26167, 0.75726, 0, 0, 0.77778],\n \"10949\": [0.25583, 0.75583, 0, 0, 0.77778],\n \"10950\": [0.25583, 0.75583, 0, 0, 0.77778],\n \"10955\": [0.28481, 0.79383, 0, 0, 0.77778],\n \"10956\": [0.28481, 0.79383, 0, 0, 0.77778],\n \"57350\": [0.08167, 0.58167, 0, 0, 0.22222],\n \"57351\": [0.08167, 0.58167, 0, 0, 0.38889],\n \"57352\": [0.08167, 0.58167, 0, 0, 0.77778],\n \"57353\": [0, 0.43056, 0.04028, 0, 0.66667],\n \"57356\": [0.25142, 0.75726, 0, 0, 0.77778],\n \"57357\": [0.25142, 0.75726, 0, 0, 0.77778],\n \"57358\": [0.41951, 0.91951, 0, 0, 0.77778],\n \"57359\": [0.30274, 0.79383, 0, 0, 0.77778],\n \"57360\": [0.30274, 0.79383, 0, 0, 0.77778],\n \"57361\": [0.41951, 0.91951, 0, 0, 0.77778],\n \"57366\": [0.25142, 0.75726, 0, 0, 0.77778],\n \"57367\": [0.25142, 0.75726, 0, 0, 0.77778],\n \"57368\": [0.25142, 0.75726, 0, 0, 0.77778],\n \"57369\": [0.25142, 0.75726, 0, 0, 0.77778],\n \"57370\": [0.13597, 0.63597, 0, 0, 0.77778],\n \"57371\": [0.13597, 0.63597, 0, 0, 0.77778]\n },\n \"Caligraphic-Regular\": {\n \"32\": [0, 0, 0, 0, 0.25],\n \"65\": [0, 0.68333, 0, 0.19445, 0.79847],\n \"66\": [0, 0.68333, 0.03041, 0.13889, 0.65681],\n \"67\": [0, 0.68333, 0.05834, 0.13889, 0.52653],\n \"68\": [0, 0.68333, 0.02778, 0.08334, 0.77139],\n \"69\": [0, 0.68333, 0.08944, 0.11111, 0.52778],\n \"70\": [0, 0.68333, 0.09931, 0.11111, 0.71875],\n \"71\": [0.09722, 0.68333, 0.0593, 0.11111, 0.59487],\n \"72\": [0, 0.68333, 0.00965, 0.11111, 0.84452],\n \"73\": [0, 0.68333, 0.07382, 0, 0.54452],\n \"74\": [0.09722, 0.68333, 0.18472, 0.16667, 0.67778],\n \"75\": [0, 0.68333, 0.01445, 0.05556, 0.76195],\n \"76\": [0, 0.68333, 0, 0.13889, 0.68972],\n \"77\": [0, 0.68333, 0, 0.13889, 1.2009],\n \"78\": [0, 0.68333, 0.14736, 0.08334, 0.82049],\n \"79\": [0, 0.68333, 0.02778, 0.11111, 0.79611],\n \"80\": [0, 0.68333, 0.08222, 0.08334, 0.69556],\n \"81\": [0.09722, 0.68333, 0, 0.11111, 0.81667],\n \"82\": [0, 0.68333, 0, 0.08334, 0.8475],\n \"83\": [0, 0.68333, 0.075, 0.13889, 0.60556],\n \"84\": [0, 0.68333, 0.25417, 0, 0.54464],\n \"85\": [0, 0.68333, 0.09931, 0.08334, 0.62583],\n \"86\": [0, 0.68333, 0.08222, 0, 0.61278],\n \"87\": [0, 0.68333, 0.08222, 0.08334, 0.98778],\n \"88\": [0, 0.68333, 0.14643, 0.13889, 0.7133],\n \"89\": [0.09722, 0.68333, 0.08222, 0.08334, 0.66834],\n \"90\": [0, 0.68333, 0.07944, 0.13889, 0.72473],\n \"160\": [0, 0, 0, 0, 0.25]\n },\n \"Fraktur-Regular\": {\n \"32\": [0, 0, 0, 0, 0.25],\n \"33\": [0, 0.69141, 0, 0, 0.29574],\n \"34\": [0, 0.69141, 0, 0, 0.21471],\n \"38\": [0, 0.69141, 0, 0, 0.73786],\n \"39\": [0, 0.69141, 0, 0, 0.21201],\n \"40\": [0.24982, 0.74947, 0, 0, 0.38865],\n \"41\": [0.24982, 0.74947, 0, 0, 0.38865],\n \"42\": [0, 0.62119, 0, 0, 0.27764],\n \"43\": [0.08319, 0.58283, 0, 0, 0.75623],\n \"44\": [0, 0.10803, 0, 0, 0.27764],\n \"45\": [0.08319, 0.58283, 0, 0, 0.75623],\n \"46\": [0, 0.10803, 0, 0, 0.27764],\n \"47\": [0.24982, 0.74947, 0, 0, 0.50181],\n \"48\": [0, 0.47534, 0, 0, 0.50181],\n \"49\": [0, 0.47534, 0, 0, 0.50181],\n \"50\": [0, 0.47534, 0, 0, 0.50181],\n \"51\": [0.18906, 0.47534, 0, 0, 0.50181],\n \"52\": [0.18906, 0.47534, 0, 0, 0.50181],\n \"53\": [0.18906, 0.47534, 0, 0, 0.50181],\n \"54\": [0, 0.69141, 0, 0, 0.50181],\n \"55\": [0.18906, 0.47534, 0, 0, 0.50181],\n \"56\": [0, 0.69141, 0, 0, 0.50181],\n \"57\": [0.18906, 0.47534, 0, 0, 0.50181],\n \"58\": [0, 0.47534, 0, 0, 0.21606],\n \"59\": [0.12604, 0.47534, 0, 0, 0.21606],\n \"61\": [-0.13099, 0.36866, 0, 0, 0.75623],\n \"63\": [0, 0.69141, 0, 0, 0.36245],\n \"65\": [0, 0.69141, 0, 0, 0.7176],\n \"66\": [0, 0.69141, 0, 0, 0.88397],\n \"67\": [0, 0.69141, 0, 0, 0.61254],\n \"68\": [0, 0.69141, 0, 0, 0.83158],\n \"69\": [0, 0.69141, 0, 0, 0.66278],\n \"70\": [0.12604, 0.69141, 0, 0, 0.61119],\n \"71\": [0, 0.69141, 0, 0, 0.78539],\n \"72\": [0.06302, 0.69141, 0, 0, 0.7203],\n \"73\": [0, 0.69141, 0, 0, 0.55448],\n \"74\": [0.12604, 0.69141, 0, 0, 0.55231],\n \"75\": [0, 0.69141, 0, 0, 0.66845],\n \"76\": [0, 0.69141, 0, 0, 0.66602],\n \"77\": [0, 0.69141, 0, 0, 1.04953],\n \"78\": [0, 0.69141, 0, 0, 0.83212],\n \"79\": [0, 0.69141, 0, 0, 0.82699],\n \"80\": [0.18906, 0.69141, 0, 0, 0.82753],\n \"81\": [0.03781, 0.69141, 0, 0, 0.82699],\n \"82\": [0, 0.69141, 0, 0, 0.82807],\n \"83\": [0, 0.69141, 0, 0, 0.82861],\n \"84\": [0, 0.69141, 0, 0, 0.66899],\n \"85\": [0, 0.69141, 0, 0, 0.64576],\n \"86\": [0, 0.69141, 0, 0, 0.83131],\n \"87\": [0, 0.69141, 0, 0, 1.04602],\n \"88\": [0, 0.69141, 0, 0, 0.71922],\n \"89\": [0.18906, 0.69141, 0, 0, 0.83293],\n \"90\": [0.12604, 0.69141, 0, 0, 0.60201],\n \"91\": [0.24982, 0.74947, 0, 0, 0.27764],\n \"93\": [0.24982, 0.74947, 0, 0, 0.27764],\n \"94\": [0, 0.69141, 0, 0, 0.49965],\n \"97\": [0, 0.47534, 0, 0, 0.50046],\n \"98\": [0, 0.69141, 0, 0, 0.51315],\n \"99\": [0, 0.47534, 0, 0, 0.38946],\n \"100\": [0, 0.62119, 0, 0, 0.49857],\n \"101\": [0, 0.47534, 0, 0, 0.40053],\n \"102\": [0.18906, 0.69141, 0, 0, 0.32626],\n \"103\": [0.18906, 0.47534, 0, 0, 0.5037],\n \"104\": [0.18906, 0.69141, 0, 0, 0.52126],\n \"105\": [0, 0.69141, 0, 0, 0.27899],\n \"106\": [0, 0.69141, 0, 0, 0.28088],\n \"107\": [0, 0.69141, 0, 0, 0.38946],\n \"108\": [0, 0.69141, 0, 0, 0.27953],\n \"109\": [0, 0.47534, 0, 0, 0.76676],\n \"110\": [0, 0.47534, 0, 0, 0.52666],\n \"111\": [0, 0.47534, 0, 0, 0.48885],\n \"112\": [0.18906, 0.52396, 0, 0, 0.50046],\n \"113\": [0.18906, 0.47534, 0, 0, 0.48912],\n \"114\": [0, 0.47534, 0, 0, 0.38919],\n \"115\": [0, 0.47534, 0, 0, 0.44266],\n \"116\": [0, 0.62119, 0, 0, 0.33301],\n \"117\": [0, 0.47534, 0, 0, 0.5172],\n \"118\": [0, 0.52396, 0, 0, 0.5118],\n \"119\": [0, 0.52396, 0, 0, 0.77351],\n \"120\": [0.18906, 0.47534, 0, 0, 0.38865],\n \"121\": [0.18906, 0.47534, 0, 0, 0.49884],\n \"122\": [0.18906, 0.47534, 0, 0, 0.39054],\n \"160\": [0, 0, 0, 0, 0.25],\n \"8216\": [0, 0.69141, 0, 0, 0.21471],\n \"8217\": [0, 0.69141, 0, 0, 0.21471],\n \"58112\": [0, 0.62119, 0, 0, 0.49749],\n \"58113\": [0, 0.62119, 0, 0, 0.4983],\n \"58114\": [0.18906, 0.69141, 0, 0, 0.33328],\n \"58115\": [0.18906, 0.69141, 0, 0, 0.32923],\n \"58116\": [0.18906, 0.47534, 0, 0, 0.50343],\n \"58117\": [0, 0.69141, 0, 0, 0.33301],\n \"58118\": [0, 0.62119, 0, 0, 0.33409],\n \"58119\": [0, 0.47534, 0, 0, 0.50073]\n },\n \"Main-Bold\": {\n \"32\": [0, 0, 0, 0, 0.25],\n \"33\": [0, 0.69444, 0, 0, 0.35],\n \"34\": [0, 0.69444, 0, 0, 0.60278],\n \"35\": [0.19444, 0.69444, 0, 0, 0.95833],\n \"36\": [0.05556, 0.75, 0, 0, 0.575],\n \"37\": [0.05556, 0.75, 0, 0, 0.95833],\n \"38\": [0, 0.69444, 0, 0, 0.89444],\n \"39\": [0, 0.69444, 0, 0, 0.31944],\n \"40\": [0.25, 0.75, 0, 0, 0.44722],\n \"41\": [0.25, 0.75, 0, 0, 0.44722],\n \"42\": [0, 0.75, 0, 0, 0.575],\n \"43\": [0.13333, 0.63333, 0, 0, 0.89444],\n \"44\": [0.19444, 0.15556, 0, 0, 0.31944],\n \"45\": [0, 0.44444, 0, 0, 0.38333],\n \"46\": [0, 0.15556, 0, 0, 0.31944],\n \"47\": [0.25, 0.75, 0, 0, 0.575],\n \"48\": [0, 0.64444, 0, 0, 0.575],\n \"49\": [0, 0.64444, 0, 0, 0.575],\n \"50\": [0, 0.64444, 0, 0, 0.575],\n \"51\": [0, 0.64444, 0, 0, 0.575],\n \"52\": [0, 0.64444, 0, 0, 0.575],\n \"53\": [0, 0.64444, 0, 0, 0.575],\n \"54\": [0, 0.64444, 0, 0, 0.575],\n \"55\": [0, 0.64444, 0, 0, 0.575],\n \"56\": [0, 0.64444, 0, 0, 0.575],\n \"57\": [0, 0.64444, 0, 0, 0.575],\n \"58\": [0, 0.44444, 0, 0, 0.31944],\n \"59\": [0.19444, 0.44444, 0, 0, 0.31944],\n \"60\": [0.08556, 0.58556, 0, 0, 0.89444],\n \"61\": [-0.10889, 0.39111, 0, 0, 0.89444],\n \"62\": [0.08556, 0.58556, 0, 0, 0.89444],\n \"63\": [0, 0.69444, 0, 0, 0.54305],\n \"64\": [0, 0.69444, 0, 0, 0.89444],\n \"65\": [0, 0.68611, 0, 0, 0.86944],\n \"66\": [0, 0.68611, 0, 0, 0.81805],\n \"67\": [0, 0.68611, 0, 0, 0.83055],\n \"68\": [0, 0.68611, 0, 0, 0.88194],\n \"69\": [0, 0.68611, 0, 0, 0.75555],\n \"70\": [0, 0.68611, 0, 0, 0.72361],\n \"71\": [0, 0.68611, 0, 0, 0.90416],\n \"72\": [0, 0.68611, 0, 0, 0.9],\n \"73\": [0, 0.68611, 0, 0, 0.43611],\n \"74\": [0, 0.68611, 0, 0, 0.59444],\n \"75\": [0, 0.68611, 0, 0, 0.90138],\n \"76\": [0, 0.68611, 0, 0, 0.69166],\n \"77\": [0, 0.68611, 0, 0, 1.09166],\n \"78\": [0, 0.68611, 0, 0, 0.9],\n \"79\": [0, 0.68611, 0, 0, 0.86388],\n \"80\": [0, 0.68611, 0, 0, 0.78611],\n \"81\": [0.19444, 0.68611, 0, 0, 0.86388],\n \"82\": [0, 0.68611, 0, 0, 0.8625],\n \"83\": [0, 0.68611, 0, 0, 0.63889],\n \"84\": [0, 0.68611, 0, 0, 0.8],\n \"85\": [0, 0.68611, 0, 0, 0.88472],\n \"86\": [0, 0.68611, 0.01597, 0, 0.86944],\n \"87\": [0, 0.68611, 0.01597, 0, 1.18888],\n \"88\": [0, 0.68611, 0, 0, 0.86944],\n \"89\": [0, 0.68611, 0.02875, 0, 0.86944],\n \"90\": [0, 0.68611, 0, 0, 0.70277],\n \"91\": [0.25, 0.75, 0, 0, 0.31944],\n \"92\": [0.25, 0.75, 0, 0, 0.575],\n \"93\": [0.25, 0.75, 0, 0, 0.31944],\n \"94\": [0, 0.69444, 0, 0, 0.575],\n \"95\": [0.31, 0.13444, 0.03194, 0, 0.575],\n \"97\": [0, 0.44444, 0, 0, 0.55902],\n \"98\": [0, 0.69444, 0, 0, 0.63889],\n \"99\": [0, 0.44444, 0, 0, 0.51111],\n \"100\": [0, 0.69444, 0, 0, 0.63889],\n \"101\": [0, 0.44444, 0, 0, 0.52708],\n \"102\": [0, 0.69444, 0.10903, 0, 0.35139],\n \"103\": [0.19444, 0.44444, 0.01597, 0, 0.575],\n \"104\": [0, 0.69444, 0, 0, 0.63889],\n \"105\": [0, 0.69444, 0, 0, 0.31944],\n \"106\": [0.19444, 0.69444, 0, 0, 0.35139],\n \"107\": [0, 0.69444, 0, 0, 0.60694],\n \"108\": [0, 0.69444, 0, 0, 0.31944],\n \"109\": [0, 0.44444, 0, 0, 0.95833],\n \"110\": [0, 0.44444, 0, 0, 0.63889],\n \"111\": [0, 0.44444, 0, 0, 0.575],\n \"112\": [0.19444, 0.44444, 0, 0, 0.63889],\n \"113\": [0.19444, 0.44444, 0, 0, 0.60694],\n \"114\": [0, 0.44444, 0, 0, 0.47361],\n \"115\": [0, 0.44444, 0, 0, 0.45361],\n \"116\": [0, 0.63492, 0, 0, 0.44722],\n \"117\": [0, 0.44444, 0, 0, 0.63889],\n \"118\": [0, 0.44444, 0.01597, 0, 0.60694],\n \"119\": [0, 0.44444, 0.01597, 0, 0.83055],\n \"120\": [0, 0.44444, 0, 0, 0.60694],\n \"121\": [0.19444, 0.44444, 0.01597, 0, 0.60694],\n \"122\": [0, 0.44444, 0, 0, 0.51111],\n \"123\": [0.25, 0.75, 0, 0, 0.575],\n \"124\": [0.25, 0.75, 0, 0, 0.31944],\n \"125\": [0.25, 0.75, 0, 0, 0.575],\n \"126\": [0.35, 0.34444, 0, 0, 0.575],\n \"160\": [0, 0, 0, 0, 0.25],\n \"163\": [0, 0.69444, 0, 0, 0.86853],\n \"168\": [0, 0.69444, 0, 0, 0.575],\n \"172\": [0, 0.44444, 0, 0, 0.76666],\n \"176\": [0, 0.69444, 0, 0, 0.86944],\n \"177\": [0.13333, 0.63333, 0, 0, 0.89444],\n \"184\": [0.17014, 0, 0, 0, 0.51111],\n \"198\": [0, 0.68611, 0, 0, 1.04166],\n \"215\": [0.13333, 0.63333, 0, 0, 0.89444],\n \"216\": [0.04861, 0.73472, 0, 0, 0.89444],\n \"223\": [0, 0.69444, 0, 0, 0.59722],\n \"230\": [0, 0.44444, 0, 0, 0.83055],\n \"247\": [0.13333, 0.63333, 0, 0, 0.89444],\n \"248\": [0.09722, 0.54167, 0, 0, 0.575],\n \"305\": [0, 0.44444, 0, 0, 0.31944],\n \"338\": [0, 0.68611, 0, 0, 1.16944],\n \"339\": [0, 0.44444, 0, 0, 0.89444],\n \"567\": [0.19444, 0.44444, 0, 0, 0.35139],\n \"710\": [0, 0.69444, 0, 0, 0.575],\n \"711\": [0, 0.63194, 0, 0, 0.575],\n \"713\": [0, 0.59611, 0, 0, 0.575],\n \"714\": [0, 0.69444, 0, 0, 0.575],\n \"715\": [0, 0.69444, 0, 0, 0.575],\n \"728\": [0, 0.69444, 0, 0, 0.575],\n \"729\": [0, 0.69444, 0, 0, 0.31944],\n \"730\": [0, 0.69444, 0, 0, 0.86944],\n \"732\": [0, 0.69444, 0, 0, 0.575],\n \"733\": [0, 0.69444, 0, 0, 0.575],\n \"915\": [0, 0.68611, 0, 0, 0.69166],\n \"916\": [0, 0.68611, 0, 0, 0.95833],\n \"920\": [0, 0.68611, 0, 0, 0.89444],\n \"923\": [0, 0.68611, 0, 0, 0.80555],\n \"926\": [0, 0.68611, 0, 0, 0.76666],\n \"928\": [0, 0.68611, 0, 0, 0.9],\n \"931\": [0, 0.68611, 0, 0, 0.83055],\n \"933\": [0, 0.68611, 0, 0, 0.89444],\n \"934\": [0, 0.68611, 0, 0, 0.83055],\n \"936\": [0, 0.68611, 0, 0, 0.89444],\n \"937\": [0, 0.68611, 0, 0, 0.83055],\n \"8211\": [0, 0.44444, 0.03194, 0, 0.575],\n \"8212\": [0, 0.44444, 0.03194, 0, 1.14999],\n \"8216\": [0, 0.69444, 0, 0, 0.31944],\n \"8217\": [0, 0.69444, 0, 0, 0.31944],\n \"8220\": [0, 0.69444, 0, 0, 0.60278],\n \"8221\": [0, 0.69444, 0, 0, 0.60278],\n \"8224\": [0.19444, 0.69444, 0, 0, 0.51111],\n \"8225\": [0.19444, 0.69444, 0, 0, 0.51111],\n \"8242\": [0, 0.55556, 0, 0, 0.34444],\n \"8407\": [0, 0.72444, 0.15486, 0, 0.575],\n \"8463\": [0, 0.69444, 0, 0, 0.66759],\n \"8465\": [0, 0.69444, 0, 0, 0.83055],\n \"8467\": [0, 0.69444, 0, 0, 0.47361],\n \"8472\": [0.19444, 0.44444, 0, 0, 0.74027],\n \"8476\": [0, 0.69444, 0, 0, 0.83055],\n \"8501\": [0, 0.69444, 0, 0, 0.70277],\n \"8592\": [-0.10889, 0.39111, 0, 0, 1.14999],\n \"8593\": [0.19444, 0.69444, 0, 0, 0.575],\n \"8594\": [-0.10889, 0.39111, 0, 0, 1.14999],\n \"8595\": [0.19444, 0.69444, 0, 0, 0.575],\n \"8596\": [-0.10889, 0.39111, 0, 0, 1.14999],\n \"8597\": [0.25, 0.75, 0, 0, 0.575],\n \"8598\": [0.19444, 0.69444, 0, 0, 1.14999],\n \"8599\": [0.19444, 0.69444, 0, 0, 1.14999],\n \"8600\": [0.19444, 0.69444, 0, 0, 1.14999],\n \"8601\": [0.19444, 0.69444, 0, 0, 1.14999],\n \"8636\": [-0.10889, 0.39111, 0, 0, 1.14999],\n \"8637\": [-0.10889, 0.39111, 0, 0, 1.14999],\n \"8640\": [-0.10889, 0.39111, 0, 0, 1.14999],\n \"8641\": [-0.10889, 0.39111, 0, 0, 1.14999],\n \"8656\": [-0.10889, 0.39111, 0, 0, 1.14999],\n \"8657\": [0.19444, 0.69444, 0, 0, 0.70277],\n \"8658\": [-0.10889, 0.39111, 0, 0, 1.14999],\n \"8659\": [0.19444, 0.69444, 0, 0, 0.70277],\n \"8660\": [-0.10889, 0.39111, 0, 0, 1.14999],\n \"8661\": [0.25, 0.75, 0, 0, 0.70277],\n \"8704\": [0, 0.69444, 0, 0, 0.63889],\n \"8706\": [0, 0.69444, 0.06389, 0, 0.62847],\n \"8707\": [0, 0.69444, 0, 0, 0.63889],\n \"8709\": [0.05556, 0.75, 0, 0, 0.575],\n \"8711\": [0, 0.68611, 0, 0, 0.95833],\n \"8712\": [0.08556, 0.58556, 0, 0, 0.76666],\n \"8715\": [0.08556, 0.58556, 0, 0, 0.76666],\n \"8722\": [0.13333, 0.63333, 0, 0, 0.89444],\n \"8723\": [0.13333, 0.63333, 0, 0, 0.89444],\n \"8725\": [0.25, 0.75, 0, 0, 0.575],\n \"8726\": [0.25, 0.75, 0, 0, 0.575],\n \"8727\": [-0.02778, 0.47222, 0, 0, 0.575],\n \"8728\": [-0.02639, 0.47361, 0, 0, 0.575],\n \"8729\": [-0.02639, 0.47361, 0, 0, 0.575],\n \"8730\": [0.18, 0.82, 0, 0, 0.95833],\n \"8733\": [0, 0.44444, 0, 0, 0.89444],\n \"8734\": [0, 0.44444, 0, 0, 1.14999],\n \"8736\": [0, 0.69224, 0, 0, 0.72222],\n \"8739\": [0.25, 0.75, 0, 0, 0.31944],\n \"8741\": [0.25, 0.75, 0, 0, 0.575],\n \"8743\": [0, 0.55556, 0, 0, 0.76666],\n \"8744\": [0, 0.55556, 0, 0, 0.76666],\n \"8745\": [0, 0.55556, 0, 0, 0.76666],\n \"8746\": [0, 0.55556, 0, 0, 0.76666],\n \"8747\": [0.19444, 0.69444, 0.12778, 0, 0.56875],\n \"8764\": [-0.10889, 0.39111, 0, 0, 0.89444],\n \"8768\": [0.19444, 0.69444, 0, 0, 0.31944],\n \"8771\": [0.00222, 0.50222, 0, 0, 0.89444],\n \"8773\": [0.027, 0.638, 0, 0, 0.894],\n \"8776\": [0.02444, 0.52444, 0, 0, 0.89444],\n \"8781\": [0.00222, 0.50222, 0, 0, 0.89444],\n \"8801\": [0.00222, 0.50222, 0, 0, 0.89444],\n \"8804\": [0.19667, 0.69667, 0, 0, 0.89444],\n \"8805\": [0.19667, 0.69667, 0, 0, 0.89444],\n \"8810\": [0.08556, 0.58556, 0, 0, 1.14999],\n \"8811\": [0.08556, 0.58556, 0, 0, 1.14999],\n \"8826\": [0.08556, 0.58556, 0, 0, 0.89444],\n \"8827\": [0.08556, 0.58556, 0, 0, 0.89444],\n \"8834\": [0.08556, 0.58556, 0, 0, 0.89444],\n \"8835\": [0.08556, 0.58556, 0, 0, 0.89444],\n \"8838\": [0.19667, 0.69667, 0, 0, 0.89444],\n \"8839\": [0.19667, 0.69667, 0, 0, 0.89444],\n \"8846\": [0, 0.55556, 0, 0, 0.76666],\n \"8849\": [0.19667, 0.69667, 0, 0, 0.89444],\n \"8850\": [0.19667, 0.69667, 0, 0, 0.89444],\n \"8851\": [0, 0.55556, 0, 0, 0.76666],\n \"8852\": [0, 0.55556, 0, 0, 0.76666],\n \"8853\": [0.13333, 0.63333, 0, 0, 0.89444],\n \"8854\": [0.13333, 0.63333, 0, 0, 0.89444],\n \"8855\": [0.13333, 0.63333, 0, 0, 0.89444],\n \"8856\": [0.13333, 0.63333, 0, 0, 0.89444],\n \"8857\": [0.13333, 0.63333, 0, 0, 0.89444],\n \"8866\": [0, 0.69444, 0, 0, 0.70277],\n \"8867\": [0, 0.69444, 0, 0, 0.70277],\n \"8868\": [0, 0.69444, 0, 0, 0.89444],\n \"8869\": [0, 0.69444, 0, 0, 0.89444],\n \"8900\": [-0.02639, 0.47361, 0, 0, 0.575],\n \"8901\": [-0.02639, 0.47361, 0, 0, 0.31944],\n \"8902\": [-0.02778, 0.47222, 0, 0, 0.575],\n \"8968\": [0.25, 0.75, 0, 0, 0.51111],\n \"8969\": [0.25, 0.75, 0, 0, 0.51111],\n \"8970\": [0.25, 0.75, 0, 0, 0.51111],\n \"8971\": [0.25, 0.75, 0, 0, 0.51111],\n \"8994\": [-0.13889, 0.36111, 0, 0, 1.14999],\n \"8995\": [-0.13889, 0.36111, 0, 0, 1.14999],\n \"9651\": [0.19444, 0.69444, 0, 0, 1.02222],\n \"9657\": [-0.02778, 0.47222, 0, 0, 0.575],\n \"9661\": [0.19444, 0.69444, 0, 0, 1.02222],\n \"9667\": [-0.02778, 0.47222, 0, 0, 0.575],\n \"9711\": [0.19444, 0.69444, 0, 0, 1.14999],\n \"9824\": [0.12963, 0.69444, 0, 0, 0.89444],\n \"9825\": [0.12963, 0.69444, 0, 0, 0.89444],\n \"9826\": [0.12963, 0.69444, 0, 0, 0.89444],\n \"9827\": [0.12963, 0.69444, 0, 0, 0.89444],\n \"9837\": [0, 0.75, 0, 0, 0.44722],\n \"9838\": [0.19444, 0.69444, 0, 0, 0.44722],\n \"9839\": [0.19444, 0.69444, 0, 0, 0.44722],\n \"10216\": [0.25, 0.75, 0, 0, 0.44722],\n \"10217\": [0.25, 0.75, 0, 0, 0.44722],\n \"10815\": [0, 0.68611, 0, 0, 0.9],\n \"10927\": [0.19667, 0.69667, 0, 0, 0.89444],\n \"10928\": [0.19667, 0.69667, 0, 0, 0.89444],\n \"57376\": [0.19444, 0.69444, 0, 0, 0]\n },\n \"Main-BoldItalic\": {\n \"32\": [0, 0, 0, 0, 0.25],\n \"33\": [0, 0.69444, 0.11417, 0, 0.38611],\n \"34\": [0, 0.69444, 0.07939, 0, 0.62055],\n \"35\": [0.19444, 0.69444, 0.06833, 0, 0.94444],\n \"37\": [0.05556, 0.75, 0.12861, 0, 0.94444],\n \"38\": [0, 0.69444, 0.08528, 0, 0.88555],\n \"39\": [0, 0.69444, 0.12945, 0, 0.35555],\n \"40\": [0.25, 0.75, 0.15806, 0, 0.47333],\n \"41\": [0.25, 0.75, 0.03306, 0, 0.47333],\n \"42\": [0, 0.75, 0.14333, 0, 0.59111],\n \"43\": [0.10333, 0.60333, 0.03306, 0, 0.88555],\n \"44\": [0.19444, 0.14722, 0, 0, 0.35555],\n \"45\": [0, 0.44444, 0.02611, 0, 0.41444],\n \"46\": [0, 0.14722, 0, 0, 0.35555],\n \"47\": [0.25, 0.75, 0.15806, 0, 0.59111],\n \"48\": [0, 0.64444, 0.13167, 0, 0.59111],\n \"49\": [0, 0.64444, 0.13167, 0, 0.59111],\n \"50\": [0, 0.64444, 0.13167, 0, 0.59111],\n \"51\": [0, 0.64444, 0.13167, 0, 0.59111],\n \"52\": [0.19444, 0.64444, 0.13167, 0, 0.59111],\n \"53\": [0, 0.64444, 0.13167, 0, 0.59111],\n \"54\": [0, 0.64444, 0.13167, 0, 0.59111],\n \"55\": [0.19444, 0.64444, 0.13167, 0, 0.59111],\n \"56\": [0, 0.64444, 0.13167, 0, 0.59111],\n \"57\": [0, 0.64444, 0.13167, 0, 0.59111],\n \"58\": [0, 0.44444, 0.06695, 0, 0.35555],\n \"59\": [0.19444, 0.44444, 0.06695, 0, 0.35555],\n \"61\": [-0.10889, 0.39111, 0.06833, 0, 0.88555],\n \"63\": [0, 0.69444, 0.11472, 0, 0.59111],\n \"64\": [0, 0.69444, 0.09208, 0, 0.88555],\n \"65\": [0, 0.68611, 0, 0, 0.86555],\n \"66\": [0, 0.68611, 0.0992, 0, 0.81666],\n \"67\": [0, 0.68611, 0.14208, 0, 0.82666],\n \"68\": [0, 0.68611, 0.09062, 0, 0.87555],\n \"69\": [0, 0.68611, 0.11431, 0, 0.75666],\n \"70\": [0, 0.68611, 0.12903, 0, 0.72722],\n \"71\": [0, 0.68611, 0.07347, 0, 0.89527],\n \"72\": [0, 0.68611, 0.17208, 0, 0.8961],\n \"73\": [0, 0.68611, 0.15681, 0, 0.47166],\n \"74\": [0, 0.68611, 0.145, 0, 0.61055],\n \"75\": [0, 0.68611, 0.14208, 0, 0.89499],\n \"76\": [0, 0.68611, 0, 0, 0.69777],\n \"77\": [0, 0.68611, 0.17208, 0, 1.07277],\n \"78\": [0, 0.68611, 0.17208, 0, 0.8961],\n \"79\": [0, 0.68611, 0.09062, 0, 0.85499],\n \"80\": [0, 0.68611, 0.0992, 0, 0.78721],\n \"81\": [0.19444, 0.68611, 0.09062, 0, 0.85499],\n \"82\": [0, 0.68611, 0.02559, 0, 0.85944],\n \"83\": [0, 0.68611, 0.11264, 0, 0.64999],\n \"84\": [0, 0.68611, 0.12903, 0, 0.7961],\n \"85\": [0, 0.68611, 0.17208, 0, 0.88083],\n \"86\": [0, 0.68611, 0.18625, 0, 0.86555],\n \"87\": [0, 0.68611, 0.18625, 0, 1.15999],\n \"88\": [0, 0.68611, 0.15681, 0, 0.86555],\n \"89\": [0, 0.68611, 0.19803, 0, 0.86555],\n \"90\": [0, 0.68611, 0.14208, 0, 0.70888],\n \"91\": [0.25, 0.75, 0.1875, 0, 0.35611],\n \"93\": [0.25, 0.75, 0.09972, 0, 0.35611],\n \"94\": [0, 0.69444, 0.06709, 0, 0.59111],\n \"95\": [0.31, 0.13444, 0.09811, 0, 0.59111],\n \"97\": [0, 0.44444, 0.09426, 0, 0.59111],\n \"98\": [0, 0.69444, 0.07861, 0, 0.53222],\n \"99\": [0, 0.44444, 0.05222, 0, 0.53222],\n \"100\": [0, 0.69444, 0.10861, 0, 0.59111],\n \"101\": [0, 0.44444, 0.085, 0, 0.53222],\n \"102\": [0.19444, 0.69444, 0.21778, 0, 0.4],\n \"103\": [0.19444, 0.44444, 0.105, 0, 0.53222],\n \"104\": [0, 0.69444, 0.09426, 0, 0.59111],\n \"105\": [0, 0.69326, 0.11387, 0, 0.35555],\n \"106\": [0.19444, 0.69326, 0.1672, 0, 0.35555],\n \"107\": [0, 0.69444, 0.11111, 0, 0.53222],\n \"108\": [0, 0.69444, 0.10861, 0, 0.29666],\n \"109\": [0, 0.44444, 0.09426, 0, 0.94444],\n \"110\": [0, 0.44444, 0.09426, 0, 0.64999],\n \"111\": [0, 0.44444, 0.07861, 0, 0.59111],\n \"112\": [0.19444, 0.44444, 0.07861, 0, 0.59111],\n \"113\": [0.19444, 0.44444, 0.105, 0, 0.53222],\n \"114\": [0, 0.44444, 0.11111, 0, 0.50167],\n \"115\": [0, 0.44444, 0.08167, 0, 0.48694],\n \"116\": [0, 0.63492, 0.09639, 0, 0.385],\n \"117\": [0, 0.44444, 0.09426, 0, 0.62055],\n \"118\": [0, 0.44444, 0.11111, 0, 0.53222],\n \"119\": [0, 0.44444, 0.11111, 0, 0.76777],\n \"120\": [0, 0.44444, 0.12583, 0, 0.56055],\n \"121\": [0.19444, 0.44444, 0.105, 0, 0.56166],\n \"122\": [0, 0.44444, 0.13889, 0, 0.49055],\n \"126\": [0.35, 0.34444, 0.11472, 0, 0.59111],\n \"160\": [0, 0, 0, 0, 0.25],\n \"168\": [0, 0.69444, 0.11473, 0, 0.59111],\n \"176\": [0, 0.69444, 0, 0, 0.94888],\n \"184\": [0.17014, 0, 0, 0, 0.53222],\n \"198\": [0, 0.68611, 0.11431, 0, 1.02277],\n \"216\": [0.04861, 0.73472, 0.09062, 0, 0.88555],\n \"223\": [0.19444, 0.69444, 0.09736, 0, 0.665],\n \"230\": [0, 0.44444, 0.085, 0, 0.82666],\n \"248\": [0.09722, 0.54167, 0.09458, 0, 0.59111],\n \"305\": [0, 0.44444, 0.09426, 0, 0.35555],\n \"338\": [0, 0.68611, 0.11431, 0, 1.14054],\n \"339\": [0, 0.44444, 0.085, 0, 0.82666],\n \"567\": [0.19444, 0.44444, 0.04611, 0, 0.385],\n \"710\": [0, 0.69444, 0.06709, 0, 0.59111],\n \"711\": [0, 0.63194, 0.08271, 0, 0.59111],\n \"713\": [0, 0.59444, 0.10444, 0, 0.59111],\n \"714\": [0, 0.69444, 0.08528, 0, 0.59111],\n \"715\": [0, 0.69444, 0, 0, 0.59111],\n \"728\": [0, 0.69444, 0.10333, 0, 0.59111],\n \"729\": [0, 0.69444, 0.12945, 0, 0.35555],\n \"730\": [0, 0.69444, 0, 0, 0.94888],\n \"732\": [0, 0.69444, 0.11472, 0, 0.59111],\n \"733\": [0, 0.69444, 0.11472, 0, 0.59111],\n \"915\": [0, 0.68611, 0.12903, 0, 0.69777],\n \"916\": [0, 0.68611, 0, 0, 0.94444],\n \"920\": [0, 0.68611, 0.09062, 0, 0.88555],\n \"923\": [0, 0.68611, 0, 0, 0.80666],\n \"926\": [0, 0.68611, 0.15092, 0, 0.76777],\n \"928\": [0, 0.68611, 0.17208, 0, 0.8961],\n \"931\": [0, 0.68611, 0.11431, 0, 0.82666],\n \"933\": [0, 0.68611, 0.10778, 0, 0.88555],\n \"934\": [0, 0.68611, 0.05632, 0, 0.82666],\n \"936\": [0, 0.68611, 0.10778, 0, 0.88555],\n \"937\": [0, 0.68611, 0.0992, 0, 0.82666],\n \"8211\": [0, 0.44444, 0.09811, 0, 0.59111],\n \"8212\": [0, 0.44444, 0.09811, 0, 1.18221],\n \"8216\": [0, 0.69444, 0.12945, 0, 0.35555],\n \"8217\": [0, 0.69444, 0.12945, 0, 0.35555],\n \"8220\": [0, 0.69444, 0.16772, 0, 0.62055],\n \"8221\": [0, 0.69444, 0.07939, 0, 0.62055]\n },\n \"Main-Italic\": {\n \"32\": [0, 0, 0, 0, 0.25],\n \"33\": [0, 0.69444, 0.12417, 0, 0.30667],\n \"34\": [0, 0.69444, 0.06961, 0, 0.51444],\n \"35\": [0.19444, 0.69444, 0.06616, 0, 0.81777],\n \"37\": [0.05556, 0.75, 0.13639, 0, 0.81777],\n \"38\": [0, 0.69444, 0.09694, 0, 0.76666],\n \"39\": [0, 0.69444, 0.12417, 0, 0.30667],\n \"40\": [0.25, 0.75, 0.16194, 0, 0.40889],\n \"41\": [0.25, 0.75, 0.03694, 0, 0.40889],\n \"42\": [0, 0.75, 0.14917, 0, 0.51111],\n \"43\": [0.05667, 0.56167, 0.03694, 0, 0.76666],\n \"44\": [0.19444, 0.10556, 0, 0, 0.30667],\n \"45\": [0, 0.43056, 0.02826, 0, 0.35778],\n \"46\": [0, 0.10556, 0, 0, 0.30667],\n \"47\": [0.25, 0.75, 0.16194, 0, 0.51111],\n \"48\": [0, 0.64444, 0.13556, 0, 0.51111],\n \"49\": [0, 0.64444, 0.13556, 0, 0.51111],\n \"50\": [0, 0.64444, 0.13556, 0, 0.51111],\n \"51\": [0, 0.64444, 0.13556, 0, 0.51111],\n \"52\": [0.19444, 0.64444, 0.13556, 0, 0.51111],\n \"53\": [0, 0.64444, 0.13556, 0, 0.51111],\n \"54\": [0, 0.64444, 0.13556, 0, 0.51111],\n \"55\": [0.19444, 0.64444, 0.13556, 0, 0.51111],\n \"56\": [0, 0.64444, 0.13556, 0, 0.51111],\n \"57\": [0, 0.64444, 0.13556, 0, 0.51111],\n \"58\": [0, 0.43056, 0.0582, 0, 0.30667],\n \"59\": [0.19444, 0.43056, 0.0582, 0, 0.30667],\n \"61\": [-0.13313, 0.36687, 0.06616, 0, 0.76666],\n \"63\": [0, 0.69444, 0.1225, 0, 0.51111],\n \"64\": [0, 0.69444, 0.09597, 0, 0.76666],\n \"65\": [0, 0.68333, 0, 0, 0.74333],\n \"66\": [0, 0.68333, 0.10257, 0, 0.70389],\n \"67\": [0, 0.68333, 0.14528, 0, 0.71555],\n \"68\": [0, 0.68333, 0.09403, 0, 0.755],\n \"69\": [0, 0.68333, 0.12028, 0, 0.67833],\n \"70\": [0, 0.68333, 0.13305, 0, 0.65277],\n \"71\": [0, 0.68333, 0.08722, 0, 0.77361],\n \"72\": [0, 0.68333, 0.16389, 0, 0.74333],\n \"73\": [0, 0.68333, 0.15806, 0, 0.38555],\n \"74\": [0, 0.68333, 0.14028, 0, 0.525],\n \"75\": [0, 0.68333, 0.14528, 0, 0.76888],\n \"76\": [0, 0.68333, 0, 0, 0.62722],\n \"77\": [0, 0.68333, 0.16389, 0, 0.89666],\n \"78\": [0, 0.68333, 0.16389, 0, 0.74333],\n \"79\": [0, 0.68333, 0.09403, 0, 0.76666],\n \"80\": [0, 0.68333, 0.10257, 0, 0.67833],\n \"81\": [0.19444, 0.68333, 0.09403, 0, 0.76666],\n \"82\": [0, 0.68333, 0.03868, 0, 0.72944],\n \"83\": [0, 0.68333, 0.11972, 0, 0.56222],\n \"84\": [0, 0.68333, 0.13305, 0, 0.71555],\n \"85\": [0, 0.68333, 0.16389, 0, 0.74333],\n \"86\": [0, 0.68333, 0.18361, 0, 0.74333],\n \"87\": [0, 0.68333, 0.18361, 0, 0.99888],\n \"88\": [0, 0.68333, 0.15806, 0, 0.74333],\n \"89\": [0, 0.68333, 0.19383, 0, 0.74333],\n \"90\": [0, 0.68333, 0.14528, 0, 0.61333],\n \"91\": [0.25, 0.75, 0.1875, 0, 0.30667],\n \"93\": [0.25, 0.75, 0.10528, 0, 0.30667],\n \"94\": [0, 0.69444, 0.06646, 0, 0.51111],\n \"95\": [0.31, 0.12056, 0.09208, 0, 0.51111],\n \"97\": [0, 0.43056, 0.07671, 0, 0.51111],\n \"98\": [0, 0.69444, 0.06312, 0, 0.46],\n \"99\": [0, 0.43056, 0.05653, 0, 0.46],\n \"100\": [0, 0.69444, 0.10333, 0, 0.51111],\n \"101\": [0, 0.43056, 0.07514, 0, 0.46],\n \"102\": [0.19444, 0.69444, 0.21194, 0, 0.30667],\n \"103\": [0.19444, 0.43056, 0.08847, 0, 0.46],\n \"104\": [0, 0.69444, 0.07671, 0, 0.51111],\n \"105\": [0, 0.65536, 0.1019, 0, 0.30667],\n \"106\": [0.19444, 0.65536, 0.14467, 0, 0.30667],\n \"107\": [0, 0.69444, 0.10764, 0, 0.46],\n \"108\": [0, 0.69444, 0.10333, 0, 0.25555],\n \"109\": [0, 0.43056, 0.07671, 0, 0.81777],\n \"110\": [0, 0.43056, 0.07671, 0, 0.56222],\n \"111\": [0, 0.43056, 0.06312, 0, 0.51111],\n \"112\": [0.19444, 0.43056, 0.06312, 0, 0.51111],\n \"113\": [0.19444, 0.43056, 0.08847, 0, 0.46],\n \"114\": [0, 0.43056, 0.10764, 0, 0.42166],\n \"115\": [0, 0.43056, 0.08208, 0, 0.40889],\n \"116\": [0, 0.61508, 0.09486, 0, 0.33222],\n \"117\": [0, 0.43056, 0.07671, 0, 0.53666],\n \"118\": [0, 0.43056, 0.10764, 0, 0.46],\n \"119\": [0, 0.43056, 0.10764, 0, 0.66444],\n \"120\": [0, 0.43056, 0.12042, 0, 0.46389],\n \"121\": [0.19444, 0.43056, 0.08847, 0, 0.48555],\n \"122\": [0, 0.43056, 0.12292, 0, 0.40889],\n \"126\": [0.35, 0.31786, 0.11585, 0, 0.51111],\n \"160\": [0, 0, 0, 0, 0.25],\n \"168\": [0, 0.66786, 0.10474, 0, 0.51111],\n \"176\": [0, 0.69444, 0, 0, 0.83129],\n \"184\": [0.17014, 0, 0, 0, 0.46],\n \"198\": [0, 0.68333, 0.12028, 0, 0.88277],\n \"216\": [0.04861, 0.73194, 0.09403, 0, 0.76666],\n \"223\": [0.19444, 0.69444, 0.10514, 0, 0.53666],\n \"230\": [0, 0.43056, 0.07514, 0, 0.71555],\n \"248\": [0.09722, 0.52778, 0.09194, 0, 0.51111],\n \"338\": [0, 0.68333, 0.12028, 0, 0.98499],\n \"339\": [0, 0.43056, 0.07514, 0, 0.71555],\n \"710\": [0, 0.69444, 0.06646, 0, 0.51111],\n \"711\": [0, 0.62847, 0.08295, 0, 0.51111],\n \"713\": [0, 0.56167, 0.10333, 0, 0.51111],\n \"714\": [0, 0.69444, 0.09694, 0, 0.51111],\n \"715\": [0, 0.69444, 0, 0, 0.51111],\n \"728\": [0, 0.69444, 0.10806, 0, 0.51111],\n \"729\": [0, 0.66786, 0.11752, 0, 0.30667],\n \"730\": [0, 0.69444, 0, 0, 0.83129],\n \"732\": [0, 0.66786, 0.11585, 0, 0.51111],\n \"733\": [0, 0.69444, 0.1225, 0, 0.51111],\n \"915\": [0, 0.68333, 0.13305, 0, 0.62722],\n \"916\": [0, 0.68333, 0, 0, 0.81777],\n \"920\": [0, 0.68333, 0.09403, 0, 0.76666],\n \"923\": [0, 0.68333, 0, 0, 0.69222],\n \"926\": [0, 0.68333, 0.15294, 0, 0.66444],\n \"928\": [0, 0.68333, 0.16389, 0, 0.74333],\n \"931\": [0, 0.68333, 0.12028, 0, 0.71555],\n \"933\": [0, 0.68333, 0.11111, 0, 0.76666],\n \"934\": [0, 0.68333, 0.05986, 0, 0.71555],\n \"936\": [0, 0.68333, 0.11111, 0, 0.76666],\n \"937\": [0, 0.68333, 0.10257, 0, 0.71555],\n \"8211\": [0, 0.43056, 0.09208, 0, 0.51111],\n \"8212\": [0, 0.43056, 0.09208, 0, 1.02222],\n \"8216\": [0, 0.69444, 0.12417, 0, 0.30667],\n \"8217\": [0, 0.69444, 0.12417, 0, 0.30667],\n \"8220\": [0, 0.69444, 0.1685, 0, 0.51444],\n \"8221\": [0, 0.69444, 0.06961, 0, 0.51444],\n \"8463\": [0, 0.68889, 0, 0, 0.54028]\n },\n \"Main-Regular\": {\n \"32\": [0, 0, 0, 0, 0.25],\n \"33\": [0, 0.69444, 0, 0, 0.27778],\n \"34\": [0, 0.69444, 0, 0, 0.5],\n \"35\": [0.19444, 0.69444, 0, 0, 0.83334],\n \"36\": [0.05556, 0.75, 0, 0, 0.5],\n \"37\": [0.05556, 0.75, 0, 0, 0.83334],\n \"38\": [0, 0.69444, 0, 0, 0.77778],\n \"39\": [0, 0.69444, 0, 0, 0.27778],\n \"40\": [0.25, 0.75, 0, 0, 0.38889],\n \"41\": [0.25, 0.75, 0, 0, 0.38889],\n \"42\": [0, 0.75, 0, 0, 0.5],\n \"43\": [0.08333, 0.58333, 0, 0, 0.77778],\n \"44\": [0.19444, 0.10556, 0, 0, 0.27778],\n \"45\": [0, 0.43056, 0, 0, 0.33333],\n \"46\": [0, 0.10556, 0, 0, 0.27778],\n \"47\": [0.25, 0.75, 0, 0, 0.5],\n \"48\": [0, 0.64444, 0, 0, 0.5],\n \"49\": [0, 0.64444, 0, 0, 0.5],\n \"50\": [0, 0.64444, 0, 0, 0.5],\n \"51\": [0, 0.64444, 0, 0, 0.5],\n \"52\": [0, 0.64444, 0, 0, 0.5],\n \"53\": [0, 0.64444, 0, 0, 0.5],\n \"54\": [0, 0.64444, 0, 0, 0.5],\n \"55\": [0, 0.64444, 0, 0, 0.5],\n \"56\": [0, 0.64444, 0, 0, 0.5],\n \"57\": [0, 0.64444, 0, 0, 0.5],\n \"58\": [0, 0.43056, 0, 0, 0.27778],\n \"59\": [0.19444, 0.43056, 0, 0, 0.27778],\n \"60\": [0.0391, 0.5391, 0, 0, 0.77778],\n \"61\": [-0.13313, 0.36687, 0, 0, 0.77778],\n \"62\": [0.0391, 0.5391, 0, 0, 0.77778],\n \"63\": [0, 0.69444, 0, 0, 0.47222],\n \"64\": [0, 0.69444, 0, 0, 0.77778],\n \"65\": [0, 0.68333, 0, 0, 0.75],\n \"66\": [0, 0.68333, 0, 0, 0.70834],\n \"67\": [0, 0.68333, 0, 0, 0.72222],\n \"68\": [0, 0.68333, 0, 0, 0.76389],\n \"69\": [0, 0.68333, 0, 0, 0.68056],\n \"70\": [0, 0.68333, 0, 0, 0.65278],\n \"71\": [0, 0.68333, 0, 0, 0.78472],\n \"72\": [0, 0.68333, 0, 0, 0.75],\n \"73\": [0, 0.68333, 0, 0, 0.36111],\n \"74\": [0, 0.68333, 0, 0, 0.51389],\n \"75\": [0, 0.68333, 0, 0, 0.77778],\n \"76\": [0, 0.68333, 0, 0, 0.625],\n \"77\": [0, 0.68333, 0, 0, 0.91667],\n \"78\": [0, 0.68333, 0, 0, 0.75],\n \"79\": [0, 0.68333, 0, 0, 0.77778],\n \"80\": [0, 0.68333, 0, 0, 0.68056],\n \"81\": [0.19444, 0.68333, 0, 0, 0.77778],\n \"82\": [0, 0.68333, 0, 0, 0.73611],\n \"83\": [0, 0.68333, 0, 0, 0.55556],\n \"84\": [0, 0.68333, 0, 0, 0.72222],\n \"85\": [0, 0.68333, 0, 0, 0.75],\n \"86\": [0, 0.68333, 0.01389, 0, 0.75],\n \"87\": [0, 0.68333, 0.01389, 0, 1.02778],\n \"88\": [0, 0.68333, 0, 0, 0.75],\n \"89\": [0, 0.68333, 0.025, 0, 0.75],\n \"90\": [0, 0.68333, 0, 0, 0.61111],\n \"91\": [0.25, 0.75, 0, 0, 0.27778],\n \"92\": [0.25, 0.75, 0, 0, 0.5],\n \"93\": [0.25, 0.75, 0, 0, 0.27778],\n \"94\": [0, 0.69444, 0, 0, 0.5],\n \"95\": [0.31, 0.12056, 0.02778, 0, 0.5],\n \"97\": [0, 0.43056, 0, 0, 0.5],\n \"98\": [0, 0.69444, 0, 0, 0.55556],\n \"99\": [0, 0.43056, 0, 0, 0.44445],\n \"100\": [0, 0.69444, 0, 0, 0.55556],\n \"101\": [0, 0.43056, 0, 0, 0.44445],\n \"102\": [0, 0.69444, 0.07778, 0, 0.30556],\n \"103\": [0.19444, 0.43056, 0.01389, 0, 0.5],\n \"104\": [0, 0.69444, 0, 0, 0.55556],\n \"105\": [0, 0.66786, 0, 0, 0.27778],\n \"106\": [0.19444, 0.66786, 0, 0, 0.30556],\n \"107\": [0, 0.69444, 0, 0, 0.52778],\n \"108\": [0, 0.69444, 0, 0, 0.27778],\n \"109\": [0, 0.43056, 0, 0, 0.83334],\n \"110\": [0, 0.43056, 0, 0, 0.55556],\n \"111\": [0, 0.43056, 0, 0, 0.5],\n \"112\": [0.19444, 0.43056, 0, 0, 0.55556],\n \"113\": [0.19444, 0.43056, 0, 0, 0.52778],\n \"114\": [0, 0.43056, 0, 0, 0.39167],\n \"115\": [0, 0.43056, 0, 0, 0.39445],\n \"116\": [0, 0.61508, 0, 0, 0.38889],\n \"117\": [0, 0.43056, 0, 0, 0.55556],\n \"118\": [0, 0.43056, 0.01389, 0, 0.52778],\n \"119\": [0, 0.43056, 0.01389, 0, 0.72222],\n \"120\": [0, 0.43056, 0, 0, 0.52778],\n \"121\": [0.19444, 0.43056, 0.01389, 0, 0.52778],\n \"122\": [0, 0.43056, 0, 0, 0.44445],\n \"123\": [0.25, 0.75, 0, 0, 0.5],\n \"124\": [0.25, 0.75, 0, 0, 0.27778],\n \"125\": [0.25, 0.75, 0, 0, 0.5],\n \"126\": [0.35, 0.31786, 0, 0, 0.5],\n \"160\": [0, 0, 0, 0, 0.25],\n \"163\": [0, 0.69444, 0, 0, 0.76909],\n \"167\": [0.19444, 0.69444, 0, 0, 0.44445],\n \"168\": [0, 0.66786, 0, 0, 0.5],\n \"172\": [0, 0.43056, 0, 0, 0.66667],\n \"176\": [0, 0.69444, 0, 0, 0.75],\n \"177\": [0.08333, 0.58333, 0, 0, 0.77778],\n \"182\": [0.19444, 0.69444, 0, 0, 0.61111],\n \"184\": [0.17014, 0, 0, 0, 0.44445],\n \"198\": [0, 0.68333, 0, 0, 0.90278],\n \"215\": [0.08333, 0.58333, 0, 0, 0.77778],\n \"216\": [0.04861, 0.73194, 0, 0, 0.77778],\n \"223\": [0, 0.69444, 0, 0, 0.5],\n \"230\": [0, 0.43056, 0, 0, 0.72222],\n \"247\": [0.08333, 0.58333, 0, 0, 0.77778],\n \"248\": [0.09722, 0.52778, 0, 0, 0.5],\n \"305\": [0, 0.43056, 0, 0, 0.27778],\n \"338\": [0, 0.68333, 0, 0, 1.01389],\n \"339\": [0, 0.43056, 0, 0, 0.77778],\n \"567\": [0.19444, 0.43056, 0, 0, 0.30556],\n \"710\": [0, 0.69444, 0, 0, 0.5],\n \"711\": [0, 0.62847, 0, 0, 0.5],\n \"713\": [0, 0.56778, 0, 0, 0.5],\n \"714\": [0, 0.69444, 0, 0, 0.5],\n \"715\": [0, 0.69444, 0, 0, 0.5],\n \"728\": [0, 0.69444, 0, 0, 0.5],\n \"729\": [0, 0.66786, 0, 0, 0.27778],\n \"730\": [0, 0.69444, 0, 0, 0.75],\n \"732\": [0, 0.66786, 0, 0, 0.5],\n \"733\": [0, 0.69444, 0, 0, 0.5],\n \"915\": [0, 0.68333, 0, 0, 0.625],\n \"916\": [0, 0.68333, 0, 0, 0.83334],\n \"920\": [0, 0.68333, 0, 0, 0.77778],\n \"923\": [0, 0.68333, 0, 0, 0.69445],\n \"926\": [0, 0.68333, 0, 0, 0.66667],\n \"928\": [0, 0.68333, 0, 0, 0.75],\n \"931\": [0, 0.68333, 0, 0, 0.72222],\n \"933\": [0, 0.68333, 0, 0, 0.77778],\n \"934\": [0, 0.68333, 0, 0, 0.72222],\n \"936\": [0, 0.68333, 0, 0, 0.77778],\n \"937\": [0, 0.68333, 0, 0, 0.72222],\n \"8211\": [0, 0.43056, 0.02778, 0, 0.5],\n \"8212\": [0, 0.43056, 0.02778, 0, 1.0],\n \"8216\": [0, 0.69444, 0, 0, 0.27778],\n \"8217\": [0, 0.69444, 0, 0, 0.27778],\n \"8220\": [0, 0.69444, 0, 0, 0.5],\n \"8221\": [0, 0.69444, 0, 0, 0.5],\n \"8224\": [0.19444, 0.69444, 0, 0, 0.44445],\n \"8225\": [0.19444, 0.69444, 0, 0, 0.44445],\n \"8230\": [0, 0.123, 0, 0, 1.172],\n \"8242\": [0, 0.55556, 0, 0, 0.275],\n \"8407\": [0, 0.71444, 0.15382, 0, 0.5],\n \"8463\": [0, 0.68889, 0, 0, 0.54028],\n \"8465\": [0, 0.69444, 0, 0, 0.72222],\n \"8467\": [0, 0.69444, 0, 0.11111, 0.41667],\n \"8472\": [0.19444, 0.43056, 0, 0.11111, 0.63646],\n \"8476\": [0, 0.69444, 0, 0, 0.72222],\n \"8501\": [0, 0.69444, 0, 0, 0.61111],\n \"8592\": [-0.13313, 0.36687, 0, 0, 1.0],\n \"8593\": [0.19444, 0.69444, 0, 0, 0.5],\n \"8594\": [-0.13313, 0.36687, 0, 0, 1.0],\n \"8595\": [0.19444, 0.69444, 0, 0, 0.5],\n \"8596\": [-0.13313, 0.36687, 0, 0, 1.0],\n \"8597\": [0.25, 0.75, 0, 0, 0.5],\n \"8598\": [0.19444, 0.69444, 0, 0, 1.0],\n \"8599\": [0.19444, 0.69444, 0, 0, 1.0],\n \"8600\": [0.19444, 0.69444, 0, 0, 1.0],\n \"8601\": [0.19444, 0.69444, 0, 0, 1.0],\n \"8614\": [0.011, 0.511, 0, 0, 1.0],\n \"8617\": [0.011, 0.511, 0, 0, 1.126],\n \"8618\": [0.011, 0.511, 0, 0, 1.126],\n \"8636\": [-0.13313, 0.36687, 0, 0, 1.0],\n \"8637\": [-0.13313, 0.36687, 0, 0, 1.0],\n \"8640\": [-0.13313, 0.36687, 0, 0, 1.0],\n \"8641\": [-0.13313, 0.36687, 0, 0, 1.0],\n \"8652\": [0.011, 0.671, 0, 0, 1.0],\n \"8656\": [-0.13313, 0.36687, 0, 0, 1.0],\n \"8657\": [0.19444, 0.69444, 0, 0, 0.61111],\n \"8658\": [-0.13313, 0.36687, 0, 0, 1.0],\n \"8659\": [0.19444, 0.69444, 0, 0, 0.61111],\n \"8660\": [-0.13313, 0.36687, 0, 0, 1.0],\n \"8661\": [0.25, 0.75, 0, 0, 0.61111],\n \"8704\": [0, 0.69444, 0, 0, 0.55556],\n \"8706\": [0, 0.69444, 0.05556, 0.08334, 0.5309],\n \"8707\": [0, 0.69444, 0, 0, 0.55556],\n \"8709\": [0.05556, 0.75, 0, 0, 0.5],\n \"8711\": [0, 0.68333, 0, 0, 0.83334],\n \"8712\": [0.0391, 0.5391, 0, 0, 0.66667],\n \"8715\": [0.0391, 0.5391, 0, 0, 0.66667],\n \"8722\": [0.08333, 0.58333, 0, 0, 0.77778],\n \"8723\": [0.08333, 0.58333, 0, 0, 0.77778],\n \"8725\": [0.25, 0.75, 0, 0, 0.5],\n \"8726\": [0.25, 0.75, 0, 0, 0.5],\n \"8727\": [-0.03472, 0.46528, 0, 0, 0.5],\n \"8728\": [-0.05555, 0.44445, 0, 0, 0.5],\n \"8729\": [-0.05555, 0.44445, 0, 0, 0.5],\n \"8730\": [0.2, 0.8, 0, 0, 0.83334],\n \"8733\": [0, 0.43056, 0, 0, 0.77778],\n \"8734\": [0, 0.43056, 0, 0, 1.0],\n \"8736\": [0, 0.69224, 0, 0, 0.72222],\n \"8739\": [0.25, 0.75, 0, 0, 0.27778],\n \"8741\": [0.25, 0.75, 0, 0, 0.5],\n \"8743\": [0, 0.55556, 0, 0, 0.66667],\n \"8744\": [0, 0.55556, 0, 0, 0.66667],\n \"8745\": [0, 0.55556, 0, 0, 0.66667],\n \"8746\": [0, 0.55556, 0, 0, 0.66667],\n \"8747\": [0.19444, 0.69444, 0.11111, 0, 0.41667],\n \"8764\": [-0.13313, 0.36687, 0, 0, 0.77778],\n \"8768\": [0.19444, 0.69444, 0, 0, 0.27778],\n \"8771\": [-0.03625, 0.46375, 0, 0, 0.77778],\n \"8773\": [-0.022, 0.589, 0, 0, 0.778],\n \"8776\": [-0.01688, 0.48312, 0, 0, 0.77778],\n \"8781\": [-0.03625, 0.46375, 0, 0, 0.77778],\n \"8784\": [-0.133, 0.673, 0, 0, 0.778],\n \"8801\": [-0.03625, 0.46375, 0, 0, 0.77778],\n \"8804\": [0.13597, 0.63597, 0, 0, 0.77778],\n \"8805\": [0.13597, 0.63597, 0, 0, 0.77778],\n \"8810\": [0.0391, 0.5391, 0, 0, 1.0],\n \"8811\": [0.0391, 0.5391, 0, 0, 1.0],\n \"8826\": [0.0391, 0.5391, 0, 0, 0.77778],\n \"8827\": [0.0391, 0.5391, 0, 0, 0.77778],\n \"8834\": [0.0391, 0.5391, 0, 0, 0.77778],\n \"8835\": [0.0391, 0.5391, 0, 0, 0.77778],\n \"8838\": [0.13597, 0.63597, 0, 0, 0.77778],\n \"8839\": [0.13597, 0.63597, 0, 0, 0.77778],\n \"8846\": [0, 0.55556, 0, 0, 0.66667],\n \"8849\": [0.13597, 0.63597, 0, 0, 0.77778],\n \"8850\": [0.13597, 0.63597, 0, 0, 0.77778],\n \"8851\": [0, 0.55556, 0, 0, 0.66667],\n \"8852\": [0, 0.55556, 0, 0, 0.66667],\n \"8853\": [0.08333, 0.58333, 0, 0, 0.77778],\n \"8854\": [0.08333, 0.58333, 0, 0, 0.77778],\n \"8855\": [0.08333, 0.58333, 0, 0, 0.77778],\n \"8856\": [0.08333, 0.58333, 0, 0, 0.77778],\n \"8857\": [0.08333, 0.58333, 0, 0, 0.77778],\n \"8866\": [0, 0.69444, 0, 0, 0.61111],\n \"8867\": [0, 0.69444, 0, 0, 0.61111],\n \"8868\": [0, 0.69444, 0, 0, 0.77778],\n \"8869\": [0, 0.69444, 0, 0, 0.77778],\n \"8872\": [0.249, 0.75, 0, 0, 0.867],\n \"8900\": [-0.05555, 0.44445, 0, 0, 0.5],\n \"8901\": [-0.05555, 0.44445, 0, 0, 0.27778],\n \"8902\": [-0.03472, 0.46528, 0, 0, 0.5],\n \"8904\": [0.005, 0.505, 0, 0, 0.9],\n \"8942\": [0.03, 0.903, 0, 0, 0.278],\n \"8943\": [-0.19, 0.313, 0, 0, 1.172],\n \"8945\": [-0.1, 0.823, 0, 0, 1.282],\n \"8968\": [0.25, 0.75, 0, 0, 0.44445],\n \"8969\": [0.25, 0.75, 0, 0, 0.44445],\n \"8970\": [0.25, 0.75, 0, 0, 0.44445],\n \"8971\": [0.25, 0.75, 0, 0, 0.44445],\n \"8994\": [-0.14236, 0.35764, 0, 0, 1.0],\n \"8995\": [-0.14236, 0.35764, 0, 0, 1.0],\n \"9136\": [0.244, 0.744, 0, 0, 0.412],\n \"9137\": [0.244, 0.745, 0, 0, 0.412],\n \"9651\": [0.19444, 0.69444, 0, 0, 0.88889],\n \"9657\": [-0.03472, 0.46528, 0, 0, 0.5],\n \"9661\": [0.19444, 0.69444, 0, 0, 0.88889],\n \"9667\": [-0.03472, 0.46528, 0, 0, 0.5],\n \"9711\": [0.19444, 0.69444, 0, 0, 1.0],\n \"9824\": [0.12963, 0.69444, 0, 0, 0.77778],\n \"9825\": [0.12963, 0.69444, 0, 0, 0.77778],\n \"9826\": [0.12963, 0.69444, 0, 0, 0.77778],\n \"9827\": [0.12963, 0.69444, 0, 0, 0.77778],\n \"9837\": [0, 0.75, 0, 0, 0.38889],\n \"9838\": [0.19444, 0.69444, 0, 0, 0.38889],\n \"9839\": [0.19444, 0.69444, 0, 0, 0.38889],\n \"10216\": [0.25, 0.75, 0, 0, 0.38889],\n \"10217\": [0.25, 0.75, 0, 0, 0.38889],\n \"10222\": [0.244, 0.744, 0, 0, 0.412],\n \"10223\": [0.244, 0.745, 0, 0, 0.412],\n \"10229\": [0.011, 0.511, 0, 0, 1.609],\n \"10230\": [0.011, 0.511, 0, 0, 1.638],\n \"10231\": [0.011, 0.511, 0, 0, 1.859],\n \"10232\": [0.024, 0.525, 0, 0, 1.609],\n \"10233\": [0.024, 0.525, 0, 0, 1.638],\n \"10234\": [0.024, 0.525, 0, 0, 1.858],\n \"10236\": [0.011, 0.511, 0, 0, 1.638],\n \"10815\": [0, 0.68333, 0, 0, 0.75],\n \"10927\": [0.13597, 0.63597, 0, 0, 0.77778],\n \"10928\": [0.13597, 0.63597, 0, 0, 0.77778],\n \"57376\": [0.19444, 0.69444, 0, 0, 0]\n },\n \"Math-BoldItalic\": {\n \"32\": [0, 0, 0, 0, 0.25],\n \"48\": [0, 0.44444, 0, 0, 0.575],\n \"49\": [0, 0.44444, 0, 0, 0.575],\n \"50\": [0, 0.44444, 0, 0, 0.575],\n \"51\": [0.19444, 0.44444, 0, 0, 0.575],\n \"52\": [0.19444, 0.44444, 0, 0, 0.575],\n \"53\": [0.19444, 0.44444, 0, 0, 0.575],\n \"54\": [0, 0.64444, 0, 0, 0.575],\n \"55\": [0.19444, 0.44444, 0, 0, 0.575],\n \"56\": [0, 0.64444, 0, 0, 0.575],\n \"57\": [0.19444, 0.44444, 0, 0, 0.575],\n \"65\": [0, 0.68611, 0, 0, 0.86944],\n \"66\": [0, 0.68611, 0.04835, 0, 0.8664],\n \"67\": [0, 0.68611, 0.06979, 0, 0.81694],\n \"68\": [0, 0.68611, 0.03194, 0, 0.93812],\n \"69\": [0, 0.68611, 0.05451, 0, 0.81007],\n \"70\": [0, 0.68611, 0.15972, 0, 0.68889],\n \"71\": [0, 0.68611, 0, 0, 0.88673],\n \"72\": [0, 0.68611, 0.08229, 0, 0.98229],\n \"73\": [0, 0.68611, 0.07778, 0, 0.51111],\n \"74\": [0, 0.68611, 0.10069, 0, 0.63125],\n \"75\": [0, 0.68611, 0.06979, 0, 0.97118],\n \"76\": [0, 0.68611, 0, 0, 0.75555],\n \"77\": [0, 0.68611, 0.11424, 0, 1.14201],\n \"78\": [0, 0.68611, 0.11424, 0, 0.95034],\n \"79\": [0, 0.68611, 0.03194, 0, 0.83666],\n \"80\": [0, 0.68611, 0.15972, 0, 0.72309],\n \"81\": [0.19444, 0.68611, 0, 0, 0.86861],\n \"82\": [0, 0.68611, 0.00421, 0, 0.87235],\n \"83\": [0, 0.68611, 0.05382, 0, 0.69271],\n \"84\": [0, 0.68611, 0.15972, 0, 0.63663],\n \"85\": [0, 0.68611, 0.11424, 0, 0.80027],\n \"86\": [0, 0.68611, 0.25555, 0, 0.67778],\n \"87\": [0, 0.68611, 0.15972, 0, 1.09305],\n \"88\": [0, 0.68611, 0.07778, 0, 0.94722],\n \"89\": [0, 0.68611, 0.25555, 0, 0.67458],\n \"90\": [0, 0.68611, 0.06979, 0, 0.77257],\n \"97\": [0, 0.44444, 0, 0, 0.63287],\n \"98\": [0, 0.69444, 0, 0, 0.52083],\n \"99\": [0, 0.44444, 0, 0, 0.51342],\n \"100\": [0, 0.69444, 0, 0, 0.60972],\n \"101\": [0, 0.44444, 0, 0, 0.55361],\n \"102\": [0.19444, 0.69444, 0.11042, 0, 0.56806],\n \"103\": [0.19444, 0.44444, 0.03704, 0, 0.5449],\n \"104\": [0, 0.69444, 0, 0, 0.66759],\n \"105\": [0, 0.69326, 0, 0, 0.4048],\n \"106\": [0.19444, 0.69326, 0.0622, 0, 0.47083],\n \"107\": [0, 0.69444, 0.01852, 0, 0.6037],\n \"108\": [0, 0.69444, 0.0088, 0, 0.34815],\n \"109\": [0, 0.44444, 0, 0, 1.0324],\n \"110\": [0, 0.44444, 0, 0, 0.71296],\n \"111\": [0, 0.44444, 0, 0, 0.58472],\n \"112\": [0.19444, 0.44444, 0, 0, 0.60092],\n \"113\": [0.19444, 0.44444, 0.03704, 0, 0.54213],\n \"114\": [0, 0.44444, 0.03194, 0, 0.5287],\n \"115\": [0, 0.44444, 0, 0, 0.53125],\n \"116\": [0, 0.63492, 0, 0, 0.41528],\n \"117\": [0, 0.44444, 0, 0, 0.68102],\n \"118\": [0, 0.44444, 0.03704, 0, 0.56666],\n \"119\": [0, 0.44444, 0.02778, 0, 0.83148],\n \"120\": [0, 0.44444, 0, 0, 0.65903],\n \"121\": [0.19444, 0.44444, 0.03704, 0, 0.59028],\n \"122\": [0, 0.44444, 0.04213, 0, 0.55509],\n \"160\": [0, 0, 0, 0, 0.25],\n \"915\": [0, 0.68611, 0.15972, 0, 0.65694],\n \"916\": [0, 0.68611, 0, 0, 0.95833],\n \"920\": [0, 0.68611, 0.03194, 0, 0.86722],\n \"923\": [0, 0.68611, 0, 0, 0.80555],\n \"926\": [0, 0.68611, 0.07458, 0, 0.84125],\n \"928\": [0, 0.68611, 0.08229, 0, 0.98229],\n \"931\": [0, 0.68611, 0.05451, 0, 0.88507],\n \"933\": [0, 0.68611, 0.15972, 0, 0.67083],\n \"934\": [0, 0.68611, 0, 0, 0.76666],\n \"936\": [0, 0.68611, 0.11653, 0, 0.71402],\n \"937\": [0, 0.68611, 0.04835, 0, 0.8789],\n \"945\": [0, 0.44444, 0, 0, 0.76064],\n \"946\": [0.19444, 0.69444, 0.03403, 0, 0.65972],\n \"947\": [0.19444, 0.44444, 0.06389, 0, 0.59003],\n \"948\": [0, 0.69444, 0.03819, 0, 0.52222],\n \"949\": [0, 0.44444, 0, 0, 0.52882],\n \"950\": [0.19444, 0.69444, 0.06215, 0, 0.50833],\n \"951\": [0.19444, 0.44444, 0.03704, 0, 0.6],\n \"952\": [0, 0.69444, 0.03194, 0, 0.5618],\n \"953\": [0, 0.44444, 0, 0, 0.41204],\n \"954\": [0, 0.44444, 0, 0, 0.66759],\n \"955\": [0, 0.69444, 0, 0, 0.67083],\n \"956\": [0.19444, 0.44444, 0, 0, 0.70787],\n \"957\": [0, 0.44444, 0.06898, 0, 0.57685],\n \"958\": [0.19444, 0.69444, 0.03021, 0, 0.50833],\n \"959\": [0, 0.44444, 0, 0, 0.58472],\n \"960\": [0, 0.44444, 0.03704, 0, 0.68241],\n \"961\": [0.19444, 0.44444, 0, 0, 0.6118],\n \"962\": [0.09722, 0.44444, 0.07917, 0, 0.42361],\n \"963\": [0, 0.44444, 0.03704, 0, 0.68588],\n \"964\": [0, 0.44444, 0.13472, 0, 0.52083],\n \"965\": [0, 0.44444, 0.03704, 0, 0.63055],\n \"966\": [0.19444, 0.44444, 0, 0, 0.74722],\n \"967\": [0.19444, 0.44444, 0, 0, 0.71805],\n \"968\": [0.19444, 0.69444, 0.03704, 0, 0.75833],\n \"969\": [0, 0.44444, 0.03704, 0, 0.71782],\n \"977\": [0, 0.69444, 0, 0, 0.69155],\n \"981\": [0.19444, 0.69444, 0, 0, 0.7125],\n \"982\": [0, 0.44444, 0.03194, 0, 0.975],\n \"1009\": [0.19444, 0.44444, 0, 0, 0.6118],\n \"1013\": [0, 0.44444, 0, 0, 0.48333],\n \"57649\": [0, 0.44444, 0, 0, 0.39352],\n \"57911\": [0.19444, 0.44444, 0, 0, 0.43889]\n },\n \"Math-Italic\": {\n \"32\": [0, 0, 0, 0, 0.25],\n \"48\": [0, 0.43056, 0, 0, 0.5],\n \"49\": [0, 0.43056, 0, 0, 0.5],\n \"50\": [0, 0.43056, 0, 0, 0.5],\n \"51\": [0.19444, 0.43056, 0, 0, 0.5],\n \"52\": [0.19444, 0.43056, 0, 0, 0.5],\n \"53\": [0.19444, 0.43056, 0, 0, 0.5],\n \"54\": [0, 0.64444, 0, 0, 0.5],\n \"55\": [0.19444, 0.43056, 0, 0, 0.5],\n \"56\": [0, 0.64444, 0, 0, 0.5],\n \"57\": [0.19444, 0.43056, 0, 0, 0.5],\n \"65\": [0, 0.68333, 0, 0.13889, 0.75],\n \"66\": [0, 0.68333, 0.05017, 0.08334, 0.75851],\n \"67\": [0, 0.68333, 0.07153, 0.08334, 0.71472],\n \"68\": [0, 0.68333, 0.02778, 0.05556, 0.82792],\n \"69\": [0, 0.68333, 0.05764, 0.08334, 0.7382],\n \"70\": [0, 0.68333, 0.13889, 0.08334, 0.64306],\n \"71\": [0, 0.68333, 0, 0.08334, 0.78625],\n \"72\": [0, 0.68333, 0.08125, 0.05556, 0.83125],\n \"73\": [0, 0.68333, 0.07847, 0.11111, 0.43958],\n \"74\": [0, 0.68333, 0.09618, 0.16667, 0.55451],\n \"75\": [0, 0.68333, 0.07153, 0.05556, 0.84931],\n \"76\": [0, 0.68333, 0, 0.02778, 0.68056],\n \"77\": [0, 0.68333, 0.10903, 0.08334, 0.97014],\n \"78\": [0, 0.68333, 0.10903, 0.08334, 0.80347],\n \"79\": [0, 0.68333, 0.02778, 0.08334, 0.76278],\n \"80\": [0, 0.68333, 0.13889, 0.08334, 0.64201],\n \"81\": [0.19444, 0.68333, 0, 0.08334, 0.79056],\n \"82\": [0, 0.68333, 0.00773, 0.08334, 0.75929],\n \"83\": [0, 0.68333, 0.05764, 0.08334, 0.6132],\n \"84\": [0, 0.68333, 0.13889, 0.08334, 0.58438],\n \"85\": [0, 0.68333, 0.10903, 0.02778, 0.68278],\n \"86\": [0, 0.68333, 0.22222, 0, 0.58333],\n \"87\": [0, 0.68333, 0.13889, 0, 0.94445],\n \"88\": [0, 0.68333, 0.07847, 0.08334, 0.82847],\n \"89\": [0, 0.68333, 0.22222, 0, 0.58056],\n \"90\": [0, 0.68333, 0.07153, 0.08334, 0.68264],\n \"97\": [0, 0.43056, 0, 0, 0.52859],\n \"98\": [0, 0.69444, 0, 0, 0.42917],\n \"99\": [0, 0.43056, 0, 0.05556, 0.43276],\n \"100\": [0, 0.69444, 0, 0.16667, 0.52049],\n \"101\": [0, 0.43056, 0, 0.05556, 0.46563],\n \"102\": [0.19444, 0.69444, 0.10764, 0.16667, 0.48959],\n \"103\": [0.19444, 0.43056, 0.03588, 0.02778, 0.47697],\n \"104\": [0, 0.69444, 0, 0, 0.57616],\n \"105\": [0, 0.65952, 0, 0, 0.34451],\n \"106\": [0.19444, 0.65952, 0.05724, 0, 0.41181],\n \"107\": [0, 0.69444, 0.03148, 0, 0.5206],\n \"108\": [0, 0.69444, 0.01968, 0.08334, 0.29838],\n \"109\": [0, 0.43056, 0, 0, 0.87801],\n \"110\": [0, 0.43056, 0, 0, 0.60023],\n \"111\": [0, 0.43056, 0, 0.05556, 0.48472],\n \"112\": [0.19444, 0.43056, 0, 0.08334, 0.50313],\n \"113\": [0.19444, 0.43056, 0.03588, 0.08334, 0.44641],\n \"114\": [0, 0.43056, 0.02778, 0.05556, 0.45116],\n \"115\": [0, 0.43056, 0, 0.05556, 0.46875],\n \"116\": [0, 0.61508, 0, 0.08334, 0.36111],\n \"117\": [0, 0.43056, 0, 0.02778, 0.57246],\n \"118\": [0, 0.43056, 0.03588, 0.02778, 0.48472],\n \"119\": [0, 0.43056, 0.02691, 0.08334, 0.71592],\n \"120\": [0, 0.43056, 0, 0.02778, 0.57153],\n \"121\": [0.19444, 0.43056, 0.03588, 0.05556, 0.49028],\n \"122\": [0, 0.43056, 0.04398, 0.05556, 0.46505],\n \"160\": [0, 0, 0, 0, 0.25],\n \"915\": [0, 0.68333, 0.13889, 0.08334, 0.61528],\n \"916\": [0, 0.68333, 0, 0.16667, 0.83334],\n \"920\": [0, 0.68333, 0.02778, 0.08334, 0.76278],\n \"923\": [0, 0.68333, 0, 0.16667, 0.69445],\n \"926\": [0, 0.68333, 0.07569, 0.08334, 0.74236],\n \"928\": [0, 0.68333, 0.08125, 0.05556, 0.83125],\n \"931\": [0, 0.68333, 0.05764, 0.08334, 0.77986],\n \"933\": [0, 0.68333, 0.13889, 0.05556, 0.58333],\n \"934\": [0, 0.68333, 0, 0.08334, 0.66667],\n \"936\": [0, 0.68333, 0.11, 0.05556, 0.61222],\n \"937\": [0, 0.68333, 0.05017, 0.08334, 0.7724],\n \"945\": [0, 0.43056, 0.0037, 0.02778, 0.6397],\n \"946\": [0.19444, 0.69444, 0.05278, 0.08334, 0.56563],\n \"947\": [0.19444, 0.43056, 0.05556, 0, 0.51773],\n \"948\": [0, 0.69444, 0.03785, 0.05556, 0.44444],\n \"949\": [0, 0.43056, 0, 0.08334, 0.46632],\n \"950\": [0.19444, 0.69444, 0.07378, 0.08334, 0.4375],\n \"951\": [0.19444, 0.43056, 0.03588, 0.05556, 0.49653],\n \"952\": [0, 0.69444, 0.02778, 0.08334, 0.46944],\n \"953\": [0, 0.43056, 0, 0.05556, 0.35394],\n \"954\": [0, 0.43056, 0, 0, 0.57616],\n \"955\": [0, 0.69444, 0, 0, 0.58334],\n \"956\": [0.19444, 0.43056, 0, 0.02778, 0.60255],\n \"957\": [0, 0.43056, 0.06366, 0.02778, 0.49398],\n \"958\": [0.19444, 0.69444, 0.04601, 0.11111, 0.4375],\n \"959\": [0, 0.43056, 0, 0.05556, 0.48472],\n \"960\": [0, 0.43056, 0.03588, 0, 0.57003],\n \"961\": [0.19444, 0.43056, 0, 0.08334, 0.51702],\n \"962\": [0.09722, 0.43056, 0.07986, 0.08334, 0.36285],\n \"963\": [0, 0.43056, 0.03588, 0, 0.57141],\n \"964\": [0, 0.43056, 0.1132, 0.02778, 0.43715],\n \"965\": [0, 0.43056, 0.03588, 0.02778, 0.54028],\n \"966\": [0.19444, 0.43056, 0, 0.08334, 0.65417],\n \"967\": [0.19444, 0.43056, 0, 0.05556, 0.62569],\n \"968\": [0.19444, 0.69444, 0.03588, 0.11111, 0.65139],\n \"969\": [0, 0.43056, 0.03588, 0, 0.62245],\n \"977\": [0, 0.69444, 0, 0.08334, 0.59144],\n \"981\": [0.19444, 0.69444, 0, 0.08334, 0.59583],\n \"982\": [0, 0.43056, 0.02778, 0, 0.82813],\n \"1009\": [0.19444, 0.43056, 0, 0.08334, 0.51702],\n \"1013\": [0, 0.43056, 0, 0.05556, 0.4059],\n \"57649\": [0, 0.43056, 0, 0.02778, 0.32246],\n \"57911\": [0.19444, 0.43056, 0, 0.08334, 0.38403]\n },\n \"SansSerif-Bold\": {\n \"32\": [0, 0, 0, 0, 0.25],\n \"33\": [0, 0.69444, 0, 0, 0.36667],\n \"34\": [0, 0.69444, 0, 0, 0.55834],\n \"35\": [0.19444, 0.69444, 0, 0, 0.91667],\n \"36\": [0.05556, 0.75, 0, 0, 0.55],\n \"37\": [0.05556, 0.75, 0, 0, 1.02912],\n \"38\": [0, 0.69444, 0, 0, 0.83056],\n \"39\": [0, 0.69444, 0, 0, 0.30556],\n \"40\": [0.25, 0.75, 0, 0, 0.42778],\n \"41\": [0.25, 0.75, 0, 0, 0.42778],\n \"42\": [0, 0.75, 0, 0, 0.55],\n \"43\": [0.11667, 0.61667, 0, 0, 0.85556],\n \"44\": [0.10556, 0.13056, 0, 0, 0.30556],\n \"45\": [0, 0.45833, 0, 0, 0.36667],\n \"46\": [0, 0.13056, 0, 0, 0.30556],\n \"47\": [0.25, 0.75, 0, 0, 0.55],\n \"48\": [0, 0.69444, 0, 0, 0.55],\n \"49\": [0, 0.69444, 0, 0, 0.55],\n \"50\": [0, 0.69444, 0, 0, 0.55],\n \"51\": [0, 0.69444, 0, 0, 0.55],\n \"52\": [0, 0.69444, 0, 0, 0.55],\n \"53\": [0, 0.69444, 0, 0, 0.55],\n \"54\": [0, 0.69444, 0, 0, 0.55],\n \"55\": [0, 0.69444, 0, 0, 0.55],\n \"56\": [0, 0.69444, 0, 0, 0.55],\n \"57\": [0, 0.69444, 0, 0, 0.55],\n \"58\": [0, 0.45833, 0, 0, 0.30556],\n \"59\": [0.10556, 0.45833, 0, 0, 0.30556],\n \"61\": [-0.09375, 0.40625, 0, 0, 0.85556],\n \"63\": [0, 0.69444, 0, 0, 0.51945],\n \"64\": [0, 0.69444, 0, 0, 0.73334],\n \"65\": [0, 0.69444, 0, 0, 0.73334],\n \"66\": [0, 0.69444, 0, 0, 0.73334],\n \"67\": [0, 0.69444, 0, 0, 0.70278],\n \"68\": [0, 0.69444, 0, 0, 0.79445],\n \"69\": [0, 0.69444, 0, 0, 0.64167],\n \"70\": [0, 0.69444, 0, 0, 0.61111],\n \"71\": [0, 0.69444, 0, 0, 0.73334],\n \"72\": [0, 0.69444, 0, 0, 0.79445],\n \"73\": [0, 0.69444, 0, 0, 0.33056],\n \"74\": [0, 0.69444, 0, 0, 0.51945],\n \"75\": [0, 0.69444, 0, 0, 0.76389],\n \"76\": [0, 0.69444, 0, 0, 0.58056],\n \"77\": [0, 0.69444, 0, 0, 0.97778],\n \"78\": [0, 0.69444, 0, 0, 0.79445],\n \"79\": [0, 0.69444, 0, 0, 0.79445],\n \"80\": [0, 0.69444, 0, 0, 0.70278],\n \"81\": [0.10556, 0.69444, 0, 0, 0.79445],\n \"82\": [0, 0.69444, 0, 0, 0.70278],\n \"83\": [0, 0.69444, 0, 0, 0.61111],\n \"84\": [0, 0.69444, 0, 0, 0.73334],\n \"85\": [0, 0.69444, 0, 0, 0.76389],\n \"86\": [0, 0.69444, 0.01528, 0, 0.73334],\n \"87\": [0, 0.69444, 0.01528, 0, 1.03889],\n \"88\": [0, 0.69444, 0, 0, 0.73334],\n \"89\": [0, 0.69444, 0.0275, 0, 0.73334],\n \"90\": [0, 0.69444, 0, 0, 0.67223],\n \"91\": [0.25, 0.75, 0, 0, 0.34306],\n \"93\": [0.25, 0.75, 0, 0, 0.34306],\n \"94\": [0, 0.69444, 0, 0, 0.55],\n \"95\": [0.35, 0.10833, 0.03056, 0, 0.55],\n \"97\": [0, 0.45833, 0, 0, 0.525],\n \"98\": [0, 0.69444, 0, 0, 0.56111],\n \"99\": [0, 0.45833, 0, 0, 0.48889],\n \"100\": [0, 0.69444, 0, 0, 0.56111],\n \"101\": [0, 0.45833, 0, 0, 0.51111],\n \"102\": [0, 0.69444, 0.07639, 0, 0.33611],\n \"103\": [0.19444, 0.45833, 0.01528, 0, 0.55],\n \"104\": [0, 0.69444, 0, 0, 0.56111],\n \"105\": [0, 0.69444, 0, 0, 0.25556],\n \"106\": [0.19444, 0.69444, 0, 0, 0.28611],\n \"107\": [0, 0.69444, 0, 0, 0.53056],\n \"108\": [0, 0.69444, 0, 0, 0.25556],\n \"109\": [0, 0.45833, 0, 0, 0.86667],\n \"110\": [0, 0.45833, 0, 0, 0.56111],\n \"111\": [0, 0.45833, 0, 0, 0.55],\n \"112\": [0.19444, 0.45833, 0, 0, 0.56111],\n \"113\": [0.19444, 0.45833, 0, 0, 0.56111],\n \"114\": [0, 0.45833, 0.01528, 0, 0.37222],\n \"115\": [0, 0.45833, 0, 0, 0.42167],\n \"116\": [0, 0.58929, 0, 0, 0.40417],\n \"117\": [0, 0.45833, 0, 0, 0.56111],\n \"118\": [0, 0.45833, 0.01528, 0, 0.5],\n \"119\": [0, 0.45833, 0.01528, 0, 0.74445],\n \"120\": [0, 0.45833, 0, 0, 0.5],\n \"121\": [0.19444, 0.45833, 0.01528, 0, 0.5],\n \"122\": [0, 0.45833, 0, 0, 0.47639],\n \"126\": [0.35, 0.34444, 0, 0, 0.55],\n \"160\": [0, 0, 0, 0, 0.25],\n \"168\": [0, 0.69444, 0, 0, 0.55],\n \"176\": [0, 0.69444, 0, 0, 0.73334],\n \"180\": [0, 0.69444, 0, 0, 0.55],\n \"184\": [0.17014, 0, 0, 0, 0.48889],\n \"305\": [0, 0.45833, 0, 0, 0.25556],\n \"567\": [0.19444, 0.45833, 0, 0, 0.28611],\n \"710\": [0, 0.69444, 0, 0, 0.55],\n \"711\": [0, 0.63542, 0, 0, 0.55],\n \"713\": [0, 0.63778, 0, 0, 0.55],\n \"728\": [0, 0.69444, 0, 0, 0.55],\n \"729\": [0, 0.69444, 0, 0, 0.30556],\n \"730\": [0, 0.69444, 0, 0, 0.73334],\n \"732\": [0, 0.69444, 0, 0, 0.55],\n \"733\": [0, 0.69444, 0, 0, 0.55],\n \"915\": [0, 0.69444, 0, 0, 0.58056],\n \"916\": [0, 0.69444, 0, 0, 0.91667],\n \"920\": [0, 0.69444, 0, 0, 0.85556],\n \"923\": [0, 0.69444, 0, 0, 0.67223],\n \"926\": [0, 0.69444, 0, 0, 0.73334],\n \"928\": [0, 0.69444, 0, 0, 0.79445],\n \"931\": [0, 0.69444, 0, 0, 0.79445],\n \"933\": [0, 0.69444, 0, 0, 0.85556],\n \"934\": [0, 0.69444, 0, 0, 0.79445],\n \"936\": [0, 0.69444, 0, 0, 0.85556],\n \"937\": [0, 0.69444, 0, 0, 0.79445],\n \"8211\": [0, 0.45833, 0.03056, 0, 0.55],\n \"8212\": [0, 0.45833, 0.03056, 0, 1.10001],\n \"8216\": [0, 0.69444, 0, 0, 0.30556],\n \"8217\": [0, 0.69444, 0, 0, 0.30556],\n \"8220\": [0, 0.69444, 0, 0, 0.55834],\n \"8221\": [0, 0.69444, 0, 0, 0.55834]\n },\n \"SansSerif-Italic\": {\n \"32\": [0, 0, 0, 0, 0.25],\n \"33\": [0, 0.69444, 0.05733, 0, 0.31945],\n \"34\": [0, 0.69444, 0.00316, 0, 0.5],\n \"35\": [0.19444, 0.69444, 0.05087, 0, 0.83334],\n \"36\": [0.05556, 0.75, 0.11156, 0, 0.5],\n \"37\": [0.05556, 0.75, 0.03126, 0, 0.83334],\n \"38\": [0, 0.69444, 0.03058, 0, 0.75834],\n \"39\": [0, 0.69444, 0.07816, 0, 0.27778],\n \"40\": [0.25, 0.75, 0.13164, 0, 0.38889],\n \"41\": [0.25, 0.75, 0.02536, 0, 0.38889],\n \"42\": [0, 0.75, 0.11775, 0, 0.5],\n \"43\": [0.08333, 0.58333, 0.02536, 0, 0.77778],\n \"44\": [0.125, 0.08333, 0, 0, 0.27778],\n \"45\": [0, 0.44444, 0.01946, 0, 0.33333],\n \"46\": [0, 0.08333, 0, 0, 0.27778],\n \"47\": [0.25, 0.75, 0.13164, 0, 0.5],\n \"48\": [0, 0.65556, 0.11156, 0, 0.5],\n \"49\": [0, 0.65556, 0.11156, 0, 0.5],\n \"50\": [0, 0.65556, 0.11156, 0, 0.5],\n \"51\": [0, 0.65556, 0.11156, 0, 0.5],\n \"52\": [0, 0.65556, 0.11156, 0, 0.5],\n \"53\": [0, 0.65556, 0.11156, 0, 0.5],\n \"54\": [0, 0.65556, 0.11156, 0, 0.5],\n \"55\": [0, 0.65556, 0.11156, 0, 0.5],\n \"56\": [0, 0.65556, 0.11156, 0, 0.5],\n \"57\": [0, 0.65556, 0.11156, 0, 0.5],\n \"58\": [0, 0.44444, 0.02502, 0, 0.27778],\n \"59\": [0.125, 0.44444, 0.02502, 0, 0.27778],\n \"61\": [-0.13, 0.37, 0.05087, 0, 0.77778],\n \"63\": [0, 0.69444, 0.11809, 0, 0.47222],\n \"64\": [0, 0.69444, 0.07555, 0, 0.66667],\n \"65\": [0, 0.69444, 0, 0, 0.66667],\n \"66\": [0, 0.69444, 0.08293, 0, 0.66667],\n \"67\": [0, 0.69444, 0.11983, 0, 0.63889],\n \"68\": [0, 0.69444, 0.07555, 0, 0.72223],\n \"69\": [0, 0.69444, 0.11983, 0, 0.59722],\n \"70\": [0, 0.69444, 0.13372, 0, 0.56945],\n \"71\": [0, 0.69444, 0.11983, 0, 0.66667],\n \"72\": [0, 0.69444, 0.08094, 0, 0.70834],\n \"73\": [0, 0.69444, 0.13372, 0, 0.27778],\n \"74\": [0, 0.69444, 0.08094, 0, 0.47222],\n \"75\": [0, 0.69444, 0.11983, 0, 0.69445],\n \"76\": [0, 0.69444, 0, 0, 0.54167],\n \"77\": [0, 0.69444, 0.08094, 0, 0.875],\n \"78\": [0, 0.69444, 0.08094, 0, 0.70834],\n \"79\": [0, 0.69444, 0.07555, 0, 0.73611],\n \"80\": [0, 0.69444, 0.08293, 0, 0.63889],\n \"81\": [0.125, 0.69444, 0.07555, 0, 0.73611],\n \"82\": [0, 0.69444, 0.08293, 0, 0.64584],\n \"83\": [0, 0.69444, 0.09205, 0, 0.55556],\n \"84\": [0, 0.69444, 0.13372, 0, 0.68056],\n \"85\": [0, 0.69444, 0.08094, 0, 0.6875],\n \"86\": [0, 0.69444, 0.1615, 0, 0.66667],\n \"87\": [0, 0.69444, 0.1615, 0, 0.94445],\n \"88\": [0, 0.69444, 0.13372, 0, 0.66667],\n \"89\": [0, 0.69444, 0.17261, 0, 0.66667],\n \"90\": [0, 0.69444, 0.11983, 0, 0.61111],\n \"91\": [0.25, 0.75, 0.15942, 0, 0.28889],\n \"93\": [0.25, 0.75, 0.08719, 0, 0.28889],\n \"94\": [0, 0.69444, 0.0799, 0, 0.5],\n \"95\": [0.35, 0.09444, 0.08616, 0, 0.5],\n \"97\": [0, 0.44444, 0.00981, 0, 0.48056],\n \"98\": [0, 0.69444, 0.03057, 0, 0.51667],\n \"99\": [0, 0.44444, 0.08336, 0, 0.44445],\n \"100\": [0, 0.69444, 0.09483, 0, 0.51667],\n \"101\": [0, 0.44444, 0.06778, 0, 0.44445],\n \"102\": [0, 0.69444, 0.21705, 0, 0.30556],\n \"103\": [0.19444, 0.44444, 0.10836, 0, 0.5],\n \"104\": [0, 0.69444, 0.01778, 0, 0.51667],\n \"105\": [0, 0.67937, 0.09718, 0, 0.23889],\n \"106\": [0.19444, 0.67937, 0.09162, 0, 0.26667],\n \"107\": [0, 0.69444, 0.08336, 0, 0.48889],\n \"108\": [0, 0.69444, 0.09483, 0, 0.23889],\n \"109\": [0, 0.44444, 0.01778, 0, 0.79445],\n \"110\": [0, 0.44444, 0.01778, 0, 0.51667],\n \"111\": [0, 0.44444, 0.06613, 0, 0.5],\n \"112\": [0.19444, 0.44444, 0.0389, 0, 0.51667],\n \"113\": [0.19444, 0.44444, 0.04169, 0, 0.51667],\n \"114\": [0, 0.44444, 0.10836, 0, 0.34167],\n \"115\": [0, 0.44444, 0.0778, 0, 0.38333],\n \"116\": [0, 0.57143, 0.07225, 0, 0.36111],\n \"117\": [0, 0.44444, 0.04169, 0, 0.51667],\n \"118\": [0, 0.44444, 0.10836, 0, 0.46111],\n \"119\": [0, 0.44444, 0.10836, 0, 0.68334],\n \"120\": [0, 0.44444, 0.09169, 0, 0.46111],\n \"121\": [0.19444, 0.44444, 0.10836, 0, 0.46111],\n \"122\": [0, 0.44444, 0.08752, 0, 0.43472],\n \"126\": [0.35, 0.32659, 0.08826, 0, 0.5],\n \"160\": [0, 0, 0, 0, 0.25],\n \"168\": [0, 0.67937, 0.06385, 0, 0.5],\n \"176\": [0, 0.69444, 0, 0, 0.73752],\n \"184\": [0.17014, 0, 0, 0, 0.44445],\n \"305\": [0, 0.44444, 0.04169, 0, 0.23889],\n \"567\": [0.19444, 0.44444, 0.04169, 0, 0.26667],\n \"710\": [0, 0.69444, 0.0799, 0, 0.5],\n \"711\": [0, 0.63194, 0.08432, 0, 0.5],\n \"713\": [0, 0.60889, 0.08776, 0, 0.5],\n \"714\": [0, 0.69444, 0.09205, 0, 0.5],\n \"715\": [0, 0.69444, 0, 0, 0.5],\n \"728\": [0, 0.69444, 0.09483, 0, 0.5],\n \"729\": [0, 0.67937, 0.07774, 0, 0.27778],\n \"730\": [0, 0.69444, 0, 0, 0.73752],\n \"732\": [0, 0.67659, 0.08826, 0, 0.5],\n \"733\": [0, 0.69444, 0.09205, 0, 0.5],\n \"915\": [0, 0.69444, 0.13372, 0, 0.54167],\n \"916\": [0, 0.69444, 0, 0, 0.83334],\n \"920\": [0, 0.69444, 0.07555, 0, 0.77778],\n \"923\": [0, 0.69444, 0, 0, 0.61111],\n \"926\": [0, 0.69444, 0.12816, 0, 0.66667],\n \"928\": [0, 0.69444, 0.08094, 0, 0.70834],\n \"931\": [0, 0.69444, 0.11983, 0, 0.72222],\n \"933\": [0, 0.69444, 0.09031, 0, 0.77778],\n \"934\": [0, 0.69444, 0.04603, 0, 0.72222],\n \"936\": [0, 0.69444, 0.09031, 0, 0.77778],\n \"937\": [0, 0.69444, 0.08293, 0, 0.72222],\n \"8211\": [0, 0.44444, 0.08616, 0, 0.5],\n \"8212\": [0, 0.44444, 0.08616, 0, 1.0],\n \"8216\": [0, 0.69444, 0.07816, 0, 0.27778],\n \"8217\": [0, 0.69444, 0.07816, 0, 0.27778],\n \"8220\": [0, 0.69444, 0.14205, 0, 0.5],\n \"8221\": [0, 0.69444, 0.00316, 0, 0.5]\n },\n \"SansSerif-Regular\": {\n \"32\": [0, 0, 0, 0, 0.25],\n \"33\": [0, 0.69444, 0, 0, 0.31945],\n \"34\": [0, 0.69444, 0, 0, 0.5],\n \"35\": [0.19444, 0.69444, 0, 0, 0.83334],\n \"36\": [0.05556, 0.75, 0, 0, 0.5],\n \"37\": [0.05556, 0.75, 0, 0, 0.83334],\n \"38\": [0, 0.69444, 0, 0, 0.75834],\n \"39\": [0, 0.69444, 0, 0, 0.27778],\n \"40\": [0.25, 0.75, 0, 0, 0.38889],\n \"41\": [0.25, 0.75, 0, 0, 0.38889],\n \"42\": [0, 0.75, 0, 0, 0.5],\n \"43\": [0.08333, 0.58333, 0, 0, 0.77778],\n \"44\": [0.125, 0.08333, 0, 0, 0.27778],\n \"45\": [0, 0.44444, 0, 0, 0.33333],\n \"46\": [0, 0.08333, 0, 0, 0.27778],\n \"47\": [0.25, 0.75, 0, 0, 0.5],\n \"48\": [0, 0.65556, 0, 0, 0.5],\n \"49\": [0, 0.65556, 0, 0, 0.5],\n \"50\": [0, 0.65556, 0, 0, 0.5],\n \"51\": [0, 0.65556, 0, 0, 0.5],\n \"52\": [0, 0.65556, 0, 0, 0.5],\n \"53\": [0, 0.65556, 0, 0, 0.5],\n \"54\": [0, 0.65556, 0, 0, 0.5],\n \"55\": [0, 0.65556, 0, 0, 0.5],\n \"56\": [0, 0.65556, 0, 0, 0.5],\n \"57\": [0, 0.65556, 0, 0, 0.5],\n \"58\": [0, 0.44444, 0, 0, 0.27778],\n \"59\": [0.125, 0.44444, 0, 0, 0.27778],\n \"61\": [-0.13, 0.37, 0, 0, 0.77778],\n \"63\": [0, 0.69444, 0, 0, 0.47222],\n \"64\": [0, 0.69444, 0, 0, 0.66667],\n \"65\": [0, 0.69444, 0, 0, 0.66667],\n \"66\": [0, 0.69444, 0, 0, 0.66667],\n \"67\": [0, 0.69444, 0, 0, 0.63889],\n \"68\": [0, 0.69444, 0, 0, 0.72223],\n \"69\": [0, 0.69444, 0, 0, 0.59722],\n \"70\": [0, 0.69444, 0, 0, 0.56945],\n \"71\": [0, 0.69444, 0, 0, 0.66667],\n \"72\": [0, 0.69444, 0, 0, 0.70834],\n \"73\": [0, 0.69444, 0, 0, 0.27778],\n \"74\": [0, 0.69444, 0, 0, 0.47222],\n \"75\": [0, 0.69444, 0, 0, 0.69445],\n \"76\": [0, 0.69444, 0, 0, 0.54167],\n \"77\": [0, 0.69444, 0, 0, 0.875],\n \"78\": [0, 0.69444, 0, 0, 0.70834],\n \"79\": [0, 0.69444, 0, 0, 0.73611],\n \"80\": [0, 0.69444, 0, 0, 0.63889],\n \"81\": [0.125, 0.69444, 0, 0, 0.73611],\n \"82\": [0, 0.69444, 0, 0, 0.64584],\n \"83\": [0, 0.69444, 0, 0, 0.55556],\n \"84\": [0, 0.69444, 0, 0, 0.68056],\n \"85\": [0, 0.69444, 0, 0, 0.6875],\n \"86\": [0, 0.69444, 0.01389, 0, 0.66667],\n \"87\": [0, 0.69444, 0.01389, 0, 0.94445],\n \"88\": [0, 0.69444, 0, 0, 0.66667],\n \"89\": [0, 0.69444, 0.025, 0, 0.66667],\n \"90\": [0, 0.69444, 0, 0, 0.61111],\n \"91\": [0.25, 0.75, 0, 0, 0.28889],\n \"93\": [0.25, 0.75, 0, 0, 0.28889],\n \"94\": [0, 0.69444, 0, 0, 0.5],\n \"95\": [0.35, 0.09444, 0.02778, 0, 0.5],\n \"97\": [0, 0.44444, 0, 0, 0.48056],\n \"98\": [0, 0.69444, 0, 0, 0.51667],\n \"99\": [0, 0.44444, 0, 0, 0.44445],\n \"100\": [0, 0.69444, 0, 0, 0.51667],\n \"101\": [0, 0.44444, 0, 0, 0.44445],\n \"102\": [0, 0.69444, 0.06944, 0, 0.30556],\n \"103\": [0.19444, 0.44444, 0.01389, 0, 0.5],\n \"104\": [0, 0.69444, 0, 0, 0.51667],\n \"105\": [0, 0.67937, 0, 0, 0.23889],\n \"106\": [0.19444, 0.67937, 0, 0, 0.26667],\n \"107\": [0, 0.69444, 0, 0, 0.48889],\n \"108\": [0, 0.69444, 0, 0, 0.23889],\n \"109\": [0, 0.44444, 0, 0, 0.79445],\n \"110\": [0, 0.44444, 0, 0, 0.51667],\n \"111\": [0, 0.44444, 0, 0, 0.5],\n \"112\": [0.19444, 0.44444, 0, 0, 0.51667],\n \"113\": [0.19444, 0.44444, 0, 0, 0.51667],\n \"114\": [0, 0.44444, 0.01389, 0, 0.34167],\n \"115\": [0, 0.44444, 0, 0, 0.38333],\n \"116\": [0, 0.57143, 0, 0, 0.36111],\n \"117\": [0, 0.44444, 0, 0, 0.51667],\n \"118\": [0, 0.44444, 0.01389, 0, 0.46111],\n \"119\": [0, 0.44444, 0.01389, 0, 0.68334],\n \"120\": [0, 0.44444, 0, 0, 0.46111],\n \"121\": [0.19444, 0.44444, 0.01389, 0, 0.46111],\n \"122\": [0, 0.44444, 0, 0, 0.43472],\n \"126\": [0.35, 0.32659, 0, 0, 0.5],\n \"160\": [0, 0, 0, 0, 0.25],\n \"168\": [0, 0.67937, 0, 0, 0.5],\n \"176\": [0, 0.69444, 0, 0, 0.66667],\n \"184\": [0.17014, 0, 0, 0, 0.44445],\n \"305\": [0, 0.44444, 0, 0, 0.23889],\n \"567\": [0.19444, 0.44444, 0, 0, 0.26667],\n \"710\": [0, 0.69444, 0, 0, 0.5],\n \"711\": [0, 0.63194, 0, 0, 0.5],\n \"713\": [0, 0.60889, 0, 0, 0.5],\n \"714\": [0, 0.69444, 0, 0, 0.5],\n \"715\": [0, 0.69444, 0, 0, 0.5],\n \"728\": [0, 0.69444, 0, 0, 0.5],\n \"729\": [0, 0.67937, 0, 0, 0.27778],\n \"730\": [0, 0.69444, 0, 0, 0.66667],\n \"732\": [0, 0.67659, 0, 0, 0.5],\n \"733\": [0, 0.69444, 0, 0, 0.5],\n \"915\": [0, 0.69444, 0, 0, 0.54167],\n \"916\": [0, 0.69444, 0, 0, 0.83334],\n \"920\": [0, 0.69444, 0, 0, 0.77778],\n \"923\": [0, 0.69444, 0, 0, 0.61111],\n \"926\": [0, 0.69444, 0, 0, 0.66667],\n \"928\": [0, 0.69444, 0, 0, 0.70834],\n \"931\": [0, 0.69444, 0, 0, 0.72222],\n \"933\": [0, 0.69444, 0, 0, 0.77778],\n \"934\": [0, 0.69444, 0, 0, 0.72222],\n \"936\": [0, 0.69444, 0, 0, 0.77778],\n \"937\": [0, 0.69444, 0, 0, 0.72222],\n \"8211\": [0, 0.44444, 0.02778, 0, 0.5],\n \"8212\": [0, 0.44444, 0.02778, 0, 1.0],\n \"8216\": [0, 0.69444, 0, 0, 0.27778],\n \"8217\": [0, 0.69444, 0, 0, 0.27778],\n \"8220\": [0, 0.69444, 0, 0, 0.5],\n \"8221\": [0, 0.69444, 0, 0, 0.5]\n },\n \"Script-Regular\": {\n \"32\": [0, 0, 0, 0, 0.25],\n \"65\": [0, 0.7, 0.22925, 0, 0.80253],\n \"66\": [0, 0.7, 0.04087, 0, 0.90757],\n \"67\": [0, 0.7, 0.1689, 0, 0.66619],\n \"68\": [0, 0.7, 0.09371, 0, 0.77443],\n \"69\": [0, 0.7, 0.18583, 0, 0.56162],\n \"70\": [0, 0.7, 0.13634, 0, 0.89544],\n \"71\": [0, 0.7, 0.17322, 0, 0.60961],\n \"72\": [0, 0.7, 0.29694, 0, 0.96919],\n \"73\": [0, 0.7, 0.19189, 0, 0.80907],\n \"74\": [0.27778, 0.7, 0.19189, 0, 1.05159],\n \"75\": [0, 0.7, 0.31259, 0, 0.91364],\n \"76\": [0, 0.7, 0.19189, 0, 0.87373],\n \"77\": [0, 0.7, 0.15981, 0, 1.08031],\n \"78\": [0, 0.7, 0.3525, 0, 0.9015],\n \"79\": [0, 0.7, 0.08078, 0, 0.73787],\n \"80\": [0, 0.7, 0.08078, 0, 1.01262],\n \"81\": [0, 0.7, 0.03305, 0, 0.88282],\n \"82\": [0, 0.7, 0.06259, 0, 0.85],\n \"83\": [0, 0.7, 0.19189, 0, 0.86767],\n \"84\": [0, 0.7, 0.29087, 0, 0.74697],\n \"85\": [0, 0.7, 0.25815, 0, 0.79996],\n \"86\": [0, 0.7, 0.27523, 0, 0.62204],\n \"87\": [0, 0.7, 0.27523, 0, 0.80532],\n \"88\": [0, 0.7, 0.26006, 0, 0.94445],\n \"89\": [0, 0.7, 0.2939, 0, 0.70961],\n \"90\": [0, 0.7, 0.24037, 0, 0.8212],\n \"160\": [0, 0, 0, 0, 0.25]\n },\n \"Size1-Regular\": {\n \"32\": [0, 0, 0, 0, 0.25],\n \"40\": [0.35001, 0.85, 0, 0, 0.45834],\n \"41\": [0.35001, 0.85, 0, 0, 0.45834],\n \"47\": [0.35001, 0.85, 0, 0, 0.57778],\n \"91\": [0.35001, 0.85, 0, 0, 0.41667],\n \"92\": [0.35001, 0.85, 0, 0, 0.57778],\n \"93\": [0.35001, 0.85, 0, 0, 0.41667],\n \"123\": [0.35001, 0.85, 0, 0, 0.58334],\n \"125\": [0.35001, 0.85, 0, 0, 0.58334],\n \"160\": [0, 0, 0, 0, 0.25],\n \"710\": [0, 0.72222, 0, 0, 0.55556],\n \"732\": [0, 0.72222, 0, 0, 0.55556],\n \"770\": [0, 0.72222, 0, 0, 0.55556],\n \"771\": [0, 0.72222, 0, 0, 0.55556],\n \"8214\": [-0.00099, 0.601, 0, 0, 0.77778],\n \"8593\": [1e-05, 0.6, 0, 0, 0.66667],\n \"8595\": [1e-05, 0.6, 0, 0, 0.66667],\n \"8657\": [1e-05, 0.6, 0, 0, 0.77778],\n \"8659\": [1e-05, 0.6, 0, 0, 0.77778],\n \"8719\": [0.25001, 0.75, 0, 0, 0.94445],\n \"8720\": [0.25001, 0.75, 0, 0, 0.94445],\n \"8721\": [0.25001, 0.75, 0, 0, 1.05556],\n \"8730\": [0.35001, 0.85, 0, 0, 1.0],\n \"8739\": [-0.00599, 0.606, 0, 0, 0.33333],\n \"8741\": [-0.00599, 0.606, 0, 0, 0.55556],\n \"8747\": [0.30612, 0.805, 0.19445, 0, 0.47222],\n \"8748\": [0.306, 0.805, 0.19445, 0, 0.47222],\n \"8749\": [0.306, 0.805, 0.19445, 0, 0.47222],\n \"8750\": [0.30612, 0.805, 0.19445, 0, 0.47222],\n \"8896\": [0.25001, 0.75, 0, 0, 0.83334],\n \"8897\": [0.25001, 0.75, 0, 0, 0.83334],\n \"8898\": [0.25001, 0.75, 0, 0, 0.83334],\n \"8899\": [0.25001, 0.75, 0, 0, 0.83334],\n \"8968\": [0.35001, 0.85, 0, 0, 0.47222],\n \"8969\": [0.35001, 0.85, 0, 0, 0.47222],\n \"8970\": [0.35001, 0.85, 0, 0, 0.47222],\n \"8971\": [0.35001, 0.85, 0, 0, 0.47222],\n \"9168\": [-0.00099, 0.601, 0, 0, 0.66667],\n \"10216\": [0.35001, 0.85, 0, 0, 0.47222],\n \"10217\": [0.35001, 0.85, 0, 0, 0.47222],\n \"10752\": [0.25001, 0.75, 0, 0, 1.11111],\n \"10753\": [0.25001, 0.75, 0, 0, 1.11111],\n \"10754\": [0.25001, 0.75, 0, 0, 1.11111],\n \"10756\": [0.25001, 0.75, 0, 0, 0.83334],\n \"10758\": [0.25001, 0.75, 0, 0, 0.83334]\n },\n \"Size2-Regular\": {\n \"32\": [0, 0, 0, 0, 0.25],\n \"40\": [0.65002, 1.15, 0, 0, 0.59722],\n \"41\": [0.65002, 1.15, 0, 0, 0.59722],\n \"47\": [0.65002, 1.15, 0, 0, 0.81111],\n \"91\": [0.65002, 1.15, 0, 0, 0.47222],\n \"92\": [0.65002, 1.15, 0, 0, 0.81111],\n \"93\": [0.65002, 1.15, 0, 0, 0.47222],\n \"123\": [0.65002, 1.15, 0, 0, 0.66667],\n \"125\": [0.65002, 1.15, 0, 0, 0.66667],\n \"160\": [0, 0, 0, 0, 0.25],\n \"710\": [0, 0.75, 0, 0, 1.0],\n \"732\": [0, 0.75, 0, 0, 1.0],\n \"770\": [0, 0.75, 0, 0, 1.0],\n \"771\": [0, 0.75, 0, 0, 1.0],\n \"8719\": [0.55001, 1.05, 0, 0, 1.27778],\n \"8720\": [0.55001, 1.05, 0, 0, 1.27778],\n \"8721\": [0.55001, 1.05, 0, 0, 1.44445],\n \"8730\": [0.65002, 1.15, 0, 0, 1.0],\n \"8747\": [0.86225, 1.36, 0.44445, 0, 0.55556],\n \"8748\": [0.862, 1.36, 0.44445, 0, 0.55556],\n \"8749\": [0.862, 1.36, 0.44445, 0, 0.55556],\n \"8750\": [0.86225, 1.36, 0.44445, 0, 0.55556],\n \"8896\": [0.55001, 1.05, 0, 0, 1.11111],\n \"8897\": [0.55001, 1.05, 0, 0, 1.11111],\n \"8898\": [0.55001, 1.05, 0, 0, 1.11111],\n \"8899\": [0.55001, 1.05, 0, 0, 1.11111],\n \"8968\": [0.65002, 1.15, 0, 0, 0.52778],\n \"8969\": [0.65002, 1.15, 0, 0, 0.52778],\n \"8970\": [0.65002, 1.15, 0, 0, 0.52778],\n \"8971\": [0.65002, 1.15, 0, 0, 0.52778],\n \"10216\": [0.65002, 1.15, 0, 0, 0.61111],\n \"10217\": [0.65002, 1.15, 0, 0, 0.61111],\n \"10752\": [0.55001, 1.05, 0, 0, 1.51112],\n \"10753\": [0.55001, 1.05, 0, 0, 1.51112],\n \"10754\": [0.55001, 1.05, 0, 0, 1.51112],\n \"10756\": [0.55001, 1.05, 0, 0, 1.11111],\n \"10758\": [0.55001, 1.05, 0, 0, 1.11111]\n },\n \"Size3-Regular\": {\n \"32\": [0, 0, 0, 0, 0.25],\n \"40\": [0.95003, 1.45, 0, 0, 0.73611],\n \"41\": [0.95003, 1.45, 0, 0, 0.73611],\n \"47\": [0.95003, 1.45, 0, 0, 1.04445],\n \"91\": [0.95003, 1.45, 0, 0, 0.52778],\n \"92\": [0.95003, 1.45, 0, 0, 1.04445],\n \"93\": [0.95003, 1.45, 0, 0, 0.52778],\n \"123\": [0.95003, 1.45, 0, 0, 0.75],\n \"125\": [0.95003, 1.45, 0, 0, 0.75],\n \"160\": [0, 0, 0, 0, 0.25],\n \"710\": [0, 0.75, 0, 0, 1.44445],\n \"732\": [0, 0.75, 0, 0, 1.44445],\n \"770\": [0, 0.75, 0, 0, 1.44445],\n \"771\": [0, 0.75, 0, 0, 1.44445],\n \"8730\": [0.95003, 1.45, 0, 0, 1.0],\n \"8968\": [0.95003, 1.45, 0, 0, 0.58334],\n \"8969\": [0.95003, 1.45, 0, 0, 0.58334],\n \"8970\": [0.95003, 1.45, 0, 0, 0.58334],\n \"8971\": [0.95003, 1.45, 0, 0, 0.58334],\n \"10216\": [0.95003, 1.45, 0, 0, 0.75],\n \"10217\": [0.95003, 1.45, 0, 0, 0.75]\n },\n \"Size4-Regular\": {\n \"32\": [0, 0, 0, 0, 0.25],\n \"40\": [1.25003, 1.75, 0, 0, 0.79167],\n \"41\": [1.25003, 1.75, 0, 0, 0.79167],\n \"47\": [1.25003, 1.75, 0, 0, 1.27778],\n \"91\": [1.25003, 1.75, 0, 0, 0.58334],\n \"92\": [1.25003, 1.75, 0, 0, 1.27778],\n \"93\": [1.25003, 1.75, 0, 0, 0.58334],\n \"123\": [1.25003, 1.75, 0, 0, 0.80556],\n \"125\": [1.25003, 1.75, 0, 0, 0.80556],\n \"160\": [0, 0, 0, 0, 0.25],\n \"710\": [0, 0.825, 0, 0, 1.8889],\n \"732\": [0, 0.825, 0, 0, 1.8889],\n \"770\": [0, 0.825, 0, 0, 1.8889],\n \"771\": [0, 0.825, 0, 0, 1.8889],\n \"8730\": [1.25003, 1.75, 0, 0, 1.0],\n \"8968\": [1.25003, 1.75, 0, 0, 0.63889],\n \"8969\": [1.25003, 1.75, 0, 0, 0.63889],\n \"8970\": [1.25003, 1.75, 0, 0, 0.63889],\n \"8971\": [1.25003, 1.75, 0, 0, 0.63889],\n \"9115\": [0.64502, 1.155, 0, 0, 0.875],\n \"9116\": [1e-05, 0.6, 0, 0, 0.875],\n \"9117\": [0.64502, 1.155, 0, 0, 0.875],\n \"9118\": [0.64502, 1.155, 0, 0, 0.875],\n \"9119\": [1e-05, 0.6, 0, 0, 0.875],\n \"9120\": [0.64502, 1.155, 0, 0, 0.875],\n \"9121\": [0.64502, 1.155, 0, 0, 0.66667],\n \"9122\": [-0.00099, 0.601, 0, 0, 0.66667],\n \"9123\": [0.64502, 1.155, 0, 0, 0.66667],\n \"9124\": [0.64502, 1.155, 0, 0, 0.66667],\n \"9125\": [-0.00099, 0.601, 0, 0, 0.66667],\n \"9126\": [0.64502, 1.155, 0, 0, 0.66667],\n \"9127\": [1e-05, 0.9, 0, 0, 0.88889],\n \"9128\": [0.65002, 1.15, 0, 0, 0.88889],\n \"9129\": [0.90001, 0, 0, 0, 0.88889],\n \"9130\": [0, 0.3, 0, 0, 0.88889],\n \"9131\": [1e-05, 0.9, 0, 0, 0.88889],\n \"9132\": [0.65002, 1.15, 0, 0, 0.88889],\n \"9133\": [0.90001, 0, 0, 0, 0.88889],\n \"9143\": [0.88502, 0.915, 0, 0, 1.05556],\n \"10216\": [1.25003, 1.75, 0, 0, 0.80556],\n \"10217\": [1.25003, 1.75, 0, 0, 0.80556],\n \"57344\": [-0.00499, 0.605, 0, 0, 1.05556],\n \"57345\": [-0.00499, 0.605, 0, 0, 1.05556],\n \"57680\": [0, 0.12, 0, 0, 0.45],\n \"57681\": [0, 0.12, 0, 0, 0.45],\n \"57682\": [0, 0.12, 0, 0, 0.45],\n \"57683\": [0, 0.12, 0, 0, 0.45]\n },\n \"Typewriter-Regular\": {\n \"32\": [0, 0, 0, 0, 0.525],\n \"33\": [0, 0.61111, 0, 0, 0.525],\n \"34\": [0, 0.61111, 0, 0, 0.525],\n \"35\": [0, 0.61111, 0, 0, 0.525],\n \"36\": [0.08333, 0.69444, 0, 0, 0.525],\n \"37\": [0.08333, 0.69444, 0, 0, 0.525],\n \"38\": [0, 0.61111, 0, 0, 0.525],\n \"39\": [0, 0.61111, 0, 0, 0.525],\n \"40\": [0.08333, 0.69444, 0, 0, 0.525],\n \"41\": [0.08333, 0.69444, 0, 0, 0.525],\n \"42\": [0, 0.52083, 0, 0, 0.525],\n \"43\": [-0.08056, 0.53055, 0, 0, 0.525],\n \"44\": [0.13889, 0.125, 0, 0, 0.525],\n \"45\": [-0.08056, 0.53055, 0, 0, 0.525],\n \"46\": [0, 0.125, 0, 0, 0.525],\n \"47\": [0.08333, 0.69444, 0, 0, 0.525],\n \"48\": [0, 0.61111, 0, 0, 0.525],\n \"49\": [0, 0.61111, 0, 0, 0.525],\n \"50\": [0, 0.61111, 0, 0, 0.525],\n \"51\": [0, 0.61111, 0, 0, 0.525],\n \"52\": [0, 0.61111, 0, 0, 0.525],\n \"53\": [0, 0.61111, 0, 0, 0.525],\n \"54\": [0, 0.61111, 0, 0, 0.525],\n \"55\": [0, 0.61111, 0, 0, 0.525],\n \"56\": [0, 0.61111, 0, 0, 0.525],\n \"57\": [0, 0.61111, 0, 0, 0.525],\n \"58\": [0, 0.43056, 0, 0, 0.525],\n \"59\": [0.13889, 0.43056, 0, 0, 0.525],\n \"60\": [-0.05556, 0.55556, 0, 0, 0.525],\n \"61\": [-0.19549, 0.41562, 0, 0, 0.525],\n \"62\": [-0.05556, 0.55556, 0, 0, 0.525],\n \"63\": [0, 0.61111, 0, 0, 0.525],\n \"64\": [0, 0.61111, 0, 0, 0.525],\n \"65\": [0, 0.61111, 0, 0, 0.525],\n \"66\": [0, 0.61111, 0, 0, 0.525],\n \"67\": [0, 0.61111, 0, 0, 0.525],\n \"68\": [0, 0.61111, 0, 0, 0.525],\n \"69\": [0, 0.61111, 0, 0, 0.525],\n \"70\": [0, 0.61111, 0, 0, 0.525],\n \"71\": [0, 0.61111, 0, 0, 0.525],\n \"72\": [0, 0.61111, 0, 0, 0.525],\n \"73\": [0, 0.61111, 0, 0, 0.525],\n \"74\": [0, 0.61111, 0, 0, 0.525],\n \"75\": [0, 0.61111, 0, 0, 0.525],\n \"76\": [0, 0.61111, 0, 0, 0.525],\n \"77\": [0, 0.61111, 0, 0, 0.525],\n \"78\": [0, 0.61111, 0, 0, 0.525],\n \"79\": [0, 0.61111, 0, 0, 0.525],\n \"80\": [0, 0.61111, 0, 0, 0.525],\n \"81\": [0.13889, 0.61111, 0, 0, 0.525],\n \"82\": [0, 0.61111, 0, 0, 0.525],\n \"83\": [0, 0.61111, 0, 0, 0.525],\n \"84\": [0, 0.61111, 0, 0, 0.525],\n \"85\": [0, 0.61111, 0, 0, 0.525],\n \"86\": [0, 0.61111, 0, 0, 0.525],\n \"87\": [0, 0.61111, 0, 0, 0.525],\n \"88\": [0, 0.61111, 0, 0, 0.525],\n \"89\": [0, 0.61111, 0, 0, 0.525],\n \"90\": [0, 0.61111, 0, 0, 0.525],\n \"91\": [0.08333, 0.69444, 0, 0, 0.525],\n \"92\": [0.08333, 0.69444, 0, 0, 0.525],\n \"93\": [0.08333, 0.69444, 0, 0, 0.525],\n \"94\": [0, 0.61111, 0, 0, 0.525],\n \"95\": [0.09514, 0, 0, 0, 0.525],\n \"96\": [0, 0.61111, 0, 0, 0.525],\n \"97\": [0, 0.43056, 0, 0, 0.525],\n \"98\": [0, 0.61111, 0, 0, 0.525],\n \"99\": [0, 0.43056, 0, 0, 0.525],\n \"100\": [0, 0.61111, 0, 0, 0.525],\n \"101\": [0, 0.43056, 0, 0, 0.525],\n \"102\": [0, 0.61111, 0, 0, 0.525],\n \"103\": [0.22222, 0.43056, 0, 0, 0.525],\n \"104\": [0, 0.61111, 0, 0, 0.525],\n \"105\": [0, 0.61111, 0, 0, 0.525],\n \"106\": [0.22222, 0.61111, 0, 0, 0.525],\n \"107\": [0, 0.61111, 0, 0, 0.525],\n \"108\": [0, 0.61111, 0, 0, 0.525],\n \"109\": [0, 0.43056, 0, 0, 0.525],\n \"110\": [0, 0.43056, 0, 0, 0.525],\n \"111\": [0, 0.43056, 0, 0, 0.525],\n \"112\": [0.22222, 0.43056, 0, 0, 0.525],\n \"113\": [0.22222, 0.43056, 0, 0, 0.525],\n \"114\": [0, 0.43056, 0, 0, 0.525],\n \"115\": [0, 0.43056, 0, 0, 0.525],\n \"116\": [0, 0.55358, 0, 0, 0.525],\n \"117\": [0, 0.43056, 0, 0, 0.525],\n \"118\": [0, 0.43056, 0, 0, 0.525],\n \"119\": [0, 0.43056, 0, 0, 0.525],\n \"120\": [0, 0.43056, 0, 0, 0.525],\n \"121\": [0.22222, 0.43056, 0, 0, 0.525],\n \"122\": [0, 0.43056, 0, 0, 0.525],\n \"123\": [0.08333, 0.69444, 0, 0, 0.525],\n \"124\": [0.08333, 0.69444, 0, 0, 0.525],\n \"125\": [0.08333, 0.69444, 0, 0, 0.525],\n \"126\": [0, 0.61111, 0, 0, 0.525],\n \"127\": [0, 0.61111, 0, 0, 0.525],\n \"160\": [0, 0, 0, 0, 0.525],\n \"176\": [0, 0.61111, 0, 0, 0.525],\n \"184\": [0.19445, 0, 0, 0, 0.525],\n \"305\": [0, 0.43056, 0, 0, 0.525],\n \"567\": [0.22222, 0.43056, 0, 0, 0.525],\n \"711\": [0, 0.56597, 0, 0, 0.525],\n \"713\": [0, 0.56555, 0, 0, 0.525],\n \"714\": [0, 0.61111, 0, 0, 0.525],\n \"715\": [0, 0.61111, 0, 0, 0.525],\n \"728\": [0, 0.61111, 0, 0, 0.525],\n \"730\": [0, 0.61111, 0, 0, 0.525],\n \"770\": [0, 0.61111, 0, 0, 0.525],\n \"771\": [0, 0.61111, 0, 0, 0.525],\n \"776\": [0, 0.61111, 0, 0, 0.525],\n \"915\": [0, 0.61111, 0, 0, 0.525],\n \"916\": [0, 0.61111, 0, 0, 0.525],\n \"920\": [0, 0.61111, 0, 0, 0.525],\n \"923\": [0, 0.61111, 0, 0, 0.525],\n \"926\": [0, 0.61111, 0, 0, 0.525],\n \"928\": [0, 0.61111, 0, 0, 0.525],\n \"931\": [0, 0.61111, 0, 0, 0.525],\n \"933\": [0, 0.61111, 0, 0, 0.525],\n \"934\": [0, 0.61111, 0, 0, 0.525],\n \"936\": [0, 0.61111, 0, 0, 0.525],\n \"937\": [0, 0.61111, 0, 0, 0.525],\n \"8216\": [0, 0.61111, 0, 0, 0.525],\n \"8217\": [0, 0.61111, 0, 0, 0.525],\n \"8242\": [0, 0.61111, 0, 0, 0.525],\n \"9251\": [0.11111, 0.21944, 0, 0, 0.525]\n }\n});\n;// CONCATENATED MODULE: ./src/fontMetrics.js\n\n\n/**\n * This file contains metrics regarding fonts and individual symbols. The sigma\n * and xi variables, as well as the metricMap map contain data extracted from\n * TeX, TeX font metrics, and the TTF files. These data are then exposed via the\n * `metrics` variable and the getCharacterMetrics function.\n */\n// In TeX, there are actually three sets of dimensions, one for each of\n// textstyle (size index 5 and higher: >=9pt), scriptstyle (size index 3 and 4:\n// 7-8pt), and scriptscriptstyle (size index 1 and 2: 5-6pt). These are\n// provided in the arrays below, in that order.\n//\n// The font metrics are stored in fonts cmsy10, cmsy7, and cmsy5 respectively.\n// This was determined by running the following script:\n//\n// latex -interaction=nonstopmode \\\n// '\\documentclass{article}\\usepackage{amsmath}\\begin{document}' \\\n// '$a$ \\expandafter\\show\\the\\textfont2' \\\n// '\\expandafter\\show\\the\\scriptfont2' \\\n// '\\expandafter\\show\\the\\scriptscriptfont2' \\\n// '\\stop'\n//\n// The metrics themselves were retrieved using the following commands:\n//\n// tftopl cmsy10\n// tftopl cmsy7\n// tftopl cmsy5\n//\n// The output of each of these commands is quite lengthy. The only part we\n// care about is the FONTDIMEN section. Each value is measured in EMs.\nconst sigmasAndXis = {\n slant: [0.250, 0.250, 0.250],\n // sigma1\n space: [0.000, 0.000, 0.000],\n // sigma2\n stretch: [0.000, 0.000, 0.000],\n // sigma3\n shrink: [0.000, 0.000, 0.000],\n // sigma4\n xHeight: [0.431, 0.431, 0.431],\n // sigma5\n quad: [1.000, 1.171, 1.472],\n // sigma6\n extraSpace: [0.000, 0.000, 0.000],\n // sigma7\n num1: [0.677, 0.732, 0.925],\n // sigma8\n num2: [0.394, 0.384, 0.387],\n // sigma9\n num3: [0.444, 0.471, 0.504],\n // sigma10\n denom1: [0.686, 0.752, 1.025],\n // sigma11\n denom2: [0.345, 0.344, 0.532],\n // sigma12\n sup1: [0.413, 0.503, 0.504],\n // sigma13\n sup2: [0.363, 0.431, 0.404],\n // sigma14\n sup3: [0.289, 0.286, 0.294],\n // sigma15\n sub1: [0.150, 0.143, 0.200],\n // sigma16\n sub2: [0.247, 0.286, 0.400],\n // sigma17\n supDrop: [0.386, 0.353, 0.494],\n // sigma18\n subDrop: [0.050, 0.071, 0.100],\n // sigma19\n delim1: [2.390, 1.700, 1.980],\n // sigma20\n delim2: [1.010, 1.157, 1.420],\n // sigma21\n axisHeight: [0.250, 0.250, 0.250],\n // sigma22\n // These font metrics are extracted from TeX by using tftopl on cmex10.tfm;\n // they correspond to the font parameters of the extension fonts (family 3).\n // See the TeXbook, page 441. In AMSTeX, the extension fonts scale; to\n // match cmex7, we'd use cmex7.tfm values for script and scriptscript\n // values.\n defaultRuleThickness: [0.04, 0.049, 0.049],\n // xi8; cmex7: 0.049\n bigOpSpacing1: [0.111, 0.111, 0.111],\n // xi9\n bigOpSpacing2: [0.166, 0.166, 0.166],\n // xi10\n bigOpSpacing3: [0.2, 0.2, 0.2],\n // xi11\n bigOpSpacing4: [0.6, 0.611, 0.611],\n // xi12; cmex7: 0.611\n bigOpSpacing5: [0.1, 0.143, 0.143],\n // xi13; cmex7: 0.143\n // The \\sqrt rule width is taken from the height of the surd character.\n // Since we use the same font at all sizes, this thickness doesn't scale.\n sqrtRuleThickness: [0.04, 0.04, 0.04],\n // This value determines how large a pt is, for metrics which are defined\n // in terms of pts.\n // This value is also used in katex.scss; if you change it make sure the\n // values match.\n ptPerEm: [10.0, 10.0, 10.0],\n // The space between adjacent `|` columns in an array definition. From\n // `\\showthe\\doublerulesep` in LaTeX. Equals 2.0 / ptPerEm.\n doubleRuleSep: [0.2, 0.2, 0.2],\n // The width of separator lines in {array} environments. From\n // `\\showthe\\arrayrulewidth` in LaTeX. Equals 0.4 / ptPerEm.\n arrayRuleWidth: [0.04, 0.04, 0.04],\n // Two values from LaTeX source2e:\n fboxsep: [0.3, 0.3, 0.3],\n // 3 pt / ptPerEm\n fboxrule: [0.04, 0.04, 0.04] // 0.4 pt / ptPerEm\n\n}; // This map contains a mapping from font name and character code to character\n// metrics, including height, depth, italic correction, and skew (kern from the\n// character to the corresponding \\skewchar)\n// This map is generated via `make metrics`. It should not be changed manually.\n\n // These are very rough approximations. We default to Times New Roman which\n// should have Latin-1 and Cyrillic characters, but may not depending on the\n// operating system. The metrics do not account for extra height from the\n// accents. In the case of Cyrillic characters which have both ascenders and\n// descenders we prefer approximations with ascenders, primarily to prevent\n// the fraction bar or root line from intersecting the glyph.\n// TODO(kevinb) allow union of multiple glyph metrics for better accuracy.\n\nconst extraCharacterMap = {\n // Latin-1\n 'Å': 'A',\n 'Ð': 'D',\n 'Þ': 'o',\n 'å': 'a',\n 'ð': 'd',\n 'þ': 'o',\n // Cyrillic\n 'А': 'A',\n 'Б': 'B',\n 'В': 'B',\n 'Г': 'F',\n 'Д': 'A',\n 'Е': 'E',\n 'Ж': 'K',\n 'З': '3',\n 'И': 'N',\n 'Й': 'N',\n 'К': 'K',\n 'Л': 'N',\n 'М': 'M',\n 'Н': 'H',\n 'О': 'O',\n 'П': 'N',\n 'Р': 'P',\n 'С': 'C',\n 'Т': 'T',\n 'У': 'y',\n 'Ф': 'O',\n 'Х': 'X',\n 'Ц': 'U',\n 'Ч': 'h',\n 'Ш': 'W',\n 'Щ': 'W',\n 'Ъ': 'B',\n 'Ы': 'X',\n 'Ь': 'B',\n 'Э': '3',\n 'Ю': 'X',\n 'Я': 'R',\n 'а': 'a',\n 'б': 'b',\n 'в': 'a',\n 'г': 'r',\n 'д': 'y',\n 'е': 'e',\n 'ж': 'm',\n 'з': 'e',\n 'и': 'n',\n 'й': 'n',\n 'к': 'n',\n 'л': 'n',\n 'м': 'm',\n 'н': 'n',\n 'о': 'o',\n 'п': 'n',\n 'р': 'p',\n 'с': 'c',\n 'т': 'o',\n 'у': 'y',\n 'ф': 'b',\n 'х': 'x',\n 'ц': 'n',\n 'ч': 'n',\n 'ш': 'w',\n 'щ': 'w',\n 'ъ': 'a',\n 'ы': 'm',\n 'ь': 'a',\n 'э': 'e',\n 'ю': 'm',\n 'я': 'r'\n};\n\n/**\n * This function adds new font metrics to default metricMap\n * It can also override existing metrics\n */\nfunction setFontMetrics(fontName, metrics) {\n fontMetricsData[fontName] = metrics;\n}\n/**\n * This function is a convenience function for looking up information in the\n * metricMap table. It takes a character as a string, and a font.\n *\n * Note: the `width` property may be undefined if fontMetricsData.js wasn't\n * built using `Make extended_metrics`.\n */\n\nfunction getCharacterMetrics(character, font, mode) {\n if (!fontMetricsData[font]) {\n throw new Error(\"Font metrics not found for font: \" + font + \".\");\n }\n\n let ch = character.charCodeAt(0);\n let metrics = fontMetricsData[font][ch];\n\n if (!metrics && character[0] in extraCharacterMap) {\n ch = extraCharacterMap[character[0]].charCodeAt(0);\n metrics = fontMetricsData[font][ch];\n }\n\n if (!metrics && mode === 'text') {\n // We don't typically have font metrics for Asian scripts.\n // But since we support them in text mode, we need to return\n // some sort of metrics.\n // So if the character is in a script we support but we\n // don't have metrics for it, just use the metrics for\n // the Latin capital letter M. This is close enough because\n // we (currently) only care about the height of the glyph\n // not its width.\n if (supportedCodepoint(ch)) {\n metrics = fontMetricsData[font][77]; // 77 is the charcode for 'M'\n }\n }\n\n if (metrics) {\n return {\n depth: metrics[0],\n height: metrics[1],\n italic: metrics[2],\n skew: metrics[3],\n width: metrics[4]\n };\n }\n}\nconst fontMetricsBySizeIndex = {};\n/**\n * Get the font metrics for a given size.\n */\n\nfunction getGlobalMetrics(size) {\n let sizeIndex;\n\n if (size >= 5) {\n sizeIndex = 0;\n } else if (size >= 3) {\n sizeIndex = 1;\n } else {\n sizeIndex = 2;\n }\n\n if (!fontMetricsBySizeIndex[sizeIndex]) {\n const metrics = fontMetricsBySizeIndex[sizeIndex] = {\n cssEmPerMu: sigmasAndXis.quad[sizeIndex] / 18\n };\n\n for (const key in sigmasAndXis) {\n if (sigmasAndXis.hasOwnProperty(key)) {\n metrics[key] = sigmasAndXis[key][sizeIndex];\n }\n }\n }\n\n return fontMetricsBySizeIndex[sizeIndex];\n}\n;// CONCATENATED MODULE: ./src/Options.js\n/**\n * This file contains information about the options that the Parser carries\n * around with it while parsing. Data is held in an `Options` object, and when\n * recursing, a new `Options` object can be created with the `.with*` and\n * `.reset` functions.\n */\n\nconst sizeStyleMap = [// Each element contains [textsize, scriptsize, scriptscriptsize].\n// The size mappings are taken from TeX with \\normalsize=10pt.\n[1, 1, 1], // size1: [5, 5, 5] \\tiny\n[2, 1, 1], // size2: [6, 5, 5]\n[3, 1, 1], // size3: [7, 5, 5] \\scriptsize\n[4, 2, 1], // size4: [8, 6, 5] \\footnotesize\n[5, 2, 1], // size5: [9, 6, 5] \\small\n[6, 3, 1], // size6: [10, 7, 5] \\normalsize\n[7, 4, 2], // size7: [12, 8, 6] \\large\n[8, 6, 3], // size8: [14.4, 10, 7] \\Large\n[9, 7, 6], // size9: [17.28, 12, 10] \\LARGE\n[10, 8, 7], // size10: [20.74, 14.4, 12] \\huge\n[11, 10, 9] // size11: [24.88, 20.74, 17.28] \\HUGE\n];\nconst sizeMultipliers = [// fontMetrics.js:getGlobalMetrics also uses size indexes, so if\n// you change size indexes, change that function.\n0.5, 0.6, 0.7, 0.8, 0.9, 1.0, 1.2, 1.44, 1.728, 2.074, 2.488];\n\nconst sizeAtStyle = function (size, style) {\n return style.size < 2 ? size : sizeStyleMap[size - 1][style.size - 1];\n}; // In these types, \"\" (empty string) means \"no change\".\n\n\n/**\n * This is the main options class. It contains the current style, size, color,\n * and font.\n *\n * Options objects should not be modified. To create a new Options with\n * different properties, call a `.having*` method.\n */\nclass Options {\n // A font family applies to a group of fonts (i.e. SansSerif), while a font\n // represents a specific font (i.e. SansSerif Bold).\n // See: https://tex.stackexchange.com/questions/22350/difference-between-textrm-and-mathrm\n\n /**\n * The base size index.\n */\n constructor(data) {\n this.style = void 0;\n this.color = void 0;\n this.size = void 0;\n this.textSize = void 0;\n this.phantom = void 0;\n this.font = void 0;\n this.fontFamily = void 0;\n this.fontWeight = void 0;\n this.fontShape = void 0;\n this.sizeMultiplier = void 0;\n this.maxSize = void 0;\n this.minRuleThickness = void 0;\n this._fontMetrics = void 0;\n this.style = data.style;\n this.color = data.color;\n this.size = data.size || Options.BASESIZE;\n this.textSize = data.textSize || this.size;\n this.phantom = !!data.phantom;\n this.font = data.font || \"\";\n this.fontFamily = data.fontFamily || \"\";\n this.fontWeight = data.fontWeight || '';\n this.fontShape = data.fontShape || '';\n this.sizeMultiplier = sizeMultipliers[this.size - 1];\n this.maxSize = data.maxSize;\n this.minRuleThickness = data.minRuleThickness;\n this._fontMetrics = undefined;\n }\n /**\n * Returns a new options object with the same properties as \"this\". Properties\n * from \"extension\" will be copied to the new options object.\n */\n\n\n extend(extension) {\n const data = {\n style: this.style,\n size: this.size,\n textSize: this.textSize,\n color: this.color,\n phantom: this.phantom,\n font: this.font,\n fontFamily: this.fontFamily,\n fontWeight: this.fontWeight,\n fontShape: this.fontShape,\n maxSize: this.maxSize,\n minRuleThickness: this.minRuleThickness\n };\n\n for (const key in extension) {\n if (extension.hasOwnProperty(key)) {\n data[key] = extension[key];\n }\n }\n\n return new Options(data);\n }\n /**\n * Return an options object with the given style. If `this.style === style`,\n * returns `this`.\n */\n\n\n havingStyle(style) {\n if (this.style === style) {\n return this;\n } else {\n return this.extend({\n style: style,\n size: sizeAtStyle(this.textSize, style)\n });\n }\n }\n /**\n * Return an options object with a cramped version of the current style. If\n * the current style is cramped, returns `this`.\n */\n\n\n havingCrampedStyle() {\n return this.havingStyle(this.style.cramp());\n }\n /**\n * Return an options object with the given size and in at least `\\textstyle`.\n * Returns `this` if appropriate.\n */\n\n\n havingSize(size) {\n if (this.size === size && this.textSize === size) {\n return this;\n } else {\n return this.extend({\n style: this.style.text(),\n size: size,\n textSize: size,\n sizeMultiplier: sizeMultipliers[size - 1]\n });\n }\n }\n /**\n * Like `this.havingSize(BASESIZE).havingStyle(style)`. If `style` is omitted,\n * changes to at least `\\textstyle`.\n */\n\n\n havingBaseStyle(style) {\n style = style || this.style.text();\n const wantSize = sizeAtStyle(Options.BASESIZE, style);\n\n if (this.size === wantSize && this.textSize === Options.BASESIZE && this.style === style) {\n return this;\n } else {\n return this.extend({\n style: style,\n size: wantSize\n });\n }\n }\n /**\n * Remove the effect of sizing changes such as \\Huge.\n * Keep the effect of the current style, such as \\scriptstyle.\n */\n\n\n havingBaseSizing() {\n let size;\n\n switch (this.style.id) {\n case 4:\n case 5:\n size = 3; // normalsize in scriptstyle\n\n break;\n\n case 6:\n case 7:\n size = 1; // normalsize in scriptscriptstyle\n\n break;\n\n default:\n size = 6;\n // normalsize in textstyle or displaystyle\n }\n\n return this.extend({\n style: this.style.text(),\n size: size\n });\n }\n /**\n * Create a new options object with the given color.\n */\n\n\n withColor(color) {\n return this.extend({\n color: color\n });\n }\n /**\n * Create a new options object with \"phantom\" set to true.\n */\n\n\n withPhantom() {\n return this.extend({\n phantom: true\n });\n }\n /**\n * Creates a new options object with the given math font or old text font.\n * @type {[type]}\n */\n\n\n withFont(font) {\n return this.extend({\n font\n });\n }\n /**\n * Create a new options objects with the given fontFamily.\n */\n\n\n withTextFontFamily(fontFamily) {\n return this.extend({\n fontFamily,\n font: \"\"\n });\n }\n /**\n * Creates a new options object with the given font weight\n */\n\n\n withTextFontWeight(fontWeight) {\n return this.extend({\n fontWeight,\n font: \"\"\n });\n }\n /**\n * Creates a new options object with the given font weight\n */\n\n\n withTextFontShape(fontShape) {\n return this.extend({\n fontShape,\n font: \"\"\n });\n }\n /**\n * Return the CSS sizing classes required to switch from enclosing options\n * `oldOptions` to `this`. Returns an array of classes.\n */\n\n\n sizingClasses(oldOptions) {\n if (oldOptions.size !== this.size) {\n return [\"sizing\", \"reset-size\" + oldOptions.size, \"size\" + this.size];\n } else {\n return [];\n }\n }\n /**\n * Return the CSS sizing classes required to switch to the base size. Like\n * `this.havingSize(BASESIZE).sizingClasses(this)`.\n */\n\n\n baseSizingClasses() {\n if (this.size !== Options.BASESIZE) {\n return [\"sizing\", \"reset-size\" + this.size, \"size\" + Options.BASESIZE];\n } else {\n return [];\n }\n }\n /**\n * Return the font metrics for this size.\n */\n\n\n fontMetrics() {\n if (!this._fontMetrics) {\n this._fontMetrics = getGlobalMetrics(this.size);\n }\n\n return this._fontMetrics;\n }\n /**\n * Gets the CSS color of the current options object\n */\n\n\n getColor() {\n if (this.phantom) {\n return \"transparent\";\n } else {\n return this.color;\n }\n }\n\n}\n\nOptions.BASESIZE = 6;\n/* harmony default export */ var src_Options = (Options);\n;// CONCATENATED MODULE: ./src/units.js\n/**\n * This file does conversion between units. In particular, it provides\n * calculateSize to convert other units into ems.\n */\n\n // This table gives the number of TeX pts in one of each *absolute* TeX unit.\n// Thus, multiplying a length by this number converts the length from units\n// into pts. Dividing the result by ptPerEm gives the number of ems\n// *assuming* a font size of ptPerEm (normal size, normal style).\n\nconst ptPerUnit = {\n // https://en.wikibooks.org/wiki/LaTeX/Lengths and\n // https://tex.stackexchange.com/a/8263\n \"pt\": 1,\n // TeX point\n \"mm\": 7227 / 2540,\n // millimeter\n \"cm\": 7227 / 254,\n // centimeter\n \"in\": 72.27,\n // inch\n \"bp\": 803 / 800,\n // big (PostScript) points\n \"pc\": 12,\n // pica\n \"dd\": 1238 / 1157,\n // didot\n \"cc\": 14856 / 1157,\n // cicero (12 didot)\n \"nd\": 685 / 642,\n // new didot\n \"nc\": 1370 / 107,\n // new cicero (12 new didot)\n \"sp\": 1 / 65536,\n // scaled point (TeX's internal smallest unit)\n // https://tex.stackexchange.com/a/41371\n \"px\": 803 / 800 // \\pdfpxdimen defaults to 1 bp in pdfTeX and LuaTeX\n\n}; // Dictionary of relative units, for fast validity testing.\n\nconst relativeUnit = {\n \"ex\": true,\n \"em\": true,\n \"mu\": true\n};\n\n/**\n * Determine whether the specified unit (either a string defining the unit\n * or a \"size\" parse node containing a unit field) is valid.\n */\nconst validUnit = function (unit) {\n if (typeof unit !== \"string\") {\n unit = unit.unit;\n }\n\n return unit in ptPerUnit || unit in relativeUnit || unit === \"ex\";\n};\n/*\n * Convert a \"size\" parse node (with numeric \"number\" and string \"unit\" fields,\n * as parsed by functions.js argType \"size\") into a CSS em value for the\n * current style/scale. `options` gives the current options.\n */\n\nconst calculateSize = function (sizeValue, options) {\n let scale;\n\n if (sizeValue.unit in ptPerUnit) {\n // Absolute units\n scale = ptPerUnit[sizeValue.unit] // Convert unit to pt\n / options.fontMetrics().ptPerEm // Convert pt to CSS em\n / options.sizeMultiplier; // Unscale to make absolute units\n } else if (sizeValue.unit === \"mu\") {\n // `mu` units scale with scriptstyle/scriptscriptstyle.\n scale = options.fontMetrics().cssEmPerMu;\n } else {\n // Other relative units always refer to the *textstyle* font\n // in the current size.\n let unitOptions;\n\n if (options.style.isTight()) {\n // isTight() means current style is script/scriptscript.\n unitOptions = options.havingStyle(options.style.text());\n } else {\n unitOptions = options;\n } // TODO: In TeX these units are relative to the quad of the current\n // *text* font, e.g. cmr10. KaTeX instead uses values from the\n // comparably-sized *Computer Modern symbol* font. At 10pt, these\n // match. At 7pt and 5pt, they differ: cmr7=1.138894, cmsy7=1.170641;\n // cmr5=1.361133, cmsy5=1.472241. Consider $\\scriptsize a\\kern1emb$.\n // TeX \\showlists shows a kern of 1.13889 * fontsize;\n // KaTeX shows a kern of 1.171 * fontsize.\n\n\n if (sizeValue.unit === \"ex\") {\n scale = unitOptions.fontMetrics().xHeight;\n } else if (sizeValue.unit === \"em\") {\n scale = unitOptions.fontMetrics().quad;\n } else {\n throw new src_ParseError(\"Invalid unit: '\" + sizeValue.unit + \"'\");\n }\n\n if (unitOptions !== options) {\n scale *= unitOptions.sizeMultiplier / options.sizeMultiplier;\n }\n }\n\n return Math.min(sizeValue.number * scale, options.maxSize);\n};\n/**\n * Round `n` to 4 decimal places, or to the nearest 1/10,000th em. See\n * https://github.com/KaTeX/KaTeX/pull/2460.\n */\n\nconst makeEm = function (n) {\n return +n.toFixed(4) + \"em\";\n};\n;// CONCATENATED MODULE: ./src/domTree.js\n/**\n * These objects store the data about the DOM nodes we create, as well as some\n * extra data. They can then be transformed into real DOM nodes with the\n * `toNode` function or HTML markup using `toMarkup`. They are useful for both\n * storing extra properties on the nodes, as well as providing a way to easily\n * work with the DOM.\n *\n * Similar functions for working with MathML nodes exist in mathMLTree.js.\n *\n * TODO: refactor `span` and `anchor` into common superclass when\n * target environments support class inheritance\n */\n\n\n\n\n\n\n/**\n * Create an HTML className based on a list of classes. In addition to joining\n * with spaces, we also remove empty classes.\n */\nconst createClass = function (classes) {\n return classes.filter(cls => cls).join(\" \");\n};\n\nconst initNode = function (classes, options, style) {\n this.classes = classes || [];\n this.attributes = {};\n this.height = 0;\n this.depth = 0;\n this.maxFontSize = 0;\n this.style = style || {};\n\n if (options) {\n if (options.style.isTight()) {\n this.classes.push(\"mtight\");\n }\n\n const color = options.getColor();\n\n if (color) {\n this.style.color = color;\n }\n }\n};\n/**\n * Convert into an HTML node\n */\n\n\nconst toNode = function (tagName) {\n const node = document.createElement(tagName); // Apply the class\n\n node.className = createClass(this.classes); // Apply inline styles\n\n for (const style in this.style) {\n if (this.style.hasOwnProperty(style)) {\n // $FlowFixMe Flow doesn't seem to understand span.style's type.\n node.style[style] = this.style[style];\n }\n } // Apply attributes\n\n\n for (const attr in this.attributes) {\n if (this.attributes.hasOwnProperty(attr)) {\n node.setAttribute(attr, this.attributes[attr]);\n }\n } // Append the children, also as HTML nodes\n\n\n for (let i = 0; i < this.children.length; i++) {\n node.appendChild(this.children[i].toNode());\n }\n\n return node;\n};\n/**\n * Convert into an HTML markup string\n */\n\n\nconst toMarkup = function (tagName) {\n let markup = \"<\" + tagName; // Add the class\n\n if (this.classes.length) {\n markup += \" class=\\\"\" + utils.escape(createClass(this.classes)) + \"\\\"\";\n }\n\n let styles = \"\"; // Add the styles, after hyphenation\n\n for (const style in this.style) {\n if (this.style.hasOwnProperty(style)) {\n styles += utils.hyphenate(style) + \":\" + this.style[style] + \";\";\n }\n }\n\n if (styles) {\n markup += \" style=\\\"\" + utils.escape(styles) + \"\\\"\";\n } // Add the attributes\n\n\n for (const attr in this.attributes) {\n if (this.attributes.hasOwnProperty(attr)) {\n markup += \" \" + attr + \"=\\\"\" + utils.escape(this.attributes[attr]) + \"\\\"\";\n }\n }\n\n markup += \">\"; // Add the markup of the children, also as markup\n\n for (let i = 0; i < this.children.length; i++) {\n markup += this.children[i].toMarkup();\n }\n\n markup += \"\" + tagName + \">\";\n return markup;\n}; // Making the type below exact with all optional fields doesn't work due to\n// - https://github.com/facebook/flow/issues/4582\n// - https://github.com/facebook/flow/issues/5688\n// However, since *all* fields are optional, $Shape<> works as suggested in 5688\n// above.\n// This type does not include all CSS properties. Additional properties should\n// be added as needed.\n\n\n/**\n * This node represents a span node, with a className, a list of children, and\n * an inline style. It also contains information about its height, depth, and\n * maxFontSize.\n *\n * Represents two types with different uses: SvgSpan to wrap an SVG and DomSpan\n * otherwise. This typesafety is important when HTML builders access a span's\n * children.\n */\nclass Span {\n constructor(classes, children, options, style) {\n this.children = void 0;\n this.attributes = void 0;\n this.classes = void 0;\n this.height = void 0;\n this.depth = void 0;\n this.width = void 0;\n this.maxFontSize = void 0;\n this.style = void 0;\n initNode.call(this, classes, options, style);\n this.children = children || [];\n }\n /**\n * Sets an arbitrary attribute on the span. Warning: use this wisely. Not\n * all browsers support attributes the same, and having too many custom\n * attributes is probably bad.\n */\n\n\n setAttribute(attribute, value) {\n this.attributes[attribute] = value;\n }\n\n hasClass(className) {\n return utils.contains(this.classes, className);\n }\n\n toNode() {\n return toNode.call(this, \"span\");\n }\n\n toMarkup() {\n return toMarkup.call(this, \"span\");\n }\n\n}\n/**\n * This node represents an anchor () element with a hyperlink. See `span`\n * for further details.\n */\n\nclass Anchor {\n constructor(href, classes, children, options) {\n this.children = void 0;\n this.attributes = void 0;\n this.classes = void 0;\n this.height = void 0;\n this.depth = void 0;\n this.maxFontSize = void 0;\n this.style = void 0;\n initNode.call(this, classes, options);\n this.children = children || [];\n this.setAttribute('href', href);\n }\n\n setAttribute(attribute, value) {\n this.attributes[attribute] = value;\n }\n\n hasClass(className) {\n return utils.contains(this.classes, className);\n }\n\n toNode() {\n return toNode.call(this, \"a\");\n }\n\n toMarkup() {\n return toMarkup.call(this, \"a\");\n }\n\n}\n/**\n * This node represents an image embed ( ) element.\n */\n\nclass Img {\n constructor(src, alt, style) {\n this.src = void 0;\n this.alt = void 0;\n this.classes = void 0;\n this.height = void 0;\n this.depth = void 0;\n this.maxFontSize = void 0;\n this.style = void 0;\n this.alt = alt;\n this.src = src;\n this.classes = [\"mord\"];\n this.style = style;\n }\n\n hasClass(className) {\n return utils.contains(this.classes, className);\n }\n\n toNode() {\n const node = document.createElement(\"img\");\n node.src = this.src;\n node.alt = this.alt;\n node.className = \"mord\"; // Apply inline styles\n\n for (const style in this.style) {\n if (this.style.hasOwnProperty(style)) {\n // $FlowFixMe\n node.style[style] = this.style[style];\n }\n }\n\n return node;\n }\n\n toMarkup() {\n let markup = \" \";\n return markup;\n }\n\n}\nconst iCombinations = {\n 'î': '\\u0131\\u0302',\n 'ï': '\\u0131\\u0308',\n 'í': '\\u0131\\u0301',\n // 'ī': '\\u0131\\u0304', // enable when we add Extended Latin\n 'ì': '\\u0131\\u0300'\n};\n/**\n * A symbol node contains information about a single symbol. It either renders\n * to a single text node, or a span with a single text node in it, depending on\n * whether it has CSS classes, styles, or needs italic correction.\n */\n\nclass SymbolNode {\n constructor(text, height, depth, italic, skew, width, classes, style) {\n this.text = void 0;\n this.height = void 0;\n this.depth = void 0;\n this.italic = void 0;\n this.skew = void 0;\n this.width = void 0;\n this.maxFontSize = void 0;\n this.classes = void 0;\n this.style = void 0;\n this.text = text;\n this.height = height || 0;\n this.depth = depth || 0;\n this.italic = italic || 0;\n this.skew = skew || 0;\n this.width = width || 0;\n this.classes = classes || [];\n this.style = style || {};\n this.maxFontSize = 0; // Mark text from non-Latin scripts with specific classes so that we\n // can specify which fonts to use. This allows us to render these\n // characters with a serif font in situations where the browser would\n // either default to a sans serif or render a placeholder character.\n // We use CSS class names like cjk_fallback, hangul_fallback and\n // brahmic_fallback. See ./unicodeScripts.js for the set of possible\n // script names\n\n const script = scriptFromCodepoint(this.text.charCodeAt(0));\n\n if (script) {\n this.classes.push(script + \"_fallback\");\n }\n\n if (/[îïíì]/.test(this.text)) {\n // add ī when we add Extended Latin\n this.text = iCombinations[this.text];\n }\n }\n\n hasClass(className) {\n return utils.contains(this.classes, className);\n }\n /**\n * Creates a text node or span from a symbol node. Note that a span is only\n * created if it is needed.\n */\n\n\n toNode() {\n const node = document.createTextNode(this.text);\n let span = null;\n\n if (this.italic > 0) {\n span = document.createElement(\"span\");\n span.style.marginRight = makeEm(this.italic);\n }\n\n if (this.classes.length > 0) {\n span = span || document.createElement(\"span\");\n span.className = createClass(this.classes);\n }\n\n for (const style in this.style) {\n if (this.style.hasOwnProperty(style)) {\n span = span || document.createElement(\"span\"); // $FlowFixMe Flow doesn't seem to understand span.style's type.\n\n span.style[style] = this.style[style];\n }\n }\n\n if (span) {\n span.appendChild(node);\n return span;\n } else {\n return node;\n }\n }\n /**\n * Creates markup for a symbol node.\n */\n\n\n toMarkup() {\n // TODO(alpert): More duplication than I'd like from\n // span.prototype.toMarkup and symbolNode.prototype.toNode...\n let needsSpan = false;\n let markup = \" 0) {\n styles += \"margin-right:\" + this.italic + \"em;\";\n }\n\n for (const style in this.style) {\n if (this.style.hasOwnProperty(style)) {\n styles += utils.hyphenate(style) + \":\" + this.style[style] + \";\";\n }\n }\n\n if (styles) {\n needsSpan = true;\n markup += \" style=\\\"\" + utils.escape(styles) + \"\\\"\";\n }\n\n const escaped = utils.escape(this.text);\n\n if (needsSpan) {\n markup += \">\";\n markup += escaped;\n markup += \" \";\n return markup;\n } else {\n return escaped;\n }\n }\n\n}\n/**\n * SVG nodes are used to render stretchy wide elements.\n */\n\nclass SvgNode {\n constructor(children, attributes) {\n this.children = void 0;\n this.attributes = void 0;\n this.children = children || [];\n this.attributes = attributes || {};\n }\n\n toNode() {\n const svgNS = \"http://www.w3.org/2000/svg\";\n const node = document.createElementNS(svgNS, \"svg\"); // Apply attributes\n\n for (const attr in this.attributes) {\n if (Object.prototype.hasOwnProperty.call(this.attributes, attr)) {\n node.setAttribute(attr, this.attributes[attr]);\n }\n }\n\n for (let i = 0; i < this.children.length; i++) {\n node.appendChild(this.children[i].toNode());\n }\n\n return node;\n }\n\n toMarkup() {\n let markup = \"\";\n\n for (let i = 0; i < this.children.length; i++) {\n markup += this.children[i].toMarkup();\n }\n\n markup += \" \";\n return markup;\n }\n\n}\nclass PathNode {\n constructor(pathName, alternate) {\n this.pathName = void 0;\n this.alternate = void 0;\n this.pathName = pathName;\n this.alternate = alternate; // Used only for \\sqrt, \\phase, & tall delims\n }\n\n toNode() {\n const svgNS = \"http://www.w3.org/2000/svg\";\n const node = document.createElementNS(svgNS, \"path\");\n\n if (this.alternate) {\n node.setAttribute(\"d\", this.alternate);\n } else {\n node.setAttribute(\"d\", path[this.pathName]);\n }\n\n return node;\n }\n\n toMarkup() {\n if (this.alternate) {\n return \" \";\n } else {\n return \" \";\n }\n }\n\n}\nclass LineNode {\n constructor(attributes) {\n this.attributes = void 0;\n this.attributes = attributes || {};\n }\n\n toNode() {\n const svgNS = \"http://www.w3.org/2000/svg\";\n const node = document.createElementNS(svgNS, \"line\"); // Apply attributes\n\n for (const attr in this.attributes) {\n if (Object.prototype.hasOwnProperty.call(this.attributes, attr)) {\n node.setAttribute(attr, this.attributes[attr]);\n }\n }\n\n return node;\n }\n\n toMarkup() {\n let markup = \" \";\n return markup;\n }\n\n}\nfunction assertSymbolDomNode(group) {\n if (group instanceof SymbolNode) {\n return group;\n } else {\n throw new Error(\"Expected symbolNode but got \" + String(group) + \".\");\n }\n}\nfunction assertSpan(group) {\n if (group instanceof Span) {\n return group;\n } else {\n throw new Error(\"Expected span but got \" + String(group) + \".\");\n }\n}\n;// CONCATENATED MODULE: ./src/symbols.js\n/**\n * This file holds a list of all no-argument functions and single-character\n * symbols (like 'a' or ';').\n *\n * For each of the symbols, there are three properties they can have:\n * - font (required): the font to be used for this symbol. Either \"main\" (the\n normal font), or \"ams\" (the ams fonts).\n * - group (required): the ParseNode group type the symbol should have (i.e.\n \"textord\", \"mathord\", etc).\n See https://github.com/KaTeX/KaTeX/wiki/Examining-TeX#group-types\n * - replace: the character that this symbol or function should be\n * replaced with (i.e. \"\\phi\" has a replace value of \"\\u03d5\", the phi\n * character in the main font).\n *\n * The outermost map in the table indicates what mode the symbols should be\n * accepted in (e.g. \"math\" or \"text\").\n */\n// Some of these have a \"-token\" suffix since these are also used as `ParseNode`\n// types for raw text tokens, and we want to avoid conflicts with higher-level\n// `ParseNode` types. These `ParseNode`s are constructed within `Parser` by\n// looking up the `symbols` map.\nconst ATOMS = {\n \"bin\": 1,\n \"close\": 1,\n \"inner\": 1,\n \"open\": 1,\n \"punct\": 1,\n \"rel\": 1\n};\nconst NON_ATOMS = {\n \"accent-token\": 1,\n \"mathord\": 1,\n \"op-token\": 1,\n \"spacing\": 1,\n \"textord\": 1\n};\nconst symbols = {\n \"math\": {},\n \"text\": {}\n};\n/* harmony default export */ var src_symbols = (symbols);\n/** `acceptUnicodeChar = true` is only applicable if `replace` is set. */\n\nfunction defineSymbol(mode, font, group, replace, name, acceptUnicodeChar) {\n symbols[mode][name] = {\n font,\n group,\n replace\n };\n\n if (acceptUnicodeChar && replace) {\n symbols[mode][replace] = symbols[mode][name];\n }\n} // Some abbreviations for commonly used strings.\n// This helps minify the code, and also spotting typos using jshint.\n// modes:\n\nconst math = \"math\";\nconst symbols_text = \"text\"; // fonts:\n\nconst main = \"main\";\nconst ams = \"ams\"; // groups:\n\nconst accent = \"accent-token\";\nconst bin = \"bin\";\nconst symbols_close = \"close\";\nconst inner = \"inner\";\nconst mathord = \"mathord\";\nconst op = \"op-token\";\nconst symbols_open = \"open\";\nconst punct = \"punct\";\nconst rel = \"rel\";\nconst spacing = \"spacing\";\nconst textord = \"textord\"; // Now comes the symbol table\n// Relation Symbols\n\ndefineSymbol(math, main, rel, \"\\u2261\", \"\\\\equiv\", true);\ndefineSymbol(math, main, rel, \"\\u227a\", \"\\\\prec\", true);\ndefineSymbol(math, main, rel, \"\\u227b\", \"\\\\succ\", true);\ndefineSymbol(math, main, rel, \"\\u223c\", \"\\\\sim\", true);\ndefineSymbol(math, main, rel, \"\\u22a5\", \"\\\\perp\");\ndefineSymbol(math, main, rel, \"\\u2aaf\", \"\\\\preceq\", true);\ndefineSymbol(math, main, rel, \"\\u2ab0\", \"\\\\succeq\", true);\ndefineSymbol(math, main, rel, \"\\u2243\", \"\\\\simeq\", true);\ndefineSymbol(math, main, rel, \"\\u2223\", \"\\\\mid\", true);\ndefineSymbol(math, main, rel, \"\\u226a\", \"\\\\ll\", true);\ndefineSymbol(math, main, rel, \"\\u226b\", \"\\\\gg\", true);\ndefineSymbol(math, main, rel, \"\\u224d\", \"\\\\asymp\", true);\ndefineSymbol(math, main, rel, \"\\u2225\", \"\\\\parallel\");\ndefineSymbol(math, main, rel, \"\\u22c8\", \"\\\\bowtie\", true);\ndefineSymbol(math, main, rel, \"\\u2323\", \"\\\\smile\", true);\ndefineSymbol(math, main, rel, \"\\u2291\", \"\\\\sqsubseteq\", true);\ndefineSymbol(math, main, rel, \"\\u2292\", \"\\\\sqsupseteq\", true);\ndefineSymbol(math, main, rel, \"\\u2250\", \"\\\\doteq\", true);\ndefineSymbol(math, main, rel, \"\\u2322\", \"\\\\frown\", true);\ndefineSymbol(math, main, rel, \"\\u220b\", \"\\\\ni\", true);\ndefineSymbol(math, main, rel, \"\\u221d\", \"\\\\propto\", true);\ndefineSymbol(math, main, rel, \"\\u22a2\", \"\\\\vdash\", true);\ndefineSymbol(math, main, rel, \"\\u22a3\", \"\\\\dashv\", true);\ndefineSymbol(math, main, rel, \"\\u220b\", \"\\\\owns\"); // Punctuation\n\ndefineSymbol(math, main, punct, \"\\u002e\", \"\\\\ldotp\");\ndefineSymbol(math, main, punct, \"\\u22c5\", \"\\\\cdotp\"); // Misc Symbols\n\ndefineSymbol(math, main, textord, \"\\u0023\", \"\\\\#\");\ndefineSymbol(symbols_text, main, textord, \"\\u0023\", \"\\\\#\");\ndefineSymbol(math, main, textord, \"\\u0026\", \"\\\\&\");\ndefineSymbol(symbols_text, main, textord, \"\\u0026\", \"\\\\&\");\ndefineSymbol(math, main, textord, \"\\u2135\", \"\\\\aleph\", true);\ndefineSymbol(math, main, textord, \"\\u2200\", \"\\\\forall\", true);\ndefineSymbol(math, main, textord, \"\\u210f\", \"\\\\hbar\", true);\ndefineSymbol(math, main, textord, \"\\u2203\", \"\\\\exists\", true);\ndefineSymbol(math, main, textord, \"\\u2207\", \"\\\\nabla\", true);\ndefineSymbol(math, main, textord, \"\\u266d\", \"\\\\flat\", true);\ndefineSymbol(math, main, textord, \"\\u2113\", \"\\\\ell\", true);\ndefineSymbol(math, main, textord, \"\\u266e\", \"\\\\natural\", true);\ndefineSymbol(math, main, textord, \"\\u2663\", \"\\\\clubsuit\", true);\ndefineSymbol(math, main, textord, \"\\u2118\", \"\\\\wp\", true);\ndefineSymbol(math, main, textord, \"\\u266f\", \"\\\\sharp\", true);\ndefineSymbol(math, main, textord, \"\\u2662\", \"\\\\diamondsuit\", true);\ndefineSymbol(math, main, textord, \"\\u211c\", \"\\\\Re\", true);\ndefineSymbol(math, main, textord, \"\\u2661\", \"\\\\heartsuit\", true);\ndefineSymbol(math, main, textord, \"\\u2111\", \"\\\\Im\", true);\ndefineSymbol(math, main, textord, \"\\u2660\", \"\\\\spadesuit\", true);\ndefineSymbol(math, main, textord, \"\\u00a7\", \"\\\\S\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u00a7\", \"\\\\S\");\ndefineSymbol(math, main, textord, \"\\u00b6\", \"\\\\P\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u00b6\", \"\\\\P\"); // Math and Text\n\ndefineSymbol(math, main, textord, \"\\u2020\", \"\\\\dag\");\ndefineSymbol(symbols_text, main, textord, \"\\u2020\", \"\\\\dag\");\ndefineSymbol(symbols_text, main, textord, \"\\u2020\", \"\\\\textdagger\");\ndefineSymbol(math, main, textord, \"\\u2021\", \"\\\\ddag\");\ndefineSymbol(symbols_text, main, textord, \"\\u2021\", \"\\\\ddag\");\ndefineSymbol(symbols_text, main, textord, \"\\u2021\", \"\\\\textdaggerdbl\"); // Large Delimiters\n\ndefineSymbol(math, main, symbols_close, \"\\u23b1\", \"\\\\rmoustache\", true);\ndefineSymbol(math, main, symbols_open, \"\\u23b0\", \"\\\\lmoustache\", true);\ndefineSymbol(math, main, symbols_close, \"\\u27ef\", \"\\\\rgroup\", true);\ndefineSymbol(math, main, symbols_open, \"\\u27ee\", \"\\\\lgroup\", true); // Binary Operators\n\ndefineSymbol(math, main, bin, \"\\u2213\", \"\\\\mp\", true);\ndefineSymbol(math, main, bin, \"\\u2296\", \"\\\\ominus\", true);\ndefineSymbol(math, main, bin, \"\\u228e\", \"\\\\uplus\", true);\ndefineSymbol(math, main, bin, \"\\u2293\", \"\\\\sqcap\", true);\ndefineSymbol(math, main, bin, \"\\u2217\", \"\\\\ast\");\ndefineSymbol(math, main, bin, \"\\u2294\", \"\\\\sqcup\", true);\ndefineSymbol(math, main, bin, \"\\u25ef\", \"\\\\bigcirc\", true);\ndefineSymbol(math, main, bin, \"\\u2219\", \"\\\\bullet\", true);\ndefineSymbol(math, main, bin, \"\\u2021\", \"\\\\ddagger\");\ndefineSymbol(math, main, bin, \"\\u2240\", \"\\\\wr\", true);\ndefineSymbol(math, main, bin, \"\\u2a3f\", \"\\\\amalg\");\ndefineSymbol(math, main, bin, \"\\u0026\", \"\\\\And\"); // from amsmath\n// Arrow Symbols\n\ndefineSymbol(math, main, rel, \"\\u27f5\", \"\\\\longleftarrow\", true);\ndefineSymbol(math, main, rel, \"\\u21d0\", \"\\\\Leftarrow\", true);\ndefineSymbol(math, main, rel, \"\\u27f8\", \"\\\\Longleftarrow\", true);\ndefineSymbol(math, main, rel, \"\\u27f6\", \"\\\\longrightarrow\", true);\ndefineSymbol(math, main, rel, \"\\u21d2\", \"\\\\Rightarrow\", true);\ndefineSymbol(math, main, rel, \"\\u27f9\", \"\\\\Longrightarrow\", true);\ndefineSymbol(math, main, rel, \"\\u2194\", \"\\\\leftrightarrow\", true);\ndefineSymbol(math, main, rel, \"\\u27f7\", \"\\\\longleftrightarrow\", true);\ndefineSymbol(math, main, rel, \"\\u21d4\", \"\\\\Leftrightarrow\", true);\ndefineSymbol(math, main, rel, \"\\u27fa\", \"\\\\Longleftrightarrow\", true);\ndefineSymbol(math, main, rel, \"\\u21a6\", \"\\\\mapsto\", true);\ndefineSymbol(math, main, rel, \"\\u27fc\", \"\\\\longmapsto\", true);\ndefineSymbol(math, main, rel, \"\\u2197\", \"\\\\nearrow\", true);\ndefineSymbol(math, main, rel, \"\\u21a9\", \"\\\\hookleftarrow\", true);\ndefineSymbol(math, main, rel, \"\\u21aa\", \"\\\\hookrightarrow\", true);\ndefineSymbol(math, main, rel, \"\\u2198\", \"\\\\searrow\", true);\ndefineSymbol(math, main, rel, \"\\u21bc\", \"\\\\leftharpoonup\", true);\ndefineSymbol(math, main, rel, \"\\u21c0\", \"\\\\rightharpoonup\", true);\ndefineSymbol(math, main, rel, \"\\u2199\", \"\\\\swarrow\", true);\ndefineSymbol(math, main, rel, \"\\u21bd\", \"\\\\leftharpoondown\", true);\ndefineSymbol(math, main, rel, \"\\u21c1\", \"\\\\rightharpoondown\", true);\ndefineSymbol(math, main, rel, \"\\u2196\", \"\\\\nwarrow\", true);\ndefineSymbol(math, main, rel, \"\\u21cc\", \"\\\\rightleftharpoons\", true); // AMS Negated Binary Relations\n\ndefineSymbol(math, ams, rel, \"\\u226e\", \"\\\\nless\", true); // Symbol names preceded by \"@\" each have a corresponding macro.\n\ndefineSymbol(math, ams, rel, \"\\ue010\", \"\\\\@nleqslant\");\ndefineSymbol(math, ams, rel, \"\\ue011\", \"\\\\@nleqq\");\ndefineSymbol(math, ams, rel, \"\\u2a87\", \"\\\\lneq\", true);\ndefineSymbol(math, ams, rel, \"\\u2268\", \"\\\\lneqq\", true);\ndefineSymbol(math, ams, rel, \"\\ue00c\", \"\\\\@lvertneqq\");\ndefineSymbol(math, ams, rel, \"\\u22e6\", \"\\\\lnsim\", true);\ndefineSymbol(math, ams, rel, \"\\u2a89\", \"\\\\lnapprox\", true);\ndefineSymbol(math, ams, rel, \"\\u2280\", \"\\\\nprec\", true); // unicode-math maps \\u22e0 to \\npreccurlyeq. We'll use the AMS synonym.\n\ndefineSymbol(math, ams, rel, \"\\u22e0\", \"\\\\npreceq\", true);\ndefineSymbol(math, ams, rel, \"\\u22e8\", \"\\\\precnsim\", true);\ndefineSymbol(math, ams, rel, \"\\u2ab9\", \"\\\\precnapprox\", true);\ndefineSymbol(math, ams, rel, \"\\u2241\", \"\\\\nsim\", true);\ndefineSymbol(math, ams, rel, \"\\ue006\", \"\\\\@nshortmid\");\ndefineSymbol(math, ams, rel, \"\\u2224\", \"\\\\nmid\", true);\ndefineSymbol(math, ams, rel, \"\\u22ac\", \"\\\\nvdash\", true);\ndefineSymbol(math, ams, rel, \"\\u22ad\", \"\\\\nvDash\", true);\ndefineSymbol(math, ams, rel, \"\\u22ea\", \"\\\\ntriangleleft\");\ndefineSymbol(math, ams, rel, \"\\u22ec\", \"\\\\ntrianglelefteq\", true);\ndefineSymbol(math, ams, rel, \"\\u228a\", \"\\\\subsetneq\", true);\ndefineSymbol(math, ams, rel, \"\\ue01a\", \"\\\\@varsubsetneq\");\ndefineSymbol(math, ams, rel, \"\\u2acb\", \"\\\\subsetneqq\", true);\ndefineSymbol(math, ams, rel, \"\\ue017\", \"\\\\@varsubsetneqq\");\ndefineSymbol(math, ams, rel, \"\\u226f\", \"\\\\ngtr\", true);\ndefineSymbol(math, ams, rel, \"\\ue00f\", \"\\\\@ngeqslant\");\ndefineSymbol(math, ams, rel, \"\\ue00e\", \"\\\\@ngeqq\");\ndefineSymbol(math, ams, rel, \"\\u2a88\", \"\\\\gneq\", true);\ndefineSymbol(math, ams, rel, \"\\u2269\", \"\\\\gneqq\", true);\ndefineSymbol(math, ams, rel, \"\\ue00d\", \"\\\\@gvertneqq\");\ndefineSymbol(math, ams, rel, \"\\u22e7\", \"\\\\gnsim\", true);\ndefineSymbol(math, ams, rel, \"\\u2a8a\", \"\\\\gnapprox\", true);\ndefineSymbol(math, ams, rel, \"\\u2281\", \"\\\\nsucc\", true); // unicode-math maps \\u22e1 to \\nsucccurlyeq. We'll use the AMS synonym.\n\ndefineSymbol(math, ams, rel, \"\\u22e1\", \"\\\\nsucceq\", true);\ndefineSymbol(math, ams, rel, \"\\u22e9\", \"\\\\succnsim\", true);\ndefineSymbol(math, ams, rel, \"\\u2aba\", \"\\\\succnapprox\", true); // unicode-math maps \\u2246 to \\simneqq. We'll use the AMS synonym.\n\ndefineSymbol(math, ams, rel, \"\\u2246\", \"\\\\ncong\", true);\ndefineSymbol(math, ams, rel, \"\\ue007\", \"\\\\@nshortparallel\");\ndefineSymbol(math, ams, rel, \"\\u2226\", \"\\\\nparallel\", true);\ndefineSymbol(math, ams, rel, \"\\u22af\", \"\\\\nVDash\", true);\ndefineSymbol(math, ams, rel, \"\\u22eb\", \"\\\\ntriangleright\");\ndefineSymbol(math, ams, rel, \"\\u22ed\", \"\\\\ntrianglerighteq\", true);\ndefineSymbol(math, ams, rel, \"\\ue018\", \"\\\\@nsupseteqq\");\ndefineSymbol(math, ams, rel, \"\\u228b\", \"\\\\supsetneq\", true);\ndefineSymbol(math, ams, rel, \"\\ue01b\", \"\\\\@varsupsetneq\");\ndefineSymbol(math, ams, rel, \"\\u2acc\", \"\\\\supsetneqq\", true);\ndefineSymbol(math, ams, rel, \"\\ue019\", \"\\\\@varsupsetneqq\");\ndefineSymbol(math, ams, rel, \"\\u22ae\", \"\\\\nVdash\", true);\ndefineSymbol(math, ams, rel, \"\\u2ab5\", \"\\\\precneqq\", true);\ndefineSymbol(math, ams, rel, \"\\u2ab6\", \"\\\\succneqq\", true);\ndefineSymbol(math, ams, rel, \"\\ue016\", \"\\\\@nsubseteqq\");\ndefineSymbol(math, ams, bin, \"\\u22b4\", \"\\\\unlhd\");\ndefineSymbol(math, ams, bin, \"\\u22b5\", \"\\\\unrhd\"); // AMS Negated Arrows\n\ndefineSymbol(math, ams, rel, \"\\u219a\", \"\\\\nleftarrow\", true);\ndefineSymbol(math, ams, rel, \"\\u219b\", \"\\\\nrightarrow\", true);\ndefineSymbol(math, ams, rel, \"\\u21cd\", \"\\\\nLeftarrow\", true);\ndefineSymbol(math, ams, rel, \"\\u21cf\", \"\\\\nRightarrow\", true);\ndefineSymbol(math, ams, rel, \"\\u21ae\", \"\\\\nleftrightarrow\", true);\ndefineSymbol(math, ams, rel, \"\\u21ce\", \"\\\\nLeftrightarrow\", true); // AMS Misc\n\ndefineSymbol(math, ams, rel, \"\\u25b3\", \"\\\\vartriangle\");\ndefineSymbol(math, ams, textord, \"\\u210f\", \"\\\\hslash\");\ndefineSymbol(math, ams, textord, \"\\u25bd\", \"\\\\triangledown\");\ndefineSymbol(math, ams, textord, \"\\u25ca\", \"\\\\lozenge\");\ndefineSymbol(math, ams, textord, \"\\u24c8\", \"\\\\circledS\");\ndefineSymbol(math, ams, textord, \"\\u00ae\", \"\\\\circledR\");\ndefineSymbol(symbols_text, ams, textord, \"\\u00ae\", \"\\\\circledR\");\ndefineSymbol(math, ams, textord, \"\\u2221\", \"\\\\measuredangle\", true);\ndefineSymbol(math, ams, textord, \"\\u2204\", \"\\\\nexists\");\ndefineSymbol(math, ams, textord, \"\\u2127\", \"\\\\mho\");\ndefineSymbol(math, ams, textord, \"\\u2132\", \"\\\\Finv\", true);\ndefineSymbol(math, ams, textord, \"\\u2141\", \"\\\\Game\", true);\ndefineSymbol(math, ams, textord, \"\\u2035\", \"\\\\backprime\");\ndefineSymbol(math, ams, textord, \"\\u25b2\", \"\\\\blacktriangle\");\ndefineSymbol(math, ams, textord, \"\\u25bc\", \"\\\\blacktriangledown\");\ndefineSymbol(math, ams, textord, \"\\u25a0\", \"\\\\blacksquare\");\ndefineSymbol(math, ams, textord, \"\\u29eb\", \"\\\\blacklozenge\");\ndefineSymbol(math, ams, textord, \"\\u2605\", \"\\\\bigstar\");\ndefineSymbol(math, ams, textord, \"\\u2222\", \"\\\\sphericalangle\", true);\ndefineSymbol(math, ams, textord, \"\\u2201\", \"\\\\complement\", true); // unicode-math maps U+F0 to \\matheth. We map to AMS function \\eth\n\ndefineSymbol(math, ams, textord, \"\\u00f0\", \"\\\\eth\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u00f0\", \"\\u00f0\");\ndefineSymbol(math, ams, textord, \"\\u2571\", \"\\\\diagup\");\ndefineSymbol(math, ams, textord, \"\\u2572\", \"\\\\diagdown\");\ndefineSymbol(math, ams, textord, \"\\u25a1\", \"\\\\square\");\ndefineSymbol(math, ams, textord, \"\\u25a1\", \"\\\\Box\");\ndefineSymbol(math, ams, textord, \"\\u25ca\", \"\\\\Diamond\"); // unicode-math maps U+A5 to \\mathyen. We map to AMS function \\yen\n\ndefineSymbol(math, ams, textord, \"\\u00a5\", \"\\\\yen\", true);\ndefineSymbol(symbols_text, ams, textord, \"\\u00a5\", \"\\\\yen\", true);\ndefineSymbol(math, ams, textord, \"\\u2713\", \"\\\\checkmark\", true);\ndefineSymbol(symbols_text, ams, textord, \"\\u2713\", \"\\\\checkmark\"); // AMS Hebrew\n\ndefineSymbol(math, ams, textord, \"\\u2136\", \"\\\\beth\", true);\ndefineSymbol(math, ams, textord, \"\\u2138\", \"\\\\daleth\", true);\ndefineSymbol(math, ams, textord, \"\\u2137\", \"\\\\gimel\", true); // AMS Greek\n\ndefineSymbol(math, ams, textord, \"\\u03dd\", \"\\\\digamma\", true);\ndefineSymbol(math, ams, textord, \"\\u03f0\", \"\\\\varkappa\"); // AMS Delimiters\n\ndefineSymbol(math, ams, symbols_open, \"\\u250c\", \"\\\\@ulcorner\", true);\ndefineSymbol(math, ams, symbols_close, \"\\u2510\", \"\\\\@urcorner\", true);\ndefineSymbol(math, ams, symbols_open, \"\\u2514\", \"\\\\@llcorner\", true);\ndefineSymbol(math, ams, symbols_close, \"\\u2518\", \"\\\\@lrcorner\", true); // AMS Binary Relations\n\ndefineSymbol(math, ams, rel, \"\\u2266\", \"\\\\leqq\", true);\ndefineSymbol(math, ams, rel, \"\\u2a7d\", \"\\\\leqslant\", true);\ndefineSymbol(math, ams, rel, \"\\u2a95\", \"\\\\eqslantless\", true);\ndefineSymbol(math, ams, rel, \"\\u2272\", \"\\\\lesssim\", true);\ndefineSymbol(math, ams, rel, \"\\u2a85\", \"\\\\lessapprox\", true);\ndefineSymbol(math, ams, rel, \"\\u224a\", \"\\\\approxeq\", true);\ndefineSymbol(math, ams, bin, \"\\u22d6\", \"\\\\lessdot\");\ndefineSymbol(math, ams, rel, \"\\u22d8\", \"\\\\lll\", true);\ndefineSymbol(math, ams, rel, \"\\u2276\", \"\\\\lessgtr\", true);\ndefineSymbol(math, ams, rel, \"\\u22da\", \"\\\\lesseqgtr\", true);\ndefineSymbol(math, ams, rel, \"\\u2a8b\", \"\\\\lesseqqgtr\", true);\ndefineSymbol(math, ams, rel, \"\\u2251\", \"\\\\doteqdot\");\ndefineSymbol(math, ams, rel, \"\\u2253\", \"\\\\risingdotseq\", true);\ndefineSymbol(math, ams, rel, \"\\u2252\", \"\\\\fallingdotseq\", true);\ndefineSymbol(math, ams, rel, \"\\u223d\", \"\\\\backsim\", true);\ndefineSymbol(math, ams, rel, \"\\u22cd\", \"\\\\backsimeq\", true);\ndefineSymbol(math, ams, rel, \"\\u2ac5\", \"\\\\subseteqq\", true);\ndefineSymbol(math, ams, rel, \"\\u22d0\", \"\\\\Subset\", true);\ndefineSymbol(math, ams, rel, \"\\u228f\", \"\\\\sqsubset\", true);\ndefineSymbol(math, ams, rel, \"\\u227c\", \"\\\\preccurlyeq\", true);\ndefineSymbol(math, ams, rel, \"\\u22de\", \"\\\\curlyeqprec\", true);\ndefineSymbol(math, ams, rel, \"\\u227e\", \"\\\\precsim\", true);\ndefineSymbol(math, ams, rel, \"\\u2ab7\", \"\\\\precapprox\", true);\ndefineSymbol(math, ams, rel, \"\\u22b2\", \"\\\\vartriangleleft\");\ndefineSymbol(math, ams, rel, \"\\u22b4\", \"\\\\trianglelefteq\");\ndefineSymbol(math, ams, rel, \"\\u22a8\", \"\\\\vDash\", true);\ndefineSymbol(math, ams, rel, \"\\u22aa\", \"\\\\Vvdash\", true);\ndefineSymbol(math, ams, rel, \"\\u2323\", \"\\\\smallsmile\");\ndefineSymbol(math, ams, rel, \"\\u2322\", \"\\\\smallfrown\");\ndefineSymbol(math, ams, rel, \"\\u224f\", \"\\\\bumpeq\", true);\ndefineSymbol(math, ams, rel, \"\\u224e\", \"\\\\Bumpeq\", true);\ndefineSymbol(math, ams, rel, \"\\u2267\", \"\\\\geqq\", true);\ndefineSymbol(math, ams, rel, \"\\u2a7e\", \"\\\\geqslant\", true);\ndefineSymbol(math, ams, rel, \"\\u2a96\", \"\\\\eqslantgtr\", true);\ndefineSymbol(math, ams, rel, \"\\u2273\", \"\\\\gtrsim\", true);\ndefineSymbol(math, ams, rel, \"\\u2a86\", \"\\\\gtrapprox\", true);\ndefineSymbol(math, ams, bin, \"\\u22d7\", \"\\\\gtrdot\");\ndefineSymbol(math, ams, rel, \"\\u22d9\", \"\\\\ggg\", true);\ndefineSymbol(math, ams, rel, \"\\u2277\", \"\\\\gtrless\", true);\ndefineSymbol(math, ams, rel, \"\\u22db\", \"\\\\gtreqless\", true);\ndefineSymbol(math, ams, rel, \"\\u2a8c\", \"\\\\gtreqqless\", true);\ndefineSymbol(math, ams, rel, \"\\u2256\", \"\\\\eqcirc\", true);\ndefineSymbol(math, ams, rel, \"\\u2257\", \"\\\\circeq\", true);\ndefineSymbol(math, ams, rel, \"\\u225c\", \"\\\\triangleq\", true);\ndefineSymbol(math, ams, rel, \"\\u223c\", \"\\\\thicksim\");\ndefineSymbol(math, ams, rel, \"\\u2248\", \"\\\\thickapprox\");\ndefineSymbol(math, ams, rel, \"\\u2ac6\", \"\\\\supseteqq\", true);\ndefineSymbol(math, ams, rel, \"\\u22d1\", \"\\\\Supset\", true);\ndefineSymbol(math, ams, rel, \"\\u2290\", \"\\\\sqsupset\", true);\ndefineSymbol(math, ams, rel, \"\\u227d\", \"\\\\succcurlyeq\", true);\ndefineSymbol(math, ams, rel, \"\\u22df\", \"\\\\curlyeqsucc\", true);\ndefineSymbol(math, ams, rel, \"\\u227f\", \"\\\\succsim\", true);\ndefineSymbol(math, ams, rel, \"\\u2ab8\", \"\\\\succapprox\", true);\ndefineSymbol(math, ams, rel, \"\\u22b3\", \"\\\\vartriangleright\");\ndefineSymbol(math, ams, rel, \"\\u22b5\", \"\\\\trianglerighteq\");\ndefineSymbol(math, ams, rel, \"\\u22a9\", \"\\\\Vdash\", true);\ndefineSymbol(math, ams, rel, \"\\u2223\", \"\\\\shortmid\");\ndefineSymbol(math, ams, rel, \"\\u2225\", \"\\\\shortparallel\");\ndefineSymbol(math, ams, rel, \"\\u226c\", \"\\\\between\", true);\ndefineSymbol(math, ams, rel, \"\\u22d4\", \"\\\\pitchfork\", true);\ndefineSymbol(math, ams, rel, \"\\u221d\", \"\\\\varpropto\");\ndefineSymbol(math, ams, rel, \"\\u25c0\", \"\\\\blacktriangleleft\"); // unicode-math says that \\therefore is a mathord atom.\n// We kept the amssymb atom type, which is rel.\n\ndefineSymbol(math, ams, rel, \"\\u2234\", \"\\\\therefore\", true);\ndefineSymbol(math, ams, rel, \"\\u220d\", \"\\\\backepsilon\");\ndefineSymbol(math, ams, rel, \"\\u25b6\", \"\\\\blacktriangleright\"); // unicode-math says that \\because is a mathord atom.\n// We kept the amssymb atom type, which is rel.\n\ndefineSymbol(math, ams, rel, \"\\u2235\", \"\\\\because\", true);\ndefineSymbol(math, ams, rel, \"\\u22d8\", \"\\\\llless\");\ndefineSymbol(math, ams, rel, \"\\u22d9\", \"\\\\gggtr\");\ndefineSymbol(math, ams, bin, \"\\u22b2\", \"\\\\lhd\");\ndefineSymbol(math, ams, bin, \"\\u22b3\", \"\\\\rhd\");\ndefineSymbol(math, ams, rel, \"\\u2242\", \"\\\\eqsim\", true);\ndefineSymbol(math, main, rel, \"\\u22c8\", \"\\\\Join\");\ndefineSymbol(math, ams, rel, \"\\u2251\", \"\\\\Doteq\", true); // AMS Binary Operators\n\ndefineSymbol(math, ams, bin, \"\\u2214\", \"\\\\dotplus\", true);\ndefineSymbol(math, ams, bin, \"\\u2216\", \"\\\\smallsetminus\");\ndefineSymbol(math, ams, bin, \"\\u22d2\", \"\\\\Cap\", true);\ndefineSymbol(math, ams, bin, \"\\u22d3\", \"\\\\Cup\", true);\ndefineSymbol(math, ams, bin, \"\\u2a5e\", \"\\\\doublebarwedge\", true);\ndefineSymbol(math, ams, bin, \"\\u229f\", \"\\\\boxminus\", true);\ndefineSymbol(math, ams, bin, \"\\u229e\", \"\\\\boxplus\", true);\ndefineSymbol(math, ams, bin, \"\\u22c7\", \"\\\\divideontimes\", true);\ndefineSymbol(math, ams, bin, \"\\u22c9\", \"\\\\ltimes\", true);\ndefineSymbol(math, ams, bin, \"\\u22ca\", \"\\\\rtimes\", true);\ndefineSymbol(math, ams, bin, \"\\u22cb\", \"\\\\leftthreetimes\", true);\ndefineSymbol(math, ams, bin, \"\\u22cc\", \"\\\\rightthreetimes\", true);\ndefineSymbol(math, ams, bin, \"\\u22cf\", \"\\\\curlywedge\", true);\ndefineSymbol(math, ams, bin, \"\\u22ce\", \"\\\\curlyvee\", true);\ndefineSymbol(math, ams, bin, \"\\u229d\", \"\\\\circleddash\", true);\ndefineSymbol(math, ams, bin, \"\\u229b\", \"\\\\circledast\", true);\ndefineSymbol(math, ams, bin, \"\\u22c5\", \"\\\\centerdot\");\ndefineSymbol(math, ams, bin, \"\\u22ba\", \"\\\\intercal\", true);\ndefineSymbol(math, ams, bin, \"\\u22d2\", \"\\\\doublecap\");\ndefineSymbol(math, ams, bin, \"\\u22d3\", \"\\\\doublecup\");\ndefineSymbol(math, ams, bin, \"\\u22a0\", \"\\\\boxtimes\", true); // AMS Arrows\n// Note: unicode-math maps \\u21e2 to their own function \\rightdasharrow.\n// We'll map it to AMS function \\dashrightarrow. It produces the same atom.\n\ndefineSymbol(math, ams, rel, \"\\u21e2\", \"\\\\dashrightarrow\", true); // unicode-math maps \\u21e0 to \\leftdasharrow. We'll use the AMS synonym.\n\ndefineSymbol(math, ams, rel, \"\\u21e0\", \"\\\\dashleftarrow\", true);\ndefineSymbol(math, ams, rel, \"\\u21c7\", \"\\\\leftleftarrows\", true);\ndefineSymbol(math, ams, rel, \"\\u21c6\", \"\\\\leftrightarrows\", true);\ndefineSymbol(math, ams, rel, \"\\u21da\", \"\\\\Lleftarrow\", true);\ndefineSymbol(math, ams, rel, \"\\u219e\", \"\\\\twoheadleftarrow\", true);\ndefineSymbol(math, ams, rel, \"\\u21a2\", \"\\\\leftarrowtail\", true);\ndefineSymbol(math, ams, rel, \"\\u21ab\", \"\\\\looparrowleft\", true);\ndefineSymbol(math, ams, rel, \"\\u21cb\", \"\\\\leftrightharpoons\", true);\ndefineSymbol(math, ams, rel, \"\\u21b6\", \"\\\\curvearrowleft\", true); // unicode-math maps \\u21ba to \\acwopencirclearrow. We'll use the AMS synonym.\n\ndefineSymbol(math, ams, rel, \"\\u21ba\", \"\\\\circlearrowleft\", true);\ndefineSymbol(math, ams, rel, \"\\u21b0\", \"\\\\Lsh\", true);\ndefineSymbol(math, ams, rel, \"\\u21c8\", \"\\\\upuparrows\", true);\ndefineSymbol(math, ams, rel, \"\\u21bf\", \"\\\\upharpoonleft\", true);\ndefineSymbol(math, ams, rel, \"\\u21c3\", \"\\\\downharpoonleft\", true);\ndefineSymbol(math, main, rel, \"\\u22b6\", \"\\\\origof\", true); // not in font\n\ndefineSymbol(math, main, rel, \"\\u22b7\", \"\\\\imageof\", true); // not in font\n\ndefineSymbol(math, ams, rel, \"\\u22b8\", \"\\\\multimap\", true);\ndefineSymbol(math, ams, rel, \"\\u21ad\", \"\\\\leftrightsquigarrow\", true);\ndefineSymbol(math, ams, rel, \"\\u21c9\", \"\\\\rightrightarrows\", true);\ndefineSymbol(math, ams, rel, \"\\u21c4\", \"\\\\rightleftarrows\", true);\ndefineSymbol(math, ams, rel, \"\\u21a0\", \"\\\\twoheadrightarrow\", true);\ndefineSymbol(math, ams, rel, \"\\u21a3\", \"\\\\rightarrowtail\", true);\ndefineSymbol(math, ams, rel, \"\\u21ac\", \"\\\\looparrowright\", true);\ndefineSymbol(math, ams, rel, \"\\u21b7\", \"\\\\curvearrowright\", true); // unicode-math maps \\u21bb to \\cwopencirclearrow. We'll use the AMS synonym.\n\ndefineSymbol(math, ams, rel, \"\\u21bb\", \"\\\\circlearrowright\", true);\ndefineSymbol(math, ams, rel, \"\\u21b1\", \"\\\\Rsh\", true);\ndefineSymbol(math, ams, rel, \"\\u21ca\", \"\\\\downdownarrows\", true);\ndefineSymbol(math, ams, rel, \"\\u21be\", \"\\\\upharpoonright\", true);\ndefineSymbol(math, ams, rel, \"\\u21c2\", \"\\\\downharpoonright\", true);\ndefineSymbol(math, ams, rel, \"\\u21dd\", \"\\\\rightsquigarrow\", true);\ndefineSymbol(math, ams, rel, \"\\u21dd\", \"\\\\leadsto\");\ndefineSymbol(math, ams, rel, \"\\u21db\", \"\\\\Rrightarrow\", true);\ndefineSymbol(math, ams, rel, \"\\u21be\", \"\\\\restriction\");\ndefineSymbol(math, main, textord, \"\\u2018\", \"`\");\ndefineSymbol(math, main, textord, \"$\", \"\\\\$\");\ndefineSymbol(symbols_text, main, textord, \"$\", \"\\\\$\");\ndefineSymbol(symbols_text, main, textord, \"$\", \"\\\\textdollar\");\ndefineSymbol(math, main, textord, \"%\", \"\\\\%\");\ndefineSymbol(symbols_text, main, textord, \"%\", \"\\\\%\");\ndefineSymbol(math, main, textord, \"_\", \"\\\\_\");\ndefineSymbol(symbols_text, main, textord, \"_\", \"\\\\_\");\ndefineSymbol(symbols_text, main, textord, \"_\", \"\\\\textunderscore\");\ndefineSymbol(math, main, textord, \"\\u2220\", \"\\\\angle\", true);\ndefineSymbol(math, main, textord, \"\\u221e\", \"\\\\infty\", true);\ndefineSymbol(math, main, textord, \"\\u2032\", \"\\\\prime\");\ndefineSymbol(math, main, textord, \"\\u25b3\", \"\\\\triangle\");\ndefineSymbol(math, main, textord, \"\\u0393\", \"\\\\Gamma\", true);\ndefineSymbol(math, main, textord, \"\\u0394\", \"\\\\Delta\", true);\ndefineSymbol(math, main, textord, \"\\u0398\", \"\\\\Theta\", true);\ndefineSymbol(math, main, textord, \"\\u039b\", \"\\\\Lambda\", true);\ndefineSymbol(math, main, textord, \"\\u039e\", \"\\\\Xi\", true);\ndefineSymbol(math, main, textord, \"\\u03a0\", \"\\\\Pi\", true);\ndefineSymbol(math, main, textord, \"\\u03a3\", \"\\\\Sigma\", true);\ndefineSymbol(math, main, textord, \"\\u03a5\", \"\\\\Upsilon\", true);\ndefineSymbol(math, main, textord, \"\\u03a6\", \"\\\\Phi\", true);\ndefineSymbol(math, main, textord, \"\\u03a8\", \"\\\\Psi\", true);\ndefineSymbol(math, main, textord, \"\\u03a9\", \"\\\\Omega\", true);\ndefineSymbol(math, main, textord, \"A\", \"\\u0391\");\ndefineSymbol(math, main, textord, \"B\", \"\\u0392\");\ndefineSymbol(math, main, textord, \"E\", \"\\u0395\");\ndefineSymbol(math, main, textord, \"Z\", \"\\u0396\");\ndefineSymbol(math, main, textord, \"H\", \"\\u0397\");\ndefineSymbol(math, main, textord, \"I\", \"\\u0399\");\ndefineSymbol(math, main, textord, \"K\", \"\\u039A\");\ndefineSymbol(math, main, textord, \"M\", \"\\u039C\");\ndefineSymbol(math, main, textord, \"N\", \"\\u039D\");\ndefineSymbol(math, main, textord, \"O\", \"\\u039F\");\ndefineSymbol(math, main, textord, \"P\", \"\\u03A1\");\ndefineSymbol(math, main, textord, \"T\", \"\\u03A4\");\ndefineSymbol(math, main, textord, \"X\", \"\\u03A7\");\ndefineSymbol(math, main, textord, \"\\u00ac\", \"\\\\neg\", true);\ndefineSymbol(math, main, textord, \"\\u00ac\", \"\\\\lnot\");\ndefineSymbol(math, main, textord, \"\\u22a4\", \"\\\\top\");\ndefineSymbol(math, main, textord, \"\\u22a5\", \"\\\\bot\");\ndefineSymbol(math, main, textord, \"\\u2205\", \"\\\\emptyset\");\ndefineSymbol(math, ams, textord, \"\\u2205\", \"\\\\varnothing\");\ndefineSymbol(math, main, mathord, \"\\u03b1\", \"\\\\alpha\", true);\ndefineSymbol(math, main, mathord, \"\\u03b2\", \"\\\\beta\", true);\ndefineSymbol(math, main, mathord, \"\\u03b3\", \"\\\\gamma\", true);\ndefineSymbol(math, main, mathord, \"\\u03b4\", \"\\\\delta\", true);\ndefineSymbol(math, main, mathord, \"\\u03f5\", \"\\\\epsilon\", true);\ndefineSymbol(math, main, mathord, \"\\u03b6\", \"\\\\zeta\", true);\ndefineSymbol(math, main, mathord, \"\\u03b7\", \"\\\\eta\", true);\ndefineSymbol(math, main, mathord, \"\\u03b8\", \"\\\\theta\", true);\ndefineSymbol(math, main, mathord, \"\\u03b9\", \"\\\\iota\", true);\ndefineSymbol(math, main, mathord, \"\\u03ba\", \"\\\\kappa\", true);\ndefineSymbol(math, main, mathord, \"\\u03bb\", \"\\\\lambda\", true);\ndefineSymbol(math, main, mathord, \"\\u03bc\", \"\\\\mu\", true);\ndefineSymbol(math, main, mathord, \"\\u03bd\", \"\\\\nu\", true);\ndefineSymbol(math, main, mathord, \"\\u03be\", \"\\\\xi\", true);\ndefineSymbol(math, main, mathord, \"\\u03bf\", \"\\\\omicron\", true);\ndefineSymbol(math, main, mathord, \"\\u03c0\", \"\\\\pi\", true);\ndefineSymbol(math, main, mathord, \"\\u03c1\", \"\\\\rho\", true);\ndefineSymbol(math, main, mathord, \"\\u03c3\", \"\\\\sigma\", true);\ndefineSymbol(math, main, mathord, \"\\u03c4\", \"\\\\tau\", true);\ndefineSymbol(math, main, mathord, \"\\u03c5\", \"\\\\upsilon\", true);\ndefineSymbol(math, main, mathord, \"\\u03d5\", \"\\\\phi\", true);\ndefineSymbol(math, main, mathord, \"\\u03c7\", \"\\\\chi\", true);\ndefineSymbol(math, main, mathord, \"\\u03c8\", \"\\\\psi\", true);\ndefineSymbol(math, main, mathord, \"\\u03c9\", \"\\\\omega\", true);\ndefineSymbol(math, main, mathord, \"\\u03b5\", \"\\\\varepsilon\", true);\ndefineSymbol(math, main, mathord, \"\\u03d1\", \"\\\\vartheta\", true);\ndefineSymbol(math, main, mathord, \"\\u03d6\", \"\\\\varpi\", true);\ndefineSymbol(math, main, mathord, \"\\u03f1\", \"\\\\varrho\", true);\ndefineSymbol(math, main, mathord, \"\\u03c2\", \"\\\\varsigma\", true);\ndefineSymbol(math, main, mathord, \"\\u03c6\", \"\\\\varphi\", true);\ndefineSymbol(math, main, bin, \"\\u2217\", \"*\", true);\ndefineSymbol(math, main, bin, \"+\", \"+\");\ndefineSymbol(math, main, bin, \"\\u2212\", \"-\", true);\ndefineSymbol(math, main, bin, \"\\u22c5\", \"\\\\cdot\", true);\ndefineSymbol(math, main, bin, \"\\u2218\", \"\\\\circ\", true);\ndefineSymbol(math, main, bin, \"\\u00f7\", \"\\\\div\", true);\ndefineSymbol(math, main, bin, \"\\u00b1\", \"\\\\pm\", true);\ndefineSymbol(math, main, bin, \"\\u00d7\", \"\\\\times\", true);\ndefineSymbol(math, main, bin, \"\\u2229\", \"\\\\cap\", true);\ndefineSymbol(math, main, bin, \"\\u222a\", \"\\\\cup\", true);\ndefineSymbol(math, main, bin, \"\\u2216\", \"\\\\setminus\", true);\ndefineSymbol(math, main, bin, \"\\u2227\", \"\\\\land\");\ndefineSymbol(math, main, bin, \"\\u2228\", \"\\\\lor\");\ndefineSymbol(math, main, bin, \"\\u2227\", \"\\\\wedge\", true);\ndefineSymbol(math, main, bin, \"\\u2228\", \"\\\\vee\", true);\ndefineSymbol(math, main, textord, \"\\u221a\", \"\\\\surd\");\ndefineSymbol(math, main, symbols_open, \"\\u27e8\", \"\\\\langle\", true);\ndefineSymbol(math, main, symbols_open, \"\\u2223\", \"\\\\lvert\");\ndefineSymbol(math, main, symbols_open, \"\\u2225\", \"\\\\lVert\");\ndefineSymbol(math, main, symbols_close, \"?\", \"?\");\ndefineSymbol(math, main, symbols_close, \"!\", \"!\");\ndefineSymbol(math, main, symbols_close, \"\\u27e9\", \"\\\\rangle\", true);\ndefineSymbol(math, main, symbols_close, \"\\u2223\", \"\\\\rvert\");\ndefineSymbol(math, main, symbols_close, \"\\u2225\", \"\\\\rVert\");\ndefineSymbol(math, main, rel, \"=\", \"=\");\ndefineSymbol(math, main, rel, \":\", \":\");\ndefineSymbol(math, main, rel, \"\\u2248\", \"\\\\approx\", true);\ndefineSymbol(math, main, rel, \"\\u2245\", \"\\\\cong\", true);\ndefineSymbol(math, main, rel, \"\\u2265\", \"\\\\ge\");\ndefineSymbol(math, main, rel, \"\\u2265\", \"\\\\geq\", true);\ndefineSymbol(math, main, rel, \"\\u2190\", \"\\\\gets\");\ndefineSymbol(math, main, rel, \">\", \"\\\\gt\", true);\ndefineSymbol(math, main, rel, \"\\u2208\", \"\\\\in\", true);\ndefineSymbol(math, main, rel, \"\\ue020\", \"\\\\@not\");\ndefineSymbol(math, main, rel, \"\\u2282\", \"\\\\subset\", true);\ndefineSymbol(math, main, rel, \"\\u2283\", \"\\\\supset\", true);\ndefineSymbol(math, main, rel, \"\\u2286\", \"\\\\subseteq\", true);\ndefineSymbol(math, main, rel, \"\\u2287\", \"\\\\supseteq\", true);\ndefineSymbol(math, ams, rel, \"\\u2288\", \"\\\\nsubseteq\", true);\ndefineSymbol(math, ams, rel, \"\\u2289\", \"\\\\nsupseteq\", true);\ndefineSymbol(math, main, rel, \"\\u22a8\", \"\\\\models\");\ndefineSymbol(math, main, rel, \"\\u2190\", \"\\\\leftarrow\", true);\ndefineSymbol(math, main, rel, \"\\u2264\", \"\\\\le\");\ndefineSymbol(math, main, rel, \"\\u2264\", \"\\\\leq\", true);\ndefineSymbol(math, main, rel, \"<\", \"\\\\lt\", true);\ndefineSymbol(math, main, rel, \"\\u2192\", \"\\\\rightarrow\", true);\ndefineSymbol(math, main, rel, \"\\u2192\", \"\\\\to\");\ndefineSymbol(math, ams, rel, \"\\u2271\", \"\\\\ngeq\", true);\ndefineSymbol(math, ams, rel, \"\\u2270\", \"\\\\nleq\", true);\ndefineSymbol(math, main, spacing, \"\\u00a0\", \"\\\\ \");\ndefineSymbol(math, main, spacing, \"\\u00a0\", \"\\\\space\"); // Ref: LaTeX Source 2e: \\DeclareRobustCommand{\\nobreakspace}{%\n\ndefineSymbol(math, main, spacing, \"\\u00a0\", \"\\\\nobreakspace\");\ndefineSymbol(symbols_text, main, spacing, \"\\u00a0\", \"\\\\ \");\ndefineSymbol(symbols_text, main, spacing, \"\\u00a0\", \" \");\ndefineSymbol(symbols_text, main, spacing, \"\\u00a0\", \"\\\\space\");\ndefineSymbol(symbols_text, main, spacing, \"\\u00a0\", \"\\\\nobreakspace\");\ndefineSymbol(math, main, spacing, null, \"\\\\nobreak\");\ndefineSymbol(math, main, spacing, null, \"\\\\allowbreak\");\ndefineSymbol(math, main, punct, \",\", \",\");\ndefineSymbol(math, main, punct, \";\", \";\");\ndefineSymbol(math, ams, bin, \"\\u22bc\", \"\\\\barwedge\", true);\ndefineSymbol(math, ams, bin, \"\\u22bb\", \"\\\\veebar\", true);\ndefineSymbol(math, main, bin, \"\\u2299\", \"\\\\odot\", true);\ndefineSymbol(math, main, bin, \"\\u2295\", \"\\\\oplus\", true);\ndefineSymbol(math, main, bin, \"\\u2297\", \"\\\\otimes\", true);\ndefineSymbol(math, main, textord, \"\\u2202\", \"\\\\partial\", true);\ndefineSymbol(math, main, bin, \"\\u2298\", \"\\\\oslash\", true);\ndefineSymbol(math, ams, bin, \"\\u229a\", \"\\\\circledcirc\", true);\ndefineSymbol(math, ams, bin, \"\\u22a1\", \"\\\\boxdot\", true);\ndefineSymbol(math, main, bin, \"\\u25b3\", \"\\\\bigtriangleup\");\ndefineSymbol(math, main, bin, \"\\u25bd\", \"\\\\bigtriangledown\");\ndefineSymbol(math, main, bin, \"\\u2020\", \"\\\\dagger\");\ndefineSymbol(math, main, bin, \"\\u22c4\", \"\\\\diamond\");\ndefineSymbol(math, main, bin, \"\\u22c6\", \"\\\\star\");\ndefineSymbol(math, main, bin, \"\\u25c3\", \"\\\\triangleleft\");\ndefineSymbol(math, main, bin, \"\\u25b9\", \"\\\\triangleright\");\ndefineSymbol(math, main, symbols_open, \"{\", \"\\\\{\");\ndefineSymbol(symbols_text, main, textord, \"{\", \"\\\\{\");\ndefineSymbol(symbols_text, main, textord, \"{\", \"\\\\textbraceleft\");\ndefineSymbol(math, main, symbols_close, \"}\", \"\\\\}\");\ndefineSymbol(symbols_text, main, textord, \"}\", \"\\\\}\");\ndefineSymbol(symbols_text, main, textord, \"}\", \"\\\\textbraceright\");\ndefineSymbol(math, main, symbols_open, \"{\", \"\\\\lbrace\");\ndefineSymbol(math, main, symbols_close, \"}\", \"\\\\rbrace\");\ndefineSymbol(math, main, symbols_open, \"[\", \"\\\\lbrack\", true);\ndefineSymbol(symbols_text, main, textord, \"[\", \"\\\\lbrack\", true);\ndefineSymbol(math, main, symbols_close, \"]\", \"\\\\rbrack\", true);\ndefineSymbol(symbols_text, main, textord, \"]\", \"\\\\rbrack\", true);\ndefineSymbol(math, main, symbols_open, \"(\", \"\\\\lparen\", true);\ndefineSymbol(math, main, symbols_close, \")\", \"\\\\rparen\", true);\ndefineSymbol(symbols_text, main, textord, \"<\", \"\\\\textless\", true); // in T1 fontenc\n\ndefineSymbol(symbols_text, main, textord, \">\", \"\\\\textgreater\", true); // in T1 fontenc\n\ndefineSymbol(math, main, symbols_open, \"\\u230a\", \"\\\\lfloor\", true);\ndefineSymbol(math, main, symbols_close, \"\\u230b\", \"\\\\rfloor\", true);\ndefineSymbol(math, main, symbols_open, \"\\u2308\", \"\\\\lceil\", true);\ndefineSymbol(math, main, symbols_close, \"\\u2309\", \"\\\\rceil\", true);\ndefineSymbol(math, main, textord, \"\\\\\", \"\\\\backslash\");\ndefineSymbol(math, main, textord, \"\\u2223\", \"|\");\ndefineSymbol(math, main, textord, \"\\u2223\", \"\\\\vert\");\ndefineSymbol(symbols_text, main, textord, \"|\", \"\\\\textbar\", true); // in T1 fontenc\n\ndefineSymbol(math, main, textord, \"\\u2225\", \"\\\\|\");\ndefineSymbol(math, main, textord, \"\\u2225\", \"\\\\Vert\");\ndefineSymbol(symbols_text, main, textord, \"\\u2225\", \"\\\\textbardbl\");\ndefineSymbol(symbols_text, main, textord, \"~\", \"\\\\textasciitilde\");\ndefineSymbol(symbols_text, main, textord, \"\\\\\", \"\\\\textbackslash\");\ndefineSymbol(symbols_text, main, textord, \"^\", \"\\\\textasciicircum\");\ndefineSymbol(math, main, rel, \"\\u2191\", \"\\\\uparrow\", true);\ndefineSymbol(math, main, rel, \"\\u21d1\", \"\\\\Uparrow\", true);\ndefineSymbol(math, main, rel, \"\\u2193\", \"\\\\downarrow\", true);\ndefineSymbol(math, main, rel, \"\\u21d3\", \"\\\\Downarrow\", true);\ndefineSymbol(math, main, rel, \"\\u2195\", \"\\\\updownarrow\", true);\ndefineSymbol(math, main, rel, \"\\u21d5\", \"\\\\Updownarrow\", true);\ndefineSymbol(math, main, op, \"\\u2210\", \"\\\\coprod\");\ndefineSymbol(math, main, op, \"\\u22c1\", \"\\\\bigvee\");\ndefineSymbol(math, main, op, \"\\u22c0\", \"\\\\bigwedge\");\ndefineSymbol(math, main, op, \"\\u2a04\", \"\\\\biguplus\");\ndefineSymbol(math, main, op, \"\\u22c2\", \"\\\\bigcap\");\ndefineSymbol(math, main, op, \"\\u22c3\", \"\\\\bigcup\");\ndefineSymbol(math, main, op, \"\\u222b\", \"\\\\int\");\ndefineSymbol(math, main, op, \"\\u222b\", \"\\\\intop\");\ndefineSymbol(math, main, op, \"\\u222c\", \"\\\\iint\");\ndefineSymbol(math, main, op, \"\\u222d\", \"\\\\iiint\");\ndefineSymbol(math, main, op, \"\\u220f\", \"\\\\prod\");\ndefineSymbol(math, main, op, \"\\u2211\", \"\\\\sum\");\ndefineSymbol(math, main, op, \"\\u2a02\", \"\\\\bigotimes\");\ndefineSymbol(math, main, op, \"\\u2a01\", \"\\\\bigoplus\");\ndefineSymbol(math, main, op, \"\\u2a00\", \"\\\\bigodot\");\ndefineSymbol(math, main, op, \"\\u222e\", \"\\\\oint\");\ndefineSymbol(math, main, op, \"\\u222f\", \"\\\\oiint\");\ndefineSymbol(math, main, op, \"\\u2230\", \"\\\\oiiint\");\ndefineSymbol(math, main, op, \"\\u2a06\", \"\\\\bigsqcup\");\ndefineSymbol(math, main, op, \"\\u222b\", \"\\\\smallint\");\ndefineSymbol(symbols_text, main, inner, \"\\u2026\", \"\\\\textellipsis\");\ndefineSymbol(math, main, inner, \"\\u2026\", \"\\\\mathellipsis\");\ndefineSymbol(symbols_text, main, inner, \"\\u2026\", \"\\\\ldots\", true);\ndefineSymbol(math, main, inner, \"\\u2026\", \"\\\\ldots\", true);\ndefineSymbol(math, main, inner, \"\\u22ef\", \"\\\\@cdots\", true);\ndefineSymbol(math, main, inner, \"\\u22f1\", \"\\\\ddots\", true);\ndefineSymbol(math, main, textord, \"\\u22ee\", \"\\\\varvdots\"); // \\vdots is a macro\n\ndefineSymbol(math, main, accent, \"\\u02ca\", \"\\\\acute\");\ndefineSymbol(math, main, accent, \"\\u02cb\", \"\\\\grave\");\ndefineSymbol(math, main, accent, \"\\u00a8\", \"\\\\ddot\");\ndefineSymbol(math, main, accent, \"\\u007e\", \"\\\\tilde\");\ndefineSymbol(math, main, accent, \"\\u02c9\", \"\\\\bar\");\ndefineSymbol(math, main, accent, \"\\u02d8\", \"\\\\breve\");\ndefineSymbol(math, main, accent, \"\\u02c7\", \"\\\\check\");\ndefineSymbol(math, main, accent, \"\\u005e\", \"\\\\hat\");\ndefineSymbol(math, main, accent, \"\\u20d7\", \"\\\\vec\");\ndefineSymbol(math, main, accent, \"\\u02d9\", \"\\\\dot\");\ndefineSymbol(math, main, accent, \"\\u02da\", \"\\\\mathring\"); // \\imath and \\jmath should be invariant to \\mathrm, \\mathbf, etc., so use PUA\n\ndefineSymbol(math, main, mathord, \"\\ue131\", \"\\\\@imath\");\ndefineSymbol(math, main, mathord, \"\\ue237\", \"\\\\@jmath\");\ndefineSymbol(math, main, textord, \"\\u0131\", \"\\u0131\");\ndefineSymbol(math, main, textord, \"\\u0237\", \"\\u0237\");\ndefineSymbol(symbols_text, main, textord, \"\\u0131\", \"\\\\i\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u0237\", \"\\\\j\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u00df\", \"\\\\ss\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u00e6\", \"\\\\ae\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u0153\", \"\\\\oe\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u00f8\", \"\\\\o\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u00c6\", \"\\\\AE\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u0152\", \"\\\\OE\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u00d8\", \"\\\\O\", true);\ndefineSymbol(symbols_text, main, accent, \"\\u02ca\", \"\\\\'\"); // acute\n\ndefineSymbol(symbols_text, main, accent, \"\\u02cb\", \"\\\\`\"); // grave\n\ndefineSymbol(symbols_text, main, accent, \"\\u02c6\", \"\\\\^\"); // circumflex\n\ndefineSymbol(symbols_text, main, accent, \"\\u02dc\", \"\\\\~\"); // tilde\n\ndefineSymbol(symbols_text, main, accent, \"\\u02c9\", \"\\\\=\"); // macron\n\ndefineSymbol(symbols_text, main, accent, \"\\u02d8\", \"\\\\u\"); // breve\n\ndefineSymbol(symbols_text, main, accent, \"\\u02d9\", \"\\\\.\"); // dot above\n\ndefineSymbol(symbols_text, main, accent, \"\\u00b8\", \"\\\\c\"); // cedilla\n\ndefineSymbol(symbols_text, main, accent, \"\\u02da\", \"\\\\r\"); // ring above\n\ndefineSymbol(symbols_text, main, accent, \"\\u02c7\", \"\\\\v\"); // caron\n\ndefineSymbol(symbols_text, main, accent, \"\\u00a8\", '\\\\\"'); // diaresis\n\ndefineSymbol(symbols_text, main, accent, \"\\u02dd\", \"\\\\H\"); // double acute\n\ndefineSymbol(symbols_text, main, accent, \"\\u25ef\", \"\\\\textcircled\"); // \\bigcirc glyph\n// These ligatures are detected and created in Parser.js's `formLigatures`.\n\nconst ligatures = {\n \"--\": true,\n \"---\": true,\n \"``\": true,\n \"''\": true\n};\ndefineSymbol(symbols_text, main, textord, \"\\u2013\", \"--\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u2013\", \"\\\\textendash\");\ndefineSymbol(symbols_text, main, textord, \"\\u2014\", \"---\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u2014\", \"\\\\textemdash\");\ndefineSymbol(symbols_text, main, textord, \"\\u2018\", \"`\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u2018\", \"\\\\textquoteleft\");\ndefineSymbol(symbols_text, main, textord, \"\\u2019\", \"'\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u2019\", \"\\\\textquoteright\");\ndefineSymbol(symbols_text, main, textord, \"\\u201c\", \"``\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u201c\", \"\\\\textquotedblleft\");\ndefineSymbol(symbols_text, main, textord, \"\\u201d\", \"''\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u201d\", \"\\\\textquotedblright\"); // \\degree from gensymb package\n\ndefineSymbol(math, main, textord, \"\\u00b0\", \"\\\\degree\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u00b0\", \"\\\\degree\"); // \\textdegree from inputenc package\n\ndefineSymbol(symbols_text, main, textord, \"\\u00b0\", \"\\\\textdegree\", true); // TODO: In LaTeX, \\pounds can generate a different character in text and math\n// mode, but among our fonts, only Main-Regular defines this character \"163\".\n\ndefineSymbol(math, main, textord, \"\\u00a3\", \"\\\\pounds\");\ndefineSymbol(math, main, textord, \"\\u00a3\", \"\\\\mathsterling\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u00a3\", \"\\\\pounds\");\ndefineSymbol(symbols_text, main, textord, \"\\u00a3\", \"\\\\textsterling\", true);\ndefineSymbol(math, ams, textord, \"\\u2720\", \"\\\\maltese\");\ndefineSymbol(symbols_text, ams, textord, \"\\u2720\", \"\\\\maltese\"); // There are lots of symbols which are the same, so we add them in afterwards.\n// All of these are textords in math mode\n\nconst mathTextSymbols = \"0123456789/@.\\\"\";\n\nfor (let i = 0; i < mathTextSymbols.length; i++) {\n const ch = mathTextSymbols.charAt(i);\n defineSymbol(math, main, textord, ch, ch);\n} // All of these are textords in text mode\n\n\nconst textSymbols = \"0123456789!@*()-=+\\\";:?/.,\";\n\nfor (let i = 0; i < textSymbols.length; i++) {\n const ch = textSymbols.charAt(i);\n defineSymbol(symbols_text, main, textord, ch, ch);\n} // All of these are textords in text mode, and mathords in math mode\n\n\nconst letters = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\";\n\nfor (let i = 0; i < letters.length; i++) {\n const ch = letters.charAt(i);\n defineSymbol(math, main, mathord, ch, ch);\n defineSymbol(symbols_text, main, textord, ch, ch);\n} // Blackboard bold and script letters in Unicode range\n\n\ndefineSymbol(math, ams, textord, \"C\", \"\\u2102\"); // blackboard bold\n\ndefineSymbol(symbols_text, ams, textord, \"C\", \"\\u2102\");\ndefineSymbol(math, ams, textord, \"H\", \"\\u210D\");\ndefineSymbol(symbols_text, ams, textord, \"H\", \"\\u210D\");\ndefineSymbol(math, ams, textord, \"N\", \"\\u2115\");\ndefineSymbol(symbols_text, ams, textord, \"N\", \"\\u2115\");\ndefineSymbol(math, ams, textord, \"P\", \"\\u2119\");\ndefineSymbol(symbols_text, ams, textord, \"P\", \"\\u2119\");\ndefineSymbol(math, ams, textord, \"Q\", \"\\u211A\");\ndefineSymbol(symbols_text, ams, textord, \"Q\", \"\\u211A\");\ndefineSymbol(math, ams, textord, \"R\", \"\\u211D\");\ndefineSymbol(symbols_text, ams, textord, \"R\", \"\\u211D\");\ndefineSymbol(math, ams, textord, \"Z\", \"\\u2124\");\ndefineSymbol(symbols_text, ams, textord, \"Z\", \"\\u2124\");\ndefineSymbol(math, main, mathord, \"h\", \"\\u210E\"); // italic h, Planck constant\n\ndefineSymbol(symbols_text, main, mathord, \"h\", \"\\u210E\"); // The next loop loads wide (surrogate pair) characters.\n// We support some letters in the Unicode range U+1D400 to U+1D7FF,\n// Mathematical Alphanumeric Symbols.\n// Some editors do not deal well with wide characters. So don't write the\n// string into this file. Instead, create the string from the surrogate pair.\n\nlet wideChar = \"\";\n\nfor (let i = 0; i < letters.length; i++) {\n const ch = letters.charAt(i); // The hex numbers in the next line are a surrogate pair.\n // 0xD835 is the high surrogate for all letters in the range we support.\n // 0xDC00 is the low surrogate for bold A.\n\n wideChar = String.fromCharCode(0xD835, 0xDC00 + i); // A-Z a-z bold\n\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n wideChar = String.fromCharCode(0xD835, 0xDC34 + i); // A-Z a-z italic\n\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n wideChar = String.fromCharCode(0xD835, 0xDC68 + i); // A-Z a-z bold italic\n\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n wideChar = String.fromCharCode(0xD835, 0xDD04 + i); // A-Z a-z Fraktur\n\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n wideChar = String.fromCharCode(0xD835, 0xDD6C + i); // A-Z a-z bold Fraktur\n\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n wideChar = String.fromCharCode(0xD835, 0xDDA0 + i); // A-Z a-z sans-serif\n\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n wideChar = String.fromCharCode(0xD835, 0xDDD4 + i); // A-Z a-z sans bold\n\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n wideChar = String.fromCharCode(0xD835, 0xDE08 + i); // A-Z a-z sans italic\n\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n wideChar = String.fromCharCode(0xD835, 0xDE70 + i); // A-Z a-z monospace\n\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n\n if (i < 26) {\n // KaTeX fonts have only capital letters for blackboard bold and script.\n // See exception for k below.\n wideChar = String.fromCharCode(0xD835, 0xDD38 + i); // A-Z double struck\n\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n wideChar = String.fromCharCode(0xD835, 0xDC9C + i); // A-Z script\n\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n } // TODO: Add bold script when it is supported by a KaTeX font.\n\n} // \"k\" is the only double struck lower case letter in the KaTeX fonts.\n\n\nwideChar = String.fromCharCode(0xD835, 0xDD5C); // k double struck\n\ndefineSymbol(math, main, mathord, \"k\", wideChar);\ndefineSymbol(symbols_text, main, textord, \"k\", wideChar); // Next, some wide character numerals\n\nfor (let i = 0; i < 10; i++) {\n const ch = i.toString();\n wideChar = String.fromCharCode(0xD835, 0xDFCE + i); // 0-9 bold\n\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n wideChar = String.fromCharCode(0xD835, 0xDFE2 + i); // 0-9 sans serif\n\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n wideChar = String.fromCharCode(0xD835, 0xDFEC + i); // 0-9 bold sans\n\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n wideChar = String.fromCharCode(0xD835, 0xDFF6 + i); // 0-9 monospace\n\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n} // We add these Latin-1 letters as symbols for backwards-compatibility,\n// but they are not actually in the font, nor are they supported by the\n// Unicode accent mechanism, so they fall back to Times font and look ugly.\n// TODO(edemaine): Fix this.\n\n\nconst extraLatin = \"\\u00d0\\u00de\\u00fe\";\n\nfor (let i = 0; i < extraLatin.length; i++) {\n const ch = extraLatin.charAt(i);\n defineSymbol(math, main, mathord, ch, ch);\n defineSymbol(symbols_text, main, textord, ch, ch);\n}\n;// CONCATENATED MODULE: ./src/wide-character.js\n/**\n * This file provides support for Unicode range U+1D400 to U+1D7FF,\n * Mathematical Alphanumeric Symbols.\n *\n * Function wideCharacterFont takes a wide character as input and returns\n * the font information necessary to render it properly.\n */\n\n/**\n * Data below is from https://www.unicode.org/charts/PDF/U1D400.pdf\n * That document sorts characters into groups by font type, say bold or italic.\n *\n * In the arrays below, each subarray consists three elements:\n * * The CSS class of that group when in math mode.\n * * The CSS class of that group when in text mode.\n * * The font name, so that KaTeX can get font metrics.\n */\n\nconst wideLatinLetterData = [[\"mathbf\", \"textbf\", \"Main-Bold\"], // A-Z bold upright\n[\"mathbf\", \"textbf\", \"Main-Bold\"], // a-z bold upright\n[\"mathnormal\", \"textit\", \"Math-Italic\"], // A-Z italic\n[\"mathnormal\", \"textit\", \"Math-Italic\"], // a-z italic\n[\"boldsymbol\", \"boldsymbol\", \"Main-BoldItalic\"], // A-Z bold italic\n[\"boldsymbol\", \"boldsymbol\", \"Main-BoldItalic\"], // a-z bold italic\n// Map fancy A-Z letters to script, not calligraphic.\n// This aligns with unicode-math and math fonts (except Cambria Math).\n[\"mathscr\", \"textscr\", \"Script-Regular\"], // A-Z script\n[\"\", \"\", \"\"], // a-z script. No font\n[\"\", \"\", \"\"], // A-Z bold script. No font\n[\"\", \"\", \"\"], // a-z bold script. No font\n[\"mathfrak\", \"textfrak\", \"Fraktur-Regular\"], // A-Z Fraktur\n[\"mathfrak\", \"textfrak\", \"Fraktur-Regular\"], // a-z Fraktur\n[\"mathbb\", \"textbb\", \"AMS-Regular\"], // A-Z double-struck\n[\"mathbb\", \"textbb\", \"AMS-Regular\"], // k double-struck\n// Note that we are using a bold font, but font metrics for regular Fraktur.\n[\"mathboldfrak\", \"textboldfrak\", \"Fraktur-Regular\"], // A-Z bold Fraktur\n[\"mathboldfrak\", \"textboldfrak\", \"Fraktur-Regular\"], // a-z bold Fraktur\n[\"mathsf\", \"textsf\", \"SansSerif-Regular\"], // A-Z sans-serif\n[\"mathsf\", \"textsf\", \"SansSerif-Regular\"], // a-z sans-serif\n[\"mathboldsf\", \"textboldsf\", \"SansSerif-Bold\"], // A-Z bold sans-serif\n[\"mathboldsf\", \"textboldsf\", \"SansSerif-Bold\"], // a-z bold sans-serif\n[\"mathitsf\", \"textitsf\", \"SansSerif-Italic\"], // A-Z italic sans-serif\n[\"mathitsf\", \"textitsf\", \"SansSerif-Italic\"], // a-z italic sans-serif\n[\"\", \"\", \"\"], // A-Z bold italic sans. No font\n[\"\", \"\", \"\"], // a-z bold italic sans. No font\n[\"mathtt\", \"texttt\", \"Typewriter-Regular\"], // A-Z monospace\n[\"mathtt\", \"texttt\", \"Typewriter-Regular\"] // a-z monospace\n];\nconst wideNumeralData = [[\"mathbf\", \"textbf\", \"Main-Bold\"], // 0-9 bold\n[\"\", \"\", \"\"], // 0-9 double-struck. No KaTeX font.\n[\"mathsf\", \"textsf\", \"SansSerif-Regular\"], // 0-9 sans-serif\n[\"mathboldsf\", \"textboldsf\", \"SansSerif-Bold\"], // 0-9 bold sans-serif\n[\"mathtt\", \"texttt\", \"Typewriter-Regular\"] // 0-9 monospace\n];\nconst wideCharacterFont = function (wideChar, mode) {\n // IE doesn't support codePointAt(). So work with the surrogate pair.\n const H = wideChar.charCodeAt(0); // high surrogate\n\n const L = wideChar.charCodeAt(1); // low surrogate\n\n const codePoint = (H - 0xD800) * 0x400 + (L - 0xDC00) + 0x10000;\n const j = mode === \"math\" ? 0 : 1; // column index for CSS class.\n\n if (0x1D400 <= codePoint && codePoint < 0x1D6A4) {\n // wideLatinLetterData contains exactly 26 chars on each row.\n // So we can calculate the relevant row. No traverse necessary.\n const i = Math.floor((codePoint - 0x1D400) / 26);\n return [wideLatinLetterData[i][2], wideLatinLetterData[i][j]];\n } else if (0x1D7CE <= codePoint && codePoint <= 0x1D7FF) {\n // Numerals, ten per row.\n const i = Math.floor((codePoint - 0x1D7CE) / 10);\n return [wideNumeralData[i][2], wideNumeralData[i][j]];\n } else if (codePoint === 0x1D6A5 || codePoint === 0x1D6A6) {\n // dotless i or j\n return [wideLatinLetterData[0][2], wideLatinLetterData[0][j]];\n } else if (0x1D6A6 < codePoint && codePoint < 0x1D7CE) {\n // Greek letters. Not supported, yet.\n return [\"\", \"\"];\n } else {\n // We don't support any wide characters outside 1D400–1D7FF.\n throw new src_ParseError(\"Unsupported character: \" + wideChar);\n }\n};\n;// CONCATENATED MODULE: ./src/buildCommon.js\n/* eslint no-console:0 */\n\n/**\n * This module contains general functions that can be used for building\n * different kinds of domTree nodes in a consistent manner.\n */\n\n\n\n\n\n\n\n/**\n * Looks up the given symbol in fontMetrics, after applying any symbol\n * replacements defined in symbol.js\n */\nconst lookupSymbol = function (value, // TODO(#963): Use a union type for this.\nfontName, mode) {\n // Replace the value with its replaced value from symbol.js\n if (src_symbols[mode][value] && src_symbols[mode][value].replace) {\n value = src_symbols[mode][value].replace;\n }\n\n return {\n value: value,\n metrics: getCharacterMetrics(value, fontName, mode)\n };\n};\n/**\n * Makes a symbolNode after translation via the list of symbols in symbols.js.\n * Correctly pulls out metrics for the character, and optionally takes a list of\n * classes to be attached to the node.\n *\n * TODO: make argument order closer to makeSpan\n * TODO: add a separate argument for math class (e.g. `mop`, `mbin`), which\n * should if present come first in `classes`.\n * TODO(#953): Make `options` mandatory and always pass it in.\n */\n\n\nconst makeSymbol = function (value, fontName, mode, options, classes) {\n const lookup = lookupSymbol(value, fontName, mode);\n const metrics = lookup.metrics;\n value = lookup.value;\n let symbolNode;\n\n if (metrics) {\n let italic = metrics.italic;\n\n if (mode === \"text\" || options && options.font === \"mathit\") {\n italic = 0;\n }\n\n symbolNode = new SymbolNode(value, metrics.height, metrics.depth, italic, metrics.skew, metrics.width, classes);\n } else {\n // TODO(emily): Figure out a good way to only print this in development\n typeof console !== \"undefined\" && console.warn(\"No character metrics \" + (\"for '\" + value + \"' in style '\" + fontName + \"' and mode '\" + mode + \"'\"));\n symbolNode = new SymbolNode(value, 0, 0, 0, 0, 0, classes);\n }\n\n if (options) {\n symbolNode.maxFontSize = options.sizeMultiplier;\n\n if (options.style.isTight()) {\n symbolNode.classes.push(\"mtight\");\n }\n\n const color = options.getColor();\n\n if (color) {\n symbolNode.style.color = color;\n }\n }\n\n return symbolNode;\n};\n/**\n * Makes a symbol in Main-Regular or AMS-Regular.\n * Used for rel, bin, open, close, inner, and punct.\n */\n\n\nconst mathsym = function (value, mode, options, classes) {\n if (classes === void 0) {\n classes = [];\n }\n\n // Decide what font to render the symbol in by its entry in the symbols\n // table.\n // Have a special case for when the value = \\ because the \\ is used as a\n // textord in unsupported command errors but cannot be parsed as a regular\n // text ordinal and is therefore not present as a symbol in the symbols\n // table for text, as well as a special case for boldsymbol because it\n // can be used for bold + and -\n if (options.font === \"boldsymbol\" && lookupSymbol(value, \"Main-Bold\", mode).metrics) {\n return makeSymbol(value, \"Main-Bold\", mode, options, classes.concat([\"mathbf\"]));\n } else if (value === \"\\\\\" || src_symbols[mode][value].font === \"main\") {\n return makeSymbol(value, \"Main-Regular\", mode, options, classes);\n } else {\n return makeSymbol(value, \"AMS-Regular\", mode, options, classes.concat([\"amsrm\"]));\n }\n};\n/**\n * Determines which of the two font names (Main-Bold and Math-BoldItalic) and\n * corresponding style tags (mathbf or boldsymbol) to use for font \"boldsymbol\",\n * depending on the symbol. Use this function instead of fontMap for font\n * \"boldsymbol\".\n */\n\n\nconst boldsymbol = function (value, mode, options, classes, type) {\n if (type !== \"textord\" && lookupSymbol(value, \"Math-BoldItalic\", mode).metrics) {\n return {\n fontName: \"Math-BoldItalic\",\n fontClass: \"boldsymbol\"\n };\n } else {\n // Some glyphs do not exist in Math-BoldItalic so we need to use\n // Main-Bold instead.\n return {\n fontName: \"Main-Bold\",\n fontClass: \"mathbf\"\n };\n }\n};\n/**\n * Makes either a mathord or textord in the correct font and color.\n */\n\n\nconst makeOrd = function (group, options, type) {\n const mode = group.mode;\n const text = group.text;\n const classes = [\"mord\"]; // Math mode or Old font (i.e. \\rm)\n\n const isFont = mode === \"math\" || mode === \"text\" && options.font;\n const fontOrFamily = isFont ? options.font : options.fontFamily;\n let wideFontName = \"\";\n let wideFontClass = \"\";\n\n if (text.charCodeAt(0) === 0xD835) {\n [wideFontName, wideFontClass] = wideCharacterFont(text, mode);\n }\n\n if (wideFontName.length > 0) {\n // surrogate pairs get special treatment\n return makeSymbol(text, wideFontName, mode, options, classes.concat(wideFontClass));\n } else if (fontOrFamily) {\n let fontName;\n let fontClasses;\n\n if (fontOrFamily === \"boldsymbol\") {\n const fontData = boldsymbol(text, mode, options, classes, type);\n fontName = fontData.fontName;\n fontClasses = [fontData.fontClass];\n } else if (isFont) {\n fontName = fontMap[fontOrFamily].fontName;\n fontClasses = [fontOrFamily];\n } else {\n fontName = retrieveTextFontName(fontOrFamily, options.fontWeight, options.fontShape);\n fontClasses = [fontOrFamily, options.fontWeight, options.fontShape];\n }\n\n if (lookupSymbol(text, fontName, mode).metrics) {\n return makeSymbol(text, fontName, mode, options, classes.concat(fontClasses));\n } else if (ligatures.hasOwnProperty(text) && fontName.slice(0, 10) === \"Typewriter\") {\n // Deconstruct ligatures in monospace fonts (\\texttt, \\tt).\n const parts = [];\n\n for (let i = 0; i < text.length; i++) {\n parts.push(makeSymbol(text[i], fontName, mode, options, classes.concat(fontClasses)));\n }\n\n return makeFragment(parts);\n }\n } // Makes a symbol in the default font for mathords and textords.\n\n\n if (type === \"mathord\") {\n return makeSymbol(text, \"Math-Italic\", mode, options, classes.concat([\"mathnormal\"]));\n } else if (type === \"textord\") {\n const font = src_symbols[mode][text] && src_symbols[mode][text].font;\n\n if (font === \"ams\") {\n const fontName = retrieveTextFontName(\"amsrm\", options.fontWeight, options.fontShape);\n return makeSymbol(text, fontName, mode, options, classes.concat(\"amsrm\", options.fontWeight, options.fontShape));\n } else if (font === \"main\" || !font) {\n const fontName = retrieveTextFontName(\"textrm\", options.fontWeight, options.fontShape);\n return makeSymbol(text, fontName, mode, options, classes.concat(options.fontWeight, options.fontShape));\n } else {\n // fonts added by plugins\n const fontName = retrieveTextFontName(font, options.fontWeight, options.fontShape); // We add font name as a css class\n\n return makeSymbol(text, fontName, mode, options, classes.concat(fontName, options.fontWeight, options.fontShape));\n }\n } else {\n throw new Error(\"unexpected type: \" + type + \" in makeOrd\");\n }\n};\n/**\n * Returns true if subsequent symbolNodes have the same classes, skew, maxFont,\n * and styles.\n */\n\n\nconst canCombine = (prev, next) => {\n if (createClass(prev.classes) !== createClass(next.classes) || prev.skew !== next.skew || prev.maxFontSize !== next.maxFontSize) {\n return false;\n } // If prev and next both are just \"mbin\"s or \"mord\"s we don't combine them\n // so that the proper spacing can be preserved.\n\n\n if (prev.classes.length === 1) {\n const cls = prev.classes[0];\n\n if (cls === \"mbin\" || cls === \"mord\") {\n return false;\n }\n }\n\n for (const style in prev.style) {\n if (prev.style.hasOwnProperty(style) && prev.style[style] !== next.style[style]) {\n return false;\n }\n }\n\n for (const style in next.style) {\n if (next.style.hasOwnProperty(style) && prev.style[style] !== next.style[style]) {\n return false;\n }\n }\n\n return true;\n};\n/**\n * Combine consecutive domTree.symbolNodes into a single symbolNode.\n * Note: this function mutates the argument.\n */\n\n\nconst tryCombineChars = chars => {\n for (let i = 0; i < chars.length - 1; i++) {\n const prev = chars[i];\n const next = chars[i + 1];\n\n if (prev instanceof SymbolNode && next instanceof SymbolNode && canCombine(prev, next)) {\n prev.text += next.text;\n prev.height = Math.max(prev.height, next.height);\n prev.depth = Math.max(prev.depth, next.depth); // Use the last character's italic correction since we use\n // it to add padding to the right of the span created from\n // the combined characters.\n\n prev.italic = next.italic;\n chars.splice(i + 1, 1);\n i--;\n }\n }\n\n return chars;\n};\n/**\n * Calculate the height, depth, and maxFontSize of an element based on its\n * children.\n */\n\n\nconst sizeElementFromChildren = function (elem) {\n let height = 0;\n let depth = 0;\n let maxFontSize = 0;\n\n for (let i = 0; i < elem.children.length; i++) {\n const child = elem.children[i];\n\n if (child.height > height) {\n height = child.height;\n }\n\n if (child.depth > depth) {\n depth = child.depth;\n }\n\n if (child.maxFontSize > maxFontSize) {\n maxFontSize = child.maxFontSize;\n }\n }\n\n elem.height = height;\n elem.depth = depth;\n elem.maxFontSize = maxFontSize;\n};\n/**\n * Makes a span with the given list of classes, list of children, and options.\n *\n * TODO(#953): Ensure that `options` is always provided (currently some call\n * sites don't pass it) and make the type below mandatory.\n * TODO: add a separate argument for math class (e.g. `mop`, `mbin`), which\n * should if present come first in `classes`.\n */\n\n\nconst makeSpan = function (classes, children, options, style) {\n const span = new Span(classes, children, options, style);\n sizeElementFromChildren(span);\n return span;\n}; // SVG one is simpler -- doesn't require height, depth, max-font setting.\n// This is also a separate method for typesafety.\n\n\nconst makeSvgSpan = (classes, children, options, style) => new Span(classes, children, options, style);\n\nconst makeLineSpan = function (className, options, thickness) {\n const line = makeSpan([className], [], options);\n line.height = Math.max(thickness || options.fontMetrics().defaultRuleThickness, options.minRuleThickness);\n line.style.borderBottomWidth = makeEm(line.height);\n line.maxFontSize = 1.0;\n return line;\n};\n/**\n * Makes an anchor with the given href, list of classes, list of children,\n * and options.\n */\n\n\nconst makeAnchor = function (href, classes, children, options) {\n const anchor = new Anchor(href, classes, children, options);\n sizeElementFromChildren(anchor);\n return anchor;\n};\n/**\n * Makes a document fragment with the given list of children.\n */\n\n\nconst makeFragment = function (children) {\n const fragment = new DocumentFragment(children);\n sizeElementFromChildren(fragment);\n return fragment;\n};\n/**\n * Wraps group in a span if it's a document fragment, allowing to apply classes\n * and styles\n */\n\n\nconst wrapFragment = function (group, options) {\n if (group instanceof DocumentFragment) {\n return makeSpan([], [group], options);\n }\n\n return group;\n}; // These are exact object types to catch typos in the names of the optional fields.\n\n\n// Computes the updated `children` list and the overall depth.\n//\n// This helper function for makeVList makes it easier to enforce type safety by\n// allowing early exits (returns) in the logic.\nconst getVListChildrenAndDepth = function (params) {\n if (params.positionType === \"individualShift\") {\n const oldChildren = params.children;\n const children = [oldChildren[0]]; // Add in kerns to the list of params.children to get each element to be\n // shifted to the correct specified shift\n\n const depth = -oldChildren[0].shift - oldChildren[0].elem.depth;\n let currPos = depth;\n\n for (let i = 1; i < oldChildren.length; i++) {\n const diff = -oldChildren[i].shift - currPos - oldChildren[i].elem.depth;\n const size = diff - (oldChildren[i - 1].elem.height + oldChildren[i - 1].elem.depth);\n currPos = currPos + diff;\n children.push({\n type: \"kern\",\n size\n });\n children.push(oldChildren[i]);\n }\n\n return {\n children,\n depth\n };\n }\n\n let depth;\n\n if (params.positionType === \"top\") {\n // We always start at the bottom, so calculate the bottom by adding up\n // all the sizes\n let bottom = params.positionData;\n\n for (let i = 0; i < params.children.length; i++) {\n const child = params.children[i];\n bottom -= child.type === \"kern\" ? child.size : child.elem.height + child.elem.depth;\n }\n\n depth = bottom;\n } else if (params.positionType === \"bottom\") {\n depth = -params.positionData;\n } else {\n const firstChild = params.children[0];\n\n if (firstChild.type !== \"elem\") {\n throw new Error('First child must have type \"elem\".');\n }\n\n if (params.positionType === \"shift\") {\n depth = -firstChild.elem.depth - params.positionData;\n } else if (params.positionType === \"firstBaseline\") {\n depth = -firstChild.elem.depth;\n } else {\n throw new Error(\"Invalid positionType \" + params.positionType + \".\");\n }\n }\n\n return {\n children: params.children,\n depth\n };\n};\n/**\n * Makes a vertical list by stacking elements and kerns on top of each other.\n * Allows for many different ways of specifying the positioning method.\n *\n * See VListParam documentation above.\n */\n\n\nconst makeVList = function (params, options) {\n const {\n children,\n depth\n } = getVListChildrenAndDepth(params); // Create a strut that is taller than any list item. The strut is added to\n // each item, where it will determine the item's baseline. Since it has\n // `overflow:hidden`, the strut's top edge will sit on the item's line box's\n // top edge and the strut's bottom edge will sit on the item's baseline,\n // with no additional line-height spacing. This allows the item baseline to\n // be positioned precisely without worrying about font ascent and\n // line-height.\n\n let pstrutSize = 0;\n\n for (let i = 0; i < children.length; i++) {\n const child = children[i];\n\n if (child.type === \"elem\") {\n const elem = child.elem;\n pstrutSize = Math.max(pstrutSize, elem.maxFontSize, elem.height);\n }\n }\n\n pstrutSize += 2;\n const pstrut = makeSpan([\"pstrut\"], []);\n pstrut.style.height = makeEm(pstrutSize); // Create a new list of actual children at the correct offsets\n\n const realChildren = [];\n let minPos = depth;\n let maxPos = depth;\n let currPos = depth;\n\n for (let i = 0; i < children.length; i++) {\n const child = children[i];\n\n if (child.type === \"kern\") {\n currPos += child.size;\n } else {\n const elem = child.elem;\n const classes = child.wrapperClasses || [];\n const style = child.wrapperStyle || {};\n const childWrap = makeSpan(classes, [pstrut, elem], undefined, style);\n childWrap.style.top = makeEm(-pstrutSize - currPos - elem.depth);\n\n if (child.marginLeft) {\n childWrap.style.marginLeft = child.marginLeft;\n }\n\n if (child.marginRight) {\n childWrap.style.marginRight = child.marginRight;\n }\n\n realChildren.push(childWrap);\n currPos += elem.height + elem.depth;\n }\n\n minPos = Math.min(minPos, currPos);\n maxPos = Math.max(maxPos, currPos);\n } // The vlist contents go in a table-cell with `vertical-align:bottom`.\n // This cell's bottom edge will determine the containing table's baseline\n // without overly expanding the containing line-box.\n\n\n const vlist = makeSpan([\"vlist\"], realChildren);\n vlist.style.height = makeEm(maxPos); // A second row is used if necessary to represent the vlist's depth.\n\n let rows;\n\n if (minPos < 0) {\n // We will define depth in an empty span with display: table-cell.\n // It should render with the height that we define. But Chrome, in\n // contenteditable mode only, treats that span as if it contains some\n // text content. And that min-height over-rides our desired height.\n // So we put another empty span inside the depth strut span.\n const emptySpan = makeSpan([], []);\n const depthStrut = makeSpan([\"vlist\"], [emptySpan]);\n depthStrut.style.height = makeEm(-minPos); // Safari wants the first row to have inline content; otherwise it\n // puts the bottom of the *second* row on the baseline.\n\n const topStrut = makeSpan([\"vlist-s\"], [new SymbolNode(\"\\u200b\")]);\n rows = [makeSpan([\"vlist-r\"], [vlist, topStrut]), makeSpan([\"vlist-r\"], [depthStrut])];\n } else {\n rows = [makeSpan([\"vlist-r\"], [vlist])];\n }\n\n const vtable = makeSpan([\"vlist-t\"], rows);\n\n if (rows.length === 2) {\n vtable.classes.push(\"vlist-t2\");\n }\n\n vtable.height = maxPos;\n vtable.depth = -minPos;\n return vtable;\n}; // Glue is a concept from TeX which is a flexible space between elements in\n// either a vertical or horizontal list. In KaTeX, at least for now, it's\n// static space between elements in a horizontal layout.\n\n\nconst makeGlue = (measurement, options) => {\n // Make an empty span for the space\n const rule = makeSpan([\"mspace\"], [], options);\n const size = calculateSize(measurement, options);\n rule.style.marginRight = makeEm(size);\n return rule;\n}; // Takes font options, and returns the appropriate fontLookup name\n\n\nconst retrieveTextFontName = function (fontFamily, fontWeight, fontShape) {\n let baseFontName = \"\";\n\n switch (fontFamily) {\n case \"amsrm\":\n baseFontName = \"AMS\";\n break;\n\n case \"textrm\":\n baseFontName = \"Main\";\n break;\n\n case \"textsf\":\n baseFontName = \"SansSerif\";\n break;\n\n case \"texttt\":\n baseFontName = \"Typewriter\";\n break;\n\n default:\n baseFontName = fontFamily;\n // use fonts added by a plugin\n }\n\n let fontStylesName;\n\n if (fontWeight === \"textbf\" && fontShape === \"textit\") {\n fontStylesName = \"BoldItalic\";\n } else if (fontWeight === \"textbf\") {\n fontStylesName = \"Bold\";\n } else if (fontWeight === \"textit\") {\n fontStylesName = \"Italic\";\n } else {\n fontStylesName = \"Regular\";\n }\n\n return baseFontName + \"-\" + fontStylesName;\n};\n/**\n * Maps TeX font commands to objects containing:\n * - variant: string used for \"mathvariant\" attribute in buildMathML.js\n * - fontName: the \"style\" parameter to fontMetrics.getCharacterMetrics\n */\n// A map between tex font commands an MathML mathvariant attribute values\n\n\nconst fontMap = {\n // styles\n \"mathbf\": {\n variant: \"bold\",\n fontName: \"Main-Bold\"\n },\n \"mathrm\": {\n variant: \"normal\",\n fontName: \"Main-Regular\"\n },\n \"textit\": {\n variant: \"italic\",\n fontName: \"Main-Italic\"\n },\n \"mathit\": {\n variant: \"italic\",\n fontName: \"Main-Italic\"\n },\n \"mathnormal\": {\n variant: \"italic\",\n fontName: \"Math-Italic\"\n },\n // \"boldsymbol\" is missing because they require the use of multiple fonts:\n // Math-BoldItalic and Main-Bold. This is handled by a special case in\n // makeOrd which ends up calling boldsymbol.\n // families\n \"mathbb\": {\n variant: \"double-struck\",\n fontName: \"AMS-Regular\"\n },\n \"mathcal\": {\n variant: \"script\",\n fontName: \"Caligraphic-Regular\"\n },\n \"mathfrak\": {\n variant: \"fraktur\",\n fontName: \"Fraktur-Regular\"\n },\n \"mathscr\": {\n variant: \"script\",\n fontName: \"Script-Regular\"\n },\n \"mathsf\": {\n variant: \"sans-serif\",\n fontName: \"SansSerif-Regular\"\n },\n \"mathtt\": {\n variant: \"monospace\",\n fontName: \"Typewriter-Regular\"\n }\n};\nconst svgData = {\n // path, width, height\n vec: [\"vec\", 0.471, 0.714],\n // values from the font glyph\n oiintSize1: [\"oiintSize1\", 0.957, 0.499],\n // oval to overlay the integrand\n oiintSize2: [\"oiintSize2\", 1.472, 0.659],\n oiiintSize1: [\"oiiintSize1\", 1.304, 0.499],\n oiiintSize2: [\"oiiintSize2\", 1.98, 0.659]\n};\n\nconst staticSvg = function (value, options) {\n // Create a span with inline SVG for the element.\n const [pathName, width, height] = svgData[value];\n const path = new PathNode(pathName);\n const svgNode = new SvgNode([path], {\n \"width\": makeEm(width),\n \"height\": makeEm(height),\n // Override CSS rule `.katex svg { width: 100% }`\n \"style\": \"width:\" + makeEm(width),\n \"viewBox\": \"0 0 \" + 1000 * width + \" \" + 1000 * height,\n \"preserveAspectRatio\": \"xMinYMin\"\n });\n const span = makeSvgSpan([\"overlay\"], [svgNode], options);\n span.height = height;\n span.style.height = makeEm(height);\n span.style.width = makeEm(width);\n return span;\n};\n\n/* harmony default export */ var buildCommon = ({\n fontMap,\n makeSymbol,\n mathsym,\n makeSpan,\n makeSvgSpan,\n makeLineSpan,\n makeAnchor,\n makeFragment,\n wrapFragment,\n makeVList,\n makeOrd,\n makeGlue,\n staticSvg,\n svgData,\n tryCombineChars\n});\n;// CONCATENATED MODULE: ./src/spacingData.js\n/**\n * Describes spaces between different classes of atoms.\n */\nconst thinspace = {\n number: 3,\n unit: \"mu\"\n};\nconst mediumspace = {\n number: 4,\n unit: \"mu\"\n};\nconst thickspace = {\n number: 5,\n unit: \"mu\"\n}; // Making the type below exact with all optional fields doesn't work due to\n// - https://github.com/facebook/flow/issues/4582\n// - https://github.com/facebook/flow/issues/5688\n// However, since *all* fields are optional, $Shape<> works as suggested in 5688\n// above.\n\n// Spacing relationships for display and text styles\nconst spacings = {\n mord: {\n mop: thinspace,\n mbin: mediumspace,\n mrel: thickspace,\n minner: thinspace\n },\n mop: {\n mord: thinspace,\n mop: thinspace,\n mrel: thickspace,\n minner: thinspace\n },\n mbin: {\n mord: mediumspace,\n mop: mediumspace,\n mopen: mediumspace,\n minner: mediumspace\n },\n mrel: {\n mord: thickspace,\n mop: thickspace,\n mopen: thickspace,\n minner: thickspace\n },\n mopen: {},\n mclose: {\n mop: thinspace,\n mbin: mediumspace,\n mrel: thickspace,\n minner: thinspace\n },\n mpunct: {\n mord: thinspace,\n mop: thinspace,\n mrel: thickspace,\n mopen: thinspace,\n mclose: thinspace,\n mpunct: thinspace,\n minner: thinspace\n },\n minner: {\n mord: thinspace,\n mop: thinspace,\n mbin: mediumspace,\n mrel: thickspace,\n mopen: thinspace,\n mpunct: thinspace,\n minner: thinspace\n }\n}; // Spacing relationships for script and scriptscript styles\n\nconst tightSpacings = {\n mord: {\n mop: thinspace\n },\n mop: {\n mord: thinspace,\n mop: thinspace\n },\n mbin: {},\n mrel: {},\n mopen: {},\n mclose: {\n mop: thinspace\n },\n mpunct: {},\n minner: {\n mop: thinspace\n }\n};\n;// CONCATENATED MODULE: ./src/defineFunction.js\n/** Context provided to function handlers for error messages. */\n// Note: reverse the order of the return type union will cause a flow error.\n// See https://github.com/facebook/flow/issues/3663.\n// More general version of `HtmlBuilder` for nodes (e.g. \\sum, accent types)\n// whose presence impacts super/subscripting. In this case, ParseNode<\"supsub\">\n// delegates its HTML building to the HtmlBuilder corresponding to these nodes.\n\n/**\n * Final function spec for use at parse time.\n * This is almost identical to `FunctionPropSpec`, except it\n * 1. includes the function handler, and\n * 2. requires all arguments except argTypes.\n * It is generated by `defineFunction()` below.\n */\n\n/**\n * All registered functions.\n * `functions.js` just exports this same dictionary again and makes it public.\n * `Parser.js` requires this dictionary.\n */\nconst _functions = {};\n/**\n * All HTML builders. Should be only used in the `define*` and the `build*ML`\n * functions.\n */\n\nconst _htmlGroupBuilders = {};\n/**\n * All MathML builders. Should be only used in the `define*` and the `build*ML`\n * functions.\n */\n\nconst _mathmlGroupBuilders = {};\nfunction defineFunction(_ref) {\n let {\n type,\n names,\n props,\n handler,\n htmlBuilder,\n mathmlBuilder\n } = _ref;\n // Set default values of functions\n const data = {\n type,\n numArgs: props.numArgs,\n argTypes: props.argTypes,\n allowedInArgument: !!props.allowedInArgument,\n allowedInText: !!props.allowedInText,\n allowedInMath: props.allowedInMath === undefined ? true : props.allowedInMath,\n numOptionalArgs: props.numOptionalArgs || 0,\n infix: !!props.infix,\n primitive: !!props.primitive,\n handler: handler\n };\n\n for (let i = 0; i < names.length; ++i) {\n _functions[names[i]] = data;\n }\n\n if (type) {\n if (htmlBuilder) {\n _htmlGroupBuilders[type] = htmlBuilder;\n }\n\n if (mathmlBuilder) {\n _mathmlGroupBuilders[type] = mathmlBuilder;\n }\n }\n}\n/**\n * Use this to register only the HTML and MathML builders for a function (e.g.\n * if the function's ParseNode is generated in Parser.js rather than via a\n * stand-alone handler provided to `defineFunction`).\n */\n\nfunction defineFunctionBuilders(_ref2) {\n let {\n type,\n htmlBuilder,\n mathmlBuilder\n } = _ref2;\n defineFunction({\n type,\n names: [],\n props: {\n numArgs: 0\n },\n\n handler() {\n throw new Error('Should never be called.');\n },\n\n htmlBuilder,\n mathmlBuilder\n });\n}\nconst normalizeArgument = function (arg) {\n return arg.type === \"ordgroup\" && arg.body.length === 1 ? arg.body[0] : arg;\n}; // Since the corresponding buildHTML/buildMathML function expects a\n// list of elements, we normalize for different kinds of arguments\n\nconst ordargument = function (arg) {\n return arg.type === \"ordgroup\" ? arg.body : [arg];\n};\n;// CONCATENATED MODULE: ./src/buildHTML.js\n/**\n * This file does the main work of building a domTree structure from a parse\n * tree. The entry point is the `buildHTML` function, which takes a parse tree.\n * Then, the buildExpression, buildGroup, and various groupBuilders functions\n * are called, to produce a final HTML tree.\n */\n\n\n\n\n\n\n\n\n\nconst buildHTML_makeSpan = buildCommon.makeSpan; // Binary atoms (first class `mbin`) change into ordinary atoms (`mord`)\n// depending on their surroundings. See TeXbook pg. 442-446, Rules 5 and 6,\n// and the text before Rule 19.\n\nconst binLeftCanceller = [\"leftmost\", \"mbin\", \"mopen\", \"mrel\", \"mop\", \"mpunct\"];\nconst binRightCanceller = [\"rightmost\", \"mrel\", \"mclose\", \"mpunct\"];\nconst styleMap = {\n \"display\": src_Style.DISPLAY,\n \"text\": src_Style.TEXT,\n \"script\": src_Style.SCRIPT,\n \"scriptscript\": src_Style.SCRIPTSCRIPT\n};\nconst DomEnum = {\n mord: \"mord\",\n mop: \"mop\",\n mbin: \"mbin\",\n mrel: \"mrel\",\n mopen: \"mopen\",\n mclose: \"mclose\",\n mpunct: \"mpunct\",\n minner: \"minner\"\n};\n\n/**\n * Take a list of nodes, build them in order, and return a list of the built\n * nodes. documentFragments are flattened into their contents, so the\n * returned list contains no fragments. `isRealGroup` is true if `expression`\n * is a real group (no atoms will be added on either side), as opposed to\n * a partial group (e.g. one created by \\color). `surrounding` is an array\n * consisting type of nodes that will be added to the left and right.\n */\nconst buildExpression = function (expression, options, isRealGroup, surrounding) {\n if (surrounding === void 0) {\n surrounding = [null, null];\n }\n\n // Parse expressions into `groups`.\n const groups = [];\n\n for (let i = 0; i < expression.length; i++) {\n const output = buildGroup(expression[i], options);\n\n if (output instanceof DocumentFragment) {\n const children = output.children;\n groups.push(...children);\n } else {\n groups.push(output);\n }\n } // Combine consecutive domTree.symbolNodes into a single symbolNode.\n\n\n buildCommon.tryCombineChars(groups); // If `expression` is a partial group, let the parent handle spacings\n // to avoid processing groups multiple times.\n\n if (!isRealGroup) {\n return groups;\n }\n\n let glueOptions = options;\n\n if (expression.length === 1) {\n const node = expression[0];\n\n if (node.type === \"sizing\") {\n glueOptions = options.havingSize(node.size);\n } else if (node.type === \"styling\") {\n glueOptions = options.havingStyle(styleMap[node.style]);\n }\n } // Dummy spans for determining spacings between surrounding atoms.\n // If `expression` has no atoms on the left or right, class \"leftmost\"\n // or \"rightmost\", respectively, is used to indicate it.\n\n\n const dummyPrev = buildHTML_makeSpan([surrounding[0] || \"leftmost\"], [], options);\n const dummyNext = buildHTML_makeSpan([surrounding[1] || \"rightmost\"], [], options); // TODO: These code assumes that a node's math class is the first element\n // of its `classes` array. A later cleanup should ensure this, for\n // instance by changing the signature of `makeSpan`.\n // Before determining what spaces to insert, perform bin cancellation.\n // Binary operators change to ordinary symbols in some contexts.\n\n const isRoot = isRealGroup === \"root\";\n traverseNonSpaceNodes(groups, (node, prev) => {\n const prevType = prev.classes[0];\n const type = node.classes[0];\n\n if (prevType === \"mbin\" && utils.contains(binRightCanceller, type)) {\n prev.classes[0] = \"mord\";\n } else if (type === \"mbin\" && utils.contains(binLeftCanceller, prevType)) {\n node.classes[0] = \"mord\";\n }\n }, {\n node: dummyPrev\n }, dummyNext, isRoot);\n traverseNonSpaceNodes(groups, (node, prev) => {\n const prevType = getTypeOfDomTree(prev);\n const type = getTypeOfDomTree(node); // 'mtight' indicates that the node is script or scriptscript style.\n\n const space = prevType && type ? node.hasClass(\"mtight\") ? tightSpacings[prevType][type] : spacings[prevType][type] : null;\n\n if (space) {\n // Insert glue (spacing) after the `prev`.\n return buildCommon.makeGlue(space, glueOptions);\n }\n }, {\n node: dummyPrev\n }, dummyNext, isRoot);\n return groups;\n}; // Depth-first traverse non-space `nodes`, calling `callback` with the current and\n// previous node as arguments, optionally returning a node to insert after the\n// previous node. `prev` is an object with the previous node and `insertAfter`\n// function to insert after it. `next` is a node that will be added to the right.\n// Used for bin cancellation and inserting spacings.\n\nconst traverseNonSpaceNodes = function (nodes, callback, prev, next, isRoot) {\n if (next) {\n // temporarily append the right node, if exists\n nodes.push(next);\n }\n\n let i = 0;\n\n for (; i < nodes.length; i++) {\n const node = nodes[i];\n const partialGroup = checkPartialGroup(node);\n\n if (partialGroup) {\n // Recursive DFS\n // $FlowFixMe: make nodes a $ReadOnlyArray by returning a new array\n traverseNonSpaceNodes(partialGroup.children, callback, prev, null, isRoot);\n continue;\n } // Ignore explicit spaces (e.g., \\;, \\,) when determining what implicit\n // spacing should go between atoms of different classes\n\n\n const nonspace = !node.hasClass(\"mspace\");\n\n if (nonspace) {\n const result = callback(node, prev.node);\n\n if (result) {\n if (prev.insertAfter) {\n prev.insertAfter(result);\n } else {\n // insert at front\n nodes.unshift(result);\n i++;\n }\n }\n }\n\n if (nonspace) {\n prev.node = node;\n } else if (isRoot && node.hasClass(\"newline\")) {\n prev.node = buildHTML_makeSpan([\"leftmost\"]); // treat like beginning of line\n }\n\n prev.insertAfter = (index => n => {\n nodes.splice(index + 1, 0, n);\n i++;\n })(i);\n }\n\n if (next) {\n nodes.pop();\n }\n}; // Check if given node is a partial group, i.e., does not affect spacing around.\n\n\nconst checkPartialGroup = function (node) {\n if (node instanceof DocumentFragment || node instanceof Anchor || node instanceof Span && node.hasClass(\"enclosing\")) {\n return node;\n }\n\n return null;\n}; // Return the outermost node of a domTree.\n\n\nconst getOutermostNode = function (node, side) {\n const partialGroup = checkPartialGroup(node);\n\n if (partialGroup) {\n const children = partialGroup.children;\n\n if (children.length) {\n if (side === \"right\") {\n return getOutermostNode(children[children.length - 1], \"right\");\n } else if (side === \"left\") {\n return getOutermostNode(children[0], \"left\");\n }\n }\n }\n\n return node;\n}; // Return math atom class (mclass) of a domTree.\n// If `side` is given, it will get the type of the outermost node at given side.\n\n\nconst getTypeOfDomTree = function (node, side) {\n if (!node) {\n return null;\n }\n\n if (side) {\n node = getOutermostNode(node, side);\n } // This makes a lot of assumptions as to where the type of atom\n // appears. We should do a better job of enforcing this.\n\n\n return DomEnum[node.classes[0]] || null;\n};\nconst makeNullDelimiter = function (options, classes) {\n const moreClasses = [\"nulldelimiter\"].concat(options.baseSizingClasses());\n return buildHTML_makeSpan(classes.concat(moreClasses));\n};\n/**\n * buildGroup is the function that takes a group and calls the correct groupType\n * function for it. It also handles the interaction of size and style changes\n * between parents and children.\n */\n\nconst buildGroup = function (group, options, baseOptions) {\n if (!group) {\n return buildHTML_makeSpan();\n }\n\n if (_htmlGroupBuilders[group.type]) {\n // Call the groupBuilders function\n // $FlowFixMe\n let groupNode = _htmlGroupBuilders[group.type](group, options); // If the size changed between the parent and the current group, account\n // for that size difference.\n\n if (baseOptions && options.size !== baseOptions.size) {\n groupNode = buildHTML_makeSpan(options.sizingClasses(baseOptions), [groupNode], options);\n const multiplier = options.sizeMultiplier / baseOptions.sizeMultiplier;\n groupNode.height *= multiplier;\n groupNode.depth *= multiplier;\n }\n\n return groupNode;\n } else {\n throw new src_ParseError(\"Got group of unknown type: '\" + group.type + \"'\");\n }\n};\n/**\n * Combine an array of HTML DOM nodes (e.g., the output of `buildExpression`)\n * into an unbreakable HTML node of class .base, with proper struts to\n * guarantee correct vertical extent. `buildHTML` calls this repeatedly to\n * make up the entire expression as a sequence of unbreakable units.\n */\n\nfunction buildHTMLUnbreakable(children, options) {\n // Compute height and depth of this chunk.\n const body = buildHTML_makeSpan([\"base\"], children, options); // Add strut, which ensures that the top of the HTML element falls at\n // the height of the expression, and the bottom of the HTML element\n // falls at the depth of the expression.\n\n const strut = buildHTML_makeSpan([\"strut\"]);\n strut.style.height = makeEm(body.height + body.depth);\n\n if (body.depth) {\n strut.style.verticalAlign = makeEm(-body.depth);\n }\n\n body.children.unshift(strut);\n return body;\n}\n/**\n * Take an entire parse tree, and build it into an appropriate set of HTML\n * nodes.\n */\n\n\nfunction buildHTML(tree, options) {\n // Strip off outer tag wrapper for processing below.\n let tag = null;\n\n if (tree.length === 1 && tree[0].type === \"tag\") {\n tag = tree[0].tag;\n tree = tree[0].body;\n } // Build the expression contained in the tree\n\n\n const expression = buildExpression(tree, options, \"root\");\n let eqnNum;\n\n if (expression.length === 2 && expression[1].hasClass(\"tag\")) {\n // An environment with automatic equation numbers, e.g. {gather}.\n eqnNum = expression.pop();\n }\n\n const children = []; // Create one base node for each chunk between potential line breaks.\n // The TeXBook [p.173] says \"A formula will be broken only after a\n // relation symbol like $=$ or $<$ or $\\rightarrow$, or after a binary\n // operation symbol like $+$ or $-$ or $\\times$, where the relation or\n // binary operation is on the ``outer level'' of the formula (i.e., not\n // enclosed in {...} and not part of an \\over construction).\"\n\n let parts = [];\n\n for (let i = 0; i < expression.length; i++) {\n parts.push(expression[i]);\n\n if (expression[i].hasClass(\"mbin\") || expression[i].hasClass(\"mrel\") || expression[i].hasClass(\"allowbreak\")) {\n // Put any post-operator glue on same line as operator.\n // Watch for \\nobreak along the way, and stop at \\newline.\n let nobreak = false;\n\n while (i < expression.length - 1 && expression[i + 1].hasClass(\"mspace\") && !expression[i + 1].hasClass(\"newline\")) {\n i++;\n parts.push(expression[i]);\n\n if (expression[i].hasClass(\"nobreak\")) {\n nobreak = true;\n }\n } // Don't allow break if \\nobreak among the post-operator glue.\n\n\n if (!nobreak) {\n children.push(buildHTMLUnbreakable(parts, options));\n parts = [];\n }\n } else if (expression[i].hasClass(\"newline\")) {\n // Write the line except the newline\n parts.pop();\n\n if (parts.length > 0) {\n children.push(buildHTMLUnbreakable(parts, options));\n parts = [];\n } // Put the newline at the top level\n\n\n children.push(expression[i]);\n }\n }\n\n if (parts.length > 0) {\n children.push(buildHTMLUnbreakable(parts, options));\n } // Now, if there was a tag, build it too and append it as a final child.\n\n\n let tagChild;\n\n if (tag) {\n tagChild = buildHTMLUnbreakable(buildExpression(tag, options, true));\n tagChild.classes = [\"tag\"];\n children.push(tagChild);\n } else if (eqnNum) {\n children.push(eqnNum);\n }\n\n const htmlNode = buildHTML_makeSpan([\"katex-html\"], children);\n htmlNode.setAttribute(\"aria-hidden\", \"true\"); // Adjust the strut of the tag to be the maximum height of all children\n // (the height of the enclosing htmlNode) for proper vertical alignment.\n\n if (tagChild) {\n const strut = tagChild.children[0];\n strut.style.height = makeEm(htmlNode.height + htmlNode.depth);\n\n if (htmlNode.depth) {\n strut.style.verticalAlign = makeEm(-htmlNode.depth);\n }\n }\n\n return htmlNode;\n}\n;// CONCATENATED MODULE: ./src/mathMLTree.js\n/**\n * These objects store data about MathML nodes. This is the MathML equivalent\n * of the types in domTree.js. Since MathML handles its own rendering, and\n * since we're mainly using MathML to improve accessibility, we don't manage\n * any of the styling state that the plain DOM nodes do.\n *\n * The `toNode` and `toMarkup` functions work similarly to how they do in\n * domTree.js, creating namespaced DOM nodes and HTML text markup respectively.\n */\n\n\n\n\nfunction newDocumentFragment(children) {\n return new DocumentFragment(children);\n}\n/**\n * This node represents a general purpose MathML node of any type. The\n * constructor requires the type of node to create (for example, `\"mo\"` or\n * `\"mspace\"`, corresponding to `` and `` tags).\n */\n\nclass MathNode {\n constructor(type, children, classes) {\n this.type = void 0;\n this.attributes = void 0;\n this.children = void 0;\n this.classes = void 0;\n this.type = type;\n this.attributes = {};\n this.children = children || [];\n this.classes = classes || [];\n }\n /**\n * Sets an attribute on a MathML node. MathML depends on attributes to convey a\n * semantic content, so this is used heavily.\n */\n\n\n setAttribute(name, value) {\n this.attributes[name] = value;\n }\n /**\n * Gets an attribute on a MathML node.\n */\n\n\n getAttribute(name) {\n return this.attributes[name];\n }\n /**\n * Converts the math node into a MathML-namespaced DOM element.\n */\n\n\n toNode() {\n const node = document.createElementNS(\"http://www.w3.org/1998/Math/MathML\", this.type);\n\n for (const attr in this.attributes) {\n if (Object.prototype.hasOwnProperty.call(this.attributes, attr)) {\n node.setAttribute(attr, this.attributes[attr]);\n }\n }\n\n if (this.classes.length > 0) {\n node.className = createClass(this.classes);\n }\n\n for (let i = 0; i < this.children.length; i++) {\n node.appendChild(this.children[i].toNode());\n }\n\n return node;\n }\n /**\n * Converts the math node into an HTML markup string.\n */\n\n\n toMarkup() {\n let markup = \"<\" + this.type; // Add the attributes\n\n for (const attr in this.attributes) {\n if (Object.prototype.hasOwnProperty.call(this.attributes, attr)) {\n markup += \" \" + attr + \"=\\\"\";\n markup += utils.escape(this.attributes[attr]);\n markup += \"\\\"\";\n }\n }\n\n if (this.classes.length > 0) {\n markup += \" class =\\\"\" + utils.escape(createClass(this.classes)) + \"\\\"\";\n }\n\n markup += \">\";\n\n for (let i = 0; i < this.children.length; i++) {\n markup += this.children[i].toMarkup();\n }\n\n markup += \"\" + this.type + \">\";\n return markup;\n }\n /**\n * Converts the math node into a string, similar to innerText, but escaped.\n */\n\n\n toText() {\n return this.children.map(child => child.toText()).join(\"\");\n }\n\n}\n/**\n * This node represents a piece of text.\n */\n\nclass TextNode {\n constructor(text) {\n this.text = void 0;\n this.text = text;\n }\n /**\n * Converts the text node into a DOM text node.\n */\n\n\n toNode() {\n return document.createTextNode(this.text);\n }\n /**\n * Converts the text node into escaped HTML markup\n * (representing the text itself).\n */\n\n\n toMarkup() {\n return utils.escape(this.toText());\n }\n /**\n * Converts the text node into a string\n * (representing the text itself).\n */\n\n\n toText() {\n return this.text;\n }\n\n}\n/**\n * This node represents a space, but may render as or as text,\n * depending on the width.\n */\n\nclass SpaceNode {\n /**\n * Create a Space node with width given in CSS ems.\n */\n constructor(width) {\n this.width = void 0;\n this.character = void 0;\n this.width = width; // See https://www.w3.org/TR/2000/WD-MathML2-20000328/chapter6.html\n // for a table of space-like characters. We use Unicode\n // representations instead of &LongNames; as it's not clear how to\n // make the latter via document.createTextNode.\n\n if (width >= 0.05555 && width <= 0.05556) {\n this.character = \"\\u200a\"; //  \n } else if (width >= 0.1666 && width <= 0.1667) {\n this.character = \"\\u2009\"; //  \n } else if (width >= 0.2222 && width <= 0.2223) {\n this.character = \"\\u2005\"; //  \n } else if (width >= 0.2777 && width <= 0.2778) {\n this.character = \"\\u2005\\u200a\"; //   \n } else if (width >= -0.05556 && width <= -0.05555) {\n this.character = \"\\u200a\\u2063\"; // ​\n } else if (width >= -0.1667 && width <= -0.1666) {\n this.character = \"\\u2009\\u2063\"; // ​\n } else if (width >= -0.2223 && width <= -0.2222) {\n this.character = \"\\u205f\\u2063\"; // ​\n } else if (width >= -0.2778 && width <= -0.2777) {\n this.character = \"\\u2005\\u2063\"; // ​\n } else {\n this.character = null;\n }\n }\n /**\n * Converts the math node into a MathML-namespaced DOM element.\n */\n\n\n toNode() {\n if (this.character) {\n return document.createTextNode(this.character);\n } else {\n const node = document.createElementNS(\"http://www.w3.org/1998/Math/MathML\", \"mspace\");\n node.setAttribute(\"width\", makeEm(this.width));\n return node;\n }\n }\n /**\n * Converts the math node into an HTML markup string.\n */\n\n\n toMarkup() {\n if (this.character) {\n return \"\" + this.character + \" \";\n } else {\n return \" \";\n }\n }\n /**\n * Converts the math node into a string, similar to innerText.\n */\n\n\n toText() {\n if (this.character) {\n return this.character;\n } else {\n return \" \";\n }\n }\n\n}\n\n/* harmony default export */ var mathMLTree = ({\n MathNode,\n TextNode,\n SpaceNode,\n newDocumentFragment\n});\n;// CONCATENATED MODULE: ./src/buildMathML.js\n/**\n * This file converts a parse tree into a corresponding MathML tree. The main\n * entry point is the `buildMathML` function, which takes a parse tree from the\n * parser.\n */\n\n\n\n\n\n\n\n\n\n/**\n * Takes a symbol and converts it into a MathML text node after performing\n * optional replacement from symbols.js.\n */\nconst makeText = function (text, mode, options) {\n if (src_symbols[mode][text] && src_symbols[mode][text].replace && text.charCodeAt(0) !== 0xD835 && !(ligatures.hasOwnProperty(text) && options && (options.fontFamily && options.fontFamily.slice(4, 6) === \"tt\" || options.font && options.font.slice(4, 6) === \"tt\"))) {\n text = src_symbols[mode][text].replace;\n }\n\n return new mathMLTree.TextNode(text);\n};\n/**\n * Wrap the given array of nodes in an node if needed, i.e.,\n * unless the array has length 1. Always returns a single node.\n */\n\nconst makeRow = function (body) {\n if (body.length === 1) {\n return body[0];\n } else {\n return new mathMLTree.MathNode(\"mrow\", body);\n }\n};\n/**\n * Returns the math variant as a string or null if none is required.\n */\n\nconst getVariant = function (group, options) {\n // Handle \\text... font specifiers as best we can.\n // MathML has a limited list of allowable mathvariant specifiers; see\n // https://www.w3.org/TR/MathML3/chapter3.html#presm.commatt\n if (options.fontFamily === \"texttt\") {\n return \"monospace\";\n } else if (options.fontFamily === \"textsf\") {\n if (options.fontShape === \"textit\" && options.fontWeight === \"textbf\") {\n return \"sans-serif-bold-italic\";\n } else if (options.fontShape === \"textit\") {\n return \"sans-serif-italic\";\n } else if (options.fontWeight === \"textbf\") {\n return \"bold-sans-serif\";\n } else {\n return \"sans-serif\";\n }\n } else if (options.fontShape === \"textit\" && options.fontWeight === \"textbf\") {\n return \"bold-italic\";\n } else if (options.fontShape === \"textit\") {\n return \"italic\";\n } else if (options.fontWeight === \"textbf\") {\n return \"bold\";\n }\n\n const font = options.font;\n\n if (!font || font === \"mathnormal\") {\n return null;\n }\n\n const mode = group.mode;\n\n if (font === \"mathit\") {\n return \"italic\";\n } else if (font === \"boldsymbol\") {\n return group.type === \"textord\" ? \"bold\" : \"bold-italic\";\n } else if (font === \"mathbf\") {\n return \"bold\";\n } else if (font === \"mathbb\") {\n return \"double-struck\";\n } else if (font === \"mathfrak\") {\n return \"fraktur\";\n } else if (font === \"mathscr\" || font === \"mathcal\") {\n // MathML makes no distinction between script and calligraphic\n return \"script\";\n } else if (font === \"mathsf\") {\n return \"sans-serif\";\n } else if (font === \"mathtt\") {\n return \"monospace\";\n }\n\n let text = group.text;\n\n if (utils.contains([\"\\\\imath\", \"\\\\jmath\"], text)) {\n return null;\n }\n\n if (src_symbols[mode][text] && src_symbols[mode][text].replace) {\n text = src_symbols[mode][text].replace;\n }\n\n const fontName = buildCommon.fontMap[font].fontName;\n\n if (getCharacterMetrics(text, fontName, mode)) {\n return buildCommon.fontMap[font].variant;\n }\n\n return null;\n};\n/**\n * Takes a list of nodes, builds them, and returns a list of the generated\n * MathML nodes. Also combine consecutive outputs into a single\n * tag.\n */\n\nconst buildMathML_buildExpression = function (expression, options, isOrdgroup) {\n if (expression.length === 1) {\n const group = buildMathML_buildGroup(expression[0], options);\n\n if (isOrdgroup && group instanceof MathNode && group.type === \"mo\") {\n // When TeX writers want to suppress spacing on an operator,\n // they often put the operator by itself inside braces.\n group.setAttribute(\"lspace\", \"0em\");\n group.setAttribute(\"rspace\", \"0em\");\n }\n\n return [group];\n }\n\n const groups = [];\n let lastGroup;\n\n for (let i = 0; i < expression.length; i++) {\n const group = buildMathML_buildGroup(expression[i], options);\n\n if (group instanceof MathNode && lastGroup instanceof MathNode) {\n // Concatenate adjacent s\n if (group.type === 'mtext' && lastGroup.type === 'mtext' && group.getAttribute('mathvariant') === lastGroup.getAttribute('mathvariant')) {\n lastGroup.children.push(...group.children);\n continue; // Concatenate adjacent s\n } else if (group.type === 'mn' && lastGroup.type === 'mn') {\n lastGroup.children.push(...group.children);\n continue; // Concatenate ... followed by . \n } else if (group.type === 'mi' && group.children.length === 1 && lastGroup.type === 'mn') {\n const child = group.children[0];\n\n if (child instanceof TextNode && child.text === '.') {\n lastGroup.children.push(...group.children);\n continue;\n }\n } else if (lastGroup.type === 'mi' && lastGroup.children.length === 1) {\n const lastChild = lastGroup.children[0];\n\n if (lastChild instanceof TextNode && lastChild.text === '\\u0338' && (group.type === 'mo' || group.type === 'mi' || group.type === 'mn')) {\n const child = group.children[0];\n\n if (child instanceof TextNode && child.text.length > 0) {\n // Overlay with combining character long solidus\n child.text = child.text.slice(0, 1) + \"\\u0338\" + child.text.slice(1);\n groups.pop();\n }\n }\n }\n }\n\n groups.push(group);\n lastGroup = group;\n }\n\n return groups;\n};\n/**\n * Equivalent to buildExpression, but wraps the elements in an \n * if there's more than one. Returns a single node instead of an array.\n */\n\nconst buildExpressionRow = function (expression, options, isOrdgroup) {\n return makeRow(buildMathML_buildExpression(expression, options, isOrdgroup));\n};\n/**\n * Takes a group from the parser and calls the appropriate groupBuilders function\n * on it to produce a MathML node.\n */\n\nconst buildMathML_buildGroup = function (group, options) {\n if (!group) {\n return new mathMLTree.MathNode(\"mrow\");\n }\n\n if (_mathmlGroupBuilders[group.type]) {\n // Call the groupBuilders function\n // $FlowFixMe\n const result = _mathmlGroupBuilders[group.type](group, options); // $FlowFixMe\n\n return result;\n } else {\n throw new src_ParseError(\"Got group of unknown type: '\" + group.type + \"'\");\n }\n};\n/**\n * Takes a full parse tree and settings and builds a MathML representation of\n * it. In particular, we put the elements from building the parse tree into a\n * tag so we can also include that TeX source as an annotation.\n *\n * Note that we actually return a domTree element with a `` inside it so\n * we can do appropriate styling.\n */\n\nfunction buildMathML(tree, texExpression, options, isDisplayMode, forMathmlOnly) {\n const expression = buildMathML_buildExpression(tree, options); // TODO: Make a pass thru the MathML similar to buildHTML.traverseNonSpaceNodes\n // and add spacing nodes. This is necessary only adjacent to math operators\n // like \\sin or \\lim or to subsup elements that contain math operators.\n // MathML takes care of the other spacing issues.\n // Wrap up the expression in an mrow so it is presented in the semantics\n // tag correctly, unless it's a single or .\n\n let wrapper;\n\n if (expression.length === 1 && expression[0] instanceof MathNode && utils.contains([\"mrow\", \"mtable\"], expression[0].type)) {\n wrapper = expression[0];\n } else {\n wrapper = new mathMLTree.MathNode(\"mrow\", expression);\n } // Build a TeX annotation of the source\n\n\n const annotation = new mathMLTree.MathNode(\"annotation\", [new mathMLTree.TextNode(texExpression)]);\n annotation.setAttribute(\"encoding\", \"application/x-tex\");\n const semantics = new mathMLTree.MathNode(\"semantics\", [wrapper, annotation]);\n const math = new mathMLTree.MathNode(\"math\", [semantics]);\n math.setAttribute(\"xmlns\", \"http://www.w3.org/1998/Math/MathML\");\n\n if (isDisplayMode) {\n math.setAttribute(\"display\", \"block\");\n } // You can't style nodes, so we wrap the node in a span.\n // NOTE: The span class is not typed to have nodes as children, and\n // we don't want to make the children type more generic since the children\n // of span are expected to have more fields in `buildHtml` contexts.\n\n\n const wrapperClass = forMathmlOnly ? \"katex\" : \"katex-mathml\"; // $FlowFixMe\n\n return buildCommon.makeSpan([wrapperClass], [math]);\n}\n;// CONCATENATED MODULE: ./src/buildTree.js\n\n\n\n\n\n\n\nconst optionsFromSettings = function (settings) {\n return new src_Options({\n style: settings.displayMode ? src_Style.DISPLAY : src_Style.TEXT,\n maxSize: settings.maxSize,\n minRuleThickness: settings.minRuleThickness\n });\n};\n\nconst displayWrap = function (node, settings) {\n if (settings.displayMode) {\n const classes = [\"katex-display\"];\n\n if (settings.leqno) {\n classes.push(\"leqno\");\n }\n\n if (settings.fleqn) {\n classes.push(\"fleqn\");\n }\n\n node = buildCommon.makeSpan(classes, [node]);\n }\n\n return node;\n};\n\nconst buildTree = function (tree, expression, settings) {\n const options = optionsFromSettings(settings);\n let katexNode;\n\n if (settings.output === \"mathml\") {\n return buildMathML(tree, expression, options, settings.displayMode, true);\n } else if (settings.output === \"html\") {\n const htmlNode = buildHTML(tree, options);\n katexNode = buildCommon.makeSpan([\"katex\"], [htmlNode]);\n } else {\n const mathMLNode = buildMathML(tree, expression, options, settings.displayMode, false);\n const htmlNode = buildHTML(tree, options);\n katexNode = buildCommon.makeSpan([\"katex\"], [mathMLNode, htmlNode]);\n }\n\n return displayWrap(katexNode, settings);\n};\nconst buildHTMLTree = function (tree, expression, settings) {\n const options = optionsFromSettings(settings);\n const htmlNode = buildHTML(tree, options);\n const katexNode = buildCommon.makeSpan([\"katex\"], [htmlNode]);\n return displayWrap(katexNode, settings);\n};\n/* harmony default export */ var src_buildTree = ((/* unused pure expression or super */ null && (buildTree)));\n;// CONCATENATED MODULE: ./src/stretchy.js\n/**\n * This file provides support to buildMathML.js and buildHTML.js\n * for stretchy wide elements rendered from SVG files\n * and other CSS trickery.\n */\n\n\n\n\n\nconst stretchyCodePoint = {\n widehat: \"^\",\n widecheck: \"ˇ\",\n widetilde: \"~\",\n utilde: \"~\",\n overleftarrow: \"\\u2190\",\n underleftarrow: \"\\u2190\",\n xleftarrow: \"\\u2190\",\n overrightarrow: \"\\u2192\",\n underrightarrow: \"\\u2192\",\n xrightarrow: \"\\u2192\",\n underbrace: \"\\u23df\",\n overbrace: \"\\u23de\",\n overgroup: \"\\u23e0\",\n undergroup: \"\\u23e1\",\n overleftrightarrow: \"\\u2194\",\n underleftrightarrow: \"\\u2194\",\n xleftrightarrow: \"\\u2194\",\n Overrightarrow: \"\\u21d2\",\n xRightarrow: \"\\u21d2\",\n overleftharpoon: \"\\u21bc\",\n xleftharpoonup: \"\\u21bc\",\n overrightharpoon: \"\\u21c0\",\n xrightharpoonup: \"\\u21c0\",\n xLeftarrow: \"\\u21d0\",\n xLeftrightarrow: \"\\u21d4\",\n xhookleftarrow: \"\\u21a9\",\n xhookrightarrow: \"\\u21aa\",\n xmapsto: \"\\u21a6\",\n xrightharpoondown: \"\\u21c1\",\n xleftharpoondown: \"\\u21bd\",\n xrightleftharpoons: \"\\u21cc\",\n xleftrightharpoons: \"\\u21cb\",\n xtwoheadleftarrow: \"\\u219e\",\n xtwoheadrightarrow: \"\\u21a0\",\n xlongequal: \"=\",\n xtofrom: \"\\u21c4\",\n xrightleftarrows: \"\\u21c4\",\n xrightequilibrium: \"\\u21cc\",\n // Not a perfect match.\n xleftequilibrium: \"\\u21cb\",\n // None better available.\n \"\\\\cdrightarrow\": \"\\u2192\",\n \"\\\\cdleftarrow\": \"\\u2190\",\n \"\\\\cdlongequal\": \"=\"\n};\n\nconst mathMLnode = function (label) {\n const node = new mathMLTree.MathNode(\"mo\", [new mathMLTree.TextNode(stretchyCodePoint[label.replace(/^\\\\/, '')])]);\n node.setAttribute(\"stretchy\", \"true\");\n return node;\n}; // Many of the KaTeX SVG images have been adapted from glyphs in KaTeX fonts.\n// Copyright (c) 2009-2010, Design Science, Inc. ()\n// Copyright (c) 2014-2017 Khan Academy ()\n// Licensed under the SIL Open Font License, Version 1.1.\n// See \\nhttp://scripts.sil.org/OFL\n// Very Long SVGs\n// Many of the KaTeX stretchy wide elements use a long SVG image and an\n// overflow: hidden tactic to achieve a stretchy image while avoiding\n// distortion of arrowheads or brace corners.\n// The SVG typically contains a very long (400 em) arrow.\n// The SVG is in a container span that has overflow: hidden, so the span\n// acts like a window that exposes only part of the SVG.\n// The SVG always has a longer, thinner aspect ratio than the container span.\n// After the SVG fills 100% of the height of the container span,\n// there is a long arrow shaft left over. That left-over shaft is not shown.\n// Instead, it is sliced off because the span's CSS has overflow: hidden.\n// Thus, the reader sees an arrow that matches the subject matter width\n// without distortion.\n// Some functions, such as \\cancel, need to vary their aspect ratio. These\n// functions do not get the overflow SVG treatment.\n// Second Brush Stroke\n// Low resolution monitors struggle to display images in fine detail.\n// So browsers apply anti-aliasing. A long straight arrow shaft therefore\n// will sometimes appear as if it has a blurred edge.\n// To mitigate this, these SVG files contain a second \"brush-stroke\" on the\n// arrow shafts. That is, a second long thin rectangular SVG path has been\n// written directly on top of each arrow shaft. This reinforcement causes\n// some of the screen pixels to display as black instead of the anti-aliased\n// gray pixel that a single path would generate. So we get arrow shafts\n// whose edges appear to be sharper.\n// In the katexImagesData object just below, the dimensions all\n// correspond to path geometry inside the relevant SVG.\n// For example, \\overrightarrow uses the same arrowhead as glyph U+2192\n// from the KaTeX Main font. The scaling factor is 1000.\n// That is, inside the font, that arrowhead is 522 units tall, which\n// corresponds to 0.522 em inside the document.\n\n\nconst katexImagesData = {\n // path(s), minWidth, height, align\n overrightarrow: [[\"rightarrow\"], 0.888, 522, \"xMaxYMin\"],\n overleftarrow: [[\"leftarrow\"], 0.888, 522, \"xMinYMin\"],\n underrightarrow: [[\"rightarrow\"], 0.888, 522, \"xMaxYMin\"],\n underleftarrow: [[\"leftarrow\"], 0.888, 522, \"xMinYMin\"],\n xrightarrow: [[\"rightarrow\"], 1.469, 522, \"xMaxYMin\"],\n \"\\\\cdrightarrow\": [[\"rightarrow\"], 3.0, 522, \"xMaxYMin\"],\n // CD minwwidth2.5pc\n xleftarrow: [[\"leftarrow\"], 1.469, 522, \"xMinYMin\"],\n \"\\\\cdleftarrow\": [[\"leftarrow\"], 3.0, 522, \"xMinYMin\"],\n Overrightarrow: [[\"doublerightarrow\"], 0.888, 560, \"xMaxYMin\"],\n xRightarrow: [[\"doublerightarrow\"], 1.526, 560, \"xMaxYMin\"],\n xLeftarrow: [[\"doubleleftarrow\"], 1.526, 560, \"xMinYMin\"],\n overleftharpoon: [[\"leftharpoon\"], 0.888, 522, \"xMinYMin\"],\n xleftharpoonup: [[\"leftharpoon\"], 0.888, 522, \"xMinYMin\"],\n xleftharpoondown: [[\"leftharpoondown\"], 0.888, 522, \"xMinYMin\"],\n overrightharpoon: [[\"rightharpoon\"], 0.888, 522, \"xMaxYMin\"],\n xrightharpoonup: [[\"rightharpoon\"], 0.888, 522, \"xMaxYMin\"],\n xrightharpoondown: [[\"rightharpoondown\"], 0.888, 522, \"xMaxYMin\"],\n xlongequal: [[\"longequal\"], 0.888, 334, \"xMinYMin\"],\n \"\\\\cdlongequal\": [[\"longequal\"], 3.0, 334, \"xMinYMin\"],\n xtwoheadleftarrow: [[\"twoheadleftarrow\"], 0.888, 334, \"xMinYMin\"],\n xtwoheadrightarrow: [[\"twoheadrightarrow\"], 0.888, 334, \"xMaxYMin\"],\n overleftrightarrow: [[\"leftarrow\", \"rightarrow\"], 0.888, 522],\n overbrace: [[\"leftbrace\", \"midbrace\", \"rightbrace\"], 1.6, 548],\n underbrace: [[\"leftbraceunder\", \"midbraceunder\", \"rightbraceunder\"], 1.6, 548],\n underleftrightarrow: [[\"leftarrow\", \"rightarrow\"], 0.888, 522],\n xleftrightarrow: [[\"leftarrow\", \"rightarrow\"], 1.75, 522],\n xLeftrightarrow: [[\"doubleleftarrow\", \"doublerightarrow\"], 1.75, 560],\n xrightleftharpoons: [[\"leftharpoondownplus\", \"rightharpoonplus\"], 1.75, 716],\n xleftrightharpoons: [[\"leftharpoonplus\", \"rightharpoondownplus\"], 1.75, 716],\n xhookleftarrow: [[\"leftarrow\", \"righthook\"], 1.08, 522],\n xhookrightarrow: [[\"lefthook\", \"rightarrow\"], 1.08, 522],\n overlinesegment: [[\"leftlinesegment\", \"rightlinesegment\"], 0.888, 522],\n underlinesegment: [[\"leftlinesegment\", \"rightlinesegment\"], 0.888, 522],\n overgroup: [[\"leftgroup\", \"rightgroup\"], 0.888, 342],\n undergroup: [[\"leftgroupunder\", \"rightgroupunder\"], 0.888, 342],\n xmapsto: [[\"leftmapsto\", \"rightarrow\"], 1.5, 522],\n xtofrom: [[\"leftToFrom\", \"rightToFrom\"], 1.75, 528],\n // The next three arrows are from the mhchem package.\n // In mhchem.sty, min-length is 2.0em. But these arrows might appear in the\n // document as \\xrightarrow or \\xrightleftharpoons. Those have\n // min-length = 1.75em, so we set min-length on these next three to match.\n xrightleftarrows: [[\"baraboveleftarrow\", \"rightarrowabovebar\"], 1.75, 901],\n xrightequilibrium: [[\"baraboveshortleftharpoon\", \"rightharpoonaboveshortbar\"], 1.75, 716],\n xleftequilibrium: [[\"shortbaraboveleftharpoon\", \"shortrightharpoonabovebar\"], 1.75, 716]\n};\n\nconst groupLength = function (arg) {\n if (arg.type === \"ordgroup\") {\n return arg.body.length;\n } else {\n return 1;\n }\n};\n\nconst svgSpan = function (group, options) {\n // Create a span with inline SVG for the element.\n function buildSvgSpan_() {\n let viewBoxWidth = 400000; // default\n\n const label = group.label.slice(1);\n\n if (utils.contains([\"widehat\", \"widecheck\", \"widetilde\", \"utilde\"], label)) {\n // Each type in the `if` statement corresponds to one of the ParseNode\n // types below. This narrowing is required to access `grp.base`.\n // $FlowFixMe\n const grp = group; // There are four SVG images available for each function.\n // Choose a taller image when there are more characters.\n\n const numChars = groupLength(grp.base);\n let viewBoxHeight;\n let pathName;\n let height;\n\n if (numChars > 5) {\n if (label === \"widehat\" || label === \"widecheck\") {\n viewBoxHeight = 420;\n viewBoxWidth = 2364;\n height = 0.42;\n pathName = label + \"4\";\n } else {\n viewBoxHeight = 312;\n viewBoxWidth = 2340;\n height = 0.34;\n pathName = \"tilde4\";\n }\n } else {\n const imgIndex = [1, 1, 2, 2, 3, 3][numChars];\n\n if (label === \"widehat\" || label === \"widecheck\") {\n viewBoxWidth = [0, 1062, 2364, 2364, 2364][imgIndex];\n viewBoxHeight = [0, 239, 300, 360, 420][imgIndex];\n height = [0, 0.24, 0.3, 0.3, 0.36, 0.42][imgIndex];\n pathName = label + imgIndex;\n } else {\n viewBoxWidth = [0, 600, 1033, 2339, 2340][imgIndex];\n viewBoxHeight = [0, 260, 286, 306, 312][imgIndex];\n height = [0, 0.26, 0.286, 0.3, 0.306, 0.34][imgIndex];\n pathName = \"tilde\" + imgIndex;\n }\n }\n\n const path = new PathNode(pathName);\n const svgNode = new SvgNode([path], {\n \"width\": \"100%\",\n \"height\": makeEm(height),\n \"viewBox\": \"0 0 \" + viewBoxWidth + \" \" + viewBoxHeight,\n \"preserveAspectRatio\": \"none\"\n });\n return {\n span: buildCommon.makeSvgSpan([], [svgNode], options),\n minWidth: 0,\n height\n };\n } else {\n const spans = [];\n const data = katexImagesData[label];\n const [paths, minWidth, viewBoxHeight] = data;\n const height = viewBoxHeight / 1000;\n const numSvgChildren = paths.length;\n let widthClasses;\n let aligns;\n\n if (numSvgChildren === 1) {\n // $FlowFixMe: All these cases must be of the 4-tuple type.\n const align1 = data[3];\n widthClasses = [\"hide-tail\"];\n aligns = [align1];\n } else if (numSvgChildren === 2) {\n widthClasses = [\"halfarrow-left\", \"halfarrow-right\"];\n aligns = [\"xMinYMin\", \"xMaxYMin\"];\n } else if (numSvgChildren === 3) {\n widthClasses = [\"brace-left\", \"brace-center\", \"brace-right\"];\n aligns = [\"xMinYMin\", \"xMidYMin\", \"xMaxYMin\"];\n } else {\n throw new Error(\"Correct katexImagesData or update code here to support\\n \" + numSvgChildren + \" children.\");\n }\n\n for (let i = 0; i < numSvgChildren; i++) {\n const path = new PathNode(paths[i]);\n const svgNode = new SvgNode([path], {\n \"width\": \"400em\",\n \"height\": makeEm(height),\n \"viewBox\": \"0 0 \" + viewBoxWidth + \" \" + viewBoxHeight,\n \"preserveAspectRatio\": aligns[i] + \" slice\"\n });\n const span = buildCommon.makeSvgSpan([widthClasses[i]], [svgNode], options);\n\n if (numSvgChildren === 1) {\n return {\n span,\n minWidth,\n height\n };\n } else {\n span.style.height = makeEm(height);\n spans.push(span);\n }\n }\n\n return {\n span: buildCommon.makeSpan([\"stretchy\"], spans, options),\n minWidth,\n height\n };\n }\n } // buildSvgSpan_()\n\n\n const {\n span,\n minWidth,\n height\n } = buildSvgSpan_(); // Note that we are returning span.depth = 0.\n // Any adjustments relative to the baseline must be done in buildHTML.\n\n span.height = height;\n span.style.height = makeEm(height);\n\n if (minWidth > 0) {\n span.style.minWidth = makeEm(minWidth);\n }\n\n return span;\n};\n\nconst encloseSpan = function (inner, label, topPad, bottomPad, options) {\n // Return an image span for \\cancel, \\bcancel, \\xcancel, \\fbox, or \\angl\n let img;\n const totalHeight = inner.height + inner.depth + topPad + bottomPad;\n\n if (/fbox|color|angl/.test(label)) {\n img = buildCommon.makeSpan([\"stretchy\", label], [], options);\n\n if (label === \"fbox\") {\n const color = options.color && options.getColor();\n\n if (color) {\n img.style.borderColor = color;\n }\n }\n } else {\n // \\cancel, \\bcancel, or \\xcancel\n // Since \\cancel's SVG is inline and it omits the viewBox attribute,\n // its stroke-width will not vary with span area.\n const lines = [];\n\n if (/^[bx]cancel$/.test(label)) {\n lines.push(new LineNode({\n \"x1\": \"0\",\n \"y1\": \"0\",\n \"x2\": \"100%\",\n \"y2\": \"100%\",\n \"stroke-width\": \"0.046em\"\n }));\n }\n\n if (/^x?cancel$/.test(label)) {\n lines.push(new LineNode({\n \"x1\": \"0\",\n \"y1\": \"100%\",\n \"x2\": \"100%\",\n \"y2\": \"0\",\n \"stroke-width\": \"0.046em\"\n }));\n }\n\n const svgNode = new SvgNode(lines, {\n \"width\": \"100%\",\n \"height\": makeEm(totalHeight)\n });\n img = buildCommon.makeSvgSpan([], [svgNode], options);\n }\n\n img.height = totalHeight;\n img.style.height = makeEm(totalHeight);\n return img;\n};\n\n/* harmony default export */ var stretchy = ({\n encloseSpan,\n mathMLnode,\n svgSpan\n});\n;// CONCATENATED MODULE: ./src/parseNode.js\n\n\n/**\n * Asserts that the node is of the given type and returns it with stricter\n * typing. Throws if the node's type does not match.\n */\nfunction assertNodeType(node, type) {\n if (!node || node.type !== type) {\n throw new Error(\"Expected node of type \" + type + \", but got \" + (node ? \"node of type \" + node.type : String(node)));\n } // $FlowFixMe, >=0.125\n\n\n return node;\n}\n/**\n * Returns the node more strictly typed iff it is of the given type. Otherwise,\n * returns null.\n */\n\nfunction assertSymbolNodeType(node) {\n const typedNode = checkSymbolNodeType(node);\n\n if (!typedNode) {\n throw new Error(\"Expected node of symbol group type, but got \" + (node ? \"node of type \" + node.type : String(node)));\n }\n\n return typedNode;\n}\n/**\n * Returns the node more strictly typed iff it is of the given type. Otherwise,\n * returns null.\n */\n\nfunction checkSymbolNodeType(node) {\n if (node && (node.type === \"atom\" || NON_ATOMS.hasOwnProperty(node.type))) {\n // $FlowFixMe\n return node;\n }\n\n return null;\n}\n;// CONCATENATED MODULE: ./src/functions/accent.js\n\n\n\n\n\n\n\n\n\n\n// NOTE: Unlike most `htmlBuilder`s, this one handles not only \"accent\", but\n// also \"supsub\" since an accent can affect super/subscripting.\nconst htmlBuilder = (grp, options) => {\n // Accents are handled in the TeXbook pg. 443, rule 12.\n let base;\n let group;\n let supSubGroup;\n\n if (grp && grp.type === \"supsub\") {\n // If our base is a character box, and we have superscripts and\n // subscripts, the supsub will defer to us. In particular, we want\n // to attach the superscripts and subscripts to the inner body (so\n // that the position of the superscripts and subscripts won't be\n // affected by the height of the accent). We accomplish this by\n // sticking the base of the accent into the base of the supsub, and\n // rendering that, while keeping track of where the accent is.\n // The real accent group is the base of the supsub group\n group = assertNodeType(grp.base, \"accent\"); // The character box is the base of the accent group\n\n base = group.base; // Stick the character box into the base of the supsub group\n\n grp.base = base; // Rerender the supsub group with its new base, and store that\n // result.\n\n supSubGroup = assertSpan(buildGroup(grp, options)); // reset original base\n\n grp.base = group;\n } else {\n group = assertNodeType(grp, \"accent\");\n base = group.base;\n } // Build the base group\n\n\n const body = buildGroup(base, options.havingCrampedStyle()); // Does the accent need to shift for the skew of a character?\n\n const mustShift = group.isShifty && utils.isCharacterBox(base); // Calculate the skew of the accent. This is based on the line \"If the\n // nucleus is not a single character, let s = 0; otherwise set s to the\n // kern amount for the nucleus followed by the \\skewchar of its font.\"\n // Note that our skew metrics are just the kern between each character\n // and the skewchar.\n\n let skew = 0;\n\n if (mustShift) {\n // If the base is a character box, then we want the skew of the\n // innermost character. To do that, we find the innermost character:\n const baseChar = utils.getBaseElem(base); // Then, we render its group to get the symbol inside it\n\n const baseGroup = buildGroup(baseChar, options.havingCrampedStyle()); // Finally, we pull the skew off of the symbol.\n\n skew = assertSymbolDomNode(baseGroup).skew; // Note that we now throw away baseGroup, because the layers we\n // removed with getBaseElem might contain things like \\color which\n // we can't get rid of.\n // TODO(emily): Find a better way to get the skew\n }\n\n const accentBelow = group.label === \"\\\\c\"; // calculate the amount of space between the body and the accent\n\n let clearance = accentBelow ? body.height + body.depth : Math.min(body.height, options.fontMetrics().xHeight); // Build the accent\n\n let accentBody;\n\n if (!group.isStretchy) {\n let accent;\n let width;\n\n if (group.label === \"\\\\vec\") {\n // Before version 0.9, \\vec used the combining font glyph U+20D7.\n // But browsers, especially Safari, are not consistent in how they\n // render combining characters when not preceded by a character.\n // So now we use an SVG.\n // If Safari reforms, we should consider reverting to the glyph.\n accent = buildCommon.staticSvg(\"vec\", options);\n width = buildCommon.svgData.vec[1];\n } else {\n accent = buildCommon.makeOrd({\n mode: group.mode,\n text: group.label\n }, options, \"textord\");\n accent = assertSymbolDomNode(accent); // Remove the italic correction of the accent, because it only serves to\n // shift the accent over to a place we don't want.\n\n accent.italic = 0;\n width = accent.width;\n\n if (accentBelow) {\n clearance += accent.depth;\n }\n }\n\n accentBody = buildCommon.makeSpan([\"accent-body\"], [accent]); // \"Full\" accents expand the width of the resulting symbol to be\n // at least the width of the accent, and overlap directly onto the\n // character without any vertical offset.\n\n const accentFull = group.label === \"\\\\textcircled\";\n\n if (accentFull) {\n accentBody.classes.push('accent-full');\n clearance = body.height;\n } // Shift the accent over by the skew.\n\n\n let left = skew; // CSS defines `.katex .accent .accent-body:not(.accent-full) { width: 0 }`\n // so that the accent doesn't contribute to the bounding box.\n // We need to shift the character by its width (effectively half\n // its width) to compensate.\n\n if (!accentFull) {\n left -= width / 2;\n }\n\n accentBody.style.left = makeEm(left); // \\textcircled uses the \\bigcirc glyph, so it needs some\n // vertical adjustment to match LaTeX.\n\n if (group.label === \"\\\\textcircled\") {\n accentBody.style.top = \".2em\";\n }\n\n accentBody = buildCommon.makeVList({\n positionType: \"firstBaseline\",\n children: [{\n type: \"elem\",\n elem: body\n }, {\n type: \"kern\",\n size: -clearance\n }, {\n type: \"elem\",\n elem: accentBody\n }]\n }, options);\n } else {\n accentBody = stretchy.svgSpan(group, options);\n accentBody = buildCommon.makeVList({\n positionType: \"firstBaseline\",\n children: [{\n type: \"elem\",\n elem: body\n }, {\n type: \"elem\",\n elem: accentBody,\n wrapperClasses: [\"svg-align\"],\n wrapperStyle: skew > 0 ? {\n width: \"calc(100% - \" + makeEm(2 * skew) + \")\",\n marginLeft: makeEm(2 * skew)\n } : undefined\n }]\n }, options);\n }\n\n const accentWrap = buildCommon.makeSpan([\"mord\", \"accent\"], [accentBody], options);\n\n if (supSubGroup) {\n // Here, we replace the \"base\" child of the supsub with our newly\n // generated accent.\n supSubGroup.children[0] = accentWrap; // Since we don't rerun the height calculation after replacing the\n // accent, we manually recalculate height.\n\n supSubGroup.height = Math.max(accentWrap.height, supSubGroup.height); // Accents should always be ords, even when their innards are not.\n\n supSubGroup.classes[0] = \"mord\";\n return supSubGroup;\n } else {\n return accentWrap;\n }\n};\n\nconst mathmlBuilder = (group, options) => {\n const accentNode = group.isStretchy ? stretchy.mathMLnode(group.label) : new mathMLTree.MathNode(\"mo\", [makeText(group.label, group.mode)]);\n const node = new mathMLTree.MathNode(\"mover\", [buildMathML_buildGroup(group.base, options), accentNode]);\n node.setAttribute(\"accent\", \"true\");\n return node;\n};\n\nconst NON_STRETCHY_ACCENT_REGEX = new RegExp([\"\\\\acute\", \"\\\\grave\", \"\\\\ddot\", \"\\\\tilde\", \"\\\\bar\", \"\\\\breve\", \"\\\\check\", \"\\\\hat\", \"\\\\vec\", \"\\\\dot\", \"\\\\mathring\"].map(accent => \"\\\\\" + accent).join(\"|\")); // Accents\n\ndefineFunction({\n type: \"accent\",\n names: [\"\\\\acute\", \"\\\\grave\", \"\\\\ddot\", \"\\\\tilde\", \"\\\\bar\", \"\\\\breve\", \"\\\\check\", \"\\\\hat\", \"\\\\vec\", \"\\\\dot\", \"\\\\mathring\", \"\\\\widecheck\", \"\\\\widehat\", \"\\\\widetilde\", \"\\\\overrightarrow\", \"\\\\overleftarrow\", \"\\\\Overrightarrow\", \"\\\\overleftrightarrow\", \"\\\\overgroup\", \"\\\\overlinesegment\", \"\\\\overleftharpoon\", \"\\\\overrightharpoon\"],\n props: {\n numArgs: 1\n },\n handler: (context, args) => {\n const base = normalizeArgument(args[0]);\n const isStretchy = !NON_STRETCHY_ACCENT_REGEX.test(context.funcName);\n const isShifty = !isStretchy || context.funcName === \"\\\\widehat\" || context.funcName === \"\\\\widetilde\" || context.funcName === \"\\\\widecheck\";\n return {\n type: \"accent\",\n mode: context.parser.mode,\n label: context.funcName,\n isStretchy: isStretchy,\n isShifty: isShifty,\n base: base\n };\n },\n htmlBuilder,\n mathmlBuilder\n}); // Text-mode accents\n\ndefineFunction({\n type: \"accent\",\n names: [\"\\\\'\", \"\\\\`\", \"\\\\^\", \"\\\\~\", \"\\\\=\", \"\\\\u\", \"\\\\.\", '\\\\\"', \"\\\\c\", \"\\\\r\", \"\\\\H\", \"\\\\v\", \"\\\\textcircled\"],\n props: {\n numArgs: 1,\n allowedInText: true,\n allowedInMath: true,\n // unless in strict mode\n argTypes: [\"primitive\"]\n },\n handler: (context, args) => {\n const base = args[0];\n let mode = context.parser.mode;\n\n if (mode === \"math\") {\n context.parser.settings.reportNonstrict(\"mathVsTextAccents\", \"LaTeX's accent \" + context.funcName + \" works only in text mode\");\n mode = \"text\";\n }\n\n return {\n type: \"accent\",\n mode: mode,\n label: context.funcName,\n isStretchy: false,\n isShifty: true,\n base: base\n };\n },\n htmlBuilder,\n mathmlBuilder\n});\n;// CONCATENATED MODULE: ./src/functions/accentunder.js\n// Horizontal overlap functions\n\n\n\n\n\n\ndefineFunction({\n type: \"accentUnder\",\n names: [\"\\\\underleftarrow\", \"\\\\underrightarrow\", \"\\\\underleftrightarrow\", \"\\\\undergroup\", \"\\\\underlinesegment\", \"\\\\utilde\"],\n props: {\n numArgs: 1\n },\n handler: (_ref, args) => {\n let {\n parser,\n funcName\n } = _ref;\n const base = args[0];\n return {\n type: \"accentUnder\",\n mode: parser.mode,\n label: funcName,\n base: base\n };\n },\n htmlBuilder: (group, options) => {\n // Treat under accents much like underlines.\n const innerGroup = buildGroup(group.base, options);\n const accentBody = stretchy.svgSpan(group, options);\n const kern = group.label === \"\\\\utilde\" ? 0.12 : 0; // Generate the vlist, with the appropriate kerns\n\n const vlist = buildCommon.makeVList({\n positionType: \"top\",\n positionData: innerGroup.height,\n children: [{\n type: \"elem\",\n elem: accentBody,\n wrapperClasses: [\"svg-align\"]\n }, {\n type: \"kern\",\n size: kern\n }, {\n type: \"elem\",\n elem: innerGroup\n }]\n }, options);\n return buildCommon.makeSpan([\"mord\", \"accentunder\"], [vlist], options);\n },\n mathmlBuilder: (group, options) => {\n const accentNode = stretchy.mathMLnode(group.label);\n const node = new mathMLTree.MathNode(\"munder\", [buildMathML_buildGroup(group.base, options), accentNode]);\n node.setAttribute(\"accentunder\", \"true\");\n return node;\n }\n});\n;// CONCATENATED MODULE: ./src/functions/arrow.js\n\n\n\n\n\n\n\n// Helper function\nconst paddedNode = group => {\n const node = new mathMLTree.MathNode(\"mpadded\", group ? [group] : []);\n node.setAttribute(\"width\", \"+0.6em\");\n node.setAttribute(\"lspace\", \"0.3em\");\n return node;\n}; // Stretchy arrows with an optional argument\n\n\ndefineFunction({\n type: \"xArrow\",\n names: [\"\\\\xleftarrow\", \"\\\\xrightarrow\", \"\\\\xLeftarrow\", \"\\\\xRightarrow\", \"\\\\xleftrightarrow\", \"\\\\xLeftrightarrow\", \"\\\\xhookleftarrow\", \"\\\\xhookrightarrow\", \"\\\\xmapsto\", \"\\\\xrightharpoondown\", \"\\\\xrightharpoonup\", \"\\\\xleftharpoondown\", \"\\\\xleftharpoonup\", \"\\\\xrightleftharpoons\", \"\\\\xleftrightharpoons\", \"\\\\xlongequal\", \"\\\\xtwoheadrightarrow\", \"\\\\xtwoheadleftarrow\", \"\\\\xtofrom\", // The next 3 functions are here to support the mhchem extension.\n // Direct use of these functions is discouraged and may break someday.\n \"\\\\xrightleftarrows\", \"\\\\xrightequilibrium\", \"\\\\xleftequilibrium\", // The next 3 functions are here only to support the {CD} environment.\n \"\\\\\\\\cdrightarrow\", \"\\\\\\\\cdleftarrow\", \"\\\\\\\\cdlongequal\"],\n props: {\n numArgs: 1,\n numOptionalArgs: 1\n },\n\n handler(_ref, args, optArgs) {\n let {\n parser,\n funcName\n } = _ref;\n return {\n type: \"xArrow\",\n mode: parser.mode,\n label: funcName,\n body: args[0],\n below: optArgs[0]\n };\n },\n\n // Flow is unable to correctly infer the type of `group`, even though it's\n // unambiguously determined from the passed-in `type` above.\n htmlBuilder(group, options) {\n const style = options.style; // Build the argument groups in the appropriate style.\n // Ref: amsmath.dtx: \\hbox{$\\scriptstyle\\mkern#3mu{#6}\\mkern#4mu$}%\n // Some groups can return document fragments. Handle those by wrapping\n // them in a span.\n\n let newOptions = options.havingStyle(style.sup());\n const upperGroup = buildCommon.wrapFragment(buildGroup(group.body, newOptions, options), options);\n const arrowPrefix = group.label.slice(0, 2) === \"\\\\x\" ? \"x\" : \"cd\";\n upperGroup.classes.push(arrowPrefix + \"-arrow-pad\");\n let lowerGroup;\n\n if (group.below) {\n // Build the lower group\n newOptions = options.havingStyle(style.sub());\n lowerGroup = buildCommon.wrapFragment(buildGroup(group.below, newOptions, options), options);\n lowerGroup.classes.push(arrowPrefix + \"-arrow-pad\");\n }\n\n const arrowBody = stretchy.svgSpan(group, options); // Re shift: Note that stretchy.svgSpan returned arrowBody.depth = 0.\n // The point we want on the math axis is at 0.5 * arrowBody.height.\n\n const arrowShift = -options.fontMetrics().axisHeight + 0.5 * arrowBody.height; // 2 mu kern. Ref: amsmath.dtx: #7\\if0#2\\else\\mkern#2mu\\fi\n\n let upperShift = -options.fontMetrics().axisHeight - 0.5 * arrowBody.height - 0.111; // 0.111 em = 2 mu\n\n if (upperGroup.depth > 0.25 || group.label === \"\\\\xleftequilibrium\") {\n upperShift -= upperGroup.depth; // shift up if depth encroaches\n } // Generate the vlist\n\n\n let vlist;\n\n if (lowerGroup) {\n const lowerShift = -options.fontMetrics().axisHeight + lowerGroup.height + 0.5 * arrowBody.height + 0.111;\n vlist = buildCommon.makeVList({\n positionType: \"individualShift\",\n children: [{\n type: \"elem\",\n elem: upperGroup,\n shift: upperShift\n }, {\n type: \"elem\",\n elem: arrowBody,\n shift: arrowShift\n }, {\n type: \"elem\",\n elem: lowerGroup,\n shift: lowerShift\n }]\n }, options);\n } else {\n vlist = buildCommon.makeVList({\n positionType: \"individualShift\",\n children: [{\n type: \"elem\",\n elem: upperGroup,\n shift: upperShift\n }, {\n type: \"elem\",\n elem: arrowBody,\n shift: arrowShift\n }]\n }, options);\n } // $FlowFixMe: Replace this with passing \"svg-align\" into makeVList.\n\n\n vlist.children[0].children[0].children[1].classes.push(\"svg-align\");\n return buildCommon.makeSpan([\"mrel\", \"x-arrow\"], [vlist], options);\n },\n\n mathmlBuilder(group, options) {\n const arrowNode = stretchy.mathMLnode(group.label);\n arrowNode.setAttribute(\"minsize\", group.label.charAt(0) === \"x\" ? \"1.75em\" : \"3.0em\");\n let node;\n\n if (group.body) {\n const upperNode = paddedNode(buildMathML_buildGroup(group.body, options));\n\n if (group.below) {\n const lowerNode = paddedNode(buildMathML_buildGroup(group.below, options));\n node = new mathMLTree.MathNode(\"munderover\", [arrowNode, lowerNode, upperNode]);\n } else {\n node = new mathMLTree.MathNode(\"mover\", [arrowNode, upperNode]);\n }\n } else if (group.below) {\n const lowerNode = paddedNode(buildMathML_buildGroup(group.below, options));\n node = new mathMLTree.MathNode(\"munder\", [arrowNode, lowerNode]);\n } else {\n // This should never happen.\n // Parser.js throws an error if there is no argument.\n node = paddedNode();\n node = new mathMLTree.MathNode(\"mover\", [arrowNode, node]);\n }\n\n return node;\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/mclass.js\n\n\n\n\n\n\nconst mclass_makeSpan = buildCommon.makeSpan;\n\nfunction mclass_htmlBuilder(group, options) {\n const elements = buildExpression(group.body, options, true);\n return mclass_makeSpan([group.mclass], elements, options);\n}\n\nfunction mclass_mathmlBuilder(group, options) {\n let node;\n const inner = buildMathML_buildExpression(group.body, options);\n\n if (group.mclass === \"minner\") {\n node = new mathMLTree.MathNode(\"mpadded\", inner);\n } else if (group.mclass === \"mord\") {\n if (group.isCharacterBox) {\n node = inner[0];\n node.type = \"mi\";\n } else {\n node = new mathMLTree.MathNode(\"mi\", inner);\n }\n } else {\n if (group.isCharacterBox) {\n node = inner[0];\n node.type = \"mo\";\n } else {\n node = new mathMLTree.MathNode(\"mo\", inner);\n } // Set spacing based on what is the most likely adjacent atom type.\n // See TeXbook p170.\n\n\n if (group.mclass === \"mbin\") {\n node.attributes.lspace = \"0.22em\"; // medium space\n\n node.attributes.rspace = \"0.22em\";\n } else if (group.mclass === \"mpunct\") {\n node.attributes.lspace = \"0em\";\n node.attributes.rspace = \"0.17em\"; // thinspace\n } else if (group.mclass === \"mopen\" || group.mclass === \"mclose\") {\n node.attributes.lspace = \"0em\";\n node.attributes.rspace = \"0em\";\n } else if (group.mclass === \"minner\") {\n node.attributes.lspace = \"0.0556em\"; // 1 mu is the most likely option\n\n node.attributes.width = \"+0.1111em\";\n } // MathML default space is 5/18 em, so needs no action.\n // Ref: https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mo\n\n }\n\n return node;\n} // Math class commands except \\mathop\n\n\ndefineFunction({\n type: \"mclass\",\n names: [\"\\\\mathord\", \"\\\\mathbin\", \"\\\\mathrel\", \"\\\\mathopen\", \"\\\\mathclose\", \"\\\\mathpunct\", \"\\\\mathinner\"],\n props: {\n numArgs: 1,\n primitive: true\n },\n\n handler(_ref, args) {\n let {\n parser,\n funcName\n } = _ref;\n const body = args[0];\n return {\n type: \"mclass\",\n mode: parser.mode,\n mclass: \"m\" + funcName.slice(5),\n // TODO(kevinb): don't prefix with 'm'\n body: ordargument(body),\n isCharacterBox: utils.isCharacterBox(body)\n };\n },\n\n htmlBuilder: mclass_htmlBuilder,\n mathmlBuilder: mclass_mathmlBuilder\n});\nconst binrelClass = arg => {\n // \\binrel@ spacing varies with (bin|rel|ord) of the atom in the argument.\n // (by rendering separately and with {}s before and after, and measuring\n // the change in spacing). We'll do roughly the same by detecting the\n // atom type directly.\n const atom = arg.type === \"ordgroup\" && arg.body.length ? arg.body[0] : arg;\n\n if (atom.type === \"atom\" && (atom.family === \"bin\" || atom.family === \"rel\")) {\n return \"m\" + atom.family;\n } else {\n return \"mord\";\n }\n}; // \\@binrel{x}{y} renders like y but as mbin/mrel/mord if x is mbin/mrel/mord.\n// This is equivalent to \\binrel@{x}\\binrel@@{y} in AMSTeX.\n\ndefineFunction({\n type: \"mclass\",\n names: [\"\\\\@binrel\"],\n props: {\n numArgs: 2\n },\n\n handler(_ref2, args) {\n let {\n parser\n } = _ref2;\n return {\n type: \"mclass\",\n mode: parser.mode,\n mclass: binrelClass(args[0]),\n body: ordargument(args[1]),\n isCharacterBox: utils.isCharacterBox(args[1])\n };\n }\n\n}); // Build a relation or stacked op by placing one symbol on top of another\n\ndefineFunction({\n type: \"mclass\",\n names: [\"\\\\stackrel\", \"\\\\overset\", \"\\\\underset\"],\n props: {\n numArgs: 2\n },\n\n handler(_ref3, args) {\n let {\n parser,\n funcName\n } = _ref3;\n const baseArg = args[1];\n const shiftedArg = args[0];\n let mclass;\n\n if (funcName !== \"\\\\stackrel\") {\n // LaTeX applies \\binrel spacing to \\overset and \\underset.\n mclass = binrelClass(baseArg);\n } else {\n mclass = \"mrel\"; // for \\stackrel\n }\n\n const baseOp = {\n type: \"op\",\n mode: baseArg.mode,\n limits: true,\n alwaysHandleSupSub: true,\n parentIsSupSub: false,\n symbol: false,\n suppressBaseShift: funcName !== \"\\\\stackrel\",\n body: ordargument(baseArg)\n };\n const supsub = {\n type: \"supsub\",\n mode: shiftedArg.mode,\n base: baseOp,\n sup: funcName === \"\\\\underset\" ? null : shiftedArg,\n sub: funcName === \"\\\\underset\" ? shiftedArg : null\n };\n return {\n type: \"mclass\",\n mode: parser.mode,\n mclass,\n body: [supsub],\n isCharacterBox: utils.isCharacterBox(supsub)\n };\n },\n\n htmlBuilder: mclass_htmlBuilder,\n mathmlBuilder: mclass_mathmlBuilder\n});\n;// CONCATENATED MODULE: ./src/functions/pmb.js\n\n\n\n\n\n\n// \\pmb is a simulation of bold font.\n// The version of \\pmb in ambsy.sty works by typesetting three copies\n// with small offsets. We use CSS text-shadow.\n// It's a hack. Not as good as a real bold font. Better than nothing.\ndefineFunction({\n type: \"pmb\",\n names: [\"\\\\pmb\"],\n props: {\n numArgs: 1,\n allowedInText: true\n },\n\n handler(_ref, args) {\n let {\n parser\n } = _ref;\n return {\n type: \"pmb\",\n mode: parser.mode,\n mclass: binrelClass(args[0]),\n body: ordargument(args[0])\n };\n },\n\n htmlBuilder(group, options) {\n const elements = buildExpression(group.body, options, true);\n const node = buildCommon.makeSpan([group.mclass], elements, options);\n node.style.textShadow = \"0.02em 0.01em 0.04px\";\n return node;\n },\n\n mathmlBuilder(group, style) {\n const inner = buildMathML_buildExpression(group.body, style); // Wrap with an element.\n\n const node = new mathMLTree.MathNode(\"mstyle\", inner);\n node.setAttribute(\"style\", \"text-shadow: 0.02em 0.01em 0.04px\");\n return node;\n }\n\n});\n;// CONCATENATED MODULE: ./src/environments/cd.js\n\n\n\n\n\n\n\n\nconst cdArrowFunctionName = {\n \">\": \"\\\\\\\\cdrightarrow\",\n \"<\": \"\\\\\\\\cdleftarrow\",\n \"=\": \"\\\\\\\\cdlongequal\",\n \"A\": \"\\\\uparrow\",\n \"V\": \"\\\\downarrow\",\n \"|\": \"\\\\Vert\",\n \".\": \"no arrow\"\n};\n\nconst newCell = () => {\n // Create an empty cell, to be filled below with parse nodes.\n // The parseTree from this module must be constructed like the\n // one created by parseArray(), so an empty CD cell must\n // be a ParseNode<\"styling\">. And CD is always displaystyle.\n // So these values are fixed and flow can do implicit typing.\n return {\n type: \"styling\",\n body: [],\n mode: \"math\",\n style: \"display\"\n };\n};\n\nconst isStartOfArrow = node => {\n return node.type === \"textord\" && node.text === \"@\";\n};\n\nconst isLabelEnd = (node, endChar) => {\n return (node.type === \"mathord\" || node.type === \"atom\") && node.text === endChar;\n};\n\nfunction cdArrow(arrowChar, labels, parser) {\n // Return a parse tree of an arrow and its labels.\n // This acts in a way similar to a macro expansion.\n const funcName = cdArrowFunctionName[arrowChar];\n\n switch (funcName) {\n case \"\\\\\\\\cdrightarrow\":\n case \"\\\\\\\\cdleftarrow\":\n return parser.callFunction(funcName, [labels[0]], [labels[1]]);\n\n case \"\\\\uparrow\":\n case \"\\\\downarrow\":\n {\n const leftLabel = parser.callFunction(\"\\\\\\\\cdleft\", [labels[0]], []);\n const bareArrow = {\n type: \"atom\",\n text: funcName,\n mode: \"math\",\n family: \"rel\"\n };\n const sizedArrow = parser.callFunction(\"\\\\Big\", [bareArrow], []);\n const rightLabel = parser.callFunction(\"\\\\\\\\cdright\", [labels[1]], []);\n const arrowGroup = {\n type: \"ordgroup\",\n mode: \"math\",\n body: [leftLabel, sizedArrow, rightLabel]\n };\n return parser.callFunction(\"\\\\\\\\cdparent\", [arrowGroup], []);\n }\n\n case \"\\\\\\\\cdlongequal\":\n return parser.callFunction(\"\\\\\\\\cdlongequal\", [], []);\n\n case \"\\\\Vert\":\n {\n const arrow = {\n type: \"textord\",\n text: \"\\\\Vert\",\n mode: \"math\"\n };\n return parser.callFunction(\"\\\\Big\", [arrow], []);\n }\n\n default:\n return {\n type: \"textord\",\n text: \" \",\n mode: \"math\"\n };\n }\n}\n\nfunction parseCD(parser) {\n // Get the array's parse nodes with \\\\ temporarily mapped to \\cr.\n const parsedRows = [];\n parser.gullet.beginGroup();\n parser.gullet.macros.set(\"\\\\cr\", \"\\\\\\\\\\\\relax\");\n parser.gullet.beginGroup();\n\n while (true) {\n // eslint-disable-line no-constant-condition\n // Get the parse nodes for the next row.\n parsedRows.push(parser.parseExpression(false, \"\\\\\\\\\"));\n parser.gullet.endGroup();\n parser.gullet.beginGroup();\n const next = parser.fetch().text;\n\n if (next === \"&\" || next === \"\\\\\\\\\") {\n parser.consume();\n } else if (next === \"\\\\end\") {\n if (parsedRows[parsedRows.length - 1].length === 0) {\n parsedRows.pop(); // final row ended in \\\\\n }\n\n break;\n } else {\n throw new src_ParseError(\"Expected \\\\\\\\ or \\\\cr or \\\\end\", parser.nextToken);\n }\n }\n\n let row = [];\n const body = [row]; // Loop thru the parse nodes. Collect them into cells and arrows.\n\n for (let i = 0; i < parsedRows.length; i++) {\n // Start a new row.\n const rowNodes = parsedRows[i]; // Create the first cell.\n\n let cell = newCell();\n\n for (let j = 0; j < rowNodes.length; j++) {\n if (!isStartOfArrow(rowNodes[j])) {\n // If a parseNode is not an arrow, it goes into a cell.\n cell.body.push(rowNodes[j]);\n } else {\n // Parse node j is an \"@\", the start of an arrow.\n // Before starting on the arrow, push the cell into `row`.\n row.push(cell); // Now collect parseNodes into an arrow.\n // The character after \"@\" defines the arrow type.\n\n j += 1;\n const arrowChar = assertSymbolNodeType(rowNodes[j]).text; // Create two empty label nodes. We may or may not use them.\n\n const labels = new Array(2);\n labels[0] = {\n type: \"ordgroup\",\n mode: \"math\",\n body: []\n };\n labels[1] = {\n type: \"ordgroup\",\n mode: \"math\",\n body: []\n }; // Process the arrow.\n\n if (\"=|.\".indexOf(arrowChar) > -1) {// Three \"arrows\", ``@=`, `@|`, and `@.`, do not take labels.\n // Do nothing here.\n } else if (\"<>AV\".indexOf(arrowChar) > -1) {\n // Four arrows, `@>>>`, `@<<<`, `@AAA`, and `@VVV`, each take\n // two optional labels. E.g. the right-point arrow syntax is\n // really: @>{optional label}>{optional label}>\n // Collect parseNodes into labels.\n for (let labelNum = 0; labelNum < 2; labelNum++) {\n let inLabel = true;\n\n for (let k = j + 1; k < rowNodes.length; k++) {\n if (isLabelEnd(rowNodes[k], arrowChar)) {\n inLabel = false;\n j = k;\n break;\n }\n\n if (isStartOfArrow(rowNodes[k])) {\n throw new src_ParseError(\"Missing a \" + arrowChar + \" character to complete a CD arrow.\", rowNodes[k]);\n }\n\n labels[labelNum].body.push(rowNodes[k]);\n }\n\n if (inLabel) {\n // isLabelEnd never returned a true.\n throw new src_ParseError(\"Missing a \" + arrowChar + \" character to complete a CD arrow.\", rowNodes[j]);\n }\n }\n } else {\n throw new src_ParseError(\"Expected one of \\\"<>AV=|.\\\" after @\", rowNodes[j]);\n } // Now join the arrow to its labels.\n\n\n const arrow = cdArrow(arrowChar, labels, parser); // Wrap the arrow in ParseNode<\"styling\">.\n // This is done to match parseArray() behavior.\n\n const wrappedArrow = {\n type: \"styling\",\n body: [arrow],\n mode: \"math\",\n style: \"display\" // CD is always displaystyle.\n\n };\n row.push(wrappedArrow); // In CD's syntax, cells are implicit. That is, everything that\n // is not an arrow gets collected into a cell. So create an empty\n // cell now. It will collect upcoming parseNodes.\n\n cell = newCell();\n }\n }\n\n if (i % 2 === 0) {\n // Even-numbered rows consist of: cell, arrow, cell, arrow, ... cell\n // The last cell is not yet pushed into `row`, so:\n row.push(cell);\n } else {\n // Odd-numbered rows consist of: vert arrow, empty cell, ... vert arrow\n // Remove the empty cell that was placed at the beginning of `row`.\n row.shift();\n }\n\n row = [];\n body.push(row);\n } // End row group\n\n\n parser.gullet.endGroup(); // End array group defining \\\\\n\n parser.gullet.endGroup(); // define column separation.\n\n const cols = new Array(body[0].length).fill({\n type: \"align\",\n align: \"c\",\n pregap: 0.25,\n // CD package sets \\enskip between columns.\n postgap: 0.25 // So pre and post each get half an \\enskip, i.e. 0.25em.\n\n });\n return {\n type: \"array\",\n mode: \"math\",\n body,\n arraystretch: 1,\n addJot: true,\n rowGaps: [null],\n cols,\n colSeparationType: \"CD\",\n hLinesBeforeRow: new Array(body.length + 1).fill([])\n };\n} // The functions below are not available for general use.\n// They are here only for internal use by the {CD} environment in placing labels\n// next to vertical arrows.\n// We don't need any such functions for horizontal arrows because we can reuse\n// the functionality that already exists for extensible arrows.\n\ndefineFunction({\n type: \"cdlabel\",\n names: [\"\\\\\\\\cdleft\", \"\\\\\\\\cdright\"],\n props: {\n numArgs: 1\n },\n\n handler(_ref, args) {\n let {\n parser,\n funcName\n } = _ref;\n return {\n type: \"cdlabel\",\n mode: parser.mode,\n side: funcName.slice(4),\n label: args[0]\n };\n },\n\n htmlBuilder(group, options) {\n const newOptions = options.havingStyle(options.style.sup());\n const label = buildCommon.wrapFragment(buildGroup(group.label, newOptions, options), options);\n label.classes.push(\"cd-label-\" + group.side);\n label.style.bottom = makeEm(0.8 - label.depth); // Zero out label height & depth, so vertical align of arrow is set\n // by the arrow height, not by the label.\n\n label.height = 0;\n label.depth = 0;\n return label;\n },\n\n mathmlBuilder(group, options) {\n let label = new mathMLTree.MathNode(\"mrow\", [buildMathML_buildGroup(group.label, options)]);\n label = new mathMLTree.MathNode(\"mpadded\", [label]);\n label.setAttribute(\"width\", \"0\");\n\n if (group.side === \"left\") {\n label.setAttribute(\"lspace\", \"-1width\");\n } // We have to guess at vertical alignment. We know the arrow is 1.8em tall,\n // But we don't know the height or depth of the label.\n\n\n label.setAttribute(\"voffset\", \"0.7em\");\n label = new mathMLTree.MathNode(\"mstyle\", [label]);\n label.setAttribute(\"displaystyle\", \"false\");\n label.setAttribute(\"scriptlevel\", \"1\");\n return label;\n }\n\n});\ndefineFunction({\n type: \"cdlabelparent\",\n names: [\"\\\\\\\\cdparent\"],\n props: {\n numArgs: 1\n },\n\n handler(_ref2, args) {\n let {\n parser\n } = _ref2;\n return {\n type: \"cdlabelparent\",\n mode: parser.mode,\n fragment: args[0]\n };\n },\n\n htmlBuilder(group, options) {\n // Wrap the vertical arrow and its labels.\n // The parent gets position: relative. The child gets position: absolute.\n // So CSS can locate the label correctly.\n const parent = buildCommon.wrapFragment(buildGroup(group.fragment, options), options);\n parent.classes.push(\"cd-vert-arrow\");\n return parent;\n },\n\n mathmlBuilder(group, options) {\n return new mathMLTree.MathNode(\"mrow\", [buildMathML_buildGroup(group.fragment, options)]);\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/char.js\n\n\n // \\@char is an internal function that takes a grouped decimal argument like\n// {123} and converts into symbol with code 123. It is used by the *macro*\n// \\char defined in macros.js.\n\ndefineFunction({\n type: \"textord\",\n names: [\"\\\\@char\"],\n props: {\n numArgs: 1,\n allowedInText: true\n },\n\n handler(_ref, args) {\n let {\n parser\n } = _ref;\n const arg = assertNodeType(args[0], \"ordgroup\");\n const group = arg.body;\n let number = \"\";\n\n for (let i = 0; i < group.length; i++) {\n const node = assertNodeType(group[i], \"textord\");\n number += node.text;\n }\n\n let code = parseInt(number);\n let text;\n\n if (isNaN(code)) {\n throw new src_ParseError(\"\\\\@char has non-numeric argument \" + number); // If we drop IE support, the following code could be replaced with\n // text = String.fromCodePoint(code)\n } else if (code < 0 || code >= 0x10ffff) {\n throw new src_ParseError(\"\\\\@char with invalid code point \" + number);\n } else if (code <= 0xffff) {\n text = String.fromCharCode(code);\n } else {\n // Astral code point; split into surrogate halves\n code -= 0x10000;\n text = String.fromCharCode((code >> 10) + 0xd800, (code & 0x3ff) + 0xdc00);\n }\n\n return {\n type: \"textord\",\n mode: parser.mode,\n text: text\n };\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/color.js\n\n\n\n\n\n\n\nconst color_htmlBuilder = (group, options) => {\n const elements = buildExpression(group.body, options.withColor(group.color), false); // \\color isn't supposed to affect the type of the elements it contains.\n // To accomplish this, we wrap the results in a fragment, so the inner\n // elements will be able to directly interact with their neighbors. For\n // example, `\\color{red}{2 +} 3` has the same spacing as `2 + 3`\n\n return buildCommon.makeFragment(elements);\n};\n\nconst color_mathmlBuilder = (group, options) => {\n const inner = buildMathML_buildExpression(group.body, options.withColor(group.color));\n const node = new mathMLTree.MathNode(\"mstyle\", inner);\n node.setAttribute(\"mathcolor\", group.color);\n return node;\n};\n\ndefineFunction({\n type: \"color\",\n names: [\"\\\\textcolor\"],\n props: {\n numArgs: 2,\n allowedInText: true,\n argTypes: [\"color\", \"original\"]\n },\n\n handler(_ref, args) {\n let {\n parser\n } = _ref;\n const color = assertNodeType(args[0], \"color-token\").color;\n const body = args[1];\n return {\n type: \"color\",\n mode: parser.mode,\n color,\n body: ordargument(body)\n };\n },\n\n htmlBuilder: color_htmlBuilder,\n mathmlBuilder: color_mathmlBuilder\n});\ndefineFunction({\n type: \"color\",\n names: [\"\\\\color\"],\n props: {\n numArgs: 1,\n allowedInText: true,\n argTypes: [\"color\"]\n },\n\n handler(_ref2, args) {\n let {\n parser,\n breakOnTokenText\n } = _ref2;\n const color = assertNodeType(args[0], \"color-token\").color; // Set macro \\current@color in current namespace to store the current\n // color, mimicking the behavior of color.sty.\n // This is currently used just to correctly color a \\right\n // that follows a \\color command.\n\n parser.gullet.macros.set(\"\\\\current@color\", color); // Parse out the implicit body that should be colored.\n\n const body = parser.parseExpression(true, breakOnTokenText);\n return {\n type: \"color\",\n mode: parser.mode,\n color,\n body\n };\n },\n\n htmlBuilder: color_htmlBuilder,\n mathmlBuilder: color_mathmlBuilder\n});\n;// CONCATENATED MODULE: ./src/functions/cr.js\n// Row breaks within tabular environments, and line breaks at top level\n\n\n\n\n // \\DeclareRobustCommand\\\\{...\\@xnewline}\n\ndefineFunction({\n type: \"cr\",\n names: [\"\\\\\\\\\"],\n props: {\n numArgs: 0,\n numOptionalArgs: 0,\n allowedInText: true\n },\n\n handler(_ref, args, optArgs) {\n let {\n parser\n } = _ref;\n const size = parser.gullet.future().text === \"[\" ? parser.parseSizeGroup(true) : null;\n const newLine = !parser.settings.displayMode || !parser.settings.useStrictBehavior(\"newLineInDisplayMode\", \"In LaTeX, \\\\\\\\ or \\\\newline \" + \"does nothing in display mode\");\n return {\n type: \"cr\",\n mode: parser.mode,\n newLine,\n size: size && assertNodeType(size, \"size\").value\n };\n },\n\n // The following builders are called only at the top level,\n // not within tabular/array environments.\n htmlBuilder(group, options) {\n const span = buildCommon.makeSpan([\"mspace\"], [], options);\n\n if (group.newLine) {\n span.classes.push(\"newline\");\n\n if (group.size) {\n span.style.marginTop = makeEm(calculateSize(group.size, options));\n }\n }\n\n return span;\n },\n\n mathmlBuilder(group, options) {\n const node = new mathMLTree.MathNode(\"mspace\");\n\n if (group.newLine) {\n node.setAttribute(\"linebreak\", \"newline\");\n\n if (group.size) {\n node.setAttribute(\"height\", makeEm(calculateSize(group.size, options)));\n }\n }\n\n return node;\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/def.js\n\n\n\nconst globalMap = {\n \"\\\\global\": \"\\\\global\",\n \"\\\\long\": \"\\\\\\\\globallong\",\n \"\\\\\\\\globallong\": \"\\\\\\\\globallong\",\n \"\\\\def\": \"\\\\gdef\",\n \"\\\\gdef\": \"\\\\gdef\",\n \"\\\\edef\": \"\\\\xdef\",\n \"\\\\xdef\": \"\\\\xdef\",\n \"\\\\let\": \"\\\\\\\\globallet\",\n \"\\\\futurelet\": \"\\\\\\\\globalfuture\"\n};\n\nconst checkControlSequence = tok => {\n const name = tok.text;\n\n if (/^(?:[\\\\{}$^_]|EOF)$/.test(name)) {\n throw new src_ParseError(\"Expected a control sequence\", tok);\n }\n\n return name;\n};\n\nconst getRHS = parser => {\n let tok = parser.gullet.popToken();\n\n if (tok.text === \"=\") {\n // consume optional equals\n tok = parser.gullet.popToken();\n\n if (tok.text === \" \") {\n // consume one optional space\n tok = parser.gullet.popToken();\n }\n }\n\n return tok;\n};\n\nconst letCommand = (parser, name, tok, global) => {\n let macro = parser.gullet.macros.get(tok.text);\n\n if (macro == null) {\n // don't expand it later even if a macro with the same name is defined\n // e.g., \\let\\foo=\\frac \\def\\frac{\\relax} \\frac12\n tok.noexpand = true;\n macro = {\n tokens: [tok],\n numArgs: 0,\n // reproduce the same behavior in expansion\n unexpandable: !parser.gullet.isExpandable(tok.text)\n };\n }\n\n parser.gullet.macros.set(name, macro, global);\n}; // -> |\n// -> |\\global\n// -> |\n// -> \\global|\\long|\\outer\n\n\ndefineFunction({\n type: \"internal\",\n names: [\"\\\\global\", \"\\\\long\", \"\\\\\\\\globallong\" // can’t be entered directly\n ],\n props: {\n numArgs: 0,\n allowedInText: true\n },\n\n handler(_ref) {\n let {\n parser,\n funcName\n } = _ref;\n parser.consumeSpaces();\n const token = parser.fetch();\n\n if (globalMap[token.text]) {\n // KaTeX doesn't have \\par, so ignore \\long\n if (funcName === \"\\\\global\" || funcName === \"\\\\\\\\globallong\") {\n token.text = globalMap[token.text];\n }\n\n return assertNodeType(parser.parseFunction(), \"internal\");\n }\n\n throw new src_ParseError(\"Invalid token after macro prefix\", token);\n }\n\n}); // Basic support for macro definitions: \\def, \\gdef, \\edef, \\xdef\n// -> \n// -> \\def|\\gdef|\\edef|\\xdef\n// -> \n\ndefineFunction({\n type: \"internal\",\n names: [\"\\\\def\", \"\\\\gdef\", \"\\\\edef\", \"\\\\xdef\"],\n props: {\n numArgs: 0,\n allowedInText: true,\n primitive: true\n },\n\n handler(_ref2) {\n let {\n parser,\n funcName\n } = _ref2;\n let tok = parser.gullet.popToken();\n const name = tok.text;\n\n if (/^(?:[\\\\{}$^_]|EOF)$/.test(name)) {\n throw new src_ParseError(\"Expected a control sequence\", tok);\n }\n\n let numArgs = 0;\n let insert;\n const delimiters = [[]]; // contains no braces\n\n while (parser.gullet.future().text !== \"{\") {\n tok = parser.gullet.popToken();\n\n if (tok.text === \"#\") {\n // If the very last character of the is #, so that\n // this # is immediately followed by {, TeX will behave as if the {\n // had been inserted at the right end of both the parameter text\n // and the replacement text.\n if (parser.gullet.future().text === \"{\") {\n insert = parser.gullet.future();\n delimiters[numArgs].push(\"{\");\n break;\n } // A parameter, the first appearance of # must be followed by 1,\n // the next by 2, and so on; up to nine #’s are allowed\n\n\n tok = parser.gullet.popToken();\n\n if (!/^[1-9]$/.test(tok.text)) {\n throw new src_ParseError(\"Invalid argument number \\\"\" + tok.text + \"\\\"\");\n }\n\n if (parseInt(tok.text) !== numArgs + 1) {\n throw new src_ParseError(\"Argument number \\\"\" + tok.text + \"\\\" out of order\");\n }\n\n numArgs++;\n delimiters.push([]);\n } else if (tok.text === \"EOF\") {\n throw new src_ParseError(\"Expected a macro definition\");\n } else {\n delimiters[numArgs].push(tok.text);\n }\n } // replacement text, enclosed in '{' and '}' and properly nested\n\n\n let {\n tokens\n } = parser.gullet.consumeArg();\n\n if (insert) {\n tokens.unshift(insert);\n }\n\n if (funcName === \"\\\\edef\" || funcName === \"\\\\xdef\") {\n tokens = parser.gullet.expandTokens(tokens);\n tokens.reverse(); // to fit in with stack order\n } // Final arg is the expansion of the macro\n\n\n parser.gullet.macros.set(name, {\n tokens,\n numArgs,\n delimiters\n }, funcName === globalMap[funcName]);\n return {\n type: \"internal\",\n mode: parser.mode\n };\n }\n\n}); // -> \n// -> \\futurelet\n// | \\let\n// -> |=\n\ndefineFunction({\n type: \"internal\",\n names: [\"\\\\let\", \"\\\\\\\\globallet\" // can’t be entered directly\n ],\n props: {\n numArgs: 0,\n allowedInText: true,\n primitive: true\n },\n\n handler(_ref3) {\n let {\n parser,\n funcName\n } = _ref3;\n const name = checkControlSequence(parser.gullet.popToken());\n parser.gullet.consumeSpaces();\n const tok = getRHS(parser);\n letCommand(parser, name, tok, funcName === \"\\\\\\\\globallet\");\n return {\n type: \"internal\",\n mode: parser.mode\n };\n }\n\n}); // ref: https://www.tug.org/TUGboat/tb09-3/tb22bechtolsheim.pdf\n\ndefineFunction({\n type: \"internal\",\n names: [\"\\\\futurelet\", \"\\\\\\\\globalfuture\" // can’t be entered directly\n ],\n props: {\n numArgs: 0,\n allowedInText: true,\n primitive: true\n },\n\n handler(_ref4) {\n let {\n parser,\n funcName\n } = _ref4;\n const name = checkControlSequence(parser.gullet.popToken());\n const middle = parser.gullet.popToken();\n const tok = parser.gullet.popToken();\n letCommand(parser, name, tok, funcName === \"\\\\\\\\globalfuture\");\n parser.gullet.pushToken(tok);\n parser.gullet.pushToken(middle);\n return {\n type: \"internal\",\n mode: parser.mode\n };\n }\n\n});\n;// CONCATENATED MODULE: ./src/delimiter.js\n/**\n * This file deals with creating delimiters of various sizes. The TeXbook\n * discusses these routines on page 441-442, in the \"Another subroutine sets box\n * x to a specified variable delimiter\" paragraph.\n *\n * There are three main routines here. `makeSmallDelim` makes a delimiter in the\n * normal font, but in either text, script, or scriptscript style.\n * `makeLargeDelim` makes a delimiter in textstyle, but in one of the Size1,\n * Size2, Size3, or Size4 fonts. `makeStackedDelim` makes a delimiter out of\n * smaller pieces that are stacked on top of one another.\n *\n * The functions take a parameter `center`, which determines if the delimiter\n * should be centered around the axis.\n *\n * Then, there are three exposed functions. `sizedDelim` makes a delimiter in\n * one of the given sizes. This is used for things like `\\bigl`.\n * `customSizedDelim` makes a delimiter with a given total height+depth. It is\n * called in places like `\\sqrt`. `leftRightDelim` makes an appropriate\n * delimiter which surrounds an expression of a given height an depth. It is\n * used in `\\left` and `\\right`.\n */\n\n\n\n\n\n\n\n\n\n\n\n/**\n * Get the metrics for a given symbol and font, after transformation (i.e.\n * after following replacement from symbols.js)\n */\nconst getMetrics = function (symbol, font, mode) {\n const replace = src_symbols.math[symbol] && src_symbols.math[symbol].replace;\n const metrics = getCharacterMetrics(replace || symbol, font, mode);\n\n if (!metrics) {\n throw new Error(\"Unsupported symbol \" + symbol + \" and font size \" + font + \".\");\n }\n\n return metrics;\n};\n/**\n * Puts a delimiter span in a given style, and adds appropriate height, depth,\n * and maxFontSizes.\n */\n\n\nconst styleWrap = function (delim, toStyle, options, classes) {\n const newOptions = options.havingBaseStyle(toStyle);\n const span = buildCommon.makeSpan(classes.concat(newOptions.sizingClasses(options)), [delim], options);\n const delimSizeMultiplier = newOptions.sizeMultiplier / options.sizeMultiplier;\n span.height *= delimSizeMultiplier;\n span.depth *= delimSizeMultiplier;\n span.maxFontSize = newOptions.sizeMultiplier;\n return span;\n};\n\nconst centerSpan = function (span, options, style) {\n const newOptions = options.havingBaseStyle(style);\n const shift = (1 - options.sizeMultiplier / newOptions.sizeMultiplier) * options.fontMetrics().axisHeight;\n span.classes.push(\"delimcenter\");\n span.style.top = makeEm(shift);\n span.height -= shift;\n span.depth += shift;\n};\n/**\n * Makes a small delimiter. This is a delimiter that comes in the Main-Regular\n * font, but is restyled to either be in textstyle, scriptstyle, or\n * scriptscriptstyle.\n */\n\n\nconst makeSmallDelim = function (delim, style, center, options, mode, classes) {\n const text = buildCommon.makeSymbol(delim, \"Main-Regular\", mode, options);\n const span = styleWrap(text, style, options, classes);\n\n if (center) {\n centerSpan(span, options, style);\n }\n\n return span;\n};\n/**\n * Builds a symbol in the given font size (note size is an integer)\n */\n\n\nconst mathrmSize = function (value, size, mode, options) {\n return buildCommon.makeSymbol(value, \"Size\" + size + \"-Regular\", mode, options);\n};\n/**\n * Makes a large delimiter. This is a delimiter that comes in the Size1, Size2,\n * Size3, or Size4 fonts. It is always rendered in textstyle.\n */\n\n\nconst makeLargeDelim = function (delim, size, center, options, mode, classes) {\n const inner = mathrmSize(delim, size, mode, options);\n const span = styleWrap(buildCommon.makeSpan([\"delimsizing\", \"size\" + size], [inner], options), src_Style.TEXT, options, classes);\n\n if (center) {\n centerSpan(span, options, src_Style.TEXT);\n }\n\n return span;\n};\n/**\n * Make a span from a font glyph with the given offset and in the given font.\n * This is used in makeStackedDelim to make the stacking pieces for the delimiter.\n */\n\n\nconst makeGlyphSpan = function (symbol, font, mode) {\n let sizeClass; // Apply the correct CSS class to choose the right font.\n\n if (font === \"Size1-Regular\") {\n sizeClass = \"delim-size1\";\n } else\n /* if (font === \"Size4-Regular\") */\n {\n sizeClass = \"delim-size4\";\n }\n\n const corner = buildCommon.makeSpan([\"delimsizinginner\", sizeClass], [buildCommon.makeSpan([], [buildCommon.makeSymbol(symbol, font, mode)])]); // Since this will be passed into `makeVList` in the end, wrap the element\n // in the appropriate tag that VList uses.\n\n return {\n type: \"elem\",\n elem: corner\n };\n};\n\nconst makeInner = function (ch, height, options) {\n // Create a span with inline SVG for the inner part of a tall stacked delimiter.\n const width = fontMetricsData[\"Size4-Regular\"][ch.charCodeAt(0)] ? fontMetricsData[\"Size4-Regular\"][ch.charCodeAt(0)][4] : fontMetricsData[\"Size1-Regular\"][ch.charCodeAt(0)][4];\n const path = new PathNode(\"inner\", innerPath(ch, Math.round(1000 * height)));\n const svgNode = new SvgNode([path], {\n \"width\": makeEm(width),\n \"height\": makeEm(height),\n // Override CSS rule `.katex svg { width: 100% }`\n \"style\": \"width:\" + makeEm(width),\n \"viewBox\": \"0 0 \" + 1000 * width + \" \" + Math.round(1000 * height),\n \"preserveAspectRatio\": \"xMinYMin\"\n });\n const span = buildCommon.makeSvgSpan([], [svgNode], options);\n span.height = height;\n span.style.height = makeEm(height);\n span.style.width = makeEm(width);\n return {\n type: \"elem\",\n elem: span\n };\n}; // Helpers for makeStackedDelim\n\n\nconst lapInEms = 0.008;\nconst lap = {\n type: \"kern\",\n size: -1 * lapInEms\n};\nconst verts = [\"|\", \"\\\\lvert\", \"\\\\rvert\", \"\\\\vert\"];\nconst doubleVerts = [\"\\\\|\", \"\\\\lVert\", \"\\\\rVert\", \"\\\\Vert\"];\n/**\n * Make a stacked delimiter out of a given delimiter, with the total height at\n * least `heightTotal`. This routine is mentioned on page 442 of the TeXbook.\n */\n\nconst makeStackedDelim = function (delim, heightTotal, center, options, mode, classes) {\n // There are four parts, the top, an optional middle, a repeated part, and a\n // bottom.\n let top;\n let middle;\n let repeat;\n let bottom;\n let svgLabel = \"\";\n let viewBoxWidth = 0;\n top = repeat = bottom = delim;\n middle = null; // Also keep track of what font the delimiters are in\n\n let font = \"Size1-Regular\"; // We set the parts and font based on the symbol. Note that we use\n // '\\u23d0' instead of '|' and '\\u2016' instead of '\\\\|' for the\n // repeats of the arrows\n\n if (delim === \"\\\\uparrow\") {\n repeat = bottom = \"\\u23d0\";\n } else if (delim === \"\\\\Uparrow\") {\n repeat = bottom = \"\\u2016\";\n } else if (delim === \"\\\\downarrow\") {\n top = repeat = \"\\u23d0\";\n } else if (delim === \"\\\\Downarrow\") {\n top = repeat = \"\\u2016\";\n } else if (delim === \"\\\\updownarrow\") {\n top = \"\\\\uparrow\";\n repeat = \"\\u23d0\";\n bottom = \"\\\\downarrow\";\n } else if (delim === \"\\\\Updownarrow\") {\n top = \"\\\\Uparrow\";\n repeat = \"\\u2016\";\n bottom = \"\\\\Downarrow\";\n } else if (utils.contains(verts, delim)) {\n repeat = \"\\u2223\";\n svgLabel = \"vert\";\n viewBoxWidth = 333;\n } else if (utils.contains(doubleVerts, delim)) {\n repeat = \"\\u2225\";\n svgLabel = \"doublevert\";\n viewBoxWidth = 556;\n } else if (delim === \"[\" || delim === \"\\\\lbrack\") {\n top = \"\\u23a1\";\n repeat = \"\\u23a2\";\n bottom = \"\\u23a3\";\n font = \"Size4-Regular\";\n svgLabel = \"lbrack\";\n viewBoxWidth = 667;\n } else if (delim === \"]\" || delim === \"\\\\rbrack\") {\n top = \"\\u23a4\";\n repeat = \"\\u23a5\";\n bottom = \"\\u23a6\";\n font = \"Size4-Regular\";\n svgLabel = \"rbrack\";\n viewBoxWidth = 667;\n } else if (delim === \"\\\\lfloor\" || delim === \"\\u230a\") {\n repeat = top = \"\\u23a2\";\n bottom = \"\\u23a3\";\n font = \"Size4-Regular\";\n svgLabel = \"lfloor\";\n viewBoxWidth = 667;\n } else if (delim === \"\\\\lceil\" || delim === \"\\u2308\") {\n top = \"\\u23a1\";\n repeat = bottom = \"\\u23a2\";\n font = \"Size4-Regular\";\n svgLabel = \"lceil\";\n viewBoxWidth = 667;\n } else if (delim === \"\\\\rfloor\" || delim === \"\\u230b\") {\n repeat = top = \"\\u23a5\";\n bottom = \"\\u23a6\";\n font = \"Size4-Regular\";\n svgLabel = \"rfloor\";\n viewBoxWidth = 667;\n } else if (delim === \"\\\\rceil\" || delim === \"\\u2309\") {\n top = \"\\u23a4\";\n repeat = bottom = \"\\u23a5\";\n font = \"Size4-Regular\";\n svgLabel = \"rceil\";\n viewBoxWidth = 667;\n } else if (delim === \"(\" || delim === \"\\\\lparen\") {\n top = \"\\u239b\";\n repeat = \"\\u239c\";\n bottom = \"\\u239d\";\n font = \"Size4-Regular\";\n svgLabel = \"lparen\";\n viewBoxWidth = 875;\n } else if (delim === \")\" || delim === \"\\\\rparen\") {\n top = \"\\u239e\";\n repeat = \"\\u239f\";\n bottom = \"\\u23a0\";\n font = \"Size4-Regular\";\n svgLabel = \"rparen\";\n viewBoxWidth = 875;\n } else if (delim === \"\\\\{\" || delim === \"\\\\lbrace\") {\n top = \"\\u23a7\";\n middle = \"\\u23a8\";\n bottom = \"\\u23a9\";\n repeat = \"\\u23aa\";\n font = \"Size4-Regular\";\n } else if (delim === \"\\\\}\" || delim === \"\\\\rbrace\") {\n top = \"\\u23ab\";\n middle = \"\\u23ac\";\n bottom = \"\\u23ad\";\n repeat = \"\\u23aa\";\n font = \"Size4-Regular\";\n } else if (delim === \"\\\\lgroup\" || delim === \"\\u27ee\") {\n top = \"\\u23a7\";\n bottom = \"\\u23a9\";\n repeat = \"\\u23aa\";\n font = \"Size4-Regular\";\n } else if (delim === \"\\\\rgroup\" || delim === \"\\u27ef\") {\n top = \"\\u23ab\";\n bottom = \"\\u23ad\";\n repeat = \"\\u23aa\";\n font = \"Size4-Regular\";\n } else if (delim === \"\\\\lmoustache\" || delim === \"\\u23b0\") {\n top = \"\\u23a7\";\n bottom = \"\\u23ad\";\n repeat = \"\\u23aa\";\n font = \"Size4-Regular\";\n } else if (delim === \"\\\\rmoustache\" || delim === \"\\u23b1\") {\n top = \"\\u23ab\";\n bottom = \"\\u23a9\";\n repeat = \"\\u23aa\";\n font = \"Size4-Regular\";\n } // Get the metrics of the four sections\n\n\n const topMetrics = getMetrics(top, font, mode);\n const topHeightTotal = topMetrics.height + topMetrics.depth;\n const repeatMetrics = getMetrics(repeat, font, mode);\n const repeatHeightTotal = repeatMetrics.height + repeatMetrics.depth;\n const bottomMetrics = getMetrics(bottom, font, mode);\n const bottomHeightTotal = bottomMetrics.height + bottomMetrics.depth;\n let middleHeightTotal = 0;\n let middleFactor = 1;\n\n if (middle !== null) {\n const middleMetrics = getMetrics(middle, font, mode);\n middleHeightTotal = middleMetrics.height + middleMetrics.depth;\n middleFactor = 2; // repeat symmetrically above and below middle\n } // Calculate the minimal height that the delimiter can have.\n // It is at least the size of the top, bottom, and optional middle combined.\n\n\n const minHeight = topHeightTotal + bottomHeightTotal + middleHeightTotal; // Compute the number of copies of the repeat symbol we will need\n\n const repeatCount = Math.max(0, Math.ceil((heightTotal - minHeight) / (middleFactor * repeatHeightTotal))); // Compute the total height of the delimiter including all the symbols\n\n const realHeightTotal = minHeight + repeatCount * middleFactor * repeatHeightTotal; // The center of the delimiter is placed at the center of the axis. Note\n // that in this context, \"center\" means that the delimiter should be\n // centered around the axis in the current style, while normally it is\n // centered around the axis in textstyle.\n\n let axisHeight = options.fontMetrics().axisHeight;\n\n if (center) {\n axisHeight *= options.sizeMultiplier;\n } // Calculate the depth\n\n\n const depth = realHeightTotal / 2 - axisHeight; // Now, we start building the pieces that will go into the vlist\n // Keep a list of the pieces of the stacked delimiter\n\n const stack = [];\n\n if (svgLabel.length > 0) {\n // Instead of stacking glyphs, create a single SVG.\n // This evades browser problems with imprecise positioning of spans.\n const midHeight = realHeightTotal - topHeightTotal - bottomHeightTotal;\n const viewBoxHeight = Math.round(realHeightTotal * 1000);\n const pathStr = tallDelim(svgLabel, Math.round(midHeight * 1000));\n const path = new PathNode(svgLabel, pathStr);\n const width = (viewBoxWidth / 1000).toFixed(3) + \"em\";\n const height = (viewBoxHeight / 1000).toFixed(3) + \"em\";\n const svg = new SvgNode([path], {\n \"width\": width,\n \"height\": height,\n \"viewBox\": \"0 0 \" + viewBoxWidth + \" \" + viewBoxHeight\n });\n const wrapper = buildCommon.makeSvgSpan([], [svg], options);\n wrapper.height = viewBoxHeight / 1000;\n wrapper.style.width = width;\n wrapper.style.height = height;\n stack.push({\n type: \"elem\",\n elem: wrapper\n });\n } else {\n // Stack glyphs\n // Start by adding the bottom symbol\n stack.push(makeGlyphSpan(bottom, font, mode));\n stack.push(lap); // overlap\n\n if (middle === null) {\n // The middle section will be an SVG. Make it an extra 0.016em tall.\n // We'll overlap by 0.008em at top and bottom.\n const innerHeight = realHeightTotal - topHeightTotal - bottomHeightTotal + 2 * lapInEms;\n stack.push(makeInner(repeat, innerHeight, options));\n } else {\n // When there is a middle bit, we need the middle part and two repeated\n // sections\n const innerHeight = (realHeightTotal - topHeightTotal - bottomHeightTotal - middleHeightTotal) / 2 + 2 * lapInEms;\n stack.push(makeInner(repeat, innerHeight, options)); // Now insert the middle of the brace.\n\n stack.push(lap);\n stack.push(makeGlyphSpan(middle, font, mode));\n stack.push(lap);\n stack.push(makeInner(repeat, innerHeight, options));\n } // Add the top symbol\n\n\n stack.push(lap);\n stack.push(makeGlyphSpan(top, font, mode));\n } // Finally, build the vlist\n\n\n const newOptions = options.havingBaseStyle(src_Style.TEXT);\n const inner = buildCommon.makeVList({\n positionType: \"bottom\",\n positionData: depth,\n children: stack\n }, newOptions);\n return styleWrap(buildCommon.makeSpan([\"delimsizing\", \"mult\"], [inner], newOptions), src_Style.TEXT, options, classes);\n}; // All surds have 0.08em padding above the vinculum inside the SVG.\n// That keeps browser span height rounding error from pinching the line.\n\n\nconst vbPad = 80; // padding above the surd, measured inside the viewBox.\n\nconst emPad = 0.08; // padding, in ems, measured in the document.\n\nconst sqrtSvg = function (sqrtName, height, viewBoxHeight, extraVinculum, options) {\n const path = sqrtPath(sqrtName, extraVinculum, viewBoxHeight);\n const pathNode = new PathNode(sqrtName, path);\n const svg = new SvgNode([pathNode], {\n // Note: 1000:1 ratio of viewBox to document em width.\n \"width\": \"400em\",\n \"height\": makeEm(height),\n \"viewBox\": \"0 0 400000 \" + viewBoxHeight,\n \"preserveAspectRatio\": \"xMinYMin slice\"\n });\n return buildCommon.makeSvgSpan([\"hide-tail\"], [svg], options);\n};\n/**\n * Make a sqrt image of the given height,\n */\n\n\nconst makeSqrtImage = function (height, options) {\n // Define a newOptions that removes the effect of size changes such as \\Huge.\n // We don't pick different a height surd for \\Huge. For it, we scale up.\n const newOptions = options.havingBaseSizing(); // Pick the desired surd glyph from a sequence of surds.\n\n const delim = traverseSequence(\"\\\\surd\", height * newOptions.sizeMultiplier, stackLargeDelimiterSequence, newOptions);\n let sizeMultiplier = newOptions.sizeMultiplier; // default\n // The standard sqrt SVGs each have a 0.04em thick vinculum.\n // If Settings.minRuleThickness is larger than that, we add extraVinculum.\n\n const extraVinculum = Math.max(0, options.minRuleThickness - options.fontMetrics().sqrtRuleThickness); // Create a span containing an SVG image of a sqrt symbol.\n\n let span;\n let spanHeight = 0;\n let texHeight = 0;\n let viewBoxHeight = 0;\n let advanceWidth; // We create viewBoxes with 80 units of \"padding\" above each surd.\n // Then browser rounding error on the parent span height will not\n // encroach on the ink of the vinculum. But that padding is not\n // included in the TeX-like `height` used for calculation of\n // vertical alignment. So texHeight = span.height < span.style.height.\n\n if (delim.type === \"small\") {\n // Get an SVG that is derived from glyph U+221A in font KaTeX-Main.\n // 1000 unit normal glyph height.\n viewBoxHeight = 1000 + 1000 * extraVinculum + vbPad;\n\n if (height < 1.0) {\n sizeMultiplier = 1.0; // mimic a \\textfont radical\n } else if (height < 1.4) {\n sizeMultiplier = 0.7; // mimic a \\scriptfont radical\n }\n\n spanHeight = (1.0 + extraVinculum + emPad) / sizeMultiplier;\n texHeight = (1.00 + extraVinculum) / sizeMultiplier;\n span = sqrtSvg(\"sqrtMain\", spanHeight, viewBoxHeight, extraVinculum, options);\n span.style.minWidth = \"0.853em\";\n advanceWidth = 0.833 / sizeMultiplier; // from the font.\n } else if (delim.type === \"large\") {\n // These SVGs come from fonts: KaTeX_Size1, _Size2, etc.\n viewBoxHeight = (1000 + vbPad) * sizeToMaxHeight[delim.size];\n texHeight = (sizeToMaxHeight[delim.size] + extraVinculum) / sizeMultiplier;\n spanHeight = (sizeToMaxHeight[delim.size] + extraVinculum + emPad) / sizeMultiplier;\n span = sqrtSvg(\"sqrtSize\" + delim.size, spanHeight, viewBoxHeight, extraVinculum, options);\n span.style.minWidth = \"1.02em\";\n advanceWidth = 1.0 / sizeMultiplier; // 1.0 from the font.\n } else {\n // Tall sqrt. In TeX, this would be stacked using multiple glyphs.\n // We'll use a single SVG to accomplish the same thing.\n spanHeight = height + extraVinculum + emPad;\n texHeight = height + extraVinculum;\n viewBoxHeight = Math.floor(1000 * height + extraVinculum) + vbPad;\n span = sqrtSvg(\"sqrtTall\", spanHeight, viewBoxHeight, extraVinculum, options);\n span.style.minWidth = \"0.742em\";\n advanceWidth = 1.056;\n }\n\n span.height = texHeight;\n span.style.height = makeEm(spanHeight);\n return {\n span,\n advanceWidth,\n // Calculate the actual line width.\n // This actually should depend on the chosen font -- e.g. \\boldmath\n // should use the thicker surd symbols from e.g. KaTeX_Main-Bold, and\n // have thicker rules.\n ruleWidth: (options.fontMetrics().sqrtRuleThickness + extraVinculum) * sizeMultiplier\n };\n}; // There are three kinds of delimiters, delimiters that stack when they become\n// too large\n\n\nconst stackLargeDelimiters = [\"(\", \"\\\\lparen\", \")\", \"\\\\rparen\", \"[\", \"\\\\lbrack\", \"]\", \"\\\\rbrack\", \"\\\\{\", \"\\\\lbrace\", \"\\\\}\", \"\\\\rbrace\", \"\\\\lfloor\", \"\\\\rfloor\", \"\\u230a\", \"\\u230b\", \"\\\\lceil\", \"\\\\rceil\", \"\\u2308\", \"\\u2309\", \"\\\\surd\"]; // delimiters that always stack\n\nconst stackAlwaysDelimiters = [\"\\\\uparrow\", \"\\\\downarrow\", \"\\\\updownarrow\", \"\\\\Uparrow\", \"\\\\Downarrow\", \"\\\\Updownarrow\", \"|\", \"\\\\|\", \"\\\\vert\", \"\\\\Vert\", \"\\\\lvert\", \"\\\\rvert\", \"\\\\lVert\", \"\\\\rVert\", \"\\\\lgroup\", \"\\\\rgroup\", \"\\u27ee\", \"\\u27ef\", \"\\\\lmoustache\", \"\\\\rmoustache\", \"\\u23b0\", \"\\u23b1\"]; // and delimiters that never stack\n\nconst stackNeverDelimiters = [\"<\", \">\", \"\\\\langle\", \"\\\\rangle\", \"/\", \"\\\\backslash\", \"\\\\lt\", \"\\\\gt\"]; // Metrics of the different sizes. Found by looking at TeX's output of\n// $\\bigl| // \\Bigl| \\biggl| \\Biggl| \\showlists$\n// Used to create stacked delimiters of appropriate sizes in makeSizedDelim.\n\nconst sizeToMaxHeight = [0, 1.2, 1.8, 2.4, 3.0];\n/**\n * Used to create a delimiter of a specific size, where `size` is 1, 2, 3, or 4.\n */\n\nconst makeSizedDelim = function (delim, size, options, mode, classes) {\n // < and > turn into \\langle and \\rangle in delimiters\n if (delim === \"<\" || delim === \"\\\\lt\" || delim === \"\\u27e8\") {\n delim = \"\\\\langle\";\n } else if (delim === \">\" || delim === \"\\\\gt\" || delim === \"\\u27e9\") {\n delim = \"\\\\rangle\";\n } // Sized delimiters are never centered.\n\n\n if (utils.contains(stackLargeDelimiters, delim) || utils.contains(stackNeverDelimiters, delim)) {\n return makeLargeDelim(delim, size, false, options, mode, classes);\n } else if (utils.contains(stackAlwaysDelimiters, delim)) {\n return makeStackedDelim(delim, sizeToMaxHeight[size], false, options, mode, classes);\n } else {\n throw new src_ParseError(\"Illegal delimiter: '\" + delim + \"'\");\n }\n};\n/**\n * There are three different sequences of delimiter sizes that the delimiters\n * follow depending on the kind of delimiter. This is used when creating custom\n * sized delimiters to decide whether to create a small, large, or stacked\n * delimiter.\n *\n * In real TeX, these sequences aren't explicitly defined, but are instead\n * defined inside the font metrics. Since there are only three sequences that\n * are possible for the delimiters that TeX defines, it is easier to just encode\n * them explicitly here.\n */\n\n\n// Delimiters that never stack try small delimiters and large delimiters only\nconst stackNeverDelimiterSequence = [{\n type: \"small\",\n style: src_Style.SCRIPTSCRIPT\n}, {\n type: \"small\",\n style: src_Style.SCRIPT\n}, {\n type: \"small\",\n style: src_Style.TEXT\n}, {\n type: \"large\",\n size: 1\n}, {\n type: \"large\",\n size: 2\n}, {\n type: \"large\",\n size: 3\n}, {\n type: \"large\",\n size: 4\n}]; // Delimiters that always stack try the small delimiters first, then stack\n\nconst stackAlwaysDelimiterSequence = [{\n type: \"small\",\n style: src_Style.SCRIPTSCRIPT\n}, {\n type: \"small\",\n style: src_Style.SCRIPT\n}, {\n type: \"small\",\n style: src_Style.TEXT\n}, {\n type: \"stack\"\n}]; // Delimiters that stack when large try the small and then large delimiters, and\n// stack afterwards\n\nconst stackLargeDelimiterSequence = [{\n type: \"small\",\n style: src_Style.SCRIPTSCRIPT\n}, {\n type: \"small\",\n style: src_Style.SCRIPT\n}, {\n type: \"small\",\n style: src_Style.TEXT\n}, {\n type: \"large\",\n size: 1\n}, {\n type: \"large\",\n size: 2\n}, {\n type: \"large\",\n size: 3\n}, {\n type: \"large\",\n size: 4\n}, {\n type: \"stack\"\n}];\n/**\n * Get the font used in a delimiter based on what kind of delimiter it is.\n * TODO(#963) Use more specific font family return type once that is introduced.\n */\n\nconst delimTypeToFont = function (type) {\n if (type.type === \"small\") {\n return \"Main-Regular\";\n } else if (type.type === \"large\") {\n return \"Size\" + type.size + \"-Regular\";\n } else if (type.type === \"stack\") {\n return \"Size4-Regular\";\n } else {\n throw new Error(\"Add support for delim type '\" + type.type + \"' here.\");\n }\n};\n/**\n * Traverse a sequence of types of delimiters to decide what kind of delimiter\n * should be used to create a delimiter of the given height+depth.\n */\n\n\nconst traverseSequence = function (delim, height, sequence, options) {\n // Here, we choose the index we should start at in the sequences. In smaller\n // sizes (which correspond to larger numbers in style.size) we start earlier\n // in the sequence. Thus, scriptscript starts at index 3-3=0, script starts\n // at index 3-2=1, text starts at 3-1=2, and display starts at min(2,3-0)=2\n const start = Math.min(2, 3 - options.style.size);\n\n for (let i = start; i < sequence.length; i++) {\n if (sequence[i].type === \"stack\") {\n // This is always the last delimiter, so we just break the loop now.\n break;\n }\n\n const metrics = getMetrics(delim, delimTypeToFont(sequence[i]), \"math\");\n let heightDepth = metrics.height + metrics.depth; // Small delimiters are scaled down versions of the same font, so we\n // account for the style change size.\n\n if (sequence[i].type === \"small\") {\n const newOptions = options.havingBaseStyle(sequence[i].style);\n heightDepth *= newOptions.sizeMultiplier;\n } // Check if the delimiter at this size works for the given height.\n\n\n if (heightDepth > height) {\n return sequence[i];\n }\n } // If we reached the end of the sequence, return the last sequence element.\n\n\n return sequence[sequence.length - 1];\n};\n/**\n * Make a delimiter of a given height+depth, with optional centering. Here, we\n * traverse the sequences, and create a delimiter that the sequence tells us to.\n */\n\n\nconst makeCustomSizedDelim = function (delim, height, center, options, mode, classes) {\n if (delim === \"<\" || delim === \"\\\\lt\" || delim === \"\\u27e8\") {\n delim = \"\\\\langle\";\n } else if (delim === \">\" || delim === \"\\\\gt\" || delim === \"\\u27e9\") {\n delim = \"\\\\rangle\";\n } // Decide what sequence to use\n\n\n let sequence;\n\n if (utils.contains(stackNeverDelimiters, delim)) {\n sequence = stackNeverDelimiterSequence;\n } else if (utils.contains(stackLargeDelimiters, delim)) {\n sequence = stackLargeDelimiterSequence;\n } else {\n sequence = stackAlwaysDelimiterSequence;\n } // Look through the sequence\n\n\n const delimType = traverseSequence(delim, height, sequence, options); // Get the delimiter from font glyphs.\n // Depending on the sequence element we decided on, call the\n // appropriate function.\n\n if (delimType.type === \"small\") {\n return makeSmallDelim(delim, delimType.style, center, options, mode, classes);\n } else if (delimType.type === \"large\") {\n return makeLargeDelim(delim, delimType.size, center, options, mode, classes);\n } else\n /* if (delimType.type === \"stack\") */\n {\n return makeStackedDelim(delim, height, center, options, mode, classes);\n }\n};\n/**\n * Make a delimiter for use with `\\left` and `\\right`, given a height and depth\n * of an expression that the delimiters surround.\n */\n\n\nconst makeLeftRightDelim = function (delim, height, depth, options, mode, classes) {\n // We always center \\left/\\right delimiters, so the axis is always shifted\n const axisHeight = options.fontMetrics().axisHeight * options.sizeMultiplier; // Taken from TeX source, tex.web, function make_left_right\n\n const delimiterFactor = 901;\n const delimiterExtend = 5.0 / options.fontMetrics().ptPerEm;\n const maxDistFromAxis = Math.max(height - axisHeight, depth + axisHeight);\n const totalHeight = Math.max( // In real TeX, calculations are done using integral values which are\n // 65536 per pt, or 655360 per em. So, the division here truncates in\n // TeX but doesn't here, producing different results. If we wanted to\n // exactly match TeX's calculation, we could do\n // Math.floor(655360 * maxDistFromAxis / 500) *\n // delimiterFactor / 655360\n // (To see the difference, compare\n // x^{x^{\\left(\\rule{0.1em}{0.68em}\\right)}}\n // in TeX and KaTeX)\n maxDistFromAxis / 500 * delimiterFactor, 2 * maxDistFromAxis - delimiterExtend); // Finally, we defer to `makeCustomSizedDelim` with our calculated total\n // height\n\n return makeCustomSizedDelim(delim, totalHeight, true, options, mode, classes);\n};\n\n/* harmony default export */ var delimiter = ({\n sqrtImage: makeSqrtImage,\n sizedDelim: makeSizedDelim,\n sizeToMaxHeight: sizeToMaxHeight,\n customSizedDelim: makeCustomSizedDelim,\n leftRightDelim: makeLeftRightDelim\n});\n;// CONCATENATED MODULE: ./src/functions/delimsizing.js\n\n\n\n\n\n\n\n\n\n\n// Extra data needed for the delimiter handler down below\nconst delimiterSizes = {\n \"\\\\bigl\": {\n mclass: \"mopen\",\n size: 1\n },\n \"\\\\Bigl\": {\n mclass: \"mopen\",\n size: 2\n },\n \"\\\\biggl\": {\n mclass: \"mopen\",\n size: 3\n },\n \"\\\\Biggl\": {\n mclass: \"mopen\",\n size: 4\n },\n \"\\\\bigr\": {\n mclass: \"mclose\",\n size: 1\n },\n \"\\\\Bigr\": {\n mclass: \"mclose\",\n size: 2\n },\n \"\\\\biggr\": {\n mclass: \"mclose\",\n size: 3\n },\n \"\\\\Biggr\": {\n mclass: \"mclose\",\n size: 4\n },\n \"\\\\bigm\": {\n mclass: \"mrel\",\n size: 1\n },\n \"\\\\Bigm\": {\n mclass: \"mrel\",\n size: 2\n },\n \"\\\\biggm\": {\n mclass: \"mrel\",\n size: 3\n },\n \"\\\\Biggm\": {\n mclass: \"mrel\",\n size: 4\n },\n \"\\\\big\": {\n mclass: \"mord\",\n size: 1\n },\n \"\\\\Big\": {\n mclass: \"mord\",\n size: 2\n },\n \"\\\\bigg\": {\n mclass: \"mord\",\n size: 3\n },\n \"\\\\Bigg\": {\n mclass: \"mord\",\n size: 4\n }\n};\nconst delimiters = [\"(\", \"\\\\lparen\", \")\", \"\\\\rparen\", \"[\", \"\\\\lbrack\", \"]\", \"\\\\rbrack\", \"\\\\{\", \"\\\\lbrace\", \"\\\\}\", \"\\\\rbrace\", \"\\\\lfloor\", \"\\\\rfloor\", \"\\u230a\", \"\\u230b\", \"\\\\lceil\", \"\\\\rceil\", \"\\u2308\", \"\\u2309\", \"<\", \">\", \"\\\\langle\", \"\\u27e8\", \"\\\\rangle\", \"\\u27e9\", \"\\\\lt\", \"\\\\gt\", \"\\\\lvert\", \"\\\\rvert\", \"\\\\lVert\", \"\\\\rVert\", \"\\\\lgroup\", \"\\\\rgroup\", \"\\u27ee\", \"\\u27ef\", \"\\\\lmoustache\", \"\\\\rmoustache\", \"\\u23b0\", \"\\u23b1\", \"/\", \"\\\\backslash\", \"|\", \"\\\\vert\", \"\\\\|\", \"\\\\Vert\", \"\\\\uparrow\", \"\\\\Uparrow\", \"\\\\downarrow\", \"\\\\Downarrow\", \"\\\\updownarrow\", \"\\\\Updownarrow\", \".\"];\n\n// Delimiter functions\nfunction checkDelimiter(delim, context) {\n const symDelim = checkSymbolNodeType(delim);\n\n if (symDelim && utils.contains(delimiters, symDelim.text)) {\n return symDelim;\n } else if (symDelim) {\n throw new src_ParseError(\"Invalid delimiter '\" + symDelim.text + \"' after '\" + context.funcName + \"'\", delim);\n } else {\n throw new src_ParseError(\"Invalid delimiter type '\" + delim.type + \"'\", delim);\n }\n}\n\ndefineFunction({\n type: \"delimsizing\",\n names: [\"\\\\bigl\", \"\\\\Bigl\", \"\\\\biggl\", \"\\\\Biggl\", \"\\\\bigr\", \"\\\\Bigr\", \"\\\\biggr\", \"\\\\Biggr\", \"\\\\bigm\", \"\\\\Bigm\", \"\\\\biggm\", \"\\\\Biggm\", \"\\\\big\", \"\\\\Big\", \"\\\\bigg\", \"\\\\Bigg\"],\n props: {\n numArgs: 1,\n argTypes: [\"primitive\"]\n },\n handler: (context, args) => {\n const delim = checkDelimiter(args[0], context);\n return {\n type: \"delimsizing\",\n mode: context.parser.mode,\n size: delimiterSizes[context.funcName].size,\n mclass: delimiterSizes[context.funcName].mclass,\n delim: delim.text\n };\n },\n htmlBuilder: (group, options) => {\n if (group.delim === \".\") {\n // Empty delimiters still count as elements, even though they don't\n // show anything.\n return buildCommon.makeSpan([group.mclass]);\n } // Use delimiter.sizedDelim to generate the delimiter.\n\n\n return delimiter.sizedDelim(group.delim, group.size, options, group.mode, [group.mclass]);\n },\n mathmlBuilder: group => {\n const children = [];\n\n if (group.delim !== \".\") {\n children.push(makeText(group.delim, group.mode));\n }\n\n const node = new mathMLTree.MathNode(\"mo\", children);\n\n if (group.mclass === \"mopen\" || group.mclass === \"mclose\") {\n // Only some of the delimsizing functions act as fences, and they\n // return \"mopen\" or \"mclose\" mclass.\n node.setAttribute(\"fence\", \"true\");\n } else {\n // Explicitly disable fencing if it's not a fence, to override the\n // defaults.\n node.setAttribute(\"fence\", \"false\");\n }\n\n node.setAttribute(\"stretchy\", \"true\");\n const size = makeEm(delimiter.sizeToMaxHeight[group.size]);\n node.setAttribute(\"minsize\", size);\n node.setAttribute(\"maxsize\", size);\n return node;\n }\n});\n\nfunction assertParsed(group) {\n if (!group.body) {\n throw new Error(\"Bug: The leftright ParseNode wasn't fully parsed.\");\n }\n}\n\ndefineFunction({\n type: \"leftright-right\",\n names: [\"\\\\right\"],\n props: {\n numArgs: 1,\n primitive: true\n },\n handler: (context, args) => {\n // \\left case below triggers parsing of \\right in\n // `const right = parser.parseFunction();`\n // uses this return value.\n const color = context.parser.gullet.macros.get(\"\\\\current@color\");\n\n if (color && typeof color !== \"string\") {\n throw new src_ParseError(\"\\\\current@color set to non-string in \\\\right\");\n }\n\n return {\n type: \"leftright-right\",\n mode: context.parser.mode,\n delim: checkDelimiter(args[0], context).text,\n color // undefined if not set via \\color\n\n };\n }\n});\ndefineFunction({\n type: \"leftright\",\n names: [\"\\\\left\"],\n props: {\n numArgs: 1,\n primitive: true\n },\n handler: (context, args) => {\n const delim = checkDelimiter(args[0], context);\n const parser = context.parser; // Parse out the implicit body\n\n ++parser.leftrightDepth; // parseExpression stops before '\\\\right'\n\n const body = parser.parseExpression(false);\n --parser.leftrightDepth; // Check the next token\n\n parser.expect(\"\\\\right\", false);\n const right = assertNodeType(parser.parseFunction(), \"leftright-right\");\n return {\n type: \"leftright\",\n mode: parser.mode,\n body,\n left: delim.text,\n right: right.delim,\n rightColor: right.color\n };\n },\n htmlBuilder: (group, options) => {\n assertParsed(group); // Build the inner expression\n\n const inner = buildExpression(group.body, options, true, [\"mopen\", \"mclose\"]);\n let innerHeight = 0;\n let innerDepth = 0;\n let hadMiddle = false; // Calculate its height and depth\n\n for (let i = 0; i < inner.length; i++) {\n // Property `isMiddle` not defined on `span`. See comment in\n // \"middle\"'s htmlBuilder.\n // $FlowFixMe\n if (inner[i].isMiddle) {\n hadMiddle = true;\n } else {\n innerHeight = Math.max(inner[i].height, innerHeight);\n innerDepth = Math.max(inner[i].depth, innerDepth);\n }\n } // The size of delimiters is the same, regardless of what style we are\n // in. Thus, to correctly calculate the size of delimiter we need around\n // a group, we scale down the inner size based on the size.\n\n\n innerHeight *= options.sizeMultiplier;\n innerDepth *= options.sizeMultiplier;\n let leftDelim;\n\n if (group.left === \".\") {\n // Empty delimiters in \\left and \\right make null delimiter spaces.\n leftDelim = makeNullDelimiter(options, [\"mopen\"]);\n } else {\n // Otherwise, use leftRightDelim to generate the correct sized\n // delimiter.\n leftDelim = delimiter.leftRightDelim(group.left, innerHeight, innerDepth, options, group.mode, [\"mopen\"]);\n } // Add it to the beginning of the expression\n\n\n inner.unshift(leftDelim); // Handle middle delimiters\n\n if (hadMiddle) {\n for (let i = 1; i < inner.length; i++) {\n const middleDelim = inner[i]; // Property `isMiddle` not defined on `span`. See comment in\n // \"middle\"'s htmlBuilder.\n // $FlowFixMe\n\n const isMiddle = middleDelim.isMiddle;\n\n if (isMiddle) {\n // Apply the options that were active when \\middle was called\n inner[i] = delimiter.leftRightDelim(isMiddle.delim, innerHeight, innerDepth, isMiddle.options, group.mode, []);\n }\n }\n }\n\n let rightDelim; // Same for the right delimiter, but using color specified by \\color\n\n if (group.right === \".\") {\n rightDelim = makeNullDelimiter(options, [\"mclose\"]);\n } else {\n const colorOptions = group.rightColor ? options.withColor(group.rightColor) : options;\n rightDelim = delimiter.leftRightDelim(group.right, innerHeight, innerDepth, colorOptions, group.mode, [\"mclose\"]);\n } // Add it to the end of the expression.\n\n\n inner.push(rightDelim);\n return buildCommon.makeSpan([\"minner\"], inner, options);\n },\n mathmlBuilder: (group, options) => {\n assertParsed(group);\n const inner = buildMathML_buildExpression(group.body, options);\n\n if (group.left !== \".\") {\n const leftNode = new mathMLTree.MathNode(\"mo\", [makeText(group.left, group.mode)]);\n leftNode.setAttribute(\"fence\", \"true\");\n inner.unshift(leftNode);\n }\n\n if (group.right !== \".\") {\n const rightNode = new mathMLTree.MathNode(\"mo\", [makeText(group.right, group.mode)]);\n rightNode.setAttribute(\"fence\", \"true\");\n\n if (group.rightColor) {\n rightNode.setAttribute(\"mathcolor\", group.rightColor);\n }\n\n inner.push(rightNode);\n }\n\n return makeRow(inner);\n }\n});\ndefineFunction({\n type: \"middle\",\n names: [\"\\\\middle\"],\n props: {\n numArgs: 1,\n primitive: true\n },\n handler: (context, args) => {\n const delim = checkDelimiter(args[0], context);\n\n if (!context.parser.leftrightDepth) {\n throw new src_ParseError(\"\\\\middle without preceding \\\\left\", delim);\n }\n\n return {\n type: \"middle\",\n mode: context.parser.mode,\n delim: delim.text\n };\n },\n htmlBuilder: (group, options) => {\n let middleDelim;\n\n if (group.delim === \".\") {\n middleDelim = makeNullDelimiter(options, []);\n } else {\n middleDelim = delimiter.sizedDelim(group.delim, 1, options, group.mode, []);\n const isMiddle = {\n delim: group.delim,\n options\n }; // Property `isMiddle` not defined on `span`. It is only used in\n // this file above.\n // TODO: Fix this violation of the `span` type and possibly rename\n // things since `isMiddle` sounds like a boolean, but is a struct.\n // $FlowFixMe\n\n middleDelim.isMiddle = isMiddle;\n }\n\n return middleDelim;\n },\n mathmlBuilder: (group, options) => {\n // A Firefox \\middle will stretch a character vertically only if it\n // is in the fence part of the operator dictionary at:\n // https://www.w3.org/TR/MathML3/appendixc.html.\n // So we need to avoid U+2223 and use plain \"|\" instead.\n const textNode = group.delim === \"\\\\vert\" || group.delim === \"|\" ? makeText(\"|\", \"text\") : makeText(group.delim, group.mode);\n const middleNode = new mathMLTree.MathNode(\"mo\", [textNode]);\n middleNode.setAttribute(\"fence\", \"true\"); // MathML gives 5/18em spacing to each element.\n // \\middle should get delimiter spacing instead.\n\n middleNode.setAttribute(\"lspace\", \"0.05em\");\n middleNode.setAttribute(\"rspace\", \"0.05em\");\n return middleNode;\n }\n});\n;// CONCATENATED MODULE: ./src/functions/enclose.js\n\n\n\n\n\n\n\n\n\n\n\n\nconst enclose_htmlBuilder = (group, options) => {\n // \\cancel, \\bcancel, \\xcancel, \\sout, \\fbox, \\colorbox, \\fcolorbox, \\phase\n // Some groups can return document fragments. Handle those by wrapping\n // them in a span.\n const inner = buildCommon.wrapFragment(buildGroup(group.body, options), options);\n const label = group.label.slice(1);\n let scale = options.sizeMultiplier;\n let img;\n let imgShift = 0; // In the LaTeX cancel package, line geometry is slightly different\n // depending on whether the subject is wider than it is tall, or vice versa.\n // We don't know the width of a group, so as a proxy, we test if\n // the subject is a single character. This captures most of the\n // subjects that should get the \"tall\" treatment.\n\n const isSingleChar = utils.isCharacterBox(group.body);\n\n if (label === \"sout\") {\n img = buildCommon.makeSpan([\"stretchy\", \"sout\"]);\n img.height = options.fontMetrics().defaultRuleThickness / scale;\n imgShift = -0.5 * options.fontMetrics().xHeight;\n } else if (label === \"phase\") {\n // Set a couple of dimensions from the steinmetz package.\n const lineWeight = calculateSize({\n number: 0.6,\n unit: \"pt\"\n }, options);\n const clearance = calculateSize({\n number: 0.35,\n unit: \"ex\"\n }, options); // Prevent size changes like \\Huge from affecting line thickness\n\n const newOptions = options.havingBaseSizing();\n scale = scale / newOptions.sizeMultiplier;\n const angleHeight = inner.height + inner.depth + lineWeight + clearance; // Reserve a left pad for the angle.\n\n inner.style.paddingLeft = makeEm(angleHeight / 2 + lineWeight); // Create an SVG\n\n const viewBoxHeight = Math.floor(1000 * angleHeight * scale);\n const path = phasePath(viewBoxHeight);\n const svgNode = new SvgNode([new PathNode(\"phase\", path)], {\n \"width\": \"400em\",\n \"height\": makeEm(viewBoxHeight / 1000),\n \"viewBox\": \"0 0 400000 \" + viewBoxHeight,\n \"preserveAspectRatio\": \"xMinYMin slice\"\n }); // Wrap it in a span with overflow: hidden.\n\n img = buildCommon.makeSvgSpan([\"hide-tail\"], [svgNode], options);\n img.style.height = makeEm(angleHeight);\n imgShift = inner.depth + lineWeight + clearance;\n } else {\n // Add horizontal padding\n if (/cancel/.test(label)) {\n if (!isSingleChar) {\n inner.classes.push(\"cancel-pad\");\n }\n } else if (label === \"angl\") {\n inner.classes.push(\"anglpad\");\n } else {\n inner.classes.push(\"boxpad\");\n } // Add vertical padding\n\n\n let topPad = 0;\n let bottomPad = 0;\n let ruleThickness = 0; // ref: cancel package: \\advance\\totalheight2\\p@ % \"+2\"\n\n if (/box/.test(label)) {\n ruleThickness = Math.max(options.fontMetrics().fboxrule, // default\n options.minRuleThickness // User override.\n );\n topPad = options.fontMetrics().fboxsep + (label === \"colorbox\" ? 0 : ruleThickness);\n bottomPad = topPad;\n } else if (label === \"angl\") {\n ruleThickness = Math.max(options.fontMetrics().defaultRuleThickness, options.minRuleThickness);\n topPad = 4 * ruleThickness; // gap = 3 × line, plus the line itself.\n\n bottomPad = Math.max(0, 0.25 - inner.depth);\n } else {\n topPad = isSingleChar ? 0.2 : 0;\n bottomPad = topPad;\n }\n\n img = stretchy.encloseSpan(inner, label, topPad, bottomPad, options);\n\n if (/fbox|boxed|fcolorbox/.test(label)) {\n img.style.borderStyle = \"solid\";\n img.style.borderWidth = makeEm(ruleThickness);\n } else if (label === \"angl\" && ruleThickness !== 0.049) {\n img.style.borderTopWidth = makeEm(ruleThickness);\n img.style.borderRightWidth = makeEm(ruleThickness);\n }\n\n imgShift = inner.depth + bottomPad;\n\n if (group.backgroundColor) {\n img.style.backgroundColor = group.backgroundColor;\n\n if (group.borderColor) {\n img.style.borderColor = group.borderColor;\n }\n }\n }\n\n let vlist;\n\n if (group.backgroundColor) {\n vlist = buildCommon.makeVList({\n positionType: \"individualShift\",\n children: [// Put the color background behind inner;\n {\n type: \"elem\",\n elem: img,\n shift: imgShift\n }, {\n type: \"elem\",\n elem: inner,\n shift: 0\n }]\n }, options);\n } else {\n const classes = /cancel|phase/.test(label) ? [\"svg-align\"] : [];\n vlist = buildCommon.makeVList({\n positionType: \"individualShift\",\n children: [// Write the \\cancel stroke on top of inner.\n {\n type: \"elem\",\n elem: inner,\n shift: 0\n }, {\n type: \"elem\",\n elem: img,\n shift: imgShift,\n wrapperClasses: classes\n }]\n }, options);\n }\n\n if (/cancel/.test(label)) {\n // The cancel package documentation says that cancel lines add their height\n // to the expression, but tests show that isn't how it actually works.\n vlist.height = inner.height;\n vlist.depth = inner.depth;\n }\n\n if (/cancel/.test(label) && !isSingleChar) {\n // cancel does not create horiz space for its line extension.\n return buildCommon.makeSpan([\"mord\", \"cancel-lap\"], [vlist], options);\n } else {\n return buildCommon.makeSpan([\"mord\"], [vlist], options);\n }\n};\n\nconst enclose_mathmlBuilder = (group, options) => {\n let fboxsep = 0;\n const node = new mathMLTree.MathNode(group.label.indexOf(\"colorbox\") > -1 ? \"mpadded\" : \"menclose\", [buildMathML_buildGroup(group.body, options)]);\n\n switch (group.label) {\n case \"\\\\cancel\":\n node.setAttribute(\"notation\", \"updiagonalstrike\");\n break;\n\n case \"\\\\bcancel\":\n node.setAttribute(\"notation\", \"downdiagonalstrike\");\n break;\n\n case \"\\\\phase\":\n node.setAttribute(\"notation\", \"phasorangle\");\n break;\n\n case \"\\\\sout\":\n node.setAttribute(\"notation\", \"horizontalstrike\");\n break;\n\n case \"\\\\fbox\":\n node.setAttribute(\"notation\", \"box\");\n break;\n\n case \"\\\\angl\":\n node.setAttribute(\"notation\", \"actuarial\");\n break;\n\n case \"\\\\fcolorbox\":\n case \"\\\\colorbox\":\n // doesn't have a good notation option. So use \n // instead. Set some attributes that come included with .\n fboxsep = options.fontMetrics().fboxsep * options.fontMetrics().ptPerEm;\n node.setAttribute(\"width\", \"+\" + 2 * fboxsep + \"pt\");\n node.setAttribute(\"height\", \"+\" + 2 * fboxsep + \"pt\");\n node.setAttribute(\"lspace\", fboxsep + \"pt\"); //\n\n node.setAttribute(\"voffset\", fboxsep + \"pt\");\n\n if (group.label === \"\\\\fcolorbox\") {\n const thk = Math.max(options.fontMetrics().fboxrule, // default\n options.minRuleThickness // user override\n );\n node.setAttribute(\"style\", \"border: \" + thk + \"em solid \" + String(group.borderColor));\n }\n\n break;\n\n case \"\\\\xcancel\":\n node.setAttribute(\"notation\", \"updiagonalstrike downdiagonalstrike\");\n break;\n }\n\n if (group.backgroundColor) {\n node.setAttribute(\"mathbackground\", group.backgroundColor);\n }\n\n return node;\n};\n\ndefineFunction({\n type: \"enclose\",\n names: [\"\\\\colorbox\"],\n props: {\n numArgs: 2,\n allowedInText: true,\n argTypes: [\"color\", \"text\"]\n },\n\n handler(_ref, args, optArgs) {\n let {\n parser,\n funcName\n } = _ref;\n const color = assertNodeType(args[0], \"color-token\").color;\n const body = args[1];\n return {\n type: \"enclose\",\n mode: parser.mode,\n label: funcName,\n backgroundColor: color,\n body\n };\n },\n\n htmlBuilder: enclose_htmlBuilder,\n mathmlBuilder: enclose_mathmlBuilder\n});\ndefineFunction({\n type: \"enclose\",\n names: [\"\\\\fcolorbox\"],\n props: {\n numArgs: 3,\n allowedInText: true,\n argTypes: [\"color\", \"color\", \"text\"]\n },\n\n handler(_ref2, args, optArgs) {\n let {\n parser,\n funcName\n } = _ref2;\n const borderColor = assertNodeType(args[0], \"color-token\").color;\n const backgroundColor = assertNodeType(args[1], \"color-token\").color;\n const body = args[2];\n return {\n type: \"enclose\",\n mode: parser.mode,\n label: funcName,\n backgroundColor,\n borderColor,\n body\n };\n },\n\n htmlBuilder: enclose_htmlBuilder,\n mathmlBuilder: enclose_mathmlBuilder\n});\ndefineFunction({\n type: \"enclose\",\n names: [\"\\\\fbox\"],\n props: {\n numArgs: 1,\n argTypes: [\"hbox\"],\n allowedInText: true\n },\n\n handler(_ref3, args) {\n let {\n parser\n } = _ref3;\n return {\n type: \"enclose\",\n mode: parser.mode,\n label: \"\\\\fbox\",\n body: args[0]\n };\n }\n\n});\ndefineFunction({\n type: \"enclose\",\n names: [\"\\\\cancel\", \"\\\\bcancel\", \"\\\\xcancel\", \"\\\\sout\", \"\\\\phase\"],\n props: {\n numArgs: 1\n },\n\n handler(_ref4, args) {\n let {\n parser,\n funcName\n } = _ref4;\n const body = args[0];\n return {\n type: \"enclose\",\n mode: parser.mode,\n label: funcName,\n body\n };\n },\n\n htmlBuilder: enclose_htmlBuilder,\n mathmlBuilder: enclose_mathmlBuilder\n});\ndefineFunction({\n type: \"enclose\",\n names: [\"\\\\angl\"],\n props: {\n numArgs: 1,\n argTypes: [\"hbox\"],\n allowedInText: false\n },\n\n handler(_ref5, args) {\n let {\n parser\n } = _ref5;\n return {\n type: \"enclose\",\n mode: parser.mode,\n label: \"\\\\angl\",\n body: args[0]\n };\n }\n\n});\n;// CONCATENATED MODULE: ./src/defineEnvironment.js\n\n\n/**\n * All registered environments.\n * `environments.js` exports this same dictionary again and makes it public.\n * `Parser.js` requires this dictionary via `environments.js`.\n */\nconst _environments = {};\nfunction defineEnvironment(_ref) {\n let {\n type,\n names,\n props,\n handler,\n htmlBuilder,\n mathmlBuilder\n } = _ref;\n // Set default values of environments.\n const data = {\n type,\n numArgs: props.numArgs || 0,\n allowedInText: false,\n numOptionalArgs: 0,\n handler\n };\n\n for (let i = 0; i < names.length; ++i) {\n // TODO: The value type of _environments should be a type union of all\n // possible `EnvSpec<>` possibilities instead of `EnvSpec<*>`, which is\n // an existential type.\n _environments[names[i]] = data;\n }\n\n if (htmlBuilder) {\n _htmlGroupBuilders[type] = htmlBuilder;\n }\n\n if (mathmlBuilder) {\n _mathmlGroupBuilders[type] = mathmlBuilder;\n }\n}\n;// CONCATENATED MODULE: ./src/defineMacro.js\n\n\n/**\n * All registered global/built-in macros.\n * `macros.js` exports this same dictionary again and makes it public.\n * `Parser.js` requires this dictionary via `macros.js`.\n */\nconst _macros = {}; // This function might one day accept an additional argument and do more things.\n\nfunction defineMacro(name, body) {\n _macros[name] = body;\n}\n;// CONCATENATED MODULE: ./src/SourceLocation.js\n/**\n * Lexing or parsing positional information for error reporting.\n * This object is immutable.\n */\nclass SourceLocation {\n // The + prefix indicates that these fields aren't writeable\n // Lexer holding the input string.\n // Start offset, zero-based inclusive.\n // End offset, zero-based exclusive.\n constructor(lexer, start, end) {\n this.lexer = void 0;\n this.start = void 0;\n this.end = void 0;\n this.lexer = lexer;\n this.start = start;\n this.end = end;\n }\n /**\n * Merges two `SourceLocation`s from location providers, given they are\n * provided in order of appearance.\n * - Returns the first one's location if only the first is provided.\n * - Returns a merged range of the first and the last if both are provided\n * and their lexers match.\n * - Otherwise, returns null.\n */\n\n\n static range(first, second) {\n if (!second) {\n return first && first.loc;\n } else if (!first || !first.loc || !second.loc || first.loc.lexer !== second.loc.lexer) {\n return null;\n } else {\n return new SourceLocation(first.loc.lexer, first.loc.start, second.loc.end);\n }\n }\n\n}\n;// CONCATENATED MODULE: ./src/Token.js\n\n/**\n * Interface required to break circular dependency between Token, Lexer, and\n * ParseError.\n */\n\n/**\n * The resulting token returned from `lex`.\n *\n * It consists of the token text plus some position information.\n * The position information is essentially a range in an input string,\n * but instead of referencing the bare input string, we refer to the lexer.\n * That way it is possible to attach extra metadata to the input string,\n * like for example a file name or similar.\n *\n * The position information is optional, so it is OK to construct synthetic\n * tokens if appropriate. Not providing available position information may\n * lead to degraded error reporting, though.\n */\nclass Token {\n // don't expand the token\n // used in \\noexpand\n constructor(text, // the text of this token\n loc) {\n this.text = void 0;\n this.loc = void 0;\n this.noexpand = void 0;\n this.treatAsRelax = void 0;\n this.text = text;\n this.loc = loc;\n }\n /**\n * Given a pair of tokens (this and endToken), compute a `Token` encompassing\n * the whole input range enclosed by these two.\n */\n\n\n range(endToken, // last token of the range, inclusive\n text // the text of the newly constructed token\n ) {\n return new Token(text, SourceLocation.range(this, endToken));\n }\n\n}\n;// CONCATENATED MODULE: ./src/environments/array.js\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n// Helper functions\nfunction getHLines(parser) {\n // Return an array. The array length = number of hlines.\n // Each element in the array tells if the line is dashed.\n const hlineInfo = [];\n parser.consumeSpaces();\n let nxt = parser.fetch().text;\n\n if (nxt === \"\\\\relax\") {\n // \\relax is an artifact of the \\cr macro below\n parser.consume();\n parser.consumeSpaces();\n nxt = parser.fetch().text;\n }\n\n while (nxt === \"\\\\hline\" || nxt === \"\\\\hdashline\") {\n parser.consume();\n hlineInfo.push(nxt === \"\\\\hdashline\");\n parser.consumeSpaces();\n nxt = parser.fetch().text;\n }\n\n return hlineInfo;\n}\n\nconst validateAmsEnvironmentContext = context => {\n const settings = context.parser.settings;\n\n if (!settings.displayMode) {\n throw new src_ParseError(\"{\" + context.envName + \"} can be used only in\" + \" display mode.\");\n }\n}; // autoTag (an argument to parseArray) can be one of three values:\n// * undefined: Regular (not-top-level) array; no tags on each row\n// * true: Automatic equation numbering, overridable by \\tag\n// * false: Tags allowed on each row, but no automatic numbering\n// This function *doesn't* work with the \"split\" environment name.\n\n\nfunction getAutoTag(name) {\n if (name.indexOf(\"ed\") === -1) {\n return name.indexOf(\"*\") === -1;\n } // return undefined;\n\n}\n/**\n * Parse the body of the environment, with rows delimited by \\\\ and\n * columns delimited by &, and create a nested list in row-major order\n * with one group per cell. If given an optional argument style\n * (\"text\", \"display\", etc.), then each cell is cast into that style.\n */\n\n\nfunction parseArray(parser, _ref, style) {\n let {\n hskipBeforeAndAfter,\n addJot,\n cols,\n arraystretch,\n colSeparationType,\n autoTag,\n singleRow,\n emptySingleRow,\n maxNumCols,\n leqno\n } = _ref;\n parser.gullet.beginGroup();\n\n if (!singleRow) {\n // \\cr is equivalent to \\\\ without the optional size argument (see below)\n // TODO: provide helpful error when \\cr is used outside array environment\n parser.gullet.macros.set(\"\\\\cr\", \"\\\\\\\\\\\\relax\");\n } // Get current arraystretch if it's not set by the environment\n\n\n if (!arraystretch) {\n const stretch = parser.gullet.expandMacroAsText(\"\\\\arraystretch\");\n\n if (stretch == null) {\n // Default \\arraystretch from lttab.dtx\n arraystretch = 1;\n } else {\n arraystretch = parseFloat(stretch);\n\n if (!arraystretch || arraystretch < 0) {\n throw new src_ParseError(\"Invalid \\\\arraystretch: \" + stretch);\n }\n }\n } // Start group for first cell\n\n\n parser.gullet.beginGroup();\n let row = [];\n const body = [row];\n const rowGaps = [];\n const hLinesBeforeRow = [];\n const tags = autoTag != null ? [] : undefined; // amsmath uses \\global\\@eqnswtrue and \\global\\@eqnswfalse to represent\n // whether this row should have an equation number. Simulate this with\n // a \\@eqnsw macro set to 1 or 0.\n\n function beginRow() {\n if (autoTag) {\n parser.gullet.macros.set(\"\\\\@eqnsw\", \"1\", true);\n }\n }\n\n function endRow() {\n if (tags) {\n if (parser.gullet.macros.get(\"\\\\df@tag\")) {\n tags.push(parser.subparse([new Token(\"\\\\df@tag\")]));\n parser.gullet.macros.set(\"\\\\df@tag\", undefined, true);\n } else {\n tags.push(Boolean(autoTag) && parser.gullet.macros.get(\"\\\\@eqnsw\") === \"1\");\n }\n }\n }\n\n beginRow(); // Test for \\hline at the top of the array.\n\n hLinesBeforeRow.push(getHLines(parser));\n\n while (true) {\n // eslint-disable-line no-constant-condition\n // Parse each cell in its own group (namespace)\n let cell = parser.parseExpression(false, singleRow ? \"\\\\end\" : \"\\\\\\\\\");\n parser.gullet.endGroup();\n parser.gullet.beginGroup();\n cell = {\n type: \"ordgroup\",\n mode: parser.mode,\n body: cell\n };\n\n if (style) {\n cell = {\n type: \"styling\",\n mode: parser.mode,\n style,\n body: [cell]\n };\n }\n\n row.push(cell);\n const next = parser.fetch().text;\n\n if (next === \"&\") {\n if (maxNumCols && row.length === maxNumCols) {\n if (singleRow || colSeparationType) {\n // {equation} or {split}\n throw new src_ParseError(\"Too many tab characters: &\", parser.nextToken);\n } else {\n // {array} environment\n parser.settings.reportNonstrict(\"textEnv\", \"Too few columns \" + \"specified in the {array} column argument.\");\n }\n }\n\n parser.consume();\n } else if (next === \"\\\\end\") {\n endRow(); // Arrays terminate newlines with `\\crcr` which consumes a `\\cr` if\n // the last line is empty. However, AMS environments keep the\n // empty row if it's the only one.\n // NOTE: Currently, `cell` is the last item added into `row`.\n\n if (row.length === 1 && cell.type === \"styling\" && cell.body[0].body.length === 0 && (body.length > 1 || !emptySingleRow)) {\n body.pop();\n }\n\n if (hLinesBeforeRow.length < body.length + 1) {\n hLinesBeforeRow.push([]);\n }\n\n break;\n } else if (next === \"\\\\\\\\\") {\n parser.consume();\n let size; // \\def\\Let@{\\let\\\\\\math@cr}\n // \\def\\math@cr{...\\math@cr@}\n // \\def\\math@cr@{\\new@ifnextchar[\\math@cr@@{\\math@cr@@[\\z@]}}\n // \\def\\math@cr@@[#1]{...\\math@cr@@@...}\n // \\def\\math@cr@@@{\\cr}\n\n if (parser.gullet.future().text !== \" \") {\n size = parser.parseSizeGroup(true);\n }\n\n rowGaps.push(size ? size.value : null);\n endRow(); // check for \\hline(s) following the row separator\n\n hLinesBeforeRow.push(getHLines(parser));\n row = [];\n body.push(row);\n beginRow();\n } else {\n throw new src_ParseError(\"Expected & or \\\\\\\\ or \\\\cr or \\\\end\", parser.nextToken);\n }\n } // End cell group\n\n\n parser.gullet.endGroup(); // End array group defining \\cr\n\n parser.gullet.endGroup();\n return {\n type: \"array\",\n mode: parser.mode,\n addJot,\n arraystretch,\n body,\n cols,\n rowGaps,\n hskipBeforeAndAfter,\n hLinesBeforeRow,\n colSeparationType,\n tags,\n leqno\n };\n} // Decides on a style for cells in an array according to whether the given\n// environment name starts with the letter 'd'.\n\n\nfunction dCellStyle(envName) {\n if (envName.slice(0, 1) === \"d\") {\n return \"display\";\n } else {\n return \"text\";\n }\n}\n\nconst array_htmlBuilder = function (group, options) {\n let r;\n let c;\n const nr = group.body.length;\n const hLinesBeforeRow = group.hLinesBeforeRow;\n let nc = 0;\n let body = new Array(nr);\n const hlines = [];\n const ruleThickness = Math.max( // From LaTeX \\showthe\\arrayrulewidth. Equals 0.04 em.\n options.fontMetrics().arrayRuleWidth, options.minRuleThickness // User override.\n ); // Horizontal spacing\n\n const pt = 1 / options.fontMetrics().ptPerEm;\n let arraycolsep = 5 * pt; // default value, i.e. \\arraycolsep in article.cls\n\n if (group.colSeparationType && group.colSeparationType === \"small\") {\n // We're in a {smallmatrix}. Default column space is \\thickspace,\n // i.e. 5/18em = 0.2778em, per amsmath.dtx for {smallmatrix}.\n // But that needs adjustment because LaTeX applies \\scriptstyle to the\n // entire array, including the colspace, but this function applies\n // \\scriptstyle only inside each element.\n const localMultiplier = options.havingStyle(src_Style.SCRIPT).sizeMultiplier;\n arraycolsep = 0.2778 * (localMultiplier / options.sizeMultiplier);\n } // Vertical spacing\n\n\n const baselineskip = group.colSeparationType === \"CD\" ? calculateSize({\n number: 3,\n unit: \"ex\"\n }, options) : 12 * pt; // see size10.clo\n // Default \\jot from ltmath.dtx\n // TODO(edemaine): allow overriding \\jot via \\setlength (#687)\n\n const jot = 3 * pt;\n const arrayskip = group.arraystretch * baselineskip;\n const arstrutHeight = 0.7 * arrayskip; // \\strutbox in ltfsstrc.dtx and\n\n const arstrutDepth = 0.3 * arrayskip; // \\@arstrutbox in lttab.dtx\n\n let totalHeight = 0; // Set a position for \\hline(s) at the top of the array, if any.\n\n function setHLinePos(hlinesInGap) {\n for (let i = 0; i < hlinesInGap.length; ++i) {\n if (i > 0) {\n totalHeight += 0.25;\n }\n\n hlines.push({\n pos: totalHeight,\n isDashed: hlinesInGap[i]\n });\n }\n }\n\n setHLinePos(hLinesBeforeRow[0]);\n\n for (r = 0; r < group.body.length; ++r) {\n const inrow = group.body[r];\n let height = arstrutHeight; // \\@array adds an \\@arstrut\n\n let depth = arstrutDepth; // to each tow (via the template)\n\n if (nc < inrow.length) {\n nc = inrow.length;\n }\n\n const outrow = new Array(inrow.length);\n\n for (c = 0; c < inrow.length; ++c) {\n const elt = buildGroup(inrow[c], options);\n\n if (depth < elt.depth) {\n depth = elt.depth;\n }\n\n if (height < elt.height) {\n height = elt.height;\n }\n\n outrow[c] = elt;\n }\n\n const rowGap = group.rowGaps[r];\n let gap = 0;\n\n if (rowGap) {\n gap = calculateSize(rowGap, options);\n\n if (gap > 0) {\n // \\@argarraycr\n gap += arstrutDepth;\n\n if (depth < gap) {\n depth = gap; // \\@xargarraycr\n }\n\n gap = 0;\n }\n } // In AMS multiline environments such as aligned and gathered, rows\n // correspond to lines that have additional \\jot added to the\n // \\baselineskip via \\openup.\n\n\n if (group.addJot) {\n depth += jot;\n }\n\n outrow.height = height;\n outrow.depth = depth;\n totalHeight += height;\n outrow.pos = totalHeight;\n totalHeight += depth + gap; // \\@yargarraycr\n\n body[r] = outrow; // Set a position for \\hline(s), if any.\n\n setHLinePos(hLinesBeforeRow[r + 1]);\n }\n\n const offset = totalHeight / 2 + options.fontMetrics().axisHeight;\n const colDescriptions = group.cols || [];\n const cols = [];\n let colSep;\n let colDescrNum;\n const tagSpans = [];\n\n if (group.tags && group.tags.some(tag => tag)) {\n // An environment with manual tags and/or automatic equation numbers.\n // Create node(s), the latter of which trigger CSS counter increment.\n for (r = 0; r < nr; ++r) {\n const rw = body[r];\n const shift = rw.pos - offset;\n const tag = group.tags[r];\n let tagSpan;\n\n if (tag === true) {\n // automatic numbering\n tagSpan = buildCommon.makeSpan([\"eqn-num\"], [], options);\n } else if (tag === false) {\n // \\nonumber/\\notag or starred environment\n tagSpan = buildCommon.makeSpan([], [], options);\n } else {\n // manual \\tag\n tagSpan = buildCommon.makeSpan([], buildExpression(tag, options, true), options);\n }\n\n tagSpan.depth = rw.depth;\n tagSpan.height = rw.height;\n tagSpans.push({\n type: \"elem\",\n elem: tagSpan,\n shift\n });\n }\n }\n\n for (c = 0, colDescrNum = 0; // Continue while either there are more columns or more column\n // descriptions, so trailing separators don't get lost.\n c < nc || colDescrNum < colDescriptions.length; ++c, ++colDescrNum) {\n let colDescr = colDescriptions[colDescrNum] || {};\n let firstSeparator = true;\n\n while (colDescr.type === \"separator\") {\n // If there is more than one separator in a row, add a space\n // between them.\n if (!firstSeparator) {\n colSep = buildCommon.makeSpan([\"arraycolsep\"], []);\n colSep.style.width = makeEm(options.fontMetrics().doubleRuleSep);\n cols.push(colSep);\n }\n\n if (colDescr.separator === \"|\" || colDescr.separator === \":\") {\n const lineType = colDescr.separator === \"|\" ? \"solid\" : \"dashed\";\n const separator = buildCommon.makeSpan([\"vertical-separator\"], [], options);\n separator.style.height = makeEm(totalHeight);\n separator.style.borderRightWidth = makeEm(ruleThickness);\n separator.style.borderRightStyle = lineType;\n separator.style.margin = \"0 \" + makeEm(-ruleThickness / 2);\n const shift = totalHeight - offset;\n\n if (shift) {\n separator.style.verticalAlign = makeEm(-shift);\n }\n\n cols.push(separator);\n } else {\n throw new src_ParseError(\"Invalid separator type: \" + colDescr.separator);\n }\n\n colDescrNum++;\n colDescr = colDescriptions[colDescrNum] || {};\n firstSeparator = false;\n }\n\n if (c >= nc) {\n continue;\n }\n\n let sepwidth;\n\n if (c > 0 || group.hskipBeforeAndAfter) {\n sepwidth = utils.deflt(colDescr.pregap, arraycolsep);\n\n if (sepwidth !== 0) {\n colSep = buildCommon.makeSpan([\"arraycolsep\"], []);\n colSep.style.width = makeEm(sepwidth);\n cols.push(colSep);\n }\n }\n\n let col = [];\n\n for (r = 0; r < nr; ++r) {\n const row = body[r];\n const elem = row[c];\n\n if (!elem) {\n continue;\n }\n\n const shift = row.pos - offset;\n elem.depth = row.depth;\n elem.height = row.height;\n col.push({\n type: \"elem\",\n elem: elem,\n shift: shift\n });\n }\n\n col = buildCommon.makeVList({\n positionType: \"individualShift\",\n children: col\n }, options);\n col = buildCommon.makeSpan([\"col-align-\" + (colDescr.align || \"c\")], [col]);\n cols.push(col);\n\n if (c < nc - 1 || group.hskipBeforeAndAfter) {\n sepwidth = utils.deflt(colDescr.postgap, arraycolsep);\n\n if (sepwidth !== 0) {\n colSep = buildCommon.makeSpan([\"arraycolsep\"], []);\n colSep.style.width = makeEm(sepwidth);\n cols.push(colSep);\n }\n }\n }\n\n body = buildCommon.makeSpan([\"mtable\"], cols); // Add \\hline(s), if any.\n\n if (hlines.length > 0) {\n const line = buildCommon.makeLineSpan(\"hline\", options, ruleThickness);\n const dashes = buildCommon.makeLineSpan(\"hdashline\", options, ruleThickness);\n const vListElems = [{\n type: \"elem\",\n elem: body,\n shift: 0\n }];\n\n while (hlines.length > 0) {\n const hline = hlines.pop();\n const lineShift = hline.pos - offset;\n\n if (hline.isDashed) {\n vListElems.push({\n type: \"elem\",\n elem: dashes,\n shift: lineShift\n });\n } else {\n vListElems.push({\n type: \"elem\",\n elem: line,\n shift: lineShift\n });\n }\n }\n\n body = buildCommon.makeVList({\n positionType: \"individualShift\",\n children: vListElems\n }, options);\n }\n\n if (tagSpans.length === 0) {\n return buildCommon.makeSpan([\"mord\"], [body], options);\n } else {\n let eqnNumCol = buildCommon.makeVList({\n positionType: \"individualShift\",\n children: tagSpans\n }, options);\n eqnNumCol = buildCommon.makeSpan([\"tag\"], [eqnNumCol], options);\n return buildCommon.makeFragment([body, eqnNumCol]);\n }\n};\n\nconst alignMap = {\n c: \"center \",\n l: \"left \",\n r: \"right \"\n};\n\nconst array_mathmlBuilder = function (group, options) {\n const tbl = [];\n const glue = new mathMLTree.MathNode(\"mtd\", [], [\"mtr-glue\"]);\n const tag = new mathMLTree.MathNode(\"mtd\", [], [\"mml-eqn-num\"]);\n\n for (let i = 0; i < group.body.length; i++) {\n const rw = group.body[i];\n const row = [];\n\n for (let j = 0; j < rw.length; j++) {\n row.push(new mathMLTree.MathNode(\"mtd\", [buildMathML_buildGroup(rw[j], options)]));\n }\n\n if (group.tags && group.tags[i]) {\n row.unshift(glue);\n row.push(glue);\n\n if (group.leqno) {\n row.unshift(tag);\n } else {\n row.push(tag);\n }\n }\n\n tbl.push(new mathMLTree.MathNode(\"mtr\", row));\n }\n\n let table = new mathMLTree.MathNode(\"mtable\", tbl); // Set column alignment, row spacing, column spacing, and\n // array lines by setting attributes on the table element.\n // Set the row spacing. In MathML, we specify a gap distance.\n // We do not use rowGap[] because MathML automatically increases\n // cell height with the height/depth of the element content.\n // LaTeX \\arraystretch multiplies the row baseline-to-baseline distance.\n // We simulate this by adding (arraystretch - 1)em to the gap. This\n // does a reasonable job of adjusting arrays containing 1 em tall content.\n // The 0.16 and 0.09 values are found empirically. They produce an array\n // similar to LaTeX and in which content does not interfere with \\hlines.\n\n const gap = group.arraystretch === 0.5 ? 0.1 // {smallmatrix}, {subarray}\n : 0.16 + group.arraystretch - 1 + (group.addJot ? 0.09 : 0);\n table.setAttribute(\"rowspacing\", makeEm(gap)); // MathML table lines go only between cells.\n // To place a line on an edge we'll use , if necessary.\n\n let menclose = \"\";\n let align = \"\";\n\n if (group.cols && group.cols.length > 0) {\n // Find column alignment, column spacing, and vertical lines.\n const cols = group.cols;\n let columnLines = \"\";\n let prevTypeWasAlign = false;\n let iStart = 0;\n let iEnd = cols.length;\n\n if (cols[0].type === \"separator\") {\n menclose += \"top \";\n iStart = 1;\n }\n\n if (cols[cols.length - 1].type === \"separator\") {\n menclose += \"bottom \";\n iEnd -= 1;\n }\n\n for (let i = iStart; i < iEnd; i++) {\n if (cols[i].type === \"align\") {\n align += alignMap[cols[i].align];\n\n if (prevTypeWasAlign) {\n columnLines += \"none \";\n }\n\n prevTypeWasAlign = true;\n } else if (cols[i].type === \"separator\") {\n // MathML accepts only single lines between cells.\n // So we read only the first of consecutive separators.\n if (prevTypeWasAlign) {\n columnLines += cols[i].separator === \"|\" ? \"solid \" : \"dashed \";\n prevTypeWasAlign = false;\n }\n }\n }\n\n table.setAttribute(\"columnalign\", align.trim());\n\n if (/[sd]/.test(columnLines)) {\n table.setAttribute(\"columnlines\", columnLines.trim());\n }\n } // Set column spacing.\n\n\n if (group.colSeparationType === \"align\") {\n const cols = group.cols || [];\n let spacing = \"\";\n\n for (let i = 1; i < cols.length; i++) {\n spacing += i % 2 ? \"0em \" : \"1em \";\n }\n\n table.setAttribute(\"columnspacing\", spacing.trim());\n } else if (group.colSeparationType === \"alignat\" || group.colSeparationType === \"gather\") {\n table.setAttribute(\"columnspacing\", \"0em\");\n } else if (group.colSeparationType === \"small\") {\n table.setAttribute(\"columnspacing\", \"0.2778em\");\n } else if (group.colSeparationType === \"CD\") {\n table.setAttribute(\"columnspacing\", \"0.5em\");\n } else {\n table.setAttribute(\"columnspacing\", \"1em\");\n } // Address \\hline and \\hdashline\n\n\n let rowLines = \"\";\n const hlines = group.hLinesBeforeRow;\n menclose += hlines[0].length > 0 ? \"left \" : \"\";\n menclose += hlines[hlines.length - 1].length > 0 ? \"right \" : \"\";\n\n for (let i = 1; i < hlines.length - 1; i++) {\n rowLines += hlines[i].length === 0 ? \"none \" // MathML accepts only a single line between rows. Read one element.\n : hlines[i][0] ? \"dashed \" : \"solid \";\n }\n\n if (/[sd]/.test(rowLines)) {\n table.setAttribute(\"rowlines\", rowLines.trim());\n }\n\n if (menclose !== \"\") {\n table = new mathMLTree.MathNode(\"menclose\", [table]);\n table.setAttribute(\"notation\", menclose.trim());\n }\n\n if (group.arraystretch && group.arraystretch < 1) {\n // A small array. Wrap in scriptstyle so row gap is not too large.\n table = new mathMLTree.MathNode(\"mstyle\", [table]);\n table.setAttribute(\"scriptlevel\", \"1\");\n }\n\n return table;\n}; // Convenience function for align, align*, aligned, alignat, alignat*, alignedat.\n\n\nconst alignedHandler = function (context, args) {\n if (context.envName.indexOf(\"ed\") === -1) {\n validateAmsEnvironmentContext(context);\n }\n\n const cols = [];\n const separationType = context.envName.indexOf(\"at\") > -1 ? \"alignat\" : \"align\";\n const isSplit = context.envName === \"split\";\n const res = parseArray(context.parser, {\n cols,\n addJot: true,\n autoTag: isSplit ? undefined : getAutoTag(context.envName),\n emptySingleRow: true,\n colSeparationType: separationType,\n maxNumCols: isSplit ? 2 : undefined,\n leqno: context.parser.settings.leqno\n }, \"display\"); // Determining number of columns.\n // 1. If the first argument is given, we use it as a number of columns,\n // and makes sure that each row doesn't exceed that number.\n // 2. Otherwise, just count number of columns = maximum number\n // of cells in each row (\"aligned\" mode -- isAligned will be true).\n //\n // At the same time, prepend empty group {} at beginning of every second\n // cell in each row (starting with second cell) so that operators become\n // binary. This behavior is implemented in amsmath's \\start@aligned.\n\n let numMaths;\n let numCols = 0;\n const emptyGroup = {\n type: \"ordgroup\",\n mode: context.mode,\n body: []\n };\n\n if (args[0] && args[0].type === \"ordgroup\") {\n let arg0 = \"\";\n\n for (let i = 0; i < args[0].body.length; i++) {\n const textord = assertNodeType(args[0].body[i], \"textord\");\n arg0 += textord.text;\n }\n\n numMaths = Number(arg0);\n numCols = numMaths * 2;\n }\n\n const isAligned = !numCols;\n res.body.forEach(function (row) {\n for (let i = 1; i < row.length; i += 2) {\n // Modify ordgroup node within styling node\n const styling = assertNodeType(row[i], \"styling\");\n const ordgroup = assertNodeType(styling.body[0], \"ordgroup\");\n ordgroup.body.unshift(emptyGroup);\n }\n\n if (!isAligned) {\n // Case 1\n const curMaths = row.length / 2;\n\n if (numMaths < curMaths) {\n throw new src_ParseError(\"Too many math in a row: \" + (\"expected \" + numMaths + \", but got \" + curMaths), row[0]);\n }\n } else if (numCols < row.length) {\n // Case 2\n numCols = row.length;\n }\n }); // Adjusting alignment.\n // In aligned mode, we add one \\qquad between columns;\n // otherwise we add nothing.\n\n for (let i = 0; i < numCols; ++i) {\n let align = \"r\";\n let pregap = 0;\n\n if (i % 2 === 1) {\n align = \"l\";\n } else if (i > 0 && isAligned) {\n // \"aligned\" mode.\n pregap = 1; // add one \\quad\n }\n\n cols[i] = {\n type: \"align\",\n align: align,\n pregap: pregap,\n postgap: 0\n };\n }\n\n res.colSeparationType = isAligned ? \"align\" : \"alignat\";\n return res;\n}; // Arrays are part of LaTeX, defined in lttab.dtx so its documentation\n// is part of the source2e.pdf file of LaTeX2e source documentation.\n// {darray} is an {array} environment where cells are set in \\displaystyle,\n// as defined in nccmath.sty.\n\n\ndefineEnvironment({\n type: \"array\",\n names: [\"array\", \"darray\"],\n props: {\n numArgs: 1\n },\n\n handler(context, args) {\n // Since no types are specified above, the two possibilities are\n // - The argument is wrapped in {} or [], in which case Parser's\n // parseGroup() returns an \"ordgroup\" wrapping some symbol node.\n // - The argument is a bare symbol node.\n const symNode = checkSymbolNodeType(args[0]);\n const colalign = symNode ? [args[0]] : assertNodeType(args[0], \"ordgroup\").body;\n const cols = colalign.map(function (nde) {\n const node = assertSymbolNodeType(nde);\n const ca = node.text;\n\n if (\"lcr\".indexOf(ca) !== -1) {\n return {\n type: \"align\",\n align: ca\n };\n } else if (ca === \"|\") {\n return {\n type: \"separator\",\n separator: \"|\"\n };\n } else if (ca === \":\") {\n return {\n type: \"separator\",\n separator: \":\"\n };\n }\n\n throw new src_ParseError(\"Unknown column alignment: \" + ca, nde);\n });\n const res = {\n cols,\n hskipBeforeAndAfter: true,\n // \\@preamble in lttab.dtx\n maxNumCols: cols.length\n };\n return parseArray(context.parser, res, dCellStyle(context.envName));\n },\n\n htmlBuilder: array_htmlBuilder,\n mathmlBuilder: array_mathmlBuilder\n}); // The matrix environments of amsmath builds on the array environment\n// of LaTeX, which is discussed above.\n// The mathtools package adds starred versions of the same environments.\n// These have an optional argument to choose left|center|right justification.\n\ndefineEnvironment({\n type: \"array\",\n names: [\"matrix\", \"pmatrix\", \"bmatrix\", \"Bmatrix\", \"vmatrix\", \"Vmatrix\", \"matrix*\", \"pmatrix*\", \"bmatrix*\", \"Bmatrix*\", \"vmatrix*\", \"Vmatrix*\"],\n props: {\n numArgs: 0\n },\n\n handler(context) {\n const delimiters = {\n \"matrix\": null,\n \"pmatrix\": [\"(\", \")\"],\n \"bmatrix\": [\"[\", \"]\"],\n \"Bmatrix\": [\"\\\\{\", \"\\\\}\"],\n \"vmatrix\": [\"|\", \"|\"],\n \"Vmatrix\": [\"\\\\Vert\", \"\\\\Vert\"]\n }[context.envName.replace(\"*\", \"\")]; // \\hskip -\\arraycolsep in amsmath\n\n let colAlign = \"c\";\n const payload = {\n hskipBeforeAndAfter: false,\n cols: [{\n type: \"align\",\n align: colAlign\n }]\n };\n\n if (context.envName.charAt(context.envName.length - 1) === \"*\") {\n // It's one of the mathtools starred functions.\n // Parse the optional alignment argument.\n const parser = context.parser;\n parser.consumeSpaces();\n\n if (parser.fetch().text === \"[\") {\n parser.consume();\n parser.consumeSpaces();\n colAlign = parser.fetch().text;\n\n if (\"lcr\".indexOf(colAlign) === -1) {\n throw new src_ParseError(\"Expected l or c or r\", parser.nextToken);\n }\n\n parser.consume();\n parser.consumeSpaces();\n parser.expect(\"]\");\n parser.consume();\n payload.cols = [{\n type: \"align\",\n align: colAlign\n }];\n }\n }\n\n const res = parseArray(context.parser, payload, dCellStyle(context.envName)); // Populate cols with the correct number of column alignment specs.\n\n const numCols = Math.max(0, ...res.body.map(row => row.length));\n res.cols = new Array(numCols).fill({\n type: \"align\",\n align: colAlign\n });\n return delimiters ? {\n type: \"leftright\",\n mode: context.mode,\n body: [res],\n left: delimiters[0],\n right: delimiters[1],\n rightColor: undefined // \\right uninfluenced by \\color in array\n\n } : res;\n },\n\n htmlBuilder: array_htmlBuilder,\n mathmlBuilder: array_mathmlBuilder\n});\ndefineEnvironment({\n type: \"array\",\n names: [\"smallmatrix\"],\n props: {\n numArgs: 0\n },\n\n handler(context) {\n const payload = {\n arraystretch: 0.5\n };\n const res = parseArray(context.parser, payload, \"script\");\n res.colSeparationType = \"small\";\n return res;\n },\n\n htmlBuilder: array_htmlBuilder,\n mathmlBuilder: array_mathmlBuilder\n});\ndefineEnvironment({\n type: \"array\",\n names: [\"subarray\"],\n props: {\n numArgs: 1\n },\n\n handler(context, args) {\n // Parsing of {subarray} is similar to {array}\n const symNode = checkSymbolNodeType(args[0]);\n const colalign = symNode ? [args[0]] : assertNodeType(args[0], \"ordgroup\").body;\n const cols = colalign.map(function (nde) {\n const node = assertSymbolNodeType(nde);\n const ca = node.text; // {subarray} only recognizes \"l\" & \"c\"\n\n if (\"lc\".indexOf(ca) !== -1) {\n return {\n type: \"align\",\n align: ca\n };\n }\n\n throw new src_ParseError(\"Unknown column alignment: \" + ca, nde);\n });\n\n if (cols.length > 1) {\n throw new src_ParseError(\"{subarray} can contain only one column\");\n }\n\n let res = {\n cols,\n hskipBeforeAndAfter: false,\n arraystretch: 0.5\n };\n res = parseArray(context.parser, res, \"script\");\n\n if (res.body.length > 0 && res.body[0].length > 1) {\n throw new src_ParseError(\"{subarray} can contain only one column\");\n }\n\n return res;\n },\n\n htmlBuilder: array_htmlBuilder,\n mathmlBuilder: array_mathmlBuilder\n}); // A cases environment (in amsmath.sty) is almost equivalent to\n// \\def\\arraystretch{1.2}%\n// \\left\\{\\begin{array}{@{}l@{\\quad}l@{}} … \\end{array}\\right.\n// {dcases} is a {cases} environment where cells are set in \\displaystyle,\n// as defined in mathtools.sty.\n// {rcases} is another mathtools environment. It's brace is on the right side.\n\ndefineEnvironment({\n type: \"array\",\n names: [\"cases\", \"dcases\", \"rcases\", \"drcases\"],\n props: {\n numArgs: 0\n },\n\n handler(context) {\n const payload = {\n arraystretch: 1.2,\n cols: [{\n type: \"align\",\n align: \"l\",\n pregap: 0,\n // TODO(kevinb) get the current style.\n // For now we use the metrics for TEXT style which is what we were\n // doing before. Before attempting to get the current style we\n // should look at TeX's behavior especially for \\over and matrices.\n postgap: 1.0\n /* 1em quad */\n\n }, {\n type: \"align\",\n align: \"l\",\n pregap: 0,\n postgap: 0\n }]\n };\n const res = parseArray(context.parser, payload, dCellStyle(context.envName));\n return {\n type: \"leftright\",\n mode: context.mode,\n body: [res],\n left: context.envName.indexOf(\"r\") > -1 ? \".\" : \"\\\\{\",\n right: context.envName.indexOf(\"r\") > -1 ? \"\\\\}\" : \".\",\n rightColor: undefined\n };\n },\n\n htmlBuilder: array_htmlBuilder,\n mathmlBuilder: array_mathmlBuilder\n}); // In the align environment, one uses ampersands, &, to specify number of\n// columns in each row, and to locate spacing between each column.\n// align gets automatic numbering. align* and aligned do not.\n// The alignedat environment can be used in math mode.\n// Note that we assume \\nomallineskiplimit to be zero,\n// so that \\strut@ is the same as \\strut.\n\ndefineEnvironment({\n type: \"array\",\n names: [\"align\", \"align*\", \"aligned\", \"split\"],\n props: {\n numArgs: 0\n },\n handler: alignedHandler,\n htmlBuilder: array_htmlBuilder,\n mathmlBuilder: array_mathmlBuilder\n}); // A gathered environment is like an array environment with one centered\n// column, but where rows are considered lines so get \\jot line spacing\n// and contents are set in \\displaystyle.\n\ndefineEnvironment({\n type: \"array\",\n names: [\"gathered\", \"gather\", \"gather*\"],\n props: {\n numArgs: 0\n },\n\n handler(context) {\n if (utils.contains([\"gather\", \"gather*\"], context.envName)) {\n validateAmsEnvironmentContext(context);\n }\n\n const res = {\n cols: [{\n type: \"align\",\n align: \"c\"\n }],\n addJot: true,\n colSeparationType: \"gather\",\n autoTag: getAutoTag(context.envName),\n emptySingleRow: true,\n leqno: context.parser.settings.leqno\n };\n return parseArray(context.parser, res, \"display\");\n },\n\n htmlBuilder: array_htmlBuilder,\n mathmlBuilder: array_mathmlBuilder\n}); // alignat environment is like an align environment, but one must explicitly\n// specify maximum number of columns in each row, and can adjust spacing between\n// each columns.\n\ndefineEnvironment({\n type: \"array\",\n names: [\"alignat\", \"alignat*\", \"alignedat\"],\n props: {\n numArgs: 1\n },\n handler: alignedHandler,\n htmlBuilder: array_htmlBuilder,\n mathmlBuilder: array_mathmlBuilder\n});\ndefineEnvironment({\n type: \"array\",\n names: [\"equation\", \"equation*\"],\n props: {\n numArgs: 0\n },\n\n handler(context) {\n validateAmsEnvironmentContext(context);\n const res = {\n autoTag: getAutoTag(context.envName),\n emptySingleRow: true,\n singleRow: true,\n maxNumCols: 1,\n leqno: context.parser.settings.leqno\n };\n return parseArray(context.parser, res, \"display\");\n },\n\n htmlBuilder: array_htmlBuilder,\n mathmlBuilder: array_mathmlBuilder\n});\ndefineEnvironment({\n type: \"array\",\n names: [\"CD\"],\n props: {\n numArgs: 0\n },\n\n handler(context) {\n validateAmsEnvironmentContext(context);\n return parseCD(context.parser);\n },\n\n htmlBuilder: array_htmlBuilder,\n mathmlBuilder: array_mathmlBuilder\n});\ndefineMacro(\"\\\\nonumber\", \"\\\\gdef\\\\@eqnsw{0}\");\ndefineMacro(\"\\\\notag\", \"\\\\nonumber\"); // Catch \\hline outside array environment\n\ndefineFunction({\n type: \"text\",\n // Doesn't matter what this is.\n names: [\"\\\\hline\", \"\\\\hdashline\"],\n props: {\n numArgs: 0,\n allowedInText: true,\n allowedInMath: true\n },\n\n handler(context, args) {\n throw new src_ParseError(context.funcName + \" valid only within array environment\");\n }\n\n});\n;// CONCATENATED MODULE: ./src/environments.js\n\nconst environments = _environments;\n/* harmony default export */ var src_environments = (environments); // All environment definitions should be imported below\n\n\n;// CONCATENATED MODULE: ./src/functions/environment.js\n\n\n\n // Environment delimiters. HTML/MathML rendering is defined in the corresponding\n// defineEnvironment definitions.\n\ndefineFunction({\n type: \"environment\",\n names: [\"\\\\begin\", \"\\\\end\"],\n props: {\n numArgs: 1,\n argTypes: [\"text\"]\n },\n\n handler(_ref, args) {\n let {\n parser,\n funcName\n } = _ref;\n const nameGroup = args[0];\n\n if (nameGroup.type !== \"ordgroup\") {\n throw new src_ParseError(\"Invalid environment name\", nameGroup);\n }\n\n let envName = \"\";\n\n for (let i = 0; i < nameGroup.body.length; ++i) {\n envName += assertNodeType(nameGroup.body[i], \"textord\").text;\n }\n\n if (funcName === \"\\\\begin\") {\n // begin...end is similar to left...right\n if (!src_environments.hasOwnProperty(envName)) {\n throw new src_ParseError(\"No such environment: \" + envName, nameGroup);\n } // Build the environment object. Arguments and other information will\n // be made available to the begin and end methods using properties.\n\n\n const env = src_environments[envName];\n const {\n args,\n optArgs\n } = parser.parseArguments(\"\\\\begin{\" + envName + \"}\", env);\n const context = {\n mode: parser.mode,\n envName,\n parser\n };\n const result = env.handler(context, args, optArgs);\n parser.expect(\"\\\\end\", false);\n const endNameToken = parser.nextToken;\n const end = assertNodeType(parser.parseFunction(), \"environment\");\n\n if (end.name !== envName) {\n throw new src_ParseError(\"Mismatch: \\\\begin{\" + envName + \"} matched by \\\\end{\" + end.name + \"}\", endNameToken);\n } // $FlowFixMe, \"environment\" handler returns an environment ParseNode\n\n\n return result;\n }\n\n return {\n type: \"environment\",\n mode: parser.mode,\n name: envName,\n nameGroup\n };\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/font.js\n// TODO(kevinb): implement \\\\sl and \\\\sc\n\n\n\n\n\n\nconst font_htmlBuilder = (group, options) => {\n const font = group.font;\n const newOptions = options.withFont(font);\n return buildGroup(group.body, newOptions);\n};\n\nconst font_mathmlBuilder = (group, options) => {\n const font = group.font;\n const newOptions = options.withFont(font);\n return buildMathML_buildGroup(group.body, newOptions);\n};\n\nconst fontAliases = {\n \"\\\\Bbb\": \"\\\\mathbb\",\n \"\\\\bold\": \"\\\\mathbf\",\n \"\\\\frak\": \"\\\\mathfrak\",\n \"\\\\bm\": \"\\\\boldsymbol\"\n};\ndefineFunction({\n type: \"font\",\n names: [// styles, except \\boldsymbol defined below\n \"\\\\mathrm\", \"\\\\mathit\", \"\\\\mathbf\", \"\\\\mathnormal\", // families\n \"\\\\mathbb\", \"\\\\mathcal\", \"\\\\mathfrak\", \"\\\\mathscr\", \"\\\\mathsf\", \"\\\\mathtt\", // aliases, except \\bm defined below\n \"\\\\Bbb\", \"\\\\bold\", \"\\\\frak\"],\n props: {\n numArgs: 1,\n allowedInArgument: true\n },\n handler: (_ref, args) => {\n let {\n parser,\n funcName\n } = _ref;\n const body = normalizeArgument(args[0]);\n let func = funcName;\n\n if (func in fontAliases) {\n func = fontAliases[func];\n }\n\n return {\n type: \"font\",\n mode: parser.mode,\n font: func.slice(1),\n body\n };\n },\n htmlBuilder: font_htmlBuilder,\n mathmlBuilder: font_mathmlBuilder\n});\ndefineFunction({\n type: \"mclass\",\n names: [\"\\\\boldsymbol\", \"\\\\bm\"],\n props: {\n numArgs: 1\n },\n handler: (_ref2, args) => {\n let {\n parser\n } = _ref2;\n const body = args[0];\n const isCharacterBox = utils.isCharacterBox(body); // amsbsy.sty's \\boldsymbol uses \\binrel spacing to inherit the\n // argument's bin|rel|ord status\n\n return {\n type: \"mclass\",\n mode: parser.mode,\n mclass: binrelClass(body),\n body: [{\n type: \"font\",\n mode: parser.mode,\n font: \"boldsymbol\",\n body\n }],\n isCharacterBox: isCharacterBox\n };\n }\n}); // Old font changing functions\n\ndefineFunction({\n type: \"font\",\n names: [\"\\\\rm\", \"\\\\sf\", \"\\\\tt\", \"\\\\bf\", \"\\\\it\", \"\\\\cal\"],\n props: {\n numArgs: 0,\n allowedInText: true\n },\n handler: (_ref3, args) => {\n let {\n parser,\n funcName,\n breakOnTokenText\n } = _ref3;\n const {\n mode\n } = parser;\n const body = parser.parseExpression(true, breakOnTokenText);\n const style = \"math\" + funcName.slice(1);\n return {\n type: \"font\",\n mode: mode,\n font: style,\n body: {\n type: \"ordgroup\",\n mode: parser.mode,\n body\n }\n };\n },\n htmlBuilder: font_htmlBuilder,\n mathmlBuilder: font_mathmlBuilder\n});\n;// CONCATENATED MODULE: ./src/functions/genfrac.js\n\n\n\n\n\n\n\n\n\n\n\nconst adjustStyle = (size, originalStyle) => {\n // Figure out what style this fraction should be in based on the\n // function used\n let style = originalStyle;\n\n if (size === \"display\") {\n // Get display style as a default.\n // If incoming style is sub/sup, use style.text() to get correct size.\n style = style.id >= src_Style.SCRIPT.id ? style.text() : src_Style.DISPLAY;\n } else if (size === \"text\" && style.size === src_Style.DISPLAY.size) {\n // We're in a \\tfrac but incoming style is displaystyle, so:\n style = src_Style.TEXT;\n } else if (size === \"script\") {\n style = src_Style.SCRIPT;\n } else if (size === \"scriptscript\") {\n style = src_Style.SCRIPTSCRIPT;\n }\n\n return style;\n};\n\nconst genfrac_htmlBuilder = (group, options) => {\n // Fractions are handled in the TeXbook on pages 444-445, rules 15(a-e).\n const style = adjustStyle(group.size, options.style);\n const nstyle = style.fracNum();\n const dstyle = style.fracDen();\n let newOptions;\n newOptions = options.havingStyle(nstyle);\n const numerm = buildGroup(group.numer, newOptions, options);\n\n if (group.continued) {\n // \\cfrac inserts a \\strut into the numerator.\n // Get \\strut dimensions from TeXbook page 353.\n const hStrut = 8.5 / options.fontMetrics().ptPerEm;\n const dStrut = 3.5 / options.fontMetrics().ptPerEm;\n numerm.height = numerm.height < hStrut ? hStrut : numerm.height;\n numerm.depth = numerm.depth < dStrut ? dStrut : numerm.depth;\n }\n\n newOptions = options.havingStyle(dstyle);\n const denomm = buildGroup(group.denom, newOptions, options);\n let rule;\n let ruleWidth;\n let ruleSpacing;\n\n if (group.hasBarLine) {\n if (group.barSize) {\n ruleWidth = calculateSize(group.barSize, options);\n rule = buildCommon.makeLineSpan(\"frac-line\", options, ruleWidth);\n } else {\n rule = buildCommon.makeLineSpan(\"frac-line\", options);\n }\n\n ruleWidth = rule.height;\n ruleSpacing = rule.height;\n } else {\n rule = null;\n ruleWidth = 0;\n ruleSpacing = options.fontMetrics().defaultRuleThickness;\n } // Rule 15b\n\n\n let numShift;\n let clearance;\n let denomShift;\n\n if (style.size === src_Style.DISPLAY.size || group.size === \"display\") {\n numShift = options.fontMetrics().num1;\n\n if (ruleWidth > 0) {\n clearance = 3 * ruleSpacing;\n } else {\n clearance = 7 * ruleSpacing;\n }\n\n denomShift = options.fontMetrics().denom1;\n } else {\n if (ruleWidth > 0) {\n numShift = options.fontMetrics().num2;\n clearance = ruleSpacing;\n } else {\n numShift = options.fontMetrics().num3;\n clearance = 3 * ruleSpacing;\n }\n\n denomShift = options.fontMetrics().denom2;\n }\n\n let frac;\n\n if (!rule) {\n // Rule 15c\n const candidateClearance = numShift - numerm.depth - (denomm.height - denomShift);\n\n if (candidateClearance < clearance) {\n numShift += 0.5 * (clearance - candidateClearance);\n denomShift += 0.5 * (clearance - candidateClearance);\n }\n\n frac = buildCommon.makeVList({\n positionType: \"individualShift\",\n children: [{\n type: \"elem\",\n elem: denomm,\n shift: denomShift\n }, {\n type: \"elem\",\n elem: numerm,\n shift: -numShift\n }]\n }, options);\n } else {\n // Rule 15d\n const axisHeight = options.fontMetrics().axisHeight;\n\n if (numShift - numerm.depth - (axisHeight + 0.5 * ruleWidth) < clearance) {\n numShift += clearance - (numShift - numerm.depth - (axisHeight + 0.5 * ruleWidth));\n }\n\n if (axisHeight - 0.5 * ruleWidth - (denomm.height - denomShift) < clearance) {\n denomShift += clearance - (axisHeight - 0.5 * ruleWidth - (denomm.height - denomShift));\n }\n\n const midShift = -(axisHeight - 0.5 * ruleWidth);\n frac = buildCommon.makeVList({\n positionType: \"individualShift\",\n children: [{\n type: \"elem\",\n elem: denomm,\n shift: denomShift\n }, {\n type: \"elem\",\n elem: rule,\n shift: midShift\n }, {\n type: \"elem\",\n elem: numerm,\n shift: -numShift\n }]\n }, options);\n } // Since we manually change the style sometimes (with \\dfrac or \\tfrac),\n // account for the possible size change here.\n\n\n newOptions = options.havingStyle(style);\n frac.height *= newOptions.sizeMultiplier / options.sizeMultiplier;\n frac.depth *= newOptions.sizeMultiplier / options.sizeMultiplier; // Rule 15e\n\n let delimSize;\n\n if (style.size === src_Style.DISPLAY.size) {\n delimSize = options.fontMetrics().delim1;\n } else if (style.size === src_Style.SCRIPTSCRIPT.size) {\n delimSize = options.havingStyle(src_Style.SCRIPT).fontMetrics().delim2;\n } else {\n delimSize = options.fontMetrics().delim2;\n }\n\n let leftDelim;\n let rightDelim;\n\n if (group.leftDelim == null) {\n leftDelim = makeNullDelimiter(options, [\"mopen\"]);\n } else {\n leftDelim = delimiter.customSizedDelim(group.leftDelim, delimSize, true, options.havingStyle(style), group.mode, [\"mopen\"]);\n }\n\n if (group.continued) {\n rightDelim = buildCommon.makeSpan([]); // zero width for \\cfrac\n } else if (group.rightDelim == null) {\n rightDelim = makeNullDelimiter(options, [\"mclose\"]);\n } else {\n rightDelim = delimiter.customSizedDelim(group.rightDelim, delimSize, true, options.havingStyle(style), group.mode, [\"mclose\"]);\n }\n\n return buildCommon.makeSpan([\"mord\"].concat(newOptions.sizingClasses(options)), [leftDelim, buildCommon.makeSpan([\"mfrac\"], [frac]), rightDelim], options);\n};\n\nconst genfrac_mathmlBuilder = (group, options) => {\n let node = new mathMLTree.MathNode(\"mfrac\", [buildMathML_buildGroup(group.numer, options), buildMathML_buildGroup(group.denom, options)]);\n\n if (!group.hasBarLine) {\n node.setAttribute(\"linethickness\", \"0px\");\n } else if (group.barSize) {\n const ruleWidth = calculateSize(group.barSize, options);\n node.setAttribute(\"linethickness\", makeEm(ruleWidth));\n }\n\n const style = adjustStyle(group.size, options.style);\n\n if (style.size !== options.style.size) {\n node = new mathMLTree.MathNode(\"mstyle\", [node]);\n const isDisplay = style.size === src_Style.DISPLAY.size ? \"true\" : \"false\";\n node.setAttribute(\"displaystyle\", isDisplay);\n node.setAttribute(\"scriptlevel\", \"0\");\n }\n\n if (group.leftDelim != null || group.rightDelim != null) {\n const withDelims = [];\n\n if (group.leftDelim != null) {\n const leftOp = new mathMLTree.MathNode(\"mo\", [new mathMLTree.TextNode(group.leftDelim.replace(\"\\\\\", \"\"))]);\n leftOp.setAttribute(\"fence\", \"true\");\n withDelims.push(leftOp);\n }\n\n withDelims.push(node);\n\n if (group.rightDelim != null) {\n const rightOp = new mathMLTree.MathNode(\"mo\", [new mathMLTree.TextNode(group.rightDelim.replace(\"\\\\\", \"\"))]);\n rightOp.setAttribute(\"fence\", \"true\");\n withDelims.push(rightOp);\n }\n\n return makeRow(withDelims);\n }\n\n return node;\n};\n\ndefineFunction({\n type: \"genfrac\",\n names: [\"\\\\dfrac\", \"\\\\frac\", \"\\\\tfrac\", \"\\\\dbinom\", \"\\\\binom\", \"\\\\tbinom\", \"\\\\\\\\atopfrac\", // can’t be entered directly\n \"\\\\\\\\bracefrac\", \"\\\\\\\\brackfrac\" // ditto\n ],\n props: {\n numArgs: 2,\n allowedInArgument: true\n },\n handler: (_ref, args) => {\n let {\n parser,\n funcName\n } = _ref;\n const numer = args[0];\n const denom = args[1];\n let hasBarLine;\n let leftDelim = null;\n let rightDelim = null;\n let size = \"auto\";\n\n switch (funcName) {\n case \"\\\\dfrac\":\n case \"\\\\frac\":\n case \"\\\\tfrac\":\n hasBarLine = true;\n break;\n\n case \"\\\\\\\\atopfrac\":\n hasBarLine = false;\n break;\n\n case \"\\\\dbinom\":\n case \"\\\\binom\":\n case \"\\\\tbinom\":\n hasBarLine = false;\n leftDelim = \"(\";\n rightDelim = \")\";\n break;\n\n case \"\\\\\\\\bracefrac\":\n hasBarLine = false;\n leftDelim = \"\\\\{\";\n rightDelim = \"\\\\}\";\n break;\n\n case \"\\\\\\\\brackfrac\":\n hasBarLine = false;\n leftDelim = \"[\";\n rightDelim = \"]\";\n break;\n\n default:\n throw new Error(\"Unrecognized genfrac command\");\n }\n\n switch (funcName) {\n case \"\\\\dfrac\":\n case \"\\\\dbinom\":\n size = \"display\";\n break;\n\n case \"\\\\tfrac\":\n case \"\\\\tbinom\":\n size = \"text\";\n break;\n }\n\n return {\n type: \"genfrac\",\n mode: parser.mode,\n continued: false,\n numer,\n denom,\n hasBarLine,\n leftDelim,\n rightDelim,\n size,\n barSize: null\n };\n },\n htmlBuilder: genfrac_htmlBuilder,\n mathmlBuilder: genfrac_mathmlBuilder\n});\ndefineFunction({\n type: \"genfrac\",\n names: [\"\\\\cfrac\"],\n props: {\n numArgs: 2\n },\n handler: (_ref2, args) => {\n let {\n parser,\n funcName\n } = _ref2;\n const numer = args[0];\n const denom = args[1];\n return {\n type: \"genfrac\",\n mode: parser.mode,\n continued: true,\n numer,\n denom,\n hasBarLine: true,\n leftDelim: null,\n rightDelim: null,\n size: \"display\",\n barSize: null\n };\n }\n}); // Infix generalized fractions -- these are not rendered directly, but replaced\n// immediately by one of the variants above.\n\ndefineFunction({\n type: \"infix\",\n names: [\"\\\\over\", \"\\\\choose\", \"\\\\atop\", \"\\\\brace\", \"\\\\brack\"],\n props: {\n numArgs: 0,\n infix: true\n },\n\n handler(_ref3) {\n let {\n parser,\n funcName,\n token\n } = _ref3;\n let replaceWith;\n\n switch (funcName) {\n case \"\\\\over\":\n replaceWith = \"\\\\frac\";\n break;\n\n case \"\\\\choose\":\n replaceWith = \"\\\\binom\";\n break;\n\n case \"\\\\atop\":\n replaceWith = \"\\\\\\\\atopfrac\";\n break;\n\n case \"\\\\brace\":\n replaceWith = \"\\\\\\\\bracefrac\";\n break;\n\n case \"\\\\brack\":\n replaceWith = \"\\\\\\\\brackfrac\";\n break;\n\n default:\n throw new Error(\"Unrecognized infix genfrac command\");\n }\n\n return {\n type: \"infix\",\n mode: parser.mode,\n replaceWith,\n token\n };\n }\n\n});\nconst stylArray = [\"display\", \"text\", \"script\", \"scriptscript\"];\n\nconst delimFromValue = function (delimString) {\n let delim = null;\n\n if (delimString.length > 0) {\n delim = delimString;\n delim = delim === \".\" ? null : delim;\n }\n\n return delim;\n};\n\ndefineFunction({\n type: \"genfrac\",\n names: [\"\\\\genfrac\"],\n props: {\n numArgs: 6,\n allowedInArgument: true,\n argTypes: [\"math\", \"math\", \"size\", \"text\", \"math\", \"math\"]\n },\n\n handler(_ref4, args) {\n let {\n parser\n } = _ref4;\n const numer = args[4];\n const denom = args[5]; // Look into the parse nodes to get the desired delimiters.\n\n const leftNode = normalizeArgument(args[0]);\n const leftDelim = leftNode.type === \"atom\" && leftNode.family === \"open\" ? delimFromValue(leftNode.text) : null;\n const rightNode = normalizeArgument(args[1]);\n const rightDelim = rightNode.type === \"atom\" && rightNode.family === \"close\" ? delimFromValue(rightNode.text) : null;\n const barNode = assertNodeType(args[2], \"size\");\n let hasBarLine;\n let barSize = null;\n\n if (barNode.isBlank) {\n // \\genfrac acts differently than \\above.\n // \\genfrac treats an empty size group as a signal to use a\n // standard bar size. \\above would see size = 0 and omit the bar.\n hasBarLine = true;\n } else {\n barSize = barNode.value;\n hasBarLine = barSize.number > 0;\n } // Find out if we want displaystyle, textstyle, etc.\n\n\n let size = \"auto\";\n let styl = args[3];\n\n if (styl.type === \"ordgroup\") {\n if (styl.body.length > 0) {\n const textOrd = assertNodeType(styl.body[0], \"textord\");\n size = stylArray[Number(textOrd.text)];\n }\n } else {\n styl = assertNodeType(styl, \"textord\");\n size = stylArray[Number(styl.text)];\n }\n\n return {\n type: \"genfrac\",\n mode: parser.mode,\n numer,\n denom,\n continued: false,\n hasBarLine,\n barSize,\n leftDelim,\n rightDelim,\n size\n };\n },\n\n htmlBuilder: genfrac_htmlBuilder,\n mathmlBuilder: genfrac_mathmlBuilder\n}); // \\above is an infix fraction that also defines a fraction bar size.\n\ndefineFunction({\n type: \"infix\",\n names: [\"\\\\above\"],\n props: {\n numArgs: 1,\n argTypes: [\"size\"],\n infix: true\n },\n\n handler(_ref5, args) {\n let {\n parser,\n funcName,\n token\n } = _ref5;\n return {\n type: \"infix\",\n mode: parser.mode,\n replaceWith: \"\\\\\\\\abovefrac\",\n size: assertNodeType(args[0], \"size\").value,\n token\n };\n }\n\n});\ndefineFunction({\n type: \"genfrac\",\n names: [\"\\\\\\\\abovefrac\"],\n props: {\n numArgs: 3,\n argTypes: [\"math\", \"size\", \"math\"]\n },\n handler: (_ref6, args) => {\n let {\n parser,\n funcName\n } = _ref6;\n const numer = args[0];\n const barSize = assert(assertNodeType(args[1], \"infix\").size);\n const denom = args[2];\n const hasBarLine = barSize.number > 0;\n return {\n type: \"genfrac\",\n mode: parser.mode,\n numer,\n denom,\n continued: false,\n hasBarLine,\n barSize,\n leftDelim: null,\n rightDelim: null,\n size: \"auto\"\n };\n },\n htmlBuilder: genfrac_htmlBuilder,\n mathmlBuilder: genfrac_mathmlBuilder\n});\n;// CONCATENATED MODULE: ./src/functions/horizBrace.js\n\n\n\n\n\n\n\n\n// NOTE: Unlike most `htmlBuilder`s, this one handles not only \"horizBrace\", but\n// also \"supsub\" since an over/underbrace can affect super/subscripting.\nconst horizBrace_htmlBuilder = (grp, options) => {\n const style = options.style; // Pull out the `ParseNode<\"horizBrace\">` if `grp` is a \"supsub\" node.\n\n let supSubGroup;\n let group;\n\n if (grp.type === \"supsub\") {\n // Ref: LaTeX source2e: }}}}\\limits}\n // i.e. LaTeX treats the brace similar to an op and passes it\n // with \\limits, so we need to assign supsub style.\n supSubGroup = grp.sup ? buildGroup(grp.sup, options.havingStyle(style.sup()), options) : buildGroup(grp.sub, options.havingStyle(style.sub()), options);\n group = assertNodeType(grp.base, \"horizBrace\");\n } else {\n group = assertNodeType(grp, \"horizBrace\");\n } // Build the base group\n\n\n const body = buildGroup(group.base, options.havingBaseStyle(src_Style.DISPLAY)); // Create the stretchy element\n\n const braceBody = stretchy.svgSpan(group, options); // Generate the vlist, with the appropriate kerns ┏━━━━━━━━┓\n // This first vlist contains the content and the brace: equation\n\n let vlist;\n\n if (group.isOver) {\n vlist = buildCommon.makeVList({\n positionType: \"firstBaseline\",\n children: [{\n type: \"elem\",\n elem: body\n }, {\n type: \"kern\",\n size: 0.1\n }, {\n type: \"elem\",\n elem: braceBody\n }]\n }, options); // $FlowFixMe: Replace this with passing \"svg-align\" into makeVList.\n\n vlist.children[0].children[0].children[1].classes.push(\"svg-align\");\n } else {\n vlist = buildCommon.makeVList({\n positionType: \"bottom\",\n positionData: body.depth + 0.1 + braceBody.height,\n children: [{\n type: \"elem\",\n elem: braceBody\n }, {\n type: \"kern\",\n size: 0.1\n }, {\n type: \"elem\",\n elem: body\n }]\n }, options); // $FlowFixMe: Replace this with passing \"svg-align\" into makeVList.\n\n vlist.children[0].children[0].children[0].classes.push(\"svg-align\");\n }\n\n if (supSubGroup) {\n // To write the supsub, wrap the first vlist in another vlist:\n // They can't all go in the same vlist, because the note might be\n // wider than the equation. We want the equation to control the\n // brace width.\n // note long note long note\n // ┏━━━━━━━━┓ or ┏━━━┓ not ┏━━━━━━━━━┓\n // equation eqn eqn\n const vSpan = buildCommon.makeSpan([\"mord\", group.isOver ? \"mover\" : \"munder\"], [vlist], options);\n\n if (group.isOver) {\n vlist = buildCommon.makeVList({\n positionType: \"firstBaseline\",\n children: [{\n type: \"elem\",\n elem: vSpan\n }, {\n type: \"kern\",\n size: 0.2\n }, {\n type: \"elem\",\n elem: supSubGroup\n }]\n }, options);\n } else {\n vlist = buildCommon.makeVList({\n positionType: \"bottom\",\n positionData: vSpan.depth + 0.2 + supSubGroup.height + supSubGroup.depth,\n children: [{\n type: \"elem\",\n elem: supSubGroup\n }, {\n type: \"kern\",\n size: 0.2\n }, {\n type: \"elem\",\n elem: vSpan\n }]\n }, options);\n }\n }\n\n return buildCommon.makeSpan([\"mord\", group.isOver ? \"mover\" : \"munder\"], [vlist], options);\n};\n\nconst horizBrace_mathmlBuilder = (group, options) => {\n const accentNode = stretchy.mathMLnode(group.label);\n return new mathMLTree.MathNode(group.isOver ? \"mover\" : \"munder\", [buildMathML_buildGroup(group.base, options), accentNode]);\n}; // Horizontal stretchy braces\n\n\ndefineFunction({\n type: \"horizBrace\",\n names: [\"\\\\overbrace\", \"\\\\underbrace\"],\n props: {\n numArgs: 1\n },\n\n handler(_ref, args) {\n let {\n parser,\n funcName\n } = _ref;\n return {\n type: \"horizBrace\",\n mode: parser.mode,\n label: funcName,\n isOver: /^\\\\over/.test(funcName),\n base: args[0]\n };\n },\n\n htmlBuilder: horizBrace_htmlBuilder,\n mathmlBuilder: horizBrace_mathmlBuilder\n});\n;// CONCATENATED MODULE: ./src/functions/href.js\n\n\n\n\n\n\ndefineFunction({\n type: \"href\",\n names: [\"\\\\href\"],\n props: {\n numArgs: 2,\n argTypes: [\"url\", \"original\"],\n allowedInText: true\n },\n handler: (_ref, args) => {\n let {\n parser\n } = _ref;\n const body = args[1];\n const href = assertNodeType(args[0], \"url\").url;\n\n if (!parser.settings.isTrusted({\n command: \"\\\\href\",\n url: href\n })) {\n return parser.formatUnsupportedCmd(\"\\\\href\");\n }\n\n return {\n type: \"href\",\n mode: parser.mode,\n href,\n body: ordargument(body)\n };\n },\n htmlBuilder: (group, options) => {\n const elements = buildExpression(group.body, options, false);\n return buildCommon.makeAnchor(group.href, [], elements, options);\n },\n mathmlBuilder: (group, options) => {\n let math = buildExpressionRow(group.body, options);\n\n if (!(math instanceof MathNode)) {\n math = new MathNode(\"mrow\", [math]);\n }\n\n math.setAttribute(\"href\", group.href);\n return math;\n }\n});\ndefineFunction({\n type: \"href\",\n names: [\"\\\\url\"],\n props: {\n numArgs: 1,\n argTypes: [\"url\"],\n allowedInText: true\n },\n handler: (_ref2, args) => {\n let {\n parser\n } = _ref2;\n const href = assertNodeType(args[0], \"url\").url;\n\n if (!parser.settings.isTrusted({\n command: \"\\\\url\",\n url: href\n })) {\n return parser.formatUnsupportedCmd(\"\\\\url\");\n }\n\n const chars = [];\n\n for (let i = 0; i < href.length; i++) {\n let c = href[i];\n\n if (c === \"~\") {\n c = \"\\\\textasciitilde\";\n }\n\n chars.push({\n type: \"textord\",\n mode: \"text\",\n text: c\n });\n }\n\n const body = {\n type: \"text\",\n mode: parser.mode,\n font: \"\\\\texttt\",\n body: chars\n };\n return {\n type: \"href\",\n mode: parser.mode,\n href,\n body: ordargument(body)\n };\n }\n});\n;// CONCATENATED MODULE: ./src/functions/hbox.js\n\n\n\n\n // \\hbox is provided for compatibility with LaTeX \\vcenter.\n// In LaTeX, \\vcenter can act only on a box, as in\n// \\vcenter{\\hbox{$\\frac{a+b}{\\dfrac{c}{d}}$}}\n// This function by itself doesn't do anything but prevent a soft line break.\n\ndefineFunction({\n type: \"hbox\",\n names: [\"\\\\hbox\"],\n props: {\n numArgs: 1,\n argTypes: [\"text\"],\n allowedInText: true,\n primitive: true\n },\n\n handler(_ref, args) {\n let {\n parser\n } = _ref;\n return {\n type: \"hbox\",\n mode: parser.mode,\n body: ordargument(args[0])\n };\n },\n\n htmlBuilder(group, options) {\n const elements = buildExpression(group.body, options, false);\n return buildCommon.makeFragment(elements);\n },\n\n mathmlBuilder(group, options) {\n return new mathMLTree.MathNode(\"mrow\", buildMathML_buildExpression(group.body, options));\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/html.js\n\n\n\n\n\n\ndefineFunction({\n type: \"html\",\n names: [\"\\\\htmlClass\", \"\\\\htmlId\", \"\\\\htmlStyle\", \"\\\\htmlData\"],\n props: {\n numArgs: 2,\n argTypes: [\"raw\", \"original\"],\n allowedInText: true\n },\n handler: (_ref, args) => {\n let {\n parser,\n funcName,\n token\n } = _ref;\n const value = assertNodeType(args[0], \"raw\").string;\n const body = args[1];\n\n if (parser.settings.strict) {\n parser.settings.reportNonstrict(\"htmlExtension\", \"HTML extension is disabled on strict mode\");\n }\n\n let trustContext;\n const attributes = {};\n\n switch (funcName) {\n case \"\\\\htmlClass\":\n attributes.class = value;\n trustContext = {\n command: \"\\\\htmlClass\",\n class: value\n };\n break;\n\n case \"\\\\htmlId\":\n attributes.id = value;\n trustContext = {\n command: \"\\\\htmlId\",\n id: value\n };\n break;\n\n case \"\\\\htmlStyle\":\n attributes.style = value;\n trustContext = {\n command: \"\\\\htmlStyle\",\n style: value\n };\n break;\n\n case \"\\\\htmlData\":\n {\n const data = value.split(\",\");\n\n for (let i = 0; i < data.length; i++) {\n const keyVal = data[i].split(\"=\");\n\n if (keyVal.length !== 2) {\n throw new src_ParseError(\"Error parsing key-value for \\\\htmlData\");\n }\n\n attributes[\"data-\" + keyVal[0].trim()] = keyVal[1].trim();\n }\n\n trustContext = {\n command: \"\\\\htmlData\",\n attributes\n };\n break;\n }\n\n default:\n throw new Error(\"Unrecognized html command\");\n }\n\n if (!parser.settings.isTrusted(trustContext)) {\n return parser.formatUnsupportedCmd(funcName);\n }\n\n return {\n type: \"html\",\n mode: parser.mode,\n attributes,\n body: ordargument(body)\n };\n },\n htmlBuilder: (group, options) => {\n const elements = buildExpression(group.body, options, false);\n const classes = [\"enclosing\"];\n\n if (group.attributes.class) {\n classes.push(...group.attributes.class.trim().split(/\\s+/));\n }\n\n const span = buildCommon.makeSpan(classes, elements, options);\n\n for (const attr in group.attributes) {\n if (attr !== \"class\" && group.attributes.hasOwnProperty(attr)) {\n span.setAttribute(attr, group.attributes[attr]);\n }\n }\n\n return span;\n },\n mathmlBuilder: (group, options) => {\n return buildExpressionRow(group.body, options);\n }\n});\n;// CONCATENATED MODULE: ./src/functions/htmlmathml.js\n\n\n\n\ndefineFunction({\n type: \"htmlmathml\",\n names: [\"\\\\html@mathml\"],\n props: {\n numArgs: 2,\n allowedInText: true\n },\n handler: (_ref, args) => {\n let {\n parser\n } = _ref;\n return {\n type: \"htmlmathml\",\n mode: parser.mode,\n html: ordargument(args[0]),\n mathml: ordargument(args[1])\n };\n },\n htmlBuilder: (group, options) => {\n const elements = buildExpression(group.html, options, false);\n return buildCommon.makeFragment(elements);\n },\n mathmlBuilder: (group, options) => {\n return buildExpressionRow(group.mathml, options);\n }\n});\n;// CONCATENATED MODULE: ./src/functions/includegraphics.js\n\n\n\n\n\n\n\nconst sizeData = function (str) {\n if (/^[-+]? *(\\d+(\\.\\d*)?|\\.\\d+)$/.test(str)) {\n // str is a number with no unit specified.\n // default unit is bp, per graphix package.\n return {\n number: +str,\n unit: \"bp\"\n };\n } else {\n const match = /([-+]?) *(\\d+(?:\\.\\d*)?|\\.\\d+) *([a-z]{2})/.exec(str);\n\n if (!match) {\n throw new src_ParseError(\"Invalid size: '\" + str + \"' in \\\\includegraphics\");\n }\n\n const data = {\n number: +(match[1] + match[2]),\n // sign + magnitude, cast to number\n unit: match[3]\n };\n\n if (!validUnit(data)) {\n throw new src_ParseError(\"Invalid unit: '\" + data.unit + \"' in \\\\includegraphics.\");\n }\n\n return data;\n }\n};\n\ndefineFunction({\n type: \"includegraphics\",\n names: [\"\\\\includegraphics\"],\n props: {\n numArgs: 1,\n numOptionalArgs: 1,\n argTypes: [\"raw\", \"url\"],\n allowedInText: false\n },\n handler: (_ref, args, optArgs) => {\n let {\n parser\n } = _ref;\n let width = {\n number: 0,\n unit: \"em\"\n };\n let height = {\n number: 0.9,\n unit: \"em\"\n }; // sorta character sized.\n\n let totalheight = {\n number: 0,\n unit: \"em\"\n };\n let alt = \"\";\n\n if (optArgs[0]) {\n const attributeStr = assertNodeType(optArgs[0], \"raw\").string; // Parser.js does not parse key/value pairs. We get a string.\n\n const attributes = attributeStr.split(\",\");\n\n for (let i = 0; i < attributes.length; i++) {\n const keyVal = attributes[i].split(\"=\");\n\n if (keyVal.length === 2) {\n const str = keyVal[1].trim();\n\n switch (keyVal[0].trim()) {\n case \"alt\":\n alt = str;\n break;\n\n case \"width\":\n width = sizeData(str);\n break;\n\n case \"height\":\n height = sizeData(str);\n break;\n\n case \"totalheight\":\n totalheight = sizeData(str);\n break;\n\n default:\n throw new src_ParseError(\"Invalid key: '\" + keyVal[0] + \"' in \\\\includegraphics.\");\n }\n }\n }\n }\n\n const src = assertNodeType(args[0], \"url\").url;\n\n if (alt === \"\") {\n // No alt given. Use the file name. Strip away the path.\n alt = src;\n alt = alt.replace(/^.*[\\\\/]/, '');\n alt = alt.substring(0, alt.lastIndexOf('.'));\n }\n\n if (!parser.settings.isTrusted({\n command: \"\\\\includegraphics\",\n url: src\n })) {\n return parser.formatUnsupportedCmd(\"\\\\includegraphics\");\n }\n\n return {\n type: \"includegraphics\",\n mode: parser.mode,\n alt: alt,\n width: width,\n height: height,\n totalheight: totalheight,\n src: src\n };\n },\n htmlBuilder: (group, options) => {\n const height = calculateSize(group.height, options);\n let depth = 0;\n\n if (group.totalheight.number > 0) {\n depth = calculateSize(group.totalheight, options) - height;\n }\n\n let width = 0;\n\n if (group.width.number > 0) {\n width = calculateSize(group.width, options);\n }\n\n const style = {\n height: makeEm(height + depth)\n };\n\n if (width > 0) {\n style.width = makeEm(width);\n }\n\n if (depth > 0) {\n style.verticalAlign = makeEm(-depth);\n }\n\n const node = new Img(group.src, group.alt, style);\n node.height = height;\n node.depth = depth;\n return node;\n },\n mathmlBuilder: (group, options) => {\n const node = new mathMLTree.MathNode(\"mglyph\", []);\n node.setAttribute(\"alt\", group.alt);\n const height = calculateSize(group.height, options);\n let depth = 0;\n\n if (group.totalheight.number > 0) {\n depth = calculateSize(group.totalheight, options) - height;\n node.setAttribute(\"valign\", makeEm(-depth));\n }\n\n node.setAttribute(\"height\", makeEm(height + depth));\n\n if (group.width.number > 0) {\n const width = calculateSize(group.width, options);\n node.setAttribute(\"width\", makeEm(width));\n }\n\n node.setAttribute(\"src\", group.src);\n return node;\n }\n});\n;// CONCATENATED MODULE: ./src/functions/kern.js\n// Horizontal spacing commands\n\n\n\n\n // TODO: \\hskip and \\mskip should support plus and minus in lengths\n\ndefineFunction({\n type: \"kern\",\n names: [\"\\\\kern\", \"\\\\mkern\", \"\\\\hskip\", \"\\\\mskip\"],\n props: {\n numArgs: 1,\n argTypes: [\"size\"],\n primitive: true,\n allowedInText: true\n },\n\n handler(_ref, args) {\n let {\n parser,\n funcName\n } = _ref;\n const size = assertNodeType(args[0], \"size\");\n\n if (parser.settings.strict) {\n const mathFunction = funcName[1] === 'm'; // \\mkern, \\mskip\n\n const muUnit = size.value.unit === 'mu';\n\n if (mathFunction) {\n if (!muUnit) {\n parser.settings.reportNonstrict(\"mathVsTextUnits\", \"LaTeX's \" + funcName + \" supports only mu units, \" + (\"not \" + size.value.unit + \" units\"));\n }\n\n if (parser.mode !== \"math\") {\n parser.settings.reportNonstrict(\"mathVsTextUnits\", \"LaTeX's \" + funcName + \" works only in math mode\");\n }\n } else {\n // !mathFunction\n if (muUnit) {\n parser.settings.reportNonstrict(\"mathVsTextUnits\", \"LaTeX's \" + funcName + \" doesn't support mu units\");\n }\n }\n }\n\n return {\n type: \"kern\",\n mode: parser.mode,\n dimension: size.value\n };\n },\n\n htmlBuilder(group, options) {\n return buildCommon.makeGlue(group.dimension, options);\n },\n\n mathmlBuilder(group, options) {\n const dimension = calculateSize(group.dimension, options);\n return new mathMLTree.SpaceNode(dimension);\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/lap.js\n// Horizontal overlap functions\n\n\n\n\n\n\ndefineFunction({\n type: \"lap\",\n names: [\"\\\\mathllap\", \"\\\\mathrlap\", \"\\\\mathclap\"],\n props: {\n numArgs: 1,\n allowedInText: true\n },\n handler: (_ref, args) => {\n let {\n parser,\n funcName\n } = _ref;\n const body = args[0];\n return {\n type: \"lap\",\n mode: parser.mode,\n alignment: funcName.slice(5),\n body\n };\n },\n htmlBuilder: (group, options) => {\n // mathllap, mathrlap, mathclap\n let inner;\n\n if (group.alignment === \"clap\") {\n // ref: https://www.math.lsu.edu/~aperlis/publications/mathclap/\n inner = buildCommon.makeSpan([], [buildGroup(group.body, options)]); // wrap, since CSS will center a .clap > .inner > span\n\n inner = buildCommon.makeSpan([\"inner\"], [inner], options);\n } else {\n inner = buildCommon.makeSpan([\"inner\"], [buildGroup(group.body, options)]);\n }\n\n const fix = buildCommon.makeSpan([\"fix\"], []);\n let node = buildCommon.makeSpan([group.alignment], [inner, fix], options); // At this point, we have correctly set horizontal alignment of the\n // two items involved in the lap.\n // Next, use a strut to set the height of the HTML bounding box.\n // Otherwise, a tall argument may be misplaced.\n // This code resolved issue #1153\n\n const strut = buildCommon.makeSpan([\"strut\"]);\n strut.style.height = makeEm(node.height + node.depth);\n\n if (node.depth) {\n strut.style.verticalAlign = makeEm(-node.depth);\n }\n\n node.children.unshift(strut); // Next, prevent vertical misplacement when next to something tall.\n // This code resolves issue #1234\n\n node = buildCommon.makeSpan([\"thinbox\"], [node], options);\n return buildCommon.makeSpan([\"mord\", \"vbox\"], [node], options);\n },\n mathmlBuilder: (group, options) => {\n // mathllap, mathrlap, mathclap\n const node = new mathMLTree.MathNode(\"mpadded\", [buildMathML_buildGroup(group.body, options)]);\n\n if (group.alignment !== \"rlap\") {\n const offset = group.alignment === \"llap\" ? \"-1\" : \"-0.5\";\n node.setAttribute(\"lspace\", offset + \"width\");\n }\n\n node.setAttribute(\"width\", \"0px\");\n return node;\n }\n});\n;// CONCATENATED MODULE: ./src/functions/math.js\n\n // Switching from text mode back to math mode\n\ndefineFunction({\n type: \"styling\",\n names: [\"\\\\(\", \"$\"],\n props: {\n numArgs: 0,\n allowedInText: true,\n allowedInMath: false\n },\n\n handler(_ref, args) {\n let {\n funcName,\n parser\n } = _ref;\n const outerMode = parser.mode;\n parser.switchMode(\"math\");\n const close = funcName === \"\\\\(\" ? \"\\\\)\" : \"$\";\n const body = parser.parseExpression(false, close);\n parser.expect(close);\n parser.switchMode(outerMode);\n return {\n type: \"styling\",\n mode: parser.mode,\n style: \"text\",\n body\n };\n }\n\n}); // Check for extra closing math delimiters\n\ndefineFunction({\n type: \"text\",\n // Doesn't matter what this is.\n names: [\"\\\\)\", \"\\\\]\"],\n props: {\n numArgs: 0,\n allowedInText: true,\n allowedInMath: false\n },\n\n handler(context, args) {\n throw new src_ParseError(\"Mismatched \" + context.funcName);\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/mathchoice.js\n\n\n\n\n\n\nconst chooseMathStyle = (group, options) => {\n switch (options.style.size) {\n case src_Style.DISPLAY.size:\n return group.display;\n\n case src_Style.TEXT.size:\n return group.text;\n\n case src_Style.SCRIPT.size:\n return group.script;\n\n case src_Style.SCRIPTSCRIPT.size:\n return group.scriptscript;\n\n default:\n return group.text;\n }\n};\n\ndefineFunction({\n type: \"mathchoice\",\n names: [\"\\\\mathchoice\"],\n props: {\n numArgs: 4,\n primitive: true\n },\n handler: (_ref, args) => {\n let {\n parser\n } = _ref;\n return {\n type: \"mathchoice\",\n mode: parser.mode,\n display: ordargument(args[0]),\n text: ordargument(args[1]),\n script: ordargument(args[2]),\n scriptscript: ordargument(args[3])\n };\n },\n htmlBuilder: (group, options) => {\n const body = chooseMathStyle(group, options);\n const elements = buildExpression(body, options, false);\n return buildCommon.makeFragment(elements);\n },\n mathmlBuilder: (group, options) => {\n const body = chooseMathStyle(group, options);\n return buildExpressionRow(body, options);\n }\n});\n;// CONCATENATED MODULE: ./src/functions/utils/assembleSupSub.js\n\n\n\n // For an operator with limits, assemble the base, sup, and sub into a span.\n\nconst assembleSupSub = (base, supGroup, subGroup, options, style, slant, baseShift) => {\n base = buildCommon.makeSpan([], [base]);\n const subIsSingleCharacter = subGroup && utils.isCharacterBox(subGroup);\n let sub;\n let sup; // We manually have to handle the superscripts and subscripts. This,\n // aside from the kern calculations, is copied from supsub.\n\n if (supGroup) {\n const elem = buildGroup(supGroup, options.havingStyle(style.sup()), options);\n sup = {\n elem,\n kern: Math.max(options.fontMetrics().bigOpSpacing1, options.fontMetrics().bigOpSpacing3 - elem.depth)\n };\n }\n\n if (subGroup) {\n const elem = buildGroup(subGroup, options.havingStyle(style.sub()), options);\n sub = {\n elem,\n kern: Math.max(options.fontMetrics().bigOpSpacing2, options.fontMetrics().bigOpSpacing4 - elem.height)\n };\n } // Build the final group as a vlist of the possible subscript, base,\n // and possible superscript.\n\n\n let finalGroup;\n\n if (sup && sub) {\n const bottom = options.fontMetrics().bigOpSpacing5 + sub.elem.height + sub.elem.depth + sub.kern + base.depth + baseShift;\n finalGroup = buildCommon.makeVList({\n positionType: \"bottom\",\n positionData: bottom,\n children: [{\n type: \"kern\",\n size: options.fontMetrics().bigOpSpacing5\n }, {\n type: \"elem\",\n elem: sub.elem,\n marginLeft: makeEm(-slant)\n }, {\n type: \"kern\",\n size: sub.kern\n }, {\n type: \"elem\",\n elem: base\n }, {\n type: \"kern\",\n size: sup.kern\n }, {\n type: \"elem\",\n elem: sup.elem,\n marginLeft: makeEm(slant)\n }, {\n type: \"kern\",\n size: options.fontMetrics().bigOpSpacing5\n }]\n }, options);\n } else if (sub) {\n const top = base.height - baseShift; // Shift the limits by the slant of the symbol. Note\n // that we are supposed to shift the limits by 1/2 of the slant,\n // but since we are centering the limits adding a full slant of\n // margin will shift by 1/2 that.\n\n finalGroup = buildCommon.makeVList({\n positionType: \"top\",\n positionData: top,\n children: [{\n type: \"kern\",\n size: options.fontMetrics().bigOpSpacing5\n }, {\n type: \"elem\",\n elem: sub.elem,\n marginLeft: makeEm(-slant)\n }, {\n type: \"kern\",\n size: sub.kern\n }, {\n type: \"elem\",\n elem: base\n }]\n }, options);\n } else if (sup) {\n const bottom = base.depth + baseShift;\n finalGroup = buildCommon.makeVList({\n positionType: \"bottom\",\n positionData: bottom,\n children: [{\n type: \"elem\",\n elem: base\n }, {\n type: \"kern\",\n size: sup.kern\n }, {\n type: \"elem\",\n elem: sup.elem,\n marginLeft: makeEm(slant)\n }, {\n type: \"kern\",\n size: options.fontMetrics().bigOpSpacing5\n }]\n }, options);\n } else {\n // This case probably shouldn't occur (this would mean the\n // supsub was sending us a group with no superscript or\n // subscript) but be safe.\n return base;\n }\n\n const parts = [finalGroup];\n\n if (sub && slant !== 0 && !subIsSingleCharacter) {\n // A negative margin-left was applied to the lower limit.\n // Avoid an overlap by placing a spacer on the left on the group.\n const spacer = buildCommon.makeSpan([\"mspace\"], [], options);\n spacer.style.marginRight = makeEm(slant);\n parts.unshift(spacer);\n }\n\n return buildCommon.makeSpan([\"mop\", \"op-limits\"], parts, options);\n};\n;// CONCATENATED MODULE: ./src/functions/op.js\n// Limits, symbols\n\n\n\n\n\n\n\n\n\n\n\n// Most operators have a large successor symbol, but these don't.\nconst noSuccessor = [\"\\\\smallint\"]; // NOTE: Unlike most `htmlBuilder`s, this one handles not only \"op\", but also\n// \"supsub\" since some of them (like \\int) can affect super/subscripting.\n\nconst op_htmlBuilder = (grp, options) => {\n // Operators are handled in the TeXbook pg. 443-444, rule 13(a).\n let supGroup;\n let subGroup;\n let hasLimits = false;\n let group;\n\n if (grp.type === \"supsub\") {\n // If we have limits, supsub will pass us its group to handle. Pull\n // out the superscript and subscript and set the group to the op in\n // its base.\n supGroup = grp.sup;\n subGroup = grp.sub;\n group = assertNodeType(grp.base, \"op\");\n hasLimits = true;\n } else {\n group = assertNodeType(grp, \"op\");\n }\n\n const style = options.style;\n let large = false;\n\n if (style.size === src_Style.DISPLAY.size && group.symbol && !utils.contains(noSuccessor, group.name)) {\n // Most symbol operators get larger in displaystyle (rule 13)\n large = true;\n }\n\n let base;\n\n if (group.symbol) {\n // If this is a symbol, create the symbol.\n const fontName = large ? \"Size2-Regular\" : \"Size1-Regular\";\n let stash = \"\";\n\n if (group.name === \"\\\\oiint\" || group.name === \"\\\\oiiint\") {\n // No font glyphs yet, so use a glyph w/o the oval.\n // TODO: When font glyphs are available, delete this code.\n stash = group.name.slice(1);\n group.name = stash === \"oiint\" ? \"\\\\iint\" : \"\\\\iiint\";\n }\n\n base = buildCommon.makeSymbol(group.name, fontName, \"math\", options, [\"mop\", \"op-symbol\", large ? \"large-op\" : \"small-op\"]);\n\n if (stash.length > 0) {\n // We're in \\oiint or \\oiiint. Overlay the oval.\n // TODO: When font glyphs are available, delete this code.\n const italic = base.italic;\n const oval = buildCommon.staticSvg(stash + \"Size\" + (large ? \"2\" : \"1\"), options);\n base = buildCommon.makeVList({\n positionType: \"individualShift\",\n children: [{\n type: \"elem\",\n elem: base,\n shift: 0\n }, {\n type: \"elem\",\n elem: oval,\n shift: large ? 0.08 : 0\n }]\n }, options);\n group.name = \"\\\\\" + stash;\n base.classes.unshift(\"mop\"); // $FlowFixMe\n\n base.italic = italic;\n }\n } else if (group.body) {\n // If this is a list, compose that list.\n const inner = buildExpression(group.body, options, true);\n\n if (inner.length === 1 && inner[0] instanceof SymbolNode) {\n base = inner[0];\n base.classes[0] = \"mop\"; // replace old mclass\n } else {\n base = buildCommon.makeSpan([\"mop\"], inner, options);\n }\n } else {\n // Otherwise, this is a text operator. Build the text from the\n // operator's name.\n const output = [];\n\n for (let i = 1; i < group.name.length; i++) {\n output.push(buildCommon.mathsym(group.name[i], group.mode, options));\n }\n\n base = buildCommon.makeSpan([\"mop\"], output, options);\n } // If content of op is a single symbol, shift it vertically.\n\n\n let baseShift = 0;\n let slant = 0;\n\n if ((base instanceof SymbolNode || group.name === \"\\\\oiint\" || group.name === \"\\\\oiiint\") && !group.suppressBaseShift) {\n // We suppress the shift of the base of \\overset and \\underset. Otherwise,\n // shift the symbol so its center lies on the axis (rule 13). It\n // appears that our fonts have the centers of the symbols already\n // almost on the axis, so these numbers are very small. Note we\n // don't actually apply this here, but instead it is used either in\n // the vlist creation or separately when there are no limits.\n baseShift = (base.height - base.depth) / 2 - options.fontMetrics().axisHeight; // The slant of the symbol is just its italic correction.\n // $FlowFixMe\n\n slant = base.italic;\n }\n\n if (hasLimits) {\n return assembleSupSub(base, supGroup, subGroup, options, style, slant, baseShift);\n } else {\n if (baseShift) {\n base.style.position = \"relative\";\n base.style.top = makeEm(baseShift);\n }\n\n return base;\n }\n};\n\nconst op_mathmlBuilder = (group, options) => {\n let node;\n\n if (group.symbol) {\n // This is a symbol. Just add the symbol.\n node = new MathNode(\"mo\", [makeText(group.name, group.mode)]);\n\n if (utils.contains(noSuccessor, group.name)) {\n node.setAttribute(\"largeop\", \"false\");\n }\n } else if (group.body) {\n // This is an operator with children. Add them.\n node = new MathNode(\"mo\", buildMathML_buildExpression(group.body, options));\n } else {\n // This is a text operator. Add all of the characters from the\n // operator's name.\n node = new MathNode(\"mi\", [new TextNode(group.name.slice(1))]); // Append an ⁡ .\n // ref: https://www.w3.org/TR/REC-MathML/chap3_2.html#sec3.2.4\n\n const operator = new MathNode(\"mo\", [makeText(\"\\u2061\", \"text\")]);\n\n if (group.parentIsSupSub) {\n node = new MathNode(\"mrow\", [node, operator]);\n } else {\n node = newDocumentFragment([node, operator]);\n }\n }\n\n return node;\n};\n\nconst singleCharBigOps = {\n \"\\u220F\": \"\\\\prod\",\n \"\\u2210\": \"\\\\coprod\",\n \"\\u2211\": \"\\\\sum\",\n \"\\u22c0\": \"\\\\bigwedge\",\n \"\\u22c1\": \"\\\\bigvee\",\n \"\\u22c2\": \"\\\\bigcap\",\n \"\\u22c3\": \"\\\\bigcup\",\n \"\\u2a00\": \"\\\\bigodot\",\n \"\\u2a01\": \"\\\\bigoplus\",\n \"\\u2a02\": \"\\\\bigotimes\",\n \"\\u2a04\": \"\\\\biguplus\",\n \"\\u2a06\": \"\\\\bigsqcup\"\n};\ndefineFunction({\n type: \"op\",\n names: [\"\\\\coprod\", \"\\\\bigvee\", \"\\\\bigwedge\", \"\\\\biguplus\", \"\\\\bigcap\", \"\\\\bigcup\", \"\\\\intop\", \"\\\\prod\", \"\\\\sum\", \"\\\\bigotimes\", \"\\\\bigoplus\", \"\\\\bigodot\", \"\\\\bigsqcup\", \"\\\\smallint\", \"\\u220F\", \"\\u2210\", \"\\u2211\", \"\\u22c0\", \"\\u22c1\", \"\\u22c2\", \"\\u22c3\", \"\\u2a00\", \"\\u2a01\", \"\\u2a02\", \"\\u2a04\", \"\\u2a06\"],\n props: {\n numArgs: 0\n },\n handler: (_ref, args) => {\n let {\n parser,\n funcName\n } = _ref;\n let fName = funcName;\n\n if (fName.length === 1) {\n fName = singleCharBigOps[fName];\n }\n\n return {\n type: \"op\",\n mode: parser.mode,\n limits: true,\n parentIsSupSub: false,\n symbol: true,\n name: fName\n };\n },\n htmlBuilder: op_htmlBuilder,\n mathmlBuilder: op_mathmlBuilder\n}); // Note: calling defineFunction with a type that's already been defined only\n// works because the same htmlBuilder and mathmlBuilder are being used.\n\ndefineFunction({\n type: \"op\",\n names: [\"\\\\mathop\"],\n props: {\n numArgs: 1,\n primitive: true\n },\n handler: (_ref2, args) => {\n let {\n parser\n } = _ref2;\n const body = args[0];\n return {\n type: \"op\",\n mode: parser.mode,\n limits: false,\n parentIsSupSub: false,\n symbol: false,\n body: ordargument(body)\n };\n },\n htmlBuilder: op_htmlBuilder,\n mathmlBuilder: op_mathmlBuilder\n}); // There are 2 flags for operators; whether they produce limits in\n// displaystyle, and whether they are symbols and should grow in\n// displaystyle. These four groups cover the four possible choices.\n\nconst singleCharIntegrals = {\n \"\\u222b\": \"\\\\int\",\n \"\\u222c\": \"\\\\iint\",\n \"\\u222d\": \"\\\\iiint\",\n \"\\u222e\": \"\\\\oint\",\n \"\\u222f\": \"\\\\oiint\",\n \"\\u2230\": \"\\\\oiiint\"\n}; // No limits, not symbols\n\ndefineFunction({\n type: \"op\",\n names: [\"\\\\arcsin\", \"\\\\arccos\", \"\\\\arctan\", \"\\\\arctg\", \"\\\\arcctg\", \"\\\\arg\", \"\\\\ch\", \"\\\\cos\", \"\\\\cosec\", \"\\\\cosh\", \"\\\\cot\", \"\\\\cotg\", \"\\\\coth\", \"\\\\csc\", \"\\\\ctg\", \"\\\\cth\", \"\\\\deg\", \"\\\\dim\", \"\\\\exp\", \"\\\\hom\", \"\\\\ker\", \"\\\\lg\", \"\\\\ln\", \"\\\\log\", \"\\\\sec\", \"\\\\sin\", \"\\\\sinh\", \"\\\\sh\", \"\\\\tan\", \"\\\\tanh\", \"\\\\tg\", \"\\\\th\"],\n props: {\n numArgs: 0\n },\n\n handler(_ref3) {\n let {\n parser,\n funcName\n } = _ref3;\n return {\n type: \"op\",\n mode: parser.mode,\n limits: false,\n parentIsSupSub: false,\n symbol: false,\n name: funcName\n };\n },\n\n htmlBuilder: op_htmlBuilder,\n mathmlBuilder: op_mathmlBuilder\n}); // Limits, not symbols\n\ndefineFunction({\n type: \"op\",\n names: [\"\\\\det\", \"\\\\gcd\", \"\\\\inf\", \"\\\\lim\", \"\\\\max\", \"\\\\min\", \"\\\\Pr\", \"\\\\sup\"],\n props: {\n numArgs: 0\n },\n\n handler(_ref4) {\n let {\n parser,\n funcName\n } = _ref4;\n return {\n type: \"op\",\n mode: parser.mode,\n limits: true,\n parentIsSupSub: false,\n symbol: false,\n name: funcName\n };\n },\n\n htmlBuilder: op_htmlBuilder,\n mathmlBuilder: op_mathmlBuilder\n}); // No limits, symbols\n\ndefineFunction({\n type: \"op\",\n names: [\"\\\\int\", \"\\\\iint\", \"\\\\iiint\", \"\\\\oint\", \"\\\\oiint\", \"\\\\oiiint\", \"\\u222b\", \"\\u222c\", \"\\u222d\", \"\\u222e\", \"\\u222f\", \"\\u2230\"],\n props: {\n numArgs: 0\n },\n\n handler(_ref5) {\n let {\n parser,\n funcName\n } = _ref5;\n let fName = funcName;\n\n if (fName.length === 1) {\n fName = singleCharIntegrals[fName];\n }\n\n return {\n type: \"op\",\n mode: parser.mode,\n limits: false,\n parentIsSupSub: false,\n symbol: true,\n name: fName\n };\n },\n\n htmlBuilder: op_htmlBuilder,\n mathmlBuilder: op_mathmlBuilder\n});\n;// CONCATENATED MODULE: ./src/functions/operatorname.js\n\n\n\n\n\n\n\n\n\n// NOTE: Unlike most `htmlBuilder`s, this one handles not only\n// \"operatorname\", but also \"supsub\" since \\operatorname* can\n// affect super/subscripting.\nconst operatorname_htmlBuilder = (grp, options) => {\n // Operators are handled in the TeXbook pg. 443-444, rule 13(a).\n let supGroup;\n let subGroup;\n let hasLimits = false;\n let group;\n\n if (grp.type === \"supsub\") {\n // If we have limits, supsub will pass us its group to handle. Pull\n // out the superscript and subscript and set the group to the op in\n // its base.\n supGroup = grp.sup;\n subGroup = grp.sub;\n group = assertNodeType(grp.base, \"operatorname\");\n hasLimits = true;\n } else {\n group = assertNodeType(grp, \"operatorname\");\n }\n\n let base;\n\n if (group.body.length > 0) {\n const body = group.body.map(child => {\n // $FlowFixMe: Check if the node has a string `text` property.\n const childText = child.text;\n\n if (typeof childText === \"string\") {\n return {\n type: \"textord\",\n mode: child.mode,\n text: childText\n };\n } else {\n return child;\n }\n }); // Consolidate function names into symbol characters.\n\n const expression = buildExpression(body, options.withFont(\"mathrm\"), true);\n\n for (let i = 0; i < expression.length; i++) {\n const child = expression[i];\n\n if (child instanceof SymbolNode) {\n // Per amsopn package,\n // change minus to hyphen and \\ast to asterisk\n child.text = child.text.replace(/\\u2212/, \"-\").replace(/\\u2217/, \"*\");\n }\n }\n\n base = buildCommon.makeSpan([\"mop\"], expression, options);\n } else {\n base = buildCommon.makeSpan([\"mop\"], [], options);\n }\n\n if (hasLimits) {\n return assembleSupSub(base, supGroup, subGroup, options, options.style, 0, 0);\n } else {\n return base;\n }\n};\n\nconst operatorname_mathmlBuilder = (group, options) => {\n // The steps taken here are similar to the html version.\n let expression = buildMathML_buildExpression(group.body, options.withFont(\"mathrm\")); // Is expression a string or has it something like a fraction?\n\n let isAllString = true; // default\n\n for (let i = 0; i < expression.length; i++) {\n const node = expression[i];\n\n if (node instanceof mathMLTree.SpaceNode) {// Do nothing\n } else if (node instanceof mathMLTree.MathNode) {\n switch (node.type) {\n case \"mi\":\n case \"mn\":\n case \"ms\":\n case \"mspace\":\n case \"mtext\":\n break;\n // Do nothing yet.\n\n case \"mo\":\n {\n const child = node.children[0];\n\n if (node.children.length === 1 && child instanceof mathMLTree.TextNode) {\n child.text = child.text.replace(/\\u2212/, \"-\").replace(/\\u2217/, \"*\");\n } else {\n isAllString = false;\n }\n\n break;\n }\n\n default:\n isAllString = false;\n }\n } else {\n isAllString = false;\n }\n }\n\n if (isAllString) {\n // Write a single TextNode instead of multiple nested tags.\n const word = expression.map(node => node.toText()).join(\"\");\n expression = [new mathMLTree.TextNode(word)];\n }\n\n const identifier = new mathMLTree.MathNode(\"mi\", expression);\n identifier.setAttribute(\"mathvariant\", \"normal\"); // \\u2061 is the same as ⁡\n // ref: https://www.w3schools.com/charsets/ref_html_entities_a.asp\n\n const operator = new mathMLTree.MathNode(\"mo\", [makeText(\"\\u2061\", \"text\")]);\n\n if (group.parentIsSupSub) {\n return new mathMLTree.MathNode(\"mrow\", [identifier, operator]);\n } else {\n return mathMLTree.newDocumentFragment([identifier, operator]);\n }\n}; // \\operatorname\n// amsopn.dtx: \\mathop{#1\\kern\\z@\\operator@font#3}\\newmcodes@\n\n\ndefineFunction({\n type: \"operatorname\",\n names: [\"\\\\operatorname@\", \"\\\\operatornamewithlimits\"],\n props: {\n numArgs: 1\n },\n handler: (_ref, args) => {\n let {\n parser,\n funcName\n } = _ref;\n const body = args[0];\n return {\n type: \"operatorname\",\n mode: parser.mode,\n body: ordargument(body),\n alwaysHandleSupSub: funcName === \"\\\\operatornamewithlimits\",\n limits: false,\n parentIsSupSub: false\n };\n },\n htmlBuilder: operatorname_htmlBuilder,\n mathmlBuilder: operatorname_mathmlBuilder\n});\ndefineMacro(\"\\\\operatorname\", \"\\\\@ifstar\\\\operatornamewithlimits\\\\operatorname@\");\n;// CONCATENATED MODULE: ./src/functions/ordgroup.js\n\n\n\n\ndefineFunctionBuilders({\n type: \"ordgroup\",\n\n htmlBuilder(group, options) {\n if (group.semisimple) {\n return buildCommon.makeFragment(buildExpression(group.body, options, false));\n }\n\n return buildCommon.makeSpan([\"mord\"], buildExpression(group.body, options, true), options);\n },\n\n mathmlBuilder(group, options) {\n return buildExpressionRow(group.body, options, true);\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/overline.js\n\n\n\n\n\ndefineFunction({\n type: \"overline\",\n names: [\"\\\\overline\"],\n props: {\n numArgs: 1\n },\n\n handler(_ref, args) {\n let {\n parser\n } = _ref;\n const body = args[0];\n return {\n type: \"overline\",\n mode: parser.mode,\n body\n };\n },\n\n htmlBuilder(group, options) {\n // Overlines are handled in the TeXbook pg 443, Rule 9.\n // Build the inner group in the cramped style.\n const innerGroup = buildGroup(group.body, options.havingCrampedStyle()); // Create the line above the body\n\n const line = buildCommon.makeLineSpan(\"overline-line\", options); // Generate the vlist, with the appropriate kerns\n\n const defaultRuleThickness = options.fontMetrics().defaultRuleThickness;\n const vlist = buildCommon.makeVList({\n positionType: \"firstBaseline\",\n children: [{\n type: \"elem\",\n elem: innerGroup\n }, {\n type: \"kern\",\n size: 3 * defaultRuleThickness\n }, {\n type: \"elem\",\n elem: line\n }, {\n type: \"kern\",\n size: defaultRuleThickness\n }]\n }, options);\n return buildCommon.makeSpan([\"mord\", \"overline\"], [vlist], options);\n },\n\n mathmlBuilder(group, options) {\n const operator = new mathMLTree.MathNode(\"mo\", [new mathMLTree.TextNode(\"\\u203e\")]);\n operator.setAttribute(\"stretchy\", \"true\");\n const node = new mathMLTree.MathNode(\"mover\", [buildMathML_buildGroup(group.body, options), operator]);\n node.setAttribute(\"accent\", \"true\");\n return node;\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/phantom.js\n\n\n\n\n\ndefineFunction({\n type: \"phantom\",\n names: [\"\\\\phantom\"],\n props: {\n numArgs: 1,\n allowedInText: true\n },\n handler: (_ref, args) => {\n let {\n parser\n } = _ref;\n const body = args[0];\n return {\n type: \"phantom\",\n mode: parser.mode,\n body: ordargument(body)\n };\n },\n htmlBuilder: (group, options) => {\n const elements = buildExpression(group.body, options.withPhantom(), false); // \\phantom isn't supposed to affect the elements it contains.\n // See \"color\" for more details.\n\n return buildCommon.makeFragment(elements);\n },\n mathmlBuilder: (group, options) => {\n const inner = buildMathML_buildExpression(group.body, options);\n return new mathMLTree.MathNode(\"mphantom\", inner);\n }\n});\ndefineFunction({\n type: \"hphantom\",\n names: [\"\\\\hphantom\"],\n props: {\n numArgs: 1,\n allowedInText: true\n },\n handler: (_ref2, args) => {\n let {\n parser\n } = _ref2;\n const body = args[0];\n return {\n type: \"hphantom\",\n mode: parser.mode,\n body\n };\n },\n htmlBuilder: (group, options) => {\n let node = buildCommon.makeSpan([], [buildGroup(group.body, options.withPhantom())]);\n node.height = 0;\n node.depth = 0;\n\n if (node.children) {\n for (let i = 0; i < node.children.length; i++) {\n node.children[i].height = 0;\n node.children[i].depth = 0;\n }\n } // See smash for comment re: use of makeVList\n\n\n node = buildCommon.makeVList({\n positionType: \"firstBaseline\",\n children: [{\n type: \"elem\",\n elem: node\n }]\n }, options); // For spacing, TeX treats \\smash as a math group (same spacing as ord).\n\n return buildCommon.makeSpan([\"mord\"], [node], options);\n },\n mathmlBuilder: (group, options) => {\n const inner = buildMathML_buildExpression(ordargument(group.body), options);\n const phantom = new mathMLTree.MathNode(\"mphantom\", inner);\n const node = new mathMLTree.MathNode(\"mpadded\", [phantom]);\n node.setAttribute(\"height\", \"0px\");\n node.setAttribute(\"depth\", \"0px\");\n return node;\n }\n});\ndefineFunction({\n type: \"vphantom\",\n names: [\"\\\\vphantom\"],\n props: {\n numArgs: 1,\n allowedInText: true\n },\n handler: (_ref3, args) => {\n let {\n parser\n } = _ref3;\n const body = args[0];\n return {\n type: \"vphantom\",\n mode: parser.mode,\n body\n };\n },\n htmlBuilder: (group, options) => {\n const inner = buildCommon.makeSpan([\"inner\"], [buildGroup(group.body, options.withPhantom())]);\n const fix = buildCommon.makeSpan([\"fix\"], []);\n return buildCommon.makeSpan([\"mord\", \"rlap\"], [inner, fix], options);\n },\n mathmlBuilder: (group, options) => {\n const inner = buildMathML_buildExpression(ordargument(group.body), options);\n const phantom = new mathMLTree.MathNode(\"mphantom\", inner);\n const node = new mathMLTree.MathNode(\"mpadded\", [phantom]);\n node.setAttribute(\"width\", \"0px\");\n return node;\n }\n});\n;// CONCATENATED MODULE: ./src/functions/raisebox.js\n\n\n\n\n\n\n // Box manipulation\n\ndefineFunction({\n type: \"raisebox\",\n names: [\"\\\\raisebox\"],\n props: {\n numArgs: 2,\n argTypes: [\"size\", \"hbox\"],\n allowedInText: true\n },\n\n handler(_ref, args) {\n let {\n parser\n } = _ref;\n const amount = assertNodeType(args[0], \"size\").value;\n const body = args[1];\n return {\n type: \"raisebox\",\n mode: parser.mode,\n dy: amount,\n body\n };\n },\n\n htmlBuilder(group, options) {\n const body = buildGroup(group.body, options);\n const dy = calculateSize(group.dy, options);\n return buildCommon.makeVList({\n positionType: \"shift\",\n positionData: -dy,\n children: [{\n type: \"elem\",\n elem: body\n }]\n }, options);\n },\n\n mathmlBuilder(group, options) {\n const node = new mathMLTree.MathNode(\"mpadded\", [buildMathML_buildGroup(group.body, options)]);\n const dy = group.dy.number + group.dy.unit;\n node.setAttribute(\"voffset\", dy);\n return node;\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/relax.js\n\ndefineFunction({\n type: \"internal\",\n names: [\"\\\\relax\"],\n props: {\n numArgs: 0,\n allowedInText: true\n },\n\n handler(_ref) {\n let {\n parser\n } = _ref;\n return {\n type: \"internal\",\n mode: parser.mode\n };\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/rule.js\n\n\n\n\n\ndefineFunction({\n type: \"rule\",\n names: [\"\\\\rule\"],\n props: {\n numArgs: 2,\n numOptionalArgs: 1,\n argTypes: [\"size\", \"size\", \"size\"]\n },\n\n handler(_ref, args, optArgs) {\n let {\n parser\n } = _ref;\n const shift = optArgs[0];\n const width = assertNodeType(args[0], \"size\");\n const height = assertNodeType(args[1], \"size\");\n return {\n type: \"rule\",\n mode: parser.mode,\n shift: shift && assertNodeType(shift, \"size\").value,\n width: width.value,\n height: height.value\n };\n },\n\n htmlBuilder(group, options) {\n // Make an empty span for the rule\n const rule = buildCommon.makeSpan([\"mord\", \"rule\"], [], options); // Calculate the shift, width, and height of the rule, and account for units\n\n const width = calculateSize(group.width, options);\n const height = calculateSize(group.height, options);\n const shift = group.shift ? calculateSize(group.shift, options) : 0; // Style the rule to the right size\n\n rule.style.borderRightWidth = makeEm(width);\n rule.style.borderTopWidth = makeEm(height);\n rule.style.bottom = makeEm(shift); // Record the height and width\n\n rule.width = width;\n rule.height = height + shift;\n rule.depth = -shift; // Font size is the number large enough that the browser will\n // reserve at least `absHeight` space above the baseline.\n // The 1.125 factor was empirically determined\n\n rule.maxFontSize = height * 1.125 * options.sizeMultiplier;\n return rule;\n },\n\n mathmlBuilder(group, options) {\n const width = calculateSize(group.width, options);\n const height = calculateSize(group.height, options);\n const shift = group.shift ? calculateSize(group.shift, options) : 0;\n const color = options.color && options.getColor() || \"black\";\n const rule = new mathMLTree.MathNode(\"mspace\");\n rule.setAttribute(\"mathbackground\", color);\n rule.setAttribute(\"width\", makeEm(width));\n rule.setAttribute(\"height\", makeEm(height));\n const wrapper = new mathMLTree.MathNode(\"mpadded\", [rule]);\n\n if (shift >= 0) {\n wrapper.setAttribute(\"height\", makeEm(shift));\n } else {\n wrapper.setAttribute(\"height\", makeEm(shift));\n wrapper.setAttribute(\"depth\", makeEm(-shift));\n }\n\n wrapper.setAttribute(\"voffset\", makeEm(shift));\n return wrapper;\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/sizing.js\n\n\n\n\n\n\nfunction sizingGroup(value, options, baseOptions) {\n const inner = buildExpression(value, options, false);\n const multiplier = options.sizeMultiplier / baseOptions.sizeMultiplier; // Add size-resetting classes to the inner list and set maxFontSize\n // manually. Handle nested size changes.\n\n for (let i = 0; i < inner.length; i++) {\n const pos = inner[i].classes.indexOf(\"sizing\");\n\n if (pos < 0) {\n Array.prototype.push.apply(inner[i].classes, options.sizingClasses(baseOptions));\n } else if (inner[i].classes[pos + 1] === \"reset-size\" + options.size) {\n // This is a nested size change: e.g., inner[i] is the \"b\" in\n // `\\Huge a \\small b`. Override the old size (the `reset-` class)\n // but not the new size.\n inner[i].classes[pos + 1] = \"reset-size\" + baseOptions.size;\n }\n\n inner[i].height *= multiplier;\n inner[i].depth *= multiplier;\n }\n\n return buildCommon.makeFragment(inner);\n}\nconst sizeFuncs = [\"\\\\tiny\", \"\\\\sixptsize\", \"\\\\scriptsize\", \"\\\\footnotesize\", \"\\\\small\", \"\\\\normalsize\", \"\\\\large\", \"\\\\Large\", \"\\\\LARGE\", \"\\\\huge\", \"\\\\Huge\"];\nconst sizing_htmlBuilder = (group, options) => {\n // Handle sizing operators like \\Huge. Real TeX doesn't actually allow\n // these functions inside of math expressions, so we do some special\n // handling.\n const newOptions = options.havingSize(group.size);\n return sizingGroup(group.body, newOptions, options);\n};\ndefineFunction({\n type: \"sizing\",\n names: sizeFuncs,\n props: {\n numArgs: 0,\n allowedInText: true\n },\n handler: (_ref, args) => {\n let {\n breakOnTokenText,\n funcName,\n parser\n } = _ref;\n const body = parser.parseExpression(false, breakOnTokenText);\n return {\n type: \"sizing\",\n mode: parser.mode,\n // Figure out what size to use based on the list of functions above\n size: sizeFuncs.indexOf(funcName) + 1,\n body\n };\n },\n htmlBuilder: sizing_htmlBuilder,\n mathmlBuilder: (group, options) => {\n const newOptions = options.havingSize(group.size);\n const inner = buildMathML_buildExpression(group.body, newOptions);\n const node = new mathMLTree.MathNode(\"mstyle\", inner); // TODO(emily): This doesn't produce the correct size for nested size\n // changes, because we don't keep state of what style we're currently\n // in, so we can't reset the size to normal before changing it. Now\n // that we're passing an options parameter we should be able to fix\n // this.\n\n node.setAttribute(\"mathsize\", makeEm(newOptions.sizeMultiplier));\n return node;\n }\n});\n;// CONCATENATED MODULE: ./src/functions/smash.js\n// smash, with optional [tb], as in AMS\n\n\n\n\n\n\ndefineFunction({\n type: \"smash\",\n names: [\"\\\\smash\"],\n props: {\n numArgs: 1,\n numOptionalArgs: 1,\n allowedInText: true\n },\n handler: (_ref, args, optArgs) => {\n let {\n parser\n } = _ref;\n let smashHeight = false;\n let smashDepth = false;\n const tbArg = optArgs[0] && assertNodeType(optArgs[0], \"ordgroup\");\n\n if (tbArg) {\n // Optional [tb] argument is engaged.\n // ref: amsmath: \\renewcommand{\\smash}[1][tb]{%\n // def\\mb@t{\\ht}\\def\\mb@b{\\dp}\\def\\mb@tb{\\ht\\z@\\z@\\dp}%\n let letter = \"\";\n\n for (let i = 0; i < tbArg.body.length; ++i) {\n const node = tbArg.body[i]; // $FlowFixMe: Not every node type has a `text` property.\n\n letter = node.text;\n\n if (letter === \"t\") {\n smashHeight = true;\n } else if (letter === \"b\") {\n smashDepth = true;\n } else {\n smashHeight = false;\n smashDepth = false;\n break;\n }\n }\n } else {\n smashHeight = true;\n smashDepth = true;\n }\n\n const body = args[0];\n return {\n type: \"smash\",\n mode: parser.mode,\n body,\n smashHeight,\n smashDepth\n };\n },\n htmlBuilder: (group, options) => {\n const node = buildCommon.makeSpan([], [buildGroup(group.body, options)]);\n\n if (!group.smashHeight && !group.smashDepth) {\n return node;\n }\n\n if (group.smashHeight) {\n node.height = 0; // In order to influence makeVList, we have to reset the children.\n\n if (node.children) {\n for (let i = 0; i < node.children.length; i++) {\n node.children[i].height = 0;\n }\n }\n }\n\n if (group.smashDepth) {\n node.depth = 0;\n\n if (node.children) {\n for (let i = 0; i < node.children.length; i++) {\n node.children[i].depth = 0;\n }\n }\n } // At this point, we've reset the TeX-like height and depth values.\n // But the span still has an HTML line height.\n // makeVList applies \"display: table-cell\", which prevents the browser\n // from acting on that line height. So we'll call makeVList now.\n\n\n const smashedNode = buildCommon.makeVList({\n positionType: \"firstBaseline\",\n children: [{\n type: \"elem\",\n elem: node\n }]\n }, options); // For spacing, TeX treats \\hphantom as a math group (same spacing as ord).\n\n return buildCommon.makeSpan([\"mord\"], [smashedNode], options);\n },\n mathmlBuilder: (group, options) => {\n const node = new mathMLTree.MathNode(\"mpadded\", [buildMathML_buildGroup(group.body, options)]);\n\n if (group.smashHeight) {\n node.setAttribute(\"height\", \"0px\");\n }\n\n if (group.smashDepth) {\n node.setAttribute(\"depth\", \"0px\");\n }\n\n return node;\n }\n});\n;// CONCATENATED MODULE: ./src/functions/sqrt.js\n\n\n\n\n\n\n\n\ndefineFunction({\n type: \"sqrt\",\n names: [\"\\\\sqrt\"],\n props: {\n numArgs: 1,\n numOptionalArgs: 1\n },\n\n handler(_ref, args, optArgs) {\n let {\n parser\n } = _ref;\n const index = optArgs[0];\n const body = args[0];\n return {\n type: \"sqrt\",\n mode: parser.mode,\n body,\n index\n };\n },\n\n htmlBuilder(group, options) {\n // Square roots are handled in the TeXbook pg. 443, Rule 11.\n // First, we do the same steps as in overline to build the inner group\n // and line\n let inner = buildGroup(group.body, options.havingCrampedStyle());\n\n if (inner.height === 0) {\n // Render a small surd.\n inner.height = options.fontMetrics().xHeight;\n } // Some groups can return document fragments. Handle those by wrapping\n // them in a span.\n\n\n inner = buildCommon.wrapFragment(inner, options); // Calculate the minimum size for the \\surd delimiter\n\n const metrics = options.fontMetrics();\n const theta = metrics.defaultRuleThickness;\n let phi = theta;\n\n if (options.style.id < src_Style.TEXT.id) {\n phi = options.fontMetrics().xHeight;\n } // Calculate the clearance between the body and line\n\n\n let lineClearance = theta + phi / 4;\n const minDelimiterHeight = inner.height + inner.depth + lineClearance + theta; // Create a sqrt SVG of the required minimum size\n\n const {\n span: img,\n ruleWidth,\n advanceWidth\n } = delimiter.sqrtImage(minDelimiterHeight, options);\n const delimDepth = img.height - ruleWidth; // Adjust the clearance based on the delimiter size\n\n if (delimDepth > inner.height + inner.depth + lineClearance) {\n lineClearance = (lineClearance + delimDepth - inner.height - inner.depth) / 2;\n } // Shift the sqrt image\n\n\n const imgShift = img.height - inner.height - lineClearance - ruleWidth;\n inner.style.paddingLeft = makeEm(advanceWidth); // Overlay the image and the argument.\n\n const body = buildCommon.makeVList({\n positionType: \"firstBaseline\",\n children: [{\n type: \"elem\",\n elem: inner,\n wrapperClasses: [\"svg-align\"]\n }, {\n type: \"kern\",\n size: -(inner.height + imgShift)\n }, {\n type: \"elem\",\n elem: img\n }, {\n type: \"kern\",\n size: ruleWidth\n }]\n }, options);\n\n if (!group.index) {\n return buildCommon.makeSpan([\"mord\", \"sqrt\"], [body], options);\n } else {\n // Handle the optional root index\n // The index is always in scriptscript style\n const newOptions = options.havingStyle(src_Style.SCRIPTSCRIPT);\n const rootm = buildGroup(group.index, newOptions, options); // The amount the index is shifted by. This is taken from the TeX\n // source, in the definition of `\\r@@t`.\n\n const toShift = 0.6 * (body.height - body.depth); // Build a VList with the superscript shifted up correctly\n\n const rootVList = buildCommon.makeVList({\n positionType: \"shift\",\n positionData: -toShift,\n children: [{\n type: \"elem\",\n elem: rootm\n }]\n }, options); // Add a class surrounding it so we can add on the appropriate\n // kerning\n\n const rootVListWrap = buildCommon.makeSpan([\"root\"], [rootVList]);\n return buildCommon.makeSpan([\"mord\", \"sqrt\"], [rootVListWrap, body], options);\n }\n },\n\n mathmlBuilder(group, options) {\n const {\n body,\n index\n } = group;\n return index ? new mathMLTree.MathNode(\"mroot\", [buildMathML_buildGroup(body, options), buildMathML_buildGroup(index, options)]) : new mathMLTree.MathNode(\"msqrt\", [buildMathML_buildGroup(body, options)]);\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/styling.js\n\n\n\n\n\nconst styling_styleMap = {\n \"display\": src_Style.DISPLAY,\n \"text\": src_Style.TEXT,\n \"script\": src_Style.SCRIPT,\n \"scriptscript\": src_Style.SCRIPTSCRIPT\n};\ndefineFunction({\n type: \"styling\",\n names: [\"\\\\displaystyle\", \"\\\\textstyle\", \"\\\\scriptstyle\", \"\\\\scriptscriptstyle\"],\n props: {\n numArgs: 0,\n allowedInText: true,\n primitive: true\n },\n\n handler(_ref, args) {\n let {\n breakOnTokenText,\n funcName,\n parser\n } = _ref;\n // parse out the implicit body\n const body = parser.parseExpression(true, breakOnTokenText); // TODO: Refactor to avoid duplicating styleMap in multiple places (e.g.\n // here and in buildHTML and de-dupe the enumeration of all the styles).\n // $FlowFixMe: The names above exactly match the styles.\n\n const style = funcName.slice(1, funcName.length - 5);\n return {\n type: \"styling\",\n mode: parser.mode,\n // Figure out what style to use by pulling out the style from\n // the function name\n style,\n body\n };\n },\n\n htmlBuilder(group, options) {\n // Style changes are handled in the TeXbook on pg. 442, Rule 3.\n const newStyle = styling_styleMap[group.style];\n const newOptions = options.havingStyle(newStyle).withFont('');\n return sizingGroup(group.body, newOptions, options);\n },\n\n mathmlBuilder(group, options) {\n // Figure out what style we're changing to.\n const newStyle = styling_styleMap[group.style];\n const newOptions = options.havingStyle(newStyle);\n const inner = buildMathML_buildExpression(group.body, newOptions);\n const node = new mathMLTree.MathNode(\"mstyle\", inner);\n const styleAttributes = {\n \"display\": [\"0\", \"true\"],\n \"text\": [\"0\", \"false\"],\n \"script\": [\"1\", \"false\"],\n \"scriptscript\": [\"2\", \"false\"]\n };\n const attr = styleAttributes[group.style];\n node.setAttribute(\"scriptlevel\", attr[0]);\n node.setAttribute(\"displaystyle\", attr[1]);\n return node;\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/supsub.js\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/**\n * Sometimes, groups perform special rules when they have superscripts or\n * subscripts attached to them. This function lets the `supsub` group know that\n * Sometimes, groups perform special rules when they have superscripts or\n * its inner element should handle the superscripts and subscripts instead of\n * handling them itself.\n */\nconst htmlBuilderDelegate = function (group, options) {\n const base = group.base;\n\n if (!base) {\n return null;\n } else if (base.type === \"op\") {\n // Operators handle supsubs differently when they have limits\n // (e.g. `\\displaystyle\\sum_2^3`)\n const delegate = base.limits && (options.style.size === src_Style.DISPLAY.size || base.alwaysHandleSupSub);\n return delegate ? op_htmlBuilder : null;\n } else if (base.type === \"operatorname\") {\n const delegate = base.alwaysHandleSupSub && (options.style.size === src_Style.DISPLAY.size || base.limits);\n return delegate ? operatorname_htmlBuilder : null;\n } else if (base.type === \"accent\") {\n return utils.isCharacterBox(base.base) ? htmlBuilder : null;\n } else if (base.type === \"horizBrace\") {\n const isSup = !group.sub;\n return isSup === base.isOver ? horizBrace_htmlBuilder : null;\n } else {\n return null;\n }\n}; // Super scripts and subscripts, whose precise placement can depend on other\n// functions that precede them.\n\n\ndefineFunctionBuilders({\n type: \"supsub\",\n\n htmlBuilder(group, options) {\n // Superscript and subscripts are handled in the TeXbook on page\n // 445-446, rules 18(a-f).\n // Here is where we defer to the inner group if it should handle\n // superscripts and subscripts itself.\n const builderDelegate = htmlBuilderDelegate(group, options);\n\n if (builderDelegate) {\n return builderDelegate(group, options);\n }\n\n const {\n base: valueBase,\n sup: valueSup,\n sub: valueSub\n } = group;\n const base = buildGroup(valueBase, options);\n let supm;\n let subm;\n const metrics = options.fontMetrics(); // Rule 18a\n\n let supShift = 0;\n let subShift = 0;\n const isCharacterBox = valueBase && utils.isCharacterBox(valueBase);\n\n if (valueSup) {\n const newOptions = options.havingStyle(options.style.sup());\n supm = buildGroup(valueSup, newOptions, options);\n\n if (!isCharacterBox) {\n supShift = base.height - newOptions.fontMetrics().supDrop * newOptions.sizeMultiplier / options.sizeMultiplier;\n }\n }\n\n if (valueSub) {\n const newOptions = options.havingStyle(options.style.sub());\n subm = buildGroup(valueSub, newOptions, options);\n\n if (!isCharacterBox) {\n subShift = base.depth + newOptions.fontMetrics().subDrop * newOptions.sizeMultiplier / options.sizeMultiplier;\n }\n } // Rule 18c\n\n\n let minSupShift;\n\n if (options.style === src_Style.DISPLAY) {\n minSupShift = metrics.sup1;\n } else if (options.style.cramped) {\n minSupShift = metrics.sup3;\n } else {\n minSupShift = metrics.sup2;\n } // scriptspace is a font-size-independent size, so scale it\n // appropriately for use as the marginRight.\n\n\n const multiplier = options.sizeMultiplier;\n const marginRight = makeEm(0.5 / metrics.ptPerEm / multiplier);\n let marginLeft = null;\n\n if (subm) {\n // Subscripts shouldn't be shifted by the base's italic correction.\n // Account for that by shifting the subscript back the appropriate\n // amount. Note we only do this when the base is a single symbol.\n const isOiint = group.base && group.base.type === \"op\" && group.base.name && (group.base.name === \"\\\\oiint\" || group.base.name === \"\\\\oiiint\");\n\n if (base instanceof SymbolNode || isOiint) {\n // $FlowFixMe\n marginLeft = makeEm(-base.italic);\n }\n }\n\n let supsub;\n\n if (supm && subm) {\n supShift = Math.max(supShift, minSupShift, supm.depth + 0.25 * metrics.xHeight);\n subShift = Math.max(subShift, metrics.sub2);\n const ruleWidth = metrics.defaultRuleThickness; // Rule 18e\n\n const maxWidth = 4 * ruleWidth;\n\n if (supShift - supm.depth - (subm.height - subShift) < maxWidth) {\n subShift = maxWidth - (supShift - supm.depth) + subm.height;\n const psi = 0.8 * metrics.xHeight - (supShift - supm.depth);\n\n if (psi > 0) {\n supShift += psi;\n subShift -= psi;\n }\n }\n\n const vlistElem = [{\n type: \"elem\",\n elem: subm,\n shift: subShift,\n marginRight,\n marginLeft\n }, {\n type: \"elem\",\n elem: supm,\n shift: -supShift,\n marginRight\n }];\n supsub = buildCommon.makeVList({\n positionType: \"individualShift\",\n children: vlistElem\n }, options);\n } else if (subm) {\n // Rule 18b\n subShift = Math.max(subShift, metrics.sub1, subm.height - 0.8 * metrics.xHeight);\n const vlistElem = [{\n type: \"elem\",\n elem: subm,\n marginLeft,\n marginRight\n }];\n supsub = buildCommon.makeVList({\n positionType: \"shift\",\n positionData: subShift,\n children: vlistElem\n }, options);\n } else if (supm) {\n // Rule 18c, d\n supShift = Math.max(supShift, minSupShift, supm.depth + 0.25 * metrics.xHeight);\n supsub = buildCommon.makeVList({\n positionType: \"shift\",\n positionData: -supShift,\n children: [{\n type: \"elem\",\n elem: supm,\n marginRight\n }]\n }, options);\n } else {\n throw new Error(\"supsub must have either sup or sub.\");\n } // Wrap the supsub vlist in a span.msupsub to reset text-align.\n\n\n const mclass = getTypeOfDomTree(base, \"right\") || \"mord\";\n return buildCommon.makeSpan([mclass], [base, buildCommon.makeSpan([\"msupsub\"], [supsub])], options);\n },\n\n mathmlBuilder(group, options) {\n // Is the inner group a relevant horizonal brace?\n let isBrace = false;\n let isOver;\n let isSup;\n\n if (group.base && group.base.type === \"horizBrace\") {\n isSup = !!group.sup;\n\n if (isSup === group.base.isOver) {\n isBrace = true;\n isOver = group.base.isOver;\n }\n }\n\n if (group.base && (group.base.type === \"op\" || group.base.type === \"operatorname\")) {\n group.base.parentIsSupSub = true;\n }\n\n const children = [buildMathML_buildGroup(group.base, options)];\n\n if (group.sub) {\n children.push(buildMathML_buildGroup(group.sub, options));\n }\n\n if (group.sup) {\n children.push(buildMathML_buildGroup(group.sup, options));\n }\n\n let nodeType;\n\n if (isBrace) {\n nodeType = isOver ? \"mover\" : \"munder\";\n } else if (!group.sub) {\n const base = group.base;\n\n if (base && base.type === \"op\" && base.limits && (options.style === src_Style.DISPLAY || base.alwaysHandleSupSub)) {\n nodeType = \"mover\";\n } else if (base && base.type === \"operatorname\" && base.alwaysHandleSupSub && (base.limits || options.style === src_Style.DISPLAY)) {\n nodeType = \"mover\";\n } else {\n nodeType = \"msup\";\n }\n } else if (!group.sup) {\n const base = group.base;\n\n if (base && base.type === \"op\" && base.limits && (options.style === src_Style.DISPLAY || base.alwaysHandleSupSub)) {\n nodeType = \"munder\";\n } else if (base && base.type === \"operatorname\" && base.alwaysHandleSupSub && (base.limits || options.style === src_Style.DISPLAY)) {\n nodeType = \"munder\";\n } else {\n nodeType = \"msub\";\n }\n } else {\n const base = group.base;\n\n if (base && base.type === \"op\" && base.limits && options.style === src_Style.DISPLAY) {\n nodeType = \"munderover\";\n } else if (base && base.type === \"operatorname\" && base.alwaysHandleSupSub && (options.style === src_Style.DISPLAY || base.limits)) {\n nodeType = \"munderover\";\n } else {\n nodeType = \"msubsup\";\n }\n }\n\n return new mathMLTree.MathNode(nodeType, children);\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/symbolsOp.js\n\n\n\n // Operator ParseNodes created in Parser.js from symbol Groups in src/symbols.js.\n\ndefineFunctionBuilders({\n type: \"atom\",\n\n htmlBuilder(group, options) {\n return buildCommon.mathsym(group.text, group.mode, options, [\"m\" + group.family]);\n },\n\n mathmlBuilder(group, options) {\n const node = new mathMLTree.MathNode(\"mo\", [makeText(group.text, group.mode)]);\n\n if (group.family === \"bin\") {\n const variant = getVariant(group, options);\n\n if (variant === \"bold-italic\") {\n node.setAttribute(\"mathvariant\", variant);\n }\n } else if (group.family === \"punct\") {\n node.setAttribute(\"separator\", \"true\");\n } else if (group.family === \"open\" || group.family === \"close\") {\n // Delims built here should not stretch vertically.\n // See delimsizing.js for stretchy delims.\n node.setAttribute(\"stretchy\", \"false\");\n }\n\n return node;\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/symbolsOrd.js\n\n\n\n\n// \"mathord\" and \"textord\" ParseNodes created in Parser.js from symbol Groups in\n// src/symbols.js.\nconst defaultVariant = {\n \"mi\": \"italic\",\n \"mn\": \"normal\",\n \"mtext\": \"normal\"\n};\ndefineFunctionBuilders({\n type: \"mathord\",\n\n htmlBuilder(group, options) {\n return buildCommon.makeOrd(group, options, \"mathord\");\n },\n\n mathmlBuilder(group, options) {\n const node = new mathMLTree.MathNode(\"mi\", [makeText(group.text, group.mode, options)]);\n const variant = getVariant(group, options) || \"italic\";\n\n if (variant !== defaultVariant[node.type]) {\n node.setAttribute(\"mathvariant\", variant);\n }\n\n return node;\n }\n\n});\ndefineFunctionBuilders({\n type: \"textord\",\n\n htmlBuilder(group, options) {\n return buildCommon.makeOrd(group, options, \"textord\");\n },\n\n mathmlBuilder(group, options) {\n const text = makeText(group.text, group.mode, options);\n const variant = getVariant(group, options) || \"normal\";\n let node;\n\n if (group.mode === 'text') {\n node = new mathMLTree.MathNode(\"mtext\", [text]);\n } else if (/[0-9]/.test(group.text)) {\n node = new mathMLTree.MathNode(\"mn\", [text]);\n } else if (group.text === \"\\\\prime\") {\n node = new mathMLTree.MathNode(\"mo\", [text]);\n } else {\n node = new mathMLTree.MathNode(\"mi\", [text]);\n }\n\n if (variant !== defaultVariant[node.type]) {\n node.setAttribute(\"mathvariant\", variant);\n }\n\n return node;\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/symbolsSpacing.js\n\n\n\n // A map of CSS-based spacing functions to their CSS class.\n\nconst cssSpace = {\n \"\\\\nobreak\": \"nobreak\",\n \"\\\\allowbreak\": \"allowbreak\"\n}; // A lookup table to determine whether a spacing function/symbol should be\n// treated like a regular space character. If a symbol or command is a key\n// in this table, then it should be a regular space character. Furthermore,\n// the associated value may have a `className` specifying an extra CSS class\n// to add to the created `span`.\n\nconst regularSpace = {\n \" \": {},\n \"\\\\ \": {},\n \"~\": {\n className: \"nobreak\"\n },\n \"\\\\space\": {},\n \"\\\\nobreakspace\": {\n className: \"nobreak\"\n }\n}; // ParseNode<\"spacing\"> created in Parser.js from the \"spacing\" symbol Groups in\n// src/symbols.js.\n\ndefineFunctionBuilders({\n type: \"spacing\",\n\n htmlBuilder(group, options) {\n if (regularSpace.hasOwnProperty(group.text)) {\n const className = regularSpace[group.text].className || \"\"; // Spaces are generated by adding an actual space. Each of these\n // things has an entry in the symbols table, so these will be turned\n // into appropriate outputs.\n\n if (group.mode === \"text\") {\n const ord = buildCommon.makeOrd(group, options, \"textord\");\n ord.classes.push(className);\n return ord;\n } else {\n return buildCommon.makeSpan([\"mspace\", className], [buildCommon.mathsym(group.text, group.mode, options)], options);\n }\n } else if (cssSpace.hasOwnProperty(group.text)) {\n // Spaces based on just a CSS class.\n return buildCommon.makeSpan([\"mspace\", cssSpace[group.text]], [], options);\n } else {\n throw new src_ParseError(\"Unknown type of space \\\"\" + group.text + \"\\\"\");\n }\n },\n\n mathmlBuilder(group, options) {\n let node;\n\n if (regularSpace.hasOwnProperty(group.text)) {\n node = new mathMLTree.MathNode(\"mtext\", [new mathMLTree.TextNode(\"\\u00a0\")]);\n } else if (cssSpace.hasOwnProperty(group.text)) {\n // CSS-based MathML spaces (\\nobreak, \\allowbreak) are ignored\n return new mathMLTree.MathNode(\"mspace\");\n } else {\n throw new src_ParseError(\"Unknown type of space \\\"\" + group.text + \"\\\"\");\n }\n\n return node;\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/tag.js\n\n\n\n\nconst pad = () => {\n const padNode = new mathMLTree.MathNode(\"mtd\", []);\n padNode.setAttribute(\"width\", \"50%\");\n return padNode;\n};\n\ndefineFunctionBuilders({\n type: \"tag\",\n\n mathmlBuilder(group, options) {\n const table = new mathMLTree.MathNode(\"mtable\", [new mathMLTree.MathNode(\"mtr\", [pad(), new mathMLTree.MathNode(\"mtd\", [buildExpressionRow(group.body, options)]), pad(), new mathMLTree.MathNode(\"mtd\", [buildExpressionRow(group.tag, options)])])]);\n table.setAttribute(\"width\", \"100%\");\n return table; // TODO: Left-aligned tags.\n // Currently, the group and options passed here do not contain\n // enough info to set tag alignment. `leqno` is in Settings but it is\n // not passed to Options. On the HTML side, leqno is\n // set by a CSS class applied in buildTree.js. That would have worked\n // in MathML if browsers supported . Since they don't, we\n // need to rewrite the way this function is called.\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/text.js\n\n\n\n // Non-mathy text, possibly in a font\n\nconst textFontFamilies = {\n \"\\\\text\": undefined,\n \"\\\\textrm\": \"textrm\",\n \"\\\\textsf\": \"textsf\",\n \"\\\\texttt\": \"texttt\",\n \"\\\\textnormal\": \"textrm\"\n};\nconst textFontWeights = {\n \"\\\\textbf\": \"textbf\",\n \"\\\\textmd\": \"textmd\"\n};\nconst textFontShapes = {\n \"\\\\textit\": \"textit\",\n \"\\\\textup\": \"textup\"\n};\n\nconst optionsWithFont = (group, options) => {\n const font = group.font; // Checks if the argument is a font family or a font style.\n\n if (!font) {\n return options;\n } else if (textFontFamilies[font]) {\n return options.withTextFontFamily(textFontFamilies[font]);\n } else if (textFontWeights[font]) {\n return options.withTextFontWeight(textFontWeights[font]);\n } else if (font === \"\\\\emph\") {\n return options.fontShape === \"textit\" ? options.withTextFontShape(\"textup\") : options.withTextFontShape(\"textit\");\n }\n\n return options.withTextFontShape(textFontShapes[font]);\n};\n\ndefineFunction({\n type: \"text\",\n names: [// Font families\n \"\\\\text\", \"\\\\textrm\", \"\\\\textsf\", \"\\\\texttt\", \"\\\\textnormal\", // Font weights\n \"\\\\textbf\", \"\\\\textmd\", // Font Shapes\n \"\\\\textit\", \"\\\\textup\", \"\\\\emph\"],\n props: {\n numArgs: 1,\n argTypes: [\"text\"],\n allowedInArgument: true,\n allowedInText: true\n },\n\n handler(_ref, args) {\n let {\n parser,\n funcName\n } = _ref;\n const body = args[0];\n return {\n type: \"text\",\n mode: parser.mode,\n body: ordargument(body),\n font: funcName\n };\n },\n\n htmlBuilder(group, options) {\n const newOptions = optionsWithFont(group, options);\n const inner = buildExpression(group.body, newOptions, true);\n return buildCommon.makeSpan([\"mord\", \"text\"], inner, newOptions);\n },\n\n mathmlBuilder(group, options) {\n const newOptions = optionsWithFont(group, options);\n return buildExpressionRow(group.body, newOptions);\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/underline.js\n\n\n\n\n\ndefineFunction({\n type: \"underline\",\n names: [\"\\\\underline\"],\n props: {\n numArgs: 1,\n allowedInText: true\n },\n\n handler(_ref, args) {\n let {\n parser\n } = _ref;\n return {\n type: \"underline\",\n mode: parser.mode,\n body: args[0]\n };\n },\n\n htmlBuilder(group, options) {\n // Underlines are handled in the TeXbook pg 443, Rule 10.\n // Build the inner group.\n const innerGroup = buildGroup(group.body, options); // Create the line to go below the body\n\n const line = buildCommon.makeLineSpan(\"underline-line\", options); // Generate the vlist, with the appropriate kerns\n\n const defaultRuleThickness = options.fontMetrics().defaultRuleThickness;\n const vlist = buildCommon.makeVList({\n positionType: \"top\",\n positionData: innerGroup.height,\n children: [{\n type: \"kern\",\n size: defaultRuleThickness\n }, {\n type: \"elem\",\n elem: line\n }, {\n type: \"kern\",\n size: 3 * defaultRuleThickness\n }, {\n type: \"elem\",\n elem: innerGroup\n }]\n }, options);\n return buildCommon.makeSpan([\"mord\", \"underline\"], [vlist], options);\n },\n\n mathmlBuilder(group, options) {\n const operator = new mathMLTree.MathNode(\"mo\", [new mathMLTree.TextNode(\"\\u203e\")]);\n operator.setAttribute(\"stretchy\", \"true\");\n const node = new mathMLTree.MathNode(\"munder\", [buildMathML_buildGroup(group.body, options), operator]);\n node.setAttribute(\"accentunder\", \"true\");\n return node;\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/vcenter.js\n\n\n\n\n // \\vcenter: Vertically center the argument group on the math axis.\n\ndefineFunction({\n type: \"vcenter\",\n names: [\"\\\\vcenter\"],\n props: {\n numArgs: 1,\n argTypes: [\"original\"],\n // In LaTeX, \\vcenter can act only on a box.\n allowedInText: false\n },\n\n handler(_ref, args) {\n let {\n parser\n } = _ref;\n return {\n type: \"vcenter\",\n mode: parser.mode,\n body: args[0]\n };\n },\n\n htmlBuilder(group, options) {\n const body = buildGroup(group.body, options);\n const axisHeight = options.fontMetrics().axisHeight;\n const dy = 0.5 * (body.height - axisHeight - (body.depth + axisHeight));\n return buildCommon.makeVList({\n positionType: \"shift\",\n positionData: dy,\n children: [{\n type: \"elem\",\n elem: body\n }]\n }, options);\n },\n\n mathmlBuilder(group, options) {\n // There is no way to do this in MathML.\n // Write a class as a breadcrumb in case some post-processor wants\n // to perform a vcenter adjustment.\n return new mathMLTree.MathNode(\"mpadded\", [buildMathML_buildGroup(group.body, options)], [\"vcenter\"]);\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/verb.js\n\n\n\n\ndefineFunction({\n type: \"verb\",\n names: [\"\\\\verb\"],\n props: {\n numArgs: 0,\n allowedInText: true\n },\n\n handler(context, args, optArgs) {\n // \\verb and \\verb* are dealt with directly in Parser.js.\n // If we end up here, it's because of a failure to match the two delimiters\n // in the regex in Lexer.js. LaTeX raises the following error when \\verb is\n // terminated by end of line (or file).\n throw new src_ParseError(\"\\\\verb ended by end of line instead of matching delimiter\");\n },\n\n htmlBuilder(group, options) {\n const text = makeVerb(group);\n const body = []; // \\verb enters text mode and therefore is sized like \\textstyle\n\n const newOptions = options.havingStyle(options.style.text());\n\n for (let i = 0; i < text.length; i++) {\n let c = text[i];\n\n if (c === '~') {\n c = '\\\\textasciitilde';\n }\n\n body.push(buildCommon.makeSymbol(c, \"Typewriter-Regular\", group.mode, newOptions, [\"mord\", \"texttt\"]));\n }\n\n return buildCommon.makeSpan([\"mord\", \"text\"].concat(newOptions.sizingClasses(options)), buildCommon.tryCombineChars(body), newOptions);\n },\n\n mathmlBuilder(group, options) {\n const text = new mathMLTree.TextNode(makeVerb(group));\n const node = new mathMLTree.MathNode(\"mtext\", [text]);\n node.setAttribute(\"mathvariant\", \"monospace\");\n return node;\n }\n\n});\n/**\n * Converts verb group into body string.\n *\n * \\verb* replaces each space with an open box \\u2423\n * \\verb replaces each space with a no-break space \\xA0\n */\n\nconst makeVerb = group => group.body.replace(/ /g, group.star ? '\\u2423' : '\\xA0');\n;// CONCATENATED MODULE: ./src/functions.js\n/** Include this to ensure that all functions are defined. */\n\nconst functions = _functions;\n/* harmony default export */ var src_functions = (functions); // TODO(kevinb): have functions return an object and call defineFunction with\n// that object in this file instead of relying on side-effects.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n;// CONCATENATED MODULE: ./src/Lexer.js\n/**\n * The Lexer class handles tokenizing the input in various ways. Since our\n * parser expects us to be able to backtrack, the lexer allows lexing from any\n * given starting point.\n *\n * Its main exposed function is the `lex` function, which takes a position to\n * lex from and a type of token to lex. It defers to the appropriate `_innerLex`\n * function.\n *\n * The various `_innerLex` functions perform the actual lexing of different\n * kinds.\n */\n\n\n\n\n/* The following tokenRegex\n * - matches typical whitespace (but not NBSP etc.) using its first group\n * - does not match any control character \\x00-\\x1f except whitespace\n * - does not match a bare backslash\n * - matches any ASCII character except those just mentioned\n * - does not match the BMP private use area \\uE000-\\uF8FF\n * - does not match bare surrogate code units\n * - matches any BMP character except for those just described\n * - matches any valid Unicode surrogate pair\n * - matches a backslash followed by one or more whitespace characters\n * - matches a backslash followed by one or more letters then whitespace\n * - matches a backslash followed by any BMP character\n * Capturing groups:\n * [1] regular whitespace\n * [2] backslash followed by whitespace\n * [3] anything else, which may include:\n * [4] left character of \\verb*\n * [5] left character of \\verb\n * [6] backslash followed by word, excluding any trailing whitespace\n * Just because the Lexer matches something doesn't mean it's valid input:\n * If there is no matching function or symbol definition, the Parser will\n * still reject the input.\n */\nconst spaceRegexString = \"[ \\r\\n\\t]\";\nconst controlWordRegexString = \"\\\\\\\\[a-zA-Z@]+\";\nconst controlSymbolRegexString = \"\\\\\\\\[^\\uD800-\\uDFFF]\";\nconst controlWordWhitespaceRegexString = \"(\" + controlWordRegexString + \")\" + spaceRegexString + \"*\";\nconst controlSpaceRegexString = \"\\\\\\\\(\\n|[ \\r\\t]+\\n?)[ \\r\\t]*\";\nconst combiningDiacriticalMarkString = \"[\\u0300-\\u036f]\";\nconst combiningDiacriticalMarksEndRegex = new RegExp(combiningDiacriticalMarkString + \"+$\");\nconst tokenRegexString = \"(\" + spaceRegexString + \"+)|\" + ( // whitespace\ncontrolSpaceRegexString + \"|\") + // \\whitespace\n\"([!-\\\\[\\\\]-\\u2027\\u202A-\\uD7FF\\uF900-\\uFFFF]\" + ( // single codepoint\ncombiningDiacriticalMarkString + \"*\") + // ...plus accents\n\"|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]\" + ( // surrogate pair\ncombiningDiacriticalMarkString + \"*\") + // ...plus accents\n\"|\\\\\\\\verb\\\\*([^]).*?\\\\4\" + // \\verb*\n\"|\\\\\\\\verb([^*a-zA-Z]).*?\\\\5\" + ( // \\verb unstarred\n\"|\" + controlWordWhitespaceRegexString) + ( // \\macroName + spaces\n\"|\" + controlSymbolRegexString + \")\"); // \\\\, \\', etc.\n\n/** Main Lexer class */\n\nclass Lexer {\n // Category codes. The lexer only supports comment characters (14) for now.\n // MacroExpander additionally distinguishes active (13).\n constructor(input, settings) {\n this.input = void 0;\n this.settings = void 0;\n this.tokenRegex = void 0;\n this.catcodes = void 0;\n // Separate accents from characters\n this.input = input;\n this.settings = settings;\n this.tokenRegex = new RegExp(tokenRegexString, 'g');\n this.catcodes = {\n \"%\": 14,\n // comment character\n \"~\": 13 // active character\n\n };\n }\n\n setCatcode(char, code) {\n this.catcodes[char] = code;\n }\n /**\n * This function lexes a single token.\n */\n\n\n lex() {\n const input = this.input;\n const pos = this.tokenRegex.lastIndex;\n\n if (pos === input.length) {\n return new Token(\"EOF\", new SourceLocation(this, pos, pos));\n }\n\n const match = this.tokenRegex.exec(input);\n\n if (match === null || match.index !== pos) {\n throw new src_ParseError(\"Unexpected character: '\" + input[pos] + \"'\", new Token(input[pos], new SourceLocation(this, pos, pos + 1)));\n }\n\n const text = match[6] || match[3] || (match[2] ? \"\\\\ \" : \" \");\n\n if (this.catcodes[text] === 14) {\n // comment character\n const nlIndex = input.indexOf('\\n', this.tokenRegex.lastIndex);\n\n if (nlIndex === -1) {\n this.tokenRegex.lastIndex = input.length; // EOF\n\n this.settings.reportNonstrict(\"commentAtEnd\", \"% comment has no terminating newline; LaTeX would \" + \"fail because of commenting the end of math mode (e.g. $)\");\n } else {\n this.tokenRegex.lastIndex = nlIndex + 1;\n }\n\n return this.lex();\n }\n\n return new Token(text, new SourceLocation(this, pos, this.tokenRegex.lastIndex));\n }\n\n}\n;// CONCATENATED MODULE: ./src/Namespace.js\n/**\n * A `Namespace` refers to a space of nameable things like macros or lengths,\n * which can be `set` either globally or local to a nested group, using an\n * undo stack similar to how TeX implements this functionality.\n * Performance-wise, `get` and local `set` take constant time, while global\n * `set` takes time proportional to the depth of group nesting.\n */\n\nclass Namespace {\n /**\n * Both arguments are optional. The first argument is an object of\n * built-in mappings which never change. The second argument is an object\n * of initial (global-level) mappings, which will constantly change\n * according to any global/top-level `set`s done.\n */\n constructor(builtins, globalMacros) {\n if (builtins === void 0) {\n builtins = {};\n }\n\n if (globalMacros === void 0) {\n globalMacros = {};\n }\n\n this.current = void 0;\n this.builtins = void 0;\n this.undefStack = void 0;\n this.current = globalMacros;\n this.builtins = builtins;\n this.undefStack = [];\n }\n /**\n * Start a new nested group, affecting future local `set`s.\n */\n\n\n beginGroup() {\n this.undefStack.push({});\n }\n /**\n * End current nested group, restoring values before the group began.\n */\n\n\n endGroup() {\n if (this.undefStack.length === 0) {\n throw new src_ParseError(\"Unbalanced namespace destruction: attempt \" + \"to pop global namespace; please report this as a bug\");\n }\n\n const undefs = this.undefStack.pop();\n\n for (const undef in undefs) {\n if (undefs.hasOwnProperty(undef)) {\n if (undefs[undef] == null) {\n delete this.current[undef];\n } else {\n this.current[undef] = undefs[undef];\n }\n }\n }\n }\n /**\n * Ends all currently nested groups (if any), restoring values before the\n * groups began. Useful in case of an error in the middle of parsing.\n */\n\n\n endGroups() {\n while (this.undefStack.length > 0) {\n this.endGroup();\n }\n }\n /**\n * Detect whether `name` has a definition. Equivalent to\n * `get(name) != null`.\n */\n\n\n has(name) {\n return this.current.hasOwnProperty(name) || this.builtins.hasOwnProperty(name);\n }\n /**\n * Get the current value of a name, or `undefined` if there is no value.\n *\n * Note: Do not use `if (namespace.get(...))` to detect whether a macro\n * is defined, as the definition may be the empty string which evaluates\n * to `false` in JavaScript. Use `if (namespace.get(...) != null)` or\n * `if (namespace.has(...))`.\n */\n\n\n get(name) {\n if (this.current.hasOwnProperty(name)) {\n return this.current[name];\n } else {\n return this.builtins[name];\n }\n }\n /**\n * Set the current value of a name, and optionally set it globally too.\n * Local set() sets the current value and (when appropriate) adds an undo\n * operation to the undo stack. Global set() may change the undo\n * operation at every level, so takes time linear in their number.\n * A value of undefined means to delete existing definitions.\n */\n\n\n set(name, value, global) {\n if (global === void 0) {\n global = false;\n }\n\n if (global) {\n // Global set is equivalent to setting in all groups. Simulate this\n // by destroying any undos currently scheduled for this name,\n // and adding an undo with the *new* value (in case it later gets\n // locally reset within this environment).\n for (let i = 0; i < this.undefStack.length; i++) {\n delete this.undefStack[i][name];\n }\n\n if (this.undefStack.length > 0) {\n this.undefStack[this.undefStack.length - 1][name] = value;\n }\n } else {\n // Undo this set at end of this group (possibly to `undefined`),\n // unless an undo is already in place, in which case that older\n // value is the correct one.\n const top = this.undefStack[this.undefStack.length - 1];\n\n if (top && !top.hasOwnProperty(name)) {\n top[name] = this.current[name];\n }\n }\n\n if (value == null) {\n delete this.current[name];\n } else {\n this.current[name] = value;\n }\n }\n\n}\n;// CONCATENATED MODULE: ./src/macros.js\n/**\n * Predefined macros for KaTeX.\n * This can be used to define some commands in terms of others.\n */\n// Export global macros object from defineMacro\n\nconst macros = _macros;\n/* harmony default export */ var src_macros = (macros);\n\n\n\n\n\n //////////////////////////////////////////////////////////////////////\n// macro tools\n\ndefineMacro(\"\\\\noexpand\", function (context) {\n // The expansion is the token itself; but that token is interpreted\n // as if its meaning were ‘\\relax’ if it is a control sequence that\n // would ordinarily be expanded by TeX’s expansion rules.\n const t = context.popToken();\n\n if (context.isExpandable(t.text)) {\n t.noexpand = true;\n t.treatAsRelax = true;\n }\n\n return {\n tokens: [t],\n numArgs: 0\n };\n});\ndefineMacro(\"\\\\expandafter\", function (context) {\n // TeX first reads the token that comes immediately after \\expandafter,\n // without expanding it; let’s call this token t. Then TeX reads the\n // token that comes after t (and possibly more tokens, if that token\n // has an argument), replacing it by its expansion. Finally TeX puts\n // t back in front of that expansion.\n const t = context.popToken();\n context.expandOnce(true); // expand only an expandable token\n\n return {\n tokens: [t],\n numArgs: 0\n };\n}); // LaTeX's \\@firstoftwo{#1}{#2} expands to #1, skipping #2\n// TeX source: \\long\\def\\@firstoftwo#1#2{#1}\n\ndefineMacro(\"\\\\@firstoftwo\", function (context) {\n const args = context.consumeArgs(2);\n return {\n tokens: args[0],\n numArgs: 0\n };\n}); // LaTeX's \\@secondoftwo{#1}{#2} expands to #2, skipping #1\n// TeX source: \\long\\def\\@secondoftwo#1#2{#2}\n\ndefineMacro(\"\\\\@secondoftwo\", function (context) {\n const args = context.consumeArgs(2);\n return {\n tokens: args[1],\n numArgs: 0\n };\n}); // LaTeX's \\@ifnextchar{#1}{#2}{#3} looks ahead to the next (unexpanded)\n// symbol that isn't a space, consuming any spaces but not consuming the\n// first nonspace character. If that nonspace character matches #1, then\n// the macro expands to #2; otherwise, it expands to #3.\n\ndefineMacro(\"\\\\@ifnextchar\", function (context) {\n const args = context.consumeArgs(3); // symbol, if, else\n\n context.consumeSpaces();\n const nextToken = context.future();\n\n if (args[0].length === 1 && args[0][0].text === nextToken.text) {\n return {\n tokens: args[1],\n numArgs: 0\n };\n } else {\n return {\n tokens: args[2],\n numArgs: 0\n };\n }\n}); // LaTeX's \\@ifstar{#1}{#2} looks ahead to the next (unexpanded) symbol.\n// If it is `*`, then it consumes the symbol, and the macro expands to #1;\n// otherwise, the macro expands to #2 (without consuming the symbol).\n// TeX source: \\def\\@ifstar#1{\\@ifnextchar *{\\@firstoftwo{#1}}}\n\ndefineMacro(\"\\\\@ifstar\", \"\\\\@ifnextchar *{\\\\@firstoftwo{#1}}\"); // LaTeX's \\TextOrMath{#1}{#2} expands to #1 in text mode, #2 in math mode\n\ndefineMacro(\"\\\\TextOrMath\", function (context) {\n const args = context.consumeArgs(2);\n\n if (context.mode === 'text') {\n return {\n tokens: args[0],\n numArgs: 0\n };\n } else {\n return {\n tokens: args[1],\n numArgs: 0\n };\n }\n}); // Lookup table for parsing numbers in base 8 through 16\n\nconst digitToNumber = {\n \"0\": 0,\n \"1\": 1,\n \"2\": 2,\n \"3\": 3,\n \"4\": 4,\n \"5\": 5,\n \"6\": 6,\n \"7\": 7,\n \"8\": 8,\n \"9\": 9,\n \"a\": 10,\n \"A\": 10,\n \"b\": 11,\n \"B\": 11,\n \"c\": 12,\n \"C\": 12,\n \"d\": 13,\n \"D\": 13,\n \"e\": 14,\n \"E\": 14,\n \"f\": 15,\n \"F\": 15\n}; // TeX \\char makes a literal character (catcode 12) using the following forms:\n// (see The TeXBook, p. 43)\n// \\char123 -- decimal\n// \\char'123 -- octal\n// \\char\"123 -- hex\n// \\char`x -- character that can be written (i.e. isn't active)\n// \\char`\\x -- character that cannot be written (e.g. %)\n// These all refer to characters from the font, so we turn them into special\n// calls to a function \\@char dealt with in the Parser.\n\ndefineMacro(\"\\\\char\", function (context) {\n let token = context.popToken();\n let base;\n let number = '';\n\n if (token.text === \"'\") {\n base = 8;\n token = context.popToken();\n } else if (token.text === '\"') {\n base = 16;\n token = context.popToken();\n } else if (token.text === \"`\") {\n token = context.popToken();\n\n if (token.text[0] === \"\\\\\") {\n number = token.text.charCodeAt(1);\n } else if (token.text === \"EOF\") {\n throw new src_ParseError(\"\\\\char` missing argument\");\n } else {\n number = token.text.charCodeAt(0);\n }\n } else {\n base = 10;\n }\n\n if (base) {\n // Parse a number in the given base, starting with first `token`.\n number = digitToNumber[token.text];\n\n if (number == null || number >= base) {\n throw new src_ParseError(\"Invalid base-\" + base + \" digit \" + token.text);\n }\n\n let digit;\n\n while ((digit = digitToNumber[context.future().text]) != null && digit < base) {\n number *= base;\n number += digit;\n context.popToken();\n }\n }\n\n return \"\\\\@char{\" + number + \"}\";\n}); // \\newcommand{\\macro}[args]{definition}\n// \\renewcommand{\\macro}[args]{definition}\n// TODO: Optional arguments: \\newcommand{\\macro}[args][default]{definition}\n\nconst newcommand = (context, existsOK, nonexistsOK) => {\n let arg = context.consumeArg().tokens;\n\n if (arg.length !== 1) {\n throw new src_ParseError(\"\\\\newcommand's first argument must be a macro name\");\n }\n\n const name = arg[0].text;\n const exists = context.isDefined(name);\n\n if (exists && !existsOK) {\n throw new src_ParseError(\"\\\\newcommand{\" + name + \"} attempting to redefine \" + (name + \"; use \\\\renewcommand\"));\n }\n\n if (!exists && !nonexistsOK) {\n throw new src_ParseError(\"\\\\renewcommand{\" + name + \"} when command \" + name + \" \" + \"does not yet exist; use \\\\newcommand\");\n }\n\n let numArgs = 0;\n arg = context.consumeArg().tokens;\n\n if (arg.length === 1 && arg[0].text === \"[\") {\n let argText = '';\n let token = context.expandNextToken();\n\n while (token.text !== \"]\" && token.text !== \"EOF\") {\n // TODO: Should properly expand arg, e.g., ignore {}s\n argText += token.text;\n token = context.expandNextToken();\n }\n\n if (!argText.match(/^\\s*[0-9]+\\s*$/)) {\n throw new src_ParseError(\"Invalid number of arguments: \" + argText);\n }\n\n numArgs = parseInt(argText);\n arg = context.consumeArg().tokens;\n } // Final arg is the expansion of the macro\n\n\n context.macros.set(name, {\n tokens: arg,\n numArgs\n });\n return '';\n};\n\ndefineMacro(\"\\\\newcommand\", context => newcommand(context, false, true));\ndefineMacro(\"\\\\renewcommand\", context => newcommand(context, true, false));\ndefineMacro(\"\\\\providecommand\", context => newcommand(context, true, true)); // terminal (console) tools\n\ndefineMacro(\"\\\\message\", context => {\n const arg = context.consumeArgs(1)[0]; // eslint-disable-next-line no-console\n\n console.log(arg.reverse().map(token => token.text).join(\"\"));\n return '';\n});\ndefineMacro(\"\\\\errmessage\", context => {\n const arg = context.consumeArgs(1)[0]; // eslint-disable-next-line no-console\n\n console.error(arg.reverse().map(token => token.text).join(\"\"));\n return '';\n});\ndefineMacro(\"\\\\show\", context => {\n const tok = context.popToken();\n const name = tok.text; // eslint-disable-next-line no-console\n\n console.log(tok, context.macros.get(name), src_functions[name], src_symbols.math[name], src_symbols.text[name]);\n return '';\n}); //////////////////////////////////////////////////////////////////////\n// Grouping\n// \\let\\bgroup={ \\let\\egroup=}\n\ndefineMacro(\"\\\\bgroup\", \"{\");\ndefineMacro(\"\\\\egroup\", \"}\"); // Symbols from latex.ltx:\n// \\def~{\\nobreakspace{}}\n// \\def\\lq{`}\n// \\def\\rq{'}\n// \\def \\aa {\\r a}\n// \\def \\AA {\\r A}\n\ndefineMacro(\"~\", \"\\\\nobreakspace\");\ndefineMacro(\"\\\\lq\", \"`\");\ndefineMacro(\"\\\\rq\", \"'\");\ndefineMacro(\"\\\\aa\", \"\\\\r a\");\ndefineMacro(\"\\\\AA\", \"\\\\r A\"); // Copyright (C) and registered (R) symbols. Use raw symbol in MathML.\n// \\DeclareTextCommandDefault{\\textcopyright}{\\textcircled{c}}\n// \\DeclareTextCommandDefault{\\textregistered}{\\textcircled{%\n// \\check@mathfonts\\fontsize\\sf@size\\z@\\math@fontsfalse\\selectfont R}}\n// \\DeclareRobustCommand{\\copyright}{%\n// \\ifmmode{\\nfss@text{\\textcopyright}}\\else\\textcopyright\\fi}\n\ndefineMacro(\"\\\\textcopyright\", \"\\\\html@mathml{\\\\textcircled{c}}{\\\\char`©}\");\ndefineMacro(\"\\\\copyright\", \"\\\\TextOrMath{\\\\textcopyright}{\\\\text{\\\\textcopyright}}\");\ndefineMacro(\"\\\\textregistered\", \"\\\\html@mathml{\\\\textcircled{\\\\scriptsize R}}{\\\\char`®}\"); // Characters omitted from Unicode range 1D400–1D7FF\n\ndefineMacro(\"\\u212C\", \"\\\\mathscr{B}\"); // script\n\ndefineMacro(\"\\u2130\", \"\\\\mathscr{E}\");\ndefineMacro(\"\\u2131\", \"\\\\mathscr{F}\");\ndefineMacro(\"\\u210B\", \"\\\\mathscr{H}\");\ndefineMacro(\"\\u2110\", \"\\\\mathscr{I}\");\ndefineMacro(\"\\u2112\", \"\\\\mathscr{L}\");\ndefineMacro(\"\\u2133\", \"\\\\mathscr{M}\");\ndefineMacro(\"\\u211B\", \"\\\\mathscr{R}\");\ndefineMacro(\"\\u212D\", \"\\\\mathfrak{C}\"); // Fraktur\n\ndefineMacro(\"\\u210C\", \"\\\\mathfrak{H}\");\ndefineMacro(\"\\u2128\", \"\\\\mathfrak{Z}\"); // Define \\Bbbk with a macro that works in both HTML and MathML.\n\ndefineMacro(\"\\\\Bbbk\", \"\\\\Bbb{k}\"); // Unicode middle dot\n// The KaTeX fonts do not contain U+00B7. Instead, \\cdotp displays\n// the dot at U+22C5 and gives it punct spacing.\n\ndefineMacro(\"\\u00b7\", \"\\\\cdotp\"); // \\llap and \\rlap render their contents in text mode\n\ndefineMacro(\"\\\\llap\", \"\\\\mathllap{\\\\textrm{#1}}\");\ndefineMacro(\"\\\\rlap\", \"\\\\mathrlap{\\\\textrm{#1}}\");\ndefineMacro(\"\\\\clap\", \"\\\\mathclap{\\\\textrm{#1}}\"); // \\mathstrut from the TeXbook, p 360\n\ndefineMacro(\"\\\\mathstrut\", \"\\\\vphantom{(}\"); // \\underbar from TeXbook p 353\n\ndefineMacro(\"\\\\underbar\", \"\\\\underline{\\\\text{#1}}\"); // \\not is defined by base/fontmath.ltx via\n// \\DeclareMathSymbol{\\not}{\\mathrel}{symbols}{\"36}\n// It's thus treated like a \\mathrel, but defined by a symbol that has zero\n// width but extends to the right. We use \\rlap to get that spacing.\n// For MathML we write U+0338 here. buildMathML.js will then do the overlay.\n\ndefineMacro(\"\\\\not\", '\\\\html@mathml{\\\\mathrel{\\\\mathrlap\\\\@not}}{\\\\char\"338}'); // Negated symbols from base/fontmath.ltx:\n// \\def\\neq{\\not=} \\let\\ne=\\neq\n// \\DeclareRobustCommand\n// \\notin{\\mathrel{\\m@th\\mathpalette\\c@ncel\\in}}\n// \\def\\c@ncel#1#2{\\m@th\\ooalign{$\\hfil#1\\mkern1mu/\\hfil$\\crcr$#1#2$}}\n\ndefineMacro(\"\\\\neq\", \"\\\\html@mathml{\\\\mathrel{\\\\not=}}{\\\\mathrel{\\\\char`≠}}\");\ndefineMacro(\"\\\\ne\", \"\\\\neq\");\ndefineMacro(\"\\u2260\", \"\\\\neq\");\ndefineMacro(\"\\\\notin\", \"\\\\html@mathml{\\\\mathrel{{\\\\in}\\\\mathllap{/\\\\mskip1mu}}}\" + \"{\\\\mathrel{\\\\char`∉}}\");\ndefineMacro(\"\\u2209\", \"\\\\notin\"); // Unicode stacked relations\n\ndefineMacro(\"\\u2258\", \"\\\\html@mathml{\" + \"\\\\mathrel{=\\\\kern{-1em}\\\\raisebox{0.4em}{$\\\\scriptsize\\\\frown$}}\" + \"}{\\\\mathrel{\\\\char`\\u2258}}\");\ndefineMacro(\"\\u2259\", \"\\\\html@mathml{\\\\stackrel{\\\\tiny\\\\wedge}{=}}{\\\\mathrel{\\\\char`\\u2258}}\");\ndefineMacro(\"\\u225A\", \"\\\\html@mathml{\\\\stackrel{\\\\tiny\\\\vee}{=}}{\\\\mathrel{\\\\char`\\u225A}}\");\ndefineMacro(\"\\u225B\", \"\\\\html@mathml{\\\\stackrel{\\\\scriptsize\\\\star}{=}}\" + \"{\\\\mathrel{\\\\char`\\u225B}}\");\ndefineMacro(\"\\u225D\", \"\\\\html@mathml{\\\\stackrel{\\\\tiny\\\\mathrm{def}}{=}}\" + \"{\\\\mathrel{\\\\char`\\u225D}}\");\ndefineMacro(\"\\u225E\", \"\\\\html@mathml{\\\\stackrel{\\\\tiny\\\\mathrm{m}}{=}}\" + \"{\\\\mathrel{\\\\char`\\u225E}}\");\ndefineMacro(\"\\u225F\", \"\\\\html@mathml{\\\\stackrel{\\\\tiny?}{=}}{\\\\mathrel{\\\\char`\\u225F}}\"); // Misc Unicode\n\ndefineMacro(\"\\u27C2\", \"\\\\perp\");\ndefineMacro(\"\\u203C\", \"\\\\mathclose{!\\\\mkern-0.8mu!}\");\ndefineMacro(\"\\u220C\", \"\\\\notni\");\ndefineMacro(\"\\u231C\", \"\\\\ulcorner\");\ndefineMacro(\"\\u231D\", \"\\\\urcorner\");\ndefineMacro(\"\\u231E\", \"\\\\llcorner\");\ndefineMacro(\"\\u231F\", \"\\\\lrcorner\");\ndefineMacro(\"\\u00A9\", \"\\\\copyright\");\ndefineMacro(\"\\u00AE\", \"\\\\textregistered\");\ndefineMacro(\"\\uFE0F\", \"\\\\textregistered\"); // The KaTeX fonts have corners at codepoints that don't match Unicode.\n// For MathML purposes, use the Unicode code point.\n\ndefineMacro(\"\\\\ulcorner\", \"\\\\html@mathml{\\\\@ulcorner}{\\\\mathop{\\\\char\\\"231c}}\");\ndefineMacro(\"\\\\urcorner\", \"\\\\html@mathml{\\\\@urcorner}{\\\\mathop{\\\\char\\\"231d}}\");\ndefineMacro(\"\\\\llcorner\", \"\\\\html@mathml{\\\\@llcorner}{\\\\mathop{\\\\char\\\"231e}}\");\ndefineMacro(\"\\\\lrcorner\", \"\\\\html@mathml{\\\\@lrcorner}{\\\\mathop{\\\\char\\\"231f}}\"); //////////////////////////////////////////////////////////////////////\n// LaTeX_2ε\n// \\vdots{\\vbox{\\baselineskip4\\p@ \\lineskiplimit\\z@\n// \\kern6\\p@\\hbox{.}\\hbox{.}\\hbox{.}}}\n// We'll call \\varvdots, which gets a glyph from symbols.js.\n// The zero-width rule gets us an equivalent to the vertical 6pt kern.\n\ndefineMacro(\"\\\\vdots\", \"\\\\mathord{\\\\varvdots\\\\rule{0pt}{15pt}}\");\ndefineMacro(\"\\u22ee\", \"\\\\vdots\"); //////////////////////////////////////////////////////////////////////\n// amsmath.sty\n// http://mirrors.concertpass.com/tex-archive/macros/latex/required/amsmath/amsmath.pdf\n// Italic Greek capital letters. AMS defines these with \\DeclareMathSymbol,\n// but they are equivalent to \\mathit{\\Letter}.\n\ndefineMacro(\"\\\\varGamma\", \"\\\\mathit{\\\\Gamma}\");\ndefineMacro(\"\\\\varDelta\", \"\\\\mathit{\\\\Delta}\");\ndefineMacro(\"\\\\varTheta\", \"\\\\mathit{\\\\Theta}\");\ndefineMacro(\"\\\\varLambda\", \"\\\\mathit{\\\\Lambda}\");\ndefineMacro(\"\\\\varXi\", \"\\\\mathit{\\\\Xi}\");\ndefineMacro(\"\\\\varPi\", \"\\\\mathit{\\\\Pi}\");\ndefineMacro(\"\\\\varSigma\", \"\\\\mathit{\\\\Sigma}\");\ndefineMacro(\"\\\\varUpsilon\", \"\\\\mathit{\\\\Upsilon}\");\ndefineMacro(\"\\\\varPhi\", \"\\\\mathit{\\\\Phi}\");\ndefineMacro(\"\\\\varPsi\", \"\\\\mathit{\\\\Psi}\");\ndefineMacro(\"\\\\varOmega\", \"\\\\mathit{\\\\Omega}\"); //\\newcommand{\\substack}[1]{\\subarray{c}#1\\endsubarray}\n\ndefineMacro(\"\\\\substack\", \"\\\\begin{subarray}{c}#1\\\\end{subarray}\"); // \\renewcommand{\\colon}{\\nobreak\\mskip2mu\\mathpunct{}\\nonscript\n// \\mkern-\\thinmuskip{:}\\mskip6muplus1mu\\relax}\n\ndefineMacro(\"\\\\colon\", \"\\\\nobreak\\\\mskip2mu\\\\mathpunct{}\" + \"\\\\mathchoice{\\\\mkern-3mu}{\\\\mkern-3mu}{}{}{:}\\\\mskip6mu\\\\relax\"); // \\newcommand{\\boxed}[1]{\\fbox{\\m@th$\\displaystyle#1$}}\n\ndefineMacro(\"\\\\boxed\", \"\\\\fbox{$\\\\displaystyle{#1}$}\"); // \\def\\iff{\\DOTSB\\;\\Longleftrightarrow\\;}\n// \\def\\implies{\\DOTSB\\;\\Longrightarrow\\;}\n// \\def\\impliedby{\\DOTSB\\;\\Longleftarrow\\;}\n\ndefineMacro(\"\\\\iff\", \"\\\\DOTSB\\\\;\\\\Longleftrightarrow\\\\;\");\ndefineMacro(\"\\\\implies\", \"\\\\DOTSB\\\\;\\\\Longrightarrow\\\\;\");\ndefineMacro(\"\\\\impliedby\", \"\\\\DOTSB\\\\;\\\\Longleftarrow\\\\;\"); // AMSMath's automatic \\dots, based on \\mdots@@ macro.\n\nconst dotsByToken = {\n ',': '\\\\dotsc',\n '\\\\not': '\\\\dotsb',\n // \\keybin@ checks for the following:\n '+': '\\\\dotsb',\n '=': '\\\\dotsb',\n '<': '\\\\dotsb',\n '>': '\\\\dotsb',\n '-': '\\\\dotsb',\n '*': '\\\\dotsb',\n ':': '\\\\dotsb',\n // Symbols whose definition starts with \\DOTSB:\n '\\\\DOTSB': '\\\\dotsb',\n '\\\\coprod': '\\\\dotsb',\n '\\\\bigvee': '\\\\dotsb',\n '\\\\bigwedge': '\\\\dotsb',\n '\\\\biguplus': '\\\\dotsb',\n '\\\\bigcap': '\\\\dotsb',\n '\\\\bigcup': '\\\\dotsb',\n '\\\\prod': '\\\\dotsb',\n '\\\\sum': '\\\\dotsb',\n '\\\\bigotimes': '\\\\dotsb',\n '\\\\bigoplus': '\\\\dotsb',\n '\\\\bigodot': '\\\\dotsb',\n '\\\\bigsqcup': '\\\\dotsb',\n '\\\\And': '\\\\dotsb',\n '\\\\longrightarrow': '\\\\dotsb',\n '\\\\Longrightarrow': '\\\\dotsb',\n '\\\\longleftarrow': '\\\\dotsb',\n '\\\\Longleftarrow': '\\\\dotsb',\n '\\\\longleftrightarrow': '\\\\dotsb',\n '\\\\Longleftrightarrow': '\\\\dotsb',\n '\\\\mapsto': '\\\\dotsb',\n '\\\\longmapsto': '\\\\dotsb',\n '\\\\hookrightarrow': '\\\\dotsb',\n '\\\\doteq': '\\\\dotsb',\n // Symbols whose definition starts with \\mathbin:\n '\\\\mathbin': '\\\\dotsb',\n // Symbols whose definition starts with \\mathrel:\n '\\\\mathrel': '\\\\dotsb',\n '\\\\relbar': '\\\\dotsb',\n '\\\\Relbar': '\\\\dotsb',\n '\\\\xrightarrow': '\\\\dotsb',\n '\\\\xleftarrow': '\\\\dotsb',\n // Symbols whose definition starts with \\DOTSI:\n '\\\\DOTSI': '\\\\dotsi',\n '\\\\int': '\\\\dotsi',\n '\\\\oint': '\\\\dotsi',\n '\\\\iint': '\\\\dotsi',\n '\\\\iiint': '\\\\dotsi',\n '\\\\iiiint': '\\\\dotsi',\n '\\\\idotsint': '\\\\dotsi',\n // Symbols whose definition starts with \\DOTSX:\n '\\\\DOTSX': '\\\\dotsx'\n};\ndefineMacro(\"\\\\dots\", function (context) {\n // TODO: If used in text mode, should expand to \\textellipsis.\n // However, in KaTeX, \\textellipsis and \\ldots behave the same\n // (in text mode), and it's unlikely we'd see any of the math commands\n // that affect the behavior of \\dots when in text mode. So fine for now\n // (until we support \\ifmmode ... \\else ... \\fi).\n let thedots = '\\\\dotso';\n const next = context.expandAfterFuture().text;\n\n if (next in dotsByToken) {\n thedots = dotsByToken[next];\n } else if (next.slice(0, 4) === '\\\\not') {\n thedots = '\\\\dotsb';\n } else if (next in src_symbols.math) {\n if (utils.contains(['bin', 'rel'], src_symbols.math[next].group)) {\n thedots = '\\\\dotsb';\n }\n }\n\n return thedots;\n});\nconst spaceAfterDots = {\n // \\rightdelim@ checks for the following:\n ')': true,\n ']': true,\n '\\\\rbrack': true,\n '\\\\}': true,\n '\\\\rbrace': true,\n '\\\\rangle': true,\n '\\\\rceil': true,\n '\\\\rfloor': true,\n '\\\\rgroup': true,\n '\\\\rmoustache': true,\n '\\\\right': true,\n '\\\\bigr': true,\n '\\\\biggr': true,\n '\\\\Bigr': true,\n '\\\\Biggr': true,\n // \\extra@ also tests for the following:\n '$': true,\n // \\extrap@ checks for the following:\n ';': true,\n '.': true,\n ',': true\n};\ndefineMacro(\"\\\\dotso\", function (context) {\n const next = context.future().text;\n\n if (next in spaceAfterDots) {\n return \"\\\\ldots\\\\,\";\n } else {\n return \"\\\\ldots\";\n }\n});\ndefineMacro(\"\\\\dotsc\", function (context) {\n const next = context.future().text; // \\dotsc uses \\extra@ but not \\extrap@, instead specially checking for\n // ';' and '.', but doesn't check for ','.\n\n if (next in spaceAfterDots && next !== ',') {\n return \"\\\\ldots\\\\,\";\n } else {\n return \"\\\\ldots\";\n }\n});\ndefineMacro(\"\\\\cdots\", function (context) {\n const next = context.future().text;\n\n if (next in spaceAfterDots) {\n return \"\\\\@cdots\\\\,\";\n } else {\n return \"\\\\@cdots\";\n }\n});\ndefineMacro(\"\\\\dotsb\", \"\\\\cdots\");\ndefineMacro(\"\\\\dotsm\", \"\\\\cdots\");\ndefineMacro(\"\\\\dotsi\", \"\\\\!\\\\cdots\"); // amsmath doesn't actually define \\dotsx, but \\dots followed by a macro\n// starting with \\DOTSX implies \\dotso, and then \\extra@ detects this case\n// and forces the added `\\,`.\n\ndefineMacro(\"\\\\dotsx\", \"\\\\ldots\\\\,\"); // \\let\\DOTSI\\relax\n// \\let\\DOTSB\\relax\n// \\let\\DOTSX\\relax\n\ndefineMacro(\"\\\\DOTSI\", \"\\\\relax\");\ndefineMacro(\"\\\\DOTSB\", \"\\\\relax\");\ndefineMacro(\"\\\\DOTSX\", \"\\\\relax\"); // Spacing, based on amsmath.sty's override of LaTeX defaults\n// \\DeclareRobustCommand{\\tmspace}[3]{%\n// \\ifmmode\\mskip#1#2\\else\\kern#1#3\\fi\\relax}\n\ndefineMacro(\"\\\\tmspace\", \"\\\\TextOrMath{\\\\kern#1#3}{\\\\mskip#1#2}\\\\relax\"); // \\renewcommand{\\,}{\\tmspace+\\thinmuskip{.1667em}}\n// TODO: math mode should use \\thinmuskip\n\ndefineMacro(\"\\\\,\", \"\\\\tmspace+{3mu}{.1667em}\"); // \\let\\thinspace\\,\n\ndefineMacro(\"\\\\thinspace\", \"\\\\,\"); // \\def\\>{\\mskip\\medmuskip}\n// \\renewcommand{\\:}{\\tmspace+\\medmuskip{.2222em}}\n// TODO: \\> and math mode of \\: should use \\medmuskip = 4mu plus 2mu minus 4mu\n\ndefineMacro(\"\\\\>\", \"\\\\mskip{4mu}\");\ndefineMacro(\"\\\\:\", \"\\\\tmspace+{4mu}{.2222em}\"); // \\let\\medspace\\:\n\ndefineMacro(\"\\\\medspace\", \"\\\\:\"); // \\renewcommand{\\;}{\\tmspace+\\thickmuskip{.2777em}}\n// TODO: math mode should use \\thickmuskip = 5mu plus 5mu\n\ndefineMacro(\"\\\\;\", \"\\\\tmspace+{5mu}{.2777em}\"); // \\let\\thickspace\\;\n\ndefineMacro(\"\\\\thickspace\", \"\\\\;\"); // \\renewcommand{\\!}{\\tmspace-\\thinmuskip{.1667em}}\n// TODO: math mode should use \\thinmuskip\n\ndefineMacro(\"\\\\!\", \"\\\\tmspace-{3mu}{.1667em}\"); // \\let\\negthinspace\\!\n\ndefineMacro(\"\\\\negthinspace\", \"\\\\!\"); // \\newcommand{\\negmedspace}{\\tmspace-\\medmuskip{.2222em}}\n// TODO: math mode should use \\medmuskip\n\ndefineMacro(\"\\\\negmedspace\", \"\\\\tmspace-{4mu}{.2222em}\"); // \\newcommand{\\negthickspace}{\\tmspace-\\thickmuskip{.2777em}}\n// TODO: math mode should use \\thickmuskip\n\ndefineMacro(\"\\\\negthickspace\", \"\\\\tmspace-{5mu}{.277em}\"); // \\def\\enspace{\\kern.5em }\n\ndefineMacro(\"\\\\enspace\", \"\\\\kern.5em \"); // \\def\\enskip{\\hskip.5em\\relax}\n\ndefineMacro(\"\\\\enskip\", \"\\\\hskip.5em\\\\relax\"); // \\def\\quad{\\hskip1em\\relax}\n\ndefineMacro(\"\\\\quad\", \"\\\\hskip1em\\\\relax\"); // \\def\\qquad{\\hskip2em\\relax}\n\ndefineMacro(\"\\\\qquad\", \"\\\\hskip2em\\\\relax\"); // \\tag@in@display form of \\tag\n\ndefineMacro(\"\\\\tag\", \"\\\\@ifstar\\\\tag@literal\\\\tag@paren\");\ndefineMacro(\"\\\\tag@paren\", \"\\\\tag@literal{({#1})}\");\ndefineMacro(\"\\\\tag@literal\", context => {\n if (context.macros.get(\"\\\\df@tag\")) {\n throw new src_ParseError(\"Multiple \\\\tag\");\n }\n\n return \"\\\\gdef\\\\df@tag{\\\\text{#1}}\";\n}); // \\renewcommand{\\bmod}{\\nonscript\\mskip-\\medmuskip\\mkern5mu\\mathbin\n// {\\operator@font mod}\\penalty900\n// \\mkern5mu\\nonscript\\mskip-\\medmuskip}\n// \\newcommand{\\pod}[1]{\\allowbreak\n// \\if@display\\mkern18mu\\else\\mkern8mu\\fi(#1)}\n// \\renewcommand{\\pmod}[1]{\\pod{{\\operator@font mod}\\mkern6mu#1}}\n// \\newcommand{\\mod}[1]{\\allowbreak\\if@display\\mkern18mu\n// \\else\\mkern12mu\\fi{\\operator@font mod}\\,\\,#1}\n// TODO: math mode should use \\medmuskip = 4mu plus 2mu minus 4mu\n\ndefineMacro(\"\\\\bmod\", \"\\\\mathchoice{\\\\mskip1mu}{\\\\mskip1mu}{\\\\mskip5mu}{\\\\mskip5mu}\" + \"\\\\mathbin{\\\\rm mod}\" + \"\\\\mathchoice{\\\\mskip1mu}{\\\\mskip1mu}{\\\\mskip5mu}{\\\\mskip5mu}\");\ndefineMacro(\"\\\\pod\", \"\\\\allowbreak\" + \"\\\\mathchoice{\\\\mkern18mu}{\\\\mkern8mu}{\\\\mkern8mu}{\\\\mkern8mu}(#1)\");\ndefineMacro(\"\\\\pmod\", \"\\\\pod{{\\\\rm mod}\\\\mkern6mu#1}\");\ndefineMacro(\"\\\\mod\", \"\\\\allowbreak\" + \"\\\\mathchoice{\\\\mkern18mu}{\\\\mkern12mu}{\\\\mkern12mu}{\\\\mkern12mu}\" + \"{\\\\rm mod}\\\\,\\\\,#1\"); //////////////////////////////////////////////////////////////////////\n// LaTeX source2e\n// \\expandafter\\let\\expandafter\\@normalcr\n// \\csname\\expandafter\\@gobble\\string\\\\ \\endcsname\n// \\DeclareRobustCommand\\newline{\\@normalcr\\relax}\n\ndefineMacro(\"\\\\newline\", \"\\\\\\\\\\\\relax\"); // \\def\\TeX{T\\kern-.1667em\\lower.5ex\\hbox{E}\\kern-.125emX\\@}\n// TODO: Doesn't normally work in math mode because \\@ fails. KaTeX doesn't\n// support \\@ yet, so that's omitted, and we add \\text so that the result\n// doesn't look funny in math mode.\n\ndefineMacro(\"\\\\TeX\", \"\\\\textrm{\\\\html@mathml{\" + \"T\\\\kern-.1667em\\\\raisebox{-.5ex}{E}\\\\kern-.125emX\" + \"}{TeX}}\"); // \\DeclareRobustCommand{\\LaTeX}{L\\kern-.36em%\n// {\\sbox\\z@ T%\n// \\vbox to\\ht\\z@{\\hbox{\\check@mathfonts\n// \\fontsize\\sf@size\\z@\n// \\math@fontsfalse\\selectfont\n// A}%\n// \\vss}%\n// }%\n// \\kern-.15em%\n// \\TeX}\n// This code aligns the top of the A with the T (from the perspective of TeX's\n// boxes, though visually the A appears to extend above slightly).\n// We compute the corresponding \\raisebox when A is rendered in \\normalsize\n// \\scriptstyle, which has a scale factor of 0.7 (see Options.js).\n\nconst latexRaiseA = makeEm(fontMetricsData[\"Main-Regular\"][\"T\".charCodeAt(0)][1] - 0.7 * fontMetricsData[\"Main-Regular\"][\"A\".charCodeAt(0)][1]);\ndefineMacro(\"\\\\LaTeX\", \"\\\\textrm{\\\\html@mathml{\" + (\"L\\\\kern-.36em\\\\raisebox{\" + latexRaiseA + \"}{\\\\scriptstyle A}\") + \"\\\\kern-.15em\\\\TeX}{LaTeX}}\"); // New KaTeX logo based on tweaking LaTeX logo\n\ndefineMacro(\"\\\\KaTeX\", \"\\\\textrm{\\\\html@mathml{\" + (\"K\\\\kern-.17em\\\\raisebox{\" + latexRaiseA + \"}{\\\\scriptstyle A}\") + \"\\\\kern-.15em\\\\TeX}{KaTeX}}\"); // \\DeclareRobustCommand\\hspace{\\@ifstar\\@hspacer\\@hspace}\n// \\def\\@hspace#1{\\hskip #1\\relax}\n// \\def\\@hspacer#1{\\vrule \\@width\\z@\\nobreak\n// \\hskip #1\\hskip \\z@skip}\n\ndefineMacro(\"\\\\hspace\", \"\\\\@ifstar\\\\@hspacer\\\\@hspace\");\ndefineMacro(\"\\\\@hspace\", \"\\\\hskip #1\\\\relax\");\ndefineMacro(\"\\\\@hspacer\", \"\\\\rule{0pt}{0pt}\\\\hskip #1\\\\relax\"); //////////////////////////////////////////////////////////////////////\n// mathtools.sty\n//\\providecommand\\ordinarycolon{:}\n\ndefineMacro(\"\\\\ordinarycolon\", \":\"); //\\def\\vcentcolon{\\mathrel{\\mathop\\ordinarycolon}}\n//TODO(edemaine): Not yet centered. Fix via \\raisebox or #726\n\ndefineMacro(\"\\\\vcentcolon\", \"\\\\mathrel{\\\\mathop\\\\ordinarycolon}\"); // \\providecommand*\\dblcolon{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}\n\ndefineMacro(\"\\\\dblcolon\", \"\\\\html@mathml{\" + \"\\\\mathrel{\\\\vcentcolon\\\\mathrel{\\\\mkern-.9mu}\\\\vcentcolon}}\" + \"{\\\\mathop{\\\\char\\\"2237}}\"); // \\providecommand*\\coloneqq{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}\n\ndefineMacro(\"\\\\coloneqq\", \"\\\\html@mathml{\" + \"\\\\mathrel{\\\\vcentcolon\\\\mathrel{\\\\mkern-1.2mu}=}}\" + \"{\\\\mathop{\\\\char\\\"2254}}\"); // ≔\n// \\providecommand*\\Coloneqq{\\dblcolon\\mathrel{\\mkern-1.2mu}=}\n\ndefineMacro(\"\\\\Coloneqq\", \"\\\\html@mathml{\" + \"\\\\mathrel{\\\\dblcolon\\\\mathrel{\\\\mkern-1.2mu}=}}\" + \"{\\\\mathop{\\\\char\\\"2237\\\\char\\\"3d}}\"); // \\providecommand*\\coloneq{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}\n\ndefineMacro(\"\\\\coloneq\", \"\\\\html@mathml{\" + \"\\\\mathrel{\\\\vcentcolon\\\\mathrel{\\\\mkern-1.2mu}\\\\mathrel{-}}}\" + \"{\\\\mathop{\\\\char\\\"3a\\\\char\\\"2212}}\"); // \\providecommand*\\Coloneq{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}\n\ndefineMacro(\"\\\\Coloneq\", \"\\\\html@mathml{\" + \"\\\\mathrel{\\\\dblcolon\\\\mathrel{\\\\mkern-1.2mu}\\\\mathrel{-}}}\" + \"{\\\\mathop{\\\\char\\\"2237\\\\char\\\"2212}}\"); // \\providecommand*\\eqqcolon{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}\n\ndefineMacro(\"\\\\eqqcolon\", \"\\\\html@mathml{\" + \"\\\\mathrel{=\\\\mathrel{\\\\mkern-1.2mu}\\\\vcentcolon}}\" + \"{\\\\mathop{\\\\char\\\"2255}}\"); // ≕\n// \\providecommand*\\Eqqcolon{=\\mathrel{\\mkern-1.2mu}\\dblcolon}\n\ndefineMacro(\"\\\\Eqqcolon\", \"\\\\html@mathml{\" + \"\\\\mathrel{=\\\\mathrel{\\\\mkern-1.2mu}\\\\dblcolon}}\" + \"{\\\\mathop{\\\\char\\\"3d\\\\char\\\"2237}}\"); // \\providecommand*\\eqcolon{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}\n\ndefineMacro(\"\\\\eqcolon\", \"\\\\html@mathml{\" + \"\\\\mathrel{\\\\mathrel{-}\\\\mathrel{\\\\mkern-1.2mu}\\\\vcentcolon}}\" + \"{\\\\mathop{\\\\char\\\"2239}}\"); // \\providecommand*\\Eqcolon{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}\n\ndefineMacro(\"\\\\Eqcolon\", \"\\\\html@mathml{\" + \"\\\\mathrel{\\\\mathrel{-}\\\\mathrel{\\\\mkern-1.2mu}\\\\dblcolon}}\" + \"{\\\\mathop{\\\\char\\\"2212\\\\char\\\"2237}}\"); // \\providecommand*\\colonapprox{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}\n\ndefineMacro(\"\\\\colonapprox\", \"\\\\html@mathml{\" + \"\\\\mathrel{\\\\vcentcolon\\\\mathrel{\\\\mkern-1.2mu}\\\\approx}}\" + \"{\\\\mathop{\\\\char\\\"3a\\\\char\\\"2248}}\"); // \\providecommand*\\Colonapprox{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}\n\ndefineMacro(\"\\\\Colonapprox\", \"\\\\html@mathml{\" + \"\\\\mathrel{\\\\dblcolon\\\\mathrel{\\\\mkern-1.2mu}\\\\approx}}\" + \"{\\\\mathop{\\\\char\\\"2237\\\\char\\\"2248}}\"); // \\providecommand*\\colonsim{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}\n\ndefineMacro(\"\\\\colonsim\", \"\\\\html@mathml{\" + \"\\\\mathrel{\\\\vcentcolon\\\\mathrel{\\\\mkern-1.2mu}\\\\sim}}\" + \"{\\\\mathop{\\\\char\\\"3a\\\\char\\\"223c}}\"); // \\providecommand*\\Colonsim{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}\n\ndefineMacro(\"\\\\Colonsim\", \"\\\\html@mathml{\" + \"\\\\mathrel{\\\\dblcolon\\\\mathrel{\\\\mkern-1.2mu}\\\\sim}}\" + \"{\\\\mathop{\\\\char\\\"2237\\\\char\\\"223c}}\"); // Some Unicode characters are implemented with macros to mathtools functions.\n\ndefineMacro(\"\\u2237\", \"\\\\dblcolon\"); // ::\n\ndefineMacro(\"\\u2239\", \"\\\\eqcolon\"); // -:\n\ndefineMacro(\"\\u2254\", \"\\\\coloneqq\"); // :=\n\ndefineMacro(\"\\u2255\", \"\\\\eqqcolon\"); // =:\n\ndefineMacro(\"\\u2A74\", \"\\\\Coloneqq\"); // ::=\n//////////////////////////////////////////////////////////////////////\n// colonequals.sty\n// Alternate names for mathtools's macros:\n\ndefineMacro(\"\\\\ratio\", \"\\\\vcentcolon\");\ndefineMacro(\"\\\\coloncolon\", \"\\\\dblcolon\");\ndefineMacro(\"\\\\colonequals\", \"\\\\coloneqq\");\ndefineMacro(\"\\\\coloncolonequals\", \"\\\\Coloneqq\");\ndefineMacro(\"\\\\equalscolon\", \"\\\\eqqcolon\");\ndefineMacro(\"\\\\equalscoloncolon\", \"\\\\Eqqcolon\");\ndefineMacro(\"\\\\colonminus\", \"\\\\coloneq\");\ndefineMacro(\"\\\\coloncolonminus\", \"\\\\Coloneq\");\ndefineMacro(\"\\\\minuscolon\", \"\\\\eqcolon\");\ndefineMacro(\"\\\\minuscoloncolon\", \"\\\\Eqcolon\"); // \\colonapprox name is same in mathtools and colonequals.\n\ndefineMacro(\"\\\\coloncolonapprox\", \"\\\\Colonapprox\"); // \\colonsim name is same in mathtools and colonequals.\n\ndefineMacro(\"\\\\coloncolonsim\", \"\\\\Colonsim\"); // Additional macros, implemented by analogy with mathtools definitions:\n\ndefineMacro(\"\\\\simcolon\", \"\\\\mathrel{\\\\sim\\\\mathrel{\\\\mkern-1.2mu}\\\\vcentcolon}\");\ndefineMacro(\"\\\\simcoloncolon\", \"\\\\mathrel{\\\\sim\\\\mathrel{\\\\mkern-1.2mu}\\\\dblcolon}\");\ndefineMacro(\"\\\\approxcolon\", \"\\\\mathrel{\\\\approx\\\\mathrel{\\\\mkern-1.2mu}\\\\vcentcolon}\");\ndefineMacro(\"\\\\approxcoloncolon\", \"\\\\mathrel{\\\\approx\\\\mathrel{\\\\mkern-1.2mu}\\\\dblcolon}\"); // Present in newtxmath, pxfonts and txfonts\n\ndefineMacro(\"\\\\notni\", \"\\\\html@mathml{\\\\not\\\\ni}{\\\\mathrel{\\\\char`\\u220C}}\");\ndefineMacro(\"\\\\limsup\", \"\\\\DOTSB\\\\operatorname*{lim\\\\,sup}\");\ndefineMacro(\"\\\\liminf\", \"\\\\DOTSB\\\\operatorname*{lim\\\\,inf}\"); //////////////////////////////////////////////////////////////////////\n// From amsopn.sty\n\ndefineMacro(\"\\\\injlim\", \"\\\\DOTSB\\\\operatorname*{inj\\\\,lim}\");\ndefineMacro(\"\\\\projlim\", \"\\\\DOTSB\\\\operatorname*{proj\\\\,lim}\");\ndefineMacro(\"\\\\varlimsup\", \"\\\\DOTSB\\\\operatorname*{\\\\overline{lim}}\");\ndefineMacro(\"\\\\varliminf\", \"\\\\DOTSB\\\\operatorname*{\\\\underline{lim}}\");\ndefineMacro(\"\\\\varinjlim\", \"\\\\DOTSB\\\\operatorname*{\\\\underrightarrow{lim}}\");\ndefineMacro(\"\\\\varprojlim\", \"\\\\DOTSB\\\\operatorname*{\\\\underleftarrow{lim}}\"); //////////////////////////////////////////////////////////////////////\n// MathML alternates for KaTeX glyphs in the Unicode private area\n\ndefineMacro(\"\\\\gvertneqq\", \"\\\\html@mathml{\\\\@gvertneqq}{\\u2269}\");\ndefineMacro(\"\\\\lvertneqq\", \"\\\\html@mathml{\\\\@lvertneqq}{\\u2268}\");\ndefineMacro(\"\\\\ngeqq\", \"\\\\html@mathml{\\\\@ngeqq}{\\u2271}\");\ndefineMacro(\"\\\\ngeqslant\", \"\\\\html@mathml{\\\\@ngeqslant}{\\u2271}\");\ndefineMacro(\"\\\\nleqq\", \"\\\\html@mathml{\\\\@nleqq}{\\u2270}\");\ndefineMacro(\"\\\\nleqslant\", \"\\\\html@mathml{\\\\@nleqslant}{\\u2270}\");\ndefineMacro(\"\\\\nshortmid\", \"\\\\html@mathml{\\\\@nshortmid}{∤}\");\ndefineMacro(\"\\\\nshortparallel\", \"\\\\html@mathml{\\\\@nshortparallel}{∦}\");\ndefineMacro(\"\\\\nsubseteqq\", \"\\\\html@mathml{\\\\@nsubseteqq}{\\u2288}\");\ndefineMacro(\"\\\\nsupseteqq\", \"\\\\html@mathml{\\\\@nsupseteqq}{\\u2289}\");\ndefineMacro(\"\\\\varsubsetneq\", \"\\\\html@mathml{\\\\@varsubsetneq}{⊊}\");\ndefineMacro(\"\\\\varsubsetneqq\", \"\\\\html@mathml{\\\\@varsubsetneqq}{⫋}\");\ndefineMacro(\"\\\\varsupsetneq\", \"\\\\html@mathml{\\\\@varsupsetneq}{⊋}\");\ndefineMacro(\"\\\\varsupsetneqq\", \"\\\\html@mathml{\\\\@varsupsetneqq}{⫌}\");\ndefineMacro(\"\\\\imath\", \"\\\\html@mathml{\\\\@imath}{\\u0131}\");\ndefineMacro(\"\\\\jmath\", \"\\\\html@mathml{\\\\@jmath}{\\u0237}\"); //////////////////////////////////////////////////////////////////////\n// stmaryrd and semantic\n// The stmaryrd and semantic packages render the next four items by calling a\n// glyph. Those glyphs do not exist in the KaTeX fonts. Hence the macros.\n\ndefineMacro(\"\\\\llbracket\", \"\\\\html@mathml{\" + \"\\\\mathopen{[\\\\mkern-3.2mu[}}\" + \"{\\\\mathopen{\\\\char`\\u27e6}}\");\ndefineMacro(\"\\\\rrbracket\", \"\\\\html@mathml{\" + \"\\\\mathclose{]\\\\mkern-3.2mu]}}\" + \"{\\\\mathclose{\\\\char`\\u27e7}}\");\ndefineMacro(\"\\u27e6\", \"\\\\llbracket\"); // blackboard bold [\n\ndefineMacro(\"\\u27e7\", \"\\\\rrbracket\"); // blackboard bold ]\n\ndefineMacro(\"\\\\lBrace\", \"\\\\html@mathml{\" + \"\\\\mathopen{\\\\{\\\\mkern-3.2mu[}}\" + \"{\\\\mathopen{\\\\char`\\u2983}}\");\ndefineMacro(\"\\\\rBrace\", \"\\\\html@mathml{\" + \"\\\\mathclose{]\\\\mkern-3.2mu\\\\}}}\" + \"{\\\\mathclose{\\\\char`\\u2984}}\");\ndefineMacro(\"\\u2983\", \"\\\\lBrace\"); // blackboard bold {\n\ndefineMacro(\"\\u2984\", \"\\\\rBrace\"); // blackboard bold }\n// TODO: Create variable sized versions of the last two items. I believe that\n// will require new font glyphs.\n// The stmaryrd function `\\minuso` provides a \"Plimsoll\" symbol that\n// superimposes the characters \\circ and \\mathminus. Used in chemistry.\n\ndefineMacro(\"\\\\minuso\", \"\\\\mathbin{\\\\html@mathml{\" + \"{\\\\mathrlap{\\\\mathchoice{\\\\kern{0.145em}}{\\\\kern{0.145em}}\" + \"{\\\\kern{0.1015em}}{\\\\kern{0.0725em}}\\\\circ}{-}}}\" + \"{\\\\char`⦵}}\");\ndefineMacro(\"⦵\", \"\\\\minuso\"); //////////////////////////////////////////////////////////////////////\n// texvc.sty\n// The texvc package contains macros available in mediawiki pages.\n// We omit the functions deprecated at\n// https://en.wikipedia.org/wiki/Help:Displaying_a_formula#Deprecated_syntax\n// We also omit texvc's \\O, which conflicts with \\text{\\O}\n\ndefineMacro(\"\\\\darr\", \"\\\\downarrow\");\ndefineMacro(\"\\\\dArr\", \"\\\\Downarrow\");\ndefineMacro(\"\\\\Darr\", \"\\\\Downarrow\");\ndefineMacro(\"\\\\lang\", \"\\\\langle\");\ndefineMacro(\"\\\\rang\", \"\\\\rangle\");\ndefineMacro(\"\\\\uarr\", \"\\\\uparrow\");\ndefineMacro(\"\\\\uArr\", \"\\\\Uparrow\");\ndefineMacro(\"\\\\Uarr\", \"\\\\Uparrow\");\ndefineMacro(\"\\\\N\", \"\\\\mathbb{N}\");\ndefineMacro(\"\\\\R\", \"\\\\mathbb{R}\");\ndefineMacro(\"\\\\Z\", \"\\\\mathbb{Z}\");\ndefineMacro(\"\\\\alef\", \"\\\\aleph\");\ndefineMacro(\"\\\\alefsym\", \"\\\\aleph\");\ndefineMacro(\"\\\\Alpha\", \"\\\\mathrm{A}\");\ndefineMacro(\"\\\\Beta\", \"\\\\mathrm{B}\");\ndefineMacro(\"\\\\bull\", \"\\\\bullet\");\ndefineMacro(\"\\\\Chi\", \"\\\\mathrm{X}\");\ndefineMacro(\"\\\\clubs\", \"\\\\clubsuit\");\ndefineMacro(\"\\\\cnums\", \"\\\\mathbb{C}\");\ndefineMacro(\"\\\\Complex\", \"\\\\mathbb{C}\");\ndefineMacro(\"\\\\Dagger\", \"\\\\ddagger\");\ndefineMacro(\"\\\\diamonds\", \"\\\\diamondsuit\");\ndefineMacro(\"\\\\empty\", \"\\\\emptyset\");\ndefineMacro(\"\\\\Epsilon\", \"\\\\mathrm{E}\");\ndefineMacro(\"\\\\Eta\", \"\\\\mathrm{H}\");\ndefineMacro(\"\\\\exist\", \"\\\\exists\");\ndefineMacro(\"\\\\harr\", \"\\\\leftrightarrow\");\ndefineMacro(\"\\\\hArr\", \"\\\\Leftrightarrow\");\ndefineMacro(\"\\\\Harr\", \"\\\\Leftrightarrow\");\ndefineMacro(\"\\\\hearts\", \"\\\\heartsuit\");\ndefineMacro(\"\\\\image\", \"\\\\Im\");\ndefineMacro(\"\\\\infin\", \"\\\\infty\");\ndefineMacro(\"\\\\Iota\", \"\\\\mathrm{I}\");\ndefineMacro(\"\\\\isin\", \"\\\\in\");\ndefineMacro(\"\\\\Kappa\", \"\\\\mathrm{K}\");\ndefineMacro(\"\\\\larr\", \"\\\\leftarrow\");\ndefineMacro(\"\\\\lArr\", \"\\\\Leftarrow\");\ndefineMacro(\"\\\\Larr\", \"\\\\Leftarrow\");\ndefineMacro(\"\\\\lrarr\", \"\\\\leftrightarrow\");\ndefineMacro(\"\\\\lrArr\", \"\\\\Leftrightarrow\");\ndefineMacro(\"\\\\Lrarr\", \"\\\\Leftrightarrow\");\ndefineMacro(\"\\\\Mu\", \"\\\\mathrm{M}\");\ndefineMacro(\"\\\\natnums\", \"\\\\mathbb{N}\");\ndefineMacro(\"\\\\Nu\", \"\\\\mathrm{N}\");\ndefineMacro(\"\\\\Omicron\", \"\\\\mathrm{O}\");\ndefineMacro(\"\\\\plusmn\", \"\\\\pm\");\ndefineMacro(\"\\\\rarr\", \"\\\\rightarrow\");\ndefineMacro(\"\\\\rArr\", \"\\\\Rightarrow\");\ndefineMacro(\"\\\\Rarr\", \"\\\\Rightarrow\");\ndefineMacro(\"\\\\real\", \"\\\\Re\");\ndefineMacro(\"\\\\reals\", \"\\\\mathbb{R}\");\ndefineMacro(\"\\\\Reals\", \"\\\\mathbb{R}\");\ndefineMacro(\"\\\\Rho\", \"\\\\mathrm{P}\");\ndefineMacro(\"\\\\sdot\", \"\\\\cdot\");\ndefineMacro(\"\\\\sect\", \"\\\\S\");\ndefineMacro(\"\\\\spades\", \"\\\\spadesuit\");\ndefineMacro(\"\\\\sub\", \"\\\\subset\");\ndefineMacro(\"\\\\sube\", \"\\\\subseteq\");\ndefineMacro(\"\\\\supe\", \"\\\\supseteq\");\ndefineMacro(\"\\\\Tau\", \"\\\\mathrm{T}\");\ndefineMacro(\"\\\\thetasym\", \"\\\\vartheta\"); // TODO: defineMacro(\"\\\\varcoppa\", \"\\\\\\mbox{\\\\coppa}\");\n\ndefineMacro(\"\\\\weierp\", \"\\\\wp\");\ndefineMacro(\"\\\\Zeta\", \"\\\\mathrm{Z}\"); //////////////////////////////////////////////////////////////////////\n// statmath.sty\n// https://ctan.math.illinois.edu/macros/latex/contrib/statmath/statmath.pdf\n\ndefineMacro(\"\\\\argmin\", \"\\\\DOTSB\\\\operatorname*{arg\\\\,min}\");\ndefineMacro(\"\\\\argmax\", \"\\\\DOTSB\\\\operatorname*{arg\\\\,max}\");\ndefineMacro(\"\\\\plim\", \"\\\\DOTSB\\\\mathop{\\\\operatorname{plim}}\\\\limits\"); //////////////////////////////////////////////////////////////////////\n// braket.sty\n// http://ctan.math.washington.edu/tex-archive/macros/latex/contrib/braket/braket.pdf\n\ndefineMacro(\"\\\\bra\", \"\\\\mathinner{\\\\langle{#1}|}\");\ndefineMacro(\"\\\\ket\", \"\\\\mathinner{|{#1}\\\\rangle}\");\ndefineMacro(\"\\\\braket\", \"\\\\mathinner{\\\\langle{#1}\\\\rangle}\");\ndefineMacro(\"\\\\Bra\", \"\\\\left\\\\langle#1\\\\right|\");\ndefineMacro(\"\\\\Ket\", \"\\\\left|#1\\\\right\\\\rangle\");\n\nconst braketHelper = one => context => {\n const left = context.consumeArg().tokens;\n const middle = context.consumeArg().tokens;\n const middleDouble = context.consumeArg().tokens;\n const right = context.consumeArg().tokens;\n const oldMiddle = context.macros.get(\"|\");\n const oldMiddleDouble = context.macros.get(\"\\\\|\");\n context.macros.beginGroup();\n\n const midMacro = double => context => {\n if (one) {\n // Only modify the first instance of | or \\|\n context.macros.set(\"|\", oldMiddle);\n\n if (middleDouble.length) {\n context.macros.set(\"\\\\|\", oldMiddleDouble);\n }\n }\n\n let doubled = double;\n\n if (!double && middleDouble.length) {\n // Mimic \\@ifnextchar\n const nextToken = context.future();\n\n if (nextToken.text === \"|\") {\n context.popToken();\n doubled = true;\n }\n }\n\n return {\n tokens: doubled ? middleDouble : middle,\n numArgs: 0\n };\n };\n\n context.macros.set(\"|\", midMacro(false));\n\n if (middleDouble.length) {\n context.macros.set(\"\\\\|\", midMacro(true));\n }\n\n const arg = context.consumeArg().tokens;\n const expanded = context.expandTokens([...right, ...arg, ...left // reversed\n ]);\n context.macros.endGroup();\n return {\n tokens: expanded.reverse(),\n numArgs: 0\n };\n};\n\ndefineMacro(\"\\\\bra@ket\", braketHelper(false));\ndefineMacro(\"\\\\bra@set\", braketHelper(true));\ndefineMacro(\"\\\\Braket\", \"\\\\bra@ket{\\\\left\\\\langle}\" + \"{\\\\,\\\\middle\\\\vert\\\\,}{\\\\,\\\\middle\\\\vert\\\\,}{\\\\right\\\\rangle}\");\ndefineMacro(\"\\\\Set\", \"\\\\bra@set{\\\\left\\\\{\\\\:}\" + \"{\\\\;\\\\middle\\\\vert\\\\;}{\\\\;\\\\middle\\\\Vert\\\\;}{\\\\:\\\\right\\\\}}\");\ndefineMacro(\"\\\\set\", \"\\\\bra@set{\\\\{\\\\,}{\\\\mid}{}{\\\\,\\\\}}\"); // has no support for special || or \\|\n//////////////////////////////////////////////////////////////////////\n// actuarialangle.dtx\n\ndefineMacro(\"\\\\angln\", \"{\\\\angl n}\"); // Custom Khan Academy colors, should be moved to an optional package\n\ndefineMacro(\"\\\\blue\", \"\\\\textcolor{##6495ed}{#1}\");\ndefineMacro(\"\\\\orange\", \"\\\\textcolor{##ffa500}{#1}\");\ndefineMacro(\"\\\\pink\", \"\\\\textcolor{##ff00af}{#1}\");\ndefineMacro(\"\\\\red\", \"\\\\textcolor{##df0030}{#1}\");\ndefineMacro(\"\\\\green\", \"\\\\textcolor{##28ae7b}{#1}\");\ndefineMacro(\"\\\\gray\", \"\\\\textcolor{gray}{#1}\");\ndefineMacro(\"\\\\purple\", \"\\\\textcolor{##9d38bd}{#1}\");\ndefineMacro(\"\\\\blueA\", \"\\\\textcolor{##ccfaff}{#1}\");\ndefineMacro(\"\\\\blueB\", \"\\\\textcolor{##80f6ff}{#1}\");\ndefineMacro(\"\\\\blueC\", \"\\\\textcolor{##63d9ea}{#1}\");\ndefineMacro(\"\\\\blueD\", \"\\\\textcolor{##11accd}{#1}\");\ndefineMacro(\"\\\\blueE\", \"\\\\textcolor{##0c7f99}{#1}\");\ndefineMacro(\"\\\\tealA\", \"\\\\textcolor{##94fff5}{#1}\");\ndefineMacro(\"\\\\tealB\", \"\\\\textcolor{##26edd5}{#1}\");\ndefineMacro(\"\\\\tealC\", \"\\\\textcolor{##01d1c1}{#1}\");\ndefineMacro(\"\\\\tealD\", \"\\\\textcolor{##01a995}{#1}\");\ndefineMacro(\"\\\\tealE\", \"\\\\textcolor{##208170}{#1}\");\ndefineMacro(\"\\\\greenA\", \"\\\\textcolor{##b6ffb0}{#1}\");\ndefineMacro(\"\\\\greenB\", \"\\\\textcolor{##8af281}{#1}\");\ndefineMacro(\"\\\\greenC\", \"\\\\textcolor{##74cf70}{#1}\");\ndefineMacro(\"\\\\greenD\", \"\\\\textcolor{##1fab54}{#1}\");\ndefineMacro(\"\\\\greenE\", \"\\\\textcolor{##0d923f}{#1}\");\ndefineMacro(\"\\\\goldA\", \"\\\\textcolor{##ffd0a9}{#1}\");\ndefineMacro(\"\\\\goldB\", \"\\\\textcolor{##ffbb71}{#1}\");\ndefineMacro(\"\\\\goldC\", \"\\\\textcolor{##ff9c39}{#1}\");\ndefineMacro(\"\\\\goldD\", \"\\\\textcolor{##e07d10}{#1}\");\ndefineMacro(\"\\\\goldE\", \"\\\\textcolor{##a75a05}{#1}\");\ndefineMacro(\"\\\\redA\", \"\\\\textcolor{##fca9a9}{#1}\");\ndefineMacro(\"\\\\redB\", \"\\\\textcolor{##ff8482}{#1}\");\ndefineMacro(\"\\\\redC\", \"\\\\textcolor{##f9685d}{#1}\");\ndefineMacro(\"\\\\redD\", \"\\\\textcolor{##e84d39}{#1}\");\ndefineMacro(\"\\\\redE\", \"\\\\textcolor{##bc2612}{#1}\");\ndefineMacro(\"\\\\maroonA\", \"\\\\textcolor{##ffbde0}{#1}\");\ndefineMacro(\"\\\\maroonB\", \"\\\\textcolor{##ff92c6}{#1}\");\ndefineMacro(\"\\\\maroonC\", \"\\\\textcolor{##ed5fa6}{#1}\");\ndefineMacro(\"\\\\maroonD\", \"\\\\textcolor{##ca337c}{#1}\");\ndefineMacro(\"\\\\maroonE\", \"\\\\textcolor{##9e034e}{#1}\");\ndefineMacro(\"\\\\purpleA\", \"\\\\textcolor{##ddd7ff}{#1}\");\ndefineMacro(\"\\\\purpleB\", \"\\\\textcolor{##c6b9fc}{#1}\");\ndefineMacro(\"\\\\purpleC\", \"\\\\textcolor{##aa87ff}{#1}\");\ndefineMacro(\"\\\\purpleD\", \"\\\\textcolor{##7854ab}{#1}\");\ndefineMacro(\"\\\\purpleE\", \"\\\\textcolor{##543b78}{#1}\");\ndefineMacro(\"\\\\mintA\", \"\\\\textcolor{##f5f9e8}{#1}\");\ndefineMacro(\"\\\\mintB\", \"\\\\textcolor{##edf2df}{#1}\");\ndefineMacro(\"\\\\mintC\", \"\\\\textcolor{##e0e5cc}{#1}\");\ndefineMacro(\"\\\\grayA\", \"\\\\textcolor{##f6f7f7}{#1}\");\ndefineMacro(\"\\\\grayB\", \"\\\\textcolor{##f0f1f2}{#1}\");\ndefineMacro(\"\\\\grayC\", \"\\\\textcolor{##e3e5e6}{#1}\");\ndefineMacro(\"\\\\grayD\", \"\\\\textcolor{##d6d8da}{#1}\");\ndefineMacro(\"\\\\grayE\", \"\\\\textcolor{##babec2}{#1}\");\ndefineMacro(\"\\\\grayF\", \"\\\\textcolor{##888d93}{#1}\");\ndefineMacro(\"\\\\grayG\", \"\\\\textcolor{##626569}{#1}\");\ndefineMacro(\"\\\\grayH\", \"\\\\textcolor{##3b3e40}{#1}\");\ndefineMacro(\"\\\\grayI\", \"\\\\textcolor{##21242c}{#1}\");\ndefineMacro(\"\\\\kaBlue\", \"\\\\textcolor{##314453}{#1}\");\ndefineMacro(\"\\\\kaGreen\", \"\\\\textcolor{##71B307}{#1}\");\n;// CONCATENATED MODULE: ./src/MacroExpander.js\n/**\n * This file contains the “gullet” where macros are expanded\n * until only non-macro tokens remain.\n */\n\n\n\n\n\n\n\n// List of commands that act like macros but aren't defined as a macro,\n// function, or symbol. Used in `isDefined`.\nconst implicitCommands = {\n \"^\": true,\n // Parser.js\n \"_\": true,\n // Parser.js\n \"\\\\limits\": true,\n // Parser.js\n \"\\\\nolimits\": true // Parser.js\n\n};\nclass MacroExpander {\n constructor(input, settings, mode) {\n this.settings = void 0;\n this.expansionCount = void 0;\n this.lexer = void 0;\n this.macros = void 0;\n this.stack = void 0;\n this.mode = void 0;\n this.settings = settings;\n this.expansionCount = 0;\n this.feed(input); // Make new global namespace\n\n this.macros = new Namespace(src_macros, settings.macros);\n this.mode = mode;\n this.stack = []; // contains tokens in REVERSE order\n }\n /**\n * Feed a new input string to the same MacroExpander\n * (with existing macros etc.).\n */\n\n\n feed(input) {\n this.lexer = new Lexer(input, this.settings);\n }\n /**\n * Switches between \"text\" and \"math\" modes.\n */\n\n\n switchMode(newMode) {\n this.mode = newMode;\n }\n /**\n * Start a new group nesting within all namespaces.\n */\n\n\n beginGroup() {\n this.macros.beginGroup();\n }\n /**\n * End current group nesting within all namespaces.\n */\n\n\n endGroup() {\n this.macros.endGroup();\n }\n /**\n * Ends all currently nested groups (if any), restoring values before the\n * groups began. Useful in case of an error in the middle of parsing.\n */\n\n\n endGroups() {\n this.macros.endGroups();\n }\n /**\n * Returns the topmost token on the stack, without expanding it.\n * Similar in behavior to TeX's `\\futurelet`.\n */\n\n\n future() {\n if (this.stack.length === 0) {\n this.pushToken(this.lexer.lex());\n }\n\n return this.stack[this.stack.length - 1];\n }\n /**\n * Remove and return the next unexpanded token.\n */\n\n\n popToken() {\n this.future(); // ensure non-empty stack\n\n return this.stack.pop();\n }\n /**\n * Add a given token to the token stack. In particular, this get be used\n * to put back a token returned from one of the other methods.\n */\n\n\n pushToken(token) {\n this.stack.push(token);\n }\n /**\n * Append an array of tokens to the token stack.\n */\n\n\n pushTokens(tokens) {\n this.stack.push(...tokens);\n }\n /**\n * Find an macro argument without expanding tokens and append the array of\n * tokens to the token stack. Uses Token as a container for the result.\n */\n\n\n scanArgument(isOptional) {\n let start;\n let end;\n let tokens;\n\n if (isOptional) {\n this.consumeSpaces(); // \\@ifnextchar gobbles any space following it\n\n if (this.future().text !== \"[\") {\n return null;\n }\n\n start = this.popToken(); // don't include [ in tokens\n\n ({\n tokens,\n end\n } = this.consumeArg([\"]\"]));\n } else {\n ({\n tokens,\n start,\n end\n } = this.consumeArg());\n } // indicate the end of an argument\n\n\n this.pushToken(new Token(\"EOF\", end.loc));\n this.pushTokens(tokens);\n return start.range(end, \"\");\n }\n /**\n * Consume all following space tokens, without expansion.\n */\n\n\n consumeSpaces() {\n for (;;) {\n const token = this.future();\n\n if (token.text === \" \") {\n this.stack.pop();\n } else {\n break;\n }\n }\n }\n /**\n * Consume an argument from the token stream, and return the resulting array\n * of tokens and start/end token.\n */\n\n\n consumeArg(delims) {\n // The argument for a delimited parameter is the shortest (possibly\n // empty) sequence of tokens with properly nested {...} groups that is\n // followed ... by this particular list of non-parameter tokens.\n // The argument for an undelimited parameter is the next nonblank\n // token, unless that token is ‘{’, when the argument will be the\n // entire {...} group that follows.\n const tokens = [];\n const isDelimited = delims && delims.length > 0;\n\n if (!isDelimited) {\n // Ignore spaces between arguments. As the TeXbook says:\n // \"After you have said ‘\\def\\row#1#2{...}’, you are allowed to\n // put spaces between the arguments (e.g., ‘\\row x n’), because\n // TeX doesn’t use single spaces as undelimited arguments.\"\n this.consumeSpaces();\n }\n\n const start = this.future();\n let tok;\n let depth = 0;\n let match = 0;\n\n do {\n tok = this.popToken();\n tokens.push(tok);\n\n if (tok.text === \"{\") {\n ++depth;\n } else if (tok.text === \"}\") {\n --depth;\n\n if (depth === -1) {\n throw new src_ParseError(\"Extra }\", tok);\n }\n } else if (tok.text === \"EOF\") {\n throw new src_ParseError(\"Unexpected end of input in a macro argument\" + \", expected '\" + (delims && isDelimited ? delims[match] : \"}\") + \"'\", tok);\n }\n\n if (delims && isDelimited) {\n if ((depth === 0 || depth === 1 && delims[match] === \"{\") && tok.text === delims[match]) {\n ++match;\n\n if (match === delims.length) {\n // don't include delims in tokens\n tokens.splice(-match, match);\n break;\n }\n } else {\n match = 0;\n }\n }\n } while (depth !== 0 || isDelimited); // If the argument found ... has the form ‘{}’,\n // ... the outermost braces enclosing the argument are removed\n\n\n if (start.text === \"{\" && tokens[tokens.length - 1].text === \"}\") {\n tokens.pop();\n tokens.shift();\n }\n\n tokens.reverse(); // to fit in with stack order\n\n return {\n tokens,\n start,\n end: tok\n };\n }\n /**\n * Consume the specified number of (delimited) arguments from the token\n * stream and return the resulting array of arguments.\n */\n\n\n consumeArgs(numArgs, delimiters) {\n if (delimiters) {\n if (delimiters.length !== numArgs + 1) {\n throw new src_ParseError(\"The length of delimiters doesn't match the number of args!\");\n }\n\n const delims = delimiters[0];\n\n for (let i = 0; i < delims.length; i++) {\n const tok = this.popToken();\n\n if (delims[i] !== tok.text) {\n throw new src_ParseError(\"Use of the macro doesn't match its definition\", tok);\n }\n }\n }\n\n const args = [];\n\n for (let i = 0; i < numArgs; i++) {\n args.push(this.consumeArg(delimiters && delimiters[i + 1]).tokens);\n }\n\n return args;\n }\n /**\n * Increment `expansionCount` by the specified amount.\n * Throw an error if it exceeds `maxExpand`.\n */\n\n\n countExpansion(amount) {\n this.expansionCount += amount;\n\n if (this.expansionCount > this.settings.maxExpand) {\n throw new src_ParseError(\"Too many expansions: infinite loop or \" + \"need to increase maxExpand setting\");\n }\n }\n /**\n * Expand the next token only once if possible.\n *\n * If the token is expanded, the resulting tokens will be pushed onto\n * the stack in reverse order, and the number of such tokens will be\n * returned. This number might be zero or positive.\n *\n * If not, the return value is `false`, and the next token remains at the\n * top of the stack.\n *\n * In either case, the next token will be on the top of the stack,\n * or the stack will be empty (in case of empty expansion\n * and no other tokens).\n *\n * Used to implement `expandAfterFuture` and `expandNextToken`.\n *\n * If expandableOnly, only expandable tokens are expanded and\n * an undefined control sequence results in an error.\n */\n\n\n expandOnce(expandableOnly) {\n const topToken = this.popToken();\n const name = topToken.text;\n const expansion = !topToken.noexpand ? this._getExpansion(name) : null;\n\n if (expansion == null || expandableOnly && expansion.unexpandable) {\n if (expandableOnly && expansion == null && name[0] === \"\\\\\" && !this.isDefined(name)) {\n throw new src_ParseError(\"Undefined control sequence: \" + name);\n }\n\n this.pushToken(topToken);\n return false;\n }\n\n this.countExpansion(1);\n let tokens = expansion.tokens;\n const args = this.consumeArgs(expansion.numArgs, expansion.delimiters);\n\n if (expansion.numArgs) {\n // paste arguments in place of the placeholders\n tokens = tokens.slice(); // make a shallow copy\n\n for (let i = tokens.length - 1; i >= 0; --i) {\n let tok = tokens[i];\n\n if (tok.text === \"#\") {\n if (i === 0) {\n throw new src_ParseError(\"Incomplete placeholder at end of macro body\", tok);\n }\n\n tok = tokens[--i]; // next token on stack\n\n if (tok.text === \"#\") {\n // ## → #\n tokens.splice(i + 1, 1); // drop first #\n } else if (/^[1-9]$/.test(tok.text)) {\n // replace the placeholder with the indicated argument\n tokens.splice(i, 2, ...args[+tok.text - 1]);\n } else {\n throw new src_ParseError(\"Not a valid argument number\", tok);\n }\n }\n }\n } // Concatenate expansion onto top of stack.\n\n\n this.pushTokens(tokens);\n return tokens.length;\n }\n /**\n * Expand the next token only once (if possible), and return the resulting\n * top token on the stack (without removing anything from the stack).\n * Similar in behavior to TeX's `\\expandafter\\futurelet`.\n * Equivalent to expandOnce() followed by future().\n */\n\n\n expandAfterFuture() {\n this.expandOnce();\n return this.future();\n }\n /**\n * Recursively expand first token, then return first non-expandable token.\n */\n\n\n expandNextToken() {\n for (;;) {\n if (this.expandOnce() === false) {\n // fully expanded\n const token = this.stack.pop(); // the token after \\noexpand is interpreted as if its meaning\n // were ‘\\relax’\n\n if (token.treatAsRelax) {\n token.text = \"\\\\relax\";\n }\n\n return token;\n }\n } // Flow unable to figure out that this pathway is impossible.\n // https://github.com/facebook/flow/issues/4808\n\n\n throw new Error(); // eslint-disable-line no-unreachable\n }\n /**\n * Fully expand the given macro name and return the resulting list of\n * tokens, or return `undefined` if no such macro is defined.\n */\n\n\n expandMacro(name) {\n return this.macros.has(name) ? this.expandTokens([new Token(name)]) : undefined;\n }\n /**\n * Fully expand the given token stream and return the resulting list of\n * tokens. Note that the input tokens are in reverse order, but the\n * output tokens are in forward order.\n */\n\n\n expandTokens(tokens) {\n const output = [];\n const oldStackLength = this.stack.length;\n this.pushTokens(tokens);\n\n while (this.stack.length > oldStackLength) {\n // Expand only expandable tokens\n if (this.expandOnce(true) === false) {\n // fully expanded\n const token = this.stack.pop();\n\n if (token.treatAsRelax) {\n // the expansion of \\noexpand is the token itself\n token.noexpand = false;\n token.treatAsRelax = false;\n }\n\n output.push(token);\n }\n } // Count all of these tokens as additional expansions, to prevent\n // exponential blowup from linearly many \\edef's.\n\n\n this.countExpansion(output.length);\n return output;\n }\n /**\n * Fully expand the given macro name and return the result as a string,\n * or return `undefined` if no such macro is defined.\n */\n\n\n expandMacroAsText(name) {\n const tokens = this.expandMacro(name);\n\n if (tokens) {\n return tokens.map(token => token.text).join(\"\");\n } else {\n return tokens;\n }\n }\n /**\n * Returns the expanded macro as a reversed array of tokens and a macro\n * argument count. Or returns `null` if no such macro.\n */\n\n\n _getExpansion(name) {\n const definition = this.macros.get(name);\n\n if (definition == null) {\n // mainly checking for undefined here\n return definition;\n } // If a single character has an associated catcode other than 13\n // (active character), then don't expand it.\n\n\n if (name.length === 1) {\n const catcode = this.lexer.catcodes[name];\n\n if (catcode != null && catcode !== 13) {\n return;\n }\n }\n\n const expansion = typeof definition === \"function\" ? definition(this) : definition;\n\n if (typeof expansion === \"string\") {\n let numArgs = 0;\n\n if (expansion.indexOf(\"#\") !== -1) {\n const stripped = expansion.replace(/##/g, \"\");\n\n while (stripped.indexOf(\"#\" + (numArgs + 1)) !== -1) {\n ++numArgs;\n }\n }\n\n const bodyLexer = new Lexer(expansion, this.settings);\n const tokens = [];\n let tok = bodyLexer.lex();\n\n while (tok.text !== \"EOF\") {\n tokens.push(tok);\n tok = bodyLexer.lex();\n }\n\n tokens.reverse(); // to fit in with stack using push and pop\n\n const expanded = {\n tokens,\n numArgs\n };\n return expanded;\n }\n\n return expansion;\n }\n /**\n * Determine whether a command is currently \"defined\" (has some\n * functionality), meaning that it's a macro (in the current group),\n * a function, a symbol, or one of the special commands listed in\n * `implicitCommands`.\n */\n\n\n isDefined(name) {\n return this.macros.has(name) || src_functions.hasOwnProperty(name) || src_symbols.math.hasOwnProperty(name) || src_symbols.text.hasOwnProperty(name) || implicitCommands.hasOwnProperty(name);\n }\n /**\n * Determine whether a command is expandable.\n */\n\n\n isExpandable(name) {\n const macro = this.macros.get(name);\n return macro != null ? typeof macro === \"string\" || typeof macro === \"function\" || !macro.unexpandable : src_functions.hasOwnProperty(name) && !src_functions[name].primitive;\n }\n\n}\n;// CONCATENATED MODULE: ./src/unicodeSupOrSub.js\n// Helpers for Parser.js handling of Unicode (sub|super)script characters.\nconst unicodeSubRegEx = /^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/;\nconst uSubsAndSups = Object.freeze({\n '₊': '+',\n '₋': '-',\n '₌': '=',\n '₍': '(',\n '₎': ')',\n '₀': '0',\n '₁': '1',\n '₂': '2',\n '₃': '3',\n '₄': '4',\n '₅': '5',\n '₆': '6',\n '₇': '7',\n '₈': '8',\n '₉': '9',\n '\\u2090': 'a',\n '\\u2091': 'e',\n '\\u2095': 'h',\n '\\u1D62': 'i',\n '\\u2C7C': 'j',\n '\\u2096': 'k',\n '\\u2097': 'l',\n '\\u2098': 'm',\n '\\u2099': 'n',\n '\\u2092': 'o',\n '\\u209A': 'p',\n '\\u1D63': 'r',\n '\\u209B': 's',\n '\\u209C': 't',\n '\\u1D64': 'u',\n '\\u1D65': 'v',\n '\\u2093': 'x',\n '\\u1D66': 'β',\n '\\u1D67': 'γ',\n '\\u1D68': 'ρ',\n '\\u1D69': '\\u03d5',\n '\\u1D6A': 'χ',\n '⁺': '+',\n '⁻': '-',\n '⁼': '=',\n '⁽': '(',\n '⁾': ')',\n '⁰': '0',\n '¹': '1',\n '²': '2',\n '³': '3',\n '⁴': '4',\n '⁵': '5',\n '⁶': '6',\n '⁷': '7',\n '⁸': '8',\n '⁹': '9',\n '\\u1D2C': 'A',\n '\\u1D2E': 'B',\n '\\u1D30': 'D',\n '\\u1D31': 'E',\n '\\u1D33': 'G',\n '\\u1D34': 'H',\n '\\u1D35': 'I',\n '\\u1D36': 'J',\n '\\u1D37': 'K',\n '\\u1D38': 'L',\n '\\u1D39': 'M',\n '\\u1D3A': 'N',\n '\\u1D3C': 'O',\n '\\u1D3E': 'P',\n '\\u1D3F': 'R',\n '\\u1D40': 'T',\n '\\u1D41': 'U',\n '\\u2C7D': 'V',\n '\\u1D42': 'W',\n '\\u1D43': 'a',\n '\\u1D47': 'b',\n '\\u1D9C': 'c',\n '\\u1D48': 'd',\n '\\u1D49': 'e',\n '\\u1DA0': 'f',\n '\\u1D4D': 'g',\n '\\u02B0': 'h',\n '\\u2071': 'i',\n '\\u02B2': 'j',\n '\\u1D4F': 'k',\n '\\u02E1': 'l',\n '\\u1D50': 'm',\n '\\u207F': 'n',\n '\\u1D52': 'o',\n '\\u1D56': 'p',\n '\\u02B3': 'r',\n '\\u02E2': 's',\n '\\u1D57': 't',\n '\\u1D58': 'u',\n '\\u1D5B': 'v',\n '\\u02B7': 'w',\n '\\u02E3': 'x',\n '\\u02B8': 'y',\n '\\u1DBB': 'z',\n '\\u1D5D': 'β',\n '\\u1D5E': 'γ',\n '\\u1D5F': 'δ',\n '\\u1D60': '\\u03d5',\n '\\u1D61': 'χ',\n '\\u1DBF': 'θ'\n});\n;// CONCATENATED MODULE: ./src/Parser.js\n/* eslint no-constant-condition:0 */\n\n\n\n\n\n\n\n\n\n\n // Pre-evaluate both modules as unicodeSymbols require String.normalize()\n\nconst unicodeAccents = {\n \"́\": {\n \"text\": \"\\\\'\",\n \"math\": \"\\\\acute\"\n },\n \"̀\": {\n \"text\": \"\\\\`\",\n \"math\": \"\\\\grave\"\n },\n \"̈\": {\n \"text\": \"\\\\\\\"\",\n \"math\": \"\\\\ddot\"\n },\n \"̃\": {\n \"text\": \"\\\\~\",\n \"math\": \"\\\\tilde\"\n },\n \"̄\": {\n \"text\": \"\\\\=\",\n \"math\": \"\\\\bar\"\n },\n \"̆\": {\n \"text\": \"\\\\u\",\n \"math\": \"\\\\breve\"\n },\n \"̌\": {\n \"text\": \"\\\\v\",\n \"math\": \"\\\\check\"\n },\n \"̂\": {\n \"text\": \"\\\\^\",\n \"math\": \"\\\\hat\"\n },\n \"̇\": {\n \"text\": \"\\\\.\",\n \"math\": \"\\\\dot\"\n },\n \"̊\": {\n \"text\": \"\\\\r\",\n \"math\": \"\\\\mathring\"\n },\n \"̋\": {\n \"text\": \"\\\\H\"\n },\n \"̧\": {\n \"text\": \"\\\\c\"\n }\n};\nconst unicodeSymbols = {\n \"á\": \"á\",\n \"à\": \"à\",\n \"ä\": \"ä\",\n \"ǟ\": \"ǟ\",\n \"ã\": \"ã\",\n \"ā\": \"ā\",\n \"ă\": \"ă\",\n \"ắ\": \"ắ\",\n \"ằ\": \"ằ\",\n \"ẵ\": \"ẵ\",\n \"ǎ\": \"ǎ\",\n \"â\": \"â\",\n \"ấ\": \"ấ\",\n \"ầ\": \"ầ\",\n \"ẫ\": \"ẫ\",\n \"ȧ\": \"ȧ\",\n \"ǡ\": \"ǡ\",\n \"å\": \"å\",\n \"ǻ\": \"ǻ\",\n \"ḃ\": \"ḃ\",\n \"ć\": \"ć\",\n \"ḉ\": \"ḉ\",\n \"č\": \"č\",\n \"ĉ\": \"ĉ\",\n \"ċ\": \"ċ\",\n \"ç\": \"ç\",\n \"ď\": \"ď\",\n \"ḋ\": \"ḋ\",\n \"ḑ\": \"ḑ\",\n \"é\": \"é\",\n \"è\": \"è\",\n \"ë\": \"ë\",\n \"ẽ\": \"ẽ\",\n \"ē\": \"ē\",\n \"ḗ\": \"ḗ\",\n \"ḕ\": \"ḕ\",\n \"ĕ\": \"ĕ\",\n \"ḝ\": \"ḝ\",\n \"ě\": \"ě\",\n \"ê\": \"ê\",\n \"ế\": \"ế\",\n \"ề\": \"ề\",\n \"ễ\": \"ễ\",\n \"ė\": \"ė\",\n \"ȩ\": \"ȩ\",\n \"ḟ\": \"ḟ\",\n \"ǵ\": \"ǵ\",\n \"ḡ\": \"ḡ\",\n \"ğ\": \"ğ\",\n \"ǧ\": \"ǧ\",\n \"ĝ\": \"ĝ\",\n \"ġ\": \"ġ\",\n \"ģ\": \"ģ\",\n \"ḧ\": \"ḧ\",\n \"ȟ\": \"ȟ\",\n \"ĥ\": \"ĥ\",\n \"ḣ\": \"ḣ\",\n \"ḩ\": \"ḩ\",\n \"í\": \"í\",\n \"ì\": \"ì\",\n \"ï\": \"ï\",\n \"ḯ\": \"ḯ\",\n \"ĩ\": \"ĩ\",\n \"ī\": \"ī\",\n \"ĭ\": \"ĭ\",\n \"ǐ\": \"ǐ\",\n \"î\": \"î\",\n \"ǰ\": \"ǰ\",\n \"ĵ\": \"ĵ\",\n \"ḱ\": \"ḱ\",\n \"ǩ\": \"ǩ\",\n \"ķ\": \"ķ\",\n \"ĺ\": \"ĺ\",\n \"ľ\": \"ľ\",\n \"ļ\": \"ļ\",\n \"ḿ\": \"ḿ\",\n \"ṁ\": \"ṁ\",\n \"ń\": \"ń\",\n \"ǹ\": \"ǹ\",\n \"ñ\": \"ñ\",\n \"ň\": \"ň\",\n \"ṅ\": \"ṅ\",\n \"ņ\": \"ņ\",\n \"ó\": \"ó\",\n \"ò\": \"ò\",\n \"ö\": \"ö\",\n \"ȫ\": \"ȫ\",\n \"õ\": \"õ\",\n \"ṍ\": \"ṍ\",\n \"ṏ\": \"ṏ\",\n \"ȭ\": \"ȭ\",\n \"ō\": \"ō\",\n \"ṓ\": \"ṓ\",\n \"ṑ\": \"ṑ\",\n \"ŏ\": \"ŏ\",\n \"ǒ\": \"ǒ\",\n \"ô\": \"ô\",\n \"ố\": \"ố\",\n \"ồ\": \"ồ\",\n \"ỗ\": \"ỗ\",\n \"ȯ\": \"ȯ\",\n \"ȱ\": \"ȱ\",\n \"ő\": \"ő\",\n \"ṕ\": \"ṕ\",\n \"ṗ\": \"ṗ\",\n \"ŕ\": \"ŕ\",\n \"ř\": \"ř\",\n \"ṙ\": \"ṙ\",\n \"ŗ\": \"ŗ\",\n \"ś\": \"ś\",\n \"ṥ\": \"ṥ\",\n \"š\": \"š\",\n \"ṧ\": \"ṧ\",\n \"ŝ\": \"ŝ\",\n \"ṡ\": \"ṡ\",\n \"ş\": \"ş\",\n \"ẗ\": \"ẗ\",\n \"ť\": \"ť\",\n \"ṫ\": \"ṫ\",\n \"ţ\": \"ţ\",\n \"ú\": \"ú\",\n \"ù\": \"ù\",\n \"ü\": \"ü\",\n \"ǘ\": \"ǘ\",\n \"ǜ\": \"ǜ\",\n \"ǖ\": \"ǖ\",\n \"ǚ\": \"ǚ\",\n \"ũ\": \"ũ\",\n \"ṹ\": \"ṹ\",\n \"ū\": \"ū\",\n \"ṻ\": \"ṻ\",\n \"ŭ\": \"ŭ\",\n \"ǔ\": \"ǔ\",\n \"û\": \"û\",\n \"ů\": \"ů\",\n \"ű\": \"ű\",\n \"ṽ\": \"ṽ\",\n \"ẃ\": \"ẃ\",\n \"ẁ\": \"ẁ\",\n \"ẅ\": \"ẅ\",\n \"ŵ\": \"ŵ\",\n \"ẇ\": \"ẇ\",\n \"ẘ\": \"ẘ\",\n \"ẍ\": \"ẍ\",\n \"ẋ\": \"ẋ\",\n \"ý\": \"ý\",\n \"ỳ\": \"ỳ\",\n \"ÿ\": \"ÿ\",\n \"ỹ\": \"ỹ\",\n \"ȳ\": \"ȳ\",\n \"ŷ\": \"ŷ\",\n \"ẏ\": \"ẏ\",\n \"ẙ\": \"ẙ\",\n \"ź\": \"ź\",\n \"ž\": \"ž\",\n \"ẑ\": \"ẑ\",\n \"ż\": \"ż\",\n \"Á\": \"Á\",\n \"À\": \"À\",\n \"Ä\": \"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",\n \"ὺ\": \"ὺ\",\n \"ϋ\": \"ϋ\",\n \"ΰ\": \"ΰ\",\n \"ῢ\": \"ῢ\",\n \"ῡ\": \"ῡ\",\n \"ῠ\": \"ῠ\",\n \"ώ\": \"ώ\",\n \"ὼ\": \"ὼ\",\n \"Ύ\": \"Ύ\",\n \"Ὺ\": \"Ὺ\",\n \"Ϋ\": \"Ϋ\",\n \"Ῡ\": \"Ῡ\",\n \"Ῠ\": \"Ῠ\",\n \"Ώ\": \"Ώ\",\n \"Ὼ\": \"Ὼ\"\n};\n\n/**\n * This file contains the parser used to parse out a TeX expression from the\n * input. Since TeX isn't context-free, standard parsers don't work particularly\n * well.\n *\n * The strategy of this parser is as such:\n *\n * The main functions (the `.parse...` ones) take a position in the current\n * parse string to parse tokens from. The lexer (found in Lexer.js, stored at\n * this.gullet.lexer) also supports pulling out tokens at arbitrary places. When\n * individual tokens are needed at a position, the lexer is called to pull out a\n * token, which is then used.\n *\n * The parser has a property called \"mode\" indicating the mode that\n * the parser is currently in. Currently it has to be one of \"math\" or\n * \"text\", which denotes whether the current environment is a math-y\n * one or a text-y one (e.g. inside \\text). Currently, this serves to\n * limit the functions which can be used in text mode.\n *\n * The main functions then return an object which contains the useful data that\n * was parsed at its given point, and a new position at the end of the parsed\n * data. The main functions can call each other and continue the parsing by\n * using the returned position as a new starting point.\n *\n * There are also extra `.handle...` functions, which pull out some reused\n * functionality into self-contained functions.\n *\n * The functions return ParseNodes.\n */\nclass Parser {\n constructor(input, settings) {\n this.mode = void 0;\n this.gullet = void 0;\n this.settings = void 0;\n this.leftrightDepth = void 0;\n this.nextToken = void 0;\n // Start in math mode\n this.mode = \"math\"; // Create a new macro expander (gullet) and (indirectly via that) also a\n // new lexer (mouth) for this parser (stomach, in the language of TeX)\n\n this.gullet = new MacroExpander(input, settings, this.mode); // Store the settings for use in parsing\n\n this.settings = settings; // Count leftright depth (for \\middle errors)\n\n this.leftrightDepth = 0;\n }\n /**\n * Checks a result to make sure it has the right type, and throws an\n * appropriate error otherwise.\n */\n\n\n expect(text, consume) {\n if (consume === void 0) {\n consume = true;\n }\n\n if (this.fetch().text !== text) {\n throw new src_ParseError(\"Expected '\" + text + \"', got '\" + this.fetch().text + \"'\", this.fetch());\n }\n\n if (consume) {\n this.consume();\n }\n }\n /**\n * Discards the current lookahead token, considering it consumed.\n */\n\n\n consume() {\n this.nextToken = null;\n }\n /**\n * Return the current lookahead token, or if there isn't one (at the\n * beginning, or if the previous lookahead token was consume()d),\n * fetch the next token as the new lookahead token and return it.\n */\n\n\n fetch() {\n if (this.nextToken == null) {\n this.nextToken = this.gullet.expandNextToken();\n }\n\n return this.nextToken;\n }\n /**\n * Switches between \"text\" and \"math\" modes.\n */\n\n\n switchMode(newMode) {\n this.mode = newMode;\n this.gullet.switchMode(newMode);\n }\n /**\n * Main parsing function, which parses an entire input.\n */\n\n\n parse() {\n if (!this.settings.globalGroup) {\n // Create a group namespace for the math expression.\n // (LaTeX creates a new group for every $...$, $$...$$, \\[...\\].)\n this.gullet.beginGroup();\n } // Use old \\color behavior (same as LaTeX's \\textcolor) if requested.\n // We do this within the group for the math expression, so it doesn't\n // pollute settings.macros.\n\n\n if (this.settings.colorIsTextColor) {\n this.gullet.macros.set(\"\\\\color\", \"\\\\textcolor\");\n }\n\n try {\n // Try to parse the input\n const parse = this.parseExpression(false); // If we succeeded, make sure there's an EOF at the end\n\n this.expect(\"EOF\"); // End the group namespace for the expression\n\n if (!this.settings.globalGroup) {\n this.gullet.endGroup();\n }\n\n return parse; // Close any leftover groups in case of a parse error.\n } finally {\n this.gullet.endGroups();\n }\n }\n /**\n * Fully parse a separate sequence of tokens as a separate job.\n * Tokens should be specified in reverse order, as in a MacroDefinition.\n */\n\n\n subparse(tokens) {\n // Save the next token from the current job.\n const oldToken = this.nextToken;\n this.consume(); // Run the new job, terminating it with an excess '}'\n\n this.gullet.pushToken(new Token(\"}\"));\n this.gullet.pushTokens(tokens);\n const parse = this.parseExpression(false);\n this.expect(\"}\"); // Restore the next token from the current job.\n\n this.nextToken = oldToken;\n return parse;\n }\n\n /**\n * Parses an \"expression\", which is a list of atoms.\n *\n * `breakOnInfix`: Should the parsing stop when we hit infix nodes? This\n * happens when functions have higher precedence han infix\n * nodes in implicit parses.\n *\n * `breakOnTokenText`: The text of the token that the expression should end\n * with, or `null` if something else should end the\n * expression.\n */\n parseExpression(breakOnInfix, breakOnTokenText) {\n const body = []; // Keep adding atoms to the body until we can't parse any more atoms (either\n // we reached the end, a }, or a \\right)\n\n while (true) {\n // Ignore spaces in math mode\n if (this.mode === \"math\") {\n this.consumeSpaces();\n }\n\n const lex = this.fetch();\n\n if (Parser.endOfExpression.indexOf(lex.text) !== -1) {\n break;\n }\n\n if (breakOnTokenText && lex.text === breakOnTokenText) {\n break;\n }\n\n if (breakOnInfix && src_functions[lex.text] && src_functions[lex.text].infix) {\n break;\n }\n\n const atom = this.parseAtom(breakOnTokenText);\n\n if (!atom) {\n break;\n } else if (atom.type === \"internal\") {\n continue;\n }\n\n body.push(atom);\n }\n\n if (this.mode === \"text\") {\n this.formLigatures(body);\n }\n\n return this.handleInfixNodes(body);\n }\n /**\n * Rewrites infix operators such as \\over with corresponding commands such\n * as \\frac.\n *\n * There can only be one infix operator per group. If there's more than one\n * then the expression is ambiguous. This can be resolved by adding {}.\n */\n\n\n handleInfixNodes(body) {\n let overIndex = -1;\n let funcName;\n\n for (let i = 0; i < body.length; i++) {\n if (body[i].type === \"infix\") {\n if (overIndex !== -1) {\n throw new src_ParseError(\"only one infix operator per group\", body[i].token);\n }\n\n overIndex = i;\n funcName = body[i].replaceWith;\n }\n }\n\n if (overIndex !== -1 && funcName) {\n let numerNode;\n let denomNode;\n const numerBody = body.slice(0, overIndex);\n const denomBody = body.slice(overIndex + 1);\n\n if (numerBody.length === 1 && numerBody[0].type === \"ordgroup\") {\n numerNode = numerBody[0];\n } else {\n numerNode = {\n type: \"ordgroup\",\n mode: this.mode,\n body: numerBody\n };\n }\n\n if (denomBody.length === 1 && denomBody[0].type === \"ordgroup\") {\n denomNode = denomBody[0];\n } else {\n denomNode = {\n type: \"ordgroup\",\n mode: this.mode,\n body: denomBody\n };\n }\n\n let node;\n\n if (funcName === \"\\\\\\\\abovefrac\") {\n node = this.callFunction(funcName, [numerNode, body[overIndex], denomNode], []);\n } else {\n node = this.callFunction(funcName, [numerNode, denomNode], []);\n }\n\n return [node];\n } else {\n return body;\n }\n }\n /**\n * Handle a subscript or superscript with nice errors.\n */\n\n\n handleSupSubscript(name // For error reporting.\n ) {\n const symbolToken = this.fetch();\n const symbol = symbolToken.text;\n this.consume();\n this.consumeSpaces(); // ignore spaces before sup/subscript argument\n\n const group = this.parseGroup(name);\n\n if (!group) {\n throw new src_ParseError(\"Expected group after '\" + symbol + \"'\", symbolToken);\n }\n\n return group;\n }\n /**\n * Converts the textual input of an unsupported command into a text node\n * contained within a color node whose color is determined by errorColor\n */\n\n\n formatUnsupportedCmd(text) {\n const textordArray = [];\n\n for (let i = 0; i < text.length; i++) {\n textordArray.push({\n type: \"textord\",\n mode: \"text\",\n text: text[i]\n });\n }\n\n const textNode = {\n type: \"text\",\n mode: this.mode,\n body: textordArray\n };\n const colorNode = {\n type: \"color\",\n mode: this.mode,\n color: this.settings.errorColor,\n body: [textNode]\n };\n return colorNode;\n }\n /**\n * Parses a group with optional super/subscripts.\n */\n\n\n parseAtom(breakOnTokenText) {\n // The body of an atom is an implicit group, so that things like\n // \\left(x\\right)^2 work correctly.\n const base = this.parseGroup(\"atom\", breakOnTokenText); // In text mode, we don't have superscripts or subscripts\n\n if (this.mode === \"text\") {\n return base;\n } // Note that base may be empty (i.e. null) at this point.\n\n\n let superscript;\n let subscript;\n\n while (true) {\n // Guaranteed in math mode, so eat any spaces first.\n this.consumeSpaces(); // Lex the first token\n\n const lex = this.fetch();\n\n if (lex.text === \"\\\\limits\" || lex.text === \"\\\\nolimits\") {\n // We got a limit control\n if (base && base.type === \"op\") {\n const limits = lex.text === \"\\\\limits\";\n base.limits = limits;\n base.alwaysHandleSupSub = true;\n } else if (base && base.type === \"operatorname\") {\n if (base.alwaysHandleSupSub) {\n base.limits = lex.text === \"\\\\limits\";\n }\n } else {\n throw new src_ParseError(\"Limit controls must follow a math operator\", lex);\n }\n\n this.consume();\n } else if (lex.text === \"^\") {\n // We got a superscript start\n if (superscript) {\n throw new src_ParseError(\"Double superscript\", lex);\n }\n\n superscript = this.handleSupSubscript(\"superscript\");\n } else if (lex.text === \"_\") {\n // We got a subscript start\n if (subscript) {\n throw new src_ParseError(\"Double subscript\", lex);\n }\n\n subscript = this.handleSupSubscript(\"subscript\");\n } else if (lex.text === \"'\") {\n // We got a prime\n if (superscript) {\n throw new src_ParseError(\"Double superscript\", lex);\n }\n\n const prime = {\n type: \"textord\",\n mode: this.mode,\n text: \"\\\\prime\"\n }; // Many primes can be grouped together, so we handle this here\n\n const primes = [prime];\n this.consume(); // Keep lexing tokens until we get something that's not a prime\n\n while (this.fetch().text === \"'\") {\n // For each one, add another prime to the list\n primes.push(prime);\n this.consume();\n } // If there's a superscript following the primes, combine that\n // superscript in with the primes.\n\n\n if (this.fetch().text === \"^\") {\n primes.push(this.handleSupSubscript(\"superscript\"));\n } // Put everything into an ordgroup as the superscript\n\n\n superscript = {\n type: \"ordgroup\",\n mode: this.mode,\n body: primes\n };\n } else if (uSubsAndSups[lex.text]) {\n // A Unicode subscript or superscript character.\n // We treat these similarly to the unicode-math package.\n // So we render a string of Unicode (sub|super)scripts the\n // same as a (sub|super)script of regular characters.\n const isSub = unicodeSubRegEx.test(lex.text);\n const subsupTokens = [];\n subsupTokens.push(new Token(uSubsAndSups[lex.text]));\n this.consume(); // Continue fetching tokens to fill out the string.\n\n while (true) {\n const token = this.fetch().text;\n\n if (!uSubsAndSups[token]) {\n break;\n }\n\n if (unicodeSubRegEx.test(token) !== isSub) {\n break;\n }\n\n subsupTokens.unshift(new Token(uSubsAndSups[token]));\n this.consume();\n } // Now create a (sub|super)script.\n\n\n const body = this.subparse(subsupTokens);\n\n if (isSub) {\n subscript = {\n type: \"ordgroup\",\n mode: \"math\",\n body\n };\n } else {\n superscript = {\n type: \"ordgroup\",\n mode: \"math\",\n body\n };\n }\n } else {\n // If it wasn't ^, _, or ', stop parsing super/subscripts\n break;\n }\n } // Base must be set if superscript or subscript are set per logic above,\n // but need to check here for type check to pass.\n\n\n if (superscript || subscript) {\n // If we got either a superscript or subscript, create a supsub\n return {\n type: \"supsub\",\n mode: this.mode,\n base: base,\n sup: superscript,\n sub: subscript\n };\n } else {\n // Otherwise return the original body\n return base;\n }\n }\n /**\n * Parses an entire function, including its base and all of its arguments.\n */\n\n\n parseFunction(breakOnTokenText, name // For determining its context\n ) {\n const token = this.fetch();\n const func = token.text;\n const funcData = src_functions[func];\n\n if (!funcData) {\n return null;\n }\n\n this.consume(); // consume command token\n\n if (name && name !== \"atom\" && !funcData.allowedInArgument) {\n throw new src_ParseError(\"Got function '\" + func + \"' with no arguments\" + (name ? \" as \" + name : \"\"), token);\n } else if (this.mode === \"text\" && !funcData.allowedInText) {\n throw new src_ParseError(\"Can't use function '\" + func + \"' in text mode\", token);\n } else if (this.mode === \"math\" && funcData.allowedInMath === false) {\n throw new src_ParseError(\"Can't use function '\" + func + \"' in math mode\", token);\n }\n\n const {\n args,\n optArgs\n } = this.parseArguments(func, funcData);\n return this.callFunction(func, args, optArgs, token, breakOnTokenText);\n }\n /**\n * Call a function handler with a suitable context and arguments.\n */\n\n\n callFunction(name, args, optArgs, token, breakOnTokenText) {\n const context = {\n funcName: name,\n parser: this,\n token,\n breakOnTokenText\n };\n const func = src_functions[name];\n\n if (func && func.handler) {\n return func.handler(context, args, optArgs);\n } else {\n throw new src_ParseError(\"No function handler for \" + name);\n }\n }\n /**\n * Parses the arguments of a function or environment\n */\n\n\n parseArguments(func, // Should look like \"\\name\" or \"\\begin{name}\".\n funcData) {\n const totalArgs = funcData.numArgs + funcData.numOptionalArgs;\n\n if (totalArgs === 0) {\n return {\n args: [],\n optArgs: []\n };\n }\n\n const args = [];\n const optArgs = [];\n\n for (let i = 0; i < totalArgs; i++) {\n let argType = funcData.argTypes && funcData.argTypes[i];\n const isOptional = i < funcData.numOptionalArgs;\n\n if (funcData.primitive && argType == null || // \\sqrt expands into primitive if optional argument doesn't exist\n funcData.type === \"sqrt\" && i === 1 && optArgs[0] == null) {\n argType = \"primitive\";\n }\n\n const arg = this.parseGroupOfType(\"argument to '\" + func + \"'\", argType, isOptional);\n\n if (isOptional) {\n optArgs.push(arg);\n } else if (arg != null) {\n args.push(arg);\n } else {\n // should be unreachable\n throw new src_ParseError(\"Null argument, please report this as a bug\");\n }\n }\n\n return {\n args,\n optArgs\n };\n }\n /**\n * Parses a group when the mode is changing.\n */\n\n\n parseGroupOfType(name, type, optional) {\n switch (type) {\n case \"color\":\n return this.parseColorGroup(optional);\n\n case \"size\":\n return this.parseSizeGroup(optional);\n\n case \"url\":\n return this.parseUrlGroup(optional);\n\n case \"math\":\n case \"text\":\n return this.parseArgumentGroup(optional, type);\n\n case \"hbox\":\n {\n // hbox argument type wraps the argument in the equivalent of\n // \\hbox, which is like \\text but switching to \\textstyle size.\n const group = this.parseArgumentGroup(optional, \"text\");\n return group != null ? {\n type: \"styling\",\n mode: group.mode,\n body: [group],\n style: \"text\" // simulate \\textstyle\n\n } : null;\n }\n\n case \"raw\":\n {\n const token = this.parseStringGroup(\"raw\", optional);\n return token != null ? {\n type: \"raw\",\n mode: \"text\",\n string: token.text\n } : null;\n }\n\n case \"primitive\":\n {\n if (optional) {\n throw new src_ParseError(\"A primitive argument cannot be optional\");\n }\n\n const group = this.parseGroup(name);\n\n if (group == null) {\n throw new src_ParseError(\"Expected group as \" + name, this.fetch());\n }\n\n return group;\n }\n\n case \"original\":\n case null:\n case undefined:\n return this.parseArgumentGroup(optional);\n\n default:\n throw new src_ParseError(\"Unknown group type as \" + name, this.fetch());\n }\n }\n /**\n * Discard any space tokens, fetching the next non-space token.\n */\n\n\n consumeSpaces() {\n while (this.fetch().text === \" \") {\n this.consume();\n }\n }\n /**\n * Parses a group, essentially returning the string formed by the\n * brace-enclosed tokens plus some position information.\n */\n\n\n parseStringGroup(modeName, // Used to describe the mode in error messages.\n optional) {\n const argToken = this.gullet.scanArgument(optional);\n\n if (argToken == null) {\n return null;\n }\n\n let str = \"\";\n let nextToken;\n\n while ((nextToken = this.fetch()).text !== \"EOF\") {\n str += nextToken.text;\n this.consume();\n }\n\n this.consume(); // consume the end of the argument\n\n argToken.text = str;\n return argToken;\n }\n /**\n * Parses a regex-delimited group: the largest sequence of tokens\n * whose concatenated strings match `regex`. Returns the string\n * formed by the tokens plus some position information.\n */\n\n\n parseRegexGroup(regex, modeName // Used to describe the mode in error messages.\n ) {\n const firstToken = this.fetch();\n let lastToken = firstToken;\n let str = \"\";\n let nextToken;\n\n while ((nextToken = this.fetch()).text !== \"EOF\" && regex.test(str + nextToken.text)) {\n lastToken = nextToken;\n str += lastToken.text;\n this.consume();\n }\n\n if (str === \"\") {\n throw new src_ParseError(\"Invalid \" + modeName + \": '\" + firstToken.text + \"'\", firstToken);\n }\n\n return firstToken.range(lastToken, str);\n }\n /**\n * Parses a color description.\n */\n\n\n parseColorGroup(optional) {\n const res = this.parseStringGroup(\"color\", optional);\n\n if (res == null) {\n return null;\n }\n\n const match = /^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(res.text);\n\n if (!match) {\n throw new src_ParseError(\"Invalid color: '\" + res.text + \"'\", res);\n }\n\n let color = match[0];\n\n if (/^[0-9a-f]{6}$/i.test(color)) {\n // We allow a 6-digit HTML color spec without a leading \"#\".\n // This follows the xcolor package's HTML color model.\n // Predefined color names are all missed by this RegEx pattern.\n color = \"#\" + color;\n }\n\n return {\n type: \"color-token\",\n mode: this.mode,\n color\n };\n }\n /**\n * Parses a size specification, consisting of magnitude and unit.\n */\n\n\n parseSizeGroup(optional) {\n let res;\n let isBlank = false; // don't expand before parseStringGroup\n\n this.gullet.consumeSpaces();\n\n if (!optional && this.gullet.future().text !== \"{\") {\n res = this.parseRegexGroup(/^[-+]? *(?:$|\\d+|\\d+\\.\\d*|\\.\\d*) *[a-z]{0,2} *$/, \"size\");\n } else {\n res = this.parseStringGroup(\"size\", optional);\n }\n\n if (!res) {\n return null;\n }\n\n if (!optional && res.text.length === 0) {\n // Because we've tested for what is !optional, this block won't\n // affect \\kern, \\hspace, etc. It will capture the mandatory arguments\n // to \\genfrac and \\above.\n res.text = \"0pt\"; // Enable \\above{}\n\n isBlank = true; // This is here specifically for \\genfrac\n }\n\n const match = /([-+]?) *(\\d+(?:\\.\\d*)?|\\.\\d+) *([a-z]{2})/.exec(res.text);\n\n if (!match) {\n throw new src_ParseError(\"Invalid size: '\" + res.text + \"'\", res);\n }\n\n const data = {\n number: +(match[1] + match[2]),\n // sign + magnitude, cast to number\n unit: match[3]\n };\n\n if (!validUnit(data)) {\n throw new src_ParseError(\"Invalid unit: '\" + data.unit + \"'\", res);\n }\n\n return {\n type: \"size\",\n mode: this.mode,\n value: data,\n isBlank\n };\n }\n /**\n * Parses an URL, checking escaped letters and allowed protocols,\n * and setting the catcode of % as an active character (as in \\hyperref).\n */\n\n\n parseUrlGroup(optional) {\n this.gullet.lexer.setCatcode(\"%\", 13); // active character\n\n this.gullet.lexer.setCatcode(\"~\", 12); // other character\n\n const res = this.parseStringGroup(\"url\", optional);\n this.gullet.lexer.setCatcode(\"%\", 14); // comment character\n\n this.gullet.lexer.setCatcode(\"~\", 13); // active character\n\n if (res == null) {\n return null;\n } // hyperref package allows backslashes alone in href, but doesn't\n // generate valid links in such cases; we interpret this as\n // \"undefined\" behaviour, and keep them as-is. Some browser will\n // replace backslashes with forward slashes.\n\n\n const url = res.text.replace(/\\\\([#$%&~_^{}])/g, '$1');\n return {\n type: \"url\",\n mode: this.mode,\n url\n };\n }\n /**\n * Parses an argument with the mode specified.\n */\n\n\n parseArgumentGroup(optional, mode) {\n const argToken = this.gullet.scanArgument(optional);\n\n if (argToken == null) {\n return null;\n }\n\n const outerMode = this.mode;\n\n if (mode) {\n // Switch to specified mode\n this.switchMode(mode);\n }\n\n this.gullet.beginGroup();\n const expression = this.parseExpression(false, \"EOF\"); // TODO: find an alternative way to denote the end\n\n this.expect(\"EOF\"); // expect the end of the argument\n\n this.gullet.endGroup();\n const result = {\n type: \"ordgroup\",\n mode: this.mode,\n loc: argToken.loc,\n body: expression\n };\n\n if (mode) {\n // Switch mode back\n this.switchMode(outerMode);\n }\n\n return result;\n }\n /**\n * Parses an ordinary group, which is either a single nucleus (like \"x\")\n * or an expression in braces (like \"{x+y}\") or an implicit group, a group\n * that starts at the current position, and ends right before a higher explicit\n * group ends, or at EOF.\n */\n\n\n parseGroup(name, // For error reporting.\n breakOnTokenText) {\n const firstToken = this.fetch();\n const text = firstToken.text;\n let result; // Try to parse an open brace or \\begingroup\n\n if (text === \"{\" || text === \"\\\\begingroup\") {\n this.consume();\n const groupEnd = text === \"{\" ? \"}\" : \"\\\\endgroup\";\n this.gullet.beginGroup(); // If we get a brace, parse an expression\n\n const expression = this.parseExpression(false, groupEnd);\n const lastToken = this.fetch();\n this.expect(groupEnd); // Check that we got a matching closing brace\n\n this.gullet.endGroup();\n result = {\n type: \"ordgroup\",\n mode: this.mode,\n loc: SourceLocation.range(firstToken, lastToken),\n body: expression,\n // A group formed by \\begingroup...\\endgroup is a semi-simple group\n // which doesn't affect spacing in math mode, i.e., is transparent.\n // https://tex.stackexchange.com/questions/1930/when-should-one-\n // use-begingroup-instead-of-bgroup\n semisimple: text === \"\\\\begingroup\" || undefined\n };\n } else {\n // If there exists a function with this name, parse the function.\n // Otherwise, just return a nucleus\n result = this.parseFunction(breakOnTokenText, name) || this.parseSymbol();\n\n if (result == null && text[0] === \"\\\\\" && !implicitCommands.hasOwnProperty(text)) {\n if (this.settings.throwOnError) {\n throw new src_ParseError(\"Undefined control sequence: \" + text, firstToken);\n }\n\n result = this.formatUnsupportedCmd(text);\n this.consume();\n }\n }\n\n return result;\n }\n /**\n * Form ligature-like combinations of characters for text mode.\n * This includes inputs like \"--\", \"---\", \"``\" and \"''\".\n * The result will simply replace multiple textord nodes with a single\n * character in each value by a single textord node having multiple\n * characters in its value. The representation is still ASCII source.\n * The group will be modified in place.\n */\n\n\n formLigatures(group) {\n let n = group.length - 1;\n\n for (let i = 0; i < n; ++i) {\n const a = group[i]; // $FlowFixMe: Not every node type has a `text` property.\n\n const v = a.text;\n\n if (v === \"-\" && group[i + 1].text === \"-\") {\n if (i + 1 < n && group[i + 2].text === \"-\") {\n group.splice(i, 3, {\n type: \"textord\",\n mode: \"text\",\n loc: SourceLocation.range(a, group[i + 2]),\n text: \"---\"\n });\n n -= 2;\n } else {\n group.splice(i, 2, {\n type: \"textord\",\n mode: \"text\",\n loc: SourceLocation.range(a, group[i + 1]),\n text: \"--\"\n });\n n -= 1;\n }\n }\n\n if ((v === \"'\" || v === \"`\") && group[i + 1].text === v) {\n group.splice(i, 2, {\n type: \"textord\",\n mode: \"text\",\n loc: SourceLocation.range(a, group[i + 1]),\n text: v + v\n });\n n -= 1;\n }\n }\n }\n /**\n * Parse a single symbol out of the string. Here, we handle single character\n * symbols and special functions like \\verb.\n */\n\n\n parseSymbol() {\n const nucleus = this.fetch();\n let text = nucleus.text;\n\n if (/^\\\\verb[^a-zA-Z]/.test(text)) {\n this.consume();\n let arg = text.slice(5);\n const star = arg.charAt(0) === \"*\";\n\n if (star) {\n arg = arg.slice(1);\n } // Lexer's tokenRegex is constructed to always have matching\n // first/last characters.\n\n\n if (arg.length < 2 || arg.charAt(0) !== arg.slice(-1)) {\n throw new src_ParseError(\"\\\\verb assertion failed --\\n please report what input caused this bug\");\n }\n\n arg = arg.slice(1, -1); // remove first and last char\n\n return {\n type: \"verb\",\n mode: \"text\",\n body: arg,\n star\n };\n } // At this point, we should have a symbol, possibly with accents.\n // First expand any accented base symbol according to unicodeSymbols.\n\n\n if (unicodeSymbols.hasOwnProperty(text[0]) && !src_symbols[this.mode][text[0]]) {\n // This behavior is not strict (XeTeX-compatible) in math mode.\n if (this.settings.strict && this.mode === \"math\") {\n this.settings.reportNonstrict(\"unicodeTextInMathMode\", \"Accented Unicode text character \\\"\" + text[0] + \"\\\" used in \" + \"math mode\", nucleus);\n }\n\n text = unicodeSymbols[text[0]] + text.slice(1);\n } // Strip off any combining characters\n\n\n const match = combiningDiacriticalMarksEndRegex.exec(text);\n\n if (match) {\n text = text.substring(0, match.index);\n\n if (text === 'i') {\n text = '\\u0131'; // dotless i, in math and text mode\n } else if (text === 'j') {\n text = '\\u0237'; // dotless j, in math and text mode\n }\n } // Recognize base symbol\n\n\n let symbol;\n\n if (src_symbols[this.mode][text]) {\n if (this.settings.strict && this.mode === 'math' && extraLatin.indexOf(text) >= 0) {\n this.settings.reportNonstrict(\"unicodeTextInMathMode\", \"Latin-1/Unicode text character \\\"\" + text[0] + \"\\\" used in \" + \"math mode\", nucleus);\n }\n\n const group = src_symbols[this.mode][text].group;\n const loc = SourceLocation.range(nucleus);\n let s;\n\n if (ATOMS.hasOwnProperty(group)) {\n // $FlowFixMe\n const family = group;\n s = {\n type: \"atom\",\n mode: this.mode,\n family,\n loc,\n text\n };\n } else {\n // $FlowFixMe\n s = {\n type: group,\n mode: this.mode,\n loc,\n text\n };\n } // $FlowFixMe\n\n\n symbol = s;\n } else if (text.charCodeAt(0) >= 0x80) {\n // no symbol for e.g. ^\n if (this.settings.strict) {\n if (!supportedCodepoint(text.charCodeAt(0))) {\n this.settings.reportNonstrict(\"unknownSymbol\", \"Unrecognized Unicode character \\\"\" + text[0] + \"\\\"\" + (\" (\" + text.charCodeAt(0) + \")\"), nucleus);\n } else if (this.mode === \"math\") {\n this.settings.reportNonstrict(\"unicodeTextInMathMode\", \"Unicode text character \\\"\" + text[0] + \"\\\" used in math mode\", nucleus);\n }\n } // All nonmathematical Unicode characters are rendered as if they\n // are in text mode (wrapped in \\text) because that's what it\n // takes to render them in LaTeX. Setting `mode: this.mode` is\n // another natural choice (the user requested math mode), but\n // this makes it more difficult for getCharacterMetrics() to\n // distinguish Unicode characters without metrics and those for\n // which we want to simulate the letter M.\n\n\n symbol = {\n type: \"textord\",\n mode: \"text\",\n loc: SourceLocation.range(nucleus),\n text\n };\n } else {\n return null; // EOF, ^, _, {, }, etc.\n }\n\n this.consume(); // Transform combining characters into accents\n\n if (match) {\n for (let i = 0; i < match[0].length; i++) {\n const accent = match[0][i];\n\n if (!unicodeAccents[accent]) {\n throw new src_ParseError(\"Unknown accent ' \" + accent + \"'\", nucleus);\n }\n\n const command = unicodeAccents[accent][this.mode] || unicodeAccents[accent].text;\n\n if (!command) {\n throw new src_ParseError(\"Accent \" + accent + \" unsupported in \" + this.mode + \" mode\", nucleus);\n }\n\n symbol = {\n type: \"accent\",\n mode: this.mode,\n loc: SourceLocation.range(nucleus),\n label: command,\n isStretchy: false,\n isShifty: true,\n // $FlowFixMe\n base: symbol\n };\n }\n } // $FlowFixMe\n\n\n return symbol;\n }\n\n}\nParser.endOfExpression = [\"}\", \"\\\\endgroup\", \"\\\\end\", \"\\\\right\", \"&\"];\n;// CONCATENATED MODULE: ./src/parseTree.js\n/**\n * Provides a single function for parsing an expression using a Parser\n * TODO(emily): Remove this\n */\n\n\n\n\n/**\n * Parses an expression using a Parser, then returns the parsed result.\n */\nconst parseTree = function (toParse, settings) {\n if (!(typeof toParse === 'string' || toParse instanceof String)) {\n throw new TypeError('KaTeX can only parse string typed expression');\n }\n\n const parser = new Parser(toParse, settings); // Blank out any \\df@tag to avoid spurious \"Duplicate \\tag\" errors\n\n delete parser.gullet.macros.current[\"\\\\df@tag\"];\n let tree = parser.parse(); // Prevent a color definition from persisting between calls to katex.render().\n\n delete parser.gullet.macros.current[\"\\\\current@color\"];\n delete parser.gullet.macros.current[\"\\\\color\"]; // If the input used \\tag, it will set the \\df@tag macro to the tag.\n // In this case, we separately parse the tag and wrap the tree.\n\n if (parser.gullet.macros.get(\"\\\\df@tag\")) {\n if (!settings.displayMode) {\n throw new src_ParseError(\"\\\\tag works only in display equations\");\n }\n\n tree = [{\n type: \"tag\",\n mode: \"text\",\n body: tree,\n tag: parser.subparse([new Token(\"\\\\df@tag\")])\n }];\n }\n\n return tree;\n};\n\n/* harmony default export */ var src_parseTree = (parseTree);\n;// CONCATENATED MODULE: ./katex.js\n/* eslint no-console:0 */\n\n/**\n * This is the main entry point for KaTeX. Here, we expose functions for\n * rendering expressions either to DOM nodes or to markup strings.\n *\n * We also expose the ParseError class to check if errors thrown from KaTeX are\n * errors in the expression, or errors in javascript handling.\n */\n\n\n\n\n\n\n\n\n\n\n\n/**\n * Parse and build an expression, and place that expression in the DOM node\n * given.\n */\nlet render = function (expression, baseNode, options) {\n baseNode.textContent = \"\";\n const node = renderToDomTree(expression, options).toNode();\n baseNode.appendChild(node);\n}; // KaTeX's styles don't work properly in quirks mode. Print out an error, and\n// disable rendering.\n\n\nif (typeof document !== \"undefined\") {\n if (document.compatMode !== \"CSS1Compat\") {\n typeof console !== \"undefined\" && console.warn(\"Warning: KaTeX doesn't work in quirks mode. Make sure your \" + \"website has a suitable doctype.\");\n\n render = function () {\n throw new src_ParseError(\"KaTeX doesn't work in quirks mode.\");\n };\n }\n}\n/**\n * Parse and build an expression, and return the markup for that.\n */\n\n\nconst renderToString = function (expression, options) {\n const markup = renderToDomTree(expression, options).toMarkup();\n return markup;\n};\n/**\n * Parse an expression and return the parse tree.\n */\n\n\nconst generateParseTree = function (expression, options) {\n const settings = new Settings(options);\n return src_parseTree(expression, settings);\n};\n/**\n * If the given error is a KaTeX ParseError and options.throwOnError is false,\n * renders the invalid LaTeX as a span with hover title giving the KaTeX\n * error message. Otherwise, simply throws the error.\n */\n\n\nconst renderError = function (error, expression, options) {\n if (options.throwOnError || !(error instanceof src_ParseError)) {\n throw error;\n }\n\n const node = buildCommon.makeSpan([\"katex-error\"], [new SymbolNode(expression)]);\n node.setAttribute(\"title\", error.toString());\n node.setAttribute(\"style\", \"color:\" + options.errorColor);\n return node;\n};\n/**\n * Generates and returns the katex build tree. This is used for advanced\n * use cases (like rendering to custom output).\n */\n\n\nconst renderToDomTree = function (expression, options) {\n const settings = new Settings(options);\n\n try {\n const tree = src_parseTree(expression, settings);\n return buildTree(tree, expression, settings);\n } catch (error) {\n return renderError(error, expression, settings);\n }\n};\n/**\n * Generates and returns the katex build tree, with just HTML (no MathML).\n * This is used for advanced use cases (like rendering to custom output).\n */\n\n\nconst renderToHTMLTree = function (expression, options) {\n const settings = new Settings(options);\n\n try {\n const tree = src_parseTree(expression, settings);\n return buildHTMLTree(tree, expression, settings);\n } catch (error) {\n return renderError(error, expression, settings);\n }\n};\n\n/* harmony default export */ var katex = ({\n /**\n * Current KaTeX version\n */\n version: \"0.16.11\",\n\n /**\n * Renders the given LaTeX into an HTML+MathML combination, and adds\n * it as a child to the specified DOM node.\n */\n render,\n\n /**\n * Renders the given LaTeX into an HTML+MathML combination string,\n * for sending to the client.\n */\n renderToString,\n\n /**\n * KaTeX error, usually during parsing.\n */\n ParseError: src_ParseError,\n\n /**\n * The shema of Settings\n */\n SETTINGS_SCHEMA: SETTINGS_SCHEMA,\n\n /**\n * Parses the given LaTeX into KaTeX's internal parse tree structure,\n * without rendering to HTML or MathML.\n *\n * NOTE: This method is not currently recommended for public use.\n * The internal tree representation is unstable and is very likely\n * to change. Use at your own risk.\n */\n __parse: generateParseTree,\n\n /**\n * Renders the given LaTeX into an HTML+MathML internal DOM tree\n * representation, without flattening that representation to a string.\n *\n * NOTE: This method is not currently recommended for public use.\n * The internal tree representation is unstable and is very likely\n * to change. Use at your own risk.\n */\n __renderToDomTree: renderToDomTree,\n\n /**\n * Renders the given LaTeX into an HTML internal DOM tree representation,\n * without MathML and without flattening that representation to a string.\n *\n * NOTE: This method is not currently recommended for public use.\n * The internal tree representation is unstable and is very likely\n * to change. Use at your own risk.\n */\n __renderToHTMLTree: renderToHTMLTree,\n\n /**\n * extends internal font metrics object with a new object\n * each key in the new object represents a font name\n */\n __setFontMetrics: setFontMetrics,\n\n /**\n * adds a new symbol to builtin symbols table\n */\n __defineSymbol: defineSymbol,\n\n /**\n * adds a new function to builtin function list,\n * which directly produce parse tree elements\n * and have their own html/mathml builders\n */\n __defineFunction: defineFunction,\n\n /**\n * adds a new macro to builtin macro list\n */\n __defineMacro: defineMacro,\n\n /**\n * Expose the dom tree node types, which can be useful for type checking nodes.\n *\n * NOTE: This method is not currently recommended for public use.\n * The internal tree representation is unstable and is very likely\n * to change. Use at your own risk.\n */\n __domTree: {\n Span: Span,\n Anchor: Anchor,\n SymbolNode: SymbolNode,\n SvgNode: SvgNode,\n PathNode: PathNode,\n LineNode: LineNode\n }\n});\n;// CONCATENATED MODULE: ./katex.webpack.js\n/**\n * This is the webpack entry point for KaTeX. As ECMAScript, flow[1] and jest[2]\n * doesn't support CSS modules natively, a separate entry point is used and\n * it is not flowtyped.\n *\n * [1] https://gist.github.com/lambdahands/d19e0da96285b749f0ef\n * [2] https://facebook.github.io/jest/docs/en/webpack.html\n */\n\n\n/* harmony default export */ var katex_webpack = (katex);\n__webpack_exports__ = __webpack_exports__[\"default\"];\n/******/ \treturn __webpack_exports__;\n/******/ })()\n;\n});"],"names":["parcelRequire","$parcel$global","globalThis","register","module","exports","factory","self","body","__webpack_require__","d","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","__webpack_exports__","katex_webpack","ParseError","constructor","message","token","start","end","name","position","length","rawMessage","error","loc","input","lexer","underlined","slice","replace","left","self1","Error","__proto__","uppercase","ESCAPE_LOOKUP","ESCAPE_REGEX","getBaseElem","group","type","assert","value","String","utils","contains","list","elem","indexOf","deflt","setting","defaultIfUndefined","undefined","escape","text","match","hyphenate","str","toLowerCase","isCharacterBox","baseElem","protocolFromUrl","url","protocol","exec","test","SETTINGS_SCHEMA","displayMode","description","cli","output","enum","leqno","fleqn","throwOnError","default","cliDescription","errorColor","cliProcessor","color","macros","cliDefault","def","defs","push","minRuleThickness","processor","t","Math","max","parseFloat","colorIsTextColor","strict","trust","maxSize","Infinity","s","parseInt","maxExpand","n","globalGroup","Settings","options","schema","getDefaultValue","defaultType","Array","isArray","reportNonstrict","errorCode","errorMsg","console","warn","useStrictBehavior","isTrusted","context","Boolean","Style","id","size","cramped","sup","styles","sub","fracNum","fracDen","cramp","Style_text","isTight","src_Style","DISPLAY","TEXT","SCRIPT","SCRIPTSCRIPT","scriptData","blocks","allBlocks","supportedCodepoint","codepoint","i","forEach","b","sqrtPath","extraVinculum","viewBoxHeight","path","innerPath","height","doubleleftarrow","doublerightarrow","leftarrow","leftbrace","leftbraceunder","leftgroup","leftgroupunder","leftharpoon","leftharpoonplus","leftharpoondown","leftharpoondownplus","lefthook","leftlinesegment","leftmapsto","leftToFrom","longequal","midbrace","midbraceunder","oiintSize1","oiintSize2","oiiintSize1","oiiintSize2","rightarrow","rightbrace","rightbraceunder","rightgroup","rightgroupunder","rightharpoon","rightharpoonplus","rightharpoondown","rightharpoondownplus","righthook","rightlinesegment","rightToFrom","twoheadleftarrow","twoheadrightarrow","tilde1","tilde2","tilde3","tilde4","vec","widehat1","widehat2","widehat3","widehat4","widecheck1","widecheck2","widecheck3","widecheck4","baraboveleftarrow","rightarrowabovebar","baraboveshortleftharpoon","rightharpoonaboveshortbar","shortbaraboveleftharpoon","shortrightharpoonabovebar","tallDelim","label","midHeight","DocumentFragment","children","classes","depth","maxFontSize","style","hasClass","className","toNode","frag","document","createDocumentFragment","appendChild","toMarkup","markup","toText","map","child","join","fontMetricsData","sigmasAndXis","slant","space","stretch","shrink","xHeight","quad","extraSpace","num1","num2","num3","denom1","denom2","sup1","sup2","sup3","sub1","sub2","supDrop","subDrop","delim1","delim2","axisHeight","defaultRuleThickness","bigOpSpacing1","bigOpSpacing2","bigOpSpacing3","bigOpSpacing4","bigOpSpacing5","sqrtRuleThickness","ptPerEm","doubleRuleSep","arrayRuleWidth","fboxsep","fboxrule","extraCharacterMap","getCharacterMetrics","character","font","mode","ch","charCodeAt","metrics","italic","skew","width","fontMetricsBySizeIndex","sizeStyleMap","sizeMultipliers","sizeAtStyle","Options","data","textSize","phantom","fontFamily","fontWeight","fontShape","sizeMultiplier","_fontMetrics","BASESIZE","extend","extension","havingStyle","havingCrampedStyle","havingSize","havingBaseStyle","wantSize","havingBaseSizing","withColor","withPhantom","withFont","withTextFontFamily","withTextFontWeight","withTextFontShape","sizingClasses","oldOptions","baseSizingClasses","fontMetrics","getGlobalMetrics","sizeIndex","cssEmPerMu","getColor","ptPerUnit","relativeUnit","validUnit","unit","calculateSize","sizeValue","scale","unitOptions","min","number","makeEm","toFixed","createClass","filter","cls","initNode","attributes","tagName","node","createElement","attr","setAttribute","Span","attribute","Anchor","href","Img","src","alt","iCombinations","SymbolNode","script","scriptFromCodepoint","block","createTextNode","span","marginRight","needsSpan","escaped","SvgNode","createElementNS","PathNode","pathName","alternate","LineNode","assertSymbolDomNode","ATOMS","NON_ATOMS","symbols","defineSymbol","acceptUnicodeChar","math","symbols_text","main","accent","symbols_close","inner","mathord","op","symbols_open","punct","spacing","textord","ligatures","mathTextSymbols","charAt","textSymbols","letters","wideChar","fromCharCode","toString","extraLatin","wideLatinLetterData","wideNumeralData","wideCharacterFont","codePoint","H","L","j","floor","lookupSymbol","fontName","src_symbols","makeSymbol","symbolNode","lookup","canCombine","prev","next","sizeElementFromChildren","makeSpan","makeSvgSpan","makeFragment","fragment","getVListChildrenAndDepth","params","positionType","oldChildren","shift","currPos","diff","bottom","positionData","firstChild","retrieveTextFontName","baseFontName","fontMap","variant","svgData","buildCommon","mathsym","concat","makeLineSpan","thickness","line","borderBottomWidth","makeAnchor","anchor","wrapFragment","makeVList","rows","pstrutSize","pstrut","realChildren","minPos","maxPos","childWrap","wrapperClasses","wrapperStyle","top","marginLeft","vlist","emptySpan","depthStrut","topStrut","vtable","makeOrd","isFont","fontOrFamily","wideFontName","wideFontClass","fontClasses","fontData","fontClass","parts","makeGlue","measurement","rule","staticSvg","tryCombineChars","chars","splice","thinspace","mediumspace","thickspace","spacings","mord","mop","mbin","mrel","minner","mopen","mclose","mpunct","tightSpacings","_functions","_htmlGroupBuilders","_mathmlGroupBuilders","defineFunction","_ref","names","props","handler","htmlBuilder","mathmlBuilder","numArgs","argTypes","allowedInArgument","allowedInText","allowedInMath","numOptionalArgs","infix","primitive","defineFunctionBuilders","_ref2","normalizeArgument","arg","ordargument","buildHTML_makeSpan","binLeftCanceller","binRightCanceller","styleMap","DomEnum","buildExpression","expression","isRealGroup","surrounding","groups","buildGroup","glueOptions","dummyPrev","dummyNext","isRoot","traverseNonSpaceNodes","prevType","getTypeOfDomTree","nodes","callback","index","partialGroup","checkPartialGroup","nonspace","result","insertAfter","unshift","pop","getOutermostNode","side","makeNullDelimiter","moreClasses","baseOptions","groupNode","multiplier","buildHTMLUnbreakable","strut","verticalAlign","buildHTML","tree","eqnNum","tagChild","tag","nobreak","htmlNode","newDocumentFragment","MathNode","getAttribute","TextNode","mathMLTree","SpaceNode","makeText","makeRow","getVariant","buildMathML_buildExpression","isOrdgroup","lastGroup","buildMathML_buildGroup","lastChild","buildExpressionRow","buildMathML","texExpression","isDisplayMode","forMathmlOnly","wrapper","annotation","semantics","optionsFromSettings","settings","displayWrap","buildTree","katexNode","mathMLNode","buildHTMLTree","stretchyCodePoint","widehat","widecheck","widetilde","utilde","overleftarrow","underleftarrow","xleftarrow","overrightarrow","underrightarrow","xrightarrow","underbrace","overbrace","overgroup","undergroup","overleftrightarrow","underleftrightarrow","xleftrightarrow","Overrightarrow","xRightarrow","overleftharpoon","xleftharpoonup","overrightharpoon","xrightharpoonup","xLeftarrow","xLeftrightarrow","xhookleftarrow","xhookrightarrow","xmapsto","xrightharpoondown","xleftharpoondown","xrightleftharpoons","xleftrightharpoons","xtwoheadleftarrow","xtwoheadrightarrow","xlongequal","xtofrom","xrightleftarrows","xrightequilibrium","xleftequilibrium","katexImagesData","overlinesegment","underlinesegment","stretchy","encloseSpan","topPad","bottomPad","img","totalHeight","borderColor","lines","svgNode","mathMLnode","svgSpan","minWidth","buildSvgSpan_","viewBoxWidth","numChars","grp","base","imgIndex","widthClasses","aligns","spans","paths","numSvgChildren","assertNodeType","assertSymbolNodeType","typedNode","checkSymbolNodeType","supSubGroup","accentBody","assertSpan","mustShift","isShifty","accentBelow","clearance","isStretchy","accentFull","accentWrap","accentNode","NON_STRETCHY_ACCENT_REGEX","RegExp","args","funcName","parser","innerGroup","kern","paddedNode","optArgs","below","lowerGroup","newOptions","upperGroup","arrowPrefix","arrowBody","arrowShift","upperShift","lowerShift","arrowNode","upperNode","lowerNode","mclass_makeSpan","mclass_htmlBuilder","elements","mclass","mclass_mathmlBuilder","lspace","rspace","binrelClass","atom","family","_ref3","baseArg","shiftedArg","baseOp","limits","alwaysHandleSupSub","parentIsSupSub","symbol","suppressBaseShift","supsub","textShadow","cdArrowFunctionName","newCell","isStartOfArrow","isLabelEnd","endChar","parent","code","isNaN","color_htmlBuilder","color_mathmlBuilder","breakOnTokenText","gullet","set","parseExpression","future","parseSizeGroup","newLine","marginTop","globalMap","checkControlSequence","tok","getRHS","popToken","letCommand","global","macro","noexpand","tokens","unexpandable","isExpandable","consumeSpaces","fetch","parseFunction","insert","delimiters","consumeArg","expandTokens","reverse","_ref4","middle","pushToken","getMetrics","styleWrap","delim","toStyle","delimSizeMultiplier","centerSpan","makeSmallDelim","center","makeLargeDelim","makeGlyphSpan","sizeClass","makeInner","round","lap","verts","doubleVerts","makeStackedDelim","heightTotal","repeat","svgLabel","topMetrics","topHeightTotal","repeatMetrics","repeatHeightTotal","bottomMetrics","bottomHeightTotal","middleHeightTotal","middleFactor","middleMetrics","minHeight","repeatCount","ceil","realHeightTotal","stack","pathStr","svg","innerHeight","sqrtSvg","sqrtName","stackLargeDelimiters","stackAlwaysDelimiters","stackNeverDelimiters","sizeToMaxHeight","stackNeverDelimiterSequence","stackAlwaysDelimiterSequence","stackLargeDelimiterSequence","delimTypeToFont","traverseSequence","sequence","heightDepth","makeCustomSizedDelim","delimType","delimiter","sqrtImage","advanceWidth","spanHeight","texHeight","ruleWidth","sizedDelim","customSizedDelim","leftRightDelim","delimiterExtend","maxDistFromAxis","delimiterSizes","checkDelimiter","symDelim","assertParsed","leftrightDepth","expect","right","rightColor","leftDelim","rightDelim","innerDepth","hadMiddle","isMiddle","middleDelim","colorOptions","leftNode","rightNode","textNode","middleNode","enclose_htmlBuilder","imgShift","isSingleChar","lineWeight","angleHeight","paddingLeft","y","ruleThickness","borderStyle","borderWidth","borderTopWidth","borderRightWidth","backgroundColor","enclose_mathmlBuilder","thk","_ref5","_environments","defineEnvironment","_macros","SourceLocation","range","first","second","Token","treatAsRelax","endToken","getHLines","hlineInfo","nxt","consume","validateAmsEnvironmentContext","envName","getAutoTag","parseArray","hskipBeforeAndAfter","addJot","cols","arraystretch","colSeparationType","autoTag","singleRow","emptySingleRow","maxNumCols","beginGroup","expandMacroAsText","row","rowGaps","hLinesBeforeRow","tags","beginRow","endRow","subparse","cell","endGroup","nextToken","dCellStyle","array_htmlBuilder","r","c","colSep","colDescrNum","nr","nc","hlines","pt","arraycolsep","localMultiplier","baselineskip","jot","arrayskip","arstrutHeight","arstrutDepth","setHLinePos","hlinesInGap","pos","isDashed","inrow","outrow","elt","rowGap","gap","offset","colDescriptions","tagSpans","some","tagSpan","rw","sepwidth","colDescr","firstSeparator","separator","lineType","borderRightStyle","margin","pregap","col","align","postgap","dashes","vListElems","hline","lineShift","eqnNumCol","alignMap","l","array_mathmlBuilder","tbl","glue","table","menclose","columnLines","prevTypeWasAlign","iStart","iEnd","trim","rowLines","alignedHandler","numMaths","separationType","isSplit","res","numCols","emptyGroup","arg0","Number","isAligned","styling","ordgroup","curMaths","colalign","symNode","nde","ca","colAlign","payload","fill","parseCD","parsedRows","rowNodes","arrowChar","labels","labelNum","inLabel","k","wrappedArrow","cdArrow","callFunction","leftLabel","sizedArrow","rightLabel","nameGroup","src_environments","env","parseArguments","endNameToken","font_htmlBuilder","font_mathmlBuilder","fontAliases","func","adjustStyle","originalStyle","genfrac_htmlBuilder","ruleSpacing","numShift","denomShift","frac","delimSize","nstyle","dstyle","numerm","numer","continued","hStrut","dStrut","denomm","denom","hasBarLine","barSize","midShift","candidateClearance","genfrac_mathmlBuilder","isDisplay","withDelims","leftOp","rightOp","replaceWith","stylArray","delimFromValue","delimString","barNode","isBlank","styl","textOrd","_ref6","horizBrace_htmlBuilder","braceBody","isOver","vSpan","command","formatUnsupportedCmd","trustContext","string","class","split","keyVal","html","mathml","sizeData","totalheight","attributeStr","substring","lastIndexOf","mathFunction","muUnit","dimension","alignment","fix","outerMode","switchMode","close","chooseMathStyle","display","scriptscript","assembleSupSub","supGroup","subGroup","baseShift","finalGroup","subIsSingleCharacter","spacer","noSuccessor","op_htmlBuilder","hasLimits","large","stash","oval","op_mathmlBuilder","operator","singleCharBigOps","fName","singleCharIntegrals","operatorname_htmlBuilder","childText","sizingGroup","apply","isAllString","word","identifier","semisimple","amount","dy","sizeFuncs","smashHeight","smashDepth","tbArg","letter","smashedNode","theta","phi","lineClearance","minDelimiterHeight","delimDepth","rootm","toShift","rootVList","rootVListWrap","styling_styleMap","newStyle","styleAttributes","htmlBuilderDelegate","delegate","isSup","supm","subm","minSupShift","builderDelegate","valueBase","valueSup","valueSub","supShift","subShift","isOiint","maxWidth","psi","vlistElem","nodeType","isBrace","defaultVariant","cssSpace","regularSpace","ord","pad","padNode","textFontFamilies","textFontWeights","textFontShapes","optionsWithFont","makeVerb","star","spaceRegexString","combiningDiacriticalMarkString","combiningDiacriticalMarksEndRegex","tokenRegexString","Lexer","tokenRegex","catcodes","setCatcode","char","lex","lastIndex","nlIndex","Namespace","builtins","globalMacros","current","undefStack","undefs","undef","endGroups","has","expandOnce","consumeArgs","digitToNumber","digit","newcommand","existsOK","nonexistsOK","exists","isDefined","argText","expandNextToken","log","src_functions","dotsByToken","thedots","expandAfterFuture","spaceAfterDots","latexRaiseA","braketHelper","one","middleDouble","oldMiddle","oldMiddleDouble","midMacro","double","doubled","expanded","implicitCommands","MacroExpander","expansionCount","feed","newMode","pushTokens","scanArgument","isOptional","delims","isDelimited","countExpansion","expandableOnly","topToken","expansion","_getExpansion","expandMacro","oldStackLength","catcode","stripped","bodyLexer","unicodeSubRegEx","uSubsAndSups","freeze","unicodeAccents","unicodeSymbols","Parser","parse","oldToken","breakOnInfix","endOfExpression","parseAtom","formLigatures","handleInfixNodes","overIndex","numerNode","denomNode","numerBody","denomBody","handleSupSubscript","symbolToken","parseGroup","textordArray","superscript","subscript","prime","primes","isSub","subsupTokens","funcData","totalArgs","argType","parseGroupOfType","optional","parseColorGroup","parseUrlGroup","parseArgumentGroup","parseStringGroup","modeName","argToken","parseRegexGroup","regex","firstToken","lastToken","groupEnd","parseSymbol","a","v","nucleus","src_parseTree","toParse","TypeError","render","baseNode","textContent","renderToDomTree","compatMode","renderError","version","renderToString","__parse","__renderToDomTree","__renderToHTMLTree","__setFontMetrics","__defineSymbol","__defineFunction","__defineMacro","__domTree"],"version":3,"file":"katex.c4310a46.js.map"}