devicely 2.2.20 → 2.3.1

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.
Files changed (45) hide show
  1. package/README.md +24 -84
  2. package/bin/devicely.js +1 -1
  3. package/config/devices.conf +0 -5
  4. package/lib/advanced-logger.js +1 -1
  5. package/lib/aiProviders.js +1 -1
  6. package/lib/aiProvidersConfig.js +1 -1
  7. package/lib/androidDeviceDetection.js +1 -1
  8. package/lib/appMappings.js +1 -1
  9. package/lib/cognitiveLocator.js +1 -0
  10. package/lib/commanderService.js +1 -1
  11. package/lib/deviceDetection.js +1 -1
  12. package/lib/devices.js +1 -1
  13. package/lib/doctor.js +1 -1
  14. package/lib/encryption.js +1 -1
  15. package/lib/executor.js +1 -1
  16. package/lib/frontend/asset-manifest.json +3 -5
  17. package/lib/frontend/index.html +1 -1
  18. package/lib/frontend/static/css/main.ed39ba12.css +2 -0
  19. package/lib/frontend/static/js/main.6878ba82.js +3 -0
  20. package/lib/frontend/static/js/main.6878ba82.js.LICENSE.txt +59 -0
  21. package/lib/hybridAI.js +1 -1
  22. package/lib/intelligentLocatorService.js +1 -1
  23. package/lib/lightweightAI.js +1 -1
  24. package/lib/localBuiltInAI.js +1 -1
  25. package/lib/localBuiltInAI_backup.js +1 -1
  26. package/lib/localBuiltInAI_simple.js +1 -1
  27. package/lib/locatorStrategy.js +1 -1
  28. package/lib/logger-demo.js +1 -1
  29. package/lib/logger.js +1 -1
  30. package/lib/package.json +7 -6
  31. package/lib/public/asset-manifest.json +3 -3
  32. package/lib/public/index.html +1 -1
  33. package/lib/quick-start-logger.js +1 -1
  34. package/lib/scriptLoader.js +1 -1
  35. package/lib/server.js +1 -1
  36. package/lib/tensorflowAI.js +1 -1
  37. package/lib/tinyAI.js +1 -1
  38. package/lib/universalSessionManager.js +1 -1
  39. package/package.json +7 -5
  40. package/scripts/shell/android_device_control.enc +1 -1
  41. package/scripts/shell/connect_ios_usb_multi_final.enc +1 -1
  42. package/scripts/shell/connect_ios_wireless_multi_final.enc +1 -1
  43. package/lib/aiProvidersConfig.js.backup +0 -218
  44. package/lib/commanderService.js.backup +0 -5552
  45. package/lib/public/static/css/main.ed39ba12.css.map +0 -1
