mystmd 1.1.46__py3-none-any.whl → 1.1.48__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {mystmd-1.1.46.dist-info → mystmd-1.1.48.dist-info}/METADATA +2 -2
- mystmd-1.1.48.dist-info/RECORD +8 -0
- {mystmd-1.1.46.dist-info → mystmd-1.1.48.dist-info}/WHEEL +1 -1
- mystmd_py/myst.cjs +397 -451
- mystmd-1.1.46.dist-info/RECORD +0 -8
- {mystmd-1.1.46.dist-info → mystmd-1.1.48.dist-info}/entry_points.txt +0 -0
- {mystmd-1.1.46.dist-info → mystmd-1.1.48.dist-info}/licenses/LICENSE +0 -0
mystmd_py/myst.cjs
CHANGED
@@ -24861,7 +24861,7 @@ var require_classnames = __commonJS({
|
|
24861
24861
|
"use strict";
|
24862
24862
|
var hasOwn = {}.hasOwnProperty;
|
24863
24863
|
var nativeCodeString = "[native code]";
|
24864
|
-
function
|
24864
|
+
function classNames3() {
|
24865
24865
|
var classes = [];
|
24866
24866
|
for (var i2 = 0; i2 < arguments.length; i2++) {
|
24867
24867
|
var arg2 = arguments[i2];
|
@@ -24872,7 +24872,7 @@ var require_classnames = __commonJS({
|
|
24872
24872
|
classes.push(arg2);
|
24873
24873
|
} else if (Array.isArray(arg2)) {
|
24874
24874
|
if (arg2.length) {
|
24875
|
-
var inner2 =
|
24875
|
+
var inner2 = classNames3.apply(null, arg2);
|
24876
24876
|
if (inner2) {
|
24877
24877
|
classes.push(inner2);
|
24878
24878
|
}
|
@@ -24892,14 +24892,14 @@ var require_classnames = __commonJS({
|
|
24892
24892
|
return classes.join(" ");
|
24893
24893
|
}
|
24894
24894
|
if (typeof module2 !== "undefined" && module2.exports) {
|
24895
|
-
|
24896
|
-
module2.exports =
|
24895
|
+
classNames3.default = classNames3;
|
24896
|
+
module2.exports = classNames3;
|
24897
24897
|
} else if (typeof define === "function" && typeof define.amd === "object" && define.amd) {
|
24898
24898
|
define("classnames", [], function() {
|
24899
|
-
return
|
24899
|
+
return classNames3;
|
24900
24900
|
});
|
24901
24901
|
} else {
|
24902
|
-
window.classNames =
|
24902
|
+
window.classNames = classNames3;
|
24903
24903
|
}
|
24904
24904
|
})();
|
24905
24905
|
}
|
@@ -39374,8 +39374,8 @@ var require_stack = __commonJS({
|
|
39374
39374
|
}
|
39375
39375
|
static getMatchCallback(pattern) {
|
39376
39376
|
if (Array.isArray(pattern)) {
|
39377
|
-
const
|
39378
|
-
return (token) =>
|
39377
|
+
const matches4 = pattern.map(TokenStack.getMatchCallback);
|
39378
|
+
return (token) => matches4.some((matchCallback) => matchCallback(token));
|
39379
39379
|
} else if (pattern instanceof Function) {
|
39380
39380
|
return pattern;
|
39381
39381
|
} else if (pattern instanceof RegExp) {
|
@@ -51470,14 +51470,14 @@ and ensure you are accounting for this risk.
|
|
51470
51470
|
}
|
51471
51471
|
href = href.substring(0, firstIndex) + href.substring(lastIndex + 3);
|
51472
51472
|
}
|
51473
|
-
const
|
51474
|
-
if (!
|
51473
|
+
const matches4 = href.match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);
|
51474
|
+
if (!matches4) {
|
51475
51475
|
if (href.match(/^[/\\]{2}/)) {
|
51476
51476
|
return !options.allowProtocolRelative;
|
51477
51477
|
}
|
51478
51478
|
return false;
|
51479
51479
|
}
|
51480
|
-
const scheme =
|
51480
|
+
const scheme = matches4[1].toLowerCase();
|
51481
51481
|
if (has3(options.allowedSchemesByTag, name3)) {
|
51482
51482
|
return options.allowedSchemesByTag[name3].indexOf(scheme) === -1;
|
51483
51483
|
}
|
@@ -79828,7 +79828,7 @@ var require_linkify_it = __commonJS({
|
|
79828
79828
|
}
|
79829
79829
|
};
|
79830
79830
|
var tlds_2ch_src_re = "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]";
|
79831
|
-
var
|
79831
|
+
var tlds_default = "biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|\u0440\u0444".split("|");
|
79832
79832
|
function resetScanCache(self2) {
|
79833
79833
|
self2.__index__ = -1;
|
79834
79834
|
self2.__text_cache__ = "";
|
@@ -79849,13 +79849,13 @@ var require_linkify_it = __commonJS({
|
|
79849
79849
|
}
|
79850
79850
|
function compile2(self2) {
|
79851
79851
|
var re = self2.re = require_re()(self2.__opts__);
|
79852
|
-
var
|
79852
|
+
var tlds2 = self2.__tlds__.slice();
|
79853
79853
|
self2.onCompile();
|
79854
79854
|
if (!self2.__tlds_replaced__) {
|
79855
|
-
|
79855
|
+
tlds2.push(tlds_2ch_src_re);
|
79856
79856
|
}
|
79857
|
-
|
79858
|
-
re.src_tlds =
|
79857
|
+
tlds2.push(re.src_xn);
|
79858
|
+
re.src_tlds = tlds2.join("|");
|
79859
79859
|
function untpl(tpl) {
|
79860
79860
|
return tpl.replace("%TLDS%", re.src_tlds);
|
79861
79861
|
}
|
@@ -79948,7 +79948,7 @@ var require_linkify_it = __commonJS({
|
|
79948
79948
|
this.__text_cache__ = "";
|
79949
79949
|
this.__schemas__ = assign2({}, defaultSchemas, schemas);
|
79950
79950
|
this.__compiled__ = {};
|
79951
|
-
this.__tlds__ =
|
79951
|
+
this.__tlds__ = tlds_default;
|
79952
79952
|
this.__tlds_replaced__ = false;
|
79953
79953
|
this.re = {};
|
79954
79954
|
compile2(this);
|
@@ -80039,7 +80039,7 @@ var require_linkify_it = __commonJS({
|
|
80039
80039
|
}
|
80040
80040
|
return null;
|
80041
80041
|
};
|
80042
|
-
LinkifyIt.prototype.tlds = function
|
80042
|
+
LinkifyIt.prototype.tlds = function tlds2(list6, keepOld) {
|
80043
80043
|
list6 = Array.isArray(list6) ? list6 : [list6];
|
80044
80044
|
if (!keepOld) {
|
80045
80045
|
this.__tlds__ = list6.slice();
|
@@ -112276,9 +112276,9 @@ var require_fresh = __commonJS({
|
|
112276
112276
|
return false;
|
112277
112277
|
}
|
112278
112278
|
var etagStale = true;
|
112279
|
-
var
|
112280
|
-
for (var i2 = 0; i2 <
|
112281
|
-
var match3 =
|
112279
|
+
var matches4 = parseTokenList(noneMatch);
|
112280
|
+
for (var i2 = 0; i2 < matches4.length; i2++) {
|
112281
|
+
var match3 = matches4[i2];
|
112282
112282
|
if (match3 === etag || match3 === "W/" + etag || "W/" + match3 === etag) {
|
112283
112283
|
etagStale = false;
|
112284
112284
|
break;
|
@@ -125812,12 +125812,12 @@ var require_lexer = __commonJS({
|
|
125812
125812
|
return "";
|
125813
125813
|
};
|
125814
125814
|
_proto._extractRegex = function _extractRegex(regex2) {
|
125815
|
-
var
|
125816
|
-
if (!
|
125815
|
+
var matches4 = this.currentStr().match(regex2);
|
125816
|
+
if (!matches4) {
|
125817
125817
|
return null;
|
125818
125818
|
}
|
125819
|
-
this.forwardN(
|
125820
|
-
return
|
125819
|
+
this.forwardN(matches4[0].length);
|
125820
|
+
return matches4;
|
125821
125821
|
};
|
125822
125822
|
_proto.isFinished = function isFinished() {
|
125823
125823
|
return this.index >= this.len;
|
@@ -126917,12 +126917,12 @@ var require_parser4 = __commonJS({
|
|
126917
126917
|
var rawBlockRegex = new RegExp("([\\s\\S]*?){%\\s*(" + tagName + "|" + endTagName + ")\\s*(?=%})%}");
|
126918
126918
|
var rawLevel = 1;
|
126919
126919
|
var str2 = "";
|
126920
|
-
var
|
126920
|
+
var matches4 = null;
|
126921
126921
|
var begun = this.advanceAfterBlockEnd();
|
126922
|
-
while ((
|
126923
|
-
var all10 =
|
126924
|
-
var pre2 =
|
126925
|
-
var blockName =
|
126922
|
+
while ((matches4 = this.tokens._extractRegex(rawBlockRegex)) && rawLevel > 0) {
|
126923
|
+
var all10 = matches4[0];
|
126924
|
+
var pre2 = matches4[1];
|
126925
|
+
var blockName = matches4[2];
|
126926
126926
|
if (blockName === tagName) {
|
126927
126927
|
rawLevel += 1;
|
126928
126928
|
} else if (blockName === endTagName) {
|
@@ -129241,8 +129241,8 @@ var require_filters = __commonJS({
|
|
129241
129241
|
var words = str2.split(/(\s+)/).filter(function(word) {
|
129242
129242
|
return word && word.length;
|
129243
129243
|
}).map(function(word) {
|
129244
|
-
var
|
129245
|
-
var possibleUrl =
|
129244
|
+
var matches4 = word.match(puncRe);
|
129245
|
+
var possibleUrl = matches4 ? matches4[1] : word;
|
129246
129246
|
var shortUrl = possibleUrl.substr(0, length);
|
129247
129247
|
if (httpHttpsRe.test(possibleUrl)) {
|
129248
129248
|
return '<a href="' + possibleUrl + '"' + noFollowAttr + ">" + shortUrl + "</a>";
|
@@ -143439,13 +143439,13 @@ var require_templates = __commonJS({
|
|
143439
143439
|
function parseArguments(name3, arguments_) {
|
143440
143440
|
const results = [];
|
143441
143441
|
const chunks = arguments_.trim().split(/\s*,\s*/g);
|
143442
|
-
let
|
143442
|
+
let matches4;
|
143443
143443
|
for (const chunk of chunks) {
|
143444
143444
|
const number2 = Number(chunk);
|
143445
143445
|
if (!Number.isNaN(number2)) {
|
143446
143446
|
results.push(number2);
|
143447
|
-
} else if (
|
143448
|
-
results.push(
|
143447
|
+
} else if (matches4 = chunk.match(STRING_REGEX)) {
|
143448
|
+
results.push(matches4[2].replace(ESCAPE_REGEX2, (m2, escape5, character) => escape5 ? unescape3(escape5) : character));
|
143449
143449
|
} else {
|
143450
143450
|
throw new Error(`Invalid Chalk template style argument: ${chunk} (in style '${name3}')`);
|
143451
143451
|
}
|
@@ -143455,11 +143455,11 @@ var require_templates = __commonJS({
|
|
143455
143455
|
function parseStyle(style3) {
|
143456
143456
|
STYLE_REGEX.lastIndex = 0;
|
143457
143457
|
const results = [];
|
143458
|
-
let
|
143459
|
-
while ((
|
143460
|
-
const name3 =
|
143461
|
-
if (
|
143462
|
-
const args = parseArguments(name3,
|
143458
|
+
let matches4;
|
143459
|
+
while ((matches4 = STYLE_REGEX.exec(style3)) !== null) {
|
143460
|
+
const name3 = matches4[1];
|
143461
|
+
if (matches4[2]) {
|
143462
|
+
const args = parseArguments(name3, matches4[2]);
|
143463
143463
|
results.push([name3].concat(args));
|
143464
143464
|
} else {
|
143465
143465
|
results.push([name3]);
|
@@ -159762,13 +159762,13 @@ var require_templates2 = __commonJS({
|
|
159762
159762
|
function parseArguments(name3, arguments_) {
|
159763
159763
|
const results = [];
|
159764
159764
|
const chunks = arguments_.trim().split(/\s*,\s*/g);
|
159765
|
-
let
|
159765
|
+
let matches4;
|
159766
159766
|
for (const chunk of chunks) {
|
159767
159767
|
const number2 = Number(chunk);
|
159768
159768
|
if (!Number.isNaN(number2)) {
|
159769
159769
|
results.push(number2);
|
159770
|
-
} else if (
|
159771
|
-
results.push(
|
159770
|
+
} else if (matches4 = chunk.match(STRING_REGEX)) {
|
159771
|
+
results.push(matches4[2].replace(ESCAPE_REGEX2, (m2, escape5, character) => escape5 ? unescape3(escape5) : character));
|
159772
159772
|
} else {
|
159773
159773
|
throw new Error(`Invalid Chalk template style argument: ${chunk} (in style '${name3}')`);
|
159774
159774
|
}
|
@@ -159778,11 +159778,11 @@ var require_templates2 = __commonJS({
|
|
159778
159778
|
function parseStyle(style3) {
|
159779
159779
|
STYLE_REGEX.lastIndex = 0;
|
159780
159780
|
const results = [];
|
159781
|
-
let
|
159782
|
-
while ((
|
159783
|
-
const name3 =
|
159784
|
-
if (
|
159785
|
-
const args = parseArguments(name3,
|
159781
|
+
let matches4;
|
159782
|
+
while ((matches4 = STYLE_REGEX.exec(style3)) !== null) {
|
159783
|
+
const name3 = matches4[1];
|
159784
|
+
if (matches4[2]) {
|
159785
|
+
const args = parseArguments(name3, matches4[2]);
|
159786
159786
|
results.push([name3].concat(args));
|
159787
159787
|
} else {
|
159788
159788
|
results.push([name3]);
|
@@ -162953,13 +162953,13 @@ var require_templates3 = __commonJS({
|
|
162953
162953
|
function parseArguments(name3, arguments_) {
|
162954
162954
|
const results = [];
|
162955
162955
|
const chunks = arguments_.trim().split(/\s*,\s*/g);
|
162956
|
-
let
|
162956
|
+
let matches4;
|
162957
162957
|
for (const chunk of chunks) {
|
162958
162958
|
const number2 = Number(chunk);
|
162959
162959
|
if (!Number.isNaN(number2)) {
|
162960
162960
|
results.push(number2);
|
162961
|
-
} else if (
|
162962
|
-
results.push(
|
162961
|
+
} else if (matches4 = chunk.match(STRING_REGEX)) {
|
162962
|
+
results.push(matches4[2].replace(ESCAPE_REGEX2, (m2, escape5, character) => escape5 ? unescape3(escape5) : character));
|
162963
162963
|
} else {
|
162964
162964
|
throw new Error(`Invalid Chalk template style argument: ${chunk} (in style '${name3}')`);
|
162965
162965
|
}
|
@@ -162969,11 +162969,11 @@ var require_templates3 = __commonJS({
|
|
162969
162969
|
function parseStyle(style3) {
|
162970
162970
|
STYLE_REGEX.lastIndex = 0;
|
162971
162971
|
const results = [];
|
162972
|
-
let
|
162973
|
-
while ((
|
162974
|
-
const name3 =
|
162975
|
-
if (
|
162976
|
-
const args = parseArguments(name3,
|
162972
|
+
let matches4;
|
162973
|
+
while ((matches4 = STYLE_REGEX.exec(style3)) !== null) {
|
162974
|
+
const name3 = matches4[1];
|
162975
|
+
if (matches4[2]) {
|
162976
|
+
const args = parseArguments(name3, matches4[2]);
|
162977
162977
|
results.push([name3].concat(args));
|
162978
162978
|
} else {
|
162979
162979
|
results.push([name3]);
|
@@ -173968,7 +173968,7 @@ var require_chardet = __commonJS({
|
|
173968
173968
|
fInputBytes: buffer2,
|
173969
173969
|
fInputLen: buffer2.length
|
173970
173970
|
};
|
173971
|
-
var
|
173971
|
+
var matches4 = recognisers.map(function(rec) {
|
173972
173972
|
return rec.match(context);
|
173973
173973
|
}).filter(function(match3) {
|
173974
173974
|
return !!match3;
|
@@ -173976,9 +173976,9 @@ var require_chardet = __commonJS({
|
|
173976
173976
|
return b.confidence - a2.confidence;
|
173977
173977
|
});
|
173978
173978
|
if (opts && opts.returnAllMatches === true) {
|
173979
|
-
return
|
173979
|
+
return matches4;
|
173980
173980
|
} else {
|
173981
|
-
return
|
173981
|
+
return matches4.length > 0 ? matches4[0].name : null;
|
173982
173982
|
}
|
173983
173983
|
};
|
173984
173984
|
module2.exports.detectFile = function(filepath, opts, cb) {
|
@@ -175419,21 +175419,21 @@ var require_http_cache_semantics = __commonJS({
|
|
175419
175419
|
if (!response || !response.headers) {
|
175420
175420
|
throw Error("Response headers missing");
|
175421
175421
|
}
|
175422
|
-
let
|
175422
|
+
let matches4 = false;
|
175423
175423
|
if (response.status !== void 0 && response.status != 304) {
|
175424
|
-
|
175424
|
+
matches4 = false;
|
175425
175425
|
} else if (response.headers.etag && !/^\s*W\//.test(response.headers.etag)) {
|
175426
|
-
|
175426
|
+
matches4 = this._resHeaders.etag && this._resHeaders.etag.replace(/^\s*W\//, "") === response.headers.etag;
|
175427
175427
|
} else if (this._resHeaders.etag && response.headers.etag) {
|
175428
|
-
|
175428
|
+
matches4 = this._resHeaders.etag.replace(/^\s*W\//, "") === response.headers.etag.replace(/^\s*W\//, "");
|
175429
175429
|
} else if (this._resHeaders["last-modified"]) {
|
175430
|
-
|
175430
|
+
matches4 = this._resHeaders["last-modified"] === response.headers["last-modified"];
|
175431
175431
|
} else {
|
175432
175432
|
if (!this._resHeaders.etag && !this._resHeaders["last-modified"] && !response.headers.etag && !response.headers["last-modified"]) {
|
175433
|
-
|
175433
|
+
matches4 = true;
|
175434
175434
|
}
|
175435
175435
|
}
|
175436
|
-
if (!
|
175436
|
+
if (!matches4) {
|
175437
175437
|
return {
|
175438
175438
|
policy: new this.constructor(request, response),
|
175439
175439
|
// Client receiving 304 without body, even if it's invalid/mismatched has no option
|
@@ -187919,8 +187919,8 @@ var require_serverconnection = __commonJS({
|
|
187919
187919
|
}
|
187920
187920
|
Private2.handleRequest = handleRequest;
|
187921
187921
|
function getCookie(name3) {
|
187922
|
-
const
|
187923
|
-
return
|
187922
|
+
const matches4 = document.cookie.match("\\b" + name3 + "=([^;]*)\\b");
|
187923
|
+
return matches4 === null || matches4 === void 0 ? void 0 : matches4[1];
|
187924
187924
|
}
|
187925
187925
|
})(Private || (Private = {}));
|
187926
187926
|
}
|
@@ -193454,9 +193454,9 @@ var require_manager3 = __commonJS({
|
|
193454
193454
|
async stopIfNeeded(path42) {
|
193455
193455
|
try {
|
193456
193456
|
const sessions = await (0, restapi_1.listRunning)(this.serverSettings);
|
193457
|
-
const
|
193458
|
-
if (
|
193459
|
-
const id =
|
193457
|
+
const matches4 = sessions.filter((value) => value.path === path42);
|
193458
|
+
if (matches4.length === 1) {
|
193459
|
+
const id = matches4[0].id;
|
193460
193460
|
await this.shutdown(id);
|
193461
193461
|
}
|
193462
193462
|
} catch (error) {
|
@@ -195964,7 +195964,7 @@ var {
|
|
195964
195964
|
} = import_index.default;
|
195965
195965
|
|
195966
195966
|
// src/version.ts
|
195967
|
-
var version = "1.1.
|
195967
|
+
var version = "1.1.48";
|
195968
195968
|
var version_default = version;
|
195969
195969
|
|
195970
195970
|
// ../myst-cli/dist/build/build.js
|
@@ -196085,11 +196085,11 @@ function assembleStyles() {
|
|
196085
196085
|
},
|
196086
196086
|
hexToRgb: {
|
196087
196087
|
value(hex) {
|
196088
|
-
const
|
196089
|
-
if (!
|
196088
|
+
const matches4 = /[a-f\d]{6}|[a-f\d]{3}/i.exec(hex.toString(16));
|
196089
|
+
if (!matches4) {
|
196090
196090
|
return [0, 0, 0];
|
196091
196091
|
}
|
196092
|
-
let [colorString] =
|
196092
|
+
let [colorString] = matches4;
|
196093
196093
|
if (colorString.length === 3) {
|
196094
196094
|
colorString = [...colorString].map((character) => character + character).join("");
|
196095
196095
|
}
|
@@ -197617,9 +197617,17 @@ var FRONTMATTER_ALIASES = {
|
|
197617
197617
|
ack: "acknowledgments",
|
197618
197618
|
acknowledgements: "acknowledgments",
|
197619
197619
|
availability: "data_availability",
|
197620
|
-
|
197620
|
+
dataAvailability: "data_availability",
|
197621
|
+
"data-availability": "data_availability",
|
197621
197622
|
quote: "epigraph",
|
197623
|
+
plain_language_summary: "summary",
|
197624
|
+
"plain-language-summary": "summary",
|
197625
|
+
plainLanguageSummary: "summary",
|
197622
197626
|
lay_summary: "summary",
|
197627
|
+
"lay-summary": "summary",
|
197628
|
+
keyPoints: "keypoints",
|
197629
|
+
key_points: "keypoints",
|
197630
|
+
"key-points": "keypoints",
|
197623
197631
|
image: "thumbnail"
|
197624
197632
|
};
|
197625
197633
|
function validateSiteFrontmatterKeys(value, opts) {
|
@@ -201089,11 +201097,11 @@ function assembleStyles2() {
|
|
201089
201097
|
},
|
201090
201098
|
hexToRgb: {
|
201091
201099
|
value(hex) {
|
201092
|
-
const
|
201093
|
-
if (!
|
201100
|
+
const matches4 = /[a-f\d]{6}|[a-f\d]{3}/i.exec(hex.toString(16));
|
201101
|
+
if (!matches4) {
|
201094
201102
|
return [0, 0, 0];
|
201095
201103
|
}
|
201096
|
-
let [colorString] =
|
201104
|
+
let [colorString] = matches4;
|
201097
201105
|
if (colorString.length === 3) {
|
201098
201106
|
colorString = [...colorString].map((character) => character + character).join("");
|
201099
201107
|
}
|
@@ -202454,6 +202462,13 @@ function parse2(selector) {
|
|
202454
202462
|
}
|
202455
202463
|
|
202456
202464
|
// ../../node_modules/unist-util-select/index.js
|
202465
|
+
function matches2(selector, node3) {
|
202466
|
+
const state = createState(selector, node3);
|
202467
|
+
state.one = true;
|
202468
|
+
state.shallow = true;
|
202469
|
+
walk(state, node3 || void 0);
|
202470
|
+
return state.results.length > 0;
|
202471
|
+
}
|
202457
202472
|
function select(selector, tree) {
|
202458
202473
|
const state = createState(selector, tree);
|
202459
202474
|
state.one = true;
|
@@ -202484,12 +202499,17 @@ function createState(selector, tree) {
|
|
202484
202499
|
}
|
202485
202500
|
|
202486
202501
|
// ../myst-common/dist/extractParts.js
|
202487
|
-
function
|
202502
|
+
function coercePart(part) {
|
202488
202503
|
if (!part) {
|
202489
202504
|
return [];
|
202490
202505
|
}
|
202506
|
+
return typeof part === "string" ? [part] : part;
|
202507
|
+
}
|
202508
|
+
function selectBlockParts(tree, part) {
|
202509
|
+
const parts = coercePart(part);
|
202510
|
+
if (parts.length === 0)
|
202511
|
+
return [];
|
202491
202512
|
const blockParts = selectAll("block", tree).filter((block5) => {
|
202492
|
-
const parts = typeof part === "string" ? [part] : part;
|
202493
202513
|
return parts.map((p5) => {
|
202494
202514
|
var _a6, _b;
|
202495
202515
|
return ((_a6 = block5.data) === null || _a6 === void 0 ? void 0 : _a6.part) === p5 || ((_b = block5.data) === null || _b === void 0 ? void 0 : _b.tags) && Array.isArray(block5.data.tags) && block5.data.tags.includes(p5);
|
@@ -202497,11 +202517,70 @@ function selectBlockParts(tree, part) {
|
|
202497
202517
|
});
|
202498
202518
|
return blockParts;
|
202499
202519
|
}
|
202520
|
+
function createPartBlock(children, part, opts) {
|
202521
|
+
var _a6;
|
202522
|
+
const block5 = { type: "block", children };
|
202523
|
+
if (!(opts === null || opts === void 0 ? void 0 : opts.removePartData)) {
|
202524
|
+
(_a6 = block5.data) !== null && _a6 !== void 0 ? _a6 : block5.data = {};
|
202525
|
+
block5.data.part = part;
|
202526
|
+
}
|
202527
|
+
return block5;
|
202528
|
+
}
|
202529
|
+
function extractImplicitPart(tree, part, opts) {
|
202530
|
+
const parts = coercePart(part);
|
202531
|
+
if (parts.length === 0)
|
202532
|
+
return;
|
202533
|
+
let insideImplicitPart = false;
|
202534
|
+
const blockParts = [];
|
202535
|
+
let paragraphs = [];
|
202536
|
+
tree.children.forEach((child, index4) => {
|
202537
|
+
var _a6;
|
202538
|
+
if (insideImplicitPart && child.type === "paragraph") {
|
202539
|
+
paragraphs.push(copyNode(child));
|
202540
|
+
child.type = "__part_delete__";
|
202541
|
+
}
|
202542
|
+
if (child.type !== "__part_delete__" || index4 === tree.children.length - 1) {
|
202543
|
+
insideImplicitPart = false;
|
202544
|
+
if (paragraphs.length > 0) {
|
202545
|
+
blockParts.push(createPartBlock(paragraphs, parts[0], opts));
|
202546
|
+
paragraphs = [];
|
202547
|
+
selectAll("__part_heading__", tree).forEach((node3) => {
|
202548
|
+
node3.type = "__part_delete__";
|
202549
|
+
});
|
202550
|
+
}
|
202551
|
+
}
|
202552
|
+
if (child.type === "block") {
|
202553
|
+
if ((_a6 = child.data) === null || _a6 === void 0 ? void 0 : _a6.part)
|
202554
|
+
return;
|
202555
|
+
if (tree.type !== "root")
|
202556
|
+
return;
|
202557
|
+
const blockPartsTree = extractImplicitPart(child, parts);
|
202558
|
+
if (blockPartsTree)
|
202559
|
+
blockParts.push(...blockPartsTree.children);
|
202560
|
+
} else if (child.type === "heading" && parts.includes(toText(child).toLowerCase())) {
|
202561
|
+
insideImplicitPart = true;
|
202562
|
+
child.type = "__part_heading__";
|
202563
|
+
}
|
202564
|
+
});
|
202565
|
+
selectAll("__part_heading__", tree).forEach((node3) => {
|
202566
|
+
node3.type = "heading";
|
202567
|
+
});
|
202568
|
+
if (blockParts.length === 0)
|
202569
|
+
return;
|
202570
|
+
const partsTree = { type: "root", children: blockParts };
|
202571
|
+
remove(tree, "__part_delete__");
|
202572
|
+
return partsTree;
|
202573
|
+
}
|
202500
202574
|
function extractPart(tree, part, opts) {
|
202501
|
-
const partStrings =
|
202575
|
+
const partStrings = coercePart(part);
|
202576
|
+
if (partStrings.length === 0)
|
202577
|
+
return;
|
202502
202578
|
const blockParts = selectBlockParts(tree, part);
|
202503
|
-
if (blockParts.length === 0)
|
202504
|
-
|
202579
|
+
if (blockParts.length === 0) {
|
202580
|
+
if (opts === null || opts === void 0 ? void 0 : opts.requireExplicitPart)
|
202581
|
+
return;
|
202582
|
+
return extractImplicitPart(tree, partStrings);
|
202583
|
+
}
|
202505
202584
|
const children = copyNode(blockParts).map((block5) => {
|
202506
202585
|
var _a6;
|
202507
202586
|
(_a6 = block5.data) !== null && _a6 !== void 0 ? _a6 : block5.data = {};
|
@@ -238030,25 +238109,71 @@ function codeBlockToDirectiveTransform(tree, file, opts) {
|
|
238030
238109
|
}
|
238031
238110
|
|
238032
238111
|
// ../myst-transforms/dist/blockquote.js
|
238112
|
+
var ATTRIBUTION_PATTERN = /^(?:---?|\u2014) +(.*)/;
|
238113
|
+
function maybeLiftAttributionAsCaption(container4, quote) {
|
238114
|
+
var _a6;
|
238115
|
+
if (select("caption", container4)) {
|
238116
|
+
return false;
|
238117
|
+
}
|
238118
|
+
const maybeCaptionParagraph = quote.children[quote.children.length - 1];
|
238119
|
+
if ((maybeCaptionParagraph === null || maybeCaptionParagraph === void 0 ? void 0 : maybeCaptionParagraph.type) !== "paragraph") {
|
238120
|
+
return false;
|
238121
|
+
}
|
238122
|
+
const maybeCaptionText = maybeCaptionParagraph.children[0];
|
238123
|
+
if ((maybeCaptionText === null || maybeCaptionText === void 0 ? void 0 : maybeCaptionText.type) !== "text") {
|
238124
|
+
return false;
|
238125
|
+
}
|
238126
|
+
const match3 = (_a6 = maybeCaptionText.value) === null || _a6 === void 0 ? void 0 : _a6.match(ATTRIBUTION_PATTERN);
|
238127
|
+
if (!match3) {
|
238128
|
+
return false;
|
238129
|
+
}
|
238130
|
+
if (match3[1]) {
|
238131
|
+
maybeCaptionText.value = match3[1];
|
238132
|
+
} else if (maybeCaptionParagraph.children.length > 1) {
|
238133
|
+
maybeCaptionText.type = "__delete__";
|
238134
|
+
} else {
|
238135
|
+
return false;
|
238136
|
+
}
|
238137
|
+
quote.children.pop();
|
238138
|
+
const caption3 = {
|
238139
|
+
type: "caption",
|
238140
|
+
children: [maybeCaptionParagraph]
|
238141
|
+
};
|
238142
|
+
container4.children.push(caption3);
|
238143
|
+
return true;
|
238144
|
+
}
|
238033
238145
|
function blockquoteTransform(mdast2) {
|
238034
|
-
|
238035
|
-
quotes.forEach((node3) => {
|
238146
|
+
visit(mdast2, "blockquote", (quote, index4, quoteParent) => {
|
238036
238147
|
var _a6;
|
238037
|
-
if (
|
238148
|
+
if (quoteParent === void 0) {
|
238149
|
+
throw new Error("parent node was undefined, but there should always be a root node");
|
238150
|
+
}
|
238151
|
+
const parentHasCaption = !!((_a6 = quoteParent === null || quoteParent === void 0 ? void 0 : quoteParent.children) === null || _a6 === void 0 ? void 0 : _a6.some((node3) => matches2("caption", node3)));
|
238152
|
+
if (parentHasCaption) {
|
238038
238153
|
return;
|
238039
|
-
|
238040
|
-
if (
|
238154
|
+
}
|
238155
|
+
if (matches2("container[kind=quote]", quoteParent)) {
|
238156
|
+
const container5 = quoteParent;
|
238157
|
+
const didLiftAttribution = maybeLiftAttributionAsCaption(container5, quote);
|
238158
|
+
if (!didLiftAttribution && !container5.class) {
|
238159
|
+
container5.type = "__lift__";
|
238160
|
+
}
|
238041
238161
|
return;
|
238042
|
-
|
238043
|
-
container4
|
238044
|
-
|
238045
|
-
|
238046
|
-
|
238047
|
-
children: [{ type: "paragraph", children: possibleList.children[0].children }]
|
238162
|
+
}
|
238163
|
+
const container4 = {
|
238164
|
+
type: "container",
|
238165
|
+
kind: "quote",
|
238166
|
+
children: [quote]
|
238048
238167
|
};
|
238049
|
-
|
238050
|
-
|
238168
|
+
if (maybeLiftAttributionAsCaption(container4, quote)) {
|
238169
|
+
const nextContainer = copyNode(container4);
|
238170
|
+
const containerDest = quote;
|
238171
|
+
containerDest.type = "__lift__";
|
238172
|
+
containerDest.children = [nextContainer];
|
238173
|
+
}
|
238051
238174
|
});
|
238175
|
+
liftChildren(mdast2, "__lift__");
|
238176
|
+
remove(mdast2, "__delete__");
|
238052
238177
|
}
|
238053
238178
|
|
238054
238179
|
// ../myst-transforms/dist/images.js
|
@@ -238838,6 +238963,9 @@ function hoistContentOutOfParagraphs(tree) {
|
|
238838
238963
|
function containerChildrenTransform(tree, vfile2) {
|
238839
238964
|
const containers = selectAll("container", tree);
|
238840
238965
|
containers.reverse().forEach((container4) => {
|
238966
|
+
if (container4.kind === "quote") {
|
238967
|
+
return;
|
238968
|
+
}
|
238841
238969
|
hoistContentOutOfParagraphs(container4);
|
238842
238970
|
let subfigures = [];
|
238843
238971
|
let placeholderImage;
|
@@ -241248,7 +241376,7 @@ var nanoid2 = (size = 21) => {
|
|
241248
241376
|
}
|
241249
241377
|
return id;
|
241250
241378
|
};
|
241251
|
-
var
|
241379
|
+
var matches3 = (matcher, action) => {
|
241252
241380
|
if (hasMatchFunction(matcher)) {
|
241253
241381
|
return matcher.match(action);
|
241254
241382
|
} else {
|
@@ -241257,7 +241385,7 @@ var matches2 = (matcher, action) => {
|
|
241257
241385
|
};
|
241258
241386
|
function isAnyOf(...matchers3) {
|
241259
241387
|
return (action) => {
|
241260
|
-
return matchers3.some((matcher) =>
|
241388
|
+
return matchers3.some((matcher) => matches3(matcher, action));
|
241261
241389
|
};
|
241262
241390
|
}
|
241263
241391
|
var commonProperties = ["name", "message", "stack", "code"];
|
@@ -278521,7 +278649,7 @@ function addAffiliation(node3, state) {
|
|
278521
278649
|
state.closeParagraph();
|
278522
278650
|
const renderedAffil = state.stack.pop();
|
278523
278651
|
const fmAffil = { id: affilNumber, name: getContentFromRenderedSpan(renderedAffil) };
|
278524
|
-
if (!affilNumber) {
|
278652
|
+
if (!affilNumber && fm.authors.length > 0) {
|
278525
278653
|
const lastAuthor = fm.authors[fm.authors.length - 1];
|
278526
278654
|
if (!lastAuthor.affiliations)
|
278527
278655
|
lastAuthor.affiliations = [];
|
@@ -279899,9 +280027,9 @@ var URL_REGEX = /https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z0-9()]{
|
|
279899
280027
|
function replaceUrlsWithAnchorElement(str2, doi2) {
|
279900
280028
|
if (!str2)
|
279901
280029
|
return "";
|
279902
|
-
const
|
280030
|
+
const matches4 = [...str2.matchAll(URL_REGEX)];
|
279903
280031
|
let newStr = str2;
|
279904
|
-
|
280032
|
+
matches4.forEach((match3) => {
|
279905
280033
|
if (doi2 && match3[0].includes(doi2)) {
|
279906
280034
|
newStr = newStr.replace(match3[0], wrapWithDoiAnchorTag(doi2));
|
279907
280035
|
} else {
|
@@ -279913,8 +280041,8 @@ function replaceUrlsWithAnchorElement(str2, doi2) {
|
|
279913
280041
|
function firstNonDoiUrl(str2, doi2) {
|
279914
280042
|
if (!str2)
|
279915
280043
|
return;
|
279916
|
-
const
|
279917
|
-
return
|
280044
|
+
const matches4 = [...str2.matchAll(URL_REGEX)];
|
280045
|
+
return matches4.map((match3) => match3[0]).find((match3) => !doi2 || !match3.includes(doi2));
|
279918
280046
|
}
|
279919
280047
|
async function getCitations(bibtex) {
|
279920
280048
|
const cite3 = new import_core4.Cite();
|
@@ -281297,8 +281425,10 @@ var dropdownDirective = {
|
|
281297
281425
|
// ../myst-directives/dist/embed.js
|
281298
281426
|
var embedDirective = {
|
281299
281427
|
name: "embed",
|
281428
|
+
doc: "The embed directive allows you to duplicate content from another part of your project. This can also be done through the figure directive.",
|
281300
281429
|
arg: {
|
281301
281430
|
type: String,
|
281431
|
+
doc: "The label of the node that you are embedding.",
|
281302
281432
|
required: true
|
281303
281433
|
},
|
281304
281434
|
options: {
|
@@ -281903,20 +282033,21 @@ var listTableDirective = {
|
|
281903
282033
|
}
|
281904
282034
|
};
|
281905
282035
|
|
281906
|
-
// ../myst-directives/dist/
|
281907
|
-
var
|
281908
|
-
name: "
|
282036
|
+
// ../myst-directives/dist/aside.js
|
282037
|
+
var asideDirective = {
|
282038
|
+
name: "aside",
|
282039
|
+
alias: ["margin", "sidebar"],
|
281909
282040
|
body: {
|
281910
282041
|
type: "myst",
|
281911
282042
|
required: true
|
281912
282043
|
},
|
281913
282044
|
run(data) {
|
281914
|
-
|
281915
|
-
|
281916
|
-
|
281917
|
-
|
281918
|
-
|
281919
|
-
];
|
282045
|
+
const aside = {
|
282046
|
+
type: "aside",
|
282047
|
+
kind: data.name == "aside" || data.name == "margin" ? void 0 : data.name,
|
282048
|
+
children: data.body
|
282049
|
+
};
|
282050
|
+
return [aside];
|
281920
282051
|
}
|
281921
282052
|
};
|
281922
282053
|
|
@@ -282049,6 +282180,55 @@ var outputDirective = {
|
|
282049
282180
|
}
|
282050
282181
|
};
|
282051
282182
|
|
282183
|
+
// ../myst-directives/dist/blockquote.js
|
282184
|
+
var import_classnames2 = __toESM(require_classnames(), 1);
|
282185
|
+
var blockquoteDirective = {
|
282186
|
+
name: "blockquote",
|
282187
|
+
alias: ["epigraph", "pull-quote"],
|
282188
|
+
doc: "Block quotes are used to indicate that the enclosed content forms an extended quotation. They may be followed by an inscription or attribution formed of a paragraph beginning with `--`, `---`, or an em-dash.",
|
282189
|
+
options: {
|
282190
|
+
label: {
|
282191
|
+
type: String,
|
282192
|
+
alias: ["name"]
|
282193
|
+
},
|
282194
|
+
class: {
|
282195
|
+
type: String,
|
282196
|
+
doc: `CSS classes to add to your blockquote. Special classes include:
|
282197
|
+
|
282198
|
+
- \`pull-quote\`: used for a blockquote node which should attract attention
|
282199
|
+
- \`epigraph\`: used for a blockquote node that are usually found at the beginning of a document`
|
282200
|
+
}
|
282201
|
+
},
|
282202
|
+
body: {
|
282203
|
+
type: "myst",
|
282204
|
+
doc: "The body of the quote, which may contain a special attribution paragraph that is turned into a caption"
|
282205
|
+
},
|
282206
|
+
run(data) {
|
282207
|
+
var _a6, _b;
|
282208
|
+
const children = [];
|
282209
|
+
if (data.body) {
|
282210
|
+
children.push(...data.body);
|
282211
|
+
}
|
282212
|
+
const { label, identifier } = normalizeLabel((_a6 = data.options) === null || _a6 === void 0 ? void 0 : _a6.label) || {};
|
282213
|
+
const className = (_b = data.options) === null || _b === void 0 ? void 0 : _b.class;
|
282214
|
+
const container4 = {
|
282215
|
+
type: "container",
|
282216
|
+
kind: "quote",
|
282217
|
+
label,
|
282218
|
+
identifier,
|
282219
|
+
class: (0, import_classnames2.default)({ [className]: className, [data.name]: data.name !== "blockquote" }),
|
282220
|
+
children: [
|
282221
|
+
{
|
282222
|
+
// @ts-expect-error: myst-spec needs updating to support blockquote
|
282223
|
+
type: "blockquote",
|
282224
|
+
children
|
282225
|
+
}
|
282226
|
+
]
|
282227
|
+
};
|
282228
|
+
return [container4];
|
282229
|
+
}
|
282230
|
+
};
|
282231
|
+
|
282052
282232
|
// ../myst-directives/dist/raw.js
|
282053
282233
|
var rawDirective = {
|
282054
282234
|
name: "raw",
|
@@ -282081,13 +282261,14 @@ var defaultDirectives = [
|
|
282081
282261
|
codeCellDirective,
|
282082
282262
|
dropdownDirective,
|
282083
282263
|
embedDirective,
|
282264
|
+
blockquoteDirective,
|
282084
282265
|
figureDirective,
|
282085
282266
|
iframeDirective,
|
282086
282267
|
imageDirective,
|
282087
282268
|
includeDirective,
|
282088
282269
|
tableDirective,
|
282089
282270
|
listTableDirective,
|
282090
|
-
|
282271
|
+
asideDirective,
|
282091
282272
|
glossaryDirective,
|
282092
282273
|
mathDirective,
|
282093
282274
|
mdastDirective,
|
@@ -282498,6 +282679,25 @@ var underlineRole = {
|
|
282498
282679
|
}
|
282499
282680
|
};
|
282500
282681
|
|
282682
|
+
// ../myst-roles/dist/keyboard.js
|
282683
|
+
var keyboardRole = {
|
282684
|
+
name: "keyboard",
|
282685
|
+
doc: 'The keyboard role denote textual user input from a keyboard, such as "Ctrl" + "Space".',
|
282686
|
+
alias: ["kbd"],
|
282687
|
+
body: {
|
282688
|
+
type: String,
|
282689
|
+
required: true
|
282690
|
+
},
|
282691
|
+
run(data) {
|
282692
|
+
const body3 = data.body;
|
282693
|
+
const node3 = {
|
282694
|
+
type: "keyboard",
|
282695
|
+
children: [{ type: "text", value: body3 }]
|
282696
|
+
};
|
282697
|
+
return [node3];
|
282698
|
+
}
|
282699
|
+
};
|
282700
|
+
|
282501
282701
|
// ../myst-roles/dist/index.js
|
282502
282702
|
var defaultRoles = [
|
282503
282703
|
abbreviationRole,
|
@@ -282514,30 +282714,26 @@ var defaultRoles = [
|
|
282514
282714
|
smallcapsRole,
|
282515
282715
|
subscriptRole,
|
282516
282716
|
superscriptRole,
|
282517
|
-
underlineRole
|
282717
|
+
underlineRole,
|
282718
|
+
keyboardRole
|
282518
282719
|
];
|
282519
282720
|
|
282520
|
-
//
|
282521
|
-
var
|
282522
|
-
"aaa",
|
282721
|
+
// ../myst-parser/dist/tlds.js
|
282722
|
+
var tlds = [
|
282523
282723
|
"aarp",
|
282524
282724
|
"abb",
|
282525
282725
|
"abbott",
|
282526
282726
|
"abbvie",
|
282527
282727
|
"abc",
|
282528
282728
|
"able",
|
282529
|
-
"abogado",
|
282530
|
-
"abudhabi",
|
282531
282729
|
"ac",
|
282532
282730
|
"academy",
|
282533
|
-
"accenture",
|
282534
282731
|
"accountant",
|
282535
282732
|
"accountants",
|
282536
282733
|
"aco",
|
282537
282734
|
"actor",
|
282538
282735
|
"ad",
|
282539
282736
|
"ads",
|
282540
|
-
"adult",
|
282541
282737
|
"ae",
|
282542
282738
|
"aeg",
|
282543
282739
|
"aero",
|
@@ -282550,24 +282746,15 @@ var tlds_default = [
|
|
282550
282746
|
"agency",
|
282551
282747
|
"ai",
|
282552
282748
|
"aig",
|
282553
|
-
"airbus",
|
282554
282749
|
"airforce",
|
282555
282750
|
"airtel",
|
282556
282751
|
"akdn",
|
282557
282752
|
"al",
|
282558
|
-
"alibaba",
|
282559
|
-
"alipay",
|
282560
282753
|
"allfinanz",
|
282561
|
-
"allstate",
|
282562
282754
|
"ally",
|
282563
282755
|
"alsace",
|
282564
282756
|
"alstom",
|
282565
282757
|
"am",
|
282566
|
-
"amazon",
|
282567
|
-
"americanexpress",
|
282568
|
-
"americanfamily",
|
282569
|
-
"amex",
|
282570
|
-
"amfam",
|
282571
282758
|
"amica",
|
282572
282759
|
"amsterdam",
|
282573
282760
|
"analytics",
|
@@ -282598,7 +282785,6 @@ var tlds_default = [
|
|
282598
282785
|
"attorney",
|
282599
282786
|
"au",
|
282600
282787
|
"auction",
|
282601
|
-
"audi",
|
282602
282788
|
"audible",
|
282603
282789
|
"audio",
|
282604
282790
|
"auspost",
|
@@ -282611,17 +282797,12 @@ var tlds_default = [
|
|
282611
282797
|
"ax",
|
282612
282798
|
"axa",
|
282613
282799
|
"az",
|
282614
|
-
"azure",
|
282615
282800
|
"ba",
|
282616
282801
|
"baby",
|
282617
|
-
"baidu",
|
282618
|
-
"banamex",
|
282619
282802
|
"band",
|
282620
282803
|
"bank",
|
282621
282804
|
"bar",
|
282622
282805
|
"barcelona",
|
282623
|
-
"barclaycard",
|
282624
|
-
"barclays",
|
282625
282806
|
"barefoot",
|
282626
282807
|
"bargains",
|
282627
282808
|
"baseball",
|
@@ -282639,10 +282820,8 @@ var tlds_default = [
|
|
282639
282820
|
"beats",
|
282640
282821
|
"beauty",
|
282641
282822
|
"beer",
|
282642
|
-
"bentley",
|
282643
282823
|
"berlin",
|
282644
282824
|
"best",
|
282645
|
-
"bestbuy",
|
282646
282825
|
"bet",
|
282647
282826
|
"bf",
|
282648
282827
|
"bg",
|
@@ -282659,9 +282838,7 @@ var tlds_default = [
|
|
282659
282838
|
"bj",
|
282660
282839
|
"black",
|
282661
282840
|
"blackfriday",
|
282662
|
-
"blockbuster",
|
282663
282841
|
"blog",
|
282664
|
-
"bloomberg",
|
282665
282842
|
"blue",
|
282666
282843
|
"bm",
|
282667
282844
|
"bms",
|
@@ -282707,14 +282884,12 @@ var tlds_default = [
|
|
282707
282884
|
"cafe",
|
282708
282885
|
"cal",
|
282709
282886
|
"call",
|
282710
|
-
"calvinklein",
|
282711
282887
|
"cam",
|
282712
282888
|
"camera",
|
282713
282889
|
"camp",
|
282714
282890
|
"canon",
|
282715
282891
|
"capetown",
|
282716
282892
|
"capital",
|
282717
|
-
"capitalone",
|
282718
282893
|
"car",
|
282719
282894
|
"caravan",
|
282720
282895
|
"cards",
|
@@ -282755,10 +282930,6 @@ var tlds_default = [
|
|
282755
282930
|
"ci",
|
282756
282931
|
"cipriani",
|
282757
282932
|
"circle",
|
282758
|
-
"cisco",
|
282759
|
-
"citadel",
|
282760
|
-
"citi",
|
282761
|
-
"citic",
|
282762
282933
|
"city",
|
282763
282934
|
"ck",
|
282764
282935
|
"cl",
|
@@ -282770,7 +282941,6 @@ var tlds_default = [
|
|
282770
282941
|
"clothing",
|
282771
282942
|
"cloud",
|
282772
282943
|
"club",
|
282773
|
-
"clubmed",
|
282774
282944
|
"cm",
|
282775
282945
|
"cn",
|
282776
282946
|
"co",
|
@@ -282898,7 +283068,6 @@ var tlds_default = [
|
|
282898
283068
|
"estate",
|
282899
283069
|
"et",
|
282900
283070
|
"eu",
|
282901
|
-
"eurovision",
|
282902
283071
|
"eus",
|
282903
283072
|
"events",
|
282904
283073
|
"exchange",
|
@@ -282919,17 +283088,12 @@ var tlds_default = [
|
|
282919
283088
|
"fast",
|
282920
283089
|
"fedex",
|
282921
283090
|
"feedback",
|
282922
|
-
"ferrari",
|
282923
|
-
"ferrero",
|
282924
283091
|
"fi",
|
282925
|
-
"fidelity",
|
282926
|
-
"fido",
|
282927
283092
|
"film",
|
282928
283093
|
"final",
|
282929
283094
|
"finance",
|
282930
283095
|
"financial",
|
282931
283096
|
"fire",
|
282932
|
-
"firestone",
|
282933
283097
|
"firmdale",
|
282934
283098
|
"fish",
|
282935
283099
|
"fishing",
|
@@ -282937,7 +283101,6 @@ var tlds_default = [
|
|
282937
283101
|
"fitness",
|
282938
283102
|
"fj",
|
282939
283103
|
"fk",
|
282940
|
-
"flickr",
|
282941
283104
|
"flights",
|
282942
283105
|
"flir",
|
282943
283106
|
"florist",
|
@@ -282961,7 +283124,6 @@ var tlds_default = [
|
|
282961
283124
|
"frogans",
|
282962
283125
|
"frontier",
|
282963
283126
|
"ftr",
|
282964
|
-
"fujitsu",
|
282965
283127
|
"fun",
|
282966
283128
|
"fund",
|
282967
283129
|
"furniture",
|
@@ -283006,14 +283168,9 @@ var tlds_default = [
|
|
283006
283168
|
"gmo",
|
283007
283169
|
"gmx",
|
283008
283170
|
"gn",
|
283009
|
-
"godaddy",
|
283010
283171
|
"gold",
|
283011
|
-
"goldpoint",
|
283012
283172
|
"golf",
|
283013
283173
|
"goo",
|
283014
|
-
"goodyear",
|
283015
|
-
"goog",
|
283016
|
-
"google",
|
283017
283174
|
"gop",
|
283018
283175
|
"got",
|
283019
283176
|
"gov",
|
@@ -283030,7 +283187,6 @@ var tlds_default = [
|
|
283030
283187
|
"gs",
|
283031
283188
|
"gt",
|
283032
283189
|
"gu",
|
283033
|
-
"guardian",
|
283034
283190
|
"gucci",
|
283035
283191
|
"guge",
|
283036
283192
|
"guide",
|
@@ -283040,20 +283196,13 @@ var tlds_default = [
|
|
283040
283196
|
"gy",
|
283041
283197
|
"hair",
|
283042
283198
|
"hamburg",
|
283043
|
-
"hangout",
|
283044
283199
|
"haus",
|
283045
|
-
"hbo",
|
283046
|
-
"hdfc",
|
283047
|
-
"hdfcbank",
|
283048
283200
|
"health",
|
283049
283201
|
"healthcare",
|
283050
283202
|
"help",
|
283051
|
-
"helsinki",
|
283052
283203
|
"here",
|
283053
283204
|
"hermes",
|
283054
283205
|
"hiphop",
|
283055
|
-
"hisamitsu",
|
283056
|
-
"hitachi",
|
283057
283206
|
"hiv",
|
283058
283207
|
"hk",
|
283059
283208
|
"hkt",
|
@@ -283062,10 +283211,8 @@ var tlds_default = [
|
|
283062
283211
|
"hockey",
|
283063
283212
|
"holdings",
|
283064
283213
|
"holiday",
|
283065
|
-
"homedepot",
|
283066
283214
|
"homegoods",
|
283067
283215
|
"homes",
|
283068
|
-
"homesense",
|
283069
283216
|
"honda",
|
283070
283217
|
"horse",
|
283071
283218
|
"hospital",
|
@@ -283073,17 +283220,12 @@ var tlds_default = [
|
|
283073
283220
|
"hosting",
|
283074
283221
|
"hot",
|
283075
283222
|
"hotels",
|
283076
|
-
"hotmail",
|
283077
283223
|
"house",
|
283078
283224
|
"how",
|
283079
283225
|
"hr",
|
283080
283226
|
"hsbc",
|
283081
283227
|
"ht",
|
283082
283228
|
"hu",
|
283083
|
-
"hughes",
|
283084
|
-
"hyatt",
|
283085
|
-
"hyundai",
|
283086
|
-
"ibm",
|
283087
283229
|
"icbc",
|
283088
283230
|
"ice",
|
283089
283231
|
"icu",
|
@@ -283095,7 +283237,6 @@ var tlds_default = [
|
|
283095
283237
|
"il",
|
283096
283238
|
"im",
|
283097
283239
|
"imamat",
|
283098
|
-
"imdb",
|
283099
283240
|
"immo",
|
283100
283241
|
"immobilien",
|
283101
283242
|
"in",
|
@@ -283142,7 +283283,6 @@ var tlds_default = [
|
|
283142
283283
|
"jot",
|
283143
283284
|
"joy",
|
283144
283285
|
"jp",
|
283145
|
-
"jpmorgan",
|
283146
283286
|
"jprs",
|
283147
283287
|
"juegos",
|
283148
283288
|
"juniper",
|
@@ -283159,7 +283299,6 @@ var tlds_default = [
|
|
283159
283299
|
"kia",
|
283160
283300
|
"kids",
|
283161
283301
|
"kim",
|
283162
|
-
"kindle",
|
283163
283302
|
"kitchen",
|
283164
283303
|
"kiwi",
|
283165
283304
|
"km",
|
@@ -283199,8 +283338,6 @@ var tlds_default = [
|
|
283199
283338
|
"leclerc",
|
283200
283339
|
"lefrak",
|
283201
283340
|
"legal",
|
283202
|
-
"lego",
|
283203
|
-
"lexus",
|
283204
283341
|
"lgbt",
|
283205
283342
|
"li",
|
283206
283343
|
"lidl",
|
@@ -283229,8 +283366,6 @@ var tlds_default = [
|
|
283229
283366
|
"lotte",
|
283230
283367
|
"lotto",
|
283231
283368
|
"love",
|
283232
|
-
"lpl",
|
283233
|
-
"lplfinancial",
|
283234
283369
|
"lr",
|
283235
283370
|
"ls",
|
283236
283371
|
"lt",
|
@@ -283254,12 +283389,9 @@ var tlds_default = [
|
|
283254
283389
|
"market",
|
283255
283390
|
"marketing",
|
283256
283391
|
"markets",
|
283257
|
-
"marriott",
|
283258
|
-
"marshalls",
|
283259
283392
|
"mattel",
|
283260
283393
|
"mba",
|
283261
283394
|
"mc",
|
283262
|
-
"mckinsey",
|
283263
283395
|
"md",
|
283264
283396
|
"me",
|
283265
283397
|
"med",
|
@@ -283274,12 +283406,10 @@ var tlds_default = [
|
|
283274
283406
|
"mg",
|
283275
283407
|
"mh",
|
283276
283408
|
"miami",
|
283277
|
-
"microsoft",
|
283278
283409
|
"mil",
|
283279
283410
|
"mini",
|
283280
283411
|
"mint",
|
283281
283412
|
"mit",
|
283282
|
-
"mitsubishi",
|
283283
283413
|
"mk",
|
283284
283414
|
"ml",
|
283285
283415
|
"mlb",
|
@@ -283331,10 +283461,7 @@ var tlds_default = [
|
|
283331
283461
|
"ne",
|
283332
283462
|
"nec",
|
283333
283463
|
"net",
|
283334
|
-
"netbank",
|
283335
|
-
"netflix",
|
283336
283464
|
"network",
|
283337
|
-
"neustar",
|
283338
283465
|
"new",
|
283339
283466
|
"news",
|
283340
283467
|
"next",
|
@@ -283347,15 +283474,10 @@ var tlds_default = [
|
|
283347
283474
|
"nhk",
|
283348
283475
|
"ni",
|
283349
283476
|
"nico",
|
283350
|
-
"nike",
|
283351
|
-
"nikon",
|
283352
283477
|
"ninja",
|
283353
|
-
"nissan",
|
283354
283478
|
"nissay",
|
283355
283479
|
"nl",
|
283356
283480
|
"no",
|
283357
|
-
"nokia",
|
283358
|
-
"norton",
|
283359
283481
|
"now",
|
283360
283482
|
"nowruz",
|
283361
283483
|
"nowtv",
|
@@ -283382,7 +283504,6 @@ var tlds_default = [
|
|
283382
283504
|
"online",
|
283383
283505
|
"ooo",
|
283384
283506
|
"open",
|
283385
|
-
"oracle",
|
283386
283507
|
"orange",
|
283387
283508
|
"org",
|
283388
283509
|
"organic",
|
@@ -283393,7 +283514,6 @@ var tlds_default = [
|
|
283393
283514
|
"ovh",
|
283394
283515
|
"pa",
|
283395
283516
|
"page",
|
283396
|
-
"panasonic",
|
283397
283517
|
"paris",
|
283398
283518
|
"pars",
|
283399
283519
|
"partners",
|
@@ -283404,7 +283524,6 @@ var tlds_default = [
|
|
283404
283524
|
"pe",
|
283405
283525
|
"pet",
|
283406
283526
|
"pf",
|
283407
|
-
"pfizer",
|
283408
283527
|
"pg",
|
283409
283528
|
"ph",
|
283410
283529
|
"pharmacy",
|
@@ -283428,7 +283547,6 @@ var tlds_default = [
|
|
283428
283547
|
"pl",
|
283429
283548
|
"place",
|
283430
283549
|
"play",
|
283431
|
-
"playstation",
|
283432
283550
|
"plumbing",
|
283433
283551
|
"plus",
|
283434
283552
|
"pm",
|
@@ -283437,7 +283555,6 @@ var tlds_default = [
|
|
283437
283555
|
"pohl",
|
283438
283556
|
"poker",
|
283439
283557
|
"politie",
|
283440
|
-
"porn",
|
283441
283558
|
"post",
|
283442
283559
|
"pr",
|
283443
283560
|
"pramerica",
|
@@ -283474,8 +283591,6 @@ var tlds_default = [
|
|
283474
283591
|
"realty",
|
283475
283592
|
"recipes",
|
283476
283593
|
"red",
|
283477
|
-
"redstone",
|
283478
|
-
"redumbrella",
|
283479
283594
|
"rehab",
|
283480
283595
|
"reise",
|
283481
283596
|
"reisen",
|
@@ -283493,7 +283608,6 @@ var tlds_default = [
|
|
283493
283608
|
"reviews",
|
283494
283609
|
"rexroth",
|
283495
283610
|
"rich",
|
283496
|
-
"richardli",
|
283497
283611
|
"ricoh",
|
283498
283612
|
"ril",
|
283499
283613
|
"rio",
|
@@ -283519,10 +283633,6 @@ var tlds_default = [
|
|
283519
283633
|
"sakura",
|
283520
283634
|
"sale",
|
283521
283635
|
"salon",
|
283522
|
-
"samsclub",
|
283523
|
-
"samsung",
|
283524
|
-
"sandvik",
|
283525
|
-
"sandvikcoromant",
|
283526
283636
|
"sanofi",
|
283527
283637
|
"sap",
|
283528
283638
|
"sarl",
|
@@ -283534,12 +283644,8 @@ var tlds_default = [
|
|
283534
283644
|
"sbs",
|
283535
283645
|
"sc",
|
283536
283646
|
"scb",
|
283537
|
-
"schaeffler",
|
283538
|
-
"schmidt",
|
283539
283647
|
"scholarships",
|
283540
283648
|
"school",
|
283541
|
-
"schule",
|
283542
|
-
"schwarz",
|
283543
283649
|
"science",
|
283544
283650
|
"scot",
|
283545
283651
|
"sd",
|
@@ -283554,8 +283660,6 @@ var tlds_default = [
|
|
283554
283660
|
"services",
|
283555
283661
|
"seven",
|
283556
283662
|
"sew",
|
283557
|
-
"sex",
|
283558
|
-
"sexy",
|
283559
283663
|
"sfr",
|
283560
283664
|
"sg",
|
283561
283665
|
"sh",
|
@@ -283568,7 +283672,6 @@ var tlds_default = [
|
|
283568
283672
|
"shoes",
|
283569
283673
|
"shop",
|
283570
283674
|
"shopping",
|
283571
|
-
"shouji",
|
283572
283675
|
"show",
|
283573
283676
|
"si",
|
283574
283677
|
"silk",
|
@@ -283580,7 +283683,6 @@ var tlds_default = [
|
|
283580
283683
|
"ski",
|
283581
283684
|
"skin",
|
283582
283685
|
"sky",
|
283583
|
-
"skype",
|
283584
283686
|
"sl",
|
283585
283687
|
"sling",
|
283586
283688
|
"sm",
|
@@ -283591,7 +283693,6 @@ var tlds_default = [
|
|
283591
283693
|
"so",
|
283592
283694
|
"soccer",
|
283593
283695
|
"social",
|
283594
|
-
"softbank",
|
283595
283696
|
"software",
|
283596
283697
|
"sohu",
|
283597
283698
|
"solar",
|
@@ -283608,12 +283709,7 @@ var tlds_default = [
|
|
283608
283709
|
"ss",
|
283609
283710
|
"st",
|
283610
283711
|
"stada",
|
283611
|
-
"staples",
|
283612
283712
|
"star",
|
283613
|
-
"statebank",
|
283614
|
-
"statefarm",
|
283615
|
-
"stc",
|
283616
|
-
"stcgroup",
|
283617
283713
|
"stockholm",
|
283618
283714
|
"storage",
|
283619
283715
|
"store",
|
@@ -283628,7 +283724,6 @@ var tlds_default = [
|
|
283628
283724
|
"support",
|
283629
283725
|
"surf",
|
283630
283726
|
"surgery",
|
283631
|
-
"suzuki",
|
283632
283727
|
"sv",
|
283633
283728
|
"swatch",
|
283634
283729
|
"swiss",
|
@@ -283641,8 +283736,6 @@ var tlds_default = [
|
|
283641
283736
|
"taipei",
|
283642
283737
|
"talk",
|
283643
283738
|
"taobao",
|
283644
|
-
"target",
|
283645
|
-
"tatamotors",
|
283646
283739
|
"tatar",
|
283647
283740
|
"tattoo",
|
283648
283741
|
"tax",
|
@@ -283655,26 +283748,19 @@ var tlds_default = [
|
|
283655
283748
|
"tech",
|
283656
283749
|
"technology",
|
283657
283750
|
"tel",
|
283658
|
-
"temasek",
|
283659
283751
|
"tennis",
|
283660
|
-
"teva",
|
283661
283752
|
"tf",
|
283662
283753
|
"tg",
|
283663
283754
|
"th",
|
283664
283755
|
"thd",
|
283665
283756
|
"theater",
|
283666
283757
|
"theatre",
|
283667
|
-
"tiaa",
|
283668
283758
|
"tickets",
|
283669
283759
|
"tienda",
|
283670
283760
|
"tips",
|
283671
283761
|
"tires",
|
283672
283762
|
"tirol",
|
283673
|
-
"tj",
|
283674
|
-
"tjmaxx",
|
283675
283763
|
"tjx",
|
283676
|
-
"tk",
|
283677
|
-
"tkmaxx",
|
283678
283764
|
"tl",
|
283679
283765
|
"tm",
|
283680
283766
|
"tmall",
|
@@ -283684,12 +283770,9 @@ var tlds_default = [
|
|
283684
283770
|
"tokyo",
|
283685
283771
|
"tools",
|
283686
283772
|
"top",
|
283687
|
-
"toray",
|
283688
|
-
"toshiba",
|
283689
283773
|
"total",
|
283690
283774
|
"tours",
|
283691
283775
|
"town",
|
283692
|
-
"toyota",
|
283693
283776
|
"toys",
|
283694
283777
|
"tr",
|
283695
283778
|
"trade",
|
@@ -283710,11 +283793,8 @@ var tlds_default = [
|
|
283710
283793
|
"tw",
|
283711
283794
|
"tz",
|
283712
283795
|
"ua",
|
283713
|
-
"ubank",
|
283714
|
-
"ubs",
|
283715
283796
|
"ug",
|
283716
283797
|
"uk",
|
283717
|
-
"unicom",
|
283718
283798
|
"university",
|
283719
283799
|
"uno",
|
283720
283800
|
"uol",
|
@@ -283725,15 +283805,10 @@ var tlds_default = [
|
|
283725
283805
|
"va",
|
283726
283806
|
"vacations",
|
283727
283807
|
"vana",
|
283728
|
-
"vanguard",
|
283729
283808
|
"vc",
|
283730
283809
|
"ve",
|
283731
283810
|
"vegas",
|
283732
283811
|
"ventures",
|
283733
|
-
"verisign",
|
283734
|
-
"verm\xF6gensberater",
|
283735
|
-
"verm\xF6gensberatung",
|
283736
|
-
"versicherung",
|
283737
283812
|
"vet",
|
283738
283813
|
"vg",
|
283739
283814
|
"vi",
|
@@ -283744,8 +283819,6 @@ var tlds_default = [
|
|
283744
283819
|
"villas",
|
283745
283820
|
"vin",
|
283746
283821
|
"vip",
|
283747
|
-
"virgin",
|
283748
|
-
"visa",
|
283749
283822
|
"vision",
|
283750
283823
|
"viva",
|
283751
283824
|
"vivo",
|
@@ -283759,14 +283832,12 @@ var tlds_default = [
|
|
283759
283832
|
"voyage",
|
283760
283833
|
"vu",
|
283761
283834
|
"wales",
|
283762
|
-
"walmart",
|
283763
283835
|
"walter",
|
283764
283836
|
"wang",
|
283765
283837
|
"wanggou",
|
283766
283838
|
"watch",
|
283767
283839
|
"watches",
|
283768
283840
|
"weather",
|
283769
|
-
"weatherchannel",
|
283770
283841
|
"webcam",
|
283771
283842
|
"weber",
|
283772
283843
|
"website",
|
@@ -283778,13 +283849,8 @@ var tlds_default = [
|
|
283778
283849
|
"whoswho",
|
283779
283850
|
"wien",
|
283780
283851
|
"wiki",
|
283781
|
-
"williamhill",
|
283782
283852
|
"win",
|
283783
|
-
"windows",
|
283784
283853
|
"wine",
|
283785
|
-
"winners",
|
283786
|
-
"wme",
|
283787
|
-
"wolterskluwer",
|
283788
283854
|
"woodside",
|
283789
283855
|
"work",
|
283790
283856
|
"works",
|
@@ -283793,20 +283859,13 @@ var tlds_default = [
|
|
283793
283859
|
"ws",
|
283794
283860
|
"wtc",
|
283795
283861
|
"wtf",
|
283796
|
-
"xbox",
|
283797
|
-
"xerox",
|
283798
|
-
"xihuan",
|
283799
283862
|
"xin",
|
283800
|
-
"xxx",
|
283801
283863
|
"xyz",
|
283802
283864
|
"yachts",
|
283803
|
-
"yahoo",
|
283804
283865
|
"yamaxun",
|
283805
283866
|
"yandex",
|
283806
283867
|
"ye",
|
283807
|
-
"yodobashi",
|
283808
283868
|
"yoga",
|
283809
|
-
"yokohama",
|
283810
283869
|
"you",
|
283811
283870
|
"youtube",
|
283812
283871
|
"yt",
|
@@ -283819,156 +283878,7 @@ var tlds_default = [
|
|
283819
283878
|
"zm",
|
283820
283879
|
"zone",
|
283821
283880
|
"zuerich",
|
283822
|
-
"zw"
|
283823
|
-
"\u03B5\u03BB",
|
283824
|
-
"\u03B5\u03C5",
|
283825
|
-
"\u0431\u0433",
|
283826
|
-
"\u0431\u0435\u043B",
|
283827
|
-
"\u0434\u0435\u0442\u0438",
|
283828
|
-
"\u0435\u044E",
|
283829
|
-
"\u043A\u0430\u0442\u043E\u043B\u0438\u043A",
|
283830
|
-
"\u043A\u043E\u043C",
|
283831
|
-
"\u043C\u043A\u0434",
|
283832
|
-
"\u043C\u043E\u043D",
|
283833
|
-
"\u043C\u043E\u0441\u043A\u0432\u0430",
|
283834
|
-
"\u043E\u043D\u043B\u0430\u0439\u043D",
|
283835
|
-
"\u043E\u0440\u0433",
|
283836
|
-
"\u0440\u0443\u0441",
|
283837
|
-
"\u0440\u0444",
|
283838
|
-
"\u0441\u0430\u0439\u0442",
|
283839
|
-
"\u0441\u0440\u0431",
|
283840
|
-
"\u0443\u043A\u0440",
|
283841
|
-
"\u049B\u0430\u0437",
|
283842
|
-
"\u0570\u0561\u0575",
|
283843
|
-
"\u05D9\u05E9\u05E8\u05D0\u05DC",
|
283844
|
-
"\u05E7\u05D5\u05DD",
|
283845
|
-
"\u0627\u0628\u0648\u0638\u0628\u064A",
|
283846
|
-
"\u0627\u0631\u0627\u0645\u0643\u0648",
|
283847
|
-
"\u0627\u0644\u0627\u0631\u062F\u0646",
|
283848
|
-
"\u0627\u0644\u0628\u062D\u0631\u064A\u0646",
|
283849
|
-
"\u0627\u0644\u062C\u0632\u0627\u0626\u0631",
|
283850
|
-
"\u0627\u0644\u0633\u0639\u0648\u062F\u064A\u0629",
|
283851
|
-
"\u0627\u0644\u0639\u0644\u064A\u0627\u0646",
|
283852
|
-
"\u0627\u0644\u0645\u063A\u0631\u0628",
|
283853
|
-
"\u0627\u0645\u0627\u0631\u0627\u062A",
|
283854
|
-
"\u0627\u06CC\u0631\u0627\u0646",
|
283855
|
-
"\u0628\u0627\u0631\u062A",
|
283856
|
-
"\u0628\u0627\u0632\u0627\u0631",
|
283857
|
-
"\u0628\u064A\u062A\u0643",
|
283858
|
-
"\u0628\u06BE\u0627\u0631\u062A",
|
283859
|
-
"\u062A\u0648\u0646\u0633",
|
283860
|
-
"\u0633\u0648\u062F\u0627\u0646",
|
283861
|
-
"\u0633\u0648\u0631\u064A\u0629",
|
283862
|
-
"\u0634\u0628\u0643\u0629",
|
283863
|
-
"\u0639\u0631\u0627\u0642",
|
283864
|
-
"\u0639\u0631\u0628",
|
283865
|
-
"\u0639\u0645\u0627\u0646",
|
283866
|
-
"\u0641\u0644\u0633\u0637\u064A\u0646",
|
283867
|
-
"\u0642\u0637\u0631",
|
283868
|
-
"\u0643\u0627\u062B\u0648\u0644\u064A\u0643",
|
283869
|
-
"\u0643\u0648\u0645",
|
283870
|
-
"\u0645\u0635\u0631",
|
283871
|
-
"\u0645\u0644\u064A\u0633\u064A\u0627",
|
283872
|
-
"\u0645\u0648\u0631\u064A\u062A\u0627\u0646\u064A\u0627",
|
283873
|
-
"\u0645\u0648\u0642\u0639",
|
283874
|
-
"\u0647\u0645\u0631\u0627\u0647",
|
283875
|
-
"\u067E\u0627\u06A9\u0633\u062A\u0627\u0646",
|
283876
|
-
"\u0680\u0627\u0631\u062A",
|
283877
|
-
"\u0915\u0949\u092E",
|
283878
|
-
"\u0928\u0947\u091F",
|
283879
|
-
"\u092D\u093E\u0930\u0924",
|
283880
|
-
"\u092D\u093E\u0930\u0924\u092E\u094D",
|
283881
|
-
"\u092D\u093E\u0930\u094B\u0924",
|
283882
|
-
"\u0938\u0902\u0917\u0920\u0928",
|
283883
|
-
"\u09AC\u09BE\u0982\u09B2\u09BE",
|
283884
|
-
"\u09AD\u09BE\u09B0\u09A4",
|
283885
|
-
"\u09AD\u09BE\u09F0\u09A4",
|
283886
|
-
"\u0A2D\u0A3E\u0A30\u0A24",
|
283887
|
-
"\u0AAD\u0ABE\u0AB0\u0AA4",
|
283888
|
-
"\u0B2D\u0B3E\u0B30\u0B24",
|
283889
|
-
"\u0B87\u0BA8\u0BCD\u0BA4\u0BBF\u0BAF\u0BBE",
|
283890
|
-
"\u0B87\u0BB2\u0B99\u0BCD\u0B95\u0BC8",
|
283891
|
-
"\u0B9A\u0BBF\u0B99\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0BC2\u0BB0\u0BCD",
|
283892
|
-
"\u0C2D\u0C3E\u0C30\u0C24\u0C4D",
|
283893
|
-
"\u0CAD\u0CBE\u0CB0\u0CA4",
|
283894
|
-
"\u0D2D\u0D3E\u0D30\u0D24\u0D02",
|
283895
|
-
"\u0DBD\u0D82\u0D9A\u0DCF",
|
283896
|
-
"\u0E04\u0E2D\u0E21",
|
283897
|
-
"\u0E44\u0E17\u0E22",
|
283898
|
-
"\u0EA5\u0EB2\u0EA7",
|
283899
|
-
"\u10D2\u10D4",
|
283900
|
-
"\u307F\u3093\u306A",
|
283901
|
-
"\u30A2\u30DE\u30BE\u30F3",
|
283902
|
-
"\u30AF\u30E9\u30A6\u30C9",
|
283903
|
-
"\u30B0\u30FC\u30B0\u30EB",
|
283904
|
-
"\u30B3\u30E0",
|
283905
|
-
"\u30B9\u30C8\u30A2",
|
283906
|
-
"\u30BB\u30FC\u30EB",
|
283907
|
-
"\u30D5\u30A1\u30C3\u30B7\u30E7\u30F3",
|
283908
|
-
"\u30DD\u30A4\u30F3\u30C8",
|
283909
|
-
"\u4E16\u754C",
|
283910
|
-
"\u4E2D\u4FE1",
|
283911
|
-
"\u4E2D\u56FD",
|
283912
|
-
"\u4E2D\u570B",
|
283913
|
-
"\u4E2D\u6587\u7F51",
|
283914
|
-
"\u4E9A\u9A6C\u900A",
|
283915
|
-
"\u4F01\u4E1A",
|
283916
|
-
"\u4F5B\u5C71",
|
283917
|
-
"\u4FE1\u606F",
|
283918
|
-
"\u5065\u5EB7",
|
283919
|
-
"\u516B\u5366",
|
283920
|
-
"\u516C\u53F8",
|
283921
|
-
"\u516C\u76CA",
|
283922
|
-
"\u53F0\u6E7E",
|
283923
|
-
"\u53F0\u7063",
|
283924
|
-
"\u5546\u57CE",
|
283925
|
-
"\u5546\u5E97",
|
283926
|
-
"\u5546\u6807",
|
283927
|
-
"\u5609\u91CC",
|
283928
|
-
"\u5609\u91CC\u5927\u9152\u5E97",
|
283929
|
-
"\u5728\u7EBF",
|
283930
|
-
"\u5927\u62FF",
|
283931
|
-
"\u5929\u4E3B\u6559",
|
283932
|
-
"\u5A31\u4E50",
|
283933
|
-
"\u5BB6\u96FB",
|
283934
|
-
"\u5E7F\u4E1C",
|
283935
|
-
"\u5FAE\u535A",
|
283936
|
-
"\u6148\u5584",
|
283937
|
-
"\u6211\u7231\u4F60",
|
283938
|
-
"\u624B\u673A",
|
283939
|
-
"\u62DB\u8058",
|
283940
|
-
"\u653F\u52A1",
|
283941
|
-
"\u653F\u5E9C",
|
283942
|
-
"\u65B0\u52A0\u5761",
|
283943
|
-
"\u65B0\u95FB",
|
283944
|
-
"\u65F6\u5C1A",
|
283945
|
-
"\u66F8\u7C4D",
|
283946
|
-
"\u673A\u6784",
|
283947
|
-
"\u6DE1\u9A6C\u9521",
|
283948
|
-
"\u6E38\u620F",
|
283949
|
-
"\u6FB3\u9580",
|
283950
|
-
"\u70B9\u770B",
|
283951
|
-
"\u79FB\u52A8",
|
283952
|
-
"\u7EC4\u7EC7\u673A\u6784",
|
283953
|
-
"\u7F51\u5740",
|
283954
|
-
"\u7F51\u5E97",
|
283955
|
-
"\u7F51\u7AD9",
|
283956
|
-
"\u7F51\u7EDC",
|
283957
|
-
"\u8054\u901A",
|
283958
|
-
"\u8C37\u6B4C",
|
283959
|
-
"\u8D2D\u7269",
|
283960
|
-
"\u901A\u8CA9",
|
283961
|
-
"\u96C6\u56E2",
|
283962
|
-
"\u96FB\u8A0A\u76C8\u79D1",
|
283963
|
-
"\u98DE\u5229\u6D66",
|
283964
|
-
"\u98DF\u54C1",
|
283965
|
-
"\u9910\u5385",
|
283966
|
-
"\u9999\u683C\u91CC\u62C9",
|
283967
|
-
"\u9999\u6E2F",
|
283968
|
-
"\uB2F7\uB137",
|
283969
|
-
"\uB2F7\uCEF4",
|
283970
|
-
"\uC0BC\uC131",
|
283971
|
-
"\uD55C\uAD6D"
|
283881
|
+
"zw"
|
283972
283882
|
];
|
283973
283883
|
|
283974
283884
|
// ../myst-parser/dist/config.js
|
@@ -284190,10 +284100,10 @@ function hasClassName(token, matcher) {
|
|
284190
284100
|
const className = getClassName(token);
|
284191
284101
|
if (!className)
|
284192
284102
|
return false;
|
284193
|
-
const
|
284194
|
-
if (
|
284103
|
+
const matches4 = className.split(" ").map((c) => c.match(matcher)).filter((c) => c);
|
284104
|
+
if (matches4.length === 0)
|
284195
284105
|
return false;
|
284196
|
-
return
|
284106
|
+
return matches4[0];
|
284197
284107
|
}
|
284198
284108
|
function getLang(t2) {
|
284199
284109
|
return import_he.default.decode(t2.info).trim().split(" ")[0].replace("\\", "");
|
@@ -285010,7 +284920,7 @@ function createTokenizer(opts) {
|
|
285010
284920
|
}
|
285011
284921
|
}, markdownit);
|
285012
284922
|
if (markdownit.linkify) {
|
285013
|
-
tokenizer.linkify.tlds(
|
284923
|
+
tokenizer.linkify.tlds(tlds.filter((tld) => !EXCLUDE_TLDS.includes(tld)));
|
285014
284924
|
}
|
285015
284925
|
if (extensions.smartquotes)
|
285016
284926
|
tokenizer.enable("smartquotes");
|
@@ -285588,7 +285498,7 @@ var import_node_path16 = __toESM(require("path"), 1);
|
|
285588
285498
|
var import_nbtx = __toESM(require_cjs2(), 1);
|
285589
285499
|
|
285590
285500
|
// ../myst-cli/dist/version.js
|
285591
|
-
var version2 = "1.1.
|
285501
|
+
var version2 = "1.1.48";
|
285592
285502
|
var version_default2 = version2;
|
285593
285503
|
|
285594
285504
|
// ../myst-cli/dist/utils/headers.js
|
@@ -294801,8 +294711,8 @@ async function projectFromPath(session, path42, indexFile) {
|
|
294801
294711
|
const projectConfig = selectors_exports.selectLocalProjectConfig(session.store.getState(), path42);
|
294802
294712
|
const excludePatterns = (_a6 = projectConfig === null || projectConfig === void 0 ? void 0 : projectConfig.exclude) !== null && _a6 !== void 0 ? _a6 : [];
|
294803
294713
|
const excludeFiles = (await Promise.all(excludePatterns.map(async (pattern) => {
|
294804
|
-
const
|
294805
|
-
return
|
294714
|
+
const matches4 = await glob(pattern.split(import_node_path25.sep).join("/"));
|
294715
|
+
return matches4.map((match3) => match3.split("/").join(import_node_path25.sep)).filter((match3) => isValidFile(match3));
|
294806
294716
|
}))).flat();
|
294807
294717
|
const ignoreFiles = [...rootConfigYamls, ...excludeFiles];
|
294808
294718
|
let implicitIndex = false;
|
@@ -295105,8 +295015,8 @@ async function unnestTemplate(session, path42) {
|
|
295105
295015
|
if ((_a6 = templateYml.files) === null || _a6 === void 0 ? void 0 : _a6.length) {
|
295106
295016
|
await Promise.all(templateYml.files.map(async (file) => {
|
295107
295017
|
const resolvedEntry = [...nestedPath.split(import_node_path28.sep), file].join("/");
|
295108
|
-
const
|
295109
|
-
|
295018
|
+
const matches4 = await glob(resolvedEntry);
|
295019
|
+
matches4.map((match3) => match3.split("/").join(import_node_path28.sep)).filter((match3) => !isDirectory(match3)).forEach((match3) => {
|
295110
295020
|
copyFileMaintainPath(session, match3, nestedPath, path42);
|
295111
295021
|
});
|
295112
295022
|
}));
|
@@ -295791,9 +295701,9 @@ function validateTemplateYml(session, input3, opts) {
|
|
295791
295701
|
const file = validateString(val, fileOpts);
|
295792
295702
|
if (file && opts.templateDir) {
|
295793
295703
|
const filePath = [...opts.templateDir.split(import_node_path29.default.sep), file].join("/");
|
295794
|
-
const
|
295795
|
-
const files =
|
295796
|
-
if (!
|
295704
|
+
const matches4 = globSync(filePath).map((match3) => match3.split("/").join(import_node_path29.default.sep));
|
295705
|
+
const files = matches4.filter((match3) => !isDirectory(match3));
|
295706
|
+
if (!matches4.length) {
|
295797
295707
|
validationError(`file does not exist: ${filePath}`, fileOpts);
|
295798
295708
|
} else if (!files.length) {
|
295799
295709
|
validationError(`file must not be directory: ${filePath}`, fileOpts);
|
@@ -295810,9 +295720,9 @@ function validateTemplateYml(session, input3, opts) {
|
|
295810
295720
|
}
|
295811
295721
|
if (template && opts.templateDir) {
|
295812
295722
|
const templatePath = [...opts.templateDir.split(import_node_path29.default.sep), template].join("/");
|
295813
|
-
const
|
295814
|
-
const files =
|
295815
|
-
if (!
|
295723
|
+
const matches4 = globSync(templatePath).map((match3) => match3.split("/").join(import_node_path29.default.sep));
|
295724
|
+
const files = matches4.filter((match3) => !isDirectory(match3));
|
295725
|
+
if (!matches4.length) {
|
295816
295726
|
validationError(`template does not exist: ${templatePath}`, templateOpts);
|
295817
295727
|
} else if (!files.length) {
|
295818
295728
|
validationError(`template must not be directory: ${templatePath}`, templateOpts);
|
@@ -298536,11 +298446,11 @@ function assembleStyles3() {
|
|
298536
298446
|
},
|
298537
298447
|
hexToRgb: {
|
298538
298448
|
value(hex) {
|
298539
|
-
const
|
298540
|
-
if (!
|
298449
|
+
const matches4 = /[a-f\d]{6}|[a-f\d]{3}/i.exec(hex.toString(16));
|
298450
|
+
if (!matches4) {
|
298541
298451
|
return [0, 0, 0];
|
298542
298452
|
}
|
298543
|
-
let [colorString] =
|
298453
|
+
let [colorString] = matches4;
|
298544
298454
|
if (colorString.length === 3) {
|
298545
298455
|
colorString = [...colorString].map((character) => character + character).join("");
|
298546
298456
|
}
|
@@ -299679,7 +299589,7 @@ function watchContent(session, serverReload, opts) {
|
|
299679
299589
|
const dependencies = new Set(selectors_exports.selectAllDependencies(state, proj.path));
|
299680
299590
|
import_chokidar.default.watch([proj.path, ...dependencies], {
|
299681
299591
|
ignoreInitial: true,
|
299682
|
-
ignored: ["public", "**/_build/**", "
|
299592
|
+
ignored: ["public", "**/_build/**", "**/node_modules/**", "**/.*/**", ...ignored],
|
299683
299593
|
awaitWriteFinish: { stabilityThreshold: 100, pollInterval: 50 }
|
299684
299594
|
}).on("all", watchProcessor(session, proj, serverReload, opts));
|
299685
299595
|
});
|
@@ -300667,6 +300577,33 @@ function getClasses2(className) {
|
|
300667
300577
|
}
|
300668
300578
|
|
300669
300579
|
// ../myst-to-tex/dist/math.js
|
300580
|
+
var ENVIRONMENTS2 = [
|
300581
|
+
"equation",
|
300582
|
+
"multline",
|
300583
|
+
"gather",
|
300584
|
+
"align",
|
300585
|
+
"alignat",
|
300586
|
+
"flalign",
|
300587
|
+
"matrix",
|
300588
|
+
"pmatrix",
|
300589
|
+
"bmatrix",
|
300590
|
+
"Bmatrix",
|
300591
|
+
"vmatrix",
|
300592
|
+
"Vmatrix",
|
300593
|
+
"eqnarray"
|
300594
|
+
];
|
300595
|
+
var RE_OPEN2 = new RegExp(`^\\\\begin{(${ENVIRONMENTS2.join("|")})([*]?)}`);
|
300596
|
+
function isAmsmathEnvironment(value) {
|
300597
|
+
const matchOpen = value.trim().match(RE_OPEN2);
|
300598
|
+
if (!matchOpen)
|
300599
|
+
return false;
|
300600
|
+
const [, environment2, star3] = matchOpen;
|
300601
|
+
const end = `\\end{${environment2}${star3}}`;
|
300602
|
+
const matchClose = value.trim().endsWith(end);
|
300603
|
+
if (!matchClose)
|
300604
|
+
return false;
|
300605
|
+
return true;
|
300606
|
+
}
|
300670
300607
|
function addMacrosToState(value, state) {
|
300671
300608
|
if (!state.options.math)
|
300672
300609
|
return;
|
@@ -300702,15 +300639,22 @@ var math4 = (node3, state) => {
|
|
300702
300639
|
state.write(node3.value);
|
300703
300640
|
state.write(" \\)");
|
300704
300641
|
} else {
|
300705
|
-
|
300642
|
+
const isAmsMath = isAmsmathEnvironment(node3.value);
|
300643
|
+
if (isAmsMath) {
|
300644
|
+
state.ensureNewLine();
|
300645
|
+
state.write(node3.value);
|
300646
|
+
state.ensureNewLine(true);
|
300647
|
+
} else {
|
300648
|
+
state.write(`\\begin{equation${enumerated === false ? "*" : ""}}
|
300706
300649
|
`);
|
300707
|
-
|
300708
|
-
|
300650
|
+
if (label) {
|
300651
|
+
state.write(`\\label{${label}}`);
|
300652
|
+
}
|
300653
|
+
state.ensureNewLine();
|
300654
|
+
state.write(node3.value);
|
300655
|
+
state.ensureNewLine(true);
|
300656
|
+
state.write(`\\end{equation${enumerated === false ? "*" : ""}}`);
|
300709
300657
|
}
|
300710
|
-
state.ensureNewLine();
|
300711
|
-
state.write(node3.value);
|
300712
|
-
state.ensureNewLine(true);
|
300713
|
-
state.write(`\\end{equation${enumerated === false ? "*" : ""}}`);
|
300714
300658
|
}
|
300715
300659
|
if (!state.data.isInTable)
|
300716
300660
|
state.closeBlock(node3);
|
@@ -302831,7 +302775,9 @@ ${node3.value}
|
|
302831
302775
|
state.renderChildren(node3, 0, " ");
|
302832
302776
|
},
|
302833
302777
|
cite(node3, state) {
|
302834
|
-
|
302778
|
+
const needsLabel = !/^[a-zA-Z0-9_\-:.]+$/.test(node3.label);
|
302779
|
+
const label = needsLabel ? `label("${node3.label}")` : `<${node3.label}>`;
|
302780
|
+
state.write(`#cite(${label}`);
|
302835
302781
|
if (node3.kind === "narrative")
|
302836
302782
|
state.write(`, form: "prose"`);
|
302837
302783
|
if (node3.suffix)
|
@@ -302979,7 +302925,7 @@ function isTypstAvailable() {
|
|
302979
302925
|
}
|
302980
302926
|
async function runTypstExecutable(session, typstFile) {
|
302981
302927
|
if (!isTypstAvailable()) {
|
302982
|
-
session.log.
|
302928
|
+
session.log.error("The typst CLI must be installed to build PDFs with typst");
|
302983
302929
|
return;
|
302984
302930
|
}
|
302985
302931
|
if (import_node_path49.default.extname(typstFile) !== ".typ") {
|
@@ -306924,8 +306870,8 @@ async function copyFilesFromConfig(session, projectPath, mecaFolder, manifestIte
|
|
306924
306870
|
if (entries2.length) {
|
306925
306871
|
await Promise.all(entries2.map(async ({ itemType, entry }) => {
|
306926
306872
|
const resolvedEntry = [...projectPath.split(import_node_path54.default.sep), entry].join("/");
|
306927
|
-
const
|
306928
|
-
|
306873
|
+
const matches4 = await glob(resolvedEntry);
|
306874
|
+
matches4.map((match3) => match3.split("/").join(import_node_path54.default.sep)).filter((match3) => !isDirectory(match3)).forEach((match3) => {
|
306929
306875
|
const destination = copyFileMaintainPath(session, match3, projectPath, bundleFolder(mecaFolder), errorLogFn);
|
306930
306876
|
addManifestItem(manifestItems, itemType, mecaFolder, destination);
|
306931
306877
|
});
|
@@ -315249,9 +315195,9 @@ var Options2 = class {
|
|
315249
315195
|
if (!this._internals.enableUnixSockets) {
|
315250
315196
|
throw new Error("Using UNIX domain sockets but option `enableUnixSockets` is not enabled");
|
315251
315197
|
}
|
315252
|
-
const
|
315253
|
-
if (
|
315254
|
-
const { socketPath, path: path42 } =
|
315198
|
+
const matches4 = /(?<socketPath>.+?):(?<path>.+)/.exec(`${url.pathname}${url.search}`);
|
315199
|
+
if (matches4 == null ? void 0 : matches4.groups) {
|
315200
|
+
const { socketPath, path: path42 } = matches4.groups;
|
315255
315201
|
this._unixOptions = {
|
315256
315202
|
socketPath,
|
315257
315203
|
path: path42,
|
@@ -317798,11 +317744,11 @@ function assembleStyles4() {
|
|
317798
317744
|
},
|
317799
317745
|
hexToRgb: {
|
317800
317746
|
value(hex) {
|
317801
|
-
const
|
317802
|
-
if (!
|
317747
|
+
const matches4 = /[a-f\d]{6}|[a-f\d]{3}/i.exec(hex.toString(16));
|
317748
|
+
if (!matches4) {
|
317803
317749
|
return [0, 0, 0];
|
317804
317750
|
}
|
317805
|
-
let [colorString] =
|
317751
|
+
let [colorString] = matches4;
|
317806
317752
|
if (colorString.length === 3) {
|
317807
317753
|
colorString = [...colorString].map((character) => character + character).join("");
|
317808
317754
|
}
|
@@ -318384,11 +318330,11 @@ function assembleStyles5() {
|
|
318384
318330
|
},
|
318385
318331
|
hexToRgb: {
|
318386
318332
|
value: (hex) => {
|
318387
|
-
const
|
318388
|
-
if (!
|
318333
|
+
const matches4 = /[a-f\d]{6}|[a-f\d]{3}/i.exec(hex.toString(16));
|
318334
|
+
if (!matches4) {
|
318389
318335
|
return [0, 0, 0];
|
318390
318336
|
}
|
318391
|
-
let [colorString] =
|
318337
|
+
let [colorString] = matches4;
|
318392
318338
|
if (colorString.length === 3) {
|
318393
318339
|
colorString = [...colorString].map((character) => character + character).join("");
|
318394
318340
|
}
|
@@ -319380,11 +319326,11 @@ function assembleStyles6() {
|
|
319380
319326
|
},
|
319381
319327
|
hexToRgb: {
|
319382
319328
|
value(hex) {
|
319383
|
-
const
|
319384
|
-
if (!
|
319329
|
+
const matches4 = /[a-f\d]{6}|[a-f\d]{3}/i.exec(hex.toString(16));
|
319330
|
+
if (!matches4) {
|
319385
319331
|
return [0, 0, 0];
|
319386
319332
|
}
|
319387
|
-
let [colorString] =
|
319333
|
+
let [colorString] = matches4;
|
319388
319334
|
if (colorString.length === 3) {
|
319389
319335
|
colorString = [...colorString].map((character) => character + character).join("");
|
319390
319336
|
}
|