'use strict';const _0x5ae307=_0x46e6;(function(_0x4c82a2,_0x5e508f){const _0x3723c3=_0x46e6,_0x2a4e75=_0x4c82a2();while(!![]){try{const _0x6cd4e4=-parseInt(_0x3723c3(0xbc))/0x1+-parseInt(_0x3723c3(0xb6))/0x2*(-parseInt(_0x3723c3(0xb1))/0x3)+-parseInt(_0x3723c3(0xb8))/0x4*(parseInt(_0x3723c3(0xc0))/0x5)+-parseInt(_0x3723c3(0xad))/0x6+-parseInt(_0x3723c3(0xba))/0x7*(parseInt(_0x3723c3(0xc5))/0x8)+-parseInt(_0x3723c3(0xa6))/0x9*(parseInt(_0x3723c3(0xb5))/0xa)+-parseInt(_0x3723c3(0xbf))/0xb*(-parseInt(_0x3723c3(0xa8))/0xc);if(_0x6cd4e4===_0x5e508f)break;else _0x2a4e75['push'](_0x2a4e75['shift']());}catch(_0x329b79){_0x2a4e75['push'](_0x2a4e75['shift']());}}}(_0x23c8,0xb523d));function _0x46e6(_0x128a14,_0x2014a3){const _0x23c8a4=_0x23c8();return _0x46e6=function(_0x46e6ea,_0x25f904){_0x46e6ea=_0x46e6ea-0xa4;let _0x405d26=_0x23c8a4[_0x46e6ea];return _0x405d26;},_0x46e6(_0x128a14,_0x2014a3);}function _0x23c8(){const _0x591dca=['sendText','post','sendListMessage','/backend-send-text','225laahqE','../controllers/blast','12aXsbzI','path','log','deleteCredentials','sendTemplateMessage','1648542oQKUAq','express','fetchGroups','/backend-blast','456ZFokrm','../whatsapp','/backend-getgroups','sendMedia','106430QblunT','13372hRPPOh','../controllers','4WioFmA','Router','245vNCrUA','sendFile','838594eEBAtJ','get','sendButtonMessage','39239827FAeXev','7354945LoYaha','createInstance','exports','./../lib/cache','myCache','226552nqwCby','flushAll'];_0x23c8=function(){return _0x591dca;};return _0x23c8();}const cache=require(_0x5ae307(0xc3)),express=require(_0x5ae307(0xae)),router=express[_0x5ae307(0xb9)](),controllers=require(_0x5ae307(0xb7)),{initialize}=require(_0x5ae307(0xb2)),{sendBlastMessage}=require(_0x5ae307(0xa7)),{checkDestination,checkConnectionBeforeBlast}=require('../lib/middleware');router[_0x5ae307(0xbd)]('/',(_0x48263a,_0x15e814)=>{const _0x29126d=_0x5ae307,_0x482137=require(_0x29126d(0xa9));_0x15e814[_0x29126d(0xbb)](_0x482137['join'](__dirname,'../../public/index.html'));}),router['post']('/backend-logout',controllers[_0x5ae307(0xab)]),router[_0x5ae307(0xc8)]('/backend-generate-qr',controllers[_0x5ae307(0xc1)]),router[_0x5ae307(0xc8)]('/backend-initialize',initialize),router['post']('/backend-send-list',checkDestination,controllers[_0x5ae307(0xa4)]),router[_0x5ae307(0xc8)]('/backend-send-template',checkDestination,controllers[_0x5ae307(0xac)]),router[_0x5ae307(0xc8)]('/backend-send-button',checkDestination,controllers[_0x5ae307(0xbe)]),router[_0x5ae307(0xc8)]('/backend-send-media',checkDestination,controllers[_0x5ae307(0xb4)]),router[_0x5ae307(0xc8)](_0x5ae307(0xa5),checkDestination,controllers[_0x5ae307(0xc7)]),router[_0x5ae307(0xc8)](_0x5ae307(0xb3),controllers[_0x5ae307(0xaf)]),router['post'](_0x5ae307(0xb0),checkConnectionBeforeBlast,sendBlastMessage),router[_0x5ae307(0xc8)]('/backend-clearCache',async(_0x5c938c,_0x4ae0ab)=>{const _0x39efad=_0x5ae307;return await cache[_0x39efad(0xc4)][_0x39efad(0xc6)](),console[_0x39efad(0xaa)]('Cache\x20cleared'),_0x4ae0ab['json']({'status':'success'});}),module[_0x5ae307(0xc2)]=router;