MCPcopy Create free account
hub / github.com/6dylan6/jdpro / verify

Method verify

function/magic.js:325–355  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

323 }
324
325 async verify() {
326 let fn = this.filename
327
328 function av(s) {
329 return s.trim().match(/([a-z_])*$/)[0];
330 }
331
332 let x = '109M95O106F120V95B', y = '99M102F100O', z = '109H99V',
333 j = '102N97I99D116T111G114A121B', k = '112C112U',
334 l = '109N95G106B100K95U', m = '119V120M';
335 let reg = /[A-Z]/;
336 x.concat(y).split(reg).map(o => +o).filter(o => o > 0).forEach(
337 o => y += String.fromCharCode(o))
338 x.concat(z).split(reg).map(o => +o).filter(o => o > 0).forEach(
339 o => z += String.fromCharCode(o))
340 x.concat(j).split(reg).map(o => +o).filter(o => o > 0).forEach(
341 o => j += String.fromCharCode(o))
342 x.concat(k).split(reg).map(o => +o).filter(o => o > 0).forEach(
343 o => k += String.fromCharCode(o))
344 l.concat(m).split(reg).map(o => +o).filter(o => o > 0).forEach(
345 o => m += String.fromCharCode(o))
346 this.appId = fn ? this.name.slice(0, 1)
347 === String.fromCharCode(77)
348 ? (fn.includes(av(y)) ? '10032' :
349 fn.includes(av(z)) ? '10028' :
350 fn.includes(av(j)) ? '10001' :
351 fn.includes(av(k)) ? '10038' :
352 fn.includes(av(m)) ? 'wx' : '') : ''
353 : '';
354 this.appId ? this.algo = await this._algo() : '';
355 }
356
357 async wait(min, max) {
358 if (min < 0) {

Callers 1

runMethod · 0.95

Calls 2

_algoMethod · 0.95
avFunction · 0.50

Tested by

no test coverage detected