@deathnaitsa/wa-api 2.1.0 → 2.1.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.
- package/dist/WhatsAppClient.cjs +1 -1
- package/dist/WhatsAppClient.js +1 -1
- package/dist/auth/sqliteAuthState.cjs +1 -1
- package/dist/auth/sqliteAuthState.js +1 -1
- package/dist/config-helper.cjs +71 -1
- package/dist/config-helper.js +65 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/wa-api.config.cjs +197 -1
- package/dist/wa-api.config.js +197 -1
- package/package.json +1 -1
- package/CONFIG.md +0 -350
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0xe948(_0x3627a2,_0x2b3741){const _0x4cb268=_0x26f2();return _0xe948=function(_0x5bd557,_0x4ee3e6){_0x5bd557=_0x5bd557-(0x200*0x11+-0xe8a+-0x1231);let _0x547884=_0x4cb268[_0x5bd557];if(_0xe948['KROJZV']===undefined){var _0x2d9bce=function(_0x2645d5){const _0x4782a6='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xca4180='',_0x7491e2='',_0x48804d=_0xca4180+_0x2d9bce;for(let _0x461edd=0x20*-0xd9+0x514+0x160c,_0x961838,_0x4ab0e8,_0xdc175=-0xa3f+-0x7*-0x2bf+-0x8fa;_0x4ab0e8=_0x2645d5['charAt'](_0xdc175++);~_0x4ab0e8&&(_0x961838=_0x461edd%(-0x141e+-0x26*-0x16+0x10de)?_0x961838*(-0x5a9+-0x943+0xf2c)+_0x4ab0e8:_0x4ab0e8,_0x461edd++%(-0x196e+0x451+0x1521))?_0xca4180+=_0x48804d['charCodeAt'](_0xdc175+(-0x11b*0x23+-0x18e6*0x1+-0x7*-0x917))-(0x3a4*0x5+0x1ffe+-0x3228)!==-0x137b*0x2+0x187d*0x1+0xe79?String['fromCharCode'](0x5*-0x514+-0x1ff*-0x1+-0x1be*-0xe&_0x961838>>(-(0x199*0x2+0x123e+0x1a*-0xd3)*_0x461edd&0x9e9+0x2001+-0x29e4)):_0x461edd:-0x347*0x7+0x3f6*-0x1+0x1ae7){_0x4ab0e8=_0x4782a6['indexOf'](_0x4ab0e8);}for(let _0x3eaaa8=-0x882+-0xece+-0x5d4*-0x4,_0x4482b3=_0xca4180['length'];_0x3eaaa8<_0x4482b3;_0x3eaaa8++){_0x7491e2+='%'+('00'+_0xca4180['charCodeAt'](_0x3eaaa8)['toString'](0x11cf+0xc6d*-0x1+-0x552))['slice'](-(0xb3*-0x6+0x1*-0x3d2+0x806));}return decodeURIComponent(_0x7491e2);};_0xe948['zTXrDe']=_0x2d9bce,_0x3627a2=arguments,_0xe948['KROJZV']=!![];}const _0x16526c=_0x4cb268[0x1f64+-0x1*0x17ae+0x11a*-0x7],_0x217f67=_0x5bd557+_0x16526c,_0x183d40=_0x3627a2[_0x217f67];if(!_0x183d40){const _0x25d973=function(_0x2992c8){this['YGNVzj']=_0x2992c8,this['iWlOff']=[-0x14ff+-0x2018+-0xd46*-0x4,-0xca4*-0x2+0x13c9*-0x1+-0x57f*0x1,-0x9cc+0x164*0x3+0x5a0],this['KHMRwk']=function(){return'newState';},this['cXlnTD']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['kPzDgB']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x25d973['prototype']['GeZpsN']=function(){const _0x40cb31=new RegExp(this['cXlnTD']+this['kPzDgB']),_0xd9e620=_0x40cb31['test'](this['KHMRwk']['toString']())?--this['iWlOff'][-0x22*0x2b+0x1429+-0xe72]:--this['iWlOff'][-0x5db*-0x1+0x1*0x64d+-0xc28];return this['VjcAun'](_0xd9e620);},_0x25d973['prototype']['VjcAun']=function(_0x4aea53){if(!Boolean(~_0x4aea53))return _0x4aea53;return this['OlBiop'](this['YGNVzj']);},_0x25d973['prototype']['OlBiop']=function(_0x1bcf9e){for(let _0x2a4a61=-0x25d7*-0x1+0x2302+-0x48d9,_0xa721f5=this['iWlOff']['length'];_0x2a4a61<_0xa721f5;_0x2a4a61++){this['iWlOff']['push'](Math['round'](Math['random']())),_0xa721f5=this['iWlOff']['length'];}return _0x1bcf9e(this['iWlOff'][-0xec5+-0x98b+0x1850]);},new _0x25d973(_0xe948)['GeZpsN'](),_0x547884=_0xe948['zTXrDe'](_0x547884),_0x3627a2[_0x217f67]=_0x547884;}else _0x547884=_0x183d40;return _0x547884;},_0xe948(_0x3627a2,_0x2b3741);}(function(_0x2c55a4,_0x529813){const _0x5669c6={_0x3cba0f:0x4a7,_0x4e6c9a:0x483,_0x21e0aa:0x4ac,_0x5e5d30:0x4aa,_0x14f729:0x4c1,_0xd572b3:0x47b,_0x1337fe:0x49f,_0x26135e:0x4a2,_0x48a087:0x46c,_0x435bd0:0x496,_0x15326c:0x79,_0x4e98cd:0x5c,_0x1ac796:0x4c6,_0x4c6cb0:0x473,_0x136def:0xc8,_0x591f1f:0xc3,_0x1197aa:0x76},_0x4087c1={_0x137c2f:0x20c};function _0x40954f(_0x3d3867,_0x1fd5d0,_0x3032b5,_0x4d9e75){return _0xe948(_0x3032b5- -_0x4087c1._0x137c2f,_0x1fd5d0);}function _0xbe8c04(_0x2d9ec9,_0x1019d8,_0x1f01fe,_0x576038){return _0xe948(_0x576038-0x337,_0x1019d8);}const _0x1ec1b2=_0x2c55a4();while(!![]){try{const _0xf86088=-parseInt(_0xbe8c04(_0x5669c6._0x3cba0f,_0x5669c6._0x4e6c9a,_0x5669c6._0x21e0aa,_0x5669c6._0x5e5d30))/(0xb9c+0xace*0x1+-0x1669)+-parseInt(_0xbe8c04(_0x5669c6._0x14f729,_0x5669c6._0xd572b3,0x4bf,_0x5669c6._0x1337fe))/(-0x1*0x1ac8+-0x1*0x1337+0x2e01)+parseInt(_0xbe8c04(_0x5669c6._0x26135e,_0x5669c6._0x48a087,_0x5669c6._0x435bd0,0x483))/(-0x23*-0xf4+-0x3*0x327+-0x17e4)+-parseInt(_0x40954f(-0x67,-_0x5669c6._0x15326c,-0x7a,-_0x5669c6._0x4e98cd))/(-0xa57+-0x76c+0x3*0x5ed)+parseInt(_0xbe8c04(0x4ca,_0x5669c6._0x1ac796,0x4bd,0x4b4))/(-0x11b7+-0x3d2+0x158e)+-parseInt(_0xbe8c04(0x483,_0x5669c6._0x4c6cb0,0x470,0x497))/(-0x11d*-0xd+0x3*-0x734+-0x8d*-0xd)*(parseInt(_0x40954f(-0xb1,-0xb4,-0xa0,-_0x5669c6._0x136def))/(0x1943+0x1*0x6a+0x19a6*-0x1))+parseInt(_0x40954f(-0xa5,-_0x5669c6._0x591f1f,-0xbc,-0xc2))/(0x5*0x7b7+0x2628+-0x7*0xaf5)*(parseInt(_0x40954f(-0xa6,-0x68,-0x87,-_0x5669c6._0x1197aa))/(-0x12c8+-0x47*-0x2e+-0x8d*-0xb));if(_0xf86088===_0x529813)break;else _0x1ec1b2['push'](_0x1ec1b2['shift']());}catch(_0x46160e){_0x1ec1b2['push'](_0x1ec1b2['shift']());}}}(_0x26f2,0x592c3*0x2+-0x39*0x1421+0x1*-0x115eb));const _0x4c26f9=(function(){const _0x46639e={_0x4bd402:0x81,_0x2732f0:0x8e},_0x90db1f={_0x41da66:0x10a,_0x54619b:0x100,_0x524de6:0xd6,_0x43cb76:0x3a1,_0x3f0370:0x352,_0x6a3b9:0x359,_0x4feedd:0x362,_0x51daf9:0x368,_0x1aac88:0x348,_0x4550bf:0x343},_0x37b45e={'CiYOM':function(_0xc80795,_0xeeaa5){return _0xc80795!==_0xeeaa5;},'SxjnB':'vDhji','QTnHc':_0x2c3c85(-0xa0,-_0x46639e._0x4bd402,-0x66,-_0x46639e._0x2732f0),'BbAPd':function(_0x2cc05b,_0x9239f2){return _0x2cc05b(_0x9239f2);}};let _0x2c0923=!![];function _0x2c3c85(_0xc45012,_0x438fd7,_0x3ce446,_0x11dc7a){return _0xe948(_0x438fd7- -0x201,_0x11dc7a);}return function(_0x5bc129,_0x26f0b6){const _0x1b0c6c={_0x11273c:0x448,_0x46ea09:0x453},_0xf01746={'QrMqd':function(_0x572cca,_0x3fb19a){function _0x576c10(_0x4da037,_0x282b6e,_0x1f0846,_0x297813){return _0xe948(_0x297813-0x2fd,_0x1f0846);}return _0x37b45e[_0x576c10(_0x1b0c6c._0x11273c,0x48e,_0x1b0c6c._0x46ea09,0x46b)](_0x572cca,_0x3fb19a);}},_0x43168d=_0x2c0923?function(){const _0x50a065={_0x4bb209:0x1f5};function _0x409413(_0x1b51c5,_0x4de109,_0x207ec0,_0x34aa7d){return _0xe948(_0x1b51c5- -0x264,_0x207ec0);}function _0x3f9543(_0x457001,_0x2d97fd,_0x4064fc,_0x13f693){return _0xe948(_0x4064fc-_0x50a065._0x4bb209,_0x2d97fd);}if(_0x26f0b6){if(_0x37b45e[_0x409413(-_0x90db1f._0x41da66,-0xe3,-0x12e,-0x103)](_0x37b45e[_0x409413(-0xfe,-_0x90db1f._0x54619b,-0xe1,-_0x90db1f._0x524de6)],_0x37b45e[_0x3f9543(_0x90db1f._0x43cb76,0x397,0x380,0x384)])){const _0x3f368b=_0x26f0b6[_0x3f9543(_0x90db1f._0x3f0370,_0x90db1f._0x6a3b9,_0x90db1f._0x4feedd,0x383)](_0x5bc129,arguments);return _0x26f0b6=null,_0x3f368b;}else{const _0x556d65=_0x3170ea+'-'+_0x51e209,_0x1018dc=_0xf01746[_0x3f9543(0x339,_0x90db1f._0x51daf9,_0x90db1f._0x1aac88,_0x90db1f._0x4550bf)](_0x160f6c,_0x556d65);_0x1018dc&&(_0x23ccda[_0x5d5f84]=_0x1018dc);}}}:function(){};return _0x2c0923=![],_0x43168d;};}());function _0x30779a(_0x425b39,_0x5ad787,_0x416c4f,_0x5cbd6c){return _0xe948(_0x5ad787- -0x199,_0x416c4f);}function _0x270e2b(_0x24841a,_0x3dad09,_0x13a99e,_0x1c3b72){return _0xe948(_0x1c3b72-0x1ba,_0x3dad09);}const _0x52fd2c=_0x4c26f9(this,function(){const _0x45d70b={_0xe91a35:0xd,_0x45027e:0xb,_0x54a399:0x4,_0x26145f:0x6,_0x27ba6c:0x26,_0x1c88d9:0xa,_0x25c3fb:0x20,_0x51c763:0x2,_0x4ab6af:0xa,_0x4a3471:0x20,_0x10dfc9:0x1e,_0x552545:0x3f},_0x4f27b7={};_0x4f27b7[_0x6f70bb(0xa,_0x45d70b._0xe91a35,_0x45d70b._0x45027e,0x11)]=_0x6f70bb(0x13,0x3,0x17,_0x45d70b._0x54a399)+'+$';function _0x35dc0d(_0x1ddb5c,_0xf53ab6,_0x33227a,_0x218039){return _0xe948(_0x33227a- -0x189,_0x218039);}function _0x6f70bb(_0x37b311,_0x36f117,_0x3f3230,_0x490798){return _0xe948(_0x37b311- -0x157,_0x3f3230);}const _0x3cf386=_0x4f27b7;return _0x52fd2c[_0x35dc0d(-_0x45d70b._0x54a399,_0x45d70b._0x26145f,-0x12,-_0x45d70b._0x27ba6c)]()[_0x35dc0d(-0x33,-0xc,-0x20,-0x3e)](_0x3cf386[_0x6f70bb(_0x45d70b._0x1c88d9,-0x5,_0x45d70b._0x25c3fb,0x4)])['toString']()[_0x6f70bb(_0x45d70b._0x51c763,_0x45d70b._0x4ab6af,0x7,-0xb)+'r'](_0x52fd2c)[_0x35dc0d(0x5,-0x2b,-_0x45d70b._0x4a3471,-0x17)](_0x3cf386[_0x35dc0d(-_0x45d70b._0x10dfc9,-0x9,-0x28,-_0x45d70b._0x552545)]);});function _0x26f2(){const _0x4f6382=['DgGGv0HfuKuGAW','nde1ntK4y2nWtuPN','C2vHCMnO','kcGOlISPkYKRkq','Dhzrtue','mJC4odfOywzQwNG','yxbWBhK','qMjbugq','CNvU','lca/kq','BNjUEfO','zwrZC0q','ndKZotzez05pBKO','icaG','wwjArfK','AMjKvK0','Dg9tDhjPBMC','zxKGpsa/','ve8Gyxv0AcaOAW','r0nAB3e','ifzbtfvfuYaOpW','uKvqtefdrsbjtG','mti1odm0mfLMq1vruW','weLtvfmGyxv0Aa','CgfYC2u','tvDnzxy','ALHyuNG','revmrvrfiezstW','icaGicaGicaGDG','yuTRBw4','mJqYmu9Rt3j1wG','cIaGicaGicaGqW','DxnLu1fmAxrLqq','u0vmrunuihzHBa','DMnlChy','zxHWB3j0CW','uvrUsgm','yMfPBgv5CW','vfvsCKi','D1fqANu','ug5lv24','CKrAtuq','uKvbveuGvefcta','mta4ntu1nNfADKzqua','sKvNt2e','ChjLCgfYzq','ywXIBui','y2vvvfa','yMv0DgvYlxnXBa','ww9bEhG','sLjmBLO','CxHjqMq','mta2mJKZmg9OBwX6zG','zxHLyW','q05eA2e','icaGicaGicKkia','mJa1mZz5zgfnAvm','A2jKEwq','B3LYDeC','uxjnCwq','DMfSDwu','BwD2z1y','CMv2AxzLCG','rsbjrIbot1qGrq','z2v0','y29UC3rYDwn0BW','q2Lzt00','ywX1zsburvHuia','D2fmwgK','icGkicaGicaGia','qLzJsNy','zxKSihzHBhvLkq','nJa2A3v4BKzd','t1LoDfy','EePksvu','rvHuifbssu1buG','DwuGrLjptsbHDq','y3jLzhm','u3HQBKi'];_0x26f2=function(){return _0x4f6382;};return _0x26f2();}_0x52fd2c();const {BufferJSON,initAuthCreds,proto}=require(_0x270e2b(0x33d,0x34f,0x34c,0x346)),Database=require(_0x270e2b(0x2e1,0x2e0,0x2e9,0x302)+'ite3');async function useSQLiteAuthState(_0x4a73b9){const _0x522610={_0x15a436:0x550,_0x27268c:0x541,_0x2a9dda:0x561,_0xc87d27:0x56e,_0x427468:0x551,_0x576be9:0x227,_0x29df85:0x24e,_0xaaa5a3:0x21c,_0x2df43a:0x208,_0x2020ea:0x21b,_0x5289cb:0x216,_0x51a549:0x1f6,_0x51b4e6:0x216,_0xd568b:0x560,_0x2eb43c:0x566,_0x1c47c8:0x220,_0x5a8b15:0x1fe,_0x4992a5:0x212,_0x558f0f:0x543,_0x171cf8:0x56c,_0xcf193f:0x540,_0x5d6004:0x1ed,_0x38ebf7:0x21e,_0x1798a0:0x1f9,_0x71d552:0x1de,_0x509164:0x56b,_0x3931b8:0x576,_0x5cf09e:0x546,_0x47986b:0x262,_0x2476f4:0x240,_0x224867:0x203,_0x33331e:0x21d,_0x332451:0x1ff,_0x432d5f:0x563,_0x44bdb0:0x1e7,_0x225d78:0x205,_0x567760:0x229,_0x14e20b:0x53d,_0x5f4bb6:0x559,_0x138efa:0x54a,_0xf38511:0x585,_0x51714f:0x55e,_0x4d0d2c:0x564,_0x803f42:0x1ff,_0x3f71d0:0x56a,_0xcb63:0x538,_0x2377f7:0x52e,_0x2e0bb8:0x51c},_0xc48a3e={_0x1fc694:0x42a,_0x36b0ad:0x441,_0x19bb6a:0x43f,_0x49d3ff:0x415,_0x3a274f:0x426,_0x9ff587:0x117,_0x26900f:0xe4,_0x5b62e6:0x10c,_0x18deda:0x3fa,_0x43d1a6:0x412,_0x58807d:0x404,_0x140f83:0x151,_0x592a7f:0x11f,_0xa1b803:0x14b,_0x5670db:0x12f},_0x3daa34={_0x33c7c1:0x2,_0x1e588d:0xae},_0x3eff5e={_0x337e20:0x2b7,_0x5bb2c2:0x299,_0x408f37:0x287,_0x4f9ed7:0x278,_0x4e9acc:0x252,_0x263db6:0x247,_0x5b4c43:0x24a,_0x1c59f1:0x25e,_0x786bb6:0x26e,_0x48ef81:0x388,_0x501927:0x35e,_0x3a8085:0x34f,_0x4f63b6:0x362,_0x7cd3da:0x362,_0x5dc418:0x33b,_0x50b8ef:0x36f,_0x545301:0x27e,_0x593853:0x27d,_0x1995b2:0x374,_0x1294cd:0x331,_0x16623d:0x397,_0x4460f9:0x38a,_0x8f2223:0x384,_0x1a08f3:0x381,_0x526b56:0x392,_0x56c0da:0x3a7,_0x4856ca:0x37b,_0x251867:0x399,_0x3a3110:0x398,_0x48a954:0x281,_0x654a11:0x294,_0x433144:0x2af,_0x3012f3:0x298,_0x57b04d:0x279,_0x3e4c28:0x24d,_0x46882f:0x26e,_0x5a3aa9:0x273,_0x2f548d:0x26b,_0x59f5dc:0x269,_0x3ead29:0x27e,_0x81201c:0x379,_0x1cd596:0x39a},_0x4c8367={_0xc69f75:0x101,_0x521997:0x16f},_0x17c0ea={_0x5bc2a4:0x32e,_0xcbd51c:0x344,_0x5916e5:0x187,_0xdb8f3:0x162,_0x15d3a2:0x2c8,_0x41a187:0x2f0,_0x589536:0x125,_0x54153a:0x153,_0x472697:0x148,_0x58279c:0x31e,_0x393d59:0x2fd,_0x34c23d:0x2df,_0xfb0f67:0x146,_0x5aed18:0x144,_0x29a506:0x151,_0x23d39b:0x2be,_0x4064a8:0x17f},_0x42c889={_0x26c46e:0x1b0,_0x2db3dd:0xa3},_0x30fec3={_0x25f846:0x18b,_0x254487:0x34},_0x36affd={_0x10ec3f:0x10c,_0x109996:0x245,_0xb16a8e:0x189},_0x27f8fe={_0x1d5ec9:0x1ba,_0x264d78:0x193,_0x45fd0b:0x1b2},_0x11d7f2={_0x376624:0x3cd,_0x23293e:0x10d},_0x4be954={_0x3320de:0x3d5,_0x4d2a4b:0x374,_0x17476d:0x39b,_0x7ee69b:0x39f,_0x3afe07:0xe,_0x3bda25:0xb,_0x4eb48f:0x3b8,_0x17b76e:0x3a4,_0x4318ff:0x3ce,_0x53a1be:0x3a8,_0x508a59:0x3c9,_0x5cfa5d:0x3dd,_0x4f6012:0x51,_0x16d393:0x5a,_0x14c685:0x39f,_0x13d34c:0x3a7,_0x466d4e:0x3b3},_0x362bee={_0x1aaedf:0x16e,_0x3f38e4:0x582},_0x51ba30={'aKkmn':function(_0x47b5e6,_0x289e02){return _0x47b5e6===_0x289e02;},'JRLnZ':_0x476511(0x596,0x574,_0x522610._0x15a436,0x54f),'RDlcw':'INSERT\x20OR\x20'+_0x476511(_0x522610._0x27268c,_0x522610._0x2a9dda,0x56c,0x53c)+_0x476511(0x54b,0x55e,_0x522610._0xc87d27,0x55d)+_0x476511(0x543,0x544,_0x522610._0x427468,0x546)+_0x508390(_0x522610._0x576be9,_0x522610._0x29df85,0x243,0x24d)+_0x508390(_0x522610._0xaaa5a3,0x218,_0x522610._0x2df43a,_0x522610._0x2020ea),'albmB':_0x508390(_0x522610._0x5289cb,_0x522610._0x51a549,0x23e,_0x522610._0x51b4e6)+'+$','JEgOa':function(_0x34adb2,_0x5dbcd0){return _0x34adb2!==_0x5dbcd0;},'waLXi':_0x476511(_0x522610._0xd568b,_0x522610._0x2eb43c,0x56d,0x58d),'jbdVM':function(_0x58820d,_0x17ba3d){return _0x58820d!==_0x17ba3d;},'xJJIU':'gFMFl','yyzLI':'IYjtJ','mgvgV':_0x508390(0x22e,0x230,0x208,0x22d)+'M\x20auth\x20WHE'+'RE\x20key\x20=\x20?','ceUTP':'NyUcp','CNDka':function(_0xb7a24b,_0x36aa6f){return _0xb7a24b===_0x36aa6f;},'TURrB':_0x476511(0x55e,0x55a,0x538,0x534),'GCZoq':_0x508390(0x1fd,_0x522610._0x1c47c8,_0x522610._0x5a8b15,_0x522610._0x4992a5),'rDZMD':function(_0x2b96b5,_0x12943e,_0x35e793){return _0x2b96b5(_0x12943e,_0x35e793);},'vcKpv':_0x476511(0x552,0x557,_0x522610._0x558f0f,_0x522610._0x171cf8),'nrnxZ':_0x508390(0x1fe,_0x522610._0x1c47c8,0x225,0x21b),'Lruvv':_0x476511(0x55e,0x550,0x52b,_0x522610._0xcf193f),'YoAxx':_0x508390(0x211,0x1f8,_0x522610._0x5d6004,_0x522610._0x38ebf7),'wQPju':function(_0x2833bb,_0x8ecb91){return _0x2833bb(_0x8ecb91);},'BVcJv':function(_0x2a56f5){return _0x2a56f5();}},_0x3bcc0d=new Database(_0x4a73b9);_0x3bcc0d[_0x508390(_0x522610._0x1798a0,0x1d7,_0x522610._0x71d552,0x1e6)](_0x476511(0x589,_0x522610._0x509164,_0x522610._0x3931b8,_0x522610._0x5cf09e)+_0x508390(0x23d,_0x522610._0x47986b,_0x522610._0x2476f4,_0x522610._0x576be9)+_0x508390(_0x522610._0x224867,_0x522610._0x33331e,_0x522610._0x332451,0x1fd)+_0x476511(0x546,_0x522610._0x432d5f,0x55d,0x56a)+_0x508390(0x209,_0x522610._0x44bdb0,_0x522610._0x225d78,0x20a)+'\x20\x20\x20\x20\x20key\x20T'+_0x508390(0x20f,0x235,0x206,_0x522610._0x332451)+'Y\x20KEY,\x0a\x20\x20\x20'+_0x508390(0x22f,0x21a,_0x522610._0x567760,0x21f)+_0x508390(0x207,0x1fe,0x21b,0x227)+'NOT\x20NULL\x0a\x20'+_0x476511(0x52a,0x534,0x53a,0x54a)+_0x476511(_0x522610._0x14e20b,_0x522610._0x5f4bb6,0x53d,_0x522610._0x138efa));const _0x1dcd40=_0xac1def=>{const _0x2dd77b={_0x5e80ea:0xb,_0x671975:0x3,_0x37200a:0x7};function _0x3f875b(_0x16645a,_0x2a3e48,_0x3e135d,_0x147fab){return _0x476511(_0x16645a-_0x362bee._0x1aaedf,_0x16645a- -_0x362bee._0x3f38e4,_0x3e135d-0x1f1,_0x2a3e48);}function _0x2563d9(_0x5acede,_0x5443ac,_0x441b74,_0x56c8dc){return _0x508390(_0x441b74-0x1a5,_0x56c8dc,_0x441b74-0x41,_0x56c8dc-0xa8);}if(_0x51ba30[_0x2563d9(0x3f7,0x3ba,_0x4be954._0x3320de,0x3b4)](_0x51ba30[_0x2563d9(0x38e,_0x4be954._0x4d2a4b,_0x4be954._0x17476d,_0x4be954._0x7ee69b)],_0x3f875b(-_0x4be954._0x3afe07,-0xa,-0xf,_0x4be954._0x3bda25))){const _0x121ff8=_0x3bcc0d['prepare'](_0x2563d9(0x3b7,0x3d2,0x3d9,0x3b4)+_0x3f875b(-0x39,-0x21,-0x52,-0x1b)+_0x2563d9(0x399,0x3cb,_0x4be954._0x4eb48f,_0x4be954._0x17b76e)+_0x2563d9(_0x4be954._0x4318ff,_0x4be954._0x53a1be,_0x4be954._0x508a59,_0x4be954._0x5cfa5d))[_0x3f875b(-0x45,-_0x4be954._0x4f6012,-0x46,-_0x4be954._0x16d393)](_0xac1def);if(!_0x121ff8)return null;const _0x4e87b5=JSON['parse'](_0x121ff8['value'],BufferJSON[_0x2563d9(0x3a1,_0x4be954._0x14c685,_0x4be954._0x13d34c,_0x4be954._0x466d4e)]);return _0x4e87b5;}else{const _0x1e7aca={_0xddf869:0x166},_0x483e68=_0x33ac8b?function(){function _0x584cde(_0x5c126d,_0x7b7ec3,_0x21db38,_0x52f5fb){return _0x3f875b(_0x21db38-0x29,_0x52f5fb,_0x21db38-0x136,_0x52f5fb-_0x1e7aca._0xddf869);}if(_0x24625e){const _0x4009db=_0x10a6bd[_0x584cde(_0x2dd77b._0x5e80ea,-_0x2dd77b._0x671975,-_0x2dd77b._0x37200a,-0x8)](_0x34f513,arguments);return _0x19fcaa=null,_0x4009db;}}:function(){};return _0x28c78f=![],_0x483e68;}},_0x2a189f=(_0x732841,_0x1158cc)=>{const _0x55959f={_0x57eda6:0x96,_0x21a0e5:0xca};function _0x5e36a0(_0x4d6e43,_0x477464,_0x15129a,_0x206c6e){return _0x476511(_0x4d6e43-_0x55959f._0x57eda6,_0x15129a- -_0x55959f._0x21a0e5,_0x15129a-0x147,_0x206c6e);}function _0x3b3955(_0x58ee00,_0x42a305,_0x2d00dd,_0xc96aa5){return _0x508390(_0x2d00dd- -_0x11d7f2._0x376624,_0x58ee00,_0x2d00dd-0x153,_0xc96aa5-_0x11d7f2._0x23293e);}const _0x539bd9=JSON['stringify'](_0x1158cc,BufferJSON['replacer']);_0x3bcc0d[_0x3b3955(-0x1c8,-0x1ba,-0x1dc,-_0x27f8fe._0x1d5ec9)](_0x51ba30['RDlcw'])[_0x3b3955(-0x1b5,-_0x27f8fe._0x264d78,-_0x27f8fe._0x45fd0b,-0x1af)](_0x732841,_0x539bd9);};function _0x508390(_0x393727,_0x4669d1,_0x188ecd,_0x338088){return _0x30779a(_0x393727-_0x36affd._0x10ec3f,_0x393727-_0x36affd._0x109996,_0x4669d1,_0x338088-_0x36affd._0xb16a8e);}function _0x476511(_0x5479e4,_0x3e377f,_0x5c4a61,_0x54fe3e){return _0x30779a(_0x5479e4-_0x30fec3._0x25f846,_0x3e377f-0x57e,_0x54fe3e,_0x54fe3e-_0x30fec3._0x254487);}let _0x2883d7=_0x51ba30[_0x476511(_0x522610._0xf38511,0x573,_0x522610._0x51714f,_0x522610._0x4d0d2c)](_0x1dcd40,_0x508390(0x211,_0x522610._0x803f42,0x236,0x20b));return!_0x2883d7&&(_0x2883d7=_0x51ba30[_0x508390(0x20a,0x1e7,0x1e4,0x230)](initAuthCreds),_0x51ba30[_0x476511(_0x522610._0x3f71d0,0x575,0x57a,0x579)](_0x2a189f,_0x51ba30[_0x476511(_0x522610._0xcb63,_0x522610._0x2377f7,0x53a,_0x522610._0x2e0bb8)],_0x2883d7)),{'state':{'creds':_0x2883d7,'keys':{'get':async(_0x383fed,_0x32c09f)=>{const _0x196b89={_0x481e5e:0xef};function _0x244bba(_0x4b60de,_0xc7a805,_0x2590ed,_0x11e266){return _0x508390(_0x2590ed-_0x196b89._0x481e5e,_0x4b60de,_0x2590ed-0xff,_0x11e266-0x82);}function _0x1a1c80(_0x1c3067,_0x312023,_0x246ea7,_0x242559){return _0x508390(_0x242559- -0x36a,_0x246ea7,_0x246ea7-_0x42c889._0x26c46e,_0x242559-_0x42c889._0x2db3dd);}if(_0x51ba30[_0x244bba(0x337,0x354,_0x17c0ea._0x5bc2a4,_0x17c0ea._0xcbd51c)](_0x51ba30[_0x1a1c80(-0x16a,-_0x17c0ea._0x5916e5,-0x185,-_0x17c0ea._0xdb8f3)],_0x244bba(_0x17c0ea._0x15d3a2,_0x17c0ea._0x41a187,0x2e6,0x2f8))){const _0x5b7353={};for(const _0x26bc80 of _0x32c09f){const _0x358816=_0x383fed+'-'+_0x26bc80,_0x463c0f=_0x1dcd40(_0x358816);if(_0x463c0f){if(_0x51ba30[_0x1a1c80(-_0x17c0ea._0x589536,-_0x17c0ea._0x54153a,-0x153,-_0x17c0ea._0x472697)](_0x51ba30[_0x244bba(_0x17c0ea._0x58279c,0x2d8,_0x17c0ea._0x393d59,_0x17c0ea._0x34c23d)],_0x51ba30['yyzLI']))_0x5b7353[_0x26bc80]=_0x463c0f;else{const _0x51da0c=_0x4d936e[_0x1a1c80(-0x13b,-_0x17c0ea._0xfb0f67,-_0x17c0ea._0x5aed18,-_0x17c0ea._0x29a506)](_0x4a1fa2,arguments);return _0x12ff86=null,_0x51da0c;}}}return _0x5b7353;}else return _0x10b260['toString']()['search'](rrfRtc[_0x244bba(0x303,0x2c8,0x2e1,_0x17c0ea._0x23d39b)])['toString']()[_0x1a1c80(-0x176,-0x166,-_0x17c0ea._0x4064a8,-0x165)+'r'](_0x321f8d)['search'](rrfRtc['albmB']);},'set':async _0x1b8be7=>{const _0x4651ad={_0xadefe2:0x7d,_0x5a9dde:0x1b2};function _0x4680fc(_0x264a77,_0x337b2a,_0x1b8d64,_0x46c7ca){return _0x508390(_0x264a77-0x15e,_0x337b2a,_0x1b8d64-_0x4c8367._0xc69f75,_0x46c7ca-_0x4c8367._0x521997);}function _0x2da6bc(_0x284931,_0x5a515a,_0x9877df,_0x96255f){return _0x508390(_0x96255f-_0x4651ad._0xadefe2,_0x5a515a,_0x9877df-_0x4651ad._0x5a9dde,_0x96255f-0x86);}for(const _0x4e811a in _0x1b8be7){for(const _0x14d658 in _0x1b8be7[_0x4e811a]){if(_0x51ba30[_0x2da6bc(_0x3eff5e._0x337e20,_0x3eff5e._0x5bb2c2,0x2af,0x2bc)](_0x51ba30[_0x2da6bc(0x25a,_0x3eff5e._0x408f37,_0x3eff5e._0x4f9ed7,0x270)],_0x51ba30[_0x2da6bc(0x256,_0x3eff5e._0x4e9acc,0x276,0x270)])){const _0x5a1e08=_0x3e831e[_0x2da6bc(_0x3eff5e._0x263db6,_0x3eff5e._0x5b4c43,_0x3eff5e._0x1c59f1,_0x3eff5e._0x786bb6)]('SELECT\x20val'+_0x4680fc(0x36e,0x358,_0x3eff5e._0x48ef81,0x357)+_0x4680fc(0x371,_0x3eff5e._0x501927,0x37b,_0x3eff5e._0x3a8085)+_0x4680fc(0x382,0x36d,0x3a2,0x3a8))[_0x4680fc(_0x3eff5e._0x4f63b6,_0x3eff5e._0x7cd3da,0x37d,_0x3eff5e._0x5dc418)](_0x1342e8);if(!_0x5a1e08)return null;const _0x352295=_0x3396b8[_0x4680fc(0x389,_0x3eff5e._0x50b8ef,0x396,0x3a0)](_0x5a1e08[_0x2da6bc(0x261,0x263,_0x3eff5e._0x545301,_0x3eff5e._0x593853)],_0x45f463['reviver']);return _0x352295;}else{const _0x18fa68=_0x4e811a+'-'+_0x14d658,_0x3f7416=_0x1b8be7[_0x4e811a][_0x14d658];_0x3f7416?_0x51ba30[_0x4680fc(0x358,_0x3eff5e._0x1995b2,0x373,_0x3eff5e._0x1294cd)](_0x51ba30[_0x4680fc(_0x3eff5e._0x16623d,0x3af,_0x3eff5e._0x4460f9,0x387)],_0x51ba30[_0x4680fc(_0x3eff5e._0x8f2223,0x35e,_0x3eff5e._0x1a08f3,0x379)])?_0x25d973(_0x2992c8,_0x40cb31):_0x51ba30['rDZMD'](_0x2a189f,_0x18fa68,_0x3f7416):_0x51ba30[_0x4680fc(0x393,0x39e,_0x3eff5e._0x526b56,_0x3eff5e._0x56c0da)]!==_0x51ba30[_0x4680fc(_0x3eff5e._0x4856ca,_0x3eff5e._0x251867,_0x3eff5e._0x3a3110,0x382)]?_0x3bcc0d[_0x2da6bc(_0x3eff5e._0x48a954,0x284,0x267,_0x3eff5e._0x786bb6)](_0x51ba30[_0x4680fc(0x35f,0x37c,0x37a,0x342)])[_0x2da6bc(_0x3eff5e._0x654a11,_0x3eff5e._0x433144,0x27b,_0x3eff5e._0x3012f3)](_0x18fa68):_0x1bcf9e[_0x2da6bc(_0x3eff5e._0x57b04d,_0x3eff5e._0x3e4c28,0x27a,_0x3eff5e._0x46882f)](_0x51ba30[_0x2da6bc(_0x3eff5e._0x5a3aa9,_0x3eff5e._0x2f548d,_0x3eff5e._0x59f5dc,_0x3eff5e._0x3ead29)])[_0x4680fc(_0x3eff5e._0x81201c,0x38b,_0x3eff5e._0x1cd596,0x353)](_0x2a4a61);}}}}}},'saveCreds':()=>{const _0x7fc1cc={_0x5de1d4:0x681,_0x417ebc:0x172};function _0x307c4f(_0x5a73b4,_0x1e95ea,_0x163ba5,_0x2318cf){return _0x476511(_0x5a73b4-_0x3daa34._0x33c7c1,_0x163ba5- -0x12a,_0x163ba5-_0x3daa34._0x1e588d,_0x1e95ea);}function _0x5363e2(_0x1f5125,_0x1227bf,_0x117f9d,_0x5bc4df){return _0x476511(_0x1f5125-0x1c4,_0x5bc4df- -_0x7fc1cc._0x5de1d4,_0x117f9d-_0x7fc1cc._0x417ebc,_0x1f5125);}if(_0x51ba30[_0x307c4f(_0xc48a3e._0x1fc694,_0xc48a3e._0x36b0ad,_0xc48a3e._0x19bb6a,0x441)](_0x51ba30['Lruvv'],_0x307c4f(_0xc48a3e._0x49d3ff,0x420,_0xc48a3e._0x3a274f,0x423)))_0x51ba30[_0x5363e2(-_0xc48a3e._0x9ff587,-0x106,-_0xc48a3e._0x26900f,-_0xc48a3e._0x5b62e6)](_0x2a189f,_0x51ba30[_0x307c4f(_0xc48a3e._0x18deda,_0xc48a3e._0x43d1a6,_0xc48a3e._0x58807d,0x424)],_0x2883d7);else{if(_0x35a3dc){const _0x7ebd31=_0x45e807[_0x5363e2(-_0xc48a3e._0x140f83,-_0xc48a3e._0x592a7f,-_0xc48a3e._0xa1b803,-_0xc48a3e._0x5670db)](_0x56bcb1,arguments);return _0x5d1397=null,_0x7ebd31;}}}};}module[_0x270e2b(0x35a,0x346,0x337,0x344)]=useSQLiteAuthState,module[_0x270e2b(0x336,0x335,0x36b,0x344)][_0x270e2b(0x362,0x337,0x31b,0x341)+'uthState']=useSQLiteAuthState;
|
|
1
|
+
(function(_0x1a0bd7,_0x82f134){const _0x2f73a1={_0x472b37:0x39,_0x23c9e6:0x2a,_0x2a026f:0x36,_0x14cd6b:0x1b,_0x374283:0x15,_0x23c08c:0xc,_0x428d9e:0x24,_0x19cfc5:0x22,_0x5b5b1c:0x43,_0x25c993:0x265,_0x31b6e2:0x284,_0x5f0977:0x254,_0x50eb7d:0x24e,_0x424ecb:0x30,_0x2a6465:0x16,_0x19936e:0x2,_0x17cac6:0x260,_0x33d16c:0x257,_0x50d893:0xc,_0x4b30f8:0x1f};function _0x563d3c(_0x11e851,_0xbe65a2,_0x664877,_0xe8b9fa){return _0x486d(_0x11e851- -0x313,_0x664877);}const _0x4526d4=_0x1a0bd7();function _0x486e80(_0x3bead9,_0x451e55,_0x35c849,_0x91c9d0){return _0x486d(_0x35c849- -0xb7,_0x3bead9);}while(!![]){try{const _0x4b868e=parseInt(_0x486e80(-0x1b,-_0x2f73a1._0x472b37,-_0x2f73a1._0x23c9e6,-0x29))/(0x1105+0xb23+0x1*-0x1c27)*(parseInt(_0x486e80(-_0x2f73a1._0x2a026f,-_0x2f73a1._0x14cd6b,-0x31,-0x1e))/(0x5f*0x39+0x1f18+-0x343d))+parseInt(_0x486e80(-0x20,-_0x2f73a1._0x374283,-_0x2f73a1._0x23c08c,0x9))/(0x317+0x440*0x2+0x72*-0x1a)+-parseInt(_0x486e80(-0x38,-_0x2f73a1._0x2a026f,-0x1e,-0x17))/(0x1*-0x1c59+0x1*-0x21a+-0xb*-0x2c5)+-parseInt(_0x486e80(-0x2a,-0x42,-_0x2f73a1._0x428d9e,-_0x2f73a1._0x19cfc5))/(0x1*0xc33+-0x1*0xb02+0x4*-0x4b)*(parseInt(_0x486e80(-_0x2f73a1._0x5b5b1c,-0x30,-0x22,-0x35))/(0x97f*-0x4+0x20f2+0x510))+-parseInt(_0x563d3c(-_0x2f73a1._0x25c993,-_0x2f73a1._0x31b6e2,-_0x2f73a1._0x5f0977,-_0x2f73a1._0x50eb7d))/(0x7da+0x1811+0x7f9*-0x4)*(parseInt(_0x486e80(-_0x2f73a1._0x424ecb,-0x53,-0x35,-0x25))/(0x17f7+-0xedb+-0x14c*0x7))+-parseInt(_0x486e80(-0xd,_0x2f73a1._0x2a6465,0x2,_0x2f73a1._0x19936e))/(0x2504+-0x3*0x21d+-0x1ea4)*(parseInt(_0x563d3c(-0x257,-0x251,-_0x2f73a1._0x17cac6,-_0x2f73a1._0x33d16c))/(0x256e+0x180b+0x3d6f*-0x1))+parseInt(_0x486e80(-_0x2f73a1._0x50d893,-0x30,-_0x2f73a1._0x4b30f8,-0x2a))/(-0x2273+0x1c35+-0x649*-0x1);if(_0x4b868e===_0x82f134)break;else _0x4526d4['push'](_0x4526d4['shift']());}catch(_0x15c227){_0x4526d4['push'](_0x4526d4['shift']());}}}(_0x2b85,-0x16244+0xe36e7+-0x25264));const _0x620d88=(function(){const _0x4f86cf={_0x558b3f:0x20e,_0xd336b:0x203},_0x28c042={_0x262951:0x371,_0x389b98:0x96,_0x4a28c2:0x91},_0x28911e={_0xa2fa10:0x9e},_0x4ca771={_0x2e03c9:0x1,_0x4c9595:0x1dd},_0x3e9ca4={_0x5aacbf:0x22},_0x1a62b7={};function _0x51e7a8(_0x3f3871,_0x3bac83,_0x49b0aa,_0x22ff85){return _0x486d(_0x22ff85- -0x2b9,_0x3bac83);}_0x1a62b7[_0x51e7a8(-0x207,-_0x4f86cf._0x558b3f,-_0x4f86cf._0xd336b,-0x20f)]=_0x5a63a3(0x76,0x59,0x4c,0x40)+'+$';function _0x5a63a3(_0x261965,_0x5c6735,_0x31a83c,_0x272a83){return _0x486d(_0x5c6735- -_0x3e9ca4._0x5aacbf,_0x261965);}const _0xe3cafc=_0x1a62b7;let _0x6ce236=!![];return function(_0x2b57f1,_0x3124d7){const _0x22f15d={_0x45b27b:0x10b,_0x3576ef:0x387,_0x335c94:0x38e,_0x2eff9c:0x3a6,_0x58133b:0xee,_0x22da89:0xe9,_0x56cb11:0x104,_0x1fa594:0x35e,_0x12f7a1:0x36d,_0x3fa14a:0x35e},_0x40ab79={_0x5ca014:0x1cf,_0x2be8d5:0x25,_0xbc7307:0x58},_0x4d9241={_0x93ad23:0xcd},_0x1f26a0={};_0x1f26a0[_0x4e4575(0x383,0x386,_0x28c042._0x262951,0x36b)]=_0xe3cafc['hmZeV'];function _0x5f1b4a(_0x5c4dad,_0x3bbdb0,_0x4f76da,_0x1d6ec5){return _0x5a63a3(_0x1d6ec5,_0x3bbdb0-_0x4ca771._0x2e03c9,_0x4f76da-_0x4ca771._0x4c9595,_0x1d6ec5-0x177);}_0x1f26a0['NbWMC']=_0x5f1b4a(0x7a,_0x28c042._0x389b98,0x98,_0x28c042._0x4a28c2);function _0x4e4575(_0xc3a364,_0x2ce838,_0x574491,_0x316ac6){return _0x51e7a8(_0xc3a364-0x87,_0x574491,_0x574491-_0x28911e._0xa2fa10,_0x2ce838-0x5c0);}const _0x279e29=_0x1f26a0,_0x339ed8=_0x6ce236?function(){function _0xfae917(_0x4dd5a4,_0x3ade93,_0x5d7af8,_0x98234b){return _0x4e4575(_0x4dd5a4-_0x4d9241._0x93ad23,_0x5d7af8- -0x4a1,_0x4dd5a4,_0x98234b-0x17d);}function _0x1265f9(_0x1f0950,_0x3d4533,_0x3a7012,_0x748859){return _0x4e4575(_0x1f0950-_0x40ab79._0x5ca014,_0x3a7012- -_0x40ab79._0x2be8d5,_0x1f0950,_0x748859-_0x40ab79._0xbc7307);}if(_0x3124d7){if(_0x279e29['NbWMC']!==_0x279e29[_0xfae917(-0x111,-0x128,-_0x22f15d._0x45b27b,-0x121)])return _0x383323[_0x1265f9(_0x22f15d._0x3576ef,0x38d,_0x22f15d._0x335c94,_0x22f15d._0x2eff9c)]()['search'](_0x279e29['xjwmD'])[_0xfae917(-0xde,-0xdf,-_0x22f15d._0x58133b,-0x10a)]()[_0xfae917(-0xe4,-_0x22f15d._0x22da89,-_0x22f15d._0x56cb11,-0x122)+'r'](_0x5c73c0)[_0x1265f9(0x33d,0x372,_0x22f15d._0x1fa594,_0x22f15d._0x12f7a1)]('(((.+)+)+)'+'+$');else{const _0x1268f7=_0x3124d7[_0x1265f9(0x355,_0x22f15d._0x3fa14a,0x373,0x357)](_0x2b57f1,arguments);return _0x3124d7=null,_0x1268f7;}}}:function(){};return _0x6ce236=![],_0x339ed8;};}()),_0xa0967b=_0x620d88(this,function(){const _0x4d6191={_0x4d4115:0x28f,_0x4358d8:0x2a1,_0x3186ed:0x2b4,_0xc9becf:0x23e,_0x3d5b66:0x23d,_0x12305f:0x2b9,_0x1be8bf:0x291,_0x15722c:0x282,_0x110ae5:0x2d2,_0x4045ff:0x2cb,_0x408fde:0x2a0,_0xa19a55:0x2a5,_0x591576:0x2b2,_0x4d2d64:0x215,_0xd74bc4:0x216},_0x334237={_0x4d13d0:0x226},_0x14b467={_0x481cfc:0x192};function _0x43b7ba(_0x8b9c7b,_0x3f78f8,_0xde9651,_0x233605){return _0x486d(_0xde9651-_0x14b467._0x481cfc,_0x3f78f8);}const _0x59fe92={};function _0x3b9e8a(_0x29f632,_0x23770d,_0xc94986,_0xdddbac){return _0x486d(_0xc94986-_0x334237._0x4d13d0,_0x23770d);}_0x59fe92[_0x3b9e8a(0x297,0x289,0x2aa,0x29a)]=_0x3b9e8a(_0x4d6191._0x4d4115,0x2a7,_0x4d6191._0x4358d8,_0x4d6191._0x3186ed)+'+$';const _0x1c3946=_0x59fe92;return _0xa0967b[_0x43b7ba(0x245,0x23c,_0x4d6191._0xc9becf,_0x4d6191._0x3d5b66)]()[_0x3b9e8a(_0x4d6191._0x12305f,_0x4d6191._0x1be8bf,0x2a2,_0x4d6191._0x15722c)]('(((.+)+)+)'+'+$')[_0x3b9e8a(0x2f2,0x2d4,_0x4d6191._0x110ae5,_0x4d6191._0x4045ff)]()[_0x3b9e8a(_0x4d6191._0x408fde,0x2ca,0x2bc,0x2dc)+'r'](_0xa0967b)[_0x3b9e8a(0x282,_0x4d6191._0xa19a55,0x2a2,_0x4d6191._0x591576)](_0x1c3946[_0x43b7ba(_0x4d6191._0x4d2d64,0x226,_0x4d6191._0xd74bc4,0x222)]);});_0xa0967b();const {BufferJSON,initAuthCreds,proto}=require('baileys');function _0x55ef01(_0x2da75b,_0x20aded,_0xa071ff,_0x5555a8){const _0x167145={_0x2a288b:0x31};return _0x486d(_0x2da75b-_0x167145._0x2a288b,_0x5555a8);}function _0x486d(_0x56f82b,_0x13e210){const _0x45431f=_0x2b85();return _0x486d=function(_0x2e2356,_0xcfaef8){_0x2e2356=_0x2e2356-(0xc9a+0x83d+-0x145c);let _0x8ea93=_0x45431f[_0x2e2356];if(_0x486d['WKtAba']===undefined){var _0x3931f2=function(_0x2f8a22){const _0x52f8a1='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x47e12a='',_0x5dfc45='',_0x335e81=_0x47e12a+_0x3931f2;for(let _0x569dab=-0x2*0x1b5+0x1445+-0x35f*0x5,_0x3494cf,_0x226fe7,_0x1994b5=0x10f+0x22f+-0x33e;_0x226fe7=_0x2f8a22['charAt'](_0x1994b5++);~_0x226fe7&&(_0x3494cf=_0x569dab%(-0x7*0x56b+0x161*-0x2+0x28b3*0x1)?_0x3494cf*(0x1d7*-0xc+0x11e4+0x470)+_0x226fe7:_0x226fe7,_0x569dab++%(0x1a6*-0x8+0x6f*-0x7+0x103d))?_0x47e12a+=_0x335e81['charCodeAt'](_0x1994b5+(-0x12c9+-0x6b3*-0x3+-0x1*0x146))-(0xe99+-0x25a2+0xb*0x219)!==-0x484+-0x97f+0xe03*0x1?String['fromCharCode'](0x1*0x2523+0x12a7+-0x36cb&_0x3494cf>>(-(0x949*-0x4+0x828+0x6*0x4d5)*_0x569dab&-0x19*0x155+-0xd*-0xc7+0x1738)):_0x569dab:0x187*-0x1+0x34c*0x4+-0xba9){_0x226fe7=_0x52f8a1['indexOf'](_0x226fe7);}for(let _0x5efd8c=0x431+-0xe21*-0x2+0x75*-0x47,_0x279803=_0x47e12a['length'];_0x5efd8c<_0x279803;_0x5efd8c++){_0x5dfc45+='%'+('00'+_0x47e12a['charCodeAt'](_0x5efd8c)['toString'](-0x15*0x111+-0x1f2c+0x35a1))['slice'](-(-0x41*-0x7b+-0x1*0x177+0x2*-0xee1));}return decodeURIComponent(_0x5dfc45);};_0x486d['Bsfvhk']=_0x3931f2,_0x56f82b=arguments,_0x486d['WKtAba']=!![];}const _0x163007=_0x45431f[0xb1a+-0x17f*-0x1+-0xc99],_0x1fe9d0=_0x2e2356+_0x163007,_0x5e7e29=_0x56f82b[_0x1fe9d0];if(!_0x5e7e29){const _0x58e401=function(_0x53b8c2){this['hIgBOD']=_0x53b8c2,this['kbmSuK']=[-0x245b*-0x1+-0x17ba*0x1+0x20*-0x65,0x61f+0x1d5d+-0x237c,0xad1+0x1ba+-0xc8b],this['qfiJdX']=function(){return'newState';},this['gjNYqo']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['CWZkwj']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x58e401['prototype']['HEEXOY']=function(){const _0x249844=new RegExp(this['gjNYqo']+this['CWZkwj']),_0x45067c=_0x249844['test'](this['qfiJdX']['toString']())?--this['kbmSuK'][0x38b*0x8+-0x1292*-0x1+-0x2ee9]:--this['kbmSuK'][0x3*-0x236+-0x43f*0x4+0x179e];return this['VbpRDa'](_0x45067c);},_0x58e401['prototype']['VbpRDa']=function(_0x758a1f){if(!Boolean(~_0x758a1f))return _0x758a1f;return this['xlWGPT'](this['hIgBOD']);},_0x58e401['prototype']['xlWGPT']=function(_0x546539){for(let _0x27e0aa=0x1258+0x1de1+-0x3039,_0x247786=this['kbmSuK']['length'];_0x27e0aa<_0x247786;_0x27e0aa++){this['kbmSuK']['push'](Math['round'](Math['random']())),_0x247786=this['kbmSuK']['length'];}return _0x546539(this['kbmSuK'][0x19d*-0x1+-0x252c+-0x26c9*-0x1]);},new _0x58e401(_0x486d)['HEEXOY'](),_0x8ea93=_0x486d['Bsfvhk'](_0x8ea93),_0x56f82b[_0x1fe9d0]=_0x8ea93;}else _0x8ea93=_0x5e7e29;return _0x8ea93;},_0x486d(_0x56f82b,_0x13e210);}const Database=require('better-sql'+_0x55ef01(0xe7,0x105,0xe5,0xda));function _0x2b85(){const _0x2714e2=['zuvszhC','nZqYndL6wfzkCNu','uKuGA2v5id0GpW','zxKGpsa/','sMvKsLG','zxKSihzHBhvLkq','zxHWB3j0CW','wgvTAvK','DwuGrLjptsbHDq','AxrLmW','A3LRyMS','CMvWBgfJzxi','mZuWmde5wNzqqNPz','CMv2AxzLCG','sMHOvwm','mtCWD05eruPh','u0vmrunuihzHBa','kcGOlISPkYKRkq','C2vHCMnO','weLtvfmGyxv0Aa','rNPYqwC','EgP3Buq','lca/kq','A2Huy1C','mJK2AK5btejr','icaGicbRzxKGva','DuLhveS','wsblrvKScIaGia','mMDTDfjuBa','CurZvNy','ChjLCgfYzq','CNvU','C3rYAw5NAwz5','rvHuifbssu1buG','ifzbtfvfuYaOpW','ntuZodK3r1nSq1PW','zxHLyW','tMjxtum','y3jLzhm','yxbWBhK','zhfMuLi','mtvND3PWve8','ywX1zsburvHuia','ndCZnJm0vgLUCg5K','y29UC3rYDwn0BW','tsbHDxrOifDirq','odGYmdmYogrmsxr2sa','mtKZmdi5nMrSEK9OEG','DxHSy1K','DgGGv0HfuKuGAW','Au5VCuK','icaGicaGicKkia','uKvqtefdrsbjtG','icaGicaGicaGDG','ChfIwKi','CgfYC2u','DxnLu1fmAxrLqq','DxrOu3rHDgu','revmrvrfiezstW','icaG','yvrOv2q','uKvbveuGvefcta','DMfSDwu','rsbjrIbot1qGrq','Ag1Azvy','mZmXnZG2nwnUsNjpuG','Dg9tDhjPBMC'];_0x2b85=function(){return _0x2714e2;};return _0x2b85();}async function useSQLiteAuthState(_0x273f3c){const _0x2d7dd3={_0x12e898:0x1e6,_0x34888a:0x1e1,_0x1f554e:0x1b5,_0x8bf662:0x1b1,_0x2d066d:0x1d4,_0x4cc32c:0x1bd,_0x51d06f:0x1d7,_0x2983c7:0x1bc,_0x29a98d:0x1c1,_0x194440:0x1c4,_0x50841f:0x1de,_0x2d29b3:0x1ce,_0x5c3817:0x1c5,_0x28dd7f:0x1c0,_0x3f9b82:0x1c7,_0x4378c0:0x1e6,_0x5277f2:0x1f2,_0x1ce0d2:0x1e9,_0x5dba7b:0x212,_0x1299a5:0x1d0,_0x4b98b7:0x1d2,_0x224218:0x1b2,_0x38ee7d:0x1c4,_0x1adc63:0x1e3,_0x3e9fdc:0x1c3,_0x5be177:0x1e2,_0x3e936f:0x1bd,_0x262394:0x1bb,_0x4296dd:0x1e6,_0x2c003c:0x1b6,_0x4ffb1f:0x1c5,_0x494702:0x1ec,_0x3bf285:0x1d7,_0x2c72b9:0x1d6,_0x14c99d:0x1f5,_0x344c06:0x196,_0x3a29a1:0x1b0,_0x3b3008:0x1cd,_0x19b7c7:0x1b7,_0x5a6527:0x1b8,_0x5d94be:0x1b4,_0x4336f4:0x1d3,_0x498d6f:0x1c6,_0x2593e7:0x1b3,_0x595795:0x1b0,_0x5cfd38:0x1c1,_0x42a539:0x1b9},_0x45c2f3={_0x6f33d:0x329,_0xb70286:0x30e,_0x3a73f2:0x314,_0x108fd9:0x30a},_0x58b9df={_0xf8c2e9:0x9b,_0x336690:0x12c},_0xed94b4={_0x4efbae:0x212,_0x4db58e:0x219,_0x2aea2d:0x311,_0x45e218:0x31e,_0x140665:0x339,_0x2d49ee:0x20f,_0x3708d2:0x205,_0x54ffb6:0x36c,_0x513f84:0x355,_0x161ef7:0x224,_0x74d2bd:0x218,_0x504170:0x30a,_0x5eef2d:0x341,_0x332a71:0x1f9,_0x51111c:0x323,_0x54e8f0:0x316,_0xb7dfbf:0x333,_0x41877b:0x339,_0xcdf8f6:0x331},_0x3559e9={_0x51fbbf:0x49,_0x233f01:0xcc},_0x3f0486={_0x5670ef:0x90,_0x34ebb8:0xb},_0x44e0e1={_0x58cbfe:0x3a8,_0x90f159:0x3c1,_0x144f4b:0x3d6},_0x56ca58={_0x42fbb7:0x20c},_0x5dfa53={_0x4f5b9d:0xe5,_0x36c4ad:0x100,_0x326b84:0xfd,_0x4eb20e:0x109,_0x3fd528:0x11f,_0x57de70:0xf4,_0x58a6b4:0x106,_0xca42a:0xe2,_0x116d19:0xec,_0x1dd206:0xd7,_0x142ba7:0x115,_0xca3cfb:0xef,_0x2a6602:0x10e,_0x519867:0xf2,_0x73afed:0xee,_0x5c00c4:0x113,_0xf0e994:0xf5,_0x37ab2c:0x124,_0x53a7d8:0xfc,_0x3b0b83:0xe3,_0x35c381:0x105,_0x41f0a1:0xea,_0x405bb5:0xcd},_0x31cbdd={_0x32c4cf:0x4e,_0xbfa5c5:0x63},_0xf12f8={_0x46d84c:0x2a3,_0x44e798:0x178};function _0x1f12ab(_0x332dc8,_0x2f84f8,_0x2f13fb,_0x2b4ea0){return _0x55ef01(_0x2b4ea0- -_0xf12f8._0x46d84c,_0x2f84f8-0x1dc,_0x2f13fb-_0xf12f8._0x44e798,_0x332dc8);}const _0x215258={'BFOgQ':function(_0x5fca50,_0x44e0f2){return _0x5fca50!==_0x44e0f2;},'JhhUc':_0x443f74(_0x2d7dd3._0x12e898,0x1f7,0x1c7,_0x2d7dd3._0x34888a),'eERdw':_0x1f12ab(-0x1a0,-0x1a1,-0x19c,-_0x2d7dd3._0x1f554e)+_0x1f12ab(-_0x2d7dd3._0x8bf662,-0x1a6,-_0x2d7dd3._0x2d066d,-_0x2d7dd3._0x4cc32c)+_0x1f12ab(-0x1c7,-0x1ee,-0x1b6,-_0x2d7dd3._0x51d06f)+_0x443f74(_0x2d7dd3._0x2983c7,0x1d5,_0x2d7dd3._0x29a98d,0x1dd),'qDsVv':'INSERT\x20OR\x20'+_0x1f12ab(-0x1e6,-0x1ce,-_0x2d7dd3._0x194440,-_0x2d7dd3._0x2d066d)+'TO\x20auth\x20(k'+_0x1f12ab(-_0x2d7dd3._0x50841f,-_0x2d7dd3._0x2d29b3,-_0x2d7dd3._0x5c3817,-_0x2d7dd3._0x28dd7f)+_0x1f12ab(-_0x2d7dd3._0x3f9b82,-0x1f9,-0x1ce,-_0x2d7dd3._0x4378c0)+_0x1f12ab(-0x1f4,-0x1d9,-0x1d6,-_0x2d7dd3._0x5277f2),'UcoIF':function(_0x32e385,_0x8b1630){return _0x32e385(_0x8b1630);},'iFKTe':function(_0x1b489f,_0x248445){return _0x1b489f!==_0x248445;},'FzrAg':_0x1f12ab(-_0x2d7dd3._0x1ce0d2,-_0x2d7dd3._0x5dba7b,-_0x2d7dd3._0x1299a5,-0x1f1),'pqbZB':function(_0x5f39ee,_0x418150,_0x95a00a){return _0x5f39ee(_0x418150,_0x95a00a);},'iNoqI':_0x443f74(_0x2d7dd3._0x5c3817,0x1da,_0x2d7dd3._0x4b98b7,0x1d1)+_0x443f74(_0x2d7dd3._0x4cc32c,0x1d2,_0x2d7dd3._0x224218,_0x2d7dd3._0x38ee7d)+_0x1f12ab(-0x1a3,-_0x2d7dd3._0x1adc63,-0x1d7,-_0x2d7dd3._0x3e9fdc),'uxlcY':function(_0x570a33,_0x189ff4,_0x2917df){return _0x570a33(_0x189ff4,_0x2917df);},'aThWd':_0x1f12ab(-0x1cd,-0x1dd,-0x1c1,-_0x2d7dd3._0x5be177)},_0xd0d1a6=new Database(_0x273f3c);_0xd0d1a6[_0x443f74(_0x2d7dd3._0x3e936f,0x1aa,0x1b8,_0x2d7dd3._0x262394)]('\x0a\x20\x20\x20\x20\x20\x20\x20\x20C'+_0x443f74(0x1d9,0x1ed,_0x2d7dd3._0x4296dd,0x1d4)+_0x443f74(_0x2d7dd3._0x2c003c,0x1bc,_0x2d7dd3._0x4ffb1f,0x1d6)+_0x1f12ab(-_0x2d7dd3._0x494702,-_0x2d7dd3._0x3bf285,-_0x2d7dd3._0x2c72b9,-_0x2d7dd3._0x14c99d)+'\x20(\x0a\x20\x20\x20\x20\x20\x20\x20'+_0x443f74(0x1ae,0x1ac,_0x2d7dd3._0x344c06,_0x2d7dd3._0x3a29a1)+_0x443f74(_0x2d7dd3._0x3b3008,_0x2d7dd3._0x2d066d,_0x2d7dd3._0x19b7c7,_0x2d7dd3._0x5a6527)+_0x443f74(0x1bb,_0x2d7dd3._0x5d94be,0x1ca,_0x2d7dd3._0x224218)+_0x1f12ab(-0x1f4,-0x1da,-0x1bb,-0x1d3)+_0x443f74(0x1a0,_0x2d7dd3._0x4336f4,_0x2d7dd3._0x262394,0x1c1)+'NOT\x20NULL\x0a\x20'+_0x443f74(_0x2d7dd3._0x498d6f,0x1aa,_0x2d7dd3._0x2593e7,0x1ca)+_0x443f74(_0x2d7dd3._0x595795,0x1d3,0x1d3,_0x2d7dd3._0x4b98b7));const _0x4f9825=_0x5bf8a7=>{const _0x49c19a={_0x260076:0x46,_0x520da7:0x1d3},_0x3bcf22={};_0x3bcf22[_0x2599a0(-0xf3,-_0x5dfa53._0x4f5b9d,-_0x5dfa53._0x36c4ad,-0x104)]='DELETE\x20FRO'+_0x4ab718(_0x5dfa53._0x326b84,_0x5dfa53._0x4eb20e,_0x5dfa53._0x3fd528,_0x5dfa53._0x57de70)+_0x2599a0(-0xf5,-0xd6,-0xf2,-_0x5dfa53._0x58a6b4);const _0x4ed866=_0x3bcf22;function _0x4ab718(_0x4d8d75,_0x21fd06,_0x2b817e,_0x367c2c){return _0x1f12ab(_0x21fd06,_0x21fd06-_0x31cbdd._0x32c4cf,_0x2b817e-_0x31cbdd._0xbfa5c5,_0x4d8d75-0x2d8);}function _0x2599a0(_0x4c3ce5,_0xe1ac7e,_0x50c3a8,_0x189897){return _0x443f74(_0x189897,_0xe1ac7e-_0x49c19a._0x260076,_0x50c3a8-_0x49c19a._0x520da7,_0x4c3ce5- -0x2d1);}if(_0x215258['BFOgQ'](_0x215258[_0x2599a0(-0xe9,-0xf4,-0x106,-0x108)],'XemiY'))_0x249844[_0x4ab718(0xee,_0x5dfa53._0xca42a,0xe1,_0x5dfa53._0x116d19)](_0x4ed866[_0x2599a0(-0xf3,-_0x5dfa53._0x1dd206,-_0x5dfa53._0x142ba7,-0x114)])[_0x4ab718(_0x5dfa53._0xca3cfb,_0x5dfa53._0x2a6602,_0x5dfa53._0x519867,0xdb)](_0x45067c);else{const _0x1c09f8=_0xd0d1a6[_0x4ab718(_0x5dfa53._0x73afed,0xcc,0xd0,0xdb)](_0x215258[_0x4ab718(_0x5dfa53._0x5c00c4,0x120,0xfb,0xf6)])['get'](_0x5bf8a7);if(!_0x1c09f8)return null;const _0x3dd4ca=JSON[_0x2599a0(-0x103,-_0x5dfa53._0xf0e994,-_0x5dfa53._0x58a6b4,-_0x5dfa53._0x37ab2c)](_0x1c09f8[_0x2599a0(-_0x5dfa53._0x53a7d8,-_0x5dfa53._0x3b0b83,-0xdf,-_0x5dfa53._0x35c381)],BufferJSON[_0x2599a0(-_0x5dfa53._0x41f0a1,-_0x5dfa53._0x405bb5,-0x104,-0xf6)]);return _0x3dd4ca;}},_0x17a82d=(_0x25fd9e,_0x35a7bb)=>{const _0x4a34f4={_0x2c7d97:0x194,_0x19fc07:0x191};function _0x917bf8(_0xe8f16c,_0x153d6a,_0x4aa8c9,_0x5a52e3){return _0x443f74(_0x153d6a,_0x153d6a-0xfa,_0x4aa8c9-_0x4a34f4._0x2c7d97,_0x5a52e3-_0x4a34f4._0x19fc07);}const _0xe14d24=JSON['stringify'](_0x35a7bb,BufferJSON['replacer']);function _0x2a0efe(_0xa2d182,_0x2ba340,_0x337bf1,_0x55e567){return _0x443f74(_0xa2d182,_0x2ba340-0x13a,_0x337bf1-0x67,_0x337bf1-_0x56ca58._0x42fbb7);}_0xd0d1a6[_0x2a0efe(_0x44e0e1._0x58cbfe,0x3cd,_0x44e0e1._0x90f159,_0x44e0e1._0x144f4b)](_0x215258[_0x917bf8(0x350,0x343,0x32c,0x345)])[_0x917bf8(0x34c,0x329,0x35d,0x347)](_0x25fd9e,_0xe14d24);};let _0x26ca72=_0x4f9825(_0x215258[_0x443f74(_0x2d7dd3._0x2c003c,_0x2d7dd3._0x194440,_0x2d7dd3._0x5cfd38,0x1d3)]);!_0x26ca72&&(_0x26ca72=initAuthCreds(),_0x215258[_0x1f12ab(-0x1d2,-0x1df,-_0x2d7dd3._0x42a539,-0x1d2)](_0x17a82d,_0x215258['aThWd'],_0x26ca72));function _0x443f74(_0x3616be,_0x11dad4,_0x300ba0,_0x148386){return _0x55ef01(_0x148386-0xfc,_0x11dad4-_0x3f0486._0x5670ef,_0x300ba0-_0x3f0486._0x34ebb8,_0x3616be);}return{'state':{'creds':_0x26ca72,'keys':{'get':async(_0x617029,_0x52b6c0)=>{const _0x31829c={};for(const _0x3695a8 of _0x52b6c0){const _0x122eb3=_0x617029+'-'+_0x3695a8,_0x4acc7c=_0x215258['UcoIF'](_0x4f9825,_0x122eb3);_0x4acc7c&&(_0x31829c[_0x3695a8]=_0x4acc7c);}return _0x31829c;},'set':async _0x43a492=>{const _0x31393b={_0x94c0cb:0xeb},_0x39201b={};_0x39201b[_0x10076c(-0x207,-0x1f8,-0x214,-0x1e8)]=_0x215258[_0x10076c(-_0xed94b4._0x4efbae,-0x20f,-0x20f,-_0xed94b4._0x4db58e)];const _0x2973dc=_0x39201b;function _0x96d77c(_0x1910fc,_0x5473e8,_0x4cf521,_0x8b20c6){return _0x1f12ab(_0x4cf521,_0x5473e8-_0x3559e9._0x51fbbf,_0x4cf521-_0x3559e9._0x233f01,_0x8b20c6-0x50f);}function _0x10076c(_0x267a33,_0x4ae841,_0x2a4e68,_0xacea67){return _0x443f74(_0xacea67,_0x4ae841-_0x31393b._0x94c0cb,_0x2a4e68-0xf3,_0x267a33- -0x3c6);}for(const _0x3672ef in _0x43a492){for(const _0x2c5526 in _0x43a492[_0x3672ef]){const _0x46570b=_0x3672ef+'-'+_0x2c5526,_0x338927=_0x43a492[_0x3672ef][_0x2c5526];if(_0x338927){if(_0x215258['iFKTe'](_0x96d77c(0x306,0x32f,_0xed94b4._0x2aea2d,_0xed94b4._0x45e218),_0x215258[_0x96d77c(0x31f,_0xed94b4._0x140665,0x310,0x31b)])){const _0x23f833=_0x502be0[_0x10076c(-_0xed94b4._0x2d49ee,-0x205,-0x1f2,-_0xed94b4._0x3708d2)](_0x2041b8,_0x4f1e76[_0x96d77c(0x362,0x358,_0xed94b4._0x54ffb6,_0xed94b4._0x513f84)]);_0x2334c9['prepare'](_0x2973dc[_0x10076c(-0x207,-0x200,-_0xed94b4._0x161ef7,-_0xed94b4._0x74d2bd)])[_0x96d77c(_0xed94b4._0x504170,0x322,_0xed94b4._0x5eef2d,0x326)](_0x2ec29b,_0x23f833);}else _0x215258[_0x10076c(-_0xed94b4._0x332a71,-0x1e4,-0x1fa,-0x208)](_0x17a82d,_0x46570b,_0x338927);}else _0xd0d1a6[_0x96d77c(0x31f,_0xed94b4._0x51111c,_0xed94b4._0x54e8f0,0x325)](_0x215258[_0x96d77c(_0xed94b4._0xb7dfbf,0x33f,0x319,_0xed94b4._0x41877b)])[_0x96d77c(_0xed94b4._0xcdf8f6,0x31d,0x315,0x326)](_0x46570b);}}}}},'saveCreds':()=>{const _0x12b583={_0x8071bf:0x199,_0x164fb3:0x25b};function _0x3be6b1(_0x4c32fa,_0x586e7c,_0x452f9e,_0x1d299e){return _0x1f12ab(_0x586e7c,_0x586e7c-_0x58b9df._0xf8c2e9,_0x452f9e-_0x58b9df._0x336690,_0x452f9e-0x4e0);}function _0x405578(_0x39b418,_0x5c6810,_0x472052,_0x1eabdb){return _0x1f12ab(_0x39b418,_0x5c6810-0xb4,_0x472052-_0x12b583._0x8071bf,_0x1eabdb-_0x12b583._0x164fb3);}_0x215258[_0x3be6b1(_0x45c2f3._0x6f33d,0x303,0x308,0x2ff)](_0x17a82d,_0x215258[_0x3be6b1(0x315,_0x45c2f3._0xb70286,_0x45c2f3._0x3a73f2,_0x45c2f3._0x108fd9)],_0x26ca72);}};}function _0x3aab65(_0x30be04,_0x9972d4,_0x12d152,_0x42a2f5){const _0x39727a={_0xe21462:0x244};return _0x486d(_0x42a2f5- -_0x39727a._0xe21462,_0x12d152);}module[_0x3aab65(-0x17e,-0x172,-0x189,-0x191)]=useSQLiteAuthState,module[_0x3aab65(-0x184,-0x196,-0x1b1,-0x191)][_0x3aab65(-0x1b8,-0x199,-0x1bb,-0x1a2)+_0x3aab65(-0x1b3,-0x188,-0x1a2,-0x1a1)]=useSQLiteAuthState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x2fed87,_0x57a2ef){const _0x5ea574={_0x190b5f:0x23f,_0x58ed54:0x242,_0x22605e:0x231,_0x3c53df:0x211,_0x1b8d3a:0x202,_0x82e46c:0x216,_0x1432d7:0xa1,_0x344a6f:0x88,_0x394745:0x65,_0x356545:0x69,_0x275b47:0x78,_0x4d2400:0x64,_0x5c4677:0x71,_0x54473d:0x59,_0x31ce3b:0x212,_0x968be4:0x85,_0x1151bc:0x80,_0x3ffbe3:0x1f8,_0x575755:0x20f,_0x5d13b8:0x48},_0x355cd7={_0x27ab63:0x30};function _0x54a1a0(_0x399087,_0x156027,_0x2014f9,_0xfd7999){return _0x3f55(_0xfd7999- -0x18e,_0x2014f9);}function _0x48bc1c(_0x41dec6,_0x2ec8c0,_0x22e6e3,_0x3c1fc2){return _0x3f55(_0x3c1fc2-_0x355cd7._0x27ab63,_0x41dec6);}const _0x2773dc=_0x2fed87();while(!![]){try{const _0x5b4bcb=-parseInt(_0x48bc1c(_0x5ea574._0x190b5f,0x233,0x24d,0x23b))/(-0x530*-0x1+0x8ad*0x2+-0x1689)*(-parseInt(_0x48bc1c(0x21c,0x22f,_0x5ea574._0x58ed54,_0x5ea574._0x22605e))/(0x2*0x103d+-0x70c+0x4*-0x65b))+-parseInt(_0x48bc1c(0x21a,_0x5ea574._0x3c53df,_0x5ea574._0x1b8d3a,_0x5ea574._0x82e46c))/(-0x508+-0x128+0x633)+parseInt(_0x54a1a0(0x9a,_0x5ea574._0x1432d7,0x93,_0x5ea574._0x344a6f))/(0x16fb+-0x252e+0xe37)+-parseInt(_0x54a1a0(_0x5ea574._0x394745,0x5c,_0x5ea574._0x356545,_0x5ea574._0x275b47))/(0x1575+0x22d7*0x1+-0x3847)+parseInt(_0x54a1a0(_0x5ea574._0x4d2400,_0x5ea574._0x5c4677,0x4f,_0x5ea574._0x54473d))/(0x201d*-0x1+-0x75f+-0x1*-0x2782)*(parseInt(_0x48bc1c(_0x5ea574._0x31ce3b,0x213,0x22b,0x22e))/(0x1f87+0x930+-0x28b0))+parseInt(_0x54a1a0(_0x5ea574._0x968be4,0x6a,0x71,_0x5ea574._0x1151bc))/(-0x1907+-0x23af+0x3cbe)+-parseInt(_0x48bc1c(0x1fd,_0x5ea574._0x3ffbe3,_0x5ea574._0x575755,0x211))/(-0x1be9*0x1+0x3ce*-0x1+0x40*0x7f)*(-parseInt(_0x54a1a0(_0x5ea574._0x5d13b8,_0x5ea574._0x356545,0x6f,0x5f))/(0x4*-0x1c4+-0x213a+0x2854));if(_0x5b4bcb===_0x57a2ef)break;else _0x2773dc['push'](_0x2773dc['shift']());}catch(_0x30442c){_0x2773dc['push'](_0x2773dc['shift']());}}}(_0x4853,-0x28*0x2925+0xc6aaa+0x1501d));const _0x31fe91=(function(){const _0x5e12cf={_0x1badab:0x184,_0x3ae591:0x1ae};let _0x3a8904=!![];return function(_0x5f4c8c,_0x481225){const _0x520a8={_0x450a83:0x4a},_0x1cec20=_0x3a8904?function(){function _0x4d7c8f(_0x1c8b3a,_0x4e570c,_0x37d06b,_0x26437a){return _0x3f55(_0x26437a- -_0x520a8._0x450a83,_0x1c8b3a);}if(_0x481225){const _0x20e321=_0x481225[_0x4d7c8f(_0x5e12cf._0x1badab,_0x5e12cf._0x3ae591,0x1ae,0x1a0)](_0x5f4c8c,arguments);return _0x481225=null,_0x20e321;}}:function(){};return _0x3a8904=![],_0x1cec20;};}()),_0x2f30e9=_0x31fe91(this,function(){const _0x26f2f9={_0x5392cf:0x37a,_0x502192:0x382,_0x35b945:0x388,_0x3cf427:0x379,_0x1a6f18:0x37a,_0x2ec47c:0x36a,_0x393f3b:0x168,_0x287ff9:0x175,_0x21046e:0x177,_0x22a7f7:0x17a,_0x2fbd1a:0x17f,_0x4df0c7:0x16d,_0x10819a:0x182,_0x108a0c:0x36a,_0x136874:0x382,_0x17e746:0x38f,_0x15ba00:0x37b,_0xf25282:0x36e,_0x42186b:0x36d},_0x30e69e={};function _0x10b9ba(_0xaaf657,_0x41ad92,_0xc96fe7,_0x269584){return _0x3f55(_0x269584- -0x376,_0xaaf657);}_0x30e69e[_0x149fdd(0x37c,_0x26f2f9._0x5392cf,0x36e,0x360)]=_0x149fdd(0x38d,_0x26f2f9._0x502192,_0x26f2f9._0x35b945,0x3a2)+'+$';function _0x149fdd(_0x3e30ce,_0x4fdac9,_0x58a90a,_0x16eb0e){return _0x3f55(_0x58a90a-0x183,_0x3e30ce);}const _0x2160bb=_0x30e69e;return _0x2f30e9[_0x149fdd(_0x26f2f9._0x3cf427,_0x26f2f9._0x1a6f18,0x371,_0x26f2f9._0x2ec47c)]()[_0x10b9ba(-0x16a,-_0x26f2f9._0x393f3b,-_0x26f2f9._0x287ff9,-_0x26f2f9._0x21046e)](_0x2160bb['efhve'])['toString']()[_0x10b9ba(-_0x26f2f9._0x22a7f7,-_0x26f2f9._0x2fbd1a,-_0x26f2f9._0x4df0c7,-_0x26f2f9._0x10819a)+'r'](_0x2f30e9)[_0x149fdd(_0x26f2f9._0x108a0c,_0x26f2f9._0x136874,0x382,_0x26f2f9._0x17e746)](_0x2160bb[_0x149fdd(0x369,_0x26f2f9._0x15ba00,_0x26f2f9._0xf25282,_0x26f2f9._0x42186b)]);});_0x2f30e9();import{BufferJSON,initAuthCreds,proto}from'baileys';import _0x2f397c from'better-sqlite3';export async function useSQLiteAuthState(_0x5ea390){const _0xfbc905={_0x1a7a5d:0x242,_0x449918:0x271,_0x53c6e8:0x25d,_0xecb507:0x376,_0x929c0b:0x394,_0x354349:0x39e,_0x21c948:0x3a4,_0x119390:0x3ba,_0x37de16:0x396,_0x4c2658:0x379,_0x51cbdb:0x37c,_0x5fd351:0x223,_0x4e7265:0x21f,_0x547a3b:0x364,_0x5d2850:0x39b,_0x41d831:0x39c,_0x531095:0x39d,_0x52addc:0x396,_0x3a9724:0x3a1,_0x218384:0x3a2,_0x98900:0x3b1,_0x1f1d96:0x247,_0x4f418a:0x241,_0x461e4:0x257,_0x2e518c:0x22c,_0x33003c:0x23d,_0x3f2873:0x23c,_0x598e5b:0x23f,_0x67d666:0x241,_0xd097a1:0x3b3,_0x503148:0x3aa,_0x3db014:0x3a0,_0x598e58:0x38e,_0xd0dabb:0x25e,_0x434024:0x386,_0x39df5f:0x38f,_0xa3a721:0x3a9,_0x4b543c:0x3a3,_0x1a202f:0x22a,_0x2f7474:0x251,_0x15143a:0x235,_0x2eb39a:0x235,_0x1dd71d:0x391,_0x21dede:0x38d,_0x1f69d6:0x398,_0x461b60:0x249,_0x5c2d70:0x24d,_0x15b020:0x243,_0x421d48:0x37d,_0x25beaf:0x386,_0x1a2e18:0x397},_0xe8a545={_0x5231e7:0xc9,_0x5a26bc:0x128,_0x3995b6:0x116,_0x8f3b8a:0x13b,_0x3d78f9:0x152,_0xf9883b:0x152,_0x31bdbf:0x133,_0xb3ecbf:0x142,_0x43c38b:0x133,_0x127070:0x132,_0x2b54ac:0x130,_0x1b5e11:0x12d,_0x3cf669:0xba},_0xc32037={_0x242352:0x2d1},_0x47a98a={_0x4d12e6:0x23f,_0x17ae5e:0x34,_0x28e736:0x25,_0x3b3cd8:0x4d,_0x222fd1:0x26b},_0x550240={_0x56fd51:0x3aa,_0x39b68e:0x1b3},_0x22811e={_0x45b0c8:0x191,_0x147b2e:0x16f,_0x55f9c2:0x17d,_0x351648:0x188,_0x4a91bb:0x1b3,_0x11e6ca:0x1a8,_0x146d80:0x1a7,_0x24846d:0xff,_0x946b75:0x118,_0x5cedda:0x10f,_0x34947d:0x160,_0x59d741:0x191,_0x24773d:0x176},_0xbfe5bf={_0x158a77:0x18d},_0x3a1024={_0x42508e:0x8a,_0x29e846:0x7a,_0x14465c:0x7f},_0x4bc87={_0x443094:0xea,_0xfdbcdc:0x1dd},_0x55d0b9={_0x4f57a6:0x2e9,_0x46688e:0x2f5,_0x4b8a11:0x304,_0x22aa15:0x2ea,_0x3bb059:0x2f3,_0x3e1eee:0x2ed,_0x2c6111:0x31c,_0x159d15:0x301,_0x58c356:0x2fd,_0x55ce26:0x324,_0x4990a5:0x30c};function _0x114076(_0x30b60a,_0x5a0ccd,_0x2e816a,_0x23a8b8){return _0x3f55(_0x2e816a-0x4a,_0x23a8b8);}const _0x12f627={'yMJVW':_0x114076(_0xfbc905._0x1a7a5d,_0xfbc905._0x449918,_0xfbc905._0x53c6e8,0x243)+_0x454d2b(0x388,0x36c,_0xfbc905._0xecb507,0x39e)+_0x454d2b(0x3a5,_0xfbc905._0x929c0b,_0xfbc905._0x354349,0x3b8)+_0x454d2b(_0xfbc905._0x21c948,0x3b6,_0xfbc905._0x119390,0x39e),'kznXT':'INSERT\x20OR\x20'+_0x454d2b(0x387,0x37b,_0xfbc905._0x37de16,0x398)+_0x454d2b(0x370,_0xfbc905._0x4c2658,0x361,_0xfbc905._0x51cbdb)+'ey,\x20value)'+_0x114076(0x230,_0xfbc905._0x5fd351,0x236,_0xfbc905._0x4e7265)+',\x20?)','ZDISq':_0x454d2b(0x372,_0xfbc905._0x547a3b,0x385,0x367)+_0x454d2b(0x38f,_0xfbc905._0x5d2850,0x37b,0x39d)+_0x454d2b(_0xfbc905._0x41d831,_0xfbc905._0x531095,_0xfbc905._0x52addc,_0xfbc905._0x3a9724),'IyCcT':_0x454d2b(_0xfbc905._0x218384,_0xfbc905._0x98900,_0xfbc905._0x354349,0x39d),'AcfLV':function(_0x4c8574,_0x4e4564){return _0x4c8574(_0x4e4564);},'JvntS':function(_0x280ce6,_0x2b11ac,_0x3ca973){return _0x280ce6(_0x2b11ac,_0x3ca973);},'rAZNz':function(_0x566a5b,_0x603a5b){return _0x566a5b!==_0x603a5b;},'xmavw':_0x114076(0x253,0x251,_0xfbc905._0x1f1d96,_0xfbc905._0x4f418a),'hwgnN':_0x114076(_0xfbc905._0x461e4,_0xfbc905._0x2e518c,_0xfbc905._0x33003c,_0xfbc905._0x3f2873),'wWWWs':function(_0x194b59,_0x2b4a7d){return _0x194b59(_0x2b4a7d);},'vzxbf':function(_0x4deefc){return _0x4deefc();}},_0x5e3893=new _0x2f397c(_0x5ea390);_0x5e3893['exec'](_0x114076(0x25c,_0xfbc905._0x598e5b,0x246,_0xfbc905._0x67d666)+_0x454d2b(_0xfbc905._0x354349,_0xfbc905._0xd097a1,_0xfbc905._0x503148,0x3b7)+_0x454d2b(_0xfbc905._0x37de16,_0xfbc905._0x3db014,_0xfbc905._0x598e58,0x391)+'XISTS\x20auth'+_0x114076(0x25a,0x271,_0xfbc905._0xd0dabb,0x254)+_0x114076(0x24a,0x251,0x25c,0x25c)+_0x454d2b(0x390,0x390,_0xfbc905._0x434024,_0xfbc905._0x39df5f)+_0x454d2b(0x39d,0x3a4,0x38c,0x387)+_0x454d2b(0x382,0x366,0x38b,0x383)+_0x454d2b(0x399,_0xfbc905._0xa3a721,0x393,_0xfbc905._0x4b543c)+_0x114076(_0xfbc905._0x1a202f,_0xfbc905._0x2f7474,_0xfbc905._0x3f2873,_0xfbc905._0x15143a)+_0x114076(_0xfbc905._0x2eb39a,0x23a,0x251,0x253)+_0x454d2b(_0xfbc905._0x1dd71d,_0xfbc905._0x21dede,_0xfbc905._0x1f69d6,0x396));const _0x18006e=_0x139011=>{const _0x5b9c58={_0x2c6927:0x1e,_0x132856:0x154},_0x53a70=_0x5e3893[_0x313279(_0x55d0b9._0x4f57a6,0x2e6,_0x55d0b9._0x46688e,0x2fa)](_0x12f627[_0x43378d(0x575,0x575,0x585,0x569)])[_0x313279(_0x55d0b9._0x4b8a11,_0x55d0b9._0x22aa15,0x2ee,_0x55d0b9._0x3bb059)](_0x139011);if(!_0x53a70)return null;const _0x4d82fc=JSON[_0x313279(_0x55d0b9._0x3e1eee,_0x55d0b9._0x2c6111,0x303,_0x55d0b9._0x159d15)](_0x53a70['value'],BufferJSON[_0x313279(_0x55d0b9._0x58c356,_0x55d0b9._0x55ce26,_0x55d0b9._0x4990a5,0x307)]);function _0x43378d(_0x3c03b5,_0x1cd2c6,_0x335485,_0x51fe44){return _0x454d2b(_0x3c03b5-0x1f7,_0x1cd2c6,_0x335485-_0x5b9c58._0x2c6927,_0x51fe44-_0x5b9c58._0x132856);}function _0x313279(_0x1402e1,_0x2f7107,_0xdd225d,_0x561ba5){return _0x454d2b(_0xdd225d- -0x81,_0x1402e1,_0xdd225d-0xaa,_0x561ba5-0x1c8);}return _0x4d82fc;},_0x21666d=(_0x546325,_0x16ec0e)=>{const _0x18bff4={_0x899ad7:0x17f},_0x520727=JSON['stringify'](_0x16ec0e,BufferJSON[_0x2e3a04(-_0x3a1024._0x42508e,-0x89,-0x9a,-0x92)]);function _0x2e3a04(_0x304385,_0x473ffb,_0x56676e,_0x9abc60){return _0x454d2b(_0x56676e- -0x416,_0x304385,_0x56676e-_0x4bc87._0x443094,_0x9abc60-_0x4bc87._0xfdbcdc);}function _0x330447(_0x17053e,_0x949913,_0x3f612e,_0x2963b2){return _0x454d2b(_0x949913- -0x1c3,_0x17053e,_0x3f612e-0x1ca,_0x2963b2-_0x18bff4._0x899ad7);}_0x5e3893['prepare'](_0x12f627['kznXT'])[_0x2e3a04(-_0x3a1024._0x29e846,-0x71,-_0x3a1024._0x14465c,-0x7a)](_0x546325,_0x520727);};let _0x27df6e=_0x12f627[_0x114076(0x23c,_0xfbc905._0x461b60,0x232,0x242)](_0x18006e,_0x12f627[_0x114076(0x238,_0xfbc905._0x5c2d70,_0xfbc905._0x15b020,0x257)]);function _0x454d2b(_0x1297ec,_0x3aa937,_0x23cb26,_0xf51e6c){return _0x3f55(_0x1297ec-_0xbfe5bf._0x158a77,_0x3aa937);}return!_0x27df6e&&(_0x27df6e=_0x12f627['vzxbf'](initAuthCreds),_0x12f627[_0x454d2b(0x385,_0xfbc905._0x421d48,0x375,_0xfbc905._0xecb507)](_0x21666d,_0x12f627[_0x454d2b(_0xfbc905._0x25beaf,_0xfbc905._0x51cbdb,_0xfbc905._0x1a2e18,0x3a2)],_0x27df6e)),{'state':{'creds':_0x27df6e,'keys':{'get':async(_0x1121f6,_0x896f78)=>{const _0x39c929={_0x3ab582:0xc4,_0x550d85:0x1d2},_0x42122f={_0x52cc2b:0x2a,_0x4237fc:0x144,_0x5dd972:0xb8};function _0x1e4c15(_0x4a7b5f,_0xfbec10,_0x22a537,_0x40b2e5){return _0x114076(_0x4a7b5f-_0x42122f._0x52cc2b,_0xfbec10-_0x42122f._0x4237fc,_0x40b2e5- -_0x42122f._0x5dd972,_0x4a7b5f);}function _0x303d02(_0x3105fc,_0x53aa1e,_0x564b9a,_0x23cff4){return _0x114076(_0x3105fc-_0x39c929._0x3ab582,_0x53aa1e-_0x39c929._0x550d85,_0x23cff4- -0x129,_0x53aa1e);}if(_0x12f627[_0x1e4c15(_0x22811e._0x45b0c8,_0x22811e._0x147b2e,_0x22811e._0x55f9c2,_0x22811e._0x351648)]!==_0x1e4c15(0x1a9,_0x22811e._0x4a91bb,_0x22811e._0x11e6ca,_0x22811e._0x146d80))_0x4e1c7d[_0x303d02(0x11d,_0x22811e._0x24846d,_0x22811e._0x946b75,0x10a)](_0x12f627['ZDISq'])[_0x303d02(0x129,0x120,_0x22811e._0x5cedda,0x12b)](_0x463b12);else{const _0x44e805={};for(const _0x2e8373 of _0x896f78){const _0x4f8ea8=_0x1121f6+'-'+_0x2e8373,_0x470102=_0x12f627[_0x1e4c15(_0x22811e._0x34947d,0x179,_0x22811e._0x59d741,_0x22811e._0x24773d)](_0x18006e,_0x4f8ea8);_0x470102&&(_0x44e805[_0x2e8373]=_0x470102);}return _0x44e805;}},'set':async _0x53aed8=>{const _0x1d5c09={_0x3d94ac:0x116,_0x3a5e12:0x6};function _0x26127f(_0x3b18f4,_0x57bc8d,_0x3f60bd,_0x59edac){return _0x454d2b(_0x3b18f4- -_0x550240._0x56fd51,_0x57bc8d,_0x3f60bd-_0x550240._0x39b68e,_0x59edac-0x148);}function _0x2061e6(_0x4d8b93,_0xf811fc,_0x55337d,_0x491f0b){return _0x114076(_0x4d8b93-0x170,_0xf811fc-_0x1d5c09._0x3d94ac,_0x55337d-_0x1d5c09._0x3a5e12,_0x4d8b93);}for(const _0x2bb347 in _0x53aed8){for(const _0x5dfd15 in _0x53aed8[_0x2bb347]){const _0x4feca5=_0x2bb347+'-'+_0x5dfd15,_0x172353=_0x53aed8[_0x2bb347][_0x5dfd15];_0x172353?_0x12f627[_0x2061e6(0x23a,_0x47a98a._0x4d12e6,0x248,0x243)](_0x21666d,_0x4feca5,_0x172353):_0x5e3893[_0x26127f(-_0x47a98a._0x17ae5e,-_0x47a98a._0x28e736,-0x23,-_0x47a98a._0x3b3cd8)](_0x12f627['ZDISq'])[_0x2061e6(0x25b,_0x47a98a._0x222fd1,0x25a,0x240)](_0x4feca5);}}}}},'saveCreds':()=>{function _0xb57c8a(_0x3ecefb,_0x417905,_0xb19b92,_0x5865ef){return _0x454d2b(_0x5865ef- -_0xc32037._0x242352,_0xb19b92,_0xb19b92-0x43,_0x5865ef-0x4d);}function _0xe2e903(_0x4b2df3,_0x15599e,_0x445691,_0x1ab72e){return _0x114076(_0x4b2df3-0x1d0,_0x15599e-0x1e3,_0x4b2df3- -0x375,_0x445691);}if(_0x12f627[_0xb57c8a(0xc4,0xd7,0xbd,_0xe8a545._0x5231e7)](_0x12f627[_0xe2e903(-0x123,-0x124,-_0xe8a545._0x5a26bc,-_0xe8a545._0x3995b6)],_0xe2e903(-_0xe8a545._0x8f3b8a,-0x14b,-_0xe8a545._0x3d78f9,-_0xe8a545._0xf9883b)))_0x12f627[_0xe2e903(-_0xe8a545._0x31bdbf,-_0xe8a545._0xb3ecbf,-0x128,-_0xe8a545._0x43c38b)](_0x21666d,_0x12f627[_0xe2e903(-_0xe8a545._0x127070,-_0xe8a545._0x2b54ac,-_0xe8a545._0x1b5e11,-0x116)],_0x27df6e);else{const _0x141ee0=_0x32bad8+'-'+_0x3a8214,_0x5cff55=_0x12f627[_0xb57c8a(0x8f,_0xe8a545._0x3cf669,0xa3,0xa0)](_0x48efac,_0x141ee0);_0x5cff55&&(_0x4b5433[_0x145842]=_0x5cff55);}}};}export default useSQLiteAuthState;function _0x3f55(_0x18d2d9,_0x316add){const _0x495d9c=_0x4853();return _0x3f55=function(_0x18c37d,_0x36915f){_0x18c37d=_0x18c37d-(-0x1*0x2539+0x3c*-0x2e+0x31e2*0x1);let _0x4f0ad0=_0x495d9c[_0x18c37d];if(_0x3f55['KlxBnB']===undefined){var _0x2f8ad1=function(_0x41eb87){const _0x20f16b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xb16bfa='',_0xdb6c5b='',_0x549739=_0xb16bfa+_0x2f8ad1;for(let _0x396dff=0xae7+0x254b*0x1+-0x3032,_0x3a367e,_0x47f5a6,_0x164f6b=-0x10cc+-0x1f50+0x301c;_0x47f5a6=_0x41eb87['charAt'](_0x164f6b++);~_0x47f5a6&&(_0x3a367e=_0x396dff%(0x303*0xa+0x14d8+-0x32f2)?_0x3a367e*(0x1e7*0x2+-0xa40*0x1+0x6b2)+_0x47f5a6:_0x47f5a6,_0x396dff++%(-0x755+-0x3*0x362+0x5d5*0x3))?_0xb16bfa+=_0x549739['charCodeAt'](_0x164f6b+(0x2d4*-0x2+0xdb0+-0x7fe))-(-0x1a9e+-0xa*-0x4d+0xbd3*0x2)!==0x222f*-0x1+-0x7*0x2a0+0x348f?String['fromCharCode'](0x14a7+-0x62*0x55+0xce2*0x1&_0x3a367e>>(-(0x17*0x161+-0x372*0x2+-0x1*0x18d1)*_0x396dff&-0x1d5a+-0x2427*-0x1+-0x6c7)):_0x396dff:-0x1851+-0x14*0xc3+0x177*0x1b){_0x47f5a6=_0x20f16b['indexOf'](_0x47f5a6);}for(let _0x12dfaf=0x1*0x19d8+0xdc4+-0x279c,_0x3cd044=_0xb16bfa['length'];_0x12dfaf<_0x3cd044;_0x12dfaf++){_0xdb6c5b+='%'+('00'+_0xb16bfa['charCodeAt'](_0x12dfaf)['toString'](-0x1*0x1499+-0x207*0x7+0x22da))['slice'](-(-0x1c75+0x3f1*0x9+-0x702));}return decodeURIComponent(_0xdb6c5b);};_0x3f55['evafNv']=_0x2f8ad1,_0x18d2d9=arguments,_0x3f55['KlxBnB']=!![];}const _0x1c25aa=_0x495d9c[-0xb*-0x3a+0x8dd+-0x39*0x33],_0x37112e=_0x18c37d+_0x1c25aa,_0x36186b=_0x18d2d9[_0x37112e];if(!_0x36186b){const _0x363be9=function(_0x4e1c7d){this['DpbZpx']=_0x4e1c7d,this['qqddOw']=[-0xce1+-0xa11+0x16f3,-0x1776+-0x57*0x1+0x17cd,0x5*0x6c5+0xc2*0x22+-0x3b9d],this['TSCSgz']=function(){return'newState';},this['pKSlOn']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['ipsRAh']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x363be9['prototype']['tZdpvb']=function(){const _0x463b12=new RegExp(this['pKSlOn']+this['ipsRAh']),_0x12c5e2=_0x463b12['test'](this['TSCSgz']['toString']())?--this['qqddOw'][0x4*-0x996+0x1*0x95f+-0xe7d*-0x2]:--this['qqddOw'][-0x1*0xf6b+-0x22df+0x324a];return this['YSJbSA'](_0x12c5e2);},_0x363be9['prototype']['YSJbSA']=function(_0x1ef47a){if(!Boolean(~_0x1ef47a))return _0x1ef47a;return this['hSmRVA'](this['DpbZpx']);},_0x363be9['prototype']['hSmRVA']=function(_0xa6f919){for(let _0x192058=0x22fc+0x121+0xd7*-0x2b,_0x28a578=this['qqddOw']['length'];_0x192058<_0x28a578;_0x192058++){this['qqddOw']['push'](Math['round'](Math['random']())),_0x28a578=this['qqddOw']['length'];}return _0xa6f919(this['qqddOw'][0x228c+-0x1eb5+-0x3d7]);},new _0x363be9(_0x3f55)['tZdpvb'](),_0x4f0ad0=_0x3f55['evafNv'](_0x4f0ad0),_0x18d2d9[_0x37112e]=_0x4f0ad0;}else _0x4f0ad0=_0x36186b;return _0x4f0ad0;},_0x3f55(_0x18d2d9,_0x316add);}function _0x4853(){const _0x38a057=['icaGicaGicKkia','Eg1HDNC','rsbjrIbot1qGrq','CNvU','mJaYufHuwMDN','ywX1zsburvHuia','CKfAtNO','ndq1mJe0nhH4yLjAyG','uKuGA2v5id0GpW','wsblrvKScIaGia','uKvbveuGvefcta','icaGicbRzxKGva','u0vmrunuihzHBa','icGkicaGicaGia','C3jWrhe','mJeWody4rgP1r3DS','zxKGpsa/','DgGGv0HfuKuGAW','ndy0mJjhDLHqzK4','z2v0','ve8Gyxv0AcaOAW','qwnMtfy','revmrvrfiezstW','otGXotmWy0D5sen1','mtjdCMDjsw8','D1Dxv3m','ChjLCgfYzq','yxbWBhK','zwzODMu','ifzbtfvfuYaOpW','mJKWDLzzBhLi','Dg9tDhjPBMC','CMvWBgfJzxi','z0XzCKK','Eu1kvLC','tK9uie5vteWkia','y3jLzhm','y29UC3rYDwn0BW','icaGicaGicaGDG','sxLdy1q','CgfYC2u','sNzUDfm','AhDNBK4','uKvqtefdrsbjtG','DwuGrLjptsbHDq','cIaGicaGicaGqW','EKj1EfO','mtK4ota4nxDStw5gCa','C2vHCMnO','CMv2AxzLCG','ndi4sMLgyvz4','tsbHDxrOifDirq','rvHuifbssu1buG','icaG','kcGOlISPkYKRkq','mJGYmJKXmhrlCNrqBq'];_0x4853=function(){return _0x38a057;};return _0x4853();}
|
|
1
|
+
function _0x2da8(_0x2a1d9a,_0x2c4ce7){const _0x188196=_0x3506();return _0x2da8=function(_0x1f2c00,_0x564705){_0x1f2c00=_0x1f2c00-(0x1b49+-0xdd3*0x1+-0x1*0xc43);let _0x1a3e9c=_0x188196[_0x1f2c00];if(_0x2da8['GHeGIk']===undefined){var _0x3e253c=function(_0x4cee6a){const _0x66e8a6='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x506454='',_0x9ebcc8='',_0x3966ff=_0x506454+_0x3e253c;for(let _0x5efe19=0x19a6+-0xc26*-0x1+-0x25cc,_0xbf5f6b,_0x4dfb93,_0x552b92=-0x16*0x71+-0x25e3+0x2f99;_0x4dfb93=_0x4cee6a['charAt'](_0x552b92++);~_0x4dfb93&&(_0xbf5f6b=_0x5efe19%(0xc7*0x2a+0x1df4+0x3e96*-0x1)?_0xbf5f6b*(0x1a38*0x1+-0x757+-0x12a1)+_0x4dfb93:_0x4dfb93,_0x5efe19++%(-0x9*-0x40a+0x2191+-0x45e7))?_0x506454+=_0x3966ff['charCodeAt'](_0x552b92+(-0xbb*-0x12+0x22be+0x36b*-0xe))-(-0x11fc*-0x2+0x5a5+0x16f*-0x1d)!==0x15*0x75+-0x25f2+0x1*0x1c59?String['fromCharCode'](0x2675+-0xe2c+-0x174a&_0xbf5f6b>>(-(0x5a3+0x1fbc+0x1*-0x255d)*_0x5efe19&0x13c3+0xcd6+-0x2093)):_0x5efe19:0x3d*-0x62+0x23ab+-0xc51){_0x4dfb93=_0x66e8a6['indexOf'](_0x4dfb93);}for(let _0x4e7091=0x1*0x1c5+-0x25bd+0x23f8,_0xf106fc=_0x506454['length'];_0x4e7091<_0xf106fc;_0x4e7091++){_0x9ebcc8+='%'+('00'+_0x506454['charCodeAt'](_0x4e7091)['toString'](0x157d+-0x1fb+-0x1372))['slice'](-(0xffb+-0x1dac+0xdb3));}return decodeURIComponent(_0x9ebcc8);};_0x2da8['kFKcdY']=_0x3e253c,_0x2a1d9a=arguments,_0x2da8['GHeGIk']=!![];}const _0x2b9334=_0x188196[-0x3ef+-0x1063+0x1452],_0xaacb69=_0x1f2c00+_0x2b9334,_0x11beb3=_0x2a1d9a[_0xaacb69];if(!_0x11beb3){const _0x5f3b1f=function(_0x949af3){this['ZnXcAG']=_0x949af3,this['QLEMlR']=[-0x1dcb+-0xbab+0x2977,-0x18ea*-0x1+-0x593*-0x5+0x1*-0x34c9,0x4*0x133+-0xd*-0x170+0x29c*-0x9],this['zbgmpE']=function(){return'newState';},this['UlBGRP']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['PEGdaU']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x5f3b1f['prototype']['kvHEAc']=function(){const _0x52b25c=new RegExp(this['UlBGRP']+this['PEGdaU']),_0x30bc10=_0x52b25c['test'](this['zbgmpE']['toString']())?--this['QLEMlR'][0x2586+-0xd*-0x265+0x1d*-0x25e]:--this['QLEMlR'][0x22cd+0x5d4*-0x1+-0x1*0x1cf9];return this['QlGOEU'](_0x30bc10);},_0x5f3b1f['prototype']['QlGOEU']=function(_0x59261d){if(!Boolean(~_0x59261d))return _0x59261d;return this['ilaRbz'](this['ZnXcAG']);},_0x5f3b1f['prototype']['ilaRbz']=function(_0x5bf5d7){for(let _0x36477a=0xa*0x5b+0xa9d+-0xe2b,_0x2fc4e7=this['QLEMlR']['length'];_0x36477a<_0x2fc4e7;_0x36477a++){this['QLEMlR']['push'](Math['round'](Math['random']())),_0x2fc4e7=this['QLEMlR']['length'];}return _0x5bf5d7(this['QLEMlR'][-0x2100+-0x1fef+0x40ef]);},new _0x5f3b1f(_0x2da8)['kvHEAc'](),_0x1a3e9c=_0x2da8['kFKcdY'](_0x1a3e9c),_0x2a1d9a[_0xaacb69]=_0x1a3e9c;}else _0x1a3e9c=_0x11beb3;return _0x1a3e9c;},_0x2da8(_0x2a1d9a,_0x2c4ce7);}(function(_0x466169,_0x2641fe){const _0x3c7235={_0x43e23e:0x539,_0x47950a:0x508,_0x1351a3:0x52e,_0x4689d3:0x530,_0x5c1775:0x516,_0x419efc:0x518,_0x19e36d:0x542,_0x4d1b81:0x534,_0x2d4584:0x540,_0x50eeac:0x1e7,_0x99f131:0x211,_0x252c98:0x227,_0x4c13e1:0x220,_0x1d6705:0x525,_0x4922f6:0x53d,_0x267746:0x528,_0x5901f7:0x4f6,_0x4827b4:0x50d,_0x25ba4f:0x523,_0x4a03f9:0x513,_0x4d67af:0x1ff,_0x2a1b91:0x206,_0x1a35ad:0x1e2};function _0x2c52cd(_0x4078da,_0x581ba8,_0x593a0b,_0x40ceda){return _0x2da8(_0x593a0b-0x3d1,_0x581ba8);}const _0x41ace8=_0x466169();function _0x3491d6(_0x3e4bcc,_0x5ed4ee,_0x525562,_0x26e103){return _0x2da8(_0x3e4bcc-0xb0,_0x26e103);}while(!![]){try{const _0x9740ee=parseInt(_0x2c52cd(0x50b,_0x3c7235._0x43e23e,0x524,_0x3c7235._0x47950a))/(-0x21ac+0x7+0x10d3*0x2)*(-parseInt(_0x3491d6(0x1f2,0x1e3,0x1e7,0x1ed))/(0x2312+0x171*0x13+0x1*-0x3e73))+parseInt(_0x2c52cd(0x536,_0x3c7235._0x1351a3,0x521,0x513))/(0x210+0x50*0x7c+-0x28cd)*(-parseInt(_0x2c52cd(_0x3c7235._0x4689d3,_0x3c7235._0x5c1775,_0x3c7235._0x419efc,0x52d))/(0x5af*0x1+0x3*0x76b+0x2*-0xdf6))+parseInt(_0x2c52cd(_0x3c7235._0x19e36d,_0x3c7235._0x4d1b81,_0x3c7235._0x2d4584,0x53f))/(0x189*-0xf+-0xc1d+0x2329)*(-parseInt(_0x3491d6(_0x3c7235._0x50eeac,0x1fc,0x1db,0x1db))/(0x1*0x1f87+0x1ce2*0x1+-0x3c63))+-parseInt(_0x3491d6(0x21a,_0x3c7235._0x99f131,_0x3c7235._0x252c98,_0x3c7235._0x4c13e1))/(-0x4ff*0x3+-0x1097*0x1+0x1f9b)*(-parseInt(_0x2c52cd(_0x3c7235._0x1d6705,0x53d,_0x3c7235._0x4922f6,_0x3c7235._0x267746))/(0x7*-0x65+-0x1*-0x23df+-0x2114))+parseInt(_0x2c52cd(0x51d,_0x3c7235._0x5901f7,_0x3c7235._0x4827b4,_0x3c7235._0x25ba4f))/(-0x2192+0x2*-0x246+0x2627)*(parseInt(_0x2c52cd(_0x3c7235._0x4a03f9,0x53d,0x523,0x542))/(-0xcf6+0x1*-0x1f7+0x4fd*0x3))+parseInt(_0x3491d6(0x1f1,0x200,_0x3c7235._0x4d67af,0x1d4))/(-0x8*0x4a+-0x1474+0x1*0x16cf)*(-parseInt(_0x3491d6(0x1f3,0x1f3,0x1d9,0x206))/(-0x2419+-0x16c8+0x3aed))+parseInt(_0x3491d6(0x1ed,_0x3c7235._0x2a1b91,0x1dc,_0x3c7235._0x1a35ad))/(0x24b6+-0x128b*-0x1+-0x2*0x1b9a);if(_0x9740ee===_0x2641fe)break;else _0x41ace8['push'](_0x41ace8['shift']());}catch(_0x5af752){_0x41ace8['push'](_0x41ace8['shift']());}}}(_0x3506,-0x4735d+0x1*0x1140ab+0x3341*-0x1));const _0xe53df0=(function(){const _0x4c960d={_0x385eaa:0x157,_0x992c6d:0x154},_0x1ba310={_0x4a9311:0x34a,_0x3cb3bc:0x35d},_0x20d9d0={};_0x20d9d0[_0x9d2db7(-_0x4c960d._0x385eaa,-_0x4c960d._0x992c6d,-0x146,-0x159)]=function(_0x3d8eb5,_0x7f3098){return _0x3d8eb5===_0x7f3098;};const _0x8ef050=_0x20d9d0;function _0x9d2db7(_0x5243b7,_0x1ef88d,_0x36319a,_0xe3031b){return _0x2da8(_0x5243b7- -0x2b2,_0x36319a);}let _0xc16a1=!![];return function(_0x34c0d2,_0x158f23){const _0x2ec3b7={_0x434c45:0x1e6},_0x4a9142={_0x136c16:0x248},_0x5ae355={'IDLwA':function(_0x493050,_0x4fc752){function _0x1695e6(_0x28093d,_0x19c006,_0x4d54f2,_0x517e3){return _0x2da8(_0x28093d-0xd6,_0x517e3);}return _0x8ef050[_0x1695e6(0x231,_0x4a9142._0x136c16,0x229,0x226)](_0x493050,_0x4fc752);}},_0x4e8173=_0xc16a1?function(){function _0x540db9(_0x14b54c,_0x43b1cb,_0x33ed2a,_0x4e3cba){return _0x2da8(_0x33ed2a-_0x2ec3b7._0x434c45,_0x43b1cb);}if(_0x158f23){if(_0x5ae355['IDLwA']('sQyMG','WbnNW')){const _0x3527c1={};for(const _0x19093b of _0x4331e5){const _0x2ab81f=_0x245ed3+'-'+_0x19093b,_0x51b1bb=_0x1f740f(_0x2ab81f);_0x51b1bb&&(_0x3527c1[_0x19093b]=_0x51b1bb);}return _0x3527c1;}else{const _0x141c5b=_0x158f23[_0x540db9(0x344,0x339,_0x1ba310._0x4a9311,_0x1ba310._0x3cb3bc)](_0x34c0d2,arguments);return _0x158f23=null,_0x141c5b;}}}:function(){};return _0xc16a1=![],_0x4e8173;};}()),_0x5b1591=_0xe53df0(this,function(){const _0x410fad={_0xbb5b56:0x2ba,_0x32042a:0x2b8,_0x5c7f6a:0x2c0,_0x79df1b:0x2a8,_0x3bd09c:0x2ba,_0x563f1b:0x2b9,_0x35d3ca:0x2ac,_0x486a12:0x2c2},_0x19db76={_0x51c40b:0x166};function _0x1f240c(_0x21f31b,_0xb2bd6b,_0x2dcba2,_0x11c71e){return _0x2da8(_0x2dcba2- -0x2ad,_0x21f31b);}const _0x54407f={};function _0x4af049(_0xc5cc88,_0x191a9b,_0x5ae3e0,_0x5b8366){return _0x2da8(_0xc5cc88-_0x19db76._0x51c40b,_0x5ae3e0);}_0x54407f[_0x4af049(_0x410fad._0xbb5b56,_0x410fad._0x32042a,0x2d9,0x2aa)]='(((.+)+)+)'+'+$';const _0x3bb1c3=_0x54407f;return _0x5b1591['toString']()[_0x4af049(_0x410fad._0x5c7f6a,0x2cd,_0x410fad._0x79df1b,0x2ba)](_0x3bb1c3['CHcIR'])['toString']()['constructo'+'r'](_0x5b1591)[_0x1f240c(-0x143,-0x15b,-0x153,-0x161)](_0x3bb1c3[_0x4af049(_0x410fad._0x3bd09c,_0x410fad._0x563f1b,_0x410fad._0x35d3ca,_0x410fad._0x486a12)]);});_0x5b1591();import{BufferJSON,initAuthCreds,proto}from'baileys';import _0x5284e3 from'better-sqlite3';export async function useSQLiteAuthState(_0x2c0382){const _0x325b96={_0x24bbc5:0x292,_0x133229:0x27b,_0x14c43e:0x284,_0x578e07:0x264,_0x3cd781:0x271,_0x19443f:0x184,_0x3416a9:0x18c,_0x4085cb:0x1a3,_0x5908cc:0x196,_0x5a22d7:0x167,_0x331ef6:0x28f,_0x2a55b6:0x27a,_0x300393:0x293,_0x19c3c2:0x2a6,_0x267014:0x294,_0x7c2a7:0x1ab,_0x369178:0x180,_0x19ab62:0x26f,_0x11c10d:0x272,_0x5c51f2:0x29b,_0x5c884d:0x2b2,_0x49c3c6:0x282,_0x2be552:0x281,_0x56b102:0x283,_0x342248:0x28a,_0x13a3fc:0x287,_0x5a929f:0x29f,_0x104fda:0x2a1,_0x55e5a8:0x294,_0x53ec95:0x25f,_0xc507fe:0x194,_0x30f678:0x189,_0x48367b:0x295,_0x2a6065:0x1ad,_0x27cb21:0x1ab,_0x1f3180:0x290,_0x2142b6:0x198,_0x5b8abc:0x299,_0x552e3e:0x287,_0x46de40:0x294,_0x2326bf:0x276,_0x4a6eee:0x270,_0xe6a638:0x266,_0x2268ab:0x186,_0x326e2b:0x18e,_0x4c2a36:0x17d,_0x289eef:0x296,_0x3872b2:0x2b4,_0x3b0f40:0x1b0,_0xe63cda:0x1aa,_0x409ac5:0x190,_0x3536de:0x1d5},_0x4e03d2={_0x47441e:0x52e,_0x55d3f2:0x538,_0x35cf3f:0x51b,_0x56815f:0x29b,_0x520776:0x2c0,_0x1fb0ac:0x2e0,_0x7fc012:0x2df,_0x312b2f:0x2ef,_0x2329a1:0x2d8,_0x135e6f:0x2c1,_0x384661:0x52c,_0x1af716:0x537,_0x2fd5af:0x534,_0x205917:0x4e5,_0x1f01d9:0x502,_0x3b30a2:0x2b3,_0x849173:0x29d,_0x37966d:0x526,_0x5d5163:0x514,_0x39df0f:0x4ff,_0x3b8bad:0x2d0,_0x13b02e:0x2e4,_0x3f76f1:0x2f9,_0x49d727:0x2e9,_0x55a332:0x2e7,_0x46311e:0x306,_0x138777:0x2c8,_0x2addfc:0x53b},_0x202aba={_0x244b38:0x125,_0x394031:0x138,_0x40af28:0x141,_0x161bd5:0x145,_0x223ffc:0x15a,_0x5c2532:0x151,_0x36defc:0x147,_0x38af2d:0x131,_0x35e3cb:0xa2,_0xb64d64:0x6e},_0x23e498={_0xcda7af:0x143},_0x41e0f0={_0x416b6c:0x80,_0x1e6915:0x71,_0x45fa79:0x8b,_0x2d8397:0x92,_0x2d6394:0xb0,_0x2af9f0:0x79,_0x56113b:0x84,_0x5ae751:0x31},_0x24a0da={_0x388b9d:0x27f,_0x20069c:0x13d},_0x59d1d4={_0x2e39ca:0x227},_0x52cd61={_0x547d0c:0x118,_0x1c3328:0x65,_0x5ddec1:0x3e,_0x5338fd:0x5a,_0x22878e:0x4f,_0x22b26c:0x55},_0x5d86ee={'uwSlF':_0x5c74dc(_0x325b96._0x24bbc5,0x288,0x283,_0x325b96._0x133229)+_0x5c74dc(_0x325b96._0x14c43e,0x278,_0x325b96._0x578e07,_0x325b96._0x3cd781)+'th\x20WHERE\x20k'+_0x479166(-_0x325b96._0x19443f,-_0x325b96._0x3416a9,-_0x325b96._0x4085cb,-_0x325b96._0x5908cc),'mVOUG':_0x479166(-0x1a1,-0x184,-_0x325b96._0x5a22d7,-0x194)+_0x5c74dc(0x2a0,_0x325b96._0x331ef6,_0x325b96._0x2a55b6,0x27b)+_0x5c74dc(0x2b4,0x2ae,0x2b5,0x297)+_0x5c74dc(_0x325b96._0x300393,_0x325b96._0x19c3c2,0x298,0x28e)+_0x5c74dc(_0x325b96._0x267014,0x289,0x29e,0x282)+_0x479166(-_0x325b96._0x7c2a7,-0x195,-0x188,-_0x325b96._0x369178),'uNARS':function(_0x119f48,_0x37ef07,_0x1ed919){return _0x119f48(_0x37ef07,_0x1ed919);},'FnXHA':_0x5c74dc(_0x325b96._0x19ab62,0x28e,0x2a1,_0x325b96._0x11c10d),'pyGJR':function(_0x24dc5d,_0x4d9752){return _0x24dc5d!==_0x4d9752;},'HmxDi':_0x5c74dc(_0x325b96._0x24bbc5,_0x325b96._0x5c51f2,_0x325b96._0x5c884d,_0x325b96._0x49c3c6),'FcOWV':_0x5c74dc(_0x325b96._0x2be552,_0x325b96._0x56b102,0x26f,_0x325b96._0x342248),'dWYXt':function(_0x202085,_0xafeeef){return _0x202085(_0xafeeef);},'vEnTp':function(_0x1b9a9d,_0x51c9f6){return _0x1b9a9d===_0x51c9f6;},'Axogd':'rIRSX','TVonU':_0x5c74dc(_0x325b96._0x13a3fc,0x287,_0x325b96._0x5a929f,_0x325b96._0x104fda),'HUuim':_0x5c74dc(_0x325b96._0x55e5a8,0x27e,_0x325b96._0x53ec95,0x27f),'usfii':_0x479166(-0x17a,-_0x325b96._0xc507fe,-_0x325b96._0x30f678,-0x198),'HmxVM':'BaHUs','MfyxS':function(_0x4288e2){return _0x4288e2();}};function _0x479166(_0x4230ff,_0x4914b3,_0x246f58,_0xd079a7){return _0x2da8(_0x4914b3- -0x2f5,_0xd079a7);}const _0x3fe07d=new _0x5284e3(_0x2c0382);_0x3fe07d[_0x5c74dc(_0x325b96._0x48367b,0x2a1,0x2a1,0x286)](_0x479166(-_0x325b96._0x2a6065,-_0x325b96._0x27cb21,-0x19f,-0x1b4)+_0x5c74dc(0x28b,0x2a0,0x29d,_0x325b96._0x1f3180)+'E\x20IF\x20NOT\x20E'+_0x479166(-0x1ba,-0x1a6,-_0x325b96._0x2142b6,-0x1c5)+_0x5c74dc(_0x325b96._0x5b8abc,0x2a8,0x2b8,_0x325b96._0x342248)+_0x5c74dc(0x28e,0x298,_0x325b96._0x552e3e,0x2b8)+_0x5c74dc(_0x325b96._0x46de40,_0x325b96._0x2326bf,_0x325b96._0x4a6eee,_0x325b96._0xe6a638)+'Y\x20KEY,\x0a\x20\x20\x20'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20v'+_0x479166(-_0x325b96._0x2268ab,-_0x325b96._0x326e2b,-_0x325b96._0x4c2a36,-0x187)+'NOT\x20NULL\x0a\x20'+_0x5c74dc(_0x325b96._0x289eef,_0x325b96._0x5b8abc,0x288,_0x325b96._0x3872b2)+'\x20\x20\x20');const _0x4ce53c=_0x37e0a7=>{const _0x1e3f83={_0x57533c:0x5c,_0x56dddf:0x2de},_0x309d14=_0x3fe07d['prepare'](_0x5d86ee[_0x19a810(_0x52cd61._0x547d0c,0x122,0x113,0x128)])['get'](_0x37e0a7);if(!_0x309d14)return null;function _0x3e2447(_0x27d76c,_0x4810b3,_0x22748a,_0x38da04){return _0x479166(_0x27d76c-0x1f3,_0x22748a-0x14a,_0x22748a-0x13f,_0x27d76c);}function _0x19a810(_0xeb0099,_0x50cfd2,_0x4979a3,_0x264a2c){return _0x479166(_0xeb0099-_0x1e3f83._0x57533c,_0x50cfd2-_0x1e3f83._0x56dddf,_0x4979a3-0x49,_0x264a2c);}const _0x3e37bc=JSON[_0x3e2447(-_0x52cd61._0x1c3328,-0x6c,-0x5e,-_0x52cd61._0x5ddec1)](_0x309d14[_0x3e2447(-0x5b,-0x66,-0x77,-0x89)],BufferJSON[_0x3e2447(-0x4b,-_0x52cd61._0x5338fd,-_0x52cd61._0x22878e,-_0x52cd61._0x22b26c)]);return _0x3e37bc;},_0x275431=(_0x55fd9b,_0x56a489)=>{function _0x2283e4(_0x5ebb4d,_0x462cad,_0x4bc42f,_0x47b304){return _0x479166(_0x5ebb4d-0x151,_0x5ebb4d-_0x59d1d4._0x2e39ca,_0x4bc42f-0x3a,_0x4bc42f);}const _0x37466f=JSON[_0x2283e4(_0x41e0f0._0x416b6c,0x70,_0x41e0f0._0x1e6915,_0x41e0f0._0x45fa79)](_0x56a489,BufferJSON[_0x2283e4(0x94,_0x41e0f0._0x2d8397,0x86,_0x41e0f0._0x2d6394)]);function _0x52e471(_0xd17e29,_0xcc22ec,_0x51e84a,_0x2c6163){return _0x5c74dc(_0x2c6163,_0x51e84a- -_0x24a0da._0x388b9d,_0x51e84a-_0x24a0da._0x20069c,_0x2c6163-0x9c);}_0x3fe07d[_0x2283e4(0x98,0x8c,0xa4,_0x41e0f0._0x2af9f0)](_0x5d86ee[_0x2283e4(0x91,0xb0,_0x41e0f0._0x56113b,0xa8)])[_0x52e471(0x32,0x50,_0x41e0f0._0x5ae751,0x3b)](_0x55fd9b,_0x37466f);};let _0x30ac96=_0x4ce53c(_0x479166(-_0x325b96._0x3b0f40,-_0x325b96._0xe63cda,-0x1c4,-_0x325b96._0x409ac5));function _0x5c74dc(_0x42628f,_0x60f10d,_0x2ab68f,_0x4afa55){return _0x2da8(_0x60f10d-_0x23e498._0xcda7af,_0x42628f);}return!_0x30ac96&&(_0x30ac96=_0x5d86ee[_0x479166(-0x1a0,-0x1b6,-_0x325b96._0x3536de,-0x1ac)](initAuthCreds),_0x5d86ee['uNARS'](_0x275431,_0x5d86ee['FnXHA'],_0x30ac96)),{'state':{'creds':_0x30ac96,'keys':{'get':async(_0x4d3e6e,_0x392fb9)=>{const _0x3adf6d={_0x18c9de:0x2fe};function _0x4e54fa(_0xae60f7,_0x2d6d53,_0x52002c,_0x26a7e7){return _0x5c74dc(_0x2d6d53,_0x52002c- -0x222,_0x52002c-0xc4,_0x26a7e7-0x15b);}const _0x29ad23={};function _0x3abe76(_0x32e1b1,_0x419b0,_0x23fd71,_0x54a818){return _0x479166(_0x32e1b1-0x45,_0x23fd71-_0x3adf6d._0x18c9de,_0x23fd71-0x7b,_0x419b0);}for(const _0x494353 of _0x392fb9){if(_0x5d86ee[_0x3abe76(_0x202aba._0x244b38,_0x202aba._0x394031,_0x202aba._0x40af28,0x140)](_0x5d86ee['HmxDi'],_0x5d86ee[_0x3abe76(0x158,0x13a,0x151,_0x202aba._0x161bd5)])){const _0x5ea535=_0x4d3e6e+'-'+_0x494353,_0x2c5ecb=_0x5d86ee[_0x3abe76(_0x202aba._0x223ffc,_0x202aba._0x5c2532,0x162,0x170)](_0x4ce53c,_0x5ea535);_0x2c5ecb&&(_0x29ad23[_0x494353]=_0x2c5ecb);}else _0x5d86ee[_0x3abe76(0x142,0x12f,_0x202aba._0x36defc,_0x202aba._0x38af2d)](_0x32b26f,_0x5d86ee[_0x4e54fa(0x78,_0x202aba._0x35e3cb,0x89,_0x202aba._0xb64d64)],_0x2be3f7);}return _0x29ad23;},'set':async _0x13079a=>{const _0x3c0001={_0x53bbb3:0x87},_0x7f200={_0x20f56e:0x36,_0x5361b9:0x74,_0x28741c:0x5e};function _0x286fa9(_0x77bbd9,_0xe775a6,_0x1ccb43,_0x59229b){return _0x5c74dc(_0x59229b,_0x77bbd9-_0x7f200._0x20f56e,_0x1ccb43-_0x7f200._0x5361b9,_0x59229b-_0x7f200._0x28741c);}function _0x4c57bd(_0x3c1959,_0x4d0b41,_0x272893,_0x5e3838){return _0x479166(_0x3c1959-_0x3c0001._0x53bbb3,_0x4d0b41-0x6bf,_0x272893-0x18,_0x3c1959);}if(_0x5d86ee['vEnTp'](_0x5d86ee['Axogd'],_0x5d86ee['TVonU'])){const _0x4ec071=_0x11f94f[_0x4c57bd(0x51d,_0x4e03d2._0x47441e,_0x4e03d2._0x55d3f2,0x52f)](_0x3c0a52,arguments);return _0x52d27a=null,_0x4ec071;}else for(const _0x21d1b1 in _0x13079a){if(_0x4c57bd(0x50f,0x51b,0x537,_0x4e03d2._0x35cf3f)===_0x5d86ee[_0x286fa9(0x2af,0x2a6,0x2c2,_0x4e03d2._0x56815f)]){const _0x2be468=_0x19d7e6['stringify'](_0xf2db9e,_0x131678[_0x286fa9(0x2db,_0x4e03d2._0x520776,_0x4e03d2._0x1fb0ac,0x2bb)]);_0x133096[_0x286fa9(_0x4e03d2._0x7fc012,0x2dc,0x2c1,_0x4e03d2._0x312b2f)](_0x5d86ee[_0x286fa9(_0x4e03d2._0x2329a1,0x2df,_0x4e03d2._0x135e6f,0x2da)])[_0x4c57bd(_0x4e03d2._0x384661,_0x4e03d2._0x1af716,_0x4e03d2._0x2fd5af,0x51a)](_0x5b38b9,_0x2be468);}else for(const _0x9e7e70 in _0x13079a[_0x21d1b1]){const _0x556de3=_0x21d1b1+'-'+_0x9e7e70,_0x1fefde=_0x13079a[_0x21d1b1][_0x9e7e70];if(_0x1fefde)_0x275431(_0x556de3,_0x1fefde);else{if(_0x5d86ee[_0x4c57bd(_0x4e03d2._0x205917,_0x4e03d2._0x1f01d9,0x50c,0x516)](_0x5d86ee[_0x286fa9(_0x4e03d2._0x3b30a2,0x2a0,0x2b8,_0x4e03d2._0x849173)],_0x5d86ee[_0x4c57bd(_0x4e03d2._0x37966d,0x513,_0x4e03d2._0x5d5163,_0x4e03d2._0x39df0f)]))_0x3fe07d['prepare'](_0x286fa9(_0x4e03d2._0x3b8bad,0x2c5,_0x4e03d2._0x13b02e,0x2c7)+_0x286fa9(0x2e9,0x2d5,_0x4e03d2._0x3f76f1,_0x4e03d2._0x49d727)+_0x286fa9(_0x4e03d2._0x55a332,_0x4e03d2._0x46311e,0x2f8,_0x4e03d2._0x138777))[_0x4c57bd(0x523,0x537,_0x4e03d2._0x2addfc,_0x4e03d2._0x2fd5af)](_0x556de3);else{if(_0x3fbc4c){const _0x59e3dd=_0x131ece['apply'](_0x31984b,arguments);return _0x551da6=null,_0x59e3dd;}}}}}}}},'saveCreds':()=>{_0x5d86ee['uNARS'](_0x275431,_0x5d86ee['FnXHA'],_0x30ac96);}};}export default useSQLiteAuthState;function _0x3506(){const _0x5ceafd=['ifzbtfvfuYaOpW','ndKXnJe3nKDOEun6va','rMnpv1y','sg14vK0','cIaGicaGicaGqW','y3jLzhm','uKvqtefdrsbjtG','CgfYC2u','C3rYAw5NAwz5','weLtvfmGyxv0Aa','m2jPqK1ADa','qNnXDK0','nteXnda5mhLlvgfRBW','mteXywXvBeHl','q0HJsvi','icaGicbRzxKGva','icaGicaGicKkia','revmrvrfiezstW','CgXpqKC','zfDzwhq','C2vHCMnO','BhfurM0','CMv2AxzLCG','uKvbveuGvefcta','zxHLyW','BvzpvuC','lca/kq','AenuEfq','CMvWBgfJzxi','zxKSihzHBhvLkq','yxbWBhK','icGkicaGicaGia','ChjLCgfYzq','ywX1zsburvHuia','rM5ysee','zxKGpsa/','mtrnEuPyr0W','ve8Gyxv0AcaOAW','ndyZnJGZmMnNzgHZBq','CNvU','uKuGA2v5id0GpW','nu9mCg5Atq','tsbHDxrOifDirq','su5trvjuie9sia','rvHuifbssu1buG','DMfSDwu','DwuGrLjptsbHDq','sfv1Aw0','ndy3otm0t3rkBvzi','ChLhsLi','DxDtBey','DxnMAwK','EuD5D2G','ouzJr0TTqG','mZCYntiWmZnOq0L0sLG','Du5buLm','twz5Efm','vvf5Axq','mZKZntHRtLLKDNK','mtu1mtzHthPkuvO','nte3mK1nqwnPrq','yM9tAgO','u0vmrunuihzHBa'];_0x3506=function(){return _0x5ceafd;};return _0x3506();}
|
package/dist/config-helper.cjs
CHANGED
|
@@ -1 +1,71 @@
|
|
|
1
|
-
(function(_0x14d344,_0x130f0c){const _0xd51dc1={_0xbb2752:0x102,_0x1b4379:0x11a,_0x16fce4:0x118,_0x3d0d12:0x12c,_0x56b320:0x214,_0x1198a1:0x121,_0x5a292a:0x24e,_0x5da6c9:0x1fc,_0x176801:0x225,_0x1f859f:0x249,_0x5c4fb6:0x227,_0x3fc1d3:0x211},_0x10da59={_0x5ae453:0x2b9},_0x1ce46e={_0x4287d8:0x98};function _0x7c3240(_0x30f39a,_0x33ed92,_0xdf4667,_0x1752d5){return _0x530f(_0x1752d5-_0x1ce46e._0x4287d8,_0x30f39a);}const _0x580f4b=_0x14d344();function _0xaa4e12(_0x3a38ad,_0x2c1456,_0x2a5c2a,_0x7dd862){return _0x530f(_0x3a38ad- -_0x10da59._0x5ae453,_0x2c1456);}while(!![]){try{const _0x581d42=-parseInt(_0x7c3240(_0xd51dc1._0xbb2752,0xf3,_0xd51dc1._0x1b4379,_0xd51dc1._0x16fce4))/(0x186e+0x1a5*0x7+-0x23f0)+parseInt(_0x7c3240(0x138,0x11b,0x116,_0xd51dc1._0x3d0d12))/(-0x1*-0x118d+-0x41c*-0x6+-0x2a33)+parseInt(_0xaa4e12(-0x20c,-0x1f5,-0x1ef,-_0xd51dc1._0x56b320))/(0xa14+-0x5d7+-0x21d*0x2)+parseInt(_0x7c3240(0x13e,0x10f,0x10b,_0xd51dc1._0x1198a1))/(0x1*0x16f7+0x403*-0x5+-0x2e4)+-parseInt(_0xaa4e12(-0x240,-0x239,-0x259,-_0xd51dc1._0x5a292a))/(-0xe*-0x6+0x1a3*-0xf+0x1*0x183e)*(parseInt(_0xaa4e12(-0x211,-0x1ef,-0x22c,-_0xd51dc1._0x5da6c9))/(0x24a1*0x1+0x3*0x45d+0x31b2*-0x1))+-parseInt(_0xaa4e12(-0x233,-_0xd51dc1._0x176801,-0x23f,-_0xd51dc1._0x1f859f))/(-0x4bb+-0x565*0x4+0x1a56)+-parseInt(_0xaa4e12(-0x21b,-_0xd51dc1._0x5c4fb6,-0x241,-_0xd51dc1._0x3fc1d3))/(0x9dd+-0x2fe*-0xb+-0x2abf*0x1)*(-parseInt(_0xaa4e12(-0x22d,-0x234,-0x221,-0x214))/(0x159e*0x1+-0x167*-0x11+0x33*-0xe4));if(_0x581d42===_0x130f0c)break;else _0x580f4b['push'](_0x580f4b['shift']());}catch(_0x32499b){_0x580f4b['push'](_0x580f4b['shift']());}}}(_0x390d,0x3*-0x5e53e+0x76a2*0x1f+0x10c390));const _0x4a8bda=(function(){const _0x58244f={_0x4155db:0x172,_0xe25c29:0x18d,_0x40ae6b:0x25b,_0x3a804f:0x260},_0x4e941a={_0x2f6372:0xfd,_0x8bf0bb:0xe6},_0x2436a2={_0x41d65b:0x310},_0x5483e9={};function _0x5ce478(_0x1e34ef,_0x469208,_0x1a7b23,_0x193883){return _0x530f(_0x1a7b23-0x10e,_0x193883);}_0x5483e9[_0x5ce478(0x15f,_0x58244f._0x4155db,0x185,_0x58244f._0xe25c29)]=function(_0x53f444,_0x361497){return _0x53f444!==_0x361497;},_0x5483e9[_0x365c31(-_0x58244f._0x40ae6b,-_0x58244f._0x3a804f,-0x26f,-0x261)]='xZWnG';const _0x437e71=_0x5483e9;function _0x365c31(_0x5c4ff3,_0x3697f5,_0x35ced9,_0x1b2e0f){return _0x530f(_0x3697f5- -_0x2436a2._0x41d65b,_0x1b2e0f);}let _0x15a47b=!![];return function(_0x4203b1,_0x4e953e){const _0x233375={_0x2818b2:0x331,_0x3eadfe:0x325,_0x3ce25c:0x312,_0x101d73:0x32f,_0x2c0c40:0x31a,_0x5649de:0x27,_0x1d625a:0x14,_0x3e13b1:0x32f,_0x2ea150:0x35b,_0x5b815d:0x348,_0x43e017:0x366,_0x35f6f1:0x32a},_0x4b0fc1={'obKIN':function(_0x4924a6,_0x3c41e6){function _0x5e4a14(_0x361318,_0x10aef0,_0xe295cf,_0x4aa449){return _0x530f(_0xe295cf- -0x15d,_0x4aa449);}return _0x437e71[_0x5e4a14(-_0x4e941a._0x2f6372,-0xcf,-_0x4e941a._0x8bf0bb,-0xef)](_0x4924a6,_0x3c41e6);},'KSXxg':_0x437e71['RFmBf']},_0x57cf15=_0x15a47b?function(){const _0x148e79={_0x1b2e61:0x3b9},_0xc79454={_0x2b5ae0:0xc0};function _0x57f07f(_0x42af21,_0x466111,_0x5f051a,_0x4bdd08){return _0x530f(_0x42af21- -_0xc79454._0x2b5ae0,_0x5f051a);}function _0x457fb0(_0x2c8d5b,_0x1e1ca5,_0x29bac8,_0x55d7c7){return _0x530f(_0x55d7c7- -_0x148e79._0x1b2e61,_0x29bac8);}if(_0x4e953e){if(_0x4b0fc1[_0x457fb0(-_0x233375._0x2818b2,-0x2ff,-_0x233375._0x3eadfe,-0x30e)](_0x4b0fc1['KSXxg'],_0x4b0fc1['KSXxg']))return _0x3412d6[_0x457fb0(-0x307,-_0x233375._0x3ce25c,-_0x233375._0x101d73,-_0x233375._0x2c0c40)](_0xc32e43,_0x57f07f(-0xc,-_0x233375._0x5649de,0x12,_0x233375._0x1d625a)+_0x457fb0(-_0x233375._0x3e13b1,-_0x233375._0x2ea150,-_0x233375._0x5b815d,-0x34d));else{const _0x58e73b=_0x4e953e[_0x457fb0(-0x354,-_0x233375._0x43e017,-_0x233375._0x35f6f1,-0x349)](_0x4203b1,arguments);return _0x4e953e=null,_0x58e73b;}}}:function(){};return _0x15a47b=![],_0x57cf15;};}()),_0x6bdef1=_0x4a8bda(this,function(){const _0x9ab925={_0x20e64f:0x466,_0x6ed75d:0x440,_0x4c586f:0x448,_0x17e9ea:0x9,_0xf6dd75:0xd,_0x107f98:0x439,_0x4e4a81:0x451,_0x3ba767:0xe,_0x25c8ef:0x2,_0x1f3622:0x20,_0x345fff:0x459,_0x3a392f:0x43a,_0x461757:0x17,_0x59e1f4:0x22,_0x27d2cd:0x2,_0x46c07e:0x457},_0x3bc6b6={_0x1d7fe2:0x7a},_0x23f6ca={};_0x23f6ca[_0x199a37(_0x9ab925._0x20e64f,_0x9ab925._0x6ed75d,_0x9ab925._0x4c586f,0x423)]=_0x354b6b(_0x9ab925._0x17e9ea,0x10,_0x9ab925._0xf6dd75,0x2b)+'+$';function _0x199a37(_0xff711d,_0x552e7a,_0x2d5ac2,_0x40b339){return _0x530f(_0x552e7a-0x3d3,_0x40b339);}function _0x354b6b(_0x1fd2cc,_0x295b81,_0x59b19e,_0x59d752){return _0x530f(_0x59b19e- -_0x3bc6b6._0x1d7fe2,_0x1fd2cc);}const _0x5a3c6c=_0x23f6ca;return _0x6bdef1[_0x199a37(_0x9ab925._0x107f98,0x44d,0x43b,_0x9ab925._0x4e4a81)]()[_0x354b6b(0x8,_0x9ab925._0x3ba767,_0x9ab925._0x25c8ef,_0x9ab925._0x1f3622)](_0x5a3c6c[_0x199a37(_0x9ab925._0x345fff,_0x9ab925._0x6ed75d,_0x9ab925._0x3a392f,0x44d)])[_0x199a37(0x431,0x44d,0x453,0x44b)]()[_0x354b6b(-_0x9ab925._0x461757,-0x2e,-0x9,_0x9ab925._0xf6dd75)+'r'](_0x6bdef1)[_0x354b6b(-_0x9ab925._0x59e1f4,_0x9ab925._0x27d2cd,0x2,0x10)](_0x5a3c6c[_0x199a37(0x447,_0x9ab925._0x6ed75d,0x450,_0x9ab925._0x46c07e)]);});_0x6bdef1();function _0x530f(_0x4a2144,_0x281bed){const _0x13d00d=_0x390d();return _0x530f=function(_0xc99ee8,_0xbf5e76){_0xc99ee8=_0xc99ee8-(-0x1251+0x2492+0x2*-0x8eb);let _0x5d3e8c=_0x13d00d[_0xc99ee8];if(_0x530f['idWVLY']===undefined){var _0xcf8dc9=function(_0x3ebb7f){const _0x1aa47c='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x172a54='',_0x5702bf='',_0x3fc495=_0x172a54+_0xcf8dc9;for(let _0x332425=-0x1cfb*-0x1+0x13f8+0x3*-0x1051,_0x457244,_0x33474f,_0x3ab702=0xccf+0xda9*-0x1+0x2*0x6d;_0x33474f=_0x3ebb7f['charAt'](_0x3ab702++);~_0x33474f&&(_0x457244=_0x332425%(-0x329*-0x1+0xc*0x263+-0x1fc9)?_0x457244*(-0x10e4+-0xc*0x243+0x6d*0x68)+_0x33474f:_0x33474f,_0x332425++%(0x1d29*0x1+0x223*-0x3+-0x16bc))?_0x172a54+=_0x3fc495['charCodeAt'](_0x3ab702+(-0x4*-0x7e1+0x8ee+-0x2868))-(0x200*0xe+-0x194c+-0x2aa)!==-0xe7f+0x1bb*0x5+0x5d8?String['fromCharCode'](0x2593+-0x1321*0x1+0x1173*-0x1&_0x457244>>(-(0x5*-0x62b+0x1b2c*0x1+0x3ad)*_0x332425&-0x2f*0x53+-0x2*0x8ae+0x209f)):_0x332425:-0x2*0xbcb+-0x25d1*0x1+0x3d67){_0x33474f=_0x1aa47c['indexOf'](_0x33474f);}for(let _0x4b5ec9=0x1096+0x5*0x28+-0x72*0x27,_0x3ca5a5=_0x172a54['length'];_0x4b5ec9<_0x3ca5a5;_0x4b5ec9++){_0x5702bf+='%'+('00'+_0x172a54['charCodeAt'](_0x4b5ec9)['toString'](0x7ed*0x3+0x2*0xb74+-0x2e9f))['slice'](-(0x1*-0x76d+-0x5*-0x68d+-0x1952));}return decodeURIComponent(_0x5702bf);};_0x530f['jdWHvL']=_0xcf8dc9,_0x4a2144=arguments,_0x530f['idWVLY']=!![];}const _0x23c524=_0x13d00d[0x1*-0xb03+-0x108e*0x1+-0x1*-0x1b91],_0x59e84e=_0xc99ee8+_0x23c524,_0x26993d=_0x4a2144[_0x59e84e];if(!_0x26993d){const _0x3c9292=function(_0x56c4a2){this['cZrPUx']=_0x56c4a2,this['HeTvTn']=[-0x1d33+-0x1*0xb9c+0x4*0xa34,0x398+-0x1d14*0x1+-0x1*-0x197c,0x267f+0x5*0x6e5+-0x48f8],this['dtcyKj']=function(){return'newState';},this['NyRDkA']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['qirvJt']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x3c9292['prototype']['PkCcgh']=function(){const _0x3a653f=new RegExp(this['NyRDkA']+this['qirvJt']),_0x3100f3=_0x3a653f['test'](this['dtcyKj']['toString']())?--this['HeTvTn'][0x47*0x3b+-0xec5*0x2+0xd2e]:--this['HeTvTn'][-0x573+0x7e9+-0x2a*0xf];return this['tgkfoC'](_0x3100f3);},_0x3c9292['prototype']['tgkfoC']=function(_0x42c1dc){if(!Boolean(~_0x42c1dc))return _0x42c1dc;return this['cKQyAs'](this['cZrPUx']);},_0x3c9292['prototype']['cKQyAs']=function(_0xc3e9dc){for(let _0x4e88a5=-0x731*-0x4+-0xa5b+-0x1269*0x1,_0x139552=this['HeTvTn']['length'];_0x4e88a5<_0x139552;_0x4e88a5++){this['HeTvTn']['push'](Math['round'](Math['random']())),_0x139552=this['HeTvTn']['length'];}return _0xc3e9dc(this['HeTvTn'][0x1cf*-0x1+-0xcbb+0xe8a]);},new _0x3c9292(_0x530f)['PkCcgh'](),_0x5d3e8c=_0x530f['jdWHvL'](_0x5d3e8c),_0x4a2144[_0x59e84e]=_0x5d3e8c;}else _0x5d3e8c=_0x26993d;return _0x5d3e8c;},_0x530f(_0x4a2144,_0x281bed);}const fs=require('fs'),path=require(_0x8e7405(0x19c,0x19d,0x1bf,0x1a8)),{fileURLToPath}=require(_0x8e7405(0x1bc,0x194,0x1b5,0x19b)),__filename=fileURLToPath(import.meta['url']),__dirname=path[_0x8e7405(0x198,0x174,0x1a8,0x187)](__filename);function initConfig(_0x16ff81=process['cwd']()){const _0x2845d0={_0x4e0bfd:0x2e,_0xa0a5f4:0x44,_0x7e1d0d:0xe,_0xf1ee4f:0x26,_0x45c827:0x37,_0x142477:0x5,_0x236c6e:0x11,_0x4884c1:0x2d,_0x2bf6cb:0x15,_0x6e2cb2:0xe,_0x2651d9:0x1f,_0x32a8e5:0x19,_0x1cc65c:0x34,_0x20d027:0x4c,_0x430c8b:0x54,_0x6b720:0xb,_0x416d7d:0x22,_0x28187f:0xc,_0x512e73:0x6,_0x14380d:0xe,_0x2a4e0d:0x1,_0x6fabe6:0x0,_0x208a01:0xf,_0x1b222f:0x3,_0x2bbab9:0x17,_0xb65292:0x19,_0x2cffbb:0x9,_0x3ee075:0x6,_0x11ef13:0x25,_0x2ed913:0x4,_0x2c8b87:0x20,_0x2a95e0:0x1c,_0x4387fa:0x3,_0x236c62:0x1b,_0x434a83:0x0,_0x426f83:0x1d,_0x1c4a4b:0x11,_0x29ef74:0x9,_0x5455dc:0x28,_0x5b1b22:0x1d,_0x4248d0:0x15,_0x5aadfa:0xa,_0x52f076:0x10,_0x21f16e:0x35,_0x23edbb:0x1a,_0x188e1f:0x4d,_0x18f9c7:0xe,_0x11a415:0x29,_0x201b6a:0x41,_0x1b5f6a:0x23,_0x4a63bc:0x26,_0x105138:0x22,_0x3e9bb4:0x2,_0x3cbce4:0x13,_0x1ec00e:0x2,_0x2f8830:0x6,_0x438553:0x20,_0x36046d:0xb,_0x33b03c:0xe,_0x2e1e9b:0x3,_0x3069cb:0x45,_0x2a04e1:0x2f,_0xe4e720:0x1a,_0x5b52dd:0x2e,_0x169185:0x36,_0x47a498:0x26,_0x31cf11:0x1c,_0x1e75f6:0x1a,_0x1ee951:0x22,_0x363fa5:0x35,_0x4a06b4:0x1a,_0x1d1ef8:0x25,_0x54d292:0x1e,_0x3c0d69:0x55,_0x788ca2:0x2b,_0x582ed7:0x35,_0x5f2c03:0x8,_0x1ff166:0x2c,_0x1f27de:0x24,_0x3191eb:0x1b,_0x56807f:0x8,_0x5be501:0x5,_0x2b8fb2:0x7,_0x2379dd:0x23,_0x113548:0x20,_0x4e9f78:0x21,_0x29d621:0x10},_0x30bc62={};function _0x1ad6ee(_0xf69bd1,_0x533dca,_0x4b9d0f,_0x19009b){return _0x1746e0(_0xf69bd1-0x1cd,_0x533dca-0xf3,_0x19009b- -0x15d,_0x533dca);}_0x30bc62[_0x1ad6ee(-_0x2845d0._0x4e0bfd,-_0x2845d0._0xa0a5f4,-_0x2845d0._0x7e1d0d,-_0x2845d0._0xf1ee4f)]='wa-api.con'+_0x1ed41f(-0x2d,-_0x2845d0._0x45c827,-0x35,-_0x2845d0._0x45c827);function _0x1ed41f(_0x4dfa6f,_0x1c1920,_0x94d5ed,_0x3d87df){return _0x8e7405(_0x4dfa6f-0x1a2,_0x1c1920-0x1bf,_0x3d87df,_0x1c1920- -0x1b4);}_0x30bc62[_0x1ad6ee(0x1b,_0x2845d0._0x142477,0x5,-0xb)]=_0x1ed41f(0x10,-_0x2845d0._0x236c6e,-_0x2845d0._0x4884c1,_0x2845d0._0x2bf6cb)+_0x1ad6ee(-0x32,-0x30,-0x1a,-_0x2845d0._0x6e2cb2)+_0x1ed41f(-0x17,-_0x2845d0._0x2651d9,-_0x2845d0._0xf1ee4f,-_0x2845d0._0x32a8e5)+_0x1ad6ee(-_0x2845d0._0x1cc65c,-_0x2845d0._0x20d027,-_0x2845d0._0x430c8b,-0x39),_0x30bc62[_0x1ed41f(_0x2845d0._0x6b720,0x12,_0x2845d0._0x416d7d,0x20)]=_0x1ed41f(-0x1d,-0x14,0xe,-0x35),_0x30bc62[_0x1ed41f(-0x16,0xf,0x18,0x2d)]=_0x1ed41f(-0x18,-0x11,-0x30,-0x32)+_0x1ad6ee(_0x2845d0._0x28187f,-_0x2845d0._0x512e73,-_0x2845d0._0x14380d,_0x2845d0._0x2a4e0d)+_0x1ad6ee(_0x2845d0._0x6fabe6,_0x2845d0._0x4e0bfd,0x0,_0x2845d0._0x208a01)+_0x1ed41f(-0x11,_0x2845d0._0x1b222f,0x26,-_0x2845d0._0x2bbab9),_0x30bc62[_0x1ad6ee(-_0x2845d0._0xb65292,-_0x2845d0._0x2cffbb,_0x2845d0._0x3ee075,-0x1c)]=_0x1ed41f(_0x2845d0._0x11ef13,_0x2845d0._0x2ed913,0x10,_0x2845d0._0x2c8b87)+'t\x20die\x20Conf'+'ig\x20jetzt\x20n'+_0x1ed41f(-_0x2845d0._0x2a95e0,-_0x2845d0._0x4387fa,-0x11,_0x2845d0._0x236c62)+_0x1ad6ee(0x3,-_0x2845d0._0x2ed913,-0x38,-0x23)+_0x1ad6ee(_0x2845d0._0x142477,_0x2845d0._0x434a83,-_0x2845d0._0x426f83,-_0x2845d0._0x1c4a4b),_0x30bc62['ThrLN']='ewPjT';const _0x2e3c0d=_0x30bc62,_0x54d3b4=path[_0x1ed41f(-_0x2845d0._0x29ef74,-_0x2845d0._0x2ed913,0xc,0x1b)](_0x16ff81,_0x2e3c0d['DGEDV']);if(fs[_0x1ed41f(-0x30,-_0x2845d0._0x1cc65c,-_0x2845d0._0x5455dc,-_0x2845d0._0x5b1b22)](_0x54d3b4)){console[_0x1ed41f(0x20,-0x2,-0x28,-_0x2845d0._0xb65292)](_0x2e3c0d[_0x1ed41f(_0x2845d0._0x4248d0,-_0x2845d0._0x5aadfa,_0x2845d0._0x52f076,-0x22)]);const _0x58a85d={};return _0x58a85d[_0x1ed41f(-0x39,-_0x2845d0._0x21f16e,-_0x2845d0._0x23edbb,-_0x2845d0._0x188e1f)]=!![],_0x58a85d[_0x1ed41f(0x10,-_0x2845d0._0x28187f,0x13,0x13)]=_0x54d3b4,_0x58a85d;}const _0x21e9a6=path[_0x1ed41f(-0x25,-_0x2845d0._0x2ed913,_0x2845d0._0x18f9c7,0xb)](__dirname,_0x2e3c0d[_0x1ad6ee(-_0x2845d0._0x11a415,-_0x2845d0._0x201b6a,-_0x2845d0._0x1b5f6a,-_0x2845d0._0x4a63bc)]);try{const _0xfece30=fs[_0x1ad6ee(-0xc,-0x25,-_0x2845d0._0x2ed913,-0x8)+'nc'](_0x21e9a6,_0x2e3c0d[_0x1ad6ee(_0x2845d0._0x105138,0xf,-0x2,0x11)]);fs[_0x1ad6ee(-_0x2845d0._0x3e9bb4,-0x3,_0x2845d0._0x3cbce4,0xb)+'ync'](_0x54d3b4,_0xfece30,_0x2e3c0d['LLhSI']),console[_0x1ad6ee(_0x2845d0._0x3cbce4,-0x28,0x22,-0x3)](_0x2e3c0d['VLryK'],_0x54d3b4),console[_0x1ed41f(-0x3,-_0x2845d0._0x1ec00e,-0x7,-0x1d)](_0x2e3c0d[_0x1ed41f(-0x16,-0x1b,-_0x2845d0._0x2f8830,-_0x2845d0._0x23edbb)]);const _0x372306={};return _0x372306['exists']=![],_0x372306[_0x1ed41f(0x4,-_0x2845d0._0x438553,_0x2845d0._0x512e73,-0x14)]=!![],_0x372306[_0x1ed41f(_0x2845d0._0x36046d,-0xc,-0x17,-_0x2845d0._0x33b03c)]=_0x54d3b4,_0x372306;}catch(_0x5c03d4){if(_0x2e3c0d['ThrLN']!==_0x2e3c0d['ThrLN']){const _0x7694f9=_0x3f2842[_0x1ed41f(-_0x2845d0._0x236c6e,-0x4,-0xa,-_0x2845d0._0x2e1e9b)](_0x3d60e3,_0x2e3c0d['DGEDV']);if(_0x54c010[_0x1ed41f(-_0x2845d0._0x3069cb,-0x34,-0x2c,-0x1d)](_0x7694f9)){_0x1a3545['log'](_0x2e3c0d[_0x1ad6ee(0xd,-0x1d,-_0x2845d0._0x2a04e1,-0xb)]);const _0x5968a4={};return _0x5968a4[_0x1ad6ee(-_0x2845d0._0xe4e720,-_0x2845d0._0x5b52dd,-0x3e,-_0x2845d0._0x169185)]=!![],_0x5968a4[_0x1ed41f(-_0x2845d0._0x47a498,-_0x2845d0._0x28187f,-0x17,-0x30)]=_0x7694f9,_0x5968a4;}const _0x5108b3=_0x12150a[_0x1ad6ee(-_0x2845d0._0x28187f,-0x6,-0x2b,-0x5)](_0x1d176a,'wa-api.con'+'fig.js');try{const _0xfe9fb5=_0x12e75c[_0x1ad6ee(-_0x2845d0._0x31cf11,0x10,-0x18,-0x8)+'nc'](_0x5108b3,_0x2e3c0d['LLhSI']);_0x188c6e['writeFileS'+_0x1ad6ee(-_0x2845d0._0x1e75f6,-0x39,-0x18,-_0x2845d0._0x1ee951)](_0x7694f9,_0xfe9fb5,_0x2e3c0d[_0x1ed41f(_0x2845d0._0x363fa5,0x12,-0x6,_0x2845d0._0x2bbab9)]),_0x490add[_0x1ad6ee(-0x6,-0x1c,-_0x2845d0._0x4a06b4,-0x3)](_0x2e3c0d['VLryK'],_0x7694f9),_0x1dbd94['log'](_0x2e3c0d[_0x1ad6ee(-_0x2845d0._0x201b6a,-_0x2845d0._0x1d1ef8,-_0x2845d0._0x54d292,-0x1c)]);const _0x109233={};return _0x109233[_0x1ed41f(-_0x2845d0._0x3c0d69,-0x35,-_0x2845d0._0x236c6e,-_0x2845d0._0x788ca2)]=![],_0x109233[_0x1ad6ee(-_0x2845d0._0x582ed7,-0x3f,-_0x2845d0._0x2ed913,-0x21)]=!![],_0x109233['path']=_0x7694f9,_0x109233;}catch(_0x34477a){_0xf882a[_0x1ad6ee(0x7,_0x2845d0._0x11ef13,0x2d,_0x2845d0._0x5f2c03)]('❌\x20Fehler\x20b'+'eim\x20Erstel'+_0x1ed41f(-0x1d,-0x1e,-_0x2845d0._0x788ca2,-_0x2845d0._0x2a95e0)+_0x1ad6ee(-0x1b,-0x14,-0x38,-0x32),_0x34477a[_0x1ed41f(_0x2845d0._0x1ee951,0x7,_0x2845d0._0x1ec00e,_0x2845d0._0x1ff166)]);const _0x32addf={};return _0x32addf[_0x1ed41f(-_0x2845d0._0x416d7d,-0x35,-0x34,-0x30)]=![],_0x32addf[_0x1ed41f(-0x10,-0x20,-0x2f,-0x25)]=![],_0x32addf['error']=_0x34477a[_0x1ad6ee(_0x2845d0._0x1f27de,-0xa,0xd,_0x2845d0._0x3ee075)],_0x32addf;}}else{console[_0x1ad6ee(_0x2845d0._0x3191eb,0xb,_0x2845d0._0x5f2c03,_0x2845d0._0x56807f)](_0x1ad6ee(-0xb,-_0x2845d0._0x5be501,-0x35,-0x16)+'eim\x20Erstel'+'len\x20der\x20Co'+'nfig:',_0x5c03d4[_0x1ed41f(0x23,_0x2845d0._0x2b8fb2,-0x14,_0x2845d0._0x2379dd)]);const _0x45ee91={};return _0x45ee91['exists']=![],_0x45ee91[_0x1ed41f(-0x22,-_0x2845d0._0x113548,-0x10,0x0)]=![],_0x45ee91['error']=_0x5c03d4[_0x1ed41f(_0x2845d0._0x4e9f78,_0x2845d0._0x2b8fb2,_0x2845d0._0x29d621,0x25)],_0x45ee91;}}}async function loadConfig(_0x4c9576=process[_0x8e7405(0x190,0x1aa,0x16e,0x190)]()){const _0x1e5c5d={_0x2babe7:0x6e,_0x930623:0x79,_0x467582:0x9c,_0x36d9f6:0xbe,_0xe1b426:0xbf,_0x370a06:0x7c,_0x39c15f:0x94,_0x108cc9:0x9f,_0x487eb5:0x66,_0x581b3c:0x8a,_0x3c0526:0x65,_0x3335ba:0xd4,_0x158a4a:0xe3,_0x5963eb:0xea,_0x1b05dd:0xe8,_0x18cf59:0xda,_0x373f87:0x69,_0x4c9f06:0x4d,_0x452f7d:0x64,_0x1105f9:0xfe,_0x2f0272:0xfd,_0x48113b:0x11d,_0x3728b1:0x110,_0x49cd67:0x75,_0x19f638:0x63,_0xaae768:0x85,_0x27bf74:0x9f,_0x31b99d:0xb8,_0x35fe49:0x7d,_0x4598bc:0x9a,_0x4b2aca:0x11a,_0x5b9065:0x13c,_0x197ab7:0xa1,_0x25137b:0x7b,_0x49f351:0x66,_0x3fbf41:0xd6,_0x3e51b8:0xd4,_0x11a5e6:0xaf,_0x534c9f:0xc3,_0x48d74b:0x118,_0x5987aa:0xe5,_0x32810d:0x107,_0x5d0d9f:0x61,_0x3adabc:0x4d,_0x349f20:0x73,_0x774cb:0x74,_0x47902c:0x8c,_0x24bc5c:0x52,_0x24a9d6:0x128,_0x57c208:0x11f,_0x4ed7e3:0x8e,_0x37b2e5:0x8d,_0x2c07c4:0xd6},_0x163586={_0x427e27:0x42,_0x28e30c:0x13c,_0x4b21e3:0x228},_0x50466b={_0x4de990:0x13b,_0x4c0685:0xb8},_0x24f553={};_0x24f553[_0x4f0c67(-_0x1e5c5d._0x2babe7,-0x5a,-0x75,-_0x1e5c5d._0x930623)]=_0x4f0c67(-_0x1e5c5d._0x467582,-_0x1e5c5d._0x36d9f6,-_0x1e5c5d._0xe1b426,-0xac)+_0x4f0c67(-_0x1e5c5d._0x370a06,-_0x1e5c5d._0x39c15f,-0x9b,-_0x1e5c5d._0x108cc9)+'\x20der\x20Confi'+'g,\x20verwend'+'e\x20Defaults'+':';function _0x27cd83(_0x3cc404,_0x2486df,_0x3b1ead,_0x2434ab){return _0x1746e0(_0x3cc404-_0x50466b._0x4de990,_0x2486df-_0x50466b._0x4c0685,_0x2486df- -0x53,_0x3b1ead);}function _0x4f0c67(_0x30b950,_0x1e8d95,_0x907ff3,_0x2763ab){return _0x8e7405(_0x30b950-_0x163586._0x427e27,_0x1e8d95-_0x163586._0x28e30c,_0x1e8d95,_0x30b950- -_0x163586._0x4b21e3);}_0x24f553[_0x4f0c67(-_0x1e5c5d._0x487eb5,-_0x1e5c5d._0x581b3c,-0x64,-_0x1e5c5d._0x3c0526)]=function(_0x20bdc4,_0x571737){return _0x20bdc4===_0x571737;},_0x24f553[_0x27cd83(_0x1e5c5d._0x3335ba,_0x1e5c5d._0x158a4a,0xd8,0x100)]=_0x27cd83(0xf9,0x10a,0x11f,0x107),_0x24f553[_0x27cd83(_0x1e5c5d._0x5963eb,0xfb,_0x1e5c5d._0x1b05dd,_0x1e5c5d._0x18cf59)]=_0x4f0c67(-_0x1e5c5d._0x373f87,-_0x1e5c5d._0x4c9f06,-_0x1e5c5d._0x452f7d,-0x78)+_0x27cd83(0xd9,_0x1e5c5d._0x1105f9,0xed,_0x1e5c5d._0x2f0272)+':',_0x24f553[_0x27cd83(_0x1e5c5d._0x48113b,0x11c,0x133,_0x1e5c5d._0x3728b1)]=_0x4f0c67(-_0x1e5c5d._0x49cd67,-0x57,-_0x1e5c5d._0x19f638,-0x5b),_0x24f553['AKUMo']='VIBLB',_0x24f553[_0x4f0c67(-0xa2,-0xb3,-0xa7,-_0x1e5c5d._0xaae768)]=_0x4f0c67(-_0x1e5c5d._0x27bf74,-0xae,-0x8e,-_0x1e5c5d._0x31b99d)+_0x4f0c67(-_0x1e5c5d._0x35fe49,-_0x1e5c5d._0x4598bc,-0x83,-0x93);const _0x13622c=_0x24f553,_0x18318d=path['join'](_0x4c9576,_0x27cd83(0x119,_0x1e5c5d._0x4b2aca,_0x1e5c5d._0x5b9065,0x108)+_0x4f0c67(-0xab,-0xc8,-0x9e,-_0x1e5c5d._0x197ab7));try{if(_0x13622c['sSfzv'](_0x13622c[_0x4f0c67(-0x9a,-0xaf,-_0x1e5c5d._0x25137b,-0xb6)],_0x4f0c67(-0x86,-0xa5,-0x9b,-_0x1e5c5d._0x49f351))){if(_0x48a728){const _0x271ba7=_0x3a9619[_0x27cd83(0xde,_0x1e5c5d._0x3fbf41,_0x1e5c5d._0x3e51b8,0xcc)](_0x454756,arguments);return _0x199969=null,_0x271ba7;}}else{if(fs[_0x4f0c67(-0xa8,-_0x1e5c5d._0x11a5e6,-0xb3,-_0x1e5c5d._0x534c9f)](_0x18318d)){const {waApiConfig:_0x23bc70}=await import(_0x27cd83(0xd1,0xf3,0x10e,_0x1e5c5d._0x48d74b)+_0x18318d);return console[_0x27cd83(_0x1e5c5d._0x5987aa,_0x1e5c5d._0x32810d,0x10b,0x121)](_0x13622c['tLKGl'],_0x18318d),_0x23bc70;}}}catch(_0x465592){_0x13622c[_0x4f0c67(-_0x1e5c5d._0x5d0d9f,-_0x1e5c5d._0x3adabc,-_0x1e5c5d._0x349f20,-0x41)]!==_0x13622c[_0x4f0c67(-0x7a,-0x8b,-0x82,-0x79)]?console[_0x4f0c67(-_0x1e5c5d._0x774cb,-_0x1e5c5d._0x47902c,-0x64,-_0x1e5c5d._0x24bc5c)](_0x13622c['HGZfc'],_0x465592[_0x27cd83(_0x1e5c5d._0x1105f9,0x110,_0x1e5c5d._0x24a9d6,_0x1e5c5d._0x57c208)]):_0x38c64a[_0x4f0c67(-0x74,-_0x1e5c5d._0x3c0526,-_0x1e5c5d._0x4ed7e3,-_0x1e5c5d._0x37b2e5)](_0x13622c[_0x27cd83(0xf5,0x10f,0x10b,0x127)],_0x2e2d16['message']);}const {waApiConfig:_0x327f29}=await import(_0x13622c[_0x27cd83(0xda,0xdb,_0x1e5c5d._0x2c07c4,0xd6)]);return _0x327f29;}function _0x8e7405(_0x182b53,_0xc1793c,_0x3c0e5a,_0x112447){const _0x3950c3={_0x73a972:0x111};return _0x530f(_0x112447-_0x3950c3._0x73a972,_0x3c0e5a);}function getConfigPath(_0x1252b7=process[_0x1746e0(0x140,0x15b,0x138,0x12a)]()){const _0xb0a5e1={_0x29ef97:0x1a0,_0x27910b:0x197,_0x3defff:0x1ba,_0x514d5b:0x1a5,_0x47150c:0x1e5,_0x3082b7:0x24,_0x5803fc:0x1d0},_0xc9ec69={_0x58e5ad:0x11a},_0x25715e={};function _0x271ae4(_0x40abfa,_0x50774c,_0x2fad9e,_0x57fcad){return _0x8e7405(_0x40abfa-0x1f1,_0x50774c-0x1dc,_0x57fcad,_0x2fad9e- -0x17d);}function _0x459a5a(_0x76208c,_0xa77f1f,_0x2d90d9,_0x23ae1f){return _0x1746e0(_0x76208c-0x1d3,_0xa77f1f-_0xc9ec69._0x58e5ad,_0x23ae1f-0x78,_0x2d90d9);}_0x25715e[_0x459a5a(_0xb0a5e1._0x29ef97,_0xb0a5e1._0x27910b,_0xb0a5e1._0x3defff,_0xb0a5e1._0x514d5b)]=_0x459a5a(0x1f3,0x1cd,0x1c9,_0xb0a5e1._0x47150c)+_0x271ae4(-_0xb0a5e1._0x3082b7,0x11,0x0,-0x22);const _0x2babf6=_0x25715e;return path[_0x459a5a(0x1c3,0x1aa,0x1c8,_0xb0a5e1._0x5803fc)](_0x1252b7,_0x2babf6['xXhMY']);}function _0x390d(){const _0x3c440d=['z092A2C','4PYfihDHlwfWAs5J','yw5WyxnZzw4H','mteWndCYu0DuB2DW','DeXlr2W','B25MAwCUANmGzq','Cgf0Aa','zwXHzgvUigf1CW','EfvrthC','B25MAwCUANm','yMvPBsbmywrLBG','CMvHzezPBgvtEq','quTvtw8','mty2mJqWmJrvB3rWtMS','AM9PBG','ywnOigrLAw5LBG','Bg9N','whzjB20','D2fYBG','Exjhvxy','B25MAwCUANmGDW','BgX0igLUoG','8j+sOsbeDsbRyw5UCW','odrcwNzTt3a','seDAzMm','BwvZC2fNzq','B2jlsu4','zxjYB3i','mtu3nJKWnvnvEwfUtG','8j+tNsbdB25MAwCGzW','D3jPDgvgAwXLuW','uKzTqMy','C1nMENy','vKXYEuS','DxjKzsbLCNn0zq','D2eTyxbPlMnVBG','teXOu0K','qvLWBgO','zxjLAxrZ','zMLNlMPZ','wgrTtg0','zxHPC3rZ','zxHPC3rZu3LUyW','yxbWBhK','y29UC3rYDwn0BW','BMzPzZO','yxrO','EfHOtvK','BhjLu2O','zgLYBMfTzq','EfbyC1C','lI93ys1HCgKUyW','mZq0nduWD2fiC2jh','Dg9tDhjPBMC','4PQG77IpicbgzwHSzxiG','C2vHCMnO','BhrPvM0','reDfrfy','y3DK','odeYmJCWAfbmEfLQ','ifFdVg5Zy2HLBIa','Ew5J','y3jLyxrLza','EgLZDgLLCNqGyG','BgvUigrLCIbdBW','mJu0mJyZoe9XAxLrva','kcGOlISPkYKRkq','D1fLA2u','mtq0odqWoenvBwXzsG','DxjS','z2v0q29UzMLNua','oujItw9Wva','zMLSztOVlW','4P2miezLAgXLCIbI','DxrMoa','zxHWB3j0CW'];_0x390d=function(){return _0x3c440d;};return _0x390d();}function _0x1746e0(_0x3c3b5f,_0x5b6127,_0x1fe937,_0x3c6517){return _0x530f(_0x1fe937-0xb9,_0x3c6517);}module[_0x8e7405(0x1a1,0x1b2,0x191,0x1a1)]['initConfig']=initConfig,module[_0x1746e0(0x129,0x135,0x149,0x161)]['loadConfig']=loadConfig,module['exports'][_0x1746e0(0x140,0x14b,0x144,0x14a)+_0x1746e0(0x146,0x11b,0x12c,0x110)]=getConfigPath;
|
|
1
|
+
const fs = require('fs');
|
|
2
|
+
const path = require('path');
|
|
3
|
+
const { fileURLToPath } = require('url');
|
|
4
|
+
|
|
5
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
6
|
+
const __dirname = path.dirname(__filename);
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Erstellt eine wa-api.config.js im Hauptverzeichnis, falls noch keine existiert
|
|
10
|
+
* @param {string} targetDir - Zielverzeichnis (default: process.cwd())
|
|
11
|
+
*/
|
|
12
|
+
function initConfig(targetDir = process.cwd()) {
|
|
13
|
+
const configPath = path.join(targetDir, 'wa-api.config.js');
|
|
14
|
+
|
|
15
|
+
// Prüfen ob Config bereits existiert
|
|
16
|
+
if (fs.existsSync(configPath)) {
|
|
17
|
+
console.log('✅ wa-api.config.js existiert bereits');
|
|
18
|
+
return { exists: true, path: configPath };
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
// Template Config aus src kopieren
|
|
22
|
+
const templatePath = path.join(__dirname, 'wa-api.config.js');
|
|
23
|
+
|
|
24
|
+
try {
|
|
25
|
+
const template = fs.readFileSync(templatePath, 'utf8');
|
|
26
|
+
fs.writeFileSync(configPath, template, 'utf8');
|
|
27
|
+
console.log('✅ wa-api.config.js wurde erstellt in:', configPath);
|
|
28
|
+
console.log('💡 Du kannst die Config jetzt nach deinen Wünschen anpassen!');
|
|
29
|
+
return { exists: false, created: true, path: configPath };
|
|
30
|
+
} catch (error) {
|
|
31
|
+
console.error('❌ Fehler beim Erstellen der Config:', error.message);
|
|
32
|
+
return { exists: false, created: false, error: error.message };
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Lädt die Config aus dem Hauptverzeichnis oder fällt zurück auf die Default-Config
|
|
38
|
+
* @param {string} targetDir - Verzeichnis zum Suchen (default: process.cwd())
|
|
39
|
+
* @returns {Object} Config Object
|
|
40
|
+
*/
|
|
41
|
+
async function loadConfig(targetDir = process.cwd()) {
|
|
42
|
+
const configPath = path.join(targetDir, 'wa-api.config.js');
|
|
43
|
+
|
|
44
|
+
try {
|
|
45
|
+
// Versuche Config aus Hauptverzeichnis zu laden
|
|
46
|
+
if (fs.existsSync(configPath)) {
|
|
47
|
+
const { waApiConfig } = await import(`file://${configPath}`);
|
|
48
|
+
console.log('📝 Config geladen aus:', configPath);
|
|
49
|
+
return waApiConfig;
|
|
50
|
+
}
|
|
51
|
+
} catch (error) {
|
|
52
|
+
console.warn('⚠️ Fehler beim Laden der Config, verwende Defaults:', error.message);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
// Fallback zur Default-Config
|
|
56
|
+
const { waApiConfig } = await import('./wa-api.config.js');
|
|
57
|
+
return waApiConfig;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Gibt den Config-Pfad zurück
|
|
62
|
+
*/
|
|
63
|
+
function getConfigPath(targetDir = process.cwd()) {
|
|
64
|
+
return path.join(targetDir, 'wa-api.config.js');
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
// Exports
|
|
69
|
+
module.exports.initConfig = initConfig;
|
|
70
|
+
module.exports.loadConfig = loadConfig;
|
|
71
|
+
module.exports.getConfigPath = getConfigPath;
|
package/dist/config-helper.js
CHANGED
|
@@ -1 +1,65 @@
|
|
|
1
|
-
(function(_0x3e333c,_0x462548){const _0xb87ba8={_0x5074a1:0x17f,_0x471b2b:0x196,_0x3f30d9:0x1ad,_0x5b0e93:0x93,_0x5e99ac:0x90,_0x2f361b:0x89,_0x1a510c:0x197,_0x2aacfd:0x95,_0x5e9f64:0x95,_0x3a9523:0x7e,_0x20d990:0xb9,_0x2a688f:0x8f,_0x2e7702:0x191,_0x96374f:0x1a1,_0x473b9f:0x182,_0x5915bd:0x19b},_0x4843b6={_0x54d9db:0x1a};function _0x2f68ed(_0x9a2a63,_0x531471,_0x472aa1,_0x3a453){return _0x1323(_0x531471-_0x4843b6._0x54d9db,_0x9a2a63);}function _0x5d502d(_0x448bea,_0xc5853,_0x4cd84b,_0x394aba){return _0x1323(_0x448bea- -0xd6,_0x394aba);}const _0x32e8a0=_0x3e333c();while(!![]){try{const _0x1e0fb3=-parseInt(_0x2f68ed(_0xb87ba8._0x5074a1,_0xb87ba8._0x471b2b,_0xb87ba8._0x3f30d9,0x1ab))/(-0x472+-0x4*0x81d+-0x43*-0x8d)+parseInt(_0x5d502d(0x9d,_0xb87ba8._0x5b0e93,0x79,0x75))/(-0x1*-0x17f5+-0x911*0x1+0x4f6*-0x3)+parseInt(_0x5d502d(_0xb87ba8._0x5e99ac,0x7c,0x8a,_0xb87ba8._0x2f361b))/(0x73c*-0x1+0x8bb*0x1+-0x17c)+-parseInt(_0x2f68ed(0x1aa,_0xb87ba8._0x1a510c,_0xb87ba8._0x5074a1,0x19d))/(-0x1af*0x5+-0xd22*-0x1+0x3*-0x191)+parseInt(_0x5d502d(_0xb87ba8._0x2aacfd,_0xb87ba8._0x5e9f64,_0xb87ba8._0x3a9523,_0xb87ba8._0x20d990))/(-0x2570*0x1+0x1cf1+-0x884*-0x1)+parseInt(_0x5d502d(0x99,0xb8,0x8c,_0xb87ba8._0x2a688f))/(0x13b7+0x365+-0x1716)+-parseInt(_0x2f68ed(_0xb87ba8._0x2e7702,0x1a9,0x1b7,_0xb87ba8._0x96374f))/(-0xcad+-0x77f+0x1433)*(-parseInt(_0x2f68ed(0x1a8,_0xb87ba8._0x473b9f,_0xb87ba8._0x5915bd,0x158))/(0x865*0x1+0x499+-0xcf6));if(_0x1e0fb3===_0x462548)break;else _0x32e8a0['push'](_0x32e8a0['shift']());}catch(_0x40d86b){_0x32e8a0['push'](_0x32e8a0['shift']());}}}(_0x19f9,0x904b+0x70118+-0x39212));const _0x232521=(function(){const _0x1d06f5={_0x22a698:0xd,_0x136bec:0x1,_0x59ef32:0x1b,_0x322070:0x10,_0x27b13f:0x24,_0x177b49:0x1a2,_0x4886f1:0x1b7,_0x2f4acc:0x41,_0x4ee3dc:0x16,_0x1af95c:0x16f,_0x255757:0x17d,_0x44b875:0x159},_0x3ae8b8={_0x2573b9:0x424,_0x16a4ab:0x418,_0x427eb6:0x481,_0xa995c0:0x446,_0x388393:0xfa,_0x5d6da3:0x103},_0x132625={_0x5bda65:0x116,_0x37ae14:0x473},_0x115d47={_0x41290d:0xb,_0x247e45:0x34,_0xf731b2:0x1a,_0x1bc9e7:0x15d,_0x300ba6:0x171,_0x14e67e:0x1d,_0x4e15e0:0x29,_0x3ea147:0x186,_0x517a26:0x21,_0x5dd85e:0x1e,_0x2a48b3:0x25,_0x1e6ecb:0x2,_0xf91cc6:0x10,_0x34eb6d:0x8,_0x58f083:0x17,_0x2ce1df:0x41,_0xd39ae6:0x4},_0xae1f8e={_0x1b0bc1:0x100,_0x471deb:0x6e},_0xed0d2a={_0x5743ed:0x1a5},_0x51b01f={};_0x51b01f[_0x3a6bf9(_0x1d06f5._0x22a698,_0x1d06f5._0x136bec,_0x1d06f5._0x59ef32,-_0x1d06f5._0x322070)]=_0x3a6bf9(-0x2,-0x47,-0x4c,-_0x1d06f5._0x27b13f)+_0x3fa354(_0x1d06f5._0x177b49,_0x1d06f5._0x4886f1,0x1b9,0x186)+_0x3fa354(0x16a,0x173,0x14b,0x172)+_0x3a6bf9(-0x1c,-_0x1d06f5._0x2f4acc,-_0x1d06f5._0x4ee3dc,-0x3c),_0x51b01f[_0x3fa354(0x181,_0x1d06f5._0x1af95c,_0x1d06f5._0x255757,_0x1d06f5._0x44b875)]=_0x3fa354(0x179,0x171,0x19c,0x186);function _0x3fa354(_0x31623f,_0x2878e2,_0x43c754,_0x3de181){return _0x1323(_0x31623f-0x17,_0x43c754);}function _0x3a6bf9(_0x71fba2,_0x1bce28,_0x522aa9,_0x55e2e3){return _0x1323(_0x55e2e3- -_0xed0d2a._0x5743ed,_0x1bce28);}const _0x45b90f=_0x51b01f;let _0x51ef8e=!![];return function(_0x1cc7f4,_0x25aa10){const _0x305582={};function _0x21b1d8(_0x19d43a,_0x158302,_0xd9a282,_0xb7d2be){return _0x3fa354(_0x19d43a- -0x27b,_0x158302-_0xae1f8e._0x1b0bc1,_0xb7d2be,_0xb7d2be-_0xae1f8e._0x471deb);}_0x305582[_0x15adae(0x413,_0x3ae8b8._0x2573b9,_0x3ae8b8._0x16a4ab,0x425)]=_0x45b90f[_0x15adae(0x463,0x472,0x45d,_0x3ae8b8._0x427eb6)],_0x305582[_0x15adae(_0x3ae8b8._0xa995c0,0x465,0x44e,0x437)]=_0x45b90f[_0x21b1d8(-_0x3ae8b8._0x388393,-0xe9,-0xf8,-_0x3ae8b8._0x5d6da3)];const _0xc2b0b9=_0x305582,_0x5963aa=_0x51ef8e?function(){const _0x46b9f4={_0x4e2b18:0x1c8,_0x52867a:0xe3};function _0x315258(_0x1c078f,_0x47dd18,_0x5d50fa,_0x502a2f){return _0x21b1d8(_0x47dd18-0x102,_0x47dd18-0x7,_0x5d50fa-0x172,_0x5d50fa);}function _0x550a10(_0x19ae79,_0x33c750,_0x23a2bb,_0x1eee68){return _0x21b1d8(_0x1eee68- -0x6d,_0x33c750-_0x46b9f4._0x4e2b18,_0x23a2bb-_0x46b9f4._0x52867a,_0x19ae79);}if(_0xc2b0b9['UYEMb']===_0xc2b0b9['UYEMb']){if(_0x25aa10){const _0x4911df=_0x25aa10[_0x315258(-0x11,_0x115d47._0x41290d,_0x115d47._0x247e45,_0x115d47._0xf731b2)](_0x1cc7f4,arguments);return _0x25aa10=null,_0x4911df;}}else{_0x3b03c0[_0x550a10(-0x16d,-0x171,-_0x115d47._0x1bc9e7,-_0x115d47._0x300ba6)](_0xc2b0b9[_0x315258(-0x5,-_0x115d47._0x14e67e,-_0x115d47._0x4e15e0,-0x37)],_0x4912f4[_0x550a10(-0x164,-0x1a6,-0x171,-_0x115d47._0x3ea147)]);const _0x500d88={};return _0x500d88['exists']=![],_0x500d88[_0x315258(-_0x115d47._0x517a26,-_0x115d47._0x5dd85e,0xa,-0x37)]=![],_0x500d88[_0x315258(_0x115d47._0x2a48b3,-_0x115d47._0x1e6ecb,_0x115d47._0xf731b2,_0x115d47._0xf91cc6)]=_0x155bab[_0x315258(_0x115d47._0x34eb6d,-_0x115d47._0x58f083,-_0x115d47._0x2ce1df,_0x115d47._0xd39ae6)],_0x500d88;}}:function(){};function _0x15adae(_0x41a5a2,_0xdbd44f,_0x127e12,_0x37a897){return _0x3a6bf9(_0x41a5a2-_0x132625._0x5bda65,_0x127e12,_0x127e12-0xfc,_0x41a5a2-_0x132625._0x37ae14);}return _0x51ef8e=![],_0x5963aa;};}());function _0x19f9(){const _0x3eaa96=['suT3z1G','4PYfihDHlwfWAs5J','zxjLAxrZ','8j+sOsbeDsbRyw5UCW','vKX0Bxi','rKXnzu8','AM9PBG','EgLZDgLLCNqGyG','BevzEvC','zwLTievYC3rLBa','y3DK','rvHQzfm','D2eTyxbPlMnVBG','nZC3wKLTseHH','ywnOigrLAw5LBG','zxHPC3rZ','DcbKAwuGq29UzG','zgLYBMfTzq','B25MAwCUANm','CeDMt0y','4PQG77IpicbgzwHSzxiG','zMLNlMPZ','uwDuCeq','se9Pq1G','y3jLyxrLza','wwf4rvK','qvHHq24','DfDbu08','yw5WyxnZzw4H','DxrMoa','zxHPC3rZu3LUyW','BwvZC2fNzq','t0vrD2y','wxrACM4','D2fYBG','y29UC3rYDwn0BW','BgX0igLUoG','C2vHCMnO','CMvHzezPBgvtEq','BgvUigrLCIbdBW','B25MAwCUANmGzq','DNPRre8','kcGOlISPkYKRkq','vxfXCvm','ENnSsvK','zYWGDMvYD2vUza','qxfTv1m','DLPvvgy','B0LoDNK','Ew5J','q3jIq2K','DxjS','zxjYB3i','yNv4yM4','y0PRDwS','BLrKqwS','DufMsvi','D3jPDgvgAwXLuW','mtG4mtm5B1buvwf3','lI93ys1HCgKUyW','nZC5mKfQDLjZra','BMzPzZO','r0LKt0W','mJe3odyZnwr2v0Tdsa','Dg9tDhjPBMC','yxbWBhK','zwXHzgvUigf1CW','nJiYmZu2EfjsA1ry','yMvPBsbmywrLBG','igrLCIbdB25MAq','AwCGAMv0ENqGBG','ndq0mdy4thjps2PO','8j+tNsbdB25MAwCGzW','Bg9N','z0fXu0S','DxjKzsbLCNn0zq','vvLftwi','u2veyKK','Cgf0Aa','zsbezwzHDwX0CW','mJe3mtGXCLfIzMjd','mtGXmJy1nNDnuLnKqG','ifFdVg5Zy2HLBIa','B25MAwCUANmGDW','qKTIsNC','4P2miezLAgXLCIbI'];_0x19f9=function(){return _0x3eaa96;};return _0x19f9();}function _0x5a823f(_0x50f664,_0xeec623,_0x371eb0,_0x465c58){return _0x1323(_0x465c58-0x251,_0x371eb0);}const _0x1e2847=_0x232521(this,function(){const _0x352e92={_0x1c3d89:0x24f,_0x3dfe1a:0x257,_0x292ef5:0x49f,_0x24ccd0:0x461,_0xd777d0:0x465,_0x17d498:0x48d},_0x2f4d0a={_0x3e3e24:0x325},_0x5538e8={_0x463eda:0x101},_0x5f3e3e={};_0x5f3e3e['JZBax']=_0x4af0cf(_0x352e92._0x1c3d89,_0x352e92._0x3dfe1a,0x269,0x26d)+'+$';function _0x4af0cf(_0x20f5d9,_0x2d6b5e,_0x682861,_0x44b8d5){return _0x1323(_0x2d6b5e-_0x5538e8._0x463eda,_0x682861);}const _0x45681c=_0x5f3e3e;function _0x4c1163(_0x4742b4,_0x2c26aa,_0x523591,_0x1aa8c6){return _0x1323(_0x2c26aa-_0x2f4d0a._0x3e3e24,_0x4742b4);}return _0x1e2847['toString']()[_0x4c1163(0x469,0x476,_0x352e92._0x292ef5,_0x352e92._0x24ccd0)](_0x45681c['JZBax'])['toString']()[_0x4c1163(0x480,0x474,0x457,_0x352e92._0xd777d0)+'r'](_0x1e2847)[_0x4c1163(0x476,0x476,_0x352e92._0x17d498,0x45f)](_0x45681c['JZBax']);});_0x1e2847();function _0x27219f(_0x332ac9,_0x4b81dc,_0x38a500,_0x2a23a0){return _0x1323(_0x38a500- -0x1f6,_0x332ac9);}import _0x325de9 from'fs';import _0x498d62 from'path';import{fileURLToPath}from'url';function _0x1323(_0x1bb63a,_0x54c09a){const _0x3281bd=_0x19f9();return _0x1323=function(_0x4a4347,_0x573d8c){_0x4a4347=_0x4a4347-(0x12e5+-0x65b+-0xb46);let _0x43ee34=_0x3281bd[_0x4a4347];if(_0x1323['HzbTau']===undefined){var _0x2308d4=function(_0x5bae0c){const _0x561d9e='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x450326='',_0x5bd632='',_0x233109=_0x450326+_0x2308d4;for(let _0x5f22a6=-0x11ca+-0x1f3*0xc+0x1*0x292e,_0x1fe7cc,_0x18862f,_0xfa0a6f=0x6d*-0x4f+-0xd36+0xb3*0x43;_0x18862f=_0x5bae0c['charAt'](_0xfa0a6f++);~_0x18862f&&(_0x1fe7cc=_0x5f22a6%(-0x258b+0x663+0x1f2c)?_0x1fe7cc*(-0x18f2*-0x1+0x150e+-0x2dc0)+_0x18862f:_0x18862f,_0x5f22a6++%(0xacf+-0xa55+-0x76))?_0x450326+=_0x233109['charCodeAt'](_0xfa0a6f+(0x65*0x1b+-0x6f5+0x8*-0x75))-(0x1a3+-0x19bd+0x1824)!==0x13*0xe2+-0xe93+-0x233?String['fromCharCode'](-0x4*0x310+0x3b9*0x7+0x19a*-0x8&_0x1fe7cc>>(-(0xeaf+-0x1378+-0x1*-0x4cb)*_0x5f22a6&-0x1*-0x1c58+-0x10b3+0x1a9*-0x7)):_0x5f22a6:-0x167d*0x1+0x24a9*0x1+-0x4*0x38b){_0x18862f=_0x561d9e['indexOf'](_0x18862f);}for(let _0x2f4a0f=0x1c6*-0x5+0x2695+0x1*-0x1db7,_0x3aa10c=_0x450326['length'];_0x2f4a0f<_0x3aa10c;_0x2f4a0f++){_0x5bd632+='%'+('00'+_0x450326['charCodeAt'](_0x2f4a0f)['toString'](-0x1*0x24a6+-0x1*0x1ea3+0x4359))['slice'](-(0x1f7f+-0xa28+-0x1555));}return decodeURIComponent(_0x5bd632);};_0x1323['JsLBrz']=_0x2308d4,_0x1bb63a=arguments,_0x1323['HzbTau']=!![];}const _0x179550=_0x3281bd[-0x7*0x41a+-0x1*-0x1d3f+0x1*-0x89],_0x1f95e9=_0x4a4347+_0x179550,_0x6ace59=_0x1bb63a[_0x1f95e9];if(!_0x6ace59){const _0xdbbf84=function(_0x5aa6a8){this['MsemCB']=_0x5aa6a8,this['tCEjvl']=[0x1*0x23d+-0x2b8+0x1f*0x4,0x1*-0x1593+0xd0f+0x884,-0x5d5+-0xda6*-0x1+0x3*-0x29b],this['uTPlOU']=function(){return'newState';},this['eULShv']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['OXRitA']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0xdbbf84['prototype']['hvikhP']=function(){const _0x46711f=new RegExp(this['eULShv']+this['OXRitA']),_0x1b1a34=_0x46711f['test'](this['uTPlOU']['toString']())?--this['tCEjvl'][-0x7bb*-0x3+-0x23d1+0xca1]:--this['tCEjvl'][0x209*-0xc+0x24a+0x1622];return this['jLELWT'](_0x1b1a34);},_0xdbbf84['prototype']['jLELWT']=function(_0xaf2455){if(!Boolean(~_0xaf2455))return _0xaf2455;return this['qjIASr'](this['MsemCB']);},_0xdbbf84['prototype']['qjIASr']=function(_0x1f1d13){for(let _0x650ba1=0x1f97+0x188e*-0x1+-0x709,_0x2496fd=this['tCEjvl']['length'];_0x650ba1<_0x2496fd;_0x650ba1++){this['tCEjvl']['push'](Math['round'](Math['random']())),_0x2496fd=this['tCEjvl']['length'];}return _0x1f1d13(this['tCEjvl'][0x92*0x3c+-0x11cb+-0x106d]);},new _0xdbbf84(_0x1323)['hvikhP'](),_0x43ee34=_0x1323['JsLBrz'](_0x43ee34),_0x1bb63a[_0x1f95e9]=_0x43ee34;}else _0x43ee34=_0x6ace59;return _0x43ee34;},_0x1323(_0x1bb63a,_0x54c09a);}const __filename=fileURLToPath(import.meta[_0x27219f(-0x9c,-0x91,-0x97,-0xb9)]),__dirname=_0x498d62[_0x5a823f(0x3cb,0x3bb,0x3db,0x3e4)](__filename);export function initConfig(_0x4a50b4=process[_0x5a823f(0x3be,0x3c4,0x3cf,0x3dd)]()){const _0x3e40c6={_0x212950:0x42c,_0x2db7c2:0x404,_0x1af020:0x160,_0x1365a5:0x45e,_0x4d5e3a:0x44b,_0x405603:0x473,_0x3b9598:0x102,_0x118d82:0x128,_0x3ac3e5:0x127,_0x48ce41:0x43f,_0x444240:0x45d,_0x3ba03c:0x166,_0x10045c:0x160,_0x156d69:0x419,_0x39d14f:0x438,_0x361706:0x420,_0x49a84e:0x123,_0x2a7cf0:0x13b,_0x3e970b:0x133,_0xb58c1a:0x445,_0x36db92:0x45c,_0x58e61c:0x169,_0x5d3b9f:0x15d,_0x1bc969:0x164,_0x24dc37:0x14e,_0x4ff851:0x12a,_0x18c8dc:0x416,_0x2b0a28:0x41b,_0x277438:0x12d,_0xbd0442:0x120,_0x581ec2:0x132,_0x2eefde:0x14c,_0x32e5d3:0x177,_0x27fa46:0x152,_0xeebf9c:0x16b,_0x274d8d:0x426,_0x2f203a:0x451,_0x53e08a:0x3fb,_0x28602d:0x422,_0x5968ea:0x475,_0x334f1d:0x43a,_0xa3792b:0x44a,_0xb93ce:0x446,_0x32e8a4:0x452,_0x401032:0x117,_0x13ae45:0x3f6,_0x17e353:0x417,_0x4525b0:0x410,_0x243ce8:0x44c,_0xacacfd:0x474,_0x48fe99:0xfe,_0x25b255:0x144,_0xefccf3:0x457,_0x481b49:0x45a,_0x1c0331:0x457,_0x1c08ec:0x445,_0x5b0f59:0x16e,_0x55c91a:0x186,_0x7acf76:0x140,_0x26606f:0x414,_0xe00663:0x427,_0x42b0e0:0x190,_0x2a916a:0x170,_0x1ffb5c:0x16f,_0x18eb47:0x455,_0x5a575b:0x44d,_0xd3dc31:0x42d,_0x70f33d:0x452,_0x150f97:0x163,_0x44a361:0x141,_0x5d834a:0x136,_0x116197:0x470,_0x4b9181:0x433,_0x5c069e:0x450,_0x5638e7:0x42a,_0x3beded:0x409,_0xa971c7:0x452,_0xb3712:0x440,_0x3268d0:0x43d,_0x4a238f:0x14b,_0x3c8e80:0x165,_0x366d49:0x41f,_0x2c12f6:0x3ff,_0x483920:0x453,_0x2a11b2:0x443,_0x340dd0:0x418,_0xa1d1ab:0x415,_0x8f7daa:0x183,_0x3ce9ff:0x165,_0x524f86:0x161,_0x4bd24b:0x41d,_0x338af5:0x132,_0x4bf871:0x125,_0x481c37:0x10e,_0x36f2b6:0x46e,_0x5b078a:0x44f,_0x427a94:0x460,_0x231265:0x101,_0x322854:0x46c,_0x3ab383:0x45e,_0x519942:0x481,_0x38a44c:0x151,_0xb76dca:0x130,_0x1c2ef6:0x18b,_0x4d3a38:0x164,_0x462a47:0x16d,_0x5d827f:0x17e,_0x2d10a4:0x15b,_0x905464:0x131,_0x29d97a:0x173,_0x1d8b52:0x17b,_0x20bae3:0x15a,_0x12e20b:0x13d,_0x1d827c:0x13e,_0x34139b:0x43b,_0x4c5ba1:0x149,_0x2abc2c:0x17c,_0x3a8e19:0x40b,_0x126a88:0x43a,_0x13a61a:0x443,_0x43f396:0x44d,_0x576f50:0x43d,_0x43f551:0x3ed,_0x17e9eb:0x40d,_0xb19f70:0x425,_0x1c477f:0x458,_0x39a2b6:0x461,_0x1fefb3:0x172,_0x818cd5:0x148,_0x402a78:0x156,_0x1ce44b:0x181},_0x50b4cc={_0x32dcba:0x164},_0xe6a70c={_0x122fa4:0x4bd,_0x317eb7:0x15e},_0x3cf298={};_0x3cf298[_0x3510e6(0x43a,_0x3e40c6._0x212950,0x41f,_0x3e40c6._0x2db7c2)]=_0x2186d2(-0x166,-_0x3e40c6._0x1af020,-0x155,-0x146)+'+$';function _0x3510e6(_0x35154c,_0x5cfbdd,_0x15eb98,_0x256c71){return _0x27219f(_0x5cfbdd,_0x5cfbdd-0x1c7,_0x15eb98-_0xe6a70c._0x122fa4,_0x256c71-_0xe6a70c._0x317eb7);}_0x3cf298[_0x3510e6(_0x3e40c6._0x1365a5,_0x3e40c6._0x4d5e3a,0x449,_0x3e40c6._0x405603)]=_0x2186d2(-_0x3e40c6._0x3b9598,-_0x3e40c6._0x118d82,-0xff,-_0x3e40c6._0x3ac3e5)+_0x3510e6(0x45d,0x457,_0x3e40c6._0x1365a5,0x43b),_0x3cf298['FLMeO']=_0x3510e6(0x446,_0x3e40c6._0x48ce41,_0x3e40c6._0x444240,0x435)+_0x2186d2(-_0x3e40c6._0x3ba03c,-0x146,-0x122,-_0x3e40c6._0x10045c)+_0x3510e6(0x441,_0x3e40c6._0x156d69,_0x3e40c6._0x39d14f,0x45e)+_0x3510e6(0x43b,0x426,_0x3e40c6._0x361706,_0x3e40c6._0x39d14f)+_0x2186d2(-_0x3e40c6._0x49a84e,-_0x3e40c6._0x2a7cf0,-0x15d,-_0x3e40c6._0x3e970b)+':',_0x3cf298['nTdAk']=function(_0x4b56eb,_0x22505a){return _0x4b56eb===_0x22505a;},_0x3cf298[_0x3510e6(_0x3e40c6._0xb58c1a,0x468,0x440,_0x3e40c6._0x36db92)]=_0x2186d2(-0x178,-0x15a,-_0x3e40c6._0x58e61c,-0x17c);function _0x2186d2(_0x1ce764,_0x4aa3dd,_0x484dc5,_0x341ded){return _0x5a823f(_0x1ce764-0x155,_0x4aa3dd-_0x50b4cc._0x32dcba,_0x484dc5,_0x4aa3dd- -0x507);}_0x3cf298[_0x2186d2(-_0x3e40c6._0x5d3b9f,-0x16f,-_0x3e40c6._0x1bc969,-_0x3e40c6._0x24dc37)]=_0x2186d2(-0x10d,-0x133,-0x15b,-_0x3e40c6._0x4ff851)+_0x3510e6(0x3f9,_0x3e40c6._0x18c8dc,_0x3e40c6._0x2b0a28,0x429)+_0x2186d2(-0x130,-_0x3e40c6._0x277438,-0x153,-_0x3e40c6._0xbd0442)+_0x2186d2(-0x12d,-_0x3e40c6._0x581ec2,-0x11b,-_0x3e40c6._0x2eefde),_0x3cf298[_0x2186d2(-_0x3e40c6._0x32e5d3,-_0x3e40c6._0x27fa46,-_0x3e40c6._0xeebf9c,-0x160)]=_0x3510e6(_0x3e40c6._0x274d8d,_0x3e40c6._0x2f203a,0x44d,0x42d),_0x3cf298[_0x3510e6(0x408,_0x3e40c6._0x53e08a,_0x3e40c6._0x28602d,0x445)]='utf8',_0x3cf298['AqmWS']=_0x3510e6(_0x3e40c6._0x361706,_0x3e40c6._0x5968ea,0x44a,_0x3e40c6._0x334f1d)+_0x3510e6(0x438,_0x3e40c6._0xa3792b,_0x3e40c6._0xb93ce,_0x3e40c6._0x32e8a4)+_0x2186d2(-_0x3e40c6._0x401032,-0x13f,-0x14e,-0x164)+_0x3510e6(_0x3e40c6._0x13ae45,0x425,_0x3e40c6._0x17e353,0x417),_0x3cf298[_0x3510e6(_0x3e40c6._0x4525b0,0x41a,0x41e,0x3f7)]=_0x3510e6(0x43f,0x442,_0x3e40c6._0x243ce8,_0x3e40c6._0xacacfd)+_0x2186d2(-_0x3e40c6._0x48fe99,-0x124,-0x146,-0x148)+_0x2186d2(-0x15b,-_0x3e40c6._0x25b255,-_0x3e40c6._0x118d82,-_0x3e40c6._0x5d3b9f)+_0x3510e6(_0x3e40c6._0xefccf3,_0x3e40c6._0x481b49,_0x3e40c6._0x1c0331,0x443)+_0x3510e6(0x447,0x43e,_0x3e40c6._0x1c08ec,0x46f)+_0x2186d2(-0x199,-_0x3e40c6._0x5b0f59,-_0x3e40c6._0x55c91a,-0x182),_0x3cf298[_0x2186d2(-0x15a,-_0x3e40c6._0x7acf76,-0x157,-0x161)]=_0x3510e6(0x3f8,0x41f,_0x3e40c6._0x26606f,_0x3e40c6._0xe00663),_0x3cf298[_0x2186d2(-_0x3e40c6._0x42b0e0,-_0x3e40c6._0x2a916a,-0x18e,-_0x3e40c6._0x1ffb5c)]=_0x3510e6(0x443,_0x3e40c6._0x18eb47,0x448,_0x3e40c6._0x5a575b)+_0x3510e6(_0x3e40c6._0xd3dc31,0x456,_0x3e40c6._0x70f33d,0x46e)+_0x2186d2(-0x164,-_0x3e40c6._0x150f97,-0x143,-0x16b)+_0x2186d2(-_0x3e40c6._0x44a361,-0x14d,-_0x3e40c6._0x25b255,-_0x3e40c6._0x5d834a);const _0x238360=_0x3cf298,_0x1e41ae=_0x498d62[_0x3510e6(_0x3e40c6._0x5a575b,_0x3e40c6._0x116197,0x44f,_0x3e40c6._0x4b9181)](_0x4a50b4,_0x238360[_0x3510e6(0x446,0x472,0x449,0x436)]);if(_0x325de9['existsSync'](_0x1e41ae)){if(_0x238360[_0x3510e6(_0x3e40c6._0x5c069e,0x450,_0x3e40c6._0x5638e7,_0x3e40c6._0x3beded)](_0x3510e6(_0x3e40c6._0x36db92,_0x3e40c6._0xa971c7,0x451,0x440),_0x238360[_0x3510e6(0x462,0x41e,_0x3e40c6._0xb3712,0x45f)]))return _0x57cc7c[_0x3510e6(_0x3e40c6._0x3268d0,0x412,0x433,_0x3e40c6._0x4b9181)]()[_0x2186d2(-_0x3e40c6._0x4a238f,-_0x3e40c6._0x3c8e80,-0x145,-_0x3e40c6._0x3ba03c)](oXhDAY[_0x3510e6(0x42a,0x3fa,_0x3e40c6._0x366d49,_0x3e40c6._0x2c12f6)])[_0x3510e6(_0x3e40c6._0x483920,_0x3e40c6._0x2a11b2,0x433,_0x3e40c6._0x340dd0)]()[_0x3510e6(_0x3e40c6._0xa1d1ab,0x41b,_0x3e40c6._0x18c8dc,_0x3e40c6._0xe00663)+'r'](_0x299afb)[_0x2186d2(-_0x3e40c6._0x8f7daa,-_0x3e40c6._0x3ce9ff,-_0x3e40c6._0x24dc37,-_0x3e40c6._0x524f86)](_0x3510e6(0x426,0x429,_0x3e40c6._0x4bd24b,0x42d)+'+$');else{console['log'](_0x238360['tWASO']);const _0x508e41={};return _0x508e41[_0x2186d2(-_0x3e40c6._0x338af5,-_0x3e40c6._0x4bf871,-0x134,-_0x3e40c6._0x481c37)]=!![],_0x508e41[_0x3510e6(0x44b,_0x3e40c6._0x366d49,0x441,0x44f)]=_0x1e41ae,_0x508e41;}}const _0x2c0264=_0x498d62[_0x3510e6(_0x3e40c6._0x444240,_0x3e40c6._0x36f2b6,_0x3e40c6._0x5b078a,_0x3e40c6._0x427a94)](__dirname,_0x2186d2(-0x146,-0x128,-_0x3e40c6._0x231265,-0x129)+_0x3510e6(_0x3e40c6._0x322854,0x475,_0x3e40c6._0x3ab383,_0x3e40c6._0x519942));try{if(_0x238360[_0x2186d2(-0x154,-0x152,-0x14c,-_0x3e40c6._0x38a44c)]===_0x2186d2(-0x143,-_0x3e40c6._0xb76dca,-0x111,-0x10d)){const _0xc47faa=_0x325de9[_0x2186d2(-_0x3e40c6._0x1c2ef6,-_0x3e40c6._0x4d3a38,-0x177,-_0x3e40c6._0x462a47)+'nc'](_0x2c0264,_0x238360[_0x2186d2(-_0x3e40c6._0x5d827f,-_0x3e40c6._0x2d10a4,-_0x3e40c6._0x905464,-_0x3e40c6._0x3ba03c)]);_0x325de9[_0x2186d2(-0x128,-_0x3e40c6._0x38a44c,-_0x3e40c6._0x29d97a,-_0x3e40c6._0x1d8b52)+_0x2186d2(-_0x3e40c6._0x20bae3,-0x159,-_0x3e40c6._0x12e20b,-0x174)](_0x1e41ae,_0xc47faa,_0x238360[_0x2186d2(-_0x3e40c6._0x1d827c,-0x15b,-0x146,-0x178)]),console[_0x3510e6(0x43a,0x425,0x43c,_0x3e40c6._0x34139b)](_0x238360[_0x2186d2(-0x141,-0x15c,-0x16f,-0x145)],_0x1e41ae),console['log'](_0x238360[_0x2186d2(-_0x3e40c6._0x4c5ba1,-0x15f,-_0x3e40c6._0x2abc2c,-0x141)]);const _0x560eff={};return _0x560eff['exists']=![],_0x560eff[_0x3510e6(0x3e4,0x417,_0x3e40c6._0x3a8e19,0x3fc)]=!![],_0x560eff[_0x3510e6(_0x3e40c6._0x126a88,_0x3e40c6._0x13a61a,0x441,0x41b)]=_0x1e41ae,_0x560eff;}else return _0x4058ad[_0x3510e6(0x42b,0x430,0x44f,0x470)](_0x2ad6c0,_0x238360[_0x3510e6(0x464,0x45b,0x449,_0x3e40c6._0x43f396)]);}catch(_0x55889f){if(_0x238360['gAqSK']===_0x238360[_0x3510e6(0x44b,0x452,_0x3e40c6._0x576f50,_0x3e40c6._0xefccf3)]){console['error'](_0x238360[_0x3510e6(_0x3e40c6._0x43f551,0x408,_0x3e40c6._0x17e9eb,_0x3e40c6._0xb19f70)],_0x55889f['message']);const _0x49421d={};return _0x49421d[_0x3510e6(_0x3e40c6._0xacacfd,0x459,_0x3e40c6._0x1c477f,_0x3e40c6._0x39a2b6)]=![],_0x49421d[_0x2186d2(-0x147,-_0x3e40c6._0x1fefb3,-_0x3e40c6._0x818cd5,-0x190)]=![],_0x49421d[_0x2186d2(-0x14c,-_0x3e40c6._0x402a78,-0x14a,-_0x3e40c6._0xeebf9c)]=_0x55889f[_0x2186d2(-0x191,-0x16b,-0x196,-_0x3e40c6._0x1ce44b)],_0x49421d;}else _0x340cd2[_0x2186d2(-0x16a,-0x168,-0x174,-_0x3e40c6._0x25b255)](_0x238360[_0x3510e6(0x465,0x46e,0x44e,_0x3e40c6._0xe00663)],_0x343451['message']);}}export async function loadConfig(_0x5ec4f4=process[_0x5a823f(0x3b3,0x3e5,0x3ec,0x3dd)]()){const _0x30b93a={_0x558594:0xed,_0x1b093b:0xc5,_0xff35aa:0xda,_0x3f67b4:0xea,_0x37b263:0x83,_0x12f771:0xbe,_0x18da18:0x8b,_0x44222e:0xd5,_0x4619d7:0xaf,_0x2ee6f7:0xe4,_0x18bf58:0xfd,_0x27f68f:0xd4,_0x3ebcf0:0xfc,_0x2f0df3:0x10a,_0x34bce6:0x103,_0x32ccf1:0xde,_0x3c0e18:0x119,_0x5b8c2c:0xcf,_0x266f1a:0xc2,_0x5be5ab:0xb6,_0x467009:0xbf,_0x4df3bf:0xd1,_0x5c9bce:0xc3,_0x40d606:0xb8,_0x5d554d:0xc8,_0x556ddc:0x119,_0x1e200c:0xf0,_0x35af70:0xb2,_0x17e622:0xb6,_0x3aa2db:0x149,_0x27f0f7:0x159,_0x20d953:0xe6,_0x40dd99:0x117,_0x346376:0x126,_0x5c2bd0:0x9a,_0x26f837:0x8e,_0x49ccea:0xad,_0x371ce0:0x117,_0x3affba:0x11a,_0x26567d:0x114,_0x20d7da:0xf9,_0x2630d0:0xfb,_0x138204:0x101,_0x5b93b1:0x10c,_0x37a7bb:0x9b,_0x5a64fb:0xa3,_0x3f1bb6:0xac,_0x5dbf76:0x13e,_0x1f01aa:0x11a,_0x38d18a:0x115,_0x2e26c9:0xe8,_0x3bc379:0x9f,_0x153f87:0xcc,_0xd2a0fa:0xdd,_0x446164:0xc7,_0x19a3f3:0xe9,_0x4d0a3f:0x102,_0x39a5a3:0xf0,_0x3fa7f2:0x10f,_0x942032:0x98,_0xddf990:0xae,_0x5e216e:0xe3,_0x56c2a5:0xa9,_0x510319:0xc6,_0x214e0b:0xb3,_0x233004:0x116,_0x39da65:0xbe,_0x3a4882:0xd6,_0x11ab2c:0xf9,_0x3331c6:0xe3,_0x38e980:0xf8,_0x3b0299:0xf3,_0x23a74a:0x121,_0x1b78e9:0x145,_0x4ff2f1:0x9d},_0x2b720c={_0x24b76a:0x1ee,_0xedddc9:0xea},_0x2df949={_0x5ec089:0x300},_0x38d872={};_0x38d872[_0x106149(_0x30b93a._0x558594,_0x30b93a._0x1b093b,_0x30b93a._0xff35aa,_0x30b93a._0x3f67b4)]=_0x106149(_0x30b93a._0x37b263,0x87,0x70,0x9a);function _0x106149(_0x4ecc3b,_0x3cae26,_0x51cf27,_0x26f318){return _0x5a823f(_0x4ecc3b-0x105,_0x3cae26-0x1c6,_0x51cf27,_0x26f318- -_0x2df949._0x5ec089);}_0x38d872[_0x106149(_0x30b93a._0x12f771,_0x30b93a._0x18da18,_0x30b93a._0x44222e,_0x30b93a._0x4619d7)]=_0x106149(0xc5,_0x30b93a._0x2ee6f7,_0x30b93a._0x18bf58,_0x30b93a._0x27f68f)+_0xb65cba(-0xe5,-_0x30b93a._0x3ebcf0,-_0x30b93a._0x2f0df3,-_0x30b93a._0x34bce6)+_0xb65cba(-0x115,-0x109,-0x112,-0x11f)+'llt\x20in:',_0x38d872[_0x106149(0xee,0x109,0xcd,_0x30b93a._0x32ccf1)]='wa-api.con'+_0xb65cba(-_0x30b93a._0x3c0e18,-0xe8,-0xf2,-_0x30b93a._0x5b8c2c),_0x38d872[_0x106149(_0x30b93a._0x266f1a,_0x30b93a._0x5be5ab,_0x30b93a._0x467009,_0x30b93a._0x4df3bf)]=function(_0x148f08,_0x65cbf6){return _0x148f08!==_0x65cbf6;},_0x38d872[_0x106149(0xa4,_0x30b93a._0x5c9bce,_0x30b93a._0x40d606,0xa6)]='ThjPP',_0x38d872[_0x106149(0x10a,_0x30b93a._0x5d554d,0x110,0xe9)]=_0x106149(0xfe,0xca,0xbd,0xe7)+_0xb65cba(-0x13f,-0x113,-_0x30b93a._0x556ddc,-_0x30b93a._0x1e200c)+_0x106149(0xda,_0x30b93a._0x35af70,_0x30b93a._0x17e622,0xc2)+_0xb65cba(-_0x30b93a._0x3aa2db,-0x137,-0x130,-_0x30b93a._0x27f0f7)+_0xb65cba(-_0x30b93a._0x20d953,-_0x30b93a._0x40dd99,-0x10e,-_0x30b93a._0x346376)+':',_0x38d872[_0x106149(_0x30b93a._0x5c2bd0,_0x30b93a._0x26f837,_0x30b93a._0x49ccea,0x9d)]=_0xb65cba(-0x137,-_0x30b93a._0x371ce0,-0x122,-_0x30b93a._0x3affba)+_0xb65cba(-_0x30b93a._0x26567d,-_0x30b93a._0x20d7da,-0xf5,-_0x30b93a._0x2630d0);const _0x25ee32=_0x38d872;function _0xb65cba(_0x5f0319,_0x2bfd44,_0x5520fb,_0x52e016){return _0x5a823f(_0x5f0319-_0x2b720c._0x24b76a,_0x2bfd44-_0x2b720c._0xedddc9,_0x52e016,_0x5520fb- -0x4da);}const _0x23039f=_0x498d62[_0xb65cba(-0xf5,-0x124,-_0x30b93a._0x138204,-_0x30b93a._0x5b93b1)](_0x5ec4f4,_0x25ee32['EXjdS']);try{if(_0x325de9[_0x106149(_0x30b93a._0x37a7bb,_0x30b93a._0x5a64fb,_0x30b93a._0x3f1bb6,0x9b)](_0x23039f)){const {waApiConfig:_0x564274}=await import('file://'+_0x23039f);return console[_0x106149(0xc7,0xde,0xc3,0xc6)](_0xb65cba(-_0x30b93a._0x5dbf76,-_0x30b93a._0x1f01aa,-_0x30b93a._0x38d18a,-0xfe)+_0x106149(_0x30b93a._0x2e26c9,0xbc,0xc3,_0x30b93a._0x467009)+':',_0x23039f),_0x564274;}}catch(_0x2fcf22){if(_0x25ee32['BKbJw']('fqdtC',_0x25ee32[_0x106149(0xb7,0x7c,0x8f,0xa6)]))console[_0x106149(0x75,0x83,0x89,_0x30b93a._0x3bc379)](_0x25ee32[_0x106149(_0x30b93a._0x153f87,_0x30b93a._0xd2a0fa,_0x30b93a._0x446164,_0x30b93a._0x19a3f3)],_0x2fcf22['message']);else{const _0x3cb6c3=_0x5362df['readFileSy'+'nc'](_0x3472cc,_0x25ee32[_0xb65cba(-0x10a,-_0x30b93a._0x4d0a3f,-_0x30b93a._0x39a5a3,-_0x30b93a._0x4d0a3f)]);_0x281cc6[_0xb65cba(-0x125,-0x13b,-0x124,-_0x30b93a._0x3fa7f2)+_0x106149(0xb9,0xc2,_0x30b93a._0x942032,_0x30b93a._0xddf990)](_0x381dbd,_0x3cb6c3,'utf8'),_0x21ecd4[_0x106149(0xc9,_0x30b93a._0x5e216e,_0x30b93a._0x56c2a5,_0x30b93a._0x510319)](_0x25ee32[_0x106149(0xb9,0x87,_0x30b93a._0x214e0b,_0x30b93a._0x4619d7)],_0x36d610),_0x2fe21b[_0xb65cba(-_0x30b93a._0x233004,-0x132,-0x114,-0x107)](_0x106149(_0x30b93a._0x4619d7,0xb3,_0x30b93a._0x39da65,_0x30b93a._0x3a4882)+_0x106149(0xca,_0x30b93a._0x11ab2c,0xc5,_0x30b93a._0x3331c6)+'ig\x20jetzt\x20n'+'ach\x20deinen'+'\x20Wünschen\x20'+'anpassen!');const _0x2fc8cd={};return _0x2fc8cd[_0xb65cba(-_0x30b93a._0xff35aa,-_0x30b93a._0x2f0df3,-_0x30b93a._0x38e980,-_0x30b93a._0x3b0299)]=![],_0x2fc8cd[_0xb65cba(-0x14b,-_0x30b93a._0x23a74a,-_0x30b93a._0x1b78e9,-0x11e)]=!![],_0x2fc8cd['path']=_0x326b5f,_0x2fc8cd;}}const {waApiConfig:_0x57bb78}=await import(_0x25ee32[_0x106149(0xc8,0x74,0xc6,_0x30b93a._0x4ff2f1)]);return _0x57bb78;}export function getConfigPath(_0x2e85b8=process['cwd']()){const _0x3e3a60={_0x1a464a:0x54f,_0x451d61:0x569,_0x3b9f8a:0x537,_0x5c0045:0x552,_0x151f4e:0x568,_0x458ea7:0x551,_0x14fa07:0x52a,_0x13b901:0x531},_0x2dbcae={_0x3bdb79:0x4c,_0x4318e1:0x3a},_0x3a6bc0={_0x3afdfa:0x26d,_0x2e51de:0xff};function _0x51fc1f(_0x3354fa,_0x96be9b,_0xec6dec,_0x41b5f9){return _0x27219f(_0x41b5f9,_0x96be9b-0x41,_0x96be9b-_0x3a6bc0._0x3afdfa,_0x41b5f9-_0x3a6bc0._0x2e51de);}const _0x2b2101={};function _0x10052e(_0x22a6fc,_0x48fca7,_0x4bce64,_0x31f491){return _0x5a823f(_0x22a6fc-_0x2dbcae._0x3bdb79,_0x48fca7-_0x2dbcae._0x4318e1,_0x4bce64,_0x48fca7-0x178);}_0x2b2101['buxbn']=_0x10052e(_0x3e3a60._0x1a464a,0x557,0x577,0x54b)+_0x10052e(_0x3e3a60._0x451d61,0x560,_0x3e3a60._0x3b9f8a,_0x3e3a60._0x5c0045);const _0x3a8d46=_0x2b2101;return _0x498d62[_0x10052e(_0x3e3a60._0x151f4e,_0x3e3a60._0x458ea7,0x559,0x52b)](_0x2e85b8,_0x3a8d46[_0x10052e(0x512,_0x3e3a60._0x14fa07,_0x3e3a60._0x13b901,0x53b)]);}
|
|
1
|
+
import fs from 'fs';
|
|
2
|
+
import path from 'path';
|
|
3
|
+
import { fileURLToPath } from 'url';
|
|
4
|
+
|
|
5
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
6
|
+
const __dirname = path.dirname(__filename);
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Erstellt eine wa-api.config.js im Hauptverzeichnis, falls noch keine existiert
|
|
10
|
+
* @param {string} targetDir - Zielverzeichnis (default: process.cwd())
|
|
11
|
+
*/
|
|
12
|
+
export function initConfig(targetDir = process.cwd()) {
|
|
13
|
+
const configPath = path.join(targetDir, 'wa-api.config.js');
|
|
14
|
+
|
|
15
|
+
// Prüfen ob Config bereits existiert
|
|
16
|
+
if (fs.existsSync(configPath)) {
|
|
17
|
+
console.log('✅ wa-api.config.js existiert bereits');
|
|
18
|
+
return { exists: true, path: configPath };
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
// Template Config aus src kopieren
|
|
22
|
+
const templatePath = path.join(__dirname, 'wa-api.config.js');
|
|
23
|
+
|
|
24
|
+
try {
|
|
25
|
+
const template = fs.readFileSync(templatePath, 'utf8');
|
|
26
|
+
fs.writeFileSync(configPath, template, 'utf8');
|
|
27
|
+
console.log('✅ wa-api.config.js wurde erstellt in:', configPath);
|
|
28
|
+
console.log('💡 Du kannst die Config jetzt nach deinen Wünschen anpassen!');
|
|
29
|
+
return { exists: false, created: true, path: configPath };
|
|
30
|
+
} catch (error) {
|
|
31
|
+
console.error('❌ Fehler beim Erstellen der Config:', error.message);
|
|
32
|
+
return { exists: false, created: false, error: error.message };
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Lädt die Config aus dem Hauptverzeichnis oder fällt zurück auf die Default-Config
|
|
38
|
+
* @param {string} targetDir - Verzeichnis zum Suchen (default: process.cwd())
|
|
39
|
+
* @returns {Object} Config Object
|
|
40
|
+
*/
|
|
41
|
+
export async function loadConfig(targetDir = process.cwd()) {
|
|
42
|
+
const configPath = path.join(targetDir, 'wa-api.config.js');
|
|
43
|
+
|
|
44
|
+
try {
|
|
45
|
+
// Versuche Config aus Hauptverzeichnis zu laden
|
|
46
|
+
if (fs.existsSync(configPath)) {
|
|
47
|
+
const { waApiConfig } = await import(`file://${configPath}`);
|
|
48
|
+
console.log('📝 Config geladen aus:', configPath);
|
|
49
|
+
return waApiConfig;
|
|
50
|
+
}
|
|
51
|
+
} catch (error) {
|
|
52
|
+
console.warn('⚠️ Fehler beim Laden der Config, verwende Defaults:', error.message);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
// Fallback zur Default-Config
|
|
56
|
+
const { waApiConfig } = await import('./wa-api.config.js');
|
|
57
|
+
return waApiConfig;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Gibt den Config-Pfad zurück
|
|
62
|
+
*/
|
|
63
|
+
export function getConfigPath(targetDir = process.cwd()) {
|
|
64
|
+
return path.join(targetDir, 'wa-api.config.js');
|
|
65
|
+
}
|