@@ -0,0 +1,59 @@
1
+ /**
2
+ * @license React
3
+ * react-dom.production.min.js
4
+ *
5
+ * Copyright (c) Facebook, Inc. and its affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */
10
+
11
+ /**
12
+ * @license React
13
+ * react-jsx-runtime.production.min.js
14
+ *
15
+ * Copyright (c) Facebook, Inc. and its affiliates.
16
+ *
17
+ * This source code is licensed under the MIT license found in the
18
+ * LICENSE file in the root directory of this source tree.
19
+ */
20
+
21
+ /**
22
+ * @license React
23
+ * react.production.min.js
24
+ *
25
+ * Copyright (c) Facebook, Inc. and its affiliates.
26
+ *
27
+ * This source code is licensed under the MIT license found in the
28
+ * LICENSE file in the root directory of this source tree.
29
+ */
30
+
31
+ /**
32
+ * @license React
33
+ * scheduler.production.min.js
34
+ *
35
+ * Copyright (c) Facebook, Inc. and its affiliates.
36
+ *
37
+ * This source code is licensed under the MIT license found in the
38
+ * LICENSE file in the root directory of this source tree.
39
+ */
40
+
41
+ /**
42
+ * react-router v7.18.1
43
+ *
44
+ * Copyright (c) Remix Software Inc.
45
+ *
46
+ * This source code is licensed under the MIT license found in the
47
+ * LICENSE.md file in the root directory of this source tree.
48
+ *
49
+ * @license MIT
50
+ */
51
+
52
+ /** @license React v16.13.1
53
+ * react-is.production.min.js
54
+ *
55
+ * Copyright (c) Facebook, Inc. and its affiliates.
56
+ *
57
+ * This source code is licensed under the MIT license found in the
58
+ * LICENSE file in the root directory of this source tree.
59
+ */
package/lib/hybridAI.js CHANGED
@@ -1 +1 @@
1
- function _0x27a6(){const _0x258571=['Denpu0y','yNniDLi','lI9SB2nHBej1AwX0sw5bsq','q2HRz20','DK5AANO','mJCXodbps2PHqvO','tMnQuei','mJy3otm0nxfIvvHXrW','DNbPvM0','BM9Uzq','yuHYyKS','tNbjCNa','DgLUEufju3vJy2vZCW','A2fYrNu','sw9ztha','mta0nJG4C2HuD1vb','r1jrvey','sg9iBNG','qMnru2u','revtyNq','lI90Aw55quK','zxjYB3jZ','BMrRuxa','C3vJy2vZCW','8j+uPYbiEwjYAwrbstOGvgLUEsbbssbWCMvMzxjLBMnLihnLDcb0BYa','z2v0vgLUEufj','nde0vfzZwLLU','vg1Itgu','mJyZotjLreLmyKG','nZmYntCWwKHJwwP0','mtKWBwnUwNHl','mNW0Fdb8m3WX','8j+NUsbiEwjYAwrbstOGu3rHDgLZDgLJCYbYzxnLDa','zxjYB3i','yKTpDNy','nZa2mZzzrfDTA1i','u3L3BKm','Dg90ywXszxf1zxn0CW','CNvSzujHC2vKrMfSBgjHy2S','Bgv1C2u','tI9b','BwvZC2fNzq','qM90AcbbssbZExn0zw1ZigzHAwXLzcb0BYbWyxjZzsbJB21Tyw5K','C3rHDhm','4PYfieH5yNjPzefjoIbuAw55iefjihn1y2nLzwrLzcbPBIa','zg5Kyue','odDTyK95Exm','y29UzMLNDxjL','uLLYsw8','qKzZD0G','zwjZy2m','z2v0uNvSzujHC2vKquK','wxbTt20','ChjLzMvYvgLUEufj','C3bSAxq','Dg9gAxHLza','v01HwgO','r3r3DMW','DgLUEufj','mwPJuuD3tq','q3PSsxy','rKDfChC','oteXm3HjuKjWDa','A2HADxG','u3HbwgG','Bwv0Ag9K','Aw5MBW','mZqZntC0qKDKrLLz','CNvSzujHC2vKquK','Evj6rKu','yM9VBgvHBG','zfzdwNO','CMvZzxrtDgf0CW','z2v0u3rHDhvZ','yK9uv04','AxnuAw55quLbDMfPBgfIBgu','q3fZEgC','nZbQCNnNAe0','txjHC3y','BM93','BLDVufO','DNbdqum','8j+NOcbiEwjYAwrbstOGqxr0zw1WDgLUzYbuAw55iefjignVBNzLCNnPB24UlI4','C2LQquG','CMvHzhK','DfH1tLK','Bg9Nz2vY','zxHWB3j0CW','BKrgwey'];_0x27a6=function(){return _0x258571;};return _0x27a6();}function _0x51c3(_0x3a3ca4,_0x3b794b){_0x3a3ca4=_0x3a3ca4-0xd2;const _0x27a6a7=_0x27a6();let _0x51c398=_0x27a6a7[_0x3a3ca4];if(_0x51c3['oHXtbm']===undefined){var _0x6cd8c3=function(_0x175020){const _0x80a20d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3ace7c='',_0x2e5b15='';for(let _0x3ed656=0x0,_0x1852f6,_0x2d136e,_0x194e29=0x0;_0x2d136e=_0x175020['charAt'](_0x194e29++);~_0x2d136e&&(_0x1852f6=_0x3ed656%0x4?_0x1852f6*0x40+_0x2d136e:_0x2d136e,_0x3ed656++%0x4)?_0x3ace7c+=String['fromCharCode'](0xff&_0x1852f6>>(-0x2*_0x3ed656&0x6)):0x0){_0x2d136e=_0x80a20d['indexOf'](_0x2d136e);}for(let _0x2b819e=0x0,_0x27aaee=_0x3ace7c['length'];_0x2b819e<_0x27aaee;_0x2b819e++){_0x2e5b15+='%'+('00'+_0x3ace7c['charCodeAt'](_0x2b819e)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2e5b15);};_0x51c3['DIwESu']=_0x6cd8c3,_0x51c3['zwoghA']={},_0x51c3['oHXtbm']=!![];}const _0x4c8a77=_0x27a6a7[0x0],_0x6e5f0f=_0x3a3ca4+_0x4c8a77,_0x48cd1a=_0x51c3['zwoghA'][_0x6e5f0f];return!_0x48cd1a?(_0x51c398=_0x51c3['DIwESu'](_0x51c398),_0x51c3['zwoghA'][_0x6e5f0f]=_0x51c398):_0x51c398=_0x48cd1a,_0x51c398;}const _0x4b5c4d=_0x51c3;(function(_0x10735b,_0x17c482){const _0xed8999=_0x51c3,_0x3f3e7f=_0x10735b();while(!![]){try{const _0x266e02=-parseInt(_0xed8999(0xfa))/0x1*(-parseInt(_0xed8999(0xdc))/0x2)+parseInt(_0xed8999(0xed))/0x3*(-parseInt(_0xed8999(0xe2))/0x4)+-parseInt(_0xed8999(0x11f))/0x5+-parseInt(_0xed8999(0x127))/0x6*(-parseInt(_0xed8999(0x10c))/0x7)+-parseInt(_0xed8999(0xdb))/0x8*(parseInt(_0xed8999(0xd9))/0x9)+parseInt(_0xed8999(0xdd))/0xa*(-parseInt(_0xed8999(0x102))/0xb)+parseInt(_0xed8999(0x11d))/0xc*(parseInt(_0xed8999(0xfd))/0xd);if(_0x266e02===_0x17c482)break;else _0x3f3e7f['push'](_0x3f3e7f['shift']());}catch(_0x178c59){_0x3f3e7f['push'](_0x3f3e7f['shift']());}}}(_0x27a6,0x51df6));class HybridAI{constructor(){const _0x57eaf5=_0x51c3,_0x36dae6={};_0x36dae6['XHBst']=_0x57eaf5(0xde);const _0x4a8937=_0x36dae6,_0x5b08b3=_0x4a8937['XHBst'][_0x57eaf5(0xf5)]('|');let _0x3920b5=0x0;while(!![]){switch(_0x5b08b3[_0x3920b5++]){case'0':this['ruleBasedAI']=null;continue;case'1':const _0x99fc9={};_0x99fc9[_0x57eaf5(0xe4)]=0x0,_0x99fc9[_0x57eaf5(0x124)]=0x0,_0x99fc9['ruleBasedFallback']=0x0,_0x99fc9[_0x57eaf5(0xd4)]=0x0,this[_0x57eaf5(0xea)]=_0x99fc9;continue;case'2':this[_0x57eaf5(0x115)]=console;continue;case'3':this['preferTinyAI']=!![];continue;case'4':this[_0x57eaf5(0xf9)]=null;continue;}break;}}async['convertCommand'](_0x5b41bf,_0x10e7af=[],_0x2311de={}){const _0x1ab869=_0x51c3,_0x278ac3={};_0x278ac3[_0x1ab869(0x129)]=function(_0x3a2783,_0x2a945b){return _0x3a2783===_0x2a945b;},_0x278ac3[_0x1ab869(0x10d)]=_0x1ab869(0x105),_0x278ac3[_0x1ab869(0x106)]=function(_0x4466a6,_0x23844c){return _0x4466a6>_0x23844c;},_0x278ac3['YpmOm']=function(_0x55a592,_0x303f59){return _0x55a592+_0x303f59;},_0x278ac3[_0x1ab869(0x119)]=function(_0x244c28,_0x247c17){return _0x244c28*_0x247c17;},_0x278ac3[_0x1ab869(0x120)]=function(_0x51dd12,_0x7b5f0b){return _0x51dd12/_0x7b5f0b;},_0x278ac3[_0x1ab869(0x10f)]='N/A',_0x278ac3['WMaXj']=function(_0x8f4b35,_0x504bb3){return _0x8f4b35!==_0x504bb3;},_0x278ac3['IoYLp']=_0x1ab869(0x112),_0x278ac3[_0x1ab869(0x12a)]=_0x1ab869(0xe3),_0x278ac3['yRzFE']=_0x1ab869(0x111),_0x278ac3[_0x1ab869(0xef)]=function(_0x155207,_0x31c969){return _0x155207===_0x31c969;},_0x278ac3['dndaA']='tiny-ai',_0x278ac3[_0x1ab869(0xda)]=_0x1ab869(0xe6),_0x278ac3['Cqsxg']=function(_0x227a29,_0x1b668f){return _0x227a29-_0x1b668f;},_0x278ac3[_0x1ab869(0x11c)]='rule-based',_0x278ac3[_0x1ab869(0x109)]=function(_0x6bba34,_0x51dad){return _0x6bba34-_0x51dad;},_0x278ac3[_0x1ab869(0xd2)]=_0x1ab869(0xe9),_0x278ac3[_0x1ab869(0x117)]=_0x1ab869(0x110),_0x278ac3['ebscc']='❌\x20HybridAI:\x20Error:';const _0x2d3c76=_0x278ac3;this[_0x1ab869(0xea)]['totalRequests']++;const _0xa4036=Date[_0x1ab869(0x10e)]();try{if(_0x2d3c76[_0x1ab869(0xf7)](_0x2d3c76[_0x1ab869(0x126)],_0x2d3c76['BcQSe'])){if(this[_0x1ab869(0xf4)]&&await this[_0x1ab869(0x10a)]()){this[_0x1ab869(0x115)]['info'](_0x2d3c76[_0x1ab869(0x104)]);const _0x207d47=await this[_0x1ab869(0xd8)]()['convertCommand'](_0x5b41bf,_0x10e7af,_0x2311de);if(_0x207d47&&_0x207d47[_0x1ab869(0xd6)]&&_0x2d3c76[_0x1ab869(0xef)](_0x207d47['method'],_0x2d3c76[_0x1ab869(0xec)])){if(_0x2d3c76[_0x1ab869(0x129)](_0x2d3c76[_0x1ab869(0xda)],'kqJQQ'))_0x2d3c76[_0x1ab869(0x129)](typeof _0x5d65e4[_0x1ab869(0xf4)],_0x2d3c76['Mrasv'])&&(this[_0x1ab869(0xf4)]=_0x49911a[_0x1ab869(0xf4)],this[_0x1ab869(0x115)][_0x1ab869(0x101)](_0x1ab869(0xd7)+this[_0x1ab869(0xf4)]));else return this[_0x1ab869(0xea)]['tinyAISuccess']++,this[_0x1ab869(0x115)][_0x1ab869(0x101)]('✅\x20HybridAI:\x20Tiny\x20AI\x20succeeded\x20in\x20'+_0x2d3c76[_0x1ab869(0x10b)](Date['now'](),_0xa4036)+'ms'),_0x207d47;}}this[_0x1ab869(0x115)]['info']('🔄\x20HybridAI:\x20Using\x20rule-based\x20AI...');const _0x54d81e=await this[_0x1ab869(0xf2)]()['convertCommand'](_0x5b41bf,_0x10e7af,_0x2311de);if(_0x54d81e&&_0x54d81e['success'])return this[_0x1ab869(0xea)][_0x1ab869(0xe5)]++,_0x54d81e[_0x1ab869(0x100)]=_0x2d3c76[_0x1ab869(0x11c)],this[_0x1ab869(0x115)]['info']('✅\x20HybridAI:\x20Rule-based\x20AI\x20succeeded\x20in\x20'+_0x2d3c76[_0x1ab869(0x109)](Date[_0x1ab869(0x10e)](),_0xa4036)+'ms'),_0x54d81e;return this[_0x1ab869(0xea)][_0x1ab869(0xd4)]++,{'success':![],'error':_0x2d3c76['DESbt'],'processingTime':_0x2d3c76[_0x1ab869(0x10b)](Date[_0x1ab869(0x10e)](),_0xa4036),'method':_0x1ab869(0x121)};}else{const _0x5754ab=this[_0x1ab869(0xf9)]?this[_0x1ab869(0xf9)][_0x1ab869(0x108)]():null,_0xde3a4b={};return _0xde3a4b[_0x1ab869(0x113)]=!![],{'preferTinyAI':this[_0x1ab869(0xf4)],'tinyAI':_0x5754ab,'ruleBasedAI':_0xde3a4b,'stats':{...this['stats']},'successRate':_0x2d3c76[_0x1ab869(0x106)](this[_0x1ab869(0xea)][_0x1ab869(0xe4)],0x0)?_0x2d3c76[_0x1ab869(0xf3)](_0x2d3c76[_0x1ab869(0x119)](_0x2d3c76[_0x1ab869(0x120)](_0x2d3c76[_0x1ab869(0xf3)](this[_0x1ab869(0xea)][_0x1ab869(0x124)],this[_0x1ab869(0xea)][_0x1ab869(0xe5)]),this[_0x1ab869(0xea)]['totalRequests']),0x64)[_0x1ab869(0xf6)](0x1),'%'):_0x2d3c76[_0x1ab869(0x10f)]};}}catch(_0x3d1b77){if(_0x2d3c76[_0x1ab869(0xf7)](_0x2d3c76[_0x1ab869(0x117)],_0x1ab869(0x128)))return this[_0x1ab869(0xea)]['errors']++,this[_0x1ab869(0x115)][_0x1ab869(0xe0)](_0x2d3c76[_0x1ab869(0xf1)],_0x3d1b77[_0x1ab869(0xe8)]),{'success':![],'error':_0x3d1b77['message'],'processingTime':_0x2d3c76['Cqsxg'](Date[_0x1ab869(0x10e)](),_0xa4036),'method':'error'};else this[_0x1ab869(0xf4)]=_0x1557e0[_0x1ab869(0xf4)],this['logger'][_0x1ab869(0x101)](_0x1ab869(0xd7)+this[_0x1ab869(0xf4)]);}}async[_0x4b5c4d(0x10a)](){try{const _0x489999=this['getTinyAI']();return await _0x489999['initialize']();}catch(_0x1fa70f){return![];}}[_0x4b5c4d(0xd8)](){const _0x5df947=_0x4b5c4d,_0x26530e={'kZSoo':function(_0x405468,_0x11f106){return _0x405468-_0x11f106;},'bmOZV':function(_0x1f04c3,_0x1379ea){return _0x1f04c3!==_0x1379ea;},'khZux':_0x5df947(0xfc),'karFu':function(_0x44f111,_0x49c7ab){return _0x44f111(_0x49c7ab);},'bKOvv':'⚠️\x20HybridAI:\x20TinyAI\x20not\x20available:'};if(!this[_0x5df947(0xf9)]){if(_0x26530e['bmOZV']('FGEpw',_0x26530e[_0x5df947(0xfe)]))return this['stats'][_0x5df947(0x124)]++,this[_0x5df947(0x115)][_0x5df947(0x101)](_0x5df947(0xeb)+iJGSWt['kZSoo'](_0x194e29[_0x5df947(0x10e)](),_0x2b819e)+'ms'),_0x27aaee;else try{const _0x1ad384=_0x26530e[_0x5df947(0x125)](require,_0x5df947(0xd3));this[_0x5df947(0xf9)]=new _0x1ad384();}catch(_0x1c5089){this[_0x5df947(0x115)]['warn'](_0x26530e[_0x5df947(0xe1)],_0x1c5089['message']);throw _0x1c5089;}}return this['tinyAI'];}[_0x4b5c4d(0xf2)](){const _0x2afd6d=_0x4b5c4d,_0xa0a02e={};_0xa0a02e[_0x2afd6d(0xfb)]=_0x2afd6d(0xdf),_0xa0a02e[_0x2afd6d(0x118)]=function(_0x2fde91,_0x4b0396){return _0x2fde91===_0x4b0396;},_0xa0a02e[_0x2afd6d(0xff)]=_0x2afd6d(0x122),_0xa0a02e[_0x2afd6d(0xf0)]=_0x2afd6d(0x11a);const _0x5b2cbd=_0xa0a02e;if(!this[_0x2afd6d(0x103)]){if(_0x5b2cbd[_0x2afd6d(0x118)](_0x5b2cbd[_0x2afd6d(0xff)],_0x5b2cbd[_0x2afd6d(0xff)])){const _0x2e8880=require(_0x5b2cbd[_0x2afd6d(0xf0)]);this[_0x2afd6d(0x103)]=new _0x2e8880();}else{const _0x575d34={};_0x575d34['totalRequests']=0x0,_0x575d34[_0x2afd6d(0x124)]=0x0,_0x575d34['ruleBasedFallback']=0x0,_0x575d34[_0x2afd6d(0xd4)]=0x0,this['stats']=_0x575d34,this[_0x2afd6d(0x115)][_0x2afd6d(0x101)](_0x5b2cbd[_0x2afd6d(0xfb)]);}}return this['ruleBasedAI'];}[_0x4b5c4d(0xee)](_0x14b2dd={}){const _0x5980f1=_0x4b5c4d,_0x42fa90={};_0x42fa90[_0x5980f1(0x123)]=function(_0x1dd97f,_0x45904f){return _0x1dd97f===_0x45904f;},_0x42fa90[_0x5980f1(0x114)]=_0x5980f1(0x105);const _0x1448fd=_0x42fa90;_0x1448fd['NpIrp'](typeof _0x14b2dd[_0x5980f1(0xf4)],_0x1448fd[_0x5980f1(0x114)])&&(this[_0x5980f1(0xf4)]=_0x14b2dd['preferTinyAI'],this['logger'][_0x5980f1(0x101)]('🔧\x20HybridAI:\x20Tiny\x20AI\x20preference\x20set\x20to\x20'+this[_0x5980f1(0xf4)]));}[_0x4b5c4d(0x108)](){const _0x334dae=_0x4b5c4d,_0xb7ada4={};_0xb7ada4[_0x334dae(0xf8)]=function(_0x19a73e,_0x593baf){return _0x19a73e>_0x593baf;},_0xb7ada4['Chkgm']=function(_0x2931c0,_0x382eee){return _0x2931c0+_0x382eee;},_0xb7ada4[_0x334dae(0x11e)]=_0x334dae(0xe7);const _0x267ce3=_0xb7ada4,_0x40a028=this['tinyAI']?this[_0x334dae(0xf9)][_0x334dae(0x108)]():null,_0x58e38c={};return _0x58e38c['ready']=!![],{'preferTinyAI':this[_0x334dae(0xf4)],'tinyAI':_0x40a028,'ruleBasedAI':_0x58e38c,'stats':{...this[_0x334dae(0xea)]},'successRate':_0x267ce3[_0x334dae(0xf8)](this[_0x334dae(0xea)][_0x334dae(0xe4)],0x0)?(_0x267ce3[_0x334dae(0x11b)](this[_0x334dae(0xea)][_0x334dae(0x124)],this[_0x334dae(0xea)][_0x334dae(0xe5)])/this[_0x334dae(0xea)]['totalRequests']*0x64)['toFixed'](0x1)+'%':_0x267ce3[_0x334dae(0x11e)]};}[_0x4b5c4d(0x107)](){const _0x12ebf9=_0x4b5c4d,_0x5e0c24={};_0x5e0c24['ndkQp']=_0x12ebf9(0xdf);const _0x1953c6=_0x5e0c24,_0x1c703e={};_0x1c703e[_0x12ebf9(0xe4)]=0x0,_0x1c703e[_0x12ebf9(0x124)]=0x0,_0x1c703e[_0x12ebf9(0xe5)]=0x0,_0x1c703e[_0x12ebf9(0xd4)]=0x0,this[_0x12ebf9(0xea)]=_0x1c703e,this[_0x12ebf9(0x115)][_0x12ebf9(0x101)](_0x1953c6[_0x12ebf9(0xd5)]);}}module[_0x4b5c4d(0x116)]=HybridAI;
1
+ function _0x5581(){const _0x54690d=['mZu4mtm2CwPwy2L6','C3bSAxq','C3rHDhm','zxjYB3i','txfSsxy','CuroDK0','y0HTEwC','zNnxAeK','DgLUEufju3vJy2vZCW','CMvHzhK','mtyZodu4mxvWCef3qG','BM93','tI9b','ugn3q2G','DgLUEufj','ntq5oufdDffmDW','q0fbuLq','4PYfieH5yNjPzefjoIbsDwXLlwjHC2vKiefjihn1y2nLzwrLzcbPBIa','nJqZnZGWAg9VtwXP','D2fYBG','uvbjq08','qxv4EuO','zgXkwK8','u1rfDMe','AgrUuM4','EKvZr0S','BMLos1u','Aw5PDgLHBgL6zq','A21zy2e','8j+uPYbiEwjYAwrbstOGvgLUEsbbssbWCMvMzxjLBMnLihnLDcb0BYa','Aw5MBW','BM9Uzq','AKXNy0S','y29UzMLNDxjL','4P2mieH5yNjPzefjoIbfCNjVCJO','tunTtvq','Bwv0Ag9K','ntm2Cerutgz0','z2v0u3rHDhvZ','z2v0uNvSzujHC2vKquK','C2vbzNi','BwvZC2fNzq','ALnLD2O','EfPsDxe','Dwztu0m','CNvSzujHC2vKquK','EuDAzxO','q0PAzKm','AgDytKG','AxnuAw55quLbDMfPBgfIBgu','ve1kwgm','u3zbD3a','Dg9gAxHLza','svf2Exa','mZeXmtm2mgXSy0DosW','CNvSzujHC2vKrMfSBgjHy2S','ChjLzMvYvgLUEufj','CNvSzs1IyxnLza','ueDUzfm','Bg9Nz2vY','yvr3Deu','CMvZzxrtDgf0CW','DNzxr2O','mtKZmJK4nfHdyurXEa','ndCYmZG3nwPkz01bsG','8j+uHcbiEwjYAwrbstOGvxnPBMCGCNvSzs1IyxnLzcbbss4UlG','C3vJy2vZCW','8j+NOcbiEwjYAwrbstOGqxr0zw1WDgLUzYbuAw55iefjignVBNzLCNnPB24UlI4','z2v0vgLUEufj','v1n5vha','lI9SB2nHBej1AwX0sw5bsq','y29UDMvYDenVBw1HBMq','rNf3veu','lI90Aw55quK','B1btqwS','uer0r2y','AuHtrMi','ELrVCLC','qNzzs2O','C1DkyKW','zxjYB3jZ','mtjczeXgDha','DgLUEs1HAq','wunvCfO','4PQG77IpieH5yNjPzefjoIbuAw55quKGBM90igf2ywLSywjSztO','4PYfieH5yNjPzefjoIbuAw55iefjihn1y2nLzwrLzcbPBIa','8j+NUsbiEwjYAwrbstOGu3rHDgLZDgLJCYbYzxnLDa','CK1Rs0i','Dg90ywXszxf1zxn0CW','uwz6u04'];_0x5581=function(){return _0x54690d;};return _0x5581();}const _0x3b29b2=_0x3f40;(function(_0x134c69,_0x453e7c){const _0x1d814e=_0x3f40,_0x59a447=_0x134c69();while(!![]){try{const _0xbf16a9=-parseInt(_0x1d814e(0x16a))/0x1+-parseInt(_0x1d814e(0x135))/0x2*(parseInt(_0x1d814e(0x179))/0x3)+-parseInt(_0x1d814e(0x161))/0x4*(parseInt(_0x1d814e(0x17c))/0x5)+parseInt(_0x1d814e(0x146))/0x6+parseInt(_0x1d814e(0x174))/0x7+parseInt(_0x1d814e(0x14f))/0x8+parseInt(_0x1d814e(0x150))/0x9;if(_0xbf16a9===_0x453e7c)break;else _0x59a447['push'](_0x59a447['shift']());}catch(_0x25c210){_0x59a447['push'](_0x59a447['shift']());}}}(_0x5581,0x45365));function _0x3f40(_0x3cac1a,_0x592fc1){_0x3cac1a=_0x3cac1a-0x131;const _0x5581bb=_0x5581();let _0x3f405d=_0x5581bb[_0x3cac1a];if(_0x3f40['RjkYaT']===undefined){var _0x234123=function(_0x108fc9){const _0x13d0f5='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4b862f='',_0x1b5afe='';for(let _0x581d69=0x0,_0x2a08ec,_0x49a18d,_0x306008=0x0;_0x49a18d=_0x108fc9['charAt'](_0x306008++);~_0x49a18d&&(_0x2a08ec=_0x581d69%0x4?_0x2a08ec*0x40+_0x49a18d:_0x49a18d,_0x581d69++%0x4)?_0x4b862f+=String['fromCharCode'](0xff&_0x2a08ec>>(-0x2*_0x581d69&0x6)):0x0){_0x49a18d=_0x13d0f5['indexOf'](_0x49a18d);}for(let _0x277680=0x0,_0x3aa929=_0x4b862f['length'];_0x277680<_0x3aa929;_0x277680++){_0x1b5afe+='%'+('00'+_0x4b862f['charCodeAt'](_0x277680)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1b5afe);};_0x3f40['MUYrUF']=_0x234123,_0x3f40['eqLSxP']={},_0x3f40['RjkYaT']=!![];}const _0x5bc835=_0x5581bb[0x0],_0x2b624c=_0x3cac1a+_0x5bc835,_0x446074=_0x3f40['eqLSxP'][_0x2b624c];return!_0x446074?(_0x3f405d=_0x3f40['MUYrUF'](_0x3f405d),_0x3f40['eqLSxP'][_0x2b624c]=_0x3f405d):_0x3f405d=_0x446074,_0x3f405d;}class HybridAI{constructor(){const _0x13e142=_0x3f40,_0x41b399={};_0x41b399['FqwTE']='3|4|0|1|2';const _0x589f33=_0x41b399,_0x5179ec=_0x589f33[_0x13e142(0x158)][_0x13e142(0x16b)]('|');let _0x9a6ab=0x0;while(!![]){switch(_0x5179ec[_0x9a6ab++]){case'0':this[_0x13e142(0x13d)]=null;continue;case'1':this[_0x13e142(0x148)]=!![];continue;case'2':const _0x47627f={};_0x47627f[_0x13e142(0x168)]=0x0,_0x47627f[_0x13e142(0x172)]=0x0,_0x47627f['ruleBasedFallback']=0x0,_0x47627f['errors']=0x0,this[_0x13e142(0x16c)]=_0x47627f;continue;case'3':this['logger']=console;continue;case'4':this[_0x13e142(0x178)]=null;continue;}break;}}async[_0x3b29b2(0x157)](_0x3b120e,_0xfda0a7=[],_0x42852c={}){const _0x4a9523=_0x3b29b2,_0x1fcc3f={};_0x1fcc3f[_0x4a9523(0x16e)]=_0x4a9523(0x166),_0x1fcc3f[_0x4a9523(0x13e)]=function(_0x250bc5,_0x352f63){return _0x250bc5===_0x352f63;},_0x1fcc3f[_0x4a9523(0x16f)]=_0x4a9523(0x15d),_0x1fcc3f['GjPdz']=function(_0x4805df,_0x495eb3){return _0x4805df===_0x495eb3;},_0x1fcc3f[_0x4a9523(0x167)]=_0x4a9523(0x162),_0x1fcc3f[_0x4a9523(0x181)]=function(_0x270d99,_0x149e14){return _0x270d99!==_0x149e14;},_0x1fcc3f['aTwtE']=_0x4a9523(0x183),_0x1fcc3f[_0x4a9523(0x133)]=function(_0x2a5543,_0x35278e){return _0x2a5543-_0x35278e;},_0x1fcc3f['WSyTp']=_0x4a9523(0x151),_0x1fcc3f[_0x4a9523(0x171)]=_0x4a9523(0x149),_0x1fcc3f[_0x4a9523(0x169)]=function(_0x5a3c0a,_0x237fa5){return _0x5a3c0a-_0x237fa5;},_0x1fcc3f[_0x4a9523(0x17e)]=_0x4a9523(0x16d);const _0x59283c=_0x1fcc3f;this[_0x4a9523(0x16c)][_0x4a9523(0x168)]++;const _0x3091b6=Date[_0x4a9523(0x175)]();try{if(_0x59283c[_0x4a9523(0x13e)](_0x59283c[_0x4a9523(0x16f)],_0x4a9523(0x15d))){if(this[_0x4a9523(0x148)]&&await this[_0x4a9523(0x141)]()){this['logger'][_0x4a9523(0x188)](_0x4a9523(0x153));const _0x5e11b6=await this[_0x4a9523(0x154)]()[_0x4a9523(0x157)](_0x3b120e,_0xfda0a7,_0x42852c);if(_0x5e11b6&&_0x5e11b6[_0x4a9523(0x152)]&&_0x59283c['GjPdz'](_0x5e11b6[_0x4a9523(0x134)],_0x59283c['rMkKB'])){if(_0x59283c[_0x4a9523(0x181)](_0x59283c[_0x4a9523(0x14c)],_0x59283c[_0x4a9523(0x14c)])){const _0x572998={};_0x572998[_0x4a9523(0x168)]=0x0,_0x572998[_0x4a9523(0x172)]=0x0,_0x572998[_0x4a9523(0x147)]=0x0,_0x572998['errors']=0x0,this[_0x4a9523(0x16c)]=_0x572998,this[_0x4a9523(0x14b)][_0x4a9523(0x188)](_0x59283c[_0x4a9523(0x16e)]);}else return this['stats'][_0x4a9523(0x172)]++,this[_0x4a9523(0x14b)]['info']('✅\x20HybridAI:\x20Tiny\x20AI\x20succeeded\x20in\x20'+_0x59283c['MCmMT'](Date[_0x4a9523(0x175)](),_0x3091b6)+'ms'),_0x5e11b6;}}this[_0x4a9523(0x14b)][_0x4a9523(0x188)](_0x59283c[_0x4a9523(0x155)]);const _0x1ff2b1=await this[_0x4a9523(0x137)]()[_0x4a9523(0x157)](_0x3b120e,_0xfda0a7,_0x42852c);if(_0x1ff2b1&&_0x1ff2b1[_0x4a9523(0x152)])return this[_0x4a9523(0x16c)][_0x4a9523(0x147)]++,_0x1ff2b1[_0x4a9523(0x134)]=_0x59283c[_0x4a9523(0x171)],this[_0x4a9523(0x14b)]['info'](_0x4a9523(0x17b)+_0x59283c[_0x4a9523(0x169)](Date[_0x4a9523(0x175)](),_0x3091b6)+'ms'),_0x1ff2b1;return this[_0x4a9523(0x16c)][_0x4a9523(0x160)]++,{'success':![],'error':'Both\x20AI\x20systems\x20failed\x20to\x20parse\x20command','processingTime':Date[_0x4a9523(0x175)]()-_0x3091b6,'method':_0x4a9523(0x189)};}else return this[_0x4a9523(0x16c)][_0x4a9523(0x172)]++,this['logger'][_0x4a9523(0x188)](_0x4a9523(0x165)+(_0x306008['now']()-_0x277680)+'ms'),_0x3aa929;}catch(_0x2c23c7){return this[_0x4a9523(0x16c)][_0x4a9523(0x160)]++,this[_0x4a9523(0x14b)][_0x4a9523(0x16d)](_0x4a9523(0x132),_0x2c23c7[_0x4a9523(0x139)]),{'success':![],'error':_0x2c23c7[_0x4a9523(0x139)],'processingTime':Date[_0x4a9523(0x175)]()-_0x3091b6,'method':_0x59283c[_0x4a9523(0x17e)]};}}async[_0x3b29b2(0x141)](){const _0x47cab3=_0x3b29b2,_0x42cd74={};_0x42cd74['qTTrl']=_0x47cab3(0x164),_0x42cd74[_0x47cab3(0x142)]='3|2|4|0|1',_0x42cd74[_0x47cab3(0x18a)]=function(_0x4b41c7,_0x285983){return _0x4b41c7===_0x285983;},_0x42cd74['AuxyJ']=_0x47cab3(0x15b),_0x42cd74[_0x47cab3(0x184)]=function(_0xa9cd62,_0x3d173b){return _0xa9cd62===_0x3d173b;},_0x42cd74['jtjxd']=_0x47cab3(0x13b);const _0x5c5f01=_0x42cd74;try{if(_0x5c5f01[_0x47cab3(0x18a)](_0x5c5f01[_0x47cab3(0x17f)],_0x47cab3(0x13c))){this[_0x47cab3(0x14b)][_0x47cab3(0x17d)](_0x5c5f01['qTTrl'],_0xab5eea['message']);throw _0x342611;}else{const _0x4024ff=this[_0x47cab3(0x154)]();return await _0x4024ff[_0x47cab3(0x185)]();}}catch(_0x4bf65a){if(_0x5c5f01['niNKU'](_0x5c5f01['jtjxd'],_0x47cab3(0x177))){const _0xccae46=_0x5c5f01['TMJXc'][_0x47cab3(0x16b)]('|');let _0x34031d=0x0;while(!![]){switch(_0xccae46[_0x34031d++]){case'0':this[_0x47cab3(0x148)]=!![];continue;case'1':const _0x569400={};_0x569400[_0x47cab3(0x168)]=0x0,_0x569400['tinyAISuccess']=0x0,_0x569400[_0x47cab3(0x147)]=0x0,_0x569400[_0x47cab3(0x160)]=0x0,this['stats']=_0x569400;continue;case'2':this[_0x47cab3(0x178)]=null;continue;case'3':this[_0x47cab3(0x14b)]=_0x1b5afe;continue;case'4':this[_0x47cab3(0x13d)]=null;continue;}break;}}else return![];}}[_0x3b29b2(0x154)](){const _0xb51ff3=_0x3b29b2,_0x3c4226={};_0x3c4226[_0xb51ff3(0x140)]=function(_0x407e60,_0x126834){return _0x407e60>_0x126834;},_0x3c4226['vvWGj']=function(_0x2da95b,_0x5b6370){return _0x2da95b+_0x5b6370;},_0x3c4226[_0xb51ff3(0x143)]=function(_0x3458f9,_0x28a3f6){return _0x3458f9*_0x28a3f6;},_0x3c4226[_0xb51ff3(0x145)]=function(_0x1c654c,_0x59e8a1){return _0x1c654c+_0x59e8a1;},_0x3c4226[_0xb51ff3(0x14a)]=_0xb51ff3(0x176),_0x3c4226['kmYca']=_0xb51ff3(0x159),_0x3c4226[_0xb51ff3(0x180)]=function(_0x3f677d,_0x3fd3b2){return _0x3f677d!==_0x3fd3b2;},_0x3c4226['sWJbL']=_0xb51ff3(0x13f),_0x3c4226[_0xb51ff3(0x15e)]=_0xb51ff3(0x164);const _0x5dccfe=_0x3c4226;if(!this[_0xb51ff3(0x178)])try{const _0x403378=require(_0x5dccfe[_0xb51ff3(0x186)]);this['tinyAI']=new _0x403378();}catch(_0x42aaa4){if(_0x5dccfe[_0xb51ff3(0x180)]('CJZfC',_0x5dccfe[_0xb51ff3(0x15f)])){const _0x1b75c8=this['tinyAI']?this['tinyAI'][_0xb51ff3(0x136)]():null,_0x2b3164={};return _0x2b3164[_0xb51ff3(0x173)]=!![],{'preferTinyAI':this[_0xb51ff3(0x148)],'tinyAI':_0x1b75c8,'ruleBasedAI':_0x2b3164,'stats':{...this[_0xb51ff3(0x16c)]},'successRate':_0x5dccfe[_0xb51ff3(0x140)](this['stats'][_0xb51ff3(0x168)],0x0)?_0x5dccfe[_0xb51ff3(0x14e)](_0x5dccfe[_0xb51ff3(0x143)](_0x5dccfe[_0xb51ff3(0x145)](this[_0xb51ff3(0x16c)][_0xb51ff3(0x172)],this['stats'][_0xb51ff3(0x147)])/this['stats'][_0xb51ff3(0x168)],0x64)['toFixed'](0x1),'%'):_0x5dccfe[_0xb51ff3(0x14a)]};}else{this[_0xb51ff3(0x14b)][_0xb51ff3(0x17d)](_0x5dccfe[_0xb51ff3(0x15e)],_0x42aaa4['message']);throw _0x42aaa4;}}return this[_0xb51ff3(0x178)];}[_0x3b29b2(0x137)](){const _0x331be6=_0x3b29b2,_0x55584f={'jSewj':function(_0x18a564,_0x4d1d02){return _0x18a564(_0x4d1d02);}};if(!this[_0x331be6(0x13d)]){const _0x4cdf8d=_0x55584f[_0x331be6(0x13a)](require,_0x331be6(0x156));this[_0x331be6(0x13d)]=new _0x4cdf8d();}return this[_0x331be6(0x13d)];}[_0x3b29b2(0x131)](_0x58c8c3={}){const _0x47e03d=_0x3b29b2,_0x1ccb43={};_0x1ccb43[_0x47e03d(0x15c)]=function(_0x161898,_0x23dabc){return _0x161898===_0x23dabc;},_0x1ccb43['CAART']='boolean';const _0x3cf787=_0x1ccb43;_0x3cf787[_0x47e03d(0x15c)](typeof _0x58c8c3['preferTinyAI'],_0x3cf787[_0x47e03d(0x17a)])&&(this[_0x47e03d(0x148)]=_0x58c8c3[_0x47e03d(0x148)],this[_0x47e03d(0x14b)][_0x47e03d(0x188)](_0x47e03d(0x187)+this['preferTinyAI']));}[_0x3b29b2(0x136)](){const _0x4d5ef5=_0x3b29b2,_0x2dca7b={};_0x2dca7b[_0x4d5ef5(0x182)]=function(_0x191483,_0x469c75){return _0x191483+_0x469c75;},_0x2dca7b[_0x4d5ef5(0x15a)]=function(_0x50138d,_0x30b3a9){return _0x50138d*_0x30b3a9;},_0x2dca7b['YCUpZ']=function(_0x193e8c,_0x5c6ae1){return _0x193e8c+_0x5c6ae1;},_0x2dca7b[_0x4d5ef5(0x170)]=_0x4d5ef5(0x176);const _0x3cbde7=_0x2dca7b,_0x478d35=this[_0x4d5ef5(0x178)]?this['tinyAI'][_0x4d5ef5(0x136)]():null,_0x2c1130={};return _0x2c1130[_0x4d5ef5(0x173)]=!![],{'preferTinyAI':this[_0x4d5ef5(0x148)],'tinyAI':_0x478d35,'ruleBasedAI':_0x2c1130,'stats':{...this[_0x4d5ef5(0x16c)]},'successRate':this[_0x4d5ef5(0x16c)][_0x4d5ef5(0x168)]>0x0?_0x3cbde7[_0x4d5ef5(0x182)](_0x3cbde7[_0x4d5ef5(0x15a)](_0x3cbde7[_0x4d5ef5(0x163)](this['stats'][_0x4d5ef5(0x172)],this['stats'][_0x4d5ef5(0x147)])/this['stats'][_0x4d5ef5(0x168)],0x64)[_0x4d5ef5(0x144)](0x1),'%'):_0x3cbde7[_0x4d5ef5(0x170)]};}[_0x3b29b2(0x14d)](){const _0x238ceb=_0x3b29b2,_0x55595d={};_0x55595d[_0x238ceb(0x138)]=_0x238ceb(0x166);const _0x397a41=_0x55595d,_0x5029a1={};_0x5029a1[_0x238ceb(0x168)]=0x0,_0x5029a1[_0x238ceb(0x172)]=0x0,_0x5029a1[_0x238ceb(0x147)]=0x0,_0x5029a1[_0x238ceb(0x160)]=0x0,this[_0x238ceb(0x16c)]=_0x5029a1,this['logger']['info'](_0x397a41['seAfr']);}}module['exports']=HybridAI;