@scitus/hazel 0.0.6 → 0.0.9

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/cli/index.js CHANGED
@@ -1,30 +1,2 @@
1
1
  #!/usr/bin/env node
2
- /**
3
- * Hazel CLI - Your dedicated AI assistant from Scitus Solutions Ltd.
4
- *
5
- * Thin client that connects to Hazel API server.
6
- * All tools and AI execution happens server-side.
7
- */
8
- import chalk from 'chalk';
9
- import { runApiMode } from './api-mode.js';
10
- import { checkForUpdates } from './updater.js';
11
- import { logger } from './logger.js';
12
- const hazel = {
13
- error: chalk.red,
14
- };
15
- async function main() {
16
- try {
17
- // Auto-update silently if new version available
18
- await checkForUpdates(true);
19
- await runApiMode();
20
- }
21
- catch (error) {
22
- const errorMsg = error instanceof Error ? error.message : 'Unknown error';
23
- logger.error('CLI crashed', error);
24
- console.error(hazel.error(` Error: ${errorMsg}`));
25
- console.error(hazel.error(` See logs: ${logger.getLogPath()}`));
26
- process.exit(1);
27
- }
28
- }
29
- main();
30
- //# sourceMappingURL=index.js.map
2
+ (function(_0x1cef6e,_0x24178f){const a2_0x2c4489={_0x33c5a9:0x9b,_0x22e540:'\x47\x53\x68\x79',_0xcbb3ff:'\x76\x35\x31\x32',_0x417ac9:0xdb,_0x59acad:0xcf,_0x20e6a4:'\x72\x4c\x4e\x32',_0x597126:0xdc,_0x3f170a:0xcd,_0x36e880:'\x49\x29\x70\x61',_0x3df8b9:'\x61\x64\x5d\x44',_0x48f884:'\x24\x26\x64\x6a',_0x15ecf4:0x78,_0x504ab7:'\x74\x46\x48\x74'},_0x20c086=_0x1cef6e();function _0x40f8f5(_0x1ebf91,_0x3f82ef){return a2_0x361b(_0x3f82ef- -0x81,_0x1ebf91);}function _0x37b907(_0x34337c,_0x2e598d){return a2_0x361b(_0x34337c- -0x1d9,_0x2e598d);}while(!![]){try{const _0x55af3d=-parseInt(_0x37b907(-0x96,'\x47\x53\x68\x79'))/0x1+parseInt(_0x37b907(-a2_0x2c4489._0x33c5a9,a2_0x2c4489._0x22e540))/0x2+parseInt(_0x40f8f5(a2_0x2c4489._0xcbb3ff,a2_0x2c4489._0x417ac9))/0x3+-parseInt(_0x40f8f5('\x61\x47\x77\x46',a2_0x2c4489._0x59acad))/0x4*(-parseInt(_0x40f8f5(a2_0x2c4489._0x20e6a4,a2_0x2c4489._0x597126))/0x5)+-parseInt(_0x40f8f5('\x72\x4c\x4e\x32',0xb0))/0x6*(parseInt(_0x40f8f5('\x31\x2a\x55\x71',a2_0x2c4489._0x3f170a))/0x7)+parseInt(_0x37b907(-0x9d,a2_0x2c4489._0x36e880))/0x8*(parseInt(_0x40f8f5(a2_0x2c4489._0x3df8b9,0xde))/0x9)+-parseInt(_0x40f8f5(a2_0x2c4489._0x48f884,0xb1))/0xa*(parseInt(_0x37b907(-a2_0x2c4489._0x15ecf4,a2_0x2c4489._0x504ab7))/0xb);if(_0x55af3d===_0x24178f)break;else _0x20c086['push'](_0x20c086['shift']());}catch(_0x3d8605){_0x20c086['push'](_0x20c086['shift']());}}}(a2_0x489c,0x5d70c));import a2_0x881937 from'\x63\x68\x61\x6c\x6b';import{runApiMode}from'\x2e\x2f\x61\x70\x69\x2d\x6d\x6f\x64\x65\x2e\x6a\x73';function a2_0x361b(_0x58feb6,_0x57216f){_0x58feb6=_0x58feb6-0x131;const _0x5c9c97=a2_0x489c();let _0x581b5d=_0x5c9c97[_0x58feb6];if(a2_0x361b['\x6b\x72\x79\x6f\x56\x4c']===undefined){var _0x442ea2=function(_0x1cc719){const _0x2392cb='\x61\x62\x63\x64\x65\x66\x67\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70\x71\x72\x73\x74\x75\x76\x77\x78\x79\x7a\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50\x51\x52\x53\x54\x55\x56\x57\x58\x59\x5a\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x2b\x2f\x3d';let _0xcd907='',_0x10c8f5='',_0x5281f3=_0xcd907+_0x442ea2;for(let _0x1416df=0x0,_0x591e4b,_0x44f650,_0x3daafa=0x0;_0x44f650=_0x1cc719['\x63\x68\x61\x72\x41\x74'](_0x3daafa++);~_0x44f650&&(_0x591e4b=_0x1416df%0x4?_0x591e4b*0x40+_0x44f650:_0x44f650,_0x1416df++%0x4)?_0xcd907+=_0x5281f3['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x3daafa+0xa)-0xa!==0x0?String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x591e4b>>(-0x2*_0x1416df&0x6)):_0x1416df:0x0){_0x44f650=_0x2392cb['\x69\x6e\x64\x65\x78\x4f\x66'](_0x44f650);}for(let _0x30afbd=0x0,_0x5d7409=_0xcd907['\x6c\x65\x6e\x67\x74\x68'];_0x30afbd<_0x5d7409;_0x30afbd++){_0x10c8f5+='\x25'+('\x30\x30'+_0xcd907['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x30afbd)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x10c8f5);};const _0x144ee7=function(_0x580022,_0x285793){let _0x246628=[],_0x15d21d=0x0,_0x3f896f,_0x42bb37='';_0x580022=_0x442ea2(_0x580022);let _0x23963a;for(_0x23963a=0x0;_0x23963a<0x100;_0x23963a++){_0x246628[_0x23963a]=_0x23963a;}for(_0x23963a=0x0;_0x23963a<0x100;_0x23963a++){_0x15d21d=(_0x15d21d+_0x246628[_0x23963a]+_0x285793['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x23963a%_0x285793['\x6c\x65\x6e\x67\x74\x68']))%0x100,_0x3f896f=_0x246628[_0x23963a],_0x246628[_0x23963a]=_0x246628[_0x15d21d],_0x246628[_0x15d21d]=_0x3f896f;}_0x23963a=0x0,_0x15d21d=0x0;for(let _0x2c26b8=0x0;_0x2c26b8<_0x580022['\x6c\x65\x6e\x67\x74\x68'];_0x2c26b8++){_0x23963a=(_0x23963a+0x1)%0x100,_0x15d21d=(_0x15d21d+_0x246628[_0x23963a])%0x100,_0x3f896f=_0x246628[_0x23963a],_0x246628[_0x23963a]=_0x246628[_0x15d21d],_0x246628[_0x15d21d]=_0x3f896f,_0x42bb37+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](_0x580022['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x2c26b8)^_0x246628[(_0x246628[_0x23963a]+_0x246628[_0x15d21d])%0x100]);}return _0x42bb37;};a2_0x361b['\x58\x66\x61\x59\x54\x70']=_0x144ee7,a2_0x361b['\x63\x7a\x51\x54\x55\x73']={},a2_0x361b['\x6b\x72\x79\x6f\x56\x4c']=!![];}const _0x489c94=_0x5c9c97[0x0],_0x361b52=_0x58feb6+_0x489c94,_0x5e555f=a2_0x361b['\x63\x7a\x51\x54\x55\x73'][_0x361b52];if(!_0x5e555f){if(a2_0x361b['\x6a\x70\x45\x74\x6f\x68']===undefined){const _0x3f7f62=function(_0x46230a){this['\x44\x57\x53\x4b\x44\x73']=_0x46230a,this['\x73\x73\x6a\x54\x45\x68']=[0x1,0x0,0x0],this['\x68\x69\x61\x6e\x75\x49']=function(){return'\x6e\x65\x77\x53\x74\x61\x74\x65';},this['\x62\x54\x79\x48\x57\x62']='\x5c\x77\x2b\x20\x2a\x5c\x28\x5c\x29\x20\x2a\x7b\x5c\x77\x2b\x20\x2a',this['\x64\x74\x6b\x6d\x55\x44']='\x5b\x27\x7c\x22\x5d\x2e\x2b\x5b\x27\x7c\x22\x5d\x3b\x3f\x20\x2a\x7d';};_0x3f7f62['\x70\x72\x6f\x74\x6f\x74\x79\x70\x65']['\x6a\x52\x6e\x5a\x46\x71']=function(){const _0xaf0329=new RegExp(this['\x62\x54\x79\x48\x57\x62']+this['\x64\x74\x6b\x6d\x55\x44']),_0xd727ff=_0xaf0329['\x74\x65\x73\x74'](this['\x68\x69\x61\x6e\x75\x49']['\x74\x6f\x53\x74\x72\x69\x6e\x67']())?--this['\x73\x73\x6a\x54\x45\x68'][0x1]:--this['\x73\x73\x6a\x54\x45\x68'][0x0];return this['\x72\x61\x71\x53\x43\x64'](_0xd727ff);},_0x3f7f62['\x70\x72\x6f\x74\x6f\x74\x79\x70\x65']['\x72\x61\x71\x53\x43\x64']=function(_0x56f6f6){if(!Boolean(~_0x56f6f6))return _0x56f6f6;return this['\x61\x42\x56\x64\x4e\x56'](this['\x44\x57\x53\x4b\x44\x73']);},_0x3f7f62['\x70\x72\x6f\x74\x6f\x74\x79\x70\x65']['\x61\x42\x56\x64\x4e\x56']=function(_0x3d5f26){for(let _0x1eb685=0x0,_0x1eaf58=this['\x73\x73\x6a\x54\x45\x68']['\x6c\x65\x6e\x67\x74\x68'];_0x1eb685<_0x1eaf58;_0x1eb685++){this['\x73\x73\x6a\x54\x45\x68']['\x70\x75\x73\x68'](Math['\x72\x6f\x75\x6e\x64'](Math['\x72\x61\x6e\x64\x6f\x6d']())),_0x1eaf58=this['\x73\x73\x6a\x54\x45\x68']['\x6c\x65\x6e\x67\x74\x68'];}return _0x3d5f26(this['\x73\x73\x6a\x54\x45\x68'][0x0]);},new _0x3f7f62(a2_0x361b)['\x6a\x52\x6e\x5a\x46\x71'](),a2_0x361b['\x6a\x70\x45\x74\x6f\x68']=!![];}_0x581b5d=a2_0x361b['\x58\x66\x61\x59\x54\x70'](_0x581b5d,_0x57216f),a2_0x361b['\x63\x7a\x51\x54\x55\x73'][_0x361b52]=_0x581b5d;}else _0x581b5d=_0x5e555f;return _0x581b5d;}import{checkForUpdates}from'\x2e\x2f\x75\x70\x64\x61\x74\x65\x72\x2e\x6a\x73';import{logger}from'\x2e\x2f\x6c\x6f\x67\x67\x65\x72\x2e\x6a\x73';const a2_0x6b1966={};function a2_0x489c(){const _0x30e576=['\x74\x4e\x31\x70\x68\x4a\x65','\x57\x35\x5a\x63\x4c\x43\x6b\x73\x77\x57\x64\x63\x4a\x6d\x6f\x4d\x43\x47','\x6e\x38\x6b\x67\x57\x34\x4f\x79\x6e\x57','\x57\x35\x4e\x64\x48\x31\x48\x74\x57\x52\x72\x44\x57\x35\x4b','\x57\x4f\x37\x64\x4a\x5a\x35\x64\x57\x50\x4e\x64\x4c\x6d\x6b\x39\x57\x37\x70\x64\x49\x53\x6f\x57\x68\x64\x74\x64\x51\x61','\x57\x35\x78\x63\x55\x43\x6b\x52\x57\x34\x70\x64\x53\x47','\x57\x36\x74\x63\x4d\x43\x6f\x70\x57\x50\x39\x58','\x46\x76\x4b\x63\x57\x34\x74\x63\x47\x63\x35\x59\x68\x6d\x6f\x67\x57\x52\x2f\x64\x4c\x75\x75','\x73\x77\x33\x64\x4b\x57','\x46\x4e\x52\x64\x47\x33\x30\x30','\x57\x37\x31\x61\x57\x34\x58\x79\x76\x53\x6f\x58\x78\x77\x70\x64\x52\x53\x6b\x2f\x57\x34\x66\x2b','\x57\x52\x6c\x64\x49\x5a\x2f\x63\x49\x4d\x53\x66\x57\x34\x4f','\x57\x4f\x46\x64\x55\x47\x33\x64\x4f\x47\x79','\x73\x59\x33\x63\x55\x65\x33\x64\x4d\x61','\x57\x4f\x79\x4a\x63\x53\x6f\x43\x57\x51\x37\x64\x50\x38\x6b\x4d\x57\x4f\x71','\x71\x32\x5a\x64\x4d\x53\x6f\x53\x6a\x71','\x69\x4a\x64\x63\x48\x73\x50\x32\x78\x43\x6f\x65\x6a\x64\x6e\x73\x57\x50\x65\x2f','\x57\x4f\x69\x64\x57\x51\x4f\x30\x66\x71','\x6d\x49\x70\x63\x4d\x64\x4c\x56','\x76\x72\x35\x7a\x57\x35\x53\x79','\x57\x51\x6c\x64\x50\x6d\x6b\x57\x73\x72\x38','\x6b\x74\x68\x63\x49\x73\x6e\x57\x76\x43\x6f\x6f\x6e\x72\x35\x4a\x57\x4f\x75\x4b','\x6a\x5a\x64\x63\x4e\x53\x6f\x44\x78\x47','\x7a\x59\x64\x64\x47\x74\x6d\x6f','\x57\x35\x76\x57\x57\x37\x33\x63\x50\x6d\x6f\x7a\x73\x33\x33\x64\x47\x38\x6f\x48\x57\x50\x33\x63\x50\x4a\x69','\x69\x77\x46\x63\x4c\x68\x35\x73\x65\x38\x6b\x65\x57\x37\x68\x63\x50\x6d\x6f\x52\x57\x4f\x76\x56','\x69\x63\x75\x47','\x57\x35\x74\x63\x50\x6d\x6b\x6c\x71\x61','\x61\x38\x6b\x33\x57\x34\x71\x66\x68\x61','\x57\x4f\x56\x64\x4e\x38\x6f\x70\x68\x71','\x57\x36\x33\x64\x48\x5a\x4f','\x57\x4f\x4b\x36\x57\x52\x56\x64\x53\x38\x6b\x42','\x57\x50\x53\x78\x57\x50\x6a\x2f\x57\x37\x52\x64\x49\x38\x6f\x4a\x45\x75\x68\x63\x51\x67\x47\x30','\x46\x43\x6f\x6f\x57\x34\x61\x75\x65\x76\x33\x63\x53\x75\x4f','\x75\x5a\x46\x63\x4f\x76\x70\x64\x47\x43\x6f\x74\x57\x52\x2f\x63\x49\x49\x71\x53\x6f\x38\x6f\x70\x57\x34\x79','\x44\x43\x6b\x54\x57\x52\x35\x55\x57\x34\x38','\x62\x67\x6a\x5a\x57\x52\x52\x63\x4e\x57','\x74\x67\x65\x61\x57\x4f\x64\x63\x56\x61','\x57\x4f\x4a\x64\x54\x76\x54\x32\x57\x50\x69','\x57\x51\x31\x53\x45\x59\x50\x79\x57\x50\x72\x42\x72\x4a\x68\x63\x4c\x49\x4b\x33\x57\x4f\x30','\x7a\x5a\x74\x64\x4b\x73\x38\x65','\x7a\x43\x6b\x73\x57\x36\x34\x77\x63\x71','\x57\x50\x37\x63\x4f\x6d\x6b\x44\x6b\x32\x61','\x57\x4f\x33\x63\x51\x6d\x6b\x4d\x6c\x4c\x71','\x61\x76\x66\x70\x57\x35\x30\x79','\x57\x37\x64\x64\x48\x47\x37\x63\x52\x31\x43','\x57\x34\x70\x64\x4f\x38\x6b\x6c\x44\x38\x6f\x6d\x42\x6d\x6f\x37\x57\x35\x47\x30\x57\x51\x4a\x63\x4c\x43\x6b\x2b\x46\x47','\x57\x35\x52\x64\x47\x30\x50\x34\x57\x4f\x48\x6c\x57\x36\x65','\x72\x43\x6f\x4e\x57\x37\x4a\x64\x4f\x43\x6f\x45','\x57\x34\x50\x58\x57\x34\x71\x39\x57\x37\x4f\x58\x43\x65\x2f\x63\x47\x68\x78\x64\x49\x33\x71'];a2_0x489c=function(){return _0x30e576;};return a2_0x489c();}a2_0x6b1966['\x65\x72\x72\x6f\x72']=a2_0x881937['\x72\x65\x64'];const a2_0x3b9418=a2_0x6b1966;async function a2_0xba4b96(){const a2_0x13fdfa={_0x5d0e4c:'\x74\x46\x48\x74',_0x3e668e:0x29c,_0xca3b66:0x142,_0x1b1cd4:'\x21\x63\x38\x25',_0x3a7098:'\x23\x62\x42\x6a',_0x2788d1:0x147,_0xa3f30c:0x154,_0x15633d:'\x78\x4f\x6e\x6c',_0x51f3c7:0x29b,_0x3440c1:'\x74\x46\x48\x74',_0x32611c:0x14d,_0x37ff56:'\x47\x53\x68\x79',_0x28cfaf:0x2a5,_0x55abec:'\x76\x31\x47\x50',_0x5d4079:'\x28\x23\x65\x6a',_0x38ac72:0x14f},a2_0x2a8965={_0x1133e8:'\x78\x4f\x6e\x6c',_0x434f82:0xd7,_0x71a994:'\x56\x21\x4c\x65',_0x5bc732:'\x55\x2a\x45\x50',_0x5e31c8:0xf3,_0x54853b:0xdd,_0x28c0b0:0xb7,_0x4a871f:0xd3},a2_0x25016f={_0x339713:0x298},a2_0x22da6d={_0x483c09:0x482},a2_0x29a13c={_0x44a376:0x705},_0x1546eb={'\x67\x51\x59\x72\x72':_0x317e83(a2_0x13fdfa._0x5d0e4c,-0x29a),'\x77\x62\x4c\x53\x75':'\x28\x28\x28\x2e\x2b'+_0x317e83('\x47\x53\x68\x79',-a2_0x13fdfa._0x3e668e)+'\x2b\x24','\x4d\x67\x48\x71\x4e':function(_0x3bdd40){return _0x3bdd40();},'\x44\x6b\x5a\x51\x62':function(_0x22a0f0,_0x5752c1){return _0x22a0f0(_0x5752c1);},'\x50\x6d\x71\x42\x59':'\x43\x4c\x49\x20\x63'+_0x4efd39('\x75\x45\x77\x2a',-a2_0x13fdfa._0xca3b66)+'\x64'},_0x45eadd=(function(){const a2_0xb7de6c={_0x38d445:'\x76\x31\x47\x50',_0x24b1b9:'\x58\x72\x72\x35',_0x3339b1:0x1ee},_0x462650={};_0x462650[_0x33b7b0(0x47b,'\x38\x65\x24\x52')]=function(_0x418c52,_0x3cfd1f){return _0x418c52===_0x3cfd1f;},_0x462650[_0x33b7b0(a2_0x22da6d._0x483c09,'\x42\x6c\x59\x53')]=_0x1546eb['\x67\x51\x59\x72\x72'];function _0x988919(_0x582dd5,_0x513756){return _0x317e83(_0x513756,_0x582dd5-0xe8);}const _0x5e1d5a=_0x462650;let _0x31e2af=!![];function _0x33b7b0(_0x7d9412,_0x20a114){return _0x317e83(_0x20a114,_0x7d9412-a2_0x29a13c._0x44a376);}return function(_0x56abb9,_0x565245){const _0x5f45e4=_0x31e2af?function(){function _0x30315d(_0xf783a2,_0x38422f){return a2_0x361b(_0x38422f-0xba,_0xf783a2);}function _0x3f0317(_0x3b9d76,_0xb76300){return a2_0x361b(_0x3b9d76- -0x1fc,_0xb76300);}if(_0x5e1d5a['\x69\x58\x69\x73\x74'](_0x5e1d5a[_0x3f0317(-0x9a,'\x76\x31\x47\x50')],_0x30315d(a2_0xb7de6c._0x38d445,0x204))){if(_0x565245){const _0x17f9b3=_0x565245[_0x30315d(a2_0xb7de6c._0x24b1b9,a2_0xb7de6c._0x3339b1)](_0x56abb9,arguments);return _0x565245=null,_0x17f9b3;}}else{const a2_0x58b232={_0x2b8a60:'\x42\x6c\x59\x53'},_0x1b7861=_0x5d7409?function(){function _0xa4a0ac(_0x3e92b7,_0x1198ad){return _0x3f0317(_0x1198ad-0xb7,_0x3e92b7);}if(_0x42bb37){const _0xa2821b=_0x46230a[_0xa4a0ac(a2_0x58b232._0x2b8a60,0x13)](_0xaf0329,arguments);return _0xd727ff=null,_0xa2821b;}}:function(){};return _0x3f896f=![],_0x1b7861;}}:function(){};return _0x31e2af=![],_0x5f45e4;};}());function _0x4efd39(_0x10a4fa,_0x37007f){return a2_0x361b(_0x37007f- -a2_0x25016f._0x339713,_0x10a4fa);}const _0xb18175=_0x45eadd(this,function(){const a2_0x378620={_0x3397e1:0x230};function _0x2b4b51(_0x15efb1,_0x2b6b1d){return _0x4efd39(_0x2b6b1d,_0x15efb1-a2_0x378620._0x3397e1);}function _0x44f3ae(_0x4f9bf5,_0x2312a9){return _0x317e83(_0x2312a9,_0x4f9bf5-0x335);}return _0xb18175[_0x44f3ae(0xb3,a2_0x2a8965._0x1133e8)+_0x44f3ae(0x8f,'\x47\x42\x46\x38')]()[_0x2b4b51(a2_0x2a8965._0x434f82,a2_0x2a8965._0x71a994)+'\x68'](_0x1546eb[_0x2b4b51(0xeb,a2_0x2a8965._0x5bc732)])[_0x2b4b51(a2_0x2a8965._0x5e31c8,'\x55\x21\x44\x4e')+_0x2b4b51(0xe4,'\x55\x21\x44\x4e')]()[_0x2b4b51(0xd5,'\x47\x42\x46\x38')+_0x2b4b51(a2_0x2a8965._0x54853b,'\x75\x45\x77\x2a')+'\x72'](_0xb18175)[_0x44f3ae(a2_0x2a8965._0x28c0b0,'\x62\x51\x49\x71')+'\x68']('\x28\x28\x28\x2e\x2b'+_0x2b4b51(a2_0x2a8965._0x4a871f,'\x61\x47\x77\x46')+'\x2b\x24');});function _0x317e83(_0x4f8f1e,_0xc05b30){return a2_0x361b(_0xc05b30- -0x3dc,_0x4f8f1e);}_0x1546eb['\x4d\x67\x48\x71\x4e'](_0xb18175);try{await _0x1546eb['\x44\x6b\x5a\x51\x62'](checkForUpdates,!![]),await _0x1546eb['\x4d\x67\x48\x71\x4e'](runApiMode);}catch(_0x1bbb9d){const _0x1b6e6a=_0x1bbb9d instanceof Error?_0x1bbb9d['\x6d\x65\x73\x73\x61'+'\x67\x65']:'\x55\x6e\x6b\x6e\x6f'+'\x77\x6e\x20\x65\x72'+_0x317e83(a2_0x13fdfa._0x1b1cd4,-0x294);logger[_0x4efd39(a2_0x13fdfa._0x3a7098,-a2_0x13fdfa._0x2788d1)](_0x1546eb[_0x4efd39('\x25\x25\x4d\x24',-a2_0x13fdfa._0xa3f30c)],_0x1bbb9d),console[_0x4efd39('\x47\x68\x65\x77',-0x14b)](a2_0x3b9418[_0x317e83('\x5e\x45\x6c\x32',-0x27c)](_0x317e83(a2_0x13fdfa._0x15633d,-a2_0x13fdfa._0x51f3c7)+_0x4efd39(a2_0x13fdfa._0x3440c1,-a2_0x13fdfa._0x32611c)+_0x1b6e6a)),console['\x65\x72\x72\x6f\x72'](a2_0x3b9418[_0x317e83(a2_0x13fdfa._0x37ff56,-a2_0x13fdfa._0x28cfaf)](_0x4efd39('\x53\x4d\x42\x4c',-0x165)+_0x317e83(a2_0x13fdfa._0x55abec,-0x285)+'\x3a\x20'+logger[_0x4efd39(a2_0x13fdfa._0x5d4079,-0x15e)+_0x317e83('\x72\x4c\x4e\x32',-0x288)]())),process[_0x4efd39('\x5d\x4e\x26\x78',-a2_0x13fdfa._0x38ac72)](0x1);}}a2_0xba4b96();
@@ -1,121 +1 @@
1
- /**
2
- * Logger module for Hazel CLI
3
- *
4
- * Writes errors and debug info to ~/.hazel/logs/hazel.log
5
- */
6
- import { existsSync, mkdirSync, appendFileSync } from 'fs';
7
- import { join } from 'path';
8
- import { homedir } from 'os';
9
- const HAZEL_DIR = join(homedir(), '.hazel');
10
- const LOGS_DIR = join(HAZEL_DIR, 'logs');
11
- const LOG_FILE = join(LOGS_DIR, 'hazel.log');
12
- // Max log file size: 5MB
13
- const MAX_LOG_SIZE = 5 * 1024 * 1024;
14
- /**
15
- * Ensure log directory exists
16
- */
17
- function ensureLogDir() {
18
- if (!existsSync(HAZEL_DIR)) {
19
- mkdirSync(HAZEL_DIR, { recursive: true });
20
- }
21
- if (!existsSync(LOGS_DIR)) {
22
- mkdirSync(LOGS_DIR, { recursive: true });
23
- }
24
- }
25
- /**
26
- * Rotate log file if too large
27
- */
28
- function rotateIfNeeded() {
29
- try {
30
- const { statSync, renameSync, unlinkSync } = require('fs');
31
- if (existsSync(LOG_FILE)) {
32
- const stats = statSync(LOG_FILE);
33
- if (stats.size > MAX_LOG_SIZE) {
34
- const backupFile = `${LOG_FILE}.old`;
35
- if (existsSync(backupFile)) {
36
- unlinkSync(backupFile);
37
- }
38
- renameSync(LOG_FILE, backupFile);
39
- }
40
- }
41
- }
42
- catch {
43
- // Ignore rotation errors
44
- }
45
- }
46
- /**
47
- * Format timestamp for log entries
48
- */
49
- function formatTimestamp() {
50
- return new Date().toISOString();
51
- }
52
- /**
53
- * Write a log entry
54
- */
55
- function writeLog(level, message, data) {
56
- try {
57
- ensureLogDir();
58
- rotateIfNeeded();
59
- let logLine = `[${formatTimestamp()}] [${level}] ${message}`;
60
- if (data !== undefined) {
61
- if (data instanceof Error) {
62
- logLine += `\n Error: ${data.message}`;
63
- if (data.stack) {
64
- logLine += `\n Stack: ${data.stack}`;
65
- }
66
- }
67
- else if (typeof data === 'object') {
68
- logLine += `\n Data: ${JSON.stringify(data, null, 2)}`;
69
- }
70
- else {
71
- logLine += `\n Data: ${data}`;
72
- }
73
- }
74
- logLine += '\n';
75
- appendFileSync(LOG_FILE, logLine);
76
- }
77
- catch {
78
- // Silently fail - logging should never break the CLI
79
- }
80
- }
81
- /**
82
- * Logger interface
83
- */
84
- export const logger = {
85
- /**
86
- * Log an error
87
- */
88
- error(message, error) {
89
- writeLog('ERROR', message, error);
90
- },
91
- /**
92
- * Log a warning
93
- */
94
- warn(message, data) {
95
- writeLog('WARN', message, data);
96
- },
97
- /**
98
- * Log info (only in debug mode)
99
- */
100
- info(message, data) {
101
- if (process.env.HAZEL_DEBUG === 'true') {
102
- writeLog('INFO', message, data);
103
- }
104
- },
105
- /**
106
- * Log debug (only in debug mode)
107
- */
108
- debug(message, data) {
109
- if (process.env.HAZEL_DEBUG === 'true') {
110
- writeLog('DEBUG', message, data);
111
- }
112
- },
113
- /**
114
- * Get log file path
115
- */
116
- getLogPath() {
117
- return LOG_FILE;
118
- },
119
- };
120
- export default logger;
121
- //# sourceMappingURL=logger.js.map
1
+ (function(_0x830655,_0xfd67b4){const a3_0x7165d2={_0x34d530:'\x32\x5b\x79\x45',_0x3e4bf3:0x19,_0x28b4e3:'\x40\x47\x71\x53',_0x15e397:0x3b8,_0x127f30:'\x21\x6c\x71\x75',_0x36ba8a:0x20,_0x50f89d:'\x4c\x56\x54\x47',_0x78ddd0:0x11};function _0x325e6a(_0x59480a,_0x40ace1){return a3_0x4024(_0x40ace1- -0x184,_0x59480a);}const _0x57af83=_0x830655();function _0x58192a(_0x4729d4,_0x352a81){return a3_0x4024(_0x352a81-0x254,_0x4729d4);}while(!![]){try{const _0x1ee930=-parseInt(_0x325e6a(a3_0x7165d2._0x34d530,a3_0x7165d2._0x3e4bf3))/0x1+-parseInt(_0x325e6a(a3_0x7165d2._0x28b4e3,0x2b))/0x2+parseInt(_0x325e6a('\x63\x68\x6a\x62',0x2c))/0x3+parseInt(_0x58192a('\x2a\x34\x54\x6b',a3_0x7165d2._0x15e397))/0x4+parseInt(_0x325e6a(a3_0x7165d2._0x127f30,0xf))/0x5+parseInt(_0x325e6a('\x40\x32\x32\x67',0x1d))/0x6+-parseInt(_0x325e6a('\x26\x65\x31\x6a',a3_0x7165d2._0x36ba8a))/0x7*(parseInt(_0x325e6a(a3_0x7165d2._0x50f89d,a3_0x7165d2._0x78ddd0))/0x8);if(_0x1ee930===_0xfd67b4)break;else _0x57af83['push'](_0x57af83['shift']());}catch(_0x184e8a){_0x57af83['push'](_0x57af83['shift']());}}}(a3_0x5d22,0x1b12d));const a3_0x165f31=(function(){const a3_0x37580c={_0x2c2d9c:'\x58\x5b\x65\x4d',_0x569342:0x210,_0x2173f8:'\x76\x2a\x57\x5b',_0x102c85:'\x41\x76\x72\x29',_0xdac79c:0x15c,_0x499e39:'\x28\x70\x21\x39',_0x1be4c8:0x248,_0xbf79ac:0x25e,_0x2bc5ed:'\x55\x69\x6f\x51'},a3_0x48de18={_0x47fe23:0x85,_0x4cfe9c:0x4f,_0x35614b:0x4c,_0x27d81c:'\x68\x42\x35\x69',_0x4291b8:'\x4c\x56\x54\x47',_0x53707d:0x5c,_0x2841de:'\x76\x2a\x57\x5b'},a3_0xd62aa6={_0x2b722b:0x515,_0x1d8c4f:0x512,_0x2da70b:'\x55\x69\x6f\x51',_0x1237bb:'\x6d\x73\x57\x4d',_0x57d4e6:0x4b8,_0x3a3fe2:'\x52\x6b\x25\x4e'},a3_0x36a715={_0x37333c:0x3},_0x37546f={};function _0xe90b3a(_0x5cf24e,_0x33a57f){return a3_0x4024(_0x33a57f- -a3_0x36a715._0x37333c,_0x5cf24e);}_0x37546f['\x70\x64\x59\x67\x42']=_0x4f5fe8(a3_0x37580c._0x2c2d9c,-a3_0x37580c._0x569342),_0x37546f[_0x4f5fe8(a3_0x37580c._0x2173f8,-0x236)]=_0xe90b3a(a3_0x37580c._0x102c85,0x163),_0x37546f[_0xe90b3a('\x6f\x6a\x6e\x63',a3_0x37580c._0xdac79c)]=function(_0x541d65,_0x1afa5d){return _0x541d65!==_0x1afa5d;},_0x37546f[_0x4f5fe8(a3_0x37580c._0x499e39,-a3_0x37580c._0x1be4c8)]='\x54\x50\x6a\x6e\x4b',_0x37546f[_0x4f5fe8('\x4c\x33\x70\x71',-0x1f0)]=_0xe90b3a('\x56\x44\x74\x6f',0x168),_0x37546f[_0x4f5fe8('\x59\x6b\x68\x69',-a3_0x37580c._0xbf79ac)]=function(_0x41de09,_0x268885){return _0x41de09===_0x268885;},_0x37546f[_0xe90b3a(a3_0x37580c._0x2bc5ed,0x155)]='\x41\x4c\x6b\x58\x41';function _0x4f5fe8(_0x5683e5,_0x23cde0){return a3_0x4024(_0x23cde0- -0x3b0,_0x5683e5);}const _0x31062c=_0x37546f;let _0x9e690f=!![];return function(_0x73f07d,_0x3c0cf1){const a3_0x2bf303={_0x18736e:'\x6d\x52\x25\x6a'};function _0x4fe67c(_0x52be97,_0x42d467){return _0x4f5fe8(_0x52be97,_0x42d467- -0x2e);}const _0x2524d8={'\x6e\x4c\x42\x58\x62':function(_0x2fbf34,_0x55c37e,_0x5256b1){return _0x2fbf34(_0x55c37e,_0x5256b1);},'\x45\x44\x53\x4c\x50':function(_0x48fde2,_0x5c95b5){function _0x1ddb07(_0x14fde0,_0x42a5f9){return a3_0x4024(_0x14fde0-0x332,_0x42a5f9);}return _0x31062c[_0x1ddb07(0x4ce,a3_0x2bf303._0x18736e)](_0x48fde2,_0x5c95b5);},'\x6e\x4f\x76\x53\x43':_0x31062c[_0x500300(a3_0x48de18._0x47fe23,'\x54\x6c\x21\x41')],'\x78\x62\x58\x77\x58':_0x31062c[_0x4fe67c('\x4e\x55\x41\x23',-0x291)]};function _0x500300(_0xedf9f1,_0x1d87df){return _0x4f5fe8(_0x1d87df,_0xedf9f1-0x292);}if(_0x31062c[_0x500300(0x3f,'\x39\x58\x44\x6b')](_0x31062c[_0x500300(a3_0x48de18._0x4cfe9c,'\x58\x5b\x65\x4d')],_0x31062c['\x4f\x73\x4f\x74\x64'])){const _0x2f794a=_0x9e690f?function(){function _0x112d72(_0xcba2c9,_0x566b3d){return _0x500300(_0xcba2c9-0x485,_0x566b3d);}function _0x189f36(_0x5a5691,_0x3452bb){return _0x4fe67c(_0x5a5691,_0x3452bb-0x7a5);}if(_0x3c0cf1){if(_0x2524d8['\x45\x44\x53\x4c\x50'](_0x2524d8[_0x112d72(a3_0xd62aa6._0x2b722b,'\x21\x6c\x71\x75')],_0x2524d8[_0x189f36('\x40\x32\x32\x67',0x579)])){const _0xce87d=_0x3c0cf1[_0x112d72(a3_0xd62aa6._0x1d8c4f,a3_0xd62aa6._0x2da70b)](_0x73f07d,arguments);return _0x3c0cf1=null,_0xce87d;}else{const _0x3c1e45={};_0x3c1e45[_0x189f36(a3_0xd62aa6._0x1237bb,0x53d)+_0x112d72(a3_0xd62aa6._0x57d4e6,'\x4d\x6b\x2a\x37')]=!![],_0x2524d8[_0x112d72(0x4b6,a3_0xd62aa6._0x3a3fe2)](_0x504a31,_0x23f1db,_0x3c1e45);}}}:function(){};return _0x9e690f=![],_0x2f794a;}else _0x2c3190[_0x500300(a3_0x48de18._0x35614b,a3_0x48de18._0x27d81c)]['\x48\x41\x5a\x45\x4c'+_0x500300(0x3c,a3_0x48de18._0x4291b8)+'\x47']===_0x31062c['\x70\x64\x59\x67\x42']&&_0x5e7374(_0x31062c[_0x500300(a3_0x48de18._0x53707d,a3_0x48de18._0x2841de)],_0x3394d5,_0x4b07df);};}()),a3_0x100170=a3_0x165f31(this,function(){const a3_0x159c52={_0x19352c:'\x68\x42\x35\x69',_0x4e48a1:'\x4e\x55\x41\x23',_0x1ec12a:0x8f,_0x20407e:'\x6d\x52\x25\x6a',_0xdcc11f:0xc4,_0x11f4ad:'\x32\x5b\x79\x45',_0x262f6c:0xdd},a3_0xb1a96c={_0x50ebd7:0x16},a3_0x1d50cd={_0x43c089:0x24e},_0x387df1={};function _0x11b05f(_0x36d9b2,_0x13c96b){return a3_0x4024(_0x13c96b- -a3_0x1d50cd._0x43c089,_0x36d9b2);}_0x387df1[_0x9ca992(a3_0x159c52._0x19352c,0x141)]=_0x11b05f(a3_0x159c52._0x4e48a1,-a3_0x159c52._0x1ec12a)+'\x29\x2b\x29\x2b\x29'+'\x2b\x24';const _0x54ea47=_0x387df1;function _0x9ca992(_0x19441a,_0x54f045){return a3_0x4024(_0x54f045- -a3_0xb1a96c._0x50ebd7,_0x19441a);}return a3_0x100170[_0x9ca992('\x68\x42\x35\x69',0x14f)+'\x69\x6e\x67']()['\x73\x65\x61\x72\x63'+'\x68'](_0x54ea47[_0x9ca992('\x39\x58\x44\x6b',0x177)])['\x74\x6f\x53\x74\x72'+_0x11b05f(a3_0x159c52._0x20407e,-a3_0x159c52._0xdcc11f)]()['\x63\x6f\x6e\x73\x74'+_0x11b05f(a3_0x159c52._0x11f4ad,-a3_0x159c52._0x262f6c)+'\x72'](a3_0x100170)[_0x11b05f('\x76\x2a\x57\x5b',-0xbd)+'\x68'](_0x54ea47[_0x11b05f('\x76\x2a\x57\x5b',-0xeb)]);});a3_0x100170();import{existsSync,mkdirSync,appendFileSync}from'\x66\x73';import{join}from'\x70\x61\x74\x68';function a3_0x4024(_0x168dd2,_0x2eb3cf){_0x168dd2=_0x168dd2-0x14b;const _0x46d8be=a3_0x5d22();let _0xed3fb8=_0x46d8be[_0x168dd2];if(a3_0x4024['\x65\x51\x58\x46\x54\x57']===undefined){var _0x19564e=function(_0xed4c73){const _0x50f5e2='\x61\x62\x63\x64\x65\x66\x67\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70\x71\x72\x73\x74\x75\x76\x77\x78\x79\x7a\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50\x51\x52\x53\x54\x55\x56\x57\x58\x59\x5a\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x2b\x2f\x3d';let _0x5d06bf='',_0x356ec7='',_0x225201=_0x5d06bf+_0x19564e;for(let _0x2839ab=0x0,_0x13e427,_0x2162c2,_0x4b3ac6=0x0;_0x2162c2=_0xed4c73['\x63\x68\x61\x72\x41\x74'](_0x4b3ac6++);~_0x2162c2&&(_0x13e427=_0x2839ab%0x4?_0x13e427*0x40+_0x2162c2:_0x2162c2,_0x2839ab++%0x4)?_0x5d06bf+=_0x225201['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x4b3ac6+0xa)-0xa!==0x0?String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x13e427>>(-0x2*_0x2839ab&0x6)):_0x2839ab:0x0){_0x2162c2=_0x50f5e2['\x69\x6e\x64\x65\x78\x4f\x66'](_0x2162c2);}for(let _0x3e518f=0x0,_0x285ce7=_0x5d06bf['\x6c\x65\x6e\x67\x74\x68'];_0x3e518f<_0x285ce7;_0x3e518f++){_0x356ec7+='\x25'+('\x30\x30'+_0x5d06bf['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x3e518f)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x356ec7);};const _0xa0942f=function(_0x5adcca,_0x431117){let _0x5e4060=[],_0x288028=0x0,_0x3b3908,_0x50d27c='';_0x5adcca=_0x19564e(_0x5adcca);let _0x34cf08;for(_0x34cf08=0x0;_0x34cf08<0x100;_0x34cf08++){_0x5e4060[_0x34cf08]=_0x34cf08;}for(_0x34cf08=0x0;_0x34cf08<0x100;_0x34cf08++){_0x288028=(_0x288028+_0x5e4060[_0x34cf08]+_0x431117['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x34cf08%_0x431117['\x6c\x65\x6e\x67\x74\x68']))%0x100,_0x3b3908=_0x5e4060[_0x34cf08],_0x5e4060[_0x34cf08]=_0x5e4060[_0x288028],_0x5e4060[_0x288028]=_0x3b3908;}_0x34cf08=0x0,_0x288028=0x0;for(let _0x504634=0x0;_0x504634<_0x5adcca['\x6c\x65\x6e\x67\x74\x68'];_0x504634++){_0x34cf08=(_0x34cf08+0x1)%0x100,_0x288028=(_0x288028+_0x5e4060[_0x34cf08])%0x100,_0x3b3908=_0x5e4060[_0x34cf08],_0x5e4060[_0x34cf08]=_0x5e4060[_0x288028],_0x5e4060[_0x288028]=_0x3b3908,_0x50d27c+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](_0x5adcca['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x504634)^_0x5e4060[(_0x5e4060[_0x34cf08]+_0x5e4060[_0x288028])%0x100]);}return _0x50d27c;};a3_0x4024['\x65\x73\x64\x72\x57\x50']=_0xa0942f,a3_0x4024['\x58\x41\x52\x79\x7a\x45']={},a3_0x4024['\x65\x51\x58\x46\x54\x57']=!![];}const _0x5d2255=_0x46d8be[0x0],_0x40246a=_0x168dd2+_0x5d2255,_0x5e94f9=a3_0x4024['\x58\x41\x52\x79\x7a\x45'][_0x40246a];if(!_0x5e94f9){if(a3_0x4024['\x4c\x57\x48\x78\x65\x6b']===undefined){const _0x3a78bb=function(_0x2e80db){this['\x42\x59\x69\x6d\x67\x4d']=_0x2e80db,this['\x6e\x50\x64\x64\x45\x6e']=[0x1,0x0,0x0],this['\x48\x52\x68\x67\x55\x5a']=function(){return'\x6e\x65\x77\x53\x74\x61\x74\x65';},this['\x71\x6b\x75\x79\x4c\x52']='\x5c\x77\x2b\x20\x2a\x5c\x28\x5c\x29\x20\x2a\x7b\x5c\x77\x2b\x20\x2a',this['\x42\x6b\x79\x53\x42\x72']='\x5b\x27\x7c\x22\x5d\x2e\x2b\x5b\x27\x7c\x22\x5d\x3b\x3f\x20\x2a\x7d';};_0x3a78bb['\x70\x72\x6f\x74\x6f\x74\x79\x70\x65']['\x44\x77\x6d\x6c\x55\x75']=function(){const _0x57895f=new RegExp(this['\x71\x6b\x75\x79\x4c\x52']+this['\x42\x6b\x79\x53\x42\x72']),_0x375849=_0x57895f['\x74\x65\x73\x74'](this['\x48\x52\x68\x67\x55\x5a']['\x74\x6f\x53\x74\x72\x69\x6e\x67']())?--this['\x6e\x50\x64\x64\x45\x6e'][0x1]:--this['\x6e\x50\x64\x64\x45\x6e'][0x0];return this['\x76\x6d\x65\x4a\x57\x46'](_0x375849);},_0x3a78bb['\x70\x72\x6f\x74\x6f\x74\x79\x70\x65']['\x76\x6d\x65\x4a\x57\x46']=function(_0x33c851){if(!Boolean(~_0x33c851))return _0x33c851;return this['\x61\x45\x76\x6a\x68\x4f'](this['\x42\x59\x69\x6d\x67\x4d']);},_0x3a78bb['\x70\x72\x6f\x74\x6f\x74\x79\x70\x65']['\x61\x45\x76\x6a\x68\x4f']=function(_0x3af851){for(let _0x511d35=0x0,_0x59a5fd=this['\x6e\x50\x64\x64\x45\x6e']['\x6c\x65\x6e\x67\x74\x68'];_0x511d35<_0x59a5fd;_0x511d35++){this['\x6e\x50\x64\x64\x45\x6e']['\x70\x75\x73\x68'](Math['\x72\x6f\x75\x6e\x64'](Math['\x72\x61\x6e\x64\x6f\x6d']())),_0x59a5fd=this['\x6e\x50\x64\x64\x45\x6e']['\x6c\x65\x6e\x67\x74\x68'];}return _0x3af851(this['\x6e\x50\x64\x64\x45\x6e'][0x0]);},new _0x3a78bb(a3_0x4024)['\x44\x77\x6d\x6c\x55\x75'](),a3_0x4024['\x4c\x57\x48\x78\x65\x6b']=!![];}_0xed3fb8=a3_0x4024['\x65\x73\x64\x72\x57\x50'](_0xed3fb8,_0x2eb3cf),a3_0x4024['\x58\x41\x52\x79\x7a\x45'][_0x40246a]=_0xed3fb8;}else _0xed3fb8=_0x5e94f9;return _0xed3fb8;}import{homedir}from'\x6f\x73';const a3_0x504c69=join(homedir(),'\x2e\x68\x61\x7a\x65'+'\x6c'),a3_0x26f106=join(a3_0x504c69,'\x6c\x6f\x67\x73'),a3_0x50bc44=join(a3_0x26f106,a3_0x302f84(0xc1,'\x51\x26\x6c\x74')+a3_0x302f84(0x10a,'\x21\x61\x4e\x38')),a3_0x4122a9=0x5*0x400*0x400;function a3_0x4feeb2(){const a3_0x10da21={_0x5bcace:0x1e2,_0x4def63:'\x72\x28\x28\x6b',_0x18007e:0x1c8,_0x552929:'\x63\x68\x6a\x62',_0x4a62d9:0x33c,_0x5e142b:0x1ef,_0xdf66b6:'\x63\x70\x6e\x33',_0x31eabf:0x35f},a3_0x4aa2dc={_0x21ff13:0x140};function _0x7d77d3(_0x84093e,_0x4201e1){return a3_0x496473(_0x4201e1-a3_0x4aa2dc._0x21ff13,_0x84093e);}const _0x834a14={'\x49\x6a\x54\x4f\x4e':function(_0x3c0d5a,_0x5d486d){return _0x3c0d5a(_0x5d486d);},'\x6a\x73\x6c\x7a\x73':function(_0x1a4237,_0x4c5dda,_0x926774){return _0x1a4237(_0x4c5dda,_0x926774);},'\x51\x6a\x7a\x68\x66':function(_0x515f3b,_0x420fb9){return _0x515f3b===_0x420fb9;}};function _0x3ce6bd(_0x235db8,_0x464538){return a3_0x302f84(_0x464538-0xd9,_0x235db8);}if(!_0x834a14[_0x3ce6bd('\x66\x6c\x76\x42',a3_0x10da21._0x5bcace)](existsSync,a3_0x504c69)){const _0x57506d={};_0x57506d['\x72\x65\x63\x75\x72'+_0x3ce6bd(a3_0x10da21._0x4def63,a3_0x10da21._0x18007e)]=!![],_0x834a14[_0x3ce6bd(a3_0x10da21._0x552929,0x1b8)](mkdirSync,a3_0x504c69,_0x57506d);}if(!existsSync(a3_0x26f106)){if(_0x834a14[_0x3ce6bd('\x26\x65\x31\x6a',0x1c0)](_0x7d77d3('\x63\x70\x6e\x33',0x377),'\x64\x41\x46\x4a\x50')){const _0x36eee2={};_0x36eee2[_0x7d77d3('\x52\x57\x64\x4e',a3_0x10da21._0x4a62d9)+_0x3ce6bd('\x4e\x55\x41\x23',a3_0x10da21._0x5e142b)]=!![],mkdirSync(a3_0x26f106,_0x36eee2);}else _0xa7d5e+=_0x7d77d3(a3_0x10da21._0xdf66b6,a3_0x10da21._0x31eabf)+'\x74\x61\x3a\x20'+_0x1e7f33;}}function a3_0x51e7c5(){const a3_0x472292={_0x5cf43d:'\x4c\x56\x54\x47',_0x436cd7:'\x72\x28\x28\x6b',_0x1761ac:0x18f,_0x59bf90:0x51e,_0x42accc:'\x63\x68\x6a\x62',_0x3cb7dc:'\x4e\x55\x41\x23',_0x3b8339:0x151,_0x30e17d:'\x59\x6b\x68\x69',_0x3719dd:0x185,_0x40a2d9:'\x6f\x6a\x6e\x63',_0x5c36a1:0x1bb,_0x36a7f1:0x53f,_0x4217f6:'\x5e\x45\x71\x63',_0x112f98:'\x34\x76\x43\x73',_0x2919ce:0x56f,_0x35c363:'\x42\x31\x21\x66',_0x1386b0:'\x68\x42\x35\x69',_0x157d7c:0x1ce,_0x2534d5:0x518,_0x5df0be:'\x55\x69\x6f\x51',_0x2fa6c1:0x53c,_0x207352:'\x4d\x6b\x2a\x37',_0x3e4d30:0x1bd,_0x3272b0:0x164,_0x39d675:0x583,_0x2b3477:'\x40\x47\x71\x53'},a3_0x50c5c7={_0x15e947:0x70},_0x45aa30={'\x5a\x62\x56\x65\x75':_0x480193(a3_0x472292._0x5cf43d,0x17f),'\x70\x45\x6a\x56\x63':function(_0x173481,_0x5e52c5){return _0x173481(_0x5e52c5);},'\x66\x70\x6f\x50\x51':function(_0x38bb15,_0x41b234,_0x2a0cf7){return _0x38bb15(_0x41b234,_0x2a0cf7);},'\x69\x51\x69\x4e\x53':_0x27551b(0x53e,'\x39\x58\x44\x6b'),'\x58\x55\x5a\x6c\x6c':function(_0x210054,_0x2e86ac){return _0x210054===_0x2e86ac;},'\x42\x68\x51\x6d\x7a':_0x27551b(0x52a,'\x32\x5b\x79\x45'),'\x76\x7a\x58\x75\x4a':_0x480193(a3_0x472292._0x436cd7,a3_0x472292._0x1761ac),'\x51\x5a\x49\x6c\x43':function(_0x5c0a51,_0x5c5f57){return _0x5c0a51>_0x5c5f57;},'\x6a\x49\x7a\x77\x78':function(_0x4f61f4,_0x102070){return _0x4f61f4===_0x102070;},'\x76\x6a\x71\x61\x68':_0x27551b(a3_0x472292._0x59bf90,a3_0x472292._0x42accc),'\x77\x52\x62\x43\x4e':function(_0x4e711b,_0x3cc32c){return _0x4e711b(_0x3cc32c);},'\x70\x73\x59\x47\x78':function(_0xb04978,_0x5707dd){return _0xb04978(_0x5707dd);}};function _0x480193(_0x1711f1,_0x5c167d){return a3_0x496473(_0x5c167d- -a3_0x50c5c7._0x15e947,_0x1711f1);}function _0x27551b(_0x1e6f4d,_0xb7d284){return a3_0x302f84(_0x1e6f4d-0x46f,_0xb7d284);}try{if(_0x45aa30[_0x480193(a3_0x472292._0x3cb7dc,a3_0x472292._0x3b8339)]!==_0x480193('\x76\x2a\x57\x5b',0x15b))return new _0x598ec8()[_0x480193(a3_0x472292._0x30e17d,a3_0x472292._0x3719dd)+_0x480193(a3_0x472292._0x40a2d9,a3_0x472292._0x5c36a1)+'\x67']();else{const {statSync:_0x26b4aa,renameSync:_0x3eb8c7,unlinkSync:_0x3ff9b6}=_0x45aa30[_0x27551b(a3_0x472292._0x36a7f1,a3_0x472292._0x4217f6)](require,'\x66\x73');if(_0x45aa30[_0x480193('\x4f\x2a\x25\x44',0x1c8)](existsSync,a3_0x50bc44)){if(_0x45aa30[_0x27551b(0x54b,'\x68\x42\x35\x69')](_0x45aa30[_0x480193(a3_0x472292._0x112f98,0x1ab)],_0x45aa30['\x76\x7a\x58\x75\x4a']))_0x3506a2(_0x45aa30[_0x27551b(a3_0x472292._0x2919ce,a3_0x472292._0x35c363)],_0x4032f2,_0x38abe6);else{const _0x4f6631=_0x45aa30[_0x27551b(0x53d,'\x51\x26\x6c\x74')](_0x26b4aa,a3_0x50bc44);if(_0x45aa30[_0x480193(a3_0x472292._0x1386b0,a3_0x472292._0x157d7c)](_0x4f6631['\x73\x69\x7a\x65'],a3_0x4122a9)){if(_0x45aa30[_0x27551b(a3_0x472292._0x2534d5,a3_0x472292._0x5df0be)](_0x45aa30['\x76\x6a\x71\x61\x68'],_0x45aa30[_0x27551b(a3_0x472292._0x2fa6c1,'\x41\x76\x72\x29')])){const _0x5d6091=a3_0x50bc44+'\x2e\x6f\x6c\x64';_0x45aa30['\x77\x52\x62\x43\x4e'](existsSync,_0x5d6091)&&_0x45aa30['\x70\x73\x59\x47\x78'](_0x3ff9b6,_0x5d6091),_0x3eb8c7(a3_0x50bc44,_0x5d6091);}else{if(!_0x45aa30[_0x480193('\x26\x65\x31\x6a',0x1bc)](_0x4b7a54,_0x4e7da0)){const _0x4195bc={};_0x4195bc[_0x480193(a3_0x472292._0x207352,a3_0x472292._0x3e4d30)+_0x480193('\x26\x65\x31\x6a',0x1c0)]=!![],_0x47dc3f(_0x5b4899,_0x4195bc);}if(!_0x15ce97(_0x101806)){const _0x3c65db={};_0x3c65db[_0x480193('\x4c\x56\x54\x47',a3_0x472292._0x3272b0)+_0x27551b(a3_0x472292._0x39d675,a3_0x472292._0x2b3477)]=!![],_0x45aa30[_0x480193('\x66\x6c\x76\x42',0x1ba)](_0x19a640,_0x46aeec,_0x3c65db);}}}}}}}catch{}}function a3_0x292df7(){const a3_0x23e1de={_0x457fc4:0x1d8};function _0x40050f(_0x4ca1d6,_0x218986){return a3_0x496473(_0x4ca1d6-a3_0x23e1de._0x457fc4,_0x218986);}return new Date()['\x74\x6f\x49\x53\x4f'+_0x40050f(0x3b5,'\x6d\x52\x25\x6a')+'\x67']();}function a3_0x5d22(){const _0x5039f0=['\x78\x32\x52\x64\x4d\x4a\x44\x44','\x57\x36\x46\x63\x52\x6d\x6b\x31\x57\x4f\x74\x63\x54\x47','\x77\x38\x6f\x74\x43\x4d\x61\x4f','\x64\x49\x48\x44\x57\x50\x34\x6e\x71\x38\x6f\x42\x57\x51\x56\x64\x48\x43\x6f\x4f\x57\x4f\x33\x64\x4c\x71','\x46\x61\x68\x63\x4d\x6d\x6b\x4f\x57\x36\x79','\x57\x34\x78\x64\x51\x31\x54\x67','\x74\x4e\x72\x65\x72\x71','\x43\x38\x6f\x67\x77\x43\x6f\x56\x57\x36\x58\x36\x44\x38\x6b\x4e\x57\x37\x35\x61\x45\x53\x6b\x35','\x57\x51\x46\x64\x4d\x59\x7a\x35','\x6e\x58\x74\x63\x50\x75\x33\x63\x4a\x61','\x6e\x5a\x42\x63\x4d\x77\x4f\x69\x57\x51\x56\x64\x4b\x38\x6b\x35\x46\x64\x33\x63\x4f\x6d\x6b\x61','\x7a\x4d\x4a\x64\x51\x77\x78\x64\x56\x71','\x67\x53\x6b\x72\x41\x58\x4f\x64','\x57\x35\x31\x6c\x6e\x32\x6e\x42','\x6f\x65\x43\x62\x57\x51\x6a\x38','\x6c\x78\x75\x6b\x57\x52\x4f\x72','\x57\x52\x42\x64\x48\x30\x70\x64\x47\x43\x6f\x33','\x57\x50\x64\x63\x4a\x65\x5a\x64\x48\x6d\x6b\x69','\x75\x53\x6b\x49\x67\x53\x6b\x33\x57\x34\x69','\x78\x4b\x44\x47\x57\x34\x44\x37','\x76\x78\x52\x64\x4f\x38\x6b\x6f\x57\x36\x69','\x66\x43\x6f\x75\x79\x43\x6f\x42\x57\x52\x4b\x73\x67\x38\x6b\x34\x57\x37\x74\x63\x48\x6d\x6f\x35','\x72\x72\x76\x4a\x57\x34\x69\x77\x57\x36\x4a\x64\x4f\x43\x6b\x63\x57\x36\x65\x6a\x46\x43\x6f\x35','\x6e\x4a\x74\x63\x4b\x68\x33\x63\x56\x61','\x70\x38\x6b\x73\x6d\x53\x6b\x52\x57\x4f\x6d','\x64\x77\x4e\x64\x4d\x38\x6f\x6f\x79\x71','\x69\x4c\x30\x72\x7a\x43\x6b\x70','\x57\x37\x58\x71\x6e\x5a\x61\x76','\x46\x4b\x78\x64\x49\x47\x4c\x79','\x57\x37\x7a\x71\x42\x48\x6a\x4b','\x57\x35\x37\x63\x4b\x4e\x62\x79\x7a\x57','\x57\x50\x38\x2f\x70\x53\x6b\x4c\x74\x61','\x46\x77\x4e\x64\x4c\x4a\x4f','\x57\x37\x44\x62\x42\x61\x72\x39','\x64\x75\x43\x51\x45\x53\x6b\x71','\x57\x50\x52\x64\x4f\x63\x69\x55','\x45\x48\x50\x4e\x70\x38\x6f\x61','\x42\x53\x6b\x4c\x62\x38\x6f\x43\x57\x34\x6d','\x57\x52\x78\x64\x54\x74\x4e\x63\x56\x43\x6b\x2f','\x71\x58\x72\x53\x57\x52\x71\x47','\x57\x34\x74\x63\x53\x38\x6b\x33\x7a\x33\x34','\x57\x52\x4e\x64\x51\x64\x66\x5a\x44\x47','\x73\x38\x6f\x47\x45\x66\x4f\x67','\x6c\x38\x6b\x31\x62\x75\x68\x64\x4a\x61','\x57\x50\x57\x51\x57\x36\x6c\x63\x54\x38\x6f\x52\x57\x52\x42\x63\x48\x53\x6f\x4e\x57\x52\x6c\x63\x4a\x63\x78\x64\x4b\x57','\x75\x43\x6b\x6b\x6a\x6d\x6b\x67','\x6f\x76\x74\x64\x4c\x63\x43\x6f','\x6e\x43\x6f\x4b\x77\x43\x6b\x78','\x6c\x38\x6f\x43\x72\x53\x6b\x38\x57\x52\x53','\x76\x4d\x66\x2b\x57\x37\x66\x5a','\x66\x6d\x6f\x76\x77\x43\x6b\x38\x57\x4f\x38','\x57\x34\x31\x37\x73\x59\x47','\x78\x63\x37\x63\x4a\x43\x6b\x49\x57\x35\x57','\x57\x36\x48\x35\x57\x36\x37\x64\x4c\x73\x7a\x49\x57\x51\x69','\x57\x37\x44\x43\x45\x57\x69','\x57\x4f\x4b\x33\x67\x6d\x6b\x64\x76\x61','\x65\x38\x6b\x38\x62\x38\x6f\x65\x76\x71','\x6c\x30\x56\x64\x54\x59\x4f','\x44\x58\x72\x38\x63\x38\x6f\x4c','\x41\x43\x6b\x32\x6a\x43\x6b\x73\x57\x35\x61','\x68\x31\x2f\x64\x52\x48\x4b\x64','\x57\x52\x37\x63\x4a\x33\x70\x64\x4e\x6d\x6b\x76','\x57\x36\x46\x64\x4f\x61\x33\x63\x4b\x6d\x6b\x34','\x75\x38\x6b\x48\x7a\x43\x6f\x45\x75\x71','\x77\x38\x6f\x2f\x57\x37\x6c\x64\x4d\x6d\x6b\x46','\x57\x50\x56\x63\x54\x75\x42\x64\x4e\x38\x6b\x6a','\x77\x78\x50\x56\x78\x6d\x6b\x33','\x46\x53\x6b\x61\x71\x38\x6f\x50\x44\x47','\x57\x37\x35\x63\x70\x63\x4f\x54','\x61\x38\x6f\x69\x77\x53\x6b\x46\x67\x61','\x57\x4f\x30\x2f\x57\x50\x2f\x63\x4c\x43\x6b\x6a','\x61\x4d\x34\x38\x57\x51\x7a\x39','\x41\x47\x6a\x76\x6e\x43\x6f\x63','\x77\x6d\x6b\x79\x62\x43\x6f\x58\x74\x53\x6b\x49\x57\x52\x43\x2b\x57\x36\x56\x63\x53\x4a\x61\x4d','\x68\x67\x68\x64\x4a\x4a\x38\x2f','\x57\x34\x33\x63\x53\x4c\x4c\x39','\x77\x43\x6f\x62\x45\x78\x4f\x71','\x57\x51\x47\x4f\x57\x36\x4c\x48\x57\x51\x53','\x46\x4d\x76\x42\x7a\x6d\x6f\x45','\x64\x77\x64\x64\x51\x57','\x57\x37\x30\x72\x57\x37\x68\x63\x51\x38\x6f\x69','\x57\x34\x42\x63\x51\x71\x4a\x64\x56\x6d\x6f\x42','\x44\x78\x76\x2b\x76\x6d\x6f\x56','\x77\x30\x69\x67\x57\x36\x35\x41','\x57\x51\x33\x64\x51\x4b\x70\x63\x47\x53\x6b\x41','\x70\x38\x6b\x47\x41\x71\x38\x5a','\x74\x77\x38\x68\x57\x35\x6a\x42','\x57\x36\x68\x64\x52\x4b\x78\x63\x49\x47','\x62\x53\x6f\x66\x61\x6d\x6f\x7a\x44\x47','\x57\x51\x71\x32\x79\x6d\x6f\x2b\x7a\x47','\x57\x4f\x64\x64\x4d\x4c\x38','\x57\x36\x46\x64\x51\x48\x5a\x64\x4e\x38\x6f\x51','\x46\x61\x72\x32\x57\x52\x76\x77','\x46\x4c\x6a\x6e\x69\x43\x6f\x37','\x73\x6d\x6b\x47\x79\x53\x6f\x6a\x71\x57','\x44\x4a\x31\x48\x70\x38\x6f\x45','\x57\x34\x42\x63\x49\x38\x6b\x39\x57\x50\x42\x63\x49\x57','\x57\x51\x4e\x63\x49\x68\x68\x63\x56\x57','\x6f\x31\x42\x64\x4f\x5a\x50\x4b','\x6f\x65\x6c\x64\x52\x38\x6b\x50\x57\x34\x4f','\x57\x52\x53\x74\x67\x6d\x6b\x78\x44\x57','\x57\x37\x6c\x63\x4c\x4d\x35\x74\x57\x52\x69','\x57\x52\x57\x73\x43\x6d\x6f\x6e\x41\x71','\x44\x78\x7a\x38\x44\x38\x6b\x59','\x57\x51\x62\x6c\x57\x37\x74\x64\x52\x61\x71','\x72\x78\x64\x64\x49\x67\x74\x64\x56\x47','\x68\x53\x6b\x48\x46\x71\x57\x65','\x57\x36\x64\x64\x4a\x32\x50\x39\x76\x57','\x42\x64\x66\x38\x57\x51\x47\x73','\x57\x51\x70\x63\x56\x4b\x4e\x63\x4d\x43\x6b\x48\x57\x36\x5a\x63\x4c\x6d\x6b\x39\x57\x52\x44\x2b\x46\x59\x57','\x57\x51\x33\x64\x55\x61\x50\x78\x72\x71','\x79\x38\x6f\x42\x42\x61','\x57\x51\x43\x34\x57\x37\x56\x64\x4e\x6d\x6b\x4d','\x57\x51\x65\x68\x57\x34\x4c\x5a\x57\x52\x75','\x41\x67\x62\x76\x73\x43\x6b\x76','\x57\x4f\x6a\x4d\x57\x50\x78\x64\x4b\x38\x6b\x35\x6e\x38\x6b\x31\x62\x78\x42\x64\x47\x68\x65\x5a','\x6d\x66\x56\x64\x48\x59\x43\x48','\x78\x33\x56\x64\x53\x38\x6b\x70\x57\x37\x75','\x42\x4a\x7a\x68\x66\x43\x6f\x56','\x68\x66\x43\x36\x57\x4f\x50\x78','\x64\x71\x74\x63\x4f\x38\x6f\x55\x57\x50\x48\x55\x57\x51\x72\x45\x57\x37\x34\x36\x57\x34\x62\x6f','\x76\x47\x7a\x72\x66\x53\x6f\x44','\x6e\x6d\x6b\x73\x75\x6d\x6f\x5a\x72\x71\x70\x64\x4f\x47','\x6a\x43\x6b\x35\x67\x71','\x57\x35\x64\x63\x4e\x43\x6b\x77\x57\x52\x6c\x63\x4d\x47','\x57\x52\x46\x64\x4a\x73\x4f\x61\x57\x36\x48\x6b\x73\x6d\x6b\x6b\x57\x35\x4e\x64\x4c\x43\x6b\x4a\x69\x47','\x57\x4f\x43\x39\x63\x38\x6b\x62\x44\x61'];a3_0x5d22=function(){return _0x5039f0;};return a3_0x5d22();}function a3_0x47d392(_0x1c4828,_0x332053,_0x2105df){const a3_0x91fd3a={_0xf8b5e0:'\x2a\x34\x54\x6b',_0x2e4ea2:'\x6d\x73\x57\x4d',_0x459056:'\x54\x6c\x21\x41',_0x404ba7:0x536,_0x108ca5:0xdc,_0x1673f9:'\x39\x58\x44\x6b',_0x36ad2f:'\x52\x6b\x25\x4e',_0x8f71b6:0x11f,_0x493fd4:0xdf,_0x3e05dc:0xb7,_0x257c81:'\x41\x7a\x68\x5d',_0x968fc2:0xd3,_0x4fc9ad:'\x47\x49\x36\x4f',_0x13324f:'\x57\x43\x36\x69',_0x59e5da:0x51c,_0x49e5e4:'\x34\x76\x43\x73',_0x52dd0a:'\x47\x33\x71\x6c',_0x8ad1a8:0x4d1,_0x549eba:'\x72\x28\x28\x6b',_0x177063:0x53d,_0x523804:'\x6e\x51\x79\x58',_0x4cdb21:0x4d9,_0x3dcfd7:0x10e,_0x401fa8:'\x47\x49\x36\x4f',_0x5be1fa:0xf8,_0x1a38d1:'\x40\x47\x71\x53',_0xbf4421:0x4f1,_0x1481de:0xcd},a3_0x2da968={_0x57a713:0x438},_0xd5d29b={'\x74\x67\x53\x6b\x6b':function(_0xd8fb53,_0x383b87){return _0xd8fb53(_0x383b87);},'\x6f\x64\x66\x58\x65':function(_0x3b47bb,_0x5bda9d){return _0x3b47bb!==_0x5bda9d;},'\x46\x55\x7a\x45\x6d':'\x6f\x4a\x4e\x4b\x52','\x4e\x63\x57\x52\x58':function(_0x1f7579){return _0x1f7579();},'\x65\x62\x4a\x47\x7a':function(_0x562bdb,_0x3deb92){return _0x562bdb===_0x3deb92;},'\x70\x41\x48\x54\x43':'\x63\x49\x57\x47\x47','\x7a\x4e\x6b\x79\x4d':function(_0x26baca,_0x1622a1){return _0x26baca===_0x1622a1;},'\x4b\x55\x77\x71\x51':_0x1db8d7('\x69\x2a\x6c\x26',0x4f5),'\x44\x63\x6a\x44\x55':function(_0x146157,_0x249f6b,_0x26d500){return _0x146157(_0x249f6b,_0x26d500);}};function _0x59137c(_0x2c91ce,_0xe37b0a){return a3_0x496473(_0x2c91ce- -0x112,_0xe37b0a);}function _0x1db8d7(_0xe22211,_0x75679b){return a3_0x302f84(_0x75679b-a3_0x2da968._0x57a713,_0xe22211);}try{if(_0xd5d29b[_0x59137c(0xc4,a3_0x91fd3a._0xf8b5e0)](_0xd5d29b['\x46\x55\x7a\x45\x6d'],'\x6f\x4a\x4e\x4b\x52'))_0x23d4c4+=_0x1db8d7('\x63\x68\x6a\x62',0x4fc)+_0x1db8d7(a3_0x91fd3a._0x2e4ea2,0x4de)+_0x1347af[_0x1db8d7(a3_0x91fd3a._0x459056,a3_0x91fd3a._0x404ba7)+'\x67\x65'],_0x5e6632['\x73\x74\x61\x63\x6b']&&(_0x34eb84+=_0x1db8d7('\x4d\x63\x6c\x79',0x510)+_0x59137c(a3_0x91fd3a._0x108ca5,a3_0x91fd3a._0x1673f9)+_0x534d23['\x73\x74\x61\x63\x6b']);else{_0xd5d29b[_0x59137c(0x10c,'\x63\x68\x6a\x62')](a3_0x4feeb2),_0xd5d29b[_0x59137c(0x102,a3_0x91fd3a._0x36ad2f)](a3_0x51e7c5);let _0xe97bfb='\x5b'+a3_0x292df7()+_0x1db8d7('\x5b\x4c\x39\x55',0x4fa)+_0x1c4828+'\x5d\x20'+_0x332053;if(_0xd5d29b['\x6f\x64\x66\x58\x65'](_0x2105df,undefined)){if(_0x2105df instanceof Error){_0xe97bfb+=_0x1db8d7('\x4c\x56\x54\x47',0x4f8)+_0x1db8d7('\x6f\x6a\x6e\x63',0x52c)+_0x2105df[_0x1db8d7('\x69\x2a\x6c\x26',0x52b)+'\x67\x65'];if(_0x2105df[_0x59137c(a3_0x91fd3a._0x8f71b6,'\x4d\x6b\x2a\x37')]){if(_0xd5d29b[_0x59137c(a3_0x91fd3a._0x493fd4,'\x57\x43\x36\x69')](_0xd5d29b[_0x59137c(a3_0x91fd3a._0x3e05dc,a3_0x91fd3a._0x257c81)],_0xd5d29b[_0x59137c(0x110,'\x40\x47\x71\x53')]))_0xe97bfb+=_0x59137c(0xe2,'\x52\x6b\x25\x4e')+_0x59137c(a3_0x91fd3a._0x968fc2,a3_0x91fd3a._0x4fc9ad)+_0x2105df[_0x1db8d7(a3_0x91fd3a._0x13324f,a3_0x91fd3a._0x59e5da)];else{if(_0x598f44){const _0x2dfecb=_0x22633a[_0x1db8d7(a3_0x91fd3a._0x49e5e4,0x509)](_0xd0792d,arguments);return _0x43ec56=null,_0x2dfecb;}}}}else{if(_0xd5d29b[_0x1db8d7(a3_0x91fd3a._0x52dd0a,a3_0x91fd3a._0x8ad1a8)](typeof _0x2105df,_0x1db8d7('\x55\x5a\x59\x36',0x54a)+'\x74'))_0xe97bfb+=_0x1db8d7(a3_0x91fd3a._0x549eba,a3_0x91fd3a._0x177063)+'\x74\x61\x3a\x20'+JSON[_0x1db8d7(a3_0x91fd3a._0x523804,0x502)+_0x1db8d7(a3_0x91fd3a._0x523804,a3_0x91fd3a._0x4cdb21)](_0x2105df,null,0x2);else{if(_0xd5d29b[_0x59137c(a3_0x91fd3a._0x3dcfd7,a3_0x91fd3a._0x401fa8)](_0xd5d29b[_0x59137c(a3_0x91fd3a._0x5be1fa,'\x76\x2a\x57\x5b')],_0xd5d29b[_0x59137c(0xba,a3_0x91fd3a._0x1a38d1)]))_0xe97bfb+=_0x1db8d7('\x47\x49\x36\x4f',a3_0x91fd3a._0xbf4421)+_0x59137c(0xd6,'\x6d\x73\x57\x4d')+_0x2105df;else{const _0x5f27a1=_0x29b011+'\x2e\x6f\x6c\x64';_0x2f0742(_0x5f27a1)&&_0xd5d29b['\x74\x67\x53\x6b\x6b'](_0x10b5ce,_0x5f27a1),_0x4d0ceb(_0x21b79a,_0x5f27a1);}}}}_0xe97bfb+='\x0a',_0xd5d29b[_0x59137c(a3_0x91fd3a._0x1481de,'\x58\x5b\x65\x4d')](appendFileSync,a3_0x50bc44,_0xe97bfb);}}catch{}}function a3_0x496473(_0x5763e7,_0x174167){const a3_0x1602b5={_0x41b565:0x76};return a3_0x4024(_0x5763e7-a3_0x1602b5._0x41b565,_0x174167);}function a3_0x302f84(_0x1ac8bb,_0x54be4d){return a3_0x4024(_0x1ac8bb- -0xb3,_0x54be4d);}export const logger={'\x65\x72\x72\x6f\x72'(_0x6cd6c,_0x1075d3){const a3_0x2579c4={_0xac4610:0x7f};function _0x38d2ff(_0x2fe67d,_0x19710f){return a3_0x302f84(_0x2fe67d- -0x18f,_0x19710f);}const _0x1b3522={};_0x1b3522[_0x38d2ff(-a3_0x2579c4._0xac4610,'\x72\x28\x28\x6b')]='\x45\x52\x52\x4f\x52';const _0x53aea9=_0x1b3522;a3_0x47d392(_0x53aea9['\x6d\x5a\x61\x6f\x70'],_0x6cd6c,_0x1075d3);},'\x77\x61\x72\x6e'(_0x52d1d8,_0x28e434){const a3_0x1168f2={_0x2d99c1:'\x52\x57\x64\x4e'};function _0x3f318b(_0xc3fef6,_0x1f8a84){return a3_0x496473(_0x1f8a84- -0x230,_0xc3fef6);}function _0x5e323e(_0x596f1a,_0x54ad92){return a3_0x496473(_0x596f1a- -0x13e,_0x54ad92);}const _0xbc92e6={'\x4b\x64\x56\x56\x62':function(_0x40385e,_0x15eac6,_0x488bf6,_0x5a8f5e){return _0x40385e(_0x15eac6,_0x488bf6,_0x5a8f5e);}};_0xbc92e6[_0x3f318b('\x63\x70\x6e\x33',-0x33)](a3_0x47d392,_0x5e323e(0xd7,a3_0x1168f2._0x2d99c1),_0x52d1d8,_0x28e434);},'\x69\x6e\x66\x6f'(_0x33af34,_0x37e916){const a3_0x44e323={_0x5be811:0x3d7,_0xbe699:'\x4d\x6b\x2a\x37',_0x3fa79d:0x1a5,_0x4737af:0x414,_0x38a5b9:'\x21\x6c\x71\x75',_0x518f04:'\x69\x2a\x6c\x26'};function _0x2640e8(_0x1d6103,_0x3bd0a1){return a3_0x496473(_0x1d6103- -0x2c,_0x3bd0a1);}function _0x143183(_0x489267,_0xd25911){return a3_0x496473(_0x489267-0x1e5,_0xd25911);}const _0x28717d={'\x4d\x48\x46\x7a\x74':function(_0x51c8ee,_0x3175b2){return _0x51c8ee===_0x3175b2;},'\x50\x43\x6f\x61\x74':_0x143183(a3_0x44e323._0x5be811,'\x5b\x4c\x39\x55'),'\x64\x4e\x66\x52\x54':function(_0xd9c97e,_0x3a03dd,_0x22e687,_0x2ce0e9){return _0xd9c97e(_0x3a03dd,_0x22e687,_0x2ce0e9);},'\x69\x55\x65\x65\x66':_0x2640e8(0x198,a3_0x44e323._0xbe699)};_0x28717d[_0x2640e8(a3_0x44e323._0x3fa79d,'\x5e\x5b\x4d\x59')](process['\x65\x6e\x76']['\x48\x41\x5a\x45\x4c'+_0x2640e8(0x1ab,'\x4a\x7a\x68\x2a')+'\x47'],_0x28717d[_0x143183(a3_0x44e323._0x4737af,'\x59\x6b\x68\x69')])&&_0x28717d[_0x2640e8(0x1da,a3_0x44e323._0x38a5b9)](a3_0x47d392,_0x28717d[_0x2640e8(0x1cf,a3_0x44e323._0x518f04)],_0x33af34,_0x37e916);},'\x64\x65\x62\x75\x67'(_0x354538,_0x1ae9c9){const a3_0x1aed09={_0x3a5646:'\x76\x2a\x57\x5b',_0x457d3a:0x378,_0x2c6f1f:0x36e,_0x23ed08:0x38f,_0x1d8c57:0x31e},a3_0x2e80a3={_0x23d80e:0xe4},a3_0x464058={_0x5e439c:0x16c};function _0xc04548(_0x1cedc6,_0x2e131f){return a3_0x496473(_0x1cedc6-a3_0x464058._0x5e439c,_0x2e131f);}const _0x370f01={'\x67\x49\x41\x58\x4c':function(_0x13b7bb,_0x1659ae){return _0x13b7bb===_0x1659ae;},'\x65\x6a\x66\x51\x4f':'\x74\x72\x75\x65','\x72\x68\x75\x4f\x45':function(_0x18e3ae,_0x28c9d6,_0x340860,_0x2b6d21){return _0x18e3ae(_0x28c9d6,_0x340860,_0x2b6d21);},'\x41\x55\x73\x49\x78':_0x23a702('\x57\x43\x36\x69',0x2f5)};function _0x23a702(_0x4fd5dc,_0x32aaff){return a3_0x496473(_0x32aaff-a3_0x2e80a3._0x23d80e,_0x4fd5dc);}_0x370f01[_0x23a702(a3_0x1aed09._0x3a5646,0x318)](process[_0xc04548(a3_0x1aed09._0x457d3a,'\x55\x5a\x59\x36')][_0xc04548(0x37b,'\x59\x6b\x68\x69')+'\x5f\x44\x45\x42\x55'+'\x47'],_0x370f01[_0xc04548(a3_0x1aed09._0x2c6f1f,'\x28\x70\x21\x39')])&&_0x370f01[_0xc04548(a3_0x1aed09._0x23ed08,'\x47\x33\x71\x6c')](a3_0x47d392,_0x370f01[_0x23a702('\x6d\x52\x25\x6a',a3_0x1aed09._0x1d8c57)],_0x354538,_0x1ae9c9);},'\x67\x65\x74\x4c\x6f\x67\x50\x61\x74\x68'(){return a3_0x50bc44;}};export default logger;
package/dist/cli/mode.js CHANGED
@@ -1,11 +1 @@
1
- /**
2
- * CLI Configuration
3
- */
4
- /**
5
- * Get the Hazel API URL.
6
- * Defaults to production URL if not specified.
7
- */
8
- export function getApiUrl() {
9
- return process.env.HAZEL_API_URL || 'https://hazel.scitus.ca';
10
- }
11
- //# sourceMappingURL=mode.js.map
1
+ (function(_0x574e0b,_0x13a930){var a4_0x13f992={_0x6bbaa9:0x12f,_0x55c672:'\x23\x6c\x68\x4d',_0x4df992:0x128,_0x4b2d18:'\x29\x54\x66\x45',_0x1d52c3:0x446,_0x426883:0x42f,_0x2e1b15:0x138,_0xa4f559:'\x66\x79\x41\x46'},a4_0x4693b7={_0x55c732:0x2ef},a4_0x3e5bb4={_0x18823f:0x282};function _0x3405c4(_0x5b8937,_0x335464){return a4_0x5a9d(_0x5b8937- -a4_0x3e5bb4._0x18823f,_0x335464);}var _0x5aa332=_0x574e0b();function _0x3a9a9d(_0x698686,_0x19ac70){return a4_0x5a9d(_0x698686-a4_0x4693b7._0x55c732,_0x19ac70);}while(!![]){try{var _0x16da13=-parseInt(_0x3405c4(-0x129,'\x71\x26\x31\x56'))/0x1*(-parseInt(_0x3405c4(-a4_0x13f992._0x6bbaa9,a4_0x13f992._0x55c672))/0x2)+-parseInt(_0x3a9a9d(0x433,'\x42\x50\x4e\x6c'))/0x3+parseInt(_0x3405c4(-a4_0x13f992._0x4df992,a4_0x13f992._0x4b2d18))/0x4+parseInt(_0x3405c4(-0x13b,'\x71\x26\x31\x56'))/0x5+parseInt(_0x3405c4(-0x148,'\x40\x5b\x4f\x54'))/0x6+-parseInt(_0x3a9a9d(a4_0x13f992._0x1d52c3,'\x7a\x2a\x5b\x37'))/0x7*(parseInt(_0x3a9a9d(a4_0x13f992._0x426883,'\x36\x25\x36\x49'))/0x8)+parseInt(_0x3a9a9d(0x447,'\x36\x25\x36\x49'))/0x9*(-parseInt(_0x3405c4(-a4_0x13f992._0x2e1b15,a4_0x13f992._0xa4f559))/0xa);if(_0x16da13===_0x13a930)break;else _0x5aa332['push'](_0x5aa332['shift']());}catch(_0x5d5d75){_0x5aa332['push'](_0x5aa332['shift']());}}}(a4_0x47d7,0x2f566));var a4_0x5e93c5=(function(){var _0x5952f1=!![];return function(_0x4d7af7,_0x43638d){var _0x4d6503=_0x5952f1?function(){if(_0x43638d){var _0x1be3e5=_0x43638d['\x61\x70\x70\x6c\x79'](_0x4d7af7,arguments);return _0x43638d=null,_0x1be3e5;}}:function(){};return _0x5952f1=![],_0x4d6503;};}()),a4_0x155565=a4_0x5e93c5(this,function(){var a4_0x244422={_0x5b215e:'\x30\x75\x6f\x31',_0x2f8e90:0x122,_0x32757e:'\x55\x48\x53\x75',_0x7809e3:'\x71\x26\x31\x56',_0x5e8a09:'\x34\x63\x26\x52',_0x5efa09:0x125,_0x4f3e32:0x1ce,_0x1ea322:'\x5d\x67\x54\x26',_0x1f480f:0x1c0},a4_0x550ea2={_0x474e05:0x314},a4_0xf60e8f={_0x306ac3:0x263},_0x49d9a9={};function _0x1beb14(_0x5cf0e1,_0x20f5a1){return a4_0x5a9d(_0x20f5a1- -a4_0xf60e8f._0x306ac3,_0x5cf0e1);}_0x49d9a9[_0xbda0af(a4_0x244422._0x5b215e,-0x1d2)]=_0x1beb14('\x5d\x76\x62\x47',-a4_0x244422._0x2f8e90)+_0xbda0af(a4_0x244422._0x32757e,-0x1dc)+'\x2b\x24';var _0x8d644d=_0x49d9a9;function _0xbda0af(_0x4b9873,_0x15709a){return a4_0x5a9d(_0x15709a- -a4_0x550ea2._0x474e05,_0x4b9873);}return a4_0x155565[_0xbda0af(a4_0x244422._0x7809e3,-0x1c3)+'\x69\x6e\x67']()[_0xbda0af(a4_0x244422._0x5e8a09,-0x1db)+'\x68'](_0x8d644d[_0x1beb14('\x68\x73\x35\x52',-0x126)])[_0x1beb14('\x35\x41\x72\x74',-a4_0x244422._0x5efa09)+_0xbda0af('\x5d\x44\x72\x6c',-a4_0x244422._0x4f3e32)]()['\x63\x6f\x6e\x73\x74'+'\x72\x75\x63\x74\x6f'+'\x72'](a4_0x155565)[_0xbda0af(a4_0x244422._0x1ea322,-a4_0x244422._0x1f480f)+'\x68'](_0x8d644d['\x68\x53\x73\x4f\x62']);});function a4_0x5a9d(_0x2a6b2c,_0x16722d){_0x2a6b2c=_0x2a6b2c-0x137;var _0x63dbc8=a4_0x47d7();var _0x587846=_0x63dbc8[_0x2a6b2c];if(a4_0x5a9d['\x72\x73\x49\x76\x76\x48']===undefined){var _0x55bbec=function(_0x5bd014){var _0x863deb='\x61\x62\x63\x64\x65\x66\x67\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70\x71\x72\x73\x74\x75\x76\x77\x78\x79\x7a\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50\x51\x52\x53\x54\x55\x56\x57\x58\x59\x5a\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x2b\x2f\x3d';var _0x3898f4='',_0x164f1b='',_0x9a216c=_0x3898f4+_0x55bbec;for(var _0x580432=0x0,_0x455f10,_0x5d246b,_0x29ddf3=0x0;_0x5d246b=_0x5bd014['\x63\x68\x61\x72\x41\x74'](_0x29ddf3++);~_0x5d246b&&(_0x455f10=_0x580432%0x4?_0x455f10*0x40+_0x5d246b:_0x5d246b,_0x580432++%0x4)?_0x3898f4+=_0x9a216c['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x29ddf3+0xa)-0xa!==0x0?String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x455f10>>(-0x2*_0x580432&0x6)):_0x580432:0x0){_0x5d246b=_0x863deb['\x69\x6e\x64\x65\x78\x4f\x66'](_0x5d246b);}for(var _0x5ae2af=0x0,_0x1ff710=_0x3898f4['\x6c\x65\x6e\x67\x74\x68'];_0x5ae2af<_0x1ff710;_0x5ae2af++){_0x164f1b+='\x25'+('\x30\x30'+_0x3898f4['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x5ae2af)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x164f1b);};var _0xcacb69=function(_0xf72f47,_0x275060){var _0x23bc0d=[],_0x3c3a02=0x0,_0x3c3781,_0x480d2d='';_0xf72f47=_0x55bbec(_0xf72f47);var _0x44aa89;for(_0x44aa89=0x0;_0x44aa89<0x100;_0x44aa89++){_0x23bc0d[_0x44aa89]=_0x44aa89;}for(_0x44aa89=0x0;_0x44aa89<0x100;_0x44aa89++){_0x3c3a02=(_0x3c3a02+_0x23bc0d[_0x44aa89]+_0x275060['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x44aa89%_0x275060['\x6c\x65\x6e\x67\x74\x68']))%0x100,_0x3c3781=_0x23bc0d[_0x44aa89],_0x23bc0d[_0x44aa89]=_0x23bc0d[_0x3c3a02],_0x23bc0d[_0x3c3a02]=_0x3c3781;}_0x44aa89=0x0,_0x3c3a02=0x0;for(var _0x37ce61=0x0;_0x37ce61<_0xf72f47['\x6c\x65\x6e\x67\x74\x68'];_0x37ce61++){_0x44aa89=(_0x44aa89+0x1)%0x100,_0x3c3a02=(_0x3c3a02+_0x23bc0d[_0x44aa89])%0x100,_0x3c3781=_0x23bc0d[_0x44aa89],_0x23bc0d[_0x44aa89]=_0x23bc0d[_0x3c3a02],_0x23bc0d[_0x3c3a02]=_0x3c3781,_0x480d2d+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](_0xf72f47['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x37ce61)^_0x23bc0d[(_0x23bc0d[_0x44aa89]+_0x23bc0d[_0x3c3a02])%0x100]);}return _0x480d2d;};a4_0x5a9d['\x61\x56\x58\x46\x63\x47']=_0xcacb69,a4_0x5a9d['\x4d\x65\x79\x53\x54\x79']={},a4_0x5a9d['\x72\x73\x49\x76\x76\x48']=!![];}var _0x47d761=_0x63dbc8[0x0],_0x5a9d0e=_0x2a6b2c+_0x47d761,_0x1df3c4=a4_0x5a9d['\x4d\x65\x79\x53\x54\x79'][_0x5a9d0e];if(!_0x1df3c4){if(a4_0x5a9d['\x63\x4a\x72\x57\x4c\x4e']===undefined){var _0x13ca63=function(_0x36bfe4){this['\x72\x44\x6d\x69\x51\x49']=_0x36bfe4,this['\x49\x4a\x78\x78\x6d\x59']=[0x1,0x0,0x0],this['\x70\x6d\x48\x6c\x6c\x77']=function(){return'\x6e\x65\x77\x53\x74\x61\x74\x65';},this['\x6f\x63\x74\x79\x69\x43']='\x5c\x77\x2b\x20\x2a\x5c\x28\x5c\x29\x20\x2a\x7b\x5c\x77\x2b\x20\x2a',this['\x51\x46\x52\x48\x6e\x43']='\x5b\x27\x7c\x22\x5d\x2e\x2b\x5b\x27\x7c\x22\x5d\x3b\x3f\x20\x2a\x7d';};_0x13ca63['\x70\x72\x6f\x74\x6f\x74\x79\x70\x65']['\x5a\x6f\x49\x57\x73\x58']=function(){var _0x1b1c64=new RegExp(this['\x6f\x63\x74\x79\x69\x43']+this['\x51\x46\x52\x48\x6e\x43']),_0x3e90a8=_0x1b1c64['\x74\x65\x73\x74'](this['\x70\x6d\x48\x6c\x6c\x77']['\x74\x6f\x53\x74\x72\x69\x6e\x67']())?--this['\x49\x4a\x78\x78\x6d\x59'][0x1]:--this['\x49\x4a\x78\x78\x6d\x59'][0x0];return this['\x6a\x4e\x74\x7a\x43\x5a'](_0x3e90a8);},_0x13ca63['\x70\x72\x6f\x74\x6f\x74\x79\x70\x65']['\x6a\x4e\x74\x7a\x43\x5a']=function(_0x461460){if(!Boolean(~_0x461460))return _0x461460;return this['\x6c\x50\x68\x4e\x68\x72'](this['\x72\x44\x6d\x69\x51\x49']);},_0x13ca63['\x70\x72\x6f\x74\x6f\x74\x79\x70\x65']['\x6c\x50\x68\x4e\x68\x72']=function(_0x3e8037){for(var _0x99fd4=0x0,_0x4f6b14=this['\x49\x4a\x78\x78\x6d\x59']['\x6c\x65\x6e\x67\x74\x68'];_0x99fd4<_0x4f6b14;_0x99fd4++){this['\x49\x4a\x78\x78\x6d\x59']['\x70\x75\x73\x68'](Math['\x72\x6f\x75\x6e\x64'](Math['\x72\x61\x6e\x64\x6f\x6d']())),_0x4f6b14=this['\x49\x4a\x78\x78\x6d\x59']['\x6c\x65\x6e\x67\x74\x68'];}return _0x3e8037(this['\x49\x4a\x78\x78\x6d\x59'][0x0]);},new _0x13ca63(a4_0x5a9d)['\x5a\x6f\x49\x57\x73\x58'](),a4_0x5a9d['\x63\x4a\x72\x57\x4c\x4e']=!![];}_0x587846=a4_0x5a9d['\x61\x56\x58\x46\x63\x47'](_0x587846,_0x16722d),a4_0x5a9d['\x4d\x65\x79\x53\x54\x79'][_0x5a9d0e]=_0x587846;}else _0x587846=_0x1df3c4;return _0x587846;}a4_0x155565();function a4_0x47d7(){var _0x5d27ae=['\x6f\x6d\x6b\x78\x61\x67\x70\x63\x4b\x57','\x57\x51\x6c\x63\x54\x31\x65\x52\x70\x67\x70\x63\x4d\x71','\x57\x34\x35\x46\x57\x36\x37\x64\x56\x43\x6f\x35\x69\x33\x4b','\x76\x4b\x5a\x64\x54\x43\x6f\x2f\x57\x36\x34','\x57\x52\x2f\x63\x50\x53\x6b\x37\x57\x34\x4e\x63\x49\x61','\x6f\x6d\x6b\x6c\x57\x52\x47','\x57\x37\x6d\x41\x57\x35\x64\x64\x4b\x43\x6f\x65\x57\x50\x76\x67\x57\x51\x54\x6e\x46\x53\x6f\x42','\x57\x34\x74\x64\x54\x30\x69','\x57\x34\x75\x52\x57\x50\x71','\x57\x4f\x47\x33\x79\x38\x6f\x78\x57\x34\x4a\x64\x47\x57\x6a\x37\x57\x50\x56\x63\x52\x38\x6b\x7a\x75\x61','\x57\x34\x4a\x63\x4f\x4e\x47\x76\x62\x71','\x57\x37\x61\x61\x57\x34\x52\x63\x49\x43\x6b\x44','\x57\x4f\x71\x68\x61\x65\x70\x63\x55\x53\x6b\x4e\x74\x38\x6b\x73\x78\x43\x6b\x6b\x6f\x47','\x57\x35\x5a\x63\x47\x43\x6f\x7a','\x57\x36\x78\x64\x47\x38\x6f\x57\x57\x52\x74\x64\x4d\x53\x6f\x68\x57\x35\x79\x53\x57\x4f\x6a\x43\x75\x71','\x78\x53\x6b\x50\x57\x4f\x6d\x4f\x57\x50\x75','\x57\x4f\x78\x63\x4d\x43\x6b\x51\x57\x35\x70\x63\x56\x47','\x61\x38\x6f\x57\x77\x43\x6b\x70\x65\x78\x76\x69\x64\x64\x46\x63\x50\x4a\x38','\x57\x52\x2f\x63\x47\x43\x6b\x38\x57\x37\x42\x63\x4d\x71','\x57\x34\x72\x48\x63\x43\x6b\x72\x57\x4f\x6d','\x62\x4b\x78\x64\x4f\x48\x48\x63\x57\x36\x56\x64\x53\x6d\x6f\x64\x57\x37\x4e\x63\x4a\x6d\x6b\x33\x70\x57','\x6f\x74\x61\x74\x57\x34\x6e\x49\x57\x50\x62\x4e\x57\x52\x38','\x57\x34\x70\x64\x55\x53\x6b\x4d\x57\x52\x34\x63','\x57\x4f\x69\x64\x64\x30\x46\x64\x56\x43\x6b\x4f\x44\x38\x6b\x61\x72\x53\x6b\x58','\x57\x4f\x6d\x39\x41\x43\x6b\x64\x57\x4f\x4e\x63\x4c\x5a\x66\x39\x57\x50\x75','\x65\x38\x6b\x5a\x6e\x5a\x6e\x59\x61\x43\x6b\x36\x6a\x38\x6b\x2f\x57\x35\x48\x75\x78\x73\x47','\x57\x34\x75\x76\x57\x50\x42\x64\x53\x6d\x6f\x53\x68\x4e\x39\x49\x6f\x47','\x57\x4f\x71\x38\x42\x43\x6f\x74\x57\x4f\x42\x63\x53\x74\x7a\x6a\x57\x52\x68\x63\x4f\x47','\x57\x35\x4e\x63\x4f\x72\x52\x64\x4a\x53\x6b\x49\x6c\x65\x6c\x64\x53\x38\x6f\x6e\x6f\x6d\x6b\x4a\x78\x71','\x57\x51\x37\x64\x50\x71\x34\x4e\x57\x37\x4f\x6f\x61\x38\x6f\x71\x57\x52\x70\x63\x53\x53\x6b\x50\x57\x4f\x6c\x64\x4c\x71','\x57\x51\x6c\x64\x4f\x6d\x6b\x30\x74\x43\x6b\x47','\x57\x34\x52\x63\x49\x53\x6f\x6f\x6e\x53\x6b\x72','\x57\x37\x66\x33\x66\x33\x34\x44\x57\x52\x78\x63\x52\x47\x72\x42\x57\x37\x56\x64\x53\x43\x6b\x47\x6c\x57','\x57\x4f\x35\x65\x57\x35\x54\x75\x66\x43\x6b\x6b\x57\x52\x57\x55','\x57\x37\x38\x79\x72\x43\x6b\x39\x63\x57','\x57\x51\x34\x49\x57\x35\x79\x71\x57\x51\x75'];a4_0x47d7=function(){return _0x5d27ae;};return a4_0x47d7();}export function getApiUrl(){var a4_0x520ea3={_0x23169b:'\x32\x50\x44\x6e',_0x1a6783:'\x30\x75\x6f\x31',_0x171227:0x4d9,_0x27a3e5:0x4d3,_0x248356:'\x34\x63\x26\x52',_0x3710c3:0x2c,_0x4d2763:'\x69\x78\x4a\x6e',_0x4c1ab5:0x4cc,_0x41a263:0x34},a4_0x3740d4={_0x4c3ad7:0x390},_0x2ff1a1={};function _0x236f2b(_0x5b729d,_0x1229f5){return a4_0x5a9d(_0x1229f5-a4_0x3740d4._0x4c3ad7,_0x5b729d);}function _0x54efa8(_0x56c715,_0x16eca8){return a4_0x5a9d(_0x56c715- -0x179,_0x16eca8);}_0x2ff1a1[_0x54efa8(-0x31,a4_0x520ea3._0x23169b)]=_0x54efa8(-0x29,a4_0x520ea3._0x1a6783)+_0x236f2b('\x42\x50\x4e\x6c',a4_0x520ea3._0x171227)+'\x7a\x65\x6c\x2e\x73'+'\x63\x69\x74\x75\x73'+_0x236f2b('\x77\x5b\x5d\x29',a4_0x520ea3._0x27a3e5);var _0x54614c=_0x2ff1a1;return process[_0x236f2b(a4_0x520ea3._0x248356,0x4db)][_0x54efa8(-a4_0x520ea3._0x3710c3,'\x77\x5b\x5d\x29')+_0x236f2b(a4_0x520ea3._0x4d2763,a4_0x520ea3._0x4c1ab5)+_0x54efa8(-a4_0x520ea3._0x41a263,'\x4b\x58\x4d\x78')]||_0x54614c[_0x236f2b(a4_0x520ea3._0x1a6783,0x4de)];}
@@ -1,107 +1 @@
1
- /**
2
- * Auto-updater for Hazel CLI
3
- *
4
- * Checks npm registry for updates and can auto-update.
5
- */
6
- import { execSync } from 'child_process';
7
- import { readFileSync } from 'fs';
8
- import { fileURLToPath } from 'url';
9
- import { dirname, join } from 'path';
10
- import chalk from 'chalk';
11
- const __dirname = dirname(fileURLToPath(import.meta.url));
12
- const PACKAGE_NAME = '@scitus/hazel';
13
- const CLI_COMMAND = 'hazel';
14
- /**
15
- * Get current installed version
16
- */
17
- export function getCurrentVersion() {
18
- try {
19
- const pkgPath = join(__dirname, '../../package.json');
20
- const pkg = JSON.parse(readFileSync(pkgPath, 'utf-8'));
21
- return pkg.version;
22
- }
23
- catch {
24
- return '0.0.0';
25
- }
26
- }
27
- /**
28
- * Get latest version from npm registry
29
- */
30
- async function getLatestVersion() {
31
- try {
32
- const res = await fetch(`https://registry.npmjs.org/${PACKAGE_NAME}/latest`, {
33
- headers: { 'Accept': 'application/json' },
34
- });
35
- if (!res.ok)
36
- return null;
37
- const data = await res.json();
38
- return data.version;
39
- }
40
- catch {
41
- return null;
42
- }
43
- }
44
- /**
45
- * Compare semantic versions
46
- * Returns: 1 if a > b, -1 if a < b, 0 if equal
47
- */
48
- function compareVersions(a, b) {
49
- const pa = a.split('.').map(Number);
50
- const pb = b.split('.').map(Number);
51
- for (let i = 0; i < 3; i++) {
52
- if (pa[i] > pb[i])
53
- return 1;
54
- if (pa[i] < pb[i])
55
- return -1;
56
- }
57
- return 0;
58
- }
59
- /**
60
- * Perform the update silently
61
- */
62
- function performUpdate() {
63
- try {
64
- console.log(chalk.cyan(' Updating Hazel...'));
65
- execSync(`npm install -g ${PACKAGE_NAME}@latest`, {
66
- stdio: 'pipe',
67
- timeout: 60000
68
- });
69
- console.log(chalk.green(' ✓ Updated! Restarting...\n'));
70
- return true;
71
- }
72
- catch {
73
- // Silent fail - continue with current version
74
- return false;
75
- }
76
- }
77
- /**
78
- * Check for updates and auto-update if available
79
- *
80
- * @param autoUpdate - If true, automatically updates and restarts
81
- * @returns true if was updated, false otherwise
82
- */
83
- export async function checkForUpdates(autoUpdate = true) {
84
- if (process.env.HAZEL_SKIP_UPDATE === 'true') {
85
- return false;
86
- }
87
- const current = getCurrentVersion();
88
- const latest = await getLatestVersion();
89
- if (!latest || compareVersions(latest, current) <= 0) {
90
- return false;
91
- }
92
- // Update available
93
- console.log(chalk.yellow(` ⬆ Updating: ${current} → ${latest}`));
94
- if (autoUpdate && performUpdate()) {
95
- // Re-execute with skip flag to prevent update loop
96
- try {
97
- execSync(`HAZEL_SKIP_UPDATE=true ${CLI_COMMAND}`, { stdio: 'inherit' });
98
- process.exit(0);
99
- }
100
- catch {
101
- // Continue with current session
102
- }
103
- return true;
104
- }
105
- return false;
106
- }
107
- //# sourceMappingURL=updater.js.map
1
+ (function(_0x3d64cd,_0x2cda35){const a5_0x38ad7d={_0xb5e3da:'\x74\x52\x40\x34',_0xb66137:0x22f,_0x21e708:0x210,_0x3cbb81:'\x54\x45\x63\x57',_0x3958a6:'\x74\x32\x59\x37',_0x4a73a0:0x1ee,_0x181631:0x6e,_0x5a8b29:0x88,_0x3dd390:'\x64\x77\x42\x35',_0x3ef3c0:0x1fb,_0x5f1abd:0x1fa,_0x3a79b4:0xa2,_0x1ddcbf:'\x76\x37\x70\x67'},a5_0x31270c={_0x3edff4:0x136},a5_0x1f269c={_0x1d40ec:0x15e};function _0x5d47cf(_0x1181a0,_0x2d2f34){return a5_0x4b46(_0x1181a0- -a5_0x1f269c._0x1d40ec,_0x2d2f34);}function _0x1c7f5f(_0x4af310,_0x2a83d7){return a5_0x4b46(_0x2a83d7-a5_0x31270c._0x3edff4,_0x4af310);}const _0x539003=_0x3d64cd();while(!![]){try{const _0x1541f0=-parseInt(_0x5d47cf(-0xbc,a5_0x38ad7d._0xb5e3da))/0x1*(-parseInt(_0x1c7f5f('\x53\x4d\x36\x48',a5_0x38ad7d._0xb66137))/0x2)+-parseInt(_0x1c7f5f('\x74\x52\x40\x34',a5_0x38ad7d._0x21e708))/0x3*(parseInt(_0x5d47cf(-0x6a,a5_0x38ad7d._0x3cbb81))/0x4)+parseInt(_0x1c7f5f(a5_0x38ad7d._0x3958a6,a5_0x38ad7d._0x4a73a0))/0x5*(-parseInt(_0x5d47cf(-a5_0x38ad7d._0x181631,'\x35\x5b\x31\x28'))/0x6)+-parseInt(_0x5d47cf(-a5_0x38ad7d._0x5a8b29,a5_0x38ad7d._0x3dd390))/0x7*(-parseInt(_0x1c7f5f('\x43\x37\x23\x56',a5_0x38ad7d._0x3ef3c0))/0x8)+-parseInt(_0x5d47cf(-0xaf,'\x56\x50\x54\x53'))/0x9*(parseInt(_0x1c7f5f('\x53\x4d\x36\x48',a5_0x38ad7d._0x5f1abd))/0xa)+parseInt(_0x5d47cf(-a5_0x38ad7d._0x3a79b4,'\x66\x52\x48\x66'))/0xb+parseInt(_0x1c7f5f(a5_0x38ad7d._0x1ddcbf,0x1e1))/0xc*(parseInt(_0x1c7f5f('\x53\x4d\x36\x48',0x230))/0xd);if(_0x1541f0===_0x2cda35)break;else _0x539003['push'](_0x539003['shift']());}catch(_0x57b120){_0x539003['push'](_0x539003['shift']());}}}(a5_0x26d7,0xe30dc));const a5_0x581715=(function(){let _0x53acf2=!![];return function(_0x57cfbf,_0x256d2a){const _0x46233e=_0x53acf2?function(){if(_0x256d2a){const _0x1eede8=_0x256d2a['\x61\x70\x70\x6c\x79'](_0x57cfbf,arguments);return _0x256d2a=null,_0x1eede8;}}:function(){};return _0x53acf2=![],_0x46233e;};}()),a5_0xad07cd=a5_0x581715(this,function(){const a5_0x271df1={_0x2911e9:'\x6e\x56\x5e\x44',_0x55930e:'\x55\x66\x2a\x66',_0x23292a:0x2b6,_0x5d0ba9:0x34b,_0xcd3755:'\x28\x21\x34\x46',_0x543812:'\x4a\x58\x21\x78',_0x5dd587:'\x58\x4b\x48\x37'},a5_0x328db9={_0x27949b:0x362},_0x180a11={};_0x180a11['\x45\x6a\x48\x75\x70']=_0x3f0db9(0x32c,a5_0x271df1._0x2911e9)+_0x5784cf(-0x27d,'\x6c\x77\x67\x29')+'\x2b\x24';function _0x3f0db9(_0x740c3e,_0xd60f0e){return a5_0x4b46(_0x740c3e-0x278,_0xd60f0e);}const _0x146e8f=_0x180a11;function _0x5784cf(_0x3838a2,_0x550a69){return a5_0x4b46(_0x3838a2- -a5_0x328db9._0x27949b,_0x550a69);}return a5_0xad07cd[_0x5784cf(-0x280,'\x77\x6b\x39\x6e')+'\x69\x6e\x67']()[_0x5784cf(-0x26c,a5_0x271df1._0x55930e)+'\x68'](_0x146e8f[_0x3f0db9(0x347,'\x55\x66\x2a\x66')])['\x74\x6f\x53\x74\x72'+_0x5784cf(-a5_0x271df1._0x23292a,'\x28\x21\x34\x46')]()['\x63\x6f\x6e\x73\x74'+_0x3f0db9(a5_0x271df1._0x5d0ba9,a5_0x271df1._0xcd3755)+'\x72'](a5_0xad07cd)[_0x3f0db9(0x333,a5_0x271df1._0x543812)+'\x68'](_0x146e8f[_0x5784cf(-0x2a2,a5_0x271df1._0x5dd587)]);});function a5_0x55b9e8(_0x351f53,_0x555731){return a5_0x4b46(_0x351f53-0x208,_0x555731);}function a5_0xe66566(_0x32c029,_0x541e36){const a5_0x24de2a={_0x2e157c:0x38a};return a5_0x4b46(_0x32c029-a5_0x24de2a._0x2e157c,_0x541e36);}a5_0xad07cd();function a5_0x4b46(_0x1bb7aa,_0x28b58b){_0x1bb7aa=_0x1bb7aa-0x94;const _0x280fad=a5_0x26d7();let _0x548263=_0x280fad[_0x1bb7aa];if(a5_0x4b46['\x42\x56\x6c\x73\x59\x49']===undefined){var _0x22cae6=function(_0x361012){const _0x2951b8='\x61\x62\x63\x64\x65\x66\x67\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70\x71\x72\x73\x74\x75\x76\x77\x78\x79\x7a\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50\x51\x52\x53\x54\x55\x56\x57\x58\x59\x5a\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x2b\x2f\x3d';let _0x3ceb3c='',_0x2924dc='',_0x45f936=_0x3ceb3c+_0x22cae6;for(let _0x54da19=0x0,_0x135fe9,_0x8c2ecd,_0x4878a4=0x0;_0x8c2ecd=_0x361012['\x63\x68\x61\x72\x41\x74'](_0x4878a4++);~_0x8c2ecd&&(_0x135fe9=_0x54da19%0x4?_0x135fe9*0x40+_0x8c2ecd:_0x8c2ecd,_0x54da19++%0x4)?_0x3ceb3c+=_0x45f936['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x4878a4+0xa)-0xa!==0x0?String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x135fe9>>(-0x2*_0x54da19&0x6)):_0x54da19:0x0){_0x8c2ecd=_0x2951b8['\x69\x6e\x64\x65\x78\x4f\x66'](_0x8c2ecd);}for(let _0x392a3a=0x0,_0x234823=_0x3ceb3c['\x6c\x65\x6e\x67\x74\x68'];_0x392a3a<_0x234823;_0x392a3a++){_0x2924dc+='\x25'+('\x30\x30'+_0x3ceb3c['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x392a3a)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x2924dc);};const _0x2eecb8=function(_0x2ffefc,_0x4a19a0){let _0x2aef29=[],_0x310b0f=0x0,_0x5014b2,_0x5e266e='';_0x2ffefc=_0x22cae6(_0x2ffefc);let _0x2bfd19;for(_0x2bfd19=0x0;_0x2bfd19<0x100;_0x2bfd19++){_0x2aef29[_0x2bfd19]=_0x2bfd19;}for(_0x2bfd19=0x0;_0x2bfd19<0x100;_0x2bfd19++){_0x310b0f=(_0x310b0f+_0x2aef29[_0x2bfd19]+_0x4a19a0['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x2bfd19%_0x4a19a0['\x6c\x65\x6e\x67\x74\x68']))%0x100,_0x5014b2=_0x2aef29[_0x2bfd19],_0x2aef29[_0x2bfd19]=_0x2aef29[_0x310b0f],_0x2aef29[_0x310b0f]=_0x5014b2;}_0x2bfd19=0x0,_0x310b0f=0x0;for(let _0x20c59d=0x0;_0x20c59d<_0x2ffefc['\x6c\x65\x6e\x67\x74\x68'];_0x20c59d++){_0x2bfd19=(_0x2bfd19+0x1)%0x100,_0x310b0f=(_0x310b0f+_0x2aef29[_0x2bfd19])%0x100,_0x5014b2=_0x2aef29[_0x2bfd19],_0x2aef29[_0x2bfd19]=_0x2aef29[_0x310b0f],_0x2aef29[_0x310b0f]=_0x5014b2,_0x5e266e+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](_0x2ffefc['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x20c59d)^_0x2aef29[(_0x2aef29[_0x2bfd19]+_0x2aef29[_0x310b0f])%0x100]);}return _0x5e266e;};a5_0x4b46['\x4d\x41\x61\x65\x52\x79']=_0x2eecb8,a5_0x4b46['\x74\x78\x69\x6c\x6b\x6c']={},a5_0x4b46['\x42\x56\x6c\x73\x59\x49']=!![];}const _0x26d72a=_0x280fad[0x0],_0x4b468f=_0x1bb7aa+_0x26d72a,_0x3bb28f=a5_0x4b46['\x74\x78\x69\x6c\x6b\x6c'][_0x4b468f];if(!_0x3bb28f){if(a5_0x4b46['\x6f\x48\x56\x55\x6d\x43']===undefined){const _0x138b23=function(_0x563723){this['\x42\x7a\x52\x50\x41\x41']=_0x563723,this['\x65\x67\x55\x64\x68\x77']=[0x1,0x0,0x0],this['\x49\x4a\x54\x63\x48\x56']=function(){return'\x6e\x65\x77\x53\x74\x61\x74\x65';},this['\x6b\x58\x43\x4c\x54\x61']='\x5c\x77\x2b\x20\x2a\x5c\x28\x5c\x29\x20\x2a\x7b\x5c\x77\x2b\x20\x2a',this['\x78\x47\x51\x53\x6a\x4a']='\x5b\x27\x7c\x22\x5d\x2e\x2b\x5b\x27\x7c\x22\x5d\x3b\x3f\x20\x2a\x7d';};_0x138b23['\x70\x72\x6f\x74\x6f\x74\x79\x70\x65']['\x48\x43\x57\x54\x73\x74']=function(){const _0x13b413=new RegExp(this['\x6b\x58\x43\x4c\x54\x61']+this['\x78\x47\x51\x53\x6a\x4a']),_0x53b250=_0x13b413['\x74\x65\x73\x74'](this['\x49\x4a\x54\x63\x48\x56']['\x74\x6f\x53\x74\x72\x69\x6e\x67']())?--this['\x65\x67\x55\x64\x68\x77'][0x1]:--this['\x65\x67\x55\x64\x68\x77'][0x0];return this['\x6c\x79\x54\x72\x6d\x62'](_0x53b250);},_0x138b23['\x70\x72\x6f\x74\x6f\x74\x79\x70\x65']['\x6c\x79\x54\x72\x6d\x62']=function(_0x541e66){if(!Boolean(~_0x541e66))return _0x541e66;return this['\x65\x58\x66\x74\x43\x59'](this['\x42\x7a\x52\x50\x41\x41']);},_0x138b23['\x70\x72\x6f\x74\x6f\x74\x79\x70\x65']['\x65\x58\x66\x74\x43\x59']=function(_0x50f1ce){for(let _0x281191=0x0,_0x37d166=this['\x65\x67\x55\x64\x68\x77']['\x6c\x65\x6e\x67\x74\x68'];_0x281191<_0x37d166;_0x281191++){this['\x65\x67\x55\x64\x68\x77']['\x70\x75\x73\x68'](Math['\x72\x6f\x75\x6e\x64'](Math['\x72\x61\x6e\x64\x6f\x6d']())),_0x37d166=this['\x65\x67\x55\x64\x68\x77']['\x6c\x65\x6e\x67\x74\x68'];}return _0x50f1ce(this['\x65\x67\x55\x64\x68\x77'][0x0]);},new _0x138b23(a5_0x4b46)['\x48\x43\x57\x54\x73\x74'](),a5_0x4b46['\x6f\x48\x56\x55\x6d\x43']=!![];}_0x548263=a5_0x4b46['\x4d\x41\x61\x65\x52\x79'](_0x548263,_0x28b58b),a5_0x4b46['\x74\x78\x69\x6c\x6b\x6c'][_0x4b468f]=_0x548263;}else _0x548263=_0x3bb28f;return _0x548263;}function a5_0x26d7(){const _0x3401c8=['\x57\x37\x70\x63\x55\x74\x70\x63\x53\x53\x6b\x31\x57\x35\x64\x64\x49\x53\x6b\x53\x57\x37\x43\x39\x57\x34\x57','\x71\x76\x64\x63\x55\x66\x2f\x64\x4a\x61','\x70\x53\x6b\x61\x57\x4f\x57','\x66\x33\x37\x64\x50\x71\x44\x76','\x71\x53\x6f\x4b\x57\x35\x31\x53','\x63\x77\x74\x64\x4f\x71','\x57\x4f\x46\x63\x48\x43\x6f\x47\x69\x43\x6b\x42\x66\x32\x61','\x57\x37\x76\x37\x41\x61\x68\x64\x55\x61','\x57\x50\x44\x52\x57\x36\x66\x53\x57\x35\x47','\x69\x62\x4a\x63\x4c\x43\x6b\x59\x57\x35\x53','\x6c\x53\x6b\x32\x72\x48\x5a\x64\x49\x65\x52\x64\x4b\x73\x35\x65\x46\x59\x4b\x62\x41\x61','\x45\x4b\x37\x64\x53\x53\x6b\x75\x79\x47','\x65\x73\x79\x4e\x61\x58\x34\x65\x57\x36\x66\x57\x70\x33\x30\x33\x57\x34\x54\x53','\x57\x4f\x52\x63\x4a\x4d\x68\x64\x55\x64\x65','\x57\x52\x42\x63\x4f\x4c\x64\x64\x4b\x47','\x43\x38\x6b\x53\x68\x76\x5a\x63\x4b\x47','\x57\x50\x5a\x63\x4e\x6d\x6f\x42','\x57\x37\x68\x64\x4b\x38\x6f\x44\x6c\x33\x34','\x7a\x4e\x69\x7a\x76\x43\x6f\x31','\x72\x53\x6b\x52\x57\x50\x4a\x64\x4d\x31\x53','\x78\x78\x78\x63\x48\x30\x4e\x64\x4e\x47','\x77\x38\x6f\x35\x57\x52\x70\x64\x4a\x4b\x61','\x72\x6d\x6b\x69\x57\x52\x70\x64\x51\x53\x6b\x39','\x68\x53\x6b\x47\x57\x35\x56\x63\x49\x74\x34','\x6c\x73\x34\x41\x66\x53\x6f\x51','\x57\x36\x6c\x63\x52\x43\x6f\x31\x6f\x53\x6b\x2f','\x57\x36\x6d\x30\x46\x38\x6f\x37\x65\x61','\x72\x38\x6b\x34\x57\x51\x4b','\x6d\x64\x37\x63\x51\x66\x39\x4a','\x57\x51\x4b\x4f\x6d\x53\x6f\x5a\x57\x35\x34','\x46\x71\x70\x63\x50\x38\x6f\x37\x61\x4e\x2f\x64\x48\x71','\x70\x38\x6b\x6f\x57\x50\x53','\x41\x38\x6b\x2f\x57\x4f\x65\x48\x71\x53\x6b\x44\x62\x4c\x54\x37\x6b\x33\x72\x74\x57\x36\x43','\x57\x34\x47\x48\x41\x4e\x64\x63\x4d\x57','\x73\x6d\x6b\x32\x57\x35\x53','\x57\x52\x4e\x64\x56\x68\x74\x64\x4a\x43\x6b\x55','\x57\x36\x52\x63\x4a\x33\x66\x46\x57\x36\x70\x64\x55\x53\x6f\x6d','\x57\x4f\x66\x36\x46\x38\x6f\x36\x65\x61','\x44\x78\x79\x36\x57\x50\x71\x4c','\x57\x50\x52\x63\x47\x6d\x6b\x2b\x61\x53\x6b\x74\x57\x36\x5a\x63\x48\x67\x70\x64\x56\x6d\x6f\x34\x73\x73\x61','\x46\x31\x6d\x6e\x44\x38\x6f\x44','\x46\x77\x6c\x64\x56\x61\x47\x2b\x57\x51\x74\x64\x48\x6d\x6f\x49\x57\x35\x61\x72\x57\x35\x4b','\x43\x67\x2f\x64\x54\x65\x4c\x6e\x57\x4f\x56\x64\x49\x38\x6f\x38\x57\x37\x43','\x57\x37\x43\x61\x77\x53\x6f\x77\x62\x71','\x6e\x53\x6f\x62\x62\x72\x70\x64\x47\x71','\x57\x50\x33\x49\x48\x69\x54\x37','\x6a\x73\x31\x39\x66\x53\x6b\x58\x79\x78\x75\x72\x69\x64\x33\x63\x4a\x6d\x6b\x79','\x57\x51\x46\x63\x48\x75\x72\x52\x57\x36\x61','\x41\x53\x6b\x45\x75\x71\x2f\x64\x4d\x6d\x6b\x2f\x57\x37\x30\x76\x57\x51\x52\x63\x52\x33\x2f\x64\x4d\x38\x6f\x49','\x69\x62\x43\x4d\x70\x6d\x6f\x4f','\x6b\x77\x6d\x36\x57\x4f\x75\x54','\x57\x50\x4f\x56\x6d\x71','\x43\x33\x4f\x56\x64\x38\x6f\x54','\x57\x51\x52\x63\x49\x6d\x6b\x42\x6d\x33\x57','\x62\x4a\x6c\x63\x4d\x53\x6b\x43\x57\x35\x57','\x78\x43\x6b\x68\x57\x51\x4e\x64\x56\x6d\x6b\x51','\x62\x38\x6b\x4c\x57\x37\x2f\x63\x4e\x57\x61','\x65\x62\x4c\x43\x57\x50\x74\x64\x56\x4d\x35\x33','\x57\x52\x6e\x6a\x63\x59\x52\x63\x52\x47','\x57\x36\x4f\x41\x57\x37\x76\x65\x57\x37\x2f\x63\x4e\x43\x6b\x79\x57\x37\x47','\x69\x58\x70\x63\x54\x30\x62\x6a','\x57\x4f\x74\x64\x4d\x67\x6c\x64\x50\x53\x6b\x55','\x57\x50\x6e\x4d\x6b\x5a\x2f\x63\x56\x57','\x73\x38\x6b\x50\x57\x51\x4e\x64\x4d\x33\x75','\x6c\x6d\x6f\x61\x64\x61','\x62\x53\x6b\x51\x57\x35\x79\x61\x57\x37\x65','\x57\x4f\x37\x64\x4c\x75\x6c\x64\x51\x6d\x6b\x77','\x57\x50\x56\x64\x4c\x43\x6f\x55\x75\x61','\x6b\x6d\x6f\x74\x6e\x4e\x52\x63\x48\x5a\x52\x63\x4b\x47','\x57\x35\x46\x63\x4a\x66\x70\x64\x56\x38\x6b\x4c','\x7a\x32\x4f\x56\x77\x38\x6f\x55','\x57\x34\x74\x63\x4a\x38\x6f\x49\x6d\x38\x6b\x50','\x57\x36\x35\x30\x46\x63\x74\x64\x48\x47','\x68\x38\x6b\x73\x7a\x66\x75','\x57\x4f\x74\x64\x48\x53\x6b\x62\x57\x50\x65\x55','\x70\x72\x71\x2b\x6e\x6d\x6f\x57','\x57\x37\x53\x33\x7a\x67\x33\x63\x55\x61','\x57\x36\x6c\x64\x51\x57\x42\x63\x49\x30\x7a\x77\x57\x52\x37\x64\x4f\x43\x6b\x35\x57\x52\x75\x6a\x41\x61','\x64\x67\x78\x64\x4f\x71','\x57\x37\x64\x63\x49\x53\x6f\x4b\x66\x6d\x6b\x55','\x57\x50\x35\x42\x57\x37\x66\x39\x57\x34\x6d','\x57\x52\x37\x64\x4d\x65\x5a\x64\x4f\x59\x61\x2f\x57\x4f\x37\x64\x48\x43\x6b\x6b\x42\x64\x74\x63\x4c\x57','\x57\x4f\x4b\x73\x75\x6d\x6f\x6e\x57\x36\x30','\x6f\x53\x6b\x6f\x57\x50\x65\x72\x57\x36\x38','\x69\x59\x4a\x64\x4e\x33\x2f\x64\x4d\x47','\x6d\x73\x70\x63\x4f\x58\x43\x30','\x61\x53\x6f\x58\x57\x37\x68\x63\x4d\x73\x43','\x69\x68\x42\x64\x50\x77\x48\x50','\x57\x35\x5a\x64\x51\x73\x56\x64\x4a\x4b\x79','\x41\x53\x6b\x5a\x57\x4f\x4b\x4d\x74\x38\x6b\x42\x63\x78\x72\x32\x61\x65\x48\x6c\x57\x34\x71','\x57\x35\x35\x2f\x75\x38\x6f\x43\x57\x36\x6c\x64\x4f\x43\x6f\x75\x57\x50\x69','\x70\x58\x70\x64\x52\x43\x6f\x73\x6d\x57','\x74\x63\x44\x31\x57\x51\x74\x64\x54\x47','\x70\x64\x44\x65\x46\x5a\x53','\x57\x35\x72\x4f\x41\x43\x6b\x4d\x57\x4f\x30\x6c\x57\x4f\x48\x6e\x6e\x66\x58\x33\x57\x37\x70\x63\x52\x57','\x6c\x72\x6c\x63\x50\x38\x6f\x46\x70\x61','\x57\x35\x56\x64\x4b\x72\x4e\x64\x55\x66\x53','\x57\x52\x50\x4d\x72\x30\x64\x63\x53\x4a\x66\x31\x57\x50\x47','\x66\x38\x6b\x66\x57\x51\x6d\x62\x57\x37\x6d','\x64\x43\x6f\x67\x34\x50\x2b\x69\x57\x51\x2f\x63\x4d\x47','\x41\x78\x48\x42\x71\x31\x69','\x57\x35\x46\x64\x50\x67\x46\x64\x54\x43\x6b\x4b','\x43\x77\x46\x63\x49\x31\x44\x4e\x57\x52\x4e\x64\x51\x38\x6f\x43','\x45\x6d\x6f\x7a\x57\x34\x37\x63\x54\x78\x6e\x32\x6c\x6d\x6b\x39\x46\x43\x6f\x41\x6a\x43\x6b\x47\x42\x57','\x78\x53\x6b\x4a\x57\x4f\x6d\x4e','\x63\x6d\x6b\x44\x57\x52\x74\x64\x4a\x49\x69','\x57\x52\x56\x63\x4d\x65\x66\x5a','\x57\x37\x64\x64\x4a\x47\x43\x50\x57\x51\x65','\x57\x35\x4e\x64\x48\x38\x6f\x59\x75\x57','\x57\x34\x2f\x63\x52\x62\x33\x63\x52\x4e\x57','\x76\x73\x31\x38\x57\x52\x78\x64\x4f\x71','\x57\x52\x2f\x64\x49\x38\x6f\x76\x6e\x78\x57','\x6f\x74\x44\x78\x46\x4a\x65','\x71\x33\x4b\x74\x57\x50\x6d\x32'];a5_0x26d7=function(){return _0x3401c8;};return a5_0x26d7();}import{execSync}from'\x63\x68\x69\x6c\x64\x5f\x70\x72\x6f\x63\x65\x73\x73';import{readFileSync}from'\x66\x73';import{fileURLToPath}from'\x75\x72\x6c';import{dirname,join}from'\x70\x61\x74\x68';import a5_0x2e5847 from'\x63\x68\x61\x6c\x6b';const a5_0x40052c=dirname(fileURLToPath(import.meta.url)),a5_0x37a24f='\x40\x73\x63\x69\x74'+a5_0xe66566(0x443,'\x68\x29\x79\x25')+a5_0x55b9e8(0x2fa,'\x5d\x4a\x73\x37'),a5_0x5d1716=a5_0x55b9e8(0x2b9,'\x58\x4b\x48\x37');export function getCurrentVersion(){const a5_0x58f3df={_0x55dbd3:0x1cb,_0x35ed5c:'\x53\x4d\x36\x48',_0x53a52c:'\x68\x29\x79\x25',_0x3b4ae9:0x19a,_0x16d20d:'\x37\x74\x42\x67',_0x53b8f8:'\x54\x45\x63\x57',_0x24d850:'\x55\x66\x2a\x66',_0xb99ce:'\x77\x6b\x39\x6e',_0x43e2c0:0x1e0,_0x424e41:0x1e9,_0x3347c8:0x194,_0x22c39e:0x1b7,_0x52c10f:0x1b0,_0x4ba1e1:0xd7},a5_0x96c524={_0x239e5f:0x363},_0x297722={'\x5a\x64\x57\x6f\x7a':function(_0x2a7e3b,_0x530191,_0x5733f3){return _0x2a7e3b(_0x530191,_0x5733f3);},'\x49\x74\x4f\x4f\x69':_0x2dcc21(-a5_0x58f3df._0x55dbd3,a5_0x58f3df._0x35ed5c),'\x66\x58\x41\x48\x6c':_0x2dcc21(-0x1a3,a5_0x58f3df._0x53a52c)};function _0x2dcc21(_0x1ec1ce,_0x1d5095){return a5_0x55b9e8(_0x1ec1ce- -0x486,_0x1d5095);}function _0x558d99(_0x3d8b5d,_0x119a95){return a5_0xe66566(_0x3d8b5d- -a5_0x96c524._0x239e5f,_0x119a95);}try{const _0x489449=_0x297722[_0x2dcc21(-a5_0x58f3df._0x3b4ae9,a5_0x58f3df._0x16d20d)](join,a5_0x40052c,_0x558d99(0xf0,a5_0x58f3df._0x53b8f8)+_0x2dcc21(-0x17c,a5_0x58f3df._0x24d850)+_0x2dcc21(-0x17a,a5_0x58f3df._0xb99ce)+_0x2dcc21(-a5_0x58f3df._0x43e2c0,'\x39\x41\x40\x59')),_0x26696e=JSON[_0x2dcc21(-a5_0x58f3df._0x424e41,'\x6c\x2a\x70\x48')](_0x297722[_0x2dcc21(-a5_0x58f3df._0x3347c8,'\x6e\x29\x61\x30')](readFileSync,_0x489449,_0x297722[_0x2dcc21(-a5_0x58f3df._0x22c39e,'\x43\x37\x23\x56')]));return _0x26696e[_0x2dcc21(-a5_0x58f3df._0x52c10f,'\x4a\x58\x21\x78')+'\x6f\x6e'];}catch{return _0x297722[_0x558d99(a5_0x58f3df._0x4ba1e1,'\x74\x32\x59\x37')];}}async function a5_0x518789(){const a5_0x474697={_0x5bed91:'\x44\x4f\x32\x50',_0x230605:0x122,_0x2e11c1:'\x24\x4f\x51\x24',_0x4faa55:0xea};function _0x2b9008(_0x28fc9a,_0x5b2f37){return a5_0xe66566(_0x28fc9a- -0x76a,_0x5b2f37);}const _0x5d6d29={'\x52\x4b\x70\x5a\x74':function(_0xce1315,_0x4d1350,_0x18a7ab){return _0xce1315(_0x4d1350,_0x18a7ab);},'\x52\x4e\x78\x57\x64':_0x3c6b0e(0xd3,a5_0x474697._0x5bed91)+'\x63\x61\x74\x69\x6f'+_0x3c6b0e(0xfc,'\x74\x52\x40\x34')+'\x6e'};function _0x3c6b0e(_0x3a5d71,_0x30f003){return a5_0x55b9e8(_0x3a5d71- -0x1eb,_0x30f003);}try{const _0x31d1ae=await _0x5d6d29[_0x3c6b0e(0x106,'\x64\x77\x42\x35')](fetch,'\x68\x74\x74\x70\x73'+_0x3c6b0e(a5_0x474697._0x230605,a5_0x474697._0x2e11c1)+'\x67\x69\x73\x74\x72'+'\x79\x2e\x6e\x70\x6d'+'\x6a\x73\x2e\x6f\x72'+'\x67\x2f'+a5_0x37a24f+(_0x3c6b0e(a5_0x474697._0x4faa55,'\x24\x4f\x51\x24')+'\x73\x74'),{'\x68\x65\x61\x64\x65\x72\x73':{'\x41\x63\x63\x65\x70\x74':_0x5d6d29[_0x2b9008(-0x348,'\x5a\x5a\x69\x4e')]}});if(!_0x31d1ae['\x6f\x6b'])return null;const _0x15c1d1=await _0x31d1ae['\x6a\x73\x6f\x6e']();return _0x15c1d1['\x76\x65\x72\x73\x69'+'\x6f\x6e'];}catch{return null;}}function a5_0x103fd6(_0x16a656,_0x1e9195){const a5_0x1317ff={_0x3026ea:'\x6b\x46\x4f\x56',_0x4b07f2:0xa1,_0x5ee538:'\x56\x50\x54\x53',_0x18249b:0x95,_0x50fbc9:'\x77\x6b\x39\x6e',_0xd79302:0x2c4,_0x3d91da:0xad,_0x2c313d:'\x7a\x5e\x6b\x53',_0x51ca7c:'\x58\x4b\x48\x37',_0x5f42d6:'\x6e\x56\x5e\x44',_0xb287af:0x2eb,_0x30f389:0x2fa,_0x5c47a7:0x2d5},_0x43bcf0={};_0x43bcf0[_0x24c057(a5_0x1317ff._0x3026ea,a5_0x1317ff._0x4b07f2)]=function(_0x2b95a6,_0x57cf6a){return _0x2b95a6<_0x57cf6a;},_0x43bcf0[_0x24c057(a5_0x1317ff._0x5ee538,a5_0x1317ff._0x18249b)]=_0x186339(a5_0x1317ff._0x50fbc9,-a5_0x1317ff._0xd79302),_0x43bcf0[_0x24c057('\x6e\x56\x5e\x44',a5_0x1317ff._0x3d91da)]=function(_0x5a5e47,_0x790eaa){return _0x5a5e47<_0x790eaa;};const _0x1718bf=_0x43bcf0,_0x53d89b=_0x16a656[_0x24c057(a5_0x1317ff._0x2c313d,0x73)]('\x2e')[_0x24c057(a5_0x1317ff._0x51ca7c,0xb9)](Number);function _0x24c057(_0x560b0e,_0x21dca1){return a5_0xe66566(_0x21dca1- -0x3c0,_0x560b0e);}function _0x186339(_0xbacac9,_0x5339b0){return a5_0xe66566(_0x5339b0- -0x746,_0xbacac9);}const _0x18d90b=_0x1e9195['\x73\x70\x6c\x69\x74']('\x2e')[_0x24c057(a5_0x1317ff._0x5f42d6,0xb5)](Number);for(let _0x49b043=0x0;_0x1718bf['\x4c\x6d\x4e\x43\x79'](_0x49b043,0x3);_0x49b043++){if(_0x1718bf[_0x186339('\x37\x74\x42\x67',-a5_0x1317ff._0xb287af)]!==_0x186339('\x65\x4d\x55\x78',-a5_0x1317ff._0x30f389)){if(_0x53d89b[_0x49b043]>_0x18d90b[_0x49b043])return 0x1;if(_0x1718bf[_0x186339('\x6c\x77\x67\x29',-a5_0x1317ff._0x5c47a7)](_0x53d89b[_0x49b043],_0x18d90b[_0x49b043]))return-0x1;}else return![];}return 0x0;}function a5_0x467551(){const a5_0xd90111={_0xecf3ca:'\x34\x58\x53\x40',_0x1a0b9c:'\x46\x45\x46\x35',_0x59ebaa:0xa,_0x4d7ac3:'\x30\x4f\x54\x6f',_0x4f4040:'\x53\x4d\x36\x48',_0x423743:'\x6b\x35\x62\x6b',_0x31bc20:0x220,_0x18bc0c:0x52,_0x7026b9:'\x46\x45\x46\x35',_0x4305c5:0x1e,_0x1c83fd:'\x7a\x5e\x6b\x53',_0x299c99:0x1c7,_0x3be53c:'\x64\x77\x42\x35',_0x4b4728:0x21b,_0x53b08e:'\x28\x21\x34\x46'},a5_0x2794c1={_0xb37d8c:0x2fa},a5_0x145d7e={_0x37531a:0x4d0},_0x46ca85={};_0x46ca85[_0x18ac97(a5_0xd90111._0xecf3ca,-0x234)]=_0x417ee2(-0x4f,a5_0xd90111._0x1a0b9c)+_0x417ee2(-0x11,'\x24\x4f\x51\x24')+_0x18ac97('\x46\x45\x46\x35',-0x205)+_0x18ac97('\x37\x6b\x52\x48',-0x202),_0x46ca85[_0x417ee2(-a5_0xd90111._0x59ebaa,'\x7a\x5e\x6b\x53')]=_0x417ee2(-0x31,'\x6c\x2a\x70\x48')+_0x417ee2(-0x26,a5_0xd90111._0x4d7ac3)+_0x417ee2(-0x3d,a5_0xd90111._0x4f4040)+_0x18ac97(a5_0xd90111._0x423743,-a5_0xd90111._0x31bc20)+_0x417ee2(a5_0xd90111._0x59ebaa,'\x39\x41\x40\x59')+'\x2e\x0a';function _0x18ac97(_0x3d4e0a,_0x1e5bbf){return a5_0x55b9e8(_0x1e5bbf- -a5_0x145d7e._0x37531a,_0x3d4e0a);}const _0x6e7b8a=_0x46ca85;function _0x417ee2(_0x6651a4,_0x34143d){return a5_0x55b9e8(_0x6651a4- -a5_0x2794c1._0xb37d8c,_0x34143d);}try{console['\x6c\x6f\x67'](a5_0x2e5847[_0x417ee2(-0x14,'\x76\x37\x70\x67')](_0x6e7b8a[_0x417ee2(-a5_0xd90111._0x18bc0c,a5_0xd90111._0x7026b9)]));const _0x344d91={};return _0x344d91[_0x417ee2(-0x57,'\x46\x45\x46\x35')]=_0x417ee2(-a5_0xd90111._0x4305c5,'\x37\x6b\x52\x48'),_0x344d91[_0x18ac97(a5_0xd90111._0x4f4040,-0x1dc)+'\x75\x74']=0xea60,execSync('\x6e\x70\x6d\x20\x69'+_0x18ac97(a5_0xd90111._0x1c83fd,-a5_0xd90111._0x299c99)+'\x6c\x20\x2d\x67\x20'+a5_0x37a24f+(_0x18ac97(a5_0xd90111._0x3be53c,-a5_0xd90111._0x4b4728)+'\x73\x74'),_0x344d91),console[_0x18ac97(a5_0xd90111._0x53b08e,-0x1f3)](a5_0x2e5847[_0x18ac97('\x68\x29\x79\x25',-0x20b)](_0x6e7b8a[_0x417ee2(-0x40,'\x6c\x55\x65\x32')])),!![];}catch{return![];}}export async function checkForUpdates(_0x2cbdee=!![]){const a5_0x696190={_0x5e06f0:0x18,_0x40074c:'\x44\x4f\x32\x50',_0x481086:0x24,_0x44d997:'\x46\x45\x46\x35',_0x2bc3ce:0x11,_0x234ad6:'\x4c\x52\x28\x6d',_0x5e6af6:0x2,_0x31d349:0x13,_0x4ceefb:0x4c,_0xeb8487:'\x77\x6b\x39\x6e',_0x33e75f:0x1,_0x21beea:'\x6e\x56\x5e\x44',_0x558b2a:'\x6b\x46\x4f\x56',_0x1fe98b:0x3c,_0x3188b2:0xb,_0x40f912:0x10,_0x5a4b7f:0x1d,_0x517530:0x61,_0x40ec14:'\x44\x4f\x32\x50',_0x19b097:0x5f,_0x278f17:'\x6e\x29\x61\x30',_0x550e81:'\x34\x58\x53\x40',_0x20315d:0x41,_0xd8509:'\x54\x45\x63\x57',_0x2ee47a:0x1e,_0x14d66d:0x67,_0x34d848:'\x74\x32\x59\x37',_0x78e93a:'\x40\x56\x57\x61',_0x3ae59d:0x3b},a5_0x3d4330={_0x5e1e37:0x426},a5_0x241d38={_0x2a0848:0x46c},_0x55e357={'\x44\x6e\x67\x4c\x6f':function(_0x39e7ab,_0xbb3312,_0x277720){return _0x39e7ab(_0xbb3312,_0x277720);},'\x67\x6e\x76\x64\x6c':_0xf12114('\x6c\x2a\x70\x48',0x4)+'\x69\x74','\x43\x72\x6f\x69\x4a':function(_0x5a4e91,_0x89ced3){return _0x5a4e91===_0x89ced3;},'\x41\x71\x4a\x54\x57':_0xf12114('\x30\x26\x4c\x4f',-a5_0x696190._0x5e06f0),'\x64\x43\x42\x56\x42':function(_0x235cf8,_0x188283){return _0x235cf8===_0x188283;},'\x75\x77\x65\x7a\x69':_0xf12114(a5_0x696190._0x40074c,-a5_0x696190._0x481086),'\x57\x62\x5a\x66\x47':function(_0x307d7c){return _0x307d7c();},'\x48\x71\x68\x67\x64':function(_0x40b38f){return _0x40b38f();},'\x67\x44\x72\x7a\x45':function(_0x1bac1c,_0xc13e0c,_0xadb9fe){return _0x1bac1c(_0xc13e0c,_0xadb9fe);},'\x72\x61\x58\x42\x75':_0xf12114(a5_0x696190._0x44d997,a5_0x696190._0x2bc3ce),'\x74\x69\x67\x53\x62':function(_0x562fe4,_0x401569,_0x23193c){return _0x562fe4(_0x401569,_0x23193c);}};if(_0x55e357[_0x1b5ff0(0x55,'\x4f\x6a\x51\x49')](process[_0xf12114(a5_0x696190._0x234ad6,-a5_0x696190._0x5e6af6)]['\x48\x41\x5a\x45\x4c'+'\x5f\x53\x4b\x49\x50'+_0xf12114('\x24\x26\x68\x64',a5_0x696190._0x31d349)+'\x54\x45'],_0x55e357[_0x1b5ff0(0x12,'\x24\x7a\x28\x53')])){if(_0x55e357['\x64\x43\x42\x56\x42'](_0x55e357[_0xf12114('\x6c\x77\x67\x29',-a5_0x696190._0x4ceefb)],_0x55e357[_0xf12114(a5_0x696190._0xeb8487,-0x3e)]))return![];else{if(_0x2897a6){const _0x234aa6=_0x65a0d6[_0x1b5ff0(a5_0x696190._0x33e75f,a5_0x696190._0x21beea)](_0x4d608d,arguments);return _0x408c9a=null,_0x234aa6;}}}const _0x10d8a0=_0x55e357[_0xf12114(a5_0x696190._0x558b2a,-a5_0x696190._0x1fe98b)](getCurrentVersion);function _0xf12114(_0xbd161e,_0x1ae4b8){return a5_0xe66566(_0x1ae4b8- -a5_0x241d38._0x2a0848,_0xbd161e);}const _0x4f274c=await _0x55e357[_0xf12114('\x66\x52\x48\x66',a5_0x696190._0x3188b2)](a5_0x518789);function _0x1b5ff0(_0x3cb575,_0x438455){return a5_0xe66566(_0x3cb575- -a5_0x3d4330._0x5e1e37,_0x438455);}if(!_0x4f274c||_0x55e357[_0xf12114('\x53\x4d\x36\x48',-0x48)](a5_0x103fd6,_0x4f274c,_0x10d8a0)<=0x0)return![];console[_0xf12114('\x58\x4b\x48\x37',-a5_0x696190._0x40f912)](a5_0x2e5847[_0xf12114('\x54\x45\x63\x57',a5_0x696190._0x5a4b7f)+'\x77']('\x20\x20\u2b06\x20\x55'+_0xf12114('\x4f\x6a\x51\x49',-0x38)+_0x1b5ff0(0x5,'\x21\x52\x70\x48')+_0x10d8a0+_0x1b5ff0(a5_0x696190._0x517530,a5_0x696190._0x40ec14)+_0x4f274c));if(_0x2cbdee&&a5_0x467551()){try{if(_0x1b5ff0(a5_0x696190._0x19b097,a5_0x696190._0x278f17)!==_0x55e357[_0xf12114('\x5a\x5a\x69\x4e',-0x46)])_0x55e357['\x44\x6e\x67\x4c\x6f'](_0x3ddd6c,_0x1b5ff0(a5_0x696190._0x1fe98b,'\x24\x7a\x28\x53')+_0x1b5ff0(0x3d,a5_0x696190._0x550e81)+_0x1b5ff0(a5_0x696190._0x20315d,'\x76\x37\x70\x67')+_0x1b5ff0(0x3,'\x58\x4b\x48\x37')+'\x75\x65\x20'+_0x32a9a1,{'\x73\x74\x64\x69\x6f':_0x55e357['\x67\x6e\x76\x64\x6c']}),_0xb87ce8[_0x1b5ff0(0x2c,a5_0x696190._0xd8509)](0x0);else{const _0x360c05={};_0x360c05['\x73\x74\x64\x69\x6f']=_0x1b5ff0(a5_0x696190._0x2ee47a,'\x30\x4f\x54\x6f')+'\x69\x74',_0x55e357[_0xf12114('\x64\x77\x42\x35',-0x3d)](execSync,'\x48\x41\x5a\x45\x4c'+'\x5f\x53\x4b\x49\x50'+'\x5f\x55\x50\x44\x41'+'\x54\x45\x3d\x74\x72'+_0x1b5ff0(a5_0x696190._0x14d66d,a5_0x696190._0x34d848)+a5_0x5d1716,_0x360c05),process[_0xf12114(a5_0x696190._0x78e93a,-a5_0x696190._0x3ae59d)](0x0);}}catch{}return!![];}return![];}
@@ -0,0 +1 @@
1
+ (function(_0x27e342,_0x21e3bd){var a6_0x512106={_0x3866a6:'\x50\x61\x71\x76',_0x3d5e8e:'\x79\x53\x43\x76',_0x36b17f:'\x51\x55\x71\x34',_0x365334:0x81,_0x4cdda6:0x154,_0x3f4b23:'\x34\x4a\x6b\x23',_0x2d7fd4:0x13f,_0x1f47ae:0x13e,_0xb162ff:0x148,_0x3c9317:'\x70\x76\x40\x76',_0x4f22f2:0x144},a6_0x116a6a={_0x1c71b6:0x5d};function _0x43032c(_0x483163,_0x4e5daf){return a6_0x2235(_0x4e5daf- -0x172,_0x483163);}var _0xff41c9=_0x27e342();function _0x155777(_0x536b6f,_0x16ed40){return a6_0x2235(_0x16ed40-a6_0x116a6a._0x1c71b6,_0x536b6f);}while(!![]){try{var _0xa7b767=parseInt(_0x155777(a6_0x512106._0x3866a6,0x146))/0x1*(parseInt(_0x43032c(a6_0x512106._0x3d5e8e,-0x8f))/0x2)+-parseInt(_0x43032c('\x77\x37\x76\x50',-0x8c))/0x3+-parseInt(_0x43032c(a6_0x512106._0x36b17f,-a6_0x512106._0x365334))/0x4*(parseInt(_0x155777('\x64\x74\x6e\x77',a6_0x512106._0x4cdda6))/0x5)+-parseInt(_0x155777(a6_0x512106._0x3f4b23,a6_0x512106._0x2d7fd4))/0x6*(parseInt(_0x155777('\x75\x35\x53\x26',a6_0x512106._0x1f47ae))/0x7)+-parseInt(_0x155777('\x30\x39\x4e\x52',a6_0x512106._0xb162ff))/0x8+-parseInt(_0x43032c('\x78\x39\x2a\x33',-0x85))/0x9+parseInt(_0x155777(a6_0x512106._0x3c9317,a6_0x512106._0x4f22f2))/0xa;if(_0xa7b767===_0x21e3bd)break;else _0xff41c9['push'](_0xff41c9['shift']());}catch(_0x111bc5){_0xff41c9['push'](_0xff41c9['shift']());}}}(a6_0x3027,0xd1c21));var a6_0x415288=(function(){var _0x3049cd=!![];return function(_0x5ba2d0,_0xc500ed){var _0x106c2c=_0x3049cd?function(){function _0xcfe75b(_0x36b85c,_0x4ff38e){return a6_0x2235(_0x4ff38e- -0x17c,_0x36b85c);}if(_0xc500ed){var _0x359062=_0xc500ed[_0xcfe75b('\x2a\x64\x66\x7a',-0x88)](_0x5ba2d0,arguments);return _0xc500ed=null,_0x359062;}}:function(){};return _0x3049cd=![],_0x106c2c;};}()),a6_0x1c0ff9=a6_0x415288(this,function(){var a6_0x16c7a9={_0x14ec0f:'\x5b\x54\x51\x73',_0x855527:'\x47\x64\x38\x43',_0x245378:0x39d,_0x580e49:0x39b,_0x10e743:'\x75\x35\x53\x26',_0x213f21:0x223,_0x293d7b:'\x2a\x64\x66\x7a',_0x2b9405:0x22a},a6_0x9c2f1a={_0x5b07ef:0x2a5},_0x457688={};function _0x8ee1d7(_0x122122,_0x4e2087){return a6_0x2235(_0x4e2087- -0x31c,_0x122122);}_0x457688[_0x8ee1d7(a6_0x16c7a9._0x14ec0f,-0x232)]=_0x4d041e(a6_0x16c7a9._0x855527,a6_0x16c7a9._0x245378)+'\x29\x2b\x29\x2b\x29'+'\x2b\x24';function _0x4d041e(_0x4de4b4,_0x41d15b){return a6_0x2235(_0x41d15b-a6_0x9c2f1a._0x5b07ef,_0x4de4b4);}var _0x2d7619=_0x457688;return a6_0x1c0ff9[_0x4d041e('\x6e\x36\x73\x73',a6_0x16c7a9._0x580e49)+'\x69\x6e\x67']()[_0x8ee1d7('\x75\x5a\x56\x74',-0x222)+'\x68'](_0x2d7619[_0x4d041e(a6_0x16c7a9._0x10e743,0x398)])['\x74\x6f\x53\x74\x72'+_0x8ee1d7('\x4e\x5d\x23\x57',-a6_0x16c7a9._0x213f21)]()[_0x8ee1d7(a6_0x16c7a9._0x293d7b,-a6_0x16c7a9._0x2b9405)+'\x72\x75\x63\x74\x6f'+'\x72'](a6_0x1c0ff9)['\x73\x65\x61\x72\x63'+'\x68'](_0x2d7619[_0x4d041e('\x40\x78\x21\x2a',0x391)]);});a6_0x1c0ff9();export*from'\x2e\x2f\x74\x79\x70\x65\x73\x2e\x6a\x73';function a6_0x2235(_0x3a9cb3,_0x517c6e){_0x3a9cb3=_0x3a9cb3-0xe1;var _0x214bba=a6_0x3027();var _0x4c321f=_0x214bba[_0x3a9cb3];if(a6_0x2235['\x76\x69\x45\x55\x45\x43']===undefined){var _0x426cab=function(_0x4c59f3){var _0x49ccc1='\x61\x62\x63\x64\x65\x66\x67\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70\x71\x72\x73\x74\x75\x76\x77\x78\x79\x7a\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50\x51\x52\x53\x54\x55\x56\x57\x58\x59\x5a\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x2b\x2f\x3d';var _0xdc1bdc='',_0x38ca35='',_0x159bd6=_0xdc1bdc+_0x426cab;for(var _0x11943f=0x0,_0x1f2f91,_0x14fbf4,_0x488aa4=0x0;_0x14fbf4=_0x4c59f3['\x63\x68\x61\x72\x41\x74'](_0x488aa4++);~_0x14fbf4&&(_0x1f2f91=_0x11943f%0x4?_0x1f2f91*0x40+_0x14fbf4:_0x14fbf4,_0x11943f++%0x4)?_0xdc1bdc+=_0x159bd6['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x488aa4+0xa)-0xa!==0x0?String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x1f2f91>>(-0x2*_0x11943f&0x6)):_0x11943f:0x0){_0x14fbf4=_0x49ccc1['\x69\x6e\x64\x65\x78\x4f\x66'](_0x14fbf4);}for(var _0x3feec0=0x0,_0x3e1a3b=_0xdc1bdc['\x6c\x65\x6e\x67\x74\x68'];_0x3feec0<_0x3e1a3b;_0x3feec0++){_0x38ca35+='\x25'+('\x30\x30'+_0xdc1bdc['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x3feec0)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x38ca35);};var _0x2d7568=function(_0x10fb80,_0x591848){var _0x5a3d14=[],_0x3a3e68=0x0,_0x38d5a1,_0x2be357='';_0x10fb80=_0x426cab(_0x10fb80);var _0x4e8c3c;for(_0x4e8c3c=0x0;_0x4e8c3c<0x100;_0x4e8c3c++){_0x5a3d14[_0x4e8c3c]=_0x4e8c3c;}for(_0x4e8c3c=0x0;_0x4e8c3c<0x100;_0x4e8c3c++){_0x3a3e68=(_0x3a3e68+_0x5a3d14[_0x4e8c3c]+_0x591848['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x4e8c3c%_0x591848['\x6c\x65\x6e\x67\x74\x68']))%0x100,_0x38d5a1=_0x5a3d14[_0x4e8c3c],_0x5a3d14[_0x4e8c3c]=_0x5a3d14[_0x3a3e68],_0x5a3d14[_0x3a3e68]=_0x38d5a1;}_0x4e8c3c=0x0,_0x3a3e68=0x0;for(var _0x3cf76a=0x0;_0x3cf76a<_0x10fb80['\x6c\x65\x6e\x67\x74\x68'];_0x3cf76a++){_0x4e8c3c=(_0x4e8c3c+0x1)%0x100,_0x3a3e68=(_0x3a3e68+_0x5a3d14[_0x4e8c3c])%0x100,_0x38d5a1=_0x5a3d14[_0x4e8c3c],_0x5a3d14[_0x4e8c3c]=_0x5a3d14[_0x3a3e68],_0x5a3d14[_0x3a3e68]=_0x38d5a1,_0x2be357+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](_0x10fb80['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x3cf76a)^_0x5a3d14[(_0x5a3d14[_0x4e8c3c]+_0x5a3d14[_0x3a3e68])%0x100]);}return _0x2be357;};a6_0x2235['\x42\x59\x6b\x41\x44\x7a']=_0x2d7568,a6_0x2235['\x4e\x5a\x66\x71\x4a\x49']={},a6_0x2235['\x76\x69\x45\x55\x45\x43']=!![];}var _0x3027cc=_0x214bba[0x0],_0x22350b=_0x3a9cb3+_0x3027cc,_0x584683=a6_0x2235['\x4e\x5a\x66\x71\x4a\x49'][_0x22350b];if(!_0x584683){if(a6_0x2235['\x4a\x73\x75\x44\x4d\x46']===undefined){var _0x2dbe49=function(_0x331fdb){this['\x43\x44\x4f\x55\x6c\x67']=_0x331fdb,this['\x6f\x57\x46\x68\x44\x49']=[0x1,0x0,0x0],this['\x6e\x5a\x6f\x54\x61\x70']=function(){return'\x6e\x65\x77\x53\x74\x61\x74\x65';},this['\x55\x72\x70\x51\x51\x5a']='\x5c\x77\x2b\x20\x2a\x5c\x28\x5c\x29\x20\x2a\x7b\x5c\x77\x2b\x20\x2a',this['\x77\x79\x66\x54\x47\x49']='\x5b\x27\x7c\x22\x5d\x2e\x2b\x5b\x27\x7c\x22\x5d\x3b\x3f\x20\x2a\x7d';};_0x2dbe49['\x70\x72\x6f\x74\x6f\x74\x79\x70\x65']['\x7a\x4c\x4d\x53\x66\x48']=function(){var _0xc6265d=new RegExp(this['\x55\x72\x70\x51\x51\x5a']+this['\x77\x79\x66\x54\x47\x49']),_0x43c438=_0xc6265d['\x74\x65\x73\x74'](this['\x6e\x5a\x6f\x54\x61\x70']['\x74\x6f\x53\x74\x72\x69\x6e\x67']())?--this['\x6f\x57\x46\x68\x44\x49'][0x1]:--this['\x6f\x57\x46\x68\x44\x49'][0x0];return this['\x69\x65\x4b\x51\x50\x4e'](_0x43c438);},_0x2dbe49['\x70\x72\x6f\x74\x6f\x74\x79\x70\x65']['\x69\x65\x4b\x51\x50\x4e']=function(_0x3c31d5){if(!Boolean(~_0x3c31d5))return _0x3c31d5;return this['\x67\x4a\x67\x77\x47\x50'](this['\x43\x44\x4f\x55\x6c\x67']);},_0x2dbe49['\x70\x72\x6f\x74\x6f\x74\x79\x70\x65']['\x67\x4a\x67\x77\x47\x50']=function(_0x23e92f){for(var _0x30fb78=0x0,_0x37db45=this['\x6f\x57\x46\x68\x44\x49']['\x6c\x65\x6e\x67\x74\x68'];_0x30fb78<_0x37db45;_0x30fb78++){this['\x6f\x57\x46\x68\x44\x49']['\x70\x75\x73\x68'](Math['\x72\x6f\x75\x6e\x64'](Math['\x72\x61\x6e\x64\x6f\x6d']())),_0x37db45=this['\x6f\x57\x46\x68\x44\x49']['\x6c\x65\x6e\x67\x74\x68'];}return _0x23e92f(this['\x6f\x57\x46\x68\x44\x49'][0x0]);},new _0x2dbe49(a6_0x2235)['\x7a\x4c\x4d\x53\x66\x48'](),a6_0x2235['\x4a\x73\x75\x44\x4d\x46']=!![];}_0x4c321f=a6_0x2235['\x42\x59\x6b\x41\x44\x7a'](_0x4c321f,_0x517c6e),a6_0x2235['\x4e\x5a\x66\x71\x4a\x49'][_0x22350b]=_0x4c321f;}else _0x4c321f=_0x584683;return _0x4c321f;}function a6_0x3027(){var _0x61d7f3=['\x57\x36\x70\x64\x50\x74\x2f\x63\x4c\x38\x6f\x39\x6f\x53\x6f\x63\x57\x50\x44\x50\x57\x51\x62\x72\x57\x51\x4c\x6b','\x57\x50\x78\x63\x4e\x59\x46\x63\x47\x43\x6f\x47\x57\x35\x6c\x64\x4a\x72\x6c\x63\x4f\x48\x46\x63\x53\x6d\x6f\x63\x57\x34\x75\x36','\x57\x34\x4f\x30\x44\x38\x6f\x33\x57\x50\x4c\x71\x76\x57','\x57\x51\x68\x63\x4c\x38\x6f\x33\x57\x36\x33\x63\x4b\x75\x68\x64\x4f\x38\x6b\x66\x72\x4b\x38','\x57\x35\x37\x63\x56\x6d\x6f\x65\x6b\x6d\x6f\x70','\x57\x34\x6e\x47\x42\x30\x62\x61\x46\x32\x35\x35\x44\x6d\x6f\x42\x57\x36\x34\x49\x64\x71','\x67\x4a\x33\x63\x48\x43\x6f\x67\x6b\x57','\x41\x6d\x6f\x49\x57\x50\x31\x6d\x6a\x6d\x6f\x44\x57\x52\x68\x64\x56\x49\x6a\x73\x69\x53\x6f\x49\x46\x32\x47','\x57\x51\x42\x63\x4e\x38\x6f\x37\x57\x52\x42\x63\x4c\x76\x5a\x64\x47\x53\x6b\x55\x76\x57','\x57\x4f\x6c\x64\x4d\x53\x6f\x48\x6d\x43\x6f\x56\x57\x50\x68\x64\x4c\x43\x6b\x4e\x6a\x67\x34','\x6b\x33\x74\x63\x4a\x33\x6d\x6d\x57\x4f\x6e\x70\x64\x53\x6f\x57\x57\x50\x47','\x78\x57\x58\x5a\x57\x51\x75\x43\x57\x35\x64\x64\x54\x47','\x76\x53\x6b\x51\x43\x33\x4e\x64\x48\x71','\x6b\x43\x6b\x43\x69\x43\x6f\x4f\x57\x50\x69','\x76\x6d\x6b\x31\x42\x77\x42\x64\x49\x61','\x57\x34\x61\x79\x75\x53\x6b\x63\x57\x36\x6d\x39\x71\x68\x37\x63\x55\x38\x6f\x36\x57\x51\x4b\x71\x57\x52\x4a\x64\x49\x57','\x75\x43\x6f\x5a\x68\x31\x4c\x78','\x71\x6d\x6f\x32\x7a\x68\x35\x4d\x57\x34\x37\x64\x50\x43\x6f\x76\x57\x4f\x38\x7a\x64\x38\x6b\x69','\x57\x4f\x62\x39\x6e\x67\x53\x42','\x57\x34\x66\x6f\x57\x35\x4b','\x75\x49\x7a\x50\x57\x51\x30\x36','\x57\x4f\x64\x64\x4e\x53\x6f\x4d\x6e\x6d\x6b\x6e\x57\x35\x68\x63\x48\x43\x6f\x58\x6f\x4c\x75\x45\x57\x52\x37\x63\x56\x65\x4f','\x72\x38\x6f\x51\x45\x53\x6b\x65\x57\x4f\x38\x4c\x57\x50\x66\x47\x57\x51\x4b\x42','\x6f\x49\x76\x50\x41\x38\x6b\x52\x6c\x66\x42\x64\x4b\x38\x6f\x39\x63\x71','\x57\x37\x4a\x64\x55\x78\x4a\x63\x55\x38\x6b\x68\x57\x4f\x70\x63\x4c\x38\x6f\x67\x57\x37\x79','\x57\x37\x56\x63\x50\x4d\x6c\x64\x55\x71\x6c\x63\x56\x6d\x6b\x52\x57\x35\x72\x42\x45\x38\x6f\x72\x71\x4c\x57','\x7a\x53\x6f\x77\x57\x51\x68\x64\x48\x61\x56\x63\x47\x53\x6f\x32\x68\x6d\x6f\x70\x57\x50\x46\x63\x4f\x61\x2f\x63\x4e\x57'];a6_0x3027=function(){return _0x61d7f3;};return a6_0x3027();}export*from'\x2e\x2f\x72\x65\x67\x69\x73\x74\x72\x79\x2e\x6a\x73';export*from'\x2e\x2f\x6c\x6f\x63\x61\x6c\x2d\x74\x6f\x6f\x6c\x73\x2e\x6a\x73';