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
|
@@ -1,396 +1 @@
|
|
|
1
|
-
const { downloadContentFromMessage, downloadMediaMessage, getContentType, normalizeMessageContent } = require('@whiskeysockets/baileys');
|
|
2
|
-
const { getOwnerConfig, setOwnerConfig, getGroupConfig, parseToggleCommand } = require('../../Database/settingsStore');
|
|
3
|
-
const db = require('../../Database/database');
|
|
4
|
-
const { createFakeContact, getBotName } = require('../../davelib/fakeContact');
|
|
5
|
-
const { getPrefix } = require('../owner/setprefix');
|
|
6
|
-
|
|
7
|
-
function normalizeOwnerConfig(raw) {
|
|
8
|
-
if (!raw || typeof raw !== 'object') {
|
|
9
|
-
return { gc: { enabled: false, mode: 'private' }, pm: { enabled: false, mode: 'private' } };
|
|
10
|
-
}
|
|
11
|
-
if (raw.gc && raw.pm) return raw;
|
|
12
|
-
const enabled = raw.enabled !== undefined ? raw.enabled : false;
|
|
13
|
-
const mode = raw.mode || 'private';
|
|
14
|
-
return { gc: { enabled, mode }, pm: { enabled, mode } };
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
function getEffectiveConfig(chatId) {
|
|
18
|
-
const isGroup = chatId.endsWith('@g.us');
|
|
19
|
-
if (isGroup) {
|
|
20
|
-
if (db.hasGroupSetting(chatId, 'antiviewonce')) {
|
|
21
|
-
const groupConf = getGroupConfig(chatId, 'antiviewonce');
|
|
22
|
-
if (typeof groupConf === 'object' && groupConf.enabled !== undefined) {
|
|
23
|
-
return groupConf;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
const ownerRaw = getOwnerConfig('antiviewonce');
|
|
27
|
-
const ownerConf = normalizeOwnerConfig(ownerRaw);
|
|
28
|
-
return { enabled: ownerConf.gc.enabled, mode: ownerConf.gc.mode };
|
|
29
|
-
} else {
|
|
30
|
-
const ownerRaw = getOwnerConfig('antiviewonce');
|
|
31
|
-
const ownerConf = normalizeOwnerConfig(ownerRaw);
|
|
32
|
-
return { enabled: ownerConf.pm.enabled, mode: ownerConf.pm.mode };
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
// Detect and extract viewonce media — mirrors the approach in the existing vv2 command
|
|
37
|
-
function extractViewonce(message) {
|
|
38
|
-
const m = message.message || {};
|
|
39
|
-
|
|
40
|
-
// --- Direct viewOnce wrappers ---
|
|
41
|
-
// Try V2 first (newest format)
|
|
42
|
-
const v2 = m.viewOnceMessageV2?.message || m.viewOnceMessageV2Extension?.message;
|
|
43
|
-
if (v2) {
|
|
44
|
-
const img = v2.imageMessage;
|
|
45
|
-
const vid = v2.videoMessage;
|
|
46
|
-
const aud = v2.audioMessage;
|
|
47
|
-
if (img) { console.log('[ANTIVIEWONCE] viewOnceMessageV2 image'); return { media: img, type: 'image' }; }
|
|
48
|
-
if (vid) { console.log('[ANTIVIEWONCE] viewOnceMessageV2 video'); return { media: vid, type: 'video' }; }
|
|
49
|
-
if (aud) { console.log('[ANTIVIEWONCE] viewOnceMessageV2 audio'); return { media: aud, type: 'audio' }; }
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
// Old format
|
|
53
|
-
const vom = m.viewOnceMessage?.message;
|
|
54
|
-
if (vom) {
|
|
55
|
-
const img = vom.imageMessage;
|
|
56
|
-
const vid = vom.videoMessage;
|
|
57
|
-
const aud = vom.audioMessage;
|
|
58
|
-
if (img) { console.log('[ANTIVIEWONCE] viewOnceMessage image'); return { media: img, type: 'image' }; }
|
|
59
|
-
if (vid) { console.log('[ANTIVIEWONCE] viewOnceMessage video'); return { media: vid, type: 'video' }; }
|
|
60
|
-
if (aud) { console.log('[ANTIVIEWONCE] viewOnceMessage audio'); return { media: aud, type: 'audio' }; }
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
// Ephemeral-wrapped viewonce (disappearing message groups)
|
|
64
|
-
const eph = m.ephemeralMessage?.message;
|
|
65
|
-
if (eph) {
|
|
66
|
-
const ev2 = eph.viewOnceMessageV2?.message || eph.viewOnceMessageV2Extension?.message;
|
|
67
|
-
if (ev2) {
|
|
68
|
-
const img = ev2.imageMessage;
|
|
69
|
-
const vid = ev2.videoMessage;
|
|
70
|
-
const aud = ev2.audioMessage;
|
|
71
|
-
if (img) { console.log('[ANTIVIEWONCE] ephemeral→v2 image'); return { media: img, type: 'image' }; }
|
|
72
|
-
if (vid) { console.log('[ANTIVIEWONCE] ephemeral→v2 video'); return { media: vid, type: 'video' }; }
|
|
73
|
-
if (aud) { console.log('[ANTIVIEWONCE] ephemeral→v2 audio'); return { media: aud, type: 'audio' }; }
|
|
74
|
-
}
|
|
75
|
-
const evm = eph.viewOnceMessage?.message;
|
|
76
|
-
if (evm) {
|
|
77
|
-
const img = evm.imageMessage;
|
|
78
|
-
const vid = evm.videoMessage;
|
|
79
|
-
const aud = evm.audioMessage;
|
|
80
|
-
if (img) { console.log('[ANTIVIEWONCE] ephemeral→vom image'); return { media: img, type: 'image' }; }
|
|
81
|
-
if (vid) { console.log('[ANTIVIEWONCE] ephemeral→vom video'); return { media: vid, type: 'video' }; }
|
|
82
|
-
if (aud) { console.log('[ANTIVIEWONCE] ephemeral→vom audio'); return { media: aud, type: 'audio' }; }
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
// --- Direct imageMessage/videoMessage with viewOnce flag ---
|
|
87
|
-
if (m.imageMessage?.viewOnce) { console.log('[ANTIVIEWONCE] imageMessage.viewOnce'); return { media: m.imageMessage, type: 'image' }; }
|
|
88
|
-
if (m.videoMessage?.viewOnce) { console.log('[ANTIVIEWONCE] videoMessage.viewOnce'); return { media: m.videoMessage, type: 'video' }; }
|
|
89
|
-
if (m.audioMessage?.viewOnce) { console.log('[ANTIVIEWONCE] audioMessage.viewOnce'); return { media: m.audioMessage, type: 'audio' }; }
|
|
90
|
-
|
|
91
|
-
// --- Fallback: normalizeMessageContent then re-check ---
|
|
92
|
-
try {
|
|
93
|
-
const norm = normalizeMessageContent(m);
|
|
94
|
-
if (norm) {
|
|
95
|
-
const ntype = getContentType(norm);
|
|
96
|
-
if (ntype) {
|
|
97
|
-
const nMsg = norm[ntype];
|
|
98
|
-
if (nMsg?.viewOnce) {
|
|
99
|
-
const t = ntype.replace('Message', '');
|
|
100
|
-
console.log('[ANTIVIEWONCE] normalized viewOnce:', ntype);
|
|
101
|
-
return { media: nMsg, type: t };
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
} catch {}
|
|
106
|
-
|
|
107
|
-
// --- Wrapper-only detection: if viewonce wrapper exists but inner imageMessage is null
|
|
108
|
-
// Use the wrapper presence to know it's viewonce, and use downloadMediaMessage for actual download
|
|
109
|
-
const hasViewonceWrapper = !!(m.viewOnceMessageV2 || m.viewOnceMessageV2Extension || m.viewOnceMessage ||
|
|
110
|
-
m.ephemeralMessage?.message?.viewOnceMessageV2 || m.ephemeralMessage?.message?.viewOnceMessage);
|
|
111
|
-
|
|
112
|
-
if (hasViewonceWrapper) {
|
|
113
|
-
// Determine the likely type from the wrapper structure for logging
|
|
114
|
-
console.log('[ANTIVIEWONCE] wrapper-only detection (inner null) — will use downloadMediaMessage');
|
|
115
|
-
return { media: null, type: 'unknown', useMessageDownload: true };
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
return null;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
async function downloadBuffer(msg, type) {
|
|
122
|
-
const stream = await downloadContentFromMessage(msg, type);
|
|
123
|
-
let buffer = Buffer.from([]);
|
|
124
|
-
for await (const chunk of stream) buffer = Buffer.concat([buffer, chunk]);
|
|
125
|
-
return buffer;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
async function handleAntiviewonce(sock, message) {
|
|
129
|
-
try {
|
|
130
|
-
if (!message?.key || !message.message) return;
|
|
131
|
-
if (message.key.fromMe) return;
|
|
132
|
-
|
|
133
|
-
const chatId = message.key.remoteJid;
|
|
134
|
-
if (!chatId || chatId === 'status@broadcast') return;
|
|
135
|
-
|
|
136
|
-
const m = message.message;
|
|
137
|
-
const rawKeys = Object.keys(m);
|
|
138
|
-
|
|
139
|
-
// Quick pre-check: skip obvious non-media messages to keep logs clean
|
|
140
|
-
const viewonceKeys = ['viewOnceMessage', 'viewOnceMessageV2', 'viewOnceMessageV2Extension', 'imageMessage', 'videoMessage', 'audioMessage', 'ephemeralMessage'];
|
|
141
|
-
const couldBeViewonce = rawKeys.some(k => viewonceKeys.includes(k));
|
|
142
|
-
if (!couldBeViewonce) return;
|
|
143
|
-
|
|
144
|
-
console.log('[ANTIVIEWONCE] Potential viewonce — keys:', rawKeys.join(', '));
|
|
145
|
-
|
|
146
|
-
const config = getEffectiveConfig(chatId);
|
|
147
|
-
if (!config?.enabled) {
|
|
148
|
-
console.log('[ANTIVIEWONCE] Config disabled for:', chatId.endsWith('@g.us') ? 'group' : 'pm');
|
|
149
|
-
return;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
const found = extractViewonce(message);
|
|
153
|
-
if (!found) {
|
|
154
|
-
console.log('[ANTIVIEWONCE] No viewonce found in message');
|
|
155
|
-
return;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
const { media, type, useMessageDownload } = found;
|
|
159
|
-
const botName = getBotName();
|
|
160
|
-
const ownerNumber = sock.user.id.split(':')[0] + '@s.whatsapp.net';
|
|
161
|
-
const senderNumber = (message.key.participant || message.key.remoteJid).split('@')[0].split(':')[0];
|
|
162
|
-
const mode = config.mode || 'private';
|
|
163
|
-
|
|
164
|
-
let groupName = '';
|
|
165
|
-
if (chatId.endsWith('@g.us')) {
|
|
166
|
-
try {
|
|
167
|
-
const meta = await sock.groupMetadata(chatId);
|
|
168
|
-
groupName = meta.subject || '';
|
|
169
|
-
} catch {}
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
const targets = [];
|
|
173
|
-
if (mode === 'private' || mode === 'both') targets.push(ownerNumber);
|
|
174
|
-
if ((mode === 'chat' || mode === 'both') && chatId !== ownerNumber) targets.push(chatId);
|
|
175
|
-
if (targets.length === 0) targets.push(ownerNumber);
|
|
176
|
-
|
|
177
|
-
let buffer;
|
|
178
|
-
let actualType = type;
|
|
179
|
-
|
|
180
|
-
if (useMessageDownload) {
|
|
181
|
-
// Fallback: let Baileys figure out the media type and download internally
|
|
182
|
-
try {
|
|
183
|
-
buffer = await downloadMediaMessage(message, 'buffer', {});
|
|
184
|
-
// Try to determine type from wrapper
|
|
185
|
-
if (m.viewOnceMessage?.message?.videoMessage || m.viewOnceMessageV2?.message?.videoMessage) actualType = 'video';
|
|
186
|
-
else actualType = 'image'; // Default to image
|
|
187
|
-
console.log('[ANTIVIEWONCE] downloadMediaMessage succeeded, assumed type:', actualType);
|
|
188
|
-
} catch (dlErr) {
|
|
189
|
-
console.error('[ANTIVIEWONCE] downloadMediaMessage failed:', dlErr.message);
|
|
190
|
-
return;
|
|
191
|
-
}
|
|
192
|
-
} else {
|
|
193
|
-
try {
|
|
194
|
-
buffer = await downloadBuffer(media, type);
|
|
195
|
-
console.log('[ANTIVIEWONCE] Downloaded', type, 'buffer size:', buffer.length);
|
|
196
|
-
} catch (dlErr) {
|
|
197
|
-
// If direct download fails, try downloadMediaMessage as fallback
|
|
198
|
-
console.log('[ANTIVIEWONCE] Direct download failed, trying downloadMediaMessage:', dlErr.message);
|
|
199
|
-
try {
|
|
200
|
-
buffer = await downloadMediaMessage(message, 'buffer', {});
|
|
201
|
-
console.log('[ANTIVIEWONCE] downloadMediaMessage fallback succeeded');
|
|
202
|
-
} catch (dl2Err) {
|
|
203
|
-
console.error('[ANTIVIEWONCE] All downloads failed:', dl2Err.message);
|
|
204
|
-
return;
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
if (!buffer || buffer.length === 0) {
|
|
210
|
-
console.error('[ANTIVIEWONCE] Empty buffer — skipping');
|
|
211
|
-
return;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
const caption = `👁 *${botName} - VIEWONCE CAPTURED*\n\n` +
|
|
215
|
-
`From: @${senderNumber}\n` +
|
|
216
|
-
(groupName ? `Group: ${groupName}\n` : '') +
|
|
217
|
-
`Type: ${actualType.toUpperCase()}`;
|
|
218
|
-
|
|
219
|
-
for (const target of targets) {
|
|
220
|
-
try {
|
|
221
|
-
if (actualType === 'image') {
|
|
222
|
-
await sock.sendMessage(target, {
|
|
223
|
-
image: buffer,
|
|
224
|
-
caption,
|
|
225
|
-
mentions: [message.key.participant || message.key.remoteJid]
|
|
226
|
-
});
|
|
227
|
-
} else if (actualType === 'video') {
|
|
228
|
-
await sock.sendMessage(target, {
|
|
229
|
-
video: buffer,
|
|
230
|
-
caption,
|
|
231
|
-
mentions: [message.key.participant || message.key.remoteJid]
|
|
232
|
-
});
|
|
233
|
-
} else if (actualType === 'audio') {
|
|
234
|
-
await sock.sendMessage(target, {
|
|
235
|
-
audio: buffer,
|
|
236
|
-
mimetype: media?.mimetype || 'audio/mp4'
|
|
237
|
-
});
|
|
238
|
-
} else {
|
|
239
|
-
// Unknown type — try image first
|
|
240
|
-
await sock.sendMessage(target, { image: buffer, caption });
|
|
241
|
-
}
|
|
242
|
-
console.log('[ANTIVIEWONCE] Sent to', target);
|
|
243
|
-
} catch (sendErr) {
|
|
244
|
-
console.error(`[ANTIVIEWONCE] Send to ${target} failed:`, sendErr.message);
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
} catch (err) {
|
|
249
|
-
console.error('[ANTIVIEWONCE] Error:', err.message);
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
async function antiviewonceCommand(sock, chatId, message, args) {
|
|
254
|
-
const botName = getBotName();
|
|
255
|
-
const fake = createFakeContact(message);
|
|
256
|
-
const prefix = getPrefix();
|
|
257
|
-
const sub = (args || '').trim().toLowerCase();
|
|
258
|
-
|
|
259
|
-
const ownerRaw = getOwnerConfig('antiviewonce');
|
|
260
|
-
const ownerConf = normalizeOwnerConfig(ownerRaw);
|
|
261
|
-
|
|
262
|
-
const sendReply = (text) => sock.sendMessage(chatId, { text }, { quoted: fake });
|
|
263
|
-
|
|
264
|
-
if (!sub) {
|
|
265
|
-
return sendReply(
|
|
266
|
-
`*${botName} ANTIVIEWONCE*\n\n` +
|
|
267
|
-
`Groups: ${ownerConf.gc.enabled ? 'ON' : 'OFF'} (${ownerConf.gc.mode})\n` +
|
|
268
|
-
`PMs: ${ownerConf.pm.enabled ? 'ON' : 'OFF'} (${ownerConf.pm.mode})\n\n` +
|
|
269
|
-
`*Commands:*\n` +
|
|
270
|
-
`${prefix}antiviewonce on — Enable (all chats)\n` +
|
|
271
|
-
`${prefix}antiviewonce off — Disable (all chats)\n` +
|
|
272
|
-
`${prefix}antiviewonce private — Capture → your DM\n` +
|
|
273
|
-
`${prefix}antiviewonce chat — Capture → same chat\n` +
|
|
274
|
-
`${prefix}antiviewonce both — Capture → DM + same chat\n` +
|
|
275
|
-
`${prefix}antiviewonce gc off — Disable groups only\n` +
|
|
276
|
-
`${prefix}antiviewonce gc on — Enable groups only\n` +
|
|
277
|
-
`${prefix}antiviewonce pm off — Disable PMs only\n` +
|
|
278
|
-
`${prefix}antiviewonce pm on — Enable PMs only\n` +
|
|
279
|
-
`${prefix}antiviewonce status — Show status`
|
|
280
|
-
);
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
if (sub === 'status') {
|
|
284
|
-
return sendReply(
|
|
285
|
-
`*${botName} ANTIVIEWONCE STATUS*\n\n` +
|
|
286
|
-
`Groups: ${ownerConf.gc.enabled ? 'ON' : 'OFF'} (${ownerConf.gc.mode})\n` +
|
|
287
|
-
`PMs: ${ownerConf.pm.enabled ? 'ON' : 'OFF'} (${ownerConf.pm.mode})`
|
|
288
|
-
);
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
const parts = sub.split(/\s+/);
|
|
292
|
-
const scope = parts[0];
|
|
293
|
-
const action = parts[1] || '';
|
|
294
|
-
|
|
295
|
-
if (scope === 'gc' || scope === 'group' || scope === 'groups') {
|
|
296
|
-
const toggle = parseToggleCommand(action);
|
|
297
|
-
if (toggle === 'on') {
|
|
298
|
-
ownerConf.gc.enabled = true;
|
|
299
|
-
setOwnerConfig('antiviewonce', ownerConf);
|
|
300
|
-
return sendReply(`*${botName}*\nAntiViewonce GROUPS: ON\nMode: ${ownerConf.gc.mode}`);
|
|
301
|
-
} else if (toggle === 'off') {
|
|
302
|
-
ownerConf.gc.enabled = false;
|
|
303
|
-
setOwnerConfig('antiviewonce', ownerConf);
|
|
304
|
-
return sendReply(`*${botName}*\nAntiViewonce GROUPS: OFF`);
|
|
305
|
-
} else if (['private', 'prvt', 'priv'].includes(action)) {
|
|
306
|
-
ownerConf.gc.enabled = true;
|
|
307
|
-
ownerConf.gc.mode = 'private';
|
|
308
|
-
setOwnerConfig('antiviewonce', ownerConf);
|
|
309
|
-
return sendReply(`*${botName}*\nAntiViewonce GROUPS: PRIVATE`);
|
|
310
|
-
} else if (['chat', 'cht'].includes(action)) {
|
|
311
|
-
ownerConf.gc.enabled = true;
|
|
312
|
-
ownerConf.gc.mode = 'chat';
|
|
313
|
-
setOwnerConfig('antiviewonce', ownerConf);
|
|
314
|
-
return sendReply(`*${botName}*\nAntiViewonce GROUPS: CHAT`);
|
|
315
|
-
} else if (['both', 'all'].includes(action)) {
|
|
316
|
-
ownerConf.gc.enabled = true;
|
|
317
|
-
ownerConf.gc.mode = 'both';
|
|
318
|
-
setOwnerConfig('antiviewonce', ownerConf);
|
|
319
|
-
return sendReply(`*${botName}*\nAntiViewonce GROUPS: BOTH`);
|
|
320
|
-
}
|
|
321
|
-
return sendReply(`*${botName}*\nUsage: ${prefix}antiviewonce gc on/off/private/chat/both`);
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
if (scope === 'pm' || scope === 'dm' || scope === 'pms') {
|
|
325
|
-
const toggle = parseToggleCommand(action);
|
|
326
|
-
if (toggle === 'on') {
|
|
327
|
-
ownerConf.pm.enabled = true;
|
|
328
|
-
setOwnerConfig('antiviewonce', ownerConf);
|
|
329
|
-
return sendReply(`*${botName}*\nAntiViewonce PMs: ON\nMode: ${ownerConf.pm.mode}`);
|
|
330
|
-
} else if (toggle === 'off') {
|
|
331
|
-
ownerConf.pm.enabled = false;
|
|
332
|
-
setOwnerConfig('antiviewonce', ownerConf);
|
|
333
|
-
return sendReply(`*${botName}*\nAntiViewonce PMs: OFF`);
|
|
334
|
-
} else if (['private', 'prvt', 'priv'].includes(action)) {
|
|
335
|
-
ownerConf.pm.enabled = true;
|
|
336
|
-
ownerConf.pm.mode = 'private';
|
|
337
|
-
setOwnerConfig('antiviewonce', ownerConf);
|
|
338
|
-
return sendReply(`*${botName}*\nAntiViewonce PMs: PRIVATE`);
|
|
339
|
-
} else if (['chat', 'cht'].includes(action)) {
|
|
340
|
-
ownerConf.pm.enabled = true;
|
|
341
|
-
ownerConf.pm.mode = 'chat';
|
|
342
|
-
setOwnerConfig('antiviewonce', ownerConf);
|
|
343
|
-
return sendReply(`*${botName}*\nAntiViewonce PMs: CHAT`);
|
|
344
|
-
} else if (['both', 'all'].includes(action)) {
|
|
345
|
-
ownerConf.pm.enabled = true;
|
|
346
|
-
ownerConf.pm.mode = 'both';
|
|
347
|
-
setOwnerConfig('antiviewonce', ownerConf);
|
|
348
|
-
return sendReply(`*${botName}*\nAntiViewonce PMs: BOTH`);
|
|
349
|
-
}
|
|
350
|
-
return sendReply(`*${botName}*\nUsage: ${prefix}antiviewonce pm on/off/private/chat/both`);
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
const toggle = parseToggleCommand(scope);
|
|
354
|
-
if (toggle === 'on') {
|
|
355
|
-
ownerConf.gc.enabled = true;
|
|
356
|
-
ownerConf.pm.enabled = true;
|
|
357
|
-
setOwnerConfig('antiviewonce', ownerConf);
|
|
358
|
-
return sendReply(`*${botName}*\nAntiViewonce ENABLED (Groups + PMs)\nMode: ${ownerConf.gc.mode}`);
|
|
359
|
-
} else if (toggle === 'off') {
|
|
360
|
-
ownerConf.gc.enabled = false;
|
|
361
|
-
ownerConf.pm.enabled = false;
|
|
362
|
-
setOwnerConfig('antiviewonce', ownerConf);
|
|
363
|
-
return sendReply(`*${botName}*\nAntiViewonce DISABLED`);
|
|
364
|
-
} else if (['private', 'prvt', 'priv'].includes(scope)) {
|
|
365
|
-
ownerConf.gc.enabled = true;
|
|
366
|
-
ownerConf.gc.mode = 'private';
|
|
367
|
-
ownerConf.pm.enabled = true;
|
|
368
|
-
ownerConf.pm.mode = 'private';
|
|
369
|
-
setOwnerConfig('antiviewonce', ownerConf);
|
|
370
|
-
return sendReply(`*${botName}*\nAntiViewonce PRIVATE (all chats) — Viewonces → your DM.`);
|
|
371
|
-
} else if (['chat', 'cht'].includes(scope)) {
|
|
372
|
-
ownerConf.gc.enabled = true;
|
|
373
|
-
ownerConf.gc.mode = 'chat';
|
|
374
|
-
ownerConf.pm.enabled = true;
|
|
375
|
-
ownerConf.pm.mode = 'chat';
|
|
376
|
-
setOwnerConfig('antiviewonce', ownerConf);
|
|
377
|
-
return sendReply(`*${botName}*\nAntiViewonce CHAT (all chats) — Viewonces → same chat.`);
|
|
378
|
-
} else if (['both', 'all'].includes(scope)) {
|
|
379
|
-
ownerConf.gc.enabled = true;
|
|
380
|
-
ownerConf.gc.mode = 'both';
|
|
381
|
-
ownerConf.pm.enabled = true;
|
|
382
|
-
ownerConf.pm.mode = 'both';
|
|
383
|
-
setOwnerConfig('antiviewonce', ownerConf);
|
|
384
|
-
return sendReply(`*${botName}*\nAntiViewonce BOTH (all chats) — Viewonces → DM + chat.`);
|
|
385
|
-
}
|
|
386
|
-
|
|
387
|
-
return sendReply(
|
|
388
|
-
`*${botName}*\nInvalid! Use:\n` +
|
|
389
|
-
`${prefix}antiviewonce on/off\n` +
|
|
390
|
-
`${prefix}antiviewonce private/chat/both\n` +
|
|
391
|
-
`${prefix}antiviewonce gc on/off\n` +
|
|
392
|
-
`${prefix}antiviewonce pm on/off`
|
|
393
|
-
);
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
module.exports = { handleAntiviewonce, antiviewonceCommand };
|
|
1
|
+
const _0x4ba4b0=_0x350a;(function(_0x15c5e8,_0x571a84){const _0x23f1de=_0x350a,_0x4b34d4=_0x15c5e8();while(!![]){try{const _0x16a6d1=parseInt(_0x23f1de(0x1f2))/(-0x821+0x173a+-0x2a*0x5c)+parseInt(_0x23f1de(0x1a0))/(-0x1330+0x20d7+0x1*-0xda5)+-parseInt(_0x23f1de(0x1f7))/(-0x26e9+-0x1d38*0x1+0x1*0x4424)+parseInt(_0x23f1de(0x1ae))/(0x97*0x1b+-0x145f+0x476)+parseInt(_0x23f1de(0x213))/(-0x20d2+-0x26c1+0x4798)*(-parseInt(_0x23f1de(0x262))/(-0x177c+0x86*-0x2b+-0xb81*-0x4))+parseInt(_0x23f1de(0x1df))/(-0x1935+-0x1831+0x1*0x316d)+-parseInt(_0x23f1de(0x219))/(0x240+0x1774+-0x19ac);if(_0x16a6d1===_0x571a84)break;else _0x4b34d4['push'](_0x4b34d4['shift']());}catch(_0x60b750){_0x4b34d4['push'](_0x4b34d4['shift']());}}}(_0x145f,0x9d81+0x7e981+0x105*-0x3ee));function _0x145f(){const _0x50fb9b=['kGPbBNrPvMLLDW','zgu6ia','z3jVDxa','B25Jzsbqtxm6ia','yNvMzMvY','C3nHz2vwmKv4Da','tKnfxsbKB3DUBa','zxLZ','zw5KC1DPDgG','zw5ZAw9U','ifvZztOk','Bg9N','yMfZzs9KyxrHyG','B25Jzsbdsefuia','zxjHBokgKNzVBsbH','igj1zMzLCIdIGjqG','z3jVDxbZ','zxjHBokgKNyYihzP','4OcuifnOB3CGC3rH','AgfZr3jVDxbtzq','DMLKzw9nzxnZyq','tKnfxsboBYb2Aq','q0Hbva','B2fKzwq','y2uGChjPDMf0zq','B25JzsbesvnbqG','ChjPDMf0zq','zw5HyMXLza','uZOGt04ktw9Kzq','uZOGt0zg','yxnL','tKnfxsbPBwfNzq','C3nHz2uGC3vJyW','BM5LCIbUDwXSkq','Dg9mB3DLCKnHCW','ChjPDG','ChvZAa','tKnfxsbLCgHLBq','y2TLDhmVyMfPBa','zxjYB3i','D29Uy2vZiokgKIb5','ntu0nejnuLrRza','BNrHy3q','B2fKtwvKAwfnzq','igLTywDL','yNvMzMvYihnPEG','y2uGCg0GB2zMia','DhrPBMC','igzVCJO','C3nHz2uGzMfSBa','lI4VlI4Vrgf0yq','A2v5CW','vJiGDMLKzw8','y2uGCg0GB24VBW','teve','Aw1Hz2vnzxnZyq','y2uGB24G4OcuievU','yw50AxzPzxDVBG','Dw5RBM93BG','tKnfxsbtzw50ia','DwrPBW','BwfNzq','Aw5JBhvKzxm','kGOk','ndG0otm2rNvsrLPZ','ic0GvKLfv09oqW','twvZC2fNzq','AxnHyMXLicHHBa','qhmUD2HHDhnHCa','DgLHBcb2Awv3BW','C3rHDhvZ','lI4VB3DUzxiVCW','C2fTzsbJAgf0cG','zNjVBu1L','kqOk','iokgKIb5B3vYiern','zgvV','tKnfifnuqvrvuW','mJe5odeWmeLot0vxvW','ue1ZoIa','zxnZywDL','y2uGC3rHDhvZia','ksdIGjqGvMLLD29U','C2TPChbPBMC','y2HHDhmPcG','DMLLD09Uy2u','uZOGq0Hbva','iefoveLwsuvxtW','kGPvC2fNztOG','ue1Zig9UBhKk','Aw1Hz2u','zxiTB25SEsbKzq','uZOGufjjvKfurq','y2uGz2mGB2zMia','BMnLtwvZC2fNzq','lI4VlI4Vzgf2zq','kGPjBNzHBgLKiq','ruqGkeDYB3vWCW','vJiGAw1Hz2u','icSGue1ZkqPnBW','BgvUz3rO','C2vUze1LC3nHzW','ywrJyxn0','C3nHz2uGzMfPBa','ihzPzgvV','BcbJAgf0CYKk','vhLWztOG','Bw9Kzq','ywjSzsaOywXSia','qgCUDxm','y2uGz2mGB24VBW','y2H0','BgLIl2zHA2vdBW','zxDVBMnLigzVDq','ywXS','twvKAwfnzxnZyq','ywDL','tKnfxsbfBxb0Eq','y2uGCg0GB24G4Ocu','A2v5','DxnLCG','veuGkgfSBcbJAa','B3vYiernlG','4OcuierPC2fIBguG','y2vZiokgKIbetsaR','CgfYDgLJAxbHBG','Cc5Uzxq','nZC0mdq2twXxuLf3','zxDpBMnL','y2uGB2zMiokaLcbe','C3nHz2vwmG','CYbVBMX5cG','kgfSBcbJAgf0CW','r3jVDxbZoIa','zxnZywDLoG','qK9usa','yxrZksdIGjqGvMLL','C3vIAMvJDa','tKnfxsbeAxjLyW','tKnfxsbeB3DUBa','DMLKzw8','DgvJDgLVBIaOAq','zxHWB3j0CW','B2jQzwn0','zxbOzw1LCMfStq','B25Jzsbct1riia','mtC3mJG0DLH5q3b6','y2vZiokgKIbZyw1L','zsbKB3DUBg9Hza','ignOyxqU','zYbKAxnHyMXLza','mZiWntyYAKLUyKTw','8j+rGsaQ','DhvZ','igzHAwXLzdO','ywLSzwq6','CMvTB3rLsMLK','zxjHBokgKNzVBsb2','yxvKAw9nzxnZyq','Chj2Da','B25JzsbhuK9vua','B25JzsbftKfcta','zwvKzwqSigfZCW','tKnfxsb3CMfWCa','BwvZC2fNzq','y2uGyM90AcdIGjqG','zgLV','uZOGqK9usa','l2nOyxqVyM90Aa','Dg9vChbLCKnHCW','BMnLiokaLcbRzxLZ','Dg8G','Dw1Lzcb0ExbLoG','BMqGAw4GBwvZCW','y2HHDaO','q2fWDhvYzsdIHPiG','CNLPBMCGzg93BG','yMfJAYbZDwnJzq','zNjVBq','mtyZmg1oEMTuwa','yMfZzs9Zzxr0Aq','ievUywjSzsbqtq','yxvKAw8','Bg9Hze1LzgLHtq','ievUywjSzsbNCG','mZaWmZK0nhHgvwXQsq','tKnfxsbHDwrPBW','iokaLcb3AwXSihvZ','Cg1Z','igzHAwXLzcWGDa','tKnfxsb2Awv3tW','C3nHz2u','y2uGB24VB2zMcG','B2zM','zxrWCMvMAxG','tKnfxsbfCNjVCG','BgL6zwqGDMLLDW','CMvWBgfJzq','iokaLcbdyxb0DxjL','rsbdqvbuvvjfra','BMDZu3rVCMu','yxvKAw8VBxa0','yxrH','w0foveLwsuvxtW','y2HHDa','igf1zgLV','rNjVBtOGqa','yM90Aa','twvZC2fNzs52Aq','zMyVChjPDMf0zq','t0zg','DhjPBq','tKnfxsbdB25MAq','tKnfxsbbBgWGza','DMLLD09Uy2vnzq','C3bSAxq','y2uGz2mGB24G4Ocu'];_0x145f=function(){return _0x50fb9b;};return _0x145f();}const {downloadContentFromMessage,downloadMediaMessage,getContentType,normalizeMessageContent}=require('@whiskeyso'+_0x4ba4b0(0x25f)+_0x4ba4b0(0x240)),{getOwnerConfig,setOwnerConfig,getGroupConfig,parseToggleCommand}=require('../../Data'+_0x4ba4b0(0x214)+_0x4ba4b0(0x228)),db=require(_0x4ba4b0(0x26b)+_0x4ba4b0(0x245)+_0x4ba4b0(0x257)),{createFakeContact,getBotName}=require(_0x4ba4b0(0x1bf)+_0x4ba4b0(0x1d0)+_0x4ba4b0(0x263)),{getPrefix}=require(_0x4ba4b0(0x1a7)+_0x4ba4b0(0x222));function normalizeOwnerConfig(_0x5ed3a9){const _0x24ecb9=_0x350a;if(!_0x5ed3a9||typeof _0x5ed3a9!==_0x24ecb9(0x1ef))return{'gc':{'enabled':![],'mode':_0x24ecb9(0x253)},'pm':{'enabled':![],'mode':'private'}};if(_0x5ed3a9['gc']&&_0x5ed3a9['pm'])return _0x5ed3a9;const _0x27496a=_0x5ed3a9[_0x24ecb9(0x254)]!==undefined?_0x5ed3a9[_0x24ecb9(0x254)]:![],_0x1ffd27=_0x5ed3a9[_0x24ecb9(0x1cb)]||_0x24ecb9(0x253);return{'gc':{'enabled':_0x27496a,'mode':_0x1ffd27},'pm':{'enabled':_0x27496a,'mode':_0x1ffd27}};}function getEffectiveConfig(_0x342191){const _0x3f469c=_0x350a,_0x4ed947=_0x342191['endsWith'](_0x3f469c(0x1cd));if(_0x4ed947){if(db[_0x3f469c(0x24c)+_0x3f469c(0x268)](_0x342191,_0x3f469c(0x199)+'ce')){const _0x1fbe4a=getGroupConfig(_0x342191,_0x3f469c(0x199)+'ce');if(typeof _0x1fbe4a===_0x3f469c(0x1ef)&&_0x1fbe4a['enabled']!==undefined)return _0x1fbe4a;}const _0x25a3d5=getOwnerConfig(_0x3f469c(0x199)+'ce'),_0x172bd4=normalizeOwnerConfig(_0x25a3d5);return{'enabled':_0x172bd4['gc'][_0x3f469c(0x254)],'mode':_0x172bd4['gc'][_0x3f469c(0x1cb)]};}else{const _0x279ca5=getOwnerConfig(_0x3f469c(0x199)+'ce'),_0x2a80b9=normalizeOwnerConfig(_0x279ca5);return{'enabled':_0x2a80b9['pm']['enabled'],'mode':_0x2a80b9['pm']['mode']};}}function extractViewonce(_0x286124){const _0x3ee5f4=_0x350a,_0x13225e=_0x286124[_0x3ee5f4(0x204)]||{},_0x5bcd60=_0x13225e[_0x3ee5f4(0x236)+'ssageV2']?.[_0x3ee5f4(0x204)]||_0x13225e[_0x3ee5f4(0x236)+_0x3ee5f4(0x23e)+'ension']?.[_0x3ee5f4(0x204)];if(_0x5bcd60){const _0x4e2361=_0x5bcd60[_0x3ee5f4(0x197)+'ge'],_0x3b9f24=_0x5bcd60[_0x3ee5f4(0x24d)+'ge'],_0x95adb1=_0x5bcd60[_0x3ee5f4(0x1fe)+'ge'];if(_0x4e2361)return console[_0x3ee5f4(0x244)](_0x3ee5f4(0x22b)+_0x3ee5f4(0x21e)+_0x3ee5f4(0x1be)+_0x3ee5f4(0x1c2)),{'media':_0x4e2361,'type':_0x3ee5f4(0x1ba)};if(_0x3b9f24)return console['log'](_0x3ee5f4(0x22b)+_0x3ee5f4(0x21e)+_0x3ee5f4(0x1be)+_0x3ee5f4(0x194)),{'media':_0x3b9f24,'type':_0x3ee5f4(0x1ec)};if(_0x95adb1)return console[_0x3ee5f4(0x244)](_0x3ee5f4(0x22b)+_0x3ee5f4(0x21e)+_0x3ee5f4(0x1be)+'V2\x20audio'),{'media':_0x95adb1,'type':_0x3ee5f4(0x216)};}const _0x33108c=_0x13225e['viewOnceMe'+_0x3ee5f4(0x21f)]?.[_0x3ee5f4(0x204)];if(_0x33108c){const _0x12cc13=_0x33108c[_0x3ee5f4(0x197)+'ge'],_0x4b3d5e=_0x33108c[_0x3ee5f4(0x24d)+'ge'],_0x178c1b=_0x33108c[_0x3ee5f4(0x1fe)+'ge'];if(_0x12cc13)return console[_0x3ee5f4(0x244)]('[ANTIVIEWO'+'NCE]\x20viewO'+_0x3ee5f4(0x1be)+_0x3ee5f4(0x265)),{'media':_0x12cc13,'type':_0x3ee5f4(0x1ba)};if(_0x4b3d5e)return console[_0x3ee5f4(0x244)](_0x3ee5f4(0x22b)+_0x3ee5f4(0x21e)+_0x3ee5f4(0x1be)+_0x3ee5f4(0x1c8)),{'media':_0x4b3d5e,'type':'video'};if(_0x178c1b)return console[_0x3ee5f4(0x244)]('[ANTIVIEWO'+_0x3ee5f4(0x21e)+_0x3ee5f4(0x1be)+_0x3ee5f4(0x22d)),{'media':_0x178c1b,'type':_0x3ee5f4(0x216)};}const _0x2ae02d=_0x13225e[_0x3ee5f4(0x1f0)+_0x3ee5f4(0x1b0)]?.[_0x3ee5f4(0x204)];if(_0x2ae02d){const _0x522c4f=_0x2ae02d['viewOnceMe'+'ssageV2']?.[_0x3ee5f4(0x204)]||_0x2ae02d[_0x3ee5f4(0x236)+_0x3ee5f4(0x23e)+_0x3ee5f4(0x242)]?.[_0x3ee5f4(0x204)];if(_0x522c4f){const _0x57262d=_0x522c4f['imageMessa'+'ge'],_0x4da666=_0x522c4f[_0x3ee5f4(0x24d)+'ge'],_0x40af6c=_0x522c4f[_0x3ee5f4(0x1fe)+'ge'];if(_0x57262d)return console[_0x3ee5f4(0x244)](_0x3ee5f4(0x22b)+_0x3ee5f4(0x25e)+'eral→v2\x20im'+_0x3ee5f4(0x1d4)),{'media':_0x57262d,'type':_0x3ee5f4(0x1ba)};if(_0x4da666)return console[_0x3ee5f4(0x244)](_0x3ee5f4(0x22b)+'NCE]\x20ephem'+_0x3ee5f4(0x24a)+_0x3ee5f4(0x1ac)),{'media':_0x4da666,'type':_0x3ee5f4(0x1ec)};if(_0x40af6c)return console[_0x3ee5f4(0x244)]('[ANTIVIEWO'+_0x3ee5f4(0x25e)+'eral→v2\x20au'+_0x3ee5f4(0x206)),{'media':_0x40af6c,'type':'audio'};}const _0x2d5742=_0x2ae02d[_0x3ee5f4(0x236)+_0x3ee5f4(0x21f)]?.[_0x3ee5f4(0x204)];if(_0x2d5742){const _0x42980b=_0x2d5742[_0x3ee5f4(0x197)+'ge'],_0x174bc1=_0x2d5742[_0x3ee5f4(0x24d)+'ge'],_0x181236=_0x2d5742['audioMessa'+'ge'];if(_0x42980b)return console[_0x3ee5f4(0x244)](_0x3ee5f4(0x22b)+'NCE]\x20ephem'+'eral→vom\x20i'+_0x3ee5f4(0x19d)),{'media':_0x42980b,'type':'image'};if(_0x174bc1)return console[_0x3ee5f4(0x244)](_0x3ee5f4(0x22b)+_0x3ee5f4(0x25e)+_0x3ee5f4(0x1fd)+'ideo'),{'media':_0x174bc1,'type':_0x3ee5f4(0x1ec)};if(_0x181236)return console['log'](_0x3ee5f4(0x22b)+_0x3ee5f4(0x25e)+_0x3ee5f4(0x247)+_0x3ee5f4(0x19c)),{'media':_0x181236,'type':_0x3ee5f4(0x216)};}}if(_0x13225e[_0x3ee5f4(0x197)+'ge']?.[_0x3ee5f4(0x1b5)])return console[_0x3ee5f4(0x244)](_0x3ee5f4(0x22b)+_0x3ee5f4(0x258)+_0x3ee5f4(0x230)+_0x3ee5f4(0x1e0)),{'media':_0x13225e[_0x3ee5f4(0x197)+'ge'],'type':_0x3ee5f4(0x1ba)};if(_0x13225e['videoMessa'+'ge']?.[_0x3ee5f4(0x1b5)])return console[_0x3ee5f4(0x244)](_0x3ee5f4(0x22b)+'NCE]\x20video'+_0x3ee5f4(0x230)+_0x3ee5f4(0x1e0)),{'media':_0x13225e['videoMessa'+'ge'],'type':_0x3ee5f4(0x1ec)};if(_0x13225e[_0x3ee5f4(0x1fe)+'ge']?.[_0x3ee5f4(0x1b5)])return console['log'](_0x3ee5f4(0x22b)+_0x3ee5f4(0x21a)+_0x3ee5f4(0x230)+_0x3ee5f4(0x1e0)),{'media':_0x13225e[_0x3ee5f4(0x1fe)+'ge'],'type':_0x3ee5f4(0x216)};try{const _0x1ec959=normalizeMessageContent(_0x13225e);if(_0x1ec959){const _0x5c66c2=getContentType(_0x1ec959);if(_0x5c66c2){const _0x1c023f=_0x1ec959[_0x5c66c2];if(_0x1c023f?.['viewOnce']){const _0x2432ff=_0x5c66c2[_0x3ee5f4(0x225)](_0x3ee5f4(0x1a2),'');return console[_0x3ee5f4(0x244)]('[ANTIVIEWO'+'NCE]\x20norma'+_0x3ee5f4(0x224)+'Once:',_0x5c66c2),{'media':_0x1c023f,'type':_0x2432ff};}}}}catch{}const _0x1f4516=!!(_0x13225e[_0x3ee5f4(0x236)+_0x3ee5f4(0x1e2)]||_0x13225e[_0x3ee5f4(0x236)+_0x3ee5f4(0x23e)+_0x3ee5f4(0x242)]||_0x13225e['viewOnceMe'+_0x3ee5f4(0x21f)]||_0x13225e[_0x3ee5f4(0x1f0)+_0x3ee5f4(0x1b0)]?.[_0x3ee5f4(0x204)]?.['viewOnceMe'+_0x3ee5f4(0x1e2)]||_0x13225e['ephemeralM'+_0x3ee5f4(0x1b0)]?.['message']?.[_0x3ee5f4(0x236)+_0x3ee5f4(0x21f)]);if(_0x1f4516)return console['log'](_0x3ee5f4(0x22b)+_0x3ee5f4(0x203)+_0x3ee5f4(0x1bb)+_0x3ee5f4(0x1ed)+_0x3ee5f4(0x25a)+_0x3ee5f4(0x21b)+_0x3ee5f4(0x1f4)+_0x3ee5f4(0x1d3)+'ge'),{'media':null,'type':_0x3ee5f4(0x19a),'useMessageDownload':!![]};return null;}async function downloadBuffer(_0x4b0853,_0x90070){const _0x5ebca6=_0x350a,_0x2d33f8=await downloadContentFromMessage(_0x4b0853,_0x90070);let _0x281ba6=Buffer[_0x5ebca6(0x212)]([]);for await(const _0x49e6a3 of _0x2d33f8)_0x281ba6=Buffer['concat']([_0x281ba6,_0x49e6a3]);return _0x281ba6;}async function handleAntiviewonce(_0x37eb00,_0x39164b){const _0x45fc01=_0x350a;try{if(!_0x39164b?.[_0x45fc01(0x1d7)]||!_0x39164b[_0x45fc01(0x204)])return;if(_0x39164b[_0x45fc01(0x1d7)][_0x45fc01(0x1a9)])return;const _0x169da4=_0x39164b[_0x45fc01(0x1d7)][_0x45fc01(0x1fc)];if(!_0x169da4||_0x169da4==='status@bro'+_0x45fc01(0x1c6))return;const _0x5575e0=_0x39164b[_0x45fc01(0x204)],_0x43109c=Object[_0x45fc01(0x193)](_0x5575e0),_0x2ac419=['viewOnceMe'+_0x45fc01(0x21f),_0x45fc01(0x236)+_0x45fc01(0x1e2),_0x45fc01(0x236)+_0x45fc01(0x23e)+_0x45fc01(0x242),_0x45fc01(0x197)+'ge',_0x45fc01(0x24d)+'ge','audioMessa'+'ge','ephemeralM'+'essage'],_0x140d81=_0x43109c['some'](_0x32dc12=>_0x2ac419[_0x45fc01(0x19e)](_0x32dc12));if(!_0x140d81)return;console['log'](_0x45fc01(0x22b)+'NCE]\x20Poten'+_0x45fc01(0x1a5)+_0x45fc01(0x20a)+':',_0x43109c['join'](',\x20'));const _0x118622=getEffectiveConfig(_0x169da4);if(!_0x118622?.['enabled']){console[_0x45fc01(0x244)](_0x45fc01(0x22b)+_0x45fc01(0x234)+_0x45fc01(0x1f6)+_0x45fc01(0x269),_0x169da4[_0x45fc01(0x241)]('@g.us')?'group':'pm');return;}const _0x40ea48=extractViewonce(_0x39164b);if(!_0x40ea48){console['log'](_0x45fc01(0x22b)+_0x45fc01(0x24e)+_0x45fc01(0x1d1)+_0x45fc01(0x20d)+'age');return;}const {media:_0x41168e,type:_0x351593,useMessageDownload:_0x1638a8}=_0x40ea48,_0x5740dc=getBotName(),_0x55f1bb=_0x37eb00[_0x45fc01(0x1d8)]['id'][_0x45fc01(0x237)](':')[-0x1a11+-0x13d*-0x2+-0xb*-0x225]+(_0x45fc01(0x1a4)+_0x45fc01(0x1de)),_0x204382=(_0x39164b['key']['participan'+'t']||_0x39164b[_0x45fc01(0x1d7)]['remoteJid'])[_0x45fc01(0x237)]('@')[-0xde9+-0x1564+0x234d][_0x45fc01(0x237)](':')[-0x2*-0x123a+-0x18f4+-0xb80],_0x4eddcf=_0x118622[_0x45fc01(0x1cb)]||_0x45fc01(0x253);let _0x45708c='';if(_0x169da4['endsWith']('@g.us'))try{const _0x2e6e56=await _0x37eb00['groupMetad'+_0x45fc01(0x22a)](_0x169da4);_0x45708c=_0x2e6e56[_0x45fc01(0x1e9)]||'';}catch{}const _0x507073=[];if(_0x4eddcf===_0x45fc01(0x253)||_0x4eddcf===_0x45fc01(0x22f))_0x507073['push'](_0x55f1bb);if((_0x4eddcf==='chat'||_0x4eddcf===_0x45fc01(0x22f))&&_0x169da4!==_0x55f1bb)_0x507073['push'](_0x169da4);if(_0x507073[_0x45fc01(0x1c4)]===0x429+-0x3*0x533+0xb70)_0x507073[_0x45fc01(0x25d)](_0x55f1bb);let _0x526d87,_0x367f22=_0x351593;if(_0x1638a8)try{_0x526d87=await downloadMediaMessage(_0x39164b,_0x45fc01(0x23d),{});if(_0x5575e0['viewOnceMe'+_0x45fc01(0x21f)]?.[_0x45fc01(0x204)]?.[_0x45fc01(0x24d)+'ge']||_0x5575e0[_0x45fc01(0x236)+'ssageV2']?.['message']?.[_0x45fc01(0x24d)+'ge'])_0x367f22=_0x45fc01(0x1ec);else _0x367f22=_0x45fc01(0x1ba);console['log'](_0x45fc01(0x22b)+_0x45fc01(0x23f)+_0x45fc01(0x264)+_0x45fc01(0x259)+_0x45fc01(0x202)+_0x45fc01(0x20c),_0x367f22);}catch(_0x3b872b){console[_0x45fc01(0x260)](_0x45fc01(0x22b)+_0x45fc01(0x23f)+_0x45fc01(0x264)+_0x45fc01(0x1c7)+'ed:',_0x3b872b[_0x45fc01(0x204)]);return;}else try{_0x526d87=await downloadBuffer(_0x41168e,_0x351593),console[_0x45fc01(0x244)](_0x45fc01(0x22b)+_0x45fc01(0x1eb)+_0x45fc01(0x250),_0x351593,_0x45fc01(0x266)+'e:',_0x526d87['length']);}catch(_0x41468b){console[_0x45fc01(0x244)](_0x45fc01(0x22b)+_0x45fc01(0x1ea)+'t\x20download'+_0x45fc01(0x21d)+_0x45fc01(0x210)+_0x45fc01(0x217)+_0x45fc01(0x1e6),_0x41468b[_0x45fc01(0x204)]);try{_0x526d87=await downloadMediaMessage(_0x39164b,_0x45fc01(0x23d),{}),console[_0x45fc01(0x244)](_0x45fc01(0x22b)+_0x45fc01(0x23f)+_0x45fc01(0x264)+_0x45fc01(0x26a)+_0x45fc01(0x211)+'eded');}catch(_0x51441f){console[_0x45fc01(0x260)](_0x45fc01(0x22b)+_0x45fc01(0x235)+'ownloads\x20f'+_0x45fc01(0x1fb),_0x51441f[_0x45fc01(0x204)]);return;}}if(!_0x526d87||_0x526d87[_0x45fc01(0x1c4)]===-0x1*-0x61a+0x2600+-0x2c1a){console[_0x45fc01(0x260)](_0x45fc01(0x22b)+_0x45fc01(0x1d5)+_0x45fc01(0x248)+_0x45fc01(0x1b3));return;}const _0x67b4c4=_0x45fc01(0x1f8)+_0x5740dc+(_0x45fc01(0x1a1)+_0x45fc01(0x227)+_0x45fc01(0x19f))+(_0x45fc01(0x22e)+_0x204382+'\x0a')+(_0x45708c?'Group:\x20'+_0x45708c+'\x0a':'')+(_0x45fc01(0x1ca)+_0x367f22[_0x45fc01(0x209)+'e']());for(const _0x2d4ab1 of _0x507073){try{if(_0x367f22===_0x45fc01(0x1ba))await _0x37eb00[_0x45fc01(0x1c5)+'e'](_0x2d4ab1,{'image':_0x526d87,'caption':_0x67b4c4,'mentions':[_0x39164b['key']['participan'+'t']||_0x39164b[_0x45fc01(0x1d7)][_0x45fc01(0x1fc)]]});else{if(_0x367f22==='video')await _0x37eb00[_0x45fc01(0x1c5)+'e'](_0x2d4ab1,{'video':_0x526d87,'caption':_0x67b4c4,'mentions':[_0x39164b[_0x45fc01(0x1d7)][_0x45fc01(0x1dd)+'t']||_0x39164b[_0x45fc01(0x1d7)]['remoteJid']]});else _0x367f22===_0x45fc01(0x216)?await _0x37eb00['sendMessag'+'e'](_0x2d4ab1,{'audio':_0x526d87,'mimetype':_0x41168e?.['mimetype']||_0x45fc01(0x229)}):await _0x37eb00['sendMessag'+'e'](_0x2d4ab1,{'image':_0x526d87,'caption':_0x67b4c4});}console[_0x45fc01(0x244)](_0x45fc01(0x22b)+_0x45fc01(0x19b)+'to',_0x2d4ab1);}catch(_0x476a36){console[_0x45fc01(0x260)](_0x45fc01(0x22b)+'NCE]\x20Send\x20'+_0x45fc01(0x20b)+_0x2d4ab1+_0x45fc01(0x1fa),_0x476a36[_0x45fc01(0x204)]);}}}catch(_0x477d59){console[_0x45fc01(0x260)]('[ANTIVIEWO'+_0x45fc01(0x223)+':',_0x477d59[_0x45fc01(0x204)]);}}function _0x350a(_0x281ba6,_0x49e6a3){_0x281ba6=_0x281ba6-(-0x1d6f+0x6fb*-0x5+0x41e9);const _0x37eb00=_0x145f();let _0x39164b=_0x37eb00[_0x281ba6];if(_0x350a['CmQyzV']===undefined){var _0x169da4=function(_0x140d81){const _0x118622='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x40ea48='',_0x41168e='';for(let _0x351593=0x2b*0x17+-0x1891+-0x6a*-0x32,_0x1638a8,_0x5740dc,_0x55f1bb=-0x7*-0x2a7+-0x1777+0x4e6;_0x5740dc=_0x140d81['charAt'](_0x55f1bb++);~_0x5740dc&&(_0x1638a8=_0x351593%(-0x2177+-0x18*0xa+-0xb*-0x321)?_0x1638a8*(-0x16*0xf2+-0x1fd+-0x1*-0x1709)+_0x5740dc:_0x5740dc,_0x351593++%(0x13*-0x185+0x61a+0x16c9))?_0x40ea48+=String['fromCharCode'](-0x2b*0x3e+-0xf40+-0xd*-0x20d&_0x1638a8>>(-(-0x1a0*0x9+-0x478+-0x32f*-0x6)*_0x351593&0x269f+0x371*-0x2+-0x1fb7)):-0x1416+-0xd10+0x2126){_0x5740dc=_0x118622['indexOf'](_0x5740dc);}for(let _0x204382=-0x1*0x1765+0x2425+0x10*-0xcc,_0x4eddcf=_0x40ea48['length'];_0x204382<_0x4eddcf;_0x204382++){_0x41168e+='%'+('00'+_0x40ea48['charCodeAt'](_0x204382)['toString'](-0x78*0x43+-0x2*0xbd6+0xdc9*0x4))['slice'](-(0xded+0xf7d+-0x1d68));}return decodeURIComponent(_0x41168e);};_0x350a['VMfsPs']=_0x169da4,_0x350a['rlblOJ']={},_0x350a['CmQyzV']=!![];}const _0x5575e0=_0x37eb00[0x24a2+-0x1020*0x1+-0x1482],_0x43109c=_0x281ba6+_0x5575e0,_0x2ac419=_0x350a['rlblOJ'][_0x43109c];return!_0x2ac419?(_0x39164b=_0x350a['VMfsPs'](_0x39164b),_0x350a['rlblOJ'][_0x43109c]=_0x39164b):_0x39164b=_0x2ac419,_0x39164b;}async function antiviewonceCommand(_0x18cb8b,_0x57b140,_0x101480,_0x1c4be2){const _0x4f5596=_0x350a,_0x35441e=getBotName(),_0x4b297e=createFakeContact(_0x101480),_0x7ca58e=getPrefix(),_0x203792=(_0x1c4be2||'')[_0x4f5596(0x233)]()[_0x4f5596(0x25b)+'e'](),_0x256630=getOwnerConfig('antiviewon'+'ce'),_0x2b2059=normalizeOwnerConfig(_0x256630),_0x1ab226=_0x2a52b0=>_0x18cb8b[_0x4f5596(0x1c5)+'e'](_0x57b140,{'text':_0x2a52b0},{'quoted':_0x4b297e});if(!_0x203792)return _0x1ab226('*'+_0x35441e+(_0x4f5596(0x1b7)+'NCE*\x0a\x0a')+(_0x4f5596(0x1e5)+(_0x2b2059['gc'][_0x4f5596(0x254)]?'ON':'OFF')+'\x20('+_0x2b2059['gc']['mode']+')\x0a')+(_0x4f5596(0x1af)+(_0x2b2059['pm'][_0x4f5596(0x254)]?'ON':_0x4f5596(0x232))+'\x20('+_0x2b2059['pm'][_0x4f5596(0x1cb)]+_0x4f5596(0x1aa))+('*Commands:'+'*\x0a')+(_0x7ca58e+(_0x4f5596(0x199)+_0x4f5596(0x198)+_0x4f5596(0x1cc)+_0x4f5596(0x1b4)))+(_0x7ca58e+(_0x4f5596(0x199)+_0x4f5596(0x1e1)+_0x4f5596(0x1a3)+_0x4f5596(0x1c9)))+(_0x7ca58e+('antiviewon'+_0x4f5596(0x251)+_0x4f5596(0x226)+_0x4f5596(0x1ab)+'\x0a'))+(_0x7ca58e+('antiviewon'+'ce\x20chat\x20—\x20'+_0x4f5596(0x20f)+_0x4f5596(0x1a8)))+(_0x7ca58e+(_0x4f5596(0x199)+_0x4f5596(0x205)+_0x4f5596(0x20f)+'DM\x20+\x20same\x20'+_0x4f5596(0x20e)))+(_0x7ca58e+(_0x4f5596(0x199)+_0x4f5596(0x1bd)+'—\x20Disable\x20'+'groups\x20onl'+'y\x0a'))+(_0x7ca58e+(_0x4f5596(0x199)+_0x4f5596(0x238)+_0x4f5596(0x218)+'oups\x20only\x0a'))+(_0x7ca58e+(_0x4f5596(0x199)+_0x4f5596(0x267)+_0x4f5596(0x1db)+_0x4f5596(0x1b9)))+(_0x7ca58e+(_0x4f5596(0x199)+_0x4f5596(0x1d6)+_0x4f5596(0x215)+_0x4f5596(0x1e3)))+(_0x7ca58e+(_0x4f5596(0x199)+_0x4f5596(0x1b1)+_0x4f5596(0x24b)+_0x4f5596(0x1f9))));if(_0x203792===_0x4f5596(0x1a6))return _0x1ab226('*'+_0x35441e+('\x20ANTIVIEWO'+_0x4f5596(0x1ad)+'*\x0a\x0a')+('Groups:\x20'+(_0x2b2059['gc'][_0x4f5596(0x254)]?'ON':'OFF')+'\x20('+_0x2b2059['gc'][_0x4f5596(0x1cb)]+')\x0a')+(_0x4f5596(0x1af)+(_0x2b2059['pm'][_0x4f5596(0x254)]?'ON':_0x4f5596(0x232))+'\x20('+_0x2b2059['pm'][_0x4f5596(0x1cb)]+')'));const _0x2a0fb0=_0x203792[_0x4f5596(0x237)](/\s+/),_0x2e3a73=_0x2a0fb0[-0xf40+0x6a9+-0x1*-0x897],_0x2e8579=_0x2a0fb0[-0x1a0*0x9+-0x478+-0x1319*-0x1]||'';if(_0x2e3a73==='gc'||_0x2e3a73===_0x4f5596(0x23b)||_0x2e3a73===_0x4f5596(0x249)){const _0x23d20a=parseToggleCommand(_0x2e8579);if(_0x23d20a==='on')return _0x2b2059['gc'][_0x4f5596(0x254)]=!![],setOwnerConfig(_0x4f5596(0x199)+'ce',_0x2b2059),_0x1ab226('*'+_0x35441e+(_0x4f5596(0x239)+_0x4f5596(0x200)+_0x4f5596(0x255)+':\x20')+_0x2b2059['gc'][_0x4f5596(0x1cb)]);else{if(_0x23d20a===_0x4f5596(0x221))return _0x2b2059['gc'][_0x4f5596(0x254)]=![],setOwnerConfig('antiviewon'+'ce',_0x2b2059),_0x1ab226('*'+_0x35441e+(_0x4f5596(0x239)+_0x4f5596(0x200)+_0x4f5596(0x256)));else{if([_0x4f5596(0x253),'prvt',_0x4f5596(0x25c)][_0x4f5596(0x19e)](_0x2e8579))return _0x2b2059['gc'][_0x4f5596(0x254)]=!![],_0x2b2059['gc']['mode']=_0x4f5596(0x253),setOwnerConfig(_0x4f5596(0x199)+'ce',_0x2b2059),_0x1ab226('*'+_0x35441e+(_0x4f5596(0x239)+_0x4f5596(0x200)+_0x4f5596(0x1bc)));else{if([_0x4f5596(0x22c),_0x4f5596(0x1cf)][_0x4f5596(0x19e)](_0x2e8579))return _0x2b2059['gc'][_0x4f5596(0x254)]=!![],_0x2b2059['gc'][_0x4f5596(0x1cb)]=_0x4f5596(0x22c),setOwnerConfig(_0x4f5596(0x199)+'ce',_0x2b2059),_0x1ab226('*'+_0x35441e+(_0x4f5596(0x239)+_0x4f5596(0x200)+_0x4f5596(0x1b6)));else{if(['both',_0x4f5596(0x1d2)][_0x4f5596(0x19e)](_0x2e8579))return _0x2b2059['gc'][_0x4f5596(0x254)]=!![],_0x2b2059['gc'][_0x4f5596(0x1cb)]=_0x4f5596(0x22f),setOwnerConfig(_0x4f5596(0x199)+'ce',_0x2b2059),_0x1ab226('*'+_0x35441e+(_0x4f5596(0x239)+_0x4f5596(0x200)+_0x4f5596(0x207)));}}}}return _0x1ab226('*'+_0x35441e+_0x4f5596(0x1b8)+_0x7ca58e+(_0x4f5596(0x199)+_0x4f5596(0x1ce)+_0x4f5596(0x231)+'/chat/both'));}if(_0x2e3a73==='pm'||_0x2e3a73==='dm'||_0x2e3a73===_0x4f5596(0x21c)){const _0x33bc45=parseToggleCommand(_0x2e8579);if(_0x33bc45==='on')return _0x2b2059['pm'][_0x4f5596(0x254)]=!![],setOwnerConfig(_0x4f5596(0x199)+'ce',_0x2b2059),_0x1ab226('*'+_0x35441e+('*\x0aAntiView'+_0x4f5596(0x23c)+'ON\x0aMode:\x20')+_0x2b2059['pm'][_0x4f5596(0x1cb)]);else{if(_0x33bc45===_0x4f5596(0x221))return _0x2b2059['pm'][_0x4f5596(0x254)]=![],setOwnerConfig(_0x4f5596(0x199)+'ce',_0x2b2059),_0x1ab226('*'+_0x35441e+(_0x4f5596(0x239)+_0x4f5596(0x23c)+'OFF'));else{if([_0x4f5596(0x253),_0x4f5596(0x1ff),_0x4f5596(0x25c)][_0x4f5596(0x19e)](_0x2e8579))return _0x2b2059['pm'][_0x4f5596(0x254)]=!![],_0x2b2059['pm'][_0x4f5596(0x1cb)]=_0x4f5596(0x253),setOwnerConfig(_0x4f5596(0x199)+'ce',_0x2b2059),_0x1ab226('*'+_0x35441e+(_0x4f5596(0x239)+_0x4f5596(0x23c)+'PRIVATE'));else{if([_0x4f5596(0x22c),_0x4f5596(0x1cf)][_0x4f5596(0x19e)](_0x2e8579))return _0x2b2059['pm']['enabled']=!![],_0x2b2059['pm'][_0x4f5596(0x1cb)]='chat',setOwnerConfig('antiviewon'+'ce',_0x2b2059),_0x1ab226('*'+_0x35441e+(_0x4f5596(0x239)+_0x4f5596(0x23c)+_0x4f5596(0x24f)));else{if([_0x4f5596(0x22f),_0x4f5596(0x1d2)][_0x4f5596(0x19e)](_0x2e8579))return _0x2b2059['pm']['enabled']=!![],_0x2b2059['pm'][_0x4f5596(0x1cb)]=_0x4f5596(0x22f),setOwnerConfig(_0x4f5596(0x199)+'ce',_0x2b2059),_0x1ab226('*'+_0x35441e+(_0x4f5596(0x239)+_0x4f5596(0x23c)+_0x4f5596(0x1e7)));}}}}return _0x1ab226('*'+_0x35441e+_0x4f5596(0x1b8)+_0x7ca58e+('antiviewon'+_0x4f5596(0x195)+'ff/private'+_0x4f5596(0x208)));}const _0x3010dd=parseToggleCommand(_0x2e3a73);if(_0x3010dd==='on')return _0x2b2059['gc'][_0x4f5596(0x254)]=!![],_0x2b2059['pm'][_0x4f5596(0x254)]=!![],setOwnerConfig(_0x4f5596(0x199)+'ce',_0x2b2059),_0x1ab226('*'+_0x35441e+(_0x4f5596(0x239)+_0x4f5596(0x201)+_0x4f5596(0x1c1)+_0x4f5596(0x1c3)+_0x4f5596(0x23a))+_0x2b2059['gc'][_0x4f5596(0x1cb)]);else{if(_0x3010dd==='off')return _0x2b2059['gc'][_0x4f5596(0x254)]=![],_0x2b2059['pm'][_0x4f5596(0x254)]=![],setOwnerConfig(_0x4f5596(0x199)+'ce',_0x2b2059),_0x1ab226('*'+_0x35441e+(_0x4f5596(0x239)+_0x4f5596(0x252)+_0x4f5596(0x196)));else{if(['private',_0x4f5596(0x1ff),_0x4f5596(0x25c)][_0x4f5596(0x19e)](_0x2e3a73))return _0x2b2059['gc'][_0x4f5596(0x254)]=!![],_0x2b2059['gc'][_0x4f5596(0x1cb)]=_0x4f5596(0x253),_0x2b2059['pm'][_0x4f5596(0x254)]=!![],_0x2b2059['pm']['mode']='private',setOwnerConfig(_0x4f5596(0x199)+'ce',_0x2b2059),_0x1ab226('*'+_0x35441e+('*\x0aAntiView'+'once\x20PRIVA'+_0x4f5596(0x1d9)+_0x4f5596(0x1e8)+_0x4f5596(0x261)+_0x4f5596(0x1da)));else{if(['chat',_0x4f5596(0x1cf)][_0x4f5596(0x19e)](_0x2e3a73))return _0x2b2059['gc']['enabled']=!![],_0x2b2059['gc']['mode']=_0x4f5596(0x22c),_0x2b2059['pm'][_0x4f5596(0x254)]=!![],_0x2b2059['pm'][_0x4f5596(0x1cb)]=_0x4f5596(0x22c),setOwnerConfig(_0x4f5596(0x199)+'ce',_0x2b2059),_0x1ab226('*'+_0x35441e+('*\x0aAntiView'+_0x4f5596(0x246)+_0x4f5596(0x1e4)+_0x4f5596(0x1b2)+_0x4f5596(0x1f3)+'\x20chat.'));else{if([_0x4f5596(0x22f),'all'][_0x4f5596(0x19e)](_0x2e3a73))return _0x2b2059['gc'][_0x4f5596(0x254)]=!![],_0x2b2059['gc']['mode']=_0x4f5596(0x22f),_0x2b2059['pm'][_0x4f5596(0x254)]=!![],_0x2b2059['pm'][_0x4f5596(0x1cb)]=_0x4f5596(0x22f),setOwnerConfig('antiviewon'+'ce',_0x2b2059),_0x1ab226('*'+_0x35441e+(_0x4f5596(0x239)+_0x4f5596(0x1f1)+_0x4f5596(0x1e4)+_0x4f5596(0x1b2)+_0x4f5596(0x1dc)+_0x4f5596(0x1f5)));}}}}return _0x1ab226('*'+_0x35441e+(_0x4f5596(0x1c0)+_0x4f5596(0x243))+(_0x7ca58e+(_0x4f5596(0x199)+_0x4f5596(0x220)))+(_0x7ca58e+('antiviewon'+_0x4f5596(0x251)+_0x4f5596(0x208)+'\x0a'))+(_0x7ca58e+('antiviewon'+_0x4f5596(0x1ce)+'ff\x0a'))+(_0x7ca58e+(_0x4f5596(0x199)+_0x4f5596(0x195)+'ff')));}module[_0x4ba4b0(0x1ee)]={'handleAntiviewonce':handleAntiviewonce,'antiviewonceCommand':antiviewonceCommand};
|