add initial marp implementation with sample content and build configuration
This commit is contained in:
7
node_modules/mathjax-full/js/output/chtml/Wrappers/TeXAtom.d.ts
generated
vendored
Normal file
7
node_modules/mathjax-full/js/output/chtml/Wrappers/TeXAtom.d.ts
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
import { CHTMLConstructor } from '../Wrapper.js';
|
||||
declare const CHTMLTeXAtom_base: import("../../common/Wrappers/TeXAtom.js").TeXAtomConstructor & CHTMLConstructor<any, any, any>;
|
||||
export declare class CHTMLTeXAtom<N, T, D> extends CHTMLTeXAtom_base {
|
||||
static kind: string;
|
||||
toCHTML(parent: N): void;
|
||||
}
|
||||
export {};
|
||||
43
node_modules/mathjax-full/js/output/chtml/Wrappers/TeXAtom.js
generated
vendored
Normal file
43
node_modules/mathjax-full/js/output/chtml/Wrappers/TeXAtom.js
generated
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
"use strict";
|
||||
var __extends = (this && this.__extends) || (function () {
|
||||
var extendStatics = function (d, b) {
|
||||
extendStatics = Object.setPrototypeOf ||
|
||||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
||||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
||||
return extendStatics(d, b);
|
||||
};
|
||||
return function (d, b) {
|
||||
if (typeof b !== "function" && b !== null)
|
||||
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
||||
extendStatics(d, b);
|
||||
function __() { this.constructor = d; }
|
||||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CHTMLTeXAtom = void 0;
|
||||
var Wrapper_js_1 = require("../Wrapper.js");
|
||||
var TeXAtom_js_1 = require("../../common/Wrappers/TeXAtom.js");
|
||||
var TeXAtom_js_2 = require("../../../core/MmlTree/MmlNodes/TeXAtom.js");
|
||||
var MmlNode_js_1 = require("../../../core/MmlTree/MmlNode.js");
|
||||
var CHTMLTeXAtom = (function (_super) {
|
||||
__extends(CHTMLTeXAtom, _super);
|
||||
function CHTMLTeXAtom() {
|
||||
return _super !== null && _super.apply(this, arguments) || this;
|
||||
}
|
||||
CHTMLTeXAtom.prototype.toCHTML = function (parent) {
|
||||
_super.prototype.toCHTML.call(this, parent);
|
||||
this.adaptor.setAttribute(this.chtml, 'texclass', MmlNode_js_1.TEXCLASSNAMES[this.node.texClass]);
|
||||
if (this.node.texClass === MmlNode_js_1.TEXCLASS.VCENTER) {
|
||||
var bbox = this.childNodes[0].getBBox();
|
||||
var h = bbox.h, d = bbox.d;
|
||||
var a = this.font.params.axis_height;
|
||||
var dh = ((h + d) / 2 + a) - h;
|
||||
this.adaptor.setStyle(this.chtml, 'verticalAlign', this.em(dh));
|
||||
}
|
||||
};
|
||||
CHTMLTeXAtom.kind = TeXAtom_js_2.TeXAtom.prototype.kind;
|
||||
return CHTMLTeXAtom;
|
||||
}((0, TeXAtom_js_1.CommonTeXAtomMixin)(Wrapper_js_1.CHTMLWrapper)));
|
||||
exports.CHTMLTeXAtom = CHTMLTeXAtom;
|
||||
//# sourceMappingURL=TeXAtom.js.map
|
||||
1
node_modules/mathjax-full/js/output/chtml/Wrappers/TeXAtom.js.map
generated
vendored
Normal file
1
node_modules/mathjax-full/js/output/chtml/Wrappers/TeXAtom.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"TeXAtom.js","sourceRoot":"","sources":["../../../../ts/output/chtml/Wrappers/TeXAtom.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAuBA,4CAA6D;AAC7D,+DAAoE;AACpE,wEAAkE;AAClE,+DAAyE;AAWzE;IACA,gCAAiE;IADjE;;IA0BA,CAAC;IAfQ,8BAAO,GAAd,UAAe,MAAS;QACtB,iBAAM,OAAO,YAAC,MAAM,CAAC,CAAC;QACtB,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,EAAE,UAAU,EAAE,0BAAa,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;QAIrF,IAAI,IAAI,CAAC,IAAI,CAAC,QAAQ,KAAK,qBAAQ,CAAC,OAAO,EAAE;YAC3C,IAAM,IAAI,GAAG,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;YACnC,IAAA,CAAC,GAAO,IAAI,EAAX,EAAE,CAAC,GAAI,IAAI,EAAR,CAAS;YACpB,IAAM,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC;YACvC,IAAM,EAAE,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC;YACjC,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,EAAE,eAAe,EAAE,IAAI,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;SACjE;IACH,CAAC;IAlBa,iBAAI,GAAG,oBAAO,CAAC,SAAS,CAAC,IAAI,CAAC;IAoB9C,mBAAC;CAAA,AA1BD,CACA,IAAA,+BAAkB,EAAkC,yBAAY,CAAC,GAyBhE;AA1BY,oCAAY"}
|
||||
10
node_modules/mathjax-full/js/output/chtml/Wrappers/TextNode.d.ts
generated
vendored
Normal file
10
node_modules/mathjax-full/js/output/chtml/Wrappers/TextNode.d.ts
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
import { CHTMLConstructor } from '../Wrapper.js';
|
||||
import { StyleList } from '../../../util/StyleList.js';
|
||||
declare const CHTMLTextNode_base: import("../../common/Wrappers/TextNode.js").TextNodeConstructor & CHTMLConstructor<any, any, any>;
|
||||
export declare class CHTMLTextNode<N, T, D> extends CHTMLTextNode_base {
|
||||
static kind: string;
|
||||
static autoStyle: boolean;
|
||||
static styles: StyleList;
|
||||
toCHTML(parent: N): void;
|
||||
}
|
||||
export {};
|
||||
86
node_modules/mathjax-full/js/output/chtml/Wrappers/TextNode.js
generated
vendored
Normal file
86
node_modules/mathjax-full/js/output/chtml/Wrappers/TextNode.js
generated
vendored
Normal file
@@ -0,0 +1,86 @@
|
||||
"use strict";
|
||||
var __extends = (this && this.__extends) || (function () {
|
||||
var extendStatics = function (d, b) {
|
||||
extendStatics = Object.setPrototypeOf ||
|
||||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
||||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
||||
return extendStatics(d, b);
|
||||
};
|
||||
return function (d, b) {
|
||||
if (typeof b !== "function" && b !== null)
|
||||
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
||||
extendStatics(d, b);
|
||||
function __() { this.constructor = d; }
|
||||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
};
|
||||
})();
|
||||
var __values = (this && this.__values) || function(o) {
|
||||
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
||||
if (m) return m.call(o);
|
||||
if (o && typeof o.length === "number") return {
|
||||
next: function () {
|
||||
if (o && i >= o.length) o = void 0;
|
||||
return { value: o && o[i++], done: !o };
|
||||
}
|
||||
};
|
||||
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CHTMLTextNode = void 0;
|
||||
var MmlNode_js_1 = require("../../../core/MmlTree/MmlNode.js");
|
||||
var Wrapper_js_1 = require("../Wrapper.js");
|
||||
var TextNode_js_1 = require("../../common/Wrappers/TextNode.js");
|
||||
var CHTMLTextNode = (function (_super) {
|
||||
__extends(CHTMLTextNode, _super);
|
||||
function CHTMLTextNode() {
|
||||
return _super !== null && _super.apply(this, arguments) || this;
|
||||
}
|
||||
CHTMLTextNode.prototype.toCHTML = function (parent) {
|
||||
var e_1, _a;
|
||||
this.markUsed();
|
||||
var adaptor = this.adaptor;
|
||||
var variant = this.parent.variant;
|
||||
var text = this.node.getText();
|
||||
if (text.length === 0)
|
||||
return;
|
||||
if (variant === '-explicitFont') {
|
||||
adaptor.append(parent, this.jax.unknownText(text, variant, this.getBBox().w));
|
||||
}
|
||||
else {
|
||||
var chars = this.remappedText(text, variant);
|
||||
try {
|
||||
for (var chars_1 = __values(chars), chars_1_1 = chars_1.next(); !chars_1_1.done; chars_1_1 = chars_1.next()) {
|
||||
var n = chars_1_1.value;
|
||||
var data = this.getVariantChar(variant, n)[3];
|
||||
var font = (data.f ? ' TEX-' + data.f : '');
|
||||
var node = (data.unknown ?
|
||||
this.jax.unknownText(String.fromCodePoint(n), variant) :
|
||||
this.html('mjx-c', { class: this.char(n) + font }));
|
||||
adaptor.append(parent, node);
|
||||
!data.unknown && this.font.charUsage.add([variant, n]);
|
||||
}
|
||||
}
|
||||
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
||||
finally {
|
||||
try {
|
||||
if (chars_1_1 && !chars_1_1.done && (_a = chars_1.return)) _a.call(chars_1);
|
||||
}
|
||||
finally { if (e_1) throw e_1.error; }
|
||||
}
|
||||
}
|
||||
};
|
||||
CHTMLTextNode.kind = MmlNode_js_1.TextNode.prototype.kind;
|
||||
CHTMLTextNode.autoStyle = false;
|
||||
CHTMLTextNode.styles = {
|
||||
'mjx-c': {
|
||||
display: 'inline-block'
|
||||
},
|
||||
'mjx-utext': {
|
||||
display: 'inline-block',
|
||||
padding: '.75em 0 .2em 0'
|
||||
}
|
||||
};
|
||||
return CHTMLTextNode;
|
||||
}((0, TextNode_js_1.CommonTextNodeMixin)(Wrapper_js_1.CHTMLWrapper)));
|
||||
exports.CHTMLTextNode = CHTMLTextNode;
|
||||
//# sourceMappingURL=TextNode.js.map
|
||||
1
node_modules/mathjax-full/js/output/chtml/Wrappers/TextNode.js.map
generated
vendored
Normal file
1
node_modules/mathjax-full/js/output/chtml/Wrappers/TextNode.js.map
generated
vendored
Normal file
@@ -0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C,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC;wBACxD,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,EAAC,KAAK,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,IAAI,EAAC,CAAC,CAAC,CAAC;oBAChE,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;oBAC7B,CAAC,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC;iBACxD;;;;;;;;;SACF;IACH,CAAC;IA3Ca,kBAAI,GAAG,qBAAQ,CAAC,SAAS,CAAC,IAAI,CAAC;IAK/B,uBAAS,GAAG,KAAK,CAAC;IAKlB,oBAAM,GAAc;QAChC,OAAO,EAAE;YACP,OAAO,EAAE,cAAc;SACxB;QACD,WAAW,EAAE;YACX,OAAO,EAAE,cAAc;YACvB,OAAO,EAAE,gBAAgB;SAC1B;KACF,CAAC;IA2BJ,oBAAC;CAAA,AAnDD,CACA,IAAA,iCAAmB,EAAkC,yBAAY,CAAC,GAkDjE;AAnDY,sCAAa"}
|
||||
12
node_modules/mathjax-full/js/output/chtml/Wrappers/maction.d.ts
generated
vendored
Normal file
12
node_modules/mathjax-full/js/output/chtml/Wrappers/maction.d.ts
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
import { CHTMLWrapper, CHTMLConstructor } from '../Wrapper.js';
|
||||
import { EventHandler } from '../../common/Wrappers/maction.js';
|
||||
import { StyleList } from '../../../util/StyleList.js';
|
||||
declare const CHTMLmaction_base: import("../../common/Wrappers/maction.js").MactionConstructor<CHTMLWrapper<any, any, any>> & CHTMLConstructor<any, any, any>;
|
||||
export declare class CHTMLmaction<N, T, D> extends CHTMLmaction_base {
|
||||
static kind: string;
|
||||
static styles: StyleList;
|
||||
static actions: Map<string, [import("../../common/Wrappers/maction.js").ActionHandler<CHTMLmaction<any, any, any>>, import("../../common/Wrappers/maction.js").ActionData]>;
|
||||
toCHTML(parent: N): void;
|
||||
setEventHandler(type: string, handler: EventHandler): void;
|
||||
}
|
||||
export {};
|
||||
148
node_modules/mathjax-full/js/output/chtml/Wrappers/maction.js
generated
vendored
Normal file
148
node_modules/mathjax-full/js/output/chtml/Wrappers/maction.js
generated
vendored
Normal file
@@ -0,0 +1,148 @@
|
||||
"use strict";
|
||||
var __extends = (this && this.__extends) || (function () {
|
||||
var extendStatics = function (d, b) {
|
||||
extendStatics = Object.setPrototypeOf ||
|
||||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
||||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
||||
return extendStatics(d, b);
|
||||
};
|
||||
return function (d, b) {
|
||||
if (typeof b !== "function" && b !== null)
|
||||
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
||||
extendStatics(d, b);
|
||||
function __() { this.constructor = d; }
|
||||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CHTMLmaction = void 0;
|
||||
var Wrapper_js_1 = require("../Wrapper.js");
|
||||
var maction_js_1 = require("../../common/Wrappers/maction.js");
|
||||
var maction_js_2 = require("../../common/Wrappers/maction.js");
|
||||
var maction_js_3 = require("../../../core/MmlTree/MmlNodes/maction.js");
|
||||
var CHTMLmaction = (function (_super) {
|
||||
__extends(CHTMLmaction, _super);
|
||||
function CHTMLmaction() {
|
||||
return _super !== null && _super.apply(this, arguments) || this;
|
||||
}
|
||||
CHTMLmaction.prototype.toCHTML = function (parent) {
|
||||
var chtml = this.standardCHTMLnode(parent);
|
||||
var child = this.selected;
|
||||
child.toCHTML(chtml);
|
||||
this.action(this, this.data);
|
||||
};
|
||||
CHTMLmaction.prototype.setEventHandler = function (type, handler) {
|
||||
this.chtml.addEventListener(type, handler);
|
||||
};
|
||||
CHTMLmaction.kind = maction_js_3.MmlMaction.prototype.kind;
|
||||
CHTMLmaction.styles = {
|
||||
'mjx-maction': {
|
||||
position: 'relative'
|
||||
},
|
||||
'mjx-maction > mjx-tool': {
|
||||
display: 'none',
|
||||
position: 'absolute',
|
||||
bottom: 0, right: 0,
|
||||
width: 0, height: 0,
|
||||
'z-index': 500
|
||||
},
|
||||
'mjx-tool > mjx-tip': {
|
||||
display: 'inline-block',
|
||||
padding: '.2em',
|
||||
border: '1px solid #888',
|
||||
'font-size': '70%',
|
||||
'background-color': '#F8F8F8',
|
||||
color: 'black',
|
||||
'box-shadow': '2px 2px 5px #AAAAAA'
|
||||
},
|
||||
'mjx-maction[toggle]': {
|
||||
cursor: 'pointer'
|
||||
},
|
||||
'mjx-status': {
|
||||
display: 'block',
|
||||
position: 'fixed',
|
||||
left: '1em',
|
||||
bottom: '1em',
|
||||
'min-width': '25%',
|
||||
padding: '.2em .4em',
|
||||
border: '1px solid #888',
|
||||
'font-size': '90%',
|
||||
'background-color': '#F8F8F8',
|
||||
color: 'black'
|
||||
}
|
||||
};
|
||||
CHTMLmaction.actions = new Map([
|
||||
['toggle', [function (node, _data) {
|
||||
node.adaptor.setAttribute(node.chtml, 'toggle', node.node.attributes.get('selection'));
|
||||
var math = node.factory.jax.math;
|
||||
var document = node.factory.jax.document;
|
||||
var mml = node.node;
|
||||
node.setEventHandler('click', function (event) {
|
||||
if (!math.end.node) {
|
||||
math.start.node = math.end.node = math.typesetRoot;
|
||||
math.start.n = math.end.n = 0;
|
||||
}
|
||||
mml.nextToggleSelection();
|
||||
math.rerender(document);
|
||||
event.stopPropagation();
|
||||
});
|
||||
}, {}]],
|
||||
['tooltip', [function (node, data) {
|
||||
var tip = node.childNodes[1];
|
||||
if (!tip)
|
||||
return;
|
||||
if (tip.node.isKind('mtext')) {
|
||||
var text = tip.node.getText();
|
||||
node.adaptor.setAttribute(node.chtml, 'title', text);
|
||||
}
|
||||
else {
|
||||
var adaptor_1 = node.adaptor;
|
||||
var tool_1 = adaptor_1.append(node.chtml, node.html('mjx-tool', {
|
||||
style: { bottom: node.em(-node.dy), right: node.em(-node.dx) }
|
||||
}, [node.html('mjx-tip')]));
|
||||
tip.toCHTML(adaptor_1.firstChild(tool_1));
|
||||
node.setEventHandler('mouseover', function (event) {
|
||||
data.stopTimers(node, data);
|
||||
var timeout = setTimeout(function () { return adaptor_1.setStyle(tool_1, 'display', 'block'); }, data.postDelay);
|
||||
data.hoverTimer.set(node, timeout);
|
||||
event.stopPropagation();
|
||||
});
|
||||
node.setEventHandler('mouseout', function (event) {
|
||||
data.stopTimers(node, data);
|
||||
var timeout = setTimeout(function () { return adaptor_1.setStyle(tool_1, 'display', ''); }, data.clearDelay);
|
||||
data.clearTimer.set(node, timeout);
|
||||
event.stopPropagation();
|
||||
});
|
||||
}
|
||||
}, maction_js_2.TooltipData]],
|
||||
['statusline', [function (node, data) {
|
||||
var tip = node.childNodes[1];
|
||||
if (!tip)
|
||||
return;
|
||||
if (tip.node.isKind('mtext')) {
|
||||
var adaptor_2 = node.adaptor;
|
||||
var text_1 = tip.node.getText();
|
||||
adaptor_2.setAttribute(node.chtml, 'statusline', text_1);
|
||||
node.setEventHandler('mouseover', function (event) {
|
||||
if (data.status === null) {
|
||||
var body = adaptor_2.body(adaptor_2.document);
|
||||
data.status = adaptor_2.append(body, node.html('mjx-status', {}, [node.text(text_1)]));
|
||||
}
|
||||
event.stopPropagation();
|
||||
});
|
||||
node.setEventHandler('mouseout', function (event) {
|
||||
if (data.status) {
|
||||
adaptor_2.remove(data.status);
|
||||
data.status = null;
|
||||
}
|
||||
event.stopPropagation();
|
||||
});
|
||||
}
|
||||
}, {
|
||||
status: null
|
||||
}]]
|
||||
]);
|
||||
return CHTMLmaction;
|
||||
}((0, maction_js_1.CommonMactionMixin)(Wrapper_js_1.CHTMLWrapper)));
|
||||
exports.CHTMLmaction = CHTMLmaction;
|
||||
//# sourceMappingURL=maction.js.map
|
||||
1
node_modules/mathjax-full/js/output/chtml/Wrappers/maction.js.map
generated
vendored
Normal file
1
node_modules/mathjax-full/js/output/chtml/Wrappers/maction.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"maction.js","sourceRoot":"","sources":["../../../../ts/output/chtml/Wrappers/maction.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAuBA,4CAA6D;AAC7D,+DAAoE;AAEpE,+DAA2E;AAC3E,wEAAqE;AAarE;IACA,gCAA8F;IAD9F;;IAuKA,CAAC;IAdQ,8BAAO,GAAd,UAAe,MAAS;QACtB,IAAM,KAAK,GAAG,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC;QAC7C,IAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAC;QAC5B,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;QACrB,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;IAC/B,CAAC;IAKM,sCAAe,GAAtB,UAAuB,IAAY,EAAE,OAAqB;QACvD,IAAI,CAAC,KAAa,CAAC,gBAAgB,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IACtD,CAAC;IA/Ja,iBAAI,GAAG,uBAAU,CAAC,SAAS,CAAC,IAAI,CAAC;IAKjC,mBAAM,GAAc;QAChC,aAAa,EAAE;YACb,QAAQ,EAAE,UAAU;SACrB;QACD,wBAAwB,EAAE;YACxB,OAAO,EAAE,MAAM;YACf,QAAQ,EAAE,UAAU;YACpB,MAAM,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC;YACnB,KAAK,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC;YACnB,SAAS,EAAE,GAAG;SACf;QACD,oBAAoB,EAAE;YACpB,OAAO,EAAE,cAAc;YACvB,OAAO,EAAE,MAAM;YACf,MAAM,EAAE,gBAAgB;YACxB,WAAW,EAAE,KAAK;YAClB,kBAAkB,EAAE,SA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AAO,CAAC,IAAI,CAAC,SAAO,CAAC,QAAQ,CAAC,CAAC;gCAC5C,IAAI,CAAC,MAAM,GAAG,SAAO,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,MAAI,CAAC,CAAC,CAAC,CAAC,CAAC;6BACpF;4BACD,KAAK,CAAC,eAAe,EAAE,CAAC;wBAC1B,CAAC,CAAC,CAAC;wBACH,IAAI,CAAC,eAAe,CAAC,UAAU,EAAE,UAAC,KAAY;4BAC5C,IAAI,IAAI,CAAC,MAAM,EAAE;gCACf,SAAO,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;gCAC5B,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;6BACpB;4BACD,KAAK,CAAC,eAAe,EAAE,CAAC;wBAC1B,CAAC,CAAC,CAAC;qBACJ;gBACH,CAAC,EAAE;oBACD,MAAM,EAAE,IAAI;iBACb,CAAC,CAAC;KAEwC,CAAC,CAAC;IAqBjD,mBAAC;CAAA,AAvKD,CACA,IAAA,+BAAkB,EAA+D,yBAAY,CAAC,GAsK7F;AAvKY,oCAAY"}
|
||||
12
node_modules/mathjax-full/js/output/chtml/Wrappers/math.d.ts
generated
vendored
Normal file
12
node_modules/mathjax-full/js/output/chtml/Wrappers/math.d.ts
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
import { CHTMLConstructor } from '../Wrapper.js';
|
||||
import { StyleList } from '../../../util/StyleList.js';
|
||||
declare const CHTMLmath_base: import("../../common/Wrappers/math.js").MathConstructor & CHTMLConstructor<any, any, any>;
|
||||
export declare class CHTMLmath<N, T, D> extends CHTMLmath_base {
|
||||
static kind: string;
|
||||
static styles: StyleList;
|
||||
toCHTML(parent: N): void;
|
||||
protected handleDisplay(parent: N): void;
|
||||
protected handleInline(parent: N): void;
|
||||
setChildPWidths(recompute: boolean, w?: number, clear?: boolean): boolean;
|
||||
}
|
||||
export {};
|
||||
140
node_modules/mathjax-full/js/output/chtml/Wrappers/math.js
generated
vendored
Normal file
140
node_modules/mathjax-full/js/output/chtml/Wrappers/math.js
generated
vendored
Normal file
@@ -0,0 +1,140 @@
|
||||
"use strict";
|
||||
var __extends = (this && this.__extends) || (function () {
|
||||
var extendStatics = function (d, b) {
|
||||
extendStatics = Object.setPrototypeOf ||
|
||||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
||||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
||||
return extendStatics(d, b);
|
||||
};
|
||||
return function (d, b) {
|
||||
if (typeof b !== "function" && b !== null)
|
||||
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
||||
extendStatics(d, b);
|
||||
function __() { this.constructor = d; }
|
||||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
};
|
||||
})();
|
||||
var __read = (this && this.__read) || function (o, n) {
|
||||
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
||||
if (!m) return o;
|
||||
var i = m.call(o), r, ar = [], e;
|
||||
try {
|
||||
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
||||
}
|
||||
catch (error) { e = { error: error }; }
|
||||
finally {
|
||||
try {
|
||||
if (r && !r.done && (m = i["return"])) m.call(i);
|
||||
}
|
||||
finally { if (e) throw e.error; }
|
||||
}
|
||||
return ar;
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CHTMLmath = void 0;
|
||||
var Wrapper_js_1 = require("../Wrapper.js");
|
||||
var math_js_1 = require("../../common/Wrappers/math.js");
|
||||
var math_js_2 = require("../../../core/MmlTree/MmlNodes/math.js");
|
||||
var BBox_js_1 = require("../../../util/BBox.js");
|
||||
var CHTMLmath = (function (_super) {
|
||||
__extends(CHTMLmath, _super);
|
||||
function CHTMLmath() {
|
||||
return _super !== null && _super.apply(this, arguments) || this;
|
||||
}
|
||||
CHTMLmath.prototype.toCHTML = function (parent) {
|
||||
_super.prototype.toCHTML.call(this, parent);
|
||||
var chtml = this.chtml;
|
||||
var adaptor = this.adaptor;
|
||||
var display = (this.node.attributes.get('display') === 'block');
|
||||
if (display) {
|
||||
adaptor.setAttribute(chtml, 'display', 'true');
|
||||
adaptor.setAttribute(parent, 'display', 'true');
|
||||
this.handleDisplay(parent);
|
||||
}
|
||||
else {
|
||||
this.handleInline(parent);
|
||||
}
|
||||
adaptor.addClass(chtml, 'MJX-TEX');
|
||||
};
|
||||
CHTMLmath.prototype.handleDisplay = function (parent) {
|
||||
var adaptor = this.adaptor;
|
||||
var _a = __read(this.getAlignShift(), 2), align = _a[0], shift = _a[1];
|
||||
if (align !== 'center') {
|
||||
adaptor.setAttribute(parent, 'justify', align);
|
||||
}
|
||||
if (this.bbox.pwidth === BBox_js_1.BBox.fullWidth) {
|
||||
adaptor.setAttribute(parent, 'width', 'full');
|
||||
if (this.jax.table) {
|
||||
var _b = this.jax.table.getOuterBBox(), L = _b.L, w = _b.w, R = _b.R;
|
||||
if (align === 'right') {
|
||||
R = Math.max(R || -shift, -shift);
|
||||
}
|
||||
else if (align === 'left') {
|
||||
L = Math.max(L || shift, shift);
|
||||
}
|
||||
else if (align === 'center') {
|
||||
w += 2 * Math.abs(shift);
|
||||
}
|
||||
var W = this.em(Math.max(0, L + w + R));
|
||||
adaptor.setStyle(parent, 'min-width', W);
|
||||
adaptor.setStyle(this.jax.table.chtml, 'min-width', W);
|
||||
}
|
||||
}
|
||||
else {
|
||||
this.setIndent(this.chtml, align, shift);
|
||||
}
|
||||
};
|
||||
CHTMLmath.prototype.handleInline = function (parent) {
|
||||
var adaptor = this.adaptor;
|
||||
var margin = adaptor.getStyle(this.chtml, 'margin-right');
|
||||
if (margin) {
|
||||
adaptor.setStyle(this.chtml, 'margin-right', '');
|
||||
adaptor.setStyle(parent, 'margin-right', margin);
|
||||
adaptor.setStyle(parent, 'width', '0');
|
||||
}
|
||||
};
|
||||
CHTMLmath.prototype.setChildPWidths = function (recompute, w, clear) {
|
||||
if (w === void 0) { w = null; }
|
||||
if (clear === void 0) { clear = true; }
|
||||
return (this.parent ? _super.prototype.setChildPWidths.call(this, recompute, w, clear) : false);
|
||||
};
|
||||
CHTMLmath.kind = math_js_2.MmlMath.prototype.kind;
|
||||
CHTMLmath.styles = {
|
||||
'mjx-math': {
|
||||
'line-height': 0,
|
||||
'text-align': 'left',
|
||||
'text-indent': 0,
|
||||
'font-style': 'normal',
|
||||
'font-weight': 'normal',
|
||||
'font-size': '100%',
|
||||
'font-size-adjust': 'none',
|
||||
'letter-spacing': 'normal',
|
||||
'border-collapse': 'collapse',
|
||||
'word-wrap': 'normal',
|
||||
'word-spacing': 'normal',
|
||||
'white-space': 'nowrap',
|
||||
'direction': 'ltr',
|
||||
'padding': '1px 0'
|
||||
},
|
||||
'mjx-container[jax="CHTML"][display="true"]': {
|
||||
display: 'block',
|
||||
'text-align': 'center',
|
||||
margin: '1em 0'
|
||||
},
|
||||
'mjx-container[jax="CHTML"][display="true"][width="full"]': {
|
||||
display: 'flex'
|
||||
},
|
||||
'mjx-container[jax="CHTML"][display="true"] mjx-math': {
|
||||
padding: 0
|
||||
},
|
||||
'mjx-container[jax="CHTML"][justify="left"]': {
|
||||
'text-align': 'left'
|
||||
},
|
||||
'mjx-container[jax="CHTML"][justify="right"]': {
|
||||
'text-align': 'right'
|
||||
}
|
||||
};
|
||||
return CHTMLmath;
|
||||
}((0, math_js_1.CommonMathMixin)(Wrapper_js_1.CHTMLWrapper)));
|
||||
exports.CHTMLmath = CHTMLmath;
|
||||
//# sourceMappingURL=math.js.map
|
||||
1
node_modules/mathjax-full/js/output/chtml/Wrappers/math.js.map
generated
vendored
Normal file
1
node_modules/mathjax-full/js/output/chtml/Wrappers/math.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"math.js","sourceRoot":"","sources":["../../../../ts/output/chtml/Wrappers/math.ts"],"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AAE;YAC7C,YAAY,EAAE,OAAO;SACtB;KACF,CAAC;IAwEJ,gBAAC;CAAA,AArHD,CACA,IAAA,yBAAe,EAAkC,yBAAY,CAAC,GAoH7D;AArHY,8BAAS"}
|
||||
21
node_modules/mathjax-full/js/output/chtml/Wrappers/menclose.d.ts
generated
vendored
Normal file
21
node_modules/mathjax-full/js/output/chtml/Wrappers/menclose.d.ts
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
import { CHTMLWrapper, CHTMLConstructor } from '../Wrapper.js';
|
||||
import { CHTMLmsqrt } from './msqrt.js';
|
||||
import * as Notation from '../Notation.js';
|
||||
import { StyleList } from '../../../util/StyleList.js';
|
||||
declare const CHTMLmenclose_base: import("../../common/Wrappers/menclose.js").MencloseConstructor<CHTMLWrapper<any, any, any>, CHTMLmsqrt<any, any, any>, any> & CHTMLConstructor<any, any, any>;
|
||||
export declare class CHTMLmenclose<N, T, D> extends CHTMLmenclose_base {
|
||||
static kind: string;
|
||||
static styles: StyleList;
|
||||
static notations: Notation.DefList<CHTMLmenclose<any, any, any>, any>;
|
||||
toCHTML(parent: N): void;
|
||||
arrow(w: number, a: number, double: boolean, offset?: string, dist?: number): N;
|
||||
protected adjustArrow(arrow: N, double: boolean): void;
|
||||
protected adjustHead(head: N, border: string[], a: string): void;
|
||||
protected adjustLine(line: N, t: number, x: number, double: boolean): void;
|
||||
protected moveArrow(arrow: N, offset: string, d: number): void;
|
||||
adjustBorder(node: N): N;
|
||||
adjustThickness(shape: N): N;
|
||||
fixed(m: number, n?: number): string;
|
||||
em(m: number): string;
|
||||
}
|
||||
export {};
|
||||
413
node_modules/mathjax-full/js/output/chtml/Wrappers/menclose.js
generated
vendored
Normal file
413
node_modules/mathjax-full/js/output/chtml/Wrappers/menclose.js
generated
vendored
Normal file
@@ -0,0 +1,413 @@
|
||||
"use strict";
|
||||
var __extends = (this && this.__extends) || (function () {
|
||||
var extendStatics = function (d, b) {
|
||||
extendStatics = Object.setPrototypeOf ||
|
||||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
||||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
||||
return extendStatics(d, b);
|
||||
};
|
||||
return function (d, b) {
|
||||
if (typeof b !== "function" && b !== null)
|
||||
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
||||
extendStatics(d, b);
|
||||
function __() { this.constructor = d; }
|
||||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
};
|
||||
})();
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
var __values = (this && this.__values) || function(o) {
|
||||
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
||||
if (m) return m.call(o);
|
||||
if (o && typeof o.length === "number") return {
|
||||
next: function () {
|
||||
if (o && i >= o.length) o = void 0;
|
||||
return { value: o && o[i++], done: !o };
|
||||
}
|
||||
};
|
||||
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
||||
};
|
||||
var __read = (this && this.__read) || function (o, n) {
|
||||
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
||||
if (!m) return o;
|
||||
var i = m.call(o), r, ar = [], e;
|
||||
try {
|
||||
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
||||
}
|
||||
catch (error) { e = { error: error }; }
|
||||
finally {
|
||||
try {
|
||||
if (r && !r.done && (m = i["return"])) m.call(i);
|
||||
}
|
||||
finally { if (e) throw e.error; }
|
||||
}
|
||||
return ar;
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CHTMLmenclose = void 0;
|
||||
var Wrapper_js_1 = require("../Wrapper.js");
|
||||
var menclose_js_1 = require("../../common/Wrappers/menclose.js");
|
||||
var Notation = __importStar(require("../Notation.js"));
|
||||
var menclose_js_2 = require("../../../core/MmlTree/MmlNodes/menclose.js");
|
||||
var lengths_js_1 = require("../../../util/lengths.js");
|
||||
function Angle(x, y) {
|
||||
return Math.atan2(x, y).toFixed(3).replace(/\.?0+$/, '');
|
||||
}
|
||||
var ANGLE = Angle(Notation.ARROWDX, Notation.ARROWY);
|
||||
var CHTMLmenclose = (function (_super) {
|
||||
__extends(CHTMLmenclose, _super);
|
||||
function CHTMLmenclose() {
|
||||
return _super !== null && _super.apply(this, arguments) || this;
|
||||
}
|
||||
CHTMLmenclose.prototype.toCHTML = function (parent) {
|
||||
var e_1, _a, e_2, _b;
|
||||
var adaptor = this.adaptor;
|
||||
var chtml = this.standardCHTMLnode(parent);
|
||||
var block = adaptor.append(chtml, this.html('mjx-box'));
|
||||
if (this.renderChild) {
|
||||
this.renderChild(this, block);
|
||||
}
|
||||
else {
|
||||
this.childNodes[0].toCHTML(block);
|
||||
}
|
||||
try {
|
||||
for (var _c = __values(Object.keys(this.notations)), _d = _c.next(); !_d.done; _d = _c.next()) {
|
||||
var name_1 = _d.value;
|
||||
var notation = this.notations[name_1];
|
||||
!notation.renderChild && notation.renderer(this, block);
|
||||
}
|
||||
}
|
||||
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
||||
finally {
|
||||
try {
|
||||
if (_d && !_d.done && (_a = _c.return)) _a.call(_c);
|
||||
}
|
||||
finally { if (e_1) throw e_1.error; }
|
||||
}
|
||||
var pbox = this.getPadding();
|
||||
try {
|
||||
for (var _e = __values(Notation.sideNames), _f = _e.next(); !_f.done; _f = _e.next()) {
|
||||
var name_2 = _f.value;
|
||||
var i = Notation.sideIndex[name_2];
|
||||
pbox[i] > 0 && adaptor.setStyle(block, 'padding-' + name_2, this.em(pbox[i]));
|
||||
}
|
||||
}
|
||||
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
||||
finally {
|
||||
try {
|
||||
if (_f && !_f.done && (_b = _e.return)) _b.call(_e);
|
||||
}
|
||||
finally { if (e_2) throw e_2.error; }
|
||||
}
|
||||
};
|
||||
CHTMLmenclose.prototype.arrow = function (w, a, double, offset, dist) {
|
||||
if (offset === void 0) { offset = ''; }
|
||||
if (dist === void 0) { dist = 0; }
|
||||
var W = this.getBBox().w;
|
||||
var style = { width: this.em(w) };
|
||||
if (W !== w) {
|
||||
style.left = this.em((W - w) / 2);
|
||||
}
|
||||
if (a) {
|
||||
style.transform = 'rotate(' + this.fixed(a) + 'rad)';
|
||||
}
|
||||
var arrow = this.html('mjx-arrow', { style: style }, [
|
||||
this.html('mjx-aline'), this.html('mjx-rthead'), this.html('mjx-rbhead')
|
||||
]);
|
||||
if (double) {
|
||||
this.adaptor.append(arrow, this.html('mjx-lthead'));
|
||||
this.adaptor.append(arrow, this.html('mjx-lbhead'));
|
||||
this.adaptor.setAttribute(arrow, 'double', 'true');
|
||||
}
|
||||
this.adjustArrow(arrow, double);
|
||||
this.moveArrow(arrow, offset, dist);
|
||||
return arrow;
|
||||
};
|
||||
CHTMLmenclose.prototype.adjustArrow = function (arrow, double) {
|
||||
var _this = this;
|
||||
var t = this.thickness;
|
||||
var head = this.arrowhead;
|
||||
if (head.x === Notation.ARROWX && head.y === Notation.ARROWY &&
|
||||
head.dx === Notation.ARROWDX && t === Notation.THICKNESS)
|
||||
return;
|
||||
var _a = __read([t * head.x, t * head.y].map(function (x) { return _this.em(x); }), 2), x = _a[0], y = _a[1];
|
||||
var a = Angle(head.dx, head.y);
|
||||
var _b = __read(this.adaptor.childNodes(arrow), 5), line = _b[0], rthead = _b[1], rbhead = _b[2], lthead = _b[3], lbhead = _b[4];
|
||||
this.adjustHead(rthead, [y, '0', '1px', x], a);
|
||||
this.adjustHead(rbhead, ['1px', '0', y, x], '-' + a);
|
||||
this.adjustHead(lthead, [y, x, '1px', '0'], '-' + a);
|
||||
this.adjustHead(lbhead, ['1px', x, y, '0'], a);
|
||||
this.adjustLine(line, t, head.x, double);
|
||||
};
|
||||
CHTMLmenclose.prototype.adjustHead = function (head, border, a) {
|
||||
if (head) {
|
||||
this.adaptor.setStyle(head, 'border-width', border.join(' '));
|
||||
this.adaptor.setStyle(head, 'transform', 'skewX(' + a + 'rad)');
|
||||
}
|
||||
};
|
||||
CHTMLmenclose.prototype.adjustLine = function (line, t, x, double) {
|
||||
this.adaptor.setStyle(line, 'borderTop', this.em(t) + ' solid');
|
||||
this.adaptor.setStyle(line, 'top', this.em(-t / 2));
|
||||
this.adaptor.setStyle(line, 'right', this.em(t * (x - 1)));
|
||||
if (double) {
|
||||
this.adaptor.setStyle(line, 'left', this.em(t * (x - 1)));
|
||||
}
|
||||
};
|
||||
CHTMLmenclose.prototype.moveArrow = function (arrow, offset, d) {
|
||||
if (!d)
|
||||
return;
|
||||
var transform = this.adaptor.getStyle(arrow, 'transform');
|
||||
this.adaptor.setStyle(arrow, 'transform', "translate".concat(offset, "(").concat(this.em(-d), ")").concat((transform ? ' ' + transform : '')));
|
||||
};
|
||||
CHTMLmenclose.prototype.adjustBorder = function (node) {
|
||||
if (this.thickness !== Notation.THICKNESS) {
|
||||
this.adaptor.setStyle(node, 'borderWidth', this.em(this.thickness));
|
||||
}
|
||||
return node;
|
||||
};
|
||||
CHTMLmenclose.prototype.adjustThickness = function (shape) {
|
||||
if (this.thickness !== Notation.THICKNESS) {
|
||||
this.adaptor.setStyle(shape, 'strokeWidth', this.fixed(this.thickness));
|
||||
}
|
||||
return shape;
|
||||
};
|
||||
CHTMLmenclose.prototype.fixed = function (m, n) {
|
||||
if (n === void 0) { n = 3; }
|
||||
if (Math.abs(m) < .0006) {
|
||||
return '0';
|
||||
}
|
||||
return m.toFixed(n).replace(/\.?0+$/, '');
|
||||
};
|
||||
CHTMLmenclose.prototype.em = function (m) {
|
||||
return _super.prototype.em.call(this, m);
|
||||
};
|
||||
CHTMLmenclose.kind = menclose_js_2.MmlMenclose.prototype.kind;
|
||||
CHTMLmenclose.styles = {
|
||||
'mjx-menclose': {
|
||||
position: 'relative'
|
||||
},
|
||||
'mjx-menclose > mjx-dstrike': {
|
||||
display: 'inline-block',
|
||||
left: 0, top: 0,
|
||||
position: 'absolute',
|
||||
'border-top': Notation.SOLID,
|
||||
'transform-origin': 'top left'
|
||||
},
|
||||
'mjx-menclose > mjx-ustrike': {
|
||||
display: 'inline-block',
|
||||
left: 0, bottom: 0,
|
||||
position: 'absolute',
|
||||
'border-top': Notation.SOLID,
|
||||
'transform-origin': 'bottom left'
|
||||
},
|
||||
'mjx-menclose > mjx-hstrike': {
|
||||
'border-top': Notation.SOLID,
|
||||
position: 'absolute',
|
||||
left: 0, right: 0, bottom: '50%',
|
||||
transform: 'translateY(' + (0, lengths_js_1.em)(Notation.THICKNESS / 2) + ')'
|
||||
},
|
||||
'mjx-menclose > mjx-vstrike': {
|
||||
'border-left': Notation.SOLID,
|
||||
position: 'absolute',
|
||||
top: 0, bottom: 0, right: '50%',
|
||||
transform: 'translateX(' + (0, lengths_js_1.em)(Notation.THICKNESS / 2) + ')'
|
||||
},
|
||||
'mjx-menclose > mjx-rbox': {
|
||||
position: 'absolute',
|
||||
top: 0, bottom: 0, right: 0, left: 0,
|
||||
'border': Notation.SOLID,
|
||||
'border-radius': (0, lengths_js_1.em)(Notation.THICKNESS + Notation.PADDING)
|
||||
},
|
||||
'mjx-menclose > mjx-cbox': {
|
||||
position: 'absolute',
|
||||
top: 0, bottom: 0, right: 0, left: 0,
|
||||
'border': Notation.SOLID,
|
||||
'border-radius': '50%'
|
||||
},
|
||||
'mjx-menclose > mjx-arrow': {
|
||||
position: 'absolute',
|
||||
left: 0, bottom: '50%', height: 0, width: 0
|
||||
},
|
||||
'mjx-menclose > mjx-arrow > *': {
|
||||
display: 'block',
|
||||
position: 'absolute',
|
||||
'transform-origin': 'bottom',
|
||||
'border-left': (0, lengths_js_1.em)(Notation.THICKNESS * Notation.ARROWX) + ' solid',
|
||||
'border-right': 0,
|
||||
'box-sizing': 'border-box'
|
||||
},
|
||||
'mjx-menclose > mjx-arrow > mjx-aline': {
|
||||
left: 0, top: (0, lengths_js_1.em)(-Notation.THICKNESS / 2),
|
||||
right: (0, lengths_js_1.em)(Notation.THICKNESS * (Notation.ARROWX - 1)), height: 0,
|
||||
'border-top': (0, lengths_js_1.em)(Notation.THICKNESS) + ' solid',
|
||||
'border-left': 0
|
||||
},
|
||||
'mjx-menclose > mjx-arrow[double] > mjx-aline': {
|
||||
left: (0, lengths_js_1.em)(Notation.THICKNESS * (Notation.ARROWX - 1)), height: 0,
|
||||
},
|
||||
'mjx-menclose > mjx-arrow > mjx-rthead': {
|
||||
transform: 'skewX(' + ANGLE + 'rad)',
|
||||
right: 0, bottom: '-1px',
|
||||
'border-bottom': '1px solid transparent',
|
||||
'border-top': (0, lengths_js_1.em)(Notation.THICKNESS * Notation.ARROWY) + ' solid transparent'
|
||||
},
|
||||
'mjx-menclose > mjx-arrow > mjx-rbhead': {
|
||||
transform: 'skewX(-' + ANGLE + 'rad)',
|
||||
'transform-origin': 'top',
|
||||
right: 0, top: '-1px',
|
||||
'border-top': '1px solid transparent',
|
||||
'border-bottom': (0, lengths_js_1.em)(Notation.THICKNESS * Notation.ARROWY) + ' solid transparent'
|
||||
},
|
||||
'mjx-menclose > mjx-arrow > mjx-lthead': {
|
||||
transform: 'skewX(-' + ANGLE + 'rad)',
|
||||
left: 0, bottom: '-1px',
|
||||
'border-left': 0,
|
||||
'border-right': (0, lengths_js_1.em)(Notation.THICKNESS * Notation.ARROWX) + ' solid',
|
||||
'border-bottom': '1px solid transparent',
|
||||
'border-top': (0, lengths_js_1.em)(Notation.THICKNESS * Notation.ARROWY) + ' solid transparent'
|
||||
},
|
||||
'mjx-menclose > mjx-arrow > mjx-lbhead': {
|
||||
transform: 'skewX(' + ANGLE + 'rad)',
|
||||
'transform-origin': 'top',
|
||||
left: 0, top: '-1px',
|
||||
'border-left': 0,
|
||||
'border-right': (0, lengths_js_1.em)(Notation.THICKNESS * Notation.ARROWX) + ' solid',
|
||||
'border-top': '1px solid transparent',
|
||||
'border-bottom': (0, lengths_js_1.em)(Notation.THICKNESS * Notation.ARROWY) + ' solid transparent'
|
||||
},
|
||||
'mjx-menclose > dbox': {
|
||||
position: 'absolute',
|
||||
top: 0, bottom: 0, left: (0, lengths_js_1.em)(-1.5 * Notation.PADDING),
|
||||
width: (0, lengths_js_1.em)(3 * Notation.PADDING),
|
||||
border: (0, lengths_js_1.em)(Notation.THICKNESS) + ' solid',
|
||||
'border-radius': '50%',
|
||||
'clip-path': 'inset(0 0 0 ' + (0, lengths_js_1.em)(1.5 * Notation.PADDING) + ')',
|
||||
'box-sizing': 'border-box'
|
||||
}
|
||||
};
|
||||
CHTMLmenclose.notations = new Map([
|
||||
Notation.Border('top'),
|
||||
Notation.Border('right'),
|
||||
Notation.Border('bottom'),
|
||||
Notation.Border('left'),
|
||||
Notation.Border2('actuarial', 'top', 'right'),
|
||||
Notation.Border2('madruwb', 'bottom', 'right'),
|
||||
Notation.DiagonalStrike('up', 1),
|
||||
Notation.DiagonalStrike('down', -1),
|
||||
['horizontalstrike', {
|
||||
renderer: Notation.RenderElement('hstrike', 'Y'),
|
||||
bbox: function (node) { return [0, node.padding, 0, node.padding]; }
|
||||
}],
|
||||
['verticalstrike', {
|
||||
renderer: Notation.RenderElement('vstrike', 'X'),
|
||||
bbox: function (node) { return [node.padding, 0, node.padding, 0]; }
|
||||
}],
|
||||
['box', {
|
||||
renderer: function (node, child) {
|
||||
node.adaptor.setStyle(child, 'border', node.em(node.thickness) + ' solid');
|
||||
},
|
||||
bbox: Notation.fullBBox,
|
||||
border: Notation.fullBorder,
|
||||
remove: 'left right top bottom'
|
||||
}],
|
||||
['roundedbox', {
|
||||
renderer: Notation.RenderElement('rbox'),
|
||||
bbox: Notation.fullBBox
|
||||
}],
|
||||
['circle', {
|
||||
renderer: Notation.RenderElement('cbox'),
|
||||
bbox: Notation.fullBBox
|
||||
}],
|
||||
['phasorangle', {
|
||||
renderer: function (node, child) {
|
||||
var _a = node.getBBox(), h = _a.h, d = _a.d;
|
||||
var _b = __read(node.getArgMod(1.75 * node.padding, h + d), 2), a = _b[0], W = _b[1];
|
||||
var t = node.thickness * Math.sin(a) * .9;
|
||||
node.adaptor.setStyle(child, 'border-bottom', node.em(node.thickness) + ' solid');
|
||||
var strike = node.adjustBorder(node.html('mjx-ustrike', { style: {
|
||||
width: node.em(W),
|
||||
transform: 'translateX(' + node.em(t) + ') rotate(' + node.fixed(-a) + 'rad)',
|
||||
} }));
|
||||
node.adaptor.append(node.chtml, strike);
|
||||
},
|
||||
bbox: function (node) {
|
||||
var p = node.padding / 2;
|
||||
var t = node.thickness;
|
||||
return [2 * p, p, p + t, 3 * p + t];
|
||||
},
|
||||
border: function (node) { return [0, 0, node.thickness, 0]; },
|
||||
remove: 'bottom'
|
||||
}],
|
||||
Notation.Arrow('up'),
|
||||
Notation.Arrow('down'),
|
||||
Notation.Arrow('left'),
|
||||
Notation.Arrow('right'),
|
||||
Notation.Arrow('updown'),
|
||||
Notation.Arrow('leftright'),
|
||||
Notation.DiagonalArrow('updiagonal'),
|
||||
Notation.DiagonalArrow('northeast'),
|
||||
Notation.DiagonalArrow('southeast'),
|
||||
Notation.DiagonalArrow('northwest'),
|
||||
Notation.DiagonalArrow('southwest'),
|
||||
Notation.DiagonalArrow('northeastsouthwest'),
|
||||
Notation.DiagonalArrow('northwestsoutheast'),
|
||||
['longdiv', {
|
||||
renderer: function (node, child) {
|
||||
var adaptor = node.adaptor;
|
||||
adaptor.setStyle(child, 'border-top', node.em(node.thickness) + ' solid');
|
||||
var arc = adaptor.append(node.chtml, node.html('dbox'));
|
||||
var t = node.thickness;
|
||||
var p = node.padding;
|
||||
if (t !== Notation.THICKNESS) {
|
||||
adaptor.setStyle(arc, 'border-width', node.em(t));
|
||||
}
|
||||
if (p !== Notation.PADDING) {
|
||||
adaptor.setStyle(arc, 'left', node.em(-1.5 * p));
|
||||
adaptor.setStyle(arc, 'width', node.em(3 * p));
|
||||
adaptor.setStyle(arc, 'clip-path', 'inset(0 0 0 ' + node.em(1.5 * p) + ')');
|
||||
}
|
||||
},
|
||||
bbox: function (node) {
|
||||
var p = node.padding;
|
||||
var t = node.thickness;
|
||||
return [p + t, p, p, 2 * p + t / 2];
|
||||
}
|
||||
}],
|
||||
['radical', {
|
||||
renderer: function (node, child) {
|
||||
node.msqrt.toCHTML(child);
|
||||
var TRBL = node.sqrtTRBL();
|
||||
node.adaptor.setStyle(node.msqrt.chtml, 'margin', TRBL.map(function (x) { return node.em(-x); }).join(' '));
|
||||
},
|
||||
init: function (node) {
|
||||
node.msqrt = node.createMsqrt(node.childNodes[0]);
|
||||
},
|
||||
bbox: function (node) { return node.sqrtTRBL(); },
|
||||
renderChild: true
|
||||
}]
|
||||
]);
|
||||
return CHTMLmenclose;
|
||||
}((0, menclose_js_1.CommonMencloseMixin)(Wrapper_js_1.CHTMLWrapper)));
|
||||
exports.CHTMLmenclose = CHTMLmenclose;
|
||||
//# sourceMappingURL=menclose.js.map
|
||||
1
node_modules/mathjax-full/js/output/chtml/Wrappers/menclose.js.map
generated
vendored
Normal file
1
node_modules/mathjax-full/js/output/chtml/Wrappers/menclose.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
7
node_modules/mathjax-full/js/output/chtml/Wrappers/mfenced.d.ts
generated
vendored
Normal file
7
node_modules/mathjax-full/js/output/chtml/Wrappers/mfenced.d.ts
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
import { CHTMLConstructor } from '../Wrapper.js';
|
||||
declare const CHTMLmfenced_base: import("../../common/Wrappers/mfenced.js").MfencedConstructor & CHTMLConstructor<any, any, any>;
|
||||
export declare class CHTMLmfenced<N, T, D> extends CHTMLmfenced_base {
|
||||
static kind: string;
|
||||
toCHTML(parent: N): void;
|
||||
}
|
||||
export {};
|
||||
35
node_modules/mathjax-full/js/output/chtml/Wrappers/mfenced.js
generated
vendored
Normal file
35
node_modules/mathjax-full/js/output/chtml/Wrappers/mfenced.js
generated
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
"use strict";
|
||||
var __extends = (this && this.__extends) || (function () {
|
||||
var extendStatics = function (d, b) {
|
||||
extendStatics = Object.setPrototypeOf ||
|
||||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
||||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
||||
return extendStatics(d, b);
|
||||
};
|
||||
return function (d, b) {
|
||||
if (typeof b !== "function" && b !== null)
|
||||
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
||||
extendStatics(d, b);
|
||||
function __() { this.constructor = d; }
|
||||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CHTMLmfenced = void 0;
|
||||
var Wrapper_js_1 = require("../Wrapper.js");
|
||||
var mfenced_js_1 = require("../../common/Wrappers/mfenced.js");
|
||||
var mfenced_js_2 = require("../../../core/MmlTree/MmlNodes/mfenced.js");
|
||||
var CHTMLmfenced = (function (_super) {
|
||||
__extends(CHTMLmfenced, _super);
|
||||
function CHTMLmfenced() {
|
||||
return _super !== null && _super.apply(this, arguments) || this;
|
||||
}
|
||||
CHTMLmfenced.prototype.toCHTML = function (parent) {
|
||||
var chtml = this.standardCHTMLnode(parent);
|
||||
this.mrow.toCHTML(chtml);
|
||||
};
|
||||
CHTMLmfenced.kind = mfenced_js_2.MmlMfenced.prototype.kind;
|
||||
return CHTMLmfenced;
|
||||
}((0, mfenced_js_1.CommonMfencedMixin)(Wrapper_js_1.CHTMLWrapper)));
|
||||
exports.CHTMLmfenced = CHTMLmfenced;
|
||||
//# sourceMappingURL=mfenced.js.map
|
||||
1
node_modules/mathjax-full/js/output/chtml/Wrappers/mfenced.js.map
generated
vendored
Normal file
1
node_modules/mathjax-full/js/output/chtml/Wrappers/mfenced.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"mfenced.js","sourceRoot":"","sources":["../../../../ts/output/chtml/Wrappers/mfenced.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAuBA,4CAA6D;AAC7D,+DAAoE;AACpE,wEAAqE;AAWrE;IAA2C,gCAAiE;IAA5G;;IAeA,CAAC;IALQ,8BAAO,GAAd,UAAe,MAAS;QACtB,IAAM,KAAK,GAAG,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC;QAC5C,IAAI,CAAC,IAAmC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC3D,CAAC;IARa,iBAAI,GAAG,uBAAU,CAAC,SAAS,CAAC,IAAI,CAAC;IAUjD,mBAAC;CAAA,AAfD,CAA2C,IAAA,+BAAkB,EAAkC,yBAAY,CAAC,GAe3G;AAfY,oCAAY"}
|
||||
14
node_modules/mathjax-full/js/output/chtml/Wrappers/mfrac.d.ts
generated
vendored
Normal file
14
node_modules/mathjax-full/js/output/chtml/Wrappers/mfrac.d.ts
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
import { CHTMLConstructor } from '../Wrapper.js';
|
||||
import { CHTMLmo } from './mo.js';
|
||||
import { StyleList } from '../../../util/StyleList.js';
|
||||
declare const CHTMLmfrac_base: import("../../common/Wrappers/mfrac.js").MfracConstructor & CHTMLConstructor<any, any, any>;
|
||||
export declare class CHTMLmfrac<N, T, D> extends CHTMLmfrac_base {
|
||||
static kind: string;
|
||||
static styles: StyleList;
|
||||
bevel: CHTMLmo<N, T, D>;
|
||||
toCHTML(parent: N): void;
|
||||
protected makeFraction(display: boolean, t: number): void;
|
||||
protected makeAtop(display: boolean): void;
|
||||
protected makeBevelled(display: boolean): void;
|
||||
}
|
||||
export {};
|
||||
211
node_modules/mathjax-full/js/output/chtml/Wrappers/mfrac.js
generated
vendored
Normal file
211
node_modules/mathjax-full/js/output/chtml/Wrappers/mfrac.js
generated
vendored
Normal file
@@ -0,0 +1,211 @@
|
||||
"use strict";
|
||||
var __extends = (this && this.__extends) || (function () {
|
||||
var extendStatics = function (d, b) {
|
||||
extendStatics = Object.setPrototypeOf ||
|
||||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
||||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
||||
return extendStatics(d, b);
|
||||
};
|
||||
return function (d, b) {
|
||||
if (typeof b !== "function" && b !== null)
|
||||
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
||||
extendStatics(d, b);
|
||||
function __() { this.constructor = d; }
|
||||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
};
|
||||
})();
|
||||
var __assign = (this && this.__assign) || function () {
|
||||
__assign = Object.assign || function(t) {
|
||||
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
||||
s = arguments[i];
|
||||
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
||||
t[p] = s[p];
|
||||
}
|
||||
return t;
|
||||
};
|
||||
return __assign.apply(this, arguments);
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CHTMLmfrac = void 0;
|
||||
var Wrapper_js_1 = require("../Wrapper.js");
|
||||
var mfrac_js_1 = require("../../common/Wrappers/mfrac.js");
|
||||
var mfrac_js_2 = require("../../../core/MmlTree/MmlNodes/mfrac.js");
|
||||
var CHTMLmfrac = (function (_super) {
|
||||
__extends(CHTMLmfrac, _super);
|
||||
function CHTMLmfrac() {
|
||||
return _super !== null && _super.apply(this, arguments) || this;
|
||||
}
|
||||
CHTMLmfrac.prototype.toCHTML = function (parent) {
|
||||
this.standardCHTMLnode(parent);
|
||||
var _a = this.node.attributes.getList('linethickness', 'bevelled'), linethickness = _a.linethickness, bevelled = _a.bevelled;
|
||||
var display = this.isDisplay();
|
||||
if (bevelled) {
|
||||
this.makeBevelled(display);
|
||||
}
|
||||
else {
|
||||
var thickness = this.length2em(String(linethickness), .06);
|
||||
if (thickness === 0) {
|
||||
this.makeAtop(display);
|
||||
}
|
||||
else {
|
||||
this.makeFraction(display, thickness);
|
||||
}
|
||||
}
|
||||
};
|
||||
CHTMLmfrac.prototype.makeFraction = function (display, t) {
|
||||
var _a = this.node.attributes.getList('numalign', 'denomalign'), numalign = _a.numalign, denomalign = _a.denomalign;
|
||||
var withDelims = this.node.getProperty('withDelims');
|
||||
var attr = (display ? { type: 'd' } : {});
|
||||
var fattr = (withDelims ? __assign(__assign({}, attr), { delims: 'true' }) : __assign({}, attr));
|
||||
var nattr = (numalign !== 'center' ? { align: numalign } : {});
|
||||
var dattr = (denomalign !== 'center' ? { align: denomalign } : {});
|
||||
var dsattr = __assign({}, attr), nsattr = __assign({}, attr);
|
||||
var tex = this.font.params;
|
||||
if (t !== .06) {
|
||||
var a = tex.axis_height;
|
||||
var tEm = this.em(t);
|
||||
var _b = this.getTUV(display, t), T = _b.T, u = _b.u, v = _b.v;
|
||||
var m = (display ? this.em(3 * t) : tEm) + ' -.1em';
|
||||
attr.style = { height: tEm, 'border-top': tEm + ' solid', margin: m };
|
||||
var nh = this.em(Math.max(0, u));
|
||||
nsattr.style = { height: nh, 'vertical-align': '-' + nh };
|
||||
dsattr.style = { height: this.em(Math.max(0, v)) };
|
||||
fattr.style = { 'vertical-align': this.em(a - T) };
|
||||
}
|
||||
var num, den;
|
||||
this.adaptor.append(this.chtml, this.html('mjx-frac', fattr, [
|
||||
num = this.html('mjx-num', nattr, [this.html('mjx-nstrut', nsattr)]),
|
||||
this.html('mjx-dbox', {}, [
|
||||
this.html('mjx-dtable', {}, [
|
||||
this.html('mjx-line', attr),
|
||||
this.html('mjx-row', {}, [
|
||||
den = this.html('mjx-den', dattr, [this.html('mjx-dstrut', dsattr)])
|
||||
])
|
||||
])
|
||||
])
|
||||
]));
|
||||
this.childNodes[0].toCHTML(num);
|
||||
this.childNodes[1].toCHTML(den);
|
||||
};
|
||||
CHTMLmfrac.prototype.makeAtop = function (display) {
|
||||
var _a = this.node.attributes.getList('numalign', 'denomalign'), numalign = _a.numalign, denomalign = _a.denomalign;
|
||||
var withDelims = this.node.getProperty('withDelims');
|
||||
var attr = (display ? { type: 'd', atop: true } : { atop: true });
|
||||
var fattr = (withDelims ? __assign(__assign({}, attr), { delims: true }) : __assign({}, attr));
|
||||
var nattr = (numalign !== 'center' ? { align: numalign } : {});
|
||||
var dattr = (denomalign !== 'center' ? { align: denomalign } : {});
|
||||
var _b = this.getUVQ(display), v = _b.v, q = _b.q;
|
||||
nattr.style = { 'padding-bottom': this.em(q) };
|
||||
fattr.style = { 'vertical-align': this.em(-v) };
|
||||
var num, den;
|
||||
this.adaptor.append(this.chtml, this.html('mjx-frac', fattr, [
|
||||
num = this.html('mjx-num', nattr),
|
||||
den = this.html('mjx-den', dattr)
|
||||
]));
|
||||
this.childNodes[0].toCHTML(num);
|
||||
this.childNodes[1].toCHTML(den);
|
||||
};
|
||||
CHTMLmfrac.prototype.makeBevelled = function (display) {
|
||||
var adaptor = this.adaptor;
|
||||
adaptor.setAttribute(this.chtml, 'bevelled', 'ture');
|
||||
var num = adaptor.append(this.chtml, this.html('mjx-num'));
|
||||
this.childNodes[0].toCHTML(num);
|
||||
this.bevel.toCHTML(this.chtml);
|
||||
var den = adaptor.append(this.chtml, this.html('mjx-den'));
|
||||
this.childNodes[1].toCHTML(den);
|
||||
var _a = this.getBevelData(display), u = _a.u, v = _a.v, delta = _a.delta, nbox = _a.nbox, dbox = _a.dbox;
|
||||
if (u) {
|
||||
adaptor.setStyle(num, 'verticalAlign', this.em(u / nbox.scale));
|
||||
}
|
||||
if (v) {
|
||||
adaptor.setStyle(den, 'verticalAlign', this.em(v / dbox.scale));
|
||||
}
|
||||
var dx = this.em(-delta / 2);
|
||||
adaptor.setStyle(this.bevel.chtml, 'marginLeft', dx);
|
||||
adaptor.setStyle(this.bevel.chtml, 'marginRight', dx);
|
||||
};
|
||||
CHTMLmfrac.kind = mfrac_js_2.MmlMfrac.prototype.kind;
|
||||
CHTMLmfrac.styles = {
|
||||
'mjx-frac': {
|
||||
display: 'inline-block',
|
||||
'vertical-align': '0.17em',
|
||||
padding: '0 .22em'
|
||||
},
|
||||
'mjx-frac[type="d"]': {
|
||||
'vertical-align': '.04em'
|
||||
},
|
||||
'mjx-frac[delims]': {
|
||||
padding: '0 .1em'
|
||||
},
|
||||
'mjx-frac[atop]': {
|
||||
padding: '0 .12em'
|
||||
},
|
||||
'mjx-frac[atop][delims]': {
|
||||
padding: '0'
|
||||
},
|
||||
'mjx-dtable': {
|
||||
display: 'inline-table',
|
||||
width: '100%'
|
||||
},
|
||||
'mjx-dtable > *': {
|
||||
'font-size': '2000%'
|
||||
},
|
||||
'mjx-dbox': {
|
||||
display: 'block',
|
||||
'font-size': '5%'
|
||||
},
|
||||
'mjx-num': {
|
||||
display: 'block',
|
||||
'text-align': 'center'
|
||||
},
|
||||
'mjx-den': {
|
||||
display: 'block',
|
||||
'text-align': 'center'
|
||||
},
|
||||
'mjx-mfrac[bevelled] > mjx-num': {
|
||||
display: 'inline-block'
|
||||
},
|
||||
'mjx-mfrac[bevelled] > mjx-den': {
|
||||
display: 'inline-block'
|
||||
},
|
||||
'mjx-den[align="right"], mjx-num[align="right"]': {
|
||||
'text-align': 'right'
|
||||
},
|
||||
'mjx-den[align="left"], mjx-num[align="left"]': {
|
||||
'text-align': 'left'
|
||||
},
|
||||
'mjx-nstrut': {
|
||||
display: 'inline-block',
|
||||
height: '.054em',
|
||||
width: 0,
|
||||
'vertical-align': '-.054em'
|
||||
},
|
||||
'mjx-nstrut[type="d"]': {
|
||||
height: '.217em',
|
||||
'vertical-align': '-.217em',
|
||||
},
|
||||
'mjx-dstrut': {
|
||||
display: 'inline-block',
|
||||
height: '.505em',
|
||||
width: 0
|
||||
},
|
||||
'mjx-dstrut[type="d"]': {
|
||||
height: '.726em',
|
||||
},
|
||||
'mjx-line': {
|
||||
display: 'block',
|
||||
'box-sizing': 'border-box',
|
||||
'min-height': '1px',
|
||||
height: '.06em',
|
||||
'border-top': '.06em solid',
|
||||
margin: '.06em -.1em',
|
||||
overflow: 'hidden'
|
||||
},
|
||||
'mjx-line[type="d"]': {
|
||||
margin: '.18em -.1em'
|
||||
}
|
||||
};
|
||||
return CHTMLmfrac;
|
||||
}((0, mfrac_js_1.CommonMfracMixin)(Wrapper_js_1.CHTMLWrapper)));
|
||||
exports.CHTMLmfrac = CHTMLmfrac;
|
||||
//# sourceMappingURL=mfrac.js.map
|
||||
1
node_modules/mathjax-full/js/output/chtml/Wrappers/mfrac.js.map
generated
vendored
Normal file
1
node_modules/mathjax-full/js/output/chtml/Wrappers/mfrac.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
9
node_modules/mathjax-full/js/output/chtml/Wrappers/mglyph.d.ts
generated
vendored
Normal file
9
node_modules/mathjax-full/js/output/chtml/Wrappers/mglyph.d.ts
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
import { CHTMLConstructor } from '../Wrapper.js';
|
||||
import { StyleList } from '../../../util/StyleList.js';
|
||||
declare const CHTMLmglyph_base: import("../../common/Wrappers/mglyph.js").MglyphConstructor & CHTMLConstructor<any, any, any>;
|
||||
export declare class CHTMLmglyph<N, T, D> extends CHTMLmglyph_base {
|
||||
static kind: string;
|
||||
static styles: StyleList;
|
||||
toCHTML(parent: N): void;
|
||||
}
|
||||
export {};
|
||||
55
node_modules/mathjax-full/js/output/chtml/Wrappers/mglyph.js
generated
vendored
Normal file
55
node_modules/mathjax-full/js/output/chtml/Wrappers/mglyph.js
generated
vendored
Normal file
@@ -0,0 +1,55 @@
|
||||
"use strict";
|
||||
var __extends = (this && this.__extends) || (function () {
|
||||
var extendStatics = function (d, b) {
|
||||
extendStatics = Object.setPrototypeOf ||
|
||||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
||||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
||||
return extendStatics(d, b);
|
||||
};
|
||||
return function (d, b) {
|
||||
if (typeof b !== "function" && b !== null)
|
||||
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
||||
extendStatics(d, b);
|
||||
function __() { this.constructor = d; }
|
||||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CHTMLmglyph = void 0;
|
||||
var Wrapper_js_1 = require("../Wrapper.js");
|
||||
var mglyph_js_1 = require("../../common/Wrappers/mglyph.js");
|
||||
var mglyph_js_2 = require("../../../core/MmlTree/MmlNodes/mglyph.js");
|
||||
var CHTMLmglyph = (function (_super) {
|
||||
__extends(CHTMLmglyph, _super);
|
||||
function CHTMLmglyph() {
|
||||
return _super !== null && _super.apply(this, arguments) || this;
|
||||
}
|
||||
CHTMLmglyph.prototype.toCHTML = function (parent) {
|
||||
var chtml = this.standardCHTMLnode(parent);
|
||||
if (this.charWrapper) {
|
||||
this.charWrapper.toCHTML(chtml);
|
||||
return;
|
||||
}
|
||||
var _a = this.node.attributes.getList('src', 'alt'), src = _a.src, alt = _a.alt;
|
||||
var styles = {
|
||||
width: this.em(this.width),
|
||||
height: this.em(this.height)
|
||||
};
|
||||
if (this.valign) {
|
||||
styles.verticalAlign = this.em(this.valign);
|
||||
}
|
||||
var img = this.html('img', { src: src, style: styles, alt: alt, title: alt });
|
||||
this.adaptor.append(chtml, img);
|
||||
};
|
||||
CHTMLmglyph.kind = mglyph_js_2.MmlMglyph.prototype.kind;
|
||||
CHTMLmglyph.styles = {
|
||||
'mjx-mglyph > img': {
|
||||
display: 'inline-block',
|
||||
border: 0,
|
||||
padding: 0
|
||||
}
|
||||
};
|
||||
return CHTMLmglyph;
|
||||
}((0, mglyph_js_1.CommonMglyphMixin)(Wrapper_js_1.CHTMLWrapper)));
|
||||
exports.CHTMLmglyph = CHTMLmglyph;
|
||||
//# sourceMappingURL=mglyph.js.map
|
||||
1
node_modules/mathjax-full/js/output/chtml/Wrappers/mglyph.js.map
generated
vendored
Normal file
1
node_modules/mathjax-full/js/output/chtml/Wrappers/mglyph.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"mglyph.js","sourceRoot":"","sources":["../../../../ts/output/chtml/Wrappers/mglyph.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAuBA,4CAA6D;AAC7D,6DAAkE;AAClE,sEAAmE;AAanE;IACA,+BAAgE;IADhE;;IAwCA,CAAC;IAlBQ,6BAAO,GAAd,UAAe,MAAS;QACtB,IAAM,KAAK,GAAG,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC;QAC7C,IAAI,IAAI,CAAC,WAAW,EAAE;YACnB,IAAI,CAAC,WAAsC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;YAC5D,OAAO;SACR;QACK,IAAA,KAAa,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC,EAAtD,GAAG,SAAA,EAAE,GAAG,SAA8C,CAAC;QAC9D,IAAM,MAAM,GAAc;YACxB,KAAK,EAAE,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC;YAC1B,MAAM,EAAE,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC;SAC7B,CAAC;QACF,IAAI,IAAI,CAAC,MAAM,EAAE;YACf,MAAM,CAAC,aAAa,GAAG,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;SAC7C;QACD,IAAM,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,EAAC,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,EAAC,CAAC,CAAC;QAC9E,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;IAClC,CAAC;IAhCa,gBAAI,GAAG,qBAAS,CAAC,SAAS,CAAC,IAAI,CAAC;IAKhC,kBAAM,GAAc;QAChC,kBAAkB,EAAE;YAClB,OAAO,EAAE,cAAc;YACvB,MAAM,EAAE,CAAC;YACT,OAAO,EAAE,CAAC;SACX;KACF,CAAC;IAuBJ,kBAAC;CAAA,AAxCD,CACA,IAAA,6BAAiB,EAAkC,yBAAY,CAAC,GAuC/D;AAxCY,kCAAW"}
|
||||
6
node_modules/mathjax-full/js/output/chtml/Wrappers/mi.d.ts
generated
vendored
Normal file
6
node_modules/mathjax-full/js/output/chtml/Wrappers/mi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
import { CHTMLConstructor } from '../Wrapper.js';
|
||||
declare const CHTMLmi_base: import("../../common/Wrappers/mi.js").MiConstructor & CHTMLConstructor<any, any, any>;
|
||||
export declare class CHTMLmi<N, T, D> extends CHTMLmi_base {
|
||||
static kind: string;
|
||||
}
|
||||
export {};
|
||||
31
node_modules/mathjax-full/js/output/chtml/Wrappers/mi.js
generated
vendored
Normal file
31
node_modules/mathjax-full/js/output/chtml/Wrappers/mi.js
generated
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
"use strict";
|
||||
var __extends = (this && this.__extends) || (function () {
|
||||
var extendStatics = function (d, b) {
|
||||
extendStatics = Object.setPrototypeOf ||
|
||||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
||||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
||||
return extendStatics(d, b);
|
||||
};
|
||||
return function (d, b) {
|
||||
if (typeof b !== "function" && b !== null)
|
||||
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
||||
extendStatics(d, b);
|
||||
function __() { this.constructor = d; }
|
||||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CHTMLmi = void 0;
|
||||
var Wrapper_js_1 = require("../Wrapper.js");
|
||||
var mi_js_1 = require("../../common/Wrappers/mi.js");
|
||||
var mi_js_2 = require("../../../core/MmlTree/MmlNodes/mi.js");
|
||||
var CHTMLmi = (function (_super) {
|
||||
__extends(CHTMLmi, _super);
|
||||
function CHTMLmi() {
|
||||
return _super !== null && _super.apply(this, arguments) || this;
|
||||
}
|
||||
CHTMLmi.kind = mi_js_2.MmlMi.prototype.kind;
|
||||
return CHTMLmi;
|
||||
}((0, mi_js_1.CommonMiMixin)(Wrapper_js_1.CHTMLWrapper)));
|
||||
exports.CHTMLmi = CHTMLmi;
|
||||
//# sourceMappingURL=mi.js.map
|
||||
1
node_modules/mathjax-full/js/output/chtml/Wrappers/mi.js.map
generated
vendored
Normal file
1
node_modules/mathjax-full/js/output/chtml/Wrappers/mi.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"mi.js","sourceRoot":"","sources":["../../../../ts/output/chtml/Wrappers/mi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAuBA,4CAA6D;AAC7D,qDAA0D;AAC1D,8DAA2D;AAW3D;IACA,2BAA4D;IAD5D;;IAQA,CAAC;IAFe,YAAI,GAAG,aAAK,CAAC,SAAS,CAAC,IAAI,CAAC;IAE5C,cAAC;CAAA,AARD,CACA,IAAA,qBAAa,EAAkC,yBAAY,CAAC,GAO3D;AARY,0BAAO"}
|
||||
12
node_modules/mathjax-full/js/output/chtml/Wrappers/mmultiscripts.d.ts
generated
vendored
Normal file
12
node_modules/mathjax-full/js/output/chtml/Wrappers/mmultiscripts.d.ts
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
import { CHTMLWrapper, Constructor } from '../Wrapper.js';
|
||||
import { CHTMLmsubsup } from './msubsup.js';
|
||||
import { BBox } from '../../../util/BBox.js';
|
||||
import { StyleList } from '../../../util/StyleList.js';
|
||||
declare const CHTMLmmultiscripts_base: import("../../common/Wrappers/mmultiscripts.js").MmultiscriptsConstructor<CHTMLWrapper<any, any, any>> & Constructor<CHTMLmsubsup<any, any, any>>;
|
||||
export declare class CHTMLmmultiscripts<N, T, D> extends CHTMLmmultiscripts_base {
|
||||
static kind: string;
|
||||
static styles: StyleList;
|
||||
toCHTML(parent: N): void;
|
||||
protected addScripts(u: number, v: number, isPre: boolean, sub: BBox, sup: BBox, i: number, n: number): N;
|
||||
}
|
||||
export {};
|
||||
105
node_modules/mathjax-full/js/output/chtml/Wrappers/mmultiscripts.js
generated
vendored
Normal file
105
node_modules/mathjax-full/js/output/chtml/Wrappers/mmultiscripts.js
generated
vendored
Normal file
@@ -0,0 +1,105 @@
|
||||
"use strict";
|
||||
var __extends = (this && this.__extends) || (function () {
|
||||
var extendStatics = function (d, b) {
|
||||
extendStatics = Object.setPrototypeOf ||
|
||||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
||||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
||||
return extendStatics(d, b);
|
||||
};
|
||||
return function (d, b) {
|
||||
if (typeof b !== "function" && b !== null)
|
||||
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
||||
extendStatics(d, b);
|
||||
function __() { this.constructor = d; }
|
||||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
};
|
||||
})();
|
||||
var __read = (this && this.__read) || function (o, n) {
|
||||
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
||||
if (!m) return o;
|
||||
var i = m.call(o), r, ar = [], e;
|
||||
try {
|
||||
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
||||
}
|
||||
catch (error) { e = { error: error }; }
|
||||
finally {
|
||||
try {
|
||||
if (r && !r.done && (m = i["return"])) m.call(i);
|
||||
}
|
||||
finally { if (e) throw e.error; }
|
||||
}
|
||||
return ar;
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CHTMLmmultiscripts = void 0;
|
||||
var msubsup_js_1 = require("./msubsup.js");
|
||||
var mmultiscripts_js_1 = require("../../common/Wrappers/mmultiscripts.js");
|
||||
var mmultiscripts_js_2 = require("../../../core/MmlTree/MmlNodes/mmultiscripts.js");
|
||||
var string_js_1 = require("../../../util/string.js");
|
||||
var CHTMLmmultiscripts = (function (_super) {
|
||||
__extends(CHTMLmmultiscripts, _super);
|
||||
function CHTMLmmultiscripts() {
|
||||
return _super !== null && _super.apply(this, arguments) || this;
|
||||
}
|
||||
CHTMLmmultiscripts.prototype.toCHTML = function (parent) {
|
||||
var chtml = this.standardCHTMLnode(parent);
|
||||
var data = this.scriptData;
|
||||
var scriptalign = this.node.getProperty('scriptalign') || 'right left';
|
||||
var _a = __read((0, string_js_1.split)(scriptalign + ' ' + scriptalign), 2), preAlign = _a[0], postAlign = _a[1];
|
||||
var sub = this.combinePrePost(data.sub, data.psub);
|
||||
var sup = this.combinePrePost(data.sup, data.psup);
|
||||
var _b = __read(this.getUVQ(sub, sup), 2), u = _b[0], v = _b[1];
|
||||
if (data.numPrescripts) {
|
||||
var scripts = this.addScripts(u, -v, true, data.psub, data.psup, this.firstPrescript, data.numPrescripts);
|
||||
preAlign !== 'right' && this.adaptor.setAttribute(scripts, 'script-align', preAlign);
|
||||
}
|
||||
this.childNodes[0].toCHTML(chtml);
|
||||
if (data.numScripts) {
|
||||
var scripts = this.addScripts(u, -v, false, data.sub, data.sup, 1, data.numScripts);
|
||||
postAlign !== 'left' && this.adaptor.setAttribute(scripts, 'script-align', postAlign);
|
||||
}
|
||||
};
|
||||
CHTMLmmultiscripts.prototype.addScripts = function (u, v, isPre, sub, sup, i, n) {
|
||||
var adaptor = this.adaptor;
|
||||
var q = (u - sup.d) + (v - sub.h);
|
||||
var U = (u < 0 && v === 0 ? sub.h + u : u);
|
||||
var rowdef = (q > 0 ? { style: { height: this.em(q) } } : {});
|
||||
var tabledef = (U ? { style: { 'vertical-align': this.em(U) } } : {});
|
||||
var supRow = this.html('mjx-row');
|
||||
var sepRow = this.html('mjx-row', rowdef);
|
||||
var subRow = this.html('mjx-row');
|
||||
var name = 'mjx-' + (isPre ? 'pre' : '') + 'scripts';
|
||||
var m = i + 2 * n;
|
||||
while (i < m) {
|
||||
this.childNodes[i++].toCHTML(adaptor.append(subRow, this.html('mjx-cell')));
|
||||
this.childNodes[i++].toCHTML(adaptor.append(supRow, this.html('mjx-cell')));
|
||||
}
|
||||
return adaptor.append(this.chtml, this.html(name, tabledef, [supRow, sepRow, subRow]));
|
||||
};
|
||||
CHTMLmmultiscripts.kind = mmultiscripts_js_2.MmlMmultiscripts.prototype.kind;
|
||||
CHTMLmmultiscripts.styles = {
|
||||
'mjx-prescripts': {
|
||||
display: 'inline-table',
|
||||
'padding-left': '.05em'
|
||||
},
|
||||
'mjx-scripts': {
|
||||
display: 'inline-table',
|
||||
'padding-right': '.05em'
|
||||
},
|
||||
'mjx-prescripts > mjx-row > mjx-cell': {
|
||||
'text-align': 'right'
|
||||
},
|
||||
'[script-align="left"] > mjx-row > mjx-cell': {
|
||||
'text-align': 'left'
|
||||
},
|
||||
'[script-align="center"] > mjx-row > mjx-cell': {
|
||||
'text-align': 'center'
|
||||
},
|
||||
'[script-align="right"] > mjx-row > mjx-cell': {
|
||||
'text-align': 'right'
|
||||
}
|
||||
};
|
||||
return CHTMLmmultiscripts;
|
||||
}((0, mmultiscripts_js_1.CommonMmultiscriptsMixin)(msubsup_js_1.CHTMLmsubsup)));
|
||||
exports.CHTMLmmultiscripts = CHTMLmmultiscripts;
|
||||
//# sourceMappingURL=mmultiscripts.js.map
|
||||
1
node_modules/mathjax-full/js/output/chtml/Wrappers/mmultiscripts.js.map
generated
vendored
Normal file
1
node_modules/mathjax-full/js/output/chtml/Wrappers/mmultiscripts.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"mmultiscripts.js","sourceRoot":"","sources":["../../../../ts/output/chtml/Wrappers/mmultiscripts.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwBA,2CAA0C;AAC1C,2EAAgF;AAChF,oFAAiF;AAGjF,qDAA8C;AAW9C;IACA,sCAA6G;IAD7G;;IAkGA,CAAC;IA3DQ,oCAAO,GAAd,UAAe,MAAS;QACtB,IAAM,KAAK,GAAG,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC;QAC7C,IAAM,IAAI,GAAG,IAAI,CAAC,UAAU,CAAC;QAI7B,IAAM,WAAW,GAAG,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,aAAa,CAAC,IAAI,YAAY,CAAC;QACnE,IAAA,KAAA,OAAwB,IAAA,iBAAK,EAAC,WAAW,GAAG,GAAG,GAAG,WAAW,CAAC,IAAA,EAA7D,QAAQ,QAAA,EAAE,SAAS,QAA0C,CAAC;QAKrE,IAAM,GAAG,GAAG,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;QACrD,IAAM,GAAG,GAAG,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;QAC/C,IAAA,KAAA,OAAS,IAAI,CAAC,MAAM,CAAC,GAAG,EAAE,GAAG,CAAC,IAAA,EAA7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,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC;IACzF,CAAC;IA1Fa,uBAAI,GAAG,mCAAgB,CAAC,SAAS,CAAC,IAAI,CAAC;IAKvC,yBAAM,GAAc;QAChC,gBAAgB,EAAE;YAChB,OAAO,EAAE,cAAc;YACvB,cAAc,EAAE,OAAO;SACxB;QACD,aAAa,EAAE;YACb,OAAO,EAAE,cAAc;YACvB,eAAe,EAAE,OAAO;SACzB;QACD,qCAAqC,EAAE;YACrC,YAAY,EAAE,OAAO;SACtB;QACD,4CAA4C,EAAE;YAC5C,YAAY,EAAE,MAAM;SACrB;QACD,8CAA8C,EAAE;YAC9C,YAAY,EAAE,QAAQ;SACvB;QACD,6CAA6C,EAAE;YAC7C,YAAY,EAAE,OAAO;SACtB;KACF,CAAC;IAkEJ,yBAAC;CAAA,AAlGD,CACA,IAAA,2CAAwB,EAAwE,yBAAY,CAAC,GAiG5G;AAlGY,gDAAkB"}
|
||||
6
node_modules/mathjax-full/js/output/chtml/Wrappers/mn.d.ts
generated
vendored
Normal file
6
node_modules/mathjax-full/js/output/chtml/Wrappers/mn.d.ts
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
import { CHTMLConstructor } from '../Wrapper.js';
|
||||
declare const CHTMLmn_base: import("../../common/Wrappers/mn.js").MnConstructor & CHTMLConstructor<any, any, any>;
|
||||
export declare class CHTMLmn<N, T, D> extends CHTMLmn_base {
|
||||
static kind: string;
|
||||
}
|
||||
export {};
|
||||
31
node_modules/mathjax-full/js/output/chtml/Wrappers/mn.js
generated
vendored
Normal file
31
node_modules/mathjax-full/js/output/chtml/Wrappers/mn.js
generated
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
"use strict";
|
||||
var __extends = (this && this.__extends) || (function () {
|
||||
var extendStatics = function (d, b) {
|
||||
extendStatics = Object.setPrototypeOf ||
|
||||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
||||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
||||
return extendStatics(d, b);
|
||||
};
|
||||
return function (d, b) {
|
||||
if (typeof b !== "function" && b !== null)
|
||||
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
||||
extendStatics(d, b);
|
||||
function __() { this.constructor = d; }
|
||||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CHTMLmn = void 0;
|
||||
var Wrapper_js_1 = require("../Wrapper.js");
|
||||
var mn_js_1 = require("../../common/Wrappers/mn.js");
|
||||
var mn_js_2 = require("../../../core/MmlTree/MmlNodes/mn.js");
|
||||
var CHTMLmn = (function (_super) {
|
||||
__extends(CHTMLmn, _super);
|
||||
function CHTMLmn() {
|
||||
return _super !== null && _super.apply(this, arguments) || this;
|
||||
}
|
||||
CHTMLmn.kind = mn_js_2.MmlMn.prototype.kind;
|
||||
return CHTMLmn;
|
||||
}((0, mn_js_1.CommonMnMixin)(Wrapper_js_1.CHTMLWrapper)));
|
||||
exports.CHTMLmn = CHTMLmn;
|
||||
//# sourceMappingURL=mn.js.map
|
||||
1
node_modules/mathjax-full/js/output/chtml/Wrappers/mn.js.map
generated
vendored
Normal file
1
node_modules/mathjax-full/js/output/chtml/Wrappers/mn.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"mn.js","sourceRoot":"","sources":["../../../../ts/output/chtml/Wrappers/mn.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAuBA,4CAA6D;AAC7D,qDAA0D;AAC1D,8DAA2D;AAW3D;IACA,2BAA4D;IAD5D;;IAQA,CAAC;IAFe,YAAI,GAAG,aAAK,CAAC,SAAS,CAAC,IAAI,CAAC;IAE5C,cAAC;CAAA,AARD,CACA,IAAA,qBAAa,EAAkC,yBAAY,CAAC,GAO3D;AARY,0BAAO"}
|
||||
10
node_modules/mathjax-full/js/output/chtml/Wrappers/mo.d.ts
generated
vendored
Normal file
10
node_modules/mathjax-full/js/output/chtml/Wrappers/mo.d.ts
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
import { CHTMLConstructor } from '../Wrapper.js';
|
||||
import { StyleList } from '../../../util/StyleList.js';
|
||||
declare const CHTMLmo_base: import("../../common/Wrappers/mo.js").MoConstructor & CHTMLConstructor<any, any, any>;
|
||||
export declare class CHTMLmo<N, T, D> extends CHTMLmo_base {
|
||||
static kind: string;
|
||||
static styles: StyleList;
|
||||
toCHTML(parent: N): void;
|
||||
protected stretchHTML(chtml: N): void;
|
||||
}
|
||||
export {};
|
||||
184
node_modules/mathjax-full/js/output/chtml/Wrappers/mo.js
generated
vendored
Normal file
184
node_modules/mathjax-full/js/output/chtml/Wrappers/mo.js
generated
vendored
Normal file
@@ -0,0 +1,184 @@
|
||||
"use strict";
|
||||
var __extends = (this && this.__extends) || (function () {
|
||||
var extendStatics = function (d, b) {
|
||||
extendStatics = Object.setPrototypeOf ||
|
||||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
||||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
||||
return extendStatics(d, b);
|
||||
};
|
||||
return function (d, b) {
|
||||
if (typeof b !== "function" && b !== null)
|
||||
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
||||
extendStatics(d, b);
|
||||
function __() { this.constructor = d; }
|
||||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
};
|
||||
})();
|
||||
var __values = (this && this.__values) || function(o) {
|
||||
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
||||
if (m) return m.call(o);
|
||||
if (o && typeof o.length === "number") return {
|
||||
next: function () {
|
||||
if (o && i >= o.length) o = void 0;
|
||||
return { value: o && o[i++], done: !o };
|
||||
}
|
||||
};
|
||||
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CHTMLmo = void 0;
|
||||
var Wrapper_js_1 = require("../Wrapper.js");
|
||||
var mo_js_1 = require("../../common/Wrappers/mo.js");
|
||||
var mo_js_2 = require("../../../core/MmlTree/MmlNodes/mo.js");
|
||||
var CHTMLmo = (function (_super) {
|
||||
__extends(CHTMLmo, _super);
|
||||
function CHTMLmo() {
|
||||
return _super !== null && _super.apply(this, arguments) || this;
|
||||
}
|
||||
CHTMLmo.prototype.toCHTML = function (parent) {
|
||||
var e_1, _a;
|
||||
var attributes = this.node.attributes;
|
||||
var symmetric = attributes.get('symmetric') && this.stretch.dir !== 2;
|
||||
var stretchy = this.stretch.dir !== 0;
|
||||
if (stretchy && this.size === null) {
|
||||
this.getStretchedVariant([]);
|
||||
}
|
||||
var chtml = this.standardCHTMLnode(parent);
|
||||
if (stretchy && this.size < 0) {
|
||||
this.stretchHTML(chtml);
|
||||
}
|
||||
else {
|
||||
if (symmetric || attributes.get('largeop')) {
|
||||
var u = this.em(this.getCenterOffset());
|
||||
if (u !== '0') {
|
||||
this.adaptor.setStyle(chtml, 'verticalAlign', u);
|
||||
}
|
||||
}
|
||||
if (this.node.getProperty('mathaccent')) {
|
||||
this.adaptor.setStyle(chtml, 'width', '0');
|
||||
this.adaptor.setStyle(chtml, 'margin-left', this.em(this.getAccentOffset()));
|
||||
}
|
||||
try {
|
||||
for (var _b = __values(this.childNodes), _c = _b.next(); !_c.done; _c = _b.next()) {
|
||||
var child = _c.value;
|
||||
child.toCHTML(chtml);
|
||||
}
|
||||
}
|
||||
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
||||
finally {
|
||||
try {
|
||||
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
||||
}
|
||||
finally { if (e_1) throw e_1.error; }
|
||||
}
|
||||
}
|
||||
};
|
||||
CHTMLmo.prototype.stretchHTML = function (chtml) {
|
||||
var c = this.getText().codePointAt(0);
|
||||
this.font.delimUsage.add(c);
|
||||
this.childNodes[0].markUsed();
|
||||
var delim = this.stretch;
|
||||
var stretch = delim.stretch;
|
||||
var content = [];
|
||||
if (stretch[0]) {
|
||||
content.push(this.html('mjx-beg', {}, [this.html('mjx-c')]));
|
||||
}
|
||||
content.push(this.html('mjx-ext', {}, [this.html('mjx-c')]));
|
||||
if (stretch.length === 4) {
|
||||
content.push(this.html('mjx-mid', {}, [this.html('mjx-c')]), this.html('mjx-ext', {}, [this.html('mjx-c')]));
|
||||
}
|
||||
if (stretch[2]) {
|
||||
content.push(this.html('mjx-end', {}, [this.html('mjx-c')]));
|
||||
}
|
||||
var styles = {};
|
||||
var _a = this.bbox, h = _a.h, d = _a.d, w = _a.w;
|
||||
if (delim.dir === 1) {
|
||||
content.push(this.html('mjx-mark'));
|
||||
styles.height = this.em(h + d);
|
||||
styles.verticalAlign = this.em(-d);
|
||||
}
|
||||
else {
|
||||
styles.width = this.em(w);
|
||||
}
|
||||
var dir = mo_js_1.DirectionVH[delim.dir];
|
||||
var properties = { class: this.char(delim.c || c), style: styles };
|
||||
var html = this.html('mjx-stretchy-' + dir, properties, content);
|
||||
this.adaptor.append(chtml, html);
|
||||
};
|
||||
CHTMLmo.kind = mo_js_2.MmlMo.prototype.kind;
|
||||
CHTMLmo.styles = {
|
||||
'mjx-stretchy-h': {
|
||||
display: 'inline-table',
|
||||
width: '100%'
|
||||
},
|
||||
'mjx-stretchy-h > *': {
|
||||
display: 'table-cell',
|
||||
width: 0
|
||||
},
|
||||
'mjx-stretchy-h > * > mjx-c': {
|
||||
display: 'inline-block',
|
||||
transform: 'scalex(1.0000001)'
|
||||
},
|
||||
'mjx-stretchy-h > * > mjx-c::before': {
|
||||
display: 'inline-block',
|
||||
width: 'initial'
|
||||
},
|
||||
'mjx-stretchy-h > mjx-ext': {
|
||||
'/* IE */ overflow': 'hidden',
|
||||
'/* others */ overflow': 'clip visible',
|
||||
width: '100%'
|
||||
},
|
||||
'mjx-stretchy-h > mjx-ext > mjx-c::before': {
|
||||
transform: 'scalex(500)'
|
||||
},
|
||||
'mjx-stretchy-h > mjx-ext > mjx-c': {
|
||||
width: 0
|
||||
},
|
||||
'mjx-stretchy-h > mjx-beg > mjx-c': {
|
||||
'margin-right': '-.1em'
|
||||
},
|
||||
'mjx-stretchy-h > mjx-end > mjx-c': {
|
||||
'margin-left': '-.1em'
|
||||
},
|
||||
'mjx-stretchy-v': {
|
||||
display: 'inline-block'
|
||||
},
|
||||
'mjx-stretchy-v > *': {
|
||||
display: 'block'
|
||||
},
|
||||
'mjx-stretchy-v > mjx-beg': {
|
||||
height: 0
|
||||
},
|
||||
'mjx-stretchy-v > mjx-end > mjx-c': {
|
||||
display: 'block'
|
||||
},
|
||||
'mjx-stretchy-v > * > mjx-c': {
|
||||
transform: 'scaley(1.0000001)',
|
||||
'transform-origin': 'left center',
|
||||
overflow: 'hidden'
|
||||
},
|
||||
'mjx-stretchy-v > mjx-ext': {
|
||||
display: 'block',
|
||||
height: '100%',
|
||||
'box-sizing': 'border-box',
|
||||
border: '0px solid transparent',
|
||||
'/* IE */ overflow': 'hidden',
|
||||
'/* others */ overflow': 'visible clip',
|
||||
},
|
||||
'mjx-stretchy-v > mjx-ext > mjx-c::before': {
|
||||
width: 'initial',
|
||||
'box-sizing': 'border-box'
|
||||
},
|
||||
'mjx-stretchy-v > mjx-ext > mjx-c': {
|
||||
transform: 'scaleY(500) translateY(.075em)',
|
||||
overflow: 'visible'
|
||||
},
|
||||
'mjx-mark': {
|
||||
display: 'inline-block',
|
||||
height: '0px'
|
||||
}
|
||||
};
|
||||
return CHTMLmo;
|
||||
}((0, mo_js_1.CommonMoMixin)(Wrapper_js_1.CHTMLWrapper)));
|
||||
exports.CHTMLmo = CHTMLmo;
|
||||
//# sourceMappingURL=mo.js.map
|
||||
1
node_modules/mathjax-full/js/output/chtml/Wrappers/mo.js.map
generated
vendored
Normal file
1
node_modules/mathjax-full/js/output/chtml/Wrappers/mo.js.map
generated
vendored
Normal file
@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C3B;QACD,kCAAkC,EAAE;YAClC,SAAS,EAAE,gCAAgC;YAC3C,QAAQ,EAAE,SAAS;SACpB;QACD,UAAU,EAAE;YACV,OAAO,EAAE,cAAc;YACvB,MAAM,EAAE,KAAK;SACd;KAEF,CAAC;IAwFJ,cAAC;CAAA,AA5KD,CACA,IAAA,qBAAa,EAAkC,yBAAY,CAAC,GA2K3D;AA5KY,0BAAO"}
|
||||
9
node_modules/mathjax-full/js/output/chtml/Wrappers/mpadded.d.ts
generated
vendored
Normal file
9
node_modules/mathjax-full/js/output/chtml/Wrappers/mpadded.d.ts
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
import { CHTMLConstructor } from '../Wrapper.js';
|
||||
import { StyleList } from '../../../util/StyleList.js';
|
||||
declare const CHTMLmpadded_base: import("../../common/Wrappers/mpadded.js").MpaddedConstructor & CHTMLConstructor<any, any, any>;
|
||||
export declare class CHTMLmpadded<N, T, D> extends CHTMLmpadded_base {
|
||||
static kind: string;
|
||||
static styles: StyleList;
|
||||
toCHTML(parent: N): void;
|
||||
}
|
||||
export {};
|
||||
105
node_modules/mathjax-full/js/output/chtml/Wrappers/mpadded.js
generated
vendored
Normal file
105
node_modules/mathjax-full/js/output/chtml/Wrappers/mpadded.js
generated
vendored
Normal file
@@ -0,0 +1,105 @@
|
||||
"use strict";
|
||||
var __extends = (this && this.__extends) || (function () {
|
||||
var extendStatics = function (d, b) {
|
||||
extendStatics = Object.setPrototypeOf ||
|
||||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
||||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
||||
return extendStatics(d, b);
|
||||
};
|
||||
return function (d, b) {
|
||||
if (typeof b !== "function" && b !== null)
|
||||
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
||||
extendStatics(d, b);
|
||||
function __() { this.constructor = d; }
|
||||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
};
|
||||
})();
|
||||
var __read = (this && this.__read) || function (o, n) {
|
||||
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
||||
if (!m) return o;
|
||||
var i = m.call(o), r, ar = [], e;
|
||||
try {
|
||||
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
||||
}
|
||||
catch (error) { e = { error: error }; }
|
||||
finally {
|
||||
try {
|
||||
if (r && !r.done && (m = i["return"])) m.call(i);
|
||||
}
|
||||
finally { if (e) throw e.error; }
|
||||
}
|
||||
return ar;
|
||||
};
|
||||
var __values = (this && this.__values) || function(o) {
|
||||
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
||||
if (m) return m.call(o);
|
||||
if (o && typeof o.length === "number") return {
|
||||
next: function () {
|
||||
if (o && i >= o.length) o = void 0;
|
||||
return { value: o && o[i++], done: !o };
|
||||
}
|
||||
};
|
||||
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CHTMLmpadded = void 0;
|
||||
var Wrapper_js_1 = require("../Wrapper.js");
|
||||
var mpadded_js_1 = require("../../common/Wrappers/mpadded.js");
|
||||
var mpadded_js_2 = require("../../../core/MmlTree/MmlNodes/mpadded.js");
|
||||
var CHTMLmpadded = (function (_super) {
|
||||
__extends(CHTMLmpadded, _super);
|
||||
function CHTMLmpadded() {
|
||||
return _super !== null && _super.apply(this, arguments) || this;
|
||||
}
|
||||
CHTMLmpadded.prototype.toCHTML = function (parent) {
|
||||
var e_1, _a;
|
||||
var chtml = this.standardCHTMLnode(parent);
|
||||
var content = [];
|
||||
var style = {};
|
||||
var _b = __read(this.getDimens(), 9), W = _b[2], dh = _b[3], dd = _b[4], dw = _b[5], x = _b[6], y = _b[7], dx = _b[8];
|
||||
if (dw) {
|
||||
style.width = this.em(W + dw);
|
||||
}
|
||||
if (dh || dd) {
|
||||
style.margin = this.em(dh) + ' 0 ' + this.em(dd);
|
||||
}
|
||||
if (x + dx || y) {
|
||||
style.position = 'relative';
|
||||
var rbox = this.html('mjx-rbox', {
|
||||
style: { left: this.em(x + dx), top: this.em(-y), 'max-width': style.width }
|
||||
});
|
||||
if (x + dx && this.childNodes[0].getBBox().pwidth) {
|
||||
this.adaptor.setAttribute(rbox, 'width', 'full');
|
||||
this.adaptor.setStyle(rbox, 'left', this.em(x));
|
||||
}
|
||||
content.push(rbox);
|
||||
}
|
||||
chtml = this.adaptor.append(chtml, this.html('mjx-block', { style: style }, content));
|
||||
try {
|
||||
for (var _c = __values(this.childNodes), _d = _c.next(); !_d.done; _d = _c.next()) {
|
||||
var child = _d.value;
|
||||
child.toCHTML(content[0] || chtml);
|
||||
}
|
||||
}
|
||||
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
||||
finally {
|
||||
try {
|
||||
if (_d && !_d.done && (_a = _c.return)) _a.call(_c);
|
||||
}
|
||||
finally { if (e_1) throw e_1.error; }
|
||||
}
|
||||
};
|
||||
CHTMLmpadded.kind = mpadded_js_2.MmlMpadded.prototype.kind;
|
||||
CHTMLmpadded.styles = {
|
||||
'mjx-mpadded': {
|
||||
display: 'inline-block'
|
||||
},
|
||||
'mjx-rbox': {
|
||||
display: 'inline-block',
|
||||
position: 'relative'
|
||||
}
|
||||
};
|
||||
return CHTMLmpadded;
|
||||
}((0, mpadded_js_1.CommonMpaddedMixin)(Wrapper_js_1.CHTMLWrapper)));
|
||||
exports.CHTMLmpadded = CHTMLmpadded;
|
||||
//# sourceMappingURL=mpadded.js.map
|
||||
1
node_modules/mathjax-full/js/output/chtml/Wrappers/mpadded.js.map
generated
vendored
Normal file
1
node_modules/mathjax-full/js/output/chtml/Wrappers/mpadded.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"mpadded.js","sourceRoot":"","sources":["../../../../ts/output/chtml/Wrappers/mpadded.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;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I,CAAC,OAAO,CAAC,YAAY,CAAC,IAAI,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;gBACjD,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;aACjD;YACD,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;SACpB;QAID,KAAK,GAAG,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,EAAC,KAAK,EAAE,KAAK,EAAC,EAAE,OAAO,CAAC,CAAM,CAAC;;YACzF,KAAoB,IAAA,KAAA,SAAA,IAAI,CAAC,UAAU,CAAA,gBAAA,4BAAE;gBAAhC,IAAM,KAAK,WAAA;gBACd,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC;aACpC;;;;;;;;;IACH,CAAC;IAzDa,iBAAI,GAAG,uBAAU,CAAC,SAAS,CAAC,IAAI,CAAC;IAKjC,mBAAM,GAAc;QAChC,aAAa,EAAE;YACb,OAAO,EAAE,cAAc;SACxB;QACD,UAAU,EAAE;YACV,OAAO,EAAE,cAAc;YACvB,QAAQ,EAAE,UAAU;SACrB;KACF,CAAC;IA8CJ,mBAAC;CAAA,AAjED,CACA,IAAA,+BAAkB,EAAkC,yBAAY,CAAC,GAgEhE;AAjEY,oCAAY"}
|
||||
9
node_modules/mathjax-full/js/output/chtml/Wrappers/mroot.d.ts
generated
vendored
Normal file
9
node_modules/mathjax-full/js/output/chtml/Wrappers/mroot.d.ts
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
import { CHTMLWrapper } from '../Wrapper.js';
|
||||
import { MrootConstructor } from '../../common/Wrappers/mroot.js';
|
||||
import { BBox } from '../../../util/BBox.js';
|
||||
declare const CHTMLmroot_base: MrootConstructor;
|
||||
export declare class CHTMLmroot<N, T, D> extends CHTMLmroot_base {
|
||||
static kind: string;
|
||||
protected addRoot(ROOT: N, root: CHTMLWrapper<N, T, D>, sbox: BBox, H: number): void;
|
||||
}
|
||||
export {};
|
||||
56
node_modules/mathjax-full/js/output/chtml/Wrappers/mroot.js
generated
vendored
Normal file
56
node_modules/mathjax-full/js/output/chtml/Wrappers/mroot.js
generated
vendored
Normal file
@@ -0,0 +1,56 @@
|
||||
"use strict";
|
||||
var __extends = (this && this.__extends) || (function () {
|
||||
var extendStatics = function (d, b) {
|
||||
extendStatics = Object.setPrototypeOf ||
|
||||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
||||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
||||
return extendStatics(d, b);
|
||||
};
|
||||
return function (d, b) {
|
||||
if (typeof b !== "function" && b !== null)
|
||||
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
||||
extendStatics(d, b);
|
||||
function __() { this.constructor = d; }
|
||||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
};
|
||||
})();
|
||||
var __read = (this && this.__read) || function (o, n) {
|
||||
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
||||
if (!m) return o;
|
||||
var i = m.call(o), r, ar = [], e;
|
||||
try {
|
||||
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
||||
}
|
||||
catch (error) { e = { error: error }; }
|
||||
finally {
|
||||
try {
|
||||
if (r && !r.done && (m = i["return"])) m.call(i);
|
||||
}
|
||||
finally { if (e) throw e.error; }
|
||||
}
|
||||
return ar;
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CHTMLmroot = void 0;
|
||||
var msqrt_js_1 = require("./msqrt.js");
|
||||
var mroot_js_1 = require("../../common/Wrappers/mroot.js");
|
||||
var mroot_js_2 = require("../../../core/MmlTree/MmlNodes/mroot.js");
|
||||
var CHTMLmroot = (function (_super) {
|
||||
__extends(CHTMLmroot, _super);
|
||||
function CHTMLmroot() {
|
||||
return _super !== null && _super.apply(this, arguments) || this;
|
||||
}
|
||||
CHTMLmroot.prototype.addRoot = function (ROOT, root, sbox, H) {
|
||||
root.toCHTML(ROOT);
|
||||
var _a = __read(this.getRootDimens(sbox, H), 3), x = _a[0], h = _a[1], dx = _a[2];
|
||||
this.adaptor.setStyle(ROOT, 'verticalAlign', this.em(h));
|
||||
this.adaptor.setStyle(ROOT, 'width', this.em(x));
|
||||
if (dx) {
|
||||
this.adaptor.setStyle(this.adaptor.firstChild(ROOT), 'paddingLeft', this.em(dx));
|
||||
}
|
||||
};
|
||||
CHTMLmroot.kind = mroot_js_2.MmlMroot.prototype.kind;
|
||||
return CHTMLmroot;
|
||||
}((0, mroot_js_1.CommonMrootMixin)(msqrt_js_1.CHTMLmsqrt)));
|
||||
exports.CHTMLmroot = CHTMLmroot;
|
||||
//# sourceMappingURL=mroot.js.map
|
||||
1
node_modules/mathjax-full/js/output/chtml/Wrappers/mroot.js.map
generated
vendored
Normal file
1
node_modules/mathjax-full/js/output/chtml/Wrappers/mroot.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"mroot.js","sourceRoot":"","sources":["../../../../ts/output/chtml/Wrappers/mroot.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwBA,uCAAsC;AACtC,2DAAkF;AAElF,oEAAiE;AAUjE;IAAyC,8BAA8C;IAAvF;;IAoBA,CAAC;IAVW,4BAAO,GAAjB,UAAkB,IAAO,EAAE,IAA2B,EAAE,IAAU,EAAE,CAAS;QAC3E,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QACb,IAAA,KAAA,OAAa,IAAI,CAAC,aAAa,CAAC,IAAI,EAAE,CAAC,CAAC,IAAA,EAAvC,CAAC,QAAA,EAAE,CAAC,QAAA,EAAE,EAAE,QAA+B,CAAC;QAC/C,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,EAAE,eAAe,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;QACzD,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;QACjD,IAAI,EAAE,EAAE;YACN,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,IAAI,CAAM,EAAE,aAAa,EAAE,IAAI,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;SACvF;IACH,CAAC;IAba,eAAI,GAAG,mBAAQ,CAAC,SAAS,CAAC,IAAI,CAAC;IAe/C,iBAAC;CAAA,AApBD,CAAyC,IAAA,2BAAgB,EAAmB,qBAAU,CAAC,GAoBtF;AApBY,gCAAU"}
|
||||
11
node_modules/mathjax-full/js/output/chtml/Wrappers/mrow.d.ts
generated
vendored
Normal file
11
node_modules/mathjax-full/js/output/chtml/Wrappers/mrow.d.ts
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
import { CHTMLConstructor, Constructor } from '../Wrapper.js';
|
||||
declare const CHTMLmrow_base: import("../../common/Wrappers/mrow.js").MrowConstructor & CHTMLConstructor<any, any, any>;
|
||||
export declare class CHTMLmrow<N, T, D> extends CHTMLmrow_base {
|
||||
static kind: string;
|
||||
toCHTML(parent: N): void;
|
||||
}
|
||||
declare const CHTMLinferredMrow_base: import("../../common/Wrappers/mrow.js").InferredMrowConstructor & Constructor<CHTMLmrow<any, any, any>>;
|
||||
export declare class CHTMLinferredMrow<N, T, D> extends CHTMLinferredMrow_base {
|
||||
static kind: string;
|
||||
}
|
||||
export {};
|
||||
82
node_modules/mathjax-full/js/output/chtml/Wrappers/mrow.js
generated
vendored
Normal file
82
node_modules/mathjax-full/js/output/chtml/Wrappers/mrow.js
generated
vendored
Normal file
@@ -0,0 +1,82 @@
|
||||
"use strict";
|
||||
var __extends = (this && this.__extends) || (function () {
|
||||
var extendStatics = function (d, b) {
|
||||
extendStatics = Object.setPrototypeOf ||
|
||||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
||||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
||||
return extendStatics(d, b);
|
||||
};
|
||||
return function (d, b) {
|
||||
if (typeof b !== "function" && b !== null)
|
||||
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
||||
extendStatics(d, b);
|
||||
function __() { this.constructor = d; }
|
||||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
};
|
||||
})();
|
||||
var __values = (this && this.__values) || function(o) {
|
||||
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
||||
if (m) return m.call(o);
|
||||
if (o && typeof o.length === "number") return {
|
||||
next: function () {
|
||||
if (o && i >= o.length) o = void 0;
|
||||
return { value: o && o[i++], done: !o };
|
||||
}
|
||||
};
|
||||
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CHTMLinferredMrow = exports.CHTMLmrow = void 0;
|
||||
var Wrapper_js_1 = require("../Wrapper.js");
|
||||
var mrow_js_1 = require("../../common/Wrappers/mrow.js");
|
||||
var mrow_js_2 = require("../../common/Wrappers/mrow.js");
|
||||
var mrow_js_3 = require("../../../core/MmlTree/MmlNodes/mrow.js");
|
||||
var CHTMLmrow = (function (_super) {
|
||||
__extends(CHTMLmrow, _super);
|
||||
function CHTMLmrow() {
|
||||
return _super !== null && _super.apply(this, arguments) || this;
|
||||
}
|
||||
CHTMLmrow.prototype.toCHTML = function (parent) {
|
||||
var e_1, _a;
|
||||
var chtml = (this.node.isInferred ? (this.chtml = parent) : this.standardCHTMLnode(parent));
|
||||
var hasNegative = false;
|
||||
try {
|
||||
for (var _b = __values(this.childNodes), _c = _b.next(); !_c.done; _c = _b.next()) {
|
||||
var child = _c.value;
|
||||
child.toCHTML(chtml);
|
||||
if (child.bbox.w < 0) {
|
||||
hasNegative = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
||||
finally {
|
||||
try {
|
||||
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
||||
}
|
||||
finally { if (e_1) throw e_1.error; }
|
||||
}
|
||||
if (hasNegative) {
|
||||
var w = this.getBBox().w;
|
||||
if (w) {
|
||||
this.adaptor.setStyle(chtml, 'width', this.em(Math.max(0, w)));
|
||||
if (w < 0) {
|
||||
this.adaptor.setStyle(chtml, 'marginRight', this.em(w));
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
CHTMLmrow.kind = mrow_js_3.MmlMrow.prototype.kind;
|
||||
return CHTMLmrow;
|
||||
}((0, mrow_js_1.CommonMrowMixin)(Wrapper_js_1.CHTMLWrapper)));
|
||||
exports.CHTMLmrow = CHTMLmrow;
|
||||
var CHTMLinferredMrow = (function (_super) {
|
||||
__extends(CHTMLinferredMrow, _super);
|
||||
function CHTMLinferredMrow() {
|
||||
return _super !== null && _super.apply(this, arguments) || this;
|
||||
}
|
||||
CHTMLinferredMrow.kind = mrow_js_3.MmlInferredMrow.prototype.kind;
|
||||
return CHTMLinferredMrow;
|
||||
}((0, mrow_js_2.CommonInferredMrowMixin)(CHTMLmrow)));
|
||||
exports.CHTMLinferredMrow = CHTMLinferredMrow;
|
||||
//# sourceMappingURL=mrow.js.map
|
||||
1
node_modules/mathjax-full/js/output/chtml/Wrappers/mrow.js.map
generated
vendored
Normal file
1
node_modules/mathjax-full/js/output/chtml/Wrappers/mrow.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"mrow.js","sourceRoot":"","sources":["../../../../ts/output/chtml/Wrappers/mrow.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuBA,4CAA0E;AAC1E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CAAC;IAFe,sBAAI,GAAG,yBAAe,CAAC,SAAS,CAAC,IAAI,CAAC;IAEtD,wBAAC;CAAA,AARD,CACA,IAAA,iCAAuB,EAAwC,SAAS,CAAC,GAOxE;AARY,8CAAiB"}
|
||||
6
node_modules/mathjax-full/js/output/chtml/Wrappers/ms.d.ts
generated
vendored
Normal file
6
node_modules/mathjax-full/js/output/chtml/Wrappers/ms.d.ts
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
import { CHTMLConstructor } from '../Wrapper.js';
|
||||
declare const CHTMLms_base: import("../../common/Wrappers/ms.js").MsConstructor & CHTMLConstructor<any, any, any>;
|
||||
export declare class CHTMLms<N, T, D> extends CHTMLms_base {
|
||||
static kind: string;
|
||||
}
|
||||
export {};
|
||||
31
node_modules/mathjax-full/js/output/chtml/Wrappers/ms.js
generated
vendored
Normal file
31
node_modules/mathjax-full/js/output/chtml/Wrappers/ms.js
generated
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
"use strict";
|
||||
var __extends = (this && this.__extends) || (function () {
|
||||
var extendStatics = function (d, b) {
|
||||
extendStatics = Object.setPrototypeOf ||
|
||||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
||||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
||||
return extendStatics(d, b);
|
||||
};
|
||||
return function (d, b) {
|
||||
if (typeof b !== "function" && b !== null)
|
||||
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
||||
extendStatics(d, b);
|
||||
function __() { this.constructor = d; }
|
||||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CHTMLms = void 0;
|
||||
var Wrapper_js_1 = require("../Wrapper.js");
|
||||
var ms_js_1 = require("../../common/Wrappers/ms.js");
|
||||
var ms_js_2 = require("../../../core/MmlTree/MmlNodes/ms.js");
|
||||
var CHTMLms = (function (_super) {
|
||||
__extends(CHTMLms, _super);
|
||||
function CHTMLms() {
|
||||
return _super !== null && _super.apply(this, arguments) || this;
|
||||
}
|
||||
CHTMLms.kind = ms_js_2.MmlMs.prototype.kind;
|
||||
return CHTMLms;
|
||||
}((0, ms_js_1.CommonMsMixin)(Wrapper_js_1.CHTMLWrapper)));
|
||||
exports.CHTMLms = CHTMLms;
|
||||
//# sourceMappingURL=ms.js.map
|
||||
1
node_modules/mathjax-full/js/output/chtml/Wrappers/ms.js.map
generated
vendored
Normal file
1
node_modules/mathjax-full/js/output/chtml/Wrappers/ms.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ms.js","sourceRoot":"","sources":["../../../../ts/output/chtml/Wrappers/ms.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAuBA,4CAA6D;AAC7D,qDAA0D;AAC1D,8DAA2D;AAW3D;IACA,2BAA4D;IAD5D;;IAQA,CAAC;IAFe,YAAI,GAAG,aAAK,CAAC,SAAS,CAAC,IAAI,CAAC;IAE5C,cAAC;CAAA,AARD,CACA,IAAA,qBAAa,EAAkC,yBAAY,CAAC,GAO3D;AARY,0BAAO"}
|
||||
7
node_modules/mathjax-full/js/output/chtml/Wrappers/mspace.d.ts
generated
vendored
Normal file
7
node_modules/mathjax-full/js/output/chtml/Wrappers/mspace.d.ts
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
import { CHTMLConstructor } from '../Wrapper.js';
|
||||
declare const CHTMLmspace_base: import("../../common/Wrappers/mspace.js").MspaceConstructor & CHTMLConstructor<any, any, any>;
|
||||
export declare class CHTMLmspace<N, T, D> extends CHTMLmspace_base {
|
||||
static kind: string;
|
||||
toCHTML(parent: N): void;
|
||||
}
|
||||
export {};
|
||||
49
node_modules/mathjax-full/js/output/chtml/Wrappers/mspace.js
generated
vendored
Normal file
49
node_modules/mathjax-full/js/output/chtml/Wrappers/mspace.js
generated
vendored
Normal file
@@ -0,0 +1,49 @@
|
||||
"use strict";
|
||||
var __extends = (this && this.__extends) || (function () {
|
||||
var extendStatics = function (d, b) {
|
||||
extendStatics = Object.setPrototypeOf ||
|
||||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
||||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
||||
return extendStatics(d, b);
|
||||
};
|
||||
return function (d, b) {
|
||||
if (typeof b !== "function" && b !== null)
|
||||
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
||||
extendStatics(d, b);
|
||||
function __() { this.constructor = d; }
|
||||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CHTMLmspace = void 0;
|
||||
var Wrapper_js_1 = require("../Wrapper.js");
|
||||
var mspace_js_1 = require("../../common/Wrappers/mspace.js");
|
||||
var mspace_js_2 = require("../../../core/MmlTree/MmlNodes/mspace.js");
|
||||
var CHTMLmspace = (function (_super) {
|
||||
__extends(CHTMLmspace, _super);
|
||||
function CHTMLmspace() {
|
||||
return _super !== null && _super.apply(this, arguments) || this;
|
||||
}
|
||||
CHTMLmspace.prototype.toCHTML = function (parent) {
|
||||
var chtml = this.standardCHTMLnode(parent);
|
||||
var _a = this.getBBox(), w = _a.w, h = _a.h, d = _a.d;
|
||||
if (w < 0) {
|
||||
this.adaptor.setStyle(chtml, 'marginRight', this.em(w));
|
||||
w = 0;
|
||||
}
|
||||
if (w) {
|
||||
this.adaptor.setStyle(chtml, 'width', this.em(w));
|
||||
}
|
||||
h = Math.max(0, h + d);
|
||||
if (h) {
|
||||
this.adaptor.setStyle(chtml, 'height', this.em(Math.max(0, h)));
|
||||
}
|
||||
if (d) {
|
||||
this.adaptor.setStyle(chtml, 'verticalAlign', this.em(-d));
|
||||
}
|
||||
};
|
||||
CHTMLmspace.kind = mspace_js_2.MmlMspace.prototype.kind;
|
||||
return CHTMLmspace;
|
||||
}((0, mspace_js_1.CommonMspaceMixin)(Wrapper_js_1.CHTMLWrapper)));
|
||||
exports.CHTMLmspace = CHTMLmspace;
|
||||
//# sourceMappingURL=mspace.js.map
|
||||
1
node_modules/mathjax-full/js/output/chtml/Wrappers/mspace.js.map
generated
vendored
Normal file
1
node_modules/mathjax-full/js/output/chtml/Wrappers/mspace.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"mspace.js","sourceRoot":"","sources":["../../../../ts/output/chtml/Wrappers/mspace.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAuBA,4CAA6D;AAC7D,6DAAkE;AAClE,sEAAmE;AAWnE;IACA,+BAAgE;IADhE;;IA8BA,CAAC;IAnBQ,6BAAO,GAAd,UAAe,MAAS;QACtB,IAAI,KAAK,GAAG,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC;QACvC,IAAA,KAAY,IAAI,CAAC,OAAO,EAAE,EAAzB,CAAC,OAAA,EAAE,CAAC,OAAA,EAAE,CAAC,OAAkB,CAAC;QAC/B,IAAI,CAAC,GAAG,CAAC,EAAE;YACT,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,EAAE,aAAa,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;YACxD,CAAC,GAAG,CAAC,CAAC;SACP;QACD,IAAI,CAAC,EAAE;YACL,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;SACnD;QACD,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;QACvB,IAAI,CAAC,EAAE;YACL,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,EAAE,QAAQ,EAAE,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;SACjE;QACD,IAAI,CAAC,EAAE;YACL,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,EAAE,eAAe,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;SAC5D;IACH,CAAC;IAtBa,gBAAI,GAAG,qBAAS,CAAC,SAAS,CAAC,IAAI,CAAC;IAwBhD,kBAAC;CAAA,AA9BD,CACA,IAAA,6BAAiB,EAAkC,yBAAY,CAAC,GA6B/D;AA9BY,kCAAW"}
|
||||
11
node_modules/mathjax-full/js/output/chtml/Wrappers/msqrt.d.ts
generated
vendored
Normal file
11
node_modules/mathjax-full/js/output/chtml/Wrappers/msqrt.d.ts
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
import { CHTMLWrapper, CHTMLConstructor } from '../Wrapper.js';
|
||||
import { BBox } from '../../../util/BBox.js';
|
||||
import { StyleList } from '../../../util/StyleList.js';
|
||||
declare const CHTMLmsqrt_base: import("../../common/Wrappers/msqrt.js").MsqrtConstructor & CHTMLConstructor<any, any, any>;
|
||||
export declare class CHTMLmsqrt<N, T, D> extends CHTMLmsqrt_base {
|
||||
static kind: string;
|
||||
static styles: StyleList;
|
||||
toCHTML(parent: N): void;
|
||||
protected addRoot(_ROOT: N, _root: CHTMLWrapper<N, T, D>, _sbox: BBox, _H: number): void;
|
||||
}
|
||||
export {};
|
||||
95
node_modules/mathjax-full/js/output/chtml/Wrappers/msqrt.js
generated
vendored
Normal file
95
node_modules/mathjax-full/js/output/chtml/Wrappers/msqrt.js
generated
vendored
Normal file
@@ -0,0 +1,95 @@
|
||||
"use strict";
|
||||
var __extends = (this && this.__extends) || (function () {
|
||||
var extendStatics = function (d, b) {
|
||||
extendStatics = Object.setPrototypeOf ||
|
||||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
||||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
||||
return extendStatics(d, b);
|
||||
};
|
||||
return function (d, b) {
|
||||
if (typeof b !== "function" && b !== null)
|
||||
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
||||
extendStatics(d, b);
|
||||
function __() { this.constructor = d; }
|
||||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
};
|
||||
})();
|
||||
var __read = (this && this.__read) || function (o, n) {
|
||||
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
||||
if (!m) return o;
|
||||
var i = m.call(o), r, ar = [], e;
|
||||
try {
|
||||
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
||||
}
|
||||
catch (error) { e = { error: error }; }
|
||||
finally {
|
||||
try {
|
||||
if (r && !r.done && (m = i["return"])) m.call(i);
|
||||
}
|
||||
finally { if (e) throw e.error; }
|
||||
}
|
||||
return ar;
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CHTMLmsqrt = void 0;
|
||||
var Wrapper_js_1 = require("../Wrapper.js");
|
||||
var msqrt_js_1 = require("../../common/Wrappers/msqrt.js");
|
||||
var msqrt_js_2 = require("../../../core/MmlTree/MmlNodes/msqrt.js");
|
||||
var CHTMLmsqrt = (function (_super) {
|
||||
__extends(CHTMLmsqrt, _super);
|
||||
function CHTMLmsqrt() {
|
||||
return _super !== null && _super.apply(this, arguments) || this;
|
||||
}
|
||||
CHTMLmsqrt.prototype.toCHTML = function (parent) {
|
||||
var surd = this.childNodes[this.surd];
|
||||
var base = this.childNodes[this.base];
|
||||
var sbox = surd.getBBox();
|
||||
var bbox = base.getOuterBBox();
|
||||
var _a = __read(this.getPQ(sbox), 2), q = _a[1];
|
||||
var t = this.font.params.rule_thickness;
|
||||
var H = bbox.h + q + t;
|
||||
var CHTML = this.standardCHTMLnode(parent);
|
||||
var SURD, BASE, ROOT, root;
|
||||
if (this.root != null) {
|
||||
ROOT = this.adaptor.append(CHTML, this.html('mjx-root'));
|
||||
root = this.childNodes[this.root];
|
||||
}
|
||||
var SQRT = this.adaptor.append(CHTML, this.html('mjx-sqrt', {}, [
|
||||
SURD = this.html('mjx-surd'),
|
||||
BASE = this.html('mjx-box', { style: { paddingTop: this.em(q) } })
|
||||
]));
|
||||
this.addRoot(ROOT, root, sbox, H);
|
||||
surd.toCHTML(SURD);
|
||||
base.toCHTML(BASE);
|
||||
if (surd.size < 0) {
|
||||
this.adaptor.addClass(SQRT, 'mjx-tall');
|
||||
}
|
||||
};
|
||||
CHTMLmsqrt.prototype.addRoot = function (_ROOT, _root, _sbox, _H) {
|
||||
};
|
||||
CHTMLmsqrt.kind = msqrt_js_2.MmlMsqrt.prototype.kind;
|
||||
CHTMLmsqrt.styles = {
|
||||
'mjx-root': {
|
||||
display: 'inline-block',
|
||||
'white-space': 'nowrap'
|
||||
},
|
||||
'mjx-surd': {
|
||||
display: 'inline-block',
|
||||
'vertical-align': 'top'
|
||||
},
|
||||
'mjx-sqrt': {
|
||||
display: 'inline-block',
|
||||
'padding-top': '.07em'
|
||||
},
|
||||
'mjx-sqrt > mjx-box': {
|
||||
'border-top': '.07em solid'
|
||||
},
|
||||
'mjx-sqrt.mjx-tall > mjx-box': {
|
||||
'padding-left': '.3em',
|
||||
'margin-left': '-.3em'
|
||||
}
|
||||
};
|
||||
return CHTMLmsqrt;
|
||||
}((0, msqrt_js_1.CommonMsqrtMixin)(Wrapper_js_1.CHTMLWrapper)));
|
||||
exports.CHTMLmsqrt = CHTMLmsqrt;
|
||||
//# sourceMappingURL=msqrt.js.map
|
||||
1
node_modules/mathjax-full/js/output/chtml/Wrappers/msqrt.js.map
generated
vendored
Normal file
1
node_modules/mathjax-full/js/output/chtml/Wrappers/msqrt.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"msqrt.js","sourceRoot":"","sources":["../../../../ts/output/chtml/Wrappers/msqrt.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,EAAE,EAAC,KAAK,EAAE,EAAC,UAAU,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,EAAC,EAAC,CAAC;SAC/D,CAAC,CAAM,CAAC;QAIT,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;QAClC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QACnB,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QACnB,IAAI,IAAI,CAAC,IAAI,GAAG,CAAC,EAAE;YAMjB,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;SACzC;IACH,CAAC;IAUS,4BAAO,GAAjB,UAAkB,KAAQ,EAAE,KAA4B,EAAE,KAAW,EAAE,EAAU;IACjF,CAAC;IA/Ea,eAAI,GAAG,mBAAQ,CAAC,SAAS,CAAC,IAAI,CAAC;IAK/B,iBAAM,GAAc;QAChC,UAAU,EAAE;YACV,OAAO,EAAE,cAAc;YACvB,aAAa,EAAE,QAAQ;SACxB;QACD,UAAU,EAAE;YACV,OAAO,EAAE,cAAc;YACvB,gBAAgB,EAAE,KAAK;SACxB;QACD,UAAU,EAAE;YACV,OAAO,EAAE,cAAc;YACvB,aAAa,EAAE,OAAO;SACvB;QACD,oBAAoB,EAAE;YACpB,YAAY,EAAE,aAAa;SAC5B;QACD,6BAA6B,EAAE;YAC7B,cAAc,EAAE,MAAM;YACtB,aAAa,EAAE,OAAO;SACvB;KACF,CAAC;IAwDJ,iBAAC;CAAA,AAtFD,CAAyC,IAAA,2BAAgB,EAAkC,yBAAY,CAAC,GAsFvG;AAtFY,gCAAU"}
|
||||
18
node_modules/mathjax-full/js/output/chtml/Wrappers/msubsup.d.ts
generated
vendored
Normal file
18
node_modules/mathjax-full/js/output/chtml/Wrappers/msubsup.d.ts
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
import { CHTMLWrapper, Constructor } from '../Wrapper.js';
|
||||
import { CHTMLscriptbase } from './scriptbase.js';
|
||||
import { StyleList } from '../../../util/StyleList.js';
|
||||
declare const CHTMLmsub_base: import("../../common/Wrappers/msubsup.js").MsubConstructor<CHTMLWrapper<any, any, any>> & Constructor<CHTMLscriptbase<any, any, any>>;
|
||||
export declare class CHTMLmsub<N, T, D> extends CHTMLmsub_base {
|
||||
static kind: string;
|
||||
}
|
||||
declare const CHTMLmsup_base: import("../../common/Wrappers/msubsup.js").MsupConstructor<CHTMLWrapper<any, any, any>> & Constructor<CHTMLscriptbase<any, any, any>>;
|
||||
export declare class CHTMLmsup<N, T, D> extends CHTMLmsup_base {
|
||||
static kind: string;
|
||||
}
|
||||
declare const CHTMLmsubsup_base: import("../../common/Wrappers/msubsup.js").MsubsupConstructor<CHTMLWrapper<any, any, any>> & Constructor<CHTMLscriptbase<any, any, any>>;
|
||||
export declare class CHTMLmsubsup<N, T, D> extends CHTMLmsubsup_base {
|
||||
static kind: string;
|
||||
static styles: StyleList;
|
||||
toCHTML(parent: N): void;
|
||||
}
|
||||
export {};
|
||||
96
node_modules/mathjax-full/js/output/chtml/Wrappers/msubsup.js
generated
vendored
Normal file
96
node_modules/mathjax-full/js/output/chtml/Wrappers/msubsup.js
generated
vendored
Normal file
@@ -0,0 +1,96 @@
|
||||
"use strict";
|
||||
var __extends = (this && this.__extends) || (function () {
|
||||
var extendStatics = function (d, b) {
|
||||
extendStatics = Object.setPrototypeOf ||
|
||||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
||||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
||||
return extendStatics(d, b);
|
||||
};
|
||||
return function (d, b) {
|
||||
if (typeof b !== "function" && b !== null)
|
||||
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
||||
extendStatics(d, b);
|
||||
function __() { this.constructor = d; }
|
||||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
};
|
||||
})();
|
||||
var __read = (this && this.__read) || function (o, n) {
|
||||
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
||||
if (!m) return o;
|
||||
var i = m.call(o), r, ar = [], e;
|
||||
try {
|
||||
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
||||
}
|
||||
catch (error) { e = { error: error }; }
|
||||
finally {
|
||||
try {
|
||||
if (r && !r.done && (m = i["return"])) m.call(i);
|
||||
}
|
||||
finally { if (e) throw e.error; }
|
||||
}
|
||||
return ar;
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CHTMLmsubsup = exports.CHTMLmsup = exports.CHTMLmsub = void 0;
|
||||
var scriptbase_js_1 = require("./scriptbase.js");
|
||||
var msubsup_js_1 = require("../../common/Wrappers/msubsup.js");
|
||||
var msubsup_js_2 = require("../../common/Wrappers/msubsup.js");
|
||||
var msubsup_js_3 = require("../../common/Wrappers/msubsup.js");
|
||||
var msubsup_js_4 = require("../../../core/MmlTree/MmlNodes/msubsup.js");
|
||||
var CHTMLmsub = (function (_super) {
|
||||
__extends(CHTMLmsub, _super);
|
||||
function CHTMLmsub() {
|
||||
return _super !== null && _super.apply(this, arguments) || this;
|
||||
}
|
||||
CHTMLmsub.kind = msubsup_js_4.MmlMsub.prototype.kind;
|
||||
return CHTMLmsub;
|
||||
}((0, msubsup_js_1.CommonMsubMixin)(scriptbase_js_1.CHTMLscriptbase)));
|
||||
exports.CHTMLmsub = CHTMLmsub;
|
||||
var CHTMLmsup = (function (_super) {
|
||||
__extends(CHTMLmsup, _super);
|
||||
function CHTMLmsup() {
|
||||
return _super !== null && _super.apply(this, arguments) || this;
|
||||
}
|
||||
CHTMLmsup.kind = msubsup_js_4.MmlMsup.prototype.kind;
|
||||
return CHTMLmsup;
|
||||
}((0, msubsup_js_2.CommonMsupMixin)(scriptbase_js_1.CHTMLscriptbase)));
|
||||
exports.CHTMLmsup = CHTMLmsup;
|
||||
var CHTMLmsubsup = (function (_super) {
|
||||
__extends(CHTMLmsubsup, _super);
|
||||
function CHTMLmsubsup() {
|
||||
return _super !== null && _super.apply(this, arguments) || this;
|
||||
}
|
||||
CHTMLmsubsup.prototype.toCHTML = function (parent) {
|
||||
var adaptor = this.adaptor;
|
||||
var chtml = this.standardCHTMLnode(parent);
|
||||
var _a = __read([this.baseChild, this.supChild, this.subChild], 3), base = _a[0], sup = _a[1], sub = _a[2];
|
||||
var _b = __read(this.getUVQ(), 3), v = _b[1], q = _b[2];
|
||||
var style = { 'vertical-align': this.em(v) };
|
||||
base.toCHTML(chtml);
|
||||
var stack = adaptor.append(chtml, this.html('mjx-script', { style: style }));
|
||||
sup.toCHTML(stack);
|
||||
adaptor.append(stack, this.html('mjx-spacer', { style: { 'margin-top': this.em(q) } }));
|
||||
sub.toCHTML(stack);
|
||||
var ic = this.getAdjustedIc();
|
||||
if (ic) {
|
||||
adaptor.setStyle(sup.chtml, 'marginLeft', this.em(ic / sup.bbox.rscale));
|
||||
}
|
||||
if (this.baseRemoveIc) {
|
||||
adaptor.setStyle(stack, 'marginLeft', this.em(-this.baseIc));
|
||||
}
|
||||
};
|
||||
CHTMLmsubsup.kind = msubsup_js_4.MmlMsubsup.prototype.kind;
|
||||
CHTMLmsubsup.styles = {
|
||||
'mjx-script': {
|
||||
display: 'inline-block',
|
||||
'padding-right': '.05em',
|
||||
'padding-left': '.033em'
|
||||
},
|
||||
'mjx-script > mjx-spacer': {
|
||||
display: 'block'
|
||||
}
|
||||
};
|
||||
return CHTMLmsubsup;
|
||||
}((0, msubsup_js_3.CommonMsubsupMixin)(scriptbase_js_1.CHTMLscriptbase)));
|
||||
exports.CHTMLmsubsup = CHTMLmsubsup;
|
||||
//# sourceMappingURL=msubsup.js.map
|
||||
1
node_modules/mathjax-full/js/output/chtml/Wrappers/msubsup.js.map
generated
vendored
Normal file
1
node_modules/mathjax-full/js/output/chtml/Wrappers/msubsup.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{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C,IAAI,CAAC,YAAY,EAAE,EAAC,KAAK,OAAA,EAAC,CAAC,CAAM,CAAC;QAC3E,GAAG,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;QACnB,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE,EAAC,KAAK,EAAE,EAAC,YAAY,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,EAAC,EAAC,CAAC,CAAC,CAAC;QACpF,GAAG,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;QACnB,IAAM,EAAE,GAAG,IAAI,CAAC,aAAa,EAAE,CAAC;QAChC,IAAI,EAAE,EAAE;YACN,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,EAAE,YAAY,EAAE,IAAI,CAAC,EAAE,CAAC,EAAE,GAAG,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;SAC1E;QACD,IAAI,IAAI,CAAC,YAAY,EAAE;YACrB,OAAO,CAAC,QAAQ,CAAC,KAAK,EAAE,YAAY,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;SAC9D;IACH,CAAC;IArCa,iBAAI,GAAG,uBAAU,CAAC,SAAS,CAAC,IAAI,CAAC;IAKjC,mBAAM,GAAc;QAChC,YAAY,EAAE;YACZ,OAAO,EAAE,cAAc;YACvB,eAAe,EAAE,OAAO;YACxB,cAAc,EAAE,QAAQ;SACzB;QACD,yBAAyB,EAAE;YACzB,OAAO,EAAE,OAAO;SACjB;KACF,CAAC;IAyBJ,mBAAC;CAAA,AA7CD,CACA,IAAA,+BAAkB,EAA2E,+BAAe,CAAC,GA4C5G;AA7CY,oCAAY"}
|
||||
37
node_modules/mathjax-full/js/output/chtml/Wrappers/mtable.d.ts
generated
vendored
Normal file
37
node_modules/mathjax-full/js/output/chtml/Wrappers/mtable.d.ts
generated
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
import { CHTMLWrapper, CHTMLConstructor } from '../Wrapper.js';
|
||||
import { CHTMLWrapperFactory } from '../WrapperFactory.js';
|
||||
import { CHTMLmtr } from './mtr.js';
|
||||
import { CHTMLmtd } from './mtd.js';
|
||||
import { MmlNode } from '../../../core/MmlTree/MmlNode.js';
|
||||
import { StyleList } from '../../../util/StyleList.js';
|
||||
declare const CHTMLmtable_base: import("../../common/Wrappers/mtable.js").MtableConstructor<CHTMLmtd<any, any, any>, CHTMLmtr<any, any, any>> & CHTMLConstructor<any, any, any>;
|
||||
export declare class CHTMLmtable<N, T, D> extends CHTMLmtable_base {
|
||||
static kind: string;
|
||||
static styles: StyleList;
|
||||
labels: N;
|
||||
itable: N;
|
||||
constructor(factory: CHTMLWrapperFactory<N, T, D>, node: MmlNode, parent?: CHTMLWrapper<N, T, D>);
|
||||
getAlignShift(): [string, number];
|
||||
toCHTML(parent: N): void;
|
||||
protected shiftColor(): void;
|
||||
protected padRows(): void;
|
||||
protected handleColumnSpacing(): void;
|
||||
protected handleColumnLines(): void;
|
||||
protected handleColumnWidths(): void;
|
||||
protected handleRowSpacing(): void;
|
||||
protected handleRowLines(): void;
|
||||
protected handleRowHeights(): void;
|
||||
protected handleEqualRows(): void;
|
||||
protected setRowHeight(row: CHTMLWrapper<N, T, D>, HD: number): void;
|
||||
protected setRowBaseline(row: CHTMLWrapper<N, T, D>, HD: number, D: number): void;
|
||||
protected setCellBaseline(cell: CHTMLWrapper<N, T, D>, ralign: string, HD: number, D: number): boolean;
|
||||
protected handleFrame(): void;
|
||||
protected handleWidth(): void;
|
||||
protected handleAlign(): void;
|
||||
protected handleJustify(): void;
|
||||
protected handleLabels(): void;
|
||||
protected addLabelPadding(side: string): [string, number];
|
||||
protected updateRowHeights(): void;
|
||||
protected addLabelSpacing(): void;
|
||||
}
|
||||
export {};
|
||||
546
node_modules/mathjax-full/js/output/chtml/Wrappers/mtable.js
generated
vendored
Normal file
546
node_modules/mathjax-full/js/output/chtml/Wrappers/mtable.js
generated
vendored
Normal file
@@ -0,0 +1,546 @@
|
||||
"use strict";
|
||||
var __extends = (this && this.__extends) || (function () {
|
||||
var extendStatics = function (d, b) {
|
||||
extendStatics = Object.setPrototypeOf ||
|
||||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
||||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
||||
return extendStatics(d, b);
|
||||
};
|
||||
return function (d, b) {
|
||||
if (typeof b !== "function" && b !== null)
|
||||
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
||||
extendStatics(d, b);
|
||||
function __() { this.constructor = d; }
|
||||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
};
|
||||
})();
|
||||
var __values = (this && this.__values) || function(o) {
|
||||
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
||||
if (m) return m.call(o);
|
||||
if (o && typeof o.length === "number") return {
|
||||
next: function () {
|
||||
if (o && i >= o.length) o = void 0;
|
||||
return { value: o && o[i++], done: !o };
|
||||
}
|
||||
};
|
||||
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
||||
};
|
||||
var __read = (this && this.__read) || function (o, n) {
|
||||
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
||||
if (!m) return o;
|
||||
var i = m.call(o), r, ar = [], e;
|
||||
try {
|
||||
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
||||
}
|
||||
catch (error) { e = { error: error }; }
|
||||
finally {
|
||||
try {
|
||||
if (r && !r.done && (m = i["return"])) m.call(i);
|
||||
}
|
||||
finally { if (e) throw e.error; }
|
||||
}
|
||||
return ar;
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CHTMLmtable = void 0;
|
||||
var Wrapper_js_1 = require("../Wrapper.js");
|
||||
var mtable_js_1 = require("../../common/Wrappers/mtable.js");
|
||||
var mtable_js_2 = require("../../../core/MmlTree/MmlNodes/mtable.js");
|
||||
var string_js_1 = require("../../../util/string.js");
|
||||
var CHTMLmtable = (function (_super) {
|
||||
__extends(CHTMLmtable, _super);
|
||||
function CHTMLmtable(factory, node, parent) {
|
||||
if (parent === void 0) { parent = null; }
|
||||
var _this = _super.call(this, factory, node, parent) || this;
|
||||
_this.itable = _this.html('mjx-itable');
|
||||
_this.labels = _this.html('mjx-itable');
|
||||
return _this;
|
||||
}
|
||||
CHTMLmtable.prototype.getAlignShift = function () {
|
||||
var data = _super.prototype.getAlignShift.call(this);
|
||||
if (!this.isTop) {
|
||||
data[1] = 0;
|
||||
}
|
||||
return data;
|
||||
};
|
||||
CHTMLmtable.prototype.toCHTML = function (parent) {
|
||||
var e_1, _a;
|
||||
var chtml = this.standardCHTMLnode(parent);
|
||||
this.adaptor.append(chtml, this.html('mjx-table', {}, [this.itable]));
|
||||
try {
|
||||
for (var _b = __values(this.childNodes), _c = _b.next(); !_c.done; _c = _b.next()) {
|
||||
var child = _c.value;
|
||||
child.toCHTML(this.itable);
|
||||
}
|
||||
}
|
||||
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
||||
finally {
|
||||
try {
|
||||
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
||||
}
|
||||
finally { if (e_1) throw e_1.error; }
|
||||
}
|
||||
this.padRows();
|
||||
this.handleColumnSpacing();
|
||||
this.handleColumnLines();
|
||||
this.handleColumnWidths();
|
||||
this.handleRowSpacing();
|
||||
this.handleRowLines();
|
||||
this.handleRowHeights();
|
||||
this.handleFrame();
|
||||
this.handleWidth();
|
||||
this.handleLabels();
|
||||
this.handleAlign();
|
||||
this.handleJustify();
|
||||
this.shiftColor();
|
||||
};
|
||||
CHTMLmtable.prototype.shiftColor = function () {
|
||||
var adaptor = this.adaptor;
|
||||
var color = adaptor.getStyle(this.chtml, 'backgroundColor');
|
||||
if (color) {
|
||||
adaptor.setStyle(this.chtml, 'backgroundColor', '');
|
||||
adaptor.setStyle(this.itable, 'backgroundColor', color);
|
||||
}
|
||||
};
|
||||
CHTMLmtable.prototype.padRows = function () {
|
||||
var e_2, _a;
|
||||
var adaptor = this.adaptor;
|
||||
try {
|
||||
for (var _b = __values(adaptor.childNodes(this.itable)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
||||
var row = _c.value;
|
||||
while (adaptor.childNodes(row).length < this.numCols) {
|
||||
adaptor.append(row, this.html('mjx-mtd', { 'extra': true }));
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
||||
finally {
|
||||
try {
|
||||
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
||||
}
|
||||
finally { if (e_2) throw e_2.error; }
|
||||
}
|
||||
};
|
||||
CHTMLmtable.prototype.handleColumnSpacing = function () {
|
||||
var e_3, _a, e_4, _b;
|
||||
var scale = (this.childNodes[0] ? 1 / this.childNodes[0].getBBox().rscale : 1);
|
||||
var spacing = this.getEmHalfSpacing(this.fSpace[0], this.cSpace, scale);
|
||||
var frame = this.frame;
|
||||
try {
|
||||
for (var _c = __values(this.tableRows), _d = _c.next(); !_d.done; _d = _c.next()) {
|
||||
var row = _d.value;
|
||||
var i = 0;
|
||||
try {
|
||||
for (var _e = (e_4 = void 0, __values(row.tableCells)), _f = _e.next(); !_f.done; _f = _e.next()) {
|
||||
var cell = _f.value;
|
||||
var lspace = spacing[i++];
|
||||
var rspace = spacing[i];
|
||||
var styleNode = (cell ? cell.chtml : this.adaptor.childNodes(row.chtml)[i]);
|
||||
if ((i > 1 && lspace !== '0.4em') || (frame && i === 1)) {
|
||||
this.adaptor.setStyle(styleNode, 'paddingLeft', lspace);
|
||||
}
|
||||
if ((i < this.numCols && rspace !== '0.4em') || (frame && i === this.numCols)) {
|
||||
this.adaptor.setStyle(styleNode, 'paddingRight', rspace);
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (e_4_1) { e_4 = { error: e_4_1 }; }
|
||||
finally {
|
||||
try {
|
||||
if (_f && !_f.done && (_b = _e.return)) _b.call(_e);
|
||||
}
|
||||
finally { if (e_4) throw e_4.error; }
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (e_3_1) { e_3 = { error: e_3_1 }; }
|
||||
finally {
|
||||
try {
|
||||
if (_d && !_d.done && (_a = _c.return)) _a.call(_c);
|
||||
}
|
||||
finally { if (e_3) throw e_3.error; }
|
||||
}
|
||||
};
|
||||
CHTMLmtable.prototype.handleColumnLines = function () {
|
||||
var e_5, _a, e_6, _b;
|
||||
if (this.node.attributes.get('columnlines') === 'none')
|
||||
return;
|
||||
var lines = this.getColumnAttributes('columnlines');
|
||||
try {
|
||||
for (var _c = __values(this.childNodes), _d = _c.next(); !_d.done; _d = _c.next()) {
|
||||
var row = _d.value;
|
||||
var i = 0;
|
||||
try {
|
||||
for (var _e = (e_6 = void 0, __values(this.adaptor.childNodes(row.chtml).slice(1))), _f = _e.next(); !_f.done; _f = _e.next()) {
|
||||
var cell = _f.value;
|
||||
var line = lines[i++];
|
||||
if (line === 'none')
|
||||
continue;
|
||||
this.adaptor.setStyle(cell, 'borderLeft', '.07em ' + line);
|
||||
}
|
||||
}
|
||||
catch (e_6_1) { e_6 = { error: e_6_1 }; }
|
||||
finally {
|
||||
try {
|
||||
if (_f && !_f.done && (_b = _e.return)) _b.call(_e);
|
||||
}
|
||||
finally { if (e_6) throw e_6.error; }
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (e_5_1) { e_5 = { error: e_5_1 }; }
|
||||
finally {
|
||||
try {
|
||||
if (_d && !_d.done && (_a = _c.return)) _a.call(_c);
|
||||
}
|
||||
finally { if (e_5) throw e_5.error; }
|
||||
}
|
||||
};
|
||||
CHTMLmtable.prototype.handleColumnWidths = function () {
|
||||
var e_7, _a, e_8, _b;
|
||||
try {
|
||||
for (var _c = __values(this.childNodes), _d = _c.next(); !_d.done; _d = _c.next()) {
|
||||
var row = _d.value;
|
||||
var i = 0;
|
||||
try {
|
||||
for (var _e = (e_8 = void 0, __values(this.adaptor.childNodes(row.chtml))), _f = _e.next(); !_f.done; _f = _e.next()) {
|
||||
var cell = _f.value;
|
||||
var w = this.cWidths[i++];
|
||||
if (w !== null) {
|
||||
var width = (typeof w === 'number' ? this.em(w) : w);
|
||||
this.adaptor.setStyle(cell, 'width', width);
|
||||
this.adaptor.setStyle(cell, 'maxWidth', width);
|
||||
this.adaptor.setStyle(cell, 'minWidth', width);
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (e_8_1) { e_8 = { error: e_8_1 }; }
|
||||
finally {
|
||||
try {
|
||||
if (_f && !_f.done && (_b = _e.return)) _b.call(_e);
|
||||
}
|
||||
finally { if (e_8) throw e_8.error; }
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (e_7_1) { e_7 = { error: e_7_1 }; }
|
||||
finally {
|
||||
try {
|
||||
if (_d && !_d.done && (_a = _c.return)) _a.call(_c);
|
||||
}
|
||||
finally { if (e_7) throw e_7.error; }
|
||||
}
|
||||
};
|
||||
CHTMLmtable.prototype.handleRowSpacing = function () {
|
||||
var e_9, _a, e_10, _b;
|
||||
var scale = (this.childNodes[0] ? 1 / this.childNodes[0].getBBox().rscale : 1);
|
||||
var spacing = this.getEmHalfSpacing(this.fSpace[1], this.rSpace, scale);
|
||||
var frame = this.frame;
|
||||
var i = 0;
|
||||
try {
|
||||
for (var _c = __values(this.childNodes), _d = _c.next(); !_d.done; _d = _c.next()) {
|
||||
var row = _d.value;
|
||||
var tspace = spacing[i++];
|
||||
var bspace = spacing[i];
|
||||
try {
|
||||
for (var _e = (e_10 = void 0, __values(row.childNodes)), _f = _e.next(); !_f.done; _f = _e.next()) {
|
||||
var cell = _f.value;
|
||||
if ((i > 1 && tspace !== '0.215em') || (frame && i === 1)) {
|
||||
this.adaptor.setStyle(cell.chtml, 'paddingTop', tspace);
|
||||
}
|
||||
if ((i < this.numRows && bspace !== '0.215em') || (frame && i === this.numRows)) {
|
||||
this.adaptor.setStyle(cell.chtml, 'paddingBottom', bspace);
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (e_10_1) { e_10 = { error: e_10_1 }; }
|
||||
finally {
|
||||
try {
|
||||
if (_f && !_f.done && (_b = _e.return)) _b.call(_e);
|
||||
}
|
||||
finally { if (e_10) throw e_10.error; }
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (e_9_1) { e_9 = { error: e_9_1 }; }
|
||||
finally {
|
||||
try {
|
||||
if (_d && !_d.done && (_a = _c.return)) _a.call(_c);
|
||||
}
|
||||
finally { if (e_9) throw e_9.error; }
|
||||
}
|
||||
};
|
||||
CHTMLmtable.prototype.handleRowLines = function () {
|
||||
var e_11, _a, e_12, _b;
|
||||
if (this.node.attributes.get('rowlines') === 'none')
|
||||
return;
|
||||
var lines = this.getRowAttributes('rowlines');
|
||||
var i = 0;
|
||||
try {
|
||||
for (var _c = __values(this.childNodes.slice(1)), _d = _c.next(); !_d.done; _d = _c.next()) {
|
||||
var row = _d.value;
|
||||
var line = lines[i++];
|
||||
if (line === 'none')
|
||||
continue;
|
||||
try {
|
||||
for (var _e = (e_12 = void 0, __values(this.adaptor.childNodes(row.chtml))), _f = _e.next(); !_f.done; _f = _e.next()) {
|
||||
var cell = _f.value;
|
||||
this.adaptor.setStyle(cell, 'borderTop', '.07em ' + line);
|
||||
}
|
||||
}
|
||||
catch (e_12_1) { e_12 = { error: e_12_1 }; }
|
||||
finally {
|
||||
try {
|
||||
if (_f && !_f.done && (_b = _e.return)) _b.call(_e);
|
||||
}
|
||||
finally { if (e_12) throw e_12.error; }
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (e_11_1) { e_11 = { error: e_11_1 }; }
|
||||
finally {
|
||||
try {
|
||||
if (_d && !_d.done && (_a = _c.return)) _a.call(_c);
|
||||
}
|
||||
finally { if (e_11) throw e_11.error; }
|
||||
}
|
||||
};
|
||||
CHTMLmtable.prototype.handleRowHeights = function () {
|
||||
if (this.node.attributes.get('equalrows')) {
|
||||
this.handleEqualRows();
|
||||
}
|
||||
};
|
||||
CHTMLmtable.prototype.handleEqualRows = function () {
|
||||
var space = this.getRowHalfSpacing();
|
||||
var _a = this.getTableData(), H = _a.H, D = _a.D, NH = _a.NH, ND = _a.ND;
|
||||
var HD = this.getEqualRowHeight();
|
||||
for (var i = 0; i < this.numRows; i++) {
|
||||
var row = this.childNodes[i];
|
||||
this.setRowHeight(row, HD + space[i] + space[i + 1] + this.rLines[i]);
|
||||
if (HD !== NH[i] + ND[i]) {
|
||||
this.setRowBaseline(row, HD, (HD - H[i] + D[i]) / 2);
|
||||
}
|
||||
}
|
||||
};
|
||||
CHTMLmtable.prototype.setRowHeight = function (row, HD) {
|
||||
this.adaptor.setStyle(row.chtml, 'height', this.em(HD));
|
||||
};
|
||||
CHTMLmtable.prototype.setRowBaseline = function (row, HD, D) {
|
||||
var e_13, _a;
|
||||
var ralign = row.node.attributes.get('rowalign');
|
||||
try {
|
||||
for (var _b = __values(row.childNodes), _c = _b.next(); !_c.done; _c = _b.next()) {
|
||||
var cell = _c.value;
|
||||
if (this.setCellBaseline(cell, ralign, HD, D))
|
||||
break;
|
||||
}
|
||||
}
|
||||
catch (e_13_1) { e_13 = { error: e_13_1 }; }
|
||||
finally {
|
||||
try {
|
||||
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
||||
}
|
||||
finally { if (e_13) throw e_13.error; }
|
||||
}
|
||||
};
|
||||
CHTMLmtable.prototype.setCellBaseline = function (cell, ralign, HD, D) {
|
||||
var calign = cell.node.attributes.get('rowalign');
|
||||
if (calign === 'baseline' || calign === 'axis') {
|
||||
var adaptor = this.adaptor;
|
||||
var child = adaptor.lastChild(cell.chtml);
|
||||
adaptor.setStyle(child, 'height', this.em(HD));
|
||||
adaptor.setStyle(child, 'verticalAlign', this.em(-D));
|
||||
var row = cell.parent;
|
||||
if ((!row.node.isKind('mlabeledtr') || cell !== row.childNodes[0]) &&
|
||||
(ralign === 'baseline' || ralign === 'axis')) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
};
|
||||
CHTMLmtable.prototype.handleFrame = function () {
|
||||
if (this.frame && this.fLine) {
|
||||
this.adaptor.setStyle(this.itable, 'border', '.07em ' + this.node.attributes.get('frame'));
|
||||
}
|
||||
};
|
||||
CHTMLmtable.prototype.handleWidth = function () {
|
||||
var adaptor = this.adaptor;
|
||||
var _a = this.getBBox(), w = _a.w, L = _a.L, R = _a.R;
|
||||
adaptor.setStyle(this.chtml, 'minWidth', this.em(L + w + R));
|
||||
var W = this.node.attributes.get('width');
|
||||
if ((0, string_js_1.isPercent)(W)) {
|
||||
adaptor.setStyle(this.chtml, 'width', '');
|
||||
adaptor.setAttribute(this.chtml, 'width', 'full');
|
||||
}
|
||||
else if (!this.hasLabels) {
|
||||
if (W === 'auto')
|
||||
return;
|
||||
W = this.em(this.length2em(W) + 2 * this.fLine);
|
||||
}
|
||||
var table = adaptor.firstChild(this.chtml);
|
||||
adaptor.setStyle(table, 'width', W);
|
||||
adaptor.setStyle(table, 'minWidth', this.em(w));
|
||||
if (L || R) {
|
||||
adaptor.setStyle(this.chtml, 'margin', '');
|
||||
var style = (this.node.attributes.get('data-width-includes-label') ? 'padding' : 'margin');
|
||||
if (L === R) {
|
||||
adaptor.setStyle(table, style, '0 ' + this.em(R));
|
||||
}
|
||||
else {
|
||||
adaptor.setStyle(table, style, '0 ' + this.em(R) + ' 0 ' + this.em(L));
|
||||
}
|
||||
}
|
||||
adaptor.setAttribute(this.itable, 'width', 'full');
|
||||
};
|
||||
CHTMLmtable.prototype.handleAlign = function () {
|
||||
var _a = __read(this.getAlignmentRow(), 2), align = _a[0], row = _a[1];
|
||||
if (row === null) {
|
||||
if (align !== 'axis') {
|
||||
this.adaptor.setAttribute(this.chtml, 'align', align);
|
||||
}
|
||||
}
|
||||
else {
|
||||
var y = this.getVerticalPosition(row, align);
|
||||
this.adaptor.setAttribute(this.chtml, 'align', 'top');
|
||||
this.adaptor.setStyle(this.chtml, 'verticalAlign', this.em(y));
|
||||
}
|
||||
};
|
||||
CHTMLmtable.prototype.handleJustify = function () {
|
||||
var align = this.getAlignShift()[0];
|
||||
if (align !== 'center') {
|
||||
this.adaptor.setAttribute(this.chtml, 'justify', align);
|
||||
}
|
||||
};
|
||||
CHTMLmtable.prototype.handleLabels = function () {
|
||||
if (!this.hasLabels)
|
||||
return;
|
||||
var labels = this.labels;
|
||||
var attributes = this.node.attributes;
|
||||
var adaptor = this.adaptor;
|
||||
var side = attributes.get('side');
|
||||
adaptor.setAttribute(this.chtml, 'side', side);
|
||||
adaptor.setAttribute(labels, 'align', side);
|
||||
adaptor.setStyle(labels, side, '0');
|
||||
var _a = __read(this.addLabelPadding(side), 2), align = _a[0], shift = _a[1];
|
||||
if (shift) {
|
||||
var table = adaptor.firstChild(this.chtml);
|
||||
this.setIndent(table, align, shift);
|
||||
}
|
||||
this.updateRowHeights();
|
||||
this.addLabelSpacing();
|
||||
};
|
||||
CHTMLmtable.prototype.addLabelPadding = function (side) {
|
||||
var _a = __read(this.getPadAlignShift(side), 3), align = _a[1], shift = _a[2];
|
||||
var styles = {};
|
||||
if (side === 'right' && !this.node.attributes.get('data-width-includes-label')) {
|
||||
var W = this.node.attributes.get('width');
|
||||
var _b = this.getBBox(), w = _b.w, L = _b.L, R = _b.R;
|
||||
styles.style = {
|
||||
width: ((0, string_js_1.isPercent)(W) ? 'calc(' + W + ' + ' + this.em(L + R) + ')' : this.em(L + w + R))
|
||||
};
|
||||
}
|
||||
this.adaptor.append(this.chtml, this.html('mjx-labels', styles, [this.labels]));
|
||||
return [align, shift];
|
||||
};
|
||||
CHTMLmtable.prototype.updateRowHeights = function () {
|
||||
var _a = this.getTableData(), H = _a.H, D = _a.D, NH = _a.NH, ND = _a.ND;
|
||||
var space = this.getRowHalfSpacing();
|
||||
for (var i = 0; i < this.numRows; i++) {
|
||||
var row = this.childNodes[i];
|
||||
this.setRowHeight(row, H[i] + D[i] + space[i] + space[i + 1] + this.rLines[i]);
|
||||
if (H[i] !== NH[i] || D[i] !== ND[i]) {
|
||||
this.setRowBaseline(row, H[i] + D[i], D[i]);
|
||||
}
|
||||
else if (row.node.isKind('mlabeledtr')) {
|
||||
this.setCellBaseline(row.childNodes[0], '', H[i] + D[i], D[i]);
|
||||
}
|
||||
}
|
||||
};
|
||||
CHTMLmtable.prototype.addLabelSpacing = function () {
|
||||
var adaptor = this.adaptor;
|
||||
var equal = this.node.attributes.get('equalrows');
|
||||
var _a = this.getTableData(), H = _a.H, D = _a.D;
|
||||
var HD = (equal ? this.getEqualRowHeight() : 0);
|
||||
var space = this.getRowHalfSpacing();
|
||||
var h = this.fLine;
|
||||
var current = adaptor.firstChild(this.labels);
|
||||
for (var i = 0; i < this.numRows; i++) {
|
||||
var row = this.childNodes[i];
|
||||
if (row.node.isKind('mlabeledtr')) {
|
||||
h && adaptor.insert(this.html('mjx-mtr', { style: { height: this.em(h) } }), current);
|
||||
adaptor.setStyle(current, 'height', this.em((equal ? HD : H[i] + D[i]) + space[i] + space[i + 1]));
|
||||
current = adaptor.next(current);
|
||||
h = this.rLines[i];
|
||||
}
|
||||
else {
|
||||
h += space[i] + (equal ? HD : H[i] + D[i]) + space[i + 1] + this.rLines[i];
|
||||
}
|
||||
}
|
||||
};
|
||||
CHTMLmtable.kind = mtable_js_2.MmlMtable.prototype.kind;
|
||||
CHTMLmtable.styles = {
|
||||
'mjx-mtable': {
|
||||
'vertical-align': '.25em',
|
||||
'text-align': 'center',
|
||||
'position': 'relative',
|
||||
'box-sizing': 'border-box',
|
||||
'border-spacing': 0,
|
||||
'border-collapse': 'collapse'
|
||||
},
|
||||
'mjx-mstyle[size="s"] mjx-mtable': {
|
||||
'vertical-align': '.354em'
|
||||
},
|
||||
'mjx-labels': {
|
||||
position: 'absolute',
|
||||
left: 0,
|
||||
top: 0
|
||||
},
|
||||
'mjx-table': {
|
||||
'display': 'inline-block',
|
||||
'vertical-align': '-.5ex',
|
||||
'box-sizing': 'border-box'
|
||||
},
|
||||
'mjx-table > mjx-itable': {
|
||||
'vertical-align': 'middle',
|
||||
'text-align': 'left',
|
||||
'box-sizing': 'border-box'
|
||||
},
|
||||
'mjx-labels > mjx-itable': {
|
||||
position: 'absolute',
|
||||
top: 0
|
||||
},
|
||||
'mjx-mtable[justify="left"]': {
|
||||
'text-align': 'left'
|
||||
},
|
||||
'mjx-mtable[justify="right"]': {
|
||||
'text-align': 'right'
|
||||
},
|
||||
'mjx-mtable[justify="left"][side="left"]': {
|
||||
'padding-right': '0 ! important'
|
||||
},
|
||||
'mjx-mtable[justify="left"][side="right"]': {
|
||||
'padding-left': '0 ! important'
|
||||
},
|
||||
'mjx-mtable[justify="right"][side="left"]': {
|
||||
'padding-right': '0 ! important'
|
||||
},
|
||||
'mjx-mtable[justify="right"][side="right"]': {
|
||||
'padding-left': '0 ! important'
|
||||
},
|
||||
'mjx-mtable[align]': {
|
||||
'vertical-align': 'baseline'
|
||||
},
|
||||
'mjx-mtable[align="top"] > mjx-table': {
|
||||
'vertical-align': 'top'
|
||||
},
|
||||
'mjx-mtable[align="bottom"] > mjx-table': {
|
||||
'vertical-align': 'bottom'
|
||||
},
|
||||
'mjx-mtable[side="right"] mjx-labels': {
|
||||
'min-width': '100%'
|
||||
}
|
||||
};
|
||||
return CHTMLmtable;
|
||||
}((0, mtable_js_1.CommonMtableMixin)(Wrapper_js_1.CHTMLWrapper)));
|
||||
exports.CHTMLmtable = CHTMLmtable;
|
||||
//# sourceMappingURL=mtable.js.map
|
||||
1
node_modules/mathjax-full/js/output/chtml/Wrappers/mtable.js.map
generated
vendored
Normal file
1
node_modules/mathjax-full/js/output/chtml/Wrappers/mtable.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
9
node_modules/mathjax-full/js/output/chtml/Wrappers/mtd.d.ts
generated
vendored
Normal file
9
node_modules/mathjax-full/js/output/chtml/Wrappers/mtd.d.ts
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
import { CHTMLConstructor } from '../Wrapper.js';
|
||||
import { StyleList } from '../../../util/StyleList.js';
|
||||
declare const CHTMLmtd_base: import("../../common/Wrappers/mtd.js").MtdConstructor & CHTMLConstructor<any, any, any>;
|
||||
export declare class CHTMLmtd<N, T, D> extends CHTMLmtd_base {
|
||||
static kind: string;
|
||||
static styles: StyleList;
|
||||
toCHTML(parent: N): void;
|
||||
}
|
||||
export {};
|
||||
96
node_modules/mathjax-full/js/output/chtml/Wrappers/mtd.js
generated
vendored
Normal file
96
node_modules/mathjax-full/js/output/chtml/Wrappers/mtd.js
generated
vendored
Normal file
@@ -0,0 +1,96 @@
|
||||
"use strict";
|
||||
var __extends = (this && this.__extends) || (function () {
|
||||
var extendStatics = function (d, b) {
|
||||
extendStatics = Object.setPrototypeOf ||
|
||||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
||||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
||||
return extendStatics(d, b);
|
||||
};
|
||||
return function (d, b) {
|
||||
if (typeof b !== "function" && b !== null)
|
||||
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
||||
extendStatics(d, b);
|
||||
function __() { this.constructor = d; }
|
||||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CHTMLmtd = void 0;
|
||||
var Wrapper_js_1 = require("../Wrapper.js");
|
||||
var mtd_js_1 = require("../../common/Wrappers/mtd.js");
|
||||
var mtd_js_2 = require("../../../core/MmlTree/MmlNodes/mtd.js");
|
||||
var CHTMLmtd = (function (_super) {
|
||||
__extends(CHTMLmtd, _super);
|
||||
function CHTMLmtd() {
|
||||
return _super !== null && _super.apply(this, arguments) || this;
|
||||
}
|
||||
CHTMLmtd.prototype.toCHTML = function (parent) {
|
||||
_super.prototype.toCHTML.call(this, parent);
|
||||
var ralign = this.node.attributes.get('rowalign');
|
||||
var calign = this.node.attributes.get('columnalign');
|
||||
var palign = this.parent.node.attributes.get('rowalign');
|
||||
if (ralign !== palign) {
|
||||
this.adaptor.setAttribute(this.chtml, 'rowalign', ralign);
|
||||
}
|
||||
if (calign !== 'center' &&
|
||||
(this.parent.kind !== 'mlabeledtr' || this !== this.parent.childNodes[0] ||
|
||||
calign !== this.parent.parent.node.attributes.get('side'))) {
|
||||
this.adaptor.setStyle(this.chtml, 'textAlign', calign);
|
||||
}
|
||||
if (this.parent.parent.node.getProperty('useHeight')) {
|
||||
this.adaptor.append(this.chtml, this.html('mjx-tstrut'));
|
||||
}
|
||||
};
|
||||
CHTMLmtd.kind = mtd_js_2.MmlMtd.prototype.kind;
|
||||
CHTMLmtd.styles = {
|
||||
'mjx-mtd': {
|
||||
display: 'table-cell',
|
||||
'text-align': 'center',
|
||||
'padding': '.215em .4em'
|
||||
},
|
||||
'mjx-mtd:first-child': {
|
||||
'padding-left': 0
|
||||
},
|
||||
'mjx-mtd:last-child': {
|
||||
'padding-right': 0
|
||||
},
|
||||
'mjx-mtable > * > mjx-itable > *:first-child > mjx-mtd': {
|
||||
'padding-top': 0
|
||||
},
|
||||
'mjx-mtable > * > mjx-itable > *:last-child > mjx-mtd': {
|
||||
'padding-bottom': 0
|
||||
},
|
||||
'mjx-tstrut': {
|
||||
display: 'inline-block',
|
||||
height: '1em',
|
||||
'vertical-align': '-.25em'
|
||||
},
|
||||
'mjx-labels[align="left"] > mjx-mtr > mjx-mtd': {
|
||||
'text-align': 'left'
|
||||
},
|
||||
'mjx-labels[align="right"] > mjx-mtr > mjx-mtd': {
|
||||
'text-align': 'right'
|
||||
},
|
||||
'mjx-mtd[extra]': {
|
||||
padding: 0
|
||||
},
|
||||
'mjx-mtd[rowalign="top"]': {
|
||||
'vertical-align': 'top'
|
||||
},
|
||||
'mjx-mtd[rowalign="center"]': {
|
||||
'vertical-align': 'middle'
|
||||
},
|
||||
'mjx-mtd[rowalign="bottom"]': {
|
||||
'vertical-align': 'bottom'
|
||||
},
|
||||
'mjx-mtd[rowalign="baseline"]': {
|
||||
'vertical-align': 'baseline'
|
||||
},
|
||||
'mjx-mtd[rowalign="axis"]': {
|
||||
'vertical-align': '.25em'
|
||||
}
|
||||
};
|
||||
return CHTMLmtd;
|
||||
}((0, mtd_js_1.CommonMtdMixin)(Wrapper_js_1.CHTMLWrapper)));
|
||||
exports.CHTMLmtd = CHTMLmtd;
|
||||
//# sourceMappingURL=mtd.js.map
|
||||
1
node_modules/mathjax-full/js/output/chtml/Wrappers/mtd.js.map
generated
vendored
Normal file
1
node_modules/mathjax-full/js/output/chtml/Wrappers/mtd.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"mtd.js","sourceRoot":"","sources":["../../../../ts/output/chtml/Wrappers/mtd.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAuBA,4CAA6D;AAC7D,uDAA4D;AAC5D,gEAA6D;AAY7D;IACA,4BAA6D;IAD7D;;IAqFA,CAAC;IAtBQ,0BAAO,GAAd,UAAe,MAAS;QACtB,iBAAM,OAAO,YAAC,MAAM,CAAC,CAAC;QACtB,IAAM,MAAM,GAAG,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,UAAU,CAAW,CAAC;QAC9D,IAAM,MAAM,GAAG,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,aAAa,CAAW,CAAC;QACjE,IAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,UAAU,CAAW,CAAC;QACrE,IAAI,MAAM,KAAK,MAAM,EAAE;YACrB,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,EAAE,UAAU,EAAE,MAAM,CAAC,CAAC;SAC3D;QACD,IAAI,MAAM,KAAK,QAAQ;YACnB,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,YAAY,IAAI,IAAI,KAAK,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC;gBACvE,MAAM,KAAK,IAAI,CAAC,MAAM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AU;SAC7B;QACD,0BAA0B,EAAE;YAC1B,gBAAgB,EAAE,OAAO;SAC1B;KACF,CAAC;IA2BJ,eAAC;CAAA,AArFD,CACA,IAAA,uBAAc,EAAkC,yBAAY,CAAC,GAoF5D;AArFY,4BAAQ"}
|
||||
6
node_modules/mathjax-full/js/output/chtml/Wrappers/mtext.d.ts
generated
vendored
Normal file
6
node_modules/mathjax-full/js/output/chtml/Wrappers/mtext.d.ts
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
import { CHTMLConstructor } from '../Wrapper.js';
|
||||
declare const CHTMLmtext_base: import("../../common/Wrappers/mtext.js").MtextConstructor & CHTMLConstructor<any, any, any>;
|
||||
export declare class CHTMLmtext<N, T, D> extends CHTMLmtext_base {
|
||||
static kind: string;
|
||||
}
|
||||
export {};
|
||||
31
node_modules/mathjax-full/js/output/chtml/Wrappers/mtext.js
generated
vendored
Normal file
31
node_modules/mathjax-full/js/output/chtml/Wrappers/mtext.js
generated
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
"use strict";
|
||||
var __extends = (this && this.__extends) || (function () {
|
||||
var extendStatics = function (d, b) {
|
||||
extendStatics = Object.setPrototypeOf ||
|
||||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
||||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
||||
return extendStatics(d, b);
|
||||
};
|
||||
return function (d, b) {
|
||||
if (typeof b !== "function" && b !== null)
|
||||
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
||||
extendStatics(d, b);
|
||||
function __() { this.constructor = d; }
|
||||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CHTMLmtext = void 0;
|
||||
var Wrapper_js_1 = require("../Wrapper.js");
|
||||
var mtext_js_1 = require("../../common/Wrappers/mtext.js");
|
||||
var mtext_js_2 = require("../../../core/MmlTree/MmlNodes/mtext.js");
|
||||
var CHTMLmtext = (function (_super) {
|
||||
__extends(CHTMLmtext, _super);
|
||||
function CHTMLmtext() {
|
||||
return _super !== null && _super.apply(this, arguments) || this;
|
||||
}
|
||||
CHTMLmtext.kind = mtext_js_2.MmlMtext.prototype.kind;
|
||||
return CHTMLmtext;
|
||||
}((0, mtext_js_1.CommonMtextMixin)(Wrapper_js_1.CHTMLWrapper)));
|
||||
exports.CHTMLmtext = CHTMLmtext;
|
||||
//# sourceMappingURL=mtext.js.map
|
||||
1
node_modules/mathjax-full/js/output/chtml/Wrappers/mtext.js.map
generated
vendored
Normal file
1
node_modules/mathjax-full/js/output/chtml/Wrappers/mtext.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"mtext.js","sourceRoot":"","sources":["../../../../ts/output/chtml/Wrappers/mtext.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAuBA,4CAA6D;AAC7D,2DAAgE;AAChE,oEAAiE;AAWjE;IACA,8BAA+D;IAD/D;;IAQA,CAAC;IAFe,eAAI,GAAG,mBAAQ,CAAC,SAAS,CAAC,IAAI,CAAC;IAE/C,iBAAC;CAAA,AARD,CACA,IAAA,2BAAgB,EAAkC,yBAAY,CAAC,GAO9D;AARY,gCAAU"}
|
||||
17
node_modules/mathjax-full/js/output/chtml/Wrappers/mtr.d.ts
generated
vendored
Normal file
17
node_modules/mathjax-full/js/output/chtml/Wrappers/mtr.d.ts
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
import { CHTMLConstructor, Constructor } from '../Wrapper.js';
|
||||
import { CHTMLmtd } from './mtd.js';
|
||||
import { StyleList } from '../../../util/StyleList.js';
|
||||
declare const CHTMLmtr_base: import("../../common/Wrappers/mtr.js").MtrConstructor<CHTMLmtd<any, any, any>> & CHTMLConstructor<any, any, any>;
|
||||
export declare class CHTMLmtr<N, T, D> extends CHTMLmtr_base {
|
||||
static kind: string;
|
||||
static styles: StyleList;
|
||||
toCHTML(parent: N): void;
|
||||
}
|
||||
declare const CHTMLmlabeledtr_base: import("../../common/Wrappers/mtr.js").MlabeledtrConstructor<CHTMLmtd<any, any, any>> & Constructor<CHTMLmtr<any, any, any>>;
|
||||
export declare class CHTMLmlabeledtr<N, T, D> extends CHTMLmlabeledtr_base {
|
||||
static kind: string;
|
||||
static styles: StyleList;
|
||||
toCHTML(parent: N): void;
|
||||
markUsed(): void;
|
||||
}
|
||||
export {};
|
||||
103
node_modules/mathjax-full/js/output/chtml/Wrappers/mtr.js
generated
vendored
Normal file
103
node_modules/mathjax-full/js/output/chtml/Wrappers/mtr.js
generated
vendored
Normal file
@@ -0,0 +1,103 @@
|
||||
"use strict";
|
||||
var __extends = (this && this.__extends) || (function () {
|
||||
var extendStatics = function (d, b) {
|
||||
extendStatics = Object.setPrototypeOf ||
|
||||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
||||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
||||
return extendStatics(d, b);
|
||||
};
|
||||
return function (d, b) {
|
||||
if (typeof b !== "function" && b !== null)
|
||||
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
||||
extendStatics(d, b);
|
||||
function __() { this.constructor = d; }
|
||||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CHTMLmlabeledtr = exports.CHTMLmtr = void 0;
|
||||
var Wrapper_js_1 = require("../Wrapper.js");
|
||||
var mtr_js_1 = require("../../common/Wrappers/mtr.js");
|
||||
var mtr_js_2 = require("../../common/Wrappers/mtr.js");
|
||||
var mtr_js_3 = require("../../../core/MmlTree/MmlNodes/mtr.js");
|
||||
var CHTMLmtr = (function (_super) {
|
||||
__extends(CHTMLmtr, _super);
|
||||
function CHTMLmtr() {
|
||||
return _super !== null && _super.apply(this, arguments) || this;
|
||||
}
|
||||
CHTMLmtr.prototype.toCHTML = function (parent) {
|
||||
_super.prototype.toCHTML.call(this, parent);
|
||||
var align = this.node.attributes.get('rowalign');
|
||||
if (align !== 'baseline') {
|
||||
this.adaptor.setAttribute(this.chtml, 'rowalign', align);
|
||||
}
|
||||
};
|
||||
CHTMLmtr.kind = mtr_js_3.MmlMtr.prototype.kind;
|
||||
CHTMLmtr.styles = {
|
||||
'mjx-mtr': {
|
||||
display: 'table-row',
|
||||
},
|
||||
'mjx-mtr[rowalign="top"] > mjx-mtd': {
|
||||
'vertical-align': 'top'
|
||||
},
|
||||
'mjx-mtr[rowalign="center"] > mjx-mtd': {
|
||||
'vertical-align': 'middle'
|
||||
},
|
||||
'mjx-mtr[rowalign="bottom"] > mjx-mtd': {
|
||||
'vertical-align': 'bottom'
|
||||
},
|
||||
'mjx-mtr[rowalign="baseline"] > mjx-mtd': {
|
||||
'vertical-align': 'baseline'
|
||||
},
|
||||
'mjx-mtr[rowalign="axis"] > mjx-mtd': {
|
||||
'vertical-align': '.25em'
|
||||
}
|
||||
};
|
||||
return CHTMLmtr;
|
||||
}((0, mtr_js_1.CommonMtrMixin)(Wrapper_js_1.CHTMLWrapper)));
|
||||
exports.CHTMLmtr = CHTMLmtr;
|
||||
var CHTMLmlabeledtr = (function (_super) {
|
||||
__extends(CHTMLmlabeledtr, _super);
|
||||
function CHTMLmlabeledtr() {
|
||||
return _super !== null && _super.apply(this, arguments) || this;
|
||||
}
|
||||
CHTMLmlabeledtr.prototype.toCHTML = function (parent) {
|
||||
_super.prototype.toCHTML.call(this, parent);
|
||||
var child = this.adaptor.firstChild(this.chtml);
|
||||
if (child) {
|
||||
this.adaptor.remove(child);
|
||||
var align = this.node.attributes.get('rowalign');
|
||||
var attr = (align !== 'baseline' && align !== 'axis' ? { rowalign: align } : {});
|
||||
var row = this.html('mjx-mtr', attr, [child]);
|
||||
this.adaptor.append(this.parent.labels, row);
|
||||
}
|
||||
};
|
||||
CHTMLmlabeledtr.prototype.markUsed = function () {
|
||||
_super.prototype.markUsed.call(this);
|
||||
this.jax.wrapperUsage.add(CHTMLmtr.kind);
|
||||
};
|
||||
CHTMLmlabeledtr.kind = mtr_js_3.MmlMlabeledtr.prototype.kind;
|
||||
CHTMLmlabeledtr.styles = {
|
||||
'mjx-mlabeledtr': {
|
||||
display: 'table-row'
|
||||
},
|
||||
'mjx-mlabeledtr[rowalign="top"] > mjx-mtd': {
|
||||
'vertical-align': 'top'
|
||||
},
|
||||
'mjx-mlabeledtr[rowalign="center"] > mjx-mtd': {
|
||||
'vertical-align': 'middle'
|
||||
},
|
||||
'mjx-mlabeledtr[rowalign="bottom"] > mjx-mtd': {
|
||||
'vertical-align': 'bottom'
|
||||
},
|
||||
'mjx-mlabeledtr[rowalign="baseline"] > mjx-mtd': {
|
||||
'vertical-align': 'baseline'
|
||||
},
|
||||
'mjx-mlabeledtr[rowalign="axis"] > mjx-mtd': {
|
||||
'vertical-align': '.25em'
|
||||
}
|
||||
};
|
||||
return CHTMLmlabeledtr;
|
||||
}((0, mtr_js_2.CommonMlabeledtrMixin)(CHTMLmtr)));
|
||||
exports.CHTMLmlabeledtr = CHTMLmlabeledtr;
|
||||
//# sourceMappingURL=mtr.js.map
|
||||
1
node_modules/mathjax-full/js/output/chtml/Wrappers/mtr.js.map
generated
vendored
Normal file
1
node_modules/mathjax-full/js/output/chtml/Wrappers/mtr.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"mtr.js","sourceRoot":"","sources":["../../../../ts/output/chtml/Wrappers/mtr.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAwBA,4CAA0E;AAC1E,uDAA4D;AAC5D,uDAAmE;AAGnE,gEAA4E;AAY5E;IACA,4BAAsF;IADtF;;IA2CA,CAAC;IARQ,0BAAO,GAAd,UAAe,MAAS;QACtB,iBAAM,OAAO,YAAC,MAAM,CAAC,CAAC;QACtB,IAAM,KAAK,GAAG,IAAI,CAAC,IAAI,CAAC,UA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AM,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC;YAChD,IAAI,CAAC,OAAO,CAAC,MAAM,CAAE,IAAI,CAAC,MAA+B,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;SACxE;IACH,CAAC;IAKM,kCAAQ,GAAf;QACE,iBAAM,QAAQ,WAAE,CAAC;QACjB,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IAC3C,CAAC;IAlDa,oBAAI,GAAG,sBAAa,CAAC,SAAS,CAAC,IAAI,CAAC;IAKpC,sBAAM,GAAc;QAChC,gBAAgB,EAAE;YAChB,OAAO,EAAE,WAAW;SACrB;QACD,0CAA0C,EAAE;YAC1C,gBAAgB,EAAE,KAAK;SACxB;QACD,6CAA6C,EAAE;YAC7C,gBAAgB,EAAE,QAAQ;SAC3B;QACD,6CAA6C,EAAE;YAC7C,gBAAgB,EAAE,QAAQ;SAC3B;QACD,+CAA+C,EAAE;YAC/C,gBAAgB,EAAE,UAAU;SAC7B;QACD,2CAA2C,EAAE;YAC3C,gBAAgB,EAAE,OAAO;SAC1B;KACF,CAAC;IA4BJ,sBAAC;CAAA,AA1DD,CACA,IAAA,8BAAqB,EAAgE,QAAQ,CAAC,GAyD7F;AA1DY,0CAAe"}
|
||||
23
node_modules/mathjax-full/js/output/chtml/Wrappers/munderover.d.ts
generated
vendored
Normal file
23
node_modules/mathjax-full/js/output/chtml/Wrappers/munderover.d.ts
generated
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
import { CHTMLWrapper, Constructor } from '../Wrapper.js';
|
||||
import { CHTMLmsubsup, CHTMLmsub, CHTMLmsup } from './msubsup.js';
|
||||
import { StyleList } from '../../../util/StyleList.js';
|
||||
declare const CHTMLmunder_base: import("../../common/Wrappers/munderover.js").MunderConstructor<CHTMLWrapper<any, any, any>> & Constructor<CHTMLmsub<any, any, any>>;
|
||||
export declare class CHTMLmunder<N, T, D> extends CHTMLmunder_base {
|
||||
static kind: string;
|
||||
static styles: StyleList;
|
||||
toCHTML(parent: N): void;
|
||||
}
|
||||
declare const CHTMLmover_base: import("../../common/Wrappers/munderover.js").MoverConstructor<CHTMLWrapper<any, any, any>> & Constructor<CHTMLmsup<any, any, any>>;
|
||||
export declare class CHTMLmover<N, T, D> extends CHTMLmover_base {
|
||||
static kind: string;
|
||||
static styles: StyleList;
|
||||
toCHTML(parent: N): void;
|
||||
}
|
||||
declare const CHTMLmunderover_base: import("../../common/Wrappers/munderover.js").MunderoverConstructor<CHTMLWrapper<any, any, any>> & Constructor<CHTMLmsubsup<any, any, any>>;
|
||||
export declare class CHTMLmunderover<N, T, D> extends CHTMLmunderover_base {
|
||||
static kind: string;
|
||||
static styles: StyleList;
|
||||
toCHTML(parent: N): void;
|
||||
markUsed(): void;
|
||||
}
|
||||
export {};
|
||||
152
node_modules/mathjax-full/js/output/chtml/Wrappers/munderover.js
generated
vendored
Normal file
152
node_modules/mathjax-full/js/output/chtml/Wrappers/munderover.js
generated
vendored
Normal file
@@ -0,0 +1,152 @@
|
||||
"use strict";
|
||||
var __extends = (this && this.__extends) || (function () {
|
||||
var extendStatics = function (d, b) {
|
||||
extendStatics = Object.setPrototypeOf ||
|
||||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
||||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
||||
return extendStatics(d, b);
|
||||
};
|
||||
return function (d, b) {
|
||||
if (typeof b !== "function" && b !== null)
|
||||
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
||||
extendStatics(d, b);
|
||||
function __() { this.constructor = d; }
|
||||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CHTMLmunderover = exports.CHTMLmover = exports.CHTMLmunder = void 0;
|
||||
var msubsup_js_1 = require("./msubsup.js");
|
||||
var munderover_js_1 = require("../../common/Wrappers/munderover.js");
|
||||
var munderover_js_2 = require("../../common/Wrappers/munderover.js");
|
||||
var munderover_js_3 = require("../../common/Wrappers/munderover.js");
|
||||
var munderover_js_4 = require("../../../core/MmlTree/MmlNodes/munderover.js");
|
||||
var CHTMLmunder = (function (_super) {
|
||||
__extends(CHTMLmunder, _super);
|
||||
function CHTMLmunder() {
|
||||
return _super !== null && _super.apply(this, arguments) || this;
|
||||
}
|
||||
CHTMLmunder.prototype.toCHTML = function (parent) {
|
||||
if (this.hasMovableLimits()) {
|
||||
_super.prototype.toCHTML.call(this, parent);
|
||||
this.adaptor.setAttribute(this.chtml, 'limits', 'false');
|
||||
return;
|
||||
}
|
||||
this.chtml = this.standardCHTMLnode(parent);
|
||||
var base = this.adaptor.append(this.adaptor.append(this.chtml, this.html('mjx-row')), this.html('mjx-base'));
|
||||
var under = this.adaptor.append(this.adaptor.append(this.chtml, this.html('mjx-row')), this.html('mjx-under'));
|
||||
this.baseChild.toCHTML(base);
|
||||
this.scriptChild.toCHTML(under);
|
||||
var basebox = this.baseChild.getOuterBBox();
|
||||
var underbox = this.scriptChild.getOuterBBox();
|
||||
var k = this.getUnderKV(basebox, underbox)[0];
|
||||
var delta = (this.isLineBelow ? 0 : this.getDelta(true));
|
||||
this.adaptor.setStyle(under, 'paddingTop', this.em(k));
|
||||
this.setDeltaW([base, under], this.getDeltaW([basebox, underbox], [0, -delta]));
|
||||
this.adjustUnderDepth(under, underbox);
|
||||
};
|
||||
CHTMLmunder.kind = munderover_js_4.MmlMunder.prototype.kind;
|
||||
CHTMLmunder.styles = {
|
||||
'mjx-over': {
|
||||
'text-align': 'left'
|
||||
},
|
||||
'mjx-munder:not([limits="false"])': {
|
||||
display: 'inline-table',
|
||||
},
|
||||
'mjx-munder > mjx-row': {
|
||||
'text-align': 'left'
|
||||
},
|
||||
'mjx-under': {
|
||||
'padding-bottom': '.1em'
|
||||
}
|
||||
};
|
||||
return CHTMLmunder;
|
||||
}((0, munderover_js_1.CommonMunderMixin)(msubsup_js_1.CHTMLmsub)));
|
||||
exports.CHTMLmunder = CHTMLmunder;
|
||||
var CHTMLmover = (function (_super) {
|
||||
__extends(CHTMLmover, _super);
|
||||
function CHTMLmover() {
|
||||
return _super !== null && _super.apply(this, arguments) || this;
|
||||
}
|
||||
CHTMLmover.prototype.toCHTML = function (parent) {
|
||||
if (this.hasMovableLimits()) {
|
||||
_super.prototype.toCHTML.call(this, parent);
|
||||
this.adaptor.setAttribute(this.chtml, 'limits', 'false');
|
||||
return;
|
||||
}
|
||||
this.chtml = this.standardCHTMLnode(parent);
|
||||
var over = this.adaptor.append(this.chtml, this.html('mjx-over'));
|
||||
var base = this.adaptor.append(this.chtml, this.html('mjx-base'));
|
||||
this.scriptChild.toCHTML(over);
|
||||
this.baseChild.toCHTML(base);
|
||||
var overbox = this.scriptChild.getOuterBBox();
|
||||
var basebox = this.baseChild.getOuterBBox();
|
||||
this.adjustBaseHeight(base, basebox);
|
||||
var k = this.getOverKU(basebox, overbox)[0];
|
||||
var delta = (this.isLineAbove ? 0 : this.getDelta());
|
||||
this.adaptor.setStyle(over, 'paddingBottom', this.em(k));
|
||||
this.setDeltaW([base, over], this.getDeltaW([basebox, overbox], [0, delta]));
|
||||
this.adjustOverDepth(over, overbox);
|
||||
};
|
||||
CHTMLmover.kind = munderover_js_4.MmlMover.prototype.kind;
|
||||
CHTMLmover.styles = {
|
||||
'mjx-mover:not([limits="false"])': {
|
||||
'padding-top': '.1em'
|
||||
},
|
||||
'mjx-mover:not([limits="false"]) > *': {
|
||||
display: 'block',
|
||||
'text-align': 'left'
|
||||
}
|
||||
};
|
||||
return CHTMLmover;
|
||||
}((0, munderover_js_2.CommonMoverMixin)(msubsup_js_1.CHTMLmsup)));
|
||||
exports.CHTMLmover = CHTMLmover;
|
||||
var CHTMLmunderover = (function (_super) {
|
||||
__extends(CHTMLmunderover, _super);
|
||||
function CHTMLmunderover() {
|
||||
return _super !== null && _super.apply(this, arguments) || this;
|
||||
}
|
||||
CHTMLmunderover.prototype.toCHTML = function (parent) {
|
||||
if (this.hasMovableLimits()) {
|
||||
_super.prototype.toCHTML.call(this, parent);
|
||||
this.adaptor.setAttribute(this.chtml, 'limits', 'false');
|
||||
return;
|
||||
}
|
||||
this.chtml = this.standardCHTMLnode(parent);
|
||||
var over = this.adaptor.append(this.chtml, this.html('mjx-over'));
|
||||
var table = this.adaptor.append(this.adaptor.append(this.chtml, this.html('mjx-box')), this.html('mjx-munder'));
|
||||
var base = this.adaptor.append(this.adaptor.append(table, this.html('mjx-row')), this.html('mjx-base'));
|
||||
var under = this.adaptor.append(this.adaptor.append(table, this.html('mjx-row')), this.html('mjx-under'));
|
||||
this.overChild.toCHTML(over);
|
||||
this.baseChild.toCHTML(base);
|
||||
this.underChild.toCHTML(under);
|
||||
var overbox = this.overChild.getOuterBBox();
|
||||
var basebox = this.baseChild.getOuterBBox();
|
||||
var underbox = this.underChild.getOuterBBox();
|
||||
this.adjustBaseHeight(base, basebox);
|
||||
var ok = this.getOverKU(basebox, overbox)[0];
|
||||
var uk = this.getUnderKV(basebox, underbox)[0];
|
||||
var delta = this.getDelta();
|
||||
this.adaptor.setStyle(over, 'paddingBottom', this.em(ok));
|
||||
this.adaptor.setStyle(under, 'paddingTop', this.em(uk));
|
||||
this.setDeltaW([base, under, over], this.getDeltaW([basebox, underbox, overbox], [0, this.isLineBelow ? 0 : -delta, this.isLineAbove ? 0 : delta]));
|
||||
this.adjustOverDepth(over, overbox);
|
||||
this.adjustUnderDepth(under, underbox);
|
||||
};
|
||||
CHTMLmunderover.prototype.markUsed = function () {
|
||||
_super.prototype.markUsed.call(this);
|
||||
this.jax.wrapperUsage.add(msubsup_js_1.CHTMLmsubsup.kind);
|
||||
};
|
||||
CHTMLmunderover.kind = munderover_js_4.MmlMunderover.prototype.kind;
|
||||
CHTMLmunderover.styles = {
|
||||
'mjx-munderover:not([limits="false"])': {
|
||||
'padding-top': '.1em'
|
||||
},
|
||||
'mjx-munderover:not([limits="false"]) > *': {
|
||||
display: 'block'
|
||||
},
|
||||
};
|
||||
return CHTMLmunderover;
|
||||
}((0, munderover_js_3.CommonMunderoverMixin)(msubsup_js_1.CHTMLmsubsup)));
|
||||
exports.CHTMLmunderover = CHTMLmunderover;
|
||||
//# sourceMappingURL=munderover.js.map
|
||||
1
node_modules/mathjax-full/js/output/chtml/Wrappers/munderover.js.map
generated
vendored
Normal file
1
node_modules/mathjax-full/js/output/chtml/Wrappers/munderover.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
12
node_modules/mathjax-full/js/output/chtml/Wrappers/scriptbase.d.ts
generated
vendored
Normal file
12
node_modules/mathjax-full/js/output/chtml/Wrappers/scriptbase.d.ts
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
import { CHTMLWrapper, CHTMLConstructor } from '../Wrapper.js';
|
||||
import { BBox } from '../../../util/BBox.js';
|
||||
declare const CHTMLscriptbase_base: import("../../common/Wrappers/scriptbase.js").ScriptbaseConstructor<CHTMLWrapper<any, any, any>> & CHTMLConstructor<any, any, any>;
|
||||
export declare class CHTMLscriptbase<N, T, D> extends CHTMLscriptbase_base {
|
||||
static kind: string;
|
||||
toCHTML(parent: N): void;
|
||||
protected setDeltaW(nodes: N[], dx: number[]): void;
|
||||
protected adjustOverDepth(over: N, overbox: BBox): void;
|
||||
protected adjustUnderDepth(under: N, underbox: BBox): void;
|
||||
protected adjustBaseHeight(base: N, basebox: BBox): void;
|
||||
}
|
||||
export {};
|
||||
111
node_modules/mathjax-full/js/output/chtml/Wrappers/scriptbase.js
generated
vendored
Normal file
111
node_modules/mathjax-full/js/output/chtml/Wrappers/scriptbase.js
generated
vendored
Normal file
@@ -0,0 +1,111 @@
|
||||
"use strict";
|
||||
var __extends = (this && this.__extends) || (function () {
|
||||
var extendStatics = function (d, b) {
|
||||
extendStatics = Object.setPrototypeOf ||
|
||||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
||||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
||||
return extendStatics(d, b);
|
||||
};
|
||||
return function (d, b) {
|
||||
if (typeof b !== "function" && b !== null)
|
||||
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
||||
extendStatics(d, b);
|
||||
function __() { this.constructor = d; }
|
||||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
};
|
||||
})();
|
||||
var __read = (this && this.__read) || function (o, n) {
|
||||
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
||||
if (!m) return o;
|
||||
var i = m.call(o), r, ar = [], e;
|
||||
try {
|
||||
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
||||
}
|
||||
catch (error) { e = { error: error }; }
|
||||
finally {
|
||||
try {
|
||||
if (r && !r.done && (m = i["return"])) m.call(i);
|
||||
}
|
||||
finally { if (e) throw e.error; }
|
||||
}
|
||||
return ar;
|
||||
};
|
||||
var __values = (this && this.__values) || function(o) {
|
||||
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
||||
if (m) return m.call(o);
|
||||
if (o && typeof o.length === "number") return {
|
||||
next: function () {
|
||||
if (o && i >= o.length) o = void 0;
|
||||
return { value: o && o[i++], done: !o };
|
||||
}
|
||||
};
|
||||
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CHTMLscriptbase = void 0;
|
||||
var Wrapper_js_1 = require("../Wrapper.js");
|
||||
var scriptbase_js_1 = require("../../common/Wrappers/scriptbase.js");
|
||||
var CHTMLscriptbase = (function (_super) {
|
||||
__extends(CHTMLscriptbase, _super);
|
||||
function CHTMLscriptbase() {
|
||||
return _super !== null && _super.apply(this, arguments) || this;
|
||||
}
|
||||
CHTMLscriptbase.prototype.toCHTML = function (parent) {
|
||||
this.chtml = this.standardCHTMLnode(parent);
|
||||
var _a = __read(this.getOffset(), 2), x = _a[0], v = _a[1];
|
||||
var dx = x - (this.baseRemoveIc ? this.baseIc : 0);
|
||||
var style = { 'vertical-align': this.em(v) };
|
||||
if (dx) {
|
||||
style['margin-left'] = this.em(dx);
|
||||
}
|
||||
this.baseChild.toCHTML(this.chtml);
|
||||
this.scriptChild.toCHTML(this.adaptor.append(this.chtml, this.html('mjx-script', { style: style })));
|
||||
};
|
||||
CHTMLscriptbase.prototype.setDeltaW = function (nodes, dx) {
|
||||
for (var i = 0; i < dx.length; i++) {
|
||||
if (dx[i]) {
|
||||
this.adaptor.setStyle(nodes[i], 'paddingLeft', this.em(dx[i]));
|
||||
}
|
||||
}
|
||||
};
|
||||
CHTMLscriptbase.prototype.adjustOverDepth = function (over, overbox) {
|
||||
if (overbox.d >= 0)
|
||||
return;
|
||||
this.adaptor.setStyle(over, 'marginBottom', this.em(overbox.d * overbox.rscale));
|
||||
};
|
||||
CHTMLscriptbase.prototype.adjustUnderDepth = function (under, underbox) {
|
||||
var e_1, _a;
|
||||
if (underbox.d >= 0)
|
||||
return;
|
||||
var adaptor = this.adaptor;
|
||||
var v = this.em(underbox.d);
|
||||
var box = this.html('mjx-box', { style: { 'margin-bottom': v, 'vertical-align': v } });
|
||||
try {
|
||||
for (var _b = __values(adaptor.childNodes(adaptor.firstChild(under))), _c = _b.next(); !_c.done; _c = _b.next()) {
|
||||
var child = _c.value;
|
||||
adaptor.append(box, child);
|
||||
}
|
||||
}
|
||||
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
||||
finally {
|
||||
try {
|
||||
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
||||
}
|
||||
finally { if (e_1) throw e_1.error; }
|
||||
}
|
||||
adaptor.append(adaptor.firstChild(under), box);
|
||||
};
|
||||
CHTMLscriptbase.prototype.adjustBaseHeight = function (base, basebox) {
|
||||
if (this.node.attributes.get('accent')) {
|
||||
var minH = this.font.params.x_height * basebox.scale;
|
||||
if (basebox.h < minH) {
|
||||
this.adaptor.setStyle(base, 'paddingTop', this.em(minH - basebox.h));
|
||||
basebox.h = minH;
|
||||
}
|
||||
}
|
||||
};
|
||||
CHTMLscriptbase.kind = 'scriptbase';
|
||||
return CHTMLscriptbase;
|
||||
}((0, scriptbase_js_1.CommonScriptbaseMixin)(Wrapper_js_1.CHTMLWrapper)));
|
||||
exports.CHTMLscriptbase = CHTMLscriptbase;
|
||||
//# sourceMappingURL=scriptbase.js.map
|
||||
1
node_modules/mathjax-full/js/output/chtml/Wrappers/scriptbase.js.map
generated
vendored
Normal file
1
node_modules/mathjax-full/js/output/chtml/Wrappers/scriptbase.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"scriptbase.js","sourceRoot":"","sources":["../../../../ts/output/chtml/Wrappers/scriptbase.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0BA,4CAA6D;AAC7D,qEAA0E;AAc1E;IACA,mCAAiG;IADjG;;IA4EA,CAAC;IA9DQ,iCAAO,GAAd,UAAe,MAAS;QACtB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC;QACtC,IAAA,KAAA,OAAS,IAAI,CAAC,SAAS,EAAE,IAAA,EAAxB,CAAC,QAAA,EAAE,CAAC,QAAoB,CAAC;QAChC,IAAM,EAAE,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACrD,IAAM,KAAK,GAAc,EAAC,gBAAgB,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,EAAC,CAAC;QACxD,IAAI,EAAE,EAAE;YACN,KAAK,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;SACpC;QACD,IAAI,CA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,EAAE,CAAC,EAAC,EAAC,CAAC,CAAC;;YACrF,KAAoB,IAAA,KAAA,SAAA,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,UAAU,CAAC,KAAK,CAAM,CAAQ,CAAA,gBAAA,4BAAE;gBAA1E,IAAM,KAAK,WAAA;gBACd,OAAO,CAAC,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;aAC5B;;;;;;;;;QACD,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC,KAAK,CAAM,EAAE,GAAG,CAAC,CAAC;IACtD,CAAC;IAMS,0CAAgB,GAA1B,UAA2B,IAAO,EAAE,OAAa;QAC/C,IAAI,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE;YACtC,IAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,GAAG,OAAO,CAAC,KAAK,CAAC;YACvD,IAAI,OAAO,CAAC,CAAC,GAAG,IAAI,EAAE;gBACpB,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,EAAE,YAAY,EAAE,IAAI,CAAC,EAAE,CAAC,IAAI,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;gBACrE,OAAO,CAAC,CAAC,GAAG,IAAI,CAAC;aAClB;SACF;IACH,CAAC;IApEa,oBAAI,GAAG,YAAY,CAAC;IAsEpC,sBAAC;CAAA,AA5ED,CACA,IAAA,qCAAqB,EAA+D,yBAAY,CAAC,GA2EhG;AA5EY,0CAAe"}
|
||||
27
node_modules/mathjax-full/js/output/chtml/Wrappers/semantics.d.ts
generated
vendored
Normal file
27
node_modules/mathjax-full/js/output/chtml/Wrappers/semantics.d.ts
generated
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
import { CHTMLWrapper, CHTMLConstructor } from '../Wrapper.js';
|
||||
import { BBox } from '../../../util/BBox.js';
|
||||
import { StyleList } from '../../../util/StyleList.js';
|
||||
declare const CHTMLsemantics_base: import("../../common/Wrappers/semantics.js").SemanticsConstructor & CHTMLConstructor<any, any, any>;
|
||||
export declare class CHTMLsemantics<N, T, D> extends CHTMLsemantics_base {
|
||||
static kind: string;
|
||||
toCHTML(parent: N): void;
|
||||
}
|
||||
export declare class CHTMLannotation<N, T, D> extends CHTMLWrapper<N, T, D> {
|
||||
static kind: string;
|
||||
toCHTML(parent: N): void;
|
||||
computeBBox(): BBox;
|
||||
}
|
||||
export declare class CHTMLannotationXML<N, T, D> extends CHTMLWrapper<N, T, D> {
|
||||
static kind: string;
|
||||
static styles: StyleList;
|
||||
}
|
||||
export declare class CHTMLxml<N, T, D> extends CHTMLWrapper<N, T, D> {
|
||||
static kind: string;
|
||||
static autoStyle: boolean;
|
||||
toCHTML(parent: N): void;
|
||||
computeBBox(bbox: BBox, _recompute?: boolean): void;
|
||||
protected getStyles(): void;
|
||||
protected getScale(): void;
|
||||
protected getVariant(): void;
|
||||
}
|
||||
export {};
|
||||
91
node_modules/mathjax-full/js/output/chtml/Wrappers/semantics.js
generated
vendored
Normal file
91
node_modules/mathjax-full/js/output/chtml/Wrappers/semantics.js
generated
vendored
Normal file
@@ -0,0 +1,91 @@
|
||||
"use strict";
|
||||
var __extends = (this && this.__extends) || (function () {
|
||||
var extendStatics = function (d, b) {
|
||||
extendStatics = Object.setPrototypeOf ||
|
||||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
||||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
||||
return extendStatics(d, b);
|
||||
};
|
||||
return function (d, b) {
|
||||
if (typeof b !== "function" && b !== null)
|
||||
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
||||
extendStatics(d, b);
|
||||
function __() { this.constructor = d; }
|
||||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CHTMLxml = exports.CHTMLannotationXML = exports.CHTMLannotation = exports.CHTMLsemantics = void 0;
|
||||
var Wrapper_js_1 = require("../Wrapper.js");
|
||||
var semantics_js_1 = require("../../common/Wrappers/semantics.js");
|
||||
var semantics_js_2 = require("../../../core/MmlTree/MmlNodes/semantics.js");
|
||||
var MmlNode_js_1 = require("../../../core/MmlTree/MmlNode.js");
|
||||
var CHTMLsemantics = (function (_super) {
|
||||
__extends(CHTMLsemantics, _super);
|
||||
function CHTMLsemantics() {
|
||||
return _super !== null && _super.apply(this, arguments) || this;
|
||||
}
|
||||
CHTMLsemantics.prototype.toCHTML = function (parent) {
|
||||
var chtml = this.standardCHTMLnode(parent);
|
||||
if (this.childNodes.length) {
|
||||
this.childNodes[0].toCHTML(chtml);
|
||||
}
|
||||
};
|
||||
CHTMLsemantics.kind = semantics_js_2.MmlSemantics.prototype.kind;
|
||||
return CHTMLsemantics;
|
||||
}((0, semantics_js_1.CommonSemanticsMixin)(Wrapper_js_1.CHTMLWrapper)));
|
||||
exports.CHTMLsemantics = CHTMLsemantics;
|
||||
var CHTMLannotation = (function (_super) {
|
||||
__extends(CHTMLannotation, _super);
|
||||
function CHTMLannotation() {
|
||||
return _super !== null && _super.apply(this, arguments) || this;
|
||||
}
|
||||
CHTMLannotation.prototype.toCHTML = function (parent) {
|
||||
_super.prototype.toCHTML.call(this, parent);
|
||||
};
|
||||
CHTMLannotation.prototype.computeBBox = function () {
|
||||
return this.bbox;
|
||||
};
|
||||
CHTMLannotation.kind = semantics_js_2.MmlAnnotation.prototype.kind;
|
||||
return CHTMLannotation;
|
||||
}(Wrapper_js_1.CHTMLWrapper));
|
||||
exports.CHTMLannotation = CHTMLannotation;
|
||||
var CHTMLannotationXML = (function (_super) {
|
||||
__extends(CHTMLannotationXML, _super);
|
||||
function CHTMLannotationXML() {
|
||||
return _super !== null && _super.apply(this, arguments) || this;
|
||||
}
|
||||
CHTMLannotationXML.kind = semantics_js_2.MmlAnnotationXML.prototype.kind;
|
||||
CHTMLannotationXML.styles = {
|
||||
'mjx-annotation-xml': {
|
||||
'font-family': 'initial',
|
||||
'line-height': 'normal'
|
||||
}
|
||||
};
|
||||
return CHTMLannotationXML;
|
||||
}(Wrapper_js_1.CHTMLWrapper));
|
||||
exports.CHTMLannotationXML = CHTMLannotationXML;
|
||||
var CHTMLxml = (function (_super) {
|
||||
__extends(CHTMLxml, _super);
|
||||
function CHTMLxml() {
|
||||
return _super !== null && _super.apply(this, arguments) || this;
|
||||
}
|
||||
CHTMLxml.prototype.toCHTML = function (parent) {
|
||||
this.chtml = this.adaptor.append(parent, this.adaptor.clone(this.node.getXML()));
|
||||
};
|
||||
CHTMLxml.prototype.computeBBox = function (bbox, _recompute) {
|
||||
if (_recompute === void 0) { _recompute = false; }
|
||||
var _a = this.jax.measureXMLnode(this.node.getXML()), w = _a.w, h = _a.h, d = _a.d;
|
||||
bbox.w = w;
|
||||
bbox.h = h;
|
||||
bbox.d = d;
|
||||
};
|
||||
CHTMLxml.prototype.getStyles = function () { };
|
||||
CHTMLxml.prototype.getScale = function () { };
|
||||
CHTMLxml.prototype.getVariant = function () { };
|
||||
CHTMLxml.kind = MmlNode_js_1.XMLNode.prototype.kind;
|
||||
CHTMLxml.autoStyle = false;
|
||||
return CHTMLxml;
|
||||
}(Wrapper_js_1.CHTMLWrapper));
|
||||
exports.CHTMLxml = CHTMLxml;
|
||||
//# sourceMappingURL=semantics.js.map
|
||||
1
node_modules/mathjax-full/js/output/chtml/Wrappers/semantics.js.map
generated
vendored
Normal file
1
node_modules/mathjax-full/js/output/chtml/Wrappers/semantics.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"semantics.js","sourceRoot":"","sources":["../../../../ts/output/chtml/Wrappers/semantics.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAwBA,4CAA6D;AAC7D,mEAAwE;AAExE,4EAA0G;AAC1G,+DAAyD;AAYzD;IACA,kCAAmE;IADnE;;IAkBA,CAAC;IAPQ,gCA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