6524 lines
217 KiB
JavaScript
6524 lines
217 KiB
JavaScript
var e;
|
||
(e =
|
||
"function" == typeof Symbol && "symbol" == typeof Symbol.iterator
|
||
? function (e) {
|
||
return typeof e;
|
||
}
|
||
: function (e) {
|
||
return e &&
|
||
"function" == typeof Symbol &&
|
||
e.constructor === Symbol &&
|
||
e !== Symbol.prototype
|
||
? "symbol"
|
||
: typeof e;
|
||
}),
|
||
(function (r) {
|
||
"object" == ("undefined" == typeof exports ? "undefined" : e(exports)) &&
|
||
"undefined" != typeof module
|
||
? (module.exports = r())
|
||
: "function" == typeof define && define.amd
|
||
? define([], r)
|
||
: (("undefined" != typeof window
|
||
? window
|
||
: "undefined" != typeof global
|
||
? global
|
||
: "undefined" != typeof self
|
||
? self
|
||
: this
|
||
).markdownit = r());
|
||
})(function () {
|
||
return (function e(r, t, n) {
|
||
function o(i, a) {
|
||
if (!t[i]) {
|
||
if (!r[i]) {
|
||
var c = "function" == typeof require && require;
|
||
if (!a && c) return c(i, !0);
|
||
if (s) return s(i, !0);
|
||
var l = new Error("Cannot find module '" + i + "'");
|
||
throw ((l.code = "MODULE_NOT_FOUND"), l);
|
||
}
|
||
var u = (t[i] = { exports: {} });
|
||
r[i][0].call(
|
||
u.exports,
|
||
function (e) {
|
||
return o(r[i][1][e] || e);
|
||
},
|
||
u,
|
||
u.exports,
|
||
e,
|
||
r,
|
||
t,
|
||
n
|
||
);
|
||
}
|
||
return t[i].exports;
|
||
}
|
||
for (
|
||
var s = "function" == typeof require && require, i = 0;
|
||
i < n.length;
|
||
i++
|
||
)
|
||
o(n[i]);
|
||
return o;
|
||
})(
|
||
{
|
||
1: [
|
||
function (e, r, t) {
|
||
r.exports = e("entities/maps/entities.json");
|
||
},
|
||
{ "entities/maps/entities.json": 52 },
|
||
],
|
||
2: [
|
||
function (e, r, t) {
|
||
r.exports = [
|
||
"address",
|
||
"article",
|
||
"aside",
|
||
"base",
|
||
"basefont",
|
||
"blockquote",
|
||
"body",
|
||
"caption",
|
||
"center",
|
||
"col",
|
||
"colgroup",
|
||
"dd",
|
||
"details",
|
||
"dialog",
|
||
"dir",
|
||
"div",
|
||
"dl",
|
||
"dt",
|
||
"fieldset",
|
||
"figcaption",
|
||
"figure",
|
||
"footer",
|
||
"form",
|
||
"frame",
|
||
"frameset",
|
||
"h1",
|
||
"h2",
|
||
"h3",
|
||
"h4",
|
||
"h5",
|
||
"h6",
|
||
"head",
|
||
"header",
|
||
"hr",
|
||
"html",
|
||
"iframe",
|
||
"legend",
|
||
"li",
|
||
"link",
|
||
"main",
|
||
"menu",
|
||
"menuitem",
|
||
"meta",
|
||
"nav",
|
||
"noframes",
|
||
"ol",
|
||
"optgroup",
|
||
"option",
|
||
"p",
|
||
"param",
|
||
"pre",
|
||
"section",
|
||
"source",
|
||
"title",
|
||
"summary",
|
||
"table",
|
||
"tbody",
|
||
"td",
|
||
"tfoot",
|
||
"th",
|
||
"thead",
|
||
"title",
|
||
"tr",
|
||
"track",
|
||
"ul",
|
||
];
|
||
},
|
||
{},
|
||
],
|
||
3: [
|
||
function (e, r, t) {
|
||
var n =
|
||
"<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",
|
||
o = "<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",
|
||
s = new RegExp(
|
||
"^(?:" +
|
||
n +
|
||
"|" +
|
||
o +
|
||
"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"
|
||
),
|
||
i = new RegExp("^(?:" + n + "|" + o + ")");
|
||
(r.exports.HTML_TAG_RE = s), (r.exports.HTML_OPEN_CLOSE_TAG_RE = i);
|
||
},
|
||
{},
|
||
],
|
||
4: [
|
||
function (r, t, n) {
|
||
function o(e, r) {
|
||
return c.call(e, r);
|
||
}
|
||
function s(e) {
|
||
return !(
|
||
(e >= 55296 && e <= 57343) ||
|
||
(e >= 64976 && e <= 65007) ||
|
||
65535 == (65535 & e) ||
|
||
65534 == (65535 & e) ||
|
||
(e >= 0 && e <= 8) ||
|
||
11 === e ||
|
||
(e >= 14 && e <= 31) ||
|
||
(e >= 127 && e <= 159) ||
|
||
e > 1114111
|
||
);
|
||
}
|
||
function i(e) {
|
||
if (e > 65535) {
|
||
var r = 55296 + ((e -= 65536) >> 10),
|
||
t = 56320 + (1023 & e);
|
||
return String.fromCharCode(r, t);
|
||
}
|
||
return String.fromCharCode(e);
|
||
}
|
||
function a(e) {
|
||
return d[e];
|
||
}
|
||
var c = Object.prototype.hasOwnProperty,
|
||
l = /\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,
|
||
u = new RegExp(
|
||
l.source + "|" + /&([a-z#][a-z0-9]{1,31});/gi.source,
|
||
"gi"
|
||
),
|
||
p = /^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,
|
||
h = r("./entities"),
|
||
f = /[&<>"]/,
|
||
d = { "&": "&", "<": "<", ">": ">", '"': """ },
|
||
m = r("uc.micro/categories/P/regex");
|
||
(n.lib = {}),
|
||
(n.lib.mdurl = r("mdurl")),
|
||
(n.lib.ucmicro = r("uc.micro")),
|
||
(n.assign = function (r) {
|
||
return (
|
||
Array.prototype.slice
|
||
.call(arguments, 1)
|
||
.forEach(function (t) {
|
||
if (t) {
|
||
if ("object" != (void 0 === t ? "undefined" : e(t)))
|
||
throw new TypeError(t + "must be object");
|
||
Object.keys(t).forEach(function (e) {
|
||
r[e] = t[e];
|
||
});
|
||
}
|
||
}),
|
||
r
|
||
);
|
||
}),
|
||
(n.isString = function (e) {
|
||
return (
|
||
"[object String]" ===
|
||
(function (e) {
|
||
return Object.prototype.toString.call(e);
|
||
})(e)
|
||
);
|
||
}),
|
||
(n.has = o),
|
||
(n.unescapeMd = function (e) {
|
||
return e.indexOf("\\") < 0 ? e : e.replace(l, "$1");
|
||
}),
|
||
(n.unescapeAll = function (e) {
|
||
return e.indexOf("\\") < 0 && e.indexOf("&") < 0
|
||
? e
|
||
: e.replace(u, function (e, r, t) {
|
||
return (
|
||
r ||
|
||
(function (e, r) {
|
||
var t = 0;
|
||
return o(h, r)
|
||
? h[r]
|
||
: 35 === r.charCodeAt(0) &&
|
||
p.test(r) &&
|
||
s(
|
||
(t =
|
||
"x" === r[1].toLowerCase()
|
||
? parseInt(r.slice(2), 16)
|
||
: parseInt(r.slice(1), 10))
|
||
)
|
||
? i(t)
|
||
: e;
|
||
})(e, t)
|
||
);
|
||
});
|
||
}),
|
||
(n.isValidEntityCode = s),
|
||
(n.fromCodePoint = i),
|
||
(n.escapeHtml = function (e) {
|
||
return f.test(e) ? e.replace(/[&<>"]/g, a) : e;
|
||
}),
|
||
(n.arrayReplaceAt = function (e, r, t) {
|
||
return [].concat(e.slice(0, r), t, e.slice(r + 1));
|
||
}),
|
||
(n.isSpace = function (e) {
|
||
switch (e) {
|
||
case 9:
|
||
case 32:
|
||
return !0;
|
||
}
|
||
return !1;
|
||
}),
|
||
(n.isWhiteSpace = function (e) {
|
||
if (e >= 8192 && e <= 8202) return !0;
|
||
switch (e) {
|
||
case 9:
|
||
case 10:
|
||
case 11:
|
||
case 12:
|
||
case 13:
|
||
case 32:
|
||
case 160:
|
||
case 5760:
|
||
case 8239:
|
||
case 8287:
|
||
case 12288:
|
||
return !0;
|
||
}
|
||
return !1;
|
||
}),
|
||
(n.isMdAsciiPunct = function (e) {
|
||
switch (e) {
|
||
case 33:
|
||
case 34:
|
||
case 35:
|
||
case 36:
|
||
case 37:
|
||
case 38:
|
||
case 39:
|
||
case 40:
|
||
case 41:
|
||
case 42:
|
||
case 43:
|
||
case 44:
|
||
case 45:
|
||
case 46:
|
||
case 47:
|
||
case 58:
|
||
case 59:
|
||
case 60:
|
||
case 61:
|
||
case 62:
|
||
case 63:
|
||
case 64:
|
||
case 91:
|
||
case 92:
|
||
case 93:
|
||
case 94:
|
||
case 95:
|
||
case 96:
|
||
case 123:
|
||
case 124:
|
||
case 125:
|
||
case 126:
|
||
return !0;
|
||
default:
|
||
return !1;
|
||
}
|
||
}),
|
||
(n.isPunctChar = function (e) {
|
||
return m.test(e);
|
||
}),
|
||
(n.escapeRE = function (e) {
|
||
return e.replace(/[.?*+^$[\]\\(){}|-]/g, "\\$&");
|
||
}),
|
||
(n.normalizeReference = function (e) {
|
||
return e.trim().replace(/\s+/g, " ").toUpperCase();
|
||
});
|
||
},
|
||
{
|
||
"./entities": 1,
|
||
mdurl: 58,
|
||
"uc.micro": 65,
|
||
"uc.micro/categories/P/regex": 63,
|
||
},
|
||
],
|
||
5: [
|
||
function (e, r, t) {
|
||
(t.parseLinkLabel = e("./parse_link_label")),
|
||
(t.parseLinkDestination = e("./parse_link_destination")),
|
||
(t.parseLinkTitle = e("./parse_link_title"));
|
||
},
|
||
{
|
||
"./parse_link_destination": 6,
|
||
"./parse_link_label": 7,
|
||
"./parse_link_title": 8,
|
||
},
|
||
],
|
||
6: [
|
||
function (e, r, t) {
|
||
var n = e("../common/utils").isSpace,
|
||
o = e("../common/utils").unescapeAll;
|
||
r.exports = function (e, r, t) {
|
||
var s,
|
||
i,
|
||
a = r,
|
||
c = { ok: !1, pos: 0, lines: 0, str: "" };
|
||
if (60 === e.charCodeAt(r)) {
|
||
for (r++; r < t; ) {
|
||
if (10 === (s = e.charCodeAt(r)) || n(s)) return c;
|
||
if (62 === s)
|
||
return (
|
||
(c.pos = r + 1),
|
||
(c.str = o(e.slice(a + 1, r))),
|
||
(c.ok = !0),
|
||
c
|
||
);
|
||
92 === s && r + 1 < t ? (r += 2) : r++;
|
||
}
|
||
return c;
|
||
}
|
||
for (
|
||
i = 0;
|
||
r < t && 32 !== (s = e.charCodeAt(r)) && !(s < 32 || 127 === s);
|
||
|
||
)
|
||
if (92 === s && r + 1 < t) r += 2;
|
||
else {
|
||
if (40 === s && ++i > 1) break;
|
||
if (41 === s && --i < 0) break;
|
||
r++;
|
||
}
|
||
return (
|
||
a === r ||
|
||
((c.str = o(e.slice(a, r))),
|
||
(c.lines = 0),
|
||
(c.pos = r),
|
||
(c.ok = !0)),
|
||
c
|
||
);
|
||
};
|
||
},
|
||
{ "../common/utils": 4 },
|
||
],
|
||
7: [
|
||
function (e, r, t) {
|
||
r.exports = function (e, r, t) {
|
||
var n,
|
||
o,
|
||
s,
|
||
i,
|
||
a = -1,
|
||
c = e.posMax,
|
||
l = e.pos;
|
||
for (e.pos = r + 1, n = 1; e.pos < c; ) {
|
||
if (93 === (s = e.src.charCodeAt(e.pos)) && 0 == --n) {
|
||
o = !0;
|
||
break;
|
||
}
|
||
if (((i = e.pos), e.md.inline.skipToken(e), 91 === s))
|
||
if (i === e.pos - 1) n++;
|
||
else if (t) return (e.pos = l), -1;
|
||
}
|
||
return o && (a = e.pos), (e.pos = l), a;
|
||
};
|
||
},
|
||
{},
|
||
],
|
||
8: [
|
||
function (e, r, t) {
|
||
var n = e("../common/utils").unescapeAll;
|
||
r.exports = function (e, r, t) {
|
||
var o,
|
||
s,
|
||
i = 0,
|
||
a = r,
|
||
c = { ok: !1, pos: 0, lines: 0, str: "" };
|
||
if (r >= t) return c;
|
||
if (34 !== (s = e.charCodeAt(r)) && 39 !== s && 40 !== s)
|
||
return c;
|
||
for (r++, 40 === s && (s = 41); r < t; ) {
|
||
if ((o = e.charCodeAt(r)) === s)
|
||
return (
|
||
(c.pos = r + 1),
|
||
(c.lines = i),
|
||
(c.str = n(e.slice(a + 1, r))),
|
||
(c.ok = !0),
|
||
c
|
||
);
|
||
10 === o
|
||
? i++
|
||
: 92 === o &&
|
||
r + 1 < t &&
|
||
(r++, 10 === e.charCodeAt(r) && i++),
|
||
r++;
|
||
}
|
||
return c;
|
||
};
|
||
},
|
||
{ "../common/utils": 4 },
|
||
],
|
||
9: [
|
||
function (e, r, t) {
|
||
function n(e) {
|
||
var r = e.trim().toLowerCase();
|
||
return !g.test(r) || !!b.test(r);
|
||
}
|
||
function o(e) {
|
||
var r = d.parse(e, !0);
|
||
if (r.hostname && (!r.protocol || k.indexOf(r.protocol) >= 0))
|
||
try {
|
||
r.hostname = m.toASCII(r.hostname);
|
||
} catch (e) {}
|
||
return d.encode(d.format(r));
|
||
}
|
||
function s(e) {
|
||
var r = d.parse(e, !0);
|
||
if (r.hostname && (!r.protocol || k.indexOf(r.protocol) >= 0))
|
||
try {
|
||
r.hostname = m.toUnicode(r.hostname);
|
||
} catch (e) {}
|
||
return d.decode(d.format(r));
|
||
}
|
||
function i(e, r) {
|
||
if (!(this instanceof i)) return new i(e, r);
|
||
r || a.isString(e) || ((r = e || {}), (e = "default")),
|
||
(this.inline = new h()),
|
||
(this.block = new p()),
|
||
(this.core = new u()),
|
||
(this.renderer = new l()),
|
||
(this.linkify = new f()),
|
||
(this.validateLink = n),
|
||
(this.normalizeLink = o),
|
||
(this.normalizeLinkText = s),
|
||
(this.utils = a),
|
||
(this.helpers = a.assign({}, c)),
|
||
(this.options = {}),
|
||
this.configure(e),
|
||
r && this.set(r);
|
||
}
|
||
var a = e("./common/utils"),
|
||
c = e("./helpers"),
|
||
l = e("./renderer"),
|
||
u = e("./parser_core"),
|
||
p = e("./parser_block"),
|
||
h = e("./parser_inline"),
|
||
f = e("linkify-it"),
|
||
d = e("mdurl"),
|
||
m = e("punycode"),
|
||
_ = {
|
||
default: e("./presets/default"),
|
||
zero: e("./presets/zero"),
|
||
commonmark: e("./presets/commonmark"),
|
||
},
|
||
g = /^(vbscript|javascript|file|data):/,
|
||
b = /^data:image\/(gif|png|jpeg|webp);/,
|
||
k = ["http:", "https:", "mailto:"];
|
||
(i.prototype.set = function (e) {
|
||
return a.assign(this.options, e), this;
|
||
}),
|
||
(i.prototype.configure = function (e) {
|
||
var r,
|
||
t = this;
|
||
if (a.isString(e) && !(e = _[(r = e)]))
|
||
throw new Error(
|
||
'Wrong `markdown-it` preset "' + r + '", check name'
|
||
);
|
||
if (!e)
|
||
throw new Error("Wrong `markdown-it` preset, can't be empty");
|
||
return (
|
||
e.options && t.set(e.options),
|
||
e.components &&
|
||
Object.keys(e.components).forEach(function (r) {
|
||
e.components[r].rules &&
|
||
t[r].ruler.enableOnly(e.components[r].rules),
|
||
e.components[r].rules2 &&
|
||
t[r].ruler2.enableOnly(e.components[r].rules2);
|
||
}),
|
||
this
|
||
);
|
||
}),
|
||
(i.prototype.enable = function (e, r) {
|
||
var t = [];
|
||
Array.isArray(e) || (e = [e]),
|
||
["core", "block", "inline"].forEach(function (r) {
|
||
t = t.concat(this[r].ruler.enable(e, !0));
|
||
}, this),
|
||
(t = t.concat(this.inline.ruler2.enable(e, !0)));
|
||
var n = e.filter(function (e) {
|
||
return t.indexOf(e) < 0;
|
||
});
|
||
if (n.length && !r)
|
||
throw new Error(
|
||
"MarkdownIt. Failed to enable unknown rule(s): " + n
|
||
);
|
||
return this;
|
||
}),
|
||
(i.prototype.disable = function (e, r) {
|
||
var t = [];
|
||
Array.isArray(e) || (e = [e]),
|
||
["core", "block", "inline"].forEach(function (r) {
|
||
t = t.concat(this[r].ruler.disable(e, !0));
|
||
}, this),
|
||
(t = t.concat(this.inline.ruler2.disable(e, !0)));
|
||
var n = e.filter(function (e) {
|
||
return t.indexOf(e) < 0;
|
||
});
|
||
if (n.length && !r)
|
||
throw new Error(
|
||
"MarkdownIt. Failed to disable unknown rule(s): " + n
|
||
);
|
||
return this;
|
||
}),
|
||
(i.prototype.use = function (e) {
|
||
var r = [this].concat(Array.prototype.slice.call(arguments, 1));
|
||
return e.apply(e, r), this;
|
||
}),
|
||
(i.prototype.parse = function (e, r) {
|
||
if ("string" != typeof e)
|
||
throw new Error("Input data should be a String");
|
||
var t = new this.core.State(e, this, r);
|
||
return this.core.process(t), t.tokens;
|
||
}),
|
||
(i.prototype.render = function (e, r) {
|
||
return (
|
||
(r = r || {}),
|
||
this.renderer.render(this.parse(e, r), this.options, r)
|
||
);
|
||
}),
|
||
(i.prototype.parseInline = function (e, r) {
|
||
var t = new this.core.State(e, this, r);
|
||
return (t.inlineMode = !0), this.core.process(t), t.tokens;
|
||
}),
|
||
(i.prototype.renderInline = function (e, r) {
|
||
return (
|
||
(r = r || {}),
|
||
this.renderer.render(this.parseInline(e, r), this.options, r)
|
||
);
|
||
}),
|
||
(r.exports = i);
|
||
},
|
||
{
|
||
"./common/utils": 4,
|
||
"./helpers": 5,
|
||
"./parser_block": 10,
|
||
"./parser_core": 11,
|
||
"./parser_inline": 12,
|
||
"./presets/commonmark": 13,
|
||
"./presets/default": 14,
|
||
"./presets/zero": 15,
|
||
"./renderer": 16,
|
||
"linkify-it": 53,
|
||
mdurl: 58,
|
||
punycode: 60,
|
||
},
|
||
],
|
||
10: [
|
||
function (e, r, t) {
|
||
function n() {
|
||
this.ruler = new o();
|
||
for (var e = 0; e < s.length; e++)
|
||
this.ruler.push(s[e][0], s[e][1], {
|
||
alt: (s[e][2] || []).slice(),
|
||
});
|
||
}
|
||
var o = e("./ruler"),
|
||
s = [
|
||
["table", e("./rules_block/table"), ["paragraph", "reference"]],
|
||
["code", e("./rules_block/code")],
|
||
[
|
||
"fence",
|
||
e("./rules_block/fence"),
|
||
["paragraph", "reference", "blockquote", "list"],
|
||
],
|
||
[
|
||
"blockquote",
|
||
e("./rules_block/blockquote"),
|
||
["paragraph", "reference", "list"],
|
||
],
|
||
[
|
||
"hr",
|
||
e("./rules_block/hr"),
|
||
["paragraph", "reference", "blockquote", "list"],
|
||
],
|
||
[
|
||
"list",
|
||
e("./rules_block/list"),
|
||
["paragraph", "reference", "blockquote"],
|
||
],
|
||
["reference", e("./rules_block/reference")],
|
||
[
|
||
"heading",
|
||
e("./rules_block/heading"),
|
||
["paragraph", "reference", "blockquote"],
|
||
],
|
||
["lheading", e("./rules_block/lheading")],
|
||
[
|
||
"html_block",
|
||
e("./rules_block/html_block"),
|
||
["paragraph", "reference", "blockquote"],
|
||
],
|
||
["paragraph", e("./rules_block/paragraph")],
|
||
];
|
||
(n.prototype.tokenize = function (e, r, t) {
|
||
for (
|
||
var n,
|
||
o = this.ruler.getRules(""),
|
||
s = o.length,
|
||
i = r,
|
||
a = !1,
|
||
c = e.md.options.maxNesting;
|
||
i < t &&
|
||
((e.line = i = e.skipEmptyLines(i)), !(i >= t)) &&
|
||
!(e.sCount[i] < e.blkIndent);
|
||
|
||
) {
|
||
if (e.level >= c) {
|
||
e.line = t;
|
||
break;
|
||
}
|
||
for (n = 0; n < s && !o[n](e, i, t, !1); n++);
|
||
(e.tight = !a),
|
||
e.isEmpty(e.line - 1) && (a = !0),
|
||
(i = e.line) < t &&
|
||
e.isEmpty(i) &&
|
||
((a = !0), i++, (e.line = i));
|
||
}
|
||
}),
|
||
(n.prototype.parse = function (e, r, t, n) {
|
||
var o;
|
||
e &&
|
||
((o = new this.State(e, r, t, n)),
|
||
this.tokenize(o, o.line, o.lineMax));
|
||
}),
|
||
(n.prototype.State = e("./rules_block/state_block")),
|
||
(r.exports = n);
|
||
},
|
||
{
|
||
"./ruler": 17,
|
||
"./rules_block/blockquote": 18,
|
||
"./rules_block/code": 19,
|
||
"./rules_block/fence": 20,
|
||
"./rules_block/heading": 21,
|
||
"./rules_block/hr": 22,
|
||
"./rules_block/html_block": 23,
|
||
"./rules_block/lheading": 24,
|
||
"./rules_block/list": 25,
|
||
"./rules_block/paragraph": 26,
|
||
"./rules_block/reference": 27,
|
||
"./rules_block/state_block": 28,
|
||
"./rules_block/table": 29,
|
||
},
|
||
],
|
||
11: [
|
||
function (e, r, t) {
|
||
function n() {
|
||
this.ruler = new o();
|
||
for (var e = 0; e < s.length; e++)
|
||
this.ruler.push(s[e][0], s[e][1]);
|
||
}
|
||
var o = e("./ruler"),
|
||
s = [
|
||
["normalize", e("./rules_core/normalize")],
|
||
["block", e("./rules_core/block")],
|
||
["inline", e("./rules_core/inline")],
|
||
["linkify", e("./rules_core/linkify")],
|
||
["replacements", e("./rules_core/replacements")],
|
||
["smartquotes", e("./rules_core/smartquotes")],
|
||
];
|
||
(n.prototype.process = function (e) {
|
||
var r, t, n;
|
||
for (r = 0, t = (n = this.ruler.getRules("")).length; r < t; r++)
|
||
n[r](e);
|
||
}),
|
||
(n.prototype.State = e("./rules_core/state_core")),
|
||
(r.exports = n);
|
||
},
|
||
{
|
||
"./ruler": 17,
|
||
"./rules_core/block": 30,
|
||
"./rules_core/inline": 31,
|
||
"./rules_core/linkify": 32,
|
||
"./rules_core/normalize": 33,
|
||
"./rules_core/replacements": 34,
|
||
"./rules_core/smartquotes": 35,
|
||
"./rules_core/state_core": 36,
|
||
},
|
||
],
|
||
12: [
|
||
function (e, r, t) {
|
||
function n() {
|
||
var e;
|
||
for (this.ruler = new o(), e = 0; e < s.length; e++)
|
||
this.ruler.push(s[e][0], s[e][1]);
|
||
for (this.ruler2 = new o(), e = 0; e < i.length; e++)
|
||
this.ruler2.push(i[e][0], i[e][1]);
|
||
}
|
||
var o = e("./ruler"),
|
||
s = [
|
||
["text", e("./rules_inline/text")],
|
||
["newline", e("./rules_inline/newline")],
|
||
["escape", e("./rules_inline/escape")],
|
||
["backticks", e("./rules_inline/backticks")],
|
||
["strikethrough", e("./rules_inline/strikethrough").tokenize],
|
||
["emphasis", e("./rules_inline/emphasis").tokenize],
|
||
["link", e("./rules_inline/link")],
|
||
["image", e("./rules_inline/image")],
|
||
["autolink", e("./rules_inline/autolink")],
|
||
["html_inline", e("./rules_inline/html_inline")],
|
||
["entity", e("./rules_inline/entity")],
|
||
],
|
||
i = [
|
||
["balance_pairs", e("./rules_inline/balance_pairs")],
|
||
[
|
||
"strikethrough",
|
||
e("./rules_inline/strikethrough").postProcess,
|
||
],
|
||
["emphasis", e("./rules_inline/emphasis").postProcess],
|
||
["text_collapse", e("./rules_inline/text_collapse")],
|
||
];
|
||
(n.prototype.skipToken = function (e) {
|
||
var r,
|
||
t,
|
||
n = e.pos,
|
||
o = this.ruler.getRules(""),
|
||
s = o.length,
|
||
i = e.md.options.maxNesting,
|
||
a = e.cache;
|
||
if (void 0 === a[n]) {
|
||
if (e.level < i)
|
||
for (
|
||
t = 0;
|
||
t < s && (e.level++, (r = o[t](e, !0)), e.level--, !r);
|
||
t++
|
||
);
|
||
else e.pos = e.posMax;
|
||
r || e.pos++, (a[n] = e.pos);
|
||
} else e.pos = a[n];
|
||
}),
|
||
(n.prototype.tokenize = function (e) {
|
||
for (
|
||
var r,
|
||
t,
|
||
n = this.ruler.getRules(""),
|
||
o = n.length,
|
||
s = e.posMax,
|
||
i = e.md.options.maxNesting;
|
||
e.pos < s;
|
||
|
||
) {
|
||
if (e.level < i)
|
||
for (t = 0; t < o && !(r = n[t](e, !1)); t++);
|
||
if (r) {
|
||
if (e.pos >= s) break;
|
||
} else e.pending += e.src[e.pos++];
|
||
}
|
||
e.pending && e.pushPending();
|
||
}),
|
||
(n.prototype.parse = function (e, r, t, n) {
|
||
var o,
|
||
s,
|
||
i,
|
||
a = new this.State(e, r, t, n);
|
||
for (
|
||
this.tokenize(a),
|
||
i = (s = this.ruler2.getRules("")).length,
|
||
o = 0;
|
||
o < i;
|
||
o++
|
||
)
|
||
s[o](a);
|
||
}),
|
||
(n.prototype.State = e("./rules_inline/state_inline")),
|
||
(r.exports = n);
|
||
},
|
||
{
|
||
"./ruler": 17,
|
||
"./rules_inline/autolink": 37,
|
||
"./rules_inline/backticks": 38,
|
||
"./rules_inline/balance_pairs": 39,
|
||
"./rules_inline/emphasis": 40,
|
||
"./rules_inline/entity": 41,
|
||
"./rules_inline/escape": 42,
|
||
"./rules_inline/html_inline": 43,
|
||
"./rules_inline/image": 44,
|
||
"./rules_inline/link": 45,
|
||
"./rules_inline/newline": 46,
|
||
"./rules_inline/state_inline": 47,
|
||
"./rules_inline/strikethrough": 48,
|
||
"./rules_inline/text": 49,
|
||
"./rules_inline/text_collapse": 50,
|
||
},
|
||
],
|
||
13: [
|
||
function (e, r, t) {
|
||
r.exports = {
|
||
options: {
|
||
html: !0,
|
||
xhtmlOut: !0,
|
||
breaks: !1,
|
||
langPrefix: "language-",
|
||
linkify: !1,
|
||
typographer: !1,
|
||
quotes: "“”‘’",
|
||
highlight: null,
|
||
maxNesting: 20,
|
||
},
|
||
components: {
|
||
core: { rules: ["normalize", "block", "inline"] },
|
||
block: {
|
||
rules: [
|
||
"blockquote",
|
||
"code",
|
||
"fence",
|
||
"heading",
|
||
"hr",
|
||
"html_block",
|
||
"lheading",
|
||
"list",
|
||
"reference",
|
||
"paragraph",
|
||
],
|
||
},
|
||
inline: {
|
||
rules: [
|
||
"autolink",
|
||
"backticks",
|
||
"emphasis",
|
||
"entity",
|
||
"escape",
|
||
"html_inline",
|
||
"image",
|
||
"link",
|
||
"newline",
|
||
"text",
|
||
],
|
||
rules2: ["balance_pairs", "emphasis", "text_collapse"],
|
||
},
|
||
},
|
||
};
|
||
},
|
||
{},
|
||
],
|
||
14: [
|
||
function (e, r, t) {
|
||
r.exports = {
|
||
options: {
|
||
html: !1,
|
||
xhtmlOut: !1,
|
||
breaks: !1,
|
||
langPrefix: "language-",
|
||
linkify: !1,
|
||
typographer: !1,
|
||
quotes: "“”‘’",
|
||
highlight: null,
|
||
maxNesting: 100,
|
||
},
|
||
components: { core: {}, block: {}, inline: {} },
|
||
};
|
||
},
|
||
{},
|
||
],
|
||
15: [
|
||
function (e, r, t) {
|
||
r.exports = {
|
||
options: {
|
||
html: !1,
|
||
xhtmlOut: !1,
|
||
breaks: !1,
|
||
langPrefix: "language-",
|
||
linkify: !1,
|
||
typographer: !1,
|
||
quotes: "“”‘’",
|
||
highlight: null,
|
||
maxNesting: 20,
|
||
},
|
||
components: {
|
||
core: { rules: ["normalize", "block", "inline"] },
|
||
block: { rules: ["paragraph"] },
|
||
inline: {
|
||
rules: ["text"],
|
||
rules2: ["balance_pairs", "text_collapse"],
|
||
},
|
||
},
|
||
};
|
||
},
|
||
{},
|
||
],
|
||
16: [
|
||
function (e, r, t) {
|
||
function n() {
|
||
this.rules = o({}, a);
|
||
}
|
||
var o = e("./common/utils").assign,
|
||
s = e("./common/utils").unescapeAll,
|
||
i = e("./common/utils").escapeHtml,
|
||
a = {
|
||
code_inline: function (e, r, t, n, o) {
|
||
var s = e[r];
|
||
return (
|
||
"<code" +
|
||
o.renderAttrs(s) +
|
||
">" +
|
||
i(e[r].content) +
|
||
"</code>"
|
||
);
|
||
},
|
||
code_block: function (e, r, t, n, o) {
|
||
var s = e[r];
|
||
return (
|
||
"<pre" +
|
||
o.renderAttrs(s) +
|
||
"><code>" +
|
||
i(e[r].content) +
|
||
"</code></pre>\n"
|
||
);
|
||
},
|
||
fence: function (e, r, t, n, o) {
|
||
var a,
|
||
c,
|
||
l,
|
||
u,
|
||
p = e[r],
|
||
h = p.info ? s(p.info).trim() : "",
|
||
f = "";
|
||
return (
|
||
h && (f = h.split(/\s+/g)[0]),
|
||
0 ===
|
||
(a =
|
||
(t.highlight && t.highlight(p.content, f)) ||
|
||
i(p.content)).indexOf("<pre")
|
||
? a + "\n"
|
||
: h
|
||
? ((c = p.attrIndex("class")),
|
||
(l = p.attrs ? p.attrs.slice() : []),
|
||
c < 0
|
||
? l.push(["class", t.langPrefix + f])
|
||
: (l[c][1] += " " + t.langPrefix + f),
|
||
(u = { attrs: l }),
|
||
"<pre><code" +
|
||
o.renderAttrs(u) +
|
||
">" +
|
||
a +
|
||
"</code></pre>\n")
|
||
: "<pre><code" +
|
||
o.renderAttrs(p) +
|
||
">" +
|
||
a +
|
||
"</code></pre>\n"
|
||
);
|
||
},
|
||
image: function (e, r, t, n, o) {
|
||
var s = e[r];
|
||
return (
|
||
(s.attrs[s.attrIndex("alt")][1] = o.renderInlineAsText(
|
||
s.children,
|
||
t,
|
||
n
|
||
)),
|
||
o.renderToken(e, r, t)
|
||
);
|
||
},
|
||
hardbreak: function (e, r, t) {
|
||
return t.xhtmlOut ? "<br />\n" : "<br>\n";
|
||
},
|
||
softbreak: function (e, r, t) {
|
||
return t.breaks ? (t.xhtmlOut ? "<br />\n" : "<br>\n") : "\n";
|
||
},
|
||
text: function (e, r) {
|
||
return i(e[r].content);
|
||
},
|
||
html_block: function (e, r) {
|
||
return e[r].content;
|
||
},
|
||
html_inline: function (e, r) {
|
||
return e[r].content;
|
||
},
|
||
};
|
||
(n.prototype.renderAttrs = function (e) {
|
||
var r, t, n;
|
||
if (!e.attrs) return "";
|
||
for (n = "", r = 0, t = e.attrs.length; r < t; r++)
|
||
n += " " + i(e.attrs[r][0]) + '="' + i(e.attrs[r][1]) + '"';
|
||
return n;
|
||
}),
|
||
(n.prototype.renderToken = function (e, r, t) {
|
||
var n,
|
||
o = "",
|
||
s = !1,
|
||
i = e[r];
|
||
return i.hidden
|
||
? ""
|
||
: (i.block &&
|
||
-1 !== i.nesting &&
|
||
r &&
|
||
e[r - 1].hidden &&
|
||
(o += "\n"),
|
||
(o += (-1 === i.nesting ? "</" : "<") + i.tag),
|
||
(o += this.renderAttrs(i)),
|
||
0 === i.nesting && t.xhtmlOut && (o += " /"),
|
||
i.block &&
|
||
((s = !0),
|
||
1 === i.nesting &&
|
||
r + 1 < e.length &&
|
||
("inline" === (n = e[r + 1]).type ||
|
||
n.hidden ||
|
||
(-1 === n.nesting && n.tag === i.tag)) &&
|
||
(s = !1)),
|
||
(o += s ? ">\n" : ">"));
|
||
}),
|
||
(n.prototype.renderInline = function (e, r, t) {
|
||
for (
|
||
var n, o = "", s = this.rules, i = 0, a = e.length;
|
||
i < a;
|
||
i++
|
||
)
|
||
o +=
|
||
void 0 !== s[(n = e[i].type)]
|
||
? s[n](e, i, r, t, this)
|
||
: this.renderToken(e, i, r);
|
||
return o;
|
||
}),
|
||
(n.prototype.renderInlineAsText = function (e, r, t) {
|
||
for (var n = "", o = 0, s = e.length; o < s; o++)
|
||
"text" === e[o].type
|
||
? (n += e[o].content)
|
||
: "image" === e[o].type &&
|
||
(n += this.renderInlineAsText(e[o].children, r, t));
|
||
return n;
|
||
}),
|
||
(n.prototype.render = function (e, r, t) {
|
||
var n,
|
||
o,
|
||
s,
|
||
i = "",
|
||
a = this.rules;
|
||
for (n = 0, o = e.length; n < o; n++)
|
||
i +=
|
||
"inline" === (s = e[n].type)
|
||
? this.renderInline(e[n].children, r, t)
|
||
: void 0 !== a[s]
|
||
? a[e[n].type](e, n, r, t, this)
|
||
: this.renderToken(e, n, r, t);
|
||
return i;
|
||
}),
|
||
(r.exports = n);
|
||
},
|
||
{ "./common/utils": 4 },
|
||
],
|
||
17: [
|
||
function (e, r, t) {
|
||
function n() {
|
||
(this.__rules__ = []), (this.__cache__ = null);
|
||
}
|
||
(n.prototype.__find__ = function (e) {
|
||
for (var r = 0; r < this.__rules__.length; r++)
|
||
if (this.__rules__[r].name === e) return r;
|
||
return -1;
|
||
}),
|
||
(n.prototype.__compile__ = function () {
|
||
var e = this,
|
||
r = [""];
|
||
e.__rules__.forEach(function (e) {
|
||
e.enabled &&
|
||
e.alt.forEach(function (e) {
|
||
r.indexOf(e) < 0 && r.push(e);
|
||
});
|
||
}),
|
||
(e.__cache__ = {}),
|
||
r.forEach(function (r) {
|
||
(e.__cache__[r] = []),
|
||
e.__rules__.forEach(function (t) {
|
||
t.enabled &&
|
||
((r && t.alt.indexOf(r) < 0) ||
|
||
e.__cache__[r].push(t.fn));
|
||
});
|
||
});
|
||
}),
|
||
(n.prototype.at = function (e, r, t) {
|
||
var n = this.__find__(e),
|
||
o = t || {};
|
||
if (-1 === n) throw new Error("Parser rule not found: " + e);
|
||
(this.__rules__[n].fn = r),
|
||
(this.__rules__[n].alt = o.alt || []),
|
||
(this.__cache__ = null);
|
||
}),
|
||
(n.prototype.before = function (e, r, t, n) {
|
||
var o = this.__find__(e),
|
||
s = n || {};
|
||
if (-1 === o) throw new Error("Parser rule not found: " + e);
|
||
this.__rules__.splice(o, 0, {
|
||
name: r,
|
||
enabled: !0,
|
||
fn: t,
|
||
alt: s.alt || [],
|
||
}),
|
||
(this.__cache__ = null);
|
||
}),
|
||
(n.prototype.after = function (e, r, t, n) {
|
||
var o = this.__find__(e),
|
||
s = n || {};
|
||
if (-1 === o) throw new Error("Parser rule not found: " + e);
|
||
this.__rules__.splice(o + 1, 0, {
|
||
name: r,
|
||
enabled: !0,
|
||
fn: t,
|
||
alt: s.alt || [],
|
||
}),
|
||
(this.__cache__ = null);
|
||
}),
|
||
(n.prototype.push = function (e, r, t) {
|
||
var n = t || {};
|
||
this.__rules__.push({
|
||
name: e,
|
||
enabled: !0,
|
||
fn: r,
|
||
alt: n.alt || [],
|
||
}),
|
||
(this.__cache__ = null);
|
||
}),
|
||
(n.prototype.enable = function (e, r) {
|
||
Array.isArray(e) || (e = [e]);
|
||
var t = [];
|
||
return (
|
||
e.forEach(function (e) {
|
||
var n = this.__find__(e);
|
||
if (n < 0) {
|
||
if (r) return;
|
||
throw new Error("Rules manager: invalid rule name " + e);
|
||
}
|
||
(this.__rules__[n].enabled = !0), t.push(e);
|
||
}, this),
|
||
(this.__cache__ = null),
|
||
t
|
||
);
|
||
}),
|
||
(n.prototype.enableOnly = function (e, r) {
|
||
Array.isArray(e) || (e = [e]),
|
||
this.__rules__.forEach(function (e) {
|
||
e.enabled = !1;
|
||
}),
|
||
this.enable(e, r);
|
||
}),
|
||
(n.prototype.disable = function (e, r) {
|
||
Array.isArray(e) || (e = [e]);
|
||
var t = [];
|
||
return (
|
||
e.forEach(function (e) {
|
||
var n = this.__find__(e);
|
||
if (n < 0) {
|
||
if (r) return;
|
||
throw new Error("Rules manager: invalid rule name " + e);
|
||
}
|
||
(this.__rules__[n].enabled = !1), t.push(e);
|
||
}, this),
|
||
(this.__cache__ = null),
|
||
t
|
||
);
|
||
}),
|
||
(n.prototype.getRules = function (e) {
|
||
return (
|
||
null === this.__cache__ && this.__compile__(),
|
||
this.__cache__[e] || []
|
||
);
|
||
}),
|
||
(r.exports = n);
|
||
},
|
||
{},
|
||
],
|
||
18: [
|
||
function (e, r, t) {
|
||
var n = e("../common/utils").isSpace;
|
||
r.exports = function (e, r, t, o) {
|
||
var s,
|
||
i,
|
||
a,
|
||
c,
|
||
l,
|
||
u,
|
||
p,
|
||
h,
|
||
f,
|
||
d,
|
||
m,
|
||
_,
|
||
g,
|
||
b,
|
||
k,
|
||
v,
|
||
y,
|
||
x,
|
||
C,
|
||
A,
|
||
w = e.lineMax,
|
||
D = e.bMarks[r] + e.tShift[r],
|
||
q = e.eMarks[r];
|
||
if (e.sCount[r] - e.blkIndent >= 4) return !1;
|
||
if (62 !== e.src.charCodeAt(D++)) return !1;
|
||
if (o) return !0;
|
||
for (
|
||
c = d = e.sCount[r] + D - (e.bMarks[r] + e.tShift[r]),
|
||
32 === e.src.charCodeAt(D)
|
||
? (D++, c++, d++, (s = !1), (y = !0))
|
||
: 9 === e.src.charCodeAt(D)
|
||
? ((y = !0),
|
||
(e.bsCount[r] + d) % 4 == 3
|
||
? (D++, c++, d++, (s = !1))
|
||
: (s = !0))
|
||
: (y = !1),
|
||
m = [e.bMarks[r]],
|
||
e.bMarks[r] = D;
|
||
D < q && ((i = e.src.charCodeAt(D)), n(i));
|
||
|
||
)
|
||
9 === i
|
||
? (d += 4 - ((d + e.bsCount[r] + (s ? 1 : 0)) % 4))
|
||
: d++,
|
||
D++;
|
||
for (
|
||
_ = [e.bsCount[r]],
|
||
e.bsCount[r] = e.sCount[r] + 1 + (y ? 1 : 0),
|
||
p = D >= q,
|
||
k = [e.sCount[r]],
|
||
e.sCount[r] = d - c,
|
||
v = [e.tShift[r]],
|
||
e.tShift[r] = D - e.bMarks[r],
|
||
C = e.md.block.ruler.getRules("blockquote"),
|
||
b = e.parentType,
|
||
e.parentType = "blockquote",
|
||
f = r + 1;
|
||
f < t &&
|
||
((l = e.sCount[f] < e.blkIndent),
|
||
!((D = e.bMarks[f] + e.tShift[f]) >= (q = e.eMarks[f])));
|
||
f++
|
||
)
|
||
if (62 !== e.src.charCodeAt(D++) || l) {
|
||
if (p) break;
|
||
for (x = !1, a = 0, u = C.length; a < u; a++)
|
||
if (C[a](e, f, t, !0)) {
|
||
x = !0;
|
||
break;
|
||
}
|
||
if (x) {
|
||
(e.lineMax = f),
|
||
0 !== e.blkIndent &&
|
||
(m.push(e.bMarks[f]),
|
||
_.push(e.bsCount[f]),
|
||
v.push(e.tShift[f]),
|
||
k.push(e.sCount[f]),
|
||
(e.sCount[f] -= e.blkIndent));
|
||
break;
|
||
}
|
||
if (l) break;
|
||
m.push(e.bMarks[f]),
|
||
_.push(e.bsCount[f]),
|
||
v.push(e.tShift[f]),
|
||
k.push(e.sCount[f]),
|
||
(e.sCount[f] = -1);
|
||
} else {
|
||
for (
|
||
c = d = e.sCount[f] + D - (e.bMarks[f] + e.tShift[f]),
|
||
32 === e.src.charCodeAt(D)
|
||
? (D++, c++, d++, (s = !1), (y = !0))
|
||
: 9 === e.src.charCodeAt(D)
|
||
? ((y = !0),
|
||
(e.bsCount[f] + d) % 4 == 3
|
||
? (D++, c++, d++, (s = !1))
|
||
: (s = !0))
|
||
: (y = !1),
|
||
m.push(e.bMarks[f]),
|
||
e.bMarks[f] = D;
|
||
D < q && ((i = e.src.charCodeAt(D)), n(i));
|
||
|
||
)
|
||
9 === i
|
||
? (d += 4 - ((d + e.bsCount[f] + (s ? 1 : 0)) % 4))
|
||
: d++,
|
||
D++;
|
||
(p = D >= q),
|
||
_.push(e.bsCount[f]),
|
||
(e.bsCount[f] = e.sCount[f] + 1 + (y ? 1 : 0)),
|
||
k.push(e.sCount[f]),
|
||
(e.sCount[f] = d - c),
|
||
v.push(e.tShift[f]),
|
||
(e.tShift[f] = D - e.bMarks[f]);
|
||
}
|
||
for (
|
||
g = e.blkIndent,
|
||
e.blkIndent = 0,
|
||
(A = e.push("blockquote_open", "blockquote", 1)).markup = ">",
|
||
A.map = h = [r, 0],
|
||
e.md.block.tokenize(e, r, f),
|
||
(A = e.push("blockquote_close", "blockquote", -1)).markup =
|
||
">",
|
||
e.lineMax = w,
|
||
e.parentType = b,
|
||
h[1] = e.line,
|
||
a = 0;
|
||
a < v.length;
|
||
a++
|
||
)
|
||
(e.bMarks[a + r] = m[a]),
|
||
(e.tShift[a + r] = v[a]),
|
||
(e.sCount[a + r] = k[a]),
|
||
(e.bsCount[a + r] = _[a]);
|
||
return (e.blkIndent = g), !0;
|
||
};
|
||
},
|
||
{ "../common/utils": 4 },
|
||
],
|
||
19: [
|
||
function (e, r, t) {
|
||
r.exports = function (e, r, t) {
|
||
var n, o, s;
|
||
if (e.sCount[r] - e.blkIndent < 4) return !1;
|
||
for (o = n = r + 1; n < t; )
|
||
if (e.isEmpty(n)) n++;
|
||
else {
|
||
if (!(e.sCount[n] - e.blkIndent >= 4)) break;
|
||
o = ++n;
|
||
}
|
||
return (
|
||
(e.line = o),
|
||
((s = e.push("code_block", "code", 0)).content = e.getLines(
|
||
r,
|
||
o,
|
||
4 + e.blkIndent,
|
||
!0
|
||
)),
|
||
(s.map = [r, e.line]),
|
||
!0
|
||
);
|
||
};
|
||
},
|
||
{},
|
||
],
|
||
20: [
|
||
function (e, r, t) {
|
||
r.exports = function (e, r, t, n) {
|
||
var o,
|
||
s,
|
||
i,
|
||
a,
|
||
c,
|
||
l,
|
||
u,
|
||
p = !1,
|
||
h = e.bMarks[r] + e.tShift[r],
|
||
f = e.eMarks[r];
|
||
if (e.sCount[r] - e.blkIndent >= 4) return !1;
|
||
if (h + 3 > f) return !1;
|
||
if (126 !== (o = e.src.charCodeAt(h)) && 96 !== o) return !1;
|
||
if (((c = h), (s = (h = e.skipChars(h, o)) - c) < 3)) return !1;
|
||
if (
|
||
((u = e.src.slice(c, h)),
|
||
(i = e.src.slice(h, f)).indexOf(String.fromCharCode(o)) >= 0)
|
||
)
|
||
return !1;
|
||
if (n) return !0;
|
||
for (
|
||
a = r;
|
||
!(
|
||
++a >= t ||
|
||
((h = c = e.bMarks[a] + e.tShift[a]),
|
||
(f = e.eMarks[a]),
|
||
h < f && e.sCount[a] < e.blkIndent)
|
||
);
|
||
|
||
)
|
||
if (
|
||
e.src.charCodeAt(h) === o &&
|
||
!(
|
||
e.sCount[a] - e.blkIndent >= 4 ||
|
||
(h = e.skipChars(h, o)) - c < s ||
|
||
(h = e.skipSpaces(h)) < f
|
||
)
|
||
) {
|
||
p = !0;
|
||
break;
|
||
}
|
||
return (
|
||
(s = e.sCount[r]),
|
||
(e.line = a + (p ? 1 : 0)),
|
||
((l = e.push("fence", "code", 0)).info = i),
|
||
(l.content = e.getLines(r + 1, a, s, !0)),
|
||
(l.markup = u),
|
||
(l.map = [r, e.line]),
|
||
!0
|
||
);
|
||
};
|
||
},
|
||
{},
|
||
],
|
||
21: [
|
||
function (e, r, t) {
|
||
var n = e("../common/utils").isSpace;
|
||
r.exports = function (e, r, t, o) {
|
||
var s,
|
||
i,
|
||
a,
|
||
c,
|
||
l = e.bMarks[r] + e.tShift[r],
|
||
u = e.eMarks[r];
|
||
if (e.sCount[r] - e.blkIndent >= 4) return !1;
|
||
if (35 !== (s = e.src.charCodeAt(l)) || l >= u) return !1;
|
||
for (
|
||
i = 1, s = e.src.charCodeAt(++l);
|
||
35 === s && l < u && i <= 6;
|
||
|
||
)
|
||
i++, (s = e.src.charCodeAt(++l));
|
||
return !(
|
||
i > 6 ||
|
||
(l < u && !n(s)) ||
|
||
(!o &&
|
||
((u = e.skipSpacesBack(u, l)),
|
||
(a = e.skipCharsBack(u, 35, l)) > l &&
|
||
n(e.src.charCodeAt(a - 1)) &&
|
||
(u = a),
|
||
(e.line = r + 1),
|
||
(c = e.push("heading_open", "h" + String(i), 1)),
|
||
(c.markup = "########".slice(0, i)),
|
||
(c.map = [r, e.line]),
|
||
(c = e.push("inline", "", 0)),
|
||
(c.content = e.src.slice(l, u).trim()),
|
||
(c.map = [r, e.line]),
|
||
(c.children = []),
|
||
(c = e.push("heading_close", "h" + String(i), -1)),
|
||
(c.markup = "########".slice(0, i)),
|
||
0))
|
||
);
|
||
};
|
||
},
|
||
{ "../common/utils": 4 },
|
||
],
|
||
22: [
|
||
function (e, r, t) {
|
||
var n = e("../common/utils").isSpace;
|
||
r.exports = function (e, r, t, o) {
|
||
var s,
|
||
i,
|
||
a,
|
||
c,
|
||
l = e.bMarks[r] + e.tShift[r],
|
||
u = e.eMarks[r];
|
||
if (e.sCount[r] - e.blkIndent >= 4) return !1;
|
||
if (42 !== (s = e.src.charCodeAt(l++)) && 45 !== s && 95 !== s)
|
||
return !1;
|
||
for (i = 1; l < u; ) {
|
||
if ((a = e.src.charCodeAt(l++)) !== s && !n(a)) return !1;
|
||
a === s && i++;
|
||
}
|
||
return !(
|
||
i < 3 ||
|
||
(!o &&
|
||
((e.line = r + 1),
|
||
(c = e.push("hr", "hr", 0)),
|
||
(c.map = [r, e.line]),
|
||
(c.markup = Array(i + 1).join(String.fromCharCode(s))),
|
||
0))
|
||
);
|
||
};
|
||
},
|
||
{ "../common/utils": 4 },
|
||
],
|
||
23: [
|
||
function (e, r, t) {
|
||
var n = e("../common/html_blocks"),
|
||
o = e("../common/html_re").HTML_OPEN_CLOSE_TAG_RE,
|
||
s = [
|
||
[
|
||
/^<(script|pre|style)(?=(\s|>|$))/i,
|
||
/<\/(script|pre|style)>/i,
|
||
!0,
|
||
],
|
||
[/^<!--/, /-->/, !0],
|
||
[/^<\?/, /\?>/, !0],
|
||
[/^<![A-Z]/, />/, !0],
|
||
[/^<!\[CDATA\[/, /\]\]>/, !0],
|
||
[
|
||
new RegExp("^</?(" + n.join("|") + ")(?=(\\s|/?>|$))", "i"),
|
||
/^$/,
|
||
!0,
|
||
],
|
||
[new RegExp(o.source + "\\s*$"), /^$/, !1],
|
||
];
|
||
r.exports = function (e, r, t, n) {
|
||
var o,
|
||
i,
|
||
a,
|
||
c,
|
||
l = e.bMarks[r] + e.tShift[r],
|
||
u = e.eMarks[r];
|
||
if (e.sCount[r] - e.blkIndent >= 4) return !1;
|
||
if (!e.md.options.html) return !1;
|
||
if (60 !== e.src.charCodeAt(l)) return !1;
|
||
for (
|
||
c = e.src.slice(l, u), o = 0;
|
||
o < s.length && !s[o][0].test(c);
|
||
o++
|
||
);
|
||
if (o === s.length) return !1;
|
||
if (n) return s[o][2];
|
||
if (((i = r + 1), !s[o][1].test(c)))
|
||
for (; i < t && !(e.sCount[i] < e.blkIndent); i++)
|
||
if (
|
||
((l = e.bMarks[i] + e.tShift[i]),
|
||
(u = e.eMarks[i]),
|
||
(c = e.src.slice(l, u)),
|
||
s[o][1].test(c))
|
||
) {
|
||
0 !== c.length && i++;
|
||
break;
|
||
}
|
||
return (
|
||
(e.line = i),
|
||
((a = e.push("html_block", "", 0)).map = [r, i]),
|
||
(a.content = e.getLines(r, i, e.blkIndent, !0)),
|
||
!0
|
||
);
|
||
};
|
||
},
|
||
{ "../common/html_blocks": 2, "../common/html_re": 3 },
|
||
],
|
||
24: [
|
||
function (e, r, t) {
|
||
r.exports = function (e, r, t) {
|
||
var n,
|
||
o,
|
||
s,
|
||
i,
|
||
a,
|
||
c,
|
||
l,
|
||
u,
|
||
p,
|
||
h,
|
||
f = r + 1,
|
||
d = e.md.block.ruler.getRules("paragraph");
|
||
if (e.sCount[r] - e.blkIndent >= 4) return !1;
|
||
for (
|
||
h = e.parentType, e.parentType = "paragraph";
|
||
f < t && !e.isEmpty(f);
|
||
f++
|
||
)
|
||
if (!(e.sCount[f] - e.blkIndent > 3)) {
|
||
if (
|
||
e.sCount[f] >= e.blkIndent &&
|
||
(c = e.bMarks[f] + e.tShift[f]) < (l = e.eMarks[f]) &&
|
||
(45 === (p = e.src.charCodeAt(c)) || 61 === p) &&
|
||
((c = e.skipChars(c, p)), (c = e.skipSpaces(c)) >= l)
|
||
) {
|
||
u = 61 === p ? 1 : 2;
|
||
break;
|
||
}
|
||
if (!(e.sCount[f] < 0)) {
|
||
for (o = !1, s = 0, i = d.length; s < i; s++)
|
||
if (d[s](e, f, t, !0)) {
|
||
o = !0;
|
||
break;
|
||
}
|
||
if (o) break;
|
||
}
|
||
}
|
||
return (
|
||
!!u &&
|
||
((n = e.getLines(r, f, e.blkIndent, !1).trim()),
|
||
(e.line = f + 1),
|
||
((a = e.push("heading_open", "h" + String(u), 1)).markup =
|
||
String.fromCharCode(p)),
|
||
(a.map = [r, e.line]),
|
||
((a = e.push("inline", "", 0)).content = n),
|
||
(a.map = [r, e.line - 1]),
|
||
(a.children = []),
|
||
((a = e.push("heading_close", "h" + String(u), -1)).markup =
|
||
String.fromCharCode(p)),
|
||
(e.parentType = h),
|
||
!0)
|
||
);
|
||
};
|
||
},
|
||
{},
|
||
],
|
||
25: [
|
||
function (e, r, t) {
|
||
function n(e, r) {
|
||
var t, n, o, i;
|
||
return (
|
||
(n = e.bMarks[r] + e.tShift[r]),
|
||
(o = e.eMarks[r]),
|
||
(42 !== (t = e.src.charCodeAt(n++)) && 45 !== t && 43 !== t) ||
|
||
(n < o && ((i = e.src.charCodeAt(n)), !s(i)))
|
||
? -1
|
||
: n
|
||
);
|
||
}
|
||
function o(e, r) {
|
||
var t,
|
||
n = e.bMarks[r] + e.tShift[r],
|
||
o = n,
|
||
i = e.eMarks[r];
|
||
if (o + 1 >= i) return -1;
|
||
if ((t = e.src.charCodeAt(o++)) < 48 || t > 57) return -1;
|
||
for (;;) {
|
||
if (o >= i) return -1;
|
||
if (!((t = e.src.charCodeAt(o++)) >= 48 && t <= 57)) {
|
||
if (41 === t || 46 === t) break;
|
||
return -1;
|
||
}
|
||
if (o - n >= 10) return -1;
|
||
}
|
||
return o < i && ((t = e.src.charCodeAt(o)), !s(t)) ? -1 : o;
|
||
}
|
||
var s = e("../common/utils").isSpace;
|
||
r.exports = function (e, r, t, i) {
|
||
var a,
|
||
c,
|
||
l,
|
||
u,
|
||
p,
|
||
h,
|
||
f,
|
||
d,
|
||
m,
|
||
_,
|
||
g,
|
||
b,
|
||
k,
|
||
v,
|
||
y,
|
||
x,
|
||
C,
|
||
A,
|
||
w,
|
||
D,
|
||
q,
|
||
E,
|
||
S,
|
||
F,
|
||
L,
|
||
z,
|
||
T,
|
||
I,
|
||
R = !1,
|
||
M = !0;
|
||
if (e.sCount[r] - e.blkIndent >= 4) return !1;
|
||
if (
|
||
(i &&
|
||
"paragraph" === e.parentType &&
|
||
e.tShift[r] >= e.blkIndent &&
|
||
(R = !0),
|
||
(S = o(e, r)) >= 0)
|
||
) {
|
||
if (
|
||
((f = !0),
|
||
(L = e.bMarks[r] + e.tShift[r]),
|
||
(k = Number(e.src.substr(L, S - L - 1))),
|
||
R && 1 !== k)
|
||
)
|
||
return !1;
|
||
} else {
|
||
if (!((S = n(e, r)) >= 0)) return !1;
|
||
f = !1;
|
||
}
|
||
if (R && e.skipSpaces(S) >= e.eMarks[r]) return !1;
|
||
if (((b = e.src.charCodeAt(S - 1)), i)) return !0;
|
||
for (
|
||
g = e.tokens.length,
|
||
f
|
||
? ((I = e.push("ordered_list_open", "ol", 1)),
|
||
1 !== k && (I.attrs = [["start", k]]))
|
||
: (I = e.push("bullet_list_open", "ul", 1)),
|
||
I.map = _ = [r, 0],
|
||
I.markup = String.fromCharCode(b),
|
||
y = r,
|
||
F = !1,
|
||
T = e.md.block.ruler.getRules("list"),
|
||
w = e.parentType,
|
||
e.parentType = "list";
|
||
y < t;
|
||
|
||
) {
|
||
for (
|
||
E = S,
|
||
v = e.eMarks[y],
|
||
h = x = e.sCount[y] + S - (e.bMarks[r] + e.tShift[r]);
|
||
E < v && ((a = e.src.charCodeAt(E)), s(a));
|
||
|
||
)
|
||
9 === a ? (x += 4 - ((x + e.bsCount[y]) % 4)) : x++, E++;
|
||
if (
|
||
((p = (c = E) >= v ? 1 : x - h) > 4 && (p = 1),
|
||
(u = h + p),
|
||
((I = e.push("list_item_open", "li", 1)).markup =
|
||
String.fromCharCode(b)),
|
||
(I.map = d = [r, 0]),
|
||
(C = e.blkIndent),
|
||
(q = e.tight),
|
||
(D = e.tShift[r]),
|
||
(A = e.sCount[r]),
|
||
(e.blkIndent = u),
|
||
(e.tight = !0),
|
||
(e.tShift[r] = c - e.bMarks[r]),
|
||
(e.sCount[r] = x),
|
||
c >= v && e.isEmpty(r + 1)
|
||
? (e.line = Math.min(e.line + 2, t))
|
||
: e.md.block.tokenize(e, r, t, !0),
|
||
(e.tight && !F) || (M = !1),
|
||
(F = e.line - r > 1 && e.isEmpty(e.line - 1)),
|
||
(e.blkIndent = C),
|
||
(e.tShift[r] = D),
|
||
(e.sCount[r] = A),
|
||
(e.tight = q),
|
||
((I = e.push("list_item_close", "li", -1)).markup =
|
||
String.fromCharCode(b)),
|
||
(y = r = e.line),
|
||
(d[1] = y),
|
||
(c = e.bMarks[r]),
|
||
y >= t)
|
||
)
|
||
break;
|
||
if (e.sCount[y] < e.blkIndent) break;
|
||
for (z = !1, l = 0, m = T.length; l < m; l++)
|
||
if (T[l](e, y, t, !0)) {
|
||
z = !0;
|
||
break;
|
||
}
|
||
if (z) break;
|
||
if (f) {
|
||
if ((S = o(e, y)) < 0) break;
|
||
} else if ((S = n(e, y)) < 0) break;
|
||
if (b !== e.src.charCodeAt(S - 1)) break;
|
||
}
|
||
return (
|
||
((I = f
|
||
? e.push("ordered_list_close", "ol", -1)
|
||
: e.push("bullet_list_close", "ul", -1)).markup =
|
||
String.fromCharCode(b)),
|
||
(_[1] = y),
|
||
(e.line = y),
|
||
(e.parentType = w),
|
||
M &&
|
||
(function (e, r) {
|
||
var t,
|
||
n,
|
||
o = e.level + 2;
|
||
for (t = r + 2, n = e.tokens.length - 2; t < n; t++)
|
||
e.tokens[t].level === o &&
|
||
"paragraph_open" === e.tokens[t].type &&
|
||
((e.tokens[t + 2].hidden = !0),
|
||
(e.tokens[t].hidden = !0),
|
||
(t += 2));
|
||
})(e, g),
|
||
!0
|
||
);
|
||
};
|
||
},
|
||
{ "../common/utils": 4 },
|
||
],
|
||
26: [
|
||
function (e, r, t) {
|
||
r.exports = function (e, r) {
|
||
var t,
|
||
n,
|
||
o,
|
||
s,
|
||
i,
|
||
a,
|
||
c = r + 1,
|
||
l = e.md.block.ruler.getRules("paragraph"),
|
||
u = e.lineMax;
|
||
for (
|
||
a = e.parentType, e.parentType = "paragraph";
|
||
c < u && !e.isEmpty(c);
|
||
c++
|
||
)
|
||
if (!(e.sCount[c] - e.blkIndent > 3 || e.sCount[c] < 0)) {
|
||
for (n = !1, o = 0, s = l.length; o < s; o++)
|
||
if (l[o](e, c, u, !0)) {
|
||
n = !0;
|
||
break;
|
||
}
|
||
if (n) break;
|
||
}
|
||
return (
|
||
(t = e.getLines(r, c, e.blkIndent, !1).trim()),
|
||
(e.line = c),
|
||
((i = e.push("paragraph_open", "p", 1)).map = [r, e.line]),
|
||
((i = e.push("inline", "", 0)).content = t),
|
||
(i.map = [r, e.line]),
|
||
(i.children = []),
|
||
(i = e.push("paragraph_close", "p", -1)),
|
||
(e.parentType = a),
|
||
!0
|
||
);
|
||
};
|
||
},
|
||
{},
|
||
],
|
||
27: [
|
||
function (e, r, t) {
|
||
var n = e("../common/utils").normalizeReference,
|
||
o = e("../common/utils").isSpace;
|
||
r.exports = function (e, r, t, s) {
|
||
var i,
|
||
a,
|
||
c,
|
||
l,
|
||
u,
|
||
p,
|
||
h,
|
||
f,
|
||
d,
|
||
m,
|
||
_,
|
||
g,
|
||
b,
|
||
k,
|
||
v,
|
||
y,
|
||
x = 0,
|
||
C = e.bMarks[r] + e.tShift[r],
|
||
A = e.eMarks[r],
|
||
w = r + 1;
|
||
if (e.sCount[r] - e.blkIndent >= 4) return !1;
|
||
if (91 !== e.src.charCodeAt(C)) return !1;
|
||
for (; ++C < A; )
|
||
if (
|
||
93 === e.src.charCodeAt(C) &&
|
||
92 !== e.src.charCodeAt(C - 1)
|
||
) {
|
||
if (C + 1 === A) return !1;
|
||
if (58 !== e.src.charCodeAt(C + 1)) return !1;
|
||
break;
|
||
}
|
||
for (
|
||
l = e.lineMax,
|
||
v = e.md.block.ruler.getRules("reference"),
|
||
m = e.parentType,
|
||
e.parentType = "reference";
|
||
w < l && !e.isEmpty(w);
|
||
w++
|
||
)
|
||
if (!(e.sCount[w] - e.blkIndent > 3 || e.sCount[w] < 0)) {
|
||
for (k = !1, p = 0, h = v.length; p < h; p++)
|
||
if (v[p](e, w, l, !0)) {
|
||
k = !0;
|
||
break;
|
||
}
|
||
if (k) break;
|
||
}
|
||
for (
|
||
A = (b = e.getLines(r, w, e.blkIndent, !1).trim()).length,
|
||
C = 1;
|
||
C < A;
|
||
C++
|
||
) {
|
||
if (91 === (i = b.charCodeAt(C))) return !1;
|
||
if (93 === i) {
|
||
d = C;
|
||
break;
|
||
}
|
||
(10 === i || (92 === i && ++C < A && 10 === b.charCodeAt(C))) &&
|
||
x++;
|
||
}
|
||
if (d < 0 || 58 !== b.charCodeAt(d + 1)) return !1;
|
||
for (C = d + 2; C < A; C++)
|
||
if (10 === (i = b.charCodeAt(C))) x++;
|
||
else if (!o(i)) break;
|
||
if (!(_ = e.md.helpers.parseLinkDestination(b, C, A)).ok)
|
||
return !1;
|
||
if (((u = e.md.normalizeLink(_.str)), !e.md.validateLink(u)))
|
||
return !1;
|
||
for (a = C = _.pos, c = x += _.lines, g = C; C < A; C++)
|
||
if (10 === (i = b.charCodeAt(C))) x++;
|
||
else if (!o(i)) break;
|
||
for (
|
||
_ = e.md.helpers.parseLinkTitle(b, C, A),
|
||
C < A && g !== C && _.ok
|
||
? ((y = _.str), (C = _.pos), (x += _.lines))
|
||
: ((y = ""), (C = a), (x = c));
|
||
C < A && ((i = b.charCodeAt(C)), o(i));
|
||
|
||
)
|
||
C++;
|
||
if (C < A && 10 !== b.charCodeAt(C) && y)
|
||
for (
|
||
y = "", C = a, x = c;
|
||
C < A && ((i = b.charCodeAt(C)), o(i));
|
||
|
||
)
|
||
C++;
|
||
return !(
|
||
(C < A && 10 !== b.charCodeAt(C)) ||
|
||
!(f = n(b.slice(1, d))) ||
|
||
(!s &&
|
||
(void 0 === e.env.references && (e.env.references = {}),
|
||
void 0 === e.env.references[f] &&
|
||
(e.env.references[f] = { title: y, href: u }),
|
||
(e.parentType = m),
|
||
(e.line = r + x + 1),
|
||
0))
|
||
);
|
||
};
|
||
},
|
||
{ "../common/utils": 4 },
|
||
],
|
||
28: [
|
||
function (e, r, t) {
|
||
function n(e, r, t, n) {
|
||
var o, i, a, c, l, u, p, h;
|
||
for (
|
||
this.src = e,
|
||
this.md = r,
|
||
this.env = t,
|
||
this.tokens = n,
|
||
this.bMarks = [],
|
||
this.eMarks = [],
|
||
this.tShift = [],
|
||
this.sCount = [],
|
||
this.bsCount = [],
|
||
this.blkIndent = 0,
|
||
this.line = 0,
|
||
this.lineMax = 0,
|
||
this.tight = !1,
|
||
this.ddIndent = -1,
|
||
this.parentType = "root",
|
||
this.level = 0,
|
||
this.result = "",
|
||
h = !1,
|
||
a = c = u = p = 0,
|
||
l = (i = this.src).length;
|
||
c < l;
|
||
c++
|
||
) {
|
||
if (((o = i.charCodeAt(c)), !h)) {
|
||
if (s(o)) {
|
||
u++, 9 === o ? (p += 4 - (p % 4)) : p++;
|
||
continue;
|
||
}
|
||
h = !0;
|
||
}
|
||
(10 !== o && c !== l - 1) ||
|
||
(10 !== o && c++,
|
||
this.bMarks.push(a),
|
||
this.eMarks.push(c),
|
||
this.tShift.push(u),
|
||
this.sCount.push(p),
|
||
this.bsCount.push(0),
|
||
(h = !1),
|
||
(u = 0),
|
||
(p = 0),
|
||
(a = c + 1));
|
||
}
|
||
this.bMarks.push(i.length),
|
||
this.eMarks.push(i.length),
|
||
this.tShift.push(0),
|
||
this.sCount.push(0),
|
||
this.bsCount.push(0),
|
||
(this.lineMax = this.bMarks.length - 1);
|
||
}
|
||
var o = e("../token"),
|
||
s = e("../common/utils").isSpace;
|
||
(n.prototype.push = function (e, r, t) {
|
||
var n = new o(e, r, t);
|
||
return (
|
||
(n.block = !0),
|
||
t < 0 && this.level--,
|
||
(n.level = this.level),
|
||
t > 0 && this.level++,
|
||
this.tokens.push(n),
|
||
n
|
||
);
|
||
}),
|
||
(n.prototype.isEmpty = function (e) {
|
||
return this.bMarks[e] + this.tShift[e] >= this.eMarks[e];
|
||
}),
|
||
(n.prototype.skipEmptyLines = function (e) {
|
||
for (
|
||
var r = this.lineMax;
|
||
e < r && !(this.bMarks[e] + this.tShift[e] < this.eMarks[e]);
|
||
e++
|
||
);
|
||
return e;
|
||
}),
|
||
(n.prototype.skipSpaces = function (e) {
|
||
for (
|
||
var r, t = this.src.length;
|
||
e < t && ((r = this.src.charCodeAt(e)), s(r));
|
||
e++
|
||
);
|
||
return e;
|
||
}),
|
||
(n.prototype.skipSpacesBack = function (e, r) {
|
||
if (e <= r) return e;
|
||
for (; e > r; ) if (!s(this.src.charCodeAt(--e))) return e + 1;
|
||
return e;
|
||
}),
|
||
(n.prototype.skipChars = function (e, r) {
|
||
for (
|
||
var t = this.src.length;
|
||
e < t && this.src.charCodeAt(e) === r;
|
||
e++
|
||
);
|
||
return e;
|
||
}),
|
||
(n.prototype.skipCharsBack = function (e, r, t) {
|
||
if (e <= t) return e;
|
||
for (; e > t; )
|
||
if (r !== this.src.charCodeAt(--e)) return e + 1;
|
||
return e;
|
||
}),
|
||
(n.prototype.getLines = function (e, r, t, n) {
|
||
var o,
|
||
i,
|
||
a,
|
||
c,
|
||
l,
|
||
u,
|
||
p,
|
||
h = e;
|
||
if (e >= r) return "";
|
||
for (u = new Array(r - e), o = 0; h < r; h++, o++) {
|
||
for (
|
||
i = 0,
|
||
p = c = this.bMarks[h],
|
||
l = h + 1 < r || n ? this.eMarks[h] + 1 : this.eMarks[h];
|
||
c < l && i < t;
|
||
|
||
) {
|
||
if (((a = this.src.charCodeAt(c)), s(a)))
|
||
9 === a ? (i += 4 - ((i + this.bsCount[h]) % 4)) : i++;
|
||
else {
|
||
if (!(c - p < this.tShift[h])) break;
|
||
i++;
|
||
}
|
||
c++;
|
||
}
|
||
u[o] =
|
||
i > t
|
||
? new Array(i - t + 1).join(" ") + this.src.slice(c, l)
|
||
: this.src.slice(c, l);
|
||
}
|
||
return u.join("");
|
||
}),
|
||
(n.prototype.Token = o),
|
||
(r.exports = n);
|
||
},
|
||
{ "../common/utils": 4, "../token": 51 },
|
||
],
|
||
29: [
|
||
function (e, r, t) {
|
||
function n(e, r) {
|
||
var t = e.bMarks[r] + e.blkIndent,
|
||
n = e.eMarks[r];
|
||
return e.src.substr(t, n - t);
|
||
}
|
||
function o(e) {
|
||
var r,
|
||
t = [],
|
||
n = 0,
|
||
o = e.length,
|
||
s = 0,
|
||
i = 0,
|
||
a = !1,
|
||
c = 0;
|
||
for (r = e.charCodeAt(n); n < o; )
|
||
96 === r
|
||
? a
|
||
? ((a = !1), (c = n))
|
||
: s % 2 == 0 && ((a = !0), (c = n))
|
||
: 124 !== r ||
|
||
s % 2 != 0 ||
|
||
a ||
|
||
(t.push(e.substring(i, n)), (i = n + 1)),
|
||
92 === r ? s++ : (s = 0),
|
||
++n === o && a && ((a = !1), (n = c + 1)),
|
||
(r = e.charCodeAt(n));
|
||
return t.push(e.substring(i)), t;
|
||
}
|
||
var s = e("../common/utils").isSpace;
|
||
r.exports = function (e, r, t, i) {
|
||
var a, c, l, u, p, h, f, d, m, _, g, b;
|
||
if (r + 2 > t) return !1;
|
||
if (((p = r + 1), e.sCount[p] < e.blkIndent)) return !1;
|
||
if (e.sCount[p] - e.blkIndent >= 4) return !1;
|
||
if ((l = e.bMarks[p] + e.tShift[p]) >= e.eMarks[p]) return !1;
|
||
if (124 !== (a = e.src.charCodeAt(l++)) && 45 !== a && 58 !== a)
|
||
return !1;
|
||
for (; l < e.eMarks[p]; ) {
|
||
if (
|
||
124 !== (a = e.src.charCodeAt(l)) &&
|
||
45 !== a &&
|
||
58 !== a &&
|
||
!s(a)
|
||
)
|
||
return !1;
|
||
l++;
|
||
}
|
||
for (
|
||
h = (c = n(e, r + 1)).split("|"), m = [], u = 0;
|
||
u < h.length;
|
||
u++
|
||
) {
|
||
if (!(_ = h[u].trim())) {
|
||
if (0 === u || u === h.length - 1) continue;
|
||
return !1;
|
||
}
|
||
if (!/^:?-+:?$/.test(_)) return !1;
|
||
58 === _.charCodeAt(_.length - 1)
|
||
? m.push(58 === _.charCodeAt(0) ? "center" : "right")
|
||
: 58 === _.charCodeAt(0)
|
||
? m.push("left")
|
||
: m.push("");
|
||
}
|
||
if (-1 === (c = n(e, r).trim()).indexOf("|")) return !1;
|
||
if (e.sCount[r] - e.blkIndent >= 4) return !1;
|
||
if ((f = (h = o(c.replace(/^\||\|$/g, ""))).length) > m.length)
|
||
return !1;
|
||
if (i) return !0;
|
||
for (
|
||
(d = e.push("table_open", "table", 1)).map = g = [r, 0],
|
||
(d = e.push("thead_open", "thead", 1)).map = [r, r + 1],
|
||
(d = e.push("tr_open", "tr", 1)).map = [r, r + 1],
|
||
u = 0;
|
||
u < h.length;
|
||
u++
|
||
)
|
||
((d = e.push("th_open", "th", 1)).map = [r, r + 1]),
|
||
m[u] && (d.attrs = [["style", "text-align:" + m[u]]]),
|
||
((d = e.push("inline", "", 0)).content = h[u].trim()),
|
||
(d.map = [r, r + 1]),
|
||
(d.children = []),
|
||
(d = e.push("th_close", "th", -1));
|
||
for (
|
||
d = e.push("tr_close", "tr", -1),
|
||
d = e.push("thead_close", "thead", -1),
|
||
(d = e.push("tbody_open", "tbody", 1)).map = b = [r + 2, 0],
|
||
p = r + 2;
|
||
p < t &&
|
||
!(e.sCount[p] < e.blkIndent) &&
|
||
-1 !== (c = n(e, p).trim()).indexOf("|") &&
|
||
!(e.sCount[p] - e.blkIndent >= 4);
|
||
p++
|
||
) {
|
||
for (
|
||
h = o(c.replace(/^\||\|$/g, "")),
|
||
d = e.push("tr_open", "tr", 1),
|
||
u = 0;
|
||
u < f;
|
||
u++
|
||
)
|
||
(d = e.push("td_open", "td", 1)),
|
||
m[u] && (d.attrs = [["style", "text-align:" + m[u]]]),
|
||
((d = e.push("inline", "", 0)).content = h[u]
|
||
? h[u].trim()
|
||
: ""),
|
||
(d.children = []),
|
||
(d = e.push("td_close", "td", -1));
|
||
d = e.push("tr_close", "tr", -1);
|
||
}
|
||
return (
|
||
(d = e.push("tbody_close", "tbody", -1)),
|
||
(d = e.push("table_close", "table", -1)),
|
||
(g[1] = b[1] = p),
|
||
(e.line = p),
|
||
!0
|
||
);
|
||
};
|
||
},
|
||
{ "../common/utils": 4 },
|
||
],
|
||
30: [
|
||
function (e, r, t) {
|
||
r.exports = function (e) {
|
||
var r;
|
||
e.inlineMode
|
||
? (((r = new e.Token("inline", "", 0)).content = e.src),
|
||
(r.map = [0, 1]),
|
||
(r.children = []),
|
||
e.tokens.push(r))
|
||
: e.md.block.parse(e.src, e.md, e.env, e.tokens);
|
||
};
|
||
},
|
||
{},
|
||
],
|
||
31: [
|
||
function (e, r, t) {
|
||
r.exports = function (e) {
|
||
var r,
|
||
t,
|
||
n,
|
||
o = e.tokens;
|
||
for (t = 0, n = o.length; t < n; t++)
|
||
"inline" === (r = o[t]).type &&
|
||
e.md.inline.parse(r.content, e.md, e.env, r.children);
|
||
};
|
||
},
|
||
{},
|
||
],
|
||
32: [
|
||
function (e, r, t) {
|
||
function n(e) {
|
||
return /^<a[>\s]/i.test(e);
|
||
}
|
||
function o(e) {
|
||
return /^<\/a\s*>/i.test(e);
|
||
}
|
||
var s = e("../common/utils").arrayReplaceAt;
|
||
r.exports = function (e) {
|
||
var r,
|
||
t,
|
||
i,
|
||
a,
|
||
c,
|
||
l,
|
||
u,
|
||
p,
|
||
h,
|
||
f,
|
||
d,
|
||
m,
|
||
_,
|
||
g,
|
||
b,
|
||
k,
|
||
v,
|
||
y = e.tokens;
|
||
if (e.md.options.linkify)
|
||
for (t = 0, i = y.length; t < i; t++)
|
||
if (
|
||
"inline" === y[t].type &&
|
||
e.md.linkify.pretest(y[t].content)
|
||
)
|
||
for (_ = 0, r = (a = y[t].children).length - 1; r >= 0; r--)
|
||
if ("link_close" !== (l = a[r]).type) {
|
||
if (
|
||
("html_inline" === l.type &&
|
||
(n(l.content) && _ > 0 && _--, o(l.content) && _++),
|
||
!(_ > 0) &&
|
||
"text" === l.type &&
|
||
e.md.linkify.test(l.content))
|
||
) {
|
||
for (
|
||
h = l.content,
|
||
v = e.md.linkify.match(h),
|
||
u = [],
|
||
m = l.level,
|
||
d = 0,
|
||
p = 0;
|
||
p < v.length;
|
||
p++
|
||
)
|
||
(g = v[p].url),
|
||
(b = e.md.normalizeLink(g)),
|
||
e.md.validateLink(b) &&
|
||
((k = v[p].text),
|
||
(k = v[p].schema
|
||
? "mailto:" !== v[p].schema ||
|
||
/^mailto:/i.test(k)
|
||
? e.md.normalizeLinkText(k)
|
||
: e.md
|
||
.normalizeLinkText("mailto:" + k)
|
||
.replace(/^mailto:/, "")
|
||
: e.md
|
||
.normalizeLinkText("http://" + k)
|
||
.replace(/^http:\/\//, "")),
|
||
(f = v[p].index) > d &&
|
||
(((c = new e.Token("text", "", 0)).content =
|
||
h.slice(d, f)),
|
||
(c.level = m),
|
||
u.push(c)),
|
||
((c = new e.Token("link_open", "a", 1)).attrs =
|
||
[["href", b]]),
|
||
(c.level = m++),
|
||
(c.markup = "linkify"),
|
||
(c.info = "auto"),
|
||
u.push(c),
|
||
((c = new e.Token("text", "", 0)).content = k),
|
||
(c.level = m),
|
||
u.push(c),
|
||
((c = new e.Token(
|
||
"link_close",
|
||
"a",
|
||
-1
|
||
)).level = --m),
|
||
(c.markup = "linkify"),
|
||
(c.info = "auto"),
|
||
u.push(c),
|
||
(d = v[p].lastIndex));
|
||
d < h.length &&
|
||
(((c = new e.Token("text", "", 0)).content =
|
||
h.slice(d)),
|
||
(c.level = m),
|
||
u.push(c)),
|
||
(y[t].children = a = s(a, r, u));
|
||
}
|
||
} else
|
||
for (
|
||
r--;
|
||
a[r].level !== l.level && "link_open" !== a[r].type;
|
||
|
||
)
|
||
r--;
|
||
};
|
||
},
|
||
{ "../common/utils": 4 },
|
||
],
|
||
33: [
|
||
function (e, r, t) {
|
||
r.exports = function (e) {
|
||
var r;
|
||
(r = (r = e.src.replace(
|
||
/\r[\n\u0085]?|[\u2424\u2028\u0085]/g,
|
||
"\n"
|
||
)).replace(/\u0000/g, "<22>")),
|
||
(e.src = r);
|
||
};
|
||
},
|
||
{},
|
||
],
|
||
34: [
|
||
function (e, r, t) {
|
||
function n(e, r) {
|
||
return c[r.toLowerCase()];
|
||
}
|
||
function o(e) {
|
||
var r,
|
||
t,
|
||
o = 0;
|
||
for (r = e.length - 1; r >= 0; r--)
|
||
"text" !== (t = e[r]).type ||
|
||
o ||
|
||
(t.content = t.content.replace(/\((c|tm|r|p)\)/gi, n)),
|
||
"link_open" === t.type && "auto" === t.info && o--,
|
||
"link_close" === t.type && "auto" === t.info && o++;
|
||
}
|
||
function s(e) {
|
||
var r,
|
||
t,
|
||
n = 0;
|
||
for (r = e.length - 1; r >= 0; r--)
|
||
"text" !== (t = e[r]).type ||
|
||
n ||
|
||
(i.test(t.content) &&
|
||
(t.content = t.content
|
||
.replace(/\+-/g, "±")
|
||
.replace(/\.{2,}/g, "…")
|
||
.replace(/([?!])\u2026/g, "$1..")
|
||
.replace(/([?!]){4,}/g, "$1$1$1")
|
||
.replace(/,{2,}/g, ",")
|
||
.replace(/(^|[^-])---([^-]|$)/gm, "$1—$2")
|
||
.replace(/(^|\s)--(\s|$)/gm, "$1–$2")
|
||
.replace(/(^|[^-\s])--([^-\s]|$)/gm, "$1–$2"))),
|
||
"link_open" === t.type && "auto" === t.info && n--,
|
||
"link_close" === t.type && "auto" === t.info && n++;
|
||
}
|
||
var i = /\+-|\.\.|\?\?\?\?|!!!!|,,|--/,
|
||
a = /\((c|tm|r|p)\)/i,
|
||
c = { c: "©", r: "®", p: "§", tm: "™" };
|
||
r.exports = function (e) {
|
||
var r;
|
||
if (e.md.options.typographer)
|
||
for (r = e.tokens.length - 1; r >= 0; r--)
|
||
"inline" === e.tokens[r].type &&
|
||
(a.test(e.tokens[r].content) && o(e.tokens[r].children),
|
||
i.test(e.tokens[r].content) && s(e.tokens[r].children));
|
||
};
|
||
},
|
||
{},
|
||
],
|
||
35: [
|
||
function (e, r, t) {
|
||
function n(e, r, t) {
|
||
return e.substr(0, r) + t + e.substr(r + 1);
|
||
}
|
||
function o(e, r) {
|
||
var t, o, c, u, p, h, f, d, m, _, g, b, k, v, y, x, C, A, w, D, q;
|
||
for (w = [], t = 0; t < e.length; t++) {
|
||
for (
|
||
o = e[t], f = e[t].level, C = w.length - 1;
|
||
C >= 0 && !(w[C].level <= f);
|
||
C--
|
||
);
|
||
if (((w.length = C + 1), "text" === o.type)) {
|
||
(p = 0), (h = (c = o.content).length);
|
||
e: for (; p < h && ((l.lastIndex = p), (u = l.exec(c))); ) {
|
||
if (
|
||
((y = x = !0),
|
||
(p = u.index + 1),
|
||
(A = "'" === u[0]),
|
||
(m = 32),
|
||
u.index - 1 >= 0)
|
||
)
|
||
m = c.charCodeAt(u.index - 1);
|
||
else
|
||
for (C = t - 1; C >= 0; C--)
|
||
if ("text" === e[C].type) {
|
||
m = e[C].content.charCodeAt(e[C].content.length - 1);
|
||
break;
|
||
}
|
||
if (((_ = 32), p < h)) _ = c.charCodeAt(p);
|
||
else
|
||
for (C = t + 1; C < e.length; C++)
|
||
if ("text" === e[C].type) {
|
||
_ = e[C].content.charCodeAt(0);
|
||
break;
|
||
}
|
||
if (
|
||
((g = a(m) || i(String.fromCharCode(m))),
|
||
(b = a(_) || i(String.fromCharCode(_))),
|
||
(k = s(m)),
|
||
(v = s(_)) ? (y = !1) : b && (k || g || (y = !1)),
|
||
k ? (x = !1) : g && (v || b || (x = !1)),
|
||
34 === _ &&
|
||
'"' === u[0] &&
|
||
m >= 48 &&
|
||
m <= 57 &&
|
||
(x = y = !1),
|
||
y && x && ((y = !1), (x = b)),
|
||
y || x)
|
||
) {
|
||
if (x)
|
||
for (
|
||
C = w.length - 1;
|
||
C >= 0 && ((d = w[C]), !(w[C].level < f));
|
||
C--
|
||
)
|
||
if (d.single === A && w[C].level === f) {
|
||
(d = w[C]),
|
||
A
|
||
? ((D = r.md.options.quotes[2]),
|
||
(q = r.md.options.quotes[3]))
|
||
: ((D = r.md.options.quotes[0]),
|
||
(q = r.md.options.quotes[1])),
|
||
(o.content = n(o.content, u.index, q)),
|
||
(e[d.token].content = n(
|
||
e[d.token].content,
|
||
d.pos,
|
||
D
|
||
)),
|
||
(p += q.length - 1),
|
||
d.token === t && (p += D.length - 1),
|
||
(h = (c = o.content).length),
|
||
(w.length = C);
|
||
continue e;
|
||
}
|
||
y
|
||
? w.push({
|
||
token: t,
|
||
pos: u.index,
|
||
single: A,
|
||
level: f,
|
||
})
|
||
: x && A && (o.content = n(o.content, u.index, "’"));
|
||
} else A && (o.content = n(o.content, u.index, "’"));
|
||
}
|
||
}
|
||
}
|
||
}
|
||
var s = e("../common/utils").isWhiteSpace,
|
||
i = e("../common/utils").isPunctChar,
|
||
a = e("../common/utils").isMdAsciiPunct,
|
||
c = /['"]/,
|
||
l = /['"]/g;
|
||
r.exports = function (e) {
|
||
var r;
|
||
if (e.md.options.typographer)
|
||
for (r = e.tokens.length - 1; r >= 0; r--)
|
||
"inline" === e.tokens[r].type &&
|
||
c.test(e.tokens[r].content) &&
|
||
o(e.tokens[r].children, e);
|
||
};
|
||
},
|
||
{ "../common/utils": 4 },
|
||
],
|
||
36: [
|
||
function (e, r, t) {
|
||
function n(e, r, t) {
|
||
(this.src = e),
|
||
(this.env = t),
|
||
(this.tokens = []),
|
||
(this.inlineMode = !1),
|
||
(this.md = r);
|
||
}
|
||
var o = e("../token");
|
||
(n.prototype.Token = o), (r.exports = n);
|
||
},
|
||
{ "../token": 51 },
|
||
],
|
||
37: [
|
||
function (e, r, t) {
|
||
var n =
|
||
/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,
|
||
o = /^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;
|
||
r.exports = function (e, r) {
|
||
var t,
|
||
s,
|
||
i,
|
||
a,
|
||
c,
|
||
l,
|
||
u = e.pos;
|
||
return (
|
||
60 === e.src.charCodeAt(u) &&
|
||
!(
|
||
(t = e.src.slice(u)).indexOf(">") < 0 ||
|
||
(o.test(t)
|
||
? ((s = t.match(o)),
|
||
(a = s[0].slice(1, -1)),
|
||
(c = e.md.normalizeLink(a)),
|
||
!e.md.validateLink(c) ||
|
||
(r ||
|
||
((l = e.push("link_open", "a", 1)),
|
||
(l.attrs = [["href", c]]),
|
||
(l.markup = "autolink"),
|
||
(l.info = "auto"),
|
||
(l = e.push("text", "", 0)),
|
||
(l.content = e.md.normalizeLinkText(a)),
|
||
(l = e.push("link_close", "a", -1)),
|
||
(l.markup = "autolink"),
|
||
(l.info = "auto")),
|
||
(e.pos += s[0].length),
|
||
0))
|
||
: !n.test(t) ||
|
||
((i = t.match(n)),
|
||
(a = i[0].slice(1, -1)),
|
||
(c = e.md.normalizeLink("mailto:" + a)),
|
||
!e.md.validateLink(c) ||
|
||
(r ||
|
||
((l = e.push("link_open", "a", 1)),
|
||
(l.attrs = [["href", c]]),
|
||
(l.markup = "autolink"),
|
||
(l.info = "auto"),
|
||
(l = e.push("text", "", 0)),
|
||
(l.content = e.md.normalizeLinkText(a)),
|
||
(l = e.push("link_close", "a", -1)),
|
||
(l.markup = "autolink"),
|
||
(l.info = "auto")),
|
||
(e.pos += i[0].length),
|
||
0)))
|
||
)
|
||
);
|
||
};
|
||
},
|
||
{},
|
||
],
|
||
38: [
|
||
function (e, r, t) {
|
||
r.exports = function (e, r) {
|
||
var t,
|
||
n,
|
||
o,
|
||
s,
|
||
i,
|
||
a,
|
||
c = e.pos;
|
||
if (96 !== e.src.charCodeAt(c)) return !1;
|
||
for (
|
||
t = c, c++, n = e.posMax;
|
||
c < n && 96 === e.src.charCodeAt(c);
|
||
|
||
)
|
||
c++;
|
||
for (
|
||
o = e.src.slice(t, c), s = i = c;
|
||
-1 !== (s = e.src.indexOf("`", i));
|
||
|
||
) {
|
||
for (i = s + 1; i < n && 96 === e.src.charCodeAt(i); ) i++;
|
||
if (i - s === o.length)
|
||
return (
|
||
r ||
|
||
(((a = e.push("code_inline", "code", 0)).markup = o),
|
||
(a.content = e.src
|
||
.slice(c, s)
|
||
.replace(/[ \n]+/g, " ")
|
||
.trim())),
|
||
(e.pos = i),
|
||
!0
|
||
);
|
||
}
|
||
return r || (e.pending += o), (e.pos += o.length), !0;
|
||
};
|
||
},
|
||
{},
|
||
],
|
||
39: [
|
||
function (e, r, t) {
|
||
r.exports = function (e) {
|
||
var r,
|
||
t,
|
||
n,
|
||
o,
|
||
s = e.delimiters,
|
||
i = e.delimiters.length;
|
||
for (r = 0; r < i; r++)
|
||
if ((n = s[r]).close)
|
||
for (t = r - n.jump - 1; t >= 0; ) {
|
||
if (
|
||
(o = s[t]).open &&
|
||
o.marker === n.marker &&
|
||
o.end < 0 &&
|
||
o.level === n.level &&
|
||
((!o.close && !n.open) ||
|
||
void 0 === o.length ||
|
||
void 0 === n.length ||
|
||
(o.length + n.length) % 3 != 0)
|
||
) {
|
||
(n.jump = r - t),
|
||
(n.open = !1),
|
||
(o.end = r),
|
||
(o.jump = 0);
|
||
break;
|
||
}
|
||
t -= o.jump + 1;
|
||
}
|
||
};
|
||
},
|
||
{},
|
||
],
|
||
40: [
|
||
function (e, r, t) {
|
||
(r.exports.tokenize = function (e, r) {
|
||
var t,
|
||
n,
|
||
o = e.pos,
|
||
s = e.src.charCodeAt(o);
|
||
if (r) return !1;
|
||
if (95 !== s && 42 !== s) return !1;
|
||
for (n = e.scanDelims(e.pos, 42 === s), t = 0; t < n.length; t++)
|
||
(e.push("text", "", 0).content = String.fromCharCode(s)),
|
||
e.delimiters.push({
|
||
marker: s,
|
||
length: n.length,
|
||
jump: t,
|
||
token: e.tokens.length - 1,
|
||
level: e.level,
|
||
end: -1,
|
||
open: n.can_open,
|
||
close: n.can_close,
|
||
});
|
||
return (e.pos += n.length), !0;
|
||
}),
|
||
(r.exports.postProcess = function (e) {
|
||
var r,
|
||
t,
|
||
n,
|
||
o,
|
||
s,
|
||
i,
|
||
a = e.delimiters,
|
||
c = e.delimiters.length;
|
||
for (r = 0; r < c; r++)
|
||
(95 !== (t = a[r]).marker && 42 !== t.marker) ||
|
||
(-1 !== t.end &&
|
||
((n = a[t.end]),
|
||
(i =
|
||
r + 1 < c &&
|
||
a[r + 1].end === t.end - 1 &&
|
||
a[r + 1].token === t.token + 1 &&
|
||
a[t.end - 1].token === n.token - 1 &&
|
||
a[r + 1].marker === t.marker),
|
||
(s = String.fromCharCode(t.marker)),
|
||
((o = e.tokens[t.token]).type = i
|
||
? "strong_open"
|
||
: "em_open"),
|
||
(o.tag = i ? "strong" : "em"),
|
||
(o.nesting = 1),
|
||
(o.markup = i ? s + s : s),
|
||
(o.content = ""),
|
||
((o = e.tokens[n.token]).type = i
|
||
? "strong_close"
|
||
: "em_close"),
|
||
(o.tag = i ? "strong" : "em"),
|
||
(o.nesting = -1),
|
||
(o.markup = i ? s + s : s),
|
||
(o.content = ""),
|
||
i &&
|
||
((e.tokens[a[r + 1].token].content = ""),
|
||
(e.tokens[a[t.end - 1].token].content = ""),
|
||
r++)));
|
||
});
|
||
},
|
||
{},
|
||
],
|
||
41: [
|
||
function (e, r, t) {
|
||
var n = e("../common/entities"),
|
||
o = e("../common/utils").has,
|
||
s = e("../common/utils").isValidEntityCode,
|
||
i = e("../common/utils").fromCodePoint;
|
||
r.exports = function (e, r) {
|
||
var t,
|
||
a,
|
||
c = e.pos,
|
||
l = e.posMax;
|
||
if (38 !== e.src.charCodeAt(c)) return !1;
|
||
if (c + 1 < l)
|
||
if (35 === e.src.charCodeAt(c + 1)) {
|
||
if (
|
||
(a = e.src
|
||
.slice(c)
|
||
.match(/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i))
|
||
)
|
||
return (
|
||
r ||
|
||
((t =
|
||
"x" === a[1][0].toLowerCase()
|
||
? parseInt(a[1].slice(1), 16)
|
||
: parseInt(a[1], 10)),
|
||
(e.pending += i(s(t) ? t : 65533))),
|
||
(e.pos += a[0].length),
|
||
!0
|
||
);
|
||
} else if (
|
||
(a = e.src.slice(c).match(/^&([a-z][a-z0-9]{1,31});/i)) &&
|
||
o(n, a[1])
|
||
)
|
||
return (
|
||
r || (e.pending += n[a[1]]), (e.pos += a[0].length), !0
|
||
);
|
||
return r || (e.pending += "&"), e.pos++, !0;
|
||
};
|
||
},
|
||
{ "../common/entities": 1, "../common/utils": 4 },
|
||
],
|
||
42: [
|
||
function (e, r, t) {
|
||
for (
|
||
var n = e("../common/utils").isSpace, o = [], s = 0;
|
||
s < 256;
|
||
s++
|
||
)
|
||
o.push(0);
|
||
"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-"
|
||
.split("")
|
||
.forEach(function (e) {
|
||
o[e.charCodeAt(0)] = 1;
|
||
}),
|
||
(r.exports = function (e, r) {
|
||
var t,
|
||
s = e.pos,
|
||
i = e.posMax;
|
||
if (92 !== e.src.charCodeAt(s)) return !1;
|
||
if (++s < i) {
|
||
if ((t = e.src.charCodeAt(s)) < 256 && 0 !== o[t])
|
||
return r || (e.pending += e.src[s]), (e.pos += 2), !0;
|
||
if (10 === t) {
|
||
for (
|
||
r || e.push("hardbreak", "br", 0), s++;
|
||
s < i && ((t = e.src.charCodeAt(s)), n(t));
|
||
|
||
)
|
||
s++;
|
||
return (e.pos = s), !0;
|
||
}
|
||
}
|
||
return r || (e.pending += "\\"), e.pos++, !0;
|
||
});
|
||
},
|
||
{ "../common/utils": 4 },
|
||
],
|
||
43: [
|
||
function (e, r, t) {
|
||
var n = e("../common/html_re").HTML_TAG_RE;
|
||
r.exports = function (e, r) {
|
||
var t,
|
||
o,
|
||
s,
|
||
i,
|
||
a = e.pos;
|
||
return !(
|
||
!e.md.options.html ||
|
||
((s = e.posMax),
|
||
60 !== e.src.charCodeAt(a) ||
|
||
a + 2 >= s ||
|
||
(33 !== (t = e.src.charCodeAt(a + 1)) &&
|
||
63 !== t &&
|
||
47 !== t &&
|
||
!(function (e) {
|
||
var r = 32 | e;
|
||
return r >= 97 && r <= 122;
|
||
})(t)) ||
|
||
!(o = e.src.slice(a).match(n)) ||
|
||
(r ||
|
||
((i = e.push("html_inline", "", 0)),
|
||
(i.content = e.src.slice(a, a + o[0].length))),
|
||
(e.pos += o[0].length),
|
||
0))
|
||
);
|
||
};
|
||
},
|
||
{ "../common/html_re": 3 },
|
||
],
|
||
44: [
|
||
function (e, r, t) {
|
||
var n = e("../common/utils").normalizeReference,
|
||
o = e("../common/utils").isSpace;
|
||
r.exports = function (e, r) {
|
||
var t,
|
||
s,
|
||
i,
|
||
a,
|
||
c,
|
||
l,
|
||
u,
|
||
p,
|
||
h,
|
||
f,
|
||
d,
|
||
m,
|
||
_,
|
||
g = "",
|
||
b = e.pos,
|
||
k = e.posMax;
|
||
if (33 !== e.src.charCodeAt(e.pos)) return !1;
|
||
if (91 !== e.src.charCodeAt(e.pos + 1)) return !1;
|
||
if (
|
||
((l = e.pos + 2),
|
||
(c = e.md.helpers.parseLinkLabel(e, e.pos + 1, !1)) < 0)
|
||
)
|
||
return !1;
|
||
if ((u = c + 1) < k && 40 === e.src.charCodeAt(u)) {
|
||
for (
|
||
u++;
|
||
u < k && ((s = e.src.charCodeAt(u)), o(s) || 10 === s);
|
||
u++
|
||
);
|
||
if (u >= k) return !1;
|
||
for (
|
||
_ = u,
|
||
(h = e.md.helpers.parseLinkDestination(e.src, u, e.posMax))
|
||
.ok &&
|
||
((g = e.md.normalizeLink(h.str)),
|
||
e.md.validateLink(g) ? (u = h.pos) : (g = "")),
|
||
_ = u;
|
||
u < k && ((s = e.src.charCodeAt(u)), o(s) || 10 === s);
|
||
u++
|
||
);
|
||
if (
|
||
((h = e.md.helpers.parseLinkTitle(e.src, u, e.posMax)),
|
||
u < k && _ !== u && h.ok)
|
||
)
|
||
for (
|
||
f = h.str, u = h.pos;
|
||
u < k && ((s = e.src.charCodeAt(u)), o(s) || 10 === s);
|
||
u++
|
||
);
|
||
else f = "";
|
||
if (u >= k || 41 !== e.src.charCodeAt(u))
|
||
return (e.pos = b), !1;
|
||
u++;
|
||
} else {
|
||
if (void 0 === e.env.references) return !1;
|
||
if (
|
||
(u < k && 91 === e.src.charCodeAt(u)
|
||
? ((_ = u + 1),
|
||
(u = e.md.helpers.parseLinkLabel(e, u)) >= 0
|
||
? (a = e.src.slice(_, u++))
|
||
: (u = c + 1))
|
||
: (u = c + 1),
|
||
a || (a = e.src.slice(l, c)),
|
||
!(p = e.env.references[n(a)]))
|
||
)
|
||
return (e.pos = b), !1;
|
||
(g = p.href), (f = p.title);
|
||
}
|
||
return (
|
||
r ||
|
||
((i = e.src.slice(l, c)),
|
||
e.md.inline.parse(i, e.md, e.env, (m = [])),
|
||
((d = e.push("image", "img", 0)).attrs = t =
|
||
[
|
||
["src", g],
|
||
["alt", ""],
|
||
]),
|
||
(d.children = m),
|
||
(d.content = i),
|
||
f && t.push(["title", f])),
|
||
(e.pos = u),
|
||
(e.posMax = k),
|
||
!0
|
||
);
|
||
};
|
||
},
|
||
{ "../common/utils": 4 },
|
||
],
|
||
45: [
|
||
function (e, r, t) {
|
||
var n = e("../common/utils").normalizeReference,
|
||
o = e("../common/utils").isSpace;
|
||
r.exports = function (e, r) {
|
||
var t,
|
||
s,
|
||
i,
|
||
a,
|
||
c,
|
||
l,
|
||
u,
|
||
p,
|
||
h,
|
||
f = "",
|
||
d = e.pos,
|
||
m = e.posMax,
|
||
_ = e.pos,
|
||
g = !0;
|
||
if (91 !== e.src.charCodeAt(e.pos)) return !1;
|
||
if (
|
||
((c = e.pos + 1),
|
||
(a = e.md.helpers.parseLinkLabel(e, e.pos, !0)) < 0)
|
||
)
|
||
return !1;
|
||
if ((l = a + 1) < m && 40 === e.src.charCodeAt(l)) {
|
||
for (
|
||
g = !1, l++;
|
||
l < m && ((s = e.src.charCodeAt(l)), o(s) || 10 === s);
|
||
l++
|
||
);
|
||
if (l >= m) return !1;
|
||
for (
|
||
_ = l,
|
||
(u = e.md.helpers.parseLinkDestination(e.src, l, e.posMax))
|
||
.ok &&
|
||
((f = e.md.normalizeLink(u.str)),
|
||
e.md.validateLink(f) ? (l = u.pos) : (f = "")),
|
||
_ = l;
|
||
l < m && ((s = e.src.charCodeAt(l)), o(s) || 10 === s);
|
||
l++
|
||
);
|
||
if (
|
||
((u = e.md.helpers.parseLinkTitle(e.src, l, e.posMax)),
|
||
l < m && _ !== l && u.ok)
|
||
)
|
||
for (
|
||
h = u.str, l = u.pos;
|
||
l < m && ((s = e.src.charCodeAt(l)), o(s) || 10 === s);
|
||
l++
|
||
);
|
||
else h = "";
|
||
(l >= m || 41 !== e.src.charCodeAt(l)) && (g = !0), l++;
|
||
}
|
||
if (g) {
|
||
if (void 0 === e.env.references) return !1;
|
||
if (
|
||
(l < m && 91 === e.src.charCodeAt(l)
|
||
? ((_ = l + 1),
|
||
(l = e.md.helpers.parseLinkLabel(e, l)) >= 0
|
||
? (i = e.src.slice(_, l++))
|
||
: (l = a + 1))
|
||
: (l = a + 1),
|
||
i || (i = e.src.slice(c, a)),
|
||
!(p = e.env.references[n(i)]))
|
||
)
|
||
return (e.pos = d), !1;
|
||
(f = p.href), (h = p.title);
|
||
}
|
||
return (
|
||
r ||
|
||
((e.pos = c),
|
||
(e.posMax = a),
|
||
(e.push("link_open", "a", 1).attrs = t = [["href", f]]),
|
||
h && t.push(["title", h]),
|
||
e.md.inline.tokenize(e),
|
||
e.push("link_close", "a", -1)),
|
||
(e.pos = l),
|
||
(e.posMax = m),
|
||
!0
|
||
);
|
||
};
|
||
},
|
||
{ "../common/utils": 4 },
|
||
],
|
||
46: [
|
||
function (e, r, t) {
|
||
var n = e("../common/utils").isSpace;
|
||
r.exports = function (e, r) {
|
||
var t,
|
||
o,
|
||
s = e.pos;
|
||
if (10 !== e.src.charCodeAt(s)) return !1;
|
||
for (
|
||
t = e.pending.length - 1,
|
||
o = e.posMax,
|
||
r ||
|
||
(t >= 0 && 32 === e.pending.charCodeAt(t)
|
||
? t >= 1 && 32 === e.pending.charCodeAt(t - 1)
|
||
? ((e.pending = e.pending.replace(/ +$/, "")),
|
||
e.push("hardbreak", "br", 0))
|
||
: ((e.pending = e.pending.slice(0, -1)),
|
||
e.push("softbreak", "br", 0))
|
||
: e.push("softbreak", "br", 0)),
|
||
s++;
|
||
s < o && n(e.src.charCodeAt(s));
|
||
|
||
)
|
||
s++;
|
||
return (e.pos = s), !0;
|
||
};
|
||
},
|
||
{ "../common/utils": 4 },
|
||
],
|
||
47: [
|
||
function (e, r, t) {
|
||
function n(e, r, t, n) {
|
||
(this.src = e),
|
||
(this.env = t),
|
||
(this.md = r),
|
||
(this.tokens = n),
|
||
(this.pos = 0),
|
||
(this.posMax = this.src.length),
|
||
(this.level = 0),
|
||
(this.pending = ""),
|
||
(this.pendingLevel = 0),
|
||
(this.cache = {}),
|
||
(this.delimiters = []);
|
||
}
|
||
var o = e("../token"),
|
||
s = e("../common/utils").isWhiteSpace,
|
||
i = e("../common/utils").isPunctChar,
|
||
a = e("../common/utils").isMdAsciiPunct;
|
||
(n.prototype.pushPending = function () {
|
||
var e = new o("text", "", 0);
|
||
return (
|
||
(e.content = this.pending),
|
||
(e.level = this.pendingLevel),
|
||
this.tokens.push(e),
|
||
(this.pending = ""),
|
||
e
|
||
);
|
||
}),
|
||
(n.prototype.push = function (e, r, t) {
|
||
this.pending && this.pushPending();
|
||
var n = new o(e, r, t);
|
||
return (
|
||
t < 0 && this.level--,
|
||
(n.level = this.level),
|
||
t > 0 && this.level++,
|
||
(this.pendingLevel = this.level),
|
||
this.tokens.push(n),
|
||
n
|
||
);
|
||
}),
|
||
(n.prototype.scanDelims = function (e, r) {
|
||
var t,
|
||
n,
|
||
o,
|
||
c,
|
||
l,
|
||
u,
|
||
p,
|
||
h,
|
||
f,
|
||
d = e,
|
||
m = !0,
|
||
_ = !0,
|
||
g = this.posMax,
|
||
b = this.src.charCodeAt(e);
|
||
for (
|
||
t = e > 0 ? this.src.charCodeAt(e - 1) : 32;
|
||
d < g && this.src.charCodeAt(d) === b;
|
||
|
||
)
|
||
d++;
|
||
return (
|
||
(o = d - e),
|
||
(n = d < g ? this.src.charCodeAt(d) : 32),
|
||
(p = a(t) || i(String.fromCharCode(t))),
|
||
(f = a(n) || i(String.fromCharCode(n))),
|
||
(u = s(t)),
|
||
(h = s(n)) ? (m = !1) : f && (u || p || (m = !1)),
|
||
u ? (_ = !1) : p && (h || f || (_ = !1)),
|
||
r
|
||
? ((c = m), (l = _))
|
||
: ((c = m && (!_ || p)), (l = _ && (!m || f))),
|
||
{ can_open: c, can_close: l, length: o }
|
||
);
|
||
}),
|
||
(n.prototype.Token = o),
|
||
(r.exports = n);
|
||
},
|
||
{ "../common/utils": 4, "../token": 51 },
|
||
],
|
||
48: [
|
||
function (e, r, t) {
|
||
(r.exports.tokenize = function (e, r) {
|
||
var t,
|
||
n,
|
||
o,
|
||
s,
|
||
i = e.pos,
|
||
a = e.src.charCodeAt(i);
|
||
if (r) return !1;
|
||
if (126 !== a) return !1;
|
||
if (
|
||
((o = (n = e.scanDelims(e.pos, !0)).length),
|
||
(s = String.fromCharCode(a)),
|
||
o < 2)
|
||
)
|
||
return !1;
|
||
for (
|
||
o % 2 && ((e.push("text", "", 0).content = s), o--), t = 0;
|
||
t < o;
|
||
t += 2
|
||
)
|
||
(e.push("text", "", 0).content = s + s),
|
||
e.delimiters.push({
|
||
marker: a,
|
||
jump: t,
|
||
token: e.tokens.length - 1,
|
||
level: e.level,
|
||
end: -1,
|
||
open: n.can_open,
|
||
close: n.can_close,
|
||
});
|
||
return (e.pos += n.length), !0;
|
||
}),
|
||
(r.exports.postProcess = function (e) {
|
||
var r,
|
||
t,
|
||
n,
|
||
o,
|
||
s,
|
||
i = [],
|
||
a = e.delimiters,
|
||
c = e.delimiters.length;
|
||
for (r = 0; r < c; r++)
|
||
126 === (n = a[r]).marker &&
|
||
-1 !== n.end &&
|
||
((o = a[n.end]),
|
||
((s = e.tokens[n.token]).type = "s_open"),
|
||
(s.tag = "s"),
|
||
(s.nesting = 1),
|
||
(s.markup = "~~"),
|
||
(s.content = ""),
|
||
((s = e.tokens[o.token]).type = "s_close"),
|
||
(s.tag = "s"),
|
||
(s.nesting = -1),
|
||
(s.markup = "~~"),
|
||
(s.content = ""),
|
||
"text" === e.tokens[o.token - 1].type &&
|
||
"~" === e.tokens[o.token - 1].content &&
|
||
i.push(o.token - 1));
|
||
for (; i.length; ) {
|
||
for (
|
||
t = (r = i.pop()) + 1;
|
||
t < e.tokens.length && "s_close" === e.tokens[t].type;
|
||
|
||
)
|
||
t++;
|
||
r !== --t &&
|
||
((s = e.tokens[t]),
|
||
(e.tokens[t] = e.tokens[r]),
|
||
(e.tokens[r] = s));
|
||
}
|
||
});
|
||
},
|
||
{},
|
||
],
|
||
49: [
|
||
function (e, r, t) {
|
||
function n(e) {
|
||
switch (e) {
|
||
case 10:
|
||
case 33:
|
||
case 35:
|
||
case 36:
|
||
case 37:
|
||
case 38:
|
||
case 42:
|
||
case 43:
|
||
case 45:
|
||
case 58:
|
||
case 60:
|
||
case 61:
|
||
case 62:
|
||
case 64:
|
||
case 91:
|
||
case 92:
|
||
case 93:
|
||
case 94:
|
||
case 95:
|
||
case 96:
|
||
case 123:
|
||
case 125:
|
||
case 126:
|
||
return !0;
|
||
default:
|
||
return !1;
|
||
}
|
||
}
|
||
r.exports = function (e, r) {
|
||
for (var t = e.pos; t < e.posMax && !n(e.src.charCodeAt(t)); )
|
||
t++;
|
||
return (
|
||
t !== e.pos &&
|
||
(r || (e.pending += e.src.slice(e.pos, t)), (e.pos = t), !0)
|
||
);
|
||
};
|
||
},
|
||
{},
|
||
],
|
||
50: [
|
||
function (e, r, t) {
|
||
r.exports = function (e) {
|
||
var r,
|
||
t,
|
||
n = 0,
|
||
o = e.tokens,
|
||
s = e.tokens.length;
|
||
for (r = t = 0; r < s; r++)
|
||
(n += o[r].nesting),
|
||
(o[r].level = n),
|
||
"text" === o[r].type && r + 1 < s && "text" === o[r + 1].type
|
||
? (o[r + 1].content = o[r].content + o[r + 1].content)
|
||
: (r !== t && (o[t] = o[r]), t++);
|
||
r !== t && (o.length = t);
|
||
};
|
||
},
|
||
{},
|
||
],
|
||
51: [
|
||
function (e, r, t) {
|
||
function n(e, r, t) {
|
||
(this.type = e),
|
||
(this.tag = r),
|
||
(this.attrs = null),
|
||
(this.map = null),
|
||
(this.nesting = t),
|
||
(this.level = 0),
|
||
(this.children = null),
|
||
(this.content = ""),
|
||
(this.markup = ""),
|
||
(this.info = ""),
|
||
(this.meta = null),
|
||
(this.block = !1),
|
||
(this.hidden = !1);
|
||
}
|
||
(n.prototype.attrIndex = function (e) {
|
||
var r, t, n;
|
||
if (!this.attrs) return -1;
|
||
for (t = 0, n = (r = this.attrs).length; t < n; t++)
|
||
if (r[t][0] === e) return t;
|
||
return -1;
|
||
}),
|
||
(n.prototype.attrPush = function (e) {
|
||
this.attrs ? this.attrs.push(e) : (this.attrs = [e]);
|
||
}),
|
||
(n.prototype.attrSet = function (e, r) {
|
||
var t = this.attrIndex(e),
|
||
n = [e, r];
|
||
t < 0 ? this.attrPush(n) : (this.attrs[t] = n);
|
||
}),
|
||
(n.prototype.attrGet = function (e) {
|
||
var r = this.attrIndex(e),
|
||
t = null;
|
||
return r >= 0 && (t = this.attrs[r][1]), t;
|
||
}),
|
||
(n.prototype.attrJoin = function (e, r) {
|
||
var t = this.attrIndex(e);
|
||
t < 0
|
||
? this.attrPush([e, r])
|
||
: (this.attrs[t][1] = this.attrs[t][1] + " " + r);
|
||
}),
|
||
(r.exports = n);
|
||
},
|
||
{},
|
||
],
|
||
52: [
|
||
function (e, r, t) {
|
||
r.exports = {
|
||
Aacute: "Á",
|
||
aacute: "á",
|
||
Abreve: "Ă",
|
||
abreve: "ă",
|
||
ac: "∾",
|
||
acd: "∿",
|
||
acE: "∾̳",
|
||
Acirc: "Â",
|
||
acirc: "â",
|
||
acute: "´",
|
||
Acy: "А",
|
||
acy: "а",
|
||
AElig: "Æ",
|
||
aelig: "æ",
|
||
af: "",
|
||
Afr: "𝔄",
|
||
afr: "𝔞",
|
||
Agrave: "À",
|
||
agrave: "à",
|
||
alefsym: "ℵ",
|
||
aleph: "ℵ",
|
||
Alpha: "Α",
|
||
alpha: "α",
|
||
Amacr: "Ā",
|
||
amacr: "ā",
|
||
amalg: "⨿",
|
||
amp: "&",
|
||
AMP: "&",
|
||
andand: "⩕",
|
||
And: "⩓",
|
||
and: "∧",
|
||
andd: "⩜",
|
||
andslope: "⩘",
|
||
andv: "⩚",
|
||
ang: "∠",
|
||
ange: "⦤",
|
||
angle: "∠",
|
||
angmsdaa: "⦨",
|
||
angmsdab: "⦩",
|
||
angmsdac: "⦪",
|
||
angmsdad: "⦫",
|
||
angmsdae: "⦬",
|
||
angmsdaf: "⦭",
|
||
angmsdag: "⦮",
|
||
angmsdah: "⦯",
|
||
angmsd: "∡",
|
||
angrt: "∟",
|
||
angrtvb: "⊾",
|
||
angrtvbd: "⦝",
|
||
angsph: "∢",
|
||
angst: "Å",
|
||
angzarr: "⍼",
|
||
Aogon: "Ą",
|
||
aogon: "ą",
|
||
Aopf: "𝔸",
|
||
aopf: "𝕒",
|
||
apacir: "⩯",
|
||
ap: "≈",
|
||
apE: "⩰",
|
||
ape: "≊",
|
||
apid: "≋",
|
||
apos: "'",
|
||
ApplyFunction: "",
|
||
approx: "≈",
|
||
approxeq: "≊",
|
||
Aring: "Å",
|
||
aring: "å",
|
||
Ascr: "𝒜",
|
||
ascr: "𝒶",
|
||
Assign: "≔",
|
||
ast: "*",
|
||
asymp: "≈",
|
||
asympeq: "≍",
|
||
Atilde: "Ã",
|
||
atilde: "ã",
|
||
Auml: "Ä",
|
||
auml: "ä",
|
||
awconint: "∳",
|
||
awint: "⨑",
|
||
backcong: "≌",
|
||
backepsilon: "϶",
|
||
backprime: "‵",
|
||
backsim: "∽",
|
||
backsimeq: "⋍",
|
||
Backslash: "∖",
|
||
Barv: "⫧",
|
||
barvee: "⊽",
|
||
barwed: "⌅",
|
||
Barwed: "⌆",
|
||
barwedge: "⌅",
|
||
bbrk: "⎵",
|
||
bbrktbrk: "⎶",
|
||
bcong: "≌",
|
||
Bcy: "Б",
|
||
bcy: "б",
|
||
bdquo: "„",
|
||
becaus: "∵",
|
||
because: "∵",
|
||
Because: "∵",
|
||
bemptyv: "⦰",
|
||
bepsi: "϶",
|
||
bernou: "ℬ",
|
||
Bernoullis: "ℬ",
|
||
Beta: "Β",
|
||
beta: "β",
|
||
beth: "ℶ",
|
||
between: "≬",
|
||
Bfr: "𝔅",
|
||
bfr: "𝔟",
|
||
bigcap: "⋂",
|
||
bigcirc: "◯",
|
||
bigcup: "⋃",
|
||
bigodot: "⨀",
|
||
bigoplus: "⨁",
|
||
bigotimes: "⨂",
|
||
bigsqcup: "⨆",
|
||
bigstar: "★",
|
||
bigtriangledown: "▽",
|
||
bigtriangleup: "△",
|
||
biguplus: "⨄",
|
||
bigvee: "⋁",
|
||
bigwedge: "⋀",
|
||
bkarow: "⤍",
|
||
blacklozenge: "⧫",
|
||
blacksquare: "▪",
|
||
blacktriangle: "▴",
|
||
blacktriangledown: "▾",
|
||
blacktriangleleft: "◂",
|
||
blacktriangleright: "▸",
|
||
blank: "␣",
|
||
blk12: "▒",
|
||
blk14: "░",
|
||
blk34: "▓",
|
||
block: "█",
|
||
bne: "=⃥",
|
||
bnequiv: "≡⃥",
|
||
bNot: "⫭",
|
||
bnot: "⌐",
|
||
Bopf: "𝔹",
|
||
bopf: "𝕓",
|
||
bot: "⊥",
|
||
bottom: "⊥",
|
||
bowtie: "⋈",
|
||
boxbox: "⧉",
|
||
boxdl: "┐",
|
||
boxdL: "╕",
|
||
boxDl: "╖",
|
||
boxDL: "╗",
|
||
boxdr: "┌",
|
||
boxdR: "╒",
|
||
boxDr: "╓",
|
||
boxDR: "╔",
|
||
boxh: "─",
|
||
boxH: "═",
|
||
boxhd: "┬",
|
||
boxHd: "╤",
|
||
boxhD: "╥",
|
||
boxHD: "╦",
|
||
boxhu: "┴",
|
||
boxHu: "╧",
|
||
boxhU: "╨",
|
||
boxHU: "╩",
|
||
boxminus: "⊟",
|
||
boxplus: "⊞",
|
||
boxtimes: "⊠",
|
||
boxul: "┘",
|
||
boxuL: "╛",
|
||
boxUl: "╜",
|
||
boxUL: "╝",
|
||
boxur: "└",
|
||
boxuR: "╘",
|
||
boxUr: "╙",
|
||
boxUR: "╚",
|
||
boxv: "│",
|
||
boxV: "║",
|
||
boxvh: "┼",
|
||
boxvH: "╪",
|
||
boxVh: "╫",
|
||
boxVH: "╬",
|
||
boxvl: "┤",
|
||
boxvL: "╡",
|
||
boxVl: "╢",
|
||
boxVL: "╣",
|
||
boxvr: "├",
|
||
boxvR: "╞",
|
||
boxVr: "╟",
|
||
boxVR: "╠",
|
||
bprime: "‵",
|
||
breve: "˘",
|
||
Breve: "˘",
|
||
brvbar: "¦",
|
||
bscr: "𝒷",
|
||
Bscr: "ℬ",
|
||
bsemi: "⁏",
|
||
bsim: "∽",
|
||
bsime: "⋍",
|
||
bsolb: "⧅",
|
||
bsol: "\\",
|
||
bsolhsub: "⟈",
|
||
bull: "•",
|
||
bullet: "•",
|
||
bump: "≎",
|
||
bumpE: "⪮",
|
||
bumpe: "≏",
|
||
Bumpeq: "≎",
|
||
bumpeq: "≏",
|
||
Cacute: "Ć",
|
||
cacute: "ć",
|
||
capand: "⩄",
|
||
capbrcup: "⩉",
|
||
capcap: "⩋",
|
||
cap: "∩",
|
||
Cap: "⋒",
|
||
capcup: "⩇",
|
||
capdot: "⩀",
|
||
CapitalDifferentialD: "ⅅ",
|
||
caps: "∩︀",
|
||
caret: "⁁",
|
||
caron: "ˇ",
|
||
Cayleys: "ℭ",
|
||
ccaps: "⩍",
|
||
Ccaron: "Č",
|
||
ccaron: "č",
|
||
Ccedil: "Ç",
|
||
ccedil: "ç",
|
||
Ccirc: "Ĉ",
|
||
ccirc: "ĉ",
|
||
Cconint: "∰",
|
||
ccups: "⩌",
|
||
ccupssm: "⩐",
|
||
Cdot: "Ċ",
|
||
cdot: "ċ",
|
||
cedil: "¸",
|
||
Cedilla: "¸",
|
||
cemptyv: "⦲",
|
||
cent: "¢",
|
||
centerdot: "·",
|
||
CenterDot: "·",
|
||
cfr: "𝔠",
|
||
Cfr: "ℭ",
|
||
CHcy: "Ч",
|
||
chcy: "ч",
|
||
check: "✓",
|
||
checkmark: "✓",
|
||
Chi: "Χ",
|
||
chi: "χ",
|
||
circ: "ˆ",
|
||
circeq: "≗",
|
||
circlearrowleft: "↺",
|
||
circlearrowright: "↻",
|
||
circledast: "⊛",
|
||
circledcirc: "⊚",
|
||
circleddash: "⊝",
|
||
CircleDot: "⊙",
|
||
circledR: "®",
|
||
circledS: "Ⓢ",
|
||
CircleMinus: "⊖",
|
||
CirclePlus: "⊕",
|
||
CircleTimes: "⊗",
|
||
cir: "○",
|
||
cirE: "⧃",
|
||
cire: "≗",
|
||
cirfnint: "⨐",
|
||
cirmid: "⫯",
|
||
cirscir: "⧂",
|
||
ClockwiseContourIntegral: "∲",
|
||
CloseCurlyDoubleQuote: "”",
|
||
CloseCurlyQuote: "’",
|
||
clubs: "♣",
|
||
clubsuit: "♣",
|
||
colon: ":",
|
||
Colon: "∷",
|
||
Colone: "⩴",
|
||
colone: "≔",
|
||
coloneq: "≔",
|
||
comma: ",",
|
||
commat: "@",
|
||
comp: "∁",
|
||
compfn: "∘",
|
||
complement: "∁",
|
||
complexes: "ℂ",
|
||
cong: "≅",
|
||
congdot: "⩭",
|
||
Congruent: "≡",
|
||
conint: "∮",
|
||
Conint: "∯",
|
||
ContourIntegral: "∮",
|
||
copf: "𝕔",
|
||
Copf: "ℂ",
|
||
coprod: "∐",
|
||
Coproduct: "∐",
|
||
copy: "©",
|
||
COPY: "©",
|
||
copysr: "℗",
|
||
CounterClockwiseContourIntegral: "∳",
|
||
crarr: "↵",
|
||
cross: "✗",
|
||
Cross: "⨯",
|
||
Cscr: "𝒞",
|
||
cscr: "𝒸",
|
||
csub: "⫏",
|
||
csube: "⫑",
|
||
csup: "⫐",
|
||
csupe: "⫒",
|
||
ctdot: "⋯",
|
||
cudarrl: "⤸",
|
||
cudarrr: "⤵",
|
||
cuepr: "⋞",
|
||
cuesc: "⋟",
|
||
cularr: "↶",
|
||
cularrp: "⤽",
|
||
cupbrcap: "⩈",
|
||
cupcap: "⩆",
|
||
CupCap: "≍",
|
||
cup: "∪",
|
||
Cup: "⋓",
|
||
cupcup: "⩊",
|
||
cupdot: "⊍",
|
||
cupor: "⩅",
|
||
cups: "∪︀",
|
||
curarr: "↷",
|
||
curarrm: "⤼",
|
||
curlyeqprec: "⋞",
|
||
curlyeqsucc: "⋟",
|
||
curlyvee: "⋎",
|
||
curlywedge: "⋏",
|
||
curren: "¤",
|
||
curvearrowleft: "↶",
|
||
curvearrowright: "↷",
|
||
cuvee: "⋎",
|
||
cuwed: "⋏",
|
||
cwconint: "∲",
|
||
cwint: "∱",
|
||
cylcty: "⌭",
|
||
dagger: "†",
|
||
Dagger: "‡",
|
||
daleth: "ℸ",
|
||
darr: "↓",
|
||
Darr: "↡",
|
||
dArr: "⇓",
|
||
dash: "‐",
|
||
Dashv: "⫤",
|
||
dashv: "⊣",
|
||
dbkarow: "⤏",
|
||
dblac: "˝",
|
||
Dcaron: "Ď",
|
||
dcaron: "ď",
|
||
Dcy: "Д",
|
||
dcy: "д",
|
||
ddagger: "‡",
|
||
ddarr: "⇊",
|
||
DD: "ⅅ",
|
||
dd: "ⅆ",
|
||
DDotrahd: "⤑",
|
||
ddotseq: "⩷",
|
||
deg: "°",
|
||
Del: "∇",
|
||
Delta: "Δ",
|
||
delta: "δ",
|
||
demptyv: "⦱",
|
||
dfisht: "⥿",
|
||
Dfr: "𝔇",
|
||
dfr: "𝔡",
|
||
dHar: "⥥",
|
||
dharl: "⇃",
|
||
dharr: "⇂",
|
||
DiacriticalAcute: "´",
|
||
DiacriticalDot: "˙",
|
||
DiacriticalDoubleAcute: "˝",
|
||
DiacriticalGrave: "`",
|
||
DiacriticalTilde: "˜",
|
||
diam: "⋄",
|
||
diamond: "⋄",
|
||
Diamond: "⋄",
|
||
diamondsuit: "♦",
|
||
diams: "♦",
|
||
die: "¨",
|
||
DifferentialD: "ⅆ",
|
||
digamma: "ϝ",
|
||
disin: "⋲",
|
||
div: "÷",
|
||
divide: "÷",
|
||
divideontimes: "⋇",
|
||
divonx: "⋇",
|
||
DJcy: "Ђ",
|
||
djcy: "ђ",
|
||
dlcorn: "⌞",
|
||
dlcrop: "⌍",
|
||
dollar: "$",
|
||
Dopf: "𝔻",
|
||
dopf: "𝕕",
|
||
Dot: "¨",
|
||
dot: "˙",
|
||
DotDot: "⃜",
|
||
doteq: "≐",
|
||
doteqdot: "≑",
|
||
DotEqual: "≐",
|
||
dotminus: "∸",
|
||
dotplus: "∔",
|
||
dotsquare: "⊡",
|
||
doublebarwedge: "⌆",
|
||
DoubleContourIntegral: "∯",
|
||
DoubleDot: "¨",
|
||
DoubleDownArrow: "⇓",
|
||
DoubleLeftArrow: "⇐",
|
||
DoubleLeftRightArrow: "⇔",
|
||
DoubleLeftTee: "⫤",
|
||
DoubleLongLeftArrow: "⟸",
|
||
DoubleLongLeftRightArrow: "⟺",
|
||
DoubleLongRightArrow: "⟹",
|
||
DoubleRightArrow: "⇒",
|
||
DoubleRightTee: "⊨",
|
||
DoubleUpArrow: "⇑",
|
||
DoubleUpDownArrow: "⇕",
|
||
DoubleVerticalBar: "∥",
|
||
DownArrowBar: "⤓",
|
||
downarrow: "↓",
|
||
DownArrow: "↓",
|
||
Downarrow: "⇓",
|
||
DownArrowUpArrow: "⇵",
|
||
DownBreve: "̑",
|
||
downdownarrows: "⇊",
|
||
downharpoonleft: "⇃",
|
||
downharpoonright: "⇂",
|
||
DownLeftRightVector: "⥐",
|
||
DownLeftTeeVector: "⥞",
|
||
DownLeftVectorBar: "⥖",
|
||
DownLeftVector: "↽",
|
||
DownRightTeeVector: "⥟",
|
||
DownRightVectorBar: "⥗",
|
||
DownRightVector: "⇁",
|
||
DownTeeArrow: "↧",
|
||
DownTee: "⊤",
|
||
drbkarow: "⤐",
|
||
drcorn: "⌟",
|
||
drcrop: "⌌",
|
||
Dscr: "𝒟",
|
||
dscr: "𝒹",
|
||
DScy: "Ѕ",
|
||
dscy: "ѕ",
|
||
dsol: "⧶",
|
||
Dstrok: "Đ",
|
||
dstrok: "đ",
|
||
dtdot: "⋱",
|
||
dtri: "▿",
|
||
dtrif: "▾",
|
||
duarr: "⇵",
|
||
duhar: "⥯",
|
||
dwangle: "⦦",
|
||
DZcy: "Џ",
|
||
dzcy: "џ",
|
||
dzigrarr: "⟿",
|
||
Eacute: "É",
|
||
eacute: "é",
|
||
easter: "⩮",
|
||
Ecaron: "Ě",
|
||
ecaron: "ě",
|
||
Ecirc: "Ê",
|
||
ecirc: "ê",
|
||
ecir: "≖",
|
||
ecolon: "≕",
|
||
Ecy: "Э",
|
||
ecy: "э",
|
||
eDDot: "⩷",
|
||
Edot: "Ė",
|
||
edot: "ė",
|
||
eDot: "≑",
|
||
ee: "ⅇ",
|
||
efDot: "≒",
|
||
Efr: "𝔈",
|
||
efr: "𝔢",
|
||
eg: "⪚",
|
||
Egrave: "È",
|
||
egrave: "è",
|
||
egs: "⪖",
|
||
egsdot: "⪘",
|
||
el: "⪙",
|
||
Element: "∈",
|
||
elinters: "⏧",
|
||
ell: "ℓ",
|
||
els: "⪕",
|
||
elsdot: "⪗",
|
||
Emacr: "Ē",
|
||
emacr: "ē",
|
||
empty: "∅",
|
||
emptyset: "∅",
|
||
EmptySmallSquare: "◻",
|
||
emptyv: "∅",
|
||
EmptyVerySmallSquare: "▫",
|
||
emsp13: " ",
|
||
emsp14: " ",
|
||
emsp: " ",
|
||
ENG: "Ŋ",
|
||
eng: "ŋ",
|
||
ensp: " ",
|
||
Eogon: "Ę",
|
||
eogon: "ę",
|
||
Eopf: "𝔼",
|
||
eopf: "𝕖",
|
||
epar: "⋕",
|
||
eparsl: "⧣",
|
||
eplus: "⩱",
|
||
epsi: "ε",
|
||
Epsilon: "Ε",
|
||
epsilon: "ε",
|
||
epsiv: "ϵ",
|
||
eqcirc: "≖",
|
||
eqcolon: "≕",
|
||
eqsim: "≂",
|
||
eqslantgtr: "⪖",
|
||
eqslantless: "⪕",
|
||
Equal: "⩵",
|
||
equals: "=",
|
||
EqualTilde: "≂",
|
||
equest: "≟",
|
||
Equilibrium: "⇌",
|
||
equiv: "≡",
|
||
equivDD: "⩸",
|
||
eqvparsl: "⧥",
|
||
erarr: "⥱",
|
||
erDot: "≓",
|
||
escr: "ℯ",
|
||
Escr: "ℰ",
|
||
esdot: "≐",
|
||
Esim: "⩳",
|
||
esim: "≂",
|
||
Eta: "Η",
|
||
eta: "η",
|
||
ETH: "Ð",
|
||
eth: "ð",
|
||
Euml: "Ë",
|
||
euml: "ë",
|
||
euro: "€",
|
||
excl: "!",
|
||
exist: "∃",
|
||
Exists: "∃",
|
||
expectation: "ℰ",
|
||
exponentiale: "ⅇ",
|
||
ExponentialE: "ⅇ",
|
||
fallingdotseq: "≒",
|
||
Fcy: "Ф",
|
||
fcy: "ф",
|
||
female: "♀",
|
||
ffilig: "ffi",
|
||
fflig: "ff",
|
||
ffllig: "ffl",
|
||
Ffr: "𝔉",
|
||
ffr: "𝔣",
|
||
filig: "fi",
|
||
FilledSmallSquare: "◼",
|
||
FilledVerySmallSquare: "▪",
|
||
fjlig: "fj",
|
||
flat: "♭",
|
||
fllig: "fl",
|
||
fltns: "▱",
|
||
fnof: "ƒ",
|
||
Fopf: "𝔽",
|
||
fopf: "𝕗",
|
||
forall: "∀",
|
||
ForAll: "∀",
|
||
fork: "⋔",
|
||
forkv: "⫙",
|
||
Fouriertrf: "ℱ",
|
||
fpartint: "⨍",
|
||
frac12: "½",
|
||
frac13: "⅓",
|
||
frac14: "¼",
|
||
frac15: "⅕",
|
||
frac16: "⅙",
|
||
frac18: "⅛",
|
||
frac23: "⅔",
|
||
frac25: "⅖",
|
||
frac34: "¾",
|
||
frac35: "⅗",
|
||
frac38: "⅜",
|
||
frac45: "⅘",
|
||
frac56: "⅚",
|
||
frac58: "⅝",
|
||
frac78: "⅞",
|
||
frasl: "⁄",
|
||
frown: "⌢",
|
||
fscr: "𝒻",
|
||
Fscr: "ℱ",
|
||
gacute: "ǵ",
|
||
Gamma: "Γ",
|
||
gamma: "γ",
|
||
Gammad: "Ϝ",
|
||
gammad: "ϝ",
|
||
gap: "⪆",
|
||
Gbreve: "Ğ",
|
||
gbreve: "ğ",
|
||
Gcedil: "Ģ",
|
||
Gcirc: "Ĝ",
|
||
gcirc: "ĝ",
|
||
Gcy: "Г",
|
||
gcy: "г",
|
||
Gdot: "Ġ",
|
||
gdot: "ġ",
|
||
ge: "≥",
|
||
gE: "≧",
|
||
gEl: "⪌",
|
||
gel: "⋛",
|
||
geq: "≥",
|
||
geqq: "≧",
|
||
geqslant: "⩾",
|
||
gescc: "⪩",
|
||
ges: "⩾",
|
||
gesdot: "⪀",
|
||
gesdoto: "⪂",
|
||
gesdotol: "⪄",
|
||
gesl: "⋛︀",
|
||
gesles: "⪔",
|
||
Gfr: "𝔊",
|
||
gfr: "𝔤",
|
||
gg: "≫",
|
||
Gg: "⋙",
|
||
ggg: "⋙",
|
||
gimel: "ℷ",
|
||
GJcy: "Ѓ",
|
||
gjcy: "ѓ",
|
||
gla: "⪥",
|
||
gl: "≷",
|
||
glE: "⪒",
|
||
glj: "⪤",
|
||
gnap: "⪊",
|
||
gnapprox: "⪊",
|
||
gne: "⪈",
|
||
gnE: "≩",
|
||
gneq: "⪈",
|
||
gneqq: "≩",
|
||
gnsim: "⋧",
|
||
Gopf: "𝔾",
|
||
gopf: "𝕘",
|
||
grave: "`",
|
||
GreaterEqual: "≥",
|
||
GreaterEqualLess: "⋛",
|
||
GreaterFullEqual: "≧",
|
||
GreaterGreater: "⪢",
|
||
GreaterLess: "≷",
|
||
GreaterSlantEqual: "⩾",
|
||
GreaterTilde: "≳",
|
||
Gscr: "𝒢",
|
||
gscr: "ℊ",
|
||
gsim: "≳",
|
||
gsime: "⪎",
|
||
gsiml: "⪐",
|
||
gtcc: "⪧",
|
||
gtcir: "⩺",
|
||
gt: ">",
|
||
GT: ">",
|
||
Gt: "≫",
|
||
gtdot: "⋗",
|
||
gtlPar: "⦕",
|
||
gtquest: "⩼",
|
||
gtrapprox: "⪆",
|
||
gtrarr: "⥸",
|
||
gtrdot: "⋗",
|
||
gtreqless: "⋛",
|
||
gtreqqless: "⪌",
|
||
gtrless: "≷",
|
||
gtrsim: "≳",
|
||
gvertneqq: "≩︀",
|
||
gvnE: "≩︀",
|
||
Hacek: "ˇ",
|
||
hairsp: " ",
|
||
half: "½",
|
||
hamilt: "ℋ",
|
||
HARDcy: "Ъ",
|
||
hardcy: "ъ",
|
||
harrcir: "⥈",
|
||
harr: "↔",
|
||
hArr: "⇔",
|
||
harrw: "↭",
|
||
Hat: "^",
|
||
hbar: "ℏ",
|
||
Hcirc: "Ĥ",
|
||
hcirc: "ĥ",
|
||
hearts: "♥",
|
||
heartsuit: "♥",
|
||
hellip: "…",
|
||
hercon: "⊹",
|
||
hfr: "𝔥",
|
||
Hfr: "ℌ",
|
||
HilbertSpace: "ℋ",
|
||
hksearow: "⤥",
|
||
hkswarow: "⤦",
|
||
hoarr: "⇿",
|
||
homtht: "∻",
|
||
hookleftarrow: "↩",
|
||
hookrightarrow: "↪",
|
||
hopf: "𝕙",
|
||
Hopf: "ℍ",
|
||
horbar: "―",
|
||
HorizontalLine: "─",
|
||
hscr: "𝒽",
|
||
Hscr: "ℋ",
|
||
hslash: "ℏ",
|
||
Hstrok: "Ħ",
|
||
hstrok: "ħ",
|
||
HumpDownHump: "≎",
|
||
HumpEqual: "≏",
|
||
hybull: "⁃",
|
||
hyphen: "‐",
|
||
Iacute: "Í",
|
||
iacute: "í",
|
||
ic: "",
|
||
Icirc: "Î",
|
||
icirc: "î",
|
||
Icy: "И",
|
||
icy: "и",
|
||
Idot: "İ",
|
||
IEcy: "Е",
|
||
iecy: "е",
|
||
iexcl: "¡",
|
||
iff: "⇔",
|
||
ifr: "𝔦",
|
||
Ifr: "ℑ",
|
||
Igrave: "Ì",
|
||
igrave: "ì",
|
||
ii: "ⅈ",
|
||
iiiint: "⨌",
|
||
iiint: "∭",
|
||
iinfin: "⧜",
|
||
iiota: "℩",
|
||
IJlig: "IJ",
|
||
ijlig: "ij",
|
||
Imacr: "Ī",
|
||
imacr: "ī",
|
||
image: "ℑ",
|
||
ImaginaryI: "ⅈ",
|
||
imagline: "ℐ",
|
||
imagpart: "ℑ",
|
||
imath: "ı",
|
||
Im: "ℑ",
|
||
imof: "⊷",
|
||
imped: "Ƶ",
|
||
Implies: "⇒",
|
||
incare: "℅",
|
||
in: "∈",
|
||
infin: "∞",
|
||
infintie: "⧝",
|
||
inodot: "ı",
|
||
intcal: "⊺",
|
||
int: "∫",
|
||
Int: "∬",
|
||
integers: "ℤ",
|
||
Integral: "∫",
|
||
intercal: "⊺",
|
||
Intersection: "⋂",
|
||
intlarhk: "⨗",
|
||
intprod: "⨼",
|
||
InvisibleComma: "",
|
||
InvisibleTimes: "",
|
||
IOcy: "Ё",
|
||
iocy: "ё",
|
||
Iogon: "Į",
|
||
iogon: "į",
|
||
Iopf: "𝕀",
|
||
iopf: "𝕚",
|
||
Iota: "Ι",
|
||
iota: "ι",
|
||
iprod: "⨼",
|
||
iquest: "¿",
|
||
iscr: "𝒾",
|
||
Iscr: "ℐ",
|
||
isin: "∈",
|
||
isindot: "⋵",
|
||
isinE: "⋹",
|
||
isins: "⋴",
|
||
isinsv: "⋳",
|
||
isinv: "∈",
|
||
it: "",
|
||
Itilde: "Ĩ",
|
||
itilde: "ĩ",
|
||
Iukcy: "І",
|
||
iukcy: "і",
|
||
Iuml: "Ï",
|
||
iuml: "ï",
|
||
Jcirc: "Ĵ",
|
||
jcirc: "ĵ",
|
||
Jcy: "Й",
|
||
jcy: "й",
|
||
Jfr: "𝔍",
|
||
jfr: "𝔧",
|
||
jmath: "ȷ",
|
||
Jopf: "𝕁",
|
||
jopf: "𝕛",
|
||
Jscr: "𝒥",
|
||
jscr: "𝒿",
|
||
Jsercy: "Ј",
|
||
jsercy: "ј",
|
||
Jukcy: "Є",
|
||
jukcy: "є",
|
||
Kappa: "Κ",
|
||
kappa: "κ",
|
||
kappav: "ϰ",
|
||
Kcedil: "Ķ",
|
||
kcedil: "ķ",
|
||
Kcy: "К",
|
||
kcy: "к",
|
||
Kfr: "𝔎",
|
||
kfr: "𝔨",
|
||
kgreen: "ĸ",
|
||
KHcy: "Х",
|
||
khcy: "х",
|
||
KJcy: "Ќ",
|
||
kjcy: "ќ",
|
||
Kopf: "𝕂",
|
||
kopf: "𝕜",
|
||
Kscr: "𝒦",
|
||
kscr: "𝓀",
|
||
lAarr: "⇚",
|
||
Lacute: "Ĺ",
|
||
lacute: "ĺ",
|
||
laemptyv: "⦴",
|
||
lagran: "ℒ",
|
||
Lambda: "Λ",
|
||
lambda: "λ",
|
||
lang: "⟨",
|
||
Lang: "⟪",
|
||
langd: "⦑",
|
||
langle: "⟨",
|
||
lap: "⪅",
|
||
Laplacetrf: "ℒ",
|
||
laquo: "«",
|
||
larrb: "⇤",
|
||
larrbfs: "⤟",
|
||
larr: "←",
|
||
Larr: "↞",
|
||
lArr: "⇐",
|
||
larrfs: "⤝",
|
||
larrhk: "↩",
|
||
larrlp: "↫",
|
||
larrpl: "⤹",
|
||
larrsim: "⥳",
|
||
larrtl: "↢",
|
||
latail: "⤙",
|
||
lAtail: "⤛",
|
||
lat: "⪫",
|
||
late: "⪭",
|
||
lates: "⪭︀",
|
||
lbarr: "⤌",
|
||
lBarr: "⤎",
|
||
lbbrk: "❲",
|
||
lbrace: "{",
|
||
lbrack: "[",
|
||
lbrke: "⦋",
|
||
lbrksld: "⦏",
|
||
lbrkslu: "⦍",
|
||
Lcaron: "Ľ",
|
||
lcaron: "ľ",
|
||
Lcedil: "Ļ",
|
||
lcedil: "ļ",
|
||
lceil: "⌈",
|
||
lcub: "{",
|
||
Lcy: "Л",
|
||
lcy: "л",
|
||
ldca: "⤶",
|
||
ldquo: "“",
|
||
ldquor: "„",
|
||
ldrdhar: "⥧",
|
||
ldrushar: "⥋",
|
||
ldsh: "↲",
|
||
le: "≤",
|
||
lE: "≦",
|
||
LeftAngleBracket: "⟨",
|
||
LeftArrowBar: "⇤",
|
||
leftarrow: "←",
|
||
LeftArrow: "←",
|
||
Leftarrow: "⇐",
|
||
LeftArrowRightArrow: "⇆",
|
||
leftarrowtail: "↢",
|
||
LeftCeiling: "⌈",
|
||
LeftDoubleBracket: "⟦",
|
||
LeftDownTeeVector: "⥡",
|
||
LeftDownVectorBar: "⥙",
|
||
LeftDownVector: "⇃",
|
||
LeftFloor: "⌊",
|
||
leftharpoondown: "↽",
|
||
leftharpoonup: "↼",
|
||
leftleftarrows: "⇇",
|
||
leftrightarrow: "↔",
|
||
LeftRightArrow: "↔",
|
||
Leftrightarrow: "⇔",
|
||
leftrightarrows: "⇆",
|
||
leftrightharpoons: "⇋",
|
||
leftrightsquigarrow: "↭",
|
||
LeftRightVector: "⥎",
|
||
LeftTeeArrow: "↤",
|
||
LeftTee: "⊣",
|
||
LeftTeeVector: "⥚",
|
||
leftthreetimes: "⋋",
|
||
LeftTriangleBar: "⧏",
|
||
LeftTriangle: "⊲",
|
||
LeftTriangleEqual: "⊴",
|
||
LeftUpDownVector: "⥑",
|
||
LeftUpTeeVector: "⥠",
|
||
LeftUpVectorBar: "⥘",
|
||
LeftUpVector: "↿",
|
||
LeftVectorBar: "⥒",
|
||
LeftVector: "↼",
|
||
lEg: "⪋",
|
||
leg: "⋚",
|
||
leq: "≤",
|
||
leqq: "≦",
|
||
leqslant: "⩽",
|
||
lescc: "⪨",
|
||
les: "⩽",
|
||
lesdot: "⩿",
|
||
lesdoto: "⪁",
|
||
lesdotor: "⪃",
|
||
lesg: "⋚︀",
|
||
lesges: "⪓",
|
||
lessapprox: "⪅",
|
||
lessdot: "⋖",
|
||
lesseqgtr: "⋚",
|
||
lesseqqgtr: "⪋",
|
||
LessEqualGreater: "⋚",
|
||
LessFullEqual: "≦",
|
||
LessGreater: "≶",
|
||
lessgtr: "≶",
|
||
LessLess: "⪡",
|
||
lesssim: "≲",
|
||
LessSlantEqual: "⩽",
|
||
LessTilde: "≲",
|
||
lfisht: "⥼",
|
||
lfloor: "⌊",
|
||
Lfr: "𝔏",
|
||
lfr: "𝔩",
|
||
lg: "≶",
|
||
lgE: "⪑",
|
||
lHar: "⥢",
|
||
lhard: "↽",
|
||
lharu: "↼",
|
||
lharul: "⥪",
|
||
lhblk: "▄",
|
||
LJcy: "Љ",
|
||
ljcy: "љ",
|
||
llarr: "⇇",
|
||
ll: "≪",
|
||
Ll: "⋘",
|
||
llcorner: "⌞",
|
||
Lleftarrow: "⇚",
|
||
llhard: "⥫",
|
||
lltri: "◺",
|
||
Lmidot: "Ŀ",
|
||
lmidot: "ŀ",
|
||
lmoustache: "⎰",
|
||
lmoust: "⎰",
|
||
lnap: "⪉",
|
||
lnapprox: "⪉",
|
||
lne: "⪇",
|
||
lnE: "≨",
|
||
lneq: "⪇",
|
||
lneqq: "≨",
|
||
lnsim: "⋦",
|
||
loang: "⟬",
|
||
loarr: "⇽",
|
||
lobrk: "⟦",
|
||
longleftarrow: "⟵",
|
||
LongLeftArrow: "⟵",
|
||
Longleftarrow: "⟸",
|
||
longleftrightarrow: "⟷",
|
||
LongLeftRightArrow: "⟷",
|
||
Longleftrightarrow: "⟺",
|
||
longmapsto: "⟼",
|
||
longrightarrow: "⟶",
|
||
LongRightArrow: "⟶",
|
||
Longrightarrow: "⟹",
|
||
looparrowleft: "↫",
|
||
looparrowright: "↬",
|
||
lopar: "⦅",
|
||
Lopf: "𝕃",
|
||
lopf: "𝕝",
|
||
loplus: "⨭",
|
||
lotimes: "⨴",
|
||
lowast: "∗",
|
||
lowbar: "_",
|
||
LowerLeftArrow: "↙",
|
||
LowerRightArrow: "↘",
|
||
loz: "◊",
|
||
lozenge: "◊",
|
||
lozf: "⧫",
|
||
lpar: "(",
|
||
lparlt: "⦓",
|
||
lrarr: "⇆",
|
||
lrcorner: "⌟",
|
||
lrhar: "⇋",
|
||
lrhard: "⥭",
|
||
lrm: "",
|
||
lrtri: "⊿",
|
||
lsaquo: "‹",
|
||
lscr: "𝓁",
|
||
Lscr: "ℒ",
|
||
lsh: "↰",
|
||
Lsh: "↰",
|
||
lsim: "≲",
|
||
lsime: "⪍",
|
||
lsimg: "⪏",
|
||
lsqb: "[",
|
||
lsquo: "‘",
|
||
lsquor: "‚",
|
||
Lstrok: "Ł",
|
||
lstrok: "ł",
|
||
ltcc: "⪦",
|
||
ltcir: "⩹",
|
||
lt: "<",
|
||
LT: "<",
|
||
Lt: "≪",
|
||
ltdot: "⋖",
|
||
lthree: "⋋",
|
||
ltimes: "⋉",
|
||
ltlarr: "⥶",
|
||
ltquest: "⩻",
|
||
ltri: "◃",
|
||
ltrie: "⊴",
|
||
ltrif: "◂",
|
||
ltrPar: "⦖",
|
||
lurdshar: "⥊",
|
||
luruhar: "⥦",
|
||
lvertneqq: "≨︀",
|
||
lvnE: "≨︀",
|
||
macr: "¯",
|
||
male: "♂",
|
||
malt: "✠",
|
||
maltese: "✠",
|
||
Map: "⤅",
|
||
map: "↦",
|
||
mapsto: "↦",
|
||
mapstodown: "↧",
|
||
mapstoleft: "↤",
|
||
mapstoup: "↥",
|
||
marker: "▮",
|
||
mcomma: "⨩",
|
||
Mcy: "М",
|
||
mcy: "м",
|
||
mdash: "—",
|
||
mDDot: "∺",
|
||
measuredangle: "∡",
|
||
MediumSpace: " ",
|
||
Mellintrf: "ℳ",
|
||
Mfr: "𝔐",
|
||
mfr: "𝔪",
|
||
mho: "℧",
|
||
micro: "µ",
|
||
midast: "*",
|
||
midcir: "⫰",
|
||
mid: "∣",
|
||
middot: "·",
|
||
minusb: "⊟",
|
||
minus: "−",
|
||
minusd: "∸",
|
||
minusdu: "⨪",
|
||
MinusPlus: "∓",
|
||
mlcp: "⫛",
|
||
mldr: "…",
|
||
mnplus: "∓",
|
||
models: "⊧",
|
||
Mopf: "𝕄",
|
||
mopf: "𝕞",
|
||
mp: "∓",
|
||
mscr: "𝓂",
|
||
Mscr: "ℳ",
|
||
mstpos: "∾",
|
||
Mu: "Μ",
|
||
mu: "μ",
|
||
multimap: "⊸",
|
||
mumap: "⊸",
|
||
nabla: "∇",
|
||
Nacute: "Ń",
|
||
nacute: "ń",
|
||
nang: "∠⃒",
|
||
nap: "≉",
|
||
napE: "⩰̸",
|
||
napid: "≋̸",
|
||
napos: "ʼn",
|
||
napprox: "≉",
|
||
natural: "♮",
|
||
naturals: "ℕ",
|
||
natur: "♮",
|
||
nbsp: " ",
|
||
nbump: "≎̸",
|
||
nbumpe: "≏̸",
|
||
ncap: "⩃",
|
||
Ncaron: "Ň",
|
||
ncaron: "ň",
|
||
Ncedil: "Ņ",
|
||
ncedil: "ņ",
|
||
ncong: "≇",
|
||
ncongdot: "⩭̸",
|
||
ncup: "⩂",
|
||
Ncy: "Н",
|
||
ncy: "н",
|
||
ndash: "–",
|
||
nearhk: "⤤",
|
||
nearr: "↗",
|
||
neArr: "⇗",
|
||
nearrow: "↗",
|
||
ne: "≠",
|
||
nedot: "≐̸",
|
||
NegativeMediumSpace: "",
|
||
NegativeThickSpace: "",
|
||
NegativeThinSpace: "",
|
||
NegativeVeryThinSpace: "",
|
||
nequiv: "≢",
|
||
nesear: "⤨",
|
||
nesim: "≂̸",
|
||
NestedGreaterGreater: "≫",
|
||
NestedLessLess: "≪",
|
||
NewLine: "\n",
|
||
nexist: "∄",
|
||
nexists: "∄",
|
||
Nfr: "𝔑",
|
||
nfr: "𝔫",
|
||
ngE: "≧̸",
|
||
nge: "≱",
|
||
ngeq: "≱",
|
||
ngeqq: "≧̸",
|
||
ngeqslant: "⩾̸",
|
||
nges: "⩾̸",
|
||
nGg: "⋙̸",
|
||
ngsim: "≵",
|
||
nGt: "≫⃒",
|
||
ngt: "≯",
|
||
ngtr: "≯",
|
||
nGtv: "≫̸",
|
||
nharr: "↮",
|
||
nhArr: "⇎",
|
||
nhpar: "⫲",
|
||
ni: "∋",
|
||
nis: "⋼",
|
||
nisd: "⋺",
|
||
niv: "∋",
|
||
NJcy: "Њ",
|
||
njcy: "њ",
|
||
nlarr: "↚",
|
||
nlArr: "⇍",
|
||
nldr: "‥",
|
||
nlE: "≦̸",
|
||
nle: "≰",
|
||
nleftarrow: "↚",
|
||
nLeftarrow: "⇍",
|
||
nleftrightarrow: "↮",
|
||
nLeftrightarrow: "⇎",
|
||
nleq: "≰",
|
||
nleqq: "≦̸",
|
||
nleqslant: "⩽̸",
|
||
nles: "⩽̸",
|
||
nless: "≮",
|
||
nLl: "⋘̸",
|
||
nlsim: "≴",
|
||
nLt: "≪⃒",
|
||
nlt: "≮",
|
||
nltri: "⋪",
|
||
nltrie: "⋬",
|
||
nLtv: "≪̸",
|
||
nmid: "∤",
|
||
NoBreak: "",
|
||
NonBreakingSpace: " ",
|
||
nopf: "𝕟",
|
||
Nopf: "ℕ",
|
||
Not: "⫬",
|
||
not: "¬",
|
||
NotCongruent: "≢",
|
||
NotCupCap: "≭",
|
||
NotDoubleVerticalBar: "∦",
|
||
NotElement: "∉",
|
||
NotEqual: "≠",
|
||
NotEqualTilde: "≂̸",
|
||
NotExists: "∄",
|
||
NotGreater: "≯",
|
||
NotGreaterEqual: "≱",
|
||
NotGreaterFullEqual: "≧̸",
|
||
NotGreaterGreater: "≫̸",
|
||
NotGreaterLess: "≹",
|
||
NotGreaterSlantEqual: "⩾̸",
|
||
NotGreaterTilde: "≵",
|
||
NotHumpDownHump: "≎̸",
|
||
NotHumpEqual: "≏̸",
|
||
notin: "∉",
|
||
notindot: "⋵̸",
|
||
notinE: "⋹̸",
|
||
notinva: "∉",
|
||
notinvb: "⋷",
|
||
notinvc: "⋶",
|
||
NotLeftTriangleBar: "⧏̸",
|
||
NotLeftTriangle: "⋪",
|
||
NotLeftTriangleEqual: "⋬",
|
||
NotLess: "≮",
|
||
NotLessEqual: "≰",
|
||
NotLessGreater: "≸",
|
||
NotLessLess: "≪̸",
|
||
NotLessSlantEqual: "⩽̸",
|
||
NotLessTilde: "≴",
|
||
NotNestedGreaterGreater: "⪢̸",
|
||
NotNestedLessLess: "⪡̸",
|
||
notni: "∌",
|
||
notniva: "∌",
|
||
notnivb: "⋾",
|
||
notnivc: "⋽",
|
||
NotPrecedes: "⊀",
|
||
NotPrecedesEqual: "⪯̸",
|
||
NotPrecedesSlantEqual: "⋠",
|
||
NotReverseElement: "∌",
|
||
NotRightTriangleBar: "⧐̸",
|
||
NotRightTriangle: "⋫",
|
||
NotRightTriangleEqual: "⋭",
|
||
NotSquareSubset: "⊏̸",
|
||
NotSquareSubsetEqual: "⋢",
|
||
NotSquareSuperset: "⊐̸",
|
||
NotSquareSupersetEqual: "⋣",
|
||
NotSubset: "⊂⃒",
|
||
NotSubsetEqual: "⊈",
|
||
NotSucceeds: "⊁",
|
||
NotSucceedsEqual: "⪰̸",
|
||
NotSucceedsSlantEqual: "⋡",
|
||
NotSucceedsTilde: "≿̸",
|
||
NotSuperset: "⊃⃒",
|
||
NotSupersetEqual: "⊉",
|
||
NotTilde: "≁",
|
||
NotTildeEqual: "≄",
|
||
NotTildeFullEqual: "≇",
|
||
NotTildeTilde: "≉",
|
||
NotVerticalBar: "∤",
|
||
nparallel: "∦",
|
||
npar: "∦",
|
||
nparsl: "⫽⃥",
|
||
npart: "∂̸",
|
||
npolint: "⨔",
|
||
npr: "⊀",
|
||
nprcue: "⋠",
|
||
nprec: "⊀",
|
||
npreceq: "⪯̸",
|
||
npre: "⪯̸",
|
||
nrarrc: "⤳̸",
|
||
nrarr: "↛",
|
||
nrArr: "⇏",
|
||
nrarrw: "↝̸",
|
||
nrightarrow: "↛",
|
||
nRightarrow: "⇏",
|
||
nrtri: "⋫",
|
||
nrtrie: "⋭",
|
||
nsc: "⊁",
|
||
nsccue: "⋡",
|
||
nsce: "⪰̸",
|
||
Nscr: "𝒩",
|
||
nscr: "𝓃",
|
||
nshortmid: "∤",
|
||
nshortparallel: "∦",
|
||
nsim: "≁",
|
||
nsime: "≄",
|
||
nsimeq: "≄",
|
||
nsmid: "∤",
|
||
nspar: "∦",
|
||
nsqsube: "⋢",
|
||
nsqsupe: "⋣",
|
||
nsub: "⊄",
|
||
nsubE: "⫅̸",
|
||
nsube: "⊈",
|
||
nsubset: "⊂⃒",
|
||
nsubseteq: "⊈",
|
||
nsubseteqq: "⫅̸",
|
||
nsucc: "⊁",
|
||
nsucceq: "⪰̸",
|
||
nsup: "⊅",
|
||
nsupE: "⫆̸",
|
||
nsupe: "⊉",
|
||
nsupset: "⊃⃒",
|
||
nsupseteq: "⊉",
|
||
nsupseteqq: "⫆̸",
|
||
ntgl: "≹",
|
||
Ntilde: "Ñ",
|
||
ntilde: "ñ",
|
||
ntlg: "≸",
|
||
ntriangleleft: "⋪",
|
||
ntrianglelefteq: "⋬",
|
||
ntriangleright: "⋫",
|
||
ntrianglerighteq: "⋭",
|
||
Nu: "Ν",
|
||
nu: "ν",
|
||
num: "#",
|
||
numero: "№",
|
||
numsp: " ",
|
||
nvap: "≍⃒",
|
||
nvdash: "⊬",
|
||
nvDash: "⊭",
|
||
nVdash: "⊮",
|
||
nVDash: "⊯",
|
||
nvge: "≥⃒",
|
||
nvgt: ">⃒",
|
||
nvHarr: "⤄",
|
||
nvinfin: "⧞",
|
||
nvlArr: "⤂",
|
||
nvle: "≤⃒",
|
||
nvlt: "<⃒",
|
||
nvltrie: "⊴⃒",
|
||
nvrArr: "⤃",
|
||
nvrtrie: "⊵⃒",
|
||
nvsim: "∼⃒",
|
||
nwarhk: "⤣",
|
||
nwarr: "↖",
|
||
nwArr: "⇖",
|
||
nwarrow: "↖",
|
||
nwnear: "⤧",
|
||
Oacute: "Ó",
|
||
oacute: "ó",
|
||
oast: "⊛",
|
||
Ocirc: "Ô",
|
||
ocirc: "ô",
|
||
ocir: "⊚",
|
||
Ocy: "О",
|
||
ocy: "о",
|
||
odash: "⊝",
|
||
Odblac: "Ő",
|
||
odblac: "ő",
|
||
odiv: "⨸",
|
||
odot: "⊙",
|
||
odsold: "⦼",
|
||
OElig: "Œ",
|
||
oelig: "œ",
|
||
ofcir: "⦿",
|
||
Ofr: "𝔒",
|
||
ofr: "𝔬",
|
||
ogon: "˛",
|
||
Ograve: "Ò",
|
||
ograve: "ò",
|
||
ogt: "⧁",
|
||
ohbar: "⦵",
|
||
ohm: "Ω",
|
||
oint: "∮",
|
||
olarr: "↺",
|
||
olcir: "⦾",
|
||
olcross: "⦻",
|
||
oline: "‾",
|
||
olt: "⧀",
|
||
Omacr: "Ō",
|
||
omacr: "ō",
|
||
Omega: "Ω",
|
||
omega: "ω",
|
||
Omicron: "Ο",
|
||
omicron: "ο",
|
||
omid: "⦶",
|
||
ominus: "⊖",
|
||
Oopf: "𝕆",
|
||
oopf: "𝕠",
|
||
opar: "⦷",
|
||
OpenCurlyDoubleQuote: "“",
|
||
OpenCurlyQuote: "‘",
|
||
operp: "⦹",
|
||
oplus: "⊕",
|
||
orarr: "↻",
|
||
Or: "⩔",
|
||
or: "∨",
|
||
ord: "⩝",
|
||
order: "ℴ",
|
||
orderof: "ℴ",
|
||
ordf: "ª",
|
||
ordm: "º",
|
||
origof: "⊶",
|
||
oror: "⩖",
|
||
orslope: "⩗",
|
||
orv: "⩛",
|
||
oS: "Ⓢ",
|
||
Oscr: "𝒪",
|
||
oscr: "ℴ",
|
||
Oslash: "Ø",
|
||
oslash: "ø",
|
||
osol: "⊘",
|
||
Otilde: "Õ",
|
||
otilde: "õ",
|
||
otimesas: "⨶",
|
||
Otimes: "⨷",
|
||
otimes: "⊗",
|
||
Ouml: "Ö",
|
||
ouml: "ö",
|
||
ovbar: "⌽",
|
||
OverBar: "‾",
|
||
OverBrace: "⏞",
|
||
OverBracket: "⎴",
|
||
OverParenthesis: "⏜",
|
||
para: "¶",
|
||
parallel: "∥",
|
||
par: "∥",
|
||
parsim: "⫳",
|
||
parsl: "⫽",
|
||
part: "∂",
|
||
PartialD: "∂",
|
||
Pcy: "П",
|
||
pcy: "п",
|
||
percnt: "%",
|
||
period: ".",
|
||
permil: "‰",
|
||
perp: "⊥",
|
||
pertenk: "‱",
|
||
Pfr: "𝔓",
|
||
pfr: "𝔭",
|
||
Phi: "Φ",
|
||
phi: "φ",
|
||
phiv: "ϕ",
|
||
phmmat: "ℳ",
|
||
phone: "☎",
|
||
Pi: "Π",
|
||
pi: "π",
|
||
pitchfork: "⋔",
|
||
piv: "ϖ",
|
||
planck: "ℏ",
|
||
planckh: "ℎ",
|
||
plankv: "ℏ",
|
||
plusacir: "⨣",
|
||
plusb: "⊞",
|
||
pluscir: "⨢",
|
||
plus: "+",
|
||
plusdo: "∔",
|
||
plusdu: "⨥",
|
||
pluse: "⩲",
|
||
PlusMinus: "±",
|
||
plusmn: "±",
|
||
plussim: "⨦",
|
||
plustwo: "⨧",
|
||
pm: "±",
|
||
Poincareplane: "ℌ",
|
||
pointint: "⨕",
|
||
popf: "𝕡",
|
||
Popf: "ℙ",
|
||
pound: "£",
|
||
prap: "⪷",
|
||
Pr: "⪻",
|
||
pr: "≺",
|
||
prcue: "≼",
|
||
precapprox: "⪷",
|
||
prec: "≺",
|
||
preccurlyeq: "≼",
|
||
Precedes: "≺",
|
||
PrecedesEqual: "⪯",
|
||
PrecedesSlantEqual: "≼",
|
||
PrecedesTilde: "≾",
|
||
preceq: "⪯",
|
||
precnapprox: "⪹",
|
||
precneqq: "⪵",
|
||
precnsim: "⋨",
|
||
pre: "⪯",
|
||
prE: "⪳",
|
||
precsim: "≾",
|
||
prime: "′",
|
||
Prime: "″",
|
||
primes: "ℙ",
|
||
prnap: "⪹",
|
||
prnE: "⪵",
|
||
prnsim: "⋨",
|
||
prod: "∏",
|
||
Product: "∏",
|
||
profalar: "⌮",
|
||
profline: "⌒",
|
||
profsurf: "⌓",
|
||
prop: "∝",
|
||
Proportional: "∝",
|
||
Proportion: "∷",
|
||
propto: "∝",
|
||
prsim: "≾",
|
||
prurel: "⊰",
|
||
Pscr: "𝒫",
|
||
pscr: "𝓅",
|
||
Psi: "Ψ",
|
||
psi: "ψ",
|
||
puncsp: " ",
|
||
Qfr: "𝔔",
|
||
qfr: "𝔮",
|
||
qint: "⨌",
|
||
qopf: "𝕢",
|
||
Qopf: "ℚ",
|
||
qprime: "⁗",
|
||
Qscr: "𝒬",
|
||
qscr: "𝓆",
|
||
quaternions: "ℍ",
|
||
quatint: "⨖",
|
||
quest: "?",
|
||
questeq: "≟",
|
||
quot: '"',
|
||
QUOT: '"',
|
||
rAarr: "⇛",
|
||
race: "∽̱",
|
||
Racute: "Ŕ",
|
||
racute: "ŕ",
|
||
radic: "√",
|
||
raemptyv: "⦳",
|
||
rang: "⟩",
|
||
Rang: "⟫",
|
||
rangd: "⦒",
|
||
range: "⦥",
|
||
rangle: "⟩",
|
||
raquo: "»",
|
||
rarrap: "⥵",
|
||
rarrb: "⇥",
|
||
rarrbfs: "⤠",
|
||
rarrc: "⤳",
|
||
rarr: "→",
|
||
Rarr: "↠",
|
||
rArr: "⇒",
|
||
rarrfs: "⤞",
|
||
rarrhk: "↪",
|
||
rarrlp: "↬",
|
||
rarrpl: "⥅",
|
||
rarrsim: "⥴",
|
||
Rarrtl: "⤖",
|
||
rarrtl: "↣",
|
||
rarrw: "↝",
|
||
ratail: "⤚",
|
||
rAtail: "⤜",
|
||
ratio: "∶",
|
||
rationals: "ℚ",
|
||
rbarr: "⤍",
|
||
rBarr: "⤏",
|
||
RBarr: "⤐",
|
||
rbbrk: "❳",
|
||
rbrace: "}",
|
||
rbrack: "]",
|
||
rbrke: "⦌",
|
||
rbrksld: "⦎",
|
||
rbrkslu: "⦐",
|
||
Rcaron: "Ř",
|
||
rcaron: "ř",
|
||
Rcedil: "Ŗ",
|
||
rcedil: "ŗ",
|
||
rceil: "⌉",
|
||
rcub: "}",
|
||
Rcy: "Р",
|
||
rcy: "р",
|
||
rdca: "⤷",
|
||
rdldhar: "⥩",
|
||
rdquo: "”",
|
||
rdquor: "”",
|
||
rdsh: "↳",
|
||
real: "ℜ",
|
||
realine: "ℛ",
|
||
realpart: "ℜ",
|
||
reals: "ℝ",
|
||
Re: "ℜ",
|
||
rect: "▭",
|
||
reg: "®",
|
||
REG: "®",
|
||
ReverseElement: "∋",
|
||
ReverseEquilibrium: "⇋",
|
||
ReverseUpEquilibrium: "⥯",
|
||
rfisht: "⥽",
|
||
rfloor: "⌋",
|
||
rfr: "𝔯",
|
||
Rfr: "ℜ",
|
||
rHar: "⥤",
|
||
rhard: "⇁",
|
||
rharu: "⇀",
|
||
rharul: "⥬",
|
||
Rho: "Ρ",
|
||
rho: "ρ",
|
||
rhov: "ϱ",
|
||
RightAngleBracket: "⟩",
|
||
RightArrowBar: "⇥",
|
||
rightarrow: "→",
|
||
RightArrow: "→",
|
||
Rightarrow: "⇒",
|
||
RightArrowLeftArrow: "⇄",
|
||
rightarrowtail: "↣",
|
||
RightCeiling: "⌉",
|
||
RightDoubleBracket: "⟧",
|
||
RightDownTeeVector: "⥝",
|
||
RightDownVectorBar: "⥕",
|
||
RightDownVector: "⇂",
|
||
RightFloor: "⌋",
|
||
rightharpoondown: "⇁",
|
||
rightharpoonup: "⇀",
|
||
rightleftarrows: "⇄",
|
||
rightleftharpoons: "⇌",
|
||
rightrightarrows: "⇉",
|
||
rightsquigarrow: "↝",
|
||
RightTeeArrow: "↦",
|
||
RightTee: "⊢",
|
||
RightTeeVector: "⥛",
|
||
rightthreetimes: "⋌",
|
||
RightTriangleBar: "⧐",
|
||
RightTriangle: "⊳",
|
||
RightTriangleEqual: "⊵",
|
||
RightUpDownVector: "⥏",
|
||
RightUpTeeVector: "⥜",
|
||
RightUpVectorBar: "⥔",
|
||
RightUpVector: "↾",
|
||
RightVectorBar: "⥓",
|
||
RightVector: "⇀",
|
||
ring: "˚",
|
||
risingdotseq: "≓",
|
||
rlarr: "⇄",
|
||
rlhar: "⇌",
|
||
rlm: "",
|
||
rmoustache: "⎱",
|
||
rmoust: "⎱",
|
||
rnmid: "⫮",
|
||
roang: "⟭",
|
||
roarr: "⇾",
|
||
robrk: "⟧",
|
||
ropar: "⦆",
|
||
ropf: "𝕣",
|
||
Ropf: "ℝ",
|
||
roplus: "⨮",
|
||
rotimes: "⨵",
|
||
RoundImplies: "⥰",
|
||
rpar: ")",
|
||
rpargt: "⦔",
|
||
rppolint: "⨒",
|
||
rrarr: "⇉",
|
||
Rrightarrow: "⇛",
|
||
rsaquo: "›",
|
||
rscr: "𝓇",
|
||
Rscr: "ℛ",
|
||
rsh: "↱",
|
||
Rsh: "↱",
|
||
rsqb: "]",
|
||
rsquo: "’",
|
||
rsquor: "’",
|
||
rthree: "⋌",
|
||
rtimes: "⋊",
|
||
rtri: "▹",
|
||
rtrie: "⊵",
|
||
rtrif: "▸",
|
||
rtriltri: "⧎",
|
||
RuleDelayed: "⧴",
|
||
ruluhar: "⥨",
|
||
rx: "℞",
|
||
Sacute: "Ś",
|
||
sacute: "ś",
|
||
sbquo: "‚",
|
||
scap: "⪸",
|
||
Scaron: "Š",
|
||
scaron: "š",
|
||
Sc: "⪼",
|
||
sc: "≻",
|
||
sccue: "≽",
|
||
sce: "⪰",
|
||
scE: "⪴",
|
||
Scedil: "Ş",
|
||
scedil: "ş",
|
||
Scirc: "Ŝ",
|
||
scirc: "ŝ",
|
||
scnap: "⪺",
|
||
scnE: "⪶",
|
||
scnsim: "⋩",
|
||
scpolint: "⨓",
|
||
scsim: "≿",
|
||
Scy: "С",
|
||
scy: "с",
|
||
sdotb: "⊡",
|
||
sdot: "⋅",
|
||
sdote: "⩦",
|
||
searhk: "⤥",
|
||
searr: "↘",
|
||
seArr: "⇘",
|
||
searrow: "↘",
|
||
sect: "§",
|
||
semi: ";",
|
||
seswar: "⤩",
|
||
setminus: "∖",
|
||
setmn: "∖",
|
||
sext: "✶",
|
||
Sfr: "𝔖",
|
||
sfr: "𝔰",
|
||
sfrown: "⌢",
|
||
sharp: "♯",
|
||
SHCHcy: "Щ",
|
||
shchcy: "щ",
|
||
SHcy: "Ш",
|
||
shcy: "ш",
|
||
ShortDownArrow: "↓",
|
||
ShortLeftArrow: "←",
|
||
shortmid: "∣",
|
||
shortparallel: "∥",
|
||
ShortRightArrow: "→",
|
||
ShortUpArrow: "↑",
|
||
shy: "",
|
||
Sigma: "Σ",
|
||
sigma: "σ",
|
||
sigmaf: "ς",
|
||
sigmav: "ς",
|
||
sim: "∼",
|
||
simdot: "⩪",
|
||
sime: "≃",
|
||
simeq: "≃",
|
||
simg: "⪞",
|
||
simgE: "⪠",
|
||
siml: "⪝",
|
||
simlE: "⪟",
|
||
simne: "≆",
|
||
simplus: "⨤",
|
||
simrarr: "⥲",
|
||
slarr: "←",
|
||
SmallCircle: "∘",
|
||
smallsetminus: "∖",
|
||
smashp: "⨳",
|
||
smeparsl: "⧤",
|
||
smid: "∣",
|
||
smile: "⌣",
|
||
smt: "⪪",
|
||
smte: "⪬",
|
||
smtes: "⪬︀",
|
||
SOFTcy: "Ь",
|
||
softcy: "ь",
|
||
solbar: "⌿",
|
||
solb: "⧄",
|
||
sol: "/",
|
||
Sopf: "𝕊",
|
||
sopf: "𝕤",
|
||
spades: "♠",
|
||
spadesuit: "♠",
|
||
spar: "∥",
|
||
sqcap: "⊓",
|
||
sqcaps: "⊓︀",
|
||
sqcup: "⊔",
|
||
sqcups: "⊔︀",
|
||
Sqrt: "√",
|
||
sqsub: "⊏",
|
||
sqsube: "⊑",
|
||
sqsubset: "⊏",
|
||
sqsubseteq: "⊑",
|
||
sqsup: "⊐",
|
||
sqsupe: "⊒",
|
||
sqsupset: "⊐",
|
||
sqsupseteq: "⊒",
|
||
square: "□",
|
||
Square: "□",
|
||
SquareIntersection: "⊓",
|
||
SquareSubset: "⊏",
|
||
SquareSubsetEqual: "⊑",
|
||
SquareSuperset: "⊐",
|
||
SquareSupersetEqual: "⊒",
|
||
SquareUnion: "⊔",
|
||
squarf: "▪",
|
||
squ: "□",
|
||
squf: "▪",
|
||
srarr: "→",
|
||
Sscr: "𝒮",
|
||
sscr: "𝓈",
|
||
ssetmn: "∖",
|
||
ssmile: "⌣",
|
||
sstarf: "⋆",
|
||
Star: "⋆",
|
||
star: "☆",
|
||
starf: "★",
|
||
straightepsilon: "ϵ",
|
||
straightphi: "ϕ",
|
||
strns: "¯",
|
||
sub: "⊂",
|
||
Sub: "⋐",
|
||
subdot: "⪽",
|
||
subE: "⫅",
|
||
sube: "⊆",
|
||
subedot: "⫃",
|
||
submult: "⫁",
|
||
subnE: "⫋",
|
||
subne: "⊊",
|
||
subplus: "⪿",
|
||
subrarr: "⥹",
|
||
subset: "⊂",
|
||
Subset: "⋐",
|
||
subseteq: "⊆",
|
||
subseteqq: "⫅",
|
||
SubsetEqual: "⊆",
|
||
subsetneq: "⊊",
|
||
subsetneqq: "⫋",
|
||
subsim: "⫇",
|
||
subsub: "⫕",
|
||
subsup: "⫓",
|
||
succapprox: "⪸",
|
||
succ: "≻",
|
||
succcurlyeq: "≽",
|
||
Succeeds: "≻",
|
||
SucceedsEqual: "⪰",
|
||
SucceedsSlantEqual: "≽",
|
||
SucceedsTilde: "≿",
|
||
succeq: "⪰",
|
||
succnapprox: "⪺",
|
||
succneqq: "⪶",
|
||
succnsim: "⋩",
|
||
succsim: "≿",
|
||
SuchThat: "∋",
|
||
sum: "∑",
|
||
Sum: "∑",
|
||
sung: "♪",
|
||
sup1: "¹",
|
||
sup2: "²",
|
||
sup3: "³",
|
||
sup: "⊃",
|
||
Sup: "⋑",
|
||
supdot: "⪾",
|
||
supdsub: "⫘",
|
||
supE: "⫆",
|
||
supe: "⊇",
|
||
supedot: "⫄",
|
||
Superset: "⊃",
|
||
SupersetEqual: "⊇",
|
||
suphsol: "⟉",
|
||
suphsub: "⫗",
|
||
suplarr: "⥻",
|
||
supmult: "⫂",
|
||
supnE: "⫌",
|
||
supne: "⊋",
|
||
supplus: "⫀",
|
||
supset: "⊃",
|
||
Supset: "⋑",
|
||
supseteq: "⊇",
|
||
supseteqq: "⫆",
|
||
supsetneq: "⊋",
|
||
supsetneqq: "⫌",
|
||
supsim: "⫈",
|
||
supsub: "⫔",
|
||
supsup: "⫖",
|
||
swarhk: "⤦",
|
||
swarr: "↙",
|
||
swArr: "⇙",
|
||
swarrow: "↙",
|
||
swnwar: "⤪",
|
||
szlig: "ß",
|
||
Tab: "\t",
|
||
target: "⌖",
|
||
Tau: "Τ",
|
||
tau: "τ",
|
||
tbrk: "⎴",
|
||
Tcaron: "Ť",
|
||
tcaron: "ť",
|
||
Tcedil: "Ţ",
|
||
tcedil: "ţ",
|
||
Tcy: "Т",
|
||
tcy: "т",
|
||
tdot: "⃛",
|
||
telrec: "⌕",
|
||
Tfr: "𝔗",
|
||
tfr: "𝔱",
|
||
there4: "∴",
|
||
therefore: "∴",
|
||
Therefore: "∴",
|
||
Theta: "Θ",
|
||
theta: "θ",
|
||
thetasym: "ϑ",
|
||
thetav: "ϑ",
|
||
thickapprox: "≈",
|
||
thicksim: "∼",
|
||
ThickSpace: " ",
|
||
ThinSpace: " ",
|
||
thinsp: " ",
|
||
thkap: "≈",
|
||
thksim: "∼",
|
||
THORN: "Þ",
|
||
thorn: "þ",
|
||
tilde: "˜",
|
||
Tilde: "∼",
|
||
TildeEqual: "≃",
|
||
TildeFullEqual: "≅",
|
||
TildeTilde: "≈",
|
||
timesbar: "⨱",
|
||
timesb: "⊠",
|
||
times: "×",
|
||
timesd: "⨰",
|
||
tint: "∭",
|
||
toea: "⤨",
|
||
topbot: "⌶",
|
||
topcir: "⫱",
|
||
top: "⊤",
|
||
Topf: "𝕋",
|
||
topf: "𝕥",
|
||
topfork: "⫚",
|
||
tosa: "⤩",
|
||
tprime: "‴",
|
||
trade: "™",
|
||
TRADE: "™",
|
||
triangle: "▵",
|
||
triangledown: "▿",
|
||
triangleleft: "◃",
|
||
trianglelefteq: "⊴",
|
||
triangleq: "≜",
|
||
triangleright: "▹",
|
||
trianglerighteq: "⊵",
|
||
tridot: "◬",
|
||
trie: "≜",
|
||
triminus: "⨺",
|
||
TripleDot: "⃛",
|
||
triplus: "⨹",
|
||
trisb: "⧍",
|
||
tritime: "⨻",
|
||
trpezium: "⏢",
|
||
Tscr: "𝒯",
|
||
tscr: "𝓉",
|
||
TScy: "Ц",
|
||
tscy: "ц",
|
||
TSHcy: "Ћ",
|
||
tshcy: "ћ",
|
||
Tstrok: "Ŧ",
|
||
tstrok: "ŧ",
|
||
twixt: "≬",
|
||
twoheadleftarrow: "↞",
|
||
twoheadrightarrow: "↠",
|
||
Uacute: "Ú",
|
||
uacute: "ú",
|
||
uarr: "↑",
|
||
Uarr: "↟",
|
||
uArr: "⇑",
|
||
Uarrocir: "⥉",
|
||
Ubrcy: "Ў",
|
||
ubrcy: "ў",
|
||
Ubreve: "Ŭ",
|
||
ubreve: "ŭ",
|
||
Ucirc: "Û",
|
||
ucirc: "û",
|
||
Ucy: "У",
|
||
ucy: "у",
|
||
udarr: "⇅",
|
||
Udblac: "Ű",
|
||
udblac: "ű",
|
||
udhar: "⥮",
|
||
ufisht: "⥾",
|
||
Ufr: "𝔘",
|
||
ufr: "𝔲",
|
||
Ugrave: "Ù",
|
||
ugrave: "ù",
|
||
uHar: "⥣",
|
||
uharl: "↿",
|
||
uharr: "↾",
|
||
uhblk: "▀",
|
||
ulcorn: "⌜",
|
||
ulcorner: "⌜",
|
||
ulcrop: "⌏",
|
||
ultri: "◸",
|
||
Umacr: "Ū",
|
||
umacr: "ū",
|
||
uml: "¨",
|
||
UnderBar: "_",
|
||
UnderBrace: "⏟",
|
||
UnderBracket: "⎵",
|
||
UnderParenthesis: "⏝",
|
||
Union: "⋃",
|
||
UnionPlus: "⊎",
|
||
Uogon: "Ų",
|
||
uogon: "ų",
|
||
Uopf: "𝕌",
|
||
uopf: "𝕦",
|
||
UpArrowBar: "⤒",
|
||
uparrow: "↑",
|
||
UpArrow: "↑",
|
||
Uparrow: "⇑",
|
||
UpArrowDownArrow: "⇅",
|
||
updownarrow: "↕",
|
||
UpDownArrow: "↕",
|
||
Updownarrow: "⇕",
|
||
UpEquilibrium: "⥮",
|
||
upharpoonleft: "↿",
|
||
upharpoonright: "↾",
|
||
uplus: "⊎",
|
||
UpperLeftArrow: "↖",
|
||
UpperRightArrow: "↗",
|
||
upsi: "υ",
|
||
Upsi: "ϒ",
|
||
upsih: "ϒ",
|
||
Upsilon: "Υ",
|
||
upsilon: "υ",
|
||
UpTeeArrow: "↥",
|
||
UpTee: "⊥",
|
||
upuparrows: "⇈",
|
||
urcorn: "⌝",
|
||
urcorner: "⌝",
|
||
urcrop: "⌎",
|
||
Uring: "Ů",
|
||
uring: "ů",
|
||
urtri: "◹",
|
||
Uscr: "𝒰",
|
||
uscr: "𝓊",
|
||
utdot: "⋰",
|
||
Utilde: "Ũ",
|
||
utilde: "ũ",
|
||
utri: "▵",
|
||
utrif: "▴",
|
||
uuarr: "⇈",
|
||
Uuml: "Ü",
|
||
uuml: "ü",
|
||
uwangle: "⦧",
|
||
vangrt: "⦜",
|
||
varepsilon: "ϵ",
|
||
varkappa: "ϰ",
|
||
varnothing: "∅",
|
||
varphi: "ϕ",
|
||
varpi: "ϖ",
|
||
varpropto: "∝",
|
||
varr: "↕",
|
||
vArr: "⇕",
|
||
varrho: "ϱ",
|
||
varsigma: "ς",
|
||
varsubsetneq: "⊊︀",
|
||
varsubsetneqq: "⫋︀",
|
||
varsupsetneq: "⊋︀",
|
||
varsupsetneqq: "⫌︀",
|
||
vartheta: "ϑ",
|
||
vartriangleleft: "⊲",
|
||
vartriangleright: "⊳",
|
||
vBar: "⫨",
|
||
Vbar: "⫫",
|
||
vBarv: "⫩",
|
||
Vcy: "В",
|
||
vcy: "в",
|
||
vdash: "⊢",
|
||
vDash: "⊨",
|
||
Vdash: "⊩",
|
||
VDash: "⊫",
|
||
Vdashl: "⫦",
|
||
veebar: "⊻",
|
||
vee: "∨",
|
||
Vee: "⋁",
|
||
veeeq: "≚",
|
||
vellip: "⋮",
|
||
verbar: "|",
|
||
Verbar: "‖",
|
||
vert: "|",
|
||
Vert: "‖",
|
||
VerticalBar: "∣",
|
||
VerticalLine: "|",
|
||
VerticalSeparator: "❘",
|
||
VerticalTilde: "≀",
|
||
VeryThinSpace: " ",
|
||
Vfr: "𝔙",
|
||
vfr: "𝔳",
|
||
vltri: "⊲",
|
||
vnsub: "⊂⃒",
|
||
vnsup: "⊃⃒",
|
||
Vopf: "𝕍",
|
||
vopf: "𝕧",
|
||
vprop: "∝",
|
||
vrtri: "⊳",
|
||
Vscr: "𝒱",
|
||
vscr: "𝓋",
|
||
vsubnE: "⫋︀",
|
||
vsubne: "⊊︀",
|
||
vsupnE: "⫌︀",
|
||
vsupne: "⊋︀",
|
||
Vvdash: "⊪",
|
||
vzigzag: "⦚",
|
||
Wcirc: "Ŵ",
|
||
wcirc: "ŵ",
|
||
wedbar: "⩟",
|
||
wedge: "∧",
|
||
Wedge: "⋀",
|
||
wedgeq: "≙",
|
||
weierp: "℘",
|
||
Wfr: "𝔚",
|
||
wfr: "𝔴",
|
||
Wopf: "𝕎",
|
||
wopf: "𝕨",
|
||
wp: "℘",
|
||
wr: "≀",
|
||
wreath: "≀",
|
||
Wscr: "𝒲",
|
||
wscr: "𝓌",
|
||
xcap: "⋂",
|
||
xcirc: "◯",
|
||
xcup: "⋃",
|
||
xdtri: "▽",
|
||
Xfr: "𝔛",
|
||
xfr: "𝔵",
|
||
xharr: "⟷",
|
||
xhArr: "⟺",
|
||
Xi: "Ξ",
|
||
xi: "ξ",
|
||
xlarr: "⟵",
|
||
xlArr: "⟸",
|
||
xmap: "⟼",
|
||
xnis: "⋻",
|
||
xodot: "⨀",
|
||
Xopf: "𝕏",
|
||
xopf: "𝕩",
|
||
xoplus: "⨁",
|
||
xotime: "⨂",
|
||
xrarr: "⟶",
|
||
xrArr: "⟹",
|
||
Xscr: "𝒳",
|
||
xscr: "𝓍",
|
||
xsqcup: "⨆",
|
||
xuplus: "⨄",
|
||
xutri: "△",
|
||
xvee: "⋁",
|
||
xwedge: "⋀",
|
||
Yacute: "Ý",
|
||
yacute: "ý",
|
||
YAcy: "Я",
|
||
yacy: "я",
|
||
Ycirc: "Ŷ",
|
||
ycirc: "ŷ",
|
||
Ycy: "Ы",
|
||
ycy: "ы",
|
||
yen: "¥",
|
||
Yfr: "𝔜",
|
||
yfr: "𝔶",
|
||
YIcy: "Ї",
|
||
yicy: "ї",
|
||
Yopf: "𝕐",
|
||
yopf: "𝕪",
|
||
Yscr: "𝒴",
|
||
yscr: "𝓎",
|
||
YUcy: "Ю",
|
||
yucy: "ю",
|
||
yuml: "ÿ",
|
||
Yuml: "Ÿ",
|
||
Zacute: "Ź",
|
||
zacute: "ź",
|
||
Zcaron: "Ž",
|
||
zcaron: "ž",
|
||
Zcy: "З",
|
||
zcy: "з",
|
||
Zdot: "Ż",
|
||
zdot: "ż",
|
||
zeetrf: "ℨ",
|
||
ZeroWidthSpace: "",
|
||
Zeta: "Ζ",
|
||
zeta: "ζ",
|
||
zfr: "𝔷",
|
||
Zfr: "ℨ",
|
||
ZHcy: "Ж",
|
||
zhcy: "ж",
|
||
zigrarr: "⇝",
|
||
zopf: "𝕫",
|
||
Zopf: "ℤ",
|
||
Zscr: "𝒵",
|
||
zscr: "𝓏",
|
||
zwj: "",
|
||
zwnj: "",
|
||
};
|
||
},
|
||
{},
|
||
],
|
||
53: [
|
||
function (e, r, t) {
|
||
function n(e) {
|
||
return (
|
||
Array.prototype.slice.call(arguments, 1).forEach(function (r) {
|
||
r &&
|
||
Object.keys(r).forEach(function (t) {
|
||
e[t] = r[t];
|
||
});
|
||
}),
|
||
e
|
||
);
|
||
}
|
||
function o(e) {
|
||
return Object.prototype.toString.call(e);
|
||
}
|
||
function s(e) {
|
||
return "[object String]" === o(e);
|
||
}
|
||
function i(e) {
|
||
return "[object Object]" === o(e);
|
||
}
|
||
function a(e) {
|
||
return "[object RegExp]" === o(e);
|
||
}
|
||
function c(e) {
|
||
return "[object Function]" === o(e);
|
||
}
|
||
function l(e) {
|
||
return e.replace(/[.?*+^$[\]\\(){}|-]/g, "\\$&");
|
||
}
|
||
function u(r) {
|
||
function t(e) {
|
||
return e.replace("%TLDS%", o.src_tlds);
|
||
}
|
||
function n(e, r) {
|
||
throw new Error('(LinkifyIt) Invalid schema "' + e + '": ' + r);
|
||
}
|
||
var o = (r.re = e("./lib/re")(r.__opts__)),
|
||
u = r.__tlds__.slice();
|
||
r.onCompile(),
|
||
r.__tlds_replaced__ ||
|
||
u.push(
|
||
"a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"
|
||
),
|
||
u.push(o.src_xn),
|
||
(o.src_tlds = u.join("|")),
|
||
(o.email_fuzzy = RegExp(t(o.tpl_email_fuzzy), "i")),
|
||
(o.link_fuzzy = RegExp(t(o.tpl_link_fuzzy), "i")),
|
||
(o.link_no_ip_fuzzy = RegExp(t(o.tpl_link_no_ip_fuzzy), "i")),
|
||
(o.host_fuzzy_test = RegExp(t(o.tpl_host_fuzzy_test), "i"));
|
||
var p = [];
|
||
(r.__compiled__ = {}),
|
||
Object.keys(r.__schemas__).forEach(function (e) {
|
||
var t = r.__schemas__[e];
|
||
if (null !== t) {
|
||
var o = { validate: null, link: null };
|
||
return (
|
||
(r.__compiled__[e] = o),
|
||
i(t)
|
||
? (a(t.validate)
|
||
? (o.validate = (function (e) {
|
||
return function (r, t) {
|
||
var n = r.slice(t);
|
||
return e.test(n) ? n.match(e)[0].length : 0;
|
||
};
|
||
})(t.validate))
|
||
: c(t.validate)
|
||
? (o.validate = t.validate)
|
||
: n(e, t),
|
||
void (c(t.normalize)
|
||
? (o.normalize = t.normalize)
|
||
: t.normalize
|
||
? n(e, t)
|
||
: (o.normalize = function (e, r) {
|
||
r.normalize(e);
|
||
})))
|
||
: s(t)
|
||
? void p.push(e)
|
||
: void n(e, t)
|
||
);
|
||
}
|
||
}),
|
||
p.forEach(function (e) {
|
||
r.__compiled__[r.__schemas__[e]] &&
|
||
((r.__compiled__[e].validate =
|
||
r.__compiled__[r.__schemas__[e]].validate),
|
||
(r.__compiled__[e].normalize =
|
||
r.__compiled__[r.__schemas__[e]].normalize));
|
||
}),
|
||
(r.__compiled__[""] = {
|
||
validate: null,
|
||
normalize: function (e, r) {
|
||
r.normalize(e);
|
||
},
|
||
});
|
||
var h = Object.keys(r.__compiled__)
|
||
.filter(function (e) {
|
||
return e.length > 0 && r.__compiled__[e];
|
||
})
|
||
.map(l)
|
||
.join("|");
|
||
(r.re.schema_test = RegExp(
|
||
"(^|(?!_)(?:[><|]|" + o.src_ZPCc + "))(" + h + ")",
|
||
"i"
|
||
)),
|
||
(r.re.schema_search = RegExp(
|
||
"(^|(?!_)(?:[><|]|" + o.src_ZPCc + "))(" + h + ")",
|
||
"ig"
|
||
)),
|
||
(r.re.pretest = RegExp(
|
||
"(" +
|
||
r.re.schema_test.source +
|
||
")|(" +
|
||
r.re.host_fuzzy_test.source +
|
||
")|@",
|
||
"i"
|
||
)),
|
||
(function (e) {
|
||
(e.__index__ = -1), (e.__text_cache__ = "");
|
||
})(r);
|
||
}
|
||
function p(e, r) {
|
||
var t = e.__index__,
|
||
n = e.__last_index__,
|
||
o = e.__text_cache__.slice(t, n);
|
||
(this.schema = e.__schema__.toLowerCase()),
|
||
(this.index = t + r),
|
||
(this.lastIndex = n + r),
|
||
(this.raw = o),
|
||
(this.text = o),
|
||
(this.url = o);
|
||
}
|
||
function h(e, r) {
|
||
var t = new p(e, r);
|
||
return e.__compiled__[t.schema].normalize(t, e), t;
|
||
}
|
||
function f(e, r) {
|
||
if (!(this instanceof f)) return new f(e, r);
|
||
r ||
|
||
((function (e) {
|
||
return Object.keys(e || {}).reduce(function (e, r) {
|
||
return e || d.hasOwnProperty(r);
|
||
}, !1);
|
||
})(e) &&
|
||
((r = e), (e = {}))),
|
||
(this.__opts__ = n({}, d, r)),
|
||
(this.__index__ = -1),
|
||
(this.__last_index__ = -1),
|
||
(this.__schema__ = ""),
|
||
(this.__text_cache__ = ""),
|
||
(this.__schemas__ = n({}, m, e)),
|
||
(this.__compiled__ = {}),
|
||
(this.__tlds__ = _),
|
||
(this.__tlds_replaced__ = !1),
|
||
(this.re = {}),
|
||
u(this);
|
||
}
|
||
var d = { fuzzyLink: !0, fuzzyEmail: !0, fuzzyIP: !1 },
|
||
m = {
|
||
"http:": {
|
||
validate: function (e, r, t) {
|
||
var n = e.slice(r);
|
||
return (
|
||
t.re.http ||
|
||
(t.re.http = new RegExp(
|
||
"^\\/\\/" +
|
||
t.re.src_auth +
|
||
t.re.src_host_port_strict +
|
||
t.re.src_path,
|
||
"i"
|
||
)),
|
||
t.re.http.test(n) ? n.match(t.re.http)[0].length : 0
|
||
);
|
||
},
|
||
},
|
||
"https:": "http:",
|
||
"ftp:": "http:",
|
||
"//": {
|
||
validate: function (e, r, t) {
|
||
var n = e.slice(r);
|
||
return (
|
||
t.re.no_http ||
|
||
(t.re.no_http = new RegExp(
|
||
"^" +
|
||
t.re.src_auth +
|
||
"(?:localhost|(?:(?:" +
|
||
t.re.src_domain +
|
||
")\\.)+" +
|
||
t.re.src_domain_root +
|
||
")" +
|
||
t.re.src_port +
|
||
t.re.src_host_terminator +
|
||
t.re.src_path,
|
||
"i"
|
||
)),
|
||
t.re.no_http.test(n)
|
||
? (r >= 3 && ":" === e[r - 3]) ||
|
||
(r >= 3 && "/" === e[r - 3])
|
||
? 0
|
||
: n.match(t.re.no_http)[0].length
|
||
: 0
|
||
);
|
||
},
|
||
},
|
||
"mailto:": {
|
||
validate: function (e, r, t) {
|
||
var n = e.slice(r);
|
||
return (
|
||
t.re.mailto ||
|
||
(t.re.mailto = new RegExp(
|
||
"^" +
|
||
t.re.src_email_name +
|
||
"@" +
|
||
t.re.src_host_strict,
|
||
"i"
|
||
)),
|
||
t.re.mailto.test(n) ? n.match(t.re.mailto)[0].length : 0
|
||
);
|
||
},
|
||
},
|
||
},
|
||
_ =
|
||
"biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split(
|
||
"|"
|
||
);
|
||
(f.prototype.add = function (e, r) {
|
||
return (this.__schemas__[e] = r), u(this), this;
|
||
}),
|
||
(f.prototype.set = function (e) {
|
||
return (this.__opts__ = n(this.__opts__, e)), this;
|
||
}),
|
||
(f.prototype.test = function (e) {
|
||
if (
|
||
((this.__text_cache__ = e), (this.__index__ = -1), !e.length)
|
||
)
|
||
return !1;
|
||
var r, t, n, o, s, i, a, c;
|
||
if (this.re.schema_test.test(e))
|
||
for (
|
||
(a = this.re.schema_search).lastIndex = 0;
|
||
null !== (r = a.exec(e));
|
||
|
||
)
|
||
if ((o = this.testSchemaAt(e, r[2], a.lastIndex))) {
|
||
(this.__schema__ = r[2]),
|
||
(this.__index__ = r.index + r[1].length),
|
||
(this.__last_index__ = r.index + r[0].length + o);
|
||
break;
|
||
}
|
||
return (
|
||
this.__opts__.fuzzyLink &&
|
||
this.__compiled__["http:"] &&
|
||
(c = e.search(this.re.host_fuzzy_test)) >= 0 &&
|
||
(this.__index__ < 0 || c < this.__index__) &&
|
||
null !==
|
||
(t = e.match(
|
||
this.__opts__.fuzzyIP
|
||
? this.re.link_fuzzy
|
||
: this.re.link_no_ip_fuzzy
|
||
)) &&
|
||
((s = t.index + t[1].length),
|
||
(this.__index__ < 0 || s < this.__index__) &&
|
||
((this.__schema__ = ""),
|
||
(this.__index__ = s),
|
||
(this.__last_index__ = t.index + t[0].length))),
|
||
this.__opts__.fuzzyEmail &&
|
||
this.__compiled__["mailto:"] &&
|
||
e.indexOf("@") >= 0 &&
|
||
null !== (n = e.match(this.re.email_fuzzy)) &&
|
||
((s = n.index + n[1].length),
|
||
(i = n.index + n[0].length),
|
||
(this.__index__ < 0 ||
|
||
s < this.__index__ ||
|
||
(s === this.__index__ && i > this.__last_index__)) &&
|
||
((this.__schema__ = "mailto:"),
|
||
(this.__index__ = s),
|
||
(this.__last_index__ = i))),
|
||
this.__index__ >= 0
|
||
);
|
||
}),
|
||
(f.prototype.pretest = function (e) {
|
||
return this.re.pretest.test(e);
|
||
}),
|
||
(f.prototype.testSchemaAt = function (e, r, t) {
|
||
return this.__compiled__[r.toLowerCase()]
|
||
? this.__compiled__[r.toLowerCase()].validate(e, t, this)
|
||
: 0;
|
||
}),
|
||
(f.prototype.match = function (e) {
|
||
var r = 0,
|
||
t = [];
|
||
this.__index__ >= 0 &&
|
||
this.__text_cache__ === e &&
|
||
(t.push(h(this, r)), (r = this.__last_index__));
|
||
for (var n = r ? e.slice(r) : e; this.test(n); )
|
||
t.push(h(this, r)),
|
||
(n = n.slice(this.__last_index__)),
|
||
(r += this.__last_index__);
|
||
return t.length ? t : null;
|
||
}),
|
||
(f.prototype.tlds = function (e, r) {
|
||
return (
|
||
(e = Array.isArray(e) ? e : [e]),
|
||
r
|
||
? ((this.__tlds__ = this.__tlds__
|
||
.concat(e)
|
||
.sort()
|
||
.filter(function (e, r, t) {
|
||
return e !== t[r - 1];
|
||
})
|
||
.reverse()),
|
||
u(this),
|
||
this)
|
||
: ((this.__tlds__ = e.slice()),
|
||
(this.__tlds_replaced__ = !0),
|
||
u(this),
|
||
this)
|
||
);
|
||
}),
|
||
(f.prototype.normalize = function (e) {
|
||
e.schema || (e.url = "http://" + e.url),
|
||
"mailto:" !== e.schema ||
|
||
/^mailto:/i.test(e.url) ||
|
||
(e.url = "mailto:" + e.url);
|
||
}),
|
||
(f.prototype.onCompile = function () {}),
|
||
(r.exports = f);
|
||
},
|
||
{ "./lib/re": 54 },
|
||
],
|
||
54: [
|
||
function (e, r, t) {
|
||
r.exports = function (r) {
|
||
var t = {};
|
||
return (
|
||
(t.src_Any = e("uc.micro/properties/Any/regex").source),
|
||
(t.src_Cc = e("uc.micro/categories/Cc/regex").source),
|
||
(t.src_Z = e("uc.micro/categories/Z/regex").source),
|
||
(t.src_P = e("uc.micro/categories/P/regex").source),
|
||
(t.src_ZPCc = [t.src_Z, t.src_P, t.src_Cc].join("|")),
|
||
(t.src_ZCc = [t.src_Z, t.src_Cc].join("|")),
|
||
(t.src_pseudo_letter =
|
||
"(?:(?![><|]|" + t.src_ZPCc + ")" + t.src_Any + ")"),
|
||
(t.src_ip4 =
|
||
"(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)"),
|
||
(t.src_auth = "(?:(?:(?!" + t.src_ZCc + "|[@/\\[\\]()]).)+@)?"),
|
||
(t.src_port =
|
||
"(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?"),
|
||
(t.src_host_terminator =
|
||
"(?=$|[><|]|" +
|
||
t.src_ZPCc +
|
||
")(?!-|_|:\\d|\\.-|\\.(?!$|" +
|
||
t.src_ZPCc +
|
||
"))"),
|
||
(t.src_path =
|
||
"(?:[/?#](?:(?!" +
|
||
t.src_ZCc +
|
||
"|[><|]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!" +
|
||
t.src_ZCc +
|
||
"|\\]).)*\\]|\\((?:(?!" +
|
||
t.src_ZCc +
|
||
"|[)]).)*\\)|\\{(?:(?!" +
|
||
t.src_ZCc +
|
||
'|[}]).)*\\}|\\"(?:(?!' +
|
||
t.src_ZCc +
|
||
'|["]).)+\\"|\\\'(?:(?!' +
|
||
t.src_ZCc +
|
||
"|[']).)+\\'|\\'(?=" +
|
||
t.src_pseudo_letter +
|
||
"|[-]).|\\.{2,3}[a-zA-Z0-9%/]|\\.(?!" +
|
||
t.src_ZCc +
|
||
"|[.]).|" +
|
||
(r && r["---"] ? "\\-(?!--(?:[^-]|$))(?:-*)|" : "\\-+|") +
|
||
"\\,(?!" +
|
||
t.src_ZCc +
|
||
").|\\!(?!" +
|
||
t.src_ZCc +
|
||
"|[!]).|\\?(?!" +
|
||
t.src_ZCc +
|
||
"|[?]).)+|\\/)?"),
|
||
(t.src_email_name = '[\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]+'),
|
||
(t.src_xn = "xn--[a-z0-9\\-]{1,59}"),
|
||
(t.src_domain_root =
|
||
"(?:" + t.src_xn + "|" + t.src_pseudo_letter + "{1,63})"),
|
||
(t.src_domain =
|
||
"(?:" +
|
||
t.src_xn +
|
||
"|(?:" +
|
||
t.src_pseudo_letter +
|
||
")|(?:" +
|
||
t.src_pseudo_letter +
|
||
"(?:-(?!-)|" +
|
||
t.src_pseudo_letter +
|
||
"){0,61}" +
|
||
t.src_pseudo_letter +
|
||
"))"),
|
||
(t.src_host =
|
||
"(?:(?:(?:(?:" +
|
||
t.src_domain +
|
||
")\\.)*" +
|
||
t.src_domain +
|
||
"))"),
|
||
(t.tpl_host_fuzzy =
|
||
"(?:" +
|
||
t.src_ip4 +
|
||
"|(?:(?:(?:" +
|
||
t.src_domain +
|
||
")\\.)+(?:%TLDS%)))"),
|
||
(t.tpl_host_no_ip_fuzzy =
|
||
"(?:(?:(?:" + t.src_domain + ")\\.)+(?:%TLDS%))"),
|
||
(t.src_host_strict = t.src_host + t.src_host_terminator),
|
||
(t.tpl_host_fuzzy_strict =
|
||
t.tpl_host_fuzzy + t.src_host_terminator),
|
||
(t.src_host_port_strict =
|
||
t.src_host + t.src_port + t.src_host_terminator),
|
||
(t.tpl_host_port_fuzzy_strict =
|
||
t.tpl_host_fuzzy + t.src_port + t.src_host_terminator),
|
||
(t.tpl_host_port_no_ip_fuzzy_strict =
|
||
t.tpl_host_no_ip_fuzzy + t.src_port + t.src_host_terminator),
|
||
(t.tpl_host_fuzzy_test =
|
||
"localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:" +
|
||
t.src_ZPCc +
|
||
"|>|$))"),
|
||
(t.tpl_email_fuzzy =
|
||
"(^|[><|]|\\(|" +
|
||
t.src_ZCc +
|
||
")(" +
|
||
t.src_email_name +
|
||
"@" +
|
||
t.tpl_host_fuzzy_strict +
|
||
")"),
|
||
(t.tpl_link_fuzzy =
|
||
"(^|(?![.:/\\-_@])(?:[$+<=>^`||]|" +
|
||
t.src_ZPCc +
|
||
"))((?![$+<=>^`||])" +
|
||
t.tpl_host_port_fuzzy_strict +
|
||
t.src_path +
|
||
")"),
|
||
(t.tpl_link_no_ip_fuzzy =
|
||
"(^|(?![.:/\\-_@])(?:[$+<=>^`||]|" +
|
||
t.src_ZPCc +
|
||
"))((?![$+<=>^`||])" +
|
||
t.tpl_host_port_no_ip_fuzzy_strict +
|
||
t.src_path +
|
||
")"),
|
||
t
|
||
);
|
||
};
|
||
},
|
||
{
|
||
"uc.micro/categories/Cc/regex": 61,
|
||
"uc.micro/categories/P/regex": 63,
|
||
"uc.micro/categories/Z/regex": 64,
|
||
"uc.micro/properties/Any/regex": 66,
|
||
},
|
||
],
|
||
55: [
|
||
function (e, r, t) {
|
||
function n(e, r) {
|
||
var t;
|
||
return (
|
||
"string" != typeof r && (r = n.defaultChars),
|
||
(t = (function (e) {
|
||
var r,
|
||
t,
|
||
n = o[e];
|
||
if (n) return n;
|
||
for (n = o[e] = [], r = 0; r < 128; r++)
|
||
(t = String.fromCharCode(r)), n.push(t);
|
||
for (r = 0; r < e.length; r++)
|
||
n[(t = e.charCodeAt(r))] =
|
||
"%" + ("0" + t.toString(16).toUpperCase()).slice(-2);
|
||
return n;
|
||
})(r)),
|
||
e.replace(/(%[a-f0-9]{2})+/gi, function (e) {
|
||
var r,
|
||
n,
|
||
o,
|
||
s,
|
||
i,
|
||
a,
|
||
c,
|
||
l = "";
|
||
for (r = 0, n = e.length; r < n; r += 3)
|
||
(o = parseInt(e.slice(r + 1, r + 3), 16)) < 128
|
||
? (l += t[o])
|
||
: 192 == (224 & o) &&
|
||
r + 3 < n &&
|
||
128 == (192 & (s = parseInt(e.slice(r + 4, r + 6), 16)))
|
||
? ((l +=
|
||
(c = ((o << 6) & 1984) | (63 & s)) < 128
|
||
? "<22><>"
|
||
: String.fromCharCode(c)),
|
||
(r += 3))
|
||
: 224 == (240 & o) &&
|
||
r + 6 < n &&
|
||
((s = parseInt(e.slice(r + 4, r + 6), 16)),
|
||
(i = parseInt(e.slice(r + 7, r + 9), 16)),
|
||
128 == (192 & s) && 128 == (192 & i))
|
||
? ((l +=
|
||
(c =
|
||
((o << 12) & 61440) |
|
||
((s << 6) & 4032) |
|
||
(63 & i)) < 2048 ||
|
||
(c >= 55296 && c <= 57343)
|
||
? "<22><><EFBFBD>"
|
||
: String.fromCharCode(c)),
|
||
(r += 6))
|
||
: 240 == (248 & o) &&
|
||
r + 9 < n &&
|
||
((s = parseInt(e.slice(r + 4, r + 6), 16)),
|
||
(i = parseInt(e.slice(r + 7, r + 9), 16)),
|
||
(a = parseInt(e.slice(r + 10, r + 12), 16)),
|
||
128 == (192 & s) &&
|
||
128 == (192 & i) &&
|
||
128 == (192 & a))
|
||
? ((c =
|
||
((o << 18) & 1835008) |
|
||
((s << 12) & 258048) |
|
||
((i << 6) & 4032) |
|
||
(63 & a)) < 65536 || c > 1114111
|
||
? (l += "<22><><EFBFBD><EFBFBD>")
|
||
: ((c -= 65536),
|
||
(l += String.fromCharCode(
|
||
55296 + (c >> 10),
|
||
56320 + (1023 & c)
|
||
))),
|
||
(r += 9))
|
||
: (l += "<22>");
|
||
return l;
|
||
})
|
||
);
|
||
}
|
||
var o = {};
|
||
(n.defaultChars = ";/?:@&=+$,#"),
|
||
(n.componentChars = ""),
|
||
(r.exports = n);
|
||
},
|
||
{},
|
||
],
|
||
56: [
|
||
function (e, r, t) {
|
||
function n(e) {
|
||
var r,
|
||
t,
|
||
n = s[e];
|
||
if (n) return n;
|
||
for (n = s[e] = [], r = 0; r < 128; r++)
|
||
(t = String.fromCharCode(r)),
|
||
/^[0-9a-z]$/i.test(t)
|
||
? n.push(t)
|
||
: n.push(
|
||
"%" + ("0" + r.toString(16).toUpperCase()).slice(-2)
|
||
);
|
||
for (r = 0; r < e.length; r++) n[e.charCodeAt(r)] = e[r];
|
||
return n;
|
||
}
|
||
function o(e, r, t) {
|
||
var s,
|
||
i,
|
||
a,
|
||
c,
|
||
l,
|
||
u = "";
|
||
for (
|
||
"string" != typeof r && ((t = r), (r = o.defaultChars)),
|
||
void 0 === t && (t = !0),
|
||
l = n(r),
|
||
s = 0,
|
||
i = e.length;
|
||
s < i;
|
||
s++
|
||
)
|
||
if (
|
||
((a = e.charCodeAt(s)),
|
||
t &&
|
||
37 === a &&
|
||
s + 2 < i &&
|
||
/^[0-9a-f]{2}$/i.test(e.slice(s + 1, s + 3)))
|
||
)
|
||
(u += e.slice(s, s + 3)), (s += 2);
|
||
else if (a < 128) u += l[a];
|
||
else if (a >= 55296 && a <= 57343) {
|
||
if (
|
||
a >= 55296 &&
|
||
a <= 56319 &&
|
||
s + 1 < i &&
|
||
(c = e.charCodeAt(s + 1)) >= 56320 &&
|
||
c <= 57343
|
||
) {
|
||
(u += encodeURIComponent(e[s] + e[s + 1])), s++;
|
||
continue;
|
||
}
|
||
u += "%EF%BF%BD";
|
||
} else u += encodeURIComponent(e[s]);
|
||
return u;
|
||
}
|
||
var s = {};
|
||
(o.defaultChars = ";/?:@&=+$,-_.!~*'()#"),
|
||
(o.componentChars = "-_.!~*'()"),
|
||
(r.exports = o);
|
||
},
|
||
{},
|
||
],
|
||
57: [
|
||
function (e, r, t) {
|
||
r.exports = function (e) {
|
||
var r = "";
|
||
return (
|
||
(r += e.protocol || ""),
|
||
(r += e.slashes ? "//" : ""),
|
||
(r += e.auth ? e.auth + "@" : ""),
|
||
(r +=
|
||
e.hostname && -1 !== e.hostname.indexOf(":")
|
||
? "[" + e.hostname + "]"
|
||
: e.hostname || ""),
|
||
(r += e.port ? ":" + e.port : ""),
|
||
(r += e.pathname || ""),
|
||
(r += e.search || "") + (e.hash || "")
|
||
);
|
||
};
|
||
},
|
||
{},
|
||
],
|
||
58: [
|
||
function (e, r, t) {
|
||
(r.exports.encode = e("./encode")),
|
||
(r.exports.decode = e("./decode")),
|
||
(r.exports.format = e("./format")),
|
||
(r.exports.parse = e("./parse"));
|
||
},
|
||
{ "./decode": 55, "./encode": 56, "./format": 57, "./parse": 59 },
|
||
],
|
||
59: [
|
||
function (e, r, t) {
|
||
function n() {
|
||
(this.protocol = null),
|
||
(this.slashes = null),
|
||
(this.auth = null),
|
||
(this.port = null),
|
||
(this.hostname = null),
|
||
(this.hash = null),
|
||
(this.search = null),
|
||
(this.pathname = null);
|
||
}
|
||
var o = /^([a-z0-9.+-]+:)/i,
|
||
s = /:[0-9]*$/,
|
||
i = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,
|
||
a = ["{", "}", "|", "\\", "^", "`"].concat([
|
||
"<",
|
||
">",
|
||
'"',
|
||
"`",
|
||
" ",
|
||
"\r",
|
||
"\n",
|
||
"\t",
|
||
]),
|
||
c = ["'"].concat(a),
|
||
l = ["%", "/", "?", ";", "#"].concat(c),
|
||
u = ["/", "?", "#"],
|
||
p = { javascript: !0, "javascript:": !0 },
|
||
h = {
|
||
http: !0,
|
||
https: !0,
|
||
ftp: !0,
|
||
gopher: !0,
|
||
file: !0,
|
||
"http:": !0,
|
||
"https:": !0,
|
||
"ftp:": !0,
|
||
"gopher:": !0,
|
||
"file:": !0,
|
||
};
|
||
(n.prototype.parse = function (e, r) {
|
||
var t,
|
||
n,
|
||
s,
|
||
a,
|
||
c,
|
||
f = e;
|
||
if (((f = f.trim()), !r && 1 === e.split("#").length)) {
|
||
var d = i.exec(f);
|
||
if (d)
|
||
return (
|
||
(this.pathname = d[1]), d[2] && (this.search = d[2]), this
|
||
);
|
||
}
|
||
var m = o.exec(f);
|
||
if (
|
||
(m &&
|
||
((s = (m = m[0]).toLowerCase()),
|
||
(this.protocol = m),
|
||
(f = f.substr(m.length))),
|
||
(r || m || f.match(/^\/\/[^@\/]+@[^@\/]+/)) &&
|
||
(!(c = "//" === f.substr(0, 2)) ||
|
||
(m && p[m]) ||
|
||
((f = f.substr(2)), (this.slashes = !0))),
|
||
!p[m] && (c || (m && !h[m])))
|
||
) {
|
||
var _,
|
||
g,
|
||
b = -1;
|
||
for (t = 0; t < u.length; t++)
|
||
-1 !== (a = f.indexOf(u[t])) &&
|
||
(-1 === b || a < b) &&
|
||
(b = a);
|
||
for (
|
||
-1 !==
|
||
(g =
|
||
-1 === b ? f.lastIndexOf("@") : f.lastIndexOf("@", b)) &&
|
||
((_ = f.slice(0, g)),
|
||
(f = f.slice(g + 1)),
|
||
(this.auth = _)),
|
||
b = -1,
|
||
t = 0;
|
||
t < l.length;
|
||
t++
|
||
)
|
||
-1 !== (a = f.indexOf(l[t])) &&
|
||
(-1 === b || a < b) &&
|
||
(b = a);
|
||
-1 === b && (b = f.length), ":" === f[b - 1] && b--;
|
||
var k = f.slice(0, b);
|
||
(f = f.slice(b)),
|
||
this.parseHost(k),
|
||
(this.hostname = this.hostname || "");
|
||
var v =
|
||
"[" === this.hostname[0] &&
|
||
"]" === this.hostname[this.hostname.length - 1];
|
||
if (!v) {
|
||
var y = this.hostname.split(/\./);
|
||
for (t = 0, n = y.length; t < n; t++) {
|
||
var x = y[t];
|
||
if (x && !x.match(/^[+a-z0-9A-Z_-]{0,63}$/)) {
|
||
for (var C = "", A = 0, w = x.length; A < w; A++)
|
||
C += x.charCodeAt(A) > 127 ? "x" : x[A];
|
||
if (!C.match(/^[+a-z0-9A-Z_-]{0,63}$/)) {
|
||
var D = y.slice(0, t),
|
||
q = y.slice(t + 1),
|
||
E = x.match(/^([+a-z0-9A-Z_-]{0,63})(.*)$/);
|
||
E && (D.push(E[1]), q.unshift(E[2])),
|
||
q.length && (f = q.join(".") + f),
|
||
(this.hostname = D.join("."));
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
this.hostname.length > 255 && (this.hostname = ""),
|
||
v &&
|
||
(this.hostname = this.hostname.substr(
|
||
1,
|
||
this.hostname.length - 2
|
||
));
|
||
}
|
||
var S = f.indexOf("#");
|
||
-1 !== S && ((this.hash = f.substr(S)), (f = f.slice(0, S)));
|
||
var F = f.indexOf("?");
|
||
return (
|
||
-1 !== F && ((this.search = f.substr(F)), (f = f.slice(0, F))),
|
||
f && (this.pathname = f),
|
||
h[s] && this.hostname && !this.pathname && (this.pathname = ""),
|
||
this
|
||
);
|
||
}),
|
||
(n.prototype.parseHost = function (e) {
|
||
var r = s.exec(e);
|
||
r &&
|
||
(":" !== (r = r[0]) && (this.port = r.substr(1)),
|
||
(e = e.substr(0, e.length - r.length))),
|
||
e && (this.hostname = e);
|
||
}),
|
||
(r.exports = function (e, r) {
|
||
if (e && e instanceof n) return e;
|
||
var t = new n();
|
||
return t.parse(e, r), t;
|
||
});
|
||
},
|
||
{},
|
||
],
|
||
60: [
|
||
function (r, t, n) {
|
||
(function (r) {
|
||
!(function (o) {
|
||
function s(e) {
|
||
throw new RangeError(C[e]);
|
||
}
|
||
function i(e, r) {
|
||
for (var t = e.length, n = []; t--; ) n[t] = r(e[t]);
|
||
return n;
|
||
}
|
||
function a(e, r) {
|
||
var t = e.split("@"),
|
||
n = "";
|
||
return (
|
||
t.length > 1 && ((n = t[0] + "@"), (e = t[1])),
|
||
n +
|
||
i(
|
||
(e = e.replace(/[\x2E\u3002\uFF0E\uFF61]/g, ".")).split(
|
||
"."
|
||
),
|
||
r
|
||
).join(".")
|
||
);
|
||
}
|
||
function c(e) {
|
||
for (var r, t, n = [], o = 0, s = e.length; o < s; )
|
||
(r = e.charCodeAt(o++)) >= 55296 && r <= 56319 && o < s
|
||
? 56320 == (64512 & (t = e.charCodeAt(o++)))
|
||
? n.push(((1023 & r) << 10) + (1023 & t) + 65536)
|
||
: (n.push(r), o--)
|
||
: n.push(r);
|
||
return n;
|
||
}
|
||
function l(e) {
|
||
return i(e, function (e) {
|
||
var r = "";
|
||
return (
|
||
e > 65535 &&
|
||
((r += w((((e -= 65536) >>> 10) & 1023) | 55296)),
|
||
(e = 56320 | (1023 & e))),
|
||
r + w(e)
|
||
);
|
||
}).join("");
|
||
}
|
||
function u(e) {
|
||
return e - 48 < 10
|
||
? e - 22
|
||
: e - 65 < 26
|
||
? e - 65
|
||
: e - 97 < 26
|
||
? e - 97
|
||
: 36;
|
||
}
|
||
function p(e, r) {
|
||
return e + 22 + 75 * (e < 26) - ((0 != r) << 5);
|
||
}
|
||
function h(e, r, t) {
|
||
var n = 0;
|
||
for (
|
||
e = t ? A(e / 700) : e >> 1, e += A(e / r);
|
||
e > 455;
|
||
n += 36
|
||
)
|
||
e = A(e / 35);
|
||
return A(n + (36 * e) / (e + 38));
|
||
}
|
||
function f(e) {
|
||
var r,
|
||
t,
|
||
n,
|
||
o,
|
||
i,
|
||
a,
|
||
c,
|
||
p,
|
||
f,
|
||
d,
|
||
m = [],
|
||
_ = e.length,
|
||
g = 0,
|
||
b = 128,
|
||
k = 72;
|
||
for (
|
||
(t = e.lastIndexOf("-")) < 0 && (t = 0), n = 0;
|
||
n < t;
|
||
++n
|
||
)
|
||
e.charCodeAt(n) >= 128 && s("not-basic"),
|
||
m.push(e.charCodeAt(n));
|
||
for (o = t > 0 ? t + 1 : 0; o < _; ) {
|
||
for (
|
||
i = g, a = 1, c = 36;
|
||
o >= _ && s("invalid-input"),
|
||
((p = u(e.charCodeAt(o++))) >= 36 ||
|
||
p > A((v - g) / a)) &&
|
||
s("overflow"),
|
||
(g += p * a),
|
||
!(p < (f = c <= k ? 1 : c >= k + 26 ? 26 : c - k));
|
||
c += 36
|
||
)
|
||
a > A(v / (d = 36 - f)) && s("overflow"), (a *= d);
|
||
(k = h(g - i, (r = m.length + 1), 0 == i)),
|
||
A(g / r) > v - b && s("overflow"),
|
||
(b += A(g / r)),
|
||
(g %= r),
|
||
m.splice(g++, 0, b);
|
||
}
|
||
return l(m);
|
||
}
|
||
function d(e) {
|
||
var r,
|
||
t,
|
||
n,
|
||
o,
|
||
i,
|
||
a,
|
||
l,
|
||
u,
|
||
f,
|
||
d,
|
||
m,
|
||
_,
|
||
g,
|
||
b,
|
||
k,
|
||
y = [];
|
||
for (
|
||
_ = (e = c(e)).length, r = 128, t = 0, i = 72, a = 0;
|
||
a < _;
|
||
++a
|
||
)
|
||
(m = e[a]) < 128 && y.push(w(m));
|
||
for (n = o = y.length, o && y.push("-"); n < _; ) {
|
||
for (l = v, a = 0; a < _; ++a)
|
||
(m = e[a]) >= r && m < l && (l = m);
|
||
for (
|
||
l - r > A((v - t) / (g = n + 1)) && s("overflow"),
|
||
t += (l - r) * g,
|
||
r = l,
|
||
a = 0;
|
||
a < _;
|
||
++a
|
||
)
|
||
if (
|
||
((m = e[a]) < r && ++t > v && s("overflow"), m == r)
|
||
) {
|
||
for (
|
||
u = t, f = 36;
|
||
!(u < (d = f <= i ? 1 : f >= i + 26 ? 26 : f - i));
|
||
f += 36
|
||
)
|
||
(k = u - d),
|
||
(b = 36 - d),
|
||
y.push(w(p(d + (k % b), 0))),
|
||
(u = A(k / b));
|
||
y.push(w(p(u, 0))), (i = h(t, g, n == o)), (t = 0), ++n;
|
||
}
|
||
++t, ++r;
|
||
}
|
||
return y.join("");
|
||
}
|
||
var m =
|
||
"object" == (void 0 === n ? "undefined" : e(n)) &&
|
||
n &&
|
||
!n.nodeType &&
|
||
n,
|
||
_ =
|
||
"object" == (void 0 === t ? "undefined" : e(t)) &&
|
||
t &&
|
||
!t.nodeType &&
|
||
t,
|
||
g = "object" == (void 0 === r ? "undefined" : e(r)) && r;
|
||
(g.global !== g && g.window !== g && g.self !== g) || (o = g);
|
||
var b,
|
||
k,
|
||
v = 2147483647,
|
||
y = /^xn--/,
|
||
x = /[^\x20-\x7E]/,
|
||
C = {
|
||
overflow: "Overflow: input needs wider integers to process",
|
||
"not-basic":
|
||
"Illegal input >= 0x80 (not a basic code point)",
|
||
"invalid-input": "Invalid input",
|
||
},
|
||
A = Math.floor,
|
||
w = String.fromCharCode;
|
||
if (
|
||
((b = {
|
||
version: "1.4.1",
|
||
ucs2: { decode: c, encode: l },
|
||
decode: f,
|
||
encode: d,
|
||
toASCII: function (e) {
|
||
return a(e, function (e) {
|
||
return x.test(e) ? "xn--" + d(e) : e;
|
||
});
|
||
},
|
||
toUnicode: function (e) {
|
||
return a(e, function (e) {
|
||
return y.test(e) ? f(e.slice(4).toLowerCase()) : e;
|
||
});
|
||
},
|
||
}),
|
||
m && _)
|
||
)
|
||
if (t.exports == m) _.exports = b;
|
||
else for (k in b) b.hasOwnProperty(k) && (m[k] = b[k]);
|
||
else o.punycode = b;
|
||
})(this);
|
||
}).call(
|
||
this,
|
||
"undefined" != typeof global
|
||
? global
|
||
: "undefined" != typeof self
|
||
? self
|
||
: "undefined" != typeof window
|
||
? window
|
||
: {}
|
||
);
|
||
},
|
||
{},
|
||
],
|
||
61: [
|
||
function (e, r, t) {
|
||
r.exports = /[\0-\x1F\x7F-\x9F]/;
|
||
},
|
||
{},
|
||
],
|
||
62: [
|
||
function (e, r, t) {
|
||
r.exports =
|
||
/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804\uDCBD|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/;
|
||
},
|
||
{},
|
||
],
|
||
63: [
|
||
function (e, r, t) {
|
||
r.exports =
|
||
/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E44\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD807[\uDC41-\uDC45\uDC70\uDC71]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/;
|
||
},
|
||
{},
|
||
],
|
||
64: [
|
||
function (e, r, t) {
|
||
r.exports = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/;
|
||
},
|
||
{},
|
||
],
|
||
65: [
|
||
function (e, r, t) {
|
||
(t.Any = e("./properties/Any/regex")),
|
||
(t.Cc = e("./categories/Cc/regex")),
|
||
(t.Cf = e("./categories/Cf/regex")),
|
||
(t.P = e("./categories/P/regex")),
|
||
(t.Z = e("./categories/Z/regex"));
|
||
},
|
||
{
|
||
"./categories/Cc/regex": 61,
|
||
"./categories/Cf/regex": 62,
|
||
"./categories/P/regex": 63,
|
||
"./categories/Z/regex": 64,
|
||
"./properties/Any/regex": 66,
|
||
},
|
||
],
|
||
66: [
|
||
function (e, r, t) {
|
||
r.exports =
|
||
/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;
|
||
},
|
||
{},
|
||
],
|
||
67: [
|
||
function (e, r, t) {
|
||
r.exports = e("./lib/");
|
||
},
|
||
{ "./lib/": 9 },
|
||
],
|
||
},
|
||
{},
|
||
[67]
|
||
)(67);
|
||
});
|