jsdecryptor 4.0.3 → 4.0.4
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/Database/database.js +1 -446
- package/Database/migration.js +1 -327
- package/Database/pgSync.js +1 -229
- package/Database/settingsStore.js +1 -305
- package/config.js +1 -32
- package/dave.js +1 -3063
- package/davelib/botConfig.js +1 -71
- package/davelib/greetings.js +1 -47
- package/davelib/id.js +1 -11
- package/davelib/index.js +1 -577
- package/davelib/isAdmin.js +1 -32
- package/davelib/isBanned.js +1 -12
- package/davelib/isOwner.js +1 -15
- package/davelib/messageConfig.js +1 -15
- package/davelib/messageHandler.js +1 -87
- package/davelib/reactions.js +1 -180
- package/davelib/welcome.js +1 -100
- package/daveset.js +1 -16
- package/davexcore/anti/antiaudio.js +1 -106
- package/davexcore/anti/antibadword.js +1 -313
- package/davexcore/anti/antibug.js +1 -156
- package/davexcore/anti/anticall.js +1 -219
- package/davexcore/anti/antichart.js +1 -280
- package/davexcore/anti/antidelete.js +1 -673
- package/davexcore/anti/antideletestatus.js +1 -535
- package/davexcore/anti/antidemote.js +1 -352
- package/davexcore/anti/antidocument.js +1 -105
- package/davexcore/anti/antiedit.js +1 -410
- package/davexcore/anti/antifiles.js +1 -109
- package/davexcore/anti/antigroupmention.js +1 -206
- package/davexcore/anti/antiimage.js +1 -105
- package/davexcore/anti/antikick.js +1 -125
- package/davexcore/anti/antilink.js +1 -237
- package/davexcore/anti/antimention.js +1 -143
- package/davexcore/anti/antipromote.js +1 -320
- package/davexcore/anti/antisticker.js +1 -105
- package/davexcore/anti/antitag.js +1 -191
- package/davexcore/anti/antivideo.js +1 -105
- package/davexcore/anti/antiviewonce.js +1 -396
- package/davexcore/anti/groupanticall.js +1 -262
- package/davexcore/anti/mention.js +1 -242
- package/davexcore/automation/alwaysonline.js +1 -226
- package/davexcore/automation/autoReadReciepts.js +1 -96
- package/davexcore/automation/autoread.js +1 -104
- package/davexcore/automation/autorecording.js +1 -197
- package/davexcore/automation/autostatus.js +1 -317
- package/davexcore/automation/autotyping.js +1 -197
- package/davexcore/automation/chatbot.js +1 -444
- package/davexcore/automation/chatmanage.js +1 -199
- package/davexcore/automation/devReact.js +1 -43
- package/davexcore/automation/goodbye.js +1 -181
- package/davexcore/automation/greetings.js +1 -154
- package/davexcore/automation/welcome.js +1 -187
- package/davexcore/group/addmember.js +1 -101
- package/davexcore/group/ban.js +1 -63
- package/davexcore/group/blockUnblock.js +1 -177
- package/davexcore/group/clear.js +1 -196
- package/davexcore/group/creategroup.js +1 -43
- package/davexcore/group/demote.js +1 -115
- package/davexcore/group/disappear.js +1 -67
- package/davexcore/group/groupinfo.js +1 -167
- package/davexcore/group/groupmanage.js +1 -133
- package/davexcore/group/hidetag.js +1 -108
- package/davexcore/group/joinrequests.js +1 -145
- package/davexcore/group/kick.js +1 -92
- package/davexcore/group/kickall.js +1 -63
- package/davexcore/group/leave.js +1 -38
- package/davexcore/group/linkgroup.js +1 -63
- package/davexcore/group/mute.js +1 -57
- package/davexcore/group/online.js +1 -117
- package/davexcore/group/pmblocker.js +1 -65
- package/davexcore/group/promote.js +1 -93
- package/davexcore/group/resetlink.js +1 -57
- package/davexcore/group/staff.js +1 -99
- package/davexcore/group/tag.js +1 -111
- package/davexcore/group/tagadmins.js +1 -88
- package/davexcore/group/tagall.js +1 -99
- package/davexcore/group/tagnotadmin.js +1 -92
- package/davexcore/group/topmembers.js +1 -202
- package/davexcore/group/unban.js +1 -64
- package/davexcore/group/unmute.js +1 -45
- package/davexcore/group/warn.js +1 -83
- package/davexcore/group/warnings.js +1 -26
- package/davexcore/owner/alive.js +1 -67
- package/davexcore/owner/bio.js +1 -49
- package/davexcore/owner/broadcast.js +1 -74
- package/davexcore/owner/chanel.js +1 -79
- package/davexcore/owner/channelid.js +1 -50
- package/davexcore/owner/clearsession.js +1 -86
- package/davexcore/owner/help.js +1 -649
- package/davexcore/owner/hijack.js +1 -69
- package/davexcore/owner/menuManage.js +1 -173
- package/davexcore/owner/menuSettings.js +1 -1
- package/davexcore/owner/owner.js +1 -17
- package/davexcore/owner/pair.js +1 -160
- package/davexcore/owner/pinchat.js +1 -44
- package/davexcore/owner/ping.js +1 -65
- package/davexcore/owner/profilepic.js +1 -61
- package/davexcore/owner/resetmenuimage.js +1 -16
- package/davexcore/owner/setGroupStatus.js +1 -315
- package/davexcore/owner/setbotconfig.js +1 -306
- package/davexcore/owner/setfont.js +1 -79
- package/davexcore/owner/setowner.js +1 -144
- package/davexcore/owner/setprefix.js +1 -131
- package/davexcore/owner/settings.js +1 -98
- package/davexcore/owner/startupwelcome.js +1 -94
- package/davexcore/owner/sudo.js +1 -138
- package/davexcore/owner/update.js +1 -282
- package/davexcore/utility/bible.js +1 -239
- package/davexcore/utility/encrypt.js +1 -99
- package/davexcore/utility/sports.js +1 -403
- package/index.js +1 -994
- package/package.json +1 -1
package/davelib/botConfig.js
CHANGED
|
@@ -1,71 +1 @@
|
|
|
1
|
-
const { getOwnerConfig, setOwnerConfig } =
|
|
2
|
-
|
|
3
|
-
const defaultConfig = {
|
|
4
|
-
botName: 'DAVE-X',
|
|
5
|
-
menuImage: '',
|
|
6
|
-
menuVideo: '',
|
|
7
|
-
ownerName: 'Dave',
|
|
8
|
-
welcomeMessage: 'Welcome to the group!',
|
|
9
|
-
goodbyeMessage: 'Goodbye!',
|
|
10
|
-
antideletePrivate: true,
|
|
11
|
-
botFont: 'none'
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
function getConfig() {
|
|
15
|
-
try {
|
|
16
|
-
const stored = getOwnerConfig('botconfig');
|
|
17
|
-
return { ...defaultConfig, ...(stored || {}) };
|
|
18
|
-
} catch (error) {
|
|
19
|
-
console.error('Error getting bot config:', error.message, 'Line:', error.stack?.split('\n')[1]);
|
|
20
|
-
return defaultConfig;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
function saveConfig(config) {
|
|
25
|
-
try {
|
|
26
|
-
setOwnerConfig('botconfig', config);
|
|
27
|
-
} catch (error) {
|
|
28
|
-
console.error('Error saving bot config:', error.message, 'Line:', error.stack?.split('\n')[1]);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
function getBotName() { return getConfig().botName; }
|
|
33
|
-
function setBotName(name) { const c = getConfig(); c.botName = name; saveConfig(c); }
|
|
34
|
-
|
|
35
|
-
function getMenuImage() { return getConfig().menuImage; }
|
|
36
|
-
function setMenuImage(url) { const c = getConfig(); c.menuImage = url; saveConfig(c); }
|
|
37
|
-
|
|
38
|
-
function getMenuVideo() { return getConfig().menuVideo || ''; }
|
|
39
|
-
function setMenuVideo(url) { const c = getConfig(); c.menuVideo = url; saveConfig(c); }
|
|
40
|
-
|
|
41
|
-
function getOwnerName() { return getConfig().ownerName; }
|
|
42
|
-
function setOwnerName(name) { const c = getConfig(); c.ownerName = name; saveConfig(c); }
|
|
43
|
-
|
|
44
|
-
function isAntideletePrivateEnabled() { return getConfig().antideletePrivate !== false; }
|
|
45
|
-
function setAntideletePrivate(enabled) { const c = getConfig(); c.antideletePrivate = enabled; saveConfig(c); }
|
|
46
|
-
|
|
47
|
-
function getBotFont() { return getConfig().botFont || 'none'; }
|
|
48
|
-
function setBotFont(font) { const c = getConfig(); c.botFont = font; saveConfig(c); }
|
|
49
|
-
|
|
50
|
-
function updateConfig(updates) {
|
|
51
|
-
const config = getConfig();
|
|
52
|
-
Object.assign(config, updates);
|
|
53
|
-
saveConfig(config);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
module.exports = {
|
|
57
|
-
getBotName,
|
|
58
|
-
setBotName,
|
|
59
|
-
getMenuImage,
|
|
60
|
-
setMenuImage,
|
|
61
|
-
getMenuVideo,
|
|
62
|
-
setMenuVideo,
|
|
63
|
-
getOwnerName,
|
|
64
|
-
setOwnerName,
|
|
65
|
-
isAntideletePrivateEnabled,
|
|
66
|
-
setAntideletePrivate,
|
|
67
|
-
getBotFont,
|
|
68
|
-
setBotFont,
|
|
69
|
-
getConfig,
|
|
70
|
-
updateConfig
|
|
71
|
-
};
|
|
1
|
+
const _0x4a883f=_0x5509;(function(_0x162191,_0x135602){const _0xc4af9f=_0x5509,_0x4bf038=_0x162191();while(!![]){try{const _0x845667=parseInt(_0xc4af9f(0x1c6))/(0xc5a*0x3+0x1c14+0x4121*-0x1)*(-parseInt(_0xc4af9f(0x1c3))/(-0xd8d*0x1+-0x3a7*-0x2+0x641*0x1))+parseInt(_0xc4af9f(0x1c4))/(-0xf81+-0x22*-0x73+0x3e)*(-parseInt(_0xc4af9f(0x1b2))/(-0x1239+0x1*-0x527+0x1764))+-parseInt(_0xc4af9f(0x1be))/(0x1794+-0x1*-0x210e+-0x389d*0x1)+-parseInt(_0xc4af9f(0x1c1))/(0xfcb*0x2+0x1*0x1d9e+-0x3d2e)+parseInt(_0xc4af9f(0x1bd))/(-0x3fb*-0x7+0xa0*-0x24+0x2ab*-0x2)+-parseInt(_0xc4af9f(0x1ca))/(-0x1703+0xd87+0x984)+-parseInt(_0xc4af9f(0x1cc))/(0xdeb+-0x1*-0x5fb+-0x13dd)*(-parseInt(_0xc4af9f(0x1cd))/(0x20bd+0xe4c+-0x2eff));if(_0x845667===_0x135602)break;else _0x4bf038['push'](_0x4bf038['shift']());}catch(_0x557009){_0x4bf038['push'](_0x4bf038['shift']());}}}(_0x3a3f,-0x11aebe+-0xa9ae9+0x28bf5f));const {getOwnerConfig,setOwnerConfig}=require(_0x4a883f(0x1c2)+_0x4a883f(0x1b7)+'Store'),defaultConfig={'botName':_0x4a883f(0x1c8),'menuImage':'','menuVideo':'','ownerName':_0x4a883f(0x1bc),'welcomeMessage':_0x4a883f(0x1b9)+'\x20the\x20group'+'!','goodbyeMessage':_0x4a883f(0x1b3),'antideletePrivate':!![],'botFont':_0x4a883f(0x1c5)};function getConfig(){const _0x31412e=_0x5509;try{const _0x5264b1=getOwnerConfig(_0x31412e(0x1ae));return{...defaultConfig,..._0x5264b1||{}};}catch(_0x13d7c2){return console[_0x31412e(0x1bb)]('Error\x20gett'+'ing\x20bot\x20co'+'nfig:',_0x13d7c2[_0x31412e(0x1bf)],_0x31412e(0x1b0),_0x13d7c2[_0x31412e(0x1c9)]?.[_0x31412e(0x1b1)]('\x0a')[-0x16c7+-0x2210+0xe36*0x4]),defaultConfig;}}function saveConfig(_0x538721){const _0x279417=_0x5509;try{setOwnerConfig(_0x279417(0x1ae),_0x538721);}catch(_0x3737aa){console['error'](_0x279417(0x1cb)+_0x279417(0x1b4)+'fig:',_0x3737aa['message'],'Line:',_0x3737aa['stack']?.[_0x279417(0x1b1)]('\x0a')[-0x916+0x1*-0xe6b+0x1782]);}}function _0x3a3f(){const _0x20b574=['zs9Zzxr0Aw5NCW','B3DUzxjoyw1L','v2vSy29Tzsb0BW','zxHWB3j0CW','zxjYB3i','rgf2zq','mJu5nJuXmejjENbwqG','mZa5odm1nwLoz0LLEa','BwvZC2fNzq','yxnZAwDU','otq0nJuWmLrjAxnICq','lI4Vrgf0ywjHCW','mtzmDuXJDNO','mtqZnZG2mwDJCMPdtG','BM9Uzq','mte2otK4yu1QzNzo','BwvUDuLTywDL','refwrs1y','C3rHy2S','mZy5mZG0ogDvwKPoEG','rxjYB3iGC2f2Aq','nZaZoty3ngf1reTjwa','nZbZyxbLBuy','yM90tMfTzq','yM90y29UzMLN','BwvUDvzPzgvV','tgLUztO','C3bSAxq','mtjWBMfnu3C','r29Vzgj5zse','BMCGyM90ignVBG','uhjPDMf0zq','yw50AwrLBgv0zq'];_0x3a3f=function(){return _0x20b574;};return _0x3a3f();}function getBotName(){return getConfig()['botName'];}function setBotName(_0x377d31){const _0x13dae5=_0x5509,_0x5a9ea0=getConfig();_0x5a9ea0[_0x13dae5(0x1ce)]=_0x377d31,saveConfig(_0x5a9ea0);}function getMenuImage(){const _0x3ddcc3=_0x5509;return getConfig()[_0x3ddcc3(0x1c7)];}function setMenuImage(_0x521aa6){const _0x5db4ba=_0x5509,_0x4fd293=getConfig();_0x4fd293[_0x5db4ba(0x1c7)]=_0x521aa6,saveConfig(_0x4fd293);}function getMenuVideo(){const _0x309f5d=_0x5509;return getConfig()[_0x309f5d(0x1af)]||'';}function setMenuVideo(_0xa0c1c0){const _0xddbf47=_0x5509,_0x59ceee=getConfig();_0x59ceee[_0xddbf47(0x1af)]=_0xa0c1c0,saveConfig(_0x59ceee);}function getOwnerName(){const _0x3ff6cc=_0x5509;return getConfig()[_0x3ff6cc(0x1b8)];}function _0x5509(_0x53a026,_0x3f1b3b){_0x53a026=_0x53a026-(0x1ed*0x5+-0x2527+-0x1*-0x1d34);const _0x102522=_0x3a3f();let _0x228ad0=_0x102522[_0x53a026];if(_0x5509['nVzuFR']===undefined){var _0x30a845=function(_0x2f9cae){const _0x1b9c43='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x567589='',_0x33354e='';for(let _0xc58976=-0x8d*-0x45+0x9a6+-0x2fa7,_0x55641f,_0x5f1d43,_0x417605=-0x1*0xc8f+0x2247+-0x15b8;_0x5f1d43=_0x2f9cae['charAt'](_0x417605++);~_0x5f1d43&&(_0x55641f=_0xc58976%(0xc2b+-0x241*-0x1+0x2*-0x734)?_0x55641f*(0x332*0x2+0x232d+-0x7*0x5e7)+_0x5f1d43:_0x5f1d43,_0xc58976++%(0x1*-0x175f+-0x1*0xfb5+0x2718))?_0x567589+=String['fromCharCode'](0x1724+-0x1663+0x3e&_0x55641f>>(-(0x8df*0x1+0x101*-0xb+0x22e)*_0xc58976&-0xc86+-0x178d*0x1+0x2419)):0x1363+-0x1922+0x1*0x5bf){_0x5f1d43=_0x1b9c43['indexOf'](_0x5f1d43);}for(let _0x47dd6a=-0x88e+0x10e1+-0x853,_0x2f3bb5=_0x567589['length'];_0x47dd6a<_0x2f3bb5;_0x47dd6a++){_0x33354e+='%'+('00'+_0x567589['charCodeAt'](_0x47dd6a)['toString'](-0x1d31+-0x2374+0xcf1*0x5))['slice'](-(-0x1028+0x1d6*-0xa+0x2286));}return decodeURIComponent(_0x33354e);};_0x5509['aKXxJn']=_0x30a845,_0x5509['ofEQYb']={},_0x5509['nVzuFR']=!![];}const _0x1dccfd=_0x102522[-0x1aa5+-0xa4c*-0x2+0x60d],_0x3209d6=_0x53a026+_0x1dccfd,_0x3e9766=_0x5509['ofEQYb'][_0x3209d6];return!_0x3e9766?(_0x228ad0=_0x5509['aKXxJn'](_0x228ad0),_0x5509['ofEQYb'][_0x3209d6]=_0x228ad0):_0x228ad0=_0x3e9766,_0x228ad0;}function setOwnerName(_0x1a0061){const _0x1329c7=getConfig();_0x1329c7['ownerName']=_0x1a0061,saveConfig(_0x1329c7);}function isAntideletePrivateEnabled(){const _0x594c36=_0x5509;return getConfig()[_0x594c36(0x1b6)+_0x594c36(0x1b5)]!==![];}function setAntideletePrivate(_0x1c84f5){const _0x1484d1=_0x5509,_0x369cc8=getConfig();_0x369cc8['antidelete'+_0x1484d1(0x1b5)]=_0x1c84f5,saveConfig(_0x369cc8);}function getBotFont(){const _0x1be307=_0x5509;return getConfig()['botFont']||_0x1be307(0x1c5);}function setBotFont(_0x39236a){const _0x540483=getConfig();_0x540483['botFont']=_0x39236a,saveConfig(_0x540483);}function updateConfig(_0x2c8f61){const _0x51d483=_0x5509,_0x20212f=getConfig();Object[_0x51d483(0x1c0)](_0x20212f,_0x2c8f61),saveConfig(_0x20212f);}module[_0x4a883f(0x1ba)]={'getBotName':getBotName,'setBotName':setBotName,'getMenuImage':getMenuImage,'setMenuImage':setMenuImage,'getMenuVideo':getMenuVideo,'setMenuVideo':setMenuVideo,'getOwnerName':getOwnerName,'setOwnerName':setOwnerName,'isAntideletePrivateEnabled':isAntideletePrivateEnabled,'setAntideletePrivate':setAntideletePrivate,'getBotFont':getBotFont,'setBotFont':setBotFont,'getConfig':getConfig,'updateConfig':updateConfig};
|
package/davelib/greetings.js
CHANGED
|
@@ -1,47 +1 @@
|
|
|
1
|
-
function getTimeGreeting() {
|
|
2
|
-
const hour = new Date().getHours();
|
|
3
|
-
|
|
4
|
-
if (hour >= 5 && hour < 12) {
|
|
5
|
-
return { greeting: 'Good Morning', emoji: '🌅' };
|
|
6
|
-
} else if (hour >= 12 && hour < 17) {
|
|
7
|
-
return { greeting: 'Good Afternoon', emoji: '☀️' };
|
|
8
|
-
} else if (hour >= 17 && hour < 21) {
|
|
9
|
-
return { greeting: 'Good Evening', emoji: '🌆' };
|
|
10
|
-
} else {
|
|
11
|
-
return { greeting: 'Good Night', emoji: '🌙' };
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
function formatTime() {
|
|
16
|
-
const now = new Date();
|
|
17
|
-
return now.toLocaleTimeString('en-US', {
|
|
18
|
-
hour: '2-digit',
|
|
19
|
-
minute: '2-digit',
|
|
20
|
-
hour12: true
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
function formatDate() {
|
|
25
|
-
const now = new Date();
|
|
26
|
-
return now.toLocaleDateString('en-US', {
|
|
27
|
-
weekday: 'long',
|
|
28
|
-
year: 'numeric',
|
|
29
|
-
month: 'long',
|
|
30
|
-
day: 'numeric'
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
function getGreetingMessage(userName = 'User') {
|
|
35
|
-
const { greeting, emoji } = getTimeGreeting();
|
|
36
|
-
const time = formatTime();
|
|
37
|
-
const date = formatDate();
|
|
38
|
-
|
|
39
|
-
return `${emoji} *${greeting}, ${userName}!*\n🕐 ${time}\n📅 ${date}`;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
module.exports = {
|
|
43
|
-
getTimeGreeting,
|
|
44
|
-
formatTime,
|
|
45
|
-
formatDate,
|
|
46
|
-
getGreetingMessage
|
|
47
|
-
};
|
|
1
|
+
const _0xc0be52=_0xa611;(function(_0x143bb4,_0x199b43){const _0x3c1469=_0xa611,_0x28de05=_0x143bb4();while(!![]){try{const _0x5f2d4a=-parseInt(_0x3c1469(0x11b))/(-0x74a+-0x8e6+0x1031*0x1)*(-parseInt(_0x3c1469(0x11a))/(0x1baa+0xd59+-0x2901))+parseInt(_0x3c1469(0x11c))/(-0x875+-0xa93+0x130b)*(-parseInt(_0x3c1469(0x104))/(0x17c6+-0x24ed+0xd2b))+-parseInt(_0x3c1469(0x114))/(-0x3*-0x5f2+-0x1bc5+0x9f4)+parseInt(_0x3c1469(0x108))/(0x559*0x5+0x1*0x106+0x1b*-0x107)+-parseInt(_0x3c1469(0x115))/(0x25fe+-0x1e2c+-0x7cb)*(parseInt(_0x3c1469(0x10f))/(0x21fa+0xe66+-0x3058))+parseInt(_0x3c1469(0x109))/(-0xf73+-0x34f+0x11*0x11b)*(parseInt(_0x3c1469(0x10e))/(0xd3a+-0x17a2+0xa72))+parseInt(_0x3c1469(0x113))/(0xe*0xfc+-0x1*-0xd32+-0xc5*0x23);if(_0x5f2d4a===_0x199b43)break;else _0x28de05['push'](_0x28de05['shift']());}catch(_0x3bb349){_0x28de05['push'](_0x28de05['shift']());}}}(_0x11ca,0x9b9fa+0x12*-0x28f2+0xd577));function getTimeGreeting(){const _0x1564aa=_0xa611,_0x16bbe7=new Date()[_0x1564aa(0x112)]();if(_0x16bbe7>=-0x18d7*0x1+-0x2703+-0x1*-0x3fdf&&_0x16bbe7<-0x19e6+0x20d5+-0x1*0x6e3)return{'greeting':_0x1564aa(0x117)+'ng','emoji':'🌅'};else{if(_0x16bbe7>=0xd34+0x11*-0x65+-0x7f*0xd&&_0x16bbe7<0xb1f*-0x1+0x76*0x2b+-0x8a2)return{'greeting':_0x1564aa(0x10d)+_0x1564aa(0x116),'emoji':'☀️'};else return _0x16bbe7>=-0x1a8f+-0x1d60*0x1+-0x400*-0xe&&_0x16bbe7<-0x176+-0x9ad*-0x4+-0x2529?{'greeting':_0x1564aa(0x118)+'ng','emoji':'🌆'}:{'greeting':'Good\x20Night','emoji':'🌙'};}}function formatTime(){const _0x57694e=_0xa611,_0xce9f1f=new Date();return _0xce9f1f[_0x57694e(0x107)+_0x57694e(0x110)](_0x57694e(0x10c),{'hour':_0x57694e(0x106),'minute':_0x57694e(0x106),'hour12':!![]});}function _0xa611(_0x39fc14,_0x31705a){_0x39fc14=_0x39fc14-(0x1d95+0x2391+-0x4022*0x1);const _0xef0603=_0x11ca();let _0x3a899f=_0xef0603[_0x39fc14];if(_0xa611['atUbtq']===undefined){var _0xb1d4e6=function(_0x264ddf){const _0x28bcfc='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xce6fdd='',_0x2bf2bf='';for(let _0x1a732d=-0x21bd+-0x19ad+0x3b6a,_0x1850a4,_0x330d06,_0x19ee94=-0x2703+0x1f79+-0x1*-0x78a;_0x330d06=_0x264ddf['charAt'](_0x19ee94++);~_0x330d06&&(_0x1850a4=_0x1a732d%(-0x19e6+0x20d5+-0x1*0x6eb)?_0x1850a4*(0xd34+0x11*-0x65+-0x7b*0xd)+_0x330d06:_0x330d06,_0x1a732d++%(0xb1f*-0x1+0x76*0x2b+-0x8af))?_0xce6fdd+=String['fromCharCode'](-0x1a8f+-0x1d60*0x1+-0x97d*-0x6&_0x1850a4>>(-(-0x176+-0x9ad*-0x4+-0x253c)*_0x1a732d&0x2*-0xa39+-0x1c7e+0x3*0x1052)):-0xb87*-0x1+-0x40c+-0x17f*0x5){_0x330d06=_0x28bcfc['indexOf'](_0x330d06);}for(let _0x5f219f=0x1d15+0x994*0x3+-0x39d1,_0x2c13a6=_0xce6fdd['length'];_0x5f219f<_0x2c13a6;_0x5f219f++){_0x2bf2bf+='%'+('00'+_0xce6fdd['charCodeAt'](_0x5f219f)['toString'](-0xe3f+0x2*0x1001+-0x11b3))['slice'](-(-0x14d4+-0x18cd+0x2da3));}return decodeURIComponent(_0x2bf2bf);};_0xa611['GDjwSy']=_0xb1d4e6,_0xa611['WqGSPl']={},_0xa611['atUbtq']=!![];}const _0x1bf079=_0xef0603[0x1*0x1f65+-0x629*-0x3+0x2a*-0x130],_0x427cb0=_0x39fc14+_0x1bf079,_0xf5c5ea=_0xa611['WqGSPl'][_0x427cb0];return!_0xf5c5ea?(_0x3a899f=_0xa611['GDjwSy'](_0x3a899f),_0xa611['WqGSPl'][_0x427cb0]=_0x3a899f):_0x3a899f=_0xf5c5ea,_0x3a899f;}function formatDate(){const _0x4ee497=_0xa611,_0x5760ae=new Date();return _0x5760ae[_0x4ee497(0x119)+'teString'](_0x4ee497(0x10c),{'weekday':_0x4ee497(0x10a),'year':_0x4ee497(0x105),'month':'long','day':_0x4ee497(0x105)});}function getGreetingMessage(_0x43d7e8=_0xc0be52(0x111)){const _0x4616e7=_0xa611,{greeting:_0x1502d3,emoji:_0x3640fe}=getTimeGreeting(),_0x3ee17b=formatTime(),_0x3dc29a=formatDate();return _0x3640fe+'\x20*'+_0x1502d3+',\x20'+_0x43d7e8+'!*\x0a🕐\x20'+_0x3ee17b+_0x4616e7(0x10b)+_0x3dc29a;}module['exports']={'getTimeGreeting':getTimeGreeting,'formatTime':formatTime,'formatDate':formatDate,'getGreetingMessage':getGreetingMessage};function _0x11ca(){const _0x3e1cd0=['mI1KAwDPDa','Dg9mB2nHBgvuAq','mZiZnJq3ohLrBMjhyW','mJDbEfLurNK','Bg9UzW','cVcFK4uG','zw4Tvvm','r29VzcbbzNrLCG','mJq5odqYmgfKB0zABq','ntKXmZyYnfDuz0rzvq','BwvtDhjPBMC','vxnLCG','z2v0sg91CNm','mty1ntiXndbQzfn6Bue','ndGXmte5mhHVBKjHwG','n1PZsNvpyW','BM9VBG','r29VzcbnB3jUAq','r29VzcbfDMvUAq','Dg9mB2nHBgveyq','mte2oda0tvPbsgrr','m21QzNb4vq','mJi5mJeXn0LgqwLgzW','nhblAxv3Aa','BNvTzxjPyW'];_0x11ca=function(){return _0x3e1cd0;};return _0x11ca();}
|
package/davelib/id.js
CHANGED
|
@@ -1,11 +1 @@
|
|
|
1
|
-
function makeid(
|
|
2
|
-
let result = "";
|
|
3
|
-
let characters = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
|
4
|
-
var characters9 = characters.length;
|
|
5
|
-
for (var i = 0; i < num; i++) {
|
|
6
|
-
result += characters.charAt(Math.floor(Math.random() * characters9));
|
|
7
|
-
}
|
|
8
|
-
return result;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
module.exports = { makeid };
|
|
1
|
+
const _0x470688=_0x3924;(function(_0x4e19f6,_0x48922a){const _0x442834=_0x3924,_0x3e87ad=_0x4e19f6();while(!![]){try{const _0x51ccfc=parseInt(_0x442834(0x1f8))/(0x1017+0xf95+-0x1fab)*(parseInt(_0x442834(0x1fe))/(-0x7be*-0x3+0x3*-0xb9b+0xb99))+-parseInt(_0x442834(0x1f0))/(0x1*-0xc18+0x2*0xa63+-0x1*0x8ab)+-parseInt(_0x442834(0x1f7))/(-0x11ac+-0xd42+0x1ef2)*(parseInt(_0x442834(0x200))/(-0xc11*0x1+0x9a7*0x4+-0x23*0xc2))+parseInt(_0x442834(0x1f4))/(0x47f*0x8+0x8*0xe3+-0x2b0a)+-parseInt(_0x442834(0x1ff))/(0xa53*0x3+-0x6f*0x53+0x50b*0x1)*(-parseInt(_0x442834(0x1fa))/(0x2438+-0x754+-0x1cdc))+-parseInt(_0x442834(0x1fb))/(0x11b*0x9+0x1d5*0x7+-0x16bd*0x1)+parseInt(_0x442834(0x1f2))/(-0x3*0xe3+0x1*0x1b7+0xfc);if(_0x51ccfc===_0x48922a)break;else _0x3e87ad['push'](_0x3e87ad['shift']());}catch(_0x389c48){_0x3e87ad['push'](_0x3e87ad['shift']());}}}(_0xd044,0x2*-0xaeb12+0x54f8b+0x1ec937));function makeid(_0x5e9917=0x1*0xd2d+0x1a3a+0x2763*-0x1){const _0x5094d8=_0x3924;let _0x2abe24='',_0x5e794f=_0x5094d8(0x1f1)+'KLMNOPQRST'+_0x5094d8(0x1f3)+_0x5094d8(0x1f9)+_0x5094d8(0x1f6)+_0x5094d8(0x1fc)+'89';var _0x12b92b=_0x5e794f[_0x5094d8(0x1fd)];for(var _0x3bfd20=0x1e*-0x31+0x2244+0x6*-0x4c1;_0x3bfd20<_0x5e9917;_0x3bfd20++){_0x2abe24+=_0x5e794f[_0x5094d8(0x1f5)](Math['floor'](Math['random']()*_0x12b92b));}return _0x2abe24;}function _0x3924(_0x361dbb,_0x4b05de){_0x361dbb=_0x361dbb-(0x1adb+0xd*-0x41+-0xf*0x171);const _0x4b1ed6=_0xd044();let _0x18cca8=_0x4b1ed6[_0x361dbb];if(_0x3924['uBkfTc']===undefined){var _0x2de9e8=function(_0xdcac00){const _0x33a024='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5427e8='',_0xebda5b='';for(let _0x4a2545=-0x1767+0x621*-0x6+0x4f*0xc3,_0x435358,_0x42b496,_0x7a834f=-0x1*0x230c+0xe14*0x1+-0x53e*-0x4;_0x42b496=_0xdcac00['charAt'](_0x7a834f++);~_0x42b496&&(_0x435358=_0x4a2545%(-0x1*-0x3d5+-0x355*-0x5+0x147a*-0x1)?_0x435358*(0xef7+0x17*-0x2f+-0xa7e)+_0x42b496:_0x42b496,_0x4a2545++%(0x4+-0x1*-0x1d72+-0x1d72))?_0x5427e8+=String['fromCharCode'](0x1fe0+-0x22c9+-0x28*-0x19&_0x435358>>(-(-0x21b1+0x8*-0x10+0x2233)*_0x4a2545&-0x3*-0xb3+-0x9ab+0x798)):-0x1*0x900+-0x2583+0x2e83){_0x42b496=_0x33a024['indexOf'](_0x42b496);}for(let _0x2c7eb5=0x1*0x36d+-0x6bb*-0x5+-0x1c*0x153,_0x2806f2=_0x5427e8['length'];_0x2c7eb5<_0x2806f2;_0x2c7eb5++){_0xebda5b+='%'+('00'+_0x5427e8['charCodeAt'](_0x2c7eb5)['toString'](-0x1bcf+0x957+0x4*0x4a2))['slice'](-(0x93f+-0x28*0xab+0x117b*0x1));}return decodeURIComponent(_0xebda5b);};_0x3924['QXjGiZ']=_0x2de9e8,_0x3924['lmAUND']={},_0x3924['uBkfTc']=!![];}const _0x3be998=_0x4b1ed6[0x9dc+-0x1f7e+-0x39b*-0x6],_0x32560d=_0x361dbb+_0x3be998,_0x5a7983=_0x3924['lmAUND'][_0x32560d];return!_0x5a7983?(_0x18cca8=_0x3924['QXjGiZ'](_0x18cca8),_0x3924['lmAUND'][_0x32560d]=_0x18cca8):_0x18cca8=_0x5a7983,_0x18cca8;}module[_0x470688(0x1ef)]={'makeid':makeid};function _0xd044(){const _0x3bacc1=['mtC2mte0ngL3ruHhAq','y2HHCKf0','B3bXCNn0Dxz3Ea','mJbTDenxteO','nZe1otq3v2XKENvr','zwzNAgLQA2XTBG','ogzTEuzLra','mteXnZm3mJvpt256r0i','ExOWmtiZndu2nW','BgvUz3rO','mKTQqNrkBW','ndm2mJK4mwnzCfnyrW','ntG3nZm1qMDbCwHh','zxHWB3j0CW','nJa1oteWChb1yKT6','qujdrevgr0HjsG','mtmZmZaZndbyAenuAu8','vvzxwfLAywjJza'];_0xd044=function(){return _0x3bacc1;};return _0xd044();}
|