diginext-utils 2.1.24 → 2.1.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. package/dist/console/index.d.ts +2 -2
  2. package/dist/console/index.js +3 -2
  3. package/dist/console/index.js.map +1 -1
  4. package/esm/console/index.d.ts +2 -2
  5. package/esm/console/index.js +3 -2
  6. package/esm/console/index.js.map +1 -1
  7. package/package.json +70 -70
  8. package/dist/Checker.mjs +0 -29
  9. package/dist/EventDispatcher.mjs +0 -54
  10. package/dist/FileUpload.mjs +0 -62
  11. package/dist/Slug.mjs +0 -9
  12. package/dist/Timer-7b0c4e7c.d.ts +0 -11
  13. package/dist/Timer.mjs +0 -7
  14. package/dist/Validation.mjs +0 -35
  15. package/dist/array-c38eff4c.d.ts +0 -158
  16. package/dist/array.mjs +0 -49
  17. package/dist/browser-8d042ffe.d.ts +0 -22
  18. package/dist/camera-1a859d72.d.ts +0 -15
  19. package/dist/chunk-24DHBJAC.mjs +0 -35
  20. package/dist/chunk-32BJ2V3H.mjs +0 -195
  21. package/dist/chunk-32PJ3FML.mjs +0 -57
  22. package/dist/chunk-3OYOTSDB.mjs +0 -339
  23. package/dist/chunk-4CWVMQ53.mjs +0 -167
  24. package/dist/chunk-4VQ25N7H.mjs +0 -43
  25. package/dist/chunk-6OZHYD5H.mjs +0 -91
  26. package/dist/chunk-76AY2CWV.mjs +0 -22
  27. package/dist/chunk-7MK72U4O.mjs +0 -19
  28. package/dist/chunk-7SOQVGCL.mjs +0 -12
  29. package/dist/chunk-7XKT3AQX.mjs +0 -17
  30. package/dist/chunk-AT5ZUBQL.mjs +0 -151
  31. package/dist/chunk-CKILLYAP.mjs +0 -16
  32. package/dist/chunk-D5JDP7JB.mjs +0 -56
  33. package/dist/chunk-DEOVENCJ.mjs +0 -15
  34. package/dist/chunk-FILFH56Y.mjs +0 -21
  35. package/dist/chunk-FTXB3IBS.mjs +0 -20
  36. package/dist/chunk-GJMNV2OC.mjs +0 -35
  37. package/dist/chunk-GNJDIUYM.mjs +0 -40
  38. package/dist/chunk-HN4EHJ2H.mjs +0 -39
  39. package/dist/chunk-HTAKHCLC.mjs +0 -43
  40. package/dist/chunk-JAP2EUEW.mjs +0 -86
  41. package/dist/chunk-JFASFX5Y.mjs +0 -16
  42. package/dist/chunk-JIMOWRMS.mjs +0 -118
  43. package/dist/chunk-K4KENOE6.mjs +0 -20
  44. package/dist/chunk-LGBBKRBU.mjs +0 -40
  45. package/dist/chunk-PMJLVOEM.mjs +0 -25
  46. package/dist/chunk-PSVXSTS4.mjs +0 -51
  47. package/dist/chunk-SNYWQI35.mjs +0 -41
  48. package/dist/chunk-TV4YHUBU.mjs +0 -23
  49. package/dist/chunk-UHUY6K7N.mjs +0 -24
  50. package/dist/chunk-UZ7BFUDR.mjs +0 -258
  51. package/dist/chunk-YLZC36RI.mjs +0 -32
  52. package/dist/chunk-ZNIXVHZT.mjs +0 -24
  53. package/dist/color.mjs +0 -85
  54. package/dist/console/enableConsole.mjs +0 -9
  55. package/dist/console/index.mjs +0 -14
  56. package/dist/console/log.mjs +0 -19
  57. package/dist/createDir-220e0081.d.ts +0 -13
  58. package/dist/device/browser.mjs +0 -15
  59. package/dist/device/camera.mjs +0 -8
  60. package/dist/device/index.mjs +0 -15
  61. package/dist/device/os.mjs +0 -33
  62. package/dist/enableConsole-ddc24282.d.ts +0 -11
  63. package/dist/file/createDir.mjs +0 -7
  64. package/dist/file/fileMove.mjs +0 -7
  65. package/dist/file/findFilesByExt.mjs +0 -11
  66. package/dist/file/index.mjs +0 -17
  67. package/dist/fileMove-3a09e429.d.ts +0 -13
  68. package/dist/findFilesByExt-753e91d7.d.ts +0 -24
  69. package/dist/gameboi/index.mjs +0 -65
  70. package/dist/images/downloadByUrl.mjs +0 -53
  71. package/dist/images/index.mjs +0 -14
  72. package/dist/images/loadImage.mjs +0 -21
  73. package/dist/images/resize.mjs +0 -9
  74. package/dist/images/upload.mjs +0 -13
  75. package/dist/index-1e114d55.d.ts +0 -26
  76. package/dist/index-1f738e52.d.ts +0 -22
  77. package/dist/index-22309f0c.d.ts +0 -23
  78. package/dist/index-3eeb7834.d.ts +0 -90
  79. package/dist/index-6ae3c86b.d.ts +0 -63
  80. package/dist/index.mjs +0 -87
  81. package/dist/json.mjs +0 -29
  82. package/dist/math/diffDate.mjs +0 -9
  83. package/dist/math/index.mjs +0 -34
  84. package/dist/math/positiveNumber.mjs +0 -10
  85. package/dist/name/en.mjs +0 -9
  86. package/dist/name/index.mjs +0 -20
  87. package/dist/name/vi.mjs +0 -14
  88. package/dist/object-43aaaf92.d.ts +0 -80
  89. package/dist/object.mjs +0 -21
  90. package/dist/permission/index.mjs +0 -15
  91. package/dist/permission/requestCamera.mjs +0 -9
  92. package/dist/permission/requestDeviceOrientationControl.mjs +0 -10
  93. package/dist/requestCamera-32b7dfc7.d.ts +0 -14
  94. package/dist/requestDeviceOrientationControl-b6458660.d.ts +0 -11
  95. package/dist/response/index.mjs +0 -16
  96. package/dist/string/convertPathnameAndQuery.mjs +0 -28
  97. package/dist/string/formatNumber.mjs +0 -10
  98. package/dist/string/generatePassword.mjs +0 -10
  99. package/dist/string/generateUUID.mjs +0 -9
  100. package/dist/string/getTextBetweenCharByIndex.mjs +0 -22
  101. package/dist/string/index.mjs +0 -31
  102. package/dist/string/indexesOf.mjs +0 -7
  103. package/dist/string/makeDaySlug.mjs +0 -9
  104. package/dist/string/random.mjs +0 -23
  105. package/dist/string/trimNull.mjs +0 -9
  106. package/dist/string/url.mjs +0 -21
  107. package/dist/url-0da0be84.d.ts +0 -43
