Files
v1.pivoine.art/assets/bower_components/MathJax/es5/input/tex/extensions/verb.js
2025-10-25 12:39:30 +02:00

142 lines
4.1 KiB
JavaScript

!(function (t) {
var e = {};
function n(a) {
if (e[a]) return e[a].exports;
var r = (e[a] = { i: a, l: !1, exports: {} });
return t[a].call(r.exports, r, r.exports, n), (r.l = !0), r.exports;
}
(n.m = t),
(n.c = e),
(n.d = function (t, e, a) {
n.o(t, e) || Object.defineProperty(t, e, { enumerable: !0, get: a });
}),
(n.r = function (t) {
"undefined" != typeof Symbol &&
Symbol.toStringTag &&
Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }),
Object.defineProperty(t, "__esModule", { value: !0 });
}),
(n.t = function (t, e) {
if ((1 & e && (t = n(t)), 8 & e)) return t;
if (4 & e && "object" == typeof t && t && t.__esModule) return t;
var a = Object.create(null);
if (
(n.r(a),
Object.defineProperty(a, "default", { enumerable: !0, value: t }),
2 & e && "string" != typeof t)
)
for (var r in t)
n.d(
a,
r,
function (e) {
return t[e];
}.bind(null, r),
);
return a;
}),
(n.n = function (t) {
var e =
t && t.__esModule
? function () {
return t.default;
}
: function () {
return t;
};
return n.d(e, "a", e), e;
}),
(n.o = function (t, e) {
return Object.prototype.hasOwnProperty.call(t, e);
}),
(n.p = ""),
n((n.s = 6));
})([
function (t, e, n) {
"use strict";
Object.defineProperty(e, "__esModule", { value: !0 }),
(e.isObject = MathJax._.components.global.isObject),
(e.combineConfig = MathJax._.components.global.combineConfig),
(e.combineDefaults = MathJax._.components.global.combineDefaults),
(e.combineWithMathJax = MathJax._.components.global.combineWithMathJax),
(e.MathJax = MathJax._.components.global.MathJax);
},
function (t, e, n) {
"use strict";
Object.defineProperty(e, "__esModule", { value: !0 }),
(e.VerbConfiguration = e.VerbMethods = void 0);
var a = n(2),
r = n(3),
o = n(4),
i = n(5);
(e.VerbMethods = {}),
(e.VerbMethods.Verb = function (t, e) {
var n = t.GetNext(),
a = ++t.i;
if ("" === n)
throw new i.default("MissingArgFor", "Missing argument for %1", e);
for (; t.i < t.string.length && t.string.charAt(t.i) !== n; ) t.i++;
if (t.i === t.string.length)
throw new i.default(
"NoClosingDelim",
"Can't find closing delimiter for %1",
t.currentCS,
);
var o = t.string.slice(a, t.i).replace(/ /g, "\xa0");
t.i++,
t.Push(
t.create(
"token",
"mtext",
{ mathvariant: r.TexConstant.Variant.MONOSPACE },
o,
),
);
}),
new o.CommandMap("verb", { verb: "Verb" }, e.VerbMethods),
(e.VerbConfiguration = a.Configuration.create("verb", {
handler: { macro: ["verb"] },
}));
},
function (t, e, n) {
"use strict";
Object.defineProperty(e, "__esModule", { value: !0 }),
(e.Configuration = MathJax._.input.tex.Configuration.Configuration),
(e.ConfigurationHandler =
MathJax._.input.tex.Configuration.ConfigurationHandler),
(e.ParserConfiguration =
MathJax._.input.tex.Configuration.ParserConfiguration);
},
function (t, e, n) {
"use strict";
Object.defineProperty(e, "__esModule", { value: !0 }),
(e.TexConstant = MathJax._.input.tex.TexConstants.TexConstant);
},
function (t, e, n) {
"use strict";
Object.defineProperty(e, "__esModule", { value: !0 }),
(e.AbstractSymbolMap = MathJax._.input.tex.SymbolMap.AbstractSymbolMap),
(e.RegExpMap = MathJax._.input.tex.SymbolMap.RegExpMap),
(e.AbstractParseMap = MathJax._.input.tex.SymbolMap.AbstractParseMap),
(e.CharacterMap = MathJax._.input.tex.SymbolMap.CharacterMap),
(e.DelimiterMap = MathJax._.input.tex.SymbolMap.DelimiterMap),
(e.MacroMap = MathJax._.input.tex.SymbolMap.MacroMap),
(e.CommandMap = MathJax._.input.tex.SymbolMap.CommandMap),
(e.EnvironmentMap = MathJax._.input.tex.SymbolMap.EnvironmentMap);
},
function (t, e, n) {
"use strict";
Object.defineProperty(e, "__esModule", { value: !0 }),
(e.default = MathJax._.input.tex.TexError.default);
},
function (t, e, n) {
"use strict";
n.r(e);
var a = n(0),
r = n(1);
Object(a.combineWithMathJax)({
_: { input: { tex: { verb: { VerbConfiguration: r } } } },
});
},
]);