d754a2e596ad25024351168c267cbf2e385b4aebe124d58da1de883e1fc21fa7.json 26 KB

1
  1. {"ast":null,"code":"\"use strict\";\n\nvar __extends = this && this.__extends || function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf || {\n __proto__: []\n } instanceof Array && function (d, b) {\n d.__proto__ = b;\n } || function (d, b) {\n for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];\n };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null) throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n}();\nvar __createBinding = this && this.__createBinding || (Object.create ? function (o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = {\n enumerable: true,\n get: function () {\n return m[k];\n }\n };\n }\n Object.defineProperty(o, k2, desc);\n} : function (o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar __setModuleDefault = this && this.__setModuleDefault || (Object.create ? function (o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function (o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = this && this.__importStar || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __values = this && this.__values || function (o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator,\n m = s && o[s],\n i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return {\n value: o && o[i++],\n done: !o\n };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nvar __importDefault = this && this.__importDefault || function (mod) {\n return mod && mod.__esModule ? mod : {\n \"default\": mod\n };\n};\nvar _a;\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.BaseConfiguration = exports.BaseTags = exports.Other = void 0;\nvar Configuration_js_1 = require(\"../Configuration.js\");\nvar MapHandler_js_1 = require(\"../MapHandler.js\");\nvar TexError_js_1 = __importDefault(require(\"../TexError.js\"));\nvar NodeUtil_js_1 = __importDefault(require(\"../NodeUtil.js\"));\nvar SymbolMap_js_1 = require(\"../SymbolMap.js\");\nvar bitem = __importStar(require(\"./BaseItems.js\"));\nvar Tags_js_1 = require(\"../Tags.js\");\nrequire(\"./BaseMappings.js\");\nvar OperatorDictionary_js_1 = require(\"../../../core/MmlTree/OperatorDictionary.js\");\nnew SymbolMap_js_1.CharacterMap('remap', null, {\n '-': '\\u2212',\n '*': '\\u2217',\n '`': '\\u2018'\n});\nfunction Other(parser, char) {\n var font = parser.stack.env['font'];\n var def = font ? {\n mathvariant: parser.stack.env['font']\n } : {};\n var remap = MapHandler_js_1.MapHandler.getMap('remap').lookup(char);\n var range = (0, OperatorDictionary_js_1.getRange)(char);\n var type = range ? range[3] : 'mo';\n var mo = parser.create('token', type, def, remap ? remap.char : char);\n range[4] && mo.attributes.set('mathvariant', range[4]);\n if (type === 'mo') {\n NodeUtil_js_1.default.setProperty(mo, 'fixStretchy', true);\n parser.configuration.addNode('fixStretchy', mo);\n }\n parser.Push(mo);\n}\nexports.Other = Other;\nfunction csUndefined(_parser, name) {\n throw new TexError_js_1.default('UndefinedControlSequence', 'Undefined control sequence %1', '\\\\' + name);\n}\nfunction envUndefined(_parser, env) {\n throw new TexError_js_1.default('UnknownEnv', 'Unknown environment \\'%1\\'', env);\n}\nfunction filterNonscript(_a) {\n var e_1, _b;\n var data = _a.data;\n try {\n for (var _c = __values(data.getList('nonscript')), _d = _c.next(); !_d.done; _d = _c.next()) {\n var mml = _d.value;\n if (mml.attributes.get('scriptlevel') > 0) {\n var parent_1 = mml.parent;\n parent_1.childNodes.splice(parent_1.childIndex(mml), 1);\n data.removeFromList(mml.kind, [mml]);\n if (mml.isKind('mrow')) {\n var mstyle = mml.childNodes[0];\n data.removeFromList('mstyle', [mstyle]);\n data.removeFromList('mspace', mstyle.childNodes[0].childNodes);\n }\n } else if (mml.isKind('mrow')) {\n mml.parent.replaceChild(mml.childNodes[0], mml);\n data.removeFromList('mrow', [mml]);\n }\n }\n } catch (e_1_1) {\n e_1 = {\n error: e_1_1\n };\n } finally {\n try {\n if (_d && !_d.done && (_b = _c.return)) _b.call(_c);\n } finally {\n if (e_1) throw e_1.error;\n }\n }\n}\nvar BaseTags = function (_super) {\n __extends(BaseTags, _super);\n function BaseTags() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n return BaseTags;\n}(Tags_js_1.AbstractTags);\nexports.BaseTags = BaseTags;\nexports.BaseConfiguration = Configuration_js_1.Configuration.create('base', {\n handler: {\n character: ['command', 'special', 'letter', 'digit'],\n delimiter: ['delimiter'],\n macro: ['delimiter', 'macros', 'mathchar0mi', 'mathchar0mo', 'mathchar7'],\n environment: ['environment']\n },\n fallback: {\n character: Other,\n macro: csUndefined,\n environment: envUndefined\n },\n items: (_a = {}, _a[bitem.StartItem.prototype.kind] = bitem.StartItem, _a[bitem.StopItem.prototype.kind] = bitem.StopItem, _a[bitem.OpenItem.prototype.kind] = bitem.OpenItem, _a[bitem.CloseItem.prototype.kind] = bitem.CloseItem, _a[bitem.PrimeItem.prototype.kind] = bitem.PrimeItem, _a[bitem.SubsupItem.prototype.kind] = bitem.SubsupItem, _a[bitem.OverItem.prototype.kind] = bitem.OverItem, _a[bitem.LeftItem.prototype.kind] = bitem.LeftItem, _a[bitem.Middle.prototype.kind] = bitem.Middle, _a[bitem.RightItem.prototype.kind] = bitem.RightItem, _a[bitem.BeginItem.prototype.kind] = bitem.BeginItem, _a[bitem.EndItem.prototype.kind] = bitem.EndItem, _a[bitem.StyleItem.prototype.kind] = bitem.StyleItem, _a[bitem.PositionItem.prototype.kind] = bitem.PositionItem, _a[bitem.CellItem.prototype.kind] = bitem.CellItem, _a[bitem.MmlItem.prototype.kind] = bitem.MmlItem, _a[bitem.FnItem.prototype.kind] = bitem.FnItem, _a[bitem.NotItem.prototype.kind] = bitem.NotItem, _a[bitem.NonscriptItem.prototype.kind] = bitem.NonscriptItem, _a[bitem.DotsItem.prototype.kind] = bitem.DotsItem, _a[bitem.ArrayItem.prototype.kind] = bitem.ArrayItem, _a[bitem.EqnArrayItem.prototype.kind] = bitem.EqnArrayItem, _a[bitem.EquationItem.prototype.kind] = bitem.EquationItem, _a),\n options: {\n maxMacros: 1000,\n baseURL: typeof document === 'undefined' || document.getElementsByTagName('base').length === 0 ? '' : String(document.location).replace(/#.*$/, '')\n },\n tags: {\n base: BaseTags\n },\n postprocessors: [[filterNonscript, -4]]\n});","map":{"version":3,"names":["__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","prototype","hasOwnProperty","call","TypeError","String","__","constructor","create","__createBinding","o","m","k","k2","undefined","desc","getOwnPropertyDescriptor","__esModule","writable","configurable","enumerable","get","defineProperty","__setModuleDefault","v","value","__importStar","mod","result","__values","s","Symbol","iterator","i","length","next","done","__importDefault","_a","exports","BaseConfiguration","BaseTags","Other","Configuration_js_1","require","MapHandler_js_1","TexError_js_1","NodeUtil_js_1","SymbolMap_js_1","bitem","Tags_js_1","OperatorDictionary_js_1","CharacterMap","parser","char","font","stack","env","def","mathvariant","remap","MapHandler","getMap","lookup","range","getRange","type","mo","attributes","set","default","setProperty","configuration","addNode","Push","csUndefined","_parser","name","envUndefined","filterNonscript","e_1","_b","data","_c","getList","_d","mml","parent_1","parent","childNodes","splice","childIndex","removeFromList","kind","isKind","mstyle","replaceChild","e_1_1","error","return","_super","apply","arguments","AbstractTags","Configuration","handler","character","delimiter","macro","environment","fallback","items","StartItem","StopItem","OpenItem","CloseItem","PrimeItem","SubsupItem","OverItem","LeftItem","Middle","RightItem","BeginItem","EndItem","StyleItem","PositionItem","CellItem","MmlItem","FnItem","NotItem","NonscriptItem","DotsItem","ArrayItem","EqnArrayItem","EquationItem","options","maxMacros","baseURL","document","getElementsByTagName","location","replace","tags","base","postprocessors"],"sources":["F:/workspace/202226701027/huinongbao-app/node_modules/mathjax-full/js/input/tex/base/BaseConfiguration.js"],"sourcesContent":["\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nvar _a;\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.BaseConfiguration = exports.BaseTags = exports.Other = void 0;\nvar Configuration_js_1 = require(\"../Configuration.js\");\nvar MapHandler_js_1 = require(\"../MapHandler.js\");\nvar TexError_js_1 = __importDefault(require(\"../TexError.js\"));\nvar NodeUtil_js_1 = __importDefault(require(\"../NodeUtil.js\"));\nvar SymbolMap_js_1 = require(\"../SymbolMap.js\");\nvar bitem = __importStar(require(\"./BaseItems.js\"));\nvar Tags_js_1 = require(\"../Tags.js\");\nrequire(\"./BaseMappings.js\");\nvar OperatorDictionary_js_1 = require(\"../../../core/MmlTree/OperatorDictionary.js\");\nnew SymbolMap_js_1.CharacterMap('remap', null, {\n '-': '\\u2212',\n '*': '\\u2217',\n '`': '\\u2018'\n});\nfunction Other(parser, char) {\n var font = parser.stack.env['font'];\n var def = font ?\n { mathvariant: parser.stack.env['font'] } : {};\n var remap = MapHandler_js_1.MapHandler.getMap('remap').lookup(char);\n var range = (0, OperatorDictionary_js_1.getRange)(char);\n var type = (range ? range[3] : 'mo');\n var mo = parser.create('token', type, def, (remap ? remap.char : char));\n range[4] && mo.attributes.set('mathvariant', range[4]);\n if (type === 'mo') {\n NodeUtil_js_1.default.setProperty(mo, 'fixStretchy', true);\n parser.configuration.addNode('fixStretchy', mo);\n }\n parser.Push(mo);\n}\nexports.Other = Other;\nfunction csUndefined(_parser, name) {\n throw new TexError_js_1.default('UndefinedControlSequence', 'Undefined control sequence %1', '\\\\' + name);\n}\nfunction envUndefined(_parser, env) {\n throw new TexError_js_1.default('UnknownEnv', 'Unknown environment \\'%1\\'', env);\n}\nfunction filterNonscript(_a) {\n var e_1, _b;\n var data = _a.data;\n try {\n for (var _c = __values(data.getList('nonscript')), _d = _c.next(); !_d.done; _d = _c.next()) {\n var mml = _d.value;\n if (mml.attributes.get('scriptlevel') > 0) {\n var parent_1 = mml.parent;\n parent_1.childNodes.splice(parent_1.childIndex(mml), 1);\n data.removeFromList(mml.kind, [mml]);\n if (mml.isKind('mrow')) {\n var mstyle = mml.childNodes[0];\n data.removeFromList('mstyle', [mstyle]);\n data.removeFromList('mspace', mstyle.childNodes[0].childNodes);\n }\n }\n else if (mml.isKind('mrow')) {\n mml.parent.replaceChild(mml.childNodes[0], mml);\n data.removeFromList('mrow', [mml]);\n }\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_d && !_d.done && (_b = _c.return)) _b.call(_c);\n }\n finally { if (e_1) throw e_1.error; }\n }\n}\nvar BaseTags = (function (_super) {\n __extends(BaseTags, _super);\n function BaseTags() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n return BaseTags;\n}(Tags_js_1.AbstractTags));\nexports.BaseTags = BaseTags;\nexports.BaseConfiguration = Configuration_js_1.Configuration.create('base', {\n handler: {\n character: ['command', 'special', 'letter', 'digit'],\n delimiter: ['delimiter'],\n macro: ['delimiter', 'macros', 'mathchar0mi', 'mathchar0mo', 'mathchar7'],\n environment: ['environment']\n },\n fallback: {\n character: Other,\n macro: csUndefined,\n environment: envUndefined\n },\n items: (_a = {},\n _a[bitem.StartItem.prototype.kind] = bitem.StartItem,\n _a[bitem.StopItem.prototype.kind] = bitem.StopItem,\n _a[bitem.OpenItem.prototype.kind] = bitem.OpenItem,\n _a[bitem.CloseItem.prototype.kind] = bitem.CloseItem,\n _a[bitem.PrimeItem.prototype.kind] = bitem.PrimeItem,\n _a[bitem.SubsupItem.prototype.kind] = bitem.SubsupItem,\n _a[bitem.OverItem.prototype.kind] = bitem.OverItem,\n _a[bitem.LeftItem.prototype.kind] = bitem.LeftItem,\n _a[bitem.Middle.prototype.kind] = bitem.Middle,\n _a[bitem.RightItem.prototype.kind] = bitem.RightItem,\n _a[bitem.BeginItem.prototype.kind] = bitem.BeginItem,\n _a[bitem.EndItem.prototype.kind] = bitem.EndItem,\n _a[bitem.StyleItem.prototype.kind] = bitem.StyleItem,\n _a[bitem.PositionItem.prototype.kind] = bitem.PositionItem,\n _a[bitem.CellItem.prototype.kind] = bitem.CellItem,\n _a[bitem.MmlItem.prototype.kind] = bitem.MmlItem,\n _a[bitem.FnItem.prototype.kind] = bitem.FnItem,\n _a[bitem.NotItem.prototype.kind] = bitem.NotItem,\n _a[bitem.NonscriptItem.prototype.kind] = bitem.NonscriptItem,\n _a[bitem.DotsItem.prototype.kind] = bitem.DotsItem,\n _a[bitem.ArrayItem.prototype.kind] = bitem.ArrayItem,\n _a[bitem.EqnArrayItem.prototype.kind] = bitem.EqnArrayItem,\n _a[bitem.EquationItem.prototype.kind] = bitem.EquationItem,\n _a),\n options: {\n maxMacros: 1000,\n baseURL: (typeof (document) === 'undefined' ||\n document.getElementsByTagName('base').length === 0) ?\n '' : String(document.location).replace(/#.*$/, '')\n },\n tags: {\n base: BaseTags\n },\n postprocessors: [[filterNonscript, -4]]\n});\n"],"mappings":"AAAA,YAAY;;AACZ,IAAIA,SAAS,GAAI,IAAI,IAAI,IAAI,CAACA,SAAS,IAAM,YAAY;EACrD,IAAIC,aAAa,GAAG,SAAAA,CAAUC,CAAC,EAAEC,CAAC,EAAE;IAChCF,aAAa,GAAGG,MAAM,CAACC,cAAc,IAChC;MAAEC,SAAS,EAAE;IAAG,CAAC,YAAYC,KAAK,IAAI,UAAUL,CAAC,EAAEC,CAAC,EAAE;MAAED,CAAC,CAACI,SAAS,GAAGH,CAAC;IAAE,CAAE,IAC5E,UAAUD,CAAC,EAAEC,CAAC,EAAE;MAAE,KAAK,IAAIK,CAAC,IAAIL,CAAC,EAAE,IAAIC,MAAM,CAACK,SAAS,CAACC,c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