summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaindropsSys <contact@minteck.org>2023-06-22 23:06:31 +0200
committerRaindropsSys <contact@minteck.org>2023-06-22 23:06:31 +0200
commite0712be7598cfc5201eb3bdeb35481d352ad1b48 (patch)
treefc8ac8a158dc36231a144b1e03f1dd8307d2595e
parent682af7f8c984bdb6faa69ffe1fdae98aaa241db5 (diff)
downloaddelta-e0712be7598cfc5201eb3bdeb35481d352ad1b48.tar.gz
delta-e0712be7598cfc5201eb3bdeb35481d352ad1b48.tar.bz2
delta-e0712be7598cfc5201eb3bdeb35481d352ad1b48.zip
Updated 3 files and added 117 files (automated)
-rw-r--r--includes/editor.php4
-rw-r--r--includes/langcheck/index.js142
-rw-r--r--includes/langcheck/node_modules/.package-lock.json96
-rw-r--r--includes/langcheck/node_modules/ansi-styles/index.d.ts345
-rw-r--r--includes/langcheck/node_modules/ansi-styles/index.js163
-rw-r--r--includes/langcheck/node_modules/ansi-styles/license9
-rw-r--r--includes/langcheck/node_modules/ansi-styles/package.json56
-rw-r--r--includes/langcheck/node_modules/ansi-styles/readme.md152
-rw-r--r--includes/langcheck/node_modules/chalk/index.d.ts415
-rw-r--r--includes/langcheck/node_modules/chalk/license9
-rw-r--r--includes/langcheck/node_modules/chalk/package.json68
-rw-r--r--includes/langcheck/node_modules/chalk/readme.md341
-rw-r--r--includes/langcheck/node_modules/chalk/source/index.js229
-rw-r--r--includes/langcheck/node_modules/chalk/source/templates.js134
-rw-r--r--includes/langcheck/node_modules/chalk/source/util.js39
-rw-r--r--includes/langcheck/node_modules/color-convert/CHANGELOG.md54
-rw-r--r--includes/langcheck/node_modules/color-convert/LICENSE21
-rw-r--r--includes/langcheck/node_modules/color-convert/README.md68
-rw-r--r--includes/langcheck/node_modules/color-convert/conversions.js839
-rw-r--r--includes/langcheck/node_modules/color-convert/index.js81
-rw-r--r--includes/langcheck/node_modules/color-convert/package.json48
-rw-r--r--includes/langcheck/node_modules/color-convert/route.js97
-rw-r--r--includes/langcheck/node_modules/color-name/LICENSE8
-rw-r--r--includes/langcheck/node_modules/color-name/README.md11
-rw-r--r--includes/langcheck/node_modules/color-name/index.js152
-rw-r--r--includes/langcheck/node_modules/color-name/package.json28
-rw-r--r--includes/langcheck/node_modules/has-flag/index.d.ts39
-rw-r--r--includes/langcheck/node_modules/has-flag/index.js8
-rw-r--r--includes/langcheck/node_modules/has-flag/license9
-rw-r--r--includes/langcheck/node_modules/has-flag/package.json46
-rw-r--r--includes/langcheck/node_modules/has-flag/readme.md89
-rw-r--r--includes/langcheck/node_modules/kleur/index.js104
-rw-r--r--includes/langcheck/node_modules/kleur/kleur.d.ts45
-rw-r--r--includes/langcheck/node_modules/kleur/license21
-rw-r--r--includes/langcheck/node_modules/kleur/package.json35
-rw-r--r--includes/langcheck/node_modules/kleur/readme.md172
-rw-r--r--includes/langcheck/node_modules/prompts/dist/dateparts/datepart.js39
-rw-r--r--includes/langcheck/node_modules/prompts/dist/dateparts/day.js35
-rw-r--r--includes/langcheck/node_modules/prompts/dist/dateparts/hours.js30
-rw-r--r--includes/langcheck/node_modules/prompts/dist/dateparts/index.js13
-rw-r--r--includes/langcheck/node_modules/prompts/dist/dateparts/meridiem.js25
-rw-r--r--includes/langcheck/node_modules/prompts/dist/dateparts/milliseconds.js28
-rw-r--r--includes/langcheck/node_modules/prompts/dist/dateparts/minutes.js29
-rw-r--r--includes/langcheck/node_modules/prompts/dist/dateparts/month.js31
-rw-r--r--includes/langcheck/node_modules/prompts/dist/dateparts/seconds.js29
-rw-r--r--includes/langcheck/node_modules/prompts/dist/dateparts/year.js29
-rw-r--r--includes/langcheck/node_modules/prompts/dist/elements/autocomplete.js285
-rw-r--r--includes/langcheck/node_modules/prompts/dist/elements/autocompleteMultiselect.js201
-rw-r--r--includes/langcheck/node_modules/prompts/dist/elements/confirm.js93
-rw-r--r--includes/langcheck/node_modules/prompts/dist/elements/date.js250
-rw-r--r--includes/langcheck/node_modules/prompts/dist/elements/index.js13
-rw-r--r--includes/langcheck/node_modules/prompts/dist/elements/multiselect.js289
-rw-r--r--includes/langcheck/node_modules/prompts/dist/elements/number.js250
-rw-r--r--includes/langcheck/node_modules/prompts/dist/elements/prompt.js82
-rw-r--r--includes/langcheck/node_modules/prompts/dist/elements/select.js190
-rw-r--r--includes/langcheck/node_modules/prompts/dist/elements/text.js245
-rw-r--r--includes/langcheck/node_modules/prompts/dist/elements/toggle.js124
-rw-r--r--includes/langcheck/node_modules/prompts/dist/index.js154
-rw-r--r--includes/langcheck/node_modules/prompts/dist/prompts.js222
-rw-r--r--includes/langcheck/node_modules/prompts/dist/util/action.js38
-rw-r--r--includes/langcheck/node_modules/prompts/dist/util/clear.js42
-rw-r--r--includes/langcheck/node_modules/prompts/dist/util/entriesToDisplay.js21
-rw-r--r--includes/langcheck/node_modules/prompts/dist/util/figures.js32
-rw-r--r--includes/langcheck/node_modules/prompts/dist/util/index.js12
-rw-r--r--includes/langcheck/node_modules/prompts/dist/util/lines.js14
-rw-r--r--includes/langcheck/node_modules/prompts/dist/util/strip.js7
-rw-r--r--includes/langcheck/node_modules/prompts/dist/util/style.js51
-rw-r--r--includes/langcheck/node_modules/prompts/dist/util/wrap.js16
-rw-r--r--includes/langcheck/node_modules/prompts/index.js14
-rw-r--r--includes/langcheck/node_modules/prompts/lib/dateparts/datepart.js35
-rw-r--r--includes/langcheck/node_modules/prompts/lib/dateparts/day.js42
-rw-r--r--includes/langcheck/node_modules/prompts/lib/dateparts/hours.js30
-rw-r--r--includes/langcheck/node_modules/prompts/lib/dateparts/index.js13
-rw-r--r--includes/langcheck/node_modules/prompts/lib/dateparts/meridiem.js24
-rw-r--r--includes/langcheck/node_modules/prompts/lib/dateparts/milliseconds.js28
-rw-r--r--includes/langcheck/node_modules/prompts/lib/dateparts/minutes.js28
-rw-r--r--includes/langcheck/node_modules/prompts/lib/dateparts/month.js33
-rw-r--r--includes/langcheck/node_modules/prompts/lib/dateparts/seconds.js28
-rw-r--r--includes/langcheck/node_modules/prompts/lib/dateparts/year.js28
-rw-r--r--includes/langcheck/node_modules/prompts/lib/elements/autocomplete.js264
-rw-r--r--includes/langcheck/node_modules/prompts/lib/elements/autocompleteMultiselect.js194
-rw-r--r--includes/langcheck/node_modules/prompts/lib/elements/confirm.js89
-rw-r--r--includes/langcheck/node_modules/prompts/lib/elements/date.js209
-rw-r--r--includes/langcheck/node_modules/prompts/lib/elements/index.js13
-rw-r--r--includes/langcheck/node_modules/prompts/lib/elements/multiselect.js271
-rw-r--r--includes/langcheck/node_modules/prompts/lib/elements/number.js213
-rw-r--r--includes/langcheck/node_modules/prompts/lib/elements/prompt.js68
-rw-r--r--includes/langcheck/node_modules/prompts/lib/elements/select.js175
-rw-r--r--includes/langcheck/node_modules/prompts/lib/elements/text.js208
-rw-r--r--includes/langcheck/node_modules/prompts/lib/elements/toggle.js118
-rw-r--r--includes/langcheck/node_modules/prompts/lib/index.js98
-rw-r--r--includes/langcheck/node_modules/prompts/lib/prompts.js206
-rw-r--r--includes/langcheck/node_modules/prompts/lib/util/action.js39
-rw-r--r--includes/langcheck/node_modules/prompts/lib/util/clear.js22
-rw-r--r--includes/langcheck/node_modules/prompts/lib/util/entriesToDisplay.js21
-rw-r--r--includes/langcheck/node_modules/prompts/lib/util/figures.js33
-rw-r--r--includes/langcheck/node_modules/prompts/lib/util/index.js12
-rw-r--r--includes/langcheck/node_modules/prompts/lib/util/lines.js15
-rw-r--r--includes/langcheck/node_modules/prompts/lib/util/strip.js11
-rw-r--r--includes/langcheck/node_modules/prompts/lib/util/style.js40
-rw-r--r--includes/langcheck/node_modules/prompts/lib/util/wrap.js27
-rw-r--r--includes/langcheck/node_modules/prompts/license21
-rw-r--r--includes/langcheck/node_modules/prompts/package.json53
-rwxr-xr-xincludes/langcheck/node_modules/prompts/readme.md882
-rw-r--r--includes/langcheck/node_modules/sisteransi/license21
-rwxr-xr-xincludes/langcheck/node_modules/sisteransi/package.json34
-rwxr-xr-xincludes/langcheck/node_modules/sisteransi/readme.md113
-rw-r--r--includes/langcheck/node_modules/sisteransi/src/index.js58
-rw-r--r--includes/langcheck/node_modules/sisteransi/src/sisteransi.d.ts35
-rw-r--r--includes/langcheck/node_modules/supports-color/browser.js5
-rw-r--r--includes/langcheck/node_modules/supports-color/index.js135
-rw-r--r--includes/langcheck/node_modules/supports-color/license9
-rw-r--r--includes/langcheck/node_modules/supports-color/package.json53
-rw-r--r--includes/langcheck/node_modules/supports-color/readme.md76
-rw-r--r--includes/langcheck/package-lock.json102
-rw-r--r--includes/langcheck/package.json6
-rw-r--r--includes/langcheck/reviewed.txt662
-rw-r--r--lang/en.json10
-rw-r--r--lang/qqx.json1
-rw-r--r--version2
120 files changed, 12015 insertions, 8 deletions
diff --git a/includes/editor.php b/includes/editor.php
index b697254..d265135 100644
--- a/includes/editor.php
+++ b/includes/editor.php
@@ -11,11 +11,11 @@
label: "<?= l("lang_editor_items") ?>",
icon: "text",
items: ["subscript", "superscript", "strikethrough", "code", "underline", "removeFormat"]
- }, "|", "alignment", "bulletedList", "numberedList", "|", "link", "blockQuote", {
+ }, "|", "alignment", "bulletedList", "numberedList", "|", "link", "blockQuote", <?php if (isset($_COOKIE["DeltaKiosk"])): ?> "insertTable", <?php else: ?> {
label: "<?= l("lang_editor_add") ?>",
icon: "plus",
items: ["insertImage", "insertTable", "mediaEmbed"]
- }, "|", "specialCharacters"],
+ }, <?php endif; ?> "|", "specialCharacters"],
language: {
ui: "<?= l("lang__name") ?>",
content: "<?= l("lang__name") ?>"
diff --git a/includes/langcheck/index.js b/includes/langcheck/index.js
new file mode 100644
index 0000000..1e485a1
--- /dev/null
+++ b/includes/langcheck/index.js
@@ -0,0 +1,142 @@
+const chalk = require('chalk');
+const prompts = require('prompts');
+const fs = require('fs');
+const crypto = require("crypto");
+
+let data;
+let items;
+let reviewed;
+let langs;
+let current;
+let total;
+
+function recurse(list, path, name) {
+ for (let key of Object.keys(list)) {
+ let localPath;
+ let localName = name + "/" + key;
+
+ if (list instanceof Array) {
+ localPath = path + "[" + key + "]";
+ } else {
+ localPath = path + '["' + key + '"]';
+ }
+
+ if (typeof list[key] === "string") {
+ items[localName] = {
+ path: localPath,
+ content: list[key],
+ uniqueId: localName + "(" + crypto.createHash("sha256").update(list[key]).digest("hex") + ")"
+ };
+ } else {
+ recurse(list[key], localPath, localName);
+ }
+ }
+}
+
+function save() {
+ fs.writeFileSync("./reviewed.txt", reviewed.join("\n"));
+
+ for (let lang of Object.keys(data)) {
+ fs.writeFileSync("../../lang/" + lang, JSON.stringify(data[lang], null, 2));
+ }
+}
+
+function load() {
+ data = {};
+ items = {};
+ reviewed = fs.readFileSync("./reviewed.txt").toString().trim().split("\n");
+ langs = fs.readdirSync("../../lang");
+
+ for (let lang of langs) {
+ data[lang] = JSON.parse(fs.readFileSync("../../lang/" + lang).toString());
+
+ recurse(data[lang], 'data["' + lang + '"]', lang + ":");
+ }
+
+ current = reviewed.map(i => i.split(":").splice(0, 2).join(":")).filter(i => Object.values(items).map(i => i.uniqueId).includes(i)).length;
+ total = Object.values(items).length;
+}
+
+function msToTime(ms) {
+ if (ms > 1000) {
+ if (ms > 60000) {
+ if (ms > 3600000) {
+ let t = Math.round(ms / 3600000);
+ return t + " hour" + (t > 1 ? "s" : "");
+ }
+
+ let t = Math.round(ms / 60000);
+ return t + " minute" + (t > 1 ? "s" : "");
+ }
+
+ let t = Math.round(ms / 1000);
+ return t + " second" + (t > 1 ? "s" : "");
+ }
+
+ return ms + " millisecond" + (ms > 1 ? "s" : "");
+}
+
+load();
+
+(async () => {
+ for (let key of Object.keys(items)) {
+ let item = items[key];
+ if (reviewed.map(i => i.split(":").splice(0, 2).join(":")).includes(item.uniqueId)) continue;
+ let times = reviewed.map(i => parseInt(i.split(":")[2]));
+ let eta = (total - current) * (times.reduce((a, b) => a + b) / times.length);
+ let start = new Date().getTime();
+
+ async function loop() {
+ save();
+ load();
+
+ console.clear();
+ console.log(chalk.bold.underline(key));
+ console.log(current + "/" + total + ", " + ((current / total) * 100).toFixed(2) + "%, approximately " + msToTime(eta) + " left");
+ console.log("");
+ console.log(chalk.cyan("=> ") + '"' + eval(item.path).replace(/(%\d+)/gm, chalk.magenta("$1")) + '"');
+ console.log("");
+
+ const response1 = await prompts([
+ {
+ type: 'confirm',
+ name: 'correct',
+ message: 'Is this message correct?',
+ initial: false
+ }
+ ]);
+
+ if (typeof response1['correct'] === "undefined") process.exit(0);
+ if (response1['correct']) {
+ let time = new Date().getTime() - start;
+ reviewed.push(item.uniqueId + ":" + time);
+ save();
+ load();
+ return true;
+ }
+
+ const response2 = await prompts([
+ {
+ type: 'text',
+ name: 'replace',
+ message: 'Enter the new message:',
+ initial: eval(item.path)
+ }
+ ]);
+
+ if (!response2['replace']) return false;
+ if (response2['replace']) {
+ if (response2['replace'].trim() === "") {
+ return false;
+ }
+
+ eval(item.path + " = `" + response2['replace'].replaceAll("`", "\\`") + "`");
+ save();
+ load();
+ return false;
+ }
+ }
+
+ while (!(await loop())) {}
+ }
+})(); \ No newline at end of file
diff --git a/includes/langcheck/node_modules/.package-lock.json b/includes/langcheck/node_modules/.package-lock.json
new file mode 100644
index 0000000..17b2610
--- /dev/null
+++ b/includes/langcheck/node_modules/.package-lock.json
@@ -0,0 +1,96 @@
+{
+ "name": "langcheck",
+ "lockfileVersion": 3,
+ "requires": true,
+ "packages": {
+ "node_modules/ansi-styles": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
+ "dependencies": {
+ "color-convert": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ }
+ },
+ "node_modules/chalk": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
+ "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
+ "dependencies": {
+ "ansi-styles": "^4.1.0",
+ "supports-color": "^7.1.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/chalk?sponsor=1"
+ }
+ },
+ "node_modules/color-convert": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
+ "dependencies": {
+ "color-name": "~1.1.4"
+ },
+ "engines": {
+ "node": ">=7.0.0"
+ }
+ },
+ "node_modules/color-name": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
+ },
+ "node_modules/has-flag": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
+ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/kleur": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz",
+ "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/prompts": {
+ "version": "2.4.2",
+ "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz",
+ "integrity": "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==",
+ "dependencies": {
+ "kleur": "^3.0.3",
+ "sisteransi": "^1.0.5"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/sisteransi": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz",
+ "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg=="
+ },
+ "node_modules/supports-color": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
+ "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
+ "dependencies": {
+ "has-flag": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ }
+ }
+}
diff --git a/includes/langcheck/node_modules/ansi-styles/index.d.ts b/includes/langcheck/node_modules/ansi-styles/index.d.ts
new file mode 100644
index 0000000..44a907e
--- /dev/null
+++ b/includes/langcheck/node_modules/ansi-styles/index.d.ts
@@ -0,0 +1,345 @@
+declare type CSSColor =
+ | 'aliceblue'
+ | 'antiquewhite'
+ | 'aqua'
+ | 'aquamarine'
+ | 'azure'
+ | 'beige'
+ | 'bisque'
+ | 'black'
+ | 'blanchedalmond'
+ | 'blue'
+ | 'blueviolet'
+ | 'brown'
+ | 'burlywood'
+ | 'cadetblue'
+ | 'chartreuse'
+ | 'chocolate'
+ | 'coral'
+ | 'cornflowerblue'
+ | 'cornsilk'
+ | 'crimson'
+ | 'cyan'
+ | 'darkblue'
+ | 'darkcyan'
+ | 'darkgoldenrod'
+ | 'darkgray'
+ | 'darkgreen'
+ | 'darkgrey'
+ | 'darkkhaki'
+ | 'darkmagenta'
+ | 'darkolivegreen'
+ | 'darkorange'
+ | 'darkorchid'
+ | 'darkred'
+ | 'darksalmon'
+ | 'darkseagreen'
+ | 'darkslateblue'
+ | 'darkslategray'
+ | 'darkslategrey'
+ | 'darkturquoise'
+ | 'darkviolet'
+ | 'deeppink'
+ | 'deepskyblue'
+ | 'dimgray'
+ | 'dimgrey'
+ | 'dodgerblue'
+ | 'firebrick'
+ | 'floralwhite'
+ | 'forestgreen'
+ | 'fuchsia'
+ | 'gainsboro'
+ | 'ghostwhite'
+ | 'gold'
+ | 'goldenrod'
+ | 'gray'
+ | 'green'
+ | 'greenyellow'
+ | 'grey'
+ | 'honeydew'
+ | 'hotpink'
+ | 'indianred'
+ | 'indigo'
+ | 'ivory'
+ | 'khaki'
+ | 'lavender'
+ | 'lavenderblush'
+ | 'lawngreen'
+ | 'lemonchiffon'
+ | 'lightblue'
+ | 'lightcoral'
+ | 'lightcyan'
+ | 'lightgoldenrodyellow'
+ | 'lightgray'
+ | 'lightgreen'
+ | 'lightgrey'
+ | 'lightpink'
+ | 'lightsalmon'
+ | 'lightseagreen'
+ | 'lightskyblue'
+ | 'lightslategray'
+ | 'lightslategrey'
+ | 'lightsteelblue'
+ | 'lightyellow'
+ | 'lime'
+ | 'limegreen'
+ | 'linen'
+ | 'magenta'
+ | 'maroon'
+ | 'mediumaquamarine'
+ | 'mediumblue'
+ | 'mediumorchid'
+ | 'mediumpurple'
+ | 'mediumseagreen'
+ | 'mediumslateblue'
+ | 'mediumspringgreen'
+ | 'mediumturquoise'
+ | 'mediumvioletred'
+ | 'midnightblue'
+ | 'mintcream'
+ | 'mistyrose'
+ | 'moccasin'
+ | 'navajowhite'
+ | 'navy'
+ | 'oldlace'
+ | 'olive'
+ | 'olivedrab'
+ | 'orange'
+ | 'orangered'
+ | 'orchid'
+ | 'palegoldenrod'
+ | 'palegreen'
+ | 'paleturquoise'
+ | 'palevioletred'
+ | 'papayawhip'
+ | 'peachpuff'
+ | 'peru'
+ | 'pink'
+ | 'plum'
+ | 'powderblue'
+ | 'purple'
+ | 'rebeccapurple'
+ | 'red'
+ | 'rosybrown'
+ | 'royalblue'
+ | 'saddlebrown'
+ | 'salmon'
+ | 'sandybrown'
+ | 'seagreen'
+ | 'seashell'
+ | 'sienna'
+ | 'silver'
+ | 'skyblue'
+ | 'slateblue'
+ | 'slategray'
+ | 'slategrey'
+ | 'snow'
+ | 'springgreen'
+ | 'steelblue'
+ | 'tan'
+ | 'teal'
+ | 'thistle'
+ | 'tomato'
+ | 'turquoise'
+ | 'violet'
+ | 'wheat'
+ | 'white'
+ | 'whitesmoke'
+ | 'yellow'
+ | 'yellowgreen';
+
+declare namespace ansiStyles {
+ interface ColorConvert {
+ /**
+ The RGB color space.
+
+ @param red - (`0`-`255`)
+ @param green - (`0`-`255`)
+ @param blue - (`0`-`255`)
+ */
+ rgb(red: number, green: number, blue: number): string;
+
+ /**
+ The RGB HEX color space.
+
+ @param hex - A hexadecimal string containing RGB data.
+ */
+ hex(hex: string): string;
+
+ /**
+ @param keyword - A CSS color name.
+ */
+ keyword(keyword: CSSColor): string;
+
+ /**
+ The HSL color space.
+
+ @param hue - (`0`-`360`)
+ @param saturation - (`0`-`100`)
+ @param lightness - (`0`-`100`)
+ */
+ hsl(hue: number, saturation: number, lightness: number): string;
+
+ /**
+ The HSV color space.
+
+ @param hue - (`0`-`360`)
+ @param saturation - (`0`-`100`)
+ @param value - (`0`-`100`)
+ */
+ hsv(hue: number, saturation: number, value: number): string;
+
+ /**
+ The HSV color space.
+
+ @param hue - (`0`-`360`)
+ @param whiteness - (`0`-`100`)
+ @param blackness - (`0`-`100`)
+ */
+ hwb(hue: number, whiteness: number, blackness: number): string;
+
+ /**
+ Use a [4-bit unsigned number](https://en.wikipedia.org/wiki/ANSI_escape_code#3/4-bit) to set text color.
+ */
+ ansi(ansi: number): string;
+
+ /**
+ Use an [8-bit unsigned number](https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit) to set text color.
+ */
+ ansi256(ansi: number): string;
+ }
+
+ interface CSPair {
+ /**
+ The ANSI terminal control sequence for starting this style.
+ */
+ readonly open: string;
+
+ /**
+ The ANSI terminal control sequence for ending this style.
+ */
+ readonly close: string;
+ }
+
+ interface ColorBase {
+ readonly ansi: ColorConvert;
+ readonly ansi256: ColorConvert;
+ readonly ansi16m: ColorConvert;
+
+ /**
+ The ANSI terminal control sequence for ending this color.
+ */
+ readonly close: string;
+ }
+
+ interface Modifier {
+ /**
+ Resets the current color chain.
+ */
+ readonly reset: CSPair;
+
+ /**
+ Make text bold.
+ */
+ readonly bold: CSPair;
+
+ /**
+ Emitting only a small amount of light.
+ */
+ readonly dim: CSPair;
+
+ /**
+ Make text italic. (Not widely supported)
+ */
+ readonly italic: CSPair;
+
+ /**
+ Make text underline. (Not widely supported)
+ */
+ readonly underline: CSPair;
+
+ /**
+ Inverse background and foreground colors.
+ */
+ readonly inverse: CSPair;
+
+ /**
+ Prints the text, but makes it invisible.
+ */
+ readonly hidden: CSPair;
+
+ /**
+ Puts a horizontal line through the center of the text. (Not widely supported)
+ */
+ readonly strikethrough: CSPair;
+ }
+
+ interface ForegroundColor {
+ readonly black: CSPair;
+ readonly red: CSPair;
+ readonly green: CSPair;
+ readonly yellow: CSPair;
+ readonly blue: CSPair;
+ readonly cyan: CSPair;
+ readonly magenta: CSPair;
+ readonly white: CSPair;
+
+ /**
+ Alias for `blackBright`.
+ */
+ readonly gray: CSPair;
+
+ /**
+ Alias for `blackBright`.
+ */
+ readonly grey: CSPair;
+
+ readonly blackBright: CSPair;
+ readonly redBright: CSPair;
+ readonly greenBright: CSPair;
+ readonly yellowBright: CSPair;
+ readonly blueBright: CSPair;
+ readonly cyanBright: CSPair;
+ readonly magentaBright: CSPair;
+ readonly whiteBright: CSPair;
+ }
+
+ interface BackgroundColor {
+ readonly bgBlack: CSPair;
+ readonly bgRed: CSPair;
+ readonly bgGreen: CSPair;
+ readonly bgYellow: CSPair;
+ readonly bgBlue: CSPair;
+ readonly bgCyan: CSPair;
+ readonly bgMagenta: CSPair;
+ readonly bgWhite: CSPair;
+
+ /**
+ Alias for `bgBlackBright`.
+ */
+ readonly bgGray: CSPair;
+
+ /**
+ Alias for `bgBlackBright`.
+ */
+ readonly bgGrey: CSPair;
+
+ readonly bgBlackBright: CSPair;
+ readonly bgRedBright: CSPair;
+ readonly bgGreenBright: CSPair;
+ readonly bgYellowBright: CSPair;
+ readonly bgBlueBright: CSPair;
+ readonly bgCyanBright: CSPair;
+ readonly bgMagentaBright: CSPair;
+ readonly bgWhiteBright: CSPair;
+ }
+}
+
+declare const ansiStyles: {
+ readonly modifier: ansiStyles.Modifier;
+ readonly color: ansiStyles.ForegroundColor & ansiStyles.ColorBase;
+ readonly bgColor: ansiStyles.BackgroundColor & ansiStyles.ColorBase;
+ readonly codes: ReadonlyMap<number, number>;
+} & ansiStyles.BackgroundColor & ansiStyles.ForegroundColor & ansiStyles.Modifier;
+
+export = ansiStyles;
diff --git a/includes/langcheck/node_modules/ansi-styles/index.js b/includes/langcheck/node_modules/ansi-styles/index.js
new file mode 100644
index 0000000..5d82581
--- /dev/null
+++ b/includes/langcheck/node_modules/ansi-styles/index.js
@@ -0,0 +1,163 @@
+'use strict';
+
+const wrapAnsi16 = (fn, offset) => (...args) => {
+ const code = fn(...args);
+ return `\u001B[${code + offset}m`;
+};
+
+const wrapAnsi256 = (fn, offset) => (...args) => {
+ const code = fn(...args);
+ return `\u001B[${38 + offset};5;${code}m`;
+};
+
+const wrapAnsi16m = (fn, offset) => (...args) => {
+ const rgb = fn(...args);
+ return `\u001B[${38 + offset};2;${rgb[0]};${rgb[1]};${rgb[2]}m`;
+};
+
+const ansi2ansi = n => n;
+const rgb2rgb = (r, g, b) => [r, g, b];
+
+const setLazyProperty = (object, property, get) => {
+ Object.defineProperty(object, property, {
+ get: () => {
+ const value = get();
+
+ Object.defineProperty(object, property, {
+ value,
+ enumerable: true,
+ configurable: true
+ });
+
+ return value;
+ },
+ enumerable: true,
+ configurable: true
+ });
+};
+
+/** @type {typeof import('color-convert')} */
+let colorConvert;
+const makeDynamicStyles = (wrap, targetSpace, identity, isBackground) => {
+ if (colorConvert === undefined) {
+ colorConvert = require('color-convert');
+ }
+
+ const offset = isBackground ? 10 : 0;
+ const styles = {};
+
+ for (const [sourceSpace, suite] of Object.entries(colorConvert)) {
+ const name = sourceSpace === 'ansi16' ? 'ansi' : sourceSpace;
+ if (sourceSpace === targetSpace) {
+ styles[name] = wrap(identity, offset);
+ } else if (typeof suite === 'object') {
+ styles[name] = wrap(suite[targetSpace], offset);
+ }
+ }
+
+ return styles;
+};
+
+function assembleStyles() {
+ const codes = new Map();
+ const styles = {
+ modifier: {
+ reset: [0, 0],
+ // 21 isn't widely supported and 22 does the same thing
+ bold: [1, 22],
+ dim: [2, 22],
+ italic: [3, 23],
+ underline: [4, 24],
+ inverse: [7, 27],
+ hidden: [8, 28],
+ strikethrough: [9, 29]
+ },
+ color: {
+ black: [30, 39],
+ red: [31, 39],
+ green: [32, 39],
+ yellow: [33, 39],
+ blue: [34, 39],
+ magenta: [35, 39],
+ cyan: [36, 39],
+ white: [37, 39],
+
+ // Bright color
+ blackBright: [90, 39],
+ redBright: [91, 39],
+ greenBright: [92, 39],
+ yellowBright: [93, 39],
+ blueBright: [94, 39],
+ magentaBright: [95, 39],
+ cyanBright: [96, 39],
+ whiteBright: [97, 39]
+ },
+ bgColor: {
+ bgBlack: [40, 49],
+ bgRed: [41, 49],
+ bgGreen: [42, 49],
+ bgYellow: [43, 49],
+ bgBlue: [44, 49],
+ bgMagenta: [45, 49],
+ bgCyan: [46, 49],
+ bgWhite: [47, 49],
+
+ // Bright color
+ bgBlackBright: [100, 49],
+ bgRedBright: [101, 49],
+ bgGreenBright: [102, 49],
+ bgYellowBright: [103, 49],
+ bgBlueBright: [104, 49],
+ bgMagentaBright: [105, 49],
+ bgCyanBright: [106, 49],
+ bgWhiteBright: [107, 49]
+ }
+ };
+
+ // Alias bright black as gray (and grey)
+ styles.color.gray = styles.color.blackBright;
+ styles.bgColor.bgGray = styles.bgColor.bgBlackBright;
+ styles.color.grey = styles.color.blackBright;
+ styles.bgColor.bgGrey = styles.bgColor.bgBlackBright;
+
+ for (const [groupName, group] of Object.entries(styles)) {
+ for (const [styleName, style] of Object.entries(group)) {
+ styles[styleName] = {
+ open: `\u001B[${style[0]}m`,
+ close: `\u001B[${style[1]}m`
+ };
+
+ group[styleName] = styles[styleName];
+
+ codes.set(style[0], style[1]);
+ }
+
+ Object.defineProperty(styles, groupName, {
+ value: group,
+ enumerable: false
+ });
+ }
+
+ Object.defineProperty(styles, 'codes', {
+ value: codes,
+ enumerable: false
+ });
+
+ styles.color.close = '\u001B[39m';
+ styles.bgColor.close = '\u001B[49m';
+
+ setLazyProperty(styles.color, 'ansi', () => makeDynamicStyles(wrapAnsi16, 'ansi16', ansi2ansi, false));
+ setLazyProperty(styles.color, 'ansi256', () => makeDynamicStyles(wrapAnsi256, 'ansi256', ansi2ansi, false));
+ setLazyProperty(styles.color, 'ansi16m', () => makeDynamicStyles(wrapAnsi16m, 'rgb', rgb2rgb, false));
+ setLazyProperty(styles.bgColor, 'ansi', () => makeDynamicStyles(wrapAnsi16, 'ansi16', ansi2ansi, true));
+ setLazyProperty(styles.bgColor, 'ansi256', () => makeDynamicStyles(wrapAnsi256, 'ansi256', ansi2ansi, true));
+ setLazyProperty(styles.bgColor, 'ansi16m', () => makeDynamicStyles(wrapAnsi16m, 'rgb', rgb2rgb, true));
+
+ return styles;
+}
+
+// Make the export immutable
+Object.defineProperty(module, 'exports', {
+ enumerable: true,
+ get: assembleStyles
+});
diff --git a/includes/langcheck/node_modules/ansi-styles/license b/includes/langcheck/node_modules/ansi-styles/license
new file mode 100644
index 0000000..e7af2f7
--- /dev/null
+++ b/includes/langcheck/node_modules/ansi-styles/license
@@ -0,0 +1,9 @@
+MIT License
+
+Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/includes/langcheck/node_modules/ansi-styles/package.json b/includes/langcheck/node_modules/ansi-styles/package.json
new file mode 100644
index 0000000..7539328
--- /dev/null
+++ b/includes/langcheck/node_modules/ansi-styles/package.json
@@ -0,0 +1,56 @@
+{
+ "name": "ansi-styles",
+ "version": "4.3.0",
+ "description": "ANSI escape codes for styling strings in the terminal",
+ "license": "MIT",
+ "repository": "chalk/ansi-styles",
+ "funding": "https://github.com/chalk/ansi-styles?sponsor=1",
+ "author": {
+ "name": "Sindre Sorhus",
+ "email": "sindresorhus@gmail.com",
+ "url": "sindresorhus.com"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "scripts": {
+ "test": "xo && ava && tsd",
+ "screenshot": "svg-term --command='node screenshot' --out=screenshot.svg --padding=3 --width=55 --height=3 --at=1000 --no-cursor"
+ },
+ "files": [
+ "index.js",
+ "index.d.ts"
+ ],
+ "keywords": [
+ "ansi",
+ "styles",
+ "color",
+ "colour",
+ "colors",
+ "terminal",
+ "console",
+ "cli",
+ "string",
+ "tty",
+ "escape",
+ "formatting",
+ "rgb",
+ "256",
+ "shell",
+ "xterm",
+ "log",
+ "logging",
+ "command-line",
+ "text"
+ ],
+ "dependencies": {
+ "color-convert": "^2.0.1"
+ },
+ "devDependencies": {
+ "@types/color-convert": "^1.9.0",
+ "ava": "^2.3.0",
+ "svg-term-cli": "^2.1.1",
+ "tsd": "^0.11.0",
+ "xo": "^0.25.3"
+ }
+}
diff --git a/includes/langcheck/node_modules/ansi-styles/readme.md b/includes/langcheck/node_modules/ansi-styles/readme.md
new file mode 100644
index 0000000..24883de
--- /dev/null
+++ b/includes/langcheck/node_modules/ansi-styles/readme.md
@@ -0,0 +1,152 @@
+# ansi-styles [![Build Status](https://travis-ci.org/chalk/ansi-styles.svg?branch=master)](https://travis-ci.org/chalk/ansi-styles)
+
+> [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code#Colors_and_Styles) for styling strings in the terminal
+
+You probably want the higher-level [chalk](https://github.com/chalk/chalk) module for styling your strings.
+
+<img src="screenshot.svg" width="900">
+
+## Install
+
+```
+$ npm install ansi-styles
+```
+
+## Usage
+
+```js
+const style = require('ansi-styles');
+
+console.log(`${style.green.open}Hello world!${style.green.close}`);
+
+
+// Color conversion between 16/256/truecolor
+// NOTE: If conversion goes to 16 colors or 256 colors, the original color
+// may be degraded to fit that color palette. This means terminals
+// that do not support 16 million colors will best-match the
+// original color.
+console.log(style.bgColor.ansi.hsl(120, 80, 72) + 'Hello world!' + style.bgColor.close);
+console.log(style.color.ansi256.rgb(199, 20, 250) + 'Hello world!' + style.color.close);
+console.log(style.color.ansi16m.hex('#abcdef') + 'Hello world!' + style.color.close);
+```
+
+## API
+
+Each style has an `open` and `close` property.
+
+## Styles
+
+### Modifiers
+
+- `reset`
+- `bold`
+- `dim`
+- `italic` *(Not widely supported)*
+- `underline`
+- `inverse`
+- `hidden`
+- `strikethrough` *(Not widely supported)*
+
+### Colors
+
+- `black`
+- `red`
+- `green`
+- `yellow`
+- `blue`
+- `magenta`
+- `cyan`
+- `white`
+- `blackBright` (alias: `gray`, `grey`)
+- `redBright`
+- `greenBright`
+- `yellowBright`
+- `blueBright`
+- `magentaBright`
+- `cyanBright`
+- `whiteBright`
+
+### Background colors
+
+- `bgBlack`
+- `bgRed`
+- `bgGreen`
+- `bgYellow`
+- `bgBlue`
+- `bgMagenta`
+- `bgCyan`
+- `bgWhite`
+- `bgBlackBright` (alias: `bgGray`, `bgGrey`)
+- `bgRedBright`
+- `bgGreenBright`
+- `bgYellowBright`
+- `bgBlueBright`
+- `bgMagentaBright`
+- `bgCyanBright`
+- `bgWhiteBright`
+
+## Advanced usage
+
+By default, you get a map of styles, but the styles are also available as groups. They are non-enumerable so they don't show up unless you access them explicitly. This makes it easier to expose only a subset in a higher-level module.
+
+- `style.modifier`
+- `style.color`
+- `style.bgColor`
+
+###### Example
+
+```js
+console.log(style.color.green.open);
+```
+
+Raw escape codes (i.e. without the CSI escape prefix `\u001B[` and render mode postfix `m`) are available under `style.codes`, which returns a `Map` with the open codes as keys and close codes as values.
+
+###### Example
+
+```js
+console.log(style.codes.get(36));
+//=> 39
+```
+
+## [256 / 16 million (TrueColor) support](https://gist.github.com/XVilka/8346728)
+
+`ansi-styles` uses the [`color-convert`](https://github.com/Qix-/color-convert) package to allow for converting between various colors and ANSI escapes, with support for 256 and 16 million colors.
+
+The following color spaces from `color-convert` are supported:
+
+- `rgb`
+- `hex`
+- `keyword`
+- `hsl`
+- `hsv`
+- `hwb`
+- `ansi`
+- `ansi256`
+
+To use these, call the associated conversion function with the intended output, for example:
+
+```js
+style.color.ansi.rgb(100, 200, 15); // RGB to 16 color ansi foreground code
+style.bgColor.ansi.rgb(100, 200, 15); // RGB to 16 color ansi background code
+
+style.color.ansi256.hsl(120, 100, 60); // HSL to 256 color ansi foreground code
+style.bgColor.ansi256.hsl(120, 100, 60); // HSL to 256 color ansi foreground code
+
+style.color.ansi16m.hex('#C0FFEE'); // Hex (RGB) to 16 million color foreground code
+style.bgColor.ansi16m.hex('#C0FFEE'); // Hex (RGB) to 16 million color background code
+```
+
+## Related
+
+- [ansi-escapes](https://github.com/sindresorhus/ansi-escapes) - ANSI escape codes for manipulating the terminal
+
+## Maintainers
+
+- [Sindre Sorhus](https://github.com/sindresorhus)
+- [Josh Junon](https://github.com/qix-)
+
+## For enterprise
+
+Available as part of the Tidelift Subscription.
+
+The maintainers of `ansi-styles` and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/npm-ansi-styles?utm_source=npm-ansi-styles&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)
diff --git a/includes/langcheck/node_modules/chalk/index.d.ts b/includes/langcheck/node_modules/chalk/index.d.ts
new file mode 100644
index 0000000..9cd88f3
--- /dev/null
+++ b/includes/langcheck/node_modules/chalk/index.d.ts
@@ -0,0 +1,415 @@
+/**
+Basic foreground colors.
+
+[More colors here.](https://github.com/chalk/chalk/blob/master/readme.md#256-and-truecolor-color-support)
+*/
+declare type ForegroundColor =
+ | 'black'
+ | 'red'
+ | 'green'
+ | 'yellow'
+ | 'blue'
+ | 'magenta'
+ | 'cyan'
+ | 'white'
+ | 'gray'
+ | 'grey'
+ | 'blackBright'
+ | 'redBright'
+ | 'greenBright'
+ | 'yellowBright'
+ | 'blueBright'
+ | 'magentaBright'
+ | 'cyanBright'
+ | 'whiteBright';
+
+/**
+Basic background colors.
+
+[More colors here.](https://github.com/chalk/chalk/blob/master/readme.md#256-and-truecolor-color-support)
+*/
+declare type BackgroundColor =
+ | 'bgBlack'
+ | 'bgRed'
+ | 'bgGreen'
+ | 'bgYellow'
+ | 'bgBlue'
+ | 'bgMagenta'
+ | 'bgCyan'
+ | 'bgWhite'
+ | 'bgGray'
+ | 'bgGrey'
+ | 'bgBlackBright'
+ | 'bgRedBright'
+ | 'bgGreenBright'
+ | 'bgYellowBright'
+ | 'bgBlueBright'
+ | 'bgMagentaBright'
+ | 'bgCyanBright'
+ | 'bgWhiteBright';
+
+/**
+Basic colors.
+
+[More colors here.](https://github.com/chalk/chalk/blob/master/readme.md#256-and-truecolor-color-support)
+*/
+declare type Color = ForegroundColor | BackgroundColor;
+
+declare type Modifiers =
+ | 'reset'
+ | 'bold'
+ | 'dim'
+ | 'italic'
+ | 'underline'
+ | 'inverse'
+ | 'hidden'
+ | 'strikethrough'
+ | 'visible';
+
+declare namespace chalk {
+ /**
+ Levels:
+ - `0` - All colors disabled.
+ - `1` - Basic 16 colors support.
+ - `2` - ANSI 256 colors support.
+ - `3` - Truecolor 16 million colors support.
+ */
+ type Level = 0 | 1 | 2 | 3;
+
+ interface Options {
+ /**
+ Specify the color support for Chalk.
+
+ By default, color support is automatically detected based on the environment.
+
+ Levels:
+ - `0` - All colors disabled.
+ - `1` - Basic 16 colors support.
+ - `2` - ANSI 256 colors support.
+ - `3` - Truecolor 16 million colors support.
+ */
+ level?: Level;
+ }
+
+ /**
+ Return a new Chalk instance.
+ */
+ type Instance = new (options?: Options) => Chalk;
+
+ /**
+ Detect whether the terminal supports color.
+ */
+ interface ColorSupport {
+ /**
+ The color level used by Chalk.
+ */
+ level: Level;
+
+ /**
+ Return whether Chalk supports basic 16 colors.
+ */
+ hasBasic: boolean;
+
+ /**
+ Return whether Chalk supports ANSI 256 colors.
+ */
+ has256: boolean;
+
+ /**
+ Return whether Chalk supports Truecolor 16 million colors.
+ */
+ has16m: boolean;
+ }
+
+ interface ChalkFunction {
+ /**
+ Use a template string.
+
+ @remarks Template literals are unsupported for nested calls (see [issue #341](https://github.com/chalk/chalk/issues/341))
+
+ @example
+ ```
+ import chalk = require('chalk');
+
+ log(chalk`
+ CPU: {red ${cpu.totalPercent}%}
+ RAM: {green ${ram.used / ram.total * 100}%}
+ DISK: {rgb(255,131,0) ${disk.used / disk.total * 100}%}
+ `);
+ ```
+
+ @example
+ ```
+ import chalk = require('chalk');
+
+ log(chalk.red.bgBlack`2 + 3 = {bold ${2 + 3}}`)
+ ```
+ */
+ (text: TemplateStringsArray, ...placeholders: unknown[]): string;
+
+ (...text: unknown[]): string;
+ }
+
+ interface Chalk extends ChalkFunction {
+ /**
+ Return a new Chalk instance.
+ */
+ Instance: Instance;
+
+ /**
+ The color support for Chalk.
+
+ By default, color support is automatically detected based on the environment.
+
+ Levels:
+ - `0` - All colors disabled.
+ - `1` - Basic 16 colors support.
+ - `2` - ANSI 256 colors support.
+ - `3` - Truecolor 16 million colors support.
+ */
+ level: Level;
+
+ /**
+ Use HEX value to set text color.
+
+ @param color - Hexadecimal value representing the desired color.
+
+ @example
+ ```
+ import chalk = require('chalk');
+
+ chalk.hex('#DEADED');
+ ```
+ */
+ hex(color: string): Chalk;
+
+ /**
+ Use keyword color value to set text color.
+
+ @param color - Keyword value representing the desired color.
+
+ @example
+ ```
+ import chalk = require('chalk');
+
+ chalk.keyword('orange');
+ ```
+ */
+ keyword(color: string): Chalk;
+
+ /**
+ Use RGB values to set text color.
+ */
+ rgb(red: number, green: number, blue: number): Chalk;
+
+ /**
+ Use HSL values to set text color.
+ */
+ hsl(hue: number, saturation: number, lightness: number): Chalk;
+
+ /**
+ Use HSV values to set text color.
+ */
+ hsv(hue: number, saturation: number, value: number): Chalk;
+
+ /**
+ Use HWB values to set text color.
+ */
+ hwb(hue: number, whiteness: number, blackness: number): Chalk;
+
+ /**
+ Use a [Select/Set Graphic Rendition](https://en.wikipedia.org/wiki/ANSI_escape_code#SGR_parameters) (SGR) [color code number](https://en.wikipedia.org/wiki/ANSI_escape_code#3/4_bit) to set text color.
+
+ 30 <= code && code < 38 || 90 <= code && code < 98
+ For example, 31 for red, 91 for redBright.
+ */
+ ansi(code: number): Chalk;
+
+ /**
+ Use a [8-bit unsigned number](https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit) to set text color.
+ */
+ ansi256(index: number): Chalk;
+
+ /**
+ Use HEX value to set background color.
+
+ @param color - Hexadecimal value representing the desired color.
+
+ @example
+ ```
+ import chalk = require('chalk');
+
+ chalk.bgHex('#DEADED');
+ ```
+ */
+ bgHex(color: string): Chalk;
+
+ /**
+ Use keyword color value to set background color.
+
+ @param color - Keyword value representing the desired color.
+
+ @example
+ ```
+ import chalk = require('chalk');
+
+ chalk.bgKeyword('orange');
+ ```
+ */
+ bgKeyword(color: string): Chalk;
+
+ /**
+ Use RGB values to set background color.
+ */
+ bgRgb(red: number, green: number, blue: number): Chalk;
+
+ /**
+ Use HSL values to set background color.
+ */
+ bgHsl(hue: number, saturation: number, lightness: number): Chalk;
+
+ /**
+ Use HSV values to set background color.
+ */
+ bgHsv(hue: number, saturation: number, value: number): Chalk;
+
+ /**
+ Use HWB values to set background color.
+ */
+ bgHwb(hue: number, whiteness: number, blackness: number): Chalk;
+
+ /**
+ Use a [Select/Set Graphic Rendition](https://en.wikipedia.org/wiki/ANSI_escape_code#SGR_parameters) (SGR) [color code number](https://en.wikipedia.org/wiki/ANSI_escape_code#3/4_bit) to set background color.
+
+ 30 <= code && code < 38 || 90 <= code && code < 98
+ For example, 31 for red, 91 for redBright.
+ Use the foreground code, not the background code (for example, not 41, nor 101).
+ */
+ bgAnsi(code: number): Chalk;
+
+ /**
+ Use a [8-bit unsigned number](https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit) to set background color.
+ */
+ bgAnsi256(index: number): Chalk;
+
+ /**
+ Modifier: Resets the current color chain.
+ */
+ readonly reset: Chalk;
+
+ /**
+ Modifier: Make text bold.
+ */
+ readonly bold: Chalk;
+
+ /**
+ Modifier: Emitting only a small amount of light.
+ */
+ readonly dim: Chalk;
+
+ /**
+ Modifier: Make text italic. (Not widely supported)
+ */
+ readonly italic: Chalk;
+
+ /**
+ Modifier: Make text underline. (Not widely supported)
+ */
+ readonly underline: Chalk;
+
+ /**
+ Modifier: Inverse background and foreground colors.
+ */
+ readonly inverse: Chalk;
+
+ /**
+ Modifier: Prints the text, but makes it invisible.
+ */
+ readonly hidden: Chalk;
+
+ /**
+ Modifier: Puts a horizontal line through the center of the text. (Not widely supported)
+ */
+ readonly strikethrough: Chalk;
+
+ /**
+ Modifier: Prints the text only when Chalk has a color support level > 0.
+ Can be useful for things that are purely cosmetic.
+ */
+ readonly visible: Chalk;
+
+ readonly black: Chalk;
+ readonly red: Chalk;
+ readonly green: Chalk;
+ readonly yellow: Chalk;
+ readonly blue: Chalk;
+ readonly magenta: Chalk;
+ readonly cyan: Chalk;
+ readonly white: Chalk;
+
+ /*
+ Alias for `blackBright`.
+ */
+ readonly gray: Chalk;
+
+ /*
+ Alias for `blackBright`.
+ */
+ readonly grey: Chalk;
+
+ readonly blackBright: Chalk;
+ readonly redBright: Chalk;
+ readonly greenBright: Chalk;
+ readonly yellowBright: Chalk;
+ readonly blueBright: Chalk;
+ readonly magentaBright: Chalk;
+ readonly cyanBright: Chalk;
+ readonly whiteBright: Chalk;
+
+ readonly bgBlack: Chalk;
+ readonly bgRed: Chalk;
+ readonly bgGreen: Chalk;
+ readonly bgYellow: Chalk;
+ readonly bgBlue: Chalk;
+ readonly bgMagenta: Chalk;
+ readonly bgCyan: Chalk;
+ readonly bgWhite: Chalk;
+
+ /*
+ Alias for `bgBlackBright`.
+ */
+ readonly bgGray: Chalk;
+
+ /*
+ Alias for `bgBlackBright`.
+ */
+ readonly bgGrey: Chalk;
+
+ readonly bgBlackBright: Chalk;
+ readonly bgRedBright: Chalk;
+ readonly bgGreenBright: Chalk;
+ readonly bgYellowBright: Chalk;
+ readonly bgBlueBright: Chalk;
+ readonly bgMagentaBright: Chalk;
+ readonly bgCyanBright: Chalk;
+ readonly bgWhiteBright: Chalk;
+ }
+}
+
+/**
+Main Chalk object that allows to chain styles together.
+Call the last one as a method with a string argument.
+Order doesn't matter, and later styles take precedent in case of a conflict.
+This simply means that `chalk.red.yellow.green` is equivalent to `chalk.green`.
+*/
+declare const chalk: chalk.Chalk & chalk.ChalkFunction & {
+ supportsColor: chalk.ColorSupport | false;
+ Level: chalk.Level;
+ Color: Color;
+ ForegroundColor: ForegroundColor;
+ BackgroundColor: BackgroundColor;
+ Modifiers: Modifiers;
+ stderr: chalk.Chalk & {supportsColor: chalk.ColorSupport | false};
+};
+
+export = chalk;
diff --git a/includes/langcheck/node_modules/chalk/license b/includes/langcheck/node_modules/chalk/license
new file mode 100644
index 0000000..e7af2f7
--- /dev/null
+++ b/includes/langcheck/node_modules/chalk/license
@@ -0,0 +1,9 @@
+MIT License
+
+Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/includes/langcheck/node_modules/chalk/package.json b/includes/langcheck/node_modules/chalk/package.json
new file mode 100644
index 0000000..47c23f2
--- /dev/null
+++ b/includes/langcheck/node_modules/chalk/package.json
@@ -0,0 +1,68 @@
+{
+ "name": "chalk",
+ "version": "4.1.2",
+ "description": "Terminal string styling done right",
+ "license": "MIT",
+ "repository": "chalk/chalk",
+ "funding": "https://github.com/chalk/chalk?sponsor=1",
+ "main": "source",
+ "engines": {
+ "node": ">=10"
+ },
+ "scripts": {
+ "test": "xo && nyc ava && tsd",
+ "bench": "matcha benchmark.js"
+ },
+ "files": [
+ "source",
+ "index.d.ts"
+ ],
+ "keywords": [
+ "color",
+ "colour",
+ "colors",
+ "terminal",
+ "console",
+ "cli",
+ "string",
+ "str",
+ "ansi",
+ "style",
+ "styles",
+ "tty",
+ "formatting",
+ "rgb",
+ "256",
+ "shell",
+ "xterm",
+ "log",
+ "logging",
+ "command-line",
+ "text"
+ ],
+ "dependencies": {
+ "ansi-styles": "^4.1.0",
+ "supports-color": "^7.1.0"
+ },
+ "devDependencies": {
+ "ava": "^2.4.0",
+ "coveralls": "^3.0.7",
+ "execa": "^4.0.0",
+ "import-fresh": "^3.1.0",
+ "matcha": "^0.7.0",
+ "nyc": "^15.0.0",
+ "resolve-from": "^5.0.0",
+ "tsd": "^0.7.4",
+ "xo": "^0.28.2"
+ },
+ "xo": {
+ "rules": {
+ "unicorn/prefer-string-slice": "off",
+ "unicorn/prefer-includes": "off",
+ "@typescript-eslint/member-ordering": "off",
+ "no-redeclare": "off",
+ "unicorn/string-content": "off",
+ "unicorn/better-regex": "off"
+ }
+ }
+}
diff --git a/includes/langcheck/node_modules/chalk/readme.md b/includes/langcheck/node_modules/chalk/readme.md
new file mode 100644
index 0000000..a055d21
--- /dev/null
+++ b/includes/langcheck/node_modules/chalk/readme.md
@@ -0,0 +1,341 @@
+<h1 align="center">
+ <br>
+ <br>
+ <img width="320" src="media/logo.svg" alt="Chalk">
+ <br>
+ <br>
+ <br>
+</h1>
+
+> Terminal string styling done right
+
+[![Build Status](https://travis-ci.org/chalk/chalk.svg?branch=master)](https://travis-ci.org/chalk/chalk) [![Coverage Status](https://coveralls.io/repos/github/chalk/chalk/badge.svg?branch=master)](https://coveralls.io/github/chalk/chalk?branch=master) [![npm dependents](https://badgen.net/npm/dependents/chalk)](https://www.npmjs.com/package/chalk?activeTab=dependents) [![Downloads](https://badgen.net/npm/dt/chalk)](https://www.npmjs.com/package/chalk) [![](https://img.shields.io/badge/unicorn-approved-ff69b4.svg)](https://www.youtube.com/watch?v=9auOCbH5Ns4) [![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/xojs/xo) ![TypeScript-ready](https://img.shields.io/npm/types/chalk.svg) [![run on repl.it](https://repl.it/badge/github/chalk/chalk)](https://repl.it/github/chalk/chalk)
+
+<img src="https://cdn.jsdelivr.net/gh/chalk/ansi-styles@8261697c95bf34b6c7767e2cbe9941a851d59385/screenshot.svg" width="900">
+
+<br>
+
+---
+
+<div align="center">
+ <p>
+ <p>
+ <sup>
+ Sindre Sorhus' open source work is supported by the community on <a href="https://github.com/sponsors/sindresorhus">GitHub Sponsors</a> and <a href="https://stakes.social/0x44d871aebF0126Bf646753E2C976Aa7e68A66c15">Dev</a>
+ </sup>
+ </p>
+ <sup>Special thanks to:</sup>
+ <br>
+ <br>
+ <a href="https://standardresume.co/tech">
+ <img src="https://sindresorhus.com/assets/thanks/standard-resume-logo.svg" width="160"/>
+ </a>
+ <br>
+ <br>
+ <a href="https://retool.com/?utm_campaign=sindresorhus">
+ <img src="https://sindresorhus.com/assets/thanks/retool-logo.svg" width="230"/>
+ </a>
+ <br>
+ <br>
+ <a href="https://doppler.com/?utm_campaign=github_repo&utm_medium=referral&utm_content=chalk&utm_source=github">
+ <div>
+ <img src="https://dashboard.doppler.com/imgs/logo-long.svg" width="240" alt="Doppler">
+ </div>
+ <b>All your environment variables, in one place</b>
+ <div>
+ <span>Stop struggling with scattered API keys, hacking together home-brewed tools,</span>
+ <br>
+ <span>and avoiding access controls. Keep your team and servers in sync with Doppler.</span>
+ </div>
+ </a>
+ <br>
+ <a href="https://uibakery.io/?utm_source=chalk&utm_medium=sponsor&utm_campaign=github">
+ <div>
+ <img src="https://sindresorhus.com/assets/thanks/uibakery-logo.jpg" width="270" alt="UI Bakery">
+ </div>
+ </a>
+ </p>
+</div>
+
+---
+
+<br>
+
+## Highlights
+
+- Expressive API
+- Highly performant
+- Ability to nest styles
+- [256/Truecolor color support](#256-and-truecolor-color-support)
+- Auto-detects color support
+- Doesn't extend `String.prototype`
+- Clean and focused
+- Actively maintained
+- [Used by ~50,000 packages](https://www.npmjs.com/browse/depended/chalk) as of January 1, 2020
+
+## Install
+
+```console
+$ npm install chalk
+```
+
+## Usage
+
+```js
+const chalk = require('chalk');
+
+console.log(chalk.blue('Hello world!'));
+```
+
+Chalk comes with an easy to use composable API where you just chain and nest the styles you want.
+
+```js
+const chalk = require('chalk');
+const log = console.log;
+
+// Combine styled and normal strings
+log(chalk.blue('Hello') + ' World' + chalk.red('!'));
+
+// Compose multiple styles using the chainable API
+log(chalk.blue.bgRed.bold('Hello world!'));
+
+// Pass in multiple arguments
+log(chalk.blue('Hello', 'World!', 'Foo', 'bar', 'biz', 'baz'));
+
+// Nest styles
+log(chalk.red('Hello', chalk.underline.bgBlue('world') + '!'));
+
+// Nest styles of the same type even (color, underline, background)
+log(chalk.green(
+ 'I am a green line ' +
+ chalk.blue.underline.bold('with a blue substring') +
+ ' that becomes green again!'
+));
+
+// ES2015 template literal
+log(`
+CPU: ${chalk.red('90%')}
+RAM: ${chalk.green('40%')}
+DISK: ${chalk.yellow('70%')}
+`);
+
+// ES2015 tagged template literal
+log(chalk`
+CPU: {red ${cpu.totalPercent}%}
+RAM: {green ${ram.used / ram.total * 100}%}
+DISK: {rgb(255,131,0) ${disk.used / disk.total * 100}%}
+`);
+
+// Use RGB colors in terminal emulators that support it.
+log(chalk.keyword('orange')('Yay for orange colored text!'));
+log(chalk.rgb(123, 45, 67).underline('Underlined reddish color'));
+log(chalk.hex('#DEADED').bold('Bold gray!'));
+```
+
+Easily define your own themes:
+
+```js
+const chalk = require('chalk');
+
+const error = chalk.bold.red;
+const warning = chalk.keyword('orange');
+
+console.log(error('Error!'));
+console.log(warning('Warning!'));
+```
+
+Take advantage of console.log [string substitution](https://nodejs.org/docs/latest/api/console.html#console_console_log_data_args):
+
+```js
+const name = 'Sindre';
+console.log(chalk.green('Hello %s'), name);
+//=> 'Hello Sindre'
+```
+
+## API
+
+### chalk.`<style>[.<style>...](string, [string...])`
+
+Example: `chalk.red.bold.underline('Hello', 'world');`
+
+Chain [styles](#styles) and call the last one as a method with a string argument. Order doesn't matter, and later styles take precedent in case of a conflict. This simply means that `chalk.red.yellow.green` is equivalent to `chalk.green`.
+
+Multiple arguments will be separated by space.
+
+### chalk.level
+
+Specifies the level of color support.
+
+Color support is automatically detected, but you can override it by setting the `level` property. You should however only do this in your own code as it applies globally to all Chalk consumers.
+
+If you need to change this in a reusable module, create a new instance:
+
+```js
+const ctx = new chalk.Instance({level: 0});
+```
+
+| Level | Description |
+| :---: | :--- |
+| `0` | All colors disabled |
+| `1` | Basic color support (16 colors) |
+| `2` | 256 color support |
+| `3` | Truecolor support (16 million colors) |
+
+### chalk.supportsColor
+
+Detect whether the terminal [supports color](https://github.com/chalk/supports-color). Used internally and handled for you, but exposed for convenience.
+
+Can be overridden by the user with the flags `--color` and `--no-color`. For situations where using `--color` is not possible, use the environment variable `FORCE_COLOR=1` (level 1), `FORCE_COLOR=2` (level 2), or `FORCE_COLOR=3` (level 3) to forcefully enable color, or `FORCE_COLOR=0` to forcefully disable. The use of `FORCE_COLOR` overrides all other color support checks.
+
+Explicit 256/Truecolor mode can be enabled using the `--color=256` and `--color=16m` flags, respectively.
+
+### chalk.stderr and chalk.stderr.supportsColor
+
+`chalk.stderr` contains a separate instance configured with color support detected for `stderr` stream instead of `stdout`. Override rules from `chalk.supportsColor` apply to this too. `chalk.stderr.supportsColor` is exposed for convenience.
+
+## Styles
+
+### Modifiers
+
+- `reset` - Resets the current color chain.
+- `bold` - Make text bold.
+- `dim` - Emitting only a small amount of light.
+- `italic` - Make text italic. *(Not widely supported)*
+- `underline` - Make text underline. *(Not widely supported)*
+- `inverse`- Inverse background and foreground colors.
+- `hidden` - Prints the text, but makes it invisible.
+- `strikethrough` - Puts a horizontal line through the center of the text. *(Not widely supported)*
+- `visible`- Prints the text only when Chalk has a color level > 0. Can be useful for things that are purely cosmetic.
+
+### Colors
+
+- `black`
+- `red`
+- `green`
+- `yellow`
+- `blue`
+- `magenta`
+- `cyan`
+- `white`
+- `blackBright` (alias: `gray`, `grey`)
+- `redBright`
+- `greenBright`
+- `yellowBright`
+- `blueBright`
+- `magentaBright`
+- `cyanBright`
+- `whiteBright`
+
+### Background colors
+
+- `bgBlack`
+- `bgRed`
+- `bgGreen`
+- `bgYellow`
+- `bgBlue`
+- `bgMagenta`
+- `bgCyan`
+- `bgWhite`
+- `bgBlackBright` (alias: `bgGray`, `bgGrey`)
+- `bgRedBright`
+- `bgGreenBright`
+- `bgYellowBright`
+- `bgBlueBright`
+- `bgMagentaBright`
+- `bgCyanBright`
+- `bgWhiteBright`
+
+## Tagged template literal
+
+Chalk can be used as a [tagged template literal](https://exploringjs.com/es6/ch_template-literals.html#_tagged-template-literals).
+
+```js
+const chalk = require('chalk');
+
+const miles = 18;
+const calculateFeet = miles => miles * 5280;
+
+console.log(chalk`
+ There are {bold 5280 feet} in a mile.
+ In {bold ${miles} miles}, there are {green.bold ${calculateFeet(miles)} feet}.
+`);
+```
+
+Blocks are delimited by an opening curly brace (`{`), a style, some content, and a closing curly brace (`}`).
+
+Template styles are chained exactly like normal Chalk styles. The following three statements are equivalent:
+
+```js
+console.log(chalk.bold.rgb(10, 100, 200)('Hello!'));
+console.log(chalk.bold.rgb(10, 100, 200)`Hello!`);
+console.log(chalk`{bold.rgb(10,100,200) Hello!}`);
+```
+
+Note that function styles (`rgb()`, `hsl()`, `keyword()`, etc.) may not contain spaces between parameters.
+
+All interpolated values (`` chalk`${foo}` ``) are converted to strings via the `.toString()` method. All curly braces (`{` and `}`) in interpolated value strings are escaped.
+
+## 256 and Truecolor color support
+
+Chalk supports 256 colors and [Truecolor](https://gist.github.com/XVilka/8346728) (16 million colors) on supported terminal apps.
+
+Colors are downsampled from 16 million RGB values to an ANSI color format that is supported by the terminal emulator (or by specifying `{level: n}` as a Chalk option). For example, Chalk configured to run at level 1 (basic color support) will downsample an RGB value of #FF0000 (red) to 31 (ANSI escape for red).
+
+Examples:
+
+- `chalk.hex('#DEADED').underline('Hello, world!')`
+- `chalk.keyword('orange')('Some orange text')`
+- `chalk.rgb(15, 100, 204).inverse('Hello!')`
+
+Background versions of these models are prefixed with `bg` and the first level of the module capitalized (e.g. `keyword` for foreground colors and `bgKeyword` for background colors).
+
+- `chalk.bgHex('#DEADED').underline('Hello, world!')`
+- `chalk.bgKeyword('orange')('Some orange text')`
+- `chalk.bgRgb(15, 100, 204).inverse('Hello!')`
+
+The following color models can be used:
+
+- [`rgb`](https://en.wikipedia.org/wiki/RGB_color_model) - Example: `chalk.rgb(255, 136, 0).bold('Orange!')`
+- [`hex`](https://en.wikipedia.org/wiki/Web_colors#Hex_triplet) - Example: `chalk.hex('#FF8800').bold('Orange!')`
+- [`keyword`](https://www.w3.org/wiki/CSS/Properties/color/keywords) (CSS keywords) - Example: `chalk.keyword('orange').bold('Orange!')`
+- [`hsl`](https://en.wikipedia.org/wiki/HSL_and_HSV) - Example: `chalk.hsl(32, 100, 50).bold('Orange!')`
+- [`hsv`](https://en.wikipedia.org/wiki/HSL_and_HSV) - Example: `chalk.hsv(32, 100, 100).bold('Orange!')`
+- [`hwb`](https://en.wikipedia.org/wiki/HWB_color_model) - Example: `chalk.hwb(32, 0, 50).bold('Orange!')`
+- [`ansi`](https://en.wikipedia.org/wiki/ANSI_escape_code#3/4_bit) - Example: `chalk.ansi(31).bgAnsi(93)('red on yellowBright')`
+- [`ansi256`](https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit) - Example: `chalk.bgAnsi256(194)('Honeydew, more or less')`
+
+## Windows
+
+If you're on Windows, do yourself a favor and use [Windows Terminal](https://github.com/microsoft/terminal) instead of `cmd.exe`.
+
+## Origin story
+
+[colors.js](https://github.com/Marak/colors.js) used to be the most popular string styling module, but it has serious deficiencies like extending `String.prototype` which causes all kinds of [problems](https://github.com/yeoman/yo/issues/68) and the package is unmaintained. Although there are other packages, they either do too much or not enough. Chalk is a clean and focused alternative.
+
+## chalk for enterprise
+
+Available as part of the Tidelift Subscription.
+
+The maintainers of chalk and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/npm-chalk?utm_source=npm-chalk&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)
+
+## Related
+
+- [chalk-cli](https://github.com/chalk/chalk-cli) - CLI for this module
+- [ansi-styles](https://github.com/chalk/ansi-styles) - ANSI escape codes for styling strings in the terminal
+- [supports-color](https://github.com/chalk/supports-color) - Detect whether a terminal supports color
+- [strip-ansi](https://github.com/chalk/strip-ansi) - Strip ANSI escape codes
+- [strip-ansi-stream](https://github.com/chalk/strip-ansi-stream) - Strip ANSI escape codes from a stream
+- [has-ansi](https://github.com/chalk/has-ansi) - Check if a string has ANSI escape codes
+- [ansi-regex](https://github.com/chalk/ansi-regex) - Regular expression for matching ANSI escape codes
+- [wrap-ansi](https://github.com/chalk/wrap-ansi) - Wordwrap a string with ANSI escape codes
+- [slice-ansi](https://github.com/chalk/slice-ansi) - Slice a string with ANSI escape codes
+- [color-convert](https://github.com/qix-/color-convert) - Converts colors between different models
+- [chalk-animation](https://github.com/bokub/chalk-animation) - Animate strings in the terminal
+- [gradient-string](https://github.com/bokub/gradient-string) - Apply color gradients to strings
+- [chalk-pipe](https://github.com/LitoMore/chalk-pipe) - Create chalk style schemes with simpler style strings
+- [terminal-link](https://github.com/sindresorhus/terminal-link) - Create clickable links in the terminal
+
+## Maintainers
+
+- [Sindre Sorhus](https://github.com/sindresorhus)
+- [Josh Junon](https://github.com/qix-)
diff --git a/includes/langcheck/node_modules/chalk/source/index.js b/includes/langcheck/node_modules/chalk/source/index.js
new file mode 100644
index 0000000..75ec663
--- /dev/null
+++ b/includes/langcheck/node_modules/chalk/source/index.js
@@ -0,0 +1,229 @@
+'use strict';
+const ansiStyles = require('ansi-styles');
+const {stdout: stdoutColor, stderr: stderrColor} = require('supports-color');
+const {
+ stringReplaceAll,
+ stringEncaseCRLFWithFirstIndex
+} = require('./util');
+
+const {isArray} = Array;
+
+// `supportsColor.level` → `ansiStyles.color[name]` mapping
+const levelMapping = [
+ 'ansi',
+ 'ansi',
+ 'ansi256',
+ 'ansi16m'
+];
+
+const styles = Object.create(null);
+
+const applyOptions = (object, options = {}) => {
+ if (options.level && !(Number.isInteger(options.level) && options.level >= 0 && options.level <= 3)) {
+ throw new Error('The `level` option should be an integer from 0 to 3');
+ }
+
+ // Detect level if not set manually
+ const colorLevel = stdoutColor ? stdoutColor.level : 0;
+ object.level = options.level === undefined ? colorLevel : options.level;
+};
+
+class ChalkClass {
+ constructor(options) {
+ // eslint-disable-next-line no-constructor-return
+ return chalkFactory(options);
+ }
+}
+
+const chalkFactory = options => {
+ const chalk = {};
+ applyOptions(chalk, options);
+
+ chalk.template = (...arguments_) => chalkTag(chalk.template, ...arguments_);
+
+ Object.setPrototypeOf(chalk, Chalk.prototype);
+ Object.setPrototypeOf(chalk.template, chalk);
+
+ chalk.template.constructor = () => {
+ throw new Error('`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.');
+ };
+
+ chalk.template.Instance = ChalkClass;
+
+ return chalk.template;
+};
+
+function Chalk(options) {
+ return chalkFactory(options);
+}
+
+for (const [styleName, style] of Object.entries(ansiStyles)) {
+ styles[styleName] = {
+ get() {
+ const builder = createBuilder(this, createStyler(style.open, style.close, this._styler), this._isEmpty);
+ Object.defineProperty(this, styleName, {value: builder});
+ return builder;
+ }
+ };
+}
+
+styles.visible = {
+ get() {
+ const builder = createBuilder(this, this._styler, true);
+ Object.defineProperty(this, 'visible', {value: builder});
+ return builder;
+ }
+};
+
+const usedModels = ['rgb', 'hex', 'keyword', 'hsl', 'hsv', 'hwb', 'ansi', 'ansi256'];
+
+for (const model of usedModels) {
+ styles[model] = {
+ get() {
+ const {level} = this;
+ return function (...arguments_) {
+ const styler = createStyler(ansiStyles.color[levelMapping[level]][model](...arguments_), ansiStyles.color.close, this._styler);
+ return createBuilder(this, styler, this._isEmpty);
+ };
+ }
+ };
+}
+
+for (const model of usedModels) {
+ const bgModel = 'bg' + model[0].toUpperCase() + model.slice(1);
+ styles[bgModel] = {
+ get() {
+ const {level} = this;
+ return function (...arguments_) {
+ const styler = createStyler(ansiStyles.bgColor[levelMapping[level]][model](...arguments_), ansiStyles.bgColor.close, this._styler);
+ return createBuilder(this, styler, this._isEmpty);
+ };
+ }
+ };
+}
+
+const proto = Object.defineProperties(() => {}, {
+ ...styles,
+ level: {
+ enumerable: true,
+ get() {
+ return this._generator.level;
+ },
+ set(level) {
+ this._generator.level = level;
+ }
+ }
+});
+
+const createStyler = (open, close, parent) => {
+ let openAll;
+ let closeAll;
+ if (parent === undefined) {
+ openAll = open;
+ closeAll = close;
+ } else {
+ openAll = parent.openAll + open;
+ closeAll = close + parent.closeAll;
+ }
+
+ return {
+ open,
+ close,
+ openAll,
+ closeAll,
+ parent
+ };
+};
+
+const createBuilder = (self, _styler, _isEmpty) => {
+ const builder = (...arguments_) => {
+ if (isArray(arguments_[0]) && isArray(arguments_[0].raw)) {
+ // Called as a template literal, for example: chalk.red`2 + 3 = {bold ${2+3}}`
+ return applyStyle(builder, chalkTag(builder, ...arguments_));
+ }
+
+ // Single argument is hot path, implicit coercion is faster than anything
+ // eslint-disable-next-line no-implicit-coercion
+ return applyStyle(builder, (arguments_.length === 1) ? ('' + arguments_[0]) : arguments_.join(' '));
+ };
+
+ // We alter the prototype because we must return a function, but there is
+ // no way to create a function with a different prototype
+ Object.setPrototypeOf(builder, proto);
+
+ builder._generator = self;
+ builder._styler = _styler;
+ builder._isEmpty = _isEmpty;
+
+ return builder;
+};
+
+const applyStyle = (self, string) => {
+ if (self.level <= 0 || !string) {
+ return self._isEmpty ? '' : string;
+ }
+
+ let styler = self._styler;
+
+ if (styler === undefined) {
+ return string;
+ }
+
+ const {openAll, closeAll} = styler;
+ if (string.indexOf('\u001B') !== -1) {
+ while (styler !== undefined) {
+ // Replace any instances already present with a re-opening code
+ // otherwise only the part of the string until said closing code
+ // will be colored, and the rest will simply be 'plain'.
+ string = stringReplaceAll(string, styler.close, styler.open);
+
+ styler = styler.parent;
+ }
+ }
+
+ // We can move both next actions out of loop, because remaining actions in loop won't have
+ // any/visible effect on parts we add here. Close the styling before a linebreak and reopen
+ // after next line to fix a bleed issue on macOS: https://github.com/chalk/chalk/pull/92
+ const lfIndex = string.indexOf('\n');
+ if (lfIndex !== -1) {
+ string = stringEncaseCRLFWithFirstIndex(string, closeAll, openAll, lfIndex);
+ }
+
+ return openAll + string + closeAll;
+};
+
+let template;
+const chalkTag = (chalk, ...strings) => {
+ const [firstString] = strings;
+
+ if (!isArray(firstString) || !isArray(firstString.raw)) {
+ // If chalk() was called by itself or with a string,
+ // return the string itself as a string.
+ return strings.join(' ');
+ }
+
+ const arguments_ = strings.slice(1);
+ const parts = [firstString.raw[0]];
+
+ for (let i = 1; i < firstString.length; i++) {
+ parts.push(
+ String(arguments_[i - 1]).replace(/[{}\\]/g, '\\$&'),
+ String(firstString.raw[i])
+ );
+ }
+
+ if (template === undefined) {
+ template = require('./templates');
+ }
+
+ return template(chalk, parts.join(''));
+};
+
+Object.defineProperties(Chalk.prototype, styles);
+
+const chalk = Chalk(); // eslint-disable-line new-cap
+chalk.supportsColor = stdoutColor;
+chalk.stderr = Chalk({level: stderrColor ? stderrColor.level : 0}); // eslint-disable-line new-cap
+chalk.stderr.supportsColor = stderrColor;
+
+module.exports = chalk;
diff --git a/includes/langcheck/node_modules/chalk/source/templates.js b/includes/langcheck/node_modules/chalk/source/templates.js
new file mode 100644
index 0000000..b130949
--- /dev/null
+++ b/includes/langcheck/node_modules/chalk/source/templates.js
@@ -0,0 +1,134 @@
+'use strict';
+const TEMPLATE_REGEX = /(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi;
+const STYLE_REGEX = /(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;
+const STRING_REGEX = /^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;
+const ESCAPE_REGEX = /\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi;
+
+const ESCAPES = new Map([
+ ['n', '\n'],
+ ['r', '\r'],
+ ['t', '\t'],
+ ['b', '\b'],
+ ['f', '\f'],
+ ['v', '\v'],
+ ['0', '\0'],
+ ['\\', '\\'],
+ ['e', '\u001B'],
+ ['a', '\u0007']
+]);
+
+function unescape(c) {
+ const u = c[0] === 'u';
+ const bracket = c[1] === '{';
+
+ if ((u && !bracket && c.length === 5) || (c[0] === 'x' && c.length === 3)) {
+ return String.fromCharCode(parseInt(c.slice(1), 16));
+ }
+
+ if (u && bracket) {
+ return String.fromCodePoint(parseInt(c.slice(2, -1), 16));
+ }
+
+ return ESCAPES.get(c) || c;
+}
+
+function parseArguments(name, arguments_) {
+ const results = [];
+ const chunks = arguments_.trim().split(/\s*,\s*/g);
+ let matches;
+
+ for (const chunk of chunks) {
+ const number = Number(chunk);
+ if (!Number.isNaN(number)) {
+ results.push(number);
+ } else if ((matches = chunk.match(STRING_REGEX))) {
+ results.push(matches[2].replace(ESCAPE_REGEX, (m, escape, character) => escape ? unescape(escape) : character));
+ } else {
+ throw new Error(`Invalid Chalk template style argument: ${chunk} (in style '${name}')`);
+ }
+ }
+
+ return results;
+}
+
+function parseStyle(style) {
+ STYLE_REGEX.lastIndex = 0;
+
+ const results = [];
+ let matches;
+
+ while ((matches = STYLE_REGEX.exec(style)) !== null) {
+ const name = matches[1];
+
+ if (matches[2]) {
+ const args = parseArguments(name, matches[2]);
+ results.push([name].concat(args));
+ } else {
+ results.push([name]);
+ }
+ }
+
+ return results;
+}
+
+function buildStyle(chalk, styles) {
+ const enabled = {};
+
+ for (const layer of styles) {
+ for (const style of layer.styles) {
+ enabled[style[0]] = layer.inverse ? null : style.slice(1);
+ }
+ }
+
+ let current = chalk;
+ for (const [styleName, styles] of Object.entries(enabled)) {
+ if (!Array.isArray(styles)) {
+ continue;
+ }
+
+ if (!(styleName in current)) {
+ throw new Error(`Unknown Chalk style: ${styleName}`);
+ }
+
+ current = styles.length > 0 ? current[styleName](...styles) : current[styleName];
+ }
+
+ return current;
+}
+
+module.exports = (chalk, temporary) => {
+ const styles = [];
+ const chunks = [];
+ let chunk = [];
+
+ // eslint-disable-next-line max-params
+ temporary.replace(TEMPLATE_REGEX, (m, escapeCharacter, inverse, style, close, character) => {
+ if (escapeCharacter) {
+ chunk.push(unescape(escapeCharacter));
+ } else if (style) {
+ const string = chunk.join('');
+ chunk = [];
+ chunks.push(styles.length === 0 ? string : buildStyle(chalk, styles)(string));
+ styles.push({inverse, styles: parseStyle(style)});
+ } else if (close) {
+ if (styles.length === 0) {
+ throw new Error('Found extraneous } in Chalk template literal');
+ }
+
+ chunks.push(buildStyle(chalk, styles)(chunk.join('')));
+ chunk = [];
+ styles.pop();
+ } else {
+ chunk.push(character);
+ }
+ });
+
+ chunks.push(chunk.join(''));
+
+ if (styles.length > 0) {
+ const errMessage = `Chalk template literal is missing ${styles.length} closing bracket${styles.length === 1 ? '' : 's'} (\`}\`)`;
+ throw new Error(errMessage);
+ }
+
+ return chunks.join('');
+};
diff --git a/includes/langcheck/node_modules/chalk/source/util.js b/includes/langcheck/node_modules/chalk/source/util.js
new file mode 100644
index 0000000..ca466fd
--- /dev/null
+++ b/includes/langcheck/node_modules/chalk/source/util.js
@@ -0,0 +1,39 @@
+'use strict';
+
+const stringReplaceAll = (string, substring, replacer) => {
+ let index = string.indexOf(substring);
+ if (index === -1) {
+ return string;
+ }
+
+ const substringLength = substring.length;
+ let endIndex = 0;
+ let returnValue = '';
+ do {
+ returnValue += string.substr(endIndex, index - endIndex) + substring + replacer;
+ endIndex = index + substringLength;
+ index = string.indexOf(substring, endIndex);
+ } while (index !== -1);
+
+ returnValue += string.substr(endIndex);
+ return returnValue;
+};
+
+const stringEncaseCRLFWithFirstIndex = (string, prefix, postfix, index) => {
+ let endIndex = 0;
+ let returnValue = '';
+ do {
+ const gotCR = string[index - 1] === '\r';
+ returnValue += string.substr(endIndex, (gotCR ? index - 1 : index) - endIndex) + prefix + (gotCR ? '\r\n' : '\n') + postfix;
+ endIndex = index + 1;
+ index = string.indexOf('\n', endIndex);
+ } while (index !== -1);
+
+ returnValue += string.substr(endIndex);
+ return returnValue;
+};
+
+module.exports = {
+ stringReplaceAll,
+ stringEncaseCRLFWithFirstIndex
+};
diff --git a/includes/langcheck/node_modules/color-convert/CHANGELOG.md b/includes/langcheck/node_modules/color-convert/CHANGELOG.md
new file mode 100644
index 0000000..0a7bce4
--- /dev/null
+++ b/includes/langcheck/node_modules/color-convert/CHANGELOG.md
@@ -0,0 +1,54 @@
+# 1.0.0 - 2016-01-07
+
+- Removed: unused speed test
+- Added: Automatic routing between previously unsupported conversions
+([#27](https://github.com/Qix-/color-convert/pull/27))
+- Removed: `xxx2xxx()` and `xxx2xxxRaw()` functions
+([#27](https://github.com/Qix-/color-convert/pull/27))
+- Removed: `convert()` class
+([#27](https://github.com/Qix-/color-convert/pull/27))
+- Changed: all functions to lookup dictionary
+([#27](https://github.com/Qix-/color-convert/pull/27))
+- Changed: `ansi` to `ansi256`
+([#27](https://github.com/Qix-/color-convert/pull/27))
+- Fixed: argument grouping for functions requiring only one argument
+([#27](https://github.com/Qix-/color-convert/pull/27))
+
+# 0.6.0 - 2015-07-23
+
+- Added: methods to handle
+[ANSI](https://en.wikipedia.org/wiki/ANSI_escape_code#Colors) 16/256 colors:
+ - rgb2ansi16
+ - rgb2ansi
+ - hsl2ansi16
+ - hsl2ansi
+ - hsv2ansi16
+ - hsv2ansi
+ - hwb2ansi16
+ - hwb2ansi
+ - cmyk2ansi16
+ - cmyk2ansi
+ - keyword2ansi16
+ - keyword2ansi
+ - ansi162rgb
+ - ansi162hsl
+ - ansi162hsv
+ - ansi162hwb
+ - ansi162cmyk
+ - ansi162keyword
+ - ansi2rgb
+ - ansi2hsl
+ - ansi2hsv
+ - ansi2hwb
+ - ansi2cmyk
+ - ansi2keyword
+([#18](https://github.com/harthur/color-convert/pull/18))
+
+# 0.5.3 - 2015-06-02
+
+- Fixed: hsl2hsv does not return `NaN` anymore when using `[0,0,0]`
+([#15](https://github.com/harthur/color-convert/issues/15))
+
+---
+
+Check out commit logs for older releases
diff --git a/includes/langcheck/node_modules/color-convert/LICENSE b/includes/langcheck/node_modules/color-convert/LICENSE
new file mode 100644
index 0000000..5b4c386
--- /dev/null
+++ b/includes/langcheck/node_modules/color-convert/LICENSE
@@ -0,0 +1,21 @@
+Copyright (c) 2011-2016 Heather Arthur <fayearthur@gmail.com>
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
diff --git a/includes/langcheck/node_modules/color-convert/README.md b/includes/langcheck/node_modules/color-convert/README.md
new file mode 100644
index 0000000..d4b08fc
--- /dev/null
+++ b/includes/langcheck/node_modules/color-convert/README.md
@@ -0,0 +1,68 @@
+# color-convert
+
+[![Build Status](https://travis-ci.org/Qix-/color-convert.svg?branch=master)](https://travis-ci.org/Qix-/color-convert)
+
+Color-convert is a color conversion library for JavaScript and node.
+It converts all ways between `rgb`, `hsl`, `hsv`, `hwb`, `cmyk`, `ansi`, `ansi16`, `hex` strings, and CSS `keyword`s (will round to closest):
+
+```js
+var convert = require('color-convert');
+
+convert.rgb.hsl(140, 200, 100); // [96, 48, 59]
+convert.keyword.rgb('blue'); // [0, 0, 255]
+
+var rgbChannels = convert.rgb.channels; // 3
+var cmykChannels = convert.cmyk.channels; // 4
+var ansiChannels = convert.ansi16.channels; // 1
+```
+
+# Install
+
+```console
+$ npm install color-convert
+```
+
+# API
+
+Simply get the property of the _from_ and _to_ conversion that you're looking for.
+
+All functions have a rounded and unrounded variant. By default, return values are rounded. To get the unrounded (raw) results, simply tack on `.raw` to the function.
+
+All 'from' functions have a hidden property called `.channels` that indicates the number of channels the function expects (not including alpha).
+
+```js
+var convert = require('color-convert');
+
+// Hex to LAB
+convert.hex.lab('DEADBF'); // [ 76, 21, -2 ]
+convert.hex.lab.raw('DEADBF'); // [ 75.56213190997677, 20.653827952644754, -2.290532499330533 ]
+
+// RGB to CMYK
+convert.rgb.cmyk(167, 255, 4); // [ 35, 0, 98, 0 ]
+convert.rgb.cmyk.raw(167, 255, 4); // [ 34.509803921568626, 0, 98.43137254901961, 0 ]
+```
+
+### Arrays
+All functions that accept multiple arguments also support passing an array.
+
+Note that this does **not** apply to functions that convert from a color that only requires one value (e.g. `keyword`, `ansi256`, `hex`, etc.)
+
+```js
+var convert = require('color-convert');
+
+convert.rgb.hex(123, 45, 67); // '7B2D43'
+convert.rgb.hex([123, 45, 67]); // '7B2D43'
+```
+
+## Routing
+
+Conversions that don't have an _explicitly_ defined conversion (in [conversions.js](conversions.js)), but can be converted by means of sub-conversions (e.g. XYZ -> **RGB** -> CMYK), are automatically routed together. This allows just about any color model supported by `color-convert` to be converted to any other model, so long as a sub-conversion path exists. This is also true for conversions requiring more than one step in between (e.g. LCH -> **LAB** -> **XYZ** -> **RGB** -> Hex).
+
+Keep in mind that extensive conversions _may_ result in a loss of precision, and exist only to be complete. For a list of "direct" (single-step) conversions, see [conversions.js](conversions.js).
+
+# Contribute
+
+If there is a new model you would like to support, or want to add a direct conversion between two existing models, please send us a pull request.
+
+# License
+Copyright &copy; 2011-2016, Heather Arthur and Josh Junon. Licensed under the [MIT License](LICENSE).
diff --git a/includes/langcheck/node_modules/color-convert/conversions.js b/includes/langcheck/node_modules/color-convert/conversions.js
new file mode 100644
index 0000000..2657f26
--- /dev/null
+++ b/includes/langcheck/node_modules/color-convert/conversions.js
@@ -0,0 +1,839 @@
+/* MIT license */
+/* eslint-disable no-mixed-operators */
+const cssKeywords = require('color-name');
+
+// NOTE: conversions should only return primitive values (i.e. arrays, or
+// values that give correct `typeof` results).
+// do not use box values types (i.e. Number(), String(), etc.)
+
+const reverseKeywords = {};
+for (const key of Object.keys(cssKeywords)) {
+ reverseKeywords[cssKeywords[key]] = key;
+}
+
+const convert = {
+ rgb: {channels: 3, labels: 'rgb'},
+ hsl: {channels: 3, labels: 'hsl'},
+ hsv: {channels: 3, labels: 'hsv'},
+ hwb: {channels: 3, labels: 'hwb'},
+ cmyk: {channels: 4, labels: 'cmyk'},
+ xyz: {channels: 3, labels: 'xyz'},
+ lab: {channels: 3, labels: 'lab'},
+ lch: {channels: 3, labels: 'lch'},
+ hex: {channels: 1, labels: ['hex']},
+ keyword: {channels: 1, labels: ['keyword']},
+ ansi16: {channels: 1, labels: ['ansi16']},
+ ansi256: {channels: 1, labels: ['ansi256']},
+ hcg: {channels: 3, labels: ['h', 'c', 'g']},
+ apple: {channels: 3, labels: ['r16', 'g16', 'b16']},
+ gray: {channels: 1, labels: ['gray']}
+};
+
+module.exports = convert;
+
+// Hide .channels and .labels properties
+for (const model of Object.keys(convert)) {
+ if (!('channels' in convert[model])) {
+ throw new Error('missing channels property: ' + model);
+ }
+
+ if (!('labels' in convert[model])) {
+ throw new Error('missing channel labels property: ' + model);
+ }
+
+ if (convert[model].labels.length !== convert[model].channels) {
+ throw new Error('channel and label counts mismatch: ' + model);
+ }
+
+ const {channels, labels} = convert[model];
+ delete convert[model].channels;
+ delete convert[model].labels;
+ Object.defineProperty(convert[model], 'channels', {value: channels});
+ Object.defineProperty(convert[model], 'labels', {value: labels});
+}
+
+convert.rgb.hsl = function (rgb) {
+ const r = rgb[0] / 255;
+ const g = rgb[1] / 255;
+ const b = rgb[2] / 255;
+ const min = Math.min(r, g, b);
+ const max = Math.max(r, g, b);
+ const delta = max - min;
+ let h;
+ let s;
+
+ if (max === min) {
+ h = 0;
+ } else if (r === max) {
+ h = (g - b) / delta;
+ } else if (g === max) {
+ h = 2 + (b - r) / delta;
+ } else if (b === max) {
+ h = 4 + (r - g) / delta;
+ }
+
+ h = Math.min(h * 60, 360);
+
+ if (h < 0) {
+ h += 360;
+ }
+
+ const l = (min + max) / 2;
+
+ if (max === min) {
+ s = 0;
+ } else if (l <= 0.5) {
+ s = delta / (max + min);
+ } else {
+ s = delta / (2 - max - min);
+ }
+
+ return [h, s * 100, l * 100];
+};
+
+convert.rgb.hsv = function (rgb) {
+ let rdif;
+ let gdif;
+ let bdif;
+ let h;
+ let s;
+
+ const r = rgb[0] / 255;
+ const g = rgb[1] / 255;
+ const b = rgb[2] / 255;
+ const v = Math.max(r, g, b);
+ const diff = v - Math.min(r, g, b);
+ const diffc = function (c) {
+ return (v - c) / 6 / diff + 1 / 2;
+ };
+
+ if (diff === 0) {
+ h = 0;
+ s = 0;
+ } else {
+ s = diff / v;
+ rdif = diffc(r);
+ gdif = diffc(g);
+ bdif = diffc(b);
+
+ if (r === v) {
+ h = bdif - gdif;
+ } else if (g === v) {
+ h = (1 / 3) + rdif - bdif;
+ } else if (b === v) {
+ h = (2 / 3) + gdif - rdif;
+ }
+
+ if (h < 0) {
+ h += 1;
+ } else if (h > 1) {
+ h -= 1;
+ }
+ }
+
+ return [
+ h * 360,
+ s * 100,
+ v * 100
+ ];
+};
+
+convert.rgb.hwb = function (rgb) {
+ const r = rgb[0];
+ const g = rgb[1];
+ let b = rgb[2];
+ const h = convert.rgb.hsl(rgb)[0];
+ const w = 1 / 255 * Math.min(r, Math.min(g, b));
+
+ b = 1 - 1 / 255 * Math.max(r, Math.max(g, b));
+
+ return [h, w * 100, b * 100];
+};
+
+convert.rgb.cmyk = function (rgb) {
+ const r = rgb[0] / 255;
+ const g = rgb[1] / 255;
+ const b = rgb[2] / 255;
+
+ const k = Math.min(1 - r, 1 - g, 1 - b);
+ const c = (1 - r - k) / (1 - k) || 0;
+ const m = (1 - g - k) / (1 - k) || 0;
+ const y = (1 - b - k) / (1 - k) || 0;
+
+ return [c * 100, m * 100, y * 100, k * 100];
+};
+
+function comparativeDistance(x, y) {
+ /*
+ See https://en.m.wikipedia.org/wiki/Euclidean_distance#Squared_Euclidean_distance
+ */
+ return (
+ ((x[0] - y[0]) ** 2) +
+ ((x[1] - y[1]) ** 2) +
+ ((x[2] - y[2]) ** 2)
+ );
+}
+
+convert.rgb.keyword = function (rgb) {
+ const reversed = reverseKeywords[rgb];
+ if (reversed) {
+ return reversed;
+ }
+
+ let currentClosestDistance = Infinity;
+ let currentClosestKeyword;
+
+ for (const keyword of Object.keys(cssKeywords)) {
+ const value = cssKeywords[keyword];
+
+ // Compute comparative distance
+ const distance = comparativeDistance(rgb, value);
+
+ // Check if its less, if so set as closest
+ if (distance < currentClosestDistance) {
+ currentClosestDistance = distance;
+ currentClosestKeyword = keyword;
+ }
+ }
+
+ return currentClosestKeyword;
+};
+
+convert.keyword.rgb = function (keyword) {
+ return cssKeywords[keyword];
+};
+
+convert.rgb.xyz = function (rgb) {
+ let r = rgb[0] / 255;
+ let g = rgb[1] / 255;
+ let b = rgb[2] / 255;
+
+ // Assume sRGB
+ r = r > 0.04045 ? (((r + 0.055) / 1.055) ** 2.4) : (r / 12.92);
+ g = g > 0.04045 ? (((g + 0.055) / 1.055) ** 2.4) : (g / 12.92);
+ b = b > 0.04045 ? (((b + 0.055) / 1.055) ** 2.4) : (b / 12.92);
+
+ const x = (r * 0.4124) + (g * 0.3576) + (b * 0.1805);
+ const y = (r * 0.2126) + (g * 0.7152) + (b * 0.0722);
+ const z = (r * 0.0193) + (g * 0.1192) + (b * 0.9505);
+
+ return [x * 100, y * 100, z * 100];
+};
+
+convert.rgb.lab = function (rgb) {
+ const xyz = convert.rgb.xyz(rgb);
+ let x = xyz[0];
+ let y = xyz[1];
+ let z = xyz[2];
+
+ x /= 95.047;
+ y /= 100;
+ z /= 108.883;
+
+ x = x > 0.008856 ? (x ** (1 / 3)) : (7.787 * x) + (16 / 116);
+ y = y > 0.008856 ? (y ** (1 / 3)) : (7.787 * y) + (16 / 116);
+ z = z > 0.008856 ? (z ** (1 / 3)) : (7.787 * z) + (16 / 116);
+
+ const l = (116 * y) - 16;
+ const a = 500 * (x - y);
+ const b = 200 * (y - z);
+
+ return [l, a, b];
+};
+
+convert.hsl.rgb = function (hsl) {
+ const h = hsl[0] / 360;
+ const s = hsl[1] / 100;
+ const l = hsl[2] / 100;
+ let t2;
+ let t3;
+ let val;
+
+ if (s === 0) {
+ val = l * 255;
+ return [val, val, val];
+ }
+
+ if (l < 0.5) {
+ t2 = l * (1 + s);
+ } else {
+ t2 = l + s - l * s;
+ }
+
+ const t1 = 2 * l - t2;
+
+ const rgb = [0, 0, 0];
+ for (let i = 0; i < 3; i++) {
+ t3 = h + 1 / 3 * -(i - 1);
+ if (t3 < 0) {
+ t3++;
+ }
+
+ if (t3 > 1) {
+ t3--;
+ }
+
+ if (6 * t3 < 1) {
+ val = t1 + (t2 - t1) * 6 * t3;
+ } else if (2 * t3 < 1) {
+ val = t2;
+ } else if (3 * t3 < 2) {
+ val = t1 + (t2 - t1) * (2 / 3 - t3) * 6;
+ } else {
+ val = t1;
+ }
+
+ rgb[i] = val * 255;
+ }
+
+ return rgb;
+};
+
+convert.hsl.hsv = function (hsl) {
+ const h = hsl[0];
+ let s = hsl[1] / 100;
+ let l = hsl[2] / 100;
+ let smin = s;
+ const lmin = Math.max(l, 0.01);
+
+ l *= 2;
+ s *= (l <= 1) ? l : 2 - l;
+ smin *= lmin <= 1 ? lmin : 2 - lmin;
+ const v = (l + s) / 2;
+ const sv = l === 0 ? (2 * smin) / (lmin + smin) : (2 * s) / (l + s);
+
+ return [h, sv * 100, v * 100];
+};
+
+convert.hsv.rgb = function (hsv) {
+ const h = hsv[0] / 60;
+ const s = hsv[1] / 100;
+ let v = hsv[2] / 100;
+ const hi = Math.floor(h) % 6;
+
+ const f = h - Math.floor(h);
+ const p = 255 * v * (1 - s);
+ const q = 255 * v * (1 - (s * f));
+ const t = 255 * v * (1 - (s * (1 - f)));
+ v *= 255;
+
+ switch (hi) {
+ case 0:
+ return [v, t, p];
+ case 1:
+ return [q, v, p];
+ case 2:
+ return [p, v, t];
+ case 3:
+ return [p, q, v];
+ case 4:
+ return [t, p, v];
+ case 5:
+ return [v, p, q];
+ }
+};
+
+convert.hsv.hsl = function (hsv) {
+ const h = hsv[0];
+ const s = hsv[1] / 100;
+ const v = hsv[2] / 100;
+ const vmin = Math.max(v, 0.01);
+ let sl;
+ let l;
+
+ l = (2 - s) * v;
+ const lmin = (2 - s) * vmin;
+ sl = s * vmin;
+ sl /= (lmin <= 1) ? lmin : 2 - lmin;
+ sl = sl || 0;
+ l /= 2;
+
+ return [h, sl * 100, l * 100];
+};
+
+// http://dev.w3.org/csswg/css-color/#hwb-to-rgb
+convert.hwb.rgb = function (hwb) {
+ const h = hwb[0] / 360;
+ let wh = hwb[1] / 100;
+ let bl = hwb[2] / 100;
+ const ratio = wh + bl;
+ let f;
+
+ // Wh + bl cant be > 1
+ if (ratio > 1) {
+ wh /= ratio;
+ bl /= ratio;
+ }
+
+ const i = Math.floor(6 * h);
+ const v = 1 - bl;
+ f = 6 * h - i;
+
+ if ((i & 0x01) !== 0) {
+ f = 1 - f;
+ }
+
+ const n = wh + f * (v - wh); // Linear interpolation
+
+ let r;
+ let g;
+ let b;
+ /* eslint-disable max-statements-per-line,no-multi-spaces */
+ switch (i) {
+ default:
+ case 6:
+ case 0: r = v; g = n; b = wh; break;
+ case 1: r = n; g = v; b = wh; break;
+ case 2: r = wh; g = v; b = n; break;
+ case 3: r = wh; g = n; b = v; break;
+ case 4: r = n; g = wh; b = v; break;
+ case 5: r = v; g = wh; b = n; break;
+ }
+ /* eslint-enable max-statements-per-line,no-multi-spaces */
+
+ return [r * 255, g * 255, b * 255];
+};
+
+convert.cmyk.rgb = function (cmyk) {
+ const c = cmyk[0] / 100;
+ const m = cmyk[1] / 100;
+ const y = cmyk[2] / 100;
+ const k = cmyk[3] / 100;
+
+ const r = 1 - Math.min(1, c * (1 - k) + k);
+ const g = 1 - Math.min(1, m * (1 - k) + k);
+ const b = 1 - Math.min(1, y * (1 - k) + k);
+
+ return [r * 255, g * 255, b * 255];
+};
+
+convert.xyz.rgb = function (xyz) {
+ const x = xyz[0] / 100;
+ const y = xyz[1] / 100;
+ const z = xyz[2] / 100;
+ let r;
+ let g;
+ let b;
+
+ r = (x * 3.2406) + (y * -1.5372) + (z * -0.4986);
+ g = (x * -0.9689) + (y * 1.8758) + (z * 0.0415);
+ b = (x * 0.0557) + (y * -0.2040) + (z * 1.0570);
+
+ // Assume sRGB
+ r = r > 0.0031308
+ ? ((1.055 * (r ** (1.0 / 2.4))) - 0.055)
+ : r * 12.92;
+
+ g = g > 0.0031308
+ ? ((1.055 * (g ** (1.0 / 2.4))) - 0.055)
+ : g * 12.92;
+
+ b = b > 0.0031308
+ ? ((1.055 * (b ** (1.0 / 2.4))) - 0.055)
+ : b * 12.92;
+
+ r = Math.min(Math.max(0, r), 1);
+ g = Math.min(Math.max(0, g), 1);
+ b = Math.min(Math.max(0, b), 1);
+
+ return [r * 255, g * 255, b * 255];
+};
+
+convert.xyz.lab = function (xyz) {
+ let x = xyz[0];
+ let y = xyz[1];
+ let z = xyz[2];
+
+ x /= 95.047;
+ y /= 100;
+ z /= 108.883;
+
+ x = x > 0.008856 ? (x ** (1 / 3)) : (7.787 * x) + (16 / 116);
+ y = y > 0.008856 ? (y ** (1 / 3)) : (7.787 * y) + (16 / 116);
+ z = z > 0.008856 ? (z ** (1 / 3)) : (7.787 * z) + (16 / 116);
+
+ const l = (116 * y) - 16;
+ const a = 500 * (x - y);
+ const b = 200 * (y - z);
+
+ return [l, a, b];
+};
+
+convert.lab.xyz = function (lab) {
+ const l = lab[0];
+ const a = lab[1];
+ const b = lab[2];
+ let x;
+ let y;
+ let z;
+
+ y = (l + 16) / 116;
+ x = a / 500 + y;
+ z = y - b / 200;
+
+ const y2 = y ** 3;
+ const x2 = x ** 3;
+ const z2 = z ** 3;
+ y = y2 > 0.008856 ? y2 : (y - 16 / 116) / 7.787;
+ x = x2 > 0.008856 ? x2 : (x - 16 / 116) / 7.787;
+ z = z2 > 0.008856 ? z2 : (z - 16 / 116) / 7.787;
+
+ x *= 95.047;
+ y *= 100;
+ z *= 108.883;
+
+ return [x, y, z];
+};
+
+convert.lab.lch = function (lab) {
+ const l = lab[0];
+ const a = lab[1];
+ const b = lab[2];
+ let h;
+
+ const hr = Math.atan2(b, a);
+ h = hr * 360 / 2 / Math.PI;
+
+ if (h < 0) {
+ h += 360;
+ }
+
+ const c = Math.sqrt(a * a + b * b);
+
+ return [l, c, h];
+};
+
+convert.lch.lab = function (lch) {
+ const l = lch[0];
+ const c = lch[1];
+ const h = lch[2];
+
+ const hr = h / 360 * 2 * Math.PI;
+ const a = c * Math.cos(hr);
+ const b = c * Math.sin(hr);
+
+ return [l, a, b];
+};
+
+convert.rgb.ansi16 = function (args, saturation = null) {
+ const [r, g, b] = args;
+ let value = saturation === null ? convert.rgb.hsv(args)[2] : saturation; // Hsv -> ansi16 optimization
+
+ value = Math.round(value / 50);
+
+ if (value === 0) {
+ return 30;
+ }
+
+ let ansi = 30
+ + ((Math.round(b / 255) << 2)
+ | (Math.round(g / 255) << 1)
+ | Math.round(r / 255));
+
+ if (value === 2) {
+ ansi += 60;
+ }
+
+ return ansi;
+};
+
+convert.hsv.ansi16 = function (args) {
+ // Optimization here; we already know the value and don't need to get
+ // it converted for us.
+ return convert.rgb.ansi16(convert.hsv.rgb(args), args[2]);
+};
+
+convert.rgb.ansi256 = function (args) {
+ const r = args[0];
+ const g = args[1];
+ const b = args[2];
+
+ // We use the extended greyscale palette here, with the exception of
+ // black and white. normal palette only has 4 greyscale shades.
+ if (r === g && g === b) {
+ if (r < 8) {
+ return 16;
+ }
+
+ if (r > 248) {
+ return 231;
+ }
+
+ return Math.round(((r - 8) / 247) * 24) + 232;
+ }
+
+ const ansi = 16
+ + (36 * Math.round(r / 255 * 5))
+ + (6 * Math.round(g / 255 * 5))
+ + Math.round(b / 255 * 5);
+
+ return ansi;
+};
+
+convert.ansi16.rgb = function (args) {
+ let color = args % 10;
+
+ // Handle greyscale
+ if (color === 0 || color === 7) {
+ if (args > 50) {
+ color += 3.5;
+ }
+
+ color = color / 10.5 * 255;
+
+ return [color, color, color];
+ }
+
+ const mult = (~~(args > 50) + 1) * 0.5;
+ const r = ((color & 1) * mult) * 255;
+ const g = (((color >> 1) & 1) * mult) * 255;
+ const b = (((color >> 2) & 1) * mult) * 255;
+
+ return [r, g, b];
+};
+
+convert.ansi256.rgb = function (args) {
+ // Handle greyscale
+ if (args >= 232) {
+ const c = (args - 232) * 10 + 8;
+ return [c, c, c];
+ }
+
+ args -= 16;
+
+ let rem;
+ const r = Math.floor(args / 36) / 5 * 255;
+ const g = Math.floor((rem = args % 36) / 6) / 5 * 255;
+ const b = (rem % 6) / 5 * 255;
+
+ return [r, g, b];
+};
+
+convert.rgb.hex = function (args) {
+ const integer = ((Math.round(args[0]) & 0xFF) << 16)
+ + ((Math.round(args[1]) & 0xFF) << 8)
+ + (Math.round(args[2]) & 0xFF);
+
+ const string = integer.toString(16).toUpperCase();
+ return '000000'.substring(string.length) + string;
+};
+
+convert.hex.rgb = function (args) {
+ const match = args.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);
+ if (!match) {
+ return [0, 0, 0];
+ }
+
+ let colorString = match[0];
+
+ if (match[0].length === 3) {
+ colorString = colorString.split('').map(char => {
+ return char + char;
+ }).join('');
+ }
+
+ const integer = parseInt(colorString, 16);
+ const r = (integer >> 16) & 0xFF;
+ const g = (integer >> 8) & 0xFF;
+ const b = integer & 0xFF;
+
+ return [r, g, b];
+};
+
+convert.rgb.hcg = function (rgb) {
+ const r = rgb[0] / 255;
+ const g = rgb[1] / 255;
+ const b = rgb[2] / 255;
+ const max = Math.max(Math.max(r, g), b);
+ const min = Math.min(Math.min(r, g), b);
+ const chroma = (max - min);
+ let grayscale;
+ let hue;
+
+ if (chroma < 1) {
+ grayscale = min / (1 - chroma);
+ } else {
+ grayscale = 0;
+ }
+
+ if (chroma <= 0) {
+ hue = 0;
+ } else
+ if (max === r) {
+ hue = ((g - b) / chroma) % 6;
+ } else
+ if (max === g) {
+ hue = 2 + (b - r) / chroma;
+ } else {
+ hue = 4 + (r - g) / chroma;
+ }
+
+ hue /= 6;
+ hue %= 1;
+
+ return [hue * 360, chroma * 100, grayscale * 100];
+};
+
+convert.hsl.hcg = function (hsl) {
+ const s = hsl[1] / 100;
+ const l = hsl[2] / 100;
+
+ const c = l < 0.5 ? (2.0 * s * l) : (2.0 * s * (1.0 - l));
+
+ let f = 0;
+ if (c < 1.0) {
+ f = (l - 0.5 * c) / (1.0 - c);
+ }
+
+ return [hsl[0], c * 100, f * 100];
+};
+
+convert.hsv.hcg = function (hsv) {
+ const s = hsv[1] / 100;
+ const v = hsv[2] / 100;
+
+ const c = s * v;
+ let f = 0;
+
+ if (c < 1.0) {
+ f = (v - c) / (1 - c);
+ }
+
+ return [hsv[0], c * 100, f * 100];
+};
+
+convert.hcg.rgb = function (hcg) {
+ const h = hcg[0] / 360;
+ const c = hcg[1] / 100;
+ const g = hcg[2] / 100;
+
+ if (c === 0.0) {
+ return [g * 255, g * 255, g * 255];
+ }
+
+ const pure = [0, 0, 0];
+ const hi = (h % 1) * 6;
+ const v = hi % 1;
+ const w = 1 - v;
+ let mg = 0;
+
+ /* eslint-disable max-statements-per-line */
+ switch (Math.floor(hi)) {
+ case 0:
+ pure[0] = 1; pure[1] = v; pure[2] = 0; break;
+ case 1:
+ pure[0] = w; pure[1] = 1; pure[2] = 0; break;
+ case 2:
+ pure[0] = 0; pure[1] = 1; pure[2] = v; break;
+ case 3:
+ pure[0] = 0; pure[1] = w; pure[2] = 1; break;
+ case 4:
+ pure[0] = v; pure[1] = 0; pure[2] = 1; break;
+ default:
+ pure[0] = 1; pure[1] = 0; pure[2] = w;
+ }
+ /* eslint-enable max-statements-per-line */
+
+ mg = (1.0 - c) * g;
+
+ return [
+ (c * pure[0] + mg) * 255,
+ (c * pure[1] + mg) * 255,
+ (c * pure[2] + mg) * 255
+ ];
+};
+
+convert.hcg.hsv = function (hcg) {
+ const c = hcg[1] / 100;
+ const g = hcg[2] / 100;
+
+ const v = c + g * (1.0 - c);
+ let f = 0;
+
+ if (v > 0.0) {
+ f = c / v;
+ }
+
+ return [hcg[0], f * 100, v * 100];
+};
+
+convert.hcg.hsl = function (hcg) {
+ const c = hcg[1] / 100;
+ const g = hcg[2] / 100;
+
+ const l = g * (1.0 - c) + 0.5 * c;
+ let s = 0;
+
+ if (l > 0.0 && l < 0.5) {
+ s = c / (2 * l);
+ } else
+ if (l >= 0.5 && l < 1.0) {
+ s = c / (2 * (1 - l));
+ }
+
+ return [hcg[0], s * 100, l * 100];
+};
+
+convert.hcg.hwb = function (hcg) {
+ const c = hcg[1] / 100;
+ const g = hcg[2] / 100;
+ const v = c + g * (1.0 - c);
+ return [hcg[0], (v - c) * 100, (1 - v) * 100];
+};
+
+convert.hwb.hcg = function (hwb) {
+ const w = hwb[1] / 100;
+ const b = hwb[2] / 100;
+ const v = 1 - b;
+ const c = v - w;
+ let g = 0;
+
+ if (c < 1) {
+ g = (v - c) / (1 - c);
+ }
+
+ return [hwb[0], c * 100, g * 100];
+};
+
+convert.apple.rgb = function (apple) {
+ return [(apple[0] / 65535) * 255, (apple[1] / 65535) * 255, (apple[2] / 65535) * 255];
+};
+
+convert.rgb.apple = function (rgb) {
+ return [(rgb[0] / 255) * 65535, (rgb[1] / 255) * 65535, (rgb[2] / 255) * 65535];
+};
+
+convert.gray.rgb = function (args) {
+ return [args[0] / 100 * 255, args[0] / 100 * 255, args[0] / 100 * 255];
+};
+
+convert.gray.hsl = function (args) {
+ return [0, 0, args[0]];
+};
+
+convert.gray.hsv = convert.gray.hsl;
+
+convert.gray.hwb = function (gray) {
+ return [0, 100, gray[0]];
+};
+
+convert.gray.cmyk = function (gray) {
+ return [0, 0, 0, gray[0]];
+};
+
+convert.gray.lab = function (gray) {
+ return [gray[0], 0, 0];
+};
+
+convert.gray.hex = function (gray) {
+ const val = Math.round(gray[0] / 100 * 255) & 0xFF;
+ const integer = (val << 16) + (val << 8) + val;
+
+ const string = integer.toString(16).toUpperCase();
+ return '000000'.substring(string.length) + string;
+};
+
+convert.rgb.gray = function (rgb) {
+ const val = (rgb[0] + rgb[1] + rgb[2]) / 3;
+ return [val / 255 * 100];
+};
diff --git a/includes/langcheck/node_modules/color-convert/index.js b/includes/langcheck/node_modules/color-convert/index.js
new file mode 100644
index 0000000..b648e57
--- /dev/null
+++ b/includes/langcheck/node_modules/color-convert/index.js
@@ -0,0 +1,81 @@
+const conversions = require('./conversions');
+const route = require('./route');
+
+const convert = {};
+
+const models = Object.keys(conversions);
+
+function wrapRaw(fn) {
+ const wrappedFn = function (...args) {
+ const arg0 = args[0];
+ if (arg0 === undefined || arg0 === null) {
+ return arg0;
+ }
+
+ if (arg0.length > 1) {
+ args = arg0;
+ }
+
+ return fn(args);
+ };
+
+ // Preserve .conversion property if there is one
+ if ('conversion' in fn) {
+ wrappedFn.conversion = fn.conversion;
+ }
+
+ return wrappedFn;
+}
+
+function wrapRounded(fn) {
+ const wrappedFn = function (...args) {
+ const arg0 = args[0];
+
+ if (arg0 === undefined || arg0 === null) {
+ return arg0;
+ }
+
+ if (arg0.length > 1) {
+ args = arg0;
+ }
+
+ const result = fn(args);
+
+ // We're assuming the result is an array here.
+ // see notice in conversions.js; don't use box types
+ // in conversion functions.
+ if (typeof result === 'object') {
+ for (let len = result.length, i = 0; i < len; i++) {
+ result[i] = Math.round(result[i]);
+ }
+ }
+
+ return result;
+ };
+
+ // Preserve .conversion property if there is one
+ if ('conversion' in fn) {
+ wrappedFn.conversion = fn.conversion;
+ }
+
+ return wrappedFn;
+}
+
+models.forEach(fromModel => {
+ convert[fromModel] = {};
+
+ Object.defineProperty(convert[fromModel], 'channels', {value: conversions[fromModel].channels});
+ Object.defineProperty(convert[fromModel], 'labels', {value: conversions[fromModel].labels});
+
+ const routes = route(fromModel);
+ const routeModels = Object.keys(routes);
+
+ routeModels.forEach(toModel => {
+ const fn = routes[toModel];
+
+ convert[fromModel][toModel] = wrapRounded(fn);
+ convert[fromModel][toModel].raw = wrapRaw(fn);
+ });
+});
+
+module.exports = convert;
diff --git a/includes/langcheck/node_modules/color-convert/package.json b/includes/langcheck/node_modules/color-convert/package.json
new file mode 100644
index 0000000..6e48000
--- /dev/null
+++ b/includes/langcheck/node_modules/color-convert/package.json
@@ -0,0 +1,48 @@
+{
+ "name": "color-convert",
+ "description": "Plain color conversion functions",
+ "version": "2.0.1",
+ "author": "Heather Arthur <fayearthur@gmail.com>",
+ "license": "MIT",
+ "repository": "Qix-/color-convert",
+ "scripts": {
+ "pretest": "xo",
+ "test": "node test/basic.js"
+ },
+ "engines": {
+ "node": ">=7.0.0"
+ },
+ "keywords": [
+ "color",
+ "colour",
+ "convert",
+ "converter",
+ "conversion",
+ "rgb",
+ "hsl",
+ "hsv",
+ "hwb",
+ "cmyk",
+ "ansi",
+ "ansi16"
+ ],
+ "files": [
+ "index.js",
+ "conversions.js",
+ "route.js"
+ ],
+ "xo": {
+ "rules": {
+ "default-case": 0,
+ "no-inline-comments": 0,
+ "operator-linebreak": 0
+ }
+ },
+ "devDependencies": {
+ "chalk": "^2.4.2",
+ "xo": "^0.24.0"
+ },
+ "dependencies": {
+ "color-name": "~1.1.4"
+ }
+}
diff --git a/includes/langcheck/node_modules/color-convert/route.js b/includes/langcheck/node_modules/color-convert/route.js
new file mode 100644
index 0000000..1a08521
--- /dev/null
+++ b/includes/langcheck/node_modules/color-convert/route.js
@@ -0,0 +1,97 @@
+const conversions = require('./conversions');
+
+/*
+ This function routes a model to all other models.
+
+ all functions that are routed have a property `.conversion` attached
+ to the returned synthetic function. This property is an array
+ of strings, each with the steps in between the 'from' and 'to'
+ color models (inclusive).
+
+ conversions that are not possible simply are not included.
+*/
+
+function buildGraph() {
+ const graph = {};
+ // https://jsperf.com/object-keys-vs-for-in-with-closure/3
+ const models = Object.keys(conversions);
+
+ for (let len = models.length, i = 0; i < len; i++) {
+ graph[models[i]] = {
+ // http://jsperf.com/1-vs-infinity
+ // micro-opt, but this is simple.
+ distance: -1,
+ parent: null
+ };
+ }
+
+ return graph;
+}
+
+// https://en.wikipedia.org/wiki/Breadth-first_search
+function deriveBFS(fromModel) {
+ const graph = buildGraph();
+ const queue = [fromModel]; // Unshift -> queue -> pop
+
+ graph[fromModel].distance = 0;
+
+ while (queue.length) {
+ const current = queue.pop();
+ const adjacents = Object.keys(conversions[current]);
+
+ for (let len = adjacents.length, i = 0; i < len; i++) {
+ const adjacent = adjacents[i];
+ const node = graph[adjacent];
+
+ if (node.distance === -1) {
+ node.distance = graph[current].distance + 1;
+ node.parent = current;
+ queue.unshift(adjacent);
+ }
+ }
+ }
+
+ return graph;
+}
+
+function link(from, to) {
+ return function (args) {
+ return to(from(args));
+ };
+}
+
+function wrapConversion(toModel, graph) {
+ const path = [graph[toModel].parent, toModel];
+ let fn = conversions[graph[toModel].parent][toModel];
+
+ let cur = graph[toModel].parent;
+ while (graph[cur].parent) {
+ path.unshift(graph[cur].parent);
+ fn = link(conversions[graph[cur].parent][cur], fn);
+ cur = graph[cur].parent;
+ }
+
+ fn.conversion = path;
+ return fn;
+}
+
+module.exports = function (fromModel) {
+ const graph = deriveBFS(fromModel);
+ const conversion = {};
+
+ const models = Object.keys(graph);
+ for (let len = models.length, i = 0; i < len; i++) {
+ const toModel = models[i];
+ const node = graph[toModel];
+
+ if (node.parent === null) {
+ // No possible conversion, or this node is the source model.
+ continue;
+ }
+
+ conversion[toModel] = wrapConversion(toModel, graph);
+ }
+
+ return conversion;
+};
+
diff --git a/includes/langcheck/node_modules/color-name/LICENSE b/includes/langcheck/node_modules/color-name/LICENSE
new file mode 100644
index 0000000..c6b1001
--- /dev/null
+++ b/includes/langcheck/node_modules/color-name/LICENSE
@@ -0,0 +1,8 @@
+The MIT License (MIT)
+Copyright (c) 2015 Dmitry Ivanov
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file
diff --git a/includes/langcheck/node_modules/color-name/README.md b/includes/langcheck/node_modules/color-name/README.md
new file mode 100644
index 0000000..932b979
--- /dev/null
+++ b/includes/langcheck/node_modules/color-name/README.md
@@ -0,0 +1,11 @@
+A JSON with color names and its values. Based on http://dev.w3.org/csswg/css-color/#named-colors.
+
+[![NPM](https://nodei.co/npm/color-name.png?mini=true)](https://nodei.co/npm/color-name/)
+
+
+```js
+var colors = require('color-name');
+colors.red //[255,0,0]
+```
+
+<a href="LICENSE"><img src="https://upload.wikimedia.org/wikipedia/commons/0/0c/MIT_logo.svg" width="120"/></a>
diff --git a/includes/langcheck/node_modules/color-name/index.js b/includes/langcheck/node_modules/color-name/index.js
new file mode 100644
index 0000000..b7c198a
--- /dev/null
+++ b/includes/langcheck/node_modules/color-name/index.js
@@ -0,0 +1,152 @@
+'use strict'
+
+module.exports = {
+ "aliceblue": [240, 248, 255],
+ "antiquewhite": [250, 235, 215],
+ "aqua": [0, 255, 255],
+ "aquamarine": [127, 255, 212],
+ "azure": [240, 255, 255],
+ "beige": [245, 245, 220],
+ "bisque": [255, 228, 196],
+ "black": [0, 0, 0],
+ "blanchedalmond": [255, 235, 205],
+ "blue": [0, 0, 255],
+ "blueviolet": [138, 43, 226],
+ "brown": [165, 42, 42],
+ "burlywood": [222, 184, 135],
+ "cadetblue": [95, 158, 160],
+ "chartreuse": [127, 255, 0],
+ "chocolate": [210, 105, 30],
+ "coral": [255, 127, 80],
+ "cornflowerblue": [100, 149, 237],
+ "cornsilk": [255, 248, 220],
+ "crimson": [220, 20, 60],
+ "cyan": [0, 255, 255],
+ "darkblue": [0, 0, 139],
+ "darkcyan": [0, 139, 139],
+ "darkgoldenrod": [184, 134, 11],
+ "darkgray": [169, 169, 169],
+ "darkgreen": [0, 100, 0],
+ "darkgrey": [169, 169, 169],
+ "darkkhaki": [189, 183, 107],
+ "darkmagenta": [139, 0, 139],
+ "darkolivegreen": [85, 107, 47],
+ "darkorange": [255, 140, 0],
+ "darkorchid": [153, 50, 204],
+ "darkred": [139, 0, 0],
+ "darksalmon": [233, 150, 122],
+ "darkseagreen": [143, 188, 143],
+ "darkslateblue": [72, 61, 139],
+ "darkslategray": [47, 79, 79],
+ "darkslategrey": [47, 79, 79],
+ "darkturquoise": [0, 206, 209],
+ "darkviolet": [148, 0, 211],
+ "deeppink": [255, 20, 147],
+ "deepskyblue": [0, 191, 255],
+ "dimgray": [105, 105, 105],
+ "dimgrey": [105, 105, 105],
+ "dodgerblue": [30, 144, 255],
+ "firebrick": [178, 34, 34],
+ "floralwhite": [255, 250, 240],
+ "forestgreen": [34, 139, 34],
+ "fuchsia": [255, 0, 255],
+ "gainsboro": [220, 220, 220],
+ "ghostwhite": [248, 248, 255],
+ "gold": [255, 215, 0],
+ "goldenrod": [218, 165, 32],
+ "gray": [128, 128, 128],
+ "green": [0, 128, 0],
+ "greenyellow": [173, 255, 47],
+ "grey": [128, 128, 128],
+ "honeydew": [240, 255, 240],
+ "hotpink": [255, 105, 180],
+ "indianred": [205, 92, 92],
+ "indigo": [75, 0, 130],
+ "ivory": [255, 255, 240],
+ "khaki": [240, 230, 140],
+ "lavender": [230, 230, 250],
+ "lavenderblush": [255, 240, 245],
+ "lawngreen": [124, 252, 0],
+ "lemonchiffon": [255, 250, 205],
+ "lightblue": [173, 216, 230],
+ "lightcoral": [240, 128, 128],
+ "lightcyan": [224, 255, 255],
+ "lightgoldenrodyellow": [250, 250, 210],
+ "lightgray": [211, 211, 211],
+ "lightgreen": [144, 238, 144],
+ "lightgrey": [211, 211, 211],
+ "lightpink": [255, 182, 193],
+ "lightsalmon": [255, 160, 122],
+ "lightseagreen": [32, 178, 170],
+ "lightskyblue": [135, 206, 250],
+ "lightslategray": [119, 136, 153],
+ "lightslategrey": [119, 136, 153],
+ "lightsteelblue": [176, 196, 222],
+ "lightyellow": [255, 255, 224],
+ "lime": [0, 255, 0],
+ "limegreen": [50, 205, 50],
+ "linen": [250, 240, 230],
+ "magenta": [255, 0, 255],
+ "maroon": [128, 0, 0],
+ "mediumaquamarine": [102, 205, 170],
+ "mediumblue": [0, 0, 205],
+ "mediumorchid": [186, 85, 211],
+ "mediumpurple": [147, 112, 219],
+ "mediumseagreen": [60, 179, 113],
+ "mediumslateblue": [123, 104, 238],
+ "mediumspringgreen": [0, 250, 154],
+ "mediumturquoise": [72, 209, 204],
+ "mediumvioletred": [199, 21, 133],
+ "midnightblue": [25, 25, 112],
+ "mintcream": [245, 255, 250],
+ "mistyrose": [255, 228, 225],
+ "moccasin": [255, 228, 181],
+ "navajowhite": [255, 222, 173],
+ "navy": [0, 0, 128],
+ "oldlace": [253, 245, 230],
+ "olive": [128, 128, 0],
+ "olivedrab": [107, 142, 35],
+ "orange": [255, 165, 0],
+ "orangered": [255, 69, 0],
+ "orchid": [218, 112, 214],
+ "palegoldenrod": [238, 232, 170],
+ "palegreen": [152, 251, 152],
+ "paleturquoise": [175, 238, 238],
+ "palevioletred": [219, 112, 147],
+ "papayawhip": [255, 239, 213],
+ "peachpuff": [255, 218, 185],
+ "peru": [205, 133, 63],
+ "pink": [255, 192, 203],
+ "plum": [221, 160, 221],
+ "powderblue": [176, 224, 230],
+ "purple": [128, 0, 128],
+ "rebeccapurple": [102, 51, 153],
+ "red": [255, 0, 0],
+ "rosybrown": [188, 143, 143],
+ "royalblue": [65, 105, 225],
+ "saddlebrown": [139, 69, 19],
+ "salmon": [250, 128, 114],
+ "sandybrown": [244, 164, 96],
+ "seagreen": [46, 139, 87],
+ "seashell": [255, 245, 238],
+ "sienna": [160, 82, 45],
+ "silver": [192, 192, 192],
+ "skyblue": [135, 206, 235],
+ "slateblue": [106, 90, 205],
+ "slategray": [112, 128, 144],
+ "slategrey": [112, 128, 144],
+ "snow": [255, 250, 250],
+ "springgreen": [0, 255, 127],
+ "steelblue": [70, 130, 180],
+ "tan": [210, 180, 140],
+ "teal": [0, 128, 128],
+ "thistle": [216, 191, 216],
+ "tomato": [255, 99, 71],
+ "turquoise": [64, 224, 208],
+ "violet": [238, 130, 238],
+ "wheat": [245, 222, 179],
+ "white": [255, 255, 255],
+ "whitesmoke": [245, 245, 245],
+ "yellow": [255, 255, 0],
+ "yellowgreen": [154, 205, 50]
+};
diff --git a/includes/langcheck/node_modules/color-name/package.json b/includes/langcheck/node_modules/color-name/package.json
new file mode 100644
index 0000000..782dd82
--- /dev/null
+++ b/includes/langcheck/node_modules/color-name/package.json
@@ -0,0 +1,28 @@
+{
+ "name": "color-name",
+ "version": "1.1.4",
+ "description": "A list of color names and its values",
+ "main": "index.js",
+ "files": [
+ "index.js"
+ ],
+ "scripts": {
+ "test": "node test.js"
+ },
+ "repository": {
+ "type": "git",
+ "url": "git@github.com:colorjs/color-name.git"
+ },
+ "keywords": [
+ "color-name",
+ "color",
+ "color-keyword",
+ "keyword"
+ ],
+ "author": "DY <dfcreative@gmail.com>",
+ "license": "MIT",
+ "bugs": {
+ "url": "https://github.com/colorjs/color-name/issues"
+ },
+ "homepage": "https://github.com/colorjs/color-name"
+}
diff --git a/includes/langcheck/node_modules/has-flag/index.d.ts b/includes/langcheck/node_modules/has-flag/index.d.ts
new file mode 100644
index 0000000..a0a48c8
--- /dev/null
+++ b/includes/langcheck/node_modules/has-flag/index.d.ts
@@ -0,0 +1,39 @@
+/**
+Check if [`argv`](https://nodejs.org/docs/latest/api/process.html#process_process_argv) has a specific flag.
+
+@param flag - CLI flag to look for. The `--` prefix is optional.
+@param argv - CLI arguments. Default: `process.argv`.
+@returns Whether the flag exists.
+
+@example
+```
+// $ ts-node foo.ts -f --unicorn --foo=bar -- --rainbow
+
+// foo.ts
+import hasFlag = require('has-flag');
+
+hasFlag('unicorn');
+//=> true
+
+hasFlag('--unicorn');
+//=> true
+
+hasFlag('f');
+//=> true
+
+hasFlag('-f');
+//=> true
+
+hasFlag('foo=bar');
+//=> true
+
+hasFlag('foo');
+//=> false
+
+hasFlag('rainbow');
+//=> false
+```
+*/
+declare function hasFlag(flag: string, argv?: string[]): boolean;
+
+export = hasFlag;
diff --git a/includes/langcheck/node_modules/has-flag/index.js b/includes/langcheck/node_modules/has-flag/index.js
new file mode 100644
index 0000000..b6f80b1
--- /dev/null
+++ b/includes/langcheck/node_modules/has-flag/index.js
@@ -0,0 +1,8 @@
+'use strict';
+
+module.exports = (flag, argv = process.argv) => {
+ const prefix = flag.startsWith('-') ? '' : (flag.length === 1 ? '-' : '--');
+ const position = argv.indexOf(prefix + flag);
+ const terminatorPosition = argv.indexOf('--');
+ return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
+};
diff --git a/includes/langcheck/node_modules/has-flag/license b/includes/langcheck/node_modules/has-flag/license
new file mode 100644
index 0000000..e7af2f7
--- /dev/null
+++ b/includes/langcheck/node_modules/has-flag/license
@@ -0,0 +1,9 @@
+MIT License
+
+Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/includes/langcheck/node_modules/has-flag/package.json b/includes/langcheck/node_modules/has-flag/package.json
new file mode 100644
index 0000000..a9cba4b
--- /dev/null
+++ b/includes/langcheck/node_modules/has-flag/package.json
@@ -0,0 +1,46 @@
+{
+ "name": "has-flag",
+ "version": "4.0.0",
+ "description": "Check if argv has a specific flag",
+ "license": "MIT",
+ "repository": "sindresorhus/has-flag",
+ "author": {
+ "name": "Sindre Sorhus",
+ "email": "sindresorhus@gmail.com",
+ "url": "sindresorhus.com"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "scripts": {
+ "test": "xo && ava && tsd"
+ },
+ "files": [
+ "index.js",
+ "index.d.ts"
+ ],
+ "keywords": [
+ "has",
+ "check",
+ "detect",
+ "contains",
+ "find",
+ "flag",
+ "cli",
+ "command-line",
+ "argv",
+ "process",
+ "arg",
+ "args",
+ "argument",
+ "arguments",
+ "getopt",
+ "minimist",
+ "optimist"
+ ],
+ "devDependencies": {
+ "ava": "^1.4.1",
+ "tsd": "^0.7.2",
+ "xo": "^0.24.0"
+ }
+}
diff --git a/includes/langcheck/node_modules/has-flag/readme.md b/includes/langcheck/node_modules/has-flag/readme.md
new file mode 100644
index 0000000..3f72dff
--- /dev/null
+++ b/includes/langcheck/node_modules/has-flag/readme.md
@@ -0,0 +1,89 @@
+# has-flag [![Build Status](https://travis-ci.org/sindresorhus/has-flag.svg?branch=master)](https://travis-ci.org/sindresorhus/has-flag)
+
+> Check if [`argv`](https://nodejs.org/docs/latest/api/process.html#process_process_argv) has a specific flag
+
+Correctly stops looking after an `--` argument terminator.
+
+---
+
+<div align="center">
+ <b>
+ <a href="https://tidelift.com/subscription/pkg/npm-has-flag?utm_source=npm-has-flag&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a>
+ </b>
+ <br>
+ <sub>
+ Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.
+ </sub>
+</div>
+
+---
+
+
+## Install
+
+```
+$ npm install has-flag
+```
+
+
+## Usage
+
+```js
+// foo.js
+const hasFlag = require('has-flag');
+
+hasFlag('unicorn');
+//=> true
+
+hasFlag('--unicorn');
+//=> true
+
+hasFlag('f');
+//=> true
+
+hasFlag('-f');
+//=> true
+
+hasFlag('foo=bar');
+//=> true
+
+hasFlag('foo');
+//=> false
+
+hasFlag('rainbow');
+//=> false
+```
+
+```
+$ node foo.js -f --unicorn --foo=bar -- --rainbow
+```
+
+
+## API
+
+### hasFlag(flag, [argv])
+
+Returns a boolean for whether the flag exists.
+
+#### flag
+
+Type: `string`
+
+CLI flag to look for. The `--` prefix is optional.
+
+#### argv
+
+Type: `string[]`<br>
+Default: `process.argv`
+
+CLI arguments.
+
+
+## Security
+
+To report a security vulnerability, please use the [Tidelift security contact](https://tidelift.com/security). Tidelift will coordinate the fix and disclosure.
+
+
+## License
+
+MIT © [Sindre Sorhus](https://sindresorhus.com)
diff --git a/includes/langcheck/node_modules/kleur/index.js b/includes/langcheck/node_modules/kleur/index.js
new file mode 100644
index 0000000..0bc6ec9
--- /dev/null
+++ b/includes/langcheck/node_modules/kleur/index.js
@@ -0,0 +1,104 @@
+'use strict';
+
+const { FORCE_COLOR, NODE_DISABLE_COLORS, TERM } = process.env;
+
+const $ = {
+ enabled: !NODE_DISABLE_COLORS && TERM !== 'dumb' && FORCE_COLOR !== '0',
+
+ // modifiers
+ reset: init(0, 0),
+ bold: init(1, 22),
+ dim: init(2, 22),
+ italic: init(3, 23),
+ underline: init(4, 24),
+ inverse: init(7, 27),
+ hidden: init(8, 28),
+ strikethrough: init(9, 29),
+
+ // colors
+ black: init(30, 39),
+ red: init(31, 39),
+ green: init(32, 39),
+ yellow: init(33, 39),
+ blue: init(34, 39),
+ magenta: init(35, 39),
+ cyan: init(36, 39),
+ white: init(37, 39),
+ gray: init(90, 39),
+ grey: init(90, 39),
+
+ // background colors
+ bgBlack: init(40, 49),
+ bgRed: init(41, 49),
+ bgGreen: init(42, 49),
+ bgYellow: init(43, 49),
+ bgBlue: init(44, 49),
+ bgMagenta: init(45, 49),
+ bgCyan: init(46, 49),
+ bgWhite: init(47, 49)
+};
+
+function run(arr, str) {
+ let i=0, tmp, beg='', end='';
+ for (; i < arr.length; i++) {
+ tmp = arr[i];
+ beg += tmp.open;
+ end += tmp.close;
+ if (str.includes(tmp.close)) {
+ str = str.replace(tmp.rgx, tmp.close + tmp.open);
+ }
+ }
+ return beg + str + end;
+}
+
+function chain(has, keys) {
+ let ctx = { has, keys };
+
+ ctx.reset = $.reset.bind(ctx);
+ ctx.bold = $.bold.bind(ctx);
+ ctx.dim = $.dim.bind(ctx);
+ ctx.italic = $.italic.bind(ctx);
+ ctx.underline = $.underline.bind(ctx);
+ ctx.inverse = $.inverse.bind(ctx);
+ ctx.hidden = $.hidden.bind(ctx);
+ ctx.strikethrough = $.strikethrough.bind(ctx);
+
+ ctx.black = $.black.bind(ctx);
+ ctx.red = $.red.bind(ctx);
+ ctx.green = $.green.bind(ctx);
+ ctx.yellow = $.yellow.bind(ctx);
+ ctx.blue = $.blue.bind(ctx);
+ ctx.magenta = $.magenta.bind(ctx);
+ ctx.cyan = $.cyan.bind(ctx);
+ ctx.white = $.white.bind(ctx);
+ ctx.gray = $.gray.bind(ctx);
+ ctx.grey = $.grey.bind(ctx);
+
+ ctx.bgBlack = $.bgBlack.bind(ctx);
+ ctx.bgRed = $.bgRed.bind(ctx);
+ ctx.bgGreen = $.bgGreen.bind(ctx);
+ ctx.bgYellow = $.bgYellow.bind(ctx);
+ ctx.bgBlue = $.bgBlue.bind(ctx);
+ ctx.bgMagenta = $.bgMagenta.bind(ctx);
+ ctx.bgCyan = $.bgCyan.bind(ctx);
+ ctx.bgWhite = $.bgWhite.bind(ctx);
+
+ return ctx;
+}
+
+function init(open, close) {
+ let blk = {
+ open: `\x1b[${open}m`,
+ close: `\x1b[${close}m`,
+ rgx: new RegExp(`\\x1b\\[${close}m`, 'g')
+ };
+ return function (txt) {
+ if (this !== void 0 && this.has !== void 0) {
+ this.has.includes(open) || (this.has.push(open),this.keys.push(blk));
+ return txt === void 0 ? this : $.enabled ? run(this.keys, txt+'') : txt+'';
+ }
+ return txt === void 0 ? chain([open], [blk]) : $.enabled ? run([blk], txt+'') : txt+'';
+ };
+}
+
+module.exports = $;
diff --git a/includes/langcheck/node_modules/kleur/kleur.d.ts b/includes/langcheck/node_modules/kleur/kleur.d.ts
new file mode 100644
index 0000000..fdc26ca
--- /dev/null
+++ b/includes/langcheck/node_modules/kleur/kleur.d.ts
@@ -0,0 +1,45 @@
+// Originally by: Rogier Schouten <https://github.com/rogierschouten>
+// Adapted by: Madhav Varshney <https://github.com/madhavarshney>
+declare namespace kleur {
+ interface Color {
+ (x: string | number): string;
+ (): Kleur;
+ }
+
+ interface Kleur {
+ // Colors
+ black: Color;
+ red: Color;
+ green: Color;
+ yellow: Color;
+ blue: Color;
+ magenta: Color;
+ cyan: Color;
+ white: Color;
+ gray: Color;
+ grey: Color;
+
+ // Backgrounds
+ bgBlack: Color;
+ bgRed: Color;
+ bgGreen: Color;
+ bgYellow: Color;
+ bgBlue: Color;
+ bgMagenta: Color;
+ bgCyan: Color;
+ bgWhite: Color;
+
+ // Modifiers
+ reset: Color;
+ bold: Color;
+ dim: Color;
+ italic: Color;
+ underline: Color;
+ inverse: Color;
+ hidden: Color;
+ strikethrough: Color;
+ }
+}
+
+declare let kleur: kleur.Kleur & { enabled: boolean };
+export = kleur;
diff --git a/includes/langcheck/node_modules/kleur/license b/includes/langcheck/node_modules/kleur/license
new file mode 100644
index 0000000..a3f96f8
--- /dev/null
+++ b/includes/langcheck/node_modules/kleur/license
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) Luke Edwards <luke.edwards05@gmail.com> (lukeed.com)
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
diff --git a/includes/langcheck/node_modules/kleur/package.json b/includes/langcheck/node_modules/kleur/package.json
new file mode 100644
index 0000000..a81931e
--- /dev/null
+++ b/includes/langcheck/node_modules/kleur/package.json
@@ -0,0 +1,35 @@
+{
+ "name": "kleur",
+ "version": "3.0.3",
+ "repository": "lukeed/kleur",
+ "description": "The fastest Node.js library for formatting terminal text with ANSI colors~!",
+ "license": "MIT",
+ "files": [
+ "*.js",
+ "*.d.ts"
+ ],
+ "author": {
+ "name": "Luke Edwards",
+ "email": "luke.edwards05@gmail.com",
+ "url": "lukeed.com"
+ },
+ "scripts": {
+ "test": "tape test/*.js | tap-spec"
+ },
+ "engines": {
+ "node": ">=6"
+ },
+ "keywords": [
+ "ansi",
+ "cli",
+ "color",
+ "colors",
+ "console",
+ "terminal"
+ ],
+ "types": "kleur.d.ts",
+ "devDependencies": {
+ "tap-spec": "^5.0.0",
+ "tape": "^4.9.1"
+ }
+}
diff --git a/includes/langcheck/node_modules/kleur/readme.md b/includes/langcheck/node_modules/kleur/readme.md
new file mode 100644
index 0000000..6926f1e
--- /dev/null
+++ b/includes/langcheck/node_modules/kleur/readme.md
@@ -0,0 +1,172 @@
+<div align="center">
+ <img src="shots/logo.png" alt="kleur" height="120" />
+</div>
+
+<div align="center">
+ <a href="https://npmjs.org/package/kleur">
+ <img src="https://badgen.now.sh/npm/v/kleur" alt="version" />
+ </a>
+ <a href="https://travis-ci.org/lukeed/kleur">
+ <img src="https://badgen.now.sh/travis/lukeed/kleur" alt="travis" />
+ </a>
+ <a href="https://npmjs.org/package/kleur">
+ <img src="https://badgen.now.sh/npm/dm/kleur" alt="downloads" />
+ </a>
+ <a href="https://packagephobia.now.sh/result?p=kleur">
+ <img src="https://packagephobia.now.sh/badge?p=kleur" alt="install size" />
+ </a>
+</div>
+
+<div align="center">The fastest Node.js library for formatting terminal text with ANSI colors~!</div>
+
+## Features
+
+* No dependencies
+* Super [lightweight](#load-time) & [performant](#performance)
+* Supports [nested](#nested-methods) & [chained](#chained-methods) colors
+* No `String.prototype` modifications
+* Conditional [color support](#conditional-support)
+* Familiar [API](#api)
+
+---
+
+As of `v3.0` the Chalk-style syntax (magical getter) is no longer used.<br>If you need or require that syntax, consider using [`ansi-colors`](https://github.com/doowb/ansi-colors), which maintains `chalk` parity.
+
+---
+
+
+## Install
+
+```
+$ npm install --save kleur
+```
+
+
+## Usage
+
+```js
+const { red, white, blue, bold } = require('kleur');
+
+// basic usage
+red('red text');
+
+// chained methods
+blue().bold().underline('howdy partner');
+
+// nested methods
+bold(`${ white().bgRed('[ERROR]') } ${ red().italic('Something happened')}`);
+```
+
+### Chained Methods
+
+```js
+console.log(bold().red('this is a bold red message'));
+console.log(bold().italic('this is a bold italicized message'));
+console.log(bold().yellow().bgRed().italic('this is a bold yellow italicized message'));
+console.log(green().bold().underline('this is a bold green underlined message'));
+```
+
+<img src="shots/1.png" width="300" />
+
+### Nested Methods
+
+```js
+const { yellow, red, cyan } = require('kleur');
+
+console.log(yellow(`foo ${red().bold('red')} bar ${cyan('cyan')} baz`));
+console.log(yellow('foo ' + red().bold('red') + ' bar ' + cyan('cyan') + ' baz'));
+```
+
+<img src="shots/2.png" width="300" />
+
+
+### Conditional Support
+
+Toggle color support as needed; `kleur` includes simple auto-detection which may not cover all cases.
+
+```js
+const kleur = require('kleur');
+
+// manually disable
+kleur.enabled = false;
+
+// or use another library to detect support
+kleur.enabled = require('color-support').level;
+
+console.log(kleur.red('I will only be colored red if the terminal supports colors'));
+```
+
+
+## API
+
+Any `kleur` method returns a `String` when invoked with input; otherwise chaining is expected.
+
+> It's up to the developer to pass the output to destinations like `console.log`, `process.stdout.write`, etc.
+
+The methods below are grouped by type for legibility purposes only. They each can be [chained](#chained-methods) or [nested](#nested-methods) with one another.
+
+***Colors:***
+> black &mdash; red &mdash; green &mdash; yellow &mdash; blue &mdash; magenta &mdash; cyan &mdash; white &mdash; gray &mdash; grey
+
+***Backgrounds:***
+> bgBlack &mdash; bgRed &mdash; bgGreen &mdash; bgYellow &mdash; bgBlue &mdash; bgMagenta &mdash; bgCyan &mdash; bgWhite
+
+***Modifiers:***
+> reset &mdash; bold &mdash; dim &mdash; italic* &mdash; underline &mdash; inverse &mdash; hidden &mdash; strikethrough*
+
+<sup>* <em>Not widely supported</em></sup>
+
+
+## Benchmarks
+
+> Using Node v10.13.0
+
+### Load time
+
+```
+chalk :: 14.543ms
+kleur :: 0.474ms
+ansi-colors :: 1.923ms
+```
+
+### Performance
+
+```
+# All Colors
+ ansi-colors x 199,381 ops/sec ±1.04% (96 runs sampled)
+ chalk x 12,107 ops/sec ±2.07% (87 runs sampled)
+ kleur x 715,334 ops/sec ±0.30% (93 runs sampled)
+
+# Stacked colors
+ ansi-colors x 24,494 ops/sec ±1.03% (93 runs sampled)
+ chalk x 2,650 ops/sec ±2.06% (85 runs sampled)
+ kleur x 75,798 ops/sec ±0.19% (97 runs sampled)
+
+# Nested colors
+ ansi-colors x 77,766 ops/sec ±0.32% (94 runs sampled)
+ chalk x 5,596 ops/sec ±1.85% (86 runs sampled)
+ kleur x 137,660 ops/sec ±0.31% (93 runs sampled)
+```
+
+
+## Credits
+
+This project originally forked [Brian Woodward](https://github.com/doowb)'s awesome [`ansi-colors`](https://github.com/doowb/ansi-colors) library.
+
+Beginning with `kleur@3.0`, the Chalk-style syntax (magical getter) has been replaced with function calls per key:
+
+```js
+// Old:
+c.red.bold.underline('old');
+
+// New:
+c.red().bold().underline('new');
+```
+> <sup><em>As I work more with Rust, the newer syntax feels so much better & more natural!</em></sup>
+
+If you prefer the old syntax, you may migrate to `ansi-colors`. Versions below `kleur@3.0` have been deprecated.
+
+
+## License
+
+MIT © [Luke Edwards](https://lukeed.com)
diff --git a/includes/langcheck/node_modules/prompts/dist/dateparts/datepart.js b/includes/langcheck/node_modules/prompts/dist/dateparts/datepart.js
new file mode 100644
index 0000000..b954c5e
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/dist/dateparts/datepart.js
@@ -0,0 +1,39 @@
+'use strict';
+
+class DatePart {
+ constructor({
+ token,
+ date,
+ parts,
+ locales
+ }) {
+ this.token = token;
+ this.date = date || new Date();
+ this.parts = parts || [this];
+ this.locales = locales || {};
+ }
+
+ up() {}
+
+ down() {}
+
+ next() {
+ const currentIdx = this.parts.indexOf(this);
+ return this.parts.find((part, idx) => idx > currentIdx && part instanceof DatePart);
+ }
+
+ setTo(val) {}
+
+ prev() {
+ let parts = [].concat(this.parts).reverse();
+ const currentIdx = parts.indexOf(this);
+ return parts.find((part, idx) => idx > currentIdx && part instanceof DatePart);
+ }
+
+ toString() {
+ return String(this.date);
+ }
+
+}
+
+module.exports = DatePart; \ No newline at end of file
diff --git a/includes/langcheck/node_modules/prompts/dist/dateparts/day.js b/includes/langcheck/node_modules/prompts/dist/dateparts/day.js
new file mode 100644
index 0000000..a525e92
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/dist/dateparts/day.js
@@ -0,0 +1,35 @@
+'use strict';
+
+const DatePart = require('./datepart');
+
+const pos = n => {
+ n = n % 10;
+ return n === 1 ? 'st' : n === 2 ? 'nd' : n === 3 ? 'rd' : 'th';
+};
+
+class Day extends DatePart {
+ constructor(opts = {}) {
+ super(opts);
+ }
+
+ up() {
+ this.date.setDate(this.date.getDate() + 1);
+ }
+
+ down() {
+ this.date.setDate(this.date.getDate() - 1);
+ }
+
+ setTo(val) {
+ this.date.setDate(parseInt(val.substr(-2)));
+ }
+
+ toString() {
+ let date = this.date.getDate();
+ let day = this.date.getDay();
+ return this.token === 'DD' ? String(date).padStart(2, '0') : this.token === 'Do' ? date + pos(date) : this.token === 'd' ? day + 1 : this.token === 'ddd' ? this.locales.weekdaysShort[day] : this.token === 'dddd' ? this.locales.weekdays[day] : date;
+ }
+
+}
+
+module.exports = Day; \ No newline at end of file
diff --git a/includes/langcheck/node_modules/prompts/dist/dateparts/hours.js b/includes/langcheck/node_modules/prompts/dist/dateparts/hours.js
new file mode 100644
index 0000000..7743632
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/dist/dateparts/hours.js
@@ -0,0 +1,30 @@
+'use strict';
+
+const DatePart = require('./datepart');
+
+class Hours extends DatePart {
+ constructor(opts = {}) {
+ super(opts);
+ }
+
+ up() {
+ this.date.setHours(this.date.getHours() + 1);
+ }
+
+ down() {
+ this.date.setHours(this.date.getHours() - 1);
+ }
+
+ setTo(val) {
+ this.date.setHours(parseInt(val.substr(-2)));
+ }
+
+ toString() {
+ let hours = this.date.getHours();
+ if (/h/.test(this.token)) hours = hours % 12 || 12;
+ return this.token.length > 1 ? String(hours).padStart(2, '0') : hours;
+ }
+
+}
+
+module.exports = Hours; \ No newline at end of file
diff --git a/includes/langcheck/node_modules/prompts/dist/dateparts/index.js b/includes/langcheck/node_modules/prompts/dist/dateparts/index.js
new file mode 100644
index 0000000..754516e
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/dist/dateparts/index.js
@@ -0,0 +1,13 @@
+'use strict';
+
+module.exports = {
+ DatePart: require('./datepart'),
+ Meridiem: require('./meridiem'),
+ Day: require('./day'),
+ Hours: require('./hours'),
+ Milliseconds: require('./milliseconds'),
+ Minutes: require('./minutes'),
+ Month: require('./month'),
+ Seconds: require('./seconds'),
+ Year: require('./year')
+}; \ No newline at end of file
diff --git a/includes/langcheck/node_modules/prompts/dist/dateparts/meridiem.js b/includes/langcheck/node_modules/prompts/dist/dateparts/meridiem.js
new file mode 100644
index 0000000..5bc8dd7
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/dist/dateparts/meridiem.js
@@ -0,0 +1,25 @@
+'use strict';
+
+const DatePart = require('./datepart');
+
+class Meridiem extends DatePart {
+ constructor(opts = {}) {
+ super(opts);
+ }
+
+ up() {
+ this.date.setHours((this.date.getHours() + 12) % 24);
+ }
+
+ down() {
+ this.up();
+ }
+
+ toString() {
+ let meridiem = this.date.getHours() > 12 ? 'pm' : 'am';
+ return /\A/.test(this.token) ? meridiem.toUpperCase() : meridiem;
+ }
+
+}
+
+module.exports = Meridiem; \ No newline at end of file
diff --git a/includes/langcheck/node_modules/prompts/dist/dateparts/milliseconds.js b/includes/langcheck/node_modules/prompts/dist/dateparts/milliseconds.js
new file mode 100644
index 0000000..3440e3a
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/dist/dateparts/milliseconds.js
@@ -0,0 +1,28 @@
+'use strict';
+
+const DatePart = require('./datepart');
+
+class Milliseconds extends DatePart {
+ constructor(opts = {}) {
+ super(opts);
+ }
+
+ up() {
+ this.date.setMilliseconds(this.date.getMilliseconds() + 1);
+ }
+
+ down() {
+ this.date.setMilliseconds(this.date.getMilliseconds() - 1);
+ }
+
+ setTo(val) {
+ this.date.setMilliseconds(parseInt(val.substr(-this.token.length)));
+ }
+
+ toString() {
+ return String(this.date.getMilliseconds()).padStart(4, '0').substr(0, this.token.length);
+ }
+
+}
+
+module.exports = Milliseconds; \ No newline at end of file
diff --git a/includes/langcheck/node_modules/prompts/dist/dateparts/minutes.js b/includes/langcheck/node_modules/prompts/dist/dateparts/minutes.js
new file mode 100644
index 0000000..2b8ef1f
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/dist/dateparts/minutes.js
@@ -0,0 +1,29 @@
+'use strict';
+
+const DatePart = require('./datepart');
+
+class Minutes extends DatePart {
+ constructor(opts = {}) {
+ super(opts);
+ }
+
+ up() {
+ this.date.setMinutes(this.date.getMinutes() + 1);
+ }
+
+ down() {
+ this.date.setMinutes(this.date.getMinutes() - 1);
+ }
+
+ setTo(val) {
+ this.date.setMinutes(parseInt(val.substr(-2)));
+ }
+
+ toString() {
+ let m = this.date.getMinutes();
+ return this.token.length > 1 ? String(m).padStart(2, '0') : m;
+ }
+
+}
+
+module.exports = Minutes; \ No newline at end of file
diff --git a/includes/langcheck/node_modules/prompts/dist/dateparts/month.js b/includes/langcheck/node_modules/prompts/dist/dateparts/month.js
new file mode 100644
index 0000000..f9d4e13
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/dist/dateparts/month.js
@@ -0,0 +1,31 @@
+'use strict';
+
+const DatePart = require('./datepart');
+
+class Month extends DatePart {
+ constructor(opts = {}) {
+ super(opts);
+ }
+
+ up() {
+ this.date.setMonth(this.date.getMonth() + 1);
+ }
+
+ down() {
+ this.date.setMonth(this.date.getMonth() - 1);
+ }
+
+ setTo(val) {
+ val = parseInt(val.substr(-2)) - 1;
+ this.date.setMonth(val < 0 ? 0 : val);
+ }
+
+ toString() {
+ let month = this.date.getMonth();
+ let tl = this.token.length;
+ return tl === 2 ? String(month + 1).padStart(2, '0') : tl === 3 ? this.locales.monthsShort[month] : tl === 4 ? this.locales.months[month] : String(month + 1);
+ }
+
+}
+
+module.exports = Month; \ No newline at end of file
diff --git a/includes/langcheck/node_modules/prompts/dist/dateparts/seconds.js b/includes/langcheck/node_modules/prompts/dist/dateparts/seconds.js
new file mode 100644
index 0000000..e16f030
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/dist/dateparts/seconds.js
@@ -0,0 +1,29 @@
+'use strict';
+
+const DatePart = require('./datepart');
+
+class Seconds extends DatePart {
+ constructor(opts = {}) {
+ super(opts);
+ }
+
+ up() {
+ this.date.setSeconds(this.date.getSeconds() + 1);
+ }
+
+ down() {
+ this.date.setSeconds(this.date.getSeconds() - 1);
+ }
+
+ setTo(val) {
+ this.date.setSeconds(parseInt(val.substr(-2)));
+ }
+
+ toString() {
+ let s = this.date.getSeconds();
+ return this.token.length > 1 ? String(s).padStart(2, '0') : s;
+ }
+
+}
+
+module.exports = Seconds; \ No newline at end of file
diff --git a/includes/langcheck/node_modules/prompts/dist/dateparts/year.js b/includes/langcheck/node_modules/prompts/dist/dateparts/year.js
new file mode 100644
index 0000000..cd62677
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/dist/dateparts/year.js
@@ -0,0 +1,29 @@
+'use strict';
+
+const DatePart = require('./datepart');
+
+class Year extends DatePart {
+ constructor(opts = {}) {
+ super(opts);
+ }
+
+ up() {
+ this.date.setFullYear(this.date.getFullYear() + 1);
+ }
+
+ down() {
+ this.date.setFullYear(this.date.getFullYear() - 1);
+ }
+
+ setTo(val) {
+ this.date.setFullYear(val.substr(-4));
+ }
+
+ toString() {
+ let year = String(this.date.getFullYear()).padStart(4, '0');
+ return this.token.length === 2 ? year.substr(-2) : year;
+ }
+
+}
+
+module.exports = Year; \ No newline at end of file
diff --git a/includes/langcheck/node_modules/prompts/dist/elements/autocomplete.js b/includes/langcheck/node_modules/prompts/dist/elements/autocomplete.js
new file mode 100644
index 0000000..60e41bc
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/dist/elements/autocomplete.js
@@ -0,0 +1,285 @@
+'use strict';
+
+function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
+
+function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
+
+const color = require('kleur');
+
+const Prompt = require('./prompt');
+
+const _require = require('sisteransi'),
+ erase = _require.erase,
+ cursor = _require.cursor;
+
+const _require2 = require('../util'),
+ style = _require2.style,
+ clear = _require2.clear,
+ figures = _require2.figures,
+ wrap = _require2.wrap,
+ entriesToDisplay = _require2.entriesToDisplay;
+
+const getVal = (arr, i) => arr[i] && (arr[i].value || arr[i].title || arr[i]);
+
+const getTitle = (arr, i) => arr[i] && (arr[i].title || arr[i].value || arr[i]);
+
+const getIndex = (arr, valOrTitle) => {
+ const index = arr.findIndex(el => el.value === valOrTitle || el.title === valOrTitle);
+ return index > -1 ? index : undefined;
+};
+/**
+ * TextPrompt Base Element
+ * @param {Object} opts Options
+ * @param {String} opts.message Message
+ * @param {Array} opts.choices Array of auto-complete choices objects
+ * @param {Function} [opts.suggest] Filter function. Defaults to sort by title
+ * @param {Number} [opts.limit=10] Max number of results to show
+ * @param {Number} [opts.cursor=0] Cursor start position
+ * @param {String} [opts.style='default'] Render style
+ * @param {String} [opts.fallback] Fallback message - initial to default value
+ * @param {String} [opts.initial] Index of the default value
+ * @param {Boolean} [opts.clearFirst] The first ESCAPE keypress will clear the input
+ * @param {Stream} [opts.stdin] The Readable stream to listen to
+ * @param {Stream} [opts.stdout] The Writable stream to write readline data to
+ * @param {String} [opts.noMatches] The no matches found label
+ */
+
+
+class AutocompletePrompt extends Prompt {
+ constructor(opts = {}) {
+ super(opts);
+ this.msg = opts.message;
+ this.suggest = opts.suggest;
+ this.choices = opts.choices;
+ this.initial = typeof opts.initial === 'number' ? opts.initial : getIndex(opts.choices, opts.initial);
+ this.select = this.initial || opts.cursor || 0;
+ this.i18n = {
+ noMatches: opts.noMatches || 'no matches found'
+ };
+ this.fallback = opts.fallback || this.initial;
+ this.clearFirst = opts.clearFirst || false;
+ this.suggestions = [];
+ this.input = '';
+ this.limit = opts.limit || 10;
+ this.cursor = 0;
+ this.transform = style.render(opts.style);
+ this.scale = this.transform.scale;
+ this.render = this.render.bind(this);
+ this.complete = this.complete.bind(this);
+ this.clear = clear('', this.out.columns);
+ this.complete(this.render);
+ this.render();
+ }
+
+ set fallback(fb) {
+ this._fb = Number.isSafeInteger(parseInt(fb)) ? parseInt(fb) : fb;
+ }
+
+ get fallback() {
+ let choice;
+ if (typeof this._fb === 'number') choice = this.choices[this._fb];else if (typeof this._fb === 'string') choice = {
+ title: this._fb
+ };
+ return choice || this._fb || {
+ title: this.i18n.noMatches
+ };
+ }
+
+ moveSelect(i) {
+ this.select = i;
+ if (this.suggestions.length > 0) this.value = getVal(this.suggestions, i);else this.value = this.fallback.value;
+ this.fire();
+ }
+
+ complete(cb) {
+ var _this = this;
+
+ return _asyncToGenerator(function* () {
+ const p = _this.completing = _this.suggest(_this.input, _this.choices);
+
+ const suggestions = yield p;
+ if (_this.completing !== p) return;
+ _this.suggestions = suggestions.map((s, i, arr) => ({
+ title: getTitle(arr, i),
+ value: getVal(arr, i),
+ description: s.description
+ }));
+ _this.completing = false;
+ const l = Math.max(suggestions.length - 1, 0);
+
+ _this.moveSelect(Math.min(l, _this.select));
+
+ cb && cb();
+ })();
+ }
+
+ reset() {
+ this.input = '';
+ this.complete(() => {
+ this.moveSelect(this.initial !== void 0 ? this.initial : 0);
+ this.render();
+ });
+ this.render();
+ }
+
+ exit() {
+ if (this.clearFirst && this.input.length > 0) {
+ this.reset();
+ } else {
+ this.done = this.exited = true;
+ this.aborted = false;
+ this.fire();
+ this.render();
+ this.out.write('\n');
+ this.close();
+ }
+ }
+
+ abort() {
+ this.done = this.aborted = true;
+ this.exited = false;
+ this.fire();
+ this.render();
+ this.out.write('\n');
+ this.close();
+ }
+
+ submit() {
+ this.done = true;
+ this.aborted = this.exited = false;
+ this.fire();
+ this.render();
+ this.out.write('\n');
+ this.close();
+ }
+
+ _(c, key) {
+ let s1 = this.input.slice(0, this.cursor);
+ let s2 = this.input.slice(this.cursor);
+ this.input = `${s1}${c}${s2}`;
+ this.cursor = s1.length + 1;
+ this.complete(this.render);
+ this.render();
+ }
+
+ delete() {
+ if (this.cursor === 0) return this.bell();
+ let s1 = this.input.slice(0, this.cursor - 1);
+ let s2 = this.input.slice(this.cursor);
+ this.input = `${s1}${s2}`;
+ this.complete(this.render);
+ this.cursor = this.cursor - 1;
+ this.render();
+ }
+
+ deleteForward() {
+ if (this.cursor * this.scale >= this.rendered.length) return this.bell();
+ let s1 = this.input.slice(0, this.cursor);
+ let s2 = this.input.slice(this.cursor + 1);
+ this.input = `${s1}${s2}`;
+ this.complete(this.render);
+ this.render();
+ }
+
+ first() {
+ this.moveSelect(0);
+ this.render();
+ }
+
+ last() {
+ this.moveSelect(this.suggestions.length - 1);
+ this.render();
+ }
+
+ up() {
+ if (this.select === 0) {
+ this.moveSelect(this.suggestions.length - 1);
+ } else {
+ this.moveSelect(this.select - 1);
+ }
+
+ this.render();
+ }
+
+ down() {
+ if (this.select === this.suggestions.length - 1) {
+ this.moveSelect(0);
+ } else {
+ this.moveSelect(this.select + 1);
+ }
+
+ this.render();
+ }
+
+ next() {
+ if (this.select === this.suggestions.length - 1) {
+ this.moveSelect(0);
+ } else this.moveSelect(this.select + 1);
+
+ this.render();
+ }
+
+ nextPage() {
+ this.moveSelect(Math.min(this.select + this.limit, this.suggestions.length - 1));
+ this.render();
+ }
+
+ prevPage() {
+ this.moveSelect(Math.max(this.select - this.limit, 0));
+ this.render();
+ }
+
+ left() {
+ if (this.cursor <= 0) return this.bell();
+ this.cursor = this.cursor - 1;
+ this.render();
+ }
+
+ right() {
+ if (this.cursor * this.scale >= this.rendered.length) return this.bell();
+ this.cursor = this.cursor + 1;
+ this.render();
+ }
+
+ renderOption(v, hovered, isStart, isEnd) {
+ let desc;
+ let prefix = isStart ? figures.arrowUp : isEnd ? figures.arrowDown : ' ';
+ let title = hovered ? color.cyan().underline(v.title) : v.title;
+ prefix = (hovered ? color.cyan(figures.pointer) + ' ' : ' ') + prefix;
+
+ if (v.description) {
+ desc = ` - ${v.description}`;
+
+ if (prefix.length + title.length + desc.length >= this.out.columns || v.description.split(/\r?\n/).length > 1) {
+ desc = '\n' + wrap(v.description, {
+ margin: 3,
+ width: this.out.columns
+ });
+ }
+ }
+
+ return prefix + ' ' + title + color.gray(desc || '');
+ }
+
+ render() {
+ if (this.closed) return;
+ if (this.firstRender) this.out.write(cursor.hide);else this.out.write(clear(this.outputText, this.out.columns));
+ super.render();
+
+ let _entriesToDisplay = entriesToDisplay(this.select, this.choices.length, this.limit),
+ startIndex = _entriesToDisplay.startIndex,
+ endIndex = _entriesToDisplay.endIndex;
+
+ this.outputText = [style.symbol(this.done, this.aborted, this.exited), color.bold(this.msg), style.delimiter(this.completing), this.done && this.suggestions[this.select] ? this.suggestions[this.select].title : this.rendered = this.transform.render(this.input)].join(' ');
+
+ if (!this.done) {
+ const suggestions = this.suggestions.slice(startIndex, endIndex).map((item, i) => this.renderOption(item, this.select === i + startIndex, i === 0 && startIndex > 0, i + startIndex === endIndex - 1 && endIndex < this.choices.length)).join('\n');
+ this.outputText += `\n` + (suggestions || color.gray(this.fallback.title));
+ }
+
+ this.out.write(erase.line + cursor.to(0) + this.outputText);
+ }
+
+}
+
+module.exports = AutocompletePrompt; \ No newline at end of file
diff --git a/includes/langcheck/node_modules/prompts/dist/elements/autocompleteMultiselect.js b/includes/langcheck/node_modules/prompts/dist/elements/autocompleteMultiselect.js
new file mode 100644
index 0000000..ac4af0d
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/dist/elements/autocompleteMultiselect.js
@@ -0,0 +1,201 @@
+'use strict';
+
+const color = require('kleur');
+
+const _require = require('sisteransi'),
+ cursor = _require.cursor;
+
+const MultiselectPrompt = require('./multiselect');
+
+const _require2 = require('../util'),
+ clear = _require2.clear,
+ style = _require2.style,
+ figures = _require2.figures;
+/**
+ * MultiselectPrompt Base Element
+ * @param {Object} opts Options
+ * @param {String} opts.message Message
+ * @param {Array} opts.choices Array of choice objects
+ * @param {String} [opts.hint] Hint to display
+ * @param {String} [opts.warn] Hint shown for disabled choices
+ * @param {Number} [opts.max] Max choices
+ * @param {Number} [opts.cursor=0] Cursor start position
+ * @param {Stream} [opts.stdin] The Readable stream to listen to
+ * @param {Stream} [opts.stdout] The Writable stream to write readline data to
+ */
+
+
+class AutocompleteMultiselectPrompt extends MultiselectPrompt {
+ constructor(opts = {}) {
+ opts.overrideRender = true;
+ super(opts);
+ this.inputValue = '';
+ this.clear = clear('', this.out.columns);
+ this.filteredOptions = this.value;
+ this.render();
+ }
+
+ last() {
+ this.cursor = this.filteredOptions.length - 1;
+ this.render();
+ }
+
+ next() {
+ this.cursor = (this.cursor + 1) % this.filteredOptions.length;
+ this.render();
+ }
+
+ up() {
+ if (this.cursor === 0) {
+ this.cursor = this.filteredOptions.length - 1;
+ } else {
+ this.cursor--;
+ }
+
+ this.render();
+ }
+
+ down() {
+ if (this.cursor === this.filteredOptions.length - 1) {
+ this.cursor = 0;
+ } else {
+ this.cursor++;
+ }
+
+ this.render();
+ }
+
+ left() {
+ this.filteredOptions[this.cursor].selected = false;
+ this.render();
+ }
+
+ right() {
+ if (this.value.filter(e => e.selected).length >= this.maxChoices) return this.bell();
+ this.filteredOptions[this.cursor].selected = true;
+ this.render();
+ }
+
+ delete() {
+ if (this.inputValue.length) {
+ this.inputValue = this.inputValue.substr(0, this.inputValue.length - 1);
+ this.updateFilteredOptions();
+ }
+ }
+
+ updateFilteredOptions() {
+ const currentHighlight = this.filteredOptions[this.cursor];
+ this.filteredOptions = this.value.filter(v => {
+ if (this.inputValue) {
+ if (typeof v.title === 'string') {
+ if (v.title.toLowerCase().includes(this.inputValue.toLowerCase())) {
+ return true;
+ }
+ }
+
+ if (typeof v.value === 'string') {
+ if (v.value.toLowerCase().includes(this.inputValue.toLowerCase())) {
+ return true;
+ }
+ }
+
+ return false;
+ }
+
+ return true;
+ });
+ const newHighlightIndex = this.filteredOptions.findIndex(v => v === currentHighlight);
+ this.cursor = newHighlightIndex < 0 ? 0 : newHighlightIndex;
+ this.render();
+ }
+
+ handleSpaceToggle() {
+ const v = this.filteredOptions[this.cursor];
+
+ if (v.selected) {
+ v.selected = false;
+ this.render();
+ } else if (v.disabled || this.value.filter(e => e.selected).length >= this.maxChoices) {
+ return this.bell();
+ } else {
+ v.selected = true;
+ this.render();
+ }
+ }
+
+ handleInputChange(c) {
+ this.inputValue = this.inputValue + c;
+ this.updateFilteredOptions();
+ }
+
+ _(c, key) {
+ if (c === ' ') {
+ this.handleSpaceToggle();
+ } else {
+ this.handleInputChange(c);
+ }
+ }
+
+ renderInstructions() {
+ if (this.instructions === undefined || this.instructions) {
+ if (typeof this.instructions === 'string') {
+ return this.instructions;
+ }
+
+ return `
+Instructions:
+ ${figures.arrowUp}/${figures.arrowDown}: Highlight option
+ ${figures.arrowLeft}/${figures.arrowRight}/[space]: Toggle selection
+ [a,b,c]/delete: Filter choices
+ enter/return: Complete answer
+`;
+ }
+
+ return '';
+ }
+
+ renderCurrentInput() {
+ return `
+Filtered results for: ${this.inputValue ? this.inputValue : color.gray('Enter something to filter')}\n`;
+ }
+
+ renderOption(cursor, v, i) {
+ let title;
+ if (v.disabled) title = cursor === i ? color.gray().underline(v.title) : color.strikethrough().gray(v.title);else title = cursor === i ? color.cyan().underline(v.title) : v.title;
+ return (v.selected ? color.green(figures.radioOn) : figures.radioOff) + ' ' + title;
+ }
+
+ renderDoneOrInstructions() {
+ if (this.done) {
+ return this.value.filter(e => e.selected).map(v => v.title).join(', ');
+ }
+
+ const output = [color.gray(this.hint), this.renderInstructions(), this.renderCurrentInput()];
+
+ if (this.filteredOptions.length && this.filteredOptions[this.cursor].disabled) {
+ output.push(color.yellow(this.warn));
+ }
+
+ return output.join(' ');
+ }
+
+ render() {
+ if (this.closed) return;
+ if (this.firstRender) this.out.write(cursor.hide);
+ super.render(); // print prompt
+
+ let prompt = [style.symbol(this.done, this.aborted), color.bold(this.msg), style.delimiter(false), this.renderDoneOrInstructions()].join(' ');
+
+ if (this.showMinError) {
+ prompt += color.red(`You must select a minimum of ${this.minSelected} choices.`);
+ this.showMinError = false;
+ }
+
+ prompt += this.renderOptions(this.filteredOptions);
+ this.out.write(this.clear + prompt);
+ this.clear = clear(prompt, this.out.columns);
+ }
+
+}
+
+module.exports = AutocompleteMultiselectPrompt; \ No newline at end of file
diff --git a/includes/langcheck/node_modules/prompts/dist/elements/confirm.js b/includes/langcheck/node_modules/prompts/dist/elements/confirm.js
new file mode 100644
index 0000000..6c342d2
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/dist/elements/confirm.js
@@ -0,0 +1,93 @@
+"use strict";
+
+const color = require('kleur');
+
+const Prompt = require('./prompt');
+
+const _require = require('../util'),
+ style = _require.style,
+ clear = _require.clear;
+
+const _require2 = require('sisteransi'),
+ erase = _require2.erase,
+ cursor = _require2.cursor;
+/**
+ * ConfirmPrompt Base Element
+ * @param {Object} opts Options
+ * @param {String} opts.message Message
+ * @param {Boolean} [opts.initial] Default value (true/false)
+ * @param {Stream} [opts.stdin] The Readable stream to listen to
+ * @param {Stream} [opts.stdout] The Writable stream to write readline data to
+ * @param {String} [opts.yes] The "Yes" label
+ * @param {String} [opts.yesOption] The "Yes" option when choosing between yes/no
+ * @param {String} [opts.no] The "No" label
+ * @param {String} [opts.noOption] The "No" option when choosing between yes/no
+ */
+
+
+class ConfirmPrompt extends Prompt {
+ constructor(opts = {}) {
+ super(opts);
+ this.msg = opts.message;
+ this.value = opts.initial;
+ this.initialValue = !!opts.initial;
+ this.yesMsg = opts.yes || 'yes';
+ this.yesOption = opts.yesOption || '(Y/n)';
+ this.noMsg = opts.no || 'no';
+ this.noOption = opts.noOption || '(y/N)';
+ this.render();
+ }
+
+ reset() {
+ this.value = this.initialValue;
+ this.fire();
+ this.render();
+ }
+
+ exit() {
+ this.abort();
+ }
+
+ abort() {
+ this.done = this.aborted = true;
+ this.fire();
+ this.render();
+ this.out.write('\n');
+ this.close();
+ }
+
+ submit() {
+ this.value = this.value || false;
+ this.done = true;
+ this.aborted = false;
+ this.fire();
+ this.render();
+ this.out.write('\n');
+ this.close();
+ }
+
+ _(c, key) {
+ if (c.toLowerCase() === 'y') {
+ this.value = true;
+ return this.submit();
+ }
+
+ if (c.toLowerCase() === 'n') {
+ this.value = false;
+ return this.submit();
+ }
+
+ return this.bell();
+ }
+
+ render() {
+ if (this.closed) return;
+ if (this.firstRender) this.out.write(cursor.hide);else this.out.write(clear(this.outputText, this.out.columns));
+ super.render();
+ this.outputText = [style.symbol(this.done, this.aborted), color.bold(this.msg), style.delimiter(this.done), this.done ? this.value ? this.yesMsg : this.noMsg : color.gray(this.initialValue ? this.yesOption : this.noOption)].join(' ');
+ this.out.write(erase.line + cursor.to(0) + this.outputText);
+ }
+
+}
+
+module.exports = ConfirmPrompt; \ No newline at end of file
diff --git a/includes/langcheck/node_modules/prompts/dist/elements/date.js b/includes/langcheck/node_modules/prompts/dist/elements/date.js
new file mode 100644
index 0000000..0b254f8
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/dist/elements/date.js
@@ -0,0 +1,250 @@
+'use strict';
+
+function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
+
+function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
+
+const color = require('kleur');
+
+const Prompt = require('./prompt');
+
+const _require = require('../util'),
+ style = _require.style,
+ clear = _require.clear,
+ figures = _require.figures;
+
+const _require2 = require('sisteransi'),
+ erase = _require2.erase,
+ cursor = _require2.cursor;
+
+const _require3 = require('../dateparts'),
+ DatePart = _require3.DatePart,
+ Meridiem = _require3.Meridiem,
+ Day = _require3.Day,
+ Hours = _require3.Hours,
+ Milliseconds = _require3.Milliseconds,
+ Minutes = _require3.Minutes,
+ Month = _require3.Month,
+ Seconds = _require3.Seconds,
+ Year = _require3.Year;
+
+const regex = /\\(.)|"((?:\\["\\]|[^"])+)"|(D[Do]?|d{3,4}|d)|(M{1,4})|(YY(?:YY)?)|([aA])|([Hh]{1,2})|(m{1,2})|(s{1,2})|(S{1,4})|./g;
+const regexGroups = {
+ 1: ({
+ token
+ }) => token.replace(/\\(.)/g, '$1'),
+ 2: opts => new Day(opts),
+ // Day // TODO
+ 3: opts => new Month(opts),
+ // Month
+ 4: opts => new Year(opts),
+ // Year
+ 5: opts => new Meridiem(opts),
+ // AM/PM // TODO (special)
+ 6: opts => new Hours(opts),
+ // Hours
+ 7: opts => new Minutes(opts),
+ // Minutes
+ 8: opts => new Seconds(opts),
+ // Seconds
+ 9: opts => new Milliseconds(opts) // Fractional seconds
+
+};
+const dfltLocales = {
+ months: 'January,February,March,April,May,June,July,August,September,October,November,December'.split(','),
+ monthsShort: 'Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec'.split(','),
+ weekdays: 'Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday'.split(','),
+ weekdaysShort: 'Sun,Mon,Tue,Wed,Thu,Fri,Sat'.split(',')
+};
+/**
+ * DatePrompt Base Element
+ * @param {Object} opts Options
+ * @param {String} opts.message Message
+ * @param {Number} [opts.initial] Index of default value
+ * @param {String} [opts.mask] The format mask
+ * @param {object} [opts.locales] The date locales
+ * @param {String} [opts.error] The error message shown on invalid value
+ * @param {Function} [opts.validate] Function to validate the submitted value
+ * @param {Stream} [opts.stdin] The Readable stream to listen to
+ * @param {Stream} [opts.stdout] The Writable stream to write readline data to
+ */
+
+class DatePrompt extends Prompt {
+ constructor(opts = {}) {
+ super(opts);
+ this.msg = opts.message;
+ this.cursor = 0;
+ this.typed = '';
+ this.locales = Object.assign(dfltLocales, opts.locales);
+ this._date = opts.initial || new Date();
+ this.errorMsg = opts.error || 'Please Enter A Valid Value';
+
+ this.validator = opts.validate || (() => true);
+
+ this.mask = opts.mask || 'YYYY-MM-DD HH:mm:ss';
+ this.clear = clear('', this.out.columns);
+ this.render();
+ }
+
+ get value() {
+ return this.date;
+ }
+
+ get date() {
+ return this._date;
+ }
+
+ set date(date) {
+ if (date) this._date.setTime(date.getTime());
+ }
+
+ set mask(mask) {
+ let result;
+ this.parts = [];
+
+ while (result = regex.exec(mask)) {
+ let match = result.shift();
+ let idx = result.findIndex(gr => gr != null);
+ this.parts.push(idx in regexGroups ? regexGroups[idx]({
+ token: result[idx] || match,
+ date: this.date,
+ parts: this.parts,
+ locales: this.locales
+ }) : result[idx] || match);
+ }
+
+ let parts = this.parts.reduce((arr, i) => {
+ if (typeof i === 'string' && typeof arr[arr.length - 1] === 'string') arr[arr.length - 1] += i;else arr.push(i);
+ return arr;
+ }, []);
+ this.parts.splice(0);
+ this.parts.push(...parts);
+ this.reset();
+ }
+
+ moveCursor(n) {
+ this.typed = '';
+ this.cursor = n;
+ this.fire();
+ }
+
+ reset() {
+ this.moveCursor(this.parts.findIndex(p => p instanceof DatePart));
+ this.fire();
+ this.render();
+ }
+
+ exit() {
+ this.abort();
+ }
+
+ abort() {
+ this.done = this.aborted = true;
+ this.error = false;
+ this.fire();
+ this.render();
+ this.out.write('\n');
+ this.close();
+ }
+
+ validate() {
+ var _this = this;
+
+ return _asyncToGenerator(function* () {
+ let valid = yield _this.validator(_this.value);
+
+ if (typeof valid === 'string') {
+ _this.errorMsg = valid;
+ valid = false;
+ }
+
+ _this.error = !valid;
+ })();
+ }
+
+ submit() {
+ var _this2 = this;
+
+ return _asyncToGenerator(function* () {
+ yield _this2.validate();
+
+ if (_this2.error) {
+ _this2.color = 'red';
+
+ _this2.fire();
+
+ _this2.render();
+
+ return;
+ }
+
+ _this2.done = true;
+ _this2.aborted = false;
+
+ _this2.fire();
+
+ _this2.render();
+
+ _this2.out.write('\n');
+
+ _this2.close();
+ })();
+ }
+
+ up() {
+ this.typed = '';
+ this.parts[this.cursor].up();
+ this.render();
+ }
+
+ down() {
+ this.typed = '';
+ this.parts[this.cursor].down();
+ this.render();
+ }
+
+ left() {
+ let prev = this.parts[this.cursor].prev();
+ if (prev == null) return this.bell();
+ this.moveCursor(this.parts.indexOf(prev));
+ this.render();
+ }
+
+ right() {
+ let next = this.parts[this.cursor].next();
+ if (next == null) return this.bell();
+ this.moveCursor(this.parts.indexOf(next));
+ this.render();
+ }
+
+ next() {
+ let next = this.parts[this.cursor].next();
+ this.moveCursor(next ? this.parts.indexOf(next) : this.parts.findIndex(part => part instanceof DatePart));
+ this.render();
+ }
+
+ _(c) {
+ if (/\d/.test(c)) {
+ this.typed += c;
+ this.parts[this.cursor].setTo(this.typed);
+ this.render();
+ }
+ }
+
+ render() {
+ if (this.closed) return;
+ if (this.firstRender) this.out.write(cursor.hide);else this.out.write(clear(this.outputText, this.out.columns));
+ super.render(); // Print prompt
+
+ this.outputText = [style.symbol(this.done, this.aborted), color.bold(this.msg), style.delimiter(false), this.parts.reduce((arr, p, idx) => arr.concat(idx === this.cursor && !this.done ? color.cyan().underline(p.toString()) : p), []).join('')].join(' '); // Print error
+
+ if (this.error) {
+ this.outputText += this.errorMsg.split('\n').reduce((a, l, i) => a + `\n${i ? ` ` : figures.pointerSmall} ${color.red().italic(l)}`, ``);
+ }
+
+ this.out.write(erase.line + cursor.to(0) + this.outputText);
+ }
+
+}
+
+module.exports = DatePrompt; \ No newline at end of file
diff --git a/includes/langcheck/node_modules/prompts/dist/elements/index.js b/includes/langcheck/node_modules/prompts/dist/elements/index.js
new file mode 100644
index 0000000..cf0ccc1
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/dist/elements/index.js
@@ -0,0 +1,13 @@
+'use strict';
+
+module.exports = {
+ TextPrompt: require('./text'),
+ SelectPrompt: require('./select'),
+ TogglePrompt: require('./toggle'),
+ DatePrompt: require('./date'),
+ NumberPrompt: require('./number'),
+ MultiselectPrompt: require('./multiselect'),
+ AutocompletePrompt: require('./autocomplete'),
+ AutocompleteMultiselectPrompt: require('./autocompleteMultiselect'),
+ ConfirmPrompt: require('./confirm')
+}; \ No newline at end of file
diff --git a/includes/langcheck/node_modules/prompts/dist/elements/multiselect.js b/includes/langcheck/node_modules/prompts/dist/elements/multiselect.js
new file mode 100644
index 0000000..2d129ea
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/dist/elements/multiselect.js
@@ -0,0 +1,289 @@
+'use strict';
+
+const color = require('kleur');
+
+const _require = require('sisteransi'),
+ cursor = _require.cursor;
+
+const Prompt = require('./prompt');
+
+const _require2 = require('../util'),
+ clear = _require2.clear,
+ figures = _require2.figures,
+ style = _require2.style,
+ wrap = _require2.wrap,
+ entriesToDisplay = _require2.entriesToDisplay;
+/**
+ * MultiselectPrompt Base Element
+ * @param {Object} opts Options
+ * @param {String} opts.message Message
+ * @param {Array} opts.choices Array of choice objects
+ * @param {String} [opts.hint] Hint to display
+ * @param {String} [opts.warn] Hint shown for disabled choices
+ * @param {Number} [opts.max] Max choices
+ * @param {Number} [opts.cursor=0] Cursor start position
+ * @param {Number} [opts.optionsPerPage=10] Max options to display at once
+ * @param {Stream} [opts.stdin] The Readable stream to listen to
+ * @param {Stream} [opts.stdout] The Writable stream to write readline data to
+ */
+
+
+class MultiselectPrompt extends Prompt {
+ constructor(opts = {}) {
+ super(opts);
+ this.msg = opts.message;
+ this.cursor = opts.cursor || 0;
+ this.scrollIndex = opts.cursor || 0;
+ this.hint = opts.hint || '';
+ this.warn = opts.warn || '- This option is disabled -';
+ this.minSelected = opts.min;
+ this.showMinError = false;
+ this.maxChoices = opts.max;
+ this.instructions = opts.instructions;
+ this.optionsPerPage = opts.optionsPerPage || 10;
+ this.value = opts.choices.map((ch, idx) => {
+ if (typeof ch === 'string') ch = {
+ title: ch,
+ value: idx
+ };
+ return {
+ title: ch && (ch.title || ch.value || ch),
+ description: ch && ch.description,
+ value: ch && (ch.value === undefined ? idx : ch.value),
+ selected: ch && ch.selected,
+ disabled: ch && ch.disabled
+ };
+ });
+ this.clear = clear('', this.out.columns);
+
+ if (!opts.overrideRender) {
+ this.render();
+ }
+ }
+
+ reset() {
+ this.value.map(v => !v.selected);
+ this.cursor = 0;
+ this.fire();
+ this.render();
+ }
+
+ selected() {
+ return this.value.filter(v => v.selected);
+ }
+
+ exit() {
+ this.abort();
+ }
+
+ abort() {
+ this.done = this.aborted = true;
+ this.fire();
+ this.render();
+ this.out.write('\n');
+ this.close();
+ }
+
+ submit() {
+ const selected = this.value.filter(e => e.selected);
+
+ if (this.minSelected && selected.length < this.minSelected) {
+ this.showMinError = true;
+ this.render();
+ } else {
+ this.done = true;
+ this.aborted = false;
+ this.fire();
+ this.render();
+ this.out.write('\n');
+ this.close();
+ }
+ }
+
+ first() {
+ this.cursor = 0;
+ this.render();
+ }
+
+ last() {
+ this.cursor = this.value.length - 1;
+ this.render();
+ }
+
+ next() {
+ this.cursor = (this.cursor + 1) % this.value.length;
+ this.render();
+ }
+
+ up() {
+ if (this.cursor === 0) {
+ this.cursor = this.value.length - 1;
+ } else {
+ this.cursor--;
+ }
+
+ this.render();
+ }
+
+ down() {
+ if (this.cursor === this.value.length - 1) {
+ this.cursor = 0;
+ } else {
+ this.cursor++;
+ }
+
+ this.render();
+ }
+
+ left() {
+ this.value[this.cursor].selected = false;
+ this.render();
+ }
+
+ right() {
+ if (this.value.filter(e => e.selected).length >= this.maxChoices) return this.bell();
+ this.value[this.cursor].selected = true;
+ this.render();
+ }
+
+ handleSpaceToggle() {
+ const v = this.value[this.cursor];
+
+ if (v.selected) {
+ v.selected = false;
+ this.render();
+ } else if (v.disabled || this.value.filter(e => e.selected).length >= this.maxChoices) {
+ return this.bell();
+ } else {
+ v.selected = true;
+ this.render();
+ }
+ }
+
+ toggleAll() {
+ if (this.maxChoices !== undefined || this.value[this.cursor].disabled) {
+ return this.bell();
+ }
+
+ const newSelected = !this.value[this.cursor].selected;
+ this.value.filter(v => !v.disabled).forEach(v => v.selected = newSelected);
+ this.render();
+ }
+
+ _(c, key) {
+ if (c === ' ') {
+ this.handleSpaceToggle();
+ } else if (c === 'a') {
+ this.toggleAll();
+ } else {
+ return this.bell();
+ }
+ }
+
+ renderInstructions() {
+ if (this.instructions === undefined || this.instructions) {
+ if (typeof this.instructions === 'string') {
+ return this.instructions;
+ }
+
+ return '\nInstructions:\n' + ` ${figures.arrowUp}/${figures.arrowDown}: Highlight option\n` + ` ${figures.arrowLeft}/${figures.arrowRight}/[space]: Toggle selection\n` + (this.maxChoices === undefined ? ` a: Toggle all\n` : '') + ` enter/return: Complete answer`;
+ }
+
+ return '';
+ }
+
+ renderOption(cursor, v, i, arrowIndicator) {
+ const prefix = (v.selected ? color.green(figures.radioOn) : figures.radioOff) + ' ' + arrowIndicator + ' ';
+ let title, desc;
+
+ if (v.disabled) {
+ title = cursor === i ? color.gray().underline(v.title) : color.strikethrough().gray(v.title);
+ } else {
+ title = cursor === i ? color.cyan().underline(v.title) : v.title;
+
+ if (cursor === i && v.description) {
+ desc = ` - ${v.description}`;
+
+ if (prefix.length + title.length + desc.length >= this.out.columns || v.description.split(/\r?\n/).length > 1) {
+ desc = '\n' + wrap(v.description, {
+ margin: prefix.length,
+ width: this.out.columns
+ });
+ }
+ }
+ }
+
+ return prefix + title + color.gray(desc || '');
+ } // shared with autocompleteMultiselect
+
+
+ paginateOptions(options) {
+ if (options.length === 0) {
+ return color.red('No matches for this query.');
+ }
+
+ let _entriesToDisplay = entriesToDisplay(this.cursor, options.length, this.optionsPerPage),
+ startIndex = _entriesToDisplay.startIndex,
+ endIndex = _entriesToDisplay.endIndex;
+
+ let prefix,
+ styledOptions = [];
+
+ for (let i = startIndex; i < endIndex; i++) {
+ if (i === startIndex && startIndex > 0) {
+ prefix = figures.arrowUp;
+ } else if (i === endIndex - 1 && endIndex < options.length) {
+ prefix = figures.arrowDown;
+ } else {
+ prefix = ' ';
+ }
+
+ styledOptions.push(this.renderOption(this.cursor, options[i], i, prefix));
+ }
+
+ return '\n' + styledOptions.join('\n');
+ } // shared with autocomleteMultiselect
+
+
+ renderOptions(options) {
+ if (!this.done) {
+ return this.paginateOptions(options);
+ }
+
+ return '';
+ }
+
+ renderDoneOrInstructions() {
+ if (this.done) {
+ return this.value.filter(e => e.selected).map(v => v.title).join(', ');
+ }
+
+ const output = [color.gray(this.hint), this.renderInstructions()];
+
+ if (this.value[this.cursor].disabled) {
+ output.push(color.yellow(this.warn));
+ }
+
+ return output.join(' ');
+ }
+
+ render() {
+ if (this.closed) return;
+ if (this.firstRender) this.out.write(cursor.hide);
+ super.render(); // print prompt
+
+ let prompt = [style.symbol(this.done, this.aborted), color.bold(this.msg), style.delimiter(false), this.renderDoneOrInstructions()].join(' ');
+
+ if (this.showMinError) {
+ prompt += color.red(`You must select a minimum of ${this.minSelected} choices.`);
+ this.showMinError = false;
+ }
+
+ prompt += this.renderOptions(this.value);
+ this.out.write(this.clear + prompt);
+ this.clear = clear(prompt, this.out.columns);
+ }
+
+}
+
+module.exports = MultiselectPrompt; \ No newline at end of file
diff --git a/includes/langcheck/node_modules/prompts/dist/elements/number.js b/includes/langcheck/node_modules/prompts/dist/elements/number.js
new file mode 100644
index 0000000..fd144af
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/dist/elements/number.js
@@ -0,0 +1,250 @@
+"use strict";
+
+function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
+
+function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
+
+const color = require('kleur');
+
+const Prompt = require('./prompt');
+
+const _require = require('sisteransi'),
+ cursor = _require.cursor,
+ erase = _require.erase;
+
+const _require2 = require('../util'),
+ style = _require2.style,
+ figures = _require2.figures,
+ clear = _require2.clear,
+ lines = _require2.lines;
+
+const isNumber = /[0-9]/;
+
+const isDef = any => any !== undefined;
+
+const round = (number, precision) => {
+ let factor = Math.pow(10, precision);
+ return Math.round(number * factor) / factor;
+};
+/**
+ * NumberPrompt Base Element
+ * @param {Object} opts Options
+ * @param {String} opts.message Message
+ * @param {String} [opts.style='default'] Render style
+ * @param {Number} [opts.initial] Default value
+ * @param {Number} [opts.max=+Infinity] Max value
+ * @param {Number} [opts.min=-Infinity] Min value
+ * @param {Boolean} [opts.float=false] Parse input as floats
+ * @param {Number} [opts.round=2] Round floats to x decimals
+ * @param {Number} [opts.increment=1] Number to increment by when using arrow-keys
+ * @param {Function} [opts.validate] Validate function
+ * @param {Stream} [opts.stdin] The Readable stream to listen to
+ * @param {Stream} [opts.stdout] The Writable stream to write readline data to
+ * @param {String} [opts.error] The invalid error label
+ */
+
+
+class NumberPrompt extends Prompt {
+ constructor(opts = {}) {
+ super(opts);
+ this.transform = style.render(opts.style);
+ this.msg = opts.message;
+ this.initial = isDef(opts.initial) ? opts.initial : '';
+ this.float = !!opts.float;
+ this.round = opts.round || 2;
+ this.inc = opts.increment || 1;
+ this.min = isDef(opts.min) ? opts.min : -Infinity;
+ this.max = isDef(opts.max) ? opts.max : Infinity;
+ this.errorMsg = opts.error || `Please Enter A Valid Value`;
+
+ this.validator = opts.validate || (() => true);
+
+ this.color = `cyan`;
+ this.value = ``;
+ this.typed = ``;
+ this.lastHit = 0;
+ this.render();
+ }
+
+ set value(v) {
+ if (!v && v !== 0) {
+ this.placeholder = true;
+ this.rendered = color.gray(this.transform.render(`${this.initial}`));
+ this._value = ``;
+ } else {
+ this.placeholder = false;
+ this.rendered = this.transform.render(`${round(v, this.round)}`);
+ this._value = round(v, this.round);
+ }
+
+ this.fire();
+ }
+
+ get value() {
+ return this._value;
+ }
+
+ parse(x) {
+ return this.float ? parseFloat(x) : parseInt(x);
+ }
+
+ valid(c) {
+ return c === `-` || c === `.` && this.float || isNumber.test(c);
+ }
+
+ reset() {
+ this.typed = ``;
+ this.value = ``;
+ this.fire();
+ this.render();
+ }
+
+ exit() {
+ this.abort();
+ }
+
+ abort() {
+ let x = this.value;
+ this.value = x !== `` ? x : this.initial;
+ this.done = this.aborted = true;
+ this.error = false;
+ this.fire();
+ this.render();
+ this.out.write(`\n`);
+ this.close();
+ }
+
+ validate() {
+ var _this = this;
+
+ return _asyncToGenerator(function* () {
+ let valid = yield _this.validator(_this.value);
+
+ if (typeof valid === `string`) {
+ _this.errorMsg = valid;
+ valid = false;
+ }
+
+ _this.error = !valid;
+ })();
+ }
+
+ submit() {
+ var _this2 = this;
+
+ return _asyncToGenerator(function* () {
+ yield _this2.validate();
+
+ if (_this2.error) {
+ _this2.color = `red`;
+
+ _this2.fire();
+
+ _this2.render();
+
+ return;
+ }
+
+ let x = _this2.value;
+ _this2.value = x !== `` ? x : _this2.initial;
+ _this2.done = true;
+ _this2.aborted = false;
+ _this2.error = false;
+
+ _this2.fire();
+
+ _this2.render();
+
+ _this2.out.write(`\n`);
+
+ _this2.close();
+ })();
+ }
+
+ up() {
+ this.typed = ``;
+
+ if (this.value === '') {
+ this.value = this.min - this.inc;
+ }
+
+ if (this.value >= this.max) return this.bell();
+ this.value += this.inc;
+ this.color = `cyan`;
+ this.fire();
+ this.render();
+ }
+
+ down() {
+ this.typed = ``;
+
+ if (this.value === '') {
+ this.value = this.min + this.inc;
+ }
+
+ if (this.value <= this.min) return this.bell();
+ this.value -= this.inc;
+ this.color = `cyan`;
+ this.fire();
+ this.render();
+ }
+
+ delete() {
+ let val = this.value.toString();
+ if (val.length === 0) return this.bell();
+ this.value = this.parse(val = val.slice(0, -1)) || ``;
+
+ if (this.value !== '' && this.value < this.min) {
+ this.value = this.min;
+ }
+
+ this.color = `cyan`;
+ this.fire();
+ this.render();
+ }
+
+ next() {
+ this.value = this.initial;
+ this.fire();
+ this.render();
+ }
+
+ _(c, key) {
+ if (!this.valid(c)) return this.bell();
+ const now = Date.now();
+ if (now - this.lastHit > 1000) this.typed = ``; // 1s elapsed
+
+ this.typed += c;
+ this.lastHit = now;
+ this.color = `cyan`;
+ if (c === `.`) return this.fire();
+ this.value = Math.min(this.parse(this.typed), this.max);
+ if (this.value > this.max) this.value = this.max;
+ if (this.value < this.min) this.value = this.min;
+ this.fire();
+ this.render();
+ }
+
+ render() {
+ if (this.closed) return;
+
+ if (!this.firstRender) {
+ if (this.outputError) this.out.write(cursor.down(lines(this.outputError, this.out.columns) - 1) + clear(this.outputError, this.out.columns));
+ this.out.write(clear(this.outputText, this.out.columns));
+ }
+
+ super.render();
+ this.outputError = ''; // Print prompt
+
+ this.outputText = [style.symbol(this.done, this.aborted), color.bold(this.msg), style.delimiter(this.done), !this.done || !this.done && !this.placeholder ? color[this.color]().underline(this.rendered) : this.rendered].join(` `); // Print error
+
+ if (this.error) {
+ this.outputError += this.errorMsg.split(`\n`).reduce((a, l, i) => a + `\n${i ? ` ` : figures.pointerSmall} ${color.red().italic(l)}`, ``);
+ }
+
+ this.out.write(erase.line + cursor.to(0) + this.outputText + cursor.save + this.outputError + cursor.restore);
+ }
+
+}
+
+module.exports = NumberPrompt; \ No newline at end of file
diff --git a/includes/langcheck/node_modules/prompts/dist/elements/prompt.js b/includes/langcheck/node_modules/prompts/dist/elements/prompt.js
new file mode 100644
index 0000000..7deef04
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/dist/elements/prompt.js
@@ -0,0 +1,82 @@
+'use strict';
+
+const readline = require('readline');
+
+const _require = require('../util'),
+ action = _require.action;
+
+const EventEmitter = require('events');
+
+const _require2 = require('sisteransi'),
+ beep = _require2.beep,
+ cursor = _require2.cursor;
+
+const color = require('kleur');
+/**
+ * Base prompt skeleton
+ * @param {Stream} [opts.stdin] The Readable stream to listen to
+ * @param {Stream} [opts.stdout] The Writable stream to write readline data to
+ */
+
+
+class Prompt extends EventEmitter {
+ constructor(opts = {}) {
+ super();
+ this.firstRender = true;
+ this.in = opts.stdin || process.stdin;
+ this.out = opts.stdout || process.stdout;
+
+ this.onRender = (opts.onRender || (() => void 0)).bind(this);
+
+ const rl = readline.createInterface({
+ input: this.in,
+ escapeCodeTimeout: 50
+ });
+ readline.emitKeypressEvents(this.in, rl);
+ if (this.in.isTTY) this.in.setRawMode(true);
+ const isSelect = ['SelectPrompt', 'MultiselectPrompt'].indexOf(this.constructor.name) > -1;
+
+ const keypress = (str, key) => {
+ let a = action(key, isSelect);
+
+ if (a === false) {
+ this._ && this._(str, key);
+ } else if (typeof this[a] === 'function') {
+ this[a](key);
+ } else {
+ this.bell();
+ }
+ };
+
+ this.close = () => {
+ this.out.write(cursor.show);
+ this.in.removeListener('keypress', keypress);
+ if (this.in.isTTY) this.in.setRawMode(false);
+ rl.close();
+ this.emit(this.aborted ? 'abort' : this.exited ? 'exit' : 'submit', this.value);
+ this.closed = true;
+ };
+
+ this.in.on('keypress', keypress);
+ }
+
+ fire() {
+ this.emit('state', {
+ value: this.value,
+ aborted: !!this.aborted,
+ exited: !!this.exited
+ });
+ }
+
+ bell() {
+ this.out.write(beep);
+ }
+
+ render() {
+ this.onRender(color);
+ if (this.firstRender) this.firstRender = false;
+ }
+
+}
+
+module.exports = Prompt; \ No newline at end of file
diff --git a/includes/langcheck/node_modules/prompts/dist/elements/select.js b/includes/langcheck/node_modules/prompts/dist/elements/select.js
new file mode 100644
index 0000000..5e27c69
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/dist/elements/select.js
@@ -0,0 +1,190 @@
+'use strict';
+
+const color = require('kleur');
+
+const Prompt = require('./prompt');
+
+const _require = require('../util'),
+ style = _require.style,
+ clear = _require.clear,
+ figures = _require.figures,
+ wrap = _require.wrap,
+ entriesToDisplay = _require.entriesToDisplay;
+
+const _require2 = require('sisteransi'),
+ cursor = _require2.cursor;
+/**
+ * SelectPrompt Base Element
+ * @param {Object} opts Options
+ * @param {String} opts.message Message
+ * @param {Array} opts.choices Array of choice objects
+ * @param {String} [opts.hint] Hint to display
+ * @param {Number} [opts.initial] Index of default value
+ * @param {Stream} [opts.stdin] The Readable stream to listen to
+ * @param {Stream} [opts.stdout] The Writable stream to write readline data to
+ * @param {Number} [opts.optionsPerPage=10] Max options to display at once
+ */
+
+
+class SelectPrompt extends Prompt {
+ constructor(opts = {}) {
+ super(opts);
+ this.msg = opts.message;
+ this.hint = opts.hint || '- Use arrow-keys. Return to submit.';
+ this.warn = opts.warn || '- This option is disabled';
+ this.cursor = opts.initial || 0;
+ this.choices = opts.choices.map((ch, idx) => {
+ if (typeof ch === 'string') ch = {
+ title: ch,
+ value: idx
+ };
+ return {
+ title: ch && (ch.title || ch.value || ch),
+ value: ch && (ch.value === undefined ? idx : ch.value),
+ description: ch && ch.description,
+ selected: ch && ch.selected,
+ disabled: ch && ch.disabled
+ };
+ });
+ this.optionsPerPage = opts.optionsPerPage || 10;
+ this.value = (this.choices[this.cursor] || {}).value;
+ this.clear = clear('', this.out.columns);
+ this.render();
+ }
+
+ moveCursor(n) {
+ this.cursor = n;
+ this.value = this.choices[n].value;
+ this.fire();
+ }
+
+ reset() {
+ this.moveCursor(0);
+ this.fire();
+ this.render();
+ }
+
+ exit() {
+ this.abort();
+ }
+
+ abort() {
+ this.done = this.aborted = true;
+ this.fire();
+ this.render();
+ this.out.write('\n');
+ this.close();
+ }
+
+ submit() {
+ if (!this.selection.disabled) {
+ this.done = true;
+ this.aborted = false;
+ this.fire();
+ this.render();
+ this.out.write('\n');
+ this.close();
+ } else this.bell();
+ }
+
+ first() {
+ this.moveCursor(0);
+ this.render();
+ }
+
+ last() {
+ this.moveCursor(this.choices.length - 1);
+ this.render();
+ }
+
+ up() {
+ if (this.cursor === 0) {
+ this.moveCursor(this.choices.length - 1);
+ } else {
+ this.moveCursor(this.cursor - 1);
+ }
+
+ this.render();
+ }
+
+ down() {
+ if (this.cursor === this.choices.length - 1) {
+ this.moveCursor(0);
+ } else {
+ this.moveCursor(this.cursor + 1);
+ }
+
+ this.render();
+ }
+
+ next() {
+ this.moveCursor((this.cursor + 1) % this.choices.length);
+ this.render();
+ }
+
+ _(c, key) {
+ if (c === ' ') return this.submit();
+ }
+
+ get selection() {
+ return this.choices[this.cursor];
+ }
+
+ render() {
+ if (this.closed) return;
+ if (this.firstRender) this.out.write(cursor.hide);else this.out.write(clear(this.outputText, this.out.columns));
+ super.render();
+
+ let _entriesToDisplay = entriesToDisplay(this.cursor, this.choices.length, this.optionsPerPage),
+ startIndex = _entriesToDisplay.startIndex,
+ endIndex = _entriesToDisplay.endIndex; // Print prompt
+
+
+ this.outputText = [style.symbol(this.done, this.aborted), color.bold(this.msg), style.delimiter(false), this.done ? this.selection.title : this.selection.disabled ? color.yellow(this.warn) : color.gray(this.hint)].join(' '); // Print choices
+
+ if (!this.done) {
+ this.outputText += '\n';
+
+ for (let i = startIndex; i < endIndex; i++) {
+ let title,
+ prefix,
+ desc = '',
+ v = this.choices[i]; // Determine whether to display "more choices" indicators
+
+ if (i === startIndex && startIndex > 0) {
+ prefix = figures.arrowUp;
+ } else if (i === endIndex - 1 && endIndex < this.choices.length) {
+ prefix = figures.arrowDown;
+ } else {
+ prefix = ' ';
+ }
+
+ if (v.disabled) {
+ title = this.cursor === i ? color.gray().underline(v.title) : color.strikethrough().gray(v.title);
+ prefix = (this.cursor === i ? color.bold().gray(figures.pointer) + ' ' : ' ') + prefix;
+ } else {
+ title = this.cursor === i ? color.cyan().underline(v.title) : v.title;
+ prefix = (this.cursor === i ? color.cyan(figures.pointer) + ' ' : ' ') + prefix;
+
+ if (v.description && this.cursor === i) {
+ desc = ` - ${v.description}`;
+
+ if (prefix.length + title.length + desc.length >= this.out.columns || v.description.split(/\r?\n/).length > 1) {
+ desc = '\n' + wrap(v.description, {
+ margin: 3,
+ width: this.out.columns
+ });
+ }
+ }
+ }
+
+ this.outputText += `${prefix} ${title}${color.gray(desc)}\n`;
+ }
+ }
+
+ this.out.write(this.outputText);
+ }
+
+}
+
+module.exports = SelectPrompt; \ No newline at end of file
diff --git a/includes/langcheck/node_modules/prompts/dist/elements/text.js b/includes/langcheck/node_modules/prompts/dist/elements/text.js
new file mode 100644
index 0000000..c38a070
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/dist/elements/text.js
@@ -0,0 +1,245 @@
+"use strict";
+
+function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
+
+function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
+
+const color = require('kleur');
+
+const Prompt = require('./prompt');
+
+const _require = require('sisteransi'),
+ erase = _require.erase,
+ cursor = _require.cursor;
+
+const _require2 = require('../util'),
+ style = _require2.style,
+ clear = _require2.clear,
+ lines = _require2.lines,
+ figures = _require2.figures;
+/**
+ * TextPrompt Base Element
+ * @param {Object} opts Options
+ * @param {String} opts.message Message
+ * @param {String} [opts.style='default'] Render style
+ * @param {String} [opts.initial] Default value
+ * @param {Function} [opts.validate] Validate function
+ * @param {Stream} [opts.stdin] The Readable stream to listen to
+ * @param {Stream} [opts.stdout] The Writable stream to write readline data to
+ * @param {String} [opts.error] The invalid error label
+ */
+
+
+class TextPrompt extends Prompt {
+ constructor(opts = {}) {
+ super(opts);
+ this.transform = style.render(opts.style);
+ this.scale = this.transform.scale;
+ this.msg = opts.message;
+ this.initial = opts.initial || ``;
+
+ this.validator = opts.validate || (() => true);
+
+ this.value = ``;
+ this.errorMsg = opts.error || `Please Enter A Valid Value`;
+ this.cursor = Number(!!this.initial);
+ this.cursorOffset = 0;
+ this.clear = clear(``, this.out.columns);
+ this.render();
+ }
+
+ set value(v) {
+ if (!v && this.initial) {
+ this.placeholder = true;
+ this.rendered = color.gray(this.transform.render(this.initial));
+ } else {
+ this.placeholder = false;
+ this.rendered = this.transform.render(v);
+ }
+
+ this._value = v;
+ this.fire();
+ }
+
+ get value() {
+ return this._value;
+ }
+
+ reset() {
+ this.value = ``;
+ this.cursor = Number(!!this.initial);
+ this.cursorOffset = 0;
+ this.fire();
+ this.render();
+ }
+
+ exit() {
+ this.abort();
+ }
+
+ abort() {
+ this.value = this.value || this.initial;
+ this.done = this.aborted = true;
+ this.error = false;
+ this.red = false;
+ this.fire();
+ this.render();
+ this.out.write('\n');
+ this.close();
+ }
+
+ validate() {
+ var _this = this;
+
+ return _asyncToGenerator(function* () {
+ let valid = yield _this.validator(_this.value);
+
+ if (typeof valid === `string`) {
+ _this.errorMsg = valid;
+ valid = false;
+ }
+
+ _this.error = !valid;
+ })();
+ }
+
+ submit() {
+ var _this2 = this;
+
+ return _asyncToGenerator(function* () {
+ _this2.value = _this2.value || _this2.initial;
+ _this2.cursorOffset = 0;
+ _this2.cursor = _this2.rendered.length;
+ yield _this2.validate();
+
+ if (_this2.error) {
+ _this2.red = true;
+
+ _this2.fire();
+
+ _this2.render();
+
+ return;
+ }
+
+ _this2.done = true;
+ _this2.aborted = false;
+
+ _this2.fire();
+
+ _this2.render();
+
+ _this2.out.write('\n');
+
+ _this2.close();
+ })();
+ }
+
+ next() {
+ if (!this.placeholder) return this.bell();
+ this.value = this.initial;
+ this.cursor = this.rendered.length;
+ this.fire();
+ this.render();
+ }
+
+ moveCursor(n) {
+ if (this.placeholder) return;
+ this.cursor = this.cursor + n;
+ this.cursorOffset += n;
+ }
+
+ _(c, key) {
+ let s1 = this.value.slice(0, this.cursor);
+ let s2 = this.value.slice(this.cursor);
+ this.value = `${s1}${c}${s2}`;
+ this.red = false;
+ this.cursor = this.placeholder ? 0 : s1.length + 1;
+ this.render();
+ }
+
+ delete() {
+ if (this.isCursorAtStart()) return this.bell();
+ let s1 = this.value.slice(0, this.cursor - 1);
+ let s2 = this.value.slice(this.cursor);
+ this.value = `${s1}${s2}`;
+ this.red = false;
+
+ if (this.isCursorAtStart()) {
+ this.cursorOffset = 0;
+ } else {
+ this.cursorOffset++;
+ this.moveCursor(-1);
+ }
+
+ this.render();
+ }
+
+ deleteForward() {
+ if (this.cursor * this.scale >= this.rendered.length || this.placeholder) return this.bell();
+ let s1 = this.value.slice(0, this.cursor);
+ let s2 = this.value.slice(this.cursor + 1);
+ this.value = `${s1}${s2}`;
+ this.red = false;
+
+ if (this.isCursorAtEnd()) {
+ this.cursorOffset = 0;
+ } else {
+ this.cursorOffset++;
+ }
+
+ this.render();
+ }
+
+ first() {
+ this.cursor = 0;
+ this.render();
+ }
+
+ last() {
+ this.cursor = this.value.length;
+ this.render();
+ }
+
+ left() {
+ if (this.cursor <= 0 || this.placeholder) return this.bell();
+ this.moveCursor(-1);
+ this.render();
+ }
+
+ right() {
+ if (this.cursor * this.scale >= this.rendered.length || this.placeholder) return this.bell();
+ this.moveCursor(1);
+ this.render();
+ }
+
+ isCursorAtStart() {
+ return this.cursor === 0 || this.placeholder && this.cursor === 1;
+ }
+
+ isCursorAtEnd() {
+ return this.cursor === this.rendered.length || this.placeholder && this.cursor === this.rendered.length + 1;
+ }
+
+ render() {
+ if (this.closed) return;
+
+ if (!this.firstRender) {
+ if (this.outputError) this.out.write(cursor.down(lines(this.outputError, this.out.columns) - 1) + clear(this.outputError, this.out.columns));
+ this.out.write(clear(this.outputText, this.out.columns));
+ }
+
+ super.render();
+ this.outputError = '';
+ this.outputText = [style.symbol(this.done, this.aborted), color.bold(this.msg), style.delimiter(this.done), this.red ? color.red(this.rendered) : this.rendered].join(` `);
+
+ if (this.error) {
+ this.outputError += this.errorMsg.split(`\n`).reduce((a, l, i) => a + `\n${i ? ' ' : figures.pointerSmall} ${color.red().italic(l)}`, ``);
+ }
+
+ this.out.write(erase.line + cursor.to(0) + this.outputText + cursor.save + this.outputError + cursor.restore + cursor.move(this.cursorOffset, 0));
+ }
+
+}
+
+module.exports = TextPrompt; \ No newline at end of file
diff --git a/includes/langcheck/node_modules/prompts/dist/elements/toggle.js b/includes/langcheck/node_modules/prompts/dist/elements/toggle.js
new file mode 100644
index 0000000..d942f60
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/dist/elements/toggle.js
@@ -0,0 +1,124 @@
+"use strict";
+
+const color = require('kleur');
+
+const Prompt = require('./prompt');
+
+const _require = require('../util'),
+ style = _require.style,
+ clear = _require.clear;
+
+const _require2 = require('sisteransi'),
+ cursor = _require2.cursor,
+ erase = _require2.erase;
+/**
+ * TogglePrompt Base Element
+ * @param {Object} opts Options
+ * @param {String} opts.message Message
+ * @param {Boolean} [opts.initial=false] Default value
+ * @param {String} [opts.active='no'] Active label
+ * @param {String} [opts.inactive='off'] Inactive label
+ * @param {Stream} [opts.stdin] The Readable stream to listen to
+ * @param {Stream} [opts.stdout] The Writable stream to write readline data to
+ */
+
+
+class TogglePrompt extends Prompt {
+ constructor(opts = {}) {
+ super(opts);
+ this.msg = opts.message;
+ this.value = !!opts.initial;
+ this.active = opts.active || 'on';
+ this.inactive = opts.inactive || 'off';
+ this.initialValue = this.value;
+ this.render();
+ }
+
+ reset() {
+ this.value = this.initialValue;
+ this.fire();
+ this.render();
+ }
+
+ exit() {
+ this.abort();
+ }
+
+ abort() {
+ this.done = this.aborted = true;
+ this.fire();
+ this.render();
+ this.out.write('\n');
+ this.close();
+ }
+
+ submit() {
+ this.done = true;
+ this.aborted = false;
+ this.fire();
+ this.render();
+ this.out.write('\n');
+ this.close();
+ }
+
+ deactivate() {
+ if (this.value === false) return this.bell();
+ this.value = false;
+ this.render();
+ }
+
+ activate() {
+ if (this.value === true) return this.bell();
+ this.value = true;
+ this.render();
+ }
+
+ delete() {
+ this.deactivate();
+ }
+
+ left() {
+ this.deactivate();
+ }
+
+ right() {
+ this.activate();
+ }
+
+ down() {
+ this.deactivate();
+ }
+
+ up() {
+ this.activate();
+ }
+
+ next() {
+ this.value = !this.value;
+ this.fire();
+ this.render();
+ }
+
+ _(c, key) {
+ if (c === ' ') {
+ this.value = !this.value;
+ } else if (c === '1') {
+ this.value = true;
+ } else if (c === '0') {
+ this.value = false;
+ } else return this.bell();
+
+ this.render();
+ }
+
+ render() {
+ if (this.closed) return;
+ if (this.firstRender) this.out.write(cursor.hide);else this.out.write(clear(this.outputText, this.out.columns));
+ super.render();
+ this.outputText = [style.symbol(this.done, this.aborted), color.bold(this.msg), style.delimiter(this.done), this.value ? this.inactive : color.cyan().underline(this.inactive), color.gray('/'), this.value ? color.cyan().underline(this.active) : this.active].join(' ');
+ this.out.write(erase.line + cursor.to(0) + this.outputText);
+ }
+
+}
+
+module.exports = TogglePrompt; \ No newline at end of file
diff --git a/includes/langcheck/node_modules/prompts/dist/index.js b/includes/langcheck/node_modules/prompts/dist/index.js
new file mode 100644
index 0000000..f30e9e7
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/dist/index.js
@@ -0,0 +1,154 @@
+'use strict';
+
+function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
+
+function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
+
+function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+
+function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
+
+function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
+
+function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
+
+function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
+
+function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
+
+const prompts = require('./prompts');
+
+const passOn = ['suggest', 'format', 'onState', 'validate', 'onRender', 'type'];
+
+const noop = () => {};
+/**
+ * Prompt for a series of questions
+ * @param {Array|Object} questions Single question object or Array of question objects
+ * @param {Function} [onSubmit] Callback function called on prompt submit
+ * @param {Function} [onCancel] Callback function called on cancel/abort
+ * @returns {Object} Object with values from user input
+ */
+
+
+function prompt() {
+ return _prompt.apply(this, arguments);
+}
+
+function _prompt() {
+ _prompt = _asyncToGenerator(function* (questions = [], {
+ onSubmit = noop,
+ onCancel = noop
+ } = {}) {
+ const answers = {};
+ const override = prompt._override || {};
+ questions = [].concat(questions);
+ let answer, question, quit, name, type, lastPrompt;
+
+ const getFormattedAnswer = /*#__PURE__*/function () {
+ var _ref = _asyncToGenerator(function* (question, answer, skipValidation = false) {
+ if (!skipValidation && question.validate && question.validate(answer) !== true) {
+ return;
+ }
+
+ return question.format ? yield question.format(answer, answers) : answer;
+ });
+
+ return function getFormattedAnswer(_x, _x2) {
+ return _ref.apply(this, arguments);
+ };
+ }();
+
+ var _iterator = _createForOfIteratorHelper(questions),
+ _step;
+
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ question = _step.value;
+ var _question = question;
+ name = _question.name;
+ type = _question.type;
+
+ // evaluate type first and skip if type is a falsy value
+ if (typeof type === 'function') {
+ type = yield type(answer, _objectSpread({}, answers), question);
+ question['type'] = type;
+ }
+
+ if (!type) continue; // if property is a function, invoke it unless it's a special function
+
+ for (let key in question) {
+ if (passOn.includes(key)) continue;
+ let value = question[key];
+ question[key] = typeof value === 'function' ? yield value(answer, _objectSpread({}, answers), lastPrompt) : value;
+ }
+
+ lastPrompt = question;
+
+ if (typeof question.message !== 'string') {
+ throw new Error('prompt message is required');
+ } // update vars in case they changed
+
+
+ var _question2 = question;
+ name = _question2.name;
+ type = _question2.type;
+
+ if (prompts[type] === void 0) {
+ throw new Error(`prompt type (${type}) is not defined`);
+ }
+
+ if (override[question.name] !== undefined) {
+ answer = yield getFormattedAnswer(question, override[question.name]);
+
+ if (answer !== undefined) {
+ answers[name] = answer;
+ continue;
+ }
+ }
+
+ try {
+ // Get the injected answer if there is one or prompt the user
+ answer = prompt._injected ? getInjectedAnswer(prompt._injected, question.initial) : yield prompts[type](question);
+ answers[name] = answer = yield getFormattedAnswer(question, answer, true);
+ quit = yield onSubmit(question, answer, answers);
+ } catch (err) {
+ quit = !(yield onCancel(question, answers));
+ }
+
+ if (quit) return answers;
+ }
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+
+ return answers;
+ });
+ return _prompt.apply(this, arguments);
+}
+
+function getInjectedAnswer(injected, deafultValue) {
+ const answer = injected.shift();
+
+ if (answer instanceof Error) {
+ throw answer;
+ }
+
+ return answer === undefined ? deafultValue : answer;
+}
+
+function inject(answers) {
+ prompt._injected = (prompt._injected || []).concat(answers);
+}
+
+function override(answers) {
+ prompt._override = Object.assign({}, answers);
+}
+
+module.exports = Object.assign(prompt, {
+ prompt,
+ prompts,
+ inject,
+ override
+}); \ No newline at end of file
diff --git a/includes/langcheck/node_modules/prompts/dist/prompts.js b/includes/langcheck/node_modules/prompts/dist/prompts.js
new file mode 100644
index 0000000..31f2648
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/dist/prompts.js
@@ -0,0 +1,222 @@
+'use strict';
+
+const $ = exports;
+
+const el = require('./elements');
+
+const noop = v => v;
+
+function toPrompt(type, args, opts = {}) {
+ return new Promise((res, rej) => {
+ const p = new el[type](args);
+ const onAbort = opts.onAbort || noop;
+ const onSubmit = opts.onSubmit || noop;
+ const onExit = opts.onExit || noop;
+ p.on('state', args.onState || noop);
+ p.on('submit', x => res(onSubmit(x)));
+ p.on('exit', x => res(onExit(x)));
+ p.on('abort', x => rej(onAbort(x)));
+ });
+}
+/**
+ * Text prompt
+ * @param {string} args.message Prompt message to display
+ * @param {string} [args.initial] Default string value
+ * @param {string} [args.style="default"] Render style ('default', 'password', 'invisible')
+ * @param {function} [args.onState] On state change callback
+ * @param {function} [args.validate] Function to validate user input
+ * @param {Stream} [args.stdin] The Readable stream to listen to
+ * @param {Stream} [args.stdout] The Writable stream to write readline data to
+ * @returns {Promise} Promise with user input
+ */
+
+
+$.text = args => toPrompt('TextPrompt', args);
+/**
+ * Password prompt with masked input
+ * @param {string} args.message Prompt message to display
+ * @param {string} [args.initial] Default string value
+ * @param {function} [args.onState] On state change callback
+ * @param {function} [args.validate] Function to validate user input
+ * @param {Stream} [args.stdin] The Readable stream to listen to
+ * @param {Stream} [args.stdout] The Writable stream to write readline data to
+ * @returns {Promise} Promise with user input
+ */
+
+
+$.password = args => {
+ args.style = 'password';
+ return $.text(args);
+};
+/**
+ * Prompt where input is invisible, like sudo
+ * @param {string} args.message Prompt message to display
+ * @param {string} [args.initial] Default string value
+ * @param {function} [args.onState] On state change callback
+ * @param {function} [args.validate] Function to validate user input
+ * @param {Stream} [args.stdin] The Readable stream to listen to
+ * @param {Stream} [args.stdout] The Writable stream to write readline data to
+ * @returns {Promise} Promise with user input
+ */
+
+
+$.invisible = args => {
+ args.style = 'invisible';
+ return $.text(args);
+};
+/**
+ * Number prompt
+ * @param {string} args.message Prompt message to display
+ * @param {number} args.initial Default number value
+ * @param {function} [args.onState] On state change callback
+ * @param {number} [args.max] Max value
+ * @param {number} [args.min] Min value
+ * @param {string} [args.style="default"] Render style ('default', 'password', 'invisible')
+ * @param {Boolean} [opts.float=false] Parse input as floats
+ * @param {Number} [opts.round=2] Round floats to x decimals
+ * @param {Number} [opts.increment=1] Number to increment by when using arrow-keys
+ * @param {function} [args.validate] Function to validate user input
+ * @param {Stream} [args.stdin] The Readable stream to listen to
+ * @param {Stream} [args.stdout] The Writable stream to write readline data to
+ * @returns {Promise} Promise with user input
+ */
+
+
+$.number = args => toPrompt('NumberPrompt', args);
+/**
+ * Date prompt
+ * @param {string} args.message Prompt message to display
+ * @param {number} args.initial Default number value
+ * @param {function} [args.onState] On state change callback
+ * @param {number} [args.max] Max value
+ * @param {number} [args.min] Min value
+ * @param {string} [args.style="default"] Render style ('default', 'password', 'invisible')
+ * @param {Boolean} [opts.float=false] Parse input as floats
+ * @param {Number} [opts.round=2] Round floats to x decimals
+ * @param {Number} [opts.increment=1] Number to increment by when using arrow-keys
+ * @param {function} [args.validate] Function to validate user input
+ * @param {Stream} [args.stdin] The Readable stream to listen to
+ * @param {Stream} [args.stdout] The Writable stream to write readline data to
+ * @returns {Promise} Promise with user input
+ */
+
+
+$.date = args => toPrompt('DatePrompt', args);
+/**
+ * Classic yes/no prompt
+ * @param {string} args.message Prompt message to display
+ * @param {boolean} [args.initial=false] Default value
+ * @param {function} [args.onState] On state change callback
+ * @param {Stream} [args.stdin] The Readable stream to listen to
+ * @param {Stream} [args.stdout] The Writable stream to write readline data to
+ * @returns {Promise} Promise with user input
+ */
+
+
+$.confirm = args => toPrompt('ConfirmPrompt', args);
+/**
+ * List prompt, split intput string by `seperator`
+ * @param {string} args.message Prompt message to display
+ * @param {string} [args.initial] Default string value
+ * @param {string} [args.style="default"] Render style ('default', 'password', 'invisible')
+ * @param {string} [args.separator] String separator
+ * @param {function} [args.onState] On state change callback
+ * @param {Stream} [args.stdin] The Readable stream to listen to
+ * @param {Stream} [args.stdout] The Writable stream to write readline data to
+ * @returns {Promise} Promise with user input, in form of an `Array`
+ */
+
+
+$.list = args => {
+ const sep = args.separator || ',';
+ return toPrompt('TextPrompt', args, {
+ onSubmit: str => str.split(sep).map(s => s.trim())
+ });
+};
+/**
+ * Toggle/switch prompt
+ * @param {string} args.message Prompt message to display
+ * @param {boolean} [args.initial=false] Default value
+ * @param {string} [args.active="on"] Text for `active` state
+ * @param {string} [args.inactive="off"] Text for `inactive` state
+ * @param {function} [args.onState] On state change callback
+ * @param {Stream} [args.stdin] The Readable stream to listen to
+ * @param {Stream} [args.stdout] The Writable stream to write readline data to
+ * @returns {Promise} Promise with user input
+ */
+
+
+$.toggle = args => toPrompt('TogglePrompt', args);
+/**
+ * Interactive select prompt
+ * @param {string} args.message Prompt message to display
+ * @param {Array} args.choices Array of choices objects `[{ title, value }, ...]`
+ * @param {number} [args.initial] Index of default value
+ * @param {String} [args.hint] Hint to display
+ * @param {function} [args.onState] On state change callback
+ * @param {Stream} [args.stdin] The Readable stream to listen to
+ * @param {Stream} [args.stdout] The Writable stream to write readline data to
+ * @returns {Promise} Promise with user input
+ */
+
+
+$.select = args => toPrompt('SelectPrompt', args);
+/**
+ * Interactive multi-select / autocompleteMultiselect prompt
+ * @param {string} args.message Prompt message to display
+ * @param {Array} args.choices Array of choices objects `[{ title, value, [selected] }, ...]`
+ * @param {number} [args.max] Max select
+ * @param {string} [args.hint] Hint to display user
+ * @param {Number} [args.cursor=0] Cursor start position
+ * @param {function} [args.onState] On state change callback
+ * @param {Stream} [args.stdin] The Readable stream to listen to
+ * @param {Stream} [args.stdout] The Writable stream to write readline data to
+ * @returns {Promise} Promise with user input
+ */
+
+
+$.multiselect = args => {
+ args.choices = [].concat(args.choices || []);
+
+ const toSelected = items => items.filter(item => item.selected).map(item => item.value);
+
+ return toPrompt('MultiselectPrompt', args, {
+ onAbort: toSelected,
+ onSubmit: toSelected
+ });
+};
+
+$.autocompleteMultiselect = args => {
+ args.choices = [].concat(args.choices || []);
+
+ const toSelected = items => items.filter(item => item.selected).map(item => item.value);
+
+ return toPrompt('AutocompleteMultiselectPrompt', args, {
+ onAbort: toSelected,
+ onSubmit: toSelected
+ });
+};
+
+const byTitle = (input, choices) => Promise.resolve(choices.filter(item => item.title.slice(0, input.length).toLowerCase() === input.toLowerCase()));
+/**
+ * Interactive auto-complete prompt
+ * @param {string} args.message Prompt message to display
+ * @param {Array} args.choices Array of auto-complete choices objects `[{ title, value }, ...]`
+ * @param {Function} [args.suggest] Function to filter results based on user input. Defaults to sort by `title`
+ * @param {number} [args.limit=10] Max number of results to show
+ * @param {string} [args.style="default"] Render style ('default', 'password', 'invisible')
+ * @param {String} [args.initial] Index of the default value
+ * @param {boolean} [opts.clearFirst] The first ESCAPE keypress will clear the input
+ * @param {String} [args.fallback] Fallback message - defaults to initial value
+ * @param {function} [args.onState] On state change callback
+ * @param {Stream} [args.stdin] The Readable stream to listen to
+ * @param {Stream} [args.stdout] The Writable stream to write readline data to
+ * @returns {Promise} Promise with user input
+ */
+
+
+$.autocomplete = args => {
+ args.suggest = args.suggest || byTitle;
+ args.choices = [].concat(args.choices || []);
+ return toPrompt('AutocompletePrompt', args);
+}; \ No newline at end of file
diff --git a/includes/langcheck/node_modules/prompts/dist/util/action.js b/includes/langcheck/node_modules/prompts/dist/util/action.js
new file mode 100644
index 0000000..c36b7db
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/dist/util/action.js
@@ -0,0 +1,38 @@
+'use strict';
+
+module.exports = (key, isSelect) => {
+ if (key.meta && key.name !== 'escape') return;
+
+ if (key.ctrl) {
+ if (key.name === 'a') return 'first';
+ if (key.name === 'c') return 'abort';
+ if (key.name === 'd') return 'abort';
+ if (key.name === 'e') return 'last';
+ if (key.name === 'g') return 'reset';
+ }
+
+ if (isSelect) {
+ if (key.name === 'j') return 'down';
+ if (key.name === 'k') return 'up';
+ }
+
+ if (key.name === 'return') return 'submit';
+ if (key.name === 'enter') return 'submit'; // ctrl + J
+
+ if (key.name === 'backspace') return 'delete';
+ if (key.name === 'delete') return 'deleteForward';
+ if (key.name === 'abort') return 'abort';
+ if (key.name === 'escape') return 'exit';
+ if (key.name === 'tab') return 'next';
+ if (key.name === 'pagedown') return 'nextPage';
+ if (key.name === 'pageup') return 'prevPage'; // TODO create home() in prompt types (e.g. TextPrompt)
+
+ if (key.name === 'home') return 'home'; // TODO create end() in prompt types (e.g. TextPrompt)
+
+ if (key.name === 'end') return 'end';
+ if (key.name === 'up') return 'up';
+ if (key.name === 'down') return 'down';
+ if (key.name === 'right') return 'right';
+ if (key.name === 'left') return 'left';
+ return false;
+}; \ No newline at end of file
diff --git a/includes/langcheck/node_modules/prompts/dist/util/clear.js b/includes/langcheck/node_modules/prompts/dist/util/clear.js
new file mode 100644
index 0000000..5a313be
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/dist/util/clear.js
@@ -0,0 +1,42 @@
+'use strict';
+
+function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
+
+function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
+
+function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
+
+const strip = require('./strip');
+
+const _require = require('sisteransi'),
+ erase = _require.erase,
+ cursor = _require.cursor;
+
+const width = str => [...strip(str)].length;
+/**
+ * @param {string} prompt
+ * @param {number} perLine
+ */
+
+
+module.exports = function (prompt, perLine) {
+ if (!perLine) return erase.line + cursor.to(0);
+ let rows = 0;
+ const lines = prompt.split(/\r?\n/);
+
+ var _iterator = _createForOfIteratorHelper(lines),
+ _step;
+
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ let line = _step.value;
+ rows += 1 + Math.floor(Math.max(width(line) - 1, 0) / perLine);
+ }
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+
+ return erase.lines(rows);
+}; \ No newline at end of file
diff --git a/includes/langcheck/node_modules/prompts/dist/util/entriesToDisplay.js b/includes/langcheck/node_modules/prompts/dist/util/entriesToDisplay.js
new file mode 100644
index 0000000..fbb963a
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/dist/util/entriesToDisplay.js
@@ -0,0 +1,21 @@
+'use strict';
+/**
+ * Determine what entries should be displayed on the screen, based on the
+ * currently selected index and the maximum visible. Used in list-based
+ * prompts like `select` and `multiselect`.
+ *
+ * @param {number} cursor the currently selected entry
+ * @param {number} total the total entries available to display
+ * @param {number} [maxVisible] the number of entries that can be displayed
+ */
+
+module.exports = (cursor, total, maxVisible) => {
+ maxVisible = maxVisible || total;
+ let startIndex = Math.min(total - maxVisible, cursor - Math.floor(maxVisible / 2));
+ if (startIndex < 0) startIndex = 0;
+ let endIndex = Math.min(startIndex + maxVisible, total);
+ return {
+ startIndex,
+ endIndex
+ };
+}; \ No newline at end of file
diff --git a/includes/langcheck/node_modules/prompts/dist/util/figures.js b/includes/langcheck/node_modules/prompts/dist/util/figures.js
new file mode 100644
index 0000000..036ec50
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/dist/util/figures.js
@@ -0,0 +1,32 @@
+'use strict';
+
+const main = {
+ arrowUp: '↑',
+ arrowDown: '↓',
+ arrowLeft: '←',
+ arrowRight: '→',
+ radioOn: '◉',
+ radioOff: '◯',
+ tick: '✔',
+ cross: '✖',
+ ellipsis: '…',
+ pointerSmall: '›',
+ line: '─',
+ pointer: '❯'
+};
+const win = {
+ arrowUp: main.arrowUp,
+ arrowDown: main.arrowDown,
+ arrowLeft: main.arrowLeft,
+ arrowRight: main.arrowRight,
+ radioOn: '(*)',
+ radioOff: '( )',
+ tick: '√',
+ cross: '×',
+ ellipsis: '...',
+ pointerSmall: '»',
+ line: '─',
+ pointer: '>'
+};
+const figures = process.platform === 'win32' ? win : main;
+module.exports = figures; \ No newline at end of file
diff --git a/includes/langcheck/node_modules/prompts/dist/util/index.js b/includes/langcheck/node_modules/prompts/dist/util/index.js
new file mode 100644
index 0000000..dbfe75e
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/dist/util/index.js
@@ -0,0 +1,12 @@
+'use strict';
+
+module.exports = {
+ action: require('./action'),
+ clear: require('./clear'),
+ style: require('./style'),
+ strip: require('./strip'),
+ figures: require('./figures'),
+ lines: require('./lines'),
+ wrap: require('./wrap'),
+ entriesToDisplay: require('./entriesToDisplay')
+}; \ No newline at end of file
diff --git a/includes/langcheck/node_modules/prompts/dist/util/lines.js b/includes/langcheck/node_modules/prompts/dist/util/lines.js
new file mode 100644
index 0000000..54a939a
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/dist/util/lines.js
@@ -0,0 +1,14 @@
+'use strict';
+
+const strip = require('./strip');
+/**
+ * @param {string} msg
+ * @param {number} perLine
+ */
+
+
+module.exports = function (msg, perLine) {
+ let lines = String(strip(msg) || '').split(/\r?\n/);
+ if (!perLine) return lines.length;
+ return lines.map(l => Math.ceil(l.length / perLine)).reduce((a, b) => a + b);
+}; \ No newline at end of file
diff --git a/includes/langcheck/node_modules/prompts/dist/util/strip.js b/includes/langcheck/node_modules/prompts/dist/util/strip.js
new file mode 100644
index 0000000..dd289a0
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/dist/util/strip.js
@@ -0,0 +1,7 @@
+'use strict';
+
+module.exports = str => {
+ const pattern = ['[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)', '(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PRZcf-ntqry=><~]))'].join('|');
+ const RGX = new RegExp(pattern, 'g');
+ return typeof str === 'string' ? str.replace(RGX, '') : str;
+}; \ No newline at end of file
diff --git a/includes/langcheck/node_modules/prompts/dist/util/style.js b/includes/langcheck/node_modules/prompts/dist/util/style.js
new file mode 100644
index 0000000..ed1a49b
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/dist/util/style.js
@@ -0,0 +1,51 @@
+'use strict';
+
+const c = require('kleur');
+
+const figures = require('./figures'); // rendering user input.
+
+
+const styles = Object.freeze({
+ password: {
+ scale: 1,
+ render: input => '*'.repeat(input.length)
+ },
+ emoji: {
+ scale: 2,
+ render: input => '😃'.repeat(input.length)
+ },
+ invisible: {
+ scale: 0,
+ render: input => ''
+ },
+ default: {
+ scale: 1,
+ render: input => `${input}`
+ }
+});
+
+const render = type => styles[type] || styles.default; // icon to signalize a prompt.
+
+
+const symbols = Object.freeze({
+ aborted: c.red(figures.cross),
+ done: c.green(figures.tick),
+ exited: c.yellow(figures.cross),
+ default: c.cyan('?')
+});
+
+const symbol = (done, aborted, exited) => aborted ? symbols.aborted : exited ? symbols.exited : done ? symbols.done : symbols.default; // between the question and the user's input.
+
+
+const delimiter = completing => c.gray(completing ? figures.ellipsis : figures.pointerSmall);
+
+const item = (expandable, expanded) => c.gray(expandable ? expanded ? figures.pointerSmall : '+' : figures.line);
+
+module.exports = {
+ styles,
+ render,
+ symbols,
+ symbol,
+ delimiter,
+ item
+}; \ No newline at end of file
diff --git a/includes/langcheck/node_modules/prompts/dist/util/wrap.js b/includes/langcheck/node_modules/prompts/dist/util/wrap.js
new file mode 100644
index 0000000..da5e67c
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/dist/util/wrap.js
@@ -0,0 +1,16 @@
+'use strict';
+/**
+ * @param {string} msg The message to wrap
+ * @param {object} opts
+ * @param {number|string} [opts.margin] Left margin
+ * @param {number} opts.width Maximum characters per line including the margin
+ */
+
+module.exports = (msg, opts = {}) => {
+ const tab = Number.isSafeInteger(parseInt(opts.margin)) ? new Array(parseInt(opts.margin)).fill(' ').join('') : opts.margin || '';
+ const width = opts.width;
+ return (msg || '').split(/\r?\n/g).map(line => line.split(/\s+/g).reduce((arr, w) => {
+ if (w.length + tab.length >= width || arr[arr.length - 1].length + w.length + 1 < width) arr[arr.length - 1] += ` ${w}`;else arr.push(`${tab}${w}`);
+ return arr;
+ }, [tab]).join('\n')).join('\n');
+}; \ No newline at end of file
diff --git a/includes/langcheck/node_modules/prompts/index.js b/includes/langcheck/node_modules/prompts/index.js
new file mode 100644
index 0000000..3479956
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/index.js
@@ -0,0 +1,14 @@
+function isNodeLT(tar) {
+ tar = (Array.isArray(tar) ? tar : tar.split('.')).map(Number);
+ let i=0, src=process.versions.node.split('.').map(Number);
+ for (; i < tar.length; i++) {
+ if (src[i] > tar[i]) return false;
+ if (tar[i] > src[i]) return true;
+ }
+ return false;
+}
+
+module.exports =
+ isNodeLT('8.6.0')
+ ? require('./dist/index.js')
+ : require('./lib/index.js');
diff --git a/includes/langcheck/node_modules/prompts/lib/dateparts/datepart.js b/includes/langcheck/node_modules/prompts/lib/dateparts/datepart.js
new file mode 100644
index 0000000..62b893b
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/lib/dateparts/datepart.js
@@ -0,0 +1,35 @@
+'use strict';
+
+class DatePart {
+ constructor({token, date, parts, locales}) {
+ this.token = token;
+ this.date = date || new Date();
+ this.parts = parts || [this];
+ this.locales = locales || {};
+ }
+
+ up() {}
+
+ down() {}
+
+ next() {
+ const currentIdx = this.parts.indexOf(this);
+ return this.parts.find((part, idx) => idx > currentIdx && part instanceof DatePart);
+ }
+
+ setTo(val) {}
+
+ prev() {
+ let parts = [].concat(this.parts).reverse();
+ const currentIdx = parts.indexOf(this);
+ return parts.find((part, idx) => idx > currentIdx && part instanceof DatePart);
+ }
+
+ toString() {
+ return String(this.date);
+ }
+}
+
+module.exports = DatePart;
+
+
diff --git a/includes/langcheck/node_modules/prompts/lib/dateparts/day.js b/includes/langcheck/node_modules/prompts/lib/dateparts/day.js
new file mode 100644
index 0000000..5db84fe
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/lib/dateparts/day.js
@@ -0,0 +1,42 @@
+'use strict';
+
+const DatePart = require('./datepart');
+
+const pos = n => {
+ n = n % 10;
+ return n === 1 ? 'st'
+ : n === 2 ? 'nd'
+ : n === 3 ? 'rd'
+ : 'th';
+}
+
+class Day extends DatePart {
+ constructor(opts={}) {
+ super(opts);
+ }
+
+ up() {
+ this.date.setDate(this.date.getDate() + 1);
+ }
+
+ down() {
+ this.date.setDate(this.date.getDate() - 1);
+ }
+
+ setTo(val) {
+ this.date.setDate(parseInt(val.substr(-2)));
+ }
+
+ toString() {
+ let date = this.date.getDate();
+ let day = this.date.getDay();
+ return this.token === 'DD' ? String(date).padStart(2, '0')
+ : this.token === 'Do' ? date + pos(date)
+ : this.token === 'd' ? day + 1
+ : this.token === 'ddd' ? this.locales.weekdaysShort[day]
+ : this.token === 'dddd' ? this.locales.weekdays[day]
+ : date;
+ }
+}
+
+module.exports = Day;
diff --git a/includes/langcheck/node_modules/prompts/lib/dateparts/hours.js b/includes/langcheck/node_modules/prompts/lib/dateparts/hours.js
new file mode 100644
index 0000000..171b3d2
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/lib/dateparts/hours.js
@@ -0,0 +1,30 @@
+'use strict';
+
+const DatePart = require('./datepart');
+
+class Hours extends DatePart {
+ constructor(opts={}) {
+ super(opts);
+ }
+
+ up() {
+ this.date.setHours(this.date.getHours() + 1);
+ }
+
+ down() {
+ this.date.setHours(this.date.getHours() - 1);
+ }
+
+ setTo(val) {
+ this.date.setHours(parseInt(val.substr(-2)));
+ }
+
+ toString() {
+ let hours = this.date.getHours();
+ if (/h/.test(this.token))
+ hours = (hours % 12) || 12;
+ return this.token.length > 1 ? String(hours).padStart(2, '0') : hours;
+ }
+}
+
+module.exports = Hours;
diff --git a/includes/langcheck/node_modules/prompts/lib/dateparts/index.js b/includes/langcheck/node_modules/prompts/lib/dateparts/index.js
new file mode 100644
index 0000000..dc0cc95
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/lib/dateparts/index.js
@@ -0,0 +1,13 @@
+'use strict';
+
+module.exports = {
+ DatePart: require('./datepart'),
+ Meridiem: require('./meridiem'),
+ Day: require('./day'),
+ Hours: require('./hours'),
+ Milliseconds: require('./milliseconds'),
+ Minutes: require('./minutes'),
+ Month: require('./month'),
+ Seconds: require('./seconds'),
+ Year: require('./year'),
+}
diff --git a/includes/langcheck/node_modules/prompts/lib/dateparts/meridiem.js b/includes/langcheck/node_modules/prompts/lib/dateparts/meridiem.js
new file mode 100644
index 0000000..8488677
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/lib/dateparts/meridiem.js
@@ -0,0 +1,24 @@
+'use strict';
+
+const DatePart = require('./datepart');
+
+class Meridiem extends DatePart {
+ constructor(opts={}) {
+ super(opts);
+ }
+
+ up() {
+ this.date.setHours((this.date.getHours() + 12) % 24);
+ }
+
+ down() {
+ this.up();
+ }
+
+ toString() {
+ let meridiem = this.date.getHours() > 12 ? 'pm' : 'am';
+ return /\A/.test(this.token) ? meridiem.toUpperCase() : meridiem;
+ }
+}
+
+module.exports = Meridiem;
diff --git a/includes/langcheck/node_modules/prompts/lib/dateparts/milliseconds.js b/includes/langcheck/node_modules/prompts/lib/dateparts/milliseconds.js
new file mode 100644
index 0000000..8984270
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/lib/dateparts/milliseconds.js
@@ -0,0 +1,28 @@
+'use strict';
+
+const DatePart = require('./datepart');
+
+class Milliseconds extends DatePart {
+ constructor(opts={}) {
+ super(opts);
+ }
+
+ up() {
+ this.date.setMilliseconds(this.date.getMilliseconds() + 1);
+ }
+
+ down() {
+ this.date.setMilliseconds(this.date.getMilliseconds() - 1);
+ }
+
+ setTo(val) {
+ this.date.setMilliseconds(parseInt(val.substr(-(this.token.length))));
+ }
+
+ toString() {
+ return String(this.date.getMilliseconds()).padStart(4, '0')
+ .substr(0, this.token.length);
+ }
+}
+
+module.exports = Milliseconds;
diff --git a/includes/langcheck/node_modules/prompts/lib/dateparts/minutes.js b/includes/langcheck/node_modules/prompts/lib/dateparts/minutes.js
new file mode 100644
index 0000000..aa1d8f7
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/lib/dateparts/minutes.js
@@ -0,0 +1,28 @@
+'use strict';
+
+const DatePart = require('./datepart');
+
+class Minutes extends DatePart {
+ constructor(opts={}) {
+ super(opts);
+ }
+
+ up() {
+ this.date.setMinutes(this.date.getMinutes() + 1);
+ }
+
+ down() {
+ this.date.setMinutes(this.date.getMinutes() - 1);
+ }
+
+ setTo(val) {
+ this.date.setMinutes(parseInt(val.substr(-2)));
+ }
+
+ toString() {
+ let m = this.date.getMinutes();
+ return this.token.length > 1 ? String(m).padStart(2, '0') : m;
+ }
+}
+
+module.exports = Minutes;
diff --git a/includes/langcheck/node_modules/prompts/lib/dateparts/month.js b/includes/langcheck/node_modules/prompts/lib/dateparts/month.js
new file mode 100644
index 0000000..f656455
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/lib/dateparts/month.js
@@ -0,0 +1,33 @@
+'use strict';
+
+const DatePart = require('./datepart');
+
+class Month extends DatePart {
+ constructor(opts={}) {
+ super(opts);
+ }
+
+ up() {
+ this.date.setMonth(this.date.getMonth() + 1);
+ }
+
+ down() {
+ this.date.setMonth(this.date.getMonth() - 1);
+ }
+
+ setTo(val) {
+ val = parseInt(val.substr(-2)) - 1;
+ this.date.setMonth(val < 0 ? 0 : val);
+ }
+
+ toString() {
+ let month = this.date.getMonth();
+ let tl = this.token.length;
+ return tl === 2 ? String(month + 1).padStart(2, '0')
+ : tl === 3 ? this.locales.monthsShort[month]
+ : tl === 4 ? this.locales.months[month]
+ : String(month + 1);
+ }
+}
+
+module.exports = Month;
diff --git a/includes/langcheck/node_modules/prompts/lib/dateparts/seconds.js b/includes/langcheck/node_modules/prompts/lib/dateparts/seconds.js
new file mode 100644
index 0000000..0c1a1a4
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/lib/dateparts/seconds.js
@@ -0,0 +1,28 @@
+'use strict';
+
+const DatePart = require('./datepart');
+
+class Seconds extends DatePart {
+ constructor(opts={}) {
+ super(opts);
+ }
+
+ up() {
+ this.date.setSeconds(this.date.getSeconds() + 1);
+ }
+
+ down() {
+ this.date.setSeconds(this.date.getSeconds() - 1);
+ }
+
+ setTo(val) {
+ this.date.setSeconds(parseInt(val.substr(-2)));
+ }
+
+ toString() {
+ let s = this.date.getSeconds();
+ return this.token.length > 1 ? String(s).padStart(2, '0') : s;
+ }
+}
+
+module.exports = Seconds;
diff --git a/includes/langcheck/node_modules/prompts/lib/dateparts/year.js b/includes/langcheck/node_modules/prompts/lib/dateparts/year.js
new file mode 100644
index 0000000..f068e43
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/lib/dateparts/year.js
@@ -0,0 +1,28 @@
+'use strict';
+
+const DatePart = require('./datepart');
+
+class Year extends DatePart {
+ constructor(opts={}) {
+ super(opts);
+ }
+
+ up() {
+ this.date.setFullYear(this.date.getFullYear() + 1);
+ }
+
+ down() {
+ this.date.setFullYear(this.date.getFullYear() - 1);
+ }
+
+ setTo(val) {
+ this.date.setFullYear(val.substr(-4));
+ }
+
+ toString() {
+ let year = String(this.date.getFullYear()).padStart(4, '0');
+ return this.token.length === 2 ? year.substr(-2) : year;
+ }
+}
+
+module.exports = Year;
diff --git a/includes/langcheck/node_modules/prompts/lib/elements/autocomplete.js b/includes/langcheck/node_modules/prompts/lib/elements/autocomplete.js
new file mode 100644
index 0000000..8e06da2
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/lib/elements/autocomplete.js
@@ -0,0 +1,264 @@
+'use strict';
+
+const color = require('kleur');
+const Prompt = require('./prompt');
+const { erase, cursor } = require('sisteransi');
+const { style, clear, figures, wrap, entriesToDisplay } = require('../util');
+
+const getVal = (arr, i) => arr[i] && (arr[i].value || arr[i].title || arr[i]);
+const getTitle = (arr, i) => arr[i] && (arr[i].title || arr[i].value || arr[i]);
+const getIndex = (arr, valOrTitle) => {
+ const index = arr.findIndex(el => el.value === valOrTitle || el.title === valOrTitle);
+ return index > -1 ? index : undefined;
+};
+
+/**
+ * TextPrompt Base Element
+ * @param {Object} opts Options
+ * @param {String} opts.message Message
+ * @param {Array} opts.choices Array of auto-complete choices objects
+ * @param {Function} [opts.suggest] Filter function. Defaults to sort by title
+ * @param {Number} [opts.limit=10] Max number of results to show
+ * @param {Number} [opts.cursor=0] Cursor start position
+ * @param {String} [opts.style='default'] Render style
+ * @param {String} [opts.fallback] Fallback message - initial to default value
+ * @param {String} [opts.initial] Index of the default value
+ * @param {Boolean} [opts.clearFirst] The first ESCAPE keypress will clear the input
+ * @param {Stream} [opts.stdin] The Readable stream to listen to
+ * @param {Stream} [opts.stdout] The Writable stream to write readline data to
+ * @param {String} [opts.noMatches] The no matches found label
+ */
+class AutocompletePrompt extends Prompt {
+ constructor(opts={}) {
+ super(opts);
+ this.msg = opts.message;
+ this.suggest = opts.suggest;
+ this.choices = opts.choices;
+ this.initial = typeof opts.initial === 'number'
+ ? opts.initial
+ : getIndex(opts.choices, opts.initial);
+ this.select = this.initial || opts.cursor || 0;
+ this.i18n = { noMatches: opts.noMatches || 'no matches found' };
+ this.fallback = opts.fallback || this.initial;
+ this.clearFirst = opts.clearFirst || false;
+ this.suggestions = [];
+ this.input = '';
+ this.limit = opts.limit || 10;
+ this.cursor = 0;
+ this.transform = style.render(opts.style);
+ this.scale = this.transform.scale;
+ this.render = this.render.bind(this);
+ this.complete = this.complete.bind(this);
+ this.clear = clear('', this.out.columns);
+ this.complete(this.render);
+ this.render();
+ }
+
+ set fallback(fb) {
+ this._fb = Number.isSafeInteger(parseInt(fb)) ? parseInt(fb) : fb;
+ }
+
+ get fallback() {
+ let choice;
+ if (typeof this._fb === 'number')
+ choice = this.choices[this._fb];
+ else if (typeof this._fb === 'string')
+ choice = { title: this._fb };
+ return choice || this._fb || { title: this.i18n.noMatches };
+ }
+
+ moveSelect(i) {
+ this.select = i;
+ if (this.suggestions.length > 0)
+ this.value = getVal(this.suggestions, i);
+ else this.value = this.fallback.value;
+ this.fire();
+ }
+
+ async complete(cb) {
+ const p = (this.completing = this.suggest(this.input, this.choices));
+ const suggestions = await p;
+
+ if (this.completing !== p) return;
+ this.suggestions = suggestions
+ .map((s, i, arr) => ({ title: getTitle(arr, i), value: getVal(arr, i), description: s.description }));
+ this.completing = false;
+ const l = Math.max(suggestions.length - 1, 0);
+ this.moveSelect(Math.min(l, this.select));
+
+ cb && cb();
+ }
+
+ reset() {
+ this.input = '';
+ this.complete(() => {
+ this.moveSelect(this.initial !== void 0 ? this.initial : 0);
+ this.render();
+ });
+ this.render();
+ }
+
+ exit() {
+ if (this.clearFirst && this.input.length > 0) {
+ this.reset();
+ } else {
+ this.done = this.exited = true;
+ this.aborted = false;
+ this.fire();
+ this.render();
+ this.out.write('\n');
+ this.close();
+ }
+ }
+
+ abort() {
+ this.done = this.aborted = true;
+ this.exited = false;
+ this.fire();
+ this.render();
+ this.out.write('\n');
+ this.close();
+ }
+
+ submit() {
+ this.done = true;
+ this.aborted = this.exited = false;
+ this.fire();
+ this.render();
+ this.out.write('\n');
+ this.close();
+ }
+
+ _(c, key) {
+ let s1 = this.input.slice(0, this.cursor);
+ let s2 = this.input.slice(this.cursor);
+ this.input = `${s1}${c}${s2}`;
+ this.cursor = s1.length+1;
+ this.complete(this.render);
+ this.render();
+ }
+
+ delete() {
+ if (this.cursor === 0) return this.bell();
+ let s1 = this.input.slice(0, this.cursor-1);
+ let s2 = this.input.slice(this.cursor);
+ this.input = `${s1}${s2}`;
+ this.complete(this.render);
+ this.cursor = this.cursor-1;
+ this.render();
+ }
+
+ deleteForward() {
+ if(this.cursor*this.scale >= this.rendered.length) return this.bell();
+ let s1 = this.input.slice(0, this.cursor);
+ let s2 = this.input.slice(this.cursor+1);
+ this.input = `${s1}${s2}`;
+ this.complete(this.render);
+ this.render();
+ }
+
+ first() {
+ this.moveSelect(0);
+ this.render();
+ }
+
+ last() {
+ this.moveSelect(this.suggestions.length - 1);
+ this.render();
+ }
+
+ up() {
+ if (this.select === 0) {
+ this.moveSelect(this.suggestions.length - 1);
+ } else {
+ this.moveSelect(this.select - 1);
+ }
+ this.render();
+ }
+
+ down() {
+ if (this.select === this.suggestions.length - 1) {
+ this.moveSelect(0);
+ } else {
+ this.moveSelect(this.select + 1);
+ }
+ this.render();
+ }
+
+ next() {
+ if (this.select === this.suggestions.length - 1) {
+ this.moveSelect(0);
+ } else this.moveSelect(this.select + 1);
+ this.render();
+ }
+
+ nextPage() {
+ this.moveSelect(Math.min(this.select + this.limit, this.suggestions.length - 1));
+ this.render();
+ }
+
+ prevPage() {
+ this.moveSelect(Math.max(this.select - this.limit, 0));
+ this.render();
+ }
+
+ left() {
+ if (this.cursor <= 0) return this.bell();
+ this.cursor = this.cursor-1;
+ this.render();
+ }
+
+ right() {
+ if (this.cursor*this.scale >= this.rendered.length) return this.bell();
+ this.cursor = this.cursor+1;
+ this.render();
+ }
+
+ renderOption(v, hovered, isStart, isEnd) {
+ let desc;
+ let prefix = isStart ? figures.arrowUp : isEnd ? figures.arrowDown : ' ';
+ let title = hovered ? color.cyan().underline(v.title) : v.title;
+ prefix = (hovered ? color.cyan(figures.pointer) + ' ' : ' ') + prefix;
+ if (v.description) {
+ desc = ` - ${v.description}`;
+ if (prefix.length + title.length + desc.length >= this.out.columns
+ || v.description.split(/\r?\n/).length > 1) {
+ desc = '\n' + wrap(v.description, { margin: 3, width: this.out.columns })
+ }
+ }
+ return prefix + ' ' + title + color.gray(desc || '');
+ }
+
+ render() {
+ if (this.closed) return;
+ if (this.firstRender) this.out.write(cursor.hide);
+ else this.out.write(clear(this.outputText, this.out.columns));
+ super.render();
+
+ let { startIndex, endIndex } = entriesToDisplay(this.select, this.choices.length, this.limit);
+
+ this.outputText = [
+ style.symbol(this.done, this.aborted, this.exited),
+ color.bold(this.msg),
+ style.delimiter(this.completing),
+ this.done && this.suggestions[this.select]
+ ? this.suggestions[this.select].title
+ : this.rendered = this.transform.render(this.input)
+ ].join(' ');
+
+ if (!this.done) {
+ const suggestions = this.suggestions
+ .slice(startIndex, endIndex)
+ .map((item, i) => this.renderOption(item,
+ this.select === i + startIndex,
+ i === 0 && startIndex > 0,
+ i + startIndex === endIndex - 1 && endIndex < this.choices.length))
+ .join('\n');
+ this.outputText += `\n` + (suggestions || color.gray(this.fallback.title));
+ }
+
+ this.out.write(erase.line + cursor.to(0) + this.outputText);
+ }
+}
+
+module.exports = AutocompletePrompt;
diff --git a/includes/langcheck/node_modules/prompts/lib/elements/autocompleteMultiselect.js b/includes/langcheck/node_modules/prompts/lib/elements/autocompleteMultiselect.js
new file mode 100644
index 0000000..b64510f
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/lib/elements/autocompleteMultiselect.js
@@ -0,0 +1,194 @@
+'use strict';
+
+const color = require('kleur');
+const { cursor } = require('sisteransi');
+const MultiselectPrompt = require('./multiselect');
+const { clear, style, figures } = require('../util');
+/**
+ * MultiselectPrompt Base Element
+ * @param {Object} opts Options
+ * @param {String} opts.message Message
+ * @param {Array} opts.choices Array of choice objects
+ * @param {String} [opts.hint] Hint to display
+ * @param {String} [opts.warn] Hint shown for disabled choices
+ * @param {Number} [opts.max] Max choices
+ * @param {Number} [opts.cursor=0] Cursor start position
+ * @param {Stream} [opts.stdin] The Readable stream to listen to
+ * @param {Stream} [opts.stdout] The Writable stream to write readline data to
+ */
+class AutocompleteMultiselectPrompt extends MultiselectPrompt {
+ constructor(opts={}) {
+ opts.overrideRender = true;
+ super(opts);
+ this.inputValue = '';
+ this.clear = clear('', this.out.columns);
+ this.filteredOptions = this.value;
+ this.render();
+ }
+
+ last() {
+ this.cursor = this.filteredOptions.length - 1;
+ this.render();
+ }
+ next() {
+ this.cursor = (this.cursor + 1) % this.filteredOptions.length;
+ this.render();
+ }
+
+ up() {
+ if (this.cursor === 0) {
+ this.cursor = this.filteredOptions.length - 1;
+ } else {
+ this.cursor--;
+ }
+ this.render();
+ }
+
+ down() {
+ if (this.cursor === this.filteredOptions.length - 1) {
+ this.cursor = 0;
+ } else {
+ this.cursor++;
+ }
+ this.render();
+ }
+
+ left() {
+ this.filteredOptions[this.cursor].selected = false;
+ this.render();
+ }
+
+ right() {
+ if (this.value.filter(e => e.selected).length >= this.maxChoices) return this.bell();
+ this.filteredOptions[this.cursor].selected = true;
+ this.render();
+ }
+
+ delete() {
+ if (this.inputValue.length) {
+ this.inputValue = this.inputValue.substr(0, this.inputValue.length - 1);
+ this.updateFilteredOptions();
+ }
+ }
+
+ updateFilteredOptions() {
+ const currentHighlight = this.filteredOptions[this.cursor];
+ this.filteredOptions = this.value
+ .filter(v => {
+ if (this.inputValue) {
+ if (typeof v.title === 'string') {
+ if (v.title.toLowerCase().includes(this.inputValue.toLowerCase())) {
+ return true;
+ }
+ }
+ if (typeof v.value === 'string') {
+ if (v.value.toLowerCase().includes(this.inputValue.toLowerCase())) {
+ return true;
+ }
+ }
+ return false;
+ }
+ return true;
+ });
+ const newHighlightIndex = this.filteredOptions.findIndex(v => v === currentHighlight)
+ this.cursor = newHighlightIndex < 0 ? 0 : newHighlightIndex;
+ this.render();
+ }
+
+ handleSpaceToggle() {
+ const v = this.filteredOptions[this.cursor];
+
+ if (v.selected) {
+ v.selected = false;
+ this.render();
+ } else if (v.disabled || this.value.filter(e => e.selected).length >= this.maxChoices) {
+ return this.bell();
+ } else {
+ v.selected = true;
+ this.render();
+ }
+ }
+
+ handleInputChange(c) {
+ this.inputValue = this.inputValue + c;
+ this.updateFilteredOptions();
+ }
+
+ _(c, key) {
+ if (c === ' ') {
+ this.handleSpaceToggle();
+ } else {
+ this.handleInputChange(c);
+ }
+ }
+
+ renderInstructions() {
+ if (this.instructions === undefined || this.instructions) {
+ if (typeof this.instructions === 'string') {
+ return this.instructions;
+ }
+ return `
+Instructions:
+ ${figures.arrowUp}/${figures.arrowDown}: Highlight option
+ ${figures.arrowLeft}/${figures.arrowRight}/[space]: Toggle selection
+ [a,b,c]/delete: Filter choices
+ enter/return: Complete answer
+`;
+ }
+ return '';
+ }
+
+ renderCurrentInput() {
+ return `
+Filtered results for: ${this.inputValue ? this.inputValue : color.gray('Enter something to filter')}\n`;
+ }
+
+ renderOption(cursor, v, i) {
+ let title;
+ if (v.disabled) title = cursor === i ? color.gray().underline(v.title) : color.strikethrough().gray(v.title);
+ else title = cursor === i ? color.cyan().underline(v.title) : v.title;
+ return (v.selected ? color.green(figures.radioOn) : figures.radioOff) + ' ' + title
+ }
+
+ renderDoneOrInstructions() {
+ if (this.done) {
+ return this.value
+ .filter(e => e.selected)
+ .map(v => v.title)
+ .join(', ');
+ }
+
+ const output = [color.gray(this.hint), this.renderInstructions(), this.renderCurrentInput()];
+
+ if (this.filteredOptions.length && this.filteredOptions[this.cursor].disabled) {
+ output.push(color.yellow(this.warn));
+ }
+ return output.join(' ');
+ }
+
+ render() {
+ if (this.closed) return;
+ if (this.firstRender) this.out.write(cursor.hide);
+ super.render();
+
+ // print prompt
+
+ let prompt = [
+ style.symbol(this.done, this.aborted),
+ color.bold(this.msg),
+ style.delimiter(false),
+ this.renderDoneOrInstructions()
+ ].join(' ');
+
+ if (this.showMinError) {
+ prompt += color.red(`You must select a minimum of ${this.minSelected} choices.`);
+ this.showMinError = false;
+ }
+ prompt += this.renderOptions(this.filteredOptions);
+
+ this.out.write(this.clear + prompt);
+ this.clear = clear(prompt, this.out.columns);
+ }
+}
+
+module.exports = AutocompleteMultiselectPrompt;
diff --git a/includes/langcheck/node_modules/prompts/lib/elements/confirm.js b/includes/langcheck/node_modules/prompts/lib/elements/confirm.js
new file mode 100644
index 0000000..7a9173f
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/lib/elements/confirm.js
@@ -0,0 +1,89 @@
+const color = require('kleur');
+const Prompt = require('./prompt');
+const { style, clear } = require('../util');
+const { erase, cursor } = require('sisteransi');
+
+/**
+ * ConfirmPrompt Base Element
+ * @param {Object} opts Options
+ * @param {String} opts.message Message
+ * @param {Boolean} [opts.initial] Default value (true/false)
+ * @param {Stream} [opts.stdin] The Readable stream to listen to
+ * @param {Stream} [opts.stdout] The Writable stream to write readline data to
+ * @param {String} [opts.yes] The "Yes" label
+ * @param {String} [opts.yesOption] The "Yes" option when choosing between yes/no
+ * @param {String} [opts.no] The "No" label
+ * @param {String} [opts.noOption] The "No" option when choosing between yes/no
+ */
+class ConfirmPrompt extends Prompt {
+ constructor(opts={}) {
+ super(opts);
+ this.msg = opts.message;
+ this.value = opts.initial;
+ this.initialValue = !!opts.initial;
+ this.yesMsg = opts.yes || 'yes';
+ this.yesOption = opts.yesOption || '(Y/n)';
+ this.noMsg = opts.no || 'no';
+ this.noOption = opts.noOption || '(y/N)';
+ this.render();
+ }
+
+ reset() {
+ this.value = this.initialValue;
+ this.fire();
+ this.render();
+ }
+
+ exit() {
+ this.abort();
+ }
+
+ abort() {
+ this.done = this.aborted = true;
+ this.fire();
+ this.render();
+ this.out.write('\n');
+ this.close();
+ }
+
+ submit() {
+ this.value = this.value || false;
+ this.done = true;
+ this.aborted = false;
+ this.fire();
+ this.render();
+ this.out.write('\n');
+ this.close();
+ }
+
+ _(c, key) {
+ if (c.toLowerCase() === 'y') {
+ this.value = true;
+ return this.submit();
+ }
+ if (c.toLowerCase() === 'n') {
+ this.value = false;
+ return this.submit();
+ }
+ return this.bell();
+ }
+
+ render() {
+ if (this.closed) return;
+ if (this.firstRender) this.out.write(cursor.hide);
+ else this.out.write(clear(this.outputText, this.out.columns));
+ super.render();
+
+ this.outputText = [
+ style.symbol(this.done, this.aborted),
+ color.bold(this.msg),
+ style.delimiter(this.done),
+ this.done ? (this.value ? this.yesMsg : this.noMsg)
+ : color.gray(this.initialValue ? this.yesOption : this.noOption)
+ ].join(' ');
+
+ this.out.write(erase.line + cursor.to(0) + this.outputText);
+ }
+}
+
+module.exports = ConfirmPrompt;
diff --git a/includes/langcheck/node_modules/prompts/lib/elements/date.js b/includes/langcheck/node_modules/prompts/lib/elements/date.js
new file mode 100644
index 0000000..71ff608
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/lib/elements/date.js
@@ -0,0 +1,209 @@
+'use strict';
+
+const color = require('kleur');
+const Prompt = require('./prompt');
+const { style, clear, figures } = require('../util');
+const { erase, cursor } = require('sisteransi');
+const { DatePart, Meridiem, Day, Hours, Milliseconds, Minutes, Month, Seconds, Year } = require('../dateparts');
+
+const regex = /\\(.)|"((?:\\["\\]|[^"])+)"|(D[Do]?|d{3,4}|d)|(M{1,4})|(YY(?:YY)?)|([aA])|([Hh]{1,2})|(m{1,2})|(s{1,2})|(S{1,4})|./g;
+const regexGroups = {
+ 1: ({token}) => token.replace(/\\(.)/g, '$1'),
+ 2: (opts) => new Day(opts), // Day // TODO
+ 3: (opts) => new Month(opts), // Month
+ 4: (opts) => new Year(opts), // Year
+ 5: (opts) => new Meridiem(opts), // AM/PM // TODO (special)
+ 6: (opts) => new Hours(opts), // Hours
+ 7: (opts) => new Minutes(opts), // Minutes
+ 8: (opts) => new Seconds(opts), // Seconds
+ 9: (opts) => new Milliseconds(opts), // Fractional seconds
+}
+
+const dfltLocales = {
+ months: 'January,February,March,April,May,June,July,August,September,October,November,December'.split(','),
+ monthsShort: 'Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec'.split(','),
+ weekdays: 'Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday'.split(','),
+ weekdaysShort: 'Sun,Mon,Tue,Wed,Thu,Fri,Sat'.split(',')
+}
+
+
+/**
+ * DatePrompt Base Element
+ * @param {Object} opts Options
+ * @param {String} opts.message Message
+ * @param {Number} [opts.initial] Index of default value
+ * @param {String} [opts.mask] The format mask
+ * @param {object} [opts.locales] The date locales
+ * @param {String} [opts.error] The error message shown on invalid value
+ * @param {Function} [opts.validate] Function to validate the submitted value
+ * @param {Stream} [opts.stdin] The Readable stream to listen to
+ * @param {Stream} [opts.stdout] The Writable stream to write readline data to
+ */
+class DatePrompt extends Prompt {
+ constructor(opts={}) {
+ super(opts);
+ this.msg = opts.message;
+ this.cursor = 0;
+ this.typed = '';
+ this.locales = Object.assign(dfltLocales, opts.locales);
+ this._date = opts.initial || new Date();
+ this.errorMsg = opts.error || 'Please Enter A Valid Value';
+ this.validator = opts.validate || (() => true);
+ this.mask = opts.mask || 'YYYY-MM-DD HH:mm:ss';
+ this.clear = clear('', this.out.columns);
+ this.render();
+ }
+
+ get value() {
+ return this.date
+ }
+
+ get date() {
+ return this._date;
+ }
+
+ set date(date) {
+ if (date) this._date.setTime(date.getTime());
+ }
+
+ set mask(mask) {
+ let result;
+ this.parts = [];
+ while(result = regex.exec(mask)) {
+ let match = result.shift();
+ let idx = result.findIndex(gr => gr != null);
+ this.parts.push(idx in regexGroups
+ ? regexGroups[idx]({ token: result[idx] || match, date: this.date, parts: this.parts, locales: this.locales })
+ : result[idx] || match);
+ }
+
+ let parts = this.parts.reduce((arr, i) => {
+ if (typeof i === 'string' && typeof arr[arr.length - 1] === 'string')
+ arr[arr.length - 1] += i;
+ else arr.push(i);
+ return arr;
+ }, []);
+
+ this.parts.splice(0);
+ this.parts.push(...parts);
+ this.reset();
+ }
+
+ moveCursor(n) {
+ this.typed = '';
+ this.cursor = n;
+ this.fire();
+ }
+
+ reset() {
+ this.moveCursor(this.parts.findIndex(p => p instanceof DatePart));
+ this.fire();
+ this.render();
+ }
+
+ exit() {
+ this.abort();
+ }
+
+ abort() {
+ this.done = this.aborted = true;
+ this.error = false;
+ this.fire();
+ this.render();
+ this.out.write('\n');
+ this.close();
+ }
+
+ async validate() {
+ let valid = await this.validator(this.value);
+ if (typeof valid === 'string') {
+ this.errorMsg = valid;
+ valid = false;
+ }
+ this.error = !valid;
+ }
+
+ async submit() {
+ await this.validate();
+ if (this.error) {
+ this.color = 'red';
+ this.fire();
+ this.render();
+ return;
+ }
+ this.done = true;
+ this.aborted = false;
+ this.fire();
+ this.render();
+ this.out.write('\n');
+ this.close();
+ }
+
+ up() {
+ this.typed = '';
+ this.parts[this.cursor].up();
+ this.render();
+ }
+
+ down() {
+ this.typed = '';
+ this.parts[this.cursor].down();
+ this.render();
+ }
+
+ left() {
+ let prev = this.parts[this.cursor].prev();
+ if (prev == null) return this.bell();
+ this.moveCursor(this.parts.indexOf(prev));
+ this.render();
+ }
+
+ right() {
+ let next = this.parts[this.cursor].next();
+ if (next == null) return this.bell();
+ this.moveCursor(this.parts.indexOf(next));
+ this.render();
+ }
+
+ next() {
+ let next = this.parts[this.cursor].next();
+ this.moveCursor(next
+ ? this.parts.indexOf(next)
+ : this.parts.findIndex((part) => part instanceof DatePart));
+ this.render();
+ }
+
+ _(c) {
+ if (/\d/.test(c)) {
+ this.typed += c;
+ this.parts[this.cursor].setTo(this.typed);
+ this.render();
+ }
+ }
+
+ render() {
+ if (this.closed) return;
+ if (this.firstRender) this.out.write(cursor.hide);
+ else this.out.write(clear(this.outputText, this.out.columns));
+ super.render();
+
+ // Print prompt
+ this.outputText = [
+ style.symbol(this.done, this.aborted),
+ color.bold(this.msg),
+ style.delimiter(false),
+ this.parts.reduce((arr, p, idx) => arr.concat(idx === this.cursor && !this.done ? color.cyan().underline(p.toString()) : p), [])
+ .join('')
+ ].join(' ');
+
+ // Print error
+ if (this.error) {
+ this.outputText += this.errorMsg.split('\n').reduce(
+ (a, l, i) => a + `\n${i ? ` ` : figures.pointerSmall} ${color.red().italic(l)}`, ``);
+ }
+
+ this.out.write(erase.line + cursor.to(0) + this.outputText);
+ }
+}
+
+module.exports = DatePrompt;
diff --git a/includes/langcheck/node_modules/prompts/lib/elements/index.js b/includes/langcheck/node_modules/prompts/lib/elements/index.js
new file mode 100644
index 0000000..2556dd0
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/lib/elements/index.js
@@ -0,0 +1,13 @@
+'use strict';
+
+module.exports = {
+ TextPrompt: require('./text'),
+ SelectPrompt: require('./select'),
+ TogglePrompt: require('./toggle'),
+ DatePrompt: require('./date'),
+ NumberPrompt: require('./number'),
+ MultiselectPrompt: require('./multiselect'),
+ AutocompletePrompt: require('./autocomplete'),
+ AutocompleteMultiselectPrompt: require('./autocompleteMultiselect'),
+ ConfirmPrompt: require('./confirm')
+};
diff --git a/includes/langcheck/node_modules/prompts/lib/elements/multiselect.js b/includes/langcheck/node_modules/prompts/lib/elements/multiselect.js
new file mode 100644
index 0000000..99b393f
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/lib/elements/multiselect.js
@@ -0,0 +1,271 @@
+'use strict';
+
+const color = require('kleur');
+const { cursor } = require('sisteransi');
+const Prompt = require('./prompt');
+const { clear, figures, style, wrap, entriesToDisplay } = require('../util');
+
+/**
+ * MultiselectPrompt Base Element
+ * @param {Object} opts Options
+ * @param {String} opts.message Message
+ * @param {Array} opts.choices Array of choice objects
+ * @param {String} [opts.hint] Hint to display
+ * @param {String} [opts.warn] Hint shown for disabled choices
+ * @param {Number} [opts.max] Max choices
+ * @param {Number} [opts.cursor=0] Cursor start position
+ * @param {Number} [opts.optionsPerPage=10] Max options to display at once
+ * @param {Stream} [opts.stdin] The Readable stream to listen to
+ * @param {Stream} [opts.stdout] The Writable stream to write readline data to
+ */
+class MultiselectPrompt extends Prompt {
+ constructor(opts={}) {
+ super(opts);
+ this.msg = opts.message;
+ this.cursor = opts.cursor || 0;
+ this.scrollIndex = opts.cursor || 0;
+ this.hint = opts.hint || '';
+ this.warn = opts.warn || '- This option is disabled -';
+ this.minSelected = opts.min;
+ this.showMinError = false;
+ this.maxChoices = opts.max;
+ this.instructions = opts.instructions;
+ this.optionsPerPage = opts.optionsPerPage || 10;
+ this.value = opts.choices.map((ch, idx) => {
+ if (typeof ch === 'string')
+ ch = {title: ch, value: idx};
+ return {
+ title: ch && (ch.title || ch.value || ch),
+ description: ch && ch.description,
+ value: ch && (ch.value === undefined ? idx : ch.value),
+ selected: ch && ch.selected,
+ disabled: ch && ch.disabled
+ };
+ });
+ this.clear = clear('', this.out.columns);
+ if (!opts.overrideRender) {
+ this.render();
+ }
+ }
+
+ reset() {
+ this.value.map(v => !v.selected);
+ this.cursor = 0;
+ this.fire();
+ this.render();
+ }
+
+ selected() {
+ return this.value.filter(v => v.selected);
+ }
+
+ exit() {
+ this.abort();
+ }
+
+ abort() {
+ this.done = this.aborted = true;
+ this.fire();
+ this.render();
+ this.out.write('\n');
+ this.close();
+ }
+
+ submit() {
+ const selected = this.value
+ .filter(e => e.selected);
+ if (this.minSelected && selected.length < this.minSelected) {
+ this.showMinError = true;
+ this.render();
+ } else {
+ this.done = true;
+ this.aborted = false;
+ this.fire();
+ this.render();
+ this.out.write('\n');
+ this.close();
+ }
+ }
+
+ first() {
+ this.cursor = 0;
+ this.render();
+ }
+
+ last() {
+ this.cursor = this.value.length - 1;
+ this.render();
+ }
+ next() {
+ this.cursor = (this.cursor + 1) % this.value.length;
+ this.render();
+ }
+
+ up() {
+ if (this.cursor === 0) {
+ this.cursor = this.value.length - 1;
+ } else {
+ this.cursor--;
+ }
+ this.render();
+ }
+
+ down() {
+ if (this.cursor === this.value.length - 1) {
+ this.cursor = 0;
+ } else {
+ this.cursor++;
+ }
+ this.render();
+ }
+
+ left() {
+ this.value[this.cursor].selected = false;
+ this.render();
+ }
+
+ right() {
+ if (this.value.filter(e => e.selected).length >= this.maxChoices) return this.bell();
+ this.value[this.cursor].selected = true;
+ this.render();
+ }
+
+ handleSpaceToggle() {
+ const v = this.value[this.cursor];
+
+ if (v.selected) {
+ v.selected = false;
+ this.render();
+ } else if (v.disabled || this.value.filter(e => e.selected).length >= this.maxChoices) {
+ return this.bell();
+ } else {
+ v.selected = true;
+ this.render();
+ }
+ }
+
+ toggleAll() {
+ if (this.maxChoices !== undefined || this.value[this.cursor].disabled) {
+ return this.bell();
+ }
+
+ const newSelected = !this.value[this.cursor].selected;
+ this.value.filter(v => !v.disabled).forEach(v => v.selected = newSelected);
+ this.render();
+ }
+
+ _(c, key) {
+ if (c === ' ') {
+ this.handleSpaceToggle();
+ } else if (c === 'a') {
+ this.toggleAll();
+ } else {
+ return this.bell();
+ }
+ }
+
+ renderInstructions() {
+ if (this.instructions === undefined || this.instructions) {
+ if (typeof this.instructions === 'string') {
+ return this.instructions;
+ }
+ return '\nInstructions:\n'
+ + ` ${figures.arrowUp}/${figures.arrowDown}: Highlight option\n`
+ + ` ${figures.arrowLeft}/${figures.arrowRight}/[space]: Toggle selection\n`
+ + (this.maxChoices === undefined ? ` a: Toggle all\n` : '')
+ + ` enter/return: Complete answer`;
+ }
+ return '';
+ }
+
+ renderOption(cursor, v, i, arrowIndicator) {
+ const prefix = (v.selected ? color.green(figures.radioOn) : figures.radioOff) + ' ' + arrowIndicator + ' ';
+ let title, desc;
+
+ if (v.disabled) {
+ title = cursor === i ? color.gray().underline(v.title) : color.strikethrough().gray(v.title);
+ } else {
+ title = cursor === i ? color.cyan().underline(v.title) : v.title;
+ if (cursor === i && v.description) {
+ desc = ` - ${v.description}`;
+ if (prefix.length + title.length + desc.length >= this.out.columns
+ || v.description.split(/\r?\n/).length > 1) {
+ desc = '\n' + wrap(v.description, { margin: prefix.length, width: this.out.columns });
+ }
+ }
+ }
+
+ return prefix + title + color.gray(desc || '');
+ }
+
+ // shared with autocompleteMultiselect
+ paginateOptions(options) {
+ if (options.length === 0) {
+ return color.red('No matches for this query.');
+ }
+
+ let { startIndex, endIndex } = entriesToDisplay(this.cursor, options.length, this.optionsPerPage);
+ let prefix, styledOptions = [];
+
+ for (let i = startIndex; i < endIndex; i++) {
+ if (i === startIndex && startIndex > 0) {
+ prefix = figures.arrowUp;
+ } else if (i === endIndex - 1 && endIndex < options.length) {
+ prefix = figures.arrowDown;
+ } else {
+ prefix = ' ';
+ }
+ styledOptions.push(this.renderOption(this.cursor, options[i], i, prefix));
+ }
+
+ return '\n' + styledOptions.join('\n');
+ }
+
+ // shared with autocomleteMultiselect
+ renderOptions(options) {
+ if (!this.done) {
+ return this.paginateOptions(options);
+ }
+ return '';
+ }
+
+ renderDoneOrInstructions() {
+ if (this.done) {
+ return this.value
+ .filter(e => e.selected)
+ .map(v => v.title)
+ .join(', ');
+ }
+
+ const output = [color.gray(this.hint), this.renderInstructions()];
+
+ if (this.value[this.cursor].disabled) {
+ output.push(color.yellow(this.warn));
+ }
+ return output.join(' ');
+ }
+
+ render() {
+ if (this.closed) return;
+ if (this.firstRender) this.out.write(cursor.hide);
+ super.render();
+
+ // print prompt
+ let prompt = [
+ style.symbol(this.done, this.aborted),
+ color.bold(this.msg),
+ style.delimiter(false),
+ this.renderDoneOrInstructions()
+ ].join(' ');
+ if (this.showMinError) {
+ prompt += color.red(`You must select a minimum of ${this.minSelected} choices.`);
+ this.showMinError = false;
+ }
+ prompt += this.renderOptions(this.value);
+
+ this.out.write(this.clear + prompt);
+ this.clear = clear(prompt, this.out.columns);
+ }
+}
+
+module.exports = MultiselectPrompt;
diff --git a/includes/langcheck/node_modules/prompts/lib/elements/number.js b/includes/langcheck/node_modules/prompts/lib/elements/number.js
new file mode 100644
index 0000000..dc3efe9
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/lib/elements/number.js
@@ -0,0 +1,213 @@
+const color = require('kleur');
+const Prompt = require('./prompt');
+const { cursor, erase } = require('sisteransi');
+const { style, figures, clear, lines } = require('../util');
+
+const isNumber = /[0-9]/;
+const isDef = any => any !== undefined;
+const round = (number, precision) => {
+ let factor = Math.pow(10, precision);
+ return Math.round(number * factor) / factor;
+}
+
+/**
+ * NumberPrompt Base Element
+ * @param {Object} opts Options
+ * @param {String} opts.message Message
+ * @param {String} [opts.style='default'] Render style
+ * @param {Number} [opts.initial] Default value
+ * @param {Number} [opts.max=+Infinity] Max value
+ * @param {Number} [opts.min=-Infinity] Min value
+ * @param {Boolean} [opts.float=false] Parse input as floats
+ * @param {Number} [opts.round=2] Round floats to x decimals
+ * @param {Number} [opts.increment=1] Number to increment by when using arrow-keys
+ * @param {Function} [opts.validate] Validate function
+ * @param {Stream} [opts.stdin] The Readable stream to listen to
+ * @param {Stream} [opts.stdout] The Writable stream to write readline data to
+ * @param {String} [opts.error] The invalid error label
+ */
+class NumberPrompt extends Prompt {
+ constructor(opts={}) {
+ super(opts);
+ this.transform = style.render(opts.style);
+ this.msg = opts.message;
+ this.initial = isDef(opts.initial) ? opts.initial : '';
+ this.float = !!opts.float;
+ this.round = opts.round || 2;
+ this.inc = opts.increment || 1;
+ this.min = isDef(opts.min) ? opts.min : -Infinity;
+ this.max = isDef(opts.max) ? opts.max : Infinity;
+ this.errorMsg = opts.error || `Please Enter A Valid Value`;
+ this.validator = opts.validate || (() => true);
+ this.color = `cyan`;
+ this.value = ``;
+ this.typed = ``;
+ this.lastHit = 0;
+ this.render();
+ }
+
+ set value(v) {
+ if (!v && v !== 0) {
+ this.placeholder = true;
+ this.rendered = color.gray(this.transform.render(`${this.initial}`));
+ this._value = ``;
+ } else {
+ this.placeholder = false;
+ this.rendered = this.transform.render(`${round(v, this.round)}`);
+ this._value = round(v, this.round);
+ }
+ this.fire();
+ }
+
+ get value() {
+ return this._value;
+ }
+
+ parse(x) {
+ return this.float ? parseFloat(x) : parseInt(x);
+ }
+
+ valid(c) {
+ return c === `-` || c === `.` && this.float || isNumber.test(c)
+ }
+
+ reset() {
+ this.typed = ``;
+ this.value = ``;
+ this.fire();
+ this.render();
+ }
+
+ exit() {
+ this.abort();
+ }
+
+ abort() {
+ let x = this.value;
+ this.value = x !== `` ? x : this.initial;
+ this.done = this.aborted = true;
+ this.error = false;
+ this.fire();
+ this.render();
+ this.out.write(`\n`);
+ this.close();
+ }
+
+ async validate() {
+ let valid = await this.validator(this.value);
+ if (typeof valid === `string`) {
+ this.errorMsg = valid;
+ valid = false;
+ }
+ this.error = !valid;
+ }
+
+ async submit() {
+ await this.validate();
+ if (this.error) {
+ this.color = `red`;
+ this.fire();
+ this.render();
+ return;
+ }
+ let x = this.value;
+ this.value = x !== `` ? x : this.initial;
+ this.done = true;
+ this.aborted = false;
+ this.error = false;
+ this.fire();
+ this.render();
+ this.out.write(`\n`);
+ this.close();
+ }
+
+ up() {
+ this.typed = ``;
+ if(this.value === '') {
+ this.value = this.min - this.inc;
+ }
+ if (this.value >= this.max) return this.bell();
+ this.value += this.inc;
+ this.color = `cyan`;
+ this.fire();
+ this.render();
+ }
+
+ down() {
+ this.typed = ``;
+ if(this.value === '') {
+ this.value = this.min + this.inc;
+ }
+ if (this.value <= this.min) return this.bell();
+ this.value -= this.inc;
+ this.color = `cyan`;
+ this.fire();
+ this.render();
+ }
+
+ delete() {
+ let val = this.value.toString();
+ if (val.length === 0) return this.bell();
+ this.value = this.parse((val = val.slice(0, -1))) || ``;
+ if (this.value !== '' && this.value < this.min) {
+ this.value = this.min;
+ }
+ this.color = `cyan`;
+ this.fire();
+ this.render();
+ }
+
+ next() {
+ this.value = this.initial;
+ this.fire();
+ this.render();
+ }
+
+ _(c, key) {
+ if (!this.valid(c)) return this.bell();
+
+ const now = Date.now();
+ if (now - this.lastHit > 1000) this.typed = ``; // 1s elapsed
+ this.typed += c;
+ this.lastHit = now;
+ this.color = `cyan`;
+
+ if (c === `.`) return this.fire();
+
+ this.value = Math.min(this.parse(this.typed), this.max);
+ if (this.value > this.max) this.value = this.max;
+ if (this.value < this.min) this.value = this.min;
+ this.fire();
+ this.render();
+ }
+
+ render() {
+ if (this.closed) return;
+ if (!this.firstRender) {
+ if (this.outputError)
+ this.out.write(cursor.down(lines(this.outputError, this.out.columns) - 1) + clear(this.outputError, this.out.columns));
+ this.out.write(clear(this.outputText, this.out.columns));
+ }
+ super.render();
+ this.outputError = '';
+
+ // Print prompt
+ this.outputText = [
+ style.symbol(this.done, this.aborted),
+ color.bold(this.msg),
+ style.delimiter(this.done),
+ !this.done || (!this.done && !this.placeholder)
+ ? color[this.color]().underline(this.rendered) : this.rendered
+ ].join(` `);
+
+ // Print error
+ if (this.error) {
+ this.outputError += this.errorMsg.split(`\n`)
+ .reduce((a, l, i) => a + `\n${i ? ` ` : figures.pointerSmall} ${color.red().italic(l)}`, ``);
+ }
+
+ this.out.write(erase.line + cursor.to(0) + this.outputText + cursor.save + this.outputError + cursor.restore);
+ }
+}
+
+module.exports = NumberPrompt;
diff --git a/includes/langcheck/node_modules/prompts/lib/elements/prompt.js b/includes/langcheck/node_modules/prompts/lib/elements/prompt.js
new file mode 100644
index 0000000..b793330
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/lib/elements/prompt.js
@@ -0,0 +1,68 @@
+'use strict';
+
+const readline = require('readline');
+const { action } = require('../util');
+const EventEmitter = require('events');
+const { beep, cursor } = require('sisteransi');
+const color = require('kleur');
+
+/**
+ * Base prompt skeleton
+ * @param {Stream} [opts.stdin] The Readable stream to listen to
+ * @param {Stream} [opts.stdout] The Writable stream to write readline data to
+ */
+class Prompt extends EventEmitter {
+ constructor(opts={}) {
+ super();
+
+ this.firstRender = true;
+ this.in = opts.stdin || process.stdin;
+ this.out = opts.stdout || process.stdout;
+ this.onRender = (opts.onRender || (() => void 0)).bind(this);
+ const rl = readline.createInterface({ input:this.in, escapeCodeTimeout:50 });
+ readline.emitKeypressEvents(this.in, rl);
+
+ if (this.in.isTTY) this.in.setRawMode(true);
+ const isSelect = [ 'SelectPrompt', 'MultiselectPrompt' ].indexOf(this.constructor.name) > -1;
+ const keypress = (str, key) => {
+ let a = action(key, isSelect);
+ if (a === false) {
+ this._ && this._(str, key);
+ } else if (typeof this[a] === 'function') {
+ this[a](key);
+ } else {
+ this.bell();
+ }
+ };
+
+ this.close = () => {
+ this.out.write(cursor.show);
+ this.in.removeListener('keypress', keypress);
+ if (this.in.isTTY) this.in.setRawMode(false);
+ rl.close();
+ this.emit(this.aborted ? 'abort' : this.exited ? 'exit' : 'submit', this.value);
+ this.closed = true;
+ };
+
+ this.in.on('keypress', keypress);
+ }
+
+ fire() {
+ this.emit('state', {
+ value: this.value,
+ aborted: !!this.aborted,
+ exited: !!this.exited
+ });
+ }
+
+ bell() {
+ this.out.write(beep);
+ }
+
+ render() {
+ this.onRender(color);
+ if (this.firstRender) this.firstRender = false;
+ }
+}
+
+module.exports = Prompt;
diff --git a/includes/langcheck/node_modules/prompts/lib/elements/select.js b/includes/langcheck/node_modules/prompts/lib/elements/select.js
new file mode 100644
index 0000000..6d6727f
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/lib/elements/select.js
@@ -0,0 +1,175 @@
+'use strict';
+
+const color = require('kleur');
+const Prompt = require('./prompt');
+const { style, clear, figures, wrap, entriesToDisplay } = require('../util');
+const { cursor } = require('sisteransi');
+
+/**
+ * SelectPrompt Base Element
+ * @param {Object} opts Options
+ * @param {String} opts.message Message
+ * @param {Array} opts.choices Array of choice objects
+ * @param {String} [opts.hint] Hint to display
+ * @param {Number} [opts.initial] Index of default value
+ * @param {Stream} [opts.stdin] The Readable stream to listen to
+ * @param {Stream} [opts.stdout] The Writable stream to write readline data to
+ * @param {Number} [opts.optionsPerPage=10] Max options to display at once
+ */
+class SelectPrompt extends Prompt {
+ constructor(opts={}) {
+ super(opts);
+ this.msg = opts.message;
+ this.hint = opts.hint || '- Use arrow-keys. Return to submit.';
+ this.warn = opts.warn || '- This option is disabled';
+ this.cursor = opts.initial || 0;
+ this.choices = opts.choices.map((ch, idx) => {
+ if (typeof ch === 'string')
+ ch = {title: ch, value: idx};
+ return {
+ title: ch && (ch.title || ch.value || ch),
+ value: ch && (ch.value === undefined ? idx : ch.value),
+ description: ch && ch.description,
+ selected: ch && ch.selected,
+ disabled: ch && ch.disabled
+ };
+ });
+ this.optionsPerPage = opts.optionsPerPage || 10;
+ this.value = (this.choices[this.cursor] || {}).value;
+ this.clear = clear('', this.out.columns);
+ this.render();
+ }
+
+ moveCursor(n) {
+ this.cursor = n;
+ this.value = this.choices[n].value;
+ this.fire();
+ }
+
+ reset() {
+ this.moveCursor(0);
+ this.fire();
+ this.render();
+ }
+
+ exit() {
+ this.abort();
+ }
+
+ abort() {
+ this.done = this.aborted = true;
+ this.fire();
+ this.render();
+ this.out.write('\n');
+ this.close();
+ }
+
+ submit() {
+ if (!this.selection.disabled) {
+ this.done = true;
+ this.aborted = false;
+ this.fire();
+ this.render();
+ this.out.write('\n');
+ this.close();
+ } else
+ this.bell();
+ }
+
+ first() {
+ this.moveCursor(0);
+ this.render();
+ }
+
+ last() {
+ this.moveCursor(this.choices.length - 1);
+ this.render();
+ }
+
+ up() {
+ if (this.cursor === 0) {
+ this.moveCursor(this.choices.length - 1);
+ } else {
+ this.moveCursor(this.cursor - 1);
+ }
+ this.render();
+ }
+
+ down() {
+ if (this.cursor === this.choices.length - 1) {
+ this.moveCursor(0);
+ } else {
+ this.moveCursor(this.cursor + 1);
+ }
+ this.render();
+ }
+
+ next() {
+ this.moveCursor((this.cursor + 1) % this.choices.length);
+ this.render();
+ }
+
+ _(c, key) {
+ if (c === ' ') return this.submit();
+ }
+
+ get selection() {
+ return this.choices[this.cursor];
+ }
+
+ render() {
+ if (this.closed) return;
+ if (this.firstRender) this.out.write(cursor.hide);
+ else this.out.write(clear(this.outputText, this.out.columns));
+ super.render();
+
+ let { startIndex, endIndex } = entriesToDisplay(this.cursor, this.choices.length, this.optionsPerPage);
+
+ // Print prompt
+ this.outputText = [
+ style.symbol(this.done, this.aborted),
+ color.bold(this.msg),
+ style.delimiter(false),
+ this.done ? this.selection.title : this.selection.disabled
+ ? color.yellow(this.warn) : color.gray(this.hint)
+ ].join(' ');
+
+ // Print choices
+ if (!this.done) {
+ this.outputText += '\n';
+ for (let i = startIndex; i < endIndex; i++) {
+ let title, prefix, desc = '', v = this.choices[i];
+
+ // Determine whether to display "more choices" indicators
+ if (i === startIndex && startIndex > 0) {
+ prefix = figures.arrowUp;
+ } else if (i === endIndex - 1 && endIndex < this.choices.length) {
+ prefix = figures.arrowDown;
+ } else {
+ prefix = ' ';
+ }
+
+ if (v.disabled) {
+ title = this.cursor === i ? color.gray().underline(v.title) : color.strikethrough().gray(v.title);
+ prefix = (this.cursor === i ? color.bold().gray(figures.pointer) + ' ' : ' ') + prefix;
+ } else {
+ title = this.cursor === i ? color.cyan().underline(v.title) : v.title;
+ prefix = (this.cursor === i ? color.cyan(figures.pointer) + ' ' : ' ') + prefix;
+ if (v.description && this.cursor === i) {
+ desc = ` - ${v.description}`;
+ if (prefix.length + title.length + desc.length >= this.out.columns
+ || v.description.split(/\r?\n/).length > 1) {
+ desc = '\n' + wrap(v.description, { margin: 3, width: this.out.columns });
+ }
+ }
+ }
+
+ this.outputText += `${prefix} ${title}${color.gray(desc)}\n`;
+ }
+ }
+
+ this.out.write(this.outputText);
+ }
+}
+
+module.exports = SelectPrompt;
diff --git a/includes/langcheck/node_modules/prompts/lib/elements/text.js b/includes/langcheck/node_modules/prompts/lib/elements/text.js
new file mode 100644
index 0000000..ee78181
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/lib/elements/text.js
@@ -0,0 +1,208 @@
+const color = require('kleur');
+const Prompt = require('./prompt');
+const { erase, cursor } = require('sisteransi');
+const { style, clear, lines, figures } = require('../util');
+
+/**
+ * TextPrompt Base Element
+ * @param {Object} opts Options
+ * @param {String} opts.message Message
+ * @param {String} [opts.style='default'] Render style
+ * @param {String} [opts.initial] Default value
+ * @param {Function} [opts.validate] Validate function
+ * @param {Stream} [opts.stdin] The Readable stream to listen to
+ * @param {Stream} [opts.stdout] The Writable stream to write readline data to
+ * @param {String} [opts.error] The invalid error label
+ */
+class TextPrompt extends Prompt {
+ constructor(opts={}) {
+ super(opts);
+ this.transform = style.render(opts.style);
+ this.scale = this.transform.scale;
+ this.msg = opts.message;
+ this.initial = opts.initial || ``;
+ this.validator = opts.validate || (() => true);
+ this.value = ``;
+ this.errorMsg = opts.error || `Please Enter A Valid Value`;
+ this.cursor = Number(!!this.initial);
+ this.cursorOffset = 0;
+ this.clear = clear(``, this.out.columns);
+ this.render();
+ }
+
+ set value(v) {
+ if (!v && this.initial) {
+ this.placeholder = true;
+ this.rendered = color.gray(this.transform.render(this.initial));
+ } else {
+ this.placeholder = false;
+ this.rendered = this.transform.render(v);
+ }
+ this._value = v;
+ this.fire();
+ }
+
+ get value() {
+ return this._value;
+ }
+
+ reset() {
+ this.value = ``;
+ this.cursor = Number(!!this.initial);
+ this.cursorOffset = 0;
+ this.fire();
+ this.render();
+ }
+
+ exit() {
+ this.abort();
+ }
+
+ abort() {
+ this.value = this.value || this.initial;
+ this.done = this.aborted = true;
+ this.error = false;
+ this.red = false;
+ this.fire();
+ this.render();
+ this.out.write('\n');
+ this.close();
+ }
+
+ async validate() {
+ let valid = await this.validator(this.value);
+ if (typeof valid === `string`) {
+ this.errorMsg = valid;
+ valid = false;
+ }
+ this.error = !valid;
+ }
+
+ async submit() {
+ this.value = this.value || this.initial;
+ this.cursorOffset = 0;
+ this.cursor = this.rendered.length;
+ await this.validate();
+ if (this.error) {
+ this.red = true;
+ this.fire();
+ this.render();
+ return;
+ }
+ this.done = true;
+ this.aborted = false;
+ this.fire();
+ this.render();
+ this.out.write('\n');
+ this.close();
+ }
+
+ next() {
+ if (!this.placeholder) return this.bell();
+ this.value = this.initial;
+ this.cursor = this.rendered.length;
+ this.fire();
+ this.render();
+ }
+
+ moveCursor(n) {
+ if (this.placeholder) return;
+ this.cursor = this.cursor+n;
+ this.cursorOffset += n;
+ }
+
+ _(c, key) {
+ let s1 = this.value.slice(0, this.cursor);
+ let s2 = this.value.slice(this.cursor);
+ this.value = `${s1}${c}${s2}`;
+ this.red = false;
+ this.cursor = this.placeholder ? 0 : s1.length+1;
+ this.render();
+ }
+
+ delete() {
+ if (this.isCursorAtStart()) return this.bell();
+ let s1 = this.value.slice(0, this.cursor-1);
+ let s2 = this.value.slice(this.cursor);
+ this.value = `${s1}${s2}`;
+ this.red = false;
+ if (this.isCursorAtStart()) {
+ this.cursorOffset = 0
+ } else {
+ this.cursorOffset++;
+ this.moveCursor(-1);
+ }
+ this.render();
+ }
+
+ deleteForward() {
+ if(this.cursor*this.scale >= this.rendered.length || this.placeholder) return this.bell();
+ let s1 = this.value.slice(0, this.cursor);
+ let s2 = this.value.slice(this.cursor+1);
+ this.value = `${s1}${s2}`;
+ this.red = false;
+ if (this.isCursorAtEnd()) {
+ this.cursorOffset = 0;
+ } else {
+ this.cursorOffset++;
+ }
+ this.render();
+ }
+
+ first() {
+ this.cursor = 0;
+ this.render();
+ }
+
+ last() {
+ this.cursor = this.value.length;
+ this.render();
+ }
+
+ left() {
+ if (this.cursor <= 0 || this.placeholder) return this.bell();
+ this.moveCursor(-1);
+ this.render();
+ }
+
+ right() {
+ if (this.cursor*this.scale >= this.rendered.length || this.placeholder) return this.bell();
+ this.moveCursor(1);
+ this.render();
+ }
+
+ isCursorAtStart() {
+ return this.cursor === 0 || (this.placeholder && this.cursor === 1);
+ }
+
+ isCursorAtEnd() {
+ return this.cursor === this.rendered.length || (this.placeholder && this.cursor === this.rendered.length + 1)
+ }
+
+ render() {
+ if (this.closed) return;
+ if (!this.firstRender) {
+ if (this.outputError)
+ this.out.write(cursor.down(lines(this.outputError, this.out.columns) - 1) + clear(this.outputError, this.out.columns));
+ this.out.write(clear(this.outputText, this.out.columns));
+ }
+ super.render();
+ this.outputError = '';
+
+ this.outputText = [
+ style.symbol(this.done, this.aborted),
+ color.bold(this.msg),
+ style.delimiter(this.done),
+ this.red ? color.red(this.rendered) : this.rendered
+ ].join(` `);
+
+ if (this.error) {
+ this.outputError += this.errorMsg.split(`\n`)
+ .reduce((a, l, i) => a + `\n${i ? ' ' : figures.pointerSmall} ${color.red().italic(l)}`, ``);
+ }
+
+ this.out.write(erase.line + cursor.to(0) + this.outputText + cursor.save + this.outputError + cursor.restore + cursor.move(this.cursorOffset, 0));
+ }
+}
+
+module.exports = TextPrompt; \ No newline at end of file
diff --git a/includes/langcheck/node_modules/prompts/lib/elements/toggle.js b/includes/langcheck/node_modules/prompts/lib/elements/toggle.js
new file mode 100644
index 0000000..bad612c
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/lib/elements/toggle.js
@@ -0,0 +1,118 @@
+const color = require('kleur');
+const Prompt = require('./prompt');
+const { style, clear } = require('../util');
+const { cursor, erase } = require('sisteransi');
+
+/**
+ * TogglePrompt Base Element
+ * @param {Object} opts Options
+ * @param {String} opts.message Message
+ * @param {Boolean} [opts.initial=false] Default value
+ * @param {String} [opts.active='no'] Active label
+ * @param {String} [opts.inactive='off'] Inactive label
+ * @param {Stream} [opts.stdin] The Readable stream to listen to
+ * @param {Stream} [opts.stdout] The Writable stream to write readline data to
+ */
+class TogglePrompt extends Prompt {
+ constructor(opts={}) {
+ super(opts);
+ this.msg = opts.message;
+ this.value = !!opts.initial;
+ this.active = opts.active || 'on';
+ this.inactive = opts.inactive || 'off';
+ this.initialValue = this.value;
+ this.render();
+ }
+
+ reset() {
+ this.value = this.initialValue;
+ this.fire();
+ this.render();
+ }
+
+ exit() {
+ this.abort();
+ }
+
+ abort() {
+ this.done = this.aborted = true;
+ this.fire();
+ this.render();
+ this.out.write('\n');
+ this.close();
+ }
+
+ submit() {
+ this.done = true;
+ this.aborted = false;
+ this.fire();
+ this.render();
+ this.out.write('\n');
+ this.close();
+ }
+
+ deactivate() {
+ if (this.value === false) return this.bell();
+ this.value = false;
+ this.render();
+ }
+
+ activate() {
+ if (this.value === true) return this.bell();
+ this.value = true;
+ this.render();
+ }
+
+ delete() {
+ this.deactivate();
+ }
+ left() {
+ this.deactivate();
+ }
+ right() {
+ this.activate();
+ }
+ down() {
+ this.deactivate();
+ }
+ up() {
+ this.activate();
+ }
+
+ next() {
+ this.value = !this.value;
+ this.fire();
+ this.render();
+ }
+
+ _(c, key) {
+ if (c === ' ') {
+ this.value = !this.value;
+ } else if (c === '1') {
+ this.value = true;
+ } else if (c === '0') {
+ this.value = false;
+ } else return this.bell();
+ this.render();
+ }
+
+ render() {
+ if (this.closed) return;
+ if (this.firstRender) this.out.write(cursor.hide);
+ else this.out.write(clear(this.outputText, this.out.columns));
+ super.render();
+
+ this.outputText = [
+ style.symbol(this.done, this.aborted),
+ color.bold(this.msg),
+ style.delimiter(this.done),
+ this.value ? this.inactive : color.cyan().underline(this.inactive),
+ color.gray('/'),
+ this.value ? color.cyan().underline(this.active) : this.active
+ ].join(' ');
+
+ this.out.write(erase.line + cursor.to(0) + this.outputText);
+ }
+}
+
+module.exports = TogglePrompt;
diff --git a/includes/langcheck/node_modules/prompts/lib/index.js b/includes/langcheck/node_modules/prompts/lib/index.js
new file mode 100644
index 0000000..a5374d5
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/lib/index.js
@@ -0,0 +1,98 @@
+'use strict';
+
+const prompts = require('./prompts');
+
+const passOn = ['suggest', 'format', 'onState', 'validate', 'onRender', 'type'];
+const noop = () => {};
+
+/**
+ * Prompt for a series of questions
+ * @param {Array|Object} questions Single question object or Array of question objects
+ * @param {Function} [onSubmit] Callback function called on prompt submit
+ * @param {Function} [onCancel] Callback function called on cancel/abort
+ * @returns {Object} Object with values from user input
+ */
+async function prompt(questions=[], { onSubmit=noop, onCancel=noop }={}) {
+ const answers = {};
+ const override = prompt._override || {};
+ questions = [].concat(questions);
+ let answer, question, quit, name, type, lastPrompt;
+
+ const getFormattedAnswer = async (question, answer, skipValidation = false) => {
+ if (!skipValidation && question.validate && question.validate(answer) !== true) {
+ return;
+ }
+ return question.format ? await question.format(answer, answers) : answer
+ };
+
+ for (question of questions) {
+ ({ name, type } = question);
+
+ // evaluate type first and skip if type is a falsy value
+ if (typeof type === 'function') {
+ type = await type(answer, { ...answers }, question)
+ question['type'] = type
+ }
+ if (!type) continue;
+
+ // if property is a function, invoke it unless it's a special function
+ for (let key in question) {
+ if (passOn.includes(key)) continue;
+ let value = question[key];
+ question[key] = typeof value === 'function' ? await value(answer, { ...answers }, lastPrompt) : value;
+ }
+
+ lastPrompt = question;
+
+ if (typeof question.message !== 'string') {
+ throw new Error('prompt message is required');
+ }
+
+ // update vars in case they changed
+ ({ name, type } = question);
+
+ if (prompts[type] === void 0) {
+ throw new Error(`prompt type (${type}) is not defined`);
+ }
+
+ if (override[question.name] !== undefined) {
+ answer = await getFormattedAnswer(question, override[question.name]);
+ if (answer !== undefined) {
+ answers[name] = answer;
+ continue;
+ }
+ }
+
+ try {
+ // Get the injected answer if there is one or prompt the user
+ answer = prompt._injected ? getInjectedAnswer(prompt._injected, question.initial) : await prompts[type](question);
+ answers[name] = answer = await getFormattedAnswer(question, answer, true);
+ quit = await onSubmit(question, answer, answers);
+ } catch (err) {
+ quit = !(await onCancel(question, answers));
+ }
+
+ if (quit) return answers;
+ }
+
+ return answers;
+}
+
+function getInjectedAnswer(injected, deafultValue) {
+ const answer = injected.shift();
+ if (answer instanceof Error) {
+ throw answer;
+ }
+
+ return (answer === undefined) ? deafultValue : answer;
+}
+
+function inject(answers) {
+ prompt._injected = (prompt._injected || []).concat(answers);
+}
+
+function override(answers) {
+ prompt._override = Object.assign({}, answers);
+}
+
+module.exports = Object.assign(prompt, { prompt, prompts, inject, override });
diff --git a/includes/langcheck/node_modules/prompts/lib/prompts.js b/includes/langcheck/node_modules/prompts/lib/prompts.js
new file mode 100644
index 0000000..9f62556
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/lib/prompts.js
@@ -0,0 +1,206 @@
+'use strict';
+const $ = exports;
+const el = require('./elements');
+const noop = v => v;
+
+function toPrompt(type, args, opts={}) {
+ return new Promise((res, rej) => {
+ const p = new el[type](args);
+ const onAbort = opts.onAbort || noop;
+ const onSubmit = opts.onSubmit || noop;
+ const onExit = opts.onExit || noop;
+ p.on('state', args.onState || noop);
+ p.on('submit', x => res(onSubmit(x)));
+ p.on('exit', x => res(onExit(x)));
+ p.on('abort', x => rej(onAbort(x)));
+ });
+}
+
+/**
+ * Text prompt
+ * @param {string} args.message Prompt message to display
+ * @param {string} [args.initial] Default string value
+ * @param {string} [args.style="default"] Render style ('default', 'password', 'invisible')
+ * @param {function} [args.onState] On state change callback
+ * @param {function} [args.validate] Function to validate user input
+ * @param {Stream} [args.stdin] The Readable stream to listen to
+ * @param {Stream} [args.stdout] The Writable stream to write readline data to
+ * @returns {Promise} Promise with user input
+ */
+$.text = args => toPrompt('TextPrompt', args);
+
+/**
+ * Password prompt with masked input
+ * @param {string} args.message Prompt message to display
+ * @param {string} [args.initial] Default string value
+ * @param {function} [args.onState] On state change callback
+ * @param {function} [args.validate] Function to validate user input
+ * @param {Stream} [args.stdin] The Readable stream to listen to
+ * @param {Stream} [args.stdout] The Writable stream to write readline data to
+ * @returns {Promise} Promise with user input
+ */
+$.password = args => {
+ args.style = 'password';
+ return $.text(args);
+};
+
+/**
+ * Prompt where input is invisible, like sudo
+ * @param {string} args.message Prompt message to display
+ * @param {string} [args.initial] Default string value
+ * @param {function} [args.onState] On state change callback
+ * @param {function} [args.validate] Function to validate user input
+ * @param {Stream} [args.stdin] The Readable stream to listen to
+ * @param {Stream} [args.stdout] The Writable stream to write readline data to
+ * @returns {Promise} Promise with user input
+ */
+$.invisible = args => {
+ args.style = 'invisible';
+ return $.text(args);
+};
+
+/**
+ * Number prompt
+ * @param {string} args.message Prompt message to display
+ * @param {number} args.initial Default number value
+ * @param {function} [args.onState] On state change callback
+ * @param {number} [args.max] Max value
+ * @param {number} [args.min] Min value
+ * @param {string} [args.style="default"] Render style ('default', 'password', 'invisible')
+ * @param {Boolean} [opts.float=false] Parse input as floats
+ * @param {Number} [opts.round=2] Round floats to x decimals
+ * @param {Number} [opts.increment=1] Number to increment by when using arrow-keys
+ * @param {function} [args.validate] Function to validate user input
+ * @param {Stream} [args.stdin] The Readable stream to listen to
+ * @param {Stream} [args.stdout] The Writable stream to write readline data to
+ * @returns {Promise} Promise with user input
+ */
+$.number = args => toPrompt('NumberPrompt', args);
+
+/**
+ * Date prompt
+ * @param {string} args.message Prompt message to display
+ * @param {number} args.initial Default number value
+ * @param {function} [args.onState] On state change callback
+ * @param {number} [args.max] Max value
+ * @param {number} [args.min] Min value
+ * @param {string} [args.style="default"] Render style ('default', 'password', 'invisible')
+ * @param {Boolean} [opts.float=false] Parse input as floats
+ * @param {Number} [opts.round=2] Round floats to x decimals
+ * @param {Number} [opts.increment=1] Number to increment by when using arrow-keys
+ * @param {function} [args.validate] Function to validate user input
+ * @param {Stream} [args.stdin] The Readable stream to listen to
+ * @param {Stream} [args.stdout] The Writable stream to write readline data to
+ * @returns {Promise} Promise with user input
+ */
+$.date = args => toPrompt('DatePrompt', args);
+
+/**
+ * Classic yes/no prompt
+ * @param {string} args.message Prompt message to display
+ * @param {boolean} [args.initial=false] Default value
+ * @param {function} [args.onState] On state change callback
+ * @param {Stream} [args.stdin] The Readable stream to listen to
+ * @param {Stream} [args.stdout] The Writable stream to write readline data to
+ * @returns {Promise} Promise with user input
+ */
+$.confirm = args => toPrompt('ConfirmPrompt', args);
+
+/**
+ * List prompt, split intput string by `seperator`
+ * @param {string} args.message Prompt message to display
+ * @param {string} [args.initial] Default string value
+ * @param {string} [args.style="default"] Render style ('default', 'password', 'invisible')
+ * @param {string} [args.separator] String separator
+ * @param {function} [args.onState] On state change callback
+ * @param {Stream} [args.stdin] The Readable stream to listen to
+ * @param {Stream} [args.stdout] The Writable stream to write readline data to
+ * @returns {Promise} Promise with user input, in form of an `Array`
+ */
+$.list = args => {
+ const sep = args.separator || ',';
+ return toPrompt('TextPrompt', args, {
+ onSubmit: str => str.split(sep).map(s => s.trim())
+ });
+};
+
+/**
+ * Toggle/switch prompt
+ * @param {string} args.message Prompt message to display
+ * @param {boolean} [args.initial=false] Default value
+ * @param {string} [args.active="on"] Text for `active` state
+ * @param {string} [args.inactive="off"] Text for `inactive` state
+ * @param {function} [args.onState] On state change callback
+ * @param {Stream} [args.stdin] The Readable stream to listen to
+ * @param {Stream} [args.stdout] The Writable stream to write readline data to
+ * @returns {Promise} Promise with user input
+ */
+$.toggle = args => toPrompt('TogglePrompt', args);
+
+/**
+ * Interactive select prompt
+ * @param {string} args.message Prompt message to display
+ * @param {Array} args.choices Array of choices objects `[{ title, value }, ...]`
+ * @param {number} [args.initial] Index of default value
+ * @param {String} [args.hint] Hint to display
+ * @param {function} [args.onState] On state change callback
+ * @param {Stream} [args.stdin] The Readable stream to listen to
+ * @param {Stream} [args.stdout] The Writable stream to write readline data to
+ * @returns {Promise} Promise with user input
+ */
+$.select = args => toPrompt('SelectPrompt', args);
+
+/**
+ * Interactive multi-select / autocompleteMultiselect prompt
+ * @param {string} args.message Prompt message to display
+ * @param {Array} args.choices Array of choices objects `[{ title, value, [selected] }, ...]`
+ * @param {number} [args.max] Max select
+ * @param {string} [args.hint] Hint to display user
+ * @param {Number} [args.cursor=0] Cursor start position
+ * @param {function} [args.onState] On state change callback
+ * @param {Stream} [args.stdin] The Readable stream to listen to
+ * @param {Stream} [args.stdout] The Writable stream to write readline data to
+ * @returns {Promise} Promise with user input
+ */
+$.multiselect = args => {
+ args.choices = [].concat(args.choices || []);
+ const toSelected = items => items.filter(item => item.selected).map(item => item.value);
+ return toPrompt('MultiselectPrompt', args, {
+ onAbort: toSelected,
+ onSubmit: toSelected
+ });
+};
+
+$.autocompleteMultiselect = args => {
+ args.choices = [].concat(args.choices || []);
+ const toSelected = items => items.filter(item => item.selected).map(item => item.value);
+ return toPrompt('AutocompleteMultiselectPrompt', args, {
+ onAbort: toSelected,
+ onSubmit: toSelected
+ });
+};
+
+const byTitle = (input, choices) => Promise.resolve(
+ choices.filter(item => item.title.slice(0, input.length).toLowerCase() === input.toLowerCase())
+);
+
+/**
+ * Interactive auto-complete prompt
+ * @param {string} args.message Prompt message to display
+ * @param {Array} args.choices Array of auto-complete choices objects `[{ title, value }, ...]`
+ * @param {Function} [args.suggest] Function to filter results based on user input. Defaults to sort by `title`
+ * @param {number} [args.limit=10] Max number of results to show
+ * @param {string} [args.style="default"] Render style ('default', 'password', 'invisible')
+ * @param {String} [args.initial] Index of the default value
+ * @param {boolean} [opts.clearFirst] The first ESCAPE keypress will clear the input
+ * @param {String} [args.fallback] Fallback message - defaults to initial value
+ * @param {function} [args.onState] On state change callback
+ * @param {Stream} [args.stdin] The Readable stream to listen to
+ * @param {Stream} [args.stdout] The Writable stream to write readline data to
+ * @returns {Promise} Promise with user input
+ */
+$.autocomplete = args => {
+ args.suggest = args.suggest || byTitle;
+ args.choices = [].concat(args.choices || []);
+ return toPrompt('AutocompletePrompt', args);
+};
diff --git a/includes/langcheck/node_modules/prompts/lib/util/action.js b/includes/langcheck/node_modules/prompts/lib/util/action.js
new file mode 100644
index 0000000..fefbd94
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/lib/util/action.js
@@ -0,0 +1,39 @@
+'use strict';
+
+module.exports = (key, isSelect) => {
+ if (key.meta && key.name !== 'escape') return;
+
+ if (key.ctrl) {
+ if (key.name === 'a') return 'first';
+ if (key.name === 'c') return 'abort';
+ if (key.name === 'd') return 'abort';
+ if (key.name === 'e') return 'last';
+ if (key.name === 'g') return 'reset';
+ }
+
+ if (isSelect) {
+ if (key.name === 'j') return 'down';
+ if (key.name === 'k') return 'up';
+ }
+
+ if (key.name === 'return') return 'submit';
+ if (key.name === 'enter') return 'submit'; // ctrl + J
+ if (key.name === 'backspace') return 'delete';
+ if (key.name === 'delete') return 'deleteForward';
+ if (key.name === 'abort') return 'abort';
+ if (key.name === 'escape') return 'exit';
+ if (key.name === 'tab') return 'next';
+ if (key.name === 'pagedown') return 'nextPage';
+ if (key.name === 'pageup') return 'prevPage';
+ // TODO create home() in prompt types (e.g. TextPrompt)
+ if (key.name === 'home') return 'home';
+ // TODO create end() in prompt types (e.g. TextPrompt)
+ if (key.name === 'end') return 'end';
+
+ if (key.name === 'up') return 'up';
+ if (key.name === 'down') return 'down';
+ if (key.name === 'right') return 'right';
+ if (key.name === 'left') return 'left';
+
+ return false;
+};
diff --git a/includes/langcheck/node_modules/prompts/lib/util/clear.js b/includes/langcheck/node_modules/prompts/lib/util/clear.js
new file mode 100644
index 0000000..e4772d5
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/lib/util/clear.js
@@ -0,0 +1,22 @@
+'use strict';
+
+const strip = require('./strip');
+const { erase, cursor } = require('sisteransi');
+
+const width = str => [...strip(str)].length;
+
+/**
+ * @param {string} prompt
+ * @param {number} perLine
+ */
+module.exports = function(prompt, perLine) {
+ if (!perLine) return erase.line + cursor.to(0);
+
+ let rows = 0;
+ const lines = prompt.split(/\r?\n/);
+ for (let line of lines) {
+ rows += 1 + Math.floor(Math.max(width(line) - 1, 0) / perLine);
+ }
+
+ return erase.lines(rows);
+};
diff --git a/includes/langcheck/node_modules/prompts/lib/util/entriesToDisplay.js b/includes/langcheck/node_modules/prompts/lib/util/entriesToDisplay.js
new file mode 100644
index 0000000..5f6efbb
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/lib/util/entriesToDisplay.js
@@ -0,0 +1,21 @@
+'use strict';
+
+/**
+ * Determine what entries should be displayed on the screen, based on the
+ * currently selected index and the maximum visible. Used in list-based
+ * prompts like `select` and `multiselect`.
+ *
+ * @param {number} cursor the currently selected entry
+ * @param {number} total the total entries available to display
+ * @param {number} [maxVisible] the number of entries that can be displayed
+ */
+module.exports = (cursor, total, maxVisible) => {
+ maxVisible = maxVisible || total;
+
+ let startIndex = Math.min(total- maxVisible, cursor - Math.floor(maxVisible / 2));
+ if (startIndex < 0) startIndex = 0;
+
+ let endIndex = Math.min(startIndex + maxVisible, total);
+
+ return { startIndex, endIndex };
+};
diff --git a/includes/langcheck/node_modules/prompts/lib/util/figures.js b/includes/langcheck/node_modules/prompts/lib/util/figures.js
new file mode 100644
index 0000000..cd31b88
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/lib/util/figures.js
@@ -0,0 +1,33 @@
+'use strict';
+
+ const main = {
+ arrowUp: '↑',
+ arrowDown: '↓',
+ arrowLeft: '←',
+ arrowRight: '→',
+ radioOn: '◉',
+ radioOff: '◯',
+ tick: '✔',
+ cross: '✖',
+ ellipsis: '…',
+ pointerSmall: '›',
+ line: '─',
+ pointer: '❯'
+};
+const win = {
+ arrowUp: main.arrowUp,
+ arrowDown: main.arrowDown,
+ arrowLeft: main.arrowLeft,
+ arrowRight: main.arrowRight,
+ radioOn: '(*)',
+ radioOff: '( )',
+ tick: '√',
+ cross: '×',
+ ellipsis: '...',
+ pointerSmall: '»',
+ line: '─',
+ pointer: '>'
+};
+const figures = process.platform === 'win32' ? win : main;
+
+ module.exports = figures;
diff --git a/includes/langcheck/node_modules/prompts/lib/util/index.js b/includes/langcheck/node_modules/prompts/lib/util/index.js
new file mode 100644
index 0000000..f815986
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/lib/util/index.js
@@ -0,0 +1,12 @@
+'use strict';
+
+module.exports = {
+ action: require('./action'),
+ clear: require('./clear'),
+ style: require('./style'),
+ strip: require('./strip'),
+ figures: require('./figures'),
+ lines: require('./lines'),
+ wrap: require('./wrap'),
+ entriesToDisplay: require('./entriesToDisplay')
+};
diff --git a/includes/langcheck/node_modules/prompts/lib/util/lines.js b/includes/langcheck/node_modules/prompts/lib/util/lines.js
new file mode 100644
index 0000000..de30419
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/lib/util/lines.js
@@ -0,0 +1,15 @@
+'use strict';
+
+const strip = require('./strip');
+
+/**
+ * @param {string} msg
+ * @param {number} perLine
+ */
+module.exports = function (msg, perLine) {
+ let lines = String(strip(msg) || '').split(/\r?\n/);
+
+ if (!perLine) return lines.length;
+ return lines.map(l => Math.ceil(l.length / perLine))
+ .reduce((a, b) => a + b);
+};
diff --git a/includes/langcheck/node_modules/prompts/lib/util/strip.js b/includes/langcheck/node_modules/prompts/lib/util/strip.js
new file mode 100644
index 0000000..8ebf4cb
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/lib/util/strip.js
@@ -0,0 +1,11 @@
+'use strict';
+
+module.exports = str => {
+ const pattern = [
+ '[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)',
+ '(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PRZcf-ntqry=><~]))'
+ ].join('|');
+
+ const RGX = new RegExp(pattern, 'g');
+ return typeof str === 'string' ? str.replace(RGX, '') : str;
+};
diff --git a/includes/langcheck/node_modules/prompts/lib/util/style.js b/includes/langcheck/node_modules/prompts/lib/util/style.js
new file mode 100644
index 0000000..1851cc7
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/lib/util/style.js
@@ -0,0 +1,40 @@
+'use strict';
+
+const c = require('kleur');
+const figures = require('./figures');
+
+// rendering user input.
+const styles = Object.freeze({
+ password: { scale: 1, render: input => '*'.repeat(input.length) },
+ emoji: { scale: 2, render: input => '😃'.repeat(input.length) },
+ invisible: { scale: 0, render: input => '' },
+ default: { scale: 1, render: input => `${input}` }
+});
+const render = type => styles[type] || styles.default;
+
+// icon to signalize a prompt.
+const symbols = Object.freeze({
+ aborted: c.red(figures.cross),
+ done: c.green(figures.tick),
+ exited: c.yellow(figures.cross),
+ default: c.cyan('?')
+});
+
+const symbol = (done, aborted, exited) =>
+ aborted ? symbols.aborted : exited ? symbols.exited : done ? symbols.done : symbols.default;
+
+// between the question and the user's input.
+const delimiter = completing =>
+ c.gray(completing ? figures.ellipsis : figures.pointerSmall);
+
+const item = (expandable, expanded) =>
+ c.gray(expandable ? (expanded ? figures.pointerSmall : '+') : figures.line);
+
+module.exports = {
+ styles,
+ render,
+ symbols,
+ symbol,
+ delimiter,
+ item
+};
diff --git a/includes/langcheck/node_modules/prompts/lib/util/wrap.js b/includes/langcheck/node_modules/prompts/lib/util/wrap.js
new file mode 100644
index 0000000..43b5399
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/lib/util/wrap.js
@@ -0,0 +1,27 @@
+'use strict';
+
+/**
+ * @param {string} msg The message to wrap
+ * @param {object} opts
+ * @param {number|string} [opts.margin] Left margin
+ * @param {number} opts.width Maximum characters per line including the margin
+ */
+module.exports = (msg, opts = {}) => {
+ const tab = Number.isSafeInteger(parseInt(opts.margin))
+ ? new Array(parseInt(opts.margin)).fill(' ').join('')
+ : (opts.margin || '');
+
+ const width = opts.width;
+
+ return (msg || '').split(/\r?\n/g)
+ .map(line => line
+ .split(/\s+/g)
+ .reduce((arr, w) => {
+ if (w.length + tab.length >= width || arr[arr.length - 1].length + w.length + 1 < width)
+ arr[arr.length - 1] += ` ${w}`;
+ else arr.push(`${tab}${w}`);
+ return arr;
+ }, [ tab ])
+ .join('\n'))
+ .join('\n');
+};
diff --git a/includes/langcheck/node_modules/prompts/license b/includes/langcheck/node_modules/prompts/license
new file mode 100644
index 0000000..13dc83c
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/license
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2018 Terkel Gjervig Nielsen
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/includes/langcheck/node_modules/prompts/package.json b/includes/langcheck/node_modules/prompts/package.json
new file mode 100644
index 0000000..f7ba84b
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/package.json
@@ -0,0 +1,53 @@
+{
+ "name": "prompts",
+ "version": "2.4.2",
+ "description": "Lightweight, beautiful and user-friendly prompts",
+ "license": "MIT",
+ "repository": "terkelg/prompts",
+ "main": "index.js",
+ "author": {
+ "name": "Terkel Gjervig",
+ "email": "terkel@terkel.com",
+ "url": "https://terkel.com"
+ },
+ "files": [
+ "lib",
+ "dist",
+ "index.js"
+ ],
+ "scripts": {
+ "start": "node lib/index.js",
+ "build": "babel lib -d dist",
+ "prepublishOnly": "npm run build",
+ "test": "tape test/*.js | tap-spec"
+ },
+ "keywords": [
+ "ui",
+ "prompts",
+ "cli",
+ "prompt",
+ "interface",
+ "command-line",
+ "input",
+ "command",
+ "stdin",
+ "menu",
+ "ask",
+ "interact"
+ ],
+ "dependencies": {
+ "kleur": "^3.0.3",
+ "sisteransi": "^1.0.5"
+ },
+ "devDependencies": {
+ "@babel/cli": "^7.12.1",
+ "@babel/core": "^7.12.3",
+ "@babel/plugin-proposal-object-rest-spread": "^7.12.1",
+ "@babel/preset-env": "^7.12.1",
+ "tap-spec": "^2.2.2",
+ "tape": "^4.13.3"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+}
diff --git a/includes/langcheck/node_modules/prompts/readme.md b/includes/langcheck/node_modules/prompts/readme.md
new file mode 100755
index 0000000..4a8b065
--- /dev/null
+++ b/includes/langcheck/node_modules/prompts/readme.md
@@ -0,0 +1,882 @@
+<p align="center">
+ <img src="https://github.com/terkelg/prompts/raw/master/prompts.png" alt="Prompts" width="500" />
+</p>
+
+<h1 align="center">❯ Prompts</h1>
+
+<p align="center">
+ <a href="https://npmjs.org/package/prompts">
+ <img src="https://img.shields.io/npm/v/prompts.svg" alt="version" />
+ </a>
+ <a href="https://travis-ci.org/terkelg/prompts">
+ <img src="https://img.shields.io/travis/terkelg/prompts.svg" alt="travis" />
+ </a>
+ <a href="https://npmjs.org/package/prompts">
+ <img src="https://img.shields.io/npm/dm/prompts.svg" alt="downloads" />
+ </a>
+ <!---
+ <a href="https://packagephobia.now.sh/result?p=prompts">
+ <img src="https://packagephobia.now.sh/badge?p=prompts" alt="install size" />
+ </a>
+ --->
+</p>
+
+<p align="center">
+ <b>Lightweight, beautiful and user-friendly interactive prompts</b><br />
+ <sub>>_ Easy to use CLI prompts to enquire users for information▌</sub>
+</p>
+
+<br />
+
+* **Simple**: prompts has [no big dependencies](http://npm.anvaka.com/#/view/2d/prompts) nor is it broken into a [dozen](http://npm.anvaka.com/#/view/2d/inquirer) tiny modules that only work well together.
+* **User friendly**: prompt uses layout and colors to create beautiful cli interfaces.
+* **Promised**: uses promises and `async`/`await`. No callback hell.
+* **Flexible**: all prompts are independent and can be used on their own.
+* **Testable**: provides a way to submit answers programmatically.
+* **Unified**: consistent experience across all [prompts](#-types).
+
+
+![split](https://github.com/terkelg/prompts/raw/master/media/split.png)
+
+
+## ❯ Install
+
+```
+$ npm install --save prompts
+```
+
+> This package supports Node 6 and above
+
+![split](https://github.com/terkelg/prompts/raw/master/media/split.png)
+
+## ❯ Usage
+
+<img src="https://github.com/terkelg/prompts/raw/master/media/example.gif" alt="example prompt" width="499" height="103" />
+
+```js
+const prompts = require('prompts');
+
+(async () => {
+ const response = await prompts({
+ type: 'number',
+ name: 'value',
+ message: 'How old are you?',
+ validate: value => value < 18 ? `Nightclub is 18+ only` : true
+ });
+
+ console.log(response); // => { value: 24 }
+})();
+```
+
+> See [`example.js`](https://github.com/terkelg/prompts/blob/master/example.js) for more options.
+
+
+![split](https://github.com/terkelg/prompts/raw/master/media/split.png)
+
+
+## ❯ Examples
+
+### Single Prompt
+
+Prompt with a single prompt object. Returns an object with the response.
+
+```js
+const prompts = require('prompts');
+
+(async () => {
+ const response = await prompts({
+ type: 'text',
+ name: 'meaning',
+ message: 'What is the meaning of life?'
+ });
+
+ console.log(response.meaning);
+})();
+```
+
+### Prompt Chain
+
+Prompt with a list of prompt objects. Returns an object with the responses.
+Make sure to give each prompt a unique `name` property to prevent overwriting values.
+
+```js
+const prompts = require('prompts');
+
+const questions = [
+ {
+ type: 'text',
+ name: 'username',
+ message: 'What is your GitHub username?'
+ },
+ {
+ type: 'number',
+ name: 'age',
+ message: 'How old are you?'
+ },
+ {
+ type: 'text',
+ name: 'about',
+ message: 'Tell something about yourself',
+ initial: 'Why should I?'
+ }
+];
+
+(async () => {
+ const response = await prompts(questions);
+
+ // => response => { username, age, about }
+})();
+```
+
+### Dynamic Prompts
+
+Prompt properties can be functions too.
+Prompt Objects with `type` set to `falsy` values are skipped.
+
+```js
+const prompts = require('prompts');
+
+const questions = [
+ {
+ type: 'text',
+ name: 'dish',
+ message: 'Do you like pizza?'
+ },
+ {
+ type: prev => prev == 'pizza' ? 'text' : null,
+ name: 'topping',
+ message: 'Name a topping'
+ }
+];
+
+(async () => {
+ const response = await prompts(questions);
+})();
+```
+
+
+![split](https://github.com/terkelg/prompts/raw/master/media/split.png)
+
+
+## ❯ API
+
+### prompts(prompts, options)
+
+Type: `Function`<br>
+Returns: `Object`
+
+Prompter function which takes your [prompt objects](#-prompt-objects) and returns an object with responses.
+
+
+#### prompts
+
+Type: `Array|Object`<br>
+
+Array of [prompt objects](#-prompt-objects).
+ These are the questions the user will be prompted. You can see the list of supported [prompt types here](#-types).
+
+Prompts can be submitted (<kbd>return</kbd>, <kbd>enter</kbd>) or canceled (<kbd>esc</kbd>, <kbd>abort</kbd>, <kbd>ctrl</kbd>+<kbd>c</kbd>, <kbd>ctrl</kbd>+<kbd>d</kbd>). No property is being defined on the returned response object when a prompt is canceled.
+
+#### options.onSubmit
+
+Type: `Function`<br>
+Default: `() => {}`
+
+Callback that's invoked after each prompt submission.
+Its signature is `(prompt, answer, answers)` where `prompt` is the current prompt object, `answer` the user answer to the current question and `answers` the user answers so far. Async functions are supported.
+
+Return `true` to quit the prompt chain and return all collected responses so far, otherwise continue to iterate prompt objects.
+
+**Example:**
+```js
+(async () => {
+ const questions = [{ ... }];
+ const onSubmit = (prompt, answer) => console.log(`Thanks I got ${answer} from ${prompt.name}`);
+ const response = await prompts(questions, { onSubmit });
+})();
+```
+
+#### options.onCancel
+
+Type: `Function`<br>
+Default: `() => {}`
+
+Callback that's invoked when the user cancels/exits the prompt.
+Its signature is `(prompt, answers)` where `prompt` is the current prompt object and `answers` the user answers so far. Async functions are supported.
+
+Return `true` to continue and prevent the prompt loop from aborting.
+On cancel responses collected so far are returned.
+
+**Example:**
+```js
+(async () => {
+ const questions = [{ ... }];
+ const onCancel = prompt => {
+ console.log('Never stop prompting!');
+ return true;
+ }
+ const response = await prompts(questions, { onCancel });
+})();
+```
+
+### override
+
+Type: `Function`
+
+Preanswer questions by passing an object with answers to `prompts.override`.
+Powerful when combined with arguments of process.
+
+**Example**
+```js
+const prompts = require('prompts');
+prompts.override(require('yargs').argv);
+
+(async () => {
+ const response = await prompts([
+ {
+ type: 'text',
+ name: 'twitter',
+ message: `What's your twitter handle?`
+ },
+ {
+ type: 'multiselect',
+ name: 'color',
+ message: 'Pick colors',
+ choices: [
+ { title: 'Red', value: '#ff0000' },
+ { title: 'Green', value: '#00ff00' },
+ { title: 'Blue', value: '#0000ff' }
+ ],
+ }
+ ]);
+
+ console.log(response);
+})();
+```
+
+### inject(values)
+
+Type: `Function`<br>
+
+Programmatically inject responses. This enables you to prepare the responses ahead of time.
+If any injected value is found the prompt is immediately resolved with the injected value.
+This feature is intended for testing only.
+
+#### values
+
+Type: `Array`
+
+Array with values to inject. Resolved values are removed from the internal inject array.
+Each value can be an array of values in order to provide answers for a question asked multiple times.
+If a value is an instance of `Error` it will simulate the user cancelling/exiting the prompt.
+
+**Example:**
+```js
+const prompts = require('prompts');
+
+prompts.inject([ '@terkelg', ['#ff0000', '#0000ff'] ]);
+
+(async () => {
+ const response = await prompts([
+ {
+ type: 'text',
+ name: 'twitter',
+ message: `What's your twitter handle?`
+ },
+ {
+ type: 'multiselect',
+ name: 'color',
+ message: 'Pick colors',
+ choices: [
+ { title: 'Red', value: '#ff0000' },
+ { title: 'Green', value: '#00ff00' },
+ { title: 'Blue', value: '#0000ff' }
+ ],
+ }
+ ]);
+
+ // => { twitter: 'terkelg', color: [ '#ff0000', '#0000ff' ] }
+})();
+```
+
+![split](https://github.com/terkelg/prompts/raw/master/media/split.png)
+
+
+## ❯ Prompt Objects
+
+Prompts Objects are JavaScript objects that define the "questions" and the [type of prompt](#-types).
+Almost all prompt objects have the following properties:
+
+```js
+{
+ type: String | Function,
+ name: String | Function,
+ message: String | Function,
+ initial: String | Function | Async Function
+ format: Function | Async Function,
+ onRender: Function
+ onState: Function
+ stdin: Readable
+ stdout: Writeable
+}
+```
+
+Each property be of type `function` and will be invoked right before prompting the user.
+
+The function signature is `(prev, values, prompt)`, where `prev` is the value from the previous prompt,
+`values` is the response object with all values collected so far and `prompt` is the previous prompt object.
+
+**Function example:**
+```js
+{
+ type: prev => prev > 3 ? 'confirm' : null,
+ name: 'confirm',
+ message: (prev, values) => `Please confirm that you eat ${values.dish} times ${prev} a day?`
+}
+```
+
+The above prompt will be skipped if the value of the previous prompt is less than 3.
+
+### type
+
+Type: `String|Function`
+
+Defines the type of prompt to display. See the list of [prompt types](#-types) for valid values.
+
+If `type` is a falsy value the prompter will skip that question.
+```js
+{
+ type: null,
+ name: 'forgetme',
+ message: `I'll never be shown anyway`,
+}
+```
+
+### name
+
+Type: `String|Function`
+
+The response will be saved under this key/property in the returned response object.
+In case you have multiple prompts with the same name only the latest response will be stored.
+
+> Make sure to give prompts unique names if you don't want to overwrite previous values.
+
+### message
+
+Type: `String|Function`
+
+The message to be displayed to the user.
+
+### initial
+
+Type: `String|Function`
+
+Optional default prompt value. Async functions are supported too.
+
+### format
+
+Type: `Function`
+
+Receive the user input and return the formatted value to be used inside the program.
+The value returned will be added to the response object.
+
+The function signature is `(val, values)`, where `val` is the value from the current prompt and
+`values` is the current response object in case you need to format based on previous responses.
+
+**Example:**
+```js
+{
+ type: 'number',
+ name: 'price',
+ message: 'Enter price',
+ format: val => Intl.NumberFormat(undefined, { style: 'currency', currency: 'USD' }).format(val);
+}
+```
+
+### onRender
+
+Type: `Function`
+
+Callback for when the prompt is rendered.
+The function receives [kleur](https://github.com/lukeed/kleur) as its first argument and `this` refers to the current prompt.
+
+**Example:**
+```js
+{
+ type: 'number',
+ message: 'This message will be overridden',
+ onRender(kleur) {
+ this.msg = kleur.cyan('Enter a number');
+ }
+}
+```
+
+### onState
+
+Type: `Function`
+
+Callback for when the state of the current prompt changes.
+The function signature is `(state)` where `state` is an object with a snapshot of the current state.
+The state object has two properties `value` and `aborted`. E.g `{ value: 'This is ', aborted: false }`
+
+### stdin and stdout
+
+Type: `Stream`
+
+By default, prompts uses `process.stdin` for receiving input and `process.stdout` for writing output.
+If you need to use different streams, for instance `process.stderr`, you can set these with the `stdin` and `stdout` properties.
+
+
+![split](https://github.com/terkelg/prompts/raw/master/media/split.png)
+
+
+## ❯ Types
+
+* [text](#textmessage-initial-style)
+* [password](#passwordmessage-initial)
+* [invisible](#invisiblemessage-initial)
+* [number](#numbermessage-initial-max-min-style)
+* [confirm](#confirmmessage-initial)
+* [list](#listmessage-initial)
+* [toggle](#togglemessage-initial-active-inactive)
+* [select](#selectmessage-choices-initial-hint-warn)
+* [multiselect](#multiselectmessage-choices-initial-max-hint-warn)
+* [autocompleteMultiselect](#multiselectmessage-choices-initial-max-hint-warn)
+* [autocomplete](#autocompletemessage-choices-initial-suggest-limit-style)
+* [date](#datemessage-initial-warn)
+
+***
+
+### text(message, [initial], [style])
+> Text prompt for free text input.
+
+Hit <kbd>tab</kbd> to autocomplete to `initial` value when provided.
+
+#### Example
+<img src="https://github.com/terkelg/prompts/raw/master/media/text.gif" alt="text prompt" width="499" height="103" />
+
+```js
+{
+ type: 'text',
+ name: 'value',
+ message: `What's your twitter handle?`
+}
+```
+
+#### Options
+| Param | Type | Description |
+| ----- | :--: | ----------- |
+| message | `string` | Prompt message to display |
+| initial | `string` | Default string value |
+| style | `string` | Render style (`default`, `password`, `invisible`, `emoji`). Defaults to `default` |
+| format | `function` | Receive user input. The returned value will be added to the response object |
+| validate | `function` | Receive user input. Should return `true` if the value is valid, and an error message `String` otherwise. If `false` is returned, a default error message is shown |
+| onRender | `function` | On render callback. Keyword `this` refers to the current prompt |
+| onState | `function` | On state change callback. Function signature is an `object` with two properties: `value` and `aborted` |
+
+**↑ back to:** [Prompt types](#-types)
+
+***
+
+### password(message, [initial])
+> Password prompt with masked input.
+
+This prompt is a similar to a prompt of type `'text'` with `style` set to `'password'`.
+
+#### Example
+<img src="https://github.com/terkelg/prompts/raw/master/media/password.gif" alt="password prompt" width="499" height="103" />
+
+```js
+{
+ type: 'password',
+ name: 'value',
+ message: 'Tell me a secret'
+}
+```
+
+#### Options
+| Param | Type | Description |
+| ----- | :--: | ----------- |
+| message | `string` | Prompt message to display |
+| initial | `string` | Default string value |
+| format | `function` | Receive user input. The returned value will be added to the response object |
+| validate | `function` | Receive user input. Should return `true` if the value is valid, and an error message `String` otherwise. If `false` is returned, a default error message is shown |
+| onRender | `function` | On render callback. Keyword `this` refers to the current prompt |
+| onState | `function` | On state change callback. Function signature is an `object` with two properties: `value` and `aborted` |
+
+**↑ back to:** [Prompt types](#-types)
+
+***
+
+### invisible(message, [initial])
+> Prompts user for invisible text input.
+
+This prompt is working like `sudo` where the input is invisible.
+This prompt is a similar to a prompt of type `'text'` with style set to `'invisible'`.
+
+#### Example
+<img src="https://github.com/terkelg/prompts/raw/master/media/invisible.gif" alt="invisible prompt" width="499" height="103" />
+
+```js
+{
+ type: 'invisible',
+ name: 'value',
+ message: 'Enter password'
+}
+```
+
+#### Options
+| Param | Type | Description |
+| ----- | :--: | ----------- |
+| message | `string` | Prompt message to display |
+| initial | `string` | Default string value |
+| format | `function` | Receive user input. The returned value will be added to the response object |
+| validate | `function` | Receive user input. Should return `true` if the value is valid, and an error message `String` otherwise. If `false` is returned, a default error message is shown |
+| onRender | `function` | On render callback. Keyword `this` refers to the current prompt |
+| onState | `function` | On state change callback. Function signature is an `object` with two properties: `value` and `aborted` |
+
+**↑ back to:** [Prompt types](#-types)
+
+***
+
+### number(message, initial, [max], [min], [style])
+> Prompts user for number input.
+
+You can type in numbers and use <kbd>up</kbd>/<kbd>down</kbd> to increase/decrease the value. Only numbers are allowed as input. Hit <kbd>tab</kbd> to autocomplete to `initial` value when provided.
+
+#### Example
+<img src="https://github.com/terkelg/prompts/raw/master/media/number.gif" alt="number prompt" width="499" height="103" />
+
+```js
+{
+ type: 'number',
+ name: 'value',
+ message: 'How old are you?',
+ initial: 0,
+ style: 'default',
+ min: 2,
+ max: 10
+}
+```
+
+#### Options
+| Param | Type | Description |
+| ----- | :--: | ----------- |
+| message | `string` | Prompt message to display |
+| initial | `number` | Default number value |
+| format | `function` | Receive user input. The returned value will be added to the response object |
+| validate | `function` | Receive user input. Should return `true` if the value is valid, and an error message `String` otherwise. If `false` is returned, a default error message is shown |
+| max | `number` | Max value. Defaults to `Infinity` |
+| min | `number` | Min value. Defaults to `-infinity` |
+| float | `boolean` | Allow floating point inputs. Defaults to `false` |
+| round | `number` | Round `float` values to x decimals. Defaults to `2` |
+| increment | `number` | Increment step when using <kbd>arrow</kbd> keys. Defaults to `1` |
+| style | `string` | Render style (`default`, `password`, `invisible`, `emoji`). Defaults to `default` |
+| onRender | `function` | On render callback. Keyword `this` refers to the current prompt |
+| onState | `function` | On state change callback. Function signature is an `object` with two properties: `value` and `aborted` |
+
+**↑ back to:** [Prompt types](#-types)
+
+***
+
+### confirm(message, [initial])
+> Classic yes/no prompt.
+
+Hit <kbd>y</kbd> or <kbd>n</kbd> to confirm/reject.
+
+#### Example
+<img src="https://github.com/terkelg/prompts/raw/master/media/confirm.gif" alt="confirm prompt" width="499" height="103" />
+
+```js
+{
+ type: 'confirm',
+ name: 'value',
+ message: 'Can you confirm?',
+ initial: true
+}
+```
+
+
+#### Options
+| Param | Type | Description |
+| ----- | :--: | ----------- |
+| message | `string` | Prompt message to display |
+| initial | `boolean` | Default value. Default is `false` |
+| format | `function` | Receive user input. The returned value will be added to the response object |
+| onRender | `function` | On render callback. Keyword `this` refers to the current prompt |
+| onState | `function` | On state change callback. Function signature is an `object` with two properties: `value` and `aborted` |
+
+**↑ back to:** [Prompt types](#-types)
+
+***
+
+### list(message, [initial])
+> List prompt that return an array.
+
+Similar to the `text` prompt, but the output is an `Array` containing the
+string separated by `separator`.
+
+```js
+{
+ type: 'list',
+ name: 'value',
+ message: 'Enter keywords',
+ initial: '',
+ separator: ','
+}
+```
+
+<img src="https://github.com/terkelg/prompts/raw/master/media/list.gif" alt="list prompt" width="499" height="103" />
+
+
+| Param | Type | Description |
+| ----- | :--: | ----------- |
+| message | `string` | Prompt message to display |
+| initial | `boolean` | Default value |
+| format | `function` | Receive user input. The returned value will be added to the response object |
+| separator | `string` | String separator. Will trim all white-spaces from start and end of string. Defaults to `','` |
+| onRender | `function` | On render callback. Keyword `this` refers to the current prompt |
+| onState | `function` | On state change callback. Function signature is an `object` with two properties: `value` and `aborted` |
+
+**↑ back to:** [Prompt types](#-types)
+
+***
+
+### toggle(message, [initial], [active], [inactive])
+> Interactive toggle/switch prompt.
+
+Use tab or <kbd>arrow keys</kbd>/<kbd>tab</kbd>/<kbd>space</kbd> to switch between options.
+
+#### Example
+<img src="https://github.com/terkelg/prompts/raw/master/media/toggle.gif" alt="toggle prompt" width="499" height="103" />
+
+```js
+{
+ type: 'toggle',
+ name: 'value',
+ message: 'Can you confirm?',
+ initial: true,
+ active: 'yes',
+ inactive: 'no'
+}
+```
+
+#### Options
+| Param | Type | Description |
+| ----- | :--: | ----------- |
+| message | `string` | Prompt message to display |
+| initial | `boolean` | Default value. Defaults to `false` |
+| format | `function` | Receive user input. The returned value will be added to the response object |
+| active | `string` | Text for `active` state. Defaults to `'on'` |
+| inactive | `string` | Text for `inactive` state. Defaults to `'off'` |
+| onRender | `function` | On render callback. Keyword `this` refers to the current prompt |
+| onState | `function` | On state change callback. Function signature is an `object` with two properties: `value` and `aborted` |
+
+**↑ back to:** [Prompt types](#-types)
+
+***
+
+### select(message, choices, [initial], [hint], [warn])
+> Interactive select prompt.
+
+Use <kbd>up</kbd>/<kbd>down</kbd> to navigate. Use <kbd>tab</kbd> to cycle the list.
+
+#### Example
+<img src="https://github.com/terkelg/prompts/raw/master/media/select.gif" alt="select prompt" width="499" height="130" />
+
+```js
+{
+ type: 'select',
+ name: 'value',
+ message: 'Pick a color',
+ choices: [
+ { title: 'Red', description: 'This option has a description', value: '#ff0000' },
+ { title: 'Green', value: '#00ff00', disabled: true },
+ { title: 'Blue', value: '#0000ff' }
+ ],
+ initial: 1
+}
+```
+
+#### Options
+| Param | Type | Description |
+| ----- | :--: | ----------- |
+| message | `string` | Prompt message to display |
+| initial | `number` | Index of default value |
+| format | `function` | Receive user input. The returned value will be added to the response object |
+| hint | `string` | Hint to display to the user |
+| warn | `string` | Message to display when selecting a disabled option |
+| choices | `Array` | Array of strings or choices objects `[{ title, description, value, disabled }, ...]`. The choice's index in the array will be used as its value if it is not specified. |
+| onRender | `function` | On render callback. Keyword `this` refers to the current prompt |
+| onState | `function` | On state change callback. Function signature is an `object` with two properties: `value` and `aborted` |
+
+**↑ back to:** [Prompt types](#-types)
+
+***
+
+### multiselect(message, choices, [initial], [max], [hint], [warn])
+### autocompleteMultiselect(same)
+> Interactive multi-select prompt.
+> Autocomplete is a searchable multiselect prompt with the same options. Useful for long lists.
+
+Use <kbd>space</kbd> to toggle select/unselect and <kbd>up</kbd>/<kbd>down</kbd> to navigate. Use <kbd>tab</kbd> to cycle the list. You can also use <kbd>right</kbd> to select and <kbd>left</kbd> to deselect.
+By default this prompt returns an `array` containing the **values** of the selected items - not their display title.
+
+#### Example
+<img src="https://github.com/terkelg/prompts/raw/master/media/multiselect.gif" alt="multiselect prompt" width="499" height="130" />
+
+```js
+{
+ type: 'multiselect',
+ name: 'value',
+ message: 'Pick colors',
+ choices: [
+ { title: 'Red', value: '#ff0000' },
+ { title: 'Green', value: '#00ff00', disabled: true },
+ { title: 'Blue', value: '#0000ff', selected: true }
+ ],
+ max: 2,
+ hint: '- Space to select. Return to submit'
+}
+```
+
+#### Options
+| Param | Type | Description |
+| ----- | :--: | ----------- |
+| message | `string` | Prompt message to display |
+| format | `function` | Receive user input. The returned value will be added to the response object |
+| instructions | `string` or `boolean` | Prompt instructions to display |
+| choices | `Array` | Array of strings or choices objects `[{ title, value, disabled }, ...]`. The choice's index in the array will be used as its value if it is not specified. |
+| optionsPerPage | `number` | Number of options displayed per page (default: 10) |
+| min | `number` | Min select - will display error |
+| max | `number` | Max select |
+| hint | `string` | Hint to display to the user |
+| warn | `string` | Message to display when selecting a disabled option |
+| onRender | `function` | On render callback. Keyword `this` refers to the current prompt |
+| onState | `function` | On state change callback. Function signature is an `object` with two properties: `value` and `aborted` |
+
+This is one of the few prompts that don't take a initial value.
+If you want to predefine selected values, give the choice object an `selected` property of `true`.
+
+**↑ back to:** [Prompt types](#-types)
+
+***
+
+### autocomplete(message, choices, [initial], [suggest], [limit], [style])
+> Interactive auto complete prompt.
+
+The prompt will list options based on user input. Type to filter the list.
+Use <kbd>⇧</kbd>/<kbd>⇩</kbd> to navigate. Use <kbd>tab</kbd> to cycle the result. Use <kbd>Page Up</kbd>/<kbd>Page Down</kbd> (on Mac: <kbd>fn</kbd> + <kbd>⇧</kbd> / <kbd>⇩</kbd>) to change page. Hit <kbd>enter</kbd> to select the highlighted item below the prompt.
+
+The default suggests function is sorting based on the `title` property of the choices.
+You can overwrite how choices are being filtered by passing your own suggest function.
+
+#### Example
+<img src="https://github.com/terkelg/prompts/raw/master/media/autocomplete.gif" alt="auto complete prompt" width="499" height="163" />
+
+```js
+{
+ type: 'autocomplete',
+ name: 'value',
+ message: 'Pick your favorite actor',
+ choices: [
+ { title: 'Cage' },
+ { title: 'Clooney', value: 'silver-fox' },
+ { title: 'Gyllenhaal' },
+ { title: 'Gibson' },
+ { title: 'Grant' }
+ ]
+}
+```
+
+#### Options
+| Param | Type | Description |
+| ----- | :--: | ----------- |
+| message | `string` | Prompt message to display |
+| format | `function` | Receive user input. The returned value will be added to the response object |
+| choices | `Array` | Array of auto-complete choices objects `[{ title, value }, ...]` |
+| suggest | `function` | Filter function. Defaults to sort by `title` property. `suggest` should always return a promise. Filters using `title` by default |
+| limit | `number` | Max number of results to show. Defaults to `10` |
+| style | `string` | Render style (`default`, `password`, `invisible`, `emoji`). Defaults to `'default'` |
+| initial | `string \| number` | Default initial value |
+| clearFirst | `boolean` | The first ESCAPE keypress will clear the input |
+| fallback | `string` | Fallback message when no match is found. Defaults to `initial` value if provided |
+| onRender | `function` | On render callback. Keyword `this` refers to the current prompt |
+| onState | `function` | On state change callback. Function signature is an `object` with three properties: `value`, `aborted` and `exited` |
+
+Example on what a `suggest` function might look like:
+```js
+const suggestByTitle = (input, choices) =>
+ Promise.resolve(choices.filter(i => i.title.slice(0, input.length) === input))
+```
+
+**↑ back to:** [Prompt types](#-types)
+
+***
+
+### date(message, [initial], [warn])
+> Interactive date prompt.
+
+Use <kbd>left</kbd>/<kbd>right</kbd>/<kbd>tab</kbd> to navigate. Use <kbd>up</kbd>/<kbd>down</kbd> to change date.
+
+#### Example
+<img src="https://github.com/terkelg/prompts/raw/master/media/date.gif" alt="date prompt" width="499" height="103" />
+
+```js
+{
+ type: 'date',
+ name: 'value',
+ message: 'Pick a date',
+ initial: new Date(1997, 09, 12),
+ validate: date => date > Date.now() ? 'Not in the future' : true
+}
+```
+
+#### Options
+| Param | Type | Description |
+| ----- | :--: | ----------- |
+| message | `string` | Prompt message to display |
+| initial | `date` | Default date |
+| locales | `object` | Use to define custom locales. See below for an example. |
+| mask | `string` | The format mask of the date. See below for more information.<br />Default: `YYYY-MM-DD HH:mm:ss` |
+| validate | `function` | Receive user input. Should return `true` if the value is valid, and an error message `String` otherwise. If `false` is returned, a default error message is shown |
+| onRender | `function` | On render callback. Keyword `this` refers to the current prompt |
+| onState | `function` | On state change callback. Function signature is an `object` with two properties: `value` and `aborted` |
+
+Default locales:
+
+```javascript
+{
+ months: [
+ 'January', 'February', 'March', 'April',
+ 'May', 'June', 'July', 'August',
+ 'September', 'October', 'November', 'December'
+ ],
+ monthsShort: [
+ 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',
+ 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'
+ ],
+ weekdays: [
+ 'Sunday', 'Monday', 'Tuesday', 'Wednesday',
+ 'Thursday', 'Friday', 'Saturday'
+ ],
+ weekdaysShort: [
+ 'Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'
+ ]
+}
+```
+>**Formatting**: See full list of formatting options in the [wiki](https://github.com/terkelg/prompts/wiki/Date-Time-Formatting)
+
+![split](https://github.com/terkelg/prompts/raw/master/media/split.png)
+
+**↑ back to:** [Prompt types](#-types)
+
+***
+
+## ❯ Credit
+Many of the prompts are based on the work of [derhuerst](https://github.com/derhuerst).
+
+
+## ❯ License
+
+MIT © [Terkel Gjervig](https://terkel.com)
diff --git a/includes/langcheck/node_modules/sisteransi/license b/includes/langcheck/node_modules/sisteransi/license
new file mode 100644
index 0000000..13dc83c
--- /dev/null
+++ b/includes/langcheck/node_modules/sisteransi/license
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2018 Terkel Gjervig Nielsen
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/includes/langcheck/node_modules/sisteransi/package.json b/includes/langcheck/node_modules/sisteransi/package.json
new file mode 100755
index 0000000..55a6476
--- /dev/null
+++ b/includes/langcheck/node_modules/sisteransi/package.json
@@ -0,0 +1,34 @@
+{
+ "name": "sisteransi",
+ "version": "1.0.5",
+ "description": "ANSI escape codes for some terminal swag",
+ "main": "src/index.js",
+ "license": "MIT",
+ "author": {
+ "name": "Terkel Gjervig",
+ "email": "terkel@terkel.com",
+ "url": "https://terkel.com"
+ },
+ "scripts": {
+ "test": "tape test/*.js | tap-spec"
+ },
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/terkelg/sisteransi"
+ },
+ "files": [
+ "src"
+ ],
+ "types": "./src/sisteransi.d.ts",
+ "keywords": [
+ "ansi",
+ "escape codes",
+ "escape",
+ "terminal",
+ "style"
+ ],
+ "devDependencies": {
+ "tap-spec": "^5.0.0",
+ "tape": "^4.13.2"
+ }
+}
diff --git a/includes/langcheck/node_modules/sisteransi/readme.md b/includes/langcheck/node_modules/sisteransi/readme.md
new file mode 100755
index 0000000..632f0d7
--- /dev/null
+++ b/includes/langcheck/node_modules/sisteransi/readme.md
@@ -0,0 +1,113 @@
+# sister ANSI [![Version](https://img.shields.io/npm/v/sisteransi.svg)](https://www.npmjs.com/package/sisteransi) [![Build Status](https://travis-ci.org/terkelg/sisteransi.svg?branch=master)](https://travis-ci.org/terkelg/sisteransi) [![Downloads](https://img.shields.io/npm/dm/sisteransi.svg)](https://www.npmjs.com/package/sisteransi)
+
+> Ansi escape codes faster than you can say "[Bam bam](https://www.youtube.com/watch?v=OcaPu9JPenU)".
+
+## Installation
+
+```
+npm install sisteransi
+```
+
+
+## Usage
+
+```js
+const ansi = require('sisteransi');
+// or const { cursor } = require('sisteransi');
+
+const p = str => process.stdout.write(str);
+
+// move cursor to 2, 1
+p(ansi.cursor.to(2, 1));
+
+// to up, one down
+p(ansi.cursor.up(2)+ansi.cursor.down(1));
+```
+
+## API
+
+### cursor
+
+#### to(x, y)
+Set the absolute position of the cursor. `x0` `y0` is the top left of the screen.
+
+#### move(x, y)
+Set the position of the cursor relative to its current position.
+
+#### up(count = 1)
+Move cursor up a specific amount of rows. Default is `1`.
+
+#### down(count = 1)
+Move cursor down a specific amount of rows. Default is `1`.
+
+#### forward(count = 1)
+Move cursor forward a specific amount of rows. Default is `1`.
+
+#### backward(count = 1)
+Move cursor backward a specific amount of rows. Default is `1`.
+
+#### nextLine(count = 1)
+Move cursor to the next line a specific amount of lines. Default is `1`.
+
+#### prevLine(count = 1)
+Move cursor to the previous a specific amount of lines. Default is `1`.
+
+#### left
+Move cursor to the left side.
+
+#### hide
+Hide cursor.
+
+#### show
+Show cursor.
+
+#### save
+
+Save cursor position.
+
+#### restore
+
+Restore cursor position.
+
+
+### scroll
+
+#### up(count = 1)
+Scroll display up a specific amount of lines. Default to `1`.
+
+#### down(count = 1)
+Scroll display down a specific amount of lines. Default to `1`.
+
+
+### erase
+
+#### screen
+Erase the screen and move the cursor the top left position.
+
+#### up(count = 1)
+Erase the screen from the current line up to the top of the screen. Default to `1`.
+
+#### down(count = 2)
+Erase the screen from the current line down to the bottom of the screen. Default to `1`.
+
+#### line
+Erase the entire current line.
+
+#### lineEnd
+Erase from the current cursor position to the end of the current line.
+
+#### lineStart
+Erase from the current cursor position to the start of the current line.
+
+#### lines(count)
+Erase from the current cursor position up the specified amount of rows.
+
+
+## Credit
+
+This is a fork of [ansi-escapes](https://github.com/sindresorhus/ansi-escapes).
+
+
+## License
+
+MIT © [Terkel Gjervig](https://terkel.com)
diff --git a/includes/langcheck/node_modules/sisteransi/src/index.js b/includes/langcheck/node_modules/sisteransi/src/index.js
new file mode 100644
index 0000000..7034e2e
--- /dev/null
+++ b/includes/langcheck/node_modules/sisteransi/src/index.js
@@ -0,0 +1,58 @@
+'use strict';
+
+const ESC = '\x1B';
+const CSI = `${ESC}[`;
+const beep = '\u0007';
+
+const cursor = {
+ to(x, y) {
+ if (!y) return `${CSI}${x + 1}G`;
+ return `${CSI}${y + 1};${x + 1}H`;
+ },
+ move(x, y) {
+ let ret = '';
+
+ if (x < 0) ret += `${CSI}${-x}D`;
+ else if (x > 0) ret += `${CSI}${x}C`;
+
+ if (y < 0) ret += `${CSI}${-y}A`;
+ else if (y > 0) ret += `${CSI}${y}B`;
+
+ return ret;
+ },
+ up: (count = 1) => `${CSI}${count}A`,
+ down: (count = 1) => `${CSI}${count}B`,
+ forward: (count = 1) => `${CSI}${count}C`,
+ backward: (count = 1) => `${CSI}${count}D`,
+ nextLine: (count = 1) => `${CSI}E`.repeat(count),
+ prevLine: (count = 1) => `${CSI}F`.repeat(count),
+ left: `${CSI}G`,
+ hide: `${CSI}?25l`,
+ show: `${CSI}?25h`,
+ save: `${ESC}7`,
+ restore: `${ESC}8`
+}
+
+const scroll = {
+ up: (count = 1) => `${CSI}S`.repeat(count),
+ down: (count = 1) => `${CSI}T`.repeat(count)
+}
+
+const erase = {
+ screen: `${CSI}2J`,
+ up: (count = 1) => `${CSI}1J`.repeat(count),
+ down: (count = 1) => `${CSI}J`.repeat(count),
+ line: `${CSI}2K`,
+ lineEnd: `${CSI}K`,
+ lineStart: `${CSI}1K`,
+ lines(count) {
+ let clear = '';
+ for (let i = 0; i < count; i++)
+ clear += this.line + (i < count - 1 ? cursor.up() : '');
+ if (count)
+ clear += cursor.left;
+ return clear;
+ }
+}
+
+module.exports = { cursor, scroll, erase, beep };
diff --git a/includes/langcheck/node_modules/sisteransi/src/sisteransi.d.ts b/includes/langcheck/node_modules/sisteransi/src/sisteransi.d.ts
new file mode 100644
index 0000000..113da2f
--- /dev/null
+++ b/includes/langcheck/node_modules/sisteransi/src/sisteransi.d.ts
@@ -0,0 +1,35 @@
+export const beep: string;
+export const clear: string;
+
+export namespace cursor {
+ export const left: string;
+ export const hide: string;
+ export const show: string;
+ export const save: string;
+ export const restore: string;
+
+ export function to(x: number, y?: number): string;
+ export function move(x: number, y: number): string;
+ export function up(count?: number): string;
+ export function down(count?: number): string;
+ export function forward(count?: number): string;
+ export function backward(count?: number): string;
+ export function nextLine(count?: number): string;
+ export function prevLine(count?: number): string;
+}
+
+export namespace scroll {
+ export function up(count?: number): string;
+ export function down(count?: number): string;
+}
+
+export namespace erase {
+ export const screen: string;
+ export const line: string;
+ export const lineEnd: string;
+ export const lineStart: string;
+
+ export function up(count?: number): string;
+ export function down(count?: number): string;
+ export function lines(count: number): string;
+}
diff --git a/includes/langcheck/node_modules/supports-color/browser.js b/includes/langcheck/node_modules/supports-color/browser.js
new file mode 100644
index 0000000..62afa3a
--- /dev/null
+++ b/includes/langcheck/node_modules/supports-color/browser.js
@@ -0,0 +1,5 @@
+'use strict';
+module.exports = {
+ stdout: false,
+ stderr: false
+};
diff --git a/includes/langcheck/node_modules/supports-color/index.js b/includes/langcheck/node_modules/supports-color/index.js
new file mode 100644
index 0000000..6fada39
--- /dev/null
+++ b/includes/langcheck/node_modules/supports-color/index.js
@@ -0,0 +1,135 @@
+'use strict';
+const os = require('os');
+const tty = require('tty');
+const hasFlag = require('has-flag');
+
+const {env} = process;
+
+let forceColor;
+if (hasFlag('no-color') ||
+ hasFlag('no-colors') ||
+ hasFlag('color=false') ||
+ hasFlag('color=never')) {
+ forceColor = 0;
+} else if (hasFlag('color') ||
+ hasFlag('colors') ||
+ hasFlag('color=true') ||
+ hasFlag('color=always')) {
+ forceColor = 1;
+}
+
+if ('FORCE_COLOR' in env) {
+ if (env.FORCE_COLOR === 'true') {
+ forceColor = 1;
+ } else if (env.FORCE_COLOR === 'false') {
+ forceColor = 0;
+ } else {
+ forceColor = env.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env.FORCE_COLOR, 10), 3);
+ }
+}
+
+function translateLevel(level) {
+ if (level === 0) {
+ return false;
+ }
+
+ return {
+ level,
+ hasBasic: true,
+ has256: level >= 2,
+ has16m: level >= 3
+ };
+}
+
+function supportsColor(haveStream, streamIsTTY) {
+ if (forceColor === 0) {
+ return 0;
+ }
+
+ if (hasFlag('color=16m') ||
+ hasFlag('color=full') ||
+ hasFlag('color=truecolor')) {
+ return 3;
+ }
+
+ if (hasFlag('color=256')) {
+ return 2;
+ }
+
+ if (haveStream && !streamIsTTY && forceColor === undefined) {
+ return 0;
+ }
+
+ const min = forceColor || 0;
+
+ if (env.TERM === 'dumb') {
+ return min;
+ }
+
+ if (process.platform === 'win32') {
+ // Windows 10 build 10586 is the first Windows release that supports 256 colors.
+ // Windows 10 build 14931 is the first release that supports 16m/TrueColor.
+ const osRelease = os.release().split('.');
+ if (
+ Number(osRelease[0]) >= 10 &&
+ Number(osRelease[2]) >= 10586
+ ) {
+ return Number(osRelease[2]) >= 14931 ? 3 : 2;
+ }
+
+ return 1;
+ }
+
+ if ('CI' in env) {
+ if (['TRAVIS', 'CIRCLECI', 'APPVEYOR', 'GITLAB_CI', 'GITHUB_ACTIONS', 'BUILDKITE'].some(sign => sign in env) || env.CI_NAME === 'codeship') {
+ return 1;
+ }
+
+ return min;
+ }
+
+ if ('TEAMCITY_VERSION' in env) {
+ return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
+ }
+
+ if (env.COLORTERM === 'truecolor') {
+ return 3;
+ }
+
+ if ('TERM_PROGRAM' in env) {
+ const version = parseInt((env.TERM_PROGRAM_VERSION || '').split('.')[0], 10);
+
+ switch (env.TERM_PROGRAM) {
+ case 'iTerm.app':
+ return version >= 3 ? 3 : 2;
+ case 'Apple_Terminal':
+ return 2;
+ // No default
+ }
+ }
+
+ if (/-256(color)?$/i.test(env.TERM)) {
+ return 2;
+ }
+
+ if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
+ return 1;
+ }
+
+ if ('COLORTERM' in env) {
+ return 1;
+ }
+
+ return min;
+}
+
+function getSupportLevel(stream) {
+ const level = supportsColor(stream, stream && stream.isTTY);
+ return translateLevel(level);
+}
+
+module.exports = {
+ supportsColor: getSupportLevel,
+ stdout: translateLevel(supportsColor(true, tty.isatty(1))),
+ stderr: translateLevel(supportsColor(true, tty.isatty(2)))
+};
diff --git a/includes/langcheck/node_modules/supports-color/license b/includes/langcheck/node_modules/supports-color/license
new file mode 100644
index 0000000..e7af2f7
--- /dev/null
+++ b/includes/langcheck/node_modules/supports-color/license
@@ -0,0 +1,9 @@
+MIT License
+
+Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/includes/langcheck/node_modules/supports-color/package.json b/includes/langcheck/node_modules/supports-color/package.json
new file mode 100644
index 0000000..f7182ed
--- /dev/null
+++ b/includes/langcheck/node_modules/supports-color/package.json
@@ -0,0 +1,53 @@
+{
+ "name": "supports-color",
+ "version": "7.2.0",
+ "description": "Detect whether a terminal supports color",
+ "license": "MIT",
+ "repository": "chalk/supports-color",
+ "author": {
+ "name": "Sindre Sorhus",
+ "email": "sindresorhus@gmail.com",
+ "url": "sindresorhus.com"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "scripts": {
+ "test": "xo && ava"
+ },
+ "files": [
+ "index.js",
+ "browser.js"
+ ],
+ "keywords": [
+ "color",
+ "colour",
+ "colors",
+ "terminal",
+ "console",
+ "cli",
+ "ansi",
+ "styles",
+ "tty",
+ "rgb",
+ "256",
+ "shell",
+ "xterm",
+ "command-line",
+ "support",
+ "supports",
+ "capability",
+ "detect",
+ "truecolor",
+ "16m"
+ ],
+ "dependencies": {
+ "has-flag": "^4.0.0"
+ },
+ "devDependencies": {
+ "ava": "^1.4.1",
+ "import-fresh": "^3.0.0",
+ "xo": "^0.24.0"
+ },
+ "browser": "browser.js"
+}
diff --git a/includes/langcheck/node_modules/supports-color/readme.md b/includes/langcheck/node_modules/supports-color/readme.md
new file mode 100644
index 0000000..3654228
--- /dev/null
+++ b/includes/langcheck/node_modules/supports-color/readme.md
@@ -0,0 +1,76 @@
+# supports-color [![Build Status](https://travis-ci.org/chalk/supports-color.svg?branch=master)](https://travis-ci.org/chalk/supports-color)
+
+> Detect whether a terminal supports color
+
+
+## Install
+
+```
+$ npm install supports-color
+```
+
+
+## Usage
+
+```js
+const supportsColor = require('supports-color');
+
+if (supportsColor.stdout) {
+ console.log('Terminal stdout supports color');
+}
+
+if (supportsColor.stdout.has256) {
+ console.log('Terminal stdout supports 256 colors');
+}
+
+if (supportsColor.stderr.has16m) {
+ console.log('Terminal stderr supports 16 million colors (truecolor)');
+}
+```
+
+
+## API
+
+Returns an `Object` with a `stdout` and `stderr` property for testing either streams. Each property is an `Object`, or `false` if color is not supported.
+
+The `stdout`/`stderr` objects specifies a level of support for color through a `.level` property and a corresponding flag:
+
+- `.level = 1` and `.hasBasic = true`: Basic color support (16 colors)
+- `.level = 2` and `.has256 = true`: 256 color support
+- `.level = 3` and `.has16m = true`: Truecolor support (16 million colors)
+
+
+## Info
+
+It obeys the `--color` and `--no-color` CLI flags.
+
+For situations where using `--color` is not possible, use the environment variable `FORCE_COLOR=1` (level 1), `FORCE_COLOR=2` (level 2), or `FORCE_COLOR=3` (level 3) to forcefully enable color, or `FORCE_COLOR=0` to forcefully disable. The use of `FORCE_COLOR` overrides all other color support checks.
+
+Explicit 256/Truecolor mode can be enabled using the `--color=256` and `--color=16m` flags, respectively.
+
+
+## Related
+
+- [supports-color-cli](https://github.com/chalk/supports-color-cli) - CLI for this module
+- [chalk](https://github.com/chalk/chalk) - Terminal string styling done right
+
+
+## Maintainers
+
+- [Sindre Sorhus](https://github.com/sindresorhus)
+- [Josh Junon](https://github.com/qix-)
+
+
+---
+
+<div align="center">
+ <b>
+ <a href="https://tidelift.com/subscription/pkg/npm-supports-color?utm_source=npm-supports-color&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a>
+ </b>
+ <br>
+ <sub>
+ Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.
+ </sub>
+</div>
+
+---
diff --git a/includes/langcheck/package-lock.json b/includes/langcheck/package-lock.json
new file mode 100644
index 0000000..79c978c
--- /dev/null
+++ b/includes/langcheck/package-lock.json
@@ -0,0 +1,102 @@
+{
+ "name": "langcheck",
+ "lockfileVersion": 3,
+ "requires": true,
+ "packages": {
+ "": {
+ "dependencies": {
+ "chalk": "^4.1.2",
+ "prompts": "^2.4.2"
+ }
+ },
+ "node_modules/ansi-styles": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
+ "dependencies": {
+ "color-convert": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ }
+ },
+ "node_modules/chalk": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
+ "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
+ "dependencies": {
+ "ansi-styles": "^4.1.0",
+ "supports-color": "^7.1.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/chalk?sponsor=1"
+ }
+ },
+ "node_modules/color-convert": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
+ "dependencies": {
+ "color-name": "~1.1.4"
+ },
+ "engines": {
+ "node": ">=7.0.0"
+ }
+ },
+ "node_modules/color-name": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
+ },
+ "node_modules/has-flag": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
+ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/kleur": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz",
+ "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/prompts": {
+ "version": "2.4.2",
+ "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz",
+ "integrity": "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==",
+ "dependencies": {
+ "kleur": "^3.0.3",
+ "sisteransi": "^1.0.5"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/sisteransi": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz",
+ "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg=="
+ },
+ "node_modules/supports-color": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
+ "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
+ "dependencies": {
+ "has-flag": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ }
+ }
+}
diff --git a/includes/langcheck/package.json b/includes/langcheck/package.json
new file mode 100644
index 0000000..893682a
--- /dev/null
+++ b/includes/langcheck/package.json
@@ -0,0 +1,6 @@
+{
+ "dependencies": {
+ "chalk": "^4.1.2",
+ "prompts": "^2.4.2"
+ }
+}
diff --git a/includes/langcheck/reviewed.txt b/includes/langcheck/reviewed.txt
new file mode 100644
index 0000000..b794498
--- /dev/null
+++ b/includes/langcheck/reviewed.txt
@@ -0,0 +1,662 @@
+en.json:/login/title(9d6322c1f4d9d3f38aed8bfbe0b2bcadf66ad82c008476fa62541fa069138e94):1526
+en.json:/login/title2(360597056a4cb6569bed6473695738f2d43ddb3cf6edfd987ace840ac624b713):938
+en.json:/login/notfound(0557d824ba7294beb48617092c3a3e120c983c7bb73a3d3b9e1b78845ea9b65a):4738
+en.json:/login/intro(3422e263369ac1209fae65c86192b5265ccb771511b4d09074d233715d0d0b78):7319
+en.json:/login/email(f2488fd4ef4adbc6ac61300083f2c33980e48bb4bbf3c540ad760d61fc36f420):977
+en.json:/login/continue(31fbef162594de01bab0cd525c51f74de7bcb15063029fa1a54b2cf5944c80d8):2385
+en.json:/login/code(b80a06b04040c587af91b50cc70d9aa0844391663ec07d7981fd0eeecc90e2de):7129
+en.json:/login/code2(340f463033e0fd5ddeabb922df4d4f1b5747494d0f5ed9894f13b6e13ca831f5):884
+en.json:/login/invalid(fe5aac41420afdd5461c59524c440cc8018d789fb59e04e44f83adcbd484474d):4246
+en.json:/login/back(eecd801752f5bb950bb26ddd43a1df7f15407583aabe47507fc10d8c5e814420):904
+en.json:/login/done(7d8a3a9d6b7375f75629c9d4a8fca315dd90f3a93b324e855c03f06f55bf1dea):20267
+en.json:/login/oobe(4ee5d56e60ad5db075a0f25902023579a9a6a1d73f3c5b3c6abefd38ce9f8049):1579
+en.json:/login/oobe2(570aaf3ba59201c94c1059611fa41a7e0400023458de099401f6ebb3f9de1242):6968
+en.json:/login/start(61e8d44ad423a4a0951b21b9d11440a1c23a881fe79335c367f63be251c64800):823
+en.json:/login/email2(cf3d315a7ce8320d00091fcf8ffc9295b8c90440d67462397870a6d10e976516):756
+en.json:/login/code3(fa4c4ca9c6d1037d183152f8b0ad56de6ce34b13f1b0078a1cc33288aa3eb7ac):874
+en.json:/login/finish(143b270a32602d412babf2724ec0640dda0d5a43485e5a7520b05b53fa94b303):699
+en.json:/login/auth/email(559a288b3ad93358baf68ad6b92dd69999e3810b80b5a1e01edb1ab48c60d5f7):1207
+en.json:/login/auth/hub(a8183079c2ac676d9bb9d9771ccaedb2ea4e92ffb1a662504ab88ff0043c19cb):1585
+en.json:/login/auth/apply(a5200fe17d7083f748ba967154386cd07c04386719e1f60bb6149a3068c65a08):1798
+en.json:/login/oauth2/notfound(6809d1b1f35e89dd5127f7575489b6ecc1cf12fa30c4eb241122101eb6b5183c):14667
+en.json:/login/eqd(11aaa14268df51b7aca21aedc98555fff705c70ad77081be885175382695049e):1219
+en.json:/login/captcha(2062528a4cd4ffb32105b1a330b41c57965804db3c8767698b10bb4646ab2fb2):2943
+en.json:/home/title(67b696468610b879ed7f224dbf6b0861f27e39d20454cb9d7af1ec52d3e5eeaa):927
+en.json:/home/greeting(185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969):768
+en.json:/home/date(d8e3cfde0fbd2968060aee2ae7cc14f89b8872b22bcbc23d586ec2b6c22ae4d9):1273
+en.json:/home/birthday(c8c3904e89a6ea0b4a0b9fba81b8a8b1debbdcf98883260aeeebb8b5c0614d76):2828
+en.json:/home/and(6201111b83a0cb5b0922cb37cc442b9a40e24e3b1ce100a4bb204f4c63fd2ac0):1352
+en.json:/home/name(2c79bfa12408c181c1baf2704aa54204104df0bfa830582bc141a72d1b022be1):1448
+en.json:/home/update(f027f188159b523e416d34b5ae0649a74ac567f90a93fec12f3ee451b55aaa10):821
+en.json:/home/family(42623b3dedae18de7c934dc21c7cdf0d9fef4e9f6dd2ad8d737412915e627dba):794
+en.json:/home/because(7d87a7182ee44adb548fc5acb5aff3bc4e1b8eac2cb110d223399e750c368848):1426
+en.json:/home/recent(474b2a869ac1477d2c174d764815230c13edb7a9d194d5aa8ea349c6d0c9dee2):892
+en.json:/home/editor(936a161c39314b0540fe7415d2ad16cadb631568c4ebc57d6cff60f14edc099d):859
+en.json:/time/display(43672cc90c8dbf2b6bd344a1ea7ae3dff0027aa990ba38e235251e31083a2956):2855
+en.json:/time/later(1d9283d848ea941ace1fe0d2378ef8b70056a0d4d1648b95a322d90163e78285):866
+en.json:/time/ago(1d8e08fd632682840b4159dd52d36b0d1c55cf6cac21097076474e5b43608cb4):486
+en.json:/time/now(ed5eb9a37e2d8231af3388319b941995f6dc8755c56043d0cc52b5fe405a87de):478
+en.json:/time/sec(16367aacb67a4a017c8da8ab95682ccb390863780f7114dda0a0e0c55644c7c4):765
+en.json:/time/less(2a21a708184b24bc9eee1f8107da89110dac4b21250c86b2d0d2958ffd27a724):762
+en.json:/time/mn(28cdd20eaf134a05f18369414cb2df5e36c6a4e4f551b8c9cff8548029c41d6c):781
+en.json:/time/hr(9ac0add475dd38e6ab3a3fb5ab4579c886eb654f57764210a352fd62e9dd9706):777
+en.json:/time/d(944c27e5b97ab7793e4b6e9ff29384890ece0c7c04d2e2bf81c5f763469cc66b):920
+en.json:/time/wk(6df37daaa46ce714fa410768b63f415dfad094df33eb34ac1af332074fd15a1c):828
+en.json:/time/mo(a5c7d1719e284f2c9485405d44f62d152cde9e6ede83e1a79a2442b65f6a8735):448
+en.json:/time/y(4cb4ea25583c25647247ae96fc90225d99ad7a6fabc3e2c2fd13c502e323cd9e):859
+en.json:/time/age(013f54400c82da08037759ada907a8b864e97de81c088a182062c4b5622fd2ab):729
+en.json:/time/today(e0f4f767ac88a9303e7317843ac20be980665a36f52397e5b26d4cc2bf54011d):601
+en.json:/time/yesterday(9523d9fbe79bcf3ee5f9f664a8041fa3cdba4b6b8bb902cb5ec335a5bf1ca769):843
+en.json:/time/update(60fc9aaf8202206b91aa952bde5befa270e507b62ea81835a1149ce21bb5f8ae):2231
+en.json:/time/update_user(cd335fad5102e348c67b37ade66a2d73f065cef26baa1933818873059aa981f6):2279
+en.json:/months/jan(37082e68df858e0ba76442174128811135890ae4c2c5df8b6f31aef5885d0be7):786
+en.json:/months/feb(c877c6ff405ec29ca3d090237af972c34926ffde7088da4839394b48931da888):500
+en.json:/months/mar(9d95a2cf0d7180b5089691163b188a7203b0cde179346b8cfaa8ab6c2c3e6414):815
+en.json:/months/apr(4afe6ea150d532c17693519cac32da104f47073d500d2507272d294d8590d3f8):562
+en.json:/months/may(8c78fe5b9936488c111733d36f3da4b246a4d206159efe5cd64cdb229c38f069):686
+en.json:/months/jun(d5808c0e0a479813fafc659ded78dcd18372dd71f3d0d5d52efdc940e6a384e8):494
+en.json:/months/jul(e9cf7a1ca4a760843ff30e1fbb125e6a066c63e883c58523bdbe04c9daf5dbae):652
+en.json:/months/aug(a66d8970e569a944234cbee8c414357fa6092c1ab779fbd637433f23e2a8abb8):670
+en.json:/months/sep(cd559ea0abca085ef144273caaf7266183bba222f39d894e74966fc04b8fff18):1055
+en.json:/months/oct(fdd791787b64d22386b9e4fe2fa037792bb86d9b2905f245626eda8e7450c4d4):822
+en.json:/months/nov(9de6fe1d72659daec67e919b0c473a24da5f03d3d096dc44ead1687240975f7c):506
+en.json:/months/dec(8fb204ca460968479407fe3f09b85a7500b2f4a20ca644e5f7822f53161f331a):1089
+en.json:/navigation/show(99af6606ff9d6cd5154d4d4e9c21e325086d3e904677cdb41d363c8a3480f862):1181
+en.json:/navigation/hide(7d9eb7acb13e24625c404401d8e88b2350e32162455885f18276cf802f7701ed):1321
+en.json:/navigation/people(7db20897053bb2780b9b706e5505227b005de80c236e4a4836aab37a3a7bb298):3178
+en.json:/navigation/articles(b14ac78a46e90b7137f90518d51ce3677cf078db540d60d17097b6c40e25abf2):1741
+en.json:/navigation/gallery(352cfc749e55222e135ee48e67631ba33f834d936c137560fd39063d2e57e5cb):936
+en.json:/login/done(15686c494fe96436f7c7c848dcc584152eba5cd2156be69092cdc95737c21651):468
+en.json:/navigation/events(8d14f6e72de8f18ab1ee5c5330f00653c0c3ce099e63024454f80af97e72d333):2651
+en.json:/navigation/search(49c266baaaa70981ea188fa714d5c40cf13830d786a861c9943ae0d26a7f3fe9):717
+en.json:/navigation/profile(d696a35bdd1883da07a8d6c41bb7a3153381b23aa197629ee273479a6eaa5a9c):534
+en.json:/navigation/messages(f62e9267d196c761f503dbffb17b9a52c4134de48b9959754c4bd78a9ad053b8):422
+en.json:/navigation/upgrade(7ec0261b8e8aa3e0b1affde5f18ca1930ae73d81a5303d667aae9ffd2803cbc7):409
+en.json:/navigation/beta(952146e9bbe63daeb79f0fb0e0f418f8882a42f86d9613756799e3e635c402e6):482
+en.json:/navigation/user/studio(e13cfc58cc090f36e934419dad168ac96e06f106d5c374a25b8b8ce7c5578ecf):657
+en.json:/navigation/user/dashboard(67b696468610b879ed7f224dbf6b0861f27e39d20454cb9d7af1ec52d3e5eeaa):498
+en.json:/navigation/user/profile(528d89ad72cba22e2d9d116befd3bb96a519f06b5f1147a2348d29fa6d1a2cbd):561
+en.json:/navigation/user/edit(5d2c6743b87ce9d80ddcf114c094d3d0570310ae7774ca5117633803ed96b1a9):502
+en.json:/navigation/user/subscriptions(a151f2e912fe8d5b31e07dae6315f861d39160480d78848a0cdadfb51f09d327):1807
+en.json:/navigation/user/requests(9979b415083238f7074ec3036cce9f5f362d1e125f265cf90fbe93f2240bfc6b):569
+en.json:/navigation/user/help(b79cac926e0b2e347e72cc91d5174037c9e17ae7733fd7bdb570f71b10cd7bfc):791
+en.json:/navigation/user/logout(49616145514e9abf1fc47d631fccccff2ed974cc260d38848181a07e0fa9972f):479
+en.json:/footer/legal(6980a89485b935520aafb78dcd39445b2bd2daafb43ece4ef858994f9b15f781):467
+en.json:/footer/privacy(ba445cff3898a3f24f415f90fbef1c8169ea21949a40680c5e1c5975843d1b5e):697
+en.json:/footer/terms(e69e06144877d81c91e6e3ebf9c53619eaa9a5e52b28e2b987fbe6c69e1ff1ae):602
+en.json:/footer/sales(e68f4fc24e711a5d9e25e5699319c785889c20ef8fb31f53a85f1521db3d723b):745
+en.json:/people/title(7db20897053bb2780b9b706e5505227b005de80c236e4a4836aab37a3a7bb298):1488
+en.json:/people/empty(7a0bb6c8e20fa44ab18e0a547214beb5ac2fc6ee9a3e0d0e714d6eef4eef0200):2326
+en.json:/people/state(a3b50c476732c7409d297c3d7d0e23569fee5e08318553ae76041ab5fe60582e):705
+en.json:/people/gender(a04630ef8bc3da8c864af0161fde9d42cc9c801a27228b3cf7c07237dec5a612):598
+en.json:/people/relations(ba39aabe5da59950f2613ffbe227e06b619cb600ad7e3ec2f7fd296f8edc5026):524
+en.json:/people/home(3a78695388b38b5cceefaf6796b0137877514593543b91af2752d5a17e3d736c):447
+en.json:/people/civil(98d0d2f1f00d99058c1a23d5b0cdde73bed4fac431523e629682780d90894aba):1026
+en.json:/people/birth(32eaeb6f806a08d0a7f22951666a2666ce63a42b7eb27cae196eac8a6e72a5fe):646
+en.json:/people/death(fcd6fea72de7e6c09ca2567674befdef61c04e783bd2e0f092aeb99c57e587e3):482
+en.json:/people/marriage(826a4390846316301d2e02487f1040015b14f207d0673fb080b3e698cec9560f):1652
+en.json:/people/studies(c0acecedfcc4b189b8b11ba5804b9fac0775bab0a8b2dc7017f0bc52e76d90e3):757
+en.json:/people/schools(af2e91296939b127fa0fec451894ce13292397008f69712a8437d87d42947fdf):532
+en.json:/people/diplomas(9ce4e9689c826e407c8d4d00b757824fa6518e08b7b11f5fc908d38d44f3cd38):815
+en.json:/people/level(34179b678fcc7e8d880b888e821ee00f679b6c42bdccb3ca56e16bcdc0338bc1):899
+en.json:/people/jobs(2f17a0f8d518e491c5a0c490b2c1991828dd87d173994ba40996e1da59d4e368):594
+en.json:/people/previousjobs(e10cc088d104ddae33b41f31607c3c4f95ba3f56bc3389a2b250173276c73f5c):601
+en.json:/people/currentjob(e30271c23670448248eb869f65dcd18810773c16caf48bd1f1574f27f40bb1d4):845
+en.json:/people/position(6d031af10da7a25e554bb21247f28f0e6cef77f1471175199e7fcc571964dc3d):646
+en.json:/people/workplace(7ff7869c79f5a6895e4032ef9b9568648e9733d1cd7a7853244097204d025e51):696
+en.json:/people/nextjob(b233c8fd1ed0d7e6588b970656e4b04d5a4ed7c541963107a7a63d0ecf0e58aa):814
+en.json:/people/culture(faf2dbb39ba34e5a5667b32841aa04abc1822032563a9017ba3e31368804ef37):982
+en.json:/people/religion(f8a52d21e659b0e9b473f4e23263def011931bad06bad2146f42b1f5d09c8132):649
+en.json:/people/languages(213758640906646b412a3fac140fe2a4caacb368f34bb5abda6a34a01bfd4d8d):1523
+en.json:/people/permits(aa2b49f799529321a088d4b1db9d56d46b37576fe4dee728e69987750a5cdbac):950
+en.json:/people/countries(aa456f29bbce9d06364907f63bdee91aed9b10194cd77641b4b36a02a4aed493):1092
+en.json:/people/dead(2cb272887fc048b8bb7a1deb3d2dd1f8df30816bcedab2518a7b7653ef2ef0a5):1051
+en.json:/people/notborn(5f13885bd2c8d02bd4172240b98a7c142cc9f89818cefaebfb477cb48e929347):424
+en.json:/people/alive(3032763b0e678458e373c225c5319c2b7f6a6abd4fac0b7add3d82394abd3705):488
+en.json:/people/invalid(d3c7d623b5b175387d9401ebfc0c38c634c66cc1c33305b4b4842ee4e4dcfc4f):519
+en.json:/people/female(e8cca808ae5aaa03a7fc3060856e6d4ad776fb1cb8cfe441a9bd240988cde151):700
+en.json:/people/male(03f8c1273e3da99bb315fe7b71c8e45159c826e6d3f42eecd4612078248f73a1):505
+en.json:/people/other(f97e9da0e3b879f0a9df979ae260a5f7e1371edb127c1862d4f861981166cdc1):587
+en.json:/people/transfemale(b1d426b0689da00dc077769ffaf3ea4628f4630d28d535dbe0145e823fed3269):714
+en.json:/people/transmale(4d14ec59264dc794d4d9b4d6a3bcb53838bcb7c98ff2b6b76e443ab4493214e3):467
+en.json:/people/delta(1ce912843cb5b7fe308421b26eef571daa258adad64034dbbf4cbaad8aefa124):624
+en.json:/people/update(b6a9eceb382062dc302b560ff21440206ef9c0398b157fb0f8c3dc6157b26bbb):512
+en.json:/people/notfound(e3ebaa16dd9d9b9fc107c42183fb6cf9d22927e1af03dbbdfa0ccc38e4e4ac31):720
+en.json:/people/parent(e47125968b3b71049fbc4802d1e40a71ea1359decfabacf70b34588037d4ff0c):736
+en.json:/people/sibling(7d10de8554ed5ca40f9d0f0e0f4375b5b338af3fb96d33c9b2f53b5289b8f4fe):684
+en.json:/people/child(ddc9e669194254cef019a29d3619a2c16592e5d52e1a81e98b01bd52319149a3):672
+en.json:/people/grandchild(713b4f18f0e1371cf3f9cef65ef1843b836a9f83305912faa18f122836816130):772
+en.json:/people/partner(7f3fa48ca885678134842fa7456f3ece53a97f843b610185d900ac4e467c7490):619
+en.json:/people/greatparent(68b8f014518125a10f354f6f075da86a0810eea1edbca05896e37ef8ed2aa08e):577
+en.json:/people/advanced/alive/female(3032763b0e678458e373c225c5319c2b7f6a6abd4fac0b7add3d82394abd3705):752
+en.json:/people/advanced/alive/male(3032763b0e678458e373c225c5319c2b7f6a6abd4fac0b7add3d82394abd3705):1068
+en.json:/people/advanced/notborn/female(5f13885bd2c8d02bd4172240b98a7c142cc9f89818cefaebfb477cb48e929347):754
+en.json:/people/advanced/notborn/male(5f13885bd2c8d02bd4172240b98a7c142cc9f89818cefaebfb477cb48e929347):673
+en.json:/people/advanced/dead/female(2cb272887fc048b8bb7a1deb3d2dd1f8df30816bcedab2518a7b7653ef2ef0a5):703
+en.json:/people/advanced/dead/male(2cb272887fc048b8bb7a1deb3d2dd1f8df30816bcedab2518a7b7653ef2ef0a5):520
+en.json:/people/advanced/partner/married-female(3908536141146c393575ab5189d67c6278aa5431eca473da1ac06bc90819c9d4):808
+en.json:/people/advanced/partner/married-male(0b02488a99bd12c9974ea4470674b61476b5efe29bb9339fdad47a9e711676b8):10134
+en.json:/people/advanced/partner/married-neutral(f9ce3beb80492facbec3586308e6590ef4b543c570a119d1e9b575f3b12ce197):818
+en.json:/people/advanced/partner/unmarried-female(ea92a6127bf34763b8fb83c9a0c1acc1c05885b049074a7ad2fa2d4bdfa3685d):1632
+en.json:/people/advanced/partner/unmarried-male(fa31ab947a903102a5c9ee3775b5059bbff94fd2dfbbc8d18305ca1c4014ea1e):502
+en.json:/people/advanced/parent/female(cf0622ef2a661cd2f11b0b644e40e4e00eb962918424a8c8ba53842fdf290235):730
+en.json:/people/advanced/parent/male(88a1881f0025cf7117501d07aefc5d4be6696656790d765678df8bc48ca52687):618
+en.json:/people/advanced/child/female(4ed28f82ca96c3342a5c591668270f78c26dae22fd953772a6c14e52f46e1b22):687
+en.json:/people/advanced/child/male(98aa6675482552881925fe70d82559692d811b3bcd33f53b9a702c24d5322696):554
+en.json:/people/advanced/grandchild/female(285a615116ddc631454086f35789f7ca66e16e74a6cc518b3808b52da2c0bf07):792
+en.json:/people/advanced/grandchild/male(8644c8af89f1a425dbde70e422cf0d84ea48be78a1de290509c492c151e287e4):558
+en.json:/people/advanced/greatparent/female(c04d87aa70a7d16530de692e0263668adc4847076051156d9ee6f08f441b008e):861
+en.json:/people/advanced/greatparent/male(7ab7049973595a7f356878ff9eff94df2435a05a2eb7be4b2522c0339aff5bd5):462
+en.json:/people/advanced/sibling/female(1980d3927f07fec9c8d727f187ddde727da7e45247dbb71c7555e5ae0eca66d5):535
+en.json:/people/advanced/sibling/male(0b4bd77cec705cf5df016344c0fc673fb3c2240078e6af572b2c5c6fa76114af):481
+en.json:/people/unknown(b764cdc0eab7137467211272fa539f1260d1bf2e71bcf6ff3bdc960f5c16aa14):577
+en.json:/people/lhs(e3683de55b71802ab21beff6cf9f4ca8ca9654deae436f99f32077aacc45b72a):865
+en.json:/people/uhs(610a86498c58c1d46730f6f7dbc8cae7c532a001fb9f0ca2317add6ddfcbb269):650
+en.json:/people/ps(de2954536887a013068fc29975535ddc6b4ccd80f06af6dede0511a96c37fea6):690
+en.json:/people/uni(aba1eecaad2256490a3b81cf5fae82627e5151ec9a4be1f3de1c0bd8311f7b69):1322
+en.json:/people/freestudy(f97e9da0e3b879f0a9df979ae260a5f7e1371edb127c1862d4f861981166cdc1):1014
+en.json:/people/edit(464c4ffd019e1e9691dcf0537c797353ef2b1c1d4833d3d463e5b74ae4547344):1000
+en.json:/people/create(ac12a57aaeee152f1a939b0528f8c76d468747d87f667a17baec52a984354043):1352
+en.json:/edit/title(936a161c39314b0540fe7415d2ad16cadb631568c4ebc57d6cff60f14edc099d):693
+en.json:/edit/cancel(19766ed6ccb2f4a32778eed80d1928d2c87a18d7c275ccb163ec6709d3eb2e27):592
+en.json:/edit/save(91600883995057429d5f61d924d9ca8fdfbb1116bab4415691a2bba256fa1169):1033
+en.json:/edit/confirm/title(d3c7803ca2152f0b1b18138b0c120db7d90d2ab9cc0f8f6cccbb5e0f06bdeb26):4679
+en.json:/edit/confirm/description(635f4f3dc55314358570875ff13033a08182d1b685c4e33eed33e7c93e9011f5):6122
+en.json:/edit/confirm/summary(0b580c8eeb16aa7ff52cd3db9227b3ad2020b942aaaa344ce39a0027ff3de8ac):2058
+en.json:/edit/confirm/followup(70710900d20e22475366fe5dad61704b178c85e99b4abb2919059e3f418a8789):2544
+en.json:/edit/confirm/button(859390eb495b2ead7f05f0f799546c71435b2db31dbe082adecc3426fffc3391):806
+en.json:/edit/alert/title(af6439e3888f1271ae948e2ba34e893bf2f4823ce9e3484360b09070686e5ee3):2531
+en.json:/edit/alert/message(1ff11f28f9a31ad4265734f4f1aefe64b3b7deb060594ee0894f530e9b1b6001):5610
+en.json:/edit/alert/message2(cffd72902c396fd8b8f42e1a06271b0b7e79d7bf11499d82320b2f40b20733bd):6097
+en.json:/edit/preview(65d902f54e6aae23c149b282341759793d40f228073d5a0ca242a11070d6266c):1201
+en.json:/request/title(0c199bb97e1bfae64242d7c9cb5e812752c31af1dba5c2abd021b8b2a03dd5f7):1166
+en.json:/request/type(3e3b1d8675ee9156086385c0e80d0351310d5d3d8d3f92b78afba69320154bac):851
+en.json:/request/types/metaupdate(679771e0bb865abab7f4651b8ca2678eca56a1d986bad0c52c8dfe43a9b31274):1969
+en.json:/request/types/add(a93d346c05cc73590e8144648778c6e63cf1caae7273080c90e458e678e96513):745
+en.json:/request/types/addevent(5651faee9626295e72e71d2f2c7a8ccdfcdd14d82fbd472337e4d9cb34d37285):885
+en.json:/request/types/profile(c77ac5fe52a4022d65b31a1a2b2df4edce1e33348198a689a6444db865c6a338):1356
+en.json:/request/types/addalbum(741bf07f049f00cd708499ead464af76f350dfb09dc492a2d9eeb28e0a166f4c):1258
+en.json:/request/types/rename(2790f76793f74b3ee9626b317ee257d457a80ac72ad173dfa7402fdd3a5d6d77):2156
+en.json:/request/types/profileother(faef8cdb44257593f0c552472db41ddb9de23ed6f7cb3363963d8f00104e5de9):3285
+en.json:/request/types/userreport(bd377a49b4c5d4e72910d0349ea93215a7aca23871a07570a6e5aae3de2b0e73):1528
+en.json:/request/types/userpage(8e615ff1f6f4e60607d990a3a1df2bcfc1fa128b1cbd5fd97fcb02545542e0eb):2926
+en.json:/request/types/article(ced3137877389c75d18cf3a46a24cc9c77e84d1acbf2fe9af86791f0ffe6b705):1578
+en.json:/request/types/galleryupload(3247e0733492683436ee553a336deeda8c42950727dee9fedd31fac2f8584669):1971
+en.json:/request/types/gallerymeta(eac4ceda028c1d8111bc4a468cb5911b94fcbd3addea717a1c895fdcecf7cf48):1410
+en.json:/request/id(bb515ac5b59574b7ab7fbd4591650eae89de6c21e6dc4c0f3e9ebc765070f9a2):1619
+en.json:/request/description(27115a2e1ed4504ab3ebf521ee13582ae15c1946de219e0123e4b999ee6824ce):4401
+en.json:/request/submit(18e29113b40ef775688b9c925fe1bdd189b15af626c2d8c98fc341ad1bc3d957):1639
+en.json:/articles/title(b14ac78a46e90b7137f90518d51ce3677cf078db540d60d17097b6c40e25abf2):520
+en.json:/articles/empty(d9a45ba7b6b279b36f74ad94667bf058b951a6c728ee2336ab143e10f7328943):1966
+en.json:/articles/rename(7d5fd95f775f2ce72a707b5ee1671b83dc26d4c237a142e5c47f84baccf89602):2555
+en.json:/articles/create(59649e5460593f0a8d9ec7c61754090e6e4cd8db18d1e366cd2bf178a58b04c2):2631
+en.json:/alerts/title(f62e9267d196c761f503dbffb17b9a52c4134de48b9959754c4bd78a9ad053b8):722
+en.json:/alerts/unread1(c3c6219259e8ad0328cf912ddc804e58f0b6ea5e30509e77a886edf66c3d219b):805
+en.json:/alerts/unread2(c3c6219259e8ad0328cf912ddc804e58f0b6ea5e30509e77a886edf66c3d219b):1374
+en.json:/profile/title(d696a35bdd1883da07a8d6c41bb7a3153381b23aa197629ee273479a6eaa5a9c):2740
+en.json:/profile/options(d0db8b5e364b6989e4b8f38a2b3846b87d99a51c1592ebf35d21cc66405a8e39):528
+en.json:/profile/report(82016f1f318751d17cf2012c8eb1ca986c533fc6d9c95f84455309a91c8c2198):496
+en.json:/profile/report_male(82016f1f318751d17cf2012c8eb1ca986c533fc6d9c95f84455309a91c8c2198):832
+en.json:/profile/report_female(82016f1f318751d17cf2012c8eb1ca986c533fc6d9c95f84455309a91c8c2198):709
+en.json:/profile/request(cb5d9f9878037cd9b3e044179289cab8dbe1b81945991910540939c4779879f3):989
+en.json:/profile/since(e57eb6e2d43cf83e99479c4e0dc0ec4bd148b3d951273cf55cade8c27d762561):889
+en.json:/profile/since_male(e57eb6e2d43cf83e99479c4e0dc0ec4bd148b3d951273cf55cade8c27d762561):863
+en.json:/profile/since_female(e57eb6e2d43cf83e99479c4e0dc0ec4bd148b3d951273cf55cade8c27d762561):632
+en.json:/profile/last(21fd79c7de52e1cf63f8cf11f8a0eac6965506e09ba6e406e1f6bf40a3b5ed52):912
+en.json:/profile/last_male(21fd79c7de52e1cf63f8cf11f8a0eac6965506e09ba6e406e1f6bf40a3b5ed52):364
+en.json:/profile/last_female(21fd79c7de52e1cf63f8cf11f8a0eac6965506e09ba6e406e1f6bf40a3b5ed52):468
+en.json:/profile/pending1(d77eb73aa225532256a4d8e8e5928f4195fba9a996cfa7cceed96f189d566b43):1152
+en.json:/profile/pending2(b2a00d8c0f9e838af79dc3fb1e2f25b5f2a18e6982d4f4b49e76c2dffe9e82c4):912
+en.json:/profile/pending3(1ea442a134b2a184bd5d40104401f2a37fbc09ccf3f4bc9da161c6099be3691d):797
+en.json:/profile/old(cba06b5736faf67e54b07b561eae94395e774c517a7d910a54369e1263ccfbd4):2643
+en.json:/profile/empty(562d5f81f93372ab5f3eb007bc37e060936015d3aa26bd63383dc70a021c26fc):1746
+en.json:/profile/empty_female(562d5f81f93372ab5f3eb007bc37e060936015d3aa26bd63383dc70a021c26fc):1504
+en.json:/profile/empty_male(562d5f81f93372ab5f3eb007bc37e060936015d3aa26bd63383dc70a021c26fc):510
+en.json:/profile/editor(528d89ad72cba22e2d9d116befd3bb96a519f06b5f1147a2348d29fa6d1a2cbd):786
+en.json:/profile/save(defa65f6991a1c549ded69a6e5f5507d588be54dc4cf4cabf02248beb9586b0d):502
+en.json:/profile/confirm/title(00091087e7f9afed2d74861751e4ac28cb7dc6c195065abb4f9894f5f5fac7ee):699
+en.json:/profile/confirm/description(2cb0f92c6b854b74a2a4e748b237a77e2d84e6374b264170ab9db42845e789ec):11660
+en.json:/profile/confirm/followup(e1886815bcd8f409ba060bfd287b34b4f5d5f0fc1765ed0dfbd80b73780fde80):6053
+en.json:/profile/birth(0822963756ce70ec17b89df33f24e1199bb7199a2e41819fc35b475a3509762e):618
+en.json:/profile/birth_female(0822963756ce70ec17b89df33f24e1199bb7199a2e41819fc35b475a3509762e):520
+en.json:/profile/birth_male(0822963756ce70ec17b89df33f24e1199bb7199a2e41819fc35b475a3509762e):402
+en.json:/profile/never(17de5b9a9e66dbc903c8a27637b619796ec1952f63ddd90618eab3aff849862f):795
+en.json:/plus/kiosk(7212624de193aea91e3bb5280f9b7476eb66e864eb7faf57ab0f58884ec99ddd):6233
+en.json:/plus/coins(62f014cb316258f89133bb263f1fa74f85b308430765a403fbc87e20b367c959):679
+en.json:/plus/intro(a121d964af1ef67d9300056c519af65517c50cce0cc08ee26d6bb41f98081e3f):4035
+en.json:/plus/buy(ea7ac76b71ae6187fc4c5818e401cca33a2305b0cd9280b2cca509d8163597d3):2441
+en.json:/plus/terms(f3a0c6736a03a84a3adab6497102e42927ef7520bb72449bbc63295f73aa9097):1867
+en.json:/plus/change(b006ced07610f73ef4acf98deacb381731c829c7bddfb5c40804e6679121b369):778
+en.json:/plus/notice(118211e936cb411532dd5373213c2a922939951ad87d6f6282530f687277ac75):2732
+en.json:/plus/perks(cef43d73d403a58ee51e1c3c3020a0c5102fc5eb2110077f8a8902d646ffd43a):2776
+en.json:/plus/perks2(7efed721a7ad84f0beca13f01180da8e3eee5dbe9b54880bc6f2b69d1eb8304e):2649
+en.json:/plus/list/0/title(43382b76c87695f406262c949aeb3114bd52657c7f7743f2749302fcc035a69f):733
+en.json:/plus/list/0/description(81847114b01b9496d2423f65ca296ce539fb02ed4bab87d4b2cfa0bdf5ecf600):8689
+en.json:/plus/list/0/pretty(10d8be2c10527d5d18c4ba2ff9e6ccf13b60649579b1cbc77aa7d44fa89152cf):1361
+en.json:/plus/list/1/title(970de994a0f9f2d19079ff8903ca756bb2f0ffa5b0f56a6a7c0fe056290da39d):968
+en.json:/plus/list/1/description(b6d0302533e06b366d8f05c170a26722ea484a70c68ec75575c0764574501b9d):8170
+en.json:/plus/list/1/pretty(25dddcf862a3f469dc80c2f16a5419e05f9729ccc683317f0b0551f03f5559a1):1419
+en.json:/plus/list/2/title(d30cbf042cbf654bf82b532fbb0121ad6c82cefee5f2fa0a9f2e0b21f7ce474d):765
+en.json:/plus/list/2/description(b3aca2dfc9cebade17d459d10f7ec3748122e2fff0e8cae7f1b9f0bd47c91bb0):8098
+en.json:/plus/list/2/pretty(f8a406a0f3ccd2df5ac98acba7d0ac878d8ff1803c620ffc19eb7a2fbd7325a1):1867
+en.json:/plus/list/3/title(d324603fd2c6f9075a6902a45f6ad1812e6532838c2bc715a5b0480a45fdc43d):798
+en.json:/plus/list/3/description(9ece8cfb4a5b5170ca55a9aad6577847f032823392d0507fed5b9ff2d33a1bf8):6546
+en.json:/plus/list/3/pretty(26e0a4082e783e838c8f79a151cad72951f521085a48486e21d62d4c1b910de6):552
+en.json:/plus/list/4/title(e9e155265a113bcefc4b3c707b1f1312808cffc41a7ba7ea9d4280a850062d81):686
+en.json:/plus/list/4/description(5c187e37dbb8f37561f4ac9fbb13dab088c798d9b144bbd5258d7af997e2db2e):4950
+en.json:/plus/list/4/pretty(35d6df18b4c7ce0c47c9c02d9eb6b919ec85a1b8ae666c78520ce5e7bc7987db):1894
+en.json:/plus/list/5/title(d3b2caf68359974842fe33b45fce385990b7f983cdb551edf58d73c904e4f66a):2202
+en.json:/plus/list/5/description(b4261d74ff50dab58ee5352720c03f4f1c733c5ba250eb3cb6e373a0488391c2):5428
+en.json:/plus/list/5/pretty(6bccfc8358c88496eb5d712d761b361199a7217b0567a69217f6860fc0966c75):972
+en.json:/plus/list/6/title(e13cfc58cc090f36e934419dad168ac96e06f106d5c374a25b8b8ce7c5578ecf):760
+en.json:/plus/list/6/description(93fa68487b0704434626cf0f2f2413e2df59a0a00da086bd1ee4d85a7acf4a44):4939
+en.json:/plus/list/6/pretty(e2ebfac24bb9751cfea78539d001492e7599f6b403d684b4e054098c32dedce0):1032
+en.json:/plus/list/7/title(85b8160d7bb9924ddfef92f027bf13c293d2721497654672430d9904eb6ba67a):775
+en.json:/plus/list/7/description(78ca1214fb4e30f6b96c1e35fb6172b4deb3e1109b5cd7f1b0b24e56a98bbcd5):5782
+en.json:/plus/list/7/pretty(94e691e9a540c9e89d1da42ae68f9c6e76822eb592be125d51de35d56f9a11f9):675
+en.json:/plus/list/8/title(f5b04bcb34da95ce631f1f36dfefdd859a4c11f426aa20bfbc57cf5c0b6320b0):592
+en.json:/plus/list/8/description(722ef755160e0d0ff4c221a920f80bea44f93dff9d999490b9e6de1f504f7bf5):6876
+en.json:/plus/list/8/pretty(e20b3036633d74290ff6ae0456736cfef7baa036a03df83d131962129ac1a1bd):1096
+en.json:/plus/how(4f5e4eb19d650931530d7d44395889fa43be7b39abf476e5c1e48a1f0657c8df):837
+en.json:/plus/action(31fbef162594de01bab0cd525c51f74de7bcb15063029fa1a54b2cf5944c80d8):480
+en.json:/plus/online/title(d19efe9e622f42b09f8c51079b77065d61d31f836aace356a289adbe7f8c5ea7):571
+en.json:/plus/online/description(5627ae1917b7e204097e62867822f96913711ef0169e9a80b2773ced3914ab38):4474
+en.json:/plus/code/title(aceff562b45880106c544f36698cb653189977a18067df1b3794fb029876da3b):775
+en.json:/plus/code/description(1b1fd4d9e23cd099be24417f74b8ed647dacb49b89438f4687a76ca4cc599590):6217
+en.json:/plus/trial/title(af3c6f381bbcb1d5509a745dcd4034fee553e0f1af2db891ec60c5fc0ce91086):969
+en.json:/plus/trial/description(c9e08c6ef7fb15cdeb75d4b199317113df72d450bf2383a7c52ccd581bdd6148):5508
+en.json:/plus/notes/0(89aea7d12059322a35dbcd1404d57b1a7c1597b8834c4c2885637c60f2137a25):5495
+en.json:/plus/notes/1(17a334e9556277a14e94733c628073f536e9b8defa0991dfe1912ffe862f1686):3974
+en.json:/plus/notes/2(07a739a0b6beb1723e0eb1a43feec16acea492ef1d3ea666409801c8968cbf9c):4943
+en.json:/plus/notes/3(13cce98e06f3b7eb44a461ffe55b1e4dc00336cbf40e45b474350cd21e879fcd):6701
+en.json:/plus/notes/4(199be03da703858d93fb3beccd1d66212ec4f8206b1fd71322a64d7f5311c88d):4722
+en.json:/plus/notes/5(5f781c6fe02305a1f94ef0305750f7de9322ca50e68b93e13c33674824940f8a):4104
+en.json:/plus/notes/6(9f5781b82a8e32efd59104e62efd6bcfd6787595cfec1eefdde69a3e11ffba24):18350
+en.json:/plus/notes/7(779d057a31b092111a64b948f96fca2d260dfbe7f2f2be76addd7da28156967c):6036
+en.json:/plus/notes/8(29ef924a5c2d50a8b728f59ecef8140c4d7e2246631ff6d42a0dd79a1795dd12):5509
+en.json:/plus/notes/9(7e3602824f4bbc8874c210c63757fa53a0ae5e38a6a15cef456db4c2898b17f0):6149
+en.json:/plus/notes/10(27d3a42c2f2b164c53a4ac0831c0ed58a638f22937599da34dc38c46a7a683ab):10638
+en.json:/plus/notes/11(72432a7e40133f689eaeda71053fb0cd1992c4576130200f2602f3bf707a29d7):3901
+en.json:/plus/notes/6(ac68ff8edc4a6fb2bbc1fc2411046f3cf770ef1b5cbf0169a075d7328a050cb5):1467
+en.json:/plus/notes/12(3e314a08facd0dd8e428e0c7637bff2d0ca67b8255ac5901323d7c18d6365fa3):5641
+en.json:/plus/notes/13(57ff15ce4f901e72819e3ec95d8bed0d9e13dd3f83876a6ca2eecc0fd4bfdd6f):5341
+en.json:/plus/subscribe/title(de42764862bef66639c751406bb893fa9b0dbc6ba4438ee3b4ce42deab1e18db):915
+en.json:/plus/subscribe/title2(9fac028c3329a29b8abbd2cb62e477780afdd827096b8024fbfcb29fc8d3a0a3):648
+en.json:/plus/subscribe/base(5eaec43f3c8b5a914d3611b3268ae0a6bbc5bbfc36b1bfac46102cb634c729ad):2743
+en.json:/plus/subscribe/down(d955b7e8fdb14a071c0eebd39f710dd252254d0966eee5ce6addcde4b294063d):8952
+en.json:/plus/subscribe/up(7ec0261b8e8aa3e0b1affde5f18ca1930ae73d81a5303d667aae9ffd2803cbc7):596
+en.json:/plus/subscribe/free(f411a1fb62758b4c54690d0a702b4955b54dd22115416fa7b1ce51b4a084818d):572
+en.json:/plus/subscribe/help(583cdccb83ad43dfada76c621f2318eed845932d409e3e7ea40cea1f45119daa):2238
+en.json:/plus/subscribe/current(4e761d178e1ab585436ad24096bafa1aaf1b0598228cc615ff878835b9ee8273):794
+en.json:/plus/subscribe/coin(772ecadafc7fc7b87bac8eb8f6acd7f6fc428a328a4c87e2d405409701d186a8):743
+en.json:/plus/subscribe/monthly(5fddb6c521bfd3243da62bcc82024baac3ae930d37600fbbe3423ba617ca6159):1617
+en.json:/plus/confirm/title(bca057f73c46cd74bed50027d9da77e4fdc8f71c4db4118aac7c104fdfbb8c84):1550
+en.json:/plus/confirm/up(a23c67e56306bc3a9a8cfd601a42b80379b985a3d2b43328c55679ac5d984430):1822
+en.json:/plus/confirm/down(4671a974553a9b03dcacf6c70863705441fdd9020cb7c13d77880122ee6863bc):1424
+en.json:/plus/confirm/cost(4234b6c60d0e5d680e499e8101c143c749597bd33aca2ca59af0f5c099dfe605):2045
+en.json:/plus/confirm/balance(ad19a7c398eaa38309f776ea145a56856eaa468c6e5968a89bc1b4bb6e001352):20066
+en.json:/plus/confirm/missing(c9d35f3a012a6ef817e84cf0d7447f340e8f89c585644334e5ee4f84bbf7eeab):6063
+en.json:/plus/confirm/renewal(d449e05979de60cb11d1f5d270bc5da7e701ffe9fabebca3c2745e65b6bd65d2):2241
+en.json:/plus/confirm/norenewal(145eb0039bb9701c476583584c484ed3251c444d837084729862b795fd8bad02):9375
+en.json:/plus/confirm/proceed(dbc37c68f44f6ba0e1236a7cca7cc1fa8b74f14c8914ea3ac7f5ae16aabd0ba6):727
+en.json:/plus/confirm/up2(7fef9479c8bc5a3c86891cb82969cbf2ffc73c7350366c82286345d8292eebf5):872
+en.json:/plus/confirm/down2(f76e03f51e04c44c14462ee21cd3a18560d9a66a445599e6a695b3d4ed9b6ce3):324
+en.json:/plus/confirm/email(a136ae76e0f512bb8bc9bcbff69349d832091658e1df8858f605109814193a20):2670
+en.json:/plus/confirm/refund/0(63ea82367063caf1767b78a3be624ff423cc8cd9bede0b68d3a06e7ce6774a05):710
+en.json:/plus/confirm/refund/1(a76e2fce575d1f437b45bd4329f3adf585d138cafbe7a7959ad33f654088011f):5321
+en.json:/plus/trial1/title(d5b21bc17736aaf012dabde74b822b4f270d3b2866b291f57283d7ba4f466274):721
+en.json:/plus/trial1/unavailable(992ad3572a186bfbb2c3655b3b2081324fb5a9d32de56ad2249abb6a6bbd15f2):5659
+en.json:/plus/trial1/intro(6682560644abb7540473f6d4f1dac9ecf9572dd81181e3e9864474f9ea1c993d):14821
+en.json:/plus/trial1/message(5a9ac48e3181002e841e8d19f84543efbfee105aae973e7e03df2236e4eacc2c):10205
+en.json:/plus/trial1/success(cb3abc72b9ee3509dc3b4771836c3c6fdc2aed69b64c90dc3e7f9cfae9c26c17):6447
+en.json:/plus/usecode/title(d0159a44bed14c2a5c9e966c731b0ae0a6f16d31543f87f683a3df2a37ee0b5d):982
+en.json:/plus/usecode/intro(b41a606913eeedf1af6940e1baaff5a1e44183dca78f355d01980210bbc7191a):1145
+en.json:/plus/usecode/placeholder(0884e62b21a65d0c9551b5c5a6a607be9e97dac32b9b47b782509773f73e2fc4):1197
+en.json:/plus/usecode/continue(31fbef162594de01bab0cd525c51f74de7bcb15063029fa1a54b2cf5944c80d8):869
+en.json:/plus/usecode/used(ec026dab729cd27c7501fbf4dfa3df466ccdd4b341e991380e3c5dde8c46d0d6):3719
+en.json:/plus/usecode/use(371111bf402bc397a6a1ea4d2b86dfd87f8a064aa7fa8fc008c39787287a9b8f):639
+en.json:/plus/usecode/usable(01b3b53ec24f9fbcaaa95999e35079bea1ef4ecaca727b96555af3ff8502be3a):5543
+en.json:/plus/usecode/success(a111e8fc7cfeaaf399e3ed8a13708277e50c10e3fafce436d4ac02e7c67eb114):1758
+en.json:/plus/usecode/me(e1dcb0da07825cd4c88b1d80e3d7cb529c982164d779f8b9e1a0aca6cdbaee53):1807
+en.json:/gallery/title(352cfc749e55222e135ee48e67631ba33f834d936c137560fd39063d2e57e5cb):755
+en.json:/gallery/empty(b9e96ef224135803a62cdff231c5d57f357136a1f71306abfb28b6ed3e4871e3):945
+en.json:/gallery/upload(ffe4df6c7ca600c4761b70965d53b6217a83e5d01337d9a384734662a54103a5):675
+en.json:/gallery/uploader(1e5f4e9b5c455b2bb26be38ea42702eb4995dd16726c0138d2edea218b4242da):735
+en.json:/gallery/create(04d36b66f1eafb1211e51d88149ac1b67bf7a2b24413ba4784edbcd29ab0b9a2):1082
+en.json:/upload/title(261697736a7853484d030eea50d906925c5d2fd15436ac8fcf25c06e39a61b46):662
+en.json:/upload/select(8937bab530c8f0be3748eedaef32686464e136695b4572cf2e1aaf46a243282d):2410
+en.json:/upload/confirm(c8a2b02f0fd2a0d0ea46823e3b816fcbd08ab9b54f8e0efa212fe90c8a7c510b):963
+en.json:/upload/notice(d440704587d6a088fb53bc10a15b3e9f988492486e6a47f46853ad6fff88034e):5650
+en.json:/upload/summary(deddbfb6f9b5d58e39741dca038a8881a5768d99290f9b46d50c175ff17a0cae):2344
+en.json:/upload/followup(c89f1ccfcc1a0d05e41b55396e809ab0231358c5cc247f937a1959298a9783c2):2646
+en.json:/upload/dialog(3fdbc5b1d941021bc09f1ec229142b47f88af102fadf15dfd36abba069fc806b):577
+en.json:/upload/error(8eecdde079a9092758e271d5a21f28eadbeedb35716353e07cfeb33f52e8005c):541
+en.json:/upload/errors/unreceived(2f64e94d1d018b9da62af5fa0080d0424515a347b6e83439f89104aae78c8eca):1118
+en.json:/upload/errors/internal(7eac3f364d45fe6029115e4b645b372647b1d30cb29e68626095a6533a113b22):1351
+en.json:/upload/errors/type(34f2fc0c090b3f5b065710649fcd652b504a26e85358e0a73a96ab8dfdac1134):1874
+en.json:/upload/success/0(ff068f9c8efcf6e54d4d91cc2fa96f358c2266ed01fc9a0cc9fd761057f7c808):637
+en.json:/upload/success/1(d00b98838c361e3e2e2921bd3cc137bace8aa3acea0fe80af51ca39d3449c9c4):1756
+en.json:/upload/success/2(a6579f45acf0cc800f690ee85369e95b74f44b1f40f5748cd1b56f90403f1121):774
+en.json:/notifications/reject/title(5eb8cbc5bd8621b250d7d98448cd2c22416797354bb11d437fdd9efe9f13c2dd):1194
+en.json:/notifications/reject/message(3c318fc8a8b8126fdf4aee67ee09efb652a546c8ea01d47cfcee186137f2553c):5708
+en.json:/notifications/approve/title(5a3872a73410a03ecbc852f4f574e7bde48d1572077ba516da7b6b4fd46b7a44):1126
+en.json:/notifications/approve/message(cdacb7bc9fb931f1a8e11916ba04ef303df79fd821e4dd2c72f9b72b203c66d5):2923
+en.json:/notifications/renewal1/title(9eef14d66b3682d7e66ec4a43f3e15dad6bbaf2bc41aed6047599dde7c63687c):1525
+en.json:/notifications/renewal1/message(a0904f01d1f04ef9cb2f0cc013e4d65ebfccc9ec25331ce2a139164e2ad8b5a4):4228
+en.json:/notifications/renewal2/title(6997bfbb7106ba5039c664c5b8804e6fc636d0d1288a083d276a04727a00dd94):1460
+en.json:/notifications/renewal2/message(d61a959e55f7a3083f80eb40a7150a16ba0c07d9bbc5082d36b282547c15393b):4371
+en.json:/notifications/expired1/title(77896e347849d8644b1a52a2dce5e954eddf7d29c38bfa5c7a8a0ad182bc6aac):2401
+en.json:/notifications/expired1/message(50956fd3c2292b69593fc8711e2a9f5f10483cf0cf4a487feb2e989417e0588b):29693
+en.json:/notifications/expired2/title(172f788bf7809dc0a416091d608b3b1a9212e1e5ee99dcb58091613edb273712):921
+en.json:/notifications/expired2/message(c988ef836fc161f54cf9945d4981acd9bb6e141374f58f32122eceea7d280edc):21449
+en.json:/notifications/birthday/title(6468360c8d1a8c8da7e8530d6b26e21e5750a8b99b551ac86ea913aa00927131):1504
+en.json:/notifications/birthday/message(d12451ce7ac3609463674415594dcb7fd5c5fbeb35828655f9c3829f36c87d68):1855
+en.json:/notifications/block0/title(f70bceb0e77f73c6a1fbd219035f5a8d158370a762c8dc3e4e609a1c04d76059):1100
+en.json:/notifications/block0/message(e485513127a462873c7aba92217587bfb4ff1ba99604731537df71888899f436):2819
+en.json:/notifications/block1/title(d4a5415ed3f8a0ade68471b7a213c88a265a19dcbeaf9ef5fdff710b7d4553e0):1534
+en.json:/notifications/block1/message(7d2295f6390b8c653d94e68d4be372bfa16e240954b331e92cc565c168552191):2638
+en.json:/notifications/block2/title(7c68d3fa8dc2c15671e97231aaf72b7322953eb366eed94b7488a41c224f3432):1359
+en.json:/notifications/block2/message(b84adaab713118d3aee4b8a0f95214a3f55c7854eee3d49f6c72225e0a399aae):2696
+en.json:/notifications/block3/title(5051d560161065578f7fe4fc3eaff4f63ad2a977366c40bc1686c7e2513ff86c):732
+en.json:/notifications/block3/message(b05693113b50cc3156f92e622bda3d2a388effb81016105177cbc5bcac9662e6):5188
+en.json:/blocked/own(1aea90b5110a202bd61a5f9eaea24a17d2b12e6c82fda1d7b1adee2aa9261fa7):10167
+en.json:/blocked/edit(b5515fdbc94f9caebd35d26a16605c85a4c840110644be7b1969269b1652e862):7051
+en.json:/blocked/request(868cf0a5992d2289b0d34c4b124e849ac50eef001c16127eadfd6c3ec03dbfeb):5144
+en.json:/blocked/error(2a893d3a5edc746bc7940a49bd720a4344f7488407d12651bd86265884c70a24):1056
+en.json:/blocked/login/title(b5fb51dd3d8ff7d87b997469d4893e53c94e39d955115c40e6d1f6a32dbd5e5d):1305
+en.json:/blocked/login/title2(43c1583a03958577cc6c26ecc8011b8bcd088deff246207ecde91b63a4ff1fb1):691
+en.json:/blocked/login/message/0(082313556ccd23d52e7c868f4a1e37464fec97a5b7198aee1356bc0e6d060607):809
+en.json:/blocked/login/message/1(6ef1ef18e3973bb446174d0c3deeac97f14d526e1defaa5e22de98105c233bed):6141
+en.json:/blocked/login/message/2(1a0ce8ea4008dc53e87c12a96fee2589fc27eb74e9326cd993bd630adc84ba56):1834
+en.json:/blocked/login/message/3(10a08822e399091ca25182d141b1125e1edf466c3d7720423247eb4e9cb944ef):1823
+en.json:/blocked/login/message/4(df9d42c319c945ff57d0552d65b03aa33d388df2136498b8393cfc6a7120c190):2294
+en.json:/blocked/login/message/5(baca4eabc7dbb1d74183217b0c4e79053137111b33eb6a0bdab54b6e5432e2e6):2001
+en.json:/blocked/login/message/6(a2c1fe18883085a65e9740d0f49a081451c094a0c7837d00eb94bbd371ed2b09):2382
+en.json:/blocked/login/message/7(adeec947aa67e356a6d70b181cfd82a36a0daca5a998756c75e20a30129f2cd0):869
+en.json:/blocked/login/message/8(fa9424e52071eea00c7993de6bf76bbb4c490b236de0968d371034aec53de7fe):1940
+en.json:/blocked/login/message/9(c01242fd6c6eb23525f1f22201200f1e8941c96cdd884552296f8dcd33b2a1de):16008
+en.json:/blocked/login/message/10(10da442e29c2141f56b8b2b693a35a078e34ad815431603f5025c64af192c9b0):7330
+en.json:/blocked/login/message/11(85da4c43ccb1b6e70dfaa043df214d42cca1cd864bb0b88bf870e29f1c6c1f5a):8711
+en.json:/blocked/login/message/12(4400dab05d36f7cad4038e7d9464844e83eed43b723eb38e161f5a95a1577399):7808
+en.json:/blocked/login/id(e069bb354029fce06716b2bb4e7a626d326c810db5c7751166ab1c831e437b76):1829
+en.json:/blocked/login/date(f63879fd691e40d3a659eee4bcd6177d09be9d8957d0e8a2cb8dd8b9798a3045):2171
+en.json:/email/reasons/login(9a02b581b9c4aea79eebe3a38b3e042aeb932aca57227e3dc3c34ab9a303a128):1992
+en.json:/email/reasons/login2(a0e4be17d8ceee31311432ef63ded1534971ba3ba7ad28bb377ce68f987cb8ed):1042
+en.json:/email/reasons/alert(f0bbf6391795ef9c9ff140a40315fdf2956ff7f624024cf10a0ec16e9459c09d):2715
+en.json:/email/reasons/update(d4b5a64df6e4bb2c0d522ec45f127a6c352a5cb784712f4befec3cb04e143ce1):3215
+en.json:/email/code/title(aa357695b826c5e91abf87ea89e8d9bce232bb0c3c54dd68469e7adf9bbea8be):1740
+en.json:/email/code/message/0(dafe7694460f4e37b708f5134f2f7f759cb997f9cb612d6ca566dd6e6a34353f):757
+en.json:/email/code/message/1(b7c84c24ad99cb4cefb4f9f368041b03167bc331926603d64cddb2b7d104b30a):3373
+en.json:/email/code/message/2(4b070a58449a6cc75d282d600434f0f8b6cc7b7b6988720930b8f71150cacd3c):3496
+en.json:/email/code/message/3(07501dac0861db3dbb9fb34d7dc05eaeb37e9e03267da5997422c67dd250372b):8344
+en.json:/email/alerts/title/0(df15e94fc4d38319a2e49ce12bc8c075b3605cf36dbb96a572ce93071c4381ed):1493
+en.json:/email/alerts/title/1(f4a44032310183cc463e2597f1a03654b1566e0939062e25f2d506dd56bb698e):3000
+en.json:/email/alerts/message/0(dafe7694460f4e37b708f5134f2f7f759cb997f9cb612d6ca566dd6e6a34353f):650
+en.json:/email/alerts/message/1(12282af741a4ba08208703da88a7d049ebc92528e9ba020d34e7d4be4e811026):1211
+en.json:/email/alerts/message/2(d62380e06293eb6eba546ebe6713777a786c863ea5081ba6f3104406dca711b8):4352
+en.json:/email/login/title(0dd1984ad0a2647e7f5fd13e7eb8c91eeaf7e7ce109ef0a76d3cb9bfa7abe52c):2525
+en.json:/email/login/message/0(dafe7694460f4e37b708f5134f2f7f759cb997f9cb612d6ca566dd6e6a34353f):695
+en.json:/email/login/message/1(9ecdb4d13cd4758ded2ab0b9048db45ed46bef35d17b682de3dd26c3f7117b65):3935
+en.json:/email/login/message/2(3ca83cd821f8f206ae80b6a15bbd4de6bb2889302e7b786ed9e8c33a515a330f):3777
+en.json:/email/login/message/3(668f6ad3c06da7e98c040f264e255abfefd22659d3b5125bd4d5c722afe2b95d):1251
+en.json:/email/plan/title(13411822caa4cbf37d470ee8734c38063c39e08e5e38ec3f96a5a6d9b9181ec9):875
+en.json:/email/plan/message/0(dafe7694460f4e37b708f5134f2f7f759cb997f9cb612d6ca566dd6e6a34353f):732
+en.json:/email/plan/message/1(36e0a80fa5500aa19b5357152a3357b66ffda852e8f5a6d95cd5fcc8b932205a):2430
+en.json:/email/plan/message/2(8a5b8afbaf8118ef3225a6f2e4197f9f353f3556ca8dfcaaa02a5b2e5c7df9b5):3863
+en.json:/email/plan/message/3(038e72da2e80e6d6c87ea9a81477938a032b797da25059918e8f59b06bead741):5084
+en.json:/search/title(49c266baaaa70981ea188fa714d5c40cf13830d786a861c9943ae0d26a7f3fe9):620
+en.json:/search/placeholder(a2615301cf522c1b7bb69533c2041ba2d3c6856e777546ba7e16b42dbe4e4bfc):1256
+en.json:/search/submit(49c266baaaa70981ea188fa714d5c40cf13830d786a861c9943ae0d26a7f3fe9):677
+en.json:/search/none(7ecdbfee6d1ce28548f6ca630810986ab070a0ff5a284374daeca97da83676cf):620
+en.json:/logout/title(74690160058fa7ca5632c5b25058b1caf04f41d348ff78ec1471c0708bc32490):575
+en.json:/logout/confirm(3a3c30156bb9afb982e93d699fce0631faefd0c59643b3e56f9aa87bb752d1ae):6976
+en.json:/logout/yes(f36df1d4cb2a96874650a6f04ba9703a915951b6506a953de4350d591891aad5):955
+en.json:/logout/no(19766ed6ccb2f4a32778eed80d1928d2c87a18d7c275ccb163ec6709d3eb2e27):894
+en.json:/requests/title(9979b415083238f7074ec3036cce9f5f362d1e125f265cf90fbe93f2240bfc6b):2101
+en.json:/requests/on(b8d31e852725afb1e26d53bab6095b2bff1749c9275be13ed1c05a56ed31ec09):497
+en.json:/requests/date(b04e5ea201bb040cae53f693f6a38a3e00b62da6039ca248fecd59b7fc842894):465
+en.json:/requests/cancel(19766ed6ccb2f4a32778eed80d1928d2c87a18d7c275ccb163ec6709d3eb2e27):419
+en.json:/requests/confirm/title(5a0551a43cb3afc414c874b1e021ed769d4cef3de5d7cce42e6311cccc33c8bc):499
+en.json:/requests/confirm/message/0(195d7a0920f8e6e814e7b111f957d35da14a673542ea7522ee5dcd44d1c4c35a):1267
+en.json:/requests/confirm/message/1(1b158e2f46186d07b5e158035ba957736b7de907696064bc072fe7248c6fac15):11165
+en.json:/requests/confirm/yes(e2d0a54968ead24efc0dffa6ac78fc606dceec34a0f586177a74a54cc2272cf8):636
+en.json:/requests/confirm/no(19766ed6ccb2f4a32778eed80d1928d2c87a18d7c275ccb163ec6709d3eb2e27):1064
+en.json:/requests/none(0d856950f4ba550cd95c55bb50f643c76191d046adba3279308a1a983c18c122):1082
+en.json:/content/title(47bd29075f8b8019f0beec6d86beda7c9bf67aaf05053dcbe0b3bcb63968517f):745
+en.json:/mobile/title(e3b8b5552e2086cf2586b0a06ce7e74aeb26a5da2f00cf1416ad04559d96ea57):1008
+en.json:/mobile/profile(528d89ad72cba22e2d9d116befd3bb96a519f06b5f1147a2348d29fa6d1a2cbd):600
+en.json:/mobile/alerts(2f11c02c4f0d085038ca83201afedb0f94d6caf6bfa56af2ec0306c0ce31cac6):1668
+en.json:/mobile/subscriptions(9adcb17c0001851a288d8da3d526af2553c1d5a80b31e7c1545cb2b423006da9):587
+en.json:/mobile/pending(b3204f93dd92159500f7a3237b14d6bbafec51e4ef0ef11cbf7fdea3caa1857b):608
+en.json:/mobile/support(1eb37185d0939fcf17374a3308605907c734f7ebab2bc19da2ecaa43f07c2f97):606
+en.json:/mobile/studio(9589ec991c558a46afa66b7e9309f0e65bdc314e6ff1772113c6e6132917a5d1):586
+en.json:/mobile/beta(20ed763a42b24e5f7b0e6e1d624f4dba623ca35b7939c73f252e77ed4a984a4f):589
+en.json:/support/title(e2f55c84f3b4841d23d20232c3a8e80b91056350cb7397e957200144f2c54c92):720
+en.json:/support/greeting(9c8908ef16693edd77196b6328ec6982f1e8576b724ad40ab3d38b788bafa99f):1116
+en.json:/support/intro(f4cfbca71e8c5669f42729e1b2c19253dbb931a57710077e37d3583b40b8b04d):836
+en.json:/support/issues/0(fb54c2de6b1b5f19aea68f5d9c93724d6836273b8e39a54ab46594394dff35d4):1340
+en.json:/support/issues/1(95642d5b26314c1242bf9d4f9e000abc14eab04fe463056933278cc01ed71b35):840
+en.json:/support/issues/2(bac31efb3cf9a2fa6bbcc337cee385516c6178120e1afa744f083707d82db967):1215
+en.json:/support/issues/3(352cfc749e55222e135ee48e67631ba33f834d936c137560fd39063d2e57e5cb):814
+en.json:/support/issues/4(7343678783fe67eddb3cb2674e111d7f8c091f2090cfdc39b59a1f1f9a3d5e33):834
+en.json:/support/issues/5(f26f75ab7261aa6c592e39d957cdafa88cc4221ef2543cef788b4f084a90f0cc):2024
+en.json:/support/issues/6(8aa5b56f614901b52db700ff1e806134f08ae20c7b6540f88817bd7a1d9fc1a9):1418
+en.json:/support/issues/7(a8d929e4cd32cb001a91d94e30e993767814313ed5aa46222d12c4e39936bffd):1922
+en.json:/support/issues/8(32eddb01507b939a0d1e62d87d2d6600dd1dd83fd80ffd9554ebf710bc10c2c6):1943
+en.json:/support/issues/9(8376b744f47535db4663c99df3880a8f69edc7a701a32f5b40298fe7c34daa73):4189
+en.json:/support/issues/10(376627e1713761096bb0636ecafc8a0c5cfb76196e55d3ec6b845c28254ae2e1):1013
+en.json:/support/titles/0(5b46ec83e082e43ca11d2ccb8680f244051bc86d9acf1637eac2287b1f06f716):1553
+en.json:/support/titles/1(ded3dbbee4a587388fca71fbb66c9c8b9236db8ab399397920ece96859a89b16):1570
+en.json:/support/titles/2(cd0d1327e0c67dc34c261c07cffe035ded33116aa02309e4fe95301756f482ef):1679
+en.json:/support/titles/3(ec8b0389002de6c5b8e30cd563c2dbe58aeb1d04876c3c2141529c1054b9cec4):594
+en.json:/support/titles/4(9e3eeb708def2397c389d00c3fa14c5e3d5019930fceec30532d97718a55a92d):805
+en.json:/support/titles/5(97d669ba6d66649decf102670a3b631d725fedc89a19b337c0a27d439356c428):868
+en.json:/support/titles/6(4293d22ab6eed8fe290fe481a088298b854861881183ab4c9fb224e810eada0d):1061
+en.json:/support/titles/7(15bd68c0f627d5aeaa3fd1000cc7d3cabcf8d7221a030368c085b020da8635ab):884
+en.json:/support/titles/8(4ac0108f3548f788fa3f92a53640901d515784cafdd1118585cf218c1b58c029):1846
+en.json:/support/titles/9(91cc3d130f82fc2177fef938f06521c1c176e92dbf0d6033ca1e2209a2343b0c):823
+en.json:/support/titles/10(fb07dca4159168dda7af3798f5335ac3e13d66dccb1b819c0e55732f0c0d1815):2181
+en.json:/support/back(13aa067175b3238f3b88a41c0d70b9411fe5b3d046a84baf1cb767fda1321217):2035
+en.json:/support/types/0/0(036e8d1eb813a5c3156acf481dc69e0fc451b4c89ab311731bd5d85eda0bee11):1034
+en.json:/support/types/0/1(7db176b183395c44bcf8cac5e83fea4207b6cd5909e334e9ef96fe222ec0b5b6):1624
+en.json:/support/types/0/2(663e378e6b5efd7578b7c6123a022de935077b4c65fd36e2cb66c78e25c0cca3):1147
+en.json:/support/types/0/3(7e3ca00dc76362fff3b3c71f3bd85576a6e1f7307377da6e403bdbd36bb27581):2745
+en.json:/support/types/0/4(7ce081ab7a51b5c3bfa320386c788304fa961efe5f56cbf390907bd3e4027732):1255
+en.json:/support/types/0/5(cc72843144841a6f8110b7ebe7a1768101e03c4c8c152865cb7207e8e4bf8745):916
+en.json:/support/types/1/0(0bbd4b75f8873e693d3d397ab70098d497a4b68fa41b78a770f4d9d49516eeb1):2435
+en.json:/support/types/1/1(612407f604831ccc335d3a30f2c5372a973645b047daf8541790f5fd8d0055b4):2068
+en.json:/support/types/1/2(7653d60addf7eabc1a15b266dbb3408579d418eb6fee2eaecad5c8a116fd22ff):1299
+en.json:/support/types/1/3(de7ae3faa01e2afe231e19ceb6ab281a93680b096b92f230579314287a028a81):1700
+en.json:/support/types/1/4(d09ca22b055e42e2101ba712d049ba3237d27d3315ab42ea1c7582cd42d1ef54):2232
+en.json:/support/types/1/5(cc72843144841a6f8110b7ebe7a1768101e03c4c8c152865cb7207e8e4bf8745):1127
+en.json:/support/types/2/0(f24540893e5e0f60bd0bc6c8f784c565357aa5305ed271c81bcf6d26bb1cf380):1943
+en.json:/support/types/2/1(04a76b7f9da74280878488b52cc43264afc7dd780a5a7cc3500c412ca6b1b464):5346
+en.json:/support/types/2/2(7c7b8a2987d33e3722880622f865291c76eecef90e54cd5d9ce4350a5f4b8258):4335
+en.json:/support/types/2/3(48000d9007ed4f5020de49b08bc192e1b274a9a8450c664ee138df3f118d5d9e):1582
+en.json:/support/types/2/4(cc72843144841a6f8110b7ebe7a1768101e03c4c8c152865cb7207e8e4bf8745):649
+en.json:/support/types/3/0(0568b9243c0e7e00ccf6518f856c8235a670c70c610acb0412ea85dd4e4bf69f):1051
+en.json:/support/types/3/1(08b426e524949544285052c40c4f0e669f969c191750d21fbb3ba8267e74157e):1767
+en.json:/support/types/3/2(015cdba982ab59241b53444af94663ec6d9891ab75594741df18d202e2cb4971):1982
+en.json:/support/types/3/3(90ad88204afe17f63a5888cdd366e79f0098df2a41d59552142efc6d2d65bef0):1355
+en.json:/support/types/3/4(4700aaf3e5a211c8a09530ed771dd0d1a270f6a03d9de9015ec0295aeb77aa6d):3095
+en.json:/support/types/3/5(cc72843144841a6f8110b7ebe7a1768101e03c4c8c152865cb7207e8e4bf8745):679
+en.json:/support/types/4/0(69e5b846c5148ca2ac96ebe1ca2afc521290a1ab373af35784255dff6430ee6f):1583
+en.json:/support/types/4/1(6e2e8cfa089d652289688e23142f1f34de2b73a0dbc1cb6b41de1ee82f179d9c):4213
+en.json:/support/types/4/2(fc0a603979d6d746c38b2e73badb5f701f4aa943d77b95dc050ea0e6fcc87c73):1006
+en.json:/support/types/4/3(feccc1d1165a466c9f740d7333d2b810f34e8abc805a0b0b273327dccdb7c622):1430
+en.json:/support/types/4/4(4c4493cc57b3914f18e2863ac3d114ed7b1028b06e9af73831402d8d594e60d5):2722
+en.json:/support/types/4/5(cc72843144841a6f8110b7ebe7a1768101e03c4c8c152865cb7207e8e4bf8745):736
+en.json:/support/types/5/0(9f92c291b7ad1aa3b1ddeccdefb475b6d92d389a53a6b42b12571119a274b842):2887
+en.json:/support/types/5/1(9177a4e3c70993663f1252aa51188df3a2be79e68a5e740470c02c748015d7ec):878
+en.json:/support/types/5/2(643bfeabf3d4edad6be145fe6fa9cc42280e64c1b58669b53978fb3fa01838e9):938
+en.json:/support/types/5/3(e5f6cae4e328a0e491d25b03568a760915b5020d6f6ac32a6e8204148552c38c):949
+en.json:/support/types/5/4(3bc4b45a76fbe58976dc213e13b7660550ca746ca56ef200fc0cc643495617ff):1369
+en.json:/support/types/5/5(cc72843144841a6f8110b7ebe7a1768101e03c4c8c152865cb7207e8e4bf8745):767
+en.json:/support/types/6/0(a082eb1e65b480f4e3c55a73e83fda711bd7edcfa5c78ae83cc0fd2c64cd2b10):2219
+en.json:/support/types/6/1(9e716b2f4374df6cce273925bd4c4186d0dcbefdcd0b3f7ffb4f55a60d552bf0):2071
+en.json:/support/types/6/2(7ce081ab7a51b5c3bfa320386c788304fa961efe5f56cbf390907bd3e4027732):1562
+en.json:/support/types/6/3(fe895a882bcae9bda11aced034be440587168c1524b6ebdcecf2a1f99f88da3f):9131
+en.json:/support/types/6/4(dbe87d037d5c60f426add1cf99b6273ce70b063e3b8c5df641026d8a42348f9c):955
+en.json:/support/types/6/5(cc72843144841a6f8110b7ebe7a1768101e03c4c8c152865cb7207e8e4bf8745):881
+en.json:/support/types/7/0(2556d1ef13d5cd9a60798958a2f5af231f19164c4359904b1e30017e76e9d336):1409
+en.json:/support/types/7/1(b4fc705fb61d867fba468850e9fccaab07964ff672b774f9b24349aef5fb51d2):2735
+en.json:/support/types/7/2(f9ff6409765fe9da1b7b46219a6e9dd79e94b3b2e246f8fd328f79f9d014644e):2028
+en.json:/support/types/7/3(e1dd0c637e75730e19fc26236678b38254e3c80a8e17f88451c7b40f60de852e):3209
+en.json:/support/types/7/4(f887a3397c100948204d81f17e97d3d65da659baa81fff70a2046d219e98b153):1483
+en.json:/support/types/7/5(8daddca8f71d8bd615dc8d37f9a6179323e773e889a63c1fd27a29b4579b131e):1678
+en.json:/support/types/7/6(cc72843144841a6f8110b7ebe7a1768101e03c4c8c152865cb7207e8e4bf8745):858
+en.json:/support/types/8/0(1101a8e9be676cc0dce2237823d20e91c87b6d334aa4472b435065c4924d7442):1822
+en.json:/support/types/8/1(f3b2dc431c6598aea0829ab5b931bc5f7d28c8075fa10cffa7a97d30cacac533):2133
+en.json:/support/types/8/2(ae8eb4f27780d8a868af3166e86a65910f3dc7319d0c0a60942235795ddab282):2318
+en.json:/support/types/8/3(4b98e9da6e440eb12cf1bd599a3fabda7d01b697dbf8df5065cda27c8148f358):1485
+en.json:/support/types/8/4(cc72843144841a6f8110b7ebe7a1768101e03c4c8c152865cb7207e8e4bf8745):1032
+en.json:/support/types/9/0(954791b326ebaf4bc5d564c28a5536c08739476308d581fa06af84fba263ec73):3321
+en.json:/support/types/9/1(fe895a882bcae9bda11aced034be440587168c1524b6ebdcecf2a1f99f88da3f):2520
+en.json:/support/types/9/2(18b627ae7dd129a5d5dbf19c7de2f5518cf09f1014030b5eb43e1a50371b6ce5):1515
+en.json:/support/types/9/3(a324804db4a690f79eecb33633314d57099ae34b7fee8ec86033d552935f58ea):1516
+en.json:/support/types/9/4(35cdbdff21aac3f331a1d79b78e5f3c34b3922947767626574cfd65d854c1c77):830
+en.json:/support/types/9/5(da3a9daec302a600349bf0c68979ee2983715e591b56473ebcf11ab472e6e5b2):1179
+en.json:/support/types/9/6(cc72843144841a6f8110b7ebe7a1768101e03c4c8c152865cb7207e8e4bf8745):729
+en.json:/support/types/10/0(737c31ea979ac2e3f32e73ac5a83cad56c8112923e271ce8aaf2824b9bc8bacf):1083
+en.json:/support/types/10/1(b7f15f8f77fec76b3998a005b873ae8dc7a6d78f635af81ff338b304f9b91b9e):1455
+en.json:/support/types/10/2(862f5a4154629fe01aa980dc9716fef052e10c52dabc85ff63af2da5121de9db):2637
+en.json:/support/types/10/3(02a62b08501c277852e03a5ea484c59ffc35cfb9e211f7231d2f89140f7e2481):2539
+en.json:/support/types/10/4(b4ccf9f9bc1e7cf74786e99fff7236fdfb1213e34d7d956065f66720815852d4):1498
+en.json:/support/types/10/5(cc72843144841a6f8110b7ebe7a1768101e03c4c8c152865cb7207e8e4bf8745):551
+en.json:/support/go/message(bb67364ace6403a6f20f49eafeaa17a2197da973bf30c9a895c1908ac935b60b):1345
+en.json:/support/go/ways/0(46dbcfc9d8d453df0ef137b1c47ed918d04ce1fad287eb869068b1bc68b2a946):651
+en.json:/support/go/ways/1(969ccbd3cf6300ecd5c880459d81ae9027df7517563184a1b8b15282db230621):891
+en.json:/support/go/warning(4ddd18c01062e2f195f5ce94839c57e98e33188de32288aa5ca542952241351b):4751
+en.json:/support/go/phone/0(1e826639358e2c0b93f441f9b02416653c4fda466d93e717b191544677c80e31):5893
+en.json:/support/go/phone/1(83c55560f8356a0174e872c787891046000dbbb37b1c2bac94cdad56a673ee14):6071
+en.json:/support/go/email/0(c1897626cefe46aac83a0ec93709d9d63ac67b453ba8c86e5bb1268c8f6a454b):7440
+en.json:/support/go/email/1(e25e315f3324a31d593b5125762a590d13a298acaa9dd49b9c21895b087cbecb):8267
+en.json:/support/rules(2c571ab1d814b368cfec6ab4f497a2cc74a4b4fd1a918e4fb5ce119257c17c35):1402
+en.json:/beta/title(952146e9bbe63daeb79f0fb0e0f418f8882a42f86d9613756799e3e635c402e6):859
+en.json:/beta/title2(0545261a78657968dcba53f2a572fb990334fe851540b8e631bc985a39160953):613
+en.json:/beta/message(5613c19c8b983b3065a2caa916862a81a2bafad9dc84bd7439605fa1501fc820):3169
+en.json:/beta/affected(2c3651ce628b377f2d46eb2cd4de79b4db579210a77601d7cec402e124500d2c):849
+en.json:/beta/users(6310a5ffd41a708ef2f8f626a1253b85b3d4dce13316cd916fa4f3124f3438b4):980
+en.json:/beta/public(a2eab36e43be51d427fd5dd41a686d0a6232e00f03095d8837ccc623a355084c):1080
+en.json:/beta/published(2ef42ec21d9300dd21ae3c7ca3711806cce3003fa4edafd22ee744fe86599799):638
+en.json:/beta/version(e6b2795d9c45f433be05157ad4b2740460e94371018f33a0761da7b86c692458):801
+en.json:/beta/php(30b9f368694d081f87e1c964b802e7cb42c1c688c8dc47a9aae91d0367e9f489):741
+en.json:/beta/build(0ae12b05cf0fd9ca25b2d10d4b4f31711a4e92ae36db50b1fe4cf0b7ade83ad8):639
+en.json:/beta/api(ff49a0cbf546566e7161479eb72963c4b9101ef769a46a9e876dddf555235118):768
+en.json:/beta/engine(71085db512c2d1b6390ee4d14281383af7010e1044c0af48ec4215888db7bf67):561
+en.json:/beta/latency(a18ddd6159ede6e4b2e69a990493b2ba6c024bbcb1be843370064cbcd53ba9ea):437
+en.json:/beta/os(0fcabfe6e097cd4064a08313b4b7da807f5ea3c59d056acc46289467bd2216e4):996
+en.json:/beta/process(2dc5316dc1abd2510f63ccdea13174fe3ff8c2f5efac5acc96df85421ee2920d):465
+en.json:/beta/root(384bbc23011b39e5920f50288e910e8719e76c0dca5a96b773dd0486d42d4303):622
+en.json:/beta/network(842a8073ce202412af24886b561bd5b78959e368ef929fc6dddbd36f8101ca2f):565
+en.json:/beta/new(18fdd549b2ed367ac0c74cbec1214644728515b30edbcb78e7d322757a7c8359):522
+en.json:/studio/title(e13cfc58cc090f36e934419dad168ac96e06f106d5c374a25b8b8ce7c5578ecf):561
+en.json:/studio/theme(efb52e7172b77731d996ff4f51cd7b3dcfd55fc6f07392994619418d58d170dd):590
+en.json:/studio/dark(3f11a5cc643ab5140966ef077d289165283d33669a68f0bed1efce3a9881384e):986
+en.json:/studio/light(3669a1b2770f0f397ce00265548b43387d4208de81249ee595b4dd45bb0659f5):623
+en.json:/studio/profile(d696a35bdd1883da07a8d6c41bb7a3153381b23aa197629ee273479a6eaa5a9c):651
+en.json:/studio/on(130011756125313c72f2cab730db4347e2841526d236a89cb25f38789fa49229):611
+en.json:/studio/off(ca7981b46ecf2c1787b6d76d81d9fd7fa0ca95842e2fcc2a452869891a9334d1):535
+en.json:/studio/redacted(017ad73325fcf108a972edac618f9edfc957c5b1de10f8b371b0a8bfa4f59e2d):771
+en.json:/studio/settings/badge/title(fef42f47ff3acd7395746a5585b918e6f21ed681d96270e103acbd597a03fa62):1388
+en.json:/studio/settings/badge/description(5c65c9bd0f340397ec9c484241ba9d4f68b1fadc7385aab02f20562a088ba617):2737
+en.json:/studio/settings/detailed/title(8f40ab0ffd3dba2fc231b8542ebd00fc71fc0d64fffbab08a1210e71ba12a144):1780
+en.json:/studio/settings/detailed/description(34024d53af65a2dee2543b6c04717643824cdbba72c61e74e8cf2a293abbcf16):1373
+en.json:/studio/settings/photo/title(49570890d70f9f6d79a774e618fc99e082077fc1658001308bbc9de7ea37114b):1577
+en.json:/studio/settings/photo/description(895a46fb55573f35ecc84cfc05ba4a110f8141efe5255aac5e2a5f555edbf443):2804
+en.json:/studio/settings/hide/title(38bca089887220d1a277ae567ddde42989685ac8e0ba1eb6c999df33bba8b24b):1398
+en.json:/studio/settings/hide/description(363c4667f11709b8062dce408b8eb768e67ee518004dbbaf1a27d4cea671c23e):3676
+en.json:/studio/settings/birth/title(2cb51eb4f5403f849c03d2ffe6ed1fbae6c9704e0a49a745f4ce85f6929e62dc):5718
+en.json:/studio/settings/birth/description(2b73d3d766d31771dc82ce5247d3f0a29eb1739e113f15505b4a0c306dbbba14):4153
+en.json:/studio/settings/phone/title(59dbfca02964dce0a6fb36d90df0945f3cdd2e2ffdeef863c657f3197fef20d3):1372
+en.json:/studio/settings/phone/description(aa36a25a1ca0882b8390c5885a988ab7d7f679139756040e9d907155feb02670):1099
+en.json:/studio/settings/email/title(9e419638b2da5bbc7ebdbb26a934c65d0eed997304ff8419d78efb689a2f8cdd):1255
+en.json:/studio/settings/email/description(b03b706596c49fb0d732e88f425182dccdfb81a48d5301d85c76a5c93e5a92c4):1192
+en.json:/studio/details/most(cb0ab045838866c88e6e4101c4616235f89786d7eff0a4f5a8f231b78d4ae793):791
+en.json:/studio/details/requests(290887aef4d330b38c1fceaf2da5a2fcae29a50996a4a4a1321eac582584dbdb):572
+en.json:/studio/details/none(4c963f0813a94a1c394e74bf75bd2c886ea342e70cd19bf80d4900ebeee5a75c):813
+en.json:/studio/kiosk(a32802716b504427c7c214479957aa80ff91acaf3f39a441cb3ef2aa293bc842):4124
+en.json:/badges/admin(555ffe0de83fd409d982635a9d8504f11e7d8f6eb9070888f7784ce8f66214ff):2284
+en.json:/badges/eap(d035ef6f6823ded69b1a17fae3c5981ce9b4857fef6687417809cb483c9cc061):521
+en.json:/badges/hunter(a5869ee35780a70f1c9502c5788f5d2a60296dd8189d3ea928f25f545377951e):1327
+en.json:/download/action(34087d10e12f67661b90f5ec280c388496ac39d90fe1293b544867790b1eeb2d):1485
+en.json:/download/title(69557504bb0f91538747f278531e23154408ba6bad10ab1944b78f08672b42af):571
+en.json:/download/title2(4f7cef2c4d84eab9eb5ef5ffef30d774ffbf243a020574cd7508777b67e16b76):1353
+en.json:/download/intro/0(002ecbda90348c0af9a15905e86e74ff254b83d852efadbb75b473e0f47598f0):11050
+en.json:/download/intro/1(1c0c2ce449e00b3352053fc647a621fefcf5694c431be1081fd60a1a7875d002):16238
+en.json:/download/intro/2(6ae94f50e72de6d050313a92292a3d0277997aa1d5627ea76b4a1d7dddd6c72c):2605
+en.json:/download/start(cdbc866b8af617fda9a763042c7d5fddbf3ab59c278344d4d229b3bf07bd688c):1333
+en.json:/download/files/user(f8f7993ec04697e095ab0f691668edfaa5d29db61c7635410ed4b94a34f42923):827
+en.json:/download/files/requests(91f850fa869b0086edbf5e4f2cdb8370c9f26fd9a81e3afb7ab648da5d1dd2ce):689
+en.json:/download/files/gallery(0d2aa84bed63fcfe1c749816f459c72d7a49b3b972f58a1f874284e575645883):992
+en.json:/download/files/pending(331551b0de4157c9abc7b72b61b96a2a928fd6db3cdf029c1fc44b08ad633aa6):596
+en.json:/download/files/closed(c21ead0614e7e1b70edb3759e1d19ca1e12e6036980d10bfb73052fb1a018efa):475
+en.json:/download/files/public(591935b15b1c88e2d5f6be0a054604fcf36f0585a6f51098fa3803826fff278c):497
+en.json:/download/files/deleted(b48ff39c2e0f5451b9b29b09c2a74d2760db230749ffd48a6e901cc91fef9a8d):530
+en.json:/download/files/history(0e769600933790607b2a13b33ddfade0fa17810eb62c3b28ee23e59516516491):563
+en.json:/download/files/profile(c5afdd5cd560ad62f1a10a24205361508327db7c34991dab045d783d1f3b634c):697
+en.json:/download/files/avatar(a7acc4ebae2c00142fc74577ddb733679a087770b10e29c1c57e4cf5bdf02f43):852
+en.json:/download/files/uploads(a1d4097f085724d2401a2fe6b18906fbef5ed4814cee798a4da45b018081bf77):1916
+en.json:/download/name(f9b5a61c0eea7dd14216473087e9ad73a42dbbbe311e753ac3ea3e7ef14f46af):2584
+en.json:/download/kiosk(39e90eb8316300893f3e6c1dca4986d643be683d0e3cd9b636184757e61c9a3e):6011
+en.json:/editor/items(a31cf724b01431b6f06a8f8cd06ff39850401959faf37236430f079e42a458fc):1954
+en.json:/editor/add(e1d2cc81df86cc55ead890cc1a9c7ce0ffb120e89eed480f7f4e52ce535873f0):1179
+en.json:/rules/intro(a58a94a9c8737c4085beab087f8be3d72124f72f07ba521bbfb6b82980dabb95):3143
+en.json:/rules/recaptcha(82d96759cae49f331894936a0dd5ce278833620bbcc3b8835e18bcfb6776b65e):7307
+en.json:/rules/sections/0(734c3c4947eecf380a2a4c1cba16c1a7b31584e87409a7f9aa6d7da6fde8b837):1267
+en.json:/rules/sections/1(01f619d9ccca7c5e8a22a76763ae0e7ed63a8c7fdf21d7feb132db0c2a1adff7):625
+en.json:/rules/sections/2(72061176678de92164113731c02ec7e991d7720c2dae6ad373c201a47ec4a29a):513
+en.json:/rules/sections/3(2a7646d03a0c2535ab946853acabd05d584b030d1bece117e461e8e901376472):703
+en.json:/rules/sections/4(880938d91921afe4705597c65def5c7fa3cbc0199164853dd87ba62483ecc71f):937
+en.json:/rules/sections/5(a93b429812dddc30d0e498a4b00b06c4cdaee9bfb3503ecd8c3d384ae85d89f2):812
+en.json:/notifications/expired1/message(fd98f37a5cf38fc07b7dd40eadd5bf849da9e16839f0c3c0da46c285bc1beb5c):7282
+en.json:/notifications/expired2/message(33ef4d2e50282779cab856b6cbd5d1db3486805120e5502827b7e66211765799):1997
+en.json:/rules/lines/0/0(54e3a192d55ed3eeabf96137288226c6997376ac012df151aaabda5cc1baa4b3):14198
+en.json:/rules/lines/0/1(3de6d00bb72f8dfb7ae56a3016c78920b05777f9391845ce3d1a166e3739a26c):4639
+en.json:/rules/lines/0/2(3fd6079e9f17a32217b59dcc66120ace49a6bb84259a624f3f32e58281f8fdbb):2800
+en.json:/rules/lines/0/3(54f821c1c708c3d2e3782d5de371d6c859f7bea6e6cb840b1aab4d45ba7c86e2):2897
+en.json:/rules/lines/0/4(d3cedab690c0279db12860ae809db3c8137c3b49339731c56cdd2a04f3b5f78c):2827
+en.json:/rules/lines/0/5(15bb00eb44c3845886bf93b31123a50759917d4ae1825765453dfd2d4a1ebeae):4186
+en.json:/rules/lines/0/6(96329dc6084e7baa3273aeecb789243d542479f2f43eb5eb79036b0c5a75c17c):3001
+en.json:/rules/lines/0/7(0003a11539c78ad45d41abeedd23609cf2c5cae488314060a110991b62386653):4752
+en.json:/rules/lines/0/8(b5c2e6de70a0657e51480bbb6a24d392cae92b83ad5da0f63b000fc883742442):2577
+en.json:/rules/lines/1/0(26e408a7fb63c8b7c0406fa746365b800dc59813d7207cb008fb8a3755ed476f):3008
+en.json:/rules/lines/1/1(7f9069407ef048faac972904c671225ffee131217de4ccf899a67367add5848f):1927
+en.json:/rules/lines/1/2(03dc2933bf067853a0f38e6de6998e1757c45a69e4fa92da6b36c8edc9d8d481):8113
+en.json:/rules/lines/1/3(faaff4237808217a7f6160b1225d8d99b9165c1b5aa8a7fd38cc0542548b4fd7):7539
+en.json:/rules/lines/1/4(95166224e4fe0383af40dbf95b92e2c5bcfd493675433b641d9b7421a3ee68ff):4808
+en.json:/rules/lines/1/5(b6e3fce367f5ef985aad40583f1020cbcfca0247166eae2ade648bf1e4fb83d4):12998
+en.json:/rules/lines/1/6(3a6a9bd6203bace6fa5d9de013603b995ced5e82a846ae44cfa72d7be0f23e5e):6689
+en.json:/rules/lines/1/7(d44a7d09a9535da8f7a07a6b74ff1d15110418b0cc602ad4b07a521ba2309c91):5726
+en.json:/rules/lines/1/8(aacec9d4a3f70af07250c4717761bf4679b7af4b6329e060267878d10cea8fdc):5632
+en.json:/rules/lines/2/0(7f536e185f38e432186981ee8498a5a5c7b670a1ad3b59cdd6ac5194db917133):3847
+en.json:/rules/lines/2/1(0a886f93c3bed495df8f6a2c44f1429a8de742b2a5bcbb802df73f6ff6c9e4f6):8689
+en.json:/rules/lines/2/2(dd3858177c3efe62edc001b6ceda87c93994eaa941afb2f2d2b5039cc8d577de):5851
+en.json:/rules/lines/2/3(297b113a64dca14d34ed01d45bad59717a0a237cb9ab67700ccafd9aa2d65623):6018
+en.json:/rules/lines/2/4(922b10062a5299d00765240b411fc2d7ac70ac86694b07e8e956d9ecde19d22e):7442
+en.json:/rules/lines/2/5(b28152128a3544955212a904a1aac9e16a1a4e794200e7db93326c78d6095a2b):4492
+en.json:/rules/lines/2/6(0068d51c830be38a1b142ff3f520bdc3884674b385eb3d05050c23f0ee75a37f):4954
+en.json:/rules/lines/3/0(e22c5345976aa9ac90f8ffdc7aa1433262eb127fe5be49d76857a5bb9ccf9ad4):3391
+en.json:/rules/lines/3/1(6018f30c3d634c4e3ff6014f34f640de3781d558a8ffd0a49a7cd998580494f2):9273
+en.json:/rules/lines/3/2(83b993b41bc3b4304ddb71078cfde4bef7fa1b849329c7ed630753a7280b0b4d):5136
+en.json:/rules/lines/3/3(fbaa487a26d39549c9ca23af926fc1f16dd0dcb5f6c8f216aeec1b05c4d314ff):10549
+en.json:/rules/lines/3/4(d2adedc9c694b2e519f4eaf7f90a930c286be880b2a5c4ea3a9330330b0833cc):3862
+en.json:/rules/lines/3/5(db8ad7664e3f6d843b8860fd33574beeec7879f5e9b6ca7a07ac1ee1e6bf7e92):5864
+en.json:/rules/lines/3/6(ba624653eceb5e06f90653358d4e74c23b5504fecd552b065eb5cb05b6a0a8a9):7933
+en.json:/rules/lines/3/7(fae7409e7b0b85083268eb3a47d8c42762df7531692219ef3c26ea6fe01cf87b):17103
+en.json:/rules/lines/3/8(f1fbf843a6b83cee5eec44e49341143956fc064c42d0f25136a90c9b9e2c497b):14231
+en.json:/rules/lines/3/9(881d44e7609e4475a1b9978b49b68c60b26a28d4f9e77ba7a0c9b066ed33711f):4595
+en.json:/rules/lines/4/0(b84fe5438f034b3a7fd108329fd0eb350edc23ef3ef15405dc1b2b11104ef277):7829
+en.json:/rules/lines/4/1(70cda92a67bf84626af9c006f4f25ff1a5d84dab743c944d4b62a710455b2498):5304
+en.json:/rules/lines/4/2(2bef575103944d203ad763e420edb54ab654ac73cf0e9556fca60b0fb794c51e):9018
+en.json:/rules/lines/4/3(1b3b3c371ee99ef1e48143d9b2efddf2da3829518fd9ebf044c71f67fec953cf):6042
+en.json:/rules/lines/4/4(7e82cfcfc145b64f84234a292779f6ea5b0e768d18a2b7436267900be7c97972):3924
+en.json:/rules/lines/4/5(e40a6692e6faa02e35e6c2296f0135ce9c6d858a238b0cf3b0008e8880719aec):11401
+en.json:/rules/lines/4/6(c407b0e5e304d5d1376e7e065bcab2e3800249815b7e68a1954d67668d6565a9):8087
+en.json:/rules/lines/5/0(deb1606229869a7d152a6449b2892c020e6b32d6d9017627bae5d5f3275071e2):7552
+en.json:/rules/lines/5/1(efabb712a511e33b271f6d3675635392b645bb11af630042862ad02835b18a0d):5148
+en.json:/rules/lines/5/2(c795eb918cedb513a203ce55f2801eb0e4758ee5969d364f4cefe8fa3c8b1309):16140
+en.json:/rules/lines/5/3(e507bc54f3f077f4b9dd4cdb2ca9071218ddddcd8ec0bd3ba501c29952529c4a):4785
+en.json:/rules/lines/5/4(b237a4d50cc6ad6baec6ce71cb429232a1b34a15eaadb95bc122334316c309c1):4360
+en.json:/rules/lines/5/5(a9c1f0f8fcc6d9461d6049d2f8f6c94d47ea8926ccd4831682af834b80657fda):9571
+en.json:/rules/lines/5/6(9be7e6a6a2ae338e3893932bfc53e208a13ee0dbcd438aac0848dd82349b6625):9484 \ No newline at end of file
diff --git a/lang/en.json b/lang/en.json
index 3435d21..5c269b7 100644
--- a/lang/en.json
+++ b/lang/en.json
@@ -10,7 +10,7 @@
"code2": "Code",
"invalid": "The code you have entered is either invalid, or has expired.",
"back": "Welcome back %1!",
- "done": "You are now logged in to Delta. If you are on a shared device, don't forget to log out once you are done.",
+ "done": "You are now logged into Delta. If you are on a shared device, don't forget to log out once you are done.",
"oobe": "Welcome to Delta!",
"oobe2": "This is your place to share content with your family in just a few minutes. Sharing knowledge, facts, and even photos is just a breeze with Delta.",
"start": "Get started",
@@ -357,7 +357,7 @@
"Features are not guaranteed to be stable or entirely usable until they publicly release. Users are expected to report issues to the developers.",
"Only supports people and articles pages, does not work with albums, search results, or profiles.",
"Not all interface elements cannot be customised. Customisations can be disabled at any time by the administrators.",
- "Notifications will stop working and emails will send again as soon as the Delta Ultra expires.",
+ "Notifications will stop working and emails will send again as soon as the Delta Ultra subscription expires.",
"Only covers one-time paid software that costs less than 20€, that is absolutely required and that has not been purchased yet.",
"Additional hardware will need to be paid for by the user, either to Delta or directly on a merchant service.",
"People who need to change their display name (transgender and/or married people) can ask to change their real name instead.",
@@ -461,11 +461,11 @@
},
"expired1": {
"title": "Your Delta Plus subscription has expired",
- "message": "Your Delta PLus subscription have ended because you do not have enough coins to pay for another month. All perks have been disabled."
+ "message": "Your Delta Plus subscription has ended because you do not have enough coins to pay for another month. All perks have been disabled."
},
"expired2": {
"title": "Your Delta Ultra subscription has expired",
- "message": "Your Delta Ultra subscription have ended because you do not have enough coins to pay for another month. All perks have been disabled."
+ "message": "Your Delta Ultra subscription has ended because you do not have enough coins to pay for another month. All perks have been disabled."
},
"birthday": {
"title": "Happy birthday!",
@@ -893,7 +893,7 @@
"For transparency reasons, some user information is publicly accessible by default. This helps reduce fraud and abuse.",
"Since the platform is accessible to people who are at least seven (7) years old, it is important that all content on the platform remains safe for children.",
"The platform will not communicate a user's immediate state (whether they are active or not) and will allow them to stop receiving mobile notifications at any time.",
- "The platform will only communicate with a user's through their mobile phone or email address.",
+ "The platform will only communicate with a user through their mobile phone or email address.",
"The platform's administrative personnel reserves the right to use a user's personal information to get in touch with them in the event that such an action is needed.",
"All personal data on the platform will never be exchanged, given, sold or borrowed to third-parties, and will not leave the platform's official servers."
],
diff --git a/lang/qqx.json b/lang/qqx.json
new file mode 100644
index 0000000..9e26dfe
--- /dev/null
+++ b/lang/qqx.json
@@ -0,0 +1 @@
+{} \ No newline at end of file
diff --git a/version b/version
index 56f1219..8cd1f2d 100644
--- a/version
+++ b/version
@@ -1 +1 @@
-5.2.16 \ No newline at end of file
+5.2.17 \ No newline at end of file