UNPKG

mixone

Version:

MixOne is a Node scaffolding tool implemented based on Vite, used for compiling HTML5, JavasCript, Vue, React and other codes. It supports packaging Web applications with multiple HTML entry points (BS architecture) and desktop installation packages (CS a

1 lines 57.9 kB
const ce=d;(function(e,f){const ca=d,g=e();while(!![]){try{const h=parseInt(ca(0x344))/0x1+parseInt(ca(0x1e4))/0x2+parseInt(ca(0x39e))/0x3*(parseInt(ca(0x39a))/0x4)+-parseInt(ca(0x22e))/0x5*(-parseInt(ca(0x3fe))/0x6)+-parseInt(ca(0x21c))/0x7*(parseInt(ca(0x245))/0x8)+-parseInt(ca(0x1e5))/0x9+-parseInt(ca(0x2d3))/0xa;if(h===f)break;else g['push'](g['shift']());}catch(i){g['push'](g['shift']());}}}(c,0xc5508));const b=(function(){const e={'IQkGw':'method','xsXFb':'GnWfC'};let f=!![];return function(g,h){const cb=d,i={'sNdHh':e[cb(0x2f2)],'OdlhG':e[cb(0x41f)]},j=f?function(){const cc=cb,k={'pHzoz':i[cc(0x339)]};if(h){if(i[cc(0x252)]!==i['OdlhG'])k[cc(0x305)][cc(0x27d)](l[cc(0x39c)](k['pHzoz'],m[cc(0x362)](n[cc(0x25e)]),o[cc(0x1f3)],p,![],![]),!![]);else{const m=h[cc(0x2bd)](g,arguments);return h=null,m;}}}:function(){};return f=![],j;};}()),a=b(this,function(){const cd=d,e={'uZnhQ':cd(0x41c)};return a[cd(0x2d0)]()[cd(0x30e)](cd(0x41c))[cd(0x2d0)]()['constructor'](a)[cd(0x30e)](e[cd(0x233)]);});a();const fs=require('fs'),path=require(ce(0x305)),chokidar=require(ce(0x293)),watchManager=require('./shared/watch-manager'),crypto=require('crypto'),parser=require(ce(0x20d)),traverse=require(ce(0x32d))['default'],generate=require(ce(0x30a))[ce(0x33b)],t=require(ce(0x21e)),{rmSync}=require(ce(0x2b3)),{transformCode,analyseCompleteUseNode,transformVueScript}=require('./utils/ast-transformer'),{updateFnFile}=require(ce(0x2dd)),{copyStaticFilesToWindowDirs,checkWindowDirStaticFiles,copyScriptsToOutputRoot,projectType,isScriptFilePath,handleAliasPath,transformVueRouterImports,generateUniqueId}=require(ce(0x2a8)),{processPackageJson}=require(ce(0x398)),{processMainProcessFile}=require(ce(0x259)),{checkWindowPreloadAndCopy,writeDefaultPreloadFileWhenDeleted}=require(ce(0x37f)),{obfuscatorJS}=require('./utils/saveJs'),{is}=require('@babel/types'),{isVar}=require(ce(0x21e));let compileLogs=[],isCollectingLogs=![];const originalConsole={'log':console[ce(0x2b2)],'info':console['info'],'warn':console['warn'],'error':console['error']},CONFIG={'logToConsole':![]};function setupLogCollector(){const cf=ce,e={'Mydhh':cf(0x3bc),'DWDkk':function(f,g){return f(g);},'SMRrX':cf(0x33d),'qiqJw':'kjzOq','ZvVYj':cf(0x397),'fniHj':cf(0x1cd),'OWTNS':cf(0x1cf),'UGDIB':cf(0x2ec)};if(!isFullCompile)return;isCollectingLogs=!![],compileLogs=[],console['log']=(...f)=>{const cg=cf,g={'bnOCt':function(h,i){return e['DWDkk'](h,i);}};if(e['SMRrX']===e[cg(0x3dd)]){const i=k['statSync'](l);if(i[cg(0x375)]())q(r);else i['isFile']()&&g['bnOCt'](s,u);}else{const i=cg(0x3c6)+f['join']('\x20');compileLogs['push'](i);if(CONFIG['logToConsole']){if(e[cg(0x36b)]!==e[cg(0x228)])originalConsole[cg(0x2b2)](i);else return h[cg(0x1d1)](e[cg(0x450)],i),j;}}},console[cf(0x216)]=(...f)=>{const ch=cf;if(e['OWTNS']===e[ch(0x2c3)])return[];else{const h=ch(0x430)+f[ch(0x28d)]('\x20');compileLogs[ch(0x1e8)](h),CONFIG[ch(0x3d7)]&&originalConsole[ch(0x216)](h);}},console[cf(0x3e4)]=(...f)=>{const ci=cf,g=ci(0x2c0)+f[ci(0x28d)]('\x20');compileLogs[ci(0x1e8)](g),CONFIG[ci(0x3d7)]&&originalConsole[ci(0x3e4)](g);},console['error']=(...f)=>{const cj=cf,g=cj(0x40c)+f['join']('\x20');compileLogs[cj(0x1e8)](g),CONFIG[cj(0x3d7)]&&originalConsole[cj(0x1d1)](g);};}function saveLogsToFile(){const ck=ce,e={'IPfZT':function(j,k){return j+k;},'tTFRZ':function(j,k){return j+k;},'JcIEc':function(j,k){return j+k;},'xJkNf':function(j,k){return j+k;},'Ogqfx':function(j,k){return j(k);},'CrfZc':function(j,k){return j(k);},'qVFvu':ck(0x2dc),'dhzmM':ck(0x3a9)};if(!isCollectingLogs||compileLogs[ck(0x200)]===0x0)return;const f=new Date(),g=e['IPfZT'](e[ck(0x1aa)](e[ck(0x385)](e[ck(0x2bb)](e[ck(0x296)](f['getFullYear'](),String(e['xJkNf'](f[ck(0x332)](),0x1))['padStart'](0x2,'0')),e[ck(0x29e)](String,f[ck(0x35d)]())[ck(0x222)](0x2,'0')),e[ck(0x29e)](String,f[ck(0x3e0)]())[ck(0x222)](0x2,'0')),e[ck(0x29e)](String,f[ck(0x2fb)]())[ck(0x222)](0x2,'0')),e['CrfZc'](String,f[ck(0x1d3)]())[ck(0x222)](0x2,'0')),h=path[ck(0x28d)](outDir,e[ck(0x24b)]),i=path[ck(0x28d)](h,ck(0x206)+g+'.txt');!fs['existsSync'](h)&&fs[ck(0x302)](h,{'recursive':!![]}),fs[ck(0x1ec)](i,compileLogs[ck(0x28d)]('\x0a'),e[ck(0x3e6)]),console[ck(0x2b2)]=originalConsole[ck(0x2b2)],console[ck(0x216)]=originalConsole[ck(0x216)],console[ck(0x3e4)]=originalConsole[ck(0x3e4)],console[ck(0x1d1)]=originalConsole['error'],console['log']('fully\x20compiled,\x20log\x20saved\x20to:\x20'+path[ck(0x3ff)](rootDir,i));}const args=process[ce(0x277)][ce(0x267)](0x2),singleFileMode=args[ce(0x367)]('--file'),singleFilePath=singleFileMode?args[args[ce(0x1fd)](ce(0x294))+0x1]:null,rootDir=singleFileMode?args[args['indexOf'](ce(0x346))+0x1]:process[ce(0x28f)](),outDir=path['join'](rootDir,ce(0x38c)),_outDir=singleFileMode?args[args[ce(0x1fd)]('--out-dir')+0x1]:outDir,compileDir=__dirname,isFullCompile=!singleFileMode;function c(){const cU=['JgdlT','IDHFi','_callback','NodeJS.','sAAZv','sNdHh','RQPqI','default','crypto','jXLxi','call','isFile','qNqjx','nNoSv','init','RQQGS','1003110CfTuRl','ijOrf','--root-dir','rsluH','Skip\x20window\x20preload.js:\x20','tHOXZ','jNWVo','powerMonitor','luyGR','JRTtC','bfpnr','\x20\x20},\x0a','\x20\x20\x20\x20\x20\x20return\x20{\x20success:\x20true,\x20result\x20};\x0a','hnlpi','vvFgZ','window.electron.callMainFunction(\x27','RBGBl','method','RMjVK','DDuio','Processing\x20root\x20package.json:\x20','events','.fn.js\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20','.git/','vzViH','getDate','BWseY','this.sendToRenderer(\x27','existsSync','tmdPq','identifier','OQSMd','vOrWJ','ZbkTH','lnqJo','includes','object','GeyqH','isExportNamedDeclaration','ZvVYj','gxUBT','fnId','UdCKB','nveMW','kvSMW','\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}','statSync','nlhad','FXoyh','isDirectory','iaVTf','YlpUB','bejdX','WLpet','Skip\x20file:\x20','coScy','pVGkR','zvFds','bYdNQ','./utils/preload-process-handler','QvgXr','BooleanLiteral','oTGaO','kFVfJ','const\x20{\x20','tTFRZ','FyGfh','EUuGM','XTKEf','Deleted\x20output\x20directory:\x20','wxhmh','pushNotifications','out','arrowFunctionExpression','node_modules','then','fMTNq','XUznJ','txQUQ','rEDEg','Start\x20processing\x20Html\x20file...','key','session','AGjRj','./utils/content-processor','webContents','532XTTAFf','.qodo','objectMethod','\x20\x20\x20\x20try\x20{\x0a','678CMJMYt','abwsg','Ewaaq',':\x20async\x20function(','\x20\x20\x20\x20}\x0a','async\x20$1()','xwEtU','yuBkA','FUjLD','trim','start','utf-8','cyciq','node','LeKQS','Detected\x20node_modules,\x20will\x20keep\x20this\x20directory','PeHot','Mkhnn','Failed\x20to\x20process:\x20','goJrz','rTseo','\x20\x20\x20\x20\x20\x20\x20\x20}\x0a','FoUel','<template','SsClj','Rilni','NodeJS','vLdpe','qupwd','HKgWC','Error\x20processing\x20main\x20process\x20code:','single','epUdB','arg','qIsYc','WvWgt','WSnzE','GAdPy','\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20','vwVYq','[LOG]\x20','CommentLine','\x27);\x0a','TFLwy','DuaUI','Ibskh','DVYYI','nFhdv','powerSaveBlocker','kCciE','ppdXh','native-target=\x22_window\x22','ZxzEs',';\x0a\x20\x20\x20\x20}','javascript:void(0);','yarn.lock','byCje','logToConsole','windows/','rXyQk','vZLBZ','tGhTX','OKTWN','qiqJw','YpZre','kIjgZ','getHours','ObjectExpression','objectProperty','copyFileSync','warn','RpqBL','dhzmM','kKcSc','IWTcb','Mnbfu','UGhIz','DBXea','Recombining\x20Vue\x20file\x20content...','WLeba','axhKY','{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20','IuoFB','opQWY','fkcuT','PDnDG','RnhLE','zQrdN','const\x20{\x20setupConsoleRedirect\x20}\x20=\x20require(\x27./reset_console\x27);setupConsoleRedirect();\x0a','fzkEK','HPDwu','protocol','\x20=\x20require(\x27','callMainFunction','edxlY','scripts','208614DiXJQd','relative','Created\x20directory:\x20','returnStatement','IVWgI','UaSGD','BrowserWindow','readFileSync','yrmJQ','zWDHO','PJS.',')\x20{','yCxqd','TePck','[ERROR]\x20','YbTuf','LUDxa','.jsx','registerCallback','this.callback','arguments','sqyWr','\x20\x20\x20\x20\x20\x20\x20\x20sender:\x20event.sender,\x0a','parse','JvXvn','BvFtc','EkVkY','now','dKuLo','random','(((.+)+)+)+$','blockStatement',',\x20preload\x20path:\x20','xsXFb','\x20->\x20out/main/','CsPAy','javascript:void(0)','testdemo3','pzVyO','readline','entries','\x20\x20ipcMain.handle(\x27call-main-fn\x27,\x20async\x20(event,\x20{\x20id,\x20args\x20})\x20=>\x20{\x0a','ZfJAy','<a\x20data-a-id=\x22','JOKgN',':\x20\x27','vOYri','uCsYj','ZXlpN','PhgRc','[INFO]\x20','WNmAO','dvwPA','ZjiTw','bcQFX','ipcMain','add','IggAM','nhlPi','match','dirname','main.js','PWMUE','\x20\x20\x20\x20','mLMcn',',\x0a\x20\x20\x20\x20\x20\x20\x20\x20live:\x20function','fIbjp','gEbky','nkhXo','qbKYw','node_modules/','fBHFV','oFSQM','PJS','isArrowFunctionExpression','from','SbsvE','@mainProcess','FwqUp','dZOAS','jNSLM','ZqcjD','Mydhh','EyjKV','PJOWh','BLYNc','Created\x20output\x20directory:\x20','</script>','EBrPs','KrBBq','globalShortcut','nativeImage','main','.live','XXwhY','aoePj','IPfZT','assert','WjxDi','View','KTOap','HSLmq','tQVTa','MGQJN','yyKop','callback','vDlme','Gqlxr','clipboard','ZQxXt','HHhXa','\x20\x20});\x0a','PhJlv','RPkQN','UrZFC','doc','hkzes','yAfYn','MHErG','testdemo2','DbOVo','EuTTs','stringLiteral','screen','preload.js','<script\x20','jPwES','Piaba','eFLWF','\x27,\x20','declaration','ZVvZz','dyPzY','VltJZ','jsx','error','tsx','getSeconds','lElYE','iehjB','sep','Ztusu','dist','out/','publish.js','phVhm','ygbEJ','jDRwK','ScWBB','WXwCc','XIJZL','UnLYE','MxmNy','cli.js','2812626agesTY','3805866iMSiOb','yaCfp','OcHHq','push','TSaBz','zlXfr','YOIZb','writeFileSync','contentTracing','QfDtR','MessageChannelMain','Copied\x20file:\x20','isExport','wKBzy','params','Deleted:\x20','ArrayExpression','Start\x20processing\x20Vue\x20file...','Processing\x20script\x20part...','MWbow','mixone','HNAvH','parentPath','systemPreferences','indexOf','.tsx','GGGRO','length','BrowserView','Output\x20directory:\x20','Ywnin','ShareMenu','Full\x20compilation\x20completed\x20-\x20processed\x20','log_','unlinkSync','dtvmm','WebContentsView','TouchBar','jDZmU','qwiWR','@babel/parser','PEvwA','hbFAC','FunctionExpression','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20event.sender.send(`callback:${callbackId}`,\x20...data);\x0a','forEach','rYRcl','electron','yPSuw','info','ILoTz','.vue','hywJy','vue27','\x0aconst\x20fn\x20=\x20{\x0a','94073hNLcqa','pcSGH','@babel/types','ArrowFunctionExpression','exports','HxxJZ','padStart','UGkQH','StringLiteral','const\x20','SIeWM','CWMxC','fniHj','aevza','jIKfa','zOZtl','net','ZXWeT','145vvVeGG','JHGxY','ICznu','module.exports\x20=\x20{\x20registerMainFunctions\x20}\x0a','yjytN','uZnhQ','Fiifx','YiHZs','WsBqz','nativeTheme','windows','mWrNH','\x20\x20\x20\x20\x20\x20const\x20context\x20=\x20{\x0a','FjXUJ','KupPZ','zWNGd','autoHref(','wMeAf','gupIZ','fCWkL','pLoEB','RtNUi','Identifier','848cRPuMs','IKzzN','some','child_process','windows\x5c','aXswv','qVFvu','tls',')\x20{\x0a','DmrZe','yDWfj','leadingComments','.html','OdlhG','ziuvr','bWRgq','RQvrW','wykym','niojW','isFunctionExpression','./utils/main-process-handler','SGOhZ','callExpression','tdjrP','RvOsB','name','IKZEw','.idea','</template>\x0d\x0a','JqSil','yPhry','\x20=\x20require(\x27./','constructor','qNmWq','slice','scripts/','lJZsp','AzDVr','UxYka','fZOTr','kxnjE','startsWith','JRXDJ','cluster','AYrBK','rWzZR','wQfOH','hsmda','InyNc','kxpkc','argv','sHRhL','isVariableDeclaration','basename','Notification','\x20}\x20=\x20require(\x27electron\x27);\x0a','replaceWith','Copied\x20and\x20obfuscated\x20file:\x20/copy_file/main/','YdfXC','mtzaZ','const','testdemo4','upxqi','xpoKF','objectExpression','\x20\x20\x20\x20\x20\x20const\x20result\x20=\x20await\x20fn[id].apply(context,\x20Object.values(args));\x0a','sIveF','endsWith','map','DpOAn','UOFux','\x20\x20//\x20','join','typescript','cwd','Failed\x20to\x20scan\x20directory:\x20','desktopCapturer','CallExpression','chokidar','--file','JWvIz','xJkNf','_____','code','DgBRs','SxaQD','isIdentifier','body','PlToS','Ogqfx','RBVGZ','size','JHpRN','netLog','originalContent','oYxYV','AVRmJ','exec','rvSgB','./utils/static-file-copier','</script>\x0d\x0a','RjeRl','WjSKJ','uUMsd','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20{\x20','XpWYL','qkNLr','replace','nijUB','log','./utils/saveJs','uECJW','dauoA','MxxqL','Successfully\x20compiled:\x20','OSltd','.js','<a\x20onclick=\x22','JcIEc','fApFa','apply','\x20\x20\x20\x20\x20\x20\x20\x20sendToRenderer:\x20(callbackId,\x20...data)\x20=>\x20{\x0a','ynYdZ','[WARN]\x20','bfDom','<style','UGDIB','Generating\x20main\x20process\x20function\x20registration\x20file...','GyyEa','module','ddkGx','jBUfN','lhfcs','CVeiQ','moybs','ylUsb','psncm','Tray','Error\x20processing\x20Vue\x20file:','toString','\x20href=\x22javascript:void(0);\x22','isFunctionDeclaration','7921740dnWeNI','HTldY','bbkLc','VoZsk','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20','PMHPA','ldydG','Main','substring','logs','./utils/fn-updater','qnezF','maPER','KpuHn','toFixed',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','Compilation\x20completed,\x20preparing\x20to\x20start\x20the\x20service...','hwwGY','mCfZZ','<script','wdMzd','floor','Vue\x20file\x20processing\x20completed','CSHHn','mjQUU','peeIm','memberExpression','Starting\x20full\x20compilation...','CpFSW','callbackId','GDlde','IQkGw','Main.','value','Error\x20processing\x20embedded\x20native\x20code:','nkPQJ','JkrCL','functionDeclaration','UyHGa','jSdeb','getMinutes','HuMDl','tvtJj','vHXyD','feJjH','wSUGd','PZvBd','mkdirSync','xrKSN','copy_file','path','pathType','Glmte','index','BbuWi','@babel/generator','window','NumericLiteral','declarations','search','fn.js','AGvIc','fgoCa','exit','dmnFB','MessagePortMain','set','type','cBgQG','IoJlJ','Skip\x20non-window\x20directory\x20path:\x20','File\x20does\x20not\x20exist:\x20','pspyd','BnEpP','parentPort','expressionStatement','http','aSOdK','RQwaF','JkQvA','KPxkL','loc','eZqBw','get','RtAGE','readdirSync','HMPRn','cizFU','Special\x20handling\x20main/main.js:\x20','placeholder','@babel/traverse','stream','epYmd','FoHMQ','BWkWK','getMonth','ONwfo'];c=function(){return cU;};return c();}function d(a,b){const e=c();return d=function(f,g){f=f-0x1aa;let h=e[f];return h;},d(a,b);}let packageJsonPath=path[ce(0x28d)](rootDir,'package.json');const {MVCframework}=projectType(packageJsonPath),mainProcessFunctions={},functionNameCountMap=new Map();function generateFunctionId(e,f,g){const cl=ce,h=e[cl(0x2b0)](rootDir,'')[cl(0x2b0)](/^[\/\\]/,'')[cl(0x2b0)](/^src[\/\\]/,'')['replace'](/\\/g,'/')['replace'](/-/g,'__'),i='__FUNCTION_'+h[cl(0x2b0)](/[\/\.]/g,'_')+'_'+f+'_'+g+'__';return i;}function extractMainProcessFunction(e,f,g){const cm=ce,h={'qnezF':function(k,l){return k===l;},'MxmNy':cm(0x411)},i=e['includes'](h[cm(0x1e2)]);let j=e;if(i)return j='let\x20_callbackCount\x20=\x200;\x0a'+j,j=j['replace'](/this\.callback\((.*?)\)/g,(k,l)=>{const cn=cm;if(h[cn(0x2de)](cn(0x246),cn(0x1c0)))g[cn(0x305)]['replaceWith'](h);else return cn(0x35f)+g+'\x27,\x20'+l+',\x20++_callbackCount)';}),{'fnId':f,'callbackId':g,'code':j,'hasCallback':!![]};return{'fnId':f,'code':j,'hasCallback':![]};}function processVueMainProcessCode(e,f){const co=ce,g={'feJjH':function(h,i,j,k){return h(i,j,k);},'mLMcn':function(h,i){return h+i;},'yCxqd':function(h,i){return h(i);},'PMHPA':function(h,i,j,k){return h(i,j,k);},'Rilni':'FunctionExpression','jIKfa':'ArrowFunctionExpression','lJZsp':function(h,i,j,k){return h(i,j,k);},'axhKY':function(h,i,j,k){return h(i,j,k);},'UGkQH':function(h,i){return h+i;},'aSOdK':co(0x336),'tHOXZ':co(0x30b),'qupwd':co(0x214),'eZqBw':'callMainFunction','bWRgq':function(h,i){return h(i);},'rEDEg':function(h,i){return h===i;},'MWbow':co(0x2cb),'GDlde':function(h,i){return h===i;},'gupIZ':co(0x1ea),'KQcHO':co(0x24e),'iqvAI':function(h,i,j,k){return h(i,j,k);},'BvFtc':function(h,i,j,k){return h(i,j,k);},'zWNGd':function(h,i,j,k){return h(i,j,k);},'PWMUE':'DlJts','PlToS':co(0x370),'aevza':function(h,i,j,k){return h(i,j,k);},'CsPAy':function(h,i,j,k){return h(i,j,k);},'sHRhL':function(h,i){return h+i;},'RvOsB':co(0x238),'dykLc':co(0x1c6),'DBXea':function(h,i,j,k,l){return h(i,j,k,l);},'tQVTa':function(h,i){return h===i;},'JWvIz':'ppdXh','JkQvA':function(h,i,j,k){return h(i,j,k);},'dyPzY':function(h,i){return h(i);},'rYRcl':function(h,i){return h(i);},'LIBKs':co(0x1d9),'kAzSs':function(h,i,j,k){return h(i,j,k);},'epUdB':function(h,i){return h+i;},'ajkEp':co(0x2c6),'tdRcU':co(0x1d0),'UyHGa':'typescript','IoJlJ':function(h,i,j){return h(i,j);},'lElYE':co(0x3c7),'JOKgN':'\x20@ts-ignore','PhgRc':function(h,i){return h===i;},'JWLtB':co(0x2aa),'Ewaaq':co(0x36f),'FjXUJ':co(0x281),'DuaUI':'promise','cizFU':'live','HKgWC':co(0x410),'ICznu':co(0x1b3),'AGvIc':'result','yuBkA':co(0x355),'hkzes':co(0x37c),'zdSaL':function(h,i){return h===i;},'TSaBz':co(0x445),'Piaba':co(0x3bd),'DgBRs':co(0x43d),'Ywnin':co(0x3ef),'UGhIz':co(0x3d3),'mtzaZ':co(0x43f),'fkcuT':co(0x371),'wykym':co(0x3a3),'SxaQD':co(0x409),'wSUGd':function(h,i){return h!==i;},'KupPZ':co(0x2d4),'kMCoX':co(0x3bc)};try{const h=transformCode(e),i=parser[co(0x415)](h,{'sourceType':g['ajkEp'],'plugins':[g['tdRcU'],g[co(0x2f9)]]}),j=[];g[co(0x318)](traverse,i,{'ExportNamedDeclaration'(n){const cp=co;if(t[cp(0x2d2)](n[cp(0x3ab)][cp(0x1cc)])){const o=n[cp(0x3ab)]['declaration'],p=n[cp(0x3ab)][cp(0x250)]||o[cp(0x250)]||[],q=p[cp(0x247)](r=>r[cp(0x2f4)][cp(0x367)]('@mainProcess'));if(q){const r=o['id']['name'],s=functionNameCountMap[cp(0x326)](f+':'+r)||0x0,u=generateFunctionId(f,r,s),v=g[cp(0x2ff)](generateFunctionId,f,g[cp(0x43e)](r,cp(0x336)),s);functionNameCountMap['set'](f+':'+r,s+0x1);const w=g[cp(0x40a)](generate,o['body'])[cp(0x298)],x=w[cp(0x2b0)](/^\{\s*|\s*\}$/g,'')[cp(0x3a7)](),y=g[cp(0x2d8)](extractMainProcessFunction,x,u,v);j[cp(0x1e8)]({'name':r,...y,'isExport':!![],'path':n,'params':o[cp(0x1f3)]});}}else{if(t[cp(0x279)](n['node']['declaration'])){const z=n['node']['leadingComments']||[],A=z[cp(0x247)](B=>B[cp(0x2f4)][cp(0x367)](cp(0x44b)));if(A&&n['node'][cp(0x1cc)]['declarations']['length'])for(const B of n[cp(0x3ab)][cp(0x1cc)][cp(0x30d)]){if(t[cp(0x258)](B['init'])||t['isArrowFunctionExpression'](B[cp(0x342)])){let C=t[cp(0x258)](B['init'])?g[cp(0x3b7)]:g['jIKfa'];const D=B['id'][cp(0x25e)],E=functionNameCountMap[cp(0x326)](f+':'+D)||0x0,F=g[cp(0x269)](generateFunctionId,f,D,E),G=g[cp(0x3ee)](generateFunctionId,f,g['UGkQH'](D,g[cp(0x320)]),E);functionNameCountMap[cp(0x315)](f+':'+D,E+0x1);const H=g['yCxqd'](generate,B[cp(0x342)][cp(0x29c)])[cp(0x298)],I=H[cp(0x2b0)](/^\{\s*|\s*\}$/g,'')[cp(0x3a7)]();let J=t[cp(0x41d)]([t[cp(0x401)](t[cp(0x25b)](t['memberExpression'](t[cp(0x2ed)](t[cp(0x362)](g[cp(0x349)]),t[cp(0x362)](g[cp(0x3ba)])),t[cp(0x362)](g[cp(0x325)])),[t[cp(0x1c4)](F),t['objectExpression'](B[cp(0x342)]['params'][cp(0x289)](L=>t[cp(0x3e2)](t[cp(0x362)](L[cp(0x25e)]),t[cp(0x362)](L['name']))))]))]);B[cp(0x342)][cp(0x29c)]=J;const K=g['feJjH'](extractMainProcessFunction,I,F,G);j[cp(0x1e8)]({'name':D,...K,'isExport':![],'varType':C,'params':B[cp(0x342)]['params']});}}}}},'FunctionDeclaration'(n){const cq=co;if(n[cq(0x1fb)][cq(0x36a)]()){if(g['rEDEg'](g['MWbow'],g[cq(0x1f8)]))return;else h=g[cq(0x254)](i,j);}const o=n[cq(0x3ab)]['leadingComments']||[],p=o['some'](r=>r[cq(0x2f4)][cq(0x367)](cq(0x44b)));if(p){if(g[cq(0x2f1)](g[cq(0x240)],g['KQcHO']))j[cq(0x3e3)](k,l),m[cq(0x2b2)]('Copied\x20file:\x20'+n);else{const s=n[cq(0x3ab)]['id'][cq(0x25e)],u=functionNameCountMap[cq(0x326)](f+':'+s)||0x0,v=g['iqvAI'](generateFunctionId,f,s,u),w=g[cq(0x417)](generateFunctionId,f,s+g['aSOdK'],u);functionNameCountMap[cq(0x315)](f+':'+s,u+0x1);const x=generate(n[cq(0x3ab)][cq(0x29c)])[cq(0x298)],y=x['replace'](/^\{\s*|\s*\}$/g,'')['trim'](),z=g[cq(0x23d)](extractMainProcessFunction,y,v,w);j['push']({'name':s,...z,'isExport':![],'path':n,'params':n[cq(0x3ab)]['params']});}}},'VariableDeclaration'(n){const cr=co,o=n[cr(0x3ab)][cr(0x250)]||[],p=o['some'](q=>q[cr(0x2f4)]['includes'](cr(0x44b)));if(p&&n[cr(0x3ab)][cr(0x30d)][cr(0x200)]>0x0){if(g[cr(0x43c)]!==g[cr(0x29d)])for(const q of n['node'][cr(0x30d)]){if(t[cr(0x258)](q[cr(0x342)])||t[cr(0x448)](q[cr(0x342)])){let r=t['isFunctionExpression'](q[cr(0x342)])?g[cr(0x3b7)]:cr(0x21f);const s=q['id']['name'],u=functionNameCountMap[cr(0x326)](f+':'+s)||0x0,v=g[cr(0x229)](generateFunctionId,f,s,u),w=g[cr(0x421)](generateFunctionId,f,s+cr(0x336),u);functionNameCountMap[cr(0x315)](f+':'+s,g[cr(0x223)](u,0x1));const x=g[cr(0x40a)](generate,q['init'][cr(0x29c)])[cr(0x298)],y=x['replace'](/^\{\s*|\s*\}$/g,'')[cr(0x3a7)]();let z=t[cr(0x41d)]([t[cr(0x401)](t[cr(0x25b)](t[cr(0x2ed)](t[cr(0x2ed)](t[cr(0x362)](g[cr(0x349)]),t[cr(0x362)](g[cr(0x3ba)])),t[cr(0x362)](g['eZqBw'])),[t[cr(0x1c4)](v),t[cr(0x285)](q[cr(0x342)]['params']['map'](B=>t['objectProperty'](t['identifier'](B[cr(0x25e)]),t[cr(0x362)](B['name']))))]))]);q[cr(0x342)][cr(0x29c)]=z;const A=extractMainProcessFunction(y,v,w);j[cr(0x1e8)]({'name':s,...A,'isExport':![],'varType':r,'params':q['init'][cr(0x1f3)]});}}else{const C=cr(0x3c6)+i[cr(0x28d)]('\x20');j[cr(0x1e8)](C),k[cr(0x3d7)]&&m[cr(0x2b2)](C);}}},'ObjectMethod'(n){const cs=co;if(g[cs(0x1b0)](g[cs(0x295)],cs(0x3d0))){const o=n[cs(0x3ab)][cs(0x250)]||[],p=o[cs(0x247)](q=>q[cs(0x2f4)][cs(0x367)]('@mainProcess'));if(p){const q=n['node'][cs(0x395)][cs(0x25e)],r=functionNameCountMap[cs(0x326)](f+':'+q)||0x0,s=generateFunctionId(f,q,r),u=g[cs(0x322)](generateFunctionId,f,g[cs(0x43e)](q,g['aSOdK']),r);functionNameCountMap[cs(0x315)](f+':'+q,g[cs(0x43e)](r,0x1));const v=g[cs(0x1ce)](generate,n[cs(0x3ab)][cs(0x29c)])[cs(0x298)],w=v['replace'](/^\{\s*|\s*\}$/g,'')[cs(0x3a7)](),x=g[cs(0x23d)](extractMainProcessFunction,w,s,u);j[cs(0x1e8)]({'name':q,...x,'isMethod':!![],'path':n,'params':n[cs(0x3ab)][cs(0x1f3)]});}}else return p[cs(0x2b2)]('File\x20does\x20not\x20exist:\x20'+q),r['includes'](g[cs(0x278)](g[cs(0x25d)],s[cs(0x1d6)]))&&g[cs(0x393)](u[cs(0x27a)](v),g['dykLc'])?(g[cs(0x3eb)](B,C,D,E,F),![]):![];}});const k={'type':g[co(0x1d4)],'value':g[co(0x42a)],'loc':null};for(const n of j){if(g[co(0x42f)](g['JWLtB'],g[co(0x3a0)]))h=g[co(0x213)](i,j);else{const p=n[co(0x36d)];mainProcessFunctions[p]={'body':n['code'],'name':n[co(0x25e)],'params':n[co(0x1f3)][co(0x289)](r=>r['name'])};let q;if(!n['hasCallback']){const r=t['callExpression'](t[co(0x2ed)](t[co(0x2ed)](t[co(0x362)](g[co(0x349)]),t[co(0x362)](co(0x214))),t[co(0x362)](g[co(0x325)])),[t[co(0x1c4)](p),t[co(0x285)](n['params'][co(0x289)](u=>t[co(0x3e2)](t['identifier'](u[co(0x25e)]),t[co(0x362)](u[co(0x25e)]))))]),s=t['returnStatement'](r);s[co(0x250)]=[k],q=t[co(0x41d)]([s]);}else q=t[co(0x41d)]([t['variableDeclaration'](g[co(0x23b)],[t['variableDeclarator'](t['identifier'](g[co(0x3ca)]),t[co(0x25b)](t[co(0x2ed)](t[co(0x2ed)](t[co(0x362)](g['tHOXZ']),t['identifier'](g[co(0x3ba)])),t[co(0x362)](g[co(0x325)])),[t[co(0x1c4)](p),t[co(0x285)](n[co(0x1f3)][co(0x289)](u=>t['objectProperty'](t['identifier'](u[co(0x25e)]),t[co(0x362)](u[co(0x25e)]))))]))]),t[co(0x401)](t[co(0x285)]([t['objectProperty'](t[co(0x362)](g[co(0x32a)]),t['functionExpression'](null,[t['identifier'](co(0x1b3))],t[co(0x41d)]([t[co(0x31e)](t[co(0x25b)](t[co(0x2ed)](t[co(0x2ed)](t[co(0x362)](g[co(0x349)]),t['identifier'](g[co(0x3ba)])),t['identifier'](g[co(0x3bb)])),[t[co(0x1c4)](n[co(0x2f0)]),t[co(0x362)](g[co(0x230)])])),t[co(0x31e)](t[co(0x25b)](t[co(0x2ed)](t[co(0x362)](g[co(0x3ca)]),t[co(0x362)](co(0x38f))),[t[co(0x38d)]([t[co(0x362)](g[co(0x310)])],t[co(0x25b)](t[co(0x362)](g[co(0x230)]),[t[co(0x362)](g[co(0x310)])]))]))])))]))]);if(n['isMethod'])n[co(0x305)][co(0x27d)](t[co(0x39c)](g[co(0x3a5)],t[co(0x362)](n[co(0x25e)]),n[co(0x1f3)],q,![],![]),!![]);else{if('OCZor'!==co(0x41a)){const u=t[co(0x2f8)](t[co(0x362)](n['name']),n[co(0x1f3)],q);if(n[co(0x1f1)]){if(g[co(0x1be)]===g[co(0x1be)])n[co(0x305)][co(0x27d)](t['exportNamedDeclaration'](u,[]));else{if(m[co(0x26e)](g['LIBKs'])||n['startsWith']('out\x5c'))return v[co(0x28d)](w,x);return r[co(0x28d)](s,u);}}else{if(n['varType']){}else{if(g['zdSaL'](g[co(0x1e9)],g[co(0x1e9)]))n[co(0x305)][co(0x27d)](u);else{if(O[co(0x258)](P[co(0x342)])||Q['isArrowFunctionExpression'](R[co(0x342)])){let x=an[co(0x258)](ao[co(0x342)])?'FunctionExpression':g[co(0x22a)];const y=ap['id'][co(0x25e)],z=aq[co(0x326)](ar+':'+y)||0x0,A=g['kAzSs'](as,at,y,z),B=g[co(0x2d8)](au,av,y+g[co(0x320)],z);aw['set'](ax+':'+y,g[co(0x3be)](z,0x1));const C=g['yCxqd'](ay,az[co(0x342)][co(0x29c)])[co(0x298)],D=C[co(0x2b0)](/^\{\s*|\s*\}$/g,'')['trim']();let E=aA[co(0x41d)]([aB[co(0x401)](aC[co(0x25b)](aD[co(0x2ed)](aE[co(0x2ed)](aF[co(0x362)](co(0x30b)),aG['identifier'](co(0x214))),aH[co(0x362)](g[co(0x325)])),[aI[co(0x1c4)](A),aJ[co(0x285)](aK[co(0x342)][co(0x1f3)][co(0x289)](b2=>x[co(0x3e2)](y[co(0x362)](b2['name']),z[co(0x362)](b2['name']))))]))]);aO['init'][co(0x29c)]=E;const F=aP(D,A,B);aQ[co(0x1e8)]({'name':y,...F,'isExport':![],'varType':x,'params':aR['init']['params']});}}}}}else i=j[co(0x2b0)](k,l);}}}const l=g[co(0x318)](generate,i,{'retainLines':!![],'compact':![],'quotes':co(0x3bd),'concise':![],'jsescOption':{'quotes':g[co(0x1c9)]},'format':{'indent':{'style':g[co(0x299)],'adjustMultilineComment':!![]},'lineEnd':'\x0a','space':!![],'retainLines':![],'preserveComments':!![]}}),m=l[co(0x298)][co(0x2b0)](/\n\n+/g,'\x0a\x0a')[co(0x2b0)](/{\s*return\s+/g,g[co(0x203)])[co(0x2b0)](/;\s*}/g,g[co(0x3ea)])[co(0x2b0)](/,\s*live:\s*function/g,g[co(0x280)])[co(0x2b0)](/}\s*}\s*$/gm,g[co(0x3f2)])['replace'](/async\s+(\w+)\s*\(\)/g,g[co(0x256)])[co(0x2b0)](/\)\s*{/g,g[co(0x29a)]);return m;}catch(y){if(g[co(0x300)](g[co(0x23c)],co(0x2d4))){const [A,B,C]=r,D=co(0x297)+ ++s+co(0x297);u[co(0x1e8)]({'id':v,'placeholder':D,'attributes':B[co(0x3a7)](),'originalContent':C[co(0x3a7)](),'start':w[co(0x308)],'end':g[co(0x223)](x[co(0x308)],A[co(0x200)])}),y+=z[co(0x267)](A,B[co(0x308)]),C+='<script\x20'+B[co(0x3a7)]()+'>'+D+'</script>',D=g['UGkQH'](E['index'],A[co(0x200)]);}else return console[co(0x1d1)](g['kMCoX'],y),e;}}function removePrefix(e){const ct=ce;return e[ct(0x2b0)](/^(Main\.|NodeJS\.|PJS\.)/g,'');}function getModuleName(e){const f=e['match'](/^(\w+)\./);return f?f[0x1]:null;}function extractFunctionParams(e){const cu=ce,f={'InyNc':cu(0x381),'wMeAf':cu(0x244),'CyYSU':cu(0x3e1),'UXqJp':function(h,i){return h(i);},'WjxDi':cu(0x1f5),'nkPQJ':function(h,i){return h(i);},'yrmJQ':function(h,i){return h===i;},'HxxJZ':cu(0x3aa),'rsluH':'arg','mTzxw':function(h,i){return h!==i;}};if(!e||!e[cu(0x316)]||f['mTzxw'](e[cu(0x316)],cu(0x292)))return[];const g=e[cu(0x412)][cu(0x289)](h=>{const cv=cu;let i={'type':h[cv(0x316)],'value':null};switch(h[cv(0x316)]){case'StringLiteral':i[cv(0x2f4)]=h['value'];break;case cv(0x30c):i[cv(0x2f4)]=h[cv(0x2f4)];break;case f[cv(0x275)]:i[cv(0x2f4)]=h[cv(0x2f4)];break;case f[cv(0x23f)]:i[cv(0x2f4)]=h[cv(0x25e)];break;case f['CyYSU']:i[cv(0x2f4)]=f['UXqJp'](generate,h)[cv(0x298)];break;case f[cv(0x1ac)]:i[cv(0x2f4)]=f[cv(0x2f6)](generate,h)[cv(0x298)];break;default:i[cv(0x2f4)]=f['UXqJp'](generate,h)[cv(0x298)];}return i;});return e[cu(0x412)]=g[cu(0x289)]((h,i)=>{const cw=cu;if(f[cw(0x406)](f[cw(0x221)],cw(0x2b4))){g['log'](cw(0x319)+h);return;}else return t[cw(0x362)](f[cw(0x347)]+(i+0x1));}),g;}function processEmbeddedNativeCode(e,f){const cx=ce,g={'qlYNG':function(h,i,j,k,l){return h(i,j,k,l);},'EuTTs':cx(0x214),'jNSLM':cx(0x3fb),'IuoFB':cx(0x368),'URdhf':cx(0x2da),'phVhm':cx(0x3b8),'hwwGY':cx(0x447),'tvtJj':function(h,i,j,k){return h(i,j,k);},'HuMDl':function(h,i){return h(i);},'CpFSW':function(h,i){return h+i;},'goJrz':function(h,i){return h+i;},'yPSuw':function(h,i){return h==i;},'FyGfh':function(h,i){return h!==i;},'JRhXE':cx(0x42c),'IKZEw':function(h,i){return h+i;},'XTKEf':function(h,i){return h*i;},'FwqUp':function(h,i,j,k){return h(i,j,k);},'wdMzd':function(h,i){return h+i;},'uXqtm':cx(0x336),'HPDwu':function(h,i){return h===i;},'sAAZv':'HawwE','abwsg':function(h,i){return h(i);},'KrBBq':cx(0x20d),'nijUB':function(h,i){return h(i);},'ZqcjD':cx(0x32d),'LUDxa':cx(0x2c6),'edxlY':cx(0x1d0),'vDlme':cx(0x1d2),'UxYka':cx(0x3bd),'IggAM':cx(0x43d),'ZXWeT':cx(0x3ef),'MZowN':cx(0x3d3),'IWTcb':',\x0a\x20\x20\x20\x20\x20\x20\x20\x20live:\x20function','oTGaO':cx(0x371),'GGGRO':cx(0x3a3),'DDuio':cx(0x409),'HNAvH':cx(0x2f5)};try{const h=g[cx(0x39f)](require,g[cx(0x457)]),i=g[cx(0x2b1)](require,g[cx(0x44f)])[cx(0x33b)],j=h[cx(0x415)](e,{'sourceType':g[cx(0x40e)],'plugins':[g[cx(0x3fc)],g[cx(0x1b4)],cx(0x28e)]});i(j,{'MemberExpression'(m){const cy=cx,n={'pspyd':function(E,F,G,H,I){return g['qlYNG'](E,F,G,H,I);},'xwEtU':g[cy(0x1c3)],'GyyEa':g[cy(0x44e)]},o=m[cy(0x326)](g[cy(0x3f0)]);if(!o[cy(0x29b)]())return;const p=o[cy(0x3ab)]['name'];if(![g['URdhf'],g[cy(0x1db)],g[cy(0x2e4)]][cy(0x367)](p))return;let q=g[cy(0x2fd)](analyseCompleteUseNode,m['parentPath'],m[cy(0x1fb)],m),r=g[cy(0x2fc)](extractFunctionParams,q[cy(0x305)]['node']),s=g[cy(0x2ef)](g[cy(0x3b1)]('{',r[cy(0x289)]((E,F)=>['StringLiteral',cy(0x30c),'BooleanLiteral'][cy(0x367)](E['type'])?cy(0x3bf)+(F+0x1)+cy(0x42b)+E[cy(0x2f4)]+'\x27':cy(0x3bf)+(F+0x1)+':\x20'+E['value'])[cy(0x28d)](',')),'}');const u=g['HuMDl'](generate,q[cy(0x305)]['node'])[cy(0x298)];let v=g['HuMDl'](removePrefix,u);const w=g['HuMDl'](getModuleName,v),x=g[cy(0x215)](q[cy(0x306)],cy(0x33e))?!![]:![];if(x){if(g[cy(0x386)](g['JRhXE'],cy(0x42c))){const F=j();n[cy(0x31b)](k,l,m,n,F);}else v;}const y=m[cy(0x3ab)][cy(0x324)][cy(0x3a8)]['line'],z=g[cy(0x25f)](Math[cy(0x2e8)](g[cy(0x388)](Math[cy(0x41b)](),0x15f90)),0x2710),A=g['FwqUp'](generateFunctionId,f,g['IKZEw'](p+'_',y),z),B=g[cy(0x44c)](generateFunctionId,f,g['wdMzd'](g[cy(0x2e7)](p+'_',y),g['uXqtm']),z);if(g['yPSuw'](p,cy(0x2da)))functionBody=cy(0x2ad)+w+'\x20}\x20=\x20require(\x27electron\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20'+v+cy(0x2e2);else{if(g[cy(0x215)](p,g['phVhm']))functionBody='\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20'+w+'\x20=\x20require(\x27'+w+cy(0x3c4)+v+cy(0x2e2);else{if(g[cy(0x215)](p,cy(0x447))){if(g[cy(0x3f8)](g[cy(0x338)],g[cy(0x338)]))functionBody=cy(0x2d7)+w+cy(0x264)+w+cy(0x35a)+v+cy(0x2e2);else{const G=w[cy(0x25b)](x[cy(0x2ed)](y[cy(0x2ed)](z[cy(0x362)](cy(0x30b)),A[cy(0x362)](n[cy(0x3a4)])),B['identifier'](n[cy(0x2c5)])),[C['stringLiteral'](D),E['objectExpression'](F['params'][cy(0x289)](R=>G[cy(0x3e2)](H[cy(0x362)](R[cy(0x25e)]),P[cy(0x362)](R[cy(0x25e)]))))]),H=J[cy(0x401)](G);H[cy(0x250)]=[K],L=M[cy(0x41d)]([H]);}}}}let C=x?s:'{}';mainProcessFunctions[A]={'body':functionBody,'name':u,'params':r['map']((G,H)=>[cy(0x224),cy(0x30c),cy(0x381)][cy(0x367)](G[cy(0x316)])?cy(0x3bf)+(H+0x1):cy(0x3bf)+(H+0x1))};const D=cy(0x353)+A+cy(0x1cb)+C+')';q[cy(0x305)]['replaceWithSourceString'](D);}});const k=generate(j,{'retainLines':!![],'compact':![],'quotes':cx(0x3bd),'concise':![],'jsescOption':{'quotes':g[cx(0x26b)]},'format':{'indent':{'style':g[cx(0x437)],'adjustMultilineComment':!![]},'lineEnd':'\x0a','space':!![],'retainLines':![],'preserveComments':!![]}}),l=k[cx(0x298)][cx(0x2b0)](/\n\n+/g,'\x0a\x0a')[cx(0x2b0)](/{\s*return\s+/g,g[cx(0x22d)])[cx(0x2b0)](/;\s*}/g,g['MZowN'])[cx(0x2b0)](/,\s*live:\s*function/g,g[cx(0x3e8)])[cx(0x2b0)](/}\s*}\s*$/gm,g[cx(0x382)])[cx(0x2b0)](/async\s+(\w+)\s*\(\)/g,g[cx(0x1ff)])['replace'](/\)\s*{/g,g[cx(0x357)]);return l;}catch(m){return console[cx(0x1d1)](g[cx(0x1fa)],m),e;}}function generateMainProcessRegistration(){const cz=ce,e={'uDRKH':function(k,l){return k+l;},'sqyWr':'autoUpdater','kIjgZ':'BaseWindow','yDWfj':cz(0x201),'LeKQS':cz(0x1ed),'UaSGD':cz(0x291),'QQSHH':'dialog','xVHlI':'inAppPurchase','JkrCL':cz(0x435),'bfpnr':'Menu','yaCfp':cz(0x1ef),'QfDtR':cz(0x314),'zQrdN':cz(0x22c),'vvFgZ':cz(0x2a2),'LnJfl':cz(0x27b),'lCVwp':cz(0x3ce),'htrzp':'safeStorage','PeHot':cz(0x1c5),'OjBGK':cz(0x396),'jDZmU':cz(0x204),'ScWBB':'shell','Fiifx':cz(0x2ce),'HSLmq':'utilityProcess','dauoA':cz(0x399),'bejdX':cz(0x209),'JqSil':'webFrameMain','JRXDJ':cz(0x1ad),'ziuvr':'path','fISFA':cz(0x33c),'Mkhnn':cz(0x31f),'jBUfN':cz(0x32e),'YdfXC':cz(0x359),'RMjVK':cz(0x248),'OcHHq':cz(0x270),'XpWYL':cz(0x24c),'nFhdv':cz(0x425),'ZxzEs':cz(0x1ab),'RBGBl':cz(0x2c6),'vZLBZ':function(k,l){return k>l;},'TePck':function(k,l){return k===l;},'TFLwy':cz(0x453)},f=['app',e[cz(0x413)],e[cz(0x3df)],e[cz(0x24f)],cz(0x404),cz(0x1b6),e[cz(0x3ac)],'crashReporter',e[cz(0x403)],e['QQSHH'],cz(0x458),e['xVHlI'],e[cz(0x2f7)],e[cz(0x34e)],e[cz(0x1e6)],e[cz(0x1ee)],cz(0x459),cz(0x237),e[cz(0x3f5)],e[cz(0x352)],e['LnJfl'],cz(0x31d),cz(0x34b),e['lCVwp'],cz(0x3f9),cz(0x38b),e['htrzp'],e[cz(0x3ae)],e['OjBGK'],e[cz(0x20b)],e[cz(0x1de)],cz(0x1fc),cz(0x20a),e[cz(0x234)],e[cz(0x1af)],e[cz(0x2b5)],e[cz(0x378)],e[cz(0x262)],e[cz(0x26f)]],g=['os','fs',e[cz(0x253)],e['fISFA'],e[cz(0x3af)],'https',e[cz(0x3f5)],e[cz(0x2c8)],e[cz(0x27f)],e[cz(0x356)],e[cz(0x1e7)],'dns',e[cz(0x2ae)],e[cz(0x3cd)],e[cz(0x3d2)],e[cz(0x354)]],h=new Set([e[cz(0x2f7)]]),i=new Set();for(const [k,l]of Object[cz(0x426)](mainProcessFunctions)){const m=l[cz(0x29c)];f[cz(0x212)](n=>{const cA=cz;m[cA(0x367)](n+'.')&&h[cA(0x436)](n);}),g[cz(0x212)](n=>{const cB=cz;m[cB(0x367)](e['uDRKH'](n,'.'))&&i['add'](n);});}let j='';e[cz(0x3da)](h[cz(0x2a0)],0x0)&&(j+=cz(0x384)+Array['from'](h)['join'](',\x20')+cz(0x27c));i[cz(0x2a0)]>0x0&&(Array[cz(0x449)](i)[cz(0x212)](n=>{const cC=cz;j+='const\x20'+n+cC(0x3fa)+n+cC(0x3c8);}),j+='\x0a');j+=cz(0x3f6),j+=cz(0x21b);for(const [n,o]of Object[cz(0x426)](mainProcessFunctions)){e[cz(0x40b)](e[cz(0x3c9)],e[cz(0x3c9)])?(j+=cz(0x28c)+o[cz(0x25e)]+'\x0a',j+='\x20\x20'+n+cz(0x3a1)+o[cz(0x1f3)]['join'](',\x20')+')\x20{\x0a',j+='\x20\x20\x20\x20'+o[cz(0x29c)]+'\x0a',j+=cz(0x34f)):g['unlinkSync'](h);}return j+='}\x0a\x0a',j+='function\x20registerMainFunctions()\x20{\x0a',j+=cz(0x427),j+=cz(0x39d),j+=cz(0x23a),j+=cz(0x414),j+=cz(0x2be),j+=cz(0x211),j+=cz(0x3b3),j+='\x20\x20\x20\x20\x20\x20};\x0a\x0a',j+=cz(0x286),j+=cz(0x350),j+='\x20\x20\x20\x20}\x20catch\x20(error)\x20{\x0a',j+='\x20\x20\x20\x20\x20\x20return\x20{\x20success:\x20false,\x20error:\x20error.message\x20};\x0a',j+=cz(0x3a2),j+=cz(0x1b9),j+='}\x0a\x0a',j+=cz(0x231),j;}const startTime=Date[ce(0x419)]();let processedFiles=0x0;function getNormalizedOutPath(e,f){const cD=ce,g={'IDHFi':cD(0x1d9)};if(e['startsWith'](g[cD(0x335)])||e['startsWith']('out\x5c'))return path[cD(0x28d)](rootDir,e);return path[cD(0x28d)](f,e);}function ensureOutDirExists(){const cE=ce,e={'uUMsd':cE(0x210),'JHpRN':cE(0x21f),'upxqi':function(f,g,h,i){return f(g,h,i);},'aRYPZ':function(f,g,h,i){return f(g,h,i);},'wxhmh':function(f,g){return f+g;},'YiHZs':'_callback','YbTuf':'electron','DpOAn':function(f,g,h,i){return f(g,h,i);},'JHGxY':function(f,g,h){return f(g,h);},'YOIZb':function(f,g,h,i){return f(g,h,i);},'niojW':'Error\x20processing\x20embedded\x20native\x20code:','rTseo':cE(0x38e),'opQWY':function(f,g){return f===g;},'OQSMd':function(f,g){return f===g;},'vLdpe':cE(0x3e7),'AVRmJ':function(f,g){return f!==g;},'OozSJ':function(f,g,h){return f(g,h);},'Jmurn':cE(0x2d5),'BWseY':cE(0x3db),'FUjLD':'JNdNZ','vGaTq':cE(0x416),'Glmte':function(f,g,h){return f(g,h);}};if(fs[cE(0x360)](outDir)){const f=path[cE(0x28d)](outDir,e[cE(0x3b2)]),g=fs['readdirSync'](outDir);if(fs[cE(0x360)](f)){if(e[cE(0x3f1)](cE(0x303),cE(0x383)))m+=cE(0x28c)+n[cE(0x25e)]+'\x0a',o+='\x20\x20'+p+cE(0x3a1)+q[cE(0x1f3)][cE(0x28d)](',\x20')+cE(0x24d),r+=cE(0x43d)+s['body']+'\x0a',u+=cE(0x34f);else{console[cE(0x2b2)](cE(0x3ad));for(const i of g){if(e[cE(0x363)]('kKcSc',e[cE(0x3b9)])){if(e[cE(0x2a5)](i,e['rTseo'])){const j=path[cE(0x28d)](outDir,i);if(fs[cE(0x372)](j)[cE(0x375)]())e['OozSJ'](rmSync,j,{'recursive':!![],'force':!![]});else{if(e['Jmurn']===e['Jmurn'])fs[cE(0x207)](j);else for(const l of a9[cE(0x3ab)]['declarations']){if(aB[cE(0x258)](l[cE(0x342)])||aC['isArrowFunctionExpression'](l[cE(0x342)])){let m=b2[cE(0x258)](l[cE(0x342)])?e[cE(0x2ac)]:e[cE(0x2a1)];const n=l['id']['name'],o=b3[cE(0x326)](b4+':'+n)||0x0,p=e[cE(0x283)](b5,b6,n,o),q=e['aRYPZ'](b7,b8,e[cE(0x38a)](n,e[cE(0x235)]),o);b9[cE(0x315)](ba+':'+n,o+0x1);const r=bb(l['init'][cE(0x29c)])['code'],s=r[cE(0x2b0)](/^\{\s*|\s*\}$/g,'')[cE(0x3a7)]();let u=bc['blockStatement']([bd['returnStatement'](be['callExpression'](bf[cE(0x2ed)](bg[cE(0x2ed)](bh['identifier']('window'),bi[cE(0x362)](e[cE(0x40d)])),bj[cE(0x362)](cE(0x3fb))),[bk['stringLiteral'](p),bl[cE(0x285)](l['init'][cE(0x1f3)][cE(0x289)](bC=>l[cE(0x3e2)](m[cE(0x362)](bC[cE(0x25e)]),n[cE(0x362)](bC['name']))))]))]);l[cE(0x342)][cE(0x29c)]=u;const v=e[cE(0x28a)](bp,s,p,q);bq[cE(0x1e8)]({'name':n,...v,'isExport':![],'varType':m,'params':l[cE(0x342)][cE(0x1f3)]});}}}console[cE(0x2b2)]('Deleted:\x20'+i);}}else e[cE(0x22f)](g,h,{'recursive':!![],'force':!![]});}console[cE(0x2b2)]('Cleaned\x20out\x20directory\x20(kept\x20node_modules)');}}else{if(e[cE(0x2a5)](e[cE(0x35e)],e[cE(0x35e)]))l=e[cE(0x1eb)](m,n,o,{'isEmbedMain':p,'isEmbedNodeJS':q,'isEmbedPJS':r});else{for(const n of g){if(e[cE(0x3a6)]===e['vGaTq'])return h[cE(0x1d1)](e[cE(0x257)],i),j;else{const p=path[cE(0x28d)](outDir,n);fs[cE(0x372)](p)[cE(0x375)]()?e[cE(0x307)](rmSync,p,{'recursive':!![],'force':!![]}):fs[cE(0x207)](p),console[cE(0x2b2)]('Deleted:\x20'+n);}}console[cE(0x2b2)](cE(0x389)+outDir);}}}fs[cE(0x302)](outDir,{'recursive':!![]}),console['log'](cE(0x454)+outDir);}function processFile(e,f){const cF=ce,g={'oFSQM':cF(0x38e),'JRTtC':function(l,m,n){return l(m,n);},'blOEJ':function(l,m,n){return l(m,n);},'PZvBd':function(l,m,n,o){return l(m,n,o);},'TBvOl':cF(0x336),'MGQJN':function(l,m){return l+m;},'qwiWR':function(l,m){return l(m);},'fMTNq':cF(0x41c),'IVWgI':function(l,m){return l!==m;},'IqawV':cF(0x438),'RBVGZ':cF(0x38c),'tmdPq':function(l,m){return l+m;},'pzVyO':'windows','CVeiQ':function(l,m){return l===m;},'hnlpi':cF(0x1c6),'coScy':cF(0x444),'uCsYj':cF(0x1d9),'PDnDG':cF(0x268),'kAGDh':cF(0x2b9),'ijOrf':'.ts','qNmWq':cF(0x40f),'jSdeb':'uSfhb','fePTk':cF(0x2fe),'rWzZR':cF(0x3a9),'cBgQG':cF(0x43b),'nNoSv':function(l,m){return l(m);},'maPER':function(l,m){return l!==m;},'oYxYV':cF(0x36e),'pcSGH':'DzPdt','KPxkL':cF(0x1d2),'DrsAu':function(l,m){return l(m);},'JgdlT':cF(0x2f3),'EBrPs':cF(0x408),'zWDHO':function(l,m){return l||m;},'BOiNL':'NjrGX','bfDom':cF(0x3cb),'FoHMQ':function(l,m){return l==m;},'Ztusu':cF(0x21a),'rxiVy':function(l,m){return l(m);},'YlpUB':function(l){return l();},'VoZsk':function(l,m,n,o,p){return l(m,n,o,p);},'aoePj':cF(0x3e5),'ZjiTw':cF(0x2ab),'BnEpP':function(l,m){return l===m;},'ZbkTH':cF(0x309),'RPkQN':cF(0x44b),'WXwCc':cF(0x45b),'TxOMv':function(l,m,n){return l(m,n);},'PEvwA':'xmaoM','fCWkL':function(l){return l();},'nlhad':cF(0x337),'gezFA':function(l,m,n,o,p){return l(m,n,o,p);},'RtNUi':function(l,m){return l===m;},'LbEjW':'package.json','SGOhZ':cF(0x22b),'PJOWh':cF(0x1f2),'fzkEK':function(l,m,n){return l(m,n);},'qbKYw':cF(0x3cc)};try{}catch(l){if(g[cF(0x402)](cF(0x24a),g['IqawV']))return console[cF(0x1d1)](cF(0x3b0)+e,l),![];else{if(n!==g[cF(0x446)]){const n=x[cF(0x28d)](y,z);A['statSync'](n)[cF(0x375)]()?F(n,{'recursive':!![],'force':!![]}):G[cF(0x207)](n),D[cF(0x2b2)](cF(0x1f4)+E);}}}e=path['resolve'](rootDir,e);const h=path[cF(0x3ff)](rootDir,e),i=singleFileMode?f:path['join'](process[cF(0x28f)](),g[cF(0x29f)]),j=g['blOEJ'](getNormalizedOutPath,h,i),k=path[cF(0x43a)](j);if(!fs[cF(0x360)](e))return console[cF(0x2b2)](cF(0x31a)+e),e[cF(0x367)](g[cF(0x361)](g[cF(0x424)],path[cF(0x1d6)]))&&g['CVeiQ'](path[cF(0x27a)](e),g['hnlpi'])?(writeDefaultPreloadFileWhenDeleted(compileDir,i,j,e),![]):![];if(h[cF(0x367)](g[cF(0x37b)])||h[cF(0x367)](cF(0x35b))||h[cF(0x367)](g[cF(0x42d)])||h[cF(0x26e)](g[cF(0x3f3)]))return![];!fs[cF(0x360)](k)&&(fs[cF(0x302)](k,{'recursive':!![]}),console[cF(0x2b2)](cF(0x400)+k));if(e[cF(0x288)](g['kAGDh'])||e[cF(0x288)](g[cF(0x345)])||e[cF(0x288)](cF(0x1fe))||e[cF(0x288)](g['qNmWq'])){if(g[cF(0x402)](g[cF(0x2fa)],g['fePTk'])){let n=fs[cF(0x405)](e,g[cF(0x272)]);if(g[cF(0x2ca)](path['basename'](e),g[cF(0x317)])&&path[cF(0x43a)](e)[cF(0x288)](cF(0x45a))){console[cF(0x2b2)](cF(0x32b)+h);const o=g[cF(0x34d)](processMainProcessFile,n,h),p=g[cF(0x341)](obfuscatorJS,o);fs[cF(0x1ec)](j,p),console[cF(0x2b2)]('Successfully\x20processed\x20main/main.js:\x20'+h);}else{if(path[cF(0x27a)](e)===g[cF(0x351)]){if(h[cF(0x26e)]('windows/'))return console[cF(0x2b2)](cF(0x348)+h),![];else{if(g['maPER'](g[cF(0x2a4)],g[cF(0x21d)]))return console[cF(0x2b2)]('Skip\x20root\x20preload.js:\x20'+h),![];else g[cF(0x3e4)](h);}}else{[g[cF(0x266)],g[cF(0x323)]]['find'](w=>e['endsWith'](w))&&(n=g['DrsAu'](replaceAtagV2,n));const r=n[cF(0x367)](cF(0x44b)),s=n[cF(0x367)](g['JgdlT']),u=n[cF(0x367)]('NodeJS.'),v=n[cF(0x367)](g[cF(0x456)]);if(g[cF(0x407)](r,s)||u||v){let w=n;r&&(w=g['blOEJ'](processVueMainProcessCode,w,e));(g[cF(0x407)](s,u)||v)&&(w=g[cF(0x301)](processEmbeddedNativeCode,w,e,{'isEmbedMain':s,'isEmbedNodeJS':u,'isEmbedPJS':v}));if(w){if(g[cF(0x402)](g['BOiNL'],g[cF(0x2c1)])){w=handleAliasPath(w,{'outDir':i,'outFilePath':j});g['FoHMQ'](MVCframework,g[cF(0x1d7)])&&(w=g['rxiVy'](transformVueRouterImports,w));fs[cF(0x1ec)](j,w);if(!isFullCompile){const x=g[cF(0x377)](generateMainProcessRegistration);g[cF(0x2d6)](updateFnFile,i,rootDir,e,x);}}else h['error'](cF(0x290)+i,j);}console[cF(0x2b2)](cF(0x2b7)+h);}else{if(cF(0x239)!==g[cF(0x45d)]){let z=g['blOEJ'](handleAliasPath,n,{'outDir':i,'outFilePath':j});if(g[cF(0x330)](MVCframework,g['Ztusu'])){if(g[cF(0x433)]!==g[cF(0x433)]){const B=m[cF(0x28d)](n,o);p[cF(0x372)](B)[cF(0x375)]()?g[cF(0x34d)](v,B,{'recursive':!![],'force':!![]}):w[cF(0x207)](B),s['log']('Deleted:\x20'+u);}else z=transformVueRouterImports(z);}fs[cF(0x1ec)](j,z),console[cF(0x2b2)](cF(0x1f0)+h);}else{o[cF(0x2b2)](cF(0x32b)+p);const C=g['blOEJ'](q,r,s),D=u(C);v[cF(0x1ec)](w,D),x['log']('Successfully\x20processed\x20main/main.js:\x20'+y);}}}}}else{if(w['parentPath']['isExportNamedDeclaration']())return;const D=x[cF(0x3ab)]['leadingComments']||[],E=D[cF(0x247)](ab=>ab[cF(0x2f4)][cF(0x367)](cF(0x44b)));if(E){const F=N[cF(0x3ab)]['id'][cF(0x25e)],G=O[cF(0x326)](P+':'+F)||0x0,H=g['PZvBd'](Q,R,F,G),I=g['PZvBd'](S,T,F+g['TBvOl'],G);U[cF(0x315)](V+':'+F,g[cF(0x1b1)](G,0x1));const J=g[cF(0x20c)](W,X['node'][cF(0x29c)])['code'],K=J[cF(0x2b0)](/^\{\s*|\s*\}$/g,'')[cF(0x3a7)](),L=g['PZvBd'](Y,K,H,I);Z[cF(0x1e8)]({'name':F,...L,'isExport':![],'path':a0,'params':a1[cF(0x3ab)][cF(0x1f3)]});}}}else{if(e[cF(0x288)](cF(0x218))){if(g[cF(0x31c)](g[cF(0x365)],g[cF(0x365)])){const D=fs['readFileSync'](e,g['rWzZR']),E=D[cF(0x367)](g[cF(0x1bb)])||D[cF(0x367)](g[cF(0x1df)]),F=D[cF(0x367)](g[cF(0x334)]),G=D[cF(0x367)](cF(0x337)),H=D[cF(0x367)](g[cF(0x456)]);console[cF(0x2b2)]('Processing\x20Vue\x20file:\x20'+h);let I=g['TxOMv'](handleVueFileContent,D,e);fs[cF(0x1ec)](j,I);if(!isFullCompile&&(E||F||G||H)){if(g['BnEpP'](g[cF(0x20e)],g[cF(0x20e)])){const J=g[cF(0x241)](generateMainProcessRegistration);updateFnFile(i,rootDir,e,J);}else i[cF(0x449)](j)['forEach'](L=>{const cG=cF;m+=cG(0x225)+L+cG(0x3fa)+L+cG(0x3c8);}),l+='\x0a';}console[cF(0x2b2)]('Finished\x20processing\x20Vue\x20file:\x20'+h);}else return g['toString']()[cF(0x30e)](cF(0x41c))['toString']()[cF(0x265)](h)[cF(0x30e)](rLKxLc[cF(0x390)]);}else{if(e[cF(0x288)](cF(0x251))){const M=fs['readFileSync'](e,g['rWzZR']),N=M[cF(0x367)](g[cF(0x1bb)])||M[cF(0x367)]('.live'),O=M['includes'](cF(0x2f3)),P=M[cF(0x367)](g[cF(0x373)]),Q=M[cF(0x367)](g[cF(0x456)]);let R=handleHtmlFileContent(M,e);fs[cF(0x1ec)](j,R);if(!isFullCompile&&(g['zWDHO'](N,O)||P||Q)){const S=g[cF(0x377)](generateMainProcessRegistration);g['gezFA'](updateFnFile,i,rootDir,e,S);}}else{if(g[cF(0x243)](path['basename'](e),g['LbEjW'])&&path['dirname'](e)===rootDir)g[cF(0x2df)](g[cF(0x25a)],g[cF(0x452)])?(console[cF(0x2b2)](cF(0x358)+h),g[cF(0x3f7)](processPackageJson,e,j)):h[cF(0x1d1)](cF(0x3b0)+i,j);else{if(g['IVWgI'](g[cF(0x443)],cF(0x32f)))fs[cF(0x3e3)](e,j),console[cF(0x2b2)](cF(0x1f0)+h);else{const V=cF(0x430)+i['join']('\x20');j[cF(0x1e8)](V),k[cF(0x3d7)]&&m['info'](V);}}}}}return processedFiles++,!![];}const IGNORE_DIRS=[ce(0x38e),ce(0x38c),'.git',ce(0x1bd),ce(0x3d5),ce(0x1d8),ce(0x1f9),ce(0x1c1),,'README.md',ce(0x1e3),'testdemo',ce(0x423),ce(0x282),ce(0x1da),'.gitignore',ce(0x3fd),'.svn',ce(0x39b),ce(0x260),'.vscode'];function processDir(e){const cH=ce,f={'ynYdZ':function(g,h){return g+h;},'jPwES':cH(0x261),'LQqPG':cH(0x2a9),'pLoEB':function(g,h){return g+h;},'ygbEJ':'Error\x20processing\x20Vue\x20file:','BeAgZ':cH(0x3a9),'rPoyT':function(g,h){return g(h);},'ZQxXt':function(g,h,i,j){return g(h,i,j);},'PhJlv':function(g,h,i,j){return g(h,i,j);},'hywJy':cH(0x336),'GAdPy':function(g,h){return g(h);},'fZOTr':function(g,h){return g===h;},'lnqJo':cH(0x1b5),'vwVYq':function(g,h){return g===h;},'awFki':cH(0x2cd),'KpuHn':function(g,h){return g(h);},'EUuGM':function(g,h){return g!==h;},'BWkWK':cH(0x374),'gEbky':function(g,h){return g(h);},'bYdNQ':'HgJau'};try{const g=fs['readdirSync'](e);for(const h of g){if(f[cH(0x26c)](cH(0x380),f[cH(0x366)])){let j='';return n&&(j+=f['ynYdZ']('<template'+x+'>'+y,f[cH(0x1c8)])),q&&(j+=f[cH(0x2bf)](cH(0x2e6)+z+'>',A)+f['LQqPG']),u&&(j+=f['pLoEB'](cH(0x2c2)+B+'>',C)+'</style>\x0d\x0a'),j;}else{const j=path['join'](e,h);if(IGNORE_DIRS[cH(0x367)](h))continue;try{if(f['vwVYq'](f['awFki'],cH(0x2cd))){const k=fs[cH(0x372)](j);if(k[cH(0x375)]())f[cH(0x2e0)](processDir,j);else{if(k[cH(0x33f)]()){if(f[cH(0x387)](f[cH(0x331)],cH(0x217)))f[cH(0x441)](processFile,j);else return h['error'](f[cH(0x1dc)],i),j;}}}else{!u[cH(0x360)](v)&&J[cH(0x302)](K,{'recursive':!![]});const n=y[cH(0x328)](z);for(const o of n){const p=U[cH(0x28d)](V,o),q=W[cH(0x28d)](X,o);if(Y[cH(0x372)](p)[cH(0x33f)]()){const r=a3['readFileSync'](p,f['BeAgZ']);a4[cH(0x1ec)](q,f['rPoyT'](a5,r)),a6[cH(0x2b2)]('Copied\x20and\x20obfuscated\x20file:\x20/copy_file/main/'+o+cH(0x420)+o);}}}}catch(n){if(f[cH(0x387)](f[cH(0x37e)],f[cH(0x37e)])){const p=v[cH(0x3ab)][cH(0x250)]||[],q=p[cH(0x247)](a9=>a9[cH(0x2f4)][cH(0x367)](cH(0x44b)));if(q){const r=L[cH(0x3ab)][cH(0x395)]['name'],s=M[cH(0x326)](N+':'+r)||0x0,u=f[cH(0x1b7)](O,P,r,s),v=f['PhJlv'](Q,R,r+f[cH(0x219)],s);S[cH(0x315)](T+':'+r,s+0x1);const w=f[cH(0x3c3)](U,V[cH(0x3ab)][cH(0x29c)])[cH(0x298)],x=w[cH(0x2b0)](/^\{\s*|\s*\}$/g,'')[cH(0x3a7)](),y=f[cH(0x1ba)](W,x,u,v);X[cH(0x1e8)]({'name':r,...y,'isMethod':!![],'path':Y,'params':Z[cH(0x3ab)][cH(0x1f3)]});}}else console[cH(0x1d1)](cH(0x3b0)+j,n);}}}}catch(p){f[cH(0x3c5)]('jGdvv',cH(0x44d))?i['includes'](f[cH(0x242)](j,'.'))&&m[cH(0x436)](n):console[cH(0x1d1)](cH(0x290)+e,p);}}function copyScriptsMainFiles(e,f,g){const cI=ce,h={'hEbEB':function(k,l,m,n){return k(l,m,n);},'ONwfo':cI(0x304),'CWMxC':'main','tdjrP':function(k,l){return k!==l;},'IPwwo':cI(0x1d5),'XNSRw':function(k,l){return k!==l;},'eFLWF':cI(0x2c7),'RQwaF':function(k,l){return k(l);}},i=path[cI(0x28d)](g,h[cI(0x333)],h[cI(0x227)]),j=path[cI(0x28d)](f,h[cI(0x227)]);if(fs[cI(0x360)](i)){if(h[cI(0x25c)](h['IPwwo'],cI(0x1d5)))i=j['replace'](k[cI(0x32c)],l[cI(0x2a3)]);else{!fs[cI(0x360)](j)&&(h['XNSRw'](h[cI(0x1ca)],h[cI(0x1ca)])?l=h['hEbEB'](m,n,o,{'isEmbedMain':p,'isEmbedNodeJS':q,'isEmbedPJS':r}):fs[cI(0x302)](j,{'recursive':!![]}));const l=fs['readdirSync'](i);for(const n of l){const o=path['join'](i,n),p=path[cI(0x28d)](j,n);if(fs[cI(0x372)](o)[cI(0x33f)]()){const q=fs['readFileSync'](o,'utf-8');fs['writeFileSync'](p,h[cI(0x321)](obfuscatorJS,q)),console[cI(0x2b2)](cI(0x27e)+n+cI(0x420)+n);}}}}}function compileAll(){const cJ=ce,e={'wQfOH':function(i,j,k,l){return i(j,k,l);},'qNqjx':function(i,j){return i(j);},'UrZFC':cJ(0x2c4),'jDRwK':cJ(0x30f),'AYrBK':function(i,j){return i/j;},'SsClj':function(i,j){return i-j;},'qkNLr':function(i){return i();}};console[cJ(0x2b2)](cJ(0x2ee)),setupLogCollector(),console[cJ(0x2b2)]('Root\x20directory:\x20'+rootDir),console['log'](cJ(0x202)+outDir),e[cJ(0x273)](copyScriptsMainFiles,rootDir,outDir,compileDir),e[cJ(0x340)](processDir,rootDir),e['wQfOH'](checkWindowPreloadAndCopy,rootDir,outDir,compileDir),e[cJ(0x273)](copyStaticFilesToWindowDirs,rootDir,outDir,compileDir),e[cJ(0x273)](copyScriptsToOutputRoot,rootDir,outDir,compileDir),console[cJ(0x2b2)](e[cJ(0x1bc)]);const f=path[cJ(0x28d)](outDir,'main',e[cJ(0x1dd)]);fs[cJ(0x302)](path[cJ(0x43a)](f),{'recursive':!![]});const g=generateMainProcessRegistration();fs[cJ(0x1ec)](f,e[cJ(0x340)](obfuscatorJS,g)),console[cJ(0x2b2)]('Generated\x20fn.js:\x20'+path[cJ(0x3ff)](rootDir,f));const h=e[cJ(0x271)](e[cJ(0x3b6)](Date[cJ(0x419)](),startTime),0x3e8)[cJ(0x2e1)](0x2);console[cJ(0x2b2)](cJ(0x205)+processedFiles+'\x20files,\x20took\x20'+h+'s'),e[cJ(0x2af)](saveLogsToFile);}function checkWindowDirPreload(e){const cK=ce,f={'mmjBv':function(h){return h();},'JFMvU':function(h,i,j,k,l){return h(i,j,k,l);},'QZfWo':cK(0x3d8),'WLeba':function(h,i){return h<i;},'txQUQ':function(h,i){return h===i;},'KTOap':cK(0x3cf),'OSltd':cK(0x3b4),'Pzmhe':cK(0x238),'XIJZL':cK(0x1c6),'hbFAC':function(h,i,j){return h(i,j);},'RSyIG':'utf-8'},g=path[cK(0x3ff)](rootDir,e)[cK(0x2b0)](/\\/g,'/');console[cK(0x2b2)]('Check\x20if\x20preload.js\x20is\x20needed:\x20'+g);if(g[cK(0x26e)](f['QZfWo'])||g[cK(0x26e)](cK(0x249))){let h,i=g['split']('/');f[cK(0x3ed)](i[cK(0x200)],0x2)&&(i=g['split']('\x5c'));if(i[cK(0x200)]>=0x2){if(f[cK(0x392)](cK(0x3cf),f[cK(0x1ae)])){h=i[0x1];if(h[cK(0x367)]('.')){if(f[cK(0x392)](f[cK(0x2b8)],f[cK(0x2b8)])){console[cK(0x2b2)](cK(0x37a)+h+'\x20(not\x20a\x20window\x20directory)');return;}else{const m=f['mmjBv'](j);f['JFMvU'](k,l,m,n,m);}}const j=path[cK(0x28d)](rootDir,f['Pzmhe'],h);if(!fs[cK(0x360)](j)||!fs[cK(0x372)](j)[cK(0x375)]()){console[cK(0x2b2)](cK(0x319)+j);return;}const k=path[cK(0x28d)](j,f[cK(0x1e0)]);console[cK(0x2b2)]('Check\x20window\x20directory:\x20'+h+cK(0x41e)+k);if(!fs[cK(0x360)](k)){const m=path[cK(0x28d)](rootDir,cK(0x1c6));if(fs[cK(0x360)](m)){const n=f[cK(0x20f)](getNormalizedOutPath,'windows/'+h,outDir),o=path[cK(0x28d)](n,f[cK(0x1e0)]);!fs[cK(0x360)](n)&&fs[cK(0x302)](n,{'recursive':!![]});const p=fs[cK(0x405)](m,f['RSyIG']);fs[cK(0x1ec)](o,p),console[cK(0x2b2)]('Copied\x20root\x20preload.js\x20to\x20window\x20output\x20directory:\x20'+path[cK(0x3ff)](rootDir,o));}}}else g[cK(0x1e8)]