@@ -1,35 +0,0 @@
1
- // src/images/resize.ts
2
- import loadImage from "blueimp-load-image";
3
- var resize = async (file) => {
4
- if (!file) {
5
- console.error("NO FILE AVAIABLE!");
6
- return;
7
- }
8
- const { type } = file;
9
- const data = await loadImage(file, {
10
- //
11
- meta: false,
12
- canvas: true,
13
- maxWidth: 2048,
14
- maxHeight: 2048
15
- });
16
- const blob = await new Promise(function(resolve) {
17
- try {
18
- const canvas = data.image;
19
- canvas.toBlob(function(blob2) {
20
- resolve(blob2);
21
- }, type);
22
- } catch (error) {
23
- console.error(`diginext-utils/src/images/resize.ts canvas.toBlob error`, error);
24
- }
25
- });
26
- if (blob)
27
- return blob;
28
- return data;
29
- };
30
- var resize_default = resize;
31
-
32
- export {
33
- resize,
34
- resize_default
35
- };
@@ -1,40 +0,0 @@
1
- // src/console/log.ts
2
- import chalk from "chalk";
3
- import dayjs from "dayjs";
4
- var log = (...msg) => {
5
- console.log(chalk.bgBlue.white(`[LOGGING ${dayjs().format("YYYY-MM-DD HH:mm:ss")}]`), ...msg);
6
- return msg;
7
- };
8
- var logFull = (data = {}) => {
9
- console.dir(data, { depth: null, colors: true, maxArrayLength: null });
10
- return data;
11
- };
12
- var logRes = (res, ...msg) => {
13
- var _a, _b;
14
- console.warn(chalk.blue(`[${res.statusCode}] ${((_a = res.locals.req) == null ? void 0 : _a.originalUrl) || "UNKNOWN_PATH"} >> ${(_b = res.locals.req) == null ? void 0 : _b.method} >>`), ...msg);
15
- return msg;
16
- };
17
- var logError = (...msg) => {
18
- console.error(chalk.bgRed.white(`[ERROR ${dayjs().format("YYYY-MM-DD HH:mm:ss")}]`), chalk.red(...msg));
19
- return msg;
20
- };
21
- var logWarn = (...msg) => {
22
- console.warn(chalk.bgYellow.black(`[WARNING ${dayjs().format("YYYY-MM-DD HH:mm:ss")}]`), ...msg);
23
- return msg;
24
- };
25
- var logSuccess = (...msg) => {
26
- console.info(chalk.bgGreen.black(`[SUCCESS ${dayjs().format("YYYY-MM-DD HH:mm:ss")}]`), ...msg);
27
- return msg;
28
- };
29
- var xlog = { log, logFull, logRes, logError, logWarn, logSuccess };
30
- var log_default = xlog;
31
-
32
- export {
33
- log,
34
- logFull,
35
- logRes,
36
- logError,
37
- logWarn,
38
- logSuccess,
39
- log_default
40
- };
@@ -1,39 +0,0 @@
1
- import {
2
- __export,
3
- __require
4
- } from "./chunk-4VQ25N7H.mjs";
5
-
6
- // src/file/fileMove.ts
7
- var fileMove_exports = {};
8
- __export(fileMove_exports, {
9
- fileMove: () => fileMove
10
- });
11
- var fs = __require("fs");
12
- function fileMove(oldPath, newPath, callback) {
13
- fs.rename(oldPath, newPath, function(err) {
14
- if (err) {
15
- if (err.code === "EXDEV") {
16
- copy();
17
- } else {
18
- callback(err);
19
- }
20
- return;
21
- }
22
- callback();
23
- });
24
- function copy() {
25
- var readStream = fs.createReadStream(oldPath);
26
- var writeStream = fs.createWriteStream(newPath);
27
- readStream.on("error", callback);
28
- writeStream.on("error", callback);
29
- readStream.on("close", function() {
30
- fs.unlink(oldPath, callback);
31
- });
32
- readStream.pipe(writeStream);
33
- }
34
- }
35
-
36
- export {
37
- fileMove,
38
- fileMove_exports
39
- };
@@ -1,43 +0,0 @@
1
- // src/string/random.ts
2
- var textLowCase = "abcdefghijklmnopqrstuvwxyz";
3
- var numeric = "0123456789";
4
- var punctuation = "!@#$%^&*()_+~|}{[];?><,./-=";
5
- var allCharacter = `\u0111\u0110a\xE1\xE0\u1EA3\xE3\u1EA1\u0103\u1EAF\u1EB1\u1EB3\u1EB5\u1EB7\xE2\u1EA5\u1EA7\u1EA9\u1EAB\u1EADe\xE9\xE8\u1EBB\u1EBD\u1EB9\xEA\u1EBF\u1EC1\u1EC3\u1EC5\u1EC7o\xF3\xF2\u1ECF\xF5\u1ECD\xF4\u1ED1\u1ED3\u1ED5\u1ED7\u1ED9\u01A1\u1EDB\u1EDD\u1EDF\u1EE1\u1EE3i\xED\xEC\u1EC9\u0129\u1ECBu\xFA\xF9\u1EE7\u0169\u1EE5\u01B0\u1EE9\u1EEB\u1EED\u1EEF\u1EF1y\xFD\u1EF3\u1EF7\u1EF9\u1EF5A\xC1\xC0\u1EA2\xC3\u1EA0\u0102\u1EAE\u1EB0\u1EB2\u1EB4\u1EB6\xC2\u1EA4\u1EA6\u1EA8\u1EAA\u1EACE\xC9\xC8\u1EBA\u1EBC\u1EB8\xCA\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6O\xD3\xD2\u1ECE\xD5\u1ECC\xD4\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u01A0\u1EDA\u1EDC\u1EDE\u1EE0\u1EE2I\xCD\xCC\u1EC8\u0128\u1ECAU\xDA\xD9\u1EE6\u0168\u1EE4\u01AF\u1EE8\u1EEA\u1EEC\u1EEE\u1EF0Y\xDD\u1EF2 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_\`abcdefghijklmnopqrstuvwxyz{|}`;
6
- var randAllCharacterByLength = (length = 0) => {
7
- return randomStringByLength(length, allCharacter);
8
- };
9
- var randomStringByLength = (length, str = textLowCase) => {
10
- let result = "";
11
- for (let i = 0; i < length; i++) {
12
- result += str.charAt(Math.floor(Math.random() * str.length));
13
- }
14
- return result;
15
- };
16
- var randomStringAndNumberByLength = (length, str = `${textLowCase}${numeric}`) => {
17
- let result = "";
18
- for (let i = 0; i < length; i++) {
19
- result += str.charAt(Math.floor(Math.random() * str.length));
20
- }
21
- return result;
22
- };
23
- var uniqueSortByTime = (length = 6, str = `${textLowCase}${numeric}`) => {
24
- let result = `${+/* @__PURE__ */ new Date()}-`;
25
- for (let i = 0; i < length; i++) {
26
- result += str.charAt(Math.floor(Math.random() * str.length));
27
- }
28
- return result;
29
- };
30
- var random = { randAllCharacterByLength, randomStringByLength, randomStringAndNumberByLength, uniqueSortByTime };
31
- var random_default = random;
32
-
33
- export {
34
- textLowCase,
35
- numeric,
36
- punctuation,
37
- allCharacter,
38
- randAllCharacterByLength,
39
- randomStringByLength,
40
- randomStringAndNumberByLength,
41
- uniqueSortByTime,
42
- random_default
43
- };
@@ -1,86 +0,0 @@
1
- import {
2
- __export
3
- } from "./chunk-4VQ25N7H.mjs";
4
-
5
- // src/string/url.ts
6
- var url_exports = {};
7
- __export(url_exports, {
8
- addQueryParam: () => addQueryParam,
9
- default: () => url_default,
10
- getFileExtension: () => getFileExtension,
11
- getFileNameWithExtension: () => getFileNameWithExtension,
12
- getFileNameWithoutExtension: () => getFileNameWithoutExtension,
13
- getUrlParams: () => getUrlParams,
14
- isImage: () => isImage,
15
- isLink: () => isLink
16
- });
17
- var urlRegex = /(https?:\/\/[^\s]+)/g;
18
- var addQueryParam = (_url, key, value) => {
19
- _url += (_url.split("?")[1] ? "&" : "?") + `${key}=${value}`;
20
- return _url;
21
- };
22
- var getUrlParams = (parameter, staticURL, decode = true) => {
23
- if (typeof window == "undefined")
24
- return "";
25
- staticURL = staticURL == void 0 ? window.location.host : staticURL;
26
- var currLocation = staticURL.length > 0 ? staticURL : window.location.search;
27
- if (currLocation.split("?").length < 2)
28
- return "";
29
- var parArr = currLocation.split("?")[1].split("&"), returnBool = true;
30
- for (var i = 0; i < parArr.length; i++) {
31
- var parr = parArr[i].split("=");
32
- if (parr[0] == parameter) {
33
- return decode ? decodeURIComponent(parr[1]) : parr[1];
34
- returnBool = true;
35
- } else {
36
- returnBool = false;
37
- }
38
- }
39
- if (!returnBool)
40
- return false;
41
- };
42
- var isLink = (str) => {
43
- return urlRegex.test(str);
44
- };
45
- var getFileNameWithoutExtension = (url) => {
46
- var _a, _b;
47
- return ((_b = (_a = getFileNameWithExtension(url)) == null ? void 0 : _a.split(".")) == null ? void 0 : _b[0]) || "";
48
- };
49
- var getFileNameWithExtension = (url) => {
50
- url = url.replaceAll("\\", "/");
51
- const _url = decodeURIComponent(url);
52
- const m = `${_url.toString().match(/(?:.*\/)?([^\/]+)/)}`;
53
- if (m && m.split(",").length > 1) {
54
- return m.split(",")[1].replace(/(\?.*)|(\&.*)/, "");
55
- }
56
- return "";
57
- };
58
- var getFileExtension = (url) => {
59
- const arr = getFileNameWithExtension(url).split(".");
60
- if (arr.length > 1)
61
- return getFileNameWithExtension(url).split(".").pop();
62
- return null;
63
- };
64
- var isImage = (url) => {
65
- if (!url)
66
- return false;
67
- const arr = [".png", ".jpg", ".jpeg", ".jpe", ".jif", ".jfif", ".gif", ".svg"];
68
- const index = arr.findIndex((item) => {
69
- return url.indexOf(item) >= 0;
70
- });
71
- return index >= 0;
72
- };
73
- var xurl = { addQueryParam, getUrlParams, isLink, getFileNameWithoutExtension, getFileNameWithExtension, getFileExtension, isImage };
74
- var url_default = xurl;
75
-
76
- export {
77
- addQueryParam,
78
- getUrlParams,
79
- isLink,
80
- getFileNameWithoutExtension,
81
- getFileNameWithExtension,
82
- getFileExtension,
83
- isImage,
84
- url_default,
85
- url_exports
86
- };
@@ -1,16 +0,0 @@
1
- // src/string/indexesOf.ts
2
- function indexesOf(str, regex) {
3
- let match, indexes = {};
4
- const list = [];
5
- regex = new RegExp(regex);
6
- while (match = regex.exec(str)) {
7
- if (!indexes[match[0]])
8
- indexes[match[0]] = [];
9
- list.push(match.index);
10
- }
11
- return list;
12
- }
13
-
14
- export {
15
- indexesOf
16
- };
@@ -1,118 +0,0 @@
1
- import {
2
- diffDate
3
- } from "./chunk-7SOQVGCL.mjs";
4
- import {
5
- positiveNumber
6
- } from "./chunk-FILFH56Y.mjs";
7
- import {
8
- __export
9
- } from "./chunk-4VQ25N7H.mjs";
10
-
11
- // src/math/index.ts
12
- var math_exports = {};
13
- __export(math_exports, {
14
- angleBetweenPoints: () => angleBetweenPoints,
15
- clamp: () => clamp,
16
- default: () => math_default,
17
- degBetweenPoints: () => degBetweenPoints,
18
- degBetweenPoints360: () => degBetweenPoints360,
19
- degToRad: () => degToRad,
20
- distance2Point: () => distance2Point,
21
- radToDeg: () => radToDeg,
22
- rand: () => rand,
23
- randFloat: () => randFloat,
24
- randHalt: () => randHalt,
25
- randInt: () => randInt,
26
- randRound: () => randRound
27
- });
28
- var DEG2RAD = Math.PI / 180;
29
- var RAD2DEG = 180 / Math.PI;
30
- var randRound = (number) => {
31
- return Math.round(Math.random() * number);
32
- };
33
- var rand = (number) => {
34
- return (Math.random() - Math.random()) * number;
35
- };
36
- var randHalt = (number) => {
37
- var rand2 = Math.random() - Math.random();
38
- var res;
39
- if (rand2 > 0) {
40
- res = rand2 * (number / 2) + number / 2;
41
- } else {
42
- res = rand2 * (number / 2) - number / 2;
43
- }
44
- return Math.abs(res);
45
- };
46
- var randInt = (low, high) => {
47
- return low + Math.floor(Math.random() * (high - low + 1));
48
- };
49
- var randFloat = (low, high) => {
50
- return low + Math.random() * (high - low);
51
- };
52
- var degToRad = (degrees) => {
53
- return degrees * DEG2RAD;
54
- };
55
- var radToDeg = (radians) => {
56
- return radians * RAD2DEG;
57
- };
58
- var clamp = (value, min, max) => {
59
- const result = Math.max(min, Math.min(max, value));
60
- return Number.isFinite(result) ? result : 0;
61
- };
62
- var degBetweenPoints360 = (cx, cy, ex, ey) => {
63
- let theta = degBetweenPoints(cx, cy, ex, ey);
64
- if (theta < 0)
65
- theta = 360 + theta;
66
- return Number.isFinite(theta) ? theta : 0;
67
- };
68
- var degBetweenPoints = (cx, cy, ex, ey) => {
69
- const dy = ey - cy;
70
- const dx = ex - cx;
71
- let theta = Math.atan2(dy, dx);
72
- theta *= 180 / Math.PI;
73
- return Number.isFinite(theta) ? theta : 0;
74
- };
75
- var angleBetweenPoints = (cx, cy, ex, ey) => {
76
- const dy = ey - cy;
77
- const dx = ex - cx;
78
- let theta = Math.atan2(dy, dx);
79
- theta *= 180 / Math.PI;
80
- return Number.isFinite(theta) ? theta : 0;
81
- };
82
- var distance2Point = (x1, y1, x2, y2) => {
83
- const dist = Math.sqrt(Math.pow(x1 - x2, 2) + Math.pow(y1 - y2, 2));
84
- return Number.isFinite(dist) ? dist : 0;
85
- };
86
- var xmath = {
87
- rand,
88
- randRound,
89
- randHalt,
90
- randInt,
91
- randFloat,
92
- degToRad,
93
- radToDeg,
94
- degBetweenPoints360,
95
- degBetweenPoints,
96
- angleBetweenPoints,
97
- distance2Point,
98
- diffDate,
99
- positiveNumber
100
- };
101
- var math_default = xmath;
102
-
103
- export {
104
- randRound,
105
- rand,
106
- randHalt,
107
- randInt,
108
- randFloat,
109
- degToRad,
110
- radToDeg,
111
- clamp,
112
- degBetweenPoints360,
113
- degBetweenPoints,
114
- angleBetweenPoints,
115
- distance2Point,
116
- math_default,
117
- math_exports
118
- };
@@ -1,20 +0,0 @@
1
- // src/name/en.ts
2
- function capFirst(string) {
3
- return string.charAt(0).toUpperCase() + string.slice(1);
4
- }
5
- function getRandomInt(min, max) {
6
- return Math.floor(Math.random() * (max - min)) + min;
7
- }
8
- function generateName() {
9
- var name1 = ["abandoned", "able", "absolute", "adorable", "adventurous", "academic", "acceptable", "acclaimed", "accomplished", "accurate", "aching", "acidic", "acrobatic", "active", "actual", "adept", "admirable", "admired", "adolescent", "adorable", "adored", "advanced", "afraid", "affectionate", "aged", "aggravating", "aggressive", "agile", "agitated", "agonizing", "agreeable", "ajar", "alarmed", "alarming", "alert", "alienated", "alive", "all", "altruistic", "amazing", "ambitious", "ample", "amused", "amusing", "anchored", "ancient", "angelic", "angry", "anguished", "animated", "annual", "another", "antique", "anxious", "any", "apprehensive", "appropriate", "apt", "arctic", "arid", "aromatic", "artistic", "ashamed", "assured", "astonishing", "athletic", "attached", "attentive", "attractive", "austere", "authentic", "authorized", "automatic", "avaricious", "average", "aware", "awesome", "awful", "awkward", "babyish", "bad", "back", "baggy", "bare", "barren", "basic", "beautiful", "belated", "beloved", "beneficial", "better", "best", "bewitched", "big", "big-hearted", "biodegradable", "bite-sized", "bitter", "black", "black-and-white", "bland", "blank", "blaring", "bleak", "blind", "blissful", "blond", "blue", "blushing", "bogus", "boiling", "bold", "bony", "boring", "bossy", "both", "bouncy", "bountiful", "bowed", "brave", "breakable", "brief", "bright", "brilliant", "brisk", "broken", "bronze", "brown", "bruised", "bubbly", "bulky", "bumpy", "buoyant", "burdensome", "burly", "bustling", "busy", "buttery", "buzzing", "calculating", "calm", "candid", "canine", "capital", "carefree", "careful", "careless", "caring", "cautious", "cavernous", "celebrated", "charming", "cheap", "cheerful", "cheery", "chief", "chilly", "chubby", "circular", "classic", "clean", "clear", "clear-cut", "clever", "close", "closed", "cloudy", "clueless", "clumsy", "cluttered", "coarse", "cold", "colorful", "colorless", "colossal", "comfortable", "common", "compassionate", "competent", "complete", "complex", "complicated", "composed", "concerned", "concrete", "confused", "conscious", "considerate", "constant", "content", "conventional", "cooked", "cool", "cooperative", "coordinated", "corny", "corrupt", "costly", "courageous", "courteous", "crafty", "crazy", "creamy", "creative", "creepy", "criminal", "crisp", "critical", "crooked", "crowded", "cruel", "crushing", "cuddly", "cultivated", "cultured", "cumbersome", "curly", "curvy", "cute", "cylindrical", "damaged", "damp", "dangerous", "dapper", "daring", "darling", "dark", "dazzling", "dead", "deadly", "deafening", "dear", "dearest", "decent", "decimal", "decisive", "deep", "defenseless", "defensive", "defiant", "deficient", "definite", "definitive", "delayed", "delectable", "delicious", "delightful", "delirious", "demanding", "dense", "dental", "dependable", "dependent", "descriptive", "deserted", "detailed", "determined", "devoted", "different", "difficult", "digital", "diligent", "dim", "dimpled", "dimwitted", "direct", "disastrous", "discrete", "disfigured", "disgusting", "disloyal", "dismal", "distant", "downright", "dreary", "dirty", "disguised", "dishonest", "dismal", "distant", "distinct", "distorted", "dizzy", "dopey", "doting", "double", "downright", "drab", "drafty", "dramatic", "dreary", "droopy", "dry", "dual", "dull", "dutiful", "each", "eager", "earnest", "early", "easy", "easy-going", "ecstatic", "edible", "educated", "elaborate", "elastic", "elated", "elderly", "electric", "elegant", "elementary", "elliptical", "embarrassed", "embellished", "eminent", "emotional", "empty", "enchanted", "enchanting", "energetic", "enlightened", "enormous", "enraged", "entire", "envious", "equal", "equatorial", "essential", "esteemed", "ethical", "euphoric", "even", "evergreen", "everlasting", "every", "evil", "exalted", "excellent", "exemplary", "exhausted", "excitable", "excited", "exciting", "exotic", "expensive", "experienced", "expert", "extraneous", "extroverted", "extra-large", "extra-small", "fabulous", "failing", "faint", "fair", "faithful", "fake", "false", "familiar", "famous", "fancy", "fantastic", "far", "faraway", "far-flung", "far-off", "fast", "fat", "fatal", "fatherly", "favorable", "favorite", "fearful", "fearless", "feisty", "feline", "female", "feminine", "few", "fickle", "filthy", "fine", "finished", "firm", "first", "firsthand", "fitting", "fixed", "flaky", "flamboyant", "flashy", "flat", "flawed", "flawless", "flickering", "flimsy", "flippant", "flowery", "fluffy", "fluid", "flustered", "focused", "fond", "foolhardy", "foolish", "forceful", "forked", "formal", "forsaken", "forthright", "fortunate", "fragrant", "frail", "frank", "frayed", "free", "French", "fresh", "frequent", "friendly", "frightened", "frightening", "frigid", "frilly", "frizzy", "frivolous", "front", "frosty", "frozen", "frugal", "fruitful", "full", "fumbling", "functional", "funny", "fussy", "fuzzy", "gargantuan", "gaseous", "general", "generous", "gentle", "genuine", "giant", "giddy", "gigantic", "gifted", "giving", "glamorous", "glaring", "glass", "gleaming", "gleeful", "glistening", "glittering", "gloomy", "glorious", "glossy", "glum", "golden", "good", "good-natured", "gorgeous", "graceful", "gracious", "grand", "grandiose", "granular", "grateful", "grave", "gray", "great", "greedy", "green", "gregarious", "grim", "grimy", "gripping", "grizzled", "gross", "grotesque", "grouchy", "grounded", "growing", "growling", "grown", "grubby", "gruesome", "grumpy", "guilty", "gullible", "gummy", "hairy", "half", "handmade", "handsome", "handy", "happy", "happy-go-lucky", "hard", "hard-to-find", "harmful", "harmless", "harmonious", "harsh", "hasty", "hateful", "haunting", "healthy", "heartfelt", "hearty", "heavenly", "heavy", "hefty", "helpful", "helpless", "hidden", "hideous", "high", "high-level", "hilarious", "hoarse", "hollow", "homely", "honest", "honorable", "honored", "hopeful", "horrible", "hospitable", "hot", "huge", "humble", "humiliating", "humming", "humongous", "hungry", "hurtful", "husky", "icky", "icy", "ideal", "idealistic", "identical", "idle", "idiotic", "idolized", "ignorant", "ill", "illegal", "ill-fated", "ill-informed", "illiterate", "illustrious", "imaginary", "imaginative", "immaculate", "immaterial", "immediate", "immense", "impassioned", "impeccable", "impartial", "imperfect", "imperturbable", "impish", "impolite", "important", "impossible", "impractical", "impressionable", "impressive", "improbable", "impure", "inborn", "incomparable", "incompatible", "incomplete", "inconsequential", "incredible", "indelible", "inexperienced", "indolent", "infamous", "infantile", "infatuated", "inferior", "infinite", "informal", "innocent", "insecure", "insidious", "insignificant", "insistent", "instructive", "insubstantial", "intelligent", "intent", "intentional", "interesting", "internal", "international", "intrepid", "ironclad", "irresponsible", "irritating", "itchy", "jaded", "jagged", "jam-packed", "jaunty", "jealous", "jittery", "joint", "jolly", "jovial", "joyful", "joyous", "jubilant", "judicious", "juicy", "jumbo", "junior", "jumpy", "juvenile", "kaleidoscopic", "keen", "key", "kind", "kindhearted", "kindly", "klutzy", "knobby", "knotty", "knowledgeable", "knowing", "known", "kooky", "kosher", "lame", "lanky", "large", "last", "lasting", "late", "lavish", "lawful", "lazy", "leading", "lean", "leafy", "left", "legal", "legitimate", "light", "lighthearted", "likable", "likely", "limited", "limp", "limping", "linear", "lined", "liquid", "little", "live", "lively", "livid", "loathsome", "lone", "lonely", "long", "long-term", "loose", "lopsided", "lost", "loud", "lovable", "lovely", "loving", "low", "loyal", "lucky", "lumbering", "luminous", "lumpy", "lustrous", "luxurious", "mad", "made-up", "magnificent", "majestic", "major", "male", "mammoth", "married", "marvelous", "masculine", "massive", "mature", "meager", "mealy", "mean", "measly", "meaty", "medical", "mediocre", "medium", "meek", "mellow", "melodic", "memorable", "menacing", "merry", "messy", "metallic", "mild", "milky", "mindless", "miniature", "minor", "minty", "miserable", "miserly", "misguided", "misty", "mixed", "modern", "modest", "moist", "monstrous", "monthly", "monumental", "moral", "mortified", "motherly", "motionless", "mountainous", "muddy", "muffled", "multicolored", "mundane", "murky", "mushy", "musty", "muted", "mysterious", "naive", "narrow", "nasty", "natural", "naughty", "nautical", "near", "neat", "necessary", "needy", "negative", "neglected", "negligible", "neighboring", "nervous", "new", "next", "nice", "nifty", "nimble", "nippy", "nocturnal", "noisy", "nonstop", "normal", "notable", "noted", "noteworthy", "novel", "noxious", "numb", "nutritious", "nutty", "obedient", "obese", "oblong", "oily", "oblong", "obvious", "occasional", "odd", "oddball", "offbeat", "offensive", "official", "old", "old-fashioned", "only", "open", "optimal", "optimistic", "opulent", "orange", "orderly", "organic", "ornate", "ornery", "ordinary", "original", "other", "our", "outlying", "outgoing", "outlandish", "outrageous", "outstanding", "oval", "overcooked", "overdue", "overjoyed", "overlooked", "palatable", "pale", "paltry", "parallel", "parched", "partial", "passionate", "past", "pastel", "peaceful", "peppery", "perfect", "perfumed", "periodic", "perky", "personal", "pertinent", "pesky", "pessimistic", "petty", "phony", "physical", "piercing", "pink", "pitiful", "plain", "plaintive", "plastic", "playful", "pleasant", "pleased", "pleasing", "plump", "plush", "polished", "polite", "political", "pointed", "pointless", "poised", "poor", "popular", "portly", "posh", "positive", "possible", "potable", "powerful", "powerless", "practical", "precious", "present", "prestigious", "pretty", "precious", "previous", "pricey", "prickly", "primary", "prime", "pristine", "private", "prize", "probable", "productive", "profitable", "profuse", "proper", "proud", "prudent", "punctual", "pungent", "puny", "pure", "purple", "pushy", "putrid", "puzzled", "puzzling", "quaint", "qualified", "quarrelsome", "quarterly", "queasy", "querulous", "questionable", "quick", "quick-witted", "quiet", "quintessential", "quirky", "quixotic", "quizzical", "radiant", "ragged", "rapid", "rare", "rash", "raw", "recent", "reckless", "rectangular", "ready", "real", "realistic", "reasonable", "red", "reflecting", "regal", "regular", "reliable", "relieved", "remarkable", "remorseful", "remote", "repentant", "required", "respectful", "responsible", "repulsive", "revolving", "rewarding", "rich", "rigid", "right", "ringed", "ripe", "roasted", "robust", "rosy", "rotating", "rotten", "rough", "round", "rowdy", "royal", "rubbery", "rundown", "ruddy", "rude", "runny", "rural", "rusty", "sad", "safe", "salty", "same", "sandy", "sane", "sarcastic", "sardonic", "satisfied", "scaly", "scarce", "scared", "scary", "scented", "scholarly", "scientific", "scornful", "scratchy", "scrawny", "second", "secondary", "second-hand", "secret", "self-assured", "self-reliant", "selfish", "sentimental", "separate", "serene", "serious", "serpentine", "several", "severe", "shabby", "shadowy", "shady", "shallow", "shameful", "shameless", "sharp", "shimmering", "shiny", "shocked", "shocking", "shoddy", "short", "short-term", "showy", "shrill", "shy", "sick", "silent", "silky", "silly", "silver", "similar", "simple", "simplistic", "sinful", "single", "sizzling", "skeletal", "skinny", "sleepy", "slight", "slim", "slimy", "slippery", "slow", "slushy", "small", "smart", "smoggy", "smooth", "smug", "snappy", "snarling", "sneaky", "sniveling", "snoopy", "sociable", "soft", "soggy", "solid", "somber", "some", "spherical", "sophisticated", "sore", "sorrowful", "soulful", "soupy", "sour", "Spanish", "sparkling", "sparse", "specific", "spectacular", "speedy", "spicy", "spiffy", "spirited", "spiteful", "splendid", "spotless", "spotted", "spry", "square", "squeaky", "squiggly", "stable", "staid", "stained", "stale", "standard", "starchy", "stark", "starry", "steep", "sticky", "stiff", "stimulating", "stingy", "stormy", "straight", "strange", "steel", "strict", "strident", "striking", "striped", "strong", "studious", "stunning", "stupendous", "stupid", "sturdy", "stylish", "subdued", "submissive", "substantial", "subtle", "suburban", "sudden", "sugary", "sunny", "super", "superb", "superficial", "superior", "supportive", "sure-footed", "surprised", "suspicious", "svelte", "sweaty", "sweet", "sweltering", "swift", "sympathetic", "tall", "talkative", "tame", "tan", "tangible", "tart", "tasty", "tattered", "taut", "tedious", "teeming", "tempting", "tender", "tense", "tepid", "terrible", "terrific", "testy", "thankful", "that", "these", "thick", "thin", "third", "thirsty", "this", "thorough", "thorny", "those", "thoughtful", "threadbare", "thrifty", "thunderous", "tidy", "tight", "timely", "tinted", "tiny", "tired", "torn", "total", "tough", "traumatic", "treasured", "tremendous", "tragic", "trained", "tremendous", "triangular", "tricky", "trifling", "trim", "trivial", "troubled", "true", "trusting", "trustworthy", "trusty", "truthful", "tubby", "turbulent", "twin", "ugly", "ultimate", "unacceptable", "unaware", "uncomfortable", "uncommon", "unconscious", "understated", "unequaled", "uneven", "unfinished", "unfit", "unfolded", "unfortunate", "unhappy", "unhealthy", "uniform", "unimportant", "unique", "united", "unkempt", "unknown", "unlawful", "unlined", "unlucky", "unnatural", "unpleasant", "unrealistic", "unripe", "unruly", "unselfish", "unsightly", "unsteady", "unsung", "untidy", "untimely", "untried", "untrue", "unused", "unusual", "unwelcome", "unwieldy", "unwilling", "unwitting", "unwritten", "upbeat", "upright", "upset", "urban", "usable", "used", "useful", "useless", "utilized", "utter", "vacant", "vague", "vain", "valid", "valuable", "vapid", "variable", "vast", "velvety", "venerated", "vengeful", "verifiable", "vibrant", "vicious", "victorious", "vigilant", "vigorous", "villainous", "violet", "violent", "virtual", "virtuous", "visible", "vital", "vivacious", "vivid", "voluminous", "wan", "warlike", "warm", "warmhearted", "warped", "wary", "wasteful", "watchful", "waterlogged", "watery", "wavy", "wealthy", "weak", "weary", "webbed", "wee", "weekly", "weepy", "weighty", "weird", "welcome", "well-documented", "well-groomed", "well-informed", "well-lit", "well-made", "well-off", "well-to-do", "well-worn", "wet", "which", "whimsical", "whirlwind", "whispered", "white", "whole", "whopping", "wicked", "wide", "wide-eyed", "wiggly", "wild", "willing", "wilted", "winding", "windy", "winged", "wiry", "wise", "witty", "wobbly", "woeful", "wonderful", "wooden", "woozy", "wordy", "worldly", "worn", "worried", "worrisome", "worse", "worst", "worthless", "worthwhile", "worthy", "wrathful", "wretched", "writhing", "wrong", "wry", "yawning", "yearly", "yellow", "yellowish", "young", "youthful", "yummy", "zany", "zealous", "zesty", "zigzag", "rocky"];
10
- var name2 = ["people", "history", "way", "art", "world", "information", "map", "family", "government", "health", "system", "computer", "meat", "year", "thanks", "music", "person", "reading", "method", "data", "food", "understanding", "theory", "law", "bird", "literature", "problem", "software", "control", "knowledge", "power", "ability", "economics", "love", "internet", "television", "science", "library", "nature", "fact", "product", "idea", "temperature", "investment", "area", "society", "activity", "story", "industry", "media", "thing", "oven", "community", "definition", "safety", "quality", "development", "language", "management", "player", "variety", "video", "week", "security", "country", "exam", "movie", "organization", "equipment", "physics", "analysis", "policy", "series", "thought", "basis", "boyfriend", "direction", "strategy", "technology", "army", "camera", "freedom", "paper", "environment", "child", "instance", "month", "truth", "marketing", "university", "writing", "article", "department", "difference", "goal", "news", "audience", "fishing", "growth", "income", "marriage", "user", "combination", "failure", "meaning", "medicine", "philosophy", "teacher", "communication", "night", "chemistry", "disease", "disk", "energy", "nation", "road", "role", "soup", "advertising", "location", "success", "addition", "apartment", "education", "math", "moment", "painting", "politics", "attention", "decision", "event", "property", "shopping", "student", "wood", "competition", "distribution", "entertainment", "office", "population", "president", "unit", "category", "cigarette", "context", "introduction", "opportunity", "performance", "driver", "flight", "length", "magazine", "newspaper", "relationship", "teaching", "cell", "dealer", "debate", "finding", "lake", "member", "message", "phone", "scene", "appearance", "association", "concept", "customer", "death", "discussion", "housing", "inflation", "insurance", "mood", "woman", "advice", "blood", "effort", "expression", "importance", "opinion", "payment", "reality", "responsibility", "situation", "skill", "statement", "wealth", "application", "city", "county", "depth", "estate", "foundation", "grandmother", "heart", "perspective", "photo", "recipe", "studio", "topic", "collection", "depression", "imagination", "passion", "percentage", "resource", "setting", "ad", "agency", "college", "connection", "criticism", "debt", "description", "memory", "patience", "secretary", "solution", "administration", "aspect", "attitude", "director", "personality", "psychology", "recommendation", "response", "selection", "storage", "version", "alcohol", "argument", "complaint", "contract", "emphasis", "highway", "loss", "membership", "possession", "preparation", "steak", "union", "agreement", "cancer", "currency", "employment", "engineering", "entry", "interaction", "limit", "mixture", "preference", "region", "republic", "seat", "tradition", "virus", "actor", "classroom", "delivery", "device", "difficulty", "drama", "election", "engine", "football", "guidance", "hotel", "match", "owner", "priority", "protection", "suggestion", "tension", "variation", "anxiety", "atmosphere", "awareness", "bread", "climate", "comparison", "confusion", "construction", "elevator", "emotion", "employee", "employer", "guest", "height", "leadership", "mall", "manager", "operation", "recording", "respect", "sample", "transportation", "boring", "charity", "cousin", "disaster", "editor", "efficiency", "excitement", "extent", "feedback", "guitar", "homework", "leader", "mom", "outcome", "permission", "presentation", "promotion", "reflection", "refrigerator", "resolution", "revenue", "session", "singer", "tennis", "basket", "bonus", "cabinet", "childhood", "church", "clothes", "coffee", "dinner", "drawing", "hair", "hearing", "initiative", "judgment", "lab", "measurement", "mode", "mud", "orange", "poetry", "police", "possibility", "procedure", "queen", "ratio", "relation", "restaurant", "satisfaction", "sector", "signature", "significance", "song", "tooth", "town", "vehicle", "volume", "wife", "accident", "airport", "appointment", "arrival", "assumption", "baseball", "chapter", "committee", "conversation", "database", "enthusiasm", "error", "explanation", "farmer", "gate", "girl", "hall", "historian", "hospital", "injury", "instruction", "maintenance", "manufacturer", "meal", "perception", "pie", "poem", "presence", "proposal", "reception", "replacement", "revolution", "river", "son", "speech", "tea", "village", "warning", "winner", "worker", "writer", "assistance", "breath", "buyer", "chest", "chocolate", "conclusion", "contribution", "cookie", "courage", "desk", "drawer", "establishment", "examination", "garbage", "grocery", "honey", "impression", "improvement", "independence", "insect", "inspection", "inspector", "king", "ladder", "menu", "penalty", "piano", "potato", "profession", "professor", "quantity", "reaction", "requirement", "salad", "sister", "supermarket", "tongue", "weakness", "wedding", "affair", "ambition", "analyst", "apple", "assignment", "assistant", "bathroom", "bedroom", "beer", "birthday", "celebration", "championship", "cheek", "client", "consequence", "departure", "diamond", "dirt", "ear", "fortune", "friendship", "funeral", "gene", "girlfriend", "hat", "indication", "intention", "lady", "midnight", "negotiation", "obligation", "passenger", "pizza", "platform", "poet", "pollution", "recognition", "reputation", "shirt", "speaker", "stranger", "surgery", "sympathy", "tale", "throat", "trainer", "uncle", "youth", "time", "work", "film", "water", "money", "example", "while", "business", "study", "game", "life", "form", "air", "day", "place", "number", "part", "field", "fish", "back", "process", "heat", "hand", "experience", "job", "book", "end", "point", "type", "home", "economy", "value", "body", "market", "guide", "interest", "state", "radio", "course", "company", "price", "size", "card", "list", "mind", "trade", "line", "care", "group", "risk", "word", "fat", "force", "key", "light", "training", "name", "school", "top", "amount", "level", "order", "practice", "research", "sense", "service", "piece", "web", "boss", "sport", "fun", "house", "page", "term", "test", "answer", "sound", "focus", "matter", "kind", "soil", "board", "oil", "picture", "access", "garden", "range", "rate", "reason", "future", "site", "demand", "exercise", "image", "case", "cause", "coast", "action", "age", "bad", "boat", "record", "result", "section", "building", "mouse", "cash", "class", "period", "plan", "store", "tax", "side", "subject", "space", "rule", "stock", "weather", "chance", "figure", "man", "model", "source", "beginning", "earth", "program", "chicken", "design", "feature", "head", "material", "purpose", "question", "rock", "salt", "act", "birth", "car", "dog", "object", "scale", "sun", "note", "profit", "rent", "speed", "style", "war", "bank", "craft", "half", "inside", "outside", "standard", "bus", "exchange", "eye", "fire", "position", "pressure", "stress", "advantage", "benefit", "box", "frame", "issue", "step", "cycle", "face", "item", "metal", "paint", "review", "room", "screen", "structure", "view", "account", "ball", "discipline", "medium", "share", "balance", "bit", "black", "bottom", "choice", "gift", "impact", "machine", "shape", "tool", "wind", "address", "average", "career", "culture", "morning", "pot", "sign", "table", "task", "condition", "contact", "credit", "egg", "hope", "ice", "network", "north", "square", "attempt", "date", "effect", "link", "post", "star", "voice", "capital", "challenge", "friend", "self", "shot", "brush", "couple", "exit", "front", "function", "lack", "living", "plant", "plastic", "spot", "summer", "taste", "theme", "track", "wing", "brain", "button", "click", "desire", "foot", "gas", "influence", "notice", "rain", "wall", "base", "damage", "distance", "feeling", "pair", "savings", "staff", "sugar", "target", "text", "animal", "author", "budget", "discount", "file", "ground", "lesson", "minute", "officer", "phase", "reference", "register", "sky", "stage", "stick", "title", "trouble", "bowl", "bridge", "campaign", "character", "club", "edge", "evidence", "fan", "letter", "lock", "maximum", "novel", "option", "pack", "park", "quarter", "skin", "sort", "weight", "baby", "background", "carry", "dish", "factor", "fruit", "glass", "joint", "master", "muscle", "red", "strength", "traffic", "trip", "vegetable", "appeal", "chart", "gear", "ideal", "kitchen", "land", "log", "mother", "net", "party", "principle", "relative", "sale", "season", "signal", "spirit", "street", "tree", "wave", "belt", "bench", "commission", "copy", "drop", "minimum", "path", "progress", "project", "sea", "south", "status", "stuff", "ticket", "tour", "angle", "blue", "breakfast", "confidence", "daughter", "degree", "doctor", "dot", "dream", "duty", "essay", "father", "fee", "finance", "hour", "juice", "luck", "milk", "mouth", "peace", "pipe", "stable", "storm", "substance", "team", "trick", "afternoon", "bat", "beach", "blank", "catch", "chain", "consideration", "cream", "crew", "detail", "gold", "interview", "kid", "mark", "mission", "pain", "pleasure", "score", "screw", "sex", "shop", "shower", "suit", "tone", "window", "agent", "band", "bath", "block", "bone", "calendar", "candidate", "cap", "coat", "contest", "corner", "court", "cup", "district", "door", "east", "finger", "garage", "guarantee", "hole", "hook", "implement", "layer", "lecture", "lie", "manner", "meeting", "nose", "parking", "partner", "profile", "rice", "routine", "schedule", "swimming", "telephone", "tip", "winter", "airline", "bag", "battle", "bed", "bill", "bother", "cake", "code", "curve", "designer", "dimension", "dress", "ease", "emergency", "evening", "extension", "farm", "fight", "gap", "grade", "holiday", "horror", "horse", "host", "husband", "loan", "mistake", "mountain", "nail", "noise", "occasion", "package", "patient", "pause", "phrase", "proof", "race", "relief", "sand", "sentence", "shoulder", "smoke", "stomach", "string", "tourist", "towel", "vacation", "west", "wheel", "wine", "arm", "aside", "associate", "bet", "blow", "border", "branch", "breast", "brother", "buddy", "bunch", "chip", "coach", "cross", "document", "draft", "dust", "expert", "floor", "god", "golf", "habit", "iron", "judge", "knife", "landscape", "league", "mail", "mess", "native", "opening", "parent", "pattern", "pin", "pool", "pound", "request", "salary", "shame", "shelter", "shoe", "silver", "tackle", "tank", "trust", "assist", "bake", "bar", "bell", "bike", "blame", "boy", "brick", "chair", "closet", "clue", "collar", "comment", "conference", "devil", "diet", "fear", "fuel", "glove", "jacket", "lunch", "monitor", "mortgage", "nurse", "pace", "panic", "peak", "plane", "reward", "row", "sandwich", "shock", "spite", "spray", "surprise", "till", "transition", "weekend", "welcome", "yard", "alarm", "bend", "bicycle", "bite", "blind", "bottle", "cable", "candle", "clerk", "cloud", "concert", "counter", "flower", "grandfather", "harm", "knee", "lawyer", "leather", "load", "mirror", "neck", "pension", "plate", "purple", "ruin", "ship", "skirt", "slice", "snow", "specialist", "stroke", "switch", "trash", "tune", "zone", "anger", "award", "bid", "bitter", "boot", "bug", "camp", "candy", "carpet", "cat", "champion", "channel", "clock", "comfort", "cow", "crack", "engineer", "entrance", "fault", "grass", "guy", "hell", "highlight", "incident", "island", "joke", "jury", "leg", "lip", "mate", "motor", "nerve", "passage", "pen", "pride", "priest", "prize", "promise", "resident", "resort", "ring", "roof", "rope", "sail", "scheme", "script", "sock", "station", "toe", "tower", "truck", "witness", "can", "will", "other", "use", "make", "good", "look", "help", "go", "great", "being", "still", "public", "read", "keep", "start", "give", "human", "local", "general", "specific", "long", "play", "feel", "high", "put", "common", "set", "change", "simple", "past", "big", "possible", "particular", "major", "personal", "current", "national", "cut", "natural", "physical", "show", "try", "check", "second", "call", "move", "pay", "let", "increase", "single", "individual", "turn", "ask", "buy", "guard", "hold", "main", "offer", "potential", "professional", "international", "travel", "cook", "alternative", "special", "working", "whole", "dance", "excuse", "cold", "commercial", "low", "purchase", "deal", "primary", "worth", "fall", "necessary", "positive", "produce", "search", "present", "spend", "talk", "creative", "tell", "cost", "drive", "green", "support", "glad", "remove", "return", "run", "complex", "due", "effective", "middle", "regular", "reserve", "independent", "leave", "original", "reach", "rest", "serve", "watch", "beautiful", "charge", "active", "break", "negative", "safe", "stay", "visit", "visual", "affect", "cover", "report", "rise", "walk", "white", "junior", "pick", "unique", "classic", "final", "lift", "mix", "private", "stop", "teach", "western", "concern", "familiar", "fly", "official", "broad", "comfortable", "gain", "rich", "save", "stand", "young", "heavy", "lead", "listen", "valuable", "worry", "handle", "leading", "meet", "release", "sell", "finish", "normal", "press", "ride", "secret", "spread", "spring", "tough", "wait", "brown", "deep", "display", "flow", "hit", "objective", "shoot", "touch", "cancel", "chemical", "cry", "dump", "extreme", "push", "conflict", "eat", "fill", "formal", "jump", "kick", "opposite", "pass", "pitch", "remote", "total", "treat", "vast", "abuse", "beat", "burn", "deposit", "print", "raise", "sleep", "somewhere", "advance", "consist", "dark", "double", "draw", "equal", "fix", "hire", "internal", "join", "kill", "sensitive", "tap", "win", "attack", "claim", "constant", "drag", "drink", "guess", "minor", "pull", "raw", "soft", "solid", "wear", "weird", "wonder", "annual", "count", "dead", "doubt", "feed", "forever", "impress", "repeat", "round", "sing", "slide", "strip", "wish", "combine", "command", "dig", "divide", "equivalent", "hang", "hunt", "initial", "march", "mention", "spiritual", "survey", "tie", "adult", "brief", "crazy", "escape", "gather", "hate", "prior", "repair", "rough", "sad", "scratch", "sick", "strike", "employ", "external", "hurt", "illegal", "laugh", "lay", "mobile", "nasty", "ordinary", "respond", "royal", "senior", "split", "strain", "struggle", "swim", "train", "upper", "wash", "yellow", "convert", "crash", "dependent", "fold", "funny", "grab", "hide", "miss", "permit", "quote", "recover", "resolve", "roll", "sink", "slip", "spare", "suspect", "sweet", "swing", "twist", "upstairs", "usual", "abroad", "brave", "calm", "concentrate", "estimate", "grand", "male", "mine", "prompt", "quiet", "refuse", "regret", "reveal", "rush", "shake", "shift", "shine", "steal", "suck", "surround", "bear", "brilliant", "dare", "dear", "delay", "drunk", "female", "hurry", "inevitable", "invite", "kiss", "neat", "pop", "punch", "quit", "reply", "representative", "resist", "rip", "rub", "silly", "smile", "spell", "stretch", "stupid", "tear", "temporary", "tomorrow", "wake", "wrap", "yesterday", "Thomas", "Tom", "Lieuwe"];
11
- var name = capFirst(name1[getRandomInt(0, name1.length - 1)]) + " " + capFirst(name2[getRandomInt(0, name2.length - 1)]);
12
- return name;
13
- }
14
- var NameEN = { generateName };
15
- var en_default = NameEN;
16
-
17
- export {
18
- generateName,
19
- en_default
20
- };
@@ -1,40 +0,0 @@
1
- import {
2
- __export
3
- } from "./chunk-4VQ25N7H.mjs";
4
-
5
- // src/permission/requestCamera.ts
6
- var requestCamera_exports = {};
7
- __export(requestCamera_exports, {
8
- default: () => requestCamera_default,
9
- requestCamera: () => requestCamera
10
- });
11
- var requestCamera = ({ audio = true, video = true }) => {
12
- if (typeof window == "undefined")
13
- return false;
14
- return new Promise((resolve, reject) => {
15
- if (navigator.mediaDevices.getUserMedia === void 0) {
16
- navigator.mediaDevices.getUserMedia = function(constraints) {
17
- var getUserMedia = navigator.webkitGetUserMedia || navigator.mozGetUserMedia;
18
- if (!getUserMedia) {
19
- return Promise.reject(new Error("getUserMedia is not implemented in this browser"));
20
- }
21
- return new Promise(function(resolve2, reject2) {
22
- getUserMedia.call(navigator, constraints, resolve2, reject2);
23
- });
24
- };
25
- }
26
- navigator.mediaDevices.getUserMedia({ audio, video }).then(function(stream) {
27
- resolve(true);
28
- }).catch(function(err) {
29
- console.log(err.name + ": " + err.message);
30
- resolve(false);
31
- });
32
- });
33
- };
34
- var requestCamera_default = requestCamera;
35
-
36
- export {
37
- requestCamera,
38
- requestCamera_default,
39
- requestCamera_exports
40
- };