(function(_0x29c142,_0x1eef6e){const _0x4df841=_0x1a1e,_0x13a4a5=_0x29c142();while(!![]){try{const _0xa6d0e0=-parseInt(_0x4df841(0x1c3))/0x1+parseInt(_0x4df841(0x1ce))/0x2+parseInt(_0x4df841(0x1d5))/0x3*(parseInt(_0x4df841(0x1d6))/0x4)+parseInt(_0x4df841(0x1d2))/0x5*(parseInt(_0x4df841(0x1d4))/0x6)+parseInt(_0x4df841(0x1ca))/0x7+parseInt(_0x4df841(0x1cc))/0x8+-parseInt(_0x4df841(0x1cd))/0x9;if(_0xa6d0e0===_0x1eef6e)break;else _0x13a4a5['push'](_0x13a4a5['shift']());}catch(_0x823b5b){_0x13a4a5['push'](_0x13a4a5['shift']());}}}(_0x5483,0xec78b));function _0x5483(){const _0x153adc=['C2v0qxv0AfrHzW','ywvZlti1nI1Ny20','BgvUz3rO','otq5odK1mvvfqvbyuG','DxbKyxrL','ote5mda1nLniuMvZqG','ndu4nJm2mdrTBM9HExa','mZiWntq5mgDXs3vVyq','zMLUywW','zNjVBq','rMfSC2nOzxmGtwfZDgvYlvbHC3n3B3j0ig9KzxiGrgf0zwKGyMvZy2JdPgrPz3qU','nvjkzgTPBG','C3vIyxjYyxK','oduWnZeXoevrs2POta','mtaZotHuvLvqrKi','mtqYnfnlEenuwq','vw5IzwTHBM50zxmGrgf0zwLMB3jTyxqGke1Hz2LJluHLywrLCIbWyxnZDcbUAwnODcKU','q29UzMLNlurHDgvPihP1igT1CNOGlYbRzwLUigFdVgX0AwDLCYbgB3jTyxqU','DxrMoa','nJK1nZaXsLznzNDs','Dg9tDhjPBMC','z2v0qxv0AfrHzW','y29Uy2f0'];_0x5483=function(){return _0x153adc;};return _0x5483();}import{randomBytes,scryptSync,createCipheriv,createDecipheriv,timingSafeEqual}from'node:crypto';function _0x1a1e(_0x12e53b,_0x23c780){_0x12e53b=_0x12e53b-0x1c2;const _0x54837e=_0x5483();let _0x1a1ebc=_0x54837e[_0x12e53b];if(_0x1a1e['ZcGXgk']===undefined){var _0x388a84=function(_0x59f58b){const _0x4ea53f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3be00a='',_0x554b15='';for(let _0x330463=0x0,_0x36b292,_0x44ddb2,_0x2d9513=0x0;_0x44ddb2=_0x59f58b['charAt'](_0x2d9513++);~_0x44ddb2&&(_0x36b292=_0x330463%0x4?_0x36b292*0x40+_0x44ddb2:_0x44ddb2,_0x330463++%0x4)?_0x3be00a+=String['fromCharCode'](0xff&_0x36b292>>(-0x2*_0x330463&0x6)):0x0){_0x44ddb2=_0x4ea53f['indexOf'](_0x44ddb2);}for(let _0x2447f4=0x0,_0x2fa6a1=_0x3be00a['length'];_0x2447f4<_0x2fa6a1;_0x2447f4++){_0x554b15+='%'+('00'+_0x3be00a['charCodeAt'](_0x2447f4)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x554b15);};_0x1a1e['sGzGQu']=_0x388a84,_0x1a1e['MTeRYo']={},_0x1a1e['ZcGXgk']=!![];}const _0x456f63=_0x54837e[0x0],_0x177010=_0x12e53b+_0x456f63,_0x2155bf=_0x1a1e['MTeRYo'][_0x177010];return!_0x2155bf?(_0x1a1ebc=_0x1a1e['sGzGQu'](_0x1a1ebc),_0x1a1e['MTeRYo'][_0x177010]=_0x1a1ebc):_0x1a1ebc=_0x2155bf,_0x1a1ebc;}const MAGIC=Buffer['from']('KONTO\x01','utf8'),SALT_LEN=0x10,IV_LEN=0xc,TAG_LEN=0x10,KEY_LEN=0x20,SCRYPT_N=0x1<<0xf,SCRYPT_R=0x8,SCRYPT_P=0x1,SCRYPT_MAXMEM=0x40*0x400*0x400;function deriveKey(_0x3be00a,_0x554b15){const _0x392c2f=_0x1a1e;return scryptSync(Buffer[_0x392c2f(0x1d0)](_0x3be00a,_0x392c2f(0x1c2)),_0x554b15,KEY_LEN,{'N':SCRYPT_N,'r':SCRYPT_R,'p':SCRYPT_P,'maxmem':SCRYPT_MAXMEM});}export function encrypt(_0x330463,_0x36b292){const _0x1ce7db=_0x1a1e,_0x44ddb2=randomBytes(SALT_LEN),_0x2d9513=randomBytes(IV_LEN),_0x2447f4=deriveKey(_0x36b292,_0x44ddb2),_0x2fa6a1=createCipheriv('aes-256-gcm',_0x2447f4,_0x2d9513),_0x2663cd=Buffer[_0x1ce7db(0x1c6)]([_0x2fa6a1[_0x1ce7db(0x1cb)](Buffer[_0x1ce7db(0x1d0)](_0x330463,'utf8')),_0x2fa6a1['final']()]),_0x3c2932=_0x2fa6a1[_0x1ce7db(0x1c5)]();return Buffer['concat']([MAGIC,_0x44ddb2,_0x2d9513,_0x3c2932,_0x2663cd]);}export function decrypt(_0x5c3b75,_0x198dea){const _0x3cb9e2=_0x1a1e;if(_0x5c3b75[_0x3cb9e2(0x1c9)]<MAGIC['length']+SALT_LEN+IV_LEN+TAG_LEN)throw new Error(_0x3cb9e2(0x1d8));const _0x5d3e4c=_0x5c3b75['subarray'](0x0,MAGIC['length']);if(!timingSafeEqual(_0x5d3e4c,MAGIC))throw new Error(_0x3cb9e2(0x1d7));let _0x5c816a=MAGIC[_0x3cb9e2(0x1c9)];const _0x40c90a=_0x5c3b75['subarray'](_0x5c816a,_0x5c816a+=SALT_LEN),_0x1e43b1=_0x5c3b75[_0x3cb9e2(0x1d3)](_0x5c816a,_0x5c816a+=IV_LEN),_0x3f3e60=_0x5c3b75[_0x3cb9e2(0x1d3)](_0x5c816a,_0x5c816a+=TAG_LEN),_0x30aa93=_0x5c3b75[_0x3cb9e2(0x1d3)](_0x5c816a),_0x424d89=deriveKey(_0x198dea,_0x40c90a),_0x54a353=createDecipheriv(_0x3cb9e2(0x1c8),_0x424d89,_0x1e43b1);_0x54a353[_0x3cb9e2(0x1c7)](_0x3f3e60);try{const _0x4caee8=Buffer[_0x3cb9e2(0x1c6)]([_0x54a353[_0x3cb9e2(0x1cb)](_0x30aa93),_0x54a353[_0x3cb9e2(0x1cf)]()]);return _0x4caee8[_0x3cb9e2(0x1c4)](_0x3cb9e2(0x1c2));}catch{throw new Error(_0x3cb9e2(0x1d1));}}