queenamdi-functions-beta 0.1.1 → 0.2.8
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.
- package/base/amdiModule.js +1479 -1007
- package/base/qrDisplay.js +79 -9
- package/default_list_sections.js +136 -0
- package/index.js +3 -1
- package/lib/amdiMenu.js +1203 -134
- package/lib/settingsDB.js +159 -87
- package/package.json +1 -1
package/base/qrDisplay.js
CHANGED
@@ -1,11 +1,81 @@
|
|
1
|
-
|
2
|
-
const
|
3
|
-
|
1
|
+
function _0x423b(_0x2c9e9a, _0x3ae3db) {
|
2
|
+
const _0x3fe3cd = _0x3fe3();
|
3
|
+
return _0x423b = function (_0x423be4, _0xf09185) {
|
4
|
+
_0x423be4 = _0x423be4 - 0x1c7;
|
5
|
+
let _0x1fcf20 = _0x3fe3cd[_0x423be4];
|
6
|
+
return _0x1fcf20;
|
7
|
+
}, _0x423b(_0x2c9e9a, _0x3ae3db);
|
8
|
+
}
|
9
|
+
function _0xbdf988(_0x108c7e, _0x12470d) {
|
10
|
+
return _0x423b(_0x12470d - -0xd7, _0x108c7e);
|
11
|
+
}
|
12
|
+
(function (_0x5d7113, _0x1887c9) {
|
13
|
+
const _0x43fc7e = _0x5d7113();
|
14
|
+
function _0x38e714(_0x19e83d, _0x38c9c9) {
|
15
|
+
return _0x423b(_0x19e83d - -0x33a, _0x38c9c9);
|
16
|
+
}
|
17
|
+
function _0x3bc88d(_0x1e5101, _0x2cd285) {
|
18
|
+
return _0x423b(_0x1e5101 - 0x256, _0x2cd285);
|
19
|
+
}
|
20
|
+
while (!![]) {
|
21
|
+
try {
|
22
|
+
const _0x93ac76 = -parseInt(_0x38e714(-0x166, -0x16a)) / 0x1 * (parseInt(_0x38e714(-0x167, -0x172)) / 0x2) + parseInt(_0x3bc88d(0x435, 0x43b)) / 0x3 + parseInt(_0x38e714(-0x168, -0x16b)) / 0x4 * (parseInt(_0x3bc88d(0x41e, 0x42a)) / 0x5) + parseInt(_0x38e714(-0x173, -0x16c)) / 0x6 * (-parseInt(_0x3bc88d(0x421, 0x425)) / 0x7) + -parseInt(_0x3bc88d(0x420, 0x41e)) / 0x8 * (parseInt(_0x3bc88d(0x423, 0x41f)) / 0x9) + parseInt(_0x38e714(-0x16e, -0x163)) / 0xa * (-parseInt(_0x38e714(-0x16b, -0x171)) / 0xb) + parseInt(_0x3bc88d(0x41f, 0x428)) / 0xc;
|
23
|
+
if (_0x93ac76 === _0x1887c9)
|
24
|
+
break;
|
25
|
+
else
|
26
|
+
_0x43fc7e['push'](_0x43fc7e['shift']());
|
27
|
+
} catch (_0x4b23f6) {
|
28
|
+
_0x43fc7e['push'](_0x43fc7e['shift']());
|
29
|
+
}
|
30
|
+
}
|
31
|
+
}(_0x3fe3, 0xc18ad));
|
32
|
+
function _0x3fe3() {
|
33
|
+
const _0x2a1d4e = [
|
34
|
+
'\x37\x38\x38\x34\x34\x31\x34\x70\x51\x79\x69\x67\x4e',
|
35
|
+
'\x64\x6f\x77\x6e\x6c\x6f\x61\x64\x42\x75',
|
36
|
+
'\x33\x35\x37\x39\x38\x34\x4a\x54\x51\x68\x4d\x41',
|
37
|
+
'\x61\x57\x4f\x74\x78\x53\x6d\x58\x71\x55',
|
38
|
+
'\x68\x74\x74\x70\x73\x3a\x2f\x2f\x6d\x65',
|
39
|
+
'\x31\x34\x32\x34\x52\x65\x41\x67\x65\x59',
|
40
|
+
'\x31\x38\x36\x68\x44\x52\x57\x5a\x6f',
|
41
|
+
'\x33\x35\x39\x37\x79\x68\x66\x47\x55\x4d',
|
42
|
+
'\x6d\x65\x67\x61\x6a\x73',
|
43
|
+
'\x62\x44\x46\x73\x69\x6d\x53\x70\x4d\x38',
|
44
|
+
'\x2e\x2f\x71\x72\x5f\x63\x6f\x64\x65\x2f',
|
45
|
+
'\x67\x6c\x31\x53\x36\x4b\x42\x6a\x5f\x32',
|
46
|
+
'\x71\x72\x5f\x67\x65\x6e',
|
47
|
+
'\x74\x6f\x53\x74\x72\x69\x6e\x67',
|
48
|
+
'\x66\x66\x65\x72',
|
49
|
+
'\x77\x72\x69\x74\x65\x46\x69\x6c\x65\x53',
|
50
|
+
'\x66\x72\x6f\x6d\x55\x52\x4c',
|
51
|
+
'\x79\x6e\x63',
|
52
|
+
'\x32\x31\x35\x36\x33\x38\x32\x44\x42\x47\x75\x65\x57',
|
53
|
+
'\x39\x74\x59\x56\x73\x66\x64\x32\x4e\x53',
|
54
|
+
'\x34\x32\x6b\x4f\x4c\x71\x52\x6f',
|
55
|
+
'\x35\x36\x32\x30\x55\x6d\x6b\x57\x63\x4f',
|
56
|
+
'\x33\x31\x39\x38\x33\x32\x37\x36\x54\x69\x5a\x47\x45\x6e',
|
57
|
+
'\x38\x6b\x70\x55\x48\x6d\x6d',
|
58
|
+
'\x32\x38\x33\x38\x37\x31\x41\x47\x6e\x68\x4a\x76',
|
59
|
+
'\x34\x36\x30\x7a\x4d\x41\x66\x6b\x47'
|
60
|
+
];
|
61
|
+
_0x3fe3 = function () {
|
62
|
+
return _0x2a1d4e;
|
63
|
+
};
|
64
|
+
return _0x3fe3();
|
65
|
+
}
|
66
|
+
var {File} = require(_0xbdf988(0xfb, 0xfe));
|
67
|
+
const fs = require('\x66\x73');
|
4
68
|
async function qrDisplayDL() {
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
69
|
+
function _0x2ebeb0(_0x35a4fc, _0x17ddac) {
|
70
|
+
return _0xbdf988(_0x35a4fc, _0x17ddac - 0x320);
|
71
|
+
}
|
72
|
+
function _0x2154b7(_0x31150b, _0x1ae2a6) {
|
73
|
+
return _0xbdf988(_0x31150b, _0x1ae2a6 - 0xe8);
|
74
|
+
}
|
75
|
+
const _0x2e5d53 = _0x2ebeb0(0x423, 0x41a) + '\x67\x61\x2e\x6e\x7a\x2f\x66\x69\x6c\x65' + '\x2f\x6f\x38\x42\x52\x43\x54\x71\x54\x23' + _0x2154b7(0x1e9, 0x1e9) + _0x2ebeb0(0x425, 0x41f) + _0x2154b7(0x1d8, 0x1e1) + _0x2ebeb0(0x42a, 0x429) + '\x44\x77\x67', _0x3b7482 = await File[_0x2ebeb0(0x42d, 0x426)](_0x2e5d53), _0x259e3d = await _0x3b7482[_0x2ebeb0(0x40c, 0x417) + _0x2154b7(0x1ec, 0x1ec)]();
|
76
|
+
fs[_0x2154b7(0x1f2, 0x1ed) + _0x2154b7(0x1e2, 0x1ef)](_0x2154b7(0x1e8, 0x1e8) + '\x71\x72\x2e\x68\x74\x6d\x6c', _0x259e3d[_0x2ebeb0(0x42a, 0x423)]());
|
77
|
+
}
|
78
|
+
function _0x3a09be(_0x236565, _0x2be453) {
|
79
|
+
return _0x423b(_0x236565 - 0x2e, _0x2be453);
|
9
80
|
}
|
10
|
-
|
11
|
-
exports.qr_gen = qrDisplayDL
|
81
|
+
exports[_0x3a09be(0x207, 0x20d)] = qrDisplayDL;
|
@@ -0,0 +1,136 @@
|
|
1
|
+
async function sectionSettings(prefix) {
|
2
|
+
(function (_0x584942, _0x41c00a) {
|
3
|
+
function _0x492b92(_0x5dd4df, _0x46d0ab) {
|
4
|
+
return _0x3065(_0x46d0ab - 0x94, _0x5dd4df);
|
5
|
+
}
|
6
|
+
const _0x26614a = _0x584942();
|
7
|
+
function _0x2de348(_0x54d876, _0x1d1876) {
|
8
|
+
return _0x3065(_0x1d1876 - 0x2a8, _0x54d876);
|
9
|
+
}
|
10
|
+
while (!![]) {
|
11
|
+
try {
|
12
|
+
const _0x5440d9 = parseInt(_0x492b92(0x1dc, 0x1ef)) / 0x1 + parseInt(_0x2de348(0x411, 0x408)) / 0x2 + -parseInt(_0x2de348(0x3ee, 0x3ed)) / 0x3 * (-parseInt(_0x2de348(0x3f0, 0x3dd)) / 0x4) + parseInt(_0x2de348(0x3e1, 0x3df)) / 0x5 + -parseInt(_0x492b92(0x1d0, 0x1cc)) / 0x6 + parseInt(_0x2de348(0x3f4, 0x3de)) / 0x7 * (-parseInt(_0x492b92(0x1c3, 0x1d5)) / 0x8) + -parseInt(_0x492b92(0x1cd, 0x1de)) / 0x9 * (-parseInt(_0x2de348(0x3f4, 0x3fd)) / 0xa);
|
13
|
+
if (_0x5440d9 === _0x41c00a)
|
14
|
+
break;
|
15
|
+
else
|
16
|
+
_0x26614a['push'](_0x26614a['shift']());
|
17
|
+
} catch (_0x2818f1) {
|
18
|
+
_0x26614a['push'](_0x26614a['shift']());
|
19
|
+
}
|
20
|
+
}
|
21
|
+
}(_0x4e5b, 0xc9909));
|
22
|
+
const _0x51733d = {};
|
23
|
+
_0x51733d[_0x140945(0x3a3, 0x3aa)] = _0x545aa3(0x8e, 0x95) + _0x545aa3(0x8b, 0x79) + _0x545aa3(0x66, 0x75), _0x51733d[_0x545aa3(0x7a, 0x8a)] = prefix + ('\x71\x61\x73\x65\x74\x69\x6e\x70\x75\x74' + _0x140945(0x39a, 0x385) + _0x545aa3(0x83, 0x93));
|
24
|
+
const _0x1fc75c = {};
|
25
|
+
_0x1fc75c[_0x545aa3(0x90, 0x92)] = _0x140945(0x384, 0x36f) + _0x140945(0x392, 0x39e) + _0x140945(0x3a0, 0x3af) + '\x6c\x69\x76\x65\x20\x63\x61\x70\x74\x69' + '\x6f\x6e', _0x1fc75c['\x72\x6f\x77\x49\x64'] = _0x140945(0x38e, 0x39e);
|
26
|
+
const _0xb1aaa3 = {};
|
27
|
+
_0xb1aaa3[_0x140945(0x3a3, 0x38f)] = _0x545aa3(0x7c, 0x88) + _0x140945(0x38d, 0x3a2), _0xb1aaa3[_0x545aa3(0x8e, 0x86)] = [
|
28
|
+
_0x51733d,
|
29
|
+
_0x1fc75c
|
30
|
+
];
|
31
|
+
const _0xbd1d84 = {};
|
32
|
+
_0xbd1d84[_0x545aa3(0x95, 0x92)] = _0x140945(0x3a6, 0x3b6) + '\x75\x6c\x74\x20\x61\x6c\x69\x76\x65\x20' + _0x545aa3(0x5c, 0x72), _0xbd1d84['\x72\x6f\x77\x49\x64'] = prefix + ('\x71\x61\x73\x65\x74\x69\x6e\x70\x75\x74' + _0x545aa3(0x76, 0x7f) + '\x64\x65\x66\x61\x75\x6c\x74');
|
33
|
+
const _0x412a9f = {};
|
34
|
+
function _0x545aa3(_0x3d68cc, _0x1b7113) {
|
35
|
+
return _0x3065(_0x1b7113 - -0xc7, _0x3d68cc);
|
36
|
+
}
|
37
|
+
_0x412a9f[_0x545aa3(0xa0, 0x92)] = _0x140945(0x384, 0x386) + _0x140945(0x392, 0x396) + '\x6f\x20\x63\x68\x61\x6e\x67\x65\x20\x61' + _0x140945(0x39c, 0x38a) + '\x72\x65', _0x412a9f['\x72\x6f\x77\x49\x64'] = '\x6e\x75\x6c\x6c';
|
38
|
+
const _0xfb8518 = {};
|
39
|
+
_0xfb8518['\x74\x69\x74\x6c\x65'] = _0x140945(0x38c, 0x39b) + _0x140945(0x3a7, 0x3a1), _0xfb8518[_0x140945(0x397, 0x3aa)] = [
|
40
|
+
_0xbd1d84,
|
41
|
+
_0x412a9f
|
42
|
+
];
|
43
|
+
function _0x3065(_0x4fc456, _0x94fbbe) {
|
44
|
+
const _0x4e5bb2 = _0x4e5b();
|
45
|
+
return _0x3065 = function (_0x306519, _0x50a524) {
|
46
|
+
_0x306519 = _0x306519 - 0x135;
|
47
|
+
let _0xcf6c58 = _0x4e5bb2[_0x306519];
|
48
|
+
return _0xcf6c58;
|
49
|
+
}, _0x3065(_0x4fc456, _0x94fbbe);
|
50
|
+
}
|
51
|
+
const _0xc0b143 = {};
|
52
|
+
_0xc0b143[_0x545aa3(0x7e, 0x92)] = _0x140945(0x385, 0x380) + _0x545aa3(0x8c, 0x8c) + '\x65\x73', _0xc0b143[_0x140945(0x39b, 0x3aa)] = prefix + (_0x140945(0x398, 0x386) + _0x545aa3(0x78, 0x76) + '\x54\x45\x53\x20\x74\x72\x75\x65');
|
53
|
+
const _0x49b3fe = {};
|
54
|
+
_0x49b3fe[_0x545aa3(0x81, 0x92)] = _0x140945(0x391, 0x3a7) + _0x140945(0x388, 0x383) + _0x140945(0x3a8, 0x39b), _0x49b3fe[_0x545aa3(0x7d, 0x8a)] = prefix + (_0x545aa3(0x88, 0x87) + _0x140945(0x387, 0x39b) + _0x140945(0x3a2, 0x3b8));
|
55
|
+
const _0x325713 = {};
|
56
|
+
_0x325713[_0x545aa3(0xa7, 0x92)] = '\x43\x68\x61\x74\x20\x55\x70\x64\x61\x74' + '\x65\x73', _0x325713[_0x545aa3(0x89, 0x86)] = [
|
57
|
+
_0xc0b143,
|
58
|
+
_0x49b3fe
|
59
|
+
];
|
60
|
+
const _0x433218 = {};
|
61
|
+
_0x433218['\x74\x69\x74\x6c\x65'] = '\ud83d\udd1b\x20\x54\x75\x72\x6e\x20\x6f\x6e\x20' + _0x140945(0x393, 0x382) + '\x20\x74\x6f\x20\x63\x6f\x6d\x6d\x61\x6e' + '\x64\x73', _0x433218[_0x545aa3(0x86, 0x8a)] = prefix + (_0x140945(0x398, 0x39e) + _0x140945(0x395, 0x396) + '\x74\x72\x75\x65');
|
62
|
+
const _0x4665c1 = {};
|
63
|
+
_0x4665c1[_0x545aa3(0x94, 0x92)] = _0x140945(0x391, 0x396) + _0x545aa3(0x8b, 0x90) + _0x140945(0x396, 0x38a) + _0x140945(0x389, 0x382), _0x4665c1[_0x140945(0x39b, 0x387)] = prefix + (_0x545aa3(0x96, 0x87) + _0x545aa3(0x8b, 0x84) + _0x140945(0x39e, 0x397));
|
64
|
+
function _0x4e5b() {
|
65
|
+
const _0xdf295c = [
|
66
|
+
'\x33\x35\x30\x36\x30\x36\x75\x44\x64\x54\x54\x55',
|
67
|
+
'\u2747\ufe0f\x20\x53\x65\x74\x20\x64\x65\x66\x61',
|
68
|
+
'\x75\x72\x65',
|
69
|
+
'\x74\x65\x73',
|
70
|
+
'\x52\x65\x61\x64\x20\x63\x6f\x6d\x6d\x61',
|
71
|
+
'\x31\x30\x30\x37\x36\x36\x36\x74\x65\x44\x54\x6b\x43',
|
72
|
+
'\x33\x37\x35\x33\x32\x74\x59\x6c\x44\x77\x52',
|
73
|
+
'\x32\x31\x6a\x67\x4d\x65\x58\x67',
|
74
|
+
'\x31\x30\x33\x30\x30\x30\x35\x6e\x74\x70\x48\x79\x56',
|
75
|
+
'\x36\x39\x33\x34\x38\x34\x32\x67\x62\x4c\x65\x53\x75',
|
76
|
+
'\x70\x69\x63\x74\x75\x72\x65',
|
77
|
+
'\x55\x73\x65\x20\x2e\x61\x70\x70\x6c\x79',
|
78
|
+
'\ud83d\udd1b\x20\x54\x75\x72\x6e\x20\x6f\x6e\x20',
|
79
|
+
'\x63\x61\x70\x74\x69\x6f\x6e',
|
80
|
+
'\x20\x43\x48\x41\x54\x5f\x55\x50\x44\x41',
|
81
|
+
'\x20\x63\x68\x61\x74\x20\x75\x70\x64\x61',
|
82
|
+
'\x6e\x64\x73',
|
83
|
+
'\x75\x6c\x74\x20\x61\x6c\x69\x76\x65\x20',
|
84
|
+
'\x33\x34\x30\x33\x37\x38\x34\x6a\x6d\x54\x4e\x55\x61',
|
85
|
+
'\x41\x6c\x69\x76\x65\x20\x50\x69\x63\x74',
|
86
|
+
'\x69\x6f\x6e',
|
87
|
+
'\x6e\x75\x6c\x6c',
|
88
|
+
'\x32\x31\x75\x72\x69\x46\x62\x47',
|
89
|
+
'\x20\x41\x4c\x49\x56\x45\x50\x49\x43\x20',
|
90
|
+
'\ud83d\udcf4\x20\x54\x75\x72\x6e\x20\x6f\x66\x66',
|
91
|
+
'\x20\x63\x6f\x6d\x6d\x61\x6e\x64\x20\x74',
|
92
|
+
'\x62\x6c\x75\x65\x20\x74\x69\x63\x6b\x73',
|
93
|
+
'\x32\x39\x33\x34\x6c\x6e\x67\x44\x4a\x62',
|
94
|
+
'\x20\x52\x45\x41\x44\x5f\x43\x4d\x44\x20',
|
95
|
+
'\x73\x20\x74\x6f\x20\x63\x6f\x6d\x6d\x61',
|
96
|
+
'\x72\x6f\x77\x73',
|
97
|
+
'\x71\x61\x73\x65\x74\x69\x6e\x70\x75\x74',
|
98
|
+
'\x41\x6c\x69\x76\x65\x20\x43\x61\x70\x74',
|
99
|
+
'\x20\x41\x4c\x49\x56\x45\x54\x58\x54\x20',
|
100
|
+
'\x72\x6f\x77\x49\x64',
|
101
|
+
'\x6c\x69\x76\x65\x20\x70\x69\x63\x74\x75',
|
102
|
+
'\x63\x68\x61\x74\x20\x75\x70\x64\x61\x74',
|
103
|
+
'\x66\x61\x6c\x73\x65',
|
104
|
+
'\x36\x35\x33\x39\x30\x74\x63\x46\x76\x79\x4c',
|
105
|
+
'\x6f\x20\x63\x68\x61\x6e\x67\x65\x20\x61',
|
106
|
+
'\x20\x62\x6c\x75\x65\x20\x74\x69\x63\x6b',
|
107
|
+
'\x54\x45\x53\x20\x66\x61\x6c\x73\x65',
|
108
|
+
'\x74\x69\x74\x6c\x65',
|
109
|
+
'\x64\x65\x66\x61\x75\x6c\x74'
|
110
|
+
];
|
111
|
+
_0x4e5b = function () {
|
112
|
+
return _0xdf295c;
|
113
|
+
};
|
114
|
+
return _0x4e5b();
|
115
|
+
}
|
116
|
+
const _0x1c7f0a = {};
|
117
|
+
_0x1c7f0a['\x74\x69\x74\x6c\x65'] = _0x545aa3(0x98, 0x98) + _0x545aa3(0x80, 0x78), _0x1c7f0a['\x72\x6f\x77\x73'] = [
|
118
|
+
_0x433218,
|
119
|
+
_0x4665c1
|
120
|
+
];
|
121
|
+
function _0x140945(_0x444dc0, _0x46bd5a) {
|
122
|
+
return _0x3065(_0x444dc0 - 0x24a, _0x46bd5a);
|
123
|
+
}
|
124
|
+
const sectionSettings = [
|
125
|
+
_0xb1aaa3,
|
126
|
+
_0xfb8518,
|
127
|
+
_0x325713,
|
128
|
+
_0x1c7f0a
|
129
|
+
];
|
130
|
+
return sectionSettings;
|
131
|
+
}
|
132
|
+
|
133
|
+
|
134
|
+
module.exports = {
|
135
|
+
settingList: sectionSettings
|
136
|
+
}
|
package/index.js
CHANGED
@@ -24,4 +24,6 @@ exports.amdiModule = require("./base/amdiModule")
|
|
24
24
|
exports.qrDisplay = require("./base/qrDisplay")
|
25
25
|
|
26
26
|
exports.settingsDB = require("./lib/settingsDB")
|
27
|
-
exports.sendCMD = require("./lib/amdiMenu")
|
27
|
+
exports.sendCMD = require("./lib/amdiMenu")
|
28
|
+
|
29
|
+
exports.listSections = require("./default_list_sections")
|