@profoundlogic/codermake 3.1.0 → 3.1.2

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.
@@ -1 +1 @@
1
- (function(_0x495754,_0x26a758){const _0x2111cb=_0x3352,_0x4f32a5=_0x495754();while(!![]){try{const _0x451278=parseInt(_0x2111cb(0x1e0))/0x1*(-parseInt(_0x2111cb(0x214))/0x2)+parseInt(_0x2111cb(0x1d3))/0x3+parseInt(_0x2111cb(0x1cf))/0x4*(parseInt(_0x2111cb(0x1d5))/0x5)+-parseInt(_0x2111cb(0x1f5))/0x6+parseInt(_0x2111cb(0x1f2))/0x7+-parseInt(_0x2111cb(0x20c))/0x8*(parseInt(_0x2111cb(0x1f7))/0x9)+-parseInt(_0x2111cb(0x1ef))/0xa;if(_0x451278===_0x26a758)break;else _0x4f32a5['push'](_0x4f32a5['shift']());}catch(_0x3e10c4){_0x4f32a5['push'](_0x4f32a5['shift']());}}}(_0x72e0,0x87804));import{readFileSync,writeFileSync,mkdirSync,copyFileSync,readdirSync}from'fs';function _0x3352(_0x41b108,_0x5d18ba){_0x41b108=_0x41b108-0x1bf;const _0x72e06d=_0x72e0();let _0x3352ab=_0x72e06d[_0x41b108];if(_0x3352['iULNwc']===undefined){var _0x5b716f=function(_0x405233){const _0x664528='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x46e606='',_0x32fd41='';for(let _0xc8753e=0x0,_0x504929,_0x417ad2,_0x4097b8=0x0;_0x417ad2=_0x405233['charAt'](_0x4097b8++);~_0x417ad2&&(_0x504929=_0xc8753e%0x4?_0x504929*0x40+_0x417ad2:_0x417ad2,_0xc8753e++%0x4)?_0x46e606+=String['fromCharCode'](0xff&_0x504929>>(-0x2*_0xc8753e&0x6)):0x0){_0x417ad2=_0x664528['indexOf'](_0x417ad2);}for(let _0x380abc=0x0,_0x30499b=_0x46e606['length'];_0x380abc<_0x30499b;_0x380abc++){_0x32fd41+='%'+('00'+_0x46e606['charCodeAt'](_0x380abc)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x32fd41);};_0x3352['zGtFvP']=_0x5b716f,_0x3352['vhGOVG']={},_0x3352['iULNwc']=!![];}const _0x23de2c=_0x72e06d[0x0],_0x1b5579=_0x41b108+_0x23de2c,_0x11584d=_0x3352['vhGOVG'][_0x1b5579];return!_0x11584d?(_0x3352ab=_0x3352['zGtFvP'](_0x3352ab),_0x3352['vhGOVG'][_0x1b5579]=_0x3352ab):_0x3352ab=_0x11584d,_0x3352ab;}import{dirname,join}from'path';import{randomUUID}from'crypto';export function detectFormat(_0x43a0eb){const _0x5ca4a7=_0x3352;if(/^\*\*free$/i[_0x5ca4a7(0x1e9)](_0x43a0eb[_0x5ca4a7(0x1bf)]()))return _0x5ca4a7(0x1d6);return _0x5ca4a7(0x1f8);}export function extractDirective(_0x5da281,_0x2c0d97){const _0x1fd88f=_0x3352,_0x3aa32a={};_0x3aa32a[_0x1fd88f(0x212)]=_0x1fd88f(0x1d6),_0x3aa32a[_0x1fd88f(0x1f3)]=function(_0x496675,_0x26cb96){return _0x496675+_0x26cb96;},_0x3aa32a['zFFur']=function(_0x480aa1,_0x4014fe){return _0x480aa1!==_0x4014fe;},_0x3aa32a[_0x1fd88f(0x1f1)]=function(_0x57ccd8,_0x1ebd91){return _0x57ccd8===_0x1ebd91;};const _0x4ce655=_0x3aa32a;let _0x331ab4,_0x298c42;if(_0x2c0d97===_0x4ce655[_0x1fd88f(0x212)]){const _0x33c325=_0x5da281[_0x1fd88f(0x201)](/^\s*\/(copy|include) (\S)/i);if(!_0x33c325)return null;const _0x275a5c=_0x5da281[_0x1fd88f(0x1fe)]();if(_0x275a5c[_0x1fd88f(0x1de)]('//'))return null;_0x331ab4=_0x33c325[0x1][_0x1fd88f(0x1c4)](),_0x298c42=_0x5da281['substring'](_0x4ce655[_0x1fd88f(0x1f3)](_0x33c325[_0x1fd88f(0x1cc)],_0x33c325[0x0][_0x1fd88f(0x1c5)])-0x1);}else{if(_0x5da281[_0x1fd88f(0x1c5)]<0x7)return null;if(_0x4ce655['zFFur'](_0x5da281[0x6],'/'))return null;const _0x2c71f2=_0x5da281[_0x1fd88f(0x1fd)](0x7),_0x7326a7=_0x2c71f2['match'](/^(copy|include) (\S)/i);if(!_0x7326a7)return null;_0x331ab4=_0x7326a7[0x1][_0x1fd88f(0x1c4)](),_0x298c42=_0x2c71f2['substring'](_0x7326a7[0x0]['length']-0x1);}let _0x508000;if(_0x298c42['startsWith']('\x27')){const _0x32a4ae=_0x298c42[_0x1fd88f(0x202)]('\x27',0x1);_0x508000=_0x32a4ae===-0x1?_0x298c42[_0x1fd88f(0x20b)]():_0x298c42[_0x1fd88f(0x1fd)](0x0,_0x32a4ae+0x1);}else{if(_0x298c42['startsWith']('\x22')){const _0x298f2e=_0x298c42[_0x1fd88f(0x202)]('\x22',0x1);_0x508000=_0x4ce655[_0x1fd88f(0x1f1)](_0x298f2e,-0x1)?_0x298c42[_0x1fd88f(0x20b)]():_0x298c42[_0x1fd88f(0x1fd)](0x0,_0x4ce655[_0x1fd88f(0x1f3)](_0x298f2e,0x1));}else _0x508000=_0x298c42[_0x1fd88f(0x211)](/\s/)[0x0];}const _0x45399a={};return _0x45399a[_0x1fd88f(0x216)]=_0x331ab4,_0x45399a['operand']=_0x508000,_0x45399a;}export function classifyDirectiveOperand(_0x4ddf31){const _0x3cae4d=_0x3352,_0x229783={};_0x229783['CjYVt']=function(_0x2804c8,_0x9495d5){return _0x2804c8+_0x9495d5;},_0x229783[_0x3cae4d(0x1e8)]=function(_0x179275,_0x1b4847){return _0x179275!==_0x1b4847;},_0x229783[_0x3cae4d(0x209)]=_0x3cae4d(0x1e6),_0x229783[_0x3cae4d(0x206)]=_0x3cae4d(0x1c3);const _0x4ef47e=_0x229783;if(_0x4ddf31['startsWith']('\x27')||_0x4ddf31[_0x3cae4d(0x1de)]('\x22')){const _0x28a38f={};return _0x28a38f['type']=_0x3cae4d(0x1c3),_0x28a38f;}if(_0x4ddf31[_0x3cae4d(0x1dc)](',')){const _0x1db494=_0x4ddf31['indexOf'](','),_0x334364=_0x4ddf31[_0x3cae4d(0x1fd)](0x0,_0x1db494),_0x3beb22=_0x4ddf31['substring'](_0x4ef47e[_0x3cae4d(0x1d2)](_0x1db494,0x1)),_0x44c474=_0x334364[_0x3cae4d(0x202)]('/');if(_0x4ef47e[_0x3cae4d(0x1e8)](_0x44c474,-0x1)){const _0xc5f666=_0x334364['substring'](0x0,_0x44c474),_0x37e12d=/^\*libl$/i[_0x3cae4d(0x1e9)](_0xc5f666)?null:_0xc5f666;return{'type':_0x4ef47e[_0x3cae4d(0x209)],'library':_0x37e12d,'fileName':_0x334364[_0x3cae4d(0x1fd)](_0x4ef47e[_0x3cae4d(0x1d2)](_0x44c474,0x1)),'memberName':_0x3beb22};}const _0x2ee1a3={};return _0x2ee1a3[_0x3cae4d(0x1fb)]=_0x3cae4d(0x1e6),_0x2ee1a3[_0x3cae4d(0x1ec)]=null,_0x2ee1a3[_0x3cae4d(0x1f9)]=_0x334364,_0x2ee1a3[_0x3cae4d(0x1d8)]=_0x3beb22,_0x2ee1a3;}if(_0x4ddf31[_0x3cae4d(0x1dc)]('/')){const _0x3a6713={};return _0x3a6713['type']=_0x4ef47e['mcMEq'],_0x3a6713;}if(/\.rpgle$/i[_0x3cae4d(0x1e9)](_0x4ddf31)||/\.sqlrpgle$/i['test'](_0x4ddf31)){const _0x3e4bae={};return _0x3e4bae[_0x3cae4d(0x1fb)]=_0x3cae4d(0x1c3),_0x3e4bae;}const _0x1445dd={};return _0x1445dd[_0x3cae4d(0x1fb)]='member',_0x1445dd[_0x3cae4d(0x1ec)]=null,_0x1445dd[_0x3cae4d(0x1f9)]=null,_0x1445dd[_0x3cae4d(0x1d8)]=_0x4ddf31,_0x1445dd;}function findFileInsensitive(_0xb75359,_0x4c7595){const _0x54c0a1=_0x3352,_0x39ae28={'nYXna':function(_0x583816,_0x56cff4){return _0x583816(_0x56cff4);}};let _0x24ce17;try{_0x24ce17=_0x39ae28[_0x54c0a1(0x1e1)](readdirSync,_0xb75359);}catch{return null;}if(_0x24ce17[_0x54c0a1(0x1dc)](_0x4c7595))return _0x4c7595;const _0x2b0252=_0x4c7595[_0x54c0a1(0x1c4)]();return _0x24ce17[_0x54c0a1(0x1d4)](_0x17208d=>_0x17208d[_0x54c0a1(0x1c4)]()===_0x2b0252)||null;}function findDirInsensitive(_0x4ba43f,_0x5b9f67){const _0x1b27f6=_0x3352;let _0x5d288a;try{_0x5d288a=readdirSync(_0x4ba43f);}catch{return null;}if(_0x5d288a[_0x1b27f6(0x1dc)](_0x5b9f67))return _0x5b9f67;const _0x4fcaac=_0x5b9f67[_0x1b27f6(0x1c4)]();return _0x5d288a['find'](_0xec5c38=>_0xec5c38[_0x1b27f6(0x1c4)]()===_0x4fcaac)||null;}function tryResolveInDir(_0x348b32,_0x419a86,_0x22eff6){const _0xac9a55=_0x3352,_0x3353fa={'MAzMg':function(_0x15df60,_0x37f12e,_0x54c6d7){return _0x15df60(_0x37f12e,_0x54c6d7);},'nvtVR':function(_0x59c2a4,_0x2debb6){return _0x59c2a4+_0x2debb6;},'bkldW':function(_0x12dc12,_0x125a99,_0x4a98bd){return _0x12dc12(_0x125a99,_0x4a98bd);},'srcpr':function(_0x11e06d,_0x3d39b7,_0x19b3d0){return _0x11e06d(_0x3d39b7,_0x19b3d0);}},_0x2ca10b=_0x348b32[_0xac9a55(0x211)]('/');let _0x3708c6=_0x22eff6;const _0x67b62c=[];for(const _0x3da91d of _0x2ca10b){const _0x185c92=_0x3353fa[_0xac9a55(0x1cd)](findDirInsensitive,_0x3708c6,_0x3da91d);if(!_0x185c92)return null;_0x67b62c[_0xac9a55(0x1e7)](_0x185c92),_0x3708c6=join(_0x3708c6,_0x185c92);}const _0x115a1e=_0x67b62c[_0xac9a55(0x1e5)]('/'),_0x319f0a=[_0xac9a55(0x1ff),_0xac9a55(0x1fa)];for(const _0x4daa1c of _0x319f0a){const _0x25533b=_0x3353fa[_0xac9a55(0x210)](_0x419a86,_0x4daa1c),_0x41c3d6=_0x3353fa[_0xac9a55(0x1c0)](findFileInsensitive,_0x3353fa[_0xac9a55(0x1c6)](join,_0x22eff6,_0x115a1e),_0x25533b);if(_0x41c3d6)return _0x115a1e+'/'+_0x41c3d6;}return null;}export function resolveSourceMember(_0x4cc484,_0x475600,_0x479b5b={}){const _0x3c7131=_0x3352,_0xb5b386={'fgeft':function(_0x3571aa,_0x19a5bc){return _0x3571aa!==_0x19a5bc;},'JCoJi':function(_0x50504f,_0x366da){return _0x50504f>_0x366da;},'uoxYJ':function(_0x403a0c,_0x23bd0c){return _0x403a0c===_0x23bd0c;},'UcQvq':function(_0x34cd5c,_0x3a64ec,_0x4e90f9,_0x175f37){return _0x34cd5c(_0x3a64ec,_0x4e90f9,_0x175f37);},'TLwQZ':function(_0x3b5056,_0x359ee4){return _0x3b5056===_0x359ee4;},'btYVA':'qrpglesrc','xPEwp':function(_0x587712,_0x2ab49d,_0x3a2ade){return _0x587712(_0x2ab49d,_0x3a2ade);}},{library:_0x48f93c,fileName:_0x1638ed,memberName:_0x42c566}=_0x4cc484,{librarySearchPath:_0x3b66a7,searchPathExplicit:_0x1443a1}=_0x479b5b;if(_0xb5b386[_0x3c7131(0x1e3)](_0x48f93c,null)){const _0xdfeff5=_0x48f93c+'/'+_0x1638ed,_0x143773=tryResolveInDir(_0xdfeff5,_0x42c566,_0x475600);if(_0x143773)return _0x143773;throw new Error(_0x3c7131(0x1c8)+_0x42c566+'\x20in\x20'+_0xdfeff5+_0x3c7131(0x208));}if(_0x3b66a7&&_0xb5b386['JCoJi'](_0x3b66a7[_0x3c7131(0x1c5)],0x0)){const _0x358eeb=[];for(const _0x36c03e of _0x3b66a7){let _0x4298e7;_0xb5b386['uoxYJ'](_0x1638ed,null)?_0x4298e7=_0x36c03e+'/qrpglesrc':_0x4298e7=_0x36c03e+'/'+_0x1638ed;const _0x527cde=_0xb5b386[_0x3c7131(0x1d1)](tryResolveInDir,_0x4298e7,_0x42c566,_0x475600);if(_0x527cde){const _0x39ddbd={};_0x39ddbd[_0x3c7131(0x207)]=_0x36c03e,_0x39ddbd[_0x3c7131(0x1f4)]=_0x527cde,_0x358eeb[_0x3c7131(0x1e7)](_0x39ddbd);}}if(_0xb5b386[_0x3c7131(0x203)](_0x358eeb['length'],0x1))return _0x358eeb[0x0][_0x3c7131(0x1f4)];if(_0x358eeb[_0x3c7131(0x1c5)]>0x1){if(!_0x1443a1){const _0x55db73=_0x358eeb[_0x3c7131(0x1da)](_0x1675d4=>_0x1675d4[_0x3c7131(0x207)])[_0x3c7131(0x1e5)](',\x20');console[_0x3c7131(0x1ed)](_0x3c7131(0x1c7)+_0x42c566+_0x3c7131(0x1c1)+_0x55db73+_0x3c7131(0x1eb)+_0x358eeb[0x0][_0x3c7131(0x207)]+_0x3c7131(0x1c2));}return _0x358eeb[0x0][_0x3c7131(0x1f4)];}}let _0x132ee3;_0x1638ed===null?_0x132ee3=_0xb5b386[_0x3c7131(0x1c9)]:_0x132ee3=_0x1638ed;const _0x58db12=_0x132ee3[_0x3c7131(0x211)]('/');let _0x561a9f=_0x475600;for(const _0x49b2b3 of _0x58db12){const _0x4d4f50=findDirInsensitive(_0x561a9f,_0x49b2b3);if(!_0x4d4f50)throw new Error('Directory\x20not\x20found:\x20'+_0x132ee3+'\x20(looking\x20for\x20\x27'+_0x49b2b3+_0x3c7131(0x1ca)+_0x561a9f+'\x27)');_0x561a9f=_0xb5b386[_0x3c7131(0x1d0)](join,_0x561a9f,_0x4d4f50);}const _0x1f2cc8=tryResolveInDir(_0x132ee3,_0x42c566,_0x475600);if(_0x1f2cc8)return _0x1f2cc8;throw new Error(_0x3c7131(0x1c8)+_0x42c566+_0x3c7131(0x1d9)+_0x132ee3+_0x3c7131(0x208));}export function preprocessFileContent(_0x3351f4,_0x1f9241,_0x45c1ce={}){const _0x330b9b=_0x3352,_0x31b575={'iiDjR':function(_0xb0a9c7,_0x2fcc27){return _0xb0a9c7===_0x2fcc27;},'tUDJy':function(_0x501ef1,_0xb00f28){return _0x501ef1<_0xb00f28;},'EESLI':function(_0x52cc4c,_0xfdb16d,_0x3da301){return _0x52cc4c(_0xfdb16d,_0x3da301);},'HfIhv':function(_0x135bf9,_0x29cc1c){return _0x135bf9===_0x29cc1c;},'msdzd':_0x330b9b(0x1c3),'FwwhD':function(_0x1d3b02,_0x377c9a){return _0x1d3b02+_0x377c9a;},'TCZYL':function(_0x32252c,_0x56c9a3){return _0x32252c+_0x56c9a3;},'olHQI':'free'},_0x48500d=_0x3351f4[_0x330b9b(0x211)]('\x0a'),_0x10e719={};_0x10e719['content']=_0x3351f4,_0x10e719['modified']=![];if(_0x31b575['iiDjR'](_0x48500d[_0x330b9b(0x1c5)],0x0))return _0x10e719;const _0x472ef0=detectFormat(_0x48500d[0x0]);let _0x22040f=![];const _0x469450=[];for(let _0xd2cb19=0x0;_0x31b575[_0x330b9b(0x1e4)](_0xd2cb19,_0x48500d[_0x330b9b(0x1c5)]);_0xd2cb19++){const _0x8713a1=_0x48500d[_0xd2cb19],_0x59c2d8=_0x31b575[_0x330b9b(0x1f6)](extractDirective,_0x8713a1,_0x472ef0);if(!_0x59c2d8){_0x469450['push'](_0x8713a1);continue;}const _0x1495ab=classifyDirectiveOperand(_0x59c2d8[_0x330b9b(0x1ce)]);if(_0x31b575[_0x330b9b(0x1dd)](_0x1495ab[_0x330b9b(0x1fb)],_0x31b575['msdzd'])){_0x469450[_0x330b9b(0x1e7)](_0x8713a1);continue;}let _0x37c1f1;try{_0x37c1f1=resolveSourceMember(_0x1495ab,_0x1f9241,_0x45c1ce);}catch(_0x4d882b){const _0x177529=_0x31b575[_0x330b9b(0x204)](_0xd2cb19,0x1);throw new Error(_0x31b575[_0x330b9b(0x204)](_0x31b575[_0x330b9b(0x1ea)](_0x4d882b[_0x330b9b(0x1f0)]+'\x0a',_0x330b9b(0x20d)+_0x177529+'\x0a'),_0x330b9b(0x213)+_0x8713a1[_0x330b9b(0x1fe)]()));}let _0x1c8a26;if(_0x31b575[_0x330b9b(0x1db)](_0x472ef0,_0x31b575['olHQI'])){const _0x57d70d=_0x8713a1[_0x330b9b(0x201)](/^(\s*\/)(copy|include) /i),_0x4b17bc=_0x57d70d[0x1],_0x76d9cf=_0x57d70d[0x2],_0x51398f=_0x8713a1[_0x330b9b(0x1fd)](_0x31b575[_0x330b9b(0x204)](_0x57d70d[0x0][_0x330b9b(0x1c5)],_0x59c2d8[_0x330b9b(0x1ce)][_0x330b9b(0x1c5)]));_0x1c8a26=''+_0x4b17bc+_0x76d9cf+'\x20'+_0x37c1f1+_0x51398f;}else{const _0x466168=_0x8713a1[_0x330b9b(0x1fd)](0x0,0x6),_0x266515=_0x8713a1[_0x330b9b(0x1fd)](0x7)['match'](/^(copy|include) /i),_0x56b220=_0x266515[0x1],_0x3590fa=0x7+_0x266515[0x0][_0x330b9b(0x1c5)],_0x253618=_0x8713a1[_0x330b9b(0x1fd)](_0x3590fa+_0x59c2d8['operand'][_0x330b9b(0x1c5)]);_0x1c8a26=_0x466168+'/'+_0x56b220+'\x20'+_0x37c1f1+_0x253618;}_0x469450['push'](_0x1c8a26),_0x22040f=!![];}return{'content':_0x469450[_0x330b9b(0x1e5)]('\x0a'),'modified':_0x22040f};}function _0x72e0(){const _0x558e4e=['lIbvC2LUzYa','BgLICMfYEq','zxjYB3i','C291CMnLuM9VDa','nde0nZGWmerruMrQAa','BwvZC2fNzq','tejwsLK','ntK4ndy1mgHQs0Tqsq','AgHSwNm','CMvZDwX0','nJm4ntC5nfb3zhrWvG','ruvtteK','mte3nJm5yuLQDvrs','zML4zwq','zMLSzu5HBwu','lNnXBhjWz2XL','DhLWzq','suDQuvC','C3vIC3rYAw5N','DhjPBvn0yxj0','lNjWz2XL','jdfgAwXLoIa','Bwf0y2G','Aw5KzxHpzG','veX3uvO','rND3Aeq','BK1AveK','Bwnnrxe','BgLIrgLY','lYaODhjPzwqGlNjWz2XLlcaUC3fSCNbNBguP','yNrfCgC','y29UDgvUDa','DhjPBq','odbrDfbXENq','icbgAwXLoIbSAw5Lia','CMvJDxjZAxzL','z1flt3q','BNz0vLi','C3bSAxq','sKLSq3q','icbeAxjLy3rPDMu6ia','ntKYnKr3yvfXqG','BMvLzgvK','A2v5D29Yza','DhjPBuvUza','yMTSzfC','jYbMB3vUzcbPBIbTDwX0AxbSzsbSAwjYyxjPzxm6ia','lIbtzxqGq09ervjnquTfx0Loq0XvrevFuefuscb0BYbJB250CM9SihnLyxjJAcbVCMrLCI4','AwzZ','Dg9mB3DLCKnHC2u','BgvUz3rO','C3jJChi','v2fYBMLUzZOGtwvTyMvYicC','u291CMnLig1LBwjLCIbUB3qGzM91BMq6ia','yNrzvKe','jYbPBIaN','r2HzCge','Aw5KzxG','tuf6twC','B3bLCMfUza','mte2vwn0yNPJ','EfbfD3a','vwnrDNe','q2PzvNq','mtmWnZu4nKX3uNfIEG','zMLUza','mtC1nZiWtvDktwfx','zNjLzq','EK1qvxy','BwvTyMvYtMfTzq','igLUia','BwfW','AwLeALi','Aw5JBhvKzxm','sgzjAhy','C3rHCNrZv2L0Aa','DeXQAKG','ndLNCMXnDuu','BLLyBMe','DxrMoa','zMDLzNq','DfvesNK','AM9PBG','BwvTyMvY','ChvZAa','sKfesNG','DgvZDa','venAwuW'];_0x72e0=function(){return _0x558e4e;};return _0x72e0();}export function preprocessFile(_0x45b0cb,_0x1beae3,_0x2f6dde={}){const _0x53c2d5=_0x3352,_0x75fd2c={'IGjQW':function(_0x97bc87,_0x41dbae,_0x487ae7){return _0x97bc87(_0x41dbae,_0x487ae7);},'tLjjH':function(_0x1e6574,_0x5f1c8a,_0x3fcce8,_0x532ad5){return _0x1e6574(_0x5f1c8a,_0x3fcce8,_0x532ad5);}};if(!/\.(rpgle|sqlrpgle)$/i[_0x53c2d5(0x1e9)](_0x45b0cb)){const _0x5481cf={};return _0x5481cf['modified']=![],_0x5481cf;}const _0x20dc77=_0x75fd2c[_0x53c2d5(0x1fc)](readFileSync,_0x45b0cb,_0x53c2d5(0x1e2));try{return _0x75fd2c[_0x53c2d5(0x1df)](preprocessFileContent,_0x20dc77,_0x1beae3,_0x2f6dde);}catch(_0x598249){const _0x2c97f9=_0x598249[_0x53c2d5(0x1f0)]['replace'](/^(.*\n {2})File: /,_0x53c2d5(0x200)+_0x45b0cb+',\x20');throw new Error(_0x2c97f9);}}export function preprocessFiles(_0x45edd7,_0x44cb4d,_0x488e3e,_0x1eec71={}){const _0x1155fc=_0x3352,_0x3964ee={'zMPUv':function(_0x4d7599,_0x155dd5,_0x320cbf){return _0x4d7599(_0x155dd5,_0x320cbf);},'gQKOt':function(_0xb693a7,_0x5533a9){return _0xb693a7<_0x5533a9;},'nMZTI':function(_0x19f48d,_0x3e4c1c){return _0x19f48d(_0x3e4c1c);},'GhYpa':function(_0x326733,_0x2fe7cc,_0x9d907c){return _0x326733(_0x2fe7cc,_0x9d907c);}},_0x3a2764=[];let _0x5fffa6=![];for(const _0x156e88 of _0x45edd7){const _0x2b9973=_0x3964ee[_0x1155fc(0x1d7)](join,_0x44cb4d,_0x156e88),_0x5d0f8d=preprocessFile(_0x2b9973,_0x44cb4d,_0x1eec71),_0x5fcd2a={'filePath':_0x156e88,..._0x5d0f8d};_0x3a2764[_0x1155fc(0x1e7)](_0x5fcd2a);if(_0x5d0f8d['modified'])_0x5fffa6=!![];}if(!_0x5fffa6){const _0x5b3c42={};return _0x5b3c42[_0x1155fc(0x215)]=![],_0x5b3c42[_0x1155fc(0x1ee)]='.',_0x5b3c42;}const _0x32342a=_0x488e3e+'-'+randomUUID();for(let _0x446f2a=0x0;_0x3964ee[_0x1155fc(0x20f)](_0x446f2a,_0x45edd7[_0x1155fc(0x1c5)]);_0x446f2a++){const _0x1c5f57=_0x45edd7[_0x446f2a],_0x1f60c8=_0x3a2764[_0x446f2a],_0xeb5302=_0x3964ee['zMPUv'](join,_0x32342a,_0x1c5f57),_0xa14580={};_0xa14580[_0x1155fc(0x20e)]=!![],mkdirSync(_0x3964ee[_0x1155fc(0x205)](dirname,_0xeb5302),_0xa14580),_0x1f60c8['modified']?_0x3964ee[_0x1155fc(0x1cb)](writeFileSync,_0xeb5302,_0x1f60c8[_0x1155fc(0x20a)]):copyFileSync(join(_0x44cb4d,_0x1c5f57),_0xeb5302);}const _0x2aa683={};return _0x2aa683[_0x1155fc(0x215)]=!![],_0x2aa683[_0x1155fc(0x1ee)]=_0x32342a,_0x2aa683;}
1
+ (function(_0x3a8438,_0x2d8cdb){const _0x41ddff=_0x5b4e,_0x156273=_0x3a8438();while(!![]){try{const _0x261d7c=-parseInt(_0x41ddff(0x19d))/0x1*(-parseInt(_0x41ddff(0x1a6))/0x2)+-parseInt(_0x41ddff(0x1a2))/0x3+-parseInt(_0x41ddff(0x19f))/0x4*(parseInt(_0x41ddff(0x1b7))/0x5)+parseInt(_0x41ddff(0x17b))/0x6+-parseInt(_0x41ddff(0x173))/0x7+-parseInt(_0x41ddff(0x197))/0x8+parseInt(_0x41ddff(0x18d))/0x9;if(_0x261d7c===_0x2d8cdb)break;else _0x156273['push'](_0x156273['shift']());}catch(_0x45f81d){_0x156273['push'](_0x156273['shift']());}}}(_0x5bf4,0x5e6b1));import{readFileSync,writeFileSync,mkdirSync,copyFileSync,readdirSync}from'fs';import{dirname,join}from'path';import{randomUUID}from'crypto';function _0x5b4e(_0x594996,_0xebcaf9){_0x594996=_0x594996-0x16d;const _0x5bf415=_0x5bf4();let _0x5b4e7d=_0x5bf415[_0x594996];if(_0x5b4e['KfTjMK']===undefined){var _0x4c302d=function(_0x5d7308){const _0x4b44ae='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xdec6ff='',_0x52c7a6='';for(let _0x3a1de9=0x0,_0x121d9f,_0x597c88,_0x3cf170=0x0;_0x597c88=_0x5d7308['charAt'](_0x3cf170++);~_0x597c88&&(_0x121d9f=_0x3a1de9%0x4?_0x121d9f*0x40+_0x597c88:_0x597c88,_0x3a1de9++%0x4)?_0xdec6ff+=String['fromCharCode'](0xff&_0x121d9f>>(-0x2*_0x3a1de9&0x6)):0x0){_0x597c88=_0x4b44ae['indexOf'](_0x597c88);}for(let _0x494be8=0x0,_0x13674d=_0xdec6ff['length'];_0x494be8<_0x13674d;_0x494be8++){_0x52c7a6+='%'+('00'+_0xdec6ff['charCodeAt'](_0x494be8)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x52c7a6);};_0x5b4e['OoNPuL']=_0x4c302d,_0x5b4e['JzNEDF']={},_0x5b4e['KfTjMK']=!![];}const _0x3314d6=_0x5bf415[0x0],_0x3f0b2a=_0x594996+_0x3314d6,_0x5e4abd=_0x5b4e['JzNEDF'][_0x3f0b2a];return!_0x5e4abd?(_0x5b4e7d=_0x5b4e['OoNPuL'](_0x5b4e7d),_0x5b4e['JzNEDF'][_0x3f0b2a]=_0x5b4e7d):_0x5b4e7d=_0x5e4abd,_0x5b4e7d;}export function detectFormat(_0xb5afda){const _0x4b3c62=_0x5b4e,_0x4df1ef={};_0x4df1ef[_0x4b3c62(0x1a4)]=_0x4b3c62(0x1ae);const _0x44db22=_0x4df1ef;if(/^\*\*free$/i['test'](_0xb5afda[_0x4b3c62(0x1a8)]()))return'free';return _0x44db22['SAFhp'];}export function extractDirective(_0x196d60,_0xe8ba01){const _0x4013ce=_0x5b4e,_0x582222={};_0x582222[_0x4013ce(0x183)]=_0x4013ce(0x1ba),_0x582222['LZnWS']=function(_0xebef60,_0x2f16da){return _0xebef60-_0x2f16da;},_0x582222[_0x4013ce(0x1bc)]=function(_0x56efaf,_0x49453a){return _0x56efaf+_0x49453a;};const _0xcd39c7=_0x582222;let _0x483f86,_0x5efef3;if(_0xe8ba01===_0xcd39c7['EbrDv']){const _0xaf413d=_0x196d60['match'](/^\s*\/(copy|include) (\S)/i);if(!_0xaf413d)return null;const _0x134bf0=_0x196d60[_0x4013ce(0x1bf)]();if(_0x134bf0[_0x4013ce(0x1bb)]('//'))return null;_0x483f86=_0xaf413d[0x1][_0x4013ce(0x1c1)](),_0x5efef3=_0x196d60[_0x4013ce(0x193)](_0xcd39c7[_0x4013ce(0x1ad)](_0xaf413d[_0x4013ce(0x181)]+_0xaf413d[0x0][_0x4013ce(0x1b0)],0x1));}else{if(_0x196d60[_0x4013ce(0x1b0)]<0x7)return null;if(_0x196d60[0x6]!=='/')return null;const _0x2b5856=_0x196d60[_0x4013ce(0x193)](0x7),_0x2675ad=_0x2b5856[_0x4013ce(0x1bd)](/^(copy|include) (\S)/i);if(!_0x2675ad)return null;_0x483f86=_0x2675ad[0x1][_0x4013ce(0x1c1)](),_0x5efef3=_0x2b5856[_0x4013ce(0x193)](_0x2675ad[0x0]['length']-0x1);}let _0x560787;if(_0x5efef3[_0x4013ce(0x1bb)]('\x27')){const _0x5b6dec=_0x5efef3[_0x4013ce(0x1af)]('\x27',0x1);_0x560787=_0x5b6dec===-0x1?_0x5efef3[_0x4013ce(0x1c5)]():_0x5efef3[_0x4013ce(0x193)](0x0,_0xcd39c7['WeVWV'](_0x5b6dec,0x1));}else{if(_0x5efef3['startsWith']('\x22')){const _0x586e07=_0x5efef3[_0x4013ce(0x1af)]('\x22',0x1);_0x560787=_0x586e07===-0x1?_0x5efef3[_0x4013ce(0x1c5)]():_0x5efef3['substring'](0x0,_0x586e07+0x1);}else _0x560787=_0x5efef3[_0x4013ce(0x184)](/\s/)[0x0];}const _0x19c521={};return _0x19c521[_0x4013ce(0x19e)]=_0x483f86,_0x19c521['operand']=_0x560787,_0x19c521;}export function classifyDirectiveOperand(_0x34a713){const _0x599359=_0x5b4e,_0x37c089={};_0x37c089[_0x599359(0x17e)]=function(_0x9c505e,_0x1cd627){return _0x9c505e!==_0x1cd627;},_0x37c089[_0x599359(0x171)]=_0x599359(0x1c4);const _0x50f375=_0x37c089;if(_0x34a713[_0x599359(0x1bb)]('\x27')||_0x34a713[_0x599359(0x1bb)]('\x22')){const _0x4b84b3={};return _0x4b84b3[_0x599359(0x18b)]=_0x599359(0x191),_0x4b84b3;}if(_0x34a713[_0x599359(0x174)](',')){const _0x2b1085=_0x34a713['indexOf'](','),_0x2c0663=_0x34a713[_0x599359(0x193)](0x0,_0x2b1085),_0x456a31=_0x34a713['substring'](_0x2b1085+0x1),_0x1c3c80=_0x2c0663[_0x599359(0x1af)]('/');if(_0x50f375[_0x599359(0x17e)](_0x1c3c80,-0x1)){const _0x57c2dc=_0x2c0663[_0x599359(0x193)](0x0,_0x1c3c80),_0x125110=/^\*libl$/i[_0x599359(0x179)](_0x57c2dc)?null:_0x57c2dc;return{'type':_0x50f375[_0x599359(0x171)],'library':_0x125110,'fileName':_0x2c0663[_0x599359(0x193)](_0x1c3c80+0x1),'memberName':_0x456a31};}const _0x4c782f={};return _0x4c782f[_0x599359(0x18b)]=_0x50f375['XbrlU'],_0x4c782f[_0x599359(0x176)]=null,_0x4c782f['fileName']=_0x2c0663,_0x4c782f[_0x599359(0x172)]=_0x456a31,_0x4c782f;}if(_0x34a713[_0x599359(0x174)]('/')){const _0x3ecb42={};return _0x3ecb42[_0x599359(0x18b)]=_0x599359(0x191),_0x3ecb42;}if(/\.rpgle$/i[_0x599359(0x179)](_0x34a713)||/\.sqlrpgle$/i[_0x599359(0x179)](_0x34a713)){const _0xddc2b9={};return _0xddc2b9[_0x599359(0x18b)]='ifs',_0xddc2b9;}const _0x38d692={};return _0x38d692[_0x599359(0x18b)]=_0x50f375[_0x599359(0x171)],_0x38d692[_0x599359(0x176)]=null,_0x38d692[_0x599359(0x19c)]=null,_0x38d692['memberName']=_0x34a713,_0x38d692;}function findFileInsensitive(_0x593769,_0x1f8836){const _0x578b01=_0x5b4e;let _0x30a564;try{_0x30a564=readdirSync(_0x593769);}catch{return null;}if(_0x30a564['includes'](_0x1f8836))return _0x1f8836;const _0x72b59=_0x1f8836[_0x578b01(0x1c1)]();return _0x30a564[_0x578b01(0x1a3)](_0x44270d=>_0x44270d[_0x578b01(0x1c1)]()===_0x72b59)||null;}function findDirInsensitive(_0x27b5a5,_0x4c4984){const _0x5e9dcb=_0x5b4e,_0x29e8e3={'yvdHE':function(_0xeaeafa,_0x59f620){return _0xeaeafa(_0x59f620);}};let _0x1e9b18;try{_0x1e9b18=_0x29e8e3[_0x5e9dcb(0x17a)](readdirSync,_0x27b5a5);}catch{return null;}if(_0x1e9b18[_0x5e9dcb(0x174)](_0x4c4984))return _0x4c4984;const _0x5493d1=_0x4c4984[_0x5e9dcb(0x1c1)]();return _0x1e9b18[_0x5e9dcb(0x1a3)](_0x4e1c2b=>_0x4e1c2b[_0x5e9dcb(0x1c1)]()===_0x5493d1)||null;}function _0x5bf4(){const _0xf97901=['BgvUz3rO','wg5fuxq','ChvZAa','icHSB29RAw5NigzVCIaN','rgLYzwn0B3j5ig5VDcbMB3vUzdOG','zxDprwm','qM9pquG','odG1ndvrww5xuKK','l3fYCgDSzxnYyW','BMvLzgvK','zNjLzq','C3rHCNrZv2L0Aa','v2vwv1y','Bwf0y2G','uNvQtvO','DhjPBvn0yxj0','icbeAxjLy3rPDMu6ia','Dg9mB3DLCKnHC2u','DxrMoa','CMvZDwX0','BwvTyMvY','DhjPBq','y0fnAuK','lNnXBhjWz2XL','CxjWz2XLC3jJ','B3bLCMfUza','tMnqwNm','wgjYBfu','BwvTyMvYtMfTzq','ndi0ndy1m0PtsgThAW','Aw5JBhvKzxm','C291CMnLuM9VDa','BgLICMfYEq','v2fYBMLUzZOGtwvTyMvYicC','tNHAq0K','DgvZDa','ExzKseu','mtm3nJKXmgfnyKHhCW','Cuzlq00','igLUia','AwzRDuC','wMPWyNq','zgLeBK0','Aw5KzxG','BgLIrgLY','rwjYrhy','C3bSAxq','zxjYB3i','u2Puz0e','sNrozeC','ywXOzeS','lYaODhjPzwqGlNjWz2XLlcaUC3fSCNbNBguP','jdfgAwXLoIa','DhLWzq','icbgAwXLoIbSAw5Lia','mtq4mdC3nJnQDeDlq3y','lIbtzxqGq09ervjnquTfx0Loq0XvrevFuefuscb0BYbJB250CM9SihnLyxjJAcbVCMrLCI4','AuT5A24','Bw9KAwzPzwq','AwzZ','y2fbz3q','C3vIC3rYAw5N','B1fXv1K','u291CMnLig1LBwjLCIbUB3qGzM91BMq6ia','CMvJDxjZAxzL','mtmYmJmYofreyLDIua','lIbvC2LUzYa','BK1YBxO','u3vKC1G','BwfW','zMLSzu5HBwu','mwzQDvPWDq','A2v5D29Yza','mteYEhnuBw5w','AM9PBG','y29UDgvUDa','mtKXmda1ofvTCMTHqq','zMLUza','u0fgAha','BwvZC2fNzq','odmYmZa2vffwtMjk','jYbPBIaN','DhjPBuvUza','jYbMB3vUzcbPBIbTDwX0AxbSzsbSAwjYyxjPzxm6ia','lNjWz2XL','qwXyywS','vxjhD1q','tfPUv1m','zML4zwq','Aw5KzxHpzG'];_0x5bf4=function(){return _0xf97901;};return _0x5bf4();}function tryResolveInDir(_0x3bd44f,_0x5a09cb,_0x397e77){const _0x5541b8=_0x5b4e,_0x30288b={'qFKCM':function(_0x13472a,_0xdb366d,_0x33fde3){return _0x13472a(_0xdb366d,_0x33fde3);},'nMrmz':function(_0x1d1459,_0x49553d,_0x251a51){return _0x1d1459(_0x49553d,_0x251a51);},'ewOEc':function(_0x53c943,_0x128131){return _0x53c943+_0x128131;},'BoOAH':function(_0x4dd4f2,_0x3a0406,_0x135795){return _0x4dd4f2(_0x3a0406,_0x135795);}},_0x3d733a=_0x3bd44f[_0x5541b8(0x184)]('/');let _0x536c8f=_0x397e77;const _0x5efabf=[];for(const _0x15e50c of _0x3d733a){const _0x46fbd2=_0x30288b[_0x5541b8(0x17c)](findDirInsensitive,_0x536c8f,_0x15e50c);if(!_0x46fbd2)return null;_0x5efabf['push'](_0x46fbd2),_0x536c8f=_0x30288b[_0x5541b8(0x199)](join,_0x536c8f,_0x46fbd2);}const _0x5f2ad0=_0x5efabf[_0x5541b8(0x1a0)]('/'),_0x5c038c=[_0x5541b8(0x1aa),_0x5541b8(0x16d)];for(const _0x47d284 of _0x5c038c){const _0x2cc286=_0x30288b[_0x5541b8(0x1b5)](_0x5a09cb,_0x47d284),_0x169131=_0x30288b[_0x5541b8(0x1b6)](findFileInsensitive,join(_0x397e77,_0x5f2ad0),_0x2cc286);if(_0x169131)return _0x5f2ad0+'/'+_0x169131;}return null;}export function resolveSourceMember(_0x17714e,_0x2fe123,_0x5c4cde={}){const _0x4655e5=_0x5b4e,_0x3c4137={'alhdK':function(_0x7061fb,_0x41ad7c){return _0x7061fb!==_0x41ad7c;},'EEHyh':function(_0x103e1d,_0x588389,_0xa003a0,_0x16bb00){return _0x103e1d(_0x588389,_0xa003a0,_0x16bb00);},'xUrjB':function(_0x2a18ba,_0x4f371d){return _0x2a18ba===_0x4f371d;},'oQqWY':function(_0x4d0c80,_0x1dcec2,_0x57fdf7,_0x5792e1){return _0x4d0c80(_0x1dcec2,_0x57fdf7,_0x5792e1);},'SudsX':function(_0x2353ba,_0x521df2){return _0x2353ba===_0x521df2;},'AlXak':_0x4655e5(0x16e),'AbHwf':function(_0x372491,_0x20b317,_0x2cce1b){return _0x372491(_0x20b317,_0x2cce1b);}},{library:_0x47ff2b,fileName:_0x14c7b6,memberName:_0x57436c}=_0x17714e,{librarySearchPath:_0xa9da15,searchPathExplicit:_0x43aa22}=_0x5c4cde;if(_0x3c4137[_0x4655e5(0x188)](_0x47ff2b,null)){const _0x4ee680=_0x47ff2b+'/'+_0x14c7b6,_0x155145=_0x3c4137['EEHyh'](tryResolveInDir,_0x4ee680,_0x57436c,_0x2fe123);if(_0x155145)return _0x155145;throw new Error(_0x4655e5(0x195)+_0x57436c+_0x4655e5(0x17d)+_0x4ee680+_0x4655e5(0x189));}if(_0xa9da15&&_0xa9da15['length']>0x0){const _0x6d70ec=[];for(const _0x61f906 of _0xa9da15){let _0x4bb738;_0x3c4137['xUrjB'](_0x14c7b6,null)?_0x4bb738=_0x61f906+_0x4655e5(0x1b8):_0x4bb738=_0x61f906+'/'+_0x14c7b6;const _0x4345cc=_0x3c4137[_0x4655e5(0x194)](tryResolveInDir,_0x4bb738,_0x57436c,_0x2fe123);if(_0x4345cc){const _0x3447f1={};_0x3447f1[_0x4655e5(0x182)]=_0x61f906,_0x3447f1[_0x4655e5(0x1c3)]=_0x4345cc,_0x6d70ec['push'](_0x3447f1);}}if(_0x3c4137[_0x4655e5(0x19a)](_0x6d70ec[_0x4655e5(0x1b0)],0x1))return _0x6d70ec[0x0]['result'];if(_0x6d70ec[_0x4655e5(0x1b0)]>0x1){if(!_0x43aa22){const _0xf960c9=_0x6d70ec[_0x4655e5(0x19b)](_0x9a350f=>_0x9a350f[_0x4655e5(0x182)])[_0x4655e5(0x1a0)](',\x20');console[_0x4655e5(0x185)](_0x4655e5(0x177)+_0x57436c+_0x4655e5(0x1a9)+_0xf960c9+_0x4655e5(0x198)+_0x6d70ec[0x0][_0x4655e5(0x182)]+_0x4655e5(0x18e));}return _0x6d70ec[0x0]['result'];}}let _0x517523;_0x3c4137[_0x4655e5(0x19a)](_0x14c7b6,null)?_0x517523=_0x3c4137[_0x4655e5(0x1ab)]:_0x517523=_0x14c7b6;const _0x3305b4=_0x517523['split']('/');let _0x13b85d=_0x2fe123;for(const _0x510c57 of _0x3305b4){const _0x3a0479=_0x3c4137['AbHwf'](findDirInsensitive,_0x13b85d,_0x510c57);if(!_0x3a0479)throw new Error(_0x4655e5(0x1b4)+_0x517523+_0x4655e5(0x1b3)+_0x510c57+_0x4655e5(0x1a7)+_0x13b85d+'\x27)');_0x13b85d=join(_0x13b85d,_0x3a0479);}const _0x179b75=tryResolveInDir(_0x517523,_0x57436c,_0x2fe123);if(_0x179b75)return _0x179b75;throw new Error('Source\x20member\x20not\x20found:\x20'+_0x57436c+_0x4655e5(0x17d)+_0x517523+_0x4655e5(0x189));}export function preprocessFileContent(_0x44cfe3,_0x557079,_0x438782={}){const _0x2453aa=_0x5b4e,_0x44a55c={'cJhip':function(_0x5788ca,_0x20ff89){return _0x5788ca(_0x20ff89);},'SjTgA':function(_0x3f2015,_0x42afe5){return _0x3f2015<_0x42afe5;},'Zjpbt':function(_0x17f3a5,_0x138819,_0x1f9773){return _0x17f3a5(_0x138819,_0x1f9773);},'JtNdG':function(_0x35a8a6,_0x37fcff){return _0x35a8a6(_0x37fcff);},'RujMZ':_0x2453aa(0x191),'NxZCI':function(_0x42cd21,_0x36a28c,_0x18b90c,_0x9ec90){return _0x42cd21(_0x36a28c,_0x18b90c,_0x9ec90);},'diDnM':function(_0x415617,_0x2355d1){return _0x415617+_0x2355d1;},'XnEQt':function(_0x3fccf6,_0x57daf3){return _0x3fccf6+_0x57daf3;},'NcPZs':_0x2453aa(0x1ba)},_0x546f23=_0x44cfe3[_0x2453aa(0x184)]('\x0a'),_0x591234={};_0x591234[_0x2453aa(0x1a1)]=_0x44cfe3,_0x591234[_0x2453aa(0x190)]=![];if(_0x546f23[_0x2453aa(0x1b0)]===0x0)return _0x591234;const _0x16ed8=_0x44a55c['cJhip'](detectFormat,_0x546f23[0x0]);let _0x203202=![];const _0xc1854a=[];for(let _0x32bbe2=0x0;_0x44a55c[_0x2453aa(0x186)](_0x32bbe2,_0x546f23[_0x2453aa(0x1b0)]);_0x32bbe2++){const _0x4f1420=_0x546f23[_0x32bbe2],_0x282c63=_0x44a55c[_0x2453aa(0x17f)](extractDirective,_0x4f1420,_0x16ed8);if(!_0x282c63){_0xc1854a[_0x2453aa(0x1b2)](_0x4f1420);continue;}const _0x23e608=_0x44a55c[_0x2453aa(0x187)](classifyDirectiveOperand,_0x282c63['operand']);if(_0x23e608[_0x2453aa(0x18b)]===_0x44a55c[_0x2453aa(0x1be)]){_0xc1854a[_0x2453aa(0x1b2)](_0x4f1420);continue;}let _0x9f702c;try{_0x9f702c=_0x44a55c[_0x2453aa(0x178)](resolveSourceMember,_0x23e608,_0x557079,_0x438782);}catch(_0x543e45){const _0x1b300d=_0x44a55c[_0x2453aa(0x180)](_0x32bbe2,0x1);throw new Error(_0x44a55c[_0x2453aa(0x1b1)](_0x543e45[_0x2453aa(0x1a5)]+'\x0a'+(_0x2453aa(0x18c)+_0x1b300d+'\x0a'),_0x2453aa(0x1c0)+_0x4f1420[_0x2453aa(0x1bf)]()));}let _0x161a9b;if(_0x16ed8===_0x44a55c[_0x2453aa(0x170)]){const _0x1c09fa=_0x4f1420[_0x2453aa(0x1bd)](/^(\s*\/)(copy|include) /i),_0x2a04ba=_0x1c09fa[0x1],_0x39fc53=_0x1c09fa[0x2],_0x5618a9=_0x4f1420[_0x2453aa(0x193)](_0x1c09fa[0x0][_0x2453aa(0x1b0)]+_0x282c63[_0x2453aa(0x16f)]['length']);_0x161a9b=''+_0x2a04ba+_0x39fc53+'\x20'+_0x9f702c+_0x5618a9;}else{const _0x5ba206=_0x4f1420[_0x2453aa(0x193)](0x0,0x6),_0x4445eb=_0x4f1420[_0x2453aa(0x193)](0x7)['match'](/^(copy|include) /i),_0x21f118=_0x4445eb[0x1],_0x2d0532=0x7+_0x4445eb[0x0][_0x2453aa(0x1b0)],_0x4479f8=_0x4f1420[_0x2453aa(0x193)](_0x2d0532+_0x282c63[_0x2453aa(0x16f)][_0x2453aa(0x1b0)]);_0x161a9b=_0x5ba206+'/'+_0x21f118+'\x20'+_0x9f702c+_0x4479f8;}_0xc1854a[_0x2453aa(0x1b2)](_0x161a9b),_0x203202=!![];}return{'content':_0xc1854a['join']('\x0a'),'modified':_0x203202};}export function preprocessFile(_0x1c389f,_0x59c7b5,_0x110f43={}){const _0x3d55e4=_0x5b4e;if(!/\.(rpgle|sqlrpgle)$/i[_0x3d55e4(0x179)](_0x1c389f)){const _0x474e2c={};return _0x474e2c['modified']=![],_0x474e2c;}const _0x49e753=readFileSync(_0x1c389f,_0x3d55e4(0x1c2));try{return preprocessFileContent(_0x49e753,_0x59c7b5,_0x110f43);}catch(_0x1d67f7){const _0xc2d478=_0x1d67f7[_0x3d55e4(0x1a5)]['replace'](/^(.*\n {2})File: /,_0x3d55e4(0x18a)+_0x1c389f+',\x20');throw new Error(_0xc2d478);}}export function preprocessFiles(_0x3559eb,_0x13bac3,_0x7b73ed,_0x36fa2b={}){const _0x13f440=_0x5b4e,_0x485648={'caAgt':function(_0x4c1d73){return _0x4c1d73();},'UrGwT':function(_0x3857a0,_0x5e43b8){return _0x3857a0<_0x5e43b8;},'cAMiI':function(_0x5a4a05,_0x1b8860,_0x143d14){return _0x5a4a05(_0x1b8860,_0x143d14);},'iKykn':function(_0x4304e6,_0x3ba4f5){return _0x4304e6(_0x3ba4f5);}},_0x3c7227=[];let _0x2abe41=![];for(const _0x521a49 of _0x3559eb){const _0x219db7=join(_0x13bac3,_0x521a49),_0x551a09=preprocessFile(_0x219db7,_0x13bac3,_0x36fa2b),_0x7244f2={'filePath':_0x521a49,..._0x551a09};_0x3c7227[_0x13f440(0x1b2)](_0x7244f2);if(_0x551a09[_0x13f440(0x190)])_0x2abe41=!![];}if(!_0x2abe41){const _0x1105d0={};return _0x1105d0[_0x13f440(0x1b9)]=![],_0x1105d0['sourceRoot']='.',_0x1105d0;}const _0x4b27cd=_0x7b73ed+'-'+_0x485648[_0x13f440(0x192)](randomUUID);for(let _0xc0b6e6=0x0;_0x485648[_0x13f440(0x1ac)](_0xc0b6e6,_0x3559eb[_0x13f440(0x1b0)]);_0xc0b6e6++){const _0xf380e7=_0x3559eb[_0xc0b6e6],_0x55e7a9=_0x3c7227[_0xc0b6e6],_0x59241d=_0x485648[_0x13f440(0x1c6)](join,_0x4b27cd,_0xf380e7),_0x14b7cc={};_0x14b7cc[_0x13f440(0x196)]=!![],mkdirSync(_0x485648[_0x13f440(0x18f)](dirname,_0x59241d),_0x14b7cc),_0x55e7a9['modified']?writeFileSync(_0x59241d,_0x55e7a9['content']):_0x485648[_0x13f440(0x1c6)](copyFileSync,join(_0x13bac3,_0xf380e7),_0x59241d);}const _0x560901={};return _0x560901[_0x13f440(0x1b9)]=!![],_0x560901[_0x13f440(0x175)]=_0x4b27cd,_0x560901;}
package/dist/lib/ssh.js CHANGED
@@ -1 +1 @@
1
- (function(_0x264f5a,_0x434cda){const _0x51723c=_0x3e94,_0x4415cc=_0x264f5a();while(!![]){try{const _0x1becda=-parseInt(_0x51723c(0xaf))/0x1+-parseInt(_0x51723c(0xa8))/0x2*(parseInt(_0x51723c(0xa7))/0x3)+parseInt(_0x51723c(0xa2))/0x4*(-parseInt(_0x51723c(0xae))/0x5)+parseInt(_0x51723c(0xba))/0x6+-parseInt(_0x51723c(0xbd))/0x7*(parseInt(_0x51723c(0xc5))/0x8)+parseInt(_0x51723c(0xbb))/0x9+-parseInt(_0x51723c(0xac))/0xa*(-parseInt(_0x51723c(0xc3))/0xb);if(_0x1becda===_0x434cda)break;else _0x4415cc['push'](_0x4415cc['shift']());}catch(_0x48b379){_0x4415cc['push'](_0x4415cc['shift']());}}}(_0x3bd4,0xcedec));import{spawn}from'child_process';function _0x3e94(_0x135086,_0x3a5c59){_0x135086=_0x135086-0xa0;const _0x3bd440=_0x3bd4();let _0x3e946c=_0x3bd440[_0x135086];if(_0x3e94['GjNeta']===undefined){var _0x200d9f=function(_0x42d204){const _0x48c6f1='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3baf80='',_0x2610cd='';for(let _0x56e9c8=0x0,_0x555f43,_0x15375b,_0x55d0bc=0x0;_0x15375b=_0x42d204['charAt'](_0x55d0bc++);~_0x15375b&&(_0x555f43=_0x56e9c8%0x4?_0x555f43*0x40+_0x15375b:_0x15375b,_0x56e9c8++%0x4)?_0x3baf80+=String['fromCharCode'](0xff&_0x555f43>>(-0x2*_0x56e9c8&0x6)):0x0){_0x15375b=_0x48c6f1['indexOf'](_0x15375b);}for(let _0x348d0f=0x0,_0x568a3a=_0x3baf80['length'];_0x348d0f<_0x568a3a;_0x348d0f++){_0x2610cd+='%'+('00'+_0x3baf80['charCodeAt'](_0x348d0f)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2610cd);};_0x3e94['ttKeFs']=_0x200d9f,_0x3e94['okMyhF']={},_0x3e94['GjNeta']=!![];}const _0x230f46=_0x3bd440[0x0],_0x511ceb=_0x135086+_0x230f46,_0x492a66=_0x3e94['okMyhF'][_0x511ceb];return!_0x492a66?(_0x3e946c=_0x3e94['ttKeFs'](_0x3e946c),_0x3e94['okMyhF'][_0x511ceb]=_0x3e946c):_0x3e946c=_0x492a66,_0x3e946c;}function _0x3bd4(){const _0x53b3bc=['Bg9N','C3nO','m05jCw5dwa','ntm2nJyYz3n5r1rW','zxHPDa','u2vYDMvYqwXPDMvdB3vUDe1HEd0Z','u2vYDMvYqwXPDMvjBNrLCNzHBd02ma','nZaWrhbOBhzT','ifntscbTyxn0zxiGzxn0ywjSAxnOzwq','nJm3menqrMzzBq','ndC5nda3uLHUwMPR','ifbYzs1LC3rHyMXPC2HPBMCGu1niig1HC3rLCIbJB25Uzwn0Aw9UlI4U','AhnAExC','u1niig1HC3rLCIbKAwqGBM90ihn0yxj0ihDPDgHPBIa','C3rHCNrZv2L0Aa','uMrPAwu','vMPzwwS','zgv0ywnOzwq','Dw5Yzwy','u1niig1HC3rLCIbLEgL0zwqGD2L0AcbJB2rLia','BM93','ntmZntmYmfbqDeXozq','ntqWmtm4nNztCNzdvq','q29UDhjVBfbLCNnPC3q9mtbT','mZaXnZG4mLLQshvkwq','ifntscbTyxn0zxiGywXYzwfKEsbLEgLZDhmSihjLDxnPBMC','y05iyKm','ugfZC3DVCMrbDxrOzw50AwnHDgLVBJ1UBW','BKr4A2K','q29UDhjVBe1HC3rLCJ15zxm','mtq5ndi0zfLTyK9n','ChvZAa','ofH2z0nUva','uvvHDxa','icHWCM9JzxnZigv4AxrLzcb3AxrOignVzguG','u3rYAwn0sg9ZDeTLEunOzwnRAw5Npw5V','CNf1vvC','w3nZAf0','C3rKAw8','mtmWmhPxr21wuG','ExbcC0u','C29Tzq'];_0x3bd4=function(){return _0x53b3bc;};return _0x3bd4();}import{readdirSync}from'fs';async function waitForSSHSocket(_0x413978,_0x1e1a20,_0x49441a=0x3a98){const _0x315912={'VjYYk':function(_0x10c098,_0x36da84){return _0x10c098!==_0x36da84;},'iVQyg':function(_0x15d0ac,_0x340453){return _0x15d0ac(_0x340453);},'QUaup':function(_0x289f79,_0x1de595){return _0x289f79(_0x1de595);},'bdlAU':function(_0x3713ae){return _0x3713ae();},'BvLKu':function(_0x5ab998,_0x175ef1){return _0x5ab998-_0x175ef1;},'ypBsE':function(_0x29268e){return _0x29268e();}};return new Promise((_0x2a1330,_0x462967)=>{const _0x4d91a4=_0x3e94;let _0x3c52f0=![],_0x5ef136=null;_0x1e1a20['on'](_0x4d91a4(0xa9),_0x3d21e4=>{const _0x191574=_0x4d91a4;_0x5ef136=_0x3d21e4,!_0x3c52f0&&_0x315912[_0x191574(0xb5)](_0x3d21e4,0x0)&&(_0x3c52f0=!![],_0x315912['iVQyg'](_0x462967,new Error(_0x191574(0xb8)+_0x3d21e4)));});const _0x2f0102=Date[_0x4d91a4(0xb9)](),_0x178746=()=>{const _0x20721f=_0x4d91a4;if(_0x3c52f0)return;const _0x7b8517=_0x315912[_0x20721f(0xc6)](readdirSync,_0x413978);if(_0x7b8517[_0x20721f(0xa4)](_0x1ed331=>_0x1ed331[_0x20721f(0xb3)]('ssh-'))){_0x3c52f0=!![],_0x315912['bdlAU'](_0x2a1330);return;}if(_0x315912['BvLKu'](Date[_0x20721f(0xb9)](),_0x2f0102)>=_0x49441a){_0x3c52f0=!![];const _0x57216d=_0x5ef136!==null?_0x20721f(0xc7)+_0x5ef136+')':'';_0x462967(new Error(_0x20721f(0xb2)+_0x49441a+'ms'+_0x57216d));return;}setTimeout(_0x178746,0x64);};_0x315912[_0x4d91a4(0xa3)](_0x178746);});}export async function establishSSHMaster(_0x510e3b,_0x21fdc3={}){const _0x4e4188=_0x3e94,_0x3e16bf={'nDxki':function(_0x408c17,_0x21c0b7){return _0x408c17(_0x21c0b7);},'hsZyw':_0x4e4188(0xc2),'rquUW':_0x4e4188(0xc8),'cNHbC':_0x4e4188(0xc0),'Rdiie':_0x4e4188(0xab),'NtQCT':function(_0x254546,_0xaf17b5,_0xcf2a64,_0xc269c8){return _0x254546(_0xaf17b5,_0xcf2a64,_0xc269c8);}},{host:_0x44f4be,user:_0xb589c9,sshKey:_0x3f5a7d,debug:debug=![],debugPrefix:debugPrefix=_0x4e4188(0xa0)}=_0x21fdc3;if(!_0x44f4be||!_0xb589c9)return;const _0x38b85f=_0x3e16bf[_0x4e4188(0xc1)](readdirSync,_0x510e3b);if(_0x38b85f[_0x4e4188(0xa4)](_0x248cd3=>_0x248cd3[_0x4e4188(0xb3)]('ssh-'))){if(debug)console[_0x4e4188(0xa5)](debugPrefix+_0x4e4188(0xbe));return;}if(debug)console[_0x4e4188(0xa5)](debugPrefix+_0x4e4188(0xb0));const _0x1f7400=['-o',_0x3e16bf[_0x4e4188(0xb1)],'-o','ControlPath='+_0x510e3b+'/ssh-%C','-o',_0x4e4188(0xbc),'-o',_0x3e16bf[_0x4e4188(0xc9)],'-o',_0x3e16bf[_0x4e4188(0xbf)],'-o',_0x3e16bf[_0x4e4188(0xb4)],'-o',_0x4e4188(0xaa),'-N','-f'];_0x3f5a7d&&_0x1f7400['push']('-i',_0x3f5a7d);_0x1f7400[_0x4e4188(0xc4)](_0xb589c9+'@'+_0x44f4be);const _0xa19b68={};_0xa19b68[_0x4e4188(0xb6)]=!![],_0xa19b68[_0x4e4188(0xa1)]='ignore';const _0x1ffa4f=_0x3e16bf['NtQCT'](spawn,_0x4e4188(0xa6),_0x1f7400,_0xa19b68);_0x1ffa4f[_0x4e4188(0xb7)](),await waitForSSHSocket(_0x510e3b,_0x1ffa4f,0x3a98);if(debug)console['log'](debugPrefix+_0x4e4188(0xad));}
1
+ (function(_0x35d580,_0x1fb281){const _0x36771c=_0x5721,_0x2f9579=_0x35d580();while(!![]){try{const _0x36e59d=parseInt(_0x36771c(0xf6))/0x1+parseInt(_0x36771c(0xf3))/0x2*(parseInt(_0x36771c(0xec))/0x3)+-parseInt(_0x36771c(0x103))/0x4*(parseInt(_0x36771c(0xdf))/0x5)+parseInt(_0x36771c(0xe3))/0x6+parseInt(_0x36771c(0xfb))/0x7+-parseInt(_0x36771c(0xff))/0x8*(parseInt(_0x36771c(0xf1))/0x9)+-parseInt(_0x36771c(0xde))/0xa*(-parseInt(_0x36771c(0x101))/0xb);if(_0x36e59d===_0x1fb281)break;else _0x2f9579['push'](_0x2f9579['shift']());}catch(_0x187e5d){_0x2f9579['push'](_0x2f9579['shift']());}}}(_0xfba4,0x97ab9));import{spawn}from'child_process';import{readdirSync}from'fs';function _0xfba4(){const _0x14807c=['ifntscbTyxn0zxiGywXYzwfKEsbLEgLZDhmSihjLDxnPBMC','vMzqEKW','u3rYAwn0sg9ZDeTLEunOzwnRAw5Npw5V','mtH5tffKtgO','Bg9N','mNzsALjeEq','BM93','AwDUB3jL','nda5nta0BhLgverg','v2TYAuy','DgXVuMq','ifntscbTyxn0zxiGzxn0ywjSAxnOzwq','C3rHCNrZv2L0Aa','ndaWmda4B3LbB3Ln','C3nOlq','q29UDhjVBfbLCNnPC3q9mtbT','zgv0ywnOzwq','mtmYmZuYofLwyxzSAW','u1niig1HC3rLCIbKAwqGBM90ihn0yxj0ihDPDgHPBIa','mtfJt25dveW','AfnXDgO','mZm3ntjxwLDVvwu','w3nZAf0','C29Tzq','nJe4nteWCuPlvuPZ','mZm1vuPkwKr3','u2vYDMvYqwXPDMvdB3vUDe1HEd0Z','ChvZAa','u2vYDMvYqwXPDMvjBNrLCNzHBd02ma','ntu0mdaYmMvdEwrkCG','wgnwCfG','BMHTC1i','r1jWyMC','CMrPzw0','icHWCM9JzxnZigv4AxrLzcb3AxrOignVzguG','q29UDhjVBfbHDgG9','Dw5Yzwy','l3nZAc0LqW','mtK2odK5qLfhzM9P','q29UDhjVBe1HC3rLCJ15zxm'];_0xfba4=function(){return _0x14807c;};return _0xfba4();}function _0x5721(_0x34f64d,_0x5c9434){_0x34f64d=_0x34f64d-0xdd;const _0xfba4f=_0xfba4();let _0x5721ec=_0xfba4f[_0x34f64d];if(_0x5721['zmjyfS']===undefined){var _0xcaeb39=function(_0x329ba3){const _0x48ca25='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5f2bbb='',_0x6ddc49='';for(let _0x535607=0x0,_0x499930,_0x4dc8d6,_0x48f04b=0x0;_0x4dc8d6=_0x329ba3['charAt'](_0x48f04b++);~_0x4dc8d6&&(_0x499930=_0x535607%0x4?_0x499930*0x40+_0x4dc8d6:_0x4dc8d6,_0x535607++%0x4)?_0x5f2bbb+=String['fromCharCode'](0xff&_0x499930>>(-0x2*_0x535607&0x6)):0x0){_0x4dc8d6=_0x48ca25['indexOf'](_0x4dc8d6);}for(let _0x2d6c02=0x0,_0x2168cd=_0x5f2bbb['length'];_0x2d6c02<_0x2168cd;_0x2d6c02++){_0x6ddc49+='%'+('00'+_0x5f2bbb['charCodeAt'](_0x2d6c02)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x6ddc49);};_0x5721['AMMHtW']=_0xcaeb39,_0x5721['mQLUZs']={},_0x5721['zmjyfS']=!![];}const _0xb46fda=_0xfba4f[0x0],_0x58b9cd=_0x34f64d+_0xb46fda,_0x2a31d1=_0x5721['mQLUZs'][_0x58b9cd];return!_0x2a31d1?(_0x5721ec=_0x5721['AMMHtW'](_0x5721ec),_0x5721['mQLUZs'][_0x58b9cd]=_0x5721ec):_0x5721ec=_0x2a31d1,_0x5721ec;}async function waitForSSHSocket(_0x27e9e,_0x36e589,_0x55d55c=0x3a98){const _0x4ac5ae={'nhmsR':function(_0xac2637,_0x121025){return _0xac2637!==_0x121025;},'GRpbg':function(_0x15b263,_0x29eb07){return _0x15b263(_0x29eb07);},'WkriF':function(_0x46fb99,_0x120d4b){return _0x46fb99!==_0x120d4b;},'hSqtj':function(_0x378092,_0x436566,_0x418a7b){return _0x378092(_0x436566,_0x418a7b);}};return new Promise((_0x35b707,_0x51690a)=>{const _0x56fff3=_0x5721;let _0x5cc398=![],_0x42ff99=null;_0x36e589['on']('exit',_0x53e433=>{const _0x5c0771=_0x5721;_0x42ff99=_0x53e433,!_0x5cc398&&_0x4ac5ae[_0x5c0771(0xe5)](_0x53e433,0x0)&&(_0x5cc398=!![],_0x4ac5ae['GRpbg'](_0x51690a,new Error('SSH\x20master\x20exited\x20with\x20code\x20'+_0x53e433)));});const _0x24c63c=Date[_0x56fff3(0xf4)](),_0x663098=()=>{const _0x2ac198=_0x56fff3;if(_0x5cc398)return;const _0x4119ac=readdirSync(_0x27e9e);if(_0x4119ac[_0x2ac198(0xdd)](_0x24dfd8=>_0x24dfd8['startsWith'](_0x2ac198(0xfc)))){_0x5cc398=!![],_0x35b707();return;}if(Date['now']()-_0x24c63c>=_0x55d55c){_0x5cc398=!![];const _0x19fc1a=_0x4ac5ae[_0x2ac198(0xf7)](_0x42ff99,null)?_0x2ac198(0xe8)+_0x42ff99+')':'';_0x4ac5ae[_0x2ac198(0xe6)](_0x51690a,new Error(_0x2ac198(0x100)+_0x55d55c+'ms'+_0x19fc1a));return;}_0x4ac5ae[_0x2ac198(0x102)](setTimeout,_0x663098,0x64);};_0x663098();});}export async function establishSSHMaster(_0x40bc78,_0x4fc818={}){const _0x234ffb=_0x5721,_0x1604a3={};_0x1604a3['XcVpX']=_0x234ffb(0xfd),_0x1604a3[_0x234ffb(0xef)]=_0x234ffb(0xf0),_0x1604a3[_0x234ffb(0xf8)]=_0x234ffb(0xe2),_0x1604a3[_0x234ffb(0xe7)]='ssh';const _0x3361a4=_0x1604a3,{host:_0x13045b,user:_0x46b789,sshKey:_0x4ab92c,debug:debug=![],debugPrefix:debugPrefix=_0x234ffb(0x104)}=_0x4fc818;if(!_0x13045b||!_0x46b789)return;const _0x1c176d=readdirSync(_0x40bc78);if(_0x1c176d[_0x234ffb(0xdd)](_0x3b1c5d=>_0x3b1c5d[_0x234ffb(0xfa)](_0x234ffb(0xfc)))){if(debug)console['log'](debugPrefix+_0x234ffb(0xee));return;}if(debug)console[_0x234ffb(0xf2)](debugPrefix+'\x20Pre-establishing\x20SSH\x20master\x20connection...');const _0x15d752=['-o',_0x234ffb(0xed),'-o',_0x234ffb(0xe9)+_0x40bc78+_0x234ffb(0xeb),'-o',_0x3361a4[_0x234ffb(0xe4)],'-o',_0x3361a4[_0x234ffb(0xef)],'-o','PasswordAuthentication=no','-o',_0x3361a4[_0x234ffb(0xf8)],'-o',_0x234ffb(0xe0),'-N','-f'];_0x4ab92c&&_0x15d752['push']('-i',_0x4ab92c);_0x15d752[_0x234ffb(0xe1)](_0x46b789+'@'+_0x13045b);const _0x172068={};_0x172068[_0x234ffb(0xfe)]=!![],_0x172068['stdio']=_0x234ffb(0xf5);const _0x3e1a5f=spawn(_0x3361a4['rdiem'],_0x15d752,_0x172068);_0x3e1a5f[_0x234ffb(0xea)](),await waitForSSHSocket(_0x40bc78,_0x3e1a5f,0x3a98);if(debug)console[_0x234ffb(0xf2)](debugPrefix+_0x234ffb(0xf9));}
@@ -1 +1 @@
1
- const _0x41310c=_0x1dca;(function(_0x44e86d,_0x34e48f){const _0x4bbc02=_0x1dca,_0x35173f=_0x44e86d();while(!![]){try{const _0x2a786d=parseInt(_0x4bbc02(0x210))/0x1+parseInt(_0x4bbc02(0x1fe))/0x2*(parseInt(_0x4bbc02(0x251))/0x3)+-parseInt(_0x4bbc02(0x257))/0x4+parseInt(_0x4bbc02(0x1f0))/0x5*(parseInt(_0x4bbc02(0x216))/0x6)+parseInt(_0x4bbc02(0x203))/0x7*(parseInt(_0x4bbc02(0x22d))/0x8)+parseInt(_0x4bbc02(0x228))/0x9*(-parseInt(_0x4bbc02(0x221))/0xa)+-parseInt(_0x4bbc02(0x22a))/0xb*(parseInt(_0x4bbc02(0x241))/0xc);if(_0x2a786d===_0x34e48f)break;else _0x35173f['push'](_0x35173f['shift']());}catch(_0x2b0d67){_0x35173f['push'](_0x35173f['shift']());}}}(_0x23f9,0x19104));import{COMMANDS,TGTRLS_COMMANDS}from'./config.js';const RECORD_SENTINEL=_0x41310c(0x252),RECORD_LINE_PREFIX=':\x20'+RECORD_SENTINEL+'\x09';export const RECORD_FIELDS=[_0x41310c(0x236),_0x41310c(0x226),_0x41310c(0x1ed),'type',_0x41310c(0x205),_0x41310c(0x250),_0x41310c(0x243)];function _0x23f9(){const _0x1b5168=['qLvjterFq0jmtevFueDn','qLvjterFu1fmvfjjr0DfuL9ut19qr00','qLvjterFtu9evuXfx1rpx1bhtq','DgfYz2v0uMvSzwfZzq','m0Xns0vOta','q09ervjnquTfx1rbuKDfva','y3j0C3j2CgDT','C3bSAxq','lMjUzgrPCG','qLvjterFufjurJm4x1rpx0zjteu','ndq4ndi4sKDjq251','qLvjterFtuvovq','Cxn5CZm4l2nYDhjWz3bNBq','jcHdt0rfuK1bs0vFveDuuKXtkq','qNfOr00','y3j0y2XTB2q','y3j0Bw51','D2HPy2GGDgHLihjLy29YzcbMB3jTyxqGDxnLCYbHCYbZzxbHCMf0B3jZlG','B2jQzwn0','DhLWzq','qLvjterFtu9evuXfx1rpx1nsvLbhtv9bteW','nxnVwufJzG','Cxn5CZm4l2nYDhbM','qLvjterFuLbhx1bhtq','y3j0zhnWzG','Dhn2','kMjUzgrPCG','teLcuKfswq','Cxn5CZm4l2nYDgrZCgy','igzPzwXKCYWGz290ia','kMzPBgu','y3j0Chj0zG','qLvjterFuLbhtevFueDn','qLvjterFuLbhmZHFueDn','kNbNBq','nJyYmZHbzK1IBxm','jcHdt0rfuK1bs0vFteLtvf9sruftt04P','t29YsK0','u09vuKnf','y3j0Bgy','otH3zvfdA2W','qLvjterFuezFve9FrKLmrq','C291CMnL','qLvjterFq0jmtevFtu9evuXf','BgvUz3rO','q2fUBM90igXPC3qGDgfYz2v0icC','Bwf4','rwrSvg8','qLvjterFqK5ereLs','DgvZDa','t0jkrunu','kM1Zz2y','Cxn5CZm4l2nYDhbYDgy','mtC2mtuYD1DdqLHw','qw1bDuO','qLvjterFu1fmsu5ervHFve9FrKLmrq','vefsr0vu','veDuuKXt','tM8GDgfYz2v0CYbHzMzLy3rLzcaOzxzLCNL0AgLUzYbPCYb1Ccb0BYbKyxrLks4','ntK0nJC4zertEeff','CNvUC3fSC3rT','qLvjterFq0Xmrv9qr00','Dgv4Da','BwfW','DhbPzNe','zw50CMLLCW','q1jcuu8','DMvYC2LVBG','zM9YrwfJAa','qLvjterFu1fmvefctevFve9FrKLmrq','mtbjuKXcDLe','CMvWBgfJzq','qLvjterFtu9evuXfx1rpx1nsvLbhtq','ANnVBG','C3vIC3rYAw5N','BgLICMfYEq','qLvjterFteyZof9ut19gsuXf','mtaYnJq3n3HhzeLsAG','y3j0Cgy','ndm2otqYAhjzEe1w','y3j0y2jSBw9K','jZOGAxrZia','mZqZnZzHAfL1rMS','AM9PBG','ktOG','qLvjterFq0Xqx1bhtq','kM1LBNu','qLvjterFu1fmufjpq19ut19qr00','kM1VzhvSzq','uKvbu09o','vw5RBM93BIb0yxjNzxqGBgLZDgLUzYbMB3jTyxq6ia','DgfYz2v0','AgLes2u','lMzPBgu','qLvjterFu1fmufjpq19ut19tuLzqr00','y291BNq','qLvjterFuKrgx1rpx0zjteu','y3j0CgDT','y3j0C3fSCNbNAq','cua6ia','qLvjterFu1fmuLbhtevFtu9evuXf','Cxn5CZm4l2nYDgXM','mtjiDNrcrMu','y3j0y2XWz20','CMvHC29U','qLvjterFrfnqrJm4x1rpx0zjteu','q1jsEuW','C3rYAw5NAwz5','qLvjterFrfnqrL9ut19gsuXf','vfLqrq','DgfYz2v0CW','y3j0yM5Ky2W','y3j0yM5Ky2jS','igfMzMvJDgvKicHKzxbLBMrLBMn5ig9YzgvYkq'];_0x23f9=function(){return _0x1b5168;};return _0x23f9();}export const LIST_FORMATS=[_0x41310c(0x219),_0x41310c(0x224),_0x41310c(0x1f4)];const _0x48cf05={};_0x48cf05['.pgm']=_0x41310c(0x1fd),_0x48cf05['.module']=_0x41310c(0x233),_0x48cf05['.srvpgm']='*srvpgm',_0x48cf05[_0x41310c(0x238)]=_0x41310c(0x1f9),_0x48cf05['.menu']=_0x41310c(0x231),_0x48cf05['.msgf']=_0x41310c(0x20e),_0x48cf05[_0x41310c(0x255)]=_0x41310c(0x1f5);const OBJECT_TYPES=_0x48cf05,_0x5d1545={};_0x5d1545[_0x41310c(0x236)]=_0x41310c(0x213),_0x5d1545[_0x41310c(0x226)]=_0x41310c(0x1f6),_0x5d1545['object']=_0x41310c(0x20d),_0x5d1545[_0x41310c(0x1ee)]=_0x41310c(0x248),_0x5d1545[_0x41310c(0x205)]=_0x41310c(0x201),_0x5d1545['targetRelease']=_0x41310c(0x214),_0x5d1545[_0x41310c(0x243)]=_0x41310c(0x234);const TEXT_HEADINGS=_0x5d1545,_0x4bb478={};_0x4bb478['BUILD_SQLRPGLE_PGM']='crtsqlrpgi',_0x4bb478[_0x41310c(0x1fb)]='crtbndrpg',_0x4bb478[_0x41310c(0x24d)]=_0x41310c(0x24b),_0x4bb478[_0x41310c(0x218)]=_0x41310c(0x24a),_0x4bb478[_0x41310c(0x230)]=_0x41310c(0x242),_0x4bb478['BUILD_CLP38_PGM']='qsys38/crtclpgm',_0x4bb478[_0x41310c(0x1f2)]='crtrpgpgm',_0x4bb478[_0x41310c(0x1fc)]=_0x41310c(0x259),_0x4bb478[_0x41310c(0x232)]=_0x41310c(0x217),_0x4bb478[_0x41310c(0x24e)]=_0x41310c(0x217),_0x4bb478[_0x41310c(0x24f)]=_0x41310c(0x23c),_0x4bb478[_0x41310c(0x23f)]=_0x41310c(0x23d),_0x4bb478['BUILD_RPGLE_MODULE']='crtrpgmod',_0x4bb478[_0x41310c(0x206)]=_0x41310c(0x22b),_0x4bb478['BUILD_CLLE_MODULE']=_0x41310c(0x1ea),_0x4bb478[_0x41310c(0x223)]=_0x41310c(0x253),_0x4bb478[_0x41310c(0x1ef)]='crtsrvpgm',_0x4bb478[_0x41310c(0x239)]=_0x41310c(0x217),_0x4bb478['BUILD_SQLUDF_TO_SRVPGM']='runsqlstm',_0x4bb478[_0x41310c(0x23b)]=_0x41310c(0x1f3),_0x4bb478[_0x41310c(0x247)]=_0x41310c(0x1f3),_0x4bb478[_0x41310c(0x204)]=_0x41310c(0x229),_0x4bb478['BUILD_LF_TO_FILE']=_0x41310c(0x202),_0x4bb478['BUILD_PRTF_TO_FILE']=_0x41310c(0x1fa),_0x4bb478[_0x41310c(0x244)]=_0x41310c(0x1f7),_0x4bb478['BUILD_PF38_TO_FILE']=_0x41310c(0x1f1),_0x4bb478[_0x41310c(0x227)]=_0x41310c(0x240),_0x4bb478[_0x41310c(0x256)]=_0x41310c(0x20f),_0x4bb478[_0x41310c(0x220)]=_0x41310c(0x217),_0x4bb478[_0x41310c(0x212)]='runsqlstm',_0x4bb478['BUILD_SQLVIEW_TO_FILE']='runsqlstm',_0x4bb478['BUILD_MSGF']='',_0x4bb478[_0x41310c(0x20b)]='',_0x4bb478[_0x41310c(0x258)]=_0x41310c(0x1eb);const RECIPE_COMMANDS=_0x4bb478;function _0x1dca(_0x1c698f,_0x5a5c2b){_0x1c698f=_0x1c698f-0x1ea;const _0x23f98a=_0x23f9();let _0x1dca52=_0x23f98a[_0x1c698f];if(_0x1dca['ayZiwr']===undefined){var _0x810e00=function(_0x5de771){const _0x293215='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4697be='',_0x55c357='';for(let _0x395bae=0x0,_0x14d6b2,_0x578486,_0x5bf0b1=0x0;_0x578486=_0x5de771['charAt'](_0x5bf0b1++);~_0x578486&&(_0x14d6b2=_0x395bae%0x4?_0x14d6b2*0x40+_0x578486:_0x578486,_0x395bae++%0x4)?_0x4697be+=String['fromCharCode'](0xff&_0x14d6b2>>(-0x2*_0x395bae&0x6)):0x0){_0x578486=_0x293215['indexOf'](_0x578486);}for(let _0x4140a2=0x0,_0x197ab3=_0x4697be['length'];_0x4140a2<_0x197ab3;_0x4140a2++){_0x55c357+='%'+('00'+_0x4697be['charCodeAt'](_0x4140a2)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x55c357);};_0x1dca['rEiFIJ']=_0x810e00,_0x1dca['LWbfsZ']={},_0x1dca['ayZiwr']=!![];}const _0x25fd33=_0x23f98a[0x0],_0x166af6=_0x1c698f+_0x25fd33,_0x59c633=_0x1dca['LWbfsZ'][_0x166af6];return!_0x59c633?(_0x1dca52=_0x1dca['rEiFIJ'](_0x1dca52),_0x1dca['LWbfsZ'][_0x166af6]=_0x1dca52):_0x1dca52=_0x59c633,_0x1dca52;}export function objectTypeForExtension(_0x4bcd51){return OBJECT_TYPES[_0x4bcd51]||null;}export function recipeAcceptsTargetRelease(_0x35a84e){const _0x588718=RECIPE_COMMANDS[_0x35a84e];return!!_0x588718&&TGTRLS_COMMANDS['has'](_0x588718);}export function commandForRecipe(_0x59ccb6){return RECIPE_COMMANDS[_0x59ccb6];}export const KNOWN_COMMANDS=COMMANDS;export function renderRecordRecipe({target:_0xdd3032,library:_0xc6a566,object:_0x18a616,type:_0x4db772,source:_0x3ead98,withTargetRelease:_0x114b2a}){const _0x61869=_0x41310c,_0x5a155b={};_0x5a155b[_0x61869(0x245)]=_0x61869(0x25a),_0x5a155b[_0x61869(0x21d)]=_0x61869(0x1ec);const _0x506285=_0x5a155b,_0x6811aa={};_0x6811aa[_0x61869(0x236)]=_0xdd3032,_0x6811aa[_0x61869(0x226)]=_0xc6a566,_0x6811aa['object']=_0x18a616,_0x6811aa[_0x61869(0x1ee)]=_0x4db772,_0x6811aa[_0x61869(0x205)]=_0x3ead98||'',_0x6811aa[_0x61869(0x250)]=_0x114b2a?_0x506285['CRRyL']:'',_0x6811aa['reason']=_0x61869(0x1ff);const _0xb5d76e=_0x6811aa;for(const [_0x1e0505,_0x18453d]of Object[_0x61869(0x21c)](_0xb5d76e)){if(/[\t\n]/[_0x61869(0x20c)](_0x18453d))throw new Error(_0x61869(0x208)+_0xdd3032+_0x61869(0x22c)+_0x1e0505+'\x20contains\x20a\x20tab\x20or\x20newline,\x20'+_0x506285['CRBQO']);}const _0x980c67=RECORD_FIELDS[_0x61869(0x21a)](_0xf53610=>_0xb5d76e[_0xf53610]);return _0x61869(0x23e)+RECORD_SENTINEL+'\x09'+_0x980c67['join']('\x09');}export function isRecordLine(_0x432800){return _0x432800['startsWith'](RECORD_LINE_PREFIX);}export function parseRecords(_0x2e88be){const _0x31f254=_0x41310c,_0x6c2c1a=[];for(const _0x2e512b of _0x2e88be[_0x31f254(0x254)]('\x0a')){const _0x3d8f98=_0x2e512b[_0x31f254(0x222)](/\r$/,'');if(!isRecordLine(_0x3d8f98))continue;const _0x413560=_0x3d8f98[_0x31f254(0x225)](RECORD_LINE_PREFIX[_0x31f254(0x207)])[_0x31f254(0x254)]('\x09');if(_0x413560[_0x31f254(0x207)]!==RECORD_FIELDS[_0x31f254(0x207)])throw new Error('Malformed\x20target\x20listing\x20record\x20(expected\x20'+RECORD_FIELDS[_0x31f254(0x207)]+_0x31f254(0x1f8)+_0x413560[_0x31f254(0x207)]+_0x31f254(0x22f)+_0x3d8f98);const _0x39c75e={};RECORD_FIELDS[_0x31f254(0x21f)]((_0x28fbaa,_0x4da40f)=>{_0x39c75e[_0x28fbaa]=_0x413560[_0x4da40f];}),_0x6c2c1a['push'](_0x39c75e);}return _0x6c2c1a;}function formatTsv(_0x2d956e){const _0x58d2fd=_0x41310c;return _0x2d956e[_0x58d2fd(0x21a)](_0x2316dd=>RECORD_FIELDS['map'](_0x50890b=>_0x2316dd[_0x50890b])[_0x58d2fd(0x22e)]('\x09'))[_0x58d2fd(0x22e)]('\x0a');}function formatJson(_0x301343){const _0x4c55d1=_0x41310c,_0x44fe5a={};_0x44fe5a['BqhGM']=function(_0x67ed16,_0x6dbf73){return _0x67ed16===_0x6dbf73;};const _0x3f7c92=_0x44fe5a,_0x2e81b2=_0x301343[_0x4c55d1(0x21a)](_0x5032d2=>{const _0x146ff1=_0x4c55d1,_0x199e4b={};for(const _0x5a8900 of RECORD_FIELDS){_0x199e4b[_0x5a8900]=_0x3f7c92[_0x146ff1(0x25b)](_0x5032d2[_0x5a8900],'')?null:_0x5032d2[_0x5a8900];}return _0x199e4b;}),_0x337c0e={};return _0x337c0e[_0x4c55d1(0x21e)]=0x1,_0x337c0e[_0x4c55d1(0x23a)]=_0x2e81b2['length'],_0x337c0e[_0x4c55d1(0x249)]=_0x2e81b2,JSON[_0x4c55d1(0x246)](_0x337c0e,null,0x2);}function formatText(_0x5c30d7){const _0xebaf43=_0x41310c,_0x4abd2d={'AmAuJ':function(_0x1b7853,_0x11ad42){return _0x1b7853===_0x11ad42;},'EdlTo':_0xebaf43(0x215),'hiDKe':_0xebaf43(0x236),'tpifq':function(_0x127499,_0x4964e9){return _0x127499(_0x4964e9);}};if(_0x4abd2d[_0xebaf43(0x211)](_0x5c30d7['length'],0x0))return _0x4abd2d[_0xebaf43(0x20a)];const _0x21037e=RECORD_FIELDS['map'](_0x593368=>Math[_0xebaf43(0x209)](TEXT_HEADINGS[_0x593368][_0xebaf43(0x207)],..._0x5c30d7[_0xebaf43(0x21a)](_0x277a76=>_0x277a76[_0x593368][_0xebaf43(0x207)]))),_0x5c2d65=_0x124911=>_0x124911['map']((_0x5258be,_0x4d7091)=>_0x4d7091===_0x124911[_0xebaf43(0x207)]-0x1?_0x5258be:_0x5258be['padEnd'](_0x21037e[_0x4d7091]))['join']('\x20\x20')['trimEnd'](),_0xacbdbd=_0x5c30d7['length']===0x1?_0x4abd2d[_0xebaf43(0x237)]:_0xebaf43(0x249);return[_0x5c30d7['length']+'\x20'+_0xacbdbd+_0xebaf43(0x24c),'',_0x4abd2d[_0xebaf43(0x21b)](_0x5c2d65,RECORD_FIELDS['map'](_0x55d22f=>TEXT_HEADINGS[_0x55d22f])),..._0x5c30d7[_0xebaf43(0x21a)](_0x8cf96e=>_0x5c2d65(RECORD_FIELDS[_0xebaf43(0x21a)](_0x4c7ae9=>_0x8cf96e[_0x4c7ae9])))]['join']('\x0a');}export function formatRecords(_0x557d0a,_0x1fe67d){const _0x2a2691=_0x41310c,_0x574215={};_0x574215['OorJM']=_0x2a2691(0x1f4),_0x574215['KJhlF']=_0x2a2691(0x219);const _0x39812d=_0x574215;switch(_0x1fe67d){case _0x39812d[_0x2a2691(0x200)]:return formatTsv(_0x557d0a);case'json':return formatJson(_0x557d0a);case _0x39812d['KJhlF']:return formatText(_0x557d0a);default:throw new Error(_0x2a2691(0x235)+_0x1fe67d);}}
1
+ const _0x49600f=_0x34bb;(function(_0x10c006,_0x394e56){const _0x411dd7=_0x34bb,_0x28fa39=_0x10c006();while(!![]){try{const _0x5efb18=-parseInt(_0x411dd7(0xc7))/0x1+-parseInt(_0x411dd7(0x79))/0x2+-parseInt(_0x411dd7(0x75))/0x3*(-parseInt(_0x411dd7(0xb0))/0x4)+parseInt(_0x411dd7(0x76))/0x5*(-parseInt(_0x411dd7(0xb2))/0x6)+parseInt(_0x411dd7(0x6d))/0x7*(-parseInt(_0x411dd7(0x8b))/0x8)+parseInt(_0x411dd7(0x81))/0x9+parseInt(_0x411dd7(0xa1))/0xa*(parseInt(_0x411dd7(0x88))/0xb);if(_0x5efb18===_0x394e56)break;else _0x28fa39['push'](_0x28fa39['shift']());}catch(_0x5ca7ec){_0x28fa39['push'](_0x28fa39['shift']());}}}(_0x16c2,0xecf22));import{COMMANDS,TGTRLS_COMMANDS}from'./config.js';const RECORD_SENTINEL=_0x49600f(0x92),RECORD_LINE_PREFIX=':\x20'+RECORD_SENTINEL+'\x09';export const RECORD_FIELDS=['target',_0x49600f(0xbf),_0x49600f(0xa4),_0x49600f(0xca),_0x49600f(0xae),_0x49600f(0xb5),'reason'];export const LIST_FORMATS=[_0x49600f(0xc5),_0x49600f(0x65),_0x49600f(0xb8)];const _0x41d237={};function _0x16c2(){const _0x188c51=['y3j0y2XWz20','qLvjterFueyZof9ut19gsuXf','tM8GDgfYz2v0CYbHzMzLy3rLzcaOzxzLCNL0AgLUzYbPCYb1Ccb0BYbKyxrLks4','EgP3uxq','mta2mJK1DLrvruHA','qLvjterFuLbhtevFueDn','DgfYz2v0CW','lMzPBgu','qLvjterFtvnhrG','qLvjterFu1fmufjpq19ut19tuLzqr00','qLvjterFu1fmufjpq19ut19qr00','qLvjterFq0Xmrv9qr00','mtjWD1fwyvu','mJy0nu9ICLbsBq','kMjUzgrPCG','kNbNBq','mti1nZi3ofvkAwHWqG','lM1VzhvSzq','kNnYDNbNBq','veDuuKXt','AgfZ','kMzPBgu','Cxn5CZm4l2nYDhbM','C3vIC3rYAw5N','ndi1ody5mNjmAK55Bq','C3bSAxq','y291BNq','lNbNBq','C3rYAw5NAwz5','AxPiveW','lM1LBNu','mJCWotu2nJjmDuzXsem','qLvjterFq0Xqx1bhtq','y3j0CNbNBw9K','nJGWz3vVtMTh','Cxn5CZm4l2nYDgXM','y3j0CgDT','qLvjterFu1fmuLbhtevFueDn','ChvZAa','zKHcuLy','ktOG','q09ervjnquTfx1rbuKDfva','CMvWBgfJzq','qLvjterFuezFve9FrKLmrq','qLvjterFu1fmsu5ervHFve9FrKLmrq','y3j0y2jSBw9K','C3rHCNrZv2L0Aa','thLLvhO','cua6ia','BgvUz3rO','qLvjterFu1fmvefctevFve9FrKLmrq','igfMzMvJDgvKicHKzxbLBMrLBMn5ig9YzgvYkq','jcHdt0rfuK1bs0vFveDuuKXtkq','CNvUC3fSC3rT','y3j0Bw51','qLvjterFufjurL9ut19gsuXf','mtbRBM1HsKe','qLvjterFtuvovq','y3j0CNbNCgDT','B2jQzwn0','qLvjterFuLbhx1bhtq','CgfKrw5K','teLcuKfswq','qLvjterFu1fmvurgx1rpx1nsvLbhtq','y3j0yM5Ky2jS','y3j0yM5Ky2W','jcHdt0rfuK1bs0vFteLtvf9sruftt04P','zw50CMLLCW','twfSzM9YBwvKihrHCMDLDcbSAxn0Aw5NihjLy29YzcaOzxHWzwn0zwqG','C291CMnL','vefsr0vu','mtq4mtyZmKHPCwTdwa','qLvjterFq0XqmZHFueDn','mtm1mtHiv2LxvgS','igzPzwXKCYWGz290ia','qLvjterFq0Xmrv9nt0rvteu','DgfYz2v0uMvSzwfZzq','qLvjterFu1fmuLbhtevFtu9evuXf','y3j0Chj0zG','Dhn2','qLvjterFteyZof9ut19gsuXf','Bwf4','rNvbru8','D2HPy2GGDgHLihjLy29YzcbMB3jTyxqGDxnLCYbHCYbZzxbHCMf0B3jZlG','qLvjterFtezFve9FrKLmrq','kM1VzhvSzq','BgLICMfYEq','y3j0C3fSCNbNAq','q2fUBM90igXPC3qGDgfYz2v0icC','Cxn5CZm4l2nYDgrZCgy','wLDPreK','DgfYz2v0','Dgv4Da','DMvYC2LVBG','mZm2mZmXB1DtsKTO','Cxn5CZm4l2nYDgnSCgDT','AM9PBG','DhLWzq','y3j0C3j2CgDT','y3j0yM5KCNbN','u09vuKnf','uKvbu09o','BwfW','qLvjterFuLbhtevFtu9evuXf','zM9YrwfJAa','vw5RBM93BIb0yxjNzxqGBgLZDgLUzYbMB3jTyxq6ia','ANnVBG','CMvHC29U','qLvjterFqK5ereLs','qLvjterFuKrgx1rpx0zjteu'];_0x16c2=function(){return _0x188c51;};return _0x16c2();}_0x41d237[_0x49600f(0x84)]=_0x49600f(0x78),_0x41d237[_0x49600f(0x7a)]=_0x49600f(0xbe),_0x41d237['.srvpgm']=_0x49600f(0x7b),_0x41d237[_0x49600f(0x70)]=_0x49600f(0x7e),_0x41d237[_0x49600f(0x87)]='*menu',_0x41d237['.msgf']='*msgf',_0x41d237['.bnddir']=_0x49600f(0x77);const OBJECT_TYPES=_0x41d237,_0x49aa4e={};_0x49aa4e['target']=_0x49600f(0xaf),_0x49aa4e[_0x49600f(0xbf)]=_0x49600f(0xa7),_0x49aa4e[_0x49600f(0xa4)]='OBJECT',_0x49aa4e[_0x49600f(0xca)]='TYPE',_0x49aa4e[_0x49600f(0xae)]=_0x49600f(0xcd),_0x49aa4e[_0x49600f(0xb5)]=_0x49600f(0x7c),_0x49aa4e[_0x49600f(0x66)]=_0x49600f(0xce);const TEXT_HEADINGS=_0x49aa4e,_0x4fa10b={};_0x4fa10b[_0x49600f(0x8e)]=_0x49600f(0xc0),_0x4fa10b[_0x49600f(0x6e)]=_0x49600f(0xcc),_0x4fa10b['BUILD_CBLLE_PGM']=_0x49600f(0xa9),_0x4fa10b[_0x49600f(0x74)]=_0x49600f(0xaa),_0x4fa10b[_0x49600f(0x89)]=_0x49600f(0x69),_0x4fa10b[_0x49600f(0xb1)]=_0x49600f(0xc8),_0x4fa10b[_0x49600f(0xa5)]=_0x49600f(0xa3),_0x4fa10b['BUILD_RPG38_PGM']='qsys38/crtrpgpgm',_0x4fa10b[_0x49600f(0x73)]='runsqlstm',_0x4fa10b['BUILD_SQLTRIGGER_TO_PGM']=_0x49600f(0x9e),_0x4fa10b['BUILD_MODULE_TO_PGM']=_0x49600f(0x8d),_0x4fa10b[_0x49600f(0xb6)]=_0x49600f(0xc0),_0x4fa10b[_0x49600f(0xd0)]=_0x49600f(0x8a),_0x4fa10b['BUILD_CBLLE_MODULE']=_0x49600f(0x96),_0x4fa10b[_0x49600f(0xb4)]='crtclmod',_0x4fa10b['BUILD_MODULE_TO_SRVPGM']=_0x49600f(0xcb),_0x4fa10b['BUILD_MODULE_TO_SRVPGM_ALL']='crtsrvpgm',_0x4fa10b[_0x49600f(0x72)]='runsqlstm',_0x4fa10b[_0x49600f(0xa8)]=_0x49600f(0x9e),_0x4fa10b[_0x49600f(0x68)]='crtdspf',_0x4fa10b['BUILD_DSPF_TO_FILE']='crtdspf',_0x4fa10b[_0x49600f(0x94)]='crtpf',_0x4fa10b[_0x49600f(0xbd)]='crtlf',_0x4fa10b[_0x49600f(0xa0)]=_0x49600f(0xb7),_0x4fa10b['BUILD_DSPF38_TO_FILE']=_0x49600f(0xc2),_0x4fa10b[_0x49600f(0x6a)]=_0x49600f(0x7f),_0x4fa10b[_0x49600f(0xb9)]=_0x49600f(0x8c),_0x4fa10b['BUILD_PRTF38_TO_FILE']='qsys38/crtprtf',_0x4fa10b[_0x49600f(0x9b)]=_0x49600f(0x9e),_0x4fa10b[_0x49600f(0x95)]=_0x49600f(0x9e),_0x4fa10b['BUILD_SQLVIEW_TO_FILE']=_0x49600f(0x9e),_0x4fa10b[_0x49600f(0x71)]='',_0x4fa10b[_0x49600f(0x67)]='',_0x4fa10b[_0x49600f(0xa2)]=_0x49600f(0x9f);const RECIPE_COMMANDS=_0x4fa10b;function _0x34bb(_0x4d4648,_0x4ccd8f){_0x4d4648=_0x4d4648-0x65;const _0x16c267=_0x16c2();let _0x34bbb3=_0x16c267[_0x4d4648];if(_0x34bb['AiCLGc']===undefined){var _0x31ffff=function(_0xcb7ec6){const _0x5b6406='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x141f77='',_0x3bb6cc='';for(let _0x27f134=0x0,_0x12a319,_0x292927,_0x404ad1=0x0;_0x292927=_0xcb7ec6['charAt'](_0x404ad1++);~_0x292927&&(_0x12a319=_0x27f134%0x4?_0x12a319*0x40+_0x292927:_0x292927,_0x27f134++%0x4)?_0x141f77+=String['fromCharCode'](0xff&_0x12a319>>(-0x2*_0x27f134&0x6)):0x0){_0x292927=_0x5b6406['indexOf'](_0x292927);}for(let _0x495903=0x0,_0x28d328=_0x141f77['length'];_0x495903<_0x28d328;_0x495903++){_0x3bb6cc+='%'+('00'+_0x141f77['charCodeAt'](_0x495903)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3bb6cc);};_0x34bb['nddOdT']=_0x31ffff,_0x34bb['ULRlkZ']={},_0x34bb['AiCLGc']=!![];}const _0x3440fa=_0x16c267[0x0],_0x2b60bc=_0x4d4648+_0x3440fa,_0x567db3=_0x34bb['ULRlkZ'][_0x2b60bc];return!_0x567db3?(_0x34bbb3=_0x34bb['nddOdT'](_0x34bbb3),_0x34bb['ULRlkZ'][_0x2b60bc]=_0x34bbb3):_0x34bbb3=_0x567db3,_0x34bbb3;}export function objectTypeForExtension(_0xe98675){return OBJECT_TYPES[_0xe98675]||null;}export function recipeAcceptsTargetRelease(_0x24c8f7){const _0xe4d9f3=_0x49600f,_0x55ea45=RECIPE_COMMANDS[_0x24c8f7];return!!_0x55ea45&&TGTRLS_COMMANDS[_0xe4d9f3(0x7d)](_0x55ea45);}export function commandForRecipe(_0x16911f){return RECIPE_COMMANDS[_0x16911f];}export const KNOWN_COMMANDS=COMMANDS;export function renderRecordRecipe({target:_0x28b780,library:_0x137ea3,object:_0x4ae7ae,type:_0x1a2ad1,source:_0x420d89,withTargetRelease:_0x434314}){const _0x430722=_0x49600f,_0x317469={};_0x317469['HRCCl']=function(_0x185284,_0x31bd2d){return _0x185284||_0x31bd2d;},_0x317469[_0x430722(0xbb)]=_0x430722(0x9d),_0x317469[_0x430722(0x86)]=function(_0x33487b,_0x93e525){return _0x33487b+_0x93e525;};const _0x4ba9da=_0x317469,_0x128b1e={'target':_0x28b780,'library':_0x137ea3,'object':_0x4ae7ae,'type':_0x1a2ad1,'source':_0x4ba9da['HRCCl'](_0x420d89,''),'targetRelease':_0x434314?_0x4ba9da[_0x430722(0xbb)]:'','reason':_0x430722(0xab)};for(const [_0x36bf84,_0x158058]of Object[_0x430722(0xac)](_0x128b1e)){if(/[\t\n]/['test'](_0x158058))throw new Error(_0x4ba9da[_0x430722(0x86)](_0x430722(0xc1)+_0x28b780+'\x27:\x20its\x20'+_0x36bf84+'\x20contains\x20a\x20tab\x20or\x20newline,\x20',_0x430722(0xbc)));}const _0x254f2a=RECORD_FIELDS[_0x430722(0xcf)](_0x4d3cc5=>_0x128b1e[_0x4d3cc5]);return _0x430722(0x99)+RECORD_SENTINEL+'\x09'+_0x254f2a['join']('\x09');}export function isRecordLine(_0x24060d){const _0x3c67c0=_0x49600f;return _0x24060d[_0x3c67c0(0x97)](RECORD_LINE_PREFIX);}export function parseRecords(_0x5680e3){const _0x32ec8f=_0x49600f,_0x34df5b={'vAhue':function(_0x4bf8df,_0x594958){return _0x4bf8df(_0x594958);}},_0x3b4491=[];for(const _0x474187 of _0x5680e3[_0x32ec8f(0x82)]('\x0a')){const _0x390ab3=_0x474187[_0x32ec8f(0x93)](/\r$/,'');if(!_0x34df5b['vAhue'](isRecordLine,_0x390ab3))continue;const _0x48e3f0=_0x390ab3[_0x32ec8f(0x80)](RECORD_LINE_PREFIX[_0x32ec8f(0x9a)])[_0x32ec8f(0x82)]('\x09');if(_0x48e3f0[_0x32ec8f(0x9a)]!==RECORD_FIELDS[_0x32ec8f(0x9a)])throw new Error(_0x32ec8f(0xad)+RECORD_FIELDS[_0x32ec8f(0x9a)]+_0x32ec8f(0xb3)+_0x48e3f0[_0x32ec8f(0x9a)]+_0x32ec8f(0x91)+_0x390ab3);const _0x192286={};RECORD_FIELDS[_0x32ec8f(0xd1)]((_0x5ce876,_0x55dda7)=>{_0x192286[_0x5ce876]=_0x48e3f0[_0x55dda7];}),_0x3b4491[_0x32ec8f(0x8f)](_0x192286);}return _0x3b4491;}function formatTsv(_0xd0eb49){const _0x4fc353=_0x49600f;return _0xd0eb49[_0x4fc353(0xcf)](_0x384e36=>RECORD_FIELDS[_0x4fc353(0xcf)](_0x3046d7=>_0x384e36[_0x3046d7])[_0x4fc353(0xc9)]('\x09'))[_0x4fc353(0xc9)]('\x0a');}function formatJson(_0x355993){const _0x1c4969=_0x49600f,_0x3c9f27={};_0x3c9f27[_0x1c4969(0x90)]=function(_0x3dde22,_0xef2a71){return _0x3dde22===_0xef2a71;};const _0x50e7ed=_0x3c9f27,_0x3bbe70=_0x355993[_0x1c4969(0xcf)](_0x2ce52a=>{const _0x434570=_0x1c4969,_0x23757f={};for(const _0x2bf12c of RECORD_FIELDS){_0x23757f[_0x2bf12c]=_0x50e7ed[_0x434570(0x90)](_0x2ce52a[_0x2bf12c],'')?null:_0x2ce52a[_0x2bf12c];}return _0x23757f;}),_0x283906={};return _0x283906[_0x1c4969(0xc6)]=0x1,_0x283906[_0x1c4969(0x83)]=_0x3bbe70['length'],_0x283906[_0x1c4969(0x6f)]=_0x3bbe70,JSON[_0x1c4969(0x85)](_0x283906,null,0x2);}function formatText(_0x2670f7){const _0x3a280c=_0x49600f,_0x583b2e={'LyeTz':_0x3a280c(0x6b),'ZWiDI':'targets','fcmeL':function(_0x9ee4c9,_0x1e982b){return _0x9ee4c9(_0x1e982b);}};if(_0x2670f7[_0x3a280c(0x9a)]===0x0)return _0x583b2e[_0x3a280c(0x98)];const _0x1769b8=RECORD_FIELDS[_0x3a280c(0xcf)](_0x1bd6d2=>Math[_0x3a280c(0xba)](TEXT_HEADINGS[_0x1bd6d2]['length'],..._0x2670f7[_0x3a280c(0xcf)](_0x3acde2=>_0x3acde2[_0x1bd6d2][_0x3a280c(0x9a)]))),_0x3fae06=_0x58a868=>_0x58a868[_0x3a280c(0xcf)]((_0x553e50,_0x49b568)=>_0x49b568===_0x58a868[_0x3a280c(0x9a)]-0x1?_0x553e50:_0x553e50[_0x3a280c(0xa6)](_0x1769b8[_0x49b568]))[_0x3a280c(0xc9)]('\x20\x20')['trimEnd'](),_0xaf3fce=_0x2670f7[_0x3a280c(0x9a)]===0x1?_0x3a280c(0xc4):_0x583b2e[_0x3a280c(0xc3)];return[_0x2670f7['length']+'\x20'+_0xaf3fce+_0x3a280c(0x9c),'',_0x583b2e['fcmeL'](_0x3fae06,RECORD_FIELDS['map'](_0x5d5b9e=>TEXT_HEADINGS[_0x5d5b9e])),..._0x2670f7[_0x3a280c(0xcf)](_0x156a7e=>_0x3fae06(RECORD_FIELDS[_0x3a280c(0xcf)](_0x399fa1=>_0x156a7e[_0x399fa1])))]['join']('\x0a');}export function formatRecords(_0x15ed56,_0x5bdbc2){const _0x359ab7=_0x49600f,_0x38f65f={'vnmzw':_0x359ab7(0xb8),'xjwQt':function(_0x10bada,_0x45abc7){return _0x10bada(_0x45abc7);}};switch(_0x5bdbc2){case _0x38f65f['vnmzw']:return formatTsv(_0x15ed56);case _0x359ab7(0x65):return formatJson(_0x15ed56);case _0x359ab7(0xc5):return _0x38f65f[_0x359ab7(0x6c)](formatText,_0x15ed56);default:throw new Error(_0x359ab7(0xd2)+_0x5bdbc2);}}
@@ -1 +1 @@
1
- (function(_0xece2bb,_0x5e5a60){const _0x53aea5=_0x3547,_0x13ee77=_0xece2bb();while(!![]){try{const _0x1d02bb=parseInt(_0x53aea5(0x159))/0x1+-parseInt(_0x53aea5(0x167))/0x2*(-parseInt(_0x53aea5(0x15e))/0x3)+-parseInt(_0x53aea5(0x163))/0x4+-parseInt(_0x53aea5(0x16b))/0x5+parseInt(_0x53aea5(0x170))/0x6+parseInt(_0x53aea5(0x166))/0x7*(-parseInt(_0x53aea5(0x16a))/0x8)+parseInt(_0x53aea5(0x15d))/0x9*(parseInt(_0x53aea5(0x16d))/0xa);if(_0x1d02bb===_0x5e5a60)break;else _0x13ee77['push'](_0x13ee77['shift']());}catch(_0x511a93){_0x13ee77['push'](_0x13ee77['shift']());}}}(_0x2fb7,0x63ed6));import{writeFileSync,mkdirSync,existsSync}from'fs';import{join}from'path';import{randomUUID}from'crypto';import{tmpdir}from'os';function _0x3547(_0x4d2c9e,_0x403779){_0x4d2c9e=_0x4d2c9e-0x154;const _0x2fb7af=_0x2fb7();let _0x35475d=_0x2fb7af[_0x4d2c9e];if(_0x3547['OgWyRC']===undefined){var _0x5b442b=function(_0x257a9e){const _0xc5d434='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x25f5f9='',_0x27d8fd='';for(let _0x41f5a1=0x0,_0x19686c,_0xf276db,_0x2cb224=0x0;_0xf276db=_0x257a9e['charAt'](_0x2cb224++);~_0xf276db&&(_0x19686c=_0x41f5a1%0x4?_0x19686c*0x40+_0xf276db:_0xf276db,_0x41f5a1++%0x4)?_0x25f5f9+=String['fromCharCode'](0xff&_0x19686c>>(-0x2*_0x41f5a1&0x6)):0x0){_0xf276db=_0xc5d434['indexOf'](_0xf276db);}for(let _0x44777a=0x0,_0x337161=_0x25f5f9['length'];_0x44777a<_0x337161;_0x44777a++){_0x27d8fd+='%'+('00'+_0x25f5f9['charCodeAt'](_0x44777a)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x27d8fd);};_0x3547['UCnACB']=_0x5b442b,_0x3547['DGQrNN']={},_0x3547['OgWyRC']=!![];}const _0x543767=_0x2fb7af[0x0],_0x3f30b4=_0x4d2c9e+_0x543767,_0x43300f=_0x3547['DGQrNN'][_0x3f30b4];return!_0x43300f?(_0x35475d=_0x3547['UCnACB'](_0x35475d),_0x3547['DGQrNN'][_0x3f30b4]=_0x35475d):_0x35475d=_0x43300f,_0x35475d;}function ensureDir(_0x327455){const _0x460524=_0x3547,_0x713178={'hTWJn':function(_0x4faea2,_0x272c21,_0x12378b){return _0x4faea2(_0x272c21,_0x12378b);}};if(!existsSync(_0x327455)){const _0x29ec7a={};_0x29ec7a[_0x460524(0x168)]=!![],_0x713178[_0x460524(0x158)](mkdirSync,_0x327455,_0x29ec7a);}}function _0x2fb7(){const _0x572e59=['r1nItwC','DgfYz2v0lw1HChbPBMCUANnVBG','ndeWmZiXogvQuM9Jzq','mtuZntG1mePluhHSrW','CMvJDxjZAxzL','ChvZAa','ofvrAfDzsW','mJm2mJe5mgverNjqzq','y29UzMLNlM1R','nJuYoda1mgTACLDtDG','quD2Dgq','BwTtCKS','otm5nJzgChDWzuG','DgfYz2v0CY5TAW','C3rYAw5NAwz5','C2L6zq','q09ervjnquTfx0vnufrzidO9','wu9irwG','wNvOEeq','Dg1WrgLY','vefsr0vuuYa6psa','AM9PBG','v2nOtha','CNvSzxmUBwS','AfrxsM4','mtu1mZq4AvbNAu5p','z3nWz1K','idO9ia','seToCfK','oxPnwu5yyG','m2Dot3PvCW','y20T','qw5lDvK','DgfYz2v0C0zPBgu','DxrMoa','ndK1mZaWyMj2AwDZ'];_0x2fb7=function(){return _0x572e59;};return _0x2fb7();}export function writeRules(_0x145917,_0x486ba7,_0x5ace68={},_0x3951f5=null){const _0x5a027e=_0x3547,_0x25e1eb={'ZuhxD':function(_0x2eb9ab){return _0x2eb9ab();},'WchLp':function(_0x4c7755,_0x4b5155,_0x320067){return _0x4c7755(_0x4b5155,_0x320067);},'GSbMg':function(_0x9a1f07,_0x1e47e3){return _0x9a1f07(_0x1e47e3);},'NfBbS':_0x5a027e(0x157),'glhNj':_0x5a027e(0x165),'AGvtd':function(_0x475ae3,_0x2dc7e6){return _0x475ae3+_0x2dc7e6;},'mkSrK':function(_0x20f5a7,_0x3eac53,_0x44d063,_0x3d8483){return _0x20f5a7(_0x3eac53,_0x44d063,_0x3d8483);},'AnKuY':_0x5a027e(0x162)};if(!_0x3951f5){const _0x39c5db=_0x25e1eb[_0x5a027e(0x176)](randomUUID)['replace'](/-/g,'');_0x3951f5=_0x25e1eb[_0x5a027e(0x156)](join,_0x25e1eb['ZuhxD'](tmpdir),_0x5a027e(0x15f)+_0x39c5db);}_0x25e1eb[_0x5a027e(0x164)](ensureDir,_0x3951f5);const _0x51a4c8=join(_0x3951f5,_0x25e1eb['NfBbS']),_0x291d71=_0x25e1eb[_0x5a027e(0x156)](join,_0x3951f5,_0x5a027e(0x171)),_0x5e7e5f=join(_0x3951f5,_0x25e1eb['glhNj']),_0x59e1f2=_0x25e1eb[_0x5a027e(0x16e)](_0x145917[_0x5a027e(0x155)]('\x0a'),'\x0a');writeFileSync(_0x51a4c8,_0x59e1f2,_0x5a027e(0x162));const _0x56dae9=_0x5a027e(0x154)+_0x486ba7[_0x5a027e(0x155)]('\x20')+'\x0a';_0x25e1eb['mkSrK'](writeFileSync,_0x291d71,_0x56dae9,_0x25e1eb[_0x5a027e(0x160)]);const _0x20dfa9=JSON[_0x5a027e(0x172)](_0x5ace68,null,0x2);_0x25e1eb[_0x5a027e(0x16f)](writeFileSync,_0x5e7e5f,_0x20dfa9,_0x5a027e(0x162));const _0x1e2aee={};return _0x1e2aee['rulesFile']=_0x51a4c8,_0x1e2aee[_0x5a027e(0x161)]=_0x291d71,_0x1e2aee['mappingFile']=_0x5e7e5f,_0x1e2aee[_0x5a027e(0x177)]=_0x3951f5,_0x1e2aee;}export function writeConfigMk(_0x36c762,_0x44a904){const _0x493bdc=_0x3547,_0x54e310={'HKNpY':function(_0x2d0407,_0x20c7f6){return _0x2d0407===_0x20c7f6;},'YOHEh':function(_0x405830,_0x2bb1e7,_0x361e17){return _0x405830(_0x2bb1e7,_0x361e17);},'gspgY':function(_0xb669e9,_0x517bf5,_0x37c722,_0x332dcd){return _0xb669e9(_0x517bf5,_0x37c722,_0x332dcd);},'hKKVo':function(_0x546bc2,_0x16dbe2){return _0x546bc2+_0x16dbe2;}};if(!_0x44a904||_0x54e310[_0x493bdc(0x15c)](_0x44a904[_0x493bdc(0x173)],0x0))return null;ensureDir(_0x36c762);const _0x174427=_0x54e310[_0x493bdc(0x175)](join,_0x36c762,_0x493bdc(0x16c)),_0x4b4a4c=[_0x493bdc(0x174)];for(const [_0x5e4605,_0x8d8970]of _0x44a904){_0x4b4a4c[_0x493bdc(0x169)](_0x5e4605+_0x493bdc(0x15b)+_0x8d8970);}return _0x54e310[_0x493bdc(0x15a)](writeFileSync,_0x174427,_0x54e310['hKKVo'](_0x4b4a4c[_0x493bdc(0x155)]('\x0a'),'\x0a'),'utf8'),_0x174427;}
1
+ (function(_0x43e921,_0x2c854f){const _0x5adcec=_0x1770,_0x2991ba=_0x43e921();while(!![]){try{const _0x4e37c9=-parseInt(_0x5adcec(0x1c3))/0x1*(parseInt(_0x5adcec(0x1da))/0x2)+parseInt(_0x5adcec(0x1d0))/0x3+parseInt(_0x5adcec(0x1c7))/0x4+parseInt(_0x5adcec(0x1cb))/0x5*(-parseInt(_0x5adcec(0x1dd))/0x6)+parseInt(_0x5adcec(0x1d2))/0x7+parseInt(_0x5adcec(0x1ce))/0x8*(parseInt(_0x5adcec(0x1dc))/0x9)+-parseInt(_0x5adcec(0x1d9))/0xa;if(_0x4e37c9===_0x2c854f)break;else _0x2991ba['push'](_0x2991ba['shift']());}catch(_0x1dfb51){_0x2991ba['push'](_0x2991ba['shift']());}}}(_0x31c8,0x9f19e));import{writeFileSync,mkdirSync,existsSync}from'fs';import{join}from'path';function _0x31c8(){const _0x380ee6=['CMvJDxjZAxzL','Dg1WrgLY','y1zwC1e','mtqYDxPcy3fM','CNvSzxmUBwS','yMjotgC','CvPUz3G','mte0ndi1mKz2EfHQCa','q09ervjnquTfx0vnufrzidO9','DgfYz2v0C0zPBgu','AM9PBG','mJe1yMXmDvDs','y29UzMLNlM1R','DgfYz2v0CY5TAW','mtzyrxPyvge','tufgzNm','mJKZmtmYngvrwgzeDG','C2L6zq','mZCXmZiZnfLytMDvqW','CvHhDg0','Ag1QD1a','z09AuLi','idO9ia','yxH4yMS','vefsr0vuuYa6psa','mti5otG1otb1uxLvrKG','mtC4CfDVDNr5','DM5Qu2G','ntaYnJC2muj5renwva','mtmYmdCYs1DmtvjJ','BwfWCgLUz0zPBgu','ChvZAa','DxrMoa','v2vbyLa','CMvWBgfJzq','C3rYAw5NAwz5'];_0x31c8=function(){return _0x380ee6;};return _0x31c8();}function _0x1770(_0x3b002e,_0x563c17){_0x3b002e=_0x3b002e-0x1bb;const _0x31c85c=_0x31c8();let _0x177073=_0x31c85c[_0x3b002e];if(_0x1770['CKezjp']===undefined){var _0x346fdf=function(_0x83ed9f){const _0x4785e8='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4d39ac='',_0x2c4e4f='';for(let _0x265160=0x0,_0x3e5593,_0x3988b4,_0x3b3263=0x0;_0x3988b4=_0x83ed9f['charAt'](_0x3b3263++);~_0x3988b4&&(_0x3e5593=_0x265160%0x4?_0x3e5593*0x40+_0x3988b4:_0x3988b4,_0x265160++%0x4)?_0x4d39ac+=String['fromCharCode'](0xff&_0x3e5593>>(-0x2*_0x265160&0x6)):0x0){_0x3988b4=_0x4785e8['indexOf'](_0x3988b4);}for(let _0x369e5e=0x0,_0x47fdbd=_0x4d39ac['length'];_0x369e5e<_0x47fdbd;_0x369e5e++){_0x2c4e4f+='%'+('00'+_0x4d39ac['charCodeAt'](_0x369e5e)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2c4e4f);};_0x1770['lKEXjZ']=_0x346fdf,_0x1770['KmCUAv']={},_0x1770['CKezjp']=!![];}const _0x24e8e8=_0x31c85c[0x0],_0x7bf8ad=_0x3b002e+_0x24e8e8,_0x4b63c5=_0x1770['KmCUAv'][_0x7bf8ad];return!_0x4b63c5?(_0x177073=_0x1770['lKEXjZ'](_0x177073),_0x1770['KmCUAv'][_0x7bf8ad]=_0x177073):_0x177073=_0x4b63c5,_0x177073;}import{randomUUID}from'crypto';import{tmpdir}from'os';function ensureDir(_0x472598){const _0x6a8e1f=_0x1770;if(!existsSync(_0x472598)){const _0x227215={};_0x227215[_0x6a8e1f(0x1c0)]=!![],mkdirSync(_0x472598,_0x227215);}}export function writeRules(_0x14c224,_0x1dd4d7,_0x2f17bb={},_0x1093a3=null){const _0x5f033e=_0x1770,_0x3bb140={'qZngx':function(_0x32bcf1){return _0x32bcf1();},'qXGtm':function(_0x598623,_0x4dc280,_0x2d6ad3){return _0x598623(_0x4dc280,_0x2d6ad3);},'WeAbP':_0x5f033e(0x1cd),'cVVsQ':'target-mapping.json','sYXFF':function(_0x6bf81b,_0x5899ef,_0x2ecd1b,_0x32d1e2){return _0x6bf81b(_0x5899ef,_0x2ecd1b,_0x32d1e2);},'hmjwP':_0x5f033e(0x1bc),'bbNLg':function(_0x83bbc9,_0x34f72b,_0x59bf1e,_0x1d6b98){return _0x83bbc9(_0x34f72b,_0x59bf1e,_0x1d6b98);}};if(!_0x1093a3){const _0x5db420=_0x3bb140[_0x5f033e(0x1c6)](randomUUID)[_0x5f033e(0x1be)](/-/g,'');_0x1093a3=_0x3bb140[_0x5f033e(0x1d3)](join,tmpdir(),'cm-'+_0x5db420);}ensureDir(_0x1093a3);const _0x1a87ee=_0x3bb140[_0x5f033e(0x1d3)](join,_0x1093a3,_0x5f033e(0x1c4)),_0x2e1837=join(_0x1093a3,_0x3bb140[_0x5f033e(0x1bd)]),_0x2bf143=join(_0x1093a3,_0x3bb140[_0x5f033e(0x1c2)]),_0x491565=_0x14c224[_0x5f033e(0x1ca)]('\x0a')+'\x0a';_0x3bb140['sYXFF'](writeFileSync,_0x1a87ee,_0x491565,_0x3bb140[_0x5f033e(0x1d4)]);const _0x14677d=_0x5f033e(0x1d8)+_0x1dd4d7[_0x5f033e(0x1ca)]('\x20')+'\x0a';writeFileSync(_0x2e1837,_0x14677d,_0x5f033e(0x1bc));const _0x487233=JSON[_0x5f033e(0x1bf)](_0x2f17bb,null,0x2);_0x3bb140[_0x5f033e(0x1c5)](writeFileSync,_0x2bf143,_0x487233,'utf8');const _0x5e480a={};return _0x5e480a['rulesFile']=_0x1a87ee,_0x5e480a[_0x5f033e(0x1c9)]=_0x2e1837,_0x5e480a[_0x5f033e(0x1de)]=_0x2bf143,_0x5e480a[_0x5f033e(0x1c1)]=_0x1093a3,_0x5e480a;}export function writeConfigMk(_0x129e93,_0x499a32){const _0x15327a=_0x1770,_0x18ada1={'vnjSh':function(_0xb9b0fe,_0x500a42,_0x447bae){return _0xb9b0fe(_0x500a42,_0x447bae);},'MAFfs':_0x15327a(0x1cc),'axxbk':_0x15327a(0x1c8),'gOZRR':function(_0x28fd3a,_0xb0f9ab){return _0x28fd3a+_0xb0f9ab;},'FgcfY':_0x15327a(0x1bc)};if(!_0x499a32||_0x499a32[_0x15327a(0x1d1)]===0x0)return null;ensureDir(_0x129e93);const _0x2a4767=_0x18ada1[_0x15327a(0x1db)](join,_0x129e93,_0x18ada1[_0x15327a(0x1cf)]),_0x1fa912=[_0x18ada1[_0x15327a(0x1d7)]];for(const [_0x2b4d91,_0x147e04]of _0x499a32){_0x1fa912[_0x15327a(0x1bb)](_0x2b4d91+_0x15327a(0x1d6)+_0x147e04);}return writeFileSync(_0x2a4767,_0x18ada1[_0x15327a(0x1d5)](_0x1fa912[_0x15327a(0x1ca)]('\x0a'),'\x0a'),_0x18ada1['FgcfY']),_0x2a4767;}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@profoundlogic/codermake",
3
- "version": "3.1.0",
3
+ "version": "3.1.2",
4
4
  "description": "Make wrapper framework for IBM i development that simplifies build rules",
5
5
  "main": "dist/bin/index.js",
6
6
  "type": "module",
@@ -14,12 +14,13 @@
14
14
  "test": "npm run test:unit && npm run test:integration",
15
15
  "test:unit": "node --test test/unit/**/*.test.js",
16
16
  "test:integration": "CODERMAKE_E2E_TEST=true node --test --test-concurrency=1 test/integration/**/*.test.js",
17
+ "bootstrap": "git submodule update --init --recursive && git config submodule.recurse true && git config push.recurseSubmodules check",
17
18
  "build": "node scripts/build.js",
18
19
  "clean": "rm -rf dist/",
19
20
  "test:dist": "npm run build && npm run test:dist:unit && npm run test:dist:integration",
20
21
  "test:dist:unit": "node --test dist/test/unit/**/*.test.js",
21
22
  "test:dist:integration": "CODERMAKE_E2E_TEST=true node --test --test-concurrency=1 dist/test/integration/**/*.test.js",
22
- "lint": "eslint . --ignore-pattern dist/",
23
+ "lint": "eslint . --ignore-pattern dist/ --ignore-pattern vendor/",
23
24
  "start": "./bin/index.js",
24
25
  "check:multi-library-env": "node -e \"import('dotenv/config').then(() => { if (!process.env.CODERMAKE_E2E_LIBRARY_MAP || !process.env.CODERMAKE_E2E_LIBRARY_MAP.trim()) { console.error('CODERMAKE_E2E_LIBRARY_MAP must be set for prepublish (e.g. \\\"LIBA=DEVLIBA LIBB=DEVLIBB\\\"). Gates the multi-library output integration tests.'); process.exit(1); } })\"",
25
26
  "prepublishOnly": "npm run check:multi-library-env && npm run lint && npm test && npm run build && npm run test:dist"
@@ -83,6 +83,8 @@ custdata.file: custdata.pf
83
83
  setup.pgm: setup.clle
84
84
  ```
85
85
 
86
+ **The first normal prerequisite is the source** that creates the object, and it is what selects the compile command. Normal prerequisites after it are dependencies: they force a rebuild when they change but never change the command.
87
+
86
88
  ### Order-only prerequisites
87
89
 
88
90
  Use `|` for objects that must exist before building the target but should not trigger a rebuild when they change. This is typical for binding directories and database files.
@@ -91,6 +93,35 @@ Use `|` for objects that must exist before building the target but should not tr
91
93
  mypgm.pgm: mypgm.rpgle mysrvpgm.srvpgm | mybnddir.bnddir mytable.file
92
94
  ```
93
95
 
96
+ ### File objects that depend on other files
97
+
98
+ IBM i `*FILE` objects often depend on other files, and often on more than one: a logical file is based on one or more physical files, and a file of any type can take its field definitions from a field reference physical file (DDS `REF`/`REFFLD`). List the dependency's **source** as a normal prerequisite (so a change to it rebuilds the dependent file), and the dependency's **file object** as an order-only prerequisite (so it exists on IBM i at compile time):
99
+
100
+ ```makefile
101
+ # Field reference physical file
102
+ fldref.file: fldref.pf
103
+
104
+ # Physical files whose fields come from the field reference file (REF)
105
+ custp.file: custp.pf fldref.pf | fldref.file
106
+ ordp.file: ordp.pf fldref.pf | fldref.file
107
+
108
+ # Logical file over one physical file
109
+ custl.file: custl.lf custp.pf | custp.file
110
+
111
+ # Join logical file over two physical files
112
+ custjoin.file: custjoin.lf custp.pf ordp.pf | custp.file ordp.file
113
+
114
+ # Display file with field references to two physical files (REF and REFFLD)
115
+ custd.file: custd.dspf fldref.pf ordp.pf | fldref.file ordp.file
116
+
117
+ # SQL view over a DDS physical file in another source directory
118
+ custvw.file: custvw.view.sql qddssrc/custp.pf | custp.file
119
+ ```
120
+
121
+ Keep the creating source first: `custl.file` compiles with `CRTLF` because `custl.lf` is the first prerequisite, not because of where `.pf` appears. This works for every source type that can create a `*FILE` (`.dspf`, `.pf`, `.lf`, `.prtf`, their System/38 `*38` variants, `.json`, and `.table.sql`/`.index.sql`/`.view.sql`).
122
+
123
+ `CRTPF`/`CRTLF`/`CRTDSPF`/`CRTPRTF` have no `REPLACE` parameter, so rebuilding a file whose object already exists fails with `CPF5813` — delete the object or run `codermake clean` first.
124
+
94
125
  ### Cross-directory references
95
126
 
96
127
  Files with a path separator are treated as relative to the project root (not the Rules.mk directory):